diff --git a/create_stubs.py b/create_stubs.py index b906c01db..fff179af1 100644 --- a/create_stubs.py +++ b/create_stubs.py @@ -43,7 +43,7 @@ def get_type(property: Dict[str, Any]): quoted_enum_members = [ f'"{enum_member}"' for enum_member in property["enum"] ] - type = f"typing_extensions.Literal[{', '.join(quoted_enum_members)}]" + type = f"typing.Literal[{', '.join(quoted_enum_members)}]" return type @@ -84,7 +84,7 @@ def __exit__(self, exc_type, exc, exc_tb): def write_typed_dict(writer, typed_dict_description): writer.write("@typing.type_check_only") writer.write( - f"class {typed_dict_description['name']}(typing_extensions.TypedDict, total=False):" + f"class {typed_dict_description['name']}(typing.TypedDict, total=False):" ) properties = typed_dict_description["properties"] sorted_property_names = sorted(properties) @@ -100,7 +100,7 @@ def write_typed_dict(writer, typed_dict_description): def write_alternative_typed_dict(writer, typed_dict_description): name = typed_dict_description["name"] writer.write( - f"Alternative{name} = typing_extensions.TypedDict('Alternative{name}', {{" + f"Alternative{name} = typing.TypedDict('Alternative{name}', {{" ) properties = typed_dict_description["properties"] sorted_property_names = sorted(properties) @@ -119,7 +119,6 @@ def capitalize(s: str) -> str: def write_schemas(writer, schemas): writer.write("import typing") - writer.write("import typing_extensions") writer.write("_list = list") sorted_schema_names = sorted(schemas) for schema_name in sorted_schema_names: @@ -154,7 +153,6 @@ def write_resource(writer, resource_name, resource, api, top_level=True) -> Set[ writer.write("from .schemas import *") writer.write("import httplib2") writer.write("import typing") - writer.write("import typing_extensions") writer.write("import collections.abc") writer.write("_list = list") response_types = set() diff --git a/discovery.pyi b/discovery.pyi index 4079276c0..7d83a8a72 100644 --- a/discovery.pyi +++ b/discovery.pyi @@ -1,13 +1,12 @@ import types from email.generator import BytesGenerator -from typing import Any, Protocol, TypeVar, overload +from typing import Any, Literal, Protocol, TypeVar, overload import google.auth.credentials import httplib2 import oauth2client # type: ignore[import-not-found] from _typeshed import Incomplete from google.api_core.client_options import ClientOptions -from typing_extensions import Literal from googleapiclient.discovery_cache.base import Cache from googleapiclient.http import HttpMock, HttpRequest diff --git a/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/resources.pyi b/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/resources.pyi index 9793d9d7e..1564b838b 100644 --- a/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/schemas.pyi b/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/schemas.pyi index e823c5893..cbdce96c8 100644 --- a/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/abusiveexperiencereport/v1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class SiteSummaryResponse(typing_extensions.TypedDict, total=False): - abusiveStatus: typing_extensions.Literal["UNKNOWN", "PASSING", "FAILING"] +class SiteSummaryResponse(typing.TypedDict, total=False): + abusiveStatus: typing.Literal["UNKNOWN", "PASSING", "FAILING"] enforcementTime: str - filterStatus: typing_extensions.Literal["UNKNOWN", "ON", "OFF", "PAUSED", "PENDING"] + filterStatus: typing.Literal["UNKNOWN", "ON", "OFF", "PAUSED", "PENDING"] lastChangeTime: str reportUrl: str reviewedSite: str underReview: bool @typing.type_check_only -class ViolatingSitesResponse(typing_extensions.TypedDict, total=False): +class ViolatingSitesResponse(typing.TypedDict, total=False): violatingSites: _list[SiteSummaryResponse] diff --git a/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/resources.pyi b/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/resources.pyi index a39458673..9eef28bcf 100644 --- a/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/schemas.pyi b/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/schemas.pyi index 5f2203c31..9f4e82f79 100644 --- a/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/acceleratedmobilepageurl/v1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AmpUrl(typing_extensions.TypedDict, total=False): +class AmpUrl(typing.TypedDict, total=False): ampUrl: str cdnAmpUrl: str originalUrl: str @typing.type_check_only -class AmpUrlError(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class AmpUrlError(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "INPUT_URL_NOT_FOUND", "NO_AMP_URL", @@ -24,11 +22,11 @@ class AmpUrlError(typing_extensions.TypedDict, total=False): originalUrl: str @typing.type_check_only -class BatchGetAmpUrlsRequest(typing_extensions.TypedDict, total=False): - lookupStrategy: typing_extensions.Literal["FETCH_LIVE_DOC", "IN_INDEX_DOC"] +class BatchGetAmpUrlsRequest(typing.TypedDict, total=False): + lookupStrategy: typing.Literal["FETCH_LIVE_DOC", "IN_INDEX_DOC"] urls: _list[str] @typing.type_check_only -class BatchGetAmpUrlsResponse(typing_extensions.TypedDict, total=False): +class BatchGetAmpUrlsResponse(typing.TypedDict, total=False): ampUrls: _list[AmpUrl] urlErrors: _list[AmpUrlError] diff --git a/googleapiclient-stubs/_apis/accessapproval/v1/resources.pyi b/googleapiclient-stubs/_apis/accessapproval/v1/resources.pyi index 952916946..68dd748e2 100644 --- a/googleapiclient-stubs/_apis/accessapproval/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/accessapproval/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi index c900da29a..3acf80c9b 100644 --- a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessApprovalServiceAccount(typing_extensions.TypedDict, total=False): +class AccessApprovalServiceAccount(typing.TypedDict, total=False): accountEmail: str name: str @typing.type_check_only -class AccessApprovalSettings(typing_extensions.TypedDict, total=False): +class AccessApprovalSettings(typing.TypedDict, total=False): activeKeyVersion: str ancestorHasActiveKeyVersion: bool ancestorsEnrolledServices: _list[EnrolledService] @@ -24,7 +22,7 @@ class AccessApprovalSettings(typing_extensions.TypedDict, total=False): notificationPubsubTopic: str preferNoBroadApprovalRequests: bool preferredRequestExpirationDays: int - requestScopeMaxWidthPreference: typing_extensions.Literal[ + requestScopeMaxWidthPreference: typing.Literal[ "REQUEST_SCOPE_MAX_WIDTH_PREFERENCE_UNSPECIFIED", "ORGANIZATION", "FOLDER", @@ -33,14 +31,14 @@ class AccessApprovalSettings(typing_extensions.TypedDict, total=False): requireCustomerVisibleJustification: bool @typing.type_check_only -class AccessLocations(typing_extensions.TypedDict, total=False): +class AccessLocations(typing.TypedDict, total=False): principalOfficeCountry: str principalPhysicalLocationCountry: str @typing.type_check_only -class AccessReason(typing_extensions.TypedDict, total=False): +class AccessReason(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CUSTOMER_INITIATED_SUPPORT", "GOOGLE_INITIATED_SERVICE", @@ -51,7 +49,7 @@ class AccessReason(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ApprovalRequest(typing_extensions.TypedDict, total=False): +class ApprovalRequest(typing.TypedDict, total=False): approve: ApproveDecision dismiss: DismissDecision name: str @@ -65,11 +63,11 @@ class ApprovalRequest(typing_extensions.TypedDict, total=False): requestedResourceProperties: ResourceProperties @typing.type_check_only -class ApproveApprovalRequestMessage(typing_extensions.TypedDict, total=False): +class ApproveApprovalRequestMessage(typing.TypedDict, total=False): expireTime: str @typing.type_check_only -class ApproveDecision(typing_extensions.TypedDict, total=False): +class ApproveDecision(typing.TypedDict, total=False): approveTime: str autoApproved: bool expireTime: str @@ -78,12 +76,12 @@ class ApproveDecision(typing_extensions.TypedDict, total=False): signatureInfo: SignatureInfo @typing.type_check_only -class AugmentedInfo(typing_extensions.TypedDict, total=False): +class AugmentedInfo(typing.TypedDict, total=False): command: str @typing.type_check_only -class CustomerApprovalApprovalPolicy(typing_extensions.TypedDict, total=False): - justificationBasedApprovalPolicy: typing_extensions.Literal[ +class CustomerApprovalApprovalPolicy(typing.TypedDict, total=False): + justificationBasedApprovalPolicy: typing.Literal[ "JUSTIFICATION_BASED_APPROVAL_POLICY_UNSPECIFIED", "JUSTIFICATION_BASED_APPROVAL_ENABLED_ALL", "JUSTIFICATION_BASED_APPROVAL_ENABLED_EXTERNAL_JUSTIFICATIONS", @@ -92,39 +90,37 @@ class CustomerApprovalApprovalPolicy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DismissApprovalRequestMessage(typing_extensions.TypedDict, total=False): ... +class DismissApprovalRequestMessage(typing.TypedDict, total=False): ... @typing.type_check_only -class DismissDecision(typing_extensions.TypedDict, total=False): +class DismissDecision(typing.TypedDict, total=False): dismissTime: str implicit: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnrolledService(typing_extensions.TypedDict, total=False): +class EnrolledService(typing.TypedDict, total=False): cloudProduct: str - enrollmentLevel: typing_extensions.Literal[ - "ENROLLMENT_LEVEL_UNSPECIFIED", "BLOCK_ALL" - ] + enrollmentLevel: typing.Literal["ENROLLMENT_LEVEL_UNSPECIFIED", "BLOCK_ALL"] @typing.type_check_only -class InvalidateApprovalRequestMessage(typing_extensions.TypedDict, total=False): ... +class InvalidateApprovalRequestMessage(typing.TypedDict, total=False): ... @typing.type_check_only -class ListApprovalRequestsResponse(typing_extensions.TypedDict, total=False): +class ListApprovalRequestsResponse(typing.TypedDict, total=False): approvalRequests: _list[ApprovalRequest] nextPageToken: str @typing.type_check_only -class ResourceProperties(typing_extensions.TypedDict, total=False): +class ResourceProperties(typing.TypedDict, total=False): excludesDescendants: bool @typing.type_check_only -class SignatureInfo(typing_extensions.TypedDict, total=False): +class SignatureInfo(typing.TypedDict, total=False): customerKmsKeyVersion: str - googleKeyAlgorithm: typing_extensions.Literal[ + googleKeyAlgorithm: typing.Literal[ "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", @@ -172,6 +168,9 @@ 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", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", ] googlePublicKeyPem: str serializedApprovalRequest: str diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi index abc81c5f7..0ba5d1262 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -27,7 +26,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): self, *, name: str, - accessLevelFormat: typing_extensions.Literal[ + accessLevelFormat: typing.Literal[ "LEVEL_FORMAT_UNSPECIFIED", "AS_DEFINED", "CEL" ] | None = ..., @@ -37,7 +36,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): self, *, parent: str, - accessLevelFormat: typing_extensions.Literal[ + accessLevelFormat: typing.Literal[ "LEVEL_FORMAT_UNSPECIFIED", "AS_DEFINED", "CEL" ] | None = ..., @@ -247,6 +246,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi index f216dfd3c..c269959d0 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi @@ -1,16 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessContextManagerOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class AccessContextManagerOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AccessLevel(typing_extensions.TypedDict, total=False): +class AccessLevel(typing.TypedDict, total=False): basic: BasicLevel custom: CustomLevel description: str @@ -18,7 +14,7 @@ class AccessLevel(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AccessPolicy(typing_extensions.TypedDict, total=False): +class AccessPolicy(typing.TypedDict, total=False): etag: str name: str parent: str @@ -26,80 +22,86 @@ class AccessPolicy(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AccessScope(typing_extensions.TypedDict, total=False): +class AccessScope(typing.TypedDict, total=False): clientScope: ClientScope @typing.type_check_only -class AccessSettings(typing_extensions.TypedDict, total=False): +class AccessSettings(typing.TypedDict, total=False): accessLevels: _list[str] sessionSettings: SessionSettings @typing.type_check_only -class ApiOperation(typing_extensions.TypedDict, total=False): +class AddRequestHeader(typing.TypedDict, total=False): + key: str + value: str + +@typing.type_check_only +class ApiOperation(typing.TypedDict, total=False): methodSelectors: _list[MethodSelector] serviceName: str @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): clientId: str name: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizedOrgsDesc(typing_extensions.TypedDict, total=False): - assetType: typing_extensions.Literal[ +class AuthorizedOrgsDesc(typing.TypedDict, total=False): + assetType: typing.Literal[ "ASSET_TYPE_UNSPECIFIED", "ASSET_TYPE_DEVICE", "ASSET_TYPE_CREDENTIAL_STRENGTH" ] - authorizationDirection: typing_extensions.Literal[ + authorizationDirection: typing.Literal[ "AUTHORIZATION_DIRECTION_UNSPECIFIED", "AUTHORIZATION_DIRECTION_TO", "AUTHORIZATION_DIRECTION_FROM", ] - authorizationType: typing_extensions.Literal[ + authorizationType: typing.Literal[ "AUTHORIZATION_TYPE_UNSPECIFIED", "AUTHORIZATION_TYPE_TRUST" ] name: str orgs: _list[str] @typing.type_check_only -class BasicLevel(typing_extensions.TypedDict, total=False): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[Condition] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientScope(typing_extensions.TypedDict, total=False): +class ClientScope(typing.TypedDict, total=False): restrictedClientApplication: Application + restrictedProject: Project @typing.type_check_only -class CommitServicePerimetersRequest(typing_extensions.TypedDict, total=False): +class CommitServicePerimetersRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class CommitServicePerimetersResponse(typing_extensions.TypedDict, total=False): +class CommitServicePerimetersResponse(typing.TypedDict, total=False): servicePerimeters: _list[ServicePerimeter] @typing.type_check_only -class Condition(typing_extensions.TypedDict, total=False): +class Condition(typing.TypedDict, total=False): devicePolicy: DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -109,16 +111,16 @@ class Condition(typing_extensions.TypedDict, total=False): vpcNetworkSources: _list[VpcNetworkSource] @typing.type_check_only -class CustomLevel(typing_extensions.TypedDict, total=False): +class CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class DevicePolicy(typing_extensions.TypedDict, total=False): +class DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -131,15 +133,15 @@ class DevicePolicy(typing_extensions.TypedDict, total=False): requireScreenlock: bool @typing.type_check_only -class EgressFrom(typing_extensions.TypedDict, total=False): +class EgressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", "ANY_SERVICE_ACCOUNT", ] - sourceRestriction: typing_extensions.Literal[ + sourceRestriction: typing.Literal[ "SOURCE_RESTRICTION_UNSPECIFIED", "SOURCE_RESTRICTION_ENABLED", "SOURCE_RESTRICTION_DISABLED", @@ -147,60 +149,60 @@ class EgressFrom(typing_extensions.TypedDict, total=False): sources: _list[EgressSource] @typing.type_check_only -class EgressPolicy(typing_extensions.TypedDict, total=False): +class EgressPolicy(typing.TypedDict, total=False): egressFrom: EgressFrom egressTo: EgressTo title: str @typing.type_check_only -class EgressSource(typing_extensions.TypedDict, total=False): +class EgressSource(typing.TypedDict, total=False): accessLevel: str + pscEndpoint: PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class EgressTo(typing_extensions.TypedDict, total=False): +class EgressTo(typing.TypedDict, total=False): externalResources: _list[str] operations: _list[ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GcpUserAccessBinding(typing_extensions.TypedDict, total=False): +class GcpUserAccessBinding(typing.TypedDict, total=False): accessLevels: _list[str] dryRunAccessLevels: _list[str] groupKey: str name: str + principal: Principal restrictedClientApplications: _list[Application] scopedAccessSettings: _list[ScopedAccessSettings] sessionSettings: SessionSettings @typing.type_check_only -class GcpUserAccessBindingOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class GcpUserAccessBindingOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class IngressFrom(typing_extensions.TypedDict, total=False): +class IngressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -209,70 +211,75 @@ class IngressFrom(typing_extensions.TypedDict, total=False): sources: _list[IngressSource] @typing.type_check_only -class IngressPolicy(typing_extensions.TypedDict, total=False): +class IngressPolicy(typing.TypedDict, total=False): ingressFrom: IngressFrom ingressTo: IngressTo title: str @typing.type_check_only -class IngressSource(typing_extensions.TypedDict, total=False): +class IngressSource(typing.TypedDict, total=False): accessLevel: str + pscEndpoint: PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class IngressTo(typing_extensions.TypedDict, total=False): +class IngressTo(typing.TypedDict, total=False): operations: _list[ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class ListAccessLevelsResponse(typing_extensions.TypedDict, total=False): +class ListAccessLevelsResponse(typing.TypedDict, total=False): accessLevels: _list[AccessLevel] nextPageToken: str @typing.type_check_only -class ListAccessPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAccessPoliciesResponse(typing.TypedDict, total=False): accessPolicies: _list[AccessPolicy] nextPageToken: str @typing.type_check_only -class ListAuthorizedOrgsDescsResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedOrgsDescsResponse(typing.TypedDict, total=False): authorizedOrgsDescs: _list[AuthorizedOrgsDesc] nextPageToken: str @typing.type_check_only -class ListGcpUserAccessBindingsResponse(typing_extensions.TypedDict, total=False): +class ListGcpUserAccessBindingsResponse(typing.TypedDict, total=False): gcpUserAccessBindings: _list[GcpUserAccessBinding] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicePerimetersResponse(typing_extensions.TypedDict, total=False): +class ListServicePerimetersResponse(typing.TypedDict, total=False): nextPageToken: str servicePerimeters: _list[ServicePerimeter] @typing.type_check_only -class ListSupportedPermissionsResponse(typing_extensions.TypedDict, total=False): +class ListSupportedPermissionsResponse(typing.TypedDict, total=False): nextPageToken: str supportedPermissions: _list[str] @typing.type_check_only -class ListSupportedServicesResponse(typing_extensions.TypedDict, total=False): +class ListSupportedServicesResponse(typing.TypedDict, total=False): nextPageToken: str supportedServices: _list[SupportedService] @typing.type_check_only -class MethodSelector(typing_extensions.TypedDict, total=False): +class MethodSelector(typing.TypedDict, total=False): method: str permission: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Modifier(typing.TypedDict, total=False): + addRequestHeader: AddRequestHeader + +@typing.type_check_only +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -280,9 +287,9 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OsConstraint(typing_extensions.TypedDict, total=False): +class OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -294,51 +301,69 @@ class OsConstraint(typing_extensions.TypedDict, total=False): requireVerifiedChromeOs: bool @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ReplaceAccessLevelsRequest(typing_extensions.TypedDict, total=False): +class Principal(typing.TypedDict, total=False): + federatedPrincipal: str + serviceAccount: str + serviceAccountProjectNumber: str + +@typing.type_check_only +class PrivateServiceConnectEndpoint(typing.TypedDict, total=False): + forwardingRule: str + +@typing.type_check_only +class Project(typing.TypedDict, total=False): + name: str + +@typing.type_check_only +class ReplaceAccessLevelsRequest(typing.TypedDict, total=False): accessLevels: _list[AccessLevel] etag: str @typing.type_check_only -class ReplaceAccessLevelsResponse(typing_extensions.TypedDict, total=False): +class ReplaceAccessLevelsResponse(typing.TypedDict, total=False): accessLevels: _list[AccessLevel] @typing.type_check_only -class ReplaceServicePerimetersRequest(typing_extensions.TypedDict, total=False): +class ReplaceServicePerimetersRequest(typing.TypedDict, total=False): etag: str servicePerimeters: _list[ServicePerimeter] @typing.type_check_only -class ReplaceServicePerimetersResponse(typing_extensions.TypedDict, total=False): +class ReplaceServicePerimetersResponse(typing.TypedDict, total=False): servicePerimeters: _list[ServicePerimeter] @typing.type_check_only -class ScopedAccessSettings(typing_extensions.TypedDict, total=False): +class ScopedAccessSettings(typing.TypedDict, total=False): activeSettings: AccessSettings dryRunSettings: AccessSettings scope: AccessScope @typing.type_check_only -class ServicePerimeter(typing_extensions.TypedDict, total=False): +class ServicePattern(typing.TypedDict, total=False): + modifiers: _list[Modifier] + pattern: str + service: str + +@typing.type_check_only +class ServicePerimeter(typing.TypedDict, total=False): description: str etag: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] spec: ServicePerimeterConfig status: ServicePerimeterConfig title: str useExplicitDryRunSpec: bool @typing.type_check_only -class ServicePerimeterConfig(typing_extensions.TypedDict, total=False): +class ServicePerimeterConfig(typing.TypedDict, total=False): accessLevels: _list[str] egressPolicies: _list[EgressPolicy] ingressPolicies: _list[IngressPolicy] @@ -347,35 +372,35 @@ class ServicePerimeterConfig(typing_extensions.TypedDict, total=False): vpcAccessibleServices: VpcAccessibleServices @typing.type_check_only -class SessionSettings(typing_extensions.TypedDict, total=False): +class SessionSettings(typing.TypedDict, total=False): maxInactivity: str sessionLength: str sessionLengthEnabled: bool - sessionReauthMethod: typing_extensions.Literal[ + sessionReauthMethod: typing.Literal[ "SESSION_REAUTH_METHOD_UNSPECIFIED", "LOGIN", "SECURITY_KEY", "PASSWORD" ] useOidcMaxAge: bool @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SupportedService(typing_extensions.TypedDict, total=False): +class SupportedService(typing.TypedDict, total=False): availableOnRestrictedVip: bool knownLimitations: bool name: str - serviceSupportStage: typing_extensions.Literal[ + serviceSupportStage: typing.Literal[ "SERVICE_SUPPORT_STAGE_UNSPECIFIED", "GA", "PREVIEW", "DEPRECATED" ] - supportStage: typing_extensions.Literal[ + supportStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -389,23 +414,30 @@ class SupportedService(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class VpcAccessibleServices(typing_extensions.TypedDict, total=False): +class VpcAccessibleServices(typing.TypedDict, total=False): + allowedServicePatterns: _list[ServicePattern] allowedServices: _list[str] enableRestriction: bool + servicePatternsEnforcementScopes: _list[ + typing.Literal[ + "SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED", + "GOOGLE_APIS_VIA_PRIVATE_PATH", + ] + ] @typing.type_check_only -class VpcNetworkSource(typing_extensions.TypedDict, total=False): +class VpcNetworkSource(typing.TypedDict, total=False): vpcSubnetwork: VpcSubNetwork @typing.type_check_only -class VpcSubNetwork(typing_extensions.TypedDict, total=False): +class VpcSubNetwork(typing.TypedDict, total=False): network: str vpcIpSubnetworks: _list[str] diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/resources.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/resources.pyi index 59d4eacb0..7665590f1 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -27,7 +26,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): self, *, name: str, - accessLevelFormat: typing_extensions.Literal[ + accessLevelFormat: typing.Literal[ "LEVEL_FORMAT_UNSPECIFIED", "AS_DEFINED", "CEL" ] | None = ..., @@ -37,7 +36,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): self, *, parent: str, - accessLevelFormat: typing_extensions.Literal[ + accessLevelFormat: typing.Literal[ "LEVEL_FORMAT_UNSPECIFIED", "AS_DEFINED", "CEL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/schemas.pyi index 431c1813b..730226b73 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1beta/schemas.pyi @@ -1,16 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessContextManagerOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class AccessContextManagerOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AccessLevel(typing_extensions.TypedDict, total=False): +class AccessLevel(typing.TypedDict, total=False): basic: BasicLevel custom: CustomLevel description: str @@ -18,18 +14,18 @@ class AccessLevel(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AccessPolicy(typing_extensions.TypedDict, total=False): +class AccessPolicy(typing.TypedDict, total=False): name: str parent: str title: str @typing.type_check_only -class BasicLevel(typing_extensions.TypedDict, total=False): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[Condition] @typing.type_check_only -class Condition(typing_extensions.TypedDict, total=False): +class Condition(typing.TypedDict, total=False): devicePolicy: DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -38,16 +34,16 @@ class Condition(typing_extensions.TypedDict, total=False): requiredAccessLevels: _list[str] @typing.type_check_only -class CustomLevel(typing_extensions.TypedDict, total=False): +class CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class DevicePolicy(typing_extensions.TypedDict, total=False): +class DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -60,29 +56,29 @@ class DevicePolicy(typing_extensions.TypedDict, total=False): requireScreenlock: bool @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListAccessLevelsResponse(typing_extensions.TypedDict, total=False): +class ListAccessLevelsResponse(typing.TypedDict, total=False): accessLevels: _list[AccessLevel] nextPageToken: str @typing.type_check_only -class ListAccessPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAccessPoliciesResponse(typing.TypedDict, total=False): accessPolicies: _list[AccessPolicy] nextPageToken: str @typing.type_check_only -class ListServicePerimetersResponse(typing_extensions.TypedDict, total=False): +class ListServicePerimetersResponse(typing.TypedDict, total=False): nextPageToken: str servicePerimeters: _list[ServicePerimeter] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -90,9 +86,9 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OsConstraint(typing_extensions.TypedDict, total=False): +class OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -104,17 +100,15 @@ class OsConstraint(typing_extensions.TypedDict, total=False): requireVerifiedChromeOs: bool @typing.type_check_only -class ServicePerimeter(typing_extensions.TypedDict, total=False): +class ServicePerimeter(typing.TypedDict, total=False): description: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] status: ServicePerimeterConfig title: str @typing.type_check_only -class ServicePerimeterConfig(typing_extensions.TypedDict, total=False): +class ServicePerimeterConfig(typing.TypedDict, total=False): accessLevels: _list[str] resources: _list[str] restrictedServices: _list[str] @@ -122,12 +116,12 @@ class ServicePerimeterConfig(typing_extensions.TypedDict, total=False): vpcAccessibleServices: VpcAccessibleServices @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class VpcAccessibleServices(typing_extensions.TypedDict, total=False): +class VpcAccessibleServices(typing.TypedDict, total=False): allowedServices: _list[str] enableRestriction: bool diff --git a/googleapiclient-stubs/_apis/acmedns/v1/resources.pyi b/googleapiclient-stubs/_apis/acmedns/v1/resources.pyi index 60378e4e1..7196e024f 100644 --- a/googleapiclient-stubs/_apis/acmedns/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/acmedns/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/acmedns/v1/schemas.pyi b/googleapiclient-stubs/_apis/acmedns/v1/schemas.pyi index 2ba88803e..56c3f7341 100644 --- a/googleapiclient-stubs/_apis/acmedns/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/acmedns/v1/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcmeChallengeSet(typing_extensions.TypedDict, total=False): +class AcmeChallengeSet(typing.TypedDict, total=False): record: _list[AcmeTxtRecord] @typing.type_check_only -class AcmeTxtRecord(typing_extensions.TypedDict, total=False): +class AcmeTxtRecord(typing.TypedDict, total=False): digest: str fqdn: str updateTime: str @typing.type_check_only -class RotateChallengesRequest(typing_extensions.TypedDict, total=False): +class RotateChallengesRequest(typing.TypedDict, total=False): accessToken: str keepExpiredRecords: bool recordsToAdd: _list[AcmeTxtRecord] diff --git a/googleapiclient-stubs/_apis/addressvalidation/v1/resources.pyi b/googleapiclient-stubs/_apis/addressvalidation/v1/resources.pyi index 3c68f6fe2..65679b14d 100644 --- a/googleapiclient-stubs/_apis/addressvalidation/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/addressvalidation/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi b/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi index 985cbdef6..daef4a27b 100644 --- a/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/addressvalidation/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleGeoTypeViewport(typing_extensions.TypedDict, total=False): +class GoogleGeoTypeViewport(typing.TypedDict, total=False): high: GoogleTypeLatLng low: GoogleTypeLatLng @typing.type_check_only -class GoogleMapsAddressvalidationV1Address(typing_extensions.TypedDict, total=False): +class GoogleMapsAddressvalidationV1Address(typing.TypedDict, total=False): addressComponents: _list[GoogleMapsAddressvalidationV1AddressComponent] formattedAddress: str missingComponentTypes: _list[str] @@ -19,12 +17,10 @@ class GoogleMapsAddressvalidationV1Address(typing_extensions.TypedDict, total=Fa unresolvedTokens: _list[str] @typing.type_check_only -class GoogleMapsAddressvalidationV1AddressComponent( - typing_extensions.TypedDict, total=False -): +class GoogleMapsAddressvalidationV1AddressComponent(typing.TypedDict, total=False): componentName: GoogleMapsAddressvalidationV1ComponentName componentType: str - confirmationLevel: typing_extensions.Literal[ + confirmationLevel: typing.Literal[ "CONFIRMATION_LEVEL_UNSPECIFIED", "CONFIRMED", "UNCONFIRMED_BUT_PLAUSIBLE", @@ -36,22 +32,18 @@ class GoogleMapsAddressvalidationV1AddressComponent( unexpected: bool @typing.type_check_only -class GoogleMapsAddressvalidationV1AddressMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleMapsAddressvalidationV1AddressMetadata(typing.TypedDict, total=False): business: bool poBox: bool residential: bool @typing.type_check_only -class GoogleMapsAddressvalidationV1ComponentName( - typing_extensions.TypedDict, total=False -): +class GoogleMapsAddressvalidationV1ComponentName(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only -class GoogleMapsAddressvalidationV1Geocode(typing_extensions.TypedDict, total=False): +class GoogleMapsAddressvalidationV1Geocode(typing.TypedDict, total=False): bounds: GoogleGeoTypeViewport featureSizeMeters: float location: GoogleTypeLatLng @@ -60,21 +52,19 @@ class GoogleMapsAddressvalidationV1Geocode(typing_extensions.TypedDict, total=Fa plusCode: GoogleMapsAddressvalidationV1PlusCode @typing.type_check_only -class GoogleMapsAddressvalidationV1LanguageOptions( - typing_extensions.TypedDict, total=False -): +class GoogleMapsAddressvalidationV1LanguageOptions(typing.TypedDict, total=False): returnEnglishLatinAddress: bool @typing.type_check_only -class GoogleMapsAddressvalidationV1PlusCode(typing_extensions.TypedDict, total=False): +class GoogleMapsAddressvalidationV1PlusCode(typing.TypedDict, total=False): compoundCode: str globalCode: str @typing.type_check_only class GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - conclusion: typing_extensions.Literal[ + conclusion: typing.Literal[ "VALIDATION_CONCLUSION_UNSPECIFIED", "VALIDATED_VERSION_USED", "USER_VERSION_USED", @@ -85,13 +75,11 @@ class GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest( @typing.type_check_only class GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleMapsAddressvalidationV1UspsAddress( - typing_extensions.TypedDict, total=False -): +class GoogleMapsAddressvalidationV1UspsAddress(typing.TypedDict, total=False): city: str cityStateZipAddressLine: str firm: str @@ -103,7 +91,7 @@ class GoogleMapsAddressvalidationV1UspsAddress( zipCodeExtension: str @typing.type_check_only -class GoogleMapsAddressvalidationV1UspsData(typing_extensions.TypedDict, total=False): +class GoogleMapsAddressvalidationV1UspsData(typing.TypedDict, total=False): abbreviatedCity: str addressRecordType: str carrierRoute: str @@ -144,7 +132,7 @@ class GoogleMapsAddressvalidationV1UspsData(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleMapsAddressvalidationV1ValidateAddressRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: GoogleTypePostalAddress enableUspsCass: bool @@ -154,15 +142,13 @@ class GoogleMapsAddressvalidationV1ValidateAddressRequest( @typing.type_check_only class GoogleMapsAddressvalidationV1ValidateAddressResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseId: str result: GoogleMapsAddressvalidationV1ValidationResult @typing.type_check_only -class GoogleMapsAddressvalidationV1ValidationResult( - typing_extensions.TypedDict, total=False -): +class GoogleMapsAddressvalidationV1ValidationResult(typing.TypedDict, total=False): address: GoogleMapsAddressvalidationV1Address englishLatinAddress: GoogleMapsAddressvalidationV1Address geocode: GoogleMapsAddressvalidationV1Geocode @@ -171,9 +157,9 @@ class GoogleMapsAddressvalidationV1ValidationResult( verdict: GoogleMapsAddressvalidationV1Verdict @typing.type_check_only -class GoogleMapsAddressvalidationV1Verdict(typing_extensions.TypedDict, total=False): +class GoogleMapsAddressvalidationV1Verdict(typing.TypedDict, total=False): addressComplete: bool - geocodeGranularity: typing_extensions.Literal[ + geocodeGranularity: typing.Literal[ "GRANULARITY_UNSPECIFIED", "SUB_PREMISE", "PREMISE", @@ -186,7 +172,7 @@ class GoogleMapsAddressvalidationV1Verdict(typing_extensions.TypedDict, total=Fa hasReplacedComponents: bool hasSpellCorrectedComponents: bool hasUnconfirmedComponents: bool - inputGranularity: typing_extensions.Literal[ + inputGranularity: typing.Literal[ "GRANULARITY_UNSPECIFIED", "SUB_PREMISE", "PREMISE", @@ -195,14 +181,14 @@ class GoogleMapsAddressvalidationV1Verdict(typing_extensions.TypedDict, total=Fa "ROUTE", "OTHER", ] - possibleNextAction: typing_extensions.Literal[ + possibleNextAction: typing.Literal[ "POSSIBLE_NEXT_ACTION_UNSPECIFIED", "FIX", "CONFIRM_ADD_SUBPREMISES", "CONFIRM", "ACCEPT", ] - validationGranularity: typing_extensions.Literal[ + validationGranularity: typing.Literal[ "GRANULARITY_UNSPECIFIED", "SUB_PREMISE", "PREMISE", @@ -213,12 +199,12 @@ class GoogleMapsAddressvalidationV1Verdict(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): +class GoogleTypePostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str diff --git a/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/resources.pyi b/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/resources.pyi index d01bfcd27..d3d79047a 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/resources.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -37,9 +36,7 @@ class AdExchangeBuyerResource(googleapiclient.discovery.Resource): *, maxResults: int | None = ..., pageToken: str | None = ..., - statusFilter: typing_extensions.Literal[ - "approved", "disapproved", "not_checked" - ] + statusFilter: typing.Literal["approved", "disapproved", "not_checked"] | None = ..., **kwargs: typing.Any, ) -> CreativesListHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/schemas.pyi b/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/schemas.pyi index c8062fbd8..22c21c817 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/schemas.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer/v1_2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): bidderLocation: _list[dict[str, typing.Any]] cookieMatchingNid: str cookieMatchingUrl: str @@ -16,12 +14,12 @@ class Account(typing_extensions.TypedDict, total=False): numberActiveCreatives: int @typing.type_check_only -class AccountsList(typing_extensions.TypedDict, total=False): +class AccountsList(typing.TypedDict, total=False): items: _list[Account] kind: str @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): HTMLSnippet: str accountId: int advertiserId: _list[str] @@ -47,7 +45,7 @@ class Creative(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class CreativesList(typing_extensions.TypedDict, total=False): +class CreativesList(typing.TypedDict, total=False): items: _list[Creative] kind: str nextPageToken: str diff --git a/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/resources.pyi b/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/resources.pyi index 34d6bef57..c8721faf0 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/resources.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -58,9 +57,7 @@ class AdExchangeBuyerResource(googleapiclient.discovery.Resource): buyerCreativeId: str | _list[str] | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., - statusFilter: typing_extensions.Literal[ - "approved", "disapproved", "not_checked" - ] + statusFilter: typing.Literal["approved", "disapproved", "not_checked"] | None = ..., **kwargs: typing.Any, ) -> CreativesListHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/schemas.pyi b/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/schemas.pyi index 44b0fe156..a6d0b4a08 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/schemas.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer/v1_3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): bidderLocation: _list[dict[str, typing.Any]] cookieMatchingNid: str cookieMatchingUrl: str @@ -16,24 +14,24 @@ class Account(typing_extensions.TypedDict, total=False): numberActiveCreatives: int @typing.type_check_only -class AccountsList(typing_extensions.TypedDict, total=False): +class AccountsList(typing.TypedDict, total=False): items: _list[Account] kind: str @typing.type_check_only -class BillingInfo(typing_extensions.TypedDict, total=False): +class BillingInfo(typing.TypedDict, total=False): accountId: int accountName: str billingId: _list[str] kind: str @typing.type_check_only -class BillingInfoList(typing_extensions.TypedDict, total=False): +class BillingInfoList(typing.TypedDict, total=False): items: _list[BillingInfo] kind: str @typing.type_check_only -class Budget(typing_extensions.TypedDict, total=False): +class Budget(typing.TypedDict, total=False): accountId: str billingId: str budgetAmount: str @@ -42,7 +40,7 @@ class Budget(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): HTMLSnippet: str accountId: int adTechnologyProviders: dict[str, typing.Any] @@ -70,13 +68,13 @@ class Creative(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class CreativesList(typing_extensions.TypedDict, total=False): +class CreativesList(typing.TypedDict, total=False): items: _list[Creative] kind: str nextPageToken: str @typing.type_check_only -class DirectDeal(typing_extensions.TypedDict, total=False): +class DirectDeal(typing.TypedDict, total=False): accountId: int advertiser: str allowsAlcohol: bool @@ -94,12 +92,12 @@ class DirectDeal(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DirectDealsList(typing_extensions.TypedDict, total=False): +class DirectDealsList(typing.TypedDict, total=False): directDeals: _list[DirectDeal] kind: str @typing.type_check_only -class PerformanceReport(typing_extensions.TypedDict, total=False): +class PerformanceReport(typing.TypedDict, total=False): bidRate: float bidRequestRate: float calloutStatusRate: _list[typing.Any] @@ -124,12 +122,12 @@ class PerformanceReport(typing_extensions.TypedDict, total=False): unsuccessfulRequestRate: float @typing.type_check_only -class PerformanceReportList(typing_extensions.TypedDict, total=False): +class PerformanceReportList(typing.TypedDict, total=False): kind: str performanceReport: _list[PerformanceReport] @typing.type_check_only -class PretargetingConfig(typing_extensions.TypedDict, total=False): +class PretargetingConfig(typing.TypedDict, total=False): billingId: str configId: str configName: str @@ -156,6 +154,6 @@ class PretargetingConfig(typing_extensions.TypedDict, total=False): verticals: _list[str] @typing.type_check_only -class PretargetingConfigList(typing_extensions.TypedDict, total=False): +class PretargetingConfigList(typing.TypedDict, total=False): items: _list[PretargetingConfig] kind: str diff --git a/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/resources.pyi b/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/resources.pyi index 422115807..565473c92 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/resources.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -74,12 +73,12 @@ class AdExchangeBuyerResource(googleapiclient.discovery.Resource): *, accountId: int | _list[int] | None = ..., buyerCreativeId: str | _list[str] | None = ..., - dealsStatusFilter: typing_extensions.Literal[ + dealsStatusFilter: typing.Literal[ "approved", "conditionally_approved", "disapproved", "not_checked" ] | None = ..., maxResults: int | None = ..., - openAuctionStatusFilter: typing_extensions.Literal[ + openAuctionStatusFilter: typing.Literal[ "approved", "conditionally_approved", "disapproved", "not_checked" ] | None = ..., @@ -211,7 +210,7 @@ class AdExchangeBuyerResource(googleapiclient.discovery.Resource): *, proposalId: str, revisionNumber: str, - updateAction: typing_extensions.Literal[ + updateAction: typing.Literal[ "accept", "cancel", "propose", @@ -233,7 +232,7 @@ class AdExchangeBuyerResource(googleapiclient.discovery.Resource): *, proposalId: str, revisionNumber: str, - updateAction: typing_extensions.Literal[ + updateAction: typing.Literal[ "accept", "cancel", "propose", diff --git a/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/schemas.pyi b/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/schemas.pyi index 0938c6560..ac4d7bc1d 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/schemas.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer/v1_4/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): applyPretargetingToNonGuaranteedDeals: bool bidderLocation: _list[dict[str, typing.Any]] cookieMatchingNid: str @@ -17,43 +15,43 @@ class Account(typing_extensions.TypedDict, total=False): numberActiveCreatives: int @typing.type_check_only -class AccountsList(typing_extensions.TypedDict, total=False): +class AccountsList(typing.TypedDict, total=False): items: _list[Account] kind: str @typing.type_check_only -class AddOrderDealsRequest(typing_extensions.TypedDict, total=False): +class AddOrderDealsRequest(typing.TypedDict, total=False): deals: _list[MarketplaceDeal] proposalRevisionNumber: str updateAction: str @typing.type_check_only -class AddOrderDealsResponse(typing_extensions.TypedDict, total=False): +class AddOrderDealsResponse(typing.TypedDict, total=False): deals: _list[MarketplaceDeal] proposalRevisionNumber: str @typing.type_check_only -class AddOrderNotesRequest(typing_extensions.TypedDict, total=False): +class AddOrderNotesRequest(typing.TypedDict, total=False): notes: _list[MarketplaceNote] @typing.type_check_only -class AddOrderNotesResponse(typing_extensions.TypedDict, total=False): +class AddOrderNotesResponse(typing.TypedDict, total=False): notes: _list[MarketplaceNote] @typing.type_check_only -class BillingInfo(typing_extensions.TypedDict, total=False): +class BillingInfo(typing.TypedDict, total=False): accountId: int accountName: str billingId: _list[str] kind: str @typing.type_check_only -class BillingInfoList(typing_extensions.TypedDict, total=False): +class BillingInfoList(typing.TypedDict, total=False): items: _list[BillingInfo] kind: str @typing.type_check_only -class Budget(typing_extensions.TypedDict, total=False): +class Budget(typing.TypedDict, total=False): accountId: str billingId: str budgetAmount: str @@ -62,25 +60,25 @@ class Budget(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class Buyer(typing_extensions.TypedDict, total=False): +class Buyer(typing.TypedDict, total=False): accountId: str @typing.type_check_only -class ContactInformation(typing_extensions.TypedDict, total=False): +class ContactInformation(typing.TypedDict, total=False): email: str name: str @typing.type_check_only -class CreateOrdersRequest(typing_extensions.TypedDict, total=False): +class CreateOrdersRequest(typing.TypedDict, total=False): proposals: _list[Proposal] webPropertyCode: str @typing.type_check_only -class CreateOrdersResponse(typing_extensions.TypedDict, total=False): +class CreateOrdersResponse(typing.TypedDict, total=False): proposals: _list[Proposal] @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): HTMLSnippet: str accountId: int adChoicesDestinationUrl: str @@ -114,23 +112,23 @@ class Creative(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class CreativeDealIds(typing_extensions.TypedDict, total=False): +class CreativeDealIds(typing.TypedDict, total=False): dealStatuses: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class CreativesList(typing_extensions.TypedDict, total=False): +class CreativesList(typing.TypedDict, total=False): items: _list[Creative] kind: str nextPageToken: str @typing.type_check_only -class DealServingMetadata(typing_extensions.TypedDict, total=False): +class DealServingMetadata(typing.TypedDict, total=False): alcoholAdsAllowed: bool dealPauseStatus: DealServingMetadataDealPauseStatus @typing.type_check_only -class DealServingMetadataDealPauseStatus(typing_extensions.TypedDict, total=False): +class DealServingMetadataDealPauseStatus(typing.TypedDict, total=False): buyerPauseReason: str firstPausedBy: str hasBuyerPaused: bool @@ -138,7 +136,7 @@ class DealServingMetadataDealPauseStatus(typing_extensions.TypedDict, total=Fals sellerPauseReason: str @typing.type_check_only -class DealTerms(typing_extensions.TypedDict, total=False): +class DealTerms(typing.TypedDict, total=False): brandingType: str crossListedExternalDealIdType: str description: str @@ -151,7 +149,7 @@ class DealTerms(typing_extensions.TypedDict, total=False): sellerTimeZone: str @typing.type_check_only -class DealTermsGuaranteedFixedPriceTerms(typing_extensions.TypedDict, total=False): +class DealTermsGuaranteedFixedPriceTerms(typing.TypedDict, total=False): billingInfo: DealTermsGuaranteedFixedPriceTermsBillingInfo fixedPrices: _list[PricePerBuyer] guaranteedImpressions: str @@ -159,96 +157,94 @@ class DealTermsGuaranteedFixedPriceTerms(typing_extensions.TypedDict, total=Fals minimumDailyLooks: str @typing.type_check_only -class DealTermsGuaranteedFixedPriceTermsBillingInfo( - typing_extensions.TypedDict, total=False -): +class DealTermsGuaranteedFixedPriceTermsBillingInfo(typing.TypedDict, total=False): currencyConversionTimeMs: str dfpLineItemId: str originalContractedQuantity: str price: Price @typing.type_check_only -class DealTermsNonGuaranteedAuctionTerms(typing_extensions.TypedDict, total=False): +class DealTermsNonGuaranteedAuctionTerms(typing.TypedDict, total=False): autoOptimizePrivateAuction: bool reservePricePerBuyers: _list[PricePerBuyer] @typing.type_check_only -class DealTermsNonGuaranteedFixedPriceTerms(typing_extensions.TypedDict, total=False): +class DealTermsNonGuaranteedFixedPriceTerms(typing.TypedDict, total=False): fixedPrices: _list[PricePerBuyer] @typing.type_check_only -class DealTermsRubiconNonGuaranteedTerms(typing_extensions.TypedDict, total=False): +class DealTermsRubiconNonGuaranteedTerms(typing.TypedDict, total=False): priorityPrice: Price standardPrice: Price @typing.type_check_only -class DeleteOrderDealsRequest(typing_extensions.TypedDict, total=False): +class DeleteOrderDealsRequest(typing.TypedDict, total=False): dealIds: _list[str] proposalRevisionNumber: str updateAction: str @typing.type_check_only -class DeleteOrderDealsResponse(typing_extensions.TypedDict, total=False): +class DeleteOrderDealsResponse(typing.TypedDict, total=False): deals: _list[MarketplaceDeal] proposalRevisionNumber: str @typing.type_check_only -class DeliveryControl(typing_extensions.TypedDict, total=False): +class DeliveryControl(typing.TypedDict, total=False): creativeBlockingLevel: str deliveryRateType: str frequencyCaps: _list[DeliveryControlFrequencyCap] @typing.type_check_only -class DeliveryControlFrequencyCap(typing_extensions.TypedDict, total=False): +class DeliveryControlFrequencyCap(typing.TypedDict, total=False): maxImpressions: int numTimeUnits: int timeUnitType: str @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): dimensionType: str dimensionValues: _list[DimensionDimensionValue] @typing.type_check_only -class DimensionDimensionValue(typing_extensions.TypedDict, total=False): +class DimensionDimensionValue(typing.TypedDict, total=False): id: int name: str percentage: int @typing.type_check_only -class EditAllOrderDealsRequest(typing_extensions.TypedDict, total=False): +class EditAllOrderDealsRequest(typing.TypedDict, total=False): deals: _list[MarketplaceDeal] proposal: Proposal proposalRevisionNumber: str updateAction: str @typing.type_check_only -class EditAllOrderDealsResponse(typing_extensions.TypedDict, total=False): +class EditAllOrderDealsResponse(typing.TypedDict, total=False): deals: _list[MarketplaceDeal] orderRevisionNumber: str @typing.type_check_only -class GetOffersResponse(typing_extensions.TypedDict, total=False): +class GetOffersResponse(typing.TypedDict, total=False): products: _list[Product] @typing.type_check_only -class GetOrderDealsResponse(typing_extensions.TypedDict, total=False): +class GetOrderDealsResponse(typing.TypedDict, total=False): deals: _list[MarketplaceDeal] @typing.type_check_only -class GetOrderNotesResponse(typing_extensions.TypedDict, total=False): +class GetOrderNotesResponse(typing.TypedDict, total=False): notes: _list[MarketplaceNote] @typing.type_check_only -class GetOrdersResponse(typing_extensions.TypedDict, total=False): +class GetOrdersResponse(typing.TypedDict, total=False): proposals: _list[Proposal] @typing.type_check_only -class GetPublisherProfilesByAccountIdResponse(typing_extensions.TypedDict, total=False): +class GetPublisherProfilesByAccountIdResponse(typing.TypedDict, total=False): profiles: _list[PublisherProfileApiProto] @typing.type_check_only -class MarketplaceDeal(typing_extensions.TypedDict, total=False): +class MarketplaceDeal(typing.TypedDict, total=False): buyerPrivateData: PrivateData creationTimeMs: str creativePreApprovalPolicy: str @@ -277,19 +273,19 @@ class MarketplaceDeal(typing_extensions.TypedDict, total=False): webPropertyCode: str @typing.type_check_only -class MarketplaceDealParty(typing_extensions.TypedDict, total=False): +class MarketplaceDealParty(typing.TypedDict, total=False): buyer: Buyer seller: Seller @typing.type_check_only -class MarketplaceLabel(typing_extensions.TypedDict, total=False): +class MarketplaceLabel(typing.TypedDict, total=False): accountId: str createTimeMs: str deprecatedMarketplaceDealParty: MarketplaceDealParty label: str @typing.type_check_only -class MarketplaceNote(typing_extensions.TypedDict, total=False): +class MarketplaceNote(typing.TypedDict, total=False): creatorRole: str dealId: str kind: str @@ -300,12 +296,12 @@ class MarketplaceNote(typing_extensions.TypedDict, total=False): timestampMs: str @typing.type_check_only -class MobileApplication(typing_extensions.TypedDict, total=False): +class MobileApplication(typing.TypedDict, total=False): appStore: str externalAppId: str @typing.type_check_only -class PerformanceReport(typing_extensions.TypedDict, total=False): +class PerformanceReport(typing.TypedDict, total=False): bidRate: float bidRequestRate: float calloutStatusRate: _list[typing.Any] @@ -330,12 +326,12 @@ class PerformanceReport(typing_extensions.TypedDict, total=False): unsuccessfulRequestRate: float @typing.type_check_only -class PerformanceReportList(typing_extensions.TypedDict, total=False): +class PerformanceReportList(typing.TypedDict, total=False): kind: str performanceReport: _list[PerformanceReport] @typing.type_check_only -class PretargetingConfig(typing_extensions.TypedDict, total=False): +class PretargetingConfig(typing.TypedDict, total=False): billingId: str configId: str configName: str @@ -365,31 +361,31 @@ class PretargetingConfig(typing_extensions.TypedDict, total=False): videoPlayerSizes: _list[dict[str, typing.Any]] @typing.type_check_only -class PretargetingConfigList(typing_extensions.TypedDict, total=False): +class PretargetingConfigList(typing.TypedDict, total=False): items: _list[PretargetingConfig] kind: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: float currencyCode: str expectedCpmMicros: float pricingType: str @typing.type_check_only -class PricePerBuyer(typing_extensions.TypedDict, total=False): +class PricePerBuyer(typing.TypedDict, total=False): auctionTier: str billedBuyer: Buyer buyer: Buyer price: Price @typing.type_check_only -class PrivateData(typing_extensions.TypedDict, total=False): +class PrivateData(typing.TypedDict, total=False): referenceId: str referencePayload: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): billedBuyer: Buyer buyer: Buyer creationTimeMs: str @@ -419,7 +415,7 @@ class Product(typing_extensions.TypedDict, total=False): webPropertyCode: str @typing.type_check_only -class Proposal(typing_extensions.TypedDict, total=False): +class Proposal(typing.TypedDict, total=False): billedBuyer: Buyer buyer: Buyer buyerContacts: _list[ContactInformation] @@ -445,7 +441,7 @@ class Proposal(typing_extensions.TypedDict, total=False): sellerContacts: _list[ContactInformation] @typing.type_check_only -class PublisherProfileApiProto(typing_extensions.TypedDict, total=False): +class PublisherProfileApiProto(typing.TypedDict, total=False): audience: str buyerPitchStatement: str directContact: str @@ -473,24 +469,24 @@ class PublisherProfileApiProto(typing_extensions.TypedDict, total=False): topHeadlines: _list[str] @typing.type_check_only -class PublisherProvidedForecast(typing_extensions.TypedDict, total=False): +class PublisherProvidedForecast(typing.TypedDict, total=False): dimensions: _list[Dimension] weeklyImpressions: str weeklyUniques: str @typing.type_check_only -class Seller(typing_extensions.TypedDict, total=False): +class Seller(typing.TypedDict, total=False): accountId: str subAccountId: str @typing.type_check_only -class SharedTargeting(typing_extensions.TypedDict, total=False): +class SharedTargeting(typing.TypedDict, total=False): exclusions: _list[TargetingValue] inclusions: _list[TargetingValue] key: str @typing.type_check_only -class TargetingValue(typing_extensions.TypedDict, total=False): +class TargetingValue(typing.TypedDict, total=False): creativeSizeValue: TargetingValueCreativeSize dayPartTargetingValue: TargetingValueDayPartTargeting demogAgeCriteriaValue: TargetingValueDemogAgeCriteria @@ -500,7 +496,7 @@ class TargetingValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class TargetingValueCreativeSize(typing_extensions.TypedDict, total=False): +class TargetingValueCreativeSize(typing.TypedDict, total=False): allowedFormats: _list[str] companionSizes: _list[TargetingValueSize] creativeSizeType: str @@ -509,12 +505,12 @@ class TargetingValueCreativeSize(typing_extensions.TypedDict, total=False): skippableAdType: str @typing.type_check_only -class TargetingValueDayPartTargeting(typing_extensions.TypedDict, total=False): +class TargetingValueDayPartTargeting(typing.TypedDict, total=False): dayParts: _list[TargetingValueDayPartTargetingDayPart] timeZoneType: str @typing.type_check_only -class TargetingValueDayPartTargetingDayPart(typing_extensions.TypedDict, total=False): +class TargetingValueDayPartTargetingDayPart(typing.TypedDict, total=False): dayOfWeek: str endHour: int endMinute: int @@ -522,24 +518,24 @@ class TargetingValueDayPartTargetingDayPart(typing_extensions.TypedDict, total=F startMinute: int @typing.type_check_only -class TargetingValueDemogAgeCriteria(typing_extensions.TypedDict, total=False): +class TargetingValueDemogAgeCriteria(typing.TypedDict, total=False): demogAgeCriteriaIds: _list[str] @typing.type_check_only -class TargetingValueDemogGenderCriteria(typing_extensions.TypedDict, total=False): +class TargetingValueDemogGenderCriteria(typing.TypedDict, total=False): demogGenderCriteriaIds: _list[str] @typing.type_check_only -class TargetingValueRequestPlatformTargeting(typing_extensions.TypedDict, total=False): +class TargetingValueRequestPlatformTargeting(typing.TypedDict, total=False): requestPlatforms: _list[str] @typing.type_check_only -class TargetingValueSize(typing_extensions.TypedDict, total=False): +class TargetingValueSize(typing.TypedDict, total=False): height: int width: int @typing.type_check_only -class UpdatePrivateAuctionProposalRequest(typing_extensions.TypedDict, total=False): +class UpdatePrivateAuctionProposalRequest(typing.TypedDict, total=False): externalDealId: str note: MarketplaceNote proposalRevisionNumber: str diff --git a/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/resources.pyi b/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/resources.pyi index d2ef784c2..8329a5f4f 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -156,7 +155,7 @@ class AdExchangeBuyerIIResource(googleapiclient.discovery.Resource): *, accountId: str, body: Creative, - duplicateIdMode: typing_extensions.Literal[ + duplicateIdMode: typing.Literal[ "NO_DUPLICATES", "FORCE_ENABLE_DUPLICATE_IDS" ] | None = ..., @@ -212,7 +211,7 @@ class AdExchangeBuyerIIResource(googleapiclient.discovery.Resource): *, accountId: str, filter: str | None = ..., - filterSyntax: typing_extensions.Literal[ + filterSyntax: typing.Literal[ "FILTER_SYNTAX_UNSPECIFIED", "PQL", "LIST_FILTER" ] | None = ..., @@ -307,7 +306,7 @@ class AdExchangeBuyerIIResource(googleapiclient.discovery.Resource): *, accountId: str, filter: str | None = ..., - filterSyntax: typing_extensions.Literal[ + filterSyntax: typing.Literal[ "FILTER_SYNTAX_UNSPECIFIED", "PQL", "LIST_FILTER" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi index 5c1660a3e..17ccc84d3 100644 --- a/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi @@ -1,49 +1,47 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbsoluteDateRange(typing_extensions.TypedDict, total=False): +class AbsoluteDateRange(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class AcceptProposalRequest(typing_extensions.TypedDict, total=False): +class AcceptProposalRequest(typing.TypedDict, total=False): proposalRevision: str @typing.type_check_only -class AdSize(typing_extensions.TypedDict, total=False): +class AdSize(typing.TypedDict, total=False): height: str - sizeType: typing_extensions.Literal[ + sizeType: typing.Literal[ "SIZE_TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID" ] width: str @typing.type_check_only -class AdTechnologyProviders(typing_extensions.TypedDict, total=False): +class AdTechnologyProviders(typing.TypedDict, total=False): detectedProviderIds: _list[str] hasUnidentifiedProvider: bool @typing.type_check_only -class AddDealAssociationRequest(typing_extensions.TypedDict, total=False): +class AddDealAssociationRequest(typing.TypedDict, total=False): association: CreativeDealAssociation @typing.type_check_only -class AddNoteRequest(typing_extensions.TypedDict, total=False): +class AddNoteRequest(typing.TypedDict, total=False): note: Note @typing.type_check_only -class AppContext(typing_extensions.TypedDict, total=False): - appTypes: _list[typing_extensions.Literal["NATIVE", "WEB"]] +class AppContext(typing.TypedDict, total=False): + appTypes: _list[typing.Literal["NATIVE", "WEB"]] @typing.type_check_only -class AuctionContext(typing_extensions.TypedDict, total=False): - auctionTypes: _list[typing_extensions.Literal["OPEN_AUCTION", "DIRECT_DEALS"]] +class AuctionContext(typing.TypedDict, total=False): + auctionTypes: _list[typing.Literal["OPEN_AUCTION", "DIRECT_DEALS"]] @typing.type_check_only -class BidMetricsRow(typing_extensions.TypedDict, total=False): +class BidMetricsRow(typing.TypedDict, total=False): bids: MetricValue bidsInAuction: MetricValue billedImpressions: MetricValue @@ -54,10 +52,10 @@ class BidMetricsRow(typing_extensions.TypedDict, total=False): viewableImpressions: MetricValue @typing.type_check_only -class BidResponseWithoutBidsStatusRow(typing_extensions.TypedDict, total=False): +class BidResponseWithoutBidsStatusRow(typing.TypedDict, total=False): impressionCount: MetricValue rowDimensions: RowDimensions - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "RESPONSES_WITHOUT_BIDS", "RESPONSES_WITHOUT_BIDS_FOR_ACCOUNT", @@ -65,25 +63,25 @@ class BidResponseWithoutBidsStatusRow(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Buyer(typing_extensions.TypedDict, total=False): +class Buyer(typing.TypedDict, total=False): accountId: str @typing.type_check_only -class CalloutStatusRow(typing_extensions.TypedDict, total=False): +class CalloutStatusRow(typing.TypedDict, total=False): calloutStatusId: int impressionCount: MetricValue rowDimensions: RowDimensions @typing.type_check_only -class CancelNegotiationRequest(typing_extensions.TypedDict, total=False): ... +class CancelNegotiationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Client(typing_extensions.TypedDict, total=False): +class Client(typing.TypedDict, total=False): clientAccountId: str clientName: str entityId: str entityName: str - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "ENTITY_TYPE_UNSPECIFIED", "ADVERTISER", "BRAND", @@ -91,44 +89,42 @@ class Client(typing_extensions.TypedDict, total=False): "ENTITY_TYPE_UNCLASSIFIED", ] partnerClientId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "CLIENT_ROLE_UNSPECIFIED", "CLIENT_DEAL_VIEWER", "CLIENT_DEAL_NEGOTIATOR", "CLIENT_DEAL_APPROVER", ] - status: typing_extensions.Literal["CLIENT_STATUS_UNSPECIFIED", "DISABLED", "ACTIVE"] + status: typing.Literal["CLIENT_STATUS_UNSPECIFIED", "DISABLED", "ACTIVE"] visibleToSeller: bool @typing.type_check_only -class ClientUser(typing_extensions.TypedDict, total=False): +class ClientUser(typing.TypedDict, total=False): clientAccountId: str email: str - status: typing_extensions.Literal[ - "USER_STATUS_UNSPECIFIED", "PENDING", "ACTIVE", "DISABLED" - ] + status: typing.Literal["USER_STATUS_UNSPECIFIED", "PENDING", "ACTIVE", "DISABLED"] userId: str @typing.type_check_only -class ClientUserInvitation(typing_extensions.TypedDict, total=False): +class ClientUserInvitation(typing.TypedDict, total=False): clientAccountId: str email: str invitationId: str @typing.type_check_only -class CompleteSetupRequest(typing_extensions.TypedDict, total=False): +class CompleteSetupRequest(typing.TypedDict, total=False): externalDealIds: _list[str] @typing.type_check_only -class ContactInformation(typing_extensions.TypedDict, total=False): +class ContactInformation(typing.TypedDict, total=False): email: str name: str @typing.type_check_only -class Correction(typing_extensions.TypedDict, total=False): +class Correction(typing.TypedDict, total=False): contexts: _list[ServingContext] details: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "CORRECTION_TYPE_UNSPECIFIED", "VENDOR_IDS_ADDED", "SSL_ATTRIBUTE_REMOVED", @@ -144,7 +140,7 @@ class Correction(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): accountId: str adChoicesDestinationUrl: str adTechnologyProviders: AdTechnologyProviders @@ -152,7 +148,7 @@ class Creative(typing_extensions.TypedDict, total=False): agencyId: str apiUpdateTime: str attributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ATTRIBUTE_UNSPECIFIED", "IMAGE_RICH_MEDIA", "ADOBE_FLASH_FLV", @@ -197,7 +193,7 @@ class Creative(typing_extensions.TypedDict, total=False): clickThroughUrls: _list[str] corrections: _list[Correction] creativeId: str - dealsStatus: typing_extensions.Literal[ + dealsStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_CHECKED", "CONDITIONALLY_APPROVED", @@ -215,7 +211,7 @@ class Creative(typing_extensions.TypedDict, total=False): html: HtmlContent impressionTrackingUrls: _list[str] native: NativeContent - openAuctionStatus: typing_extensions.Literal[ + openAuctionStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_CHECKED", "CONDITIONALLY_APPROVED", @@ -224,38 +220,34 @@ class Creative(typing_extensions.TypedDict, total=False): "PENDING_REVIEW", "STATUS_TYPE_UNSPECIFIED", ] - restrictedCategories: _list[ - typing_extensions.Literal["NO_RESTRICTED_CATEGORIES", "ALCOHOL"] - ] + restrictedCategories: _list[typing.Literal["NO_RESTRICTED_CATEGORIES", "ALCOHOL"]] servingRestrictions: _list[ServingRestriction] vendorIds: _list[int] version: int video: VideoContent @typing.type_check_only -class CreativeDealAssociation(typing_extensions.TypedDict, total=False): +class CreativeDealAssociation(typing.TypedDict, total=False): accountId: str creativeId: str dealsId: str @typing.type_check_only -class CreativeRestrictions(typing_extensions.TypedDict, total=False): - creativeFormat: typing_extensions.Literal[ - "CREATIVE_FORMAT_UNSPECIFIED", "DISPLAY", "VIDEO" - ] +class CreativeRestrictions(typing.TypedDict, total=False): + creativeFormat: typing.Literal["CREATIVE_FORMAT_UNSPECIFIED", "DISPLAY", "VIDEO"] creativeSpecifications: _list[CreativeSpecification] - skippableAdType: typing_extensions.Literal[ + skippableAdType: typing.Literal[ "SKIPPABLE_AD_TYPE_UNSPECIFIED", "SKIPPABLE", "INSTREAM_SELECT", "NOT_SKIPPABLE" ] @typing.type_check_only -class CreativeSize(typing_extensions.TypedDict, total=False): - allowedFormats: _list[typing_extensions.Literal["UNKNOWN", "AUDIO"]] +class CreativeSize(typing.TypedDict, total=False): + allowedFormats: _list[typing.Literal["UNKNOWN", "AUDIO"]] companionSizes: _list[Size] - creativeSizeType: typing_extensions.Literal[ + creativeSizeType: typing.Literal[ "CREATIVE_SIZE_TYPE_UNSPECIFIED", "REGULAR", "INTERSTITIAL", "VIDEO", "NATIVE" ] - nativeTemplate: typing_extensions.Literal[ + nativeTemplate: typing.Literal[ "UNKNOWN_NATIVE_TEMPLATE", "NATIVE_CONTENT_AD", "NATIVE_APP_INSTALL_AD", @@ -263,35 +255,35 @@ class CreativeSize(typing_extensions.TypedDict, total=False): "NATIVE_VIDEO_APP_INSTALL_AD", ] size: Size - skippableAdType: typing_extensions.Literal[ + skippableAdType: typing.Literal[ "SKIPPABLE_AD_TYPE_UNSPECIFIED", "GENERIC", "INSTREAM_SELECT", "NOT_SKIPPABLE" ] @typing.type_check_only -class CreativeSpecification(typing_extensions.TypedDict, total=False): +class CreativeSpecification(typing.TypedDict, total=False): creativeCompanionSizes: _list[AdSize] creativeSize: AdSize @typing.type_check_only -class CreativeStatusRow(typing_extensions.TypedDict, total=False): +class CreativeStatusRow(typing.TypedDict, total=False): bidCount: MetricValue creativeStatusId: int rowDimensions: RowDimensions @typing.type_check_only -class CriteriaTargeting(typing_extensions.TypedDict, total=False): +class CriteriaTargeting(typing.TypedDict, total=False): excludedCriteriaIds: _list[str] targetedCriteriaIds: _list[str] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DayPart(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class DayPart(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -305,27 +297,25 @@ class DayPart(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class DayPartTargeting(typing_extensions.TypedDict, total=False): +class DayPartTargeting(typing.TypedDict, total=False): dayParts: _list[DayPart] - timeZoneType: typing_extensions.Literal[ - "TIME_ZONE_SOURCE_UNSPECIFIED", "PUBLISHER", "USER" - ] + timeZoneType: typing.Literal["TIME_ZONE_SOURCE_UNSPECIFIED", "PUBLISHER", "USER"] @typing.type_check_only -class Deal(typing_extensions.TypedDict, total=False): +class Deal(typing.TypedDict, total=False): availableEndTime: str availableStartTime: str buyerPrivateData: PrivateData createProductId: str createProductRevision: str createTime: str - creativePreApprovalPolicy: typing_extensions.Literal[ + creativePreApprovalPolicy: typing.Literal[ "CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED", "SELLER_PRE_APPROVAL_REQUIRED", "SELLER_PRE_APPROVAL_NOT_REQUIRED", ] creativeRestrictions: CreativeRestrictions - creativeSafeFrameCompatibility: typing_extensions.Literal[ + creativeSafeFrameCompatibility: typing.Literal[ "CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED", "COMPATIBLE", "INCOMPATIBLE" ] dealId: str @@ -336,12 +326,12 @@ class Deal(typing_extensions.TypedDict, total=False): displayName: str externalDealId: str isSetupComplete: bool - programmaticCreativeSource: typing_extensions.Literal[ + programmaticCreativeSource: typing.Literal[ "PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED", "ADVERTISER", "PUBLISHER" ] proposalId: str sellerContacts: _list[ContactInformation] - syndicationProduct: typing_extensions.Literal[ + syndicationProduct: typing.Literal[ "SYNDICATION_PRODUCT_UNSPECIFIED", "CONTENT", "MOBILE", "VIDEO", "GAMES" ] targeting: MarketplaceTargeting @@ -350,22 +340,20 @@ class Deal(typing_extensions.TypedDict, total=False): webPropertyCode: str @typing.type_check_only -class DealPauseStatus(typing_extensions.TypedDict, total=False): +class DealPauseStatus(typing.TypedDict, total=False): buyerPauseReason: str - firstPausedBy: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + firstPausedBy: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] hasBuyerPaused: bool hasSellerPaused: bool sellerPauseReason: str @typing.type_check_only -class DealServingMetadata(typing_extensions.TypedDict, total=False): +class DealServingMetadata(typing.TypedDict, total=False): dealPauseStatus: DealPauseStatus @typing.type_check_only -class DealTerms(typing_extensions.TypedDict, total=False): - brandingType: typing_extensions.Literal[ +class DealTerms(typing.TypedDict, total=False): + brandingType: typing.Literal[ "BRANDING_TYPE_UNSPECIFIED", "BRANDED", "SEMI_TRANSPARENT" ] description: str @@ -377,13 +365,13 @@ class DealTerms(typing_extensions.TypedDict, total=False): sellerTimeZone: str @typing.type_check_only -class DeliveryControl(typing_extensions.TypedDict, total=False): - creativeBlockingLevel: typing_extensions.Literal[ +class DeliveryControl(typing.TypedDict, total=False): + creativeBlockingLevel: typing.Literal[ "CREATIVE_BLOCKING_LEVEL_UNSPECIFIED", "PUBLISHER_BLOCKING_RULES", "ADX_POLICY_BLOCKING_ONLY", ] - deliveryRateType: typing_extensions.Literal[ + deliveryRateType: typing.Literal[ "DELIVERY_RATE_TYPE_UNSPECIFIED", "EVENLY", "FRONT_LOADED", @@ -392,9 +380,9 @@ class DeliveryControl(typing_extensions.TypedDict, total=False): frequencyCaps: _list[FrequencyCap] @typing.type_check_only -class Disapproval(typing_extensions.TypedDict, total=False): +class Disapproval(typing.TypedDict, total=False): details: _list[str] - reason: typing_extensions.Literal[ + reason: typing.Literal[ "LENGTH_OF_IMAGE_ANIMATION", "BROKEN_URL", "MEDIA_NOT_FUNCTIONAL", @@ -500,20 +488,18 @@ class Disapproval(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FilterSet(typing_extensions.TypedDict, total=False): +class FilterSet(typing.TypedDict, total=False): absoluteDateRange: AbsoluteDateRange breakdownDimensions: _list[ - typing_extensions.Literal[ - "BREAKDOWN_DIMENSION_UNSPECIFIED", "PUBLISHER_IDENTIFIER" - ] + typing.Literal["BREAKDOWN_DIMENSION_UNSPECIFIED", "PUBLISHER_IDENTIFIER"] ] creativeId: str dealId: str - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "WEB", "APP"] - format: typing_extensions.Literal[ + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "WEB", "APP"] + format: typing.Literal[ "FORMAT_UNSPECIFIED", "NATIVE_DISPLAY", "NATIVE_VIDEO", @@ -521,7 +507,7 @@ class FilterSet(typing_extensions.TypedDict, total=False): "NON_NATIVE_VIDEO", ] formats: _list[ - typing_extensions.Literal[ + typing.Literal[ "FORMAT_UNSPECIFIED", "NATIVE_DISPLAY", "NATIVE_VIDEO", @@ -531,39 +517,39 @@ class FilterSet(typing_extensions.TypedDict, total=False): ] name: str platforms: _list[ - typing_extensions.Literal["PLATFORM_UNSPECIFIED", "DESKTOP", "TABLET", "MOBILE"] + typing.Literal["PLATFORM_UNSPECIFIED", "DESKTOP", "TABLET", "MOBILE"] ] publisherIdentifiers: _list[str] realtimeTimeRange: RealtimeTimeRange relativeDateRange: RelativeDateRange sellerNetworkIds: _list[int] - timeSeriesGranularity: typing_extensions.Literal[ + timeSeriesGranularity: typing.Literal[ "TIME_SERIES_GRANULARITY_UNSPECIFIED", "HOURLY", "DAILY" ] @typing.type_check_only -class FilteredBidCreativeRow(typing_extensions.TypedDict, total=False): +class FilteredBidCreativeRow(typing.TypedDict, total=False): bidCount: MetricValue creativeId: str rowDimensions: RowDimensions @typing.type_check_only -class FilteredBidDetailRow(typing_extensions.TypedDict, total=False): +class FilteredBidDetailRow(typing.TypedDict, total=False): bidCount: MetricValue detail: str detailId: int rowDimensions: RowDimensions @typing.type_check_only -class FirstPartyMobileApplicationTargeting(typing_extensions.TypedDict, total=False): +class FirstPartyMobileApplicationTargeting(typing.TypedDict, total=False): excludedAppIds: _list[str] targetedAppIds: _list[str] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): maxImpressions: int numTimeUnits: int - timeUnitType: typing_extensions.Literal[ + timeUnitType: typing.Literal[ "TIME_UNIT_TYPE_UNSPECIFIED", "MINUTE", "HOUR", @@ -576,31 +562,31 @@ class FrequencyCap(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GuaranteedFixedPriceTerms(typing_extensions.TypedDict, total=False): +class GuaranteedFixedPriceTerms(typing.TypedDict, total=False): fixedPrices: _list[PricePerBuyer] guaranteedImpressions: str guaranteedLooks: str impressionCap: str minimumDailyLooks: str percentShareOfVoice: str - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "STANDARD", "SPONSORSHIP" ] @typing.type_check_only -class HtmlContent(typing_extensions.TypedDict, total=False): +class HtmlContent(typing.TypedDict, total=False): height: int snippet: str width: int @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): height: int url: str width: int @typing.type_check_only -class ImpressionMetricsRow(typing_extensions.TypedDict, total=False): +class ImpressionMetricsRow(typing.TypedDict, total=False): availableImpressions: MetricValue bidRequests: MetricValue inventoryMatches: MetricValue @@ -609,52 +595,48 @@ class ImpressionMetricsRow(typing_extensions.TypedDict, total=False): successfulResponses: MetricValue @typing.type_check_only -class InventorySizeTargeting(typing_extensions.TypedDict, total=False): +class InventorySizeTargeting(typing.TypedDict, total=False): excludedInventorySizes: _list[AdSize] targetedInventorySizes: _list[AdSize] @typing.type_check_only -class ListBidMetricsResponse(typing_extensions.TypedDict, total=False): +class ListBidMetricsResponse(typing.TypedDict, total=False): bidMetricsRows: _list[BidMetricsRow] nextPageToken: str @typing.type_check_only -class ListBidResponseErrorsResponse(typing_extensions.TypedDict, total=False): +class ListBidResponseErrorsResponse(typing.TypedDict, total=False): calloutStatusRows: _list[CalloutStatusRow] nextPageToken: str @typing.type_check_only -class ListBidResponsesWithoutBidsResponse(typing_extensions.TypedDict, total=False): +class ListBidResponsesWithoutBidsResponse(typing.TypedDict, total=False): bidResponseWithoutBidsStatusRows: _list[BidResponseWithoutBidsStatusRow] nextPageToken: str @typing.type_check_only -class ListClientUserInvitationsResponse(typing_extensions.TypedDict, total=False): +class ListClientUserInvitationsResponse(typing.TypedDict, total=False): invitations: _list[ClientUserInvitation] nextPageToken: str @typing.type_check_only -class ListClientUsersResponse(typing_extensions.TypedDict, total=False): +class ListClientUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[ClientUser] @typing.type_check_only -class ListClientsResponse(typing_extensions.TypedDict, total=False): +class ListClientsResponse(typing.TypedDict, total=False): clients: _list[Client] nextPageToken: str @typing.type_check_only -class ListCreativeStatusBreakdownByCreativeResponse( - typing_extensions.TypedDict, total=False -): +class ListCreativeStatusBreakdownByCreativeResponse(typing.TypedDict, total=False): filteredBidCreativeRows: _list[FilteredBidCreativeRow] nextPageToken: str @typing.type_check_only -class ListCreativeStatusBreakdownByDetailResponse( - typing_extensions.TypedDict, total=False -): - detailType: typing_extensions.Literal[ +class ListCreativeStatusBreakdownByDetailResponse(typing.TypedDict, total=False): + detailType: typing.Literal[ "DETAIL_TYPE_UNSPECIFIED", "CREATIVE_ATTRIBUTE", "VENDOR", @@ -670,66 +652,66 @@ class ListCreativeStatusBreakdownByDetailResponse( nextPageToken: str @typing.type_check_only -class ListCreativesResponse(typing_extensions.TypedDict, total=False): +class ListCreativesResponse(typing.TypedDict, total=False): creatives: _list[Creative] nextPageToken: str @typing.type_check_only -class ListDealAssociationsResponse(typing_extensions.TypedDict, total=False): +class ListDealAssociationsResponse(typing.TypedDict, total=False): associations: _list[CreativeDealAssociation] nextPageToken: str @typing.type_check_only -class ListFilterSetsResponse(typing_extensions.TypedDict, total=False): +class ListFilterSetsResponse(typing.TypedDict, total=False): filterSets: _list[FilterSet] nextPageToken: str @typing.type_check_only -class ListFilteredBidRequestsResponse(typing_extensions.TypedDict, total=False): +class ListFilteredBidRequestsResponse(typing.TypedDict, total=False): calloutStatusRows: _list[CalloutStatusRow] nextPageToken: str @typing.type_check_only -class ListFilteredBidsResponse(typing_extensions.TypedDict, total=False): +class ListFilteredBidsResponse(typing.TypedDict, total=False): creativeStatusRows: _list[CreativeStatusRow] nextPageToken: str @typing.type_check_only -class ListImpressionMetricsResponse(typing_extensions.TypedDict, total=False): +class ListImpressionMetricsResponse(typing.TypedDict, total=False): impressionMetricsRows: _list[ImpressionMetricsRow] nextPageToken: str @typing.type_check_only -class ListLosingBidsResponse(typing_extensions.TypedDict, total=False): +class ListLosingBidsResponse(typing.TypedDict, total=False): creativeStatusRows: _list[CreativeStatusRow] nextPageToken: str @typing.type_check_only -class ListNonBillableWinningBidsResponse(typing_extensions.TypedDict, total=False): +class ListNonBillableWinningBidsResponse(typing.TypedDict, total=False): nextPageToken: str nonBillableWinningBidStatusRows: _list[NonBillableWinningBidStatusRow] @typing.type_check_only -class ListProductsResponse(typing_extensions.TypedDict, total=False): +class ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] @typing.type_check_only -class ListProposalsResponse(typing_extensions.TypedDict, total=False): +class ListProposalsResponse(typing.TypedDict, total=False): nextPageToken: str proposals: _list[Proposal] @typing.type_check_only -class ListPublisherProfilesResponse(typing_extensions.TypedDict, total=False): +class ListPublisherProfilesResponse(typing.TypedDict, total=False): nextPageToken: str publisherProfiles: _list[PublisherProfile] @typing.type_check_only -class LocationContext(typing_extensions.TypedDict, total=False): +class LocationContext(typing.TypedDict, total=False): geoCriteriaIds: _list[int] @typing.type_check_only -class MarketplaceTargeting(typing_extensions.TypedDict, total=False): +class MarketplaceTargeting(typing.TypedDict, total=False): geoTargeting: CriteriaTargeting inventorySizeTargeting: InventorySizeTargeting placementTargeting: PlacementTargeting @@ -737,22 +719,22 @@ class MarketplaceTargeting(typing_extensions.TypedDict, total=False): videoTargeting: VideoTargeting @typing.type_check_only -class MetricValue(typing_extensions.TypedDict, total=False): +class MetricValue(typing.TypedDict, total=False): value: str variance: str @typing.type_check_only -class MobileApplicationTargeting(typing_extensions.TypedDict, total=False): +class MobileApplicationTargeting(typing.TypedDict, total=False): firstPartyTargeting: FirstPartyMobileApplicationTargeting @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class NativeContent(typing_extensions.TypedDict, total=False): +class NativeContent(typing.TypedDict, total=False): advertiserName: str appIcon: Image body: str @@ -768,10 +750,10 @@ class NativeContent(typing_extensions.TypedDict, total=False): videoUrl: str @typing.type_check_only -class NonBillableWinningBidStatusRow(typing_extensions.TypedDict, total=False): +class NonBillableWinningBidStatusRow(typing.TypedDict, total=False): bidCount: MetricValue rowDimensions: RowDimensions - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "AD_NOT_RENDERED", "INVALID_IMPRESSION", @@ -781,66 +763,64 @@ class NonBillableWinningBidStatusRow(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NonGuaranteedAuctionTerms(typing_extensions.TypedDict, total=False): +class NonGuaranteedAuctionTerms(typing.TypedDict, total=False): autoOptimizePrivateAuction: bool reservePricesPerBuyer: _list[PricePerBuyer] @typing.type_check_only -class NonGuaranteedFixedPriceTerms(typing_extensions.TypedDict, total=False): +class NonGuaranteedFixedPriceTerms(typing.TypedDict, total=False): fixedPrices: _list[PricePerBuyer] @typing.type_check_only -class Note(typing_extensions.TypedDict, total=False): +class Note(typing.TypedDict, total=False): createTime: str - creatorRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + creatorRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] note: str noteId: str proposalRevision: str @typing.type_check_only -class OperatingSystemTargeting(typing_extensions.TypedDict, total=False): +class OperatingSystemTargeting(typing.TypedDict, total=False): operatingSystemCriteria: CriteriaTargeting operatingSystemVersionCriteria: CriteriaTargeting @typing.type_check_only -class PauseProposalDealsRequest(typing_extensions.TypedDict, total=False): +class PauseProposalDealsRequest(typing.TypedDict, total=False): externalDealIds: _list[str] reason: str @typing.type_check_only -class PauseProposalRequest(typing_extensions.TypedDict, total=False): +class PauseProposalRequest(typing.TypedDict, total=False): reason: str @typing.type_check_only -class PlacementTargeting(typing_extensions.TypedDict, total=False): +class PlacementTargeting(typing.TypedDict, total=False): mobileApplicationTargeting: MobileApplicationTargeting urlTargeting: UrlTargeting @typing.type_check_only -class PlatformContext(typing_extensions.TypedDict, total=False): - platforms: _list[typing_extensions.Literal["DESKTOP", "ANDROID", "IOS"]] +class PlatformContext(typing.TypedDict, total=False): + platforms: _list[typing.Literal["DESKTOP", "ANDROID", "IOS"]] @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amount: Money - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PRICING_TYPE_UNSPECIFIED", "COST_PER_MILLE", "COST_PER_DAY" ] @typing.type_check_only -class PricePerBuyer(typing_extensions.TypedDict, total=False): +class PricePerBuyer(typing.TypedDict, total=False): advertiserIds: _list[str] buyer: Buyer price: Price @typing.type_check_only -class PrivateData(typing_extensions.TypedDict, total=False): +class PrivateData(typing.TypedDict, total=False): referenceId: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): availableEndTime: str availableStartTime: str createTime: str @@ -851,7 +831,7 @@ class Product(typing_extensions.TypedDict, total=False): productRevision: str publisherProfileId: str seller: Seller - syndicationProduct: typing_extensions.Literal[ + syndicationProduct: typing.Literal[ "SYNDICATION_PRODUCT_UNSPECIFIED", "CONTENT", "MOBILE", "VIDEO", "GAMES" ] targetingCriterion: _list[TargetingCriteria] @@ -860,7 +840,7 @@ class Product(typing_extensions.TypedDict, total=False): webPropertyCode: str @typing.type_check_only -class Proposal(typing_extensions.TypedDict, total=False): +class Proposal(typing.TypedDict, total=False): billedBuyer: Buyer buyer: Buyer buyerContacts: _list[ContactInformation] @@ -869,17 +849,15 @@ class Proposal(typing_extensions.TypedDict, total=False): displayName: str isRenegotiating: bool isSetupComplete: bool - lastUpdaterOrCommentorRole: typing_extensions.Literal[ + lastUpdaterOrCommentorRole: typing.Literal[ "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" ] notes: _list[Note] - originatorRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + originatorRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] privateAuctionId: str proposalId: str proposalRevision: str - proposalState: typing_extensions.Literal[ + proposalState: typing.Literal[ "PROPOSAL_STATE_UNSPECIFIED", "PROPOSED", "BUYER_ACCEPTED", @@ -893,7 +871,7 @@ class Proposal(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PublisherProfile(typing_extensions.TypedDict, total=False): +class PublisherProfile(typing.TypedDict, total=False): audienceDescription: str buyerPitchStatement: str directDealsContact: str @@ -913,8 +891,8 @@ class PublisherProfile(typing_extensions.TypedDict, total=False): topHeadlines: _list[str] @typing.type_check_only -class PublisherProfileMobileApplication(typing_extensions.TypedDict, total=False): - appStore: typing_extensions.Literal[ +class PublisherProfileMobileApplication(typing.TypedDict, total=False): + appStore: typing.Literal[ "APP_STORE_TYPE_UNSPECIFIED", "APPLE_ITUNES", "GOOGLE_PLAY", @@ -934,42 +912,42 @@ class PublisherProfileMobileApplication(typing_extensions.TypedDict, total=False name: str @typing.type_check_only -class RealtimeTimeRange(typing_extensions.TypedDict, total=False): +class RealtimeTimeRange(typing.TypedDict, total=False): startTimestamp: str @typing.type_check_only -class RelativeDateRange(typing_extensions.TypedDict, total=False): +class RelativeDateRange(typing.TypedDict, total=False): durationDays: int offsetDays: int @typing.type_check_only -class RemoveDealAssociationRequest(typing_extensions.TypedDict, total=False): +class RemoveDealAssociationRequest(typing.TypedDict, total=False): association: CreativeDealAssociation @typing.type_check_only -class ResumeProposalDealsRequest(typing_extensions.TypedDict, total=False): +class ResumeProposalDealsRequest(typing.TypedDict, total=False): externalDealIds: _list[str] @typing.type_check_only -class ResumeProposalRequest(typing_extensions.TypedDict, total=False): ... +class ResumeProposalRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RowDimensions(typing_extensions.TypedDict, total=False): +class RowDimensions(typing.TypedDict, total=False): publisherIdentifier: str timeInterval: TimeInterval @typing.type_check_only -class SecurityContext(typing_extensions.TypedDict, total=False): - securities: _list[typing_extensions.Literal["INSECURE", "SSL"]] +class SecurityContext(typing.TypedDict, total=False): + securities: _list[typing.Literal["INSECURE", "SSL"]] @typing.type_check_only -class Seller(typing_extensions.TypedDict, total=False): +class Seller(typing.TypedDict, total=False): accountId: str subAccountId: str @typing.type_check_only -class ServingContext(typing_extensions.TypedDict, total=False): - all: typing_extensions.Literal["SIMPLE_CONTEXT"] +class ServingContext(typing.TypedDict, total=False): + all: typing.Literal["SIMPLE_CONTEXT"] appType: AppContext auctionType: AuctionContext location: LocationContext @@ -977,76 +955,70 @@ class ServingContext(typing_extensions.TypedDict, total=False): securityType: SecurityContext @typing.type_check_only -class ServingRestriction(typing_extensions.TypedDict, total=False): +class ServingRestriction(typing.TypedDict, total=False): contexts: _list[ServingContext] disapproval: Disapproval disapprovalReasons: _list[Disapproval] - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "DISAPPROVAL", "PENDING_REVIEW" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "DISAPPROVAL", "PENDING_REVIEW"] @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: int width: int @typing.type_check_only -class StopWatchingCreativeRequest(typing_extensions.TypedDict, total=False): ... +class StopWatchingCreativeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class TargetingCriteria(typing_extensions.TypedDict, total=False): +class TargetingCriteria(typing.TypedDict, total=False): exclusions: _list[TargetingValue] inclusions: _list[TargetingValue] key: str @typing.type_check_only -class TargetingValue(typing_extensions.TypedDict, total=False): +class TargetingValue(typing.TypedDict, total=False): creativeSizeValue: CreativeSize dayPartTargetingValue: DayPartTargeting longValue: str stringValue: str @typing.type_check_only -class TechnologyTargeting(typing_extensions.TypedDict, total=False): +class TechnologyTargeting(typing.TypedDict, total=False): deviceCapabilityTargeting: CriteriaTargeting deviceCategoryTargeting: CriteriaTargeting operatingSystemTargeting: OperatingSystemTargeting @typing.type_check_only -class TimeInterval(typing_extensions.TypedDict, total=False): +class TimeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class UrlTargeting(typing_extensions.TypedDict, total=False): +class UrlTargeting(typing.TypedDict, total=False): excludedUrls: _list[str] targetedUrls: _list[str] @typing.type_check_only -class VideoContent(typing_extensions.TypedDict, total=False): +class VideoContent(typing.TypedDict, total=False): videoUrl: str videoVastXml: str @typing.type_check_only -class VideoTargeting(typing_extensions.TypedDict, total=False): +class VideoTargeting(typing.TypedDict, total=False): excludedPositionTypes: _list[ - typing_extensions.Literal[ - "POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL" - ] + typing.Literal["POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL"] ] targetedPositionTypes: _list[ - typing_extensions.Literal[ - "POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL" - ] + typing.Literal["POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL"] ] @typing.type_check_only -class WatchCreativeRequest(typing_extensions.TypedDict, total=False): +class WatchCreativeRequest(typing.TypedDict, total=False): topic: str diff --git a/googleapiclient-stubs/_apis/adexperiencereport/v1/resources.pyi b/googleapiclient-stubs/_apis/adexperiencereport/v1/resources.pyi index 0acc4928f..7134507c3 100644 --- a/googleapiclient-stubs/_apis/adexperiencereport/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/adexperiencereport/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/adexperiencereport/v1/schemas.pyi b/googleapiclient-stubs/_apis/adexperiencereport/v1/schemas.pyi index db4d18a53..991413feb 100644 --- a/googleapiclient-stubs/_apis/adexperiencereport/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/adexperiencereport/v1/schemas.pyi @@ -1,29 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class PlatformSummary(typing_extensions.TypedDict, total=False): - betterAdsStatus: typing_extensions.Literal[ - "UNKNOWN", "PASSING", "WARNING", "FAILING" - ] +class PlatformSummary(typing.TypedDict, total=False): + betterAdsStatus: typing.Literal["UNKNOWN", "PASSING", "WARNING", "FAILING"] enforcementTime: str - filterStatus: typing_extensions.Literal["UNKNOWN", "ON", "OFF", "PAUSED", "PENDING"] + filterStatus: typing.Literal["UNKNOWN", "ON", "OFF", "PAUSED", "PENDING"] lastChangeTime: str - region: _list[ - typing_extensions.Literal["REGION_UNKNOWN", "REGION_A", "REGION_B", "REGION_C"] - ] + region: _list[typing.Literal["REGION_UNKNOWN", "REGION_A", "REGION_B", "REGION_C"]] reportUrl: str underReview: bool @typing.type_check_only -class SiteSummaryResponse(typing_extensions.TypedDict, total=False): +class SiteSummaryResponse(typing.TypedDict, total=False): desktopSummary: PlatformSummary mobileSummary: PlatformSummary reviewedSite: str @typing.type_check_only -class ViolatingSitesResponse(typing_extensions.TypedDict, total=False): +class ViolatingSitesResponse(typing.TypedDict, total=False): violatingSites: _list[SiteSummaryResponse] diff --git a/googleapiclient-stubs/_apis/admin/datatransfer_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/datatransfer_v1/resources.pyi index e9a89d040..1be1deb9a 100644 --- a/googleapiclient-stubs/_apis/admin/datatransfer_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/datatransfer_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/admin/datatransfer_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/datatransfer_v1/schemas.pyi index 6f8a6b953..d5fa9d354 100644 --- a/googleapiclient-stubs/_apis/admin/datatransfer_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/datatransfer_v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): etag: str id: str kind: str @@ -13,25 +11,25 @@ class Application(typing_extensions.TypedDict, total=False): transferParams: _list[ApplicationTransferParam] @typing.type_check_only -class ApplicationDataTransfer(typing_extensions.TypedDict, total=False): +class ApplicationDataTransfer(typing.TypedDict, total=False): applicationId: str applicationTransferParams: _list[ApplicationTransferParam] applicationTransferStatus: str @typing.type_check_only -class ApplicationTransferParam(typing_extensions.TypedDict, total=False): +class ApplicationTransferParam(typing.TypedDict, total=False): key: str value: _list[str] @typing.type_check_only -class ApplicationsListResponse(typing_extensions.TypedDict, total=False): +class ApplicationsListResponse(typing.TypedDict, total=False): applications: _list[Application] etag: str kind: str nextPageToken: str @typing.type_check_only -class DataTransfer(typing_extensions.TypedDict, total=False): +class DataTransfer(typing.TypedDict, total=False): applicationDataTransfers: _list[ApplicationDataTransfer] etag: str id: str @@ -42,7 +40,7 @@ class DataTransfer(typing_extensions.TypedDict, total=False): requestTime: str @typing.type_check_only -class DataTransfersListResponse(typing_extensions.TypedDict, total=False): +class DataTransfersListResponse(typing.TypedDict, total=False): dataTransfers: _list[DataTransfer] etag: str kind: str diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi index 6f2b7e620..4e220ae1e 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -44,7 +43,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): *, customerId: str, deviceId: str, - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ChromeOsDeviceHttpRequest: ... def list( @@ -53,7 +52,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): customerId: str, includeChildOrgunits: bool | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal[ + orderBy: typing.Literal[ "annotatedLocation", "annotatedUser", "lastSync", @@ -64,10 +63,9 @@ class DirectoryResource(googleapiclient.discovery.Resource): | None = ..., orgUnitPath: str | None = ..., pageToken: str | None = ..., - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., query: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ChromeOsDevicesHttpRequest: ... def list_next( @@ -89,7 +87,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): customerId: str, deviceId: str, body: ChromeOsDevice, - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ChromeOsDeviceHttpRequest: ... def update( @@ -98,7 +96,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): customerId: str, deviceId: str, body: ChromeOsDevice, - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ChromeOsDeviceHttpRequest: ... @@ -341,11 +339,10 @@ class DirectoryResource(googleapiclient.discovery.Resource): customer: str | None = ..., domain: str | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal["email"] | None = ..., + orderBy: typing.Literal["email"] | None = ..., pageToken: str | None = ..., query: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., userKey: str | None = ..., **kwargs: typing.Any, ) -> GroupsHttpRequest: ... @@ -412,7 +409,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): *, customerId: str, resourceId: str, - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> MobileDeviceHttpRequest: ... def list( @@ -420,15 +417,14 @@ class DirectoryResource(googleapiclient.discovery.Resource): *, customerId: str, maxResults: int | None = ..., - orderBy: typing_extensions.Literal[ + orderBy: typing.Literal[ "deviceId", "email", "lastSync", "model", "name", "os", "status", "type" ] | None = ..., pageToken: str | None = ..., - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., query: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> MobileDevicesHttpRequest: ... def list_next( @@ -453,8 +449,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): *, customerId: str, orgUnitPath: str | None = ..., - type: typing_extensions.Literal["all", "children", "allIncludingParent"] - | None = ..., + type: typing.Literal["all", "children", "allIncludingParent"] | None = ..., **kwargs: typing.Any, ) -> OrgUnitsHttpRequest: ... def patch( @@ -495,7 +490,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): *, customer: str, body: Building, - coordinatesSource: typing_extensions.Literal[ + coordinatesSource: typing.Literal[ "CLIENT_SPECIFIED", "RESOLVED_FROM_ADDRESS", "SOURCE_UNSPECIFIED" ] | None = ..., @@ -520,7 +515,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): customer: str, buildingId: str, body: Building, - coordinatesSource: typing_extensions.Literal[ + coordinatesSource: typing.Literal[ "CLIENT_SPECIFIED", "RESOLVED_FROM_ADDRESS", "SOURCE_UNSPECIFIED" ] | None = ..., @@ -532,7 +527,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): customer: str, buildingId: str, body: Building, - coordinatesSource: typing_extensions.Literal[ + coordinatesSource: typing.Literal[ "CLIENT_SPECIFIED", "RESOLVED_FROM_ADDRESS", "SOURCE_UNSPECIFIED" ] | None = ..., @@ -741,7 +736,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): self, *, userKey: str, - event: typing_extensions.Literal["add", "delete"] | None = ..., + event: typing.Literal["add", "delete"] | None = ..., **kwargs: typing.Any, ) -> AliasesHttpRequest: ... def watch( @@ -749,7 +744,7 @@ class DirectoryResource(googleapiclient.discovery.Resource): *, userKey: str, body: Channel, - event: typing_extensions.Literal["add", "delete"] | None = ..., + event: typing.Literal["add", "delete"] | None = ..., **kwargs: typing.Any, ) -> ChannelHttpRequest: ... @@ -779,10 +774,8 @@ class DirectoryResource(googleapiclient.discovery.Resource): *, userKey: str, customFieldMask: str | None = ..., - projection: typing_extensions.Literal["basic", "custom", "full"] - | None = ..., - viewType: typing_extensions.Literal["admin_view", "domain_public"] - | None = ..., + projection: typing.Literal["basic", "custom", "full"] | None = ..., + viewType: typing.Literal["admin_view", "domain_public"] | None = ..., **kwargs: typing.Any, ) -> UserHttpRequest: ... def insert( @@ -798,22 +791,16 @@ class DirectoryResource(googleapiclient.discovery.Resource): customFieldMask: str | None = ..., customer: str | None = ..., domain: str | None = ..., - event: typing_extensions.Literal[ - "add", "delete", "makeAdmin", "undelete", "update" - ] + event: typing.Literal["add", "delete", "makeAdmin", "undelete", "update"] | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal["email", "familyName", "givenName"] - | None = ..., + orderBy: typing.Literal["email", "familyName", "givenName"] | None = ..., pageToken: str | None = ..., - projection: typing_extensions.Literal["basic", "custom", "full"] - | None = ..., + projection: typing.Literal["basic", "custom", "full"] | None = ..., query: str | None = ..., showDeleted: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - viewType: typing_extensions.Literal["admin_view", "domain_public"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + viewType: typing.Literal["admin_view", "domain_public"] | None = ..., **kwargs: typing.Any, ) -> UsersHttpRequest: ... def list_next( @@ -841,22 +828,16 @@ class DirectoryResource(googleapiclient.discovery.Resource): customFieldMask: str | None = ..., customer: str | None = ..., domain: str | None = ..., - event: typing_extensions.Literal[ - "add", "delete", "makeAdmin", "undelete", "update" - ] + event: typing.Literal["add", "delete", "makeAdmin", "undelete", "update"] | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal["email", "familyName", "givenName"] - | None = ..., + orderBy: typing.Literal["email", "familyName", "givenName"] | None = ..., pageToken: str | None = ..., - projection: typing_extensions.Literal["basic", "custom", "full"] - | None = ..., + projection: typing.Literal["basic", "custom", "full"] | None = ..., query: str | None = ..., showDeleted: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - viewType: typing_extensions.Literal["admin_view", "domain_public"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + viewType: typing.Literal["admin_view", "domain_public"] | None = ..., **kwargs: typing.Any, ) -> ChannelHttpRequest: ... def aliases(self) -> AliasesResource: ... diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi index 3147d6e9f..63fef49ad 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Alias(typing_extensions.TypedDict, total=False): +class Alias(typing.TypedDict, total=False): alias: str etag: str id: str @@ -13,13 +11,13 @@ class Alias(typing_extensions.TypedDict, total=False): primaryEmail: str @typing.type_check_only -class Aliases(typing_extensions.TypedDict, total=False): +class Aliases(typing.TypedDict, total=False): aliases: _list[typing.Any] etag: str kind: str @typing.type_check_only -class Asp(typing_extensions.TypedDict, total=False): +class Asp(typing.TypedDict, total=False): codeId: int creationTime: str etag: str @@ -29,34 +27,34 @@ class Asp(typing_extensions.TypedDict, total=False): userKey: str @typing.type_check_only -class Asps(typing_extensions.TypedDict, total=False): +class Asps(typing.TypedDict, total=False): etag: str items: _list[Asp] kind: str @typing.type_check_only -class AuxiliaryMessage(typing_extensions.TypedDict, total=False): +class AuxiliaryMessage(typing.TypedDict, total=False): auxiliaryMessage: str fieldMask: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "SEVERITY_INFO", "SEVERITY_WARNING", "SEVERITY_ERROR" ] @typing.type_check_only -class BacklightInfo(typing_extensions.TypedDict, total=False): +class BacklightInfo(typing.TypedDict, total=False): brightness: int maxBrightness: int path: str @typing.type_check_only -class BatchChangeChromeOsDeviceStatusRequest(typing_extensions.TypedDict, total=False): - changeChromeOsDeviceStatusAction: typing_extensions.Literal[ +class BatchChangeChromeOsDeviceStatusRequest(typing.TypedDict, total=False): + changeChromeOsDeviceStatusAction: typing.Literal[ "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_UNSPECIFIED", "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION", "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DISABLE", "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_REENABLE", ] - deprovisionReason: typing_extensions.Literal[ + deprovisionReason: typing.Literal[ "DEPROVISION_REASON_UNSPECIFIED", "DEPROVISION_REASON_SAME_MODEL_REPLACEMENT", "DEPROVISION_REASON_UPGRADE", @@ -72,52 +70,52 @@ class BatchChangeChromeOsDeviceStatusRequest(typing_extensions.TypedDict, total= deviceIds: _list[str] @typing.type_check_only -class BatchChangeChromeOsDeviceStatusResponse(typing_extensions.TypedDict, total=False): +class BatchChangeChromeOsDeviceStatusResponse(typing.TypedDict, total=False): changeChromeOsDeviceStatusResults: _list[ChangeChromeOsDeviceStatusResult] @typing.type_check_only -class BatchCreatePrintServersRequest(typing_extensions.TypedDict, total=False): +class BatchCreatePrintServersRequest(typing.TypedDict, total=False): requests: _list[CreatePrintServerRequest] @typing.type_check_only -class BatchCreatePrintServersResponse(typing_extensions.TypedDict, total=False): +class BatchCreatePrintServersResponse(typing.TypedDict, total=False): failures: _list[PrintServerFailureInfo] printServers: _list[PrintServer] @typing.type_check_only -class BatchCreatePrintersRequest(typing_extensions.TypedDict, total=False): +class BatchCreatePrintersRequest(typing.TypedDict, total=False): requests: _list[CreatePrinterRequest] @typing.type_check_only -class BatchCreatePrintersResponse(typing_extensions.TypedDict, total=False): +class BatchCreatePrintersResponse(typing.TypedDict, total=False): failures: _list[FailureInfo] printers: _list[Printer] @typing.type_check_only -class BatchDeletePrintServersRequest(typing_extensions.TypedDict, total=False): +class BatchDeletePrintServersRequest(typing.TypedDict, total=False): printServerIds: _list[str] @typing.type_check_only -class BatchDeletePrintServersResponse(typing_extensions.TypedDict, total=False): +class BatchDeletePrintServersResponse(typing.TypedDict, total=False): failedPrintServers: _list[PrintServerFailureInfo] printServerIds: _list[str] @typing.type_check_only -class BatchDeletePrintersRequest(typing_extensions.TypedDict, total=False): +class BatchDeletePrintersRequest(typing.TypedDict, total=False): printerIds: _list[str] @typing.type_check_only -class BatchDeletePrintersResponse(typing_extensions.TypedDict, total=False): +class BatchDeletePrintersResponse(typing.TypedDict, total=False): failedPrinters: _list[FailureInfo] printerIds: _list[str] @typing.type_check_only -class BluetoothAdapterInfo(typing_extensions.TypedDict, total=False): +class BluetoothAdapterInfo(typing.TypedDict, total=False): address: str numConnectedDevices: int @typing.type_check_only -class Building(typing_extensions.TypedDict, total=False): +class Building(typing.TypedDict, total=False): address: BuildingAddress buildingId: str buildingName: str @@ -128,7 +126,7 @@ class Building(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class BuildingAddress(typing_extensions.TypedDict, total=False): +class BuildingAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -138,24 +136,24 @@ class BuildingAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class BuildingCoordinates(typing_extensions.TypedDict, total=False): +class BuildingCoordinates(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class Buildings(typing_extensions.TypedDict, total=False): +class Buildings(typing.TypedDict, total=False): buildings: _list[Building] etag: str kind: str nextPageToken: str @typing.type_check_only -class ByteUsage(typing_extensions.TypedDict, total=False): +class ByteUsage(typing.TypedDict, total=False): capacityBytes: str usedBytes: str @typing.type_check_only -class CalendarResource(typing_extensions.TypedDict, total=False): +class CalendarResource(typing.TypedDict, total=False): buildingId: str capacity: int etags: str @@ -173,23 +171,23 @@ class CalendarResource(typing_extensions.TypedDict, total=False): userVisibleDescription: str @typing.type_check_only -class CalendarResources(typing_extensions.TypedDict, total=False): +class CalendarResources(typing.TypedDict, total=False): etag: str items: _list[CalendarResource] kind: str nextPageToken: str @typing.type_check_only -class ChangeChromeOsDeviceStatusResult(typing_extensions.TypedDict, total=False): +class ChangeChromeOsDeviceStatusResult(typing.TypedDict, total=False): deviceId: str error: Status response: ChangeChromeOsDeviceStatusSucceeded @typing.type_check_only -class ChangeChromeOsDeviceStatusSucceeded(typing_extensions.TypedDict, total=False): ... +class ChangeChromeOsDeviceStatusSucceeded(typing.TypedDict, total=False): ... @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): address: str expiration: str id: str @@ -202,7 +200,7 @@ class Channel(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ChromeOsDevice(typing_extensions.TypedDict, total=False): +class ChromeOsDevice(typing.TypedDict, total=False): activeTimeRanges: _list[dict[str, typing.Any]] annotatedAssetId: str annotatedLocation: str @@ -212,12 +210,10 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False): backlightInfo: _list[BacklightInfo] bluetoothAdapterInfo: _list[BluetoothAdapterInfo] bootMode: str - chromeOsType: typing_extensions.Literal[ - "chromeOsTypeUnspecified", "chromeOsFlex", "chromeOs" - ] + chromeOsType: typing.Literal["chromeOsTypeUnspecified", "chromeOsFlex", "chromeOs"] cpuInfo: _list[dict[str, typing.Any]] cpuStatusReports: _list[dict[str, typing.Any]] - deprovisionReason: typing_extensions.Literal[ + deprovisionReason: typing.Literal[ "DEPROVISION_REASON_UNSPECIFIED", "DEPROVISION_REASON_SAME_MODEL_REPLACEMENT", "DEPROVISION_REASON_UPGRADE", @@ -232,7 +228,7 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False): ] deviceFiles: _list[dict[str, typing.Any]] deviceId: str - deviceLicenseType: typing_extensions.Literal[ + deviceLicenseType: typing.Literal[ "deviceLicenseTypeUnspecified", "enterprise", "enterpriseUpgrade", @@ -271,7 +267,7 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False): orgUnitPath: str osUpdateStatus: OsUpdateStatus osVersion: str - osVersionCompliance: typing_extensions.Literal[ + osVersionCompliance: typing.Literal[ "complianceUnspecified", "compliant", "pending", "notCompliant" ] platformVersion: str @@ -286,37 +282,37 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False): willAutoRenew: bool @typing.type_check_only -class ChromeOsDeviceAction(typing_extensions.TypedDict, total=False): +class ChromeOsDeviceAction(typing.TypedDict, total=False): action: str deprovisionReason: str @typing.type_check_only -class ChromeOsDevices(typing_extensions.TypedDict, total=False): +class ChromeOsDevices(typing.TypedDict, total=False): chromeosdevices: _list[ChromeOsDevice] etag: str kind: str nextPageToken: str @typing.type_check_only -class ChromeOsMoveDevicesToOu(typing_extensions.TypedDict, total=False): +class ChromeOsMoveDevicesToOu(typing.TypedDict, total=False): deviceIds: _list[str] @typing.type_check_only -class CountChromeOsDevicesResponse(typing_extensions.TypedDict, total=False): +class CountChromeOsDevicesResponse(typing.TypedDict, total=False): count: str @typing.type_check_only -class CreatePrintServerRequest(typing_extensions.TypedDict, total=False): +class CreatePrintServerRequest(typing.TypedDict, total=False): parent: str printServer: PrintServer @typing.type_check_only -class CreatePrinterRequest(typing_extensions.TypedDict, total=False): +class CreatePrinterRequest(typing.TypedDict, total=False): parent: str printer: Printer @typing.type_check_only -class Customer(typing_extensions.TypedDict, total=False): +class Customer(typing.TypedDict, total=False): alternateEmail: str customerCreationTime: str customerDomain: str @@ -328,7 +324,7 @@ class Customer(typing_extensions.TypedDict, total=False): postalAddress: CustomerPostalAddress @typing.type_check_only -class CustomerPostalAddress(typing_extensions.TypedDict, total=False): +class CustomerPostalAddress(typing.TypedDict, total=False): addressLine1: str addressLine2: str addressLine3: str @@ -340,13 +336,13 @@ class CustomerPostalAddress(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class DirectoryChromeosdevicesCommand(typing_extensions.TypedDict, total=False): +class DirectoryChromeosdevicesCommand(typing.TypedDict, total=False): commandExpireTime: str commandId: str commandResult: DirectoryChromeosdevicesCommandResult issueTime: str payload: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "EXPIRED", @@ -355,7 +351,7 @@ class DirectoryChromeosdevicesCommand(typing_extensions.TypedDict, total=False): "ACKED_BY_CLIENT", "EXECUTED_BY_CLIENT", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "COMMAND_TYPE_UNSPECIFIED", "REBOOT", "TAKE_A_SCREENSHOT", @@ -369,19 +365,17 @@ class DirectoryChromeosdevicesCommand(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DirectoryChromeosdevicesCommandResult(typing_extensions.TypedDict, total=False): +class DirectoryChromeosdevicesCommandResult(typing.TypedDict, total=False): commandResultPayload: str errorMessage: str executeTime: str - result: typing_extensions.Literal[ + result: typing.Literal[ "COMMAND_RESULT_TYPE_UNSPECIFIED", "IGNORED", "FAILURE", "SUCCESS" ] @typing.type_check_only -class DirectoryChromeosdevicesIssueCommandRequest( - typing_extensions.TypedDict, total=False -): - commandType: typing_extensions.Literal[ +class DirectoryChromeosdevicesIssueCommandRequest(typing.TypedDict, total=False): + commandType: typing.Literal[ "COMMAND_TYPE_UNSPECIFIED", "REBOOT", "TAKE_A_SCREENSHOT", @@ -396,18 +390,16 @@ class DirectoryChromeosdevicesIssueCommandRequest( payload: str @typing.type_check_only -class DirectoryChromeosdevicesIssueCommandResponse( - typing_extensions.TypedDict, total=False -): +class DirectoryChromeosdevicesIssueCommandResponse(typing.TypedDict, total=False): commandId: str @typing.type_check_only -class DirectoryUsersCreateGuestRequest(typing_extensions.TypedDict, total=False): +class DirectoryUsersCreateGuestRequest(typing.TypedDict, total=False): customer: str primaryGuestEmail: str @typing.type_check_only -class DomainAlias(typing_extensions.TypedDict, total=False): +class DomainAlias(typing.TypedDict, total=False): creationTime: str domainAliasName: str etag: str @@ -416,13 +408,13 @@ class DomainAlias(typing_extensions.TypedDict, total=False): verified: bool @typing.type_check_only -class DomainAliases(typing_extensions.TypedDict, total=False): +class DomainAliases(typing.TypedDict, total=False): domainAliases: _list[DomainAlias] etag: str kind: str @typing.type_check_only -class Domains(typing_extensions.TypedDict, total=False): +class Domains(typing.TypedDict, total=False): creationTime: str domainAliases: _list[DomainAlias] domainName: str @@ -432,17 +424,22 @@ class Domains(typing_extensions.TypedDict, total=False): verified: bool @typing.type_check_only -class Domains2(typing_extensions.TypedDict, total=False): +class Domains2(typing.TypedDict, total=False): domains: _list[Domains] etag: str kind: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ExternalId(typing.TypedDict, total=False): + id: str + namespace: str @typing.type_check_only -class FailureInfo(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class FailureInfo(typing.TypedDict, total=False): + errorCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -466,45 +463,46 @@ class FailureInfo(typing_extensions.TypedDict, total=False): printerId: str @typing.type_check_only -class FanInfo(typing_extensions.TypedDict, total=False): +class FanInfo(typing.TypedDict, total=False): speedRpm: int @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): etags: str kind: str name: str @typing.type_check_only -class FeatureInstance(typing_extensions.TypedDict, total=False): +class FeatureInstance(typing.TypedDict, total=False): feature: Feature @typing.type_check_only -class FeatureRename(typing_extensions.TypedDict, total=False): +class FeatureRename(typing.TypedDict, total=False): newName: str @typing.type_check_only -class Features(typing_extensions.TypedDict, total=False): +class Features(typing.TypedDict, total=False): etag: str features: _list[Feature] kind: str nextPageToken: str @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): adminCreated: bool aliases: _list[str] description: str directMembersCount: str email: str etag: str + externalIds: _list[ExternalId] id: str kind: str name: str nonEditableAliases: _list[str] @typing.type_check_only -class GroupAlias(typing_extensions.TypedDict, total=False): +class GroupAlias(typing.TypedDict, total=False): alias: str etag: str id: str @@ -512,33 +510,33 @@ class GroupAlias(typing_extensions.TypedDict, total=False): primaryEmail: str @typing.type_check_only -class Groups(typing_extensions.TypedDict, total=False): +class Groups(typing.TypedDict, total=False): etag: str groups: _list[Group] kind: str nextPageToken: str @typing.type_check_only -class GuestAccountInfo(typing_extensions.TypedDict, total=False): +class GuestAccountInfo(typing.TypedDict, total=False): primaryGuestEmail: str @typing.type_check_only -class ListPrintServersResponse(typing_extensions.TypedDict, total=False): +class ListPrintServersResponse(typing.TypedDict, total=False): nextPageToken: str printServers: _list[PrintServer] @typing.type_check_only -class ListPrinterModelsResponse(typing_extensions.TypedDict, total=False): +class ListPrinterModelsResponse(typing.TypedDict, total=False): nextPageToken: str printerModels: _list[PrinterModel] @typing.type_check_only -class ListPrintersResponse(typing_extensions.TypedDict, total=False): +class ListPrintersResponse(typing.TypedDict, total=False): nextPageToken: str printers: _list[Printer] @typing.type_check_only -class Member(typing_extensions.TypedDict, total=False): +class Member(typing.TypedDict, total=False): delivery_settings: str email: str etag: str @@ -549,18 +547,18 @@ class Member(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Members(typing_extensions.TypedDict, total=False): +class Members(typing.TypedDict, total=False): etag: str kind: str members: _list[Member] nextPageToken: str @typing.type_check_only -class MembersHasMember(typing_extensions.TypedDict, total=False): +class MembersHasMember(typing.TypedDict, total=False): isMember: bool @typing.type_check_only -class MobileDevice(typing_extensions.TypedDict, total=False): +class MobileDevice(typing.TypedDict, total=False): adbStatus: bool applications: _list[dict[str, typing.Any]] basebandVersion: str @@ -603,18 +601,18 @@ class MobileDevice(typing_extensions.TypedDict, total=False): wifiMacAddress: str @typing.type_check_only -class MobileDeviceAction(typing_extensions.TypedDict, total=False): +class MobileDeviceAction(typing.TypedDict, total=False): action: str @typing.type_check_only -class MobileDevices(typing_extensions.TypedDict, total=False): +class MobileDevices(typing.TypedDict, total=False): etag: str kind: str mobiledevices: _list[MobileDevice] nextPageToken: str @typing.type_check_only -class OrgUnit(typing_extensions.TypedDict, total=False): +class OrgUnit(typing.TypedDict, total=False): blockInheritance: bool description: str etag: str @@ -626,15 +624,15 @@ class OrgUnit(typing_extensions.TypedDict, total=False): parentOrgUnitPath: str @typing.type_check_only -class OrgUnits(typing_extensions.TypedDict, total=False): +class OrgUnits(typing.TypedDict, total=False): etag: str kind: str organizationUnits: _list[OrgUnit] @typing.type_check_only -class OsUpdateStatus(typing_extensions.TypedDict, total=False): +class OsUpdateStatus(typing.TypedDict, total=False): rebootTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "updateStateUnspecified", "updateStateNotStarted", "updateStateDownloadInProgress", @@ -646,7 +644,7 @@ class OsUpdateStatus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PrintServer(typing_extensions.TypedDict, total=False): +class PrintServer(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -656,8 +654,8 @@ class PrintServer(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class PrintServerFailureInfo(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class PrintServerFailureInfo(typing.TypedDict, total=False): + errorCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -681,7 +679,7 @@ class PrintServerFailureInfo(typing_extensions.TypedDict, total=False): printServerId: str @typing.type_check_only -class Printer(typing_extensions.TypedDict, total=False): +class Printer(typing.TypedDict, total=False): auxiliaryMessages: _list[AuxiliaryMessage] createTime: str description: str @@ -694,13 +692,13 @@ class Printer(typing_extensions.TypedDict, total=False): useDriverlessConfig: bool @typing.type_check_only -class PrinterModel(typing_extensions.TypedDict, total=False): +class PrinterModel(typing.TypedDict, total=False): displayName: str makeAndModel: str manufacturer: str @typing.type_check_only -class Privilege(typing_extensions.TypedDict, total=False): +class Privilege(typing.TypedDict, total=False): childPrivileges: _list[Privilege] etag: str isOuScopable: bool @@ -710,13 +708,13 @@ class Privilege(typing_extensions.TypedDict, total=False): serviceName: str @typing.type_check_only -class Privileges(typing_extensions.TypedDict, total=False): +class Privileges(typing.TypedDict, total=False): etag: str items: _list[Privilege] kind: str @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): +class Role(typing.TypedDict, total=False): etag: str isSuperAdminRole: bool isSystemRole: bool @@ -727,9 +725,9 @@ class Role(typing_extensions.TypedDict, total=False): rolePrivileges: _list[dict[str, typing.Any]] @typing.type_check_only -class RoleAssignment(typing_extensions.TypedDict, total=False): +class RoleAssignment(typing.TypedDict, total=False): assignedTo: str - assigneeType: typing_extensions.Literal["user", "group"] + assigneeType: typing.Literal["user", "group"] condition: str etag: str kind: str @@ -739,21 +737,21 @@ class RoleAssignment(typing_extensions.TypedDict, total=False): scopeType: str @typing.type_check_only -class RoleAssignments(typing_extensions.TypedDict, total=False): +class RoleAssignments(typing.TypedDict, total=False): etag: str items: _list[RoleAssignment] kind: str nextPageToken: str @typing.type_check_only -class Roles(typing_extensions.TypedDict, total=False): +class Roles(typing.TypedDict, total=False): etag: str items: _list[Role] kind: str nextPageToken: str @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): displayName: str etag: str fields: _list[SchemaFieldSpec] @@ -762,7 +760,7 @@ class Schema(typing_extensions.TypedDict, total=False): schemaName: str @typing.type_check_only -class SchemaFieldSpec(typing_extensions.TypedDict, total=False): +class SchemaFieldSpec(typing.TypedDict, total=False): displayName: str etag: str fieldId: str @@ -775,19 +773,19 @@ class SchemaFieldSpec(typing_extensions.TypedDict, total=False): readAccessType: str @typing.type_check_only -class Schemas(typing_extensions.TypedDict, total=False): +class Schemas(typing.TypedDict, total=False): etag: str kind: str schemas: _list[Schema] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Token(typing_extensions.TypedDict, total=False): +class Token(typing.TypedDict, total=False): anonymous: bool clientId: str displayText: str @@ -798,13 +796,13 @@ class Token(typing_extensions.TypedDict, total=False): userKey: str @typing.type_check_only -class Tokens(typing_extensions.TypedDict, total=False): +class Tokens(typing.TypedDict, total=False): etag: str items: _list[Token] kind: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): addresses: typing.Any agreedToTerms: bool aliases: _list[str] @@ -857,12 +855,12 @@ class User(typing_extensions.TypedDict, total=False): websites: typing.Any @typing.type_check_only -class UserAbout(typing_extensions.TypedDict, total=False): +class UserAbout(typing.TypedDict, total=False): contentType: str value: str @typing.type_check_only -class UserAddress(typing_extensions.TypedDict, total=False): +class UserAddress(typing.TypedDict, total=False): country: str countryCode: str customType: str @@ -878,7 +876,7 @@ class UserAddress(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class UserAlias(typing_extensions.TypedDict, total=False): +class UserAlias(typing.TypedDict, total=False): alias: str etag: str id: str @@ -889,7 +887,7 @@ class UserAlias(typing_extensions.TypedDict, total=False): class UserCustomProperties(dict[str, typing.Any]): ... @typing.type_check_only -class UserEmail(typing_extensions.TypedDict, total=False): +class UserEmail(typing.TypedDict, total=False): address: str customType: str primary: bool @@ -897,19 +895,19 @@ class UserEmail(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class UserExternalId(typing_extensions.TypedDict, total=False): +class UserExternalId(typing.TypedDict, total=False): customType: str type: str value: str @typing.type_check_only -class UserGender(typing_extensions.TypedDict, total=False): +class UserGender(typing.TypedDict, total=False): addressMeAs: str customGender: str type: str @typing.type_check_only -class UserIm(typing_extensions.TypedDict, total=False): +class UserIm(typing.TypedDict, total=False): customProtocol: str customType: str im: str @@ -918,19 +916,19 @@ class UserIm(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class UserKeyword(typing_extensions.TypedDict, total=False): +class UserKeyword(typing.TypedDict, total=False): customType: str type: str value: str @typing.type_check_only -class UserLanguage(typing_extensions.TypedDict, total=False): +class UserLanguage(typing.TypedDict, total=False): customLanguage: str languageCode: str preference: str @typing.type_check_only -class UserLocation(typing_extensions.TypedDict, total=False): +class UserLocation(typing.TypedDict, total=False): area: str buildingId: str customType: str @@ -940,18 +938,18 @@ class UserLocation(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class UserMakeAdmin(typing_extensions.TypedDict, total=False): +class UserMakeAdmin(typing.TypedDict, total=False): status: bool @typing.type_check_only -class UserName(typing_extensions.TypedDict, total=False): +class UserName(typing.TypedDict, total=False): displayName: str familyName: str fullName: str givenName: str @typing.type_check_only -class UserOrganization(typing_extensions.TypedDict, total=False): +class UserOrganization(typing.TypedDict, total=False): costCenter: str customType: str department: str @@ -966,14 +964,14 @@ class UserOrganization(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class UserPhone(typing_extensions.TypedDict, total=False): +class UserPhone(typing.TypedDict, total=False): customType: str primary: bool type: str value: str @typing.type_check_only -class UserPhoto(typing_extensions.TypedDict, total=False): +class UserPhoto(typing.TypedDict, total=False): etag: str height: int id: str @@ -984,7 +982,7 @@ class UserPhoto(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class UserPosixAccount(typing_extensions.TypedDict, total=False): +class UserPosixAccount(typing.TypedDict, total=False): accountId: str gecos: str gid: str @@ -997,30 +995,30 @@ class UserPosixAccount(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class UserRelation(typing_extensions.TypedDict, total=False): +class UserRelation(typing.TypedDict, total=False): customType: str type: str value: str @typing.type_check_only -class UserSshPublicKey(typing_extensions.TypedDict, total=False): +class UserSshPublicKey(typing.TypedDict, total=False): expirationTimeUsec: str fingerprint: str key: str @typing.type_check_only -class UserUndelete(typing_extensions.TypedDict, total=False): +class UserUndelete(typing.TypedDict, total=False): orgUnitPath: str @typing.type_check_only -class UserWebsite(typing_extensions.TypedDict, total=False): +class UserWebsite(typing.TypedDict, total=False): customType: str primary: bool type: str value: str @typing.type_check_only -class Users(typing_extensions.TypedDict, total=False): +class Users(typing.TypedDict, total=False): etag: str kind: str nextPageToken: str @@ -1028,14 +1026,14 @@ class Users(typing_extensions.TypedDict, total=False): users: _list[User] @typing.type_check_only -class VerificationCode(typing_extensions.TypedDict, total=False): +class VerificationCode(typing.TypedDict, total=False): etag: str kind: str userId: str verificationCode: str @typing.type_check_only -class VerificationCodes(typing_extensions.TypedDict, total=False): +class VerificationCodes(typing.TypedDict, total=False): etag: str items: _list[VerificationCode] kind: str diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi index 65223b764..fdc5a11b1 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -19,7 +18,7 @@ class ReportsResource(googleapiclient.discovery.Resource): self, *, userKey: str, - applicationName: typing_extensions.Literal[ + applicationName: typing.Literal[ "access_transparency", "admin", "calendar", @@ -60,10 +59,13 @@ class ReportsResource(googleapiclient.discovery.Resource): "graduation", "voice", "chrome_sync", + "workspace_studio", ], actorIpAddress: str | None = ..., + agentInfoFilter: str | None = ..., applicationInfoFilter: str | None = ..., customerId: str | None = ..., + deviceFilter: str | None = ..., endTime: str | None = ..., eventName: str | None = ..., filters: str | None = ..., @@ -85,7 +87,7 @@ class ReportsResource(googleapiclient.discovery.Resource): self, *, userKey: str, - applicationName: typing_extensions.Literal[ + applicationName: typing.Literal[ "access_transparency", "admin", "calendar", @@ -151,7 +153,7 @@ class ReportsResource(googleapiclient.discovery.Resource): def get( self, *, - entityType: typing_extensions.Literal["gplus_communities"], + entityType: typing.Literal["gplus_communities"], entityKey: str, date: str, customerId: str | None = ..., diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi index a21ba91a2..eaf2c7680 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi @@ -1,50 +1,67 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Activities(typing_extensions.TypedDict, total=False): +class Activities(typing.TypedDict, total=False): etag: str items: _list[Activity] kind: str nextPageToken: str @typing.type_check_only -class Activity(typing_extensions.TypedDict, total=False): +class Activity(typing.TypedDict, total=False): actor: dict[str, typing.Any] etag: str events: _list[dict[str, typing.Any]] id: dict[str, typing.Any] ipAddress: str + isAgenticAction: bool kind: str networkInfo: ActivityNetworkInfo ownerDomain: str resourceDetails: _list[ResourceDetails] + userDeviceInfo: ActivityUserDeviceInfo @typing.type_check_only -class ActivityEventsStatus(typing_extensions.TypedDict, total=False): +class ActivityEventsStatus(typing.TypedDict, total=False): errorCode: str errorMessage: str eventStatus: str httpStatusCode: int @typing.type_check_only -class ActivityNetworkInfo(typing_extensions.TypedDict, total=False): +class ActivityNetworkInfo(typing.TypedDict, total=False): ipAsn: _list[int] regionCode: str subdivisionCode: str @typing.type_check_only -class AppliedLabel(typing_extensions.TypedDict, total=False): +class ActivityUserDeviceInfo(typing.TypedDict, total=False): + deviceId: str + deviceOsVersion: str + deviceType: str + +@typing.type_check_only +class AgentAttributionInfo(typing.TypedDict, total=False): + agentId: str + agentName: str + agentOwner: AgentAttributionInfoAgentOwner + agentType: str + +@typing.type_check_only +class AgentAttributionInfoAgentOwner(typing.TypedDict, total=False): + email: str + +@typing.type_check_only +class AppliedLabel(typing.TypedDict, total=False): fieldValues: _list[FieldValue] id: str reason: Reason title: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): address: str expiration: str id: str @@ -57,17 +74,17 @@ class Channel(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class CustomerIdentity(typing_extensions.TypedDict, total=False): +class CustomerIdentity(typing.TypedDict, total=False): id: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class FieldValue(typing_extensions.TypedDict, total=False): +class FieldValue(typing.TypedDict, total=False): dateValue: Date displayName: str id: str @@ -84,34 +101,34 @@ class FieldValue(typing_extensions.TypedDict, total=False): userValue: FieldValueUserValue @typing.type_check_only -class FieldValueSelectionListValue(typing_extensions.TypedDict, total=False): +class FieldValueSelectionListValue(typing.TypedDict, total=False): values: _list[FieldValueSelectionValue] @typing.type_check_only -class FieldValueSelectionValue(typing_extensions.TypedDict, total=False): +class FieldValueSelectionValue(typing.TypedDict, total=False): badged: bool displayName: str id: str @typing.type_check_only -class FieldValueTextListValue(typing_extensions.TypedDict, total=False): +class FieldValueTextListValue(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class FieldValueUserListValue(typing_extensions.TypedDict, total=False): +class FieldValueUserListValue(typing.TypedDict, total=False): values: _list[FieldValueUserValue] @typing.type_check_only -class FieldValueUserValue(typing_extensions.TypedDict, total=False): +class FieldValueUserValue(typing.TypedDict, total=False): email: str @typing.type_check_only -class GroupIdentity(typing_extensions.TypedDict, total=False): +class GroupIdentity(typing.TypedDict, total=False): groupEmail: str id: str @typing.type_check_only -class NestedParameter(typing_extensions.TypedDict, total=False): +class NestedParameter(typing.TypedDict, total=False): boolValue: bool intValue: str multiBoolValue: _list[bool] @@ -121,22 +138,23 @@ class NestedParameter(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class OwnerDetails(typing_extensions.TypedDict, total=False): +class OwnerDetails(typing.TypedDict, total=False): ownerIdentity: _list[OwnerIdentity] ownerType: str @typing.type_check_only -class OwnerIdentity(typing_extensions.TypedDict, total=False): +class OwnerIdentity(typing.TypedDict, total=False): customerIdentity: CustomerIdentity groupIdentity: GroupIdentity + sharedDriveIdentity: SharedDriveIdentity userIdentity: UserIdentity @typing.type_check_only -class Reason(typing_extensions.TypedDict, total=False): +class Reason(typing.TypedDict, total=False): reasonType: str @typing.type_check_only -class ResourceDetails(typing_extensions.TypedDict, total=False): +class ResourceDetails(typing.TypedDict, total=False): appliedLabels: _list[AppliedLabel] id: str ownerDetails: OwnerDetails @@ -145,7 +163,12 @@ class ResourceDetails(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class UsageReport(typing_extensions.TypedDict, total=False): +class SharedDriveIdentity(typing.TypedDict, total=False): + id: str + sharedDriveName: str + +@typing.type_check_only +class UsageReport(typing.TypedDict, total=False): date: str entity: dict[str, typing.Any] etag: str @@ -153,7 +176,7 @@ class UsageReport(typing_extensions.TypedDict, total=False): parameters: _list[dict[str, typing.Any]] @typing.type_check_only -class UsageReports(typing_extensions.TypedDict, total=False): +class UsageReports(typing.TypedDict, total=False): etag: str kind: str nextPageToken: str @@ -161,6 +184,6 @@ class UsageReports(typing_extensions.TypedDict, total=False): warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class UserIdentity(typing_extensions.TypedDict, total=False): +class UserIdentity(typing.TypedDict, total=False): id: str userEmail: str diff --git a/googleapiclient-stubs/_apis/admob/v1/resources.pyi b/googleapiclient-stubs/_apis/admob/v1/resources.pyi index 0d6c1c30f..bc5a2584e 100644 --- a/googleapiclient-stubs/_apis/admob/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admob/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/admob/v1/schemas.pyi b/googleapiclient-stubs/_apis/admob/v1/schemas.pyi index 4942c56ec..8a977ad80 100644 --- a/googleapiclient-stubs/_apis/admob/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admob/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdUnit(typing_extensions.TypedDict, total=False): +class AdUnit(typing.TypedDict, total=False): adFormat: str adTypes: _list[str] adUnitId: str @@ -14,8 +12,8 @@ class AdUnit(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class App(typing_extensions.TypedDict, total=False): - appApprovalState: typing_extensions.Literal[ +class App(typing.TypedDict, total=False): + appApprovalState: typing.Literal[ "APP_APPROVAL_STATE_UNSPECIFIED", "ACTION_REQUIRED", "IN_REVIEW", "APPROVED" ] appId: str @@ -25,71 +23,71 @@ class App(typing_extensions.TypedDict, total=False): platform: str @typing.type_check_only -class AppLinkedAppInfo(typing_extensions.TypedDict, total=False): +class AppLinkedAppInfo(typing.TypedDict, total=False): appStoreId: str displayName: str @typing.type_check_only -class AppManualAppInfo(typing_extensions.TypedDict, total=False): +class AppManualAppInfo(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class GenerateMediationReportRequest(typing_extensions.TypedDict, total=False): +class GenerateMediationReportRequest(typing.TypedDict, total=False): reportSpec: MediationReportSpec @typing.type_check_only -class GenerateMediationReportResponse(typing_extensions.TypedDict, total=False): +class GenerateMediationReportResponse(typing.TypedDict, total=False): footer: ReportFooter header: ReportHeader row: ReportRow @typing.type_check_only -class GenerateNetworkReportRequest(typing_extensions.TypedDict, total=False): +class GenerateNetworkReportRequest(typing.TypedDict, total=False): reportSpec: NetworkReportSpec @typing.type_check_only -class GenerateNetworkReportResponse(typing_extensions.TypedDict, total=False): +class GenerateNetworkReportResponse(typing.TypedDict, total=False): footer: ReportFooter header: ReportHeader row: ReportRow @typing.type_check_only -class ListAdUnitsResponse(typing_extensions.TypedDict, total=False): +class ListAdUnitsResponse(typing.TypedDict, total=False): adUnits: _list[AdUnit] nextPageToken: str @typing.type_check_only -class ListAppsResponse(typing_extensions.TypedDict, total=False): +class ListAppsResponse(typing.TypedDict, total=False): apps: _list[App] nextPageToken: str @typing.type_check_only -class ListPublisherAccountsResponse(typing_extensions.TypedDict, total=False): +class ListPublisherAccountsResponse(typing.TypedDict, total=False): account: _list[PublisherAccount] nextPageToken: str @typing.type_check_only -class LocalizationSettings(typing_extensions.TypedDict, total=False): +class LocalizationSettings(typing.TypedDict, total=False): currencyCode: str languageCode: str @typing.type_check_only -class MediationReportSpec(typing_extensions.TypedDict, total=False): +class MediationReportSpec(typing.TypedDict, total=False): dateRange: DateRange dimensionFilters: _list[MediationReportSpecDimensionFilter] dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -111,7 +109,7 @@ class MediationReportSpec(typing_extensions.TypedDict, total=False): localizationSettings: LocalizationSettings maxReportRows: int metrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -127,8 +125,8 @@ class MediationReportSpec(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class MediationReportSpecDimensionFilter(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class MediationReportSpecDimensionFilter(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -149,8 +147,8 @@ class MediationReportSpecDimensionFilter(typing_extensions.TypedDict, total=Fals matchesAny: StringList @typing.type_check_only -class MediationReportSpecSortCondition(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class MediationReportSpecSortCondition(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -168,7 +166,7 @@ class MediationReportSpecSortCondition(typing_extensions.TypedDict, total=False) "APP_VERSION_NAME", "SERVING_RESTRICTION", ] - metric: typing_extensions.Literal[ + metric: typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -179,16 +177,14 @@ class MediationReportSpecSortCondition(typing_extensions.TypedDict, total=False) "MATCH_RATE", "OBSERVED_ECPM", ] - order: typing_extensions.Literal[ - "SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] + order: typing.Literal["SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class NetworkReportSpec(typing_extensions.TypedDict, total=False): +class NetworkReportSpec(typing.TypedDict, total=False): dateRange: DateRange dimensionFilters: _list[NetworkReportSpecDimensionFilter] dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -208,7 +204,7 @@ class NetworkReportSpec(typing_extensions.TypedDict, total=False): localizationSettings: LocalizationSettings maxReportRows: int metrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -225,8 +221,8 @@ class NetworkReportSpec(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class NetworkReportSpecDimensionFilter(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class NetworkReportSpecDimensionFilter(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -245,8 +241,8 @@ class NetworkReportSpecDimensionFilter(typing_extensions.TypedDict, total=False) matchesAny: StringList @typing.type_check_only -class NetworkReportSpecSortCondition(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class NetworkReportSpecSortCondition(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -262,7 +258,7 @@ class NetworkReportSpecSortCondition(typing_extensions.TypedDict, total=False): "APP_VERSION_NAME", "SERVING_RESTRICTION", ] - metric: typing_extensions.Literal[ + metric: typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -274,48 +270,46 @@ class NetworkReportSpecSortCondition(typing_extensions.TypedDict, total=False): "MATCH_RATE", "SHOW_RATE", ] - order: typing_extensions.Literal[ - "SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] + order: typing.Literal["SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class PublisherAccount(typing_extensions.TypedDict, total=False): +class PublisherAccount(typing.TypedDict, total=False): currencyCode: str name: str publisherId: str reportingTimeZone: str @typing.type_check_only -class ReportFooter(typing_extensions.TypedDict, total=False): +class ReportFooter(typing.TypedDict, total=False): matchingRowCount: str warnings: _list[ReportWarning] @typing.type_check_only -class ReportHeader(typing_extensions.TypedDict, total=False): +class ReportHeader(typing.TypedDict, total=False): dateRange: DateRange localizationSettings: LocalizationSettings reportingTimeZone: str @typing.type_check_only -class ReportRow(typing_extensions.TypedDict, total=False): +class ReportRow(typing.TypedDict, total=False): dimensionValues: dict[str, typing.Any] metricValues: dict[str, typing.Any] @typing.type_check_only -class ReportRowDimensionValue(typing_extensions.TypedDict, total=False): +class ReportRowDimensionValue(typing.TypedDict, total=False): displayLabel: str value: str @typing.type_check_only -class ReportRowMetricValue(typing_extensions.TypedDict, total=False): +class ReportRowMetricValue(typing.TypedDict, total=False): doubleValue: float integerValue: str microsValue: str @typing.type_check_only -class ReportWarning(typing_extensions.TypedDict, total=False): +class ReportWarning(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "DATA_BEFORE_ACCOUNT_TIMEZONE_CHANGE", "DATA_DELAYED", @@ -324,5 +318,5 @@ class ReportWarning(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StringList(typing_extensions.TypedDict, total=False): +class StringList(typing.TypedDict, total=False): values: _list[str] diff --git a/googleapiclient-stubs/_apis/admob/v1beta/resources.pyi b/googleapiclient-stubs/_apis/admob/v1beta/resources.pyi index d9a2c0b0c..5e9eda9e2 100644 --- a/googleapiclient-stubs/_apis/admob/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/admob/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/admob/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/admob/v1beta/schemas.pyi index b5ae946fd..c7227d1ff 100644 --- a/googleapiclient-stubs/_apis/admob/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/admob/v1beta/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdSource(typing_extensions.TypedDict, total=False): +class AdSource(typing.TypedDict, total=False): adSourceId: str name: str title: str @typing.type_check_only -class AdUnit(typing_extensions.TypedDict, total=False): +class AdUnit(typing.TypedDict, total=False): adFormat: str adTypes: _list[str] adUnitId: str @@ -21,20 +19,20 @@ class AdUnit(typing_extensions.TypedDict, total=False): rewardSettings: AdUnitRewardSettings @typing.type_check_only -class AdUnitMapping(typing_extensions.TypedDict, total=False): +class AdUnitMapping(typing.TypedDict, total=False): adUnitConfigurations: dict[str, typing.Any] adapterId: str displayName: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED"] @typing.type_check_only -class AdUnitRewardSettings(typing_extensions.TypedDict, total=False): +class AdUnitRewardSettings(typing.TypedDict, total=False): unitAmount: str unitType: str @typing.type_check_only -class Adapter(typing_extensions.TypedDict, total=False): +class Adapter(typing.TypedDict, total=False): adapterConfigMetadata: _list[AdapterAdapterConfigMetadata] adapterId: str formats: _list[str] @@ -43,14 +41,14 @@ class Adapter(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AdapterAdapterConfigMetadata(typing_extensions.TypedDict, total=False): +class AdapterAdapterConfigMetadata(typing.TypedDict, total=False): adapterConfigMetadataId: str adapterConfigMetadataLabel: str isRequired: bool @typing.type_check_only -class App(typing_extensions.TypedDict, total=False): - appApprovalState: typing_extensions.Literal[ +class App(typing.TypedDict, total=False): + appApprovalState: typing.Literal[ "APP_APPROVAL_STATE_UNSPECIFIED", "ACTION_REQUIRED", "IN_REVIEW", "APPROVED" ] appId: str @@ -60,9 +58,9 @@ class App(typing_extensions.TypedDict, total=False): platform: str @typing.type_check_only -class AppLinkedAppInfo(typing_extensions.TypedDict, total=False): +class AppLinkedAppInfo(typing.TypedDict, total=False): androidAppStores: _list[ - typing_extensions.Literal[ + typing.Literal[ "ANDROID_APP_STORE_UNSPECIFIED", "GOOGLE_PLAY_APP_STORE", "AMAZON_APP_STORE", @@ -76,22 +74,22 @@ class AppLinkedAppInfo(typing_extensions.TypedDict, total=False): displayName: str @typing.type_check_only -class AppManualAppInfo(typing_extensions.TypedDict, total=False): +class AppManualAppInfo(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class BatchCreateAdUnitMappingsRequest(typing_extensions.TypedDict, total=False): +class BatchCreateAdUnitMappingsRequest(typing.TypedDict, total=False): requests: _list[CreateAdUnitMappingRequest] @typing.type_check_only -class BatchCreateAdUnitMappingsResponse(typing_extensions.TypedDict, total=False): +class BatchCreateAdUnitMappingsResponse(typing.TypedDict, total=False): adUnitMappings: _list[AdUnitMapping] @typing.type_check_only -class CampaignReportSpec(typing_extensions.TypedDict, total=False): +class CampaignReportSpec(typing.TypedDict, total=False): dateRange: DateRange dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "CAMPAIGN_ID", @@ -107,7 +105,7 @@ class CampaignReportSpec(typing_extensions.TypedDict, total=False): ] languageCode: str metrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNSPECIFIED", "IMPRESSIONS", "CLICKS", @@ -120,91 +118,91 @@ class CampaignReportSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreateAdUnitMappingRequest(typing_extensions.TypedDict, total=False): +class CreateAdUnitMappingRequest(typing.TypedDict, total=False): adUnitMapping: AdUnitMapping parent: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class GenerateCampaignReportRequest(typing_extensions.TypedDict, total=False): +class GenerateCampaignReportRequest(typing.TypedDict, total=False): reportSpec: CampaignReportSpec @typing.type_check_only -class GenerateCampaignReportResponse(typing_extensions.TypedDict, total=False): +class GenerateCampaignReportResponse(typing.TypedDict, total=False): rows: _list[ReportRow] @typing.type_check_only -class GenerateMediationReportRequest(typing_extensions.TypedDict, total=False): +class GenerateMediationReportRequest(typing.TypedDict, total=False): reportSpec: MediationReportSpec @typing.type_check_only -class GenerateMediationReportResponse(typing_extensions.TypedDict, total=False): +class GenerateMediationReportResponse(typing.TypedDict, total=False): footer: ReportFooter header: ReportHeader row: ReportRow @typing.type_check_only -class GenerateNetworkReportRequest(typing_extensions.TypedDict, total=False): +class GenerateNetworkReportRequest(typing.TypedDict, total=False): reportSpec: NetworkReportSpec @typing.type_check_only -class GenerateNetworkReportResponse(typing_extensions.TypedDict, total=False): +class GenerateNetworkReportResponse(typing.TypedDict, total=False): footer: ReportFooter header: ReportHeader row: ReportRow @typing.type_check_only -class ListAdSourcesResponse(typing_extensions.TypedDict, total=False): +class ListAdSourcesResponse(typing.TypedDict, total=False): adSources: _list[AdSource] nextPageToken: str @typing.type_check_only -class ListAdUnitMappingsResponse(typing_extensions.TypedDict, total=False): +class ListAdUnitMappingsResponse(typing.TypedDict, total=False): adUnitMappings: _list[AdUnitMapping] nextPageToken: str @typing.type_check_only -class ListAdUnitsResponse(typing_extensions.TypedDict, total=False): +class ListAdUnitsResponse(typing.TypedDict, total=False): adUnits: _list[AdUnit] nextPageToken: str @typing.type_check_only -class ListAdaptersResponse(typing_extensions.TypedDict, total=False): +class ListAdaptersResponse(typing.TypedDict, total=False): adapters: _list[Adapter] nextPageToken: str @typing.type_check_only -class ListAppsResponse(typing_extensions.TypedDict, total=False): +class ListAppsResponse(typing.TypedDict, total=False): apps: _list[App] nextPageToken: str @typing.type_check_only -class ListMediationGroupsResponse(typing_extensions.TypedDict, total=False): +class ListMediationGroupsResponse(typing.TypedDict, total=False): mediationGroups: _list[MediationGroup] nextPageToken: str @typing.type_check_only -class ListPublisherAccountsResponse(typing_extensions.TypedDict, total=False): +class ListPublisherAccountsResponse(typing.TypedDict, total=False): account: _list[PublisherAccount] nextPageToken: str @typing.type_check_only -class LocalizationSettings(typing_extensions.TypedDict, total=False): +class LocalizationSettings(typing.TypedDict, total=False): currencyCode: str languageCode: str @typing.type_check_only -class MediationAbExperiment(typing_extensions.TypedDict, total=False): +class MediationAbExperiment(typing.TypedDict, total=False): controlMediationLines: _list[MediationAbExperimentExperimentMediationLine] displayName: str endTime: str @@ -212,12 +210,10 @@ class MediationAbExperiment(typing_extensions.TypedDict, total=False): mediationGroupId: str name: str startTime: str - state: typing_extensions.Literal[ - "EXPERIMENT_STATE_UNSPECIFIED", "EXPIRED", "RUNNING", "ENDED" - ] + state: typing.Literal["EXPERIMENT_STATE_UNSPECIFIED", "EXPIRED", "RUNNING", "ENDED"] treatmentMediationLines: _list[MediationAbExperimentExperimentMediationLine] treatmentTrafficPercentage: str - variantLeader: typing_extensions.Literal[ + variantLeader: typing.Literal[ "VARIANT_LEADER_UNSPECIFIED", "CONTROL", "TREATMENT", @@ -227,55 +223,51 @@ class MediationAbExperiment(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MediationAbExperimentExperimentMediationLine( - typing_extensions.TypedDict, total=False -): +class MediationAbExperimentExperimentMediationLine(typing.TypedDict, total=False): mediationGroupLine: MediationGroupMediationGroupLine @typing.type_check_only -class MediationGroup(typing_extensions.TypedDict, total=False): +class MediationGroup(typing.TypedDict, total=False): displayName: str - mediationAbExperimentState: typing_extensions.Literal[ + mediationAbExperimentState: typing.Literal[ "EXPERIMENT_STATE_UNSPECIFIED", "RUNNING", "NOT_RUNNING" ] mediationGroupId: str mediationGroupLines: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] targeting: MediationGroupTargeting @typing.type_check_only -class MediationGroupMediationGroupLine(typing_extensions.TypedDict, total=False): +class MediationGroupMediationGroupLine(typing.TypedDict, total=False): adSourceId: str adUnitMappings: dict[str, typing.Any] cpmMicros: str - cpmMode: typing_extensions.Literal["CPM_MODE_UNSPECIFIED", "LIVE", "MANUAL", "ANO"] + cpmMode: typing.Literal["CPM_MODE_UNSPECIFIED", "LIVE", "MANUAL", "ANO"] displayName: str - experimentVariant: typing_extensions.Literal[ + experimentVariant: typing.Literal[ "VARIANT_UNSPECIFIED", "VARIANT_A", "VARIANT_B", "ORIGINAL" ] id: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "REMOVED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "REMOVED"] @typing.type_check_only -class MediationGroupTargeting(typing_extensions.TypedDict, total=False): +class MediationGroupTargeting(typing.TypedDict, total=False): adUnitIds: _list[str] excludedRegionCodes: _list[str] format: str - idfaTargeting: typing_extensions.Literal[ + idfaTargeting: typing.Literal[ "IDFA_TARGETING_UNSPECIFIED", "ALL", "AVAILABLE", "NOT_AVAILABLE" ] platform: str targetedRegionCodes: _list[str] @typing.type_check_only -class MediationReportSpec(typing_extensions.TypedDict, total=False): +class MediationReportSpec(typing.TypedDict, total=False): dateRange: DateRange dimensionFilters: _list[MediationReportSpecDimensionFilter] dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -297,7 +289,7 @@ class MediationReportSpec(typing_extensions.TypedDict, total=False): localizationSettings: LocalizationSettings maxReportRows: int metrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -313,8 +305,8 @@ class MediationReportSpec(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class MediationReportSpecDimensionFilter(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class MediationReportSpecDimensionFilter(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -335,8 +327,8 @@ class MediationReportSpecDimensionFilter(typing_extensions.TypedDict, total=Fals matchesAny: StringList @typing.type_check_only -class MediationReportSpecSortCondition(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class MediationReportSpecSortCondition(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -354,7 +346,7 @@ class MediationReportSpecSortCondition(typing_extensions.TypedDict, total=False) "APP_VERSION_NAME", "SERVING_RESTRICTION", ] - metric: typing_extensions.Literal[ + metric: typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -365,16 +357,14 @@ class MediationReportSpecSortCondition(typing_extensions.TypedDict, total=False) "MATCH_RATE", "OBSERVED_ECPM", ] - order: typing_extensions.Literal[ - "SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] + order: typing.Literal["SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class NetworkReportSpec(typing_extensions.TypedDict, total=False): +class NetworkReportSpec(typing.TypedDict, total=False): dateRange: DateRange dimensionFilters: _list[NetworkReportSpecDimensionFilter] dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -394,7 +384,7 @@ class NetworkReportSpec(typing_extensions.TypedDict, total=False): localizationSettings: LocalizationSettings maxReportRows: int metrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -411,8 +401,8 @@ class NetworkReportSpec(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class NetworkReportSpecDimensionFilter(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class NetworkReportSpecDimensionFilter(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -431,8 +421,8 @@ class NetworkReportSpecDimensionFilter(typing_extensions.TypedDict, total=False) matchesAny: StringList @typing.type_check_only -class NetworkReportSpecSortCondition(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ +class NetworkReportSpecSortCondition(typing.TypedDict, total=False): + dimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "MONTH", @@ -448,7 +438,7 @@ class NetworkReportSpecSortCondition(typing_extensions.TypedDict, total=False): "APP_VERSION_NAME", "SERVING_RESTRICTION", ] - metric: typing_extensions.Literal[ + metric: typing.Literal[ "METRIC_UNSPECIFIED", "AD_REQUESTS", "CLICKS", @@ -460,48 +450,46 @@ class NetworkReportSpecSortCondition(typing_extensions.TypedDict, total=False): "MATCH_RATE", "SHOW_RATE", ] - order: typing_extensions.Literal[ - "SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] + order: typing.Literal["SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class PublisherAccount(typing_extensions.TypedDict, total=False): +class PublisherAccount(typing.TypedDict, total=False): currencyCode: str name: str publisherId: str reportingTimeZone: str @typing.type_check_only -class ReportFooter(typing_extensions.TypedDict, total=False): +class ReportFooter(typing.TypedDict, total=False): matchingRowCount: str warnings: _list[ReportWarning] @typing.type_check_only -class ReportHeader(typing_extensions.TypedDict, total=False): +class ReportHeader(typing.TypedDict, total=False): dateRange: DateRange localizationSettings: LocalizationSettings reportingTimeZone: str @typing.type_check_only -class ReportRow(typing_extensions.TypedDict, total=False): +class ReportRow(typing.TypedDict, total=False): dimensionValues: dict[str, typing.Any] metricValues: dict[str, typing.Any] @typing.type_check_only -class ReportRowDimensionValue(typing_extensions.TypedDict, total=False): +class ReportRowDimensionValue(typing.TypedDict, total=False): displayLabel: str value: str @typing.type_check_only -class ReportRowMetricValue(typing_extensions.TypedDict, total=False): +class ReportRowMetricValue(typing.TypedDict, total=False): doubleValue: float integerValue: str microsValue: str @typing.type_check_only -class ReportWarning(typing_extensions.TypedDict, total=False): +class ReportWarning(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "DATA_BEFORE_ACCOUNT_TIMEZONE_CHANGE", "DATA_DELAYED", @@ -510,11 +498,11 @@ class ReportWarning(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StopMediationAbExperimentRequest(typing_extensions.TypedDict, total=False): - variantChoice: typing_extensions.Literal[ +class StopMediationAbExperimentRequest(typing.TypedDict, total=False): + variantChoice: typing.Literal[ "VARIANT_CHOICE_UNSPECIFIED", "VARIANT_CHOICE_A", "VARIANT_CHOICE_B" ] @typing.type_check_only -class StringList(typing_extensions.TypedDict, total=False): +class StringList(typing.TypedDict, total=False): values: _list[str] diff --git a/googleapiclient-stubs/_apis/adsense/v2/resources.pyi b/googleapiclient-stubs/_apis/adsense/v2/resources.pyi index 365964f28..faa03b4d6 100644 --- a/googleapiclient-stubs/_apis/adsense/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/adsense/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -195,7 +194,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): *, name: str, currencyCode: str | None = ..., - dateRange: typing_extensions.Literal[ + dateRange: typing.Literal[ "REPORTING_DATE_RANGE_UNSPECIFIED", "CUSTOM", "TODAY", @@ -210,7 +209,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): endDate_month: int | None = ..., endDate_year: int | None = ..., languageCode: str | None = ..., - reportingTimeZone: typing_extensions.Literal[ + reportingTimeZone: typing.Literal[ "REPORTING_TIME_ZONE_UNSPECIFIED", "ACCOUNT_TIME_ZONE", "GOOGLE_TIME_ZONE", @@ -226,7 +225,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): *, name: str, currencyCode: str | None = ..., - dateRange: typing_extensions.Literal[ + dateRange: typing.Literal[ "REPORTING_DATE_RANGE_UNSPECIFIED", "CUSTOM", "TODAY", @@ -241,7 +240,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): endDate_month: int | None = ..., endDate_year: int | None = ..., languageCode: str | None = ..., - reportingTimeZone: typing_extensions.Literal[ + reportingTimeZone: typing.Literal[ "REPORTING_TIME_ZONE_UNSPECIFIED", "ACCOUNT_TIME_ZONE", "GOOGLE_TIME_ZONE", @@ -271,7 +270,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): *, account: str, currencyCode: str | None = ..., - dateRange: typing_extensions.Literal[ + dateRange: typing.Literal[ "REPORTING_DATE_RANGE_UNSPECIFIED", "CUSTOM", "TODAY", @@ -282,7 +281,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): "LAST_30_DAYS", ] | None = ..., - dimensions: typing_extensions.Literal[ + dimensions: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "WEEK", @@ -342,7 +341,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): "WEBVIEW_TYPE_CODE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "WEEK", @@ -409,7 +408,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): filters: str | _list[str] | None = ..., languageCode: str | None = ..., limit: int | None = ..., - metrics: typing_extensions.Literal[ + metrics: typing.Literal[ "METRIC_UNSPECIFIED", "PAGE_VIEWS", "AD_REQUESTS", @@ -449,7 +448,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): "FUNNEL_RPM", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNSPECIFIED", "PAGE_VIEWS", "AD_REQUESTS", @@ -491,7 +490,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): ] | None = ..., orderBy: str | _list[str] | None = ..., - reportingTimeZone: typing_extensions.Literal[ + reportingTimeZone: typing.Literal[ "REPORTING_TIME_ZONE_UNSPECIFIED", "ACCOUNT_TIME_ZONE", "GOOGLE_TIME_ZONE", @@ -507,7 +506,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): *, account: str, currencyCode: str | None = ..., - dateRange: typing_extensions.Literal[ + dateRange: typing.Literal[ "REPORTING_DATE_RANGE_UNSPECIFIED", "CUSTOM", "TODAY", @@ -518,7 +517,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): "LAST_30_DAYS", ] | None = ..., - dimensions: typing_extensions.Literal[ + dimensions: typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "WEEK", @@ -578,7 +577,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): "WEBVIEW_TYPE_CODE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DIMENSION_UNSPECIFIED", "DATE", "WEEK", @@ -645,7 +644,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): filters: str | _list[str] | None = ..., languageCode: str | None = ..., limit: int | None = ..., - metrics: typing_extensions.Literal[ + metrics: typing.Literal[ "METRIC_UNSPECIFIED", "PAGE_VIEWS", "AD_REQUESTS", @@ -685,7 +684,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): "FUNNEL_RPM", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNSPECIFIED", "PAGE_VIEWS", "AD_REQUESTS", @@ -727,7 +726,7 @@ class AdsenseResource(googleapiclient.discovery.Resource): ] | None = ..., orderBy: str | _list[str] | None = ..., - reportingTimeZone: typing_extensions.Literal[ + reportingTimeZone: typing.Literal[ "REPORTING_TIME_ZONE_UNSPECIFIED", "ACCOUNT_TIME_ZONE", "GOOGLE_TIME_ZONE", diff --git a/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi b/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi index bea367df9..50b0866e4 100644 --- a/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/adsense/v2/schemas.pyi @@ -1,94 +1,88 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): createTime: str displayName: str name: str pendingTasks: _list[str] premium: bool - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "READY", "NEEDS_ATTENTION", "CLOSED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "NEEDS_ATTENTION", "CLOSED"] timeZone: TimeZone @typing.type_check_only -class AdBlockingRecoveryTag(typing_extensions.TypedDict, total=False): +class AdBlockingRecoveryTag(typing.TypedDict, total=False): errorProtectionCode: str tag: str @typing.type_check_only -class AdClient(typing_extensions.TypedDict, total=False): +class AdClient(typing.TypedDict, total=False): name: str productCode: str reportingDimensionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "GETTING_READY", "REQUIRES_REVIEW" ] @typing.type_check_only -class AdClientAdCode(typing_extensions.TypedDict, total=False): +class AdClientAdCode(typing.TypedDict, total=False): adCode: str ampBody: str ampHead: str @typing.type_check_only -class AdUnit(typing_extensions.TypedDict, total=False): +class AdUnit(typing.TypedDict, total=False): contentAdsSettings: ContentAdsSettings displayName: str name: str reportingDimensionId: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED"] @typing.type_check_only -class AdUnitAdCode(typing_extensions.TypedDict, total=False): +class AdUnitAdCode(typing.TypedDict, total=False): adCode: str @typing.type_check_only -class Alert(typing_extensions.TypedDict, total=False): +class Alert(typing.TypedDict, total=False): message: str name: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "SEVERE" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "INFO", "WARNING", "SEVERE"] type: str @typing.type_check_only -class Cell(typing_extensions.TypedDict, total=False): +class Cell(typing.TypedDict, total=False): value: str @typing.type_check_only -class ContentAdsSettings(typing_extensions.TypedDict, total=False): +class ContentAdsSettings(typing.TypedDict, total=False): size: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "DISPLAY", "FEED", "ARTICLE", "MATCHED_CONTENT", "LINK" ] @typing.type_check_only -class CustomChannel(typing_extensions.TypedDict, total=False): +class CustomChannel(typing.TypedDict, total=False): active: bool displayName: str name: str reportingDimensionId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): currencyCode: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "HEADER_TYPE_UNSPECIFIED", "DIMENSION", "METRIC_TALLY", @@ -99,83 +93,83 @@ class Header(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListAdClientsResponse(typing_extensions.TypedDict, total=False): +class ListAdClientsResponse(typing.TypedDict, total=False): adClients: _list[AdClient] nextPageToken: str @typing.type_check_only -class ListAdUnitsResponse(typing_extensions.TypedDict, total=False): +class ListAdUnitsResponse(typing.TypedDict, total=False): adUnits: _list[AdUnit] nextPageToken: str @typing.type_check_only -class ListAlertsResponse(typing_extensions.TypedDict, total=False): +class ListAlertsResponse(typing.TypedDict, total=False): alerts: _list[Alert] @typing.type_check_only -class ListChildAccountsResponse(typing_extensions.TypedDict, total=False): +class ListChildAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListCustomChannelsResponse(typing_extensions.TypedDict, total=False): +class ListCustomChannelsResponse(typing.TypedDict, total=False): customChannels: _list[CustomChannel] nextPageToken: str @typing.type_check_only -class ListLinkedAdUnitsResponse(typing_extensions.TypedDict, total=False): +class ListLinkedAdUnitsResponse(typing.TypedDict, total=False): adUnits: _list[AdUnit] nextPageToken: str @typing.type_check_only -class ListLinkedCustomChannelsResponse(typing_extensions.TypedDict, total=False): +class ListLinkedCustomChannelsResponse(typing.TypedDict, total=False): customChannels: _list[CustomChannel] nextPageToken: str @typing.type_check_only -class ListPaymentsResponse(typing_extensions.TypedDict, total=False): +class ListPaymentsResponse(typing.TypedDict, total=False): payments: _list[Payment] @typing.type_check_only -class ListPolicyIssuesResponse(typing_extensions.TypedDict, total=False): +class ListPolicyIssuesResponse(typing.TypedDict, total=False): nextPageToken: str policyIssues: _list[PolicyIssue] @typing.type_check_only -class ListSavedReportsResponse(typing_extensions.TypedDict, total=False): +class ListSavedReportsResponse(typing.TypedDict, total=False): nextPageToken: str savedReports: _list[SavedReport] @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class ListUrlChannelsResponse(typing_extensions.TypedDict, total=False): +class ListUrlChannelsResponse(typing.TypedDict, total=False): nextPageToken: str urlChannels: _list[UrlChannel] @typing.type_check_only -class Payment(typing_extensions.TypedDict, total=False): +class Payment(typing.TypedDict, total=False): amount: str date: Date name: str @typing.type_check_only -class PolicyIssue(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class PolicyIssue(typing.TypedDict, total=False): + action: typing.Literal[ "ENFORCEMENT_ACTION_UNSPECIFIED", "WARNED", "AD_SERVING_RESTRICTED", @@ -185,7 +179,7 @@ class PolicyIssue(typing_extensions.TypedDict, total=False): ] adClients: _list[str] adRequestCount: str - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "ENTITY_TYPE_UNSPECIFIED", "SITE", "SITE_SECTION", "PAGE" ] firstDetectedDate: Date @@ -198,15 +192,15 @@ class PolicyIssue(typing_extensions.TypedDict, total=False): warningEscalationDate: Date @typing.type_check_only -class PolicyTopic(typing_extensions.TypedDict, total=False): +class PolicyTopic(typing.TypedDict, total=False): mustFix: bool topic: str - type: typing_extensions.Literal[ + type: typing.Literal[ "POLICY_TOPIC_TYPE_UNSPECIFIED", "POLICY", "ADVERTISER_PREFERENCE", "REGULATORY" ] @typing.type_check_only -class ReportResult(typing_extensions.TypedDict, total=False): +class ReportResult(typing.TypedDict, total=False): averages: Row endDate: Date headers: _list[Header] @@ -217,21 +211,21 @@ class ReportResult(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): cells: _list[Cell] @typing.type_check_only -class SavedReport(typing_extensions.TypedDict, total=False): +class SavedReport(typing.TypedDict, total=False): name: str title: str @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): autoAdsEnabled: bool domain: str name: str reportingDimensionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUIRES_REVIEW", "GETTING_READY", @@ -240,12 +234,12 @@ class Site(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class UrlChannel(typing_extensions.TypedDict, total=False): +class UrlChannel(typing.TypedDict, total=False): name: str reportingDimensionId: str uriPattern: str diff --git a/googleapiclient-stubs/_apis/adsensehost/v4_1/resources.pyi b/googleapiclient-stubs/_apis/adsensehost/v4_1/resources.pyi index b30897885..150cc8714 100644 --- a/googleapiclient-stubs/_apis/adsensehost/v4_1/resources.pyi +++ b/googleapiclient-stubs/_apis/adsensehost/v4_1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -149,8 +148,8 @@ class AdSenseHostResource(googleapiclient.discovery.Resource): def start( self, *, - productCode: typing_extensions.Literal["AFC", "AFG", "AFMC", "AFS", "AFV"] - | _list[typing_extensions.Literal["AFC", "AFG", "AFMC", "AFS", "AFV"]], + productCode: typing.Literal["AFC", "AFG", "AFMC", "AFS", "AFV"] + | _list[typing.Literal["AFC", "AFG", "AFMC", "AFS", "AFV"]], websiteUrl: str, callbackUrl: str | None = ..., userLocale: str | None = ..., diff --git a/googleapiclient-stubs/_apis/adsensehost/v4_1/schemas.pyi b/googleapiclient-stubs/_apis/adsensehost/v4_1/schemas.pyi index f7274c67a..2f46024d6 100644 --- a/googleapiclient-stubs/_apis/adsensehost/v4_1/schemas.pyi +++ b/googleapiclient-stubs/_apis/adsensehost/v4_1/schemas.pyi @@ -1,24 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): id: str kind: str name: str status: str @typing.type_check_only -class Accounts(typing_extensions.TypedDict, total=False): +class Accounts(typing.TypedDict, total=False): etag: str items: _list[Account] kind: str @typing.type_check_only -class AdClient(typing_extensions.TypedDict, total=False): +class AdClient(typing.TypedDict, total=False): arcOptIn: bool id: str kind: str @@ -26,26 +24,26 @@ class AdClient(typing_extensions.TypedDict, total=False): supportsReporting: bool @typing.type_check_only -class AdClients(typing_extensions.TypedDict, total=False): +class AdClients(typing.TypedDict, total=False): etag: str items: _list[AdClient] kind: str nextPageToken: str @typing.type_check_only -class AdCode(typing_extensions.TypedDict, total=False): +class AdCode(typing.TypedDict, total=False): adCode: str kind: str @typing.type_check_only -class AdStyle(typing_extensions.TypedDict, total=False): +class AdStyle(typing.TypedDict, total=False): colors: dict[str, typing.Any] corners: str font: dict[str, typing.Any] kind: str @typing.type_check_only -class AdUnit(typing_extensions.TypedDict, total=False): +class AdUnit(typing.TypedDict, total=False): code: str contentAdsSettings: dict[str, typing.Any] customStyle: AdStyle @@ -56,14 +54,14 @@ class AdUnit(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class AdUnits(typing_extensions.TypedDict, total=False): +class AdUnits(typing.TypedDict, total=False): etag: str items: _list[AdUnit] kind: str nextPageToken: str @typing.type_check_only -class AssociationSession(typing_extensions.TypedDict, total=False): +class AssociationSession(typing.TypedDict, total=False): accountId: str id: str kind: str @@ -75,21 +73,21 @@ class AssociationSession(typing_extensions.TypedDict, total=False): websiteUrl: str @typing.type_check_only -class CustomChannel(typing_extensions.TypedDict, total=False): +class CustomChannel(typing.TypedDict, total=False): code: str id: str kind: str name: str @typing.type_check_only -class CustomChannels(typing_extensions.TypedDict, total=False): +class CustomChannels(typing.TypedDict, total=False): etag: str items: _list[CustomChannel] kind: str nextPageToken: str @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): averages: _list[str] headers: _list[dict[str, typing.Any]] kind: str @@ -99,13 +97,13 @@ class Report(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class UrlChannel(typing_extensions.TypedDict, total=False): +class UrlChannel(typing.TypedDict, total=False): id: str kind: str urlPattern: str @typing.type_check_only -class UrlChannels(typing_extensions.TypedDict, total=False): +class UrlChannels(typing.TypedDict, total=False): etag: str items: _list[UrlChannel] kind: str diff --git a/googleapiclient-stubs/_apis/adsenseplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/adsenseplatform/v1/resources.pyi index 27e7dc2f4..276eb26d2 100644 --- a/googleapiclient-stubs/_apis/adsenseplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/adsenseplatform/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/adsenseplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/adsenseplatform/v1/schemas.pyi index 4f04cbe41..2b2428a94 100644 --- a/googleapiclient-stubs/_apis/adsenseplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/adsenseplatform/v1/schemas.pyi @@ -1,23 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): createTime: str creationRequestId: str displayName: str name: str regionCode: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UNCHECKED", "APPROVED", "DISAPPROVED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UNCHECKED", "APPROVED", "DISAPPROVED"] timeZone: TimeZone @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): address1: str address2: str city: str @@ -30,49 +26,49 @@ class Address(typing_extensions.TypedDict, total=False): zip: str @typing.type_check_only -class CloseAccountRequest(typing_extensions.TypedDict, total=False): ... +class CloseAccountRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloseAccountResponse(typing_extensions.TypedDict, total=False): ... +class CloseAccountResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): eventInfo: EventInfo eventTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "LOG_IN_VIA_PLATFORM", "SIGN_UP_VIA_PLATFORM" ] @typing.type_check_only -class EventInfo(typing_extensions.TypedDict, total=False): +class EventInfo(typing.TypedDict, total=False): billingAddress: Address email: str @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class LookupAccountResponse(typing_extensions.TypedDict, total=False): +class LookupAccountResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class RequestSiteReviewResponse(typing_extensions.TypedDict, total=False): ... +class RequestSiteReviewResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): domain: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUIRES_REVIEW", "GETTING_READY", @@ -81,6 +77,6 @@ class Site(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi index 9fc0f2d77..5912e5d9f 100644 --- a/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/schemas.pyi index c3492c4f6..94911b604 100644 --- a/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/adsenseplatform/v1alpha/schemas.pyi @@ -1,23 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): createTime: str creationRequestId: str displayName: str name: str regionCode: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UNCHECKED", "APPROVED", "DISAPPROVED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UNCHECKED", "APPROVED", "DISAPPROVED"] timeZone: TimeZone @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): address1: str address2: str city: str @@ -30,86 +26,86 @@ class Address(typing_extensions.TypedDict, total=False): zip: str @typing.type_check_only -class CloseAccountRequest(typing_extensions.TypedDict, total=False): ... +class CloseAccountRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloseAccountResponse(typing_extensions.TypedDict, total=False): ... +class CloseAccountResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Decimal(typing_extensions.TypedDict, total=False): +class Decimal(typing.TypedDict, total=False): value: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): eventInfo: EventInfo eventTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "LOG_IN_VIA_PLATFORM", "SIGN_UP_VIA_PLATFORM" ] @typing.type_check_only -class EventInfo(typing_extensions.TypedDict, total=False): +class EventInfo(typing.TypedDict, total=False): billingAddress: Address email: str @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListPlatformChildSitesResponse(typing_extensions.TypedDict, total=False): +class ListPlatformChildSitesResponse(typing.TypedDict, total=False): nextPageToken: str platformChildSites: _list[PlatformChildSite] @typing.type_check_only -class ListPlatformGroupsResponse(typing_extensions.TypedDict, total=False): +class ListPlatformGroupsResponse(typing.TypedDict, total=False): nextPageToken: str platformGroups: _list[PlatformGroup] @typing.type_check_only -class ListPlatformsResponse(typing_extensions.TypedDict, total=False): +class ListPlatformsResponse(typing.TypedDict, total=False): nextPageToken: str platforms: _list[Platform] @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class LookupAccountResponse(typing_extensions.TypedDict, total=False): +class LookupAccountResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class Platform(typing_extensions.TypedDict, total=False): +class Platform(typing.TypedDict, total=False): defaultPlatformGroup: str description: str name: str @typing.type_check_only -class PlatformChildSite(typing_extensions.TypedDict, total=False): +class PlatformChildSite(typing.TypedDict, total=False): domain: str name: str platformGroup: str @typing.type_check_only -class PlatformGroup(typing_extensions.TypedDict, total=False): +class PlatformGroup(typing.TypedDict, total=False): description: str name: str revshareMillipercent: Decimal @typing.type_check_only -class RequestSiteReviewResponse(typing_extensions.TypedDict, total=False): ... +class RequestSiteReviewResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): domain: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUIRES_REVIEW", "GETTING_READY", @@ -118,6 +114,6 @@ class Site(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/advisorynotifications/v1/resources.pyi b/googleapiclient-stubs/_apis/advisorynotifications/v1/resources.pyi index ef00ab0a9..1aae1efe6 100644 --- a/googleapiclient-stubs/_apis/advisorynotifications/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/advisorynotifications/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -33,7 +32,7 @@ class AdvisorynotificationsResource(googleapiclient.discovery.Resource): languageCode: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "NOTIFICATION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -82,7 +81,7 @@ class AdvisorynotificationsResource(googleapiclient.discovery.Resource): languageCode: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "NOTIFICATION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/advisorynotifications/v1/schemas.pyi b/googleapiclient-stubs/_apis/advisorynotifications/v1/schemas.pyi index 101f847a9..a3bec76e0 100644 --- a/googleapiclient-stubs/_apis/advisorynotifications/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/advisorynotifications/v1/schemas.pyi @@ -1,58 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1Attachment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAdvisorynotificationsV1Attachment(typing.TypedDict, total=False): csv: GoogleCloudAdvisorynotificationsV1Csv displayName: str @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1Csv(typing_extensions.TypedDict, total=False): +class GoogleCloudAdvisorynotificationsV1Csv(typing.TypedDict, total=False): dataRows: _list[GoogleCloudAdvisorynotificationsV1CsvCsvRow] headers: _list[str] @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1CsvCsvRow( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAdvisorynotificationsV1CsvCsvRow(typing.TypedDict, total=False): entries: _list[str] @typing.type_check_only class GoogleCloudAdvisorynotificationsV1ListNotificationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notifications: _list[GoogleCloudAdvisorynotificationsV1Notification] totalSize: int @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1Message( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAdvisorynotificationsV1Message(typing.TypedDict, total=False): attachments: _list[GoogleCloudAdvisorynotificationsV1Attachment] body: GoogleCloudAdvisorynotificationsV1MessageBody createTime: str localizationTime: str @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1MessageBody( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAdvisorynotificationsV1MessageBody(typing.TypedDict, total=False): text: GoogleCloudAdvisorynotificationsV1Text @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1Notification( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAdvisorynotificationsV1Notification(typing.TypedDict, total=False): createTime: str messages: _list[GoogleCloudAdvisorynotificationsV1Message] name: str - notificationType: typing_extensions.Literal[ + notificationType: typing.Literal[ "NOTIFICATION_TYPE_UNSPECIFIED", "NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY", "NOTIFICATION_TYPE_SENSITIVE_ACTIONS", @@ -63,28 +51,24 @@ class GoogleCloudAdvisorynotificationsV1Notification( @typing.type_check_only class GoogleCloudAdvisorynotificationsV1NotificationSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1Settings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAdvisorynotificationsV1Settings(typing.TypedDict, total=False): etag: str name: str notificationSettings: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1Subject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAdvisorynotificationsV1Subject(typing.TypedDict, total=False): text: GoogleCloudAdvisorynotificationsV1Text @typing.type_check_only -class GoogleCloudAdvisorynotificationsV1Text(typing_extensions.TypedDict, total=False): +class GoogleCloudAdvisorynotificationsV1Text(typing.TypedDict, total=False): enText: str - localizationState: typing_extensions.Literal[ + localizationState: typing.Literal[ "LOCALIZATION_STATE_UNSPECIFIED", "LOCALIZATION_STATE_NOT_APPLICABLE", "LOCALIZATION_STATE_PENDING", diff --git a/googleapiclient-stubs/_apis/agentidentity/__init__.pyi b/googleapiclient-stubs/_apis/agentidentity/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/agentidentity/v1/__init__.pyi b/googleapiclient-stubs/_apis/agentidentity/v1/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/agentidentity/v1/resources.pyi b/googleapiclient-stubs/_apis/agentidentity/v1/resources.pyi new file mode 100644 index 000000000..9fd550d9b --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1/resources.pyi @@ -0,0 +1,339 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class AgentIdentityResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessSummariesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AccessSummaryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAccessSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccessSummariesResponseHttpRequest, + previous_response: ListAccessSummariesResponse, + ) -> ListAccessSummariesResponseHttpRequest | None: ... + + @typing.type_check_only + class AuthProvidersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthorizationsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AuthorizationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAuthorizationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthorizationsResponseHttpRequest, + previous_response: ListAuthorizationsResponse, + ) -> ListAuthorizationsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: AuthProvider, + authProviderId: str | None = ..., + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def disable( + self, + *, + name: str, + body: DisableAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def enable( + self, + *, + name: str, + body: EnableAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AuthProviderHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int | None = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + showDeleted: bool | None = ..., + **kwargs: typing.Any, + ) -> ListAuthProvidersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthProvidersResponseHttpRequest, + previous_response: ListAuthProvidersResponse, + ) -> ListAuthProvidersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AuthProvider, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def query( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + workloadId: str | None = ..., + **kwargs: typing.Any, + ) -> QueryAuthProvidersResponseHttpRequest: ... + def query_next( + self, + previous_request: QueryAuthProvidersResponseHttpRequest, + previous_response: QueryAuthProvidersResponse, + ) -> QueryAuthProvidersResponseHttpRequest | None: ... + def queryWorkloads( + self, + *, + name: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> QueryWorkloadsResponseHttpRequest: ... + def queryWorkloads_next( + self, + previous_request: QueryWorkloadsResponseHttpRequest, + previous_response: QueryWorkloadsResponse, + ) -> QueryWorkloadsResponseHttpRequest | None: ... + def revokeAuthorization( + self, + *, + name: str, + body: RevokeAuthorizationRequest, + **kwargs: typing.Any, + ) -> RevokeAuthorizationResponseHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest, + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest, + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def authorizations(self) -> AuthorizationsResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] | None = ..., + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def accessSummaries(self) -> AccessSummariesResource: ... + def authProviders(self) -> AuthProvidersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class AccessSummaryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccessSummary: ... + +@typing.type_check_only +class AuthProviderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AuthProvider: ... + +@typing.type_check_only +class AuthorizationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Authorization: ... + +@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 ListAccessSummariesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccessSummariesResponse: ... + +@typing.type_check_only +class ListAuthProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAuthProvidersResponse: ... + +@typing.type_check_only +class ListAuthorizationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAuthorizationsResponse: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationsResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class PolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Policy: ... + +@typing.type_check_only +class QueryAuthProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryAuthProvidersResponse: ... + +@typing.type_check_only +class QueryWorkloadsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryWorkloadsResponse: ... + +@typing.type_check_only +class RevokeAuthorizationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RevokeAuthorizationResponse: ... + +@typing.type_check_only +class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestIamPermissionsResponse: ... diff --git a/googleapiclient-stubs/_apis/agentidentity/v1/schemas.pyi b/googleapiclient-stubs/_apis/agentidentity/v1/schemas.pyi new file mode 100644 index 000000000..8170e708e --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1/schemas.pyi @@ -0,0 +1,185 @@ +import typing + +_list = list + +@typing.type_check_only +class AccessSummary(typing.TypedDict, total=False): + authProvider: str + authProviderType: typing.Literal[ + "AUTH_PROVIDER_TYPE_UNSPECIFIED", + "AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH", + "AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH", + "AUTH_PROVIDER_TYPE_API_KEY", + "AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE", + ] + firstAccessTime: str + labels: dict[str, typing.Any] + lastAccessTime: str + name: str + purgeTime: str + scopes: _list[str] + tokenUrl: str + userId: str + workloadId: str + +@typing.type_check_only +class ApiKeyParams(typing.TypedDict, total=False): + apiKey: str + +@typing.type_check_only +class AuditConfig(typing.TypedDict, total=False): + auditLogConfigs: _list[AuditLogConfig] + service: str + +@typing.type_check_only +class AuditLogConfig(typing.TypedDict, total=False): + exemptedMembers: _list[str] + logType: typing.Literal[ + "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" + ] + +@typing.type_check_only +class AuthProvider(typing.TypedDict, total=False): + allowedScopes: _list[str] + authProviderTypeParams: AuthProviderTypeParams + blockedScopes: _list[str] + createTime: str + deleted: bool + description: str + expireTime: str + labels: dict[str, typing.Any] + name: str + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + updateTime: str + workloadIds: _list[str] + +@typing.type_check_only +class AuthProviderTypeParams(typing.TypedDict, total=False): + apiKey: ApiKeyParams + geAuthProvider: GeminiEnterpriseAuthProviderParams + threeLeggedOauth: ThreeLeggedOAuth + twoLeggedOauth: TwoLeggedOAuth + +@typing.type_check_only +class Authorization(typing.TypedDict, total=False): + clientUserId: str + createTime: str + name: str + scopes: _list[str] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED"] + updateTime: str + +@typing.type_check_only +class Binding(typing.TypedDict, total=False): + condition: Expr + members: _list[str] + role: str + +@typing.type_check_only +class DisableAuthProviderRequest(typing.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class EnableAuthProviderRequest(typing.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class Expr(typing.TypedDict, total=False): + description: str + expression: str + location: str + title: str + +@typing.type_check_only +class GeminiEnterpriseAuthProviderParams(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ListAccessSummariesResponse(typing.TypedDict, total=False): + accessSummaries: _list[AccessSummary] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthProvidersResponse(typing.TypedDict, total=False): + authProviders: _list[AuthProvider] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthorizationsResponse(typing.TypedDict, total=False): + authorizations: _list[Authorization] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListLocationsResponse(typing.TypedDict, total=False): + locations: _list[Location] + nextPageToken: str + +@typing.type_check_only +class Location(typing.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): + auditConfigs: _list[AuditConfig] + bindings: _list[Binding] + etag: str + version: int + +@typing.type_check_only +class QueryAuthProvidersResponse(typing.TypedDict, total=False): + authProviderNames: _list[str] + nextPageToken: str + +@typing.type_check_only +class QueryWorkloadsResponse(typing.TypedDict, total=False): + nextPageToken: str + workloadIds: _list[str] + +@typing.type_check_only +class RevokeAuthorizationRequest(typing.TypedDict, total=False): + userId: str + +@typing.type_check_only +class RevokeAuthorizationResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class SetIamPolicyRequest(typing.TypedDict, total=False): + policy: Policy + updateMask: str + +@typing.type_check_only +class TestIamPermissionsRequest(typing.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TestIamPermissionsResponse(typing.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class ThreeLeggedOAuth(typing.TypedDict, total=False): + authorizationUrl: str + clientId: str + clientSecret: str + defaultContinueUri: str + enablePkce: bool + redirectUrl: str + tokenUrl: str + +@typing.type_check_only +class TwoLeggedOAuth(typing.TypedDict, total=False): + clientId: str + clientSecret: str + tokenUrl: str + +@typing.type_check_only +class UndeleteAuthProviderRequest(typing.TypedDict, total=False): + requestId: str diff --git a/googleapiclient-stubs/_apis/agentidentity/v1alpha/__init__.pyi b/googleapiclient-stubs/_apis/agentidentity/v1alpha/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1alpha/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/agentidentity/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/agentidentity/v1alpha/resources.pyi new file mode 100644 index 000000000..9fd550d9b --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1alpha/resources.pyi @@ -0,0 +1,339 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class AgentIdentityResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessSummariesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AccessSummaryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAccessSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccessSummariesResponseHttpRequest, + previous_response: ListAccessSummariesResponse, + ) -> ListAccessSummariesResponseHttpRequest | None: ... + + @typing.type_check_only + class AuthProvidersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthorizationsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AuthorizationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAuthorizationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthorizationsResponseHttpRequest, + previous_response: ListAuthorizationsResponse, + ) -> ListAuthorizationsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: AuthProvider, + authProviderId: str | None = ..., + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def disable( + self, + *, + name: str, + body: DisableAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def enable( + self, + *, + name: str, + body: EnableAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AuthProviderHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int | None = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + showDeleted: bool | None = ..., + **kwargs: typing.Any, + ) -> ListAuthProvidersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthProvidersResponseHttpRequest, + previous_response: ListAuthProvidersResponse, + ) -> ListAuthProvidersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AuthProvider, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def query( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + workloadId: str | None = ..., + **kwargs: typing.Any, + ) -> QueryAuthProvidersResponseHttpRequest: ... + def query_next( + self, + previous_request: QueryAuthProvidersResponseHttpRequest, + previous_response: QueryAuthProvidersResponse, + ) -> QueryAuthProvidersResponseHttpRequest | None: ... + def queryWorkloads( + self, + *, + name: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> QueryWorkloadsResponseHttpRequest: ... + def queryWorkloads_next( + self, + previous_request: QueryWorkloadsResponseHttpRequest, + previous_response: QueryWorkloadsResponse, + ) -> QueryWorkloadsResponseHttpRequest | None: ... + def revokeAuthorization( + self, + *, + name: str, + body: RevokeAuthorizationRequest, + **kwargs: typing.Any, + ) -> RevokeAuthorizationResponseHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest, + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest, + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def authorizations(self) -> AuthorizationsResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] | None = ..., + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def accessSummaries(self) -> AccessSummariesResource: ... + def authProviders(self) -> AuthProvidersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class AccessSummaryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccessSummary: ... + +@typing.type_check_only +class AuthProviderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AuthProvider: ... + +@typing.type_check_only +class AuthorizationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Authorization: ... + +@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 ListAccessSummariesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccessSummariesResponse: ... + +@typing.type_check_only +class ListAuthProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAuthProvidersResponse: ... + +@typing.type_check_only +class ListAuthorizationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAuthorizationsResponse: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationsResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class PolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Policy: ... + +@typing.type_check_only +class QueryAuthProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryAuthProvidersResponse: ... + +@typing.type_check_only +class QueryWorkloadsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryWorkloadsResponse: ... + +@typing.type_check_only +class RevokeAuthorizationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RevokeAuthorizationResponse: ... + +@typing.type_check_only +class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestIamPermissionsResponse: ... diff --git a/googleapiclient-stubs/_apis/agentidentity/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/agentidentity/v1alpha/schemas.pyi new file mode 100644 index 000000000..8170e708e --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1alpha/schemas.pyi @@ -0,0 +1,185 @@ +import typing + +_list = list + +@typing.type_check_only +class AccessSummary(typing.TypedDict, total=False): + authProvider: str + authProviderType: typing.Literal[ + "AUTH_PROVIDER_TYPE_UNSPECIFIED", + "AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH", + "AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH", + "AUTH_PROVIDER_TYPE_API_KEY", + "AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE", + ] + firstAccessTime: str + labels: dict[str, typing.Any] + lastAccessTime: str + name: str + purgeTime: str + scopes: _list[str] + tokenUrl: str + userId: str + workloadId: str + +@typing.type_check_only +class ApiKeyParams(typing.TypedDict, total=False): + apiKey: str + +@typing.type_check_only +class AuditConfig(typing.TypedDict, total=False): + auditLogConfigs: _list[AuditLogConfig] + service: str + +@typing.type_check_only +class AuditLogConfig(typing.TypedDict, total=False): + exemptedMembers: _list[str] + logType: typing.Literal[ + "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" + ] + +@typing.type_check_only +class AuthProvider(typing.TypedDict, total=False): + allowedScopes: _list[str] + authProviderTypeParams: AuthProviderTypeParams + blockedScopes: _list[str] + createTime: str + deleted: bool + description: str + expireTime: str + labels: dict[str, typing.Any] + name: str + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + updateTime: str + workloadIds: _list[str] + +@typing.type_check_only +class AuthProviderTypeParams(typing.TypedDict, total=False): + apiKey: ApiKeyParams + geAuthProvider: GeminiEnterpriseAuthProviderParams + threeLeggedOauth: ThreeLeggedOAuth + twoLeggedOauth: TwoLeggedOAuth + +@typing.type_check_only +class Authorization(typing.TypedDict, total=False): + clientUserId: str + createTime: str + name: str + scopes: _list[str] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED"] + updateTime: str + +@typing.type_check_only +class Binding(typing.TypedDict, total=False): + condition: Expr + members: _list[str] + role: str + +@typing.type_check_only +class DisableAuthProviderRequest(typing.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class EnableAuthProviderRequest(typing.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class Expr(typing.TypedDict, total=False): + description: str + expression: str + location: str + title: str + +@typing.type_check_only +class GeminiEnterpriseAuthProviderParams(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ListAccessSummariesResponse(typing.TypedDict, total=False): + accessSummaries: _list[AccessSummary] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthProvidersResponse(typing.TypedDict, total=False): + authProviders: _list[AuthProvider] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthorizationsResponse(typing.TypedDict, total=False): + authorizations: _list[Authorization] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListLocationsResponse(typing.TypedDict, total=False): + locations: _list[Location] + nextPageToken: str + +@typing.type_check_only +class Location(typing.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): + auditConfigs: _list[AuditConfig] + bindings: _list[Binding] + etag: str + version: int + +@typing.type_check_only +class QueryAuthProvidersResponse(typing.TypedDict, total=False): + authProviderNames: _list[str] + nextPageToken: str + +@typing.type_check_only +class QueryWorkloadsResponse(typing.TypedDict, total=False): + nextPageToken: str + workloadIds: _list[str] + +@typing.type_check_only +class RevokeAuthorizationRequest(typing.TypedDict, total=False): + userId: str + +@typing.type_check_only +class RevokeAuthorizationResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class SetIamPolicyRequest(typing.TypedDict, total=False): + policy: Policy + updateMask: str + +@typing.type_check_only +class TestIamPermissionsRequest(typing.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TestIamPermissionsResponse(typing.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class ThreeLeggedOAuth(typing.TypedDict, total=False): + authorizationUrl: str + clientId: str + clientSecret: str + defaultContinueUri: str + enablePkce: bool + redirectUrl: str + tokenUrl: str + +@typing.type_check_only +class TwoLeggedOAuth(typing.TypedDict, total=False): + clientId: str + clientSecret: str + tokenUrl: str + +@typing.type_check_only +class UndeleteAuthProviderRequest(typing.TypedDict, total=False): + requestId: str diff --git a/googleapiclient-stubs/_apis/agentidentity/v1beta/__init__.pyi b/googleapiclient-stubs/_apis/agentidentity/v1beta/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/agentidentity/v1beta/resources.pyi b/googleapiclient-stubs/_apis/agentidentity/v1beta/resources.pyi new file mode 100644 index 000000000..9fd550d9b --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1beta/resources.pyi @@ -0,0 +1,339 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class AgentIdentityResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccessSummariesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AccessSummaryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAccessSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccessSummariesResponseHttpRequest, + previous_response: ListAccessSummariesResponse, + ) -> ListAccessSummariesResponseHttpRequest | None: ... + + @typing.type_check_only + class AuthProvidersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthorizationsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AuthorizationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAuthorizationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthorizationsResponseHttpRequest, + previous_response: ListAuthorizationsResponse, + ) -> ListAuthorizationsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: AuthProvider, + authProviderId: str | None = ..., + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def disable( + self, + *, + name: str, + body: DisableAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def enable( + self, + *, + name: str, + body: EnableAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AuthProviderHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int | None = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + showDeleted: bool | None = ..., + **kwargs: typing.Any, + ) -> ListAuthProvidersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAuthProvidersResponseHttpRequest, + previous_response: ListAuthProvidersResponse, + ) -> ListAuthProvidersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AuthProvider, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def query( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + workloadId: str | None = ..., + **kwargs: typing.Any, + ) -> QueryAuthProvidersResponseHttpRequest: ... + def query_next( + self, + previous_request: QueryAuthProvidersResponseHttpRequest, + previous_response: QueryAuthProvidersResponse, + ) -> QueryAuthProvidersResponseHttpRequest | None: ... + def queryWorkloads( + self, + *, + name: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> QueryWorkloadsResponseHttpRequest: ... + def queryWorkloads_next( + self, + previous_request: QueryWorkloadsResponseHttpRequest, + previous_response: QueryWorkloadsResponse, + ) -> QueryWorkloadsResponseHttpRequest | None: ... + def revokeAuthorization( + self, + *, + name: str, + body: RevokeAuthorizationRequest, + **kwargs: typing.Any, + ) -> RevokeAuthorizationResponseHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest, + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest, + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteAuthProviderRequest, + **kwargs: typing.Any, + ) -> AuthProviderHttpRequest: ... + def authorizations(self) -> AuthorizationsResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] | None = ..., + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def accessSummaries(self) -> AccessSummariesResource: ... + def authProviders(self) -> AuthProvidersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class AccessSummaryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccessSummary: ... + +@typing.type_check_only +class AuthProviderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AuthProvider: ... + +@typing.type_check_only +class AuthorizationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Authorization: ... + +@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 ListAccessSummariesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccessSummariesResponse: ... + +@typing.type_check_only +class ListAuthProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAuthProvidersResponse: ... + +@typing.type_check_only +class ListAuthorizationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAuthorizationsResponse: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationsResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class PolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Policy: ... + +@typing.type_check_only +class QueryAuthProvidersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryAuthProvidersResponse: ... + +@typing.type_check_only +class QueryWorkloadsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryWorkloadsResponse: ... + +@typing.type_check_only +class RevokeAuthorizationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RevokeAuthorizationResponse: ... + +@typing.type_check_only +class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestIamPermissionsResponse: ... diff --git a/googleapiclient-stubs/_apis/agentidentity/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/agentidentity/v1beta/schemas.pyi new file mode 100644 index 000000000..8170e708e --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentity/v1beta/schemas.pyi @@ -0,0 +1,185 @@ +import typing + +_list = list + +@typing.type_check_only +class AccessSummary(typing.TypedDict, total=False): + authProvider: str + authProviderType: typing.Literal[ + "AUTH_PROVIDER_TYPE_UNSPECIFIED", + "AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH", + "AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH", + "AUTH_PROVIDER_TYPE_API_KEY", + "AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE", + ] + firstAccessTime: str + labels: dict[str, typing.Any] + lastAccessTime: str + name: str + purgeTime: str + scopes: _list[str] + tokenUrl: str + userId: str + workloadId: str + +@typing.type_check_only +class ApiKeyParams(typing.TypedDict, total=False): + apiKey: str + +@typing.type_check_only +class AuditConfig(typing.TypedDict, total=False): + auditLogConfigs: _list[AuditLogConfig] + service: str + +@typing.type_check_only +class AuditLogConfig(typing.TypedDict, total=False): + exemptedMembers: _list[str] + logType: typing.Literal[ + "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" + ] + +@typing.type_check_only +class AuthProvider(typing.TypedDict, total=False): + allowedScopes: _list[str] + authProviderTypeParams: AuthProviderTypeParams + blockedScopes: _list[str] + createTime: str + deleted: bool + description: str + expireTime: str + labels: dict[str, typing.Any] + name: str + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + updateTime: str + workloadIds: _list[str] + +@typing.type_check_only +class AuthProviderTypeParams(typing.TypedDict, total=False): + apiKey: ApiKeyParams + geAuthProvider: GeminiEnterpriseAuthProviderParams + threeLeggedOauth: ThreeLeggedOAuth + twoLeggedOauth: TwoLeggedOAuth + +@typing.type_check_only +class Authorization(typing.TypedDict, total=False): + clientUserId: str + createTime: str + name: str + scopes: _list[str] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED"] + updateTime: str + +@typing.type_check_only +class Binding(typing.TypedDict, total=False): + condition: Expr + members: _list[str] + role: str + +@typing.type_check_only +class DisableAuthProviderRequest(typing.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class EnableAuthProviderRequest(typing.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class Expr(typing.TypedDict, total=False): + description: str + expression: str + location: str + title: str + +@typing.type_check_only +class GeminiEnterpriseAuthProviderParams(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ListAccessSummariesResponse(typing.TypedDict, total=False): + accessSummaries: _list[AccessSummary] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthProvidersResponse(typing.TypedDict, total=False): + authProviders: _list[AuthProvider] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthorizationsResponse(typing.TypedDict, total=False): + authorizations: _list[Authorization] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListLocationsResponse(typing.TypedDict, total=False): + locations: _list[Location] + nextPageToken: str + +@typing.type_check_only +class Location(typing.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): + auditConfigs: _list[AuditConfig] + bindings: _list[Binding] + etag: str + version: int + +@typing.type_check_only +class QueryAuthProvidersResponse(typing.TypedDict, total=False): + authProviderNames: _list[str] + nextPageToken: str + +@typing.type_check_only +class QueryWorkloadsResponse(typing.TypedDict, total=False): + nextPageToken: str + workloadIds: _list[str] + +@typing.type_check_only +class RevokeAuthorizationRequest(typing.TypedDict, total=False): + userId: str + +@typing.type_check_only +class RevokeAuthorizationResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class SetIamPolicyRequest(typing.TypedDict, total=False): + policy: Policy + updateMask: str + +@typing.type_check_only +class TestIamPermissionsRequest(typing.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TestIamPermissionsResponse(typing.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class ThreeLeggedOAuth(typing.TypedDict, total=False): + authorizationUrl: str + clientId: str + clientSecret: str + defaultContinueUri: str + enablePkce: bool + redirectUrl: str + tokenUrl: str + +@typing.type_check_only +class TwoLeggedOAuth(typing.TypedDict, total=False): + clientId: str + clientSecret: str + tokenUrl: str + +@typing.type_check_only +class UndeleteAuthProviderRequest(typing.TypedDict, total=False): + requestId: str diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/__init__.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1/__init__.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1/resources.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1/resources.pyi new file mode 100644 index 000000000..1d487b405 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1/resources.pyi @@ -0,0 +1,76 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class AgentIdentityCredentialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthProvidersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CredentialsResource(googleapiclient.discovery.Resource): + def finalize( + self, + *, + authProvider: str, + body: GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsResponseHttpRequest: ... + def retrieve( + self, + *, + authProvider: str, + body: GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsResponseHttpRequest: ... + + def credentials(self) -> CredentialsResource: ... + + def authProviders(self) -> AuthProvidersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsResponse: ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsResponse: ... diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1/schemas.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1/schemas.pyi new file mode 100644 index 000000000..4be086dc1 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1/schemas.pyi @@ -0,0 +1,57 @@ +import typing + +_list = list + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_ConsentRejected( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsRequest( + typing.TypedDict, total=False +): + consentNonce: str + userId: str + userIdValidationState: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsResponse( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_Pending(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsRequest( + typing.TypedDict, total=False +): + continueUri: str + forceRefreshToken: str + scopes: _list[str] + userId: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsResponse( + typing.TypedDict, total=False +): + consentRejected: GoogleCloudAgentidentitycredentialsV1_ConsentRejected + pending: GoogleCloudAgentidentitycredentialsV1_Pending + success: GoogleCloudAgentidentitycredentialsV1_Success + uriConsentRequired: GoogleCloudAgentidentitycredentialsV1_UriConsentRequired + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_Success(typing.TypedDict, total=False): + expireTime: str + header: str + scopes: _list[str] + token: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1_UriConsentRequired( + typing.TypedDict, total=False +): + authorizationUri: str + consentNonce: str + uid: str diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/__init__.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/resources.pyi new file mode 100644 index 000000000..5f065ee14 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/resources.pyi @@ -0,0 +1,76 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class AgentIdentityCredentialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthProvidersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CredentialsResource(googleapiclient.discovery.Resource): + def finalize( + self, + *, + authProvider: str, + body: GoogleCloudAgentidentitycredentialsV1alpha_FinalizeCredentialsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAgentidentitycredentialsV1alpha_FinalizeCredentialsResponseHttpRequest: ... + def retrieve( + self, + *, + authProvider: str, + body: GoogleCloudAgentidentitycredentialsV1alpha_RetrieveCredentialsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAgentidentitycredentialsV1alpha_RetrieveCredentialsResponseHttpRequest: ... + + def credentials(self) -> CredentialsResource: ... + + def authProviders(self) -> AuthProvidersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_FinalizeCredentialsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAgentidentitycredentialsV1alpha_FinalizeCredentialsResponse: ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_RetrieveCredentialsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAgentidentitycredentialsV1alpha_RetrieveCredentialsResponse: ... diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/schemas.pyi new file mode 100644 index 000000000..6bc87d58d --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1alpha/schemas.pyi @@ -0,0 +1,59 @@ +import typing + +_list = list + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_ConsentRejected( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_FinalizeCredentialsRequest( + typing.TypedDict, total=False +): + consentNonce: str + userId: str + userIdValidationState: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_FinalizeCredentialsResponse( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_Pending( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_RetrieveCredentialsRequest( + typing.TypedDict, total=False +): + continueUri: str + forceRefreshToken: str + scopes: _list[str] + userId: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_RetrieveCredentialsResponse( + typing.TypedDict, total=False +): + consentRejected: GoogleCloudAgentidentitycredentialsV1alpha_ConsentRejected + pending: GoogleCloudAgentidentitycredentialsV1alpha_Pending + success: GoogleCloudAgentidentitycredentialsV1alpha_Success + uriConsentRequired: GoogleCloudAgentidentitycredentialsV1alpha_UriConsentRequired + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_Success(typing.TypedDict, total=False): + expireTime: str + header: str + scopes: _list[str] + token: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1alpha_UriConsentRequired( + typing.TypedDict, total=False +): + authorizationUri: str + consentNonce: str + uid: str diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/__init__.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/resources.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/resources.pyi new file mode 100644 index 000000000..9d262b471 --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/resources.pyi @@ -0,0 +1,76 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class AgentIdentityCredentialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthProvidersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CredentialsResource(googleapiclient.discovery.Resource): + def finalize( + self, + *, + authProvider: str, + body: GoogleCloudAgentidentitycredentialsV1beta_FinalizeCredentialsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAgentidentitycredentialsV1beta_FinalizeCredentialsResponseHttpRequest: ... + def retrieve( + self, + *, + authProvider: str, + body: GoogleCloudAgentidentitycredentialsV1beta_RetrieveCredentialsRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAgentidentitycredentialsV1beta_RetrieveCredentialsResponseHttpRequest: ... + + def credentials(self) -> CredentialsResource: ... + + def authProviders(self) -> AuthProvidersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_FinalizeCredentialsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAgentidentitycredentialsV1beta_FinalizeCredentialsResponse: ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_RetrieveCredentialsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAgentidentitycredentialsV1beta_RetrieveCredentialsResponse: ... diff --git a/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/schemas.pyi new file mode 100644 index 000000000..452c2cd1c --- /dev/null +++ b/googleapiclient-stubs/_apis/agentidentitycredentials/v1beta/schemas.pyi @@ -0,0 +1,59 @@ +import typing + +_list = list + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_ConsentRejected( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_FinalizeCredentialsRequest( + typing.TypedDict, total=False +): + consentNonce: str + userId: str + userIdValidationState: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_FinalizeCredentialsResponse( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_Pending( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_RetrieveCredentialsRequest( + typing.TypedDict, total=False +): + continueUri: str + forceRefreshToken: str + scopes: _list[str] + userId: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_RetrieveCredentialsResponse( + typing.TypedDict, total=False +): + consentRejected: GoogleCloudAgentidentitycredentialsV1beta_ConsentRejected + pending: GoogleCloudAgentidentitycredentialsV1beta_Pending + success: GoogleCloudAgentidentitycredentialsV1beta_Success + uriConsentRequired: GoogleCloudAgentidentitycredentialsV1beta_UriConsentRequired + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_Success(typing.TypedDict, total=False): + expireTime: str + header: str + scopes: _list[str] + token: str + +@typing.type_check_only +class GoogleCloudAgentidentitycredentialsV1beta_UriConsentRequired( + typing.TypedDict, total=False +): + authorizationUri: str + consentNonce: str + uid: str diff --git a/googleapiclient-stubs/_apis/agentregistry/v1/resources.pyi b/googleapiclient-stubs/_apis/agentregistry/v1/resources.pyi index 4c5b913a7..93d4efbc6 100644 --- a/googleapiclient-stubs/_apis/agentregistry/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/agentregistry/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/agentregistry/v1/schemas.pyi b/googleapiclient-stubs/_apis/agentregistry/v1/schemas.pyi index cc794d13d..34cd93d1d 100644 --- a/googleapiclient-stubs/_apis/agentregistry/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/agentregistry/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class A2ASkill(typing_extensions.TypedDict, total=False): +class A2ASkill(typing.TypedDict, total=False): description: str examples: _list[str] id: str @@ -13,7 +11,7 @@ class A2ASkill(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class Agent(typing_extensions.TypedDict, total=False): +class Agent(typing.TypedDict, total=False): agentId: str attributes: dict[str, typing.Any] card: Card @@ -29,12 +27,12 @@ class Agent(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class AgentSpec(typing_extensions.TypedDict, total=False): +class AgentSpec(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "A2A_AGENT_CARD"] + type: typing.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "A2A_AGENT_CARD"] @typing.type_check_only -class Annotations(typing_extensions.TypedDict, total=False): +class Annotations(typing.TypedDict, total=False): destructiveHint: bool idempotentHint: bool openWorldHint: bool @@ -42,13 +40,13 @@ class Annotations(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AuthProviderBinding(typing_extensions.TypedDict, total=False): +class AuthProviderBinding(typing.TypedDict, total=False): authProvider: str continueUri: str scopes: _list[str] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): authProviderBinding: AuthProviderBinding createTime: str description: str @@ -59,18 +57,18 @@ class Binding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Card(typing_extensions.TypedDict, total=False): +class Card(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "A2A_AGENT_CARD"] + type: typing.Literal["TYPE_UNSPECIFIED", "A2A_AGENT_CARD"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): attributes: dict[str, typing.Any] createTime: str description: str @@ -81,60 +79,60 @@ class Endpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EndpointSpec(typing_extensions.TypedDict, total=False): +class EndpointSpec(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NO_SPEC"] + type: typing.Literal["TYPE_UNSPECIFIED", "NO_SPEC"] @typing.type_check_only -class FetchAvailableBindingsResponse(typing_extensions.TypedDict, total=False): +class FetchAvailableBindingsResponse(typing.TypedDict, total=False): bindings: _list[Binding] nextPageToken: str @typing.type_check_only -class Interface(typing_extensions.TypedDict, total=False): - protocolBinding: typing_extensions.Literal[ +class Interface(typing.TypedDict, total=False): + protocolBinding: typing.Literal[ "PROTOCOL_BINDING_UNSPECIFIED", "JSONRPC", "GRPC", "HTTP_JSON" ] url: str @typing.type_check_only -class ListAgentsResponse(typing_extensions.TypedDict, total=False): +class ListAgentsResponse(typing.TypedDict, total=False): agents: _list[Agent] nextPageToken: str @typing.type_check_only -class ListBindingsResponse(typing_extensions.TypedDict, total=False): +class ListBindingsResponse(typing.TypedDict, total=False): bindings: _list[Binding] nextPageToken: str @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMcpServersResponse(typing_extensions.TypedDict, total=False): +class ListMcpServersResponse(typing.TypedDict, total=False): mcpServers: _list[McpServer] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -142,7 +140,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class McpServer(typing_extensions.TypedDict, total=False): +class McpServer(typing.TypedDict, total=False): attributes: dict[str, typing.Any] createTime: str description: str @@ -154,12 +152,12 @@ class McpServer(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class McpServerSpec(typing_extensions.TypedDict, total=False): +class McpServerSpec(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "TOOL_SPEC"] + type: typing.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "TOOL_SPEC"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -167,7 +165,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -177,35 +175,35 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Protocol(typing_extensions.TypedDict, total=False): +class Protocol(typing.TypedDict, total=False): interfaces: _list[Interface] protocolVersion: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "A2A_AGENT", "CUSTOM"] + type: typing.Literal["TYPE_UNSPECIFIED", "A2A_AGENT", "CUSTOM"] @typing.type_check_only -class SearchAgentsRequest(typing_extensions.TypedDict, total=False): +class SearchAgentsRequest(typing.TypedDict, total=False): pageSize: int pageToken: str searchString: str @typing.type_check_only -class SearchAgentsResponse(typing_extensions.TypedDict, total=False): +class SearchAgentsResponse(typing.TypedDict, total=False): agents: _list[Agent] nextPageToken: str @typing.type_check_only -class SearchMcpServersRequest(typing_extensions.TypedDict, total=False): +class SearchMcpServersRequest(typing.TypedDict, total=False): pageSize: int pageToken: str searchString: str @typing.type_check_only -class SearchMcpServersResponse(typing_extensions.TypedDict, total=False): +class SearchMcpServersResponse(typing.TypedDict, total=False): mcpServers: _list[McpServer] nextPageToken: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): agentSpec: AgentSpec createTime: str description: str @@ -218,21 +216,21 @@ class Service(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): identifier: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): identifier: str @typing.type_check_only -class Tool(typing_extensions.TypedDict, total=False): +class Tool(typing.TypedDict, total=False): annotations: Annotations description: str name: str diff --git a/googleapiclient-stubs/_apis/agentregistry/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/agentregistry/v1alpha/resources.pyi index 4c5b913a7..48b2948f7 100644 --- a/googleapiclient-stubs/_apis/agentregistry/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/agentregistry/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -195,6 +194,25 @@ class AgentRegistryResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PublishersResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PublisherHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListPublishersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPublishersResponseHttpRequest, + previous_response: ListPublishersResponse, + ) -> ListPublishersResponseHttpRequest | None: ... + @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): def create( @@ -240,6 +258,111 @@ class AgentRegistryResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class SkillsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SkillRevision, + requestId: str | None = ..., + skillRevisionId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SkillRevisionHttpRequest: ... + def get_media( + self, *, name: str, **kwargs: typing.Any + ) -> BytesHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListSkillRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSkillRevisionsResponseHttpRequest, + previous_response: ListSkillRevisionsResponse, + ) -> ListSkillRevisionsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: Skill, + requestId: str | None = ..., + skillId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool | None = ..., + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SkillHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListSkillsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSkillsResponseHttpRequest, + previous_response: ListSkillsResponse, + ) -> ListSkillsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Skill, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def search( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + searchString: str | None = ..., + searchType: typing.Literal[ + "SEARCH_TYPE_UNSPECIFIED", "KEYWORD", "SEMANTIC" + ] + | None = ..., + **kwargs: typing.Any, + ) -> SearchSkillsResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchSkillsResponseHttpRequest, + previous_response: SearchSkillsResponse, + ) -> SearchSkillsResponseHttpRequest | None: ... + def revisions(self) -> RevisionsResource: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -263,7 +386,9 @@ class AgentRegistryResource(googleapiclient.discovery.Resource): def endpoints(self) -> EndpointsResource: ... def mcpServers(self) -> McpServersResource: ... def operations(self) -> OperationsResource: ... + def publishers(self) -> PublishersResource: ... def services(self) -> ServicesResource: ... + def skills(self) -> SkillsResource: ... def locations(self) -> LocationsResource: ... @@ -369,6 +494,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListPublishersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPublishersResponse: ... + @typing.type_check_only class ListServicesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -377,6 +510,22 @@ class ListServicesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListServicesResponse: ... +@typing.type_check_only +class ListSkillRevisionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSkillRevisionsResponse: ... + +@typing.type_check_only +class ListSkillsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSkillsResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -401,6 +550,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class PublisherHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Publisher: ... + @typing.type_check_only class SearchAgentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -417,6 +574,14 @@ class SearchMcpServersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SearchMcpServersResponse: ... +@typing.type_check_only +class SearchSkillsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchSkillsResponse: ... + @typing.type_check_only class ServiceHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -424,3 +589,27 @@ class ServiceHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Service: ... + +@typing.type_check_only +class SkillHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Skill: ... + +@typing.type_check_only +class SkillRevisionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SkillRevision: ... + +@typing.type_check_only +class BytesHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> bytes: ... diff --git a/googleapiclient-stubs/_apis/agentregistry/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/agentregistry/v1alpha/schemas.pyi index cc794d13d..debf57595 100644 --- a/googleapiclient-stubs/_apis/agentregistry/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/agentregistry/v1alpha/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class A2ASkill(typing_extensions.TypedDict, total=False): +class A2ASkill(typing.TypedDict, total=False): description: str examples: _list[str] id: str @@ -13,7 +11,7 @@ class A2ASkill(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class Agent(typing_extensions.TypedDict, total=False): +class Agent(typing.TypedDict, total=False): agentId: str attributes: dict[str, typing.Any] card: Card @@ -29,12 +27,12 @@ class Agent(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class AgentSpec(typing_extensions.TypedDict, total=False): +class AgentSpec(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "A2A_AGENT_CARD"] + type: typing.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "A2A_AGENT_CARD"] @typing.type_check_only -class Annotations(typing_extensions.TypedDict, total=False): +class Annotations(typing.TypedDict, total=False): destructiveHint: bool idempotentHint: bool openWorldHint: bool @@ -42,13 +40,17 @@ class Annotations(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AuthProviderBinding(typing_extensions.TypedDict, total=False): +class ArchiveUploadSource(typing.TypedDict, total=False): + archiveContent: str + +@typing.type_check_only +class AuthProviderBinding(typing.TypedDict, total=False): authProvider: str continueUri: str scopes: _list[str] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): authProviderBinding: AuthProviderBinding createTime: str description: str @@ -59,18 +61,18 @@ class Binding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Card(typing_extensions.TypedDict, total=False): +class Card(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "A2A_AGENT_CARD"] + type: typing.Literal["TYPE_UNSPECIFIED", "A2A_AGENT_CARD"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): attributes: dict[str, typing.Any] createTime: str description: str @@ -81,60 +83,89 @@ class Endpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EndpointSpec(typing_extensions.TypedDict, total=False): +class EndpointSpec(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NO_SPEC"] + type: typing.Literal["TYPE_UNSPECIFIED", "NO_SPEC"] @typing.type_check_only -class FetchAvailableBindingsResponse(typing_extensions.TypedDict, total=False): +class FetchAvailableBindingsResponse(typing.TypedDict, total=False): bindings: _list[Binding] nextPageToken: str @typing.type_check_only -class Interface(typing_extensions.TypedDict, total=False): - protocolBinding: typing_extensions.Literal[ +class Frontmatter(typing.TypedDict, total=False): + compatibility: str + description: str + license: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class GcsSource(typing.TypedDict, total=False): + generation: str + uri: str + +@typing.type_check_only +class Interface(typing.TypedDict, total=False): + protocolBinding: typing.Literal[ "PROTOCOL_BINDING_UNSPECIFIED", "JSONRPC", "GRPC", "HTTP_JSON" ] url: str @typing.type_check_only -class ListAgentsResponse(typing_extensions.TypedDict, total=False): +class ListAgentsResponse(typing.TypedDict, total=False): agents: _list[Agent] nextPageToken: str @typing.type_check_only -class ListBindingsResponse(typing_extensions.TypedDict, total=False): +class ListBindingsResponse(typing.TypedDict, total=False): bindings: _list[Binding] nextPageToken: str @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMcpServersResponse(typing_extensions.TypedDict, total=False): +class ListMcpServersResponse(typing.TypedDict, total=False): mcpServers: _list[McpServer] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListPublishersResponse(typing.TypedDict, total=False): + nextPageToken: str + publishers: _list[Publisher] + +@typing.type_check_only +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class ListSkillRevisionsResponse(typing.TypedDict, total=False): + nextPageToken: str + skillRevisions: _list[SkillRevision] + +@typing.type_check_only +class ListSkillsResponse(typing.TypedDict, total=False): + nextPageToken: str + skills: _list[Skill] + unreachable: _list[str] + +@typing.type_check_only +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -142,7 +173,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class McpServer(typing_extensions.TypedDict, total=False): +class McpServer(typing.TypedDict, total=False): attributes: dict[str, typing.Any] createTime: str description: str @@ -154,12 +185,12 @@ class McpServer(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class McpServerSpec(typing_extensions.TypedDict, total=False): +class McpServerSpec(typing.TypedDict, total=False): content: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "TOOL_SPEC"] + type: typing.Literal["TYPE_UNSPECIFIED", "NO_SPEC", "TOOL_SPEC"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -167,7 +198,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -177,35 +208,51 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Protocol(typing_extensions.TypedDict, total=False): +class Protocol(typing.TypedDict, total=False): interfaces: _list[Interface] protocolVersion: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "A2A_AGENT", "CUSTOM"] + type: typing.Literal["TYPE_UNSPECIFIED", "A2A_AGENT", "CUSTOM"] + +@typing.type_check_only +class Publisher(typing.TypedDict, total=False): + displayName: str + documentationUri: str + name: str + publisherTier: typing.Literal[ + "PUBLISHER_TIER_UNSPECIFIED", "FIRST_PARTY", "THIRD_PARTY", "PRIVATE" + ] + supportUri: str + verifiedPrefix: str @typing.type_check_only -class SearchAgentsRequest(typing_extensions.TypedDict, total=False): +class SearchAgentsRequest(typing.TypedDict, total=False): pageSize: int pageToken: str searchString: str @typing.type_check_only -class SearchAgentsResponse(typing_extensions.TypedDict, total=False): +class SearchAgentsResponse(typing.TypedDict, total=False): agents: _list[Agent] nextPageToken: str @typing.type_check_only -class SearchMcpServersRequest(typing_extensions.TypedDict, total=False): +class SearchMcpServersRequest(typing.TypedDict, total=False): pageSize: int pageToken: str searchString: str @typing.type_check_only -class SearchMcpServersResponse(typing_extensions.TypedDict, total=False): +class SearchMcpServersResponse(typing.TypedDict, total=False): mcpServers: _list[McpServer] nextPageToken: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class SearchSkillsResponse(typing.TypedDict, total=False): + nextPageToken: str + skills: _list[Skill] + +@typing.type_check_only +class Service(typing.TypedDict, total=False): agentSpec: AgentSpec createTime: str description: str @@ -218,21 +265,68 @@ class Service(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Skill(typing.TypedDict, total=False): + createTime: str + defaultRevision: str + description: str + displayName: str + frontmatter: Frontmatter + initialRevision: SkillRevision + name: str + publisher: str + skillId: str + state: typing.Literal[ + "STATE_UNSPECIFIED", + "STATE_CREATING", + "STATE_DRAFT", + "STATE_ACTIVE", + "STATE_DISABLED", + "STATE_DEPRECATED", + "STATE_DECOMMISSIONED", + "STATE_DELETING", + ] + targetState: typing.Literal[ + "TARGET_STATE_UNSPECIFIED", + "TARGET_STATE_DRAFT", + "TARGET_STATE_ACTIVE", + "TARGET_STATE_DISABLED", + "TARGET_STATE_DEPRECATED", + "TARGET_STATE_DECOMMISSIONED", + ] + type: typing.Literal["TYPE_UNSPECIFIED", "SIMPLE"] + uid: str + updateTime: str + +@typing.type_check_only +class SkillRevision(typing.TypedDict, total=False): + archiveUploadSource: ArchiveUploadSource + createTime: str + frontmatter: Frontmatter + gcsSource: GcsSource + name: str + sha256Hash: str + sizeBytes: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING" + ] + uid: str + +@typing.type_check_only +class Source(typing.TypedDict, total=False): identifier: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): identifier: str @typing.type_check_only -class Tool(typing_extensions.TypedDict, total=False): +class Tool(typing.TypedDict, total=False): annotations: Annotations description: str name: str diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi index b5e016e79..8cc21802e 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -842,6 +841,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 +2521,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( @@ -3514,6 +3619,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, indexEndpoint: str, body: GoogleCloudAiplatformV1DeployedIndex, + updateMask: str | None = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def patch( @@ -3628,6 +3734,183 @@ 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: ... + + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1MemoryRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListMemoryRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListMemoryRevisionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListMemoryRevisionsResponse, + ) -> ( + GoogleCloudAiplatformV1ListMemoryRevisionsResponseHttpRequest + | None + ): ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Memory, + memoryId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1GenerateMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListMemoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListMemoriesResponse, + ) -> ( + GoogleCloudAiplatformV1ListMemoriesResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Memory, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1PurgeMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1RetrieveMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1RetrieveMemoriesResponseHttpRequest: ... + def rollback( + self, + *, + name: str, + body: GoogleCloudAiplatformV1RollbackMemoryRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def revisions(self) -> RevisionsResource: ... + + @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 ingestEvents( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1IngestEventsRequest, + **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 @@ -4594,7 +4877,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", @@ -4610,7 +4893,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", @@ -5212,7 +5495,23 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleApiHttpBodyHttpRequest: ... def invoke(self) -> InvokeResource: ... + @typing.type_check_only + class V1Resource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ResponsesResource(googleapiclient.discovery.Resource): + def compact( + self, + *, + endpoint: str, + body: GoogleApiHttpBody, + deployedModelId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + def responses(self) -> ResponsesResource: ... + def models(self) -> ModelsResource: ... + def v1(self) -> V1Resource: ... @typing.type_check_only class RagCorporaResource(googleapiclient.discovery.Resource): @@ -5844,6 +6143,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1SessionEvent, **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1AppendEventResponseHttpRequest: ... + def compact( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CompactSessionRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, @@ -6170,6 +6476,44 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class ServingProfilesResource(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 SkillsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -6979,6 +7323,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 +7505,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 +7514,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( @@ -7187,6 +7540,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def semanticGovernancePolicyEngine( self, ) -> SemanticGovernancePolicyEngineResource: ... + def servingProfiles(self) -> ServingProfilesResource: ... def skills(self) -> SkillsResource: ... def specialistPools(self) -> SpecialistPoolsResource: ... def studies(self) -> StudiesResource: ... @@ -7245,7 +7599,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): huggingFaceToken: str | None = ..., isHuggingFaceModel: bool | None = ..., languageCode: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "PUBLISHER_MODEL_VIEW_UNSPECIFIED", "PUBLISHER_MODEL_VIEW_BASIC", "PUBLISHER_MODEL_VIEW_FULL", @@ -7819,6 +8173,40 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... + @typing.type_check_only + class ServingProfilesResource(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 SkillsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -8167,6 +8555,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 +8607,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( @@ -8236,6 +8628,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def reasoningEngines(self) -> ReasoningEnginesResource: ... def schedules(self) -> SchedulesResource: ... def semanticGovernancePolicies(self) -> SemanticGovernancePoliciesResource: ... + def servingProfiles(self) -> ServingProfilesResource: ... def skills(self) -> SkillsResource: ... def specialistPools(self) -> SpecialistPoolsResource: ... def studies(self) -> StudiesResource: ... @@ -8564,6 +8957,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 +9349,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..35fe1382d 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -1,84 +1,154 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoExperiments( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionGenerateVideoExperiments(typing.TypedDict, total=False): anchorLastFrame: bool - codec: typing_extensions.Literal[ + audioControl: CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig + cfgScale: float + codec: typing.Literal[ "VIDEO_CODEC_UNSPECIFIED", "VIDEO_CODEC_H264", "VIDEO_CODEC_PRORES", "VIDEO_CODEC_DNXHR", ] + colorAlignment: CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig conditioningFrames: _list[ CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame ] customParameters: dict[str, typing.Any] + exrColorSpaceOverride: str humanPose: CloudAiLargeModelsVisionHumanPose modelName: str numDiffusionSteps: int + omniRewriter: CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig originalRequestJson: str + outpaintConfig: CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig promptInputs: CloudAiLargeModelsVisionPromptInputs requestOriginTag: str schedulingConfig: CloudAiLargeModelsVisionGenerateVideoExperimentsVESchedulingConfig seamless: CloudAiLargeModelsVisionSeamless + spatialAlignment: ( + CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig + ) truncateInputVideo: bool + videoTransform: CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform videoTransformMaskGcsUri: str videoTransformStrength: float +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig( + typing.TypedDict, total=False +): + targetAudio: CloudAiLargeModelsVisionGenerateVideoRequestAudio + useTargetAudioFromVideo: bool + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig( + typing.TypedDict, total=False +): + enable: bool + @typing.type_check_only class CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frameNum: int image: CloudAiLargeModelsVisionGenerateVideoRequestImage +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig( + typing.TypedDict, total=False +): + maxChunkDuration: float + rewriterInputFps: int + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig( + typing.TypedDict, total=False +): + inputFrames: _list[ + CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource + ] + outputSpec: typing.Literal[ + "OUTPUT_SPEC_UNSPECIFIED", + "OUTPUT_SPEC_1920X1072x72", + "OUTPUT_SPEC_1280X720x192", + "OUTPUT_SPEC_960X544x432", + ] + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource( + typing.TypedDict, total=False +): + globPattern: str + horizontalOffset: int + verticalOffset: int + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig( + typing.TypedDict, total=False +): + enable: bool + @typing.type_check_only class CloudAiLargeModelsVisionGenerateVideoExperimentsVESchedulingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableRetry: bool @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoRequestImage( - typing_extensions.TypedDict, total=False +class CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform( + typing.TypedDict, total=False ): + initializationVideo: CloudAiLargeModelsVisionGenerateVideoRequestVideo + mask: CloudAiLargeModelsVisionGenerateVideoRequestVideo + noiseStrength: float + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoRequestAudio(typing.TypedDict, total=False): blobId: str bytesBase64Encoded: str gcsUri: str mimeType: str @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoResponse( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionGenerateVideoRequestImage(typing.TypedDict, total=False): + blobId: str + bytesBase64Encoded: str + gcsUri: str + mimeType: str + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoRequestVideo(typing.TypedDict, total=False): + blobId: str + bytesBase64Encoded: str + gcsUri: str + mimeType: str + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoResponse(typing.TypedDict, total=False): generatedSamples: _list[CloudAiLargeModelsVisionMedia] raiMediaFilteredCount: int raiMediaFilteredReasons: _list[str] videos: _list[CloudAiLargeModelsVisionGenerateVideoResponseVideo] @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoResponseVideo( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionGenerateVideoResponseVideo(typing.TypedDict, total=False): bytesBase64Encoded: str experimentsMetadata: CloudAiLargeModelsVisionGenerateVideoExperiments gcsUri: str mimeType: str @typing.type_check_only -class CloudAiLargeModelsVisionHumanPose(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionHumanPose(typing.TypedDict, total=False): bodyLandmarksGcsUri: str faceLandmarksGcsUri: str perfMeshGcsUri: str @typing.type_check_only -class CloudAiLargeModelsVisionImage(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionImage(typing.TypedDict, total=False): encoding: str generationSeed: int image: str @@ -90,24 +160,22 @@ class CloudAiLargeModelsVisionImage(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class CloudAiLargeModelsVisionImageImageSize(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionImageImageSize(typing.TypedDict, total=False): channels: int height: int width: int @typing.type_check_only -class CloudAiLargeModelsVisionImageRAIScores(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionImageRAIScores(typing.TypedDict, total=False): agileWatermarkDetectionScore: float @typing.type_check_only -class CloudAiLargeModelsVisionMedia(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionMedia(typing.TypedDict, total=False): image: CloudAiLargeModelsVisionImage video: CloudAiLargeModelsVisionVideo @typing.type_check_only -class CloudAiLargeModelsVisionNamedBoundingBox( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionNamedBoundingBox(typing.TypedDict, total=False): classes: _list[str] entities: _list[str] scores: _list[float] @@ -117,7 +185,7 @@ class CloudAiLargeModelsVisionNamedBoundingBox( y2: float @typing.type_check_only -class CloudAiLargeModelsVisionPromptInputs(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionPromptInputs(typing.TypedDict, total=False): audioPrompt: str negativeAudioPrompt: str negativePrompt: str @@ -125,7 +193,7 @@ class CloudAiLargeModelsVisionPromptInputs(typing_extensions.TypedDict, total=Fa transcript: str @typing.type_check_only -class CloudAiLargeModelsVisionRaiInfo(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionRaiInfo(typing.TypedDict, total=False): blockedEntities: _list[str] detectedLabels: _list[CloudAiLargeModelsVisionRaiInfoDetectedLabels] modelName: str @@ -133,15 +201,13 @@ class CloudAiLargeModelsVisionRaiInfo(typing_extensions.TypedDict, total=False): scores: _list[float] @typing.type_check_only -class CloudAiLargeModelsVisionRaiInfoDetectedLabels( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionRaiInfoDetectedLabels(typing.TypedDict, total=False): entities: _list[CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity] raiCategory: str @typing.type_check_only class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x1: int x2: int @@ -150,7 +216,7 @@ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox( @typing.type_check_only class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBox: CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox description: str @@ -159,20 +225,18 @@ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity( score: float @typing.type_check_only -class CloudAiLargeModelsVisionSeamless(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionSeamless(typing.TypedDict, total=False): loop: bool tessellateHorizontal: bool tessellateVertical: bool @typing.type_check_only -class CloudAiLargeModelsVisionSemanticFilterResponse( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionSemanticFilterResponse(typing.TypedDict, total=False): namedBoundingBoxes: _list[CloudAiLargeModelsVisionNamedBoundingBox] passedSemanticFilter: bool @typing.type_check_only -class CloudAiLargeModelsVisionVideo(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionVideo(typing.TypedDict, total=False): encodedVideo: str encoding: str text: str @@ -181,9 +245,9 @@ class CloudAiLargeModelsVisionVideo(typing_extensions.TypedDict, total=False): @typing.type_check_only class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - errorCause: typing_extensions.Literal[ + errorCause: typing.Literal[ "ERROR_CAUSE_UNSPECIFIED", "INVALID_PIPELINE_SPEC_FORMAT", "INVALID_PIPELINE_SPEC", @@ -213,26 +277,24 @@ class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail( publicMessage: str @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudAiplatformV1ActivateOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1ActivateOnlineEvaluatorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1ActiveLearningConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ActiveLearningConfig(typing.TypedDict, total=False): maxDataItemCount: str maxDataItemPercentage: int sampleConfig: GoogleCloudAiplatformV1SampleConfig @@ -240,46 +302,40 @@ class GoogleCloudAiplatformV1ActiveLearningConfig( @typing.type_check_only class GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifacts: _list[str] executions: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1AddContextChildrenRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AddContextChildrenRequest(typing.TypedDict, total=False): childContexts: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1AddContextChildrenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1AddExecutionEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AddExecutionEventsRequest(typing.TypedDict, total=False): events: _list[GoogleCloudAiplatformV1Event] @typing.type_check_only class GoogleCloudAiplatformV1AddExecutionEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1AddTrialMeasurementRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AddTrialMeasurementRequest(typing.TypedDict, total=False): measurement: GoogleCloudAiplatformV1Measurement @typing.type_check_only -class GoogleCloudAiplatformV1Agent(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Agent(typing.TypedDict, total=False): base_agent: str base_environment: typing.Any created: str @@ -293,7 +349,7 @@ class GoogleCloudAiplatformV1Agent(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class GoogleCloudAiplatformV1AgentConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1AgentConfig(typing.TypedDict, total=False): agentId: str agentType: str description: str @@ -302,24 +358,33 @@ class GoogleCloudAiplatformV1AgentConfig(typing_extensions.TypedDict, total=Fals tools: _list[GoogleCloudAiplatformV1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1AgentTool(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1AgentData(typing.TypedDict, total=False): + agents: dict[str, typing.Any] + turns: _list[GoogleCloudAiplatformV1ConversationTurn] + +@typing.type_check_only +class GoogleCloudAiplatformV1AgentEvent(typing.TypedDict, total=False): + activeTools: _list[GoogleCloudAiplatformV1Tool] + author: str + content: GoogleCloudAiplatformV1Content + eventTime: str + stateDelta: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1AgentTool(typing.TypedDict, total=False): headers: dict[str, typing.Any] name: str type: str url: str @typing.type_check_only -class GoogleCloudAiplatformV1AggregationOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AggregationOutput(typing.TypedDict, total=False): aggregationResults: _list[GoogleCloudAiplatformV1AggregationResult] dataset: GoogleCloudAiplatformV1EvaluationDataset @typing.type_check_only -class GoogleCloudAiplatformV1AggregationResult( - typing_extensions.TypedDict, total=False -): - aggregationMetric: typing_extensions.Literal[ +class GoogleCloudAiplatformV1AggregationResult(typing.TypedDict, total=False): + aggregationMetric: typing.Literal[ "AGGREGATION_METRIC_UNSPECIFIED", "AVERAGE", "MODE", @@ -340,7 +405,7 @@ class GoogleCloudAiplatformV1AggregationResult( rougeMetricValue: GoogleCloudAiplatformV1RougeMetricValue @typing.type_check_only -class GoogleCloudAiplatformV1Annotation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Annotation(typing.TypedDict, total=False): annotationSource: GoogleCloudAiplatformV1UserActionReference createTime: str etag: str @@ -351,7 +416,7 @@ class GoogleCloudAiplatformV1Annotation(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1AnnotationSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1AnnotationSpec(typing.TypedDict, total=False): createTime: str displayName: str etag: str @@ -359,23 +424,19 @@ class GoogleCloudAiplatformV1AnnotationSpec(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1ApiAuth(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ApiAuth(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1ApiAuthApiKeyConfig @typing.type_check_only -class GoogleCloudAiplatformV1ApiAuthApiKeyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ApiAuthApiKeyConfig(typing.TypedDict, total=False): apiKeySecretVersion: str apiKeyString: str @typing.type_check_only -class GoogleCloudAiplatformV1AppendEventResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1AppendEventResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1Artifact(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Artifact(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -385,34 +446,30 @@ class GoogleCloudAiplatformV1Artifact(typing_extensions.TypedDict, total=False): name: str schemaTitle: str schemaVersion: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "LIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "LIVE"] updateTime: str uri: str @typing.type_check_only -class GoogleCloudAiplatformV1AskContextsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AskContextsRequest(typing.TypedDict, total=False): query: GoogleCloudAiplatformV1RagQuery tools: _list[GoogleCloudAiplatformV1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1AskContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AskContextsResponse(typing.TypedDict, total=False): contexts: GoogleCloudAiplatformV1RagContexts response: str @typing.type_check_only class GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1AssignNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebookRuntime: GoogleCloudAiplatformV1NotebookRuntime notebookRuntimeId: str @@ -420,20 +477,20 @@ class GoogleCloudAiplatformV1AssignNotebookRuntimeRequest( @typing.type_check_only class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsUri: str outputGcsUri: str @typing.type_check_only class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: GoogleCloudAiplatformV1RagQuery tools: _list[GoogleCloudAiplatformV1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1Attribution(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Attribution(typing.TypedDict, total=False): approximationError: float baselineOutputValue: float featureAttributions: typing.Any @@ -443,12 +500,10 @@ class GoogleCloudAiplatformV1Attribution(typing_extensions.TypedDict, total=Fals outputName: str @typing.type_check_only -class GoogleCloudAiplatformV1AudioResponseFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AudioResponseFormat(typing.TypedDict, total=False): bitRate: int - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - mimeType: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + mimeType: typing.Literal[ "MIME_TYPE_UNSPECIFIED", "AUDIO_MP3", "AUDIO_OGG_OPUS", @@ -460,31 +515,58 @@ class GoogleCloudAiplatformV1AudioResponseFormat( sampleRate: int @typing.type_check_only -class GoogleCloudAiplatformV1AugmentPromptRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1AudioTranscription(typing.TypedDict, total=False): + speakerLabel: str + text: str + words: _list[GoogleCloudAiplatformV1AudioTranscriptionWordInfo] + +@typing.type_check_only +class GoogleCloudAiplatformV1AudioTranscriptionConfig(typing.TypedDict, total=False): + adaptationPhrases: _list[str] + customVocabulary: _list[str] + diarization: bool + languageAuto: GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto + languageCodes: _list[str] + languageHints: GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints + wordTimestamp: bool + +@typing.type_check_only +class GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints( + typing.TypedDict, total=False ): + languageCodes: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1AudioTranscriptionWordInfo(typing.TypedDict, total=False): + endOffset: str + startOffset: str + word: str + +@typing.type_check_only +class GoogleCloudAiplatformV1AugmentPromptRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1Content] model: GoogleCloudAiplatformV1AugmentPromptRequestModel vertexRagStore: GoogleCloudAiplatformV1VertexRagStore @typing.type_check_only -class GoogleCloudAiplatformV1AugmentPromptRequestModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AugmentPromptRequestModel(typing.TypedDict, total=False): model: str modelVersion: str @typing.type_check_only -class GoogleCloudAiplatformV1AugmentPromptResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AugmentPromptResponse(typing.TypedDict, total=False): augmentedPrompt: _list[GoogleCloudAiplatformV1Content] facts: _list[GoogleCloudAiplatformV1Fact] @typing.type_check_only -class GoogleCloudAiplatformV1AuthConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1AuthConfig(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1AuthConfigApiKeyConfig - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "NO_AUTH", "API_KEY_AUTH", @@ -501,12 +583,10 @@ class GoogleCloudAiplatformV1AuthConfig(typing_extensions.TypedDict, total=False oidcConfig: GoogleCloudAiplatformV1AuthConfigOidcConfig @typing.type_check_only -class GoogleCloudAiplatformV1AuthConfigApiKeyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AuthConfigApiKeyConfig(typing.TypedDict, total=False): apiKeySecret: str apiKeyString: str - httpElementLocation: typing_extensions.Literal[ + httpElementLocation: typing.Literal[ "HTTP_IN_UNSPECIFIED", "HTTP_IN_QUERY", "HTTP_IN_HEADER", @@ -518,144 +598,130 @@ class GoogleCloudAiplatformV1AuthConfigApiKeyConfig( @typing.type_check_only class GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only class GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): credentialSecret: str @typing.type_check_only -class GoogleCloudAiplatformV1AuthConfigOauthConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AuthConfigOauthConfig(typing.TypedDict, total=False): accessToken: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1AuthConfigOidcConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AuthConfigOidcConfig(typing.TypedDict, total=False): idToken: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1AutomaticResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AutomaticResources(typing.TypedDict, total=False): maxReplicaCount: int minReplicaCount: int @typing.type_check_only -class GoogleCloudAiplatformV1AutoraterConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1AutoraterConfig(typing.TypedDict, total=False): autoraterModel: str flipEnabled: bool generationConfig: GoogleCloudAiplatformV1GenerationConfig samplingCount: int @typing.type_check_only -class GoogleCloudAiplatformV1AutoscalingMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1AutoscalingMetricSpec(typing.TypedDict, total=False): metricName: str target: int @typing.type_check_only -class GoogleCloudAiplatformV1AvroSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1AvroSource(typing.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1GcsSource @typing.type_check_only class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1BatchCreateFeaturesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1BatchCreateFeaturesRequest(typing.TypedDict, total=False): requests: _list[GoogleCloudAiplatformV1CreateFeatureRequest] @typing.type_check_only -class GoogleCloudAiplatformV1BatchCreateFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1BatchCreateFeaturesResponse(typing.TypedDict, total=False): features: _list[GoogleCloudAiplatformV1Feature] @typing.type_check_only class GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudAiplatformV1CreateTensorboardRunRequest] @typing.type_check_only class GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tensorboardRuns: _list[GoogleCloudAiplatformV1TensorboardRun] @typing.type_check_only class GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest] @typing.type_check_only class GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tensorboardTimeSeries: _list[GoogleCloudAiplatformV1TensorboardTimeSeries] @typing.type_check_only -class GoogleCloudAiplatformV1BatchDedicatedResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1BatchDedicatedResources(typing.TypedDict, total=False): machineSpec: GoogleCloudAiplatformV1MachineSpec maxReplicaCount: int startingReplicaCount: int @typing.type_check_only class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedAnnotations: _list[GoogleCloudAiplatformV1EvaluatedAnnotation] @typing.type_check_only class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): importedEvaluatedAnnotationsCount: int @typing.type_check_only class GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluationSlices: _list[GoogleCloudAiplatformV1ModelEvaluationSlice] @typing.type_check_only class GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): importedModelEvaluationSlices: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata partialResults: _list[ @@ -664,7 +730,7 @@ class GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str error: GoogleRpcStatus @@ -673,20 +739,18 @@ class GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult @typing.type_check_only class GoogleCloudAiplatformV1BatchMigrateResourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrateResourceRequests: _list[GoogleCloudAiplatformV1MigrateResourceRequest] @typing.type_check_only class GoogleCloudAiplatformV1BatchMigrateResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrateResourceResponses: _list[GoogleCloudAiplatformV1MigrateResourceResponse] @typing.type_check_only -class GoogleCloudAiplatformV1BatchPredictionJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1BatchPredictionJob(typing.TypedDict, total=False): completionStats: GoogleCloudAiplatformV1CompletionStats createTime: str dedicatedResources: GoogleCloudAiplatformV1BatchDedicatedResources @@ -713,7 +777,7 @@ class GoogleCloudAiplatformV1BatchPredictionJob( satisfiesPzs: bool serviceAccount: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -732,7 +796,7 @@ class GoogleCloudAiplatformV1BatchPredictionJob( @typing.type_check_only class GoogleCloudAiplatformV1BatchPredictionJobInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudAiplatformV1BigQuerySource gcsSource: GoogleCloudAiplatformV1GcsSource @@ -741,7 +805,7 @@ class GoogleCloudAiplatformV1BatchPredictionJobInputConfig( @typing.type_check_only class GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): excludedFields: _list[str] includedFields: _list[str] @@ -750,7 +814,7 @@ class GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig( @typing.type_check_only class GoogleCloudAiplatformV1BatchPredictionJobOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination gcsDestination: GoogleCloudAiplatformV1GcsDestination @@ -761,7 +825,7 @@ class GoogleCloudAiplatformV1BatchPredictionJobOutputConfig( @typing.type_check_only class GoogleCloudAiplatformV1BatchPredictionJobOutputInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryOutputDataset: str bigqueryOutputTable: str @@ -770,13 +834,13 @@ class GoogleCloudAiplatformV1BatchPredictionJobOutputInfo( @typing.type_check_only class GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1BatchReadFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryReadInstances: GoogleCloudAiplatformV1BigQuerySource csvReadInstances: GoogleCloudAiplatformV1CsvSource @@ -791,7 +855,7 @@ class GoogleCloudAiplatformV1BatchReadFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypeId: str featureSelector: GoogleCloudAiplatformV1FeatureSelector @@ -799,31 +863,27 @@ class GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec( @typing.type_check_only class GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str @typing.type_check_only class GoogleCloudAiplatformV1BatchReadFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeSeriesData: _list[GoogleCloudAiplatformV1TimeSeriesData] @typing.type_check_only -class GoogleCloudAiplatformV1BigQueryDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1BigQueryDestination(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1BigQueryRequestSet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1BigQueryRequestSet(typing.TypedDict, total=False): candidateResponseColumns: dict[str, typing.Any] promptColumn: str rubricsColumn: str @@ -832,61 +892,59 @@ class GoogleCloudAiplatformV1BigQueryRequestSet( @typing.type_check_only class GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): samplingCount: int samplingDuration: str - samplingMethod: typing_extensions.Literal["SAMPLING_METHOD_UNSPECIFIED", "RANDOM"] + samplingMethod: typing.Literal["SAMPLING_METHOD_UNSPECIFIED", "RANDOM"] @typing.type_check_only -class GoogleCloudAiplatformV1BigQuerySource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1BigQuerySource(typing.TypedDict, total=False): inputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1BleuInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1BleuInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1BleuInstance] metricSpec: GoogleCloudAiplatformV1BleuSpec @typing.type_check_only -class GoogleCloudAiplatformV1BleuInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1BleuInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1BleuMetricValue(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1BleuMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1BleuResults(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1BleuResults(typing.TypedDict, total=False): bleuMetricValues: _list[GoogleCloudAiplatformV1BleuMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1BleuSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1BleuSpec(typing.TypedDict, total=False): useEffectiveOrder: bool @typing.type_check_only -class GoogleCloudAiplatformV1Blob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Blob(typing.TypedDict, total=False): data: str displayName: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1BlurBaselineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1BlurBaselineConfig(typing.TypedDict, total=False): maxBlurSigma: float @typing.type_check_only -class GoogleCloudAiplatformV1BoolArray(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1BoolArray(typing.TypedDict, total=False): values: _list[bool] @typing.type_check_only -class GoogleCloudAiplatformV1CacheConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CacheConfig(typing.TypedDict, total=False): disableCache: bool name: str @typing.type_check_only -class GoogleCloudAiplatformV1CachedContent(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CachedContent(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1Content] createTime: str displayName: str @@ -902,9 +960,7 @@ class GoogleCloudAiplatformV1CachedContent(typing_extensions.TypedDict, total=Fa usageMetadata: GoogleCloudAiplatformV1CachedContentUsageMetadata @typing.type_check_only -class GoogleCloudAiplatformV1CachedContentUsageMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CachedContentUsageMetadata(typing.TypedDict, total=False): audioDurationSeconds: int imageCount: int textCount: int @@ -913,67 +969,61 @@ class GoogleCloudAiplatformV1CachedContentUsageMetadata( @typing.type_check_only class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operationName: str @typing.type_check_only class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1CancelCustomJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1CancelCustomJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1CancelDataLabelingJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1CancelEvaluationRunRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1CancelNasJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1CancelNasJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1CancelPipelineJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1CancelTrainingPipelineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1CancelTuningJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1CancelTuningJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Candidate(typing.TypedDict, total=False): avgLogprobs: float citationMetadata: GoogleCloudAiplatformV1CitationMetadata content: GoogleCloudAiplatformV1Content finishMessage: str - finishReason: typing_extensions.Literal[ + finishReason: typing.Literal[ "FINISH_REASON_UNSPECIFIED", "STOP", "MAX_TOKENS", @@ -999,18 +1049,18 @@ class GoogleCloudAiplatformV1Candidate(typing_extensions.TypedDict, total=False) urlContextMetadata: GoogleCloudAiplatformV1UrlContextMetadata @typing.type_check_only -class GoogleCloudAiplatformV1CandidateResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CandidateResponse(typing.TypedDict, total=False): + agentData: GoogleCloudAiplatformV1AgentData candidate: str error: GoogleRpcStatus text: str value: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1CandidateResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CandidateResult(typing.TypedDict, total=False): additionalResults: typing.Any candidate: str + error: GoogleRpcStatus explanation: str metric: str rubricVerdicts: _list[GoogleCloudAiplatformV1RubricVerdict] @@ -1018,7 +1068,7 @@ class GoogleCloudAiplatformV1CandidateResult(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata study: str @@ -1026,29 +1076,29 @@ class GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata( @typing.type_check_only class GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shouldStop: bool @typing.type_check_only -class GoogleCloudAiplatformV1Checkpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Checkpoint(typing.TypedDict, total=False): checkpointId: str epoch: str step: str @typing.type_check_only -class GoogleCloudAiplatformV1Chunk(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Chunk(typing.TypedDict, total=False): data: str metadata: GoogleCloudAiplatformV1Metadata mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1Citation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Citation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: GoogleTypeDate @@ -1057,27 +1107,39 @@ class GoogleCloudAiplatformV1Citation(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudAiplatformV1CitationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudAiplatformV1Citation] @typing.type_check_only -class GoogleCloudAiplatformV1Claim(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Claim(typing.TypedDict, total=False): endIndex: int factIndexes: _list[int] score: float startIndex: int @typing.type_check_only -class GoogleCloudAiplatformV1ClientConnectionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ClientConnectionConfig(typing.TypedDict, total=False): inferenceTimeout: str @typing.type_check_only -class GoogleCloudAiplatformV1CodeExecutionResult( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1CloudLoggingConfig(typing.TypedDict, total=False): + project: str + resourceLabels: dict[str, typing.Any] + resourceType: str + tracingContext: GoogleCloudAiplatformV1CloudLoggingConfigTracingContext + +@typing.type_check_only +class GoogleCloudAiplatformV1CloudLoggingConfigTracingContext( + typing.TypedDict, total=False ): - outcome: typing_extensions.Literal[ + conversationId: str + spanId: str + traceId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1CodeExecutionResult(typing.TypedDict, total=False): + id: str + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -1086,120 +1148,129 @@ class GoogleCloudAiplatformV1CodeExecutionResult( output: str @typing.type_check_only -class GoogleCloudAiplatformV1CoherenceInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CoherenceInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1CoherenceInstance metricSpec: GoogleCloudAiplatformV1CoherenceSpec @typing.type_check_only -class GoogleCloudAiplatformV1CoherenceInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CoherenceInstance(typing.TypedDict, total=False): prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1CoherenceResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CoherenceResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1CoherenceSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CoherenceSpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1ColabImage(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ColabImage(typing.TypedDict, total=False): description: str releaseName: str @typing.type_check_only -class GoogleCloudAiplatformV1CometInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CometInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1CometInstance metricSpec: GoogleCloudAiplatformV1CometSpec @typing.type_check_only -class GoogleCloudAiplatformV1CometInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CometInstance(typing.TypedDict, total=False): prediction: str reference: str source: str @typing.type_check_only -class GoogleCloudAiplatformV1CometResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CometResult(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1CometSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CometSpec(typing.TypedDict, total=False): sourceLanguage: str targetLanguage: str - version: typing_extensions.Literal["COMET_VERSION_UNSPECIFIED", "COMET_22_SRC_REF"] + version: typing.Literal["COMET_VERSION_UNSPECIFIED", "COMET_22_SRC_REF"] + +@typing.type_check_only +class GoogleCloudAiplatformV1CompactSessionRequest(typing.TypedDict, total=False): + compaction: GoogleCloudAiplatformV1CompactionConfig @typing.type_check_only -class GoogleCloudAiplatformV1CompleteTrialRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1CompactionConfig(typing.TypedDict, total=False): + eventEditing: GoogleCloudAiplatformV1CompactionConfigEventEditingConfig + summarization: GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1CompactionConfigEventEditingConfig( + typing.TypedDict, total=False +): + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO"] + +@typing.type_check_only +class GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig( + typing.TypedDict, total=False ): + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO"] + +@typing.type_check_only +class GoogleCloudAiplatformV1CompleteTrialRequest(typing.TypedDict, total=False): finalMeasurement: GoogleCloudAiplatformV1Measurement infeasibleReason: str trialInfeasible: bool @typing.type_check_only -class GoogleCloudAiplatformV1CompletionStats(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CompletionStats(typing.TypedDict, total=False): failedCount: str incompleteCount: str successfulCount: str successfulForecastPointCount: str @typing.type_check_only -class GoogleCloudAiplatformV1ComputationBasedMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ComputationBasedMetricSpec(typing.TypedDict, total=False): parameters: dict[str, typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" ] @typing.type_check_only -class GoogleCloudAiplatformV1ComputeTokensRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ComputeTokensRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1Content] instances: _list[typing.Any] model: str @typing.type_check_only -class GoogleCloudAiplatformV1ComputeTokensResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ComputeTokensResponse(typing.TypedDict, total=False): tokensInfo: _list[GoogleCloudAiplatformV1TokensInfo] @typing.type_check_only class GoogleCloudAiplatformV1ContainerRegistryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1ContainerSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ContainerSpec(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: _list[GoogleCloudAiplatformV1EnvVar] imageUri: str @typing.type_check_only -class GoogleCloudAiplatformV1Content(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Content(typing.TypedDict, total=False): parts: _list[GoogleCloudAiplatformV1Part] role: str @typing.type_check_only -class GoogleCloudAiplatformV1ContentMap(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ContentMap(typing.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1ContentMapContents( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ContentMapContents(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1Content] @typing.type_check_only -class GoogleCloudAiplatformV1Context(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Context(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1213,13 +1284,17 @@ class GoogleCloudAiplatformV1Context(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1CopyModelOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ConversationTurn(typing.TypedDict, total=False): + events: _list[GoogleCloudAiplatformV1AgentEvent] + turnId: str + turnIndex: int + +@typing.type_check_only +class GoogleCloudAiplatformV1CopyModelOperationMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1CopyModelRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CopyModelRequest(typing.TypedDict, total=False): customServiceAccount: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec modelId: str @@ -1227,42 +1302,34 @@ class GoogleCloudAiplatformV1CopyModelRequest(typing_extensions.TypedDict, total sourceModel: str @typing.type_check_only -class GoogleCloudAiplatformV1CopyModelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CopyModelResponse(typing.TypedDict, total=False): model: str modelVersionId: str @typing.type_check_only -class GoogleCloudAiplatformV1CorpusStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CorpusStatus(typing.TypedDict, total=False): errorStatus: str - state: typing_extensions.Literal["UNKNOWN", "INITIALIZED", "ACTIVE", "ERROR"] + state: typing.Literal["UNKNOWN", "INITIALIZED", "ACTIVE", "ERROR"] @typing.type_check_only -class GoogleCloudAiplatformV1CorroborateContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CorroborateContentRequest(typing.TypedDict, total=False): content: GoogleCloudAiplatformV1Content facts: _list[GoogleCloudAiplatformV1Fact] parameters: GoogleCloudAiplatformV1CorroborateContentRequestParameters @typing.type_check_only class GoogleCloudAiplatformV1CorroborateContentRequestParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationThreshold: float @typing.type_check_only -class GoogleCloudAiplatformV1CorroborateContentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CorroborateContentResponse(typing.TypedDict, total=False): claims: _list[GoogleCloudAiplatformV1Claim] corroborationScore: float @typing.type_check_only -class GoogleCloudAiplatformV1CountTokensRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CountTokensRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1Content] generationConfig: GoogleCloudAiplatformV1GenerationConfig instances: _list[typing.Any] @@ -1271,43 +1338,41 @@ class GoogleCloudAiplatformV1CountTokensRequest( tools: _list[GoogleCloudAiplatformV1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1CountTokensResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CountTokensResponse(typing.TypedDict, total=False): promptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] totalBillableCharacters: int totalTokens: int @typing.type_check_only class GoogleCloudAiplatformV1CreateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateDatasetVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deploymentResourcePool: GoogleCloudAiplatformV1DeploymentResourcePool deploymentResourcePoolId: str @typing.type_check_only class GoogleCloudAiplatformV1CreateEndpointOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - deploymentStage: typing_extensions.Literal[ + deploymentStage: typing.Literal[ "DEPLOYMENT_STAGE_UNSPECIFIED", "STARTING_DEPLOYMENT", "PREPARING_MODEL", @@ -1324,57 +1389,55 @@ class GoogleCloudAiplatformV1CreateEndpointOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1CreateEntityTypeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateFeatureOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1CreateFeatureRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CreateFeatureRequest(typing.TypedDict, total=False): feature: GoogleCloudAiplatformV1Feature featureId: str parent: str @typing.type_check_only class GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata nearestNeighborSearchOperationMetadata: ( @@ -1383,20 +1446,20 @@ class GoogleCloudAiplatformV1CreateIndexOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1CreateMetadataStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateNotebookExecutionJobOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebookExecutionJob: GoogleCloudAiplatformV1NotebookExecutionJob notebookExecutionJobId: str @@ -1404,93 +1467,85 @@ class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest( @typing.type_check_only class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreatePersistentResourceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str @typing.type_check_only -class GoogleCloudAiplatformV1CreatePipelineJobRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CreatePipelineJobRequest(typing.TypedDict, total=False): parent: str pipelineJob: GoogleCloudAiplatformV1PipelineJob pipelineJobId: str @typing.type_check_only class GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateServingProfileOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1CreateTensorboardOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1CreateTensorboardRunRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CreateTensorboardRunRequest(typing.TypedDict, total=False): parent: str tensorboardRun: GoogleCloudAiplatformV1TensorboardRun tensorboardRunId: str @typing.type_check_only class GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str tensorboardTimeSeries: GoogleCloudAiplatformV1TensorboardTimeSeries tensorboardTimeSeriesId: str @typing.type_check_only -class GoogleCloudAiplatformV1CsvDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CsvDestination(typing.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1CsvSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CsvSource(typing.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1GcsSource @typing.type_check_only -class GoogleCloudAiplatformV1CustomCodeExecutionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CustomCodeExecutionResult(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1CustomCodeExecutionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CustomCodeExecutionSpec(typing.TypedDict, total=False): evaluationFunction: str @typing.type_check_only -class GoogleCloudAiplatformV1CustomJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CustomJob(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec @@ -1502,7 +1557,7 @@ class GoogleCloudAiplatformV1CustomJob(typing_extensions.TypedDict, total=False) satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -1520,7 +1575,7 @@ class GoogleCloudAiplatformV1CustomJob(typing_extensions.TypedDict, total=False) webAccessUris: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1CustomJobSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CustomJobSpec(typing.TypedDict, total=False): baseOutputDirectory: GoogleCloudAiplatformV1GcsDestination enableDashboardAccess: bool enableWebAccess: bool @@ -1538,17 +1593,15 @@ class GoogleCloudAiplatformV1CustomJobSpec(typing_extensions.TypedDict, total=Fa workerPoolSpecs: _list[GoogleCloudAiplatformV1WorkerPoolSpec] @typing.type_check_only -class GoogleCloudAiplatformV1CustomOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1CustomOutput(typing.TypedDict, total=False): rawOutputs: GoogleCloudAiplatformV1RawOutput @typing.type_check_only -class GoogleCloudAiplatformV1CustomOutputFormatConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1CustomOutputFormatConfig(typing.TypedDict, total=False): returnRawOutput: bool @typing.type_check_only -class GoogleCloudAiplatformV1DataItem(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DataItem(typing.TypedDict, total=False): createTime: str etag: str labels: dict[str, typing.Any] @@ -1559,13 +1612,13 @@ class GoogleCloudAiplatformV1DataItem(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1DataItemView(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DataItemView(typing.TypedDict, total=False): annotations: _list[GoogleCloudAiplatformV1Annotation] dataItem: GoogleCloudAiplatformV1DataItem hasTruncatedAnnotations: bool @typing.type_check_only -class GoogleCloudAiplatformV1DataLabelingJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DataLabelingJob(typing.TypedDict, total=False): activeLearningConfig: GoogleCloudAiplatformV1ActiveLearningConfig annotationLabels: dict[str, typing.Any] createTime: str @@ -1582,7 +1635,7 @@ class GoogleCloudAiplatformV1DataLabelingJob(typing_extensions.TypedDict, total= labels: dict[str, typing.Any] name: str specialistPools: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -1599,7 +1652,7 @@ class GoogleCloudAiplatformV1DataLabelingJob(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Dataset(typing.TypedDict, total=False): createTime: str dataItemCount: str description: str @@ -1618,16 +1671,12 @@ class GoogleCloudAiplatformV1Dataset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1DatasetCustomMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DatasetCustomMetric(typing.TypedDict, total=False): aggregationFunction: str displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1DatasetDistribution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DatasetDistribution(typing.TypedDict, total=False): buckets: _list[GoogleCloudAiplatformV1DatasetDistributionDistributionBucket] max: float mean: float @@ -1639,14 +1688,14 @@ class GoogleCloudAiplatformV1DatasetDistribution( @typing.type_check_only class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str left: float right: float @typing.type_check_only -class GoogleCloudAiplatformV1DatasetVersion(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DatasetVersion(typing.TypedDict, total=False): bigQueryDatasetName: str createTime: str displayName: str @@ -1659,9 +1708,7 @@ class GoogleCloudAiplatformV1DatasetVersion(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1DedicatedResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DedicatedResources(typing.TypedDict, total=False): autoscalingMetricSpecs: _list[GoogleCloudAiplatformV1AutoscalingMetricSpec] machineSpec: GoogleCloudAiplatformV1MachineSpec maxReplicaCount: int @@ -1671,14 +1718,12 @@ class GoogleCloudAiplatformV1DedicatedResources( @typing.type_check_only class GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1DeleteFeatureValuesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeleteFeatureValuesRequest(typing.TypedDict, total=False): selectEntity: GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity selectTimeRangeAndFeature: ( GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature @@ -1686,22 +1731,20 @@ class GoogleCloudAiplatformV1DeleteFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityIdSelector: GoogleCloudAiplatformV1EntityIdSelector @typing.type_check_only class GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureSelector: GoogleCloudAiplatformV1FeatureSelector skipOnlineStorageDelete: bool timeRange: GoogleTypeInterval @typing.type_check_only -class GoogleCloudAiplatformV1DeleteFeatureValuesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeleteFeatureValuesResponse(typing.TypedDict, total=False): selectEntity: GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity selectTimeRangeAndFeature: ( GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature @@ -1709,14 +1752,14 @@ class GoogleCloudAiplatformV1DeleteFeatureValuesResponse( @typing.type_check_only class GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): offlineStorageDeletedEntityRowCount: str onlineStorageDeletedEntityCount: str @typing.type_check_only class GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): impactedFeatureCount: str offlineStorageModifiedEntityRowCount: str @@ -1724,46 +1767,40 @@ class GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeatur @typing.type_check_only class GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1DeleteOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1DeleteOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeleteOperationMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1DeployIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedIndexId: str genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1DeployIndexRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployIndexRequest(typing.TypedDict, total=False): deployedIndex: GoogleCloudAiplatformV1DeployedIndex @typing.type_check_only -class GoogleCloudAiplatformV1DeployIndexResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployIndexResponse(typing.TypedDict, total=False): deployedIndex: GoogleCloudAiplatformV1DeployedIndex @typing.type_check_only class GoogleCloudAiplatformV1DeployModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - deploymentStage: typing_extensions.Literal[ + deploymentStage: typing.Literal[ "DEPLOYMENT_STAGE_UNSPECIFIED", "STARTING_DEPLOYMENT", "PREPARING_MODEL", @@ -1779,22 +1816,16 @@ class GoogleCloudAiplatformV1DeployModelOperationMetadata( genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1DeployModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployModelRequest(typing.TypedDict, total=False): deployedModel: GoogleCloudAiplatformV1DeployedModel trafficSplit: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1DeployModelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployModelResponse(typing.TypedDict, total=False): deployedModel: GoogleCloudAiplatformV1DeployedModel @typing.type_check_only -class GoogleCloudAiplatformV1DeployOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployOperationMetadata(typing.TypedDict, total=False): destination: str genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata modelId: str @@ -1802,7 +1833,7 @@ class GoogleCloudAiplatformV1DeployOperationMetadata( publisherModel: str @typing.type_check_only -class GoogleCloudAiplatformV1DeployRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DeployRequest(typing.TypedDict, total=False): deployConfig: GoogleCloudAiplatformV1DeployRequestDeployConfig endpointConfig: GoogleCloudAiplatformV1DeployRequestEndpointConfig huggingFaceModelId: str @@ -1810,17 +1841,13 @@ class GoogleCloudAiplatformV1DeployRequest(typing_extensions.TypedDict, total=Fa publisherModelName: str @typing.type_check_only -class GoogleCloudAiplatformV1DeployRequestDeployConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployRequestDeployConfig(typing.TypedDict, total=False): dedicatedResources: GoogleCloudAiplatformV1DedicatedResources fastTryoutEnabled: bool systemLabels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1DeployRequestEndpointConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployRequestEndpointConfig(typing.TypedDict, total=False): dedicatedEndpointDisabled: bool dedicatedEndpointEnabled: bool endpointDisplayName: str @@ -1829,9 +1856,7 @@ class GoogleCloudAiplatformV1DeployRequestEndpointConfig( privateServiceConnectConfig: GoogleCloudAiplatformV1PrivateServiceConnectConfig @typing.type_check_only -class GoogleCloudAiplatformV1DeployRequestModelConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployRequestModelConfig(typing.TypedDict, total=False): acceptEula: bool containerSpec: GoogleCloudAiplatformV1ModelContainerSpec huggingFaceAccessToken: str @@ -1840,19 +1865,19 @@ class GoogleCloudAiplatformV1DeployRequestModelConfig( modelUserId: str @typing.type_check_only -class GoogleCloudAiplatformV1DeployResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DeployResponse(typing.TypedDict, total=False): endpoint: str model: str publisherModel: str @typing.type_check_only -class GoogleCloudAiplatformV1DeployedIndex(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DeployedIndex(typing.TypedDict, total=False): automaticResources: GoogleCloudAiplatformV1AutomaticResources createTime: str dedicatedResources: GoogleCloudAiplatformV1DedicatedResources deployedIndexAuthConfig: GoogleCloudAiplatformV1DeployedIndexAuthConfig deploymentGroup: str - deploymentTier: typing_extensions.Literal["DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE"] + deploymentTier: typing.Literal["DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE"] displayName: str enableAccessLogging: bool enableDatapointUpsertLogging: bool @@ -1864,26 +1889,24 @@ class GoogleCloudAiplatformV1DeployedIndex(typing_extensions.TypedDict, total=Fa reservedIpRanges: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1DeployedIndexAuthConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployedIndexAuthConfig(typing.TypedDict, total=False): authProvider: GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider @typing.type_check_only class GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedIssuers: _list[str] audiences: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1DeployedIndexRef(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DeployedIndexRef(typing.TypedDict, total=False): deployedIndexId: str displayName: str indexEndpoint: str @typing.type_check_only -class GoogleCloudAiplatformV1DeployedModel(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DeployedModel(typing.TypedDict, total=False): automaticResources: GoogleCloudAiplatformV1AutomaticResources checkpointId: str createTime: str @@ -1906,23 +1929,19 @@ class GoogleCloudAiplatformV1DeployedModel(typing_extensions.TypedDict, total=Fa systemLabels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1DeployedModelRef(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DeployedModelRef(typing.TypedDict, total=False): checkpointId: str deployedModelId: str endpoint: str @typing.type_check_only -class GoogleCloudAiplatformV1DeployedModelStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeployedModelStatus(typing.TypedDict, total=False): availableReplicaCount: int lastUpdateTime: str message: str @typing.type_check_only -class GoogleCloudAiplatformV1DeploymentResourcePool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DeploymentResourcePool(typing.TypedDict, total=False): createTime: str dedicatedResources: GoogleCloudAiplatformV1DedicatedResources disableContainerLogging: bool @@ -1934,79 +1953,64 @@ class GoogleCloudAiplatformV1DeploymentResourcePool( @typing.type_check_only class GoogleCloudAiplatformV1DeprovisionSemanticGovernancePolicyEngineRequest( - typing_extensions.TypedDict, total=False -): ... + typing.TypedDict, total=False +): + force: bool @typing.type_check_only -class GoogleCloudAiplatformV1DestinationFeatureSetting( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DestinationFeatureSetting(typing.TypedDict, total=False): destinationField: str featureId: str @typing.type_check_only -class GoogleCloudAiplatformV1DirectPredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DirectPredictRequest(typing.TypedDict, total=False): inputs: _list[GoogleCloudAiplatformV1Tensor] parameters: GoogleCloudAiplatformV1Tensor @typing.type_check_only -class GoogleCloudAiplatformV1DirectPredictResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DirectPredictResponse(typing.TypedDict, total=False): outputs: _list[GoogleCloudAiplatformV1Tensor] parameters: GoogleCloudAiplatformV1Tensor @typing.type_check_only -class GoogleCloudAiplatformV1DirectRawPredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DirectRawPredictRequest(typing.TypedDict, total=False): input: str methodName: str @typing.type_check_only -class GoogleCloudAiplatformV1DirectRawPredictResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DirectRawPredictResponse(typing.TypedDict, total=False): output: str @typing.type_check_only -class GoogleCloudAiplatformV1DirectUploadSource( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1DirectUploadSource(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1DiskSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DiskSpec(typing.TypedDict, total=False): bootDiskSizeGb: int bootDiskType: str @typing.type_check_only -class GoogleCloudAiplatformV1DnsPeeringConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DnsPeeringConfig(typing.TypedDict, total=False): domain: str targetNetwork: str targetProject: str @typing.type_check_only -class GoogleCloudAiplatformV1DoubleArray(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1DoubleArray(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudAiplatformV1DynamicRetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1DynamicRetrievalConfig(typing.TypedDict, total=False): dynamicThreshold: float - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] + mode: typing.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] @typing.type_check_only -class GoogleCloudAiplatformV1EmbedContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EmbedContentRequest(typing.TypedDict, total=False): autoTruncate: bool content: GoogleCloudAiplatformV1Content embedContentConfig: GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig outputDimensionality: int - taskType: typing_extensions.Literal[ + taskType: typing.Literal[ "UNSPECIFIED", "RETRIEVAL_QUERY", "RETRIEVAL_DOCUMENT", @@ -2021,13 +2025,13 @@ class GoogleCloudAiplatformV1EmbedContentRequest( @typing.type_check_only class GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioTrackExtraction: bool autoTruncate: bool documentOcr: bool outputDimensionality: int - taskType: typing_extensions.Literal[ + taskType: typing.Literal[ "UNSPECIFIED", "RETRIEVAL_QUERY", "RETRIEVAL_DOCUMENT", @@ -2041,25 +2045,23 @@ class GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig( title: str @typing.type_check_only -class GoogleCloudAiplatformV1EmbedContentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EmbedContentResponse(typing.TypedDict, total=False): embedding: GoogleCloudAiplatformV1EmbedContentResponseEmbedding truncated: bool usageMetadata: GoogleCloudAiplatformV1UsageMetadata @typing.type_check_only class GoogleCloudAiplatformV1EmbedContentResponseEmbedding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[float] @typing.type_check_only -class GoogleCloudAiplatformV1EncryptionSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EncryptionSpec(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class GoogleCloudAiplatformV1Endpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Endpoint(typing.TypedDict, total=False): clientConnectionConfig: GoogleCloudAiplatformV1ClientConnectionConfig createTime: str dedicatedEndpointDns: str @@ -2086,10 +2088,8 @@ class GoogleCloudAiplatformV1Endpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1EnterpriseWebSearch( - typing_extensions.TypedDict, total=False -): - blockingConfidence: typing_extensions.Literal[ +class GoogleCloudAiplatformV1EnterpriseWebSearch(typing.TypedDict, total=False): + blockingConfidence: typing.Literal[ "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -2101,12 +2101,12 @@ class GoogleCloudAiplatformV1EnterpriseWebSearch( excludeDomains: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1EntityIdSelector(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EntityIdSelector(typing.TypedDict, total=False): csvSource: GoogleCloudAiplatformV1CsvSource entityIdField: str @typing.type_check_only -class GoogleCloudAiplatformV1EntityType(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EntityType(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -2119,18 +2119,16 @@ class GoogleCloudAiplatformV1EntityType(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1EnvVar(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EnvVar(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudAiplatformV1ErrorAnalysisAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ErrorAnalysisAnnotation(typing.TypedDict, total=False): attributedItems: _list[GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem] outlierScore: float outlierThreshold: float - queryType: typing_extensions.Literal[ + queryType: typing.Literal[ "QUERY_TYPE_UNSPECIFIED", "ALL_SIMILAR", "SAME_CLASS_SIMILAR", @@ -2139,15 +2137,13 @@ class GoogleCloudAiplatformV1ErrorAnalysisAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResourceName: str distance: float @typing.type_check_only -class GoogleCloudAiplatformV1EvaluateDatasetRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluateDatasetRequest(typing.TypedDict, total=False): autoraterConfig: GoogleCloudAiplatformV1AutoraterConfig dataset: GoogleCloudAiplatformV1EvaluationDataset location: str @@ -2155,16 +2151,12 @@ class GoogleCloudAiplatformV1EvaluateDatasetRequest( outputConfig: GoogleCloudAiplatformV1OutputConfig @typing.type_check_only -class GoogleCloudAiplatformV1EvaluateDatasetResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluateDatasetResponse(typing.TypedDict, total=False): aggregationOutput: GoogleCloudAiplatformV1AggregationOutput outputInfo: GoogleCloudAiplatformV1OutputInfo @typing.type_check_only -class GoogleCloudAiplatformV1EvaluateDatasetRun( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluateDatasetRun(typing.TypedDict, total=False): checkpointId: str error: GoogleRpcStatus evaluateDatasetResponse: GoogleCloudAiplatformV1EvaluateDatasetResponse @@ -2172,9 +2164,7 @@ class GoogleCloudAiplatformV1EvaluateDatasetRun( operationName: str @typing.type_check_only -class GoogleCloudAiplatformV1EvaluateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluateInstancesRequest(typing.TypedDict, total=False): autoraterConfig: GoogleCloudAiplatformV1AutoraterConfig bleuInput: GoogleCloudAiplatformV1BleuInput coherenceInput: GoogleCloudAiplatformV1CoherenceInput @@ -2226,9 +2216,7 @@ class GoogleCloudAiplatformV1EvaluateInstancesRequest( trajectorySingleToolUseInput: GoogleCloudAiplatformV1TrajectorySingleToolUseInput @typing.type_check_only -class GoogleCloudAiplatformV1EvaluateInstancesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluateInstancesResponse(typing.TypedDict, total=False): bleuResults: GoogleCloudAiplatformV1BleuResults coherenceResult: GoogleCloudAiplatformV1CoherenceResult cometResult: GoogleCloudAiplatformV1CometResult @@ -2284,16 +2272,14 @@ class GoogleCloudAiplatformV1EvaluateInstancesResponse( ) @typing.type_check_only -class GoogleCloudAiplatformV1EvaluatedAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluatedAnnotation(typing.TypedDict, total=False): dataItemPayload: typing.Any errorAnalysisAnnotations: _list[GoogleCloudAiplatformV1ErrorAnalysisAnnotation] evaluatedDataItemViewId: str explanations: _list[GoogleCloudAiplatformV1EvaluatedAnnotationExplanation] groundTruths: _list[typing.Any] predictions: _list[typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "EVALUATED_ANNOTATION_TYPE_UNSPECIFIED", "TRUE_POSITIVE", "FALSE_POSITIVE", @@ -2302,13 +2288,13 @@ class GoogleCloudAiplatformV1EvaluatedAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1EvaluatedAnnotationExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanation: GoogleCloudAiplatformV1Explanation explanationType: str @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EvaluationConfig(typing.TypedDict, total=False): autoraterConfig: GoogleCloudAiplatformV1AutoraterConfig datasetCustomMetrics: _list[GoogleCloudAiplatformV1DatasetCustomMetric] inferenceGenerationConfig: GoogleCloudAiplatformV1GenerationConfig @@ -2316,17 +2302,16 @@ class GoogleCloudAiplatformV1EvaluationConfig(typing_extensions.TypedDict, total outputConfig: GoogleCloudAiplatformV1OutputConfig @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationDataset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluationDataset(typing.TypedDict, total=False): bigquerySource: GoogleCloudAiplatformV1BigQuerySource gcsSource: GoogleCloudAiplatformV1GcsSource @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluationInstance(typing.TypedDict, total=False): agentData: GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData + interactionsDataSource: ( + GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource + ) otherData: GoogleCloudAiplatformV1EvaluationInstanceMapInstance prompt: GoogleCloudAiplatformV1EvaluationInstanceInstanceData reference: GoogleCloudAiplatformV1EvaluationInstanceInstanceData @@ -2335,7 +2320,7 @@ class GoogleCloudAiplatformV1EvaluationInstance( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str agentType: str @@ -2347,13 +2332,13 @@ class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentConfig( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentConfigTools( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tool: _list[GoogleCloudAiplatformV1Tool] @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentConfig: GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentConfig agents: dict[str, typing.Any] @@ -2367,7 +2352,7 @@ class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentDataAgentEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activeTools: _list[GoogleCloudAiplatformV1Tool] author: str @@ -2377,7 +2362,7 @@ class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentDataAgentEvent( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentDataConversationTurn( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[ GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentDataAgentEvent @@ -2387,41 +2372,48 @@ class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentDataConversationTu @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentDataEvents( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: _list[GoogleCloudAiplatformV1Content] @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentDataTools( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tool: _list[GoogleCloudAiplatformV1Tool] @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceInstanceData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents text: str @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1Content] +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource( + typing.TypedDict, total=False +): + geminiAgentConfig: GoogleCloudAiplatformV1GeminiAgentConfig + interaction: str + @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceMapInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mapInstance: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationItem(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EvaluationItem(typing.TypedDict, total=False): createTime: str displayName: str error: GoogleRpcStatus - evaluationItemType: typing_extensions.Literal[ + evaluationItemType: typing.Literal[ "EVALUATION_ITEM_TYPE_UNSPECIFIED", "REQUEST", "RESULT" ] evaluationRequest: GoogleCloudAiplatformV1EvaluationRequest @@ -2432,42 +2424,59 @@ class GoogleCloudAiplatformV1EvaluationItem(typing_extensions.TypedDict, total=F name: str @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationParserConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluationMetric(typing.TypedDict, total=False): + createTime: str + description: str + displayName: str + encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec + gcsUri: str + labels: dict[str, typing.Any] + metric: GoogleCloudAiplatformV1Metric + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationParserConfig(typing.TypedDict, total=False): customCodeParserConfig: ( GoogleCloudAiplatformV1EvaluationParserConfigCustomCodeParserConfig ) @typing.type_check_only class GoogleCloudAiplatformV1EvaluationParserConfigCustomCodeParserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parsingFunction: str @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationPrompt(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EvaluationPrompt(typing.TypedDict, total=False): + agentData: GoogleCloudAiplatformV1AgentData promptTemplateData: GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData text: str + userScenario: GoogleCloudAiplatformV1EvaluationPromptUserScenario value: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1EvaluationPromptUserScenario( + typing.TypedDict, total=False ): + conversationPlan: str + startingPrompt: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRequest(typing.TypedDict, total=False): candidateResponses: _list[GoogleCloudAiplatformV1CandidateResponse] goldenResponse: GoogleCloudAiplatformV1CandidateResponse prompt: GoogleCloudAiplatformV1EvaluationPrompt rubrics: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EvaluationResult(typing.TypedDict, total=False): candidateResults: _list[GoogleCloudAiplatformV1CandidateResult] evaluationRequest: str evaluationRun: str @@ -2476,16 +2485,12 @@ class GoogleCloudAiplatformV1EvaluationResult(typing_extensions.TypedDict, total request: GoogleCloudAiplatformV1EvaluationRequest @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluationResults(typing.TypedDict, total=False): evaluationSet: str summaryMetrics: GoogleCloudAiplatformV1SummaryMetrics @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationRubricConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluationRubricConfig(typing.TypedDict, total=False): predefinedRubricGenerationSpec: ( GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec ) @@ -2493,11 +2498,12 @@ class GoogleCloudAiplatformV1EvaluationRubricConfig( rubricGroupKey: str @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationRun(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EvaluationRun(typing.TypedDict, total=False): completionTime: str createTime: str dataSource: GoogleCloudAiplatformV1EvaluationRunDataSource displayName: str + encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec error: GoogleRpcStatus evaluationConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfig evaluationResults: GoogleCloudAiplatformV1EvaluationResults @@ -2506,7 +2512,7 @@ class GoogleCloudAiplatformV1EvaluationRun(typing_extensions.TypedDict, total=Fa labels: dict[str, typing.Any] metadata: typing.Any name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -2519,18 +2525,18 @@ class GoogleCloudAiplatformV1EvaluationRun(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationRunDataSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluationRunDataSource(typing.TypedDict, total=False): bigqueryRequestSet: GoogleCloudAiplatformV1BigQueryRequestSet evaluationSet: str @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunEvaluationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoraterConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig + cloudLoggingConfig: GoogleCloudAiplatformV1CloudLoggingConfig datasetCustomMetrics: _list[GoogleCloudAiplatformV1DatasetCustomMetric] + lossAnalysisConfig: _list[GoogleCloudAiplatformV1LossAnalysisConfig] metrics: _list[GoogleCloudAiplatformV1EvaluationRunMetric] outputConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig promptTemplate: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate @@ -2538,7 +2544,7 @@ class GoogleCloudAiplatformV1EvaluationRunEvaluationConfig( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoraterModel: str generationConfig: GoogleCloudAiplatformV1GenerationConfig @@ -2546,38 +2552,41 @@ class GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination gcsDestination: GoogleCloudAiplatformV1GcsDestination @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str promptTemplate: str @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunInferenceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentRunConfig: GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig + agents: dict[str, typing.Any] generationConfig: GoogleCloudAiplatformV1GenerationConfig model: str parallelism: int + promptTemplate: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentEngine: str + geminiAgentConfig: GoogleCloudAiplatformV1GeminiAgentConfig sessionInput: GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput userSimulatorConfig: GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxTurn: int modelConfig: GoogleCloudAiplatformV1GenerationConfig @@ -2585,16 +2594,14 @@ class GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimul @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: dict[str, typing.Any] sessionState: dict[str, typing.Any] userId: str @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationRunMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1EvaluationRunMetric(typing.TypedDict, total=False): computationBasedMetricSpec: ( GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec ) @@ -2609,16 +2616,16 @@ class GoogleCloudAiplatformV1EvaluationRunMetric( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: dict[str, typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" ] @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalConfig: dict[str, typing.Any] judgeAutoraterConfig: ( @@ -2634,14 +2641,14 @@ class GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricSpecName: str parameters: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineRubrics: ( GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics @@ -2655,18 +2662,18 @@ class GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec( @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rubrics: _list[GoogleCloudAiplatformV1Rubric] @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricResourceName: str modelConfig: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig promptTemplate: str - rubricContentType: typing_extensions.Literal[ + rubricContentType: typing.Literal[ "RUBRIC_CONTENT_TYPE_UNSPECIFIED", "PROPERTY", "NL_QUESTION_ANSWER", @@ -2675,25 +2682,26 @@ class GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec( rubricTypeOntology: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1EvaluationSet(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EvaluationSet(typing.TypedDict, total=False): agentConfigs: dict[str, typing.Any] createTime: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec evaluationItems: _list[str] metadata: typing.Any name: str updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1Event(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Event(typing.TypedDict, total=False): artifact: str eventTime: str execution: str labels: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INPUT", "OUTPUT"] + type: typing.Literal["TYPE_UNSPECIFIED", "INPUT", "OUTPUT"] @typing.type_check_only -class GoogleCloudAiplatformV1EventActions(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EventActions(typing.TypedDict, total=False): artifactDelta: dict[str, typing.Any] escalate: bool requestedAuthConfigs: dict[str, typing.Any] @@ -2702,7 +2710,7 @@ class GoogleCloudAiplatformV1EventActions(typing_extensions.TypedDict, total=Fal transferAgent: str @typing.type_check_only -class GoogleCloudAiplatformV1EventMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1EventMetadata(typing.TypedDict, total=False): branch: str customMetadata: dict[str, typing.Any] groundingMetadata: GoogleCloudAiplatformV1GroundingMetadata @@ -2714,97 +2722,82 @@ class GoogleCloudAiplatformV1EventMetadata(typing_extensions.TypedDict, total=Fa turnComplete: bool @typing.type_check_only -class GoogleCloudAiplatformV1ExactMatchInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExactMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1ExactMatchInstance] metricSpec: GoogleCloudAiplatformV1ExactMatchSpec @typing.type_check_only -class GoogleCloudAiplatformV1ExactMatchInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExactMatchInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1ExactMatchMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExactMatchMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1ExactMatchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExactMatchResults(typing.TypedDict, total=False): exactMatchMetricValues: _list[GoogleCloudAiplatformV1ExactMatchMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1ExactMatchSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1ExactMatchSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1Examples(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Examples(typing.TypedDict, total=False): exampleGcsSource: GoogleCloudAiplatformV1ExamplesExampleGcsSource nearestNeighborSearchConfig: typing.Any neighborCount: int presets: GoogleCloudAiplatformV1Presets @typing.type_check_only -class GoogleCloudAiplatformV1ExamplesExampleGcsSource( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "JSONL"] +class GoogleCloudAiplatformV1ExamplesExampleGcsSource(typing.TypedDict, total=False): + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "JSONL"] gcsSource: GoogleCloudAiplatformV1GcsSource @typing.type_check_only -class GoogleCloudAiplatformV1ExamplesOverride(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExamplesOverride(typing.TypedDict, total=False): crowdingCount: int - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "INSTANCES", "EMBEDDINGS" - ] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "INSTANCES", "EMBEDDINGS"] neighborCount: int restrictions: _list[GoogleCloudAiplatformV1ExamplesRestrictionsNamespace] returnEmbeddings: bool @typing.type_check_only class GoogleCloudAiplatformV1ExamplesRestrictionsNamespace( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allow: _list[str] deny: _list[str] namespaceName: str @typing.type_check_only -class GoogleCloudAiplatformV1ExecutableCode(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExecutableCode(typing.TypedDict, total=False): code: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] + id: str + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] @typing.type_check_only -class GoogleCloudAiplatformV1ExecuteCodeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExecuteCodeRequest(typing.TypedDict, total=False): inputs: _list[GoogleCloudAiplatformV1Chunk] @typing.type_check_only -class GoogleCloudAiplatformV1ExecuteCodeResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExecuteCodeResponse(typing.TypedDict, total=False): outputs: _list[GoogleCloudAiplatformV1Chunk] @typing.type_check_only class GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: _list[GoogleCloudAiplatformV1Chunk] @typing.type_check_only class GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputs: _list[GoogleCloudAiplatformV1Chunk] @typing.type_check_only -class GoogleCloudAiplatformV1Execution(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Execution(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -2814,7 +2807,7 @@ class GoogleCloudAiplatformV1Execution(typing_extensions.TypedDict, total=False) name: str schemaTitle: str schemaVersion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "RUNNING", @@ -2826,27 +2819,25 @@ class GoogleCloudAiplatformV1Execution(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1ExplainRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExplainRequest(typing.TypedDict, total=False): deployedModelId: str explanationSpecOverride: GoogleCloudAiplatformV1ExplanationSpecOverride instances: _list[typing.Any] parameters: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1ExplainResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExplainResponse(typing.TypedDict, total=False): deployedModelId: str explanations: _list[GoogleCloudAiplatformV1Explanation] predictions: _list[typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1Explanation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Explanation(typing.TypedDict, total=False): attributions: _list[GoogleCloudAiplatformV1Attribution] neighbors: _list[GoogleCloudAiplatformV1Neighbor] @typing.type_check_only -class GoogleCloudAiplatformV1ExplanationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExplanationMetadata(typing.TypedDict, total=False): featureAttributionsSchemaUri: str inputs: dict[str, typing.Any] latentSpaceSource: str @@ -2854,12 +2845,12 @@ class GoogleCloudAiplatformV1ExplanationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1ExplanationMetadataInputMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): denseShapeTensorName: str encodedBaselines: _list[typing.Any] encodedTensorName: str - encoding: typing_extensions.Literal[ + encoding: typing.Literal[ "ENCODING_UNSPECIFIED", "IDENTITY", "BAG_OF_FEATURES", @@ -2881,7 +2872,7 @@ class GoogleCloudAiplatformV1ExplanationMetadataInputMetadata( @typing.type_check_only class GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxValue: float minValue: float @@ -2890,11 +2881,11 @@ class GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain( @typing.type_check_only class GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clipPercentLowerbound: float clipPercentUpperbound: float - colorMap: typing_extensions.Literal[ + colorMap: typing.Literal[ "COLOR_MAP_UNSPECIFIED", "PINK_GREEN", "VIRIDIS", @@ -2903,38 +2894,32 @@ class GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization( "RED_GREEN", "PINK_WHITE_GREEN", ] - overlayType: typing_extensions.Literal[ + overlayType: typing.Literal[ "OVERLAY_TYPE_UNSPECIFIED", "NONE", "ORIGINAL", "GRAYSCALE", "MASK_BLACK" ] - polarity: typing_extensions.Literal[ - "POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH" - ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] + polarity: typing.Literal["POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH"] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] @typing.type_check_only class GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayNameMappingKey: str indexDisplayNameMapping: typing.Any outputTensorName: str @typing.type_check_only -class GoogleCloudAiplatformV1ExplanationMetadataOverride( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExplanationMetadataOverride(typing.TypedDict, total=False): inputs: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputBaselines: _list[typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1ExplanationParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExplanationParameters(typing.TypedDict, total=False): examples: GoogleCloudAiplatformV1Examples integratedGradientsAttribution: ( GoogleCloudAiplatformV1IntegratedGradientsAttribution @@ -2945,60 +2930,48 @@ class GoogleCloudAiplatformV1ExplanationParameters( xraiAttribution: GoogleCloudAiplatformV1XraiAttribution @typing.type_check_only -class GoogleCloudAiplatformV1ExplanationSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExplanationSpec(typing.TypedDict, total=False): metadata: GoogleCloudAiplatformV1ExplanationMetadata parameters: GoogleCloudAiplatformV1ExplanationParameters @typing.type_check_only -class GoogleCloudAiplatformV1ExplanationSpecOverride( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExplanationSpecOverride(typing.TypedDict, total=False): examplesOverride: GoogleCloudAiplatformV1ExamplesOverride metadata: GoogleCloudAiplatformV1ExplanationMetadataOverride parameters: GoogleCloudAiplatformV1ExplanationParameters @typing.type_check_only -class GoogleCloudAiplatformV1ExportDataConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExportDataConfig(typing.TypedDict, total=False): annotationSchemaUri: str annotationsFilter: str - exportUse: typing_extensions.Literal[ - "EXPORT_USE_UNSPECIFIED", "CUSTOM_CODE_TRAINING" - ] + exportUse: typing.Literal["EXPORT_USE_UNSPECIFIED", "CUSTOM_CODE_TRAINING"] filterSplit: GoogleCloudAiplatformV1ExportFilterSplit fractionSplit: GoogleCloudAiplatformV1ExportFractionSplit gcsDestination: GoogleCloudAiplatformV1GcsDestination savedQueryId: str @typing.type_check_only -class GoogleCloudAiplatformV1ExportDataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExportDataOperationMetadata(typing.TypedDict, total=False): gcsOutputDirectory: str genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1ExportDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExportDataRequest(typing.TypedDict, total=False): exportConfig: GoogleCloudAiplatformV1ExportDataConfig @typing.type_check_only -class GoogleCloudAiplatformV1ExportDataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExportDataResponse(typing.TypedDict, total=False): dataStats: GoogleCloudAiplatformV1ModelDataStats exportedFiles: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1ExportFeatureValuesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExportFeatureValuesRequest(typing.TypedDict, total=False): destination: GoogleCloudAiplatformV1FeatureValueDestination featureSelector: GoogleCloudAiplatformV1FeatureSelector fullExport: GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport @@ -3007,75 +2980,67 @@ class GoogleCloudAiplatformV1ExportFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only class GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snapshotTime: str startTime: str @typing.type_check_only class GoogleCloudAiplatformV1ExportFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1ExportFilterSplit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExportFilterSplit(typing.TypedDict, total=False): testFilter: str trainingFilter: str validationFilter: str @typing.type_check_only -class GoogleCloudAiplatformV1ExportFractionSplit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExportFractionSplit(typing.TypedDict, total=False): testFraction: float trainingFraction: float validationFraction: float @typing.type_check_only class GoogleCloudAiplatformV1ExportModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata outputInfo: GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo @typing.type_check_only class GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactOutputUri: str imageOutputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1ExportModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ExportModelRequest(typing.TypedDict, total=False): outputConfig: GoogleCloudAiplatformV1ExportModelRequestOutputConfig @typing.type_check_only class GoogleCloudAiplatformV1ExportModelRequestOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactDestination: GoogleCloudAiplatformV1GcsDestination exportFormatId: str imageDestination: GoogleCloudAiplatformV1ContainerRegistryDestination @typing.type_check_only -class GoogleCloudAiplatformV1ExportModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1ExportModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str orderBy: str @@ -3084,17 +3049,15 @@ class GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest( @typing.type_check_only class GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str timeSeriesDataPoints: _list[GoogleCloudAiplatformV1TimeSeriesDataPoint] @typing.type_check_only -class GoogleCloudAiplatformV1ExternalApi(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ExternalApi(typing.TypedDict, total=False): apiAuth: GoogleCloudAiplatformV1ApiAuth - apiSpec: typing_extensions.Literal[ - "API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH" - ] + apiSpec: typing.Literal["API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH"] authConfig: GoogleCloudAiplatformV1AuthConfig elasticSearchParams: GoogleCloudAiplatformV1ExternalApiElasticSearchParams endpoint: str @@ -3102,7 +3065,7 @@ class GoogleCloudAiplatformV1ExternalApi(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudAiplatformV1ExternalApiElasticSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): index: str numHits: int @@ -3110,11 +3073,11 @@ class GoogleCloudAiplatformV1ExternalApiElasticSearchParams( @typing.type_check_only class GoogleCloudAiplatformV1ExternalApiSimpleSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1Fact(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Fact(typing.TypedDict, total=False): chunk: GoogleCloudAiplatformV1RagChunk query: str score: float @@ -3124,13 +3087,11 @@ class GoogleCloudAiplatformV1Fact(typing_extensions.TypedDict, total=False): vectorDistance: float @typing.type_check_only -class GoogleCloudAiplatformV1FasterDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FasterDeploymentConfig(typing.TypedDict, total=False): fastTryoutEnabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1Feature(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Feature(typing.TypedDict, total=False): createTime: str description: str disableMonitoring: bool @@ -3142,7 +3103,7 @@ class GoogleCloudAiplatformV1Feature(typing_extensions.TypedDict, total=False): name: str pointOfContact: str updateTime: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "BOOL_ARRAY", @@ -3158,7 +3119,7 @@ class GoogleCloudAiplatformV1Feature(typing_extensions.TypedDict, total=False): versionColumnName: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FeatureGroup(typing.TypedDict, total=False): bigQuery: GoogleCloudAiplatformV1FeatureGroupBigQuery createTime: str description: str @@ -3166,7 +3127,7 @@ class GoogleCloudAiplatformV1FeatureGroup(typing_extensions.TypedDict, total=Fal labels: dict[str, typing.Any] name: str serviceAccountEmail: str - serviceAgentType: typing_extensions.Literal[ + serviceAgentType: typing.Literal[ "SERVICE_AGENT_TYPE_UNSPECIFIED", "SERVICE_AGENT_TYPE_PROJECT", "SERVICE_AGENT_TYPE_FEATURE_GROUP", @@ -3174,9 +3135,7 @@ class GoogleCloudAiplatformV1FeatureGroup(typing_extensions.TypedDict, total=Fal updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureGroupBigQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureGroupBigQuery(typing.TypedDict, total=False): bigQuerySource: GoogleCloudAiplatformV1BigQuerySource dense: bool entityIdColumns: _list[str] @@ -3185,36 +3144,32 @@ class GoogleCloudAiplatformV1FeatureGroupBigQuery( @typing.type_check_only class GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timestampColumn: str @typing.type_check_only class GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureStatsAnomaly: GoogleCloudAiplatformV1FeatureStatsAnomaly - objective: typing_extensions.Literal[ + objective: typing.Literal[ "OBJECTIVE_UNSPECIFIED", "IMPORT_FEATURE_ANALYSIS", "SNAPSHOT_ANALYSIS" ] @typing.type_check_only -class GoogleCloudAiplatformV1FeatureNoiseSigma( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureNoiseSigma(typing.TypedDict, total=False): noiseSigma: _list[GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature] @typing.type_check_only class GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str sigma: float @typing.type_check_only -class GoogleCloudAiplatformV1FeatureOnlineStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureOnlineStore(typing.TypedDict, total=False): bigtable: GoogleCloudAiplatformV1FeatureOnlineStoreBigtable createTime: str dedicatedServingEndpoint: ( @@ -3227,13 +3182,11 @@ class GoogleCloudAiplatformV1FeatureOnlineStore( optimized: GoogleCloudAiplatformV1FeatureOnlineStoreOptimized satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] + state: typing.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable(typing.TypedDict, total=False): autoScaling: GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling bigtableMetadata: GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata enableDirectBigtableAccess: bool @@ -3241,7 +3194,7 @@ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable( @typing.type_check_only class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpuUtilizationTarget: int maxNodeCount: int @@ -3249,7 +3202,7 @@ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling( @typing.type_check_only class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instanceId: str tableId: str @@ -3257,7 +3210,7 @@ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata( @typing.type_check_only class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): privateServiceConnectConfig: GoogleCloudAiplatformV1PrivateServiceConnectConfig publicEndpointDomainName: str @@ -3265,17 +3218,15 @@ class GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint( @typing.type_check_only class GoogleCloudAiplatformV1FeatureOnlineStoreOptimized( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1FeatureSelector(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FeatureSelector(typing.TypedDict, total=False): idMatcher: GoogleCloudAiplatformV1IdMatcher @typing.type_check_only -class GoogleCloudAiplatformV1FeatureStatsAnomaly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureStatsAnomaly(typing.TypedDict, total=False): anomalyDetectionThreshold: float anomalyUri: str distributionDeviation: float @@ -3285,7 +3236,7 @@ class GoogleCloudAiplatformV1FeatureStatsAnomaly( statsUri: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureValue(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FeatureValue(typing.TypedDict, total=False): boolArrayValue: GoogleCloudAiplatformV1BoolArray boolValue: bool bytesValue: str @@ -3299,25 +3250,21 @@ class GoogleCloudAiplatformV1FeatureValue(typing_extensions.TypedDict, total=Fal structValue: GoogleCloudAiplatformV1StructValue @typing.type_check_only -class GoogleCloudAiplatformV1FeatureValueDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureValueDestination(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination csvDestination: GoogleCloudAiplatformV1CsvDestination tfrecordDestination: GoogleCloudAiplatformV1TFRecordDestination @typing.type_check_only -class GoogleCloudAiplatformV1FeatureValueList(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FeatureValueList(typing.TypedDict, total=False): values: _list[GoogleCloudAiplatformV1FeatureValue] @typing.type_check_only -class GoogleCloudAiplatformV1FeatureValueMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureValueMetadata(typing.TypedDict, total=False): generateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureView(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FeatureView(typing.TypedDict, total=False): bigQuerySource: GoogleCloudAiplatformV1FeatureViewBigQuerySource bigtableMetadata: GoogleCloudAiplatformV1FeatureViewBigtableMetadata createTime: str @@ -3330,7 +3277,7 @@ class GoogleCloudAiplatformV1FeatureView(typing_extensions.TypedDict, total=Fals satisfiesPzi: bool satisfiesPzs: bool serviceAccountEmail: str - serviceAgentType: typing_extensions.Literal[ + serviceAgentType: typing.Literal[ "SERVICE_AGENT_TYPE_UNSPECIFIED", "SERVICE_AGENT_TYPE_PROJECT", "SERVICE_AGENT_TYPE_FEATURE_VIEW", @@ -3340,34 +3287,28 @@ class GoogleCloudAiplatformV1FeatureView(typing_extensions.TypedDict, total=Fals vertexRagSource: GoogleCloudAiplatformV1FeatureViewVertexRagSource @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewBigQuerySource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewBigQuerySource(typing.TypedDict, total=False): entityIdColumns: _list[str] uri: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewBigtableMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewBigtableMetadata(typing.TypedDict, total=False): readAppProfile: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewDataKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewDataKey(typing.TypedDict, total=False): compositeKey: GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey key: str @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parts: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewDirectWriteRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataKeyAndFeatureValues: _list[ GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues @@ -3375,7 +3316,7 @@ class GoogleCloudAiplatformV1FeatureViewDirectWriteRequest( @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataKey: GoogleCloudAiplatformV1FeatureViewDataKey features: _list[ @@ -3384,14 +3325,14 @@ class GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValue @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: GoogleCloudAiplatformV1FeatureValue @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewDirectWriteResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): status: GoogleRpcStatus writeResponses: _list[ @@ -3400,14 +3341,14 @@ class GoogleCloudAiplatformV1FeatureViewDirectWriteResponse( @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataKey: GoogleCloudAiplatformV1FeatureViewDataKey onlineStoreWriteTime: str @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureGroups: _list[ GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup @@ -3416,18 +3357,16 @@ class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource( @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureGroupId: str featureIds: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewIndexConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewIndexConfig(typing.TypedDict, total=False): bruteForceConfig: GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig crowdingColumn: str - distanceMeasureType: typing_extensions.Literal[ + distanceMeasureType: typing.Literal[ "DISTANCE_MEASURE_TYPE_UNSPECIFIED", "SQUARED_L2_DISTANCE", "COSINE_DISTANCE", @@ -3440,23 +3379,21 @@ class GoogleCloudAiplatformV1FeatureViewIndexConfig( @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leafNodeEmbeddingCount: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewOptimizedConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewOptimizedConfig(typing.TypedDict, total=False): automaticResources: GoogleCloudAiplatformV1AutomaticResources @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewSync(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FeatureViewSync(typing.TypedDict, total=False): createTime: str finalStatus: GoogleRpcStatus name: str @@ -3466,29 +3403,23 @@ class GoogleCloudAiplatformV1FeatureViewSync(typing_extensions.TypedDict, total= syncSummary: GoogleCloudAiplatformV1FeatureViewSyncSyncSummary @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewSyncConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewSyncConfig(typing.TypedDict, total=False): continuous: bool cron: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewSyncSyncSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewSyncSyncSummary(typing.TypedDict, total=False): rowSynced: str systemWatermarkTime: str totalSlot: str @typing.type_check_only -class GoogleCloudAiplatformV1FeatureViewVertexRagSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FeatureViewVertexRagSource(typing.TypedDict, total=False): ragCorpusId: str uri: str @typing.type_check_only -class GoogleCloudAiplatformV1Featurestore(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Featurestore(typing.TypedDict, total=False): createTime: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec etag: str @@ -3498,12 +3429,12 @@ class GoogleCloudAiplatformV1Featurestore(typing_extensions.TypedDict, total=Fal onlineStorageTtlDays: int satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] + state: typing.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @typing.type_check_only class GoogleCloudAiplatformV1FeaturestoreMonitoringConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoricalThresholdConfig: ( GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig @@ -3520,21 +3451,19 @@ class GoogleCloudAiplatformV1FeaturestoreMonitoringConfig( @typing.type_check_only class GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - anomalyDetectionBaseline: typing_extensions.Literal[ + anomalyDetectionBaseline: typing.Literal[ "BASELINE_UNSPECIFIED", "LATEST_STATS", "MOST_RECENT_SNAPSHOT_STATS", "PREVIOUS_IMPORT_FEATURES_STATS", ] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "DEFAULT", "ENABLED", "DISABLED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "DEFAULT", "ENABLED", "DISABLED"] @typing.type_check_only class GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabled: bool monitoringIntervalDays: int @@ -3542,45 +3471,41 @@ class GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis( @typing.type_check_only class GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: float @typing.type_check_only class GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fixedNodeCount: int scaling: GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling @typing.type_check_only class GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpuUtilizationTarget: int maxNodeCount: int minNodeCount: int @typing.type_check_only -class GoogleCloudAiplatformV1FetchFeatureValuesRequest( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal[ +class GoogleCloudAiplatformV1FetchFeatureValuesRequest(typing.TypedDict, total=False): + dataFormat: typing.Literal[ "FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED", "KEY_VALUE", "PROTO_STRUCT" ] dataKey: GoogleCloudAiplatformV1FeatureViewDataKey @typing.type_check_only -class GoogleCloudAiplatformV1FetchFeatureValuesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FetchFeatureValuesResponse(typing.TypedDict, total=False): dataKey: GoogleCloudAiplatformV1FeatureViewDataKey keyValues: GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList protoStruct: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[ GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair @@ -3588,46 +3513,42 @@ class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList( @typing.type_check_only class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: GoogleCloudAiplatformV1FeatureValue @typing.type_check_only class GoogleCloudAiplatformV1FetchPredictOperationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operationName: str @typing.type_check_only -class GoogleCloudAiplatformV1FileData(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FileData(typing.TypedDict, total=False): displayName: str fileUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1FileStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FileStatus(typing.TypedDict, total=False): errorStatus: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] @typing.type_check_only -class GoogleCloudAiplatformV1FilterSplit(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FilterSplit(typing.TypedDict, total=False): testFilter: str trainingFilter: str validationFilter: str @typing.type_check_only -class GoogleCloudAiplatformV1FindNeighborsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FindNeighborsRequest(typing.TypedDict, total=False): deployedIndexId: str queries: _list[GoogleCloudAiplatformV1FindNeighborsRequestQuery] returnFullDatapoint: bool @typing.type_check_only -class GoogleCloudAiplatformV1FindNeighborsRequestQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FindNeighborsRequestQuery(typing.TypedDict, total=False): approximateNeighborCount: int datapoint: GoogleCloudAiplatformV1IndexDatapoint fractionLeafNodesToSearchOverride: float @@ -3637,104 +3558,93 @@ class GoogleCloudAiplatformV1FindNeighborsRequestQuery( @typing.type_check_only class GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alpha: float @typing.type_check_only -class GoogleCloudAiplatformV1FindNeighborsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FindNeighborsResponse(typing.TypedDict, total=False): nearestNeighbors: _list[ GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors ] @typing.type_check_only class GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str neighbors: _list[GoogleCloudAiplatformV1FindNeighborsResponseNeighbor] @typing.type_check_only class GoogleCloudAiplatformV1FindNeighborsResponseNeighbor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datapoint: GoogleCloudAiplatformV1IndexDatapoint distance: float sparseDistance: float @typing.type_check_only -class GoogleCloudAiplatformV1FluencyInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FluencyInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1FluencyInstance metricSpec: GoogleCloudAiplatformV1FluencySpec @typing.type_check_only -class GoogleCloudAiplatformV1FluencyInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FluencyInstance(typing.TypedDict, total=False): prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1FluencyResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FluencyResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1FluencySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FluencySpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1FractionSplit(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FractionSplit(typing.TypedDict, total=False): testFraction: float trainingFraction: float validationFraction: float @typing.type_check_only -class GoogleCloudAiplatformV1FulfillmentInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FulfillmentInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1FulfillmentInstance metricSpec: GoogleCloudAiplatformV1FulfillmentSpec @typing.type_check_only -class GoogleCloudAiplatformV1FulfillmentInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FulfillmentInstance(typing.TypedDict, total=False): instruction: str prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1FulfillmentResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FulfillmentResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1FulfillmentSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FulfillmentSpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1FunctionCall(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FunctionCall(typing.TypedDict, total=False): args: dict[str, typing.Any] + id: str name: str partialArgs: _list[GoogleCloudAiplatformV1PartialArg] willContinue: bool @typing.type_check_only -class GoogleCloudAiplatformV1FunctionCallingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FunctionCallingConfig(typing.TypedDict, total=False): allowedFunctionNames: _list[str] - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED"] streamFunctionCallArguments: bool @typing.type_check_only -class GoogleCloudAiplatformV1FunctionDeclaration( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal["UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] +class GoogleCloudAiplatformV1FunctionDeclaration(typing.TypedDict, total=False): + behavior: typing.Literal["UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] description: str name: str parameters: GoogleCloudAiplatformV1Schema @@ -3743,45 +3653,41 @@ class GoogleCloudAiplatformV1FunctionDeclaration( responseJsonSchema: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1FunctionResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1FunctionResponse(typing.TypedDict, total=False): + id: str name: str parts: _list[GoogleCloudAiplatformV1FunctionResponsePart] response: dict[str, typing.Any] - scheduling: typing_extensions.Literal[ + scheduling: typing.Literal[ "SCHEDULING_UNSPECIFIED", "SILENT", "WHEN_IDLE", "INTERRUPT" ] @typing.type_check_only -class GoogleCloudAiplatformV1FunctionResponseBlob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FunctionResponseBlob(typing.TypedDict, total=False): data: str displayName: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1FunctionResponseFileData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FunctionResponseFileData(typing.TypedDict, total=False): displayName: str fileUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1FunctionResponsePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1FunctionResponsePart(typing.TypedDict, total=False): fileData: GoogleCloudAiplatformV1FunctionResponseFileData inlineData: GoogleCloudAiplatformV1FunctionResponseBlob @typing.type_check_only -class GoogleCloudAiplatformV1GatewayConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GatewayConfig(typing.TypedDict, total=False): + allowedProjects: _list[str] dnsRecord: str dnsZoneName: str ipAddress: str network: str pscEndpoint: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "ACTIVE", @@ -3792,47 +3698,45 @@ class GoogleCloudAiplatformV1GatewayConfig(typing_extensions.TypedDict, total=Fa subnetwork: str @typing.type_check_only -class GoogleCloudAiplatformV1GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GcsDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleCloudAiplatformV1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GcsSource(typing.TypedDict, total=False): uris: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1GdcConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GdcConfig(typing.TypedDict, total=False): zone: str @typing.type_check_only -class GoogleCloudAiplatformV1GeminiPreferenceExample( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GeminiAgentConfig(typing.TypedDict, total=False): + geminiAgent: str + +@typing.type_check_only +class GoogleCloudAiplatformV1GeminiPreferenceExample(typing.TypedDict, total=False): completions: _list[GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion] contents: _list[GoogleCloudAiplatformV1Content] @typing.type_check_only class GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completion: GoogleCloudAiplatformV1Content score: float @typing.type_check_only -class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig(typing.TypedDict, total=False): ragConfig: GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig @typing.type_check_only class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableRag: bool @typing.type_check_only -class GoogleCloudAiplatformV1GenerateContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenerateContentRequest(typing.TypedDict, total=False): cachedContent: str contents: _list[GoogleCloudAiplatformV1Content] generationConfig: GoogleCloudAiplatformV1GenerationConfig @@ -3844,9 +3748,7 @@ class GoogleCloudAiplatformV1GenerateContentRequest( tools: _list[GoogleCloudAiplatformV1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1GenerateContentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenerateContentResponse(typing.TypedDict, total=False): candidates: _list[GoogleCloudAiplatformV1Candidate] createTime: str modelVersion: str @@ -3856,9 +3758,9 @@ class GoogleCloudAiplatformV1GenerateContentResponse( @typing.type_check_only class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - blockReason: typing_extensions.Literal[ + blockReason: typing.Literal[ "BLOCKED_REASON_UNSPECIFIED", "SAFETY", "OTHER", @@ -3873,7 +3775,7 @@ class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback( @typing.type_check_only class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cacheTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] cachedContentTokenCount: int @@ -3885,29 +3787,30 @@ class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( toolUsePromptTokenCount: int toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] totalTokenCount: int - trafficType: typing_extensions.Literal[ + trafficType: typing.Literal[ "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "ON_DEMAND_PRIORITY", "ON_DEMAND_FLEX", + "ON_DEMAND_OFFPEAK", "PROVISIONED_THROUGHPUT", ] @typing.type_check_only class GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: str expireTime: str @typing.type_check_only class GoogleCloudAiplatformV1GenerateInstanceRubricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentConfig: GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentConfig contents: _list[GoogleCloudAiplatformV1Content] @@ -3918,14 +3821,12 @@ class GoogleCloudAiplatformV1GenerateInstanceRubricsRequest( @typing.type_check_only class GoogleCloudAiplatformV1GenerateInstanceRubricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatedRubrics: _list[GoogleCloudAiplatformV1Rubric] @typing.type_check_only -class GoogleCloudAiplatformV1GenerateLossClustersRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenerateLossClustersRequest(typing.TypedDict, total=False): configs: _list[GoogleCloudAiplatformV1LossAnalysisConfig] evaluationSet: str inlineResults: ( @@ -3934,14 +3835,12 @@ class GoogleCloudAiplatformV1GenerateLossClustersRequest( @typing.type_check_only class GoogleCloudAiplatformV1GenerateLossClustersRequestEvaluationResultList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationResults: _list[GoogleCloudAiplatformV1EvaluationResult] @typing.type_check_only -class GoogleCloudAiplatformV1GenerateMemoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenerateMemoriesRequest(typing.TypedDict, total=False): allowedTopics: _list[GoogleCloudAiplatformV1MemoryTopicId] directContentsSource: ( GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource @@ -3952,7 +3851,7 @@ class GoogleCloudAiplatformV1GenerateMemoriesRequest( disableConsolidation: bool disableMemoryRevisions: bool metadata: dict[str, typing.Any] - metadataMergeStrategy: typing_extensions.Literal[ + metadataMergeStrategy: typing.Literal[ "METADATA_MERGE_STRATEGY_UNSPECIFIED", "OVERWRITE", "MERGE", @@ -3968,7 +3867,7 @@ class GoogleCloudAiplatformV1GenerateMemoriesRequest( @typing.type_check_only class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[ GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent @@ -3976,13 +3875,13 @@ class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource( @typing.type_check_only class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1Content @typing.type_check_only class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): directMemories: _list[ GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory @@ -3990,14 +3889,14 @@ class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource( @typing.type_check_only class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fact: str topics: _list[GoogleCloudAiplatformV1MemoryTopicId] @typing.type_check_only class GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str session: str @@ -4005,7 +3904,7 @@ class GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource( @typing.type_check_only class GoogleCloudAiplatformV1GenerateSyntheticDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: int examples: _list[GoogleCloudAiplatformV1SyntheticExample] @@ -4014,52 +3913,50 @@ class GoogleCloudAiplatformV1GenerateSyntheticDataRequest( @typing.type_check_only class GoogleCloudAiplatformV1GenerateSyntheticDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): syntheticExamples: _list[GoogleCloudAiplatformV1SyntheticExample] @typing.type_check_only class GoogleCloudAiplatformV1GenerateUserScenariosRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agents: dict[str, typing.Any] allowCrossRegionModel: bool + geminiAgentConfig: GoogleCloudAiplatformV1GeminiAgentConfig rootAgentId: str userScenarioGenerationConfig: GoogleCloudAiplatformV1UserScenarioGenerationConfig @typing.type_check_only class GoogleCloudAiplatformV1GenerateUserScenariosResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userScenarios: _list[GoogleCloudAiplatformV1UserScenario] @typing.type_check_only -class GoogleCloudAiplatformV1GenerateVideoResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenerateVideoResponse(typing.TypedDict, total=False): generatedSamples: _list[str] raiMediaFilteredCount: int raiMediaFilteredReasons: _list[str] videos: _list[GoogleCloudAiplatformV1GenerateVideoResponseVideo] @typing.type_check_only -class GoogleCloudAiplatformV1GenerateVideoResponseVideo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenerateVideoResponseVideo(typing.TypedDict, total=False): bytesBase64Encoded: str gcsUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GenerationConfig(typing.TypedDict, total=False): audioTimestamp: bool + audioTranscriptionConfig: GoogleCloudAiplatformV1AudioTranscriptionConfig candidateCount: int enableAffectiveDialog: bool frequencyPenalty: float imageConfig: GoogleCloudAiplatformV1ImageConfig logprobs: int maxOutputTokens: int - mediaResolution: typing_extensions.Literal[ + mediaResolution: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", @@ -4071,9 +3968,7 @@ class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total responseLogprobs: bool responseMimeType: str responseModalities: _list[ - typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "AUDIO", "VIDEO" - ] + typing.Literal["MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "AUDIO", "VIDEO"] ] responseSchema: GoogleCloudAiplatformV1Schema routingConfig: GoogleCloudAiplatformV1GenerationConfigRoutingConfig @@ -4087,118 +3982,112 @@ class GoogleCloudAiplatformV1GenerationConfig(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1GenerationConfigRoutingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoMode: GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode manualMode: GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode @typing.type_check_only class GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelRoutingPreference: typing_extensions.Literal[ + modelRoutingPreference: typing.Literal[ "UNKNOWN", "PRIORITIZE_QUALITY", "BALANCED", "PRIORITIZE_COST" ] @typing.type_check_only class GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1GenerationConfigThinkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeThoughts: bool thinkingBudget: int - thinkingLevel: typing_extensions.Literal[ + thinkingLevel: typing.Literal[ "THINKING_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL" ] @typing.type_check_only -class GoogleCloudAiplatformV1GenericOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GenericOperationMetadata(typing.TypedDict, total=False): createTime: str partialFailures: _list[GoogleRpcStatus] updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1GenieSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GenieSource(typing.TypedDict, total=False): baseModelUri: str @typing.type_check_only -class GoogleCloudAiplatformV1GoogleDriveSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GoogleDriveSource(typing.TypedDict, total=False): resourceIds: _list[GoogleCloudAiplatformV1GoogleDriveSourceResourceId] @typing.type_check_only -class GoogleCloudAiplatformV1GoogleDriveSourceResourceId( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GoogleDriveSourceResourceId(typing.TypedDict, total=False): resourceId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_FILE", "RESOURCE_TYPE_FOLDER" ] @typing.type_check_only -class GoogleCloudAiplatformV1GoogleMaps(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GoogleMaps(typing.TypedDict, total=False): enableWidget: bool + groundingTypes: GoogleCloudAiplatformV1GoogleMapsGroundingTypes @typing.type_check_only -class GoogleCloudAiplatformV1GoogleSearchRetrieval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GoogleMapsGroundingTypes(typing.TypedDict, total=False): + places: GoogleCloudAiplatformV1GoogleMapsPlaces + routing: GoogleCloudAiplatformV1GoogleMapsRouting + +@typing.type_check_only +class GoogleCloudAiplatformV1GoogleMapsPlaces(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1GoogleMapsRouting(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1GoogleSearchRetrieval(typing.TypedDict, total=False): dynamicRetrievalConfig: GoogleCloudAiplatformV1DynamicRetrievalConfig @typing.type_check_only -class GoogleCloudAiplatformV1GroundednessInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundednessInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1GroundednessInstance metricSpec: GoogleCloudAiplatformV1GroundednessSpec @typing.type_check_only -class GoogleCloudAiplatformV1GroundednessInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundednessInstance(typing.TypedDict, total=False): context: str prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1GroundednessResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundednessResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1GroundednessSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GroundednessSpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1GroundingChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GroundingChunk(typing.TypedDict, total=False): image: GoogleCloudAiplatformV1GroundingChunkImage maps: GoogleCloudAiplatformV1GroundingChunkMaps retrievedContext: GoogleCloudAiplatformV1GroundingChunkRetrievedContext web: GoogleCloudAiplatformV1GroundingChunkWeb @typing.type_check_only -class GoogleCloudAiplatformV1GroundingChunkImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundingChunkImage(typing.TypedDict, total=False): domain: str imageUri: str sourceUri: str title: str @typing.type_check_only -class GoogleCloudAiplatformV1GroundingChunkMaps( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundingChunkMaps(typing.TypedDict, total=False): placeAnswerSources: GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources placeId: str route: GoogleCloudAiplatformV1GroundingChunkMapsRoute @@ -4208,7 +4097,7 @@ class GoogleCloudAiplatformV1GroundingChunkMaps( @typing.type_check_only class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): reviewSnippets: _list[ GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet @@ -4216,23 +4105,21 @@ class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources( @typing.type_check_only class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleMapsUri: str reviewId: str title: str @typing.type_check_only -class GoogleCloudAiplatformV1GroundingChunkMapsRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundingChunkMapsRoute(typing.TypedDict, total=False): distanceMeters: int duration: str encodedPolyline: str @typing.type_check_only class GoogleCloudAiplatformV1GroundingChunkRetrievedContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentName: str ragChunk: GoogleCloudAiplatformV1RagChunk @@ -4241,44 +4128,39 @@ class GoogleCloudAiplatformV1GroundingChunkRetrievedContext( uri: str @typing.type_check_only -class GoogleCloudAiplatformV1GroundingChunkWeb( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundingChunkWeb(typing.TypedDict, total=False): domain: str title: str uri: str @typing.type_check_only -class GoogleCloudAiplatformV1GroundingMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1GroundingMetadata(typing.TypedDict, total=False): googleMapsWidgetContextToken: str groundingChunks: _list[GoogleCloudAiplatformV1GroundingChunk] groundingSupports: _list[GoogleCloudAiplatformV1GroundingSupport] imageSearchQueries: _list[str] retrievalMetadata: GoogleCloudAiplatformV1RetrievalMetadata + retrievalQueries: _list[str] searchEntryPoint: GoogleCloudAiplatformV1SearchEntryPoint sourceFlaggingUris: _list[GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri] webSearchQueries: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flagContentUri: str sourceId: str @typing.type_check_only -class GoogleCloudAiplatformV1GroundingSupport(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1GroundingSupport(typing.TypedDict, total=False): confidenceScores: _list[float] groundingChunkIndices: _list[int] renderedParts: _list[int] segment: GoogleCloudAiplatformV1Segment @typing.type_check_only -class GoogleCloudAiplatformV1HyperparameterTuningJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1HyperparameterTuningJob(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec @@ -4292,7 +4174,7 @@ class GoogleCloudAiplatformV1HyperparameterTuningJob( satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -4312,18 +4194,18 @@ class GoogleCloudAiplatformV1HyperparameterTuningJob( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1IdMatcher(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1IdMatcher(typing.TypedDict, total=False): ids: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1ImageConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ImageConfig(typing.TypedDict, total=False): aspectRatio: str imageOutputOptions: GoogleCloudAiplatformV1ImageConfigImageOutputOptions imageSize: str - personGeneration: typing_extensions.Literal[ + personGeneration: typing.Literal[ "PERSON_GENERATION_UNSPECIFIED", "ALLOW_ALL", "ALLOW_ADULT", "ALLOW_NONE" ] - prominentPeople: typing_extensions.Literal[ + prominentPeople: typing.Literal[ "PROMINENT_PEOPLE_UNSPECIFIED", "ALLOW_PROMINENT_PEOPLE", "BLOCK_PROMINENT_PEOPLE", @@ -4331,16 +4213,14 @@ class GoogleCloudAiplatformV1ImageConfig(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudAiplatformV1ImageConfigImageOutputOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compressionQuality: int mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1ImageResponseFormat( - typing_extensions.TypedDict, total=False -): - aspectRatio: typing_extensions.Literal[ +class GoogleCloudAiplatformV1ImageResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ "ASPECT_RATIO_UNSPECIFIED", "ASPECT_RATIO_ONE_BY_ONE", "ASPECT_RATIO_TWO_BY_THREE", @@ -4357,44 +4237,36 @@ class GoogleCloudAiplatformV1ImageResponseFormat( "ASPECT_RATIO_ONE_BY_FOUR", "ASPECT_RATIO_FOUR_BY_ONE", ] - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - imageSize: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + imageSize: typing.Literal[ "IMAGE_SIZE_UNSPECIFIED", "IMAGE_SIZE_FIVE_TWELVE", "IMAGE_SIZE_ONE_K", "IMAGE_SIZE_TWO_K", "IMAGE_SIZE_FOUR_K", ] - mimeType: typing_extensions.Literal["MIME_TYPE_UNSPECIFIED", "IMAGE_JPEG"] + mimeType: typing.Literal["MIME_TYPE_UNSPECIFIED", "IMAGE_JPEG"] @typing.type_check_only -class GoogleCloudAiplatformV1ImportDataConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ImportDataConfig(typing.TypedDict, total=False): annotationLabels: dict[str, typing.Any] dataItemLabels: dict[str, typing.Any] gcsSource: GoogleCloudAiplatformV1GcsSource importSchemaUri: str @typing.type_check_only -class GoogleCloudAiplatformV1ImportDataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ImportDataOperationMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1ImportDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ImportDataRequest(typing.TypedDict, total=False): importConfigs: _list[GoogleCloudAiplatformV1ImportDataConfig] @typing.type_check_only -class GoogleCloudAiplatformV1ImportDataResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1ImportDataResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1ImportEvaluationSetRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ImportEvaluationSetRequest(typing.TypedDict, total=False): agentEngineSource: ( GoogleCloudAiplatformV1ImportEvaluationSetRequestAgentEngineSource ) @@ -4404,10 +4276,13 @@ class GoogleCloudAiplatformV1ImportEvaluationSetRequest( gcsDestination: GoogleCloudAiplatformV1GcsDestination gcsSource: GoogleCloudAiplatformV1ImportEvaluationSetRequestGcsSource inlineSource: GoogleCloudAiplatformV1ImportEvaluationSetRequestInlineSource + interactionsSource: ( + GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource + ) @typing.type_check_only class GoogleCloudAiplatformV1ImportEvaluationSetRequestAgentEngineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str projectId: str @@ -4416,7 +4291,7 @@ class GoogleCloudAiplatformV1ImportEvaluationSetRequestAgentEngineSource( @typing.type_check_only class GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str sessionIds: _list[str] @@ -4424,7 +4299,7 @@ class GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource( @typing.type_check_only class GoogleCloudAiplatformV1ImportEvaluationSetRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str importSchemaConfig: ( @@ -4433,25 +4308,32 @@ class GoogleCloudAiplatformV1ImportEvaluationSetRequestGcsSource( @typing.type_check_only class GoogleCloudAiplatformV1ImportEvaluationSetRequestImportSchemaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal[ + dataFormat: typing.Literal[ "DATA_FORMAT_UNSPECIFIED", "OTEL_PROTO", "OTEL_JSON", "JSONL" ] dataFormatVersion: str @typing.type_check_only class GoogleCloudAiplatformV1ImportEvaluationSetRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str importSchemaConfig: ( GoogleCloudAiplatformV1ImportEvaluationSetRequestImportSchemaConfig ) +@typing.type_check_only +class GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource( + typing.TypedDict, total=False +): + geminiAgentConfig: GoogleCloudAiplatformV1GeminiAgentConfig + interactions: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockingOperationIds: _list[str] genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @@ -4462,9 +4344,7 @@ class GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata( timestampOutsideRetentionRowsCount: str @typing.type_check_only -class GoogleCloudAiplatformV1ImportFeatureValuesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ImportFeatureValuesRequest(typing.TypedDict, total=False): avroSource: GoogleCloudAiplatformV1AvroSource bigquerySource: GoogleCloudAiplatformV1BigQuerySource csvSource: GoogleCloudAiplatformV1CsvSource @@ -4478,15 +4358,13 @@ class GoogleCloudAiplatformV1ImportFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str sourceField: str @typing.type_check_only -class GoogleCloudAiplatformV1ImportFeatureValuesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ImportFeatureValuesResponse(typing.TypedDict, total=False): importedEntityCount: str importedFeatureValueCount: str invalidRowCount: str @@ -4494,14 +4372,12 @@ class GoogleCloudAiplatformV1ImportFeatureValuesResponse( @typing.type_check_only class GoogleCloudAiplatformV1ImportModelEvaluationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluation: GoogleCloudAiplatformV1ModelEvaluation @typing.type_check_only -class GoogleCloudAiplatformV1ImportRagFilesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ImportRagFilesConfig(typing.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1GcsSource googleDriveSource: GoogleCloudAiplatformV1GoogleDriveSource importResultBigquerySink: GoogleCloudAiplatformV1BigQueryDestination @@ -4517,13 +4393,11 @@ class GoogleCloudAiplatformV1ImportRagFilesConfig( slackSource: GoogleCloudAiplatformV1SlackSource @typing.type_check_only -class GoogleCloudAiplatformV1ImportRagFilesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ImportRagFilesRequest(typing.TypedDict, total=False): importRagFilesConfig: GoogleCloudAiplatformV1ImportRagFilesConfig @typing.type_check_only -class GoogleCloudAiplatformV1Index(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Index(typing.TypedDict, total=False): createTime: str deployedIndexes: _list[GoogleCloudAiplatformV1DeployedIndexRef] description: str @@ -4531,7 +4405,7 @@ class GoogleCloudAiplatformV1Index(typing_extensions.TypedDict, total=False): encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec etag: str indexStats: GoogleCloudAiplatformV1IndexStats - indexUpdateMethod: typing_extensions.Literal[ + indexUpdateMethod: typing.Literal[ "INDEX_UPDATE_METHOD_UNSPECIFIED", "BATCH_UPDATE", "STREAM_UPDATE" ] labels: dict[str, typing.Any] @@ -4543,7 +4417,7 @@ class GoogleCloudAiplatformV1Index(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1IndexDatapoint(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1IndexDatapoint(typing.TypedDict, total=False): crowdingTag: GoogleCloudAiplatformV1IndexDatapointCrowdingTag datapointId: str embeddingMetadata: dict[str, typing.Any] @@ -4553,17 +4427,15 @@ class GoogleCloudAiplatformV1IndexDatapoint(typing_extensions.TypedDict, total=F sparseEmbedding: GoogleCloudAiplatformV1IndexDatapointSparseEmbedding @typing.type_check_only -class GoogleCloudAiplatformV1IndexDatapointCrowdingTag( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1IndexDatapointCrowdingTag(typing.TypedDict, total=False): crowdingAttribute: str @typing.type_check_only class GoogleCloudAiplatformV1IndexDatapointNumericRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): namespace: str - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS", "LESS_EQUAL", @@ -4577,22 +4449,20 @@ class GoogleCloudAiplatformV1IndexDatapointNumericRestriction( valueInt: str @typing.type_check_only -class GoogleCloudAiplatformV1IndexDatapointRestriction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1IndexDatapointRestriction(typing.TypedDict, total=False): allowList: _list[str] denyList: _list[str] namespace: str @typing.type_check_only class GoogleCloudAiplatformV1IndexDatapointSparseEmbedding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] values: _list[float] @typing.type_check_only -class GoogleCloudAiplatformV1IndexEndpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1IndexEndpoint(typing.TypedDict, total=False): createTime: str deployedIndexes: _list[GoogleCloudAiplatformV1DeployedIndex] description: str @@ -4611,45 +4481,52 @@ class GoogleCloudAiplatformV1IndexEndpoint(typing_extensions.TypedDict, total=Fa updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1IndexPrivateEndpoints( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1IndexPrivateEndpoints(typing.TypedDict, total=False): matchGrpcAddress: str pscAutomatedEndpoints: _list[GoogleCloudAiplatformV1PscAutomatedEndpoints] serviceAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1IndexStats(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1IndexStats(typing.TypedDict, total=False): shardsCount: int sparseVectorsCount: str vectorsCount: str @typing.type_check_only -class GoogleCloudAiplatformV1IngestEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1IngestEventsRequest(typing.TypedDict, total=False): directContentsSource: GoogleCloudAiplatformV1IngestionDirectContentsSource + disableMemoryRevisions: bool forceFlush: bool generationTriggerConfig: GoogleCloudAiplatformV1MemoryGenerationTriggerConfig + metadata: dict[str, typing.Any] + metadataMergeStrategy: typing.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 @typing.type_check_only class GoogleCloudAiplatformV1IngestionDirectContentsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[GoogleCloudAiplatformV1IngestionDirectContentsSourceEvent] @typing.type_check_only class GoogleCloudAiplatformV1IngestionDirectContentsSourceEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1Content eventId: str eventTime: str @typing.type_check_only -class GoogleCloudAiplatformV1InputDataConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1InputDataConfig(typing.TypedDict, total=False): annotationSchemaUri: str annotationsFilter: str bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination @@ -4664,38 +4541,34 @@ class GoogleCloudAiplatformV1InputDataConfig(typing_extensions.TypedDict, total= timestampSplit: GoogleCloudAiplatformV1TimestampSplit @typing.type_check_only -class GoogleCloudAiplatformV1Int64Array(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Int64Array(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1IntegratedGradientsAttribution( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blurBaselineConfig: GoogleCloudAiplatformV1BlurBaselineConfig smoothGradConfig: GoogleCloudAiplatformV1SmoothGradConfig stepCount: int @typing.type_check_only -class GoogleCloudAiplatformV1IntermediateExtractedMemory( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1IntermediateExtractedMemory(typing.TypedDict, total=False): context: str fact: str structuredData: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1InvokeRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1InvokeRequest(typing.TypedDict, total=False): deployedModelId: str httpBody: GoogleApiHttpBody @typing.type_check_only -class GoogleCloudAiplatformV1JiraSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1JiraSource(typing.TypedDict, total=False): jiraQueries: _list[GoogleCloudAiplatformV1JiraSourceJiraQueries] @typing.type_check_only -class GoogleCloudAiplatformV1JiraSourceJiraQueries( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1JiraSourceJiraQueries(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1ApiAuthApiKeyConfig customQueries: _list[str] email: str @@ -4703,21 +4576,17 @@ class GoogleCloudAiplatformV1JiraSourceJiraQueries( serverUri: str @typing.type_check_only -class GoogleCloudAiplatformV1KeepAliveProbe(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1KeepAliveProbe(typing.TypedDict, total=False): httpGet: GoogleCloudAiplatformV1KeepAliveProbeHttpGet maxSeconds: int @typing.type_check_only -class GoogleCloudAiplatformV1KeepAliveProbeHttpGet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1KeepAliveProbeHttpGet(typing.TypedDict, total=False): path: str port: int @typing.type_check_only -class GoogleCloudAiplatformV1LLMBasedMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1LLMBasedMetricSpec(typing.TypedDict, total=False): additionalConfig: dict[str, typing.Any] judgeAutoraterConfig: GoogleCloudAiplatformV1AutoraterConfig metricPromptTemplate: str @@ -4728,244 +4597,197 @@ class GoogleCloudAiplatformV1LLMBasedMetricSpec( systemInstruction: str @typing.type_check_only -class GoogleCloudAiplatformV1LargeModelReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1LargeModelReference(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudAiplatformV1LineageSubgraph(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1LineageSubgraph(typing.TypedDict, total=False): artifacts: _list[GoogleCloudAiplatformV1Artifact] events: _list[GoogleCloudAiplatformV1Event] executions: _list[GoogleCloudAiplatformV1Execution] @typing.type_check_only -class GoogleCloudAiplatformV1ListAgentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListAgentsResponse(typing.TypedDict, total=False): agents: _list[GoogleCloudAiplatformV1Agent] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListAnnotationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListAnnotationsResponse(typing.TypedDict, total=False): annotations: _list[GoogleCloudAiplatformV1Annotation] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListArtifactsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListArtifactsResponse(typing.TypedDict, total=False): artifacts: _list[GoogleCloudAiplatformV1Artifact] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListBatchPredictionJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): batchPredictionJobs: _list[GoogleCloudAiplatformV1BatchPredictionJob] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListCachedContentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListCachedContentsResponse(typing.TypedDict, total=False): cachedContents: _list[GoogleCloudAiplatformV1CachedContent] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListContextsResponse(typing.TypedDict, total=False): contexts: _list[GoogleCloudAiplatformV1Context] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListCustomJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListCustomJobsResponse(typing.TypedDict, total=False): customJobs: _list[GoogleCloudAiplatformV1CustomJob] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListDataItemsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListDataItemsResponse(typing.TypedDict, total=False): dataItems: _list[GoogleCloudAiplatformV1DataItem] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListDataLabelingJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataLabelingJobs: _list[GoogleCloudAiplatformV1DataLabelingJob] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListDatasetVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListDatasetVersionsResponse(typing.TypedDict, total=False): datasetVersions: _list[GoogleCloudAiplatformV1DatasetVersion] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListDatasetsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListDatasetsResponse(typing.TypedDict, total=False): datasets: _list[GoogleCloudAiplatformV1Dataset] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deploymentResourcePools: _list[GoogleCloudAiplatformV1DeploymentResourcePool] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListEndpointsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[GoogleCloudAiplatformV1Endpoint] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListEntityTypesResponse(typing.TypedDict, total=False): entityTypes: _list[GoogleCloudAiplatformV1EntityType] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListEvaluationItemsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListEvaluationItemsResponse(typing.TypedDict, total=False): evaluationItems: _list[GoogleCloudAiplatformV1EvaluationItem] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListEvaluationRunsResponse( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1ListEvaluationMetricsResponse( + typing.TypedDict, total=False ): + evaluationMetrics: _list[GoogleCloudAiplatformV1EvaluationMetric] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ListEvaluationRunsResponse(typing.TypedDict, total=False): evaluationRuns: _list[GoogleCloudAiplatformV1EvaluationRun] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListEvaluationSetsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListEvaluationSetsResponse(typing.TypedDict, total=False): evaluationSets: _list[GoogleCloudAiplatformV1EvaluationSet] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListEventsResponse(typing.TypedDict, total=False): nextPageToken: str sessionEvents: _list[GoogleCloudAiplatformV1SessionEvent] @typing.type_check_only -class GoogleCloudAiplatformV1ListExecutionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[GoogleCloudAiplatformV1Execution] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListFeatureGroupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListFeatureGroupsResponse(typing.TypedDict, total=False): featureGroups: _list[GoogleCloudAiplatformV1FeatureGroup] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureOnlineStores: _list[GoogleCloudAiplatformV1FeatureOnlineStore] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListFeatureViewSyncsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureViewSyncs: _list[GoogleCloudAiplatformV1FeatureViewSync] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListFeatureViewsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListFeatureViewsResponse(typing.TypedDict, total=False): featureViews: _list[GoogleCloudAiplatformV1FeatureView] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListFeaturesResponse(typing.TypedDict, total=False): features: _list[GoogleCloudAiplatformV1Feature] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListFeaturestoresResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListFeaturestoresResponse(typing.TypedDict, total=False): featurestores: _list[GoogleCloudAiplatformV1Featurestore] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hyperparameterTuningJobs: _list[GoogleCloudAiplatformV1HyperparameterTuningJob] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListIndexEndpointsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListIndexEndpointsResponse(typing.TypedDict, total=False): indexEndpoints: _list[GoogleCloudAiplatformV1IndexEndpoint] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListIndexesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListIndexesResponse(typing.TypedDict, total=False): indexes: _list[GoogleCloudAiplatformV1Index] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListMemoriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListMemoriesResponse(typing.TypedDict, total=False): memories: _list[GoogleCloudAiplatformV1Memory] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListMemoryRevisionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListMemoryRevisionsResponse(typing.TypedDict, total=False): memoryRevisions: _list[GoogleCloudAiplatformV1MemoryRevision] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListMetadataSchemasResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListMetadataSchemasResponse(typing.TypedDict, total=False): metadataSchemas: _list[GoogleCloudAiplatformV1MetadataSchema] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListMetadataStoresResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListMetadataStoresResponse(typing.TypedDict, total=False): metadataStores: _list[GoogleCloudAiplatformV1MetadataStore] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelDeploymentMonitoringJobs: _list[ GoogleCloudAiplatformV1ModelDeploymentMonitoringJob @@ -4974,130 +4796,114 @@ class GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse( @typing.type_check_only class GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluationSlices: _list[GoogleCloudAiplatformV1ModelEvaluationSlice] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListModelEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluations: _list[GoogleCloudAiplatformV1ModelEvaluation] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): checkpoints: _list[GoogleCloudAiplatformV1ModelVersionCheckpoint] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListModelVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListModelVersionsResponse(typing.TypedDict, total=False): models: _list[GoogleCloudAiplatformV1Model] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListModelsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListModelsResponse(typing.TypedDict, total=False): models: _list[GoogleCloudAiplatformV1Model] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListNasJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListNasJobsResponse(typing.TypedDict, total=False): nasJobs: _list[GoogleCloudAiplatformV1NasJob] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1ListNasTrialDetailsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListNasTrialDetailsResponse(typing.TypedDict, total=False): nasTrialDetails: _list[GoogleCloudAiplatformV1NasTrialDetail] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notebookExecutionJobs: _list[GoogleCloudAiplatformV1NotebookExecutionJob] @typing.type_check_only class GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notebookRuntimeTemplates: _list[GoogleCloudAiplatformV1NotebookRuntimeTemplate] @typing.type_check_only class GoogleCloudAiplatformV1ListNotebookRuntimesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notebookRuntimes: _list[GoogleCloudAiplatformV1NotebookRuntime] @typing.type_check_only class GoogleCloudAiplatformV1ListOnlineEvaluatorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str onlineEvaluators: _list[GoogleCloudAiplatformV1OnlineEvaluator] @typing.type_check_only class GoogleCloudAiplatformV1ListOptimalTrialsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1ListOptimalTrialsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListOptimalTrialsResponse(typing.TypedDict, total=False): optimalTrials: _list[GoogleCloudAiplatformV1Trial] @typing.type_check_only class GoogleCloudAiplatformV1ListPersistentResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str persistentResources: _list[GoogleCloudAiplatformV1PersistentResource] @typing.type_check_only -class GoogleCloudAiplatformV1ListPipelineJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListPipelineJobsResponse(typing.TypedDict, total=False): nextPageToken: str pipelineJobs: _list[GoogleCloudAiplatformV1PipelineJob] @typing.type_check_only -class GoogleCloudAiplatformV1ListRagCorporaResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListRagCorporaResponse(typing.TypedDict, total=False): nextPageToken: str ragCorpora: _list[GoogleCloudAiplatformV1RagCorpus] @typing.type_check_only -class GoogleCloudAiplatformV1ListRagFilesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListRagFilesResponse(typing.TypedDict, total=False): nextPageToken: str ragFiles: _list[GoogleCloudAiplatformV1RagFile] @typing.type_check_only class GoogleCloudAiplatformV1ListReasoningEnginesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str reasoningEngines: _list[GoogleCloudAiplatformV1ReasoningEngine] @typing.type_check_only class GoogleCloudAiplatformV1ListSandboxEnvironmentSnapshotsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sandboxEnvironmentSnapshots: _list[ @@ -5106,7 +4912,7 @@ class GoogleCloudAiplatformV1ListSandboxEnvironmentSnapshotsResponse( @typing.type_check_only class GoogleCloudAiplatformV1ListSandboxEnvironmentTemplatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sandboxEnvironmentTemplates: _list[ @@ -5115,145 +4921,119 @@ class GoogleCloudAiplatformV1ListSandboxEnvironmentTemplatesResponse( @typing.type_check_only class GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sandboxEnvironments: _list[GoogleCloudAiplatformV1SandboxEnvironment] @typing.type_check_only -class GoogleCloudAiplatformV1ListSavedQueriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListSavedQueriesResponse(typing.TypedDict, total=False): nextPageToken: str savedQueries: _list[GoogleCloudAiplatformV1SavedQuery] @typing.type_check_only -class GoogleCloudAiplatformV1ListSchedulesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListSchedulesResponse(typing.TypedDict, total=False): nextPageToken: str schedules: _list[GoogleCloudAiplatformV1Schedule] @typing.type_check_only class GoogleCloudAiplatformV1ListSemanticGovernancePoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str semanticGovernancePolicies: _list[GoogleCloudAiplatformV1SemanticGovernancePolicy] @typing.type_check_only -class GoogleCloudAiplatformV1ListSessionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListSessionsResponse(typing.TypedDict, total=False): nextPageToken: str sessions: _list[GoogleCloudAiplatformV1Session] @typing.type_check_only -class GoogleCloudAiplatformV1ListSpecialistPoolsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListSpecialistPoolsResponse(typing.TypedDict, total=False): nextPageToken: str specialistPools: _list[GoogleCloudAiplatformV1SpecialistPool] @typing.type_check_only -class GoogleCloudAiplatformV1ListStudiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListStudiesResponse(typing.TypedDict, total=False): nextPageToken: str studies: _list[GoogleCloudAiplatformV1Study] @typing.type_check_only class GoogleCloudAiplatformV1ListTensorboardExperimentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str tensorboardExperiments: _list[GoogleCloudAiplatformV1TensorboardExperiment] @typing.type_check_only -class GoogleCloudAiplatformV1ListTensorboardRunsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListTensorboardRunsResponse(typing.TypedDict, total=False): nextPageToken: str tensorboardRuns: _list[GoogleCloudAiplatformV1TensorboardRun] @typing.type_check_only class GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str tensorboardTimeSeries: _list[GoogleCloudAiplatformV1TensorboardTimeSeries] @typing.type_check_only -class GoogleCloudAiplatformV1ListTensorboardsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListTensorboardsResponse(typing.TypedDict, total=False): nextPageToken: str tensorboards: _list[GoogleCloudAiplatformV1Tensorboard] @typing.type_check_only class GoogleCloudAiplatformV1ListTrainingPipelinesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str trainingPipelines: _list[GoogleCloudAiplatformV1TrainingPipeline] @typing.type_check_only -class GoogleCloudAiplatformV1ListTrialsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListTrialsResponse(typing.TypedDict, total=False): nextPageToken: str trials: _list[GoogleCloudAiplatformV1Trial] @typing.type_check_only -class GoogleCloudAiplatformV1ListTuningJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ListTuningJobsResponse(typing.TypedDict, total=False): nextPageToken: str tuningJobs: _list[GoogleCloudAiplatformV1TuningJob] @typing.type_check_only -class GoogleCloudAiplatformV1LogprobsResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1LogprobsResult(typing.TypedDict, total=False): chosenCandidates: _list[GoogleCloudAiplatformV1LogprobsResultCandidate] topCandidates: _list[GoogleCloudAiplatformV1LogprobsResultTopCandidates] @typing.type_check_only -class GoogleCloudAiplatformV1LogprobsResultCandidate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1LogprobsResultCandidate(typing.TypedDict, total=False): logProbability: float token: str tokenId: int @typing.type_check_only -class GoogleCloudAiplatformV1LogprobsResultTopCandidates( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1LogprobsResultTopCandidates(typing.TypedDict, total=False): candidates: _list[GoogleCloudAiplatformV1LogprobsResultCandidate] @typing.type_check_only -class GoogleCloudAiplatformV1LookupStudyRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1LookupStudyRequest(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1LossAnalysisConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1LossAnalysisConfig(typing.TypedDict, total=False): candidate: str metric: str @typing.type_check_only -class GoogleCloudAiplatformV1LustreMount(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1LustreMount(typing.TypedDict, total=False): filesystem: str instanceIp: str mountPoint: str volumeHandle: str @typing.type_check_only -class GoogleCloudAiplatformV1MachineSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MachineSpec(typing.TypedDict, total=False): acceleratorCount: int - acceleratorType: typing_extensions.Literal[ + acceleratorType: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -5280,26 +5060,22 @@ class GoogleCloudAiplatformV1MachineSpec(typing_extensions.TypedDict, total=Fals tpuTopology: str @typing.type_check_only -class GoogleCloudAiplatformV1ManualBatchTuningParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ManualBatchTuningParameters(typing.TypedDict, total=False): batchSize: int @typing.type_check_only -class GoogleCloudAiplatformV1Measurement(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Measurement(typing.TypedDict, total=False): elapsedDuration: str metrics: _list[GoogleCloudAiplatformV1MeasurementMetric] stepCount: str @typing.type_check_only -class GoogleCloudAiplatformV1MeasurementMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MeasurementMetric(typing.TypedDict, total=False): metricId: str value: float @typing.type_check_only -class GoogleCloudAiplatformV1Memory(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Memory(typing.TypedDict, total=False): createTime: str description: str disableMemoryRevisions: bool @@ -5318,7 +5094,7 @@ class GoogleCloudAiplatformV1Memory(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consolidationConfig: ( GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig @@ -5333,13 +5109,13 @@ class GoogleCloudAiplatformV1MemoryBankCustomizationConfig( @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): revisionsPerCandidateCount: int @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationSource: GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource generatedMemories: _list[ @@ -5348,7 +5124,7 @@ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampl @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[ GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent @@ -5356,20 +5132,20 @@ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampl @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1Content @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fact: str topics: _list[GoogleCloudAiplatformV1MemoryTopicId] @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customMemoryTopic: ( GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic @@ -5378,16 +5154,16 @@ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic( @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str label: str @typing.type_check_only class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - managedTopicEnum: typing_extensions.Literal[ + managedTopicEnum: typing.Literal[ "MANAGED_TOPIC_ENUM_UNSPECIFIED", "USER_PERSONAL_INFO", "USER_PREFERENCES", @@ -5396,23 +5172,19 @@ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemo ] @typing.type_check_only -class GoogleCloudAiplatformV1MemoryConjunctionFilter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MemoryConjunctionFilter(typing.TypedDict, total=False): filters: _list[GoogleCloudAiplatformV1MemoryFilter] @typing.type_check_only -class GoogleCloudAiplatformV1MemoryFilter(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MemoryFilter(typing.TypedDict, total=False): key: str negate: bool - op: typing_extensions.Literal[ - "OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", "LESS_THAN" - ] + op: typing.Literal["OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", "LESS_THAN"] value: GoogleCloudAiplatformV1MemoryMetadataValue @typing.type_check_only class GoogleCloudAiplatformV1MemoryGenerationTriggerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generationRule: ( GoogleCloudAiplatformV1MemoryGenerationTriggerConfigGenerationTriggerRule @@ -5420,23 +5192,22 @@ class GoogleCloudAiplatformV1MemoryGenerationTriggerConfig( @typing.type_check_only class GoogleCloudAiplatformV1MemoryGenerationTriggerConfigGenerationTriggerRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventCount: int fixedInterval: str idleDuration: str + overlapEventCount: int @typing.type_check_only -class GoogleCloudAiplatformV1MemoryMetadataValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MemoryMetadataValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float stringValue: str timestampValue: str @typing.type_check_only -class GoogleCloudAiplatformV1MemoryRevision(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MemoryRevision(typing.TypedDict, total=False): createTime: str expireTime: str extractedMemories: _list[GoogleCloudAiplatformV1IntermediateExtractedMemory] @@ -5446,9 +5217,9 @@ class GoogleCloudAiplatformV1MemoryRevision(typing_extensions.TypedDict, total=F structuredData: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1MemoryTopicId(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MemoryTopicId(typing.TypedDict, total=False): customMemoryTopicLabel: str - managedMemoryTopic: typing_extensions.Literal[ + managedMemoryTopic: typing.Literal[ "MANAGED_TOPIC_ENUM_UNSPECIFIED", "USER_PERSONAL_INFO", "USER_PREFERENCES", @@ -5457,22 +5228,20 @@ class GoogleCloudAiplatformV1MemoryTopicId(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleCloudAiplatformV1MergeVersionAliasesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MergeVersionAliasesRequest(typing.TypedDict, total=False): versionAliases: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1Metadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Metadata(typing.TypedDict, total=False): attributes: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1MetadataSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetadataSchema(typing.TypedDict, total=False): createTime: str description: str name: str schema: str - schemaType: typing_extensions.Literal[ + schemaType: typing.Literal[ "METADATA_SCHEMA_TYPE_UNSPECIFIED", "ARTIFACT_TYPE", "EXECUTION_TYPE", @@ -5481,7 +5250,7 @@ class GoogleCloudAiplatformV1MetadataSchema(typing_extensions.TypedDict, total=F schemaVersion: str @typing.type_check_only -class GoogleCloudAiplatformV1MetadataStore(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetadataStore(typing.TypedDict, total=False): createTime: str dataplexConfig: GoogleCloudAiplatformV1MetadataStoreDataplexConfig description: str @@ -5491,21 +5260,19 @@ class GoogleCloudAiplatformV1MetadataStore(typing_extensions.TypedDict, total=Fa updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1MetadataStoreDataplexConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MetadataStoreDataplexConfig(typing.TypedDict, total=False): enabledPipelinesLineage: bool @typing.type_check_only class GoogleCloudAiplatformV1MetadataStoreMetadataStoreState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): diskUtilizationBytes: str @typing.type_check_only -class GoogleCloudAiplatformV1Metric(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Metric(typing.TypedDict, total=False): aggregationMetrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGGREGATION_METRIC_UNSPECIFIED", "AVERAGE", "MODE", @@ -5531,52 +5298,50 @@ class GoogleCloudAiplatformV1Metric(typing_extensions.TypedDict, total=False): rougeSpec: GoogleCloudAiplatformV1RougeSpec @typing.type_check_only -class GoogleCloudAiplatformV1MetricMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetricMetadata(typing.TypedDict, total=False): otherMetadata: dict[str, typing.Any] scoreRange: GoogleCloudAiplatformV1MetricMetadataScoreRange title: str @typing.type_check_only -class GoogleCloudAiplatformV1MetricMetadataScoreRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MetricMetadataScoreRange(typing.TypedDict, total=False): description: str max: float min: float step: float @typing.type_check_only -class GoogleCloudAiplatformV1MetricResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetricResult(typing.TypedDict, total=False): error: GoogleRpcStatus explanation: str rubricVerdicts: _list[GoogleCloudAiplatformV1RubricVerdict] score: float @typing.type_check_only -class GoogleCloudAiplatformV1MetricSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetricSource(typing.TypedDict, total=False): metric: GoogleCloudAiplatformV1Metric metricResourceName: str @typing.type_check_only -class GoogleCloudAiplatformV1MetricxInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetricxInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1MetricxInstance metricSpec: GoogleCloudAiplatformV1MetricxSpec @typing.type_check_only -class GoogleCloudAiplatformV1MetricxInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetricxInstance(typing.TypedDict, total=False): prediction: str reference: str source: str @typing.type_check_only -class GoogleCloudAiplatformV1MetricxResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetricxResult(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1MetricxSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1MetricxSpec(typing.TypedDict, total=False): sourceLanguage: str targetLanguage: str - version: typing_extensions.Literal[ + version: typing.Literal[ "METRICX_VERSION_UNSPECIFIED", "METRICX_24_REF", "METRICX_24_SRC", @@ -5584,9 +5349,7 @@ class GoogleCloudAiplatformV1MetricxSpec(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class GoogleCloudAiplatformV1MigratableResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MigratableResource(typing.TypedDict, total=False): automlDataset: GoogleCloudAiplatformV1MigratableResourceAutomlDataset automlModel: GoogleCloudAiplatformV1MigratableResourceAutomlModel dataLabelingDataset: GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset @@ -5596,21 +5359,21 @@ class GoogleCloudAiplatformV1MigratableResource( @typing.type_check_only class GoogleCloudAiplatformV1MigratableResourceAutomlDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str datasetDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1MigratableResourceAutomlModel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataLabelingAnnotatedDatasets: _list[ GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset @@ -5620,22 +5383,20 @@ class GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset( @typing.type_check_only class GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str annotatedDatasetDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: str version: str @typing.type_check_only -class GoogleCloudAiplatformV1MigrateResourceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MigrateResourceRequest(typing.TypedDict, total=False): migrateAutomlDatasetConfig: ( GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig ) @@ -5651,21 +5412,21 @@ class GoogleCloudAiplatformV1MigrateResourceRequest( @typing.type_check_only class GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str datasetDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str datasetDisplayName: str @@ -5675,37 +5436,33 @@ class GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetCon @typing.type_check_only class GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str @typing.type_check_only class GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: str modelDisplayName: str modelVersion: str @typing.type_check_only -class GoogleCloudAiplatformV1MigrateResourceResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MigrateResourceResponse(typing.TypedDict, total=False): dataset: str migratableResource: GoogleCloudAiplatformV1MigratableResource model: str @typing.type_check_only -class GoogleCloudAiplatformV1ModalityTokenCount( - typing_extensions.TypedDict, total=False -): - modality: typing_extensions.Literal[ +class GoogleCloudAiplatformV1ModalityTokenCount(typing.TypedDict, total=False): + modality: typing.Literal[ "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "VIDEO", "AUDIO", "DOCUMENT" ] tokenCount: int @typing.type_check_only -class GoogleCloudAiplatformV1Model(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Model(typing.TypedDict, total=False): artifactUri: str baseModelSource: GoogleCloudAiplatformV1ModelBaseModelSource checkpoints: _list[GoogleCloudAiplatformV1Checkpoint] @@ -5731,7 +5488,7 @@ class GoogleCloudAiplatformV1Model(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool supportedDeploymentResourcesTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED", "DEDICATED_RESOURCES", "AUTOMATIC_RESOURCES", @@ -5750,21 +5507,17 @@ class GoogleCloudAiplatformV1Model(typing_extensions.TypedDict, total=False): versionUpdateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelArmorConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ModelArmorConfig(typing.TypedDict, total=False): promptTemplateName: str responseTemplateName: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelBaseModelSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelBaseModelSource(typing.TypedDict, total=False): genieSource: GoogleCloudAiplatformV1GenieSource modelGardenSource: GoogleCloudAiplatformV1ModelGardenSource @typing.type_check_only -class GoogleCloudAiplatformV1ModelContainerSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelContainerSpec(typing.TypedDict, total=False): args: _list[str] command: _list[str] deploymentTimeout: str @@ -5781,7 +5534,7 @@ class GoogleCloudAiplatformV1ModelContainerSpec( startupProbe: GoogleCloudAiplatformV1Probe @typing.type_check_only -class GoogleCloudAiplatformV1ModelDataStats(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ModelDataStats(typing.TypedDict, total=False): testAnnotationsCount: str testDataItemsCount: str trainingAnnotationsCount: str @@ -5791,18 +5544,16 @@ class GoogleCloudAiplatformV1ModelDataStats(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryTablePath: str - logSource: typing_extensions.Literal[ - "LOG_SOURCE_UNSPECIFIED", "TRAINING", "SERVING" - ] - logType: typing_extensions.Literal["LOG_TYPE_UNSPECIFIED", "PREDICT", "EXPLAIN"] + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "TRAINING", "SERVING"] + logType: typing.Literal["LOG_TYPE_UNSPECIFIED", "PREDICT", "EXPLAIN"] requestResponseLoggingSchemaVersion: str @typing.type_check_only class GoogleCloudAiplatformV1ModelDeploymentMonitoringJob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisInstanceSchemaUri: str bigqueryTables: _list[GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable] @@ -5829,10 +5580,10 @@ class GoogleCloudAiplatformV1ModelDeploymentMonitoringJob( samplePredictInstance: typing.Any satisfiesPzi: bool satisfiesPzs: bool - scheduleState: typing_extensions.Literal[ + scheduleState: typing.Literal[ "MONITORING_SCHEDULE_STATE_UNSPECIFIED", "PENDING", "OFFLINE", "RUNNING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -5851,27 +5602,27 @@ class GoogleCloudAiplatformV1ModelDeploymentMonitoringJob( @typing.type_check_only class GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): runTime: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedModelId: str objectiveConfig: GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig @typing.type_check_only class GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monitorInterval: str monitorWindow: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelEvaluation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ModelEvaluation(typing.TypedDict, total=False): annotationSchemaUri: str createTime: str dataItemSchemaUri: str @@ -5888,15 +5639,13 @@ class GoogleCloudAiplatformV1ModelEvaluation(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanationSpec: GoogleCloudAiplatformV1ExplanationSpec explanationType: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelEvaluationSlice( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelEvaluationSlice(typing.TypedDict, total=False): createTime: str metrics: typing.Any metricsSchemaUri: str @@ -5905,29 +5654,27 @@ class GoogleCloudAiplatformV1ModelEvaluationSlice( slice: GoogleCloudAiplatformV1ModelEvaluationSliceSlice @typing.type_check_only -class GoogleCloudAiplatformV1ModelEvaluationSliceSlice( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelEvaluationSliceSlice(typing.TypedDict, total=False): dimension: str sliceSpec: GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec value: str @typing.type_check_only class GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): high: float low: float @typing.type_check_only class GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allValues: bool range: GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange @@ -5935,49 +5682,43 @@ class GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig( @typing.type_check_only class GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): floatValue: float stringValue: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelExplanation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ModelExplanation(typing.TypedDict, total=False): meanAttributions: _list[GoogleCloudAiplatformV1Attribution] @typing.type_check_only -class GoogleCloudAiplatformV1ModelExportFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelExportFormat(typing.TypedDict, total=False): exportableContents: _list[ - typing_extensions.Literal["EXPORTABLE_CONTENT_UNSPECIFIED", "ARTIFACT", "IMAGE"] + typing.Literal["EXPORTABLE_CONTENT_UNSPECIFIED", "ARTIFACT", "IMAGE"] ] id: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelGardenSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelGardenSource(typing.TypedDict, total=False): publicModelName: str skipHfModelCache: bool versionId: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelMonitoringAlertConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelMonitoringAlertConfig(typing.TypedDict, total=False): emailAlertConfig: GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig enableLogging: bool notificationChannels: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEmails: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanationConfig: ( GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig @@ -5990,24 +5731,24 @@ class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig( @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableFeatureAttributes: bool explanationBaseline: GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquery: GoogleCloudAiplatformV1BigQueryDestination gcs: GoogleCloudAiplatformV1GcsDestination - predictionFormat: typing_extensions.Literal[ + predictionFormat: typing.Literal[ "PREDICTION_FORMAT_UNSPECIFIED", "JSONL", "BIGQUERY" ] @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributionScoreDriftThresholds: dict[str, typing.Any] defaultDriftThreshold: GoogleCloudAiplatformV1ThresholdConfig @@ -6015,7 +5756,7 @@ class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetect @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudAiplatformV1BigQuerySource dataFormat: str @@ -6026,7 +5767,7 @@ class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset( @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributionScoreSkewThresholds: dict[str, typing.Any] defaultSkewThreshold: GoogleCloudAiplatformV1ThresholdConfig @@ -6034,14 +5775,14 @@ class GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSke @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): anomalyCount: int deployedModelId: str featureStats: _list[ GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies ] - objective: typing_extensions.Literal[ + objective: typing.Literal[ "MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED", "RAW_FEATURE_SKEW", "RAW_FEATURE_DRIFT", @@ -6051,7 +5792,7 @@ class GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies( @typing.type_check_only class GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureDisplayName: str predictionStats: _list[GoogleCloudAiplatformV1FeatureStatsAnomaly] @@ -6059,15 +5800,13 @@ class GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAn trainingStats: GoogleCloudAiplatformV1FeatureStatsAnomaly @typing.type_check_only -class GoogleCloudAiplatformV1ModelOriginalModelInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelOriginalModelInfo(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudAiplatformV1ModelSourceInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ModelSourceInfo(typing.TypedDict, total=False): copy: bool - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "MODEL_SOURCE_TYPE_UNSPECIFIED", "AUTOML", "CUSTOM", @@ -6079,53 +5818,43 @@ class GoogleCloudAiplatformV1ModelSourceInfo(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudAiplatformV1ModelVersionCheckpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ModelVersionCheckpoint(typing.TypedDict, total=False): checkpointId: str epoch: str step: str @typing.type_check_only -class GoogleCloudAiplatformV1MultiSpeakerVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MultiSpeakerVoiceConfig(typing.TypedDict, total=False): speakerVoiceConfigs: _list[GoogleCloudAiplatformV1SpeakerVoiceConfig] @typing.type_check_only class GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedIndexId: str genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1MutateDeployedIndexResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MutateDeployedIndexResponse(typing.TypedDict, total=False): deployedIndex: GoogleCloudAiplatformV1DeployedIndex @typing.type_check_only class GoogleCloudAiplatformV1MutateDeployedModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1MutateDeployedModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MutateDeployedModelRequest(typing.TypedDict, total=False): deployedModel: GoogleCloudAiplatformV1DeployedModel updateMask: str @typing.type_check_only -class GoogleCloudAiplatformV1MutateDeployedModelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1MutateDeployedModelResponse(typing.TypedDict, total=False): deployedModel: GoogleCloudAiplatformV1DeployedModel @typing.type_check_only -class GoogleCloudAiplatformV1NasJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NasJob(typing.TypedDict, total=False): createTime: str displayName: str enableRestrictedImageTraining: bool @@ -6139,7 +5868,7 @@ class GoogleCloudAiplatformV1NasJob(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -6156,28 +5885,28 @@ class GoogleCloudAiplatformV1NasJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1NasJobOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NasJobOutput(typing.TypedDict, total=False): multiTrialJobOutput: GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput @typing.type_check_only class GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchTrials: _list[GoogleCloudAiplatformV1NasTrial] trainTrials: _list[GoogleCloudAiplatformV1NasTrial] @typing.type_check_only -class GoogleCloudAiplatformV1NasJobSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NasJobSpec(typing.TypedDict, total=False): multiTrialAlgorithmSpec: GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec resumeNasJobId: str searchSpaceSpec: str @typing.type_check_only class GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metric: GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec - multiTrialAlgorithm: typing_extensions.Literal[ + multiTrialAlgorithm: typing.Literal[ "MULTI_TRIAL_ALGORITHM_UNSPECIFIED", "REINFORCEMENT_LEARNING", "GRID_SEARCH" ] searchTrialSpec: ( @@ -6189,14 +5918,14 @@ class GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec( @typing.type_check_only class GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - goal: typing_extensions.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] + goal: typing.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] metricId: str @typing.type_check_only class GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxFailedTrialCount: int maxParallelTrialCount: int @@ -6205,19 +5934,19 @@ class GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec( @typing.type_check_only class GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frequency: int maxParallelTrialCount: int trainTrialJobSpec: GoogleCloudAiplatformV1CustomJobSpec @typing.type_check_only -class GoogleCloudAiplatformV1NasTrial(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NasTrial(typing.TypedDict, total=False): endTime: str finalMeasurement: GoogleCloudAiplatformV1Measurement id: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUESTED", "ACTIVE", @@ -6227,16 +5956,14 @@ class GoogleCloudAiplatformV1NasTrial(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleCloudAiplatformV1NasTrialDetail(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NasTrialDetail(typing.TypedDict, total=False): name: str parameters: str searchTrial: GoogleCloudAiplatformV1NasTrial trainTrial: GoogleCloudAiplatformV1NasTrial @typing.type_check_only -class GoogleCloudAiplatformV1NearestNeighborQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1NearestNeighborQuery(typing.TypedDict, total=False): embedding: GoogleCloudAiplatformV1NearestNeighborQueryEmbedding entityId: str neighborCount: int @@ -6247,16 +5974,16 @@ class GoogleCloudAiplatformV1NearestNeighborQuery( @typing.type_check_only class GoogleCloudAiplatformV1NearestNeighborQueryEmbedding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS", "LESS_EQUAL", @@ -6271,14 +5998,14 @@ class GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter( @typing.type_check_only class GoogleCloudAiplatformV1NearestNeighborQueryParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approximateNeighborCandidates: int leafNodesSearchFraction: float @typing.type_check_only class GoogleCloudAiplatformV1NearestNeighborQueryStringFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowTokens: _list[str] denyTokens: _list[str] @@ -6286,7 +6013,7 @@ class GoogleCloudAiplatformV1NearestNeighborQueryStringFilter( @typing.type_check_only class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentValidationStats: _list[ GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats @@ -6295,7 +6022,7 @@ class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): invalidRecordCount: str invalidSparseRecordCount: str @@ -6308,11 +6035,11 @@ class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValida @typing.type_check_only class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingId: str errorMessage: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "EMPTY_LINE", "INVALID_JSON_SYNTAX", @@ -6339,45 +6066,39 @@ class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError( sourceGcsUri: str @typing.type_check_only -class GoogleCloudAiplatformV1NearestNeighbors(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NearestNeighbors(typing.TypedDict, total=False): neighbors: _list[GoogleCloudAiplatformV1NearestNeighborsNeighbor] @typing.type_check_only -class GoogleCloudAiplatformV1NearestNeighborsNeighbor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1NearestNeighborsNeighbor(typing.TypedDict, total=False): distance: float entityId: str entityKeyValues: GoogleCloudAiplatformV1FetchFeatureValuesResponse @typing.type_check_only -class GoogleCloudAiplatformV1Neighbor(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Neighbor(typing.TypedDict, total=False): neighborDistance: float neighborId: str @typing.type_check_only -class GoogleCloudAiplatformV1NetworkSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NetworkSpec(typing.TypedDict, total=False): enableInternetAccess: bool network: str subnetwork: str @typing.type_check_only -class GoogleCloudAiplatformV1NfsMount(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NfsMount(typing.TypedDict, total=False): mountPoint: str path: str server: str @typing.type_check_only -class GoogleCloudAiplatformV1NotebookEucConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1NotebookEucConfig(typing.TypedDict, total=False): bypassActasCheck: bool eucDisabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1NotebookExecutionJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1NotebookExecutionJob(typing.TypedDict, total=False): createTime: str customEnvironmentSpec: ( GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec @@ -6394,7 +6115,7 @@ class GoogleCloudAiplatformV1NotebookExecutionJob( executionUser: str gcsNotebookSource: GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource gcsOutputUri: str - jobState: typing_extensions.Literal[ + jobState: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -6420,49 +6141,73 @@ class GoogleCloudAiplatformV1NotebookExecutionJob( @typing.type_check_only class GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): machineSpec: GoogleCloudAiplatformV1MachineSpec networkSpec: GoogleCloudAiplatformV1NetworkSpec persistentDiskSpec: GoogleCloudAiplatformV1PersistentDiskSpec + shieldedInstanceConfig: GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpecShieldedInstanceConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpecShieldedInstanceConfig( + typing.TypedDict, total=False +): + enableIntegrityMonitoring: bool + enableSecureBoot: bool + enableVtpm: bool @typing.type_check_only class GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commitSha: str dataformRepositoryResourceName: str @typing.type_check_only class GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str @typing.type_check_only class GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generation: str uri: str @typing.type_check_only class GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime( - typing_extensions.TypedDict, total=False -): ... + typing.TypedDict, total=False +): + customContainerImage: ( + GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeContainerImage + ) + vmImage: GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeVmImage + +@typing.type_check_only +class GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeContainerImage( + typing.TypedDict, total=False +): + repository: str + tag: str @typing.type_check_only -class GoogleCloudAiplatformV1NotebookIdleShutdownConfig( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeVmImage( + typing.TypedDict, total=False ): + family: str + name: str + project: str + +@typing.type_check_only +class GoogleCloudAiplatformV1NotebookIdleShutdownConfig(typing.TypedDict, total=False): idleShutdownDisabled: bool idleTimeout: str @typing.type_check_only -class GoogleCloudAiplatformV1NotebookReservationAffinity( - typing_extensions.TypedDict, total=False -): - consumeReservationType: typing_extensions.Literal[ +class GoogleCloudAiplatformV1NotebookReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "RESERVATION_AFFINITY_TYPE_UNSPECIFIED", "RESERVATION_NONE", "RESERVATION_ANY", @@ -6472,7 +6217,7 @@ class GoogleCloudAiplatformV1NotebookReservationAffinity( values: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1NotebookRuntime(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1NotebookRuntime(typing.TypedDict, total=False): createTime: str dataPersistentDiskSpec: GoogleCloudAiplatformV1PersistentDiskSpec description: str @@ -6480,9 +6225,7 @@ class GoogleCloudAiplatformV1NotebookRuntime(typing_extensions.TypedDict, total= encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec eucConfig: GoogleCloudAiplatformV1NotebookEucConfig expirationTime: str - healthState: typing_extensions.Literal[ - "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY" - ] + healthState: typing.Literal["HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY"] idleShutdownConfig: GoogleCloudAiplatformV1NotebookIdleShutdownConfig isUpgradable: bool labels: dict[str, typing.Any] @@ -6491,12 +6234,12 @@ class GoogleCloudAiplatformV1NotebookRuntime(typing_extensions.TypedDict, total= networkSpec: GoogleCloudAiplatformV1NetworkSpec networkTags: _list[str] notebookRuntimeTemplateRef: GoogleCloudAiplatformV1NotebookRuntimeTemplateRef - notebookRuntimeType: typing_extensions.Literal[ + notebookRuntimeType: typing.Literal[ "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] proxyUri: str reservationAffinity: GoogleCloudAiplatformV1NotebookReservationAffinity - runtimeState: typing_extensions.Literal[ + runtimeState: typing.Literal[ "RUNTIME_STATE_UNSPECIFIED", "RUNNING", "BEING_STARTED", @@ -6516,9 +6259,7 @@ class GoogleCloudAiplatformV1NotebookRuntime(typing_extensions.TypedDict, total= version: str @typing.type_check_only -class GoogleCloudAiplatformV1NotebookRuntimeTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1NotebookRuntimeTemplate(typing.TypedDict, total=False): createTime: str dataPersistentDiskSpec: GoogleCloudAiplatformV1PersistentDiskSpec description: str @@ -6533,7 +6274,7 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate( name: str networkSpec: GoogleCloudAiplatformV1NetworkSpec networkTags: _list[str] - notebookRuntimeType: typing_extensions.Literal[ + notebookRuntimeType: typing.Literal[ "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] reservationAffinity: GoogleCloudAiplatformV1NotebookReservationAffinity @@ -6543,21 +6284,17 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1NotebookRuntimeTemplateRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1NotebookRuntimeTemplateRef(typing.TypedDict, total=False): notebookRuntimeTemplate: str @typing.type_check_only -class GoogleCloudAiplatformV1NotebookSoftwareConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1NotebookSoftwareConfig(typing.TypedDict, total=False): colabImage: GoogleCloudAiplatformV1ColabImage env: _list[GoogleCloudAiplatformV1EnvVar] postStartupScriptConfig: GoogleCloudAiplatformV1PostStartupScriptConfig @typing.type_check_only -class GoogleCloudAiplatformV1OnlineEvaluator(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1OnlineEvaluator(typing.TypedDict, total=False): agentResource: str cloudObservability: GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability config: GoogleCloudAiplatformV1OnlineEvaluatorConfig @@ -6565,7 +6302,7 @@ class GoogleCloudAiplatformV1OnlineEvaluator(typing_extensions.TypedDict, total= displayName: str metricSources: _list[GoogleCloudAiplatformV1MetricSource] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED", "FAILED", "WARNING" ] stateDetails: _list[GoogleCloudAiplatformV1OnlineEvaluatorStateDetails] @@ -6573,7 +6310,7 @@ class GoogleCloudAiplatformV1OnlineEvaluator(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): logView: str openTelemetry: GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityOpenTelemetry @@ -6582,9 +6319,9 @@ class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability( @typing.type_check_only class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - comparisonOperator: typing_extensions.Literal[ + comparisonOperator: typing.Literal[ "COMPARISON_OPERATOR_UNSPECIFIED", "LESS", "LESS_OR_EQUAL", @@ -6597,13 +6334,13 @@ class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate( @typing.type_check_only class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityOpenTelemetry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): semconvVersion: str @typing.type_check_only class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityTraceScope( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: _list[ GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityTraceScopePredicate @@ -6611,7 +6348,7 @@ class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityTraceScope( @typing.type_check_only class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityTraceScopePredicate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate totalTokenUsage: ( @@ -6619,83 +6356,69 @@ class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityTraceScopePredicat ) @typing.type_check_only -class GoogleCloudAiplatformV1OnlineEvaluatorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1OnlineEvaluatorConfig(typing.TypedDict, total=False): maxEvaluatedSamplesPerRun: str randomSampling: GoogleCloudAiplatformV1OnlineEvaluatorConfigRandomSampling @typing.type_check_only class GoogleCloudAiplatformV1OnlineEvaluatorConfigRandomSampling( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentage: int @typing.type_check_only -class GoogleCloudAiplatformV1OnlineEvaluatorStateDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1OnlineEvaluatorStateDetails(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudAiplatformV1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1OutputFieldSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1OutputFieldSpec(typing.TypedDict, total=False): fieldName: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "FIELD_TYPE_UNSPECIFIED", "CONTENT", "TEXT", "IMAGE", "AUDIO" ] guidance: str @typing.type_check_only -class GoogleCloudAiplatformV1OutputInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1OutputInfo(typing.TypedDict, total=False): gcsOutputDirectory: str @typing.type_check_only -class GoogleCloudAiplatformV1PSCAutomationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PSCAutomationConfig(typing.TypedDict, total=False): errorMessage: str forwardingRule: str ipAddress: str network: str projectId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PSC_AUTOMATION_STATE_UNSPECIFIED", "PSC_AUTOMATION_STATE_SUCCESSFUL", "PSC_AUTOMATION_STATE_FAILED", ] @typing.type_check_only -class GoogleCloudAiplatformV1PairwiseMetricInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PairwiseMetricInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1PairwiseMetricInstance metricSpec: GoogleCloudAiplatformV1PairwiseMetricSpec @typing.type_check_only -class GoogleCloudAiplatformV1PairwiseMetricInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PairwiseMetricInstance(typing.TypedDict, total=False): contentMapInstance: GoogleCloudAiplatformV1ContentMap jsonInstance: str @typing.type_check_only -class GoogleCloudAiplatformV1PairwiseMetricResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PairwiseMetricResult(typing.TypedDict, total=False): customOutput: GoogleCloudAiplatformV1CustomOutput explanation: str - pairwiseChoice: typing_extensions.Literal[ + pairwiseChoice: typing.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" ] @typing.type_check_only -class GoogleCloudAiplatformV1PairwiseMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PairwiseMetricSpec(typing.TypedDict, total=False): baselineResponseFieldName: str candidateResponseFieldName: str customOutputFormatConfig: GoogleCloudAiplatformV1CustomOutputFormatConfig @@ -6704,14 +6427,14 @@ class GoogleCloudAiplatformV1PairwiseMetricSpec( @typing.type_check_only class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance metricSpec: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselinePrediction: str context: str @@ -6721,31 +6444,31 @@ class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance( @typing.type_check_only class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str - pairwiseChoice: typing_extensions.Literal[ + pairwiseChoice: typing.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" ] @typing.type_check_only class GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualitySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1PairwiseSummarizationQualityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance metricSpec: GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselinePrediction: str context: str @@ -6755,23 +6478,24 @@ class GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance( @typing.type_check_only class GoogleCloudAiplatformV1PairwiseSummarizationQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str - pairwiseChoice: typing_extensions.Literal[ + pairwiseChoice: typing.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" ] @typing.type_check_only class GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1Part(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Part(typing.TypedDict, total=False): + audioTranscription: GoogleCloudAiplatformV1AudioTranscription codeExecutionResult: GoogleCloudAiplatformV1CodeExecutionResult executableCode: GoogleCloudAiplatformV1ExecutableCode fileData: GoogleCloudAiplatformV1FileData @@ -6785,10 +6509,8 @@ class GoogleCloudAiplatformV1Part(typing_extensions.TypedDict, total=False): videoMetadata: GoogleCloudAiplatformV1VideoMetadata @typing.type_check_only -class GoogleCloudAiplatformV1PartMediaResolution( - typing_extensions.TypedDict, total=False -): - level: typing_extensions.Literal[ +class GoogleCloudAiplatformV1PartMediaResolution(typing.TypedDict, total=False): + level: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", @@ -6797,40 +6519,34 @@ class GoogleCloudAiplatformV1PartMediaResolution( ] @typing.type_check_only -class GoogleCloudAiplatformV1PartialArg(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PartialArg(typing.TypedDict, total=False): boolValue: bool jsonPath: str - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] numberValue: float stringValue: str willContinue: bool @typing.type_check_only class GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1PauseSandboxEnvironmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1PauseScheduleRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1PauseScheduleRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1PersistentDiskSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PersistentDiskSpec(typing.TypedDict, total=False): diskSizeGb: str diskType: str @typing.type_check_only -class GoogleCloudAiplatformV1PersistentResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PersistentResource(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec @@ -6846,7 +6562,7 @@ class GoogleCloudAiplatformV1PersistentResource( satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -6858,7 +6574,7 @@ class GoogleCloudAiplatformV1PersistentResource( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1PipelineJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PipelineJob(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec @@ -6876,7 +6592,7 @@ class GoogleCloudAiplatformV1PipelineJob(typing_extensions.TypedDict, total=Fals scheduleName: str serviceAccount: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PIPELINE_STATE_UNSPECIFIED", "PIPELINE_STATE_QUEUED", "PIPELINE_STATE_PENDING", @@ -6892,18 +6608,14 @@ class GoogleCloudAiplatformV1PipelineJob(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1PipelineJobDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PipelineJobDetail(typing.TypedDict, total=False): pipelineContext: GoogleCloudAiplatformV1Context pipelineRunContext: GoogleCloudAiplatformV1Context taskDetails: _list[GoogleCloudAiplatformV1PipelineTaskDetail] @typing.type_check_only -class GoogleCloudAiplatformV1PipelineJobRuntimeConfig( - typing_extensions.TypedDict, total=False -): - failurePolicy: typing_extensions.Literal[ +class GoogleCloudAiplatformV1PipelineJobRuntimeConfig(typing.TypedDict, total=False): + failurePolicy: typing.Literal[ "PIPELINE_FAILURE_POLICY_UNSPECIFIED", "PIPELINE_FAILURE_POLICY_FAIL_SLOW", "PIPELINE_FAILURE_POLICY_FAIL_FAST", @@ -6915,14 +6627,12 @@ class GoogleCloudAiplatformV1PipelineJobRuntimeConfig( @typing.type_check_only class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactId: str @typing.type_check_only -class GoogleCloudAiplatformV1PipelineTaskDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PipelineTaskDetail(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -6935,7 +6645,7 @@ class GoogleCloudAiplatformV1PipelineTaskDetail( GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -6953,16 +6663,16 @@ class GoogleCloudAiplatformV1PipelineTaskDetail( @typing.type_check_only class GoogleCloudAiplatformV1PipelineTaskDetailArtifactList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifacts: _list[GoogleCloudAiplatformV1Artifact] @typing.type_check_only class GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -6977,15 +6687,13 @@ class GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1PipelineTaskExecutorDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PipelineTaskExecutorDetail(typing.TypedDict, total=False): containerDetail: GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail customJobDetail: GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail @typing.type_check_only class GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedMainJobs: _list[str] failedPreCachingCheckJobs: _list[str] @@ -6994,57 +6702,45 @@ class GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail( @typing.type_check_only class GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedJobs: _list[str] job: str @typing.type_check_only -class GoogleCloudAiplatformV1PipelineTemplateMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PipelineTemplateMetadata(typing.TypedDict, total=False): version: str @typing.type_check_only -class GoogleCloudAiplatformV1PointwiseMetricInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PointwiseMetricInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1PointwiseMetricInstance metricSpec: GoogleCloudAiplatformV1PointwiseMetricSpec @typing.type_check_only -class GoogleCloudAiplatformV1PointwiseMetricInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PointwiseMetricInstance(typing.TypedDict, total=False): contentMapInstance: GoogleCloudAiplatformV1ContentMap jsonInstance: str @typing.type_check_only -class GoogleCloudAiplatformV1PointwiseMetricResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PointwiseMetricResult(typing.TypedDict, total=False): customOutput: GoogleCloudAiplatformV1CustomOutput explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1PointwiseMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PointwiseMetricSpec(typing.TypedDict, total=False): customOutputFormatConfig: GoogleCloudAiplatformV1CustomOutputFormatConfig metricPromptTemplate: str systemInstruction: str @typing.type_check_only -class GoogleCloudAiplatformV1Port(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Port(typing.TypedDict, total=False): containerPort: int @typing.type_check_only -class GoogleCloudAiplatformV1PostStartupScriptConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PostStartupScriptConfig(typing.TypedDict, total=False): postStartupScript: str - postStartupScriptBehavior: typing_extensions.Literal[ + postStartupScriptBehavior: typing.Literal[ "POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", "RUN_ONCE", "RUN_EVERY_START", @@ -7053,52 +6749,46 @@ class GoogleCloudAiplatformV1PostStartupScriptConfig( postStartupScriptUrl: str @typing.type_check_only -class GoogleCloudAiplatformV1PreTunedModel(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PreTunedModel(typing.TypedDict, total=False): baseModel: str checkpointId: str tunedModelName: str @typing.type_check_only -class GoogleCloudAiplatformV1PrebuiltVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PrebuiltVoiceConfig(typing.TypedDict, total=False): voiceName: str @typing.type_check_only -class GoogleCloudAiplatformV1PredefinedMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PredefinedMetricSpec(typing.TypedDict, total=False): metricSpecName: str metricSpecParameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1PredefinedSplit(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PredefinedSplit(typing.TypedDict, total=False): key: str @typing.type_check_only -class GoogleCloudAiplatformV1PredictLongRunningRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PredictLongRunningRequest(typing.TypedDict, total=False): instances: _list[typing.Any] labels: dict[str, typing.Any] parameters: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1PredictRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PredictRequest(typing.TypedDict, total=False): instances: _list[typing.Any] labels: dict[str, typing.Any] parameters: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination enabled: bool samplingRate: float @typing.type_check_only -class GoogleCloudAiplatformV1PredictResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PredictResponse(typing.TypedDict, total=False): deployedModelId: str metadata: typing.Any model: str @@ -7107,14 +6797,14 @@ class GoogleCloudAiplatformV1PredictResponse(typing_extensions.TypedDict, total= predictions: _list[typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1PredictSchemata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PredictSchemata(typing.TypedDict, total=False): instanceSchemaUri: str parametersSchemaUri: str predictionSchemaUri: str @typing.type_check_only class GoogleCloudAiplatformV1PreferenceOptimizationDataStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): droppedExampleIndices: _list[str] droppedExampleReasons: _list[str] @@ -7129,9 +6819,9 @@ class GoogleCloudAiplatformV1PreferenceOptimizationDataStats( @typing.type_check_only class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adapterSize: typing_extensions.Literal[ + adapterSize: typing.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", "ADAPTER_SIZE_TWO", @@ -7145,39 +6835,33 @@ class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters( learningRateMultiplier: float @typing.type_check_only -class GoogleCloudAiplatformV1PreferenceOptimizationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PreferenceOptimizationSpec(typing.TypedDict, total=False): exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters trainingDatasetUri: str validationDatasetUri: str @typing.type_check_only -class GoogleCloudAiplatformV1Presets(typing_extensions.TypedDict, total=False): - modality: typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "IMAGE", "TEXT", "TABULAR" - ] - query: typing_extensions.Literal["PRECISE", "FAST"] +class GoogleCloudAiplatformV1Presets(typing.TypedDict, total=False): + modality: typing.Literal["MODALITY_UNSPECIFIED", "IMAGE", "TEXT", "TABULAR"] + query: typing.Literal["PRECISE", "FAST"] @typing.type_check_only -class GoogleCloudAiplatformV1PrivateEndpoints(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PrivateEndpoints(typing.TypedDict, total=False): explainHttpUri: str healthHttpUri: str predictHttpUri: str serviceAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1PrivateServiceConnectConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PrivateServiceConnectConfig(typing.TypedDict, total=False): enablePrivateServiceConnect: bool projectAllowlist: _list[str] pscAutomationConfigs: _list[GoogleCloudAiplatformV1PSCAutomationConfig] serviceAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1Probe(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Probe(typing.TypedDict, total=False): exec: GoogleCloudAiplatformV1ProbeExecAction failureThreshold: int grpc: GoogleCloudAiplatformV1ProbeGrpcAction @@ -7189,18 +6873,16 @@ class GoogleCloudAiplatformV1Probe(typing_extensions.TypedDict, total=False): timeoutSeconds: int @typing.type_check_only -class GoogleCloudAiplatformV1ProbeExecAction(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ProbeExecAction(typing.TypedDict, total=False): command: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1ProbeGrpcAction(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ProbeGrpcAction(typing.TypedDict, total=False): port: int service: str @typing.type_check_only -class GoogleCloudAiplatformV1ProbeHttpGetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ProbeHttpGetAction(typing.TypedDict, total=False): host: str httpHeaders: _list[GoogleCloudAiplatformV1ProbeHttpHeader] path: str @@ -7208,36 +6890,30 @@ class GoogleCloudAiplatformV1ProbeHttpGetAction( scheme: str @typing.type_check_only -class GoogleCloudAiplatformV1ProbeHttpHeader(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ProbeHttpHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudAiplatformV1ProbeTcpSocketAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ProbeTcpSocketAction(typing.TypedDict, total=False): host: str port: int @typing.type_check_only -class GoogleCloudAiplatformV1PscAutomatedEndpoints( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PscAutomatedEndpoints(typing.TypedDict, total=False): matchAddress: str network: str projectId: str @typing.type_check_only -class GoogleCloudAiplatformV1PscInterfaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PscInterfaceConfig(typing.TypedDict, total=False): dnsPeeringConfigs: _list[GoogleCloudAiplatformV1DnsPeeringConfig] networkAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1PublisherModel(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1PublisherModel(typing.TypedDict, total=False): frameworks: _list[str] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "EXPERIMENTAL", "PRIVATE_PREVIEW", @@ -7245,7 +6921,7 @@ class GoogleCloudAiplatformV1PublisherModel(typing_extensions.TypedDict, total=F "GA", ] name: str - openSourceCategory: typing_extensions.Literal[ + openSourceCategory: typing.Literal[ "OPEN_SOURCE_CATEGORY_UNSPECIFIED", "PROPRIETARY", "GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT", @@ -7257,14 +6933,12 @@ class GoogleCloudAiplatformV1PublisherModel(typing_extensions.TypedDict, total=F publisherModelTemplate: str supportedActions: GoogleCloudAiplatformV1PublisherModelCallToAction versionId: str - versionState: typing_extensions.Literal[ + versionState: typing.Literal[ "VERSION_STATE_UNSPECIFIED", "VERSION_STATE_STABLE", "VERSION_STATE_UNSTABLE" ] @typing.type_check_only -class GoogleCloudAiplatformV1PublisherModelCallToAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PublisherModelCallToAction(typing.TypedDict, total=False): createApplication: ( GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences ) @@ -7300,7 +6974,7 @@ class GoogleCloudAiplatformV1PublisherModelCallToAction( @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionDeploy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactUri: str automaticResources: GoogleCloudAiplatformV1AutomaticResources @@ -7318,26 +6992,26 @@ class GoogleCloudAiplatformV1PublisherModelCallToActionDeploy( @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] sampleRequest: str @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gkeYamlConfigs: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): multiDeployVertex: _list[GoogleCloudAiplatformV1PublisherModelCallToActionDeploy] @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fineTuningPipelines: _list[ GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences @@ -7345,7 +7019,7 @@ class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines( @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooks: _list[ GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences @@ -7353,7 +7027,7 @@ class GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks( @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): colabNotebookDisabled: bool references: dict[str, typing.Any] @@ -7365,21 +7039,19 @@ class GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReference @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentations: _list[GoogleCloudAiplatformV1PublisherModelDocumentation] title: str @typing.type_check_only -class GoogleCloudAiplatformV1PublisherModelDocumentation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PublisherModelDocumentation(typing.TypedDict, total=False): content: str title: str @typing.type_check_only class GoogleCloudAiplatformV1PublisherModelResourceReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str resourceName: str @@ -7387,77 +7059,55 @@ class GoogleCloudAiplatformV1PublisherModelResourceReference( useCase: str @typing.type_check_only -class GoogleCloudAiplatformV1PurgeArtifactsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeArtifactsMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1PurgeArtifactsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeArtifactsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudAiplatformV1PurgeArtifactsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeArtifactsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1PurgeContextsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeContextsMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1PurgeContextsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeContextsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudAiplatformV1PurgeContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeContextsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1PurgeExecutionsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeExecutionsMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1PurgeExecutionsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeExecutionsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudAiplatformV1PurgeExecutionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeExecutionsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1PurgeMemoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PurgeMemoriesRequest(typing.TypedDict, total=False): filter: str filterGroups: _list[GoogleCloudAiplatformV1MemoryConjunctionFilter] force: bool @typing.type_check_only -class GoogleCloudAiplatformV1PythonPackageSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1PythonPackageSpec(typing.TypedDict, total=False): args: _list[str] env: _list[GoogleCloudAiplatformV1EnvVar] executorImageUri: str @@ -7465,9 +7115,7 @@ class GoogleCloudAiplatformV1PythonPackageSpec( pythonModule: str @typing.type_check_only -class GoogleCloudAiplatformV1QueryDeployedModelsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1QueryDeployedModelsResponse(typing.TypedDict, total=False): deployedModelRefs: _list[GoogleCloudAiplatformV1DeployedModelRef] deployedModels: _list[GoogleCloudAiplatformV1DeployedModel] nextPageToken: str @@ -7475,28 +7123,26 @@ class GoogleCloudAiplatformV1QueryDeployedModelsResponse( totalEndpointCount: int @typing.type_check_only -class GoogleCloudAiplatformV1QueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1QueryReasoningEngineRequest(typing.TypedDict, total=False): classMethod: str input: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1QueryReasoningEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): output: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance metricSpec: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessSpec @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -7505,7 +7151,7 @@ class GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -7513,21 +7159,21 @@ class GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringCorrectnessSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance metricSpec: GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -7536,7 +7182,7 @@ class GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -7544,21 +7190,21 @@ class GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringQualityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1QuestionAnsweringQualityInstance metricSpec: GoogleCloudAiplatformV1QuestionAnsweringQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -7567,7 +7213,7 @@ class GoogleCloudAiplatformV1QuestionAnsweringQualityInstance( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -7575,21 +7221,21 @@ class GoogleCloudAiplatformV1QuestionAnsweringQualityResult( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringQualitySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance metricSpec: GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -7598,7 +7244,7 @@ class GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -7606,29 +7252,27 @@ class GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult( @typing.type_check_only class GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1RagChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RagChunk(typing.TypedDict, total=False): pageSpan: GoogleCloudAiplatformV1RagChunkPageSpan text: str @typing.type_check_only -class GoogleCloudAiplatformV1RagChunkPageSpan(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RagChunkPageSpan(typing.TypedDict, total=False): firstPage: int lastPage: int @typing.type_check_only -class GoogleCloudAiplatformV1RagContexts(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RagContexts(typing.TypedDict, total=False): contexts: _list[GoogleCloudAiplatformV1RagContextsContext] @typing.type_check_only -class GoogleCloudAiplatformV1RagContextsContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagContextsContext(typing.TypedDict, total=False): chunk: GoogleCloudAiplatformV1RagChunk score: float sourceDisplayName: str @@ -7636,7 +7280,7 @@ class GoogleCloudAiplatformV1RagContextsContext( text: str @typing.type_check_only -class GoogleCloudAiplatformV1RagCorpus(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RagCorpus(typing.TypedDict, total=False): corpusStatus: GoogleCloudAiplatformV1CorpusStatus createTime: str description: str @@ -7650,28 +7294,26 @@ class GoogleCloudAiplatformV1RagCorpus(typing_extensions.TypedDict, total=False) vertexAiSearchConfig: GoogleCloudAiplatformV1VertexAiSearchConfig @typing.type_check_only -class GoogleCloudAiplatformV1RagEmbeddingModelConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagEmbeddingModelConfig(typing.TypedDict, total=False): vertexPredictionEndpoint: ( GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint ) @typing.type_check_only class GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: str model: str modelVersionId: str @typing.type_check_only -class GoogleCloudAiplatformV1RagEngineConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RagEngineConfig(typing.TypedDict, total=False): name: str ragManagedDbConfig: GoogleCloudAiplatformV1RagManagedDbConfig @typing.type_check_only -class GoogleCloudAiplatformV1RagFile(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RagFile(typing.TypedDict, total=False): createTime: str description: str directUploadSource: GoogleCloudAiplatformV1DirectUploadSource @@ -7687,50 +7329,42 @@ class GoogleCloudAiplatformV1RagFile(typing_extensions.TypedDict, total=False): userMetadata: str @typing.type_check_only -class GoogleCloudAiplatformV1RagFileChunkingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagFileChunkingConfig(typing.TypedDict, total=False): fixedLengthChunking: GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking @typing.type_check_only class GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkOverlap: int chunkSize: int @typing.type_check_only -class GoogleCloudAiplatformV1RagFileParsingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagFileParsingConfig(typing.TypedDict, total=False): layoutParser: GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser llmParser: GoogleCloudAiplatformV1RagFileParsingConfigLlmParser @typing.type_check_only class GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxParsingRequestsPerMin: int processorName: str @typing.type_check_only class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customParsingPrompt: str maxParsingRequestsPerMin: int modelName: str @typing.type_check_only -class GoogleCloudAiplatformV1RagFileTransformationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagFileTransformationConfig(typing.TypedDict, total=False): ragFileChunkingConfig: GoogleCloudAiplatformV1RagFileChunkingConfig @typing.type_check_only -class GoogleCloudAiplatformV1RagManagedDbConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagManagedDbConfig(typing.TypedDict, total=False): basic: GoogleCloudAiplatformV1RagManagedDbConfigBasic scaled: GoogleCloudAiplatformV1RagManagedDbConfigScaled serverless: GoogleCloudAiplatformV1RagManagedDbConfigServerless @@ -7738,77 +7372,65 @@ class GoogleCloudAiplatformV1RagManagedDbConfig( unprovisioned: GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned @typing.type_check_only -class GoogleCloudAiplatformV1RagManagedDbConfigBasic( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1RagManagedDbConfigBasic(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1RagManagedDbConfigScaled( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1RagManagedDbConfigServerless( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1RagManagedDbConfigSpanner( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagManagedDbConfigSpanner(typing.TypedDict, total=False): basic: GoogleCloudAiplatformV1RagManagedDbConfigBasic scaled: GoogleCloudAiplatformV1RagManagedDbConfigScaled unprovisioned: GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned @typing.type_check_only class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1RagQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RagQuery(typing.TypedDict, total=False): ragRetrievalConfig: GoogleCloudAiplatformV1RagRetrievalConfig text: str @typing.type_check_only -class GoogleCloudAiplatformV1RagRetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagRetrievalConfig(typing.TypedDict, total=False): filter: GoogleCloudAiplatformV1RagRetrievalConfigFilter ranking: GoogleCloudAiplatformV1RagRetrievalConfigRanking topK: int @typing.type_check_only -class GoogleCloudAiplatformV1RagRetrievalConfigFilter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagRetrievalConfigFilter(typing.TypedDict, total=False): metadataFilter: str vectorDistanceThreshold: float vectorSimilarityThreshold: float @typing.type_check_only -class GoogleCloudAiplatformV1RagRetrievalConfigRanking( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagRetrievalConfigRanking(typing.TypedDict, total=False): llmRanker: GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker rankService: GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService @typing.type_check_only class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only -class GoogleCloudAiplatformV1RagVectorDbConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagVectorDbConfig(typing.TypedDict, total=False): apiAuth: GoogleCloudAiplatformV1ApiAuth pinecone: GoogleCloudAiplatformV1RagVectorDbConfigPinecone ragEmbeddingModelConfig: GoogleCloudAiplatformV1RagEmbeddingModelConfig @@ -7816,57 +7438,53 @@ class GoogleCloudAiplatformV1RagVectorDbConfig( vertexVectorSearch: GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch @typing.type_check_only -class GoogleCloudAiplatformV1RagVectorDbConfigPinecone( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RagVectorDbConfigPinecone(typing.TypedDict, total=False): indexName: str @typing.type_check_only class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ann: GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN knn: GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN @typing.type_check_only class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leafCount: int treeDepth: int @typing.type_check_only class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): index: str indexEndpoint: str @typing.type_check_only -class GoogleCloudAiplatformV1RawOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RawOutput(typing.TypedDict, total=False): rawOutput: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1RawPredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RawPredictRequest(typing.TypedDict, total=False): httpBody: GoogleApiHttpBody @typing.type_check_only -class GoogleCloudAiplatformV1RayLogsSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RayLogsSpec(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1RayMetricSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RayMetricSpec(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1RaySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RaySpec(typing.TypedDict, total=False): headNodeResourcePoolId: str imageUri: str rayLogsSpec: GoogleCloudAiplatformV1RayLogsSpec @@ -7874,42 +7492,38 @@ class GoogleCloudAiplatformV1RaySpec(typing_extensions.TypedDict, total=False): resourcePoolImages: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1ReadFeatureValuesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReadFeatureValuesRequest(typing.TypedDict, total=False): entityId: str featureSelector: GoogleCloudAiplatformV1FeatureSelector @typing.type_check_only -class GoogleCloudAiplatformV1ReadFeatureValuesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReadFeatureValuesResponse(typing.TypedDict, total=False): entityView: GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView header: GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader @typing.type_check_only class GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: _list[GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData] entityId: str @typing.type_check_only class GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: GoogleCloudAiplatformV1FeatureValue values: GoogleCloudAiplatformV1FeatureValueList @typing.type_check_only class GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str @typing.type_check_only class GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityType: str featureDescriptors: _list[ @@ -7917,45 +7531,39 @@ class GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader( ] @typing.type_check_only -class GoogleCloudAiplatformV1ReadIndexDatapointsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReadIndexDatapointsRequest(typing.TypedDict, total=False): deployedIndexId: str ids: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1ReadIndexDatapointsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReadIndexDatapointsResponse(typing.TypedDict, total=False): datapoints: _list[GoogleCloudAiplatformV1IndexDatapoint] @typing.type_check_only class GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobs: _list[GoogleCloudAiplatformV1TensorboardBlob] @typing.type_check_only -class GoogleCloudAiplatformV1ReadTensorboardSizeResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReadTensorboardSizeResponse(typing.TypedDict, total=False): storageSizeByte: str @typing.type_check_only class GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeSeriesData: GoogleCloudAiplatformV1TimeSeriesData @typing.type_check_only class GoogleCloudAiplatformV1ReadTensorboardUsageResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monthlyUsageData: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userUsageData: _list[ GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData @@ -7963,13 +7571,13 @@ class GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData( @typing.type_check_only class GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): username: str viewCount: str @typing.type_check_only -class GoogleCloudAiplatformV1ReasoningEngine(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ReasoningEngine(typing.TypedDict, total=False): contextSpec: GoogleCloudAiplatformV1ReasoningEngineContextSpec createTime: str description: str @@ -7982,14 +7590,12 @@ class GoogleCloudAiplatformV1ReasoningEngine(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1ReasoningEngineContextSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReasoningEngineContextSpec(typing.TypedDict, total=False): memoryBankConfig: GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customizationConfigs: _list[GoogleCloudAiplatformV1MemoryBankCustomizationConfig] disableMemoryRevisions: bool @@ -8001,20 +7607,20 @@ class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig( @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generationTriggerConfig: GoogleCloudAiplatformV1MemoryGenerationTriggerConfig model: str @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingModel: str @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultTtl: str granularTtlConfig: GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig @@ -8022,37 +7628,44 @@ class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTtl: str generateCreatedTtl: str generateUpdatedTtl: str @typing.type_check_only -class GoogleCloudAiplatformV1ReasoningEngineSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReasoningEngineSpec(typing.TypedDict, total=False): agentFramework: str + buildSpec: GoogleCloudAiplatformV1ReasoningEngineSpecBuildSpec classMethods: _list[dict[str, typing.Any]] containerSpec: GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec deploymentSpec: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec effectiveIdentity: str - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT", "AGENT_IDENTITY" ] packageSpec: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec serviceAccount: str sourceCodeSpec: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecBuildSpec( + typing.TypedDict, total=False +): + serviceAccount: str + workerPool: str + @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageUri: str + port: int @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentGatewayConfig: ( GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpecAgentGatewayConfig @@ -8068,26 +7681,26 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec( @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpecAgentGatewayConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentToAnywhereConfig: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigAgentToAnywhereConfig clientToAgentConfig: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigClientToAgentConfig @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigAgentToAnywhereConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentGateway: str @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigClientToAgentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentGateway: str @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dependencyFilesGcsUri: str pickleObjectGcsUri: str @@ -8096,7 +7709,7 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec( @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentConfigSource: ( GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecAgentConfigSource @@ -8110,20 +7723,20 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec( @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecAgentConfigSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adkConfig: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecAgentConfigSourceAdkConfig inlineSource: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecAgentConfigSourceAdkConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): jsonConfig: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str gitRepositoryLink: str @@ -8131,7 +7744,7 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectCo @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): config: ( GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig @@ -8139,19 +7752,19 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSo @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecImageSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): buildArgs: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceArchive: str @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entrypointModule: str entrypointObject: str @@ -8159,9 +7772,7 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec( version: str @typing.type_check_only -class GoogleCloudAiplatformV1RebaseTunedModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RebaseTunedModelRequest(typing.TypedDict, total=False): artifactDestination: GoogleCloudAiplatformV1GcsDestination deployToSameEndpoint: bool tunedModelRef: GoogleCloudAiplatformV1TunedModelRef @@ -8169,57 +7780,51 @@ class GoogleCloudAiplatformV1RebaseTunedModelRequest( @typing.type_check_only class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1RebootPersistentResourceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1RemoveContextChildrenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): childContexts: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1RemoveContextChildrenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1RemoveDatapointsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RemoveDatapointsRequest(typing.TypedDict, total=False): datapointIds: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1RemoveDatapointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1ReplicatedVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReplicatedVoiceConfig(typing.TypedDict, total=False): mimeType: str voiceSampleAudio: str @typing.type_check_only -class GoogleCloudAiplatformV1ReservationAffinity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ReservationAffinity(typing.TypedDict, total=False): key: str - reservationAffinityType: typing_extensions.Literal[ + reservationAffinityType: typing.Literal[ "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" ] values: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1ResourcePool(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ResourcePool(typing.TypedDict, total=False): autoscalingSpec: GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec diskSpec: GoogleCloudAiplatformV1DiskSpec id: str @@ -8228,31 +7833,25 @@ class GoogleCloudAiplatformV1ResourcePool(typing_extensions.TypedDict, total=Fal usedReplicaCount: str @typing.type_check_only -class GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec(typing.TypedDict, total=False): maxReplicaCount: str minReplicaCount: str @typing.type_check_only -class GoogleCloudAiplatformV1ResourceRuntime(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ResourceRuntime(typing.TypedDict, total=False): accessUris: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1ResourceRuntimeSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ResourceRuntimeSpec(typing.TypedDict, total=False): raySpec: GoogleCloudAiplatformV1RaySpec serviceAccountSpec: GoogleCloudAiplatformV1ServiceAccountSpec @typing.type_check_only -class GoogleCloudAiplatformV1ResourcesConsumed( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ResourcesConsumed(typing.TypedDict, total=False): replicaHours: float @typing.type_check_only -class GoogleCloudAiplatformV1ResponseFormat(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ResponseFormat(typing.TypedDict, total=False): audio: GoogleCloudAiplatformV1AudioResponseFormat image: GoogleCloudAiplatformV1ImageResponseFormat text: GoogleCloudAiplatformV1TextResponseFormat @@ -8260,54 +7859,48 @@ class GoogleCloudAiplatformV1ResponseFormat(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudAiplatformV1RestoreDatasetVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1ResumeSandboxEnvironmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1ResumeScheduleRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ResumeScheduleRequest(typing.TypedDict, total=False): catchUp: bool @typing.type_check_only -class GoogleCloudAiplatformV1Retrieval(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Retrieval(typing.TypedDict, total=False): disableAttribution: bool externalApi: GoogleCloudAiplatformV1ExternalApi vertexAiSearch: GoogleCloudAiplatformV1VertexAISearch vertexRagStore: GoogleCloudAiplatformV1VertexRagStore @typing.type_check_only -class GoogleCloudAiplatformV1RetrievalConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RetrievalConfig(typing.TypedDict, total=False): languageCode: str latLng: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudAiplatformV1RetrievalMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RetrievalMetadata(typing.TypedDict, total=False): googleSearchDynamicRetrievalScore: float @typing.type_check_only -class GoogleCloudAiplatformV1RetrieveContextsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RetrieveContextsRequest(typing.TypedDict, total=False): query: GoogleCloudAiplatformV1RagQuery vertexRagStore: GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore @typing.type_check_only class GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragResources: _list[ GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource @@ -8316,25 +7909,21 @@ class GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore( @typing.type_check_only class GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragCorpus: str ragFileIds: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1RetrieveContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RetrieveContextsResponse(typing.TypedDict, total=False): contexts: GoogleCloudAiplatformV1RagContexts @typing.type_check_only -class GoogleCloudAiplatformV1RetrieveMemoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RetrieveMemoriesRequest(typing.TypedDict, total=False): filter: str filterGroups: _list[GoogleCloudAiplatformV1MemoryConjunctionFilter] memoryTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEMORY_TYPE_UNSPECIFIED", "NATURAL_LANGUAGE_COLLECTION", "STRUCTURED_PROFILE", @@ -8350,22 +7939,20 @@ class GoogleCloudAiplatformV1RetrieveMemoriesRequest( @typing.type_check_only class GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchQuery: str topK: int @typing.type_check_only class GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1RetrieveMemoriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RetrieveMemoriesResponse(typing.TypedDict, total=False): nextPageToken: str retrievedMemories: _list[ GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory @@ -8373,99 +7960,89 @@ class GoogleCloudAiplatformV1RetrieveMemoriesResponse( @typing.type_check_only class GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distance: float memory: GoogleCloudAiplatformV1Memory @typing.type_check_only -class GoogleCloudAiplatformV1RollbackMemoryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RollbackMemoryRequest(typing.TypedDict, total=False): targetRevisionId: str @typing.type_check_only -class GoogleCloudAiplatformV1RougeInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RougeInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1RougeInstance] metricSpec: GoogleCloudAiplatformV1RougeSpec @typing.type_check_only -class GoogleCloudAiplatformV1RougeInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RougeInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1RougeMetricValue(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RougeMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1RougeResults(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RougeResults(typing.TypedDict, total=False): rougeMetricValues: _list[GoogleCloudAiplatformV1RougeMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1RougeSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RougeSpec(typing.TypedDict, total=False): rougeType: str splitSummaries: bool useStemmer: bool @typing.type_check_only -class GoogleCloudAiplatformV1Rubric(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Rubric(typing.TypedDict, total=False): content: GoogleCloudAiplatformV1RubricContent - importance: typing_extensions.Literal[ - "IMPORTANCE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" - ] + importance: typing.Literal["IMPORTANCE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW"] rubricId: str type: str @typing.type_check_only class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance metricSpec: GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec @typing.type_check_only class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): jsonInstance: str @typing.type_check_only class GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rubricCritiqueResults: _list[GoogleCloudAiplatformV1RubricCritiqueResult] score: float @typing.type_check_only class GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1RubricContent(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RubricContent(typing.TypedDict, total=False): property: GoogleCloudAiplatformV1RubricContentProperty @typing.type_check_only -class GoogleCloudAiplatformV1RubricContentProperty( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RubricContentProperty(typing.TypedDict, total=False): description: str @typing.type_check_only -class GoogleCloudAiplatformV1RubricCritiqueResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RubricCritiqueResult(typing.TypedDict, total=False): rubric: str verdict: bool @typing.type_check_only -class GoogleCloudAiplatformV1RubricGenerationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1RubricGenerationSpec(typing.TypedDict, total=False): modelConfig: GoogleCloudAiplatformV1AutoraterConfig promptTemplate: str - rubricContentType: typing_extensions.Literal[ + rubricContentType: typing.Literal[ "RUBRIC_CONTENT_TYPE_UNSPECIFIED", "PROPERTY", "NL_QUESTION_ANSWER", @@ -8474,30 +8051,30 @@ class GoogleCloudAiplatformV1RubricGenerationSpec( rubricTypeOntology: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1RubricGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RubricGroup(typing.TypedDict, total=False): displayName: str groupId: str rubrics: _list[GoogleCloudAiplatformV1Rubric] @typing.type_check_only -class GoogleCloudAiplatformV1RubricVerdict(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1RubricVerdict(typing.TypedDict, total=False): evaluatedRubric: GoogleCloudAiplatformV1Rubric reasoning: str verdict: bool @typing.type_check_only -class GoogleCloudAiplatformV1SafetyInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SafetyInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1SafetyInstance metricSpec: GoogleCloudAiplatformV1SafetySpec @typing.type_check_only -class GoogleCloudAiplatformV1SafetyInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SafetyInstance(typing.TypedDict, total=False): prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1SafetyRating(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -8510,7 +8087,7 @@ class GoogleCloudAiplatformV1SafetyRating(typing_extensions.TypedDict, total=Fal "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", "HARM_CATEGORY_JAILBREAK", ] - overwrittenThreshold: typing_extensions.Literal[ + overwrittenThreshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -8518,11 +8095,11 @@ class GoogleCloudAiplatformV1SafetyRating(typing_extensions.TypedDict, total=Fal "BLOCK_NONE", "OFF", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -8532,14 +8109,14 @@ class GoogleCloudAiplatformV1SafetyRating(typing_extensions.TypedDict, total=Fal severityScore: float @typing.type_check_only -class GoogleCloudAiplatformV1SafetyResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SafetyResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1SafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GoogleCloudAiplatformV1SafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -8552,10 +8129,8 @@ class GoogleCloudAiplatformV1SafetySetting(typing_extensions.TypedDict, total=Fa "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", "HARM_CATEGORY_JAILBREAK", ] - method: typing_extensions.Literal[ - "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" - ] - threshold: typing_extensions.Literal[ + method: typing.Literal["HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY"] + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -8565,37 +8140,31 @@ class GoogleCloudAiplatformV1SafetySetting(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleCloudAiplatformV1SafetySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SafetySpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1SampleConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SampleConfig(typing.TypedDict, total=False): followingBatchSamplePercentage: int initialBatchSamplePercentage: int - sampleStrategy: typing_extensions.Literal[ - "SAMPLE_STRATEGY_UNSPECIFIED", "UNCERTAINTY" - ] + sampleStrategy: typing.Literal["SAMPLE_STRATEGY_UNSPECIFIED", "UNCERTAINTY"] @typing.type_check_only -class GoogleCloudAiplatformV1SampledShapleyAttribution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SampledShapleyAttribution(typing.TypedDict, total=False): pathCount: int @typing.type_check_only -class GoogleCloudAiplatformV1SamplingStrategy(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SamplingStrategy(typing.TypedDict, total=False): randomSampleConfig: GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig @typing.type_check_only class GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleRate: float @typing.type_check_only -class GoogleCloudAiplatformV1SandboxEnvironment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SandboxEnvironment(typing.TypedDict, total=False): connectionInfo: GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo createTime: str displayName: str @@ -8606,7 +8175,7 @@ class GoogleCloudAiplatformV1SandboxEnvironment( sandboxEnvironmentSnapshot: str sandboxEnvironmentTemplate: str spec: GoogleCloudAiplatformV1SandboxEnvironmentSpec - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_PROVISIONING", "STATE_RUNNING", @@ -8619,24 +8188,23 @@ class GoogleCloudAiplatformV1SandboxEnvironment( @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): loadBalancerHostname: str loadBalancerIp: str routingToken: str sandboxInternalIp: str + serviceAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1SandboxEnvironmentSnapshot( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SandboxEnvironmentSnapshot(typing.TypedDict, total=False): createTime: str displayName: str expireTime: str name: str owner: str parentSnapshot: str - postSnapshotAction: typing_extensions.Literal[ + postSnapshotAction: typing.Literal[ "POST_SNAPSHOT_ACTION_UNSPECIFIED", "RUNNING", "PAUSE" ] sizeBytes: str @@ -8645,28 +8213,24 @@ class GoogleCloudAiplatformV1SandboxEnvironmentSnapshot( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1SandboxEnvironmentSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SandboxEnvironmentSpec(typing.TypedDict, total=False): codeExecutionEnvironment: ( GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment ) @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - codeLanguage: typing_extensions.Literal[ + codeLanguage: typing.Literal[ "LANGUAGE_UNSPECIFIED", "LANGUAGE_PYTHON", "LANGUAGE_JAVASCRIPT" ] - machineConfig: typing_extensions.Literal[ + machineConfig: typing.Literal[ "MACHINE_CONFIG_UNSPECIFIED", "MACHINE_CONFIG_VCPU4_RAM4GIB" ] @typing.type_check_only -class GoogleCloudAiplatformV1SandboxEnvironmentTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SandboxEnvironmentTemplate(typing.TypedDict, total=False): createTime: str customContainerEnvironment: ( GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerEnvironment @@ -8678,15 +8242,16 @@ class GoogleCloudAiplatformV1SandboxEnvironmentTemplate( egressControlConfig: ( GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig ) + ingressControlConfig: GoogleCloudAiplatformV1PrivateServiceConnectConfig name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "UNSPECIFIED", "PROVISIONING", "ACTIVE", "DEPROVISIONING", "DELETED", "FAILED" ] updateTime: str @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customContainerSpec: ( GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerSpec @@ -8696,42 +8261,56 @@ class GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerEnvironmen @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageUri: str @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - defaultContainerCategory: typing_extensions.Literal[ + defaultContainerCategory: typing.Literal[ "DEFAULT_CONTAINER_CATEGORY_UNSPECIFIED", "DEFAULT_CONTAINER_CATEGORY_COMPUTER_USE", + "DEFAULT_CONTAINER_CATEGORY_SHELL_SANDBOX", ] resources: GoogleCloudAiplatformV1SandboxEnvironmentTemplateResourceRequirements @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + customerVpcNetwork: str + dnsPeeringConfigs: _list[ + GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig + ] internetAccess: bool + networkAttachment: str + +@typing.type_check_only +class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig( + typing.TypedDict, total=False +): + domain: str + targetNetwork: str + targetProject: str @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentTemplateNetworkPort( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): port: int - protocol: typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "TCP", "UDP"] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "TCP", "UDP"] @typing.type_check_only class GoogleCloudAiplatformV1SandboxEnvironmentTemplateResourceRequirements( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limits: dict[str, typing.Any] requests: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1SavedQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SavedQuery(typing.TypedDict, total=False): annotationFilter: str annotationSpecCount: int createTime: str @@ -8744,11 +8323,11 @@ class GoogleCloudAiplatformV1SavedQuery(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1Scalar(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Scalar(typing.TypedDict, total=False): value: float @typing.type_check_only -class GoogleCloudAiplatformV1Schedule(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Schedule(typing.TypedDict, total=False): allowQueueing: bool catchUp: bool createNotebookExecutionJobRequest: ( @@ -8769,24 +8348,20 @@ class GoogleCloudAiplatformV1Schedule(typing_extensions.TypedDict, total=False): nextRunTime: str startTime: str startedRunCount: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "COMPLETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "COMPLETED"] updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1ScheduleRunResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ScheduleRunResponse(typing.TypedDict, total=False): runResponse: str scheduledRunTime: str @typing.type_check_only -class GoogleCloudAiplatformV1Scheduling(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Scheduling(typing.TypedDict, total=False): disableRetries: bool maxWaitDuration: str restartJobOnWorkerRestart: bool - strategy: typing_extensions.Literal[ + strategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "ON_DEMAND", "LOW_COST", @@ -8797,7 +8372,7 @@ class GoogleCloudAiplatformV1Scheduling(typing_extensions.TypedDict, total=False timeout: str @typing.type_check_only -class GoogleCloudAiplatformV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Schema(typing.TypedDict, total=False): additionalProperties: typing.Any anyOf: _list[GoogleCloudAiplatformV1Schema] default: typing.Any @@ -8822,7 +8397,7 @@ class GoogleCloudAiplatformV1Schema(typing_extensions.TypedDict, total=False): ref: str required: _list[str] title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -8834,16 +8409,14 @@ class GoogleCloudAiplatformV1Schema(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleCloudAiplatformV1SchemaAnnotationSpecColor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaAnnotationSpecColor(typing.TypedDict, total=False): color: GoogleTypeColor displayName: str id: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -8854,28 +8427,24 @@ class GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaImageClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1SchemaImageDataItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaImageDataItem(typing.TypedDict, total=False): gcsUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1SchemaImageDatasetMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaImageDatasetMetadata(typing.TypedDict, total=False): dataItemSchemaUri: str gcsBucket: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maskAnnotation: ( GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation @@ -8889,14 +8458,14 @@ class GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecColors: _list[GoogleCloudAiplatformV1SchemaAnnotationSpecColor] maskGcsUri: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -8904,7 +8473,7 @@ class GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -8912,7 +8481,7 @@ class GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics @@ -8922,7 +8491,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics( @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float f1Score: float @@ -8931,7 +8500,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfi @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auPrc: float auRoc: float @@ -8943,7 +8512,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluatio @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float confusionMatrix: GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix @@ -8965,7 +8534,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluatio @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecs: _list[ GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef @@ -8974,14 +8543,14 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix( @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str id: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): meanAbsoluteError: float meanAbsolutePercentageError: float @@ -8996,7 +8565,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMe @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observedQuantile: float quantile: float @@ -9004,14 +8573,14 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMe @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsGeneralTextGenerationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bleu: float rougeLSum: float @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBoxMeanAveragePrecision: float boundingBoxMetrics: _list[ @@ -9021,7 +8590,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEva @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetricsEntries: _list[ GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry @@ -9029,7 +8598,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvalua @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float confusionMatrix: GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix @@ -9040,7 +8609,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvalua @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracy: float baselineModelWinRate: float @@ -9058,13 +8627,13 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationE @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exactMatch: float @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): meanAbsoluteError: float meanAbsolutePercentageError: float @@ -9074,13 +8643,13 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMet @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsSummarizationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rougeLSum: float @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics @@ -9089,7 +8658,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluatio @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float f1Score: float @@ -9098,7 +8667,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluatio @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confusionMatrix: GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix f1Score: float @@ -9111,7 +8680,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluation @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics @@ -9123,7 +8692,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics( @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBoxIou: float confidenceThreshold: float @@ -9133,7 +8702,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceM @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics @@ -9143,7 +8712,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics( @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float f1Score: float @@ -9152,7 +8721,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfi @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionRecognitionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedActionCount: int videoActionMetrics: _list[ @@ -9161,7 +8730,7 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionRecognitionM @typing.type_check_only class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBoxMeanAveragePrecision: float boundingBoxMetrics: _list[ @@ -9177,35 +8746,35 @@ class GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetr @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceImageClassificationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceImageObjectDetectionPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceTextClassificationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str key: str @@ -9213,14 +8782,14 @@ class GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstan @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceTextSentimentPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceVideoActionRecognitionPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @@ -9229,7 +8798,7 @@ class GoogleCloudAiplatformV1SchemaPredictInstanceVideoActionRecognitionPredicti @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceVideoClassificationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @@ -9238,7 +8807,7 @@ class GoogleCloudAiplatformV1SchemaPredictInstanceVideoClassificationPredictionI @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictInstanceVideoObjectTrackingPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @@ -9247,52 +8816,52 @@ class GoogleCloudAiplatformV1SchemaPredictInstanceVideoObjectTrackingPredictionI @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAttribution: bool sources: _list[GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry] @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enterpriseDatastore: str inlineContext: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "WEB", "ENTERPRISE", "VERTEX_AI_SEARCH", "INLINE" ] vertexAiSearchDatastore: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsImageObjectDetectionPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsImageSegmentationPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsVideoActionRecognitionPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @@ -9302,7 +8871,7 @@ class GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionPar @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @@ -9310,7 +8879,7 @@ class GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionPar @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidences: _list[float] displayNames: _list[str] @@ -9318,7 +8887,7 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResu @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bboxes: _list[_list[typing.Any]] confidences: _list[float] @@ -9327,21 +8896,21 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredicti @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionImageSegmentationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryMask: str confidenceMask: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionTabularClassificationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classes: _list[str] scores: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lowerBound: float quantilePredictions: _list[float] @@ -9351,7 +8920,7 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionR @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidences: _list[float] displayNames: _list[str] @@ -9361,13 +8930,13 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResu @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionTextSentimentPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentiment: int @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeColumns: _list[str] attributeWeights: _list[float] @@ -9378,7 +8947,7 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantilePredictions: _list[float] quantileValues: _list[float] @@ -9389,7 +8958,7 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredict @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -9399,7 +8968,7 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredic @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -9410,7 +8979,7 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictio @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -9423,7 +8992,7 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictio @typing.type_check_only class GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeOffset: str xMax: float @@ -9432,20 +9001,16 @@ class GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictio yMin: float @typing.type_check_only -class GoogleCloudAiplatformV1SchemaPredictionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaPredictionResult(typing.TypedDict, total=False): error: GoogleCloudAiplatformV1SchemaPredictionResultError instance: dict[str, typing.Any] key: str prediction: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1SchemaPredictionResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaPredictionResultError(typing.TypedDict, total=False): message: str - status: typing_extensions.Literal[ + status: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -9466,9 +9031,7 @@ class GoogleCloudAiplatformV1SchemaPredictionResultError( ] @typing.type_check_only -class GoogleCloudAiplatformV1SchemaPromptApiSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaPromptApiSchema(typing.TypedDict, total=False): apiSchemaVersion: str executions: _list[GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution] multimodalPrompt: GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt @@ -9477,29 +9040,29 @@ class GoogleCloudAiplatformV1SchemaPromptApiSchema( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): arguments: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partList: GoogleCloudAiplatformV1SchemaPromptSpecPartList @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): codeRepositoryState: str - framework: typing_extensions.Literal["FRAMEWORK_UNSPECIFIED", "REACT", "ANGULAR"] + framework: typing.Literal["FRAMEWORK_UNSPECIFIED", "REACT", "ANGULAR"] linkedResources: _list[ GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource ] @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -9507,25 +9070,23 @@ class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecInteractionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): interactionIds: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): promptMessage: GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage @typing.type_check_only -class GoogleCloudAiplatformV1SchemaPromptSpecPartList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaPromptSpecPartList(typing.TypedDict, total=False): parts: _list[GoogleCloudAiplatformV1Part] @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1Content] generationConfig: GoogleCloudAiplatformV1GenerationConfig @@ -9537,14 +9098,14 @@ class GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceSentence: str targetSentence: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceSentencePairs: _list[ GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair @@ -9552,7 +9113,7 @@ class GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appBuilderData: GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData context: GoogleCloudAiplatformV1Content @@ -9567,7 +9128,7 @@ class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceSentencePairLists: _list[ GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList @@ -9578,7 +9139,7 @@ class GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str displayName: str @@ -9586,19 +9147,19 @@ class GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputUri: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numberOfShots: int @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): example: GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample option: GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption @@ -9608,59 +9169,53 @@ class GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt( @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileInputSource: GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource gcsInputSource: GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource @typing.type_check_only -class GoogleCloudAiplatformV1SchemaTablesDatasetMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaTablesDatasetMetadata(typing.TypedDict, total=False): inputConfig: GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig @typing.type_check_only class GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource gcsSource: GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource @typing.type_check_only class GoogleCloudAiplatformV1SchemaTextClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1SchemaTextDataItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaTextDataItem(typing.TypedDict, total=False): gcsUri: str @typing.type_check_only -class GoogleCloudAiplatformV1SchemaTextDatasetMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaTextDatasetMetadata(typing.TypedDict, total=False): dataItemSchemaUri: str gcsBucket: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTextExtractionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -9668,7 +9223,7 @@ class GoogleCloudAiplatformV1SchemaTextExtractionAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidateCount: str gcsUri: str @@ -9690,16 +9245,14 @@ class GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata( topP: float @typing.type_check_only -class GoogleCloudAiplatformV1SchemaTextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaTextSegment(typing.TypedDict, total=False): content: str endOffset: str startOffset: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTextSentimentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -9708,20 +9261,18 @@ class GoogleCloudAiplatformV1SchemaTextSentimentAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTextSentimentSavedQueryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentimentMax: int @typing.type_check_only -class GoogleCloudAiplatformV1SchemaTimeSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaTimeSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputConfig: GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig timeColumn: str @@ -9729,26 +9280,26 @@ class GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadata( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource gcsSource: GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecasting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs metadata: ( @@ -9757,7 +9308,7 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecasting( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] availableAtForecastColumns: _list[str] @@ -9787,14 +9338,14 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantity: str unit: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation @@ -9804,57 +9355,57 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsT @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str timeFormat: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs metadata: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseModelId: str budgetMilliNodeHours: str disableEarlyStopping: bool - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "CLOUD_1", @@ -9872,27 +9423,27 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificatio @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMilliNodeHours: str - successfulStopReason: typing_extensions.Literal[ + successfulStopReason: typing.Literal[ "SUCCESSFUL_STOP_REASON_UNSPECIFIED", "BUDGET_REACHED", "MODEL_CONVERGED" ] @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs metadata: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetMilliNodeHours: str disableEarlyStopping: bool - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD_HIGH_ACCURACY_1", "CLOUD_LOW_LATENCY_1", @@ -9909,16 +9460,16 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetecti @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMilliNodeHours: str - successfulStopReason: typing_extensions.Literal[ + successfulStopReason: typing.Literal[ "SUCCESSFUL_STOP_REASON_UNSPECIFIED", "BUDGET_REACHED", "MODEL_CONVERGED" ] @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: ( GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs @@ -9927,11 +9478,11 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseModelId: str budgetMilliNodeHours: str - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD_HIGH_ACCURACY_1", "CLOUD_LOW_ACCURACY_1", @@ -9940,23 +9491,23 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationI @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMilliNodeHours: str - successfulStopReason: typing_extensions.Literal[ + successfulStopReason: typing.Literal[ "SUCCESSFUL_STOP_REASON_UNSPECIFIED", "BUDGET_REACHED", "MODEL_CONVERGED" ] @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTables( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs metadata: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] disableEarlyStopping: bool @@ -9976,7 +9527,7 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation @@ -9989,51 +9540,51 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransf @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str invalidValuesAllowed: bool @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str invalidValuesAllowed: bool @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str invalidValuesAllowed: bool @@ -10041,14 +9592,14 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransf @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: ( GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs @@ -10056,44 +9607,44 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassification @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): multiLabel: bool @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentimentMax: int @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "MOBILE_VERSATILE_1", @@ -10103,15 +9654,15 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecogni @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "MOBILE_VERSATILE_1", @@ -10120,15 +9671,15 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificatio @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTracking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "MOBILE_VERSATILE_1", @@ -10140,39 +9691,39 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackin @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): checkpointName: str datasetConfig: dict[str, typing.Any] studySpec: GoogleCloudAiplatformV1StudySpec trainerConfig: dict[str, typing.Any] - trainerType: typing_extensions.Literal[ + trainerType: typing.Literal[ "TRAINER_TYPE_UNSPECIFIED", "AUTOML_TRAINER", "MODEL_GARDEN_TRAINER" ] @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backingCustomJob: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1CustomJobSpec metadata: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationBigqueryUri: str overrideExistingTable: bool @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): groupColumns: _list[str] groupTemporalTotalWeight: float @@ -10181,14 +9732,14 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backingHyperparameterTuningJob: str bestTrialBackingCustomJob: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxFailedTrialCount: int maxTrialCount: int @@ -10198,7 +9749,7 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobS @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningTask( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: ( GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec @@ -10207,7 +9758,7 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningTask @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: ( GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs @@ -10218,7 +9769,7 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] availableAtForecastColumns: _list[str] @@ -10247,14 +9798,14 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingIn @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantity: str unit: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation @@ -10264,52 +9815,52 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingIn @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str timeFormat: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecasting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs metadata: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] availableAtForecastColumns: _list[str] @@ -10338,14 +9889,14 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs( @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantity: str unit: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation @@ -10355,58 +9906,58 @@ class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTran @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str timeFormat: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): column: str maxCount: str strideLength: str @typing.type_check_only -class GoogleCloudAiplatformV1SchemaVertex(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SchemaVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -10414,29 +9965,25 @@ class GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaVideoClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str timeSegment: GoogleCloudAiplatformV1SchemaTimeSegment @typing.type_check_only -class GoogleCloudAiplatformV1SchemaVideoDataItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaVideoDataItem(typing.TypedDict, total=False): gcsUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1SchemaVideoDatasetMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SchemaVideoDatasetMetadata(typing.TypedDict, total=False): dataItemSchemaUri: str gcsBucket: str @typing.type_check_only class GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -10449,37 +9996,33 @@ class GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1SchemaVisualInspectionClassificationLabelSavedQueryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): multiLabel: bool @typing.type_check_only class GoogleCloudAiplatformV1SchemaVisualInspectionMaskSavedQueryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1SearchDataItemsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SearchDataItemsResponse(typing.TypedDict, total=False): dataItemViews: _list[GoogleCloudAiplatformV1DataItemView] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1SearchEntryPoint(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SearchEntryPoint(typing.TypedDict, total=False): renderedContent: str sdkBlob: str @typing.type_check_only -class GoogleCloudAiplatformV1SearchFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SearchFeaturesResponse(typing.TypedDict, total=False): features: _list[GoogleCloudAiplatformV1Feature] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1SearchMigratableResourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str pageSize: int @@ -10487,14 +10030,14 @@ class GoogleCloudAiplatformV1SearchMigratableResourcesRequest( @typing.type_check_only class GoogleCloudAiplatformV1SearchMigratableResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migratableResources: _list[GoogleCloudAiplatformV1MigratableResource] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedModelId: str endTime: str @@ -10508,10 +10051,10 @@ class GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesReques @typing.type_check_only class GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): topFeatureCount: int - type: typing_extensions.Literal[ + type: typing.Literal[ "MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED", "RAW_FEATURE_SKEW", "RAW_FEATURE_DRIFT", @@ -10521,45 +10064,43 @@ class GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesReques @typing.type_check_only class GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monitoringStats: _list[GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1SearchNearestEntitiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: GoogleCloudAiplatformV1NearestNeighborQuery returnFullEntity: bool @typing.type_check_only class GoogleCloudAiplatformV1SearchNearestEntitiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nearestNeighbors: GoogleCloudAiplatformV1NearestNeighbors @typing.type_check_only -class GoogleCloudAiplatformV1SecretEnvVar(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SecretEnvVar(typing.TypedDict, total=False): name: str secretRef: GoogleCloudAiplatformV1SecretRef @typing.type_check_only -class GoogleCloudAiplatformV1SecretRef(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SecretRef(typing.TypedDict, total=False): secret: str version: str @typing.type_check_only -class GoogleCloudAiplatformV1Segment(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Segment(typing.TypedDict, total=False): endIndex: int partIndex: int startIndex: int text: str @typing.type_check_only -class GoogleCloudAiplatformV1SemanticGovernancePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SemanticGovernancePolicy(typing.TypedDict, total=False): agent: str agentIdentity: str createTime: str @@ -10573,7 +10114,7 @@ class GoogleCloudAiplatformV1SemanticGovernancePolicy( @typing.type_check_only class GoogleCloudAiplatformV1SemanticGovernancePolicyEngine( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str gatewayConfigs: dict[str, typing.Any] @@ -10581,7 +10122,7 @@ class GoogleCloudAiplatformV1SemanticGovernancePolicyEngine( name: str pscForwardingRule: str pscServiceAttachment: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "ACTIVE", @@ -10593,20 +10134,18 @@ class GoogleCloudAiplatformV1SemanticGovernancePolicyEngine( @typing.type_check_only class GoogleCloudAiplatformV1SemanticGovernancePolicyMcpTool( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mcpServer: str tools: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1ServiceAccountSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ServiceAccountSpec(typing.TypedDict, total=False): enableCustomServiceAccount: bool serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1Session(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Session(typing.TypedDict, total=False): createTime: str displayName: str expireTime: str @@ -10618,7 +10157,7 @@ class GoogleCloudAiplatformV1Session(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class GoogleCloudAiplatformV1SessionEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SessionEvent(typing.TypedDict, total=False): actions: GoogleCloudAiplatformV1EventActions author: str content: GoogleCloudAiplatformV1Content @@ -10631,14 +10170,12 @@ class GoogleCloudAiplatformV1SessionEvent(typing_extensions.TypedDict, total=Fal timestamp: str @typing.type_check_only -class GoogleCloudAiplatformV1SharePointSources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SharePointSources(typing.TypedDict, total=False): sharePointSources: _list[GoogleCloudAiplatformV1SharePointSourcesSharePointSource] @typing.type_check_only class GoogleCloudAiplatformV1SharePointSourcesSharePointSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: GoogleCloudAiplatformV1ApiAuthApiKeyConfig @@ -10651,43 +10188,39 @@ class GoogleCloudAiplatformV1SharePointSourcesSharePointSource( tenantId: str @typing.type_check_only -class GoogleCloudAiplatformV1ShieldedVmConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ShieldedVmConfig(typing.TypedDict, total=False): enableSecureBoot: bool @typing.type_check_only -class GoogleCloudAiplatformV1SlackSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SlackSource(typing.TypedDict, total=False): channels: _list[GoogleCloudAiplatformV1SlackSourceSlackChannels] @typing.type_check_only -class GoogleCloudAiplatformV1SlackSourceSlackChannels( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SlackSourceSlackChannels(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1ApiAuthApiKeyConfig channels: _list[GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel] @typing.type_check_only class GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelId: str endTime: str startTime: str @typing.type_check_only -class GoogleCloudAiplatformV1SmoothGradConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SmoothGradConfig(typing.TypedDict, total=False): featureNoiseSigma: GoogleCloudAiplatformV1FeatureNoiseSigma noiseSigma: float noisySampleCount: int @typing.type_check_only -class GoogleCloudAiplatformV1SpeakerVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SpeakerVoiceConfig(typing.TypedDict, total=False): speaker: str voiceConfig: GoogleCloudAiplatformV1VoiceConfig @typing.type_check_only -class GoogleCloudAiplatformV1SpecialistPool(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SpecialistPool(typing.TypedDict, total=False): displayName: str name: str pendingDataLabelingJobs: _list[str] @@ -10696,9 +10229,7 @@ class GoogleCloudAiplatformV1SpecialistPool(typing_extensions.TypedDict, total=F specialistWorkerEmails: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1SpeculativeDecodingSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SpeculativeDecodingSpec(typing.TypedDict, total=False): draftModelSpeculation: ( GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation ) @@ -10707,46 +10238,44 @@ class GoogleCloudAiplatformV1SpeculativeDecodingSpec( @typing.type_check_only class GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): draftModel: str @typing.type_check_only class GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ngramSize: int @typing.type_check_only -class GoogleCloudAiplatformV1SpeechConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SpeechConfig(typing.TypedDict, total=False): languageCode: str multiSpeakerVoiceConfig: GoogleCloudAiplatformV1MultiSpeakerVoiceConfig voiceConfig: GoogleCloudAiplatformV1VoiceConfig @typing.type_check_only class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1StartNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1StopNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1StopTrialRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1StopTrialRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1StratifiedSplit(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1StratifiedSplit(typing.TypedDict, total=False): key: str testFraction: float trainingFraction: float @@ -10754,89 +10283,77 @@ class GoogleCloudAiplatformV1StratifiedSplit(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classMethod: str input: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1StreamRawPredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1StreamRawPredictRequest(typing.TypedDict, total=False): httpBody: GoogleApiHttpBody @typing.type_check_only -class GoogleCloudAiplatformV1StreamingPredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1StreamingPredictRequest(typing.TypedDict, total=False): inputs: _list[GoogleCloudAiplatformV1Tensor] parameters: GoogleCloudAiplatformV1Tensor @typing.type_check_only -class GoogleCloudAiplatformV1StreamingPredictResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1StreamingPredictResponse(typing.TypedDict, total=False): outputs: _list[GoogleCloudAiplatformV1Tensor] parameters: GoogleCloudAiplatformV1Tensor @typing.type_check_only class GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityIds: _list[str] featureSelector: GoogleCloudAiplatformV1FeatureSelector @typing.type_check_only -class GoogleCloudAiplatformV1StringArray(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1StringArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1StructFieldValue(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1StructFieldValue(typing.TypedDict, total=False): name: str value: GoogleCloudAiplatformV1FeatureValue @typing.type_check_only -class GoogleCloudAiplatformV1StructValue(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1StructValue(typing.TypedDict, total=False): values: _list[GoogleCloudAiplatformV1StructFieldValue] @typing.type_check_only -class GoogleCloudAiplatformV1Study(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Study(typing.TypedDict, total=False): createTime: str displayName: str inactiveReason: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED"] studySpec: GoogleCloudAiplatformV1StudySpec @typing.type_check_only -class GoogleCloudAiplatformV1StudySpec(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ - "ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH" - ] +class GoogleCloudAiplatformV1StudySpec(typing.TypedDict, total=False): + algorithm: typing.Literal["ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH"] convexAutomatedStoppingSpec: ( GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec ) decayCurveStoppingSpec: ( GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec ) - measurementSelectionType: typing_extensions.Literal[ + measurementSelectionType: typing.Literal[ "MEASUREMENT_SELECTION_TYPE_UNSPECIFIED", "LAST_MEASUREMENT", "BEST_MEASUREMENT" ] medianAutomatedStoppingSpec: ( GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec ) metrics: _list[GoogleCloudAiplatformV1StudySpecMetricSpec] - observationNoise: typing_extensions.Literal[ - "OBSERVATION_NOISE_UNSPECIFIED", "LOW", "HIGH" - ] + observationNoise: typing.Literal["OBSERVATION_NOISE_UNSPECIFIED", "LOW", "HIGH"] parameters: _list[GoogleCloudAiplatformV1StudySpecParameterSpec] studyStoppingConfig: GoogleCloudAiplatformV1StudySpecStudyStoppingConfig @typing.type_check_only class GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): learningRateParameterName: str maxStepCount: str @@ -10847,35 +10364,31 @@ class GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec( @typing.type_check_only class GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useElapsedDuration: bool @typing.type_check_only class GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useElapsedDuration: bool @typing.type_check_only -class GoogleCloudAiplatformV1StudySpecMetricSpec( - typing_extensions.TypedDict, total=False -): - goal: typing_extensions.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] +class GoogleCloudAiplatformV1StudySpecMetricSpec(typing.TypedDict, total=False): + goal: typing.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] metricId: str safetyConfig: GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig @typing.type_check_only class GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): desiredMinSafeTrialsFraction: float safetyThreshold: float @typing.type_check_only -class GoogleCloudAiplatformV1StudySpecParameterSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1StudySpecParameterSpec(typing.TypedDict, total=False): categoricalValueSpec: ( GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec ) @@ -10886,7 +10399,7 @@ class GoogleCloudAiplatformV1StudySpecParameterSpec( doubleValueSpec: GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec integerValueSpec: GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec parameterId: str - scaleType: typing_extensions.Literal[ + scaleType: typing.Literal[ "SCALE_TYPE_UNSPECIFIED", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", @@ -10895,14 +10408,14 @@ class GoogleCloudAiplatformV1StudySpecParameterSpec( @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: str values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameterSpec: GoogleCloudAiplatformV1StudySpecParameterSpec parentCategoricalValues: GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition @@ -10911,32 +10424,32 @@ class GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec( @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: float values: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: float maxValue: float @@ -10944,7 +10457,7 @@ class GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec( @typing.type_check_only class GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: str maxValue: str @@ -10952,7 +10465,7 @@ class GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec( @typing.type_check_only class GoogleCloudAiplatformV1StudySpecStudyStoppingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxDurationNoProgress: str maxNumTrials: int @@ -10963,48 +10476,38 @@ class GoogleCloudAiplatformV1StudySpecStudyStoppingConfig( shouldStopAsap: bool @typing.type_check_only -class GoogleCloudAiplatformV1StudyTimeConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1StudyTimeConstraint(typing.TypedDict, total=False): endTime: str maxDuration: str @typing.type_check_only -class GoogleCloudAiplatformV1SuggestTrialsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SuggestTrialsMetadata(typing.TypedDict, total=False): clientId: str genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1SuggestTrialsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SuggestTrialsRequest(typing.TypedDict, total=False): clientId: str contexts: _list[GoogleCloudAiplatformV1TrialContext] suggestionCount: int @typing.type_check_only -class GoogleCloudAiplatformV1SuggestTrialsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SuggestTrialsResponse(typing.TypedDict, total=False): endTime: str startTime: str - studyState: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED" - ] + studyState: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED"] trials: _list[GoogleCloudAiplatformV1Trial] @typing.type_check_only class GoogleCloudAiplatformV1SummarizationHelpfulnessInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1SummarizationHelpfulnessInstance metricSpec: GoogleCloudAiplatformV1SummarizationHelpfulnessSpec @typing.type_check_only class GoogleCloudAiplatformV1SummarizationHelpfulnessInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -11013,7 +10516,7 @@ class GoogleCloudAiplatformV1SummarizationHelpfulnessInstance( @typing.type_check_only class GoogleCloudAiplatformV1SummarizationHelpfulnessResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -11021,21 +10524,19 @@ class GoogleCloudAiplatformV1SummarizationHelpfulnessResult( @typing.type_check_only class GoogleCloudAiplatformV1SummarizationHelpfulnessSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1SummarizationQualityInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SummarizationQualityInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1SummarizationQualityInstance metricSpec: GoogleCloudAiplatformV1SummarizationQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1SummarizationQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -11043,30 +10544,24 @@ class GoogleCloudAiplatformV1SummarizationQualityInstance( reference: str @typing.type_check_only -class GoogleCloudAiplatformV1SummarizationQualityResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SummarizationQualityResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1SummarizationQualitySpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SummarizationQualitySpec(typing.TypedDict, total=False): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1SummarizationVerbosityInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SummarizationVerbosityInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1SummarizationVerbosityInstance metricSpec: GoogleCloudAiplatformV1SummarizationVerbositySpec @typing.type_check_only class GoogleCloudAiplatformV1SummarizationVerbosityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -11075,30 +10570,26 @@ class GoogleCloudAiplatformV1SummarizationVerbosityInstance( @typing.type_check_only class GoogleCloudAiplatformV1SummarizationVerbosityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1SummarizationVerbositySpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SummarizationVerbositySpec(typing.TypedDict, total=False): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1SummaryMetrics(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SummaryMetrics(typing.TypedDict, total=False): failedItems: int metrics: dict[str, typing.Any] totalItems: int @typing.type_check_only -class GoogleCloudAiplatformV1SupervisedHyperParameters( - typing_extensions.TypedDict, total=False -): - adapterSize: typing_extensions.Literal[ +class GoogleCloudAiplatformV1SupervisedHyperParameters(typing.TypedDict, total=False): + adapterSize: typing.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", "ADAPTER_SIZE_TWO", @@ -11111,9 +10602,7 @@ class GoogleCloudAiplatformV1SupervisedHyperParameters( learningRateMultiplier: float @typing.type_check_only -class GoogleCloudAiplatformV1SupervisedTuningDataStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SupervisedTuningDataStats(typing.TypedDict, total=False): droppedExampleReasons: _list[str] totalBillableCharacterCount: str totalBillableTokenCount: str @@ -11135,7 +10624,7 @@ class GoogleCloudAiplatformV1SupervisedTuningDataStats( @typing.type_check_only class GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billableSum: str buckets: _list[ @@ -11151,16 +10640,14 @@ class GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( @typing.type_check_only class GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: float left: float right: float @typing.type_check_only -class GoogleCloudAiplatformV1SupervisedTuningSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SupervisedTuningSpec(typing.TypedDict, total=False): evaluationConfig: GoogleCloudAiplatformV1EvaluationConfig exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1SupervisedHyperParameters @@ -11169,53 +10656,45 @@ class GoogleCloudAiplatformV1SupervisedTuningSpec( @typing.type_check_only class GoogleCloudAiplatformV1SuspendOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1SuspendOnlineEvaluatorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1SyncFeatureViewRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1SyncFeatureViewRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1SyncFeatureViewResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1SyncFeatureViewResponse(typing.TypedDict, total=False): featureViewSync: str @typing.type_check_only -class GoogleCloudAiplatformV1SyntheticExample(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SyntheticExample(typing.TypedDict, total=False): fields: _list[GoogleCloudAiplatformV1SyntheticField] @typing.type_check_only -class GoogleCloudAiplatformV1SyntheticField(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1SyntheticField(typing.TypedDict, total=False): content: GoogleCloudAiplatformV1Content fieldName: str @typing.type_check_only -class GoogleCloudAiplatformV1TFRecordDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TFRecordDestination(typing.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1TaskDescriptionStrategy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TaskDescriptionStrategy(typing.TypedDict, total=False): taskDescription: str @typing.type_check_only -class GoogleCloudAiplatformV1Tensor(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Tensor(typing.TypedDict, total=False): boolVal: _list[bool] bytesVal: _list[str] doubleVal: _list[float] - dtype: typing_extensions.Literal[ + dtype: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "STRING", @@ -11242,7 +10721,7 @@ class GoogleCloudAiplatformV1Tensor(typing_extensions.TypedDict, total=False): uintVal: _list[int] @typing.type_check_only -class GoogleCloudAiplatformV1Tensorboard(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Tensorboard(typing.TypedDict, total=False): blobStoragePathPrefix: str createTime: str description: str @@ -11258,20 +10737,16 @@ class GoogleCloudAiplatformV1Tensorboard(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1TensorboardBlob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TensorboardBlob(typing.TypedDict, total=False): data: str id: str @typing.type_check_only -class GoogleCloudAiplatformV1TensorboardBlobSequence( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TensorboardBlobSequence(typing.TypedDict, total=False): values: _list[GoogleCloudAiplatformV1TensorboardBlob] @typing.type_check_only -class GoogleCloudAiplatformV1TensorboardExperiment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TensorboardExperiment(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -11282,7 +10757,7 @@ class GoogleCloudAiplatformV1TensorboardExperiment( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1TensorboardRun(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TensorboardRun(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -11292,16 +10767,12 @@ class GoogleCloudAiplatformV1TensorboardRun(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1TensorboardTensor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TensorboardTensor(typing.TypedDict, total=False): value: str versionNumber: int @typing.type_check_only -class GoogleCloudAiplatformV1TensorboardTimeSeries( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TensorboardTimeSeries(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -11311,43 +10782,37 @@ class GoogleCloudAiplatformV1TensorboardTimeSeries( pluginData: str pluginName: str updateTime: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "SCALAR", "TENSOR", "BLOB_SEQUENCE" ] @typing.type_check_only class GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxBlobSequenceLength: str maxStep: str maxWallTime: str @typing.type_check_only -class GoogleCloudAiplatformV1TextResponseFormat( - typing_extensions.TypedDict, total=False -): - mimeType: typing_extensions.Literal[ - "MIME_TYPE_UNSPECIFIED", "APPLICATION_JSON", "TEXT_PLAIN" - ] +class GoogleCloudAiplatformV1TextResponseFormat(typing.TypedDict, total=False): + mimeType: typing.Literal["MIME_TYPE_UNSPECIFIED", "APPLICATION_JSON", "TEXT_PLAIN"] schema: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1ThresholdConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ThresholdConfig(typing.TypedDict, total=False): value: float @typing.type_check_only -class GoogleCloudAiplatformV1TimeSeriesData(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TimeSeriesData(typing.TypedDict, total=False): tensorboardTimeSeriesId: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "SCALAR", "TENSOR", "BLOB_SEQUENCE" ] values: _list[GoogleCloudAiplatformV1TimeSeriesDataPoint] @typing.type_check_only -class GoogleCloudAiplatformV1TimeSeriesDataPoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TimeSeriesDataPoint(typing.TypedDict, total=False): blobs: GoogleCloudAiplatformV1TensorboardBlobSequence scalar: GoogleCloudAiplatformV1Scalar step: str @@ -11355,20 +10820,20 @@ class GoogleCloudAiplatformV1TimeSeriesDataPoint( wallTime: str @typing.type_check_only -class GoogleCloudAiplatformV1TimestampSplit(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TimestampSplit(typing.TypedDict, total=False): key: str testFraction: float trainingFraction: float validationFraction: float @typing.type_check_only -class GoogleCloudAiplatformV1TokensInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TokensInfo(typing.TypedDict, total=False): role: str tokenIds: _list[str] tokens: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1Tool(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Tool(typing.TypedDict, total=False): codeExecution: GoogleCloudAiplatformV1ToolCodeExecution computerUse: GoogleCloudAiplatformV1ToolComputerUse enterpriseWebSearch: GoogleCloudAiplatformV1EnterpriseWebSearch @@ -11382,50 +10847,38 @@ class GoogleCloudAiplatformV1Tool(typing_extensions.TypedDict, total=False): urlContext: GoogleCloudAiplatformV1UrlContext @typing.type_check_only -class GoogleCloudAiplatformV1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ToolCall(typing.TypedDict, total=False): toolInput: str toolName: str @typing.type_check_only -class GoogleCloudAiplatformV1ToolCallValidInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolCallValidInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1ToolCallValidInstance] metricSpec: GoogleCloudAiplatformV1ToolCallValidSpec @typing.type_check_only -class GoogleCloudAiplatformV1ToolCallValidInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolCallValidInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1ToolCallValidMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolCallValidMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1ToolCallValidResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolCallValidResults(typing.TypedDict, total=False): toolCallValidMetricValues: _list[GoogleCloudAiplatformV1ToolCallValidMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1ToolCallValidSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1ToolCallValidSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1ToolCodeExecution( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1ToolCodeExecution(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1ToolComputerUse(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ToolComputerUse(typing.TypedDict, total=False): enablePromptInjectionDetection: bool - environment: typing_extensions.Literal[ + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_BROWSER", "ENVIRONMENT_MOBILE", @@ -11434,18 +10887,18 @@ class GoogleCloudAiplatformV1ToolComputerUse(typing_extensions.TypedDict, total= excludedPredefinedFunctions: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1ToolConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ToolConfig(typing.TypedDict, total=False): functionCallingConfig: GoogleCloudAiplatformV1FunctionCallingConfig retrievalConfig: GoogleCloudAiplatformV1RetrievalConfig @typing.type_check_only -class GoogleCloudAiplatformV1ToolExaAiSearch(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1ToolExaAiSearch(typing.TypedDict, total=False): apiKey: str customConfigs: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1ToolGoogleSearch(typing_extensions.TypedDict, total=False): - blockingConfidence: typing_extensions.Literal[ +class GoogleCloudAiplatformV1ToolGoogleSearch(typing.TypedDict, total=False): + blockingConfidence: typing.Literal[ "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -11459,117 +10912,96 @@ class GoogleCloudAiplatformV1ToolGoogleSearch(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1ToolGoogleSearchImageSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1ToolGoogleSearchSearchTypes( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolGoogleSearchSearchTypes(typing.TypedDict, total=False): imageSearch: GoogleCloudAiplatformV1ToolGoogleSearchImageSearch webSearch: GoogleCloudAiplatformV1ToolGoogleSearchWebSearch @typing.type_check_only class GoogleCloudAiplatformV1ToolGoogleSearchWebSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1ToolNameMatchInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolNameMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1ToolNameMatchInstance] metricSpec: GoogleCloudAiplatformV1ToolNameMatchSpec @typing.type_check_only -class GoogleCloudAiplatformV1ToolNameMatchInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolNameMatchInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1ToolNameMatchMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolNameMatchMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1ToolNameMatchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolNameMatchResults(typing.TypedDict, total=False): toolNameMatchMetricValues: _list[GoogleCloudAiplatformV1ToolNameMatchMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1ToolNameMatchSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1ToolNameMatchSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1ToolParallelAiSearch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolParallelAiSearch(typing.TypedDict, total=False): apiKey: str customConfigs: dict[str, typing.Any] enableDataRetention: bool + enableZeroDataRetention: bool @typing.type_check_only -class GoogleCloudAiplatformV1ToolParameterKVMatchInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolParameterKVMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1ToolParameterKVMatchInstance] metricSpec: GoogleCloudAiplatformV1ToolParameterKVMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKVMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): prediction: str reference: str @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKVMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only -class GoogleCloudAiplatformV1ToolParameterKVMatchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolParameterKVMatchResults(typing.TypedDict, total=False): toolParameterKvMatchMetricValues: _list[ GoogleCloudAiplatformV1ToolParameterKVMatchMetricValue ] @typing.type_check_only -class GoogleCloudAiplatformV1ToolParameterKVMatchSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolParameterKVMatchSpec(typing.TypedDict, total=False): useStrictStringMatch: bool @typing.type_check_only -class GoogleCloudAiplatformV1ToolParameterKeyMatchInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1ToolParameterKeyMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1ToolParameterKeyMatchInstance] metricSpec: GoogleCloudAiplatformV1ToolParameterKeyMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKeyMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): prediction: str reference: str @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKeyMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolParameterKeyMatchMetricValues: _list[ GoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue @@ -11577,15 +11009,15 @@ class GoogleCloudAiplatformV1ToolParameterKeyMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKeyMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1TrainingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TrainingConfig(typing.TypedDict, total=False): timeoutTrainingMilliHours: str @typing.type_check_only -class GoogleCloudAiplatformV1TrainingPipeline(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TrainingPipeline(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec @@ -11598,7 +11030,7 @@ class GoogleCloudAiplatformV1TrainingPipeline(typing_extensions.TypedDict, total name: str parentModel: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PIPELINE_STATE_UNSPECIFIED", "PIPELINE_STATE_QUEUED", "PIPELINE_STATE_PENDING", @@ -11615,32 +11047,32 @@ class GoogleCloudAiplatformV1TrainingPipeline(typing_extensions.TypedDict, total updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1Trajectory(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Trajectory(typing.TypedDict, total=False): toolCalls: _list[GoogleCloudAiplatformV1ToolCall] @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance] metricSpec: GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1Trajectory referenceTrajectory: GoogleCloudAiplatformV1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectoryAnyOrderMatchMetricValues: _list[ GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue @@ -11648,65 +11080,59 @@ class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryExactMatchInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryExactMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1TrajectoryExactMatchInstance] metricSpec: GoogleCloudAiplatformV1TrajectoryExactMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryExactMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1Trajectory referenceTrajectory: GoogleCloudAiplatformV1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryExactMatchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryExactMatchResults(typing.TypedDict, total=False): trajectoryExactMatchMetricValues: _list[ GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue ] @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryExactMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryInOrderMatchInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryInOrderMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance] metricSpec: GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1Trajectory referenceTrajectory: GoogleCloudAiplatformV1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryInOrderMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectoryInOrderMatchMetricValues: _list[ GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue @@ -11714,115 +11140,95 @@ class GoogleCloudAiplatformV1TrajectoryInOrderMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryPrecisionInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryPrecisionInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1TrajectoryPrecisionInstance] metricSpec: GoogleCloudAiplatformV1TrajectoryPrecisionSpec @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryPrecisionInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryPrecisionInstance(typing.TypedDict, total=False): predictedTrajectory: GoogleCloudAiplatformV1Trajectory referenceTrajectory: GoogleCloudAiplatformV1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryPrecisionResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryPrecisionResults(typing.TypedDict, total=False): trajectoryPrecisionMetricValues: _list[ GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue ] @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryPrecisionSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1TrajectoryPrecisionSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryRecallInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryRecallInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1TrajectoryRecallInstance] metricSpec: GoogleCloudAiplatformV1TrajectoryRecallSpec @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryRecallInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryRecallInstance(typing.TypedDict, total=False): predictedTrajectory: GoogleCloudAiplatformV1Trajectory referenceTrajectory: GoogleCloudAiplatformV1Trajectory @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryRecallMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryRecallMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryRecallResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectoryRecallResults(typing.TypedDict, total=False): trajectoryRecallMetricValues: _list[ GoogleCloudAiplatformV1TrajectoryRecallMetricValue ] @typing.type_check_only -class GoogleCloudAiplatformV1TrajectoryRecallSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1TrajectoryRecallSpec(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1TrajectorySingleToolUseInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1TrajectorySingleToolUseInstance] metricSpec: GoogleCloudAiplatformV1TrajectorySingleToolUseSpec @typing.type_check_only class GoogleCloudAiplatformV1TrajectorySingleToolUseInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1TrajectorySingleToolUseResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectorySingleToolUseMetricValues: _list[ GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue ] @typing.type_check_only -class GoogleCloudAiplatformV1TrajectorySingleToolUseSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TrajectorySingleToolUseSpec(typing.TypedDict, total=False): toolName: str @typing.type_check_only -class GoogleCloudAiplatformV1Transcription(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Transcription(typing.TypedDict, total=False): finished: bool text: str @typing.type_check_only -class GoogleCloudAiplatformV1Trial(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Trial(typing.TypedDict, total=False): clientId: str customJob: str endTime: str @@ -11833,7 +11239,7 @@ class GoogleCloudAiplatformV1Trial(typing_extensions.TypedDict, total=False): name: str parameters: _list[GoogleCloudAiplatformV1TrialParameter] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUESTED", "ACTIVE", @@ -11844,45 +11250,43 @@ class GoogleCloudAiplatformV1Trial(typing_extensions.TypedDict, total=False): webAccessUris: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1TrialContext(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TrialContext(typing.TypedDict, total=False): description: str parameters: _list[GoogleCloudAiplatformV1TrialParameter] @typing.type_check_only -class GoogleCloudAiplatformV1TrialParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TrialParameter(typing.TypedDict, total=False): parameterId: str value: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1TunedModel(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TunedModel(typing.TypedDict, total=False): checkpoints: _list[GoogleCloudAiplatformV1TunedModelCheckpoint] endpoint: str model: str @typing.type_check_only -class GoogleCloudAiplatformV1TunedModelCheckpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1TunedModelCheckpoint(typing.TypedDict, total=False): checkpointId: str endpoint: str epoch: str step: str @typing.type_check_only -class GoogleCloudAiplatformV1TunedModelRef(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TunedModelRef(typing.TypedDict, total=False): pipelineJob: str tunedModel: str tuningJob: str @typing.type_check_only -class GoogleCloudAiplatformV1TuningDataStats(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TuningDataStats(typing.TypedDict, total=False): preferenceOptimizationDataStats: ( GoogleCloudAiplatformV1PreferenceOptimizationDataStats ) supervisedTuningDataStats: GoogleCloudAiplatformV1SupervisedTuningDataStats @typing.type_check_only -class GoogleCloudAiplatformV1TuningJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1TuningJob(typing.TypedDict, total=False): baseModel: str createTime: str description: str @@ -11897,7 +11301,7 @@ class GoogleCloudAiplatformV1TuningJob(typing_extensions.TypedDict, total=False) preferenceOptimizationSpec: GoogleCloudAiplatformV1PreferenceOptimizationSpec serviceAccount: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -11919,109 +11323,99 @@ class GoogleCloudAiplatformV1TuningJob(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleCloudAiplatformV1UndeployIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1UndeployIndexRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UndeployIndexRequest(typing.TypedDict, total=False): deployedIndexId: str @typing.type_check_only -class GoogleCloudAiplatformV1UndeployIndexResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1UndeployIndexResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1UndeployModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1UndeployModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UndeployModelRequest(typing.TypedDict, total=False): deployedModelId: str trafficSplit: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1UndeployModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1UndeployModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1UnmanagedContainerModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UnmanagedContainerModel(typing.TypedDict, total=False): artifactUri: str containerSpec: GoogleCloudAiplatformV1ModelContainerSpec predictSchemata: GoogleCloudAiplatformV1PredictSchemata @typing.type_check_only class GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: GoogleCloudAiplatformV1Endpoint @typing.type_check_only class GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateExplanationDatasetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): examples: GoogleCloudAiplatformV1Examples @typing.type_check_only class GoogleCloudAiplatformV1UpdateExplanationDatasetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateFeatureOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata nearestNeighborSearchOperationMetadata: ( @@ -12030,122 +11424,108 @@ class GoogleCloudAiplatformV1UpdateIndexOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1UpdateModelDeploymentMonitoringJobOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdateOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpdatePersistentResourceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1UpdateSpecialistPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata specialistPool: str @typing.type_check_only class GoogleCloudAiplatformV1UpdateTensorboardOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1UploadModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1UploadModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UploadModelRequest(typing.TypedDict, total=False): model: GoogleCloudAiplatformV1Model modelId: str parentModel: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1UploadModelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UploadModelResponse(typing.TypedDict, total=False): model: str modelVersionId: str @typing.type_check_only -class GoogleCloudAiplatformV1UploadRagFileConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UploadRagFileConfig(typing.TypedDict, total=False): ragFileTransformationConfig: GoogleCloudAiplatformV1RagFileTransformationConfig @typing.type_check_only -class GoogleCloudAiplatformV1UploadRagFileRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UploadRagFileRequest(typing.TypedDict, total=False): ragFile: GoogleCloudAiplatformV1RagFile uploadRagFileConfig: GoogleCloudAiplatformV1UploadRagFileConfig @typing.type_check_only -class GoogleCloudAiplatformV1UploadRagFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UploadRagFileResponse(typing.TypedDict, total=False): error: GoogleRpcStatus ragFile: GoogleCloudAiplatformV1RagFile @typing.type_check_only -class GoogleCloudAiplatformV1UpsertDatapointsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UpsertDatapointsRequest(typing.TypedDict, total=False): datapoints: _list[GoogleCloudAiplatformV1IndexDatapoint] updateMask: str @typing.type_check_only class GoogleCloudAiplatformV1UpsertDatapointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1UrlContext(typing_extensions.TypedDict, total=False): ... +class GoogleCloudAiplatformV1UrlContext(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1UrlContextMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UrlContextMetadata(typing.TypedDict, total=False): urlMetadata: _list[GoogleCloudAiplatformV1UrlMetadata] @typing.type_check_only -class GoogleCloudAiplatformV1UrlMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1UrlMetadata(typing.TypedDict, total=False): retrievedUrl: str - urlRetrievalStatus: typing_extensions.Literal[ + urlRetrievalStatus: typing.Literal[ "URL_RETRIEVAL_STATUS_UNSPECIFIED", "URL_RETRIEVAL_STATUS_SUCCESS", "URL_RETRIEVAL_STATUS_ERROR", ] @typing.type_check_only -class GoogleCloudAiplatformV1UsageMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1UsageMetadata(typing.TypedDict, total=False): cacheTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] cachedContentTokenCount: int candidatesTokenCount: int @@ -12156,31 +11536,30 @@ class GoogleCloudAiplatformV1UsageMetadata(typing_extensions.TypedDict, total=Fa toolUsePromptTokenCount: int toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] totalTokenCount: int - trafficType: typing_extensions.Literal[ + trafficType: typing.Literal[ "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "ON_DEMAND_PRIORITY", "ON_DEMAND_FLEX", + "ON_DEMAND_OFFPEAK", "PROVISIONED_THROUGHPUT", ] @typing.type_check_only -class GoogleCloudAiplatformV1UserActionReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1UserActionReference(typing.TypedDict, total=False): dataLabelingJob: str method: str operation: str @typing.type_check_only -class GoogleCloudAiplatformV1UserScenario(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1UserScenario(typing.TypedDict, total=False): conversationPlan: str startingPrompt: str testCaseTitle: str @typing.type_check_only class GoogleCloudAiplatformV1UserScenarioGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environmentData: str modelName: str @@ -12188,13 +11567,13 @@ class GoogleCloudAiplatformV1UserScenarioGenerationConfig( userScenarioCount: str @typing.type_check_only -class GoogleCloudAiplatformV1Value(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1Value(typing.TypedDict, total=False): doubleValue: float intValue: str stringValue: str @typing.type_check_only -class GoogleCloudAiplatformV1VertexAISearch(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1VertexAISearch(typing.TypedDict, total=False): dataStoreSpecs: _list[GoogleCloudAiplatformV1VertexAISearchDataStoreSpec] datastore: str engine: str @@ -12202,71 +11581,64 @@ class GoogleCloudAiplatformV1VertexAISearch(typing_extensions.TypedDict, total=F maxResults: int @typing.type_check_only -class GoogleCloudAiplatformV1VertexAISearchDataStoreSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1VertexAISearchDataStoreSpec(typing.TypedDict, total=False): dataStore: str filter: str @typing.type_check_only -class GoogleCloudAiplatformV1VertexAiSearchConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1VertexAiSearchConfig(typing.TypedDict, total=False): servingConfig: str @typing.type_check_only class GoogleCloudAiplatformV1VertexMultimodalDatasetDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination displayName: str @typing.type_check_only class GoogleCloudAiplatformV1VertexMultimodalDatasetSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetName: str @typing.type_check_only -class GoogleCloudAiplatformV1VertexRagStore(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1VertexRagStore(typing.TypedDict, total=False): ragResources: _list[GoogleCloudAiplatformV1VertexRagStoreRagResource] ragRetrievalConfig: GoogleCloudAiplatformV1RagRetrievalConfig similarityTopK: int vectorDistanceThreshold: float @typing.type_check_only -class GoogleCloudAiplatformV1VertexRagStoreRagResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1VertexRagStoreRagResource(typing.TypedDict, total=False): ragCorpus: str ragFileIds: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1VideoMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1VideoMetadata(typing.TypedDict, total=False): endOffset: str fps: float startOffset: str @typing.type_check_only -class GoogleCloudAiplatformV1VideoResponseFormat( - typing_extensions.TypedDict, total=False -): - aspectRatio: typing_extensions.Literal[ +class GoogleCloudAiplatformV1VideoResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ "ASPECT_RATIO_UNSPECIFIED", "ASPECT_RATIO_SIXTEEN_BY_NINE", "ASPECT_RATIO_NINE_BY_SIXTEEN", ] - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] duration: str gcsUri: str + resolution: str @typing.type_check_only -class GoogleCloudAiplatformV1VoiceConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1VoiceConfig(typing.TypedDict, total=False): prebuiltVoiceConfig: GoogleCloudAiplatformV1PrebuiltVoiceConfig replicatedVoiceConfig: GoogleCloudAiplatformV1ReplicatedVoiceConfig @typing.type_check_only -class GoogleCloudAiplatformV1WorkerPoolSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1WorkerPoolSpec(typing.TypedDict, total=False): containerSpec: GoogleCloudAiplatformV1ContainerSpec diskSpec: GoogleCloudAiplatformV1DiskSpec lustreMounts: _list[GoogleCloudAiplatformV1LustreMount] @@ -12276,61 +11648,55 @@ class GoogleCloudAiplatformV1WorkerPoolSpec(typing_extensions.TypedDict, total=F replicaCount: str @typing.type_check_only -class GoogleCloudAiplatformV1WriteFeatureValuesPayload( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1WriteFeatureValuesPayload(typing.TypedDict, total=False): entityId: str featureValues: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1WriteFeatureValuesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1WriteFeatureValuesRequest(typing.TypedDict, total=False): payloads: _list[GoogleCloudAiplatformV1WriteFeatureValuesPayload] @typing.type_check_only class GoogleCloudAiplatformV1WriteFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): writeRunDataRequests: _list[GoogleCloudAiplatformV1WriteTensorboardRunDataRequest] @typing.type_check_only class GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1WriteTensorboardRunDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tensorboardRun: str timeSeriesData: _list[GoogleCloudAiplatformV1TimeSeriesData] @typing.type_check_only class GoogleCloudAiplatformV1WriteTensorboardRunDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1XraiAttribution(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1XraiAttribution(typing.TypedDict, total=False): blurBaselineConfig: GoogleCloudAiplatformV1BlurBaselineConfig smoothGradConfig: GoogleCloudAiplatformV1SmoothGradConfig stepCount: int @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -12338,33 +11704,33 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -12372,46 +11738,46 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeInterval(typing_extensions.TypedDict, total=False): +class GoogleTypeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index d5dcd1c8d..fcd911179 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -1256,6 +1255,180 @@ 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: ... + + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest + | None + ): ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Memory, + memoryId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, + ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Memory, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest: ... + def retrieveProfiles( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveProfilesRequest, + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1RetrieveProfilesResponseHttpRequest: ... + def rollback( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RollbackMemoryRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def revisions(self) -> RevisionsResource: ... + + @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 ingestEvents( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1IngestEventsRequest, + **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 @@ -4775,6 +4948,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, indexEndpoint: str, body: GoogleCloudAiplatformV1beta1DeployedIndex, + updateMask: str | None = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def patch( @@ -4803,8 +4977,276 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... - @typing.type_check_only - class IndexesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class IndexesResource(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 create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Index, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1IndexHttpRequest: ... + def import_( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ImportIndexRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + readMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListIndexesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Index, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def removeDatapoints( + self, + *, + index: str, + body: GoogleCloudAiplatformV1beta1RemoveDatapointsRequest, + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1RemoveDatapointsResponseHttpRequest + ): ... + def upsertDatapoints( + self, + *, + index: str, + body: GoogleCloudAiplatformV1beta1UpsertDatapointsRequest, + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1UpsertDatapointsResponseHttpRequest + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class InteractionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + projectsId: str, + locationsId: str, + body: GenaiVertexV1beta1CreateInteractionRequest, + **kwargs: typing.Any, + ) -> GenaiVertexV1beta1InteractionHttpRequest: ... + def createStream( + self, + *, + projectsId: str, + locationsId: str, + body: GenaiVertexV1beta1CreateInteractionRequest, + **kwargs: typing.Any, + ) -> GenaiVertexV1beta1InteractionStreamingEventHttpRequest: ... + def delete( + 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: ... + + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest + | None + ): ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Memory, + memoryId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Memory, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest, + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest + ): ... + def retrieveProfiles( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveProfilesRequest, + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1RetrieveProfilesResponseHttpRequest + ): ... + def rollback( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RollbackMemoryRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def revisions(self) -> RevisionsResource: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4839,93 +5281,16 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Index, - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1IndexHttpRequest: ... - def import_( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ImportIndexRequest, - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( + def ingestEvents( self, *, parent: str, - filter: str | None = ..., - pageSize: int | None = ..., - pageToken: str | None = ..., - readMask: str | None = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListIndexesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Index, - updateMask: str | None = ..., + body: GoogleCloudAiplatformV1beta1IngestEventsRequest, **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def removeDatapoints( - self, - *, - index: str, - body: GoogleCloudAiplatformV1beta1RemoveDatapointsRequest, - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1RemoveDatapointsResponseHttpRequest - ): ... - def upsertDatapoints( - self, - *, - index: str, - body: GoogleCloudAiplatformV1beta1UpsertDatapointsRequest, - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1UpsertDatapointsResponseHttpRequest - ): ... + def memories(self) -> MemoriesResource: ... def operations(self) -> OperationsResource: ... - @typing.type_check_only - class InteractionsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - projectsId: str, - locationsId: str, - body: GenaiVertexV1beta1CreateInteractionRequest, - **kwargs: typing.Any, - ) -> GenaiVertexV1beta1InteractionHttpRequest: ... - def createStream( - self, - *, - projectsId: str, - locationsId: str, - body: GenaiVertexV1beta1CreateInteractionRequest, - **kwargs: typing.Any, - ) -> GenaiVertexV1beta1InteractionStreamingEventHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GenaiVertexV1beta1DeleteInteractionResponseHttpRequest: ... - @typing.type_check_only class MetadataStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -5985,7 +6350,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ANALYZED_SESSION_VIEW_UNSPECIFIED", "ANALYZED_SESSION_VIEW_BASIC", "ANALYZED_SESSION_VIEW_FULL", @@ -6001,7 +6366,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ANALYZED_SESSION_VIEW_UNSPECIFIED", "ANALYZED_SESSION_VIEW_BASIC", "ANALYZED_SESSION_VIEW_FULL", @@ -6180,7 +6545,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", @@ -6196,7 +6561,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", @@ -6865,7 +7230,29 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleApiHttpBodyHttpRequest: ... def invoke(self) -> InvokeResource: ... + @typing.type_check_only + class V1Resource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ResponsesResource(googleapiclient.discovery.Resource): + def compact( + self, + *, + endpoint: str, + body: GoogleApiHttpBody, + deployedModelId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleApiHttpBodyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleApiHttpBodyHttpRequest: ... + + def responses(self) -> ResponsesResource: ... + def models(self) -> ModelsResource: ... + def v1(self) -> V1Resource: ... @typing.type_check_only class RagCorporaResource(googleapiclient.discovery.Resource): @@ -7367,7 +7754,16 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing.Literal[ + "A2A_TASK_VIEW_UNSPECIFIED", + "A2A_TASK_VIEW_BASIC", + "A2A_TASK_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1A2aTaskHttpRequest: ... def list( self, @@ -7452,6 +7848,56 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1FeedbackEntry, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1FeedbackEntryHttpRequest: ... + def getFeedbackContext( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1FeedbackContextHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListFeedbackEntriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListFeedbackEntriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeedbackEntriesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListFeedbackEntriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1FeedbackEntry, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def updateFeedbackContext( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1FeedbackContext, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only @@ -8186,6 +8632,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleCloudAiplatformV1beta1SessionEvent, **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest: ... + def compact( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CompactSessionRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, @@ -8563,6 +9016,46 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1ServingProfile, + servingProfileId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ServingProfileHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListServingProfilesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListServingProfilesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListServingProfilesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListServingProfilesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ServingProfile, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ServingProfileHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only @@ -9459,9 +9952,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 +10205,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( @@ -9835,7 +10342,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): includeEquivalentModelGardenModelDeploymentConfigs: bool | None = ..., isHuggingFaceModel: bool | None = ..., languageCode: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "PUBLISHER_MODEL_VIEW_UNSPECIFIED", "PUBLISHER_MODEL_VIEW_BASIC", "PUBLISHER_MODEL_VIEW_FULL", @@ -9854,7 +10361,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "PUBLISHER_MODEL_VIEW_UNSPECIFIED", "PUBLISHER_MODEL_VIEW_BASIC", "PUBLISHER_MODEL_VIEW_FULL", @@ -11444,9 +11951,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 +12045,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( @@ -12203,6 +12720,26 @@ class GoogleCloudAiplatformV1beta1FeaturestoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1Featurestore: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeedbackContextHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1FeedbackContext: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeedbackEntryHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1FeedbackEntry: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -12681,6 +13218,16 @@ class GoogleCloudAiplatformV1beta1ListFeaturestoresResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListFeaturestoresResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListFeedbackEntriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListFeedbackEntriesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -13061,6 +13608,16 @@ class GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponseHttpRequ num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListServingProfilesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListServingProfilesResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -13821,6 +14378,16 @@ class GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngineHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ServingProfileHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ServingProfile: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1SessionHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index b10c2f265..426a9e7a6 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -1,84 +1,154 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoExperiments( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionGenerateVideoExperiments(typing.TypedDict, total=False): anchorLastFrame: bool - codec: typing_extensions.Literal[ + audioControl: CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig + cfgScale: float + codec: typing.Literal[ "VIDEO_CODEC_UNSPECIFIED", "VIDEO_CODEC_H264", "VIDEO_CODEC_PRORES", "VIDEO_CODEC_DNXHR", ] + colorAlignment: CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig conditioningFrames: _list[ CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame ] customParameters: dict[str, typing.Any] + exrColorSpaceOverride: str humanPose: CloudAiLargeModelsVisionHumanPose modelName: str numDiffusionSteps: int + omniRewriter: CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig originalRequestJson: str + outpaintConfig: CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig promptInputs: CloudAiLargeModelsVisionPromptInputs requestOriginTag: str schedulingConfig: CloudAiLargeModelsVisionGenerateVideoExperimentsVESchedulingConfig seamless: CloudAiLargeModelsVisionSeamless + spatialAlignment: ( + CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig + ) truncateInputVideo: bool + videoTransform: CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform videoTransformMaskGcsUri: str videoTransformStrength: float +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig( + typing.TypedDict, total=False +): + targetAudio: CloudAiLargeModelsVisionGenerateVideoRequestAudio + useTargetAudioFromVideo: bool + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig( + typing.TypedDict, total=False +): + enable: bool + @typing.type_check_only class CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frameNum: int image: CloudAiLargeModelsVisionGenerateVideoRequestImage +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig( + typing.TypedDict, total=False +): + maxChunkDuration: float + rewriterInputFps: int + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig( + typing.TypedDict, total=False +): + inputFrames: _list[ + CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource + ] + outputSpec: typing.Literal[ + "OUTPUT_SPEC_UNSPECIFIED", + "OUTPUT_SPEC_1920X1072x72", + "OUTPUT_SPEC_1280X720x192", + "OUTPUT_SPEC_960X544x432", + ] + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource( + typing.TypedDict, total=False +): + globPattern: str + horizontalOffset: int + verticalOffset: int + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig( + typing.TypedDict, total=False +): + enable: bool + @typing.type_check_only class CloudAiLargeModelsVisionGenerateVideoExperimentsVESchedulingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableRetry: bool @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoRequestImage( - typing_extensions.TypedDict, total=False +class CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform( + typing.TypedDict, total=False ): + initializationVideo: CloudAiLargeModelsVisionGenerateVideoRequestVideo + mask: CloudAiLargeModelsVisionGenerateVideoRequestVideo + noiseStrength: float + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoRequestAudio(typing.TypedDict, total=False): blobId: str bytesBase64Encoded: str gcsUri: str mimeType: str @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoResponse( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionGenerateVideoRequestImage(typing.TypedDict, total=False): + blobId: str + bytesBase64Encoded: str + gcsUri: str + mimeType: str + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoRequestVideo(typing.TypedDict, total=False): + blobId: str + bytesBase64Encoded: str + gcsUri: str + mimeType: str + +@typing.type_check_only +class CloudAiLargeModelsVisionGenerateVideoResponse(typing.TypedDict, total=False): generatedSamples: _list[CloudAiLargeModelsVisionMedia] raiMediaFilteredCount: int raiMediaFilteredReasons: _list[str] videos: _list[CloudAiLargeModelsVisionGenerateVideoResponseVideo] @typing.type_check_only -class CloudAiLargeModelsVisionGenerateVideoResponseVideo( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionGenerateVideoResponseVideo(typing.TypedDict, total=False): bytesBase64Encoded: str experimentsMetadata: CloudAiLargeModelsVisionGenerateVideoExperiments gcsUri: str mimeType: str @typing.type_check_only -class CloudAiLargeModelsVisionHumanPose(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionHumanPose(typing.TypedDict, total=False): bodyLandmarksGcsUri: str faceLandmarksGcsUri: str perfMeshGcsUri: str @typing.type_check_only -class CloudAiLargeModelsVisionImage(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionImage(typing.TypedDict, total=False): encoding: str generationSeed: int image: str @@ -90,24 +160,22 @@ class CloudAiLargeModelsVisionImage(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class CloudAiLargeModelsVisionImageImageSize(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionImageImageSize(typing.TypedDict, total=False): channels: int height: int width: int @typing.type_check_only -class CloudAiLargeModelsVisionImageRAIScores(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionImageRAIScores(typing.TypedDict, total=False): agileWatermarkDetectionScore: float @typing.type_check_only -class CloudAiLargeModelsVisionMedia(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionMedia(typing.TypedDict, total=False): image: CloudAiLargeModelsVisionImage video: CloudAiLargeModelsVisionVideo @typing.type_check_only -class CloudAiLargeModelsVisionNamedBoundingBox( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionNamedBoundingBox(typing.TypedDict, total=False): classes: _list[str] entities: _list[str] scores: _list[float] @@ -117,7 +185,7 @@ class CloudAiLargeModelsVisionNamedBoundingBox( y2: float @typing.type_check_only -class CloudAiLargeModelsVisionPromptInputs(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionPromptInputs(typing.TypedDict, total=False): audioPrompt: str negativeAudioPrompt: str negativePrompt: str @@ -125,7 +193,7 @@ class CloudAiLargeModelsVisionPromptInputs(typing_extensions.TypedDict, total=Fa transcript: str @typing.type_check_only -class CloudAiLargeModelsVisionRaiInfo(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionRaiInfo(typing.TypedDict, total=False): blockedEntities: _list[str] detectedLabels: _list[CloudAiLargeModelsVisionRaiInfoDetectedLabels] modelName: str @@ -133,15 +201,13 @@ class CloudAiLargeModelsVisionRaiInfo(typing_extensions.TypedDict, total=False): scores: _list[float] @typing.type_check_only -class CloudAiLargeModelsVisionRaiInfoDetectedLabels( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionRaiInfoDetectedLabels(typing.TypedDict, total=False): entities: _list[CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity] raiCategory: str @typing.type_check_only class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x1: int x2: int @@ -150,7 +216,7 @@ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox( @typing.type_check_only class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBox: CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox description: str @@ -159,20 +225,18 @@ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity( score: float @typing.type_check_only -class CloudAiLargeModelsVisionSeamless(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionSeamless(typing.TypedDict, total=False): loop: bool tessellateHorizontal: bool tessellateVertical: bool @typing.type_check_only -class CloudAiLargeModelsVisionSemanticFilterResponse( - typing_extensions.TypedDict, total=False -): +class CloudAiLargeModelsVisionSemanticFilterResponse(typing.TypedDict, total=False): namedBoundingBoxes: _list[CloudAiLargeModelsVisionNamedBoundingBox] passedSemanticFilter: bool @typing.type_check_only -class CloudAiLargeModelsVisionVideo(typing_extensions.TypedDict, total=False): +class CloudAiLargeModelsVisionVideo(typing.TypedDict, total=False): encodedVideo: str encoding: str text: str @@ -181,9 +245,9 @@ class CloudAiLargeModelsVisionVideo(typing_extensions.TypedDict, total=False): @typing.type_check_only class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - errorCause: typing_extensions.Literal[ + errorCause: typing.Literal[ "ERROR_CAUSE_UNSPECIFIED", "INVALID_PIPELINE_SPEC_FORMAT", "INVALID_PIPELINE_SPEC", @@ -213,49 +277,42 @@ class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail( publicMessage: str @typing.type_check_only -class GenaiVertexV1beta1AgentInteraction(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1AgentInteraction(typing.TypedDict, total=False): agent: str + antigravityConfig: GenaiVertexV1beta1AntigravityAgentConfig + codeMenderConfig: GenaiVertexV1beta1CodeMenderAgentConfig deepResearchConfig: GenaiVertexV1beta1DeepResearchAgentConfig dynamicConfig: GenaiVertexV1beta1DynamicAgentConfig @typing.type_check_only -class GenaiVertexV1beta1AllowedTools(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ +class GenaiVertexV1beta1AllowedTools(typing.TypedDict, total=False): + mode: typing.Literal[ "TOOL_CHOICE_TYPE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" ] tools: _list[str] @typing.type_check_only -class GenaiVertexV1beta1ArgumentsDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1AntigravityAgentConfig(typing.TypedDict, total=False): + maxTotalTokens: str + model: str + +@typing.type_check_only +class GenaiVertexV1beta1ArgumentsDelta(typing.TypedDict, total=False): arguments: str @typing.type_check_only -class GenaiVertexV1beta1AudioContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1AudioContent(typing.TypedDict, total=False): channels: int data: str - mimeType: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", - "TYPE_WAV", - "TYPE_MP3", - "TYPE_AIFF", - "TYPE_AAC", - "TYPE_OGG", - "TYPE_FLAC", - "TYPE_MPEG", - "TYPE_M4A", - "TYPE_L16", - "TYPE_OPUS", - "TYPE_ALAW", - "TYPE_MULAW", - ] + mimeTypeString: str sampleRate: int uri: str @typing.type_check_only -class GenaiVertexV1beta1AudioDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1AudioDelta(typing.TypedDict, total=False): channels: int data: str - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_WAV", "TYPE_MP3", @@ -275,10 +332,10 @@ class GenaiVertexV1beta1AudioDelta(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class GenaiVertexV1beta1AudioResponseFormat(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1AudioResponseFormat(typing.TypedDict, total=False): bitRate: int - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - mimeType: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + mimeType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_MP3", "TYPE_OGG_OPUS", @@ -290,69 +347,103 @@ class GenaiVertexV1beta1AudioResponseFormat(typing_extensions.TypedDict, total=F sampleRate: int @typing.type_check_only -class GenaiVertexV1beta1CodeExecution(typing_extensions.TypedDict, total=False): ... +class GenaiVertexV1beta1CodeExecution(typing.TypedDict, total=False): ... @typing.type_check_only -class GenaiVertexV1beta1CodeExecutionCallContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1CodeExecutionCallContent(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments @typing.type_check_only class GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] @typing.type_check_only -class GenaiVertexV1beta1CodeExecutionCallDelta( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1CodeExecutionCallDelta(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments @typing.type_check_only -class GenaiVertexV1beta1CodeExecutionCallStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1CodeExecutionCallStep(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments @typing.type_check_only class GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] @typing.type_check_only -class GenaiVertexV1beta1CodeExecutionResultContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1CodeExecutionResultContent(typing.TypedDict, total=False): isError: bool result: str @typing.type_check_only -class GenaiVertexV1beta1CodeExecutionResultDelta( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1CodeExecutionResultDelta(typing.TypedDict, total=False): isError: bool result: str @typing.type_check_only -class GenaiVertexV1beta1CodeExecutionResultStep( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1CodeExecutionResultStep(typing.TypedDict, total=False): isError: bool result: str @typing.type_check_only -class GenaiVertexV1beta1ComputerUse(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1CodeMenderAgentConfig(typing.TypedDict, total=False): + findRequest: GenaiVertexV1beta1CodeMenderAgentConfigFindRequest + fixRequest: GenaiVertexV1beta1CodeMenderAgentConfigFixRequest + model: str + sessionConfig: GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig + sessionId: str + +@typing.type_check_only +class GenaiVertexV1beta1CodeMenderAgentConfigFileContent(typing.TypedDict, total=False): + content: str + path: str + +@typing.type_check_only +class GenaiVertexV1beta1CodeMenderAgentConfigFindRequest(typing.TypedDict, total=False): + description: str + findingId: str + mode: typing.Literal["MODE_UNSPECIFIED", "MODE_SCAN", "MODE_VERIFY"] + sourceFiles: _list[GenaiVertexV1beta1CodeMenderAgentConfigFileContent] + +@typing.type_check_only +class GenaiVertexV1beta1CodeMenderAgentConfigFixRequest(typing.TypedDict, total=False): + description: str + findingId: str + sourceFiles: _list[GenaiVertexV1beta1CodeMenderAgentConfigFileContent] + +@typing.type_check_only +class GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig( + typing.TypedDict, total=False +): + maxRounds: int + +@typing.type_check_only +class GenaiVertexV1beta1ComputerUse(typing.TypedDict, total=False): + disabledSafetyPolicies: _list[ + typing.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: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "BROWSER", "MOBILE", "DESKTOP" ] excludedPredefinedFunctions: _list[str] @typing.type_check_only -class GenaiVertexV1beta1Content(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Content(typing.TypedDict, total=False): audio: GenaiVertexV1beta1AudioContent document: GenaiVertexV1beta1DocumentContent image: GenaiVertexV1beta1ImageContent @@ -363,12 +454,12 @@ class GenaiVertexV1beta1Content(typing_extensions.TypedDict, total=False): video: GenaiVertexV1beta1VideoContent @typing.type_check_only -class GenaiVertexV1beta1ContentDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ContentDelta(typing.TypedDict, total=False): delta: GenaiVertexV1beta1ContentDeltaData index: int @typing.type_check_only -class GenaiVertexV1beta1ContentDeltaData(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ContentDeltaData(typing.TypedDict, total=False): audio: GenaiVertexV1beta1AudioDelta document: GenaiVertexV1beta1DocumentDelta image: GenaiVertexV1beta1ImageDelta @@ -381,115 +472,106 @@ class GenaiVertexV1beta1ContentDeltaData(typing_extensions.TypedDict, total=Fals video: GenaiVertexV1beta1VideoDelta @typing.type_check_only -class GenaiVertexV1beta1ContentList(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ContentList(typing.TypedDict, total=False): contents: _list[GenaiVertexV1beta1Content] @typing.type_check_only -class GenaiVertexV1beta1ContentStart(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ContentStart(typing.TypedDict, total=False): content: GenaiVertexV1beta1Content index: int @typing.type_check_only -class GenaiVertexV1beta1ContentStop(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ContentStop(typing.TypedDict, total=False): index: int @typing.type_check_only -class GenaiVertexV1beta1CreateInteractionRequest( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1CreateInteractionRequest(typing.TypedDict, total=False): background: bool interaction: GenaiVertexV1beta1Interaction store: bool stream: bool @typing.type_check_only -class GenaiVertexV1beta1DeepResearchAgentConfig( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1DeepResearchAgentConfig(typing.TypedDict, total=False): collaborativePlanning: bool enableBigqueryTool: bool - thinkingSummaries: typing_extensions.Literal[ + thinkingSummaries: typing.Literal[ "THINKING_SUMMARIES_UNSPECIFIED", "THINKING_SUMMARIES_AUTO", "THINKING_SUMMARIES_NONE", ] - visualization: typing_extensions.Literal["UNSPECIFIED", "OFF", "AUTO"] + visualization: typing.Literal["UNSPECIFIED", "OFF", "AUTO"] @typing.type_check_only -class GenaiVertexV1beta1DeleteInteractionResponse( - typing_extensions.TypedDict, total=False -): ... +class GenaiVertexV1beta1DeleteInteractionResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GenaiVertexV1beta1DocumentContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1DocumentContent(typing.TypedDict, total=False): data: str - mimeType: typing_extensions.Literal["TYPE_UNSPECIFIED", "TYPE_PDF", "TYPE_CSV"] + mimeTypeString: str uri: str @typing.type_check_only -class GenaiVertexV1beta1DocumentDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1DocumentDelta(typing.TypedDict, total=False): data: str - mimeType: typing_extensions.Literal["TYPE_UNSPECIFIED", "TYPE_PDF", "TYPE_CSV"] + mimeType: typing.Literal["TYPE_UNSPECIFIED", "TYPE_PDF", "TYPE_CSV"] uri: str @typing.type_check_only -class GenaiVertexV1beta1DynamicAgentConfig(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1DynamicAgentConfig(typing.TypedDict, total=False): config: GenaiVertexV1beta1Struct @typing.type_check_only -class GenaiVertexV1beta1EnvironmentConfig(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1EnvironmentConfig(typing.TypedDict, total=False): + environmentId: str networkAllowlist: ( GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist ) - networkMode: typing_extensions.Literal["NETWORK_MODE_UNSPECIFIED", "DISABLED"] + networkMode: typing.Literal["NETWORK_MODE_UNSPECIFIED", "DISABLED"] sources: _list[GenaiVertexV1beta1EnvironmentConfigSource] @typing.type_check_only -class GenaiVertexV1beta1EnvironmentConfigEgressRule( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1EnvironmentConfigEgressRule(typing.TypedDict, total=False): domain: str transform: dict[str, typing.Any] @typing.type_check_only class GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowlist: _list[GenaiVertexV1beta1EnvironmentConfigEgressRule] @typing.type_check_only -class GenaiVertexV1beta1EnvironmentConfigSource( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1EnvironmentConfigSource(typing.TypedDict, total=False): content: str encoding: str source: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GCS", "INLINE", "REPOSITORY", "SKILL_REGISTRY" ] @typing.type_check_only -class GenaiVertexV1beta1Error(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Error(typing.TypedDict, total=False): code: str message: str @typing.type_check_only -class GenaiVertexV1beta1ErrorEvent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ErrorEvent(typing.TypedDict, total=False): error: GenaiVertexV1beta1Error @typing.type_check_only -class GenaiVertexV1beta1ExaAISearchConfig(typing_extensions.TypedDict, total=False): - api_key: str - custom_config: dict[str, typing.Any] +class GenaiVertexV1beta1ExaAISearchConfig(typing.TypedDict, total=False): + apiKey: str + customConfig: dict[str, typing.Any] @typing.type_check_only -class GenaiVertexV1beta1Field(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Field(typing.TypedDict, total=False): name: str value: GenaiVertexV1beta1Value @typing.type_check_only -class GenaiVertexV1beta1FileCitation(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1FileCitation(typing.TypedDict, total=False): customMetadata: GenaiVertexV1beta1Struct documentUri: str fileName: str @@ -498,69 +580,59 @@ class GenaiVertexV1beta1FileCitation(typing_extensions.TypedDict, total=False): source: str @typing.type_check_only -class GenaiVertexV1beta1FileSearch(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1FileSearch(typing.TypedDict, total=False): fileSearchStoreNames: _list[str] metadataFilter: str topK: int @typing.type_check_only -class GenaiVertexV1beta1FileSearchCallContent( - typing_extensions.TypedDict, total=False -): ... +class GenaiVertexV1beta1FileSearchCallContent(typing.TypedDict, total=False): ... @typing.type_check_only -class GenaiVertexV1beta1FileSearchCallDelta( - typing_extensions.TypedDict, total=False -): ... +class GenaiVertexV1beta1FileSearchCallDelta(typing.TypedDict, total=False): ... @typing.type_check_only -class GenaiVertexV1beta1FileSearchCallStep( - typing_extensions.TypedDict, total=False -): ... +class GenaiVertexV1beta1FileSearchCallStep(typing.TypedDict, total=False): ... @typing.type_check_only -class GenaiVertexV1beta1FileSearchResultContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1FileSearchResultContent(typing.TypedDict, total=False): result: _list[GenaiVertexV1beta1FileSearchResultContentFileSearchResult] @typing.type_check_only class GenaiVertexV1beta1FileSearchResultContentFileSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GenaiVertexV1beta1FileSearchResultDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1FileSearchResultDelta(typing.TypedDict, total=False): result: _list[GenaiVertexV1beta1FileSearchResultContentFileSearchResult] @typing.type_check_only -class GenaiVertexV1beta1FileSearchResultStep( - typing_extensions.TypedDict, total=False -): ... +class GenaiVertexV1beta1FileSearchResultStep(typing.TypedDict, total=False): ... @typing.type_check_only -class GenaiVertexV1beta1Function(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Function(typing.TypedDict, total=False): description: str name: str parameters: GenaiVertexV1beta1Value @typing.type_check_only -class GenaiVertexV1beta1FunctionCallContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1FunctionCallContent(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1Struct name: str @typing.type_check_only -class GenaiVertexV1beta1FunctionCallDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1FunctionCallDelta(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1Struct name: str @typing.type_check_only -class GenaiVertexV1beta1FunctionCallStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1FunctionCallStep(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1Struct name: str @typing.type_check_only -class GenaiVertexV1beta1FunctionResultContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1FunctionResultContent(typing.TypedDict, total=False): contentList: GenaiVertexV1beta1FunctionResultSubcontentList isError: bool name: str @@ -568,108 +640,98 @@ class GenaiVertexV1beta1FunctionResultContent(typing_extensions.TypedDict, total structResult: GenaiVertexV1beta1Struct @typing.type_check_only -class GenaiVertexV1beta1FunctionResultDelta(typing_extensions.TypedDict, total=False): - contentList: GenaiVertexV1beta1ContentList +class GenaiVertexV1beta1FunctionResultDelta(typing.TypedDict, total=False): isError: bool name: str - stringResult: str - structResult: GenaiVertexV1beta1Struct + result: GenaiVertexV1beta1Value @typing.type_check_only -class GenaiVertexV1beta1FunctionResultStep(typing_extensions.TypedDict, total=False): - contentList: GenaiVertexV1beta1ContentList +class GenaiVertexV1beta1FunctionResultStep(typing.TypedDict, total=False): isError: bool name: str - stringResult: str - structResult: GenaiVertexV1beta1Struct + result: GenaiVertexV1beta1Value @typing.type_check_only -class GenaiVertexV1beta1FunctionResultSubcontent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1FunctionResultSubcontent(typing.TypedDict, total=False): image: GenaiVertexV1beta1ImageContent text: GenaiVertexV1beta1TextContent @typing.type_check_only -class GenaiVertexV1beta1FunctionResultSubcontentList( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1FunctionResultSubcontentList(typing.TypedDict, total=False): contents: _list[GenaiVertexV1beta1FunctionResultSubcontent] @typing.type_check_only -class GenaiVertexV1beta1GenerationConfig(typing_extensions.TypedDict, total=False): - frequency_penalty: float +class GenaiVertexV1beta1GenerationConfig(typing.TypedDict, total=False): imageConfig: GenaiVertexV1beta1ImageConfig maxOutputTokens: int - presence_penalty: float seed: int speechConfig: _list[GenaiVertexV1beta1SpeechConfig] stopSequences: _list[str] temperature: float - thinkingLevel: typing_extensions.Literal[ + thinkingLevel: typing.Literal[ "THINKING_LEVEL_UNSPECIFIED", "THINKING_LEVEL_MINIMAL", "THINKING_LEVEL_LOW", "THINKING_LEVEL_MEDIUM", "THINKING_LEVEL_HIGH", ] - thinkingSummaries: typing_extensions.Literal[ + thinkingSummaries: typing.Literal[ "THINKING_SUMMARIES_UNSPECIFIED", "THINKING_SUMMARIES_AUTO", "THINKING_SUMMARIES_NONE", ] toolChoiceConfig: GenaiVertexV1beta1ToolChoiceConfig - toolChoiceMode: typing_extensions.Literal[ + toolChoiceMode: typing.Literal[ "TOOL_CHOICE_TYPE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" ] topP: float + transcriptionConfig: GenaiVertexV1beta1TranscriptionConfig + videoConfig: GenaiVertexV1beta1VideoConfig @typing.type_check_only -class GenaiVertexV1beta1GoogleMaps(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleMaps(typing.TypedDict, total=False): enableWidget: bool latitude: float longitude: float @typing.type_check_only -class GenaiVertexV1beta1GoogleMapsCallContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleMapsCallContent(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments @typing.type_check_only class GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queries: _list[str] @typing.type_check_only -class GenaiVertexV1beta1GoogleMapsCallDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleMapsCallDelta(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments @typing.type_check_only -class GenaiVertexV1beta1GoogleMapsCallStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleMapsCallStep(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments @typing.type_check_only class GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queries: _list[str] @typing.type_check_only -class GenaiVertexV1beta1GoogleMapsResultContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1GoogleMapsResultContent(typing.TypedDict, total=False): result: _list[GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult] @typing.type_check_only class GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): places: _list[GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces] widgetContextToken: str @typing.type_check_only class GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str placeId: str @@ -677,16 +739,16 @@ class GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces( url: str @typing.type_check_only -class GenaiVertexV1beta1GoogleMapsResultDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleMapsResultDelta(typing.TypedDict, total=False): result: _list[GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult] @typing.type_check_only -class GenaiVertexV1beta1GoogleMapsResultStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleMapsResultStep(typing.TypedDict, total=False): result: _list[GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem] @typing.type_check_only class GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): places: _list[ GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces @@ -695,7 +757,7 @@ class GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem( @typing.type_check_only class GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str placeId: str @@ -703,9 +765,9 @@ class GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResult url: str @typing.type_check_only -class GenaiVertexV1beta1GoogleSearch(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleSearch(typing.TypedDict, total=False): searchTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_TYPE_UNSPECIFIED", "SEARCH_TYPE_WEB_SEARCH", "SEARCH_TYPE_IMAGE_SEARCH", @@ -714,11 +776,9 @@ class GenaiVertexV1beta1GoogleSearch(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GenaiVertexV1beta1GoogleSearchCallContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1GoogleSearchCallContent(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments - searchType: typing_extensions.Literal[ + searchType: typing.Literal[ "SEARCH_TYPE_UNSPECIFIED", "SEARCH_TYPE_WEB_SEARCH", "SEARCH_TYPE_IMAGE_SEARCH", @@ -727,18 +787,18 @@ class GenaiVertexV1beta1GoogleSearchCallContent( @typing.type_check_only class GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queries: _list[str] @typing.type_check_only -class GenaiVertexV1beta1GoogleSearchCallDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleSearchCallDelta(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments @typing.type_check_only -class GenaiVertexV1beta1GoogleSearchCallStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1GoogleSearchCallStep(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments - searchType: typing_extensions.Literal[ + searchType: typing.Literal[ "SEARCH_TYPE_UNSPECIFIED", "SEARCH_TYPE_WEB_SEARCH", "SEARCH_TYPE_IMAGE_SEARCH", @@ -747,71 +807,55 @@ class GenaiVertexV1beta1GoogleSearchCallStep(typing_extensions.TypedDict, total= @typing.type_check_only class GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queries: _list[str] @typing.type_check_only -class GenaiVertexV1beta1GoogleSearchResultContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1GoogleSearchResultContent(typing.TypedDict, total=False): isError: bool result: _list[GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult] @typing.type_check_only class GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchSuggestions: str @typing.type_check_only -class GenaiVertexV1beta1GoogleSearchResultDelta( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1GoogleSearchResultDelta(typing.TypedDict, total=False): isError: bool result: _list[GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult] @typing.type_check_only -class GenaiVertexV1beta1GoogleSearchResultStep( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1GoogleSearchResultStep(typing.TypedDict, total=False): isError: bool result: _list[GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem] @typing.type_check_only class GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchSuggestions: str @typing.type_check_only -class GenaiVertexV1beta1ImageConfig(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ImageConfig(typing.TypedDict, total=False): aspectRatio: str imageSize: str @typing.type_check_only -class GenaiVertexV1beta1ImageContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ImageContent(typing.TypedDict, total=False): data: str - mimeType: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", - "TYPE_PNG", - "TYPE_JPEG", - "TYPE_WEBP", - "TYPE_HEIC", - "TYPE_HEIF", - "TYPE_GIF", - "TYPE_BMP", - "TYPE_TIFF", - ] - resolution: typing_extensions.Literal[ + mimeTypeString: str + resolution: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "ULTRA_HIGH" ] uri: str @typing.type_check_only -class GenaiVertexV1beta1ImageDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ImageDelta(typing.TypedDict, total=False): data: str - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PNG", "TYPE_JPEG", @@ -822,14 +866,14 @@ class GenaiVertexV1beta1ImageDelta(typing_extensions.TypedDict, total=False): "TYPE_BMP", "TYPE_TIFF", ] - resolution: typing_extensions.Literal[ + resolution: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "ULTRA_HIGH" ] uri: str @typing.type_check_only -class GenaiVertexV1beta1ImageResponseFormat(typing_extensions.TypedDict, total=False): - aspectRatio: typing_extensions.Literal[ +class GenaiVertexV1beta1ImageResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ "ASPECT_RATIO_UNSPECIFIED", "ASPECT_RATIO_ONE_BY_ONE", "ASPECT_RATIO_TWO_BY_THREE", @@ -846,25 +890,28 @@ class GenaiVertexV1beta1ImageResponseFormat(typing_extensions.TypedDict, total=F "ASPECT_RATIO_ONE_BY_FOUR", "ASPECT_RATIO_FOUR_BY_ONE", ] - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - imageSize: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + imageSize: typing.Literal[ "IMAGE_SIZE_UNSPECIFIED", "IMAGE_SIZE_FIVE_TWELVE", "IMAGE_SIZE_ONE_K", "IMAGE_SIZE_TWO_K", "IMAGE_SIZE_FOUR_K", ] - mimeType: typing_extensions.Literal["TYPE_UNSPECIFIED", "TYPE_JPEG"] + mimeType: typing.Literal["TYPE_UNSPECIFIED", "TYPE_JPEG"] @typing.type_check_only -class GenaiVertexV1beta1Interaction(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Interaction(typing.TypedDict, total=False): agentInteraction: GenaiVertexV1beta1AgentInteraction content: GenaiVertexV1beta1Content contentList: GenaiVertexV1beta1ContentList created: str envId: str environmentId: str + errors: _list[GenaiVertexV1beta1Error] id: str + labels: dict[str, typing.Any] + localEnvironment: GenaiVertexV1beta1LocalEnvironmentConfig modelInteraction: GenaiVertexV1beta1ModelInteraction outputs: _list[GenaiVertexV1beta1Content] previousInteractionId: str @@ -874,7 +921,7 @@ class GenaiVertexV1beta1Interaction(typing_extensions.TypedDict, total=False): responseFormatSingleton: GenaiVertexV1beta1ResponseFormat responseMimeType: str responseModalities: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESPONSE_MODALITY_UNSPECIFIED", "TEXT", "IMAGE", @@ -884,7 +931,15 @@ class GenaiVertexV1beta1Interaction(typing_extensions.TypedDict, total=False): ] ] role: str - status: typing_extensions.Literal[ + safetySettings: _list[GenaiVertexV1beta1SafetySetting] + serviceTier: typing.Literal[ + "SERVICE_TIER_UNSPECIFIED", + "SERVICE_TIER_FLEX", + "SERVICE_TIER_STANDARD", + "SERVICE_TIER_PRIORITY", + "SERVICE_TIER_DEFERRED", + ] + status: typing.Literal[ "UNSPECIFIED", "IN_PROGRESS", "REQUIRES_ACTION", @@ -893,6 +948,7 @@ class GenaiVertexV1beta1Interaction(typing_extensions.TypedDict, total=False): "CANCELLED", "INCOMPLETE", "BUDGET_EXCEEDED", + "QUEUED", ] stepList: GenaiVertexV1beta1StepList steps: _list[GenaiVertexV1beta1Step] @@ -904,33 +960,25 @@ class GenaiVertexV1beta1Interaction(typing_extensions.TypedDict, total=False): usage: GenaiVertexV1beta1InteractionUsage @typing.type_check_only -class GenaiVertexV1beta1InteractionCompleteEvent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1InteractionCompleteEvent(typing.TypedDict, total=False): interaction: GenaiVertexV1beta1Interaction @typing.type_check_only -class GenaiVertexV1beta1InteractionCompletedSseEvent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1InteractionCompletedSseEvent(typing.TypedDict, total=False): interaction: GenaiVertexV1beta1Interaction @typing.type_check_only -class GenaiVertexV1beta1InteractionCreatedSseEvent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1InteractionCreatedSseEvent(typing.TypedDict, total=False): interaction: GenaiVertexV1beta1Interaction @typing.type_check_only -class GenaiVertexV1beta1InteractionStartEvent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1InteractionStartEvent(typing.TypedDict, total=False): interaction: GenaiVertexV1beta1Interaction @typing.type_check_only -class GenaiVertexV1beta1InteractionStatusUpdate( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1InteractionStatusUpdate(typing.TypedDict, total=False): interactionId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "IN_PROGRESS", "REQUIRES_ACTION", @@ -939,12 +987,11 @@ class GenaiVertexV1beta1InteractionStatusUpdate( "CANCELLED", "INCOMPLETE", "BUDGET_EXCEEDED", + "QUEUED", ] @typing.type_check_only -class GenaiVertexV1beta1InteractionStreamingEvent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1InteractionStreamingEvent(typing.TypedDict, total=False): contentDelta: GenaiVertexV1beta1ContentDelta contentStart: GenaiVertexV1beta1ContentStart contentStop: GenaiVertexV1beta1ContentStop @@ -955,13 +1002,12 @@ class GenaiVertexV1beta1InteractionStreamingEvent( interactionCreatedEvent: GenaiVertexV1beta1InteractionCreatedSseEvent interactionStartEvent: GenaiVertexV1beta1InteractionStartEvent interactionStatusUpdate: GenaiVertexV1beta1InteractionStatusUpdate - metadata: GenaiVertexV1beta1StreamMetadata stepDelta: GenaiVertexV1beta1StepDelta stepStart: GenaiVertexV1beta1StepStart stepStop: GenaiVertexV1beta1StepStop @typing.type_check_only -class GenaiVertexV1beta1InteractionUsage(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1InteractionUsage(typing.TypedDict, total=False): cachedTokensByModality: _list[GenaiVertexV1beta1InteractionUsageModalityTokens] groundingToolCount: _list[GenaiVertexV1beta1InteractionUsageGroundingToolCount] inputTokensByModality: _list[GenaiVertexV1beta1InteractionUsageModalityTokens] @@ -976,59 +1022,54 @@ class GenaiVertexV1beta1InteractionUsage(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GenaiVertexV1beta1InteractionUsageGroundingToolCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: int - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_SEARCH", "GOOGLE_MAPS", "RETRIEVAL" ] @typing.type_check_only -class GenaiVertexV1beta1InteractionUsageModalityTokens( - typing_extensions.TypedDict, total=False -): - modality: typing_extensions.Literal[ +class GenaiVertexV1beta1InteractionUsageModalityTokens(typing.TypedDict, total=False): + modality: typing.Literal[ "RESPONSE_MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "AUDIO", "VIDEO", "DOCUMENT" ] tokens: int @typing.type_check_only -class GenaiVertexV1beta1ListValue(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ListValue(typing.TypedDict, total=False): values: _list[GenaiVertexV1beta1Value] @typing.type_check_only -class GenaiVertexV1beta1McpServer(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1LocalEnvironmentConfig(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GenaiVertexV1beta1McpServer(typing.TypedDict, total=False): allowedTools: _list[GenaiVertexV1beta1AllowedTools] headers: dict[str, typing.Any] name: str url: str @typing.type_check_only -class GenaiVertexV1beta1McpServerToolCallContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1McpServerToolCallContent(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1Struct name: str serverName: str @typing.type_check_only -class GenaiVertexV1beta1McpServerToolCallDelta( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1McpServerToolCallDelta(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1Struct name: str serverName: str @typing.type_check_only -class GenaiVertexV1beta1McpServerToolCallStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1McpServerToolCallStep(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1Struct name: str serverName: str @typing.type_check_only -class GenaiVertexV1beta1McpServerToolResultContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1McpServerToolResultContent(typing.TypedDict, total=False): contentList: GenaiVertexV1beta1FunctionResultSubcontentList name: str serverName: str @@ -1036,116 +1077,103 @@ class GenaiVertexV1beta1McpServerToolResultContent( structResult: GenaiVertexV1beta1Struct @typing.type_check_only -class GenaiVertexV1beta1McpServerToolResultDelta( - typing_extensions.TypedDict, total=False -): - contentList: GenaiVertexV1beta1ContentList +class GenaiVertexV1beta1McpServerToolResultDelta(typing.TypedDict, total=False): name: str + result: GenaiVertexV1beta1Value serverName: str - stringResult: str - structResult: GenaiVertexV1beta1Struct @typing.type_check_only -class GenaiVertexV1beta1McpServerToolResultStep( - typing_extensions.TypedDict, total=False -): - contentList: GenaiVertexV1beta1ContentList +class GenaiVertexV1beta1McpServerToolResultStep(typing.TypedDict, total=False): name: str + result: GenaiVertexV1beta1Value serverName: str - stringResult: str - structResult: GenaiVertexV1beta1Struct @typing.type_check_only -class GenaiVertexV1beta1ModelInteraction(typing_extensions.TypedDict, total=False): - cached_content: str +class GenaiVertexV1beta1ModelInteraction(typing.TypedDict, total=False): generationConfig: GenaiVertexV1beta1GenerationConfig model: str @typing.type_check_only -class GenaiVertexV1beta1ModelOutputStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ModelOutputStep(typing.TypedDict, total=False): content: _list[GenaiVertexV1beta1Content] + error: GoogleRpcStatus @typing.type_check_only -class GenaiVertexV1beta1ParallelAISearchConfig( - typing_extensions.TypedDict, total=False -): - api_key: str - custom_config: dict[str, typing.Any] +class GenaiVertexV1beta1ParallelAISearchConfig(typing.TypedDict, total=False): + apiKey: str + customConfig: dict[str, typing.Any] @typing.type_check_only -class GenaiVertexV1beta1PlaceCitation(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1PlaceCitation(typing.TypedDict, total=False): name: str placeId: str reviewSnippets: _list[GenaiVertexV1beta1ReviewSnippet] url: str @typing.type_check_only -class GenaiVertexV1beta1RagStoreConfig(typing_extensions.TypedDict, total=False): - rag_resources: _list[GenaiVertexV1beta1RagStoreConfigRagResource] - rag_retrieval_config: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig - similarity_top_k: int - vector_distance_threshold: float +class GenaiVertexV1beta1RagStoreConfig(typing.TypedDict, total=False): + ragResources: _list[GenaiVertexV1beta1RagStoreConfigRagResource] + ragRetrievalConfig: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig + similarityTopK: int + vectorDistanceThreshold: float @typing.type_check_only -class GenaiVertexV1beta1RagStoreConfigRagResource( - typing_extensions.TypedDict, total=False -): - rag_corpus: str - rag_file_ids: _list[str] +class GenaiVertexV1beta1RagStoreConfigRagResource(typing.TypedDict, total=False): + ragCorpus: str + ragFileIds: _list[str] @typing.type_check_only -class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig(typing.TypedDict, total=False): filter: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigFilter - hybrid_search: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigHybridSearch + hybridSearch: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigHybridSearch ranking: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRanking - top_k: int + topK: int @typing.type_check_only class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - metadata_filter: str - vector_distance_threshold: float - vector_similarity_threshold: float + metadataFilter: str + vectorDistanceThreshold: float + vectorSimilarityThreshold: float @typing.type_check_only class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigHybridSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alpha: float @typing.type_check_only class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRanking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - rank_service: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService + rankService: GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService @typing.type_check_only class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - model_name: str + modelName: str @typing.type_check_only -class GenaiVertexV1beta1ResponseFormat(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ResponseFormat(typing.TypedDict, total=False): audio: GenaiVertexV1beta1AudioResponseFormat image: GenaiVertexV1beta1ImageResponseFormat structValue: GenaiVertexV1beta1Struct text: GenaiVertexV1beta1TextResponseFormat + video: GenaiVertexV1beta1VideoResponseFormat @typing.type_check_only -class GenaiVertexV1beta1ResponseFormatList(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ResponseFormatList(typing.TypedDict, total=False): responseFormats: _list[GenaiVertexV1beta1ResponseFormat] @typing.type_check_only -class GenaiVertexV1beta1Retrieval(typing_extensions.TypedDict, total=False): - exa_ai_search_config: GenaiVertexV1beta1ExaAISearchConfig - parallel_ai_search_config: GenaiVertexV1beta1ParallelAISearchConfig - rag_store_config: GenaiVertexV1beta1RagStoreConfig +class GenaiVertexV1beta1Retrieval(typing.TypedDict, total=False): + exaAiSearchConfig: GenaiVertexV1beta1ExaAISearchConfig + parallelAiSearchConfig: GenaiVertexV1beta1ParallelAISearchConfig + ragStoreConfig: GenaiVertexV1beta1RagStoreConfig retrievalTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "RETRIEVAL_TYPE_UNSPECIFIED", "RETRIEVAL_TYPE_VERTEX_AI_SEARCH", "RETRIEVAL_TYPE_RAG_STORE", @@ -1153,42 +1181,105 @@ class GenaiVertexV1beta1Retrieval(typing_extensions.TypedDict, total=False): "RETRIEVAL_TYPE_PARALLEL_AI_SEARCH", ] ] - vertex_ai_search_config: GenaiVertexV1beta1VertexAISearchConfig + vertexAiSearchConfig: GenaiVertexV1beta1VertexAISearchConfig + +@typing.type_check_only +class GenaiVertexV1beta1RetrievalCallDelta(typing.TypedDict, total=False): + arguments: GenaiVertexV1beta1RetrievalCallStepRetrievalStepArguments + retrievalType: typing.Literal[ + "RETRIEVAL_TYPE_UNSPECIFIED", + "RETRIEVAL_TYPE_VERTEX_AI_SEARCH", + "RETRIEVAL_TYPE_RAG_STORE", + "RETRIEVAL_TYPE_EXA_AI_SEARCH", + "RETRIEVAL_TYPE_PARALLEL_AI_SEARCH", + ] + +@typing.type_check_only +class GenaiVertexV1beta1RetrievalCallStep(typing.TypedDict, total=False): + arguments: GenaiVertexV1beta1RetrievalCallStepRetrievalStepArguments + retrievalType: typing.Literal[ + "RETRIEVAL_TYPE_UNSPECIFIED", + "RETRIEVAL_TYPE_VERTEX_AI_SEARCH", + "RETRIEVAL_TYPE_RAG_STORE", + "RETRIEVAL_TYPE_EXA_AI_SEARCH", + "RETRIEVAL_TYPE_PARALLEL_AI_SEARCH", + ] + +@typing.type_check_only +class GenaiVertexV1beta1RetrievalCallStepRetrievalStepArguments( + typing.TypedDict, total=False +): + queries: _list[str] + +@typing.type_check_only +class GenaiVertexV1beta1RetrievalResultDelta(typing.TypedDict, total=False): + isError: bool @typing.type_check_only -class GenaiVertexV1beta1ReviewSnippet(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1RetrievalResultStep(typing.TypedDict, total=False): + isError: bool + +@typing.type_check_only +class GenaiVertexV1beta1ReviewSnippet(typing.TypedDict, total=False): reviewId: str title: str url: str @typing.type_check_only -class GenaiVertexV1beta1ServerToolCallDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1SafetySetting(typing.TypedDict, total=False): + method: typing.Literal["HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY"] + threshold: typing.Literal[ + "HARM_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_ONLY_HIGH", + "BLOCK_NONE", + "OFF", + ] + type: typing.Literal[ + "HARM_CATEGORY_UNSPECIFIED", + "HARM_CATEGORY_HATE_SPEECH", + "HARM_CATEGORY_DANGEROUS_CONTENT", + "HARM_CATEGORY_HARASSMENT", + "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_CIVIC_INTEGRITY", + "HARM_CATEGORY_IMAGE_HATE", + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", + "HARM_CATEGORY_IMAGE_HARASSMENT", + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK", + ] + +@typing.type_check_only +class GenaiVertexV1beta1ServerToolCallDelta(typing.TypedDict, total=False): codeExecutionCall: GenaiVertexV1beta1CodeExecutionCallDelta fileSearchCall: GenaiVertexV1beta1FileSearchCallDelta googleMapsCall: GenaiVertexV1beta1GoogleMapsCallDelta googleSearchCall: GenaiVertexV1beta1GoogleSearchCallDelta mcpServerToolCall: GenaiVertexV1beta1McpServerToolCallDelta + retrievalCall: GenaiVertexV1beta1RetrievalCallDelta signature: str urlContextCall: GenaiVertexV1beta1UrlContextCallDelta @typing.type_check_only -class GenaiVertexV1beta1ServerToolResultDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ServerToolResultDelta(typing.TypedDict, total=False): codeExecutionResult: GenaiVertexV1beta1CodeExecutionResultDelta fileSearchResult: GenaiVertexV1beta1FileSearchResultDelta googleMapsResult: GenaiVertexV1beta1GoogleMapsResultDelta googleSearchResult: GenaiVertexV1beta1GoogleSearchResultDelta mcpServerToolResult: GenaiVertexV1beta1McpServerToolResultDelta + retrievalResult: GenaiVertexV1beta1RetrievalResultDelta signature: str urlContextResult: GenaiVertexV1beta1UrlContextResultDelta @typing.type_check_only -class GenaiVertexV1beta1SpeechConfig(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1SpeechConfig(typing.TypedDict, total=False): language: str speaker: str voice: str @typing.type_check_only -class GenaiVertexV1beta1Step(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Step(typing.TypedDict, total=False): modelOutput: GenaiVertexV1beta1ModelOutputStep thought: GenaiVertexV1beta1ThoughtStep toolCall: GenaiVertexV1beta1ToolCallStep @@ -1196,12 +1287,12 @@ class GenaiVertexV1beta1Step(typing_extensions.TypedDict, total=False): userInput: GenaiVertexV1beta1UserInputStep @typing.type_check_only -class GenaiVertexV1beta1StepDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1StepDelta(typing.TypedDict, total=False): delta: GenaiVertexV1beta1StepDeltaData index: int @typing.type_check_only -class GenaiVertexV1beta1StepDeltaData(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1StepDeltaData(typing.TypedDict, total=False): argumentsDelta: GenaiVertexV1beta1ArgumentsDelta audio: GenaiVertexV1beta1AudioDelta document: GenaiVertexV1beta1DocumentDelta @@ -1216,79 +1307,78 @@ class GenaiVertexV1beta1StepDeltaData(typing_extensions.TypedDict, total=False): video: GenaiVertexV1beta1VideoDelta @typing.type_check_only -class GenaiVertexV1beta1StepList(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1StepList(typing.TypedDict, total=False): steps: _list[GenaiVertexV1beta1Step] @typing.type_check_only -class GenaiVertexV1beta1StepStart(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1StepStart(typing.TypedDict, total=False): index: int step: GenaiVertexV1beta1Step @typing.type_check_only -class GenaiVertexV1beta1StepStop(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1StepStop(typing.TypedDict, total=False): index: int + stepUsage: GenaiVertexV1beta1InteractionUsage + usage: GenaiVertexV1beta1InteractionUsage @typing.type_check_only -class GenaiVertexV1beta1StreamMetadata(typing_extensions.TypedDict, total=False): - totalUsage: GenaiVertexV1beta1InteractionUsage - -@typing.type_check_only -class GenaiVertexV1beta1Struct(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Struct(typing.TypedDict, total=False): fields: _list[GenaiVertexV1beta1Field] @typing.type_check_only -class GenaiVertexV1beta1TextAnnotationDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1TextAnnotationDelta(typing.TypedDict, total=False): annotations: _list[GenaiVertexV1beta1TextContentAnnotation] @typing.type_check_only -class GenaiVertexV1beta1TextContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1TextContent(typing.TypedDict, total=False): annotations: _list[GenaiVertexV1beta1TextContentAnnotation] text: str @typing.type_check_only -class GenaiVertexV1beta1TextContentAnnotation(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1TextContentAnnotation(typing.TypedDict, total=False): endIndex: int fileCitation: GenaiVertexV1beta1FileCitation placeCitation: GenaiVertexV1beta1PlaceCitation startIndex: int urlCitation: GenaiVertexV1beta1UrlCitation + wordInfo: GenaiVertexV1beta1WordInfo @typing.type_check_only -class GenaiVertexV1beta1TextDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1TextDelta(typing.TypedDict, total=False): text: str @typing.type_check_only -class GenaiVertexV1beta1TextResponseFormat(typing_extensions.TypedDict, total=False): - mimeType: typing_extensions.Literal[ +class GenaiVertexV1beta1TextResponseFormat(typing.TypedDict, total=False): + mimeType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_APPLICATION_JSON", "TYPE_TEXT_PLAIN" ] schema: GenaiVertexV1beta1Struct @typing.type_check_only -class GenaiVertexV1beta1ThoughtContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ThoughtContent(typing.TypedDict, total=False): signature: str summary: _list[GenaiVertexV1beta1ThoughtSummaryContent] @typing.type_check_only -class GenaiVertexV1beta1ThoughtSignatureDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ThoughtSignatureDelta(typing.TypedDict, total=False): signature: str @typing.type_check_only -class GenaiVertexV1beta1ThoughtStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ThoughtStep(typing.TypedDict, total=False): signature: str summary: _list[GenaiVertexV1beta1Content] @typing.type_check_only -class GenaiVertexV1beta1ThoughtSummaryContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ThoughtSummaryContent(typing.TypedDict, total=False): image: GenaiVertexV1beta1ImageContent text: GenaiVertexV1beta1TextContent @typing.type_check_only -class GenaiVertexV1beta1ThoughtSummaryDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ThoughtSummaryDelta(typing.TypedDict, total=False): content: GenaiVertexV1beta1Content @typing.type_check_only -class GenaiVertexV1beta1Tool(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Tool(typing.TypedDict, total=False): codeExecution: GenaiVertexV1beta1CodeExecution computerUse: GenaiVertexV1beta1ComputerUse fileSearch: GenaiVertexV1beta1FileSearch @@ -1300,7 +1390,7 @@ class GenaiVertexV1beta1Tool(typing_extensions.TypedDict, total=False): urlContext: GenaiVertexV1beta1UrlContext @typing.type_check_only -class GenaiVertexV1beta1ToolCallContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ToolCallContent(typing.TypedDict, total=False): codeExecutionCall: GenaiVertexV1beta1CodeExecutionCallContent fileSearchCall: GenaiVertexV1beta1FileSearchCallContent functionCall: GenaiVertexV1beta1FunctionCallContent @@ -1312,7 +1402,7 @@ class GenaiVertexV1beta1ToolCallContent(typing_extensions.TypedDict, total=False urlContextCall: GenaiVertexV1beta1UrlContextCallContent @typing.type_check_only -class GenaiVertexV1beta1ToolCallDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ToolCallDelta(typing.TypedDict, total=False): codeExecutionCall: GenaiVertexV1beta1CodeExecutionCallDelta fileSearchCall: GenaiVertexV1beta1FileSearchCallDelta functionCall: GenaiVertexV1beta1FunctionCallDelta @@ -1324,7 +1414,7 @@ class GenaiVertexV1beta1ToolCallDelta(typing_extensions.TypedDict, total=False): urlContextCall: GenaiVertexV1beta1UrlContextCallDelta @typing.type_check_only -class GenaiVertexV1beta1ToolCallStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ToolCallStep(typing.TypedDict, total=False): codeExecutionCall: GenaiVertexV1beta1CodeExecutionCallStep fileSearchCall: GenaiVertexV1beta1FileSearchCallStep functionCall: GenaiVertexV1beta1FunctionCallStep @@ -1332,15 +1422,16 @@ class GenaiVertexV1beta1ToolCallStep(typing_extensions.TypedDict, total=False): googleSearchCall: GenaiVertexV1beta1GoogleSearchCallStep id: str mcpServerToolCall: GenaiVertexV1beta1McpServerToolCallStep + retrievalCall: GenaiVertexV1beta1RetrievalCallStep signature: str urlContextCall: GenaiVertexV1beta1UrlContextCallStep @typing.type_check_only -class GenaiVertexV1beta1ToolChoiceConfig(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ToolChoiceConfig(typing.TypedDict, total=False): allowedTools: GenaiVertexV1beta1AllowedTools @typing.type_check_only -class GenaiVertexV1beta1ToolResultContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ToolResultContent(typing.TypedDict, total=False): callId: str codeExecutionResult: GenaiVertexV1beta1CodeExecutionResultContent fileSearchResult: GenaiVertexV1beta1FileSearchResultContent @@ -1352,7 +1443,7 @@ class GenaiVertexV1beta1ToolResultContent(typing_extensions.TypedDict, total=Fal urlContextResult: GenaiVertexV1beta1UrlContextResultContent @typing.type_check_only -class GenaiVertexV1beta1ToolResultDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ToolResultDelta(typing.TypedDict, total=False): callId: str codeExecutionResult: GenaiVertexV1beta1CodeExecutionResultDelta fileSearchResult: GenaiVertexV1beta1FileSearchResultDelta @@ -1364,7 +1455,7 @@ class GenaiVertexV1beta1ToolResultDelta(typing_extensions.TypedDict, total=False urlContextResult: GenaiVertexV1beta1UrlContextResultDelta @typing.type_check_only -class GenaiVertexV1beta1ToolResultStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1ToolResultStep(typing.TypedDict, total=False): callId: str codeExecutionResult: GenaiVertexV1beta1CodeExecutionResultStep fileSearchResult: GenaiVertexV1beta1FileSearchResultStep @@ -1372,129 +1463,136 @@ class GenaiVertexV1beta1ToolResultStep(typing_extensions.TypedDict, total=False) googleMapsResult: GenaiVertexV1beta1GoogleMapsResultStep googleSearchResult: GenaiVertexV1beta1GoogleSearchResultStep mcpServerToolResult: GenaiVertexV1beta1McpServerToolResultStep + retrievalResult: GenaiVertexV1beta1RetrievalResultStep signature: str urlContextResult: GenaiVertexV1beta1UrlContextResultStep @typing.type_check_only -class GenaiVertexV1beta1Turn(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1TranscriptionConfig(typing.TypedDict, total=False): + adaptationPhrases: _list[str] + customVocabulary: _list[str] + diarizationMode: str + languageCodes: _list[str] + timestampGranularities: _list[str] + +@typing.type_check_only +class GenaiVertexV1beta1Turn(typing.TypedDict, total=False): contentList: GenaiVertexV1beta1ContentList contentString: str role: str @typing.type_check_only -class GenaiVertexV1beta1TurnList(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1TurnList(typing.TypedDict, total=False): turns: _list[GenaiVertexV1beta1Turn] @typing.type_check_only -class GenaiVertexV1beta1UrlCitation(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1UrlCitation(typing.TypedDict, total=False): title: str url: str @typing.type_check_only -class GenaiVertexV1beta1UrlContext(typing_extensions.TypedDict, total=False): ... +class GenaiVertexV1beta1UrlContext(typing.TypedDict, total=False): ... @typing.type_check_only -class GenaiVertexV1beta1UrlContextCallContent(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1UrlContextCallContent(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments @typing.type_check_only class GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): urls: _list[str] @typing.type_check_only -class GenaiVertexV1beta1UrlContextCallDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1UrlContextCallDelta(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments @typing.type_check_only -class GenaiVertexV1beta1UrlContextCallStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1UrlContextCallStep(typing.TypedDict, total=False): arguments: GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments @typing.type_check_only class GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): urls: _list[str] @typing.type_check_only -class GenaiVertexV1beta1UrlContextResultContent( - typing_extensions.TypedDict, total=False -): +class GenaiVertexV1beta1UrlContextResultContent(typing.TypedDict, total=False): isError: bool result: _list[GenaiVertexV1beta1UrlContextResultContentUrlContextResult] @typing.type_check_only class GenaiVertexV1beta1UrlContextResultContentUrlContextResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "SUCCESS", "ERROR", "PAYWALL", "UNSAFE" ] url: str @typing.type_check_only -class GenaiVertexV1beta1UrlContextResultDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1UrlContextResultDelta(typing.TypedDict, total=False): isError: bool result: _list[GenaiVertexV1beta1UrlContextResultContentUrlContextResult] @typing.type_check_only -class GenaiVertexV1beta1UrlContextResultStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1UrlContextResultStep(typing.TypedDict, total=False): isError: bool result: _list[GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem] @typing.type_check_only class GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "SUCCESS", "ERROR", "PAYWALL", "UNSAFE" ] url: str @typing.type_check_only -class GenaiVertexV1beta1UserInputStep(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1UserInputStep(typing.TypedDict, total=False): contentList: GenaiVertexV1beta1ContentList contentString: str @typing.type_check_only -class GenaiVertexV1beta1Value(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1Value(typing.TypedDict, total=False): boolValue: bool + contentValue: GenaiVertexV1beta1Content listValue: GenaiVertexV1beta1ListValue - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] numberValue: float stringValue: str structValue: GenaiVertexV1beta1Struct @typing.type_check_only -class GenaiVertexV1beta1VertexAISearchConfig(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1VertexAISearchConfig(typing.TypedDict, total=False): datastores: _list[str] engine: str @typing.type_check_only -class GenaiVertexV1beta1VideoContent(typing_extensions.TypedDict, total=False): - data: str - mimeType: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", - "TYPE_MP4", - "TYPE_MPEG", - "TYPE_MPG", - "TYPE_MOV", - "TYPE_AVI", - "TYPE_X_FLV", - "TYPE_WEBM", - "TYPE_WMV", - "TYPE_3GPP", +class GenaiVertexV1beta1VideoConfig(typing.TypedDict, total=False): + task: typing.Literal[ + "TASK_UNSPECIFIED", + "TEXT_TO_VIDEO", + "IMAGE_TO_VIDEO", + "REFERENCE_TO_VIDEO", + "EDIT", ] - resolution: typing_extensions.Literal[ + +@typing.type_check_only +class GenaiVertexV1beta1VideoContent(typing.TypedDict, total=False): + data: str + mimeTypeString: str + resolution: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "ULTRA_HIGH" ] uri: str @typing.type_check_only -class GenaiVertexV1beta1VideoDelta(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1VideoDelta(typing.TypedDict, total=False): data: str - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_MP4", "TYPE_MPEG", @@ -1506,27 +1604,59 @@ class GenaiVertexV1beta1VideoDelta(typing_extensions.TypedDict, total=False): "TYPE_WMV", "TYPE_3GPP", ] - resolution: typing_extensions.Literal[ + resolution: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "ULTRA_HIGH" ] uri: str @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GenaiVertexV1beta1VideoResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ + "ASPECT_RATIO_UNSPECIFIED", + "ASPECT_RATIO_SIXTEEN_BY_NINE", + "ASPECT_RATIO_NINE_BY_SIXTEEN", + ] + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + duration: str + gcsUri: str + +@typing.type_check_only +class GenaiVertexV1beta1WordInfo(typing.TypedDict, total=False): + endOffset: str + speaker: str + startOffset: str + text: str + +@typing.type_check_only +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleCloudAiplatformV1beta1A2aTask(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1A2aPart(typing.TypedDict, total=False): + data: dict[str, typing.Any] + filename: str + mediaType: str + metadata: dict[str, typing.Any] + raw: str + text: str + url: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTask(typing.TypedDict, total=False): + appId: str + artifacts: _list[GoogleCloudAiplatformV1beta1A2aTaskArtifact] contextId: str createTime: str expireTime: str + generation: str + history: _list[GoogleCloudAiplatformV1beta1A2aTaskMessage] metadata: dict[str, typing.Any] name: str nextEventSequenceNumber: str output: GoogleCloudAiplatformV1beta1TaskOutput - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUBMITTED", "WORKING", @@ -1538,31 +1668,110 @@ class GoogleCloudAiplatformV1beta1A2aTask(typing_extensions.TypedDict, total=Fal "AUTH_REQUIRED", "PAUSED", ] + status: GoogleCloudAiplatformV1beta1A2aTaskStatus statusDetails: GoogleCloudAiplatformV1beta1TaskStatusDetails ttl: str updateTime: str + userId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskArtifact(typing.TypedDict, total=False): + artifactId: str + description: str + displayName: str + extensions: _list[str] + metadata: dict[str, typing.Any] + parts: _list[GoogleCloudAiplatformV1beta1A2aPart] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskArtifactChange(typing.TypedDict, total=False): + append: bool + artifact: GoogleCloudAiplatformV1beta1A2aTaskArtifact + lastChunk: bool + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskEvent(typing.TypedDict, total=False): + createTime: str + eventData: GoogleCloudAiplatformV1beta1A2aTaskEventData + generation: str + metadata: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskEventData(typing.TypedDict, total=False): + artifactChange: GoogleCloudAiplatformV1beta1A2aTaskArtifactChange + historyAppend: GoogleCloudAiplatformV1beta1A2aTaskHistoryAppend + metadataChange: GoogleCloudAiplatformV1beta1A2aTaskMetadataChange + statusUpdate: GoogleCloudAiplatformV1beta1A2aTaskStatusUpdate + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskHistoryAppend(typing.TypedDict, total=False): + message: GoogleCloudAiplatformV1beta1A2aTaskMessage + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskMessage(typing.TypedDict, total=False): + extensions: _list[str] + messageId: str + metadata: dict[str, typing.Any] + parts: _list[GoogleCloudAiplatformV1beta1A2aPart] + referenceTaskIds: _list[str] + role: typing.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskMetadataChange(typing.TypedDict, total=False): + metadata: dict[str, typing.Any] + updateMask: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskStatus(typing.TypedDict, total=False): + message: GoogleCloudAiplatformV1beta1A2aTaskMessage + state: typing.Literal[ + "STATE_UNSPECIFIED", + "TASK_STATE_SUBMITTED", + "TASK_STATE_WORKING", + "TASK_STATE_COMPLETED", + "TASK_STATE_FAILED", + "TASK_STATE_CANCELED", + "TASK_STATE_INPUT_REQUIRED", + "TASK_STATE_REJECTED", + "TASK_STATE_AUTH_REQUIRED", + ] + timestamp: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1A2aTaskStatusUpdate(typing.TypedDict, total=False): + message: GoogleCloudAiplatformV1beta1A2aTaskMessage + state: typing.Literal[ + "STATE_UNSPECIFIED", + "TASK_STATE_SUBMITTED", + "TASK_STATE_WORKING", + "TASK_STATE_COMPLETED", + "TASK_STATE_FAILED", + "TASK_STATE_CANCELED", + "TASK_STATE_INPUT_REQUIRED", + "TASK_STATE_REJECTED", + "TASK_STATE_AUTH_REQUIRED", + ] + timestamp: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): publisherModel: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ActivateOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1ActivateOnlineEvaluatorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ActiveLearningConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ActiveLearningConfig(typing.TypedDict, total=False): maxDataItemCount: str maxDataItemPercentage: int sampleConfig: GoogleCloudAiplatformV1beta1SampleConfig @@ -1570,46 +1779,46 @@ class GoogleCloudAiplatformV1beta1ActiveLearningConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifacts: _list[str] executions: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1AddContextChildrenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): childContexts: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1AddContextChildrenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1AddExecutionEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[GoogleCloudAiplatformV1beta1Event] @typing.type_check_only class GoogleCloudAiplatformV1beta1AddExecutionEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): measurement: GoogleCloudAiplatformV1beta1Measurement @typing.type_check_only -class GoogleCloudAiplatformV1beta1Agent(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Agent(typing.TypedDict, total=False): base_agent: str base_environment: typing.Any created: str @@ -1624,18 +1833,18 @@ class GoogleCloudAiplatformV1beta1Agent(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str logBuckets: _list[str] name: str observabilityBuckets: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1AgentConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1AgentConfig(typing.TypedDict, total=False): agentId: str agentType: str description: str @@ -1644,12 +1853,12 @@ class GoogleCloudAiplatformV1beta1AgentConfig(typing_extensions.TypedDict, total tools: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1beta1AgentData(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1AgentData(typing.TypedDict, total=False): agents: dict[str, typing.Any] turns: _list[GoogleCloudAiplatformV1beta1ConversationTurn] @typing.type_check_only -class GoogleCloudAiplatformV1beta1AgentEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1AgentEvent(typing.TypedDict, total=False): activeTools: _list[GoogleCloudAiplatformV1beta1Tool] author: str content: GoogleCloudAiplatformV1beta1Content @@ -1657,15 +1866,21 @@ class GoogleCloudAiplatformV1beta1AgentEvent(typing_extensions.TypedDict, total= stateDelta: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1AgentResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AgentResource(typing.TypedDict, total=False): agent: str - agentType: typing_extensions.Literal["AGENT_TYPE_UNSPECIFIED", "REASONING_ENGINE"] + agentFramework: typing.Literal["AGENT_FRAMEWORK_UNSPECIFIED", "ADK"] + agentType: typing.Literal[ + "AGENT_TYPE_UNSPECIFIED", + "REASONING_ENGINE", + "CLOUD_RUN_SERVICE", + "GKE_WORKLOAD", + "GCE_INSTANCE", + "AGENT_TYPE_OTHER", + ] location: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AgentTool(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1AgentTool(typing.TypedDict, total=False): headers: dict[str, typing.Any] name: str type: str @@ -1673,7 +1888,7 @@ class GoogleCloudAiplatformV1beta1AgentTool(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAggregates: _list[ GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate @@ -1683,13 +1898,21 @@ class GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentDisplayName: str agentResourceName: str - agentStatus: typing_extensions.Literal[ + agentStatus: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ACTIVE", "ENABLING", "DISABLED" ] + agentType: typing.Literal[ + "AGENT_TYPE_UNSPECIFIED", + "REASONING_ENGINE", + "CLOUD_RUN_SERVICE", + "GKE_WORKLOAD", + "GCE_INSTANCE", + "AGENT_TYPE_OTHER", + ] anomalousSessionsCount: int latestSessionTime: str location: str @@ -1698,17 +1921,13 @@ class GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregat totalSessionsCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1AggregationOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AggregationOutput(typing.TypedDict, total=False): aggregationResults: _list[GoogleCloudAiplatformV1beta1AggregationResult] dataset: GoogleCloudAiplatformV1beta1EvaluationDataset @typing.type_check_only -class GoogleCloudAiplatformV1beta1AggregationResult( - typing_extensions.TypedDict, total=False -): - aggregationMetric: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1AggregationResult(typing.TypedDict, total=False): + aggregationMetric: typing.Literal[ "AGGREGATION_METRIC_UNSPECIFIED", "AVERAGE", "MODE", @@ -1729,12 +1948,10 @@ class GoogleCloudAiplatformV1beta1AggregationResult( rougeMetricValue: GoogleCloudAiplatformV1beta1RougeMetricValue @typing.type_check_only -class GoogleCloudAiplatformV1beta1AnalyzedInvocation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AnalyzedInvocation(typing.TypedDict, total=False): assessment: GoogleCloudAiplatformV1beta1Assessment invocationId: str - invocationState: typing_extensions.Literal[ + invocationState: typing.Literal[ "INVOCATION_STATE_UNSPECIFIED", "INVOCATION_STATE_ANOMALOUS", "INVOCATION_STATE_NOT_ANOMALOUS", @@ -1742,21 +1959,27 @@ class GoogleCloudAiplatformV1beta1AnalyzedInvocation( name: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AnalyzedSession( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AnalyzedSession(typing.TypedDict, total=False): agentDisplayName: str agentResourceName: str - agentState: typing_extensions.Literal[ + agentState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ACTIVE", "ENABLING", "DISABLED" ] + agentType: typing.Literal[ + "AGENT_TYPE_UNSPECIFIED", + "REASONING_ENGINE", + "CLOUD_RUN_SERVICE", + "GKE_WORKLOAD", + "GCE_INSTANCE", + "AGENT_TYPE_OTHER", + ] assessment: GoogleCloudAiplatformV1beta1Assessment createTime: str latestAnalyzedTime: str location: str name: str sessionId: str - sessionState: typing_extensions.Literal[ + sessionState: typing.Literal[ "SESSION_STATE_UNSPECIFIED", "SESSION_STATE_UNANALYZED", "SESSION_STATE_NOT_FLAGGED", @@ -1768,11 +1991,11 @@ class GoogleCloudAiplatformV1beta1AnalyzedSession( @typing.type_check_only class GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectorIds: _list[str] sessionsCount: int - severityLevel: typing_extensions.Literal[ + severityLevel: typing.Literal[ "SEVERITY_UNSPECIFIED", "SEVERITY_LOW", "SEVERITY_MEDIUM", @@ -1781,7 +2004,7 @@ class GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Annotation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Annotation(typing.TypedDict, total=False): annotationSource: GoogleCloudAiplatformV1beta1UserActionReference createTime: str etag: str @@ -1792,9 +2015,7 @@ class GoogleCloudAiplatformV1beta1Annotation(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AnnotationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AnnotationSpec(typing.TypedDict, total=False): createTime: str displayName: str etag: str @@ -1802,34 +2023,35 @@ class GoogleCloudAiplatformV1beta1AnnotationSpec( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ApiAuth(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ApiAuth(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig(typing.TypedDict, total=False): apiKeySecretVersion: str apiKeyString: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AppendA2aTaskEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + events: _list[GoogleCloudAiplatformV1beta1A2aTaskEvent] + generation: str taskEvents: _list[GoogleCloudAiplatformV1beta1TaskEvent] @typing.type_check_only class GoogleCloudAiplatformV1beta1AppendA2aTaskEventsResponse( - typing_extensions.TypedDict, total=False -): ... + typing.TypedDict, total=False +): + generation: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AppendEventResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1Artifact(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Artifact(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1839,43 +2061,33 @@ class GoogleCloudAiplatformV1beta1Artifact(typing_extensions.TypedDict, total=Fa name: str schemaTitle: str schemaVersion: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "LIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "LIVE"] updateTime: str uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ArtifactTypeSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ArtifactTypeSchema(typing.TypedDict, total=False): instanceSchema: str schemaTitle: str schemaUri: str schemaVersion: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AskContextsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AskContextsRequest(typing.TypedDict, total=False): query: GoogleCloudAiplatformV1beta1RagQuery tools: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1beta1AskContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AskContextsResponse(typing.TypedDict, total=False): contexts: GoogleCloudAiplatformV1beta1RagContexts response: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AssembleDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AssembleDataRequest(typing.TypedDict, total=False): geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1AssessDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AssessDataRequest(typing.TypedDict, total=False): batchPredictionResourceUsageAssessmentConfig: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig batchPredictionValidationAssessmentConfig: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig @@ -1888,45 +2100,45 @@ class GoogleCloudAiplatformV1beta1AssessDataRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - datasetUsage: typing_extensions.Literal[ + datasetUsage: typing.Literal[ "DATASET_USAGE_UNSPECIFIED", "SFT_TRAINING", "SFT_VALIDATION" ] modelName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Assessment(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Assessment(typing.TypedDict, total=False): detectorFindings: _list[GoogleCloudAiplatformV1beta1AssessmentDetectorFinding] @typing.type_check_only class GoogleCloudAiplatformV1beta1AssessmentDetectorFinding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectorId: str displayName: str explanation: str probability: float recommendations: _list[str] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "SEVERITY_LOW", "SEVERITY_MEDIUM", @@ -1936,14 +2148,14 @@ class GoogleCloudAiplatformV1beta1AssessmentDetectorFinding( @typing.type_check_only class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebookRuntime: GoogleCloudAiplatformV1beta1NotebookRuntime notebookRuntimeId: str @@ -1951,20 +2163,20 @@ class GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1AsyncQueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsUri: str outputGcsUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AsyncRetrieveContextsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: GoogleCloudAiplatformV1beta1RagQuery tools: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Attribution(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Attribution(typing.TypedDict, total=False): approximationError: float baselineOutputValue: float featureAttributions: typing.Any @@ -1974,12 +2186,10 @@ class GoogleCloudAiplatformV1beta1Attribution(typing_extensions.TypedDict, total outputName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AudioResponseFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AudioResponseFormat(typing.TypedDict, total=False): bitRate: int - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - mimeType: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + mimeType: typing.Literal[ "MIME_TYPE_UNSPECIFIED", "AUDIO_MP3", "AUDIO_OGG_OPUS", @@ -1991,31 +2201,64 @@ class GoogleCloudAiplatformV1beta1AudioResponseFormat( sampleRate: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1AugmentPromptRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1AudioTranscription(typing.TypedDict, total=False): + speakerLabel: str + text: str + words: _list[GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig( + typing.TypedDict, total=False +): + adaptationPhrases: _list[str] + customVocabulary: _list[str] + diarization: bool + languageAuto: GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto + languageCodes: _list[str] + languageHints: GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints + wordTimestamp: bool + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints( + typing.TypedDict, total=False +): + languageCodes: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo( + typing.TypedDict, total=False ): + endOffset: str + startOffset: str + word: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AugmentPromptRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] model: GoogleCloudAiplatformV1beta1AugmentPromptRequestModel vertexRagStore: GoogleCloudAiplatformV1beta1VertexRagStore @typing.type_check_only class GoogleCloudAiplatformV1beta1AugmentPromptRequestModel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelVersion: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AugmentPromptResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AugmentPromptResponse(typing.TypedDict, total=False): augmentedPrompt: _list[GoogleCloudAiplatformV1beta1Content] facts: _list[GoogleCloudAiplatformV1beta1Fact] @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1AuthConfig(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "NO_AUTH", "API_KEY_AUTH", @@ -2032,12 +2275,10 @@ class GoogleCloudAiplatformV1beta1AuthConfig(typing_extensions.TypedDict, total= oidcConfig: GoogleCloudAiplatformV1beta1AuthConfigOidcConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig(typing.TypedDict, total=False): apiKeySecret: str apiKeyString: str - httpElementLocation: typing_extensions.Literal[ + httpElementLocation: typing.Literal[ "HTTP_IN_UNSPECIFIED", "HTTP_IN_QUERY", "HTTP_IN_HEADER", @@ -2049,127 +2290,117 @@ class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): credentialSecret: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig(typing.TypedDict, total=False): accessToken: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig(typing.TypedDict, total=False): idToken: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AutomaticResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AutomaticResources(typing.TypedDict, total=False): maxReplicaCount: int minReplicaCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1AutoraterConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AutoraterConfig(typing.TypedDict, total=False): autoraterModel: str flipEnabled: bool generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig samplingCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1AutoscalingMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AutoscalingMetricSpec(typing.TypedDict, total=False): metricName: str monitoredResourceLabels: dict[str, typing.Any] target: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1AvroSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1AvroSource(typing.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1beta1GcsSource @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pipelineJobs: _list[GoogleCloudAiplatformV1beta1PipelineJob] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateFeaturesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateFeaturesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudAiplatformV1beta1CreateFeatureRequest] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateFeaturesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[GoogleCloudAiplatformV1beta1Feature] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateRagDataSchemasRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudAiplatformV1beta1CreateRagDataSchemaRequest] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateRagMetadataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudAiplatformV1beta1CreateRagMetadataRequest] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateTensorboardRunsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudAiplatformV1beta1CreateTensorboardRunRequest] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateTensorboardRunsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tensorboardRuns: _list[GoogleCloudAiplatformV1beta1TensorboardRun] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudAiplatformV1beta1CreateTensorboardTimeSeriesRequest] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tensorboardTimeSeries: _list[GoogleCloudAiplatformV1beta1TensorboardTimeSeries] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchDedicatedResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flexStart: GoogleCloudAiplatformV1beta1FlexStart machineSpec: GoogleCloudAiplatformV1beta1MachineSpec @@ -2179,55 +2410,55 @@ class GoogleCloudAiplatformV1beta1BatchDedicatedResources( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pipelineJobs: _list[GoogleCloudAiplatformV1beta1PipelineJob] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchDeleteRagDataSchemasRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchDeleteRagMetadataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedAnnotations: _list[GoogleCloudAiplatformV1beta1EvaluatedAnnotation] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): importedEvaluatedAnnotationsCount: int @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchImportModelEvaluationSlicesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluationSlices: _list[GoogleCloudAiplatformV1beta1ModelEvaluationSlice] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchImportModelEvaluationSlicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): importedModelEvaluationSlices: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchMigrateResourcesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata partialResults: _list[ @@ -2236,7 +2467,7 @@ class GoogleCloudAiplatformV1beta1BatchMigrateResourcesOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchMigrateResourcesOperationMetadataPartialResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str error: GoogleRpcStatus @@ -2245,20 +2476,18 @@ class GoogleCloudAiplatformV1beta1BatchMigrateResourcesOperationMetadataPartialR @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchMigrateResourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrateResourceRequests: _list[GoogleCloudAiplatformV1beta1MigrateResourceRequest] @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchMigrateResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrateResourceResponses: _list[GoogleCloudAiplatformV1beta1MigrateResourceResponse] @typing.type_check_only -class GoogleCloudAiplatformV1beta1BatchPredictionJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1BatchPredictionJob(typing.TypedDict, total=False): completionStats: GoogleCloudAiplatformV1beta1CompletionStats createTime: str dedicatedResources: GoogleCloudAiplatformV1beta1BatchDedicatedResources @@ -2266,6 +2495,7 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJob( displayName: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec endTime: str + endpoint: str error: GoogleRpcStatus explanationSpec: GoogleCloudAiplatformV1beta1ExplanationSpec generateExplanation: bool @@ -2290,7 +2520,7 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJob( satisfiesPzs: bool serviceAccount: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -2309,7 +2539,7 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJob( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchPredictionJobInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudAiplatformV1beta1BigQuerySource gcsSource: GoogleCloudAiplatformV1beta1GcsSource @@ -2320,7 +2550,7 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJobInputConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchPredictionJobInstanceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): excludedFields: _list[str] includedFields: _list[str] @@ -2329,7 +2559,7 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJobInstanceConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchPredictionJobOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination @@ -2340,7 +2570,7 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJobOutputConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchPredictionJobOutputInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryOutputDataset: str bigqueryOutputTable: str @@ -2349,13 +2579,13 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJobOutputInfo( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryReadInstances: GoogleCloudAiplatformV1beta1BigQuerySource csvReadInstances: GoogleCloudAiplatformV1beta1CsvSource @@ -2370,7 +2600,7 @@ class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesRequestEntityTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypeId: str featureSelector: GoogleCloudAiplatformV1beta1FeatureSelector @@ -2378,31 +2608,27 @@ class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesRequestEntityTypeSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesRequestPassThroughField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeSeriesData: _list[GoogleCloudAiplatformV1beta1TimeSeriesData] @typing.type_check_only -class GoogleCloudAiplatformV1beta1BigQueryDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1BigQueryDestination(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1BigQueryRequestSet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1BigQueryRequestSet(typing.TypedDict, total=False): candidateResponseColumns: dict[str, typing.Any] promptColumn: str rubricsColumn: str @@ -2411,69 +2637,59 @@ class GoogleCloudAiplatformV1beta1BigQueryRequestSet( @typing.type_check_only class GoogleCloudAiplatformV1beta1BigQueryRequestSetSamplingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): samplingCount: int samplingDuration: str - samplingMethod: typing_extensions.Literal["SAMPLING_METHOD_UNSPECIFIED", "RANDOM"] + samplingMethod: typing.Literal["SAMPLING_METHOD_UNSPECIFIED", "RANDOM"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1BigQuerySource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1BigQuerySource(typing.TypedDict, total=False): inputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1BleuInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1BleuInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1beta1BleuInstance] metricSpec: GoogleCloudAiplatformV1beta1BleuSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1BleuInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1BleuInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1BleuMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1BleuMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1BleuResults(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1BleuResults(typing.TypedDict, total=False): bleuMetricValues: _list[GoogleCloudAiplatformV1beta1BleuMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1beta1BleuSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1BleuSpec(typing.TypedDict, total=False): useEffectiveOrder: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1Blob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Blob(typing.TypedDict, total=False): data: str displayName: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1BlurBaselineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1BlurBaselineConfig(typing.TypedDict, total=False): maxBlurSigma: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1BoolArray(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1BoolArray(typing.TypedDict, total=False): values: _list[bool] @typing.type_check_only -class GoogleCloudAiplatformV1beta1CacheConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1CacheConfig(typing.TypedDict, total=False): disableCache: bool name: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CachedContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CachedContent(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] createTime: str displayName: str @@ -2490,7 +2706,7 @@ class GoogleCloudAiplatformV1beta1CachedContent( @typing.type_check_only class GoogleCloudAiplatformV1beta1CachedContentUsageMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioDurationSeconds: int imageCount: int @@ -2500,67 +2716,67 @@ class GoogleCloudAiplatformV1beta1CachedContentUsageMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operationName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelCustomJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelHyperparameterTuningJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelNasJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelPipelineJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelTrainingPipelineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CancelTuningJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Candidate(typing.TypedDict, total=False): avgLogprobs: float citationMetadata: GoogleCloudAiplatformV1beta1CitationMetadata content: GoogleCloudAiplatformV1beta1Content finishMessage: str - finishReason: typing_extensions.Literal[ + finishReason: typing.Literal[ "FINISH_REASON_UNSPECIFIED", "STOP", "MAX_TOKENS", @@ -2586,9 +2802,7 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F urlContextMetadata: GoogleCloudAiplatformV1beta1UrlContextMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1CandidateResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CandidateResponse(typing.TypedDict, total=False): agentData: GoogleCloudAiplatformV1beta1AgentData candidate: str error: GoogleRpcStatus @@ -2597,11 +2811,10 @@ class GoogleCloudAiplatformV1beta1CandidateResponse( value: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1beta1CandidateResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CandidateResult(typing.TypedDict, total=False): additionalResults: typing.Any candidate: str + error: GoogleRpcStatus explanation: str metric: str rubricVerdicts: _list[GoogleCloudAiplatformV1beta1RubricVerdict] @@ -2609,21 +2822,21 @@ class GoogleCloudAiplatformV1beta1CandidateResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): publisherModel: str @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckSignUpEligibilityResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - eligibility: typing_extensions.Literal[ + eligibility: typing.Literal[ "ELIGIBILITY_STATUS_UNSPECIFIED", "ELIGIBLE", "IN_SCOPE", "INELIGIBLE" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata study: str @@ -2631,29 +2844,29 @@ class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata( @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shouldStop: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1Checkpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Checkpoint(typing.TypedDict, total=False): checkpointId: str epoch: str step: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Chunk(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Chunk(typing.TypedDict, total=False): data: str metadata: GoogleCloudAiplatformV1beta1Metadata mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Citation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Citation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: GoogleTypeDate @@ -2662,29 +2875,39 @@ class GoogleCloudAiplatformV1beta1Citation(typing_extensions.TypedDict, total=Fa uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CitationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudAiplatformV1beta1Citation] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Claim(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Claim(typing.TypedDict, total=False): endIndex: int factIndexes: _list[int] score: float startIndex: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1ClientConnectionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ClientConnectionConfig(typing.TypedDict, total=False): inferenceTimeout: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CodeExecutionResult( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1CloudLoggingConfig(typing.TypedDict, total=False): + project: str + resourceLabels: dict[str, typing.Any] + resourceType: str + tracingContext: GoogleCloudAiplatformV1beta1CloudLoggingConfigTracingContext + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CloudLoggingConfigTracingContext( + typing.TypedDict, total=False ): - outcome: typing_extensions.Literal[ + conversationId: str + spanId: str + traceId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CodeExecutionResult(typing.TypedDict, total=False): + id: str + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -2693,72 +2916,79 @@ class GoogleCloudAiplatformV1beta1CodeExecutionResult( output: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CoherenceInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CoherenceInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1CoherenceInstance metricSpec: GoogleCloudAiplatformV1beta1CoherenceSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1CoherenceInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CoherenceInstance(typing.TypedDict, total=False): prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CoherenceResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CoherenceResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1CoherenceSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CoherenceSpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1ColabImage(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ColabImage(typing.TypedDict, total=False): description: str releaseName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CometInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1CometInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1CometInstance metricSpec: GoogleCloudAiplatformV1beta1CometSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1CometInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CometInstance(typing.TypedDict, total=False): prediction: str reference: str source: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CometResult(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1CometResult(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1CometSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1CometSpec(typing.TypedDict, total=False): sourceLanguage: str targetLanguage: str - version: typing_extensions.Literal["COMET_VERSION_UNSPECIFIED", "COMET_22_SRC_REF"] + version: typing.Literal["COMET_VERSION_UNSPECIFIED", "COMET_22_SRC_REF"] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CompactSessionRequest(typing.TypedDict, total=False): + compaction: GoogleCloudAiplatformV1beta1CompactionConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1CompleteTrialRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1CompactionConfig(typing.TypedDict, total=False): + eventEditing: GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig + summarization: GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig( + typing.TypedDict, total=False ): + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO"] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig( + typing.TypedDict, total=False +): + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO"] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CompleteTrialRequest(typing.TypedDict, total=False): finalMeasurement: GoogleCloudAiplatformV1beta1Measurement infeasibleReason: str trialInfeasible: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1CompletionStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CompletionStats(typing.TypedDict, total=False): failedCount: str incompleteCount: str successfulCount: str @@ -2766,7 +2996,7 @@ class GoogleCloudAiplatformV1beta1CompletionStats( @typing.type_check_only class GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): weightedRewardConfigs: _list[ GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfigWeightedRewardConfig @@ -2774,79 +3004,69 @@ class GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfigWeightedRewardConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rewardConfig: GoogleCloudAiplatformV1beta1SingleReinforcementTuningRewardConfig weight: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ComputationBasedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: dict[str, typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ComputeTokensRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ComputeTokensRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] instances: _list[typing.Any] model: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ComputeTokensResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ComputeTokensResponse(typing.TypedDict, total=False): tokensInfo: _list[GoogleCloudAiplatformV1beta1TokensInfo] @typing.type_check_only class GoogleCloudAiplatformV1beta1ContainerRegistryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ContainerSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ContainerSpec(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: _list[GoogleCloudAiplatformV1beta1EnvVar] imageUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Content(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Content(typing.TypedDict, total=False): parts: _list[GoogleCloudAiplatformV1beta1Part] role: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ContentMap(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ContentMap(typing.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ContentMapContents( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ContentMapContents(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ContentsExample( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ContentsExample(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] expectedContents: _list[GoogleCloudAiplatformV1beta1ContentsExampleExpectedContent] @typing.type_check_only class GoogleCloudAiplatformV1beta1ContentsExampleExpectedContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1beta1Content @typing.type_check_only -class GoogleCloudAiplatformV1beta1Context(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Context(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -2860,23 +3080,19 @@ class GoogleCloudAiplatformV1beta1Context(typing_extensions.TypedDict, total=Fal updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ConversationTurn(typing.TypedDict, total=False): events: _list[GoogleCloudAiplatformV1beta1AgentEvent] turnId: str turnIndex: int @typing.type_check_only class GoogleCloudAiplatformV1beta1CopyModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1CopyModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CopyModelRequest(typing.TypedDict, total=False): customServiceAccount: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec modelId: str @@ -2884,22 +3100,18 @@ class GoogleCloudAiplatformV1beta1CopyModelRequest( sourceModel: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CopyModelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CopyModelResponse(typing.TypedDict, total=False): model: str modelVersionId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CorpusStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CorpusStatus(typing.TypedDict, total=False): errorStatus: str - state: typing_extensions.Literal["UNKNOWN", "INITIALIZED", "ACTIVE", "ERROR"] + state: typing.Literal["UNKNOWN", "INITIALIZED", "ACTIVE", "ERROR"] @typing.type_check_only class GoogleCloudAiplatformV1beta1CorroborateContentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1beta1Content facts: _list[GoogleCloudAiplatformV1beta1Fact] @@ -2907,21 +3119,19 @@ class GoogleCloudAiplatformV1beta1CorroborateContentRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1CorroborateContentRequestParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationThreshold: float @typing.type_check_only class GoogleCloudAiplatformV1beta1CorroborateContentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): claims: _list[GoogleCloudAiplatformV1beta1Claim] corroborationScore: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1CountTokensRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CountTokensRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig instances: _list[typing.Any] @@ -2930,43 +3140,41 @@ class GoogleCloudAiplatformV1beta1CountTokensRequest( tools: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1beta1CountTokensResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CountTokensResponse(typing.TypedDict, total=False): promptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalBillableCharacters: int totalTokens: int @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateDatasetVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateDeploymentResourcePoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateDeploymentResourcePoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deploymentResourcePool: GoogleCloudAiplatformV1beta1DeploymentResourcePool deploymentResourcePoolId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateEndpointOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - deploymentStage: typing_extensions.Literal[ + deploymentStage: typing.Literal[ "DEPLOYMENT_STAGE_UNSPECIFIED", "STARTING_DEPLOYMENT", "PREPARING_MODEL", @@ -2983,63 +3191,61 @@ class GoogleCloudAiplatformV1beta1CreateEndpointOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateEntityTypeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateExtensionControllerOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateFeatureGroupOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateFeatureOnlineStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateFeatureOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1CreateFeatureRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CreateFeatureRequest(typing.TypedDict, total=False): feature: GoogleCloudAiplatformV1beta1Feature featureId: str parent: str @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateFeatureViewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateFeaturestoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateIndexEndpointOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata nearestNeighborSearchOperationMetadata: ( @@ -3048,19 +3254,19 @@ class GoogleCloudAiplatformV1beta1CreateIndexOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateMetadataStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateModelMonitorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateModelMonitoringJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelMonitoringJob: GoogleCloudAiplatformV1beta1ModelMonitoringJob modelMonitoringJobId: str @@ -3068,14 +3274,14 @@ class GoogleCloudAiplatformV1beta1CreateModelMonitoringJobRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebookExecutionJob: GoogleCloudAiplatformV1beta1NotebookExecutionJob notebookExecutionJobId: str @@ -3083,26 +3289,26 @@ class GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreatePersistentResourceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1beta1CreatePipelineJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str pipelineJob: GoogleCloudAiplatformV1beta1PipelineJob @@ -3110,7 +3316,7 @@ class GoogleCloudAiplatformV1beta1CreatePipelineJobRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateRagDataSchemaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str ragDataSchema: GoogleCloudAiplatformV1beta1RagDataSchema @@ -3118,7 +3324,7 @@ class GoogleCloudAiplatformV1beta1CreateRagDataSchemaRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateRagMetadataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str ragMetadata: GoogleCloudAiplatformV1beta1RagMetadata @@ -3126,37 +3332,37 @@ class GoogleCloudAiplatformV1beta1CreateRagMetadataRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateRegistryFeatureOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateSolverOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateSpecialistPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateTensorboardOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateTensorboardRunRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str tensorboardRun: GoogleCloudAiplatformV1beta1TensorboardRun @@ -3164,36 +3370,35 @@ class GoogleCloudAiplatformV1beta1CreateTensorboardRunRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1CreateTensorboardTimeSeriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str tensorboardTimeSeries: GoogleCloudAiplatformV1beta1TensorboardTimeSeries tensorboardTimeSeriesId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CsvDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CsvDestination(typing.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1beta1CsvSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1CsvSource(typing.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1beta1GcsSource @typing.type_check_only class GoogleCloudAiplatformV1beta1CustomCodeExecutionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + codeExecutionRegion: str evaluationFunction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CustomJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1CustomJob(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec @@ -3205,7 +3410,7 @@ class GoogleCloudAiplatformV1beta1CustomJob(typing_extensions.TypedDict, total=F satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -3223,9 +3428,7 @@ class GoogleCloudAiplatformV1beta1CustomJob(typing_extensions.TypedDict, total=F webAccessUris: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1CustomJobSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CustomJobSpec(typing.TypedDict, total=False): baseOutputDirectory: GoogleCloudAiplatformV1beta1GcsDestination enableDashboardAccess: bool enableWebAccess: bool @@ -3243,19 +3446,17 @@ class GoogleCloudAiplatformV1beta1CustomJobSpec( workerPoolSpecs: _list[GoogleCloudAiplatformV1beta1WorkerPoolSpec] @typing.type_check_only -class GoogleCloudAiplatformV1beta1CustomOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CustomOutput(typing.TypedDict, total=False): rawOutputs: GoogleCloudAiplatformV1beta1RawOutput @typing.type_check_only class GoogleCloudAiplatformV1beta1CustomOutputFormatConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRawOutput: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1DataItem(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1DataItem(typing.TypedDict, total=False): createTime: str etag: str labels: dict[str, typing.Any] @@ -3266,17 +3467,13 @@ class GoogleCloudAiplatformV1beta1DataItem(typing_extensions.TypedDict, total=Fa updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DataItemView( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DataItemView(typing.TypedDict, total=False): annotations: _list[GoogleCloudAiplatformV1beta1Annotation] dataItem: GoogleCloudAiplatformV1beta1DataItem hasTruncatedAnnotations: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1DataLabelingJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DataLabelingJob(typing.TypedDict, total=False): activeLearningConfig: GoogleCloudAiplatformV1beta1ActiveLearningConfig annotationLabels: dict[str, typing.Any] createTime: str @@ -3293,7 +3490,7 @@ class GoogleCloudAiplatformV1beta1DataLabelingJob( labels: dict[str, typing.Any] name: str specialistPools: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -3310,7 +3507,7 @@ class GoogleCloudAiplatformV1beta1DataLabelingJob( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Dataset(typing.TypedDict, total=False): createTime: str dataItemCount: str description: str @@ -3329,16 +3526,12 @@ class GoogleCloudAiplatformV1beta1Dataset(typing_extensions.TypedDict, total=Fal updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DatasetCustomMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DatasetCustomMetric(typing.TypedDict, total=False): aggregationFunction: str displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DatasetDistribution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DatasetDistribution(typing.TypedDict, total=False): buckets: _list[GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket] max: float mean: float @@ -3350,16 +3543,14 @@ class GoogleCloudAiplatformV1beta1DatasetDistribution( @typing.type_check_only class GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str left: float right: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1DatasetStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DatasetStats(typing.TypedDict, total=False): contentsPerExampleDistribution: GoogleCloudAiplatformV1beta1DatasetDistribution droppedExampleIndices: _list[str] droppedExampleReasons: _list[str] @@ -3377,9 +3568,7 @@ class GoogleCloudAiplatformV1beta1DatasetStats( userOutputTokenDistribution: GoogleCloudAiplatformV1beta1DatasetDistribution @typing.type_check_only -class GoogleCloudAiplatformV1beta1DatasetVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DatasetVersion(typing.TypedDict, total=False): bigQueryDatasetName: str createTime: str displayName: str @@ -3392,9 +3581,7 @@ class GoogleCloudAiplatformV1beta1DatasetVersion( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DedicatedResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DedicatedResources(typing.TypedDict, total=False): autoscalingMetricSpecs: _list[GoogleCloudAiplatformV1beta1AutoscalingMetricSpec] flexStart: GoogleCloudAiplatformV1beta1FlexStart initialReplicaCount: int @@ -3407,20 +3594,20 @@ class GoogleCloudAiplatformV1beta1DedicatedResources( @typing.type_check_only class GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idleScaledownPeriod: str minScaleupPeriod: str @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectEntity: GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequestSelectEntity selectTimeRangeAndFeature: ( @@ -3429,13 +3616,13 @@ class GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequestSelectEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityIdSelector: GoogleCloudAiplatformV1beta1EntityIdSelector @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequestSelectTimeRangeAndFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureSelector: GoogleCloudAiplatformV1beta1FeatureSelector skipOnlineStorageDelete: bool @@ -3443,7 +3630,7 @@ class GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequestSelectTimeRangeAndFe @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectEntity: GoogleCloudAiplatformV1beta1DeleteFeatureValuesResponseSelectEntity selectTimeRangeAndFeature: ( @@ -3452,14 +3639,14 @@ class GoogleCloudAiplatformV1beta1DeleteFeatureValuesResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesResponseSelectEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): offlineStorageDeletedEntityRowCount: str onlineStorageDeletedEntityCount: str @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteFeatureValuesResponseSelectTimeRangeAndFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): impactedFeatureCount: str offlineStorageModifiedEntityRowCount: str @@ -3467,52 +3654,48 @@ class GoogleCloudAiplatformV1beta1DeleteFeatureValuesResponseSelectTimeRangeAndF @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteMetadataStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1DeleteReasoningEngineRuntimeRevisionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedIndexId: str genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployIndexRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployIndexRequest(typing.TypedDict, total=False): deployedIndex: GoogleCloudAiplatformV1beta1DeployedIndex @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployIndexResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployIndexResponse(typing.TypedDict, total=False): deployedIndex: GoogleCloudAiplatformV1beta1DeployedIndex @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - deploymentStage: typing_extensions.Literal[ + deploymentStage: typing.Literal[ "DEPLOYMENT_STAGE_UNSPECIFIED", "STARTING_DEPLOYMENT", "PREPARING_MODEL", @@ -3528,21 +3711,17 @@ class GoogleCloudAiplatformV1beta1DeployModelOperationMetadata( genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployModelRequest(typing.TypedDict, total=False): deployedModel: GoogleCloudAiplatformV1beta1DeployedModel trafficSplit: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployModelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployModelResponse(typing.TypedDict, total=False): deployedModel: GoogleCloudAiplatformV1beta1DeployedModel @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployPublisherModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptEula: bool dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources @@ -3552,9 +3731,7 @@ class GoogleCloudAiplatformV1beta1DeployPublisherModelRequest( modelDisplayName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployRequest(typing.TypedDict, total=False): customModel: GoogleCloudAiplatformV1beta1DeployRequestCustomModel deployConfig: GoogleCloudAiplatformV1beta1DeployRequestDeployConfig endpointConfig: GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig @@ -3564,14 +3741,14 @@ class GoogleCloudAiplatformV1beta1DeployRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployRequestCustomModel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str modelId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources fastTryoutEnabled: bool @@ -3579,7 +3756,7 @@ class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedEndpointDisabled: bool dedicatedEndpointEnabled: bool @@ -3590,7 +3767,7 @@ class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployRequestModelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptEula: bool containerSpec: GoogleCloudAiplatformV1beta1ModelContainerSpec @@ -3601,20 +3778,18 @@ class GoogleCloudAiplatformV1beta1DeployRequestModelConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployedIndex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployedIndex(typing.TypedDict, total=False): automaticResources: GoogleCloudAiplatformV1beta1AutomaticResources createTime: str dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources deployedIndexAuthConfig: GoogleCloudAiplatformV1beta1DeployedIndexAuthConfig deploymentGroup: str - deploymentTier: typing_extensions.Literal["DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE"] + deploymentTier: typing.Literal["DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE"] displayName: str enableAccessLogging: bool enableDatapointUpsertLogging: bool @@ -3627,29 +3802,25 @@ class GoogleCloudAiplatformV1beta1DeployedIndex( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployedIndexAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authProvider: GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider @typing.type_check_only class GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedIssuers: _list[str] audiences: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployedIndexRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployedIndexRef(typing.TypedDict, total=False): deployedIndexId: str displayName: str indexEndpoint: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployedModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployedModel(typing.TypedDict, total=False): automaticResources: GoogleCloudAiplatformV1beta1AutomaticResources checkpointId: str createTime: str @@ -3675,25 +3846,19 @@ class GoogleCloudAiplatformV1beta1DeployedModel( systemLabels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployedModelRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployedModelRef(typing.TypedDict, total=False): checkpointId: str deployedModelId: str endpoint: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeployedModelStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeployedModelStatus(typing.TypedDict, total=False): availableReplicaCount: int lastUpdateTime: str message: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DeploymentResourcePool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DeploymentResourcePool(typing.TypedDict, total=False): createTime: str dedicatedResources: GoogleCloudAiplatformV1beta1DedicatedResources disableContainerLogging: bool @@ -3705,69 +3870,69 @@ class GoogleCloudAiplatformV1beta1DeploymentResourcePool( @typing.type_check_only class GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest( - typing_extensions.TypedDict, total=False -): ... + typing.TypedDict, total=False +): + force: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1DestinationFeatureSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationField: str featureId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DirectPredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DirectPredictRequest(typing.TypedDict, total=False): inputs: _list[GoogleCloudAiplatformV1beta1Tensor] parameters: GoogleCloudAiplatformV1beta1Tensor @typing.type_check_only -class GoogleCloudAiplatformV1beta1DirectPredictResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DirectPredictResponse(typing.TypedDict, total=False): outputs: _list[GoogleCloudAiplatformV1beta1Tensor] parameters: GoogleCloudAiplatformV1beta1Tensor @typing.type_check_only class GoogleCloudAiplatformV1beta1DirectRawPredictRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): input: str methodName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1DirectRawPredictResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): output: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DirectUploadSource( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1DirectUploadSource(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1DisableMonitoredAgentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1DiskSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata( + typing.TypedDict, total=False +): + genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata + progress: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1DiskSpec(typing.TypedDict, total=False): bootDiskSizeGb: int bootDiskType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DistillationDataStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DistillationDataStats(typing.TypedDict, total=False): trainingDatasetStats: GoogleCloudAiplatformV1beta1DatasetStats @typing.type_check_only class GoogleCloudAiplatformV1beta1DistillationHyperParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adapterSize: typing_extensions.Literal[ + adapterSize: typing.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", "ADAPTER_SIZE_TWO", @@ -3782,9 +3947,7 @@ class GoogleCloudAiplatformV1beta1DistillationHyperParameters( learningRateMultiplier: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1DistillationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DistillationSpec(typing.TypedDict, total=False): baseTeacherModel: str hyperParameters: GoogleCloudAiplatformV1beta1DistillationHyperParameters pipelineRootDirectory: str @@ -3792,41 +3955,35 @@ class GoogleCloudAiplatformV1beta1DistillationSpec( studentModel: str trainingDatasetUri: str tunedTeacherModelSource: str - tuningMode: typing_extensions.Literal[ + tuningMode: typing.Literal[ "TUNING_MODE_UNSPECIFIED", "TUNING_MODE_FULL", "TUNING_MODE_PEFT_ADAPTER" ] validationDatasetUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DnsPeeringConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DnsPeeringConfig(typing.TypedDict, total=False): domain: str targetNetwork: str targetProject: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1DoubleArray(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1DoubleArray(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig(typing.TypedDict, total=False): dynamicThreshold: float - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] + mode: typing.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EmbedContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EmbedContentRequest(typing.TypedDict, total=False): autoTruncate: bool content: GoogleCloudAiplatformV1beta1Content embedContentConfig: ( GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig ) outputDimensionality: int - taskType: typing_extensions.Literal[ + taskType: typing.Literal[ "UNSPECIFIED", "RETRIEVAL_QUERY", "RETRIEVAL_DOCUMENT", @@ -3841,13 +3998,13 @@ class GoogleCloudAiplatformV1beta1EmbedContentRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioTrackExtraction: bool autoTruncate: bool documentOcr: bool outputDimensionality: int - taskType: typing_extensions.Literal[ + taskType: typing.Literal[ "UNSPECIFIED", "RETRIEVAL_QUERY", "RETRIEVAL_DOCUMENT", @@ -3861,30 +4018,24 @@ class GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig( title: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EmbedContentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EmbedContentResponse(typing.TypedDict, total=False): embedding: GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding truncated: bool usageMetadata: GoogleCloudAiplatformV1beta1UsageMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[float] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EnableModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EnableModelRequest(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EnableModelResponse( - typing_extensions.TypedDict, total=False -): - enablementState: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1EnableModelResponse(typing.TypedDict, total=False): + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLEMENT_STATE_SUCCEEDED", "ENABLEMENT_STATE_FAILED", @@ -3893,17 +4044,22 @@ class GoogleCloudAiplatformV1beta1EnableModelResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1EnableMonitoredAgentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1EncryptionSpec( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata( + typing.TypedDict, total=False ): + genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata + progress: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EncryptionSpec(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Endpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Endpoint(typing.TypedDict, total=False): clientConnectionConfig: GoogleCloudAiplatformV1beta1ClientConnectionConfig createTime: str dedicatedEndpointDns: str @@ -3924,16 +4080,15 @@ class GoogleCloudAiplatformV1beta1Endpoint(typing_extensions.TypedDict, total=Fa GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig ) privateServiceConnectConfig: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig + publisherModelConfig: GoogleCloudAiplatformV1beta1PublisherModelConfig satisfiesPzi: bool satisfiesPzs: bool trafficSplit: dict[str, typing.Any] updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( - typing_extensions.TypedDict, total=False -): - blockingConfidence: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1EnterpriseWebSearch(typing.TypedDict, total=False): + blockingConfidence: typing.Literal[ "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -3945,14 +4100,12 @@ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( excludeDomains: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EntityIdSelector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EntityIdSelector(typing.TypedDict, total=False): csvSource: GoogleCloudAiplatformV1beta1CsvSource entityIdField: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EntityType(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1EntityType(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -3965,20 +4118,20 @@ class GoogleCloudAiplatformV1beta1EntityType(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EnvVar(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1EnvVar(typing.TypedDict, total=False): name: str value: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributedItems: _list[ GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotationAttributedItem ] outlierScore: float outlierThreshold: float - queryType: typing_extensions.Literal[ + queryType: typing.Literal[ "QUERY_TYPE_UNSPECIFIED", "ALL_SIMILAR", "SAME_CLASS_SIMILAR", @@ -3987,15 +4140,13 @@ class GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotationAttributedItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResourceName: str distance: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluateDatasetRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluateDatasetRequest(typing.TypedDict, total=False): autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig dataset: GoogleCloudAiplatformV1beta1EvaluationDataset location: str @@ -4004,15 +4155,13 @@ class GoogleCloudAiplatformV1beta1EvaluateDatasetRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluateDatasetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregationOutput: GoogleCloudAiplatformV1beta1AggregationOutput outputInfo: GoogleCloudAiplatformV1beta1OutputInfo @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluateDatasetRun( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluateDatasetRun(typing.TypedDict, total=False): checkpointId: str error: GoogleRpcStatus evaluateDatasetResponse: GoogleCloudAiplatformV1beta1EvaluateDatasetResponse @@ -4021,7 +4170,7 @@ class GoogleCloudAiplatformV1beta1EvaluateDatasetRun( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig bleuInput: GoogleCloudAiplatformV1beta1BleuInput @@ -4083,7 +4232,7 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluateInstancesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bleuResults: GoogleCloudAiplatformV1beta1BleuResults coherenceResult: GoogleCloudAiplatformV1beta1CoherenceResult @@ -4146,16 +4295,14 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesResponse( ) @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluatedAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluatedAnnotation(typing.TypedDict, total=False): dataItemPayload: typing.Any errorAnalysisAnnotations: _list[GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation] evaluatedDataItemViewId: str explanations: _list[GoogleCloudAiplatformV1beta1EvaluatedAnnotationExplanation] groundTruths: _list[typing.Any] predictions: _list[typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "EVALUATED_ANNOTATION_TYPE_UNSPECIFIED", "TRUE_POSITIVE", "FALSE_POSITIVE", @@ -4164,15 +4311,13 @@ class GoogleCloudAiplatformV1beta1EvaluatedAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluatedAnnotationExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanation: GoogleCloudAiplatformV1beta1Explanation explanationType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationConfig(typing.TypedDict, total=False): autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig datasetCustomMetrics: _list[GoogleCloudAiplatformV1beta1DatasetCustomMetric] inferenceGenerationConfig: GoogleCloudAiplatformV1beta1GenerationConfig @@ -4180,18 +4325,17 @@ class GoogleCloudAiplatformV1beta1EvaluationConfig( outputConfig: GoogleCloudAiplatformV1beta1OutputConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationDataset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationDataset(typing.TypedDict, total=False): bigquerySource: GoogleCloudAiplatformV1beta1BigQuerySource gcsSource: GoogleCloudAiplatformV1beta1GcsSource @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationInstance(typing.TypedDict, total=False): agentData: GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentData agentEvalData: GoogleCloudAiplatformV1beta1AgentData + interactionsDataSource: ( + GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource + ) otherData: GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance prompt: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData reference: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData @@ -4200,7 +4344,7 @@ class GoogleCloudAiplatformV1beta1EvaluationInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str agentType: str @@ -4212,13 +4356,13 @@ class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentConfigTools( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tool: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentConfig: GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentConfig agents: dict[str, typing.Any] @@ -4232,7 +4376,7 @@ class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentData( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataAgentEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activeTools: _list[GoogleCloudAiplatformV1beta1Tool] author: str @@ -4242,7 +4386,7 @@ class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataAgentEven @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataConversationTurn( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[ GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataAgentEvent @@ -4252,43 +4396,48 @@ class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataConversat @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataEvents( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: _list[GoogleCloudAiplatformV1beta1Content] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataTools( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tool: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceDataContents text: str @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceDataContents( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1beta1Content] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource( + typing.TypedDict, total=False +): + geminiAgentConfig: GoogleCloudAiplatformV1beta1GeminiAgentConfig + interaction: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mapInstance: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationItem(typing.TypedDict, total=False): createTime: str displayName: str error: GoogleRpcStatus - evaluationItemType: typing_extensions.Literal[ + evaluationItemType: typing.Literal[ "EVALUATION_ITEM_TYPE_UNSPECIFIED", "REQUEST", "RESULT" ] evaluationRequest: GoogleCloudAiplatformV1beta1EvaluationRequest @@ -4299,12 +4448,11 @@ class GoogleCloudAiplatformV1beta1EvaluationItem( name: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationMetric(typing.TypedDict, total=False): createTime: str description: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec gcsUri: str labels: dict[str, typing.Any] metric: GoogleCloudAiplatformV1beta1Metric @@ -4312,23 +4460,20 @@ class GoogleCloudAiplatformV1beta1EvaluationMetric( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationParserConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationParserConfig(typing.TypedDict, total=False): customCodeParserConfig: ( GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig ) @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + codeExecutionRegion: str parsingFunction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationPrompt( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationPrompt(typing.TypedDict, total=False): agentData: GoogleCloudAiplatformV1beta1AgentData promptTemplateData: GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData text: str @@ -4337,30 +4482,26 @@ class GoogleCloudAiplatformV1beta1EvaluationPrompt( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationPromptUserScenario( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationPlan: str startingPrompt: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationRequest(typing.TypedDict, total=False): candidateResponses: _list[GoogleCloudAiplatformV1beta1CandidateResponse] goldenResponse: GoogleCloudAiplatformV1beta1CandidateResponse prompt: GoogleCloudAiplatformV1beta1EvaluationPrompt rubrics: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationResult(typing.TypedDict, total=False): candidateResults: _list[GoogleCloudAiplatformV1beta1CandidateResult] evaluationRequest: str evaluationRun: str @@ -4369,17 +4510,13 @@ class GoogleCloudAiplatformV1beta1EvaluationResult( request: GoogleCloudAiplatformV1beta1EvaluationRequest @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationResults(typing.TypedDict, total=False): evaluationSet: str lossAnalysisResults: _list[GoogleCloudAiplatformV1beta1LossAnalysisResult] summaryMetrics: GoogleCloudAiplatformV1beta1SummaryMetrics @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationRubricConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationRubricConfig(typing.TypedDict, total=False): predefinedRubricGenerationSpec: ( GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec ) @@ -4389,13 +4526,12 @@ class GoogleCloudAiplatformV1beta1EvaluationRubricConfig( rubricGroupKey: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationRun( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationRun(typing.TypedDict, total=False): completionTime: str createTime: str dataSource: GoogleCloudAiplatformV1beta1EvaluationRunDataSource displayName: str + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec error: GoogleRpcStatus evaluationConfig: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig evaluationResults: GoogleCloudAiplatformV1beta1EvaluationResults @@ -4404,7 +4540,7 @@ class GoogleCloudAiplatformV1beta1EvaluationRun( labels: dict[str, typing.Any] metadata: typing.Any name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -4418,18 +4554,19 @@ class GoogleCloudAiplatformV1beta1EvaluationRun( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunDataSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryRequestSet: GoogleCloudAiplatformV1beta1BigQueryRequestSet evaluationSet: str @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoraterConfig: ( GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig ) + cloudLoggingConfig: GoogleCloudAiplatformV1beta1CloudLoggingConfig datasetCustomMetrics: _list[GoogleCloudAiplatformV1beta1DatasetCustomMetric] lossAnalysisConfig: _list[GoogleCloudAiplatformV1beta1LossAnalysisConfig] metrics: _list[GoogleCloudAiplatformV1beta1EvaluationRunMetric] @@ -4441,7 +4578,7 @@ class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoraterModel: str generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig @@ -4449,21 +4586,21 @@ class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str promptTemplate: str @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentConfig: ( GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigInferenceAgentConfig @@ -4475,18 +4612,22 @@ class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig( generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig model: str parallelism: int + promptTemplate: ( + GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate + ) @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentEngine: str + geminiAgentConfig: GoogleCloudAiplatformV1beta1GeminiAgentConfig sessionInput: GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigSessionInput userSimulatorConfig: GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxTurn: int modelConfig: GoogleCloudAiplatformV1beta1GenerationConfig @@ -4494,23 +4635,21 @@ class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfigUser @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigInferenceAgentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): developerInstruction: GoogleCloudAiplatformV1beta1Content tools: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigSessionInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: dict[str, typing.Any] sessionState: dict[str, typing.Any] userId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationRunMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationRunMetric(typing.TypedDict, total=False): computationBasedMetricSpec: ( GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec ) @@ -4529,16 +4668,16 @@ class GoogleCloudAiplatformV1beta1EvaluationRunMetric( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: dict[str, typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalConfig: dict[str, typing.Any] judgeAutoraterConfig: ( @@ -4556,14 +4695,14 @@ class GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricSpecName: str parameters: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineRubrics: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics judgeAutoraterConfig: ( @@ -4577,20 +4716,20 @@ class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rubrics: _list[GoogleCloudAiplatformV1beta1Rubric] @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricResourceName: str modelConfig: ( GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig ) promptTemplate: str - rubricContentType: typing_extensions.Literal[ + rubricContentType: typing.Literal[ "RUBRIC_CONTENT_TYPE_UNSPECIFIED", "PROPERTY", "NL_QUESTION_ANSWER", @@ -4599,29 +4738,26 @@ class GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec( rubricTypeOntology: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EvaluationSet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EvaluationSet(typing.TypedDict, total=False): agentConfigs: dict[str, typing.Any] createTime: str displayName: str + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec evaluationItems: _list[str] metadata: typing.Any name: str updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Event(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Event(typing.TypedDict, total=False): artifact: str eventTime: str execution: str labels: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INPUT", "OUTPUT"] + type: typing.Literal["TYPE_UNSPECIFIED", "INPUT", "OUTPUT"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EventActions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EventActions(typing.TypedDict, total=False): artifactDelta: dict[str, typing.Any] escalate: bool requestedAuthConfigs: dict[str, typing.Any] @@ -4630,9 +4766,7 @@ class GoogleCloudAiplatformV1beta1EventActions( transferAgent: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1EventMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1EventMetadata(typing.TypedDict, total=False): branch: str customMetadata: dict[str, typing.Any] groundingMetadata: GoogleCloudAiplatformV1beta1GroundingMetadata @@ -4644,47 +4778,35 @@ class GoogleCloudAiplatformV1beta1EventMetadata( turnComplete: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExactMatchInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExactMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1beta1ExactMatchInstance] metricSpec: GoogleCloudAiplatformV1beta1ExactMatchSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExactMatchInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExactMatchInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExactMatchMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExactMatchMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExactMatchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExactMatchResults(typing.TypedDict, total=False): exactMatchMetricValues: _list[GoogleCloudAiplatformV1beta1ExactMatchMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExactMatchSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1ExactMatchSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1Example(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Example(typing.TypedDict, total=False): createTime: str displayName: str exampleId: str storedContentsExample: GoogleCloudAiplatformV1beta1StoredContentsExample @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExampleStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExampleStore(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -4693,13 +4815,11 @@ class GoogleCloudAiplatformV1beta1ExampleStore( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExampleStoreConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExampleStoreConfig(typing.TypedDict, total=False): vertexEmbeddingModel: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Examples(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Examples(typing.TypedDict, total=False): exampleGcsSource: GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource gcsSource: GoogleCloudAiplatformV1beta1GcsSource nearestNeighborSearchConfig: typing.Any @@ -4707,63 +4827,52 @@ class GoogleCloudAiplatformV1beta1Examples(typing_extensions.TypedDict, total=Fa presets: GoogleCloudAiplatformV1beta1Presets @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExamplesArrayFilter( - typing_extensions.TypedDict, total=False -): - arrayOperator: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1ExamplesArrayFilter(typing.TypedDict, total=False): + arrayOperator: typing.Literal[ "ARRAY_OPERATOR_UNSPECIFIED", "CONTAINS_ANY", "CONTAINS_ALL" ] values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "JSONL"] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "JSONL"] gcsSource: GoogleCloudAiplatformV1beta1GcsSource @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExamplesOverride( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExamplesOverride(typing.TypedDict, total=False): crowdingCount: int - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "INSTANCES", "EMBEDDINGS" - ] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "INSTANCES", "EMBEDDINGS"] neighborCount: int restrictions: _list[GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace] returnEmbeddings: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allow: _list[str] deny: _list[str] namespaceName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExecutableCode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExecutableCode(typing.TypedDict, total=False): code: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] + id: str + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExecuteCodeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExecuteCodeRequest(typing.TypedDict, total=False): inputs: _list[GoogleCloudAiplatformV1beta1Chunk] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExecuteCodeResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExecuteCodeResponse(typing.TypedDict, total=False): outputs: _list[GoogleCloudAiplatformV1beta1Chunk] @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecuteExtensionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operationId: str operationParams: dict[str, typing.Any] @@ -4771,24 +4880,24 @@ class GoogleCloudAiplatformV1beta1ExecuteExtensionRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecuteExtensionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: _list[GoogleCloudAiplatformV1beta1Chunk] @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputs: _list[GoogleCloudAiplatformV1beta1Chunk] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Execution(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Execution(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -4798,7 +4907,7 @@ class GoogleCloudAiplatformV1beta1Execution(typing_extensions.TypedDict, total=F name: str schemaTitle: str schemaVersion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "RUNNING", @@ -4810,9 +4919,7 @@ class GoogleCloudAiplatformV1beta1Execution(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExplainRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExplainRequest(typing.TypedDict, total=False): concurrentExplanationSpecOverride: dict[str, typing.Any] deployedModelId: str explanationSpecOverride: GoogleCloudAiplatformV1beta1ExplanationSpecOverride @@ -4820,9 +4927,7 @@ class GoogleCloudAiplatformV1beta1ExplainRequest( parameters: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExplainResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExplainResponse(typing.TypedDict, total=False): concurrentExplanations: dict[str, typing.Any] deployedModelId: str explanations: _list[GoogleCloudAiplatformV1beta1Explanation] @@ -4830,19 +4935,17 @@ class GoogleCloudAiplatformV1beta1ExplainResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanations: _list[GoogleCloudAiplatformV1beta1Explanation] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Explanation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Explanation(typing.TypedDict, total=False): attributions: _list[GoogleCloudAiplatformV1beta1Attribution] neighbors: _list[GoogleCloudAiplatformV1beta1Neighbor] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExplanationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExplanationMetadata(typing.TypedDict, total=False): featureAttributionsSchemaUri: str inputs: dict[str, typing.Any] latentSpaceSource: str @@ -4850,12 +4953,12 @@ class GoogleCloudAiplatformV1beta1ExplanationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): denseShapeTensorName: str encodedBaselines: _list[typing.Any] encodedTensorName: str - encoding: typing_extensions.Literal[ + encoding: typing.Literal[ "ENCODING_UNSPECIFIED", "IDENTITY", "BAG_OF_FEATURES", @@ -4879,7 +4982,7 @@ class GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDomain( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxValue: float minValue: float @@ -4888,11 +4991,11 @@ class GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDo @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clipPercentLowerbound: float clipPercentUpperbound: float - colorMap: typing_extensions.Literal[ + colorMap: typing.Literal[ "COLOR_MAP_UNSPECIFIED", "PINK_GREEN", "VIRIDIS", @@ -4901,17 +5004,15 @@ class GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization( "RED_GREEN", "PINK_WHITE_GREEN", ] - overlayType: typing_extensions.Literal[ + overlayType: typing.Literal[ "OVERLAY_TYPE_UNSPECIFIED", "NONE", "ORIGINAL", "GRAYSCALE", "MASK_BLACK" ] - polarity: typing_extensions.Literal[ - "POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH" - ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] + polarity: typing.Literal["POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH"] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplanationMetadataOutputMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayNameMappingKey: str indexDisplayNameMapping: typing.Any @@ -4919,20 +5020,18 @@ class GoogleCloudAiplatformV1beta1ExplanationMetadataOutputMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplanationMetadataOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplanationMetadataOverrideInputMetadataOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputBaselines: _list[typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExplanationParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExplanationParameters(typing.TypedDict, total=False): examples: GoogleCloudAiplatformV1beta1Examples integratedGradientsAttribution: ( GoogleCloudAiplatformV1beta1IntegratedGradientsAttribution @@ -4943,56 +5042,48 @@ class GoogleCloudAiplatformV1beta1ExplanationParameters( xraiAttribution: GoogleCloudAiplatformV1beta1XraiAttribution @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExplanationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExplanationSpec(typing.TypedDict, total=False): metadata: GoogleCloudAiplatformV1beta1ExplanationMetadata parameters: GoogleCloudAiplatformV1beta1ExplanationParameters @typing.type_check_only class GoogleCloudAiplatformV1beta1ExplanationSpecOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): examplesOverride: GoogleCloudAiplatformV1beta1ExamplesOverride metadata: GoogleCloudAiplatformV1beta1ExplanationMetadataOverride parameters: GoogleCloudAiplatformV1beta1ExplanationParameters @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExportDataConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExportDataConfig(typing.TypedDict, total=False): annotationsFilter: str fractionSplit: GoogleCloudAiplatformV1beta1ExportFractionSplit gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsOutputDirectory: str genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExportDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExportDataRequest(typing.TypedDict, total=False): exportConfig: GoogleCloudAiplatformV1beta1ExportDataConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExportDataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExportDataResponse(typing.TypedDict, total=False): exportedFiles: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destination: GoogleCloudAiplatformV1beta1FeatureValueDestination featureSelector: GoogleCloudAiplatformV1beta1FeatureSelector @@ -5002,54 +5093,50 @@ class GoogleCloudAiplatformV1beta1ExportFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportFeatureValuesRequestFullExport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportFeatureValuesRequestSnapshotExport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snapshotTime: str startTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExportFractionSplit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExportFractionSplit(typing.TypedDict, total=False): testFraction: float trainingFraction: float validationFraction: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata outputInfo: GoogleCloudAiplatformV1beta1ExportModelOperationMetadataOutputInfo @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportModelOperationMetadataOutputInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactOutputUri: str imageOutputUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExportModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExportModelRequest(typing.TypedDict, total=False): outputConfig: GoogleCloudAiplatformV1beta1ExportModelRequestOutputConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportModelRequestOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactDestination: GoogleCloudAiplatformV1beta1GcsDestination exportFormatId: str @@ -5057,31 +5144,31 @@ class GoogleCloudAiplatformV1beta1ExportModelRequestOutputConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportPublisherModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destination: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportPublisherModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str publisherModel: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str orderBy: str @@ -5090,24 +5177,22 @@ class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str timeSeriesDataPoints: _list[GoogleCloudAiplatformV1beta1TimeSeriesDataPoint] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExpressProject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExpressProject(typing.TypedDict, total=False): createTime: str defaultApiKey: str projectId: str projectNumber: str region: str - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "TIER_FREE", "TIER_PAID"] + tier: typing.Literal["TIER_UNSPECIFIED", "TIER_FREE", "TIER_PAID"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Extension(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Extension(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -5125,9 +5210,7 @@ class GoogleCloudAiplatformV1beta1Extension(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExtensionManifest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExtensionManifest(typing.TypedDict, total=False): apiSpec: GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec authConfig: GoogleCloudAiplatformV1beta1AuthConfig description: str @@ -5135,30 +5218,26 @@ class GoogleCloudAiplatformV1beta1ExtensionManifest( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openApiGcsUri: str openApiYaml: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExtensionOperation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExtensionOperation(typing.TypedDict, total=False): functionDeclaration: GoogleCloudAiplatformV1beta1FunctionDeclaration operationId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceDirectory: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExternalApi(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ExternalApi(typing.TypedDict, total=False): apiAuth: GoogleCloudAiplatformV1beta1ApiAuth - apiSpec: typing_extensions.Literal[ - "API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH" - ] + apiSpec: typing.Literal["API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH"] authConfig: GoogleCloudAiplatformV1beta1AuthConfig elasticSearchParams: GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams endpoint: str @@ -5166,7 +5245,7 @@ class GoogleCloudAiplatformV1beta1ExternalApi(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): index: str numHits: int @@ -5174,11 +5253,11 @@ class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1Fact(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Fact(typing.TypedDict, total=False): chunk: GoogleCloudAiplatformV1beta1RagChunk query: str score: float @@ -5188,20 +5267,16 @@ class GoogleCloudAiplatformV1beta1Fact(typing_extensions.TypedDict, total=False) vectorDistance: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1FailedRubric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FailedRubric(typing.TypedDict, total=False): classificationRationale: str rubricId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FasterDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FasterDeploymentConfig(typing.TypedDict, total=False): fastTryoutEnabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1Feature(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Feature(typing.TypedDict, total=False): createTime: str description: str disableMonitoring: bool @@ -5216,7 +5291,7 @@ class GoogleCloudAiplatformV1beta1Feature(typing_extensions.TypedDict, total=Fal name: str pointOfContact: str updateTime: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "BOOL_ARRAY", @@ -5232,9 +5307,7 @@ class GoogleCloudAiplatformV1beta1Feature(typing_extensions.TypedDict, total=Fal versionColumnName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureGroup(typing.TypedDict, total=False): bigQuery: GoogleCloudAiplatformV1beta1FeatureGroupBigQuery createTime: str description: str @@ -5242,7 +5315,7 @@ class GoogleCloudAiplatformV1beta1FeatureGroup( labels: dict[str, typing.Any] name: str serviceAccountEmail: str - serviceAgentType: typing_extensions.Literal[ + serviceAgentType: typing.Literal[ "SERVICE_AGENT_TYPE_UNSPECIFIED", "SERVICE_AGENT_TYPE_PROJECT", "SERVICE_AGENT_TYPE_FEATURE_GROUP", @@ -5250,9 +5323,7 @@ class GoogleCloudAiplatformV1beta1FeatureGroup( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureGroupBigQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureGroupBigQuery(typing.TypedDict, total=False): bigQuerySource: GoogleCloudAiplatformV1beta1BigQuerySource dense: bool entityIdColumns: _list[str] @@ -5261,14 +5332,12 @@ class GoogleCloudAiplatformV1beta1FeatureGroupBigQuery( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureGroupBigQueryTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timestampColumn: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureMonitor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureMonitor(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -5279,9 +5348,7 @@ class GoogleCloudAiplatformV1beta1FeatureMonitor( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureMonitorJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureMonitorJob(typing.TypedDict, total=False): createTime: str description: str driftBaseFeatureMonitorJobId: str @@ -5291,7 +5358,7 @@ class GoogleCloudAiplatformV1beta1FeatureMonitorJob( jobSummary: GoogleCloudAiplatformV1beta1FeatureMonitorJobJobSummary labels: dict[str, typing.Any] name: str - triggerType: typing_extensions.Literal[ + triggerType: typing.Literal[ "FEATURE_MONITOR_JOB_TRIGGER_UNSPECIFIED", "FEATURE_MONITOR_JOB_TRIGGER_PERIODIC", "FEATURE_MONITOR_JOB_TRIGGER_ON_DEMAND", @@ -5299,37 +5366,33 @@ class GoogleCloudAiplatformV1beta1FeatureMonitorJob( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureMonitorJobJobSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureStatsAndAnomalies: _list[GoogleCloudAiplatformV1beta1FeatureStatsAndAnomaly] totalSlotMs: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureStatsAnomaly: GoogleCloudAiplatformV1beta1FeatureStatsAnomaly - objective: typing_extensions.Literal[ + objective: typing.Literal[ "OBJECTIVE_UNSPECIFIED", "IMPORT_FEATURE_ANALYSIS", "SNAPSHOT_ANALYSIS" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureNoiseSigma( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureNoiseSigma(typing.TypedDict, total=False): noiseSigma: _list[GoogleCloudAiplatformV1beta1FeatureNoiseSigmaNoiseSigmaForFeature] @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureNoiseSigmaNoiseSigmaForFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str sigma: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureOnlineStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureOnlineStore(typing.TypedDict, total=False): bigtable: GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtable createTime: str dedicatedServingEndpoint: ( @@ -5345,12 +5408,12 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStore( optimized: GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] + state: typing.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoScaling: GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling bigtableMetadata: ( @@ -5361,7 +5424,7 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtable( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpuUtilizationTarget: int maxNodeCount: int @@ -5369,7 +5432,7 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instanceId: str tableId: str @@ -5377,7 +5440,7 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): privateServiceConnectConfig: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig publicEndpointDomainName: str @@ -5385,40 +5448,34 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureSelectionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureSelectionConfig(typing.TypedDict, total=False): featureConfigs: _list[ GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig ] @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): driftThreshold: float featureId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureSelector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureSelector(typing.TypedDict, total=False): idMatcher: GoogleCloudAiplatformV1beta1IdMatcher @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureStatsAndAnomaly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureStatsAndAnomaly(typing.TypedDict, total=False): distributionDeviation: float driftDetected: bool driftDetectionThreshold: float @@ -5429,9 +5486,7 @@ class GoogleCloudAiplatformV1beta1FeatureStatsAndAnomaly( statsTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureStatsAnomaly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureStatsAnomaly(typing.TypedDict, total=False): anomalyDetectionThreshold: float anomalyUri: str distributionDeviation: float @@ -5441,9 +5496,7 @@ class GoogleCloudAiplatformV1beta1FeatureStatsAnomaly( statsUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureValue(typing.TypedDict, total=False): boolArrayValue: GoogleCloudAiplatformV1beta1BoolArray boolValue: bool bytesValue: str @@ -5458,26 +5511,22 @@ class GoogleCloudAiplatformV1beta1FeatureValue( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureValueDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination csvDestination: GoogleCloudAiplatformV1beta1CsvDestination tfrecordDestination: GoogleCloudAiplatformV1beta1TFRecordDestination @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureValueList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureValueList(typing.TypedDict, total=False): values: _list[GoogleCloudAiplatformV1beta1FeatureValue] @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureValueMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureValueMetadata(typing.TypedDict, total=False): generateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureView(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1FeatureView(typing.TypedDict, total=False): bigQuerySource: GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource bigtableMetadata: GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata createTime: str @@ -5490,7 +5539,7 @@ class GoogleCloudAiplatformV1beta1FeatureView(typing_extensions.TypedDict, total satisfiesPzi: bool satisfiesPzs: bool serviceAccountEmail: str - serviceAgentType: typing_extensions.Literal[ + serviceAgentType: typing.Literal[ "SERVICE_AGENT_TYPE_UNSPECIFIED", "SERVICE_AGENT_TYPE_PROJECT", "SERVICE_AGENT_TYPE_FEATURE_VIEW", @@ -5502,33 +5551,31 @@ class GoogleCloudAiplatformV1beta1FeatureView(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityIdColumns: _list[str] uri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): readAppProfile: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureViewDataKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureViewDataKey(typing.TypedDict, total=False): compositeKey: GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey key: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parts: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataKeyAndFeatureValues: _list[ GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValues @@ -5536,7 +5583,7 @@ class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataKey: GoogleCloudAiplatformV1beta1FeatureViewDataKey features: _list[ @@ -5545,7 +5592,7 @@ class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeature @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: GoogleCloudAiplatformV1beta1FeatureValue @@ -5553,14 +5600,14 @@ class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeature @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timestamp: str value: GoogleCloudAiplatformV1beta1FeatureValue @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): status: GoogleRpcStatus writeResponses: _list[ @@ -5569,14 +5616,14 @@ class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseWriteResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataKey: GoogleCloudAiplatformV1beta1FeatureViewDataKey onlineStoreWriteTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureGroups: _list[ GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup @@ -5585,18 +5632,16 @@ class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureGroupId: str featureIds: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureViewIndexConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureViewIndexConfig(typing.TypedDict, total=False): bruteForceConfig: GoogleCloudAiplatformV1beta1FeatureViewIndexConfigBruteForceConfig crowdingColumn: str - distanceMeasureType: typing_extensions.Literal[ + distanceMeasureType: typing.Literal[ "DISTANCE_MEASURE_TYPE_UNSPECIFIED", "SQUARED_L2_DISTANCE", "COSINE_DISTANCE", @@ -5609,25 +5654,23 @@ class GoogleCloudAiplatformV1beta1FeatureViewIndexConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewIndexConfigBruteForceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewIndexConfigTreeAHConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leafNodeEmbeddingCount: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewOptimizedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automaticResources: GoogleCloudAiplatformV1beta1AutomaticResources @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureViewSync( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureViewSync(typing.TypedDict, total=False): createTime: str finalStatus: GoogleRpcStatus name: str @@ -5637,15 +5680,13 @@ class GoogleCloudAiplatformV1beta1FeatureViewSync( syncSummary: GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary @typing.type_check_only -class GoogleCloudAiplatformV1beta1FeatureViewSyncConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeatureViewSyncConfig(typing.TypedDict, total=False): continuous: bool cron: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rowSynced: str systemWatermarkTime: str @@ -5653,13 +5694,13 @@ class GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bruteForceConfig: ( GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigBruteForceConfig ) crowdingColumn: str - distanceMeasureType: typing_extensions.Literal[ + distanceMeasureType: typing.Literal[ "DISTANCE_MEASURE_TYPE_UNSPECIFIED", "SQUARED_L2_DISTANCE", "COSINE_DISTANCE", @@ -5672,26 +5713,24 @@ class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigBruteForceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAHConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leafNodeEmbeddingCount: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureViewVertexRagSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragCorpusId: str uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Featurestore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1Featurestore(typing.TypedDict, total=False): createTime: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec etag: str @@ -5701,12 +5740,12 @@ class GoogleCloudAiplatformV1beta1Featurestore( onlineStorageTtlDays: int satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] + state: typing.Literal["STATE_UNSPECIFIED", "STABLE", "UPDATING"] updateTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoricalThresholdConfig: ( GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigThresholdConfig @@ -5723,21 +5762,19 @@ class GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigImportFeaturesAnalysis( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - anomalyDetectionBaseline: typing_extensions.Literal[ + anomalyDetectionBaseline: typing.Literal[ "BASELINE_UNSPECIFIED", "LATEST_STATS", "MOST_RECENT_SNAPSHOT_STATS", "PREVIOUS_IMPORT_FEATURES_STATS", ] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "DEFAULT", "ENABLED", "DISABLED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "DEFAULT", "ENABLED", "DISABLED"] @typing.type_check_only class GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigSnapshotAnalysis( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabled: bool monitoringInterval: str @@ -5746,55 +5783,72 @@ class GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigSnapshotAnalysis( @typing.type_check_only class GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigThresholdConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: float @typing.type_check_only class GoogleCloudAiplatformV1beta1FeaturestoreOnlineServingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fixedNodeCount: int scaling: GoogleCloudAiplatformV1beta1FeaturestoreOnlineServingConfigScaling @typing.type_check_only class GoogleCloudAiplatformV1beta1FeaturestoreOnlineServingConfigScaling( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpuUtilizationTarget: int maxNodeCount: int minNodeCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1FetchExamplesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FeedbackContext(typing.TypedDict, total=False): + contextEvents: _list[GoogleCloudAiplatformV1beta1SessionEvent] + name: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FeedbackEntry(typing.TypedDict, total=False): + createTime: str + customMetadata: dict[str, typing.Any] + eventId: str + feedbackLabels: _list[str] + feedbackText: str + feedbackType: typing.Literal[ + "FEEDBACK_TYPE_UNSPECIFIED", "THUMBS_UP", "THUMBS_DOWN" + ] + name: str + sessionId: str + source: str + updateTime: str + userId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FetchExamplesRequest(typing.TypedDict, total=False): exampleIds: _list[str] pageSize: int pageToken: str storedContentsExampleFilter: GoogleCloudAiplatformV1beta1StoredContentsExampleFilter @typing.type_check_only -class GoogleCloudAiplatformV1beta1FetchExamplesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FetchExamplesResponse(typing.TypedDict, total=False): examples: _list[GoogleCloudAiplatformV1beta1Example] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal[ + dataFormat: typing.Literal[ "FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED", "KEY_VALUE", "PROTO_STRUCT" ] dataKey: GoogleCloudAiplatformV1beta1FeatureViewDataKey - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "KEY_VALUE", "PROTO_STRUCT"] + format: typing.Literal["FORMAT_UNSPECIFIED", "KEY_VALUE", "PROTO_STRUCT"] id: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataKey: GoogleCloudAiplatformV1beta1FeatureViewDataKey keyValues: ( @@ -5804,7 +5858,7 @@ class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[ GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair @@ -5812,45 +5866,43 @@ class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePair @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: GoogleCloudAiplatformV1beta1FeatureValue @typing.type_check_only class GoogleCloudAiplatformV1beta1FetchPredictOperationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operationName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FileData(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1FileData(typing.TypedDict, total=False): displayName: str fileUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FileStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1FileStatus(typing.TypedDict, total=False): errorStatus: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1FilterSplit(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1FilterSplit(typing.TypedDict, total=False): testFilter: str trainingFilter: str validationFilter: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FindNeighborsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FindNeighborsRequest(typing.TypedDict, total=False): deployedIndexId: str queries: _list[GoogleCloudAiplatformV1beta1FindNeighborsRequestQuery] returnFullDatapoint: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1FindNeighborsRequestQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approximateNeighborCount: int datapoint: GoogleCloudAiplatformV1beta1IndexDatapoint @@ -5861,119 +5913,95 @@ class GoogleCloudAiplatformV1beta1FindNeighborsRequestQuery( @typing.type_check_only class GoogleCloudAiplatformV1beta1FindNeighborsRequestQueryRRF( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alpha: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1FindNeighborsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FindNeighborsResponse(typing.TypedDict, total=False): nearestNeighbors: _list[ GoogleCloudAiplatformV1beta1FindNeighborsResponseNearestNeighbors ] @typing.type_check_only class GoogleCloudAiplatformV1beta1FindNeighborsResponseNearestNeighbors( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str neighbors: _list[GoogleCloudAiplatformV1beta1FindNeighborsResponseNeighbor] @typing.type_check_only class GoogleCloudAiplatformV1beta1FindNeighborsResponseNeighbor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datapoint: GoogleCloudAiplatformV1beta1IndexDatapoint distance: float sparseDistance: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1FlexStart(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1FlexStart(typing.TypedDict, total=False): maxRuntimeDuration: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FluencyInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FluencyInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1FluencyInstance metricSpec: GoogleCloudAiplatformV1beta1FluencySpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1FluencyInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FluencyInstance(typing.TypedDict, total=False): prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FluencyResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FluencyResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1FluencySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1FluencySpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1FractionSplit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FractionSplit(typing.TypedDict, total=False): testFraction: float trainingFraction: float validationFraction: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1FulfillmentInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FulfillmentInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1FulfillmentInstance metricSpec: GoogleCloudAiplatformV1beta1FulfillmentSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1FulfillmentInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FulfillmentInstance(typing.TypedDict, total=False): instruction: str prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FulfillmentResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FulfillmentResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1FulfillmentSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FulfillmentSpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1FullFineTunedResources( - typing_extensions.TypedDict, total=False -): - deploymentType: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1FullFineTunedResources(typing.TypedDict, total=False): + deploymentType: typing.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "DEPLOYMENT_TYPE_EVAL", "DEPLOYMENT_TYPE_PROD" ] modelInferenceUnitCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1FullFineTuningSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FullFineTuningSpec(typing.TypedDict, total=False): hyperParameters: GoogleCloudAiplatformV1beta1SupervisedHyperParameters trainingDatasetUri: str validationDatasetUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionCall( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionCall(typing.TypedDict, total=False): args: dict[str, typing.Any] id: str name: str @@ -5981,20 +6009,14 @@ class GoogleCloudAiplatformV1beta1FunctionCall( willContinue: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionCallingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionCallingConfig(typing.TypedDict, total=False): allowedFunctionNames: _list[str] - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED"] streamFunctionCallArguments: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionDeclaration( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal["UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] +class GoogleCloudAiplatformV1beta1FunctionDeclaration(typing.TypedDict, total=False): + behavior: typing.Literal["UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] description: str name: str parameters: GoogleCloudAiplatformV1beta1Schema @@ -6003,50 +6025,43 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration( responseJsonSchema: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionResponse(typing.TypedDict, total=False): id: str name: str parts: _list[GoogleCloudAiplatformV1beta1FunctionResponsePart] response: dict[str, typing.Any] - scheduling: typing_extensions.Literal[ + scheduling: typing.Literal[ "SCHEDULING_UNSPECIFIED", "SILENT", "WHEN_IDLE", "INTERRUPT" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionResponseBlob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionResponseBlob(typing.TypedDict, total=False): data: str displayName: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionResponseFileData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str fileUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionResponsePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionResponsePart(typing.TypedDict, total=False): fileData: GoogleCloudAiplatformV1beta1FunctionResponseFileData inlineData: GoogleCloudAiplatformV1beta1FunctionResponseBlob @typing.type_check_only -class GoogleCloudAiplatformV1beta1GatewayConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GatewayConfig(typing.TypedDict, total=False): + allowedProjects: _list[str] dnsRecord: str dnsZoneName: str ipAddress: str network: str pscEndpoint: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "ACTIVE", @@ -6057,23 +6072,23 @@ class GoogleCloudAiplatformV1beta1GatewayConfig( subnetwork: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GcsDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1GcsSource(typing.TypedDict, total=False): uris: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1GdcConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1GdcConfig(typing.TypedDict, total=False): zone: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GeminiExample( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GeminiAgentConfig(typing.TypedDict, total=False): + geminiAgent: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GeminiExample(typing.TypedDict, total=False): cachedContent: str contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig @@ -6087,53 +6102,51 @@ class GoogleCloudAiplatformV1beta1GeminiExample( @typing.type_check_only class GoogleCloudAiplatformV1beta1GeminiPreferenceExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completions: _list[GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion] contents: _list[GoogleCloudAiplatformV1beta1Content] @typing.type_check_only class GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completion: GoogleCloudAiplatformV1beta1Content score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assembledRequestColumnName: str templateConfig: GoogleCloudAiplatformV1beta1GeminiTemplateConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1GeminiTemplateConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GeminiTemplateConfig(typing.TypedDict, total=False): fieldMapping: dict[str, typing.Any] geminiExample: GoogleCloudAiplatformV1beta1GeminiExample @typing.type_check_only class GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragConfig: GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfigRagConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfigRagConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableRag: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vmToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: str expiresIn: int @@ -6141,9 +6154,7 @@ class GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse( tokenType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GenerateContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GenerateContentRequest(typing.TypedDict, total=False): cachedContent: str contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig @@ -6156,7 +6167,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateContentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1Candidate] createTime: str @@ -6167,9 +6178,9 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - blockReason: typing_extensions.Literal[ + blockReason: typing.Literal[ "BLOCKED_REASON_UNSPECIFIED", "SAFETY", "OTHER", @@ -6184,7 +6195,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cacheTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] cachedContentTokenCount: int @@ -6196,29 +6207,30 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( toolUsePromptTokenCount: int toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalTokenCount: int - trafficType: typing_extensions.Literal[ + trafficType: typing.Literal[ "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "ON_DEMAND_PRIORITY", "ON_DEMAND_FLEX", + "ON_DEMAND_OFFPEAK", "PROVISIONED_THROUGHPUT", ] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: str expireTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentConfig: GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentConfig contents: _list[GoogleCloudAiplatformV1beta1Content] @@ -6229,19 +6241,19 @@ class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatedRubrics: _list[GoogleCloudAiplatformV1beta1Rubric] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateLossClustersOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateLossClustersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleCloudAiplatformV1beta1LossAnalysisConfig] evaluationSet: str @@ -6251,20 +6263,20 @@ class GoogleCloudAiplatformV1beta1GenerateLossClustersRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateLossClustersRequestEvaluationResultList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationResults: _list[GoogleCloudAiplatformV1beta1EvaluationResult] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateLossClustersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisTime: str results: _list[GoogleCloudAiplatformV1beta1LossAnalysisResult] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedTopics: _list[GoogleCloudAiplatformV1beta1MemoryTopicId] directContentsSource: ( @@ -6276,7 +6288,7 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest( disableConsolidation: bool disableMemoryRevisions: bool metadata: dict[str, typing.Any] - metadataMergeStrategy: typing_extensions.Literal[ + metadataMergeStrategy: typing.Literal[ "METADATA_MERGE_STRATEGY_UNSPECIFIED", "OVERWRITE", "MERGE", @@ -6292,7 +6304,7 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[ GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent @@ -6300,13 +6312,13 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1beta1Content @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): directMemories: _list[ GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory @@ -6314,14 +6326,14 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fact: str topics: _list[GoogleCloudAiplatformV1beta1MemoryTopicId] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str session: str @@ -6329,7 +6341,7 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: int examples: _list[GoogleCloudAiplatformV1beta1SyntheticExample] @@ -6338,16 +6350,17 @@ class GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): syntheticExamples: _list[GoogleCloudAiplatformV1beta1SyntheticExample] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agents: dict[str, typing.Any] allowCrossRegionModel: bool + geminiAgentConfig: GoogleCloudAiplatformV1beta1GeminiAgentConfig rootAgentId: str userScenarioGenerationConfig: ( GoogleCloudAiplatformV1beta1UserScenarioGenerationConfig @@ -6355,14 +6368,12 @@ class GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateUserScenariosResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userScenarios: _list[GoogleCloudAiplatformV1beta1UserScenario] @typing.type_check_only -class GoogleCloudAiplatformV1beta1GenerateVideoResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GenerateVideoResponse(typing.TypedDict, total=False): generatedSamples: _list[str] raiMediaFilteredCount: int raiMediaFilteredReasons: _list[str] @@ -6370,24 +6381,23 @@ class GoogleCloudAiplatformV1beta1GenerateVideoResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bytesBase64Encoded: str gcsUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GenerationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GenerationConfig(typing.TypedDict, total=False): audioTimestamp: bool + audioTranscriptionConfig: GoogleCloudAiplatformV1beta1AudioTranscriptionConfig candidateCount: int enableAffectiveDialog: bool frequencyPenalty: float imageConfig: GoogleCloudAiplatformV1beta1ImageConfig logprobs: int maxOutputTokens: int - mediaResolution: typing_extensions.Literal[ + mediaResolution: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", @@ -6400,9 +6410,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( responseLogprobs: bool responseMimeType: str responseModalities: _list[ - typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "AUDIO", "VIDEO" - ] + typing.Literal["MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "AUDIO", "VIDEO"] ] responseSchema: GoogleCloudAiplatformV1beta1Schema routingConfig: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig @@ -6416,9 +6424,9 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - featureSelectionPreference: typing_extensions.Literal[ + featureSelectionPreference: typing.Literal[ "FEATURE_SELECTION_PREFERENCE_UNSPECIFIED", "PRIORITIZE_QUALITY", "BALANCED", @@ -6427,7 +6435,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoMode: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode manualMode: ( @@ -6436,115 +6444,111 @@ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelRoutingPreference: typing_extensions.Literal[ + modelRoutingPreference: typing.Literal[ "UNKNOWN", "PRIORITIZE_QUALITY", "BALANCED", "PRIORITIZE_COST" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeThoughts: bool thinkingBudget: int - thinkingLevel: typing_extensions.Literal[ + thinkingLevel: typing.Literal[ "THINKING_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenericOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str partialFailures: _list[GoogleRpcStatus] updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GenieSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1GenieSource(typing.TypedDict, total=False): baseModelUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GoogleDriveSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GoogleDriveSource(typing.TypedDict, total=False): resourceIds: _list[GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId] @typing.type_check_only class GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_FILE", "RESOURCE_TYPE_FOLDER" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1GoogleMaps(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1GoogleMaps(typing.TypedDict, total=False): enableWidget: bool + groundingTypes: GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes @typing.type_check_only -class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes( + typing.TypedDict, total=False ): + places: GoogleCloudAiplatformV1beta1GoogleMapsPlaces + routing: GoogleCloudAiplatformV1beta1GoogleMapsRouting + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleMapsPlaces(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleMapsRouting(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval(typing.TypedDict, total=False): dynamicRetrievalConfig: GoogleCloudAiplatformV1beta1DynamicRetrievalConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundednessInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundednessInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1GroundednessInstance metricSpec: GoogleCloudAiplatformV1beta1GroundednessSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundednessInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundednessInstance(typing.TypedDict, total=False): context: str prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundednessResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundednessResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundednessSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundednessSpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunk( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunk(typing.TypedDict, total=False): image: GoogleCloudAiplatformV1beta1GroundingChunkImage maps: GoogleCloudAiplatformV1beta1GroundingChunkMaps retrievedContext: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext web: GoogleCloudAiplatformV1beta1GroundingChunkWeb @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunkImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunkImage(typing.TypedDict, total=False): domain: str imageUri: str sourceUri: str title: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunkMaps( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunkMaps(typing.TypedDict, total=False): placeAnswerSources: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources placeId: str route: GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute @@ -6554,7 +6558,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMaps( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): reviewSnippets: _list[ GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet @@ -6562,7 +6566,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleMapsUri: str reviewId: str @@ -6570,7 +6574,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnip @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distanceMeters: int duration: str @@ -6578,7 +6582,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentName: str ragChunk: GoogleCloudAiplatformV1beta1RagChunk @@ -6587,17 +6591,13 @@ class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunkWeb( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunkWeb(typing.TypedDict, total=False): domain: str title: str uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingMetadata(typing.TypedDict, total=False): googleMapsWidgetContextToken: str groundingChunks: _list[GoogleCloudAiplatformV1beta1GroundingChunk] groundingSupports: _list[GoogleCloudAiplatformV1beta1GroundingSupport] @@ -6612,15 +6612,13 @@ class GoogleCloudAiplatformV1beta1GroundingMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flagContentUri: str sourceId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingSupport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingSupport(typing.TypedDict, total=False): confidenceScores: _list[float] groundingChunkIndices: _list[int] renderedParts: _list[int] @@ -6628,7 +6626,7 @@ class GoogleCloudAiplatformV1beta1GroundingSupport( @typing.type_check_only class GoogleCloudAiplatformV1beta1HyperparameterTuningJob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str displayName: str @@ -6643,7 +6641,7 @@ class GoogleCloudAiplatformV1beta1HyperparameterTuningJob( satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -6663,18 +6661,18 @@ class GoogleCloudAiplatformV1beta1HyperparameterTuningJob( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1IdMatcher(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1IdMatcher(typing.TypedDict, total=False): ids: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ImageConfig(typing.TypedDict, total=False): aspectRatio: str imageOutputOptions: GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions imageSize: str - personGeneration: typing_extensions.Literal[ + personGeneration: typing.Literal[ "PERSON_GENERATION_UNSPECIFIED", "ALLOW_ALL", "ALLOW_ADULT", "ALLOW_NONE" ] - prominentPeople: typing_extensions.Literal[ + prominentPeople: typing.Literal[ "PROMINENT_PEOPLE_UNSPECIFIED", "ALLOW_PROMINENT_PEOPLE", "BLOCK_PROMINENT_PEOPLE", @@ -6682,16 +6680,14 @@ class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compressionQuality: int mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImageResponseFormat( - typing_extensions.TypedDict, total=False -): - aspectRatio: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1ImageResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ "ASPECT_RATIO_UNSPECIFIED", "ASPECT_RATIO_ONE_BY_ONE", "ASPECT_RATIO_TWO_BY_THREE", @@ -6708,20 +6704,18 @@ class GoogleCloudAiplatformV1beta1ImageResponseFormat( "ASPECT_RATIO_ONE_BY_FOUR", "ASPECT_RATIO_FOUR_BY_ONE", ] - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - imageSize: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + imageSize: typing.Literal[ "IMAGE_SIZE_UNSPECIFIED", "IMAGE_SIZE_FIVE_TWELVE", "IMAGE_SIZE_ONE_K", "IMAGE_SIZE_TWO_K", "IMAGE_SIZE_FOUR_K", ] - mimeType: typing_extensions.Literal["MIME_TYPE_UNSPECIFIED", "IMAGE_JPEG"] + mimeType: typing.Literal["MIME_TYPE_UNSPECIFIED", "IMAGE_JPEG"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImportDataConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ImportDataConfig(typing.TypedDict, total=False): annotationLabels: dict[str, typing.Any] dataItemLabels: dict[str, typing.Any] gcsSource: GoogleCloudAiplatformV1beta1GcsSource @@ -6729,24 +6723,20 @@ class GoogleCloudAiplatformV1beta1ImportDataConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImportDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ImportDataRequest(typing.TypedDict, total=False): importConfigs: _list[GoogleCloudAiplatformV1beta1ImportDataConfig] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImportDataResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1ImportDataResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentEngineSource: ( GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestAgentEngineSource @@ -6759,10 +6749,13 @@ class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest( gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination gcsSource: GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestGcsSource inlineSource: GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInlineSource + interactionsSource: ( + GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource + ) @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestAgentEngineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str projectId: str @@ -6771,7 +6764,7 @@ class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestAgentEngineSource( @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str sessionIds: _list[str] @@ -6779,7 +6772,7 @@ class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestCloudTraceSource( @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str importSchemaConfig: ( @@ -6788,31 +6781,38 @@ class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestGcsSource( @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestImportSchemaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal[ + dataFormat: typing.Literal[ "DATA_FORMAT_UNSPECIFIED", "OTEL_PROTO", "OTEL_JSON", "JSONL" ] dataFormatVersion: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str importSchemaConfig: ( GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestImportSchemaConfig ) +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource( + typing.TypedDict, total=False +): + geminiAgentConfig: GoogleCloudAiplatformV1beta1GeminiAgentConfig + interactions: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportExtensionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportFeatureValuesOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockingOperationIds: _list[str] genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @@ -6824,7 +6824,7 @@ class GoogleCloudAiplatformV1beta1ImportFeatureValuesOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): avroSource: GoogleCloudAiplatformV1beta1AvroSource bigquerySource: GoogleCloudAiplatformV1beta1BigQuerySource @@ -6841,14 +6841,14 @@ class GoogleCloudAiplatformV1beta1ImportFeatureValuesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportFeatureValuesRequestFeatureSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str sourceField: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): importedEntityCount: str importedFeatureValueCount: str @@ -6856,28 +6856,26 @@ class GoogleCloudAiplatformV1beta1ImportFeatureValuesResponse( timestampOutsideRetentionRowsCount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImportIndexRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ImportIndexRequest(typing.TypedDict, total=False): config: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig isCompleteOverwrite: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigQuerySourceConfig: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datapointFieldMapping: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping tablePath: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingColumn: str idColumn: str @@ -6891,17 +6889,15 @@ class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFiel @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingNumericRestrict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): namespace: str valueColumn: str - valueType: typing_extensions.Literal[ - "VALUE_TYPE_UNSPECIFIED", "INT", "FLOAT", "DOUBLE" - ] + valueType: typing.Literal["VALUE_TYPE_UNSPECIFIED", "INT", "FLOAT", "DOUBLE"] @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingRestrict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowColumn: _list[str] denyColumn: _list[str] @@ -6909,14 +6905,12 @@ class GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFiel @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportModelEvaluationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluation: GoogleCloudAiplatformV1beta1ModelEvaluation @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImportRagFilesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ImportRagFilesConfig(typing.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1beta1GcsSource globalMaxEmbeddingRequestsPerMin: int googleDriveSource: GoogleCloudAiplatformV1beta1GoogleDriveSource @@ -6935,13 +6929,11 @@ class GoogleCloudAiplatformV1beta1ImportRagFilesConfig( slackSource: GoogleCloudAiplatformV1beta1SlackSource @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImportRagFilesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ImportRagFilesRequest(typing.TypedDict, total=False): importRagFilesConfig: GoogleCloudAiplatformV1beta1ImportRagFilesConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1Index(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Index(typing.TypedDict, total=False): createTime: str deployedIndexes: _list[GoogleCloudAiplatformV1beta1DeployedIndexRef] description: str @@ -6949,7 +6941,7 @@ class GoogleCloudAiplatformV1beta1Index(typing_extensions.TypedDict, total=False encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec etag: str indexStats: GoogleCloudAiplatformV1beta1IndexStats - indexUpdateMethod: typing_extensions.Literal[ + indexUpdateMethod: typing.Literal[ "INDEX_UPDATE_METHOD_UNSPECIFIED", "BATCH_UPDATE", "STREAM_UPDATE" ] labels: dict[str, typing.Any] @@ -6961,9 +6953,7 @@ class GoogleCloudAiplatformV1beta1Index(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1IndexDatapoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1IndexDatapoint(typing.TypedDict, total=False): crowdingTag: GoogleCloudAiplatformV1beta1IndexDatapointCrowdingTag datapointId: str embeddingMetadata: dict[str, typing.Any] @@ -6976,16 +6966,16 @@ class GoogleCloudAiplatformV1beta1IndexDatapoint( @typing.type_check_only class GoogleCloudAiplatformV1beta1IndexDatapointCrowdingTag( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crowdingAttribute: str @typing.type_check_only class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): namespace: str - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS", "LESS_EQUAL", @@ -7000,7 +6990,7 @@ class GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction( @typing.type_check_only class GoogleCloudAiplatformV1beta1IndexDatapointRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowList: _list[str] denyList: _list[str] @@ -7008,15 +6998,13 @@ class GoogleCloudAiplatformV1beta1IndexDatapointRestriction( @typing.type_check_only class GoogleCloudAiplatformV1beta1IndexDatapointSparseEmbedding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] values: _list[float] @typing.type_check_only -class GoogleCloudAiplatformV1beta1IndexEndpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1IndexEndpoint(typing.TypedDict, total=False): createTime: str deployedIndexes: _list[GoogleCloudAiplatformV1beta1DeployedIndex] description: str @@ -7035,47 +7023,58 @@ class GoogleCloudAiplatformV1beta1IndexEndpoint( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1IndexPrivateEndpoints( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1IndexPrivateEndpoints(typing.TypedDict, total=False): matchGrpcAddress: str pscAutomatedEndpoints: _list[GoogleCloudAiplatformV1beta1PscAutomatedEndpoints] serviceAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1IndexStats(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1IndexStats(typing.TypedDict, total=False): shardsCount: int sparseVectorsCount: str vectorsCount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1IngestEventsRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1InferenceEventLoggingConfig( + typing.TypedDict, total=False ): + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1IngestEventsRequest(typing.TypedDict, total=False): directContentsSource: GoogleCloudAiplatformV1beta1IngestionDirectContentsSource + disableMemoryRevisions: bool forceFlush: bool generationTriggerConfig: GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig + metadata: dict[str, typing.Any] + metadataMergeStrategy: typing.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 @typing.type_check_only class GoogleCloudAiplatformV1beta1IngestionDirectContentsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[GoogleCloudAiplatformV1beta1IngestionDirectContentsSourceEvent] @typing.type_check_only class GoogleCloudAiplatformV1beta1IngestionDirectContentsSourceEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1beta1Content eventId: str eventTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1InputDataConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1InputDataConfig(typing.TypedDict, total=False): annotationSchemaUri: str annotationsFilter: str bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination @@ -7090,12 +7089,12 @@ class GoogleCloudAiplatformV1beta1InputDataConfig( timestampSplit: GoogleCloudAiplatformV1beta1TimestampSplit @typing.type_check_only -class GoogleCloudAiplatformV1beta1Int64Array(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Int64Array(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1IntegratedGradientsAttribution( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blurBaselineConfig: GoogleCloudAiplatformV1beta1BlurBaselineConfig smoothGradConfig: GoogleCloudAiplatformV1beta1SmoothGradConfig @@ -7103,7 +7102,7 @@ class GoogleCloudAiplatformV1beta1IntegratedGradientsAttribution( @typing.type_check_only class GoogleCloudAiplatformV1beta1IntermediateExtractedMemory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str fact: str @@ -7111,9 +7110,9 @@ class GoogleCloudAiplatformV1beta1IntermediateExtractedMemory( @typing.type_check_only class GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - serviceName: typing_extensions.Literal[ + serviceName: typing.Literal[ "INTERNAL_OS_SERVICE_ENUM_UNSPECIFIED", "DOCKER_SERVICE_STATE", "CONTROL_PLANE_API_DNS_STATE", @@ -7127,23 +7126,19 @@ class GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance( "GCR_DNS_STATE", "GUEST_ATTRIBUTE_STATE", ] - serviceState: typing_extensions.Literal["UNKNOWN", "HEALTHY", "UNHEALTHY"] + serviceState: typing.Literal["UNKNOWN", "HEALTHY", "UNHEALTHY"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1InvokeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1InvokeRequest(typing.TypedDict, total=False): deployedModelId: str httpBody: GoogleApiHttpBody @typing.type_check_only -class GoogleCloudAiplatformV1beta1JiraSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1JiraSource(typing.TypedDict, total=False): jiraQueries: _list[GoogleCloudAiplatformV1beta1JiraSourceJiraQueries] @typing.type_check_only -class GoogleCloudAiplatformV1beta1JiraSourceJiraQueries( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1JiraSourceJiraQueries(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig customQueries: _list[str] email: str @@ -7151,23 +7146,17 @@ class GoogleCloudAiplatformV1beta1JiraSourceJiraQueries( serverUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1KeepAliveProbe( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1KeepAliveProbe(typing.TypedDict, total=False): httpGet: GoogleCloudAiplatformV1beta1KeepAliveProbeHttpGet maxSeconds: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1KeepAliveProbeHttpGet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1KeepAliveProbeHttpGet(typing.TypedDict, total=False): path: str port: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1LLMBasedMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LLMBasedMetricSpec(typing.TypedDict, total=False): additionalConfig: dict[str, typing.Any] judgeAutoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig metricPromptTemplate: str @@ -7178,36 +7167,31 @@ class GoogleCloudAiplatformV1beta1LLMBasedMetricSpec( systemInstruction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1LargeModelReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LargeModelReference(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1LineageSubgraph( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LineageSubgraph(typing.TypedDict, total=False): artifacts: _list[GoogleCloudAiplatformV1beta1Artifact] events: _list[GoogleCloudAiplatformV1beta1Event] executions: _list[GoogleCloudAiplatformV1beta1Execution] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListA2aTaskEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + events: _list[GoogleCloudAiplatformV1beta1A2aTaskEvent] nextPageToken: str taskEvents: _list[GoogleCloudAiplatformV1beta1TaskEvent] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListA2aTasksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListA2aTasksResponse(typing.TypedDict, total=False): a2aTasks: _list[GoogleCloudAiplatformV1beta1A2aTask] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListAgentAnomalyDetectionScopesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAnomalyDetectionScopes: _list[ GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope @@ -7215,22 +7199,20 @@ class GoogleCloudAiplatformV1beta1ListAgentAnomalyDetectionScopesResponse( nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListAgentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListAgentsResponse(typing.TypedDict, total=False): agents: _list[GoogleCloudAiplatformV1beta1Agent] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListAnalyzedInvocationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyzedInvocations: _list[GoogleCloudAiplatformV1beta1AnalyzedInvocation] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListAnalyzedSessionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyzedSessions: _list[GoogleCloudAiplatformV1beta1AnalyzedSession] nextPageToken: str @@ -7238,7 +7220,7 @@ class GoogleCloudAiplatformV1beta1ListAnalyzedSessionsResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1ListAnalyzedSessionsResponseViewSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): anomalousAgentsCount: int anomalousSessionsCount: int @@ -7248,259 +7230,242 @@ class GoogleCloudAiplatformV1beta1ListAnalyzedSessionsResponseViewSummary( @typing.type_check_only class GoogleCloudAiplatformV1beta1ListAnnotationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: _list[GoogleCloudAiplatformV1beta1Annotation] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListArtifactsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListArtifactsResponse(typing.TypedDict, total=False): artifacts: _list[GoogleCloudAiplatformV1beta1Artifact] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): batchPredictionJobs: _list[GoogleCloudAiplatformV1beta1BatchPredictionJob] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListCachedContentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cachedContents: _list[GoogleCloudAiplatformV1beta1CachedContent] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListContextsResponse(typing.TypedDict, total=False): contexts: _list[GoogleCloudAiplatformV1beta1Context] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListCustomJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListCustomJobsResponse(typing.TypedDict, total=False): customJobs: _list[GoogleCloudAiplatformV1beta1CustomJob] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListDataItemsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListDataItemsResponse(typing.TypedDict, total=False): dataItems: _list[GoogleCloudAiplatformV1beta1DataItem] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataLabelingJobs: _list[GoogleCloudAiplatformV1beta1DataLabelingJob] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetVersions: _list[GoogleCloudAiplatformV1beta1DatasetVersion] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListDatasetsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListDatasetsResponse(typing.TypedDict, total=False): datasets: _list[GoogleCloudAiplatformV1beta1Dataset] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deploymentResourcePools: _list[GoogleCloudAiplatformV1beta1DeploymentResourcePool] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListEndpointsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[GoogleCloudAiplatformV1beta1Endpoint] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudAiplatformV1beta1EntityType] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationItems: _list[GoogleCloudAiplatformV1beta1EvaluationItem] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListEvaluationMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationMetrics: _list[GoogleCloudAiplatformV1beta1EvaluationMetric] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationRuns: _list[GoogleCloudAiplatformV1beta1EvaluationRun] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationSets: _list[GoogleCloudAiplatformV1beta1EvaluationSet] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListEventsResponse(typing.TypedDict, total=False): nextPageToken: str sessionEvents: _list[GoogleCloudAiplatformV1beta1SessionEvent] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListExampleStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exampleStores: _list[GoogleCloudAiplatformV1beta1ExampleStore] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListExecutionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[GoogleCloudAiplatformV1beta1Execution] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListExtensionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListExtensionsResponse(typing.TypedDict, total=False): extensions: _list[GoogleCloudAiplatformV1beta1Extension] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureGroups: _list[GoogleCloudAiplatformV1beta1FeatureGroup] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureMonitorJobs: _list[GoogleCloudAiplatformV1beta1FeatureMonitorJob] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureMonitors: _list[GoogleCloudAiplatformV1beta1FeatureMonitor] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureOnlineStores: _list[GoogleCloudAiplatformV1beta1FeatureOnlineStore] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureViewSyncs: _list[GoogleCloudAiplatformV1beta1FeatureViewSync] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListFeatureViewsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureViews: _list[GoogleCloudAiplatformV1beta1FeatureView] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListFeaturesResponse(typing.TypedDict, total=False): features: _list[GoogleCloudAiplatformV1beta1Feature] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListFeaturestoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featurestores: _list[GoogleCloudAiplatformV1beta1Featurestore] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListFeedbackEntriesResponse( + typing.TypedDict, total=False +): + feedbackEntries: _list[GoogleCloudAiplatformV1beta1FeedbackEntry] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hyperparameterTuningJobs: _list[GoogleCloudAiplatformV1beta1HyperparameterTuningJob] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListIndexEndpointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): indexEndpoints: _list[GoogleCloudAiplatformV1beta1IndexEndpoint] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListIndexesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListIndexesResponse(typing.TypedDict, total=False): indexes: _list[GoogleCloudAiplatformV1beta1Index] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListMemoriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListMemoriesResponse(typing.TypedDict, total=False): memories: _list[GoogleCloudAiplatformV1beta1Memory] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): memoryRevisions: _list[GoogleCloudAiplatformV1beta1MemoryRevision] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadataSchemas: _list[GoogleCloudAiplatformV1beta1MetadataSchema] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMetadataStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadataStores: _list[GoogleCloudAiplatformV1beta1MetadataStore] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelDeploymentMonitoringJobs: _list[ GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob @@ -7509,166 +7474,158 @@ class GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluationSlices: _list[GoogleCloudAiplatformV1beta1ModelEvaluationSlice] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelEvaluations: _list[GoogleCloudAiplatformV1beta1ModelEvaluation] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelMonitoringJobs: _list[GoogleCloudAiplatformV1beta1ModelMonitoringJob] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelMonitorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelMonitors: _list[GoogleCloudAiplatformV1beta1ModelMonitor] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): checkpoints: _list[GoogleCloudAiplatformV1beta1ModelVersionCheckpoint] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListModelVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): models: _list[GoogleCloudAiplatformV1beta1Model] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListModelsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListModelsResponse(typing.TypedDict, total=False): models: _list[GoogleCloudAiplatformV1beta1Model] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMonitoredAgentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monitoredAgents: _list[GoogleCloudAiplatformV1beta1MonitoredAgent] nextPageToken: str totalSize: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListNasJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListNasJobsResponse(typing.TypedDict, total=False): nasJobs: _list[GoogleCloudAiplatformV1beta1NasJob] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nasTrialDetails: _list[GoogleCloudAiplatformV1beta1NasTrialDetail] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notebookExecutionJobs: _list[GoogleCloudAiplatformV1beta1NotebookExecutionJob] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notebookRuntimeTemplates: _list[GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notebookRuntimes: _list[GoogleCloudAiplatformV1beta1NotebookRuntime] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListOnlineEvaluatorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str onlineEvaluators: _list[GoogleCloudAiplatformV1beta1OnlineEvaluator] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListOptimalTrialsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ListOptimalTrialsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): optimalTrials: _list[GoogleCloudAiplatformV1beta1Trial] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListPersistentResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str persistentResources: _list[GoogleCloudAiplatformV1beta1PersistentResource] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListPipelineJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str pipelineJobs: _list[GoogleCloudAiplatformV1beta1PipelineJob] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListPublisherModelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str publisherModels: _list[GoogleCloudAiplatformV1beta1PublisherModel] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListRagCorporaResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListRagCorporaResponse(typing.TypedDict, total=False): nextPageToken: str ragCorpora: _list[GoogleCloudAiplatformV1beta1RagCorpus] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListRagDataSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str ragDataSchemas: _list[GoogleCloudAiplatformV1beta1RagDataSchema] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListRagFilesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListRagFilesResponse(typing.TypedDict, total=False): nextPageToken: str ragFiles: _list[GoogleCloudAiplatformV1beta1RagFile] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListRagMetadataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str ragMetadata: _list[GoogleCloudAiplatformV1beta1RagMetadata] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListReasoningEngineRuntimeRevisionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str reasoningEngineRuntimeRevisions: _list[ @@ -7677,14 +7634,14 @@ class GoogleCloudAiplatformV1beta1ListReasoningEngineRuntimeRevisionsResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str reasoningEngines: _list[GoogleCloudAiplatformV1beta1ReasoningEngine] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSandboxEnvironmentSnapshotsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sandboxEnvironmentSnapshots: _list[ @@ -7693,7 +7650,7 @@ class GoogleCloudAiplatformV1beta1ListSandboxEnvironmentSnapshotsResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSandboxEnvironmentTemplatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sandboxEnvironmentTemplates: _list[ @@ -7702,28 +7659,26 @@ class GoogleCloudAiplatformV1beta1ListSandboxEnvironmentTemplatesResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sandboxEnvironments: _list[GoogleCloudAiplatformV1beta1SandboxEnvironment] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSavedQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str savedQueries: _list[GoogleCloudAiplatformV1beta1SavedQuery] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListSchedulesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListSchedulesResponse(typing.TypedDict, total=False): nextPageToken: str schedules: _list[GoogleCloudAiplatformV1beta1Schedule] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str semanticGovernancePolicies: _list[ @@ -7731,99 +7686,94 @@ class GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListSessionsResponse( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1ListServingProfilesResponse( + typing.TypedDict, total=False ): + nextPageToken: str + servingProfiles: _list[GoogleCloudAiplatformV1beta1ServingProfile] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListSessionsResponse(typing.TypedDict, total=False): nextPageToken: str sessions: _list[GoogleCloudAiplatformV1beta1Session] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str skillRevisions: _list[GoogleCloudAiplatformV1beta1SkillRevision] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListSkillsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListSkillsResponse(typing.TypedDict, total=False): nextPageToken: str skills: _list[GoogleCloudAiplatformV1beta1Skill] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str specialistPools: _list[GoogleCloudAiplatformV1beta1SpecialistPool] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListStudiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListStudiesResponse(typing.TypedDict, total=False): nextPageToken: str studies: _list[GoogleCloudAiplatformV1beta1Study] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str tensorboardExperiments: _list[GoogleCloudAiplatformV1beta1TensorboardExperiment] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListTensorboardRunsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str tensorboardRuns: _list[GoogleCloudAiplatformV1beta1TensorboardRun] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str tensorboardTimeSeries: _list[GoogleCloudAiplatformV1beta1TensorboardTimeSeries] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListTensorboardsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str tensorboards: _list[GoogleCloudAiplatformV1beta1Tensorboard] @typing.type_check_only class GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str trainingPipelines: _list[GoogleCloudAiplatformV1beta1TrainingPipeline] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListTrialsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListTrialsResponse(typing.TypedDict, total=False): nextPageToken: str trials: _list[GoogleCloudAiplatformV1beta1Trial] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ListTuningJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ListTuningJobsResponse(typing.TypedDict, total=False): nextPageToken: str tuningJobs: _list[GoogleCloudAiplatformV1beta1TuningJob] @typing.type_check_only -class GoogleCloudAiplatformV1beta1LogprobsResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LogprobsResult(typing.TypedDict, total=False): chosenCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] topCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates] @typing.type_check_only class GoogleCloudAiplatformV1beta1LogprobsResultCandidate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): logProbability: float token: str @@ -7831,63 +7781,55 @@ class GoogleCloudAiplatformV1beta1LogprobsResultCandidate( @typing.type_check_only class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] @typing.type_check_only -class GoogleCloudAiplatformV1beta1LookupStudyRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LookupStudyRequest(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1LossAnalysisConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LossAnalysisConfig(typing.TypedDict, total=False): candidate: str metric: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1LossAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LossAnalysisResult(typing.TypedDict, total=False): analysisTime: str clusters: _list[GoogleCloudAiplatformV1beta1LossCluster] config: GoogleCloudAiplatformV1beta1LossAnalysisConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1LossCluster(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1LossCluster(typing.TypedDict, total=False): clusterId: str examples: _list[GoogleCloudAiplatformV1beta1LossExample] itemCount: int taxonomyEntry: GoogleCloudAiplatformV1beta1LossTaxonomyEntry @typing.type_check_only -class GoogleCloudAiplatformV1beta1LossExample(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1LossExample(typing.TypedDict, total=False): evaluationItem: str evaluationResult: GoogleCloudAiplatformV1beta1EvaluationResult failedRubrics: _list[GoogleCloudAiplatformV1beta1FailedRubric] @typing.type_check_only -class GoogleCloudAiplatformV1beta1LossTaxonomyEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LossTaxonomyEntry(typing.TypedDict, total=False): description: str l1Category: str l2Category: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1LustreMount(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1LustreMount(typing.TypedDict, total=False): filesystem: str instanceIp: str mountPoint: str volumeHandle: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MachineSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1MachineSpec(typing.TypedDict, total=False): acceleratorCount: int - acceleratorType: typing_extensions.Literal[ + acceleratorType: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -7917,32 +7859,30 @@ class GoogleCloudAiplatformV1beta1MachineSpec(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1beta1ManualBatchTuningParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): batchSize: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1Measurement(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Measurement(typing.TypedDict, total=False): elapsedDuration: str metrics: _list[GoogleCloudAiplatformV1beta1MeasurementMetric] stepCount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MeasurementMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MeasurementMetric(typing.TypedDict, total=False): metricId: str value: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1Memory(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Memory(typing.TypedDict, total=False): createTime: str description: str disableMemoryRevisions: bool displayName: str expireTime: str fact: str - memoryType: typing_extensions.Literal[ + memoryType: typing.Literal[ "MEMORY_TYPE_UNSPECIFIED", "NATURAL_LANGUAGE_COLLECTION", "STRUCTURED_PROFILE" ] metadata: dict[str, typing.Any] @@ -7958,7 +7898,7 @@ class GoogleCloudAiplatformV1beta1Memory(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consolidationConfig: ( GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig @@ -7975,13 +7915,13 @@ class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigConsolidationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): revisionsPerCandidateCount: int @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationSource: GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource generatedMemories: _list[ @@ -7990,7 +7930,7 @@ class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesE @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[ GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent @@ -7998,36 +7938,36 @@ class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesE @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: GoogleCloudAiplatformV1beta1Content @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fact: str topics: _list[GoogleCloudAiplatformV1beta1MemoryTopicId] @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customMemoryTopic: GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic managedMemoryTopic: GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str label: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - managedTopicEnum: typing_extensions.Literal[ + managedTopicEnum: typing.Literal[ "MANAGED_TOPIC_ENUM_UNSPECIFIED", "USER_PERSONAL_INFO", "USER_PREFERENCES", @@ -8037,24 +7977,20 @@ class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManage @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filters: _list[GoogleCloudAiplatformV1beta1MemoryFilter] @typing.type_check_only -class GoogleCloudAiplatformV1beta1MemoryFilter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MemoryFilter(typing.TypedDict, total=False): key: str negate: bool - op: typing_extensions.Literal[ - "OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", "LESS_THAN" - ] + op: typing.Literal["OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", "LESS_THAN"] value: GoogleCloudAiplatformV1beta1MemoryMetadataValue @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generationRule: ( GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfigGenerationTriggerRule @@ -8062,32 +7998,27 @@ class GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfigGenerationTriggerRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventCount: int fixedInterval: str idleDuration: str + overlapEventCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1MemoryMetadataValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MemoryMetadataValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float stringValue: str timestampValue: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MemoryProfile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MemoryProfile(typing.TypedDict, total=False): profile: dict[str, typing.Any] schemaId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MemoryRevision( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MemoryRevision(typing.TypedDict, total=False): createTime: str expireTime: str extractedMemories: _list[GoogleCloudAiplatformV1beta1IntermediateExtractedMemory] @@ -8098,17 +8029,15 @@ class GoogleCloudAiplatformV1beta1MemoryRevision( @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryStructuredContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: dict[str, typing.Any] schemaId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MemoryTopicId( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MemoryTopicId(typing.TypedDict, total=False): customMemoryTopicLabel: str - managedMemoryTopic: typing_extensions.Literal[ + managedMemoryTopic: typing.Literal[ "MANAGED_TOPIC_ENUM_UNSPECIFIED", "USER_PERSONAL_INFO", "USER_PREFERENCES", @@ -8118,29 +8047,25 @@ class GoogleCloudAiplatformV1beta1MemoryTopicId( @typing.type_check_only class GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): versionAliases: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Metadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Metadata(typing.TypedDict, total=False): attributes: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetadataList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetadataList(typing.TypedDict, total=False): values: _list[GoogleCloudAiplatformV1beta1MetadataValue] @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetadataSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetadataSchema(typing.TypedDict, total=False): createTime: str description: str name: str schema: str - schemaType: typing_extensions.Literal[ + schemaType: typing.Literal[ "METADATA_SCHEMA_TYPE_UNSPECIFIED", "ARTIFACT_TYPE", "EXECUTION_TYPE", @@ -8149,9 +8074,7 @@ class GoogleCloudAiplatformV1beta1MetadataSchema( schemaVersion: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetadataStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetadataStore(typing.TypedDict, total=False): createTime: str dataplexConfig: GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig description: str @@ -8162,20 +8085,18 @@ class GoogleCloudAiplatformV1beta1MetadataStore( @typing.type_check_only class GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabledPipelinesLineage: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1MetadataStoreMetadataStoreState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): diskUtilizationBytes: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetadataValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetadataValue(typing.TypedDict, total=False): boolValue: bool datetimeValue: str floatValue: float @@ -8184,9 +8105,9 @@ class GoogleCloudAiplatformV1beta1MetadataValue( strValue: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Metric(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Metric(typing.TypedDict, total=False): aggregationMetrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGGREGATION_METRIC_UNSPECIFIED", "AVERAGE", "MODE", @@ -8212,16 +8133,14 @@ class GoogleCloudAiplatformV1beta1Metric(typing_extensions.TypedDict, total=Fals rougeSpec: GoogleCloudAiplatformV1beta1RougeSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetricMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetricMetadata(typing.TypedDict, total=False): otherMetadata: dict[str, typing.Any] scoreRange: GoogleCloudAiplatformV1beta1MetricMetadataScoreRange title: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MetricMetadataScoreRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str max: float @@ -8229,47 +8148,37 @@ class GoogleCloudAiplatformV1beta1MetricMetadataScoreRange( step: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetricResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetricResult(typing.TypedDict, total=False): error: GoogleRpcStatus explanation: str rubricVerdicts: _list[GoogleCloudAiplatformV1beta1RubricVerdict] score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetricSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetricSource(typing.TypedDict, total=False): metric: GoogleCloudAiplatformV1beta1Metric metricResourceName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetricxInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetricxInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1MetricxInstance metricSpec: GoogleCloudAiplatformV1beta1MetricxSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetricxInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetricxInstance(typing.TypedDict, total=False): prediction: str reference: str source: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetricxResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MetricxResult(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1MetricxSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1MetricxSpec(typing.TypedDict, total=False): sourceLanguage: str targetLanguage: str - version: typing_extensions.Literal[ + version: typing.Literal[ "METRICX_VERSION_UNSPECIFIED", "METRICX_24_REF", "METRICX_24_SRC", @@ -8277,9 +8186,7 @@ class GoogleCloudAiplatformV1beta1MetricxSpec(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1MigratableResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MigratableResource(typing.TypedDict, total=False): automlDataset: GoogleCloudAiplatformV1beta1MigratableResourceAutomlDataset automlModel: GoogleCloudAiplatformV1beta1MigratableResourceAutomlModel dataLabelingDataset: ( @@ -8293,21 +8200,21 @@ class GoogleCloudAiplatformV1beta1MigratableResource( @typing.type_check_only class GoogleCloudAiplatformV1beta1MigratableResourceAutomlDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str datasetDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MigratableResourceAutomlModel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataLabelingAnnotatedDatasets: _list[ GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset @@ -8317,22 +8224,20 @@ class GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDataset( @typing.type_check_only class GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str annotatedDatasetDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MigratableResourceMlEngineModelVersion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: str version: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MigrateResourceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MigrateResourceRequest(typing.TypedDict, total=False): migrateAutomlDatasetConfig: ( GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateAutomlDatasetConfig ) @@ -8344,21 +8249,21 @@ class GoogleCloudAiplatformV1beta1MigrateResourceRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateAutomlDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str datasetDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateAutomlModelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelDisplayName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str datasetDisplayName: str @@ -8368,13 +8273,13 @@ class GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatas @typing.type_check_only class GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateMlEngineModelVersionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: str modelDisplayName: str @@ -8382,23 +8287,21 @@ class GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateMlEngineModelVers @typing.type_check_only class GoogleCloudAiplatformV1beta1MigrateResourceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str migratableResource: GoogleCloudAiplatformV1beta1MigratableResource model: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModalityTokenCount( - typing_extensions.TypedDict, total=False -): - modality: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1ModalityTokenCount(typing.TypedDict, total=False): + modality: typing.Literal[ "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "VIDEO", "AUDIO", "DOCUMENT" ] tokenCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1Model(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Model(typing.TypedDict, total=False): artifactUri: str baseModelSource: GoogleCloudAiplatformV1beta1ModelBaseModelSource checkpoints: _list[GoogleCloudAiplatformV1beta1Checkpoint] @@ -8422,7 +8325,7 @@ class GoogleCloudAiplatformV1beta1Model(typing_extensions.TypedDict, total=False satisfiesPzi: bool satisfiesPzs: bool supportedDeploymentResourcesTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED", "DEDICATED_RESOURCES", "AUTOMATIC_RESOURCES", @@ -8441,23 +8344,17 @@ class GoogleCloudAiplatformV1beta1Model(typing_extensions.TypedDict, total=False versionUpdateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelArmorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelArmorConfig(typing.TypedDict, total=False): promptTemplateName: str responseTemplateName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelBaseModelSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelBaseModelSource(typing.TypedDict, total=False): genieSource: GoogleCloudAiplatformV1beta1GenieSource modelGardenSource: GoogleCloudAiplatformV1beta1ModelGardenSource @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelContainerSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelContainerSpec(typing.TypedDict, total=False): args: _list[str] command: _list[str] deploymentTimeout: str @@ -8475,18 +8372,16 @@ class GoogleCloudAiplatformV1beta1ModelContainerSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringBigQueryTable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryTablePath: str - logSource: typing_extensions.Literal[ - "LOG_SOURCE_UNSPECIFIED", "TRAINING", "SERVING" - ] - logType: typing_extensions.Literal["LOG_TYPE_UNSPECIFIED", "PREDICT", "EXPLAIN"] + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "TRAINING", "SERVING"] + logType: typing.Literal["LOG_TYPE_UNSPECIFIED", "PREDICT", "EXPLAIN"] requestResponseLoggingSchemaVersion: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisInstanceSchemaUri: str bigqueryTables: _list[ @@ -8515,10 +8410,10 @@ class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob( samplePredictInstance: typing.Any satisfiesPzi: bool satisfiesPzs: bool - scheduleState: typing_extensions.Literal[ + scheduleState: typing.Literal[ "MONITORING_SCHEDULE_STATE_UNSPECIFIED", "PENDING", "OFFLINE", "RUNNING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -8537,29 +8432,27 @@ class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): runTime: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedModelId: str objectiveConfig: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringScheduleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monitorInterval: str monitorWindow: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelEvaluation(typing.TypedDict, total=False): biasConfigs: GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig createTime: str displayName: str @@ -8575,22 +8468,20 @@ class GoogleCloudAiplatformV1beta1ModelEvaluation( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biasSlices: GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec labels: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelEvaluationModelEvaluationExplanationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanationSpec: GoogleCloudAiplatformV1beta1ExplanationSpec explanationType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelEvaluationSlice( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelEvaluationSlice(typing.TypedDict, total=False): createTime: str metrics: typing.Any metricsSchemaUri: str @@ -8600,7 +8491,7 @@ class GoogleCloudAiplatformV1beta1ModelEvaluationSlice( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimension: str sliceSpec: GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec @@ -8608,20 +8499,20 @@ class GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): high: float low: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecSliceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allValues: bool range: GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecRange @@ -8629,38 +8520,30 @@ class GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecSliceConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): floatValue: float stringValue: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelExplanation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelExplanation(typing.TypedDict, total=False): meanAttributions: _list[GoogleCloudAiplatformV1beta1Attribution] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelExportFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelExportFormat(typing.TypedDict, total=False): exportableContents: _list[ - typing_extensions.Literal["EXPORTABLE_CONTENT_UNSPECIFIED", "ARTIFACT", "IMAGE"] + typing.Literal["EXPORTABLE_CONTENT_UNSPECIFIED", "ARTIFACT", "IMAGE"] ] id: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelGardenSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelGardenSource(typing.TypedDict, total=False): publicModelName: str skipHfModelCache: bool versionId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitor(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec @@ -8680,7 +8563,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitor( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTarget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertexModel: ( GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTargetVertexModelSource @@ -8688,15 +8571,13 @@ class GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTarget( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTargetVertexModelSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelVersionId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringAlert( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringAlert(typing.TypedDict, total=False): alertTime: str anomaly: GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly objectiveType: str @@ -8704,13 +8585,13 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringAlert( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): threshold: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emailAlertConfig: ( GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfigEmailAlertConfig @@ -8720,21 +8601,19 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfigEmailAlertConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEmails: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly(typing.TypedDict, total=False): algorithm: str modelMonitoringJob: str tabularAnomaly: GoogleCloudAiplatformV1beta1ModelMonitoringAnomalyTabularAnomaly @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringAnomalyTabularAnomaly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): anomaly: typing.Any anomalyUri: str @@ -8743,18 +8622,14 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringAnomalyTabularAnomaly( triggerTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringConfig(typing.TypedDict, total=False): alertConfig: GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig analysisInstanceSchemaUri: str objectiveConfigs: _list[GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig] statsAnomaliesBaseDirectory: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringInput(typing.TypedDict, total=False): batchPredictionOutput: ( GoogleCloudAiplatformV1beta1ModelMonitoringInputBatchPredictionOutput ) @@ -8769,13 +8644,13 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringInput( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringInputBatchPredictionOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): batchPredictionJob: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringBigQuerySource gcsSource: GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringGcsSource @@ -8784,37 +8659,33 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDataset( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringBigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str tableUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - format: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "CSV", "TF_RECORD", "JSONL" - ] + format: typing.Literal["DATA_FORMAT_UNSPECIFIED", "CSV", "TF_RECORD", "JSONL"] gcsUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): offset: str window: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringInputVertexEndpointLogs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoints: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringJob(typing.TypedDict, total=False): createTime: str displayName: str jobExecutionDetail: GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetail @@ -8822,7 +8693,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringJob( name: str schedule: str scheduleTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -8840,7 +8711,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringJob( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineDatasets: _list[ GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetailProcessedDataset @@ -8853,14 +8724,14 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetail( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetailProcessedDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str timeRange: GoogleTypeInterval @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emailConfig: GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecEmailConfig enableCloudLogging: bool @@ -8870,19 +8741,19 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecEmailConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEmails: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecNotificationChannelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notificationChannel: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanationConfig: ( GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig @@ -8895,24 +8766,24 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableFeatureAttributes: bool explanationBaseline: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquery: GoogleCloudAiplatformV1beta1BigQueryDestination gcs: GoogleCloudAiplatformV1beta1GcsDestination - predictionFormat: typing_extensions.Literal[ + predictionFormat: typing.Literal[ "PREDICTION_FORMAT_UNSPECIFIED", "JSONL", "BIGQUERY" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributionScoreDriftThresholds: dict[str, typing.Any] defaultDriftThreshold: GoogleCloudAiplatformV1beta1ThresholdConfig @@ -8920,7 +8791,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigPredictionDriftD @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigTrainingDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudAiplatformV1beta1BigQuerySource dataFormat: str @@ -8931,7 +8802,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigTrainingDataset( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributionScoreSkewThresholds: dict[str, typing.Any] defaultSkewThreshold: GoogleCloudAiplatformV1beta1ThresholdConfig @@ -8939,7 +8810,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigTrainingPredicti @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineDataset: GoogleCloudAiplatformV1beta1ModelMonitoringInput explanationSpec: GoogleCloudAiplatformV1beta1ExplanationSpec @@ -8950,7 +8821,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoricalMetricType: str defaultCategoricalAlertCondition: ( @@ -8965,7 +8836,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecFeatureAttributionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): batchExplanationDedicatedResources: ( GoogleCloudAiplatformV1beta1BatchDedicatedResources @@ -8976,7 +8847,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecFeatureAttribution @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecTabularObjective( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureAttributionSpec: ( GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecFeatureAttributionSpec @@ -8990,14 +8861,12 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecTabularObjective( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsBaseDirectory: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringSchema(typing.TypedDict, total=False): featureFields: _list[GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema] groundTruthFields: _list[ GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema @@ -9008,36 +8877,32 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringSchema( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataType: str name: str repeated: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringSpec(typing.TypedDict, total=False): notificationSpec: GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec objectiveSpec: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpec outputSpec: GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelMonitoringStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelMonitoringStats(typing.TypedDict, total=False): tabularStats: GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomalies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): anomalyCount: int deployedModelId: str featureStats: _list[ GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies ] - objective: typing_extensions.Literal[ + objective: typing.Literal[ "MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED", "RAW_FEATURE_SKEW", "RAW_FEATURE_DRIFT", @@ -9047,7 +8912,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomalies( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureDisplayName: str predictionStats: _list[GoogleCloudAiplatformV1beta1FeatureStatsAnomaly] @@ -9056,7 +8921,7 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomaliesFeatureHistoricSt @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): algorithm: str baselineStats: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue @@ -9069,38 +8934,34 @@ class GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint( @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distributionValue: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValueDistributionDataValue doubleValue: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValueDistributionDataValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distribution: typing.Any distributionDeviation: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataPoints: _list[GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint] objectiveType: str statsName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelOriginalModelInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelOriginalModelInfo(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelSourceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelSourceInfo(typing.TypedDict, total=False): copy: bool - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "MODEL_SOURCE_TYPE_UNSPECIFIED", "AUTOML", "CUSTOM", @@ -9112,24 +8973,18 @@ class GoogleCloudAiplatformV1beta1ModelSourceInfo( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelVersionCheckpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelVersionCheckpoint(typing.TypedDict, total=False): checkpointId: str epoch: str step: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1MonitoredAgent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1MonitoredAgent(typing.TypedDict, total=False): agentResource: GoogleCloudAiplatformV1beta1AgentResource createTime: str displayName: str - logBuckets: _list[str] name: str - observabilityBuckets: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ACTIVE", "ENABLING", "DISABLED" ] statusMessage: str @@ -9137,44 +8992,44 @@ class GoogleCloudAiplatformV1beta1MonitoredAgent( @typing.type_check_only class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): speakerVoiceConfigs: _list[GoogleCloudAiplatformV1beta1SpeakerVoiceConfig] @typing.type_check_only class GoogleCloudAiplatformV1beta1MutateDeployedIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedIndexId: str genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1MutateDeployedIndexResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedIndex: GoogleCloudAiplatformV1beta1DeployedIndex @typing.type_check_only class GoogleCloudAiplatformV1beta1MutateDeployedModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1MutateDeployedModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedModel: GoogleCloudAiplatformV1beta1DeployedModel updateMask: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MutateDeployedModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedModel: GoogleCloudAiplatformV1beta1DeployedModel @typing.type_check_only -class GoogleCloudAiplatformV1beta1NasJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1NasJob(typing.TypedDict, total=False): createTime: str displayName: str enableRestrictedImageTraining: bool @@ -9188,7 +9043,7 @@ class GoogleCloudAiplatformV1beta1NasJob(typing_extensions.TypedDict, total=Fals satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -9205,20 +9060,18 @@ class GoogleCloudAiplatformV1beta1NasJob(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1NasJobOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NasJobOutput(typing.TypedDict, total=False): multiTrialJobOutput: GoogleCloudAiplatformV1beta1NasJobOutputMultiTrialJobOutput @typing.type_check_only class GoogleCloudAiplatformV1beta1NasJobOutputMultiTrialJobOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchTrials: _list[GoogleCloudAiplatformV1beta1NasTrial] trainTrials: _list[GoogleCloudAiplatformV1beta1NasTrial] @typing.type_check_only -class GoogleCloudAiplatformV1beta1NasJobSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1NasJobSpec(typing.TypedDict, total=False): multiTrialAlgorithmSpec: ( GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpec ) @@ -9227,10 +9080,10 @@ class GoogleCloudAiplatformV1beta1NasJobSpec(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metric: GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecMetricSpec - multiTrialAlgorithm: typing_extensions.Literal[ + multiTrialAlgorithm: typing.Literal[ "MULTI_TRIAL_ALGORITHM_UNSPECIFIED", "REINFORCEMENT_LEARNING", "GRID_SEARCH" ] searchTrialSpec: ( @@ -9242,14 +9095,14 @@ class GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecMetricSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - goal: typing_extensions.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] + goal: typing.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] metricId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxFailedTrialCount: int maxParallelTrialCount: int @@ -9258,19 +9111,19 @@ class GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSp @typing.type_check_only class GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frequency: int maxParallelTrialCount: int trainTrialJobSpec: GoogleCloudAiplatformV1beta1CustomJobSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1NasTrial(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1NasTrial(typing.TypedDict, total=False): endTime: str finalMeasurement: GoogleCloudAiplatformV1beta1Measurement id: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUESTED", "ACTIVE", @@ -9280,18 +9133,14 @@ class GoogleCloudAiplatformV1beta1NasTrial(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1NasTrialDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NasTrialDetail(typing.TypedDict, total=False): name: str parameters: str searchTrial: GoogleCloudAiplatformV1beta1NasTrial trainTrial: GoogleCloudAiplatformV1beta1NasTrial @typing.type_check_only -class GoogleCloudAiplatformV1beta1NearestNeighborQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NearestNeighborQuery(typing.TypedDict, total=False): embedding: GoogleCloudAiplatformV1beta1NearestNeighborQueryEmbedding entityId: str neighborCount: int @@ -9302,16 +9151,16 @@ class GoogleCloudAiplatformV1beta1NearestNeighborQuery( @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborQueryEmbedding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborQueryNumericFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS", "LESS_EQUAL", @@ -9326,14 +9175,14 @@ class GoogleCloudAiplatformV1beta1NearestNeighborQueryNumericFilter( @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborQueryParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approximateNeighborCandidates: int leafNodesSearchFraction: float @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborQueryStringFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowTokens: _list[str] denyTokens: _list[str] @@ -9341,7 +9190,7 @@ class GoogleCloudAiplatformV1beta1NearestNeighborQueryStringFilter( @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentValidationStats: _list[ GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataContentValidationStats @@ -9350,7 +9199,7 @@ class GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataContentValidationStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): invalidRecordCount: str invalidSparseRecordCount: str @@ -9363,11 +9212,11 @@ class GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataContentV @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataRecordError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingId: str errorMessage: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "EMPTY_LINE", "INVALID_JSON_SYNTAX", @@ -9394,47 +9243,41 @@ class GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataRecordEr sourceGcsUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1NearestNeighbors( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NearestNeighbors(typing.TypedDict, total=False): neighbors: _list[GoogleCloudAiplatformV1beta1NearestNeighborsNeighbor] @typing.type_check_only class GoogleCloudAiplatformV1beta1NearestNeighborsNeighbor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distance: float entityId: str entityKeyValues: GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse @typing.type_check_only -class GoogleCloudAiplatformV1beta1Neighbor(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Neighbor(typing.TypedDict, total=False): neighborDistance: float neighborId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1NetworkSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1NetworkSpec(typing.TypedDict, total=False): enableInternetAccess: bool network: str subnetwork: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1NfsMount(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1NfsMount(typing.TypedDict, total=False): mountPoint: str path: str server: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1NotebookEucConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NotebookEucConfig(typing.TypedDict, total=False): bypassActasCheck: bool eucDisabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1NotebookExecutionJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NotebookExecutionJob(typing.TypedDict, total=False): createTime: str customEnvironmentSpec: ( GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec @@ -9451,7 +9294,7 @@ class GoogleCloudAiplatformV1beta1NotebookExecutionJob( executionUser: str gcsNotebookSource: GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource gcsOutputUri: str - jobState: typing_extensions.Literal[ + jobState: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -9477,49 +9320,77 @@ class GoogleCloudAiplatformV1beta1NotebookExecutionJob( @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): machineSpec: GoogleCloudAiplatformV1beta1MachineSpec networkSpec: GoogleCloudAiplatformV1beta1NetworkSpec persistentDiskSpec: GoogleCloudAiplatformV1beta1PersistentDiskSpec + shieldedInstanceConfig: GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpecShieldedInstanceConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpecShieldedInstanceConfig( + typing.TypedDict, total=False +): + enableIntegrityMonitoring: bool + enableSecureBoot: bool + enableVtpm: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commitSha: str dataformRepositoryResourceName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookExecutionJobDirectNotebookSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generation: str uri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntime( - typing_extensions.TypedDict, total=False -): ... + typing.TypedDict, total=False +): + customContainerImage: ( + GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeContainerImage + ) + vmImage: GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeVmImage + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeContainerImage( + typing.TypedDict, total=False +): + repository: str + tag: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeVmImage( + typing.TypedDict, total=False +): + family: str + name: str + project: str @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idleShutdownDisabled: bool idleTimeout: str @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookReservationAffinity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - consumeReservationType: typing_extensions.Literal[ + consumeReservationType: typing.Literal[ "RESERVATION_AFFINITY_TYPE_UNSPECIFIED", "RESERVATION_NONE", "RESERVATION_ANY", @@ -9529,9 +9400,7 @@ class GoogleCloudAiplatformV1beta1NotebookReservationAffinity( values: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1NotebookRuntime( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NotebookRuntime(typing.TypedDict, total=False): createTime: str dataPersistentDiskSpec: GoogleCloudAiplatformV1beta1PersistentDiskSpec description: str @@ -9539,9 +9408,7 @@ class GoogleCloudAiplatformV1beta1NotebookRuntime( encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec eucConfig: GoogleCloudAiplatformV1beta1NotebookEucConfig expirationTime: str - healthState: typing_extensions.Literal[ - "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY" - ] + healthState: typing.Literal["HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY"] idleShutdownConfig: GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig isUpgradable: bool labels: dict[str, typing.Any] @@ -9550,12 +9417,12 @@ class GoogleCloudAiplatformV1beta1NotebookRuntime( networkSpec: GoogleCloudAiplatformV1beta1NetworkSpec networkTags: _list[str] notebookRuntimeTemplateRef: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateRef - notebookRuntimeType: typing_extensions.Literal[ + notebookRuntimeType: typing.Literal[ "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] proxyUri: str reservationAffinity: GoogleCloudAiplatformV1beta1NotebookReservationAffinity - runtimeState: typing_extensions.Literal[ + runtimeState: typing.Literal[ "RUNTIME_STATE_UNSPECIFIED", "RUNNING", "BEING_STARTED", @@ -9576,7 +9443,7 @@ class GoogleCloudAiplatformV1beta1NotebookRuntime( @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataPersistentDiskSpec: GoogleCloudAiplatformV1beta1PersistentDiskSpec @@ -9592,7 +9459,7 @@ class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate( name: str networkSpec: GoogleCloudAiplatformV1beta1NetworkSpec networkTags: _list[str] - notebookRuntimeType: typing_extensions.Literal[ + notebookRuntimeType: typing.Literal[ "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", "USER_DEFINED", "ONE_CLICK" ] reservationAffinity: GoogleCloudAiplatformV1beta1NotebookReservationAffinity @@ -9603,22 +9470,18 @@ class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate( @typing.type_check_only class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateRef( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebookRuntimeTemplate: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1NotebookSoftwareConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1NotebookSoftwareConfig(typing.TypedDict, total=False): colabImage: GoogleCloudAiplatformV1beta1ColabImage env: _list[GoogleCloudAiplatformV1beta1EnvVar] postStartupScriptConfig: GoogleCloudAiplatformV1beta1PostStartupScriptConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1OnlineEvaluator( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1OnlineEvaluator(typing.TypedDict, total=False): agentResource: str cloudObservability: GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability config: GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig @@ -9626,7 +9489,7 @@ class GoogleCloudAiplatformV1beta1OnlineEvaluator( displayName: str metricSources: _list[GoogleCloudAiplatformV1beta1MetricSource] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED", "FAILED", "WARNING" ] stateDetails: _list[GoogleCloudAiplatformV1beta1OnlineEvaluatorStateDetails] @@ -9634,7 +9497,7 @@ class GoogleCloudAiplatformV1beta1OnlineEvaluator( @typing.type_check_only class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): logView: str openTelemetry: ( @@ -9645,9 +9508,9 @@ class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability( @typing.type_check_only class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - comparisonOperator: typing_extensions.Literal[ + comparisonOperator: typing.Literal[ "COMPARISON_OPERATOR_UNSPECIFIED", "LESS", "LESS_OR_EQUAL", @@ -9660,13 +9523,13 @@ class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredic @typing.type_check_only class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityOpenTelemetry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): semconvVersion: str @typing.type_check_only class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScope( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: _list[ GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScopePredicate @@ -9674,7 +9537,7 @@ class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScope( @typing.type_check_only class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScopePredicate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: ( GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate @@ -9684,30 +9547,26 @@ class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScopePre ) @typing.type_check_only -class GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig(typing.TypedDict, total=False): maxEvaluatedSamplesPerRun: str randomSampling: GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling @typing.type_check_only class GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentage: int @typing.type_check_only class GoogleCloudAiplatformV1beta1OnlineEvaluatorStateDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1OptimizePromptRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1OptimizePromptRequest(typing.TypedDict, total=False): content: GoogleCloudAiplatformV1beta1Content - optimizationTarget: typing_extensions.Literal[ + optimizationTarget: typing.Literal[ "OPTIMIZATION_TARGET_UNSPECIFIED", "OPTIMIZATION_TARGET_GENERAL", "OPTIMIZATION_TARGET_GEMINI_NANO", @@ -9716,74 +9575,58 @@ class GoogleCloudAiplatformV1beta1OptimizePromptRequest( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1OptimizePromptResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1OptimizePromptResponse(typing.TypedDict, total=False): content: GoogleCloudAiplatformV1beta1Content @typing.type_check_only -class GoogleCloudAiplatformV1beta1OutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1beta1OutputFieldSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1OutputFieldSpec(typing.TypedDict, total=False): fieldName: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "FIELD_TYPE_UNSPECIFIED", "CONTENT", "TEXT", "IMAGE", "AUDIO" ] guidance: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1OutputInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1OutputInfo(typing.TypedDict, total=False): gcsOutputDirectory: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PSCAutomationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PSCAutomationConfig(typing.TypedDict, total=False): errorMessage: str forwardingRule: str ipAddress: str network: str projectId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PSC_AUTOMATION_STATE_UNSPECIFIED", "PSC_AUTOMATION_STATE_SUCCESSFUL", "PSC_AUTOMATION_STATE_FAILED", ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PairwiseMetricInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PairwiseMetricInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1PairwiseMetricInstance metricSpec: GoogleCloudAiplatformV1beta1PairwiseMetricSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1PairwiseMetricInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PairwiseMetricInstance(typing.TypedDict, total=False): contentMapInstance: GoogleCloudAiplatformV1beta1ContentMap jsonInstance: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PairwiseMetricResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PairwiseMetricResult(typing.TypedDict, total=False): customOutput: GoogleCloudAiplatformV1beta1CustomOutput explanation: str - pairwiseChoice: typing_extensions.Literal[ + pairwiseChoice: typing.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PairwiseMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PairwiseMetricSpec(typing.TypedDict, total=False): baselineResponseFieldName: str candidateResponseFieldName: str customOutputFormatConfig: GoogleCloudAiplatformV1beta1CustomOutputFormatConfig @@ -9792,14 +9635,14 @@ class GoogleCloudAiplatformV1beta1PairwiseMetricSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInstance metricSpec: GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselinePrediction: str context: str @@ -9809,31 +9652,31 @@ class GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str - pairwiseChoice: typing_extensions.Literal[ + pairwiseChoice: typing.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualitySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInstance metricSpec: GoogleCloudAiplatformV1beta1PairwiseSummarizationQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselinePrediction: str context: str @@ -9843,23 +9686,24 @@ class GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str - pairwiseChoice: typing_extensions.Literal[ + pairwiseChoice: typing.Literal[ "PAIRWISE_CHOICE_UNSPECIFIED", "BASELINE", "CANDIDATE", "TIE" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1PairwiseSummarizationQualitySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Part(typing.TypedDict, total=False): + audioTranscription: GoogleCloudAiplatformV1beta1AudioTranscription codeExecutionResult: GoogleCloudAiplatformV1beta1CodeExecutionResult executableCode: GoogleCloudAiplatformV1beta1ExecutableCode fileData: GoogleCloudAiplatformV1beta1FileData @@ -9873,10 +9717,8 @@ class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False) videoMetadata: GoogleCloudAiplatformV1beta1VideoMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1PartMediaResolution( - typing_extensions.TypedDict, total=False -): - level: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1PartMediaResolution(typing.TypedDict, total=False): + level: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", @@ -9885,48 +9727,42 @@ class GoogleCloudAiplatformV1beta1PartMediaResolution( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PartialArg(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1PartialArg(typing.TypedDict, total=False): boolValue: bool jsonPath: str - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] numberValue: float stringValue: str willContinue: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1PartnerModelTuningSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PartnerModelTuningSpec(typing.TypedDict, total=False): hyperParameters: dict[str, typing.Any] trainingDatasetUri: str validationDatasetUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PauseModelDeploymentMonitoringJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1PauseSandboxEnvironmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1PauseScheduleRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1PersistentDiskSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PersistentDiskSpec(typing.TypedDict, total=False): diskSizeGb: str diskType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PersistentResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PersistentResource(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec @@ -9942,7 +9778,7 @@ class GoogleCloudAiplatformV1beta1PersistentResource( satisfiesPzi: bool satisfiesPzs: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -9954,7 +9790,7 @@ class GoogleCloudAiplatformV1beta1PersistentResource( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PipelineJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1PipelineJob(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec @@ -9976,7 +9812,7 @@ class GoogleCloudAiplatformV1beta1PipelineJob(typing_extensions.TypedDict, total scheduleName: str serviceAccount: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PIPELINE_STATE_UNSPECIFIED", "PIPELINE_STATE_QUEUED", "PIPELINE_STATE_PENDING", @@ -9992,19 +9828,17 @@ class GoogleCloudAiplatformV1beta1PipelineJob(typing_extensions.TypedDict, total updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PipelineJobDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PipelineJobDetail(typing.TypedDict, total=False): pipelineContext: GoogleCloudAiplatformV1beta1Context pipelineRunContext: GoogleCloudAiplatformV1beta1Context taskDetails: _list[GoogleCloudAiplatformV1beta1PipelineTaskDetail] @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultRuntime: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime - failurePolicy: typing_extensions.Literal[ + failurePolicy: typing.Literal[ "PIPELINE_FAILURE_POLICY_UNSPECIFIED", "PIPELINE_FAILURE_POLICY_FAIL_SLOW", "PIPELINE_FAILURE_POLICY_FAIL_FAST", @@ -10016,22 +9850,22 @@ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): persistentResourceRuntimeDetail: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): persistentResourceName: str - taskResourceUnavailableTimeoutBehavior: typing_extensions.Literal[ + taskResourceUnavailableTimeoutBehavior: typing.Literal[ "TASK_RESOURCE_UNAVAILABLE_TIMEOUT_BEHAVIOR_UNSPECIFIED", "FAIL", "FALL_BACK_TO_ON_DEMAND", @@ -10039,9 +9873,7 @@ class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRunt taskResourceUnavailableWaitTimeMs: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PipelineTaskDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PipelineTaskDetail(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -10054,7 +9886,7 @@ class GoogleCloudAiplatformV1beta1PipelineTaskDetail( GoogleCloudAiplatformV1beta1PipelineTaskDetailPipelineTaskStatus ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -10072,16 +9904,16 @@ class GoogleCloudAiplatformV1beta1PipelineTaskDetail( @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskDetailArtifactList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifacts: _list[GoogleCloudAiplatformV1beta1Artifact] @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskDetailPipelineTaskStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -10097,7 +9929,7 @@ class GoogleCloudAiplatformV1beta1PipelineTaskDetailPipelineTaskStatus( @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskExecutorDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): containerDetail: ( GoogleCloudAiplatformV1beta1PipelineTaskExecutorDetailContainerDetail @@ -10108,7 +9940,7 @@ class GoogleCloudAiplatformV1beta1PipelineTaskExecutorDetail( @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskExecutorDetailContainerDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedMainJobs: _list[str] failedPreCachingCheckJobs: _list[str] @@ -10117,14 +9949,14 @@ class GoogleCloudAiplatformV1beta1PipelineTaskExecutorDetailContainerDetail( @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskExecutorDetailCustomJobDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedJobs: _list[str] job: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs skipDownstreamTasks: bool @@ -10134,63 +9966,57 @@ class GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigArtifactList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifacts: _list[GoogleCloudAiplatformV1beta1RuntimeArtifact] @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifacts: dict[str, typing.Any] parameterValues: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1PipelineTemplateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PointwiseMetricInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PointwiseMetricInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1PointwiseMetricInstance metricSpec: GoogleCloudAiplatformV1beta1PointwiseMetricSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1PointwiseMetricInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentMapInstance: GoogleCloudAiplatformV1beta1ContentMap jsonInstance: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PointwiseMetricResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PointwiseMetricResult(typing.TypedDict, total=False): customOutput: GoogleCloudAiplatformV1beta1CustomOutput explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1PointwiseMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PointwiseMetricSpec(typing.TypedDict, total=False): customOutputFormatConfig: GoogleCloudAiplatformV1beta1CustomOutputFormatConfig metricPromptTemplate: str systemInstruction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Port(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Port(typing.TypedDict, total=False): containerPort: int @typing.type_check_only class GoogleCloudAiplatformV1beta1PostStartupScriptConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postStartupScript: str - postStartupScriptBehavior: typing_extensions.Literal[ + postStartupScriptBehavior: typing.Literal[ "POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", "RUN_ONCE", "RUN_EVERY_START", @@ -10199,40 +10025,32 @@ class GoogleCloudAiplatformV1beta1PostStartupScriptConfig( postStartupScriptUrl: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PreTunedModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PreTunedModel(typing.TypedDict, total=False): baseModel: str checkpointId: str tunedModelName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig(typing.TypedDict, total=False): voiceName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PredefinedMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PredefinedMetricSpec(typing.TypedDict, total=False): metricSpecName: str metricSpecParameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PredefinedSplit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PredefinedSplit(typing.TypedDict, total=False): key: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PredictLongRunningMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1PredictLongRunningRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[typing.Any] labels: dict[str, typing.Any] @@ -10240,21 +10058,19 @@ class GoogleCloudAiplatformV1beta1PredictLongRunningRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1PredictLongRunningResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generateVideoResponse: GoogleCloudAiplatformV1beta1GenerateVideoResponse @typing.type_check_only -class GoogleCloudAiplatformV1beta1PredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PredictRequest(typing.TypedDict, total=False): instances: _list[typing.Any] labels: dict[str, typing.Any] parameters: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination enableOtelLogging: bool @@ -10264,9 +10080,7 @@ class GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig( samplingRate: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1PredictResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PredictResponse(typing.TypedDict, total=False): deployedModelId: str metadata: typing.Any model: str @@ -10275,16 +10089,14 @@ class GoogleCloudAiplatformV1beta1PredictResponse( predictions: _list[typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PredictSchemata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PredictSchemata(typing.TypedDict, total=False): instanceSchemaUri: str parametersSchemaUri: str predictionSchemaUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): droppedExampleIndices: _list[str] droppedExampleReasons: _list[str] @@ -10299,9 +10111,9 @@ class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats( @typing.type_check_only class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adapterSize: typing_extensions.Literal[ + adapterSize: typing.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", "ADAPTER_SIZE_TWO", @@ -10316,7 +10128,7 @@ class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters( @typing.type_check_only class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters @@ -10324,16 +10136,12 @@ class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec( validationDatasetUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Presets(typing_extensions.TypedDict, total=False): - modality: typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "IMAGE", "TEXT", "TABULAR" - ] - query: typing_extensions.Literal["PRECISE", "FAST"] +class GoogleCloudAiplatformV1beta1Presets(typing.TypedDict, total=False): + modality: typing.Literal["MODALITY_UNSPECIFIED", "IMAGE", "TEXT", "TABULAR"] + query: typing.Literal["PRECISE", "FAST"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PrivateEndpoints( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PrivateEndpoints(typing.TypedDict, total=False): explainHttpUri: str healthHttpUri: str predictHttpUri: str @@ -10341,7 +10149,7 @@ class GoogleCloudAiplatformV1beta1PrivateEndpoints( @typing.type_check_only class GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enablePrivateServiceConnect: bool enableSecurePrivateServiceConnect: bool @@ -10350,7 +10158,7 @@ class GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig( serviceAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Probe(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Probe(typing.TypedDict, total=False): exec: GoogleCloudAiplatformV1beta1ProbeExecAction failureThreshold: int grpc: GoogleCloudAiplatformV1beta1ProbeGrpcAction @@ -10362,22 +10170,16 @@ class GoogleCloudAiplatformV1beta1Probe(typing_extensions.TypedDict, total=False timeoutSeconds: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1ProbeExecAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ProbeExecAction(typing.TypedDict, total=False): command: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ProbeGrpcAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ProbeGrpcAction(typing.TypedDict, total=False): port: int service: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ProbeHttpGetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ProbeHttpGetAction(typing.TypedDict, total=False): host: str httpHeaders: _list[GoogleCloudAiplatformV1beta1ProbeHttpHeader] path: str @@ -10385,54 +10187,44 @@ class GoogleCloudAiplatformV1beta1ProbeHttpGetAction( scheme: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ProbeHttpHeader( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ProbeHttpHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction(typing.TypedDict, total=False): host: str port: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1ProcessDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ProcessDataRequest(typing.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination gcsSource: GoogleCloudAiplatformV1beta1GcsSource + inputBucketProjectNumber: str + outputBucketProjectNumber: str veoSpec: GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - processType: typing_extensions.Literal["VEO_V1_AND_V2_DEFAULT", "VEO_V3"] + processType: typing.Literal["VEO_V1_AND_V2_DEFAULT", "VEO_V3"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints(typing.TypedDict, total=False): matchAddress: str network: str projectId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PscInterfaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PscInterfaceConfig(typing.TypedDict, total=False): dnsPeeringConfigs: _list[GoogleCloudAiplatformV1beta1DnsPeeringConfig] networkAttachment: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PublisherModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PublisherModel(typing.TypedDict, total=False): frameworks: _list[str] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "EXPERIMENTAL", "PRIVATE_PREVIEW", @@ -10440,7 +10232,7 @@ class GoogleCloudAiplatformV1beta1PublisherModel( "GA", ] name: str - openSourceCategory: typing_extensions.Literal[ + openSourceCategory: typing.Literal[ "OPEN_SOURCE_CATEGORY_UNSPECIFIED", "PROPRIETARY", "GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT", @@ -10453,13 +10245,13 @@ class GoogleCloudAiplatformV1beta1PublisherModel( publisherModelTemplate: str supportedActions: GoogleCloudAiplatformV1beta1PublisherModelCallToAction versionId: str - versionState: typing_extensions.Literal[ + versionState: typing.Literal[ "VERSION_STATE_UNSPECIFIED", "VERSION_STATE_STABLE", "VERSION_STATE_UNSTABLE" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createApplication: ( GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences @@ -10498,7 +10290,7 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToAction( @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactUri: str automaticResources: GoogleCloudAiplatformV1beta1AutomaticResources @@ -10516,20 +10308,20 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy( @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] sampleRequest: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gkeYamlConfigs: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): multiDeployVertex: _list[ GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy @@ -10537,7 +10329,7 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex( @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fineTuningPipelines: _list[ GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences @@ -10545,7 +10337,7 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipeli @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenNotebooks( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooks: _list[ GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences @@ -10553,7 +10345,7 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenNotebooks( @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): colabNotebookDisabled: bool references: dict[str, typing.Any] @@ -10565,45 +10357,52 @@ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceRefe @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelCallToActionViewRestApi( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentations: _list[GoogleCloudAiplatformV1beta1PublisherModelDocumentation] title: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PublisherModelConfig( - typing_extensions.TypedDict, total=False -): - dataSharingEnabledProvider: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1PublisherModelConfig(typing.TypedDict, total=False): + claudeFeatureConfig: ( + GoogleCloudAiplatformV1beta1PublisherModelConfigClaudeFeatureConfig + ) + dataSharingEnabledProvider: typing.Literal[ "MODEL_PROVIDER_UNSPECIFIED", "ANTHROPIC" ] + inferenceEventLoggingConfig: GoogleCloudAiplatformV1beta1InferenceEventLoggingConfig loggingConfig: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PublisherModelConfigClaudeFeatureConfig( + typing.TypedDict, total=False +): + advancedAiEnabled: bool + cyberVerificationProgramEnabled: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelDocumentation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str title: str @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectNumber: str publisherModel: str publisherModelEulaAcked: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1PublisherModelParent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PublisherModelParent(typing.TypedDict, total=False): displayName: str reference: GoogleCloudAiplatformV1beta1PublisherModelResourceReference @typing.type_check_only class GoogleCloudAiplatformV1beta1PublisherModelResourceReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str resourceName: str @@ -10611,77 +10410,59 @@ class GoogleCloudAiplatformV1beta1PublisherModelResourceReference( useCase: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeArtifactsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeArtifactsMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeArtifactsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeArtifactsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeArtifactsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeArtifactsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeContextsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeContextsMetadata(typing.TypedDict, total=False): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeContextsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeContextsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeContextsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1PurgeExecutionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeExecutionsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeExecutionsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1PurgeExecutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PurgeMemoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PurgeMemoriesRequest(typing.TypedDict, total=False): filter: str filterGroups: _list[GoogleCloudAiplatformV1beta1MemoryConjunctionFilter] force: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1PythonPackageSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PythonPackageSpec(typing.TypedDict, total=False): args: _list[str] env: _list[GoogleCloudAiplatformV1beta1EnvVar] executorImageUri: str @@ -10690,7 +10471,7 @@ class GoogleCloudAiplatformV1beta1PythonPackageSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedModelRefs: _list[GoogleCloudAiplatformV1beta1DeployedModelRef] deployedModels: _list[GoogleCloudAiplatformV1beta1DeployedModel] @@ -10699,41 +10480,37 @@ class GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse( totalEndpointCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1QueryExtensionRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1QueryExtensionRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] @typing.type_check_only -class GoogleCloudAiplatformV1beta1QueryExtensionResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1QueryExtensionResponse(typing.TypedDict, total=False): failureMessage: str steps: _list[GoogleCloudAiplatformV1beta1Content] @typing.type_check_only class GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classMethod: str input: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): output: typing.Any @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInstance metricSpec: GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -10742,7 +10519,7 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -10750,21 +10527,21 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringCorrectnessSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInstance metricSpec: GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -10773,7 +10550,7 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -10781,21 +10558,21 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringHelpfulnessSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInstance metricSpec: GoogleCloudAiplatformV1beta1QuestionAnsweringQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -10804,7 +10581,7 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -10812,21 +10589,21 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringQualityResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringQualitySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInstance metricSpec: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -10835,7 +10612,7 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -10843,33 +10620,29 @@ class GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RagChunk(typing.TypedDict, total=False): chunkId: str fileId: str pageSpan: GoogleCloudAiplatformV1beta1RagChunkPageSpan text: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagChunkPageSpan( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagChunkPageSpan(typing.TypedDict, total=False): firstPage: int lastPage: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagContexts(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RagContexts(typing.TypedDict, total=False): contexts: _list[GoogleCloudAiplatformV1beta1RagContextsContext] @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagContextsContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagContextsContext(typing.TypedDict, total=False): chunk: GoogleCloudAiplatformV1beta1RagChunk distance: float score: float @@ -10879,7 +10652,7 @@ class GoogleCloudAiplatformV1beta1RagContextsContext( text: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagCorpus(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RagCorpus(typing.TypedDict, total=False): corpusStatus: GoogleCloudAiplatformV1beta1CorpusStatus corpusTypeConfig: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig createTime: str @@ -10898,33 +10671,31 @@ class GoogleCloudAiplatformV1beta1RagCorpus(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentCorpus: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus memoryCorpus: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus @typing.type_check_only class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): llmParser: GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagDataSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagDataSchema(typing.TypedDict, total=False): key: str name: str schemaDetails: GoogleCloudAiplatformV1beta1RagMetadataSchemaDetails @typing.type_check_only class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hybridSearchConfig: ( GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigHybridSearchConfig @@ -10935,7 +10706,7 @@ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigHybridSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): denseEmbeddingModelPredictionEndpoint: ( GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint @@ -10946,13 +10717,13 @@ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigHybridSearchConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigSparseEmbeddingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bm25: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigSparseEmbeddingConfigBm25 @typing.type_check_only class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigSparseEmbeddingConfigBm25( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): b: float k1: float @@ -10960,21 +10731,19 @@ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigSparseEmbeddingConfigBm @typing.type_check_only class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: str model: str modelVersionId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagEngineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagEngineConfig(typing.TypedDict, total=False): name: str ragManagedDbConfig: GoogleCloudAiplatformV1beta1RagManagedDbConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagFile(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RagFile(typing.TypedDict, total=False): createTime: str description: str directUploadSource: GoogleCloudAiplatformV1beta1DirectUploadSource @@ -10984,7 +10753,7 @@ class GoogleCloudAiplatformV1beta1RagFile(typing_extensions.TypedDict, total=Fal googleDriveSource: GoogleCloudAiplatformV1beta1GoogleDriveSource jiraSource: GoogleCloudAiplatformV1beta1JiraSource name: str - ragFileType: typing_extensions.Literal[ + ragFileType: typing.Literal[ "RAG_FILE_TYPE_UNSPECIFIED", "RAG_FILE_TYPE_TXT", "RAG_FILE_TYPE_PDF" ] sharePointSources: GoogleCloudAiplatformV1beta1SharePointSources @@ -10994,9 +10763,7 @@ class GoogleCloudAiplatformV1beta1RagFile(typing_extensions.TypedDict, total=Fal userMetadata: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagFileChunkingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagFileChunkingConfig(typing.TypedDict, total=False): chunkOverlap: int chunkSize: int fixedLengthChunking: ( @@ -11005,15 +10772,13 @@ class GoogleCloudAiplatformV1beta1RagFileChunkingConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkOverlap: int chunkSize: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagFileMetadataConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagFileMetadataConfig(typing.TypedDict, total=False): gcsMetadataSchemaSource: GoogleCloudAiplatformV1beta1GcsSource gcsMetadataSource: GoogleCloudAiplatformV1beta1GcsSource googleDriveMetadataSchemaSource: GoogleCloudAiplatformV1beta1GoogleDriveSource @@ -11022,9 +10787,7 @@ class GoogleCloudAiplatformV1beta1RagFileMetadataConfig( inlineMetadataSource: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagFileParsingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagFileParsingConfig(typing.TypedDict, total=False): advancedParser: GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser layoutParser: GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser llmParser: GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser @@ -11032,13 +10795,13 @@ class GoogleCloudAiplatformV1beta1RagFileParsingConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useAdvancedPdfParsing: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): globalMaxParsingRequestsPerMin: int maxParsingRequestsPerMin: int @@ -11046,7 +10809,7 @@ class GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customParsingPrompt: str globalMaxParsingRequestsPerMin: int @@ -11055,14 +10818,12 @@ class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagFileTransformationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragFileChunkingConfig: GoogleCloudAiplatformV1beta1RagFileChunkingConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagManagedDbConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagManagedDbConfig(typing.TypedDict, total=False): basic: GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic enterprise: GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise scaled: GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled @@ -11072,27 +10833,27 @@ class GoogleCloudAiplatformV1beta1RagManagedDbConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1RagManagedDbConfigServerless( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1RagManagedDbConfigSpanner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basic: GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic scaled: GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled @@ -11100,24 +10861,22 @@ class GoogleCloudAiplatformV1beta1RagManagedDbConfigSpanner( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RagMetadata(typing.TypedDict, total=False): name: str userSpecifiedMetadata: GoogleCloudAiplatformV1beta1UserSpecifiedMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1RagMetadataSchemaDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - granularity: typing_extensions.Literal[ - "GRANULARITY_UNSPECIFIED", "GRANULARITY_FILE_LEVEL" - ] + granularity: typing.Literal["GRANULARITY_UNSPECIFIED", "GRANULARITY_FILE_LEVEL"] listConfig: GoogleCloudAiplatformV1beta1RagMetadataSchemaDetailsListConfig searchStrategy: GoogleCloudAiplatformV1beta1RagMetadataSchemaDetailsSearchStrategy - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "INTEGER", "FLOAT", @@ -11129,35 +10888,31 @@ class GoogleCloudAiplatformV1beta1RagMetadataSchemaDetails( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagMetadataSchemaDetailsListConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): valueSchema: GoogleCloudAiplatformV1beta1RagMetadataSchemaDetails @typing.type_check_only class GoogleCloudAiplatformV1beta1RagMetadataSchemaDetailsSearchStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - searchStrategyType: typing_extensions.Literal[ + searchStrategyType: typing.Literal[ "SEARCH_STRATEGY_TYPE_UNSPECIFIED", "NO_SEARCH", "EXACT_SEARCH" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RagQuery(typing.TypedDict, total=False): ragRetrievalConfig: GoogleCloudAiplatformV1beta1RagRetrievalConfig ranking: GoogleCloudAiplatformV1beta1RagQueryRanking similarityTopK: int text: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagQueryRanking( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagQueryRanking(typing.TypedDict, total=False): alpha: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagRetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagRetrievalConfig(typing.TypedDict, total=False): filter: GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter hybridSearch: GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch ranking: GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking @@ -11165,7 +10920,7 @@ class GoogleCloudAiplatformV1beta1RagRetrievalConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadataFilter: str vectorDistanceThreshold: float @@ -11173,33 +10928,31 @@ class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alpha: float @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): llmRanker: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker rankService: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagVectorDbConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagVectorDbConfig(typing.TypedDict, total=False): apiAuth: GoogleCloudAiplatformV1beta1ApiAuth pinecone: GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone ragEmbeddingModelConfig: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig @@ -11213,77 +10966,73 @@ class GoogleCloudAiplatformV1beta1RagVectorDbConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): indexName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ann: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN knn: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leafCount: int treeDepth: int @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collectionName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureViewResourceName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): index: str indexEndpoint: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collectionName: str httpEndpoint: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RawOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RawOutput(typing.TypedDict, total=False): rawOutput: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1RawPredictRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RawPredictRequest(typing.TypedDict, total=False): httpBody: GoogleApiHttpBody @typing.type_check_only -class GoogleCloudAiplatformV1beta1RayLogsSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RayLogsSpec(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1RayMetricSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RayMetricSpec(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1RaySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RaySpec(typing.TypedDict, total=False): headNodeResourcePoolId: str imageUri: str nfsMounts: _list[GoogleCloudAiplatformV1beta1NfsMount] @@ -11293,41 +11042,41 @@ class GoogleCloudAiplatformV1beta1RaySpec(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityId: str featureSelector: GoogleCloudAiplatformV1beta1FeatureSelector @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityView: GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseEntityView header: GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseHeader @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseEntityView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: _list[GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseEntityViewData] entityId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseEntityViewData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: GoogleCloudAiplatformV1beta1FeatureValue values: GoogleCloudAiplatformV1beta1FeatureValueList @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseFeatureDescriptor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityType: str featureDescriptors: _list[ @@ -11336,44 +11085,44 @@ class GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseHeader( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadIndexDatapointsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedIndexId: str ids: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadIndexDatapointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datapoints: _list[GoogleCloudAiplatformV1beta1IndexDatapoint] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadTensorboardBlobDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobs: _list[GoogleCloudAiplatformV1beta1TensorboardBlob] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadTensorboardSizeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): storageSizeByte: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadTensorboardTimeSeriesDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeSeriesData: GoogleCloudAiplatformV1beta1TimeSeriesData @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monthlyUsageData: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerMonthUsageData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userUsageData: _list[ GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerUserUsageData @@ -11381,15 +11130,13 @@ class GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerMonthUsageData( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerUserUsageData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): username: str viewCount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ReasoningEngine( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ReasoningEngine(typing.TypedDict, total=False): contextSpec: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec createTime: str description: str @@ -11404,7 +11151,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngine( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): memoryBankConfig: ( GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig @@ -11412,7 +11159,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customizationConfigs: _list[ GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig @@ -11427,20 +11174,20 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generationTriggerConfig: GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig model: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingModel: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultTtl: str granularTtlConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig @@ -11448,7 +11195,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlC @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTtl: str generateCreatedTtl: str @@ -11456,44 +11203,51 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlC @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineRuntimeRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str name: str spec: GoogleCloudAiplatformV1beta1ReasoningEngineSpec - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ReasoningEngineSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ReasoningEngineSpec(typing.TypedDict, total=False): agentCard: dict[str, typing.Any] agentFramework: str + buildSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecBuildSpec classMethods: _list[dict[str, typing.Any]] containerSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecContainerSpec deploymentSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec effectiveIdentity: str - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT", "AGENT_IDENTITY" ] packageSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec serviceAccount: str sourceCodeSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecBuildSpec( + typing.TypedDict, total=False +): + serviceAccount: str + workerPool: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecContainerSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageUri: str + port: int @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentGatewayConfig: ( GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpecAgentGatewayConfig ) - agentServerMode: typing_extensions.Literal[ + agentServerMode: typing.Literal[ "AGENT_SERVER_MODE_UNSPECIFIED", "STABLE", "EXPERIMENTAL" ] containerConcurrency: int @@ -11507,26 +11261,26 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpecAgentGatewayConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentToAnywhereConfig: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigAgentToAnywhereConfig clientToAgentConfig: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigClientToAgentConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigAgentToAnywhereConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentGateway: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpecAgentGatewayConfigClientToAgentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentGateway: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dependencyFilesGcsUri: str pickleObjectGcsUri: str @@ -11535,7 +11289,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentConfigSource: ( GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecAgentConfigSource @@ -11549,7 +11303,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecAgentConfigSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adkConfig: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecAgentConfigSourceAdkConfig inlineSource: ( @@ -11558,13 +11312,13 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecAgentConfigSo @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecAgentConfigSourceAdkConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): jsonConfig: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str gitRepositoryLink: str @@ -11572,25 +11326,25 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConn @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): config: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecImageSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): buildArgs: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceArchive: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entrypointModule: str entrypointObject: str @@ -11599,7 +11353,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trafficSplitAlwaysLatest: ( GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfigTrafficSplitAlwaysLatest @@ -11610,12 +11364,12 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfigTrafficSplitAlwaysLatest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfigTrafficSplitManual( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targets: _list[ GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfigTrafficSplitManualTarget @@ -11623,14 +11377,14 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfigTrafficSplitManual @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineTrafficConfigTrafficSplitManualTarget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percent: int runtimeRevisionName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RebaseTunedModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactDestination: GoogleCloudAiplatformV1beta1GcsDestination deployToSameEndpoint: bool @@ -11639,28 +11393,24 @@ class GoogleCloudAiplatformV1beta1RebaseTunedModelRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1RecommendSpecRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RecommendSpecRequest(typing.TypedDict, total=False): checkMachineAvailability: bool checkUserQuota: bool gcsUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RecommendSpecResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RecommendSpecResponse(typing.TypedDict, total=False): baseModel: str recommendations: _list[ GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation @@ -11671,18 +11421,18 @@ class GoogleCloudAiplatformV1beta1RecommendSpecResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): containerSpec: GoogleCloudAiplatformV1beta1ModelContainerSpec machineSpec: GoogleCloudAiplatformV1beta1MachineSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str spec: GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec - userQuotaState: typing_extensions.Literal[ + userQuotaState: typing.Literal[ "QUOTA_STATE_UNSPECIFIED", "QUOTA_STATE_USER_HAS_QUOTA", "QUOTA_STATE_NO_USER_QUOTA", @@ -11690,7 +11440,7 @@ class GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningAutoraterScorer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig autoraterPrompt: str @@ -11704,7 +11454,7 @@ class GoogleCloudAiplatformV1beta1ReinforcementTuningAutoraterScorer( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningAutoraterScorerExactMatchScorer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correctAnswerReward: float expression: str @@ -11712,34 +11462,35 @@ class GoogleCloudAiplatformV1beta1ReinforcementTuningAutoraterScorerExactMatchSc @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningAutoraterScorerParsedResponseConversionScorer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningCloudRunRewardScorer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudRunUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningCodeExecutionRewardScorer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pythonCodeSnippet: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1beta1Content] references: dict[str, typing.Any] systemInstruction: GoogleCloudAiplatformV1beta1Content + tools: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningHyperParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adapterSize: typing_extensions.Literal[ + adapterSize: typing.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", "ADAPTER_SIZE_TWO", @@ -11755,8 +11506,9 @@ class GoogleCloudAiplatformV1beta1ReinforcementTuningHyperParameters( learningRateMultiplier: float maxOutputTokens: int samplesPerPrompt: int + stepCount: str thinkingBudget: int - thinkingLevel: typing_extensions.Literal[ + thinkingLevel: typing.Literal[ "REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED", "MINIMAL", "LOW", @@ -11766,23 +11518,24 @@ class GoogleCloudAiplatformV1beta1ReinforcementTuningHyperParameters( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningParseResponseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - parseType: typing_extensions.Literal[ + parseType: typing.Literal[ "RESPONSE_PARSE_TYPE_UNSPECIFIED", "IDENTITY", "REGEX_EXTRACT" ] regexExtractExpression: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + errorStatus: GoogleRpcStatus reward: float userRequestedAuxInfo: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compositeRewardConfig: ( GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig @@ -11796,7 +11549,7 @@ class GoogleCloudAiplatformV1beta1ReinforcementTuningSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningStringMatchRewardScorer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correctAnswerReward: float jsonMatchExpression: GoogleCloudAiplatformV1beta1ReinforcementTuningStringMatchRewardScorerJsonMatchExpression @@ -11805,89 +11558,81 @@ class GoogleCloudAiplatformV1beta1ReinforcementTuningStringMatchRewardScorer( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningStringMatchRewardScorerJsonMatchExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keyName: str valueStringMatchExpression: GoogleCloudAiplatformV1beta1ReinforcementTuningStringMatchRewardScorerStringMatchExpression @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningStringMatchRewardScorerStringMatchExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expression: str - matchOperation: typing_extensions.Literal[ + matchOperation: typing.Literal[ "MATCH_OPERATION_UNSPECIFIED", "REGEX_CONTAINS", "PARTIAL_MATCH", "EXACT_MATCH" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1ReinforcementTuningUserDatasetExamples( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userDatasetExamples: _list[GoogleCloudAiplatformV1beta1ReinforcementTuningExample] @typing.type_check_only class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): childContexts: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1RemoveContextChildrenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1RemoveDatapointsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datapointIds: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1RemoveDatapointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1RemoveExamplesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RemoveExamplesRequest(typing.TypedDict, total=False): exampleIds: _list[str] storedContentsExampleFilter: GoogleCloudAiplatformV1beta1StoredContentsExampleFilter @typing.type_check_only -class GoogleCloudAiplatformV1beta1RemoveExamplesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RemoveExamplesResponse(typing.TypedDict, total=False): exampleIds: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig(typing.TypedDict, total=False): mimeType: str voiceSampleAudio: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReportExecutionEventRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "ACTIVE", "DONE", "FAILED" - ] + eventType: typing.Literal["EVENT_TYPE_UNSPECIFIED", "ACTIVE", "DONE", "FAILED"] status: GoogleRpcStatus vmToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReportExecutionEventResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventDetails: dict[str, typing.Any] - eventType: typing_extensions.Literal["EVENT_TYPE_UNSPECIFIED", "HEARTBEAT", "IDLE"] + eventType: typing.Literal["EVENT_TYPE_UNSPECIFIED", "HEARTBEAT", "IDLE"] internalOsServiceStateInstance: _list[ GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance ] @@ -11898,24 +11643,20 @@ class GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idleShutdownMessage: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ReservationAffinity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ReservationAffinity(typing.TypedDict, total=False): key: str - reservationAffinityType: typing_extensions.Literal[ + reservationAffinityType: typing.Literal[ "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" ] values: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ResourcePool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ResourcePool(typing.TypedDict, total=False): autoscalingSpec: GoogleCloudAiplatformV1beta1ResourcePoolAutoscalingSpec diskSpec: GoogleCloudAiplatformV1beta1DiskSpec id: str @@ -11925,35 +11666,27 @@ class GoogleCloudAiplatformV1beta1ResourcePool( @typing.type_check_only class GoogleCloudAiplatformV1beta1ResourcePoolAutoscalingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxReplicaCount: str minReplicaCount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ResourceRuntime( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ResourceRuntime(typing.TypedDict, total=False): accessUris: dict[str, typing.Any] notebookRuntimeTemplate: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ResourceRuntimeSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ResourceRuntimeSpec(typing.TypedDict, total=False): raySpec: GoogleCloudAiplatformV1beta1RaySpec serviceAccountSpec: GoogleCloudAiplatformV1beta1ServiceAccountSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1ResourcesConsumed( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ResourcesConsumed(typing.TypedDict, total=False): replicaHours: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1ResponseFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ResponseFormat(typing.TypedDict, total=False): audio: GoogleCloudAiplatformV1beta1AudioResponseFormat image: GoogleCloudAiplatformV1beta1ImageResponseFormat text: GoogleCloudAiplatformV1beta1TextResponseFormat @@ -11961,56 +11694,50 @@ class GoogleCloudAiplatformV1beta1ResponseFormat( @typing.type_check_only class GoogleCloudAiplatformV1beta1RestoreDatasetVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1ResumeModelDeploymentMonitoringJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ResumeSandboxEnvironmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ResumeScheduleRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ResumeScheduleRequest(typing.TypedDict, total=False): catchUp: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1Retrieval(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Retrieval(typing.TypedDict, total=False): disableAttribution: bool externalApi: GoogleCloudAiplatformV1beta1ExternalApi vertexAiSearch: GoogleCloudAiplatformV1beta1VertexAISearch vertexRagStore: GoogleCloudAiplatformV1beta1VertexRagStore @typing.type_check_only -class GoogleCloudAiplatformV1beta1RetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RetrievalConfig(typing.TypedDict, total=False): languageCode: str latLng: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudAiplatformV1beta1RetrievalMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RetrievalMetadata(typing.TypedDict, total=False): googleSearchDynamicRetrievalScore: float @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveContextsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: GoogleCloudAiplatformV1beta1RagQuery vertexRagStore: GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragCorpora: _list[str] ragResources: _list[ @@ -12020,31 +11747,31 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore( @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragCorpus: str ragFileIds: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveContextsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contexts: GoogleCloudAiplatformV1beta1RagContexts @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveExpressProjectResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressProject: GoogleCloudAiplatformV1beta1ExpressProject @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str filterGroups: _list[GoogleCloudAiplatformV1beta1MemoryConjunctionFilter] memoryTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEMORY_TYPE_UNSPECIFIED", "NATURAL_LANGUAGE_COLLECTION", "STRUCTURED_PROFILE", @@ -12060,21 +11787,21 @@ class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchQuery: str topK: int @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimpleRetrievalParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str retrievedMemories: _list[ @@ -12083,48 +11810,42 @@ class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distance: float memory: GoogleCloudAiplatformV1beta1Memory @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveProfilesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scope: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveProfilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): profiles: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1RetrieveSkillsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RetrieveSkillsResponse(typing.TypedDict, total=False): retrievedSkills: _list[ GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill ] @typing.type_check_only class GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str skillName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RollbackMemoryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RollbackMemoryRequest(typing.TypedDict, total=False): targetRevisionId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RolloutOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RolloutOptions(typing.TypedDict, total=False): maxSurgePercentage: int maxSurgeReplicas: int maxUnavailablePercentage: int @@ -12133,95 +11854,79 @@ class GoogleCloudAiplatformV1beta1RolloutOptions( revisionNumber: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1RougeInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RougeInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1beta1RougeInstance] metricSpec: GoogleCloudAiplatformV1beta1RougeSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1RougeInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RougeInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RougeMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RougeMetricValue(typing.TypedDict, total=False): score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1RougeResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RougeResults(typing.TypedDict, total=False): rougeMetricValues: _list[GoogleCloudAiplatformV1beta1RougeMetricValue] @typing.type_check_only -class GoogleCloudAiplatformV1beta1RougeSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RougeSpec(typing.TypedDict, total=False): rougeType: str splitSummaries: bool useStemmer: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1Rubric(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Rubric(typing.TypedDict, total=False): content: GoogleCloudAiplatformV1beta1RubricContent - importance: typing_extensions.Literal[ - "IMPORTANCE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW" - ] + importance: typing.Literal["IMPORTANCE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW"] rubricId: str type: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInstance metricSpec: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): jsonInstance: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rubricCritiqueResults: _list[GoogleCloudAiplatformV1beta1RubricCritiqueResult] score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1RubricContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RubricContent(typing.TypedDict, total=False): property: GoogleCloudAiplatformV1beta1RubricContentProperty @typing.type_check_only -class GoogleCloudAiplatformV1beta1RubricContentProperty( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RubricContentProperty(typing.TypedDict, total=False): description: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RubricCritiqueResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RubricCritiqueResult(typing.TypedDict, total=False): rubric: str verdict: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1RubricGenerationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RubricGenerationSpec(typing.TypedDict, total=False): modelConfig: GoogleCloudAiplatformV1beta1AutoraterConfig promptTemplate: str - rubricContentType: typing_extensions.Literal[ + rubricContentType: typing.Literal[ "RUBRIC_CONTENT_TYPE_UNSPECIFIED", "PROPERTY", "NL_QUESTION_ANSWER", @@ -12230,23 +11935,19 @@ class GoogleCloudAiplatformV1beta1RubricGenerationSpec( rubricTypeOntology: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1RubricGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RubricGroup(typing.TypedDict, total=False): displayName: str groupId: str rubrics: _list[GoogleCloudAiplatformV1beta1Rubric] @typing.type_check_only -class GoogleCloudAiplatformV1beta1RubricVerdict( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RubricVerdict(typing.TypedDict, total=False): evaluatedRubric: GoogleCloudAiplatformV1beta1Rubric reasoning: str verdict: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1RuntimeArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RuntimeArtifact(typing.TypedDict, total=False): customProperties: dict[str, typing.Any] metadata: dict[str, typing.Any] name: str @@ -12255,9 +11956,7 @@ class GoogleCloudAiplatformV1beta1RuntimeArtifact( uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RuntimeConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RuntimeConfig(typing.TypedDict, total=False): codeInterpreterRuntimeConfig: ( GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig ) @@ -12268,35 +11967,31 @@ class GoogleCloudAiplatformV1beta1RuntimeConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileInputGcsBucket: str fileOutputGcsBucket: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineId: str servingConfigName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetyInput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1SafetyInput(typing.TypedDict, total=False): instance: GoogleCloudAiplatformV1beta1SafetyInstance metricSpec: GoogleCloudAiplatformV1beta1SafetySpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetyInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SafetyInstance(typing.TypedDict, total=False): prediction: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetyRating( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -12309,7 +12004,7 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", "HARM_CATEGORY_JAILBREAK", ] - overwrittenThreshold: typing_extensions.Literal[ + overwrittenThreshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -12317,11 +12012,11 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "BLOCK_NONE", "OFF", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -12331,18 +12026,14 @@ class GoogleCloudAiplatformV1beta1SafetyRating( severityScore: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetyResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SafetyResult(typing.TypedDict, total=False): confidence: float explanation: str score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetySetting( - typing_extensions.TypedDict, total=False -): - category: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1SafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -12355,10 +12046,8 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", "HARM_CATEGORY_JAILBREAK", ] - method: typing_extensions.Literal[ - "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" - ] - threshold: typing_extensions.Literal[ + method: typing.Literal["HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY"] + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -12368,41 +12057,33 @@ class GoogleCloudAiplatformV1beta1SafetySetting( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1SafetySpec(typing.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1SampleConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SampleConfig(typing.TypedDict, total=False): followingBatchSamplePercentage: int initialBatchSamplePercentage: int - sampleStrategy: typing_extensions.Literal[ - "SAMPLE_STRATEGY_UNSPECIFIED", "UNCERTAINTY" - ] + sampleStrategy: typing.Literal["SAMPLE_STRATEGY_UNSPECIFIED", "UNCERTAINTY"] @typing.type_check_only class GoogleCloudAiplatformV1beta1SampledShapleyAttribution( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pathCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1SamplingStrategy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SamplingStrategy(typing.TypedDict, total=False): randomSampleConfig: GoogleCloudAiplatformV1beta1SamplingStrategyRandomSampleConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1SamplingStrategyRandomSampleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleRate: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SandboxEnvironment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SandboxEnvironment(typing.TypedDict, total=False): connectionInfo: GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo createTime: str displayName: str @@ -12413,7 +12094,7 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironment( sandboxEnvironmentSnapshot: str sandboxEnvironmentTemplate: str spec: GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_PROVISIONING", "STATE_RUNNING", @@ -12426,16 +12107,17 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironment( @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): loadBalancerHostname: str loadBalancerIp: str routingToken: str sandboxInternalIp: str + serviceAttachment: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentSnapshot( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str displayName: str @@ -12443,7 +12125,7 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentSnapshot( name: str owner: str parentSnapshot: str - postSnapshotAction: typing_extensions.Literal[ + postSnapshotAction: typing.Literal[ "POST_SNAPSHOT_ACTION_UNSPECIFIED", "RUNNING", "PAUSE" ] sizeBytes: str @@ -12452,9 +12134,7 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentSnapshot( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec(typing.TypedDict, total=False): codeExecutionEnvironment: ( GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment ) @@ -12464,23 +12144,23 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - codeLanguage: typing_extensions.Literal[ + codeLanguage: typing.Literal[ "LANGUAGE_UNSPECIFIED", "LANGUAGE_PYTHON", "LANGUAGE_JAVASCRIPT" ] - machineConfig: typing_extensions.Literal[ + machineConfig: typing.Literal[ "MACHINE_CONFIG_UNSPECIFIED", "MACHINE_CONFIG_VCPU4_RAM4GIB" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str customContainerEnvironment: ( @@ -12491,15 +12171,16 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate( egressControlConfig: ( GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig ) + ingressControlConfig: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "UNSPECIFIED", "PROVISIONING", "ACTIVE", "DEPROVISIONING", "DELETED", "FAILED" ] updateTime: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateCustomContainerEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customContainerSpec: ( GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateCustomContainerSpec @@ -12511,17 +12192,18 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateCustomContainerEnvir @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateCustomContainerSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - defaultContainerCategory: typing_extensions.Literal[ + defaultContainerCategory: typing.Literal[ "DEFAULT_CONTAINER_CATEGORY_UNSPECIFIED", "DEFAULT_CONTAINER_CATEGORY_COMPUTER_USE", + "DEFAULT_CONTAINER_CATEGORY_SHELL_SANDBOX", ] resources: ( GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateResourceRequirements @@ -12529,26 +12211,39 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvi @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + customerVpcNetwork: str + dnsPeeringConfigs: _list[ + GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig + ] internetAccess: bool + networkAttachment: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig( + typing.TypedDict, total=False +): + domain: str + targetNetwork: str + targetProject: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateNetworkPort( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): port: int - protocol: typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "TCP", "UDP"] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "TCP", "UDP"] @typing.type_check_only class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateResourceRequirements( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limits: dict[str, typing.Any] requests: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1SavedQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1SavedQuery(typing.TypedDict, total=False): annotationFilter: str annotationSpecCount: int createTime: str @@ -12561,11 +12256,11 @@ class GoogleCloudAiplatformV1beta1SavedQuery(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Scalar(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Scalar(typing.TypedDict, total=False): value: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1Schedule(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Schedule(typing.TypedDict, total=False): allowQueueing: bool catchUp: bool createModelMonitoringJobRequest: ( @@ -12589,30 +12284,24 @@ class GoogleCloudAiplatformV1beta1Schedule(typing_extensions.TypedDict, total=Fa nextRunTime: str startTime: str startedRunCount: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "COMPLETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "COMPLETED"] updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ScheduleConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ScheduleConfig(typing.TypedDict, total=False): cron: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ScheduleRunResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ScheduleRunResponse(typing.TypedDict, total=False): runResponse: str scheduledRunTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Scheduling(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Scheduling(typing.TypedDict, total=False): disableRetries: bool maxWaitDuration: str restartJobOnWorkerRestart: bool - strategy: typing_extensions.Literal[ + strategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "ON_DEMAND", "LOW_COST", @@ -12623,7 +12312,7 @@ class GoogleCloudAiplatformV1beta1Scheduling(typing_extensions.TypedDict, total= timeout: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Schema(typing.TypedDict, total=False): additionalProperties: typing.Any anyOf: _list[GoogleCloudAiplatformV1beta1Schema] default: typing.Any @@ -12648,7 +12337,7 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals ref: str required: _list[str] title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -12661,7 +12350,7 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaAnnotationSpecColor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): color: GoogleTypeColor displayName: str @@ -12669,7 +12358,7 @@ class GoogleCloudAiplatformV1beta1SchemaAnnotationSpecColor( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaImageBoundingBoxAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -12680,28 +12369,26 @@ class GoogleCloudAiplatformV1beta1SchemaImageBoundingBoxAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaImageClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaImageDataItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaImageDataItem(typing.TypedDict, total=False): gcsUri: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaImageDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataItemSchemaUri: str gcsBucket: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maskAnnotation: ( GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotationMaskAnnotation @@ -12715,14 +12402,14 @@ class GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotationMaskAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecColors: _list[GoogleCloudAiplatformV1beta1SchemaAnnotationSpecColor] maskGcsUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotationPolygonAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -12730,7 +12417,7 @@ class GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotationPolygonAnnota @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotationPolylineAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -12738,7 +12425,7 @@ class GoogleCloudAiplatformV1beta1SchemaImageSegmentationAnnotationPolylineAnnot @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsBoundingBoxMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics @@ -12748,7 +12435,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsBoundingBoxMetrics @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float f1Score: float @@ -12757,7 +12444,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsBoundingBoxMetrics @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsClassificationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auPrc: float auRoc: float @@ -12771,7 +12458,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsClassificationEval @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float confusionMatrix: ( @@ -12795,7 +12482,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsClassificationEval @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsConfusionMatrix( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecs: _list[ GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef @@ -12804,14 +12491,14 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsConfusionMatrix( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str id: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsForecastingEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): meanAbsoluteError: float meanAbsolutePercentageError: float @@ -12826,7 +12513,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsForecastingEvaluat @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observedQuantile: float quantile: float @@ -12834,14 +12521,14 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsForecastingEvaluat @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsGeneralTextGenerationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bleu: float rougeLSum: float @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBoxMeanAveragePrecision: float boundingBoxMetrics: _list[ @@ -12851,7 +12538,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageObjectDetecti @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageSegmentationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetricsEntries: _list[ GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry @@ -12859,7 +12546,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageSegmentationE @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float confusionMatrix: ( @@ -12872,7 +12559,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageSegmentationE @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracy: float baselineModelWinRate: float @@ -12890,13 +12577,13 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsPairwiseTextGenera @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exactMatch: float @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsRegressionEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): meanAbsoluteError: float meanAbsolutePercentageError: float @@ -12906,13 +12593,13 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsRegressionEvaluati @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsSummarizationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rougeLSum: float @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTextExtractionEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics @@ -12923,7 +12610,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTextExtractionEval @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float f1Score: float @@ -12932,7 +12619,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTextExtractionEval @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confusionMatrix: ( GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsConfusionMatrix @@ -12947,7 +12634,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTextSentimentEvalu @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTrackMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics @@ -12959,7 +12646,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTrackMetrics( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBoxIou: float confidenceThreshold: float @@ -12969,7 +12656,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsTrackMetricsConfid @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoActionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceMetrics: _list[ GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics @@ -12979,7 +12666,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoActionMetrics @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float f1Score: float @@ -12988,7 +12675,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoActionMetrics @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoActionRecognitionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedActionCount: int videoActionMetrics: _list[ @@ -12997,7 +12684,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoActionRecogni @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoObjectTrackingMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingBoxMeanAveragePrecision: float boundingBoxMetrics: _list[ @@ -13015,7 +12702,7 @@ class GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsVideoObjectTrackin @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): geminiRequestReadConfig: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig inputConfig: GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataMultimodalDatasetInputConfig @@ -13023,13 +12710,13 @@ class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataBigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataMultimodalDatasetInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: ( GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataBigQuerySource @@ -13037,35 +12724,35 @@ class GoogleCloudAiplatformV1beta1SchemaMultimodalDatasetMetadataMultimodalDatas @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceImageClassificationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceImageObjectDetectionPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceImageSegmentationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceTextClassificationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceTextExtractionPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str key: str @@ -13073,14 +12760,14 @@ class GoogleCloudAiplatformV1beta1SchemaPredictInstanceTextExtractionPredictionI @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceTextSentimentPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceVideoActionRecognitionPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @@ -13089,7 +12776,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictInstanceVideoActionRecognitionPre @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceVideoClassificationPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @@ -13098,7 +12785,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictInstanceVideoClassificationPredic @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictInstanceVideoObjectTrackingPredictionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @@ -13107,7 +12794,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictInstanceVideoObjectTrackingPredic @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAttribution: bool sources: _list[ @@ -13116,45 +12803,45 @@ class GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enterpriseDatastore: str inlineContext: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "WEB", "ENTERPRISE", "VERTEX_AI_SEARCH", "INLINE" ] vertexAiSearchDatastore: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsImageClassificationPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsImageObjectDetectionPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsImageSegmentationPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsVideoActionRecognitionPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsVideoClassificationPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @@ -13164,7 +12851,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictParamsVideoClassificationPredicti @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictParamsVideoObjectTrackingPredictionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float maxPredictions: int @@ -13172,7 +12859,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictParamsVideoObjectTrackingPredicti @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionClassificationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidences: _list[float] displayNames: _list[str] @@ -13180,7 +12867,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionClassificationPredictio @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionImageObjectDetectionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bboxes: _list[_list[typing.Any]] confidences: _list[float] @@ -13189,21 +12876,21 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionImageObjectDetectionPre @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionImageSegmentationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryMask: str confidenceMask: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTabularClassificationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classes: _list[str] scores: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTabularRegressionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lowerBound: float quantilePredictions: _list[float] @@ -13213,7 +12900,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTabularRegressionPredic @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTextExtractionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidences: _list[float] displayNames: _list[str] @@ -13223,13 +12910,13 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTextExtractionPredictio @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTextSentimentPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentiment: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTftFeatureImportance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeColumns: _list[str] attributeWeights: _list[float] @@ -13240,7 +12927,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTftFeatureImportance( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTimeSeriesForecastingPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantilePredictions: _list[float] quantileValues: _list[float] @@ -13251,7 +12938,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionTimeSeriesForecastingPr @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoActionRecognitionPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -13261,7 +12948,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoActionRecognitionP @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoClassificationPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -13272,7 +12959,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoClassificationPred @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoObjectTrackingPredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -13285,7 +12972,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoObjectTrackingPred @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeOffset: str xMax: float @@ -13294,9 +12981,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictPredictionVideoObjectTrackingPred yMin: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaPredictionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaPredictionResult(typing.TypedDict, total=False): error: GoogleCloudAiplatformV1beta1SchemaPredictionResultError instance: dict[str, typing.Any] key: str @@ -13304,10 +12989,10 @@ class GoogleCloudAiplatformV1beta1SchemaPredictionResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPredictionResultError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str - status: typing_extensions.Literal[ + status: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -13328,9 +13013,7 @@ class GoogleCloudAiplatformV1beta1SchemaPredictionResultError( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaPromptApiSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaPromptApiSchema(typing.TypedDict, total=False): apiSchemaVersion: str executions: _list[GoogleCloudAiplatformV1beta1SchemaPromptInstancePromptExecution] multimodalPrompt: GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt @@ -13339,29 +13022,29 @@ class GoogleCloudAiplatformV1beta1SchemaPromptApiSchema( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptInstancePromptExecution( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): arguments: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partList: GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): codeRepositoryState: str - framework: typing_extensions.Literal["FRAMEWORK_UNSPECIFIED", "REACT", "ANGULAR"] + framework: typing.Literal["FRAMEWORK_UNSPECIFIED", "REACT", "ANGULAR"] linkedResources: _list[ GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource ] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -13369,25 +13052,25 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecInteractionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): interactionIds: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): promptMessage: GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parts: _list[GoogleCloudAiplatformV1beta1Part] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig @@ -13399,14 +13082,14 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePair( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceSentence: str targetSentence: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePairList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceSentencePairs: _list[ GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePair @@ -13414,7 +13097,7 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePairList( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appBuilderData: GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData context: GoogleCloudAiplatformV1beta1Content @@ -13429,7 +13112,7 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceSentencePairLists: _list[ GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePairList @@ -13440,7 +13123,7 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationExample( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str displayName: str @@ -13448,19 +13131,19 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationGcsInputSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numberOfShots: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): example: GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationExample option: GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationOption @@ -13470,7 +13153,7 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationPrompt( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationSentenceFileInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileInputSource: ( GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource @@ -13481,25 +13164,25 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationSentenceFileInput( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputConfig: GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadataInputConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadataBigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadataGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadataInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: ( GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadataBigQuerySource @@ -13508,27 +13191,25 @@ class GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadataInputConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTextClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaTextDataItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaTextDataItem(typing.TypedDict, total=False): gcsUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTextDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataItemSchemaUri: str gcsBucket: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTextExtractionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -13536,7 +13217,7 @@ class GoogleCloudAiplatformV1beta1SchemaTextExtractionAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTextPromptDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidateCount: str gcsUri: str @@ -13558,16 +13239,14 @@ class GoogleCloudAiplatformV1beta1SchemaTextPromptDatasetMetadata( topP: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaTextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaTextSegment(typing.TypedDict, total=False): content: str endOffset: str startOffset: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTextSentimentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -13576,20 +13255,18 @@ class GoogleCloudAiplatformV1beta1SchemaTextSentimentAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTextSentimentSavedQueryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentimentMax: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaTimeSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaTimeSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputConfig: GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadataInputConfig timeColumn: str @@ -13597,19 +13274,19 @@ class GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadataBigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadataGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadataInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: ( GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadataBigQuerySource @@ -13618,7 +13295,7 @@ class GoogleCloudAiplatformV1beta1SchemaTimeSeriesDatasetMetadataInputConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecasting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: ( GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputs @@ -13629,7 +13306,7 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecasting( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] availableAtForecastColumns: _list[str] @@ -13659,14 +13336,14 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingIn @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantity: str unit: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation @@ -13676,57 +13353,57 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingIn @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str timeFormat: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlForecastingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageClassification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs metadata: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseModelId: str budgetMilliNodeHours: str disableEarlyStopping: bool - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "CLOUD_1", @@ -13744,27 +13421,27 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageClassifi @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMilliNodeHours: str - successfulStopReason: typing_extensions.Literal[ + successfulStopReason: typing.Literal[ "SUCCESSFUL_STOP_REASON_UNSPECIFIED", "BUDGET_REACHED", "MODEL_CONVERGED" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageObjectDetection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs metadata: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetMilliNodeHours: str disableEarlyStopping: bool - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD_HIGH_ACCURACY_1", "CLOUD_LOW_LATENCY_1", @@ -13781,27 +13458,27 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageObjectDe @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMilliNodeHours: str - successfulStopReason: typing_extensions.Literal[ + successfulStopReason: typing.Literal[ "SUCCESSFUL_STOP_REASON_UNSPECIFIED", "BUDGET_REACHED", "MODEL_CONVERGED" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageSegmentation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs metadata: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseModelId: str budgetMilliNodeHours: str - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD_HIGH_ACCURACY_1", "CLOUD_LOW_ACCURACY_1", @@ -13810,16 +13487,16 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageSegmenta @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMilliNodeHours: str - successfulStopReason: typing_extensions.Literal[ + successfulStopReason: typing.Literal[ "SUCCESSFUL_STOP_REASON_UNSPECIFIED", "BUDGET_REACHED", "MODEL_CONVERGED" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTables( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputs metadata: ( @@ -13828,7 +13505,7 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTables( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] disableEarlyStopping: bool @@ -13846,7 +13523,7 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputs( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation @@ -13859,51 +13536,51 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsT @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str invalidValuesAllowed: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str invalidValuesAllowed: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str invalidValuesAllowed: bool @@ -13911,37 +13588,37 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsT @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextClassification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): multiLabel: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextExtraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextSentiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: ( GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs @@ -13949,21 +13626,21 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextSentiment @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentimentMax: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoActionRecognition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "MOBILE_VERSATILE_1", @@ -13973,15 +13650,15 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoActionRe @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoClassification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "MOBILE_VERSATILE_1", @@ -13990,15 +13667,15 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoClassifi @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoObjectTracking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "CLOUD", "MOBILE_VERSATILE_1", @@ -14010,39 +13687,39 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlVideoObjectTr @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): checkpointName: str datasetConfig: dict[str, typing.Any] studySpec: GoogleCloudAiplatformV1beta1StudySpec trainerConfig: dict[str, typing.Any] - trainerType: typing_extensions.Literal[ + trainerType: typing.Literal[ "TRAINER_TYPE_UNSPECIFIED", "AUTOML_TRAINER", "MODEL_GARDEN_TRAINER" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionCustomJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backingCustomJob: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionCustomTask( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1CustomJobSpec metadata: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionCustomJobMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationBigqueryUri: str overrideExistingTable: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): groupColumns: _list[str] groupTemporalTotalWeight: float @@ -14051,14 +13728,14 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backingHyperparameterTuningJob: str bestTrialBackingCustomJob: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxFailedTrialCount: int maxTrialCount: int @@ -14068,21 +13745,21 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHyperparameterTunin @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHyperparameterTuningTask( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec metadata: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs metadata: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] availableAtForecastColumns: _list[str] @@ -14111,14 +13788,14 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecast @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantity: str unit: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation @@ -14128,45 +13805,45 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecast @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str timeFormat: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecasting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputs metadata: ( @@ -14175,7 +13852,7 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecasting( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] availableAtForecastColumns: _list[str] @@ -14204,14 +13881,14 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInput @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantity: str unit: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auto: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation categorical: GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation @@ -14221,60 +13898,58 @@ class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInput @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnName: str timeFormat: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionTftForecastingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluatedDataItemsBigqueryUri: str trainCostMilliNodeHours: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionWindowConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): column: str maxCount: str strideLength: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaVideoActionRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -14282,29 +13957,27 @@ class GoogleCloudAiplatformV1beta1SchemaVideoActionRecognitionAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaVideoClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str timeSegment: GoogleCloudAiplatformV1beta1SchemaTimeSegment @typing.type_check_only -class GoogleCloudAiplatformV1beta1SchemaVideoDataItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SchemaVideoDataItem(typing.TypedDict, total=False): gcsUri: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaVideoDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataItemSchemaUri: str gcsBucket: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaVideoObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecId: str displayName: str @@ -14317,61 +13990,53 @@ class GoogleCloudAiplatformV1beta1SchemaVideoObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaVisualInspectionClassificationLabelSavedQueryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): multiLabel: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaVisualInspectionMaskSavedQueryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchDataItemsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataItemViews: _list[GoogleCloudAiplatformV1beta1DataItemView] nextPageToken: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SearchEntryPoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SearchEntryPoint(typing.TypedDict, total=False): renderedContent: str sdkBlob: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SearchExamplesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SearchExamplesRequest(typing.TypedDict, total=False): storedContentsExampleParameters: ( GoogleCloudAiplatformV1beta1StoredContentsExampleParameters ) topK: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SearchExamplesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SearchExamplesResponse(typing.TypedDict, total=False): results: _list[GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample] @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): example: GoogleCloudAiplatformV1beta1Example similarityScore: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SearchFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SearchFeaturesResponse(typing.TypedDict, total=False): features: _list[GoogleCloudAiplatformV1beta1Feature] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str pageSize: int @@ -14379,14 +14044,14 @@ class GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migratableResources: _list[GoogleCloudAiplatformV1beta1MigratableResource] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployedModelId: str endTime: str @@ -14400,10 +14065,10 @@ class GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesR @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): topFeatureCount: int - type: typing_extensions.Literal[ + type: typing.Literal[ "MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED", "RAW_FEATURE_SKEW", "RAW_FEATURE_DRIFT", @@ -14413,14 +14078,14 @@ class GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesR @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monitoringStats: _list[GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomalies] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertTimeInterval: GoogleTypeInterval modelMonitoringJob: str @@ -14431,7 +14096,7 @@ class GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelMonitoringAlerts: _list[GoogleCloudAiplatformV1beta1ModelMonitoringAlert] nextPageToken: str @@ -14439,7 +14104,7 @@ class GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tabularStatsFilter: ( GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter @@ -14447,7 +14112,7 @@ class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter( @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): algorithm: str modelMonitoringJob: str @@ -14457,7 +14122,7 @@ class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFi @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @@ -14466,38 +14131,36 @@ class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): monitoringStats: _list[GoogleCloudAiplatformV1beta1ModelMonitoringStats] nextPageToken: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: GoogleCloudAiplatformV1beta1NearestNeighborQuery returnFullEntity: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nearestNeighbors: GoogleCloudAiplatformV1beta1NearestNeighbors @typing.type_check_only -class GoogleCloudAiplatformV1beta1SecretEnvVar( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SecretEnvVar(typing.TypedDict, total=False): name: str secretRef: GoogleCloudAiplatformV1beta1SecretRef @typing.type_check_only -class GoogleCloudAiplatformV1beta1SecretRef(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1SecretRef(typing.TypedDict, total=False): secret: str version: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Segment(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Segment(typing.TypedDict, total=False): endIndex: int partIndex: int startIndex: int @@ -14505,7 +14168,7 @@ class GoogleCloudAiplatformV1beta1Segment(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudAiplatformV1beta1SemanticGovernancePolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str agentIdentity: str @@ -14520,7 +14183,7 @@ class GoogleCloudAiplatformV1beta1SemanticGovernancePolicy( @typing.type_check_only class GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str gatewayConfigs: dict[str, typing.Any] @@ -14528,7 +14191,7 @@ class GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine( name: str pscForwardingRule: str pscServiceAttachment: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "ACTIVE", @@ -14540,20 +14203,39 @@ class GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine( @typing.type_check_only class GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mcpServer: str tools: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ServiceAccountSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ServiceAccountSpec(typing.TypedDict, total=False): enableCustomServiceAccount: bool serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Session(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ServingProfile(typing.TypedDict, total=False): + cmekConfig: GoogleCloudAiplatformV1beta1ServingProfileCmekConfig + createTime: str + description: str + displayName: str + name: str + scope: typing.Literal[ + "SERVING_PROFILE_SCOPE_UNSPECIFIED", + "GEMINI_LIVE", + "INTERACTIONS_API", + "RESPONSE_API", + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ServingProfileCmekConfig( + typing.TypedDict, total=False +): + encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1Session(typing.TypedDict, total=False): createTime: str displayName: str expireTime: str @@ -14565,9 +14247,7 @@ class GoogleCloudAiplatformV1beta1Session(typing_extensions.TypedDict, total=Fal userId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SessionEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SessionEvent(typing.TypedDict, total=False): actions: GoogleCloudAiplatformV1beta1EventActions author: str content: GoogleCloudAiplatformV1beta1Content @@ -14581,21 +14261,20 @@ class GoogleCloudAiplatformV1beta1SessionEvent( @typing.type_check_only class GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): publisherModelConfig: GoogleCloudAiplatformV1beta1PublisherModelConfig + updateMask: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SharePointSources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SharePointSources(typing.TypedDict, total=False): sharePointSources: _list[ GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource ] @typing.type_check_only class GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig @@ -14608,22 +14287,18 @@ class GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource( tenantId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ShieldedVmConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ShieldedVmConfig(typing.TypedDict, total=False): enableSecureBoot: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1SignUpRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SignUpRequest(typing.TypedDict, total=False): getDefaultApiKey: bool region: str tosAccepted: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1SingleReinforcementTuningRewardConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoraterScorer: GoogleCloudAiplatformV1beta1ReinforcementTuningAutoraterScorer cloudRunRewardScorer: ( @@ -14641,7 +14316,7 @@ class GoogleCloudAiplatformV1beta1SingleReinforcementTuningRewardConfig( ) @typing.type_check_only -class GoogleCloudAiplatformV1beta1Skill(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Skill(typing.TypedDict, total=False): compatibility: str createTime: str description: str @@ -14650,62 +14325,54 @@ class GoogleCloudAiplatformV1beta1Skill(typing_extensions.TypedDict, total=False license: str name: str sha256: str - skillSource: typing_extensions.Literal["SKILL_SOURCE_UNSPECIFIED", "USER", "SYSTEM"] - state: typing_extensions.Literal[ + skillSource: typing.Literal["SKILL_SOURCE_UNSPECIFIED", "USER", "SYSTEM"] + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "FAILED", "DELETING" ] updateTime: str zippedFilesystem: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SkillRevision( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SkillRevision(typing.TypedDict, total=False): createTime: str name: str skill: GoogleCloudAiplatformV1beta1Skill - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "FAILED", "DELETING" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1SlackSource(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1SlackSource(typing.TypedDict, total=False): channels: _list[GoogleCloudAiplatformV1beta1SlackSourceSlackChannels] @typing.type_check_only class GoogleCloudAiplatformV1beta1SlackSourceSlackChannels( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKeyConfig: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig channels: _list[GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel] @typing.type_check_only class GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelId: str endTime: str startTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SmoothGradConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SmoothGradConfig(typing.TypedDict, total=False): featureNoiseSigma: GoogleCloudAiplatformV1beta1FeatureNoiseSigma noiseSigma: float noisySampleCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig(typing.TypedDict, total=False): speaker: str voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1SpecialistPool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SpecialistPool(typing.TypedDict, total=False): displayName: str name: str pendingDataLabelingJobs: _list[str] @@ -14715,7 +14382,7 @@ class GoogleCloudAiplatformV1beta1SpecialistPool( @typing.type_check_only class GoogleCloudAiplatformV1beta1SpeculativeDecodingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): draftModelSpeculation: ( GoogleCloudAiplatformV1beta1SpeculativeDecodingSpecDraftModelSpeculation @@ -14727,50 +14394,44 @@ class GoogleCloudAiplatformV1beta1SpeculativeDecodingSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1SpeculativeDecodingSpecDraftModelSpeculation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): draftModel: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SpeculativeDecodingSpecNgramSpeculation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ngramSize: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1SpeechConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SpeechConfig(typing.TypedDict, total=False): languageCode: str multiSpeakerVoiceConfig: GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1StartNotebookRuntimeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1beta1StartNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1StopNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1StopTrialRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1StopTrialRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1StoredContentsExample( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1StoredContentsExample(typing.TypedDict, total=False): contentsExample: GoogleCloudAiplatformV1beta1ContentsExample searchKey: str searchKeyGenerationMethod: ( @@ -14779,14 +14440,14 @@ class GoogleCloudAiplatformV1beta1StoredContentsExample( @typing.type_check_only class GoogleCloudAiplatformV1beta1StoredContentsExampleFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): functionNames: GoogleCloudAiplatformV1beta1ExamplesArrayFilter searchKeys: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1StoredContentsExampleParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSearchKey: ( GoogleCloudAiplatformV1beta1StoredContentsExampleParametersContentSearchKey @@ -14796,7 +14457,7 @@ class GoogleCloudAiplatformV1beta1StoredContentsExampleParameters( @typing.type_check_only class GoogleCloudAiplatformV1beta1StoredContentsExampleParametersContentSearchKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contents: _list[GoogleCloudAiplatformV1beta1Content] searchKeyGenerationMethod: ( @@ -14805,19 +14466,17 @@ class GoogleCloudAiplatformV1beta1StoredContentsExampleParametersContentSearchKe @typing.type_check_only class GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethod( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lastEntry: GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethodLastEntry @typing.type_check_only class GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethodLastEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1StratifiedSplit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1StratifiedSplit(typing.TypedDict, total=False): key: str testFraction: float trainingFraction: float @@ -14825,29 +14484,29 @@ class GoogleCloudAiplatformV1beta1StratifiedSplit( @typing.type_check_only class GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classMethod: str input: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1StreamRawPredictRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): httpBody: GoogleApiHttpBody @typing.type_check_only class GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal[ + dataFormat: typing.Literal[ "FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED", "KEY_VALUE", "PROTO_STRUCT" ] dataKeys: _list[GoogleCloudAiplatformV1beta1FeatureViewDataKey] @typing.type_check_only class GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: _list[GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse] dataKeysWithError: _list[GoogleCloudAiplatformV1beta1FeatureViewDataKey] @@ -14855,73 +14514,66 @@ class GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1StreamingPredictRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputs: _list[GoogleCloudAiplatformV1beta1Tensor] parameters: GoogleCloudAiplatformV1beta1Tensor @typing.type_check_only class GoogleCloudAiplatformV1beta1StreamingPredictResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputs: _list[GoogleCloudAiplatformV1beta1Tensor] parameters: GoogleCloudAiplatformV1beta1Tensor @typing.type_check_only class GoogleCloudAiplatformV1beta1StreamingReadFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityIds: _list[str] featureSelector: GoogleCloudAiplatformV1beta1FeatureSelector @typing.type_check_only -class GoogleCloudAiplatformV1beta1StringArray(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1StringArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1StructFieldValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1StructFieldValue(typing.TypedDict, total=False): name: str value: GoogleCloudAiplatformV1beta1FeatureValue @typing.type_check_only -class GoogleCloudAiplatformV1beta1StructValue(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1StructValue(typing.TypedDict, total=False): values: _list[GoogleCloudAiplatformV1beta1StructFieldValue] @typing.type_check_only -class GoogleCloudAiplatformV1beta1StructuredMemoryConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1StructuredMemoryConfig(typing.TypedDict, total=False): schemaConfigs: _list[GoogleCloudAiplatformV1beta1StructuredMemoryConfigSchemaConfig] scopeKeys: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1StructuredMemoryConfigSchemaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str - memoryType: typing_extensions.Literal[ + jsonSchema: typing.Any + memoryType: typing.Literal[ "MEMORY_TYPE_UNSPECIFIED", "NATURAL_LANGUAGE_COLLECTION", "STRUCTURED_PROFILE" ] schema: GoogleCloudAiplatformV1beta1Schema @typing.type_check_only -class GoogleCloudAiplatformV1beta1Study(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Study(typing.TypedDict, total=False): createTime: str displayName: str inactiveReason: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED"] studySpec: GoogleCloudAiplatformV1beta1StudySpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1StudySpec(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ - "ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH" - ] +class GoogleCloudAiplatformV1beta1StudySpec(typing.TypedDict, total=False): + algorithm: typing.Literal["ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH"] convexAutomatedStoppingSpec: ( GoogleCloudAiplatformV1beta1StudySpecConvexAutomatedStoppingSpec ) @@ -14929,23 +14581,21 @@ class GoogleCloudAiplatformV1beta1StudySpec(typing_extensions.TypedDict, total=F decayCurveStoppingSpec: ( GoogleCloudAiplatformV1beta1StudySpecDecayCurveAutomatedStoppingSpec ) - measurementSelectionType: typing_extensions.Literal[ + measurementSelectionType: typing.Literal[ "MEASUREMENT_SELECTION_TYPE_UNSPECIFIED", "LAST_MEASUREMENT", "BEST_MEASUREMENT" ] medianAutomatedStoppingSpec: ( GoogleCloudAiplatformV1beta1StudySpecMedianAutomatedStoppingSpec ) metrics: _list[GoogleCloudAiplatformV1beta1StudySpecMetricSpec] - observationNoise: typing_extensions.Literal[ - "OBSERVATION_NOISE_UNSPECIFIED", "LOW", "HIGH" - ] + observationNoise: typing.Literal["OBSERVATION_NOISE_UNSPECIFIED", "LOW", "HIGH"] parameters: _list[GoogleCloudAiplatformV1beta1StudySpecParameterSpec] studyStoppingConfig: GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig transferLearningConfig: GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecConvexAutomatedStoppingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): learningRateParameterName: str maxStepCount: str @@ -14956,7 +14606,7 @@ class GoogleCloudAiplatformV1beta1StudySpecConvexAutomatedStoppingSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecConvexStopConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoregressiveOrder: str learningRateParameterName: str @@ -14966,35 +14616,31 @@ class GoogleCloudAiplatformV1beta1StudySpecConvexStopConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecDecayCurveAutomatedStoppingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useElapsedDuration: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecMedianAutomatedStoppingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useElapsedDuration: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1StudySpecMetricSpec( - typing_extensions.TypedDict, total=False -): - goal: typing_extensions.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] +class GoogleCloudAiplatformV1beta1StudySpecMetricSpec(typing.TypedDict, total=False): + goal: typing.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] metricId: str safetyConfig: GoogleCloudAiplatformV1beta1StudySpecMetricSpecSafetyMetricConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecMetricSpecSafetyMetricConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): desiredMinSafeTrialsFraction: float safetyThreshold: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1StudySpecParameterSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1StudySpecParameterSpec(typing.TypedDict, total=False): categoricalValueSpec: ( GoogleCloudAiplatformV1beta1StudySpecParameterSpecCategoricalValueSpec ) @@ -15007,7 +14653,7 @@ class GoogleCloudAiplatformV1beta1StudySpecParameterSpec( doubleValueSpec: GoogleCloudAiplatformV1beta1StudySpecParameterSpecDoubleValueSpec integerValueSpec: GoogleCloudAiplatformV1beta1StudySpecParameterSpecIntegerValueSpec parameterId: str - scaleType: typing_extensions.Literal[ + scaleType: typing.Literal[ "SCALE_TYPE_UNSPECIFIED", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", @@ -15016,14 +14662,14 @@ class GoogleCloudAiplatformV1beta1StudySpecParameterSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecCategoricalValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: str values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameterSpec: GoogleCloudAiplatformV1beta1StudySpecParameterSpec parentCategoricalValues: GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition @@ -15032,32 +14678,32 @@ class GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpecIntValueCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecDiscreteValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: float values: _list[float] @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecDoubleValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: float maxValue: float @@ -15065,7 +14711,7 @@ class GoogleCloudAiplatformV1beta1StudySpecParameterSpecDoubleValueSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecParameterSpecIntegerValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: str maxValue: str @@ -15073,7 +14719,7 @@ class GoogleCloudAiplatformV1beta1StudySpecParameterSpecIntegerValueSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxDurationNoProgress: str maxNumTrials: int @@ -15085,54 +14731,44 @@ class GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableTransferLearning: bool priorStudyNames: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1StudyTimeConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1StudyTimeConstraint(typing.TypedDict, total=False): endTime: str maxDuration: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SuggestTrialsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SuggestTrialsMetadata(typing.TypedDict, total=False): clientId: str genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1SuggestTrialsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SuggestTrialsRequest(typing.TypedDict, total=False): clientId: str contexts: _list[GoogleCloudAiplatformV1beta1TrialContext] suggestionCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1SuggestTrialsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SuggestTrialsResponse(typing.TypedDict, total=False): endTime: str startTime: str - studyState: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED" - ] + studyState: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED"] trials: _list[GoogleCloudAiplatformV1beta1Trial] @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInstance metricSpec: GoogleCloudAiplatformV1beta1SummarizationHelpfulnessSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -15141,7 +14777,7 @@ class GoogleCloudAiplatformV1beta1SummarizationHelpfulnessInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationHelpfulnessResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -15149,21 +14785,21 @@ class GoogleCloudAiplatformV1beta1SummarizationHelpfulnessResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationHelpfulnessSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationQualityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1SummarizationQualityInstance metricSpec: GoogleCloudAiplatformV1beta1SummarizationQualitySpec @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationQualityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -15172,7 +14808,7 @@ class GoogleCloudAiplatformV1beta1SummarizationQualityInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -15180,21 +14816,21 @@ class GoogleCloudAiplatformV1beta1SummarizationQualityResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationQualitySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationVerbosityInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleCloudAiplatformV1beta1SummarizationVerbosityInstance metricSpec: GoogleCloudAiplatformV1beta1SummarizationVerbositySpec @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationVerbosityInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): context: str instruction: str @@ -15203,7 +14839,7 @@ class GoogleCloudAiplatformV1beta1SummarizationVerbosityInstance( @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationVerbosityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float explanation: str @@ -15211,24 +14847,22 @@ class GoogleCloudAiplatformV1beta1SummarizationVerbosityResult( @typing.type_check_only class GoogleCloudAiplatformV1beta1SummarizationVerbositySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useReference: bool version: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1SummaryMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SummaryMetrics(typing.TypedDict, total=False): failedItems: int metrics: dict[str, typing.Any] totalItems: int @typing.type_check_only class GoogleCloudAiplatformV1beta1SupervisedHyperParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adapterSize: typing_extensions.Literal[ + adapterSize: typing.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_ONE", "ADAPTER_SIZE_TWO", @@ -15244,7 +14878,7 @@ class GoogleCloudAiplatformV1beta1SupervisedHyperParameters( @typing.type_check_only class GoogleCloudAiplatformV1beta1SupervisedTuningDataStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): droppedExampleReasons: _list[str] totalBillableCharacterCount: str @@ -15267,7 +14901,7 @@ class GoogleCloudAiplatformV1beta1SupervisedTuningDataStats( @typing.type_check_only class GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billableSum: str buckets: _list[ @@ -15283,70 +14917,60 @@ class GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution( @typing.type_check_only class GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: float left: float right: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SupervisedTuningSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SupervisedTuningSpec(typing.TypedDict, total=False): evaluationConfig: GoogleCloudAiplatformV1beta1EvaluationConfig exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1beta1SupervisedHyperParameters trainingDatasetUri: str - tuningMode: typing_extensions.Literal[ + tuningMode: typing.Literal[ "TUNING_MODE_UNSPECIFIED", "TUNING_MODE_FULL", "TUNING_MODE_PEFT_ADAPTER" ] validationDatasetUri: str @typing.type_check_only class GoogleCloudAiplatformV1beta1SuspendOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1SuspendOnlineEvaluatorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1SyncFeatureViewRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1SyncFeatureViewResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featureViewSync: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SyntheticExample( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SyntheticExample(typing.TypedDict, total=False): fields: _list[GoogleCloudAiplatformV1beta1SyntheticField] @typing.type_check_only -class GoogleCloudAiplatformV1beta1SyntheticField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SyntheticField(typing.TypedDict, total=False): content: GoogleCloudAiplatformV1beta1Content fieldName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TFRecordDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TFRecordDestination(typing.TypedDict, total=False): gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TaskArtifact(typing.TypedDict, total=False): artifactId: str description: str displayName: str @@ -15354,63 +14978,53 @@ class GoogleCloudAiplatformV1beta1TaskArtifact( parts: _list[GoogleCloudAiplatformV1beta1Part] @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskArtifactChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TaskArtifactChange(typing.TypedDict, total=False): addedArtifacts: _list[GoogleCloudAiplatformV1beta1TaskArtifact] deletedArtifactIds: _list[str] updatedArtifacts: _list[GoogleCloudAiplatformV1beta1TaskArtifact] @typing.type_check_only class GoogleCloudAiplatformV1beta1TaskDescriptionStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): taskDescription: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1TaskEvent(typing.TypedDict, total=False): createTime: str eventData: GoogleCloudAiplatformV1beta1TaskEventData eventSequenceNumber: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskEventData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TaskEventData(typing.TypedDict, total=False): metadataChange: GoogleCloudAiplatformV1beta1TaskMetadataChange outputChange: GoogleCloudAiplatformV1beta1TaskOutputChange stateChange: GoogleCloudAiplatformV1beta1TaskStateChange statusDetailsChange: GoogleCloudAiplatformV1beta1TaskStatusDetailsChange @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1TaskMessage(typing.TypedDict, total=False): messageId: str metadata: dict[str, typing.Any] parts: _list[GoogleCloudAiplatformV1beta1Part] role: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskMetadataChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TaskMetadataChange(typing.TypedDict, total=False): newMetadata: dict[str, typing.Any] updateMask: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1TaskOutput(typing.TypedDict, total=False): artifacts: _list[GoogleCloudAiplatformV1beta1TaskArtifact] @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskOutputChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TaskOutputChange(typing.TypedDict, total=False): taskArtifactChange: GoogleCloudAiplatformV1beta1TaskArtifactChange @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskStateChange( - typing_extensions.TypedDict, total=False -): - newState: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1TaskStateChange(typing.TypedDict, total=False): + newState: typing.Literal[ "STATE_UNSPECIFIED", "SUBMITTED", "WORKING", @@ -15424,23 +15038,21 @@ class GoogleCloudAiplatformV1beta1TaskStateChange( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1TaskStatusDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TaskStatusDetails(typing.TypedDict, total=False): taskMessage: GoogleCloudAiplatformV1beta1TaskMessage @typing.type_check_only class GoogleCloudAiplatformV1beta1TaskStatusDetailsChange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newTaskStatus: GoogleCloudAiplatformV1beta1TaskStatusDetails @typing.type_check_only -class GoogleCloudAiplatformV1beta1Tensor(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Tensor(typing.TypedDict, total=False): boolVal: _list[bool] bytesVal: _list[str] doubleVal: _list[float] - dtype: typing_extensions.Literal[ + dtype: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "STRING", @@ -15467,7 +15079,7 @@ class GoogleCloudAiplatformV1beta1Tensor(typing_extensions.TypedDict, total=Fals uintVal: _list[int] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Tensorboard(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Tensorboard(typing.TypedDict, total=False): blobStoragePathPrefix: str createTime: str description: str @@ -15483,22 +15095,18 @@ class GoogleCloudAiplatformV1beta1Tensorboard(typing_extensions.TypedDict, total updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TensorboardBlob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TensorboardBlob(typing.TypedDict, total=False): data: str id: str @typing.type_check_only class GoogleCloudAiplatformV1beta1TensorboardBlobSequence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[GoogleCloudAiplatformV1beta1TensorboardBlob] @typing.type_check_only -class GoogleCloudAiplatformV1beta1TensorboardExperiment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TensorboardExperiment(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -15509,9 +15117,7 @@ class GoogleCloudAiplatformV1beta1TensorboardExperiment( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TensorboardRun( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TensorboardRun(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -15521,16 +15127,12 @@ class GoogleCloudAiplatformV1beta1TensorboardRun( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TensorboardTensor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TensorboardTensor(typing.TypedDict, total=False): value: str versionNumber: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1TensorboardTimeSeries( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TensorboardTimeSeries(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -15540,47 +15142,37 @@ class GoogleCloudAiplatformV1beta1TensorboardTimeSeries( pluginData: str pluginName: str updateTime: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "SCALAR", "TENSOR", "BLOB_SEQUENCE" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1TensorboardTimeSeriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxBlobSequenceLength: str maxStep: str maxWallTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TextResponseFormat( - typing_extensions.TypedDict, total=False -): - mimeType: typing_extensions.Literal[ - "MIME_TYPE_UNSPECIFIED", "APPLICATION_JSON", "TEXT_PLAIN" - ] +class GoogleCloudAiplatformV1beta1TextResponseFormat(typing.TypedDict, total=False): + mimeType: typing.Literal["MIME_TYPE_UNSPECIFIED", "APPLICATION_JSON", "TEXT_PLAIN"] schema: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1beta1ThresholdConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ThresholdConfig(typing.TypedDict, total=False): value: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1TimeSeriesData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TimeSeriesData(typing.TypedDict, total=False): tensorboardTimeSeriesId: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "SCALAR", "TENSOR", "BLOB_SEQUENCE" ] values: _list[GoogleCloudAiplatformV1beta1TimeSeriesDataPoint] @typing.type_check_only -class GoogleCloudAiplatformV1beta1TimeSeriesDataPoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TimeSeriesDataPoint(typing.TypedDict, total=False): blobs: GoogleCloudAiplatformV1beta1TensorboardBlobSequence scalar: GoogleCloudAiplatformV1beta1Scalar step: str @@ -15588,22 +15180,20 @@ class GoogleCloudAiplatformV1beta1TimeSeriesDataPoint( wallTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TimestampSplit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TimestampSplit(typing.TypedDict, total=False): key: str testFraction: float trainingFraction: float validationFraction: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1TokensInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1TokensInfo(typing.TypedDict, total=False): role: str tokenIds: _list[str] tokens: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Tool(typing.TypedDict, total=False): codeExecution: GoogleCloudAiplatformV1beta1ToolCodeExecution computerUse: GoogleCloudAiplatformV1beta1ToolComputerUse enterpriseWebSearch: GoogleCloudAiplatformV1beta1EnterpriseWebSearch @@ -15617,54 +15207,42 @@ class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False) urlContext: GoogleCloudAiplatformV1beta1UrlContext @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ToolCall(typing.TypedDict, total=False): toolInput: str toolName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolCallValidInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolCallValidInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1beta1ToolCallValidInstance] metricSpec: GoogleCloudAiplatformV1beta1ToolCallValidSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolCallValidInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolCallValidInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolCallValidMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolCallValidResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolCallValidResults(typing.TypedDict, total=False): toolCallValidMetricValues: _list[ GoogleCloudAiplatformV1beta1ToolCallValidMetricValue ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolCallValidSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1ToolCallValidSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolCodeExecution( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1ToolCodeExecution(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolComputerUse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolComputerUse(typing.TypedDict, total=False): enablePromptInjectionDetection: bool - environment: typing_extensions.Literal[ + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_BROWSER", "ENVIRONMENT_MOBILE", @@ -15673,22 +15251,18 @@ class GoogleCloudAiplatformV1beta1ToolComputerUse( excludedPredefinedFunctions: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ToolConfig(typing.TypedDict, total=False): functionCallingConfig: GoogleCloudAiplatformV1beta1FunctionCallingConfig retrievalConfig: GoogleCloudAiplatformV1beta1RetrievalConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolExaAiSearch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolExaAiSearch(typing.TypedDict, total=False): apiKey: str customConfigs: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolGoogleSearch( - typing_extensions.TypedDict, total=False -): - blockingConfidence: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1ToolGoogleSearch(typing.TypedDict, total=False): + blockingConfidence: typing.Literal[ "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -15702,85 +15276,76 @@ class GoogleCloudAiplatformV1beta1ToolGoogleSearch( @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch webSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolNameMatchInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolNameMatchInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1beta1ToolNameMatchInstance] metricSpec: GoogleCloudAiplatformV1beta1ToolNameMatchSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolNameMatchInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolNameMatchInstance(typing.TypedDict, total=False): prediction: str reference: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolNameMatchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolNameMatchResults(typing.TypedDict, total=False): toolNameMatchMetricValues: _list[ GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolNameMatchSpec( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1ToolNameMatchSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolParallelAiSearch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolParallelAiSearch(typing.TypedDict, total=False): apiKey: str customConfigs: dict[str, typing.Any] enableDataRetention: bool + enableZeroDataRetention: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1beta1ToolParameterKVMatchInstance] metricSpec: GoogleCloudAiplatformV1beta1ToolParameterKVMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKVMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): prediction: str reference: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKVMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKVMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolParameterKvMatchMetricValues: _list[ GoogleCloudAiplatformV1beta1ToolParameterKVMatchMetricValue @@ -15788,33 +15353,33 @@ class GoogleCloudAiplatformV1beta1ToolParameterKVMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKVMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useStrictStringMatch: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInstance] metricSpec: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): prediction: str reference: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKeyMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKeyMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolParameterKeyMatchMetricValues: _list[ GoogleCloudAiplatformV1beta1ToolParameterKeyMatchMetricValue @@ -15822,13 +15387,11 @@ class GoogleCloudAiplatformV1beta1ToolParameterKeyMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKeyMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolUseExample( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolUseExample(typing.TypedDict, total=False): displayName: str extensionOperation: GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation functionName: str @@ -15839,21 +15402,17 @@ class GoogleCloudAiplatformV1beta1ToolUseExample( @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): extension: str operationId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TrainingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TrainingConfig(typing.TypedDict, total=False): timeoutTrainingMilliHours: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TrainingPipeline( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TrainingPipeline(typing.TypedDict, total=False): createTime: str displayName: str encryptionSpec: GoogleCloudAiplatformV1beta1EncryptionSpec @@ -15866,7 +15425,7 @@ class GoogleCloudAiplatformV1beta1TrainingPipeline( name: str parentModel: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PIPELINE_STATE_UNSPECIFIED", "PIPELINE_STATE_QUEUED", "PIPELINE_STATE_PENDING", @@ -15883,32 +15442,32 @@ class GoogleCloudAiplatformV1beta1TrainingPipeline( updateTime: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Trajectory(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Trajectory(typing.TypedDict, total=False): toolCalls: _list[GoogleCloudAiplatformV1beta1ToolCall] @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInstance] metricSpec: GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1beta1Trajectory referenceTrajectory: GoogleCloudAiplatformV1beta1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectoryAnyOrderMatchMetricValues: _list[ GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchMetricValue @@ -15916,32 +15475,32 @@ class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryExactMatchInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1beta1TrajectoryExactMatchInstance] metricSpec: GoogleCloudAiplatformV1beta1TrajectoryExactMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryExactMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1beta1Trajectory referenceTrajectory: GoogleCloudAiplatformV1beta1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryExactMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryExactMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectoryExactMatchMetricValues: _list[ GoogleCloudAiplatformV1beta1TrajectoryExactMatchMetricValue @@ -15949,32 +15508,32 @@ class GoogleCloudAiplatformV1beta1TrajectoryExactMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryExactMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInstance] metricSpec: GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1beta1Trajectory referenceTrajectory: GoogleCloudAiplatformV1beta1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectoryInOrderMatchMetricValues: _list[ GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchMetricValue @@ -15982,32 +15541,32 @@ class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryPrecisionInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1beta1TrajectoryPrecisionInstance] metricSpec: GoogleCloudAiplatformV1beta1TrajectoryPrecisionSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryPrecisionInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1beta1Trajectory referenceTrajectory: GoogleCloudAiplatformV1beta1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryPrecisionMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryPrecisionResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectoryPrecisionMetricValues: _list[ GoogleCloudAiplatformV1beta1TrajectoryPrecisionMetricValue @@ -16015,32 +15574,30 @@ class GoogleCloudAiplatformV1beta1TrajectoryPrecisionResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryPrecisionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1TrajectoryRecallInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TrajectoryRecallInput(typing.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1beta1TrajectoryRecallInstance] metricSpec: GoogleCloudAiplatformV1beta1TrajectoryRecallSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryRecallInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1beta1Trajectory referenceTrajectory: GoogleCloudAiplatformV1beta1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryRecallMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryRecallResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectoryRecallMetricValues: _list[ GoogleCloudAiplatformV1beta1TrajectoryRecallMetricValue @@ -16048,31 +15605,31 @@ class GoogleCloudAiplatformV1beta1TrajectoryRecallResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectoryRecallSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInstance] metricSpec: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictedTrajectory: GoogleCloudAiplatformV1beta1Trajectory @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseMetricValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): score: float @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trajectorySingleToolUseMetricValues: _list[ GoogleCloudAiplatformV1beta1TrajectorySingleToolUseMetricValue @@ -16080,19 +15637,17 @@ class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults( @typing.type_check_only class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Transcription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1Transcription(typing.TypedDict, total=False): finished: bool text: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Trial(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Trial(typing.TypedDict, total=False): clientId: str customJob: str endTime: str @@ -16103,7 +15658,7 @@ class GoogleCloudAiplatformV1beta1Trial(typing_extensions.TypedDict, total=False name: str parameters: _list[GoogleCloudAiplatformV1beta1TrialParameter] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUESTED", "ACTIVE", @@ -16114,46 +15669,36 @@ class GoogleCloudAiplatformV1beta1Trial(typing_extensions.TypedDict, total=False webAccessUris: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1TrialContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TrialContext(typing.TypedDict, total=False): description: str parameters: _list[GoogleCloudAiplatformV1beta1TrialParameter] @typing.type_check_only -class GoogleCloudAiplatformV1beta1TrialParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TrialParameter(typing.TypedDict, total=False): parameterId: str value: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1beta1TunedModel(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1TunedModel(typing.TypedDict, total=False): checkpoints: _list[GoogleCloudAiplatformV1beta1TunedModelCheckpoint] endpoint: str model: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TunedModelCheckpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TunedModelCheckpoint(typing.TypedDict, total=False): checkpointId: str endpoint: str epoch: str step: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TunedModelRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TunedModelRef(typing.TypedDict, total=False): pipelineJob: str tunedModel: str tuningJob: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1TuningDataStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TuningDataStats(typing.TypedDict, total=False): distillationDataStats: GoogleCloudAiplatformV1beta1DistillationDataStats preferenceOptimizationDataStats: ( GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats @@ -16162,7 +15707,7 @@ class GoogleCloudAiplatformV1beta1TuningDataStats( supervisedTuningDataStats: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats @typing.type_check_only -class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1TuningJob(typing.TypedDict, total=False): baseModel: str createTime: str customBaseModel: str @@ -16186,7 +15731,7 @@ class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=F satisfiesPzs: bool serviceAccount: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "JOB_STATE_QUEUED", "JOB_STATE_PENDING", @@ -16205,7 +15750,7 @@ class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=F tunedModelDisplayName: str tuningDataStats: GoogleCloudAiplatformV1beta1TuningDataStats tuningJobMetadata: GoogleCloudAiplatformV1beta1TuningJobMetadata - tuningJobState: typing_extensions.Literal[ + tuningJobState: typing.Literal[ "TUNING_JOB_STATE_UNSPECIFIED", "TUNING_JOB_STATE_WAITING_FOR_QUOTA", "TUNING_JOB_STATE_PROCESSING_DATASET", @@ -16218,56 +15763,50 @@ class GoogleCloudAiplatformV1beta1TuningJob(typing_extensions.TypedDict, total=F veoTuningSpec: GoogleCloudAiplatformV1beta1VeoTuningSpec @typing.type_check_only -class GoogleCloudAiplatformV1beta1TuningJobMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1TuningJobMetadata(typing.TypedDict, total=False): completedEpochCount: str completedStepCount: str @typing.type_check_only class GoogleCloudAiplatformV1beta1UndeployIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1UndeployIndexRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UndeployIndexRequest(typing.TypedDict, total=False): deployedIndexId: str @typing.type_check_only class GoogleCloudAiplatformV1beta1UndeployIndexResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1UndeployModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1UndeployModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UndeployModelRequest(typing.TypedDict, total=False): deployedModelId: str trafficSplit: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1UndeployModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1UndeploySolverOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UnmanagedContainerModel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactUri: str containerSpec: GoogleCloudAiplatformV1beta1ModelContainerSpec @@ -16275,66 +15814,66 @@ class GoogleCloudAiplatformV1beta1UnmanagedContainerModel( @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateDeploymentResourcePoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateEndpointLongRunningRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: GoogleCloudAiplatformV1beta1Endpoint @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateExplanationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateExplanationDatasetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): examples: GoogleCloudAiplatformV1beta1Examples @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateExplanationDatasetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateFeatureGroupOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateFeatureOnlineStoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateFeatureOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateFeatureViewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateFeaturestoreOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateIndexOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata nearestNeighborSearchOperationMetadata: ( @@ -16343,155 +15882,135 @@ class GoogleCloudAiplatformV1beta1UpdateIndexOperationMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateModelDeploymentMonitoringJobOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateModelMonitorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateOnlineEvaluatorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdatePersistentResourceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateSpecialistPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata specialistPool: str @typing.type_check_only class GoogleCloudAiplatformV1beta1UpdateTensorboardOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only class GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata progressMessage: str @typing.type_check_only class GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1UploadModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1UploadModelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UploadModelRequest(typing.TypedDict, total=False): model: GoogleCloudAiplatformV1beta1Model modelId: str parentModel: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1UploadModelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UploadModelResponse(typing.TypedDict, total=False): model: str modelVersionId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1UploadRagFileConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UploadRagFileConfig(typing.TypedDict, total=False): ragFileChunkingConfig: GoogleCloudAiplatformV1beta1RagFileChunkingConfig ragFileMetadataConfig: GoogleCloudAiplatformV1beta1RagFileMetadataConfig ragFileParsingConfig: GoogleCloudAiplatformV1beta1RagFileParsingConfig ragFileTransformationConfig: GoogleCloudAiplatformV1beta1RagFileTransformationConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1UploadRagFileRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UploadRagFileRequest(typing.TypedDict, total=False): ragFile: GoogleCloudAiplatformV1beta1RagFile uploadRagFileConfig: GoogleCloudAiplatformV1beta1UploadRagFileConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1UploadRagFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UploadRagFileResponse(typing.TypedDict, total=False): error: GoogleRpcStatus ragFile: GoogleCloudAiplatformV1beta1RagFile @typing.type_check_only class GoogleCloudAiplatformV1beta1UpsertDatapointsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datapoints: _list[GoogleCloudAiplatformV1beta1IndexDatapoint] updateMask: str @typing.type_check_only class GoogleCloudAiplatformV1beta1UpsertDatapointsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1UpsertExamplesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UpsertExamplesRequest(typing.TypedDict, total=False): examples: _list[GoogleCloudAiplatformV1beta1Example] overwrite: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1UpsertExamplesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UpsertExamplesResponse(typing.TypedDict, total=False): results: _list[GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult] @typing.type_check_only class GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): example: GoogleCloudAiplatformV1beta1Example status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudAiplatformV1beta1UrlContext( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1UrlContext(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1UrlContextMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UrlContextMetadata(typing.TypedDict, total=False): urlMetadata: _list[GoogleCloudAiplatformV1beta1UrlMetadata] @typing.type_check_only -class GoogleCloudAiplatformV1beta1UrlMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1UrlMetadata(typing.TypedDict, total=False): retrievedUrl: str - urlRetrievalStatus: typing_extensions.Literal[ + urlRetrievalStatus: typing.Literal[ "URL_RETRIEVAL_STATUS_UNSPECIFIED", "URL_RETRIEVAL_STATUS_SUCCESS", "URL_RETRIEVAL_STATUS_ERROR", ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1UsageMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UsageMetadata(typing.TypedDict, total=False): cacheTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] cachedContentTokenCount: int candidatesTokenCount: int @@ -16502,33 +16021,30 @@ class GoogleCloudAiplatformV1beta1UsageMetadata( toolUsePromptTokenCount: int toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalTokenCount: int - trafficType: typing_extensions.Literal[ + trafficType: typing.Literal[ "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "ON_DEMAND_PRIORITY", "ON_DEMAND_FLEX", + "ON_DEMAND_OFFPEAK", "PROVISIONED_THROUGHPUT", ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1UserActionReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UserActionReference(typing.TypedDict, total=False): dataLabelingJob: str method: str operation: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1UserScenario( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UserScenario(typing.TypedDict, total=False): conversationPlan: str startingPrompt: str testCaseTitle: str @typing.type_check_only class GoogleCloudAiplatformV1beta1UserScenarioGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environmentData: str modelName: str @@ -16536,15 +16052,13 @@ class GoogleCloudAiplatformV1beta1UserScenarioGenerationConfig( userScenarioCount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1UserSpecifiedMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UserSpecifiedMetadata(typing.TypedDict, total=False): key: str value: GoogleCloudAiplatformV1beta1MetadataValue @typing.type_check_only class GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compositeRewardConfig: ( GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig @@ -16557,24 +16071,23 @@ class GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: str + errorStatus: GoogleRpcStatus overallReward: float rewardDetails: dict[str, typing.Any] rewardInfoDetails: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Value(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Value(typing.TypedDict, total=False): doubleValue: float intValue: str stringValue: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VeoHyperParameters( - typing_extensions.TypedDict, total=False -): - adapterSize: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1VeoHyperParameters(typing.TypedDict, total=False): + adapterSize: typing.Literal[ "ADAPTER_SIZE_UNSPECIFIED", "ADAPTER_SIZE_EIGHT", "ADAPTER_SIZE_SIXTEEN", @@ -16582,10 +16095,8 @@ class GoogleCloudAiplatformV1beta1VeoHyperParameters( ] epochCount: str learningRateMultiplier: float - tuningSpeed: typing_extensions.Literal[ - "TUNING_SPEED_UNSPECIFIED", "REGULAR", "FAST" - ] - tuningTask: typing_extensions.Literal[ + tuningSpeed: typing.Literal["TUNING_SPEED_UNSPECIFIED", "REGULAR", "FAST"] + tuningTask: typing.Literal[ "TUNING_TASK_UNSPECIFIED", "TUNING_TASK_I2V", "TUNING_TASK_T2V", @@ -16594,28 +16105,22 @@ class GoogleCloudAiplatformV1beta1VeoHyperParameters( veoDataMixtureRatio: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1VeoLoraTuningSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VeoLoraTuningSpec(typing.TypedDict, total=False): hyperParameters: GoogleCloudAiplatformV1beta1VeoHyperParameters trainingDatasetUri: str validationDatasetUri: str - videoOrientation: typing_extensions.Literal[ + videoOrientation: typing.Literal[ "VIDEO_ORIENTATION_UNSPECIFIED", "LANDSCAPE", "PORTRAIT" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1VeoTuningSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VeoTuningSpec(typing.TypedDict, total=False): hyperParameters: GoogleCloudAiplatformV1beta1VeoHyperParameters trainingDatasetUri: str validationDatasetUri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VertexAISearch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VertexAISearch(typing.TypedDict, total=False): dataStoreSpecs: _list[GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec] datastore: str engine: str @@ -16624,34 +16129,30 @@ class GoogleCloudAiplatformV1beta1VertexAISearch( @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VertexAiSearchConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VertexAiSearchConfig(typing.TypedDict, total=False): servingConfig: str @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexMultimodalDatasetDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination displayName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexMultimodalDatasetSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VertexRagStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VertexRagStore(typing.TypedDict, total=False): ragCorpora: _list[str] ragResources: _list[GoogleCloudAiplatformV1beta1VertexRagStoreRagResource] ragRetrievalConfig: GoogleCloudAiplatformV1beta1RagRetrievalConfig @@ -16661,41 +16162,36 @@ class GoogleCloudAiplatformV1beta1VertexRagStore( @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragCorpus: str ragFileIds: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1VideoMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VideoMetadata(typing.TypedDict, total=False): endOffset: str fps: float startOffset: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VideoResponseFormat( - typing_extensions.TypedDict, total=False -): - aspectRatio: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1VideoResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ "ASPECT_RATIO_UNSPECIFIED", "ASPECT_RATIO_SIXTEEN_BY_NINE", "ASPECT_RATIO_NINE_BY_SIXTEEN", ] - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] duration: str gcsUri: str + resolution: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VoiceConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1VoiceConfig(typing.TypedDict, total=False): prebuiltVoiceConfig: GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig replicatedVoiceConfig: GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1WorkerPoolSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1WorkerPoolSpec(typing.TypedDict, total=False): containerSpec: GoogleCloudAiplatformV1beta1ContainerSpec diskSpec: GoogleCloudAiplatformV1beta1DiskSpec lustreMounts: _list[GoogleCloudAiplatformV1beta1LustreMount] @@ -16706,25 +16202,25 @@ class GoogleCloudAiplatformV1beta1WorkerPoolSpec( @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityId: str featureValues: dict[str, typing.Any] @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteFeatureValuesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): payloads: _list[GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload] @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteFeatureValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteTensorboardExperimentDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): writeRunDataRequests: _list[ GoogleCloudAiplatformV1beta1WriteTensorboardRunDataRequest @@ -16732,38 +16228,52 @@ class GoogleCloudAiplatformV1beta1WriteTensorboardExperimentDataRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteTensorboardExperimentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteTensorboardRunDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tensorboardRun: str timeSeriesData: _list[GoogleCloudAiplatformV1beta1TimeSeriesData] @typing.type_check_only class GoogleCloudAiplatformV1beta1WriteTensorboardRunDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1XraiAttribution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1XmanagerInstance(typing.TypedDict, total=False): + apiEndpoint: str + createTime: str + name: str + network: str + registeredClusters: _list[str] + state: typing.Literal[ + "STATE_UNSPECIFIED", + "STATE_PROVISIONING", + "STATE_RUNNING", + "STATE_DELETING", + "STATE_ERROR", + ] + subnetwork: str + uiEndpoint: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1XraiAttribution(typing.TypedDict, total=False): blurBaselineConfig: GoogleCloudAiplatformV1beta1BlurBaselineConfig smoothGradConfig: GoogleCloudAiplatformV1beta1SmoothGradConfig stepCount: int @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -16771,45 +16281,45 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetIamPolicyRequest(typing.TypedDict, total=False): options: GoogleIamV1GetPolicyOptions @typing.type_check_only -class GoogleIamV1GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -16817,46 +16327,46 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeInterval(typing_extensions.TypedDict, total=False): +class GoogleTypeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str diff --git a/googleapiclient-stubs/_apis/airquality/v1/resources.pyi b/googleapiclient-stubs/_apis/airquality/v1/resources.pyi index 76049560f..b2e334646 100644 --- a/googleapiclient-stubs/_apis/airquality/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/airquality/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -48,7 +47,7 @@ class AirQualityResource(googleapiclient.discovery.Resource): def lookupHeatmapTile( self, *, - mapType: typing_extensions.Literal[ + mapType: typing.Literal[ "MAP_TYPE_UNSPECIFIED", "UAQI_RED_GREEN", "UAQI_INDIGO_PERSIAN", diff --git a/googleapiclient-stubs/_apis/airquality/v1/schemas.pyi b/googleapiclient-stubs/_apis/airquality/v1/schemas.pyi index 5a24f0b02..df99d8396 100644 --- a/googleapiclient-stubs/_apis/airquality/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/airquality/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdditionalInfo(typing_extensions.TypedDict, total=False): +class AdditionalInfo(typing.TypedDict, total=False): effects: str sources: str @typing.type_check_only -class AirQualityIndex(typing_extensions.TypedDict, total=False): +class AirQualityIndex(typing.TypedDict, total=False): aqi: int aqiDisplay: str category: str @@ -20,26 +18,26 @@ class AirQualityIndex(typing_extensions.TypedDict, total=False): dominantPollutant: str @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class Concentration(typing_extensions.TypedDict, total=False): - units: typing_extensions.Literal[ +class Concentration(typing.TypedDict, total=False): + units: typing.Literal[ "UNIT_UNSPECIFIED", "PARTS_PER_BILLION", "MICROGRAMS_PER_CUBIC_METER" ] value: float @typing.type_check_only -class CustomLocalAqi(typing_extensions.TypedDict, total=False): +class CustomLocalAqi(typing.TypedDict, total=False): aqi: str regionCode: str @typing.type_check_only -class HealthRecommendations(typing_extensions.TypedDict, total=False): +class HealthRecommendations(typing.TypedDict, total=False): athletes: str children: str elderly: str @@ -49,40 +47,40 @@ class HealthRecommendations(typing_extensions.TypedDict, total=False): pregnantWomen: str @typing.type_check_only -class HourInfo(typing_extensions.TypedDict, total=False): +class HourInfo(typing.TypedDict, total=False): dateTime: str healthRecommendations: HealthRecommendations indexes: _list[AirQualityIndex] pollutants: _list[Pollutant] @typing.type_check_only -class HourlyForecast(typing_extensions.TypedDict, total=False): +class HourlyForecast(typing.TypedDict, total=False): dateTime: str healthRecommendations: HealthRecommendations indexes: _list[AirQualityIndex] pollutants: _list[Pollutant] @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LookupCurrentConditionsRequest(typing_extensions.TypedDict, total=False): +class LookupCurrentConditionsRequest(typing.TypedDict, total=False): customLocalAqis: _list[CustomLocalAqi] extraComputations: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXTRA_COMPUTATION_UNSPECIFIED", "LOCAL_AQI", "HEALTH_RECOMMENDATIONS", @@ -93,7 +91,7 @@ class LookupCurrentConditionsRequest(typing_extensions.TypedDict, total=False): ] languageCode: str location: LatLng - uaqiColorPalette: typing_extensions.Literal[ + uaqiColorPalette: typing.Literal[ "COLOR_PALETTE_UNSPECIFIED", "RED_GREEN", "INDIGO_PERSIAN_DARK", @@ -102,7 +100,7 @@ class LookupCurrentConditionsRequest(typing_extensions.TypedDict, total=False): universalAqi: bool @typing.type_check_only -class LookupCurrentConditionsResponse(typing_extensions.TypedDict, total=False): +class LookupCurrentConditionsResponse(typing.TypedDict, total=False): dateTime: str healthRecommendations: HealthRecommendations indexes: _list[AirQualityIndex] @@ -110,11 +108,11 @@ class LookupCurrentConditionsResponse(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class LookupForecastRequest(typing_extensions.TypedDict, total=False): +class LookupForecastRequest(typing.TypedDict, total=False): customLocalAqis: _list[CustomLocalAqi] dateTime: str extraComputations: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXTRA_COMPUTATION_UNSPECIFIED", "LOCAL_AQI", "HEALTH_RECOMMENDATIONS", @@ -128,7 +126,7 @@ class LookupForecastRequest(typing_extensions.TypedDict, total=False): pageSize: int pageToken: str period: Interval - uaqiColorPalette: typing_extensions.Literal[ + uaqiColorPalette: typing.Literal[ "COLOR_PALETTE_UNSPECIFIED", "RED_GREEN", "INDIGO_PERSIAN_DARK", @@ -137,17 +135,17 @@ class LookupForecastRequest(typing_extensions.TypedDict, total=False): universalAqi: bool @typing.type_check_only -class LookupForecastResponse(typing_extensions.TypedDict, total=False): +class LookupForecastResponse(typing.TypedDict, total=False): hourlyForecasts: _list[HourlyForecast] nextPageToken: str regionCode: str @typing.type_check_only -class LookupHistoryRequest(typing_extensions.TypedDict, total=False): +class LookupHistoryRequest(typing.TypedDict, total=False): customLocalAqis: _list[CustomLocalAqi] dateTime: str extraComputations: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXTRA_COMPUTATION_UNSPECIFIED", "LOCAL_AQI", "HEALTH_RECOMMENDATIONS", @@ -162,7 +160,7 @@ class LookupHistoryRequest(typing_extensions.TypedDict, total=False): pageSize: int pageToken: str period: Interval - uaqiColorPalette: typing_extensions.Literal[ + uaqiColorPalette: typing.Literal[ "COLOR_PALETTE_UNSPECIFIED", "RED_GREEN", "INDIGO_PERSIAN_DARK", @@ -171,13 +169,13 @@ class LookupHistoryRequest(typing_extensions.TypedDict, total=False): universalAqi: bool @typing.type_check_only -class LookupHistoryResponse(typing_extensions.TypedDict, total=False): +class LookupHistoryResponse(typing.TypedDict, total=False): hoursInfo: _list[HourInfo] nextPageToken: str regionCode: str @typing.type_check_only -class Pollutant(typing_extensions.TypedDict, total=False): +class Pollutant(typing.TypedDict, total=False): additionalInfo: AdditionalInfo code: str concentration: Concentration diff --git a/googleapiclient-stubs/_apis/alertcenter/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/alertcenter/v1beta1/resources.pyi index c5c74fc06..ec97d8ede 100644 --- a/googleapiclient-stubs/_apis/alertcenter/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/alertcenter/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi index 0a4eb5c68..4e8afc558 100644 --- a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi @@ -1,24 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbuseDetected(typing_extensions.TypedDict, total=False): +class AbuseDetected(typing.TypedDict, total=False): additionalDetails: EntityList product: str subAlertId: str - variationType: typing_extensions.Literal[ + variationType: typing.Literal[ "ABUSE_DETECTED_VARIATION_TYPE_UNSPECIFIED", "DRIVE_ABUSIVE_CONTENT", "LIMITED_DISABLE", ] @typing.type_check_only -class AccessApproval(typing_extensions.TypedDict, total=False): +class AccessApproval(typing.TypedDict, total=False): justificationReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "JUSTIFICATION_UNSPECIFIED", "CUSTOMER_INITIATED_SUPPORT", "GOOGLE_INITIATED_REVIEW", @@ -34,8 +32,8 @@ class AccessApproval(typing_extensions.TypedDict, total=False): tickets: _list[SupportTicket] @typing.type_check_only -class AccountSuspensionDetails(typing_extensions.TypedDict, total=False): - abuseReason: typing_extensions.Literal[ +class AccountSuspensionDetails(typing.TypedDict, total=False): + abuseReason: typing.Literal[ "ACCOUNT_SUSPENSION_ABUSE_REASON_UNSPECIFIED", "TOS_VIOLATION", "SPAM", @@ -50,9 +48,9 @@ class AccountSuspensionDetails(typing_extensions.TypedDict, total=False): productName: str @typing.type_check_only -class AccountSuspensionWarning(typing_extensions.TypedDict, total=False): +class AccountSuspensionWarning(typing.TypedDict, total=False): appealWindow: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACCOUNT_SUSPENSION_WARNING_STATE_UNSPECIFIED", "WARNING", "SUSPENDED", @@ -62,16 +60,16 @@ class AccountSuspensionWarning(typing_extensions.TypedDict, total=False): suspensionDetails: _list[AccountSuspensionDetails] @typing.type_check_only -class AccountWarning(typing_extensions.TypedDict, total=False): +class AccountWarning(typing.TypedDict, total=False): email: str loginDetails: LoginDetails @typing.type_check_only -class ActionInfo(typing_extensions.TypedDict, total=False): +class ActionInfo(typing.TypedDict, total=False): evidenceLockerFilePath: str @typing.type_check_only -class ActivityRule(typing_extensions.TypedDict, total=False): +class ActivityRule(typing.TypedDict, total=False): actionNames: _list[str] createTime: str description: str @@ -86,7 +84,7 @@ class ActivityRule(typing_extensions.TypedDict, total=False): windowSize: str @typing.type_check_only -class Alert(typing_extensions.TypedDict, total=False): +class Alert(typing.TypedDict, total=False): alertId: str createTime: str customerId: str @@ -102,13 +100,13 @@ class Alert(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AlertFeedback(typing_extensions.TypedDict, total=False): +class AlertFeedback(typing.TypedDict, total=False): alertId: str createTime: str customerId: str email: str feedbackId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ALERT_FEEDBACK_TYPE_UNSPECIFIED", "NOT_USEFUL", "SOMEWHAT_USEFUL", @@ -116,7 +114,7 @@ class AlertFeedback(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlertMetadata(typing_extensions.TypedDict, total=False): +class AlertMetadata(typing.TypedDict, total=False): alertId: str assignee: str customerId: str @@ -126,29 +124,29 @@ class AlertMetadata(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ApnsCertificateExpirationInfo(typing_extensions.TypedDict, total=False): +class ApnsCertificateExpirationInfo(typing.TypedDict, total=False): appleId: str expirationTime: str uid: str @typing.type_check_only -class AppMakerSqlSetupNotification(typing_extensions.TypedDict, total=False): +class AppMakerSqlSetupNotification(typing.TypedDict, total=False): requestInfo: _list[RequestInfo] @typing.type_check_only -class AppSettingsChanged(typing_extensions.TypedDict, total=False): +class AppSettingsChanged(typing.TypedDict, total=False): alertDetails: str name: str @typing.type_check_only -class AppsOutage(typing_extensions.TypedDict, total=False): +class AppsOutage(typing.TypedDict, total=False): dashboardUri: str incidentTrackingId: str mergeInfo: MergeInfo nextUpdateTime: str products: _list[str] resolutionTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "NEW", "ONGOING", @@ -160,62 +158,62 @@ class AppsOutage(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Attachment(typing_extensions.TypedDict, total=False): +class Attachment(typing.TypedDict, total=False): csv: Csv @typing.type_check_only -class BadWhitelist(typing_extensions.TypedDict, total=False): +class BadWhitelist(typing.TypedDict, total=False): domainId: DomainId maliciousEntity: MaliciousEntity messages: _list[GmailMessageInfo] sourceIp: str @typing.type_check_only -class BatchDeleteAlertsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteAlertsRequest(typing.TypedDict, total=False): alertId: _list[str] customerId: str @typing.type_check_only -class BatchDeleteAlertsResponse(typing_extensions.TypedDict, total=False): +class BatchDeleteAlertsResponse(typing.TypedDict, total=False): failedAlertStatus: dict[str, typing.Any] successAlertIds: _list[str] @typing.type_check_only -class BatchUndeleteAlertsRequest(typing_extensions.TypedDict, total=False): +class BatchUndeleteAlertsRequest(typing.TypedDict, total=False): alertId: _list[str] customerId: str @typing.type_check_only -class BatchUndeleteAlertsResponse(typing_extensions.TypedDict, total=False): +class BatchUndeleteAlertsResponse(typing.TypedDict, total=False): failedAlertStatus: dict[str, typing.Any] successAlertIds: _list[str] @typing.type_check_only -class ClientSideEncryptionServiceUnavailable(typing_extensions.TypedDict, total=False): +class ClientSideEncryptionServiceUnavailable(typing.TypedDict, total=False): idpError: _list[IdentityProviderError] keyServiceError: _list[KeyServiceError] @typing.type_check_only -class CloudPubsubTopic(typing_extensions.TypedDict, total=False): - payloadFormat: typing_extensions.Literal["PAYLOAD_FORMAT_UNSPECIFIED", "JSON"] +class CloudPubsubTopic(typing.TypedDict, total=False): + payloadFormat: typing.Literal["PAYLOAD_FORMAT_UNSPECIFIED", "JSON"] topicName: str @typing.type_check_only -class Csv(typing_extensions.TypedDict, total=False): +class Csv(typing.TypedDict, total=False): dataRows: _list[CsvRow] headers: _list[str] @typing.type_check_only -class CsvRow(typing_extensions.TypedDict, total=False): +class CsvRow(typing.TypedDict, total=False): entries: _list[str] @typing.type_check_only -class DeviceCompromised(typing_extensions.TypedDict, total=False): +class DeviceCompromised(typing.TypedDict, total=False): email: str events: _list[DeviceCompromisedSecurityDetail] @typing.type_check_only -class DeviceCompromisedSecurityDetail(typing_extensions.TypedDict, total=False): +class DeviceCompromisedSecurityDetail(typing.TypedDict, total=False): deviceCompromisedState: str deviceId: str deviceModel: str @@ -225,7 +223,7 @@ class DeviceCompromisedSecurityDetail(typing_extensions.TypedDict, total=False): serialNumber: str @typing.type_check_only -class DeviceManagementRule(typing_extensions.TypedDict, total=False): +class DeviceManagementRule(typing.TypedDict, total=False): deviceId: str deviceModel: str deviceType: str @@ -238,24 +236,24 @@ class DeviceManagementRule(typing_extensions.TypedDict, total=False): serialNumber: str @typing.type_check_only -class DlpRuleViolation(typing_extensions.TypedDict, total=False): +class DlpRuleViolation(typing.TypedDict, total=False): ruleViolationInfo: RuleViolationInfo @typing.type_check_only -class DomainId(typing_extensions.TypedDict, total=False): +class DomainId(typing.TypedDict, total=False): customerPrimaryDomain: str @typing.type_check_only -class DomainWideTakeoutInitiated(typing_extensions.TypedDict, total=False): +class DomainWideTakeoutInitiated(typing.TypedDict, total=False): email: str takeoutRequestId: str @typing.type_check_only -class DriveSyncStateChanged(typing_extensions.TypedDict, total=False): +class DriveSyncStateChanged(typing.TypedDict, total=False): email: str syncPauseStartTime: str - syncState: typing_extensions.Literal["SYNC_STATE_UNSPECIFIED", "PAUSED", "RESUMED"] - syncStateChangeReason: typing_extensions.Literal[ + syncState: typing.Literal["SYNC_STATE_UNSPECIFIED", "PAUSED", "RESUMED"] + syncStateChangeReason: typing.Literal[ "SYNC_STATE_CHANGE_REASON_UNSPECIFIED", "UNUSUAL_ACTIVITY", "USER_FEEDBACK_TRUE_POSITIVE", @@ -263,22 +261,22 @@ class DriveSyncStateChanged(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): link: str name: str values: _list[str] @typing.type_check_only -class EntityList(typing_extensions.TypedDict, total=False): +class EntityList(typing.TypedDict, total=False): entities: _list[Entity] headers: _list[str] name: str @typing.type_check_only -class GmailMessageInfo(typing_extensions.TypedDict, total=False): +class GmailMessageInfo(typing.TypedDict, total=False): attachmentsSha256Hash: _list[str] date: str md5HashMessageBody: str @@ -290,7 +288,7 @@ class GmailMessageInfo(typing_extensions.TypedDict, total=False): subjectText: str @typing.type_check_only -class GoogleOperations(typing_extensions.TypedDict, total=False): +class GoogleOperations(typing.TypedDict, total=False): affectedUserEmails: _list[str] attachmentData: Attachment description: str @@ -299,10 +297,10 @@ class GoogleOperations(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class IdentityProviderError(typing_extensions.TypedDict, total=False): +class IdentityProviderError(typing.TypedDict, total=False): authorizationBaseUrl: str errorCount: str - errorInfo: typing_extensions.Literal[ + errorInfo: typing.Literal[ "IDENTITY_PROVIDER_ERROR_INFO_UNSPECIFIED", "EMAIL_MISMATCH", "UNAVAILABLE_DISCOVERY_CONTENT", @@ -317,9 +315,9 @@ class IdentityProviderError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class KeyServiceError(typing_extensions.TypedDict, total=False): +class KeyServiceError(typing.TypedDict, total=False): errorCount: str - errorInfo: typing_extensions.Literal[ + errorInfo: typing.Literal[ "KEY_SERVICE_ERROR_INFO_UNSPECIFIED", "MALFORMED_JSON", "MISSING_KEY", @@ -332,85 +330,85 @@ class KeyServiceError(typing_extensions.TypedDict, total=False): keyServiceUrl: str @typing.type_check_only -class ListAlertFeedbackResponse(typing_extensions.TypedDict, total=False): +class ListAlertFeedbackResponse(typing.TypedDict, total=False): feedback: _list[AlertFeedback] @typing.type_check_only -class ListAlertsResponse(typing_extensions.TypedDict, total=False): +class ListAlertsResponse(typing.TypedDict, total=False): alerts: _list[Alert] nextPageToken: str @typing.type_check_only -class LoginDetails(typing_extensions.TypedDict, total=False): +class LoginDetails(typing.TypedDict, total=False): ipAddress: str loginTime: str @typing.type_check_only -class MailPhishing(typing_extensions.TypedDict, total=False): +class MailPhishing(typing.TypedDict, total=False): domainId: DomainId isInternal: bool maliciousEntity: MaliciousEntity messages: _list[GmailMessageInfo] - systemActionType: typing_extensions.Literal[ + systemActionType: typing.Literal[ "SYSTEM_ACTION_TYPE_UNSPECIFIED", "NO_OPERATION", "REMOVED_FROM_INBOX" ] @typing.type_check_only -class MaliciousEntity(typing_extensions.TypedDict, total=False): +class MaliciousEntity(typing.TypedDict, total=False): displayName: str entity: User fromHeader: str @typing.type_check_only -class MandatoryServiceAnnouncement(typing_extensions.TypedDict, total=False): +class MandatoryServiceAnnouncement(typing.TypedDict, total=False): description: str title: str @typing.type_check_only -class MatchInfo(typing_extensions.TypedDict, total=False): +class MatchInfo(typing.TypedDict, total=False): predefinedDetector: PredefinedDetectorInfo userDefinedDetector: UserDefinedDetectorInfo @typing.type_check_only -class MergeInfo(typing_extensions.TypedDict, total=False): +class MergeInfo(typing.TypedDict, total=False): newAlertId: str newIncidentTrackingId: str @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): cloudPubsubTopic: CloudPubsubTopic @typing.type_check_only -class PhishingSpike(typing_extensions.TypedDict, total=False): +class PhishingSpike(typing.TypedDict, total=False): domainId: DomainId isInternal: bool maliciousEntity: MaliciousEntity messages: _list[GmailMessageInfo] @typing.type_check_only -class PredefinedDetectorInfo(typing_extensions.TypedDict, total=False): +class PredefinedDetectorInfo(typing.TypedDict, total=False): detectorName: str @typing.type_check_only -class PrimaryAdminChangedEvent(typing_extensions.TypedDict, total=False): +class PrimaryAdminChangedEvent(typing.TypedDict, total=False): domain: str previousAdminEmail: str updatedAdminEmail: str @typing.type_check_only -class ReportingRule(typing_extensions.TypedDict, total=False): +class ReportingRule(typing.TypedDict, total=False): alertDetails: str name: str query: str @typing.type_check_only -class RequestInfo(typing_extensions.TypedDict, total=False): +class RequestInfo(typing.TypedDict, total=False): appDeveloperEmail: _list[str] appKey: str numberOfRequests: str @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ResourceInfo(typing.TypedDict, total=False): chatAttachmentId: str chatMessageId: str deviceId: str @@ -419,17 +417,17 @@ class ResourceInfo(typing_extensions.TypedDict, total=False): resourceTitle: str @typing.type_check_only -class RuleInfo(typing_extensions.TypedDict, total=False): +class RuleInfo(typing.TypedDict, total=False): displayName: str resourceName: str @typing.type_check_only -class RuleViolationInfo(typing_extensions.TypedDict, total=False): - agentType: typing_extensions.Literal["AGENT_TYPE_UNSPECIFIED", "STUDIO"] - dataSource: typing_extensions.Literal[ +class RuleViolationInfo(typing.TypedDict, total=False): + agentType: typing.Literal["AGENT_TYPE_UNSPECIFIED", "STUDIO", "WORK_AGENT"] + dataSource: typing.Literal[ "DATA_SOURCE_UNSPECIFIED", "DRIVE", "GMAIL", "CHROME", "CHAT" ] - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "ACCESS_BLOCKED", "SHARING_BLOCKED" ] matchInfo: _list[MatchInfo] @@ -437,7 +435,7 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): resourceInfo: ResourceInfo ruleInfo: RuleInfo suppressedActionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ACTION_TYPE_UNSPECIFIED", "DRIVE_BLOCK_EXTERNAL_SHARING", "DRIVE_WARN_ON_EXTERNAL_SHARING", @@ -464,6 +462,7 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): "CHROME_STORE_CONTENT", "CHROME_WATERMARK", "CHROME_FORCE_SAVE_TO_CLOUD", + "CHROME_KEEP_IN_MANAGED_CHROME", "DELETE_WEBPROTECT_EVIDENCE", "CHAT_BLOCK_CONTENT", "CHAT_WARN_USER", @@ -472,7 +471,7 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): "RULE_DEACTIVATE", ] ] - trigger: typing_extensions.Literal[ + trigger: typing.Literal[ "TRIGGER_UNSPECIFIED", "DRIVE_SHARE", "MAIL_BEING_SENT", @@ -486,10 +485,11 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): "CHROMEOS_FILE_TRANSFER", "GEMINI_ACCESS", "AGENT_EXECUTION", + "CHROME_DATA_COPIED", ] triggeredActionInfo: _list[ActionInfo] triggeredActionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ACTION_TYPE_UNSPECIFIED", "DRIVE_BLOCK_EXTERNAL_SHARING", "DRIVE_WARN_ON_EXTERNAL_SHARING", @@ -516,6 +516,7 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): "CHROME_STORE_CONTENT", "CHROME_WATERMARK", "CHROME_FORCE_SAVE_TO_CLOUD", + "CHROME_KEEP_IN_MANAGED_CHROME", "DELETE_WEBPROTECT_EVIDENCE", "CHAT_BLOCK_CONTENT", "CHAT_WARN_USER", @@ -527,20 +528,20 @@ class RuleViolationInfo(typing_extensions.TypedDict, total=False): triggeringUserEmail: str @typing.type_check_only -class SSOProfileCreatedEvent(typing_extensions.TypedDict, total=False): +class SSOProfileCreatedEvent(typing.TypedDict, total=False): inboundSsoProfileName: str @typing.type_check_only -class SSOProfileDeletedEvent(typing_extensions.TypedDict, total=False): +class SSOProfileDeletedEvent(typing.TypedDict, total=False): inboundSsoProfileName: str @typing.type_check_only -class SSOProfileUpdatedEvent(typing_extensions.TypedDict, total=False): +class SSOProfileUpdatedEvent(typing.TypedDict, total=False): inboundSsoProfileChanges: str inboundSsoProfileName: str @typing.type_check_only -class SensitiveAdminAction(typing_extensions.TypedDict, total=False): +class SensitiveAdminAction(typing.TypedDict, total=False): actorEmail: str eventTime: str primaryAdminChangedEvent: PrimaryAdminChangedEvent @@ -550,35 +551,35 @@ class SensitiveAdminAction(typing_extensions.TypedDict, total=False): superAdminPasswordResetEvent: SuperAdminPasswordResetEvent @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): notifications: _list[Notification] @typing.type_check_only -class StateSponsoredAttack(typing_extensions.TypedDict, total=False): +class StateSponsoredAttack(typing.TypedDict, total=False): email: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SuperAdminPasswordResetEvent(typing_extensions.TypedDict, total=False): +class SuperAdminPasswordResetEvent(typing.TypedDict, total=False): userEmail: str @typing.type_check_only -class SupportTicket(typing_extensions.TypedDict, total=False): +class SupportTicket(typing.TypedDict, total=False): ticketId: str ticketUrl: str @typing.type_check_only -class SuspiciousActivity(typing_extensions.TypedDict, total=False): +class SuspiciousActivity(typing.TypedDict, total=False): email: str events: _list[SuspiciousActivitySecurityDetail] @typing.type_check_only -class SuspiciousActivitySecurityDetail(typing_extensions.TypedDict, total=False): +class SuspiciousActivitySecurityDetail(typing.TypedDict, total=False): deviceId: str deviceModel: str deviceProperty: str @@ -590,16 +591,16 @@ class SuspiciousActivitySecurityDetail(typing_extensions.TypedDict, total=False) serialNumber: str @typing.type_check_only -class TransferError(typing_extensions.TypedDict, total=False): +class TransferError(typing.TypedDict, total=False): email: str - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "TRANSFER_ENTITY_TYPE_UNSPECIFIED", "TRANSFER_AUTO_ATTENDANT", "TRANSFER_RING_GROUP", "TRANSFER_USER", ] id: str - invalidReason: typing_extensions.Literal[ + invalidReason: typing.Literal[ "TRANSFER_INVALID_REASON_UNSPECIFIED", "TRANSFER_TARGET_DELETED", "UNLICENSED", @@ -609,35 +610,35 @@ class TransferError(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class TransferMisconfiguration(typing_extensions.TypedDict, total=False): +class TransferMisconfiguration(typing.TypedDict, total=False): errors: _list[TransferError] @typing.type_check_only -class UndeleteAlertRequest(typing_extensions.TypedDict, total=False): +class UndeleteAlertRequest(typing.TypedDict, total=False): customerId: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): displayName: str emailAddress: str @typing.type_check_only -class UserChanges(typing_extensions.TypedDict, total=False): +class UserChanges(typing.TypedDict, total=False): name: str @typing.type_check_only -class UserDefinedDetectorInfo(typing_extensions.TypedDict, total=False): +class UserDefinedDetectorInfo(typing.TypedDict, total=False): displayName: str resourceName: str @typing.type_check_only -class VaultAcceleratedDeletion(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal[ +class VaultAcceleratedDeletion(typing.TypedDict, total=False): + actionType: typing.Literal[ "VAULT_ACCELERATED_DELETION_ACTION_TYPE_UNSPECIFIED", "VAULT_ACCELERATED_DELETION_ACTION_TYPE_CREATE", "VAULT_ACCELERATED_DELETION_ACTION_TYPE_CANCEL", ] - appType: typing_extensions.Literal[ + appType: typing.Literal[ "VAULT_ACCELERATED_DELETION_APP_TYPE_UNSPECIFIED", "VAULT_ACCELERATED_DELETION_APP_TYPE_GMAIL", ] @@ -646,9 +647,9 @@ class VaultAcceleratedDeletion(typing_extensions.TypedDict, total=False): matterId: str @typing.type_check_only -class VoiceMisconfiguration(typing_extensions.TypedDict, total=False): +class VoiceMisconfiguration(typing.TypedDict, total=False): entityName: str - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "ENTITY_TYPE_UNSPECIFIED", "AUTO_ATTENDANT", "RING_GROUP" ] fixUri: str @@ -657,12 +658,12 @@ class VoiceMisconfiguration(typing_extensions.TypedDict, total=False): voicemailMisconfiguration: VoicemailMisconfiguration @typing.type_check_only -class VoicemailMisconfiguration(typing_extensions.TypedDict, total=False): +class VoicemailMisconfiguration(typing.TypedDict, total=False): errors: _list[VoicemailRecipientError] @typing.type_check_only -class VoicemailRecipientError(typing_extensions.TypedDict, total=False): +class VoicemailRecipientError(typing.TypedDict, total=False): email: str - invalidReason: typing_extensions.Literal[ + invalidReason: typing.Literal[ "EMAIL_INVALID_REASON_UNSPECIFIED", "OUT_OF_QUOTA", "RECIPIENT_DELETED" ] diff --git a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi index 5e877e356..396edc142 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -42,7 +41,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_CLUSTER_DELETED", @@ -58,7 +57,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_CLUSTER_DELETED", @@ -127,7 +126,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "INSTANCE_VIEW_UNSPECIFIED", "INSTANCE_VIEW_BASIC", "INSTANCE_VIEW_FULL", @@ -270,7 +269,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "CLUSTER_VIEW_BASIC", "CLUSTER_VIEW_CONTINUOUS_BACKUP", @@ -384,7 +383,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal[ + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index 0b746b738..0c3891fae 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -1,15 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuthorizedNetwork(typing_extensions.TypedDict, total=False): +class AlloydbClhErrorsAlloyDbInternalDebugInfo(typing.TypedDict, total=False): + originalError: str + +@typing.type_check_only +class AuthorizedNetwork(typing.TypedDict, total=False): cidrRange: str @typing.type_check_only -class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): +class AutomatedBackupPolicy(typing.TypedDict, total=False): backupWindow: str enabled: bool encryptionConfig: EncryptionConfig @@ -20,13 +22,13 @@ class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): weeklySchedule: WeeklySchedule @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clusterName: str clusterUid: str createCompletionTime: str createTime: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -48,22 +50,20 @@ class Backup(typing_extensions.TypedDict, total=False): reconciling: bool satisfiesPzs: bool sizeBytes: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", "FAILED", "DELETING" ] tags: dict[str, typing.Any] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED", "CONTINUOUS" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED", "CONTINUOUS"] uid: str updateTime: str @typing.type_check_only -class BackupDrBackupSource(typing_extensions.TypedDict, total=False): +class BackupDrBackupSource(typing.TypedDict, total=False): backup: str @typing.type_check_only -class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): +class BackupDrEnabledWindow(typing.TypedDict, total=False): automatedBackupPreviouslyEnabled: bool backupPlanAssociation: str continuousBackupPreviousRecoveryWindowDays: int @@ -75,58 +75,54 @@ class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): logRetentionPeriod: str @typing.type_check_only -class BackupDrInfo(typing_extensions.TypedDict, total=False): +class BackupDrInfo(typing.TypedDict, total=False): currentWindow: BackupDrEnabledWindow previousWindows: _list[BackupDrEnabledWindow] @typing.type_check_only -class BackupDrPitrSource(typing_extensions.TypedDict, total=False): +class BackupDrPitrSource(typing.TypedDict, total=False): dataSource: str pointInTime: str @typing.type_check_only -class BackupSource(typing_extensions.TypedDict, total=False): +class BackupSource(typing.TypedDict, total=False): backupName: str backupUid: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientConnectionConfig(typing_extensions.TypedDict, total=False): +class ClientConnectionConfig(typing.TypedDict, total=False): requireConnectors: bool sslConfig: SslConfig @typing.type_check_only class CloudControl2SharedOperationsReconciliationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class CloudSQLBackupRunSource(typing_extensions.TypedDict, total=False): +class CloudSQLBackupRunSource(typing.TypedDict, total=False): backupRunId: str instanceId: str project: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): annotations: dict[str, typing.Any] automatedBackupPolicy: AutomatedBackupPolicy backupSource: BackupSource backupdrBackupSource: BackupDrBackupSource backupdrInfo: BackupDrInfo cloudsqlBackupRunSource: CloudSQLBackupRunSource - clusterType: typing_extensions.Literal[ - "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" - ] + clusterType: typing.Literal["CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY"] continuousBackupConfig: ContinuousBackupConfig continuousBackupInfo: ContinuousBackupInfo createTime: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -145,7 +141,7 @@ class Cluster(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] maintenanceSchedule: MaintenanceSchedule maintenanceUpdatePolicy: MaintenanceUpdatePolicy - maintenanceVersionSelectionPolicy: typing_extensions.Literal[ + maintenanceVersionSelectionPolicy: typing.Literal[ "MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", "MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", "MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT", @@ -160,7 +156,7 @@ class Cluster(typing_extensions.TypedDict, total=False): satisfiesPzs: bool secondaryConfig: SecondaryConfig sslConfig: SslConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "STOPPED", @@ -173,7 +169,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "PROMOTING", "SWITCHOVER", ] - subscriptionType: typing_extensions.Literal[ + subscriptionType: typing.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "STANDARD", "TRIAL" ] tags: dict[str, typing.Any] @@ -182,11 +178,9 @@ class Cluster(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): - clusterType: typing_extensions.Literal[ - "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" - ] - databaseVersion: typing_extensions.Literal[ +class ClusterUpgradeDetails(typing.TypedDict, total=False): + clusterType: typing.Literal["CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY"] + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -198,7 +192,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str stageInfo: _list[StageInfo] - upgradeStatus: typing_extensions.Literal[ + upgradeStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -210,32 +204,44 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionInfo(typing_extensions.TypedDict, total=False): +class ConnectionInfo(typing.TypedDict, total=False): instanceUid: str ipAddress: str name: str publicIpAddress: str @typing.type_check_only -class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): +class ConnectionPoolConfig(typing.TypedDict, total=False): authproxyPoolerCount: int + authproxyPoolerScalingType: typing.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] enabled: bool flags: dict[str, typing.Any] poolerCount: int + poolerScalingType: typing.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] @typing.type_check_only -class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): +class ContinuousBackupConfig(typing.TypedDict, total=False): enabled: bool encryptionConfig: EncryptionConfig recoveryWindowDays: int @typing.type_check_only -class ContinuousBackupInfo(typing_extensions.TypedDict, total=False): +class ContinuousBackupInfo(typing.TypedDict, total=False): earliestRestorableTime: str enabledTime: str encryptionInfo: EncryptionInfo schedule: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -248,19 +254,19 @@ class ContinuousBackupInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ContinuousBackupSource(typing_extensions.TypedDict, total=False): +class ContinuousBackupSource(typing.TypedDict, total=False): cluster: str pointInTime: str @typing.type_check_only -class CsvExportOptions(typing_extensions.TypedDict, total=False): +class CsvExportOptions(typing.TypedDict, total=False): escapeCharacter: str fieldDelimiter: str quoteCharacter: str selectQuery: str @typing.type_check_only -class CsvImportOptions(typing_extensions.TypedDict, total=False): +class CsvImportOptions(typing.TypedDict, total=False): columns: _list[str] escapeCharacter: str fieldDelimiter: str @@ -268,58 +274,56 @@ class CsvImportOptions(typing_extensions.TypedDict, total=False): table: str @typing.type_check_only -class DataplexConfig(typing_extensions.TypedDict, total=False): +class DataplexConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: GoogleTypeDate startDate: GoogleTypeDate time: GoogleTypeTimeOfDay @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class EncryptionInfo(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION" ] kmsKeyVersions: _list[str] @typing.type_check_only -class ExportClusterRequest(typing_extensions.TypedDict, total=False): +class ExportClusterRequest(typing.TypedDict, total=False): csvExportOptions: CsvExportOptions database: str gcsDestination: GcsDestination sqlExportOptions: SqlExportOptions @typing.type_check_only -class ExportClusterResponse(typing_extensions.TypedDict, total=False): +class ExportClusterResponse(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): +class FailoverInstanceRequest(typing.TypedDict, total=False): requestId: str validateOnly: bool @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -327,20 +331,20 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class ImportClusterRequest(typing_extensions.TypedDict, total=False): +class ImportClusterRequest(typing.TypedDict, total=False): csvImportOptions: CsvImportOptions database: str gcsUri: str @@ -348,28 +352,26 @@ class ImportClusterRequest(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class ImportClusterResponse(typing_extensions.TypedDict, total=False): +class ImportClusterResponse(typing.TypedDict, total=False): bytesDownloaded: str @typing.type_check_only -class InjectFaultRequest(typing_extensions.TypedDict, total=False): - faultType: typing_extensions.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] +class InjectFaultRequest(typing.TypedDict, total=False): + faultType: typing.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] requestId: str validateOnly: bool @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): - activationPolicy: typing_extensions.Literal[ - "ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" - ] +class Instance(typing.TypedDict, total=False): + activationPolicy: typing.Literal["ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER"] annotations: dict[str, typing.Any] - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] clientConnectionConfig: ClientConnectionConfig connectionPoolConfig: ConnectionPoolConfig createTime: str - dataApiAccess: typing_extensions.Literal[ + dataApiAccess: typing.Literal[ "DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", "DISABLED", "ENABLED" ] databaseFlags: dict[str, typing.Any] @@ -377,7 +379,7 @@ class Instance(typing_extensions.TypedDict, total=False): displayName: str etag: str gceZone: str - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" ] ipAddress: str @@ -395,7 +397,7 @@ class Instance(typing_extensions.TypedDict, total=False): readPoolConfig: ReadPoolConfig reconciling: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "STOPPED", @@ -414,7 +416,7 @@ class Instance(typing_extensions.TypedDict, total=False): writableNode: Node @typing.type_check_only -class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): +class InstanceNetworkConfig(typing.TypedDict, total=False): allocatedIpRangeOverride: str authorizedExternalNetworks: _list[AuthorizedNetwork] enableOutboundPublicIp: bool @@ -422,12 +424,12 @@ class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): network: str @typing.type_check_only -class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): - instanceType: typing_extensions.Literal[ +class InstanceUpgradeDetails(typing.TypedDict, total=False): + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" ] name: str - upgradeStatus: typing_extensions.Literal[ + upgradeStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -439,62 +441,62 @@ class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegerRestrictions(typing_extensions.TypedDict, total=False): +class IntegerRestrictions(typing.TypedDict, total=False): maxValue: str minValue: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSupportedDatabaseFlagsResponse(typing_extensions.TypedDict, total=False): +class ListSupportedDatabaseFlagsResponse(typing.TypedDict, total=False): nextPageToken: str supportedDatabaseFlags: _list[SupportedDatabaseFlag] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] users: _list[User] @typing.type_check_only -class MachineConfig(typing_extensions.TypedDict, total=False): +class MachineConfig(typing.TypedDict, total=False): cpuCount: int machineType: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class MaintenanceUpdatePolicy(typing_extensions.TypedDict, total=False): +class MaintenanceUpdatePolicy(typing.TypedDict, total=False): denyMaintenancePeriods: _list[DenyMaintenancePeriod] maintenanceWindows: _list[MaintenanceWindow] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class MaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -507,18 +509,18 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: GoogleTypeTimeOfDay @typing.type_check_only -class MigrationSource(typing_extensions.TypedDict, total=False): +class MigrationSource(typing.TypedDict, total=False): hostPort: str referenceId: str - sourceType: typing_extensions.Literal["MIGRATION_SOURCE_TYPE_UNSPECIFIED", "DMS"] + sourceType: typing.Literal["MIGRATION_SOURCE_TYPE_UNSPECIFIED", "DMS"] @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): allocatedIpRange: str network: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): id: str ip: str isHotStandby: bool @@ -526,7 +528,7 @@ class Node(typing_extensions.TypedDict, total=False): zoneId: str @typing.type_check_only -class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): +class ObservabilityInstanceConfig(typing.TypedDict, total=False): enabled: bool maxQueryStringLength: int preserveComments: bool @@ -537,7 +539,7 @@ class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): trackWaitEvents: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -545,7 +547,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -556,17 +558,17 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PrimaryConfig(typing_extensions.TypedDict, total=False): +class PrimaryConfig(typing.TypedDict, total=False): secondaryClusterNames: _list[str] @typing.type_check_only -class PromoteClusterRequest(typing_extensions.TypedDict, total=False): +class PromoteClusterRequest(typing.TypedDict, total=False): etag: str requestId: str validateOnly: bool @typing.type_check_only -class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): +class PscAutoConnectionConfig(typing.TypedDict, total=False): consumerNetwork: str consumerNetworkStatus: str consumerProject: str @@ -574,12 +576,12 @@ class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): pscEnabled: bool serviceOwnedProjectNumber: str @typing.type_check_only -class PscInstanceConfig(typing_extensions.TypedDict, total=False): +class PscInstanceConfig(typing.TypedDict, total=False): allowedConsumerProjects: _list[str] pscAutoConnections: _list[PscAutoConnectionConfig] pscDnsName: str @@ -587,41 +589,41 @@ class PscInstanceConfig(typing_extensions.TypedDict, total=False): serviceAttachmentLink: str @typing.type_check_only -class PscInterfaceConfig(typing_extensions.TypedDict, total=False): +class PscInterfaceConfig(typing.TypedDict, total=False): networkAttachmentResource: str @typing.type_check_only -class QuantityBasedExpiry(typing_extensions.TypedDict, total=False): +class QuantityBasedExpiry(typing.TypedDict, total=False): retentionCount: int totalRetentionCount: int @typing.type_check_only -class QuantityBasedRetention(typing_extensions.TypedDict, total=False): +class QuantityBasedRetention(typing.TypedDict, total=False): count: int @typing.type_check_only -class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): +class QueryInsightsInstanceConfig(typing.TypedDict, total=False): queryPlansPerMinute: int queryStringLength: int recordApplicationTags: bool recordClientAddress: bool @typing.type_check_only -class ReadPoolConfig(typing_extensions.TypedDict, total=False): +class ReadPoolConfig(typing.TypedDict, total=False): nodeCount: int @typing.type_check_only -class ReadPoolInstancesUpgradeStageStatus(typing_extensions.TypedDict, total=False): +class ReadPoolInstancesUpgradeStageStatus(typing.TypedDict, total=False): upgradeStats: Stats @typing.type_check_only -class RestartInstanceRequest(typing_extensions.TypedDict, total=False): +class RestartInstanceRequest(typing.TypedDict, total=False): nodeIds: _list[str] requestId: str validateOnly: bool @typing.type_check_only -class RestoreClusterRequest(typing_extensions.TypedDict, total=False): +class RestoreClusterRequest(typing.TypedDict, total=False): backupSource: BackupSource backupdrBackupSource: BackupDrBackupSource backupdrPitrSource: BackupDrPitrSource @@ -632,29 +634,29 @@ class RestoreClusterRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class RestoreFromCloudSQLRequest(typing_extensions.TypedDict, total=False): +class RestoreFromCloudSQLRequest(typing.TypedDict, total=False): cloudsqlBackupRunSource: CloudSQLBackupRunSource cluster: Cluster clusterId: str @typing.type_check_only -class SecondaryConfig(typing_extensions.TypedDict, total=False): +class SecondaryConfig(typing.TypedDict, total=False): primaryClusterName: str @typing.type_check_only -class SqlExportOptions(typing_extensions.TypedDict, total=False): +class SqlExportOptions(typing.TypedDict, total=False): cleanTargetObjects: bool ifExistTargetObjects: bool schemaOnly: bool tables: _list[str] @typing.type_check_only -class SqlImportOptions(typing_extensions.TypedDict, total=False): ... +class SqlImportOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class SslConfig(typing_extensions.TypedDict, total=False): - caSource: typing_extensions.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] - sslMode: typing_extensions.Literal[ +class SslConfig(typing.TypedDict, total=False): + caSource: typing.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] + sslMode: typing.Literal[ "SSL_MODE_UNSPECIFIED", "SSL_MODE_ALLOW", "SSL_MODE_REQUIRE", @@ -664,9 +666,9 @@ class SslConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StageInfo(typing_extensions.TypedDict, total=False): +class StageInfo(typing.TypedDict, total=False): logsUrl: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "ALLOYDB_PRECHECK", "PG_UPGRADE_CHECK", @@ -676,7 +678,7 @@ class StageInfo(typing_extensions.TypedDict, total=False): "ROLLBACK", "CLEANUP", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -688,9 +690,9 @@ class StageInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StageStatus(typing_extensions.TypedDict, total=False): +class StageStatus(typing.TypedDict, total=False): readPoolInstancesUpgrade: ReadPoolInstancesUpgradeStageStatus - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "ALLOYDB_PRECHECK", "PG_UPGRADE_CHECK", @@ -700,7 +702,7 @@ class StageStatus(typing_extensions.TypedDict, total=False): "ROLLBACK", "CLEANUP", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -712,24 +714,24 @@ class StageStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Stats(typing_extensions.TypedDict, total=False): +class Stats(typing.TypedDict, total=False): failed: int notStarted: int ongoing: int success: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automaticFailoverRoutingConfigured: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", @@ -742,7 +744,7 @@ class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automatedBackupEnabled: bool backupRetentionSettings: StorageDatabasecenterPartnerapiV1mainRetentionSettings @@ -750,13 +752,13 @@ class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun @@ -766,30 +768,26 @@ class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainBackupRun( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainBackupRun(typing.TypedDict, total=False): endTime: str error: StorageDatabasecenterPartnerapiV1mainOperationError startTime: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] + status: typing.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainCompliance( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainCompliance(typing.TypedDict, total=False): standard: str version: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullResourceName: str lastRefreshTime: str resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId signalBoolValue: bool - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -805,7 +803,7 @@ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): internalResourceMetadata: _list[ StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata @@ -813,7 +811,7 @@ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupdrMetadata: StorageDatabasecenterPartnerapiV1mainBackupDRMetadata configBasedSignalData: StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData @@ -821,7 +819,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData ) feedTimestamp: str - feedType: typing_extensions.Literal[ + feedType: typing.Literal[ "FEEDTYPE_UNSPECIFIED", "RESOURCE_METADATA", "OBSERVABILITY_DATA", @@ -846,7 +844,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] compliance: _list[StorageDatabasecenterPartnerapiV1mainCompliance] @@ -855,7 +853,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( externalUri: str location: str name: str - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -866,7 +864,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( ] resourceContainer: str resourceName: str - signalClass: typing_extensions.Literal[ + signalClass: typing.Literal[ "CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -875,10 +873,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "ERROR", ] signalId: str - signalSeverity: typing_extensions.Literal[ + signalSeverity: typing.Literal[ "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -986,14 +984,17 @@ 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"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -1008,7 +1009,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] availabilityConfiguration: ( @@ -1018,7 +1019,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration creationTime: str - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -1028,14 +1029,14 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "STOPPED", ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS", "EDITION_STANDARD", ] entitlements: _list[StorageDatabasecenterPartnerapiV1mainEntitlement] - expectedState: typing_extensions.Literal[ + expectedState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -1046,7 +1047,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "SUB_RESOURCE_TYPE_UNSPECIFIED", "PRIMARY", @@ -1069,11 +1070,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo modes: _list[ - typing_extensions.Literal[ + typing.Literal[ "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", "MODE_DATASTORE", + "MODE_CLUSTER_ENABLED", + "MODE_CLUSTER_DISABLED", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1082,7 +1085,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( resourceContainer: str resourceFlags: _list[StorageDatabasecenterPartnerapiV1mainResourceFlags] resourceName: str - suspensionReason: typing_extensions.Literal[ + suspensionReason: typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "WIPEOUT_HIDE_EVENT", "WIPEOUT_PURGE_EVENT", @@ -1098,18 +1101,18 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] lastRefreshTime: str - recommendationState: typing_extensions.Literal[ + recommendationState: typing.Literal[ "UNSPECIFIED", "ACTIVE", "CLAIMED", "SUCCEEDED", "FAILED", "DISMISSED" ] recommender: str recommenderId: str recommenderSubtype: str resourceName: str - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -1217,11 +1220,14 @@ 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 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun fullResourceName: str @@ -1230,10 +1236,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId signalBoolValue: bool signalMetadataList: _list[StorageDatabasecenterPartnerapiV1mainSignalMetadata] - signalState: typing_extensions.Literal[ + signalState: typing.Literal[ "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -1248,25 +1254,23 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( ] @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainEntitlement( - typing_extensions.TypedDict, total=False -): - entitlementState: typing_extensions.Literal[ +class StorageDatabasecenterPartnerapiV1mainEntitlement(typing.TypedDict, total=False): + entitlementState: typing.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" ] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcbdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun @@ -1276,15 +1280,13 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( resourceName: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainIpAddress( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainIpAddress(typing.TypedDict, total=False): privateIp: str publicIp: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineSlots: str cpuCount: int @@ -1295,12 +1297,12 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregationType: typing_extensions.Literal[ + aggregationType: typing.Literal[ "AGGREGATION_TYPE_UNSPECIFIED", "PEAK", "P99", "P95", "CURRENT" ] - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "CPU_UTILIZATION", "MEMORY_UTILIZATION", @@ -1317,10 +1319,10 @@ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainOperationError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "OPERATION_ERROR_TYPE_UNSPECIFIED", "KMS_KEY_ERROR", "DATABASE_ERROR", @@ -1332,15 +1334,13 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( message: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainResourceFlags( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainResourceFlags(typing.TypedDict, total=False): key: str value: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endDate: GoogleTypeDate startDate: GoogleTypeDate @@ -1348,7 +1348,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentVersionReleaseDate: GoogleTypeDate denyMaintenanceSchedules: _list[ @@ -1358,7 +1358,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( maintenanceSchedule: ( StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule ) - maintenanceState: typing_extensions.Literal[ + maintenanceState: typing.Literal[ "MAINTENANCE_STATE_UNSPECIFIED", "CREATING", "READY", @@ -1373,9 +1373,9 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - day: typing_extensions.Literal[ + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1385,18 +1385,16 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( "SATURDAY", "SUNDAY", ] - phase: typing_extensions.Literal[ - "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" - ] + phase: typing.Literal["PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5"] time: GoogleTypeTimeOfDay @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainRetentionSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): durationBasedRetention: str quantityBasedRetention: int - retentionUnit: typing_extensions.Literal[ + retentionUnit: typing.Literal[ "RETENTION_UNIT_UNSPECIFIED", "COUNT", "TIME", @@ -1408,33 +1406,29 @@ class StorageDatabasecenterPartnerapiV1mainRetentionSettings( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainSignalMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun signalBoolValue: bool @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainTags( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainTags(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainUserLabels( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainUserLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class StorageDatabasecenterProtoCommonProduct(typing.TypedDict, total=False): + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "ENGINE_MYSQL", "MYSQL", @@ -1448,7 +1442,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", @@ -1457,7 +1451,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_ADB_SERVERLESS_ORACLE", ] minorVersion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", "CLOUD_SQL", @@ -1477,20 +1471,19 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total version: str @typing.type_check_only -class StorageDatabasecenterProtoCommonTypedValue( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterProtoCommonTypedValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float int64Value: str stringValue: str @typing.type_check_only -class StringRestrictions(typing_extensions.TypedDict, total=False): +class StringRestrictions(typing.TypedDict, total=False): allowedValues: _list[str] + caseAgnostic: bool @typing.type_check_only -class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): +class SupportedDatabaseFlag(typing.TypedDict, total=False): acceptsMultipleValues: bool flagName: str integerRestrictions: IntegerRestrictions @@ -1498,10 +1491,10 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): recommendedIntegerValue: str recommendedStringValue: str requiresDbRestart: bool - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] + scope: typing.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] stringRestrictions: StringRestrictions supportedDbVersions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1511,32 +1504,32 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_18", ] ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "STRING", "INTEGER", "FLOAT", "NONE" ] @typing.type_check_only -class SwitchoverClusterRequest(typing_extensions.TypedDict, total=False): +class SwitchoverClusterRequest(typing.TypedDict, total=False): requestId: str validateOnly: bool @typing.type_check_only -class TimeBasedRetention(typing_extensions.TypedDict, total=False): +class TimeBasedRetention(typing.TypedDict, total=False): retentionPeriod: str @typing.type_check_only -class TrialMetadata(typing_extensions.TypedDict, total=False): +class TrialMetadata(typing.TypedDict, total=False): endTime: str graceEndTime: str startTime: str upgradeTime: str @typing.type_check_only -class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): +class UpgradeClusterRequest(typing.TypedDict, total=False): etag: str requestId: str validateOnly: bool - version: typing_extensions.Literal[ + version: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1547,10 +1540,10 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): +class UpgradeClusterResponse(typing.TypedDict, total=False): clusterUpgradeDetails: _list[ClusterUpgradeDetails] message: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -1562,9 +1555,9 @@ class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): +class UpgradeClusterStatus(typing.TypedDict, total=False): cancellable: bool - sourceVersion: typing_extensions.Literal[ + sourceVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1574,7 +1567,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_18", ] stages: _list[StageStatus] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -1584,7 +1577,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "CANCEL_IN_PROGRESS", "CANCELLED", ] - targetVersion: typing_extensions.Literal[ + targetVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1595,24 +1588,24 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): databaseRoles: _list[str] keepExtraRoles: bool name: str password: str - userType: typing_extensions.Literal[ + userType: typing.Literal[ "USER_TYPE_UNSPECIFIED", "ALLOYDB_BUILT_IN", "ALLOYDB_IAM_USER" ] @typing.type_check_only -class UserPassword(typing_extensions.TypedDict, total=False): +class UserPassword(typing.TypedDict, total=False): password: str user: str @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): +class WeeklySchedule(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi index f6679e941..37decebd1 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -42,7 +41,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_CLUSTER_DELETED", @@ -58,7 +57,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_CLUSTER_DELETED", @@ -127,7 +126,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "INSTANCE_VIEW_UNSPECIFIED", "INSTANCE_VIEW_BASIC", "INSTANCE_VIEW_FULL", @@ -270,7 +269,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "CLUSTER_VIEW_BASIC", "CLUSTER_VIEW_CONTINUOUS_BACKUP", @@ -435,7 +434,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal[ + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index 0659fa35e..d24bdb3e5 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -1,20 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuthorizedNetwork(typing_extensions.TypedDict, total=False): +class AlloydbClhErrorsAlloyDbInternalDebugInfo(typing.TypedDict, total=False): + originalError: str + +@typing.type_check_only +class AuthorizedNetwork(typing.TypedDict, total=False): cidrRange: str @typing.type_check_only -class AutoScalingConfig(typing_extensions.TypedDict, total=False): +class AutoScalingConfig(typing.TypedDict, total=False): policy: Policy schedules: _list[Schedule] @typing.type_check_only -class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): +class AutomatedBackupPolicy(typing.TypedDict, total=False): backupWindow: str enabled: bool encryptionConfig: EncryptionConfig @@ -25,14 +27,14 @@ class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): weeklySchedule: WeeklySchedule @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clusterDeleted: bool clusterName: str clusterUid: str createCompletionTime: str createTime: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -55,22 +57,20 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool sizeBytes: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", "FAILED", "DELETING" ] tags: dict[str, typing.Any] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED", "CONTINUOUS" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED", "CONTINUOUS"] uid: str updateTime: str @typing.type_check_only -class BackupDrBackupSource(typing_extensions.TypedDict, total=False): +class BackupDrBackupSource(typing.TypedDict, total=False): backup: str @typing.type_check_only -class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): +class BackupDrEnabledWindow(typing.TypedDict, total=False): automatedBackupPreviouslyEnabled: bool backupPlanAssociation: str continuousBackupPreviousRecoveryWindowDays: int @@ -82,58 +82,54 @@ class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): logRetentionPeriod: str @typing.type_check_only -class BackupDrInfo(typing_extensions.TypedDict, total=False): +class BackupDrInfo(typing.TypedDict, total=False): currentWindow: BackupDrEnabledWindow previousWindows: _list[BackupDrEnabledWindow] @typing.type_check_only -class BackupDrPitrSource(typing_extensions.TypedDict, total=False): +class BackupDrPitrSource(typing.TypedDict, total=False): dataSource: str pointInTime: str @typing.type_check_only -class BackupSource(typing_extensions.TypedDict, total=False): +class BackupSource(typing.TypedDict, total=False): backupName: str backupUid: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientConnectionConfig(typing_extensions.TypedDict, total=False): +class ClientConnectionConfig(typing.TypedDict, total=False): requireConnectors: bool sslConfig: SslConfig @typing.type_check_only class CloudControl2SharedOperationsReconciliationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class CloudSQLBackupRunSource(typing_extensions.TypedDict, total=False): +class CloudSQLBackupRunSource(typing.TypedDict, total=False): backupRunId: str instanceId: str project: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): annotations: dict[str, typing.Any] automatedBackupPolicy: AutomatedBackupPolicy backupSource: BackupSource backupdrBackupSource: BackupDrBackupSource backupdrInfo: BackupDrInfo cloudsqlBackupRunSource: CloudSQLBackupRunSource - clusterType: typing_extensions.Literal[ - "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" - ] + clusterType: typing.Literal["CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY"] continuousBackupConfig: ContinuousBackupConfig continuousBackupInfo: ContinuousBackupInfo createTime: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -153,7 +149,7 @@ class Cluster(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] maintenanceSchedule: MaintenanceSchedule maintenanceUpdatePolicy: MaintenanceUpdatePolicy - maintenanceVersionSelectionPolicy: typing_extensions.Literal[ + maintenanceVersionSelectionPolicy: typing.Literal[ "MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", "MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", "MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT", @@ -170,7 +166,7 @@ class Cluster(typing_extensions.TypedDict, total=False): secondaryConfig: SecondaryConfig serviceAccountEmail: str sslConfig: SslConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "STOPPED", @@ -184,7 +180,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "SWITCHOVER", "RECREATING", ] - subscriptionType: typing_extensions.Literal[ + subscriptionType: typing.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "STANDARD", "TRIAL" ] tags: dict[str, typing.Any] @@ -193,11 +189,9 @@ class Cluster(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): - clusterType: typing_extensions.Literal[ - "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" - ] - databaseVersion: typing_extensions.Literal[ +class ClusterUpgradeDetails(typing.TypedDict, total=False): + clusterType: typing.Literal["CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY"] + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -209,7 +203,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str stageInfo: _list[StageInfo] - upgradeStatus: typing_extensions.Literal[ + upgradeStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -221,7 +215,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionInfo(typing_extensions.TypedDict, total=False): +class ConnectionInfo(typing.TypedDict, total=False): instanceUid: str ipAddress: str name: str @@ -231,25 +225,37 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): publicIpAddress: str @typing.type_check_only -class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): +class ConnectionPoolConfig(typing.TypedDict, total=False): authproxyPoolerCount: int + authproxyPoolerScalingType: typing.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] enabled: bool flags: dict[str, typing.Any] poolerCount: int + poolerScalingType: typing.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] @typing.type_check_only -class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): +class ContinuousBackupConfig(typing.TypedDict, total=False): enabled: bool encryptionConfig: EncryptionConfig recoveryWindowDays: int @typing.type_check_only -class ContinuousBackupInfo(typing_extensions.TypedDict, total=False): +class ContinuousBackupInfo(typing.TypedDict, total=False): earliestRestorableTime: str enabledTime: str encryptionInfo: EncryptionInfo schedule: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -262,23 +268,23 @@ class ContinuousBackupInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ContinuousBackupSource(typing_extensions.TypedDict, total=False): +class ContinuousBackupSource(typing.TypedDict, total=False): cluster: str pointInTime: str @typing.type_check_only -class CpuUtilization(typing_extensions.TypedDict, total=False): +class CpuUtilization(typing.TypedDict, total=False): utilizationTarget: float @typing.type_check_only -class CsvExportOptions(typing_extensions.TypedDict, total=False): +class CsvExportOptions(typing.TypedDict, total=False): escapeCharacter: str fieldDelimiter: str quoteCharacter: str selectQuery: str @typing.type_check_only -class CsvImportOptions(typing_extensions.TypedDict, total=False): +class CsvImportOptions(typing.TypedDict, total=False): columns: _list[str] escapeCharacter: str fieldDelimiter: str @@ -286,49 +292,49 @@ class CsvImportOptions(typing_extensions.TypedDict, total=False): table: str @typing.type_check_only -class DNSConfig(typing_extensions.TypedDict, total=False): +class DNSConfig(typing.TypedDict, total=False): dnsName: str dnsRecordType: str @typing.type_check_only -class DataplexConfig(typing_extensions.TypedDict, total=False): +class DataplexConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: GoogleTypeDate startDate: GoogleTypeDate time: GoogleTypeTimeOfDay @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class EncryptionInfo(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION" ] kmsKeyVersions: _list[str] @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str displayName: str dnsConfig: DNSConfig effectiveTargetInstances: _list[str] - endpointType: typing_extensions.Literal[ + endpointType: typing.Literal[ "ENDPOINT_TYPE_UNSPECIFIED", "WRITE_ENDPOINT", "READ_ENDPOINT" ] etag: str name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", "UPDATING", "DELETING" ] targetInstances: _list[str] @@ -336,44 +342,40 @@ class Endpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ExportClusterRequest(typing_extensions.TypedDict, total=False): +class ExportClusterRequest(typing.TypedDict, total=False): csvExportOptions: CsvExportOptions database: str gcsDestination: GcsDestination sqlExportOptions: SqlExportOptions @typing.type_check_only -class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): +class FailoverInstanceRequest(typing.TypedDict, total=False): requestId: str validateOnly: bool @typing.type_check_only -class GCAInstanceConfig(typing_extensions.TypedDict, total=False): - gcaEntitlement: typing_extensions.Literal[ - "GCA_ENTITLEMENT_TYPE_UNSPECIFIED", "GCA_STANDARD" - ] +class GCAInstanceConfig(typing.TypedDict, total=False): + gcaEntitlement: typing.Literal["GCA_ENTITLEMENT_TYPE_UNSPECIFIED", "GCA_STANDARD"] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GeminiClusterConfig(typing_extensions.TypedDict, total=False): +class GeminiClusterConfig(typing.TypedDict, total=False): entitled: bool @typing.type_check_only -class GeminiInstanceConfig(typing_extensions.TypedDict, total=False): +class GeminiInstanceConfig(typing.TypedDict, total=False): entitled: bool @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -381,20 +383,20 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class ImportClusterRequest(typing_extensions.TypedDict, total=False): +class ImportClusterRequest(typing.TypedDict, total=False): csvImportOptions: CsvImportOptions database: str gcsUri: str @@ -402,24 +404,22 @@ class ImportClusterRequest(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class InjectFaultRequest(typing_extensions.TypedDict, total=False): - faultType: typing_extensions.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] +class InjectFaultRequest(typing.TypedDict, total=False): + faultType: typing.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] requestId: str validateOnly: bool @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): - activationPolicy: typing_extensions.Literal[ - "ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" - ] +class Instance(typing.TypedDict, total=False): + activationPolicy: typing.Literal["ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER"] annotations: dict[str, typing.Any] - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] clientConnectionConfig: ClientConnectionConfig connectionPoolConfig: ConnectionPoolConfig createTime: str - dataApiAccess: typing_extensions.Literal[ + dataApiAccess: typing.Literal[ "DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", "DISABLED", "ENABLED" ] databaseFlags: dict[str, typing.Any] @@ -429,7 +429,7 @@ class Instance(typing_extensions.TypedDict, total=False): gcaConfig: GCAInstanceConfig gceZone: str geminiConfig: GeminiInstanceConfig - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" ] ipAddress: str @@ -442,13 +442,14 @@ class Instance(typing_extensions.TypedDict, total=False): observabilityConfig: ObservabilityInstanceConfig outboundPublicIpAddresses: _list[str] pscInstanceConfig: PscInstanceConfig + pscInstanceInfo: PscInstanceInfo publicIpAddress: str queryInsightsConfig: QueryInsightsInstanceConfig readPoolConfig: ReadPoolConfig reconciling: bool satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "STOPPED", @@ -468,7 +469,7 @@ class Instance(typing_extensions.TypedDict, total=False): writableNode: Node @typing.type_check_only -class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): +class InstanceNetworkConfig(typing.TypedDict, total=False): allocatedIpRangeOverride: str authorizedExternalNetworks: _list[AuthorizedNetwork] enableOutboundPublicIp: bool @@ -476,12 +477,12 @@ class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): network: str @typing.type_check_only -class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): - instanceType: typing_extensions.Literal[ +class InstanceUpgradeDetails(typing.TypedDict, total=False): + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" ] name: str - upgradeStatus: typing_extensions.Literal[ + upgradeStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -493,68 +494,68 @@ class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegerRestrictions(typing_extensions.TypedDict, total=False): +class IntegerRestrictions(typing.TypedDict, total=False): maxValue: str minValue: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSupportedDatabaseFlagsResponse(typing_extensions.TypedDict, total=False): +class ListSupportedDatabaseFlagsResponse(typing.TypedDict, total=False): nextPageToken: str supportedDatabaseFlags: _list[SupportedDatabaseFlag] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] users: _list[User] @typing.type_check_only -class MachineConfig(typing_extensions.TypedDict, total=False): +class MachineConfig(typing.TypedDict, total=False): cpuCount: int machineType: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class MaintenanceUpdatePolicy(typing_extensions.TypedDict, total=False): +class MaintenanceUpdatePolicy(typing.TypedDict, total=False): denyMaintenancePeriods: _list[DenyMaintenancePeriod] maintenanceWindows: _list[MaintenanceWindow] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class MaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -567,18 +568,18 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: GoogleTypeTimeOfDay @typing.type_check_only -class MigrationSource(typing_extensions.TypedDict, total=False): +class MigrationSource(typing.TypedDict, total=False): hostPort: str referenceId: str - sourceType: typing_extensions.Literal["MIGRATION_SOURCE_TYPE_UNSPECIFIED", "DMS"] + sourceType: typing.Literal["MIGRATION_SOURCE_TYPE_UNSPECIFIED", "DMS"] @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): allocatedIpRange: str network: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): id: str ip: str isHotStandby: bool @@ -586,7 +587,7 @@ class Node(typing_extensions.TypedDict, total=False): zoneId: str @typing.type_check_only -class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): +class ObservabilityInstanceConfig(typing.TypedDict, total=False): assistiveExperiencesEnabled: bool enabled: bool maxQueryStringLength: int @@ -600,7 +601,7 @@ class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): trackWaitEvents: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -608,7 +609,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -619,25 +620,25 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): coolDownPeriodSec: str cpuUtilization: CpuUtilization enabled: bool maxNodeCount: str @typing.type_check_only -class PrimaryConfig(typing_extensions.TypedDict, total=False): +class PrimaryConfig(typing.TypedDict, total=False): secondaryClusterNames: _list[str] @typing.type_check_only -class PromoteClusterRequest(typing_extensions.TypedDict, total=False): +class PromoteClusterRequest(typing.TypedDict, total=False): etag: str failover: bool requestId: str validateOnly: bool @typing.type_check_only -class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): +class PscAutoConnectionConfig(typing.TypedDict, total=False): consumerNetwork: str consumerNetworkStatus: str consumerProject: str @@ -645,55 +646,70 @@ class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): pscEnabled: bool serviceOwnedProjectNumber: str @typing.type_check_only -class PscInstanceConfig(typing_extensions.TypedDict, total=False): +class PscInstanceConfig(typing.TypedDict, total=False): allowedConsumerProjects: _list[str] + pscAutoConnectionPolicyState: typing.Literal[ + "PSC_AUTO_CONNECTION_POLICY_STATE_UNSPECIFIED", "ENABLED", "DISABLED" + ] pscAutoConnections: _list[PscAutoConnectionConfig] + pscAutoDnsState: typing.Literal[ + "PSC_AUTO_DNS_STATE_UNSPECIFIED", + "PSC_AUTO_DNS_STATE_ENABLED", + "PSC_AUTO_DNS_STATE_DISABLED", + ] pscDnsName: str pscInterfaceConfigs: _list[PscInterfaceConfig] serviceAttachmentLink: str @typing.type_check_only -class PscInterfaceConfig(typing_extensions.TypedDict, total=False): +class PscInstanceInfo(typing.TypedDict, total=False): + effectivePscAutoConnectionPolicy: bool + effectivePscAutoDnsEnabled: bool + pscAutoDnsNames: _list[str] + serviceConnectionPolicy: str + +@typing.type_check_only +class PscInterfaceConfig(typing.TypedDict, total=False): networkAttachmentResource: str @typing.type_check_only -class QuantityBasedExpiry(typing_extensions.TypedDict, total=False): +class QuantityBasedExpiry(typing.TypedDict, total=False): retentionCount: int totalRetentionCount: int @typing.type_check_only -class QuantityBasedRetention(typing_extensions.TypedDict, total=False): +class QuantityBasedRetention(typing.TypedDict, total=False): count: int @typing.type_check_only -class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): +class QueryInsightsInstanceConfig(typing.TypedDict, total=False): queryPlansPerMinute: int queryStringLength: int recordApplicationTags: bool recordClientAddress: bool @typing.type_check_only -class ReadPoolConfig(typing_extensions.TypedDict, total=False): +class ReadPoolConfig(typing.TypedDict, total=False): autoScalingConfig: AutoScalingConfig nodeCount: int @typing.type_check_only -class ReadPoolInstancesUpgradeStageStatus(typing_extensions.TypedDict, total=False): +class ReadPoolInstancesUpgradeStageStatus(typing.TypedDict, total=False): upgradeStats: Stats @typing.type_check_only -class RestartInstanceRequest(typing_extensions.TypedDict, total=False): +class RestartInstanceRequest(typing.TypedDict, total=False): nodeIds: _list[str] requestId: str validateOnly: bool @typing.type_check_only -class RestoreClusterRequest(typing_extensions.TypedDict, total=False): +class RestoreClusterRequest(typing.TypedDict, total=False): backupSource: BackupSource backupdrBackupSource: BackupDrBackupSource backupdrPitrSource: BackupDrPitrSource @@ -704,13 +720,13 @@ class RestoreClusterRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class RestoreFromCloudSQLRequest(typing_extensions.TypedDict, total=False): +class RestoreFromCloudSQLRequest(typing.TypedDict, total=False): cloudsqlBackupRunSource: CloudSQLBackupRunSource cluster: Cluster clusterId: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): cronExpression: str description: str disabled: bool @@ -720,23 +736,23 @@ class Schedule(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class SecondaryConfig(typing_extensions.TypedDict, total=False): +class SecondaryConfig(typing.TypedDict, total=False): primaryClusterName: str @typing.type_check_only -class SqlExportOptions(typing_extensions.TypedDict, total=False): +class SqlExportOptions(typing.TypedDict, total=False): cleanTargetObjects: bool ifExistTargetObjects: bool schemaOnly: bool tables: _list[str] @typing.type_check_only -class SqlImportOptions(typing_extensions.TypedDict, total=False): ... +class SqlImportOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class SslConfig(typing_extensions.TypedDict, total=False): - caSource: typing_extensions.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] - sslMode: typing_extensions.Literal[ +class SslConfig(typing.TypedDict, total=False): + caSource: typing.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] + sslMode: typing.Literal[ "SSL_MODE_UNSPECIFIED", "SSL_MODE_ALLOW", "SSL_MODE_REQUIRE", @@ -746,9 +762,9 @@ class SslConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StageInfo(typing_extensions.TypedDict, total=False): +class StageInfo(typing.TypedDict, total=False): logsUrl: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "ALLOYDB_PRECHECK", "PG_UPGRADE_CHECK", @@ -758,7 +774,7 @@ class StageInfo(typing_extensions.TypedDict, total=False): "ROLLBACK", "CLEANUP", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -770,9 +786,9 @@ class StageInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StageStatus(typing_extensions.TypedDict, total=False): +class StageStatus(typing.TypedDict, total=False): readPoolInstancesUpgrade: ReadPoolInstancesUpgradeStageStatus - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "ALLOYDB_PRECHECK", "PG_UPGRADE_CHECK", @@ -782,7 +798,7 @@ class StageStatus(typing_extensions.TypedDict, total=False): "ROLLBACK", "CLEANUP", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -794,24 +810,24 @@ class StageStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Stats(typing_extensions.TypedDict, total=False): +class Stats(typing.TypedDict, total=False): failed: int notStarted: int ongoing: int success: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automaticFailoverRoutingConfigured: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", @@ -824,7 +840,7 @@ class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automatedBackupEnabled: bool backupRetentionSettings: StorageDatabasecenterPartnerapiV1mainRetentionSettings @@ -832,13 +848,13 @@ class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun @@ -848,30 +864,26 @@ class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainBackupRun( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainBackupRun(typing.TypedDict, total=False): endTime: str error: StorageDatabasecenterPartnerapiV1mainOperationError startTime: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] + status: typing.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainCompliance( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainCompliance(typing.TypedDict, total=False): standard: str version: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullResourceName: str lastRefreshTime: str resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId signalBoolValue: bool - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -887,7 +899,7 @@ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): internalResourceMetadata: _list[ StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata @@ -895,7 +907,7 @@ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupdrMetadata: StorageDatabasecenterPartnerapiV1mainBackupDRMetadata configBasedSignalData: StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData @@ -903,7 +915,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData ) feedTimestamp: str - feedType: typing_extensions.Literal[ + feedType: typing.Literal[ "FEEDTYPE_UNSPECIFIED", "RESOURCE_METADATA", "OBSERVABILITY_DATA", @@ -928,7 +940,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] compliance: _list[StorageDatabasecenterPartnerapiV1mainCompliance] @@ -937,7 +949,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( externalUri: str location: str name: str - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -948,7 +960,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( ] resourceContainer: str resourceName: str - signalClass: typing_extensions.Literal[ + signalClass: typing.Literal[ "CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -957,10 +969,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "ERROR", ] signalId: str - signalSeverity: typing_extensions.Literal[ + signalSeverity: typing.Literal[ "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -1068,14 +1080,17 @@ 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"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -1090,7 +1105,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] availabilityConfiguration: ( @@ -1100,7 +1115,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration creationTime: str - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -1110,14 +1125,14 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "STOPPED", ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS", "EDITION_STANDARD", ] entitlements: _list[StorageDatabasecenterPartnerapiV1mainEntitlement] - expectedState: typing_extensions.Literal[ + expectedState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -1128,7 +1143,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "SUB_RESOURCE_TYPE_UNSPECIFIED", "PRIMARY", @@ -1151,11 +1166,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo modes: _list[ - typing_extensions.Literal[ + typing.Literal[ "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", "MODE_DATASTORE", + "MODE_CLUSTER_ENABLED", + "MODE_CLUSTER_DISABLED", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1164,7 +1181,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( resourceContainer: str resourceFlags: _list[StorageDatabasecenterPartnerapiV1mainResourceFlags] resourceName: str - suspensionReason: typing_extensions.Literal[ + suspensionReason: typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "WIPEOUT_HIDE_EVENT", "WIPEOUT_PURGE_EVENT", @@ -1180,18 +1197,18 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] lastRefreshTime: str - recommendationState: typing_extensions.Literal[ + recommendationState: typing.Literal[ "UNSPECIFIED", "ACTIVE", "CLAIMED", "SUCCEEDED", "FAILED", "DISMISSED" ] recommender: str recommenderId: str recommenderSubtype: str resourceName: str - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -1299,11 +1316,14 @@ 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 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun fullResourceName: str @@ -1312,10 +1332,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId signalBoolValue: bool signalMetadataList: _list[StorageDatabasecenterPartnerapiV1mainSignalMetadata] - signalState: typing_extensions.Literal[ + signalState: typing.Literal[ "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -1330,25 +1350,23 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( ] @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainEntitlement( - typing_extensions.TypedDict, total=False -): - entitlementState: typing_extensions.Literal[ +class StorageDatabasecenterPartnerapiV1mainEntitlement(typing.TypedDict, total=False): + entitlementState: typing.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" ] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcbdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun @@ -1358,15 +1376,13 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( resourceName: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainIpAddress( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainIpAddress(typing.TypedDict, total=False): privateIp: str publicIp: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineSlots: str cpuCount: int @@ -1377,12 +1393,12 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregationType: typing_extensions.Literal[ + aggregationType: typing.Literal[ "AGGREGATION_TYPE_UNSPECIFIED", "PEAK", "P99", "P95", "CURRENT" ] - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "CPU_UTILIZATION", "MEMORY_UTILIZATION", @@ -1399,10 +1415,10 @@ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainOperationError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "OPERATION_ERROR_TYPE_UNSPECIFIED", "KMS_KEY_ERROR", "DATABASE_ERROR", @@ -1414,15 +1430,13 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( message: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainResourceFlags( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainResourceFlags(typing.TypedDict, total=False): key: str value: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endDate: GoogleTypeDate startDate: GoogleTypeDate @@ -1430,7 +1444,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentVersionReleaseDate: GoogleTypeDate denyMaintenanceSchedules: _list[ @@ -1440,7 +1454,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( maintenanceSchedule: ( StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule ) - maintenanceState: typing_extensions.Literal[ + maintenanceState: typing.Literal[ "MAINTENANCE_STATE_UNSPECIFIED", "CREATING", "READY", @@ -1455,9 +1469,9 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - day: typing_extensions.Literal[ + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1467,18 +1481,16 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( "SATURDAY", "SUNDAY", ] - phase: typing_extensions.Literal[ - "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" - ] + phase: typing.Literal["PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5"] time: GoogleTypeTimeOfDay @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainRetentionSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): durationBasedRetention: str quantityBasedRetention: int - retentionUnit: typing_extensions.Literal[ + retentionUnit: typing.Literal[ "RETENTION_UNIT_UNSPECIFIED", "COUNT", "TIME", @@ -1490,33 +1502,29 @@ class StorageDatabasecenterPartnerapiV1mainRetentionSettings( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainSignalMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun signalBoolValue: bool @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainTags( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainTags(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainUserLabels( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainUserLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class StorageDatabasecenterProtoCommonProduct(typing.TypedDict, total=False): + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "ENGINE_MYSQL", "MYSQL", @@ -1530,7 +1538,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", @@ -1539,7 +1547,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_ADB_SERVERLESS_ORACLE", ] minorVersion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", "CLOUD_SQL", @@ -1559,20 +1567,19 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total version: str @typing.type_check_only -class StorageDatabasecenterProtoCommonTypedValue( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterProtoCommonTypedValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float int64Value: str stringValue: str @typing.type_check_only -class StringRestrictions(typing_extensions.TypedDict, total=False): +class StringRestrictions(typing.TypedDict, total=False): allowedValues: _list[str] + caseAgnostic: bool @typing.type_check_only -class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): +class SupportedDatabaseFlag(typing.TypedDict, total=False): acceptsMultipleValues: bool flagName: str integerRestrictions: IntegerRestrictions @@ -1580,10 +1587,10 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): recommendedIntegerValue: str recommendedStringValue: str requiresDbRestart: bool - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] + scope: typing.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] stringRestrictions: StringRestrictions supportedDbVersions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1593,36 +1600,36 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_18", ] ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "STRING", "INTEGER", "FLOAT", "NONE" ] @typing.type_check_only -class SwitchoverClusterRequest(typing_extensions.TypedDict, total=False): +class SwitchoverClusterRequest(typing.TypedDict, total=False): requestId: str validateOnly: bool @typing.type_check_only -class TimeBasedRetention(typing_extensions.TypedDict, total=False): +class TimeBasedRetention(typing.TypedDict, total=False): retentionPeriod: str @typing.type_check_only -class TrialMetadata(typing_extensions.TypedDict, total=False): +class TrialMetadata(typing.TypedDict, total=False): endTime: str graceEndTime: str startTime: str upgradeTime: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DEFAULT", "FORCE_APPLY"] +class UpdatePolicy(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DEFAULT", "FORCE_APPLY"] @typing.type_check_only -class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): +class UpgradeClusterRequest(typing.TypedDict, total=False): etag: str requestId: str validateOnly: bool - version: typing_extensions.Literal[ + version: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1633,10 +1640,10 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): +class UpgradeClusterResponse(typing.TypedDict, total=False): clusterUpgradeDetails: _list[ClusterUpgradeDetails] message: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -1648,9 +1655,9 @@ class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): +class UpgradeClusterStatus(typing.TypedDict, total=False): cancellable: bool - sourceVersion: typing_extensions.Literal[ + sourceVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1660,7 +1667,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_18", ] stages: _list[StageStatus] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -1670,7 +1677,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "CANCEL_IN_PROGRESS", "CANCELLED", ] - targetVersion: typing_extensions.Literal[ + targetVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1681,24 +1688,29 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): databaseRoles: _list[str] keepExtraRoles: bool name: str password: str - userType: typing_extensions.Literal[ - "USER_TYPE_UNSPECIFIED", "ALLOYDB_BUILT_IN", "ALLOYDB_IAM_USER" + userType: typing.Literal[ + "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 -class UserPassword(typing_extensions.TypedDict, total=False): +class UserPassword(typing.TypedDict, total=False): password: str user: str @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): +class WeeklySchedule(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi index df428bb96..4be42e630 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -42,7 +41,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_CLUSTER_DELETED", @@ -58,7 +57,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_CLUSTER_DELETED", @@ -127,7 +126,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "INSTANCE_VIEW_UNSPECIFIED", "INSTANCE_VIEW_BASIC", "INSTANCE_VIEW_FULL", @@ -270,7 +269,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "CLUSTER_VIEW_BASIC", "CLUSTER_VIEW_CONTINUOUS_BACKUP", @@ -431,7 +430,7 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal[ + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index 27f7f6b4f..9941decbf 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -1,20 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuthorizedNetwork(typing_extensions.TypedDict, total=False): +class AlloydbClhErrorsAlloyDbInternalDebugInfo(typing.TypedDict, total=False): + originalError: str + +@typing.type_check_only +class AuthorizedNetwork(typing.TypedDict, total=False): cidrRange: str @typing.type_check_only -class AutoScalingConfig(typing_extensions.TypedDict, total=False): +class AutoScalingConfig(typing.TypedDict, total=False): policy: Policy schedules: _list[Schedule] @typing.type_check_only -class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): +class AutomatedBackupPolicy(typing.TypedDict, total=False): backupWindow: str enabled: bool encryptionConfig: EncryptionConfig @@ -25,14 +27,14 @@ class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): weeklySchedule: WeeklySchedule @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clusterDeleted: bool clusterName: str clusterUid: str createCompletionTime: str createTime: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -54,22 +56,20 @@ class Backup(typing_extensions.TypedDict, total=False): reconciling: bool satisfiesPzs: bool sizeBytes: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", "FAILED", "DELETING" ] tags: dict[str, typing.Any] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED", "CONTINUOUS" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED", "CONTINUOUS"] uid: str updateTime: str @typing.type_check_only -class BackupDrBackupSource(typing_extensions.TypedDict, total=False): +class BackupDrBackupSource(typing.TypedDict, total=False): backup: str @typing.type_check_only -class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): +class BackupDrEnabledWindow(typing.TypedDict, total=False): automatedBackupPreviouslyEnabled: bool backupPlanAssociation: str continuousBackupPreviousRecoveryWindowDays: int @@ -81,55 +81,51 @@ class BackupDrEnabledWindow(typing_extensions.TypedDict, total=False): logRetentionPeriod: str @typing.type_check_only -class BackupDrInfo(typing_extensions.TypedDict, total=False): +class BackupDrInfo(typing.TypedDict, total=False): currentWindow: BackupDrEnabledWindow previousWindows: _list[BackupDrEnabledWindow] @typing.type_check_only -class BackupDrPitrSource(typing_extensions.TypedDict, total=False): +class BackupDrPitrSource(typing.TypedDict, total=False): dataSource: str pointInTime: str @typing.type_check_only -class BackupSource(typing_extensions.TypedDict, total=False): +class BackupSource(typing.TypedDict, total=False): backupName: str backupUid: str @typing.type_check_only -class ClientConnectionConfig(typing_extensions.TypedDict, total=False): +class ClientConnectionConfig(typing.TypedDict, total=False): requireConnectors: bool sslConfig: SslConfig @typing.type_check_only class CloudControl2SharedOperationsReconciliationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class CloudSQLBackupRunSource(typing_extensions.TypedDict, total=False): +class CloudSQLBackupRunSource(typing.TypedDict, total=False): backupRunId: str instanceId: str project: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): annotations: dict[str, typing.Any] automatedBackupPolicy: AutomatedBackupPolicy backupSource: BackupSource backupdrBackupSource: BackupDrBackupSource backupdrInfo: BackupDrInfo cloudsqlBackupRunSource: CloudSQLBackupRunSource - clusterType: typing_extensions.Literal[ - "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" - ] + clusterType: typing.Literal["CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY"] continuousBackupConfig: ContinuousBackupConfig continuousBackupInfo: ContinuousBackupInfo createTime: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -149,7 +145,7 @@ class Cluster(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] maintenanceSchedule: MaintenanceSchedule maintenanceUpdatePolicy: MaintenanceUpdatePolicy - maintenanceVersionSelectionPolicy: typing_extensions.Literal[ + maintenanceVersionSelectionPolicy: typing.Literal[ "MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", "MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", "MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT", @@ -165,7 +161,7 @@ class Cluster(typing_extensions.TypedDict, total=False): secondaryConfig: SecondaryConfig serviceAccountEmail: str sslConfig: SslConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "STOPPED", @@ -179,7 +175,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "SWITCHOVER", "RECREATING", ] - subscriptionType: typing_extensions.Literal[ + subscriptionType: typing.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "STANDARD", "TRIAL" ] tags: dict[str, typing.Any] @@ -188,11 +184,9 @@ class Cluster(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): - clusterType: typing_extensions.Literal[ - "CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY" - ] - databaseVersion: typing_extensions.Literal[ +class ClusterUpgradeDetails(typing.TypedDict, total=False): + clusterType: typing.Literal["CLUSTER_TYPE_UNSPECIFIED", "PRIMARY", "SECONDARY"] + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -204,7 +198,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str stageInfo: _list[StageInfo] - upgradeStatus: typing_extensions.Literal[ + upgradeStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -216,7 +210,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionInfo(typing_extensions.TypedDict, total=False): +class ConnectionInfo(typing.TypedDict, total=False): instanceUid: str ipAddress: str name: str @@ -226,25 +220,37 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): publicIpAddress: str @typing.type_check_only -class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): +class ConnectionPoolConfig(typing.TypedDict, total=False): authproxyPoolerCount: int + authproxyPoolerScalingType: typing.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] enabled: bool flags: dict[str, typing.Any] poolerCount: int + poolerScalingType: typing.Literal[ + "POOLER_SCALING_TYPE_UNSPECIFIED", + "POOLER_NONE", + "POOLER_MACHINE_SIZED", + "POOLER_MANUAL_OVERRIDE", + ] @typing.type_check_only -class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): +class ContinuousBackupConfig(typing.TypedDict, total=False): enabled: bool encryptionConfig: EncryptionConfig recoveryWindowDays: int @typing.type_check_only -class ContinuousBackupInfo(typing_extensions.TypedDict, total=False): +class ContinuousBackupInfo(typing.TypedDict, total=False): earliestRestorableTime: str enabledTime: str encryptionInfo: EncryptionInfo schedule: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -257,23 +263,23 @@ class ContinuousBackupInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ContinuousBackupSource(typing_extensions.TypedDict, total=False): +class ContinuousBackupSource(typing.TypedDict, total=False): cluster: str pointInTime: str @typing.type_check_only -class CpuUtilization(typing_extensions.TypedDict, total=False): +class CpuUtilization(typing.TypedDict, total=False): utilizationTarget: float @typing.type_check_only -class CsvExportOptions(typing_extensions.TypedDict, total=False): +class CsvExportOptions(typing.TypedDict, total=False): escapeCharacter: str fieldDelimiter: str quoteCharacter: str selectQuery: str @typing.type_check_only -class CsvImportOptions(typing_extensions.TypedDict, total=False): +class CsvImportOptions(typing.TypedDict, total=False): columns: _list[str] escapeCharacter: str fieldDelimiter: str @@ -281,49 +287,49 @@ class CsvImportOptions(typing_extensions.TypedDict, total=False): table: str @typing.type_check_only -class DNSConfig(typing_extensions.TypedDict, total=False): +class DNSConfig(typing.TypedDict, total=False): dnsName: str dnsRecordType: str @typing.type_check_only -class DataplexConfig(typing_extensions.TypedDict, total=False): +class DataplexConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: GoogleTypeDate startDate: GoogleTypeDate time: GoogleTypeTimeOfDay @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class EncryptionInfo(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION" ] kmsKeyVersions: _list[str] @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str displayName: str dnsConfig: DNSConfig effectiveTargetInstances: _list[str] - endpointType: typing_extensions.Literal[ + endpointType: typing.Literal[ "ENDPOINT_TYPE_UNSPECIFIED", "WRITE_ENDPOINT", "READ_ENDPOINT" ] etag: str name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", "UPDATING", "DELETING" ] targetInstances: _list[str] @@ -331,44 +337,40 @@ class Endpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ExportClusterRequest(typing_extensions.TypedDict, total=False): +class ExportClusterRequest(typing.TypedDict, total=False): csvExportOptions: CsvExportOptions database: str gcsDestination: GcsDestination sqlExportOptions: SqlExportOptions @typing.type_check_only -class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): +class FailoverInstanceRequest(typing.TypedDict, total=False): requestId: str validateOnly: bool @typing.type_check_only -class GCAInstanceConfig(typing_extensions.TypedDict, total=False): - gcaEntitlement: typing_extensions.Literal[ - "GCA_ENTITLEMENT_TYPE_UNSPECIFIED", "GCA_STANDARD" - ] +class GCAInstanceConfig(typing.TypedDict, total=False): + gcaEntitlement: typing.Literal["GCA_ENTITLEMENT_TYPE_UNSPECIFIED", "GCA_STANDARD"] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GeminiClusterConfig(typing_extensions.TypedDict, total=False): +class GeminiClusterConfig(typing.TypedDict, total=False): entitled: bool @typing.type_check_only -class GeminiInstanceConfig(typing_extensions.TypedDict, total=False): +class GeminiInstanceConfig(typing.TypedDict, total=False): entitled: bool @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -376,20 +378,20 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class ImportClusterRequest(typing_extensions.TypedDict, total=False): +class ImportClusterRequest(typing.TypedDict, total=False): csvImportOptions: CsvImportOptions database: str gcsUri: str @@ -397,24 +399,22 @@ class ImportClusterRequest(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class InjectFaultRequest(typing_extensions.TypedDict, total=False): - faultType: typing_extensions.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] +class InjectFaultRequest(typing.TypedDict, total=False): + faultType: typing.Literal["FAULT_TYPE_UNSPECIFIED", "STOP_VM"] requestId: str validateOnly: bool @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): - activationPolicy: typing_extensions.Literal[ - "ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" - ] +class Instance(typing.TypedDict, total=False): + activationPolicy: typing.Literal["ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER"] annotations: dict[str, typing.Any] - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] clientConnectionConfig: ClientConnectionConfig connectionPoolConfig: ConnectionPoolConfig createTime: str - dataApiAccess: typing_extensions.Literal[ + dataApiAccess: typing.Literal[ "DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", "DISABLED", "ENABLED" ] databaseFlags: dict[str, typing.Any] @@ -424,7 +424,7 @@ class Instance(typing_extensions.TypedDict, total=False): gcaConfig: GCAInstanceConfig gceZone: str geminiConfig: GeminiInstanceConfig - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" ] ipAddress: str @@ -437,12 +437,13 @@ class Instance(typing_extensions.TypedDict, total=False): observabilityConfig: ObservabilityInstanceConfig outboundPublicIpAddresses: _list[str] pscInstanceConfig: PscInstanceConfig + pscInstanceInfo: PscInstanceInfo publicIpAddress: str queryInsightsConfig: QueryInsightsInstanceConfig readPoolConfig: ReadPoolConfig reconciling: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "STOPPED", @@ -462,7 +463,7 @@ class Instance(typing_extensions.TypedDict, total=False): writableNode: Node @typing.type_check_only -class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): +class InstanceNetworkConfig(typing.TypedDict, total=False): allocatedIpRangeOverride: str authorizedExternalNetworks: _list[AuthorizedNetwork] enableOutboundPublicIp: bool @@ -470,12 +471,12 @@ class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): network: str @typing.type_check_only -class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): - instanceType: typing_extensions.Literal[ +class InstanceUpgradeDetails(typing.TypedDict, total=False): + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", "READ_POOL", "SECONDARY" ] name: str - upgradeStatus: typing_extensions.Literal[ + upgradeStatus: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -487,68 +488,68 @@ class InstanceUpgradeDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegerRestrictions(typing_extensions.TypedDict, total=False): +class IntegerRestrictions(typing.TypedDict, total=False): maxValue: str minValue: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSupportedDatabaseFlagsResponse(typing_extensions.TypedDict, total=False): +class ListSupportedDatabaseFlagsResponse(typing.TypedDict, total=False): nextPageToken: str supportedDatabaseFlags: _list[SupportedDatabaseFlag] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] users: _list[User] @typing.type_check_only -class MachineConfig(typing_extensions.TypedDict, total=False): +class MachineConfig(typing.TypedDict, total=False): cpuCount: int machineType: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class MaintenanceUpdatePolicy(typing_extensions.TypedDict, total=False): +class MaintenanceUpdatePolicy(typing.TypedDict, total=False): denyMaintenancePeriods: _list[DenyMaintenancePeriod] maintenanceWindows: _list[MaintenanceWindow] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class MaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -561,18 +562,18 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: GoogleTypeTimeOfDay @typing.type_check_only -class MigrationSource(typing_extensions.TypedDict, total=False): +class MigrationSource(typing.TypedDict, total=False): hostPort: str referenceId: str - sourceType: typing_extensions.Literal["MIGRATION_SOURCE_TYPE_UNSPECIFIED", "DMS"] + sourceType: typing.Literal["MIGRATION_SOURCE_TYPE_UNSPECIFIED", "DMS"] @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): allocatedIpRange: str network: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): id: str ip: str isHotStandby: bool @@ -580,7 +581,7 @@ class Node(typing_extensions.TypedDict, total=False): zoneId: str @typing.type_check_only -class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): +class ObservabilityInstanceConfig(typing.TypedDict, total=False): assistiveExperiencesEnabled: bool enabled: bool maxQueryStringLength: int @@ -594,7 +595,7 @@ class ObservabilityInstanceConfig(typing_extensions.TypedDict, total=False): trackWaitEvents: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -602,7 +603,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -613,25 +614,25 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): coolDownPeriodSec: str cpuUtilization: CpuUtilization enabled: bool maxNodeCount: str @typing.type_check_only -class PrimaryConfig(typing_extensions.TypedDict, total=False): +class PrimaryConfig(typing.TypedDict, total=False): secondaryClusterNames: _list[str] @typing.type_check_only -class PromoteClusterRequest(typing_extensions.TypedDict, total=False): +class PromoteClusterRequest(typing.TypedDict, total=False): etag: str failover: bool requestId: str validateOnly: bool @typing.type_check_only -class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): +class PscAutoConnectionConfig(typing.TypedDict, total=False): consumerNetwork: str consumerNetworkStatus: str consumerProject: str @@ -639,55 +640,70 @@ class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): pscEnabled: bool serviceOwnedProjectNumber: str @typing.type_check_only -class PscInstanceConfig(typing_extensions.TypedDict, total=False): +class PscInstanceConfig(typing.TypedDict, total=False): allowedConsumerProjects: _list[str] + pscAutoConnectionPolicyState: typing.Literal[ + "PSC_AUTO_CONNECTION_POLICY_STATE_UNSPECIFIED", "ENABLED", "DISABLED" + ] pscAutoConnections: _list[PscAutoConnectionConfig] + pscAutoDnsState: typing.Literal[ + "PSC_AUTO_DNS_STATE_UNSPECIFIED", + "PSC_AUTO_DNS_STATE_ENABLED", + "PSC_AUTO_DNS_STATE_DISABLED", + ] pscDnsName: str pscInterfaceConfigs: _list[PscInterfaceConfig] serviceAttachmentLink: str @typing.type_check_only -class PscInterfaceConfig(typing_extensions.TypedDict, total=False): +class PscInstanceInfo(typing.TypedDict, total=False): + effectivePscAutoConnectionPolicy: bool + effectivePscAutoDnsEnabled: bool + pscAutoDnsNames: _list[str] + serviceConnectionPolicy: str + +@typing.type_check_only +class PscInterfaceConfig(typing.TypedDict, total=False): networkAttachmentResource: str @typing.type_check_only -class QuantityBasedExpiry(typing_extensions.TypedDict, total=False): +class QuantityBasedExpiry(typing.TypedDict, total=False): retentionCount: int totalRetentionCount: int @typing.type_check_only -class QuantityBasedRetention(typing_extensions.TypedDict, total=False): +class QuantityBasedRetention(typing.TypedDict, total=False): count: int @typing.type_check_only -class QueryInsightsInstanceConfig(typing_extensions.TypedDict, total=False): +class QueryInsightsInstanceConfig(typing.TypedDict, total=False): queryPlansPerMinute: int queryStringLength: int recordApplicationTags: bool recordClientAddress: bool @typing.type_check_only -class ReadPoolConfig(typing_extensions.TypedDict, total=False): +class ReadPoolConfig(typing.TypedDict, total=False): autoScalingConfig: AutoScalingConfig nodeCount: int @typing.type_check_only -class ReadPoolInstancesUpgradeStageStatus(typing_extensions.TypedDict, total=False): +class ReadPoolInstancesUpgradeStageStatus(typing.TypedDict, total=False): upgradeStats: Stats @typing.type_check_only -class RestartInstanceRequest(typing_extensions.TypedDict, total=False): +class RestartInstanceRequest(typing.TypedDict, total=False): nodeIds: _list[str] requestId: str validateOnly: bool @typing.type_check_only -class RestoreClusterRequest(typing_extensions.TypedDict, total=False): +class RestoreClusterRequest(typing.TypedDict, total=False): backupSource: BackupSource backupdrBackupSource: BackupDrBackupSource backupdrPitrSource: BackupDrPitrSource @@ -698,13 +714,13 @@ class RestoreClusterRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class RestoreFromCloudSQLRequest(typing_extensions.TypedDict, total=False): +class RestoreFromCloudSQLRequest(typing.TypedDict, total=False): cloudsqlBackupRunSource: CloudSQLBackupRunSource cluster: Cluster clusterId: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): cronExpression: str description: str disabled: bool @@ -714,23 +730,23 @@ class Schedule(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class SecondaryConfig(typing_extensions.TypedDict, total=False): +class SecondaryConfig(typing.TypedDict, total=False): primaryClusterName: str @typing.type_check_only -class SqlExportOptions(typing_extensions.TypedDict, total=False): +class SqlExportOptions(typing.TypedDict, total=False): cleanTargetObjects: bool ifExistTargetObjects: bool schemaOnly: bool tables: _list[str] @typing.type_check_only -class SqlImportOptions(typing_extensions.TypedDict, total=False): ... +class SqlImportOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class SslConfig(typing_extensions.TypedDict, total=False): - caSource: typing_extensions.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] - sslMode: typing_extensions.Literal[ +class SslConfig(typing.TypedDict, total=False): + caSource: typing.Literal["CA_SOURCE_UNSPECIFIED", "CA_SOURCE_MANAGED"] + sslMode: typing.Literal[ "SSL_MODE_UNSPECIFIED", "SSL_MODE_ALLOW", "SSL_MODE_REQUIRE", @@ -740,9 +756,9 @@ class SslConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StageInfo(typing_extensions.TypedDict, total=False): +class StageInfo(typing.TypedDict, total=False): logsUrl: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "ALLOYDB_PRECHECK", "PG_UPGRADE_CHECK", @@ -752,7 +768,7 @@ class StageInfo(typing_extensions.TypedDict, total=False): "ROLLBACK", "CLEANUP", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -764,9 +780,9 @@ class StageInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StageStatus(typing_extensions.TypedDict, total=False): +class StageStatus(typing.TypedDict, total=False): readPoolInstancesUpgrade: ReadPoolInstancesUpgradeStageStatus - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "ALLOYDB_PRECHECK", "PG_UPGRADE_CHECK", @@ -776,7 +792,7 @@ class StageStatus(typing_extensions.TypedDict, total=False): "ROLLBACK", "CLEANUP", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -788,24 +804,24 @@ class StageStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Stats(typing_extensions.TypedDict, total=False): +class Stats(typing.TypedDict, total=False): failed: int notStarted: int ongoing: int success: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automaticFailoverRoutingConfigured: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", @@ -818,7 +834,7 @@ class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automatedBackupEnabled: bool backupRetentionSettings: StorageDatabasecenterPartnerapiV1mainRetentionSettings @@ -826,13 +842,13 @@ class StorageDatabasecenterPartnerapiV1mainBackupConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun @@ -842,30 +858,26 @@ class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata( resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainBackupRun( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainBackupRun(typing.TypedDict, total=False): endTime: str error: StorageDatabasecenterPartnerapiV1mainOperationError startTime: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] + status: typing.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainCompliance( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainCompliance(typing.TypedDict, total=False): standard: str version: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullResourceName: str lastRefreshTime: str resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId signalBoolValue: bool - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -881,7 +893,7 @@ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): internalResourceMetadata: _list[ StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata @@ -889,7 +901,7 @@ class StorageDatabasecenterPartnerapiV1mainCustomMetadataData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupdrMetadata: StorageDatabasecenterPartnerapiV1mainBackupDRMetadata configBasedSignalData: StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData @@ -897,7 +909,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData ) feedTimestamp: str - feedType: typing_extensions.Literal[ + feedType: typing.Literal[ "FEEDTYPE_UNSPECIFIED", "RESOURCE_METADATA", "OBSERVABILITY_DATA", @@ -922,7 +934,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] compliance: _list[StorageDatabasecenterPartnerapiV1mainCompliance] @@ -931,7 +943,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( externalUri: str location: str name: str - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -942,7 +954,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( ] resourceContainer: str resourceName: str - signalClass: typing_extensions.Literal[ + signalClass: typing.Literal[ "CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -951,10 +963,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "ERROR", ] signalId: str - signalSeverity: typing_extensions.Literal[ + signalSeverity: typing.Literal[ "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -1062,14 +1074,17 @@ 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"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -1084,7 +1099,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] availabilityConfiguration: ( @@ -1094,7 +1109,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun backupdrConfiguration: StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration creationTime: str - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -1104,14 +1119,14 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "STOPPED", ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS", "EDITION_STANDARD", ] entitlements: _list[StorageDatabasecenterPartnerapiV1mainEntitlement] - expectedState: typing_extensions.Literal[ + expectedState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -1122,7 +1137,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( ] gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "SUB_RESOURCE_TYPE_UNSPECIFIED", "PRIMARY", @@ -1145,11 +1160,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo modes: _list[ - typing_extensions.Literal[ + typing.Literal[ "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", "MODE_DATASTORE", + "MODE_CLUSTER_ENABLED", + "MODE_CLUSTER_DISABLED", ] ] primaryResourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1158,7 +1175,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( resourceContainer: str resourceFlags: _list[StorageDatabasecenterPartnerapiV1mainResourceFlags] resourceName: str - suspensionReason: typing_extensions.Literal[ + suspensionReason: typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "WIPEOUT_HIDE_EVENT", "WIPEOUT_PURGE_EVENT", @@ -1174,18 +1191,18 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalMetadata: dict[str, typing.Any] lastRefreshTime: str - recommendationState: typing_extensions.Literal[ + recommendationState: typing.Literal[ "UNSPECIFIED", "ACTIVE", "CLAIMED", "SUCCEEDED", "FAILED", "DISMISSED" ] recommender: str recommenderId: str recommenderSubtype: str resourceName: str - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -1293,11 +1310,14 @@ 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 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun fullResourceName: str @@ -1306,10 +1326,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( resourceId: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId signalBoolValue: bool signalMetadataList: _list[StorageDatabasecenterPartnerapiV1mainSignalMetadata] - signalState: typing_extensions.Literal[ + signalState: typing.Literal[ "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -1324,25 +1344,23 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( ] @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainEntitlement( - typing_extensions.TypedDict, total=False -): - entitlementState: typing_extensions.Literal[ +class StorageDatabasecenterPartnerapiV1mainEntitlement(typing.TypedDict, total=False): + entitlementState: typing.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" ] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcbdrManaged: bool @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupConfiguration: StorageDatabasecenterPartnerapiV1mainBackupConfiguration backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun @@ -1352,15 +1370,13 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( resourceName: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainIpAddress( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainIpAddress(typing.TypedDict, total=False): privateIp: str publicIp: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineSlots: str cpuCount: int @@ -1371,12 +1387,12 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregationType: typing_extensions.Literal[ + aggregationType: typing.Literal[ "AGGREGATION_TYPE_UNSPECIFIED", "PEAK", "P99", "P95", "CURRENT" ] - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "CPU_UTILIZATION", "MEMORY_UTILIZATION", @@ -1393,10 +1409,10 @@ class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainOperationError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "OPERATION_ERROR_TYPE_UNSPECIFIED", "KMS_KEY_ERROR", "DATABASE_ERROR", @@ -1408,15 +1424,13 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( message: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainResourceFlags( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainResourceFlags(typing.TypedDict, total=False): key: str value: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endDate: GoogleTypeDate startDate: GoogleTypeDate @@ -1424,7 +1438,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentVersionReleaseDate: GoogleTypeDate denyMaintenanceSchedules: _list[ @@ -1434,7 +1448,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( maintenanceSchedule: ( StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule ) - maintenanceState: typing_extensions.Literal[ + maintenanceState: typing.Literal[ "MAINTENANCE_STATE_UNSPECIFIED", "CREATING", "READY", @@ -1449,9 +1463,9 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - day: typing_extensions.Literal[ + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1461,18 +1475,16 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( "SATURDAY", "SUNDAY", ] - phase: typing_extensions.Literal[ - "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" - ] + phase: typing.Literal["PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5"] time: GoogleTypeTimeOfDay @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainRetentionSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): durationBasedRetention: str quantityBasedRetention: int - retentionUnit: typing_extensions.Literal[ + retentionUnit: typing.Literal[ "RETENTION_UNIT_UNSPECIFIED", "COUNT", "TIME", @@ -1484,33 +1496,29 @@ class StorageDatabasecenterPartnerapiV1mainRetentionSettings( @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainSignalMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backupRun: StorageDatabasecenterPartnerapiV1mainBackupRun signalBoolValue: bool @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainTags( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainTags(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class StorageDatabasecenterPartnerapiV1mainUserLabels( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterPartnerapiV1mainUserLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class StorageDatabasecenterProtoCommonProduct(typing.TypedDict, total=False): + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "ENGINE_MYSQL", "MYSQL", @@ -1524,7 +1532,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", @@ -1533,7 +1541,7 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total "ENGINE_ADB_SERVERLESS_ORACLE", ] minorVersion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", "CLOUD_SQL", @@ -1553,20 +1561,19 @@ class StorageDatabasecenterProtoCommonProduct(typing_extensions.TypedDict, total version: str @typing.type_check_only -class StorageDatabasecenterProtoCommonTypedValue( - typing_extensions.TypedDict, total=False -): +class StorageDatabasecenterProtoCommonTypedValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float int64Value: str stringValue: str @typing.type_check_only -class StringRestrictions(typing_extensions.TypedDict, total=False): +class StringRestrictions(typing.TypedDict, total=False): allowedValues: _list[str] + caseAgnostic: bool @typing.type_check_only -class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): +class SupportedDatabaseFlag(typing.TypedDict, total=False): acceptsMultipleValues: bool flagName: str integerRestrictions: IntegerRestrictions @@ -1574,10 +1581,10 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): recommendedIntegerValue: str recommendedStringValue: str requiresDbRestart: bool - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] + scope: typing.Literal["SCOPE_UNSPECIFIED", "DATABASE", "CONNECTION_POOL"] stringRestrictions: StringRestrictions supportedDbVersions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1587,36 +1594,36 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_18", ] ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "STRING", "INTEGER", "FLOAT", "NONE" ] @typing.type_check_only -class SwitchoverClusterRequest(typing_extensions.TypedDict, total=False): +class SwitchoverClusterRequest(typing.TypedDict, total=False): requestId: str validateOnly: bool @typing.type_check_only -class TimeBasedRetention(typing_extensions.TypedDict, total=False): +class TimeBasedRetention(typing.TypedDict, total=False): retentionPeriod: str @typing.type_check_only -class TrialMetadata(typing_extensions.TypedDict, total=False): +class TrialMetadata(typing.TypedDict, total=False): endTime: str graceEndTime: str startTime: str upgradeTime: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DEFAULT", "FORCE_APPLY"] +class UpdatePolicy(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DEFAULT", "FORCE_APPLY"] @typing.type_check_only -class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): +class UpgradeClusterRequest(typing.TypedDict, total=False): etag: str requestId: str validateOnly: bool - version: typing_extensions.Literal[ + version: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1627,10 +1634,10 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): +class UpgradeClusterResponse(typing.TypedDict, total=False): clusterUpgradeDetails: _list[ClusterUpgradeDetails] message: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -1642,9 +1649,9 @@ class UpgradeClusterResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): +class UpgradeClusterStatus(typing.TypedDict, total=False): cancellable: bool - sourceVersion: typing_extensions.Literal[ + sourceVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1654,7 +1661,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_18", ] stages: _list[StageStatus] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATUS_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -1664,7 +1671,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "CANCEL_IN_PROGRESS", "CANCELLED", ] - targetVersion: typing_extensions.Literal[ + targetVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", @@ -1675,24 +1682,29 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): databaseRoles: _list[str] keepExtraRoles: bool name: str password: str - userType: typing_extensions.Literal[ - "USER_TYPE_UNSPECIFIED", "ALLOYDB_BUILT_IN", "ALLOYDB_IAM_USER" + userType: typing.Literal[ + "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 -class UserPassword(typing_extensions.TypedDict, total=False): +class UserPassword(typing.TypedDict, total=False): password: str user: str @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): +class WeeklySchedule(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", diff --git a/googleapiclient-stubs/_apis/analytics/v3/resources.pyi b/googleapiclient-stubs/_apis/analytics/v3/resources.pyi index 4844a3ea0..e4856f615 100644 --- a/googleapiclient-stubs/_apis/analytics/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/analytics/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -28,10 +27,8 @@ class AnalyticsResource(googleapiclient.discovery.Resource): filters: str | None = ..., include_empty_rows: bool | None = ..., max_results: int | None = ..., - output: typing_extensions.Literal["dataTable", "json"] | None = ..., - samplingLevel: typing_extensions.Literal[ - "DEFAULT", "FASTER", "HIGHER_PRECISION" - ] + output: typing.Literal["dataTable", "json"] | None = ..., + samplingLevel: typing.Literal["DEFAULT", "FASTER", "HIGHER_PRECISION"] | None = ..., segment: str | None = ..., sort: str | None = ..., @@ -51,9 +48,7 @@ class AnalyticsResource(googleapiclient.discovery.Resource): dimensions: str | None = ..., filters: str | None = ..., max_results: int | None = ..., - samplingLevel: typing_extensions.Literal[ - "DEFAULT", "FASTER", "HIGHER_PRECISION" - ] + samplingLevel: typing.Literal["DEFAULT", "FASTER", "HIGHER_PRECISION"] | None = ..., sort: str | None = ..., start_index: int | None = ..., diff --git a/googleapiclient-stubs/_apis/analytics/v3/schemas.pyi b/googleapiclient-stubs/_apis/analytics/v3/schemas.pyi index 15f08ecbf..0d774035c 100644 --- a/googleapiclient-stubs/_apis/analytics/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/analytics/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): childLink: dict[str, typing.Any] created: str id: str @@ -17,14 +15,14 @@ class Account(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class AccountRef(typing_extensions.TypedDict, total=False): +class AccountRef(typing.TypedDict, total=False): href: str id: str kind: str name: str @typing.type_check_only -class AccountSummaries(typing_extensions.TypedDict, total=False): +class AccountSummaries(typing.TypedDict, total=False): items: _list[AccountSummary] itemsPerPage: int kind: str @@ -35,7 +33,7 @@ class AccountSummaries(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class AccountSummary(typing_extensions.TypedDict, total=False): +class AccountSummary(typing.TypedDict, total=False): id: str kind: str name: str @@ -43,7 +41,7 @@ class AccountSummary(typing_extensions.TypedDict, total=False): webProperties: _list[WebPropertySummary] @typing.type_check_only -class AccountTicket(typing_extensions.TypedDict, total=False): +class AccountTicket(typing.TypedDict, total=False): account: Account id: str kind: str @@ -52,7 +50,7 @@ class AccountTicket(typing_extensions.TypedDict, total=False): webproperty: Webproperty @typing.type_check_only -class AccountTreeRequest(typing_extensions.TypedDict, total=False): +class AccountTreeRequest(typing.TypedDict, total=False): accountName: str kind: str profileName: str @@ -61,14 +59,14 @@ class AccountTreeRequest(typing_extensions.TypedDict, total=False): websiteUrl: str @typing.type_check_only -class AccountTreeResponse(typing_extensions.TypedDict, total=False): +class AccountTreeResponse(typing.TypedDict, total=False): account: Account kind: str profile: Profile webproperty: Webproperty @typing.type_check_only -class Accounts(typing_extensions.TypedDict, total=False): +class Accounts(typing.TypedDict, total=False): items: _list[Account] itemsPerPage: int kind: str @@ -79,25 +77,23 @@ class Accounts(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class AdWordsAccount(typing_extensions.TypedDict, total=False): +class AdWordsAccount(typing.TypedDict, total=False): autoTaggingEnabled: bool customerId: str kind: str @typing.type_check_only -class AnalyticsDataimportDeleteUploadDataRequest( - typing_extensions.TypedDict, total=False -): +class AnalyticsDataimportDeleteUploadDataRequest(typing.TypedDict, total=False): customDataImportUids: _list[str] @typing.type_check_only -class Column(typing_extensions.TypedDict, total=False): +class Column(typing.TypedDict, total=False): attributes: dict[str, typing.Any] id: str kind: str @typing.type_check_only -class Columns(typing_extensions.TypedDict, total=False): +class Columns(typing.TypedDict, total=False): attributeNames: _list[str] etag: str items: _list[Column] @@ -105,7 +101,7 @@ class Columns(typing_extensions.TypedDict, total=False): totalResults: int @typing.type_check_only -class CustomDataSource(typing_extensions.TypedDict, total=False): +class CustomDataSource(typing.TypedDict, total=False): accountId: str childLink: dict[str, typing.Any] created: str @@ -124,7 +120,7 @@ class CustomDataSource(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class CustomDataSources(typing_extensions.TypedDict, total=False): +class CustomDataSources(typing.TypedDict, total=False): items: _list[CustomDataSource] itemsPerPage: int kind: str @@ -135,7 +131,7 @@ class CustomDataSources(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class CustomDimension(typing_extensions.TypedDict, total=False): +class CustomDimension(typing.TypedDict, total=False): accountId: str active: bool created: str @@ -150,7 +146,7 @@ class CustomDimension(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class CustomDimensions(typing_extensions.TypedDict, total=False): +class CustomDimensions(typing.TypedDict, total=False): items: _list[CustomDimension] itemsPerPage: int kind: str @@ -161,7 +157,7 @@ class CustomDimensions(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class CustomMetric(typing_extensions.TypedDict, total=False): +class CustomMetric(typing.TypedDict, total=False): accountId: str active: bool created: str @@ -179,7 +175,7 @@ class CustomMetric(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class CustomMetrics(typing_extensions.TypedDict, total=False): +class CustomMetrics(typing.TypedDict, total=False): items: _list[CustomMetric] itemsPerPage: int kind: str @@ -190,7 +186,7 @@ class CustomMetrics(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class EntityAdWordsLink(typing_extensions.TypedDict, total=False): +class EntityAdWordsLink(typing.TypedDict, total=False): adWordsAccounts: _list[AdWordsAccount] entity: dict[str, typing.Any] id: str @@ -200,7 +196,7 @@ class EntityAdWordsLink(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class EntityAdWordsLinks(typing_extensions.TypedDict, total=False): +class EntityAdWordsLinks(typing.TypedDict, total=False): items: _list[EntityAdWordsLink] itemsPerPage: int kind: str @@ -210,7 +206,7 @@ class EntityAdWordsLinks(typing_extensions.TypedDict, total=False): totalResults: int @typing.type_check_only -class EntityUserLink(typing_extensions.TypedDict, total=False): +class EntityUserLink(typing.TypedDict, total=False): entity: dict[str, typing.Any] id: str kind: str @@ -219,7 +215,7 @@ class EntityUserLink(typing_extensions.TypedDict, total=False): userRef: UserRef @typing.type_check_only -class EntityUserLinks(typing_extensions.TypedDict, total=False): +class EntityUserLinks(typing.TypedDict, total=False): items: _list[EntityUserLink] itemsPerPage: int kind: str @@ -229,7 +225,7 @@ class EntityUserLinks(typing_extensions.TypedDict, total=False): totalResults: int @typing.type_check_only -class Experiment(typing_extensions.TypedDict, total=False): +class Experiment(typing.TypedDict, total=False): accountId: str created: str description: str @@ -260,7 +256,7 @@ class Experiment(typing_extensions.TypedDict, total=False): winnerFound: bool @typing.type_check_only -class Experiments(typing_extensions.TypedDict, total=False): +class Experiments(typing.TypedDict, total=False): items: _list[Experiment] itemsPerPage: int kind: str @@ -271,7 +267,7 @@ class Experiments(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): accountId: str advancedDetails: dict[str, typing.Any] created: str @@ -289,7 +285,7 @@ class Filter(typing_extensions.TypedDict, total=False): uppercaseDetails: dict[str, typing.Any] @typing.type_check_only -class FilterExpression(typing_extensions.TypedDict, total=False): +class FilterExpression(typing.TypedDict, total=False): caseSensitive: bool expressionValue: str field: str @@ -298,7 +294,7 @@ class FilterExpression(typing_extensions.TypedDict, total=False): matchType: str @typing.type_check_only -class FilterRef(typing_extensions.TypedDict, total=False): +class FilterRef(typing.TypedDict, total=False): accountId: str href: str id: str @@ -306,7 +302,7 @@ class FilterRef(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Filters(typing_extensions.TypedDict, total=False): +class Filters(typing.TypedDict, total=False): items: _list[Filter] itemsPerPage: int kind: str @@ -317,7 +313,7 @@ class Filters(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class GaData(typing_extensions.TypedDict, total=False): +class GaData(typing.TypedDict, total=False): columnHeaders: _list[dict[str, typing.Any]] containsSampledData: bool dataLastRefreshed: str @@ -337,7 +333,7 @@ class GaData(typing_extensions.TypedDict, total=False): totalsForAllResults: dict[str, typing.Any] @typing.type_check_only -class Goal(typing_extensions.TypedDict, total=False): +class Goal(typing.TypedDict, total=False): accountId: str active: bool created: str @@ -358,7 +354,7 @@ class Goal(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class Goals(typing_extensions.TypedDict, total=False): +class Goals(typing.TypedDict, total=False): items: _list[Goal] itemsPerPage: int kind: str @@ -369,20 +365,20 @@ class Goals(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class HashClientIdRequest(typing_extensions.TypedDict, total=False): +class HashClientIdRequest(typing.TypedDict, total=False): clientId: str kind: str webPropertyId: str @typing.type_check_only -class HashClientIdResponse(typing_extensions.TypedDict, total=False): +class HashClientIdResponse(typing.TypedDict, total=False): clientId: str hashedClientId: str kind: str webPropertyId: str @typing.type_check_only -class IncludeConditions(typing_extensions.TypedDict, total=False): +class IncludeConditions(typing.TypedDict, total=False): daysToLookBack: int isSmartList: bool kind: str @@ -390,7 +386,7 @@ class IncludeConditions(typing_extensions.TypedDict, total=False): segment: str @typing.type_check_only -class LinkedForeignAccount(typing_extensions.TypedDict, total=False): +class LinkedForeignAccount(typing.TypedDict, total=False): accountId: str eligibleForSearch: bool id: str @@ -403,7 +399,7 @@ class LinkedForeignAccount(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class McfData(typing_extensions.TypedDict, total=False): +class McfData(typing.TypedDict, total=False): columnHeaders: _list[dict[str, typing.Any]] containsSampledData: bool id: str @@ -421,7 +417,7 @@ class McfData(typing_extensions.TypedDict, total=False): totalsForAllResults: dict[str, typing.Any] @typing.type_check_only -class Profile(typing_extensions.TypedDict, total=False): +class Profile(typing.TypedDict, total=False): accountId: str botFilteringEnabled: bool childLink: dict[str, typing.Any] @@ -450,7 +446,7 @@ class Profile(typing_extensions.TypedDict, total=False): websiteUrl: str @typing.type_check_only -class ProfileFilterLink(typing_extensions.TypedDict, total=False): +class ProfileFilterLink(typing.TypedDict, total=False): filterRef: FilterRef id: str kind: str @@ -459,7 +455,7 @@ class ProfileFilterLink(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class ProfileFilterLinks(typing_extensions.TypedDict, total=False): +class ProfileFilterLinks(typing.TypedDict, total=False): items: _list[ProfileFilterLink] itemsPerPage: int kind: str @@ -470,7 +466,7 @@ class ProfileFilterLinks(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class ProfileRef(typing_extensions.TypedDict, total=False): +class ProfileRef(typing.TypedDict, total=False): accountId: str href: str id: str @@ -480,7 +476,7 @@ class ProfileRef(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class ProfileSummary(typing_extensions.TypedDict, total=False): +class ProfileSummary(typing.TypedDict, total=False): id: str kind: str name: str @@ -488,7 +484,7 @@ class ProfileSummary(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Profiles(typing_extensions.TypedDict, total=False): +class Profiles(typing.TypedDict, total=False): items: _list[Profile] itemsPerPage: int kind: str @@ -499,7 +495,7 @@ class Profiles(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class RealtimeData(typing_extensions.TypedDict, total=False): +class RealtimeData(typing.TypedDict, total=False): columnHeaders: _list[dict[str, typing.Any]] id: str kind: str @@ -511,7 +507,7 @@ class RealtimeData(typing_extensions.TypedDict, total=False): totalsForAllResults: dict[str, typing.Any] @typing.type_check_only -class RemarketingAudience(typing_extensions.TypedDict, total=False): +class RemarketingAudience(typing.TypedDict, total=False): accountId: str audienceDefinition: dict[str, typing.Any] audienceType: str @@ -528,7 +524,7 @@ class RemarketingAudience(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class RemarketingAudiences(typing_extensions.TypedDict, total=False): +class RemarketingAudiences(typing.TypedDict, total=False): items: _list[RemarketingAudience] itemsPerPage: int kind: str @@ -539,7 +535,7 @@ class RemarketingAudiences(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Segment(typing_extensions.TypedDict, total=False): +class Segment(typing.TypedDict, total=False): created: str definition: str id: str @@ -551,7 +547,7 @@ class Segment(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class Segments(typing_extensions.TypedDict, total=False): +class Segments(typing.TypedDict, total=False): items: _list[Segment] itemsPerPage: int kind: str @@ -561,7 +557,7 @@ class Segments(typing_extensions.TypedDict, total=False): totalResults: int username: str -AlternativeUnsampledReport = typing_extensions.TypedDict( +AlternativeUnsampledReport = typing.TypedDict( "AlternativeUnsampledReport", { "accountId": str, @@ -591,7 +587,7 @@ AlternativeUnsampledReport = typing_extensions.TypedDict( class UnsampledReport(AlternativeUnsampledReport): ... @typing.type_check_only -class UnsampledReports(typing_extensions.TypedDict, total=False): +class UnsampledReports(typing.TypedDict, total=False): items: _list[UnsampledReport] itemsPerPage: int kind: str @@ -602,7 +598,7 @@ class UnsampledReports(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Upload(typing_extensions.TypedDict, total=False): +class Upload(typing.TypedDict, total=False): accountId: str customDataSourceId: str errors: _list[str] @@ -612,7 +608,7 @@ class Upload(typing_extensions.TypedDict, total=False): uploadTime: str @typing.type_check_only -class Uploads(typing_extensions.TypedDict, total=False): +class Uploads(typing.TypedDict, total=False): items: _list[Upload] itemsPerPage: int kind: str @@ -622,7 +618,7 @@ class Uploads(typing_extensions.TypedDict, total=False): totalResults: int @typing.type_check_only -class UserDeletionRequest(typing_extensions.TypedDict, total=False): +class UserDeletionRequest(typing.TypedDict, total=False): deletionRequestTime: str firebaseProjectId: str id: dict[str, typing.Any] @@ -631,13 +627,13 @@ class UserDeletionRequest(typing_extensions.TypedDict, total=False): webPropertyId: str @typing.type_check_only -class UserRef(typing_extensions.TypedDict, total=False): +class UserRef(typing.TypedDict, total=False): email: str id: str kind: str @typing.type_check_only -class WebPropertyRef(typing_extensions.TypedDict, total=False): +class WebPropertyRef(typing.TypedDict, total=False): accountId: str href: str id: str @@ -646,7 +642,7 @@ class WebPropertyRef(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class WebPropertySummary(typing_extensions.TypedDict, total=False): +class WebPropertySummary(typing.TypedDict, total=False): id: str internalWebPropertyId: str kind: str @@ -657,7 +653,7 @@ class WebPropertySummary(typing_extensions.TypedDict, total=False): websiteUrl: str @typing.type_check_only -class Webproperties(typing_extensions.TypedDict, total=False): +class Webproperties(typing.TypedDict, total=False): items: _list[Webproperty] itemsPerPage: int kind: str @@ -668,7 +664,7 @@ class Webproperties(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Webproperty(typing_extensions.TypedDict, total=False): +class Webproperty(typing.TypedDict, total=False): accountId: str childLink: dict[str, typing.Any] created: str diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi index c1a92094c..dd6f0f527 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi index 490f408ae..aa89f404b 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1alpha/schemas.pyi @@ -1,51 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessBetweenFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessBetweenFilter(typing.TypedDict, total=False): fromValue: GoogleAnalyticsAdminV1alphaNumericValue toValue: GoogleAnalyticsAdminV1alphaNumericValue @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessBinding( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessBinding(typing.TypedDict, total=False): name: str roles: _list[str] user: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessDateRange( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessDateRange(typing.TypedDict, total=False): endDate: str startDate: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessDimension(typing.TypedDict, total=False): dimensionName: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessDimensionHeader( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessDimensionHeader(typing.TypedDict, total=False): dimensionName: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessDimensionValue( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessDimensionValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessFilter(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaAccessFilter(typing.TypedDict, total=False): betweenFilter: GoogleAnalyticsAdminV1alphaAccessBetweenFilter fieldName: str inListFilter: GoogleAnalyticsAdminV1alphaAccessInListFilter @@ -53,9 +39,7 @@ class GoogleAnalyticsAdminV1alphaAccessFilter(typing_extensions.TypedDict, total stringFilter: GoogleAnalyticsAdminV1alphaAccessStringFilter @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessFilterExpression( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessFilterExpression(typing.TypedDict, total=False): accessFilter: GoogleAnalyticsAdminV1alphaAccessFilter andGroup: GoogleAnalyticsAdminV1alphaAccessFilterExpressionList notExpression: GoogleAnalyticsAdminV1alphaAccessFilterExpression @@ -63,38 +47,30 @@ class GoogleAnalyticsAdminV1alphaAccessFilterExpression( @typing.type_check_only class GoogleAnalyticsAdminV1alphaAccessFilterExpressionList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[GoogleAnalyticsAdminV1alphaAccessFilterExpression] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessInListFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessInListFilter(typing.TypedDict, total=False): caseSensitive: bool values: _list[str] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessMetric(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaAccessMetric(typing.TypedDict, total=False): metricName: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessMetricHeader( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessMetricHeader(typing.TypedDict, total=False): metricName: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessMetricValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessNumericFilter( - typing_extensions.TypedDict, total=False -): - operation: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaAccessNumericFilter(typing.TypedDict, total=False): + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "EQUAL", "LESS_THAN", @@ -105,19 +81,17 @@ class GoogleAnalyticsAdminV1alphaAccessNumericFilter( value: GoogleAnalyticsAdminV1alphaNumericValue @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessOrderBy( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessOrderBy(typing.TypedDict, total=False): desc: bool dimension: GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy metric: GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy @typing.type_check_only class GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensionName: str - orderType: typing_extensions.Literal[ + orderType: typing.Literal[ "ORDER_TYPE_UNSPECIFIED", "ALPHANUMERIC", "CASE_INSENSITIVE_ALPHANUMERIC", @@ -126,12 +100,12 @@ class GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy( @typing.type_check_only class GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricName: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessQuota(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaAccessQuota(typing.TypedDict, total=False): concurrentRequests: GoogleAnalyticsAdminV1alphaAccessQuotaStatus serverErrorsPerProjectPerHour: GoogleAnalyticsAdminV1alphaAccessQuotaStatus tokensPerDay: GoogleAnalyticsAdminV1alphaAccessQuotaStatus @@ -139,23 +113,19 @@ class GoogleAnalyticsAdminV1alphaAccessQuota(typing_extensions.TypedDict, total= tokensPerProjectPerHour: GoogleAnalyticsAdminV1alphaAccessQuotaStatus @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessQuotaStatus( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessQuotaStatus(typing.TypedDict, total=False): consumed: int remaining: int @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessRow(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaAccessRow(typing.TypedDict, total=False): dimensionValues: _list[GoogleAnalyticsAdminV1alphaAccessDimensionValue] metricValues: _list[GoogleAnalyticsAdminV1alphaAccessMetricValue] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccessStringFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccessStringFilter(typing.TypedDict, total=False): caseSensitive: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "EXACT", "BEGINS_WITH", @@ -167,7 +137,7 @@ class GoogleAnalyticsAdminV1alphaAccessStringFilter( value: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccount(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaAccount(typing.TypedDict, total=False): createTime: str deleted: bool displayName: str @@ -177,9 +147,7 @@ class GoogleAnalyticsAdminV1alphaAccount(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAccountSummary( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAccountSummary(typing.TypedDict, total=False): account: str displayName: str name: str @@ -187,28 +155,28 @@ class GoogleAnalyticsAdminV1alphaAccountSummary( @typing.type_check_only class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acknowledgement: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAdSenseLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaAdSenseLink(typing.TypedDict, total=False): adClientCode: str name: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayVideo360AdvertiserLink: ( GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink @@ -216,42 +184,40 @@ class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRes @typing.type_check_only class GoogleAnalyticsAdminV1alphaArchiveAudienceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAttributionSettings( - typing_extensions.TypedDict, total=False -): - acquisitionConversionEventLookbackWindow: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaAttributionSettings(typing.TypedDict, total=False): + acquisitionConversionEventLookbackWindow: typing.Literal[ "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED", "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS", "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS", ] - adsWebConversionDataExportScope: typing_extensions.Literal[ + adsWebConversionDataExportScope: typing.Literal[ "ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED", "NOT_SELECTED_YET", "PAID_AND_ORGANIC_CHANNELS", "GOOGLE_PAID_CHANNELS", ] name: str - otherConversionEventLookbackWindow: typing_extensions.Literal[ + otherConversionEventLookbackWindow: typing.Literal[ "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED", "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS", "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS", "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS", ] - reportingAttributionModel: typing_extensions.Literal[ + reportingAttributionModel: typing.Literal[ "REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED", "PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN", "PAID_AND_ORGANIC_CHANNELS_LAST_CLICK", @@ -259,13 +225,13 @@ class GoogleAnalyticsAdminV1alphaAttributionSettings( ] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAudience(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaAudience(typing.TypedDict, total=False): adsPersonalizationEnabled: bool createTime: str description: str displayName: str eventTrigger: GoogleAnalyticsAdminV1alphaAudienceEventTrigger - exclusionDurationMode: typing_extensions.Literal[ + exclusionDurationMode: typing.Literal[ "AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED", "EXCLUDE_TEMPORARILY", "EXCLUDE_PERMANENTLY", @@ -276,7 +242,7 @@ class GoogleAnalyticsAdminV1alphaAudience(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): atAnyPointInTime: bool betweenFilter: ( @@ -292,40 +258,40 @@ class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter( @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fromValue: GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue toValue: GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseSensitive: bool values: _list[str] @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "EQUAL", "LESS_THAN", "GREATER_THAN" ] value: GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doubleValue: float int64Value: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseSensitive: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "EXACT", "BEGINS_WITH", @@ -336,34 +302,26 @@ class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter( value: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAudienceEventFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAudienceEventFilter(typing.TypedDict, total=False): eventName: str eventParameterFilterExpression: GoogleAnalyticsAdminV1alphaAudienceFilterExpression @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAudienceEventTrigger( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAudienceEventTrigger(typing.TypedDict, total=False): eventName: str - logCondition: typing_extensions.Literal[ + logCondition: typing.Literal[ "LOG_CONDITION_UNSPECIFIED", "AUDIENCE_JOINED", "AUDIENCE_MEMBERSHIP_RENEWED" ] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAudienceFilterClause( - typing_extensions.TypedDict, total=False -): - clauseType: typing_extensions.Literal[ - "AUDIENCE_CLAUSE_TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE" - ] +class GoogleAnalyticsAdminV1alphaAudienceFilterClause(typing.TypedDict, total=False): + clauseType: typing.Literal["AUDIENCE_CLAUSE_TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] sequenceFilter: GoogleAnalyticsAdminV1alphaAudienceSequenceFilter simpleFilter: GoogleAnalyticsAdminV1alphaAudienceSimpleFilter @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceFilterExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): andGroup: GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList dimensionOrMetricFilter: GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter @@ -373,15 +331,13 @@ class GoogleAnalyticsAdminV1alphaAudienceFilterExpression( @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filterExpressions: _list[GoogleAnalyticsAdminV1alphaAudienceFilterExpression] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAudienceSequenceFilter( - typing_extensions.TypedDict, total=False -): - scope: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaAudienceSequenceFilter(typing.TypedDict, total=False): + scope: typing.Literal[ "AUDIENCE_FILTER_SCOPE_UNSPECIFIED", "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT", "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION", @@ -394,12 +350,12 @@ class GoogleAnalyticsAdminV1alphaAudienceSequenceFilter( @typing.type_check_only class GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraintDuration: str filterExpression: GoogleAnalyticsAdminV1alphaAudienceFilterExpression immediatelyFollows: bool - scope: typing_extensions.Literal[ + scope: typing.Literal[ "AUDIENCE_FILTER_SCOPE_UNSPECIFIED", "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT", "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION", @@ -407,11 +363,9 @@ class GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep( ] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaAudienceSimpleFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaAudienceSimpleFilter(typing.TypedDict, total=False): filterExpression: GoogleAnalyticsAdminV1alphaAudienceFilterExpression - scope: typing_extensions.Literal[ + scope: typing.Literal[ "AUDIENCE_FILTER_SCOPE_UNSPECIFIED", "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT", "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION", @@ -420,42 +374,42 @@ class GoogleAnalyticsAdminV1alphaAudienceSimpleFilter( @typing.type_check_only class GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest] @typing.type_check_only class GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessBindings: _list[GoogleAnalyticsAdminV1alphaAccessBinding] @typing.type_check_only class GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest] @typing.type_check_only class GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessBindings: _list[GoogleAnalyticsAdminV1alphaAccessBinding] @typing.type_check_only class GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest] @typing.type_check_only class GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessBindings: _list[GoogleAnalyticsAdminV1alphaAccessBinding] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaBigQueryLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaBigQueryLink(typing.TypedDict, total=False): createTime: str dailyExportEnabled: bool datasetLocation: str @@ -468,15 +422,13 @@ class GoogleAnalyticsAdminV1alphaBigQueryLink(typing_extensions.TypedDict, total streamingExportEnabled: bool @typing.type_check_only -class GoogleAnalyticsAdminV1alphaCalculatedMetric( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaCalculatedMetric(typing.TypedDict, total=False): calculatedMetricId: str description: str displayName: str formula: str invalidMetricReference: bool - metricUnit: typing_extensions.Literal[ + metricUnit: typing.Literal[ "METRIC_UNIT_UNSPECIFIED", "STANDARD", "CURRENCY", @@ -491,23 +443,19 @@ class GoogleAnalyticsAdminV1alphaCalculatedMetric( ] name: str restrictedMetricType: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESTRICTED_METRIC_TYPE_UNSPECIFIED", "COST_DATA", "REVENUE_DATA" ] ] @typing.type_check_only class GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAnalyticsAdminV1alphaChangeHistoryChange( - typing_extensions.TypedDict, total=False -): - action: typing_extensions.Literal[ - "ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED" - ] +class GoogleAnalyticsAdminV1alphaChangeHistoryChange(typing.TypedDict, total=False): + action: typing.Literal["ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED"] resource: str resourceAfterChange: ( GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource @@ -518,7 +466,7 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChange( @typing.type_check_only class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): account: GoogleAnalyticsAdminV1alphaAccount adsenseLink: GoogleAnalyticsAdminV1alphaAdSenseLink @@ -558,12 +506,8 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( userProvidedDataSettings: GoogleAnalyticsAdminV1alphaUserProvidedDataSettings @typing.type_check_only -class GoogleAnalyticsAdminV1alphaChangeHistoryEvent( - typing_extensions.TypedDict, total=False -): - actorType: typing_extensions.Literal[ - "ACTOR_TYPE_UNSPECIFIED", "USER", "SYSTEM", "SUPPORT" - ] +class GoogleAnalyticsAdminV1alphaChangeHistoryEvent(typing.TypedDict, total=False): + actorType: typing.Literal["ACTOR_TYPE_UNSPECIFIED", "USER", "SYSTEM", "SUPPORT"] changeTime: str changes: _list[GoogleAnalyticsAdminV1alphaChangeHistoryChange] changesFiltered: bool @@ -571,7 +515,7 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryEvent( userActorEmail: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaChannelGroup(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaChannelGroup(typing.TypedDict, total=False): description: str displayName: str groupingRule: _list[GoogleAnalyticsAdminV1alphaGroupingRule] @@ -580,16 +524,14 @@ class GoogleAnalyticsAdminV1alphaChannelGroup(typing_extensions.TypedDict, total systemDefined: bool @typing.type_check_only -class GoogleAnalyticsAdminV1alphaChannelGroupFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaChannelGroupFilter(typing.TypedDict, total=False): fieldName: str inListFilter: GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter stringFilter: GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter @typing.type_check_only class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): andGroup: GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList filter: GoogleAnalyticsAdminV1alphaChannelGroupFilter @@ -598,21 +540,21 @@ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression( @typing.type_check_only class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filterExpressions: _list[GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression] @typing.type_check_only class GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "EXACT", "BEGINS_WITH", @@ -624,10 +566,8 @@ class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter( value: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaConversionEvent( - typing_extensions.TypedDict, total=False -): - countingMethod: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaConversionEvent(typing.TypedDict, total=False): + countingMethod: typing.Literal[ "CONVERSION_COUNTING_METHOD_UNSPECIFIED", "ONCE_PER_EVENT", "ONCE_PER_SESSION" ] createTime: str @@ -641,16 +581,14 @@ class GoogleAnalyticsAdminV1alphaConversionEvent( @typing.type_check_only class GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currencyCode: str value: float @typing.type_check_only -class GoogleAnalyticsAdminV1alphaConversionValues( - typing_extensions.TypedDict, total=False -): - coarseValue: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaConversionValues(typing.TypedDict, total=False): + coarseValue: typing.Literal[ "COARSE_VALUE_UNSPECIFIED", "COARSE_VALUE_LOW", "COARSE_VALUE_MEDIUM", @@ -663,21 +601,21 @@ class GoogleAnalyticsAdminV1alphaConversionValues( @typing.type_check_only class GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessBinding: GoogleAnalyticsAdminV1alphaAccessBinding parent: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rollupProperty: GoogleAnalyticsAdminV1alphaProperty sourceProperties: _list[str] @typing.type_check_only class GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rollupProperty: GoogleAnalyticsAdminV1alphaProperty rollupPropertySourceLinks: _list[ @@ -685,23 +623,19 @@ class GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse( ] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaCustomDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaCustomDimension(typing.TypedDict, total=False): description: str disallowAdsPersonalization: bool displayName: str name: str parameterName: str - scope: typing_extensions.Literal[ - "DIMENSION_SCOPE_UNSPECIFIED", "EVENT", "USER", "ITEM" - ] + scope: typing.Literal["DIMENSION_SCOPE_UNSPECIFIED", "EVENT", "USER", "ITEM"] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaCustomMetric(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaCustomMetric(typing.TypedDict, total=False): description: str displayName: str - measurementUnit: typing_extensions.Literal[ + measurementUnit: typing.Literal[ "MEASUREMENT_UNIT_UNSPECIFIED", "STANDARD", "CURRENCY", @@ -717,26 +651,22 @@ class GoogleAnalyticsAdminV1alphaCustomMetric(typing_extensions.TypedDict, total name: str parameterName: str restrictedMetricType: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESTRICTED_METRIC_TYPE_UNSPECIFIED", "COST_DATA", "REVENUE_DATA" ] ] - scope: typing_extensions.Literal["METRIC_SCOPE_UNSPECIFIED", "EVENT"] + scope: typing.Literal["METRIC_SCOPE_UNSPECIFIED", "EVENT"] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaDataRedactionSettings( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaDataRedactionSettings(typing.TypedDict, total=False): emailRedactionEnabled: bool name: str queryParameterKeys: _list[str] queryParameterRedactionEnabled: bool @typing.type_check_only -class GoogleAnalyticsAdminV1alphaDataRetentionSettings( - typing_extensions.TypedDict, total=False -): - eventDataRetention: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaDataRetentionSettings(typing.TypedDict, total=False): + eventDataRetention: typing.Literal[ "RETENTION_DURATION_UNSPECIFIED", "TWO_MONTHS", "FOURTEEN_MONTHS", @@ -746,7 +676,7 @@ class GoogleAnalyticsAdminV1alphaDataRetentionSettings( ] name: str resetUserDataOnNewActivity: bool - userDataRetention: typing_extensions.Literal[ + userDataRetention: typing.Literal[ "RETENTION_DURATION_UNSPECIFIED", "TWO_MONTHS", "FOURTEEN_MONTHS", @@ -756,9 +686,7 @@ class GoogleAnalyticsAdminV1alphaDataRetentionSettings( ] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaDataSharingSettings( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaDataSharingSettings(typing.TypedDict, total=False): name: str sharingWithGoogleAnySalesEnabled: bool sharingWithGoogleAssignedSalesEnabled: bool @@ -767,13 +695,13 @@ class GoogleAnalyticsAdminV1alphaDataSharingSettings( sharingWithOthersEnabled: bool @typing.type_check_only -class GoogleAnalyticsAdminV1alphaDataStream(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaDataStream(typing.TypedDict, total=False): androidAppStreamData: GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData createTime: str displayName: str iosAppStreamData: GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_STREAM_TYPE_UNSPECIFIED", "WEB_DATA_STREAM", "ANDROID_APP_DATA_STREAM", @@ -784,35 +712,33 @@ class GoogleAnalyticsAdminV1alphaDataStream(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firebaseAppId: str packageName: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bundleId: str firebaseAppId: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData(typing.TypedDict, total=False): defaultUri: str firebaseAppId: str measurementId: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adsPersonalizationEnabled: bool advertiserDisplayName: str @@ -823,7 +749,7 @@ class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink( @typing.type_check_only class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adsPersonalizationEnabled: bool advertiserDisplayName: str @@ -836,7 +762,7 @@ class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( @typing.type_check_only class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileDownloadsEnabled: bool formInteractionsEnabled: bool @@ -851,9 +777,7 @@ class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings( videoEngagementEnabled: bool @typing.type_check_only -class GoogleAnalyticsAdminV1alphaEventCreateRule( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaEventCreateRule(typing.TypedDict, total=False): destinationEvent: str eventConditions: _list[GoogleAnalyticsAdminV1alphaMatchingCondition] name: str @@ -861,9 +785,7 @@ class GoogleAnalyticsAdminV1alphaEventCreateRule( sourceCopyParameters: bool @typing.type_check_only -class GoogleAnalyticsAdminV1alphaEventEditRule( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaEventEditRule(typing.TypedDict, total=False): displayName: str eventConditions: _list[GoogleAnalyticsAdminV1alphaMatchingCondition] name: str @@ -871,7 +793,7 @@ class GoogleAnalyticsAdminV1alphaEventEditRule( processingOrder: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaEventMapping(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaEventMapping(typing.TypedDict, total=False): eventName: str maxEventCount: str maxEventValue: float @@ -879,9 +801,7 @@ class GoogleAnalyticsAdminV1alphaEventMapping(typing_extensions.TypedDict, total minEventValue: float @typing.type_check_only -class GoogleAnalyticsAdminV1alphaExpandedDataSet( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaExpandedDataSet(typing.TypedDict, total=False): dataCollectionStartTime: str description: str dimensionFilterExpression: ( @@ -893,16 +813,14 @@ class GoogleAnalyticsAdminV1alphaExpandedDataSet( name: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaExpandedDataSetFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaExpandedDataSetFilter(typing.TypedDict, total=False): fieldName: str inListFilter: GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter stringFilter: GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter @typing.type_check_only class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): andGroup: GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList filter: GoogleAnalyticsAdminV1alphaExpandedDataSetFilter @@ -910,42 +828,38 @@ class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression( @typing.type_check_only class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filterExpressions: _list[GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression] @typing.type_check_only class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseSensitive: bool values: _list[str] @typing.type_check_only class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseSensitive: bool - matchType: typing_extensions.Literal["MATCH_TYPE_UNSPECIFIED", "EXACT", "CONTAINS"] + matchType: typing.Literal["MATCH_TYPE_UNSPECIFIED", "EXACT", "CONTAINS"] value: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaFirebaseLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaFirebaseLink(typing.TypedDict, total=False): createTime: str name: str project: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaGlobalSiteTag( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaGlobalSiteTag(typing.TypedDict, total=False): name: str snippet: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaGoogleAdsLink( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaGoogleAdsLink(typing.TypedDict, total=False): adsPersonalizationEnabled: bool canManageClients: bool createTime: str @@ -955,29 +869,27 @@ class GoogleAnalyticsAdminV1alphaGoogleAdsLink( updateTime: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings( - typing_extensions.TypedDict, total=False -): - consent: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings(typing.TypedDict, total=False): + consent: typing.Literal[ "GOOGLE_SIGNALS_CONSENT_UNSPECIFIED", "GOOGLE_SIGNALS_CONSENT_CONSENTED", "GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED", ] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "GOOGLE_SIGNALS_STATE_UNSPECIFIED", "GOOGLE_SIGNALS_ENABLED", "GOOGLE_SIGNALS_DISABLED", ] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaGroupingRule(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaGroupingRule(typing.TypedDict, total=False): displayName: str expression: GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression @typing.type_check_only -class GoogleAnalyticsAdminV1alphaKeyEvent(typing_extensions.TypedDict, total=False): - countingMethod: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaKeyEvent(typing.TypedDict, total=False): + countingMethod: typing.Literal[ "COUNTING_METHOD_UNSPECIFIED", "ONCE_PER_EVENT", "ONCE_PER_SESSION" ] createTime: str @@ -988,22 +900,20 @@ class GoogleAnalyticsAdminV1alphaKeyEvent(typing_extensions.TypedDict, total=Fal name: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaKeyEventDefaultValue( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaKeyEventDefaultValue(typing.TypedDict, total=False): currencyCode: str numericValue: float @typing.type_check_only class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - linkProposalInitiatingProduct: typing_extensions.Literal[ + linkProposalInitiatingProduct: typing.Literal[ "LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED", "GOOGLE_ANALYTICS", "LINKED_PRODUCT", ] - linkProposalState: typing_extensions.Literal[ + linkProposalState: typing.Literal[ "LINK_PROPOSAL_STATE_UNSPECIFIED", "AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS", "AWAITING_REVIEW_FROM_LINKED_PRODUCT", @@ -1016,91 +926,85 @@ class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails( @typing.type_check_only class GoogleAnalyticsAdminV1alphaListAccessBindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessBindings: _list[GoogleAnalyticsAdminV1alphaAccessBinding] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListAccountSummariesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountSummaries: _list[GoogleAnalyticsAdminV1alphaAccountSummary] nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaListAccountsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaListAccountsResponse(typing.TypedDict, total=False): accounts: _list[GoogleAnalyticsAdminV1alphaAccount] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adsenseLinks: _list[GoogleAnalyticsAdminV1alphaAdSenseLink] nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaListAudiencesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaListAudiencesResponse(typing.TypedDict, total=False): audiences: _list[GoogleAnalyticsAdminV1alphaAudience] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryLinks: _list[GoogleAnalyticsAdminV1alphaBigQueryLink] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): calculatedMetrics: _list[GoogleAnalyticsAdminV1alphaCalculatedMetric] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelGroups: _list[GoogleAnalyticsAdminV1alphaChannelGroup] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListConversionEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionEvents: _list[GoogleAnalyticsAdminV1alphaConversionEvent] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customDimensions: _list[GoogleAnalyticsAdminV1alphaCustomDimension] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customMetrics: _list[GoogleAnalyticsAdminV1alphaCustomMetric] nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaListDataStreamsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaListDataStreamsResponse(typing.TypedDict, total=False): dataStreams: _list[GoogleAnalyticsAdminV1alphaDataStream] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayVideo360AdvertiserLinkProposals: _list[ GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal @@ -1109,7 +1013,7 @@ class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsRespo @typing.type_check_only class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayVideo360AdvertiserLinks: _list[ GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink @@ -1118,49 +1022,47 @@ class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse( @typing.type_check_only class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventCreateRules: _list[GoogleAnalyticsAdminV1alphaEventCreateRule] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListEventEditRulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventEditRules: _list[GoogleAnalyticsAdminV1alphaEventEditRule] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedDataSets: _list[GoogleAnalyticsAdminV1alphaExpandedDataSet] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firebaseLinks: _list[GoogleAnalyticsAdminV1alphaFirebaseLink] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleAdsLinks: _list[GoogleAnalyticsAdminV1alphaGoogleAdsLink] nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaListKeyEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaListKeyEventsResponse(typing.TypedDict, total=False): keyEvents: _list[GoogleAnalyticsAdminV1alphaKeyEvent] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): measurementProtocolSecrets: _list[ GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret @@ -1168,22 +1070,20 @@ class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse( nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaListPropertiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaListPropertiesResponse(typing.TypedDict, total=False): nextPageToken: str properties: _list[GoogleAnalyticsAdminV1alphaProperty] @typing.type_check_only class GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str reportingDataAnnotations: _list[GoogleAnalyticsAdminV1alphaReportingDataAnnotation] @typing.type_check_only class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rollupPropertySourceLinks: _list[ @@ -1192,7 +1092,7 @@ class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse( @typing.type_check_only class GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str skadnetworkConversionValueSchemas: _list[ @@ -1201,30 +1101,28 @@ class GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse( @typing.type_check_only class GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str searchAds360Links: _list[GoogleAnalyticsAdminV1alphaSearchAds360Link] @typing.type_check_only class GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str subpropertyEventFilters: _list[GoogleAnalyticsAdminV1alphaSubpropertyEventFilter] @typing.type_check_only class GoogleAnalyticsAdminV1alphaListSubpropertySyncConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str subpropertySyncConfigs: _list[GoogleAnalyticsAdminV1alphaSubpropertySyncConfig] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaMatchingCondition( - typing_extensions.TypedDict, total=False -): - comparisonType: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1alphaMatchingCondition(typing.TypedDict, total=False): + comparisonType: typing.Literal[ "COMPARISON_TYPE_UNSPECIFIED", "EQUALS", "EQUALS_CASE_INSENSITIVE", @@ -1247,40 +1145,36 @@ class GoogleAnalyticsAdminV1alphaMatchingCondition( @typing.type_check_only class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str secretValue: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaNumericValue(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaNumericValue(typing.TypedDict, total=False): doubleValue: float int64Value: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaParameterMutation( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaParameterMutation(typing.TypedDict, total=False): parameter: str parameterValue: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaPostbackWindow( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaPostbackWindow(typing.TypedDict, total=False): conversionValues: _list[GoogleAnalyticsAdminV1alphaConversionValues] postbackWindowSettingsEnabled: bool @typing.type_check_only -class GoogleAnalyticsAdminV1alphaProperty(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1alphaProperty(typing.TypedDict, total=False): account: str createTime: str currencyCode: str deleteTime: str displayName: str expireTime: str - industryCategory: typing_extensions.Literal[ + industryCategory: typing.Literal[ "INDUSTRY_CATEGORY_UNSPECIFIED", "AUTOMOTIVE", "BUSINESS_AND_INDUSTRIAL_MARKETS", @@ -1311,27 +1205,25 @@ class GoogleAnalyticsAdminV1alphaProperty(typing_extensions.TypedDict, total=Fal ] name: str parent: str - propertyType: typing_extensions.Literal[ + propertyType: typing.Literal[ "PROPERTY_TYPE_UNSPECIFIED", "PROPERTY_TYPE_ORDINARY", "PROPERTY_TYPE_SUBPROPERTY", "PROPERTY_TYPE_ROLLUP", ] - serviceLevel: typing_extensions.Literal[ + serviceLevel: typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "GOOGLE_ANALYTICS_STANDARD", "GOOGLE_ANALYTICS_360" ] timeZone: str updateTime: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaPropertySummary( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaPropertySummary(typing.TypedDict, total=False): canEdit: bool displayName: str parent: str property: str - propertyType: typing_extensions.Literal[ + propertyType: typing.Literal[ "PROPERTY_TYPE_UNSPECIFIED", "PROPERTY_TYPE_ORDINARY", "PROPERTY_TYPE_SUBPROPERTY", @@ -1340,22 +1232,22 @@ class GoogleAnalyticsAdminV1alphaPropertySummary( @typing.type_check_only class GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): account: GoogleAnalyticsAdminV1alphaAccount redirectUri: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountTicketId: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - customDimensionAndMetricSynchronizationMode: typing_extensions.Literal[ + customDimensionAndMetricSynchronizationMode: typing.Literal[ "SYNCHRONIZATION_MODE_UNSPECIFIED", "NONE", "ALL" ] subproperty: GoogleAnalyticsAdminV1alphaProperty @@ -1363,24 +1255,22 @@ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest( @typing.type_check_only class GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): subproperty: GoogleAnalyticsAdminV1alphaProperty subpropertyEventFilter: GoogleAnalyticsAdminV1alphaSubpropertyEventFilter @typing.type_check_only class GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventEditRules: _list[str] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaReportingDataAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaReportingDataAnnotation(typing.TypedDict, total=False): annotationDate: GoogleTypeDate annotationDateRange: GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange - color: typing_extensions.Literal[ + color: typing.Literal[ "COLOR_UNSPECIFIED", "PURPLE", "BROWN", "BLUE", "GREEN", "RED", "CYAN", "ORANGE" ] description: str @@ -1390,31 +1280,29 @@ class GoogleAnalyticsAdminV1alphaReportingDataAnnotation( @typing.type_check_only class GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endDate: GoogleTypeDate startDate: GoogleTypeDate @typing.type_check_only class GoogleAnalyticsAdminV1alphaReportingIdentitySettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str - reportingIdentity: typing_extensions.Literal[ + reportingIdentity: typing.Literal[ "IDENTITY_BLENDING_STRATEGY_UNSPECIFIED", "BLENDED", "OBSERVED", "DEVICE_BASED" ] @typing.type_check_only class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str sourceProperty: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaRunAccessReportRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaRunAccessReportRequest(typing.TypedDict, total=False): dateRanges: _list[GoogleAnalyticsAdminV1alphaAccessDateRange] dimensionFilter: GoogleAnalyticsAdminV1alphaAccessFilterExpression dimensions: _list[GoogleAnalyticsAdminV1alphaAccessDimension] @@ -1429,9 +1317,7 @@ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest( timeZone: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaRunAccessReportResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaRunAccessReportResponse(typing.TypedDict, total=False): dimensionHeaders: _list[GoogleAnalyticsAdminV1alphaAccessDimensionHeader] metricHeaders: _list[GoogleAnalyticsAdminV1alphaAccessMetricHeader] quota: GoogleAnalyticsAdminV1alphaAccessQuota @@ -1440,7 +1326,7 @@ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse( @typing.type_check_only class GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applyConversionValues: bool name: str @@ -1449,9 +1335,7 @@ class GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema( postbackWindowTwo: GoogleAnalyticsAdminV1alphaPostbackWindow @typing.type_check_only -class GoogleAnalyticsAdminV1alphaSearchAds360Link( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaSearchAds360Link(typing.TypedDict, total=False): adsPersonalizationEnabled: bool advertiserDisplayName: str advertiserId: str @@ -1462,12 +1346,10 @@ class GoogleAnalyticsAdminV1alphaSearchAds360Link( @typing.type_check_only class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: _list[ - typing_extensions.Literal[ - "ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED" - ] + typing.Literal["ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED"] ] actorEmail: _list[str] earliestChangeTime: str @@ -1476,7 +1358,7 @@ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( pageToken: str property: str resourceType: _list[ - typing_extensions.Literal[ + typing.Literal[ "CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED", "ACCOUNT", "PROPERTY", @@ -1513,14 +1395,14 @@ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( @typing.type_check_only class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): changeHistoryEvents: _list[GoogleAnalyticsAdminV1alphaChangeHistoryEvent] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appInstanceId: str clientId: str @@ -1529,30 +1411,28 @@ class GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest( @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deletionRequestTime: str @typing.type_check_only -class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter(typing.TypedDict, total=False): applyToProperty: str filterClauses: _list[GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause] name: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - filterClauseType: typing_extensions.Literal[ + filterClauseType: typing.Literal[ "FILTER_CLAUSE_TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE" ] filterExpression: GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str nullFilter: bool @@ -1560,10 +1440,10 @@ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition( @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseSensitive: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "EXACT", "BEGINS_WITH", @@ -1576,7 +1456,7 @@ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter( @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filterCondition: GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition notExpression: GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression @@ -1584,41 +1464,39 @@ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression( @typing.type_check_only class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filterExpressions: _list[ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression ] @typing.type_check_only -class GoogleAnalyticsAdminV1alphaSubpropertySyncConfig( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1alphaSubpropertySyncConfig(typing.TypedDict, total=False): applyToProperty: str - customDimensionAndMetricSyncMode: typing_extensions.Literal[ + customDimensionAndMetricSyncMode: typing.Literal[ "SYNCHRONIZATION_MODE_UNSPECIFIED", "NONE", "ALL" ] name: str @typing.type_check_only class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessBinding: GoogleAnalyticsAdminV1alphaAccessBinding @typing.type_check_only class GoogleAnalyticsAdminV1alphaUserProvidedDataSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automaticallyDetectedDataCollectionEnabled: bool name: str userProvidedDataCollectionEnabled: bool @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1beta/resources.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1beta/resources.pyi index f5a59a97d..e0f0e2ce1 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/analyticsadmin/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/analyticsadmin/v1beta/schemas.pyi index 22bfe59f4..4ff9997c5 100644 --- a/googleapiclient-stubs/_apis/analyticsadmin/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticsadmin/v1beta/schemas.pyi @@ -1,43 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessBetweenFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessBetweenFilter(typing.TypedDict, total=False): fromValue: GoogleAnalyticsAdminV1betaNumericValue toValue: GoogleAnalyticsAdminV1betaNumericValue @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessDateRange( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessDateRange(typing.TypedDict, total=False): endDate: str startDate: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessDimension(typing.TypedDict, total=False): dimensionName: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessDimensionHeader( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessDimensionHeader(typing.TypedDict, total=False): dimensionName: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessDimensionValue( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessDimensionValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessFilter(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaAccessFilter(typing.TypedDict, total=False): betweenFilter: GoogleAnalyticsAdminV1betaAccessBetweenFilter fieldName: str inListFilter: GoogleAnalyticsAdminV1betaAccessInListFilter @@ -45,9 +33,7 @@ class GoogleAnalyticsAdminV1betaAccessFilter(typing_extensions.TypedDict, total= stringFilter: GoogleAnalyticsAdminV1betaAccessStringFilter @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessFilterExpression( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessFilterExpression(typing.TypedDict, total=False): accessFilter: GoogleAnalyticsAdminV1betaAccessFilter andGroup: GoogleAnalyticsAdminV1betaAccessFilterExpressionList notExpression: GoogleAnalyticsAdminV1betaAccessFilterExpression @@ -55,38 +41,30 @@ class GoogleAnalyticsAdminV1betaAccessFilterExpression( @typing.type_check_only class GoogleAnalyticsAdminV1betaAccessFilterExpressionList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[GoogleAnalyticsAdminV1betaAccessFilterExpression] @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessInListFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessInListFilter(typing.TypedDict, total=False): caseSensitive: bool values: _list[str] @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessMetric(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaAccessMetric(typing.TypedDict, total=False): metricName: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessMetricHeader( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessMetricHeader(typing.TypedDict, total=False): metricName: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessMetricValue( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessMetricValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessNumericFilter( - typing_extensions.TypedDict, total=False -): - operation: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1betaAccessNumericFilter(typing.TypedDict, total=False): + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "EQUAL", "LESS_THAN", @@ -97,17 +75,17 @@ class GoogleAnalyticsAdminV1betaAccessNumericFilter( value: GoogleAnalyticsAdminV1betaNumericValue @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessOrderBy(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaAccessOrderBy(typing.TypedDict, total=False): desc: bool dimension: GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy metric: GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy @typing.type_check_only class GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensionName: str - orderType: typing_extensions.Literal[ + orderType: typing.Literal[ "ORDER_TYPE_UNSPECIFIED", "ALPHANUMERIC", "CASE_INSENSITIVE_ALPHANUMERIC", @@ -116,12 +94,12 @@ class GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy( @typing.type_check_only class GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricName: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessQuota(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaAccessQuota(typing.TypedDict, total=False): concurrentRequests: GoogleAnalyticsAdminV1betaAccessQuotaStatus serverErrorsPerProjectPerHour: GoogleAnalyticsAdminV1betaAccessQuotaStatus tokensPerDay: GoogleAnalyticsAdminV1betaAccessQuotaStatus @@ -129,23 +107,19 @@ class GoogleAnalyticsAdminV1betaAccessQuota(typing_extensions.TypedDict, total=F tokensPerProjectPerHour: GoogleAnalyticsAdminV1betaAccessQuotaStatus @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessQuotaStatus( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessQuotaStatus(typing.TypedDict, total=False): consumed: int remaining: int @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessRow(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaAccessRow(typing.TypedDict, total=False): dimensionValues: _list[GoogleAnalyticsAdminV1betaAccessDimensionValue] metricValues: _list[GoogleAnalyticsAdminV1betaAccessMetricValue] @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccessStringFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccessStringFilter(typing.TypedDict, total=False): caseSensitive: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "EXACT", "BEGINS_WITH", @@ -157,7 +131,7 @@ class GoogleAnalyticsAdminV1betaAccessStringFilter( value: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccount(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaAccount(typing.TypedDict, total=False): createTime: str deleted: bool displayName: str @@ -167,9 +141,7 @@ class GoogleAnalyticsAdminV1betaAccount(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaAccountSummary( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaAccountSummary(typing.TypedDict, total=False): account: str displayName: str name: str @@ -177,32 +149,28 @@ class GoogleAnalyticsAdminV1betaAccountSummary( @typing.type_check_only class GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acknowledgement: str @typing.type_check_only class GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAnalyticsAdminV1betaChangeHistoryChange( - typing_extensions.TypedDict, total=False -): - action: typing_extensions.Literal[ - "ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED" - ] +class GoogleAnalyticsAdminV1betaChangeHistoryChange(typing.TypedDict, total=False): + action: typing.Literal["ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED"] resource: str resourceAfterChange: ( GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource @@ -213,7 +181,7 @@ class GoogleAnalyticsAdminV1betaChangeHistoryChange( @typing.type_check_only class GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): account: GoogleAnalyticsAdminV1betaAccount conversionEvent: GoogleAnalyticsAdminV1betaConversionEvent @@ -225,12 +193,8 @@ class GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource( property: GoogleAnalyticsAdminV1betaProperty @typing.type_check_only -class GoogleAnalyticsAdminV1betaChangeHistoryEvent( - typing_extensions.TypedDict, total=False -): - actorType: typing_extensions.Literal[ - "ACTOR_TYPE_UNSPECIFIED", "USER", "SYSTEM", "SUPPORT" - ] +class GoogleAnalyticsAdminV1betaChangeHistoryEvent(typing.TypedDict, total=False): + actorType: typing.Literal["ACTOR_TYPE_UNSPECIFIED", "USER", "SYSTEM", "SUPPORT"] changeTime: str changes: _list[GoogleAnalyticsAdminV1betaChangeHistoryChange] changesFiltered: bool @@ -238,10 +202,8 @@ class GoogleAnalyticsAdminV1betaChangeHistoryEvent( userActorEmail: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaConversionEvent( - typing_extensions.TypedDict, total=False -): - countingMethod: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1betaConversionEvent(typing.TypedDict, total=False): + countingMethod: typing.Literal[ "CONVERSION_COUNTING_METHOD_UNSPECIFIED", "ONCE_PER_EVENT", "ONCE_PER_SESSION" ] createTime: str @@ -255,29 +217,25 @@ class GoogleAnalyticsAdminV1betaConversionEvent( @typing.type_check_only class GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currencyCode: str value: float @typing.type_check_only -class GoogleAnalyticsAdminV1betaCustomDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaCustomDimension(typing.TypedDict, total=False): description: str disallowAdsPersonalization: bool displayName: str name: str parameterName: str - scope: typing_extensions.Literal[ - "DIMENSION_SCOPE_UNSPECIFIED", "EVENT", "USER", "ITEM" - ] + scope: typing.Literal["DIMENSION_SCOPE_UNSPECIFIED", "EVENT", "USER", "ITEM"] @typing.type_check_only -class GoogleAnalyticsAdminV1betaCustomMetric(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaCustomMetric(typing.TypedDict, total=False): description: str displayName: str - measurementUnit: typing_extensions.Literal[ + measurementUnit: typing.Literal[ "MEASUREMENT_UNIT_UNSPECIFIED", "STANDARD", "CURRENCY", @@ -293,17 +251,15 @@ class GoogleAnalyticsAdminV1betaCustomMetric(typing_extensions.TypedDict, total= name: str parameterName: str restrictedMetricType: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESTRICTED_METRIC_TYPE_UNSPECIFIED", "COST_DATA", "REVENUE_DATA" ] ] - scope: typing_extensions.Literal["METRIC_SCOPE_UNSPECIFIED", "EVENT"] + scope: typing.Literal["METRIC_SCOPE_UNSPECIFIED", "EVENT"] @typing.type_check_only -class GoogleAnalyticsAdminV1betaDataRetentionSettings( - typing_extensions.TypedDict, total=False -): - eventDataRetention: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1betaDataRetentionSettings(typing.TypedDict, total=False): + eventDataRetention: typing.Literal[ "RETENTION_DURATION_UNSPECIFIED", "TWO_MONTHS", "FOURTEEN_MONTHS", @@ -313,7 +269,7 @@ class GoogleAnalyticsAdminV1betaDataRetentionSettings( ] name: str resetUserDataOnNewActivity: bool - userDataRetention: typing_extensions.Literal[ + userDataRetention: typing.Literal[ "RETENTION_DURATION_UNSPECIFIED", "TWO_MONTHS", "FOURTEEN_MONTHS", @@ -323,9 +279,7 @@ class GoogleAnalyticsAdminV1betaDataRetentionSettings( ] @typing.type_check_only -class GoogleAnalyticsAdminV1betaDataSharingSettings( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaDataSharingSettings(typing.TypedDict, total=False): name: str sharingWithGoogleAnySalesEnabled: bool sharingWithGoogleAssignedSalesEnabled: bool @@ -334,13 +288,13 @@ class GoogleAnalyticsAdminV1betaDataSharingSettings( sharingWithOthersEnabled: bool @typing.type_check_only -class GoogleAnalyticsAdminV1betaDataStream(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaDataStream(typing.TypedDict, total=False): androidAppStreamData: GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData createTime: str displayName: str iosAppStreamData: GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_STREAM_TYPE_UNSPECIFIED", "WEB_DATA_STREAM", "ANDROID_APP_DATA_STREAM", @@ -351,34 +305,32 @@ class GoogleAnalyticsAdminV1betaDataStream(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firebaseAppId: str packageName: str @typing.type_check_only class GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bundleId: str firebaseAppId: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaDataStreamWebStreamData( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaDataStreamWebStreamData(typing.TypedDict, total=False): defaultUri: str firebaseAppId: str measurementId: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaFirebaseLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaFirebaseLink(typing.TypedDict, total=False): createTime: str name: str project: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaGoogleAdsLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaGoogleAdsLink(typing.TypedDict, total=False): adsPersonalizationEnabled: bool canManageClients: bool createTime: str @@ -388,8 +340,8 @@ class GoogleAnalyticsAdminV1betaGoogleAdsLink(typing_extensions.TypedDict, total updateTime: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaKeyEvent(typing_extensions.TypedDict, total=False): - countingMethod: typing_extensions.Literal[ +class GoogleAnalyticsAdminV1betaKeyEvent(typing.TypedDict, total=False): + countingMethod: typing.Literal[ "COUNTING_METHOD_UNSPECIFIED", "ONCE_PER_EVENT", "ONCE_PER_SESSION" ] createTime: str @@ -400,78 +352,70 @@ class GoogleAnalyticsAdminV1betaKeyEvent(typing_extensions.TypedDict, total=Fals name: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaKeyEventDefaultValue( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaKeyEventDefaultValue(typing.TypedDict, total=False): currencyCode: str numericValue: float @typing.type_check_only class GoogleAnalyticsAdminV1betaListAccountSummariesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountSummaries: _list[GoogleAnalyticsAdminV1betaAccountSummary] nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaListAccountsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaListAccountsResponse(typing.TypedDict, total=False): accounts: _list[GoogleAnalyticsAdminV1betaAccount] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1betaListConversionEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionEvents: _list[GoogleAnalyticsAdminV1betaConversionEvent] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1betaListCustomDimensionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customDimensions: _list[GoogleAnalyticsAdminV1betaCustomDimension] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1betaListCustomMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customMetrics: _list[GoogleAnalyticsAdminV1betaCustomMetric] nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaListDataStreamsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaListDataStreamsResponse(typing.TypedDict, total=False): dataStreams: _list[GoogleAnalyticsAdminV1betaDataStream] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1betaListFirebaseLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firebaseLinks: _list[GoogleAnalyticsAdminV1betaFirebaseLink] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleAdsLinks: _list[GoogleAnalyticsAdminV1betaGoogleAdsLink] nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaListKeyEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaListKeyEventsResponse(typing.TypedDict, total=False): keyEvents: _list[GoogleAnalyticsAdminV1betaKeyEvent] nextPageToken: str @typing.type_check_only class GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): measurementProtocolSecrets: _list[ GoogleAnalyticsAdminV1betaMeasurementProtocolSecret @@ -479,34 +423,32 @@ class GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse( nextPageToken: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaListPropertiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaListPropertiesResponse(typing.TypedDict, total=False): nextPageToken: str properties: _list[GoogleAnalyticsAdminV1betaProperty] @typing.type_check_only class GoogleAnalyticsAdminV1betaMeasurementProtocolSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str secretValue: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaNumericValue(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaNumericValue(typing.TypedDict, total=False): doubleValue: float int64Value: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaProperty(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsAdminV1betaProperty(typing.TypedDict, total=False): account: str createTime: str currencyCode: str deleteTime: str displayName: str expireTime: str - industryCategory: typing_extensions.Literal[ + industryCategory: typing.Literal[ "INDUSTRY_CATEGORY_UNSPECIFIED", "AUTOMOTIVE", "BUSINESS_AND_INDUSTRIAL_MARKETS", @@ -537,27 +479,25 @@ class GoogleAnalyticsAdminV1betaProperty(typing_extensions.TypedDict, total=Fals ] name: str parent: str - propertyType: typing_extensions.Literal[ + propertyType: typing.Literal[ "PROPERTY_TYPE_UNSPECIFIED", "PROPERTY_TYPE_ORDINARY", "PROPERTY_TYPE_SUBPROPERTY", "PROPERTY_TYPE_ROLLUP", ] - serviceLevel: typing_extensions.Literal[ + serviceLevel: typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "GOOGLE_ANALYTICS_STANDARD", "GOOGLE_ANALYTICS_360" ] timeZone: str updateTime: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaPropertySummary( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaPropertySummary(typing.TypedDict, total=False): canEdit: bool displayName: str parent: str property: str - propertyType: typing_extensions.Literal[ + propertyType: typing.Literal[ "PROPERTY_TYPE_UNSPECIFIED", "PROPERTY_TYPE_ORDINARY", "PROPERTY_TYPE_SUBPROPERTY", @@ -566,21 +506,19 @@ class GoogleAnalyticsAdminV1betaPropertySummary( @typing.type_check_only class GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): account: GoogleAnalyticsAdminV1betaAccount redirectUri: str @typing.type_check_only class GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountTicketId: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaRunAccessReportRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaRunAccessReportRequest(typing.TypedDict, total=False): dateRanges: _list[GoogleAnalyticsAdminV1betaAccessDateRange] dimensionFilter: GoogleAnalyticsAdminV1betaAccessFilterExpression dimensions: _list[GoogleAnalyticsAdminV1betaAccessDimension] @@ -595,9 +533,7 @@ class GoogleAnalyticsAdminV1betaRunAccessReportRequest( timeZone: str @typing.type_check_only -class GoogleAnalyticsAdminV1betaRunAccessReportResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAnalyticsAdminV1betaRunAccessReportResponse(typing.TypedDict, total=False): dimensionHeaders: _list[GoogleAnalyticsAdminV1betaAccessDimensionHeader] metricHeaders: _list[GoogleAnalyticsAdminV1betaAccessMetricHeader] quota: GoogleAnalyticsAdminV1betaAccessQuota @@ -606,12 +542,10 @@ class GoogleAnalyticsAdminV1betaRunAccessReportResponse( @typing.type_check_only class GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: _list[ - typing_extensions.Literal[ - "ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED" - ] + typing.Literal["ACTION_TYPE_UNSPECIFIED", "CREATED", "UPDATED", "DELETED"] ] actorEmail: _list[str] earliestChangeTime: str @@ -620,7 +554,7 @@ class GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest( pageToken: str property: str resourceType: _list[ - typing_extensions.Literal[ + typing.Literal[ "CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED", "ACCOUNT", "PROPERTY", @@ -641,10 +575,10 @@ class GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest( @typing.type_check_only class GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): changeHistoryEvents: _list[GoogleAnalyticsAdminV1betaChangeHistoryEvent] nextPageToken: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/analyticsdata/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/analyticsdata/v1alpha/resources.pyi index 372663781..2517374a6 100644 --- a/googleapiclient-stubs/_apis/analyticsdata/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticsdata/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/analyticsdata/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/analyticsdata/v1alpha/schemas.pyi index 93db2652c..33435410c 100644 --- a/googleapiclient-stubs/_apis/analyticsdata/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticsdata/v1alpha/schemas.pyi @@ -1,88 +1,84 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BatchRunPivotReportsRequest(typing_extensions.TypedDict, total=False): +class BatchRunPivotReportsRequest(typing.TypedDict, total=False): entity: Entity requests: _list[RunPivotReportRequest] @typing.type_check_only -class BatchRunPivotReportsResponse(typing_extensions.TypedDict, total=False): +class BatchRunPivotReportsResponse(typing.TypedDict, total=False): pivotReports: _list[RunPivotReportResponse] @typing.type_check_only -class BatchRunReportsRequest(typing_extensions.TypedDict, total=False): +class BatchRunReportsRequest(typing.TypedDict, total=False): entity: Entity requests: _list[RunReportRequest] @typing.type_check_only -class BatchRunReportsResponse(typing_extensions.TypedDict, total=False): +class BatchRunReportsResponse(typing.TypedDict, total=False): reports: _list[RunReportResponse] @typing.type_check_only -class BetweenFilter(typing_extensions.TypedDict, total=False): +class BetweenFilter(typing.TypedDict, total=False): fromValue: NumericValue toValue: NumericValue @typing.type_check_only -class CaseExpression(typing_extensions.TypedDict, total=False): +class CaseExpression(typing.TypedDict, total=False): dimensionName: str @typing.type_check_only -class Cohort(typing_extensions.TypedDict, total=False): +class Cohort(typing.TypedDict, total=False): dateRange: DateRange dimension: str name: str @typing.type_check_only -class CohortReportSettings(typing_extensions.TypedDict, total=False): +class CohortReportSettings(typing.TypedDict, total=False): accumulate: bool @typing.type_check_only -class CohortSpec(typing_extensions.TypedDict, total=False): +class CohortSpec(typing.TypedDict, total=False): cohortReportSettings: CohortReportSettings cohorts: _list[Cohort] cohortsRange: CohortsRange @typing.type_check_only -class CohortsRange(typing_extensions.TypedDict, total=False): +class CohortsRange(typing.TypedDict, total=False): endOffset: int - granularity: typing_extensions.Literal[ - "GRANULARITY_UNSPECIFIED", "DAILY", "WEEKLY", "MONTHLY" - ] + granularity: typing.Literal["GRANULARITY_UNSPECIFIED", "DAILY", "WEEKLY", "MONTHLY"] startOffset: int @typing.type_check_only -class ConcatenateExpression(typing_extensions.TypedDict, total=False): +class ConcatenateExpression(typing.TypedDict, total=False): delimiter: str dimensionNames: _list[str] @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: str name: str startDate: str @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): dimensionExpression: DimensionExpression name: str @typing.type_check_only -class DimensionExpression(typing_extensions.TypedDict, total=False): +class DimensionExpression(typing.TypedDict, total=False): concatenate: ConcatenateExpression lowerCase: CaseExpression upperCase: CaseExpression @typing.type_check_only -class DimensionHeader(typing_extensions.TypedDict, total=False): +class DimensionHeader(typing.TypedDict, total=False): name: str @typing.type_check_only -class DimensionMetadata(typing_extensions.TypedDict, total=False): +class DimensionMetadata(typing.TypedDict, total=False): apiName: str customDefinition: bool deprecatedApiNames: _list[str] @@ -90,9 +86,9 @@ class DimensionMetadata(typing_extensions.TypedDict, total=False): uiName: str @typing.type_check_only -class DimensionOrderBy(typing_extensions.TypedDict, total=False): +class DimensionOrderBy(typing.TypedDict, total=False): dimensionName: str - orderType: typing_extensions.Literal[ + orderType: typing.Literal[ "ORDER_TYPE_UNSPECIFIED", "ALPHANUMERIC", "CASE_INSENSITIVE_ALPHANUMERIC", @@ -100,15 +96,15 @@ class DimensionOrderBy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DimensionValue(typing_extensions.TypedDict, total=False): +class DimensionValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): propertyId: str @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): betweenFilter: BetweenFilter fieldName: str inListFilter: InListFilter @@ -116,37 +112,37 @@ class Filter(typing_extensions.TypedDict, total=False): stringFilter: StringFilter @typing.type_check_only -class FilterExpression(typing_extensions.TypedDict, total=False): +class FilterExpression(typing.TypedDict, total=False): andGroup: FilterExpressionList filter: Filter notExpression: FilterExpression orGroup: FilterExpressionList @typing.type_check_only -class FilterExpressionList(typing_extensions.TypedDict, total=False): +class FilterExpressionList(typing.TypedDict, total=False): expressions: _list[FilterExpression] @typing.type_check_only -class InListFilter(typing_extensions.TypedDict, total=False): +class InListFilter(typing.TypedDict, total=False): caseSensitive: bool values: _list[str] @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): dimensions: _list[DimensionMetadata] metrics: _list[MetricMetadata] name: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): expression: str invisible: bool name: str @typing.type_check_only -class MetricHeader(typing_extensions.TypedDict, total=False): +class MetricHeader(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "TYPE_INTEGER", "TYPE_FLOAT", @@ -163,13 +159,13 @@ class MetricHeader(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricMetadata(typing_extensions.TypedDict, total=False): +class MetricMetadata(typing.TypedDict, total=False): apiName: str customDefinition: bool deprecatedApiNames: _list[str] description: str expression: str - type: typing_extensions.Literal[ + type: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "TYPE_INTEGER", "TYPE_FLOAT", @@ -187,16 +183,16 @@ class MetricMetadata(typing_extensions.TypedDict, total=False): uiName: str @typing.type_check_only -class MetricOrderBy(typing_extensions.TypedDict, total=False): +class MetricOrderBy(typing.TypedDict, total=False): metricName: str @typing.type_check_only -class MetricValue(typing_extensions.TypedDict, total=False): +class MetricValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class NumericFilter(typing_extensions.TypedDict, total=False): - operation: typing_extensions.Literal[ +class NumericFilter(typing.TypedDict, total=False): + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "EQUAL", "LESS_THAN", @@ -207,23 +203,23 @@ class NumericFilter(typing_extensions.TypedDict, total=False): value: NumericValue @typing.type_check_only -class NumericValue(typing_extensions.TypedDict, total=False): +class NumericValue(typing.TypedDict, total=False): doubleValue: float int64Value: str @typing.type_check_only -class OrderBy(typing_extensions.TypedDict, total=False): +class OrderBy(typing.TypedDict, total=False): desc: bool dimension: DimensionOrderBy metric: MetricOrderBy pivot: PivotOrderBy @typing.type_check_only -class Pivot(typing_extensions.TypedDict, total=False): +class Pivot(typing.TypedDict, total=False): fieldNames: _list[str] limit: str metricAggregations: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_AGGREGATION_UNSPECIFIED", "TOTAL", "MINIMUM", "MAXIMUM", "COUNT" ] ] @@ -231,47 +227,47 @@ class Pivot(typing_extensions.TypedDict, total=False): orderBys: _list[OrderBy] @typing.type_check_only -class PivotDimensionHeader(typing_extensions.TypedDict, total=False): +class PivotDimensionHeader(typing.TypedDict, total=False): dimensionValues: _list[DimensionValue] @typing.type_check_only -class PivotHeader(typing_extensions.TypedDict, total=False): +class PivotHeader(typing.TypedDict, total=False): pivotDimensionHeaders: _list[PivotDimensionHeader] rowCount: int @typing.type_check_only -class PivotOrderBy(typing_extensions.TypedDict, total=False): +class PivotOrderBy(typing.TypedDict, total=False): metricName: str pivotSelections: _list[PivotSelection] @typing.type_check_only -class PivotSelection(typing_extensions.TypedDict, total=False): +class PivotSelection(typing.TypedDict, total=False): dimensionName: str dimensionValue: str @typing.type_check_only -class PropertyQuota(typing_extensions.TypedDict, total=False): +class PropertyQuota(typing.TypedDict, total=False): concurrentRequests: QuotaStatus serverErrorsPerProjectPerHour: QuotaStatus tokensPerDay: QuotaStatus tokensPerHour: QuotaStatus @typing.type_check_only -class QuotaStatus(typing_extensions.TypedDict, total=False): +class QuotaStatus(typing.TypedDict, total=False): consumed: int remaining: int @typing.type_check_only -class ResponseMetaData(typing_extensions.TypedDict, total=False): +class ResponseMetaData(typing.TypedDict, total=False): dataLossFromOtherRow: bool @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): dimensionValues: _list[DimensionValue] metricValues: _list[MetricValue] @typing.type_check_only -class RunPivotReportRequest(typing_extensions.TypedDict, total=False): +class RunPivotReportRequest(typing.TypedDict, total=False): cohortSpec: CohortSpec currencyCode: str dateRanges: _list[DateRange] @@ -285,7 +281,7 @@ class RunPivotReportRequest(typing_extensions.TypedDict, total=False): returnPropertyQuota: bool @typing.type_check_only -class RunPivotReportResponse(typing_extensions.TypedDict, total=False): +class RunPivotReportResponse(typing.TypedDict, total=False): aggregates: _list[Row] dimensionHeaders: _list[DimensionHeader] metadata: ResponseMetaData @@ -295,12 +291,12 @@ class RunPivotReportResponse(typing_extensions.TypedDict, total=False): rows: _list[Row] @typing.type_check_only -class RunRealtimeReportRequest(typing_extensions.TypedDict, total=False): +class RunRealtimeReportRequest(typing.TypedDict, total=False): dimensionFilter: FilterExpression dimensions: _list[Dimension] limit: str metricAggregations: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_AGGREGATION_UNSPECIFIED", "TOTAL", "MINIMUM", "MAXIMUM", "COUNT" ] ] @@ -310,7 +306,7 @@ class RunRealtimeReportRequest(typing_extensions.TypedDict, total=False): returnPropertyQuota: bool @typing.type_check_only -class RunRealtimeReportResponse(typing_extensions.TypedDict, total=False): +class RunRealtimeReportResponse(typing.TypedDict, total=False): dimensionHeaders: _list[DimensionHeader] maximums: _list[Row] metricHeaders: _list[MetricHeader] @@ -321,7 +317,7 @@ class RunRealtimeReportResponse(typing_extensions.TypedDict, total=False): totals: _list[Row] @typing.type_check_only -class RunReportRequest(typing_extensions.TypedDict, total=False): +class RunReportRequest(typing.TypedDict, total=False): cohortSpec: CohortSpec currencyCode: str dateRanges: _list[DateRange] @@ -331,7 +327,7 @@ class RunReportRequest(typing_extensions.TypedDict, total=False): keepEmptyRows: bool limit: str metricAggregations: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_AGGREGATION_UNSPECIFIED", "TOTAL", "MINIMUM", "MAXIMUM", "COUNT" ] ] @@ -342,7 +338,7 @@ class RunReportRequest(typing_extensions.TypedDict, total=False): returnPropertyQuota: bool @typing.type_check_only -class RunReportResponse(typing_extensions.TypedDict, total=False): +class RunReportResponse(typing.TypedDict, total=False): dimensionHeaders: _list[DimensionHeader] maximums: _list[Row] metadata: ResponseMetaData @@ -354,9 +350,9 @@ class RunReportResponse(typing_extensions.TypedDict, total=False): totals: _list[Row] @typing.type_check_only -class StringFilter(typing_extensions.TypedDict, total=False): +class StringFilter(typing.TypedDict, total=False): caseSensitive: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "EXACT", "BEGINS_WITH", diff --git a/googleapiclient-stubs/_apis/analyticsdata/v1beta/resources.pyi b/googleapiclient-stubs/_apis/analyticsdata/v1beta/resources.pyi index 0fd93a67f..cedf6170c 100644 --- a/googleapiclient-stubs/_apis/analyticsdata/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticsdata/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/analyticsdata/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/analyticsdata/v1beta/schemas.pyi index 3862ac7fa..e2fb947cb 100644 --- a/googleapiclient-stubs/_apis/analyticsdata/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticsdata/v1beta/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveMetricRestriction(typing_extensions.TypedDict, total=False): +class ActiveMetricRestriction(typing.TypedDict, total=False): metricName: str restrictedMetricTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESTRICTED_METRIC_TYPE_UNSPECIFIED", "COST_DATA", "REVENUE_DATA" ] ] @typing.type_check_only -class AudienceExport(typing_extensions.TypedDict, total=False): +class AudienceExport(typing.TypedDict, total=False): audience: str audienceDisplayName: str beginCreatingTime: str @@ -24,43 +22,41 @@ class AudienceExport(typing_extensions.TypedDict, total=False): name: str percentageCompleted: float rowCount: int - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED"] @typing.type_check_only -class AudienceListMetadata(typing_extensions.TypedDict, total=False): ... +class AudienceListMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class BatchRunPivotReportsRequest(typing_extensions.TypedDict, total=False): +class BatchRunPivotReportsRequest(typing.TypedDict, total=False): requests: _list[RunPivotReportRequest] @typing.type_check_only -class BatchRunPivotReportsResponse(typing_extensions.TypedDict, total=False): +class BatchRunPivotReportsResponse(typing.TypedDict, total=False): kind: str pivotReports: _list[RunPivotReportResponse] @typing.type_check_only -class BatchRunReportsRequest(typing_extensions.TypedDict, total=False): +class BatchRunReportsRequest(typing.TypedDict, total=False): requests: _list[RunReportRequest] @typing.type_check_only -class BatchRunReportsResponse(typing_extensions.TypedDict, total=False): +class BatchRunReportsResponse(typing.TypedDict, total=False): kind: str reports: _list[RunReportResponse] @typing.type_check_only -class BetweenFilter(typing_extensions.TypedDict, total=False): +class BetweenFilter(typing.TypedDict, total=False): fromValue: NumericValue toValue: NumericValue @typing.type_check_only -class CaseExpression(typing_extensions.TypedDict, total=False): +class CaseExpression(typing.TypedDict, total=False): dimensionName: str @typing.type_check_only -class CheckCompatibilityRequest(typing_extensions.TypedDict, total=False): - compatibilityFilter: typing_extensions.Literal[ +class CheckCompatibilityRequest(typing.TypedDict, total=False): + compatibilityFilter: typing.Literal[ "COMPATIBILITY_UNSPECIFIED", "COMPATIBLE", "INCOMPATIBLE" ] dimensionFilter: FilterExpression @@ -69,81 +65,79 @@ class CheckCompatibilityRequest(typing_extensions.TypedDict, total=False): metrics: _list[Metric] @typing.type_check_only -class CheckCompatibilityResponse(typing_extensions.TypedDict, total=False): +class CheckCompatibilityResponse(typing.TypedDict, total=False): dimensionCompatibilities: _list[DimensionCompatibility] metricCompatibilities: _list[MetricCompatibility] @typing.type_check_only -class Cohort(typing_extensions.TypedDict, total=False): +class Cohort(typing.TypedDict, total=False): dateRange: DateRange dimension: str name: str @typing.type_check_only -class CohortReportSettings(typing_extensions.TypedDict, total=False): +class CohortReportSettings(typing.TypedDict, total=False): accumulate: bool @typing.type_check_only -class CohortSpec(typing_extensions.TypedDict, total=False): +class CohortSpec(typing.TypedDict, total=False): cohortReportSettings: CohortReportSettings cohorts: _list[Cohort] cohortsRange: CohortsRange @typing.type_check_only -class CohortsRange(typing_extensions.TypedDict, total=False): +class CohortsRange(typing.TypedDict, total=False): endOffset: int - granularity: typing_extensions.Literal[ - "GRANULARITY_UNSPECIFIED", "DAILY", "WEEKLY", "MONTHLY" - ] + granularity: typing.Literal["GRANULARITY_UNSPECIFIED", "DAILY", "WEEKLY", "MONTHLY"] startOffset: int @typing.type_check_only -class Comparison(typing_extensions.TypedDict, total=False): +class Comparison(typing.TypedDict, total=False): comparison: str dimensionFilter: FilterExpression name: str @typing.type_check_only -class ComparisonMetadata(typing_extensions.TypedDict, total=False): +class ComparisonMetadata(typing.TypedDict, total=False): apiName: str description: str uiName: str @typing.type_check_only -class ConcatenateExpression(typing_extensions.TypedDict, total=False): +class ConcatenateExpression(typing.TypedDict, total=False): delimiter: str dimensionNames: _list[str] @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: str name: str startDate: str @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): dimensionExpression: DimensionExpression name: str @typing.type_check_only -class DimensionCompatibility(typing_extensions.TypedDict, total=False): - compatibility: typing_extensions.Literal[ +class DimensionCompatibility(typing.TypedDict, total=False): + compatibility: typing.Literal[ "COMPATIBILITY_UNSPECIFIED", "COMPATIBLE", "INCOMPATIBLE" ] dimensionMetadata: DimensionMetadata @typing.type_check_only -class DimensionExpression(typing_extensions.TypedDict, total=False): +class DimensionExpression(typing.TypedDict, total=False): concatenate: ConcatenateExpression lowerCase: CaseExpression upperCase: CaseExpression @typing.type_check_only -class DimensionHeader(typing_extensions.TypedDict, total=False): +class DimensionHeader(typing.TypedDict, total=False): name: str @typing.type_check_only -class DimensionMetadata(typing_extensions.TypedDict, total=False): +class DimensionMetadata(typing.TypedDict, total=False): apiName: str category: str customDefinition: bool @@ -152,9 +146,9 @@ class DimensionMetadata(typing_extensions.TypedDict, total=False): uiName: str @typing.type_check_only -class DimensionOrderBy(typing_extensions.TypedDict, total=False): +class DimensionOrderBy(typing.TypedDict, total=False): dimensionName: str - orderType: typing_extensions.Literal[ + orderType: typing.Literal[ "ORDER_TYPE_UNSPECIFIED", "ALPHANUMERIC", "CASE_INSENSITIVE_ALPHANUMERIC", @@ -162,14 +156,14 @@ class DimensionOrderBy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DimensionValue(typing_extensions.TypedDict, total=False): +class DimensionValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class EmptyFilter(typing_extensions.TypedDict, total=False): ... +class EmptyFilter(typing.TypedDict, total=False): ... @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): betweenFilter: BetweenFilter emptyFilter: EmptyFilter fieldName: str @@ -178,50 +172,50 @@ class Filter(typing_extensions.TypedDict, total=False): stringFilter: StringFilter @typing.type_check_only -class FilterExpression(typing_extensions.TypedDict, total=False): +class FilterExpression(typing.TypedDict, total=False): andGroup: FilterExpressionList filter: Filter notExpression: FilterExpression orGroup: FilterExpressionList @typing.type_check_only -class FilterExpressionList(typing_extensions.TypedDict, total=False): +class FilterExpressionList(typing.TypedDict, total=False): expressions: _list[FilterExpression] @typing.type_check_only -class InListFilter(typing_extensions.TypedDict, total=False): +class InListFilter(typing.TypedDict, total=False): caseSensitive: bool values: _list[str] @typing.type_check_only -class ListAudienceExportsResponse(typing_extensions.TypedDict, total=False): +class ListAudienceExportsResponse(typing.TypedDict, total=False): audienceExports: _list[AudienceExport] nextPageToken: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): comparisons: _list[ComparisonMetadata] dimensions: _list[DimensionMetadata] metrics: _list[MetricMetadata] name: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): expression: str invisible: bool name: str @typing.type_check_only -class MetricCompatibility(typing_extensions.TypedDict, total=False): - compatibility: typing_extensions.Literal[ +class MetricCompatibility(typing.TypedDict, total=False): + compatibility: typing.Literal[ "COMPATIBILITY_UNSPECIFIED", "COMPATIBLE", "INCOMPATIBLE" ] metricMetadata: MetricMetadata @typing.type_check_only -class MetricHeader(typing_extensions.TypedDict, total=False): +class MetricHeader(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "TYPE_INTEGER", "TYPE_FLOAT", @@ -238,10 +232,10 @@ class MetricHeader(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricMetadata(typing_extensions.TypedDict, total=False): +class MetricMetadata(typing.TypedDict, total=False): apiName: str blockedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BLOCKED_REASON_UNSPECIFIED", "NO_REVENUE_METRICS", "NO_COST_METRICS" ] ] @@ -250,7 +244,7 @@ class MetricMetadata(typing_extensions.TypedDict, total=False): deprecatedApiNames: _list[str] description: str expression: str - type: typing_extensions.Literal[ + type: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "TYPE_INTEGER", "TYPE_FLOAT", @@ -268,22 +262,22 @@ class MetricMetadata(typing_extensions.TypedDict, total=False): uiName: str @typing.type_check_only -class MetricOrderBy(typing_extensions.TypedDict, total=False): +class MetricOrderBy(typing.TypedDict, total=False): metricName: str @typing.type_check_only -class MetricValue(typing_extensions.TypedDict, total=False): +class MetricValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class MinuteRange(typing_extensions.TypedDict, total=False): +class MinuteRange(typing.TypedDict, total=False): endMinutesAgo: int name: str startMinutesAgo: int @typing.type_check_only -class NumericFilter(typing_extensions.TypedDict, total=False): - operation: typing_extensions.Literal[ +class NumericFilter(typing.TypedDict, total=False): + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "EQUAL", "LESS_THAN", @@ -294,12 +288,12 @@ class NumericFilter(typing_extensions.TypedDict, total=False): value: NumericValue @typing.type_check_only -class NumericValue(typing_extensions.TypedDict, total=False): +class NumericValue(typing.TypedDict, total=False): doubleValue: float int64Value: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -307,18 +301,18 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrderBy(typing_extensions.TypedDict, total=False): +class OrderBy(typing.TypedDict, total=False): desc: bool dimension: DimensionOrderBy metric: MetricOrderBy pivot: PivotOrderBy @typing.type_check_only -class Pivot(typing_extensions.TypedDict, total=False): +class Pivot(typing.TypedDict, total=False): fieldNames: _list[str] limit: str metricAggregations: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_AGGREGATION_UNSPECIFIED", "TOTAL", "MINIMUM", "MAXIMUM", "COUNT" ] ] @@ -326,26 +320,26 @@ class Pivot(typing_extensions.TypedDict, total=False): orderBys: _list[OrderBy] @typing.type_check_only -class PivotDimensionHeader(typing_extensions.TypedDict, total=False): +class PivotDimensionHeader(typing.TypedDict, total=False): dimensionValues: _list[DimensionValue] @typing.type_check_only -class PivotHeader(typing_extensions.TypedDict, total=False): +class PivotHeader(typing.TypedDict, total=False): pivotDimensionHeaders: _list[PivotDimensionHeader] rowCount: int @typing.type_check_only -class PivotOrderBy(typing_extensions.TypedDict, total=False): +class PivotOrderBy(typing.TypedDict, total=False): metricName: str pivotSelections: _list[PivotSelection] @typing.type_check_only -class PivotSelection(typing_extensions.TypedDict, total=False): +class PivotSelection(typing.TypedDict, total=False): dimensionName: str dimensionValue: str @typing.type_check_only -class PropertyQuota(typing_extensions.TypedDict, total=False): +class PropertyQuota(typing.TypedDict, total=False): concurrentRequests: QuotaStatus potentiallyThresholdedRequestsPerHour: QuotaStatus serverErrorsPerProjectPerHour: QuotaStatus @@ -354,23 +348,23 @@ class PropertyQuota(typing_extensions.TypedDict, total=False): tokensPerProjectPerHour: QuotaStatus @typing.type_check_only -class QueryAudienceExportRequest(typing_extensions.TypedDict, total=False): +class QueryAudienceExportRequest(typing.TypedDict, total=False): limit: str offset: str @typing.type_check_only -class QueryAudienceExportResponse(typing_extensions.TypedDict, total=False): +class QueryAudienceExportResponse(typing.TypedDict, total=False): audienceExport: AudienceExport audienceRows: _list[V1betaAudienceRow] rowCount: int @typing.type_check_only -class QuotaStatus(typing_extensions.TypedDict, total=False): +class QuotaStatus(typing.TypedDict, total=False): consumed: int remaining: int @typing.type_check_only -class ResponseMetaData(typing_extensions.TypedDict, total=False): +class ResponseMetaData(typing.TypedDict, total=False): currencyCode: str dataLossFromOtherRow: bool emptyReason: str @@ -380,12 +374,12 @@ class ResponseMetaData(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): dimensionValues: _list[DimensionValue] metricValues: _list[MetricValue] @typing.type_check_only -class RunPivotReportRequest(typing_extensions.TypedDict, total=False): +class RunPivotReportRequest(typing.TypedDict, total=False): cohortSpec: CohortSpec comparisons: _list[Comparison] currencyCode: str @@ -400,7 +394,7 @@ class RunPivotReportRequest(typing_extensions.TypedDict, total=False): returnPropertyQuota: bool @typing.type_check_only -class RunPivotReportResponse(typing_extensions.TypedDict, total=False): +class RunPivotReportResponse(typing.TypedDict, total=False): aggregates: _list[Row] dimensionHeaders: _list[DimensionHeader] kind: str @@ -411,12 +405,12 @@ class RunPivotReportResponse(typing_extensions.TypedDict, total=False): rows: _list[Row] @typing.type_check_only -class RunRealtimeReportRequest(typing_extensions.TypedDict, total=False): +class RunRealtimeReportRequest(typing.TypedDict, total=False): dimensionFilter: FilterExpression dimensions: _list[Dimension] limit: str metricAggregations: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_AGGREGATION_UNSPECIFIED", "TOTAL", "MINIMUM", "MAXIMUM", "COUNT" ] ] @@ -427,7 +421,7 @@ class RunRealtimeReportRequest(typing_extensions.TypedDict, total=False): returnPropertyQuota: bool @typing.type_check_only -class RunRealtimeReportResponse(typing_extensions.TypedDict, total=False): +class RunRealtimeReportResponse(typing.TypedDict, total=False): dimensionHeaders: _list[DimensionHeader] kind: str maximums: _list[Row] @@ -439,7 +433,7 @@ class RunRealtimeReportResponse(typing_extensions.TypedDict, total=False): totals: _list[Row] @typing.type_check_only -class RunReportRequest(typing_extensions.TypedDict, total=False): +class RunReportRequest(typing.TypedDict, total=False): cohortSpec: CohortSpec comparisons: _list[Comparison] currencyCode: str @@ -449,7 +443,7 @@ class RunReportRequest(typing_extensions.TypedDict, total=False): keepEmptyRows: bool limit: str metricAggregations: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_AGGREGATION_UNSPECIFIED", "TOTAL", "MINIMUM", "MAXIMUM", "COUNT" ] ] @@ -461,7 +455,7 @@ class RunReportRequest(typing_extensions.TypedDict, total=False): returnPropertyQuota: bool @typing.type_check_only -class RunReportResponse(typing_extensions.TypedDict, total=False): +class RunReportResponse(typing.TypedDict, total=False): dimensionHeaders: _list[DimensionHeader] kind: str maximums: _list[Row] @@ -474,24 +468,24 @@ class RunReportResponse(typing_extensions.TypedDict, total=False): totals: _list[Row] @typing.type_check_only -class SamplingMetadata(typing_extensions.TypedDict, total=False): +class SamplingMetadata(typing.TypedDict, total=False): samplesReadCount: str samplingSpaceSize: str @typing.type_check_only -class SchemaRestrictionResponse(typing_extensions.TypedDict, total=False): +class SchemaRestrictionResponse(typing.TypedDict, total=False): activeMetricRestrictions: _list[ActiveMetricRestriction] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StringFilter(typing_extensions.TypedDict, total=False): +class StringFilter(typing.TypedDict, total=False): caseSensitive: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "EXACT", "BEGINS_WITH", @@ -503,13 +497,13 @@ class StringFilter(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class V1betaAudienceDimension(typing_extensions.TypedDict, total=False): +class V1betaAudienceDimension(typing.TypedDict, total=False): dimensionName: str @typing.type_check_only -class V1betaAudienceDimensionValue(typing_extensions.TypedDict, total=False): +class V1betaAudienceDimensionValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class V1betaAudienceRow(typing_extensions.TypedDict, total=False): +class V1betaAudienceRow(typing.TypedDict, total=False): dimensionValues: _list[V1betaAudienceDimensionValue] diff --git a/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi b/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi index 7d4c881d1..b9caa93ea 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi index 6265b7aa7..94cb6b447 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi @@ -1,37 +1,35 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AIInference(typing_extensions.TypedDict, total=False): +class AIInference(typing.TypedDict, total=False): endpoint: str serviceAccountEmail: str unstructuredInference: UnstructuredInference @typing.type_check_only -class ApproveQueryTemplateRequest(typing_extensions.TypedDict, total=False): ... +class ApproveQueryTemplateRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AvroConfig(typing_extensions.TypedDict, total=False): +class AvroConfig(typing.TypedDict, total=False): useTopicSchema: bool writeMetadata: bool @typing.type_check_only -class BigQueryConfig(typing_extensions.TypedDict, total=False): +class BigQueryConfig(typing.TypedDict, total=False): dropUnknownFields: bool serviceAccountEmail: str table: str @@ -40,7 +38,7 @@ class BigQueryConfig(typing_extensions.TypedDict, total=False): writeMetadata: bool @typing.type_check_only -class BigQueryDatasetSource(typing_extensions.TypedDict, total=False): +class BigQueryDatasetSource(typing.TypedDict, total=False): dataset: str effectiveReplicas: _list[Replica] replicaLocations: _list[str] @@ -48,20 +46,20 @@ class BigQueryDatasetSource(typing_extensions.TypedDict, total=False): selectedResources: _list[SelectedResource] @typing.type_check_only -class BigtableConfig(typing_extensions.TypedDict, total=False): +class BigtableConfig(typing.TypedDict, total=False): appProfileId: str serviceAccountEmail: str table: str writeMetadata: bool @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CloudStorageConfig(typing_extensions.TypedDict, total=False): +class CloudStorageConfig(typing.TypedDict, total=False): avroConfig: AvroConfig bucket: str filenameDatetimeFormat: str @@ -74,18 +72,16 @@ class CloudStorageConfig(typing_extensions.TypedDict, total=False): textConfig: TextConfig @typing.type_check_only -class Compression(typing_extensions.TypedDict, total=False): - compressionAlgorithm: typing_extensions.Literal[ - "COMPRESSION_ALGORITHM_UNSPECIFIED", "ZLIB" - ] - compressionMode: typing_extensions.Literal[ +class Compression(typing.TypedDict, total=False): + compressionAlgorithm: typing.Literal["COMPRESSION_ALGORITHM_UNSPECIFIED", "ZLIB"] + compressionMode: typing.Literal[ "COMPRESSION_MODE_UNSPECIFIED", "COMPRESS", "DECOMPRESS" ] @typing.type_check_only -class DataExchange(typing_extensions.TypedDict, total=False): +class DataExchange(typing.TypedDict, total=False): description: str - discoveryType: typing_extensions.Literal[ + discoveryType: typing.Literal[ "DISCOVERY_TYPE_UNSPECIFIED", "DISCOVERY_TYPE_PRIVATE", "DISCOVERY_TYPE_PUBLIC" ] displayName: str @@ -98,25 +94,25 @@ class DataExchange(typing_extensions.TypedDict, total=False): sharingEnvironmentConfig: SharingEnvironmentConfig @typing.type_check_only -class DataProvider(typing_extensions.TypedDict, total=False): +class DataProvider(typing.TypedDict, total=False): name: str primaryContact: str @typing.type_check_only -class DcrExchangeConfig(typing_extensions.TypedDict, total=False): +class DcrExchangeConfig(typing.TypedDict, total=False): singleLinkedDatasetPerCleanroom: bool singleSelectedResourceSharingRestriction: bool @typing.type_check_only -class DeadLetterPolicy(typing_extensions.TypedDict, total=False): +class DeadLetterPolicy(typing.TypedDict, total=False): deadLetterTopic: str maxDeliveryAttempts: int @typing.type_check_only -class DefaultExchangeConfig(typing_extensions.TypedDict, total=False): ... +class DefaultExchangeConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class DestinationDataset(typing_extensions.TypedDict, total=False): +class DestinationDataset(typing.TypedDict, total=False): datasetReference: DestinationDatasetReference description: str friendlyName: str @@ -125,39 +121,39 @@ class DestinationDataset(typing_extensions.TypedDict, total=False): replicaLocations: _list[str] @typing.type_check_only -class DestinationDatasetReference(typing_extensions.TypedDict, total=False): +class DestinationDatasetReference(typing.TypedDict, total=False): datasetId: str projectId: str @typing.type_check_only -class DestinationPubSubSubscription(typing_extensions.TypedDict, total=False): +class DestinationPubSubSubscription(typing.TypedDict, total=False): pubsubSubscription: GooglePubsubV1Subscription @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExpirationPolicy(typing_extensions.TypedDict, total=False): +class ExpirationPolicy(typing.TypedDict, total=False): ttl: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only class GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudMarketplace: ( GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo @@ -165,27 +161,27 @@ class GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo( @typing.type_check_only class GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - commercialState: typing_extensions.Literal[ + commercialState: typing.Literal[ "COMMERCIAL_STATE_UNSPECIFIED", "ONBOARDING", "ACTIVE" ] service: str @typing.type_check_only class GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudMarketplace: GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo @typing.type_check_only class GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): order: str @typing.type_check_only -class GooglePubsubV1Subscription(typing_extensions.TypedDict, total=False): +class GooglePubsubV1Subscription(typing.TypedDict, total=False): ackDeadlineSeconds: int bigqueryConfig: BigQueryConfig bigtableConfig: BigtableConfig @@ -206,52 +202,52 @@ class GooglePubsubV1Subscription(typing_extensions.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class JavaScriptUDF(typing_extensions.TypedDict, total=False): +class JavaScriptUDF(typing.TypedDict, total=False): code: str functionName: str @typing.type_check_only -class LinkedResource(typing_extensions.TypedDict, total=False): +class LinkedResource(typing.TypedDict, total=False): linkedDataset: str linkedPubsubSubscription: str listing: str @typing.type_check_only -class ListDataExchangesResponse(typing_extensions.TypedDict, total=False): +class ListDataExchangesResponse(typing.TypedDict, total=False): dataExchanges: _list[DataExchange] nextPageToken: str @typing.type_check_only -class ListListingsResponse(typing_extensions.TypedDict, total=False): +class ListListingsResponse(typing.TypedDict, total=False): listings: _list[Listing] nextPageToken: str @typing.type_check_only -class ListOrgDataExchangesResponse(typing_extensions.TypedDict, total=False): +class ListOrgDataExchangesResponse(typing.TypedDict, total=False): dataExchanges: _list[DataExchange] nextPageToken: str @typing.type_check_only -class ListQueryTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListQueryTemplatesResponse(typing.TypedDict, total=False): nextPageToken: str queryTemplates: _list[QueryTemplate] @typing.type_check_only -class ListSharedResourceSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSharedResourceSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str sharedResourceSubscriptions: _list[Subscription] @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] @typing.type_check_only -class Listing(typing_extensions.TypedDict, total=False): +class Listing(typing.TypedDict, total=False): allowOnlyMetadataSharing: bool bigqueryDataset: BigQueryDatasetSource categories: _list[ - typing_extensions.Literal[ + typing.Literal[ "CATEGORY_UNSPECIFIED", "CATEGORY_OTHERS", "CATEGORY_ADVERTISING_AND_MARKETING", @@ -278,7 +274,7 @@ class Listing(typing_extensions.TypedDict, total=False): commercialInfo: GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo dataProvider: DataProvider description: str - discoveryType: typing_extensions.Literal[ + discoveryType: typing.Literal[ "DISCOVERY_TYPE_UNSPECIFIED", "DISCOVERY_TYPE_PRIVATE", "DISCOVERY_TYPE_PUBLIC" ] displayName: str @@ -290,15 +286,15 @@ class Listing(typing_extensions.TypedDict, total=False): publisher: Publisher pubsubTopic: PubSubTopicSource requestAccess: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "SHARED_RESOURCE_TYPE_UNSPECIFIED", "BIGQUERY_DATASET", "PUBSUB_TOPIC" ] restrictedExportConfig: RestrictedExportConfig - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE"] storedProcedureConfig: StoredProcedureConfig @typing.type_check_only -class MessageTransform(typing_extensions.TypedDict, total=False): +class MessageTransform(typing.TypedDict, total=False): aiInference: AIInference compression: Compression disabled: bool @@ -306,16 +302,16 @@ class MessageTransform(typing_extensions.TypedDict, total=False): javascriptUdf: JavaScriptUDF @typing.type_check_only -class NoWrapper(typing_extensions.TypedDict, total=False): +class NoWrapper(typing.TypedDict, total=False): writeMetadata: bool @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -323,7 +319,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -333,27 +329,27 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PubSubTopicSource(typing_extensions.TypedDict, total=False): +class PubSubTopicSource(typing.TypedDict, total=False): dataAffinityRegions: _list[str] topic: str @typing.type_check_only -class Publisher(typing_extensions.TypedDict, total=False): +class Publisher(typing.TypedDict, total=False): name: str primaryContact: str @typing.type_check_only -class PubsubWrapper(typing_extensions.TypedDict, total=False): ... +class PubsubWrapper(typing.TypedDict, total=False): ... @typing.type_check_only -class PushConfig(typing_extensions.TypedDict, total=False): +class PushConfig(typing.TypedDict, total=False): attributes: dict[str, typing.Any] noWrapper: NoWrapper oidcToken: OidcToken @@ -361,7 +357,7 @@ class PushConfig(typing_extensions.TypedDict, total=False): pushEndpoint: str @typing.type_check_only -class QueryTemplate(typing_extensions.TypedDict, total=False): +class QueryTemplate(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -370,112 +366,108 @@ class QueryTemplate(typing_extensions.TypedDict, total=False): primaryContact: str proposer: str routine: Routine - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFTED", "PENDING", "DELETED", "APPROVED" ] updateTime: str @typing.type_check_only -class RefreshSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +class RefreshSubscriptionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RefreshSubscriptionResponse(typing_extensions.TypedDict, total=False): +class RefreshSubscriptionResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class Replica(typing_extensions.TypedDict, total=False): +class Replica(typing.TypedDict, total=False): location: str - primaryState: typing_extensions.Literal[ - "PRIMARY_STATE_UNSPECIFIED", "PRIMARY_REPLICA" - ] - replicaState: typing_extensions.Literal[ + primaryState: typing.Literal["PRIMARY_STATE_UNSPECIFIED", "PRIMARY_REPLICA"] + replicaState: typing.Literal[ "REPLICA_STATE_UNSPECIFIED", "READY_TO_USE", "UNAVAILABLE" ] @typing.type_check_only -class RestrictedExportConfig(typing_extensions.TypedDict, total=False): +class RestrictedExportConfig(typing.TypedDict, total=False): enabled: bool restrictDirectTableAccess: bool restrictQueryResult: bool @typing.type_check_only -class RestrictedExportPolicy(typing_extensions.TypedDict, total=False): +class RestrictedExportPolicy(typing.TypedDict, total=False): enabled: bool restrictDirectTableAccess: bool restrictQueryResult: bool @typing.type_check_only -class RetryPolicy(typing_extensions.TypedDict, total=False): +class RetryPolicy(typing.TypedDict, total=False): maximumBackoff: str minimumBackoff: str @typing.type_check_only -class RevokeSubscriptionRequest(typing_extensions.TypedDict, total=False): +class RevokeSubscriptionRequest(typing.TypedDict, total=False): revokeCommercial: bool @typing.type_check_only -class RevokeSubscriptionResponse(typing_extensions.TypedDict, total=False): ... +class RevokeSubscriptionResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Routine(typing_extensions.TypedDict, total=False): +class Routine(typing.TypedDict, total=False): definitionBody: str - routineType: typing_extensions.Literal[ - "ROUTINE_TYPE_UNSPECIFIED", "TABLE_VALUED_FUNCTION" - ] + routineType: typing.Literal["ROUTINE_TYPE_UNSPECIFIED", "TABLE_VALUED_FUNCTION"] @typing.type_check_only -class SelectedResource(typing_extensions.TypedDict, total=False): +class SelectedResource(typing.TypedDict, total=False): routine: str table: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SharingEnvironmentConfig(typing_extensions.TypedDict, total=False): +class SharingEnvironmentConfig(typing.TypedDict, total=False): dcrExchangeConfig: DcrExchangeConfig defaultExchangeConfig: DefaultExchangeConfig @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StoredProcedureConfig(typing_extensions.TypedDict, total=False): +class StoredProcedureConfig(typing.TypedDict, total=False): allowedStoredProcedureTypes: _list[ - typing_extensions.Literal["STORED_PROCEDURE_TYPE_UNSPECIFIED", "SQL_PROCEDURE"] + typing.Literal["STORED_PROCEDURE_TYPE_UNSPECIFIED", "SQL_PROCEDURE"] ] enabled: bool @typing.type_check_only -class SubmitQueryTemplateRequest(typing_extensions.TypedDict, total=False): ... +class SubmitQueryTemplateRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SubscribeDataExchangeRequest(typing_extensions.TypedDict, total=False): +class SubscribeDataExchangeRequest(typing.TypedDict, total=False): destination: str destinationDataset: DestinationDataset subscriberContact: str subscription: str @typing.type_check_only -class SubscribeDataExchangeResponse(typing_extensions.TypedDict, total=False): +class SubscribeDataExchangeResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class SubscribeListingRequest(typing_extensions.TypedDict, total=False): +class SubscribeListingRequest(typing.TypedDict, total=False): destinationDataset: DestinationDataset destinationPubsubSubscription: DestinationPubSubSubscription @typing.type_check_only -class SubscribeListingResponse(typing_extensions.TypedDict, total=False): +class SubscribeListingResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): commercialInfo: GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo creationTime: str dataExchange: str @@ -488,25 +480,25 @@ class Subscription(typing_extensions.TypedDict, total=False): name: str organizationDisplayName: str organizationId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "SHARED_RESOURCE_TYPE_UNSPECIFIED", "BIGQUERY_DATASET", "PUBSUB_TOPIC" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_ACTIVE", "STATE_STALE", "STATE_INACTIVE" ] subscriberContact: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TextConfig(typing_extensions.TypedDict, total=False): ... +class TextConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class UnstructuredInference(typing_extensions.TypedDict, total=False): +class UnstructuredInference(typing.TypedDict, total=False): parameters: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/analyticshub/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/analyticshub/v1beta1/resources.pyi index a9b9cfc67..e2f7b1a63 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi index 15885bff6..9e041a1ed 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1beta1/schemas.pyi @@ -1,37 +1,35 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BigQueryDatasetSource(typing_extensions.TypedDict, total=False): +class BigQueryDatasetSource(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CommercialInfo(typing_extensions.TypedDict, total=False): +class CommercialInfo(typing.TypedDict, total=False): cloudMarketplace: GoogleCloudMarketplaceInfo @typing.type_check_only -class DataExchange(typing_extensions.TypedDict, total=False): +class DataExchange(typing.TypedDict, total=False): description: str displayName: str documentation: str @@ -41,12 +39,12 @@ class DataExchange(typing_extensions.TypedDict, total=False): primaryContact: str @typing.type_check_only -class DataProvider(typing_extensions.TypedDict, total=False): +class DataProvider(typing.TypedDict, total=False): name: str primaryContact: str @typing.type_check_only -class DestinationDataset(typing_extensions.TypedDict, total=False): +class DestinationDataset(typing.TypedDict, total=False): datasetReference: DestinationDatasetReference description: str friendlyName: str @@ -55,31 +53,31 @@ class DestinationDataset(typing_extensions.TypedDict, total=False): replicaLocations: _list[str] @typing.type_check_only -class DestinationDatasetReference(typing_extensions.TypedDict, total=False): +class DestinationDatasetReference(typing.TypedDict, total=False): datasetId: str projectId: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only class GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetReference: GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference description: str @@ -89,42 +87,42 @@ class GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset( @typing.type_check_only class GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetId: str projectId: str @typing.type_check_only -class GoogleCloudMarketplaceInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudMarketplaceInfo(typing.TypedDict, total=False): order: str @typing.type_check_only -class LinkedResource(typing_extensions.TypedDict, total=False): +class LinkedResource(typing.TypedDict, total=False): linkedDataset: str linkedPubsubSubscription: str listing: str @typing.type_check_only -class ListDataExchangesResponse(typing_extensions.TypedDict, total=False): +class ListDataExchangesResponse(typing.TypedDict, total=False): dataExchanges: _list[DataExchange] nextPageToken: str @typing.type_check_only -class ListListingsResponse(typing_extensions.TypedDict, total=False): +class ListListingsResponse(typing.TypedDict, total=False): listings: _list[Listing] nextPageToken: str @typing.type_check_only -class ListOrgDataExchangesResponse(typing_extensions.TypedDict, total=False): +class ListOrgDataExchangesResponse(typing.TypedDict, total=False): dataExchanges: _list[DataExchange] nextPageToken: str @typing.type_check_only -class Listing(typing_extensions.TypedDict, total=False): +class Listing(typing.TypedDict, total=False): allowOnlyMetadataSharing: bool bigqueryDataset: BigQueryDatasetSource categories: _list[ - typing_extensions.Literal[ + typing.Literal[ "CATEGORY_UNSPECIFIED", "CATEGORY_OTHERS", "CATEGORY_ADVERTISING_AND_MARKETING", @@ -158,10 +156,10 @@ class Listing(typing_extensions.TypedDict, total=False): publisher: Publisher requestAccess: str restrictedExportConfig: RestrictedExportConfig - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE"] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -171,45 +169,45 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Publisher(typing_extensions.TypedDict, total=False): +class Publisher(typing.TypedDict, total=False): name: str primaryContact: str @typing.type_check_only -class RefreshSubscriptionResponse(typing_extensions.TypedDict, total=False): +class RefreshSubscriptionResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class RestrictedExportConfig(typing_extensions.TypedDict, total=False): +class RestrictedExportConfig(typing.TypedDict, total=False): enabled: bool restrictDirectTableAccess: bool restrictQueryResult: bool @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SubscribeDataExchangeResponse(typing_extensions.TypedDict, total=False): +class SubscribeDataExchangeResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class SubscribeListingRequest(typing_extensions.TypedDict, total=False): +class SubscribeListingRequest(typing.TypedDict, total=False): destinationDataset: GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset @typing.type_check_only -class SubscribeListingResponse(typing_extensions.TypedDict, total=False): ... +class SubscribeListingResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): commercialInfo: CommercialInfo creationTime: str dataExchange: str @@ -222,18 +220,18 @@ class Subscription(typing_extensions.TypedDict, total=False): name: str organizationDisplayName: str organizationId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "SHARED_RESOURCE_TYPE_UNSPECIFIED", "BIGQUERY_DATASET", "PUBSUB_TOPIC" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_ACTIVE", "STATE_STALE", "STATE_INACTIVE" ] subscriberContact: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/analyticsreporting/v4/resources.pyi b/googleapiclient-stubs/_apis/analyticsreporting/v4/resources.pyi index 0425c1729..6ccbc5a1a 100644 --- a/googleapiclient-stubs/_apis/analyticsreporting/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/analyticsreporting/v4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/analyticsreporting/v4/schemas.pyi b/googleapiclient-stubs/_apis/analyticsreporting/v4/schemas.pyi index 46383d077..0bfdcdf4c 100644 --- a/googleapiclient-stubs/_apis/analyticsreporting/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticsreporting/v4/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Activity(typing_extensions.TypedDict, total=False): +class Activity(typing.TypedDict, total=False): activityTime: str - activityType: typing_extensions.Literal[ + activityType: typing.Literal[ "ACTIVITY_TYPE_UNSPECIFIED", "PAGEVIEW", "SCREENVIEW", @@ -30,49 +28,49 @@ class Activity(typing_extensions.TypedDict, total=False): source: str @typing.type_check_only -class Cohort(typing_extensions.TypedDict, total=False): +class Cohort(typing.TypedDict, total=False): dateRange: DateRange name: str - type: typing_extensions.Literal["UNSPECIFIED_COHORT_TYPE", "FIRST_VISIT_DATE"] + type: typing.Literal["UNSPECIFIED_COHORT_TYPE", "FIRST_VISIT_DATE"] @typing.type_check_only -class CohortGroup(typing_extensions.TypedDict, total=False): +class CohortGroup(typing.TypedDict, total=False): cohorts: _list[Cohort] lifetimeValue: bool @typing.type_check_only -class ColumnHeader(typing_extensions.TypedDict, total=False): +class ColumnHeader(typing.TypedDict, total=False): dimensions: _list[str] metricHeader: MetricHeader @typing.type_check_only -class CustomDimension(typing_extensions.TypedDict, total=False): +class CustomDimension(typing.TypedDict, total=False): index: int value: str @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: str startDate: str @typing.type_check_only -class DateRangeValues(typing_extensions.TypedDict, total=False): +class DateRangeValues(typing.TypedDict, total=False): pivotValueRegions: _list[PivotValueRegion] values: _list[str] @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): histogramBuckets: _list[str] name: str -AlternativeDimensionFilter = typing_extensions.TypedDict( +AlternativeDimensionFilter = typing.TypedDict( "AlternativeDimensionFilter", { "caseSensitive": bool, "dimensionName": str, "expressions": _list[str], "not": bool, - "operator": typing_extensions.Literal[ + "operator": typing.Literal[ "OPERATOR_UNSPECIFIED", "REGEXP", "BEGINS_WITH", @@ -92,19 +90,19 @@ AlternativeDimensionFilter = typing_extensions.TypedDict( class DimensionFilter(AlternativeDimensionFilter): ... @typing.type_check_only -class DimensionFilterClause(typing_extensions.TypedDict, total=False): +class DimensionFilterClause(typing.TypedDict, total=False): filters: _list[DimensionFilter] - operator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "OR", "AND"] + operator: typing.Literal["OPERATOR_UNSPECIFIED", "OR", "AND"] @typing.type_check_only -class DynamicSegment(typing_extensions.TypedDict, total=False): +class DynamicSegment(typing.TypedDict, total=False): name: str sessionSegment: SegmentDefinition userSegment: SegmentDefinition @typing.type_check_only -class EcommerceData(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal[ +class EcommerceData(typing.TypedDict, total=False): + actionType: typing.Literal[ "UNKNOWN", "CLICK", "DETAILS_VIEW", @@ -115,14 +113,12 @@ class EcommerceData(typing_extensions.TypedDict, total=False): "REFUND", "CHECKOUT_OPTION", ] - ecommerceType: typing_extensions.Literal[ - "ECOMMERCE_TYPE_UNSPECIFIED", "CLASSIC", "ENHANCED" - ] + ecommerceType: typing.Literal["ECOMMERCE_TYPE_UNSPECIFIED", "CLASSIC", "ENHANCED"] products: _list[ProductData] transaction: TransactionData @typing.type_check_only -class EventData(typing_extensions.TypedDict, total=False): +class EventData(typing.TypedDict, total=False): eventAction: str eventCategory: str eventCount: str @@ -130,18 +126,18 @@ class EventData(typing_extensions.TypedDict, total=False): eventValue: str @typing.type_check_only -class GetReportsRequest(typing_extensions.TypedDict, total=False): +class GetReportsRequest(typing.TypedDict, total=False): reportRequests: _list[ReportRequest] useResourceQuotas: bool @typing.type_check_only -class GetReportsResponse(typing_extensions.TypedDict, total=False): +class GetReportsResponse(typing.TypedDict, total=False): queryCost: int reports: _list[Report] resourceQuotasRemaining: ResourceQuotasRemaining @typing.type_check_only -class GoalData(typing_extensions.TypedDict, total=False): +class GoalData(typing.TypedDict, total=False): goalCompletionLocation: str goalCompletions: str goalIndex: int @@ -152,24 +148,24 @@ class GoalData(typing_extensions.TypedDict, total=False): goalValue: float @typing.type_check_only -class GoalSetData(typing_extensions.TypedDict, total=False): +class GoalSetData(typing.TypedDict, total=False): goals: _list[GoalData] @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): alias: str expression: str - formattingType: typing_extensions.Literal[ + formattingType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "INTEGER", "FLOAT", "CURRENCY", "PERCENT", "TIME" ] -AlternativeMetricFilter = typing_extensions.TypedDict( +AlternativeMetricFilter = typing.TypedDict( "AlternativeMetricFilter", { "comparisonValue": str, "metricName": str, "not": bool, - "operator": typing_extensions.Literal[ + "operator": typing.Literal[ "OPERATOR_UNSPECIFIED", "EQUAL", "LESS_THAN", "GREATER_THAN", "IS_MISSING" ], }, @@ -180,30 +176,30 @@ AlternativeMetricFilter = typing_extensions.TypedDict( class MetricFilter(AlternativeMetricFilter): ... @typing.type_check_only -class MetricFilterClause(typing_extensions.TypedDict, total=False): +class MetricFilterClause(typing.TypedDict, total=False): filters: _list[MetricFilter] - operator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "OR", "AND"] + operator: typing.Literal["OPERATOR_UNSPECIFIED", "OR", "AND"] @typing.type_check_only -class MetricHeader(typing_extensions.TypedDict, total=False): +class MetricHeader(typing.TypedDict, total=False): metricHeaderEntries: _list[MetricHeaderEntry] pivotHeaders: _list[PivotHeader] @typing.type_check_only -class MetricHeaderEntry(typing_extensions.TypedDict, total=False): +class MetricHeaderEntry(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "INTEGER", "FLOAT", "CURRENCY", "PERCENT", "TIME" ] @typing.type_check_only -class OrFiltersForSegment(typing_extensions.TypedDict, total=False): +class OrFiltersForSegment(typing.TypedDict, total=False): segmentFilterClauses: _list[SegmentFilterClause] @typing.type_check_only -class OrderBy(typing_extensions.TypedDict, total=False): +class OrderBy(typing.TypedDict, total=False): fieldName: str - orderType: typing_extensions.Literal[ + orderType: typing.Literal[ "ORDER_TYPE_UNSPECIFIED", "VALUE", "DELTA", @@ -211,17 +207,15 @@ class OrderBy(typing_extensions.TypedDict, total=False): "HISTOGRAM_BUCKET", "DIMENSION_AS_INTEGER", ] - sortOrder: typing_extensions.Literal[ - "SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] + sortOrder: typing.Literal["SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class PageviewData(typing_extensions.TypedDict, total=False): +class PageviewData(typing.TypedDict, total=False): pagePath: str pageTitle: str @typing.type_check_only -class Pivot(typing_extensions.TypedDict, total=False): +class Pivot(typing.TypedDict, total=False): dimensionFilterClauses: _list[DimensionFilterClause] dimensions: _list[Dimension] maxGroupCount: int @@ -229,35 +223,35 @@ class Pivot(typing_extensions.TypedDict, total=False): startGroup: int @typing.type_check_only -class PivotHeader(typing_extensions.TypedDict, total=False): +class PivotHeader(typing.TypedDict, total=False): pivotHeaderEntries: _list[PivotHeaderEntry] totalPivotGroupsCount: int @typing.type_check_only -class PivotHeaderEntry(typing_extensions.TypedDict, total=False): +class PivotHeaderEntry(typing.TypedDict, total=False): dimensionNames: _list[str] dimensionValues: _list[str] metric: MetricHeaderEntry @typing.type_check_only -class PivotValueRegion(typing_extensions.TypedDict, total=False): +class PivotValueRegion(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ProductData(typing_extensions.TypedDict, total=False): +class ProductData(typing.TypedDict, total=False): itemRevenue: float productName: str productQuantity: str productSku: str @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): columnHeader: ColumnHeader data: ReportData nextPageToken: str @typing.type_check_only -class ReportData(typing_extensions.TypedDict, total=False): +class ReportData(typing.TypedDict, total=False): dataLastRefreshed: str emptyReason: str isDataGolden: bool @@ -270,7 +264,7 @@ class ReportData(typing_extensions.TypedDict, total=False): totals: _list[DateRangeValues] @typing.type_check_only -class ReportRequest(typing_extensions.TypedDict, total=False): +class ReportRequest(typing.TypedDict, total=False): cohortGroup: CohortGroup dateRanges: _list[DateRange] dimensionFilterClauses: _list[DimensionFilterClause] @@ -285,33 +279,31 @@ class ReportRequest(typing_extensions.TypedDict, total=False): pageSize: int pageToken: str pivots: _list[Pivot] - samplingLevel: typing_extensions.Literal[ - "SAMPLING_UNSPECIFIED", "DEFAULT", "SMALL", "LARGE" - ] + samplingLevel: typing.Literal["SAMPLING_UNSPECIFIED", "DEFAULT", "SMALL", "LARGE"] segments: _list[Segment] viewId: str @typing.type_check_only -class ReportRow(typing_extensions.TypedDict, total=False): +class ReportRow(typing.TypedDict, total=False): dimensions: _list[str] metrics: _list[DateRangeValues] @typing.type_check_only -class ResourceQuotasRemaining(typing_extensions.TypedDict, total=False): +class ResourceQuotasRemaining(typing.TypedDict, total=False): dailyQuotaTokensRemaining: int hourlyQuotaTokensRemaining: int @typing.type_check_only -class ScreenviewData(typing_extensions.TypedDict, total=False): +class ScreenviewData(typing.TypedDict, total=False): appName: str mobileDeviceBranding: str mobileDeviceModel: str screenName: str @typing.type_check_only -class SearchUserActivityRequest(typing_extensions.TypedDict, total=False): +class SearchUserActivityRequest(typing.TypedDict, total=False): activityTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ACTIVITY_TYPE_UNSPECIFIED", "PAGEVIEW", "SCREENVIEW", @@ -327,29 +319,29 @@ class SearchUserActivityRequest(typing_extensions.TypedDict, total=False): viewId: str @typing.type_check_only -class SearchUserActivityResponse(typing_extensions.TypedDict, total=False): +class SearchUserActivityResponse(typing.TypedDict, total=False): nextPageToken: str sampleRate: float sessions: _list[UserActivitySession] totalRows: int @typing.type_check_only -class Segment(typing_extensions.TypedDict, total=False): +class Segment(typing.TypedDict, total=False): dynamicSegment: DynamicSegment segmentId: str @typing.type_check_only -class SegmentDefinition(typing_extensions.TypedDict, total=False): +class SegmentDefinition(typing.TypedDict, total=False): segmentFilters: _list[SegmentFilter] @typing.type_check_only -class SegmentDimensionFilter(typing_extensions.TypedDict, total=False): +class SegmentDimensionFilter(typing.TypedDict, total=False): caseSensitive: bool dimensionName: str expressions: _list[str] maxComparisonValue: str minComparisonValue: str - operator: typing_extensions.Literal[ + operator: typing.Literal[ "OPERATOR_UNSPECIFIED", "REGEXP", "BEGINS_WITH", @@ -362,7 +354,7 @@ class SegmentDimensionFilter(typing_extensions.TypedDict, total=False): "NUMERIC_BETWEEN", ] -AlternativeSegmentFilter = typing_extensions.TypedDict( +AlternativeSegmentFilter = typing.TypedDict( "AlternativeSegmentFilter", { "not": bool, @@ -375,7 +367,7 @@ AlternativeSegmentFilter = typing_extensions.TypedDict( @typing.type_check_only class SegmentFilter(AlternativeSegmentFilter): ... -AlternativeSegmentFilterClause = typing_extensions.TypedDict( +AlternativeSegmentFilterClause = typing.TypedDict( "AlternativeSegmentFilterClause", { "dimensionFilter": SegmentDimensionFilter, @@ -389,47 +381,45 @@ AlternativeSegmentFilterClause = typing_extensions.TypedDict( class SegmentFilterClause(AlternativeSegmentFilterClause): ... @typing.type_check_only -class SegmentMetricFilter(typing_extensions.TypedDict, total=False): +class SegmentMetricFilter(typing.TypedDict, total=False): comparisonValue: str maxComparisonValue: str metricName: str - operator: typing_extensions.Literal[ + operator: typing.Literal[ "UNSPECIFIED_OPERATOR", "LESS_THAN", "GREATER_THAN", "EQUAL", "BETWEEN" ] - scope: typing_extensions.Literal[ - "UNSPECIFIED_SCOPE", "PRODUCT", "HIT", "SESSION", "USER" - ] + scope: typing.Literal["UNSPECIFIED_SCOPE", "PRODUCT", "HIT", "SESSION", "USER"] @typing.type_check_only -class SegmentSequenceStep(typing_extensions.TypedDict, total=False): - matchType: typing_extensions.Literal[ +class SegmentSequenceStep(typing.TypedDict, total=False): + matchType: typing.Literal[ "UNSPECIFIED_MATCH_TYPE", "PRECEDES", "IMMEDIATELY_PRECEDES" ] orFiltersForSegment: _list[OrFiltersForSegment] @typing.type_check_only -class SequenceSegment(typing_extensions.TypedDict, total=False): +class SequenceSegment(typing.TypedDict, total=False): firstStepShouldMatchFirstHit: bool segmentSequenceSteps: _list[SegmentSequenceStep] @typing.type_check_only -class SimpleSegment(typing_extensions.TypedDict, total=False): +class SimpleSegment(typing.TypedDict, total=False): orFiltersForSegment: _list[OrFiltersForSegment] @typing.type_check_only -class TransactionData(typing_extensions.TypedDict, total=False): +class TransactionData(typing.TypedDict, total=False): transactionId: str transactionRevenue: float transactionShipping: float transactionTax: float @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["USER_ID_TYPE_UNSPECIFIED", "USER_ID", "CLIENT_ID"] +class User(typing.TypedDict, total=False): + type: typing.Literal["USER_ID_TYPE_UNSPECIFIED", "USER_ID", "CLIENT_ID"] userId: str @typing.type_check_only -class UserActivitySession(typing_extensions.TypedDict, total=False): +class UserActivitySession(typing.TypedDict, total=False): activities: _list[Activity] dataSource: str deviceCategory: str diff --git a/googleapiclient-stubs/_apis/androiddeveloperidstatus/__init__.pyi b/googleapiclient-stubs/_apis/androiddeveloperidstatus/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/__init__.pyi b/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/resources.pyi b/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/resources.pyi new file mode 100644 index 000000000..777fa7e26 --- /dev/null +++ b/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/resources.pyi @@ -0,0 +1,49 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class AndroidDeveloperIDStatusResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PackagesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PackageRegistrationStatusResource(googleapiclient.discovery.Resource): + def check( + self, + *, + name: str, + certificateFingerprint: str | None = ..., + **kwargs: typing.Any, + ) -> PackageRegistrationStatusHttpRequest: ... + + def packageRegistrationStatus(self) -> PackageRegistrationStatusResource: ... + + 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 packages(self) -> PackagesResource: ... + +@typing.type_check_only +class PackageRegistrationStatusHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PackageRegistrationStatus: ... diff --git a/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/schemas.pyi b/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/schemas.pyi new file mode 100644 index 000000000..5db3be315 --- /dev/null +++ b/googleapiclient-stubs/_apis/androiddeveloperidstatus/v1/schemas.pyi @@ -0,0 +1,14 @@ +import typing + +_list = list + +@typing.type_check_only +class PackageRegistrationStatus(typing.TypedDict, total=False): + certificateFingerprint: str + name: str + state: typing.Literal[ + "REGISTRATION_STATE_UNSPECIFIED", + "REGISTERED", + "NOT_REGISTERED", + "REGISTERED_WITH_ANOTHER_CERTIFICATE_FINGERPRINT", + ] diff --git a/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/resources.pyi b/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/resources.pyi index 690bdcd7c..f2cf76efa 100644 --- a/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi b/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi index 1937a2475..8c6d487e4 100644 --- a/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androiddeviceprovisioning/v1/schemas.pyi @@ -1,33 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ClaimDeviceRequest(typing_extensions.TypedDict, total=False): +class ClaimDeviceRequest(typing.TypedDict, total=False): configurationId: str customerId: str deviceIdentifier: DeviceIdentifier deviceMetadata: DeviceMetadata googleWorkspaceCustomerId: str preProvisioningToken: str - sectionType: typing_extensions.Literal[ + sectionType: typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ] simlockProfileId: str @typing.type_check_only -class ClaimDeviceResponse(typing_extensions.TypedDict, total=False): +class ClaimDeviceResponse(typing.TypedDict, total=False): deviceId: str deviceName: str @typing.type_check_only -class ClaimDevicesRequest(typing_extensions.TypedDict, total=False): +class ClaimDevicesRequest(typing.TypedDict, total=False): claims: _list[PartnerClaim] @typing.type_check_only -class Company(typing_extensions.TypedDict, total=False): +class Company(typing.TypedDict, total=False): adminEmails: _list[str] companyId: str companyName: str @@ -36,7 +34,7 @@ class Company(typing_extensions.TypedDict, total=False): name: str ownerEmails: _list[str] skipWelcomeEmail: bool - termsStatus: typing_extensions.Literal[ + termsStatus: typing.Literal[ "TERMS_STATUS_UNSPECIFIED", "TERMS_STATUS_NOT_ACCEPTED", "TERMS_STATUS_ACCEPTED", @@ -44,7 +42,7 @@ class Company(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Configuration(typing_extensions.TypedDict, total=False): +class Configuration(typing.TypedDict, total=False): companyName: str configurationId: str configurationName: str @@ -58,42 +56,42 @@ class Configuration(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class CreateCustomerRequest(typing_extensions.TypedDict, total=False): +class CreateCustomerRequest(typing.TypedDict, total=False): customer: Company @typing.type_check_only -class CustomerApplyConfigurationRequest(typing_extensions.TypedDict, total=False): +class CustomerApplyConfigurationRequest(typing.TypedDict, total=False): configuration: str device: DeviceReference @typing.type_check_only -class CustomerListConfigurationsResponse(typing_extensions.TypedDict, total=False): +class CustomerListConfigurationsResponse(typing.TypedDict, total=False): configurations: _list[Configuration] @typing.type_check_only -class CustomerListCustomersResponse(typing_extensions.TypedDict, total=False): +class CustomerListCustomersResponse(typing.TypedDict, total=False): customers: _list[Company] nextPageToken: str @typing.type_check_only -class CustomerListDevicesResponse(typing_extensions.TypedDict, total=False): +class CustomerListDevicesResponse(typing.TypedDict, total=False): devices: _list[Device] nextPageToken: str @typing.type_check_only -class CustomerListDpcsResponse(typing_extensions.TypedDict, total=False): +class CustomerListDpcsResponse(typing.TypedDict, total=False): dpcs: _list[Dpc] @typing.type_check_only -class CustomerRemoveConfigurationRequest(typing_extensions.TypedDict, total=False): +class CustomerRemoveConfigurationRequest(typing.TypedDict, total=False): device: DeviceReference @typing.type_check_only -class CustomerUnclaimDeviceRequest(typing_extensions.TypedDict, total=False): +class CustomerUnclaimDeviceRequest(typing.TypedDict, total=False): device: DeviceReference @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): claims: _list[DeviceClaim] configuration: str deviceId: str @@ -102,23 +100,23 @@ class Device(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class DeviceClaim(typing_extensions.TypedDict, total=False): - additionalService: typing_extensions.Literal[ +class DeviceClaim(typing.TypedDict, total=False): + additionalService: typing.Literal[ "ADDITIONAL_SERVICE_UNSPECIFIED", "DEVICE_PROTECTION" ] googleWorkspaceCustomerId: str ownerCompanyId: str resellerId: str - sectionType: typing_extensions.Literal[ + sectionType: typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ] vacationModeExpireTime: str vacationModeStartTime: str @typing.type_check_only -class DeviceIdentifier(typing_extensions.TypedDict, total=False): +class DeviceIdentifier(typing.TypedDict, total=False): chromeOsAttestedDeviceId: str - deviceType: typing_extensions.Literal[ + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ] imei: str @@ -130,18 +128,18 @@ class DeviceIdentifier(typing_extensions.TypedDict, total=False): serialNumber: str @typing.type_check_only -class DeviceMetadata(typing_extensions.TypedDict, total=False): +class DeviceMetadata(typing.TypedDict, total=False): entries: dict[str, typing.Any] @typing.type_check_only -class DeviceReference(typing_extensions.TypedDict, total=False): +class DeviceReference(typing.TypedDict, total=False): deviceId: str deviceIdentifier: DeviceIdentifier @typing.type_check_only -class DevicesLongRunningOperationMetadata(typing_extensions.TypedDict, total=False): +class DevicesLongRunningOperationMetadata(typing.TypedDict, total=False): devicesCount: int - processingStatus: typing_extensions.Literal[ + processingStatus: typing.Literal[ "BATCH_PROCESS_STATUS_UNSPECIFIED", "BATCH_PROCESS_PENDING", "BATCH_PROCESS_IN_PROGRESS", @@ -150,54 +148,54 @@ class DevicesLongRunningOperationMetadata(typing_extensions.TypedDict, total=Fal progress: int @typing.type_check_only -class DevicesLongRunningOperationResponse(typing_extensions.TypedDict, total=False): +class DevicesLongRunningOperationResponse(typing.TypedDict, total=False): perDeviceStatus: _list[OperationPerDevice] successCount: int @typing.type_check_only -class Dpc(typing_extensions.TypedDict, total=False): +class Dpc(typing.TypedDict, total=False): dpcName: str name: str packageName: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FindDevicesByDeviceIdentifierRequest(typing_extensions.TypedDict, total=False): +class FindDevicesByDeviceIdentifierRequest(typing.TypedDict, total=False): deviceIdentifier: DeviceIdentifier limit: str pageToken: str @typing.type_check_only -class FindDevicesByDeviceIdentifierResponse(typing_extensions.TypedDict, total=False): +class FindDevicesByDeviceIdentifierResponse(typing.TypedDict, total=False): devices: _list[Device] nextPageToken: str totalSize: int @typing.type_check_only -class FindDevicesByOwnerRequest(typing_extensions.TypedDict, total=False): +class FindDevicesByOwnerRequest(typing.TypedDict, total=False): customerId: _list[str] googleWorkspaceCustomerId: _list[str] limit: str pageToken: str - sectionType: typing_extensions.Literal[ + sectionType: typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ] @typing.type_check_only -class FindDevicesByOwnerResponse(typing_extensions.TypedDict, total=False): +class FindDevicesByOwnerResponse(typing.TypedDict, total=False): devices: _list[Device] nextPageToken: str totalSize: int @typing.type_check_only -class GetDeviceSimLockStateRequest(typing_extensions.TypedDict, total=False): +class GetDeviceSimLockStateRequest(typing.TypedDict, total=False): deviceIdentifier: DeviceIdentifier @typing.type_check_only -class GetDeviceSimLockStateResponse(typing_extensions.TypedDict, total=False): - simLockState: typing_extensions.Literal[ +class GetDeviceSimLockStateResponse(typing.TypedDict, total=False): + simLockState: typing.Literal[ "SIM_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED_TO_PARTNER", @@ -205,30 +203,30 @@ class GetDeviceSimLockStateResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleWorkspaceAccount(typing_extensions.TypedDict, total=False): +class GoogleWorkspaceAccount(typing.TypedDict, total=False): customerId: str preProvisioningTokens: _list[str] @typing.type_check_only -class ListCustomersResponse(typing_extensions.TypedDict, total=False): +class ListCustomersResponse(typing.TypedDict, total=False): customers: _list[Company] nextPageToken: str totalSize: int @typing.type_check_only -class ListVendorCustomersResponse(typing_extensions.TypedDict, total=False): +class ListVendorCustomersResponse(typing.TypedDict, total=False): customers: _list[Company] nextPageToken: str totalSize: int @typing.type_check_only -class ListVendorsResponse(typing_extensions.TypedDict, total=False): +class ListVendorsResponse(typing.TypedDict, total=False): nextPageToken: str totalSize: int vendors: _list[Company] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -236,41 +234,41 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationPerDevice(typing_extensions.TypedDict, total=False): +class OperationPerDevice(typing.TypedDict, total=False): claim: PartnerClaim result: PerDeviceStatusInBatch unclaim: PartnerUnclaim updateMetadata: UpdateMetadataArguments @typing.type_check_only -class PartnerClaim(typing_extensions.TypedDict, total=False): +class PartnerClaim(typing.TypedDict, total=False): configurationId: str customerId: str deviceIdentifier: DeviceIdentifier deviceMetadata: DeviceMetadata googleWorkspaceCustomerId: str preProvisioningToken: str - sectionType: typing_extensions.Literal[ + sectionType: typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ] simlockProfileId: str @typing.type_check_only -class PartnerUnclaim(typing_extensions.TypedDict, total=False): +class PartnerUnclaim(typing.TypedDict, total=False): deviceId: str deviceIdentifier: DeviceIdentifier - sectionType: typing_extensions.Literal[ + sectionType: typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ] vacationModeDays: int vacationModeExpireTime: str @typing.type_check_only -class PerDeviceStatusInBatch(typing_extensions.TypedDict, total=False): +class PerDeviceStatusInBatch(typing.TypedDict, total=False): deviceId: str errorIdentifier: str errorMessage: str - status: typing_extensions.Literal[ + status: typing.Literal[ "SINGLE_DEVICE_STATUS_UNSPECIFIED", "SINGLE_DEVICE_STATUS_UNKNOWN_ERROR", "SINGLE_DEVICE_STATUS_OTHER_ERROR", @@ -285,35 +283,35 @@ class PerDeviceStatusInBatch(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class UnclaimDeviceRequest(typing_extensions.TypedDict, total=False): +class UnclaimDeviceRequest(typing.TypedDict, total=False): deviceId: str deviceIdentifier: DeviceIdentifier - sectionType: typing_extensions.Literal[ + sectionType: typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ] vacationModeDays: int vacationModeExpireTime: str @typing.type_check_only -class UnclaimDevicesRequest(typing_extensions.TypedDict, total=False): +class UnclaimDevicesRequest(typing.TypedDict, total=False): unclaims: _list[PartnerUnclaim] @typing.type_check_only -class UpdateDeviceMetadataInBatchRequest(typing_extensions.TypedDict, total=False): +class UpdateDeviceMetadataInBatchRequest(typing.TypedDict, total=False): updates: _list[UpdateMetadataArguments] @typing.type_check_only -class UpdateDeviceMetadataRequest(typing_extensions.TypedDict, total=False): +class UpdateDeviceMetadataRequest(typing.TypedDict, total=False): deviceMetadata: DeviceMetadata @typing.type_check_only -class UpdateMetadataArguments(typing_extensions.TypedDict, total=False): +class UpdateMetadataArguments(typing.TypedDict, total=False): deviceId: str deviceIdentifier: DeviceIdentifier deviceMetadata: DeviceMetadata diff --git a/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi b/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi index b3646f02d..202b0a8f8 100644 --- a/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/androidenterprise/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -98,8 +97,7 @@ class AndroidEnterpriseResource(googleapiclient.discovery.Resource): self, *, enterpriseId: str, - keyType: typing_extensions.Literal["googleCredentials", "pkcs12"] - | None = ..., + keyType: typing.Literal["googleCredentials", "pkcs12"] | None = ..., **kwargs: typing.Any, ) -> ServiceAccountHttpRequest: ... def getStoreLayout( @@ -111,9 +109,7 @@ class AndroidEnterpriseResource(googleapiclient.discovery.Resource): def pullNotificationSet( self, *, - requestMode: typing_extensions.Literal[ - "waitForNotifications", "returnImmediately" - ] + requestMode: typing.Literal["waitForNotifications", "returnImmediately"] | None = ..., **kwargs: typing.Any, ) -> NotificationSetHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi index 05cada707..f2153e26c 100644 --- a/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidenterprise/v1/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Administrator(typing_extensions.TypedDict, total=False): +class Administrator(typing.TypedDict, total=False): email: str @typing.type_check_only -class AdministratorWebToken(typing_extensions.TypedDict, total=False): +class AdministratorWebToken(typing.TypedDict, total=False): token: str @typing.type_check_only -class AdministratorWebTokenSpec(typing_extensions.TypedDict, total=False): +class AdministratorWebTokenSpec(typing.TypedDict, total=False): managedConfigurations: AdministratorWebTokenSpecManagedConfigurations parent: str - permission: _list[typing_extensions.Literal["unknown", "approveApps", "manageMcm"]] + permission: _list[typing.Literal["unknown", "approveApps", "manageMcm"]] playSearch: AdministratorWebTokenSpecPlaySearch privateApps: AdministratorWebTokenSpecPrivateApps storeBuilder: AdministratorWebTokenSpecStoreBuilder @@ -24,50 +22,48 @@ class AdministratorWebTokenSpec(typing_extensions.TypedDict, total=False): zeroTouch: AdministratorWebTokenSpecZeroTouch @typing.type_check_only -class AdministratorWebTokenSpecManagedConfigurations( - typing_extensions.TypedDict, total=False -): +class AdministratorWebTokenSpecManagedConfigurations(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AdministratorWebTokenSpecPlaySearch(typing_extensions.TypedDict, total=False): +class AdministratorWebTokenSpecPlaySearch(typing.TypedDict, total=False): approveApps: bool enabled: bool @typing.type_check_only -class AdministratorWebTokenSpecPrivateApps(typing_extensions.TypedDict, total=False): +class AdministratorWebTokenSpecPrivateApps(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AdministratorWebTokenSpecStoreBuilder(typing_extensions.TypedDict, total=False): +class AdministratorWebTokenSpecStoreBuilder(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AdministratorWebTokenSpecWebApps(typing_extensions.TypedDict, total=False): +class AdministratorWebTokenSpecWebApps(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AdministratorWebTokenSpecZeroTouch(typing_extensions.TypedDict, total=False): +class AdministratorWebTokenSpecZeroTouch(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AppRestrictionsSchema(typing_extensions.TypedDict, total=False): +class AppRestrictionsSchema(typing.TypedDict, total=False): kind: str restrictions: _list[AppRestrictionsSchemaRestriction] @typing.type_check_only -class AppRestrictionsSchemaChangeEvent(typing_extensions.TypedDict, total=False): +class AppRestrictionsSchemaChangeEvent(typing.TypedDict, total=False): productId: str @typing.type_check_only -class AppRestrictionsSchemaRestriction(typing_extensions.TypedDict, total=False): +class AppRestrictionsSchemaRestriction(typing.TypedDict, total=False): defaultValue: AppRestrictionsSchemaRestrictionRestrictionValue description: str entry: _list[str] entryValue: _list[str] key: str nestedRestriction: _list[AppRestrictionsSchemaRestriction] - restrictionType: typing_extensions.Literal[ + restrictionType: typing.Literal[ "bool", "string", "integer", @@ -80,10 +76,8 @@ class AppRestrictionsSchemaRestriction(typing_extensions.TypedDict, total=False) title: str @typing.type_check_only -class AppRestrictionsSchemaRestrictionRestrictionValue( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class AppRestrictionsSchemaRestrictionRestrictionValue(typing.TypedDict, total=False): + type: typing.Literal[ "bool", "string", "integer", @@ -99,51 +93,49 @@ class AppRestrictionsSchemaRestrictionRestrictionValue( valueString: str @typing.type_check_only -class AppState(typing_extensions.TypedDict, total=False): +class AppState(typing.TypedDict, total=False): keyedAppState: _list[KeyedAppState] packageName: str @typing.type_check_only -class AppUpdateEvent(typing_extensions.TypedDict, total=False): +class AppUpdateEvent(typing.TypedDict, total=False): productId: str @typing.type_check_only -class AppVersion(typing_extensions.TypedDict, total=False): +class AppVersion(typing.TypedDict, total=False): isProduction: bool targetSdkVersion: int - track: typing_extensions.Literal[ - "appTrackUnspecified", "production", "beta", "alpha" - ] + track: typing.Literal["appTrackUnspecified", "production", "beta", "alpha"] trackId: _list[str] versionCode: int versionString: str @typing.type_check_only -class ApprovalUrlInfo(typing_extensions.TypedDict, total=False): +class ApprovalUrlInfo(typing.TypedDict, total=False): approvalUrl: str @typing.type_check_only -class AuthenticationToken(typing_extensions.TypedDict, total=False): +class AuthenticationToken(typing.TypedDict, total=False): token: str @typing.type_check_only -class AutoInstallConstraint(typing_extensions.TypedDict, total=False): - chargingStateConstraint: typing_extensions.Literal[ +class AutoInstallConstraint(typing.TypedDict, total=False): + chargingStateConstraint: typing.Literal[ "chargingStateConstraintUnspecified", "chargingNotRequired", "chargingRequired" ] - deviceIdleStateConstraint: typing_extensions.Literal[ + deviceIdleStateConstraint: typing.Literal[ "deviceIdleStateConstraintUnspecified", "deviceIdleNotRequired", "deviceIdleRequired", ] - networkTypeConstraint: typing_extensions.Literal[ + networkTypeConstraint: typing.Literal[ "networkTypeConstraintUnspecified", "anyNetwork", "unmeteredNetwork" ] @typing.type_check_only -class AutoInstallPolicy(typing_extensions.TypedDict, total=False): +class AutoInstallPolicy(typing.TypedDict, total=False): autoInstallConstraint: _list[AutoInstallConstraint] - autoInstallMode: typing_extensions.Literal[ + autoInstallMode: typing.Literal[ "autoInstallModeUnspecified", "doNotAutoInstall", "autoInstallOnce", @@ -153,17 +145,17 @@ class AutoInstallPolicy(typing_extensions.TypedDict, total=False): minimumVersionCode: int @typing.type_check_only -class ConfigurationVariables(typing_extensions.TypedDict, total=False): +class ConfigurationVariables(typing.TypedDict, total=False): mcmId: str variableSet: _list[VariableSet] @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): androidId: str device: str latestBuildFingerprint: str maker: str - managementType: typing_extensions.Literal[ + managementType: typing.Literal[ "managedDevice", "managedProfile", "containerApp", "unmanagedProfile" ] model: str @@ -174,195 +166,178 @@ class Device(typing_extensions.TypedDict, total=False): sdkVersion: int @typing.type_check_only -class DeviceReport(typing_extensions.TypedDict, total=False): +class DeviceReport(typing.TypedDict, total=False): appState: _list[AppState] lastUpdatedTimestampMillis: str @typing.type_check_only -class DeviceReportUpdateEvent(typing_extensions.TypedDict, total=False): +class DeviceReportUpdateEvent(typing.TypedDict, total=False): deviceId: str report: DeviceReport userId: str @typing.type_check_only -class DeviceState(typing_extensions.TypedDict, total=False): - accountState: typing_extensions.Literal["enabled", "disabled"] +class DeviceState(typing.TypedDict, total=False): + accountState: typing.Literal["enabled", "disabled"] @typing.type_check_only -class DevicesListResponse(typing_extensions.TypedDict, total=False): +class DevicesListResponse(typing.TypedDict, total=False): device: _list[Device] @typing.type_check_only -class EnrollmentToken(typing_extensions.TypedDict, total=False): +class EnrollmentToken(typing.TypedDict, total=False): duration: str - enrollmentTokenType: typing_extensions.Literal[ + enrollmentTokenType: typing.Literal[ "enrollmentTokenTypeUnspecified", "userlessDevice", "userDevice" ] googleAuthenticationOptions: EnrollmentTokenGoogleAuthenticationOptions token: str @typing.type_check_only -class EnrollmentTokenGoogleAuthenticationOptions( - typing_extensions.TypedDict, total=False -): - authenticationRequirement: typing_extensions.Literal[ +class EnrollmentTokenGoogleAuthenticationOptions(typing.TypedDict, total=False): + authenticationRequirement: typing.Literal[ "authenticationRequirementUnspecified", "optional", "required" ] requiredAccountEmail: str @typing.type_check_only -class Enterprise(typing_extensions.TypedDict, total=False): +class Enterprise(typing.TypedDict, total=False): administrator: _list[Administrator] - enterpriseType: typing_extensions.Literal[ + enterpriseType: typing.Literal[ "enterpriseTypeUnspecified", "managedGoogleDomain", "managedGooglePlayAccountsEnterprise", ] googleAuthenticationSettings: GoogleAuthenticationSettings id: str - managedGoogleDomainType: typing_extensions.Literal[ + managedGoogleDomainType: typing.Literal[ "managedGoogleDomainTypeUnspecified", "typeTeam", "typeDomain" ] name: str primaryDomain: str @typing.type_check_only -class EnterpriseAccount(typing_extensions.TypedDict, total=False): +class EnterpriseAccount(typing.TypedDict, total=False): accountEmail: str @typing.type_check_only -class EnterpriseAuthenticationAppLinkConfig(typing_extensions.TypedDict, total=False): +class EnterpriseAuthenticationAppLinkConfig(typing.TypedDict, total=False): uri: str @typing.type_check_only -class EnterpriseUpgradeEvent(typing_extensions.TypedDict, total=False): - upgradeState: typing_extensions.Literal[ - "upgradeStateUnspecified", "upgradeStateSucceeded" - ] +class EnterpriseUpgradeEvent(typing.TypedDict, total=False): + upgradeState: typing.Literal["upgradeStateUnspecified", "upgradeStateSucceeded"] @typing.type_check_only -class EnterprisesListResponse(typing_extensions.TypedDict, total=False): +class EnterprisesListResponse(typing.TypedDict, total=False): enterprise: _list[Enterprise] @typing.type_check_only -class EnterprisesSendTestPushNotificationResponse( - typing_extensions.TypedDict, total=False -): +class EnterprisesSendTestPushNotificationResponse(typing.TypedDict, total=False): messageId: str topicName: str @typing.type_check_only -class Entitlement(typing_extensions.TypedDict, total=False): +class Entitlement(typing.TypedDict, total=False): productId: str - reason: typing_extensions.Literal["free", "groupLicense", "userPurchase"] + reason: typing.Literal["free", "groupLicense", "userPurchase"] @typing.type_check_only -class EntitlementsListResponse(typing_extensions.TypedDict, total=False): +class EntitlementsListResponse(typing.TypedDict, total=False): entitlement: _list[Entitlement] @typing.type_check_only -class GenerateEnterpriseUpgradeUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateEnterpriseUpgradeUrlResponse(typing.TypedDict, total=False): url: str @typing.type_check_only -class GoogleAuthenticationSettings(typing_extensions.TypedDict, total=False): - dedicatedDevicesAllowed: typing_extensions.Literal[ - "dedicatedDevicesAllowedUnspecified", "disallowed", "allowed" - ] - googleAuthenticationRequired: typing_extensions.Literal[ +class GoogleAuthenticationSettings(typing.TypedDict, total=False): + googleAuthenticationRequired: typing.Literal[ "googleAuthenticationRequiredUnspecified", "notRequired", "required" ] @typing.type_check_only -class GroupLicense(typing_extensions.TypedDict, total=False): - acquisitionKind: typing_extensions.Literal["free", "bulkPurchase"] - approval: typing_extensions.Literal["approved", "unapproved"] +class GroupLicense(typing.TypedDict, total=False): + acquisitionKind: typing.Literal["free", "bulkPurchase"] + approval: typing.Literal["approved", "unapproved"] numProvisioned: int numPurchased: int - permissions: typing_extensions.Literal[ + permissions: typing.Literal[ "currentApproved", "needsReapproval", "allCurrentAndFutureApproved" ] productId: str @typing.type_check_only -class GroupLicenseUsersListResponse(typing_extensions.TypedDict, total=False): +class GroupLicenseUsersListResponse(typing.TypedDict, total=False): user: _list[User] @typing.type_check_only -class GroupLicensesListResponse(typing_extensions.TypedDict, total=False): +class GroupLicensesListResponse(typing.TypedDict, total=False): groupLicense: _list[GroupLicense] @typing.type_check_only -class Install(typing_extensions.TypedDict, total=False): - installState: typing_extensions.Literal["installed", "installPending"] +class Install(typing.TypedDict, total=False): + installState: typing.Literal["installed", "installPending"] productId: str versionCode: int @typing.type_check_only -class InstallFailureEvent(typing_extensions.TypedDict, total=False): +class InstallFailureEvent(typing.TypedDict, total=False): deviceId: str failureDetails: str - failureReason: typing_extensions.Literal["unknown", "timeout"] + failureReason: typing.Literal["unknown", "timeout"] productId: str userId: str @typing.type_check_only -class InstallsListResponse(typing_extensions.TypedDict, total=False): +class InstallsListResponse(typing.TypedDict, total=False): install: _list[Install] @typing.type_check_only -class KeyedAppState(typing_extensions.TypedDict, total=False): +class KeyedAppState(typing.TypedDict, total=False): data: str key: str message: str - severity: typing_extensions.Literal[ - "severityUnknown", "severityInfo", "severityError" - ] + severity: typing.Literal["severityUnknown", "severityInfo", "severityError"] stateTimestampMillis: str @typing.type_check_only -class LocalizedText(typing_extensions.TypedDict, total=False): +class LocalizedText(typing.TypedDict, total=False): locale: str text: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): durationMs: str startTimeAfterMidnightMs: str @typing.type_check_only -class ManagedConfiguration(typing_extensions.TypedDict, total=False): +class ManagedConfiguration(typing.TypedDict, total=False): configurationVariables: ConfigurationVariables kind: str managedProperty: _list[ManagedProperty] productId: str @typing.type_check_only -class ManagedConfigurationsForDeviceListResponse( - typing_extensions.TypedDict, total=False -): +class ManagedConfigurationsForDeviceListResponse(typing.TypedDict, total=False): managedConfigurationForDevice: _list[ManagedConfiguration] @typing.type_check_only -class ManagedConfigurationsForUserListResponse( - typing_extensions.TypedDict, total=False -): +class ManagedConfigurationsForUserListResponse(typing.TypedDict, total=False): managedConfigurationForUser: _list[ManagedConfiguration] @typing.type_check_only -class ManagedConfigurationsSettings(typing_extensions.TypedDict, total=False): +class ManagedConfigurationsSettings(typing.TypedDict, total=False): lastUpdatedTimestampMillis: str mcmId: str name: str @typing.type_check_only -class ManagedConfigurationsSettingsListResponse( - typing_extensions.TypedDict, total=False -): +class ManagedConfigurationsSettingsListResponse(typing.TypedDict, total=False): managedConfigurationsSettings: _list[ManagedConfigurationsSettings] @typing.type_check_only -class ManagedProperty(typing_extensions.TypedDict, total=False): +class ManagedProperty(typing.TypedDict, total=False): key: str valueBool: bool valueBundle: ManagedPropertyBundle @@ -372,24 +347,24 @@ class ManagedProperty(typing_extensions.TypedDict, total=False): valueStringArray: _list[str] @typing.type_check_only -class ManagedPropertyBundle(typing_extensions.TypedDict, total=False): +class ManagedPropertyBundle(typing.TypedDict, total=False): managedProperty: _list[ManagedProperty] @typing.type_check_only -class NewDeviceEvent(typing_extensions.TypedDict, total=False): +class NewDeviceEvent(typing.TypedDict, total=False): deviceId: str dpcPackageName: str - managementType: typing_extensions.Literal["managedDevice", "managedProfile"] + managementType: typing.Literal["managedDevice", "managedProfile"] userId: str @typing.type_check_only -class NewPermissionsEvent(typing_extensions.TypedDict, total=False): +class NewPermissionsEvent(typing.TypedDict, total=False): approvedPermissions: _list[str] productId: str requestedPermissions: _list[str] @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): appRestrictionsSchemaChangeEvent: AppRestrictionsSchemaChangeEvent appUpdateEvent: AppUpdateEvent deviceReportUpdateEvent: DeviceReportUpdateEvent @@ -398,7 +373,7 @@ class Notification(typing_extensions.TypedDict, total=False): installFailureEvent: InstallFailureEvent newDeviceEvent: NewDeviceEvent newPermissionsEvent: NewPermissionsEvent - notificationType: typing_extensions.Literal[ + notificationType: typing.Literal[ "unknown", "testNotification", "productApproval", @@ -416,66 +391,62 @@ class Notification(typing_extensions.TypedDict, total=False): timestampMillis: str @typing.type_check_only -class NotificationSet(typing_extensions.TypedDict, total=False): +class NotificationSet(typing.TypedDict, total=False): notification: _list[Notification] notificationSetId: str @typing.type_check_only -class PageInfo(typing_extensions.TypedDict, total=False): +class PageInfo(typing.TypedDict, total=False): resultPerPage: int startIndex: int totalResults: int @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): description: str name: str permissionId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): - autoUpdatePolicy: typing_extensions.Literal[ +class Policy(typing.TypedDict, total=False): + autoUpdatePolicy: typing.Literal[ "autoUpdatePolicyUnspecified", "choiceToTheUser", "never", "wifiOnly", "always" ] - deviceReportPolicy: typing_extensions.Literal[ + deviceReportPolicy: typing.Literal[ "deviceReportPolicyUnspecified", "deviceReportDisabled", "deviceReportEnabled" ] maintenanceWindow: MaintenanceWindow policyId: str - productAvailabilityPolicy: typing_extensions.Literal[ + productAvailabilityPolicy: typing.Literal[ "productAvailabilityPolicyUnspecified", "whitelist", "all" ] productPolicy: _list[ProductPolicy] @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): appRestrictionsSchema: AppRestrictionsSchema appTracks: _list[TrackInfo] appVersion: _list[AppVersion] authorName: str availableCountries: _list[str] availableTracks: _list[ - typing_extensions.Literal["appTrackUnspecified", "production", "beta", "alpha"] + typing.Literal["appTrackUnspecified", "production", "beta", "alpha"] ] category: str - contentRating: typing_extensions.Literal[ - "ratingUnknown", "all", "preTeen", "teen", "mature" - ] + contentRating: typing.Literal["ratingUnknown", "all", "preTeen", "teen", "mature"] description: str detailsUrl: str - distributionChannel: typing_extensions.Literal[ + distributionChannel: typing.Literal[ "publicGoogleHosted", "privateGoogleHosted", "privateSelfHosted" ] - features: _list[typing_extensions.Literal["featureUnknown", "vpnApp"]] + features: _list[typing.Literal["featureUnknown", "vpnApp"]] fullDescription: str iconUrl: str lastUpdatedTimestampMillis: str minAndroidSdkVersion: int permissions: _list[ProductPermission] productId: str - productPricing: typing_extensions.Literal[ - "unknown", "free", "freeWithInAppPurchase", "paid" - ] + productPricing: typing.Literal["unknown", "free", "freeWithInAppPurchase", "paid"] recentChanges: str requiresContainerApp: bool screenshotUrls: _list[str] @@ -485,31 +456,29 @@ class Product(typing_extensions.TypedDict, total=False): workDetailsUrl: str @typing.type_check_only -class ProductApprovalEvent(typing_extensions.TypedDict, total=False): - approved: typing_extensions.Literal["unknown", "approved", "unapproved"] +class ProductApprovalEvent(typing.TypedDict, total=False): + approved: typing.Literal["unknown", "approved", "unapproved"] productId: str @typing.type_check_only -class ProductAvailabilityChangeEvent(typing_extensions.TypedDict, total=False): - availabilityStatus: typing_extensions.Literal[ - "unknown", "available", "removed", "unpublished" - ] +class ProductAvailabilityChangeEvent(typing.TypedDict, total=False): + availabilityStatus: typing.Literal["unknown", "available", "removed", "unpublished"] productId: str @typing.type_check_only -class ProductPermission(typing_extensions.TypedDict, total=False): +class ProductPermission(typing.TypedDict, total=False): permissionId: str - state: typing_extensions.Literal["required", "accepted"] + state: typing.Literal["required", "accepted"] @typing.type_check_only -class ProductPermissions(typing_extensions.TypedDict, total=False): +class ProductPermissions(typing.TypedDict, total=False): permission: _list[ProductPermission] productId: str @typing.type_check_only -class ProductPolicy(typing_extensions.TypedDict, total=False): +class ProductPolicy(typing.TypedDict, total=False): autoInstallPolicy: AutoInstallPolicy - autoUpdateMode: typing_extensions.Literal[ + autoUpdateMode: typing.Literal[ "autoUpdateModeUnspecified", "autoUpdateDefault", "autoUpdatePostponed", @@ -519,127 +488,121 @@ class ProductPolicy(typing_extensions.TypedDict, total=False): managedConfiguration: ManagedConfiguration productId: str trackIds: _list[str] - tracks: _list[ - typing_extensions.Literal["appTrackUnspecified", "production", "beta", "alpha"] - ] + tracks: _list[typing.Literal["appTrackUnspecified", "production", "beta", "alpha"]] @typing.type_check_only -class ProductSet(typing_extensions.TypedDict, total=False): +class ProductSet(typing.TypedDict, total=False): productId: _list[str] - productSetBehavior: typing_extensions.Literal[ + productSetBehavior: typing.Literal[ "unknown", "whitelist", "includeAll", "allApproved" ] productVisibility: _list[ProductVisibility] @typing.type_check_only -class ProductSigningCertificate(typing_extensions.TypedDict, total=False): +class ProductSigningCertificate(typing.TypedDict, total=False): certificateHashSha1: str certificateHashSha256: str @typing.type_check_only -class ProductVisibility(typing_extensions.TypedDict, total=False): +class ProductVisibility(typing.TypedDict, total=False): productId: str trackIds: _list[str] - tracks: _list[ - typing_extensions.Literal["appTrackUnspecified", "production", "beta", "alpha"] - ] + tracks: _list[typing.Literal["appTrackUnspecified", "production", "beta", "alpha"]] @typing.type_check_only -class ProductsApproveRequest(typing_extensions.TypedDict, total=False): +class ProductsApproveRequest(typing.TypedDict, total=False): approvalUrlInfo: ApprovalUrlInfo - approvedPermissions: typing_extensions.Literal[ - "currentPermissionsOnly", "allPermissions" - ] + approvedPermissions: typing.Literal["currentPermissionsOnly", "allPermissions"] @typing.type_check_only -class ProductsGenerateApprovalUrlResponse(typing_extensions.TypedDict, total=False): +class ProductsGenerateApprovalUrlResponse(typing.TypedDict, total=False): url: str @typing.type_check_only -class ProductsListResponse(typing_extensions.TypedDict, total=False): +class ProductsListResponse(typing.TypedDict, total=False): pageInfo: PageInfo product: _list[Product] tokenPagination: TokenPagination @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): key: ServiceAccountKey name: str @typing.type_check_only -class ServiceAccountKey(typing_extensions.TypedDict, total=False): +class ServiceAccountKey(typing.TypedDict, total=False): data: str id: str publicData: str - type: typing_extensions.Literal["googleCredentials", "pkcs12"] + type: typing.Literal["googleCredentials", "pkcs12"] @typing.type_check_only -class ServiceAccountKeysListResponse(typing_extensions.TypedDict, total=False): +class ServiceAccountKeysListResponse(typing.TypedDict, total=False): serviceAccountKey: _list[ServiceAccountKey] @typing.type_check_only -class SignupInfo(typing_extensions.TypedDict, total=False): +class SignupInfo(typing.TypedDict, total=False): completionToken: str kind: str url: str @typing.type_check_only -class StoreCluster(typing_extensions.TypedDict, total=False): +class StoreCluster(typing.TypedDict, total=False): id: str name: _list[LocalizedText] orderInPage: str productId: _list[str] @typing.type_check_only -class StoreLayout(typing_extensions.TypedDict, total=False): +class StoreLayout(typing.TypedDict, total=False): homepageId: str - storeLayoutType: typing_extensions.Literal["unknown", "basic", "custom"] + storeLayoutType: typing.Literal["unknown", "basic", "custom"] @typing.type_check_only -class StoreLayoutClustersListResponse(typing_extensions.TypedDict, total=False): +class StoreLayoutClustersListResponse(typing.TypedDict, total=False): cluster: _list[StoreCluster] @typing.type_check_only -class StoreLayoutPagesListResponse(typing_extensions.TypedDict, total=False): +class StoreLayoutPagesListResponse(typing.TypedDict, total=False): page: _list[StorePage] @typing.type_check_only -class StorePage(typing_extensions.TypedDict, total=False): +class StorePage(typing.TypedDict, total=False): id: str link: _list[str] name: _list[LocalizedText] @typing.type_check_only -class TokenPagination(typing_extensions.TypedDict, total=False): +class TokenPagination(typing.TypedDict, total=False): nextPageToken: str previousPageToken: str @typing.type_check_only -class TrackInfo(typing_extensions.TypedDict, total=False): +class TrackInfo(typing.TypedDict, total=False): trackAlias: str trackId: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): accountIdentifier: str - accountType: typing_extensions.Literal["deviceAccount", "userAccount"] + accountType: typing.Literal["deviceAccount", "userAccount"] displayName: str id: str - managementType: typing_extensions.Literal["googleManaged", "emmManaged"] + managementType: typing.Literal["googleManaged", "emmManaged"] primaryEmail: str @typing.type_check_only -class UsersListResponse(typing_extensions.TypedDict, total=False): +class UsersListResponse(typing.TypedDict, total=False): user: _list[User] @typing.type_check_only -class VariableSet(typing_extensions.TypedDict, total=False): +class VariableSet(typing.TypedDict, total=False): placeholder: str userValue: str @typing.type_check_only -class WebApp(typing_extensions.TypedDict, total=False): - displayMode: typing_extensions.Literal[ +class WebApp(typing.TypedDict, total=False): + displayMode: typing.Literal[ "displayModeUnspecified", "minimalUi", "standalone", "fullScreen" ] icons: _list[WebAppIcon] @@ -650,9 +613,9 @@ class WebApp(typing_extensions.TypedDict, total=False): webAppId: str @typing.type_check_only -class WebAppIcon(typing_extensions.TypedDict, total=False): +class WebAppIcon(typing.TypedDict, total=False): imageData: str @typing.type_check_only -class WebAppsListResponse(typing_extensions.TypedDict, total=False): +class WebAppsListResponse(typing.TypedDict, total=False): webApp: _list[WebApp] diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi index c75141724..3c89f5ad6 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -51,14 +50,14 @@ class AndroidManagementResource(googleapiclient.discovery.Resource): self, *, name: str, - wipeDataFlags: typing_extensions.Literal[ + wipeDataFlags: typing.Literal[ "WIPE_DATA_FLAG_UNSPECIFIED", "PRESERVE_RESET_PROTECTION_DATA", "WIPE_EXTERNAL_STORAGE", "WIPE_ESIMS", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "WIPE_DATA_FLAG_UNSPECIFIED", "PRESERVE_RESET_PROTECTION_DATA", "WIPE_EXTERNAL_STORAGE", @@ -247,8 +246,7 @@ class AndroidManagementResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., projectId: str | None = ..., - view: typing_extensions.Literal["ENTERPRISE_VIEW_UNSPECIFIED", "BASIC"] - | None = ..., + view: typing.Literal["ENTERPRISE_VIEW_UNSPECIFIED", "BASIC"] | None = ..., **kwargs: typing.Any, ) -> ListEnterprisesResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi index c19479cc1..e2c12a14e 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi @@ -1,51 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdbShellCommandEvent(typing_extensions.TypedDict, total=False): +class AdbShellCommandEvent(typing.TypedDict, total=False): shellCmd: str @typing.type_check_only -class AdbShellInteractiveEvent(typing_extensions.TypedDict, total=False): ... +class AdbShellInteractiveEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class AddEsimParams(typing_extensions.TypedDict, total=False): +class AddEsimParams(typing.TypedDict, total=False): activationCode: str - activationState: typing_extensions.Literal[ + activationState: typing.Literal[ "ACTIVATION_STATE_UNSPECIFIED", "ACTIVATED", "NOT_ACTIVATED" ] @typing.type_check_only -class AdvancedSecurityOverrides(typing_extensions.TypedDict, total=False): - commonCriteriaMode: typing_extensions.Literal[ +class AdvancedSecurityOverrides(typing.TypedDict, total=False): + commonCriteriaMode: typing.Literal[ "COMMON_CRITERIA_MODE_UNSPECIFIED", "COMMON_CRITERIA_MODE_DISABLED", "COMMON_CRITERIA_MODE_ENABLED", ] - contentProtectionPolicy: typing_extensions.Literal[ + contentProtectionPolicy: typing.Literal[ "CONTENT_PROTECTION_POLICY_UNSPECIFIED", "CONTENT_PROTECTION_DISABLED", "CONTENT_PROTECTION_ENFORCED", "CONTENT_PROTECTION_USER_CHOICE", ] - developerSettings: typing_extensions.Literal[ + developerSettings: typing.Literal[ "DEVELOPER_SETTINGS_UNSPECIFIED", "DEVELOPER_SETTINGS_DISABLED", "DEVELOPER_SETTINGS_ALLOWED", ] - googlePlayProtectVerifyApps: typing_extensions.Literal[ + googlePlayProtectVerifyApps: typing.Literal[ "GOOGLE_PLAY_PROTECT_VERIFY_APPS_UNSPECIFIED", "VERIFY_APPS_ENFORCED", "VERIFY_APPS_USER_CHOICE", ] - mtePolicy: typing_extensions.Literal[ + mtePolicy: typing.Literal[ "MTE_POLICY_UNSPECIFIED", "MTE_USER_CHOICE", "MTE_ENFORCED", "MTE_DISABLED" ] personalAppsThatCanReadWorkNotifications: _list[str] - untrustedAppsPolicy: typing_extensions.Literal[ + untrustedAppsPolicy: typing.Literal[ "UNTRUSTED_APPS_POLICY_UNSPECIFIED", "DISALLOW_INSTALL", "ALLOW_INSTALL_IN_PERSONAL_PROFILE_ONLY", @@ -53,29 +51,29 @@ class AdvancedSecurityOverrides(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlwaysOnVpnPackage(typing_extensions.TypedDict, total=False): +class AlwaysOnVpnPackage(typing.TypedDict, total=False): lockdownEnabled: bool packageName: str @typing.type_check_only -class ApiLevelCondition(typing_extensions.TypedDict, total=False): +class ApiLevelCondition(typing.TypedDict, total=False): minApiLevel: int @typing.type_check_only -class ApnPolicy(typing_extensions.TypedDict, total=False): +class ApnPolicy(typing.TypedDict, total=False): apnSettings: _list[ApnSetting] - overrideApns: typing_extensions.Literal[ + overrideApns: typing.Literal[ "OVERRIDE_APNS_UNSPECIFIED", "OVERRIDE_APNS_DISABLED", "OVERRIDE_APNS_ENABLED" ] @typing.type_check_only -class ApnSetting(typing_extensions.TypedDict, total=False): - alwaysOnSetting: typing_extensions.Literal[ +class ApnSetting(typing.TypedDict, total=False): + alwaysOnSetting: typing.Literal[ "ALWAYS_ON_SETTING_UNSPECIFIED", "NOT_ALWAYS_ON", "ALWAYS_ON" ] apn: str apnTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "APN_TYPE_UNSPECIFIED", "ENTERPRISE", "BIP", @@ -95,7 +93,7 @@ class ApnSetting(typing_extensions.TypedDict, total=False): "XCAP", ] ] - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "NONE", "PAP", "CHAP", "PAP_OR_CHAP" ] carrierId: int @@ -105,11 +103,9 @@ class ApnSetting(typing_extensions.TypedDict, total=False): mmsc: str mtuV4: int mtuV6: int - mvnoType: typing_extensions.Literal[ - "MVNO_TYPE_UNSPECIFIED", "GID", "ICCID", "IMSI", "SPN" - ] + mvnoType: typing.Literal["MVNO_TYPE_UNSPECIFIED", "GID", "ICCID", "IMSI", "SPN"] networkTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "NETWORK_TYPE_UNSPECIFIED", "EDGE", "GPRS", @@ -127,18 +123,18 @@ class ApnSetting(typing_extensions.TypedDict, total=False): ] numericOperatorId: str password: str - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "PROTOCOL_UNSPECIFIED", "IP", "IPV4V6", "IPV6", "NON_IP", "PPP", "UNSTRUCTURED" ] proxyAddress: str proxyPort: int - roamingProtocol: typing_extensions.Literal[ + roamingProtocol: typing.Literal[ "PROTOCOL_UNSPECIFIED", "IP", "IPV4V6", "IPV6", "NON_IP", "PPP", "UNSTRUCTURED" ] username: str @typing.type_check_only -class AppProcessInfo(typing_extensions.TypedDict, total=False): +class AppProcessInfo(typing.TypedDict, total=False): apkSha256Hash: str packageNames: _list[str] pid: int @@ -148,24 +144,24 @@ class AppProcessInfo(typing_extensions.TypedDict, total=False): uid: int @typing.type_check_only -class AppProcessStartEvent(typing_extensions.TypedDict, total=False): +class AppProcessStartEvent(typing.TypedDict, total=False): processInfo: AppProcessInfo @typing.type_check_only -class AppTrackInfo(typing_extensions.TypedDict, total=False): +class AppTrackInfo(typing.TypedDict, total=False): trackAlias: str trackId: str @typing.type_check_only -class AppVersion(typing_extensions.TypedDict, total=False): +class AppVersion(typing.TypedDict, total=False): production: bool trackIds: _list[str] versionCode: int versionString: str @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): - appPricing: typing_extensions.Literal[ +class Application(typing.TypedDict, total=False): + appPricing: typing.Literal[ "APP_PRICING_UNSPECIFIED", "FREE", "FREE_WITH_IN_APP_PURCHASE", "PAID" ] appTracks: _list[AppTrackInfo] @@ -173,7 +169,7 @@ class Application(typing_extensions.TypedDict, total=False): author: str availableCountries: _list[str] category: str - contentRating: typing_extensions.Literal[ + contentRating: typing.Literal[ "CONTENT_RATING_UNSPECIFIED", "THREE_YEARS", "SEVEN_YEARS", @@ -182,13 +178,13 @@ class Application(typing_extensions.TypedDict, total=False): "EIGHTEEN_YEARS", ] description: str - distributionChannel: typing_extensions.Literal[ + distributionChannel: typing.Literal[ "DISTRIBUTION_CHANNEL_UNSPECIFIED", "PUBLIC_GOOGLE_HOSTED", "PRIVATE_GOOGLE_HOSTED", "PRIVATE_SELF_HOSTED", ] - features: _list[typing_extensions.Literal["APP_FEATURE_UNSPECIFIED", "VPN_APP"]] + features: _list[typing.Literal["APP_FEATURE_UNSPECIFIED", "VPN_APP"]] fullDescription: str iconUrl: str managedProperties: _list[ManagedProperty] @@ -203,9 +199,9 @@ class Application(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ApplicationEvent(typing_extensions.TypedDict, total=False): +class ApplicationEvent(typing.TypedDict, total=False): createTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "APPLICATION_EVENT_TYPE_UNSPECIFIED", "INSTALLED", "CHANGED", @@ -218,39 +214,39 @@ class ApplicationEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ApplicationPermission(typing_extensions.TypedDict, total=False): +class ApplicationPermission(typing.TypedDict, total=False): description: str name: str permissionId: str @typing.type_check_only -class ApplicationPolicy(typing_extensions.TypedDict, total=False): +class ApplicationPolicy(typing.TypedDict, total=False): accessibleTrackIds: _list[str] - alwaysOnVpnLockdownExemption: typing_extensions.Literal[ + alwaysOnVpnLockdownExemption: typing.Literal[ "ALWAYS_ON_VPN_LOCKDOWN_EXEMPTION_UNSPECIFIED", "VPN_LOCKDOWN_ENFORCED", "VPN_LOCKDOWN_EXEMPTION", ] - autoUpdateMode: typing_extensions.Literal[ + autoUpdateMode: typing.Literal[ "AUTO_UPDATE_MODE_UNSPECIFIED", "AUTO_UPDATE_DEFAULT", "AUTO_UPDATE_POSTPONED", "AUTO_UPDATE_HIGH_PRIORITY", ] - connectedWorkAndPersonalApp: typing_extensions.Literal[ + connectedWorkAndPersonalApp: typing.Literal[ "CONNECTED_WORK_AND_PERSONAL_APP_UNSPECIFIED", "CONNECTED_WORK_AND_PERSONAL_APP_DISALLOWED", "CONNECTED_WORK_AND_PERSONAL_APP_ALLOWED", ] - credentialProviderPolicy: typing_extensions.Literal[ + credentialProviderPolicy: typing.Literal[ "CREDENTIAL_PROVIDER_POLICY_UNSPECIFIED", "CREDENTIAL_PROVIDER_ALLOWED" ] customAppConfig: CustomAppConfig - defaultPermissionPolicy: typing_extensions.Literal[ + defaultPermissionPolicy: typing.Literal[ "PERMISSION_POLICY_UNSPECIFIED", "PROMPT", "GRANT", "DENY" ] delegatedScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DELEGATED_SCOPE_UNSPECIFIED", "CERT_INSTALL", "MANAGED_CONFIGURATIONS", @@ -267,7 +263,7 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): extensionConfig: ExtensionConfig installConstraint: _list[InstallConstraint] installPriority: int - installType: typing_extensions.Literal[ + installType: typing.Literal[ "INSTALL_TYPE_UNSPECIFIED", "PREINSTALLED", "FORCE_INSTALLED", @@ -283,7 +279,7 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): minimumVersionCode: int packageName: str permissionGrants: _list[PermissionGrant] - preferentialNetworkId: typing_extensions.Literal[ + preferentialNetworkId: typing.Literal[ "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", "NO_PREFERENTIAL_NETWORK", "PREFERENTIAL_NETWORK_ID_ONE", @@ -294,25 +290,25 @@ class ApplicationPolicy(typing_extensions.TypedDict, total=False): ] roles: _list[Role] signingKeyCerts: _list[ApplicationSigningKeyCert] - userControlSettings: typing_extensions.Literal[ + userControlSettings: typing.Literal[ "USER_CONTROL_SETTINGS_UNSPECIFIED", "USER_CONTROL_ALLOWED", "USER_CONTROL_DISALLOWED", ] - workProfileWidgets: typing_extensions.Literal[ + workProfileWidgets: typing.Literal[ "WORK_PROFILE_WIDGETS_UNSPECIFIED", "WORK_PROFILE_WIDGETS_ALLOWED", "WORK_PROFILE_WIDGETS_DISALLOWED", ] @typing.type_check_only -class ApplicationPolicyChange(typing_extensions.TypedDict, total=False): +class ApplicationPolicyChange(typing.TypedDict, total=False): application: ApplicationPolicy updateMask: str @typing.type_check_only -class ApplicationReport(typing_extensions.TypedDict, total=False): - applicationSource: typing_extensions.Literal[ +class ApplicationReport(typing.TypedDict, total=False): + applicationSource: typing.Literal[ "APPLICATION_SOURCE_UNSPECIFIED", "SYSTEM_APP_FACTORY_VERSION", "SYSTEM_APP_UPDATED_VERSION", @@ -327,85 +323,83 @@ class ApplicationReport(typing_extensions.TypedDict, total=False): packageSha256Hash: str signingKeyCertFingerprints: _list[str] signingKeyCerts: _list[ApplicationSigningKeyCert] - state: typing_extensions.Literal[ - "APPLICATION_STATE_UNSPECIFIED", "REMOVED", "INSTALLED" - ] - userFacingType: typing_extensions.Literal[ + state: typing.Literal["APPLICATION_STATE_UNSPECIFIED", "REMOVED", "INSTALLED"] + userFacingType: typing.Literal[ "USER_FACING_TYPE_UNSPECIFIED", "NOT_USER_FACING", "USER_FACING" ] versionCode: int versionName: str @typing.type_check_only -class ApplicationReportingSettings(typing_extensions.TypedDict, total=False): +class ApplicationReportingSettings(typing.TypedDict, total=False): includeRemovedApps: bool @typing.type_check_only -class ApplicationSigningKeyCert(typing_extensions.TypedDict, total=False): +class ApplicationSigningKeyCert(typing.TypedDict, total=False): signingKeyCertFingerprintSha256: str @typing.type_check_only -class BackupServiceToggledEvent(typing_extensions.TypedDict, total=False): +class BackupServiceToggledEvent(typing.TypedDict, total=False): adminPackageName: str adminUserId: int - backupServiceState: typing_extensions.Literal[ + backupServiceState: typing.Literal[ "BACKUP_SERVICE_STATE_UNSPECIFIED", "BACKUP_SERVICE_DISABLED", "BACKUP_SERVICE_ENABLED", ] @typing.type_check_only -class BatchUsageLogEvents(typing_extensions.TypedDict, total=False): +class BatchUsageLogEvents(typing.TypedDict, total=False): device: str retrievalTime: str usageLogEvents: _list[UsageLogEvent] user: str @typing.type_check_only -class BlockAction(typing_extensions.TypedDict, total=False): +class BlockAction(typing.TypedDict, total=False): blockAfterDays: int - blockScope: typing_extensions.Literal[ + blockScope: typing.Literal[ "BLOCK_SCOPE_UNSPECIFIED", "BLOCK_SCOPE_WORK_PROFILE", "BLOCK_SCOPE_DEVICE" ] @typing.type_check_only -class CertAuthorityInstalledEvent(typing_extensions.TypedDict, total=False): +class CertAuthorityInstalledEvent(typing.TypedDict, total=False): certificate: str success: bool userId: int @typing.type_check_only -class CertAuthorityRemovedEvent(typing_extensions.TypedDict, total=False): +class CertAuthorityRemovedEvent(typing.TypedDict, total=False): certificate: str success: bool userId: int @typing.type_check_only -class CertValidationFailureEvent(typing_extensions.TypedDict, total=False): +class CertValidationFailureEvent(typing.TypedDict, total=False): failureReason: str @typing.type_check_only -class ChoosePrivateKeyRule(typing_extensions.TypedDict, total=False): +class ChoosePrivateKeyRule(typing.TypedDict, total=False): packageNames: _list[str] privateKeyAlias: str urlPattern: str @typing.type_check_only -class ClearAppsDataParams(typing_extensions.TypedDict, total=False): +class ClearAppsDataParams(typing.TypedDict, total=False): packageNames: _list[str] @typing.type_check_only -class ClearAppsDataStatus(typing_extensions.TypedDict, total=False): +class ClearAppsDataStatus(typing.TypedDict, total=False): results: dict[str, typing.Any] @typing.type_check_only -class Command(typing_extensions.TypedDict, total=False): +class Command(typing.TypedDict, total=False): addEsimParams: AddEsimParams clearAppsDataParams: ClearAppsDataParams clearAppsDataStatus: ClearAppsDataStatus createTime: str duration: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "COMMAND_ERROR_CODE_UNSPECIFIED", "UNKNOWN", "API_LEVEL", @@ -419,7 +413,7 @@ class Command(typing_extensions.TypedDict, total=False): requestDeviceInfoParams: RequestDeviceInfoParams requestDeviceInfoStatus: RequestDeviceInfoStatus resetPasswordFlags: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESET_PASSWORD_FLAG_UNSPECIFIED", "REQUIRE_ENTRY", "DO_NOT_ASK_CREDENTIALS_ON_BOOT", @@ -430,7 +424,7 @@ class Command(typing_extensions.TypedDict, total=False): startLostModeStatus: StartLostModeStatus stopLostModeParams: StopLostModeParams stopLostModeStatus: StopLostModeStatus - type: typing_extensions.Literal[ + type: typing.Literal[ "COMMAND_TYPE_UNSPECIFIED", "LOCK", "RESET_PASSWORD", @@ -448,13 +442,13 @@ class Command(typing_extensions.TypedDict, total=False): wipeParams: WipeParams @typing.type_check_only -class CommonCriteriaModeInfo(typing_extensions.TypedDict, total=False): - commonCriteriaModeStatus: typing_extensions.Literal[ +class CommonCriteriaModeInfo(typing.TypedDict, total=False): + commonCriteriaModeStatus: typing.Literal[ "COMMON_CRITERIA_MODE_STATUS_UNKNOWN", "COMMON_CRITERIA_MODE_DISABLED", "COMMON_CRITERIA_MODE_ENABLED", ] - policySignatureVerificationStatus: typing_extensions.Literal[ + policySignatureVerificationStatus: typing.Literal[ "POLICY_SIGNATURE_VERIFICATION_STATUS_UNSPECIFIED", "POLICY_SIGNATURE_VERIFICATION_DISABLED", "POLICY_SIGNATURE_VERIFICATION_SUCCEEDED", @@ -463,20 +457,20 @@ class CommonCriteriaModeInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ComplianceRule(typing_extensions.TypedDict, total=False): +class ComplianceRule(typing.TypedDict, total=False): apiLevelCondition: ApiLevelCondition disableApps: bool nonComplianceDetailCondition: NonComplianceDetailCondition packageNamesToDisable: _list[str] @typing.type_check_only -class ConnectEvent(typing_extensions.TypedDict, total=False): +class ConnectEvent(typing.TypedDict, total=False): destinationIpAddress: str destinationPort: int packageName: str @typing.type_check_only -class ContactInfo(typing_extensions.TypedDict, total=False): +class ContactInfo(typing.TypedDict, total=False): contactEmail: str dataProtectionOfficerEmail: str dataProtectionOfficerName: str @@ -486,67 +480,82 @@ class ContactInfo(typing_extensions.TypedDict, total=False): euRepresentativePhone: str @typing.type_check_only -class ContentProviderEndpoint(typing_extensions.TypedDict, total=False): +class ContentProviderEndpoint(typing.TypedDict, total=False): packageName: str signingCertsSha256: _list[str] uri: str @typing.type_check_only -class CrossProfilePolicies(typing_extensions.TypedDict, total=False): - crossProfileAppFunctions: typing_extensions.Literal[ +class CrossDevicePolicies(typing.TypedDict, total=False): + nearbyAppStreaming: typing.Literal[ + "NEARBY_APP_STREAMING_UNSPECIFIED", + "NEARBY_APP_STREAMING_USER_CHOICE", + "NEARBY_APP_STREAMING_DISABLED", + "NEARBY_APP_STREAMING_USER_CHOICE_SAME_MANAGED_ACCOUNT", + ] + nearbyNotificationStreaming: typing.Literal[ + "NEARBY_NOTIFICATION_STREAMING_UNSPECIFIED", + "NEARBY_NOTIFICATION_STREAMING_USER_CHOICE", + "NEARBY_NOTIFICATION_STREAMING_DISABLED", + "NEARBY_NOTIFICATION_STREAMING_USER_CHOICE_SAME_MANAGED_ACCOUNT", + ] + +@typing.type_check_only +class CrossProfilePolicies(typing.TypedDict, total=False): + crossProfileAppFunctions: typing.Literal[ "CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED", "CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED", "CROSS_PROFILE_APP_FUNCTIONS_ALLOWED", ] - crossProfileCopyPaste: typing_extensions.Literal[ + crossProfileCopyPaste: typing.Literal[ "CROSS_PROFILE_COPY_PASTE_UNSPECIFIED", "COPY_FROM_WORK_TO_PERSONAL_DISALLOWED", "CROSS_PROFILE_COPY_PASTE_ALLOWED", ] - crossProfileDataSharing: typing_extensions.Literal[ + crossProfileDataSharing: typing.Literal[ "CROSS_PROFILE_DATA_SHARING_UNSPECIFIED", "CROSS_PROFILE_DATA_SHARING_DISALLOWED", "DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED", "CROSS_PROFILE_DATA_SHARING_ALLOWED", ] exemptionsToShowWorkContactsInPersonalProfile: PackageNameList - showWorkContactsInPersonalProfile: typing_extensions.Literal[ + showWorkContactsInPersonalProfile: typing.Literal[ "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED", "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED", "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED", "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM", ] - workProfileWidgetsDefault: typing_extensions.Literal[ + workProfileWidgetsDefault: typing.Literal[ "WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED", "WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED", "WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED", ] @typing.type_check_only -class CryptoSelfTestCompletedEvent(typing_extensions.TypedDict, total=False): +class CryptoSelfTestCompletedEvent(typing.TypedDict, total=False): success: bool @typing.type_check_only -class CustomAppConfig(typing_extensions.TypedDict, total=False): - userUninstallSettings: typing_extensions.Literal[ +class CustomAppConfig(typing.TypedDict, total=False): + userUninstallSettings: typing.Literal[ "USER_UNINSTALL_SETTINGS_UNSPECIFIED", "DISALLOW_UNINSTALL_BY_USER", "ALLOW_UNINSTALL_BY_USER", ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DefaultApplication(typing_extensions.TypedDict, total=False): +class DefaultApplication(typing.TypedDict, total=False): packageName: str @typing.type_check_only -class DefaultApplicationContext(typing_extensions.TypedDict, total=False): - defaultApplicationScope: typing_extensions.Literal[ +class DefaultApplicationContext(typing.TypedDict, total=False): + defaultApplicationScope: typing.Literal[ "DEFAULT_APPLICATION_SCOPE_UNSPECIFIED", "SCOPE_FULLY_MANAGED", "SCOPE_WORK_PROFILE", @@ -554,9 +563,9 @@ class DefaultApplicationContext(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DefaultApplicationInfo(typing_extensions.TypedDict, total=False): +class DefaultApplicationInfo(typing.TypedDict, total=False): defaultApplicationSettingAttempts: _list[DefaultApplicationSettingAttempt] - defaultApplicationType: typing_extensions.Literal[ + defaultApplicationType: typing.Literal[ "DEFAULT_APPLICATION_TYPE_UNSPECIFIED", "DEFAULT_ASSISTANT", "DEFAULT_BROWSER", @@ -570,16 +579,16 @@ class DefaultApplicationInfo(typing_extensions.TypedDict, total=False): packageName: str @typing.type_check_only -class DefaultApplicationSetting(typing_extensions.TypedDict, total=False): +class DefaultApplicationSetting(typing.TypedDict, total=False): defaultApplicationScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEFAULT_APPLICATION_SCOPE_UNSPECIFIED", "SCOPE_FULLY_MANAGED", "SCOPE_WORK_PROFILE", "SCOPE_PERSONAL_PROFILE", ] ] - defaultApplicationType: typing_extensions.Literal[ + defaultApplicationType: typing.Literal[ "DEFAULT_APPLICATION_TYPE_UNSPECIFIED", "DEFAULT_ASSISTANT", "DEFAULT_BROWSER", @@ -593,8 +602,8 @@ class DefaultApplicationSetting(typing_extensions.TypedDict, total=False): defaultApplications: _list[DefaultApplication] @typing.type_check_only -class DefaultApplicationSettingAttempt(typing_extensions.TypedDict, total=False): - attemptOutcome: typing_extensions.Literal[ +class DefaultApplicationSettingAttempt(typing.TypedDict, total=False): + attemptOutcome: typing.Literal[ "ATTEMPT_OUTCOME_UNSPECIFIED", "SUCCESS", "APP_NOT_INSTALLED", @@ -604,13 +613,13 @@ class DefaultApplicationSettingAttempt(typing_extensions.TypedDict, total=False) packageName: str @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): apiLevel: int applicationReports: _list[ApplicationReport] appliedPasswordPolicies: _list[PasswordRequirements] appliedPolicyName: str appliedPolicyVersion: str - appliedState: typing_extensions.Literal[ + appliedState: typing.Literal[ "DEVICE_STATE_UNSPECIFIED", "ACTIVE", "DISABLED", @@ -634,7 +643,7 @@ class Device(typing_extensions.TypedDict, total=False): lastPolicyComplianceReportTime: str lastPolicySyncTime: str lastStatusReportTime: str - managementMode: typing_extensions.Literal[ + managementMode: typing.Literal[ "MANAGEMENT_MODE_UNSPECIFIED", "DEVICE_OWNER", "PROFILE_OWNER" ] memoryEvents: _list[MemoryEvent] @@ -642,7 +651,7 @@ class Device(typing_extensions.TypedDict, total=False): name: str networkInfo: NetworkInfo nonComplianceDetails: _list[NonComplianceDetail] - ownership: typing_extensions.Literal[ + ownership: typing.Literal[ "OWNERSHIP_UNSPECIFIED", "COMPANY_OWNED", "PERSONALLY_OWNED" ] policyCompliant: bool @@ -651,7 +660,7 @@ class Device(typing_extensions.TypedDict, total=False): previousDeviceNames: _list[str] securityPosture: SecurityPosture softwareInfo: SoftwareInfo - state: typing_extensions.Literal[ + state: typing.Literal[ "DEVICE_STATE_UNSPECIFIED", "ACTIVE", "DISABLED", @@ -666,14 +675,14 @@ class Device(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class DeviceConnectivityManagement(typing_extensions.TypedDict, total=False): +class DeviceConnectivityManagement(typing.TypedDict, total=False): apnPolicy: ApnPolicy - bluetoothSharing: typing_extensions.Literal[ + bluetoothSharing: typing.Literal[ "BLUETOOTH_SHARING_UNSPECIFIED", "BLUETOOTH_SHARING_ALLOWED", "BLUETOOTH_SHARING_DISALLOWED", ] - configureWifi: typing_extensions.Literal[ + configureWifi: typing.Literal[ "CONFIGURE_WIFI_UNSPECIFIED", "ALLOW_CONFIGURING_WIFI", "DISALLOW_ADD_WIFI_CONFIG", @@ -681,54 +690,54 @@ class DeviceConnectivityManagement(typing_extensions.TypedDict, total=False): ] preferentialNetworkServiceSettings: PreferentialNetworkServiceSettings privateDnsSettings: PrivateDnsSettings - tetheringSettings: typing_extensions.Literal[ + tetheringSettings: typing.Literal[ "TETHERING_SETTINGS_UNSPECIFIED", "ALLOW_ALL_TETHERING", "DISALLOW_WIFI_TETHERING", "DISALLOW_ALL_TETHERING", ] - usbDataAccess: typing_extensions.Literal[ + usbDataAccess: typing.Literal[ "USB_DATA_ACCESS_UNSPECIFIED", "ALLOW_USB_DATA_TRANSFER", "DISALLOW_USB_FILE_TRANSFER", "DISALLOW_USB_DATA_TRANSFER", ] - wifiDirectSettings: typing_extensions.Literal[ + wifiDirectSettings: typing.Literal[ "WIFI_DIRECT_SETTINGS_UNSPECIFIED", "ALLOW_WIFI_DIRECT", "DISALLOW_WIFI_DIRECT" ] wifiRoamingPolicy: WifiRoamingPolicy wifiSsidPolicy: WifiSsidPolicy @typing.type_check_only -class DeviceRadioState(typing_extensions.TypedDict, total=False): - airplaneModeState: typing_extensions.Literal[ +class DeviceRadioState(typing.TypedDict, total=False): + airplaneModeState: typing.Literal[ "AIRPLANE_MODE_STATE_UNSPECIFIED", "AIRPLANE_MODE_USER_CHOICE", "AIRPLANE_MODE_DISABLED", ] - cellularTwoGState: typing_extensions.Literal[ + cellularTwoGState: typing.Literal[ "CELLULAR_TWO_G_STATE_UNSPECIFIED", "CELLULAR_TWO_G_USER_CHOICE", "CELLULAR_TWO_G_DISABLED", ] - minimumWifiSecurityLevel: typing_extensions.Literal[ + minimumWifiSecurityLevel: typing.Literal[ "MINIMUM_WIFI_SECURITY_LEVEL_UNSPECIFIED", "OPEN_NETWORK_SECURITY", "PERSONAL_NETWORK_SECURITY", "ENTERPRISE_NETWORK_SECURITY", "ENTERPRISE_BIT192_NETWORK_SECURITY", ] - ultraWidebandState: typing_extensions.Literal[ + ultraWidebandState: typing.Literal[ "ULTRA_WIDEBAND_STATE_UNSPECIFIED", "ULTRA_WIDEBAND_USER_CHOICE", "ULTRA_WIDEBAND_DISABLED", ] - userInitiatedAddEsimSettings: typing_extensions.Literal[ + userInitiatedAddEsimSettings: typing.Literal[ "USER_INITIATED_ADD_ESIM_SETTINGS_UNSPECIFIED", "USER_INITIATED_ADD_ESIM_ALLOWED", "USER_INITIATED_ADD_ESIM_DISALLOWED", ] - wifiState: typing_extensions.Literal[ + wifiState: typing.Literal[ "WIFI_STATE_UNSPECIFIED", "WIFI_STATE_USER_CHOICE", "WIFI_ENABLED", @@ -736,10 +745,10 @@ class DeviceRadioState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DeviceSettings(typing_extensions.TypedDict, total=False): +class DeviceSettings(typing.TypedDict, total=False): adbEnabled: bool developmentSettingsEnabled: bool - encryptionStatus: typing_extensions.Literal[ + encryptionStatus: typing.Literal[ "ENCRYPTION_STATUS_UNSPECIFIED", "UNSUPPORTED", "INACTIVE", @@ -754,52 +763,50 @@ class DeviceSettings(typing_extensions.TypedDict, total=False): verifyAppsEnabled: bool @typing.type_check_only -class Display(typing_extensions.TypedDict, total=False): +class Display(typing.TypedDict, total=False): density: int displayId: int height: int name: str refreshRate: int - state: typing_extensions.Literal[ - "DISPLAY_STATE_UNSPECIFIED", "OFF", "ON", "DOZE", "SUSPENDED" - ] + state: typing.Literal["DISPLAY_STATE_UNSPECIFIED", "OFF", "ON", "DOZE", "SUSPENDED"] width: int @typing.type_check_only -class DisplaySettings(typing_extensions.TypedDict, total=False): +class DisplaySettings(typing.TypedDict, total=False): screenBrightnessSettings: ScreenBrightnessSettings screenTimeoutSettings: ScreenTimeoutSettings @typing.type_check_only -class DnsEvent(typing_extensions.TypedDict, total=False): +class DnsEvent(typing.TypedDict, total=False): hostname: str ipAddresses: _list[str] packageName: str totalIpAddressesReturned: str @typing.type_check_only -class DpcMigrationInfo(typing_extensions.TypedDict, total=False): +class DpcMigrationInfo(typing.TypedDict, total=False): additionalData: str previousDpc: str @typing.type_check_only -class Eid(typing_extensions.TypedDict, total=False): +class Eid(typing.TypedDict, total=False): eid: str @typing.type_check_only -class EidInfo(typing_extensions.TypedDict, total=False): +class EidInfo(typing.TypedDict, total=False): eids: _list[Eid] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnrollmentCompleteEvent(typing_extensions.TypedDict, total=False): ... +class EnrollmentCompleteEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class EnrollmentToken(typing_extensions.TypedDict, total=False): +class EnrollmentToken(typing.TypedDict, total=False): additionalData: str - allowPersonalUsage: typing_extensions.Literal[ + allowPersonalUsage: typing.Literal[ "ALLOW_PERSONAL_USAGE_UNSPECIFIED", "PERSONAL_USAGE_ALLOWED", "PERSONAL_USAGE_DISALLOWED", @@ -816,11 +823,11 @@ class EnrollmentToken(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Enterprise(typing_extensions.TypedDict, total=False): +class Enterprise(typing.TypedDict, total=False): appAutoApprovalEnabled: bool contactInfo: ContactInfo enabledNotificationTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "NOTIFICATION_TYPE_UNSPECIFIED", "ENROLLMENT", "COMPLIANCE_REPORT", @@ -831,17 +838,17 @@ class Enterprise(typing_extensions.TypedDict, total=False): ] ] enterpriseDisplayName: str - enterpriseType: typing_extensions.Literal[ + enterpriseType: typing.Literal[ "ENTERPRISE_TYPE_UNSPECIFIED", "MANAGED_GOOGLE_DOMAIN", "MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE", ] googleAuthenticationSettings: GoogleAuthenticationSettings logo: ExternalData - managedGoogleDomainType: typing_extensions.Literal[ + managedGoogleDomainType: typing.Literal[ "MANAGED_GOOGLE_DOMAIN_TYPE_UNSPECIFIED", "TYPE_TEAM", "TYPE_DOMAIN" ] - managedGooglePlayAccountsEnterpriseType: typing_extensions.Literal[ + managedGooglePlayAccountsEnterpriseType: typing.Literal[ "MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE_TYPE_UNSPECIFIED", "CUSTOMER_MANAGED", "EMM_MANAGED", @@ -853,17 +860,15 @@ class Enterprise(typing_extensions.TypedDict, total=False): termsAndConditions: _list[TermsAndConditions] @typing.type_check_only -class EnterpriseUpgradeEvent(typing_extensions.TypedDict, total=False): +class EnterpriseUpgradeEvent(typing.TypedDict, total=False): enterprise: str - upgradeState: typing_extensions.Literal[ - "UPGRADE_STATE_UNSPECIFIED", "UPGRADE_STATE_SUCCEEDED" - ] + upgradeState: typing.Literal["UPGRADE_STATE_UNSPECIFIED", "UPGRADE_STATE_SUCCEEDED"] @typing.type_check_only -class EsimCommandStatus(typing_extensions.TypedDict, total=False): +class EsimCommandStatus(typing.TypedDict, total=False): esimInfo: EsimInfo internalErrorDetails: InternalErrorDetails - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "SUCCESS", "IN_PROGRESS", @@ -876,60 +881,60 @@ class EsimCommandStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EsimInfo(typing_extensions.TypedDict, total=False): +class EsimInfo(typing.TypedDict, total=False): iccId: str @typing.type_check_only -class EuiccChipInfo(typing_extensions.TypedDict, total=False): +class EuiccChipInfo(typing.TypedDict, total=False): eid: str @typing.type_check_only -class ExtensionConfig(typing_extensions.TypedDict, total=False): +class ExtensionConfig(typing.TypedDict, total=False): notificationReceiver: str signingKeyFingerprintsSha256: _list[str] @typing.type_check_only -class ExternalData(typing_extensions.TypedDict, total=False): +class ExternalData(typing.TypedDict, total=False): sha256Hash: str url: str @typing.type_check_only -class FilePulledEvent(typing_extensions.TypedDict, total=False): +class FilePulledEvent(typing.TypedDict, total=False): filePath: str @typing.type_check_only -class FilePushedEvent(typing_extensions.TypedDict, total=False): +class FilePushedEvent(typing.TypedDict, total=False): filePath: str @typing.type_check_only -class FreezePeriod(typing_extensions.TypedDict, total=False): +class FreezePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class GenerateEnterpriseUpgradeUrlRequest(typing_extensions.TypedDict, total=False): +class GenerateEnterpriseUpgradeUrlRequest(typing.TypedDict, total=False): adminEmail: str allowedDomains: _list[str] @typing.type_check_only -class GenerateEnterpriseUpgradeUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateEnterpriseUpgradeUrlResponse(typing.TypedDict, total=False): url: str @typing.type_check_only -class GoogleAuthenticationOptions(typing_extensions.TypedDict, total=False): - authenticationRequirement: typing_extensions.Literal[ +class GoogleAuthenticationOptions(typing.TypedDict, total=False): + authenticationRequirement: typing.Literal[ "AUTHENTICATION_REQUIREMENT_UNSPECIFIED", "OPTIONAL", "REQUIRED" ] requiredAccountEmail: str @typing.type_check_only -class GoogleAuthenticationSettings(typing_extensions.TypedDict, total=False): - googleAuthenticationRequired: typing_extensions.Literal[ +class GoogleAuthenticationSettings(typing.TypedDict, total=False): + googleAuthenticationRequired: typing.Literal[ "GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED", "NOT_REQUIRED", "REQUIRED" ] @typing.type_check_only -class HardwareInfo(typing_extensions.TypedDict, total=False): +class HardwareInfo(typing.TypedDict, total=False): batteryShutdownTemperatures: _list[float] batteryThrottlingTemperatures: _list[float] brand: str @@ -948,7 +953,7 @@ class HardwareInfo(typing_extensions.TypedDict, total=False): skinThrottlingTemperatures: _list[float] @typing.type_check_only -class HardwareStatus(typing_extensions.TypedDict, total=False): +class HardwareStatus(typing.TypedDict, total=False): batteryTemperatures: _list[float] cpuTemperatures: _list[float] cpuUsages: _list[float] @@ -958,27 +963,27 @@ class HardwareStatus(typing_extensions.TypedDict, total=False): skinTemperatures: _list[float] @typing.type_check_only -class InstallConstraint(typing_extensions.TypedDict, total=False): - chargingConstraint: typing_extensions.Literal[ +class InstallConstraint(typing.TypedDict, total=False): + chargingConstraint: typing.Literal[ "CHARGING_CONSTRAINT_UNSPECIFIED", "CHARGING_NOT_REQUIRED", "INSTALL_ONLY_WHEN_CHARGING", ] - deviceIdleConstraint: typing_extensions.Literal[ + deviceIdleConstraint: typing.Literal[ "DEVICE_IDLE_CONSTRAINT_UNSPECIFIED", "DEVICE_IDLE_NOT_REQUIRED", "INSTALL_ONLY_WHEN_DEVICE_IDLE", ] - networkTypeConstraint: typing_extensions.Literal[ + networkTypeConstraint: typing.Literal[ "NETWORK_TYPE_CONSTRAINT_UNSPECIFIED", "INSTALL_ON_ANY_NETWORK", "INSTALL_ONLY_ON_UNMETERED_NETWORK", ] @typing.type_check_only -class InternalErrorDetails(typing_extensions.TypedDict, total=False): +class InternalErrorDetails(typing.TypedDict, total=False): errorCode: str - errorCodeDetail: typing_extensions.Literal[ + errorCodeDetail: typing.Literal[ "ERROR_CODE_DETAIL_UNSPECIFIED", "ERROR_TIME_OUT", "ERROR_EUICC_MISSING", @@ -1000,7 +1005,7 @@ class InternalErrorDetails(typing_extensions.TypedDict, total=False): "ERROR_SIM_MISSING", ] operationCode: str - operationCodeDetail: typing_extensions.Literal[ + operationCodeDetail: typing.Literal[ "OPERATION_CODE_DETAIL_UNSPECIFIED", "OPERATION_SYSTEM", "OPERATION_SIM_SLOT", @@ -1016,75 +1021,75 @@ class InternalErrorDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IssueCommandResponse(typing_extensions.TypedDict, total=False): ... +class IssueCommandResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class KeyDestructionEvent(typing_extensions.TypedDict, total=False): +class KeyDestructionEvent(typing.TypedDict, total=False): applicationUid: int keyAlias: str success: bool @typing.type_check_only -class KeyGeneratedEvent(typing_extensions.TypedDict, total=False): +class KeyGeneratedEvent(typing.TypedDict, total=False): applicationUid: int keyAlias: str success: bool @typing.type_check_only -class KeyImportEvent(typing_extensions.TypedDict, total=False): +class KeyImportEvent(typing.TypedDict, total=False): applicationUid: int keyAlias: str success: bool @typing.type_check_only -class KeyIntegrityViolationEvent(typing_extensions.TypedDict, total=False): +class KeyIntegrityViolationEvent(typing.TypedDict, total=False): applicationUid: int keyAlias: str @typing.type_check_only -class KeyedAppState(typing_extensions.TypedDict, total=False): +class KeyedAppState(typing.TypedDict, total=False): createTime: str data: str key: str lastUpdateTime: str message: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "INFO", "ERROR"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "INFO", "ERROR"] @typing.type_check_only -class KeyguardDismissAuthAttemptEvent(typing_extensions.TypedDict, total=False): +class KeyguardDismissAuthAttemptEvent(typing.TypedDict, total=False): strongAuthMethodUsed: bool success: bool @typing.type_check_only -class KeyguardDismissedEvent(typing_extensions.TypedDict, total=False): ... +class KeyguardDismissedEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class KeyguardSecuredEvent(typing_extensions.TypedDict, total=False): ... +class KeyguardSecuredEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class KioskCustomization(typing_extensions.TypedDict, total=False): - deviceSettings: typing_extensions.Literal[ +class KioskCustomization(typing.TypedDict, total=False): + deviceSettings: typing.Literal[ "DEVICE_SETTINGS_UNSPECIFIED", "SETTINGS_ACCESS_ALLOWED", "SETTINGS_ACCESS_BLOCKED", ] - powerButtonActions: typing_extensions.Literal[ + powerButtonActions: typing.Literal[ "POWER_BUTTON_ACTIONS_UNSPECIFIED", "POWER_BUTTON_AVAILABLE", "POWER_BUTTON_BLOCKED", ] - statusBar: typing_extensions.Literal[ + statusBar: typing.Literal[ "STATUS_BAR_UNSPECIFIED", "NOTIFICATIONS_AND_SYSTEM_INFO_ENABLED", "NOTIFICATIONS_AND_SYSTEM_INFO_DISABLED", "SYSTEM_INFO_ONLY", ] - systemErrorWarnings: typing_extensions.Literal[ + systemErrorWarnings: typing.Literal[ "SYSTEM_ERROR_WARNINGS_UNSPECIFIED", "ERROR_AND_WARNINGS_ENABLED", "ERROR_AND_WARNINGS_MUTED", ] - systemNavigation: typing_extensions.Literal[ + systemNavigation: typing.Literal[ "SYSTEM_NAVIGATION_UNSPECIFIED", "NAVIGATION_ENABLED", "NAVIGATION_DISABLED", @@ -1092,81 +1097,81 @@ class KioskCustomization(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LaunchAppAction(typing_extensions.TypedDict, total=False): +class LaunchAppAction(typing.TypedDict, total=False): packageName: str @typing.type_check_only -class ListDevicesResponse(typing_extensions.TypedDict, total=False): +class ListDevicesResponse(typing.TypedDict, total=False): devices: _list[Device] nextPageToken: str @typing.type_check_only -class ListEnrollmentTokensResponse(typing_extensions.TypedDict, total=False): +class ListEnrollmentTokensResponse(typing.TypedDict, total=False): enrollmentTokens: _list[EnrollmentToken] nextPageToken: str @typing.type_check_only -class ListEnterprisesResponse(typing_extensions.TypedDict, total=False): +class ListEnterprisesResponse(typing.TypedDict, total=False): enterprises: _list[Enterprise] nextPageToken: str @typing.type_check_only -class ListMigrationTokensResponse(typing_extensions.TypedDict, total=False): +class ListMigrationTokensResponse(typing.TypedDict, total=False): migrationTokens: _list[MigrationToken] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[Policy] @typing.type_check_only -class ListWebAppsResponse(typing_extensions.TypedDict, total=False): +class ListWebAppsResponse(typing.TypedDict, total=False): nextPageToken: str webApps: _list[WebApp] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LogBufferSizeCriticalEvent(typing_extensions.TypedDict, total=False): ... +class LogBufferSizeCriticalEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class LoggingStartedEvent(typing_extensions.TypedDict, total=False): ... +class LoggingStartedEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class LoggingStoppedEvent(typing_extensions.TypedDict, total=False): ... +class LoggingStoppedEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class LostModeLocationEvent(typing_extensions.TypedDict, total=False): +class LostModeLocationEvent(typing.TypedDict, total=False): batteryLevel: int location: Location @typing.type_check_only -class LostModeOutgoingPhoneCallEvent(typing_extensions.TypedDict, total=False): ... +class LostModeOutgoingPhoneCallEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class ManagedConfigurationTemplate(typing_extensions.TypedDict, total=False): +class ManagedConfigurationTemplate(typing.TypedDict, total=False): configurationVariables: dict[str, typing.Any] templateId: str @typing.type_check_only -class ManagedProperty(typing_extensions.TypedDict, total=False): +class ManagedProperty(typing.TypedDict, total=False): defaultValue: typing.Any description: str entries: _list[ManagedPropertyEntry] key: str nestedProperties: _list[ManagedProperty] title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "MANAGED_PROPERTY_TYPE_UNSPECIFIED", "BOOL", "STRING", @@ -1179,25 +1184,25 @@ class ManagedProperty(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ManagedPropertyEntry(typing_extensions.TypedDict, total=False): +class ManagedPropertyEntry(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class MediaMountEvent(typing_extensions.TypedDict, total=False): +class MediaMountEvent(typing.TypedDict, total=False): mountPoint: str volumeLabel: str @typing.type_check_only -class MediaUnmountEvent(typing_extensions.TypedDict, total=False): +class MediaUnmountEvent(typing.TypedDict, total=False): mountPoint: str volumeLabel: str @typing.type_check_only -class MemoryEvent(typing_extensions.TypedDict, total=False): +class MemoryEvent(typing.TypedDict, total=False): byteCount: str createTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "MEMORY_EVENT_TYPE_UNSPECIFIED", "RAM_MEASURED", "INTERNAL_STORAGE_MEASURED", @@ -1207,18 +1212,18 @@ class MemoryEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MemoryInfo(typing_extensions.TypedDict, total=False): +class MemoryInfo(typing.TypedDict, total=False): totalInternalStorage: str totalRam: str @typing.type_check_only -class MigrationToken(typing_extensions.TypedDict, total=False): +class MigrationToken(typing.TypedDict, total=False): additionalData: str createTime: str device: str deviceId: str expireTime: str - managementMode: typing_extensions.Literal[ + managementMode: typing.Literal[ "MANAGEMENT_MODE_UNSPECIFIED", "WORK_PROFILE_PERSONALLY_OWNED", "WORK_PROFILE_COMPANY_OWNED", @@ -1231,15 +1236,15 @@ class MigrationToken(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class ModifyPolicyApplicationsRequest(typing_extensions.TypedDict, total=False): +class ModifyPolicyApplicationsRequest(typing.TypedDict, total=False): changes: _list[ApplicationPolicyChange] @typing.type_check_only -class ModifyPolicyApplicationsResponse(typing_extensions.TypedDict, total=False): +class ModifyPolicyApplicationsResponse(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class NetworkInfo(typing_extensions.TypedDict, total=False): +class NetworkInfo(typing.TypedDict, total=False): imei: str meid: str networkOperatorName: str @@ -1247,10 +1252,10 @@ class NetworkInfo(typing_extensions.TypedDict, total=False): wifiMacAddress: str @typing.type_check_only -class NonComplianceDetail(typing_extensions.TypedDict, total=False): +class NonComplianceDetail(typing.TypedDict, total=False): currentValue: typing.Any fieldPath: str - installationFailureReason: typing_extensions.Literal[ + installationFailureReason: typing.Literal[ "INSTALLATION_FAILURE_REASON_UNSPECIFIED", "INSTALLATION_FAILURE_REASON_UNKNOWN", "IN_PROGRESS", @@ -1265,7 +1270,7 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): "NETWORK_ERROR_UNRELIABLE_CONNECTION", "INSUFFICIENT_STORAGE", ] - nonComplianceReason: typing_extensions.Literal[ + nonComplianceReason: typing.Literal[ "NON_COMPLIANCE_REASON_UNSPECIFIED", "API_LEVEL", "MANAGEMENT_MODE", @@ -1284,7 +1289,7 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): packageName: str settingName: str specificNonComplianceContext: SpecificNonComplianceContext - specificNonComplianceReason: typing_extensions.Literal[ + specificNonComplianceReason: typing.Literal[ "SPECIFIC_NON_COMPLIANCE_REASON_UNSPECIFIED", "PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED", "PASSWORD_POLICIES_PASSWORD_EXPIRED", @@ -1303,8 +1308,8 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NonComplianceDetailCondition(typing_extensions.TypedDict, total=False): - nonComplianceReason: typing_extensions.Literal[ +class NonComplianceDetailCondition(typing.TypedDict, total=False): + nonComplianceReason: typing.Literal[ "NON_COMPLIANCE_REASON_UNSPECIFIED", "API_LEVEL", "MANAGEMENT_MODE", @@ -1324,16 +1329,16 @@ class NonComplianceDetailCondition(typing_extensions.TypedDict, total=False): settingName: str @typing.type_check_only -class OncCertificateProvider(typing_extensions.TypedDict, total=False): +class OncCertificateProvider(typing.TypedDict, total=False): certificateReferences: _list[str] contentProviderEndpoint: ContentProviderEndpoint @typing.type_check_only -class OncWifiContext(typing_extensions.TypedDict, total=False): +class OncWifiContext(typing.TypedDict, total=False): wifiGuid: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1341,29 +1346,29 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OsShutdownEvent(typing_extensions.TypedDict, total=False): ... +class OsShutdownEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class OsStartupEvent(typing_extensions.TypedDict, total=False): - verifiedBootState: typing_extensions.Literal[ +class OsStartupEvent(typing.TypedDict, total=False): + verifiedBootState: typing.Literal[ "VERIFIED_BOOT_STATE_UNSPECIFIED", "GREEN", "YELLOW", "ORANGE" ] - verityMode: typing_extensions.Literal[ + verityMode: typing.Literal[ "DM_VERITY_MODE_UNSPECIFIED", "ENFORCING", "IO_ERROR", "DISABLED" ] @typing.type_check_only -class PackageNameList(typing_extensions.TypedDict, total=False): +class PackageNameList(typing.TypedDict, total=False): packageNames: _list[str] @typing.type_check_only -class PasswordPoliciesContext(typing_extensions.TypedDict, total=False): - passwordPolicyScope: typing_extensions.Literal[ +class PasswordPoliciesContext(typing.TypedDict, total=False): + passwordPolicyScope: typing.Literal[ "SCOPE_UNSPECIFIED", "SCOPE_DEVICE", "SCOPE_PROFILE" ] @typing.type_check_only -class PasswordRequirements(typing_extensions.TypedDict, total=False): +class PasswordRequirements(typing.TypedDict, total=False): maximumFailedPasswordsForWipe: int passwordExpirationTimeout: str passwordHistoryLength: int @@ -1374,7 +1379,7 @@ class PasswordRequirements(typing_extensions.TypedDict, total=False): passwordMinimumNumeric: int passwordMinimumSymbols: int passwordMinimumUpperCase: int - passwordQuality: typing_extensions.Literal[ + passwordQuality: typing.Literal[ "PASSWORD_QUALITY_UNSPECIFIED", "BIOMETRIC_WEAK", "SOMETHING", @@ -1387,23 +1392,21 @@ class PasswordRequirements(typing_extensions.TypedDict, total=False): "COMPLEXITY_MEDIUM", "COMPLEXITY_HIGH", ] - passwordScope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_DEVICE", "SCOPE_PROFILE" - ] - requirePasswordUnlock: typing_extensions.Literal[ + passwordScope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_DEVICE", "SCOPE_PROFILE"] + requirePasswordUnlock: typing.Literal[ "REQUIRE_PASSWORD_UNLOCK_UNSPECIFIED", "USE_DEFAULT_DEVICE_TIMEOUT", "REQUIRE_EVERY_DAY", ] - unifiedLockSettings: typing_extensions.Literal[ + unifiedLockSettings: typing.Literal[ "UNIFIED_LOCK_SETTINGS_UNSPECIFIED", "ALLOW_UNIFIED_WORK_AND_PERSONAL_LOCK", "REQUIRE_SEPARATE_WORK_LOCK", ] @typing.type_check_only -class PerAppResult(typing_extensions.TypedDict, total=False): - clearingResult: typing_extensions.Literal[ +class PerAppResult(typing.TypedDict, total=False): + clearingResult: typing.Literal[ "CLEARING_RESULT_UNSPECIFIED", "SUCCESS", "APP_NOT_FOUND", @@ -1412,29 +1415,25 @@ class PerAppResult(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PermissionGrant(typing_extensions.TypedDict, total=False): +class PermissionGrant(typing.TypedDict, total=False): permission: str - policy: typing_extensions.Literal[ - "PERMISSION_POLICY_UNSPECIFIED", "PROMPT", "GRANT", "DENY" - ] + policy: typing.Literal["PERMISSION_POLICY_UNSPECIFIED", "PROMPT", "GRANT", "DENY"] @typing.type_check_only -class PersistentPreferredActivity(typing_extensions.TypedDict, total=False): +class PersistentPreferredActivity(typing.TypedDict, total=False): actions: _list[str] categories: _list[str] receiverActivity: str @typing.type_check_only -class PersonalApplicationPolicy(typing_extensions.TypedDict, total=False): - installType: typing_extensions.Literal[ - "INSTALL_TYPE_UNSPECIFIED", "BLOCKED", "AVAILABLE" - ] +class PersonalApplicationPolicy(typing.TypedDict, total=False): + installType: typing.Literal["INSTALL_TYPE_UNSPECIFIED", "BLOCKED", "AVAILABLE"] packageName: str @typing.type_check_only -class PersonalUsagePolicies(typing_extensions.TypedDict, total=False): +class PersonalUsagePolicies(typing.TypedDict, total=False): accountTypesWithManagementDisabled: _list[str] - bluetoothSharing: typing_extensions.Literal[ + bluetoothSharing: typing.Literal[ "BLUETOOTH_SHARING_UNSPECIFIED", "BLUETOOTH_SHARING_ALLOWED", "BLUETOOTH_SHARING_DISALLOWED", @@ -1442,10 +1441,10 @@ class PersonalUsagePolicies(typing_extensions.TypedDict, total=False): cameraDisabled: bool maxDaysWithWorkOff: int personalApplications: _list[PersonalApplicationPolicy] - personalPlayStoreMode: typing_extensions.Literal[ + personalPlayStoreMode: typing.Literal[ "PLAY_STORE_MODE_UNSPECIFIED", "BLACKLIST", "BLOCKLIST", "ALLOWLIST" ] - privateSpacePolicy: typing_extensions.Literal[ + privateSpacePolicy: typing.Literal[ "PRIVATE_SPACE_POLICY_UNSPECIFIED", "PRIVATE_SPACE_ALLOWED", "PRIVATE_SPACE_DISALLOWED", @@ -1453,45 +1452,45 @@ class PersonalUsagePolicies(typing_extensions.TypedDict, total=False): screenCaptureDisabled: bool @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): accountTypesWithManagementDisabled: _list[str] addUserDisabled: bool adjustVolumeDisabled: bool advancedSecurityOverrides: AdvancedSecurityOverrides alwaysOnVpnPackage: AlwaysOnVpnPackage androidDevicePolicyTracks: _list[ - typing_extensions.Literal["APP_TRACK_UNSPECIFIED", "PRODUCTION", "BETA"] + typing.Literal["APP_TRACK_UNSPECIFIED", "PRODUCTION", "BETA"] ] - appAutoUpdatePolicy: typing_extensions.Literal[ + appAutoUpdatePolicy: typing.Literal[ "APP_AUTO_UPDATE_POLICY_UNSPECIFIED", "CHOICE_TO_THE_USER", "NEVER", "WIFI_ONLY", "ALWAYS", ] - appFunctions: typing_extensions.Literal[ + appFunctions: typing.Literal[ "APP_FUNCTIONS_UNSPECIFIED", "APP_FUNCTIONS_DISALLOWED", "APP_FUNCTIONS_ALLOWED" ] applications: _list[ApplicationPolicy] - assistContentPolicy: typing_extensions.Literal[ + assistContentPolicy: typing.Literal[ "ASSIST_CONTENT_POLICY_UNSPECIFIED", "ASSIST_CONTENT_DISALLOWED", "ASSIST_CONTENT_ALLOWED", ] - autoDateAndTimeZone: typing_extensions.Literal[ + autoDateAndTimeZone: typing.Literal[ "AUTO_DATE_AND_TIME_ZONE_UNSPECIFIED", "AUTO_DATE_AND_TIME_ZONE_USER_CHOICE", "AUTO_DATE_AND_TIME_ZONE_ENFORCED", ] autoTimeRequired: bool - autofillPolicy: typing_extensions.Literal[ + autofillPolicy: typing.Literal[ "AUTOFILL_POLICY_UNSPECIFIED", "AUTOFILL_USER_CHOICE", "AUTOFILL_DISABLED" ] blockApplicationsEnabled: bool bluetoothConfigDisabled: bool bluetoothContactSharingDisabled: bool bluetoothDisabled: bool - cameraAccess: typing_extensions.Literal[ + cameraAccess: typing.Literal[ "CAMERA_ACCESS_UNSPECIFIED", "CAMERA_ACCESS_USER_CHOICE", "CAMERA_ACCESS_DISABLED", @@ -1502,30 +1501,31 @@ class Policy(typing_extensions.TypedDict, total=False): choosePrivateKeyRules: _list[ChoosePrivateKeyRule] complianceRules: _list[ComplianceRule] createWindowsDisabled: bool - credentialProviderPolicyDefault: typing_extensions.Literal[ + credentialProviderPolicyDefault: typing.Literal[ "CREDENTIAL_PROVIDER_POLICY_DEFAULT_UNSPECIFIED", "CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED", "CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED_EXCEPT_SYSTEM", ] credentialsConfigDisabled: bool + crossDevicePolicies: CrossDevicePolicies crossProfilePolicies: CrossProfilePolicies dataRoamingDisabled: bool debuggingFeaturesAllowed: bool defaultApplicationSettings: _list[DefaultApplicationSetting] - defaultPermissionPolicy: typing_extensions.Literal[ + defaultPermissionPolicy: typing.Literal[ "PERMISSION_POLICY_UNSPECIFIED", "PROMPT", "GRANT", "DENY" ] deviceConnectivityManagement: DeviceConnectivityManagement deviceOwnerLockScreenInfo: UserFacingMessage deviceRadioState: DeviceRadioState displaySettings: DisplaySettings - encryptionPolicy: typing_extensions.Literal[ + encryptionPolicy: typing.Literal[ "ENCRYPTION_POLICY_UNSPECIFIED", "ENABLED_WITHOUT_PASSWORD", "ENABLED_WITH_PASSWORD", ] ensureVerifyAppsEnabled: bool - enterpriseDisplayNameVisibility: typing_extensions.Literal[ + enterpriseDisplayNameVisibility: typing.Literal[ "ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED", "ENTERPRISE_DISPLAY_NAME_VISIBLE", "ENTERPRISE_DISPLAY_NAME_HIDDEN", @@ -1537,7 +1537,7 @@ class Policy(typing_extensions.TypedDict, total=False): installUnknownSourcesAllowed: bool keyguardDisabled: bool keyguardDisabledFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "KEYGUARD_DISABLED_FEATURE_UNSPECIFIED", "CAMERA", "NOTIFICATIONS", @@ -1554,7 +1554,7 @@ class Policy(typing_extensions.TypedDict, total=False): ] kioskCustomLauncherEnabled: bool kioskCustomization: KioskCustomization - locationMode: typing_extensions.Literal[ + locationMode: typing.Literal[ "LOCATION_MODE_UNSPECIFIED", "HIGH_ACCURACY", "SENSORS_ONLY", @@ -1566,7 +1566,7 @@ class Policy(typing_extensions.TypedDict, total=False): ] longSupportMessage: UserFacingMessage maximumTimeToLock: str - microphoneAccess: typing_extensions.Literal[ + microphoneAccess: typing.Literal[ "MICROPHONE_ACCESS_UNSPECIFIED", "MICROPHONE_ACCESS_USER_CHOICE", "MICROPHONE_ACCESS_DISABLED", @@ -1590,16 +1590,16 @@ class Policy(typing_extensions.TypedDict, total=False): permittedInputMethods: PackageNameList persistentPreferredActivities: _list[PersistentPreferredActivity] personalUsagePolicies: PersonalUsagePolicies - playStoreMode: typing_extensions.Literal[ + playStoreMode: typing.Literal[ "PLAY_STORE_MODE_UNSPECIFIED", "WHITELIST", "BLACKLIST" ] policyEnforcementRules: _list[PolicyEnforcementRule] - preferentialNetworkService: typing_extensions.Literal[ + preferentialNetworkService: typing.Literal[ "PREFERENTIAL_NETWORK_SERVICE_UNSPECIFIED", "PREFERENTIAL_NETWORK_SERVICE_DISABLED", "PREFERENTIAL_NETWORK_SERVICE_ENABLED", ] - printingPolicy: typing_extensions.Literal[ + printingPolicy: typing.Literal[ "PRINTING_POLICY_UNSPECIFIED", "PRINTING_DISALLOWED", "PRINTING_ALLOWED" ] privateKeySelectionEnabled: bool @@ -1617,9 +1617,7 @@ class Policy(typing_extensions.TypedDict, total=False): statusBarDisabled: bool statusReportingSettings: StatusReportingSettings stayOnPluggedModes: _list[ - typing_extensions.Literal[ - "BATTERY_PLUGGED_MODE_UNSPECIFIED", "AC", "USB", "WIRELESS" - ] + typing.Literal["BATTERY_PLUGGED_MODE_UNSPECIFIED", "AC", "USB", "WIRELESS"] ] systemUpdate: SystemUpdate tetheringConfigDisabled: bool @@ -1632,21 +1630,19 @@ class Policy(typing_extensions.TypedDict, total=False): vpnConfigDisabled: bool wifiConfigDisabled: bool wifiConfigsLockdownEnabled: bool - wipeDataFlags: _list[ - typing_extensions.Literal["WIPE_DATA_FLAG_UNSPECIFIED", "WIPE_ESIMS"] - ] + wipeDataFlags: _list[typing.Literal["WIPE_DATA_FLAG_UNSPECIFIED", "WIPE_ESIMS"]] workAccountSetupConfig: WorkAccountSetupConfig @typing.type_check_only -class PolicyEnforcementRule(typing_extensions.TypedDict, total=False): +class PolicyEnforcementRule(typing.TypedDict, total=False): blockAction: BlockAction settingName: str wipeAction: WipeAction @typing.type_check_only -class PostureDetail(typing_extensions.TypedDict, total=False): +class PostureDetail(typing.TypedDict, total=False): advice: _list[UserFacingMessage] - securityRisk: typing_extensions.Literal[ + securityRisk: typing.Literal[ "SECURITY_RISK_UNSPECIFIED", "UNKNOWN_OS", "COMPROMISED_OS", @@ -1654,10 +1650,10 @@ class PostureDetail(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PowerManagementEvent(typing_extensions.TypedDict, total=False): +class PowerManagementEvent(typing.TypedDict, total=False): batteryLevel: float createTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", "BATTERY_LEVEL_COLLECTED", "POWER_CONNECTED", @@ -1669,18 +1665,18 @@ class PowerManagementEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PreferentialNetworkServiceConfig(typing_extensions.TypedDict, total=False): - fallbackToDefaultConnection: typing_extensions.Literal[ +class PreferentialNetworkServiceConfig(typing.TypedDict, total=False): + fallbackToDefaultConnection: typing.Literal[ "FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED", "FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED", "FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED", ] - nonMatchingNetworks: typing_extensions.Literal[ + nonMatchingNetworks: typing.Literal[ "NON_MATCHING_NETWORKS_UNSPECIFIED", "NON_MATCHING_NETWORKS_ALLOWED", "NON_MATCHING_NETWORKS_DISALLOWED", ] - preferentialNetworkId: typing_extensions.Literal[ + preferentialNetworkId: typing.Literal[ "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", "NO_PREFERENTIAL_NETWORK", "PREFERENTIAL_NETWORK_ID_ONE", @@ -1691,8 +1687,8 @@ class PreferentialNetworkServiceConfig(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class PreferentialNetworkServiceSettings(typing_extensions.TypedDict, total=False): - defaultPreferentialNetworkId: typing_extensions.Literal[ +class PreferentialNetworkServiceSettings(typing.TypedDict, total=False): + defaultPreferentialNetworkId: typing.Literal[ "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", "NO_PREFERENTIAL_NETWORK", "PREFERENTIAL_NETWORK_ID_ONE", @@ -1704,9 +1700,9 @@ class PreferentialNetworkServiceSettings(typing_extensions.TypedDict, total=Fals preferentialNetworkServiceConfigs: _list[PreferentialNetworkServiceConfig] @typing.type_check_only -class PrivateDnsSettings(typing_extensions.TypedDict, total=False): +class PrivateDnsSettings(typing.TypedDict, total=False): privateDnsHost: str - privateDnsMode: typing_extensions.Literal[ + privateDnsMode: typing.Literal[ "PRIVATE_DNS_MODE_UNSPECIFIED", "PRIVATE_DNS_USER_CHOICE", "PRIVATE_DNS_AUTOMATIC", @@ -1714,56 +1710,56 @@ class PrivateDnsSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProvisioningInfo(typing_extensions.TypedDict, total=False): +class ProvisioningInfo(typing.TypedDict, total=False): apiLevel: int authenticatedUserEmail: str brand: str enterprise: str imei: str - managementMode: typing_extensions.Literal[ + managementMode: typing.Literal[ "MANAGEMENT_MODE_UNSPECIFIED", "DEVICE_OWNER", "PROFILE_OWNER" ] meid: str model: str name: str - ownership: typing_extensions.Literal[ + ownership: typing.Literal[ "OWNERSHIP_UNSPECIFIED", "COMPANY_OWNED", "PERSONALLY_OWNED" ] serialNumber: str @typing.type_check_only -class ProxyInfo(typing_extensions.TypedDict, total=False): +class ProxyInfo(typing.TypedDict, total=False): excludedHosts: _list[str] host: str pacUri: str port: int @typing.type_check_only -class RemoteLockEvent(typing_extensions.TypedDict, total=False): +class RemoteLockEvent(typing.TypedDict, total=False): adminPackageName: str adminUserId: int targetUserId: int @typing.type_check_only -class RemoveEsimParams(typing_extensions.TypedDict, total=False): +class RemoveEsimParams(typing.TypedDict, total=False): iccId: str @typing.type_check_only -class RemovePolicyApplicationsRequest(typing_extensions.TypedDict, total=False): +class RemovePolicyApplicationsRequest(typing.TypedDict, total=False): packageNames: _list[str] @typing.type_check_only -class RemovePolicyApplicationsResponse(typing_extensions.TypedDict, total=False): +class RemovePolicyApplicationsResponse(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class RequestDeviceInfoParams(typing_extensions.TypedDict, total=False): - deviceInfo: typing_extensions.Literal["DEVICE_INFO_UNSPECIFIED", "EID"] +class RequestDeviceInfoParams(typing.TypedDict, total=False): + deviceInfo: typing.Literal["DEVICE_INFO_UNSPECIFIED", "EID"] @typing.type_check_only -class RequestDeviceInfoStatus(typing_extensions.TypedDict, total=False): +class RequestDeviceInfoStatus(typing.TypedDict, total=False): eidInfo: EidInfo - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "SUCCEEDED", "PENDING_USER_ACTION", @@ -1772,8 +1768,8 @@ class RequestDeviceInfoStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): - roleType: typing_extensions.Literal[ +class Role(typing.TypedDict, total=False): + roleType: typing.Literal[ "ROLE_TYPE_UNSPECIFIED", "COMPANION_APP", "KIOSK", @@ -1782,9 +1778,9 @@ class Role(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ScreenBrightnessSettings(typing_extensions.TypedDict, total=False): +class ScreenBrightnessSettings(typing.TypedDict, total=False): screenBrightness: int - screenBrightnessMode: typing_extensions.Literal[ + screenBrightnessMode: typing.Literal[ "SCREEN_BRIGHTNESS_MODE_UNSPECIFIED", "BRIGHTNESS_USER_CHOICE", "BRIGHTNESS_AUTOMATIC", @@ -1792,36 +1788,36 @@ class ScreenBrightnessSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ScreenTimeoutSettings(typing_extensions.TypedDict, total=False): +class ScreenTimeoutSettings(typing.TypedDict, total=False): screenTimeout: str - screenTimeoutMode: typing_extensions.Literal[ + screenTimeoutMode: typing.Literal[ "SCREEN_TIMEOUT_MODE_UNSPECIFIED", "SCREEN_TIMEOUT_USER_CHOICE", "SCREEN_TIMEOUT_ENFORCED", ] @typing.type_check_only -class SecurityPosture(typing_extensions.TypedDict, total=False): - devicePosture: typing_extensions.Literal[ +class SecurityPosture(typing.TypedDict, total=False): + devicePosture: typing.Literal[ "POSTURE_UNSPECIFIED", "SECURE", "AT_RISK", "POTENTIALLY_COMPROMISED" ] postureDetails: _list[PostureDetail] @typing.type_check_only -class SetupAction(typing_extensions.TypedDict, total=False): +class SetupAction(typing.TypedDict, total=False): description: UserFacingMessage launchApp: LaunchAppAction title: UserFacingMessage @typing.type_check_only -class SigninDetail(typing_extensions.TypedDict, total=False): - allowPersonalUsage: typing_extensions.Literal[ +class SigninDetail(typing.TypedDict, total=False): + allowPersonalUsage: typing.Literal[ "ALLOW_PERSONAL_USAGE_UNSPECIFIED", "PERSONAL_USAGE_ALLOWED", "PERSONAL_USAGE_DISALLOWED", "PERSONAL_USAGE_DISALLOWED_USERLESS", ] - defaultStatus: typing_extensions.Literal[ + defaultStatus: typing.Literal[ "SIGNIN_DETAIL_DEFAULT_STATUS_UNSPECIFIED", "SIGNIN_DETAIL_IS_DEFAULT", "SIGNIN_DETAIL_IS_NOT_DEFAULT", @@ -1833,18 +1829,18 @@ class SigninDetail(typing_extensions.TypedDict, total=False): tokenTag: str @typing.type_check_only -class SigninDetailGoogleAuthenticationOptions(typing_extensions.TypedDict, total=False): - authenticationRequirement: typing_extensions.Literal[ +class SigninDetailGoogleAuthenticationOptions(typing.TypedDict, total=False): + authenticationRequirement: typing.Literal[ "AUTHENTICATION_REQUIREMENT_UNSPECIFIED", "OPTIONAL", "REQUIRED" ] @typing.type_check_only -class SignupUrl(typing_extensions.TypedDict, total=False): +class SignupUrl(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class SoftwareInfo(typing_extensions.TypedDict, total=False): +class SoftwareInfo(typing.TypedDict, total=False): androidBuildNumber: str androidBuildTime: str androidDevicePolicyVersionCode: int @@ -1858,13 +1854,13 @@ class SoftwareInfo(typing_extensions.TypedDict, total=False): systemUpdateInfo: SystemUpdateInfo @typing.type_check_only -class SpecificNonComplianceContext(typing_extensions.TypedDict, total=False): +class SpecificNonComplianceContext(typing.TypedDict, total=False): defaultApplicationContext: DefaultApplicationContext oncWifiContext: OncWifiContext passwordPoliciesContext: PasswordPoliciesContext @typing.type_check_only -class StartLostModeParams(typing_extensions.TypedDict, total=False): +class StartLostModeParams(typing.TypedDict, total=False): lostEmailAddress: str lostMessage: UserFacingMessage lostOrganization: UserFacingMessage @@ -1872,8 +1868,8 @@ class StartLostModeParams(typing_extensions.TypedDict, total=False): lostStreetAddress: UserFacingMessage @typing.type_check_only -class StartLostModeStatus(typing_extensions.TypedDict, total=False): - status: typing_extensions.Literal[ +class StartLostModeStatus(typing.TypedDict, total=False): + status: typing.Literal[ "STATUS_UNSPECIFIED", "SUCCESS", "RESET_PASSWORD_RECENTLY", @@ -1882,13 +1878,13 @@ class StartLostModeStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusReportingSettings(typing_extensions.TypedDict, total=False): +class StatusReportingSettings(typing.TypedDict, total=False): applicationReportingSettings: ApplicationReportingSettings applicationReportsEnabled: bool commonCriteriaModeEnabled: bool @@ -1903,33 +1899,29 @@ class StatusReportingSettings(typing_extensions.TypedDict, total=False): systemPropertiesEnabled: bool @typing.type_check_only -class StopLostModeParams(typing_extensions.TypedDict, total=False): ... +class StopLostModeParams(typing.TypedDict, total=False): ... @typing.type_check_only -class StopLostModeStatus(typing_extensions.TypedDict, total=False): - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "SUCCESS", "NOT_IN_LOST_MODE" - ] +class StopLostModeStatus(typing.TypedDict, total=False): + status: typing.Literal["STATUS_UNSPECIFIED", "SUCCESS", "NOT_IN_LOST_MODE"] @typing.type_check_only -class StopLostModeUserAttemptEvent(typing_extensions.TypedDict, total=False): - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "ATTEMPT_SUCCEEDED", "ATTEMPT_FAILED" - ] +class StopLostModeUserAttemptEvent(typing.TypedDict, total=False): + status: typing.Literal["STATUS_UNSPECIFIED", "ATTEMPT_SUCCEEDED", "ATTEMPT_FAILED"] @typing.type_check_only -class SystemUpdate(typing_extensions.TypedDict, total=False): +class SystemUpdate(typing.TypedDict, total=False): endMinutes: int freezePeriods: _list[FreezePeriod] startMinutes: int - type: typing_extensions.Literal[ + type: typing.Literal[ "SYSTEM_UPDATE_TYPE_UNSPECIFIED", "AUTOMATIC", "WINDOWED", "POSTPONE" ] @typing.type_check_only -class SystemUpdateInfo(typing_extensions.TypedDict, total=False): +class SystemUpdateInfo(typing.TypedDict, total=False): updateReceivedTime: str - updateStatus: typing_extensions.Literal[ + updateStatus: typing.Literal[ "UPDATE_STATUS_UNKNOWN", "UP_TO_DATE", "UNKNOWN_UPDATE_AVAILABLE", @@ -1938,37 +1930,33 @@ class SystemUpdateInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TelephonyInfo(typing_extensions.TypedDict, total=False): - activationState: typing_extensions.Literal[ +class TelephonyInfo(typing.TypedDict, total=False): + activationState: typing.Literal[ "ACTIVATION_STATE_UNSPECIFIED", "ACTIVATED", "NOT_ACTIVATED" ] carrierName: str - configMode: typing_extensions.Literal[ + configMode: typing.Literal[ "CONFIG_MODE_UNSPECIFIED", "ADMIN_CONFIGURED", "USER_CONFIGURED" ] iccId: str phoneNumber: str @typing.type_check_only -class TermsAndConditions(typing_extensions.TypedDict, total=False): +class TermsAndConditions(typing.TypedDict, total=False): content: UserFacingMessage header: UserFacingMessage @typing.type_check_only -class UsageLog(typing_extensions.TypedDict, total=False): +class UsageLog(typing.TypedDict, total=False): enabledLogTypes: _list[ - typing_extensions.Literal[ - "LOG_TYPE_UNSPECIFIED", "SECURITY_LOGS", "NETWORK_ACTIVITY_LOGS" - ] + typing.Literal["LOG_TYPE_UNSPECIFIED", "SECURITY_LOGS", "NETWORK_ACTIVITY_LOGS"] ] uploadOnCellularAllowed: _list[ - typing_extensions.Literal[ - "LOG_TYPE_UNSPECIFIED", "SECURITY_LOGS", "NETWORK_ACTIVITY_LOGS" - ] + typing.Literal["LOG_TYPE_UNSPECIFIED", "SECURITY_LOGS", "NETWORK_ACTIVITY_LOGS"] ] @typing.type_check_only -class UsageLogEvent(typing_extensions.TypedDict, total=False): +class UsageLogEvent(typing.TypedDict, total=False): adbShellCommandEvent: AdbShellCommandEvent adbShellInteractiveEvent: AdbShellInteractiveEvent appProcessStartEvent: AppProcessStartEvent @@ -1982,7 +1970,7 @@ class UsageLogEvent(typing_extensions.TypedDict, total=False): enrollmentCompleteEvent: EnrollmentCompleteEvent eventId: str eventTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "ADB_SHELL_COMMAND", "ADB_SHELL_INTERACTIVE", @@ -2040,17 +2028,17 @@ class UsageLogEvent(typing_extensions.TypedDict, total=False): wipeFailureEvent: WipeFailureEvent @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): accountIdentifier: str @typing.type_check_only -class UserFacingMessage(typing_extensions.TypedDict, total=False): +class UserFacingMessage(typing.TypedDict, total=False): defaultMessage: str localizedMessages: dict[str, typing.Any] @typing.type_check_only -class WebApp(typing_extensions.TypedDict, total=False): - displayMode: typing_extensions.Literal[ +class WebApp(typing.TypedDict, total=False): + displayMode: typing.Literal[ "DISPLAY_MODE_UNSPECIFIED", "MINIMAL_UI", "STANDALONE", "FULL_SCREEN" ] icons: _list[WebAppIcon] @@ -2060,13 +2048,13 @@ class WebApp(typing_extensions.TypedDict, total=False): versionCode: str @typing.type_check_only -class WebAppIcon(typing_extensions.TypedDict, total=False): +class WebAppIcon(typing.TypedDict, total=False): imageData: str @typing.type_check_only -class WebToken(typing_extensions.TypedDict, total=False): +class WebToken(typing.TypedDict, total=False): enabledFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "FEATURE_UNSPECIFIED", "PLAY_SEARCH", "PRIVATE_APPS", @@ -2079,17 +2067,17 @@ class WebToken(typing_extensions.TypedDict, total=False): name: str parentFrameUrl: str permissions: _list[ - typing_extensions.Literal["WEB_TOKEN_PERMISSION_UNSPECIFIED", "APPROVE_APPS"] + typing.Literal["WEB_TOKEN_PERMISSION_UNSPECIFIED", "APPROVE_APPS"] ] value: str @typing.type_check_only -class WifiRoamingPolicy(typing_extensions.TypedDict, total=False): +class WifiRoamingPolicy(typing.TypedDict, total=False): wifiRoamingSettings: _list[WifiRoamingSetting] @typing.type_check_only -class WifiRoamingSetting(typing_extensions.TypedDict, total=False): - wifiRoamingMode: typing_extensions.Literal[ +class WifiRoamingSetting(typing.TypedDict, total=False): + wifiRoamingMode: typing.Literal[ "WIFI_ROAMING_MODE_UNSPECIFIED", "WIFI_ROAMING_DISABLED", "WIFI_ROAMING_DEFAULT", @@ -2098,28 +2086,28 @@ class WifiRoamingSetting(typing_extensions.TypedDict, total=False): wifiSsid: str @typing.type_check_only -class WifiSsid(typing_extensions.TypedDict, total=False): +class WifiSsid(typing.TypedDict, total=False): wifiSsid: str @typing.type_check_only -class WifiSsidPolicy(typing_extensions.TypedDict, total=False): - wifiSsidPolicyType: typing_extensions.Literal[ +class WifiSsidPolicy(typing.TypedDict, total=False): + wifiSsidPolicyType: typing.Literal[ "WIFI_SSID_POLICY_TYPE_UNSPECIFIED", "WIFI_SSID_DENYLIST", "WIFI_SSID_ALLOWLIST" ] wifiSsids: _list[WifiSsid] @typing.type_check_only -class WipeAction(typing_extensions.TypedDict, total=False): +class WipeAction(typing.TypedDict, total=False): preserveFrp: bool wipeAfterDays: int @typing.type_check_only -class WipeFailureEvent(typing_extensions.TypedDict, total=False): ... +class WipeFailureEvent(typing.TypedDict, total=False): ... @typing.type_check_only -class WipeParams(typing_extensions.TypedDict, total=False): +class WipeParams(typing.TypedDict, total=False): wipeDataFlags: _list[ - typing_extensions.Literal[ + typing.Literal[ "WIPE_DATA_FLAG_UNSPECIFIED", "PRESERVE_RESET_PROTECTION_DATA", "WIPE_EXTERNAL_STORAGE", @@ -2129,8 +2117,8 @@ class WipeParams(typing_extensions.TypedDict, total=False): wipeReason: UserFacingMessage @typing.type_check_only -class WorkAccountSetupConfig(typing_extensions.TypedDict, total=False): - authenticationType: typing_extensions.Literal[ +class WorkAccountSetupConfig(typing.TypedDict, total=False): + authenticationType: typing.Literal[ "AUTHENTICATION_TYPE_UNSPECIFIED", "AUTHENTICATION_TYPE_NOT_ENFORCED", "GOOGLE_AUTHENTICATED", diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi index 43f1ec64b..6832d2d1e 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -103,6 +102,88 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ListAppRecoveriesResponseHttpRequest: ... + @typing.type_check_only + class AppstoreappsreviewResource(googleapiclient.discovery.Resource): + def createappstorehostedapp( + self, + *, + appStorePackageName: str, + body: CreateAppStoreHostedAppRequest, + **kwargs: typing.Any, + ) -> CreateAppStoreHostedAppResponseHttpRequest: ... + def updateappstorehostedapp( + self, + *, + appStorePackageName: str, + body: UpdateAppStoreHostedAppRequest, + **kwargs: typing.Any, + ) -> UpdateAppStoreHostedAppResponseHttpRequest: ... + def updateappstorehostedapppublishstatus( + self, + *, + appStorePackageName: str, + packageName: str, + body: UpdateAppStoreHostedAppPublishStatusRequest, + **kwargs: typing.Any, + ) -> UpdateAppStoreHostedAppPublishStatusResponseHttpRequest: ... + def uploadapk( + self, + *, + appStorePackageName: str, + packageName: str, + body: UploadApkRequest, + **kwargs: typing.Any, + ) -> UploadApkResponseHttpRequest: ... + def uploadappstoreapppolicydeclarationfile( + self, + *, + appStorePackageName: str, + packageName: str, + body: UploadAppStoreAppPolicyDeclarationFileRequest, + **kwargs: typing.Any, + ) -> UploadAppStoreAppPolicyDeclarationFileResponseHttpRequest: ... + def uploadimage( + self, + *, + appStorePackageName: str, + packageName: str, + body: UploadImageRequest, + **kwargs: typing.Any, + ) -> UploadImageResponseHttpRequest: ... + + @typing.type_check_only + class AppstorecatalogResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RecentappviewsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + appStorePackageName: str, + playAppPackageName: str, + **kwargs: typing.Any, + ) -> RecentAppViewHttpRequest: ... + + @typing.type_check_only + class RecentupdateeventsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + appStorePackageName: str, + endTime: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + startTime: str | None = ..., + **kwargs: typing.Any, + ) -> ListRecentUpdateEventsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRecentUpdateEventsResponseHttpRequest, + previous_response: ListRecentUpdateEventsResponse, + ) -> ListRecentUpdateEventsResponseHttpRequest | None: ... + + def recentappviews(self) -> RecentappviewsResource: ... + def recentupdateevents(self) -> RecentupdateeventsResource: ... + @typing.type_check_only class EditsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -151,7 +232,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, apkVersionCode: int, - deobfuscationFileType: typing_extensions.Literal[ + deobfuscationFileType: typing.Literal[ "deobfuscationFileTypeUnspecified", "proguard", "nativeCode" ], **kwargs: typing.Any, @@ -187,7 +268,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, apkVersionCode: int, - expansionFileType: typing_extensions.Literal[ + expansionFileType: typing.Literal[ "expansionFileTypeUnspecified", "main", "patch" ], **kwargs: typing.Any, @@ -198,7 +279,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, apkVersionCode: int, - expansionFileType: typing_extensions.Literal[ + expansionFileType: typing.Literal[ "expansionFileTypeUnspecified", "main", "patch" ], body: ExpansionFile, @@ -210,7 +291,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, apkVersionCode: int, - expansionFileType: typing_extensions.Literal[ + expansionFileType: typing.Literal[ "expansionFileTypeUnspecified", "main", "patch" ], body: ExpansionFile, @@ -222,7 +303,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, apkVersionCode: int, - expansionFileType: typing_extensions.Literal[ + expansionFileType: typing.Literal[ "expansionFileTypeUnspecified", "main", "patch" ], **kwargs: typing.Any, @@ -236,7 +317,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, language: str, - imageType: typing_extensions.Literal[ + imageType: typing.Literal[ "appImageTypeUnspecified", "phoneScreenshots", "sevenInchScreenshots", @@ -256,7 +337,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, language: str, - imageType: typing_extensions.Literal[ + imageType: typing.Literal[ "appImageTypeUnspecified", "phoneScreenshots", "sevenInchScreenshots", @@ -275,7 +356,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, language: str, - imageType: typing_extensions.Literal[ + imageType: typing.Literal[ "appImageTypeUnspecified", "phoneScreenshots", "sevenInchScreenshots", @@ -294,7 +375,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): packageName: str, editId: str, language: str, - imageType: typing_extensions.Literal[ + imageType: typing.Literal[ "appImageTypeUnspecified", "phoneScreenshots", "sevenInchScreenshots", @@ -305,7 +386,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): "featureGraphic", "tvBanner", ], - aiGeneratedState: typing_extensions.Literal[ + aiGeneratedState: typing.Literal[ "aiGeneratedStateUnspecified", "aiGeneratedStateNotAiGenerated", "aiGeneratedStateAiGeneratedDeveloperAttested", @@ -421,7 +502,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): *, packageName: str, editId: str, - changesInReviewBehavior: typing_extensions.Literal[ + changesInReviewBehavior: typing.Literal[ "CHANGES_IN_REVIEW_BEHAVIOR_TYPE_UNSPECIFIED", "CANCEL_IN_REVIEW_AND_SUBMIT", "ERROR_IF_IN_REVIEW", @@ -541,7 +622,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): *, packageName: str, sku: str, - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -576,7 +657,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): sku: str, body: InAppProduct, autoConvertMissingPrices: bool | None = ..., - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -592,7 +673,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): body: InAppProduct, allowMissing: bool | None = ..., autoConvertMissingPrices: bool | None = ..., - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -744,7 +825,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): *, packageName: str, productId: str, - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -775,7 +856,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): productId: str, body: OneTimeProduct, allowMissing: bool | None = ..., - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -893,7 +974,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): offerId: str, body: SubscriptionOffer, allowMissing: bool | None = ..., - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -1015,7 +1096,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): productId: str, body: Subscription, allowMissing: bool | None = ..., - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -1057,6 +1138,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): @@ -1122,30 +1211,6 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): body: SubscriptionPurchasesDeferRequest, **kwargs: typing.Any, ) -> SubscriptionPurchasesDeferResponseHttpRequest: ... - def get( - self, - *, - packageName: str, - subscriptionId: str, - token: str, - **kwargs: typing.Any, - ) -> SubscriptionPurchaseHttpRequest: ... - def refund( - self, - *, - packageName: str, - subscriptionId: str, - token: str, - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def revoke( - self, - *, - packageName: str, - subscriptionId: str, - token: str, - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... @typing.type_check_only class Subscriptionsv2Resource(googleapiclient.discovery.Resource): @@ -1314,6 +1379,8 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def applications(self) -> ApplicationsResource: ... def apprecovery(self) -> ApprecoveryResource: ... + def appstoreappsreview(self) -> AppstoreappsreviewResource: ... + def appstorecatalog(self) -> AppstorecatalogResource: ... def edits(self) -> EditsResource: ... def externaltransactions(self) -> ExternaltransactionsResource: ... def generatedapks(self) -> GeneratedapksResource: ... @@ -1545,6 +1612,14 @@ class ConvertRegionPricesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ConvertRegionPricesResponse: ... +@typing.type_check_only +class CreateAppStoreHostedAppResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CreateAppStoreHostedAppResponse: ... + @typing.type_check_only class DeferSubscriptionPurchaseResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1713,6 +1788,14 @@ class ListOneTimeProductsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOneTimeProductsResponse: ... +@typing.type_check_only +class ListRecentUpdateEventsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRecentUpdateEventsResponse: ... + @typing.type_check_only class ListReleaseSummariesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1809,6 +1892,14 @@ class ProductPurchaseV2HttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ProductPurchaseV2: ... +@typing.type_check_only +class RecentAppViewHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RecentAppView: ... + @typing.type_check_only class ReviewHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1865,14 +1956,6 @@ class SubscriptionOfferHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SubscriptionOffer: ... -@typing.type_check_only -class SubscriptionPurchaseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> SubscriptionPurchase: ... - @typing.type_check_only class SubscriptionPurchaseV2HttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1929,6 +2012,50 @@ class TracksListResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> TracksListResponse: ... +@typing.type_check_only +class UpdateAppStoreHostedAppPublishStatusResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UpdateAppStoreHostedAppPublishStatusResponse: ... + +@typing.type_check_only +class UpdateAppStoreHostedAppResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UpdateAppStoreHostedAppResponse: ... + +@typing.type_check_only +class UploadApkResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UploadApkResponse: ... + +@typing.type_check_only +class UploadAppStoreAppPolicyDeclarationFileResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UploadAppStoreAppPolicyDeclarationFileResponse: ... + +@typing.type_check_only +class UploadImageResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UploadImageResponse: ... + @typing.type_check_only class UserHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi index 0065dc011..5e8fee487 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Abi(typing_extensions.TypedDict, total=False): - alias: typing_extensions.Literal[ +class Abi(typing.TypedDict, total=False): + alias: typing.Literal[ "UNSPECIFIED_CPU_ARCHITECTURE", "ARMEABI", "ARMEABI_V7A", @@ -17,18 +15,18 @@ class Abi(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AbiTargeting(typing_extensions.TypedDict, total=False): +class AbiTargeting(typing.TypedDict, total=False): alternatives: _list[Abi] value: _list[Abi] @typing.type_check_only -class AcquisitionTargetingRule(typing_extensions.TypedDict, total=False): +class AcquisitionTargetingRule(typing.TypedDict, total=False): scope: TargetingRuleScope @typing.type_check_only -class ActivateBasePlanRequest(typing_extensions.TypedDict, total=False): +class ActivateBasePlanRequest(typing.TypedDict, total=False): basePlanId: str - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -37,8 +35,8 @@ class ActivateBasePlanRequest(typing_extensions.TypedDict, total=False): productId: str @typing.type_check_only -class ActivateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class ActivateOneTimeProductOfferRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -49,8 +47,8 @@ class ActivateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=Fals purchaseOptionId: str @typing.type_check_only -class ActivatePurchaseOptionRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class ActivatePurchaseOptionRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -60,9 +58,9 @@ class ActivatePurchaseOptionRequest(typing_extensions.TypedDict, total=False): purchaseOptionId: str @typing.type_check_only -class ActivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): +class ActivateSubscriptionOfferRequest(typing.TypedDict, total=False): basePlanId: str - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -72,32 +70,32 @@ class ActivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False) productId: str @typing.type_check_only -class AddTargetingRequest(typing_extensions.TypedDict, total=False): +class AddTargetingRequest(typing.TypedDict, total=False): targetingUpdate: TargetingUpdate @typing.type_check_only -class AddTargetingResponse(typing_extensions.TypedDict, total=False): ... +class AddTargetingResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AllUsers(typing_extensions.TypedDict, total=False): +class AllUsers(typing.TypedDict, total=False): isAllUsersRequested: bool @typing.type_check_only -class AndroidSdks(typing_extensions.TypedDict, total=False): +class AndroidSdks(typing.TypedDict, total=False): sdkLevels: _list[str] @typing.type_check_only -class Apk(typing_extensions.TypedDict, total=False): +class Apk(typing.TypedDict, total=False): binary: ApkBinary versionCode: int @typing.type_check_only -class ApkBinary(typing_extensions.TypedDict, total=False): +class ApkBinary(typing.TypedDict, total=False): sha1: str sha256: str @typing.type_check_only -class ApkDescription(typing_extensions.TypedDict, total=False): +class ApkDescription(typing.TypedDict, total=False): assetSliceMetadata: SplitApkMetadata instantApkMetadata: SplitApkMetadata path: str @@ -106,12 +104,12 @@ class ApkDescription(typing_extensions.TypedDict, total=False): targeting: ApkTargeting @typing.type_check_only -class ApkSet(typing_extensions.TypedDict, total=False): +class ApkSet(typing.TypedDict, total=False): apkDescription: _list[ApkDescription] moduleMetadata: ModuleMetadata @typing.type_check_only -class ApkTargeting(typing_extensions.TypedDict, total=False): +class ApkTargeting(typing.TypedDict, total=False): abiTargeting: AbiTargeting languageTargeting: LanguageTargeting multiAbiTargeting: MultiAbiTargeting @@ -120,39 +118,45 @@ class ApkTargeting(typing_extensions.TypedDict, total=False): textureCompressionFormatTargeting: TextureCompressionFormatTargeting @typing.type_check_only -class ApksAddExternallyHostedRequest(typing_extensions.TypedDict, total=False): +class ApksAddExternallyHostedRequest(typing.TypedDict, total=False): externallyHostedApk: ExternallyHostedApk @typing.type_check_only -class ApksAddExternallyHostedResponse(typing_extensions.TypedDict, total=False): +class ApksAddExternallyHostedResponse(typing.TypedDict, total=False): externallyHostedApk: ExternallyHostedApk @typing.type_check_only -class ApksListResponse(typing_extensions.TypedDict, total=False): +class ApksListResponse(typing.TypedDict, total=False): apks: _list[Apk] kind: str @typing.type_check_only -class AppDetails(typing_extensions.TypedDict, total=False): +class AppContactInformation(typing.TypedDict, total=False): + contactEmail: str + phoneNumber: str + websiteUrl: str + +@typing.type_check_only +class AppDetails(typing.TypedDict, total=False): contactEmail: str contactPhone: str contactWebsite: str defaultLanguage: str @typing.type_check_only -class AppEdit(typing_extensions.TypedDict, total=False): +class AppEdit(typing.TypedDict, total=False): expiryTimeSeconds: str id: str @typing.type_check_only -class AppRecoveryAction(typing_extensions.TypedDict, total=False): +class AppRecoveryAction(typing.TypedDict, total=False): appRecoveryId: str cancelTime: str createTime: str deployTime: str lastUpdateTime: str remoteInAppUpdateData: RemoteInAppUpdateData - status: typing_extensions.Literal[ + status: typing.Literal[ "RECOVERY_STATUS_UNSPECIFIED", "RECOVERY_STATUS_ACTIVE", "RECOVERY_STATUS_CANCELED", @@ -163,53 +167,83 @@ class AppRecoveryAction(typing_extensions.TypedDict, total=False): targeting: Targeting @typing.type_check_only -class AppVersionList(typing_extensions.TypedDict, total=False): +class AppStoreAppActiveApkSet(typing.TypedDict, total=False): + baseApkId: str + splitApkId: _list[str] + +@typing.type_check_only +class AppStoreAppActiveApks(typing.TypedDict, total=False): + activeApkSets: _list[AppStoreAppActiveApkSet] + +@typing.type_check_only +class AppStoreAppDetails(typing.TypedDict, total=False): + contactEmail: str + developerName: str + developerWebsite: str + +@typing.type_check_only +class AppStoreAppPolicyDeclaration(typing.TypedDict, total=False): + declarationId: str + responses: _list[PolicyResponse] + +@typing.type_check_only +class AppStoreAppStoreListing(typing.TypedDict, total=False): + appIconId: str + appName: str + fullDescription: str + languageCode: str + screenshotId: _list[str] + shortDescription: str + videoLink: str + +@typing.type_check_only +class AppVersionList(typing.TypedDict, total=False): versionCodes: _list[str] @typing.type_check_only -class AppVersionRange(typing_extensions.TypedDict, total=False): +class AppVersionRange(typing.TypedDict, total=False): versionCodeEnd: str versionCodeStart: str @typing.type_check_only -class ArchiveSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +class ArchiveSubscriptionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ArtifactSummary(typing_extensions.TypedDict, total=False): +class ArtifactSummary(typing.TypedDict, total=False): versionCode: int @typing.type_check_only -class AssetModuleMetadata(typing_extensions.TypedDict, total=False): - deliveryType: typing_extensions.Literal[ +class AssetModuleMetadata(typing.TypedDict, total=False): + deliveryType: typing.Literal[ "UNKNOWN_DELIVERY_TYPE", "INSTALL_TIME", "ON_DEMAND", "FAST_FOLLOW" ] name: str @typing.type_check_only -class AssetSliceSet(typing_extensions.TypedDict, total=False): +class AssetSliceSet(typing.TypedDict, total=False): apkDescription: _list[ApkDescription] assetModuleMetadata: AssetModuleMetadata @typing.type_check_only -class AutoRenewingBasePlanType(typing_extensions.TypedDict, total=False): +class AutoRenewingBasePlanType(typing.TypedDict, total=False): accountHoldDuration: str billingPeriodDuration: str gracePeriodDuration: str legacyCompatible: bool legacyCompatibleSubscriptionOfferId: str - prorationMode: typing_extensions.Literal[ + prorationMode: typing.Literal[ "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED", "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE", "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY", ] - resubscribeState: typing_extensions.Literal[ + resubscribeState: typing.Literal[ "RESUBSCRIBE_STATE_UNSPECIFIED", "RESUBSCRIBE_STATE_ACTIVE", "RESUBSCRIBE_STATE_INACTIVE", ] @typing.type_check_only -class AutoRenewingPlan(typing_extensions.TypedDict, total=False): +class AutoRenewingPlan(typing.TypedDict, total=False): autoRenewEnabled: bool installmentDetails: InstallmentPlan priceChangeDetails: SubscriptionItemPriceChangeDetails @@ -217,10 +251,10 @@ class AutoRenewingPlan(typing_extensions.TypedDict, total=False): recurringPrice: Money @typing.type_check_only -class BaseDetails(typing_extensions.TypedDict, total=False): ... +class BaseDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class BasePlan(typing_extensions.TypedDict, total=False): +class BasePlan(typing.TypedDict, total=False): autoRenewingBasePlanType: AutoRenewingBasePlanType basePlanId: str installmentsBasePlanType: InstallmentsBasePlanType @@ -228,157 +262,149 @@ class BasePlan(typing_extensions.TypedDict, total=False): otherRegionsConfig: OtherRegionsBasePlanConfig prepaidBasePlanType: PrepaidBasePlanType regionalConfigs: _list[RegionalBasePlanConfig] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE"] @typing.type_check_only -class BasePriceOfferPhase(typing_extensions.TypedDict, total=False): ... +class BasePriceOfferPhase(typing.TypedDict, total=False): ... @typing.type_check_only -class BatchDeleteOneTimeProductOffersRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteOneTimeProductOffersRequest(typing.TypedDict, total=False): requests: _list[DeleteOneTimeProductOfferRequest] @typing.type_check_only -class BatchDeleteOneTimeProductsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteOneTimeProductsRequest(typing.TypedDict, total=False): requests: _list[DeleteOneTimeProductRequest] @typing.type_check_only -class BatchDeletePurchaseOptionsRequest(typing_extensions.TypedDict, total=False): +class BatchDeletePurchaseOptionsRequest(typing.TypedDict, total=False): requests: _list[DeletePurchaseOptionRequest] @typing.type_check_only -class BatchGetOneTimeProductOffersRequest(typing_extensions.TypedDict, total=False): +class BatchGetOneTimeProductOffersRequest(typing.TypedDict, total=False): requests: _list[GetOneTimeProductOfferRequest] @typing.type_check_only -class BatchGetOneTimeProductOffersResponse(typing_extensions.TypedDict, total=False): +class BatchGetOneTimeProductOffersResponse(typing.TypedDict, total=False): oneTimeProductOffers: _list[OneTimeProductOffer] @typing.type_check_only -class BatchGetOneTimeProductsResponse(typing_extensions.TypedDict, total=False): +class BatchGetOneTimeProductsResponse(typing.TypedDict, total=False): oneTimeProducts: _list[OneTimeProduct] @typing.type_check_only -class BatchGetOrdersResponse(typing_extensions.TypedDict, total=False): +class BatchGetOrdersResponse(typing.TypedDict, total=False): orders: _list[Order] @typing.type_check_only -class BatchGetSubscriptionOffersRequest(typing_extensions.TypedDict, total=False): +class BatchGetSubscriptionOffersRequest(typing.TypedDict, total=False): requests: _list[GetSubscriptionOfferRequest] @typing.type_check_only -class BatchGetSubscriptionOffersResponse(typing_extensions.TypedDict, total=False): +class BatchGetSubscriptionOffersResponse(typing.TypedDict, total=False): subscriptionOffers: _list[SubscriptionOffer] @typing.type_check_only -class BatchGetSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class BatchGetSubscriptionsResponse(typing.TypedDict, total=False): subscriptions: _list[Subscription] @typing.type_check_only -class BatchMigrateBasePlanPricesRequest(typing_extensions.TypedDict, total=False): +class BatchMigrateBasePlanPricesRequest(typing.TypedDict, total=False): requests: _list[MigrateBasePlanPricesRequest] @typing.type_check_only -class BatchMigrateBasePlanPricesResponse(typing_extensions.TypedDict, total=False): +class BatchMigrateBasePlanPricesResponse(typing.TypedDict, total=False): responses: _list[MigrateBasePlanPricesResponse] @typing.type_check_only -class BatchUpdateBasePlanStatesRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateBasePlanStatesRequest(typing.TypedDict, total=False): requests: _list[UpdateBasePlanStateRequest] @typing.type_check_only -class BatchUpdateBasePlanStatesResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateBasePlanStatesResponse(typing.TypedDict, total=False): subscriptions: _list[Subscription] @typing.type_check_only -class BatchUpdateOneTimeProductOfferStatesRequest( - typing_extensions.TypedDict, total=False -): +class BatchUpdateOneTimeProductOfferStatesRequest(typing.TypedDict, total=False): requests: _list[UpdateOneTimeProductOfferStateRequest] @typing.type_check_only -class BatchUpdateOneTimeProductOfferStatesResponse( - typing_extensions.TypedDict, total=False -): +class BatchUpdateOneTimeProductOfferStatesResponse(typing.TypedDict, total=False): oneTimeProductOffers: _list[OneTimeProductOffer] @typing.type_check_only -class BatchUpdateOneTimeProductOffersRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateOneTimeProductOffersRequest(typing.TypedDict, total=False): requests: _list[UpdateOneTimeProductOfferRequest] @typing.type_check_only -class BatchUpdateOneTimeProductOffersResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateOneTimeProductOffersResponse(typing.TypedDict, total=False): oneTimeProductOffers: _list[OneTimeProductOffer] @typing.type_check_only -class BatchUpdateOneTimeProductsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateOneTimeProductsRequest(typing.TypedDict, total=False): requests: _list[UpdateOneTimeProductRequest] @typing.type_check_only -class BatchUpdateOneTimeProductsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateOneTimeProductsResponse(typing.TypedDict, total=False): oneTimeProducts: _list[OneTimeProduct] @typing.type_check_only -class BatchUpdatePurchaseOptionStatesRequest(typing_extensions.TypedDict, total=False): +class BatchUpdatePurchaseOptionStatesRequest(typing.TypedDict, total=False): requests: _list[UpdatePurchaseOptionStateRequest] @typing.type_check_only -class BatchUpdatePurchaseOptionStatesResponse(typing_extensions.TypedDict, total=False): +class BatchUpdatePurchaseOptionStatesResponse(typing.TypedDict, total=False): oneTimeProducts: _list[OneTimeProduct] @typing.type_check_only -class BatchUpdateSubscriptionOfferStatesRequest( - typing_extensions.TypedDict, total=False -): +class BatchUpdateSubscriptionOfferStatesRequest(typing.TypedDict, total=False): requests: _list[UpdateSubscriptionOfferStateRequest] @typing.type_check_only -class BatchUpdateSubscriptionOfferStatesResponse( - typing_extensions.TypedDict, total=False -): +class BatchUpdateSubscriptionOfferStatesResponse(typing.TypedDict, total=False): subscriptionOffers: _list[SubscriptionOffer] @typing.type_check_only -class BatchUpdateSubscriptionOffersRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateSubscriptionOffersRequest(typing.TypedDict, total=False): requests: _list[UpdateSubscriptionOfferRequest] @typing.type_check_only -class BatchUpdateSubscriptionOffersResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateSubscriptionOffersResponse(typing.TypedDict, total=False): subscriptionOffers: _list[SubscriptionOffer] @typing.type_check_only -class BatchUpdateSubscriptionsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateSubscriptionsRequest(typing.TypedDict, total=False): requests: _list[UpdateSubscriptionRequest] @typing.type_check_only -class BatchUpdateSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateSubscriptionsResponse(typing.TypedDict, total=False): subscriptions: _list[Subscription] @typing.type_check_only -class Bundle(typing_extensions.TypedDict, total=False): +class Bundle(typing.TypedDict, total=False): sha1: str sha256: str versionCode: int @typing.type_check_only -class BundlesListResponse(typing_extensions.TypedDict, total=False): +class BundlesListResponse(typing.TypedDict, total=False): bundles: _list[Bundle] kind: str @typing.type_check_only -class BuyerAddress(typing_extensions.TypedDict, total=False): +class BuyerAddress(typing.TypedDict, total=False): buyerCountry: str buyerPostcode: str buyerState: str @typing.type_check_only -class CancelAppRecoveryRequest(typing_extensions.TypedDict, total=False): ... +class CancelAppRecoveryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelAppRecoveryResponse(typing_extensions.TypedDict, total=False): ... +class CancelAppRecoveryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class CancelOneTimeProductOfferRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -389,15 +415,15 @@ class CancelOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False) purchaseOptionId: str @typing.type_check_only -class CancelSubscriptionPurchaseRequest(typing_extensions.TypedDict, total=False): +class CancelSubscriptionPurchaseRequest(typing.TypedDict, total=False): cancellationContext: CancellationContext @typing.type_check_only -class CancelSubscriptionPurchaseResponse(typing_extensions.TypedDict, total=False): ... +class CancelSubscriptionPurchaseResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelSurveyResult(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class CancelSurveyResult(typing.TypedDict, total=False): + reason: typing.Literal[ "CANCEL_SURVEY_REASON_UNSPECIFIED", "CANCEL_SURVEY_REASON_NOT_ENOUGH_USAGE", "CANCEL_SURVEY_REASON_TECHNICAL_ISSUES", @@ -408,65 +434,162 @@ class CancelSurveyResult(typing_extensions.TypedDict, total=False): reasonUserInput: str @typing.type_check_only -class CanceledStateContext(typing_extensions.TypedDict, total=False): +class CanceledStateContext(typing.TypedDict, total=False): developerInitiatedCancellation: DeveloperInitiatedCancellation replacementCancellation: ReplacementCancellation systemInitiatedCancellation: SystemInitiatedCancellation userInitiatedCancellation: UserInitiatedCancellation @typing.type_check_only -class CancellationContext(typing_extensions.TypedDict, total=False): - cancellationType: typing_extensions.Literal[ +class CancellationContext(typing.TypedDict, total=False): + cancellationType: typing.Literal[ "CANCELLATION_TYPE_UNSPECIFIED", "USER_REQUESTED_STOP_RENEWALS", "DEVELOPER_REQUESTED_STOP_PAYMENTS", ] @typing.type_check_only -class CancellationEvent(typing_extensions.TypedDict, total=False): +class CancellationEvent(typing.TypedDict, total=False): eventTime: str @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class CatalogAppView(typing.TypedDict, total=False): + activeVersionNames: _list[str] + appCategory: typing.Literal["APP_CATEGORY_UNSPECIFIED", "GAME", "APP"] + appContactInformation: AppContactInformation + appSubcategory: str + deliveryToken: str + developerDetails: DeveloperDetails + deviceCompatibilityRequirements: _list[DeviceCompatibilityRequirements] + excludedDevicesByIdentifier: _list[DeviceIdentifier] + excludedDevicesBySelector: _list[CatalogDeviceSelector] + firstReleaseDate: Date + hasInAppAds: bool + hasInAppPurchases: bool + iarcCertificateId: str + isAdultOnlyAudience: bool + lastPublishTime: str + localizedStoreListings: LocalizedStoreListings + packageName: str + permissions: _list[CatalogPermission] + permissionsSdk23: _list[CatalogPermission] + priceInTheUnitedStates: Money + privacyPolicyUrl: str + salePriceInTheUnitedStates: Money + +@typing.type_check_only +class CatalogDeviceSelector(typing.TypedDict, total=False): + deviceTypeSelector: typing.Literal["DEVICE_TYPE_SELECTOR_UNSPECIFIED", "ANDROID_GO"] + ramSelector: RamSelector + socSelectors: _list[SocSelector] + +@typing.type_check_only +class CatalogPermission(typing.TypedDict, total=False): + maxSdkVersion: int + name: str + +@typing.type_check_only +class CatalogSdkVersion(typing.TypedDict, total=False): + maxSdkVersion: str + minSdkVersion: str + targetSdkVersion: str + +@typing.type_check_only +class CoarseLocation(typing.TypedDict, total=False): + administrativeArea: str + locality: str + regionCode: str + sublocality: str + +@typing.type_check_only +class Comment(typing.TypedDict, total=False): developerComment: DeveloperComment userComment: UserComment @typing.type_check_only -class ConvertRegionPricesRequest(typing_extensions.TypedDict, total=False): +class CompatibleScreen(typing.TypedDict, total=False): + density: typing.Literal[ + "DENSITY_UNSPECIFIED", + "DENSITY_NODPI", + "DENSITY_LDPI", + "DENSITY_MDPI", + "DENSITY_TVDPI", + "DENSITY_HDPI", + "DENSITY_280", + "DENSITY_XHDPI", + "DENSITY_360", + "DENSITY_400", + "DENSITY_420", + "DENSITY_XXHDPI", + "DENSITY_560", + "DENSITY_XXXHDPI", + ] + screenSize: typing.Literal[ + "SCREEN_SIZE_UNSPECIFIED", + "SCREEN_SIZE_SMALL", + "SCREEN_SIZE_NORMAL", + "SCREEN_SIZE_LARGE", + "SCREEN_SIZE_EXTRA_LARGE", + ] + +@typing.type_check_only +class ConsumptionUsageEvent(typing.TypedDict, total=False): + consumptionItemDescription: str + consumptionTime: str + ipAddress: str + location: CoarseLocation + obfuscatedAccountId: str + obfuscatedProfileId: str + +@typing.type_check_only +class ConvertRegionPricesRequest(typing.TypedDict, total=False): price: Money productTaxCategoryCode: str @typing.type_check_only -class ConvertRegionPricesResponse(typing_extensions.TypedDict, total=False): +class ConvertRegionPricesResponse(typing.TypedDict, total=False): convertedOtherRegionsPrice: ConvertedOtherRegionsPrice convertedRegionPrices: dict[str, typing.Any] regionVersion: RegionsVersion @typing.type_check_only -class ConvertedOtherRegionsPrice(typing_extensions.TypedDict, total=False): +class ConvertedOtherRegionsPrice(typing.TypedDict, total=False): eurPrice: Money usdPrice: Money @typing.type_check_only -class ConvertedRegionPrice(typing_extensions.TypedDict, total=False): +class ConvertedRegionPrice(typing.TypedDict, total=False): price: Money regionCode: str taxAmount: Money @typing.type_check_only -class CountryTargeting(typing_extensions.TypedDict, total=False): +class CountryTargeting(typing.TypedDict, total=False): countries: _list[str] includeRestOfWorld: bool @typing.type_check_only -class CreateDraftAppRecoveryRequest(typing_extensions.TypedDict, total=False): +class CreateAppStoreHostedAppRequest(typing.TypedDict, total=False): + packageName: str + +@typing.type_check_only +class CreateAppStoreHostedAppResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class CreateDraftAppRecoveryRequest(typing.TypedDict, total=False): remoteInAppUpdate: RemoteInAppUpdate targeting: Targeting @typing.type_check_only -class DeactivateBasePlanRequest(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): + day: int + month: int + year: int + +@typing.type_check_only +class DeactivateBasePlanRequest(typing.TypedDict, total=False): basePlanId: str - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -475,8 +598,8 @@ class DeactivateBasePlanRequest(typing_extensions.TypedDict, total=False): productId: str @typing.type_check_only -class DeactivateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class DeactivateOneTimeProductOfferRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -487,8 +610,8 @@ class DeactivateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=Fa purchaseOptionId: str @typing.type_check_only -class DeactivatePurchaseOptionRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class DeactivatePurchaseOptionRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -498,9 +621,9 @@ class DeactivatePurchaseOptionRequest(typing_extensions.TypedDict, total=False): purchaseOptionId: str @typing.type_check_only -class DeactivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): +class DeactivateSubscriptionOfferRequest(typing.TypedDict, total=False): basePlanId: str - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -510,29 +633,29 @@ class DeactivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=Fals productId: str @typing.type_check_only -class DeferSubscriptionPurchaseRequest(typing_extensions.TypedDict, total=False): +class DeferSubscriptionPurchaseRequest(typing.TypedDict, total=False): deferralContext: DeferralContext @typing.type_check_only -class DeferSubscriptionPurchaseResponse(typing_extensions.TypedDict, total=False): +class DeferSubscriptionPurchaseResponse(typing.TypedDict, total=False): itemExpiryTimeDetails: _list[ItemExpiryTimeDetails] @typing.type_check_only -class DeferralContext(typing_extensions.TypedDict, total=False): +class DeferralContext(typing.TypedDict, total=False): deferDuration: str etag: str validateOnly: bool @typing.type_check_only -class DeferredItemRemoval(typing_extensions.TypedDict, total=False): ... +class DeferredItemRemoval(typing.TypedDict, total=False): ... @typing.type_check_only -class DeferredItemReplacement(typing_extensions.TypedDict, total=False): +class DeferredItemReplacement(typing.TypedDict, total=False): productId: str @typing.type_check_only -class DeleteOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class DeleteOneTimeProductOfferRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -543,8 +666,8 @@ class DeleteOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False) purchaseOptionId: str @typing.type_check_only -class DeleteOneTimeProductRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class DeleteOneTimeProductRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -553,9 +676,9 @@ class DeleteOneTimeProductRequest(typing_extensions.TypedDict, total=False): productId: str @typing.type_check_only -class DeletePurchaseOptionRequest(typing_extensions.TypedDict, total=False): +class DeletePurchaseOptionRequest(typing.TypedDict, total=False): force: bool - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -565,50 +688,88 @@ class DeletePurchaseOptionRequest(typing_extensions.TypedDict, total=False): purchaseOptionId: str @typing.type_check_only -class DeobfuscationFile(typing_extensions.TypedDict, total=False): - symbolType: typing_extensions.Literal[ +class DeobfuscationFile(typing.TypedDict, total=False): + symbolType: typing.Literal[ "deobfuscationFileTypeUnspecified", "proguard", "nativeCode" ] @typing.type_check_only -class DeobfuscationFilesUploadResponse(typing_extensions.TypedDict, total=False): +class DeobfuscationFilesUploadResponse(typing.TypedDict, total=False): deobfuscationFile: DeobfuscationFile @typing.type_check_only -class DeployAppRecoveryRequest(typing_extensions.TypedDict, total=False): ... +class DeployAppRecoveryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeployAppRecoveryResponse(typing_extensions.TypedDict, total=False): ... +class DeployAppRecoveryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class DeveloperComment(typing_extensions.TypedDict, total=False): +class DeveloperComment(typing.TypedDict, total=False): lastModified: Timestamp text: str @typing.type_check_only -class DeveloperInitiatedCancellation(typing_extensions.TypedDict, total=False): ... +class DeveloperDetails(typing.TypedDict, total=False): + address: str + contactEmail: str + developerName: str + phoneNumber: str + website: str + +@typing.type_check_only +class DeveloperInitiatedCancellation(typing.TypedDict, total=False): ... @typing.type_check_only -class DeviceFeature(typing_extensions.TypedDict, total=False): +class DeviceCompatibilityRequirements(typing.TypedDict, total=False): + compatibleScreens: _list[CompatibleScreen] + glEsVersion: int + isScreenRequired: bool + nativePlatforms: _list[str] + requiredSoftwareLibraries: _list[str] + requiredSystemFeatures: _list[str] + requiresSmallestWidthDp: str + sdkVersion: CatalogSdkVersion + supportedGlTextures: _list[str] + supportedScreens: _list[ + typing.Literal[ + "SCREEN_SIZE_UNSPECIFIED", + "SCREEN_SIZE_SMALL", + "SCREEN_SIZE_NORMAL", + "SCREEN_SIZE_LARGE", + "SCREEN_SIZE_EXTRA_LARGE", + ] + ] + use32BitAbi: typing.Literal[ + "USE_32_BIT_ABI_UNSPECIFIED", "USE_32_BIT_ABI_TRUE", "USE_32_BIT_ABI_OTHER" + ] + usesConfigurations: _list[UsesConfiguration] + +@typing.type_check_only +class DeviceFeature(typing.TypedDict, total=False): featureName: str featureVersion: int @typing.type_check_only -class DeviceFeatureTargeting(typing_extensions.TypedDict, total=False): +class DeviceFeatureTargeting(typing.TypedDict, total=False): requiredFeature: DeviceFeature @typing.type_check_only -class DeviceGroup(typing_extensions.TypedDict, total=False): +class DeviceGroup(typing.TypedDict, total=False): deviceSelectors: _list[DeviceSelector] name: str @typing.type_check_only -class DeviceId(typing_extensions.TypedDict, total=False): +class DeviceId(typing.TypedDict, total=False): buildBrand: str buildDevice: str @typing.type_check_only -class DeviceMetadata(typing_extensions.TypedDict, total=False): +class DeviceIdentifier(typing.TypedDict, total=False): + deviceBrand: str + deviceModel: str + +@typing.type_check_only +class DeviceMetadata(typing.TypedDict, total=False): cpuMake: str cpuModel: str deviceClass: str @@ -622,12 +783,12 @@ class DeviceMetadata(typing_extensions.TypedDict, total=False): screenWidthPx: int @typing.type_check_only -class DeviceRam(typing_extensions.TypedDict, total=False): +class DeviceRam(typing.TypedDict, total=False): maxBytes: str minBytes: str @typing.type_check_only -class DeviceSelector(typing_extensions.TypedDict, total=False): +class DeviceSelector(typing.TypedDict, total=False): deviceRam: DeviceRam excludedDeviceIds: _list[DeviceId] forbiddenSystemFeatures: _list[SystemFeature] @@ -636,68 +797,68 @@ class DeviceSelector(typing_extensions.TypedDict, total=False): systemOnChips: _list[SystemOnChip] @typing.type_check_only -class DeviceSpec(typing_extensions.TypedDict, total=False): +class DeviceSpec(typing.TypedDict, total=False): screenDensity: int supportedAbis: _list[str] supportedLocales: _list[str] @typing.type_check_only -class DeviceTier(typing_extensions.TypedDict, total=False): +class DeviceTier(typing.TypedDict, total=False): deviceGroupNames: _list[str] level: int @typing.type_check_only -class DeviceTierConfig(typing_extensions.TypedDict, total=False): +class DeviceTierConfig(typing.TypedDict, total=False): deviceGroups: _list[DeviceGroup] deviceTierConfigId: str deviceTierSet: DeviceTierSet userCountrySets: _list[UserCountrySet] @typing.type_check_only -class DeviceTierSet(typing_extensions.TypedDict, total=False): +class DeviceTierSet(typing.TypedDict, total=False): deviceTiers: _list[DeviceTier] @typing.type_check_only -class ExpansionFile(typing_extensions.TypedDict, total=False): +class ExpansionFile(typing.TypedDict, total=False): fileSize: str referencesVersion: int @typing.type_check_only -class ExpansionFilesUploadResponse(typing_extensions.TypedDict, total=False): +class ExpansionFilesUploadResponse(typing.TypedDict, total=False): expansionFile: ExpansionFile @typing.type_check_only -class ExternalAccountIdentifiers(typing_extensions.TypedDict, total=False): +class ExternalAccountIdentifiers(typing.TypedDict, total=False): externalAccountId: str obfuscatedExternalAccountId: str obfuscatedExternalProfileId: str @typing.type_check_only -class ExternalAccountIds(typing_extensions.TypedDict, total=False): +class ExternalAccountIds(typing.TypedDict, total=False): obfuscatedAccountId: str obfuscatedProfileId: str @typing.type_check_only -class ExternalOfferDetails(typing_extensions.TypedDict, total=False): +class ExternalOfferDetails(typing.TypedDict, total=False): appDownloadEventExternalTransactionId: str - installedAppCategory: typing_extensions.Literal[ + installedAppCategory: typing.Literal[ "EXTERNAL_OFFER_APP_CATEGORY_UNSPECIFIED", "APP", "GAME" ] installedAppPackage: str - linkType: typing_extensions.Literal[ + linkType: typing.Literal[ "EXTERNAL_OFFER_LINK_TYPE_UNSPECIFIED", "LINK_TO_DIGITAL_CONTENT_OFFER", "LINK_TO_APP_DOWNLOAD", ] @typing.type_check_only -class ExternalSubscription(typing_extensions.TypedDict, total=False): - subscriptionType: typing_extensions.Literal[ +class ExternalSubscription(typing.TypedDict, total=False): + subscriptionType: typing.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "RECURRING", "PREPAID" ] @typing.type_check_only -class ExternalTransaction(typing_extensions.TypedDict, total=False): +class ExternalTransaction(typing.TypedDict, total=False): createTime: str currentPreTaxAmount: Price currentTaxAmount: Price @@ -710,22 +871,22 @@ class ExternalTransaction(typing_extensions.TypedDict, total=False): recurringTransaction: RecurringExternalTransaction testPurchase: ExternalTransactionTestPurchase transactionProgramCode: int - transactionState: typing_extensions.Literal[ + transactionState: typing.Literal[ "TRANSACTION_STATE_UNSPECIFIED", "TRANSACTION_REPORTED", "TRANSACTION_CANCELED" ] transactionTime: str userTaxAddress: ExternalTransactionAddress @typing.type_check_only -class ExternalTransactionAddress(typing_extensions.TypedDict, total=False): +class ExternalTransactionAddress(typing.TypedDict, total=False): administrativeArea: str regionCode: str @typing.type_check_only -class ExternalTransactionTestPurchase(typing_extensions.TypedDict, total=False): ... +class ExternalTransactionTestPurchase(typing.TypedDict, total=False): ... @typing.type_check_only -class ExternallyHostedApk(typing_extensions.TypedDict, total=False): +class ExternallyHostedApk(typing.TypedDict, total=False): applicationLabel: str certificateBase64s: _list[str] externallyHostedUrl: str @@ -743,20 +904,20 @@ class ExternallyHostedApk(typing_extensions.TypedDict, total=False): versionName: str @typing.type_check_only -class FreeTrialDetails(typing_extensions.TypedDict, total=False): ... +class FreeTrialDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class FreeTrialOfferPhase(typing_extensions.TypedDict, total=False): ... +class FreeTrialOfferPhase(typing.TypedDict, total=False): ... @typing.type_check_only -class FullRefund(typing_extensions.TypedDict, total=False): ... +class FullRefund(typing.TypedDict, total=False): ... @typing.type_check_only -class GeneratedApksListResponse(typing_extensions.TypedDict, total=False): +class GeneratedApksListResponse(typing.TypedDict, total=False): generatedApks: _list[GeneratedApksPerSigningKey] @typing.type_check_only -class GeneratedApksPerSigningKey(typing_extensions.TypedDict, total=False): +class GeneratedApksPerSigningKey(typing.TypedDict, total=False): certificateSha256Hash: str generatedAssetPackSlices: _list[GeneratedAssetPackSlice] generatedRecoveryModules: _list[GeneratedRecoveryApk] @@ -768,18 +929,18 @@ class GeneratedApksPerSigningKey(typing_extensions.TypedDict, total=False): unprotectedGeneratedStandaloneApks: _list[GeneratedStandaloneApk] @typing.type_check_only -class GeneratedAssetPackSlice(typing_extensions.TypedDict, total=False): +class GeneratedAssetPackSlice(typing.TypedDict, total=False): downloadId: str moduleName: str sliceId: str version: str @typing.type_check_only -class GeneratedRecoveryApk(typing_extensions.TypedDict, total=False): +class GeneratedRecoveryApk(typing.TypedDict, total=False): downloadId: str moduleName: str recoveryId: str - recoveryStatus: typing_extensions.Literal[ + recoveryStatus: typing.Literal[ "RECOVERY_STATUS_UNSPECIFIED", "RECOVERY_STATUS_ACTIVE", "RECOVERY_STATUS_CANCELED", @@ -789,39 +950,39 @@ class GeneratedRecoveryApk(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GeneratedSplitApk(typing_extensions.TypedDict, total=False): +class GeneratedSplitApk(typing.TypedDict, total=False): downloadId: str moduleName: str splitId: str variantId: int @typing.type_check_only -class GeneratedStandaloneApk(typing_extensions.TypedDict, total=False): +class GeneratedStandaloneApk(typing.TypedDict, total=False): downloadId: str variantId: int @typing.type_check_only -class GeneratedUniversalApk(typing_extensions.TypedDict, total=False): +class GeneratedUniversalApk(typing.TypedDict, total=False): downloadId: str @typing.type_check_only -class GetOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): +class GetOneTimeProductOfferRequest(typing.TypedDict, total=False): offerId: str packageName: str productId: str purchaseOptionId: str @typing.type_check_only -class GetSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): +class GetSubscriptionOfferRequest(typing.TypedDict, total=False): basePlanId: str offerId: str packageName: str productId: str @typing.type_check_only -class Grant(typing_extensions.TypedDict, total=False): +class Grant(typing.TypedDict, total=False): appLevelPermissions: _list[ - typing_extensions.Literal[ + typing.Literal[ "APP_LEVEL_PERMISSION_UNSPECIFIED", "CAN_ACCESS_APP", "CAN_VIEW_FINANCIAL_DATA", @@ -843,8 +1004,12 @@ class Grant(typing_extensions.TypedDict, total=False): packageName: str @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): - aiGeneratedState: typing_extensions.Literal[ +class Group(typing.TypedDict, total=False): + responses: _list[NestedPolicyResponse] + +@typing.type_check_only +class Image(typing.TypedDict, total=False): + aiGeneratedState: typing.Literal[ "aiGeneratedStateUnspecified", "aiGeneratedStateNotAiGenerated", "aiGeneratedStateAiGeneratedDeveloperAttested", @@ -855,19 +1020,23 @@ class Image(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ImagesDeleteAllResponse(typing_extensions.TypedDict, total=False): +class ImageAsset(typing.TypedDict, total=False): + imageUrl: str + +@typing.type_check_only +class ImagesDeleteAllResponse(typing.TypedDict, total=False): deleted: _list[Image] @typing.type_check_only -class ImagesListResponse(typing_extensions.TypedDict, total=False): +class ImagesListResponse(typing.TypedDict, total=False): images: _list[Image] @typing.type_check_only -class ImagesUploadResponse(typing_extensions.TypedDict, total=False): +class ImagesUploadResponse(typing.TypedDict, total=False): image: Image @typing.type_check_only -class InAppProduct(typing_extensions.TypedDict, total=False): +class InAppProduct(typing.TypedDict, total=False): defaultLanguage: str defaultPrice: Price gracePeriod: str @@ -875,44 +1044,44 @@ class InAppProduct(typing_extensions.TypedDict, total=False): managedProductTaxesAndComplianceSettings: ManagedProductTaxAndComplianceSettings packageName: str prices: dict[str, typing.Any] - purchaseType: typing_extensions.Literal[ + purchaseType: typing.Literal[ "purchaseTypeUnspecified", "managedUser", "subscription" ] sku: str - status: typing_extensions.Literal["statusUnspecified", "active", "inactive"] + status: typing.Literal["statusUnspecified", "active", "inactive"] subscriptionPeriod: str subscriptionTaxesAndComplianceSettings: SubscriptionTaxAndComplianceSettings trialPeriod: str @typing.type_check_only -class InAppProductListing(typing_extensions.TypedDict, total=False): +class InAppProductListing(typing.TypedDict, total=False): benefits: _list[str] description: str title: str @typing.type_check_only -class InGracePeriodStateContext(typing_extensions.TypedDict, total=False): +class InGracePeriodStateContext(typing.TypedDict, total=False): renewalDeclined: RenewalDeclinedContext @typing.type_check_only -class InappproductsBatchDeleteRequest(typing_extensions.TypedDict, total=False): +class InappproductsBatchDeleteRequest(typing.TypedDict, total=False): requests: _list[InappproductsDeleteRequest] @typing.type_check_only -class InappproductsBatchGetResponse(typing_extensions.TypedDict, total=False): +class InappproductsBatchGetResponse(typing.TypedDict, total=False): inappproduct: _list[InAppProduct] @typing.type_check_only -class InappproductsBatchUpdateRequest(typing_extensions.TypedDict, total=False): +class InappproductsBatchUpdateRequest(typing.TypedDict, total=False): requests: _list[InappproductsUpdateRequest] @typing.type_check_only -class InappproductsBatchUpdateResponse(typing_extensions.TypedDict, total=False): +class InappproductsBatchUpdateResponse(typing.TypedDict, total=False): inappproducts: _list[InAppProduct] @typing.type_check_only -class InappproductsDeleteRequest(typing_extensions.TypedDict, total=False): - latencyTolerance: typing_extensions.Literal[ +class InappproductsDeleteRequest(typing.TypedDict, total=False): + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -921,18 +1090,18 @@ class InappproductsDeleteRequest(typing_extensions.TypedDict, total=False): sku: str @typing.type_check_only -class InappproductsListResponse(typing_extensions.TypedDict, total=False): +class InappproductsListResponse(typing.TypedDict, total=False): inappproduct: _list[InAppProduct] kind: str pageInfo: PageInfo tokenPagination: TokenPagination @typing.type_check_only -class InappproductsUpdateRequest(typing_extensions.TypedDict, total=False): +class InappproductsUpdateRequest(typing.TypedDict, total=False): allowMissing: bool autoConvertMissingPrices: bool inappproduct: InAppProduct - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -941,64 +1110,57 @@ class InappproductsUpdateRequest(typing_extensions.TypedDict, total=False): sku: str @typing.type_check_only -class InstallmentPlan(typing_extensions.TypedDict, total=False): +class InstallmentPlan(typing.TypedDict, total=False): initialCommittedPaymentsCount: int pendingCancellation: PendingCancellation remainingCommittedPaymentsCount: int subsequentCommittedPaymentsCount: int @typing.type_check_only -class InstallmentsBasePlanType(typing_extensions.TypedDict, total=False): +class InstallmentsBasePlanType(typing.TypedDict, total=False): accountHoldDuration: str billingPeriodDuration: str committedPaymentsCount: int gracePeriodDuration: str - prorationMode: typing_extensions.Literal[ + prorationMode: typing.Literal[ "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED", "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE", "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY", ] - renewalType: typing_extensions.Literal[ + renewalType: typing.Literal[ "RENEWAL_TYPE_UNSPECIFIED", "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT", "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT", ] - resubscribeState: typing_extensions.Literal[ + resubscribeState: typing.Literal[ "RESUBSCRIBE_STATE_UNSPECIFIED", "RESUBSCRIBE_STATE_ACTIVE", "RESUBSCRIBE_STATE_INACTIVE", ] @typing.type_check_only -class InternalAppSharingArtifact(typing_extensions.TypedDict, total=False): +class InternalAppSharingArtifact(typing.TypedDict, total=False): certificateFingerprint: str downloadUrl: str sha256: str @typing.type_check_only -class IntroductoryPriceDetails(typing_extensions.TypedDict, total=False): ... +class IntroductoryPriceDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class IntroductoryPriceInfo(typing_extensions.TypedDict, total=False): - introductoryPriceAmountMicros: str - introductoryPriceCurrencyCode: str - introductoryPriceCycles: int - introductoryPricePeriod: str +class IntroductoryPriceOfferPhase(typing.TypedDict, total=False): ... @typing.type_check_only -class IntroductoryPriceOfferPhase(typing_extensions.TypedDict, total=False): ... - -@typing.type_check_only -class ItemExpiryTimeDetails(typing_extensions.TypedDict, total=False): +class ItemExpiryTimeDetails(typing.TypedDict, total=False): expiryTime: str productId: str @typing.type_check_only -class ItemReplacement(typing_extensions.TypedDict, total=False): +class ItemReplacement(typing.TypedDict, total=False): basePlanId: str offerId: str productId: str - replacementMode: typing_extensions.Literal[ + replacementMode: typing.Literal[ "REPLACEMENT_MODE_UNSPECIFIED", "WITH_TIME_PRORATION", "CHARGE_PRORATED_PRICE", @@ -1009,12 +1171,17 @@ class ItemReplacement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LanguageTargeting(typing_extensions.TypedDict, total=False): +class KeyedGroup(typing.TypedDict, total=False): + key: str + responses: _list[NestedPolicyResponse] + +@typing.type_check_only +class LanguageTargeting(typing.TypedDict, total=False): alternatives: _list[str] value: _list[str] @typing.type_check_only -class LineItem(typing_extensions.TypedDict, total=False): +class LineItem(typing.TypedDict, total=False): listingPrice: Money oneTimePurchaseDetails: OneTimePurchaseDetails paidAppDetails: PaidAppDetails @@ -1025,45 +1192,50 @@ class LineItem(typing_extensions.TypedDict, total=False): total: Money @typing.type_check_only -class ListAppRecoveriesResponse(typing_extensions.TypedDict, total=False): +class ListAppRecoveriesResponse(typing.TypedDict, total=False): recoveryActions: _list[AppRecoveryAction] @typing.type_check_only -class ListDeviceTierConfigsResponse(typing_extensions.TypedDict, total=False): +class ListDeviceTierConfigsResponse(typing.TypedDict, total=False): deviceTierConfigs: _list[DeviceTierConfig] nextPageToken: str @typing.type_check_only -class ListOneTimeProductOffersResponse(typing_extensions.TypedDict, total=False): +class ListOneTimeProductOffersResponse(typing.TypedDict, total=False): nextPageToken: str oneTimeProductOffers: _list[OneTimeProductOffer] @typing.type_check_only -class ListOneTimeProductsResponse(typing_extensions.TypedDict, total=False): +class ListOneTimeProductsResponse(typing.TypedDict, total=False): nextPageToken: str oneTimeProducts: _list[OneTimeProduct] @typing.type_check_only -class ListReleaseSummariesResponse(typing_extensions.TypedDict, total=False): +class ListRecentUpdateEventsResponse(typing.TypedDict, total=False): + nextPageToken: str + recentUpdateEvents: _list[RecentUpdateEvent] + +@typing.type_check_only +class ListReleaseSummariesResponse(typing.TypedDict, total=False): releases: _list[ReleaseSummary] @typing.type_check_only -class ListSubscriptionOffersResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionOffersResponse(typing.TypedDict, total=False): nextPageToken: str subscriptionOffers: _list[SubscriptionOffer] @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class Listing(typing_extensions.TypedDict, total=False): +class Listing(typing.TypedDict, total=False): fullDescription: str language: str shortDescription: str @@ -1071,18 +1243,36 @@ class Listing(typing_extensions.TypedDict, total=False): video: str @typing.type_check_only -class ListingsListResponse(typing_extensions.TypedDict, total=False): +class ListingsListResponse(typing.TypedDict, total=False): kind: str listings: _list[Listing] @typing.type_check_only -class LocalizedText(typing_extensions.TypedDict, total=False): +class LocalizedStoreListing(typing.TypedDict, total=False): + appName: str + featureGraphic: ImageAsset + fullDescription: str + icon: ImageAsset + languageCode: str + phoneScreenshots: ScreenshotSet + shortDescription: str + tabletRegularScreenshots: ScreenshotSet + tabletSmallScreenshots: ScreenshotSet + video: VideoAsset + +@typing.type_check_only +class LocalizedStoreListings(typing.TypedDict, total=False): + defaultLanguageCode: str + localizedStoreListings: _list[LocalizedStoreListing] + +@typing.type_check_only +class LocalizedText(typing.TypedDict, total=False): language: str text: str @typing.type_check_only -class ManagedProductTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): - eeaWithdrawalRightType: typing_extensions.Literal[ +class ManagedProductTaxAndComplianceSettings(typing.TypedDict, total=False): + eeaWithdrawalRightType: typing.Literal[ "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED", "WITHDRAWAL_RIGHT_DIGITAL_CONTENT", "WITHDRAWAL_RIGHT_SERVICE", @@ -1093,9 +1283,9 @@ class ManagedProductTaxAndComplianceSettings(typing_extensions.TypedDict, total= taxRateInfoByRegionCode: dict[str, typing.Any] @typing.type_check_only -class MigrateBasePlanPricesRequest(typing_extensions.TypedDict, total=False): +class MigrateBasePlanPricesRequest(typing.TypedDict, total=False): basePlanId: str - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -1106,76 +1296,85 @@ class MigrateBasePlanPricesRequest(typing_extensions.TypedDict, total=False): regionsVersion: RegionsVersion @typing.type_check_only -class MigrateBasePlanPricesResponse(typing_extensions.TypedDict, total=False): ... +class MigrateBasePlanPricesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ModuleMetadata(typing_extensions.TypedDict, total=False): - deliveryType: typing_extensions.Literal[ +class ModuleMetadata(typing.TypedDict, total=False): + deliveryType: typing.Literal[ "UNKNOWN_DELIVERY_TYPE", "INSTALL_TIME", "ON_DEMAND", "FAST_FOLLOW" ] dependencies: _list[str] - moduleType: typing_extensions.Literal["UNKNOWN_MODULE_TYPE", "FEATURE_MODULE"] + moduleType: typing.Literal["UNKNOWN_MODULE_TYPE", "FEATURE_MODULE"] name: str targeting: ModuleTargeting @typing.type_check_only -class ModuleTargeting(typing_extensions.TypedDict, total=False): +class ModuleTargeting(typing.TypedDict, total=False): deviceFeatureTargeting: _list[DeviceFeatureTargeting] sdkVersionTargeting: SdkVersionTargeting userCountriesTargeting: UserCountriesTargeting @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class MultiAbi(typing_extensions.TypedDict, total=False): +class MultiAbi(typing.TypedDict, total=False): abi: _list[Abi] @typing.type_check_only -class MultiAbiTargeting(typing_extensions.TypedDict, total=False): +class MultiAbiTargeting(typing.TypedDict, total=False): alternatives: _list[MultiAbi] value: _list[MultiAbi] @typing.type_check_only -class OfferDetails(typing_extensions.TypedDict, total=False): +class NestedPolicyResponse(typing.TypedDict, total=False): + booleanResponse: PolicyBooleanResponse + documentResponse: PolicyDocumentResponse + multipleChoiceResponse: PolicyMultipleChoiceResponse + questionId: str + singleChoiceResponse: PolicySingleChoiceResponse + stringResponse: PolicyStringResponse + +@typing.type_check_only +class OfferDetails(typing.TypedDict, total=False): basePlanId: str offerId: str offerTags: _list[str] @typing.type_check_only -class OfferPhase(typing_extensions.TypedDict, total=False): +class OfferPhase(typing.TypedDict, total=False): basePrice: BasePriceOfferPhase freeTrial: FreeTrialOfferPhase introductoryPrice: IntroductoryPriceOfferPhase prorationPeriod: ProrationPeriodOfferPhase @typing.type_check_only -class OfferPhaseDetails(typing_extensions.TypedDict, total=False): +class OfferPhaseDetails(typing.TypedDict, total=False): baseDetails: BaseDetails freeTrialDetails: FreeTrialDetails introductoryPriceDetails: IntroductoryPriceDetails prorationPeriodDetails: ProrationPeriodDetails @typing.type_check_only -class OfferTag(typing_extensions.TypedDict, total=False): +class OfferTag(typing.TypedDict, total=False): tag: str @typing.type_check_only -class OnHoldStateContext(typing_extensions.TypedDict, total=False): +class OnHoldStateContext(typing.TypedDict, total=False): renewalDeclined: RenewalDeclinedContext @typing.type_check_only -class OneTimeCode(typing_extensions.TypedDict, total=False): ... +class OneTimeCode(typing.TypedDict, total=False): ... @typing.type_check_only -class OneTimeExternalTransaction(typing_extensions.TypedDict, total=False): +class OneTimeExternalTransaction(typing.TypedDict, total=False): externalTransactionToken: str @typing.type_check_only -class OneTimeProduct(typing_extensions.TypedDict, total=False): +class OneTimeProduct(typing.TypedDict, total=False): listings: _list[OneTimeProductListing] offerTags: _list[OfferTag] packageName: str @@ -1186,24 +1385,24 @@ class OneTimeProduct(typing_extensions.TypedDict, total=False): taxAndComplianceSettings: OneTimeProductTaxAndComplianceSettings @typing.type_check_only -class OneTimeProductBuyPurchaseOption(typing_extensions.TypedDict, total=False): +class OneTimeProductBuyPurchaseOption(typing.TypedDict, total=False): legacyCompatible: bool multiQuantityEnabled: bool @typing.type_check_only -class OneTimeProductDiscountedOffer(typing_extensions.TypedDict, total=False): +class OneTimeProductDiscountedOffer(typing.TypedDict, total=False): endTime: str redemptionLimit: str startTime: str @typing.type_check_only -class OneTimeProductListing(typing_extensions.TypedDict, total=False): +class OneTimeProductListing(typing.TypedDict, total=False): description: str languageCode: str title: str @typing.type_check_only -class OneTimeProductOffer(typing_extensions.TypedDict, total=False): +class OneTimeProductOffer(typing.TypedDict, total=False): discountedOffer: OneTimeProductDiscountedOffer offerId: str offerTags: _list[OfferTag] @@ -1215,21 +1414,19 @@ class OneTimeProductOffer(typing_extensions.TypedDict, total=False): OneTimeProductOfferRegionalPricingAndAvailabilityConfig ] regionsVersion: RegionsVersion - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "CANCELLED", "INACTIVE" ] @typing.type_check_only -class OneTimeProductOfferNoPriceOverrideOptions( - typing_extensions.TypedDict, total=False -): ... +class OneTimeProductOfferNoPriceOverrideOptions(typing.TypedDict, total=False): ... @typing.type_check_only class OneTimeProductOfferRegionalPricingAndAvailabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): absoluteDiscount: Money - availability: typing_extensions.Literal[ + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "NO_LONGER_AVAILABLE" ] noOverride: OneTimeProductOfferNoPriceOverrideOptions @@ -1237,9 +1434,9 @@ class OneTimeProductOfferRegionalPricingAndAvailabilityConfig( relativeDiscount: float @typing.type_check_only -class OneTimeProductPreOrderOffer(typing_extensions.TypedDict, total=False): +class OneTimeProductPreOrderOffer(typing.TypedDict, total=False): endTime: str - priceChangeBehavior: typing_extensions.Literal[ + priceChangeBehavior: typing.Literal[ "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED", "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST", "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY", @@ -1248,7 +1445,7 @@ class OneTimeProductPreOrderOffer(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class OneTimeProductPurchaseOption(typing_extensions.TypedDict, total=False): +class OneTimeProductPurchaseOption(typing.TypedDict, total=False): buyOption: OneTimeProductBuyPurchaseOption newRegionsConfig: OneTimeProductPurchaseOptionNewRegionsConfig offerTags: _list[OfferTag] @@ -1257,16 +1454,14 @@ class OneTimeProductPurchaseOption(typing_extensions.TypedDict, total=False): OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig ] rentOption: OneTimeProductRentPurchaseOption - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE", "INACTIVE_PUBLISHED" ] taxAndComplianceSettings: PurchaseOptionTaxAndComplianceSettings @typing.type_check_only -class OneTimeProductPurchaseOptionNewRegionsConfig( - typing_extensions.TypedDict, total=False -): - availability: typing_extensions.Literal[ +class OneTimeProductPurchaseOptionNewRegionsConfig(typing.TypedDict, total=False): + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "NO_LONGER_AVAILABLE" ] eurPrice: Money @@ -1274,9 +1469,9 @@ class OneTimeProductPurchaseOptionNewRegionsConfig( @typing.type_check_only class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - availability: typing_extensions.Literal[ + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "NO_LONGER_AVAILABLE", @@ -1287,19 +1482,19 @@ class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig( regionCode: str @typing.type_check_only -class OneTimeProductRentPurchaseOption(typing_extensions.TypedDict, total=False): +class OneTimeProductRentPurchaseOption(typing.TypedDict, total=False): expirationPeriod: str rentalPeriod: str @typing.type_check_only -class OneTimeProductTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): +class OneTimeProductTaxAndComplianceSettings(typing.TypedDict, total=False): isTokenizedDigitalAsset: bool productTaxCategoryCode: str regionalProductAgeRatingInfos: _list[RegionalProductAgeRatingInfo] regionalTaxConfigs: _list[RegionalTaxConfig] @typing.type_check_only -class OneTimePurchaseDetails(typing_extensions.TypedDict, total=False): +class OneTimePurchaseDetails(typing.TypedDict, total=False): offerId: str preorderDetails: PreorderDetails purchaseOptionId: str @@ -1307,7 +1502,7 @@ class OneTimePurchaseDetails(typing_extensions.TypedDict, total=False): rentalDetails: RentalDetails @typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): +class Order(typing.TypedDict, total=False): buyerAddress: BuyerAddress createTime: str developerRevenueInBuyerCurrency: Money @@ -1318,7 +1513,7 @@ class Order(typing_extensions.TypedDict, total=False): orderId: str pointsDetails: PointsDetails purchaseToken: str - salesChannel: typing_extensions.Literal[ + salesChannel: typing.Literal[ "SALES_CHANNEL_UNSPECIFIED", "IN_APP", "PC_EMULATOR", @@ -1326,7 +1521,7 @@ class Order(typing_extensions.TypedDict, total=False): "PLAY_STORE", "OUTSIDE_PLAY_STORE", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "PROCESSED", @@ -1339,33 +1534,41 @@ class Order(typing_extensions.TypedDict, total=False): total: Money @typing.type_check_only -class OrderDetails(typing_extensions.TypedDict, total=False): +class OrderDetails(typing.TypedDict, total=False): taxInclusive: bool @typing.type_check_only -class OrderHistory(typing_extensions.TypedDict, total=False): +class OrderHistory(typing.TypedDict, total=False): cancellationEvent: CancellationEvent partialRefundEvents: _list[PartialRefundEvent] processedEvent: ProcessedEvent refundEvent: RefundEvent @typing.type_check_only -class OtherRecurringProduct(typing_extensions.TypedDict, total=False): ... +class OrdersReviewRefundRequest(typing.TypedDict, total=False): + consumptionPercentageMilliunits: int + consumptionUsageEvents: _list[ConsumptionUsageEvent] + pendingRefundToken: str + refundPreference: typing.Literal[ + "REFUND_PREFERENCE_UNSPECIFIED", "DECLINE", "APPROVE", "NEUTRAL" + ] + sampleContentProvided: bool + +@typing.type_check_only +class OtherRecurringProduct(typing.TypedDict, total=False): ... @typing.type_check_only -class OtherRegionsBasePlanConfig(typing_extensions.TypedDict, total=False): +class OtherRegionsBasePlanConfig(typing.TypedDict, total=False): eurPrice: Money newSubscriberAvailability: bool usdPrice: Money @typing.type_check_only -class OtherRegionsSubscriptionOfferConfig(typing_extensions.TypedDict, total=False): +class OtherRegionsSubscriptionOfferConfig(typing.TypedDict, total=False): otherRegionsNewSubscriberAvailability: bool @typing.type_check_only -class OtherRegionsSubscriptionOfferPhaseConfig( - typing_extensions.TypedDict, total=False -): +class OtherRegionsSubscriptionOfferPhaseConfig(typing.TypedDict, total=False): absoluteDiscounts: OtherRegionsSubscriptionOfferPhasePrices free: OtherRegionsSubscriptionOfferPhaseFreePriceOverride otherRegionsPrices: OtherRegionsSubscriptionOfferPhasePrices @@ -1373,101 +1576,138 @@ class OtherRegionsSubscriptionOfferPhaseConfig( @typing.type_check_only class OtherRegionsSubscriptionOfferPhaseFreePriceOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class OtherRegionsSubscriptionOfferPhasePrices( - typing_extensions.TypedDict, total=False -): +class OtherRegionsSubscriptionOfferPhasePrices(typing.TypedDict, total=False): eurPrice: Money usdPrice: Money @typing.type_check_only -class OutOfAppPurchaseContext(typing_extensions.TypedDict, total=False): +class OutOfAppPurchaseContext(typing.TypedDict, total=False): expiredExternalAccountIdentifiers: ExternalAccountIdentifiers expiredPurchaseToken: str @typing.type_check_only -class PageInfo(typing_extensions.TypedDict, total=False): +class PageInfo(typing.TypedDict, total=False): resultPerPage: int startIndex: int totalResults: int @typing.type_check_only -class PaidAppDetails(typing_extensions.TypedDict, total=False): ... +class PaidAppDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class PartialRefund(typing_extensions.TypedDict, total=False): +class PartialRefund(typing.TypedDict, total=False): refundId: str refundPreTaxAmount: Price @typing.type_check_only -class PartialRefundEvent(typing_extensions.TypedDict, total=False): +class PartialRefundEvent(typing.TypedDict, total=False): createTime: str processTime: str refundDetails: RefundDetails - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "PROCESSED_SUCCESSFULLY" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "PROCESSED_SUCCESSFULLY"] @typing.type_check_only -class PausedStateContext(typing_extensions.TypedDict, total=False): +class PausedStateContext(typing.TypedDict, total=False): autoResumeTime: str @typing.type_check_only -class PendingCancellation(typing_extensions.TypedDict, total=False): ... +class PendingCancellation(typing.TypedDict, total=False): ... @typing.type_check_only -class PointsDetails(typing_extensions.TypedDict, total=False): +class PointsDetails(typing.TypedDict, total=False): pointsCouponValue: Money pointsDiscountRateMicros: str pointsOfferId: str pointsSpent: str @typing.type_check_only -class PreorderDetails(typing_extensions.TypedDict, total=False): ... +class PolicyBooleanResponse(typing.TypedDict, total=False): + value: bool + +@typing.type_check_only +class PolicyDocumentResponse(typing.TypedDict, total=False): + documentId: str + expiryDate: Date + nonExpiring: bool + +@typing.type_check_only +class PolicyGroupResponse(typing.TypedDict, total=False): + groups: _list[Group] + +@typing.type_check_only +class PolicyKeyedGroupResponse(typing.TypedDict, total=False): + groups: _list[KeyedGroup] + +@typing.type_check_only +class PolicyMultipleChoiceResponse(typing.TypedDict, total=False): + values: _list[str] @typing.type_check_only -class PreorderOfferDetails(typing_extensions.TypedDict, total=False): +class PolicyResponse(typing.TypedDict, total=False): + booleanResponse: PolicyBooleanResponse + documentResponse: PolicyDocumentResponse + groupResponse: PolicyGroupResponse + keyedGroupResponse: PolicyKeyedGroupResponse + multipleChoiceResponse: PolicyMultipleChoiceResponse + questionId: str + singleChoiceResponse: PolicySingleChoiceResponse + stringResponse: PolicyStringResponse + +@typing.type_check_only +class PolicySingleChoiceResponse(typing.TypedDict, total=False): + value: str + +@typing.type_check_only +class PolicyStringResponse(typing.TypedDict, total=False): + value: str + +@typing.type_check_only +class PreorderDetails(typing.TypedDict, total=False): ... + +@typing.type_check_only +class PreorderOfferDetails(typing.TypedDict, total=False): preorderReleaseTime: str @typing.type_check_only -class PrepaidBasePlanType(typing_extensions.TypedDict, total=False): +class PrepaidBasePlanType(typing.TypedDict, total=False): billingPeriodDuration: str - timeExtension: typing_extensions.Literal[ + timeExtension: typing.Literal[ "TIME_EXTENSION_UNSPECIFIED", "TIME_EXTENSION_ACTIVE", "TIME_EXTENSION_INACTIVE" ] @typing.type_check_only -class PrepaidPlan(typing_extensions.TypedDict, total=False): +class PrepaidPlan(typing.TypedDict, total=False): allowExtendAfterTime: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): currency: str priceMicros: str @typing.type_check_only -class PriceStepUpConsentDetails(typing_extensions.TypedDict, total=False): +class PriceStepUpConsentDetails(typing.TypedDict, total=False): consentDeadlineTime: str newPrice: Money - state: typing_extensions.Literal[ + state: typing.Literal[ "CONSENT_STATE_UNSPECIFIED", "PENDING", "CONFIRMED", "COMPLETED" ] @typing.type_check_only -class ProcessedEvent(typing_extensions.TypedDict, total=False): +class ProcessedEvent(typing.TypedDict, total=False): eventTime: str @typing.type_check_only -class ProductLineItem(typing_extensions.TypedDict, total=False): +class ProductLineItem(typing.TypedDict, total=False): productId: str productOfferDetails: ProductOfferDetails @typing.type_check_only -class ProductOfferDetails(typing_extensions.TypedDict, total=False): - consumptionState: typing_extensions.Literal[ +class ProductOfferDetails(typing.TypedDict, total=False): + consumptionState: typing.Literal[ "CONSUMPTION_STATE_UNSPECIFIED", "CONSUMPTION_STATE_YET_TO_BE_CONSUMED", "CONSUMPTION_STATE_CONSUMED", @@ -1482,7 +1722,7 @@ class ProductOfferDetails(typing_extensions.TypedDict, total=False): rentOfferDetails: RentOfferDetails @typing.type_check_only -class ProductPurchase(typing_extensions.TypedDict, total=False): +class ProductPurchase(typing.TypedDict, total=False): acknowledgementState: int consumptionState: int developerPayload: str @@ -1500,8 +1740,8 @@ class ProductPurchase(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class ProductPurchaseV2(typing_extensions.TypedDict, total=False): - acknowledgementState: typing_extensions.Literal[ +class ProductPurchaseV2(typing.TypedDict, total=False): + acknowledgementState: typing.Literal[ "ACKNOWLEDGEMENT_STATE_UNSPECIFIED", "ACKNOWLEDGEMENT_STATE_PENDING", "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED", @@ -1517,41 +1757,55 @@ class ProductPurchaseV2(typing_extensions.TypedDict, total=False): testPurchaseContext: TestPurchaseContext @typing.type_check_only -class ProductPurchasesAcknowledgeRequest(typing_extensions.TypedDict, total=False): +class ProductPurchasesAcknowledgeRequest(typing.TypedDict, total=False): developerPayload: str @typing.type_check_only -class ProrationPeriodDetails(typing_extensions.TypedDict, total=False): - originalOfferPhase: typing_extensions.Literal[ +class ProrationPeriodDetails(typing.TypedDict, total=False): + originalOfferPhase: typing.Literal[ "OFFER_PHASE_UNSPECIFIED", "BASE", "INTRODUCTORY", "FREE_TRIAL" ] @typing.type_check_only -class ProrationPeriodOfferPhase(typing_extensions.TypedDict, total=False): - originalOfferPhaseType: typing_extensions.Literal[ +class ProrationPeriodOfferPhase(typing.TypedDict, total=False): + originalOfferPhaseType: typing.Literal[ "ORIGINAL_OFFER_PHASE_TYPE_UNSPECIFIED", "BASE", "INTRODUCTORY", "FREE_TRIAL" ] @typing.type_check_only -class PurchaseOptionTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): - withdrawalRightType: typing_extensions.Literal[ +class PurchaseOptionTaxAndComplianceSettings(typing.TypedDict, total=False): + withdrawalRightType: typing.Literal[ "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED", "WITHDRAWAL_RIGHT_DIGITAL_CONTENT", "WITHDRAWAL_RIGHT_SERVICE", ] @typing.type_check_only -class PurchaseStateContext(typing_extensions.TypedDict, total=False): - purchaseState: typing_extensions.Literal[ +class PurchaseStateContext(typing.TypedDict, total=False): + purchaseState: typing.Literal[ "PURCHASE_STATE_UNSPECIFIED", "PURCHASED", "CANCELLED", "PENDING" ] @typing.type_check_only -class RecurringExternalTransaction(typing_extensions.TypedDict, total=False): +class RamSelector(typing.TypedDict, total=False): + ramMbLessThanOrEqual: str + +@typing.type_check_only +class RecentAppView(typing.TypedDict, total=False): + appView: CatalogAppView + +@typing.type_check_only +class RecentUpdateEvent(typing.TypedDict, total=False): + eventTime: str + playAppPackageName: str + updateType: typing.Literal["UPDATE_TYPE_UNSPECIFIED", "MODIFICATION", "DELETION"] + +@typing.type_check_only +class RecurringExternalTransaction(typing.TypedDict, total=False): externalSubscription: ExternalSubscription externalTransactionToken: str initialExternalTransactionId: str - migratedTransactionProgram: typing_extensions.Literal[ + migratedTransactionProgram: typing.Literal[ "EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED", "USER_CHOICE_BILLING", "ALTERNATIVE_BILLING_ONLY", @@ -1559,34 +1813,32 @@ class RecurringExternalTransaction(typing_extensions.TypedDict, total=False): otherRecurringProduct: OtherRecurringProduct @typing.type_check_only -class RefundDetails(typing_extensions.TypedDict, total=False): +class RefundDetails(typing.TypedDict, total=False): tax: Money total: Money @typing.type_check_only -class RefundEvent(typing_extensions.TypedDict, total=False): +class RefundEvent(typing.TypedDict, total=False): eventTime: str refundDetails: RefundDetails - refundReason: typing_extensions.Literal[ - "REFUND_REASON_UNSPECIFIED", "OTHER", "CHARGEBACK" - ] + refundReason: typing.Literal["REFUND_REASON_UNSPECIFIED", "OTHER", "CHARGEBACK"] @typing.type_check_only -class RefundExternalTransactionRequest(typing_extensions.TypedDict, total=False): +class RefundExternalTransactionRequest(typing.TypedDict, total=False): fullRefund: FullRefund partialRefund: PartialRefund refundTime: str @typing.type_check_only -class RegionalBasePlanConfig(typing_extensions.TypedDict, total=False): +class RegionalBasePlanConfig(typing.TypedDict, total=False): newSubscriberAvailability: bool price: Money regionCode: str @typing.type_check_only -class RegionalPriceMigrationConfig(typing_extensions.TypedDict, total=False): +class RegionalPriceMigrationConfig(typing.TypedDict, total=False): oldestAllowedPriceVersionTime: str - priceIncreaseType: typing_extensions.Literal[ + priceIncreaseType: typing.Literal[ "PRICE_INCREASE_TYPE_UNSPECIFIED", "PRICE_INCREASE_TYPE_OPT_IN", "PRICE_INCREASE_TYPE_OPT_OUT", @@ -1594,8 +1846,8 @@ class RegionalPriceMigrationConfig(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class RegionalProductAgeRatingInfo(typing_extensions.TypedDict, total=False): - productAgeRatingTier: typing_extensions.Literal[ +class RegionalProductAgeRatingInfo(typing.TypedDict, total=False): + productAgeRatingTier: typing.Literal[ "PRODUCT_AGE_RATING_TIER_UNKNOWN", "PRODUCT_AGE_RATING_TIER_EVERYONE", "PRODUCT_AGE_RATING_TIER_THIRTEEN_AND_ABOVE", @@ -1605,12 +1857,12 @@ class RegionalProductAgeRatingInfo(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class RegionalSubscriptionOfferConfig(typing_extensions.TypedDict, total=False): +class RegionalSubscriptionOfferConfig(typing.TypedDict, total=False): newSubscriberAvailability: bool regionCode: str @typing.type_check_only -class RegionalSubscriptionOfferPhaseConfig(typing_extensions.TypedDict, total=False): +class RegionalSubscriptionOfferPhaseConfig(typing.TypedDict, total=False): absoluteDiscount: Money free: RegionalSubscriptionOfferPhaseFreePriceOverride price: Money @@ -1619,14 +1871,14 @@ class RegionalSubscriptionOfferPhaseConfig(typing_extensions.TypedDict, total=Fa @typing.type_check_only class RegionalSubscriptionOfferPhaseFreePriceOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class RegionalTaxConfig(typing_extensions.TypedDict, total=False): +class RegionalTaxConfig(typing.TypedDict, total=False): eligibleForStreamingServiceTaxRate: bool regionCode: str - streamingTaxType: typing_extensions.Literal[ + streamingTaxType: typing.Literal[ "STREAMING_TAX_TYPE_UNSPECIFIED", "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL", "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES", @@ -1635,7 +1887,7 @@ class RegionalTaxConfig(typing_extensions.TypedDict, total=False): "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES", "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL", ] - taxTier: typing_extensions.Literal[ + taxTier: typing.Literal[ "TAX_TIER_UNSPECIFIED", "TAX_TIER_BOOKS_1", "TAX_TIER_NEWS_1", @@ -1645,9 +1897,9 @@ class RegionalTaxConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RegionalTaxRateInfo(typing_extensions.TypedDict, total=False): +class RegionalTaxRateInfo(typing.TypedDict, total=False): eligibleForStreamingServiceTaxRate: bool - streamingTaxType: typing_extensions.Literal[ + streamingTaxType: typing.Literal[ "STREAMING_TAX_TYPE_UNSPECIFIED", "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL", "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES", @@ -1656,7 +1908,7 @@ class RegionalTaxRateInfo(typing_extensions.TypedDict, total=False): "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES", "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL", ] - taxTier: typing_extensions.Literal[ + taxTier: typing.Literal[ "TAX_TIER_UNSPECIFIED", "TAX_TIER_BOOKS_1", "TAX_TIER_NEWS_1", @@ -1666,17 +1918,17 @@ class RegionalTaxRateInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Regions(typing_extensions.TypedDict, total=False): +class Regions(typing.TypedDict, total=False): regionCode: _list[str] @typing.type_check_only -class RegionsVersion(typing_extensions.TypedDict, total=False): +class RegionsVersion(typing.TypedDict, total=False): version: str @typing.type_check_only -class ReleaseSummary(typing_extensions.TypedDict, total=False): +class ReleaseSummary(typing.TypedDict, total=False): activeArtifacts: _list[ArtifactSummary] - releaseLifecycleState: typing_extensions.Literal[ + releaseLifecycleState: typing.Literal[ "RELEASE_LIFECYCLE_STATE_UNSPECIFIED", "RELEASE_LIFECYCLE_STATE_DRAFT", "RELEASE_LIFECYCLE_STATE_NOT_SENT_FOR_REVIEW", @@ -1689,94 +1941,94 @@ class ReleaseSummary(typing_extensions.TypedDict, total=False): track: str @typing.type_check_only -class RemoteInAppUpdate(typing_extensions.TypedDict, total=False): +class RemoteInAppUpdate(typing.TypedDict, total=False): isRemoteInAppUpdateRequested: bool @typing.type_check_only -class RemoteInAppUpdateData(typing_extensions.TypedDict, total=False): +class RemoteInAppUpdateData(typing.TypedDict, total=False): remoteAppUpdateDataPerBundle: _list[RemoteInAppUpdateDataPerBundle] @typing.type_check_only -class RemoteInAppUpdateDataPerBundle(typing_extensions.TypedDict, total=False): +class RemoteInAppUpdateDataPerBundle(typing.TypedDict, total=False): recoveredDeviceCount: str totalDeviceCount: str versionCode: str @typing.type_check_only -class RenewalDeclinedContext(typing_extensions.TypedDict, total=False): +class RenewalDeclinedContext(typing.TypedDict, total=False): pendingOrderId: str @typing.type_check_only -class RentOfferDetails(typing_extensions.TypedDict, total=False): ... +class RentOfferDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class RentalDetails(typing_extensions.TypedDict, total=False): ... +class RentalDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class ReplacementCancellation(typing_extensions.TypedDict, total=False): ... +class ReplacementCancellation(typing.TypedDict, total=False): ... @typing.type_check_only -class RestrictedPaymentCountries(typing_extensions.TypedDict, total=False): +class RestrictedPaymentCountries(typing.TypedDict, total=False): regionCodes: _list[str] @typing.type_check_only -class Review(typing_extensions.TypedDict, total=False): +class Review(typing.TypedDict, total=False): authorName: str comments: _list[Comment] reviewId: str @typing.type_check_only -class ReviewReplyResult(typing_extensions.TypedDict, total=False): +class ReviewReplyResult(typing.TypedDict, total=False): lastEdited: Timestamp replyText: str @typing.type_check_only -class ReviewsListResponse(typing_extensions.TypedDict, total=False): +class ReviewsListResponse(typing.TypedDict, total=False): pageInfo: PageInfo reviews: _list[Review] tokenPagination: TokenPagination @typing.type_check_only -class ReviewsReplyRequest(typing_extensions.TypedDict, total=False): +class ReviewsReplyRequest(typing.TypedDict, total=False): replyText: str @typing.type_check_only -class ReviewsReplyResponse(typing_extensions.TypedDict, total=False): +class ReviewsReplyResponse(typing.TypedDict, total=False): result: ReviewReplyResult @typing.type_check_only -class RevocationContext(typing_extensions.TypedDict, total=False): +class RevocationContext(typing.TypedDict, total=False): fullRefund: RevocationContextFullRefund itemBasedRefund: RevocationContextItemBasedRefund proratedRefund: RevocationContextProratedRefund @typing.type_check_only -class RevocationContextFullRefund(typing_extensions.TypedDict, total=False): ... +class RevocationContextFullRefund(typing.TypedDict, total=False): ... @typing.type_check_only -class RevocationContextItemBasedRefund(typing_extensions.TypedDict, total=False): +class RevocationContextItemBasedRefund(typing.TypedDict, total=False): productId: str @typing.type_check_only -class RevocationContextProratedRefund(typing_extensions.TypedDict, total=False): ... +class RevocationContextProratedRefund(typing.TypedDict, total=False): ... @typing.type_check_only -class RevokeSubscriptionPurchaseRequest(typing_extensions.TypedDict, total=False): +class RevokeSubscriptionPurchaseRequest(typing.TypedDict, total=False): revocationContext: RevocationContext @typing.type_check_only -class RevokeSubscriptionPurchaseResponse(typing_extensions.TypedDict, total=False): ... +class RevokeSubscriptionPurchaseResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SafetyLabelsUpdateRequest(typing_extensions.TypedDict, total=False): +class SafetyLabelsUpdateRequest(typing.TypedDict, total=False): safetyLabels: str @typing.type_check_only -class SafetyLabelsUpdateResponse(typing_extensions.TypedDict, total=False): ... +class SafetyLabelsUpdateResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ScreenDensity(typing_extensions.TypedDict, total=False): - densityAlias: typing_extensions.Literal[ +class ScreenDensity(typing.TypedDict, total=False): + densityAlias: typing.Literal[ "DENSITY_UNSPECIFIED", "NODPI", "LDPI", @@ -1790,41 +2042,50 @@ class ScreenDensity(typing_extensions.TypedDict, total=False): densityDpi: int @typing.type_check_only -class ScreenDensityTargeting(typing_extensions.TypedDict, total=False): +class ScreenDensityTargeting(typing.TypedDict, total=False): alternatives: _list[ScreenDensity] value: _list[ScreenDensity] @typing.type_check_only -class SdkVersion(typing_extensions.TypedDict, total=False): +class ScreenshotSet(typing.TypedDict, total=False): + screenshots: _list[ImageAsset] + +@typing.type_check_only +class SdkVersion(typing.TypedDict, total=False): min: int @typing.type_check_only -class SdkVersionTargeting(typing_extensions.TypedDict, total=False): +class SdkVersionTargeting(typing.TypedDict, total=False): alternatives: _list[SdkVersion] value: _list[SdkVersion] @typing.type_check_only -class SignupPromotion(typing_extensions.TypedDict, total=False): +class SignupPromotion(typing.TypedDict, total=False): oneTimeCode: OneTimeCode vanityCode: VanityCode @typing.type_check_only -class SplitApkMetadata(typing_extensions.TypedDict, total=False): +class SocSelector(typing.TypedDict, total=False): + socMake: str + socModel: str + +@typing.type_check_only +class SplitApkMetadata(typing.TypedDict, total=False): isMasterSplit: bool splitId: str @typing.type_check_only -class SplitApkVariant(typing_extensions.TypedDict, total=False): +class SplitApkVariant(typing.TypedDict, total=False): apkSet: _list[ApkSet] targeting: VariantTargeting variantNumber: int @typing.type_check_only -class StandaloneApkMetadata(typing_extensions.TypedDict, total=False): +class StandaloneApkMetadata(typing.TypedDict, total=False): fusedModuleName: _list[str] @typing.type_check_only -class SubscribeWithGoogleInfo(typing_extensions.TypedDict, total=False): +class SubscribeWithGoogleInfo(typing.TypedDict, total=False): emailAddress: str familyName: str givenName: str @@ -1832,7 +2093,7 @@ class SubscribeWithGoogleInfo(typing_extensions.TypedDict, total=False): profileName: str @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): archived: bool basePlans: _list[BasePlan] listings: _list[SubscriptionListing] @@ -1842,20 +2103,15 @@ class Subscription(typing_extensions.TypedDict, total=False): taxAndComplianceSettings: SubscriptionTaxAndComplianceSettings @typing.type_check_only -class SubscriptionCancelSurveyResult(typing_extensions.TypedDict, total=False): - cancelSurveyReason: int - userInputCancelReason: str - -@typing.type_check_only -class SubscriptionDeferralInfo(typing_extensions.TypedDict, total=False): +class SubscriptionDeferralInfo(typing.TypedDict, total=False): desiredExpiryTimeMillis: str expectedExpiryTimeMillis: str @typing.type_check_only -class SubscriptionDetails(typing_extensions.TypedDict, total=False): +class SubscriptionDetails(typing.TypedDict, total=False): basePlanId: str offerId: str - offerPhase: typing_extensions.Literal[ + offerPhase: typing.Literal[ "OFFER_PHASE_UNSPECIFIED", "BASE", "INTRODUCTORY", "FREE_TRIAL" ] offerPhaseDetails: OfferPhaseDetails @@ -1863,16 +2119,16 @@ class SubscriptionDetails(typing_extensions.TypedDict, total=False): servicePeriodStartTime: str @typing.type_check_only -class SubscriptionItemPriceChangeDetails(typing_extensions.TypedDict, total=False): +class SubscriptionItemPriceChangeDetails(typing.TypedDict, total=False): expectedNewPriceChargeTime: str newPrice: Money - priceChangeMode: typing_extensions.Literal[ + priceChangeMode: typing.Literal[ "PRICE_CHANGE_MODE_UNSPECIFIED", "PRICE_DECREASE", "PRICE_INCREASE", "OPT_OUT_PRICE_INCREASE", ] - priceChangeState: typing_extensions.Literal[ + priceChangeState: typing.Literal[ "PRICE_CHANGE_STATE_UNSPECIFIED", "OUTSTANDING", "CONFIRMED", @@ -1881,14 +2137,14 @@ class SubscriptionItemPriceChangeDetails(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class SubscriptionListing(typing_extensions.TypedDict, total=False): +class SubscriptionListing(typing.TypedDict, total=False): benefits: _list[str] description: str languageCode: str title: str @typing.type_check_only -class SubscriptionOffer(typing_extensions.TypedDict, total=False): +class SubscriptionOffer(typing.TypedDict, total=False): basePlanId: str offerId: str offerTags: _list[OfferTag] @@ -1897,60 +2153,23 @@ class SubscriptionOffer(typing_extensions.TypedDict, total=False): phases: _list[SubscriptionOfferPhase] productId: str regionalConfigs: _list[RegionalSubscriptionOfferConfig] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE"] targeting: SubscriptionOfferTargeting @typing.type_check_only -class SubscriptionOfferPhase(typing_extensions.TypedDict, total=False): +class SubscriptionOfferPhase(typing.TypedDict, total=False): duration: str otherRegionsConfig: OtherRegionsSubscriptionOfferPhaseConfig recurrenceCount: int regionalConfigs: _list[RegionalSubscriptionOfferPhaseConfig] @typing.type_check_only -class SubscriptionOfferTargeting(typing_extensions.TypedDict, total=False): +class SubscriptionOfferTargeting(typing.TypedDict, total=False): acquisitionRule: AcquisitionTargetingRule upgradeRule: UpgradeTargetingRule @typing.type_check_only -class SubscriptionPriceChange(typing_extensions.TypedDict, total=False): - newPrice: Price - state: int - -@typing.type_check_only -class SubscriptionPurchase(typing_extensions.TypedDict, total=False): - acknowledgementState: int - autoRenewing: bool - autoResumeTimeMillis: str - cancelReason: int - cancelSurveyResult: SubscriptionCancelSurveyResult - countryCode: str - developerPayload: str - emailAddress: str - expiryTimeMillis: str - externalAccountId: str - familyName: str - givenName: str - introductoryPriceInfo: IntroductoryPriceInfo - kind: str - linkedPurchaseToken: str - obfuscatedExternalAccountId: str - obfuscatedExternalProfileId: str - orderId: str - paymentState: int - priceAmountMicros: str - priceChange: SubscriptionPriceChange - priceCurrencyCode: str - profileId: str - profileName: str - promotionCode: str - promotionType: int - purchaseType: int - startTimeMillis: str - userCancellationTimeMillis: str - -@typing.type_check_only -class SubscriptionPurchaseLineItem(typing_extensions.TypedDict, total=False): +class SubscriptionPurchaseLineItem(typing.TypedDict, total=False): autoRenewingPlan: AutoRenewingPlan deferredItemRemoval: DeferredItemRemoval deferredItemReplacement: DeferredItemReplacement @@ -1964,8 +2183,8 @@ class SubscriptionPurchaseLineItem(typing_extensions.TypedDict, total=False): signupPromotion: SignupPromotion @typing.type_check_only -class SubscriptionPurchaseV2(typing_extensions.TypedDict, total=False): - acknowledgementState: typing_extensions.Literal[ +class SubscriptionPurchaseV2(typing.TypedDict, total=False): + acknowledgementState: typing.Literal[ "ACKNOWLEDGEMENT_STATE_UNSPECIFIED", "ACKNOWLEDGEMENT_STATE_PENDING", "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED", @@ -1975,7 +2194,6 @@ class SubscriptionPurchaseV2(typing_extensions.TypedDict, total=False): externalAccountIdentifiers: ExternalAccountIdentifiers inGracePeriodStateContext: InGracePeriodStateContext kind: str - latestOrderId: str lineItems: _list[SubscriptionPurchaseLineItem] linkedPurchaseToken: str onHoldStateContext: OnHoldStateContext @@ -1984,7 +2202,7 @@ class SubscriptionPurchaseV2(typing_extensions.TypedDict, total=False): regionCode: str startTime: str subscribeWithGoogleInfo: SubscribeWithGoogleInfo - subscriptionState: typing_extensions.Literal[ + subscriptionState: typing.Literal[ "SUBSCRIPTION_STATE_UNSPECIFIED", "SUBSCRIPTION_STATE_PENDING", "SUBSCRIPTION_STATE_ACTIVE", @@ -1998,21 +2216,21 @@ class SubscriptionPurchaseV2(typing_extensions.TypedDict, total=False): testPurchase: TestPurchase @typing.type_check_only -class SubscriptionPurchasesAcknowledgeRequest(typing_extensions.TypedDict, total=False): +class SubscriptionPurchasesAcknowledgeRequest(typing.TypedDict, total=False): developerPayload: str externalAccountIds: ExternalAccountIds @typing.type_check_only -class SubscriptionPurchasesDeferRequest(typing_extensions.TypedDict, total=False): +class SubscriptionPurchasesDeferRequest(typing.TypedDict, total=False): deferralInfo: SubscriptionDeferralInfo @typing.type_check_only -class SubscriptionPurchasesDeferResponse(typing_extensions.TypedDict, total=False): +class SubscriptionPurchasesDeferResponse(typing.TypedDict, total=False): newExpiryTimeMillis: str @typing.type_check_only -class SubscriptionTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): - eeaWithdrawalRightType: typing_extensions.Literal[ +class SubscriptionTaxAndComplianceSettings(typing.TypedDict, total=False): + eeaWithdrawalRightType: typing.Literal[ "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED", "WITHDRAWAL_RIGHT_DIGITAL_CONTENT", "WITHDRAWAL_RIGHT_SERVICE", @@ -2023,29 +2241,29 @@ class SubscriptionTaxAndComplianceSettings(typing_extensions.TypedDict, total=Fa taxRateInfoByRegionCode: dict[str, typing.Any] @typing.type_check_only -class SystemApkOptions(typing_extensions.TypedDict, total=False): +class SystemApkOptions(typing.TypedDict, total=False): rotated: bool uncompressedDexFiles: bool uncompressedNativeLibraries: bool @typing.type_check_only -class SystemApksListResponse(typing_extensions.TypedDict, total=False): +class SystemApksListResponse(typing.TypedDict, total=False): variants: _list[Variant] @typing.type_check_only -class SystemFeature(typing_extensions.TypedDict, total=False): +class SystemFeature(typing.TypedDict, total=False): name: str @typing.type_check_only -class SystemInitiatedCancellation(typing_extensions.TypedDict, total=False): ... +class SystemInitiatedCancellation(typing.TypedDict, total=False): ... @typing.type_check_only -class SystemOnChip(typing_extensions.TypedDict, total=False): +class SystemOnChip(typing.TypedDict, total=False): manufacturer: str model: str @typing.type_check_only -class Targeting(typing_extensions.TypedDict, total=False): +class Targeting(typing.TypedDict, total=False): allUsers: AllUsers androidSdks: AndroidSdks regions: Regions @@ -2053,45 +2271,43 @@ class Targeting(typing_extensions.TypedDict, total=False): versionRange: AppVersionRange @typing.type_check_only -class TargetingInfo(typing_extensions.TypedDict, total=False): +class TargetingInfo(typing.TypedDict, total=False): assetSliceSet: _list[AssetSliceSet] packageName: str variant: _list[SplitApkVariant] @typing.type_check_only -class TargetingRuleScope(typing_extensions.TypedDict, total=False): +class TargetingRuleScope(typing.TypedDict, total=False): anySubscriptionInApp: TargetingRuleScopeAnySubscriptionInApp specificSubscriptionInApp: str thisSubscription: TargetingRuleScopeThisSubscription @typing.type_check_only -class TargetingRuleScopeAnySubscriptionInApp( - typing_extensions.TypedDict, total=False -): ... +class TargetingRuleScopeAnySubscriptionInApp(typing.TypedDict, total=False): ... @typing.type_check_only -class TargetingRuleScopeThisSubscription(typing_extensions.TypedDict, total=False): ... +class TargetingRuleScopeThisSubscription(typing.TypedDict, total=False): ... @typing.type_check_only -class TargetingUpdate(typing_extensions.TypedDict, total=False): +class TargetingUpdate(typing.TypedDict, total=False): allUsers: AllUsers androidSdks: AndroidSdks regions: Regions @typing.type_check_only -class TestPurchase(typing_extensions.TypedDict, total=False): ... +class TestPurchase(typing.TypedDict, total=False): ... @typing.type_check_only -class TestPurchaseContext(typing_extensions.TypedDict, total=False): - fopType: typing_extensions.Literal["FOP_TYPE_UNSPECIFIED", "TEST"] +class TestPurchaseContext(typing.TypedDict, total=False): + fopType: typing.Literal["FOP_TYPE_UNSPECIFIED", "TEST"] @typing.type_check_only -class Testers(typing_extensions.TypedDict, total=False): +class Testers(typing.TypedDict, total=False): googleGroups: _list[str] @typing.type_check_only -class TextureCompressionFormat(typing_extensions.TypedDict, total=False): - alias: typing_extensions.Literal[ +class TextureCompressionFormat(typing.TypedDict, total=False): + alias: typing.Literal[ "UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT", "ETC1_RGB8", "PALETTED", @@ -2106,69 +2322,91 @@ class TextureCompressionFormat(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TextureCompressionFormatTargeting(typing_extensions.TypedDict, total=False): +class TextureCompressionFormatTargeting(typing.TypedDict, total=False): alternatives: _list[TextureCompressionFormat] value: _list[TextureCompressionFormat] @typing.type_check_only -class Timestamp(typing_extensions.TypedDict, total=False): +class Timestamp(typing.TypedDict, total=False): nanos: int seconds: str @typing.type_check_only -class TokenPagination(typing_extensions.TypedDict, total=False): +class TokenPagination(typing.TypedDict, total=False): nextPageToken: str previousPageToken: str @typing.type_check_only -class Track(typing_extensions.TypedDict, total=False): +class Track(typing.TypedDict, total=False): releases: _list[TrackRelease] track: str @typing.type_check_only -class TrackConfig(typing_extensions.TypedDict, total=False): - formFactor: typing_extensions.Literal[ +class TrackConfig(typing.TypedDict, total=False): + formFactor: typing.Literal[ "FORM_FACTOR_UNSPECIFIED", "DEFAULT", "WEAR", "AUTOMOTIVE" ] track: str - type: typing_extensions.Literal["TRACK_TYPE_UNSPECIFIED", "CLOSED_TESTING"] + type: typing.Literal["TRACK_TYPE_UNSPECIFIED", "CLOSED_TESTING"] @typing.type_check_only -class TrackCountryAvailability(typing_extensions.TypedDict, total=False): +class TrackCountryAvailability(typing.TypedDict, total=False): countries: _list[TrackTargetedCountry] restOfWorld: bool syncWithProduction: bool @typing.type_check_only -class TrackRelease(typing_extensions.TypedDict, total=False): +class TrackRelease(typing.TypedDict, total=False): countryTargeting: CountryTargeting inAppUpdatePriority: int name: str releaseNotes: _list[LocalizedText] - status: typing_extensions.Literal[ + status: typing.Literal[ "statusUnspecified", "draft", "inProgress", "halted", "completed" ] userFraction: float versionCodes: _list[str] @typing.type_check_only -class TrackTargetedCountry(typing_extensions.TypedDict, total=False): +class TrackTargetedCountry(typing.TypedDict, total=False): countryCode: str @typing.type_check_only -class TracksListResponse(typing_extensions.TypedDict, total=False): +class TracksListResponse(typing.TypedDict, total=False): kind: str tracks: _list[Track] @typing.type_check_only -class UpdateBasePlanStateRequest(typing_extensions.TypedDict, total=False): +class UpdateAppStoreHostedAppPublishStatusRequest(typing.TypedDict, total=False): + publishState: typing.Literal[ + "APP_STORE_APP_PUBLISH_STATE_UNSPECIFIED", + "APP_STORE_APP_PUBLISH_STATE_PUBLISHED", + "APP_STORE_APP_PUBLISH_STATE_UNPUBLISHED", + ] + +@typing.type_check_only +class UpdateAppStoreHostedAppPublishStatusResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class UpdateAppStoreHostedAppRequest(typing.TypedDict, total=False): + activeApks: AppStoreAppActiveApks + activeLocalizedStoreListings: _list[AppStoreAppStoreListing] + appDetails: AppStoreAppDetails + packageName: str + policyDeclarations: _list[AppStoreAppPolicyDeclaration] + +@typing.type_check_only +class UpdateAppStoreHostedAppResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class UpdateBasePlanStateRequest(typing.TypedDict, total=False): activateBasePlanRequest: ActivateBasePlanRequest deactivateBasePlanRequest: DeactivateBasePlanRequest @typing.type_check_only -class UpdateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False): +class UpdateOneTimeProductOfferRequest(typing.TypedDict, total=False): allowMissing: bool - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -2178,15 +2416,15 @@ class UpdateOneTimeProductOfferRequest(typing_extensions.TypedDict, total=False) updateMask: str @typing.type_check_only -class UpdateOneTimeProductOfferStateRequest(typing_extensions.TypedDict, total=False): +class UpdateOneTimeProductOfferStateRequest(typing.TypedDict, total=False): activateOneTimeProductOfferRequest: ActivateOneTimeProductOfferRequest cancelOneTimeProductOfferRequest: CancelOneTimeProductOfferRequest deactivateOneTimeProductOfferRequest: DeactivateOneTimeProductOfferRequest @typing.type_check_only -class UpdateOneTimeProductRequest(typing_extensions.TypedDict, total=False): +class UpdateOneTimeProductRequest(typing.TypedDict, total=False): allowMissing: bool - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -2196,14 +2434,14 @@ class UpdateOneTimeProductRequest(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class UpdatePurchaseOptionStateRequest(typing_extensions.TypedDict, total=False): +class UpdatePurchaseOptionStateRequest(typing.TypedDict, total=False): activatePurchaseOptionRequest: ActivatePurchaseOptionRequest deactivatePurchaseOptionRequest: DeactivatePurchaseOptionRequest @typing.type_check_only -class UpdateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): +class UpdateSubscriptionOfferRequest(typing.TypedDict, total=False): allowMissing: bool - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -2213,14 +2451,14 @@ class UpdateSubscriptionOfferRequest(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class UpdateSubscriptionOfferStateRequest(typing_extensions.TypedDict, total=False): +class UpdateSubscriptionOfferStateRequest(typing.TypedDict, total=False): activateSubscriptionOfferRequest: ActivateSubscriptionOfferRequest deactivateSubscriptionOfferRequest: DeactivateSubscriptionOfferRequest @typing.type_check_only -class UpdateSubscriptionRequest(typing_extensions.TypedDict, total=False): +class UpdateSubscriptionRequest(typing.TypedDict, total=False): allowMissing: bool - latencyTolerance: typing_extensions.Literal[ + latencyTolerance: typing.Literal[ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE", "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT", @@ -2230,14 +2468,38 @@ class UpdateSubscriptionRequest(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class UpgradeTargetingRule(typing_extensions.TypedDict, total=False): +class UpgradeTargetingRule(typing.TypedDict, total=False): billingPeriodDuration: str oncePerUser: bool scope: TargetingRuleScope @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): - accessState: typing_extensions.Literal[ +class UploadApkRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class UploadApkResponse(typing.TypedDict, total=False): + apkId: str + +@typing.type_check_only +class UploadAppStoreAppPolicyDeclarationFileRequest(typing.TypedDict, total=False): + fileType: typing.Literal[ + "DECLARATION_FILE_TYPE_UNSPECIFIED", "DECLARATION_FILE_TYPE_DOCUMENT" + ] + +@typing.type_check_only +class UploadAppStoreAppPolicyDeclarationFileResponse(typing.TypedDict, total=False): + fileId: str + +@typing.type_check_only +class UploadImageRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class UploadImageResponse(typing.TypedDict, total=False): + imageId: str + +@typing.type_check_only +class User(typing.TypedDict, total=False): + accessState: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "INVITED", "INVITATION_EXPIRED", @@ -2245,7 +2507,7 @@ class User(typing_extensions.TypedDict, total=False): "ACCESS_EXPIRED", ] developerAccountPermissions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEVELOPER_LEVEL_PERMISSION_UNSPECIFIED", "CAN_SEE_ALL_APPS", "CAN_VIEW_FINANCIAL_DATA_GLOBAL", @@ -2276,7 +2538,7 @@ class User(typing_extensions.TypedDict, total=False): partial: bool @typing.type_check_only -class UserComment(typing_extensions.TypedDict, total=False): +class UserComment(typing.TypedDict, total=False): androidOsVersion: int appVersionCode: int appVersionName: str @@ -2291,37 +2553,64 @@ class UserComment(typing_extensions.TypedDict, total=False): thumbsUpCount: int @typing.type_check_only -class UserCountriesTargeting(typing_extensions.TypedDict, total=False): +class UserCountriesTargeting(typing.TypedDict, total=False): countryCodes: _list[str] exclude: bool @typing.type_check_only -class UserCountrySet(typing_extensions.TypedDict, total=False): +class UserCountrySet(typing.TypedDict, total=False): countryCodes: _list[str] name: str @typing.type_check_only -class UserInitiatedCancellation(typing_extensions.TypedDict, total=False): +class UserInitiatedCancellation(typing.TypedDict, total=False): cancelSurveyResult: CancelSurveyResult cancelTime: str @typing.type_check_only -class UsesPermission(typing_extensions.TypedDict, total=False): +class UsesConfiguration(typing.TypedDict, total=False): + requiredKeyboardType: typing.Literal[ + "KEYBOARD_TYPE_UNSPECIFIED", + "KEYBOARD_TYPE_UNDEFINED", + "KEYBOARD_TYPE_NO_KEYS", + "KEYBOARD_TYPE_QWERTY", + "KEYBOARD_TYPE_TWELVE_KEY", + ] + requiredNavigationType: typing.Literal[ + "NAVIGATION_TYPE_UNSPECIFIED", + "NAVIGATION_TYPE_UNDEFINED", + "NAVIGATION_TYPE_NO_NAVIGATION", + "NAVIGATION_TYPE_DPAD", + "NAVIGATION_TYPE_TRACKBALL", + "NAVIGATION_TYPE_WHEEL", + ] + requiredTouchscreenType: typing.Literal[ + "TOUCHSCREEN_TYPE_UNSPECIFIED", + "TOUCHSCREEN_TYPE_UNDEFINED", + "TOUCHSCREEN_TYPE_NO_TOUCHSCREEN", + "TOUCHSCREEN_TYPE_STYLUS", + "TOUCHSCREEN_TYPE_FINGER", + ] + requiresFiveWayNavigation: bool + requiresHardwareKeyboard: bool + +@typing.type_check_only +class UsesPermission(typing.TypedDict, total=False): maxSdkVersion: int name: str @typing.type_check_only -class VanityCode(typing_extensions.TypedDict, total=False): +class VanityCode(typing.TypedDict, total=False): promotionCode: str @typing.type_check_only -class Variant(typing_extensions.TypedDict, total=False): +class Variant(typing.TypedDict, total=False): deviceSpec: DeviceSpec options: SystemApkOptions variantId: int @typing.type_check_only -class VariantTargeting(typing_extensions.TypedDict, total=False): +class VariantTargeting(typing.TypedDict, total=False): abiTargeting: AbiTargeting multiAbiTargeting: MultiAbiTargeting screenDensityTargeting: ScreenDensityTargeting @@ -2329,7 +2618,11 @@ class VariantTargeting(typing_extensions.TypedDict, total=False): textureCompressionFormatTargeting: TextureCompressionFormatTargeting @typing.type_check_only -class VoidedPurchase(typing_extensions.TypedDict, total=False): +class VideoAsset(typing.TypedDict, total=False): + videoUrl: str + +@typing.type_check_only +class VoidedPurchase(typing.TypedDict, total=False): kind: str orderId: str purchaseTimeMillis: str @@ -2340,7 +2633,7 @@ class VoidedPurchase(typing_extensions.TypedDict, total=False): voidedTimeMillis: str @typing.type_check_only -class VoidedPurchasesListResponse(typing_extensions.TypedDict, total=False): +class VoidedPurchasesListResponse(typing.TypedDict, total=False): pageInfo: PageInfo tokenPagination: TokenPagination voidedPurchases: _list[VoidedPurchase] diff --git a/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi b/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi index e4d6b94d8..66fd77d1c 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -36,9 +35,7 @@ class ApigatewayResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ApigatewayApiConfigHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi index b88964fe2..cf72cb35c 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApigatewayApi(typing_extensions.TypedDict, total=False): +class ApigatewayApi(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] managedService: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING", "UPDATING" ] updateTime: str @typing.type_check_only -class ApigatewayApiConfig(typing_extensions.TypedDict, total=False): +class ApigatewayApiConfig(typing.TypedDict, total=False): createTime: str displayName: str gatewayServiceAccount: str @@ -27,7 +25,7 @@ class ApigatewayApiConfig(typing_extensions.TypedDict, total=False): name: str openapiDocuments: _list[ApigatewayApiConfigOpenApiDocument] serviceConfigId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -39,93 +37,91 @@ class ApigatewayApiConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ApigatewayApiConfigFile(typing_extensions.TypedDict, total=False): +class ApigatewayApiConfigFile(typing.TypedDict, total=False): contents: str path: str @typing.type_check_only -class ApigatewayApiConfigGrpcServiceDefinition( - typing_extensions.TypedDict, total=False -): +class ApigatewayApiConfigGrpcServiceDefinition(typing.TypedDict, total=False): fileDescriptorSet: ApigatewayApiConfigFile source: _list[ApigatewayApiConfigFile] @typing.type_check_only -class ApigatewayApiConfigOpenApiDocument(typing_extensions.TypedDict, total=False): +class ApigatewayApiConfigOpenApiDocument(typing.TypedDict, total=False): document: ApigatewayApiConfigFile @typing.type_check_only -class ApigatewayAuditConfig(typing_extensions.TypedDict, total=False): +class ApigatewayAuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[ApigatewayAuditLogConfig] service: str @typing.type_check_only -class ApigatewayAuditLogConfig(typing_extensions.TypedDict, total=False): +class ApigatewayAuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class ApigatewayBinding(typing_extensions.TypedDict, total=False): +class ApigatewayBinding(typing.TypedDict, total=False): condition: ApigatewayExpr members: _list[str] role: str @typing.type_check_only -class ApigatewayCancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class ApigatewayCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ApigatewayExpr(typing_extensions.TypedDict, total=False): +class ApigatewayExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ApigatewayGateway(typing_extensions.TypedDict, total=False): +class ApigatewayGateway(typing.TypedDict, total=False): apiConfig: str createTime: str defaultHostname: str displayName: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING", "UPDATING" ] updateTime: str @typing.type_check_only -class ApigatewayListApiConfigsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListApiConfigsResponse(typing.TypedDict, total=False): apiConfigs: _list[ApigatewayApiConfig] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class ApigatewayListApisResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListApisResponse(typing.TypedDict, total=False): apis: _list[ApigatewayApi] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class ApigatewayListGatewaysResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListGatewaysResponse(typing.TypedDict, total=False): gateways: _list[ApigatewayGateway] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class ApigatewayListLocationsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListLocationsResponse(typing.TypedDict, total=False): locations: _list[ApigatewayLocation] nextPageToken: str @typing.type_check_only -class ApigatewayListOperationsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[ApigatewayOperation] unreachable: _list[str] @typing.type_check_only -class ApigatewayLocation(typing_extensions.TypedDict, total=False): +class ApigatewayLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -133,7 +129,7 @@ class ApigatewayLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ApigatewayOperation(typing_extensions.TypedDict, total=False): +class ApigatewayOperation(typing.TypedDict, total=False): done: bool error: ApigatewayStatus metadata: dict[str, typing.Any] @@ -141,7 +137,7 @@ class ApigatewayOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class ApigatewayOperationMetadata(typing_extensions.TypedDict, total=False): +class ApigatewayOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str diagnostics: _list[ApigatewayOperationMetadataDiagnostic] @@ -152,35 +148,35 @@ class ApigatewayOperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ApigatewayOperationMetadataDiagnostic(typing_extensions.TypedDict, total=False): +class ApigatewayOperationMetadataDiagnostic(typing.TypedDict, total=False): location: str message: str @typing.type_check_only -class ApigatewayPolicy(typing_extensions.TypedDict, total=False): +class ApigatewayPolicy(typing.TypedDict, total=False): auditConfigs: _list[ApigatewayAuditConfig] bindings: _list[ApigatewayBinding] etag: str version: int @typing.type_check_only -class ApigatewaySetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class ApigatewaySetIamPolicyRequest(typing.TypedDict, total=False): policy: ApigatewayPolicy updateMask: str @typing.type_check_only -class ApigatewayStatus(typing_extensions.TypedDict, total=False): +class ApigatewayStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class ApigatewayTestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class ApigatewayTestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class ApigatewayTestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayTestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi b/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi index e4d6b94d8..66fd77d1c 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -36,9 +35,7 @@ class ApigatewayResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ApigatewayApiConfigHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi index 8bfbf295b..36ae0e096 100644 --- a/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigateway/v1beta/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApigatewayApi(typing_extensions.TypedDict, total=False): +class ApigatewayApi(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] managedService: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING", "UPDATING" ] updateTime: str @typing.type_check_only -class ApigatewayApiConfig(typing_extensions.TypedDict, total=False): +class ApigatewayApiConfig(typing.TypedDict, total=False): createTime: str displayName: str gatewayConfig: ApigatewayGatewayConfig @@ -28,7 +26,7 @@ class ApigatewayApiConfig(typing_extensions.TypedDict, total=False): name: str openapiDocuments: _list[ApigatewayApiConfigOpenApiDocument] serviceConfigId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -40,101 +38,99 @@ class ApigatewayApiConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ApigatewayApiConfigFile(typing_extensions.TypedDict, total=False): +class ApigatewayApiConfigFile(typing.TypedDict, total=False): contents: str path: str @typing.type_check_only -class ApigatewayApiConfigGrpcServiceDefinition( - typing_extensions.TypedDict, total=False -): +class ApigatewayApiConfigGrpcServiceDefinition(typing.TypedDict, total=False): fileDescriptorSet: ApigatewayApiConfigFile source: _list[ApigatewayApiConfigFile] @typing.type_check_only -class ApigatewayApiConfigOpenApiDocument(typing_extensions.TypedDict, total=False): +class ApigatewayApiConfigOpenApiDocument(typing.TypedDict, total=False): document: ApigatewayApiConfigFile @typing.type_check_only -class ApigatewayAuditConfig(typing_extensions.TypedDict, total=False): +class ApigatewayAuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[ApigatewayAuditLogConfig] service: str @typing.type_check_only -class ApigatewayAuditLogConfig(typing_extensions.TypedDict, total=False): +class ApigatewayAuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class ApigatewayBackendConfig(typing_extensions.TypedDict, total=False): +class ApigatewayBackendConfig(typing.TypedDict, total=False): googleServiceAccount: str @typing.type_check_only -class ApigatewayBinding(typing_extensions.TypedDict, total=False): +class ApigatewayBinding(typing.TypedDict, total=False): condition: ApigatewayExpr members: _list[str] role: str @typing.type_check_only -class ApigatewayCancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class ApigatewayCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ApigatewayExpr(typing_extensions.TypedDict, total=False): +class ApigatewayExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ApigatewayGateway(typing_extensions.TypedDict, total=False): +class ApigatewayGateway(typing.TypedDict, total=False): apiConfig: str createTime: str defaultHostname: str displayName: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING", "UPDATING" ] updateTime: str @typing.type_check_only -class ApigatewayGatewayConfig(typing_extensions.TypedDict, total=False): +class ApigatewayGatewayConfig(typing.TypedDict, total=False): backendConfig: ApigatewayBackendConfig @typing.type_check_only -class ApigatewayListApiConfigsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListApiConfigsResponse(typing.TypedDict, total=False): apiConfigs: _list[ApigatewayApiConfig] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class ApigatewayListApisResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListApisResponse(typing.TypedDict, total=False): apis: _list[ApigatewayApi] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class ApigatewayListGatewaysResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListGatewaysResponse(typing.TypedDict, total=False): gateways: _list[ApigatewayGateway] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class ApigatewayListLocationsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListLocationsResponse(typing.TypedDict, total=False): locations: _list[ApigatewayLocation] nextPageToken: str @typing.type_check_only -class ApigatewayListOperationsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[ApigatewayOperation] unreachable: _list[str] @typing.type_check_only -class ApigatewayLocation(typing_extensions.TypedDict, total=False): +class ApigatewayLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -142,7 +138,7 @@ class ApigatewayLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ApigatewayOperation(typing_extensions.TypedDict, total=False): +class ApigatewayOperation(typing.TypedDict, total=False): done: bool error: ApigatewayStatus metadata: dict[str, typing.Any] @@ -150,7 +146,7 @@ class ApigatewayOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class ApigatewayOperationMetadata(typing_extensions.TypedDict, total=False): +class ApigatewayOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str diagnostics: _list[ApigatewayOperationMetadataDiagnostic] @@ -161,35 +157,35 @@ class ApigatewayOperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ApigatewayOperationMetadataDiagnostic(typing_extensions.TypedDict, total=False): +class ApigatewayOperationMetadataDiagnostic(typing.TypedDict, total=False): location: str message: str @typing.type_check_only -class ApigatewayPolicy(typing_extensions.TypedDict, total=False): +class ApigatewayPolicy(typing.TypedDict, total=False): auditConfigs: _list[ApigatewayAuditConfig] bindings: _list[ApigatewayBinding] etag: str version: int @typing.type_check_only -class ApigatewaySetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class ApigatewaySetIamPolicyRequest(typing.TypedDict, total=False): policy: ApigatewayPolicy updateMask: str @typing.type_check_only -class ApigatewayStatus(typing_extensions.TypedDict, total=False): +class ApigatewayStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class ApigatewayTestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class ApigatewayTestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class ApigatewayTestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class ApigatewayTestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi index f68cf26b3..bbeb889d6 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -151,9 +150,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): expand: bool | None = ..., orderBy: str | None = ..., startKey: str | None = ..., - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "DRAFT", "PUBLISHED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "DRAFT", "PUBLISHED"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1ListRatePlansResponseHttpRequest: ... @@ -977,9 +974,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "INGRESS_CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["INGRESS_CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1EnvironmentGroupConfigHttpRequest: ... @@ -2313,7 +2308,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): self, *, name: str, - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] | None = ..., @@ -2323,7 +2318,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): self, *, name: str, - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] | None = ..., @@ -2336,7 +2331,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] | None = ..., @@ -2460,7 +2455,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): self, *, name: str, - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] | None = ..., @@ -2470,7 +2465,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): self, *, name: str, - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] | None = ..., @@ -2482,7 +2477,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] | None = ..., @@ -2718,9 +2713,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): self, *, name: str, - retention: typing_extensions.Literal[ - "DELETION_RETENTION_UNSPECIFIED", "MINIMUM" - ] + retention: typing.Literal["DELETION_RETENTION_UNSPECIFIED", "MINIMUM"] | None = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... @@ -2734,9 +2727,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "INGRESS_CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["INGRESS_CONFIG_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1IngressConfigHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi index 7ca4538dd..f08650268 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi @@ -1,65 +1,59 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class EdgeConfigstoreBundleBadBundle(typing_extensions.TypedDict, total=False): +class EdgeConfigstoreBundleBadBundle(typing.TypedDict, total=False): violations: _list[EdgeConfigstoreBundleBadBundleViolation] @typing.type_check_only -class EdgeConfigstoreBundleBadBundleViolation(typing_extensions.TypedDict, total=False): +class EdgeConfigstoreBundleBadBundleViolation(typing.TypedDict, total=False): description: str filename: str @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleCloudApigeeV1APIProductAssociation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1APIProductAssociation(typing.TypedDict, total=False): apiproduct: str status: str @typing.type_check_only -class GoogleCloudApigeeV1Access(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Access(typing.TypedDict, total=False): Get: GoogleCloudApigeeV1AccessGet Remove: GoogleCloudApigeeV1AccessRemove Set: GoogleCloudApigeeV1AccessSet @typing.type_check_only -class GoogleCloudApigeeV1AccessGet(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AccessGet(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudApigeeV1AccessLoggingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AccessLoggingConfig(typing.TypedDict, total=False): enabled: bool filter: str @typing.type_check_only -class GoogleCloudApigeeV1AccessRemove(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AccessRemove(typing.TypedDict, total=False): name: str success: bool @typing.type_check_only -class GoogleCloudApigeeV1AccessSet(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AccessSet(typing.TypedDict, total=False): name: str success: bool value: str @typing.type_check_only -class GoogleCloudApigeeV1ActivateNatAddressRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1ActivateNatAddressRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1AddonsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AddonsConfig(typing.TypedDict, total=False): advancedApiOpsConfig: GoogleCloudApigeeV1AdvancedApiOpsConfig analyticsConfig: GoogleCloudApigeeV1AnalyticsConfig apiSecurityConfig: GoogleCloudApigeeV1ApiSecurityConfig @@ -68,51 +62,47 @@ class GoogleCloudApigeeV1AddonsConfig(typing_extensions.TypedDict, total=False): monetizationConfig: GoogleCloudApigeeV1MonetizationConfig @typing.type_check_only -class GoogleCloudApigeeV1AdjustAppGroupBalanceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1AdjustAppGroupBalanceRequest(typing.TypedDict, total=False): adjustment: GoogleTypeMoney @typing.type_check_only -class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest(typing.TypedDict, total=False): adjustment: GoogleTypeMoney @typing.type_check_only -class GoogleCloudApigeeV1AdvancedApiOpsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AdvancedApiOpsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudApigeeV1Alias(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Alias(typing.TypedDict, total=False): alias: str certsInfo: GoogleCloudApigeeV1Certificate - type: typing_extensions.Literal["ALIAS_TYPE_UNSPECIFIED", "CERT", "KEY_CERT"] + type: typing.Literal["ALIAS_TYPE_UNSPECIFIED", "CERT", "KEY_CERT"] @typing.type_check_only -class GoogleCloudApigeeV1AliasRevisionConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AliasRevisionConfig(typing.TypedDict, total=False): location: str name: str - type: typing_extensions.Literal["ALIAS_TYPE_UNSPECIFIED", "CERT", "KEY_CERT"] + type: typing.Literal["ALIAS_TYPE_UNSPECIFIED", "CERT", "KEY_CERT"] @typing.type_check_only -class GoogleCloudApigeeV1AnalyticsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AnalyticsConfig(typing.TypedDict, total=False): enabled: bool expireTimeMillis: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ADDON_STATE_UNSPECIFIED", "ENABLING", "ENABLED", "DISABLING", "DISABLED" ] updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1ApiCategory(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiCategory(typing.TypedDict, total=False): id: str name: str siteId: str updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1ApiCategoryResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiCategoryResponse(typing.TypedDict, total=False): data: GoogleCloudApigeeV1ApiCategory errorCode: str message: str @@ -120,14 +110,14 @@ class GoogleCloudApigeeV1ApiCategoryResponse(typing_extensions.TypedDict, total= status: str @typing.type_check_only -class GoogleCloudApigeeV1ApiDebugSession(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiDebugSession(typing.TypedDict, total=False): apiProxyRevisionId: str createTime: str environmentId: str id: str @typing.type_check_only -class GoogleCloudApigeeV1ApiDoc(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiDoc(typing.TypedDict, total=False): anonAllowed: bool apiProductName: str categoryIds: _list[str] @@ -147,15 +137,13 @@ class GoogleCloudApigeeV1ApiDoc(typing_extensions.TypedDict, total=False): visibility: bool @typing.type_check_only -class GoogleCloudApigeeV1ApiDocDocumentation(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiDocDocumentation(typing.TypedDict, total=False): asyncApiDocumentation: GoogleCloudApigeeV1AsyncApiDocumentation graphqlDocumentation: GoogleCloudApigeeV1GraphqlDocumentation oasDocumentation: GoogleCloudApigeeV1OASDocumentation @typing.type_check_only -class GoogleCloudApigeeV1ApiDocDocumentationResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ApiDocDocumentationResponse(typing.TypedDict, total=False): data: GoogleCloudApigeeV1ApiDocDocumentation errorCode: str message: str @@ -163,7 +151,7 @@ class GoogleCloudApigeeV1ApiDocDocumentationResponse( status: str @typing.type_check_only -class GoogleCloudApigeeV1ApiDocResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiDocResponse(typing.TypedDict, total=False): data: GoogleCloudApigeeV1ApiDoc errorCode: str message: str @@ -171,7 +159,7 @@ class GoogleCloudApigeeV1ApiDocResponse(typing_extensions.TypedDict, total=False status: str @typing.type_check_only -class GoogleCloudApigeeV1ApiProduct(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiProduct(typing.TypedDict, total=False): apiResources: _list[str] approvalType: str attributes: _list[GoogleCloudApigeeV1Attribute] @@ -191,7 +179,7 @@ class GoogleCloudApigeeV1ApiProduct(typing_extensions.TypedDict, total=False): payloadOperationGroup: GoogleCloudApigeeV1PayloadOperationGroup proxies: _list[str] quota: str - quotaCounterScope: typing_extensions.Literal[ + quotaCounterScope: typing.Literal[ "QUOTA_COUNTER_SCOPE_UNSPECIFIED", "PROXY", "OPERATION", "PRODUCT" ] quotaInterval: str @@ -200,13 +188,13 @@ class GoogleCloudApigeeV1ApiProduct(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class GoogleCloudApigeeV1ApiProductRef(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiProductRef(typing.TypedDict, total=False): apiproduct: str status: str @typing.type_check_only -class GoogleCloudApigeeV1ApiProxy(typing_extensions.TypedDict, total=False): - apiProxyType: typing_extensions.Literal[ +class GoogleCloudApigeeV1ApiProxy(typing.TypedDict, total=False): + apiProxyType: typing.Literal[ "API_PROXY_TYPE_UNSPECIFIED", "PROGRAMMABLE", "CONFIGURABLE" ] labels: dict[str, typing.Any] @@ -218,7 +206,7 @@ class GoogleCloudApigeeV1ApiProxy(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class GoogleCloudApigeeV1ApiProxyRevision(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiProxyRevision(typing.TypedDict, total=False): archive: str basepaths: _list[str] configurationVersion: GoogleCloudApigeeV1ConfigVersion @@ -247,14 +235,12 @@ class GoogleCloudApigeeV1ApiProxyRevision(typing_extensions.TypedDict, total=Fal type: str @typing.type_check_only -class GoogleCloudApigeeV1ApiSecurityConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApiSecurityConfig(typing.TypedDict, total=False): enabled: bool expiresAt: str @typing.type_check_only -class GoogleCloudApigeeV1ApiSecurityRuntimeConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ApiSecurityRuntimeConfig(typing.TypedDict, total=False): location: _list[str] name: str revisionId: str @@ -262,7 +248,7 @@ class GoogleCloudApigeeV1ApiSecurityRuntimeConfig( updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1ApimServiceExtension(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ApimServiceExtension(typing.TypedDict, total=False): createTime: str extensionProcessor: str extensions: _list[GoogleCloudApigeeV1ApimServiceExtensionExtension] @@ -270,21 +256,19 @@ class GoogleCloudApigeeV1ApimServiceExtension(typing_extensions.TypedDict, total name: str network: str networkConfigs: _list[GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1ApimServiceExtensionExtension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ApimServiceExtensionExtension(typing.TypedDict, total=False): failOpen: bool hostname: str matchCondition: str name: str supportedEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUPPORTED_EVENT_UNSPECIFIED", "REQUEST_HEADERS", "REQUEST_BODY", @@ -297,13 +281,13 @@ class GoogleCloudApigeeV1ApimServiceExtensionExtension( @typing.type_check_only class GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str subnet: str @typing.type_check_only -class GoogleCloudApigeeV1App(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1App(typing.TypedDict, total=False): apiProducts: _list[GoogleCloudApigeeV1ApiProductRef] appGroup: str appId: str @@ -321,7 +305,7 @@ class GoogleCloudApigeeV1App(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class GoogleCloudApigeeV1AppGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AppGroup(typing.TypedDict, total=False): appGroupId: str attributes: _list[GoogleCloudApigeeV1Attribute] channelId: str @@ -335,7 +319,7 @@ class GoogleCloudApigeeV1AppGroup(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class GoogleCloudApigeeV1AppGroupApp(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AppGroupApp(typing.TypedDict, total=False): apiProducts: _list[str] appGroup: str appId: str @@ -350,7 +334,7 @@ class GoogleCloudApigeeV1AppGroupApp(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class GoogleCloudApigeeV1AppGroupAppKey(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AppGroupAppKey(typing.TypedDict, total=False): apiProducts: _list[GoogleCloudApigeeV1APIProductAssociation] attributes: _list[GoogleCloudApigeeV1Attribute] consumerKey: str @@ -362,26 +346,20 @@ class GoogleCloudApigeeV1AppGroupAppKey(typing_extensions.TypedDict, total=False status: str @typing.type_check_only -class GoogleCloudApigeeV1AppGroupBalance(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AppGroupBalance(typing.TypedDict, total=False): wallets: _list[GoogleCloudApigeeV1AppGroupBalanceWallet] @typing.type_check_only -class GoogleCloudApigeeV1AppGroupBalanceWallet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1AppGroupBalanceWallet(typing.TypedDict, total=False): balance: GoogleTypeMoney lastCreditTime: str @typing.type_check_only -class GoogleCloudApigeeV1AppGroupMonetizationConfig( - typing_extensions.TypedDict, total=False -): - billingType: typing_extensions.Literal[ - "BILLING_TYPE_UNSPECIFIED", "PREPAID", "POSTPAID" - ] +class GoogleCloudApigeeV1AppGroupMonetizationConfig(typing.TypedDict, total=False): + billingType: typing.Literal["BILLING_TYPE_UNSPECIFIED", "PREPAID", "POSTPAID"] @typing.type_check_only -class GoogleCloudApigeeV1AppGroupSubscription(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AppGroupSubscription(typing.TypedDict, total=False): apiproduct: str createdAt: str endTime: str @@ -390,7 +368,7 @@ class GoogleCloudApigeeV1AppGroupSubscription(typing_extensions.TypedDict, total startTime: str @typing.type_check_only -class GoogleCloudApigeeV1ArchiveDeployment(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ArchiveDeployment(typing.TypedDict, total=False): createdAt: str gcsUri: str labels: dict[str, typing.Any] @@ -399,13 +377,11 @@ class GoogleCloudApigeeV1ArchiveDeployment(typing_extensions.TypedDict, total=Fa updatedAt: str @typing.type_check_only -class GoogleCloudApigeeV1AsyncApiDocumentation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1AsyncApiDocumentation(typing.TypedDict, total=False): spec: GoogleCloudApigeeV1DocumentationFile @typing.type_check_only -class GoogleCloudApigeeV1AsyncQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AsyncQuery(typing.TypedDict, total=False): created: str envgroupHostname: str error: str @@ -421,12 +397,12 @@ class GoogleCloudApigeeV1AsyncQuery(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class GoogleCloudApigeeV1AsyncQueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AsyncQueryResult(typing.TypedDict, total=False): expires: str self: str @typing.type_check_only -class GoogleCloudApigeeV1AsyncQueryResultView(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1AsyncQueryResultView(typing.TypedDict, total=False): code: int error: str metadata: GoogleCloudApigeeV1QueryMetadata @@ -434,17 +410,17 @@ class GoogleCloudApigeeV1AsyncQueryResultView(typing_extensions.TypedDict, total state: str @typing.type_check_only -class GoogleCloudApigeeV1Attribute(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Attribute(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudApigeeV1Attributes(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Attributes(typing.TypedDict, total=False): attribute: _list[GoogleCloudApigeeV1Attribute] @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiHubApis: ( GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray @@ -463,24 +439,24 @@ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest( @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apis: _list[str] @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gateways: _list[str] @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resources: _list[ GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource @@ -488,16 +464,14 @@ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArr @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str - type: typing_extensions.Literal[ - "RESOURCE_TYPE_UNSPECIFIED", "API_PROXY", "API_HUB_DEPLOYMENT" - ] + type: typing.Literal["RESOURCE_TYPE_UNSPECIFIED", "API_PROXY", "API_HUB_DEPLOYMENT"] @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assessmentTime: str nextPageToken: str @@ -505,38 +479,36 @@ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse( @typing.type_check_only class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudApigeeV1UpdateSecurityIncidentRequest] @typing.type_check_only class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): securityIncidents: _list[GoogleCloudApigeeV1SecurityIncident] @typing.type_check_only -class GoogleCloudApigeeV1CanaryEvaluation(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1CanaryEvaluation(typing.TypedDict, total=False): control: str createTime: str endTime: str metricLabels: GoogleCloudApigeeV1CanaryEvaluationMetricLabels name: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED"] treatment: str - verdict: typing_extensions.Literal["VERDICT_UNSPECIFIED", "NONE", "FAIL", "PASS"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "NONE", "FAIL", "PASS"] @typing.type_check_only -class GoogleCloudApigeeV1CanaryEvaluationMetricLabels( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1CanaryEvaluationMetricLabels(typing.TypedDict, total=False): env: str instance_id: str location: str @typing.type_check_only -class GoogleCloudApigeeV1CertInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1CertInfo(typing.TypedDict, total=False): basicConstraints: str expiryDate: str isValid: str @@ -550,18 +522,16 @@ class GoogleCloudApigeeV1CertInfo(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudApigeeV1Certificate(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Certificate(typing.TypedDict, total=False): certInfo: _list[GoogleCloudApigeeV1CertInfo] @typing.type_check_only -class GoogleCloudApigeeV1CommonNameConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1CommonNameConfig(typing.TypedDict, total=False): matchWildCards: bool name: str @typing.type_check_only -class GoogleCloudApigeeV1ComputeEnvironmentScoresRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ComputeEnvironmentScoresRequest(typing.TypedDict, total=False): filters: _list[GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter] pageSize: int pageToken: str @@ -569,37 +539,35 @@ class GoogleCloudApigeeV1ComputeEnvironmentScoresRequest( @typing.type_check_only class GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scorePath: str @typing.type_check_only class GoogleCloudApigeeV1ComputeEnvironmentScoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str scores: _list[GoogleCloudApigeeV1Score] @typing.type_check_only -class GoogleCloudApigeeV1ConfigVersion(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ConfigVersion(typing.TypedDict, total=False): majorVersion: int minorVersion: int @typing.type_check_only -class GoogleCloudApigeeV1ConnectorsPlatformConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ConnectorsPlatformConfig(typing.TypedDict, total=False): enabled: bool expiresAt: str @typing.type_check_only -class GoogleCloudApigeeV1ControlPlaneAccess(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ControlPlaneAccess(typing.TypedDict, total=False): analyticsPublisherIdentities: _list[str] name: str synchronizerIdentities: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1Credential(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Credential(typing.TypedDict, total=False): apiProducts: _list[GoogleCloudApigeeV1ApiProductRef] attributes: _list[GoogleCloudApigeeV1Attribute] consumerKey: str @@ -610,21 +578,17 @@ class GoogleCloudApigeeV1Credential(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class GoogleCloudApigeeV1CreditAppGroupBalanceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1CreditAppGroupBalanceRequest(typing.TypedDict, total=False): transactionAmount: GoogleTypeMoney transactionId: str @typing.type_check_only -class GoogleCloudApigeeV1CreditDeveloperBalanceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1CreditDeveloperBalanceRequest(typing.TypedDict, total=False): transactionAmount: GoogleTypeMoney transactionId: str @typing.type_check_only -class GoogleCloudApigeeV1CustomReport(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1CustomReport(typing.TypedDict, total=False): chartType: str comments: _list[str] createdAt: str @@ -649,29 +613,29 @@ class GoogleCloudApigeeV1CustomReport(typing_extensions.TypedDict, total=False): topk: str @typing.type_check_only -class GoogleCloudApigeeV1CustomReportMetric(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1CustomReportMetric(typing.TypedDict, total=False): function: str name: str @typing.type_check_only -class GoogleCloudApigeeV1DataCollector(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DataCollector(typing.TypedDict, total=False): createdAt: str description: str lastModifiedAt: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "INTEGER", "FLOAT", "STRING", "BOOLEAN", "DATETIME" ] @typing.type_check_only -class GoogleCloudApigeeV1DataCollectorConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DataCollectorConfig(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "INTEGER", "FLOAT", "STRING", "BOOLEAN", "DATETIME" ] @typing.type_check_only -class GoogleCloudApigeeV1Datastore(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Datastore(typing.TypedDict, total=False): createTime: str datastoreConfig: GoogleCloudApigeeV1DatastoreConfig displayName: str @@ -681,7 +645,7 @@ class GoogleCloudApigeeV1Datastore(typing_extensions.TypedDict, total=False): targetType: str @typing.type_check_only -class GoogleCloudApigeeV1DatastoreConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DatastoreConfig(typing.TypedDict, total=False): bucketName: str datasetName: str path: str @@ -689,12 +653,12 @@ class GoogleCloudApigeeV1DatastoreConfig(typing_extensions.TypedDict, total=Fals tablePrefix: str @typing.type_check_only -class GoogleCloudApigeeV1DateRange(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DateRange(typing.TypedDict, total=False): end: str start: str @typing.type_check_only -class GoogleCloudApigeeV1DebugMask(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DebugMask(typing.TypedDict, total=False): faultJSONPaths: _list[str] faultXPaths: _list[str] name: str @@ -706,7 +670,7 @@ class GoogleCloudApigeeV1DebugMask(typing_extensions.TypedDict, total=False): variables: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1DebugSession(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DebugSession(typing.TypedDict, total=False): count: int createTime: str filter: str @@ -716,20 +680,16 @@ class GoogleCloudApigeeV1DebugSession(typing_extensions.TypedDict, total=False): validity: int @typing.type_check_only -class GoogleCloudApigeeV1DebugSessionTransaction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1DebugSessionTransaction(typing.TypedDict, total=False): completed: bool point: _list[GoogleCloudApigeeV1Point] @typing.type_check_only -class GoogleCloudApigeeV1DeleteCustomReportResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1DeleteCustomReportResponse(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudApigeeV1DeleteResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DeleteResponse(typing.TypedDict, total=False): errorCode: str gcpResource: str message: str @@ -737,34 +697,30 @@ class GoogleCloudApigeeV1DeleteResponse(typing_extensions.TypedDict, total=False status: str @typing.type_check_only -class GoogleCloudApigeeV1Deployment(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Deployment(typing.TypedDict, total=False): apiProxy: str deployStartTime: str environment: str errors: _list[GoogleRpcStatus] instances: _list[GoogleCloudApigeeV1InstanceDeploymentStatus] pods: _list[GoogleCloudApigeeV1PodStatus] - proxyDeploymentType: typing_extensions.Literal[ + proxyDeploymentType: typing.Literal[ "PROXY_DEPLOYMENT_TYPE_UNSPECIFIED", "STANDARD", "EXTENSIBLE" ] revision: str routeConflicts: _list[GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict] serviceAccount: str - state: typing_extensions.Literal[ - "RUNTIME_STATE_UNSPECIFIED", "READY", "PROGRESSING", "ERROR" - ] + state: typing.Literal["RUNTIME_STATE_UNSPECIFIED", "READY", "PROGRESSING", "ERROR"] @typing.type_check_only -class GoogleCloudApigeeV1DeploymentChangeReport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1DeploymentChangeReport(typing.TypedDict, total=False): routingChanges: _list[GoogleCloudApigeeV1DeploymentChangeReportRoutingChange] routingConflicts: _list[GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict] validationErrors: GoogleRpcPreconditionFailure @typing.type_check_only class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str environmentGroup: str @@ -774,7 +730,7 @@ class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange( @typing.type_check_only class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingDeployment: GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment description: str @@ -782,7 +738,7 @@ class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict( @typing.type_check_only class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiProxy: str basepath: str @@ -790,7 +746,7 @@ class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment( revision: str @typing.type_check_only -class GoogleCloudApigeeV1DeploymentConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DeploymentConfig(typing.TypedDict, total=False): attributes: dict[str, typing.Any] basePath: str deploymentGroups: _list[str] @@ -802,10 +758,8 @@ class GoogleCloudApigeeV1DeploymentConfig(typing_extensions.TypedDict, total=Fal uid: str @typing.type_check_only -class GoogleCloudApigeeV1DeploymentGroupConfig( - typing_extensions.TypedDict, total=False -): - deploymentGroupType: typing_extensions.Literal[ +class GoogleCloudApigeeV1DeploymentGroupConfig(typing.TypedDict, total=False): + deploymentGroupType: typing.Literal[ "DEPLOYMENT_GROUP_TYPE_UNSPECIFIED", "STANDARD", "EXTENSIBLE" ] name: str @@ -813,7 +767,7 @@ class GoogleCloudApigeeV1DeploymentGroupConfig( uid: str @typing.type_check_only -class GoogleCloudApigeeV1Developer(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Developer(typing.TypedDict, total=False): accessType: str appFamily: str apps: _list[str] @@ -830,7 +784,7 @@ class GoogleCloudApigeeV1Developer(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class GoogleCloudApigeeV1DeveloperApp(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DeveloperApp(typing.TypedDict, total=False): apiProducts: _list[str] appFamily: str appId: str @@ -846,7 +800,7 @@ class GoogleCloudApigeeV1DeveloperApp(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class GoogleCloudApigeeV1DeveloperAppKey(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DeveloperAppKey(typing.TypedDict, total=False): apiProducts: _list[typing.Any] attributes: _list[GoogleCloudApigeeV1Attribute] consumerKey: str @@ -858,28 +812,20 @@ class GoogleCloudApigeeV1DeveloperAppKey(typing_extensions.TypedDict, total=Fals status: str @typing.type_check_only -class GoogleCloudApigeeV1DeveloperBalance(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DeveloperBalance(typing.TypedDict, total=False): wallets: _list[GoogleCloudApigeeV1DeveloperBalanceWallet] @typing.type_check_only -class GoogleCloudApigeeV1DeveloperBalanceWallet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1DeveloperBalanceWallet(typing.TypedDict, total=False): balance: GoogleTypeMoney lastCreditTime: str @typing.type_check_only -class GoogleCloudApigeeV1DeveloperMonetizationConfig( - typing_extensions.TypedDict, total=False -): - billingType: typing_extensions.Literal[ - "BILLING_TYPE_UNSPECIFIED", "PREPAID", "POSTPAID" - ] +class GoogleCloudApigeeV1DeveloperMonetizationConfig(typing.TypedDict, total=False): + billingType: typing.Literal["BILLING_TYPE_UNSPECIFIED", "PREPAID", "POSTPAID"] @typing.type_check_only -class GoogleCloudApigeeV1DeveloperSubscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1DeveloperSubscription(typing.TypedDict, total=False): apiproduct: str createdAt: str endTime: str @@ -888,46 +834,44 @@ class GoogleCloudApigeeV1DeveloperSubscription( startTime: str @typing.type_check_only -class GoogleCloudApigeeV1DimensionMetric(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DimensionMetric(typing.TypedDict, total=False): individualNames: _list[str] metrics: _list[GoogleCloudApigeeV1Metric] name: str @typing.type_check_only class GoogleCloudApigeeV1DisableSecurityActionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudApigeeV1DnsZone(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DnsZone(typing.TypedDict, total=False): createTime: str description: str domain: str name: str peeringConfig: GoogleCloudApigeeV1DnsZonePeeringConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1DnsZonePeeringConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DnsZonePeeringConfig(typing.TypedDict, total=False): targetNetworkId: str targetProjectId: str @typing.type_check_only -class GoogleCloudApigeeV1DocumentationFile(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1DocumentationFile(typing.TypedDict, total=False): contents: str displayName: str @typing.type_check_only -class GoogleCloudApigeeV1EnableSecurityActionRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1EnableSecurityActionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1EndpointAttachment(typing_extensions.TypedDict, total=False): - connectionState: typing_extensions.Literal[ +class GoogleCloudApigeeV1EndpointAttachment(typing.TypedDict, total=False): + connectionState: typing.Literal[ "CONNECTION_STATE_UNSPECIFIED", "UNAVAILABLE", "PENDING", @@ -942,31 +886,29 @@ class GoogleCloudApigeeV1EndpointAttachment(typing_extensions.TypedDict, total=F location: str name: str serviceAttachment: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] @typing.type_check_only -class GoogleCloudApigeeV1EndpointChainingRule(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1EndpointChainingRule(typing.TypedDict, total=False): deploymentGroup: str proxyIds: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1EntityMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1EntityMetadata(typing.TypedDict, total=False): createdAt: str lastModifiedAt: str subType: str @typing.type_check_only -class GoogleCloudApigeeV1Environment(typing_extensions.TypedDict, total=False): - apiProxyType: typing_extensions.Literal[ +class GoogleCloudApigeeV1Environment(typing.TypedDict, total=False): + apiProxyType: typing.Literal[ "API_PROXY_TYPE_UNSPECIFIED", "PROGRAMMABLE", "CONFIGURABLE" ] clientIpResolutionConfig: GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig createdAt: str - deploymentType: typing_extensions.Literal[ - "DEPLOYMENT_TYPE_UNSPECIFIED", "PROXY", "ARCHIVE" - ] + deploymentType: typing.Literal["DEPLOYMENT_TYPE_UNSPECIFIED", "PROXY", "ARCHIVE"] description: str displayName: str forwardProxyUri: str @@ -975,16 +917,16 @@ class GoogleCloudApigeeV1Environment(typing_extensions.TypedDict, total=False): name: str nodeConfig: GoogleCloudApigeeV1NodeConfig properties: GoogleCloudApigeeV1Properties - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "BASE", "INTERMEDIATE", "COMPREHENSIVE" ] @typing.type_check_only class GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): headerIndexAlgorithm: ( GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm @@ -992,13 +934,13 @@ class GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig( @typing.type_check_only class GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipHeaderIndex: int ipHeaderName: str @typing.type_check_only -class GoogleCloudApigeeV1EnvironmentConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1EnvironmentConfig(typing.TypedDict, total=False): addonsConfig: GoogleCloudApigeeV1RuntimeAddonsConfig arcConfigLocation: str clientIpResolutionConfig: ( @@ -1028,7 +970,7 @@ class GoogleCloudApigeeV1EnvironmentConfig(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): headerIndexAlgorithm: ( GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfigHeaderIndexAlgorithm @@ -1036,34 +978,30 @@ class GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfig( @typing.type_check_only class GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfigHeaderIndexAlgorithm( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipHeaderIndex: int ipHeaderName: str @typing.type_check_only -class GoogleCloudApigeeV1EnvironmentGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1EnvironmentGroup(typing.TypedDict, total=False): createdAt: str hostnames: _list[str] lastModifiedAt: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] @typing.type_check_only -class GoogleCloudApigeeV1EnvironmentGroupAttachment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1EnvironmentGroupAttachment(typing.TypedDict, total=False): createdAt: str environment: str environmentGroupId: str name: str @typing.type_check_only -class GoogleCloudApigeeV1EnvironmentGroupConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1EnvironmentGroupConfig(typing.TypedDict, total=False): endpointChainingRules: _list[GoogleCloudApigeeV1EndpointChainingRule] hostnames: _list[str] location: str @@ -1074,16 +1012,16 @@ class GoogleCloudApigeeV1EnvironmentGroupConfig( @typing.type_check_only class GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudApigeeV1Export(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Export(typing.TypedDict, total=False): created: str datastoreName: str description: str @@ -1095,7 +1033,7 @@ class GoogleCloudApigeeV1Export(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class GoogleCloudApigeeV1ExportRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ExportRequest(typing.TypedDict, total=False): csvDelimiter: str datastoreName: str dateRange: GoogleCloudApigeeV1DateRange @@ -1104,87 +1042,71 @@ class GoogleCloudApigeeV1ExportRequest(typing_extensions.TypedDict, total=False) outputFormat: str @typing.type_check_only -class GoogleCloudApigeeV1FlowHook(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1FlowHook(typing.TypedDict, total=False): continueOnError: bool description: str flowHookPoint: str sharedFlow: str @typing.type_check_only -class GoogleCloudApigeeV1FlowHookConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1FlowHookConfig(typing.TypedDict, total=False): continueOnError: bool name: str sharedFlowName: str @typing.type_check_only -class GoogleCloudApigeeV1GenerateDownloadUrlRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1GenerateDownloadUrlRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1GenerateDownloadUrlResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1GenerateDownloadUrlResponse(typing.TypedDict, total=False): downloadUri: str @typing.type_check_only -class GoogleCloudApigeeV1GenerateUploadUrlRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1GenerateUploadUrlRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1GenerateUploadUrlResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1GenerateUploadUrlResponse(typing.TypedDict, total=False): uploadUri: str @typing.type_check_only -class GoogleCloudApigeeV1GetAsyncQueryResultUrlResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1GetAsyncQueryResultUrlResponse(typing.TypedDict, total=False): urls: _list[GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseURLInfo] @typing.type_check_only class GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseURLInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): md5: str sizeBytes: str uri: str @typing.type_check_only -class GoogleCloudApigeeV1GetSyncAuthorizationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1GetSyncAuthorizationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1GraphQLOperation(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1GraphQLOperation(typing.TypedDict, total=False): operation: str operationTypes: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1GraphQLOperationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1GraphQLOperationConfig(typing.TypedDict, total=False): apiSource: str attributes: _list[GoogleCloudApigeeV1Attribute] operations: _list[GoogleCloudApigeeV1GraphQLOperation] quota: GoogleCloudApigeeV1Quota @typing.type_check_only -class GoogleCloudApigeeV1GraphQLOperationGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1GraphQLOperationGroup(typing.TypedDict, total=False): operationConfigType: str operationConfigs: _list[GoogleCloudApigeeV1GraphQLOperationConfig] @typing.type_check_only -class GoogleCloudApigeeV1GraphqlDocumentation(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1GraphqlDocumentation(typing.TypedDict, total=False): endpointUri: str schema: GoogleCloudApigeeV1DocumentationFile @typing.type_check_only -class GoogleCloudApigeeV1GrpcOperationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1GrpcOperationConfig(typing.TypedDict, total=False): apiSource: str attributes: _list[GoogleCloudApigeeV1Attribute] methods: _list[str] @@ -1192,11 +1114,11 @@ class GoogleCloudApigeeV1GrpcOperationConfig(typing_extensions.TypedDict, total= service: str @typing.type_check_only -class GoogleCloudApigeeV1GrpcOperationGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1GrpcOperationGroup(typing.TypedDict, total=False): operationConfigs: _list[GoogleCloudApigeeV1GrpcOperationConfig] @typing.type_check_only -class GoogleCloudApigeeV1IngressConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1IngressConfig(typing.TypedDict, total=False): environmentGroups: _list[GoogleCloudApigeeV1EnvironmentGroupConfig] name: str revisionCreateTime: str @@ -1204,7 +1126,7 @@ class GoogleCloudApigeeV1IngressConfig(typing_extensions.TypedDict, total=False) uid: str @typing.type_check_only -class GoogleCloudApigeeV1Instance(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Instance(typing.TypedDict, total=False): accessLoggingConfig: GoogleCloudApigeeV1AccessLoggingConfig consumerAcceptList: _list[str] createdAt: str @@ -1218,7 +1140,7 @@ class GoogleCloudApigeeV1Instance(typing_extensions.TypedDict, total=False): location: str maintenanceUpdatePolicy: GoogleCloudApigeeV1MaintenanceUpdatePolicy name: str - peeringCidrRange: typing_extensions.Literal[ + peeringCidrRange: typing.Literal[ "CIDR_RANGE_UNSPECIFIED", "SLASH_16", "SLASH_17", @@ -1232,20 +1154,18 @@ class GoogleCloudApigeeV1Instance(typing_extensions.TypedDict, total=False): runtimeVersion: str scheduledMaintenance: GoogleCloudApigeeV1ScheduledMaintenance serviceAttachment: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] @typing.type_check_only -class GoogleCloudApigeeV1InstanceAttachment(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1InstanceAttachment(typing.TypedDict, total=False): createdAt: str environment: str name: str @typing.type_check_only -class GoogleCloudApigeeV1InstanceDeploymentStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1InstanceDeploymentStatus(typing.TypedDict, total=False): deployedRevisions: _list[ GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision ] @@ -1254,14 +1174,14 @@ class GoogleCloudApigeeV1InstanceDeploymentStatus( @typing.type_check_only class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentage: int revision: str @typing.type_check_only class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basepath: str envgroup: str @@ -1269,39 +1189,37 @@ class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute( percentage: int @typing.type_check_only -class GoogleCloudApigeeV1IntegrationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1IntegrationConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudApigeeV1KeyAliasReference(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1KeyAliasReference(typing.TypedDict, total=False): aliasId: str reference: str @typing.type_check_only -class GoogleCloudApigeeV1KeyValueEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1KeyValueEntry(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudApigeeV1KeyValueMap(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1KeyValueMap(typing.TypedDict, total=False): encrypted: bool maskedValues: bool name: str @typing.type_check_only -class GoogleCloudApigeeV1Keystore(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Keystore(typing.TypedDict, total=False): aliases: _list[str] name: str @typing.type_check_only -class GoogleCloudApigeeV1KeystoreConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1KeystoreConfig(typing.TypedDict, total=False): aliases: _list[GoogleCloudApigeeV1AliasRevisionConfig] name: str @typing.type_check_only -class GoogleCloudApigeeV1ListApiCategoriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListApiCategoriesResponse(typing.TypedDict, total=False): data: _list[GoogleCloudApigeeV1ApiCategory] errorCode: str message: str @@ -1309,14 +1227,12 @@ class GoogleCloudApigeeV1ListApiCategoriesResponse( status: str @typing.type_check_only -class GoogleCloudApigeeV1ListApiDebugSessionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListApiDebugSessionsResponse(typing.TypedDict, total=False): nextPageToken: str sessions: _list[GoogleCloudApigeeV1ApiDebugSession] @typing.type_check_only -class GoogleCloudApigeeV1ListApiDocsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ListApiDocsResponse(typing.TypedDict, total=False): data: _list[GoogleCloudApigeeV1ApiDoc] errorCode: str message: str @@ -1325,301 +1241,241 @@ class GoogleCloudApigeeV1ListApiDocsResponse(typing_extensions.TypedDict, total= status: str @typing.type_check_only -class GoogleCloudApigeeV1ListApiProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListApiProductsResponse(typing.TypedDict, total=False): apiProduct: _list[GoogleCloudApigeeV1ApiProduct] @typing.type_check_only -class GoogleCloudApigeeV1ListApiProxiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListApiProxiesResponse(typing.TypedDict, total=False): proxies: _list[GoogleCloudApigeeV1ApiProxy] @typing.type_check_only class GoogleCloudApigeeV1ListApimServiceExtensionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apimServiceExtensions: _list[GoogleCloudApigeeV1ApimServiceExtension] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListAppGroupAppsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListAppGroupAppsResponse(typing.TypedDict, total=False): appGroupApps: _list[GoogleCloudApigeeV1AppGroupApp] nextPageToken: str @typing.type_check_only class GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appGroupSubscriptions: _list[GoogleCloudApigeeV1AppGroupSubscription] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListAppGroupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListAppGroupsResponse(typing.TypedDict, total=False): appGroups: _list[GoogleCloudApigeeV1AppGroup] nextPageToken: str totalSize: int @typing.type_check_only -class GoogleCloudApigeeV1ListAppsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ListAppsResponse(typing.TypedDict, total=False): app: _list[GoogleCloudApigeeV1App] nextPageToken: str totalSize: int @typing.type_check_only -class GoogleCloudApigeeV1ListArchiveDeploymentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListArchiveDeploymentsResponse(typing.TypedDict, total=False): archiveDeployments: _list[GoogleCloudApigeeV1ArchiveDeployment] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListAsyncQueriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListAsyncQueriesResponse(typing.TypedDict, total=False): queries: _list[GoogleCloudApigeeV1AsyncQuery] @typing.type_check_only -class GoogleCloudApigeeV1ListCustomReportsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListCustomReportsResponse(typing.TypedDict, total=False): qualifier: _list[GoogleCloudApigeeV1CustomReport] @typing.type_check_only -class GoogleCloudApigeeV1ListDataCollectorsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListDataCollectorsResponse(typing.TypedDict, total=False): dataCollectors: _list[GoogleCloudApigeeV1DataCollector] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListDatastoresResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListDatastoresResponse(typing.TypedDict, total=False): datastores: _list[GoogleCloudApigeeV1Datastore] @typing.type_check_only -class GoogleCloudApigeeV1ListDebugSessionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListDebugSessionsResponse(typing.TypedDict, total=False): nextPageToken: str sessions: _list[GoogleCloudApigeeV1Session] @typing.type_check_only -class GoogleCloudApigeeV1ListDeploymentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[GoogleCloudApigeeV1Deployment] @typing.type_check_only -class GoogleCloudApigeeV1ListDeveloperAppsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListDeveloperAppsResponse(typing.TypedDict, total=False): app: _list[GoogleCloudApigeeV1DeveloperApp] @typing.type_check_only class GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): developerSubscriptions: _list[GoogleCloudApigeeV1DeveloperSubscription] nextStartKey: str @typing.type_check_only -class GoogleCloudApigeeV1ListDnsZonesResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ListDnsZonesResponse(typing.TypedDict, total=False): dnsZones: _list[GoogleCloudApigeeV1DnsZone] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListEndpointAttachmentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListEndpointAttachmentsResponse(typing.TypedDict, total=False): endpointAttachments: _list[GoogleCloudApigeeV1EndpointAttachment] nextPageToken: str @typing.type_check_only class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environmentGroupAttachments: _list[GoogleCloudApigeeV1EnvironmentGroupAttachment] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListEnvironmentGroupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListEnvironmentGroupsResponse(typing.TypedDict, total=False): environmentGroups: _list[GoogleCloudApigeeV1EnvironmentGroup] nextPageToken: str @typing.type_check_only class GoogleCloudApigeeV1ListEnvironmentResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceFile: _list[GoogleCloudApigeeV1ResourceFile] @typing.type_check_only -class GoogleCloudApigeeV1ListExportsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ListExportsResponse(typing.TypedDict, total=False): exports: _list[GoogleCloudApigeeV1Export] @typing.type_check_only -class GoogleCloudApigeeV1ListHybridIssuersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListHybridIssuersResponse(typing.TypedDict, total=False): issuers: _list[GoogleCloudApigeeV1ServiceIssuersMapping] @typing.type_check_only -class GoogleCloudApigeeV1ListInstanceAttachmentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListInstanceAttachmentsResponse(typing.TypedDict, total=False): attachments: _list[GoogleCloudApigeeV1InstanceAttachment] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListInstancesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListInstancesResponse(typing.TypedDict, total=False): instances: _list[GoogleCloudApigeeV1Instance] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListKeyValueEntriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListKeyValueEntriesResponse(typing.TypedDict, total=False): keyValueEntries: _list[GoogleCloudApigeeV1KeyValueEntry] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListNatAddressesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListNatAddressesResponse(typing.TypedDict, total=False): natAddresses: _list[GoogleCloudApigeeV1NatAddress] nextPageToken: str @typing.type_check_only -class GoogleCloudApigeeV1ListOfDevelopersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListOfDevelopersResponse(typing.TypedDict, total=False): developer: _list[GoogleCloudApigeeV1Developer] @typing.type_check_only -class GoogleCloudApigeeV1ListOrganizationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListOrganizationsResponse(typing.TypedDict, total=False): organizations: _list[GoogleCloudApigeeV1OrganizationProjectMapping] @typing.type_check_only -class GoogleCloudApigeeV1ListRatePlansResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListRatePlansResponse(typing.TypedDict, total=False): nextStartKey: str ratePlans: _list[GoogleCloudApigeeV1RatePlan] @typing.type_check_only -class GoogleCloudApigeeV1ListSecurityActionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListSecurityActionsResponse(typing.TypedDict, total=False): nextPageToken: str securityActions: _list[GoogleCloudApigeeV1SecurityAction] @typing.type_check_only -class GoogleCloudApigeeV1ListSecurityFeedbackResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListSecurityFeedbackResponse(typing.TypedDict, total=False): nextPageToken: str securityFeedback: _list[GoogleCloudApigeeV1SecurityFeedback] @typing.type_check_only -class GoogleCloudApigeeV1ListSecurityIncidentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListSecurityIncidentsResponse(typing.TypedDict, total=False): nextPageToken: str securityIncidents: _list[GoogleCloudApigeeV1SecurityIncident] @typing.type_check_only class GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str securityMonitoringConditions: _list[GoogleCloudApigeeV1SecurityMonitoringCondition] @typing.type_check_only class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str securityProfiles: _list[GoogleCloudApigeeV1SecurityProfile] @typing.type_check_only -class GoogleCloudApigeeV1ListSecurityProfilesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListSecurityProfilesResponse(typing.TypedDict, total=False): nextPageToken: str securityProfiles: _list[GoogleCloudApigeeV1SecurityProfile] @typing.type_check_only -class GoogleCloudApigeeV1ListSecurityProfilesV2Response( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListSecurityProfilesV2Response(typing.TypedDict, total=False): nextPageToken: str securityProfilesV2: _list[GoogleCloudApigeeV1SecurityProfileV2] @typing.type_check_only -class GoogleCloudApigeeV1ListSecurityReportsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListSecurityReportsResponse(typing.TypedDict, total=False): nextPageToken: str securityReports: _list[GoogleCloudApigeeV1SecurityReport] @typing.type_check_only -class GoogleCloudApigeeV1ListSharedFlowsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ListSharedFlowsResponse(typing.TypedDict, total=False): sharedFlows: _list[GoogleCloudApigeeV1SharedFlow] @typing.type_check_only -class GoogleCloudApigeeV1ListSpacesResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ListSpacesResponse(typing.TypedDict, total=False): nextPageToken: str spaces: _list[GoogleCloudApigeeV1Space] @typing.type_check_only class GoogleCloudApigeeV1ListTraceConfigOverridesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str traceConfigOverrides: _list[GoogleCloudApigeeV1TraceConfigOverride] @typing.type_check_only -class GoogleCloudApigeeV1LlmOperation(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1LlmOperation(typing.TypedDict, total=False): methods: _list[str] model: str resource: str @typing.type_check_only -class GoogleCloudApigeeV1LlmOperationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1LlmOperationConfig(typing.TypedDict, total=False): apiSource: str attributes: _list[GoogleCloudApigeeV1Attribute] llmOperations: _list[GoogleCloudApigeeV1LlmOperation] llmTokenQuota: GoogleCloudApigeeV1LlmTokenQuota @typing.type_check_only -class GoogleCloudApigeeV1LlmOperationGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1LlmOperationGroup(typing.TypedDict, total=False): operationConfigs: _list[GoogleCloudApigeeV1LlmOperationConfig] @typing.type_check_only -class GoogleCloudApigeeV1LlmTokenQuota(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1LlmTokenQuota(typing.TypedDict, total=False): interval: str limit: str timeUnit: str @typing.type_check_only -class GoogleCloudApigeeV1MaintenanceUpdatePolicy( - typing_extensions.TypedDict, total=False -): - maintenanceChannel: typing_extensions.Literal[ +class GoogleCloudApigeeV1MaintenanceUpdatePolicy(typing.TypedDict, total=False): + maintenanceChannel: typing.Literal[ "MAINTENANCE_CHANNEL_UNSPECIFIED", "WEEK1", "WEEK2" ] maintenanceWindows: _list[ @@ -1628,9 +1484,9 @@ class GoogleCloudApigeeV1MaintenanceUpdatePolicy( @typing.type_check_only class GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - day: typing_extensions.Literal[ + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1643,121 +1499,109 @@ class GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow( startTime: GoogleTypeTimeOfDay @typing.type_check_only -class GoogleCloudApigeeV1Metadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Metadata(typing.TypedDict, total=False): errors: _list[str] notices: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1Metric(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Metric(typing.TypedDict, total=False): name: str values: _list[typing.Any] @typing.type_check_only -class GoogleCloudApigeeV1MetricAggregation(typing_extensions.TypedDict, total=False): - aggregation: typing_extensions.Literal[ +class GoogleCloudApigeeV1MetricAggregation(typing.TypedDict, total=False): + aggregation: typing.Literal[ "AGGREGATION_FUNCTION_UNSPECIFIED", "AVG", "SUM", "MIN", "MAX", "COUNT_DISTINCT" ] name: str - order: typing_extensions.Literal["ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] + order: typing.Literal["ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class GoogleCloudApigeeV1MonetizationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1MonetizationConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudApigeeV1MoveApiProductRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1MoveApiProductRequest(typing.TypedDict, total=False): space: str @typing.type_check_only -class GoogleCloudApigeeV1MoveApiProxyRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1MoveApiProxyRequest(typing.TypedDict, total=False): space: str @typing.type_check_only -class GoogleCloudApigeeV1MoveSharedFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1MoveSharedFlowRequest(typing.TypedDict, total=False): space: str @typing.type_check_only -class GoogleCloudApigeeV1NatAddress(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1NatAddress(typing.TypedDict, total=False): ipAddress: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RESERVED", "ACTIVE", "DELETING" ] @typing.type_check_only -class GoogleCloudApigeeV1NodeConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1NodeConfig(typing.TypedDict, total=False): currentAggregateNodeCount: str maxNodeCount: str minNodeCount: str @typing.type_check_only -class GoogleCloudApigeeV1OASDocumentation(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "YAML", "JSON"] +class GoogleCloudApigeeV1OASDocumentation(typing.TypedDict, total=False): + format: typing.Literal["FORMAT_UNSPECIFIED", "YAML", "JSON"] spec: GoogleCloudApigeeV1DocumentationFile @typing.type_check_only -class GoogleCloudApigeeV1Operation(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Operation(typing.TypedDict, total=False): methods: _list[str] resource: str @typing.type_check_only -class GoogleCloudApigeeV1OperationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1OperationConfig(typing.TypedDict, total=False): apiSource: str attributes: _list[GoogleCloudApigeeV1Attribute] operations: _list[GoogleCloudApigeeV1Operation] quota: GoogleCloudApigeeV1Quota @typing.type_check_only -class GoogleCloudApigeeV1OperationGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1OperationGroup(typing.TypedDict, total=False): operationConfigType: str operationConfigs: _list[GoogleCloudApigeeV1OperationConfig] @typing.type_check_only -class GoogleCloudApigeeV1OperationMetadata(typing_extensions.TypedDict, total=False): - operationType: typing_extensions.Literal[ +class GoogleCloudApigeeV1OperationMetadata(typing.TypedDict, total=False): + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "INSERT", "DELETE", "UPDATE" ] progress: GoogleCloudApigeeV1OperationMetadataProgress - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "FINISHED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "FINISHED"] targetResourceName: str warnings: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1OperationMetadataProgress( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1OperationMetadataProgress(typing.TypedDict, total=False): description: str details: dict[str, typing.Any] percentDone: int - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "FINISHED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "FINISHED"] @typing.type_check_only -class GoogleCloudApigeeV1OptimizedStats(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1OptimizedStats(typing.TypedDict, total=False): Response: GoogleCloudApigeeV1OptimizedStatsResponse @typing.type_check_only -class GoogleCloudApigeeV1OptimizedStatsNode(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1OptimizedStatsNode(typing.TypedDict, total=False): data: _list[typing.Any] @typing.type_check_only -class GoogleCloudApigeeV1OptimizedStatsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1OptimizedStatsResponse(typing.TypedDict, total=False): TimeUnit: _list[str] metaData: GoogleCloudApigeeV1Metadata resultTruncated: bool stats: GoogleCloudApigeeV1OptimizedStatsNode @typing.type_check_only -class GoogleCloudApigeeV1Organization(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Organization(typing.TypedDict, total=False): addonsConfig: GoogleCloudApigeeV1AddonsConfig analyticsRegion: str apiConsumerDataEncryptionKeyName: str @@ -1765,7 +1609,7 @@ class GoogleCloudApigeeV1Organization(typing_extensions.TypedDict, total=False): apigeeProjectId: str attributes: _list[str] authorizedNetwork: str - billingType: typing_extensions.Literal[ + billingType: typing.Literal[ "BILLING_TYPE_UNSPECIFIED", "SUBSCRIPTION", "EVALUATION", "PAYG" ] caCertificate: str @@ -1785,52 +1629,40 @@ class GoogleCloudApigeeV1Organization(typing_extensions.TypedDict, total=False): projectId: str properties: GoogleCloudApigeeV1Properties runtimeDatabaseEncryptionKeyName: str - runtimeType: typing_extensions.Literal[ - "RUNTIME_TYPE_UNSPECIFIED", "CLOUD", "HYBRID" - ] - state: typing_extensions.Literal[ + runtimeType: typing.Literal["RUNTIME_TYPE_UNSPECIFIED", "CLOUD", "HYBRID"] + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] - subscriptionPlan: typing_extensions.Literal[ + subscriptionPlan: typing.Literal[ "SUBSCRIPTION_PLAN_UNSPECIFIED", "SUBSCRIPTION_2021", "SUBSCRIPTION_2024" ] - subscriptionType: typing_extensions.Literal[ - "SUBSCRIPTION_TYPE_UNSPECIFIED", "PAID", "TRIAL" - ] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_TRIAL", "TYPE_PAID", "TYPE_INTERNAL" - ] + subscriptionType: typing.Literal["SUBSCRIPTION_TYPE_UNSPECIFIED", "PAID", "TRIAL"] + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_TRIAL", "TYPE_PAID", "TYPE_INTERNAL"] @typing.type_check_only -class GoogleCloudApigeeV1OrganizationProjectMapping( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1OrganizationProjectMapping(typing.TypedDict, total=False): location: str organization: str projectId: str projectIds: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1PayloadOperation(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1PayloadOperation(typing.TypedDict, total=False): operation: str @typing.type_check_only -class GoogleCloudApigeeV1PayloadOperationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1PayloadOperationConfig(typing.TypedDict, total=False): apiSource: str attributes: _list[GoogleCloudApigeeV1Attribute] operations: _list[GoogleCloudApigeeV1PayloadOperation] quota: GoogleCloudApigeeV1Quota @typing.type_check_only -class GoogleCloudApigeeV1PayloadOperationGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1PayloadOperationGroup(typing.TypedDict, total=False): operationConfigs: _list[GoogleCloudApigeeV1PayloadOperationConfig] @typing.type_check_only -class GoogleCloudApigeeV1PodStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1PodStatus(typing.TypedDict, total=False): appVersion: str deploymentStatus: str deploymentStatusTime: str @@ -1842,33 +1674,25 @@ class GoogleCloudApigeeV1PodStatus(typing_extensions.TypedDict, total=False): statusCodeDetails: str @typing.type_check_only -class GoogleCloudApigeeV1Point(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Point(typing.TypedDict, total=False): id: str results: _list[GoogleCloudApigeeV1Result] @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ProfileConfig(typing.TypedDict, total=False): categories: _list[GoogleCloudApigeeV1ProfileConfigCategory] @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfigAbuse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1ProfileConfigAbuse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfigAuthorization( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1ProfileConfigAuthorization(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfigCORS( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1ProfileConfigCORS(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfigCategory( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ProfileConfigCategory(typing.TypedDict, total=False): abuse: GoogleCloudApigeeV1ProfileConfigAbuse authorization: GoogleCloudApigeeV1ProfileConfigAuthorization cors: GoogleCloudApigeeV1ProfileConfigCORS @@ -1877,40 +1701,32 @@ class GoogleCloudApigeeV1ProfileConfigCategory( threat: GoogleCloudApigeeV1ProfileConfigThreat @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfigMTLS( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1ProfileConfigMTLS(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfigMediation( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1ProfileConfigMediation(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1ProfileConfigThreat( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1ProfileConfigThreat(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1Properties(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Properties(typing.TypedDict, total=False): property: _list[GoogleCloudApigeeV1Property] @typing.type_check_only -class GoogleCloudApigeeV1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Property(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudApigeeV1ProvisionOrganizationRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ProvisionOrganizationRequest(typing.TypedDict, total=False): analyticsRegion: str authorizedNetwork: str disableVpcPeering: bool runtimeLocation: str @typing.type_check_only -class GoogleCloudApigeeV1Query(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Query(typing.TypedDict, total=False): csvDelimiter: str dimensions: _list[str] envgroupHostname: str @@ -1924,7 +1740,7 @@ class GoogleCloudApigeeV1Query(typing_extensions.TypedDict, total=False): timeRange: typing.Any @typing.type_check_only -class GoogleCloudApigeeV1QueryMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1QueryMetadata(typing.TypedDict, total=False): dimensions: _list[str] endTimestamp: str metrics: _list[str] @@ -1933,7 +1749,7 @@ class GoogleCloudApigeeV1QueryMetadata(typing_extensions.TypedDict, total=False) timeUnit: str @typing.type_check_only -class GoogleCloudApigeeV1QueryMetric(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1QueryMetric(typing.TypedDict, total=False): alias: str function: str name: str @@ -1941,9 +1757,7 @@ class GoogleCloudApigeeV1QueryMetric(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class GoogleCloudApigeeV1QueryTabularStatsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1QueryTabularStatsRequest(typing.TypedDict, total=False): dimensions: _list[str] filter: str metrics: _list[GoogleCloudApigeeV1MetricAggregation] @@ -1952,59 +1766,49 @@ class GoogleCloudApigeeV1QueryTabularStatsRequest( timeRange: GoogleTypeInterval @typing.type_check_only -class GoogleCloudApigeeV1QueryTabularStatsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1QueryTabularStatsResponse(typing.TypedDict, total=False): columns: _list[str] nextPageToken: str values: _list[_list[typing.Any]] @typing.type_check_only -class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest(typing.TypedDict, total=False): dimensions: _list[str] filter: str metrics: _list[GoogleCloudApigeeV1MetricAggregation] pageSize: int pageToken: str timeRange: GoogleTypeInterval - timestampOrder: typing_extensions.Literal[ - "ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] - windowSize: typing_extensions.Literal[ + timestampOrder: typing.Literal["ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] + windowSize: typing.Literal[ "WINDOW_SIZE_UNSPECIFIED", "MINUTE", "HOUR", "DAY", "MONTH" ] @typing.type_check_only -class GoogleCloudApigeeV1QueryTimeSeriesStatsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1QueryTimeSeriesStatsResponse(typing.TypedDict, total=False): columns: _list[str] nextPageToken: str values: _list[GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence] @typing.type_check_only class GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: dict[str, typing.Any] points: _list[_list[typing.Any]] @typing.type_check_only -class GoogleCloudApigeeV1Quota(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Quota(typing.TypedDict, total=False): interval: str limit: str timeUnit: str @typing.type_check_only -class GoogleCloudApigeeV1RatePlan(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RatePlan(typing.TypedDict, total=False): apiproduct: str - billingPeriod: typing_extensions.Literal[ - "BILLING_PERIOD_UNSPECIFIED", "WEEKLY", "MONTHLY" - ] + billingPeriod: typing.Literal["BILLING_PERIOD_UNSPECIFIED", "WEEKLY", "MONTHLY"] consumptionPricingRates: _list[GoogleCloudApigeeV1RateRange] - consumptionPricingType: typing_extensions.Literal[ + consumptionPricingType: typing.Literal[ "CONSUMPTION_PRICING_TYPE_UNSPECIFIED", "FIXED_PER_UNIT", "BANDED", @@ -2020,76 +1824,74 @@ class GoogleCloudApigeeV1RatePlan(typing_extensions.TypedDict, total=False): fixedRecurringFee: GoogleTypeMoney lastModifiedAt: str name: str - paymentFundingModel: typing_extensions.Literal[ + paymentFundingModel: typing.Literal[ "PAYMENT_FUNDING_MODEL_UNSPECIFIED", "PREPAID", "POSTPAID" ] revenueShareRates: _list[GoogleCloudApigeeV1RevenueShareRange] - revenueShareType: typing_extensions.Literal[ + revenueShareType: typing.Literal[ "REVENUE_SHARE_TYPE_UNSPECIFIED", "FIXED", "VOLUME_BANDED" ] setupFee: GoogleTypeMoney startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "PUBLISHED"] + state: typing.Literal["STATE_UNSPECIFIED", "DRAFT", "PUBLISHED"] @typing.type_check_only -class GoogleCloudApigeeV1RateRange(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RateRange(typing.TypedDict, total=False): end: str fee: GoogleTypeMoney start: str @typing.type_check_only -class GoogleCloudApigeeV1Reference(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Reference(typing.TypedDict, total=False): description: str name: str refers: str resourceType: str @typing.type_check_only -class GoogleCloudApigeeV1ReferenceConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ReferenceConfig(typing.TypedDict, total=False): name: str resourceName: str @typing.type_check_only -class GoogleCloudApigeeV1ReportInstanceStatusRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ReportInstanceStatusRequest(typing.TypedDict, total=False): instanceUid: str reportTime: str resources: _list[GoogleCloudApigeeV1ResourceStatus] @typing.type_check_only class GoogleCloudApigeeV1ReportInstanceStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudApigeeV1ReportProperty(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ReportProperty(typing.TypedDict, total=False): property: str value: _list[GoogleCloudApigeeV1Attribute] @typing.type_check_only -class GoogleCloudApigeeV1ResourceConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ResourceConfig(typing.TypedDict, total=False): location: str name: str @typing.type_check_only -class GoogleCloudApigeeV1ResourceFile(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ResourceFile(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class GoogleCloudApigeeV1ResourceFiles(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ResourceFiles(typing.TypedDict, total=False): resourceFile: _list[GoogleCloudApigeeV1ResourceFile] @typing.type_check_only -class GoogleCloudApigeeV1ResourceStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ResourceStatus(typing.TypedDict, total=False): resource: str revisions: _list[GoogleCloudApigeeV1RevisionStatus] totalReplicas: int uid: str @typing.type_check_only -class GoogleCloudApigeeV1Result(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Result(typing.TypedDict, total=False): ActionResult: str accessList: _list[GoogleCloudApigeeV1Access] content: str @@ -2102,20 +1904,20 @@ class GoogleCloudApigeeV1Result(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class GoogleCloudApigeeV1RevenueShareRange(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RevenueShareRange(typing.TypedDict, total=False): end: str sharePercentage: float start: str @typing.type_check_only -class GoogleCloudApigeeV1RevisionStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RevisionStatus(typing.TypedDict, total=False): errors: _list[GoogleCloudApigeeV1UpdateError] jsonSpec: str replicas: int revisionId: str @typing.type_check_only -class GoogleCloudApigeeV1RoutingRule(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RoutingRule(typing.TypedDict, total=False): basepath: str deploymentGroup: str envGroupRevision: str @@ -2125,7 +1927,7 @@ class GoogleCloudApigeeV1RoutingRule(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1RuntimeAddonsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RuntimeAddonsConfig(typing.TypedDict, total=False): analyticsConfig: GoogleCloudApigeeV1RuntimeAnalyticsConfig apiSecurityConfig: GoogleCloudApigeeV1RuntimeApiSecurityConfig name: str @@ -2133,29 +1935,25 @@ class GoogleCloudApigeeV1RuntimeAddonsConfig(typing_extensions.TypedDict, total= uid: str @typing.type_check_only -class GoogleCloudApigeeV1RuntimeAnalyticsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1RuntimeAnalyticsConfig(typing.TypedDict, total=False): billingPipelineEnabled: bool enabled: bool @typing.type_check_only -class GoogleCloudApigeeV1RuntimeApiSecurityConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1RuntimeApiSecurityConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudApigeeV1RuntimeConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RuntimeConfig(typing.TypedDict, total=False): analyticsBucket: str name: str tenantProjectId: str traceBucket: str @typing.type_check_only -class GoogleCloudApigeeV1RuntimeTraceConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1RuntimeTraceConfig(typing.TypedDict, total=False): endpoint: str - exporter: typing_extensions.Literal[ + exporter: typing.Literal[ "EXPORTER_UNSPECIFIED", "JAEGER", "CLOUD_TRACE", @@ -2168,61 +1966,55 @@ class GoogleCloudApigeeV1RuntimeTraceConfig(typing_extensions.TypedDict, total=F revisionCreateTime: str revisionId: str samplingConfig: GoogleCloudApigeeV1RuntimeTraceSamplingConfig - traceProtocol: typing_extensions.Literal[ - "TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP" - ] + spanSemantics: typing.Literal["SPAN_SEMANTICS_UNSPECIFIED", "LEGACY", "OTEL"] + traceProtocol: typing.Literal["TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP"] @typing.type_check_only -class GoogleCloudApigeeV1RuntimeTraceConfigOverride( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1RuntimeTraceConfigOverride(typing.TypedDict, total=False): apiProxy: str name: str openTelemetryProtocolEnabled: bool revisionCreateTime: str revisionId: str samplingConfig: GoogleCloudApigeeV1RuntimeTraceSamplingConfig - traceProtocol: typing_extensions.Literal[ - "TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP" - ] + spanSemantics: typing.Literal["SPAN_SEMANTICS_UNSPECIFIED", "LEGACY", "OTEL"] + traceProtocol: typing.Literal["TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP"] uid: str @typing.type_check_only -class GoogleCloudApigeeV1RuntimeTraceSamplingConfig( - typing_extensions.TypedDict, total=False -): - sampler: typing_extensions.Literal["SAMPLER_UNSPECIFIED", "OFF", "PROBABILITY"] +class GoogleCloudApigeeV1RuntimeTraceSamplingConfig(typing.TypedDict, total=False): + sampler: typing.Literal["SAMPLER_UNSPECIFIED", "OFF", "PROBABILITY"] samplingRate: float @typing.type_check_only -class GoogleCloudApigeeV1ScheduledMaintenance(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ScheduledMaintenance(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class GoogleCloudApigeeV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Schema(typing.TypedDict, total=False): dimensions: _list[GoogleCloudApigeeV1SchemaSchemaElement] meta: _list[str] metrics: _list[GoogleCloudApigeeV1SchemaSchemaElement] @typing.type_check_only -class GoogleCloudApigeeV1SchemaSchemaElement(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SchemaSchemaElement(typing.TypedDict, total=False): name: str properties: GoogleCloudApigeeV1SchemaSchemaProperty @typing.type_check_only -class GoogleCloudApigeeV1SchemaSchemaProperty(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SchemaSchemaProperty(typing.TypedDict, total=False): createTime: str custom: str type: str @typing.type_check_only -class GoogleCloudApigeeV1Score(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Score(typing.TypedDict, total=False): component: GoogleCloudApigeeV1ScoreComponent subcomponents: _list[GoogleCloudApigeeV1ScoreComponent] timeRange: GoogleTypeInterval @typing.type_check_only -class GoogleCloudApigeeV1ScoreComponent(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1ScoreComponent(typing.TypedDict, total=False): calculateTime: str dataCaptureTime: str drilldownPaths: _list[str] @@ -2231,9 +2023,7 @@ class GoogleCloudApigeeV1ScoreComponent(typing_extensions.TypedDict, total=False scorePath: str @typing.type_check_only -class GoogleCloudApigeeV1ScoreComponentRecommendation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ScoreComponentRecommendation(typing.TypedDict, total=False): actions: _list[GoogleCloudApigeeV1ScoreComponentRecommendationAction] description: str impact: int @@ -2241,19 +2031,19 @@ class GoogleCloudApigeeV1ScoreComponentRecommendation( @typing.type_check_only class GoogleCloudApigeeV1ScoreComponentRecommendationAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionContext: GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext description: str @typing.type_check_only class GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentationLink: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityAction(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityAction(typing.TypedDict, total=False): allow: GoogleCloudApigeeV1SecurityActionAllow apiProxies: _list[str] conditionConfig: GoogleCloudApigeeV1SecurityActionConditionConfig @@ -2263,19 +2053,15 @@ class GoogleCloudApigeeV1SecurityAction(typing_extensions.TypedDict, total=False expireTime: str flag: GoogleCloudApigeeV1SecurityActionFlag name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] ttl: str updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityActionAllow( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApigeeV1SecurityActionAllow(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApigeeV1SecurityActionConditionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityActionConditionConfig(typing.TypedDict, total=False): accessTokens: _list[str] apiKeys: _list[str] apiProducts: _list[str] @@ -2289,32 +2075,26 @@ class GoogleCloudApigeeV1SecurityActionConditionConfig( userAgents: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1SecurityActionDeny(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityActionDeny(typing.TypedDict, total=False): responseCode: int @typing.type_check_only -class GoogleCloudApigeeV1SecurityActionFlag(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityActionFlag(typing.TypedDict, total=False): headers: _list[GoogleCloudApigeeV1SecurityActionHttpHeader] @typing.type_check_only -class GoogleCloudApigeeV1SecurityActionHttpHeader( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityActionHttpHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityActionsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityActionsConfig(typing.TypedDict, total=False): enabled: bool name: str updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityAssessmentResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityAssessmentResult(typing.TypedDict, total=False): createTime: str error: GoogleRpcStatus resource: GoogleCloudApigeeV1SecurityAssessmentResultResource @@ -2322,12 +2102,12 @@ class GoogleCloudApigeeV1SecurityAssessmentResult( @typing.type_check_only class GoogleCloudApigeeV1SecurityAssessmentResultResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiHubDeploymentDetails: ( GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails ) - apiHubGatewayType: typing_extensions.Literal[ + apiHubGatewayType: typing.Literal[ "API_HUB_GATEWAY_TYPE_UNSPECIFIED", "APIGEE_X", "APIGEE_HYBRID", @@ -2336,17 +2116,15 @@ class GoogleCloudApigeeV1SecurityAssessmentResultResource( ] name: str resourceRevisionId: str - type: typing_extensions.Literal[ - "RESOURCE_TYPE_UNSPECIFIED", "API_PROXY", "API_HUB_DEPLOYMENT" - ] + type: typing.Literal["RESOURCE_TYPE_UNSPECIFIED", "API_PROXY", "API_HUB_DEPLOYMENT"] @typing.type_check_only class GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str gateway: str - gatewayType: typing_extensions.Literal[ + gatewayType: typing.Literal[ "API_HUB_GATEWAY_TYPE_UNSPECIFIED", "APIGEE_X", "APIGEE_HYBRID", @@ -2358,57 +2136,49 @@ class GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails @typing.type_check_only class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assessmentRecommendations: dict[str, typing.Any] dataUpdateTime: str failedAssessmentPerWeight: dict[str, typing.Any] score: int - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL"] @typing.type_check_only class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str recommendations: _list[ GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation ] scoreImpact: int - verdict: typing_extensions.Literal[ - "VERDICT_UNSPECIFIED", "PASS", "FAIL", "NOT_APPLICABLE" - ] - weight: typing_extensions.Literal[ - "WEIGHT_UNSPECIFIED", "MINOR", "MODERATE", "MAJOR" - ] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASS", "FAIL", "NOT_APPLICABLE"] + weight: typing.Literal["WEIGHT_UNSPECIFIED", "MINOR", "MODERATE", "MAJOR"] @typing.type_check_only class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str link: GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink @typing.type_check_only class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str uri: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityFeedback(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityFeedback(typing.TypedDict, total=False): comment: str createTime: str displayName: str feedbackContexts: _list[GoogleCloudApigeeV1SecurityFeedbackFeedbackContext] - feedbackType: typing_extensions.Literal[ - "FEEDBACK_TYPE_UNSPECIFIED", "EXCLUDED_DETECTION" - ] + feedbackType: typing.Literal["FEEDBACK_TYPE_UNSPECIFIED", "EXCLUDED_DETECTION"] name: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNSPECIFIED", "INTERNAL_SYSTEM", "NON_RISK_CLIENT", @@ -2419,34 +2189,26 @@ class GoogleCloudApigeeV1SecurityFeedback(typing_extensions.TypedDict, total=Fal updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityFeedbackFeedbackContext( - typing_extensions.TypedDict, total=False -): - attribute: typing_extensions.Literal[ +class GoogleCloudApigeeV1SecurityFeedbackFeedbackContext(typing.TypedDict, total=False): + attribute: typing.Literal[ "ATTRIBUTE_UNSPECIFIED", "ATTRIBUTE_ENVIRONMENTS", "ATTRIBUTE_IP_ADDRESS_RANGES" ] values: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1SecurityIncident(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityIncident(typing.TypedDict, total=False): detectionTypes: _list[str] displayName: str firstDetectedTime: str lastDetectedTime: str lastObservabilityChangeTime: str name: str - observability: typing_extensions.Literal[ - "OBSERVABILITY_UNSPECIFIED", "ACTIVE", "ARCHIVED" - ] - riskLevel: typing_extensions.Literal[ - "RISK_LEVEL_UNSPECIFIED", "LOW", "MODERATE", "SEVERE" - ] + observability: typing.Literal["OBSERVABILITY_UNSPECIFIED", "ACTIVE", "ARCHIVED"] + riskLevel: typing.Literal["RISK_LEVEL_UNSPECIFIED", "LOW", "MODERATE", "SEVERE"] trafficCount: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityMonitoringCondition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityMonitoringCondition(typing.TypedDict, total=False): apiHubGateway: str createTime: str include: ( @@ -2457,7 +2219,7 @@ class GoogleCloudApigeeV1SecurityMonitoringCondition( ) name: str profile: str - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] scope: str @@ -2466,7 +2228,7 @@ class GoogleCloudApigeeV1SecurityMonitoringCondition( updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityProfile(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityProfile(typing.TypedDict, total=False): description: str displayName: str environments: _list[GoogleCloudApigeeV1SecurityProfileEnvironment] @@ -2481,55 +2243,49 @@ class GoogleCloudApigeeV1SecurityProfile(typing_extensions.TypedDict, total=Fals scoringConfigs: _list[GoogleCloudApigeeV1SecurityProfileScoringConfig] @typing.type_check_only -class GoogleCloudApigeeV1SecurityProfileEnvironment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityProfileEnvironment(typing.TypedDict, total=False): attachTime: str environment: str @typing.type_check_only class GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attachTime: str name: str securityProfileRevisionId: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityProfileScoringConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityProfileScoringConfig(typing.TypedDict, total=False): description: str scorePath: str title: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityProfileV2(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityProfileV2(typing.TypedDict, total=False): createTime: str description: str googleDefined: bool name: str profileAssessmentConfigs: dict[str, typing.Any] - riskAssessmentType: typing_extensions.Literal[ + riskAssessmentType: typing.Literal[ "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" ] updateTime: str @typing.type_check_only class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): include: GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray - weight: typing_extensions.Literal[ - "WEIGHT_UNSPECIFIED", "MINOR", "MODERATE", "MAJOR" - ] + weight: typing.Literal["WEIGHT_UNSPECIFIED", "MINOR", "MODERATE", "MAJOR"] @typing.type_check_only class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gatewayTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "API_HUB_GATEWAY_TYPE_UNSPECIFIED", "APIGEE_X", "APIGEE_HYBRID", @@ -2539,7 +2295,7 @@ class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTy ] @typing.type_check_only -class GoogleCloudApigeeV1SecurityReport(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityReport(typing.TypedDict, total=False): created: str displayName: str envgroupHostname: str @@ -2555,9 +2311,7 @@ class GoogleCloudApigeeV1SecurityReport(typing_extensions.TypedDict, total=False updated: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityReportMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityReportMetadata(typing.TypedDict, total=False): dimensions: _list[str] endTimestamp: str metrics: _list[str] @@ -2566,7 +2320,7 @@ class GoogleCloudApigeeV1SecurityReportMetadata( timeUnit: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityReportQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecurityReportQuery(typing.TypedDict, total=False): csvDelimiter: str dimensions: _list[str] displayName: str @@ -2580,9 +2334,7 @@ class GoogleCloudApigeeV1SecurityReportQuery(typing_extensions.TypedDict, total= timeRange: typing.Any @typing.type_check_only -class GoogleCloudApigeeV1SecurityReportQueryMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityReportQueryMetric(typing.TypedDict, total=False): aggregationFunction: str alias: str name: str @@ -2590,16 +2342,12 @@ class GoogleCloudApigeeV1SecurityReportQueryMetric( value: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityReportResultMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityReportResultMetadata(typing.TypedDict, total=False): expires: str self: str @typing.type_check_only -class GoogleCloudApigeeV1SecurityReportResultView( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SecurityReportResultView(typing.TypedDict, total=False): code: int error: str metadata: GoogleCloudApigeeV1SecurityReportMetadata @@ -2607,35 +2355,31 @@ class GoogleCloudApigeeV1SecurityReportResultView( state: str @typing.type_check_only -class GoogleCloudApigeeV1SecuritySettings(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SecuritySettings(typing.TypedDict, total=False): mlRetrainingFeedbackEnabled: bool name: str @typing.type_check_only -class GoogleCloudApigeeV1ServiceIssuersMapping( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1ServiceIssuersMapping(typing.TypedDict, total=False): emailIds: _list[str] service: str @typing.type_check_only -class GoogleCloudApigeeV1Session(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Session(typing.TypedDict, total=False): id: str timestampMs: str @typing.type_check_only -class GoogleCloudApigeeV1SetAddonEnablementRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1SetAddonEnablementRequest(typing.TypedDict, total=False): analyticsEnabled: bool apiSecurityEnabled: bool @typing.type_check_only -class GoogleCloudApigeeV1SetAddonsRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SetAddonsRequest(typing.TypedDict, total=False): addonsConfig: GoogleCloudApigeeV1AddonsConfig @typing.type_check_only -class GoogleCloudApigeeV1SharedFlow(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SharedFlow(typing.TypedDict, total=False): latestRevisionId: str metaData: GoogleCloudApigeeV1EntityMetadata name: str @@ -2643,7 +2387,7 @@ class GoogleCloudApigeeV1SharedFlow(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class GoogleCloudApigeeV1SharedFlowRevision(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SharedFlowRevision(typing.TypedDict, total=False): configurationVersion: GoogleCloudApigeeV1ConfigVersion contextInfo: str createdAt: str @@ -2660,49 +2404,47 @@ class GoogleCloudApigeeV1SharedFlowRevision(typing_extensions.TypedDict, total=F type: str @typing.type_check_only -class GoogleCloudApigeeV1Space(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Space(typing.TypedDict, total=False): createTime: str displayName: str name: str updateTime: str @typing.type_check_only -class GoogleCloudApigeeV1Stats(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Stats(typing.TypedDict, total=False): environments: _list[GoogleCloudApigeeV1StatsEnvironmentStats] hosts: _list[GoogleCloudApigeeV1StatsHostStats] metaData: GoogleCloudApigeeV1Metadata @typing.type_check_only -class GoogleCloudApigeeV1StatsEnvironmentStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1StatsEnvironmentStats(typing.TypedDict, total=False): dimensions: _list[GoogleCloudApigeeV1DimensionMetric] metrics: _list[GoogleCloudApigeeV1Metric] name: str @typing.type_check_only -class GoogleCloudApigeeV1StatsHostStats(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1StatsHostStats(typing.TypedDict, total=False): dimensions: _list[GoogleCloudApigeeV1DimensionMetric] metrics: _list[GoogleCloudApigeeV1Metric] name: str @typing.type_check_only -class GoogleCloudApigeeV1Subscription(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1Subscription(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudApigeeV1SyncAuthorization(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1SyncAuthorization(typing.TypedDict, total=False): etag: str identities: _list[str] @typing.type_check_only -class GoogleCloudApigeeV1TargetServer(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1TargetServer(typing.TypedDict, total=False): description: str host: str isEnabled: bool name: str port: int - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "PROTOCOL_UNSPECIFIED", "HTTP", "HTTP2", @@ -2713,12 +2455,12 @@ class GoogleCloudApigeeV1TargetServer(typing_extensions.TypedDict, total=False): sSLInfo: GoogleCloudApigeeV1TlsInfo @typing.type_check_only -class GoogleCloudApigeeV1TargetServerConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1TargetServerConfig(typing.TypedDict, total=False): enabled: bool host: str name: str port: int - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "PROTOCOL_UNSPECIFIED", "HTTP", "HTTP2", @@ -2729,14 +2471,12 @@ class GoogleCloudApigeeV1TargetServerConfig(typing_extensions.TypedDict, total=F tlsInfo: GoogleCloudApigeeV1TlsInfoConfig @typing.type_check_only -class GoogleCloudApigeeV1TestDatastoreResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1TestDatastoreResponse(typing.TypedDict, total=False): error: str state: str @typing.type_check_only -class GoogleCloudApigeeV1TlsInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1TlsInfo(typing.TypedDict, total=False): ciphers: _list[str] clientAuthEnabled: bool commonName: GoogleCloudApigeeV1TlsInfoCommonName @@ -2749,12 +2489,12 @@ class GoogleCloudApigeeV1TlsInfo(typing_extensions.TypedDict, total=False): trustStore: str @typing.type_check_only -class GoogleCloudApigeeV1TlsInfoCommonName(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1TlsInfoCommonName(typing.TypedDict, total=False): value: str wildcardMatch: bool @typing.type_check_only -class GoogleCloudApigeeV1TlsInfoConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1TlsInfoConfig(typing.TypedDict, total=False): ciphers: _list[str] clientAuthEnabled: bool commonName: GoogleCloudApigeeV1CommonNameConfig @@ -2767,9 +2507,9 @@ class GoogleCloudApigeeV1TlsInfoConfig(typing_extensions.TypedDict, total=False) trustStore: str @typing.type_check_only -class GoogleCloudApigeeV1TraceConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1TraceConfig(typing.TypedDict, total=False): endpoint: str - exporter: typing_extensions.Literal[ + exporter: typing.Literal[ "EXPORTER_UNSPECIFIED", "JAEGER", "CLOUD_TRACE", @@ -2777,32 +2517,29 @@ class GoogleCloudApigeeV1TraceConfig(typing_extensions.TypedDict, total=False): "OPEN_TELEMETRY_CLOUD_TRACE", ] samplingConfig: GoogleCloudApigeeV1TraceSamplingConfig - traceProtocol: typing_extensions.Literal[ - "TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP" - ] + spanSemantics: typing.Literal["SPAN_SEMANTICS_UNSPECIFIED", "LEGACY", "OTEL"] + traceProtocol: typing.Literal["TRACE_PROTOCOL_UNSPECIFIED", "OPEN_CENSUS", "OTLP"] @typing.type_check_only -class GoogleCloudApigeeV1TraceConfigOverride(typing_extensions.TypedDict, total=False): +class GoogleCloudApigeeV1TraceConfigOverride(typing.TypedDict, total=False): apiProxy: str name: str samplingConfig: GoogleCloudApigeeV1TraceSamplingConfig @typing.type_check_only -class GoogleCloudApigeeV1TraceSamplingConfig(typing_extensions.TypedDict, total=False): - sampler: typing_extensions.Literal["SAMPLER_UNSPECIFIED", "OFF", "PROBABILITY"] +class GoogleCloudApigeeV1TraceSamplingConfig(typing.TypedDict, total=False): + sampler: typing.Literal["SAMPLER_UNSPECIFIED", "OFF", "PROBABILITY"] samplingRate: float @typing.type_check_only -class GoogleCloudApigeeV1UpdateAppGroupAppKeyRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1UpdateAppGroupAppKeyRequest(typing.TypedDict, total=False): action: str apiProducts: _list[str] appGroupAppKey: GoogleCloudApigeeV1AppGroupAppKey @typing.type_check_only -class GoogleCloudApigeeV1UpdateError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class GoogleCloudApigeeV1UpdateError(typing.TypedDict, total=False): + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -2826,58 +2563,56 @@ class GoogleCloudApigeeV1UpdateError(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class GoogleCloudApigeeV1UpdateSecurityIncidentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApigeeV1UpdateSecurityIncidentRequest(typing.TypedDict, total=False): securityIncident: GoogleCloudApigeeV1SecurityIncident updateMask: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2885,44 +2620,44 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcPreconditionFailure(typing_extensions.TypedDict, total=False): +class GoogleRpcPreconditionFailure(typing.TypedDict, total=False): violations: _list[GoogleRpcPreconditionFailureViolation] @typing.type_check_only -class GoogleRpcPreconditionFailureViolation(typing_extensions.TypedDict, total=False): +class GoogleRpcPreconditionFailureViolation(typing.TypedDict, total=False): description: str subject: str type: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeInterval(typing_extensions.TypedDict, total=False): +class GoogleTypeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int diff --git a/googleapiclient-stubs/_apis/apigeeregistry/v1/resources.pyi b/googleapiclient-stubs/_apis/apigeeregistry/v1/resources.pyi index 5efc3c1de..686a6640d 100644 --- a/googleapiclient-stubs/_apis/apigeeregistry/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigeeregistry/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/apigeeregistry/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigeeregistry/v1/schemas.pyi index cfe8083c3..e10784e84 100644 --- a/googleapiclient-stubs/_apis/apigeeregistry/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigeeregistry/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): annotations: dict[str, typing.Any] availability: str createTime: str @@ -18,7 +16,7 @@ class Api(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ApiDeployment(typing_extensions.TypedDict, total=False): +class ApiDeployment(typing.TypedDict, total=False): accessGuidance: str annotations: dict[str, typing.Any] apiSpecRevision: str @@ -35,7 +33,7 @@ class ApiDeployment(typing_extensions.TypedDict, total=False): revisionUpdateTime: str @typing.type_check_only -class ApiSpec(typing_extensions.TypedDict, total=False): +class ApiSpec(typing.TypedDict, total=False): annotations: dict[str, typing.Any] contents: str createTime: str @@ -52,7 +50,7 @@ class ApiSpec(typing_extensions.TypedDict, total=False): sourceUri: str @typing.type_check_only -class ApiVersion(typing_extensions.TypedDict, total=False): +class ApiVersion(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str description: str @@ -64,7 +62,7 @@ class ApiVersion(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Artifact(typing_extensions.TypedDict, total=False): +class Artifact(typing.TypedDict, total=False): annotations: dict[str, typing.Any] contents: str createTime: str @@ -76,48 +74,48 @@ class Artifact(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): commitId: str commitTime: str repo: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): cmekKeyName: str location: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): build: Build config: Config createTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INACTIVE", "CREATING", @@ -130,52 +128,52 @@ class Instance(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListApiDeploymentRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListApiDeploymentRevisionsResponse(typing.TypedDict, total=False): apiDeployments: _list[ApiDeployment] nextPageToken: str @typing.type_check_only -class ListApiDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListApiDeploymentsResponse(typing.TypedDict, total=False): apiDeployments: _list[ApiDeployment] nextPageToken: str @typing.type_check_only -class ListApiSpecRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListApiSpecRevisionsResponse(typing.TypedDict, total=False): apiSpecs: _list[ApiSpec] nextPageToken: str @typing.type_check_only -class ListApiSpecsResponse(typing_extensions.TypedDict, total=False): +class ListApiSpecsResponse(typing.TypedDict, total=False): apiSpecs: _list[ApiSpec] nextPageToken: str @typing.type_check_only -class ListApiVersionsResponse(typing_extensions.TypedDict, total=False): +class ListApiVersionsResponse(typing.TypedDict, total=False): apiVersions: _list[ApiVersion] nextPageToken: str @typing.type_check_only -class ListApisResponse(typing_extensions.TypedDict, total=False): +class ListApisResponse(typing.TypedDict, total=False): apis: _list[Api] nextPageToken: str @typing.type_check_only -class ListArtifactsResponse(typing_extensions.TypedDict, total=False): +class ListArtifactsResponse(typing.TypedDict, total=False): artifacts: _list[Artifact] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -183,7 +181,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -191,7 +189,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancellationRequested: bool createTime: str @@ -201,41 +199,41 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RollbackApiDeploymentRequest(typing_extensions.TypedDict, total=False): +class RollbackApiDeploymentRequest(typing.TypedDict, total=False): revisionId: str @typing.type_check_only -class RollbackApiSpecRequest(typing_extensions.TypedDict, total=False): +class RollbackApiSpecRequest(typing.TypedDict, total=False): revisionId: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TagApiDeploymentRevisionRequest(typing_extensions.TypedDict, total=False): +class TagApiDeploymentRevisionRequest(typing.TypedDict, total=False): tag: str @typing.type_check_only -class TagApiSpecRevisionRequest(typing_extensions.TypedDict, total=False): +class TagApiSpecRevisionRequest(typing.TypedDict, total=False): tag: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/apihub/v1/resources.pyi b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi index 53d5bfa81..118131040 100644 --- a/googleapiclient-stubs/_apis/apihub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -143,7 +142,7 @@ class APIHubResource(googleapiclient.discovery.Resource): self, *, name: str, - specContentType: typing_extensions.Literal[ + specContentType: typing.Literal[ "SPEC_CONTENT_TYPE_UNSPECIFIED", "BOOSTED_SPEC_CONTENT", "GATEWAY_OPEN_API_SPEC", @@ -749,6 +748,16 @@ class APIHubResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class ServersResource(googleapiclient.discovery.Resource): + def configureAndDeployServer( + self, + *, + parent: str, + body: GoogleCloudApihubV1ConfigureAndDeployServerRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def collectApiData( self, *, @@ -786,7 +795,7 @@ class APIHubResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "API_VIEW_TYPE_UNSPECIFIED", "MCP_SERVER", "MCP_TOOL" ] | None = ..., @@ -826,6 +835,7 @@ class APIHubResource(googleapiclient.discovery.Resource): def runtimeProjectAttachments( self, ) -> RuntimeProjectAttachmentsResource: ... + def servers(self) -> ServersResource: ... def locations(self) -> LocationsResource: ... diff --git a/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi index de4551acf..ddc7b932c 100644 --- a/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApihubV1APIMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1APIMetadata(typing.TypedDict, total=False): api: GoogleCloudApihubV1Api originalCreateTime: str originalId: str @@ -16,62 +14,54 @@ class GoogleCloudApihubV1APIMetadata(typing_extensions.TypedDict, total=False): versions: _list[GoogleCloudApihubV1VersionMetadata] @typing.type_check_only -class GoogleCloudApihubV1ActionExecutionDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ActionExecutionDetail(typing.TypedDict, total=False): actionId: str @typing.type_check_only -class GoogleCloudApihubV1AdditionalSpecContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1AdditionalSpecContent(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] - specContentType: typing_extensions.Literal[ + specContentType: typing.Literal[ "SPEC_CONTENT_TYPE_UNSPECIFIED", "BOOSTED_SPEC_CONTENT", "GATEWAY_OPEN_API_SPEC" ] specContents: GoogleCloudApihubV1SpecContents updateTime: str @typing.type_check_only -class GoogleCloudApihubV1Addon(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Addon(typing.TypedDict, total=False): config: GoogleCloudApihubV1AddonConfig createTime: str - dataSource: typing_extensions.Literal[ - "DATA_SOURCE_UNSPECIFIED", "PLUGIN_INSTANCE", "ALL_DATA" - ] + dataSource: typing.Literal["DATA_SOURCE_UNSPECIFIED", "PLUGIN_INSTANCE", "ALL_DATA"] description: str displayName: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ADDON_STATE_UNSPECIFIED", "ACTIVE", "UPDATING", "ERROR", "INACTIVE" ] updateTime: str @typing.type_check_only -class GoogleCloudApihubV1AddonConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1AddonConfig(typing.TypedDict, total=False): allDataAddonConfig: GoogleCloudApihubV1AllDataAddonConfig gatewayPluginAddonConfig: GoogleCloudApihubV1GatewayPluginAddonConfig @typing.type_check_only -class GoogleCloudApihubV1AgentRegistrySyncConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1AgentRegistrySyncConfig(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class GoogleCloudApihubV1AllDataAddonConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1AllDataAddonConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudApihubV1AllowedValue(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1AllowedValue(typing.TypedDict, total=False): description: str displayName: str id: str immutable: bool @typing.type_check_only -class GoogleCloudApihubV1Api(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Api(typing.TypedDict, total=False): apiFunctionalRequirements: GoogleCloudApihubV1AttributeValues apiRequirements: GoogleCloudApihubV1AttributeValues apiStyle: GoogleCloudApihubV1AttributeValues @@ -94,17 +84,17 @@ class GoogleCloudApihubV1Api(typing_extensions.TypedDict, total=False): versions: _list[str] @typing.type_check_only -class GoogleCloudApihubV1ApiData(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApiData(typing.TypedDict, total=False): apiMetadataList: GoogleCloudApihubV1ApiMetadataList @typing.type_check_only -class GoogleCloudApihubV1ApiHubInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApiHubInstance(typing.TypedDict, total=False): config: GoogleCloudApihubV1Config createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INACTIVE", "CREATING", @@ -117,7 +107,7 @@ class GoogleCloudApihubV1ApiHubInstance(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudApihubV1ApiHubResource(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApiHubResource(typing.TypedDict, total=False): api: GoogleCloudApihubV1Api definition: GoogleCloudApihubV1Definition deployment: GoogleCloudApihubV1Deployment @@ -126,19 +116,19 @@ class GoogleCloudApihubV1ApiHubResource(typing_extensions.TypedDict, total=False version: GoogleCloudApihubV1Version @typing.type_check_only -class GoogleCloudApihubV1ApiKeyConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApiKeyConfig(typing.TypedDict, total=False): apiKey: GoogleCloudApihubV1Secret - httpElementLocation: typing_extensions.Literal[ + httpElementLocation: typing.Literal[ "HTTP_ELEMENT_LOCATION_UNSPECIFIED", "QUERY", "HEADER", "PATH", "BODY", "COOKIE" ] name: str @typing.type_check_only -class GoogleCloudApihubV1ApiMetadataList(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApiMetadataList(typing.TypedDict, total=False): apiMetadata: _list[GoogleCloudApihubV1APIMetadata] @typing.type_check_only -class GoogleCloudApihubV1ApiOperation(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApiOperation(typing.TypedDict, total=False): attributes: dict[str, typing.Any] createTime: str details: GoogleCloudApihubV1OperationDetails @@ -148,45 +138,51 @@ class GoogleCloudApihubV1ApiOperation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudApihubV1ApiView(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApiView(typing.TypedDict, total=False): mcpServerView: GoogleCloudApihubV1FlattenedApiVersionDeploymentView mcpToolView: GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView @typing.type_check_only -class GoogleCloudApihubV1ApigeeEdgeConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApigeeEdgeConfig(typing.TypedDict, total=False): environmentFilter: GoogleCloudApihubV1EnvironmentFilter @typing.type_check_only -class GoogleCloudApihubV1ApigeeOPDKConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApigeeOPDKConfig(typing.TypedDict, total=False): environmentFilter: GoogleCloudApihubV1EnvironmentFilter @typing.type_check_only -class GoogleCloudApihubV1ApigeeXHybridConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ApigeeXHybridConfig(typing.TypedDict, total=False): environmentFilter: GoogleCloudApihubV1EnvironmentFilter +@typing.type_check_only +class GoogleCloudApihubV1ApigeeXTargetDetails(typing.TypedDict, total=False): + deployedRevision: str + environment: str + metadata: GoogleCloudApihubV1MetaData + proxy: str + targetProject: str + @typing.type_check_only class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): triggerId: str uri: str @typing.type_check_only -class GoogleCloudApihubV1Attribute(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Attribute(typing.TypedDict, total=False): allowedValues: _list[GoogleCloudApihubV1AllowedValue] cardinality: int createTime: str - dataType: typing_extensions.Literal[ - "DATA_TYPE_UNSPECIFIED", "ENUM", "JSON", "STRING", "URI" - ] - definitionType: typing_extensions.Literal[ + dataType: typing.Literal["DATA_TYPE_UNSPECIFIED", "ENUM", "JSON", "STRING", "URI"] + definitionType: typing.Literal[ "DEFINITION_TYPE_UNSPECIFIED", "SYSTEM_DEFINED", "USER_DEFINED" ] description: str displayName: str mandatory: bool name: str - scope: typing_extensions.Literal[ + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "API", "VERSION", @@ -201,7 +197,7 @@ class GoogleCloudApihubV1Attribute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudApihubV1AttributeValues(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1AttributeValues(typing.TypedDict, total=False): attribute: str enumValues: GoogleCloudApihubV1EnumAttributeValues jsonValues: GoogleCloudApihubV1StringAttributeValues @@ -209,9 +205,9 @@ class GoogleCloudApihubV1AttributeValues(typing_extensions.TypedDict, total=Fals uriValues: GoogleCloudApihubV1StringAttributeValues @typing.type_check_only -class GoogleCloudApihubV1AuthConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1AuthConfig(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudApihubV1ApiKeyConfig - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "NO_AUTH", "GOOGLE_SERVICE_ACCOUNT", @@ -224,10 +220,10 @@ class GoogleCloudApihubV1AuthConfig(typing_extensions.TypedDict, total=False): userPasswordConfig: GoogleCloudApihubV1UserPasswordConfig @typing.type_check_only -class GoogleCloudApihubV1AuthConfigTemplate(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1AuthConfigTemplate(typing.TypedDict, total=False): serviceAccount: GoogleCloudApihubV1GoogleServiceAccountConfig supportedAuthTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "NO_AUTH", "GOOGLE_SERVICE_ACCOUNT", @@ -238,12 +234,10 @@ class GoogleCloudApihubV1AuthConfigTemplate(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudApihubV1CollectApiDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1CollectApiDataRequest(typing.TypedDict, total=False): actionId: str apiData: GoogleCloudApihubV1ApiData - collectionType: typing_extensions.Literal[ + collectionType: typing.Literal[ "COLLECTION_TYPE_UNSPECIFIED", "COLLECTION_TYPE_UPSERT", "COLLECTION_TYPE_DELETE", @@ -251,28 +245,26 @@ class GoogleCloudApihubV1CollectApiDataRequest( pluginInstance: str @typing.type_check_only -class GoogleCloudApihubV1Config(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Config(typing.TypedDict, total=False): agentRegistrySyncConfig: GoogleCloudApihubV1AgentRegistrySyncConfig cmekKeyName: str disableSearch: bool - encryptionType: typing_extensions.Literal[ - "ENCRYPTION_TYPE_UNSPECIFIED", "GMEK", "CMEK" - ] + encryptionType: typing.Literal["ENCRYPTION_TYPE_UNSPECIFIED", "GMEK", "CMEK"] vertexLocation: str @typing.type_check_only -class GoogleCloudApihubV1ConfigTemplate(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ConfigTemplate(typing.TypedDict, total=False): additionalConfigTemplate: _list[GoogleCloudApihubV1ConfigVariableTemplate] authConfigTemplate: GoogleCloudApihubV1AuthConfigTemplate @typing.type_check_only -class GoogleCloudApihubV1ConfigValueOption(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ConfigValueOption(typing.TypedDict, total=False): description: str displayName: str id: str @typing.type_check_only -class GoogleCloudApihubV1ConfigVariable(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ConfigVariable(typing.TypedDict, total=False): boolValue: bool enumValue: GoogleCloudApihubV1ConfigValueOption intValue: str @@ -284,16 +276,14 @@ class GoogleCloudApihubV1ConfigVariable(typing_extensions.TypedDict, total=False stringValue: str @typing.type_check_only -class GoogleCloudApihubV1ConfigVariableTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ConfigVariableTemplate(typing.TypedDict, total=False): description: str enumOptions: _list[GoogleCloudApihubV1ConfigValueOption] id: str multiSelectOptions: _list[GoogleCloudApihubV1ConfigValueOption] required: bool validationRegex: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "STRING", "INT", @@ -306,16 +296,20 @@ class GoogleCloudApihubV1ConfigVariableTemplate( ] @typing.type_check_only -class GoogleCloudApihubV1Curation(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ConfigureAndDeployServerRequest(typing.TypedDict, total=False): + mcpServerConfig: GoogleCloudApihubV1McpServerConfig + +@typing.type_check_only +class GoogleCloudApihubV1Curation(typing.TypedDict, total=False): createTime: str description: str displayName: str endpoint: GoogleCloudApihubV1Endpoint - lastExecutionErrorCode: typing_extensions.Literal[ + lastExecutionErrorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "INTERNAL_ERROR", "UNAUTHORIZED" ] lastExecutionErrorMessage: str - lastExecutionState: typing_extensions.Literal[ + lastExecutionState: typing.Literal[ "LAST_EXECUTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED" ] name: str @@ -323,8 +317,8 @@ class GoogleCloudApihubV1Curation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudApihubV1CurationConfig(typing_extensions.TypedDict, total=False): - curationType: typing_extensions.Literal[ +class GoogleCloudApihubV1CurationConfig(typing.TypedDict, total=False): + curationType: typing.Literal[ "CURATION_TYPE_UNSPECIFIED", "DEFAULT_CURATION_FOR_API_METADATA", "CUSTOM_CURATION_FOR_API_METADATA", @@ -332,51 +326,47 @@ class GoogleCloudApihubV1CurationConfig(typing_extensions.TypedDict, total=False customCuration: GoogleCloudApihubV1CustomCuration @typing.type_check_only -class GoogleCloudApihubV1CustomCuration(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1CustomCuration(typing.TypedDict, total=False): curation: str @typing.type_check_only -class GoogleCloudApihubV1Definition(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Definition(typing.TypedDict, total=False): attributes: dict[str, typing.Any] createTime: str name: str schema: GoogleCloudApihubV1Schema spec: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SCHEMA"] + type: typing.Literal["TYPE_UNSPECIFIED", "SCHEMA"] updateTime: str @typing.type_check_only -class GoogleCloudApihubV1Dependency(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Dependency(typing.TypedDict, total=False): attributes: dict[str, typing.Any] consumer: GoogleCloudApihubV1DependencyEntityReference createTime: str description: str - discoveryMode: typing_extensions.Literal["DISCOVERY_MODE_UNSPECIFIED", "MANUAL"] + discoveryMode: typing.Literal["DISCOVERY_MODE_UNSPECIFIED", "MANUAL"] errorDetail: GoogleCloudApihubV1DependencyErrorDetail name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PROPOSED", "VALIDATED"] + state: typing.Literal["STATE_UNSPECIFIED", "PROPOSED", "VALIDATED"] supplier: GoogleCloudApihubV1DependencyEntityReference updateTime: str @typing.type_check_only -class GoogleCloudApihubV1DependencyEntityReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1DependencyEntityReference(typing.TypedDict, total=False): displayName: str externalApiResourceName: str operationResourceName: str @typing.type_check_only -class GoogleCloudApihubV1DependencyErrorDetail( - typing_extensions.TypedDict, total=False -): - error: typing_extensions.Literal[ +class GoogleCloudApihubV1DependencyErrorDetail(typing.TypedDict, total=False): + error: typing.Literal[ "ERROR_UNSPECIFIED", "SUPPLIER_NOT_FOUND", "SUPPLIER_RECREATED" ] errorTime: str @typing.type_check_only -class GoogleCloudApihubV1Deployment(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Deployment(typing.TypedDict, total=False): apiVersions: _list[str] attributes: dict[str, typing.Any] createTime: str @@ -397,7 +387,7 @@ class GoogleCloudApihubV1Deployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudApihubV1DeploymentMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1DeploymentMetadata(typing.TypedDict, total=False): deployment: GoogleCloudApihubV1Deployment originalCreateTime: str originalId: str @@ -405,19 +395,15 @@ class GoogleCloudApihubV1DeploymentMetadata(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudApihubV1DisablePluginInstanceActionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionId: str @typing.type_check_only -class GoogleCloudApihubV1DisablePluginRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApihubV1DisablePluginRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApihubV1DiscoveredApiObservation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1DiscoveredApiObservation(typing.TypedDict, total=False): apiOperationCount: str createTime: str hostname: str @@ -428,20 +414,14 @@ class GoogleCloudApihubV1DiscoveredApiObservation( serverIps: _list[str] sourceLocations: _list[str] sourceMetadata: GoogleCloudApihubV1SourceMetadata - sourceTypes: _list[ - typing_extensions.Literal["SOURCE_TYPE_UNSPECIFIED", "GCP_XLB", "GCP_ILB"] - ] - style: typing_extensions.Literal["STYLE_UNSPECIFIED", "REST", "GRPC", "GRAPHQL"] + sourceTypes: _list[typing.Literal["SOURCE_TYPE_UNSPECIFIED", "GCP_XLB", "GCP_ILB"]] + style: typing.Literal["STYLE_UNSPECIFIED", "REST", "GRPC", "GRAPHQL"] unknownOperationsCount: str updateTime: str @typing.type_check_only -class GoogleCloudApihubV1DiscoveredApiOperation( - typing_extensions.TypedDict, total=False -): - classification: typing_extensions.Literal[ - "CLASSIFICATION_UNSPECIFIED", "KNOWN", "UNKNOWN" - ] +class GoogleCloudApihubV1DiscoveredApiOperation(typing.TypedDict, total=False): + classification: typing.Literal["CLASSIFICATION_UNSPECIFIED", "KNOWN", "UNKNOWN"] count: str createTime: str firstSeenTime: str @@ -453,50 +433,48 @@ class GoogleCloudApihubV1DiscoveredApiOperation( updateTime: str @typing.type_check_only -class GoogleCloudApihubV1Documentation(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Documentation(typing.TypedDict, total=False): externalUri: str @typing.type_check_only class GoogleCloudApihubV1EnablePluginInstanceActionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionId: str @typing.type_check_only -class GoogleCloudApihubV1EnablePluginRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudApihubV1EnablePluginRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApihubV1Endpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Endpoint(typing.TypedDict, total=False): applicationIntegrationEndpointDetails: ( GoogleCloudApihubV1ApplicationIntegrationEndpointDetails ) @typing.type_check_only -class GoogleCloudApihubV1EnumAttributeValues(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1EnumAttributeValues(typing.TypedDict, total=False): values: _list[GoogleCloudApihubV1AllowedValue] @typing.type_check_only -class GoogleCloudApihubV1EnvironmentFilter(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1EnvironmentFilter(typing.TypedDict, total=False): allEnvironments: bool environments: _list[str] @typing.type_check_only class GoogleCloudApihubV1ExecutePluginInstanceActionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionExecutionDetail: GoogleCloudApihubV1ActionExecutionDetail @typing.type_check_only -class GoogleCloudApihubV1ExecutionStatus(typing_extensions.TypedDict, total=False): - currentExecutionState: typing_extensions.Literal[ +class GoogleCloudApihubV1ExecutionStatus(typing.TypedDict, total=False): + currentExecutionState: typing.Literal[ "CURRENT_EXECUTION_STATE_UNSPECIFIED", "RUNNING", "NOT_RUNNING" ] lastExecution: GoogleCloudApihubV1LastExecution @typing.type_check_only -class GoogleCloudApihubV1ExternalApi(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ExternalApi(typing.TypedDict, total=False): attributes: dict[str, typing.Any] createTime: str description: str @@ -509,13 +487,13 @@ class GoogleCloudApihubV1ExternalApi(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudApihubV1FetchAdditionalSpecContentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSpecContent: GoogleCloudApihubV1AdditionalSpecContent @typing.type_check_only class GoogleCloudApihubV1FlattenedApiVersionDeploymentView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): api: GoogleCloudApihubV1Api deployment: GoogleCloudApihubV1Deployment @@ -523,7 +501,7 @@ class GoogleCloudApihubV1FlattenedApiVersionDeploymentView( @typing.type_check_only class GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): api: GoogleCloudApihubV1Api apiOperation: GoogleCloudApihubV1ApiOperation @@ -531,47 +509,41 @@ class GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView( version: GoogleCloudApihubV1Version @typing.type_check_only -class GoogleCloudApihubV1GatewayPluginAddonConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1GatewayPluginAddonConfig(typing.TypedDict, total=False): gatewayPluginConfigs: _list[GoogleCloudApihubV1GatewayPluginConfig] @typing.type_check_only -class GoogleCloudApihubV1GatewayPluginConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1GatewayPluginConfig(typing.TypedDict, total=False): apigeeEdgeConfig: GoogleCloudApihubV1ApigeeEdgeConfig apigeeOpdkConfig: GoogleCloudApihubV1ApigeeOPDKConfig apigeeXHybridConfig: GoogleCloudApihubV1ApigeeXHybridConfig pluginInstance: str @typing.type_check_only -class GoogleCloudApihubV1GoogleServiceAccountConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1GoogleServiceAccountConfig(typing.TypedDict, total=False): serviceAccount: str @typing.type_check_only -class GoogleCloudApihubV1Header(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Header(typing.TypedDict, total=False): count: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" ] name: str @typing.type_check_only -class GoogleCloudApihubV1HostProjectRegistration( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1HostProjectRegistration(typing.TypedDict, total=False): createTime: str gcpProject: str name: str @typing.type_check_only -class GoogleCloudApihubV1HostingService(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1HostingService(typing.TypedDict, total=False): serviceUri: str @typing.type_check_only -class GoogleCloudApihubV1HttpOperation(typing_extensions.TypedDict, total=False): - method: typing_extensions.Literal[ +class GoogleCloudApihubV1HttpOperation(typing.TypedDict, total=False): + method: typing.Literal[ "METHOD_UNSPECIFIED", "GET", "PUT", @@ -585,7 +557,23 @@ class GoogleCloudApihubV1HttpOperation(typing_extensions.TypedDict, total=False) path: GoogleCloudApihubV1Path @typing.type_check_only -class GoogleCloudApihubV1HttpOperationDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1HttpOperationConfig(typing.TypedDict, total=False): + method: typing.Literal[ + "METHOD_UNSPECIFIED", + "GET", + "PUT", + "POST", + "DELETE", + "OPTIONS", + "HEAD", + "PATCH", + "TRACE", + ] + path: str + spec: str + +@typing.type_check_only +class GoogleCloudApihubV1HttpOperationDetails(typing.TypedDict, total=False): httpOperation: GoogleCloudApihubV1HttpOperation pathParams: _list[GoogleCloudApihubV1PathParam] queryParams: dict[str, typing.Any] @@ -593,21 +581,21 @@ class GoogleCloudApihubV1HttpOperationDetails(typing_extensions.TypedDict, total response: GoogleCloudApihubV1HttpResponse @typing.type_check_only -class GoogleCloudApihubV1HttpRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1HttpRequest(typing.TypedDict, total=False): headers: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudApihubV1HttpResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1HttpResponse(typing.TypedDict, total=False): headers: dict[str, typing.Any] responseCodes: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudApihubV1Issue(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Issue(typing.TypedDict, total=False): code: str message: str path: _list[str] range: GoogleCloudApihubV1Range - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "SEVERITY_ERROR", "SEVERITY_WARNING", @@ -616,154 +604,136 @@ class GoogleCloudApihubV1Issue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleCloudApihubV1LastExecution(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1LastExecution(typing.TypedDict, total=False): endTime: str errorMessage: str - result: typing_extensions.Literal["RESULT_UNSPECIFIED", "SUCCEEDED", "FAILED"] + result: typing.Literal["RESULT_UNSPECIFIED", "SUCCEEDED", "FAILED"] resultMetadata: str startTime: str @typing.type_check_only -class GoogleCloudApihubV1LintResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1LintResponse(typing.TypedDict, total=False): createTime: str issues: _list[GoogleCloudApihubV1Issue] - linter: typing_extensions.Literal["LINTER_UNSPECIFIED", "SPECTRAL", "OTHER"] + linter: typing.Literal["LINTER_UNSPECIFIED", "SPECTRAL", "OTHER"] source: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LINT_STATE_UNSPECIFIED", "LINT_STATE_SUCCESS", "LINT_STATE_ERROR" ] summary: _list[GoogleCloudApihubV1SummaryEntry] @typing.type_check_only -class GoogleCloudApihubV1LintSpecRequest(typing_extensions.TypedDict, total=False): ... +class GoogleCloudApihubV1LintSpecRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudApihubV1ListAddonsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ListAddonsResponse(typing.TypedDict, total=False): addons: _list[GoogleCloudApihubV1Addon] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListApiOperationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ListApiOperationsResponse(typing.TypedDict, total=False): apiOperations: _list[GoogleCloudApihubV1ApiOperation] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListApisResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ListApisResponse(typing.TypedDict, total=False): apis: _list[GoogleCloudApihubV1Api] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListAttributesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ListAttributesResponse(typing.TypedDict, total=False): attributes: _list[GoogleCloudApihubV1Attribute] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListCurationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ListCurationsResponse(typing.TypedDict, total=False): curations: _list[GoogleCloudApihubV1Curation] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListDependenciesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ListDependenciesResponse(typing.TypedDict, total=False): dependencies: _list[GoogleCloudApihubV1Dependency] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListDeploymentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[GoogleCloudApihubV1Deployment] nextPageToken: str @typing.type_check_only class GoogleCloudApihubV1ListDiscoveredApiObservationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): discoveredApiObservations: _list[GoogleCloudApihubV1DiscoveredApiObservation] nextPageToken: str @typing.type_check_only class GoogleCloudApihubV1ListDiscoveredApiOperationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): discoveredApiOperations: _list[GoogleCloudApihubV1DiscoveredApiOperation] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListExternalApisResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ListExternalApisResponse(typing.TypedDict, total=False): externalApis: _list[GoogleCloudApihubV1ExternalApi] nextPageToken: str @typing.type_check_only class GoogleCloudApihubV1ListHostProjectRegistrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hostProjectRegistrations: _list[GoogleCloudApihubV1HostProjectRegistration] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1ListPluginInstancesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ListPluginInstancesResponse(typing.TypedDict, total=False): nextPageToken: str pluginInstances: _list[GoogleCloudApihubV1PluginInstance] @typing.type_check_only -class GoogleCloudApihubV1ListPluginsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ListPluginsResponse(typing.TypedDict, total=False): nextPageToken: str plugins: _list[GoogleCloudApihubV1Plugin] @typing.type_check_only class GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str runtimeProjectAttachments: _list[GoogleCloudApihubV1RuntimeProjectAttachment] @typing.type_check_only -class GoogleCloudApihubV1ListSpecsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ListSpecsResponse(typing.TypedDict, total=False): nextPageToken: str specs: _list[GoogleCloudApihubV1Spec] @typing.type_check_only -class GoogleCloudApihubV1ListVersionsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[GoogleCloudApihubV1Version] @typing.type_check_only -class GoogleCloudApihubV1LookupApiHubInstanceResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1LookupApiHubInstanceResponse(typing.TypedDict, total=False): apiHubInstance: GoogleCloudApihubV1ApiHubInstance @typing.type_check_only class GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): runtimeProjectAttachment: GoogleCloudApihubV1RuntimeProjectAttachment @typing.type_check_only -class GoogleCloudApihubV1ManageAddonConfigRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1ManageAddonConfigRequest(typing.TypedDict, total=False): config: GoogleCloudApihubV1AddonConfig @typing.type_check_only class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "UPLOAD", "DELETE"] + action: typing.Literal["ACTION_UNSPECIFIED", "UPLOAD", "DELETE"] data: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "PROXY_DEPLOYMENT_MANIFEST", "ENVIRONMENT_MANIFEST", @@ -774,15 +744,20 @@ class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest( @typing.type_check_only class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudApihubV1MatchResult(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1MatchResult(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudApihubV1McpTool(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1McpServerConfig(typing.TypedDict, total=False): + apigeeXTargetDetails: GoogleCloudApihubV1ApigeeXTargetDetails + tools: _list[GoogleCloudApihubV1McpToolConfig] + +@typing.type_check_only +class GoogleCloudApihubV1McpTool(typing.TypedDict, total=False): annotations: GoogleCloudApihubV1ToolAnnotations description: str inputSchema: GoogleCloudApihubV1OperationSchema @@ -791,27 +766,36 @@ class GoogleCloudApihubV1McpTool(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class GoogleCloudApihubV1MultiIntValues(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1McpToolConfig(typing.TypedDict, total=False): + description: str + operation: GoogleCloudApihubV1OperationConfig + toolId: str + +@typing.type_check_only +class GoogleCloudApihubV1MetaData(typing.TypedDict, total=False): + description: str + displayName: str + +@typing.type_check_only +class GoogleCloudApihubV1MultiIntValues(typing.TypedDict, total=False): values: _list[int] @typing.type_check_only -class GoogleCloudApihubV1MultiSelectValues(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1MultiSelectValues(typing.TypedDict, total=False): values: _list[GoogleCloudApihubV1ConfigValueOption] @typing.type_check_only -class GoogleCloudApihubV1MultiStringValues(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1MultiStringValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudApihubV1Oauth2ClientCredentialsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1Oauth2ClientCredentialsConfig(typing.TypedDict, total=False): clientId: str clientSecret: GoogleCloudApihubV1Secret @typing.type_check_only -class GoogleCloudApihubV1OpenApiSpecDetails(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal[ +class GoogleCloudApihubV1OpenApiSpecDetails(typing.TypedDict, total=False): + format: typing.Literal[ "FORMAT_UNSPECIFIED", "OPEN_API_SPEC_2_0", "OPEN_API_SPEC_3_0", @@ -821,7 +805,12 @@ class GoogleCloudApihubV1OpenApiSpecDetails(typing_extensions.TypedDict, total=F version: str @typing.type_check_only -class GoogleCloudApihubV1OperationDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1OperationConfig(typing.TypedDict, total=False): + httpOperation: GoogleCloudApihubV1HttpOperationConfig + operation: str + +@typing.type_check_only +class GoogleCloudApihubV1OperationDetails(typing.TypedDict, total=False): deprecated: bool description: str documentation: GoogleCloudApihubV1Documentation @@ -829,7 +818,7 @@ class GoogleCloudApihubV1OperationDetails(typing_extensions.TypedDict, total=Fal mcpTool: GoogleCloudApihubV1McpTool @typing.type_check_only -class GoogleCloudApihubV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -839,35 +828,35 @@ class GoogleCloudApihubV1OperationMetadata(typing_extensions.TypedDict, total=Fa verb: str @typing.type_check_only -class GoogleCloudApihubV1OperationSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1OperationSchema(typing.TypedDict, total=False): jsonSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudApihubV1Owner(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Owner(typing.TypedDict, total=False): displayName: str email: str @typing.type_check_only -class GoogleCloudApihubV1Path(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Path(typing.TypedDict, total=False): description: str path: str @typing.type_check_only -class GoogleCloudApihubV1PathParam(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class GoogleCloudApihubV1PathParam(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" ] position: int @typing.type_check_only -class GoogleCloudApihubV1Plugin(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Plugin(typing.TypedDict, total=False): actionsConfig: _list[GoogleCloudApihubV1PluginActionConfig] configTemplate: GoogleCloudApihubV1ConfigTemplate createTime: str description: str displayName: str documentation: GoogleCloudApihubV1Documentation - gatewayType: typing_extensions.Literal[ + gatewayType: typing.Literal[ "GATEWAY_TYPE_UNSPECIFIED", "APIGEE_X_AND_HYBRID", "APIGEE_EDGE_PUBLIC_CLOUD", @@ -876,25 +865,27 @@ class GoogleCloudApihubV1Plugin(typing_extensions.TypedDict, total=False): "CLOUD_ENDPOINTS", "API_DISCOVERY", "OTHERS", + "AWS_API_GATEWAY", + "AZURE_API_MANAGEMENT", ] hostingService: GoogleCloudApihubV1HostingService name: str - ownershipType: typing_extensions.Literal[ + ownershipType: typing.Literal[ "OWNERSHIP_TYPE_UNSPECIFIED", "SYSTEM_OWNED", "USER_OWNED" ] - pluginCategory: typing_extensions.Literal[ + pluginCategory: typing.Literal[ "PLUGIN_CATEGORY_UNSPECIFIED", "API_GATEWAY", "API_PRODUCER" ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] type: GoogleCloudApihubV1AttributeValues updateTime: str @typing.type_check_only -class GoogleCloudApihubV1PluginActionConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1PluginActionConfig(typing.TypedDict, total=False): description: str displayName: str id: str - triggerMode: typing_extensions.Literal[ + triggerMode: typing.Literal[ "TRIGGER_MODE_UNSPECIFIED", "API_HUB_ON_DEMAND_TRIGGER", "API_HUB_SCHEDULE_TRIGGER", @@ -902,7 +893,7 @@ class GoogleCloudApihubV1PluginActionConfig(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudApihubV1PluginInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1PluginInstance(typing.TypedDict, total=False): actions: _list[GoogleCloudApihubV1PluginInstanceAction] additionalConfig: dict[str, typing.Any] authConfig: GoogleCloudApihubV1AuthConfig @@ -912,7 +903,7 @@ class GoogleCloudApihubV1PluginInstance(typing_extensions.TypedDict, total=False name: str sourceEnvironmentsConfig: dict[str, typing.Any] sourceProjectId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -924,7 +915,7 @@ class GoogleCloudApihubV1PluginInstance(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudApihubV1PluginInstanceAction(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1PluginInstanceAction(typing.TypedDict, total=False): actionId: str curationConfig: GoogleCloudApihubV1CurationConfig hubInstanceAction: GoogleCloudApihubV1ExecutionStatus @@ -932,110 +923,98 @@ class GoogleCloudApihubV1PluginInstanceAction(typing_extensions.TypedDict, total scheduleCronExpression: str scheduleTimeZone: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "ENABLING", "DISABLING", "ERROR" ] @typing.type_check_only -class GoogleCloudApihubV1PluginInstanceActionID( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1PluginInstanceActionID(typing.TypedDict, total=False): actionId: str pluginInstance: str @typing.type_check_only -class GoogleCloudApihubV1PluginInstanceActionSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1PluginInstanceActionSource(typing.TypedDict, total=False): actionId: str pluginInstance: str @typing.type_check_only -class GoogleCloudApihubV1Point(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Point(typing.TypedDict, total=False): character: int line: int @typing.type_check_only -class GoogleCloudApihubV1QueryParam(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1QueryParam(typing.TypedDict, total=False): count: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" ] name: str @typing.type_check_only -class GoogleCloudApihubV1Range(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Range(typing.TypedDict, total=False): end: GoogleCloudApihubV1Point start: GoogleCloudApihubV1Point @typing.type_check_only -class GoogleCloudApihubV1ResourceConfig(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal[ +class GoogleCloudApihubV1ResourceConfig(typing.TypedDict, total=False): + actionType: typing.Literal[ "ACTION_TYPE_UNSPECIFIED", "SYNC_METADATA", "SYNC_RUNTIME_DATA" ] pubsubTopic: str @typing.type_check_only -class GoogleCloudApihubV1RetrieveApiViewsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1RetrieveApiViewsResponse(typing.TypedDict, total=False): apiViews: _list[GoogleCloudApihubV1ApiView] nextPageToken: str @typing.type_check_only -class GoogleCloudApihubV1RuntimeProjectAttachment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1RuntimeProjectAttachment(typing.TypedDict, total=False): createTime: str name: str runtimeProject: str @typing.type_check_only -class GoogleCloudApihubV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Schema(typing.TypedDict, total=False): displayName: str rawValue: str @typing.type_check_only -class GoogleCloudApihubV1SearchResourcesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1SearchResourcesRequest(typing.TypedDict, total=False): filter: str pageSize: int pageToken: str query: str @typing.type_check_only -class GoogleCloudApihubV1SearchResourcesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1SearchResourcesResponse(typing.TypedDict, total=False): nextPageToken: str searchResults: _list[GoogleCloudApihubV1SearchResult] @typing.type_check_only -class GoogleCloudApihubV1SearchResult(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1SearchResult(typing.TypedDict, total=False): resource: GoogleCloudApihubV1ApiHubResource @typing.type_check_only -class GoogleCloudApihubV1Secret(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Secret(typing.TypedDict, total=False): secretVersion: str @typing.type_check_only -class GoogleCloudApihubV1SourceEnvironment(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1SourceEnvironment(typing.TypedDict, total=False): createTime: str sourceEnvironment: str sourceEnvironmentUri: str updateTime: str @typing.type_check_only -class GoogleCloudApihubV1SourceMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1SourceMetadata(typing.TypedDict, total=False): originalResourceCreateTime: str originalResourceId: str originalResourceUpdateTime: str pluginInstanceActionSource: GoogleCloudApihubV1PluginInstanceActionSource - sourceType: typing_extensions.Literal["SOURCE_TYPE_UNSPECIFIED", "PLUGIN"] + sourceType: typing.Literal["SOURCE_TYPE_UNSPECIFIED", "PLUGIN"] @typing.type_check_only -class GoogleCloudApihubV1Spec(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Spec(typing.TypedDict, total=False): additionalSpecContents: _list[GoogleCloudApihubV1AdditionalSpecContent] attributes: dict[str, typing.Any] contents: GoogleCloudApihubV1SpecContents @@ -1045,52 +1024,48 @@ class GoogleCloudApihubV1Spec(typing_extensions.TypedDict, total=False): documentation: GoogleCloudApihubV1Documentation lintResponse: GoogleCloudApihubV1LintResponse name: str - parsingMode: typing_extensions.Literal[ - "PARSING_MODE_UNSPECIFIED", "RELAXED", "STRICT" - ] + parsingMode: typing.Literal["PARSING_MODE_UNSPECIFIED", "RELAXED", "STRICT"] sourceMetadata: _list[GoogleCloudApihubV1SourceMetadata] sourceUri: str specType: GoogleCloudApihubV1AttributeValues updateTime: str @typing.type_check_only -class GoogleCloudApihubV1SpecContents(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1SpecContents(typing.TypedDict, total=False): contents: str mimeType: str @typing.type_check_only -class GoogleCloudApihubV1SpecDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1SpecDetails(typing.TypedDict, total=False): description: str openApiSpecDetails: GoogleCloudApihubV1OpenApiSpecDetails @typing.type_check_only -class GoogleCloudApihubV1SpecMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1SpecMetadata(typing.TypedDict, total=False): originalCreateTime: str originalId: str originalUpdateTime: str spec: GoogleCloudApihubV1Spec @typing.type_check_only -class GoogleCloudApihubV1StringAttributeValues( - typing_extensions.TypedDict, total=False -): +class GoogleCloudApihubV1StringAttributeValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudApihubV1StyleGuide(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1StyleGuide(typing.TypedDict, total=False): contents: GoogleCloudApihubV1StyleGuideContents - linter: typing_extensions.Literal["LINTER_UNSPECIFIED", "SPECTRAL", "OTHER"] + linter: typing.Literal["LINTER_UNSPECIFIED", "SPECTRAL", "OTHER"] name: str @typing.type_check_only -class GoogleCloudApihubV1StyleGuideContents(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1StyleGuideContents(typing.TypedDict, total=False): contents: str mimeType: str @typing.type_check_only -class GoogleCloudApihubV1SummaryEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1SummaryEntry(typing.TypedDict, total=False): count: int - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "SEVERITY_ERROR", "SEVERITY_WARNING", @@ -1099,7 +1074,7 @@ class GoogleCloudApihubV1SummaryEntry(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleCloudApihubV1ToolAnnotations(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1ToolAnnotations(typing.TypedDict, total=False): additionalHints: dict[str, typing.Any] destructiveHint: bool idempotentHint: bool @@ -1108,12 +1083,12 @@ class GoogleCloudApihubV1ToolAnnotations(typing_extensions.TypedDict, total=Fals title: str @typing.type_check_only -class GoogleCloudApihubV1UserPasswordConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1UserPasswordConfig(typing.TypedDict, total=False): password: GoogleCloudApihubV1Secret username: str @typing.type_check_only -class GoogleCloudApihubV1Version(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1Version(typing.TypedDict, total=False): accreditation: GoogleCloudApihubV1AttributeValues apiOperations: _list[str] attributes: dict[str, typing.Any] @@ -1132,7 +1107,7 @@ class GoogleCloudApihubV1Version(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudApihubV1VersionMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudApihubV1VersionMetadata(typing.TypedDict, total=False): deployments: _list[GoogleCloudApihubV1DeploymentMetadata] originalCreateTime: str originalId: str @@ -1141,7 +1116,7 @@ class GoogleCloudApihubV1VersionMetadata(typing_extensions.TypedDict, total=Fals version: GoogleCloudApihubV1Version @typing.type_check_only -class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudCommonOperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -1151,14 +1126,12 @@ class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -1166,18 +1139,16 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -1185,7 +1156,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/apikeys/v2/resources.pyi b/googleapiclient-stubs/_apis/apikeys/v2/resources.pyi index af87464a7..e6ef0a544 100644 --- a/googleapiclient-stubs/_apis/apikeys/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/apikeys/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -38,7 +37,15 @@ class ApiKeysServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( - self, *, name: str, etag: str | None = ..., **kwargs: typing.Any + self, + *, + name: str, + checkExistingUsage: typing.Literal[ + "CHECK_EXISTING_USAGE_UNSPECIFIED", "SKIP", "CHECK" + ] + | None = ..., + etag: str | None = ..., + **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any @@ -65,6 +72,10 @@ class ApiKeysServiceResource(googleapiclient.discovery.Resource): *, name: str, body: V2Key, + checkExistingUsage: typing.Literal[ + "CHECK_EXISTING_USAGE_UNSPECIFIED", "SKIP", "CHECK" + ] + | None = ..., updateMask: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/apikeys/v2/schemas.pyi b/googleapiclient-stubs/_apis/apikeys/v2/schemas.pyi index 76540003b..f2b8a662f 100644 --- a/googleapiclient-stubs/_apis/apikeys/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/apikeys/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -13,39 +11,39 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class V2AndroidApplication(typing_extensions.TypedDict, total=False): +class V2AndroidApplication(typing.TypedDict, total=False): packageName: str sha1Fingerprint: str @typing.type_check_only -class V2AndroidKeyRestrictions(typing_extensions.TypedDict, total=False): +class V2AndroidKeyRestrictions(typing.TypedDict, total=False): allowedApplications: _list[V2AndroidApplication] @typing.type_check_only -class V2ApiTarget(typing_extensions.TypedDict, total=False): +class V2ApiTarget(typing.TypedDict, total=False): methods: _list[str] service: str @typing.type_check_only -class V2BrowserKeyRestrictions(typing_extensions.TypedDict, total=False): +class V2BrowserKeyRestrictions(typing.TypedDict, total=False): allowedReferrers: _list[str] @typing.type_check_only -class V2GetKeyStringResponse(typing_extensions.TypedDict, total=False): +class V2GetKeyStringResponse(typing.TypedDict, total=False): keyString: str @typing.type_check_only -class V2IosKeyRestrictions(typing_extensions.TypedDict, total=False): +class V2IosKeyRestrictions(typing.TypedDict, total=False): allowedBundleIds: _list[str] @typing.type_check_only -class V2Key(typing_extensions.TypedDict, total=False): +class V2Key(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -59,17 +57,17 @@ class V2Key(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class V2ListKeysResponse(typing_extensions.TypedDict, total=False): +class V2ListKeysResponse(typing.TypedDict, total=False): keys: _list[V2Key] nextPageToken: str @typing.type_check_only -class V2LookupKeyResponse(typing_extensions.TypedDict, total=False): +class V2LookupKeyResponse(typing.TypedDict, total=False): name: str parent: str @typing.type_check_only -class V2Restrictions(typing_extensions.TypedDict, total=False): +class V2Restrictions(typing.TypedDict, total=False): androidKeyRestrictions: V2AndroidKeyRestrictions apiTargets: _list[V2ApiTarget] browserKeyRestrictions: V2BrowserKeyRestrictions @@ -77,8 +75,8 @@ class V2Restrictions(typing_extensions.TypedDict, total=False): serverKeyRestrictions: V2ServerKeyRestrictions @typing.type_check_only -class V2ServerKeyRestrictions(typing_extensions.TypedDict, total=False): +class V2ServerKeyRestrictions(typing.TypedDict, total=False): allowedIps: _list[str] @typing.type_check_only -class V2UndeleteKeyRequest(typing_extensions.TypedDict, total=False): ... +class V2UndeleteKeyRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi index 591211127..c8b3ed640 100644 --- a/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/apim/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi index 078ea42a0..db395893e 100644 --- a/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/apim/v1alpha/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApiObservation(typing_extensions.TypedDict, total=False): +class ApiObservation(typing.TypedDict, total=False): apiOperationCount: str createTime: str hostname: str @@ -13,12 +11,12 @@ class ApiObservation(typing_extensions.TypedDict, total=False): name: str serverIps: _list[str] sourceLocations: _list[str] - style: typing_extensions.Literal["STYLE_UNSPECIFIED", "REST", "GRPC", "GRAPHQL"] + style: typing.Literal["STYLE_UNSPECIFIED", "REST", "GRPC", "GRAPHQL"] tags: _list[str] updateTime: str @typing.type_check_only -class ApiOperation(typing_extensions.TypedDict, total=False): +class ApiOperation(typing.TypedDict, total=False): count: str firstSeenTime: str httpOperation: HttpOperation @@ -26,32 +24,32 @@ class ApiOperation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class BatchEditTagsApiObservationsRequest(typing_extensions.TypedDict, total=False): +class BatchEditTagsApiObservationsRequest(typing.TypedDict, total=False): requests: _list[EditTagsApiObservationsRequest] @typing.type_check_only -class BatchEditTagsApiObservationsResponse(typing_extensions.TypedDict, total=False): +class BatchEditTagsApiObservationsResponse(typing.TypedDict, total=False): apiObservations: _list[ApiObservation] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableObservationJobRequest(typing_extensions.TypedDict, total=False): ... +class DisableObservationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EditTagsApiObservationsRequest(typing_extensions.TypedDict, total=False): +class EditTagsApiObservationsRequest(typing.TypedDict, total=False): apiObservationId: str tagActions: _list[TagAction] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableObservationJobRequest(typing_extensions.TypedDict, total=False): ... +class EnableObservationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Entitlement(typing_extensions.TypedDict, total=False): +class Entitlement(typing.TypedDict, total=False): apiObservationEntitled: bool billingProjectNumber: str createTime: str @@ -59,17 +57,17 @@ class Entitlement(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GclbObservationSource(typing_extensions.TypedDict, total=False): +class GclbObservationSource(typing.TypedDict, total=False): pscNetworkConfigs: _list[GclbObservationSourcePscNetworkConfig] @typing.type_check_only -class GclbObservationSourcePscNetworkConfig(typing_extensions.TypedDict, total=False): +class GclbObservationSourcePscNetworkConfig(typing.TypedDict, total=False): network: str subnetwork: str @typing.type_check_only -class HttpOperation(typing_extensions.TypedDict, total=False): - method: typing_extensions.Literal[ +class HttpOperation(typing.TypedDict, total=False): + method: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "GET", "HEAD", @@ -88,77 +86,77 @@ class HttpOperation(typing_extensions.TypedDict, total=False): response: HttpOperationHttpResponse @typing.type_check_only -class HttpOperationHeader(typing_extensions.TypedDict, total=False): +class HttpOperationHeader(typing.TypedDict, total=False): count: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" ] name: str @typing.type_check_only -class HttpOperationHttpRequest(typing_extensions.TypedDict, total=False): +class HttpOperationHttpRequest(typing.TypedDict, total=False): headers: dict[str, typing.Any] @typing.type_check_only -class HttpOperationHttpResponse(typing_extensions.TypedDict, total=False): +class HttpOperationHttpResponse(typing.TypedDict, total=False): headers: dict[str, typing.Any] responseCodes: dict[str, typing.Any] @typing.type_check_only -class HttpOperationPathParam(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class HttpOperationPathParam(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" ] position: int @typing.type_check_only -class HttpOperationQueryParam(typing_extensions.TypedDict, total=False): +class HttpOperationQueryParam(typing.TypedDict, total=False): count: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOL", "INTEGER", "FLOAT", "STRING", "UUID" ] name: str @typing.type_check_only -class ListApiObservationTagsResponse(typing_extensions.TypedDict, total=False): +class ListApiObservationTagsResponse(typing.TypedDict, total=False): apiObservationTags: _list[str] nextPageToken: str @typing.type_check_only -class ListApiObservationsResponse(typing_extensions.TypedDict, total=False): +class ListApiObservationsResponse(typing.TypedDict, total=False): apiObservations: _list[ApiObservation] nextPageToken: str @typing.type_check_only -class ListApiOperationsResponse(typing_extensions.TypedDict, total=False): +class ListApiOperationsResponse(typing.TypedDict, total=False): apiOperations: _list[ApiOperation] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListObservationJobsResponse(typing_extensions.TypedDict, total=False): +class ListObservationJobsResponse(typing.TypedDict, total=False): nextPageToken: str observationJobs: _list[ObservationJob] unreachable: _list[str] @typing.type_check_only -class ListObservationSourcesResponse(typing_extensions.TypedDict, total=False): +class ListObservationSourcesResponse(typing.TypedDict, total=False): nextPageToken: str observationSources: _list[ObservationSource] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -166,11 +164,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ObservationJob(typing_extensions.TypedDict, total=False): +class ObservationJob(typing.TypedDict, total=False): createTime: str name: str sources: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ENABLING", @@ -183,17 +181,17 @@ class ObservationJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ObservationSource(typing_extensions.TypedDict, total=False): +class ObservationSource(typing.TypedDict, total=False): createTime: str gclbObservationSource: GclbObservationSource name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "DELETING", "ERROR" ] updateTime: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -201,7 +199,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -211,12 +209,12 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TagAction(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class TagAction(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] tag: str diff --git a/googleapiclient-stubs/_apis/appengine/v1/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi index b0e4cd4cb..934f65575 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -32,7 +31,7 @@ class AppengineResource(googleapiclient.discovery.Resource): *, appsId: str, authorizedCertificatesId: str, - view: typing_extensions.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> AuthorizedCertificateHttpRequest: ... @@ -42,7 +41,7 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> ListAuthorizedCertificatesResponseHttpRequest: ... @@ -84,7 +83,7 @@ class AppengineResource(googleapiclient.discovery.Resource): *, appsId: str, body: DomainMapping, - overrideStrategy: typing_extensions.Literal[ + overrideStrategy: typing.Literal[ "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" ] | None = ..., @@ -288,7 +287,7 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, servicesId: str, versionsId: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> VersionHttpRequest: ... def list( @@ -298,7 +297,7 @@ class AppengineResource(googleapiclient.discovery.Resource): servicesId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListVersionsResponseHttpRequest: ... def list_next( @@ -356,7 +355,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, appsId: str, - includeExtraData: typing_extensions.Literal[ + includeExtraData: typing.Literal[ "INCLUDE_EXTRA_DATA_UNSPECIFIED", "INCLUDE_EXTRA_DATA_NONE", "INCLUDE_GOOGLE_GENERATED_METADATA", @@ -368,7 +367,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, appsId: str, - environment: typing_extensions.Literal[ + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "STANDARD", "FLEXIBLE" ] | None = ..., @@ -428,9 +427,7 @@ class AppengineResource(googleapiclient.discovery.Resource): locationsId: str, applicationsId: str, authorizedCertificatesId: str, - view: typing_extensions.Literal[ - "BASIC_CERTIFICATE", "FULL_CERTIFICATE" - ] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> AuthorizedCertificateHttpRequest: ... @@ -442,9 +439,7 @@ class AppengineResource(googleapiclient.discovery.Resource): applicationsId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "BASIC_CERTIFICATE", "FULL_CERTIFICATE" - ] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> ListAuthorizedCertificatesResponseHttpRequest: ... @@ -492,7 +487,7 @@ class AppengineResource(googleapiclient.discovery.Resource): locationsId: str, applicationsId: str, body: DomainMapping, - overrideStrategy: typing_extensions.Literal[ + overrideStrategy: typing.Literal[ "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi index 05e5c132f..2c622766e 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApiConfigHandler(typing_extensions.TypedDict, total=False): - authFailAction: typing_extensions.Literal[ +class ApiConfigHandler(typing.TypedDict, total=False): + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] script: str - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -25,14 +23,14 @@ class ApiConfigHandler(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ApiEndpointHandler(typing_extensions.TypedDict, total=False): +class ApiEndpointHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): authDomain: str codeBucket: str - databaseType: typing_extensions.Literal[ + databaseType: typing.Literal[ "DATABASE_TYPE_UNSPECIFIED", "CLOUD_DATASTORE", "CLOUD_FIRESTORE", @@ -50,13 +48,13 @@ class Application(typing_extensions.TypedDict, total=False): locationId: str name: str serviceAccount: str - servingStatus: typing_extensions.Literal[ + servingStatus: typing.Literal[ "UNSPECIFIED", "SERVING", "USER_DISABLED", "SYSTEM_DISABLED" ] - sslPolicy: typing_extensions.Literal["SSL_POLICY_UNSPECIFIED", "DEFAULT", "MODERN"] + sslPolicy: typing.Literal["SSL_POLICY_UNSPECIFIED", "DEFAULT", "MODERN"] @typing.type_check_only -class AuthorizedCertificate(typing_extensions.TypedDict, total=False): +class AuthorizedCertificate(typing.TypedDict, total=False): certificateRawData: CertificateRawData displayName: str domainMappingsCount: int @@ -68,12 +66,12 @@ class AuthorizedCertificate(typing_extensions.TypedDict, total=False): visibleDomainMappings: _list[str] @typing.type_check_only -class AuthorizedDomain(typing_extensions.TypedDict, total=False): +class AuthorizedDomain(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AutomaticScaling(typing_extensions.TypedDict, total=False): +class AutomaticScaling(typing.TypedDict, total=False): coolDownPeriod: str cpuUtilization: CpuUtilization diskUtilization: DiskUtilization @@ -89,105 +87,103 @@ class AutomaticScaling(typing_extensions.TypedDict, total=False): standardSchedulerSettings: StandardSchedulerSettings @typing.type_check_only -class BasicScaling(typing_extensions.TypedDict, total=False): +class BasicScaling(typing.TypedDict, total=False): idleTimeout: str maxInstances: int @typing.type_check_only -class BatchUpdateIngressRulesRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateIngressRulesRequest(typing.TypedDict, total=False): ingressRules: _list[FirewallRule] @typing.type_check_only -class BatchUpdateIngressRulesResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateIngressRulesResponse(typing.TypedDict, total=False): ingressRules: _list[FirewallRule] @typing.type_check_only -class CertificateRawData(typing_extensions.TypedDict, total=False): +class CertificateRawData(typing.TypedDict, total=False): privateKey: str publicCertificate: str @typing.type_check_only -class CloudBuildOptions(typing_extensions.TypedDict, total=False): +class CloudBuildOptions(typing.TypedDict, total=False): appYamlPath: str cloudBuildTimeout: str @typing.type_check_only -class ContainerInfo(typing_extensions.TypedDict, total=False): +class ContainerInfo(typing.TypedDict, total=False): image: str @typing.type_check_only -class ContainerState(typing_extensions.TypedDict, total=False): +class ContainerState(typing.TypedDict, total=False): currentReasons: Reasons previousReasons: Reasons - state: typing_extensions.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] + state: typing.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] @typing.type_check_only -class CpuUtilization(typing_extensions.TypedDict, total=False): +class CpuUtilization(typing.TypedDict, total=False): aggregationWindowLength: str targetUtilization: float @typing.type_check_only -class CreateVersionMetadataV1(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Alpha(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Beta(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Beta(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DebugInstanceRequest(typing_extensions.TypedDict, total=False): +class DebugInstanceRequest(typing.TypedDict, total=False): sshKey: str @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): cloudBuildOptions: CloudBuildOptions container: ContainerInfo files: dict[str, typing.Any] zip: ZipInfo @typing.type_check_only -class DiskUtilization(typing_extensions.TypedDict, total=False): +class DiskUtilization(typing.TypedDict, total=False): targetReadBytesPerSecond: int targetReadOpsPerSecond: int targetWriteBytesPerSecond: int targetWriteOpsPerSecond: int @typing.type_check_only -class DomainMapping(typing_extensions.TypedDict, total=False): +class DomainMapping(typing.TypedDict, total=False): id: str name: str resourceRecords: _list[ResourceRecord] sslSettings: SslSettings @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndpointsApiService(typing_extensions.TypedDict, total=False): +class EndpointsApiService(typing.TypedDict, total=False): configId: str disableTraceSampling: bool name: str - rolloutStrategy: typing_extensions.Literal[ - "UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED" - ] + rolloutStrategy: typing.Literal["UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED"] @typing.type_check_only -class Entrypoint(typing_extensions.TypedDict, total=False): +class Entrypoint(typing.TypedDict, total=False): shell: str @typing.type_check_only -class ErrorHandler(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class ErrorHandler(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "ERROR_CODE_DEFAULT", "ERROR_CODE_OVER_QUOTA", @@ -198,45 +194,45 @@ class ErrorHandler(typing_extensions.TypedDict, total=False): staticFile: str @typing.type_check_only -class ExportAppImageRequest(typing_extensions.TypedDict, total=False): +class ExportAppImageRequest(typing.TypedDict, total=False): destinationRepository: str @typing.type_check_only -class FeatureSettings(typing_extensions.TypedDict, total=False): +class FeatureSettings(typing.TypedDict, total=False): splitHealthChecks: bool useContainerOptimizedOs: bool @typing.type_check_only -class FileInfo(typing_extensions.TypedDict, total=False): +class FileInfo(typing.TypedDict, total=False): mimeType: str sha1Sum: str sourceUrl: str @typing.type_check_only -class FirewallRule(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["UNSPECIFIED_ACTION", "ALLOW", "DENY"] +class FirewallRule(typing.TypedDict, total=False): + action: typing.Literal["UNSPECIFIED_ACTION", "ALLOW", "DENY"] description: str priority: int sourceRange: str @typing.type_check_only -class FlexibleRuntimeSettings(typing_extensions.TypedDict, total=False): +class FlexibleRuntimeSettings(typing.TypedDict, total=False): operatingSystem: str runtimeVersion: str @typing.type_check_only -class GceTag(typing_extensions.TypedDict, total=False): +class GceTag(typing.TypedDict, total=False): parent: _list[str] tag: str @typing.type_check_only -class GoogleAppengineV1betaLocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleAppengineV1betaLocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool searchApiAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): checkInterval: str disableHealthCheck: bool healthyThreshold: int @@ -246,16 +242,16 @@ class HealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class IdentityAwareProxy(typing_extensions.TypedDict, total=False): +class IdentityAwareProxy(typing.TypedDict, total=False): enabled: bool oauth2ClientId: str oauth2ClientSecret: str oauth2ClientSecretSha256: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): appEngineRelease: str - availability: typing_extensions.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] + availability: typing.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] averageLatency: int errors: int id: str @@ -267,7 +263,7 @@ class Instance(typing_extensions.TypedDict, total=False): vmDebugEnabled: bool vmId: str vmIp: str - vmLiveness: typing_extensions.Literal[ + vmLiveness: typing.Literal[ "LIVENESS_STATE_UNSPECIFIED", "UNKNOWN", "HEALTHY", @@ -280,63 +276,63 @@ class Instance(typing_extensions.TypedDict, total=False): vmZoneName: str @typing.type_check_only -class Library(typing_extensions.TypedDict, total=False): +class Library(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ListAuthorizedCertificatesResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedCertificatesResponse(typing.TypedDict, total=False): certificates: _list[AuthorizedCertificate] nextPageToken: str @typing.type_check_only -class ListAuthorizedDomainsResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedDomainsResponse(typing.TypedDict, total=False): domains: _list[AuthorizedDomain] nextPageToken: str @typing.type_check_only -class ListDomainMappingsResponse(typing_extensions.TypedDict, total=False): +class ListDomainMappingsResponse(typing.TypedDict, total=False): domainMappings: _list[DomainMapping] nextPageToken: str @typing.type_check_only -class ListIngressRulesResponse(typing_extensions.TypedDict, total=False): +class ListIngressRulesResponse(typing.TypedDict, total=False): ingressRules: _list[FirewallRule] nextPageToken: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRuntimesResponse(typing_extensions.TypedDict, total=False): +class ListRuntimesResponse(typing.TypedDict, total=False): nextPageToken: str runtimes: _list[Runtime] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class LivenessCheck(typing_extensions.TypedDict, total=False): +class LivenessCheck(typing.TypedDict, total=False): checkInterval: str failureThreshold: int host: str @@ -346,7 +342,7 @@ class LivenessCheck(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -354,15 +350,15 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool searchApiAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class ManagedCertificate(typing_extensions.TypedDict, total=False): +class ManagedCertificate(typing.TypedDict, total=False): lastRenewalTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "MANAGEMENT_STATUS_UNSPECIFIED", "OK", "PENDING", @@ -373,13 +369,13 @@ class ManagedCertificate(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ManualScaling(typing_extensions.TypedDict, total=False): +class ManualScaling(typing.TypedDict, total=False): instances: int @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): forwardedPorts: _list[str] - instanceIpMode: typing_extensions.Literal[ + instanceIpMode: typing.Literal[ "INSTANCE_IP_MODE_UNSPECIFIED", "EXTERNAL", "INTERNAL" ] instanceTag: str @@ -388,8 +384,8 @@ class Network(typing_extensions.TypedDict, total=False): subnetworkName: str @typing.type_check_only -class NetworkSettings(typing_extensions.TypedDict, total=False): - ingressTrafficAllowed: typing_extensions.Literal[ +class NetworkSettings(typing.TypedDict, total=False): + ingressTrafficAllowed: typing.Literal[ "INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED", "INGRESS_TRAFFIC_ALLOWED_ALL", "INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY", @@ -397,14 +393,14 @@ class NetworkSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NetworkUtilization(typing_extensions.TypedDict, total=False): +class NetworkUtilization(typing.TypedDict, total=False): targetReceivedBytesPerSecond: int targetReceivedPacketsPerSecond: int targetSentBytesPerSecond: int targetSentPacketsPerSecond: int @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -412,7 +408,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1 endTime: str ephemeralMessage: str @@ -423,7 +419,7 @@ class OperationMetadataV1(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Alpha(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Alpha endTime: str ephemeralMessage: str @@ -434,7 +430,7 @@ class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Beta endTime: str ephemeralMessage: str @@ -445,9 +441,9 @@ class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class ProjectEvent(typing_extensions.TypedDict, total=False): +class ProjectEvent(typing.TypedDict, total=False): eventId: str - phase: typing_extensions.Literal[ + phase: typing.Literal[ "CONTAINER_EVENT_PHASE_UNSPECIFIED", "BEFORE_RESOURCE_HANDLING", "AFTER_RESOURCE_HANDLING", @@ -456,12 +452,10 @@ class ProjectEvent(typing_extensions.TypedDict, total=False): state: ContainerState @typing.type_check_only -class ProjectsMetadata(typing_extensions.TypedDict, total=False): +class ProjectsMetadata(typing.TypedDict, total=False): consumerProjectId: str consumerProjectNumber: str - consumerProjectState: typing_extensions.Literal[ - "UNKNOWN_STATE", "ON", "OFF", "DELETED" - ] + consumerProjectState: typing.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] gceTag: _list[GceTag] isGceProjectDeprovisioning: bool p4ServiceAccount: str @@ -471,7 +465,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): tenantProjectNumber: str @typing.type_check_only -class ReadinessCheck(typing_extensions.TypedDict, total=False): +class ReadinessCheck(typing.TypedDict, total=False): appStartTimeout: str checkInterval: str failureThreshold: int @@ -481,32 +475,32 @@ class ReadinessCheck(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class Reasons(typing_extensions.TypedDict, total=False): - abuse: typing_extensions.Literal[ +class Reasons(typing.TypedDict, total=False): + abuse: typing.Literal[ "ABUSE_UNKNOWN_REASON", "ABUSE_CONTROL_PLANE_SYNC", "SUSPEND", "REINSTATE" ] - billing: typing_extensions.Literal[ + billing: typing.Literal[ "BILLING_UNKNOWN_REASON", "BILLING_CONTROL_PLANE_SYNC", "PROBATION", "CLOSE", "OPEN", ] - dataGovernance: typing_extensions.Literal[ + dataGovernance: typing.Literal[ "DATA_GOVERNANCE_UNKNOWN_REASON", "DATA_GOVERNANCE_CONTROL_PLANE_SYNC", "HIDE", "UNHIDE", "PURGE", ] - serviceActivation: typing_extensions.Literal[ + serviceActivation: typing.Literal[ "SERVICE_ACTIVATION_STATUS_UNSPECIFIED", "SERVICE_ACTIVATION_ENABLED", "SERVICE_ACTIVATION_DISABLED", "SERVICE_ACTIVATION_DISABLED_FULL", "SERVICE_ACTIVATION_UNKNOWN_REASON", ] - serviceManagement: typing_extensions.Literal[ + serviceManagement: typing.Literal[ "SERVICE_MANAGEMENT_UNKNOWN_REASON", "SERVICE_MANAGEMENT_CONTROL_PLANE_SYNC", "ACTIVATION", @@ -516,27 +510,27 @@ class Reasons(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RepairApplicationRequest(typing_extensions.TypedDict, total=False): ... +class RepairApplicationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RequestUtilization(typing_extensions.TypedDict, total=False): +class RequestUtilization(typing.TypedDict, total=False): targetConcurrentRequests: int targetRequestCountPerSecond: int @typing.type_check_only -class ResourceEvent(typing_extensions.TypedDict, total=False): +class ResourceEvent(typing.TypedDict, total=False): eventId: str name: str state: ContainerState @typing.type_check_only -class ResourceRecord(typing_extensions.TypedDict, total=False): +class ResourceRecord(typing.TypedDict, total=False): name: str rrdata: str - type: typing_extensions.Literal["RECORD_TYPE_UNSPECIFIED", "A", "AAAA", "CNAME"] + type: typing.Literal["RECORD_TYPE_UNSPECIFIED", "A", "AAAA", "CNAME"] @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): cpu: float diskGb: float kmsKeyReference: str @@ -544,16 +538,14 @@ class Resources(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class Runtime(typing_extensions.TypedDict, total=False): +class Runtime(typing.TypedDict, total=False): decommissionedDate: Date deprecationDate: Date displayName: str endOfSupportDate: Date - environment: typing_extensions.Literal[ - "ENVIRONMENT_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "STANDARD", "FLEXIBLE"] name: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "RUNTIME_STAGE_UNSPECIFIED", "DEVELOPMENT", "ALPHA", @@ -567,11 +559,11 @@ class Runtime(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class ScriptHandler(typing_extensions.TypedDict, total=False): +class ScriptHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): generatedCustomerMetadata: dict[str, typing.Any] id: str labels: dict[str, typing.Any] @@ -580,22 +572,22 @@ class Service(typing_extensions.TypedDict, total=False): split: TrafficSplit @typing.type_check_only -class SslSettings(typing_extensions.TypedDict, total=False): +class SslSettings(typing.TypedDict, total=False): certificateId: str pendingManagedCertificateId: str - sslManagementType: typing_extensions.Literal[ + sslManagementType: typing.Literal[ "SSL_MANAGEMENT_TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] @typing.type_check_only -class StandardSchedulerSettings(typing_extensions.TypedDict, total=False): +class StandardSchedulerSettings(typing.TypedDict, total=False): maxInstances: int minInstances: int targetCpuUtilization: float targetThroughputUtilization: float @typing.type_check_only -class StaticFilesHandler(typing_extensions.TypedDict, total=False): +class StaticFilesHandler(typing.TypedDict, total=False): applicationReadable: bool expiration: str httpHeaders: dict[str, typing.Any] @@ -605,34 +597,34 @@ class StaticFilesHandler(typing_extensions.TypedDict, total=False): uploadPathRegex: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TrafficSplit(typing_extensions.TypedDict, total=False): +class TrafficSplit(typing.TypedDict, total=False): allocations: dict[str, typing.Any] - shardBy: typing_extensions.Literal["UNSPECIFIED", "COOKIE", "IP", "RANDOM"] + shardBy: typing.Literal["UNSPECIFIED", "COOKIE", "IP", "RANDOM"] @typing.type_check_only -class UrlDispatchRule(typing_extensions.TypedDict, total=False): +class UrlDispatchRule(typing.TypedDict, total=False): domain: str path: str service: str @typing.type_check_only -class UrlMap(typing_extensions.TypedDict, total=False): +class UrlMap(typing.TypedDict, total=False): apiEndpoint: ApiEndpointHandler - authFailAction: typing_extensions.Literal[ + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] - redirectHttpResponseCode: typing_extensions.Literal[ + redirectHttpResponseCode: typing.Literal[ "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", "REDIRECT_HTTP_RESPONSE_CODE_301", "REDIRECT_HTTP_RESPONSE_CODE_302", @@ -640,7 +632,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): "REDIRECT_HTTP_RESPONSE_CODE_307", ] script: ScriptHandler - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -651,9 +643,29 @@ class UrlMap(typing_extensions.TypedDict, total=False): urlRegex: str @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): apiConfig: ApiConfigHandler appEngineApis: bool + appEngineBundledServices: _list[ + typing.Literal[ + "BUNDLED_SERVICE_TYPE_UNSPECIFIED", + "BUNDLED_SERVICE_TYPE_APP_IDENTITY_SERVICE", + "BUNDLED_SERVICE_TYPE_BLOBSTORE", + "BUNDLED_SERVICE_TYPE_CAPABILITY_SERVICE", + "BUNDLED_SERVICE_TYPE_DATASTORE_V3", + "BUNDLED_SERVICE_TYPE_DEFERRED", + "BUNDLED_SERVICE_TYPE_IMAGES", + "BUNDLED_SERVICE_TYPE_MAIL", + "BUNDLED_SERVICE_TYPE_MEMCACHE", + "BUNDLED_SERVICE_TYPE_MODULES", + "BUNDLED_SERVICE_TYPE_NAMESPACES", + "BUNDLED_SERVICE_TYPE_NDB", + "BUNDLED_SERVICE_TYPE_SEARCH", + "BUNDLED_SERVICE_TYPE_TASKQUEUES", + "BUNDLED_SERVICE_TYPE_URLFETCH", + "BUNDLED_SERVICE_TYPE_USERS", + ] + ] automaticScaling: AutomaticScaling basicScaling: BasicScaling betaSettings: dict[str, typing.Any] @@ -674,7 +686,7 @@ class Version(typing_extensions.TypedDict, total=False): healthCheck: HealthCheck id: str inboundServices: _list[ - typing_extensions.Literal[ + typing.Literal[ "INBOUND_SERVICE_UNSPECIFIED", "INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", @@ -700,9 +712,7 @@ class Version(typing_extensions.TypedDict, total=False): runtimeChannel: str runtimeMainExecutablePath: str serviceAccount: str - servingStatus: typing_extensions.Literal[ - "SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED" - ] + servingStatus: typing.Literal["SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED"] threadsafe: bool versionUrl: str vm: bool @@ -710,19 +720,19 @@ class Version(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str sizeGb: float volumeType: str @typing.type_check_only -class VpcAccessConnector(typing_extensions.TypedDict, total=False): - egressSetting: typing_extensions.Literal[ +class VpcAccessConnector(typing.TypedDict, total=False): + egressSetting: typing.Literal[ "EGRESS_SETTING_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES" ] name: str @typing.type_check_only -class ZipInfo(typing_extensions.TypedDict, total=False): +class ZipInfo(typing.TypedDict, total=False): filesCount: int sourceUrl: str diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi index ede8cd58f..02b6f727b 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -32,7 +31,7 @@ class AppengineResource(googleapiclient.discovery.Resource): *, appsId: str, authorizedCertificatesId: str, - view: typing_extensions.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> AuthorizedCertificateHttpRequest: ... @@ -42,7 +41,7 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> ListAuthorizedCertificatesResponseHttpRequest: ... @@ -85,7 +84,7 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, body: DomainMapping, noManagedCertificate: bool | None = ..., - overrideStrategy: typing_extensions.Literal[ + overrideStrategy: typing.Literal[ "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" ] | None = ..., @@ -204,9 +203,7 @@ class AppengineResource(googleapiclient.discovery.Resource): locationsId: str, applicationsId: str, authorizedCertificatesId: str, - view: typing_extensions.Literal[ - "BASIC_CERTIFICATE", "FULL_CERTIFICATE" - ] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> AuthorizedCertificateHttpRequest: ... @@ -218,9 +215,7 @@ class AppengineResource(googleapiclient.discovery.Resource): applicationsId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "BASIC_CERTIFICATE", "FULL_CERTIFICATE" - ] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> ListAuthorizedCertificatesResponseHttpRequest: ... @@ -269,7 +264,7 @@ class AppengineResource(googleapiclient.discovery.Resource): applicationsId: str, body: DomainMapping, noManagedCertificate: bool | None = ..., - overrideStrategy: typing_extensions.Literal[ + overrideStrategy: typing.Literal[ "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi index 87b8da22c..9d8872752 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuthorizedCertificate(typing_extensions.TypedDict, total=False): +class AuthorizedCertificate(typing.TypedDict, total=False): certificateRawData: CertificateRawData displayName: str domainMappingsCount: int @@ -17,82 +15,82 @@ class AuthorizedCertificate(typing_extensions.TypedDict, total=False): visibleDomainMappings: _list[str] @typing.type_check_only -class AuthorizedDomain(typing_extensions.TypedDict, total=False): +class AuthorizedDomain(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class CertificateRawData(typing_extensions.TypedDict, total=False): +class CertificateRawData(typing.TypedDict, total=False): privateKey: str publicCertificate: str @typing.type_check_only -class ContainerState(typing_extensions.TypedDict, total=False): +class ContainerState(typing.TypedDict, total=False): currentReasons: Reasons previousReasons: Reasons - state: typing_extensions.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] + state: typing.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] @typing.type_check_only -class CreateVersionMetadataV1(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Alpha(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Beta(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Beta(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class DomainMapping(typing_extensions.TypedDict, total=False): +class DomainMapping(typing.TypedDict, total=False): id: str name: str resourceRecords: _list[ResourceRecord] sslSettings: SslSettings @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GceTag(typing_extensions.TypedDict, total=False): +class GceTag(typing.TypedDict, total=False): parent: _list[str] tag: str @typing.type_check_only -class GoogleAppengineV1betaLocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleAppengineV1betaLocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool searchApiAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class ListAuthorizedCertificatesResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedCertificatesResponse(typing.TypedDict, total=False): certificates: _list[AuthorizedCertificate] nextPageToken: str @typing.type_check_only -class ListAuthorizedDomainsResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedDomainsResponse(typing.TypedDict, total=False): domains: _list[AuthorizedDomain] nextPageToken: str @typing.type_check_only -class ListDomainMappingsResponse(typing_extensions.TypedDict, total=False): +class ListDomainMappingsResponse(typing.TypedDict, total=False): domainMappings: _list[DomainMapping] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -100,15 +98,15 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool searchApiAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class ManagedCertificate(typing_extensions.TypedDict, total=False): +class ManagedCertificate(typing.TypedDict, total=False): lastRenewalTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED_STATUS", "OK", "PENDING", @@ -120,7 +118,7 @@ class ManagedCertificate(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -128,7 +126,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1 endTime: str ephemeralMessage: str @@ -139,7 +137,7 @@ class OperationMetadataV1(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Alpha(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Alpha endTime: str ephemeralMessage: str @@ -150,7 +148,7 @@ class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Beta endTime: str ephemeralMessage: str @@ -161,9 +159,9 @@ class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class ProjectEvent(typing_extensions.TypedDict, total=False): +class ProjectEvent(typing.TypedDict, total=False): eventId: str - phase: typing_extensions.Literal[ + phase: typing.Literal[ "CONTAINER_EVENT_PHASE_UNSPECIFIED", "BEFORE_RESOURCE_HANDLING", "AFTER_RESOURCE_HANDLING", @@ -172,12 +170,10 @@ class ProjectEvent(typing_extensions.TypedDict, total=False): state: ContainerState @typing.type_check_only -class ProjectsMetadata(typing_extensions.TypedDict, total=False): +class ProjectsMetadata(typing.TypedDict, total=False): consumerProjectId: str consumerProjectNumber: str - consumerProjectState: typing_extensions.Literal[ - "UNKNOWN_STATE", "ON", "OFF", "DELETED" - ] + consumerProjectState: typing.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] gceTag: _list[GceTag] isGceProjectDeprovisioning: bool p4ServiceAccount: str @@ -187,32 +183,32 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): tenantProjectNumber: str @typing.type_check_only -class Reasons(typing_extensions.TypedDict, total=False): - abuse: typing_extensions.Literal[ +class Reasons(typing.TypedDict, total=False): + abuse: typing.Literal[ "ABUSE_UNKNOWN_REASON", "ABUSE_CONTROL_PLANE_SYNC", "SUSPEND", "REINSTATE" ] - billing: typing_extensions.Literal[ + billing: typing.Literal[ "BILLING_UNKNOWN_REASON", "BILLING_CONTROL_PLANE_SYNC", "PROBATION", "CLOSE", "OPEN", ] - dataGovernance: typing_extensions.Literal[ + dataGovernance: typing.Literal[ "DATA_GOVERNANCE_UNKNOWN_REASON", "DATA_GOVERNANCE_CONTROL_PLANE_SYNC", "HIDE", "UNHIDE", "PURGE", ] - serviceActivation: typing_extensions.Literal[ + serviceActivation: typing.Literal[ "SERVICE_ACTIVATION_STATUS_UNSPECIFIED", "SERVICE_ACTIVATION_ENABLED", "SERVICE_ACTIVATION_DISABLED", "SERVICE_ACTIVATION_DISABLED_FULL", "SERVICE_ACTIVATION_UNKNOWN_REASON", ] - serviceManagement: typing_extensions.Literal[ + serviceManagement: typing.Literal[ "SERVICE_MANAGEMENT_UNKNOWN_REASON", "SERVICE_MANAGEMENT_CONTROL_PLANE_SYNC", "ACTIVATION", @@ -222,24 +218,24 @@ class Reasons(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ResourceEvent(typing_extensions.TypedDict, total=False): +class ResourceEvent(typing.TypedDict, total=False): eventId: str name: str state: ContainerState @typing.type_check_only -class ResourceRecord(typing_extensions.TypedDict, total=False): +class ResourceRecord(typing.TypedDict, total=False): name: str rrdata: str - type: typing_extensions.Literal["A", "AAAA", "CNAME"] + type: typing.Literal["A", "AAAA", "CNAME"] @typing.type_check_only -class SslSettings(typing_extensions.TypedDict, total=False): +class SslSettings(typing.TypedDict, total=False): certificateId: str isManagedCertificate: bool @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi index f36d8b55d..48ef4cdf9 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -32,7 +31,7 @@ class AppengineResource(googleapiclient.discovery.Resource): *, appsId: str, authorizedCertificatesId: str, - view: typing_extensions.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> AuthorizedCertificateHttpRequest: ... @@ -42,7 +41,7 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> ListAuthorizedCertificatesResponseHttpRequest: ... @@ -84,7 +83,7 @@ class AppengineResource(googleapiclient.discovery.Resource): *, appsId: str, body: DomainMapping, - overrideStrategy: typing_extensions.Literal[ + overrideStrategy: typing.Literal[ "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" ] | None = ..., @@ -288,13 +287,13 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, servicesId: str, versionsId: str, - includeExtraData: typing_extensions.Literal[ + includeExtraData: typing.Literal[ "INCLUDE_EXTRA_DATA_UNSPECIFIED", "INCLUDE_EXTRA_DATA_NONE", "INCLUDE_GOOGLE_GENERATED_METADATA", ] | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> VersionHttpRequest: ... def list( @@ -304,7 +303,7 @@ class AppengineResource(googleapiclient.discovery.Resource): servicesId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListVersionsResponseHttpRequest: ... def list_next( @@ -332,7 +331,7 @@ class AppengineResource(googleapiclient.discovery.Resource): *, appsId: str, servicesId: str, - includeExtraData: typing_extensions.Literal[ + includeExtraData: typing.Literal[ "INCLUDE_EXTRA_DATA_UNSPECIFIED", "INCLUDE_EXTRA_DATA_NONE", "INCLUDE_GOOGLE_GENERATED_METADATA", @@ -372,7 +371,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, appsId: str, - includeExtraData: typing_extensions.Literal[ + includeExtraData: typing.Literal[ "INCLUDE_EXTRA_DATA_UNSPECIFIED", "INCLUDE_EXTRA_DATA_NONE", "INCLUDE_GOOGLE_GENERATED_METADATA", @@ -384,7 +383,7 @@ class AppengineResource(googleapiclient.discovery.Resource): self, *, appsId: str, - environment: typing_extensions.Literal[ + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "STANDARD", "FLEXIBLE" ] | None = ..., @@ -444,9 +443,7 @@ class AppengineResource(googleapiclient.discovery.Resource): locationsId: str, applicationsId: str, authorizedCertificatesId: str, - view: typing_extensions.Literal[ - "BASIC_CERTIFICATE", "FULL_CERTIFICATE" - ] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> AuthorizedCertificateHttpRequest: ... @@ -458,9 +455,7 @@ class AppengineResource(googleapiclient.discovery.Resource): applicationsId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "BASIC_CERTIFICATE", "FULL_CERTIFICATE" - ] + view: typing.Literal["BASIC_CERTIFICATE", "FULL_CERTIFICATE"] | None = ..., **kwargs: typing.Any, ) -> ListAuthorizedCertificatesResponseHttpRequest: ... @@ -508,7 +503,7 @@ class AppengineResource(googleapiclient.discovery.Resource): locationsId: str, applicationsId: str, body: DomainMapping, - overrideStrategy: typing_extensions.Literal[ + overrideStrategy: typing.Literal[ "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", "STRICT", "OVERRIDE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi index f3dddcf50..291e438f2 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApiConfigHandler(typing_extensions.TypedDict, total=False): - authFailAction: typing_extensions.Literal[ +class ApiConfigHandler(typing.TypedDict, total=False): + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] script: str - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -25,14 +23,14 @@ class ApiConfigHandler(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ApiEndpointHandler(typing_extensions.TypedDict, total=False): +class ApiEndpointHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): authDomain: str codeBucket: str - databaseType: typing_extensions.Literal[ + databaseType: typing.Literal[ "DATABASE_TYPE_UNSPECIFIED", "CLOUD_DATASTORE", "CLOUD_FIRESTORE", @@ -50,13 +48,13 @@ class Application(typing_extensions.TypedDict, total=False): locationId: str name: str serviceAccount: str - servingStatus: typing_extensions.Literal[ + servingStatus: typing.Literal[ "UNSPECIFIED", "SERVING", "USER_DISABLED", "SYSTEM_DISABLED" ] - sslPolicy: typing_extensions.Literal["SSL_POLICY_UNSPECIFIED", "DEFAULT", "MODERN"] + sslPolicy: typing.Literal["SSL_POLICY_UNSPECIFIED", "DEFAULT", "MODERN"] @typing.type_check_only -class AuthorizedCertificate(typing_extensions.TypedDict, total=False): +class AuthorizedCertificate(typing.TypedDict, total=False): certificateRawData: CertificateRawData displayName: str domainMappingsCount: int @@ -68,12 +66,12 @@ class AuthorizedCertificate(typing_extensions.TypedDict, total=False): visibleDomainMappings: _list[str] @typing.type_check_only -class AuthorizedDomain(typing_extensions.TypedDict, total=False): +class AuthorizedDomain(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AutomaticScaling(typing_extensions.TypedDict, total=False): +class AutomaticScaling(typing.TypedDict, total=False): coolDownPeriod: str cpuUtilization: CpuUtilization customMetrics: _list[CustomMetric] @@ -90,61 +88,61 @@ class AutomaticScaling(typing_extensions.TypedDict, total=False): standardSchedulerSettings: StandardSchedulerSettings @typing.type_check_only -class BasicScaling(typing_extensions.TypedDict, total=False): +class BasicScaling(typing.TypedDict, total=False): idleTimeout: str maxInstances: int @typing.type_check_only -class BatchUpdateIngressRulesRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateIngressRulesRequest(typing.TypedDict, total=False): ingressRules: _list[FirewallRule] @typing.type_check_only -class BatchUpdateIngressRulesResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateIngressRulesResponse(typing.TypedDict, total=False): ingressRules: _list[FirewallRule] @typing.type_check_only -class BuildInfo(typing_extensions.TypedDict, total=False): +class BuildInfo(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CertificateRawData(typing_extensions.TypedDict, total=False): +class CertificateRawData(typing.TypedDict, total=False): privateKey: str publicCertificate: str @typing.type_check_only -class CloudBuildOptions(typing_extensions.TypedDict, total=False): +class CloudBuildOptions(typing.TypedDict, total=False): appYamlPath: str cloudBuildTimeout: str @typing.type_check_only -class ContainerInfo(typing_extensions.TypedDict, total=False): +class ContainerInfo(typing.TypedDict, total=False): image: str @typing.type_check_only -class ContainerState(typing_extensions.TypedDict, total=False): +class ContainerState(typing.TypedDict, total=False): currentReasons: Reasons previousReasons: Reasons - state: typing_extensions.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] + state: typing.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] @typing.type_check_only -class CpuUtilization(typing_extensions.TypedDict, total=False): +class CpuUtilization(typing.TypedDict, total=False): aggregationWindowLength: str targetUtilization: float @typing.type_check_only -class CreateVersionMetadataV1(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Alpha(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Beta(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Beta(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CustomMetric(typing_extensions.TypedDict, total=False): +class CustomMetric(typing.TypedDict, total=False): filter: str metricName: str singleInstanceAssignment: float @@ -152,17 +150,17 @@ class CustomMetric(typing_extensions.TypedDict, total=False): targetUtilization: float @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DebugInstanceRequest(typing_extensions.TypedDict, total=False): +class DebugInstanceRequest(typing.TypedDict, total=False): sshKey: str @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): build: BuildInfo cloudBuildOptions: CloudBuildOptions container: ContainerInfo @@ -170,38 +168,36 @@ class Deployment(typing_extensions.TypedDict, total=False): zip: ZipInfo @typing.type_check_only -class DiskUtilization(typing_extensions.TypedDict, total=False): +class DiskUtilization(typing.TypedDict, total=False): targetReadBytesPerSecond: int targetReadOpsPerSecond: int targetWriteBytesPerSecond: int targetWriteOpsPerSecond: int @typing.type_check_only -class DomainMapping(typing_extensions.TypedDict, total=False): +class DomainMapping(typing.TypedDict, total=False): id: str name: str resourceRecords: _list[ResourceRecord] sslSettings: SslSettings @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndpointsApiService(typing_extensions.TypedDict, total=False): +class EndpointsApiService(typing.TypedDict, total=False): configId: str disableTraceSampling: bool name: str - rolloutStrategy: typing_extensions.Literal[ - "UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED" - ] + rolloutStrategy: typing.Literal["UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED"] @typing.type_check_only -class Entrypoint(typing_extensions.TypedDict, total=False): +class Entrypoint(typing.TypedDict, total=False): shell: str @typing.type_check_only -class ErrorHandler(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class ErrorHandler(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "ERROR_CODE_DEFAULT", "ERROR_CODE_OVER_QUOTA", @@ -212,45 +208,45 @@ class ErrorHandler(typing_extensions.TypedDict, total=False): staticFile: str @typing.type_check_only -class ExportAppImageRequest(typing_extensions.TypedDict, total=False): +class ExportAppImageRequest(typing.TypedDict, total=False): destinationRepository: str @typing.type_check_only -class FeatureSettings(typing_extensions.TypedDict, total=False): +class FeatureSettings(typing.TypedDict, total=False): splitHealthChecks: bool useContainerOptimizedOs: bool @typing.type_check_only -class FileInfo(typing_extensions.TypedDict, total=False): +class FileInfo(typing.TypedDict, total=False): mimeType: str sha1Sum: str sourceUrl: str @typing.type_check_only -class FirewallRule(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["UNSPECIFIED_ACTION", "ALLOW", "DENY"] +class FirewallRule(typing.TypedDict, total=False): + action: typing.Literal["UNSPECIFIED_ACTION", "ALLOW", "DENY"] description: str priority: int sourceRange: str @typing.type_check_only -class FlexibleRuntimeSettings(typing_extensions.TypedDict, total=False): +class FlexibleRuntimeSettings(typing.TypedDict, total=False): operatingSystem: str runtimeVersion: str @typing.type_check_only -class GceTag(typing_extensions.TypedDict, total=False): +class GceTag(typing.TypedDict, total=False): parent: _list[str] tag: str @typing.type_check_only -class GoogleAppengineV1betaLocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleAppengineV1betaLocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool searchApiAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): checkInterval: str disableHealthCheck: bool healthyThreshold: int @@ -260,16 +256,16 @@ class HealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class IdentityAwareProxy(typing_extensions.TypedDict, total=False): +class IdentityAwareProxy(typing.TypedDict, total=False): enabled: bool oauth2ClientId: str oauth2ClientSecret: str oauth2ClientSecretSha256: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): appEngineRelease: str - availability: typing_extensions.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] + availability: typing.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] averageLatency: int errors: int id: str @@ -281,7 +277,7 @@ class Instance(typing_extensions.TypedDict, total=False): vmDebugEnabled: bool vmId: str vmIp: str - vmLiveness: typing_extensions.Literal[ + vmLiveness: typing.Literal[ "LIVENESS_STATE_UNSPECIFIED", "UNKNOWN", "HEALTHY", @@ -294,63 +290,63 @@ class Instance(typing_extensions.TypedDict, total=False): vmZoneName: str @typing.type_check_only -class Library(typing_extensions.TypedDict, total=False): +class Library(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ListAuthorizedCertificatesResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedCertificatesResponse(typing.TypedDict, total=False): certificates: _list[AuthorizedCertificate] nextPageToken: str @typing.type_check_only -class ListAuthorizedDomainsResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedDomainsResponse(typing.TypedDict, total=False): domains: _list[AuthorizedDomain] nextPageToken: str @typing.type_check_only -class ListDomainMappingsResponse(typing_extensions.TypedDict, total=False): +class ListDomainMappingsResponse(typing.TypedDict, total=False): domainMappings: _list[DomainMapping] nextPageToken: str @typing.type_check_only -class ListIngressRulesResponse(typing_extensions.TypedDict, total=False): +class ListIngressRulesResponse(typing.TypedDict, total=False): ingressRules: _list[FirewallRule] nextPageToken: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRuntimesResponse(typing_extensions.TypedDict, total=False): +class ListRuntimesResponse(typing.TypedDict, total=False): nextPageToken: str runtimes: _list[Runtime] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class LivenessCheck(typing_extensions.TypedDict, total=False): +class LivenessCheck(typing.TypedDict, total=False): checkInterval: str failureThreshold: int host: str @@ -360,7 +356,7 @@ class LivenessCheck(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -368,15 +364,15 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool searchApiAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class ManagedCertificate(typing_extensions.TypedDict, total=False): +class ManagedCertificate(typing.TypedDict, total=False): lastRenewalTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "MANAGEMENT_STATUS_UNSPECIFIED", "OK", "PENDING", @@ -387,13 +383,13 @@ class ManagedCertificate(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ManualScaling(typing_extensions.TypedDict, total=False): +class ManualScaling(typing.TypedDict, total=False): instances: int @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): forwardedPorts: _list[str] - instanceIpMode: typing_extensions.Literal[ + instanceIpMode: typing.Literal[ "INSTANCE_IP_MODE_UNSPECIFIED", "EXTERNAL", "INTERNAL" ] instanceTag: str @@ -402,8 +398,8 @@ class Network(typing_extensions.TypedDict, total=False): subnetworkName: str @typing.type_check_only -class NetworkSettings(typing_extensions.TypedDict, total=False): - ingressTrafficAllowed: typing_extensions.Literal[ +class NetworkSettings(typing.TypedDict, total=False): + ingressTrafficAllowed: typing.Literal[ "INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED", "INGRESS_TRAFFIC_ALLOWED_ALL", "INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY", @@ -411,14 +407,14 @@ class NetworkSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NetworkUtilization(typing_extensions.TypedDict, total=False): +class NetworkUtilization(typing.TypedDict, total=False): targetReceivedBytesPerSecond: int targetReceivedPacketsPerSecond: int targetSentBytesPerSecond: int targetSentPacketsPerSecond: int @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -426,7 +422,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1 endTime: str ephemeralMessage: str @@ -437,7 +433,7 @@ class OperationMetadataV1(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Alpha(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Alpha endTime: str ephemeralMessage: str @@ -448,7 +444,7 @@ class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Beta endTime: str ephemeralMessage: str @@ -459,9 +455,9 @@ class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class ProjectEvent(typing_extensions.TypedDict, total=False): +class ProjectEvent(typing.TypedDict, total=False): eventId: str - phase: typing_extensions.Literal[ + phase: typing.Literal[ "CONTAINER_EVENT_PHASE_UNSPECIFIED", "BEFORE_RESOURCE_HANDLING", "AFTER_RESOURCE_HANDLING", @@ -470,12 +466,10 @@ class ProjectEvent(typing_extensions.TypedDict, total=False): state: ContainerState @typing.type_check_only -class ProjectsMetadata(typing_extensions.TypedDict, total=False): +class ProjectsMetadata(typing.TypedDict, total=False): consumerProjectId: str consumerProjectNumber: str - consumerProjectState: typing_extensions.Literal[ - "UNKNOWN_STATE", "ON", "OFF", "DELETED" - ] + consumerProjectState: typing.Literal["UNKNOWN_STATE", "ON", "OFF", "DELETED"] gceTag: _list[GceTag] isGceProjectDeprovisioning: bool p4ServiceAccount: str @@ -485,7 +479,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): tenantProjectNumber: str @typing.type_check_only -class ReadinessCheck(typing_extensions.TypedDict, total=False): +class ReadinessCheck(typing.TypedDict, total=False): appStartTimeout: str checkInterval: str failureThreshold: int @@ -495,32 +489,32 @@ class ReadinessCheck(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class Reasons(typing_extensions.TypedDict, total=False): - abuse: typing_extensions.Literal[ +class Reasons(typing.TypedDict, total=False): + abuse: typing.Literal[ "ABUSE_UNKNOWN_REASON", "ABUSE_CONTROL_PLANE_SYNC", "SUSPEND", "REINSTATE" ] - billing: typing_extensions.Literal[ + billing: typing.Literal[ "BILLING_UNKNOWN_REASON", "BILLING_CONTROL_PLANE_SYNC", "PROBATION", "CLOSE", "OPEN", ] - dataGovernance: typing_extensions.Literal[ + dataGovernance: typing.Literal[ "DATA_GOVERNANCE_UNKNOWN_REASON", "DATA_GOVERNANCE_CONTROL_PLANE_SYNC", "HIDE", "UNHIDE", "PURGE", ] - serviceActivation: typing_extensions.Literal[ + serviceActivation: typing.Literal[ "SERVICE_ACTIVATION_STATUS_UNSPECIFIED", "SERVICE_ACTIVATION_ENABLED", "SERVICE_ACTIVATION_DISABLED", "SERVICE_ACTIVATION_DISABLED_FULL", "SERVICE_ACTIVATION_UNKNOWN_REASON", ] - serviceManagement: typing_extensions.Literal[ + serviceManagement: typing.Literal[ "SERVICE_MANAGEMENT_UNKNOWN_REASON", "SERVICE_MANAGEMENT_CONTROL_PLANE_SYNC", "ACTIVATION", @@ -530,27 +524,27 @@ class Reasons(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RepairApplicationRequest(typing_extensions.TypedDict, total=False): ... +class RepairApplicationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RequestUtilization(typing_extensions.TypedDict, total=False): +class RequestUtilization(typing.TypedDict, total=False): targetConcurrentRequests: int targetRequestCountPerSecond: int @typing.type_check_only -class ResourceEvent(typing_extensions.TypedDict, total=False): +class ResourceEvent(typing.TypedDict, total=False): eventId: str name: str state: ContainerState @typing.type_check_only -class ResourceRecord(typing_extensions.TypedDict, total=False): +class ResourceRecord(typing.TypedDict, total=False): name: str rrdata: str - type: typing_extensions.Literal["A", "AAAA", "CNAME"] + type: typing.Literal["A", "AAAA", "CNAME"] @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): cpu: float diskGb: float kmsKeyReference: str @@ -558,16 +552,14 @@ class Resources(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class Runtime(typing_extensions.TypedDict, total=False): +class Runtime(typing.TypedDict, total=False): decommissionedDate: Date deprecationDate: Date displayName: str endOfSupportDate: Date - environment: typing_extensions.Literal[ - "ENVIRONMENT_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "STANDARD", "FLEXIBLE"] name: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "RUNTIME_STAGE_UNSPECIFIED", "DEVELOPMENT", "ALPHA", @@ -581,11 +573,11 @@ class Runtime(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class ScriptHandler(typing_extensions.TypedDict, total=False): +class ScriptHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): generatedCustomerMetadata: dict[str, typing.Any] id: str labels: dict[str, typing.Any] @@ -594,20 +586,20 @@ class Service(typing_extensions.TypedDict, total=False): split: TrafficSplit @typing.type_check_only -class SslSettings(typing_extensions.TypedDict, total=False): +class SslSettings(typing.TypedDict, total=False): certificateId: str pendingManagedCertificateId: str - sslManagementType: typing_extensions.Literal["AUTOMATIC", "MANUAL"] + sslManagementType: typing.Literal["AUTOMATIC", "MANUAL"] @typing.type_check_only -class StandardSchedulerSettings(typing_extensions.TypedDict, total=False): +class StandardSchedulerSettings(typing.TypedDict, total=False): maxInstances: int minInstances: int targetCpuUtilization: float targetThroughputUtilization: float @typing.type_check_only -class StaticFilesHandler(typing_extensions.TypedDict, total=False): +class StaticFilesHandler(typing.TypedDict, total=False): applicationReadable: bool expiration: str httpHeaders: dict[str, typing.Any] @@ -617,34 +609,34 @@ class StaticFilesHandler(typing_extensions.TypedDict, total=False): uploadPathRegex: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TrafficSplit(typing_extensions.TypedDict, total=False): +class TrafficSplit(typing.TypedDict, total=False): allocations: dict[str, typing.Any] - shardBy: typing_extensions.Literal["UNSPECIFIED", "COOKIE", "IP", "RANDOM"] + shardBy: typing.Literal["UNSPECIFIED", "COOKIE", "IP", "RANDOM"] @typing.type_check_only -class UrlDispatchRule(typing_extensions.TypedDict, total=False): +class UrlDispatchRule(typing.TypedDict, total=False): domain: str path: str service: str @typing.type_check_only -class UrlMap(typing_extensions.TypedDict, total=False): +class UrlMap(typing.TypedDict, total=False): apiEndpoint: ApiEndpointHandler - authFailAction: typing_extensions.Literal[ + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] - redirectHttpResponseCode: typing_extensions.Literal[ + redirectHttpResponseCode: typing.Literal[ "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", "REDIRECT_HTTP_RESPONSE_CODE_301", "REDIRECT_HTTP_RESPONSE_CODE_302", @@ -652,7 +644,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): "REDIRECT_HTTP_RESPONSE_CODE_307", ] script: ScriptHandler - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -663,11 +655,11 @@ class UrlMap(typing_extensions.TypedDict, total=False): urlRegex: str @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): apiConfig: ApiConfigHandler appEngineApis: bool appEngineBundledServices: _list[ - typing_extensions.Literal[ + typing.Literal[ "BUNDLED_SERVICE_TYPE_UNSPECIFIED", "BUNDLED_SERVICE_TYPE_APP_IDENTITY_SERVICE", "BUNDLED_SERVICE_TYPE_BLOBSTORE", @@ -706,7 +698,7 @@ class Version(typing_extensions.TypedDict, total=False): healthCheck: HealthCheck id: str inboundServices: _list[ - typing_extensions.Literal[ + typing.Literal[ "INBOUND_SERVICE_UNSPECIFIED", "INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", @@ -732,9 +724,7 @@ class Version(typing_extensions.TypedDict, total=False): runtimeChannel: str runtimeMainExecutablePath: str serviceAccount: str - servingStatus: typing_extensions.Literal[ - "SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED" - ] + servingStatus: typing.Literal["SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED"] threadsafe: bool versionUrl: str vm: bool @@ -743,32 +733,32 @@ class Version(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str sizeGb: float volumeType: str @typing.type_check_only -class VpcAccess(typing_extensions.TypedDict, total=False): +class VpcAccess(typing.TypedDict, total=False): networkInterfaces: _list[VpcNetworkInterface] - vpcEgress: typing_extensions.Literal[ + vpcEgress: typing.Literal[ "VPC_EGRESS_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES" ] @typing.type_check_only -class VpcAccessConnector(typing_extensions.TypedDict, total=False): - egressSetting: typing_extensions.Literal[ +class VpcAccessConnector(typing.TypedDict, total=False): + egressSetting: typing.Literal[ "EGRESS_SETTING_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES" ] name: str @typing.type_check_only -class VpcNetworkInterface(typing_extensions.TypedDict, total=False): +class VpcNetworkInterface(typing.TypedDict, total=False): network: str subnet: str tags: _list[str] @typing.type_check_only -class ZipInfo(typing_extensions.TypedDict, total=False): +class ZipInfo(typing.TypedDict, total=False): filesCount: int sourceUrl: str diff --git a/googleapiclient-stubs/_apis/appengine/v1beta4/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1beta4/resources.pyi index 992f60d58..2f25dd4e5 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta4/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -107,7 +106,7 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, modulesId: str, versionsId: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> VersionHttpRequest: ... def list( @@ -117,7 +116,7 @@ class AppengineResource(googleapiclient.discovery.Resource): modulesId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListVersionsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/appengine/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta4/schemas.pyi index 4a062c4ab..bba0abc1d 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta4/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApiConfigHandler(typing_extensions.TypedDict, total=False): - authFailAction: typing_extensions.Literal[ +class ApiConfigHandler(typing.TypedDict, total=False): + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] script: str - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -25,11 +23,11 @@ class ApiConfigHandler(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ApiEndpointHandler(typing_extensions.TypedDict, total=False): +class ApiEndpointHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): authDomain: str codeBucket: str defaultBucket: str @@ -42,7 +40,7 @@ class Application(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class AutomaticScaling(typing_extensions.TypedDict, total=False): +class AutomaticScaling(typing.TypedDict, total=False): coolDownPeriod: str cpuUtilization: CpuUtilization diskUtilization: DiskUtilization @@ -57,60 +55,58 @@ class AutomaticScaling(typing_extensions.TypedDict, total=False): requestUtilization: RequestUtilization @typing.type_check_only -class BasicScaling(typing_extensions.TypedDict, total=False): +class BasicScaling(typing.TypedDict, total=False): idleTimeout: str maxInstances: int @typing.type_check_only -class ContainerInfo(typing_extensions.TypedDict, total=False): +class ContainerInfo(typing.TypedDict, total=False): image: str @typing.type_check_only -class CpuUtilization(typing_extensions.TypedDict, total=False): +class CpuUtilization(typing.TypedDict, total=False): aggregationWindowLength: str targetUtilization: float @typing.type_check_only -class CreateVersionMetadataV1(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Alpha(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Beta(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Beta(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class DebugInstanceRequest(typing_extensions.TypedDict, total=False): +class DebugInstanceRequest(typing.TypedDict, total=False): sshKey: str @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): container: ContainerInfo files: dict[str, typing.Any] sourceReferences: _list[SourceReference] @typing.type_check_only -class DiskUtilization(typing_extensions.TypedDict, total=False): +class DiskUtilization(typing.TypedDict, total=False): targetReadBytesPerSec: int targetReadOpsPerSec: int targetWriteBytesPerSec: int targetWriteOpsPerSec: int @typing.type_check_only -class EndpointsApiService(typing_extensions.TypedDict, total=False): +class EndpointsApiService(typing.TypedDict, total=False): configId: str disableTraceSampling: bool name: str - rolloutStrategy: typing_extensions.Literal[ - "UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED" - ] + rolloutStrategy: typing.Literal["UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED"] @typing.type_check_only -class ErrorHandler(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class ErrorHandler(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "ERROR_CODE_DEFAULT", "ERROR_CODE_OVER_QUOTA", @@ -121,13 +117,13 @@ class ErrorHandler(typing_extensions.TypedDict, total=False): staticFile: str @typing.type_check_only -class FileInfo(typing_extensions.TypedDict, total=False): +class FileInfo(typing.TypedDict, total=False): mimeType: str sha1Sum: str sourceUrl: str @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): checkInterval: str disableHealthCheck: bool healthyThreshold: int @@ -137,16 +133,16 @@ class HealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class IdentityAwareProxy(typing_extensions.TypedDict, total=False): +class IdentityAwareProxy(typing.TypedDict, total=False): enabled: bool oauth2ClientId: str oauth2ClientSecret: str oauth2ClientSecretSha256: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): appEngineRelease: str - availability: typing_extensions.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] + availability: typing.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] averageLatency: int errors: int id: str @@ -163,37 +159,37 @@ class Instance(typing_extensions.TypedDict, total=False): vmZoneName: str @typing.type_check_only -class Library(typing_extensions.TypedDict, total=False): +class Library(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListModulesResponse(typing_extensions.TypedDict, total=False): +class ListModulesResponse(typing.TypedDict, total=False): modules: _list[Module] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -201,35 +197,35 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class ManualScaling(typing_extensions.TypedDict, total=False): +class ManualScaling(typing.TypedDict, total=False): instances: int @typing.type_check_only -class Module(typing_extensions.TypedDict, total=False): +class Module(typing.TypedDict, total=False): id: str name: str split: TrafficSplit @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): forwardedPorts: _list[str] instanceTag: str name: str @typing.type_check_only -class NetworkUtilization(typing_extensions.TypedDict, total=False): +class NetworkUtilization(typing.TypedDict, total=False): targetReceivedBytesPerSec: int targetReceivedPacketsPerSec: int targetSentBytesPerSec: int targetSentPacketsPerSec: int @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -237,7 +233,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): endTime: str insertTime: str method: str @@ -246,7 +242,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1 endTime: str ephemeralMessage: str @@ -257,7 +253,7 @@ class OperationMetadataV1(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Alpha(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Alpha endTime: str ephemeralMessage: str @@ -268,7 +264,7 @@ class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Beta endTime: str ephemeralMessage: str @@ -279,7 +275,7 @@ class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Beta5(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta5(typing.TypedDict, total=False): endTime: str insertTime: str method: str @@ -287,28 +283,28 @@ class OperationMetadataV1Beta5(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class RequestUtilization(typing_extensions.TypedDict, total=False): +class RequestUtilization(typing.TypedDict, total=False): targetConcurrentRequests: int targetRequestCountPerSec: int @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): cpu: float diskGb: float memoryGb: float volumes: _list[Volume] @typing.type_check_only -class ScriptHandler(typing_extensions.TypedDict, total=False): +class ScriptHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class SourceReference(typing_extensions.TypedDict, total=False): +class SourceReference(typing.TypedDict, total=False): repository: str revisionId: str @typing.type_check_only -class StaticDirectoryHandler(typing_extensions.TypedDict, total=False): +class StaticDirectoryHandler(typing.TypedDict, total=False): applicationReadable: bool directory: str expiration: str @@ -317,7 +313,7 @@ class StaticDirectoryHandler(typing_extensions.TypedDict, total=False): requireMatchingFile: bool @typing.type_check_only -class StaticFilesHandler(typing_extensions.TypedDict, total=False): +class StaticFilesHandler(typing.TypedDict, total=False): applicationReadable: bool expiration: str httpHeaders: dict[str, typing.Any] @@ -327,34 +323,34 @@ class StaticFilesHandler(typing_extensions.TypedDict, total=False): uploadPathRegex: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TrafficSplit(typing_extensions.TypedDict, total=False): +class TrafficSplit(typing.TypedDict, total=False): allocations: dict[str, typing.Any] - shardBy: typing_extensions.Literal["UNSPECIFIED", "COOKIE", "IP"] + shardBy: typing.Literal["UNSPECIFIED", "COOKIE", "IP"] @typing.type_check_only -class UrlDispatchRule(typing_extensions.TypedDict, total=False): +class UrlDispatchRule(typing.TypedDict, total=False): domain: str module: str path: str @typing.type_check_only -class UrlMap(typing_extensions.TypedDict, total=False): +class UrlMap(typing.TypedDict, total=False): apiEndpoint: ApiEndpointHandler - authFailAction: typing_extensions.Literal[ + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] - redirectHttpResponseCode: typing_extensions.Literal[ + redirectHttpResponseCode: typing.Literal[ "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", "REDIRECT_HTTP_RESPONSE_CODE_301", "REDIRECT_HTTP_RESPONSE_CODE_302", @@ -362,7 +358,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): "REDIRECT_HTTP_RESPONSE_CODE_307", ] script: ScriptHandler - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -374,7 +370,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): urlRegex: str @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): apiConfig: ApiConfigHandler automaticScaling: AutomaticScaling basicScaling: BasicScaling @@ -391,7 +387,7 @@ class Version(typing_extensions.TypedDict, total=False): healthCheck: HealthCheck id: str inboundServices: _list[ - typing_extensions.Literal[ + typing.Literal[ "INBOUND_SERVICE_UNSPECIFIED", "INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", @@ -413,14 +409,12 @@ class Version(typing_extensions.TypedDict, total=False): runtime: str runtimeApiVersion: str runtimeMainExecutablePath: str - servingStatus: typing_extensions.Literal[ - "SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED" - ] + servingStatus: typing.Literal["SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED"] threadsafe: bool vm: bool @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str sizeGb: float volumeType: str diff --git a/googleapiclient-stubs/_apis/appengine/v1beta5/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1beta5/resources.pyi index b625eca57..6fda1cc05 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta5/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta5/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -127,7 +126,7 @@ class AppengineResource(googleapiclient.discovery.Resource): appsId: str, servicesId: str, versionsId: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> VersionHttpRequest: ... def list( @@ -137,7 +136,7 @@ class AppengineResource(googleapiclient.discovery.Resource): servicesId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListVersionsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/appengine/v1beta5/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta5/schemas.pyi index fdf9fe0b4..cc811e6d4 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta5/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta5/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApiConfigHandler(typing_extensions.TypedDict, total=False): - authFailAction: typing_extensions.Literal[ +class ApiConfigHandler(typing.TypedDict, total=False): + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] script: str - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -25,11 +23,11 @@ class ApiConfigHandler(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ApiEndpointHandler(typing_extensions.TypedDict, total=False): +class ApiEndpointHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): authDomain: str codeBucket: str defaultBucket: str @@ -42,7 +40,7 @@ class Application(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class AutomaticScaling(typing_extensions.TypedDict, total=False): +class AutomaticScaling(typing.TypedDict, total=False): coolDownPeriod: str cpuUtilization: CpuUtilization diskUtilization: DiskUtilization @@ -57,60 +55,58 @@ class AutomaticScaling(typing_extensions.TypedDict, total=False): requestUtilization: RequestUtilization @typing.type_check_only -class BasicScaling(typing_extensions.TypedDict, total=False): +class BasicScaling(typing.TypedDict, total=False): idleTimeout: str maxInstances: int @typing.type_check_only -class ContainerInfo(typing_extensions.TypedDict, total=False): +class ContainerInfo(typing.TypedDict, total=False): image: str @typing.type_check_only -class CpuUtilization(typing_extensions.TypedDict, total=False): +class CpuUtilization(typing.TypedDict, total=False): aggregationWindowLength: str targetUtilization: float @typing.type_check_only -class CreateVersionMetadataV1(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Alpha(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class CreateVersionMetadataV1Beta(typing_extensions.TypedDict, total=False): +class CreateVersionMetadataV1Beta(typing.TypedDict, total=False): cloudBuildId: str @typing.type_check_only -class DebugInstanceRequest(typing_extensions.TypedDict, total=False): +class DebugInstanceRequest(typing.TypedDict, total=False): sshKey: str @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): container: ContainerInfo files: dict[str, typing.Any] sourceReferences: _list[SourceReference] @typing.type_check_only -class DiskUtilization(typing_extensions.TypedDict, total=False): +class DiskUtilization(typing.TypedDict, total=False): targetReadBytesPerSec: int targetReadOpsPerSec: int targetWriteBytesPerSec: int targetWriteOpsPerSec: int @typing.type_check_only -class EndpointsApiService(typing_extensions.TypedDict, total=False): +class EndpointsApiService(typing.TypedDict, total=False): configId: str disableTraceSampling: bool name: str - rolloutStrategy: typing_extensions.Literal[ - "UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED" - ] + rolloutStrategy: typing.Literal["UNSPECIFIED_ROLLOUT_STRATEGY", "FIXED", "MANAGED"] @typing.type_check_only -class ErrorHandler(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class ErrorHandler(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "ERROR_CODE_DEFAULT", "ERROR_CODE_OVER_QUOTA", @@ -121,13 +117,13 @@ class ErrorHandler(typing_extensions.TypedDict, total=False): staticFile: str @typing.type_check_only -class FileInfo(typing_extensions.TypedDict, total=False): +class FileInfo(typing.TypedDict, total=False): mimeType: str sha1Sum: str sourceUrl: str @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): checkInterval: str disableHealthCheck: bool healthyThreshold: int @@ -137,16 +133,16 @@ class HealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class IdentityAwareProxy(typing_extensions.TypedDict, total=False): +class IdentityAwareProxy(typing.TypedDict, total=False): enabled: bool oauth2ClientId: str oauth2ClientSecret: str oauth2ClientSecretSha256: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): appEngineRelease: str - availability: typing_extensions.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] + availability: typing.Literal["UNSPECIFIED", "RESIDENT", "DYNAMIC"] averageLatency: int errors: int id: str @@ -163,37 +159,37 @@ class Instance(typing_extensions.TypedDict, total=False): vmZoneName: str @typing.type_check_only -class Library(typing_extensions.TypedDict, total=False): +class Library(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -201,30 +197,30 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): flexibleEnvironmentAvailable: bool standardEnvironmentAvailable: bool @typing.type_check_only -class ManualScaling(typing_extensions.TypedDict, total=False): +class ManualScaling(typing.TypedDict, total=False): instances: int @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): forwardedPorts: _list[str] instanceTag: str name: str subnetworkName: str @typing.type_check_only -class NetworkUtilization(typing_extensions.TypedDict, total=False): +class NetworkUtilization(typing.TypedDict, total=False): targetReceivedBytesPerSec: int targetReceivedPacketsPerSec: int targetSentBytesPerSec: int targetSentPacketsPerSec: int @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -232,7 +228,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): endTime: str insertTime: str method: str @@ -241,7 +237,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1 endTime: str ephemeralMessage: str @@ -252,7 +248,7 @@ class OperationMetadataV1(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Alpha(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Alpha endTime: str ephemeralMessage: str @@ -263,7 +259,7 @@ class OperationMetadataV1Alpha(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta(typing.TypedDict, total=False): createVersionMetadata: CreateVersionMetadataV1Beta endTime: str ephemeralMessage: str @@ -274,7 +270,7 @@ class OperationMetadataV1Beta(typing_extensions.TypedDict, total=False): warning: _list[str] @typing.type_check_only -class OperationMetadataV1Beta5(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta5(typing.TypedDict, total=False): endTime: str insertTime: str method: str @@ -282,34 +278,34 @@ class OperationMetadataV1Beta5(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class RequestUtilization(typing_extensions.TypedDict, total=False): +class RequestUtilization(typing.TypedDict, total=False): targetConcurrentRequests: int targetRequestCountPerSec: int @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): cpu: float diskGb: float memoryGb: float volumes: _list[Volume] @typing.type_check_only -class ScriptHandler(typing_extensions.TypedDict, total=False): +class ScriptHandler(typing.TypedDict, total=False): scriptPath: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): id: str name: str split: TrafficSplit @typing.type_check_only -class SourceReference(typing_extensions.TypedDict, total=False): +class SourceReference(typing.TypedDict, total=False): repository: str revisionId: str @typing.type_check_only -class StaticFilesHandler(typing_extensions.TypedDict, total=False): +class StaticFilesHandler(typing.TypedDict, total=False): applicationReadable: bool expiration: str httpHeaders: dict[str, typing.Any] @@ -319,34 +315,34 @@ class StaticFilesHandler(typing_extensions.TypedDict, total=False): uploadPathRegex: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TrafficSplit(typing_extensions.TypedDict, total=False): +class TrafficSplit(typing.TypedDict, total=False): allocations: dict[str, typing.Any] - shardBy: typing_extensions.Literal["UNSPECIFIED", "COOKIE", "IP"] + shardBy: typing.Literal["UNSPECIFIED", "COOKIE", "IP"] @typing.type_check_only -class UrlDispatchRule(typing_extensions.TypedDict, total=False): +class UrlDispatchRule(typing.TypedDict, total=False): domain: str path: str service: str @typing.type_check_only -class UrlMap(typing_extensions.TypedDict, total=False): +class UrlMap(typing.TypedDict, total=False): apiEndpoint: ApiEndpointHandler - authFailAction: typing_extensions.Literal[ + authFailAction: typing.Literal[ "AUTH_FAIL_ACTION_UNSPECIFIED", "AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED", ] - login: typing_extensions.Literal[ + login: typing.Literal[ "LOGIN_UNSPECIFIED", "LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED" ] - redirectHttpResponseCode: typing_extensions.Literal[ + redirectHttpResponseCode: typing.Literal[ "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", "REDIRECT_HTTP_RESPONSE_CODE_301", "REDIRECT_HTTP_RESPONSE_CODE_302", @@ -354,7 +350,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): "REDIRECT_HTTP_RESPONSE_CODE_307", ] script: ScriptHandler - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURE_UNSPECIFIED", "SECURE_DEFAULT", "SECURE_NEVER", @@ -365,7 +361,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): urlRegex: str @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): apiConfig: ApiConfigHandler automaticScaling: AutomaticScaling basicScaling: BasicScaling @@ -383,7 +379,7 @@ class Version(typing_extensions.TypedDict, total=False): healthCheck: HealthCheck id: str inboundServices: _list[ - typing_extensions.Literal[ + typing.Literal[ "INBOUND_SERVICE_UNSPECIFIED", "INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", @@ -405,14 +401,12 @@ class Version(typing_extensions.TypedDict, total=False): runtime: str runtimeApiVersion: str runtimeMainExecutablePath: str - servingStatus: typing_extensions.Literal[ - "SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED" - ] + servingStatus: typing.Literal["SERVING_STATUS_UNSPECIFIED", "SERVING", "STOPPED"] threadsafe: bool vm: bool @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str sizeGb: float volumeType: str diff --git a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi index 95c8fe969..2735165cf 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi index d2efa162b..c4f88c2e6 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi @@ -1,25 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): attributes: Attributes createTime: str description: str displayName: str name: str scope: Scope - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING"] uid: str updateTime: str @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): businessOwners: _list[ContactInfo] criticality: Criticality developerOwners: _list[ContactInfo] @@ -27,159 +23,151 @@ class Attributes(typing_extensions.TypedDict, total=False): operatorOwners: _list[ContactInfo] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Boundary(typing_extensions.TypedDict, total=False): +class Boundary(typing.TypedDict, total=False): createTime: str crmNode: str name: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL", "MANAGED_AUTOMATIC" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL", "MANAGED_AUTOMATIC"] updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ContactInfo(typing_extensions.TypedDict, total=False): +class ContactInfo(typing.TypedDict, total=False): displayName: str email: str @typing.type_check_only -class Criticality(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class Criticality(typing.TypedDict, total=False): + type: typing.Literal[ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only -class DetachServiceProjectAttachmentRequest( - typing_extensions.TypedDict, total=False -): ... +class DetachServiceProjectAttachmentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DetachServiceProjectAttachmentResponse( - typing_extensions.TypedDict, total=False -): ... +class DetachServiceProjectAttachmentResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class DiscoveredService(typing_extensions.TypedDict, total=False): +class DiscoveredService(typing.TypedDict, total=False): name: str serviceProperties: ServiceProperties serviceReference: ServiceReference @typing.type_check_only -class DiscoveredWorkload(typing_extensions.TypedDict, total=False): +class DiscoveredWorkload(typing.TypedDict, total=False): name: str workloadProperties: WorkloadProperties workloadReference: WorkloadReference @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class Environment(typing.TypedDict, total=False): + type: typing.Literal[ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtendedMetadata(typing_extensions.TypedDict, total=False): +class ExtendedMetadata(typing.TypedDict, total=False): metadataStruct: dict[str, typing.Any] @typing.type_check_only -class ExtendedMetadataSchema(typing_extensions.TypedDict, total=False): +class ExtendedMetadataSchema(typing.TypedDict, total=False): jsonSchema: str name: str schemaVersion: str @typing.type_check_only -class FunctionalType(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "AGENT", "MCP_SERVER", "ENDPOINT" - ] +class FunctionalType(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "AGENT", "MCP_SERVER", "ENDPOINT"] @typing.type_check_only -class Identity(typing_extensions.TypedDict, total=False): +class Identity(typing.TypedDict, total=False): principal: str @typing.type_check_only -class ListApplicationsResponse(typing_extensions.TypedDict, total=False): +class ListApplicationsResponse(typing.TypedDict, total=False): applications: _list[Application] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveredServicesResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveredServicesResponse(typing.TypedDict, total=False): discoveredServices: _list[DiscoveredService] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveredWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveredWorkloadsResponse(typing.TypedDict, total=False): discoveredWorkloads: _list[DiscoveredWorkload] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListExtendedMetadataSchemasResponse(typing_extensions.TypedDict, total=False): +class ListExtendedMetadataSchemasResponse(typing.TypedDict, total=False): extendedMetadataSchemas: _list[ExtendedMetadataSchema] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServiceProjectAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListServiceProjectAttachmentsResponse(typing.TypedDict, total=False): nextPageToken: str serviceProjectAttachments: _list[ServiceProjectAttachment] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] unreachable: _list[str] @typing.type_check_only -class ListWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListWorkloadsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workloads: _list[Workload] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -187,19 +175,19 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LookupDiscoveredServiceResponse(typing_extensions.TypedDict, total=False): +class LookupDiscoveredServiceResponse(typing.TypedDict, total=False): discoveredService: DiscoveredService @typing.type_check_only -class LookupDiscoveredWorkloadResponse(typing_extensions.TypedDict, total=False): +class LookupDiscoveredWorkloadResponse(typing.TypedDict, total=False): discoveredWorkload: DiscoveredWorkload @typing.type_check_only -class LookupServiceProjectAttachmentResponse(typing_extensions.TypedDict, total=False): +class LookupServiceProjectAttachmentResponse(typing.TypedDict, total=False): serviceProjectAttachment: ServiceProjectAttachment @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -207,7 +195,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -217,29 +205,27 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): +class ReconciliationOperationMetadata(typing.TypedDict, total=False): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class RegistrationType(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXCLUSIVE", "SHARED"] +class RegistrationType(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "EXCLUSIVE", "SHARED"] @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] +class Scope(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): attributes: Attributes createTime: str description: str @@ -248,24 +234,22 @@ class Service(typing_extensions.TypedDict, total=False): name: str serviceProperties: ServiceProperties serviceReference: ServiceReference - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "DETACHED" ] uid: str updateTime: str @typing.type_check_only -class ServiceProjectAttachment(typing_extensions.TypedDict, total=False): +class ServiceProjectAttachment(typing.TypedDict, total=False): createTime: str name: str serviceProject: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING"] uid: str @typing.type_check_only -class ServiceProperties(typing_extensions.TypedDict, total=False): +class ServiceProperties(typing.TypedDict, total=False): extendedMetadata: dict[str, typing.Any] functionalType: FunctionalType gcpProject: str @@ -275,37 +259,37 @@ class ServiceProperties(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ServiceReference(typing_extensions.TypedDict, total=False): +class ServiceReference(typing.TypedDict, total=False): uri: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Workload(typing_extensions.TypedDict, total=False): +class Workload(typing.TypedDict, total=False): attributes: Attributes createTime: str description: str discoveredWorkload: str displayName: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "DETACHED" ] uid: str @@ -314,7 +298,7 @@ class Workload(typing_extensions.TypedDict, total=False): workloadReference: WorkloadReference @typing.type_check_only -class WorkloadProperties(typing_extensions.TypedDict, total=False): +class WorkloadProperties(typing.TypedDict, total=False): extendedMetadata: dict[str, typing.Any] functionalType: FunctionalType gcpProject: str @@ -323,5 +307,5 @@ class WorkloadProperties(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class WorkloadReference(typing_extensions.TypedDict, total=False): +class WorkloadReference(typing.TypedDict, total=False): uri: str diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi index 707f6db96..7c518c838 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi index 5d3fa99a9..5e7d64d7d 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi @@ -1,25 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): attributes: Attributes createTime: str description: str displayName: str name: str scope: Scope - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING"] uid: str updateTime: str @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): businessOwners: _list[ContactInfo] criticality: Criticality developerOwners: _list[ContactInfo] @@ -27,179 +23,171 @@ class Attributes(typing_extensions.TypedDict, total=False): operatorOwners: _list[ContactInfo] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Boundary(typing_extensions.TypedDict, total=False): +class Boundary(typing.TypedDict, total=False): createTime: str crmNode: str name: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL", "MANAGED_AUTOMATIC" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL", "MANAGED_AUTOMATIC"] updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): uri: str @typing.type_check_only -class ContactInfo(typing_extensions.TypedDict, total=False): +class ContactInfo(typing.TypedDict, total=False): channel: Channel displayName: str email: str @typing.type_check_only -class Criticality(typing_extensions.TypedDict, total=False): +class Criticality(typing.TypedDict, total=False): level: str missionCritical: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only -class DetachServiceProjectAttachmentRequest( - typing_extensions.TypedDict, total=False -): ... +class DetachServiceProjectAttachmentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DetachServiceProjectAttachmentResponse( - typing_extensions.TypedDict, total=False -): ... +class DetachServiceProjectAttachmentResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class DiscoveredService(typing_extensions.TypedDict, total=False): +class DiscoveredService(typing.TypedDict, total=False): name: str serviceProperties: ServiceProperties serviceReference: ServiceReference @typing.type_check_only -class DiscoveredWorkload(typing_extensions.TypedDict, total=False): +class DiscoveredWorkload(typing.TypedDict, total=False): name: str workloadProperties: WorkloadProperties workloadReference: WorkloadReference @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): environment: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtendedMetadata(typing_extensions.TypedDict, total=False): +class ExtendedMetadata(typing.TypedDict, total=False): metadataStruct: dict[str, typing.Any] @typing.type_check_only -class ExtendedMetadataSchema(typing_extensions.TypedDict, total=False): +class ExtendedMetadataSchema(typing.TypedDict, total=False): jsonSchema: str name: str schemaVersion: str @typing.type_check_only -class FindUnregisteredServicesResponse(typing_extensions.TypedDict, total=False): +class FindUnregisteredServicesResponse(typing.TypedDict, total=False): discoveredServices: _list[DiscoveredService] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class FindUnregisteredWorkloadsResponse(typing_extensions.TypedDict, total=False): +class FindUnregisteredWorkloadsResponse(typing.TypedDict, total=False): discoveredWorkloads: _list[DiscoveredWorkload] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class FunctionalType(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "AGENT", "MCP_SERVER", "ENDPOINT" - ] +class FunctionalType(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "AGENT", "MCP_SERVER", "ENDPOINT"] @typing.type_check_only -class Identity(typing_extensions.TypedDict, total=False): +class Identity(typing.TypedDict, total=False): principal: str @typing.type_check_only -class ListApplicationsResponse(typing_extensions.TypedDict, total=False): +class ListApplicationsResponse(typing.TypedDict, total=False): applications: _list[Application] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveredServicesResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveredServicesResponse(typing.TypedDict, total=False): discoveredServices: _list[DiscoveredService] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveredWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveredWorkloadsResponse(typing.TypedDict, total=False): discoveredWorkloads: _list[DiscoveredWorkload] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListExtendedMetadataSchemasResponse(typing_extensions.TypedDict, total=False): +class ListExtendedMetadataSchemasResponse(typing.TypedDict, total=False): extendedMetadataSchemas: _list[ExtendedMetadataSchema] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServiceProjectAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListServiceProjectAttachmentsResponse(typing.TypedDict, total=False): nextPageToken: str serviceProjectAttachments: _list[ServiceProjectAttachment] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] unreachable: _list[str] @typing.type_check_only -class ListWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListWorkloadsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workloads: _list[Workload] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -207,19 +195,19 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LookupDiscoveredServiceResponse(typing_extensions.TypedDict, total=False): +class LookupDiscoveredServiceResponse(typing.TypedDict, total=False): discoveredService: DiscoveredService @typing.type_check_only -class LookupDiscoveredWorkloadResponse(typing_extensions.TypedDict, total=False): +class LookupDiscoveredWorkloadResponse(typing.TypedDict, total=False): discoveredWorkload: DiscoveredWorkload @typing.type_check_only -class LookupServiceProjectAttachmentResponse(typing_extensions.TypedDict, total=False): +class LookupServiceProjectAttachmentResponse(typing.TypedDict, total=False): serviceProjectAttachment: ServiceProjectAttachment @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -227,7 +215,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -237,22 +225,22 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RegistrationType(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXCLUSIVE", "SHARED"] +class RegistrationType(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "EXCLUSIVE", "SHARED"] @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] +class Scope(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): attributes: Attributes createTime: str description: str @@ -261,24 +249,22 @@ class Service(typing_extensions.TypedDict, total=False): name: str serviceProperties: ServiceProperties serviceReference: ServiceReference - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "DETACHED" ] uid: str updateTime: str @typing.type_check_only -class ServiceProjectAttachment(typing_extensions.TypedDict, total=False): +class ServiceProjectAttachment(typing.TypedDict, total=False): createTime: str name: str serviceProject: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING"] uid: str @typing.type_check_only -class ServiceProperties(typing_extensions.TypedDict, total=False): +class ServiceProperties(typing.TypedDict, total=False): extendedMetadata: dict[str, typing.Any] functionalType: FunctionalType gcpProject: str @@ -288,38 +274,38 @@ class ServiceProperties(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ServiceReference(typing_extensions.TypedDict, total=False): +class ServiceReference(typing.TypedDict, total=False): path: str uri: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Workload(typing_extensions.TypedDict, total=False): +class Workload(typing.TypedDict, total=False): attributes: Attributes createTime: str description: str discoveredWorkload: str displayName: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "DETACHED" ] uid: str @@ -328,7 +314,7 @@ class Workload(typing_extensions.TypedDict, total=False): workloadReference: WorkloadReference @typing.type_check_only -class WorkloadProperties(typing_extensions.TypedDict, total=False): +class WorkloadProperties(typing.TypedDict, total=False): extendedMetadata: dict[str, typing.Any] functionalType: FunctionalType gcpProject: str @@ -337,5 +323,5 @@ class WorkloadProperties(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class WorkloadReference(typing_extensions.TypedDict, total=False): +class WorkloadReference(typing.TypedDict, total=False): uri: str diff --git a/googleapiclient-stubs/_apis/appsmarket/v2/resources.pyi b/googleapiclient-stubs/_apis/appsmarket/v2/resources.pyi index 3ba94a0d3..cf754fafd 100644 --- a/googleapiclient-stubs/_apis/appsmarket/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/appsmarket/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/appsmarket/v2/schemas.pyi b/googleapiclient-stubs/_apis/appsmarket/v2/schemas.pyi index 066443965..f2656590d 100644 --- a/googleapiclient-stubs/_apis/appsmarket/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/appsmarket/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CustomerLicense(typing_extensions.TypedDict, total=False): +class CustomerLicense(typing.TypedDict, total=False): applicationId: str customerId: str editions: _list[Editions] @@ -14,13 +12,13 @@ class CustomerLicense(typing_extensions.TypedDict, total=False): state: str @typing.type_check_only -class Editions(typing_extensions.TypedDict, total=False): +class Editions(typing.TypedDict, total=False): assignedSeats: int editionId: str seatCount: int @typing.type_check_only -class UserLicense(typing_extensions.TypedDict, total=False): +class UserLicense(typing.TypedDict, total=False): applicationId: str customerId: str editionId: str diff --git a/googleapiclient-stubs/_apis/area120tables/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/area120tables/v1alpha1/resources.pyi index e39a5a3ea..032c0e805 100644 --- a/googleapiclient-stubs/_apis/area120tables/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/area120tables/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -31,8 +30,7 @@ class Area120TablesResource(googleapiclient.discovery.Resource): *, parent: str, body: Row, - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] | None = ..., **kwargs: typing.Any, ) -> RowHttpRequest: ... def delete( @@ -42,8 +40,7 @@ class Area120TablesResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] | None = ..., **kwargs: typing.Any, ) -> RowHttpRequest: ... def list( @@ -54,8 +51,7 @@ class Area120TablesResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] | None = ..., **kwargs: typing.Any, ) -> ListRowsResponseHttpRequest: ... def list_next( @@ -69,8 +65,7 @@ class Area120TablesResource(googleapiclient.discovery.Resource): name: str, body: Row, updateMask: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] | None = ..., **kwargs: typing.Any, ) -> RowHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/area120tables/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/area120tables/v1alpha1/schemas.pyi index 26528f5ac..6620b10ed 100644 --- a/googleapiclient-stubs/_apis/area120tables/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/area120tables/v1alpha1/schemas.pyi @@ -1,31 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BatchCreateRowsRequest(typing_extensions.TypedDict, total=False): +class BatchCreateRowsRequest(typing.TypedDict, total=False): requests: _list[CreateRowRequest] @typing.type_check_only -class BatchCreateRowsResponse(typing_extensions.TypedDict, total=False): +class BatchCreateRowsResponse(typing.TypedDict, total=False): rows: _list[Row] @typing.type_check_only -class BatchDeleteRowsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteRowsRequest(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class BatchUpdateRowsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateRowsRequest(typing.TypedDict, total=False): requests: _list[UpdateRowRequest] @typing.type_check_only -class BatchUpdateRowsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateRowsResponse(typing.TypedDict, total=False): rows: _list[Row] @typing.type_check_only -class ColumnDescription(typing_extensions.TypedDict, total=False): +class ColumnDescription(typing.TypedDict, total=False): dataType: str dateDetails: DateDetails id: str @@ -37,61 +35,61 @@ class ColumnDescription(typing_extensions.TypedDict, total=False): relationshipDetails: RelationshipDetails @typing.type_check_only -class CreateRowRequest(typing_extensions.TypedDict, total=False): +class CreateRowRequest(typing.TypedDict, total=False): parent: str row: Row - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] + view: typing.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] @typing.type_check_only -class DateDetails(typing_extensions.TypedDict, total=False): +class DateDetails(typing.TypedDict, total=False): hasTime: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class LabeledItem(typing_extensions.TypedDict, total=False): +class LabeledItem(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class ListRowsResponse(typing_extensions.TypedDict, total=False): +class ListRowsResponse(typing.TypedDict, total=False): nextPageToken: str rows: _list[Row] @typing.type_check_only -class ListTablesResponse(typing_extensions.TypedDict, total=False): +class ListTablesResponse(typing.TypedDict, total=False): nextPageToken: str tables: _list[Table] @typing.type_check_only -class ListWorkspacesResponse(typing_extensions.TypedDict, total=False): +class ListWorkspacesResponse(typing.TypedDict, total=False): nextPageToken: str workspaces: _list[Workspace] @typing.type_check_only -class LookupDetails(typing_extensions.TypedDict, total=False): +class LookupDetails(typing.TypedDict, total=False): relationshipColumn: str relationshipColumnId: str @typing.type_check_only -class RelationshipDetails(typing_extensions.TypedDict, total=False): +class RelationshipDetails(typing.TypedDict, total=False): linkedTable: str @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): createTime: str name: str updateTime: str values: dict[str, typing.Any] @typing.type_check_only -class SavedView(typing_extensions.TypedDict, total=False): +class SavedView(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columns: _list[ColumnDescription] createTime: str displayName: str @@ -101,13 +99,13 @@ class Table(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UpdateRowRequest(typing_extensions.TypedDict, total=False): +class UpdateRowRequest(typing.TypedDict, total=False): row: Row updateMask: str - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] + view: typing.Literal["VIEW_UNSPECIFIED", "COLUMN_ID_VIEW"] @typing.type_check_only -class Workspace(typing_extensions.TypedDict, total=False): +class Workspace(typing.TypedDict, total=False): createTime: str displayName: str name: str diff --git a/googleapiclient-stubs/_apis/areainsights/v1/resources.pyi b/googleapiclient-stubs/_apis/areainsights/v1/resources.pyi index 8468b6dec..7045edfc8 100644 --- a/googleapiclient-stubs/_apis/areainsights/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/areainsights/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/areainsights/v1/schemas.pyi b/googleapiclient-stubs/_apis/areainsights/v1/schemas.pyi index 3b14e7541..4e9b1da6e 100644 --- a/googleapiclient-stubs/_apis/areainsights/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/areainsights/v1/schemas.pyi @@ -1,38 +1,34 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Circle(typing_extensions.TypedDict, total=False): +class Circle(typing.TypedDict, total=False): latLng: LatLng place: str radius: int @typing.type_check_only -class ComputeInsightsRequest(typing_extensions.TypedDict, total=False): +class ComputeInsightsRequest(typing.TypedDict, total=False): filter: Filter insights: _list[ - typing_extensions.Literal[ - "INSIGHT_UNSPECIFIED", "INSIGHT_COUNT", "INSIGHT_PLACES" - ] + typing.Literal["INSIGHT_UNSPECIFIED", "INSIGHT_COUNT", "INSIGHT_PLACES"] ] @typing.type_check_only -class ComputeInsightsResponse(typing_extensions.TypedDict, total=False): +class ComputeInsightsResponse(typing.TypedDict, total=False): count: str placeInsights: _list[PlaceInsight] @typing.type_check_only -class CustomArea(typing_extensions.TypedDict, total=False): +class CustomArea(typing.TypedDict, total=False): polygon: Polygon @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): locationFilter: LocationFilter operatingStatus: _list[ - typing_extensions.Literal[ + typing.Literal[ "OPERATING_STATUS_UNSPECIFIED", "OPERATING_STATUS_OPERATIONAL", "OPERATING_STATUS_PERMANENTLY_CLOSED", @@ -40,7 +36,7 @@ class Filter(typing_extensions.TypedDict, total=False): ] ] priceLevels: _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICE_LEVEL_UNSPECIFIED", "PRICE_LEVEL_FREE", "PRICE_LEVEL_INEXPENSIVE", @@ -53,35 +49,35 @@ class Filter(typing_extensions.TypedDict, total=False): typeFilter: TypeFilter @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LocationFilter(typing_extensions.TypedDict, total=False): +class LocationFilter(typing.TypedDict, total=False): circle: Circle customArea: CustomArea region: Region @typing.type_check_only -class PlaceInsight(typing_extensions.TypedDict, total=False): +class PlaceInsight(typing.TypedDict, total=False): place: str @typing.type_check_only -class Polygon(typing_extensions.TypedDict, total=False): +class Polygon(typing.TypedDict, total=False): coordinates: _list[LatLng] @typing.type_check_only -class RatingFilter(typing_extensions.TypedDict, total=False): +class RatingFilter(typing.TypedDict, total=False): maxRating: float minRating: float @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): place: str @typing.type_check_only -class TypeFilter(typing_extensions.TypedDict, total=False): +class TypeFilter(typing.TypedDict, total=False): excludedPrimaryTypes: _list[str] excludedTypes: _list[str] includedPrimaryTypes: _list[str] diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi index 47a3799c2..5aa204299 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -291,7 +290,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "VERSION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -305,7 +304,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VERSION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi index 83a09a67c..27b02a416 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi @@ -1,27 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AptArtifact(typing_extensions.TypedDict, total=False): +class AptArtifact(typing.TypedDict, total=False): architecture: str component: str controlFile: str name: str packageName: str - packageType: typing_extensions.Literal[ - "PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE" - ] + packageType: typing.Literal["PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE"] @typing.type_check_only -class AptRepository(typing_extensions.TypedDict, total=False): +class AptRepository(typing.TypedDict, total=False): customRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository publicRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository @typing.type_check_only -class Attachment(typing_extensions.TypedDict, total=False): +class Attachment(typing.TypedDict, total=False): annotations: dict[str, typing.Any] attachmentNamespace: str createTime: str @@ -33,62 +29,60 @@ class Attachment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BatchDeleteVersionsMetadata(typing_extensions.TypedDict, total=False): +class BatchDeleteVersionsMetadata(typing.TypedDict, total=False): failedVersions: _list[str] @typing.type_check_only -class BatchDeleteVersionsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteVersionsRequest(typing.TypedDict, total=False): names: _list[str] validateOnly: bool @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckPrewarmedArtifactRequest(typing_extensions.TypedDict, total=False): +class CheckPrewarmedArtifactRequest(typing.TypedDict, total=False): streamLocation: str tag: str version: str @typing.type_check_only -class CheckPrewarmedArtifactResponse(typing_extensions.TypedDict, total=False): +class CheckPrewarmedArtifactResponse(typing.TypedDict, total=False): prewarmedArtifact: PrewarmedArtifact @typing.type_check_only -class CleanupPolicy(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "DELETE", "KEEP"] +class CleanupPolicy(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "DELETE", "KEEP"] condition: CleanupPolicyCondition id: str mostRecentVersions: CleanupPolicyMostRecentVersions @typing.type_check_only -class CleanupPolicyCondition(typing_extensions.TypedDict, total=False): +class CleanupPolicyCondition(typing.TypedDict, total=False): newerThan: str olderThan: str packageNamePrefixes: _list[str] tagPrefixes: _list[str] - tagState: typing_extensions.Literal[ - "TAG_STATE_UNSPECIFIED", "TAGGED", "UNTAGGED", "ANY" - ] + tagState: typing.Literal["TAG_STATE_UNSPECIFIED", "TAGGED", "UNTAGGED", "ANY"] versionNamePrefixes: _list[str] @typing.type_check_only -class CleanupPolicyMostRecentVersions(typing_extensions.TypedDict, total=False): +class CleanupPolicyMostRecentVersions(typing.TypedDict, total=False): keepCount: int packageNamePrefixes: _list[str] @typing.type_check_only -class CommonRemoteRepository(typing_extensions.TypedDict, total=False): +class CommonRemoteRepository(typing.TypedDict, total=False): uri: str @typing.type_check_only -class DockerImage(typing_extensions.TypedDict, total=False): +class DockerImage(typing.TypedDict, total=False): artifactType: str buildTime: str imageManifests: _list[ImageManifest] @@ -101,71 +95,69 @@ class DockerImage(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class DockerRepository(typing_extensions.TypedDict, total=False): +class DockerRepository(typing.TypedDict, total=False): customRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository - publicRepository: typing_extensions.Literal[ - "PUBLIC_REPOSITORY_UNSPECIFIED", "DOCKER_HUB" - ] + publicRepository: typing.Literal["PUBLIC_REPOSITORY_UNSPECIFIED", "DOCKER_HUB"] @typing.type_check_only -class DockerRepositoryConfig(typing_extensions.TypedDict, total=False): +class DockerRepositoryConfig(typing.TypedDict, total=False): immutableTags: bool @typing.type_check_only -class DownloadFileResponse(typing_extensions.TypedDict, total=False): ... +class DownloadFileResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportArtifactMetadata(typing_extensions.TypedDict, total=False): +class ExportArtifactMetadata(typing.TypedDict, total=False): exportedFiles: _list[ExportedFile] @typing.type_check_only -class ExportArtifactRequest(typing_extensions.TypedDict, total=False): +class ExportArtifactRequest(typing.TypedDict, total=False): gcsPath: str sourceTag: str sourceVersion: str @typing.type_check_only -class ExportArtifactResponse(typing_extensions.TypedDict, total=False): +class ExportArtifactResponse(typing.TypedDict, total=False): exportedVersion: Version @typing.type_check_only -class ExportedFile(typing_extensions.TypedDict, total=False): +class ExportedFile(typing.TypedDict, total=False): gcsObjectPath: str hashes: _list[Hash] name: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GenericArtifact(typing_extensions.TypedDict, total=False): +class GenericArtifact(typing.TypedDict, total=False): createTime: str name: str updateTime: str version: str @typing.type_check_only -class GoModule(typing_extensions.TypedDict, total=False): +class GoModule(typing.TypedDict, total=False): createTime: str name: str updateTime: str version: str @typing.type_check_only -class GoogetArtifact(typing_extensions.TypedDict, total=False): +class GoogetArtifact(typing.TypedDict, total=False): architecture: str name: str packageName: str @typing.type_check_only -class GoogleDevtoolsArtifactregistryV1File(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsArtifactregistryV1File(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str fetchTime: str @@ -177,54 +169,54 @@ class GoogleDevtoolsArtifactregistryV1File(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - repositoryBase: typing_extensions.Literal[ + repositoryBase: typing.Literal[ "REPOSITORY_BASE_UNSPECIFIED", "DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT" ] repositoryPath: str @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - repositoryBase: typing_extensions.Literal[ + repositoryBase: typing.Literal[ "REPOSITORY_BASE_UNSPECIFIED", "CENTOS", "CENTOS_DEBUG", @@ -236,22 +228,20 @@ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicR repositoryPath: str @typing.type_check_only -class GoogleDevtoolsArtifactregistryV1Rule(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleDevtoolsArtifactregistryV1Rule(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] condition: Expr name: str - operation: typing_extensions.Literal["OPERATION_UNSPECIFIED", "DOWNLOAD"] + operation: typing.Literal["OPERATION_UNSPECIFIED", "DOWNLOAD"] packageId: str @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256" - ] +class Hash(typing.TypedDict, total=False): + type: typing.Literal["HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256"] value: str @typing.type_check_only -class ImageManifest(typing_extensions.TypedDict, total=False): +class ImageManifest(typing.TypedDict, total=False): architecture: str digest: str mediaType: str @@ -261,143 +251,143 @@ class ImageManifest(typing_extensions.TypedDict, total=False): variant: str @typing.type_check_only -class ImportAptArtifactsErrorInfo(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsErrorInfo(typing.TypedDict, total=False): error: Status gcsSource: ImportAptArtifactsGcsSource @typing.type_check_only -class ImportAptArtifactsGcsSource(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsGcsSource(typing.TypedDict, total=False): uris: _list[str] useWildcards: bool @typing.type_check_only -class ImportAptArtifactsMetadata(typing_extensions.TypedDict, total=False): ... +class ImportAptArtifactsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportAptArtifactsRequest(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsRequest(typing.TypedDict, total=False): gcsSource: ImportAptArtifactsGcsSource @typing.type_check_only -class ImportAptArtifactsResponse(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsResponse(typing.TypedDict, total=False): aptArtifacts: _list[AptArtifact] errors: _list[ImportAptArtifactsErrorInfo] @typing.type_check_only -class ImportGoogetArtifactsErrorInfo(typing_extensions.TypedDict, total=False): +class ImportGoogetArtifactsErrorInfo(typing.TypedDict, total=False): error: Status gcsSource: ImportGoogetArtifactsGcsSource @typing.type_check_only -class ImportGoogetArtifactsGcsSource(typing_extensions.TypedDict, total=False): +class ImportGoogetArtifactsGcsSource(typing.TypedDict, total=False): uris: _list[str] useWildcards: bool @typing.type_check_only -class ImportGoogetArtifactsMetadata(typing_extensions.TypedDict, total=False): ... +class ImportGoogetArtifactsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportGoogetArtifactsRequest(typing_extensions.TypedDict, total=False): +class ImportGoogetArtifactsRequest(typing.TypedDict, total=False): gcsSource: ImportGoogetArtifactsGcsSource @typing.type_check_only -class ImportGoogetArtifactsResponse(typing_extensions.TypedDict, total=False): +class ImportGoogetArtifactsResponse(typing.TypedDict, total=False): errors: _list[ImportGoogetArtifactsErrorInfo] googetArtifacts: _list[GoogetArtifact] @typing.type_check_only -class ImportYumArtifactsErrorInfo(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsErrorInfo(typing.TypedDict, total=False): error: Status gcsSource: ImportYumArtifactsGcsSource @typing.type_check_only -class ImportYumArtifactsGcsSource(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsGcsSource(typing.TypedDict, total=False): uris: _list[str] useWildcards: bool @typing.type_check_only -class ImportYumArtifactsMetadata(typing_extensions.TypedDict, total=False): ... +class ImportYumArtifactsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportYumArtifactsRequest(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsRequest(typing.TypedDict, total=False): gcsSource: ImportYumArtifactsGcsSource @typing.type_check_only -class ImportYumArtifactsResponse(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsResponse(typing.TypedDict, total=False): errors: _list[ImportYumArtifactsErrorInfo] yumArtifacts: _list[YumArtifact] @typing.type_check_only -class KfpArtifact(typing_extensions.TypedDict, total=False): +class KfpArtifact(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ListAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListAttachmentsResponse(typing.TypedDict, total=False): attachments: _list[Attachment] nextPageToken: str @typing.type_check_only -class ListDockerImagesResponse(typing_extensions.TypedDict, total=False): +class ListDockerImagesResponse(typing.TypedDict, total=False): dockerImages: _list[DockerImage] nextPageToken: str @typing.type_check_only -class ListFilesResponse(typing_extensions.TypedDict, total=False): +class ListFilesResponse(typing.TypedDict, total=False): files: _list[GoogleDevtoolsArtifactregistryV1File] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMavenArtifactsResponse(typing_extensions.TypedDict, total=False): +class ListMavenArtifactsResponse(typing.TypedDict, total=False): mavenArtifacts: _list[MavenArtifact] nextPageToken: str @typing.type_check_only -class ListNpmPackagesResponse(typing_extensions.TypedDict, total=False): +class ListNpmPackagesResponse(typing.TypedDict, total=False): nextPageToken: str npmPackages: _list[NpmPackage] @typing.type_check_only -class ListPackagesResponse(typing_extensions.TypedDict, total=False): +class ListPackagesResponse(typing.TypedDict, total=False): nextPageToken: str packages: _list[Package] @typing.type_check_only -class ListPrewarmedArtifactsResponse(typing_extensions.TypedDict, total=False): +class ListPrewarmedArtifactsResponse(typing.TypedDict, total=False): nextPageToken: str prewarmedArtifacts: _list[PrewarmedArtifact] @typing.type_check_only -class ListPythonPackagesResponse(typing_extensions.TypedDict, total=False): +class ListPythonPackagesResponse(typing.TypedDict, total=False): nextPageToken: str pythonPackages: _list[PythonPackage] @typing.type_check_only -class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] @typing.type_check_only -class ListRulesResponse(typing_extensions.TypedDict, total=False): +class ListRulesResponse(typing.TypedDict, total=False): nextPageToken: str rules: _list[GoogleDevtoolsArtifactregistryV1Rule] @typing.type_check_only -class ListTagsResponse(typing_extensions.TypedDict, total=False): +class ListTagsResponse(typing.TypedDict, total=False): nextPageToken: str tags: _list[Tag] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -405,7 +395,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MavenArtifact(typing_extensions.TypedDict, total=False): +class MavenArtifact(typing.TypedDict, total=False): artifactId: str createTime: str groupId: str @@ -415,21 +405,20 @@ class MavenArtifact(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class MavenRepository(typing_extensions.TypedDict, total=False): +class MavenRepository(typing.TypedDict, total=False): customRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository - publicRepository: typing_extensions.Literal[ - "PUBLIC_REPOSITORY_UNSPECIFIED", "MAVEN_CENTRAL" - ] + publicRepository: typing.Literal["PUBLIC_REPOSITORY_UNSPECIFIED", "MAVEN_CENTRAL"] @typing.type_check_only -class MavenRepositoryConfig(typing_extensions.TypedDict, total=False): +class MavenRepositoryConfig(typing.TypedDict, total=False): allowSnapshotOverwrites: bool - versionPolicy: typing_extensions.Literal[ - "VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT" - ] + versionPolicy: typing.Literal["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"] + +@typing.type_check_only +class NoCacheFetching(typing.TypedDict, total=False): ... @typing.type_check_only -class NpmPackage(typing_extensions.TypedDict, total=False): +class NpmPackage(typing.TypedDict, total=False): createTime: str name: str packageName: str @@ -438,14 +427,12 @@ class NpmPackage(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class NpmRepository(typing_extensions.TypedDict, total=False): +class NpmRepository(typing.TypedDict, total=False): customRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository - publicRepository: typing_extensions.Literal[ - "PUBLIC_REPOSITORY_UNSPECIFIED", "NPMJS" - ] + publicRepository: typing.Literal["PUBLIC_REPOSITORY_UNSPECIFIED", "NPMJS"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -453,10 +440,10 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): ... +class OperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): +class Package(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str displayName: str @@ -464,11 +451,9 @@ class Package(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PlatformLogsConfig(typing_extensions.TypedDict, total=False): - loggingState: typing_extensions.Literal[ - "LOGGING_STATE_UNSPECIFIED", "ENABLED", "DISABLED" - ] - severityLevel: typing_extensions.Literal[ +class PlatformLogsConfig(typing.TypedDict, total=False): + loggingState: typing.Literal["LOGGING_STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + severityLevel: typing.Literal[ "SEVERITY_LEVEL_UNSPECIFIED", "DEBUG", "INFO", @@ -481,13 +466,13 @@ class PlatformLogsConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrewarmArtifactRequest(typing_extensions.TypedDict, total=False): +class PrewarmArtifactRequest(typing.TypedDict, total=False): force: bool platform: PrewarmPlatform retentionDays: str @@ -496,28 +481,28 @@ class PrewarmArtifactRequest(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PrewarmArtifactResponse(typing_extensions.TypedDict, total=False): +class PrewarmArtifactResponse(typing.TypedDict, total=False): prewarmedArtifact: PrewarmedArtifact @typing.type_check_only -class PrewarmPlatform(typing_extensions.TypedDict, total=False): +class PrewarmPlatform(typing.TypedDict, total=False): architecture: str os: str @typing.type_check_only -class PrewarmedArtifact(typing_extensions.TypedDict, total=False): +class PrewarmedArtifact(typing.TypedDict, total=False): expirationTime: str location: str uri: str @typing.type_check_only -class ProjectConfig(typing_extensions.TypedDict, total=False): +class ProjectConfig(typing.TypedDict, total=False): name: str platformLogsConfig: PlatformLogsConfig @typing.type_check_only -class ProjectSettings(typing_extensions.TypedDict, total=False): - legacyRedirectionState: typing_extensions.Literal[ +class ProjectSettings(typing.TypedDict, total=False): + legacyRedirectionState: typing.Literal[ "REDIRECTION_STATE_UNSPECIFIED", "REDIRECTION_FROM_GCR_IO_DISABLED", "REDIRECTION_FROM_GCR_IO_ENABLED", @@ -529,7 +514,7 @@ class ProjectSettings(typing_extensions.TypedDict, total=False): pullPercent: int @typing.type_check_only -class PythonPackage(typing_extensions.TypedDict, total=False): +class PythonPackage(typing.TypedDict, total=False): createTime: str name: str packageName: str @@ -538,42 +523,43 @@ class PythonPackage(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PythonRepository(typing_extensions.TypedDict, total=False): +class PythonRepository(typing.TypedDict, total=False): customRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository - publicRepository: typing_extensions.Literal["PUBLIC_REPOSITORY_UNSPECIFIED", "PYPI"] + publicRepository: typing.Literal["PUBLIC_REPOSITORY_UNSPECIFIED", "PYPI"] @typing.type_check_only -class RemoteRepositoryConfig(typing_extensions.TypedDict, total=False): +class RemoteRepositoryConfig(typing.TypedDict, total=False): aptRepository: AptRepository commonRepository: CommonRemoteRepository description: str disableUpstreamValidation: bool dockerRepository: DockerRepository mavenRepository: MavenRepository + noCache: NoCacheFetching npmRepository: NpmRepository pythonRepository: PythonRepository upstreamCredentials: UpstreamCredentials yumRepository: YumRepository @typing.type_check_only -class RemovePrewarmedArtifactRequest(typing_extensions.TypedDict, total=False): +class RemovePrewarmedArtifactRequest(typing.TypedDict, total=False): streamLocation: str tag: str version: str @typing.type_check_only -class RemovePrewarmedArtifactResponse(typing_extensions.TypedDict, total=False): +class RemovePrewarmedArtifactResponse(typing.TypedDict, total=False): prewarmedArtifact: PrewarmedArtifact @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): cleanupPolicies: dict[str, typing.Any] cleanupPolicyDryRun: bool createTime: str description: str disallowUnspecifiedMode: bool dockerConfig: DockerRepositoryConfig - format: typing_extensions.Literal[ + format: typing.Literal[ "FORMAT_UNSPECIFIED", "DOCKER", "MAVEN", @@ -590,7 +576,7 @@ class Repository(typing_extensions.TypedDict, total=False): kmsKeyName: str labels: dict[str, typing.Any] mavenConfig: MavenRepositoryConfig - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "STANDARD_REPOSITORY", "VIRTUAL_REPOSITORY", @@ -610,135 +596,135 @@ class Repository(typing_extensions.TypedDict, total=False): vulnerabilityScanningConfig: VulnerabilityScanningConfig @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UploadAptArtifactMediaResponse(typing_extensions.TypedDict, total=False): +class UploadAptArtifactMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadAptArtifactMetadata(typing_extensions.TypedDict, total=False): ... +class UploadAptArtifactMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadAptArtifactRequest(typing_extensions.TypedDict, total=False): ... +class UploadAptArtifactRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadAptArtifactResponse(typing_extensions.TypedDict, total=False): +class UploadAptArtifactResponse(typing.TypedDict, total=False): aptArtifacts: _list[AptArtifact] @typing.type_check_only -class UploadFileMediaResponse(typing_extensions.TypedDict, total=False): +class UploadFileMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadFileRequest(typing_extensions.TypedDict, total=False): +class UploadFileRequest(typing.TypedDict, total=False): fileId: str @typing.type_check_only -class UploadGenericArtifactMediaResponse(typing_extensions.TypedDict, total=False): +class UploadGenericArtifactMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadGenericArtifactMetadata(typing_extensions.TypedDict, total=False): ... +class UploadGenericArtifactMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadGenericArtifactRequest(typing_extensions.TypedDict, total=False): +class UploadGenericArtifactRequest(typing.TypedDict, total=False): filename: str packageId: str versionId: str @typing.type_check_only -class UploadGoModuleMediaResponse(typing_extensions.TypedDict, total=False): +class UploadGoModuleMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadGoModuleMetadata(typing_extensions.TypedDict, total=False): ... +class UploadGoModuleMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadGoModuleRequest(typing_extensions.TypedDict, total=False): ... +class UploadGoModuleRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadGoogetArtifactMediaResponse(typing_extensions.TypedDict, total=False): +class UploadGoogetArtifactMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadGoogetArtifactMetadata(typing_extensions.TypedDict, total=False): ... +class UploadGoogetArtifactMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadGoogetArtifactRequest(typing_extensions.TypedDict, total=False): ... +class UploadGoogetArtifactRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadGoogetArtifactResponse(typing_extensions.TypedDict, total=False): +class UploadGoogetArtifactResponse(typing.TypedDict, total=False): googetArtifacts: _list[GoogetArtifact] @typing.type_check_only -class UploadKfpArtifactMediaResponse(typing_extensions.TypedDict, total=False): +class UploadKfpArtifactMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadKfpArtifactMetadata(typing_extensions.TypedDict, total=False): ... +class UploadKfpArtifactMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadKfpArtifactRequest(typing_extensions.TypedDict, total=False): +class UploadKfpArtifactRequest(typing.TypedDict, total=False): description: str tags: _list[str] @typing.type_check_only -class UploadYumArtifactMediaResponse(typing_extensions.TypedDict, total=False): +class UploadYumArtifactMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadYumArtifactMetadata(typing_extensions.TypedDict, total=False): ... +class UploadYumArtifactMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadYumArtifactRequest(typing_extensions.TypedDict, total=False): ... +class UploadYumArtifactRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadYumArtifactResponse(typing_extensions.TypedDict, total=False): +class UploadYumArtifactResponse(typing.TypedDict, total=False): yumArtifacts: _list[YumArtifact] @typing.type_check_only -class UpstreamCredentials(typing_extensions.TypedDict, total=False): +class UpstreamCredentials(typing.TypedDict, total=False): usernamePasswordCredentials: UsernamePasswordCredentials @typing.type_check_only -class UpstreamPolicy(typing_extensions.TypedDict, total=False): +class UpstreamPolicy(typing.TypedDict, total=False): id: str priority: int repository: str @typing.type_check_only -class UsernamePasswordCredentials(typing_extensions.TypedDict, total=False): +class UsernamePasswordCredentials(typing.TypedDict, total=False): passwordSecretVersion: str username: str @typing.type_check_only -class VPCSCConfig(typing_extensions.TypedDict, total=False): +class VPCSCConfig(typing.TypedDict, total=False): name: str - vpcscPolicy: typing_extensions.Literal["VPCSC_POLICY_UNSPECIFIED", "DENY", "ALLOW"] + vpcscPolicy: typing.Literal["VPCSC_POLICY_UNSPECIFIED", "DENY", "ALLOW"] @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str description: str @@ -749,15 +735,15 @@ class Version(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class VirtualRepositoryConfig(typing_extensions.TypedDict, total=False): +class VirtualRepositoryConfig(typing.TypedDict, total=False): upstreamPolicies: _list[UpstreamPolicy] @typing.type_check_only -class VulnerabilityScanningConfig(typing_extensions.TypedDict, total=False): - enablementConfig: typing_extensions.Literal[ +class VulnerabilityScanningConfig(typing.TypedDict, total=False): + enablementConfig: typing.Literal[ "ENABLEMENT_CONFIG_UNSPECIFIED", "INHERITED", "DISABLED" ] - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "SCANNING_UNSUPPORTED", "SCANNING_DISABLED", @@ -767,15 +753,13 @@ class VulnerabilityScanningConfig(typing_extensions.TypedDict, total=False): lastEnableTime: str @typing.type_check_only -class YumArtifact(typing_extensions.TypedDict, total=False): +class YumArtifact(typing.TypedDict, total=False): architecture: str name: str packageName: str - packageType: typing_extensions.Literal[ - "PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE" - ] + packageType: typing.Literal["PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE"] @typing.type_check_only -class YumRepository(typing_extensions.TypedDict, total=False): +class YumRepository(typing.TypedDict, total=False): customRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository publicRepository: GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi index 629abd15c..938eae058 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -99,7 +98,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "VERSION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -112,7 +111,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VERSION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi index 26a714584..ba94e5ae0 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): createTime: str hashes: _list[Hash] name: str @@ -30,44 +28,42 @@ class File(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256" - ] +class Hash(typing.TypedDict, total=False): + type: typing.Literal["HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256"] value: str @typing.type_check_only -class ListFilesResponse(typing_extensions.TypedDict, total=False): +class ListFilesResponse(typing.TypedDict, total=False): files: _list[File] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListPackagesResponse(typing_extensions.TypedDict, total=False): +class ListPackagesResponse(typing.TypedDict, total=False): nextPageToken: str packages: _list[Package] @typing.type_check_only -class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] @typing.type_check_only -class ListTagsResponse(typing_extensions.TypedDict, total=False): +class ListTagsResponse(typing.TypedDict, total=False): nextPageToken: str tags: _list[Tag] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -75,7 +71,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -83,23 +79,23 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): +class Package(typing.TypedDict, total=False): createTime: str displayName: str name: str updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): createTime: str description: str - format: typing_extensions.Literal[ + format: typing.Literal[ "FORMAT_UNSPECIFIED", "DOCKER", "MAVEN", "NPM", "APT", "YUM", "GOOGET", "PYTHON" ] kmsKeyName: str @@ -111,30 +107,30 @@ class Repository(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): createTime: str description: str name: str diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi index bf0cdf1b8..7c5b02b4e 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -122,7 +121,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "VERSION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -135,7 +134,7 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VERSION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi index ee3d49b9e..cebcf63a5 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi @@ -1,43 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AptArtifact(typing_extensions.TypedDict, total=False): +class AptArtifact(typing.TypedDict, total=False): architecture: str component: str controlFile: str name: str packageName: str - packageType: typing_extensions.Literal[ - "PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE" - ] + packageType: typing.Literal["PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE"] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class DownloadFileResponse(typing_extensions.TypedDict, total=False): ... +class DownloadFileResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleDevtoolsArtifactregistryV1beta2File( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsArtifactregistryV1beta2File(typing.TypedDict, total=False): createTime: str hashes: _list[Hash] name: str @@ -46,88 +40,86 @@ class GoogleDevtoolsArtifactregistryV1beta2File( updateTime: str @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256" - ] +class Hash(typing.TypedDict, total=False): + type: typing.Literal["HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256"] value: str @typing.type_check_only -class ImportAptArtifactsErrorInfo(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsErrorInfo(typing.TypedDict, total=False): error: Status gcsSource: ImportAptArtifactsGcsSource @typing.type_check_only -class ImportAptArtifactsGcsSource(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsGcsSource(typing.TypedDict, total=False): uris: _list[str] useWildcards: bool @typing.type_check_only -class ImportAptArtifactsMetadata(typing_extensions.TypedDict, total=False): ... +class ImportAptArtifactsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportAptArtifactsRequest(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsRequest(typing.TypedDict, total=False): gcsSource: ImportAptArtifactsGcsSource @typing.type_check_only -class ImportAptArtifactsResponse(typing_extensions.TypedDict, total=False): +class ImportAptArtifactsResponse(typing.TypedDict, total=False): aptArtifacts: _list[AptArtifact] errors: _list[ImportAptArtifactsErrorInfo] @typing.type_check_only -class ImportYumArtifactsErrorInfo(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsErrorInfo(typing.TypedDict, total=False): error: Status gcsSource: ImportYumArtifactsGcsSource @typing.type_check_only -class ImportYumArtifactsGcsSource(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsGcsSource(typing.TypedDict, total=False): uris: _list[str] useWildcards: bool @typing.type_check_only -class ImportYumArtifactsMetadata(typing_extensions.TypedDict, total=False): ... +class ImportYumArtifactsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportYumArtifactsRequest(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsRequest(typing.TypedDict, total=False): gcsSource: ImportYumArtifactsGcsSource @typing.type_check_only -class ImportYumArtifactsResponse(typing_extensions.TypedDict, total=False): +class ImportYumArtifactsResponse(typing.TypedDict, total=False): errors: _list[ImportYumArtifactsErrorInfo] yumArtifacts: _list[YumArtifact] @typing.type_check_only -class ListFilesResponse(typing_extensions.TypedDict, total=False): +class ListFilesResponse(typing.TypedDict, total=False): files: _list[GoogleDevtoolsArtifactregistryV1beta2File] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListPackagesResponse(typing_extensions.TypedDict, total=False): +class ListPackagesResponse(typing.TypedDict, total=False): nextPageToken: str packages: _list[Package] @typing.type_check_only -class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] @typing.type_check_only -class ListTagsResponse(typing_extensions.TypedDict, total=False): +class ListTagsResponse(typing.TypedDict, total=False): nextPageToken: str tags: _list[Tag] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -135,14 +127,12 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MavenRepositoryConfig(typing_extensions.TypedDict, total=False): +class MavenRepositoryConfig(typing.TypedDict, total=False): allowSnapshotOverwrites: bool - versionPolicy: typing_extensions.Literal[ - "VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT" - ] + versionPolicy: typing.Literal["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -150,10 +140,10 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): ... +class OperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): +class Package(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str displayName: str @@ -161,14 +151,14 @@ class Package(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProjectSettings(typing_extensions.TypedDict, total=False): - legacyRedirectionState: typing_extensions.Literal[ +class ProjectSettings(typing.TypedDict, total=False): + legacyRedirectionState: typing.Literal[ "REDIRECTION_STATE_UNSPECIFIED", "REDIRECTION_FROM_GCR_IO_DISABLED", "REDIRECTION_FROM_GCR_IO_ENABLED", @@ -180,10 +170,10 @@ class ProjectSettings(typing_extensions.TypedDict, total=False): pullPercent: int @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): createTime: str description: str - format: typing_extensions.Literal[ + format: typing.Literal[ "FORMAT_UNSPECIFIED", "DOCKER", "MAVEN", "NPM", "APT", "YUM", "GOOGET", "PYTHON" ] kmsKeyName: str @@ -196,58 +186,58 @@ class Repository(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UploadAptArtifactMediaResponse(typing_extensions.TypedDict, total=False): +class UploadAptArtifactMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadAptArtifactMetadata(typing_extensions.TypedDict, total=False): ... +class UploadAptArtifactMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadAptArtifactRequest(typing_extensions.TypedDict, total=False): ... +class UploadAptArtifactRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadAptArtifactResponse(typing_extensions.TypedDict, total=False): +class UploadAptArtifactResponse(typing.TypedDict, total=False): aptArtifacts: _list[AptArtifact] @typing.type_check_only -class UploadYumArtifactMediaResponse(typing_extensions.TypedDict, total=False): +class UploadYumArtifactMediaResponse(typing.TypedDict, total=False): operation: Operation @typing.type_check_only -class UploadYumArtifactMetadata(typing_extensions.TypedDict, total=False): ... +class UploadYumArtifactMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadYumArtifactRequest(typing_extensions.TypedDict, total=False): ... +class UploadYumArtifactRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadYumArtifactResponse(typing_extensions.TypedDict, total=False): +class UploadYumArtifactResponse(typing.TypedDict, total=False): yumArtifacts: _list[YumArtifact] @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): createTime: str description: str metadata: dict[str, typing.Any] @@ -256,10 +246,8 @@ class Version(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class YumArtifact(typing_extensions.TypedDict, total=False): +class YumArtifact(typing.TypedDict, total=False): architecture: str name: str packageName: str - packageType: typing_extensions.Literal[ - "PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE" - ] + packageType: typing.Literal["PACKAGE_TYPE_UNSPECIFIED", "BINARY", "SOURCE"] diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi index 247fdf1f1..78eb15d2a 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -54,7 +53,88 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class DbFrameworkComplianceReportsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DbControlComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest + | None + ): ... + + def aggregate( + self, + *, + name: str, + filter: str | None = ..., + interval_endTime: str | None = ..., + interval_startTime: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponseHttpRequest: ... + def fetch( + self, + *, + name: str, + endTime: str | None = ..., + filter: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponseHttpRequest: ... + def dbControlComplianceSummaries( + self, + ) -> DbControlComplianceSummariesResource: ... + + @typing.type_check_only + class DbFrameworkComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest + | None + ): ... + def dbFindingSummaries(self) -> DbFindingSummariesResource: ... + def dbFrameworkComplianceReports( + self, + ) -> DbFrameworkComplianceReportsResource: ... + def dbFrameworkComplianceSummaries( + self, + ) -> DbFrameworkComplianceSummariesResource: ... def locations(self) -> LocationsResource: ... @@ -82,6 +162,81 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class DbFrameworkComplianceReportsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DbControlComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest + | None + ): ... + + def aggregate( + self, + *, + name: str, + filter: str | None = ..., + interval_endTime: str | None = ..., + interval_startTime: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponseHttpRequest: ... + def fetch( + self, + *, + name: str, + endTime: str | None = ..., + filter: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponseHttpRequest: ... + def dbControlComplianceSummaries( + self, + ) -> DbControlComplianceSummariesResource: ... + + @typing.type_check_only + class DbFrameworkComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest + | None + ): ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get( @@ -140,13 +295,6 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): body: GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest, **kwargs: typing.Any, ) -> GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponseHttpRequest: ... - def batchAcknowledgeViolations( - self, - *, - parent: str, - body: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest, - **kwargs: typing.Any, - ) -> GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAssuredworkloadsV1ViolationHttpRequest: ... @@ -255,6 +403,12 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): def violations(self) -> ViolationsResource: ... def dbFindingSummaries(self) -> DbFindingSummariesResource: ... + def dbFrameworkComplianceReports( + self, + ) -> DbFrameworkComplianceReportsResource: ... + def dbFrameworkComplianceSummaries( + self, + ) -> DbFrameworkComplianceSummariesResource: ... def operations(self) -> OperationsResource: ... def workloads(self) -> WorkloadsResource: ... @@ -284,7 +438,88 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class DbFrameworkComplianceReportsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DbControlComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest + | None + ): ... + + def aggregate( + self, + *, + name: str, + filter: str | None = ..., + interval_endTime: str | None = ..., + interval_startTime: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponseHttpRequest: ... + def fetch( + self, + *, + name: str, + endTime: str | None = ..., + filter: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponseHttpRequest: ... + def dbControlComplianceSummaries( + self, + ) -> DbControlComplianceSummariesResource: ... + + @typing.type_check_only + class DbFrameworkComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest + | None + ): ... + def dbFindingSummaries(self) -> DbFindingSummariesResource: ... + def dbFrameworkComplianceReports( + self, + ) -> DbFrameworkComplianceReportsResource: ... + def dbFrameworkComplianceSummaries( + self, + ) -> DbFrameworkComplianceSummariesResource: ... def locations(self) -> LocationsResource: ... @@ -316,34 +551,34 @@ class GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponseHttpRequest( ) -> GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse: ... @typing.type_check_only -class GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponseHttpRequest( +class GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse: ... + ) -> GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponse: ... @typing.type_check_only -class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponseHttpRequest( +class GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse: ... + ) -> GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse: ... @typing.type_check_only -class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponseHttpRequest( +class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse: ... + ) -> GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse: ... @typing.type_check_only class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponseHttpRequest( @@ -365,6 +600,26 @@ class GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponse: ... + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -375,6 +630,16 @@ class GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse: ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1ListViolationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi index 896d6cfd9..04138aa6f 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - acknowledgeType: typing_extensions.Literal[ + acknowledgeType: typing.Literal[ "ACKNOWLEDGE_TYPE_UNSPECIFIED", "SINGLE_VIOLATION", "EXISTING_CHILD_RESOURCE_VIOLATIONS", @@ -18,39 +16,54 @@ class GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponse( + typing.TypedDict, total=False +): + aggregatedComplianceReports: _list[ + GoogleCloudAssuredworkloadsV1AggregatedComplianceReport + ] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1AggregatedComplianceReport( + typing.TypedDict, total=False +): + controlAssessmentDetails: GoogleCloudAssuredworkloadsV1ControlAssessmentDetails + reportTime: str + @typing.type_check_only class GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetMoveAnalyses: _list[GoogleCloudAssuredworkloadsV1AssetMoveAnalysis] nextPageToken: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] + action: typing.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] createTime: str updateName: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] + action: typing.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] @typing.type_check_only class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appliedUpdate: GoogleCloudAssuredworkloadsV1WorkloadUpdate @typing.type_check_only class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): archiveTime: str batchSize: int @@ -61,41 +74,78 @@ class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): movedEventsCount: int @typing.type_check_only -class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis(typing.TypedDict, total=False): analysisGroups: _list[GoogleCloudAssuredworkloadsV1MoveAnalysisGroup] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAssuredworkloadsV1CELExpression(typing.TypedDict, total=False): + expression: str + resourceTypesValues: GoogleCloudAssuredworkloadsV1StringList + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1CloudControlAssessmentDetails( + typing.TypedDict, total=False ): - acknowledgeType: typing_extensions.Literal[ - "ACKNOWLEDGE_TYPE_UNSPECIFIED", - "SINGLE_VIOLATION", - "EXISTING_CHILD_RESOURCE_VIOLATIONS", + evaluationState: typing.Literal[ + "EVALUATION_STATE_UNSPECIFIED", + "EVALUATION_STATE_PASSED", + "EVALUATION_STATE_FAILED", + "EVALUATION_STATE_NOT_ASSESSED", ] - comment: str - names: _list[str] + findingsCount: int @typing.type_check_only -class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse( - typing_extensions.TypedDict, total=False +class GoogleCloudAssuredworkloadsV1CloudControlReport(typing.TypedDict, total=False): + categories: _list[str] + cloudControl: str + cloudControlAssessmentDetails: ( + GoogleCloudAssuredworkloadsV1CloudControlAssessmentDetails + ) + cloudControlDeployment: str + cloudControlType: typing.Literal["TYPE_UNSPECIFIED", "CUSTOM", "BUILT_IN"] + description: str + displayName: str + enforcementMode: typing.Literal[ + "ENFORCEMENT_MODE_UNSPECIFIED", "PREVENTIVE", "DETECTIVE", "AUDIT" + ] + findingCategory: str + findingSeverity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + frameworkMajorRevisionIds: _list[str] + majorRevisionId: str + manualCloudControlAssessmentDetails: ( + GoogleCloudAssuredworkloadsV1ManualCloudControlAssessmentDetails + ) + minorRevisionId: str + rules: _list[GoogleCloudAssuredworkloadsV1Rule] + similarControls: _list[GoogleCloudAssuredworkloadsV1SimilarControls] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ControlAssessmentDetails( + typing.TypedDict, total=False ): - acknowledgedViolationsCount: int + assessedPassingControlIds: _list[str] + assessedPassingControls: int + failingControlIds: _list[str] + failingControls: int + notAssessedControlIds: _list[str] + notAssessedControls: int + passingControlIds: _list[str] + passingControls: int @typing.type_check_only class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - complianceRegime: typing_extensions.Literal[ + complianceRegime: typing.Literal[ "COMPLIANCE_REGIME_UNSPECIFIED", "ASSURED_WORKLOADS_FOR_PARTNERS", "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", @@ -148,11 +198,35 @@ class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata( parent: str @typing.type_check_only -class GoogleCloudAssuredworkloadsV1DbFindingSummary( - typing_extensions.TypedDict, total=False +class GoogleCloudAssuredworkloadsV1DbControlComplianceSummary( + typing.TypedDict, total=False ): + cloudControlReports: _list[GoogleCloudAssuredworkloadsV1CloudControlReport] + complianceFrameworks: _list[str] + control: str + controlResponsibilityType: typing.Literal[ + "REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED", + "GOOGLE", + "CUSTOMER", + "SHARED", + ] + description: str + displayName: str + isFakeControl: bool + name: str + overallEvaluationState: typing.Literal[ + "EVALUATION_STATE_UNSPECIFIED", + "EVALUATION_STATE_PASSED", + "EVALUATION_STATE_FAILED", + "EVALUATION_STATE_NOT_ASSESSED", + ] + similarControls: _list[GoogleCloudAssuredworkloadsV1SimilarControls] + totalFindingsCount: int + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1DbFindingSummary(typing.TypedDict, total=False): findingCategory: str - findingClass: typing_extensions.Literal[ + findingClass: typing.Literal[ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -166,32 +240,108 @@ class GoogleCloudAssuredworkloadsV1DbFindingSummary( ] findingCount: str name: str + organizationPolicyFindingCount: str relatedFrameworks: _list[str] - severity: typing_extensions.Literal[ + resourceFindingCount: str + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] updateTime: str +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1DbFrameworkComplianceSummary( + typing.TypedDict, total=False +): + controlAssessmentDetails: GoogleCloudAssuredworkloadsV1ControlAssessmentDetails + controlsPassingTrend: GoogleCloudAssuredworkloadsV1Trend + findingCount: str + framework: str + frameworkCategories: _list[ + typing.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "INDUSTRY_DEFINED_STANDARD", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", + ] + ] + frameworkDisplayName: str + frameworkType: typing.Literal["FRAMEWORK_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] + majorRevisionId: str + minorRevisionId: str + name: str + supportedCloudProviders: _list[ + typing.Literal["CLOUD_PROVIDER_UNSPECIFIED", "AWS", "AZURE", "GCP"] + ] + targetResourceDetails: _list[GoogleCloudAssuredworkloadsV1TargetResourceDetails] + @typing.type_check_only class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponse( + typing.TypedDict, total=False +): + controlAssessmentDetails: GoogleCloudAssuredworkloadsV1ControlAssessmentDetails + framework: str + frameworkCategories: _list[ + typing.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "INDUSTRY_DEFINED_STANDARD", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", + ] + ] + frameworkDescription: str + frameworkDisplayName: str + frameworkType: typing.Literal["FRAMEWORK_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] + majorRevisionId: str + minorRevisionId: str + name: str + supportedCloudProviders: _list[ + typing.Literal["CLOUD_PROVIDER_UNSPECIFIED", "AWS", "AZURE", "GCP"] + ] + targetResourceDetails: _list[GoogleCloudAssuredworkloadsV1TargetResourceDetails] + updateTime: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse( + typing.TypedDict, total=False +): + dbControlComplianceSummaries: _list[ + GoogleCloudAssuredworkloadsV1DbControlComplianceSummary + ] + nextPageToken: str + @typing.type_check_only class GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dbFindingSummaries: _list[GoogleCloudAssuredworkloadsV1DbFindingSummary] nextPageToken: str +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse( + typing.TypedDict, total=False +): + dbFrameworkComplianceSummaries: _list[ + GoogleCloudAssuredworkloadsV1DbFrameworkComplianceSummary + ] + nextPageToken: str + @typing.type_check_only class GoogleCloudAssuredworkloadsV1ListViolationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str totalSize: int @@ -199,47 +349,47 @@ class GoogleCloudAssuredworkloadsV1ListViolationsResponse( @typing.type_check_only class GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str workloadUpdates: _list[GoogleCloudAssuredworkloadsV1WorkloadUpdate] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1ListWorkloadsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1ListWorkloadsResponse(typing.TypedDict, total=False): nextPageToken: str workloads: _list[GoogleCloudAssuredworkloadsV1Workload] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1MoveAnalysisGroup( - typing_extensions.TypedDict, total=False +class GoogleCloudAssuredworkloadsV1ManualCloudControlAssessmentDetails( + typing.TypedDict, total=False ): + manualCloudControlGuide: _list[str] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1MoveAnalysisGroup(typing.TypedDict, total=False): analysisResult: GoogleCloudAssuredworkloadsV1MoveAnalysisResult displayName: str error: GoogleRpcStatus @typing.type_check_only -class GoogleCloudAssuredworkloadsV1MoveAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1MoveAnalysisResult(typing.TypedDict, total=False): blockers: _list[GoogleCloudAssuredworkloadsV1MoveImpact] warnings: _list[GoogleCloudAssuredworkloadsV1MoveImpact] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1MoveImpact(typing_extensions.TypedDict, total=False): +class GoogleCloudAssuredworkloadsV1MoveImpact(typing.TypedDict, total=False): detail: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str partnerPermissions: GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions updateMask: str @typing.type_check_only -class GoogleCloudAssuredworkloadsV1OrgPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudAssuredworkloadsV1OrgPolicy(typing.TypedDict, total=False): constraint: str inherit: bool reset: bool @@ -247,9 +397,7 @@ class GoogleCloudAssuredworkloadsV1OrgPolicy(typing_extensions.TypedDict, total= rule: GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule @typing.type_check_only -class GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule(typing.TypedDict, total=False): allowAll: bool denyAll: bool enforce: bool @@ -257,23 +405,21 @@ class GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule( @typing.type_check_only class GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1OrgPolicyUpdate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1OrgPolicyUpdate(typing.TypedDict, total=False): appliedPolicy: GoogleCloudAssuredworkloadsV1OrgPolicy suggestedPolicy: GoogleCloudAssuredworkloadsV1OrgPolicy @typing.type_check_only class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - restrictionType: typing_extensions.Literal[ + restrictionType: typing.Literal[ "RESTRICTION_TYPE_UNSPECIFIED", "ALLOW_ALL_GCP_RESOURCES", "ALLOW_COMPLIANT_RESOURCES", @@ -282,12 +428,12 @@ class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): archiveEndTime: str archiveStartTime: str @@ -298,18 +444,53 @@ class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): movedEventsCount: int @typing.type_check_only -class GoogleCloudAssuredworkloadsV1UpdateDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1Rule(typing.TypedDict, total=False): + celExpression: GoogleCloudAssuredworkloadsV1CELExpression + description: str + ruleActionTypes: _list[ + typing.Literal[ + "RULE_ACTION_TYPE_UNSPECIFIED", + "RULE_ACTION_TYPE_PREVENTIVE", + "RULE_ACTION_TYPE_DETECTIVE", + "RULE_ACTION_TYPE_AUDIT", + ] + ] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1SimilarControls(typing.TypedDict, total=False): + controlId: str + framework: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1StringList(typing.TypedDict, total=False): + values: _list[str] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1TargetResourceDetails(typing.TypedDict, total=False): + createTime: str + frameworkDeployment: str + majorRevisionId: str + minorRevisionId: str + targetResource: str + targetResourceDisplayName: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1Trend(typing.TypedDict, total=False): + duration: str + valuePercent: float + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1UpdateDetails(typing.TypedDict, total=False): orgPolicyUpdate: GoogleCloudAssuredworkloadsV1OrgPolicyUpdate @typing.type_check_only -class GoogleCloudAssuredworkloadsV1Violation(typing_extensions.TypedDict, total=False): +class GoogleCloudAssuredworkloadsV1Violation(typing.TypedDict, total=False): acknowledged: bool acknowledgementTime: str associatedOrgPolicyViolationId: str @@ -327,29 +508,25 @@ class GoogleCloudAssuredworkloadsV1Violation(typing_extensions.TypedDict, total= resolveTime: str resourceName: str resourceType: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION"] updateTime: str - violationType: typing_extensions.Literal[ + violationType: typing.Literal[ "VIOLATION_TYPE_UNSPECIFIED", "ORG_POLICY", "RESOURCE" ] @typing.type_check_only class GoogleCloudAssuredworkloadsV1ViolationExceptionContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acknowledgementTime: str comment: str userName: str @typing.type_check_only -class GoogleCloudAssuredworkloadsV1ViolationRemediation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1ViolationRemediation(typing.TypedDict, total=False): compliantValues: _list[str] instructions: GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", "REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", @@ -361,7 +538,7 @@ class GoogleCloudAssuredworkloadsV1ViolationRemediation( @typing.type_check_only class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consoleInstructions: ( GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole @@ -372,7 +549,7 @@ class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions( @typing.type_check_only class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalLinks: _list[str] consoleUris: _list[str] @@ -380,16 +557,16 @@ class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole( @typing.type_check_only class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalLinks: _list[str] gcloudCommands: _list[str] steps: _list[str] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=False): +class GoogleCloudAssuredworkloadsV1Workload(typing.TypedDict, total=False): billingAccount: str - complianceRegime: typing_extensions.Literal[ + complianceRegime: typing.Literal[ "COMPLIANCE_REGIME_UNSPECIFIED", "ASSURED_WORKLOADS_FOR_PARTNERS", "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", @@ -446,7 +623,7 @@ class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=F ) enableSovereignControls: bool etag: str - kajEnrollmentState: typing_extensions.Literal[ + kajEnrollmentState: typing.Literal[ "KAJ_ENROLLMENT_STATE_UNSPECIFIED", "KAJ_ENROLLMENT_STATE_PENDING", "KAJ_ENROLLMENT_STATE_COMPLETE", @@ -454,7 +631,7 @@ class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=F kmsSettings: GoogleCloudAssuredworkloadsV1WorkloadKMSSettings labels: dict[str, typing.Any] name: str - partner: typing_extensions.Literal[ + partner: typing.Literal[ "PARTNER_UNSPECIFIED", "LOCAL_CONTROLS_BY_S3NS", "SOVEREIGN_CONTROLS_BY_T_SYSTEMS", @@ -476,7 +653,7 @@ class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acknowledgedResourceViolationCount: int acknowledgedViolationCount: int @@ -485,9 +662,9 @@ class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus( @typing.type_check_only class GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ekmProvisioningErrorDomain: typing_extensions.Literal[ + ekmProvisioningErrorDomain: typing.Literal[ "EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED", "UNSPECIFIED_ERROR", "GOOGLE_SERVER_ERROR", @@ -495,13 +672,13 @@ class GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse( "EXTERNAL_PARTNER_ERROR", "TIMEOUT_ERROR", ] - ekmProvisioningErrorMapping: typing_extensions.Literal[ + ekmProvisioningErrorMapping: typing.Literal[ "EKM_PROVISIONING_ERROR_MAPPING_UNSPECIFIED", "INVALID_SERVICE_ACCOUNT", "MISSING_METRICS_SCOPE_ADMIN_PERMISSION", "MISSING_EKM_CONNECTION_ADMIN_PERMISSION", ] - ekmProvisioningState: typing_extensions.Literal[ + ekmProvisioningState: typing.Literal[ "EKM_PROVISIONING_STATE_UNSPECIFIED", "EKM_PROVISIONING_STATE_PENDING", "EKM_PROVISIONING_STATE_FAILED", @@ -509,15 +686,13 @@ class GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse( ] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1WorkloadKMSSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1WorkloadKMSSettings(typing.TypedDict, total=False): nextRotationTime: str rotationPeriod: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTransparencyLogsSupportCaseViewer: bool assuredWorkloadsMonitoring: bool @@ -525,11 +700,9 @@ class GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions( serviceAccessApprover: bool @typing.type_check_only -class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo(typing.TypedDict, total=False): resourceId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "CONSUMER_PROJECT", "CONSUMER_FOLDER", @@ -539,11 +712,11 @@ class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo( @typing.type_check_only class GoogleCloudAssuredworkloadsV1WorkloadResourceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str resourceId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "CONSUMER_PROJECT", "CONSUMER_FOLDER", @@ -553,10 +726,10 @@ class GoogleCloudAssuredworkloadsV1WorkloadResourceSettings( @typing.type_check_only class GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): setupErrors: _list[ - typing_extensions.Literal[ + typing.Literal[ "SETUP_ERROR_UNSPECIFIED", "ERROR_INVALID_BASE_SETUP", "ERROR_MISSING_EXTERNAL_SIGNING_KEY", @@ -564,38 +737,34 @@ class GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse( "ERROR_SETUP_CHECK_FAILED", ] ] - setupStatus: typing_extensions.Literal[ + setupStatus: typing.Literal[ "SETUP_STATE_UNSPECIFIED", "STATUS_PENDING", "STATUS_COMPLETE" ] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1WorkloadUpdate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1WorkloadUpdate(typing.TypedDict, total=False): createTime: str details: GoogleCloudAssuredworkloadsV1UpdateDetails name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "AVAILABLE", "APPLIED", "WITHDRAWN" - ] + state: typing.Literal["STATE_UNSPECIFIED", "AVAILABLE", "APPLIED", "WITHDRAWN"] updateTime: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - kajEnrollmentType: typing_extensions.Literal[ + kajEnrollmentType: typing.Literal[ "KAJ_ENROLLMENT_TYPE_UNSPECIFIED", "KEY_ACCESS_TRANSPARENCY_OFF" ] @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -603,10 +772,10 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi index 3864f410f..20ab9da91 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -30,10 +29,214 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponseHttpRequest: ... + @typing.type_check_only + class FoldersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DbFindingSummariesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class DbFrameworkComplianceReportsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DbControlComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest + | None + ): ... + + def aggregate( + self, + *, + name: str, + filter: str | None = ..., + interval_endTime: str | None = ..., + interval_startTime: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponseHttpRequest: ... + def fetch( + self, + *, + name: str, + endTime: str | None = ..., + filter: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponseHttpRequest: ... + def dbControlComplianceSummaries( + self, + ) -> DbControlComplianceSummariesResource: ... + + @typing.type_check_only + class DbFrameworkComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest + | None + ): ... + + def dbFindingSummaries(self) -> DbFindingSummariesResource: ... + def dbFrameworkComplianceReports( + self, + ) -> DbFrameworkComplianceReportsResource: ... + def dbFrameworkComplianceSummaries( + self, + ) -> DbFrameworkComplianceSummariesResource: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DbFindingSummariesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class DbFrameworkComplianceReportsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DbControlComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest + | None + ): ... + + def aggregate( + self, + *, + name: str, + filter: str | None = ..., + interval_endTime: str | None = ..., + interval_startTime: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponseHttpRequest: ... + def fetch( + self, + *, + name: str, + endTime: str | None = ..., + filter: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponseHttpRequest: ... + def dbControlComplianceSummaries( + self, + ) -> DbControlComplianceSummariesResource: ... + + @typing.type_check_only + class DbFrameworkComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest + | None + ): ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get( @@ -55,16 +258,6 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - @typing.type_check_only - class ViolationsResource(googleapiclient.discovery.Resource): - def batchAcknowledgeViolations( - self, - *, - parent: str, - body: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest, - **kwargs: typing.Any, - ) -> GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponseHttpRequest: ... - @typing.type_check_only class WorkloadsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -102,13 +295,6 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): body: GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest, **kwargs: typing.Any, ) -> GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponseHttpRequest: ... - def batchAcknowledgeViolations( - self, - *, - parent: str, - body: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest, - **kwargs: typing.Any, - ) -> GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudAssuredworkloadsV1beta1ViolationHttpRequest: ... @@ -208,22 +394,126 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): def updates(self) -> UpdatesResource: ... def violations(self) -> ViolationsResource: ... + def dbFindingSummaries(self) -> DbFindingSummariesResource: ... + def dbFrameworkComplianceReports( + self, + ) -> DbFrameworkComplianceReportsResource: ... + def dbFrameworkComplianceSummaries( + self, + ) -> DbFrameworkComplianceSummariesResource: ... def operations(self) -> OperationsResource: ... - def violations(self) -> ViolationsResource: ... def workloads(self) -> WorkloadsResource: ... + def locations(self) -> LocationsResource: ... + + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ViolationsResource(googleapiclient.discovery.Resource): - def batchAcknowledgeViolations( + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DbFindingSummariesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class DbFrameworkComplianceReportsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class DbControlComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest + | None + ): ... + + def aggregate( + self, + *, + name: str, + filter: str | None = ..., + interval_endTime: str | None = ..., + interval_startTime: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponseHttpRequest: ... + def fetch( + self, + *, + name: str, + endTime: str | None = ..., + filter: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponseHttpRequest: ... + def dbControlComplianceSummaries( + self, + ) -> DbControlComplianceSummariesResource: ... + + @typing.type_check_only + class DbFrameworkComplianceSummariesResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", + "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest, + previous_response: GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest + | None + ): ... + + def dbFindingSummaries(self) -> DbFindingSummariesResource: ... + def dbFrameworkComplianceReports( + self, + ) -> DbFrameworkComplianceReportsResource: ... + def dbFrameworkComplianceSummaries( self, - *, - parent: str, - body: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest, - **kwargs: typing.Any, - ) -> GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponseHttpRequest: ... + ) -> DbFrameworkComplianceSummariesResource: ... def locations(self) -> LocationsResource: ... - def violations(self) -> ViolationsResource: ... def new_batch_http_request( self, @@ -238,7 +528,9 @@ class AssuredworkloadsResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def assuredworkloads(self) -> AssuredworkloadsResource: ... + def folders(self) -> FoldersResource: ... def organizations(self) -> OrganizationsResource: ... + def projects(self) -> ProjectsResource: ... @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponseHttpRequest( @@ -251,34 +543,36 @@ class GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponseHttpRequest( ) -> GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse: ... @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponseHttpRequest( +class GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse: ... + ) -> ( + GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse + ): ... @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponseHttpRequest( +class GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse: ... + ) -> GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse: ... @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponseHttpRequest( +class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponseHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse: ... + ) -> GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse: ... @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponseHttpRequest( @@ -300,6 +594,48 @@ class GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponseHttpRequ num_retries: int = 0, ) -> GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse: ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse: ... + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse: ... + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse: ... + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ( + GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse + ): ... + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi index 6b420b9b6..1130fc9bf 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - acknowledgeType: typing_extensions.Literal[ + acknowledgeType: typing.Literal[ "ACKNOWLEDGE_TYPE_UNSPECIFIED", "SINGLE_VIOLATION", "EXISTING_CHILD_RESOURCE_VIOLATIONS", @@ -18,39 +16,54 @@ class GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse( + typing.TypedDict, total=False +): + aggregatedComplianceReports: _list[ + GoogleCloudAssuredworkloadsV1beta1AggregatedComplianceReport + ] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1AggregatedComplianceReport( + typing.TypedDict, total=False +): + controlAssessmentDetails: GoogleCloudAssuredworkloadsV1beta1ControlAssessmentDetails + reportTime: str + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetMoveAnalyses: _list[GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis] nextPageToken: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] + action: typing.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] createTime: str updateName: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] + action: typing.Literal["WORKLOAD_UPDATE_ACTION_UNSPECIFIED", "APPLY"] @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appliedUpdate: GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): archiveTime: str batchSize: int @@ -61,41 +74,82 @@ class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): movedEventsCount: int @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisGroups: _list[GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest( - typing_extensions.TypedDict, total=False +class GoogleCloudAssuredworkloadsV1beta1CELExpression(typing.TypedDict, total=False): + expression: str + resourceTypesValues: GoogleCloudAssuredworkloadsV1beta1StringList + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1CloudControlAssessmentDetails( + typing.TypedDict, total=False ): - acknowledgeType: typing_extensions.Literal[ - "ACKNOWLEDGE_TYPE_UNSPECIFIED", - "SINGLE_VIOLATION", - "EXISTING_CHILD_RESOURCE_VIOLATIONS", + evaluationState: typing.Literal[ + "EVALUATION_STATE_UNSPECIFIED", + "EVALUATION_STATE_PASSED", + "EVALUATION_STATE_FAILED", + "EVALUATION_STATE_NOT_ASSESSED", ] - comment: str - names: _list[str] + findingsCount: int + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1CloudControlReport( + typing.TypedDict, total=False +): + categories: _list[str] + cloudControl: str + cloudControlAssessmentDetails: ( + GoogleCloudAssuredworkloadsV1beta1CloudControlAssessmentDetails + ) + cloudControlDeployment: str + cloudControlType: typing.Literal["TYPE_UNSPECIFIED", "CUSTOM", "BUILT_IN"] + description: str + displayName: str + enforcementMode: typing.Literal[ + "ENFORCEMENT_MODE_UNSPECIFIED", "PREVENTIVE", "DETECTIVE", "AUDIT" + ] + findingCategory: str + findingSeverity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + frameworkMajorRevisionIds: _list[str] + majorRevisionId: str + manualCloudControlAssessmentDetails: ( + GoogleCloudAssuredworkloadsV1beta1ManualCloudControlAssessmentDetails + ) + minorRevisionId: str + rules: _list[GoogleCloudAssuredworkloadsV1beta1Rule] + similarControls: _list[GoogleCloudAssuredworkloadsV1beta1SimilarControls] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse( - typing_extensions.TypedDict, total=False +class GoogleCloudAssuredworkloadsV1beta1ControlAssessmentDetails( + typing.TypedDict, total=False ): - acknowledgedViolationsCount: int + assessedPassingControlIds: _list[str] + assessedPassingControls: int + failingControlIds: _list[str] + failingControls: int + notAssessedControlIds: _list[str] + notAssessedControls: int + passingControlIds: _list[str] + passingControls: int @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - complianceRegime: typing_extensions.Literal[ + complianceRegime: typing.Literal[ "COMPLIANCE_REGIME_UNSPECIFIED", "ASSURED_WORKLOADS_FOR_PARTNERS", "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", @@ -148,19 +202,155 @@ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata( parent: str resourceSettings: _list[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings] +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1DbControlComplianceSummary( + typing.TypedDict, total=False +): + cloudControlReports: _list[GoogleCloudAssuredworkloadsV1beta1CloudControlReport] + complianceFrameworks: _list[str] + control: str + controlResponsibilityType: typing.Literal[ + "REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED", + "GOOGLE", + "CUSTOMER", + "SHARED", + ] + description: str + displayName: str + isFakeControl: bool + name: str + overallEvaluationState: typing.Literal[ + "EVALUATION_STATE_UNSPECIFIED", + "EVALUATION_STATE_PASSED", + "EVALUATION_STATE_FAILED", + "EVALUATION_STATE_NOT_ASSESSED", + ] + similarControls: _list[GoogleCloudAssuredworkloadsV1beta1SimilarControls] + totalFindingsCount: int + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1DbFindingSummary(typing.TypedDict, total=False): + findingCategory: str + findingClass: typing.Literal[ + "FINDING_CLASS_UNSPECIFIED", + "THREAT", + "VULNERABILITY", + "MISCONFIGURATION", + "OBSERVATION", + "SCC_ERROR", + "POSTURE_VIOLATION", + "TOXIC_COMBINATION", + "SENSITIVE_DATA_RISK", + "CHOKEPOINT", + ] + findingCount: str + name: str + organizationPolicyFindingCount: str + relatedFrameworks: _list[str] + resourceFindingCount: str + severity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1DbFrameworkComplianceSummary( + typing.TypedDict, total=False +): + controlAssessmentDetails: GoogleCloudAssuredworkloadsV1beta1ControlAssessmentDetails + controlsPassingTrend: GoogleCloudAssuredworkloadsV1beta1Trend + findingCount: str + framework: str + frameworkCategories: _list[ + typing.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "INDUSTRY_DEFINED_STANDARD", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", + ] + ] + frameworkDisplayName: str + frameworkType: typing.Literal["FRAMEWORK_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] + majorRevisionId: str + minorRevisionId: str + name: str + supportedCloudProviders: _list[ + typing.Literal["CLOUD_PROVIDER_UNSPECIFIED", "AWS", "AZURE", "GCP"] + ] + targetResourceDetails: _list[ + GoogleCloudAssuredworkloadsV1beta1TargetResourceDetails + ] + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse( + typing.TypedDict, total=False +): + controlAssessmentDetails: GoogleCloudAssuredworkloadsV1beta1ControlAssessmentDetails + framework: str + frameworkCategories: _list[ + typing.Literal[ + "FRAMEWORK_CATEGORY_UNSPECIFIED", + "INDUSTRY_DEFINED_STANDARD", + "ASSURED_WORKLOADS", + "DATA_SECURITY", + "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", + ] + ] + frameworkDescription: str + frameworkDisplayName: str + frameworkType: typing.Literal["FRAMEWORK_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] + majorRevisionId: str + minorRevisionId: str + name: str + supportedCloudProviders: _list[ + typing.Literal["CLOUD_PROVIDER_UNSPECIFIED", "AWS", "AZURE", "GCP"] + ] + targetResourceDetails: _list[ + GoogleCloudAssuredworkloadsV1beta1TargetResourceDetails + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse( + typing.TypedDict, total=False +): + dbControlComplianceSummaries: _list[ + GoogleCloudAssuredworkloadsV1beta1DbControlComplianceSummary + ] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse( + typing.TypedDict, total=False +): + dbFindingSummaries: _list[GoogleCloudAssuredworkloadsV1beta1DbFindingSummary] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse( + typing.TypedDict, total=False +): + dbFrameworkComplianceSummaries: _list[ + GoogleCloudAssuredworkloadsV1beta1DbFrameworkComplianceSummary + ] + nextPageToken: str + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str totalSize: int @@ -168,21 +358,27 @@ class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str workloadUpdates: _list[GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate] @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str workloads: _list[GoogleCloudAssuredworkloadsV1beta1Workload] +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1ManualCloudControlAssessmentDetails( + typing.TypedDict, total=False +): + manualCloudControlGuide: _list[str] + @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisResult: GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult displayName: str @@ -190,21 +386,17 @@ class GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockers: _list[GoogleCloudAssuredworkloadsV1beta1MoveImpact] warnings: _list[GoogleCloudAssuredworkloadsV1beta1MoveImpact] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1MoveImpact( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1beta1MoveImpact(typing.TypedDict, total=False): detail: str @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1OrgPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1beta1OrgPolicy(typing.TypedDict, total=False): constraint: str inherit: bool reset: bool @@ -213,7 +405,7 @@ class GoogleCloudAssuredworkloadsV1beta1OrgPolicy( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowAll: bool denyAll: bool @@ -222,23 +414,21 @@ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate(typing.TypedDict, total=False): appliedPolicy: GoogleCloudAssuredworkloadsV1beta1OrgPolicy suggestedPolicy: GoogleCloudAssuredworkloadsV1beta1OrgPolicy @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - restrictionType: typing_extensions.Literal[ + restrictionType: typing.Literal[ "RESTRICTION_TYPE_UNSPECIFIED", "ALLOW_ALL_GCP_RESOURCES", "ALLOW_COMPLIANT_RESOURCES", @@ -247,12 +437,12 @@ class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): archiveEndTime: str archiveStartTime: str @@ -263,20 +453,55 @@ class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): movedEventsCount: int @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1UpdateDetails( - typing_extensions.TypedDict, total=False +class GoogleCloudAssuredworkloadsV1beta1Rule(typing.TypedDict, total=False): + celExpression: GoogleCloudAssuredworkloadsV1beta1CELExpression + description: str + ruleActionTypes: _list[ + typing.Literal[ + "RULE_ACTION_TYPE_UNSPECIFIED", + "RULE_ACTION_TYPE_PREVENTIVE", + "RULE_ACTION_TYPE_DETECTIVE", + "RULE_ACTION_TYPE_AUDIT", + ] + ] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1SimilarControls(typing.TypedDict, total=False): + controlId: str + framework: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1StringList(typing.TypedDict, total=False): + values: _list[str] + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1TargetResourceDetails( + typing.TypedDict, total=False ): + createTime: str + frameworkDeployment: str + majorRevisionId: str + minorRevisionId: str + targetResource: str + targetResourceDisplayName: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1Trend(typing.TypedDict, total=False): + duration: str + valuePercent: float + +@typing.type_check_only +class GoogleCloudAssuredworkloadsV1beta1UpdateDetails(typing.TypedDict, total=False): orgPolicyUpdate: GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1Violation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1beta1Violation(typing.TypedDict, total=False): acknowledged: bool acknowledgementTime: str associatedOrgPolicyViolationId: str @@ -296,17 +521,15 @@ class GoogleCloudAssuredworkloadsV1beta1Violation( resolveTime: str resourceName: str resourceType: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION"] updateTime: str - violationType: typing_extensions.Literal[ + violationType: typing.Literal[ "VIOLATION_TYPE_UNSPECIFIED", "ORG_POLICY", "RESOURCE" ] @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acknowledgementTime: str comment: str @@ -314,11 +537,11 @@ class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compliantValues: _list[str] instructions: GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", "REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", @@ -330,7 +553,7 @@ class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consoleInstructions: ( GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole @@ -341,7 +564,7 @@ class GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalLinks: _list[str] consoleUris: _list[str] @@ -349,20 +572,18 @@ class GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalLinks: _list[str] gcloudCommands: _list[str] steps: _list[str] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1Workload( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1beta1Workload(typing.TypedDict, total=False): availableUpdates: int billingAccount: str cjisSettings: GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings - complianceRegime: typing_extensions.Literal[ + complianceRegime: typing.Literal[ "COMPLIANCE_REGIME_UNSPECIFIED", "ASSURED_WORKLOADS_FOR_PARTNERS", "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", @@ -425,7 +646,7 @@ class GoogleCloudAssuredworkloadsV1beta1Workload( GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings ) il4Settings: GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings - kajEnrollmentState: typing_extensions.Literal[ + kajEnrollmentState: typing.Literal[ "KAJ_ENROLLMENT_STATE_UNSPECIFIED", "KAJ_ENROLLMENT_STATE_PENDING", "KAJ_ENROLLMENT_STATE_COMPLETE", @@ -433,7 +654,7 @@ class GoogleCloudAssuredworkloadsV1beta1Workload( kmsSettings: GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings labels: dict[str, typing.Any] name: str - partner: typing_extensions.Literal[ + partner: typing.Literal[ "PARTNER_UNSPECIFIED", "LOCAL_CONTROLS_BY_S3NS", "SOVEREIGN_CONTROLS_BY_T_SYSTEMS", @@ -457,13 +678,13 @@ class GoogleCloudAssuredworkloadsV1beta1Workload( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsSettings: GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acknowledgedResourceViolationCount: int acknowledgedViolationCount: int @@ -472,9 +693,9 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ekmProvisioningErrorDomain: typing_extensions.Literal[ + ekmProvisioningErrorDomain: typing.Literal[ "EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED", "UNSPECIFIED_ERROR", "GOOGLE_SERVER_ERROR", @@ -482,13 +703,13 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse( "EXTERNAL_PARTNER_ERROR", "TIMEOUT_ERROR", ] - ekmProvisioningErrorMapping: typing_extensions.Literal[ + ekmProvisioningErrorMapping: typing.Literal[ "EKM_PROVISIONING_ERROR_MAPPING_UNSPECIFIED", "INVALID_SERVICE_ACCOUNT", "MISSING_METRICS_SCOPE_ADMIN_PERMISSION", "MISSING_EKM_CONNECTION_ADMIN_PERMISSION", ] - ekmProvisioningState: typing_extensions.Literal[ + ekmProvisioningState: typing.Literal[ "EKM_PROVISIONING_STATE_UNSPECIFIED", "EKM_PROVISIONING_STATE_PENDING", "EKM_PROVISIONING_STATE_FAILED", @@ -497,32 +718,32 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsSettings: GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsSettings: GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsSettings: GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextRotationTime: str rotationPeriod: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTransparencyLogsSupportCaseViewer: bool assuredWorkloadsMonitoring: bool @@ -531,10 +752,10 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "CONSUMER_PROJECT", "CONSUMER_FOLDER", @@ -544,11 +765,11 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str resourceId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "CONSUMER_PROJECT", "CONSUMER_FOLDER", @@ -558,10 +779,10 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings( @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): setupErrors: _list[ - typing_extensions.Literal[ + typing.Literal[ "SETUP_ERROR_UNSPECIFIED", "ERROR_INVALID_BASE_SETUP", "ERROR_MISSING_EXTERNAL_SIGNING_KEY", @@ -569,38 +790,34 @@ class GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse( "ERROR_SETUP_CHECK_FAILED", ] ] - setupStatus: typing_extensions.Literal[ + setupStatus: typing.Literal[ "SETUP_STATE_UNSPECIFIED", "STATUS_PENDING", "STATUS_COMPLETE" ] @typing.type_check_only -class GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate(typing.TypedDict, total=False): createTime: str details: GoogleCloudAssuredworkloadsV1beta1UpdateDetails name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "AVAILABLE", "APPLIED", "WITHDRAWN" - ] + state: typing.Literal["STATE_UNSPECIFIED", "AVAILABLE", "APPLIED", "WITHDRAWN"] updateTime: str @typing.type_check_only class GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - kajEnrollmentType: typing_extensions.Literal[ + kajEnrollmentType: typing.Literal[ "KAJ_ENROLLMENT_TYPE_UNSPECIFIED", "KEY_ACCESS_TRANSPARENCY_OFF" ] @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -608,10 +825,10 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi index 2bc33e2dd..b2ee968d9 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi index adb5b45ce..63625d4a8 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi @@ -1,37 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceptProposalRequest(typing_extensions.TypedDict, total=False): +class AcceptProposalRequest(typing.TypedDict, total=False): proposalRevision: str @typing.type_check_only -class ActivateClientRequest(typing_extensions.TypedDict, total=False): ... +class ActivateClientRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ActivateClientUserRequest(typing_extensions.TypedDict, total=False): ... +class ActivateClientUserRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AdSize(typing_extensions.TypedDict, total=False): +class AdSize(typing.TypedDict, total=False): height: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID"] width: str @typing.type_check_only -class AddCreativeRequest(typing_extensions.TypedDict, total=False): +class AddCreativeRequest(typing.TypedDict, total=False): creative: str @typing.type_check_only -class AddNoteRequest(typing_extensions.TypedDict, total=False): +class AddNoteRequest(typing.TypedDict, total=False): note: Note @typing.type_check_only -class AuctionPackage(typing_extensions.TypedDict, total=False): +class AuctionPackage(typing.TypedDict, total=False): createTime: str creator: str dealOwnerSeatId: str @@ -46,61 +42,59 @@ class AuctionPackage(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BatchUpdateDealsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateDealsRequest(typing.TypedDict, total=False): requests: _list[UpdateDealRequest] @typing.type_check_only -class BatchUpdateDealsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateDealsResponse(typing.TypedDict, total=False): deals: _list[Deal] @typing.type_check_only -class CancelNegotiationRequest(typing_extensions.TypedDict, total=False): ... +class CancelNegotiationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Client(typing_extensions.TypedDict, total=False): +class Client(typing.TypedDict, total=False): displayName: str name: str partnerClientId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "CLIENT_ROLE_UNSPECIFIED", "CLIENT_DEAL_VIEWER", "CLIENT_DEAL_NEGOTIATOR", "CLIENT_DEAL_APPROVER", ] sellerVisible: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class ClientUser(typing_extensions.TypedDict, total=False): +class ClientUser(typing.TypedDict, total=False): email: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "INVITED", "ACTIVE", "INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "INVITED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): displayName: str email: str @typing.type_check_only -class CreativeRequirements(typing_extensions.TypedDict, total=False): - creativeFormat: typing_extensions.Literal[ +class CreativeRequirements(typing.TypedDict, total=False): + creativeFormat: typing.Literal[ "CREATIVE_FORMAT_UNSPECIFIED", "DISPLAY", "VIDEO", "AUDIO" ] - creativePreApprovalPolicy: typing_extensions.Literal[ + creativePreApprovalPolicy: typing.Literal[ "CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED", "SELLER_PRE_APPROVAL_REQUIRED", "SELLER_PRE_APPROVAL_NOT_REQUIRED", ] - creativeSafeFrameCompatibility: typing_extensions.Literal[ + creativeSafeFrameCompatibility: typing.Literal[ "CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED", "COMPATIBLE", "INCOMPATIBLE" ] maxAdDurationMs: str - programmaticCreativeSource: typing_extensions.Literal[ + programmaticCreativeSource: typing.Literal[ "PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED", "ADVERTISER", "PUBLISHER" ] - skippableAdType: typing_extensions.Literal[ + skippableAdType: typing.Literal[ "SKIPPABLE_AD_TYPE_UNSPECIFIED", "SKIPPABLE", "INSTREAM_SELECT", @@ -109,13 +103,13 @@ class CreativeRequirements(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CriteriaTargeting(typing_extensions.TypedDict, total=False): +class CriteriaTargeting(typing.TypedDict, total=False): excludedCriteriaIds: _list[str] targetedCriteriaIds: _list[str] @typing.type_check_only -class DayPart(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class DayPart(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -129,29 +123,27 @@ class DayPart(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class DayPartTargeting(typing_extensions.TypedDict, total=False): +class DayPartTargeting(typing.TypedDict, total=False): dayParts: _list[DayPart] - timeZoneType: typing_extensions.Literal[ - "TIME_ZONE_TYPE_UNSPECIFIED", "SELLER", "USER" - ] + timeZoneType: typing.Literal["TIME_ZONE_TYPE_UNSPECIFIED", "SELLER", "USER"] @typing.type_check_only -class DeactivateClientRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateClientRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeactivateClientUserRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateClientUserRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Deal(typing_extensions.TypedDict, total=False): +class Deal(typing.TypedDict, total=False): billedBuyer: str buyer: str - buyerPermissionType: typing_extensions.Literal[ + buyerPermissionType: typing.Literal[ "BUYER_PERMISSION_TYPE_UNSPECIFIED", "NEGOTIATOR_ONLY", "BIDDER" ] client: str createTime: str creativeRequirements: CreativeRequirements - dealType: typing_extensions.Literal[ + dealType: typing.Literal[ "DEAL_TYPE_UNSPECIFIED", "PREFERRED_DEAL", "PRIVATE_AUCTION", @@ -176,36 +168,34 @@ class Deal(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DealPausingInfo(typing_extensions.TypedDict, total=False): +class DealPausingInfo(typing.TypedDict, total=False): pauseReason: str - pauseRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + pauseRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] pausingConsented: bool @typing.type_check_only -class DeliveryControl(typing_extensions.TypedDict, total=False): - companionDeliveryType: typing_extensions.Literal[ +class DeliveryControl(typing.TypedDict, total=False): + companionDeliveryType: typing.Literal[ "COMPANION_DELIVERY_TYPE_UNSPECIFIED", "DELIVERY_OPTIONAL", "DELIVERY_AT_LEAST_ONE", "DELIVERY_ALL", ] - creativeRotationType: typing_extensions.Literal[ + creativeRotationType: typing.Literal[ "CREATIVE_ROTATION_TYPE_UNSPECIFIED", "ROTATION_EVEN", "ROTATION_OPTIMIZED", "ROTATION_MANUAL", "ROTATION_SEQUENTIAL", ] - deliveryRateType: typing_extensions.Literal[ + deliveryRateType: typing.Literal[ "DELIVERY_RATE_TYPE_UNSPECIFIED", "EVENLY", "FRONT_LOADED", "AS_FAST_AS_POSSIBLE", ] frequencyCap: _list[FrequencyCap] - roadblockingType: typing_extensions.Literal[ + roadblockingType: typing.Literal[ "ROADBLOCKING_TYPE_UNSPECIFIED", "ONLY_ONE", "ONE_OR_MORE", @@ -215,13 +205,13 @@ class DeliveryControl(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FinalizedDeal(typing_extensions.TypedDict, total=False): +class FinalizedDeal(typing.TypedDict, total=False): deal: Deal dealPausingInfo: DealPausingInfo - dealServingStatus: typing_extensions.Literal[ + dealServingStatus: typing.Literal[ "DEAL_SERVING_STATUS_UNSPECIFIED", "ACTIVE", "ENDED", @@ -233,14 +223,14 @@ class FinalizedDeal(typing_extensions.TypedDict, total=False): rtbMetrics: RtbMetrics @typing.type_check_only -class FirstPartyMobileApplicationTargeting(typing_extensions.TypedDict, total=False): +class FirstPartyMobileApplicationTargeting(typing.TypedDict, total=False): excludedAppIds: _list[str] targetedAppIds: _list[str] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): maxImpressions: int - timeUnitType: typing_extensions.Literal[ + timeUnitType: typing.Literal[ "TIME_UNIT_TYPE_UNSPECIFIED", "MINUTE", "HOUR", @@ -254,55 +244,55 @@ class FrequencyCap(typing_extensions.TypedDict, total=False): timeUnitsCount: int @typing.type_check_only -class InventorySizeTargeting(typing_extensions.TypedDict, total=False): +class InventorySizeTargeting(typing.TypedDict, total=False): excludedInventorySizes: _list[AdSize] targetedInventorySizes: _list[AdSize] @typing.type_check_only -class InventoryTypeTargeting(typing_extensions.TypedDict, total=False): +class InventoryTypeTargeting(typing.TypedDict, total=False): inventoryTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "INVENTORY_TYPE_UNSPECIFIED", "BROWSER", "MOBILE_APP", "VIDEO_PLAYER" ] ] @typing.type_check_only -class ListAuctionPackagesResponse(typing_extensions.TypedDict, total=False): +class ListAuctionPackagesResponse(typing.TypedDict, total=False): auctionPackages: _list[AuctionPackage] nextPageToken: str @typing.type_check_only -class ListClientUsersResponse(typing_extensions.TypedDict, total=False): +class ListClientUsersResponse(typing.TypedDict, total=False): clientUsers: _list[ClientUser] nextPageToken: str @typing.type_check_only -class ListClientsResponse(typing_extensions.TypedDict, total=False): +class ListClientsResponse(typing.TypedDict, total=False): clients: _list[Client] nextPageToken: str @typing.type_check_only -class ListDealsResponse(typing_extensions.TypedDict, total=False): +class ListDealsResponse(typing.TypedDict, total=False): deals: _list[Deal] nextPageToken: str @typing.type_check_only -class ListFinalizedDealsResponse(typing_extensions.TypedDict, total=False): +class ListFinalizedDealsResponse(typing.TypedDict, total=False): finalizedDeals: _list[FinalizedDeal] nextPageToken: str @typing.type_check_only -class ListProposalsResponse(typing_extensions.TypedDict, total=False): +class ListProposalsResponse(typing.TypedDict, total=False): nextPageToken: str proposals: _list[Proposal] @typing.type_check_only -class ListPublisherProfilesResponse(typing_extensions.TypedDict, total=False): +class ListPublisherProfilesResponse(typing.TypedDict, total=False): nextPageToken: str publisherProfiles: _list[PublisherProfile] @typing.type_check_only -class MarketplaceTargeting(typing_extensions.TypedDict, total=False): +class MarketplaceTargeting(typing.TypedDict, total=False): daypartTargeting: DayPartTargeting excludedSensitiveCategoryIds: _list[str] geoTargeting: CriteriaTargeting @@ -315,81 +305,79 @@ class MarketplaceTargeting(typing_extensions.TypedDict, total=False): videoTargeting: VideoTargeting @typing.type_check_only -class MediaPlanner(typing_extensions.TypedDict, total=False): +class MediaPlanner(typing.TypedDict, total=False): accountId: str ancestorNames: _list[str] displayName: str name: str @typing.type_check_only -class MobileApplicationTargeting(typing_extensions.TypedDict, total=False): +class MobileApplicationTargeting(typing.TypedDict, total=False): firstPartyTargeting: FirstPartyMobileApplicationTargeting @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Note(typing_extensions.TypedDict, total=False): +class Note(typing.TypedDict, total=False): createTime: str - creatorRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + creatorRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] note: str @typing.type_check_only -class OperatingSystemTargeting(typing_extensions.TypedDict, total=False): +class OperatingSystemTargeting(typing.TypedDict, total=False): operatingSystemCriteria: CriteriaTargeting operatingSystemVersionCriteria: CriteriaTargeting @typing.type_check_only -class PauseFinalizedDealRequest(typing_extensions.TypedDict, total=False): +class PauseFinalizedDealRequest(typing.TypedDict, total=False): reason: str @typing.type_check_only -class PlacementTargeting(typing_extensions.TypedDict, total=False): +class PlacementTargeting(typing.TypedDict, total=False): mobileApplicationTargeting: MobileApplicationTargeting uriTargeting: UriTargeting @typing.type_check_only -class PreferredDealTerms(typing_extensions.TypedDict, total=False): +class PreferredDealTerms(typing.TypedDict, total=False): fixedPrice: Price @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amount: Money - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "CPM", "CPD"] + type: typing.Literal["TYPE_UNSPECIFIED", "CPM", "CPD"] @typing.type_check_only -class PrivateAuctionTerms(typing_extensions.TypedDict, total=False): +class PrivateAuctionTerms(typing.TypedDict, total=False): floorPrice: Price openAuctionAllowed: bool @typing.type_check_only -class PrivateData(typing_extensions.TypedDict, total=False): +class PrivateData(typing.TypedDict, total=False): referenceId: str @typing.type_check_only -class ProgrammaticGuaranteedTerms(typing_extensions.TypedDict, total=False): +class ProgrammaticGuaranteedTerms(typing.TypedDict, total=False): fixedPrice: Price guaranteedLooks: str impressionCap: str minimumDailyLooks: str percentShareOfVoice: str - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "STANDARD", "SPONSORSHIP" ] @typing.type_check_only -class Proposal(typing_extensions.TypedDict, total=False): +class Proposal(typing.TypedDict, total=False): billedBuyer: str buyer: str buyerContacts: _list[Contact] buyerPrivateData: PrivateData client: str - dealType: typing_extensions.Literal[ + dealType: typing.Literal[ "DEAL_TYPE_UNSPECIFIED", "PREFERRED_DEAL", "PRIVATE_AUCTION", @@ -397,19 +385,17 @@ class Proposal(typing_extensions.TypedDict, total=False): ] displayName: str isRenegotiating: bool - lastUpdaterOrCommentorRole: typing_extensions.Literal[ + lastUpdaterOrCommentorRole: typing.Literal[ "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" ] name: str notes: _list[Note] - originatorRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + originatorRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] pausingConsented: bool proposalRevision: str publisherProfile: str sellerContacts: _list[Contact] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "BUYER_REVIEW_REQUESTED", "SELLER_REVIEW_REQUESTED", @@ -421,7 +407,7 @@ class Proposal(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PublisherProfile(typing_extensions.TypedDict, total=False): +class PublisherProfile(typing.TypedDict, total=False): audienceDescription: str directDealsContact: str displayName: str @@ -439,8 +425,8 @@ class PublisherProfile(typing_extensions.TypedDict, total=False): topHeadlines: _list[str] @typing.type_check_only -class PublisherProfileMobileApplication(typing_extensions.TypedDict, total=False): - appStore: typing_extensions.Literal[ +class PublisherProfileMobileApplication(typing.TypedDict, total=False): + appStore: typing.Literal[ "APP_STORE_TYPE_UNSPECIFIED", "APPLE_ITUNES", "GOOGLE_PLAY", @@ -460,10 +446,10 @@ class PublisherProfileMobileApplication(typing_extensions.TypedDict, total=False name: str @typing.type_check_only -class ResumeFinalizedDealRequest(typing_extensions.TypedDict, total=False): ... +class ResumeFinalizedDealRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RtbMetrics(typing_extensions.TypedDict, total=False): +class RtbMetrics(typing.TypedDict, total=False): adImpressions7Days: str bidRate7Days: float bidRequests7Days: str @@ -472,7 +458,7 @@ class RtbMetrics(typing_extensions.TypedDict, total=False): mustBidRateCurrentMonth: float @typing.type_check_only -class SendRfpRequest(typing_extensions.TypedDict, total=False): +class SendRfpRequest(typing.TypedDict, total=False): buyerContacts: _list[Contact] client: str displayName: str @@ -487,59 +473,55 @@ class SendRfpRequest(typing_extensions.TypedDict, total=False): publisherProfile: str @typing.type_check_only -class SetReadyToServeRequest(typing_extensions.TypedDict, total=False): ... +class SetReadyToServeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SubscribeAuctionPackageRequest(typing_extensions.TypedDict, total=False): ... +class SubscribeAuctionPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SubscribeClientsRequest(typing_extensions.TypedDict, total=False): +class SubscribeClientsRequest(typing.TypedDict, total=False): clients: _list[str] @typing.type_check_only -class TechnologyTargeting(typing_extensions.TypedDict, total=False): +class TechnologyTargeting(typing.TypedDict, total=False): deviceCapabilityTargeting: CriteriaTargeting deviceCategoryTargeting: CriteriaTargeting operatingSystemTargeting: OperatingSystemTargeting @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class UnsubscribeAuctionPackageRequest(typing_extensions.TypedDict, total=False): ... +class UnsubscribeAuctionPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UnsubscribeClientsRequest(typing_extensions.TypedDict, total=False): +class UnsubscribeClientsRequest(typing.TypedDict, total=False): clients: _list[str] @typing.type_check_only -class UpdateDealRequest(typing_extensions.TypedDict, total=False): +class UpdateDealRequest(typing.TypedDict, total=False): deal: Deal updateMask: str @typing.type_check_only -class UriTargeting(typing_extensions.TypedDict, total=False): +class UriTargeting(typing.TypedDict, total=False): excludedUris: _list[str] targetedUris: _list[str] @typing.type_check_only -class VideoTargeting(typing_extensions.TypedDict, total=False): +class VideoTargeting(typing.TypedDict, total=False): excludedPositionTypes: _list[ - typing_extensions.Literal[ - "POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL" - ] + typing.Literal["POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL"] ] targetedPositionTypes: _list[ - typing_extensions.Literal[ - "POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL" - ] + typing.Literal["POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL"] ] diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi index 23b20069c..896822780 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi index 3ee6caff6..7d243aa25 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi @@ -1,47 +1,43 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceptProposalRequest(typing_extensions.TypedDict, total=False): +class AcceptProposalRequest(typing.TypedDict, total=False): proposalRevision: str @typing.type_check_only -class AccessControlSettings(typing_extensions.TypedDict, total=False): +class AccessControlSettings(typing.TypedDict, total=False): allowlistedMediaPlanners: _list[str] @typing.type_check_only -class ActivateClientRequest(typing_extensions.TypedDict, total=False): ... +class ActivateClientRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ActivateClientUserRequest(typing_extensions.TypedDict, total=False): ... +class ActivateClientUserRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ActivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... +class ActivateCuratedPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ActivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... +class ActivateDataSegmentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AdSize(typing_extensions.TypedDict, total=False): +class AdSize(typing.TypedDict, total=False): height: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID"] width: str @typing.type_check_only -class AddCreativeRequest(typing_extensions.TypedDict, total=False): +class AddCreativeRequest(typing.TypedDict, total=False): creative: str @typing.type_check_only -class AddNoteRequest(typing_extensions.TypedDict, total=False): +class AddNoteRequest(typing.TypedDict, total=False): note: Note @typing.type_check_only -class AuctionPackage(typing_extensions.TypedDict, total=False): +class AuctionPackage(typing.TypedDict, total=False): createTime: str creator: str dealOwnerSeatId: str @@ -56,61 +52,59 @@ class AuctionPackage(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BatchUpdateDealsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateDealsRequest(typing.TypedDict, total=False): requests: _list[UpdateDealRequest] @typing.type_check_only -class BatchUpdateDealsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateDealsResponse(typing.TypedDict, total=False): deals: _list[Deal] @typing.type_check_only -class CancelNegotiationRequest(typing_extensions.TypedDict, total=False): ... +class CancelNegotiationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Client(typing_extensions.TypedDict, total=False): +class Client(typing.TypedDict, total=False): displayName: str name: str partnerClientId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "CLIENT_ROLE_UNSPECIFIED", "CLIENT_DEAL_VIEWER", "CLIENT_DEAL_NEGOTIATOR", "CLIENT_DEAL_APPROVER", ] sellerVisible: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class ClientUser(typing_extensions.TypedDict, total=False): +class ClientUser(typing.TypedDict, total=False): email: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "INVITED", "ACTIVE", "INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "INVITED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): displayName: str email: str @typing.type_check_only -class CreativeRequirements(typing_extensions.TypedDict, total=False): - creativeFormat: typing_extensions.Literal[ +class CreativeRequirements(typing.TypedDict, total=False): + creativeFormat: typing.Literal[ "CREATIVE_FORMAT_UNSPECIFIED", "DISPLAY", "VIDEO", "AUDIO" ] - creativePreApprovalPolicy: typing_extensions.Literal[ + creativePreApprovalPolicy: typing.Literal[ "CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED", "SELLER_PRE_APPROVAL_REQUIRED", "SELLER_PRE_APPROVAL_NOT_REQUIRED", ] - creativeSafeFrameCompatibility: typing_extensions.Literal[ + creativeSafeFrameCompatibility: typing.Literal[ "CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED", "COMPATIBLE", "INCOMPATIBLE" ] maxAdDurationMs: str - programmaticCreativeSource: typing_extensions.Literal[ + programmaticCreativeSource: typing.Literal[ "PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED", "ADVERTISER", "PUBLISHER" ] - skippableAdType: typing_extensions.Literal[ + skippableAdType: typing.Literal[ "SKIPPABLE_AD_TYPE_UNSPECIFIED", "SKIPPABLE", "INSTREAM_SELECT", @@ -119,34 +113,39 @@ class CreativeRequirements(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CriteriaTargeting(typing_extensions.TypedDict, total=False): +class CriteriaTargeting(typing.TypedDict, total=False): excludedCriteriaIds: _list[str] targetedCriteriaIds: _list[str] @typing.type_check_only -class CuratedPackage(typing_extensions.TypedDict, total=False): +class CuratedPackage(typing.TypedDict, total=False): accessSettings: AccessControlSettings createTime: str + curationFeeVisibility: typing.Literal[ + "CURATION_FEE_VISIBILITY_UNSPECIFIED", "DISCLOSED", "NON_DISCLOSED" + ] description: str displayName: str feeCpm: Money floorPriceCpm: Money + millipercentOfMediaFee: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] targeting: PackageTargeting updateTime: str @typing.type_check_only -class DataSegment(typing_extensions.TypedDict, total=False): +class DataSegment(typing.TypedDict, total=False): cpmFee: Money createTime: str + millipercentOfMediaFee: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "SUSPENDED"] updateTime: str @typing.type_check_only -class DayPart(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class DayPart(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -160,35 +159,33 @@ class DayPart(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class DayPartTargeting(typing_extensions.TypedDict, total=False): +class DayPartTargeting(typing.TypedDict, total=False): dayParts: _list[DayPart] - timeZoneType: typing_extensions.Literal[ - "TIME_ZONE_TYPE_UNSPECIFIED", "SELLER", "USER" - ] + timeZoneType: typing.Literal["TIME_ZONE_TYPE_UNSPECIFIED", "SELLER", "USER"] @typing.type_check_only -class DeactivateClientRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateClientRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeactivateClientUserRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateClientUserRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeactivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateCuratedPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeactivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateDataSegmentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Deal(typing_extensions.TypedDict, total=False): +class Deal(typing.TypedDict, total=False): billedBuyer: str buyer: str - buyerPermissionType: typing_extensions.Literal[ + buyerPermissionType: typing.Literal[ "BUYER_PERMISSION_TYPE_UNSPECIFIED", "NEGOTIATOR_ONLY", "BIDDER" ] client: str createTime: str creativeRequirements: CreativeRequirements - dealType: typing_extensions.Literal[ + dealType: typing.Literal[ "DEAL_TYPE_UNSPECIFIED", "PREFERRED_DEAL", "PRIVATE_AUCTION", @@ -213,36 +210,34 @@ class Deal(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DealPausingInfo(typing_extensions.TypedDict, total=False): +class DealPausingInfo(typing.TypedDict, total=False): pauseReason: str - pauseRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + pauseRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] pausingConsented: bool @typing.type_check_only -class DeliveryControl(typing_extensions.TypedDict, total=False): - companionDeliveryType: typing_extensions.Literal[ +class DeliveryControl(typing.TypedDict, total=False): + companionDeliveryType: typing.Literal[ "COMPANION_DELIVERY_TYPE_UNSPECIFIED", "DELIVERY_OPTIONAL", "DELIVERY_AT_LEAST_ONE", "DELIVERY_ALL", ] - creativeRotationType: typing_extensions.Literal[ + creativeRotationType: typing.Literal[ "CREATIVE_ROTATION_TYPE_UNSPECIFIED", "ROTATION_EVEN", "ROTATION_OPTIMIZED", "ROTATION_MANUAL", "ROTATION_SEQUENTIAL", ] - deliveryRateType: typing_extensions.Literal[ + deliveryRateType: typing.Literal[ "DELIVERY_RATE_TYPE_UNSPECIFIED", "EVENLY", "FRONT_LOADED", "AS_FAST_AS_POSSIBLE", ] frequencyCap: _list[FrequencyCap] - roadblockingType: typing_extensions.Literal[ + roadblockingType: typing.Literal[ "ROADBLOCKING_TYPE_UNSPECIFIED", "ONLY_ONE", "ONE_OR_MORE", @@ -252,13 +247,13 @@ class DeliveryControl(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FinalizedDeal(typing_extensions.TypedDict, total=False): +class FinalizedDeal(typing.TypedDict, total=False): deal: Deal dealPausingInfo: DealPausingInfo - dealServingStatus: typing_extensions.Literal[ + dealServingStatus: typing.Literal[ "DEAL_SERVING_STATUS_UNSPECIFIED", "ACTIVE", "ENDED", @@ -270,14 +265,14 @@ class FinalizedDeal(typing_extensions.TypedDict, total=False): rtbMetrics: RtbMetrics @typing.type_check_only -class FirstPartyMobileApplicationTargeting(typing_extensions.TypedDict, total=False): +class FirstPartyMobileApplicationTargeting(typing.TypedDict, total=False): excludedAppIds: _list[str] targetedAppIds: _list[str] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): maxImpressions: int - timeUnitType: typing_extensions.Literal[ + timeUnitType: typing.Literal[ "TIME_UNIT_TYPE_UNSPECIFIED", "MINUTE", "HOUR", @@ -291,70 +286,70 @@ class FrequencyCap(typing_extensions.TypedDict, total=False): timeUnitsCount: int @typing.type_check_only -class InventorySizeTargeting(typing_extensions.TypedDict, total=False): +class InventorySizeTargeting(typing.TypedDict, total=False): excludedInventorySizes: _list[AdSize] targetedInventorySizes: _list[AdSize] @typing.type_check_only -class InventoryTypeTargeting(typing_extensions.TypedDict, total=False): +class InventoryTypeTargeting(typing.TypedDict, total=False): inventoryTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "INVENTORY_TYPE_UNSPECIFIED", "BROWSER", "MOBILE_APP", "VIDEO_PLAYER" ] ] @typing.type_check_only -class ListAuctionPackagesResponse(typing_extensions.TypedDict, total=False): +class ListAuctionPackagesResponse(typing.TypedDict, total=False): auctionPackages: _list[AuctionPackage] nextPageToken: str @typing.type_check_only -class ListClientUsersResponse(typing_extensions.TypedDict, total=False): +class ListClientUsersResponse(typing.TypedDict, total=False): clientUsers: _list[ClientUser] nextPageToken: str @typing.type_check_only -class ListClientsResponse(typing_extensions.TypedDict, total=False): +class ListClientsResponse(typing.TypedDict, total=False): clients: _list[Client] nextPageToken: str @typing.type_check_only -class ListCuratedPackagesResponse(typing_extensions.TypedDict, total=False): +class ListCuratedPackagesResponse(typing.TypedDict, total=False): curatedPackages: _list[CuratedPackage] nextPageToken: str @typing.type_check_only -class ListDataSegmentsResponse(typing_extensions.TypedDict, total=False): +class ListDataSegmentsResponse(typing.TypedDict, total=False): dataSegments: _list[DataSegment] nextPageToken: str @typing.type_check_only -class ListDealsResponse(typing_extensions.TypedDict, total=False): +class ListDealsResponse(typing.TypedDict, total=False): deals: _list[Deal] nextPageToken: str @typing.type_check_only -class ListFinalizedDealsResponse(typing_extensions.TypedDict, total=False): +class ListFinalizedDealsResponse(typing.TypedDict, total=False): finalizedDeals: _list[FinalizedDeal] nextPageToken: str @typing.type_check_only -class ListMediaPlannersResponse(typing_extensions.TypedDict, total=False): +class ListMediaPlannersResponse(typing.TypedDict, total=False): mediaPlanners: _list[MediaPlanner] nextPageToken: str @typing.type_check_only -class ListProposalsResponse(typing_extensions.TypedDict, total=False): +class ListProposalsResponse(typing.TypedDict, total=False): nextPageToken: str proposals: _list[Proposal] @typing.type_check_only -class ListPublisherProfilesResponse(typing_extensions.TypedDict, total=False): +class ListPublisherProfilesResponse(typing.TypedDict, total=False): nextPageToken: str publisherProfiles: _list[PublisherProfile] @typing.type_check_only -class MarketplaceTargeting(typing_extensions.TypedDict, total=False): +class MarketplaceTargeting(typing.TypedDict, total=False): daypartTargeting: DayPartTargeting excludedSensitiveCategoryIds: _list[str] geoTargeting: CriteriaTargeting @@ -367,53 +362,49 @@ class MarketplaceTargeting(typing_extensions.TypedDict, total=False): videoTargeting: VideoTargeting @typing.type_check_only -class MediaPlanner(typing_extensions.TypedDict, total=False): +class MediaPlanner(typing.TypedDict, total=False): accountId: str ancestorNames: _list[str] displayName: str name: str @typing.type_check_only -class MobileApplicationTargeting(typing_extensions.TypedDict, total=False): +class MobileApplicationTargeting(typing.TypedDict, total=False): firstPartyTargeting: FirstPartyMobileApplicationTargeting @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Note(typing_extensions.TypedDict, total=False): +class Note(typing.TypedDict, total=False): createTime: str - creatorRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + creatorRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] note: str @typing.type_check_only -class OperatingSystemTargeting(typing_extensions.TypedDict, total=False): +class OperatingSystemTargeting(typing.TypedDict, total=False): operatingSystemCriteria: CriteriaTargeting operatingSystemVersionCriteria: CriteriaTargeting @typing.type_check_only -class PackagePlacementTargeting(typing_extensions.TypedDict, total=False): +class PackagePlacementTargeting(typing.TypedDict, total=False): includedMobileAppCategoryTargeting: _list[str] mobileAppTargeting: StringTargetingDimension uriTargeting: StringTargetingDimension @typing.type_check_only -class PackagePublisherProvidedSignalsTargeting( - typing_extensions.TypedDict, total=False -): +class PackagePublisherProvidedSignalsTargeting(typing.TypedDict, total=False): audienceTargeting: TaxonomyTargeting contentTargeting: TaxonomyTargeting videoAndAudioSignalsTargeting: StringTargetingDimension @typing.type_check_only -class PackageTargeting(typing_extensions.TypedDict, total=False): +class PackageTargeting(typing.TypedDict, total=False): geoTargeting: CriteriaTargeting - includedAcceleratedMobilePageType: typing_extensions.Literal[ + includedAcceleratedMobilePageType: typing.Literal[ "ACCELERATED_MOBILE_PAGE_TYPE_UNSPECIFIED", "ACCELERATED_MOBILE_PAGE_TYPE_NON_AMP", "ACCELERATED_MOBILE_PAGE_TYPE_AMP", @@ -421,13 +412,13 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): ] includedAdSizes: _list[AdSize] includedAuthorizedSellerStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_DIRECT", "AUTHORIZED_SELLER_STATUS_RESELLER", ] ] - includedCreativeFormat: typing_extensions.Literal[ + includedCreativeFormat: typing.Literal[ "CREATIVE_FORMAT_UNSPECIFIED", "CREATIVE_FORMAT_DISPLAY", "CREATIVE_FORMAT_VIDEO", @@ -435,7 +426,7 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): ] includedDataSegments: _list[str] includedDeviceTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_PERSONAL_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -443,29 +434,29 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): "DEVICE_TYPE_TABLET", ] ] - includedEnvironment: typing_extensions.Literal[ + includedEnvironment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_SITE", "ENVIRONMENT_APP" ] includedNativeInventoryTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "NATIVE_INVENTORY_TYPE_UNSPECIFIED", "NATIVE_INVENTORY_TYPE_NATIVE_ONLY", "NATIVE_INVENTORY_TYPE_NATIVE_OR_BANNER", ] ] includedOpenMeasurementTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "OPEN_MEASUREMENT_TYPE_UNSPECIFIED", "OPEN_MEASUREMENT_TYPE_OMID_V1" ] ] includedRestrictedCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESTRICTED_CATEGORY_UNSPECIFIED", "RESTRICTED_CATEGORY_ALCOHOL", "RESTRICTED_CATEGORY_GAMBLING", ] ] - includedRewardedType: typing_extensions.Literal[ + includedRewardedType: typing.Literal[ "REWARDED_TYPE_UNSPECIFIED", "REWARDED_TYPE_NON_REWARDED", "REWARDED_TYPE_REWARDED", @@ -480,13 +471,13 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): videoTargeting: PackageVideoTargeting @typing.type_check_only -class PackageVideoTargeting(typing_extensions.TypedDict, total=False): - includedContentDeliveryMethod: typing_extensions.Literal[ +class PackageVideoTargeting(typing.TypedDict, total=False): + includedContentDeliveryMethod: typing.Literal[ "CONTENT_DELIVERY_METHOD_UNSPECIFIED", "CONTENT_DELIVERY_METHOD_STREAMING", "CONTENT_DELIVERY_METHOD_PROGRESSIVE", ] - includedMaximumAdDurationTargeting: typing_extensions.Literal[ + includedMaximumAdDurationTargeting: typing.Literal[ "MAXIMUM_VIDEO_AD_DURATION_UNSPECIFIED", "MAXIMUM_VIDEO_AD_DURATION_FIFTEEN_SECONDS", "MAXIMUM_VIDEO_AD_DURATION_TWENTY_SECONDS", @@ -496,7 +487,7 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): "MAXIMUM_VIDEO_AD_DURATION_ONE_HUNDRED_TWENTY_SECONDS", ] includedMimeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "VIDEO_MIME_TYPE_UNSPECIFIED", "VIDEO_MIME_TYPE_THREEGPP", "VIDEO_MIME_TYPE_APPLICATION_MPEGURL", @@ -507,7 +498,7 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): ] ] includedPlaybackMethods: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLAYBACK_METHOD_UNSPECIFIED", "PLAYBACK_METHOD_AUTO_PLAY_SOUND_ON", "PLAYBACK_METHOD_AUTO_PLAY_SOUND_OFF", @@ -516,7 +507,7 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): ] includedPlayerSizeTargeting: VideoPlayerSizeTargeting includedPositionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "POSITION_TYPE_UNSPECIFIED", "POSITION_TYPE_MIDROLL", "POSITION_TYPE_POSTROLL", @@ -527,51 +518,51 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): plcmtTargeting: VideoPlcmtTargeting @typing.type_check_only -class PauseFinalizedDealRequest(typing_extensions.TypedDict, total=False): +class PauseFinalizedDealRequest(typing.TypedDict, total=False): reason: str @typing.type_check_only -class PlacementTargeting(typing_extensions.TypedDict, total=False): +class PlacementTargeting(typing.TypedDict, total=False): mobileApplicationTargeting: MobileApplicationTargeting uriTargeting: UriTargeting @typing.type_check_only -class PreferredDealTerms(typing_extensions.TypedDict, total=False): +class PreferredDealTerms(typing.TypedDict, total=False): fixedPrice: Price @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amount: Money - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "CPM", "CPD"] + type: typing.Literal["TYPE_UNSPECIFIED", "CPM", "CPD"] @typing.type_check_only -class PrivateAuctionTerms(typing_extensions.TypedDict, total=False): +class PrivateAuctionTerms(typing.TypedDict, total=False): floorPrice: Price openAuctionAllowed: bool @typing.type_check_only -class PrivateData(typing_extensions.TypedDict, total=False): +class PrivateData(typing.TypedDict, total=False): referenceId: str @typing.type_check_only -class ProgrammaticGuaranteedTerms(typing_extensions.TypedDict, total=False): +class ProgrammaticGuaranteedTerms(typing.TypedDict, total=False): fixedPrice: Price guaranteedLooks: str impressionCap: str minimumDailyLooks: str percentShareOfVoice: str - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "STANDARD", "SPONSORSHIP" ] @typing.type_check_only -class Proposal(typing_extensions.TypedDict, total=False): +class Proposal(typing.TypedDict, total=False): billedBuyer: str buyer: str buyerContacts: _list[Contact] buyerPrivateData: PrivateData client: str - dealType: typing_extensions.Literal[ + dealType: typing.Literal[ "DEAL_TYPE_UNSPECIFIED", "PREFERRED_DEAL", "PRIVATE_AUCTION", @@ -579,19 +570,17 @@ class Proposal(typing_extensions.TypedDict, total=False): ] displayName: str isRenegotiating: bool - lastUpdaterOrCommentorRole: typing_extensions.Literal[ + lastUpdaterOrCommentorRole: typing.Literal[ "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" ] name: str notes: _list[Note] - originatorRole: typing_extensions.Literal[ - "BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER" - ] + originatorRole: typing.Literal["BUYER_SELLER_ROLE_UNSPECIFIED", "BUYER", "SELLER"] pausingConsented: bool proposalRevision: str publisherProfile: str sellerContacts: _list[Contact] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "BUYER_REVIEW_REQUESTED", "SELLER_REVIEW_REQUESTED", @@ -603,7 +592,7 @@ class Proposal(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PublisherProfile(typing_extensions.TypedDict, total=False): +class PublisherProfile(typing.TypedDict, total=False): audienceDescription: str directDealsContact: str displayName: str @@ -621,8 +610,8 @@ class PublisherProfile(typing_extensions.TypedDict, total=False): topHeadlines: _list[str] @typing.type_check_only -class PublisherProfileMobileApplication(typing_extensions.TypedDict, total=False): - appStore: typing_extensions.Literal[ +class PublisherProfileMobileApplication(typing.TypedDict, total=False): + appStore: typing.Literal[ "APP_STORE_TYPE_UNSPECIFIED", "APPLE_ITUNES", "GOOGLE_PLAY", @@ -642,10 +631,10 @@ class PublisherProfileMobileApplication(typing_extensions.TypedDict, total=False name: str @typing.type_check_only -class ResumeFinalizedDealRequest(typing_extensions.TypedDict, total=False): ... +class ResumeFinalizedDealRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RtbMetrics(typing_extensions.TypedDict, total=False): +class RtbMetrics(typing.TypedDict, total=False): adImpressions7Days: str bidRate7Days: float bidRequests7Days: str @@ -654,7 +643,7 @@ class RtbMetrics(typing_extensions.TypedDict, total=False): mustBidRateCurrentMonth: float @typing.type_check_only -class SendRfpRequest(typing_extensions.TypedDict, total=False): +class SendRfpRequest(typing.TypedDict, total=False): buyerContacts: _list[Contact] client: str displayName: str @@ -669,74 +658,74 @@ class SendRfpRequest(typing_extensions.TypedDict, total=False): publisherProfile: str @typing.type_check_only -class SetReadyToServeRequest(typing_extensions.TypedDict, total=False): ... +class SetReadyToServeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StringTargetingDimension(typing_extensions.TypedDict, total=False): - selectionType: typing_extensions.Literal[ +class StringTargetingDimension(typing.TypedDict, total=False): + selectionType: typing.Literal[ "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" ] values: _list[str] @typing.type_check_only -class SubscribeAuctionPackageRequest(typing_extensions.TypedDict, total=False): ... +class SubscribeAuctionPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SubscribeClientsRequest(typing_extensions.TypedDict, total=False): +class SubscribeClientsRequest(typing.TypedDict, total=False): clients: _list[str] @typing.type_check_only -class TaxonomyTargeting(typing_extensions.TypedDict, total=False): +class TaxonomyTargeting(typing.TypedDict, total=False): excludedTaxonomyIds: _list[str] targetedTaxonomyIds: _list[str] @typing.type_check_only -class TechnologyTargeting(typing_extensions.TypedDict, total=False): +class TechnologyTargeting(typing.TypedDict, total=False): deviceCapabilityTargeting: CriteriaTargeting deviceCategoryTargeting: CriteriaTargeting operatingSystemTargeting: OperatingSystemTargeting @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class UnsubscribeAuctionPackageRequest(typing_extensions.TypedDict, total=False): ... +class UnsubscribeAuctionPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UnsubscribeClientsRequest(typing_extensions.TypedDict, total=False): +class UnsubscribeClientsRequest(typing.TypedDict, total=False): clients: _list[str] @typing.type_check_only -class UpdateDealRequest(typing_extensions.TypedDict, total=False): +class UpdateDealRequest(typing.TypedDict, total=False): deal: Deal updateMask: str @typing.type_check_only -class UriTargeting(typing_extensions.TypedDict, total=False): +class UriTargeting(typing.TypedDict, total=False): excludedUris: _list[str] targetedUris: _list[str] @typing.type_check_only -class VideoPlayerSizeTargeting(typing_extensions.TypedDict, total=False): +class VideoPlayerSizeTargeting(typing.TypedDict, total=False): minimumHeight: str minimumWidth: str @typing.type_check_only -class VideoPlcmtTargeting(typing_extensions.TypedDict, total=False): - selectionType: typing_extensions.Literal[ +class VideoPlcmtTargeting(typing.TypedDict, total=False): + selectionType: typing.Literal[ "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" ] videoPlcmtTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "VIDEO_PLCMT_TYPE_UNSPECIFIED", "INSTREAM", "ACCOMPANYING_CONTENT", @@ -746,14 +735,10 @@ class VideoPlcmtTargeting(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VideoTargeting(typing_extensions.TypedDict, total=False): +class VideoTargeting(typing.TypedDict, total=False): excludedPositionTypes: _list[ - typing_extensions.Literal[ - "POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL" - ] + typing.Literal["POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL"] ] targetedPositionTypes: _list[ - typing_extensions.Literal[ - "POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL" - ] + typing.Literal["POSITION_TYPE_UNSPECIFIED", "PREROLL", "MIDROLL", "POSTROLL"] ] diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi index 14af5e152..f642c10a1 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi index c4580c524..982ab33db 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi @@ -1,105 +1,104 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessControlSettings(typing_extensions.TypedDict, total=False): +class AccessControlSettings(typing.TypedDict, total=False): allowlistedMediaPlanners: _list[str] @typing.type_check_only -class ActivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... +class ActivateCuratedPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ActivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... +class ActivateDataSegmentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AdSize(typing_extensions.TypedDict, total=False): +class AdSize(typing.TypedDict, total=False): height: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID"] width: str @typing.type_check_only -class CriteriaTargeting(typing_extensions.TypedDict, total=False): +class CriteriaTargeting(typing.TypedDict, total=False): excludedCriteriaIds: _list[str] targetedCriteriaIds: _list[str] @typing.type_check_only -class CuratedPackage(typing_extensions.TypedDict, total=False): +class CuratedPackage(typing.TypedDict, total=False): accessSettings: AccessControlSettings createTime: str + curationFeeVisibility: typing.Literal[ + "CURATION_FEE_VISIBILITY_UNSPECIFIED", "DISCLOSED", "NON_DISCLOSED" + ] description: str displayName: str feeCpm: Money floorPriceCpm: Money + millipercentOfMediaFee: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] targeting: PackageTargeting updateTime: str @typing.type_check_only -class DataSegment(typing_extensions.TypedDict, total=False): +class DataSegment(typing.TypedDict, total=False): cpmFee: Money createTime: str + millipercentOfMediaFee: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "SUSPENDED"] updateTime: str @typing.type_check_only -class DeactivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateCuratedPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeactivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateDataSegmentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ListCuratedPackagesResponse(typing_extensions.TypedDict, total=False): +class ListCuratedPackagesResponse(typing.TypedDict, total=False): curatedPackages: _list[CuratedPackage] nextPageToken: str @typing.type_check_only -class ListDataSegmentsResponse(typing_extensions.TypedDict, total=False): +class ListDataSegmentsResponse(typing.TypedDict, total=False): dataSegments: _list[DataSegment] nextPageToken: str @typing.type_check_only -class ListMediaPlannersResponse(typing_extensions.TypedDict, total=False): +class ListMediaPlannersResponse(typing.TypedDict, total=False): mediaPlanners: _list[MediaPlanner] nextPageToken: str @typing.type_check_only -class MediaPlanner(typing_extensions.TypedDict, total=False): +class MediaPlanner(typing.TypedDict, total=False): accountId: str ancestorNames: _list[str] displayName: str name: str @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class PackagePlacementTargeting(typing_extensions.TypedDict, total=False): +class PackagePlacementTargeting(typing.TypedDict, total=False): includedMobileAppCategoryTargeting: _list[str] mobileAppTargeting: StringTargetingDimension uriTargeting: StringTargetingDimension @typing.type_check_only -class PackagePublisherProvidedSignalsTargeting( - typing_extensions.TypedDict, total=False -): +class PackagePublisherProvidedSignalsTargeting(typing.TypedDict, total=False): audienceTargeting: TaxonomyTargeting contentTargeting: TaxonomyTargeting videoAndAudioSignalsTargeting: StringTargetingDimension @typing.type_check_only -class PackageTargeting(typing_extensions.TypedDict, total=False): +class PackageTargeting(typing.TypedDict, total=False): geoTargeting: CriteriaTargeting - includedAcceleratedMobilePageType: typing_extensions.Literal[ + includedAcceleratedMobilePageType: typing.Literal[ "ACCELERATED_MOBILE_PAGE_TYPE_UNSPECIFIED", "ACCELERATED_MOBILE_PAGE_TYPE_NON_AMP", "ACCELERATED_MOBILE_PAGE_TYPE_AMP", @@ -107,13 +106,13 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): ] includedAdSizes: _list[AdSize] includedAuthorizedSellerStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_DIRECT", "AUTHORIZED_SELLER_STATUS_RESELLER", ] ] - includedCreativeFormat: typing_extensions.Literal[ + includedCreativeFormat: typing.Literal[ "CREATIVE_FORMAT_UNSPECIFIED", "CREATIVE_FORMAT_DISPLAY", "CREATIVE_FORMAT_VIDEO", @@ -121,7 +120,7 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): ] includedDataSegments: _list[str] includedDeviceTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_PERSONAL_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -129,29 +128,29 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): "DEVICE_TYPE_TABLET", ] ] - includedEnvironment: typing_extensions.Literal[ + includedEnvironment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_SITE", "ENVIRONMENT_APP" ] includedNativeInventoryTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "NATIVE_INVENTORY_TYPE_UNSPECIFIED", "NATIVE_INVENTORY_TYPE_NATIVE_ONLY", "NATIVE_INVENTORY_TYPE_NATIVE_OR_BANNER", ] ] includedOpenMeasurementTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "OPEN_MEASUREMENT_TYPE_UNSPECIFIED", "OPEN_MEASUREMENT_TYPE_OMID_V1" ] ] includedRestrictedCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "RESTRICTED_CATEGORY_UNSPECIFIED", "RESTRICTED_CATEGORY_ALCOHOL", "RESTRICTED_CATEGORY_GAMBLING", ] ] - includedRewardedType: typing_extensions.Literal[ + includedRewardedType: typing.Literal[ "REWARDED_TYPE_UNSPECIFIED", "REWARDED_TYPE_NON_REWARDED", "REWARDED_TYPE_REWARDED", @@ -166,13 +165,13 @@ class PackageTargeting(typing_extensions.TypedDict, total=False): videoTargeting: PackageVideoTargeting @typing.type_check_only -class PackageVideoTargeting(typing_extensions.TypedDict, total=False): - includedContentDeliveryMethod: typing_extensions.Literal[ +class PackageVideoTargeting(typing.TypedDict, total=False): + includedContentDeliveryMethod: typing.Literal[ "CONTENT_DELIVERY_METHOD_UNSPECIFIED", "CONTENT_DELIVERY_METHOD_STREAMING", "CONTENT_DELIVERY_METHOD_PROGRESSIVE", ] - includedMaximumAdDurationTargeting: typing_extensions.Literal[ + includedMaximumAdDurationTargeting: typing.Literal[ "MAXIMUM_VIDEO_AD_DURATION_UNSPECIFIED", "MAXIMUM_VIDEO_AD_DURATION_FIFTEEN_SECONDS", "MAXIMUM_VIDEO_AD_DURATION_TWENTY_SECONDS", @@ -182,7 +181,7 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): "MAXIMUM_VIDEO_AD_DURATION_ONE_HUNDRED_TWENTY_SECONDS", ] includedMimeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "VIDEO_MIME_TYPE_UNSPECIFIED", "VIDEO_MIME_TYPE_THREEGPP", "VIDEO_MIME_TYPE_APPLICATION_MPEGURL", @@ -193,7 +192,7 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): ] ] includedPlaybackMethods: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLAYBACK_METHOD_UNSPECIFIED", "PLAYBACK_METHOD_AUTO_PLAY_SOUND_ON", "PLAYBACK_METHOD_AUTO_PLAY_SOUND_OFF", @@ -202,7 +201,7 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): ] includedPlayerSizeTargeting: VideoPlayerSizeTargeting includedPositionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "POSITION_TYPE_UNSPECIFIED", "POSITION_TYPE_MIDROLL", "POSITION_TYPE_POSTROLL", @@ -213,29 +212,29 @@ class PackageVideoTargeting(typing_extensions.TypedDict, total=False): plcmtTargeting: VideoPlcmtTargeting @typing.type_check_only -class StringTargetingDimension(typing_extensions.TypedDict, total=False): - selectionType: typing_extensions.Literal[ +class StringTargetingDimension(typing.TypedDict, total=False): + selectionType: typing.Literal[ "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" ] values: _list[str] @typing.type_check_only -class TaxonomyTargeting(typing_extensions.TypedDict, total=False): +class TaxonomyTargeting(typing.TypedDict, total=False): excludedTaxonomyIds: _list[str] targetedTaxonomyIds: _list[str] @typing.type_check_only -class VideoPlayerSizeTargeting(typing_extensions.TypedDict, total=False): +class VideoPlayerSizeTargeting(typing.TypedDict, total=False): minimumHeight: str minimumWidth: str @typing.type_check_only -class VideoPlcmtTargeting(typing_extensions.TypedDict, total=False): - selectionType: typing_extensions.Literal[ +class VideoPlcmtTargeting(typing.TypedDict, total=False): + selectionType: typing.Literal[ "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" ] videoPlcmtTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "VIDEO_PLCMT_TYPE_UNSPECIFIED", "INSTREAM", "ACCOMPANYING_CONTENT", diff --git a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi index c592a4946..7182b4738 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -223,7 +222,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., resourceType: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_FULL", @@ -240,7 +239,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_FULL", @@ -256,7 +255,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VIEW_UNSPECIFIED", "BACKUP_VIEW_BASIC", "BACKUP_VIEW_FULL", @@ -399,7 +398,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VAULT_VIEW_UNSPECIFIED", "BACKUP_VAULT_VIEW_BASIC", "BACKUP_VAULT_VIEW_FULL", @@ -415,7 +414,7 @@ class BackupdrResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "BACKUP_VAULT_VIEW_UNSPECIFIED", "BACKUP_VAULT_VIEW_BASIC", "BACKUP_VAULT_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi index 62f71ab4f..0315f2bd3 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi @@ -1,133 +1,119 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbandonBackupRequest(typing_extensions.TypedDict, total=False): +class AbandonBackupRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: int acceleratorType: str @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): externalIpv6: str externalIpv6PrefixLength: int name: str natIP: str - networkTier: typing_extensions.Literal[ - "NETWORK_TIER_UNSPECIFIED", "PREMIUM", "STANDARD" - ] + networkTier: typing.Literal["NETWORK_TIER_UNSPECIFIED", "PREMIUM", "STANDARD"] publicPtrDomainName: str setPublicPtr: bool - type: typing_extensions.Literal[ - "ACCESS_TYPE_UNSPECIFIED", "ONE_TO_ONE_NAT", "DIRECT_IPV6" - ] + type: typing.Literal["ACCESS_TYPE_UNSPECIFIED", "ONE_TO_ONE_NAT", "DIRECT_IPV6"] @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): enableNestedVirtualization: bool enableUefiNetworking: bool threadsPerCore: int visibleCoreCount: int @typing.type_check_only -class AliasIpRange(typing_extensions.TypedDict, total=False): +class AliasIpRange(typing.TypedDict, total=False): ipCidrRange: str subnetworkRangeName: str @typing.type_check_only -class AllocationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class AllocationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" ] key: str values: _list[str] @typing.type_check_only -class AlloyDBClusterBackupPlanAssociationProperties( - typing_extensions.TypedDict, total=False -): +class AlloyDBClusterBackupPlanAssociationProperties(typing.TypedDict, total=False): clusterUid: str @typing.type_check_only -class AlloyDBClusterDataSourceProperties(typing_extensions.TypedDict, total=False): +class AlloyDBClusterDataSourceProperties(typing.TypedDict, total=False): clusterUid: str name: str pitrWindows: _list[AlloyDbPitrWindow] @typing.type_check_only -class AlloyDBClusterDataSourceReferenceProperties( - typing_extensions.TypedDict, total=False -): +class AlloyDBClusterDataSourceReferenceProperties(typing.TypedDict, total=False): name: str @typing.type_check_only -class AlloyDbClusterBackupProperties(typing_extensions.TypedDict, total=False): +class AlloyDbClusterBackupProperties(typing.TypedDict, total=False): chainId: str databaseVersion: str description: str storedBytes: str @typing.type_check_only -class AlloyDbPitrWindow(typing_extensions.TypedDict, total=False): +class AlloyDbPitrWindow(typing.TypedDict, total=False): endTime: str logRetentionDays: str startTime: str @typing.type_check_only -class AttachedDisk(typing_extensions.TypedDict, total=False): +class AttachedDisk(typing.TypedDict, total=False): autoDelete: bool boot: bool deviceName: str diskEncryptionKey: CustomerEncryptionKey - diskInterface: typing_extensions.Literal[ + diskInterface: typing.Literal[ "DISK_INTERFACE_UNSPECIFIED", "SCSI", "NVME", "NVDIMM", "ISCSI" ] diskSizeGb: str diskType: str - diskTypeDeprecated: typing_extensions.Literal[ - "DISK_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT" - ] + diskTypeDeprecated: typing.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT"] guestOsFeature: _list[GuestOsFeature] index: str initializeParams: InitializeParams kind: str license: _list[str] - mode: typing_extensions.Literal[ - "DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY", "LOCKED" - ] - savedState: typing_extensions.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] + mode: typing.Literal["DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY", "LOCKED"] + savedState: typing.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] source: str - type: typing_extensions.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT"] + type: typing.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT"] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): alloyDbBackupProperties: AlloyDbClusterBackupProperties backupApplianceBackupProperties: BackupApplianceBackupProperties backupApplianceLocks: _list[BackupLock] - backupRetentionInheritance: typing_extensions.Literal[ + backupRetentionInheritance: typing.Literal[ "BACKUP_RETENTION_INHERITANCE_UNSPECIFIED", "INHERIT_VAULT_RETENTION", "MATCH_BACKUP_EXPIRE_TIME", ] - backupType: typing_extensions.Literal[ + backupType: typing.Literal[ "BACKUP_TYPE_UNSPECIFIED", "SCHEDULED", "ON_DEMAND", "ON_DEMAND_OPERATIONAL" ] cloudSqlInstanceBackupProperties: CloudSqlInstanceBackupProperties @@ -149,13 +135,13 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool serviceLocks: _list[BackupLock] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "ERROR", "UPLOADING" ] updateTime: str @typing.type_check_only -class BackupApplianceBackupConfig(typing_extensions.TypedDict, total=False): +class BackupApplianceBackupConfig(typing.TypedDict, total=False): applicationName: str backupApplianceId: str backupApplianceName: str @@ -165,14 +151,14 @@ class BackupApplianceBackupConfig(typing_extensions.TypedDict, total=False): sltName: str @typing.type_check_only -class BackupApplianceBackupProperties(typing_extensions.TypedDict, total=False): +class BackupApplianceBackupProperties(typing.TypedDict, total=False): finalizeTime: str generationId: int recoveryRangeEndTime: str recoveryRangeStartTime: str @typing.type_check_only -class BackupApplianceLockInfo(typing_extensions.TypedDict, total=False): +class BackupApplianceLockInfo(typing.TypedDict, total=False): backupApplianceId: str backupApplianceName: str backupImage: str @@ -181,7 +167,7 @@ class BackupApplianceLockInfo(typing_extensions.TypedDict, total=False): slaId: str @typing.type_check_only -class BackupConfigDetails(typing_extensions.TypedDict, total=False): +class BackupConfigDetails(typing.TypedDict, total=False): applicableResource: str backupConfigSource: str backupConfigSourceDisplayName: str @@ -191,8 +177,8 @@ class BackupConfigDetails(typing_extensions.TypedDict, total=False): backupVault: str latestSuccessfulBackupTime: str pitrSettings: PitrSettings - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "ERROR"] - type: typing_extensions.Literal[ + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "ERROR"] + type: typing.Literal[ "TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE_BACKUP_CONFIG", "COMPUTE_ENGINE_RESOURCE_POLICY", @@ -201,11 +187,11 @@ class BackupConfigDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BackupConfigInfo(typing_extensions.TypedDict, total=False): +class BackupConfigInfo(typing.TypedDict, total=False): backupApplianceBackupConfig: BackupApplianceBackupConfig gcpBackupConfig: GcpBackupConfig lastBackupError: Status - lastBackupState: typing_extensions.Literal[ + lastBackupState: typing.Literal[ "LAST_BACKUP_STATE_UNSPECIFIED", "FIRST_BACKUP_PENDING", "SUCCEEDED", @@ -215,40 +201,38 @@ class BackupConfigInfo(typing_extensions.TypedDict, total=False): lastSuccessfulBackupConsistencyTime: str @typing.type_check_only -class BackupDrPlanConfig(typing_extensions.TypedDict, total=False): +class BackupDrPlanConfig(typing.TypedDict, total=False): backupDrPlanRules: _list[BackupDrPlanRule] @typing.type_check_only -class BackupDrPlanRule(typing_extensions.TypedDict, total=False): +class BackupDrPlanRule(typing.TypedDict, total=False): lastSuccessfulBackupTime: str ruleId: str @typing.type_check_only -class BackupDrTemplateConfig(typing_extensions.TypedDict, total=False): +class BackupDrTemplateConfig(typing.TypedDict, total=False): firstPartyManagementUri: str thirdPartyManagementUri: str @typing.type_check_only -class BackupGcpResource(typing_extensions.TypedDict, total=False): +class BackupGcpResource(typing.TypedDict, total=False): gcpResourcename: str location: str type: str @typing.type_check_only -class BackupLocation(typing_extensions.TypedDict, total=False): +class BackupLocation(typing.TypedDict, total=False): locationId: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", "MULTI_REGIONAL" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", "MULTI_REGIONAL"] @typing.type_check_only -class BackupLock(typing_extensions.TypedDict, total=False): +class BackupLock(typing.TypedDict, total=False): backupApplianceLockInfo: BackupApplianceLockInfo lockUntilTime: str serviceLockInfo: ServiceLockInfo @typing.type_check_only -class BackupPlan(typing_extensions.TypedDict, total=False): +class BackupPlan(typing.TypedDict, total=False): backupRules: _list[BackupRule] backupVault: str backupVaultServiceAccount: str @@ -264,14 +248,14 @@ class BackupPlan(typing_extensions.TypedDict, total=False): resourceType: str revisionId: str revisionName: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE", "UPDATING" ] supportedResourceTypes: _list[str] updateTime: str @typing.type_check_only -class BackupPlanAssociation(typing_extensions.TypedDict, total=False): +class BackupPlanAssociation(typing.TypedDict, total=False): alloydbClusterBackupPlanAssociationProperties: ( AlloyDBClusterBackupPlanAssociationProperties ) @@ -290,30 +274,30 @@ class BackupPlanAssociation(typing_extensions.TypedDict, total=False): resource: str resourceType: str rulesConfigInfo: _list[RuleConfigInfo] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE", "UPDATING" ] updateTime: str @typing.type_check_only -class BackupPlanRevision(typing_extensions.TypedDict, total=False): +class BackupPlanRevision(typing.TypedDict, total=False): backupPlanSnapshot: BackupPlan createTime: str name: str revisionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" ] @typing.type_check_only -class BackupRule(typing_extensions.TypedDict, total=False): +class BackupRule(typing.TypedDict, total=False): backupRetentionDays: int ruleId: str standardSchedule: StandardSchedule @typing.type_check_only -class BackupVault(typing_extensions.TypedDict, total=False): - accessRestriction: typing_extensions.Literal[ +class BackupVault(typing.TypedDict, total=False): + accessRestriction: typing.Literal[ "ACCESS_RESTRICTION_UNSPECIFIED", "WITHIN_PROJECT", "WITHIN_ORGANIZATION", @@ -323,7 +307,7 @@ class BackupVault(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] backupCount: str backupMinimumEnforcedRetentionDuration: str - backupRetentionInheritance: typing_extensions.Literal[ + backupRetentionInheritance: typing.Literal[ "BACKUP_RETENTION_INHERITANCE_UNSPECIFIED", "INHERIT_VAULT_RETENTION", "MATCH_BACKUP_EXPIRE_TIME", @@ -337,7 +321,7 @@ class BackupVault(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "ERROR", "UPDATING" ] totalStoredBytes: str @@ -345,27 +329,25 @@ class BackupVault(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BackupWindow(typing_extensions.TypedDict, total=False): +class BackupWindow(typing.TypedDict, total=False): endHourOfDay: int startHourOfDay: int @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudSqlInstanceBackupPlanAssociationProperties( - typing_extensions.TypedDict, total=False -): +class CloudSqlInstanceBackupPlanAssociationProperties(typing.TypedDict, total=False): instanceCreateTime: str @typing.type_check_only -class CloudSqlInstanceBackupProperties(typing_extensions.TypedDict, total=False): +class CloudSqlInstanceBackupProperties(typing.TypedDict, total=False): databaseInstalledVersion: str finalBackup: bool instanceCreateTime: str @@ -374,39 +356,39 @@ class CloudSqlInstanceBackupProperties(typing_extensions.TypedDict, total=False) sourceInstance: str @typing.type_check_only -class CloudSqlInstanceDataSourceProperties(typing_extensions.TypedDict, total=False): +class CloudSqlInstanceDataSourceProperties(typing.TypedDict, total=False): databaseInstalledVersion: str instanceCreateTime: str instanceTier: str name: str @typing.type_check_only -class CloudSqlInstanceDataSourceReferenceProperties( - typing_extensions.TypedDict, total=False -): +class CloudSqlInstanceDataSourceReferenceProperties(typing.TypedDict, total=False): databaseInstalledVersion: str instanceCreateTime: str instanceTier: str name: str @typing.type_check_only -class CloudSqlInstanceInitializationConfig(typing_extensions.TypedDict, total=False): - edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS" - ] +class CloudSqlInstanceInitializationConfig(typing.TypedDict, total=False): + edition: typing.Literal["EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS"] @typing.type_check_only -class ComputeInstanceBackupPlanProperties(typing_extensions.TypedDict, total=False): +class ComputeInstanceBackupPlanProperties(typing.TypedDict, total=False): + bootDiskOnly: bool + diskExclusionLabels: DiskExclusionLabels guestFlush: bool @typing.type_check_only -class ComputeInstanceBackupProperties(typing_extensions.TypedDict, total=False): +class ComputeInstanceBackupProperties(typing.TypedDict, total=False): canIpForward: bool description: str disk: _list[AttachedDisk] + excludedDisks: _list[str] guestAccelerator: _list[AcceleratorConfig] guestFlush: bool - keyRevocationActionType: typing_extensions.Literal[ + includedDisks: _list[str] + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] @@ -420,7 +402,7 @@ class ComputeInstanceBackupProperties(typing_extensions.TypedDict, total=False): tags: Tags @typing.type_check_only -class ComputeInstanceDataSourceProperties(typing_extensions.TypedDict, total=False): +class ComputeInstanceDataSourceProperties(typing.TypedDict, total=False): description: str machineType: str name: str @@ -428,7 +410,7 @@ class ComputeInstanceDataSourceProperties(typing_extensions.TypedDict, total=Fal totalDiskSizeGb: str @typing.type_check_only -class ComputeInstanceRestoreProperties(typing_extensions.TypedDict, total=False): +class ComputeInstanceRestoreProperties(typing.TypedDict, total=False): advancedMachineFeatures: AdvancedMachineFeatures canIpForward: bool confidentialInstanceConfig: ConfidentialInstanceConfig @@ -439,7 +421,7 @@ class ComputeInstanceRestoreProperties(typing_extensions.TypedDict, total=False) guestAccelerators: _list[AcceleratorConfig] hostname: str instanceEncryptionKey: CustomerEncryptionKey - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] @@ -450,7 +432,7 @@ class ComputeInstanceRestoreProperties(typing_extensions.TypedDict, total=False) networkInterfaces: _list[NetworkInterface] networkPerformanceConfig: NetworkPerformanceConfig params: InstanceParams - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", "INHERIT_FROM_SUBNETWORK", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", @@ -463,44 +445,42 @@ class ComputeInstanceRestoreProperties(typing_extensions.TypedDict, total=False) tags: Tags @typing.type_check_only -class ComputeInstanceTargetEnvironment(typing_extensions.TypedDict, total=False): +class ComputeInstanceTargetEnvironment(typing.TypedDict, total=False): project: str useProjectServiceAccount: bool zone: str @typing.type_check_only -class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): +class ConfidentialInstanceConfig(typing.TypedDict, total=False): enableConfidentialCompute: bool @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKeyName: str kmsKeyServiceAccount: str rawKey: str rsaEncryptedKey: str @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): +class DataSource(typing.TypedDict, total=False): backupBlockedByVaultAccessRestriction: bool backupConfigInfo: BackupConfigInfo backupCount: str - configState: typing_extensions.Literal[ - "BACKUP_CONFIG_STATE_UNSPECIFIED", "ACTIVE", "PASSIVE" - ] + configState: typing.Literal["BACKUP_CONFIG_STATE_UNSPECIFIED", "ACTIVE", "PASSIVE"] createTime: str dataSourceBackupApplianceApplication: DataSourceBackupApplianceApplication dataSourceGcpResource: DataSourceGcpResource etag: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "ERROR" ] totalStoredBytes: str updateTime: str @typing.type_check_only -class DataSourceBackupApplianceApplication(typing_extensions.TypedDict, total=False): +class DataSourceBackupApplianceApplication(typing.TypedDict, total=False): applianceId: str applicationId: str applicationName: str @@ -510,8 +490,8 @@ class DataSourceBackupApplianceApplication(typing_extensions.TypedDict, total=Fa type: str @typing.type_check_only -class DataSourceBackupConfigInfo(typing_extensions.TypedDict, total=False): - lastBackupState: typing_extensions.Literal[ +class DataSourceBackupConfigInfo(typing.TypedDict, total=False): + lastBackupState: typing.Literal[ "LAST_BACKUP_STATE_UNSPECIFIED", "FIRST_BACKUP_PENDING", "SUCCEEDED", @@ -521,7 +501,7 @@ class DataSourceBackupConfigInfo(typing_extensions.TypedDict, total=False): lastSuccessfulBackupConsistencyTime: str @typing.type_check_only -class DataSourceGcpResource(typing_extensions.TypedDict, total=False): +class DataSourceGcpResource(typing.TypedDict, total=False): alloyDbClusterDatasourceProperties: AlloyDBClusterDataSourceProperties cloudSqlInstanceDatasourceProperties: CloudSqlInstanceDataSourceProperties computeInstanceDatasourceProperties: ComputeInstanceDataSourceProperties @@ -532,7 +512,7 @@ class DataSourceGcpResource(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class DataSourceGcpResourceInfo(typing_extensions.TypedDict, total=False): +class DataSourceGcpResourceInfo(typing.TypedDict, total=False): alloyDbClusterProperties: AlloyDBClusterDataSourceReferenceProperties cloudSqlInstanceProperties: CloudSqlInstanceDataSourceReferenceProperties filestoreInstanceProperties: FilestoreInstanceDataSourceReferenceProperties @@ -541,11 +521,11 @@ class DataSourceGcpResourceInfo(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class DataSourceReference(typing_extensions.TypedDict, total=False): +class DataSourceReference(typing.TypedDict, total=False): createTime: str dataSource: str dataSourceBackupConfigInfo: DataSourceBackupConfigInfo - dataSourceBackupConfigState: typing_extensions.Literal[ + dataSourceBackupConfigState: typing.Literal[ "BACKUP_CONFIG_STATE_UNSPECIFIED", "ACTIVE", "PASSIVE" ] dataSourceBackupCount: str @@ -554,15 +534,13 @@ class DataSourceReference(typing_extensions.TypedDict, total=False): totalStoredBytes: str @typing.type_check_only -class DiskBackupPlanProperties(typing_extensions.TypedDict, total=False): +class DiskBackupPlanProperties(typing.TypedDict, total=False): guestFlush: bool @typing.type_check_only -class DiskBackupProperties(typing_extensions.TypedDict, total=False): +class DiskBackupProperties(typing.TypedDict, total=False): accessMode: str - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "X86_64", "ARM64" - ] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86_64", "ARM64"] description: str enableConfidentialCompute: bool guestFlush: bool @@ -581,20 +559,20 @@ class DiskBackupProperties(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class DiskDataSourceProperties(typing_extensions.TypedDict, total=False): +class DiskDataSourceProperties(typing.TypedDict, total=False): description: str name: str sizeGb: str type: str @typing.type_check_only -class DiskRestoreProperties(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "READ_WRITE_SINGLE", "READ_WRITE_MANY", "READ_ONLY_MANY" - ] - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "X86_64", "ARM64" - ] +class DiskExclusionLabels(typing.TypedDict, total=False): + labels: _list[LabelKeyValPair] + +@typing.type_check_only +class DiskRestoreProperties(typing.TypedDict, total=False): + accessMode: typing.Literal["READ_WRITE_SINGLE", "READ_WRITE_MANY", "READ_ONLY_MANY"] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86_64", "ARM64"] description: str diskEncryptionKey: CustomerEncryptionKey enableConfidentialCompute: bool @@ -612,113 +590,103 @@ class DiskRestoreProperties(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class DiskTargetEnvironment(typing_extensions.TypedDict, total=False): +class DiskTargetEnvironment(typing.TypedDict, total=False): project: str useProjectServiceAccount: bool zone: str @typing.type_check_only -class DisplayDevice(typing_extensions.TypedDict, total=False): +class DisplayDevice(typing.TypedDict, total=False): enableDisplay: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EndTrialRequest(typing_extensions.TypedDict, total=False): - endReason: typing_extensions.Literal[ - "END_REASON_UNSPECIFIED", "MOVE_TO_PAID", "DISCONTINUED" - ] +class EndTrialRequest(typing.TypedDict, total=False): + endReason: typing.Literal["END_REASON_UNSPECIFIED", "MOVE_TO_PAID", "DISCONTINUED"] @typing.type_check_only -class Entry(typing_extensions.TypedDict, total=False): +class Entry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FetchAccessTokenRequest(typing_extensions.TypedDict, total=False): +class FetchAccessTokenRequest(typing.TypedDict, total=False): generationId: int @typing.type_check_only -class FetchAccessTokenResponse(typing_extensions.TypedDict, total=False): +class FetchAccessTokenResponse(typing.TypedDict, total=False): expireTime: str readLocation: str token: str writeLocation: str @typing.type_check_only -class FetchBackupPlanAssociationsForResourceTypeResponse( - typing_extensions.TypedDict, total=False -): +class FetchBackupPlanAssociationsForResourceTypeResponse(typing.TypedDict, total=False): backupPlanAssociations: _list[BackupPlanAssociation] nextPageToken: str @typing.type_check_only -class FetchBackupsForResourceTypeResponse(typing_extensions.TypedDict, total=False): +class FetchBackupsForResourceTypeResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str @typing.type_check_only -class FetchDataSourceReferencesForResourceTypeResponse( - typing_extensions.TypedDict, total=False -): +class FetchDataSourceReferencesForResourceTypeResponse(typing.TypedDict, total=False): dataSourceReferences: _list[DataSourceReference] nextPageToken: str @typing.type_check_only -class FetchMsComplianceMetadataRequest(typing_extensions.TypedDict, total=False): +class FetchMsComplianceMetadataRequest(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class FetchMsComplianceMetadataResponse(typing_extensions.TypedDict, total=False): +class FetchMsComplianceMetadataResponse(typing.TypedDict, total=False): isAssuredWorkload: bool @typing.type_check_only -class FetchResourceBackupConfigsResponse(typing_extensions.TypedDict, total=False): +class FetchResourceBackupConfigsResponse(typing.TypedDict, total=False): nextPageToken: str resourceBackupConfigs: _list[ResourceBackupConfig] @typing.type_check_only -class FetchUsableBackupVaultsResponse(typing_extensions.TypedDict, total=False): +class FetchUsableBackupVaultsResponse(typing.TypedDict, total=False): backupVaults: _list[BackupVault] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class FilestoreInstanceBackupPlanAssociationProperties( - typing_extensions.TypedDict, total=False -): +class FilestoreInstanceBackupPlanAssociationProperties(typing.TypedDict, total=False): instanceCreateTime: str @typing.type_check_only -class FilestoreInstanceBackupProperties(typing_extensions.TypedDict, total=False): +class FilestoreInstanceBackupProperties(typing.TypedDict, total=False): sourceInstance: str @typing.type_check_only -class FilestoreInstanceDataSourceProperties(typing_extensions.TypedDict, total=False): +class FilestoreInstanceDataSourceProperties(typing.TypedDict, total=False): instanceCreateTime: str name: str @typing.type_check_only -class FilestoreInstanceDataSourceReferenceProperties( - typing_extensions.TypedDict, total=False -): +class FilestoreInstanceDataSourceReferenceProperties(typing.TypedDict, total=False): instanceCreateTime: str name: str @typing.type_check_only -class FinalizeBackupRequest(typing_extensions.TypedDict, total=False): +class FinalizeBackupRequest(typing.TypedDict, total=False): backupId: str consistencyTime: str description: str @@ -728,14 +696,14 @@ class FinalizeBackupRequest(typing_extensions.TypedDict, total=False): retentionDuration: str @typing.type_check_only -class GCPBackupPlanInfo(typing_extensions.TypedDict, total=False): +class GCPBackupPlanInfo(typing.TypedDict, total=False): backupPlan: str backupPlanRevisionId: str backupPlanRevisionName: str backupPlanRuleId: str @typing.type_check_only -class GcpBackupConfig(typing_extensions.TypedDict, total=False): +class GcpBackupConfig(typing.TypedDict, total=False): backupPlan: str backupPlanAssociation: str backupPlanDescription: str @@ -744,13 +712,13 @@ class GcpBackupConfig(typing_extensions.TypedDict, total=False): backupPlanRules: _list[str] @typing.type_check_only -class GcpResource(typing_extensions.TypedDict, total=False): +class GcpResource(typing.TypedDict, total=False): gcpResourcename: str location: str type: str @typing.type_check_only -class GoogleCloudBackupdrV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudBackupdrV1OperationMetadata(typing.TypedDict, total=False): additionalInfo: dict[str, typing.Any] apiVersion: str createTime: str @@ -761,8 +729,8 @@ class GoogleCloudBackupdrV1OperationMetadata(typing_extensions.TypedDict, total= verb: str @typing.type_check_only -class GuestOsFeature(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class GuestOsFeature(typing.TypedDict, total=False): + type: typing.Literal[ "FEATURE_TYPE_UNSPECIFIED", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", @@ -781,12 +749,12 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InitializeParams(typing_extensions.TypedDict, total=False): +class InitializeParams(typing.TypedDict, total=False): diskName: str replicaZones: _list[str] @typing.type_check_only -class InitializeServiceRequest(typing_extensions.TypedDict, total=False): +class InitializeServiceRequest(typing.TypedDict, total=False): backupPlanLocation: str cloudSqlInstanceInitializationConfig: CloudSqlInstanceInitializationConfig requestId: str @@ -794,86 +762,91 @@ class InitializeServiceRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class InitiateBackupRequest(typing_extensions.TypedDict, total=False): +class InitiateBackupRequest(typing.TypedDict, total=False): backupId: str requestId: str @typing.type_check_only -class InitiateBackupResponse(typing_extensions.TypedDict, total=False): +class InitiateBackupResponse(typing.TypedDict, total=False): backup: str baseBackupGenerationId: int newBackupGenerationId: int @typing.type_check_only -class InstanceParams(typing_extensions.TypedDict, total=False): +class InstanceParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class ListBackupPlanAssociationsResponse(typing_extensions.TypedDict, total=False): +class LabelKeyValPair(typing.TypedDict, total=False): + key: str + value: str + +@typing.type_check_only +class ListBackupPlanAssociationsResponse(typing.TypedDict, total=False): backupPlanAssociations: _list[BackupPlanAssociation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupPlanRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListBackupPlanRevisionsResponse(typing.TypedDict, total=False): backupPlanRevisions: _list[BackupPlanRevision] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupPlansResponse(typing_extensions.TypedDict, total=False): +class ListBackupPlansResponse(typing.TypedDict, total=False): backupPlans: _list[BackupPlan] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupVaultsResponse(typing_extensions.TypedDict, total=False): +class ListBackupVaultsResponse(typing.TypedDict, total=False): backupVaults: _list[BackupVault] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDataSourceReferencesResponse(typing_extensions.TypedDict, total=False): +class ListDataSourceReferencesResponse(typing.TypedDict, total=False): dataSourceReferences: _list[DataSourceReference] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): +class ListDataSourcesResponse(typing.TypedDict, total=False): dataSources: _list[DataSource] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListManagementServersResponse(typing_extensions.TypedDict, total=False): +class ListManagementServersResponse(typing.TypedDict, total=False): managementServers: _list[ManagementServer] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListResourceBackupConfigsResponse(typing_extensions.TypedDict, total=False): +class ListResourceBackupConfigsResponse(typing.TypedDict, total=False): nextPageToken: str resourceBackupConfigs: _list[ResourceBackupConfig] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -881,9 +854,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): unsupportedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "FEATURE_UNSPECIFIED", "MANAGEMENT_SERVER", "COMPUTE_INSTANCE", @@ -901,7 +874,7 @@ class LocationMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ManagementServer(typing_extensions.TypedDict, total=False): +class ManagementServer(typing.TypedDict, total=False): baProxyUri: _list[str] createTime: str description: str @@ -913,7 +886,7 @@ class ManagementServer(typing_extensions.TypedDict, total=False): oauth2ClientId: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "INSTANCE_STATE_UNSPECIFIED", "CREATING", "READY", @@ -923,34 +896,32 @@ class ManagementServer(typing_extensions.TypedDict, total=False): "MAINTENANCE", "ERROR", ] - type: typing_extensions.Literal["INSTANCE_TYPE_UNSPECIFIED", "BACKUP_RESTORE"] + type: typing.Literal["INSTANCE_TYPE_UNSPECIFIED", "BACKUP_RESTORE"] updateTime: str workforceIdentityBasedManagementUri: WorkforceIdentityBasedManagementURI workforceIdentityBasedOauth2ClientId: WorkforceIdentityBasedOAuth2ClientID @typing.type_check_only -class ManagementURI(typing_extensions.TypedDict, total=False): +class ManagementURI(typing.TypedDict, total=False): api: str webUi: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): items: _list[Entry] @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): network: str - peeringMode: typing_extensions.Literal[ - "PEERING_MODE_UNSPECIFIED", "PRIVATE_SERVICE_ACCESS" - ] + peeringMode: typing.Literal["PEERING_MODE_UNSPECIFIED", "PRIVATE_SERVICE_ACCESS"] @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] internalIpv6PrefixLength: int ipv6AccessConfigs: _list[AccessConfig] - ipv6AccessType: typing_extensions.Literal[ + ipv6AccessType: typing.Literal[ "UNSPECIFIED_IPV6_ACCESS_TYPE", "INTERNAL", "EXTERNAL" ] ipv6Address: str @@ -958,27 +929,23 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): network: str networkAttachment: str networkIP: str - nicType: typing_extensions.Literal["NIC_TYPE_UNSPECIFIED", "VIRTIO_NET", "GVNIC"] + nicType: typing.Literal["NIC_TYPE_UNSPECIFIED", "VIRTIO_NET", "GVNIC"] queueCount: int - stackType: typing_extensions.Literal[ - "STACK_TYPE_UNSPECIFIED", "IPV4_ONLY", "IPV4_IPV6" - ] + stackType: typing.Literal["STACK_TYPE_UNSPECIFIED", "IPV4_ONLY", "IPV4_IPV6"] subnetwork: str @typing.type_check_only -class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - totalEgressBandwidthTier: typing_extensions.Literal[ - "TIER_UNSPECIFIED", "DEFAULT", "TIER_1" - ] +class NetworkPerformanceConfig(typing.TypedDict, total=False): + totalEgressBandwidthTier: typing.Literal["TIER_UNSPECIFIED", "DEFAULT", "TIER_1"] @typing.type_check_only -class NodeAffinity(typing_extensions.TypedDict, total=False): +class NodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] + operator: typing.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] values: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -986,7 +953,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): additionalInfo: dict[str, typing.Any] apiVersion: str createTime: str @@ -997,36 +964,36 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PitrSettings(typing_extensions.TypedDict, total=False): +class PitrSettings(typing.TypedDict, total=False): retentionDays: int @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RegionDiskTargetEnvironment(typing_extensions.TypedDict, total=False): +class RegionDiskTargetEnvironment(typing.TypedDict, total=False): project: str region: str replicaZones: _list[str] useProjectServiceAccount: bool @typing.type_check_only -class RemoveDataSourceRequest(typing_extensions.TypedDict, total=False): +class RemoveDataSourceRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class ResourceBackupConfig(typing_extensions.TypedDict, total=False): +class ResourceBackupConfig(typing.TypedDict, total=False): backupConfigsDetails: _list[BackupConfigDetails] backupConfigured: bool name: str targetResource: str targetResourceDisplayName: str targetResourceLabels: dict[str, typing.Any] - targetResourceType: typing_extensions.Literal[ + targetResourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE", "COMPUTE_ENGINE_VM", @@ -1038,7 +1005,7 @@ class ResourceBackupConfig(typing_extensions.TypedDict, total=False): vaulted: bool @typing.type_check_only -class RestoreBackupRequest(typing_extensions.TypedDict, total=False): +class RestoreBackupRequest(typing.TypedDict, total=False): clearOverridesFieldMask: str computeInstanceRestoreProperties: ComputeInstanceRestoreProperties computeInstanceTargetEnvironment: ComputeInstanceTargetEnvironment @@ -1048,13 +1015,13 @@ class RestoreBackupRequest(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class RestoreBackupResponse(typing_extensions.TypedDict, total=False): +class RestoreBackupResponse(typing.TypedDict, total=False): targetResource: TargetResource @typing.type_check_only -class RuleConfigInfo(typing_extensions.TypedDict, total=False): +class RuleConfigInfo(typing.TypedDict, total=False): lastBackupError: Status - lastBackupState: typing_extensions.Literal[ + lastBackupState: typing.Literal[ "LAST_BACKUP_STATE_UNSPECIFIED", "FIRST_BACKUP_PENDING", "PERMISSION_DENIED", @@ -1065,58 +1032,58 @@ class RuleConfigInfo(typing_extensions.TypedDict, total=False): ruleId: str @typing.type_check_only -class Scheduling(typing_extensions.TypedDict, total=False): +class Scheduling(typing.TypedDict, total=False): automaticRestart: bool - instanceTerminationAction: typing_extensions.Literal[ + instanceTerminationAction: typing.Literal[ "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", "DELETE", "STOP" ] localSsdRecoveryTimeout: SchedulingDuration minNodeCpus: int nodeAffinities: _list[NodeAffinity] - onHostMaintenance: typing_extensions.Literal[ + onHostMaintenance: typing.Literal[ "ON_HOST_MAINTENANCE_UNSPECIFIED", "TERMINATE", "MIGRATE" ] preemptible: bool - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT" ] @typing.type_check_only -class SchedulingDuration(typing_extensions.TypedDict, total=False): +class SchedulingDuration(typing.TypedDict, total=False): nanos: int seconds: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class ServiceLockInfo(typing_extensions.TypedDict, total=False): +class ServiceLockInfo(typing.TypedDict, total=False): operation: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetInternalStatusRequest(typing_extensions.TypedDict, total=False): - backupConfigState: typing_extensions.Literal[ +class SetInternalStatusRequest(typing.TypedDict, total=False): + backupConfigState: typing.Literal[ "BACKUP_CONFIG_STATE_UNSPECIFIED", "ACTIVE", "PASSIVE" ] requestId: str value: str @typing.type_check_only -class SetInternalStatusResponse(typing_extensions.TypedDict, total=False): ... +class SetInternalStatusResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class StandardSchedule(typing_extensions.TypedDict, total=False): +class StandardSchedule(typing.TypedDict, total=False): backupWindow: BackupWindow daysOfMonth: _list[int] daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1129,7 +1096,7 @@ class StandardSchedule(typing_extensions.TypedDict, total=False): ] hourlyFrequency: int months: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONTH_UNSPECIFIED", "JANUARY", "FEBRUARY", @@ -1145,46 +1112,44 @@ class StandardSchedule(typing_extensions.TypedDict, total=False): "DECEMBER", ] ] - recurrenceType: typing_extensions.Literal[ + recurrenceType: typing.Literal[ "RECURRENCE_TYPE_UNSPECIFIED", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "YEARLY" ] timeZone: str weekDayOfMonth: WeekDayOfMonth @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SubscribeTrialRequest(typing_extensions.TypedDict, total=False): ... +class SubscribeTrialRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Tags(typing_extensions.TypedDict, total=False): +class Tags(typing.TypedDict, total=False): items: _list[str] @typing.type_check_only -class TargetResource(typing_extensions.TypedDict, total=False): +class TargetResource(typing.TypedDict, total=False): gcpResource: GcpResource @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Trial(typing_extensions.TypedDict, total=False): - endReason: typing_extensions.Literal[ - "END_REASON_UNSPECIFIED", "MOVE_TO_PAID", "DISCONTINUED" - ] +class Trial(typing.TypedDict, total=False): + endReason: typing.Literal["END_REASON_UNSPECIFIED", "MOVE_TO_PAID", "DISCONTINUED"] endTime: str name: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUBSCRIBED", "UNSUBSCRIBED", @@ -1194,15 +1159,15 @@ class Trial(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TriggerBackupRequest(typing_extensions.TypedDict, total=False): +class TriggerBackupRequest(typing.TypedDict, total=False): customRetentionDays: int labels: dict[str, typing.Any] requestId: str ruleId: str @typing.type_check_only -class WeekDayOfMonth(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class WeekDayOfMonth(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1212,16 +1177,16 @@ class WeekDayOfMonth(typing_extensions.TypedDict, total=False): "SATURDAY", "SUNDAY", ] - weekOfMonth: typing_extensions.Literal[ + weekOfMonth: typing.Literal[ "WEEK_OF_MONTH_UNSPECIFIED", "FIRST", "SECOND", "THIRD", "FOURTH", "LAST" ] @typing.type_check_only -class WorkforceIdentityBasedManagementURI(typing_extensions.TypedDict, total=False): +class WorkforceIdentityBasedManagementURI(typing.TypedDict, total=False): firstPartyManagementUri: str thirdPartyManagementUri: str @typing.type_check_only -class WorkforceIdentityBasedOAuth2ClientID(typing_extensions.TypedDict, total=False): +class WorkforceIdentityBasedOAuth2ClientID(typing.TypedDict, total=False): firstPartyOauth2ClientId: str thirdPartyOauth2ClientId: str diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v1/resources.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v1/resources.pyi index f7d82a2c3..2d3760ecf 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v1/schemas.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v1/schemas.pyi index cea50b8bf..5e941cb8d 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v1/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -24,7 +22,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/resources.pyi index 50870925e..f738fa52b 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/schemas.pyi index 8698decfe..7548857a9 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v1alpha1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class InstanceConfig(typing_extensions.TypedDict, total=False): +class InstanceConfig(typing.TypedDict, total=False): clientNetwork: NetworkAddress hyperthreading: bool id: str @@ -16,86 +14,82 @@ class InstanceConfig(typing_extensions.TypedDict, total=False): userNote: str @typing.type_check_only -class InstanceQuota(typing_extensions.TypedDict, total=False): +class InstanceQuota(typing.TypedDict, total=False): availableMachineCount: int instanceType: str location: str @typing.type_check_only -class ListProvisioningQuotasResponse(typing_extensions.TypedDict, total=False): +class ListProvisioningQuotasResponse(typing.TypedDict, total=False): nextPageToken: str provisioningQuotas: _list[ProvisioningQuota] @typing.type_check_only -class LunRange(typing_extensions.TypedDict, total=False): +class LunRange(typing.TypedDict, total=False): quantity: int sizeGb: int @typing.type_check_only -class NetworkAddress(typing_extensions.TypedDict, total=False): +class NetworkAddress(typing.TypedDict, total=False): address: str existingNetworkId: str networkId: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - bandwidth: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + bandwidth: typing.Literal[ "BANDWIDTH_UNSPECIFIED", "BW_1_GBPS", "BW_2_GBPS", "BW_5_GBPS", "BW_10_GBPS" ] cidr: str id: str location: str - serviceCidr: typing_extensions.Literal[ + serviceCidr: typing.Literal[ "SERVICE_CIDR_UNSPECIFIED", "DISABLED", "HIGH_26", "HIGH_27", "HIGH_28" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] userNote: str vlanAttachments: _list[VlanAttachment] @typing.type_check_only -class NfsExport(typing_extensions.TypedDict, total=False): +class NfsExport(typing.TypedDict, total=False): allowDev: bool allowSuid: bool cidr: str machineId: str networkId: str noRootSquash: bool - permissions: typing_extensions.Literal[ - "PERMISSIONS_UNSPECIFIED", "READ_ONLY", "READ_WRITE" - ] + permissions: typing.Literal["PERMISSIONS_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] @typing.type_check_only -class ProvisioningConfig(typing_extensions.TypedDict, total=False): +class ProvisioningConfig(typing.TypedDict, total=False): instances: _list[InstanceConfig] networks: _list[NetworkConfig] ticketId: str volumes: _list[VolumeConfig] @typing.type_check_only -class ProvisioningQuota(typing_extensions.TypedDict, total=False): +class ProvisioningQuota(typing.TypedDict, total=False): instanceQuota: InstanceQuota @typing.type_check_only -class SubmitProvisioningConfigRequest(typing_extensions.TypedDict, total=False): +class SubmitProvisioningConfigRequest(typing.TypedDict, total=False): email: str provisioningConfig: ProvisioningConfig @typing.type_check_only -class VlanAttachment(typing_extensions.TypedDict, total=False): +class VlanAttachment(typing.TypedDict, total=False): id: str pairingKey: str @typing.type_check_only -class VolumeConfig(typing_extensions.TypedDict, total=False): +class VolumeConfig(typing.TypedDict, total=False): id: str location: str lunRanges: _list[LunRange] machineIds: _list[str] nfsExports: _list[NfsExport] - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "PROTOCOL_FC", "PROTOCOL_NFS" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "PROTOCOL_FC", "PROTOCOL_NFS"] sizeGb: int snapshotsEnabled: bool - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "FLASH", "DISK"] + type: typing.Literal["TYPE_UNSPECIFIED", "FLASH", "DISK"] userNote: str diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi index fd14d0efe..6188ea8ad 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi b/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi index 5d3f9f1dc..b17b601bc 100644 --- a/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/baremetalsolution/v2/schemas.pyi @@ -1,15 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AllowedClient(typing_extensions.TypedDict, total=False): +class AllowedClient(typing.TypedDict, total=False): allowDev: bool allowSuid: bool allowedClientsCidr: str - mountPermissions: typing_extensions.Literal[ + mountPermissions: typing.Literal[ "MOUNT_PERMISSIONS_UNSPECIFIED", "READ", "READ_WRITE" ] network: str @@ -18,63 +16,53 @@ class AllowedClient(typing_extensions.TypedDict, total=False): shareIp: str @typing.type_check_only -class DetachLunRequest(typing_extensions.TypedDict, total=False): +class DetachLunRequest(typing.TypedDict, total=False): lun: str skipReboot: bool @typing.type_check_only -class DisableHyperthreadingRequest(typing_extensions.TypedDict, total=False): ... +class DisableHyperthreadingRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableInteractiveSerialConsoleRequest( - typing_extensions.TypedDict, total=False -): ... +class DisableInteractiveSerialConsoleRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableInteractiveSerialConsoleResponse( - typing_extensions.TypedDict, total=False -): ... +class DisableInteractiveSerialConsoleResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableHyperthreadingRequest(typing_extensions.TypedDict, total=False): ... +class EnableHyperthreadingRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableInteractiveSerialConsoleRequest( - typing_extensions.TypedDict, total=False -): ... +class EnableInteractiveSerialConsoleRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableInteractiveSerialConsoleResponse( - typing_extensions.TypedDict, total=False -): ... +class EnableInteractiveSerialConsoleResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class EvictLunRequest(typing_extensions.TypedDict, total=False): ... +class EvictLunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EvictVolumeRequest(typing_extensions.TypedDict, total=False): ... +class EvictVolumeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudBaremetalsolutionV2LogicalInterface( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBaremetalsolutionV2LogicalInterface(typing.TypedDict, total=False): interfaceIndex: int logicalNetworkInterfaces: _list[LogicalNetworkInterface] name: str @typing.type_check_only class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str required: bool - type: typing_extensions.Literal["INTERFACE_TYPE_UNSPECIFIED", "BOND", "NIC"] + type: typing.Literal["INTERFACE_TYPE_UNSPECIFIED", "BOND", "NIC"] @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): createTime: str firmwareVersion: str hyperthreadingEnabled: bool @@ -92,7 +80,7 @@ class Instance(typing_extensions.TypedDict, total=False): osImage: str pod: str sshKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -104,14 +92,14 @@ class Instance(typing_extensions.TypedDict, total=False): ] updateTime: str volumes: _list[Volume] - workloadProfile: typing_extensions.Literal[ + workloadProfile: typing.Literal[ "WORKLOAD_PROFILE_UNSPECIFIED", "WORKLOAD_PROFILE_GENERIC", "WORKLOAD_PROFILE_HANA", ] @typing.type_check_only -class InstanceConfig(typing_extensions.TypedDict, total=False): +class InstanceConfig(typing.TypedDict, total=False): accountNetworksEnabled: bool clientNetwork: NetworkAddress hyperthreading: bool @@ -120,7 +108,7 @@ class InstanceConfig(typing_extensions.TypedDict, total=False): kmsKeyVersion: str logicalInterfaces: _list[GoogleCloudBaremetalsolutionV2LogicalInterface] name: str - networkConfig: typing_extensions.Literal[ + networkConfig: typing.Literal[ "NETWORKCONFIG_UNSPECIFIED", "SINGLE_VLAN", "MULTI_VLAN" ] networkTemplate: str @@ -130,7 +118,7 @@ class InstanceConfig(typing_extensions.TypedDict, total=False): userNote: str @typing.type_check_only -class InstanceQuota(typing_extensions.TypedDict, total=False): +class InstanceQuota(typing.TypedDict, total=False): availableMachineCount: int gcpService: str instanceType: str @@ -138,77 +126,77 @@ class InstanceQuota(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class IntakeVlanAttachment(typing_extensions.TypedDict, total=False): +class IntakeVlanAttachment(typing.TypedDict, total=False): id: str pairingKey: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListLunsResponse(typing_extensions.TypedDict, total=False): +class ListLunsResponse(typing.TypedDict, total=False): luns: _list[Lun] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListNetworkUsageResponse(typing_extensions.TypedDict, total=False): +class ListNetworkUsageResponse(typing.TypedDict, total=False): networks: _list[NetworkUsage] @typing.type_check_only -class ListNetworksResponse(typing_extensions.TypedDict, total=False): +class ListNetworksResponse(typing.TypedDict, total=False): networks: _list[Network] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListNfsSharesResponse(typing_extensions.TypedDict, total=False): +class ListNfsSharesResponse(typing.TypedDict, total=False): nextPageToken: str nfsShares: _list[NfsShare] unreachable: _list[str] @typing.type_check_only -class ListOSImagesResponse(typing_extensions.TypedDict, total=False): +class ListOSImagesResponse(typing.TypedDict, total=False): nextPageToken: str osImages: _list[OSImage] @typing.type_check_only -class ListProvisioningQuotasResponse(typing_extensions.TypedDict, total=False): +class ListProvisioningQuotasResponse(typing.TypedDict, total=False): nextPageToken: str provisioningQuotas: _list[ProvisioningQuota] @typing.type_check_only -class ListSSHKeysResponse(typing_extensions.TypedDict, total=False): +class ListSSHKeysResponse(typing.TypedDict, total=False): nextPageToken: str sshKeys: _list[SSHKey] @typing.type_check_only -class ListVolumeSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListVolumeSnapshotsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] volumeSnapshots: _list[VolumeSnapshot] @typing.type_check_only -class ListVolumesResponse(typing_extensions.TypedDict, total=False): +class ListVolumesResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] volumes: _list[Volume] @typing.type_check_only -class LoadInstanceAuthInfoResponse(typing_extensions.TypedDict, total=False): +class LoadInstanceAuthInfoResponse(typing.TypedDict, total=False): sshKeys: _list[SSHKey] userAccounts: dict[str, typing.Any] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -216,39 +204,37 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LogicalNetworkInterface(typing_extensions.TypedDict, total=False): +class LogicalNetworkInterface(typing.TypedDict, total=False): defaultGateway: bool id: str ipAddress: str network: str - networkType: typing_extensions.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] + networkType: typing.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] @typing.type_check_only -class Lun(typing_extensions.TypedDict, total=False): +class Lun(typing.TypedDict, total=False): bootLun: bool expireTime: str id: str instances: _list[str] - multiprotocolType: typing_extensions.Literal[ - "MULTIPROTOCOL_TYPE_UNSPECIFIED", "LINUX" - ] + multiprotocolType: typing.Literal["MULTIPROTOCOL_TYPE_UNSPECIFIED", "LINUX"] name: str shareable: bool sizeGb: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", "READY", "DELETING", "COOL_OFF" ] - storageType: typing_extensions.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] + storageType: typing.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] storageVolume: str wwid: str @typing.type_check_only -class LunRange(typing_extensions.TypedDict, total=False): +class LunRange(typing.TypedDict, total=False): quantity: int sizeGb: int @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): cidr: str gatewayIp: str id: str @@ -261,29 +247,29 @@ class Network(typing_extensions.TypedDict, total=False): pod: str reservations: _list[NetworkAddressReservation] servicesCidr: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "PROVISIONED", "DEPROVISIONING", "UPDATING" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] vlanId: str vrf: VRF vrfAttachment: str @typing.type_check_only -class NetworkAddress(typing_extensions.TypedDict, total=False): +class NetworkAddress(typing.TypedDict, total=False): address: str existingNetworkId: str networkId: str @typing.type_check_only -class NetworkAddressReservation(typing_extensions.TypedDict, total=False): +class NetworkAddressReservation(typing.TypedDict, total=False): endAddress: str note: str startAddress: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - bandwidth: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + bandwidth: typing.Literal[ "BANDWIDTH_UNSPECIFIED", "BW_1_GBPS", "BW_2_GBPS", "BW_5_GBPS", "BW_10_GBPS" ] cidr: str @@ -291,41 +277,39 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): id: str jumboFramesEnabled: bool name: str - serviceCidr: typing_extensions.Literal[ + serviceCidr: typing.Literal[ "SERVICE_CIDR_UNSPECIFIED", "DISABLED", "HIGH_26", "HIGH_27", "HIGH_28" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "CLIENT", "PRIVATE"] userNote: str vlanAttachments: _list[IntakeVlanAttachment] vlanSameProject: bool vrf: str @typing.type_check_only -class NetworkMountPoint(typing_extensions.TypedDict, total=False): +class NetworkMountPoint(typing.TypedDict, total=False): defaultGateway: bool instance: str ipAddress: str logicalInterface: str @typing.type_check_only -class NetworkUsage(typing_extensions.TypedDict, total=False): +class NetworkUsage(typing.TypedDict, total=False): network: Network usedIps: _list[str] @typing.type_check_only -class NfsExport(typing_extensions.TypedDict, total=False): +class NfsExport(typing.TypedDict, total=False): allowDev: bool allowSuid: bool cidr: str machineId: str networkId: str noRootSquash: bool - permissions: typing_extensions.Literal[ - "PERMISSIONS_UNSPECIFIED", "READ_ONLY", "READ_WRITE" - ] + permissions: typing.Literal["PERMISSIONS_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] @typing.type_check_only -class NfsShare(typing_extensions.TypedDict, total=False): +class NfsShare(typing.TypedDict, total=False): allowedClients: _list[AllowedClient] id: str labels: dict[str, typing.Any] @@ -333,14 +317,14 @@ class NfsShare(typing_extensions.TypedDict, total=False): nfsShareId: str pod: str requestedSizeGib: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONED", "CREATING", "UPDATING", "DELETING" ] - storageType: typing_extensions.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] + storageType: typing.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] volume: str @typing.type_check_only -class OSImage(typing_extensions.TypedDict, total=False): +class OSImage(typing.TypedDict, total=False): applicableInstanceTypes: _list[str] code: str description: str @@ -348,7 +332,7 @@ class OSImage(typing_extensions.TypedDict, total=False): supportedNetworkTemplates: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -356,7 +340,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class ProvisioningConfig(typing_extensions.TypedDict, total=False): +class ProvisioningConfig(typing.TypedDict, total=False): cloudConsoleUri: str customId: str email: str @@ -366,7 +350,7 @@ class ProvisioningConfig(typing_extensions.TypedDict, total=False): name: str networks: _list[NetworkConfig] pod: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "SUBMITTED", @@ -383,8 +367,8 @@ class ProvisioningConfig(typing_extensions.TypedDict, total=False): vpcScEnabled: bool @typing.type_check_only -class ProvisioningQuota(typing_extensions.TypedDict, total=False): - assetType: typing_extensions.Literal[ +class ProvisioningQuota(typing.TypedDict, total=False): + assetType: typing.Literal[ "ASSET_TYPE_UNSPECIFIED", "ASSET_TYPE_SERVER", "ASSET_TYPE_STORAGE", @@ -400,51 +384,51 @@ class ProvisioningQuota(typing_extensions.TypedDict, total=False): storageGib: str @typing.type_check_only -class QosPolicy(typing_extensions.TypedDict, total=False): +class QosPolicy(typing.TypedDict, total=False): bandwidthGbps: float @typing.type_check_only -class ReimageInstanceRequest(typing_extensions.TypedDict, total=False): +class ReimageInstanceRequest(typing.TypedDict, total=False): kmsKeyVersion: str osImage: str sshKeys: _list[str] @typing.type_check_only -class RenameInstanceRequest(typing_extensions.TypedDict, total=False): +class RenameInstanceRequest(typing.TypedDict, total=False): newInstanceId: str @typing.type_check_only -class RenameNetworkRequest(typing_extensions.TypedDict, total=False): +class RenameNetworkRequest(typing.TypedDict, total=False): newNetworkId: str @typing.type_check_only -class RenameNfsShareRequest(typing_extensions.TypedDict, total=False): +class RenameNfsShareRequest(typing.TypedDict, total=False): newNfsshareId: str @typing.type_check_only -class RenameVolumeRequest(typing_extensions.TypedDict, total=False): +class RenameVolumeRequest(typing.TypedDict, total=False): newVolumeId: str @typing.type_check_only -class ResetInstanceRequest(typing_extensions.TypedDict, total=False): ... +class ResetInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResetInstanceResponse(typing_extensions.TypedDict, total=False): ... +class ResetInstanceResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ResizeVolumeRequest(typing_extensions.TypedDict, total=False): +class ResizeVolumeRequest(typing.TypedDict, total=False): sizeGib: str @typing.type_check_only -class RestoreVolumeSnapshotRequest(typing_extensions.TypedDict, total=False): ... +class RestoreVolumeSnapshotRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SSHKey(typing_extensions.TypedDict, total=False): +class SSHKey(typing.TypedDict, total=False): name: str publicKey: str @typing.type_check_only -class ServerNetworkTemplate(typing_extensions.TypedDict, total=False): +class ServerNetworkTemplate(typing.TypedDict, total=False): applicableInstanceTypes: _list[str] logicalInterfaces: _list[ GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface @@ -452,53 +436,53 @@ class ServerNetworkTemplate(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SnapshotReservationDetail(typing_extensions.TypedDict, total=False): +class SnapshotReservationDetail(typing.TypedDict, total=False): reservedSpaceGib: str reservedSpacePercent: int reservedSpaceRemainingGib: str reservedSpaceUsedPercent: int @typing.type_check_only -class StartInstanceRequest(typing_extensions.TypedDict, total=False): ... +class StartInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StartInstanceResponse(typing_extensions.TypedDict, total=False): ... +class StartInstanceResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopInstanceRequest(typing_extensions.TypedDict, total=False): ... +class StopInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopInstanceResponse(typing_extensions.TypedDict, total=False): ... +class StopInstanceResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SubmitProvisioningConfigRequest(typing_extensions.TypedDict, total=False): +class SubmitProvisioningConfigRequest(typing.TypedDict, total=False): email: str provisioningConfig: ProvisioningConfig @typing.type_check_only -class SubmitProvisioningConfigResponse(typing_extensions.TypedDict, total=False): +class SubmitProvisioningConfigResponse(typing.TypedDict, total=False): provisioningConfig: ProvisioningConfig @typing.type_check_only -class UserAccount(typing_extensions.TypedDict, total=False): +class UserAccount(typing.TypedDict, total=False): encryptedPassword: str kmsKeyVersion: str @typing.type_check_only -class VRF(typing_extensions.TypedDict, total=False): +class VRF(typing.TypedDict, total=False): name: str qosPolicy: QosPolicy - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PROVISIONING", "PROVISIONED"] + state: typing.Literal["STATE_UNSPECIFIED", "PROVISIONING", "PROVISIONED"] vlanAttachments: _list[VlanAttachment] @typing.type_check_only -class VlanAttachment(typing_extensions.TypedDict, total=False): +class VlanAttachment(typing.TypedDict, total=False): id: str interconnectAttachment: str pairingKey: str @@ -508,7 +492,7 @@ class VlanAttachment(typing_extensions.TypedDict, total=False): routerIp: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): attached: bool autoGrownSizeGib: str bootVolume: bool @@ -522,7 +506,7 @@ class Volume(typing_extensions.TypedDict, total=False): name: str notes: str originallyRequestedSizeGib: str - performanceTier: typing_extensions.Literal[ + performanceTier: typing.Literal[ "VOLUME_PERFORMANCE_TIER_UNSPECIFIED", "VOLUME_PERFORMANCE_TIER_SHARED", "VOLUME_PERFORMANCE_TIER_ASSIGNED", @@ -530,10 +514,10 @@ class Volume(typing_extensions.TypedDict, total=False): "VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE", ] pod: str - protocol: typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "FIBRE_CHANNEL", "NFS"] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "FIBRE_CHANNEL", "NFS"] remainingSpaceGib: str requestedSizeGib: str - snapshotAutoDeleteBehavior: typing_extensions.Literal[ + snapshotAutoDeleteBehavior: typing.Literal[ "SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED", "DISABLED", "OLDEST_FIRST", @@ -541,42 +525,38 @@ class Volume(typing_extensions.TypedDict, total=False): ] snapshotEnabled: bool snapshotReservationDetail: SnapshotReservationDetail - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING", "COOL_OFF" ] - storageType: typing_extensions.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] - workloadProfile: typing_extensions.Literal[ - "WORKLOAD_PROFILE_UNSPECIFIED", "GENERIC", "HANA" - ] + storageType: typing.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] + workloadProfile: typing.Literal["WORKLOAD_PROFILE_UNSPECIFIED", "GENERIC", "HANA"] @typing.type_check_only -class VolumeConfig(typing_extensions.TypedDict, total=False): +class VolumeConfig(typing.TypedDict, total=False): gcpService: str id: str lunRanges: _list[LunRange] machineIds: _list[str] name: str nfsExports: _list[NfsExport] - performanceTier: typing_extensions.Literal[ + performanceTier: typing.Literal[ "VOLUME_PERFORMANCE_TIER_UNSPECIFIED", "VOLUME_PERFORMANCE_TIER_SHARED", "VOLUME_PERFORMANCE_TIER_ASSIGNED", "VOLUME_PERFORMANCE_TIER_HT", "VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE", ] - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "PROTOCOL_FC", "PROTOCOL_NFS" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "PROTOCOL_FC", "PROTOCOL_NFS"] sizeGb: int snapshotsEnabled: bool - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "FLASH", "DISK"] + type: typing.Literal["TYPE_UNSPECIFIED", "FLASH", "DISK"] userNote: str @typing.type_check_only -class VolumeSnapshot(typing_extensions.TypedDict, total=False): +class VolumeSnapshot(typing.TypedDict, total=False): createTime: str description: str id: str name: str storageVolume: str - type: typing_extensions.Literal["SNAPSHOT_TYPE_UNSPECIFIED", "AD_HOC", "SCHEDULED"] + type: typing.Literal["SNAPSHOT_TYPE_UNSPECIFIED", "AD_HOC", "SCHEDULED"] diff --git a/googleapiclient-stubs/_apis/batch/v1/resources.pyi b/googleapiclient-stubs/_apis/batch/v1/resources.pyi index 0d942bfe7..917a2146d 100644 --- a/googleapiclient-stubs/_apis/batch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi index 237a333ab..6015dfbe9 100644 --- a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): +class Accelerator(typing.TypedDict, total=False): count: str driverVersion: str installGpuDrivers: bool type: str @typing.type_check_only -class ActionCondition(typing_extensions.TypedDict, total=False): +class ActionCondition(typing.TypedDict, total=False): exitCodes: _list[int] @typing.type_check_only -class AgentContainer(typing_extensions.TypedDict, total=False): +class AgentContainer(typing.TypedDict, total=False): commands: _list[str] entrypoint: str imageUri: str @@ -24,28 +22,28 @@ class AgentContainer(typing_extensions.TypedDict, total=False): volumes: _list[str] @typing.type_check_only -class AgentEnvironment(typing_extensions.TypedDict, total=False): +class AgentEnvironment(typing.TypedDict, total=False): encryptedVariables: AgentKMSEnvMap secretVariables: dict[str, typing.Any] variables: dict[str, typing.Any] @typing.type_check_only -class AgentInfo(typing_extensions.TypedDict, total=False): +class AgentInfo(typing.TypedDict, total=False): jobId: str reportTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "AGENT_STATE_UNSPECIFIED", "AGENT_STARTING", "AGENT_RUNNING", "AGENT_STOPPED" ] taskGroupId: str tasks: _list[AgentTaskInfo] @typing.type_check_only -class AgentKMSEnvMap(typing_extensions.TypedDict, total=False): +class AgentKMSEnvMap(typing.TypedDict, total=False): cipherText: str keyName: str @typing.type_check_only -class AgentMetadata(typing_extensions.TypedDict, total=False): +class AgentMetadata(typing.TypedDict, total=False): creationTime: str creator: str imageVersion: str @@ -58,36 +56,34 @@ class AgentMetadata(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class AgentScript(typing_extensions.TypedDict, total=False): +class AgentScript(typing.TypedDict, total=False): path: str text: str @typing.type_check_only -class AgentTask(typing_extensions.TypedDict, total=False): +class AgentTask(typing.TypedDict, total=False): agentTaskSpec: AgentTaskSpec - intendedState: typing_extensions.Literal[ + intendedState: typing.Literal[ "INTENDED_STATE_UNSPECIFIED", "ASSIGNED", "CANCELLED", "DELETED" ] reachedBarrier: str spec: TaskSpec status: TaskStatus task: str - taskSource: typing_extensions.Literal[ - "TASK_SOURCE_UNSPECIFIED", "BATCH_INTERNAL", "USER" - ] + taskSource: typing.Literal["TASK_SOURCE_UNSPECIFIED", "BATCH_INTERNAL", "USER"] @typing.type_check_only -class AgentTaskInfo(typing_extensions.TypedDict, total=False): +class AgentTaskInfo(typing.TypedDict, total=False): runnable: str taskId: str taskStatus: TaskStatus @typing.type_check_only -class AgentTaskLoggingOption(typing_extensions.TypedDict, total=False): +class AgentTaskLoggingOption(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class AgentTaskRunnable(typing_extensions.TypedDict, total=False): +class AgentTaskRunnable(typing.TypedDict, total=False): alwaysRun: bool background: bool container: AgentContainer @@ -97,7 +93,7 @@ class AgentTaskRunnable(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class AgentTaskSpec(typing_extensions.TypedDict, total=False): +class AgentTaskSpec(typing.TypedDict, total=False): environment: AgentEnvironment loggingOption: AgentTaskLoggingOption maxRunDuration: str @@ -105,18 +101,18 @@ class AgentTaskSpec(typing_extensions.TypedDict, total=False): userAccount: AgentTaskUserAccount @typing.type_check_only -class AgentTaskUserAccount(typing_extensions.TypedDict, total=False): +class AgentTaskUserAccount(typing.TypedDict, total=False): gid: str uid: str @typing.type_check_only -class AgentTimingInfo(typing_extensions.TypedDict, total=False): +class AgentTimingInfo(typing.TypedDict, total=False): agentStartupTime: str bootTime: str scriptStartupTime: str @typing.type_check_only -class AllocationPolicy(typing_extensions.TypedDict, total=False): +class AllocationPolicy(typing.TypedDict, total=False): instances: _list[InstancePolicyOrTemplate] labels: dict[str, typing.Any] location: LocationPolicy @@ -126,34 +122,34 @@ class AllocationPolicy(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class AttachedDisk(typing_extensions.TypedDict, total=False): +class AttachedDisk(typing.TypedDict, total=False): deviceName: str existingDisk: str newDisk: Disk @typing.type_check_only -class Barrier(typing_extensions.TypedDict, total=False): +class Barrier(typing.TypedDict, total=False): name: str @typing.type_check_only -class CancelJobRequest(typing_extensions.TypedDict, total=False): +class CancelJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudLoggingOption(typing_extensions.TypedDict, total=False): +class CloudLoggingOption(typing.TypedDict, total=False): useGenericTaskMonitoredResource: bool @typing.type_check_only -class ComputeResource(typing_extensions.TypedDict, total=False): +class ComputeResource(typing.TypedDict, total=False): bootDiskMib: str cpuMilli: str memoryMib: str @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): blockExternalNetwork: bool commands: _list[str] enableImageStreaming: bool @@ -165,7 +161,7 @@ class Container(typing_extensions.TypedDict, total=False): volumes: _list[str] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): diskInterface: str image: str sizeGb: str @@ -173,26 +169,26 @@ class Disk(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): encryptedVariables: KMSEnvMap secretVariables: dict[str, typing.Any] variables: dict[str, typing.Any] @typing.type_check_only -class GCS(typing_extensions.TypedDict, total=False): +class GCS(typing.TypedDict, total=False): remotePath: str @typing.type_check_only -class InstancePolicy(typing_extensions.TypedDict, total=False): +class InstancePolicy(typing.TypedDict, total=False): accelerators: _list[Accelerator] bootDisk: Disk disks: _list[AttachedDisk] machineType: str minCpuPlatform: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT", @@ -203,7 +199,7 @@ class InstancePolicy(typing_extensions.TypedDict, total=False): reservation: str @typing.type_check_only -class InstancePolicyOrTemplate(typing_extensions.TypedDict, total=False): +class InstancePolicyOrTemplate(typing.TypedDict, total=False): blockProjectSshKeys: bool installGpuDrivers: bool installOpsAgent: bool @@ -211,10 +207,10 @@ class InstancePolicyOrTemplate(typing_extensions.TypedDict, total=False): policy: InstancePolicy @typing.type_check_only -class InstanceStatus(typing_extensions.TypedDict, total=False): +class InstanceStatus(typing.TypedDict, total=False): bootDisk: Disk machineType: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT", @@ -225,7 +221,7 @@ class InstanceStatus(typing_extensions.TypedDict, total=False): taskPack: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): allocationPolicy: AllocationPolicy createTime: str labels: dict[str, typing.Any] @@ -239,14 +235,14 @@ class Job(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class JobNotification(typing_extensions.TypedDict, total=False): +class JobNotification(typing.TypedDict, total=False): message: Message pubsubTopic: str @typing.type_check_only -class JobStatus(typing_extensions.TypedDict, total=False): +class JobStatus(typing.TypedDict, total=False): runDuration: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "SCHEDULED", @@ -261,40 +257,40 @@ class JobStatus(typing_extensions.TypedDict, total=False): taskGroups: dict[str, typing.Any] @typing.type_check_only -class KMSEnvMap(typing_extensions.TypedDict, total=False): +class KMSEnvMap(typing.TypedDict, total=False): cipherText: str keyName: str @typing.type_check_only -class LifecyclePolicy(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "RETRY_TASK", "FAIL_TASK"] +class LifecyclePolicy(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "RETRY_TASK", "FAIL_TASK"] actionCondition: ActionCondition @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTasksResponse(typing_extensions.TypedDict, total=False): +class ListTasksResponse(typing.TypedDict, total=False): nextPageToken: str tasks: _list[Task] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -302,20 +298,18 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationPolicy(typing_extensions.TypedDict, total=False): +class LocationPolicy(typing.TypedDict, total=False): allowedLocations: _list[str] @typing.type_check_only -class LogsPolicy(typing_extensions.TypedDict, total=False): +class LogsPolicy(typing.TypedDict, total=False): cloudLoggingOption: CloudLoggingOption - destination: typing_extensions.Literal[ - "DESTINATION_UNSPECIFIED", "CLOUD_LOGGING", "PATH" - ] + destination: typing.Literal["DESTINATION_UNSPECIFIED", "CLOUD_LOGGING", "PATH"] logsPath: str @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): - newJobState: typing_extensions.Literal[ +class Message(typing.TypedDict, total=False): + newJobState: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "SCHEDULED", @@ -326,7 +320,7 @@ class Message(typing_extensions.TypedDict, total=False): "CANCELLATION_IN_PROGRESS", "CANCELLED", ] - newTaskState: typing_extensions.Literal[ + newTaskState: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "ASSIGNED", @@ -335,27 +329,26 @@ class Message(typing_extensions.TypedDict, total=False): "SUCCEEDED", "UNEXECUTED", ] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "JOB_STATE_CHANGED", "TASK_STATE_CHANGED" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "JOB_STATE_CHANGED", "TASK_STATE_CHANGED"] @typing.type_check_only -class NFS(typing_extensions.TypedDict, total=False): +class NFS(typing.TypedDict, total=False): remotePath: str server: str @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): network: str + nicType: typing.Literal["NIC_TYPE_UNSPECIFIED", "GVNIC", "IRDMA", "MRDMA"] noExternalIpAddress: bool subnetwork: str @typing.type_check_only -class NetworkPolicy(typing_extensions.TypedDict, total=False): +class NetworkPolicy(typing.TypedDict, total=False): networkInterfaces: _list[NetworkInterface] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -363,7 +356,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -373,25 +366,25 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PlacementPolicy(typing_extensions.TypedDict, total=False): +class PlacementPolicy(typing.TypedDict, total=False): collocation: str maxDistance: str @typing.type_check_only -class ReportAgentStateRequest(typing_extensions.TypedDict, total=False): +class ReportAgentStateRequest(typing.TypedDict, total=False): agentInfo: AgentInfo agentTimingInfo: AgentTimingInfo metadata: AgentMetadata @typing.type_check_only -class ReportAgentStateResponse(typing_extensions.TypedDict, total=False): +class ReportAgentStateResponse(typing.TypedDict, total=False): defaultReportInterval: str minReportInterval: str tasks: _list[AgentTask] useBatchMonitoredResource: bool @typing.type_check_only -class Runnable(typing_extensions.TypedDict, total=False): +class Runnable(typing.TypedDict, total=False): alwaysRun: bool background: bool barrier: Barrier @@ -404,27 +397,27 @@ class Runnable(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class Script(typing_extensions.TypedDict, total=False): +class Script(typing.TypedDict, total=False): path: str text: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusEvent(typing_extensions.TypedDict, total=False): +class StatusEvent(typing.TypedDict, total=False): description: str eventTime: str taskExecution: TaskExecution - taskState: typing_extensions.Literal[ + taskState: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "ASSIGNED", @@ -436,22 +429,22 @@ class StatusEvent(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): name: str status: TaskStatus @typing.type_check_only -class TaskExecution(typing_extensions.TypedDict, total=False): +class TaskExecution(typing.TypedDict, total=False): exitCode: int @typing.type_check_only -class TaskGroup(typing_extensions.TypedDict, total=False): +class TaskGroup(typing.TypedDict, total=False): name: str parallelism: str permissiveSsh: bool requireHostsFile: bool runAsNonRoot: bool - schedulingPolicy: typing_extensions.Literal[ + schedulingPolicy: typing.Literal[ "SCHEDULING_POLICY_UNSPECIFIED", "AS_SOON_AS_POSSIBLE", "IN_ORDER" ] taskCount: str @@ -460,12 +453,12 @@ class TaskGroup(typing_extensions.TypedDict, total=False): taskSpec: TaskSpec @typing.type_check_only -class TaskGroupStatus(typing_extensions.TypedDict, total=False): +class TaskGroupStatus(typing.TypedDict, total=False): counts: dict[str, typing.Any] instances: _list[InstanceStatus] @typing.type_check_only -class TaskSpec(typing_extensions.TypedDict, total=False): +class TaskSpec(typing.TypedDict, total=False): computeResource: ComputeResource environment: Environment environments: dict[str, typing.Any] @@ -476,8 +469,8 @@ class TaskSpec(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class TaskStatus(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class TaskStatus(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "ASSIGNED", @@ -489,7 +482,7 @@ class TaskStatus(typing_extensions.TypedDict, total=False): statusEvents: _list[StatusEvent] @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): deviceName: str gcs: GCS mountOptions: _list[str] diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi index 11fa3dee6..6b1c46baf 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi index ef87ad394..eecd6b37e 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AllocatedConnection(typing_extensions.TypedDict, total=False): +class AllocatedConnection(typing.TypedDict, total=False): ingressPort: int pscUri: str @typing.type_check_only -class AppGateway(typing_extensions.TypedDict, total=False): +class AppGateway(typing.TypedDict, total=False): allocatedConnections: _list[AllocatedConnection] createTime: str displayName: str - hostType: typing_extensions.Literal["HOST_TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] + hostType: typing.Literal["HOST_TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] labels: dict[str, typing.Any] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] + type: typing.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] uid: str updateTime: str uri: str @typing.type_check_only -class AppGatewayOperationMetadata(typing_extensions.TypedDict, total=False): +class AppGatewayOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -39,7 +37,7 @@ class AppGatewayOperationMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationEndpoint: str applicationName: str @@ -51,12 +49,12 @@ class CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig( @typing.type_check_only class CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class CloudSecurityZerotrustApplinkAppConnectorProtoGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): interface: str name: str @@ -67,16 +65,14 @@ class CloudSecurityZerotrustApplinkAppConnectorProtoGateway( @typing.type_check_only class CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudBeyondcorpAppconnectionsV1AppConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpAppconnectionsV1AppConnection(typing.TypedDict, total=False): applicationEndpoint: ( GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint ) @@ -88,33 +84,33 @@ class GoogleCloudBeyondcorpAppconnectionsV1AppConnection( name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] + type: typing.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] uid: str updateTime: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appGateway: str ingressPort: int l7psc: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] + type: typing.Literal["TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] uri: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -126,7 +122,7 @@ class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnections: _list[GoogleCloudBeyondcorpAppconnectionsV1AppConnection] nextPageToken: str @@ -134,7 +130,7 @@ class GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnectionDetails: _list[ GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails @@ -144,14 +140,14 @@ class GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnection: GoogleCloudBeyondcorpAppconnectionsV1AppConnection recentMigVms: _list[str] @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -162,16 +158,14 @@ class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudBeyondcorpAppconnectorsV1AppConnector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpAppconnectorsV1AppConnector(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] name: str principalInfo: GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo resourceInfo: GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] uid: str @@ -179,7 +173,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1AppConnector( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageConfig: GoogleCloudBeyondcorpAppconnectorsV1ImageConfig instanceConfig: dict[str, typing.Any] @@ -188,7 +182,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -200,7 +194,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: ( GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount @@ -208,13 +202,13 @@ class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentConfigVersion: str errorMsg: str @@ -222,15 +216,13 @@ class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails( extendedStatus: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudBeyondcorpAppconnectorsV1ImageConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpAppconnectorsV1ImageConfig(typing.TypedDict, total=False): stableImage: str targetImage: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnectors: _list[GoogleCloudBeyondcorpAppconnectorsV1AppConnector] nextPageToken: str @@ -238,24 +230,24 @@ class GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pubsubNotification: GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pubsubSubscription: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestId: str resourceInfo: GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo @@ -263,17 +255,15 @@ class GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instanceConfig: GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig @typing.type_check_only -class GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo(typing.TypedDict, total=False): id: str resource: dict[str, typing.Any] - status: typing_extensions.Literal[ + status: typing.Literal[ "HEALTH_STATUS_UNSPECIFIED", "HEALTHY", "UNHEALTHY", "UNRESPONSIVE", "DEGRADED" ] sub: _list[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo] @@ -281,7 +271,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -293,7 +283,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentConfigVersion: str errorMsg: str @@ -302,12 +292,12 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -319,7 +309,7 @@ class GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -331,7 +321,7 @@ class GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -343,7 +333,7 @@ class GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentConfigVersion: str errorMsg: str @@ -352,12 +342,12 @@ class GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails( @typing.type_check_only class GoogleCloudBeyondcorpConnectorsV1alphaRemoteAgentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -369,7 +359,7 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -380,22 +370,18 @@ class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudBeyondcorpSecuritygatewaysV1Application( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpSecuritygatewaysV1Application(typing.TypedDict, total=False): createTime: str displayName: str endpointMatchers: _list[GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher] name: str - schema: typing_extensions.Literal[ - "SCHEMA_UNSPECIFIED", "PROXY_GATEWAY", "API_GATEWAY" - ] + schema: typing.Literal["SCHEMA_UNSPECIFIED", "PROXY_GATEWAY", "API_GATEWAY"] updateTime: str upstreams: _list[GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): egressPolicy: GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy external: GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal @@ -404,90 +390,87 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoints: _list[GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceInfo: ( GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo ) + dispatchInfo: ( + GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDispatchInfo + ) groupInfo: ( GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo ) - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] userInfo: GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDispatchInfo( + typing.TypedDict, total=False +): + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regions: _list[str] @typing.type_check_only -class GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint(typing.TypedDict, total=False): hostname: str port: int @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hostname: str ports: _list[int] @typing.type_check_only -class GoogleCloudBeyondcorpSecuritygatewaysV1Hub( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpSecuritygatewaysV1Hub(typing.TypedDict, total=False): internetGateway: GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assignedIps: _list[str] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applications: _list[GoogleCloudBeyondcorpSecuritygatewaysV1Application] nextPageToken: str @@ -495,7 +478,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str securityGateways: _list[GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway] @@ -503,24 +486,22 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedClientHeaders: _list[str] clientIp: bool contextualHeaders: GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders - gatewayIdentity: typing_extensions.Literal[ - "GATEWAY_IDENTITY_UNSPECIFIED", "RESOURCE_NAME" - ] + gatewayIdentity: typing.Literal["GATEWAY_IDENTITY_UNSPECIFIED", "RESOURCE_NAME"] metadataHeaders: dict[str, typing.Any] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str delegatingServiceAccount: str @@ -531,7 +512,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway( name: str proxyProtocolConfig: GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig serviceDiscovery: GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", @@ -544,7 +525,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -556,25 +537,25 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiGateway: GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceOverride: GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): path: str @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -585,14 +566,12 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetada verb: str @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -600,56 +579,54 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -657,31 +634,31 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListAppGatewaysResponse(typing_extensions.TypedDict, total=False): +class ListAppGatewaysResponse(typing.TypedDict, total=False): appGateways: _list[AppGateway] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class Tunnelv1ProtoTunnelerError(typing_extensions.TypedDict, total=False): +class Tunnelv1ProtoTunnelerError(typing.TypedDict, total=False): err: str retryable: bool @typing.type_check_only -class Tunnelv1ProtoTunnelerInfo(typing_extensions.TypedDict, total=False): +class Tunnelv1ProtoTunnelerInfo(typing.TypedDict, total=False): backoffRetryCount: int id: str latestErr: Tunnelv1ProtoTunnelerError diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi index d47411b5d..b5be4cbe8 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -23,7 +22,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, insight: str, - aggregation: typing_extensions.Literal[ + aggregation: typing.Literal[ "AGGREGATION_UNSPECIFIED", "HOURLY", "DAILY", @@ -54,9 +53,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ( @@ -66,7 +63,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, parent: str, - aggregation: typing_extensions.Literal[ + aggregation: typing.Literal[ "AGGREGATION_UNSPECIFIED", "HOURLY", "DAILY", @@ -81,9 +78,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., startTime: str | None = ..., - view: typing_extensions.Literal[ - "INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponseHttpRequest: ... @@ -632,7 +627,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, insight: str, - aggregation: typing_extensions.Literal[ + aggregation: typing.Literal[ "AGGREGATION_UNSPECIFIED", "HOURLY", "DAILY", @@ -663,9 +658,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ( @@ -675,7 +668,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, parent: str, - aggregation: typing_extensions.Literal[ + aggregation: typing.Literal[ "AGGREGATION_UNSPECIFIED", "HOURLY", "DAILY", @@ -690,9 +683,7 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., startTime: str | None = ..., - view: typing_extensions.Literal[ - "INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["INSIGHT_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi index 84e34daad..5a42f040f 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AllocatedConnection(typing_extensions.TypedDict, total=False): +class AllocatedConnection(typing.TypedDict, total=False): ingressPort: int pscUri: str @typing.type_check_only -class AppGateway(typing_extensions.TypedDict, total=False): +class AppGateway(typing.TypedDict, total=False): allocatedConnections: _list[AllocatedConnection] createTime: str displayName: str - hostType: typing_extensions.Literal["HOST_TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] + hostType: typing.Literal["HOST_TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] labels: dict[str, typing.Any] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] + type: typing.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] uid: str updateTime: str uri: str @typing.type_check_only -class AppGatewayOperationMetadata(typing_extensions.TypedDict, total=False): +class AppGatewayOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -38,17 +36,17 @@ class AppGatewayOperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ApplicationEndpoint(typing_extensions.TypedDict, total=False): +class ApplicationEndpoint(typing.TypedDict, total=False): host: str port: int @typing.type_check_only -class CloudPubSubNotificationConfig(typing_extensions.TypedDict, total=False): +class CloudPubSubNotificationConfig(typing.TypedDict, total=False): pubsubSubscription: str @typing.type_check_only class CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationEndpoint: str applicationName: str @@ -60,12 +58,12 @@ class CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig( @typing.type_check_only class CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class CloudSecurityZerotrustApplinkAppConnectorProtoGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): interface: str name: str @@ -76,11 +74,11 @@ class CloudSecurityZerotrustApplinkAppConnectorProtoGateway( @typing.type_check_only class CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): applicationEndpoint: ApplicationEndpoint connectors: _list[str] createTime: str @@ -88,20 +86,20 @@ class Connection(typing_extensions.TypedDict, total=False): gateway: Gateway labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] + type: typing.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] uid: str updateTime: str @typing.type_check_only -class ConnectionDetails(typing_extensions.TypedDict, total=False): +class ConnectionDetails(typing.TypedDict, total=False): connection: Connection recentMigVms: _list[str] @typing.type_check_only -class ConnectionOperationMetadata(typing_extensions.TypedDict, total=False): +class ConnectionOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -111,28 +109,28 @@ class ConnectionOperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Connector(typing_extensions.TypedDict, total=False): +class Connector(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] name: str principalInfo: PrincipalInfo resourceInfo: ResourceInfo - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] uid: str updateTime: str @typing.type_check_only -class ConnectorInstanceConfig(typing_extensions.TypedDict, total=False): +class ConnectorInstanceConfig(typing.TypedDict, total=False): imageConfig: ImageConfig instanceConfig: dict[str, typing.Any] notificationConfig: NotificationConfig sequenceNumber: str @typing.type_check_only -class ConnectorOperationMetadata(typing_extensions.TypedDict, total=False): +class ConnectorOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -142,24 +140,24 @@ class ConnectorOperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ContainerHealthDetails(typing_extensions.TypedDict, total=False): +class ContainerHealthDetails(typing.TypedDict, total=False): currentConfigVersion: str errorMsg: str expectedConfigVersion: str extendedStatus: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Gateway(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] +class Gateway(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] uri: str userPort: int @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -171,7 +169,7 @@ class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationEndpoint: ( GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint @@ -184,33 +182,33 @@ class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection( name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] + type: typing.Literal["TYPE_UNSPECIFIED", "TCP_PROXY"] uid: str updateTime: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appGateway: str ingressPort: int l7psc: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] + type: typing.Literal["TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"] uri: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -222,7 +220,7 @@ class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnections: _list[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection] nextPageToken: str @@ -230,7 +228,7 @@ class GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnectionDetails: _list[ GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails @@ -240,14 +238,14 @@ class GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnection: GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection recentMigVms: _list[str] @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -259,7 +257,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentConfigVersion: str errorMsg: str @@ -268,12 +266,12 @@ class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str displayName: str @@ -281,7 +279,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector( name: str principalInfo: GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo resourceInfo: GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", "UPDATING", "DELETING", "DOWN" ] uid: str @@ -289,7 +287,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageConfig: GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig instanceConfig: dict[str, typing.Any] @@ -298,7 +296,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -310,7 +308,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: ( GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount @@ -318,13 +316,13 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentConfigVersion: str errorMsg: str @@ -333,14 +331,14 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): stableImage: str targetImage: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appConnectors: _list[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector] nextPageToken: str @@ -348,24 +346,24 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pubsubNotification: GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pubsubSubscription: str @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestId: str resourceInfo: GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo @@ -373,17 +371,17 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest( @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instanceConfig: GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig @typing.type_check_only class GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str resource: dict[str, typing.Any] - status: typing_extensions.Literal[ + status: typing.Literal[ "HEALTH_STATUS_UNSPECIFIED", "HEALTHY", "UNHEALTHY", "UNRESPONSIVE", "DEGRADED" ] sub: _list[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo] @@ -391,7 +389,7 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo( @typing.type_check_only class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -403,7 +401,7 @@ class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -415,7 +413,7 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -427,9 +425,9 @@ class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregation: typing_extensions.Literal[ + aggregation: typing.Literal[ "AGGREGATION_UNSPECIFIED", "HOURLY", "DAILY", @@ -445,7 +443,7 @@ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig( @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appliedConfig: GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig nextPageToken: str @@ -453,14 +451,14 @@ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse( @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldFilter: str groupFields: _list[str] @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appliedConfig: GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig metadata: GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata @@ -469,10 +467,10 @@ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight( @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregations: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGGREGATION_UNSPECIFIED", "HOURLY", "DAILY", @@ -490,7 +488,7 @@ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata( @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str displayName: str @@ -501,20 +499,20 @@ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField( @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): insights: _list[GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight] nextPageToken: str @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldValues: _list[GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal] @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str filterAlias: str @@ -523,13 +521,13 @@ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal( @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveCancellationTime: str @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str subscriptions: _list[ @@ -538,12 +536,12 @@ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResp @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRenewEnabled: bool billingAccount: str @@ -552,19 +550,18 @@ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription( endTime: str name: str seatCount: str - sku: typing_extensions.Literal["SKU_UNSPECIFIED", "BCE_STANDARD_SKU"] + signupSource: str + sku: typing.Literal["SKU_UNSPECIFIED", "BCE_STANDARD_SKU"] startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED" - ] - subscriberType: typing_extensions.Literal[ + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED"] + subscriberType: typing.Literal[ "SUBSCRIBER_TYPE_UNSPECIFIED", "ONLINE", "OFFLINE", "CEP_TRIAL" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRIAL", "PAID", "ALLOWLIST"] + type: typing.Literal["TYPE_UNSPECIFIED", "TRIAL", "PAID", "ALLOWLIST"] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -576,21 +573,19 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str displayName: str endpointMatchers: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher] name: str - schema: typing_extensions.Literal[ - "SCHEMA_UNSPECIFIED", "PROXY_GATEWAY", "API_GATEWAY" - ] + schema: typing.Literal["SCHEMA_UNSPECIFIED", "PROXY_GATEWAY", "API_GATEWAY"] updateTime: str upstreams: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): egressPolicy: GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy external: GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal @@ -599,92 +594,89 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoints: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceInfo: ( GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo ) + dispatchInfo: GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDispatchInfo groupInfo: ( GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo ) - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] userInfo: ( GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo ) @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] + +@typing.type_check_only +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDispatchInfo( + typing.TypedDict, total=False +): + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outputType: typing_extensions.Literal[ - "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE" - ] + outputType: typing.Literal["OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", "JSON", "NONE"] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regions: _list[str] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hostname: str port: int @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hostname: str ports: _list[int] @typing.type_check_only -class GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub(typing.TypedDict, total=False): internetGateway: GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assignedIps: _list[str] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applications: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] nextPageToken: str @@ -692,7 +684,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str securityGateways: _list[GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] @@ -700,24 +692,22 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaLoggingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedClientHeaders: _list[str] clientIp: bool contextualHeaders: GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders - gatewayIdentity: typing_extensions.Literal[ - "GATEWAY_IDENTITY_UNSPECIFIED", "RESOURCE_NAME" - ] + gatewayIdentity: typing.Literal["GATEWAY_IDENTITY_UNSPECIFIED", "RESOURCE_NAME"] metadataHeaders: dict[str, typing.Any] @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str delegatingServiceAccount: str @@ -728,7 +718,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway( name: str proxyProtocolConfig: GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig serviceDiscovery: GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", @@ -741,7 +731,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway( @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiVersion: str createTime: str @@ -753,31 +743,29 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetada @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiGateway: GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceOverride: GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor @typing.type_check_only class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): path: str @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -785,56 +773,54 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -842,89 +828,89 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ImageConfig(typing_extensions.TypedDict, total=False): +class ImageConfig(typing.TypedDict, total=False): stableImage: str targetImage: str @typing.type_check_only -class ListAppGatewaysResponse(typing_extensions.TypedDict, total=False): +class ListAppGatewaysResponse(typing.TypedDict, total=False): appGateways: _list[AppGateway] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Connection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorsResponse(typing.TypedDict, total=False): connectors: _list[Connector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class NotificationConfig(typing_extensions.TypedDict, total=False): +class NotificationConfig(typing.TypedDict, total=False): pubsubNotification: CloudPubSubNotificationConfig @typing.type_check_only -class PrincipalInfo(typing_extensions.TypedDict, total=False): +class PrincipalInfo(typing.TypedDict, total=False): serviceAccount: ServiceAccount @typing.type_check_only -class RemoteAgentDetails(typing_extensions.TypedDict, total=False): ... +class RemoteAgentDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class ReportStatusRequest(typing_extensions.TypedDict, total=False): +class ReportStatusRequest(typing.TypedDict, total=False): requestId: str resourceInfo: ResourceInfo validateOnly: bool @typing.type_check_only -class ResolveConnectionsResponse(typing_extensions.TypedDict, total=False): +class ResolveConnectionsResponse(typing.TypedDict, total=False): connectionDetails: _list[ConnectionDetails] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ResolveInstanceConfigResponse(typing_extensions.TypedDict, total=False): +class ResolveInstanceConfigResponse(typing.TypedDict, total=False): instanceConfig: ConnectorInstanceConfig @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ResourceInfo(typing.TypedDict, total=False): id: str resource: dict[str, typing.Any] - status: typing_extensions.Literal[ + status: typing.Literal[ "HEALTH_STATUS_UNSPECIFIED", "HEALTHY", "UNHEALTHY", "UNRESPONSIVE", "DEGRADED" ] sub: _list[ResourceInfo] time: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str @typing.type_check_only -class Tunnelv1ProtoTunnelerError(typing_extensions.TypedDict, total=False): +class Tunnelv1ProtoTunnelerError(typing.TypedDict, total=False): err: str retryable: bool @typing.type_check_only -class Tunnelv1ProtoTunnelerInfo(typing_extensions.TypedDict, total=False): +class Tunnelv1ProtoTunnelerInfo(typing.TypedDict, total=False): backoffRetryCount: int id: str latestErr: Tunnelv1ProtoTunnelerError diff --git a/googleapiclient-stubs/_apis/biglake/v1/resources.pyi b/googleapiclient-stubs/_apis/biglake/v1/resources.pyi index f23fcab5c..70734b1b4 100644 --- a/googleapiclient-stubs/_apis/biglake/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/biglake/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -113,7 +112,7 @@ class BigLakeServiceResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "TABLE_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi b/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi index 463c3438c..94d1216ea 100644 --- a/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Catalog(typing_extensions.TypedDict, total=False): +class Catalog(typing.TypedDict, total=False): createTime: str deleteTime: str expireTime: str @@ -31,90 +29,90 @@ class Catalog(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): createTime: str deleteTime: str expireTime: str hiveOptions: HiveDatabaseOptions name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "HIVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "HIVE"] updateTime: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class HiveDatabaseOptions(typing_extensions.TypedDict, total=False): +class HiveDatabaseOptions(typing.TypedDict, total=False): locationUri: str parameters: dict[str, typing.Any] @typing.type_check_only -class HiveTableOptions(typing_extensions.TypedDict, total=False): +class HiveTableOptions(typing.TypedDict, total=False): parameters: dict[str, typing.Any] storageDescriptor: StorageDescriptor tableType: str @typing.type_check_only -class ListCatalogsResponse(typing_extensions.TypedDict, total=False): +class ListCatalogsResponse(typing.TypedDict, total=False): catalogs: _list[Catalog] nextPageToken: str @typing.type_check_only -class ListDatabasesResponse(typing_extensions.TypedDict, total=False): +class ListDatabasesResponse(typing.TypedDict, total=False): databases: _list[Database] nextPageToken: str @typing.type_check_only -class ListTablesResponse(typing_extensions.TypedDict, total=False): +class ListTablesResponse(typing.TypedDict, total=False): nextPageToken: str tables: _list[Table] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RenameTableRequest(typing_extensions.TypedDict, total=False): +class RenameTableRequest(typing.TypedDict, total=False): newName: str @typing.type_check_only -class SerDeInfo(typing_extensions.TypedDict, total=False): +class SerDeInfo(typing.TypedDict, total=False): serializationLib: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StorageDescriptor(typing_extensions.TypedDict, total=False): +class StorageDescriptor(typing.TypedDict, total=False): inputFormat: str locationUri: str outputFormat: str serdeInfo: SerDeInfo @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): createTime: str deleteTime: str etag: str expireTime: str hiveOptions: HiveTableOptions name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "HIVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "HIVE"] updateTime: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi b/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi index 85658695f..70107d84f 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -29,7 +28,7 @@ class BigqueryResource(googleapiclient.discovery.Resource): projectId: str, datasetId: str, accessPolicyVersion: int | None = ..., - datasetView: typing_extensions.Literal[ + datasetView: typing.Literal[ "DATASET_VIEW_UNSPECIFIED", "METADATA", "ACL", "FULL" ] | None = ..., @@ -65,7 +64,7 @@ class BigqueryResource(googleapiclient.discovery.Resource): datasetId: str, body: Dataset, accessPolicyVersion: int | None = ..., - updateMode: typing_extensions.Literal[ + updateMode: typing.Literal[ "UPDATE_MODE_UNSPECIFIED", "UPDATE_METADATA", "UPDATE_ACL", @@ -89,7 +88,7 @@ class BigqueryResource(googleapiclient.discovery.Resource): datasetId: str, body: Dataset, accessPolicyVersion: int | None = ..., - updateMode: typing_extensions.Literal[ + updateMode: typing.Literal[ "UPDATE_MODE_UNSPECIFIED", "UPDATE_METADATA", "UPDATE_ACL", @@ -130,7 +129,7 @@ class BigqueryResource(googleapiclient.discovery.Resource): *, projectId: str, jobId: str, - formatOptions_timestampOutputFormat: typing_extensions.Literal[ + formatOptions_timestampOutputFormat: typing.Literal[ "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", "FLOAT64", "INT64", @@ -163,9 +162,9 @@ class BigqueryResource(googleapiclient.discovery.Resource): minCreationTime: str | None = ..., pageToken: str | None = ..., parentJobId: str | None = ..., - projection: typing_extensions.Literal["full", "minimal"] | None = ..., - stateFilter: typing_extensions.Literal["done", "pending", "running"] - | _list[typing_extensions.Literal["done", "pending", "running"]] + projection: typing.Literal["full", "minimal"] | None = ..., + stateFilter: typing.Literal["done", "pending", "running"] + | _list[typing.Literal["done", "pending", "running"]] | None = ..., **kwargs: typing.Any, ) -> JobListHttpRequest: ... @@ -379,7 +378,7 @@ class BigqueryResource(googleapiclient.discovery.Resource): projectId: str, datasetId: str, tableId: str, - formatOptions_timestampOutputFormat: typing_extensions.Literal[ + formatOptions_timestampOutputFormat: typing.Literal[ "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", "FLOAT64", "INT64", @@ -411,7 +410,7 @@ class BigqueryResource(googleapiclient.discovery.Resource): datasetId: str, tableId: str, selectedFields: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "TABLE_METADATA_VIEW_UNSPECIFIED", "BASIC", "STORAGE_STATS", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi index 99d5e2591..58efddf26 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AggregateClassificationMetrics(typing_extensions.TypedDict, total=False): +class AggregateClassificationMetrics(typing.TypedDict, total=False): accuracy: float f1Score: float logLoss: float @@ -15,40 +13,45 @@ class AggregateClassificationMetrics(typing_extensions.TypedDict, total=False): threshold: float @typing.type_check_only -class AggregationThresholdPolicy(typing_extensions.TypedDict, total=False): +class AggregationThresholdPolicy(typing.TypedDict, total=False): privacyUnitColumns: _list[str] threshold: str @typing.type_check_only -class Argument(typing_extensions.TypedDict, total=False): - argumentKind: typing_extensions.Literal[ - "ARGUMENT_KIND_UNSPECIFIED", "FIXED_TYPE", "ANY_TYPE" +class Argument(typing.TypedDict, total=False): + argumentKind: typing.Literal[ + "ARGUMENT_KIND_UNSPECIFIED", + "FIXED_TYPE", + "ANY_TYPE", + "FIXED_TABLE", + "ANY_TABLE", ] dataType: StandardSqlDataType isAggregate: bool - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "IN", "OUT", "INOUT"] + mode: typing.Literal["MODE_UNSPECIFIED", "IN", "OUT", "INOUT"] name: str + tableType: StandardSqlTableType @typing.type_check_only -class ArimaCoefficients(typing_extensions.TypedDict, total=False): +class ArimaCoefficients(typing.TypedDict, total=False): autoRegressiveCoefficients: _list[float] interceptCoefficient: float movingAverageCoefficients: _list[float] @typing.type_check_only -class ArimaFittingMetrics(typing_extensions.TypedDict, total=False): +class ArimaFittingMetrics(typing.TypedDict, total=False): aic: float logLikelihood: float variance: float @typing.type_check_only -class ArimaForecastingMetrics(typing_extensions.TypedDict, total=False): +class ArimaForecastingMetrics(typing.TypedDict, total=False): arimaFittingMetrics: _list[ArimaFittingMetrics] arimaSingleModelForecastingMetrics: _list[ArimaSingleModelForecastingMetrics] hasDrift: _list[bool] nonSeasonalOrder: _list[ArimaOrder] seasonalPeriods: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEASONAL_PERIOD_TYPE_UNSPECIFIED", "NO_SEASONALITY", "DAILY", @@ -62,7 +65,7 @@ class ArimaForecastingMetrics(typing_extensions.TypedDict, total=False): timeSeriesId: _list[str] @typing.type_check_only -class ArimaModelInfo(typing_extensions.TypedDict, total=False): +class ArimaModelInfo(typing.TypedDict, total=False): arimaCoefficients: ArimaCoefficients arimaFittingMetrics: ArimaFittingMetrics hasDrift: bool @@ -71,7 +74,7 @@ class ArimaModelInfo(typing_extensions.TypedDict, total=False): hasStepChanges: bool nonSeasonalOrder: ArimaOrder seasonalPeriods: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEASONAL_PERIOD_TYPE_UNSPECIFIED", "NO_SEASONALITY", "DAILY", @@ -86,16 +89,16 @@ class ArimaModelInfo(typing_extensions.TypedDict, total=False): timeSeriesIds: _list[str] @typing.type_check_only -class ArimaOrder(typing_extensions.TypedDict, total=False): +class ArimaOrder(typing.TypedDict, total=False): d: str p: str q: str @typing.type_check_only -class ArimaResult(typing_extensions.TypedDict, total=False): +class ArimaResult(typing.TypedDict, total=False): arimaModelInfo: _list[ArimaModelInfo] seasonalPeriods: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEASONAL_PERIOD_TYPE_UNSPECIFIED", "NO_SEASONALITY", "DAILY", @@ -108,7 +111,7 @@ class ArimaResult(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ArimaSingleModelForecastingMetrics(typing_extensions.TypedDict, total=False): +class ArimaSingleModelForecastingMetrics(typing.TypedDict, total=False): arimaFittingMetrics: ArimaFittingMetrics hasDrift: bool hasHolidayEffect: bool @@ -116,7 +119,7 @@ class ArimaSingleModelForecastingMetrics(typing_extensions.TypedDict, total=Fals hasStepChanges: bool nonSeasonalOrder: ArimaOrder seasonalPeriods: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEASONAL_PERIOD_TYPE_UNSPECIFIED", "NO_SEASONALITY", "DAILY", @@ -131,29 +134,47 @@ class ArimaSingleModelForecastingMetrics(typing_extensions.TypedDict, total=Fals timeSeriesIds: _list[str] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class ArrowRecordBatch(typing.TypedDict, total=False): + serializedRecordBatch: str + +@typing.type_check_only +class ArrowSchema(typing.TypedDict, total=False): + serializedSchema: str + +@typing.type_check_only +class ArrowSerializationOptions(typing.TypedDict, total=False): + bufferCompression: typing.Literal["COMPRESSION_UNSPECIFIED", "LZ4_FRAME", "ZSTD"] + picosTimestampPrecision: typing.Literal[ + "PICOS_TIMESTAMP_PRECISION_UNSPECIFIED", + "TIMESTAMP_PRECISION_MICROS", + "TIMESTAMP_PRECISION_NANOS", + "TIMESTAMP_PRECISION_PICOS", + ] + +@typing.type_check_only +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AvroOptions(typing_extensions.TypedDict, total=False): +class AvroOptions(typing.TypedDict, total=False): useAvroLogicalTypes: bool @typing.type_check_only -class BatchDeleteRowAccessPoliciesRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteRowAccessPoliciesRequest(typing.TypedDict, total=False): force: bool policyIds: _list[str] @typing.type_check_only -class BiEngineReason(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class BiEngineReason(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "NO_RESERVATION", "INSUFFICIENT_RESERVATION", @@ -165,33 +186,33 @@ class BiEngineReason(typing_extensions.TypedDict, total=False): message: str @typing.type_check_only -class BiEngineStatistics(typing_extensions.TypedDict, total=False): - accelerationMode: typing_extensions.Literal[ +class BiEngineStatistics(typing.TypedDict, total=False): + accelerationMode: typing.Literal[ "BI_ENGINE_ACCELERATION_MODE_UNSPECIFIED", "BI_ENGINE_DISABLED", "PARTIAL_INPUT", "FULL_INPUT", "FULL_QUERY", ] - biEngineMode: typing_extensions.Literal[ + biEngineMode: typing.Literal[ "ACCELERATION_MODE_UNSPECIFIED", "DISABLED", "PARTIAL", "FULL" ] biEngineReasons: _list[BiEngineReason] @typing.type_check_only -class BigLakeConfiguration(typing_extensions.TypedDict, total=False): +class BigLakeConfiguration(typing.TypedDict, total=False): connectionId: str - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] storageUri: str - tableFormat: typing_extensions.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] + tableFormat: typing.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] @typing.type_check_only -class BigQueryModelTraining(typing_extensions.TypedDict, total=False): +class BigQueryModelTraining(typing.TypedDict, total=False): currentIteration: int expectedTotalIterations: str @typing.type_check_only -class BigtableColumn(typing_extensions.TypedDict, total=False): +class BigtableColumn(typing.TypedDict, total=False): encoding: str fieldName: str onlyReadLatest: bool @@ -201,7 +222,7 @@ class BigtableColumn(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class BigtableColumnFamily(typing_extensions.TypedDict, total=False): +class BigtableColumnFamily(typing.TypedDict, total=False): columns: _list[BigtableColumn] encoding: str familyId: str @@ -210,26 +231,26 @@ class BigtableColumnFamily(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class BigtableOptions(typing_extensions.TypedDict, total=False): +class BigtableOptions(typing.TypedDict, total=False): columnFamilies: _list[BigtableColumnFamily] ignoreUnspecifiedColumnFamilies: bool outputColumnFamiliesAsJson: bool readRowkeyAsString: bool @typing.type_check_only -class BigtableProtoConfig(typing_extensions.TypedDict, total=False): +class BigtableProtoConfig(typing.TypedDict, total=False): protoMessageName: str schemaBundleId: str @typing.type_check_only -class BinaryClassificationMetrics(typing_extensions.TypedDict, total=False): +class BinaryClassificationMetrics(typing.TypedDict, total=False): aggregateClassificationMetrics: AggregateClassificationMetrics binaryConfusionMatrixList: _list[BinaryConfusionMatrix] negativeLabel: str positiveLabel: str @typing.type_check_only -class BinaryConfusionMatrix(typing_extensions.TypedDict, total=False): +class BinaryConfusionMatrix(typing.TypedDict, total=False): accuracy: float f1Score: float falseNegatives: str @@ -241,13 +262,13 @@ class BinaryConfusionMatrix(typing_extensions.TypedDict, total=False): truePositives: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BqmlIterationResult(typing_extensions.TypedDict, total=False): +class BqmlIterationResult(typing.TypedDict, total=False): durationMs: str evalLoss: float index: int @@ -255,60 +276,60 @@ class BqmlIterationResult(typing_extensions.TypedDict, total=False): trainingLoss: float @typing.type_check_only -class BqmlTrainingRun(typing_extensions.TypedDict, total=False): +class BqmlTrainingRun(typing.TypedDict, total=False): iterationResults: _list[BqmlIterationResult] startTime: str state: str trainingOptions: dict[str, typing.Any] @typing.type_check_only -class CategoricalValue(typing_extensions.TypedDict, total=False): +class CategoricalValue(typing.TypedDict, total=False): categoryCounts: _list[CategoryCount] @typing.type_check_only -class CategoryCount(typing_extensions.TypedDict, total=False): +class CategoryCount(typing.TypedDict, total=False): category: str count: str @typing.type_check_only -class CloneDefinition(typing_extensions.TypedDict, total=False): +class CloneDefinition(typing.TypedDict, total=False): baseTableReference: TableReference cloneTime: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): centroidId: str count: str featureValues: _list[FeatureValue] @typing.type_check_only -class ClusterInfo(typing_extensions.TypedDict, total=False): +class ClusterInfo(typing.TypedDict, total=False): centroidId: str clusterRadius: float clusterSize: str @typing.type_check_only -class Clustering(typing_extensions.TypedDict, total=False): +class Clustering(typing.TypedDict, total=False): fields: _list[str] @typing.type_check_only -class ClusteringMetrics(typing_extensions.TypedDict, total=False): +class ClusteringMetrics(typing.TypedDict, total=False): clusters: _list[Cluster] daviesBouldinIndex: float meanSquaredDistance: float @typing.type_check_only -class ConfusionMatrix(typing_extensions.TypedDict, total=False): +class ConfusionMatrix(typing.TypedDict, total=False): confidenceThreshold: float rows: _list[Row] @typing.type_check_only -class ConnectionProperty(typing_extensions.TypedDict, total=False): +class ConnectionProperty(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class CsvOptions(typing_extensions.TypedDict, total=False): +class CsvOptions(typing.TypedDict, total=False): allowJaggedRows: bool allowQuotedNewlines: bool encoding: str @@ -321,32 +342,32 @@ class CsvOptions(typing_extensions.TypedDict, total=False): sourceColumnMatch: str @typing.type_check_only -class DataFormatOptions(typing_extensions.TypedDict, total=False): - timestampOutputFormat: typing_extensions.Literal[ +class DataFormatOptions(typing.TypedDict, total=False): + timestampOutputFormat: typing.Literal[ "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", "FLOAT64", "INT64", "ISO8601_STRING" ] useInt64Timestamp: bool @typing.type_check_only -class DataMaskingStatistics(typing_extensions.TypedDict, total=False): +class DataMaskingStatistics(typing.TypedDict, total=False): dataMaskingApplied: bool @typing.type_check_only -class DataPolicyList(typing_extensions.TypedDict, total=False): +class DataPolicyList(typing.TypedDict, total=False): dataPolicies: _list[DataPolicyOption] @typing.type_check_only -class DataPolicyOption(typing_extensions.TypedDict, total=False): +class DataPolicyOption(typing.TypedDict, total=False): name: str @typing.type_check_only -class DataSplitResult(typing_extensions.TypedDict, total=False): +class DataSplitResult(typing.TypedDict, total=False): evaluationTable: TableReference testTable: TableReference trainingTable: TableReference @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): access: _list[dict[str, typing.Any]] catalogSource: str creationTime: str @@ -354,7 +375,7 @@ class Dataset(typing_extensions.TypedDict, total=False): defaultCollation: str defaultEncryptionConfiguration: EncryptionConfiguration defaultPartitionExpirationMs: str - defaultRoundingMode: typing_extensions.Literal[ + defaultRoundingMode: typing.Literal[ "ROUNDING_MODE_UNSPECIFIED", "ROUND_HALF_AWAY_FROM_ZERO", "ROUND_HALF_EVEN" ] defaultTableExpirationMs: str @@ -377,21 +398,19 @@ class Dataset(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool selfLink: str - storageBillingModel: typing_extensions.Literal[ + storageBillingModel: typing.Literal[ "STORAGE_BILLING_MODEL_UNSPECIFIED", "LOGICAL", "PHYSICAL" ] tags: _list[dict[str, typing.Any]] type: str @typing.type_check_only -class DatasetAccessEntry(typing_extensions.TypedDict, total=False): +class DatasetAccessEntry(typing.TypedDict, total=False): dataset: DatasetReference - targetTypes: _list[ - typing_extensions.Literal["TARGET_TYPE_UNSPECIFIED", "VIEWS", "ROUTINES"] - ] + targetTypes: _list[typing.Literal["TARGET_TYPE_UNSPECIFIED", "VIEWS", "ROUTINES"]] @typing.type_check_only -class DatasetList(typing_extensions.TypedDict, total=False): +class DatasetList(typing.TypedDict, total=False): datasets: _list[dict[str, typing.Any]] etag: str kind: str @@ -399,19 +418,19 @@ class DatasetList(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class DatasetReference(typing_extensions.TypedDict, total=False): +class DatasetReference(typing.TypedDict, total=False): datasetId: str projectId: str @typing.type_check_only -class DestinationTableProperties(typing_extensions.TypedDict, total=False): +class DestinationTableProperties(typing.TypedDict, total=False): description: str expirationTime: str friendlyName: str labels: dict[str, typing.Any] @typing.type_check_only -class DifferentialPrivacyPolicy(typing_extensions.TypedDict, total=False): +class DifferentialPrivacyPolicy(typing.TypedDict, total=False): deltaBudget: float deltaBudgetRemaining: float deltaPerQuery: float @@ -422,16 +441,16 @@ class DifferentialPrivacyPolicy(typing_extensions.TypedDict, total=False): privacyUnitColumn: str @typing.type_check_only -class DimensionalityReductionMetrics(typing_extensions.TypedDict, total=False): +class DimensionalityReductionMetrics(typing.TypedDict, total=False): totalExplainedVarianceRatio: float @typing.type_check_only -class DmlStatistics(typing_extensions.TypedDict, total=False): +class DmlStatistics(typing.TypedDict, total=False): deletedRowCount: str - dmlMode: typing_extensions.Literal[ + dmlMode: typing.Literal[ "DML_MODE_UNSPECIFIED", "COARSE_GRAINED_DML", "FINE_GRAINED_DML" ] - fineGrainedDmlUnusedReason: typing_extensions.Literal[ + fineGrainedDmlUnusedReason: typing.Literal[ "FINE_GRAINED_DML_UNUSED_REASON_UNSPECIFIED", "MAX_PARTITION_SIZE_EXCEEDED", "TABLE_NOT_ENROLLED", @@ -441,37 +460,37 @@ class DmlStatistics(typing_extensions.TypedDict, total=False): updatedRowCount: str @typing.type_check_only -class DoubleCandidates(typing_extensions.TypedDict, total=False): +class DoubleCandidates(typing.TypedDict, total=False): candidates: _list[float] @typing.type_check_only -class DoubleHparamSearchSpace(typing_extensions.TypedDict, total=False): +class DoubleHparamSearchSpace(typing.TypedDict, total=False): candidates: DoubleCandidates range: DoubleRange @typing.type_check_only -class DoubleRange(typing_extensions.TypedDict, total=False): +class DoubleRange(typing.TypedDict, total=False): max: float min: float @typing.type_check_only -class EncryptionConfiguration(typing_extensions.TypedDict, total=False): +class EncryptionConfiguration(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class Entry(typing_extensions.TypedDict, total=False): +class Entry(typing.TypedDict, total=False): itemCount: str predictedLabel: str @typing.type_check_only -class ErrorProto(typing_extensions.TypedDict, total=False): +class ErrorProto(typing.TypedDict, total=False): debugInfo: str location: str message: str reason: str @typing.type_check_only -class EvaluationMetrics(typing_extensions.TypedDict, total=False): +class EvaluationMetrics(typing.TypedDict, total=False): arimaForecastingMetrics: ArimaForecastingMetrics binaryClassificationMetrics: BinaryClassificationMetrics clusteringMetrics: ClusteringMetrics @@ -481,11 +500,9 @@ class EvaluationMetrics(typing_extensions.TypedDict, total=False): regressionMetrics: RegressionMetrics @typing.type_check_only -class ExplainQueryStage(typing_extensions.TypedDict, total=False): +class ExplainQueryStage(typing.TypedDict, total=False): completedParallelInputs: str - computeMode: typing_extensions.Literal[ - "COMPUTE_MODE_UNSPECIFIED", "BIGQUERY", "BI_ENGINE" - ] + computeMode: typing.Literal["COMPUTE_MODE_UNSPECIFIED", "BIGQUERY", "BI_ENGINE"] computeMsAvg: str computeMsMax: str computeRatioAvg: float @@ -517,40 +534,40 @@ class ExplainQueryStage(typing_extensions.TypedDict, total=False): writeRatioMax: float @typing.type_check_only -class ExplainQueryStep(typing_extensions.TypedDict, total=False): +class ExplainQueryStep(typing.TypedDict, total=False): kind: str substeps: _list[str] @typing.type_check_only -class Explanation(typing_extensions.TypedDict, total=False): +class Explanation(typing.TypedDict, total=False): attribution: float featureName: str @typing.type_check_only -class ExportDataStatistics(typing_extensions.TypedDict, total=False): +class ExportDataStatistics(typing.TypedDict, total=False): fileCount: str rowCount: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalCatalogDatasetOptions(typing_extensions.TypedDict, total=False): +class ExternalCatalogDatasetOptions(typing.TypedDict, total=False): defaultStorageLocationUri: str parameters: dict[str, typing.Any] @typing.type_check_only -class ExternalCatalogTableOptions(typing_extensions.TypedDict, total=False): +class ExternalCatalogTableOptions(typing.TypedDict, total=False): connectionId: str parameters: dict[str, typing.Any] storageDescriptor: StorageDescriptor @typing.type_check_only -class ExternalDataConfiguration(typing_extensions.TypedDict, total=False): +class ExternalDataConfiguration(typing.TypedDict, total=False): autodetect: bool avroOptions: AvroOptions bigtableOptions: BigtableOptions @@ -560,26 +577,24 @@ class ExternalDataConfiguration(typing_extensions.TypedDict, total=False): dateFormat: str datetimeFormat: str decimalTargetTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DECIMAL_TARGET_TYPE_UNSPECIFIED", "NUMERIC", "BIGNUMERIC", "STRING" ] ] - fileSetSpecType: typing_extensions.Literal[ + fileSetSpecType: typing.Literal[ "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH", "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST", ] googleSheetsOptions: GoogleSheetsOptions hivePartitioningOptions: HivePartitioningOptions ignoreUnknownValues: bool - jsonExtension: typing_extensions.Literal["JSON_EXTENSION_UNSPECIFIED", "GEOJSON"] + jsonExtension: typing.Literal["JSON_EXTENSION_UNSPECIFIED", "GEOJSON"] jsonOptions: JsonOptions maxBadRecords: int - metadataCacheMode: typing_extensions.Literal[ + metadataCacheMode: typing.Literal[ "METADATA_CACHE_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - objectMetadata: typing_extensions.Literal[ - "OBJECT_METADATA_UNSPECIFIED", "DIRECTORY", "SIMPLE" - ] + objectMetadata: typing.Literal["OBJECT_METADATA_UNSPECIFIED", "DIRECTORY", "SIMPLE"] parquetOptions: ParquetOptions referenceFileSchemaUri: str schema: TableSchema @@ -591,12 +606,12 @@ class ExternalDataConfiguration(typing_extensions.TypedDict, total=False): timestampTargetPrecision: _list[int] @typing.type_check_only -class ExternalDatasetReference(typing_extensions.TypedDict, total=False): +class ExternalDatasetReference(typing.TypedDict, total=False): connection: str externalSource: str @typing.type_check_only -class ExternalRuntimeOptions(typing_extensions.TypedDict, total=False): +class ExternalRuntimeOptions(typing.TypedDict, total=False): containerCpu: float containerMemory: str containerRequestConcurrency: str @@ -605,7 +620,7 @@ class ExternalRuntimeOptions(typing_extensions.TypedDict, total=False): runtimeVersion: str @typing.type_check_only -class ExternalServiceCost(typing_extensions.TypedDict, total=False): +class ExternalServiceCost(typing.TypedDict, total=False): billingMethod: str bytesBilled: str bytesProcessed: str @@ -614,40 +629,40 @@ class ExternalServiceCost(typing_extensions.TypedDict, total=False): slotMs: str @typing.type_check_only -class FeatureValue(typing_extensions.TypedDict, total=False): +class FeatureValue(typing.TypedDict, total=False): categoricalValue: CategoricalValue featureColumn: str numericalValue: float @typing.type_check_only -class ForeignTypeInfo(typing_extensions.TypedDict, total=False): - typeSystem: typing_extensions.Literal["TYPE_SYSTEM_UNSPECIFIED", "HIVE"] +class ForeignTypeInfo(typing.TypedDict, total=False): + typeSystem: typing.Literal["TYPE_SYSTEM_UNSPECIFIED", "HIVE"] @typing.type_check_only -class ForeignViewDefinition(typing_extensions.TypedDict, total=False): +class ForeignViewDefinition(typing.TypedDict, total=False): dialect: str query: str @typing.type_check_only -class GenAiErrorStats(typing_extensions.TypedDict, total=False): +class GenAiErrorStats(typing.TypedDict, total=False): errors: _list[str] @typing.type_check_only -class GenAiFunctionCacheStats(typing_extensions.TypedDict, total=False): +class GenAiFunctionCacheStats(typing.TypedDict, total=False): numCacheHitRows: str @typing.type_check_only -class GenAiFunctionCostOptimizationStats(typing_extensions.TypedDict, total=False): +class GenAiFunctionCostOptimizationStats(typing.TypedDict, total=False): message: str numCostOptimizedRows: str @typing.type_check_only -class GenAiFunctionErrorStats(typing_extensions.TypedDict, total=False): +class GenAiFunctionErrorStats(typing.TypedDict, total=False): errors: _list[str] numFailedRows: str @typing.type_check_only -class GenAiFunctionStats(typing_extensions.TypedDict, total=False): +class GenAiFunctionStats(typing.TypedDict, total=False): cacheStats: GenAiFunctionCacheStats costOptimizationStats: GenAiFunctionCostOptimizationStats errorStats: GenAiFunctionErrorStats @@ -656,33 +671,33 @@ class GenAiFunctionStats(typing_extensions.TypedDict, total=False): prompt: str @typing.type_check_only -class GenAiStats(typing_extensions.TypedDict, total=False): +class GenAiStats(typing.TypedDict, total=False): errorStats: GenAiErrorStats functionStats: _list[GenAiFunctionStats] @typing.type_check_only -class GeneratedColumn(typing_extensions.TypedDict, total=False): +class GeneratedColumn(typing.TypedDict, total=False): generatedExpressionInfo: GeneratedExpressionInfo - generatedMode: typing_extensions.Literal[ + generatedMode: typing.Literal[ "GENERATED_MODE_UNSPECIFIED", "GENERATED_ALWAYS", "GENERATED_BY_DEFAULT" ] @typing.type_check_only -class GeneratedExpressionInfo(typing_extensions.TypedDict, total=False): +class GeneratedExpressionInfo(typing.TypedDict, total=False): asynchronous: bool generationExpression: str stored: bool @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GetQueryResultsResponse(typing_extensions.TypedDict, total=False): +class GetQueryResultsResponse(typing.TypedDict, total=False): cacheHit: bool errors: _list[ErrorProto] etag: str @@ -697,36 +712,36 @@ class GetQueryResultsResponse(typing_extensions.TypedDict, total=False): totalRows: str @typing.type_check_only -class GetServiceAccountResponse(typing_extensions.TypedDict, total=False): +class GetServiceAccountResponse(typing.TypedDict, total=False): email: str kind: str @typing.type_check_only -class GlobalExplanation(typing_extensions.TypedDict, total=False): +class GlobalExplanation(typing.TypedDict, total=False): classLabel: str explanations: _list[Explanation] @typing.type_check_only -class GoogleSheetsOptions(typing_extensions.TypedDict, total=False): +class GoogleSheetsOptions(typing.TypedDict, total=False): range: str skipLeadingRows: str @typing.type_check_only -class HighCardinalityJoin(typing_extensions.TypedDict, total=False): +class HighCardinalityJoin(typing.TypedDict, total=False): leftRows: str outputRows: str rightRows: str stepIndex: int @typing.type_check_only -class HivePartitioningOptions(typing_extensions.TypedDict, total=False): +class HivePartitioningOptions(typing.TypedDict, total=False): fields: _list[str] mode: str requirePartitionFilter: bool sourceUriPrefix: str @typing.type_check_only -class HparamSearchSpaces(typing_extensions.TypedDict, total=False): +class HparamSearchSpaces(typing.TypedDict, total=False): activationFn: StringHparamSearchSpace batchSize: IntHparamSearchSpace boosterType: StringHparamSearchSpace @@ -751,7 +766,7 @@ class HparamSearchSpaces(typing_extensions.TypedDict, total=False): walsAlpha: DoubleHparamSearchSpace @typing.type_check_only -class HparamTuningTrial(typing_extensions.TypedDict, total=False): +class HparamTuningTrial(typing.TypedDict, total=False): endTimeMs: str errorMessage: str evalLoss: float @@ -759,7 +774,7 @@ class HparamTuningTrial(typing_extensions.TypedDict, total=False): hparamTuningEvaluationMetrics: EvaluationMetrics hparams: TrainingOptions startTimeMs: str - status: typing_extensions.Literal[ + status: typing.Literal[ "TRIAL_STATUS_UNSPECIFIED", "NOT_STARTED", "RUNNING", @@ -772,8 +787,8 @@ class HparamTuningTrial(typing_extensions.TypedDict, total=False): trialId: str @typing.type_check_only -class IncrementalResultStats(typing_extensions.TypedDict, total=False): - disabledReason: typing_extensions.Literal[ +class IncrementalResultStats(typing.TypedDict, total=False): + disabledReason: typing.Literal[ "DISABLED_REASON_UNSPECIFIED", "OTHER", "UNSUPPORTED_OPERATOR" ] disabledReasonDetails: str @@ -784,16 +799,16 @@ class IncrementalResultStats(typing_extensions.TypedDict, total=False): resultSetLastReplaceTime: str @typing.type_check_only -class IndexPruningStats(typing_extensions.TypedDict, total=False): +class IndexPruningStats(typing.TypedDict, total=False): baseTable: TableReference indexId: str postIndexPruningParallelInputCount: str preIndexPruningParallelInputCount: str @typing.type_check_only -class IndexUnusedReason(typing_extensions.TypedDict, total=False): +class IndexUnusedReason(typing.TypedDict, total=False): baseTable: TableReference - code: typing_extensions.Literal[ + code: typing.Literal[ "CODE_UNSPECIFIED", "INDEX_CONFIG_NOT_AVAILABLE", "PENDING_INDEX_CREATION", @@ -821,33 +836,33 @@ class IndexUnusedReason(typing_extensions.TypedDict, total=False): message: str @typing.type_check_only -class InputDataChange(typing_extensions.TypedDict, total=False): +class InputDataChange(typing.TypedDict, total=False): recordsReadDiffPercentage: float @typing.type_check_only -class IntArray(typing_extensions.TypedDict, total=False): +class IntArray(typing.TypedDict, total=False): elements: _list[str] @typing.type_check_only -class IntArrayHparamSearchSpace(typing_extensions.TypedDict, total=False): +class IntArrayHparamSearchSpace(typing.TypedDict, total=False): candidates: _list[IntArray] @typing.type_check_only -class IntCandidates(typing_extensions.TypedDict, total=False): +class IntCandidates(typing.TypedDict, total=False): candidates: _list[str] @typing.type_check_only -class IntHparamSearchSpace(typing_extensions.TypedDict, total=False): +class IntHparamSearchSpace(typing.TypedDict, total=False): candidates: IntCandidates range: IntRange @typing.type_check_only -class IntRange(typing_extensions.TypedDict, total=False): +class IntRange(typing.TypedDict, total=False): max: str min: str @typing.type_check_only -class IterationResult(typing_extensions.TypedDict, total=False): +class IterationResult(typing.TypedDict, total=False): arimaResult: ArimaResult clusterInfos: _list[ClusterInfo] durationMs: str @@ -858,7 +873,7 @@ class IterationResult(typing_extensions.TypedDict, total=False): trainingLoss: float @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): configuration: JobConfiguration etag: str id: str @@ -872,12 +887,12 @@ class Job(typing_extensions.TypedDict, total=False): user_email: str @typing.type_check_only -class JobCancelResponse(typing_extensions.TypedDict, total=False): +class JobCancelResponse(typing.TypedDict, total=False): job: Job kind: str @typing.type_check_only -class JobConfiguration(typing_extensions.TypedDict, total=False): +class JobConfiguration(typing.TypedDict, total=False): copy: JobConfigurationTableCopy dryRun: bool extract: JobConfigurationExtract @@ -890,7 +905,7 @@ class JobConfiguration(typing_extensions.TypedDict, total=False): reservation: str @typing.type_check_only -class JobConfigurationExtract(typing_extensions.TypedDict, total=False): +class JobConfigurationExtract(typing.TypedDict, total=False): compression: str destinationFormat: str destinationUri: str @@ -903,12 +918,12 @@ class JobConfigurationExtract(typing_extensions.TypedDict, total=False): useAvroLogicalTypes: bool @typing.type_check_only -class JobConfigurationLoad(typing_extensions.TypedDict, total=False): +class JobConfigurationLoad(typing.TypedDict, total=False): allowJaggedRows: bool allowQuotedNewlines: bool autodetect: bool clustering: Clustering - columnNameCharacterMap: typing_extensions.Literal[ + columnNameCharacterMap: typing.Literal[ "COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED", "STRICT", "V1", "V2" ] connectionProperties: _list[ConnectionProperty] @@ -918,7 +933,7 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): dateFormat: str datetimeFormat: str decimalTargetTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DECIMAL_TARGET_TYPE_UNSPECIFIED", "NUMERIC", "BIGNUMERIC", "STRING" ] ] @@ -927,13 +942,13 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): destinationTableProperties: DestinationTableProperties encoding: str fieldDelimiter: str - fileSetSpecType: typing_extensions.Literal[ + fileSetSpecType: typing.Literal[ "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH", "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST", ] hivePartitioningOptions: HivePartitioningOptions ignoreUnknownValues: bool - jsonExtension: typing_extensions.Literal["JSON_EXTENSION_UNSPECIFIED", "GEOJSON"] + jsonExtension: typing.Literal["JSON_EXTENSION_UNSPECIFIED", "GEOJSON"] maxBadRecords: int nullMarker: str nullMarkers: _list[str] @@ -948,7 +963,7 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): schemaInlineFormat: str schemaUpdateOptions: _list[str] skipLeadingRows: int - sourceColumnMatch: typing_extensions.Literal[ + sourceColumnMatch: typing.Literal[ "SOURCE_COLUMN_MATCH_UNSPECIFIED", "POSITION", "NAME" ] sourceFormat: str @@ -962,7 +977,7 @@ class JobConfigurationLoad(typing_extensions.TypedDict, total=False): writeDisposition: str @typing.type_check_only -class JobConfigurationQuery(typing_extensions.TypedDict, total=False): +class JobConfigurationQuery(typing.TypedDict, total=False): allowLargeResults: bool clustering: Clustering connectionProperties: _list[ConnectionProperty] @@ -993,12 +1008,12 @@ class JobConfigurationQuery(typing_extensions.TypedDict, total=False): writeIncrementalResults: bool @typing.type_check_only -class JobConfigurationTableCopy(typing_extensions.TypedDict, total=False): +class JobConfigurationTableCopy(typing.TypedDict, total=False): createDisposition: str destinationEncryptionConfiguration: EncryptionConfiguration destinationExpirationTime: str destinationTable: TableReference - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "COPY", "SNAPSHOT", "RESTORE", "CLONE" ] sourceTable: TableReference @@ -1006,13 +1021,13 @@ class JobConfigurationTableCopy(typing_extensions.TypedDict, total=False): writeDisposition: str @typing.type_check_only -class JobCreationReason(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class JobCreationReason(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "REQUESTED", "LONG_RUNNING", "LARGE_RESULTS", "OTHER" ] @typing.type_check_only -class JobList(typing_extensions.TypedDict, total=False): +class JobList(typing.TypedDict, total=False): etag: str jobs: _list[dict[str, typing.Any]] kind: str @@ -1020,25 +1035,27 @@ class JobList(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class JobReference(typing_extensions.TypedDict, total=False): +class JobReference(typing.TypedDict, total=False): jobId: str location: str projectId: str @typing.type_check_only -class JobStatistics(typing_extensions.TypedDict, total=False): +class JobStatistics(typing.TypedDict, total=False): completionRatio: float copy: JobStatistics5 creationTime: str dataMaskingStatistics: DataMaskingStatistics - edition: typing_extensions.Literal[ + edition: typing.Literal[ "RESERVATION_EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ] endTime: str extract: JobStatistics4 finalExecutionDurationMs: str + globalQueryRemoteRegions: _list[str] load: JobStatistics3 numChildJobs: str + parentGlobalQueryJob: JobReference parentJobId: str query: JobStatistics2 quotaDeferments: _list[str] @@ -1054,7 +1071,7 @@ class JobStatistics(typing_extensions.TypedDict, total=False): transactionInfo: TransactionInfo @typing.type_check_only -class JobStatistics2(typing_extensions.TypedDict, total=False): +class JobStatistics2(typing.TypedDict, total=False): biEngineStatistics: BiEngineStatistics billingTier: int cacheHit: bool @@ -1082,6 +1099,7 @@ class JobStatistics2(typing_extensions.TypedDict, total=False): modelTrainingCurrentIteration: int modelTrainingExpectedTotalIteration: str numDmlAffectedRows: str + objectStorageStats: _list[ObjectStorageStats] performanceInsights: PerformanceInsights queryInfo: QueryInfo queryPlan: _list[ExplainQueryStage] @@ -1105,7 +1123,7 @@ class JobStatistics2(typing_extensions.TypedDict, total=False): vectorSearchStatistics: VectorSearchStatistics @typing.type_check_only -class JobStatistics3(typing_extensions.TypedDict, total=False): +class JobStatistics3(typing.TypedDict, total=False): badRecords: str inputFileBytes: str inputFiles: str @@ -1114,26 +1132,27 @@ class JobStatistics3(typing_extensions.TypedDict, total=False): timeline: _list[QueryTimelineSample] @typing.type_check_only -class JobStatistics4(typing_extensions.TypedDict, total=False): +class JobStatistics4(typing.TypedDict, total=False): destinationUriFileCounts: _list[str] inputBytes: str timeline: _list[QueryTimelineSample] @typing.type_check_only -class JobStatistics5(typing_extensions.TypedDict, total=False): +class JobStatistics5(typing.TypedDict, total=False): copiedLogicalBytes: str copiedRows: str + remoteDestinationRegion: str @typing.type_check_only -class JobStatus(typing_extensions.TypedDict, total=False): +class JobStatus(typing.TypedDict, total=False): errorResult: ErrorProto errors: _list[ErrorProto] state: str @typing.type_check_only -class JoinRestrictionPolicy(typing_extensions.TypedDict, total=False): +class JoinRestrictionPolicy(typing.TypedDict, total=False): joinAllowedColumns: _list[str] - joinCondition: typing_extensions.Literal[ + joinCondition: typing.Literal[ "JOIN_CONDITION_UNSPECIFIED", "JOIN_ANY", "JOIN_ALL", @@ -1145,37 +1164,37 @@ class JoinRestrictionPolicy(typing_extensions.TypedDict, total=False): class JsonObject(dict[str, typing.Any]): ... @typing.type_check_only -class JsonOptions(typing_extensions.TypedDict, total=False): +class JsonOptions(typing.TypedDict, total=False): encoding: str @typing.type_check_only class JsonValue(dict[str, typing.Any]): ... @typing.type_check_only -class LinkedDatasetMetadata(typing_extensions.TypedDict, total=False): - linkState: typing_extensions.Literal["LINK_STATE_UNSPECIFIED", "LINKED", "UNLINKED"] +class LinkedDatasetMetadata(typing.TypedDict, total=False): + linkState: typing.Literal["LINK_STATE_UNSPECIFIED", "LINKED", "UNLINKED"] @typing.type_check_only -class LinkedDatasetSource(typing_extensions.TypedDict, total=False): +class LinkedDatasetSource(typing.TypedDict, total=False): sourceDataset: DatasetReference @typing.type_check_only -class ListModelsResponse(typing_extensions.TypedDict, total=False): +class ListModelsResponse(typing.TypedDict, total=False): models: _list[Model] nextPageToken: str @typing.type_check_only -class ListRoutinesResponse(typing_extensions.TypedDict, total=False): +class ListRoutinesResponse(typing.TypedDict, total=False): nextPageToken: str routines: _list[Routine] @typing.type_check_only -class ListRowAccessPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListRowAccessPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str rowAccessPolicies: _list[RowAccessPolicy] @typing.type_check_only -class LoadQueryStatistics(typing_extensions.TypedDict, total=False): +class LoadQueryStatistics(typing.TypedDict, total=False): badRecords: str bytesTransferred: str inputFileBytes: str @@ -1184,14 +1203,14 @@ class LoadQueryStatistics(typing_extensions.TypedDict, total=False): outputRows: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): legacyLocationId: str @typing.type_check_only -class MaterializedView(typing_extensions.TypedDict, total=False): +class MaterializedView(typing.TypedDict, total=False): chosen: bool estimatedBytesSaved: str - rejectedReason: typing_extensions.Literal[ + rejectedReason: typing.Literal[ "REJECTED_REASON_UNSPECIFIED", "NO_DATA", "COST", @@ -1208,7 +1227,7 @@ class MaterializedView(typing_extensions.TypedDict, total=False): tableReference: TableReference @typing.type_check_only -class MaterializedViewDefinition(typing_extensions.TypedDict, total=False): +class MaterializedViewDefinition(typing.TypedDict, total=False): allowNonIncrementalDefinition: bool enableRefresh: bool lastRefreshTime: str @@ -1217,29 +1236,29 @@ class MaterializedViewDefinition(typing_extensions.TypedDict, total=False): refreshIntervalMs: str @typing.type_check_only -class MaterializedViewStatistics(typing_extensions.TypedDict, total=False): +class MaterializedViewStatistics(typing.TypedDict, total=False): materializedView: _list[MaterializedView] @typing.type_check_only -class MaterializedViewStatus(typing_extensions.TypedDict, total=False): +class MaterializedViewStatus(typing.TypedDict, total=False): lastRefreshStatus: ErrorProto refreshWatermark: str @typing.type_check_only -class MetadataCacheStalenessInsight(typing_extensions.TypedDict, total=False): +class MetadataCacheStalenessInsight(typing.TypedDict, total=False): avgPreviousStalenessMs: str stalenessPercentageIncrease: float @typing.type_check_only -class MetadataCacheStatistics(typing_extensions.TypedDict, total=False): +class MetadataCacheStatistics(typing.TypedDict, total=False): tableMetadataCacheUsage: _list[TableMetadataCacheUsage] @typing.type_check_only -class MlStatistics(typing_extensions.TypedDict, total=False): +class MlStatistics(typing.TypedDict, total=False): hparamTrials: _list[HparamTuningTrial] iterationResults: _list[IterationResult] maxIterations: str - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "LINEAR_REGRESSION", "LOGISTIC_REGRESSION", @@ -1267,12 +1286,12 @@ class MlStatistics(typing_extensions.TypedDict, total=False): "TRANSFORM_ONLY", "CONTRIBUTION_ANALYSIS", ] - trainingType: typing_extensions.Literal[ + trainingType: typing.Literal[ "TRAINING_TYPE_UNSPECIFIED", "SINGLE_TRAINING", "HPARAM_TUNING" ] @typing.type_check_only -class Model(typing_extensions.TypedDict, total=False): +class Model(typing.TypedDict, total=False): bestTrialId: str creationTime: str defaultTrialId: str @@ -1289,7 +1308,7 @@ class Model(typing_extensions.TypedDict, total=False): lastModifiedTime: str location: str modelReference: ModelReference - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "LINEAR_REGRESSION", "LOGISTIC_REGRESSION", @@ -1323,74 +1342,78 @@ class Model(typing_extensions.TypedDict, total=False): transformColumns: _list[TransformColumn] @typing.type_check_only -class ModelDefinition(typing_extensions.TypedDict, total=False): +class ModelDefinition(typing.TypedDict, total=False): modelOptions: dict[str, typing.Any] trainingRuns: _list[BqmlTrainingRun] @typing.type_check_only -class ModelExtractOptions(typing_extensions.TypedDict, total=False): +class ModelExtractOptions(typing.TypedDict, total=False): trialId: str @typing.type_check_only -class ModelReference(typing_extensions.TypedDict, total=False): +class ModelReference(typing.TypedDict, total=False): datasetId: str modelId: str projectId: str @typing.type_check_only -class MultiClassClassificationMetrics(typing_extensions.TypedDict, total=False): +class MultiClassClassificationMetrics(typing.TypedDict, total=False): aggregateClassificationMetrics: AggregateClassificationMetrics confusionMatrixList: _list[ConfusionMatrix] @typing.type_check_only -class ParquetOptions(typing_extensions.TypedDict, total=False): +class ObjectStorageStats(typing.TypedDict, total=False): + cacheBytesRead: str + cloudProvider: typing.Literal["CLOUD_PROVIDER_UNSPECIFIED", "GCP", "AWS", "AZURE"] + objectStorageBytesRead: str + +@typing.type_check_only +class ParquetOptions(typing.TypedDict, total=False): enableListInference: bool enumAsString: bool - mapTargetType: typing_extensions.Literal[ - "MAP_TARGET_TYPE_UNSPECIFIED", "ARRAY_OF_STRUCT" - ] + mapTargetType: typing.Literal["MAP_TARGET_TYPE_UNSPECIFIED", "ARRAY_OF_STRUCT"] @typing.type_check_only -class PartitionSkew(typing_extensions.TypedDict, total=False): +class PartitionSkew(typing.TypedDict, total=False): skewSources: _list[SkewSource] @typing.type_check_only -class PartitionedColumn(typing_extensions.TypedDict, total=False): +class PartitionedColumn(typing.TypedDict, total=False): field: str @typing.type_check_only -class PartitioningDefinition(typing_extensions.TypedDict, total=False): +class PartitioningDefinition(typing.TypedDict, total=False): partitionedColumn: _list[PartitionedColumn] @typing.type_check_only -class PerformanceInsights(typing_extensions.TypedDict, total=False): +class PerformanceInsights(typing.TypedDict, total=False): avgPreviousExecutionMs: str stagePerformanceChangeInsights: _list[StagePerformanceChangeInsight] stagePerformanceStandaloneInsights: _list[StagePerformanceStandaloneInsight] tableChangeInsights: _list[TableChangeInsight] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrincipalComponentInfo(typing_extensions.TypedDict, total=False): +class PrincipalComponentInfo(typing.TypedDict, total=False): cumulativeExplainedVarianceRatio: float explainedVariance: float explainedVarianceRatio: float principalComponentId: str @typing.type_check_only -class PrivacyPolicy(typing_extensions.TypedDict, total=False): +class PrivacyPolicy(typing.TypedDict, total=False): aggregationThresholdPolicy: AggregationThresholdPolicy differentialPrivacyPolicy: DifferentialPrivacyPolicy joinRestrictionPolicy: JoinRestrictionPolicy @typing.type_check_only -class ProjectList(typing_extensions.TypedDict, total=False): +class ProjectList(typing.TypedDict, total=False): etag: str kind: str nextPageToken: str @@ -1398,38 +1421,38 @@ class ProjectList(typing_extensions.TypedDict, total=False): totalItems: int @typing.type_check_only -class ProjectReference(typing_extensions.TypedDict, total=False): +class ProjectReference(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class PropertyGraphReference(typing_extensions.TypedDict, total=False): +class PropertyGraphReference(typing.TypedDict, total=False): datasetId: str projectId: str propertyGraphId: str @typing.type_check_only -class PruningStats(typing_extensions.TypedDict, total=False): +class PruningStats(typing.TypedDict, total=False): postCmetaPruningParallelInputCount: str postCmetaPruningPartitionCount: str preCmetaPruningParallelInputCount: str @typing.type_check_only -class PythonOptions(typing_extensions.TypedDict, total=False): +class PythonOptions(typing.TypedDict, total=False): entryPoint: str packages: _list[str] @typing.type_check_only -class QueryInfo(typing_extensions.TypedDict, total=False): +class QueryInfo(typing.TypedDict, total=False): optimizationDetails: dict[str, typing.Any] @typing.type_check_only -class QueryParameter(typing_extensions.TypedDict, total=False): +class QueryParameter(typing.TypedDict, total=False): name: str parameterType: QueryParameterType parameterValue: QueryParameterValue @typing.type_check_only -class QueryParameterType(typing_extensions.TypedDict, total=False): +class QueryParameterType(typing.TypedDict, total=False): arrayType: QueryParameterType rangeElementType: QueryParameterType structTypes: _list[dict[str, typing.Any]] @@ -1437,14 +1460,15 @@ class QueryParameterType(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class QueryParameterValue(typing_extensions.TypedDict, total=False): +class QueryParameterValue(typing.TypedDict, total=False): arrayValues: _list[QueryParameterValue] rangeValue: RangeValue structValues: dict[str, typing.Any] value: str @typing.type_check_only -class QueryRequest(typing_extensions.TypedDict, total=False): +class QueryRequest(typing.TypedDict, total=False): + arrowSerializationOptions: ArrowSerializationOptions connectionProperties: _list[ConnectionProperty] continuous: bool createSession: bool @@ -1452,7 +1476,7 @@ class QueryRequest(typing_extensions.TypedDict, total=False): destinationEncryptionConfiguration: EncryptionConfiguration dryRun: bool formatOptions: DataFormatOptions - jobCreationMode: typing_extensions.Literal[ + jobCreationMode: typing.Literal[ "JOB_CREATION_MODE_UNSPECIFIED", "JOB_CREATION_REQUIRED", "JOB_CREATION_OPTIONAL", @@ -1468,6 +1492,9 @@ class QueryRequest(typing_extensions.TypedDict, total=False): preserveNulls: bool query: str queryParameters: _list[QueryParameter] + queryResultsFormat: typing.Literal[ + "QUERY_RESULTS_FORMAT_UNSPECIFIED", "STRUCT_ENCODING", "ARROW" + ] requestId: str reservation: str timeoutMs: int @@ -1476,7 +1503,9 @@ class QueryRequest(typing_extensions.TypedDict, total=False): writeIncrementalResults: bool @typing.type_check_only -class QueryResponse(typing_extensions.TypedDict, total=False): +class QueryResponse(typing.TypedDict, total=False): + arrowRecordBatch: ArrowRecordBatch + arrowSchema: ArrowSchema cacheHit: bool creationTime: str dmlStats: DmlStatistics @@ -1488,19 +1517,21 @@ class QueryResponse(typing_extensions.TypedDict, total=False): kind: str location: str numDmlAffectedRows: str + pageRowCount: str pageToken: str queryId: str rows: _list[TableRow] schema: TableSchema sessionInfo: SessionInfo startTime: str + statementType: str totalBytesBilled: str totalBytesProcessed: str totalRows: str totalSlotMs: str @typing.type_check_only -class QueryTimelineSample(typing_extensions.TypedDict, total=False): +class QueryTimelineSample(typing.TypedDict, total=False): activeUnits: str completedUnits: str elapsedMs: str @@ -1510,24 +1541,24 @@ class QueryTimelineSample(typing_extensions.TypedDict, total=False): totalSlotMs: str @typing.type_check_only -class RangePartitioning(typing_extensions.TypedDict, total=False): +class RangePartitioning(typing.TypedDict, total=False): field: str range: dict[str, typing.Any] @typing.type_check_only -class RangeValue(typing_extensions.TypedDict, total=False): +class RangeValue(typing.TypedDict, total=False): end: QueryParameterValue start: QueryParameterValue @typing.type_check_only -class RankingMetrics(typing_extensions.TypedDict, total=False): +class RankingMetrics(typing.TypedDict, total=False): averageRank: float meanAveragePrecision: float meanSquaredError: float normalizedDiscountedCumulativeGain: float @typing.type_check_only -class RegressionMetrics(typing_extensions.TypedDict, total=False): +class RegressionMetrics(typing.TypedDict, total=False): meanAbsoluteError: float meanSquaredError: float meanSquaredLogError: float @@ -1535,19 +1566,19 @@ class RegressionMetrics(typing_extensions.TypedDict, total=False): rSquared: float @typing.type_check_only -class RemoteFunctionOptions(typing_extensions.TypedDict, total=False): +class RemoteFunctionOptions(typing.TypedDict, total=False): connection: str endpoint: str maxBatchingRows: str userDefinedContext: dict[str, typing.Any] @typing.type_check_only -class RemoteModelInfo(typing_extensions.TypedDict, total=False): +class RemoteModelInfo(typing.TypedDict, total=False): connection: str endpoint: str maxBatchingRows: str remoteModelVersion: str - remoteServiceType: typing_extensions.Literal[ + remoteServiceType: typing.Literal[ "REMOTE_SERVICE_TYPE_UNSPECIFIED", "CLOUD_AI_TRANSLATE_V3", "CLOUD_AI_VISION_V1", @@ -1557,28 +1588,26 @@ class RemoteModelInfo(typing_extensions.TypedDict, total=False): speechRecognizer: str @typing.type_check_only -class RestrictionConfig(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "RESTRICTION_TYPE_UNSPECIFIED", "RESTRICTED_DATA_EGRESS" - ] +class RestrictionConfig(typing.TypedDict, total=False): + type: typing.Literal["RESTRICTION_TYPE_UNSPECIFIED", "RESTRICTED_DATA_EGRESS"] @typing.type_check_only -class Routine(typing_extensions.TypedDict, total=False): +class Routine(typing.TypedDict, total=False): arguments: _list[Argument] buildStatus: RoutineBuildStatus creationTime: str - dataGovernanceType: typing_extensions.Literal[ + dataGovernanceType: typing.Literal[ "DATA_GOVERNANCE_TYPE_UNSPECIFIED", "DATA_MASKING" ] definitionBody: str description: str - determinismLevel: typing_extensions.Literal[ + determinismLevel: typing.Literal[ "DETERMINISM_LEVEL_UNSPECIFIED", "DETERMINISTIC", "NOT_DETERMINISTIC" ] etag: str externalRuntimeOptions: ExternalRuntimeOptions importedLibraries: _list[str] - language: typing_extensions.Literal[ + language: typing.Literal[ "LANGUAGE_UNSPECIFIED", "SQL", "JAVASCRIPT", "PYTHON", "JAVA", "SCALA" ] lastModifiedTime: str @@ -1587,23 +1616,21 @@ class Routine(typing_extensions.TypedDict, total=False): returnTableType: StandardSqlTableType returnType: StandardSqlDataType routineReference: RoutineReference - routineType: typing_extensions.Literal[ + routineType: typing.Literal[ "ROUTINE_TYPE_UNSPECIFIED", "SCALAR_FUNCTION", "PROCEDURE", "TABLE_VALUED_FUNCTION", "AGGREGATE_FUNCTION", ] - securityMode: typing_extensions.Literal[ - "SECURITY_MODE_UNSPECIFIED", "DEFINER", "INVOKER" - ] + securityMode: typing.Literal["SECURITY_MODE_UNSPECIFIED", "DEFINER", "INVOKER"] sparkOptions: SparkOptions strictMode: bool @typing.type_check_only -class RoutineBuildStatus(typing_extensions.TypedDict, total=False): +class RoutineBuildStatus(typing.TypedDict, total=False): buildDuration: str - buildState: typing_extensions.Literal[ + buildState: typing.Literal[ "BUILD_STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" ] buildStateUpdateTime: str @@ -1611,18 +1638,18 @@ class RoutineBuildStatus(typing_extensions.TypedDict, total=False): imageSizeBytes: str @typing.type_check_only -class RoutineReference(typing_extensions.TypedDict, total=False): +class RoutineReference(typing.TypedDict, total=False): datasetId: str projectId: str routineId: str @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): actualLabel: str entries: _list[Entry] @typing.type_check_only -class RowAccessPolicy(typing_extensions.TypedDict, total=False): +class RowAccessPolicy(typing.TypedDict, total=False): creationTime: str etag: str filterPredicate: str @@ -1631,26 +1658,26 @@ class RowAccessPolicy(typing_extensions.TypedDict, total=False): rowAccessPolicyReference: RowAccessPolicyReference @typing.type_check_only -class RowAccessPolicyReference(typing_extensions.TypedDict, total=False): +class RowAccessPolicyReference(typing.TypedDict, total=False): datasetId: str policyId: str projectId: str tableId: str @typing.type_check_only -class RowLevelSecurityStatistics(typing_extensions.TypedDict, total=False): +class RowLevelSecurityStatistics(typing.TypedDict, total=False): rowLevelSecurityApplied: bool @typing.type_check_only -class ScriptOptions(typing_extensions.TypedDict, total=False): - keyResultStatement: typing_extensions.Literal[ +class ScriptOptions(typing.TypedDict, total=False): + keyResultStatement: typing.Literal[ "KEY_RESULT_STATEMENT_KIND_UNSPECIFIED", "LAST", "FIRST_SELECT" ] statementByteBudget: str statementTimeoutMs: str @typing.type_check_only -class ScriptStackFrame(typing_extensions.TypedDict, total=False): +class ScriptStackFrame(typing.TypedDict, total=False): endColumn: int endLine: int procedureId: str @@ -1659,51 +1686,54 @@ class ScriptStackFrame(typing_extensions.TypedDict, total=False): text: str @typing.type_check_only -class ScriptStatistics(typing_extensions.TypedDict, total=False): - evaluationKind: typing_extensions.Literal[ +class ScriptStatistics(typing.TypedDict, total=False): + evaluationKind: typing.Literal[ "EVALUATION_KIND_UNSPECIFIED", "STATEMENT", "EXPRESSION" ] stackFrames: _list[ScriptStackFrame] @typing.type_check_only -class SearchStatistics(typing_extensions.TypedDict, total=False): +class SearchStatistics(typing.TypedDict, total=False): indexPruningStats: _list[IndexPruningStats] indexUnusedReasons: _list[IndexUnusedReason] - indexUsageMode: typing_extensions.Literal[ + indexUsageMode: typing.Literal[ "INDEX_USAGE_MODE_UNSPECIFIED", "UNUSED", "PARTIALLY_USED", "FULLY_USED" ] @typing.type_check_only -class SerDeInfo(typing_extensions.TypedDict, total=False): +class SerDeInfo(typing.TypedDict, total=False): name: str parameters: dict[str, typing.Any] serializationLibrary: str @typing.type_check_only -class SessionInfo(typing_extensions.TypedDict, total=False): +class SessionInfo(typing.TypedDict, total=False): sessionId: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SkewSource(typing_extensions.TypedDict, total=False): +class SkewSource(typing.TypedDict, total=False): + outputBytesMax: str + outputBytesMedian: str + outputBytesP95: str stageId: str @typing.type_check_only -class SnapshotDefinition(typing_extensions.TypedDict, total=False): +class SnapshotDefinition(typing.TypedDict, total=False): baseTableReference: TableReference snapshotTime: str @typing.type_check_only -class SparkLoggingInfo(typing_extensions.TypedDict, total=False): +class SparkLoggingInfo(typing.TypedDict, total=False): projectId: str resourceType: str @typing.type_check_only -class SparkOptions(typing_extensions.TypedDict, total=False): +class SparkOptions(typing.TypedDict, total=False): archiveUris: _list[str] connection: str containerImage: str @@ -1716,7 +1746,7 @@ class SparkOptions(typing_extensions.TypedDict, total=False): runtimeVersion: str @typing.type_check_only -class SparkStatistics(typing_extensions.TypedDict, total=False): +class SparkStatistics(typing.TypedDict, total=False): endpoints: dict[str, typing.Any] gcsStagingBucket: str kmsKeyName: str @@ -1725,12 +1755,12 @@ class SparkStatistics(typing_extensions.TypedDict, total=False): sparkJobLocation: str @typing.type_check_only -class StagePerformanceChangeInsight(typing_extensions.TypedDict, total=False): +class StagePerformanceChangeInsight(typing.TypedDict, total=False): inputDataChange: InputDataChange stageId: str @typing.type_check_only -class StagePerformanceStandaloneInsight(typing_extensions.TypedDict, total=False): +class StagePerformanceStandaloneInsight(typing.TypedDict, total=False): biEngineReasons: _list[BiEngineReason] highCardinalityJoins: _list[HighCardinalityJoin] insufficientShuffleQuota: bool @@ -1739,11 +1769,11 @@ class StagePerformanceStandaloneInsight(typing_extensions.TypedDict, total=False stageId: str @typing.type_check_only -class StandardSqlDataType(typing_extensions.TypedDict, total=False): +class StandardSqlDataType(typing.TypedDict, total=False): arrayElementType: StandardSqlDataType rangeElementType: StandardSqlDataType structType: StandardSqlStructType - typeKind: typing_extensions.Literal[ + typeKind: typing.Literal[ "TYPE_KIND_UNSPECIFIED", "INT64", "BOOL", @@ -1765,28 +1795,28 @@ class StandardSqlDataType(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StandardSqlField(typing_extensions.TypedDict, total=False): +class StandardSqlField(typing.TypedDict, total=False): name: str type: StandardSqlDataType @typing.type_check_only -class StandardSqlStructType(typing_extensions.TypedDict, total=False): +class StandardSqlStructType(typing.TypedDict, total=False): fields: _list[StandardSqlField] @typing.type_check_only -class StandardSqlTableType(typing_extensions.TypedDict, total=False): +class StandardSqlTableType(typing.TypedDict, total=False): columns: _list[StandardSqlField] @typing.type_check_only -class StorageDescriptor(typing_extensions.TypedDict, total=False): +class StorageDescriptor(typing.TypedDict, total=False): inputFormat: str locationUri: str outputFormat: str serdeInfo: SerDeInfo @typing.type_check_only -class StoredColumnsUnusedReason(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class StoredColumnsUnusedReason(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "STORED_COLUMNS_COVER_INSUFFICIENT", "BASE_TABLE_HAS_RLS", @@ -1799,34 +1829,34 @@ class StoredColumnsUnusedReason(typing_extensions.TypedDict, total=False): uncoveredColumns: _list[str] @typing.type_check_only -class StoredColumnsUsage(typing_extensions.TypedDict, total=False): +class StoredColumnsUsage(typing.TypedDict, total=False): baseTable: TableReference isQueryAccelerated: bool storedColumnsUnusedReasons: _list[StoredColumnsUnusedReason] @typing.type_check_only -class Streamingbuffer(typing_extensions.TypedDict, total=False): +class Streamingbuffer(typing.TypedDict, total=False): estimatedBytes: str estimatedRows: str oldestEntryTime: str @typing.type_check_only -class StringHparamSearchSpace(typing_extensions.TypedDict, total=False): +class StringHparamSearchSpace(typing.TypedDict, total=False): candidates: _list[str] @typing.type_check_only -class SystemVariables(typing_extensions.TypedDict, total=False): +class SystemVariables(typing.TypedDict, total=False): types: dict[str, typing.Any] values: dict[str, typing.Any] @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): biglakeConfiguration: BigLakeConfiguration cloneDefinition: CloneDefinition clustering: Clustering creationTime: str defaultCollation: str - defaultRoundingMode: typing_extensions.Literal[ + defaultRoundingMode: typing.Literal[ "ROUNDING_MODE_UNSPECIFIED", "ROUND_HALF_AWAY_FROM_ZERO", "ROUND_HALF_EVEN" ] description: str @@ -1841,7 +1871,7 @@ class Table(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] lastModifiedTime: str location: str - managedTableType: typing_extensions.Literal[ + managedTableType: typing.Literal[ "MANAGED_TABLE_TYPE_UNSPECIFIED", "NATIVE", "BIGLAKE" ] materializedView: MaterializedViewDefinition @@ -1879,22 +1909,22 @@ class Table(typing_extensions.TypedDict, total=False): view: ViewDefinition @typing.type_check_only -class TableCell(typing_extensions.TypedDict, total=False): +class TableCell(typing.TypedDict, total=False): v: typing.Any @typing.type_check_only -class TableChangeInsight(typing_extensions.TypedDict, total=False): +class TableChangeInsight(typing.TypedDict, total=False): metadataCacheNotUsedButUsedPreviously: bool metadataCacheStalenessInsight: MetadataCacheStalenessInsight tableReference: TableReference @typing.type_check_only -class TableConstraints(typing_extensions.TypedDict, total=False): +class TableConstraints(typing.TypedDict, total=False): foreignKeys: _list[dict[str, typing.Any]] primaryKey: dict[str, typing.Any] @typing.type_check_only -class TableDataInsertAllRequest(typing_extensions.TypedDict, total=False): +class TableDataInsertAllRequest(typing.TypedDict, total=False): ignoreUnknownValues: bool kind: str rows: _list[dict[str, typing.Any]] @@ -1903,12 +1933,12 @@ class TableDataInsertAllRequest(typing_extensions.TypedDict, total=False): traceId: str @typing.type_check_only -class TableDataInsertAllResponse(typing_extensions.TypedDict, total=False): +class TableDataInsertAllResponse(typing.TypedDict, total=False): insertErrors: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class TableDataList(typing_extensions.TypedDict, total=False): +class TableDataList(typing.TypedDict, total=False): etag: str kind: str pageToken: str @@ -1916,7 +1946,7 @@ class TableDataList(typing_extensions.TypedDict, total=False): totalRows: str @typing.type_check_only -class TableFieldSchema(typing_extensions.TypedDict, total=False): +class TableFieldSchema(typing.TypedDict, total=False): categories: dict[str, typing.Any] collation: str dataGovernanceTagsInfo: dict[str, typing.Any] @@ -1933,7 +1963,7 @@ class TableFieldSchema(typing_extensions.TypedDict, total=False): policyTags: dict[str, typing.Any] precision: str rangeElementType: dict[str, typing.Any] - roundingMode: typing_extensions.Literal[ + roundingMode: typing.Literal[ "ROUNDING_MODE_UNSPECIFIED", "ROUND_HALF_AWAY_FROM_ZERO", "ROUND_HALF_EVEN" ] scale: str @@ -1941,7 +1971,7 @@ class TableFieldSchema(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class TableList(typing_extensions.TypedDict, total=False): +class TableList(typing.TypedDict, total=False): etag: str kind: str nextPageToken: str @@ -1949,13 +1979,13 @@ class TableList(typing_extensions.TypedDict, total=False): totalItems: int @typing.type_check_only -class TableMetadataCacheUsage(typing_extensions.TypedDict, total=False): +class TableMetadataCacheUsage(typing.TypedDict, total=False): explanation: str pruningStats: PruningStats staleness: str tableReference: TableReference tableType: str - unusedReason: typing_extensions.Literal[ + unusedReason: typing.Literal[ "UNUSED_REASON_UNSPECIFIED", "EXCEEDED_MAX_STALENESS", "METADATA_CACHING_NOT_ENABLED", @@ -1963,17 +1993,17 @@ class TableMetadataCacheUsage(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TableReference(typing_extensions.TypedDict, total=False): +class TableReference(typing.TypedDict, total=False): datasetId: str projectId: str tableId: str @typing.type_check_only -class TableReplicationInfo(typing_extensions.TypedDict, total=False): +class TableReplicationInfo(typing.TypedDict, total=False): replicatedSourceLastRefreshTime: str replicationError: ErrorProto replicationIntervalMs: str - replicationStatus: typing_extensions.Literal[ + replicationStatus: typing.Literal[ "REPLICATION_STATUS_UNSPECIFIED", "ACTIVE", "SOURCE_DELETED", @@ -1983,31 +2013,31 @@ class TableReplicationInfo(typing_extensions.TypedDict, total=False): sourceTable: TableReference @typing.type_check_only -class TableRow(typing_extensions.TypedDict, total=False): +class TableRow(typing.TypedDict, total=False): f: _list[TableCell] @typing.type_check_only -class TableSchema(typing_extensions.TypedDict, total=False): +class TableSchema(typing.TypedDict, total=False): fields: _list[TableFieldSchema] foreignTypeInfo: ForeignTypeInfo @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimePartitioning(typing_extensions.TypedDict, total=False): +class TimePartitioning(typing.TypedDict, total=False): expirationMs: str field: str requirePartitionFilter: bool type: str @typing.type_check_only -class TrainingOptions(typing_extensions.TypedDict, total=False): +class TrainingOptions(typing.TypedDict, total=False): activationFn: str adjustStepChanges: bool approxGlobalFeatureContrib: bool @@ -2016,27 +2046,27 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): autoArimaMinOrder: str autoClassWeights: bool batchSize: str - boosterType: typing_extensions.Literal["BOOSTER_TYPE_UNSPECIFIED", "GBTREE", "DART"] + boosterType: typing.Literal["BOOSTER_TYPE_UNSPECIFIED", "GBTREE", "DART"] budgetHours: float calculatePValues: bool - categoryEncodingMethod: typing_extensions.Literal[ + categoryEncodingMethod: typing.Literal[ "ENCODING_METHOD_UNSPECIFIED", "ONE_HOT_ENCODING", "LABEL_ENCODING", "DUMMY_ENCODING", ] cleanSpikesAndDips: bool - colorSpace: typing_extensions.Literal[ + colorSpace: typing.Literal[ "COLOR_SPACE_UNSPECIFIED", "RGB", "HSV", "YIQ", "YUV", "GRAYSCALE" ] colsampleBylevel: float colsampleBynode: float colsampleBytree: float contributionMetric: str - dartNormalizeType: typing_extensions.Literal[ + dartNormalizeType: typing.Literal[ "DART_NORMALIZE_TYPE_UNSPECIFIED", "TREE", "FOREST" ] - dataFrequency: typing_extensions.Literal[ + dataFrequency: typing.Literal[ "DATA_FREQUENCY_UNSPECIFIED", "AUTO_FREQUENCY", "YEARLY", @@ -2049,7 +2079,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): ] dataSplitColumn: str dataSplitEvalFraction: float - dataSplitMethod: typing_extensions.Literal[ + dataSplitMethod: typing.Literal[ "DATA_SPLIT_METHOD_UNSPECIFIED", "RANDOM", "CUSTOM", @@ -2059,21 +2089,17 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): ] decomposeTimeSeries: bool dimensionIdColumns: _list[str] - distanceType: typing_extensions.Literal[ - "DISTANCE_TYPE_UNSPECIFIED", "EUCLIDEAN", "COSINE" - ] + distanceType: typing.Literal["DISTANCE_TYPE_UNSPECIFIED", "EUCLIDEAN", "COSINE"] dropout: float earlyStop: bool enableGlobalExplain: bool endpointIdleTtl: str - feedbackType: typing_extensions.Literal[ - "FEEDBACK_TYPE_UNSPECIFIED", "IMPLICIT", "EXPLICIT" - ] + feedbackType: typing.Literal["FEEDBACK_TYPE_UNSPECIFIED", "IMPLICIT", "EXPLICIT"] fitIntercept: bool forecastLimitLowerBound: float forecastLimitUpperBound: float hiddenUnits: _list[str] - holidayRegion: typing_extensions.Literal[ + holidayRegion: typing.Literal[ "HOLIDAY_REGION_UNSPECIFIED", "GLOBAL", "NA", @@ -2145,7 +2171,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): "ZA", ] holidayRegions: _list[ - typing_extensions.Literal[ + typing.Literal[ "HOLIDAY_REGION_UNSPECIFIED", "GLOBAL", "NA", @@ -2219,7 +2245,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): ] horizon: str hparamTuningObjectives: _list[ - typing_extensions.Literal[ + typing.Literal[ "HPARAM_TUNING_OBJECTIVE_UNSPECIFIED", "MEAN_ABSOLUTE_ERROR", "MEAN_SQUARED_ERROR", @@ -2248,7 +2274,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): isTestColumn: str itemColumn: str kmeansInitializationColumn: str - kmeansInitializationMethod: typing_extensions.Literal[ + kmeansInitializationMethod: typing.Literal[ "KMEANS_INITIALIZATION_METHOD_UNSPECIFIED", "RANDOM", "CUSTOM", @@ -2259,10 +2285,10 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): l2Regularization: float labelClassWeights: dict[str, typing.Any] learnRate: float - learnRateStrategy: typing_extensions.Literal[ + learnRateStrategy: typing.Literal[ "LEARN_RATE_STRATEGY_UNSPECIFIED", "LINE_SEARCH", "CONSTANT" ] - lossType: typing_extensions.Literal[ + lossType: typing.Literal[ "LOSS_TYPE_UNSPECIFIED", "MEAN_SQUARED_LOSS", "MEAN_LOG_LOSS" ] machineType: str @@ -2278,7 +2304,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): minTimeSeriesLength: str minTreeChildWeight: str modelGardenModelName: str - modelRegistry: typing_extensions.Literal["MODEL_REGISTRY_UNSPECIFIED", "VERTEX_AI"] + modelRegistry: typing.Literal["MODEL_REGISTRY_UNSPECIFIED", "VERTEX_AI"] modelUri: str nonSeasonalOrder: ArimaOrder numClusters: str @@ -2286,14 +2312,14 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): numParallelTree: str numPrincipalComponents: str numTrials: str - optimizationStrategy: typing_extensions.Literal[ + optimizationStrategy: typing.Literal[ "OPTIMIZATION_STRATEGY_UNSPECIFIED", "BATCH_GRADIENT_DESCENT", "NORMAL_EQUATION" ] optimizer: str pcaExplainedVarianceRatio: float - pcaSolver: typing_extensions.Literal["UNSPECIFIED", "FULL", "RANDOMIZED", "AUTO"] + pcaSolver: typing.Literal["UNSPECIFIED", "FULL", "RANDOMIZED", "AUTO"] reservationAffinityKey: str - reservationAffinityType: typing_extensions.Literal[ + reservationAffinityType: typing.Literal[ "RESERVATION_AFFINITY_TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", @@ -2310,7 +2336,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): timeSeriesIdColumns: _list[str] timeSeriesLengthFraction: float timeSeriesTimestampColumn: str - treeMethod: typing_extensions.Literal[ + treeMethod: typing.Literal[ "TREE_METHOD_UNSPECIFIED", "AUTO", "EXACT", "APPROX", "HIST" ] trendSmoothingWindowSize: str @@ -2321,7 +2347,7 @@ class TrainingOptions(typing_extensions.TypedDict, total=False): xgboostVersion: str @typing.type_check_only -class TrainingRun(typing_extensions.TypedDict, total=False): +class TrainingRun(typing.TypedDict, total=False): classLevelGlobalExplanations: _list[GlobalExplanation] dataSplitResult: DataSplitResult evaluationMetrics: EvaluationMetrics @@ -2334,34 +2360,34 @@ class TrainingRun(typing_extensions.TypedDict, total=False): vertexAiModelVersion: str @typing.type_check_only -class TransactionInfo(typing_extensions.TypedDict, total=False): +class TransactionInfo(typing.TypedDict, total=False): transactionId: str @typing.type_check_only -class TransformColumn(typing_extensions.TypedDict, total=False): +class TransformColumn(typing.TypedDict, total=False): name: str transformSql: str type: StandardSqlDataType @typing.type_check_only -class UndeleteDatasetRequest(typing_extensions.TypedDict, total=False): +class UndeleteDatasetRequest(typing.TypedDict, total=False): deletionTime: str @typing.type_check_only -class UserDefinedFunctionResource(typing_extensions.TypedDict, total=False): +class UserDefinedFunctionResource(typing.TypedDict, total=False): inlineCode: str resourceUri: str @typing.type_check_only -class VectorSearchStatistics(typing_extensions.TypedDict, total=False): +class VectorSearchStatistics(typing.TypedDict, total=False): indexUnusedReasons: _list[IndexUnusedReason] - indexUsageMode: typing_extensions.Literal[ + indexUsageMode: typing.Literal[ "INDEX_USAGE_MODE_UNSPECIFIED", "UNUSED", "PARTIALLY_USED", "FULLY_USED" ] storedColumnsUsages: _list[StoredColumnsUsage] @typing.type_check_only -class ViewDefinition(typing_extensions.TypedDict, total=False): +class ViewDefinition(typing.TypedDict, total=False): foreignDefinitions: _list[ForeignViewDefinition] privacyPolicy: PrivacyPolicy query: str diff --git a/googleapiclient-stubs/_apis/bigqueryconnection/v1/resources.pyi b/googleapiclient-stubs/_apis/bigqueryconnection/v1/resources.pyi index 8177d57a3..03eb95e5e 100644 --- a/googleapiclient-stubs/_apis/bigqueryconnection/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigqueryconnection/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/bigqueryconnection/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigqueryconnection/v1/schemas.pyi index 3e5a97adb..e764a4f03 100644 --- a/googleapiclient-stubs/_apis/bigqueryconnection/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryconnection/v1/schemas.pyi @@ -1,32 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AwsAccessRole(typing_extensions.TypedDict, total=False): +class AwsAccessRole(typing.TypedDict, total=False): iamRoleId: str identity: str @typing.type_check_only -class AwsProperties(typing_extensions.TypedDict, total=False): +class AwsProperties(typing.TypedDict, total=False): accessRole: AwsAccessRole @typing.type_check_only -class AzureProperties(typing_extensions.TypedDict, total=False): +class AzureProperties(typing.TypedDict, total=False): application: str clientId: str customerTenantId: str @@ -36,17 +34,17 @@ class AzureProperties(typing_extensions.TypedDict, total=False): redirectUri: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CloudResourceProperties(typing_extensions.TypedDict, total=False): +class CloudResourceProperties(typing.TypedDict, total=False): serviceAccountId: str @typing.type_check_only -class CloudSpannerProperties(typing_extensions.TypedDict, total=False): +class CloudSpannerProperties(typing.TypedDict, total=False): database: str databaseRole: str maxParallelism: int @@ -55,20 +53,20 @@ class CloudSpannerProperties(typing_extensions.TypedDict, total=False): useServerlessAnalytics: bool @typing.type_check_only -class CloudSqlCredential(typing_extensions.TypedDict, total=False): +class CloudSqlCredential(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class CloudSqlProperties(typing_extensions.TypedDict, total=False): +class CloudSqlProperties(typing.TypedDict, total=False): credential: CloudSqlCredential database: str instanceId: str serviceAccountId: str - type: typing_extensions.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] + type: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): aws: AwsProperties azure: AzureProperties cloudResource: CloudResourceProperties @@ -86,35 +84,36 @@ class Connection(typing_extensions.TypedDict, total=False): spark: SparkProperties @typing.type_check_only -class ConnectorConfiguration(typing_extensions.TypedDict, total=False): +class ConnectorConfiguration(typing.TypedDict, total=False): asset: ConnectorConfigurationAsset authentication: ConnectorConfigurationAuthentication connectorId: str endpoint: ConnectorConfigurationEndpoint network: ConnectorConfigurationNetwork parameters: dict[str, typing.Any] + tls: ConnectorConfigurationTls @typing.type_check_only -class ConnectorConfigurationAsset(typing_extensions.TypedDict, total=False): +class ConnectorConfigurationAsset(typing.TypedDict, total=False): database: str googleCloudResource: str @typing.type_check_only -class ConnectorConfigurationAuthentication(typing_extensions.TypedDict, total=False): +class ConnectorConfigurationAuthentication(typing.TypedDict, total=False): parameters: dict[str, typing.Any] serviceAccount: str usernamePassword: ConnectorConfigurationUsernamePassword @typing.type_check_only -class ConnectorConfigurationEndpoint(typing_extensions.TypedDict, total=False): +class ConnectorConfigurationEndpoint(typing.TypedDict, total=False): hostPort: str @typing.type_check_only -class ConnectorConfigurationNetwork(typing_extensions.TypedDict, total=False): +class ConnectorConfigurationNetwork(typing.TypedDict, total=False): privateServiceConnect: ConnectorConfigurationPrivateServiceConnect @typing.type_check_only -class ConnectorConfigurationParameterValue(typing_extensions.TypedDict, total=False): +class ConnectorConfigurationParameterValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float int32Value: int @@ -122,80 +121,97 @@ class ConnectorConfigurationParameterValue(typing_extensions.TypedDict, total=Fa stringValue: str @typing.type_check_only -class ConnectorConfigurationPrivateServiceConnect( - typing_extensions.TypedDict, total=False -): +class ConnectorConfigurationPrivateServiceConnect(typing.TypedDict, total=False): networkAttachment: str @typing.type_check_only -class ConnectorConfigurationSecret(typing_extensions.TypedDict, total=False): +class ConnectorConfigurationSecret(typing.TypedDict, total=False): plaintext: str - secretType: typing_extensions.Literal["SECRET_TYPE_UNSPECIFIED", "PLAINTEXT"] + secretType: typing.Literal["SECRET_TYPE_UNSPECIFIED", "PLAINTEXT"] + +@typing.type_check_only +class ConnectorConfigurationTls(typing.TypedDict, total=False): + mode: typing.Literal[ + "MODE_UNSPECIFIED", + "DISABLE", + "ENCRYPT_VERIFY_NONE", + "ENCRYPT_VERIFY_CA", + "ENCRYPT_VERIFY_CA_AND_HOST", + ] + privatePki: ConnectorConfigurationTlsPrivatePki + webPki: ConnectorConfigurationTlsWebPki + +@typing.type_check_only +class ConnectorConfigurationTlsPrivatePki(typing.TypedDict, total=False): + trustedCertificatesPem: str + +@typing.type_check_only +class ConnectorConfigurationTlsWebPki(typing.TypedDict, total=False): ... @typing.type_check_only -class ConnectorConfigurationUsernamePassword(typing_extensions.TypedDict, total=False): +class ConnectorConfigurationUsernamePassword(typing.TypedDict, total=False): password: ConnectorConfigurationSecret username: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Connection] nextPageToken: str @typing.type_check_only -class MetastoreServiceConfig(typing_extensions.TypedDict, total=False): +class MetastoreServiceConfig(typing.TypedDict, total=False): metastoreService: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class SalesforceDataCloudProperties(typing_extensions.TypedDict, total=False): +class SalesforceDataCloudProperties(typing.TypedDict, total=False): identity: str instanceUri: str tenantId: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SparkHistoryServerConfig(typing_extensions.TypedDict, total=False): +class SparkHistoryServerConfig(typing.TypedDict, total=False): dataprocCluster: str @typing.type_check_only -class SparkProperties(typing_extensions.TypedDict, total=False): +class SparkProperties(typing.TypedDict, total=False): metastoreServiceConfig: MetastoreServiceConfig serviceAccountId: str sparkHistoryServerConfig: SparkHistoryServerConfig @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/resources.pyi index fe04cf962..3cd63363f 100644 --- a/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/schemas.pyi index b63661bb5..1d93cc550 100644 --- a/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryconnection/v1beta1/schemas.pyi @@ -1,42 +1,40 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CloudSqlCredential(typing_extensions.TypedDict, total=False): +class CloudSqlCredential(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class CloudSqlProperties(typing_extensions.TypedDict, total=False): +class CloudSqlProperties(typing.TypedDict, total=False): credential: CloudSqlCredential database: str instanceId: str serviceAccountId: str - type: typing_extensions.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] + type: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): cloudSql: CloudSqlProperties creationTime: str description: str @@ -46,48 +44,48 @@ class Connection(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ConnectionCredential(typing_extensions.TypedDict, total=False): +class ConnectionCredential(typing.TypedDict, total=False): cloudSql: CloudSqlCredential @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Connection] nextPageToken: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/resources.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/resources.pyi index 4e3fef346..f84b89035 100644 --- a/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi index 1301261b4..33a9d969c 100644 --- a/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi @@ -1,30 +1,28 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class DataMaskingPolicy(typing_extensions.TypedDict, total=False): - predefinedExpression: typing_extensions.Literal[ +class DataMaskingPolicy(typing.TypedDict, total=False): + predefinedExpression: typing.Literal[ "PREDEFINED_EXPRESSION_UNSPECIFIED", "SHA256", "ALWAYS_NULL", @@ -38,10 +36,10 @@ class DataMaskingPolicy(typing_extensions.TypedDict, total=False): routine: str @typing.type_check_only -class DataPolicy(typing_extensions.TypedDict, total=False): +class DataPolicy(typing.TypedDict, total=False): dataMaskingPolicy: DataMaskingPolicy dataPolicyId: str - dataPolicyType: typing_extensions.Literal[ + dataPolicyType: typing.Literal[ "DATA_POLICY_TYPE_UNSPECIFIED", "COLUMN_LEVEL_SECURITY_POLICY", "DATA_MASKING_POLICY", @@ -50,48 +48,48 @@ class DataPolicy(typing_extensions.TypedDict, total=False): policyTag: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListDataPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListDataPoliciesResponse(typing.TypedDict, total=False): dataPolicies: _list[DataPolicy] nextPageToken: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RenameDataPolicyRequest(typing_extensions.TypedDict, total=False): +class RenameDataPolicyRequest(typing.TypedDict, total=False): newDataPolicyId: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/resources.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/resources.pyi index bbfc3e149..3c7fa1fa5 100644 --- a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi index b7703bc2c..6d9c97219 100644 --- a/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v2/schemas.pyi @@ -1,44 +1,42 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddGranteesRequest(typing_extensions.TypedDict, total=False): +class AddGranteesRequest(typing.TypedDict, total=False): grantees: _list[str] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CreateDataPolicyRequest(typing_extensions.TypedDict, total=False): +class CreateDataPolicyRequest(typing.TypedDict, total=False): dataPolicy: DataPolicy dataPolicyId: str @typing.type_check_only -class DataGovernanceTag(typing_extensions.TypedDict, total=False): +class DataGovernanceTag(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DataMaskingPolicy(typing_extensions.TypedDict, total=False): - predefinedExpression: typing_extensions.Literal[ +class DataMaskingPolicy(typing.TypedDict, total=False): + predefinedExpression: typing.Literal[ "PREDEFINED_EXPRESSION_UNSPECIFIED", "SHA256", "ALWAYS_NULL", @@ -52,11 +50,11 @@ class DataMaskingPolicy(typing_extensions.TypedDict, total=False): routine: str @typing.type_check_only -class DataPolicy(typing_extensions.TypedDict, total=False): +class DataPolicy(typing.TypedDict, total=False): dataGovernanceTag: DataGovernanceTag dataMaskingPolicy: DataMaskingPolicy dataPolicyId: str - dataPolicyType: typing_extensions.Literal[ + dataPolicyType: typing.Literal[ "DATA_POLICY_TYPE_UNSPECIFIED", "DATA_MASKING_POLICY", "RAW_DATA_ACCESS_POLICY", @@ -66,51 +64,51 @@ class DataPolicy(typing_extensions.TypedDict, total=False): grantees: _list[str] name: str policyTag: str - version: typing_extensions.Literal["VERSION_UNSPECIFIED", "V1", "V2"] + version: typing.Literal["VERSION_UNSPECIFIED", "V1", "V2"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListDataPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListDataPoliciesResponse(typing.TypedDict, total=False): dataPolicies: _list[DataPolicy] nextPageToken: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RemoveGranteesRequest(typing_extensions.TypedDict, total=False): +class RemoveGranteesRequest(typing.TypedDict, total=False): grantees: _list[str] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi index d794f1015..bc9bdb4a7 100644 --- a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -75,14 +74,14 @@ class BigQueryDataTransferResource(googleapiclient.discovery.Resource): self, *, parent: str, - messageTypes: typing_extensions.Literal[ + messageTypes: typing.Literal[ "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", @@ -112,11 +111,9 @@ class BigQueryDataTransferResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - runAttempt: typing_extensions.Literal[ - "RUN_ATTEMPT_UNSPECIFIED", "LATEST" - ] + runAttempt: typing.Literal["RUN_ATTEMPT_UNSPECIFIED", "LATEST"] | None = ..., - states: typing_extensions.Literal[ + states: typing.Literal[ "TRANSFER_STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -125,7 +122,7 @@ class BigQueryDataTransferResource(googleapiclient.discovery.Resource): "CANCELLED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "TRANSFER_STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -263,11 +260,11 @@ class BigQueryDataTransferResource(googleapiclient.discovery.Resource): self, *, parent: str, - messageTypes: typing_extensions.Literal[ + messageTypes: typing.Literal[ "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", @@ -297,11 +294,9 @@ class BigQueryDataTransferResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - runAttempt: typing_extensions.Literal[ - "RUN_ATTEMPT_UNSPECIFIED", "LATEST" - ] + runAttempt: typing.Literal["RUN_ATTEMPT_UNSPECIFIED", "LATEST"] | None = ..., - states: typing_extensions.Literal[ + states: typing.Literal[ "TRANSFER_STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -310,7 +305,7 @@ class BigQueryDataTransferResource(googleapiclient.discovery.Resource): "CANCELLED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "TRANSFER_STATE_UNSPECIFIED", "PENDING", "RUNNING", diff --git a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi index 99bd0bd28..951e3798f 100644 --- a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CheckValidCredsRequest(typing_extensions.TypedDict, total=False): ... +class CheckValidCredsRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckValidCredsResponse(typing_extensions.TypedDict, total=False): +class CheckValidCredsResponse(typing.TypedDict, total=False): hasValidCreds: bool @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): - authorizationType: typing_extensions.Literal[ +class DataSource(typing.TypedDict, total=False): + authorizationType: typing.Literal[ "AUTHORIZATION_TYPE_UNSPECIFIED", "AUTHORIZATION_CODE", "GOOGLE_PLUS_AUTHORIZATION_CODE", "FIRST_PARTY_OAUTH", ] clientId: str - dataRefreshType: typing_extensions.Literal[ + dataRefreshType: typing.Literal[ "DATA_REFRESH_TYPE_UNSPECIFIED", "SLIDING_WINDOW", "CUSTOM_SLIDING_WINDOW" ] dataSourceId: str @@ -36,13 +34,11 @@ class DataSource(typing_extensions.TypedDict, total=False): scopes: _list[str] supportsCustomSchedule: bool supportsMultipleTransfers: bool - transferType: typing_extensions.Literal[ - "TRANSFER_TYPE_UNSPECIFIED", "BATCH", "STREAMING" - ] + transferType: typing.Literal["TRANSFER_TYPE_UNSPECIFIED", "BATCH", "STREAMING"] updateDeadlineSeconds: int @typing.type_check_only -class DataSourceParameter(typing_extensions.TypedDict, total=False): +class DataSourceParameter(typing.TypedDict, total=False): allowedValues: _list[str] deprecated: bool description: str @@ -56,7 +52,7 @@ class DataSourceParameter(typing_extensions.TypedDict, total=False): recurse: bool repeated: bool required: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "INTEGER", @@ -71,65 +67,65 @@ class DataSourceParameter(typing_extensions.TypedDict, total=False): validationRegex: str @typing.type_check_only -class DataplexConfiguration(typing_extensions.TypedDict, total=False): +class DataplexConfiguration(typing.TypedDict, total=False): entryGroup: str @typing.type_check_only -class EmailPreferences(typing_extensions.TypedDict, total=False): +class EmailPreferences(typing.TypedDict, total=False): enableFailureEmail: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfiguration(typing_extensions.TypedDict, total=False): +class EncryptionConfiguration(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EnrollDataSourcesRequest(typing_extensions.TypedDict, total=False): +class EnrollDataSourcesRequest(typing.TypedDict, total=False): dataSourceIds: _list[str] @typing.type_check_only -class EventDrivenSchedule(typing_extensions.TypedDict, total=False): +class EventDrivenSchedule(typing.TypedDict, total=False): pubsubSubscription: str @typing.type_check_only -class HierarchyDetail(typing_extensions.TypedDict, total=False): +class HierarchyDetail(typing.TypedDict, total=False): partitionDetail: PartitionDetail tableDetail: TableDetail @typing.type_check_only -class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): +class ListDataSourcesResponse(typing.TypedDict, total=False): dataSources: _list[DataSource] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListTransferConfigsResponse(typing_extensions.TypedDict, total=False): +class ListTransferConfigsResponse(typing.TypedDict, total=False): nextPageToken: str transferConfigs: _list[TransferConfig] @typing.type_check_only -class ListTransferLogsResponse(typing_extensions.TypedDict, total=False): +class ListTransferLogsResponse(typing.TypedDict, total=False): nextPageToken: str transferMessages: _list[TransferMessage] @typing.type_check_only -class ListTransferResourcesResponse(typing_extensions.TypedDict, total=False): +class ListTransferResourcesResponse(typing.TypedDict, total=False): nextPageToken: str transferResources: _list[TransferResource] @typing.type_check_only -class ListTransferRunsResponse(typing_extensions.TypedDict, total=False): +class ListTransferRunsResponse(typing.TypedDict, total=False): nextPageToken: str transferRuns: _list[TransferRun] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -137,69 +133,69 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ManualSchedule(typing_extensions.TypedDict, total=False): ... +class ManualSchedule(typing.TypedDict, total=False): ... @typing.type_check_only -class MetadataDestination(typing_extensions.TypedDict, total=False): +class MetadataDestination(typing.TypedDict, total=False): dataplexConfiguration: DataplexConfiguration @typing.type_check_only -class PartitionDetail(typing_extensions.TypedDict, total=False): +class PartitionDetail(typing.TypedDict, total=False): table: str @typing.type_check_only -class ScheduleOptions(typing_extensions.TypedDict, total=False): +class ScheduleOptions(typing.TypedDict, total=False): disableAutoScheduling: bool endTime: str startTime: str @typing.type_check_only -class ScheduleOptionsV2(typing_extensions.TypedDict, total=False): +class ScheduleOptionsV2(typing.TypedDict, total=False): eventDrivenSchedule: EventDrivenSchedule manualSchedule: ManualSchedule timeBasedSchedule: TimeBasedSchedule @typing.type_check_only -class ScheduleTransferRunsRequest(typing_extensions.TypedDict, total=False): +class ScheduleTransferRunsRequest(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ScheduleTransferRunsResponse(typing_extensions.TypedDict, total=False): +class ScheduleTransferRunsResponse(typing.TypedDict, total=False): runs: _list[TransferRun] @typing.type_check_only -class StartManualTransferRunsRequest(typing_extensions.TypedDict, total=False): +class StartManualTransferRunsRequest(typing.TypedDict, total=False): requestedRunTime: str requestedTimeRange: TimeRange @typing.type_check_only -class StartManualTransferRunsResponse(typing_extensions.TypedDict, total=False): +class StartManualTransferRunsResponse(typing.TypedDict, total=False): runs: _list[TransferRun] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TableDetail(typing_extensions.TypedDict, total=False): +class TableDetail(typing.TypedDict, total=False): partitionCount: str @typing.type_check_only -class TimeBasedSchedule(typing_extensions.TypedDict, total=False): +class TimeBasedSchedule(typing.TypedDict, total=False): endTime: str schedule: str startTime: str @typing.type_check_only -class TimeRange(typing_extensions.TypedDict, total=False): +class TimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class TransferConfig(typing_extensions.TypedDict, total=False): +class TransferConfig(typing.TypedDict, total=False): dataRefreshWindowDays: int dataSourceId: str datasetRegion: str @@ -209,7 +205,7 @@ class TransferConfig(typing_extensions.TypedDict, total=False): emailPreferences: EmailPreferences encryptionConfiguration: EncryptionConfiguration error: Status - managedTableType: typing_extensions.Literal[ + managedTableType: typing.Literal[ "MANAGED_TABLE_TYPE_UNSPECIFIED", "NATIVE", "BIGLAKE" ] metadataDestination: MetadataDestination @@ -221,7 +217,7 @@ class TransferConfig(typing_extensions.TypedDict, total=False): schedule: str scheduleOptions: ScheduleOptions scheduleOptionsV2: ScheduleOptionsV2 - state: typing_extensions.Literal[ + state: typing.Literal[ "TRANSFER_STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -233,16 +229,14 @@ class TransferConfig(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class TransferMessage(typing_extensions.TypedDict, total=False): +class TransferMessage(typing.TypedDict, total=False): messageText: str messageTime: str - severity: typing_extensions.Literal[ - "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR" - ] + severity: typing.Literal["MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR"] @typing.type_check_only -class TransferResource(typing_extensions.TypedDict, total=False): - destination: typing_extensions.Literal[ +class TransferResource(typing.TypedDict, total=False): + destination: typing.Literal[ "RESOURCE_DESTINATION_UNSPECIFIED", "RESOURCE_DESTINATION_BIGQUERY", "RESOURCE_DESTINATION_DATAPROC_METASTORE", @@ -255,16 +249,16 @@ class TransferResource(typing_extensions.TypedDict, total=False): latestRun: TransferRunBrief latestStatusDetail: TransferResourceStatusDetail name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_TABLE", "RESOURCE_TYPE_PARTITION" ] updateTime: str @typing.type_check_only -class TransferResourceStatusDetail(typing_extensions.TypedDict, total=False): +class TransferResourceStatusDetail(typing.TypedDict, total=False): completedPercentage: float error: Status - state: typing_extensions.Literal[ + state: typing.Literal[ "RESOURCE_TRANSFER_STATE_UNSPECIFIED", "RESOURCE_TRANSFER_PENDING", "RESOURCE_TRANSFER_RUNNING", @@ -275,13 +269,12 @@ class TransferResourceStatusDetail(typing_extensions.TypedDict, total=False): summary: TransferStatusSummary @typing.type_check_only -class TransferRun(typing_extensions.TypedDict, total=False): +class TransferRun(typing.TypedDict, total=False): dataSourceId: str destinationDatasetId: str emailPreferences: EmailPreferences endTime: str errorStatus: Status - metadataDestination: MetadataDestination name: str notificationPubsubTopic: str params: dict[str, typing.Any] @@ -289,7 +282,7 @@ class TransferRun(typing_extensions.TypedDict, total=False): schedule: str scheduleTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "TRANSFER_STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -301,35 +294,35 @@ class TransferRun(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class TransferRunBrief(typing_extensions.TypedDict, total=False): +class TransferRunBrief(typing.TypedDict, total=False): run: str startTime: str @typing.type_check_only -class TransferStatusMetric(typing_extensions.TypedDict, total=False): +class TransferStatusMetric(typing.TypedDict, total=False): completed: str failed: str pending: str total: str - unit: typing_extensions.Literal[ + unit: typing.Literal[ "TRANSFER_STATUS_UNIT_UNSPECIFIED", "TRANSFER_STATUS_UNIT_BYTES", "TRANSFER_STATUS_UNIT_OBJECTS", ] @typing.type_check_only -class TransferStatusSummary(typing_extensions.TypedDict, total=False): +class TransferStatusSummary(typing.TypedDict, total=False): metrics: _list[TransferStatusMetric] - progressUnit: typing_extensions.Literal[ + progressUnit: typing.Literal[ "TRANSFER_STATUS_UNIT_UNSPECIFIED", "TRANSFER_STATUS_UNIT_BYTES", "TRANSFER_STATUS_UNIT_OBJECTS", ] @typing.type_check_only -class UnenrollDataSourcesRequest(typing_extensions.TypedDict, total=False): +class UnenrollDataSourcesRequest(typing.TypedDict, total=False): dataSourceIds: _list[str] @typing.type_check_only -class UserInfo(typing_extensions.TypedDict, total=False): +class UserInfo(typing.TypedDict, total=False): email: str diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi index 4759619a2..29a1806cd 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -99,6 +98,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..02553c6b1 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Assignment(typing_extensions.TypedDict, total=False): +class Assignment(typing.TypedDict, total=False): assignee: str enableGeminiInBigquery: bool - jobType: typing_extensions.Literal[ + jobType: typing.Literal[ "JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY", @@ -18,54 +16,55 @@ class Assignment(typing_extensions.TypedDict, total=False): "BACKGROUND_CHANGE_DATA_CAPTURE", "BACKGROUND_COLUMN_METADATA_INDEX", "BACKGROUND_SEARCH_INDEX_REFRESH", + "AUTOMATIC_MATERIALIZED_VIEW_REFRESH", ] name: str principal: str schedulingPolicy: SchedulingPolicy - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Autoscale(typing_extensions.TypedDict, total=False): +class Autoscale(typing.TypedDict, total=False): currentSlots: str maxSlots: str @typing.type_check_only -class BiReservation(typing_extensions.TypedDict, total=False): +class BiReservation(typing.TypedDict, total=False): name: str preferredTables: _list[TableReference] size: str updateTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CapacityCommitment(typing_extensions.TypedDict, total=False): +class CapacityCommitment(typing.TypedDict, total=False): commitmentEndTime: str commitmentStartTime: str - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ] failureStatus: Status isFlatRate: bool multiRegionAuxiliary: bool name: str - plan: typing_extensions.Literal[ + plan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "FLEX_FLAT_RATE", @@ -77,7 +76,7 @@ class CapacityCommitment(typing_extensions.TypedDict, total=False): "THREE_YEAR", "NONE", ] - renewalPlan: typing_extensions.Literal[ + renewalPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "FLEX_FLAT_RATE", @@ -90,72 +89,72 @@ class CapacityCommitment(typing_extensions.TypedDict, total=False): "NONE", ] slotCount: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FailoverReservationRequest(typing_extensions.TypedDict, total=False): - failoverMode: typing_extensions.Literal["FAILOVER_MODE_UNSPECIFIED", "SOFT", "HARD"] +class FailoverReservationRequest(typing.TypedDict, total=False): + failoverMode: typing.Literal["FAILOVER_MODE_UNSPECIFIED", "SOFT", "HARD"] @typing.type_check_only -class ListAssignmentsResponse(typing_extensions.TypedDict, total=False): +class ListAssignmentsResponse(typing.TypedDict, total=False): assignments: _list[Assignment] nextPageToken: str @typing.type_check_only -class ListCapacityCommitmentsResponse(typing_extensions.TypedDict, total=False): +class ListCapacityCommitmentsResponse(typing.TypedDict, total=False): capacityCommitments: _list[CapacityCommitment] nextPageToken: str @typing.type_check_only -class ListReservationGroupsResponse(typing_extensions.TypedDict, total=False): +class ListReservationGroupsResponse(typing.TypedDict, total=False): nextPageToken: str reservationGroups: _list[ReservationGroup] @typing.type_check_only -class ListReservationsResponse(typing_extensions.TypedDict, total=False): +class ListReservationsResponse(typing.TypedDict, total=False): nextPageToken: str reservations: _list[Reservation] @typing.type_check_only -class MergeCapacityCommitmentsRequest(typing_extensions.TypedDict, total=False): +class MergeCapacityCommitmentsRequest(typing.TypedDict, total=False): capacityCommitmentId: str capacityCommitmentIds: _list[str] @typing.type_check_only -class MoveAssignmentRequest(typing_extensions.TypedDict, total=False): +class MoveAssignmentRequest(typing.TypedDict, total=False): assignmentId: str destinationId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ReplicationStatus(typing_extensions.TypedDict, total=False): +class ReplicationStatus(typing.TypedDict, total=False): error: Status lastErrorTime: str lastReplicationTime: str softFailoverStartTime: str @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): autoscale: Autoscale concurrency: str creationTime: str - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ] ignoreIdleSlots: bool @@ -167,7 +166,8 @@ class Reservation(typing_extensions.TypedDict, total=False): primaryLocation: str replicationStatus: ReplicationStatus reservationGroup: str - scalingMode: typing_extensions.Literal[ + reservationGroupPath: _list[str] + scalingMode: typing.Literal[ "SCALING_MODE_UNSPECIFIED", "AUTOSCALE_ONLY", "IDLE_SLOTS_ONLY", "ALL_SLOTS" ] schedulingPolicy: SchedulingPolicy @@ -176,54 +176,55 @@ class Reservation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ReservationGroup(typing_extensions.TypedDict, total=False): +class ReservationGroup(typing.TypedDict, total=False): name: str + parentGroup: str @typing.type_check_only -class SchedulingPolicy(typing_extensions.TypedDict, total=False): +class SchedulingPolicy(typing.TypedDict, total=False): concurrency: str maxSlots: str @typing.type_check_only -class SearchAllAssignmentsResponse(typing_extensions.TypedDict, total=False): +class SearchAllAssignmentsResponse(typing.TypedDict, total=False): assignments: _list[Assignment] nextPageToken: str @typing.type_check_only -class SearchAssignmentsResponse(typing_extensions.TypedDict, total=False): +class SearchAssignmentsResponse(typing.TypedDict, total=False): assignments: _list[Assignment] nextPageToken: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SplitCapacityCommitmentRequest(typing_extensions.TypedDict, total=False): +class SplitCapacityCommitmentRequest(typing.TypedDict, total=False): slotCount: str @typing.type_check_only -class SplitCapacityCommitmentResponse(typing_extensions.TypedDict, total=False): +class SplitCapacityCommitmentResponse(typing.TypedDict, total=False): first: CapacityCommitment second: CapacityCommitment @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TableReference(typing_extensions.TypedDict, total=False): +class TableReference(typing.TypedDict, total=False): datasetId: str projectId: str tableId: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/resources.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/resources.pyi index 7f9531d41..58f0f506f 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/schemas.pyi index 1db5fa2d7..a730e37fc 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1alpha2/schemas.pyi @@ -1,33 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CreateSlotPoolMetadata(typing_extensions.TypedDict, total=False): +class CreateSlotPoolMetadata(typing.TypedDict, total=False): slotPool: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListReservationGrantsResponse(typing_extensions.TypedDict, total=False): +class ListReservationGrantsResponse(typing.TypedDict, total=False): nextPageToken: str reservationGrants: _list[ReservationGrant] @typing.type_check_only -class ListReservationsResponse(typing_extensions.TypedDict, total=False): +class ListReservationsResponse(typing.TypedDict, total=False): nextPageToken: str reservations: _list[Reservation] @typing.type_check_only -class ListSlotPoolsResponse(typing_extensions.TypedDict, total=False): +class ListSlotPoolsResponse(typing.TypedDict, total=False): nextPageToken: str slotPools: _list[SlotPool] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -35,37 +33,37 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): name: str slotCapacity: str useParentReservation: bool @typing.type_check_only -class ReservationGrant(typing_extensions.TypedDict, total=False): +class ReservationGrant(typing.TypedDict, total=False): grantee: str - jobType: typing_extensions.Literal["JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY"] + jobType: typing.Literal["JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY"] name: str reservation: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] @typing.type_check_only -class SearchReservationGrantsResponse(typing_extensions.TypedDict, total=False): +class SearchReservationGrantsResponse(typing.TypedDict, total=False): nextPageToken: str reservationGrants: _list[ReservationGrant] @typing.type_check_only -class SlotPool(typing_extensions.TypedDict, total=False): +class SlotPool(typing.TypedDict, total=False): commitmentEndTime: str failureStatus: Status name: str - plan: typing_extensions.Literal[ + plan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "TRIAL", "MONTHLY", "ANNUAL" ] slotCount: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/resources.pyi index c2ee2a263..d417e16cc 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/schemas.pyi index 2d5d8bd99..06c61ec48 100644 --- a/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/schemas.pyi @@ -1,69 +1,65 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Assignment(typing_extensions.TypedDict, total=False): +class Assignment(typing.TypedDict, total=False): assignee: str - jobType: typing_extensions.Literal[ - "JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY", "ML_EXTERNAL" - ] + jobType: typing.Literal["JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY", "ML_EXTERNAL"] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE"] @typing.type_check_only -class BiReservation(typing_extensions.TypedDict, total=False): +class BiReservation(typing.TypedDict, total=False): name: str preferredTables: _list[TableReference] size: str updateTime: str @typing.type_check_only -class CapacityCommitment(typing_extensions.TypedDict, total=False): +class CapacityCommitment(typing.TypedDict, total=False): commitmentEndTime: str commitmentStartTime: str failureStatus: Status multiRegionAuxiliary: bool name: str - plan: typing_extensions.Literal[ + plan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "TRIAL", "MONTHLY", "ANNUAL" ] - renewalPlan: typing_extensions.Literal[ + renewalPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "TRIAL", "MONTHLY", "ANNUAL" ] slotCount: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListAssignmentsResponse(typing_extensions.TypedDict, total=False): +class ListAssignmentsResponse(typing.TypedDict, total=False): assignments: _list[Assignment] nextPageToken: str @typing.type_check_only -class ListCapacityCommitmentsResponse(typing_extensions.TypedDict, total=False): +class ListCapacityCommitmentsResponse(typing.TypedDict, total=False): capacityCommitments: _list[CapacityCommitment] nextPageToken: str @typing.type_check_only -class ListReservationsResponse(typing_extensions.TypedDict, total=False): +class ListReservationsResponse(typing.TypedDict, total=False): nextPageToken: str reservations: _list[Reservation] @typing.type_check_only -class MergeCapacityCommitmentsRequest(typing_extensions.TypedDict, total=False): +class MergeCapacityCommitmentsRequest(typing.TypedDict, total=False): capacityCommitmentIds: _list[str] @typing.type_check_only -class MoveAssignmentRequest(typing_extensions.TypedDict, total=False): +class MoveAssignmentRequest(typing.TypedDict, total=False): destinationId: str @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): concurrency: str creationTime: str ignoreIdleSlots: bool @@ -73,27 +69,27 @@ class Reservation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SearchAssignmentsResponse(typing_extensions.TypedDict, total=False): +class SearchAssignmentsResponse(typing.TypedDict, total=False): assignments: _list[Assignment] nextPageToken: str @typing.type_check_only -class SplitCapacityCommitmentRequest(typing_extensions.TypedDict, total=False): +class SplitCapacityCommitmentRequest(typing.TypedDict, total=False): slotCount: str @typing.type_check_only -class SplitCapacityCommitmentResponse(typing_extensions.TypedDict, total=False): +class SplitCapacityCommitmentResponse(typing.TypedDict, total=False): first: CapacityCommitment second: CapacityCommitment @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TableReference(typing_extensions.TypedDict, total=False): +class TableReference(typing.TypedDict, total=False): datasetId: str projectId: str tableId: str diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v1/resources.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v1/resources.pyi index 2ca85fa8e..18772212b 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v1/schemas.pyi index ff702ec81..c62f7987a 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v1/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AutoscalingLimits(typing_extensions.TypedDict, total=False): +class AutoscalingLimits(typing.TypedDict, total=False): maxServeNodes: int minServeNodes: int @typing.type_check_only -class AutoscalingTargets(typing_extensions.TypedDict, total=False): +class AutoscalingTargets(typing.TypedDict, total=False): cpuUtilizationPercent: int @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): encryptionInfo: EncryptionInfo endTime: str expireTime: str @@ -22,79 +20,77 @@ class Backup(typing_extensions.TypedDict, total=False): sizeBytes: str sourceTable: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] @typing.type_check_only -class BackupInfo(typing_extensions.TypedDict, total=False): +class BackupInfo(typing.TypedDict, total=False): backup: str endTime: str sourceTable: str startTime: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): clusterConfig: ClusterConfig - defaultStorageType: typing_extensions.Literal[ - "STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD" - ] + defaultStorageType: typing.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] encryptionConfig: EncryptionConfig location: str name: str serveNodes: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_NOT_KNOWN", "READY", "CREATING", "RESIZING", "DISABLED" ] @typing.type_check_only -class ClusterAutoscalingConfig(typing_extensions.TypedDict, total=False): +class ClusterAutoscalingConfig(typing.TypedDict, total=False): autoscalingLimits: AutoscalingLimits autoscalingTargets: AutoscalingTargets @typing.type_check_only -class ClusterConfig(typing_extensions.TypedDict, total=False): +class ClusterConfig(typing.TypedDict, total=False): clusterAutoscalingConfig: ClusterAutoscalingConfig @typing.type_check_only -class CreateBackupMetadata(typing_extensions.TypedDict, total=False): +class CreateBackupMetadata(typing.TypedDict, total=False): endTime: str name: str sourceTable: str startTime: str @typing.type_check_only -class CreateClusterMetadata(typing_extensions.TypedDict, total=False): +class CreateClusterMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: CreateClusterRequest requestTime: str tables: dict[str, typing.Any] @typing.type_check_only -class CreateClusterRequest(typing_extensions.TypedDict, total=False): +class CreateClusterRequest(typing.TypedDict, total=False): cluster: Cluster clusterId: str parent: str @typing.type_check_only -class CreateInstanceMetadata(typing_extensions.TypedDict, total=False): +class CreateInstanceMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: CreateInstanceRequest requestTime: str @typing.type_check_only -class CreateInstanceRequest(typing_extensions.TypedDict, total=False): +class CreateInstanceRequest(typing.TypedDict, total=False): clusters: dict[str, typing.Any] instance: Instance instanceId: str parent: str @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): encryptionStatus: Status - encryptionType: typing_extensions.Literal[ + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION", @@ -102,74 +98,74 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): kmsKeyVersion: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_NOT_KNOWN", "READY", "CREATING"] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT"] + state: typing.Literal["STATE_NOT_KNOWN", "READY", "CREATING"] + type: typing.Literal["TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT"] @typing.type_check_only -class OperationProgress(typing_extensions.TypedDict, total=False): +class OperationProgress(typing.TypedDict, total=False): endTime: str progressPercent: int startTime: str @typing.type_check_only -class OptimizeRestoredTableMetadata(typing_extensions.TypedDict, total=False): +class OptimizeRestoredTableMetadata(typing.TypedDict, total=False): name: str progress: OperationProgress @typing.type_check_only -class PartialUpdateClusterMetadata(typing_extensions.TypedDict, total=False): +class PartialUpdateClusterMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: PartialUpdateClusterRequest requestTime: str @typing.type_check_only -class PartialUpdateClusterRequest(typing_extensions.TypedDict, total=False): +class PartialUpdateClusterRequest(typing.TypedDict, total=False): cluster: Cluster updateMask: str @typing.type_check_only -class PartialUpdateInstanceRequest(typing_extensions.TypedDict, total=False): +class PartialUpdateInstanceRequest(typing.TypedDict, total=False): instance: Instance updateMask: str @typing.type_check_only -class RestoreTableMetadata(typing_extensions.TypedDict, total=False): +class RestoreTableMetadata(typing.TypedDict, total=False): backupInfo: BackupInfo name: str optimizeTableOperationName: str progress: OperationProgress - sourceType: typing_extensions.Literal["RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP"] + sourceType: typing.Literal["RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TableProgress(typing_extensions.TypedDict, total=False): +class TableProgress(typing.TypedDict, total=False): estimatedCopiedBytes: str estimatedSizeBytes: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "COPYING", "COMPLETED", "CANCELLED" ] @typing.type_check_only -class UpdateAppProfileMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateAppProfileMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateClusterMetadata(typing_extensions.TypedDict, total=False): +class UpdateClusterMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: Cluster requestTime: str @typing.type_check_only -class UpdateInstanceMetadata(typing_extensions.TypedDict, total=False): +class UpdateInstanceMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: PartialUpdateInstanceRequest requestTime: str diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi index d52ab1803..b4c3304b7 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -232,6 +231,14 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): def update( self, *, name: str, body: Cluster, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def updateMemoryLayer( + self, + *, + name: str, + body: MemoryLayer, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def backups(self) -> BackupsResource: ... def hotTablets(self) -> HotTabletsResource: ... def memoryLayers(self) -> MemoryLayersResource: ... @@ -302,6 +309,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): *, parent: str, body: MaterializedView, + ignoreWarnings: bool | None = ..., materializedViewId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -312,7 +320,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "VIEW_UNSPECIFIED", "SCHEMA_VIEW", "REPLICATION_VIEW", "FULL" ] | None = ..., @@ -331,7 +339,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VIEW_UNSPECIFIED", "SCHEMA_VIEW", "REPLICATION_VIEW", "FULL" ] | None = ..., @@ -384,7 +392,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "RESPONSE_VIEW_UNSPECIFIED", "NAME_ONLY", "BASIC", "FULL" ] | None = ..., @@ -403,7 +411,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "RESPONSE_VIEW_UNSPECIFIED", "NAME_ONLY", "BASIC", "FULL" ] | None = ..., @@ -467,7 +475,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "SCHEMA_BUNDLE_VIEW_UNSPECIFIED", "NAME_ONLY", "BASIC", @@ -532,7 +540,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "VIEW_UNSPECIFIED", "NAME_ONLY", "SCHEMA_VIEW", @@ -557,7 +565,7 @@ class BigtableAdminResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VIEW_UNSPECIFIED", "NAME_ONLY", "SCHEMA_VIEW", diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi index 241c9224f..a4a3ee1b6 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi @@ -1,60 +1,58 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppProfile(typing_extensions.TypedDict, total=False): +class AppProfile(typing.TypedDict, total=False): dataBoostIsolationReadOnly: DataBoostIsolationReadOnly description: str etag: str multiClusterRoutingUseAny: MultiClusterRoutingUseAny name: str - priority: typing_extensions.Literal[ + priority: typing.Literal[ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ] singleClusterRouting: SingleClusterRouting standardIsolation: StandardIsolation @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizedView(typing_extensions.TypedDict, total=False): +class AuthorizedView(typing.TypedDict, total=False): deletionProtection: bool etag: str name: str subsetView: GoogleBigtableAdminV2AuthorizedViewSubsetView @typing.type_check_only -class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): +class AutomatedBackupPolicy(typing.TypedDict, total=False): frequency: str locations: _list[str] retentionPeriod: str @typing.type_check_only -class AutoscalingLimits(typing_extensions.TypedDict, total=False): +class AutoscalingLimits(typing.TypedDict, total=False): maxServeNodes: int minServeNodes: int @typing.type_check_only -class AutoscalingTargets(typing_extensions.TypedDict, total=False): +class AutoscalingTargets(typing.TypedDict, total=False): cpuUtilizationPercent: int storageUtilizationGibPerNode: int @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): - backupType: typing_extensions.Literal["BACKUP_TYPE_UNSPECIFIED", "STANDARD", "HOT"] +class Backup(typing.TypedDict, total=False): + backupType: typing.Literal["BACKUP_TYPE_UNSPECIFIED", "STANDARD", "HOT"] encryptionInfo: EncryptionInfo endTime: str expireTime: str @@ -64,10 +62,10 @@ class Backup(typing_extensions.TypedDict, total=False): sourceBackup: str sourceTable: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] @typing.type_check_only -class BackupInfo(typing_extensions.TypedDict, total=False): +class BackupInfo(typing.TypedDict, total=False): backup: str endTime: str sourceBackup: str @@ -75,57 +73,55 @@ class BackupInfo(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ChangeStreamConfig(typing_extensions.TypedDict, total=False): +class ChangeStreamConfig(typing.TypedDict, total=False): retentionPeriod: str @typing.type_check_only -class CheckConsistencyRequest(typing_extensions.TypedDict, total=False): +class CheckConsistencyRequest(typing.TypedDict, total=False): consistencyToken: str dataBoostReadLocalWrites: DataBoostReadLocalWrites standardReadRemoteWrites: StandardReadRemoteWrites @typing.type_check_only -class CheckConsistencyResponse(typing_extensions.TypedDict, total=False): +class CheckConsistencyResponse(typing.TypedDict, total=False): consistent: bool @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): clusterConfig: ClusterConfig - defaultStorageType: typing_extensions.Literal[ - "STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD" - ] + defaultStorageType: typing.Literal["STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD"] encryptionConfig: EncryptionConfig location: str name: str - nodeScalingFactor: typing_extensions.Literal[ + nodeScalingFactor: typing.Literal[ "NODE_SCALING_FACTOR_UNSPECIFIED", "NODE_SCALING_FACTOR_1X", "NODE_SCALING_FACTOR_2X", ] serveNodes: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_NOT_KNOWN", "READY", "CREATING", "RESIZING", "DISABLED" ] @typing.type_check_only -class ClusterAutoscalingConfig(typing_extensions.TypedDict, total=False): +class ClusterAutoscalingConfig(typing.TypedDict, total=False): autoscalingLimits: AutoscalingLimits autoscalingTargets: AutoscalingTargets @typing.type_check_only -class ClusterConfig(typing_extensions.TypedDict, total=False): +class ClusterConfig(typing.TypedDict, total=False): clusterAutoscalingConfig: ClusterAutoscalingConfig @typing.type_check_only -class ClusterState(typing_extensions.TypedDict, total=False): +class ClusterState(typing.TypedDict, total=False): encryptionInfo: _list[EncryptionInfo] - replicationState: typing_extensions.Literal[ + replicationState: typing.Literal[ "STATE_NOT_KNOWN", "INITIALIZING", "PLANNED_MAINTENANCE", @@ -135,43 +131,45 @@ class ClusterState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ColumnFamily(typing_extensions.TypedDict, total=False): +class ColumnFamily(typing.TypedDict, total=False): gcRule: GcRule stats: ColumnFamilyStats valueType: Type @typing.type_check_only -class ColumnFamilyStats(typing_extensions.TypedDict, total=False): +class ColumnFamilyStats(typing.TypedDict, total=False): averageCellsPerColumn: float averageColumnsPerRow: float logicalDataBytes: str + logicalDataHddBytes: str + logicalDataSsdBytes: str @typing.type_check_only -class CopyBackupMetadata(typing_extensions.TypedDict, total=False): +class CopyBackupMetadata(typing.TypedDict, total=False): name: str progress: OperationProgress sourceBackupInfo: BackupInfo @typing.type_check_only -class CopyBackupRequest(typing_extensions.TypedDict, total=False): +class CopyBackupRequest(typing.TypedDict, total=False): backupId: str expireTime: str sourceBackup: str @typing.type_check_only -class CreateAuthorizedViewMetadata(typing_extensions.TypedDict, total=False): +class CreateAuthorizedViewMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: CreateAuthorizedViewRequest requestTime: str @typing.type_check_only -class CreateAuthorizedViewRequest(typing_extensions.TypedDict, total=False): +class CreateAuthorizedViewRequest(typing.TypedDict, total=False): authorizedView: AuthorizedView authorizedViewId: str parent: str @typing.type_check_only -class CreateBackupMetadata(typing_extensions.TypedDict, total=False): +class CreateBackupMetadata(typing.TypedDict, total=False): endTime: str finishTime: str name: str @@ -180,33 +178,33 @@ class CreateBackupMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class CreateClusterMetadata(typing_extensions.TypedDict, total=False): +class CreateClusterMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: CreateClusterRequest requestTime: str tables: dict[str, typing.Any] @typing.type_check_only -class CreateClusterRequest(typing_extensions.TypedDict, total=False): +class CreateClusterRequest(typing.TypedDict, total=False): cluster: Cluster clusterId: str parent: str @typing.type_check_only -class CreateInstanceMetadata(typing_extensions.TypedDict, total=False): +class CreateInstanceMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: CreateInstanceRequest requestTime: str @typing.type_check_only -class CreateInstanceRequest(typing_extensions.TypedDict, total=False): +class CreateInstanceRequest(typing.TypedDict, total=False): clusters: dict[str, typing.Any] instance: Instance instanceId: str parent: str @typing.type_check_only -class CreateLogicalViewMetadata(typing_extensions.TypedDict, total=False): +class CreateLogicalViewMetadata(typing.TypedDict, total=False): endTime: str finishTime: str originalRequest: CreateLogicalViewRequest @@ -214,13 +212,13 @@ class CreateLogicalViewMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class CreateLogicalViewRequest(typing_extensions.TypedDict, total=False): +class CreateLogicalViewRequest(typing.TypedDict, total=False): logicalView: LogicalView logicalViewId: str parent: str @typing.type_check_only -class CreateMaterializedViewMetadata(typing_extensions.TypedDict, total=False): +class CreateMaterializedViewMetadata(typing.TypedDict, total=False): endTime: str finishTime: str originalRequest: CreateMaterializedViewRequest @@ -228,48 +226,49 @@ class CreateMaterializedViewMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class CreateMaterializedViewRequest(typing_extensions.TypedDict, total=False): +class CreateMaterializedViewRequest(typing.TypedDict, total=False): + ignoreWarnings: bool materializedView: MaterializedView materializedViewId: str parent: str @typing.type_check_only -class CreateSchemaBundleMetadata(typing_extensions.TypedDict, total=False): +class CreateSchemaBundleMetadata(typing.TypedDict, total=False): finishTime: str name: str requestTime: str @typing.type_check_only -class CreateTableRequest(typing_extensions.TypedDict, total=False): +class CreateTableRequest(typing.TypedDict, total=False): initialSplits: _list[Split] table: Table tableId: str @typing.type_check_only -class DataBoostIsolationReadOnly(typing_extensions.TypedDict, total=False): - computeBillingOwner: typing_extensions.Literal[ +class DataBoostIsolationReadOnly(typing.TypedDict, total=False): + computeBillingOwner: typing.Literal[ "COMPUTE_BILLING_OWNER_UNSPECIFIED", "HOST_PAYS" ] @typing.type_check_only -class DataBoostReadLocalWrites(typing_extensions.TypedDict, total=False): ... +class DataBoostReadLocalWrites(typing.TypedDict, total=False): ... @typing.type_check_only -class DropRowRangeRequest(typing_extensions.TypedDict, total=False): +class DropRowRangeRequest(typing.TypedDict, total=False): deleteAllDataFromTable: bool rowKeyPrefix: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): encryptionStatus: Status - encryptionType: typing_extensions.Literal[ + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION", @@ -277,64 +276,54 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): kmsKeyVersion: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GcRule(typing_extensions.TypedDict, total=False): +class GcRule(typing.TypedDict, total=False): intersection: Intersection maxAge: str maxNumVersions: int union: Union @typing.type_check_only -class GenerateConsistencyTokenRequest(typing_extensions.TypedDict, total=False): ... +class GenerateConsistencyTokenRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GenerateConsistencyTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateConsistencyTokenResponse(typing.TypedDict, total=False): consistencyToken: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleBigtableAdminV2AuthorizedViewFamilySubsets( - typing_extensions.TypedDict, total=False -): +class GoogleBigtableAdminV2AuthorizedViewFamilySubsets(typing.TypedDict, total=False): qualifierPrefixes: _list[str] qualifiers: _list[str] @typing.type_check_only -class GoogleBigtableAdminV2AuthorizedViewSubsetView( - typing_extensions.TypedDict, total=False -): +class GoogleBigtableAdminV2AuthorizedViewSubsetView(typing.TypedDict, total=False): familySubsets: dict[str, typing.Any] rowPrefixes: _list[str] @typing.type_check_only -class GoogleBigtableAdminV2MaterializedViewClusterState( - typing_extensions.TypedDict, total=False -): - replicationState: typing_extensions.Literal[ - "STATE_NOT_KNOWN", "INITIALIZING", "READY" - ] +class GoogleBigtableAdminV2MaterializedViewClusterState(typing.TypedDict, total=False): + replicationState: typing.Literal["STATE_NOT_KNOWN", "INITIALIZING", "READY"] @typing.type_check_only -class GoogleBigtableAdminV2MemoryLayerMemoryConfig( - typing_extensions.TypedDict, total=False -): +class GoogleBigtableAdminV2MemoryLayerMemoryConfig(typing.TypedDict, total=False): storageSizeGib: int @typing.type_check_only -class GoogleBigtableAdminV2TypeAggregate(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeAggregate(typing.TypedDict, total=False): hllppUniqueCount: GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount inputType: Type max: GoogleBigtableAdminV2TypeAggregateMax @@ -344,181 +333,165 @@ class GoogleBigtableAdminV2TypeAggregate(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeAggregateMax( - typing_extensions.TypedDict, total=False -): ... +class GoogleBigtableAdminV2TypeAggregateMax(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeAggregateMin( - typing_extensions.TypedDict, total=False -): ... +class GoogleBigtableAdminV2TypeAggregateMin(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeAggregateSum( - typing_extensions.TypedDict, total=False -): ... +class GoogleBigtableAdminV2TypeAggregateSum(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeArray(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeArray(typing.TypedDict, total=False): elementType: Type @typing.type_check_only -class GoogleBigtableAdminV2TypeBool(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeBool(typing.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeBoolEncoding @typing.type_check_only -class GoogleBigtableAdminV2TypeBoolEncoding( - typing_extensions.TypedDict, total=False -): ... +class GoogleBigtableAdminV2TypeBoolEncoding(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeBytes(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeBytes(typing.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeBytesEncoding @typing.type_check_only -class GoogleBigtableAdminV2TypeBytesEncoding(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeBytesEncoding(typing.TypedDict, total=False): raw: GoogleBigtableAdminV2TypeBytesEncodingRaw @typing.type_check_only -class GoogleBigtableAdminV2TypeBytesEncodingRaw( - typing_extensions.TypedDict, total=False -): +class GoogleBigtableAdminV2TypeBytesEncodingRaw(typing.TypedDict, total=False): escapeNulls: bool @typing.type_check_only -class GoogleBigtableAdminV2TypeDate(typing_extensions.TypedDict, total=False): ... +class GoogleBigtableAdminV2TypeDate(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeEnum(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeEnum(typing.TypedDict, total=False): enumName: str schemaBundleId: str @typing.type_check_only -class GoogleBigtableAdminV2TypeFloat32(typing_extensions.TypedDict, total=False): ... +class GoogleBigtableAdminV2TypeFloat32(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeFloat64(typing_extensions.TypedDict, total=False): ... +class GoogleBigtableAdminV2TypeFloat64(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeGeography(typing_extensions.TypedDict, total=False): ... +class GoogleBigtableAdminV2TypeGeography(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeInt32(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeInt32(typing.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeInt32Encoding @typing.type_check_only -class GoogleBigtableAdminV2TypeInt32Encoding(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeInt32Encoding(typing.TypedDict, total=False): bigEndianBytes: GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes orderedCodeBytes: GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes @typing.type_check_only class GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeInt64(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeInt64(typing.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeInt64Encoding @typing.type_check_only -class GoogleBigtableAdminV2TypeInt64Encoding(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeInt64Encoding(typing.TypedDict, total=False): bigEndianBytes: GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes orderedCodeBytes: GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes @typing.type_check_only class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bytesType: GoogleBigtableAdminV2TypeBytes @typing.type_check_only class GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeMap(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeMap(typing.TypedDict, total=False): keyType: Type valueType: Type @typing.type_check_only -class GoogleBigtableAdminV2TypeProto(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeProto(typing.TypedDict, total=False): messageName: str schemaBundleId: str @typing.type_check_only -class GoogleBigtableAdminV2TypeString(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeString(typing.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeStringEncoding @typing.type_check_only -class GoogleBigtableAdminV2TypeStringEncoding(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeStringEncoding(typing.TypedDict, total=False): utf8Bytes: GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes utf8Raw: GoogleBigtableAdminV2TypeStringEncodingUtf8Raw @typing.type_check_only -class GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes( - typing_extensions.TypedDict, total=False -): +class GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes(typing.TypedDict, total=False): nullEscapeChar: str @typing.type_check_only -class GoogleBigtableAdminV2TypeStringEncodingUtf8Raw( - typing_extensions.TypedDict, total=False -): ... +class GoogleBigtableAdminV2TypeStringEncodingUtf8Raw(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeStruct(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeStruct(typing.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeStructEncoding fields: _list[GoogleBigtableAdminV2TypeStructField] @typing.type_check_only -class GoogleBigtableAdminV2TypeStructEncoding(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeStructEncoding(typing.TypedDict, total=False): delimitedBytes: GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes orderedCodeBytes: GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes singleton: GoogleBigtableAdminV2TypeStructEncodingSingleton @typing.type_check_only class GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): delimiter: str @typing.type_check_only class GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleBigtableAdminV2TypeStructEncodingSingleton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleBigtableAdminV2TypeStructField(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeStructField(typing.TypedDict, total=False): fieldName: str type: Type @typing.type_check_only -class GoogleBigtableAdminV2TypeTimestamp(typing_extensions.TypedDict, total=False): +class GoogleBigtableAdminV2TypeTimestamp(typing.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeTimestampEncoding @typing.type_check_only -class GoogleBigtableAdminV2TypeTimestampEncoding( - typing_extensions.TypedDict, total=False -): +class GoogleBigtableAdminV2TypeTimestampEncoding(typing.TypedDict, total=False): unixMicrosInt64: GoogleBigtableAdminV2TypeInt64Encoding @typing.type_check_only -class HotTablet(typing_extensions.TypedDict, total=False): +class HotTablet(typing.TypedDict, total=False): endKey: str endTime: str name: str @@ -528,97 +501,95 @@ class HotTablet(typing_extensions.TypedDict, total=False): tableName: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): createTime: str displayName: str - edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS" - ] + edition: typing.Literal["EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS"] knowledgeCatalogRegion: str labels: dict[str, typing.Any] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal["STATE_NOT_KNOWN", "READY", "CREATING"] + state: typing.Literal["STATE_NOT_KNOWN", "READY", "CREATING"] tags: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT"] + type: typing.Literal["TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT"] @typing.type_check_only -class Intersection(typing_extensions.TypedDict, total=False): +class Intersection(typing.TypedDict, total=False): rules: _list[GcRule] @typing.type_check_only -class ListAppProfilesResponse(typing_extensions.TypedDict, total=False): +class ListAppProfilesResponse(typing.TypedDict, total=False): appProfiles: _list[AppProfile] failedLocations: _list[str] nextPageToken: str @typing.type_check_only -class ListAuthorizedViewsResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedViewsResponse(typing.TypedDict, total=False): authorizedViews: _list[AuthorizedView] nextPageToken: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] failedLocations: _list[str] nextPageToken: str @typing.type_check_only -class ListHotTabletsResponse(typing_extensions.TypedDict, total=False): +class ListHotTabletsResponse(typing.TypedDict, total=False): hotTablets: _list[HotTablet] nextPageToken: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): failedLocations: _list[str] instances: _list[Instance] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListLogicalViewsResponse(typing_extensions.TypedDict, total=False): +class ListLogicalViewsResponse(typing.TypedDict, total=False): logicalViews: _list[LogicalView] nextPageToken: str @typing.type_check_only -class ListMaterializedViewsResponse(typing_extensions.TypedDict, total=False): +class ListMaterializedViewsResponse(typing.TypedDict, total=False): materializedViews: _list[MaterializedView] nextPageToken: str @typing.type_check_only -class ListMemoryLayersResponse(typing_extensions.TypedDict, total=False): +class ListMemoryLayersResponse(typing.TypedDict, total=False): failedLocations: _list[str] memoryLayers: _list[MemoryLayer] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSchemaBundlesResponse(typing_extensions.TypedDict, total=False): +class ListSchemaBundlesResponse(typing.TypedDict, total=False): nextPageToken: str schemaBundles: _list[SchemaBundle] @typing.type_check_only -class ListTablesResponse(typing_extensions.TypedDict, total=False): +class ListTablesResponse(typing.TypedDict, total=False): nextPageToken: str tables: _list[Table] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -626,14 +597,14 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LogicalView(typing_extensions.TypedDict, total=False): +class LogicalView(typing.TypedDict, total=False): deletionProtection: bool etag: str name: str query: str @typing.type_check_only -class MaterializedView(typing_extensions.TypedDict, total=False): +class MaterializedView(typing.TypedDict, total=False): clusterStates: dict[str, typing.Any] deletionProtection: bool etag: str @@ -641,19 +612,19 @@ class MaterializedView(typing_extensions.TypedDict, total=False): query: str @typing.type_check_only -class MemoryConfig(typing_extensions.TypedDict, total=False): ... +class MemoryConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class MemoryLayer(typing_extensions.TypedDict, total=False): +class MemoryLayer(typing.TypedDict, total=False): etag: str memoryConfig: GoogleBigtableAdminV2MemoryLayerMemoryConfig name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_NOT_KNOWN", "READY", "ENABLING", "RESIZING", "DISABLED" ] @typing.type_check_only -class Modification(typing_extensions.TypedDict, total=False): +class Modification(typing.TypedDict, total=False): create: ColumnFamily drop: bool id: str @@ -661,17 +632,17 @@ class Modification(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class ModifyColumnFamiliesRequest(typing_extensions.TypedDict, total=False): +class ModifyColumnFamiliesRequest(typing.TypedDict, total=False): ignoreWarnings: bool modifications: _list[Modification] @typing.type_check_only -class MultiClusterRoutingUseAny(typing_extensions.TypedDict, total=False): +class MultiClusterRoutingUseAny(typing.TypedDict, total=False): clusterIds: _list[str] rowAffinity: RowAffinity @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -679,110 +650,108 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationProgress(typing_extensions.TypedDict, total=False): +class OperationProgress(typing.TypedDict, total=False): endTime: str progressPercent: int startTime: str @typing.type_check_only -class OptimizeRestoredTableMetadata(typing_extensions.TypedDict, total=False): +class OptimizeRestoredTableMetadata(typing.TypedDict, total=False): name: str progress: OperationProgress @typing.type_check_only -class PartialUpdateClusterMetadata(typing_extensions.TypedDict, total=False): +class PartialUpdateClusterMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: PartialUpdateClusterRequest requestTime: str @typing.type_check_only -class PartialUpdateClusterRequest(typing_extensions.TypedDict, total=False): +class PartialUpdateClusterRequest(typing.TypedDict, total=False): cluster: Cluster updateMask: str @typing.type_check_only -class PartialUpdateInstanceRequest(typing_extensions.TypedDict, total=False): +class PartialUpdateInstanceRequest(typing.TypedDict, total=False): instance: Instance updateMask: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProtoSchema(typing_extensions.TypedDict, total=False): +class ProtoSchema(typing.TypedDict, total=False): protoDescriptors: str @typing.type_check_only -class RestoreInfo(typing_extensions.TypedDict, total=False): +class RestoreInfo(typing.TypedDict, total=False): backupInfo: BackupInfo - sourceType: typing_extensions.Literal["RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP"] + sourceType: typing.Literal["RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP"] @typing.type_check_only -class RestoreTableMetadata(typing_extensions.TypedDict, total=False): +class RestoreTableMetadata(typing.TypedDict, total=False): backupInfo: BackupInfo name: str optimizeTableOperationName: str progress: OperationProgress - sourceType: typing_extensions.Literal["RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP"] + sourceType: typing.Literal["RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP"] @typing.type_check_only -class RestoreTableRequest(typing_extensions.TypedDict, total=False): +class RestoreTableRequest(typing.TypedDict, total=False): backup: str tableId: str @typing.type_check_only -class RowAffinity(typing_extensions.TypedDict, total=False): ... +class RowAffinity(typing.TypedDict, total=False): ... @typing.type_check_only -class SchemaBundle(typing_extensions.TypedDict, total=False): +class SchemaBundle(typing.TypedDict, total=False): etag: str name: str protoSchema: ProtoSchema @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SingleClusterRouting(typing_extensions.TypedDict, total=False): +class SingleClusterRouting(typing.TypedDict, total=False): allowTransactionalWrites: bool clusterId: str @typing.type_check_only -class Split(typing_extensions.TypedDict, total=False): +class Split(typing.TypedDict, total=False): key: str @typing.type_check_only -class StandardIsolation(typing_extensions.TypedDict, total=False): +class StandardIsolation(typing.TypedDict, total=False): memoryConfig: MemoryConfig - priority: typing_extensions.Literal[ + priority: typing.Literal[ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ] @typing.type_check_only -class StandardReadRemoteWrites(typing_extensions.TypedDict, total=False): ... +class StandardReadRemoteWrites(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): automatedBackupPolicy: AutomatedBackupPolicy changeStreamConfig: ChangeStreamConfig clusterStates: dict[str, typing.Any] columnFamilies: dict[str, typing.Any] deletionProtection: bool - granularity: typing_extensions.Literal[ - "TIMESTAMP_GRANULARITY_UNSPECIFIED", "MILLIS" - ] + granularity: typing.Literal["TIMESTAMP_GRANULARITY_UNSPECIFIED", "MILLIS"] name: str restoreInfo: RestoreInfo rowKeySchema: GoogleBigtableAdminV2TypeStruct @@ -790,38 +759,38 @@ class Table(typing_extensions.TypedDict, total=False): tieredStorageConfig: TieredStorageConfig @typing.type_check_only -class TableProgress(typing_extensions.TypedDict, total=False): +class TableProgress(typing.TypedDict, total=False): estimatedCopiedBytes: str estimatedSizeBytes: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "COPYING", "COMPLETED", "CANCELLED" ] @typing.type_check_only -class TableStats(typing_extensions.TypedDict, total=False): +class TableStats(typing.TypedDict, total=False): averageCellsPerColumn: float averageColumnsPerRow: float logicalDataBytes: str rowCount: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TieredStorageConfig(typing_extensions.TypedDict, total=False): +class TieredStorageConfig(typing.TypedDict, total=False): infrequentAccess: TieredStorageRule @typing.type_check_only -class TieredStorageRule(typing_extensions.TypedDict, total=False): +class TieredStorageRule(typing.TypedDict, total=False): includeIfOlderThan: str @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): aggregateType: GoogleBigtableAdminV2TypeAggregate arrayType: GoogleBigtableAdminV2TypeArray boolType: GoogleBigtableAdminV2TypeBool @@ -840,7 +809,7 @@ class Type(typing_extensions.TypedDict, total=False): timestampType: GoogleBigtableAdminV2TypeTimestamp @typing.type_check_only -class UndeleteTableMetadata(typing_extensions.TypedDict, total=False): +class UndeleteTableMetadata(typing.TypedDict, total=False): endTime: str finishTime: str name: str @@ -848,41 +817,41 @@ class UndeleteTableMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class UndeleteTableRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteTableRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Union(typing_extensions.TypedDict, total=False): +class Union(typing.TypedDict, total=False): rules: _list[GcRule] @typing.type_check_only -class UpdateAppProfileMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateAppProfileMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateAuthorizedViewMetadata(typing_extensions.TypedDict, total=False): +class UpdateAuthorizedViewMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: UpdateAuthorizedViewRequest requestTime: str @typing.type_check_only -class UpdateAuthorizedViewRequest(typing_extensions.TypedDict, total=False): +class UpdateAuthorizedViewRequest(typing.TypedDict, total=False): authorizedView: AuthorizedView ignoreWarnings: bool updateMask: str @typing.type_check_only -class UpdateClusterMetadata(typing_extensions.TypedDict, total=False): +class UpdateClusterMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: Cluster requestTime: str @typing.type_check_only -class UpdateInstanceMetadata(typing_extensions.TypedDict, total=False): +class UpdateInstanceMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: PartialUpdateInstanceRequest requestTime: str @typing.type_check_only -class UpdateLogicalViewMetadata(typing_extensions.TypedDict, total=False): +class UpdateLogicalViewMetadata(typing.TypedDict, total=False): endTime: str finishTime: str originalRequest: UpdateLogicalViewRequest @@ -890,29 +859,29 @@ class UpdateLogicalViewMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class UpdateLogicalViewRequest(typing_extensions.TypedDict, total=False): +class UpdateLogicalViewRequest(typing.TypedDict, total=False): logicalView: LogicalView updateMask: str @typing.type_check_only -class UpdateMemoryLayerMetadata(typing_extensions.TypedDict, total=False): +class UpdateMemoryLayerMetadata(typing.TypedDict, total=False): finishTime: str originalRequest: UpdateMemoryLayerRequest requestTime: str @typing.type_check_only -class UpdateMemoryLayerRequest(typing_extensions.TypedDict, total=False): +class UpdateMemoryLayerRequest(typing.TypedDict, total=False): memoryLayer: MemoryLayer updateMask: str @typing.type_check_only -class UpdateSchemaBundleMetadata(typing_extensions.TypedDict, total=False): +class UpdateSchemaBundleMetadata(typing.TypedDict, total=False): finishTime: str name: str requestTime: str @typing.type_check_only -class UpdateTableMetadata(typing_extensions.TypedDict, total=False): +class UpdateTableMetadata(typing.TypedDict, total=False): endTime: str finishTime: str name: str diff --git a/googleapiclient-stubs/_apis/billingbudgets/v1/resources.pyi b/googleapiclient-stubs/_apis/billingbudgets/v1/resources.pyi index 709ba8a9a..25515336b 100644 --- a/googleapiclient-stubs/_apis/billingbudgets/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/billingbudgets/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/billingbudgets/v1/schemas.pyi b/googleapiclient-stubs/_apis/billingbudgets/v1/schemas.pyi index fb226cc29..213557b35 100644 --- a/googleapiclient-stubs/_apis/billingbudgets/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/billingbudgets/v1/schemas.pyi @@ -1,39 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudBillingBudgetsV1Budget(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingBudgetsV1Budget(typing.TypedDict, total=False): amount: GoogleCloudBillingBudgetsV1BudgetAmount budgetFilter: GoogleCloudBillingBudgetsV1Filter displayName: str etag: str name: str notificationsRule: GoogleCloudBillingBudgetsV1NotificationsRule - ownershipScope: typing_extensions.Literal[ + ownershipScope: typing.Literal[ "OWNERSHIP_SCOPE_UNSPECIFIED", "ALL_USERS", "BILLING_ACCOUNT" ] thresholdRules: _list[GoogleCloudBillingBudgetsV1ThresholdRule] @typing.type_check_only -class GoogleCloudBillingBudgetsV1BudgetAmount(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingBudgetsV1BudgetAmount(typing.TypedDict, total=False): lastPeriodAmount: GoogleCloudBillingBudgetsV1LastPeriodAmount specifiedAmount: GoogleTypeMoney @typing.type_check_only -class GoogleCloudBillingBudgetsV1CustomPeriod(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingBudgetsV1CustomPeriod(typing.TypedDict, total=False): endDate: GoogleTypeDate startDate: GoogleTypeDate @typing.type_check_only -class GoogleCloudBillingBudgetsV1Filter(typing_extensions.TypedDict, total=False): - calendarPeriod: typing_extensions.Literal[ +class GoogleCloudBillingBudgetsV1Filter(typing.TypedDict, total=False): + calendarPeriod: typing.Literal[ "CALENDAR_PERIOD_UNSPECIFIED", "MONTH", "QUARTER", "YEAR" ] creditTypes: _list[str] - creditTypesTreatment: typing_extensions.Literal[ + creditTypesTreatment: typing.Literal[ "CREDIT_TYPES_TREATMENT_UNSPECIFIED", "INCLUDE_ALL_CREDITS", "EXCLUDE_ALL_CREDITS", @@ -47,21 +45,15 @@ class GoogleCloudBillingBudgetsV1Filter(typing_extensions.TypedDict, total=False subaccounts: _list[str] @typing.type_check_only -class GoogleCloudBillingBudgetsV1LastPeriodAmount( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudBillingBudgetsV1LastPeriodAmount(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudBillingBudgetsV1ListBudgetsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingBudgetsV1ListBudgetsResponse(typing.TypedDict, total=False): budgets: _list[GoogleCloudBillingBudgetsV1Budget] nextPageToken: str @typing.type_check_only -class GoogleCloudBillingBudgetsV1NotificationsRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingBudgetsV1NotificationsRule(typing.TypedDict, total=False): disableDefaultIamRecipients: bool enableProjectLevelRecipients: bool monitoringNotificationChannels: _list[str] @@ -69,25 +61,21 @@ class GoogleCloudBillingBudgetsV1NotificationsRule( schemaVersion: str @typing.type_check_only -class GoogleCloudBillingBudgetsV1ThresholdRule( - typing_extensions.TypedDict, total=False -): - spendBasis: typing_extensions.Literal[ - "BASIS_UNSPECIFIED", "CURRENT_SPEND", "FORECASTED_SPEND" - ] +class GoogleCloudBillingBudgetsV1ThresholdRule(typing.TypedDict, total=False): + spendBasis: typing.Literal["BASIS_UNSPECIFIED", "CURRENT_SPEND", "FORECASTED_SPEND"] thresholdPercent: float @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str diff --git a/googleapiclient-stubs/_apis/billingbudgets/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/billingbudgets/v1beta1/resources.pyi index fd789717c..13b9e5c56 100644 --- a/googleapiclient-stubs/_apis/billingbudgets/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/billingbudgets/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/billingbudgets/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/billingbudgets/v1beta1/schemas.pyi index 705d24c95..819db582f 100644 --- a/googleapiclient-stubs/_apis/billingbudgets/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/billingbudgets/v1beta1/schemas.pyi @@ -1,13 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudBillingBudgetsV1beta1AllUpdatesRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingBudgetsV1beta1AllUpdatesRule(typing.TypedDict, total=False): disableDefaultIamRecipients: bool enableProjectLevelRecipients: bool monitoringNotificationChannels: _list[str] @@ -15,45 +11,41 @@ class GoogleCloudBillingBudgetsV1beta1AllUpdatesRule( schemaVersion: str @typing.type_check_only -class GoogleCloudBillingBudgetsV1beta1Budget(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingBudgetsV1beta1Budget(typing.TypedDict, total=False): allUpdatesRule: GoogleCloudBillingBudgetsV1beta1AllUpdatesRule amount: GoogleCloudBillingBudgetsV1beta1BudgetAmount budgetFilter: GoogleCloudBillingBudgetsV1beta1Filter displayName: str etag: str name: str - ownershipScope: typing_extensions.Literal[ + ownershipScope: typing.Literal[ "OWNERSHIP_SCOPE_UNSPECIFIED", "ALL_USERS", "BILLING_ACCOUNT" ] thresholdRules: _list[GoogleCloudBillingBudgetsV1beta1ThresholdRule] @typing.type_check_only -class GoogleCloudBillingBudgetsV1beta1BudgetAmount( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingBudgetsV1beta1BudgetAmount(typing.TypedDict, total=False): lastPeriodAmount: GoogleCloudBillingBudgetsV1beta1LastPeriodAmount specifiedAmount: GoogleTypeMoney @typing.type_check_only class GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budget: GoogleCloudBillingBudgetsV1beta1Budget @typing.type_check_only -class GoogleCloudBillingBudgetsV1beta1CustomPeriod( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingBudgetsV1beta1CustomPeriod(typing.TypedDict, total=False): endDate: GoogleTypeDate startDate: GoogleTypeDate @typing.type_check_only -class GoogleCloudBillingBudgetsV1beta1Filter(typing_extensions.TypedDict, total=False): - calendarPeriod: typing_extensions.Literal[ +class GoogleCloudBillingBudgetsV1beta1Filter(typing.TypedDict, total=False): + calendarPeriod: typing.Literal[ "CALENDAR_PERIOD_UNSPECIFIED", "MONTH", "QUARTER", "YEAR" ] creditTypes: _list[str] - creditTypesTreatment: typing_extensions.Literal[ + creditTypesTreatment: typing.Literal[ "CREDIT_TYPES_TREATMENT_UNSPECIFIED", "INCLUDE_ALL_CREDITS", "EXCLUDE_ALL_CREDITS", @@ -68,43 +60,39 @@ class GoogleCloudBillingBudgetsV1beta1Filter(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudBillingBudgetsV1beta1LastPeriodAmount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgets: _list[GoogleCloudBillingBudgetsV1beta1Budget] nextPageToken: str @typing.type_check_only -class GoogleCloudBillingBudgetsV1beta1ThresholdRule( - typing_extensions.TypedDict, total=False -): - spendBasis: typing_extensions.Literal[ - "BASIS_UNSPECIFIED", "CURRENT_SPEND", "FORECASTED_SPEND" - ] +class GoogleCloudBillingBudgetsV1beta1ThresholdRule(typing.TypedDict, total=False): + spendBasis: typing.Literal["BASIS_UNSPECIFIED", "CURRENT_SPEND", "FORECASTED_SPEND"] thresholdPercent: float @typing.type_check_only class GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budget: GoogleCloudBillingBudgetsV1beta1Budget updateMask: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str diff --git a/googleapiclient-stubs/_apis/binaryauthorization/v1/resources.pyi b/googleapiclient-stubs/_apis/binaryauthorization/v1/resources.pyi index 0a6ba309b..29e4429dc 100644 --- a/googleapiclient-stubs/_apis/binaryauthorization/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/binaryauthorization/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi b/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi index c94693350..0a6eada9b 100644 --- a/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/binaryauthorization/v1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdmissionRule(typing_extensions.TypedDict, total=False): - enforcementMode: typing_extensions.Literal[ +class AdmissionRule(typing.TypedDict, total=False): + enforcementMode: typing.Literal[ "ENFORCEMENT_MODE_UNSPECIFIED", "ENFORCED_BLOCK_AND_AUDIT_LOG", "DRYRUN_AUDIT_LOG_ONLY", ] - evaluationMode: typing_extensions.Literal[ + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "ALWAYS_ALLOW", "REQUIRE_ATTESTATION", @@ -20,30 +18,30 @@ class AdmissionRule(typing_extensions.TypedDict, total=False): requireAttestationsBy: _list[str] @typing.type_check_only -class AdmissionWhitelistPattern(typing_extensions.TypedDict, total=False): +class AdmissionWhitelistPattern(typing.TypedDict, total=False): namePattern: str @typing.type_check_only -class AllowlistResult(typing_extensions.TypedDict, total=False): +class AllowlistResult(typing.TypedDict, total=False): matchedPattern: str @typing.type_check_only -class AttestationAuthenticator(typing_extensions.TypedDict, total=False): +class AttestationAuthenticator(typing.TypedDict, total=False): displayName: str pkixPublicKeySet: PkixPublicKeySet @typing.type_check_only -class AttestationOccurrence(typing_extensions.TypedDict, total=False): +class AttestationOccurrence(typing.TypedDict, total=False): jwts: _list[Jwt] serializedPayload: str signatures: _list[Signature] @typing.type_check_only -class AttestationSource(typing_extensions.TypedDict, total=False): +class AttestationSource(typing.TypedDict, total=False): containerAnalysisAttestationProjects: _list[str] @typing.type_check_only -class Attestor(typing_extensions.TypedDict, total=False): +class Attestor(typing.TypedDict, total=False): description: str etag: str name: str @@ -51,20 +49,20 @@ class Attestor(typing_extensions.TypedDict, total=False): userOwnedGrafeasNote: UserOwnedGrafeasNote @typing.type_check_only -class AttestorPublicKey(typing_extensions.TypedDict, total=False): +class AttestorPublicKey(typing.TypedDict, total=False): asciiArmoredPgpPublicKey: str comment: str id: str pkixPublicKey: PkixPublicKey @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Check(typing_extensions.TypedDict, total=False): +class Check(typing.TypedDict, total=False): alwaysDeny: bool displayName: str imageAllowlist: ImageAllowlist @@ -76,7 +74,7 @@ class Check(typing_extensions.TypedDict, total=False): vulnerabilityCheck: VulnerabilityCheck @typing.type_check_only -class CheckResult(typing_extensions.TypedDict, total=False): +class CheckResult(typing.TypedDict, total=False): allowlistResult: AllowlistResult displayName: str evaluationResult: EvaluationResult @@ -85,18 +83,18 @@ class CheckResult(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class CheckResults(typing_extensions.TypedDict, total=False): +class CheckResults(typing.TypedDict, total=False): results: _list[CheckResult] @typing.type_check_only -class CheckSet(typing_extensions.TypedDict, total=False): +class CheckSet(typing.TypedDict, total=False): checks: _list[Check] displayName: str imageAllowlist: ImageAllowlist scope: Scope @typing.type_check_only -class CheckSetResult(typing_extensions.TypedDict, total=False): +class CheckSetResult(typing.TypedDict, total=False): allowlistResult: AllowlistResult checkResults: CheckResults displayName: str @@ -105,80 +103,80 @@ class CheckSetResult(typing_extensions.TypedDict, total=False): scope: Scope @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EvaluateGkePolicyRequest(typing_extensions.TypedDict, total=False): +class EvaluateGkePolicyRequest(typing.TypedDict, total=False): resource: dict[str, typing.Any] @typing.type_check_only -class EvaluateGkePolicyResponse(typing_extensions.TypedDict, total=False): +class EvaluateGkePolicyResponse(typing.TypedDict, total=False): results: _list[PodResult] - verdict: typing_extensions.Literal[ + verdict: typing.Literal[ "VERDICT_UNSPECIFIED", "CONFORMANT", "NON_CONFORMANT", "ERROR" ] @typing.type_check_only -class EvaluationResult(typing_extensions.TypedDict, total=False): - verdict: typing_extensions.Literal[ +class EvaluationResult(typing.TypedDict, total=False): + verdict: typing.Literal[ "CHECK_VERDICT_UNSPECIFIED", "CONFORMANT", "NON_CONFORMANT", "ERROR" ] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GkePolicy(typing_extensions.TypedDict, total=False): +class GkePolicy(typing.TypedDict, total=False): checkSets: _list[CheckSet] imageAllowlist: ImageAllowlist @typing.type_check_only -class IamPolicy(typing_extensions.TypedDict, total=False): +class IamPolicy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ImageAllowlist(typing_extensions.TypedDict, total=False): +class ImageAllowlist(typing.TypedDict, total=False): allowPattern: _list[str] @typing.type_check_only -class ImageFreshnessCheck(typing_extensions.TypedDict, total=False): +class ImageFreshnessCheck(typing.TypedDict, total=False): maxUploadAgeDays: int @typing.type_check_only -class ImageResult(typing_extensions.TypedDict, total=False): +class ImageResult(typing.TypedDict, total=False): allowlistResult: AllowlistResult checkSetResult: CheckSetResult explanation: str imageUri: str - verdict: typing_extensions.Literal[ + verdict: typing.Literal[ "IMAGE_VERDICT_UNSPECIFIED", "CONFORMANT", "NON_CONFORMANT", "ERROR" ] @typing.type_check_only -class Jwt(typing_extensions.TypedDict, total=False): +class Jwt(typing.TypedDict, total=False): compactJwt: str @typing.type_check_only -class ListAttestorsResponse(typing_extensions.TypedDict, total=False): +class ListAttestorsResponse(typing.TypedDict, total=False): attestors: _list[Attestor] nextPageToken: str @typing.type_check_only -class ListPlatformPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListPlatformPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str platformPolicies: _list[PlatformPolicy] @typing.type_check_only -class PkixPublicKey(typing_extensions.TypedDict, total=False): +class PkixPublicKey(typing.TypedDict, total=False): keyId: str publicKeyPem: str - signatureAlgorithm: typing_extensions.Literal[ + signatureAlgorithm: typing.Literal[ "SIGNATURE_ALGORITHM_UNSPECIFIED", "RSA_PSS_2048_SHA256", "RSA_SIGN_PSS_2048_SHA256", @@ -198,14 +196,15 @@ 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 -class PkixPublicKeySet(typing_extensions.TypedDict, total=False): +class PkixPublicKeySet(typing.TypedDict, total=False): pkixPublicKeys: _list[PkixPublicKey] @typing.type_check_only -class PlatformPolicy(typing_extensions.TypedDict, total=False): +class PlatformPolicy(typing.TypedDict, total=False): description: str etag: str gkePolicy: GkePolicy @@ -213,23 +212,23 @@ class PlatformPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PodResult(typing_extensions.TypedDict, total=False): +class PodResult(typing.TypedDict, total=False): imageResults: _list[ImageResult] kubernetesNamespace: str kubernetesServiceAccount: str podName: str - verdict: typing_extensions.Literal[ + verdict: typing.Literal[ "POD_VERDICT_UNSPECIFIED", "CONFORMANT", "NON_CONFORMANT", "ERROR" ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): admissionWhitelistPatterns: _list[AdmissionWhitelistPattern] clusterAdmissionRules: dict[str, typing.Any] defaultAdmissionRule: AdmissionRule description: str etag: str - globalPolicyEvaluationMode: typing_extensions.Literal[ + globalPolicyEvaluationMode: typing.Literal[ "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED", "ENABLE", "DISABLE" ] istioServiceIdentityAdmissionRules: dict[str, typing.Any] @@ -239,92 +238,90 @@ class Policy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): +class Scope(typing.TypedDict, total=False): kubernetesNamespace: str kubernetesServiceAccount: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: IamPolicy @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): publicKeyId: str signature: str @typing.type_check_only -class SigstoreAuthority(typing_extensions.TypedDict, total=False): +class SigstoreAuthority(typing.TypedDict, total=False): displayName: str publicKeySet: SigstorePublicKeySet @typing.type_check_only -class SigstorePublicKey(typing_extensions.TypedDict, total=False): +class SigstorePublicKey(typing.TypedDict, total=False): publicKeyPem: str @typing.type_check_only -class SigstorePublicKeySet(typing_extensions.TypedDict, total=False): +class SigstorePublicKeySet(typing.TypedDict, total=False): publicKeys: _list[SigstorePublicKey] @typing.type_check_only -class SigstoreSignatureCheck(typing_extensions.TypedDict, total=False): +class SigstoreSignatureCheck(typing.TypedDict, total=False): sigstoreAuthorities: _list[SigstoreAuthority] @typing.type_check_only -class SimpleSigningAttestationCheck(typing_extensions.TypedDict, total=False): +class SimpleSigningAttestationCheck(typing.TypedDict, total=False): attestationAuthenticators: _list[AttestationAuthenticator] containerAnalysisAttestationProjects: _list[str] @typing.type_check_only -class SlsaCheck(typing_extensions.TypedDict, total=False): +class SlsaCheck(typing.TypedDict, total=False): rules: _list[VerificationRule] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TrustedDirectoryCheck(typing_extensions.TypedDict, total=False): +class TrustedDirectoryCheck(typing.TypedDict, total=False): trustedDirPatterns: _list[str] @typing.type_check_only -class UserOwnedGrafeasNote(typing_extensions.TypedDict, total=False): +class UserOwnedGrafeasNote(typing.TypedDict, total=False): delegationServiceAccountEmail: str noteReference: str publicKeys: _list[AttestorPublicKey] @typing.type_check_only -class ValidateAttestationOccurrenceRequest(typing_extensions.TypedDict, total=False): +class ValidateAttestationOccurrenceRequest(typing.TypedDict, total=False): attestation: AttestationOccurrence occurrenceNote: str occurrenceResourceUri: str @typing.type_check_only -class ValidateAttestationOccurrenceResponse(typing_extensions.TypedDict, total=False): +class ValidateAttestationOccurrenceResponse(typing.TypedDict, total=False): denialReason: str - result: typing_extensions.Literal[ + result: typing.Literal[ "RESULT_UNSPECIFIED", "VERIFIED", "ATTESTATION_NOT_VERIFIABLE" ] @typing.type_check_only -class VerificationRule(typing_extensions.TypedDict, total=False): +class VerificationRule(typing.TypedDict, total=False): attestationSource: AttestationSource configBasedBuildRequired: bool customConstraints: str - trustedBuilder: typing_extensions.Literal[ - "BUILDER_UNSPECIFIED", "GOOGLE_CLOUD_BUILD" - ] + trustedBuilder: typing.Literal["BUILDER_UNSPECIFIED", "GOOGLE_CLOUD_BUILD"] trustedSourceRepoPatterns: _list[str] @typing.type_check_only -class VulnerabilityCheck(typing_extensions.TypedDict, total=False): +class VulnerabilityCheck(typing.TypedDict, total=False): allowedCves: _list[str] blockedCves: _list[str] containerAnalysisVulnerabilityProjects: _list[str] - maximumFixableSeverity: typing_extensions.Literal[ + maximumFixableSeverity: typing.Literal[ "MAXIMUM_ALLOWED_SEVERITY_UNSPECIFIED", "BLOCK_ALL", "MINIMAL", @@ -334,7 +331,7 @@ class VulnerabilityCheck(typing_extensions.TypedDict, total=False): "CRITICAL", "ALLOW_ALL", ] - maximumUnfixableSeverity: typing_extensions.Literal[ + maximumUnfixableSeverity: typing.Literal[ "MAXIMUM_ALLOWED_SEVERITY_UNSPECIFIED", "BLOCK_ALL", "MINIMAL", diff --git a/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/resources.pyi index 6c7b1bba1..e58124afe 100644 --- a/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi index aa2ca6ad2..677803416 100644 --- a/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/binaryauthorization/v1beta1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdmissionRule(typing_extensions.TypedDict, total=False): - enforcementMode: typing_extensions.Literal[ +class AdmissionRule(typing.TypedDict, total=False): + enforcementMode: typing.Literal[ "ENFORCEMENT_MODE_UNSPECIFIED", "ENFORCED_BLOCK_AND_AUDIT_LOG", "DRYRUN_AUDIT_LOG_ONLY", ] - evaluationMode: typing_extensions.Literal[ + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "ALWAYS_ALLOW", "REQUIRE_ATTESTATION", @@ -20,17 +18,17 @@ class AdmissionRule(typing_extensions.TypedDict, total=False): requireAttestationsBy: _list[str] @typing.type_check_only -class AdmissionWhitelistPattern(typing_extensions.TypedDict, total=False): +class AdmissionWhitelistPattern(typing.TypedDict, total=False): namePattern: str @typing.type_check_only -class AttestationOccurrence(typing_extensions.TypedDict, total=False): +class AttestationOccurrence(typing.TypedDict, total=False): jwts: _list[Jwt] serializedPayload: str signatures: _list[Signature] @typing.type_check_only -class Attestor(typing_extensions.TypedDict, total=False): +class Attestor(typing.TypedDict, total=False): description: str etag: str name: str @@ -38,47 +36,47 @@ class Attestor(typing_extensions.TypedDict, total=False): userOwnedDrydockNote: UserOwnedDrydockNote @typing.type_check_only -class AttestorPublicKey(typing_extensions.TypedDict, total=False): +class AttestorPublicKey(typing.TypedDict, total=False): asciiArmoredPgpPublicKey: str comment: str id: str pkixPublicKey: PkixPublicKey @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class IamPolicy(typing_extensions.TypedDict, total=False): +class IamPolicy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Jwt(typing_extensions.TypedDict, total=False): +class Jwt(typing.TypedDict, total=False): compactJwt: str @typing.type_check_only -class ListAttestorsResponse(typing_extensions.TypedDict, total=False): +class ListAttestorsResponse(typing.TypedDict, total=False): attestors: _list[Attestor] nextPageToken: str @typing.type_check_only -class PkixPublicKey(typing_extensions.TypedDict, total=False): +class PkixPublicKey(typing.TypedDict, total=False): publicKeyPem: str - signatureAlgorithm: typing_extensions.Literal[ + signatureAlgorithm: typing.Literal[ "SIGNATURE_ALGORITHM_UNSPECIFIED", "RSA_PSS_2048_SHA256", "RSA_SIGN_PSS_2048_SHA256", @@ -98,16 +96,17 @@ 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 -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): admissionWhitelistPatterns: _list[AdmissionWhitelistPattern] clusterAdmissionRules: dict[str, typing.Any] defaultAdmissionRule: AdmissionRule description: str etag: str - globalPolicyEvaluationMode: typing_extensions.Literal[ + globalPolicyEvaluationMode: typing.Literal[ "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED", "ENABLE", "DISABLE" ] istioServiceIdentityAdmissionRules: dict[str, typing.Any] @@ -117,37 +116,37 @@ class Policy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: IamPolicy @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): publicKeyId: str signature: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UserOwnedDrydockNote(typing_extensions.TypedDict, total=False): +class UserOwnedDrydockNote(typing.TypedDict, total=False): delegationServiceAccountEmail: str noteReference: str publicKeys: _list[AttestorPublicKey] @typing.type_check_only -class ValidateAttestationOccurrenceRequest(typing_extensions.TypedDict, total=False): +class ValidateAttestationOccurrenceRequest(typing.TypedDict, total=False): attestation: AttestationOccurrence occurrenceNote: str occurrenceResourceUri: str @typing.type_check_only -class ValidateAttestationOccurrenceResponse(typing_extensions.TypedDict, total=False): +class ValidateAttestationOccurrenceResponse(typing.TypedDict, total=False): denialReason: str - result: typing_extensions.Literal[ + result: typing.Literal[ "RESULT_UNSPECIFIED", "VERIFIED", "ATTESTATION_NOT_VERIFIABLE" ] diff --git a/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi b/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi index 37b3715b1..f9f5b84fa 100644 --- a/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/blockchainnodeengine/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/blockchainnodeengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/blockchainnodeengine/v1/schemas.pyi index fe32fff68..e14b66b6c 100644 --- a/googleapiclient-stubs/_apis/blockchainnodeengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/blockchainnodeengine/v1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BlockchainNode(typing_extensions.TypedDict, total=False): - blockchainType: typing_extensions.Literal["BLOCKCHAIN_TYPE_UNSPECIFIED", "ETHEREUM"] +class BlockchainNode(typing.TypedDict, total=False): + blockchainType: typing.Literal["BLOCKCHAIN_TYPE_UNSPECIFIED", "ETHEREUM"] connectionInfo: ConnectionInfo createTime: str ethereumDetails: EthereumDetails labels: dict[str, typing.Any] name: str privateServiceConnectEnabled: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", @@ -27,75 +25,71 @@ class BlockchainNode(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ConnectionInfo(typing_extensions.TypedDict, total=False): +class ConnectionInfo(typing.TypedDict, total=False): endpointInfo: EndpointInfo serviceAttachment: str @typing.type_check_only -class EndpointInfo(typing_extensions.TypedDict, total=False): +class EndpointInfo(typing.TypedDict, total=False): jsonRpcApiEndpoint: str websocketsApiEndpoint: str @typing.type_check_only -class EthereumDetails(typing_extensions.TypedDict, total=False): +class EthereumDetails(typing.TypedDict, total=False): additionalEndpoints: EthereumEndpoints apiEnableAdmin: bool apiEnableDebug: bool - consensusClient: typing_extensions.Literal[ + consensusClient: typing.Literal[ "CONSENSUS_CLIENT_UNSPECIFIED", "LIGHTHOUSE", "ERIGON_EMBEDDED_CONSENSUS_LAYER" ] - executionClient: typing_extensions.Literal[ - "EXECUTION_CLIENT_UNSPECIFIED", "GETH", "ERIGON" - ] + executionClient: typing.Literal["EXECUTION_CLIENT_UNSPECIFIED", "GETH", "ERIGON"] gethDetails: GethDetails - network: typing_extensions.Literal[ + network: typing.Literal[ "NETWORK_UNSPECIFIED", "MAINNET", "TESTNET_GOERLI_PRATER", "TESTNET_SEPOLIA", "TESTNET_HOLESKY", ] - nodeType: typing_extensions.Literal[ - "NODE_TYPE_UNSPECIFIED", "LIGHT", "FULL", "ARCHIVE" - ] + nodeType: typing.Literal["NODE_TYPE_UNSPECIFIED", "LIGHT", "FULL", "ARCHIVE"] validatorConfig: ValidatorConfig @typing.type_check_only -class EthereumEndpoints(typing_extensions.TypedDict, total=False): +class EthereumEndpoints(typing.TypedDict, total=False): beaconApiEndpoint: str beaconPrometheusMetricsApiEndpoint: str executionClientPrometheusMetricsApiEndpoint: str @typing.type_check_only -class GethDetails(typing_extensions.TypedDict, total=False): - garbageCollectionMode: typing_extensions.Literal[ +class GethDetails(typing.TypedDict, total=False): + garbageCollectionMode: typing.Literal[ "GARBAGE_COLLECTION_MODE_UNSPECIFIED", "FULL", "ARCHIVE" ] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListBlockchainNodesResponse(typing_extensions.TypedDict, total=False): +class ListBlockchainNodesResponse(typing.TypedDict, total=False): blockchainNodes: _list[BlockchainNode] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -103,7 +97,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -111,7 +105,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -121,13 +115,13 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class ValidatorConfig(typing_extensions.TypedDict, total=False): +class ValidatorConfig(typing.TypedDict, total=False): beaconFeeRecipient: str managedValidatorClient: bool mevRelayUrls: _list[str] diff --git a/googleapiclient-stubs/_apis/blogger/v2/resources.pyi b/googleapiclient-stubs/_apis/blogger/v2/resources.pyi index 0189e7686..39de7ed07 100644 --- a/googleapiclient-stubs/_apis/blogger/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/blogger/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/blogger/v2/schemas.pyi b/googleapiclient-stubs/_apis/blogger/v2/schemas.pyi index 435b60d4f..d9f99788e 100644 --- a/googleapiclient-stubs/_apis/blogger/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/blogger/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Blog(typing_extensions.TypedDict, total=False): +class Blog(typing.TypedDict, total=False): customMetaData: str description: str id: str @@ -16,35 +14,33 @@ class Blog(typing_extensions.TypedDict, total=False): posts: dict[str, typing.Any] published: str selfLink: str - status: typing_extensions.Literal["LIVE", "DELETED"] + status: typing.Literal["LIVE", "DELETED"] updated: str url: str @typing.type_check_only -class BlogList(typing_extensions.TypedDict, total=False): +class BlogList(typing.TypedDict, total=False): blogUserInfos: _list[BlogUserInfo] items: _list[Blog] kind: str @typing.type_check_only -class BlogPerUserInfo(typing_extensions.TypedDict, total=False): +class BlogPerUserInfo(typing.TypedDict, total=False): blogId: str hasAdminAccess: bool kind: str photosAlbumKey: str - role: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + role: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] userId: str @typing.type_check_only -class BlogUserInfo(typing_extensions.TypedDict, total=False): +class BlogUserInfo(typing.TypedDict, total=False): blog: Blog blog_user_info: BlogPerUserInfo kind: str @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): author: dict[str, typing.Any] blog: dict[str, typing.Any] content: str @@ -54,11 +50,11 @@ class Comment(typing_extensions.TypedDict, total=False): post: dict[str, typing.Any] published: str selfLink: str - status: typing_extensions.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] + status: typing.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] updated: str @typing.type_check_only -class CommentList(typing_extensions.TypedDict, total=False): +class CommentList(typing.TypedDict, total=False): etag: str items: _list[Comment] kind: str @@ -66,7 +62,7 @@ class CommentList(typing_extensions.TypedDict, total=False): prevPageToken: str @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): author: dict[str, typing.Any] blog: dict[str, typing.Any] content: str @@ -75,21 +71,21 @@ class Page(typing_extensions.TypedDict, total=False): kind: str published: str selfLink: str - status: typing_extensions.Literal["LIVE", "DRAFT", "SOFT_TRASHED"] + status: typing.Literal["LIVE", "DRAFT", "SOFT_TRASHED"] title: str trashed: str updated: str url: str @typing.type_check_only -class PageList(typing_extensions.TypedDict, total=False): +class PageList(typing.TypedDict, total=False): etag: str items: _list[Page] kind: str nextPageToken: str @typing.type_check_only -class Post(typing_extensions.TypedDict, total=False): +class Post(typing.TypedDict, total=False): author: dict[str, typing.Any] blog: dict[str, typing.Any] content: str @@ -101,12 +97,12 @@ class Post(typing_extensions.TypedDict, total=False): labels: _list[str] location: dict[str, typing.Any] published: str - readerComments: typing_extensions.Literal[ + readerComments: typing.Literal[ "ALLOW", "DONT_ALLOW_SHOW_EXISTING", "DONT_ALLOW_HIDE_EXISTING" ] replies: dict[str, typing.Any] selfLink: str - status: typing_extensions.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] + status: typing.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] title: str titleLink: str trashed: str @@ -114,7 +110,7 @@ class Post(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class PostList(typing_extensions.TypedDict, total=False): +class PostList(typing.TypedDict, total=False): etag: str items: _list[Post] kind: str @@ -122,7 +118,7 @@ class PostList(typing_extensions.TypedDict, total=False): prevPageToken: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): about: str blogs: dict[str, typing.Any] created: str diff --git a/googleapiclient-stubs/_apis/blogger/v3/resources.pyi b/googleapiclient-stubs/_apis/blogger/v3/resources.pyi index 8ad461e4c..736750ae9 100644 --- a/googleapiclient-stubs/_apis/blogger/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/blogger/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -31,9 +30,7 @@ class BloggerResource(googleapiclient.discovery.Resource): *, blogId: str, maxPosts: int | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> BlogHttpRequest: ... @@ -41,9 +38,7 @@ class BloggerResource(googleapiclient.discovery.Resource): self, *, url: str, - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> BlogHttpRequest: ... @@ -52,21 +47,15 @@ class BloggerResource(googleapiclient.discovery.Resource): *, userId: str, fetchUserInfo: bool | None = ..., - role: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + role: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | _list[ - typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] ] | None = ..., - status: typing_extensions.Literal["LIVE", "DELETED"] - | _list[typing_extensions.Literal["LIVE", "DELETED"]] + status: typing.Literal["LIVE", "DELETED"] + | _list[typing.Literal["LIVE", "DELETED"]] | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> BlogListHttpRequest: ... @@ -85,9 +74,7 @@ class BloggerResource(googleapiclient.discovery.Resource): blogId: str, postId: str, commentId: str, - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> CommentHttpRequest: ... @@ -101,11 +88,8 @@ class BloggerResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., startDate: str | None = ..., - status: typing_extensions.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] - | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + status: typing.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] | None = ..., + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> CommentListHttpRequest: ... @@ -123,8 +107,8 @@ class BloggerResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., startDate: str | None = ..., - status: typing_extensions.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] - | _list[typing_extensions.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"]] + status: typing.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] + | _list[typing.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"]] | None = ..., **kwargs: typing.Any, ) -> CommentListHttpRequest: ... @@ -146,8 +130,8 @@ class BloggerResource(googleapiclient.discovery.Resource): self, *, blogId: str, - range: typing_extensions.Literal["all", "30DAYS", "7DAYS"] - | _list[typing_extensions.Literal["all", "30DAYS", "7DAYS"]] + range: typing.Literal["all", "30DAYS", "7DAYS"] + | _list[typing.Literal["all", "30DAYS", "7DAYS"]] | None = ..., **kwargs: typing.Any, ) -> PageviewsHttpRequest: ... @@ -167,9 +151,7 @@ class BloggerResource(googleapiclient.discovery.Resource): *, blogId: str, pageId: str, - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> PageHttpRequest: ... @@ -188,12 +170,10 @@ class BloggerResource(googleapiclient.discovery.Resource): fetchBodies: bool | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., - status: typing_extensions.Literal["LIVE", "DRAFT", "SOFT_TRASHED"] - | _list[typing_extensions.Literal["LIVE", "DRAFT", "SOFT_TRASHED"]] + status: typing.Literal["LIVE", "DRAFT", "SOFT_TRASHED"] + | _list[typing.Literal["LIVE", "DRAFT", "SOFT_TRASHED"]] | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> PageListHttpRequest: ... @@ -247,22 +227,14 @@ class BloggerResource(googleapiclient.discovery.Resource): fetchBodies: bool | None = ..., labels: str | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal[ - "ORDER_BY_UNSPECIFIED", "PUBLISHED", "UPDATED" - ] + orderBy: typing.Literal["ORDER_BY_UNSPECIFIED", "PUBLISHED", "UPDATED"] | None = ..., pageToken: str | None = ..., startDate: str | None = ..., - status: typing_extensions.Literal[ - "LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED" - ] - | _list[ - typing_extensions.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] - ] + status: typing.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] + | _list[typing.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"]] | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> PostUserInfosListHttpRequest: ... @@ -290,9 +262,7 @@ class BloggerResource(googleapiclient.discovery.Resource): fetchBody: bool | None = ..., fetchImages: bool | None = ..., maxComments: int | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> PostHttpRequest: ... @@ -302,9 +272,7 @@ class BloggerResource(googleapiclient.discovery.Resource): blogId: str, path: str, maxComments: int | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> PostHttpRequest: ... @@ -327,26 +295,18 @@ class BloggerResource(googleapiclient.discovery.Resource): fetchImages: bool | None = ..., labels: str | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal[ - "ORDER_BY_UNSPECIFIED", "PUBLISHED", "UPDATED" - ] + orderBy: typing.Literal["ORDER_BY_UNSPECIFIED", "PUBLISHED", "UPDATED"] | None = ..., pageToken: str | None = ..., - sortOption: typing_extensions.Literal[ + sortOption: typing.Literal[ "SORT_OPTION_UNSPECIFIED", "DESCENDING", "ASCENDING" ] | None = ..., startDate: str | None = ..., - status: typing_extensions.Literal[ - "LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED" - ] - | _list[ - typing_extensions.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] - ] + status: typing.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] + | _list[typing.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"]] | None = ..., - view: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + view: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] | None = ..., **kwargs: typing.Any, ) -> PostListHttpRequest: ... @@ -383,9 +343,7 @@ class BloggerResource(googleapiclient.discovery.Resource): blogId: str, q: str, fetchBodies: bool | None = ..., - orderBy: typing_extensions.Literal[ - "ORDER_BY_UNSPECIFIED", "PUBLISHED", "UPDATED" - ] + orderBy: typing.Literal["ORDER_BY_UNSPECIFIED", "PUBLISHED", "UPDATED"] | None = ..., **kwargs: typing.Any, ) -> PostListHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/blogger/v3/schemas.pyi b/googleapiclient-stubs/_apis/blogger/v3/schemas.pyi index 9492198c1..9183235ed 100644 --- a/googleapiclient-stubs/_apis/blogger/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/blogger/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Blog(typing_extensions.TypedDict, total=False): +class Blog(typing.TypedDict, total=False): customMetaData: str description: str id: str @@ -16,35 +14,33 @@ class Blog(typing_extensions.TypedDict, total=False): posts: dict[str, typing.Any] published: str selfLink: str - status: typing_extensions.Literal["LIVE", "DELETED"] + status: typing.Literal["LIVE", "DELETED"] updated: str url: str @typing.type_check_only -class BlogList(typing_extensions.TypedDict, total=False): +class BlogList(typing.TypedDict, total=False): blogUserInfos: _list[BlogUserInfo] items: _list[Blog] kind: str @typing.type_check_only -class BlogPerUserInfo(typing_extensions.TypedDict, total=False): +class BlogPerUserInfo(typing.TypedDict, total=False): blogId: str hasAdminAccess: bool kind: str photosAlbumKey: str - role: typing_extensions.Literal[ - "VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN" - ] + role: typing.Literal["VIEW_TYPE_UNSPECIFIED", "READER", "AUTHOR", "ADMIN"] userId: str @typing.type_check_only -class BlogUserInfo(typing_extensions.TypedDict, total=False): +class BlogUserInfo(typing.TypedDict, total=False): blog: Blog blog_user_info: BlogPerUserInfo kind: str @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): author: dict[str, typing.Any] blog: dict[str, typing.Any] content: str @@ -54,11 +50,11 @@ class Comment(typing_extensions.TypedDict, total=False): post: dict[str, typing.Any] published: str selfLink: str - status: typing_extensions.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] + status: typing.Literal["LIVE", "EMPTIED", "PENDING", "SPAM"] updated: str @typing.type_check_only -class CommentList(typing_extensions.TypedDict, total=False): +class CommentList(typing.TypedDict, total=False): etag: str items: _list[Comment] kind: str @@ -66,7 +62,7 @@ class CommentList(typing_extensions.TypedDict, total=False): prevPageToken: str @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): author: dict[str, typing.Any] blog: dict[str, typing.Any] content: str @@ -75,27 +71,27 @@ class Page(typing_extensions.TypedDict, total=False): kind: str published: str selfLink: str - status: typing_extensions.Literal["LIVE", "DRAFT", "SOFT_TRASHED"] + status: typing.Literal["LIVE", "DRAFT", "SOFT_TRASHED"] title: str trashed: str updated: str url: str @typing.type_check_only -class PageList(typing_extensions.TypedDict, total=False): +class PageList(typing.TypedDict, total=False): etag: str items: _list[Page] kind: str nextPageToken: str @typing.type_check_only -class Pageviews(typing_extensions.TypedDict, total=False): +class Pageviews(typing.TypedDict, total=False): blogId: str counts: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class Post(typing_extensions.TypedDict, total=False): +class Post(typing.TypedDict, total=False): author: dict[str, typing.Any] blog: dict[str, typing.Any] content: str @@ -107,12 +103,12 @@ class Post(typing_extensions.TypedDict, total=False): labels: _list[str] location: dict[str, typing.Any] published: str - readerComments: typing_extensions.Literal[ + readerComments: typing.Literal[ "ALLOW", "DONT_ALLOW_SHOW_EXISTING", "DONT_ALLOW_HIDE_EXISTING" ] replies: dict[str, typing.Any] selfLink: str - status: typing_extensions.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] + status: typing.Literal["LIVE", "DRAFT", "SCHEDULED", "SOFT_TRASHED"] title: str titleLink: str trashed: str @@ -120,7 +116,7 @@ class Post(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class PostList(typing_extensions.TypedDict, total=False): +class PostList(typing.TypedDict, total=False): etag: str items: _list[Post] kind: str @@ -128,7 +124,7 @@ class PostList(typing_extensions.TypedDict, total=False): prevPageToken: str @typing.type_check_only -class PostPerUserInfo(typing_extensions.TypedDict, total=False): +class PostPerUserInfo(typing.TypedDict, total=False): blogId: str hasEditAccess: bool kind: str @@ -136,19 +132,19 @@ class PostPerUserInfo(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class PostUserInfo(typing_extensions.TypedDict, total=False): +class PostUserInfo(typing.TypedDict, total=False): kind: str post: Post post_user_info: PostPerUserInfo @typing.type_check_only -class PostUserInfosList(typing_extensions.TypedDict, total=False): +class PostUserInfosList(typing.TypedDict, total=False): items: _list[PostUserInfo] kind: str nextPageToken: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): about: str blogs: dict[str, typing.Any] created: str diff --git a/googleapiclient-stubs/_apis/books/v1/resources.pyi b/googleapiclient-stubs/_apis/books/v1/resources.pyi index 029d93d83..adb8b7471 100644 --- a/googleapiclient-stubs/_apis/books/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/books/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -212,7 +211,7 @@ class BooksResource(googleapiclient.discovery.Resource): nonce: str, source: str, volumeId: str, - licenseTypes: typing_extensions.Literal[ + licenseTypes: typing.Literal[ "LICENSE_TYPES_UNDEFINED", "BOTH", "CONCURRENT", "DOWNLOAD" ] | None = ..., @@ -225,8 +224,8 @@ class BooksResource(googleapiclient.discovery.Resource): cpksver: str, nonce: str, source: str, - features: typing_extensions.Literal["FEATURES_UNDEFINED", "RENTALS"] - | _list[typing_extensions.Literal["FEATURES_UNDEFINED", "RENTALS"]] + features: typing.Literal["FEATURES_UNDEFINED", "RENTALS"] + | _list[typing.Literal["FEATURES_UNDEFINED", "RENTALS"]] | None = ..., includeNonComicsSeries: bool | None = ..., locale: str | None = ..., @@ -306,9 +305,7 @@ class BooksResource(googleapiclient.discovery.Resource): shelf: str, country: str | None = ..., maxResults: int | None = ..., - projection: typing_extensions.Literal[ - "PROJECTION_UNDEFINED", "FULL", "LITE" - ] + projection: typing.Literal["PROJECTION_UNDEFINED", "FULL", "LITE"] | None = ..., q: str | None = ..., showPreorders: bool | None = ..., @@ -322,7 +319,7 @@ class BooksResource(googleapiclient.discovery.Resource): *, shelf: str, volumeId: str, - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNDEFINED", "IOS_PREX", "IOS_SEARCH", "ONBOARDING" ] | None = ..., @@ -352,8 +349,7 @@ class BooksResource(googleapiclient.discovery.Resource): *, shelf: str, volumeId: str, - reason: typing_extensions.Literal["REASON_UNDEFINED", "ONBOARDING"] - | None = ..., + reason: typing.Literal["REASON_UNDEFINED", "ONBOARDING"] | None = ..., source: str | None = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... @@ -375,7 +371,7 @@ class BooksResource(googleapiclient.discovery.Resource): volumeId: str, position: str, timestamp: str, - action: typing_extensions.Literal[ + action: typing.Literal[ "ACTION_UNDEFINED", "bookmark", "chapter", @@ -416,7 +412,7 @@ class BooksResource(googleapiclient.discovery.Resource): *, categoryId: str | _list[str] | None = ..., locale: str | None = ..., - maxAllowedMaturityRating: typing_extensions.Literal[ + maxAllowedMaturityRating: typing.Literal[ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED", "MATURE", "not-mature" ] | None = ..., @@ -434,7 +430,7 @@ class BooksResource(googleapiclient.discovery.Resource): self, *, locale: str | None = ..., - maxAllowedMaturityRating: typing_extensions.Literal[ + maxAllowedMaturityRating: typing.Literal[ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED", "MATURE", "not-mature" ] | None = ..., @@ -507,7 +503,7 @@ class BooksResource(googleapiclient.discovery.Resource): self, *, volumeId: str, - association: typing_extensions.Literal[ + association: typing.Literal[ "ASSOCIATION_UNDEFINED", "end-of-sample", "end-of-volume", @@ -515,7 +511,7 @@ class BooksResource(googleapiclient.discovery.Resource): ] | None = ..., locale: str | None = ..., - maxAllowedMaturityRating: typing_extensions.Literal[ + maxAllowedMaturityRating: typing.Literal[ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED", "MATURE", "not-mature" ] | None = ..., @@ -528,7 +524,7 @@ class BooksResource(googleapiclient.discovery.Resource): def list( self, *, - acquireMethod: typing_extensions.Literal[ + acquireMethod: typing.Literal[ "ACQUIRE_METHOD_UNDEFINED", "FAMILY_SHARED", "PREORDERED", @@ -540,7 +536,7 @@ class BooksResource(googleapiclient.discovery.Resource): "UPLOADED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "ACQUIRE_METHOD_UNDEFINED", "FAMILY_SHARED", "PREORDERED", @@ -556,14 +552,14 @@ class BooksResource(googleapiclient.discovery.Resource): country: str | None = ..., locale: str | None = ..., maxResults: int | None = ..., - processingState: typing_extensions.Literal[ + processingState: typing.Literal[ "PROCESSING_STATE_UNDEFINED", "COMPLETED_FAILED", "COMPLETED_SUCCESS", "RUNNING", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PROCESSING_STATE_UNDEFINED", "COMPLETED_FAILED", "COMPLETED_SUCCESS", @@ -582,7 +578,7 @@ class BooksResource(googleapiclient.discovery.Resource): self, *, locale: str | None = ..., - maxAllowedMaturityRating: typing_extensions.Literal[ + maxAllowedMaturityRating: typing.Literal[ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED", "MATURE", "not-mature" ] | None = ..., @@ -592,9 +588,7 @@ class BooksResource(googleapiclient.discovery.Resource): def rate( self, *, - rating: typing_extensions.Literal[ - "RATING_UNDEFINED", "HAVE_IT", "NOT_INTERESTED" - ], + rating: typing.Literal["RATING_UNDEFINED", "HAVE_IT", "NOT_INTERESTED"], volumeId: str, locale: str | None = ..., source: str | None = ..., @@ -608,14 +602,14 @@ class BooksResource(googleapiclient.discovery.Resource): *, locale: str | None = ..., maxResults: int | None = ..., - processingState: typing_extensions.Literal[ + processingState: typing.Literal[ "PROCESSING_STATE_UNDEFINED", "COMPLETED_FAILED", "COMPLETED_SUCCESS", "RUNNING", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PROCESSING_STATE_UNDEFINED", "COMPLETED_FAILED", "COMPLETED_SUCCESS", @@ -636,9 +630,7 @@ class BooksResource(googleapiclient.discovery.Resource): country: str | None = ..., includeNonComicsSeries: bool | None = ..., partner: str | None = ..., - projection: typing_extensions.Literal[ - "PROJECTION_UNDEFINED", "FULL", "LITE" - ] + projection: typing.Literal["PROJECTION_UNDEFINED", "FULL", "LITE"] | None = ..., source: str | None = ..., user_library_consistent_read: bool | None = ..., @@ -648,9 +640,8 @@ class BooksResource(googleapiclient.discovery.Resource): self, *, q: str, - download: typing_extensions.Literal["DOWNLOAD_UNDEFINED", "EPUB"] - | None = ..., - filter: typing_extensions.Literal[ + download: typing.Literal["DOWNLOAD_UNDEFINED", "EPUB"] | None = ..., + filter: typing.Literal[ "FILTER_UNDEFINED", "ebooks", "free-ebooks", @@ -660,27 +651,23 @@ class BooksResource(googleapiclient.discovery.Resource): ] | None = ..., langRestrict: str | None = ..., - libraryRestrict: typing_extensions.Literal[ + libraryRestrict: typing.Literal[ "LIBRARY_RESTRICT_UNDEFINED", "my-library", "no-restrict" ] | None = ..., - maxAllowedMaturityRating: typing_extensions.Literal[ + maxAllowedMaturityRating: typing.Literal[ "MAX_ALLOWED_MATURITY_RATING_UNDEFINED", "MATURE", "not-mature" ] | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal[ - "ORDER_BY_UNDEFINED", "newest", "relevance" - ] + orderBy: typing.Literal["ORDER_BY_UNDEFINED", "newest", "relevance"] | None = ..., partner: str | None = ..., - printType: typing_extensions.Literal[ + printType: typing.Literal[ "PRINT_TYPE_UNDEFINED", "ALL", "BOOKS", "MAGAZINES" ] | None = ..., - projection: typing_extensions.Literal[ - "PROJECTION_UNDEFINED", "FULL", "LITE" - ] + projection: typing.Literal["PROJECTION_UNDEFINED", "FULL", "LITE"] | None = ..., showPreorders: bool | None = ..., source: str | None = ..., diff --git a/googleapiclient-stubs/_apis/books/v1/schemas.pyi b/googleapiclient-stubs/_apis/books/v1/schemas.pyi index 323e911a7..c19148687 100644 --- a/googleapiclient-stubs/_apis/books/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/books/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Annotation(typing_extensions.TypedDict, total=False): +class Annotation(typing.TypedDict, total=False): afterSelectedText: str beforeSelectedText: str clientVersionRanges: dict[str, typing.Any] @@ -25,44 +23,44 @@ class Annotation(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class Annotations(typing_extensions.TypedDict, total=False): +class Annotations(typing.TypedDict, total=False): items: _list[Annotation] kind: str nextPageToken: str totalItems: int @typing.type_check_only -class AnnotationsSummary(typing_extensions.TypedDict, total=False): +class AnnotationsSummary(typing.TypedDict, total=False): kind: str layers: _list[dict[str, typing.Any]] @typing.type_check_only -class Annotationsdata(typing_extensions.TypedDict, total=False): +class Annotationsdata(typing.TypedDict, total=False): items: _list[GeoAnnotationdata] kind: str nextPageToken: str totalItems: int @typing.type_check_only -class BooksAnnotationsRange(typing_extensions.TypedDict, total=False): +class BooksAnnotationsRange(typing.TypedDict, total=False): endOffset: str endPosition: str startOffset: str startPosition: str @typing.type_check_only -class BooksCloudloadingResource(typing_extensions.TypedDict, total=False): +class BooksCloudloadingResource(typing.TypedDict, total=False): author: str processingState: str title: str volumeId: str @typing.type_check_only -class BooksVolumesRecommendedRateResponse(typing_extensions.TypedDict, total=False): +class BooksVolumesRecommendedRateResponse(typing.TypedDict, total=False): consistency_token: str @typing.type_check_only -class Bookshelf(typing_extensions.TypedDict, total=False): +class Bookshelf(typing.TypedDict, total=False): access: str created: str description: str @@ -75,17 +73,17 @@ class Bookshelf(typing_extensions.TypedDict, total=False): volumesLastUpdated: str @typing.type_check_only -class Bookshelves(typing_extensions.TypedDict, total=False): +class Bookshelves(typing.TypedDict, total=False): items: _list[Bookshelf] kind: str @typing.type_check_only -class Category(typing_extensions.TypedDict, total=False): +class Category(typing.TypedDict, total=False): items: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class ConcurrentAccessRestriction(typing_extensions.TypedDict, total=False): +class ConcurrentAccessRestriction(typing.TypedDict, total=False): deviceAllowed: bool kind: str maxConcurrentDevices: int @@ -99,7 +97,7 @@ class ConcurrentAccessRestriction(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class DictionaryAnnotationdata(typing_extensions.TypedDict, total=False): +class DictionaryAnnotationdata(typing.TypedDict, total=False): annotationType: str data: Dictlayerdata encodedData: str @@ -111,19 +109,19 @@ class DictionaryAnnotationdata(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class Dictlayerdata(typing_extensions.TypedDict, total=False): +class Dictlayerdata(typing.TypedDict, total=False): common: dict[str, typing.Any] dict: dict[str, typing.Any] kind: str @typing.type_check_only -class Discoveryclusters(typing_extensions.TypedDict, total=False): +class Discoveryclusters(typing.TypedDict, total=False): clusters: _list[dict[str, typing.Any]] kind: str totalClusters: int @typing.type_check_only -class DownloadAccessRestriction(typing_extensions.TypedDict, total=False): +class DownloadAccessRestriction(typing.TypedDict, total=False): deviceAllowed: bool downloadsAcquired: int justAcquired: bool @@ -138,20 +136,20 @@ class DownloadAccessRestriction(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class DownloadAccesses(typing_extensions.TypedDict, total=False): +class DownloadAccesses(typing.TypedDict, total=False): downloadAccessList: _list[DownloadAccessRestriction] kind: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FamilyInfo(typing_extensions.TypedDict, total=False): +class FamilyInfo(typing.TypedDict, total=False): kind: str membership: dict[str, typing.Any] @typing.type_check_only -class GeoAnnotationdata(typing_extensions.TypedDict, total=False): +class GeoAnnotationdata(typing.TypedDict, total=False): annotationType: str data: Geolayerdata encodedData: str @@ -163,19 +161,19 @@ class GeoAnnotationdata(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class Geolayerdata(typing_extensions.TypedDict, total=False): +class Geolayerdata(typing.TypedDict, total=False): common: dict[str, typing.Any] geo: dict[str, typing.Any] kind: str @typing.type_check_only -class Layersummaries(typing_extensions.TypedDict, total=False): +class Layersummaries(typing.TypedDict, total=False): items: _list[Layersummary] kind: str totalItems: int @typing.type_check_only -class Layersummary(typing_extensions.TypedDict, total=False): +class Layersummary(typing.TypedDict, total=False): annotationCount: int annotationTypes: _list[str] annotationsDataLink: str @@ -191,12 +189,12 @@ class Layersummary(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): items: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): body: str crmExperimentIds: _list[str] doc_id: str @@ -215,12 +213,12 @@ class Notification(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Offers(typing_extensions.TypedDict, total=False): +class Offers(typing.TypedDict, total=False): items: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class ReadingPosition(typing_extensions.TypedDict, total=False): +class ReadingPosition(typing.TypedDict, total=False): epubCfiPosition: str gbImagePosition: str gbTextPosition: str @@ -230,13 +228,13 @@ class ReadingPosition(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class RequestAccessData(typing_extensions.TypedDict, total=False): +class RequestAccessData(typing.TypedDict, total=False): concurrentAccess: ConcurrentAccessRestriction downloadAccess: DownloadAccessRestriction kind: str @typing.type_check_only -class Review(typing_extensions.TypedDict, total=False): +class Review(typing.TypedDict, total=False): author: dict[str, typing.Any] content: str date: str @@ -249,24 +247,24 @@ class Review(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class Series(typing_extensions.TypedDict, total=False): +class Series(typing.TypedDict, total=False): kind: str series: _list[dict[str, typing.Any]] @typing.type_check_only -class Seriesmembership(typing_extensions.TypedDict, total=False): +class Seriesmembership(typing.TypedDict, total=False): kind: str member: _list[Volume] nextPageToken: str @typing.type_check_only -class Usersettings(typing_extensions.TypedDict, total=False): +class Usersettings(typing.TypedDict, total=False): kind: str notesExport: dict[str, typing.Any] notification: dict[str, typing.Any] @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): accessInfo: dict[str, typing.Any] etag: str id: str @@ -280,13 +278,13 @@ class Volume(typing_extensions.TypedDict, total=False): volumeInfo: dict[str, typing.Any] @typing.type_check_only -class Volume2(typing_extensions.TypedDict, total=False): +class Volume2(typing.TypedDict, total=False): items: _list[Volume] kind: str nextPageToken: str @typing.type_check_only -class Volumeannotation(typing_extensions.TypedDict, total=False): +class Volumeannotation(typing.TypedDict, total=False): annotationDataId: str annotationDataLink: str annotationType: str @@ -303,7 +301,7 @@ class Volumeannotation(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class Volumeannotations(typing_extensions.TypedDict, total=False): +class Volumeannotations(typing.TypedDict, total=False): items: _list[Volumeannotation] kind: str nextPageToken: str @@ -311,13 +309,13 @@ class Volumeannotations(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Volumes(typing_extensions.TypedDict, total=False): +class Volumes(typing.TypedDict, total=False): items: _list[Volume] kind: str totalItems: int @typing.type_check_only -class Volumeseriesinfo(typing_extensions.TypedDict, total=False): +class Volumeseriesinfo(typing.TypedDict, total=False): bookDisplayNumber: str kind: str shortSeriesBookTitle: str diff --git a/googleapiclient-stubs/_apis/businessprofileperformance/v1/resources.pyi b/googleapiclient-stubs/_apis/businessprofileperformance/v1/resources.pyi index b2a9792b2..cdf6c4d32 100644 --- a/googleapiclient-stubs/_apis/businessprofileperformance/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/businessprofileperformance/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -51,7 +50,7 @@ class BusinessProfilePerformanceResource(googleapiclient.discovery.Resource): self, *, location: str, - dailyMetrics: typing_extensions.Literal[ + dailyMetrics: typing.Literal[ "DAILY_METRIC_UNKNOWN", "BUSINESS_IMPRESSIONS_DESKTOP_MAPS", "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", @@ -66,7 +65,7 @@ class BusinessProfilePerformanceResource(googleapiclient.discovery.Resource): "BUSINESS_FOOD_MENU_CLICKS", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DAILY_METRIC_UNKNOWN", "BUSINESS_IMPRESSIONS_DESKTOP_MAPS", "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", @@ -94,7 +93,7 @@ class BusinessProfilePerformanceResource(googleapiclient.discovery.Resource): self, *, name: str, - dailyMetric: typing_extensions.Literal[ + dailyMetric: typing.Literal[ "DAILY_METRIC_UNKNOWN", "BUSINESS_IMPRESSIONS_DESKTOP_MAPS", "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", @@ -115,7 +114,7 @@ class BusinessProfilePerformanceResource(googleapiclient.discovery.Resource): dailyRange_startDate_day: int | None = ..., dailyRange_startDate_month: int | None = ..., dailyRange_startDate_year: int | None = ..., - dailySubEntityType_dayOfWeek: typing_extensions.Literal[ + dailySubEntityType_dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", diff --git a/googleapiclient-stubs/_apis/businessprofileperformance/v1/schemas.pyi b/googleapiclient-stubs/_apis/businessprofileperformance/v1/schemas.pyi index 0f26556d8..c0b119867 100644 --- a/googleapiclient-stubs/_apis/businessprofileperformance/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/businessprofileperformance/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DailyMetricTimeSeries(typing_extensions.TypedDict, total=False): - dailyMetric: typing_extensions.Literal[ +class DailyMetricTimeSeries(typing.TypedDict, total=False): + dailyMetric: typing.Literal[ "DAILY_METRIC_UNKNOWN", "BUSINESS_IMPRESSIONS_DESKTOP_MAPS", "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", @@ -24,8 +22,8 @@ class DailyMetricTimeSeries(typing_extensions.TypedDict, total=False): timeSeries: TimeSeries @typing.type_check_only -class DailySubEntityType(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class DailySubEntityType(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -38,54 +36,50 @@ class DailySubEntityType(typing_extensions.TypedDict, total=False): timeOfDay: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DatedValue(typing_extensions.TypedDict, total=False): +class DatedValue(typing.TypedDict, total=False): date: Date value: str @typing.type_check_only -class FetchMultiDailyMetricsTimeSeriesResponse( - typing_extensions.TypedDict, total=False -): +class FetchMultiDailyMetricsTimeSeriesResponse(typing.TypedDict, total=False): multiDailyMetricTimeSeries: _list[MultiDailyMetricTimeSeries] @typing.type_check_only -class GetDailyMetricsTimeSeriesResponse(typing_extensions.TypedDict, total=False): +class GetDailyMetricsTimeSeriesResponse(typing.TypedDict, total=False): timeSeries: TimeSeries @typing.type_check_only -class InsightsValue(typing_extensions.TypedDict, total=False): +class InsightsValue(typing.TypedDict, total=False): threshold: str value: str @typing.type_check_only -class ListSearchKeywordImpressionsMonthlyResponse( - typing_extensions.TypedDict, total=False -): +class ListSearchKeywordImpressionsMonthlyResponse(typing.TypedDict, total=False): nextPageToken: str searchKeywordsCounts: _list[SearchKeywordCount] @typing.type_check_only -class MultiDailyMetricTimeSeries(typing_extensions.TypedDict, total=False): +class MultiDailyMetricTimeSeries(typing.TypedDict, total=False): dailyMetricTimeSeries: _list[DailyMetricTimeSeries] @typing.type_check_only -class SearchKeywordCount(typing_extensions.TypedDict, total=False): +class SearchKeywordCount(typing.TypedDict, total=False): insightsValue: InsightsValue searchKeyword: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeSeries(typing_extensions.TypedDict, total=False): +class TimeSeries(typing.TypedDict, total=False): datedValues: _list[DatedValue] diff --git a/googleapiclient-stubs/_apis/calendar/v3/resources.pyi b/googleapiclient-stubs/_apis/calendar/v3/resources.pyi index b375c52f8..63ed76045 100644 --- a/googleapiclient-stubs/_apis/calendar/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/calendar/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -91,7 +90,7 @@ class CalendarResource(googleapiclient.discovery.Resource): self, *, maxResults: int | None = ..., - minAccessRole: typing_extensions.Literal[ + minAccessRole: typing.Literal[ "freeBusyReader", "owner", "reader", @@ -102,6 +101,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: ... @@ -131,7 +131,7 @@ class CalendarResource(googleapiclient.discovery.Resource): *, body: Channel, maxResults: int | None = ..., - minAccessRole: typing_extensions.Literal[ + minAccessRole: typing.Literal[ "freeBusyReader", "owner", "reader", @@ -142,6 +142,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 +164,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: ... @@ -185,8 +194,7 @@ class CalendarResource(googleapiclient.discovery.Resource): calendarId: str, eventId: str, sendNotifications: bool | None = ..., - sendUpdates: typing_extensions.Literal["all", "externalOnly", "none"] - | None = ..., + sendUpdates: typing.Literal["all", "externalOnly", "none"] | None = ..., **kwargs: typing.Any, ) -> googleapiclient.http.HttpRequest: ... def get( @@ -205,6 +213,7 @@ class CalendarResource(googleapiclient.discovery.Resource): calendarId: str, body: Event, conferenceDataVersion: int | None = ..., + eventLabelVersion: int | None = ..., supportsAttachments: bool | None = ..., **kwargs: typing.Any, ) -> EventHttpRequest: ... @@ -214,10 +223,10 @@ 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"] - | None = ..., + sendUpdates: typing.Literal["all", "externalOnly", "none"] | None = ..., supportsAttachments: bool | None = ..., **kwargs: typing.Any, ) -> EventHttpRequest: ... @@ -245,7 +254,7 @@ class CalendarResource(googleapiclient.discovery.Resource): *, calendarId: str, alwaysIncludeEmail: bool | None = ..., - eventTypes: typing_extensions.Literal[ + eventTypes: typing.Literal[ "birthday", "default", "focusTime", @@ -254,7 +263,7 @@ class CalendarResource(googleapiclient.discovery.Resource): "workingLocation", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "birthday", "default", "focusTime", @@ -267,7 +276,7 @@ class CalendarResource(googleapiclient.discovery.Resource): iCalUID: str | None = ..., maxAttendees: int | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal["startTime", "updated"] | None = ..., + orderBy: typing.Literal["startTime", "updated"] | None = ..., pageToken: str | None = ..., privateExtendedProperty: str | _list[str] | None = ..., q: str | None = ..., @@ -292,8 +301,7 @@ class CalendarResource(googleapiclient.discovery.Resource): eventId: str, destination: str, sendNotifications: bool | None = ..., - sendUpdates: typing_extensions.Literal["all", "externalOnly", "none"] - | None = ..., + sendUpdates: typing.Literal["all", "externalOnly", "none"] | None = ..., **kwargs: typing.Any, ) -> EventHttpRequest: ... def patch( @@ -304,10 +312,10 @@ 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"] - | None = ..., + sendUpdates: typing.Literal["all", "externalOnly", "none"] | None = ..., supportsAttachments: bool | None = ..., **kwargs: typing.Any, ) -> EventHttpRequest: ... @@ -317,8 +325,7 @@ class CalendarResource(googleapiclient.discovery.Resource): calendarId: str, text: str, sendNotifications: bool | None = ..., - sendUpdates: typing_extensions.Literal["all", "externalOnly", "none"] - | None = ..., + sendUpdates: typing.Literal["all", "externalOnly", "none"] | None = ..., **kwargs: typing.Any, ) -> EventHttpRequest: ... def update( @@ -329,10 +336,10 @@ 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"] - | None = ..., + sendUpdates: typing.Literal["all", "externalOnly", "none"] | None = ..., supportsAttachments: bool | None = ..., **kwargs: typing.Any, ) -> EventHttpRequest: ... @@ -342,7 +349,7 @@ class CalendarResource(googleapiclient.discovery.Resource): calendarId: str, body: Channel, alwaysIncludeEmail: bool | None = ..., - eventTypes: typing_extensions.Literal[ + eventTypes: typing.Literal[ "birthday", "default", "focusTime", @@ -351,7 +358,7 @@ class CalendarResource(googleapiclient.discovery.Resource): "workingLocation", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "birthday", "default", "focusTime", @@ -364,7 +371,7 @@ class CalendarResource(googleapiclient.discovery.Resource): iCalUID: str | None = ..., maxAttendees: int | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal["startTime", "updated"] | None = ..., + orderBy: typing.Literal["startTime", "updated"] | None = ..., pageToken: str | None = ..., privateExtendedProperty: str | _list[str] | None = ..., q: str | None = ..., diff --git a/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi b/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi index 34aaf2569..03104259b 100644 --- a/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Acl(typing_extensions.TypedDict, total=False): +class Acl(typing.TypedDict, total=False): etag: str items: _list[AclRule] kind: str @@ -13,7 +11,7 @@ class Acl(typing_extensions.TypedDict, total=False): nextSyncToken: str @typing.type_check_only -class AclRule(typing_extensions.TypedDict, total=False): +class AclRule(typing.TypedDict, total=False): etag: str id: str kind: str @@ -21,7 +19,7 @@ class AclRule(typing_extensions.TypedDict, total=False): scope: dict[str, typing.Any] @typing.type_check_only -class Calendar(typing_extensions.TypedDict, total=False): +class Calendar(typing.TypedDict, total=False): autoAcceptInvitations: bool conferenceProperties: ConferenceProperties dataOwner: str @@ -29,12 +27,13 @@ class Calendar(typing_extensions.TypedDict, total=False): etag: str id: str kind: str + labelProperties: LabelProperties location: str summary: str timeZone: str @typing.type_check_only -class CalendarList(typing_extensions.TypedDict, total=False): +class CalendarList(typing.TypedDict, total=False): etag: str items: _list[CalendarListEntry] kind: str @@ -42,7 +41,7 @@ class CalendarList(typing_extensions.TypedDict, total=False): nextSyncToken: str @typing.type_check_only -class CalendarListEntry(typing_extensions.TypedDict, total=False): +class CalendarListEntry(typing.TypedDict, total=False): accessRole: str autoAcceptInvitations: bool backgroundColor: str @@ -66,12 +65,12 @@ class CalendarListEntry(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class CalendarNotification(typing_extensions.TypedDict, total=False): +class CalendarNotification(typing.TypedDict, total=False): method: str type: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): address: str expiration: str id: str @@ -84,19 +83,19 @@ class Channel(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ColorDefinition(typing_extensions.TypedDict, total=False): +class ColorDefinition(typing.TypedDict, total=False): background: str foreground: str @typing.type_check_only -class Colors(typing_extensions.TypedDict, total=False): +class Colors(typing.TypedDict, total=False): calendar: dict[str, typing.Any] event: dict[str, typing.Any] kind: str updated: str @typing.type_check_only -class ConferenceData(typing_extensions.TypedDict, total=False): +class ConferenceData(typing.TypedDict, total=False): conferenceId: str conferenceSolution: ConferenceSolution createRequest: CreateConferenceRequest @@ -106,39 +105,39 @@ class ConferenceData(typing_extensions.TypedDict, total=False): signature: str @typing.type_check_only -class ConferenceParameters(typing_extensions.TypedDict, total=False): +class ConferenceParameters(typing.TypedDict, total=False): addOnParameters: ConferenceParametersAddOnParameters @typing.type_check_only -class ConferenceParametersAddOnParameters(typing_extensions.TypedDict, total=False): +class ConferenceParametersAddOnParameters(typing.TypedDict, total=False): parameters: dict[str, typing.Any] @typing.type_check_only -class ConferenceProperties(typing_extensions.TypedDict, total=False): +class ConferenceProperties(typing.TypedDict, total=False): allowedConferenceSolutionTypes: _list[str] @typing.type_check_only -class ConferenceRequestStatus(typing_extensions.TypedDict, total=False): +class ConferenceRequestStatus(typing.TypedDict, total=False): statusCode: str @typing.type_check_only -class ConferenceSolution(typing_extensions.TypedDict, total=False): +class ConferenceSolution(typing.TypedDict, total=False): iconUri: str key: ConferenceSolutionKey name: str @typing.type_check_only -class ConferenceSolutionKey(typing_extensions.TypedDict, total=False): +class ConferenceSolutionKey(typing.TypedDict, total=False): type: str @typing.type_check_only -class CreateConferenceRequest(typing_extensions.TypedDict, total=False): +class CreateConferenceRequest(typing.TypedDict, total=False): conferenceSolutionKey: ConferenceSolutionKey requestId: str status: ConferenceRequestStatus @typing.type_check_only -class EntryPoint(typing_extensions.TypedDict, total=False): +class EntryPoint(typing.TypedDict, total=False): accessCode: str entryPointFeatures: _list[str] entryPointType: str @@ -151,12 +150,12 @@ class EntryPoint(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): domain: str reason: str @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): anyoneCanAddSelf: bool attachments: _list[EventAttachment] attendees: _list[EventAttendee] @@ -170,6 +169,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 @@ -202,7 +202,7 @@ class Event(typing_extensions.TypedDict, total=False): workingLocationProperties: EventWorkingLocationProperties @typing.type_check_only -class EventAttachment(typing_extensions.TypedDict, total=False): +class EventAttachment(typing.TypedDict, total=False): fileId: str fileUrl: str iconLink: str @@ -210,7 +210,7 @@ class EventAttachment(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class EventAttendee(typing_extensions.TypedDict, total=False): +class EventAttendee(typing.TypedDict, total=False): additionalGuests: int asyncOperation: str comment: str @@ -224,45 +224,48 @@ class EventAttendee(typing_extensions.TypedDict, total=False): self: bool @typing.type_check_only -class EventBirthdayProperties(typing_extensions.TypedDict, total=False): +class EventBirthdayProperties(typing.TypedDict, total=False): contact: str customTypeName: str type: str @typing.type_check_only -class EventDateTime(typing_extensions.TypedDict, total=False): +class EventDateTime(typing.TypedDict, total=False): date: str dateTime: str timeZone: str @typing.type_check_only -class EventFocusTimeProperties(typing_extensions.TypedDict, total=False): +class EventFocusTimeProperties(typing.TypedDict, total=False): autoDeclineMode: str chatStatus: str declineMessage: str @typing.type_check_only -class EventLabel(dict[str, typing.Any]): ... +class EventLabel(typing.TypedDict, total=False): + backgroundColor: str + id: str + name: str @typing.type_check_only -class EventOutOfOfficeProperties(typing_extensions.TypedDict, total=False): +class EventOutOfOfficeProperties(typing.TypedDict, total=False): autoDeclineMode: str declineMessage: str @typing.type_check_only -class EventReminder(typing_extensions.TypedDict, total=False): +class EventReminder(typing.TypedDict, total=False): method: str minutes: int @typing.type_check_only -class EventWorkingLocationProperties(typing_extensions.TypedDict, total=False): +class EventWorkingLocationProperties(typing.TypedDict, total=False): customLocation: dict[str, typing.Any] homeOffice: typing.Any officeLocation: dict[str, typing.Any] type: str @typing.type_check_only -class Events(typing_extensions.TypedDict, total=False): +class Events(typing.TypedDict, total=False): accessRole: str defaultReminders: _list[EventReminder] description: str @@ -276,17 +279,17 @@ class Events(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class FreeBusyCalendar(typing_extensions.TypedDict, total=False): +class FreeBusyCalendar(typing.TypedDict, total=False): busy: _list[TimePeriod] errors: _list[Error] @typing.type_check_only -class FreeBusyGroup(typing_extensions.TypedDict, total=False): +class FreeBusyGroup(typing.TypedDict, total=False): calendars: _list[str] errors: _list[Error] @typing.type_check_only -class FreeBusyRequest(typing_extensions.TypedDict, total=False): +class FreeBusyRequest(typing.TypedDict, total=False): calendarExpansionMax: int groupExpansionMax: int items: _list[FreeBusyRequestItem] @@ -295,11 +298,11 @@ class FreeBusyRequest(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class FreeBusyRequestItem(typing_extensions.TypedDict, total=False): +class FreeBusyRequestItem(typing.TypedDict, total=False): id: str @typing.type_check_only -class FreeBusyResponse(typing_extensions.TypedDict, total=False): +class FreeBusyResponse(typing.TypedDict, total=False): calendars: dict[str, typing.Any] groups: dict[str, typing.Any] kind: str @@ -307,17 +310,18 @@ class FreeBusyResponse(typing_extensions.TypedDict, total=False): timeMin: str @typing.type_check_only -class LabelProperties(dict[str, typing.Any]): ... +class LabelProperties(typing.TypedDict, total=False): + eventLabels: _list[EventLabel] @typing.type_check_only -class Setting(typing_extensions.TypedDict, total=False): +class Setting(typing.TypedDict, total=False): etag: str id: str kind: str value: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): etag: str items: _list[Setting] kind: str @@ -325,6 +329,6 @@ class Settings(typing_extensions.TypedDict, total=False): nextSyncToken: str @typing.type_check_only -class TimePeriod(typing_extensions.TypedDict, total=False): +class TimePeriod(typing.TypedDict, total=False): end: str start: str diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi index 7f160418f..dc1488dbf 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi index 2e7e83220..29b212fd6 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi @@ -1,37 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AllowlistedCertificate(typing_extensions.TypedDict, total=False): +class AllowlistedCertificate(typing.TypedDict, total=False): pemCertificate: str @typing.type_check_only -class AuthorizationAttemptInfo(typing_extensions.TypedDict, total=False): +class AuthorizationAttemptInfo(typing.TypedDict, total=False): attemptTime: str details: str domain: str - failureReason: typing_extensions.Literal[ + failureReason: typing.Literal[ "FAILURE_REASON_UNSPECIFIED", "CONFIG", "CAA", "RATE_LIMITED" ] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "AUTHORIZING", "AUTHORIZED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "AUTHORIZING", "AUTHORIZED", "FAILED"] troubleshooting: Troubleshooting @typing.type_check_only -class CNAME(typing_extensions.TypedDict, total=False): +class CNAME(typing.TypedDict, total=False): expectedData: str name: str resolvedData: _list[str] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Certificate(typing_extensions.TypedDict, total=False): +class Certificate(typing.TypedDict, total=False): createTime: str description: str expireTime: str @@ -41,148 +37,146 @@ class Certificate(typing_extensions.TypedDict, total=False): name: str pemCertificate: str sanDnsnames: _list[str] - scope: typing_extensions.Literal[ - "DEFAULT", "EDGE_CACHE", "ALL_REGIONS", "CLIENT_AUTH" - ] + scope: typing.Literal["DEFAULT", "EDGE_CACHE", "ALL_REGIONS", "CLIENT_AUTH"] selfManaged: SelfManagedCertificate + tags: dict[str, typing.Any] updateTime: str usedBy: _list[UsedBy] @typing.type_check_only -class CertificateAuthorityConfig(typing_extensions.TypedDict, total=False): +class CertificateAuthorityConfig(typing.TypedDict, total=False): certificateAuthorityServiceConfig: CertificateAuthorityServiceConfig @typing.type_check_only -class CertificateAuthorityServiceConfig(typing_extensions.TypedDict, total=False): +class CertificateAuthorityServiceConfig(typing.TypedDict, total=False): caPool: str @typing.type_check_only -class CertificateIssuanceConfig(typing_extensions.TypedDict, total=False): +class CertificateIssuanceConfig(typing.TypedDict, total=False): certificateAuthorityConfig: CertificateAuthorityConfig createTime: str description: str - keyAlgorithm: typing_extensions.Literal[ - "KEY_ALGORITHM_UNSPECIFIED", "RSA_2048", "ECDSA_P256" - ] + keyAlgorithm: typing.Literal["KEY_ALGORITHM_UNSPECIFIED", "RSA_2048", "ECDSA_P256"] labels: dict[str, typing.Any] lifetime: str name: str rotationWindowPercentage: int + tags: dict[str, typing.Any] updateTime: str @typing.type_check_only -class CertificateMap(typing_extensions.TypedDict, total=False): +class CertificateMap(typing.TypedDict, total=False): createTime: str description: str gclbTargets: _list[GclbTarget] labels: dict[str, typing.Any] name: str + tags: dict[str, typing.Any] updateTime: str @typing.type_check_only -class CertificateMapEntry(typing_extensions.TypedDict, total=False): +class CertificateMapEntry(typing.TypedDict, total=False): certificates: _list[str] createTime: str description: str hostname: str labels: dict[str, typing.Any] - matcher: typing_extensions.Literal["MATCHER_UNSPECIFIED", "PRIMARY"] + matcher: typing.Literal["MATCHER_UNSPECIFIED", "PRIMARY"] name: str - state: typing_extensions.Literal["SERVING_STATE_UNSPECIFIED", "ACTIVE", "PENDING"] + state: typing.Literal["SERVING_STATE_UNSPECIFIED", "ACTIVE", "PENDING"] updateTime: str @typing.type_check_only -class DnsAuthorization(typing_extensions.TypedDict, total=False): +class DnsAuthorization(typing.TypedDict, total=False): createTime: str description: str dnsResourceRecord: DnsResourceRecord domain: str labels: dict[str, typing.Any] name: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FIXED_RECORD", "PER_PROJECT_RECORD" - ] + tags: dict[str, typing.Any] + type: typing.Literal["TYPE_UNSPECIFIED", "FIXED_RECORD", "PER_PROJECT_RECORD"] updateTime: str @typing.type_check_only -class DnsResourceRecord(typing_extensions.TypedDict, total=False): +class DnsResourceRecord(typing.TypedDict, total=False): data: str name: str type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GclbTarget(typing_extensions.TypedDict, total=False): +class GclbTarget(typing.TypedDict, total=False): ipConfigs: _list[IpConfig] targetHttpsProxy: str targetSslProxy: str @typing.type_check_only -class IPs(typing_extensions.TypedDict, total=False): +class IPs(typing.TypedDict, total=False): resolved: _list[str] serving: _list[str] servingOnAltPorts: _list[str] @typing.type_check_only -class IntermediateCA(typing_extensions.TypedDict, total=False): +class IntermediateCA(typing.TypedDict, total=False): pemCertificate: str @typing.type_check_only -class IpConfig(typing_extensions.TypedDict, total=False): +class IpConfig(typing.TypedDict, total=False): ipAddress: str ports: _list[int] @typing.type_check_only -class ListCertificateIssuanceConfigsResponse(typing_extensions.TypedDict, total=False): +class ListCertificateIssuanceConfigsResponse(typing.TypedDict, total=False): certificateIssuanceConfigs: _list[CertificateIssuanceConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCertificateMapEntriesResponse(typing_extensions.TypedDict, total=False): +class ListCertificateMapEntriesResponse(typing.TypedDict, total=False): certificateMapEntries: _list[CertificateMapEntry] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCertificateMapsResponse(typing_extensions.TypedDict, total=False): +class ListCertificateMapsResponse(typing.TypedDict, total=False): certificateMaps: _list[CertificateMap] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCertificatesResponse(typing_extensions.TypedDict, total=False): +class ListCertificatesResponse(typing.TypedDict, total=False): certificates: _list[Certificate] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDnsAuthorizationsResponse(typing_extensions.TypedDict, total=False): +class ListDnsAuthorizationsResponse(typing.TypedDict, total=False): dnsAuthorizations: _list[DnsAuthorization] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTrustConfigsResponse(typing_extensions.TypedDict, total=False): +class ListTrustConfigsResponse(typing.TypedDict, total=False): nextPageToken: str trustConfigs: _list[TrustConfig] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -190,26 +184,22 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ManagedCertificate(typing_extensions.TypedDict, total=False): +class ManagedCertificate(typing.TypedDict, total=False): authorizationAttemptInfo: _list[AuthorizationAttemptInfo] dnsAuthorizations: _list[str] domains: _list[str] issuanceConfig: str provisioningIssue: ProvisioningIssue - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PROVISIONING", "FAILED", "ACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PROVISIONING", "FAILED", "ACTIVE"] @typing.type_check_only -class ManagedIdentityCertificate(typing_extensions.TypedDict, total=False): +class ManagedIdentityCertificate(typing.TypedDict, total=False): identity: str provisioningIssue: ProvisioningIssue - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PROVISIONING", "FAILED", "ACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PROVISIONING", "FAILED", "ACTIVE"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -217,7 +207,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -227,29 +217,27 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ProvisioningIssue(typing_extensions.TypedDict, total=False): +class ProvisioningIssue(typing.TypedDict, total=False): details: str - reason: typing_extensions.Literal[ - "REASON_UNSPECIFIED", "AUTHORIZATION_ISSUE", "RATE_LIMITED" - ] + reason: typing.Literal["REASON_UNSPECIFIED", "AUTHORIZATION_ISSUE", "RATE_LIMITED"] @typing.type_check_only -class SelfManagedCertificate(typing_extensions.TypedDict, total=False): +class SelfManagedCertificate(typing.TypedDict, total=False): pemCertificate: str pemPrivateKey: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Troubleshooting(typing_extensions.TypedDict, total=False): +class Troubleshooting(typing.TypedDict, total=False): cname: CNAME ips: IPs issues: _list[ - typing_extensions.Literal[ + typing.Literal[ "ISSUE_UNSPECIFIED", "CNAME_MISMATCH", "RESOLVED_TO_NOT_SERVING", @@ -260,11 +248,11 @@ class Troubleshooting(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TrustAnchor(typing_extensions.TypedDict, total=False): +class TrustAnchor(typing.TypedDict, total=False): pemCertificate: str @typing.type_check_only -class TrustConfig(typing_extensions.TypedDict, total=False): +class TrustConfig(typing.TypedDict, total=False): allowlistedCertificates: _list[AllowlistedCertificate] createTime: str description: str @@ -272,14 +260,15 @@ 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 @typing.type_check_only -class TrustStore(typing_extensions.TypedDict, total=False): +class TrustStore(typing.TypedDict, total=False): intermediateCas: _list[IntermediateCA] trustAnchors: _list[TrustAnchor] @typing.type_check_only -class UsedBy(typing_extensions.TypedDict, total=False): +class UsedBy(typing.TypedDict, total=False): name: str diff --git a/googleapiclient-stubs/_apis/ces/v1/resources.pyi b/googleapiclient-stubs/_apis/ces/v1/resources.pyi index d269a879e..9e9aba319 100644 --- a/googleapiclient-stubs/_apis/ces/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ces/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -98,7 +97,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): self, *, name: str, - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -112,7 +111,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): self, *, name: str, - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -120,6 +119,12 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): "AGENT_TOOL", ] | None = ..., + view: typing.Literal[ + "CONVERSATION_VIEW_UNSPECIFIED", + "CONVERSATION_VIEW_BASIC", + "CONVERSATION_VIEW_FULL", + ] + | None = ..., **kwargs: typing.Any, ) -> ConversationHttpRequest: ... def list( @@ -129,7 +134,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -137,7 +142,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): "AGENT_TOOL", ] | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -145,7 +150,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): "AGENT_TOOL", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -164,6 +169,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 +193,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 +218,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 +438,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 +462,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 +487,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): body: RestoreAppVersionRequest, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def message(self) -> MessageResource: ... def create( self, @@ -474,6 +507,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 +711,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..03405c407 100644 --- a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi @@ -1,25 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): connectionActionId: str entityOperation: ActionEntityOperation inputFields: _list[str] outputFields: _list[str] @typing.type_check_only -class ActionEntityOperation(typing_extensions.TypedDict, total=False): +class ActionEntityOperation(typing.TypedDict, total=False): entityId: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] @typing.type_check_only -class Agent(typing_extensions.TypedDict, total=False): +class Agent(typing.TypedDict, total=False): afterAgentCallbacks: _list[Callback] afterModelCallbacks: _list[Callback] afterToolCallbacks: _list[Callback] @@ -45,12 +43,12 @@ class Agent(typing_extensions.TypedDict, total=False): validationErrors: _list[str] @typing.type_check_only -class AgentAgentToolset(typing_extensions.TypedDict, total=False): +class AgentAgentToolset(typing.TypedDict, total=False): toolIds: _list[str] toolset: str @typing.type_check_only -class AgentCard(typing_extensions.TypedDict, total=False): +class AgentCard(typing.TypedDict, total=False): description: str name: str skills: _list[AgentSkill] @@ -58,17 +56,17 @@ class AgentCard(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class AgentInterface(typing_extensions.TypedDict, total=False): +class AgentInterface(typing.TypedDict, total=False): protocolBinding: str protocolVersion: str tenant: str url: str @typing.type_check_only -class AgentLlmAgent(typing_extensions.TypedDict, total=False): ... +class AgentLlmAgent(typing.TypedDict, total=False): ... @typing.type_check_only -class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): +class AgentRemoteDialogflowAgent(typing.TypedDict, total=False): agent: str environmentId: str flowId: str @@ -78,7 +76,7 @@ class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): respectResponseInterruptionSettings: bool @typing.type_check_only -class AgentSkill(typing_extensions.TypedDict, total=False): +class AgentSkill(typing.TypedDict, total=False): description: str examples: _list[str] id: str @@ -88,21 +86,20 @@ class AgentSkill(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class AgentTool(typing_extensions.TypedDict, total=False): +class AgentTool(typing.TypedDict, total=False): agent: str description: str name: str - rootAgent: str @typing.type_check_only -class AgentTransfer(typing_extensions.TypedDict, total=False): +class AgentTransfer(typing.TypedDict, total=False): displayName: str targetAgent: str @typing.type_check_only -class AmbientSoundConfig(typing_extensions.TypedDict, total=False): +class AmbientSoundConfig(typing.TypedDict, total=False): gcsUri: str - prebuiltAmbientNoise: typing_extensions.Literal[ + prebuiltAmbientNoise: typing.Literal[ "PREBUILT_AMBIENT_NOISE_UNSPECIFIED", "RETAIL_STORE", "CONVENTION_HALL", @@ -112,7 +109,7 @@ class AmbientSoundConfig(typing_extensions.TypedDict, total=False): volumeGainDb: float @typing.type_check_only -class ApiAuthentication(typing_extensions.TypedDict, total=False): +class ApiAuthentication(typing.TypedDict, total=False): apiKeyConfig: ApiKeyConfig bearerTokenConfig: BearerTokenConfig oauthConfig: OAuthConfig @@ -120,15 +117,15 @@ class ApiAuthentication(typing_extensions.TypedDict, total=False): serviceAgentIdTokenAuthConfig: ServiceAgentIdTokenAuthConfig @typing.type_check_only -class ApiKeyConfig(typing_extensions.TypedDict, total=False): +class ApiKeyConfig(typing.TypedDict, total=False): apiKeySecretVersion: str keyName: str - requestLocation: typing_extensions.Literal[ + requestLocation: typing.Literal[ "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] @typing.type_check_only -class App(typing_extensions.TypedDict, total=False): +class App(typing.TypedDict, total=False): audioProcessingConfig: AudioProcessingConfig clientCertificateSettings: ClientCertificateSettings createTime: str @@ -152,7 +149,7 @@ class App(typing_extensions.TypedDict, total=False): predefinedVariableDeclarations: _list[AppVariableDeclaration] rootAgent: str timeZoneSettings: TimeZoneSettings - toolExecutionMode: typing_extensions.Literal[ + toolExecutionMode: typing.Literal[ "TOOL_EXECUTION_MODE_UNSPECIFIED", "PARALLEL", "SEQUENTIAL" ] updateTime: str @@ -161,7 +158,7 @@ class App(typing_extensions.TypedDict, total=False): vpcScSettings: VpcScSettings @typing.type_check_only -class AppSnapshot(typing_extensions.TypedDict, total=False): +class AppSnapshot(typing.TypedDict, total=False): agents: _list[Agent] app: App examples: _list[Example] @@ -170,13 +167,13 @@ class AppSnapshot(typing_extensions.TypedDict, total=False): toolsets: _list[Toolset] @typing.type_check_only -class AppVariableDeclaration(typing_extensions.TypedDict, total=False): +class AppVariableDeclaration(typing.TypedDict, total=False): description: str name: str schema: Schema @typing.type_check_only -class AppVersion(typing_extensions.TypedDict, total=False): +class AppVersion(typing.TypedDict, total=False): createTime: str creator: str description: str @@ -186,53 +183,53 @@ class AppVersion(typing_extensions.TypedDict, total=False): snapshot: AppSnapshot @typing.type_check_only -class AudioProcessingConfig(typing_extensions.TypedDict, total=False): +class AudioProcessingConfig(typing.TypedDict, total=False): ambientSoundConfig: AmbientSoundConfig bargeInConfig: BargeInConfig inactivityTimeout: str synthesizeSpeechConfigs: dict[str, typing.Any] @typing.type_check_only -class AudioRecordingConfig(typing_extensions.TypedDict, total=False): +class AudioRecordingConfig(typing.TypedDict, total=False): gcsBucket: str gcsPathPrefix: str @typing.type_check_only -class BargeInConfig(typing_extensions.TypedDict, total=False): +class BargeInConfig(typing.TypedDict, total=False): bargeInAwareness: bool disableBargeIn: bool @typing.type_check_only -class BatchDeleteConversationsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteConversationsRequest(typing.TypedDict, total=False): conversations: _list[str] @typing.type_check_only -class BearerTokenConfig(typing_extensions.TypedDict, total=False): +class BearerTokenConfig(typing.TypedDict, total=False): token: str @typing.type_check_only -class BigQueryExportSettings(typing_extensions.TypedDict, total=False): +class BigQueryExportSettings(typing.TypedDict, total=False): dataset: str enabled: bool project: str @typing.type_check_only -class Blob(typing_extensions.TypedDict, total=False): +class Blob(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only -class Callback(typing_extensions.TypedDict, total=False): +class Callback(typing.TypedDict, total=False): description: str disabled: bool proactiveExecutionEnabled: bool pythonCode: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Changelog(typing_extensions.TypedDict, total=False): +class Changelog(typing.TypedDict, total=False): action: str author: str createTime: str @@ -247,31 +244,43 @@ class Changelog(typing_extensions.TypedDict, total=False): sequenceNumber: str @typing.type_check_only -class ChannelProfile(typing_extensions.TypedDict, total=False): - channelType: typing_extensions.Literal[ +class ChannelProfile(typing.TypedDict, total=False): + channelType: typing.Literal[ "UNKNOWN", "WEB_UI", "API", "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 ChannelProfilePersonaProperty(typing_extensions.TypedDict, total=False): - persona: typing_extensions.Literal["UNKNOWN", "CONCISE", "CHATTY"] +class ChannelProfileInstagramConfig(typing.TypedDict, total=False): + description: str + displayName: str + instagramAccountId: str + thumbnailUrl: str @typing.type_check_only -class ChannelProfileWebWidgetConfig(typing_extensions.TypedDict, total=False): - modality: typing_extensions.Literal[ +class ChannelProfilePersonaProperty(typing.TypedDict, total=False): + persona: typing.Literal["UNKNOWN", "CONCISE", "CHATTY"] + +@typing.type_check_only +class ChannelProfileWebWidgetConfig(typing.TypedDict, total=False): + modality: typing.Literal[ "MODALITY_UNSPECIFIED", "CHAT_AND_VOICE", "VOICE_ONLY", @@ -279,20 +288,27 @@ class ChannelProfileWebWidgetConfig(typing_extensions.TypedDict, total=False): "CHAT_VOICE_AND_VIDEO", ] securitySettings: ChannelProfileWebWidgetConfigSecuritySettings - theme: typing_extensions.Literal["THEME_UNSPECIFIED", "LIGHT", "DARK"] + theme: typing.Literal["THEME_UNSPECIFIED", "LIGHT", "DARK"] webWidgetTitle: str @typing.type_check_only -class ChannelProfileWebWidgetConfigSecuritySettings( - typing_extensions.TypedDict, total=False -): +class ChannelProfileWebWidgetConfigSecuritySettings(typing.TypedDict, total=False): allowedOrigins: _list[str] enableOriginCheck: bool enablePublicAccess: bool enableRecaptcha: bool @typing.type_check_only -class Chunk(typing_extensions.TypedDict, total=False): +class ChannelProfileWhatsAppConfig(typing.TypedDict, total=False): + description: str + displayName: str + phoneNumber: str + phoneNumberId: str + thumbnailUrl: str + wabaId: str + +@typing.type_check_only +class Chunk(typing.TypedDict, total=False): agentTransfer: AgentTransfer blob: Blob defaultVariables: dict[str, typing.Any] @@ -305,38 +321,39 @@ class Chunk(typing_extensions.TypedDict, total=False): updatedVariables: dict[str, typing.Any] @typing.type_check_only -class Citations(typing_extensions.TypedDict, total=False): +class Citations(typing.TypedDict, total=False): citedChunks: _list[CitationsCitedChunk] @typing.type_check_only -class CitationsCitedChunk(typing_extensions.TypedDict, total=False): +class CitationsCitedChunk(typing.TypedDict, total=False): + requiresAttribution: bool text: str title: str uri: str @typing.type_check_only -class ClientCertificateSettings(typing_extensions.TypedDict, total=False): +class ClientCertificateSettings(typing.TypedDict, total=False): passphrase: str privateKey: str tlsCertificate: str @typing.type_check_only -class ClientFunction(typing_extensions.TypedDict, total=False): +class ClientFunction(typing.TypedDict, total=False): description: str name: str parameters: Schema response: Schema @typing.type_check_only -class CloudLoggingSettings(typing_extensions.TypedDict, total=False): +class CloudLoggingSettings(typing.TypedDict, total=False): enableCloudLogging: bool @typing.type_check_only -class CodeBlock(typing_extensions.TypedDict, total=False): +class CodeBlock(typing.TypedDict, total=False): pythonCode: str @typing.type_check_only -class ConnectorTool(typing_extensions.TypedDict, total=False): +class ConnectorTool(typing.TypedDict, total=False): action: Action authConfig: EndUserAuthConfig connection: str @@ -344,22 +361,22 @@ class ConnectorTool(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ConnectorToolset(typing_extensions.TypedDict, total=False): +class ConnectorToolset(typing.TypedDict, total=False): authConfig: EndUserAuthConfig connection: str connectorActions: _list[Action] @typing.type_check_only -class Conversation(typing_extensions.TypedDict, total=False): +class Conversation(typing.TypedDict, total=False): appVersion: str - channelType: typing_extensions.Literal[ + channelType: typing.Literal[ "CHANNEL_TYPE_UNSPECIFIED", "TEXT", "AUDIO", "MULTIMODAL" ] deployment: str endTime: str entryAgent: str inputTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "INPUT_TYPE_UNSPECIFIED", "INPUT_TYPE_TEXT", "INPUT_TYPE_EVENT", @@ -373,7 +390,7 @@ class Conversation(typing_extensions.TypedDict, total=False): languageCode: str messages: _list[Message] name: str - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL", "AGENT_TOOL" ] startTime: str @@ -381,177 +398,183 @@ class Conversation(typing_extensions.TypedDict, total=False): turns: _list[ConversationTurn] @typing.type_check_only -class ConversationLoggingSettings(typing_extensions.TypedDict, total=False): +class ConversationLoggingSettings(typing.TypedDict, total=False): disableConversationLogging: bool retentionWindow: str @typing.type_check_only -class ConversationTurn(typing_extensions.TypedDict, total=False): +class ConversationTurn(typing.TypedDict, total=False): messages: _list[Message] + resolvedDeveloperInstruction: str rootSpan: Span + templateAttributes: dict[str, typing.Any] + userIntendedText: str @typing.type_check_only -class DataStore(typing_extensions.TypedDict, total=False): +class DataStore(typing.TypedDict, total=False): connectorConfig: DataStoreConnectorConfig createTime: str displayName: str - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "FAQ", "CONNECTOR" ] @typing.type_check_only -class DataStoreConnectorConfig(typing_extensions.TypedDict, total=False): +class DataStoreConnectorConfig(typing.TypedDict, total=False): collection: str collectionDisplayName: str dataSource: str @typing.type_check_only -class DataStoreSettings(typing_extensions.TypedDict, total=False): +class DataStoreSettings(typing.TypedDict, total=False): engines: _list[DataStoreSettingsEngine] @typing.type_check_only -class DataStoreSettingsEngine(typing_extensions.TypedDict, total=False): +class DataStoreSettingsEngine(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "ENGINE_TYPE_SEARCH", "ENGINE_TYPE_CHAT" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "ENGINE_TYPE_SEARCH", "ENGINE_TYPE_CHAT"] @typing.type_check_only -class DataStoreTool(typing_extensions.TypedDict, total=False): +class DataStoreTool(typing.TypedDict, total=False): boostSpecs: _list[DataStoreToolBoostSpecs] dataStoreSource: DataStoreToolDataStoreSource description: str engineSource: DataStoreToolEngineSource - filterParameterBehavior: typing_extensions.Literal[ + filterParameterBehavior: typing.Literal[ "FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED", "ALWAYS_INCLUDE", "NEVER_INCLUDE" ] modalityConfigs: _list[DataStoreToolModalityConfig] name: str @typing.type_check_only -class DataStoreToolBoostSpec(typing_extensions.TypedDict, total=False): +class DataStoreToolBoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[DataStoreToolBoostSpecConditionBoostSpec] @typing.type_check_only -class DataStoreToolBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False -): +class DataStoreToolBoostSpecConditionBoostSpec(typing.TypedDict, total=False): boost: float boostControlSpec: DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec condition: str @typing.type_check_only class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only -class DataStoreToolBoostSpecs(typing_extensions.TypedDict, total=False): +class DataStoreToolBoostSpecs(typing.TypedDict, total=False): dataStores: _list[str] spec: _list[DataStoreToolBoostSpec] @typing.type_check_only -class DataStoreToolDataStoreSource(typing_extensions.TypedDict, total=False): +class DataStoreToolDataStoreSource(typing.TypedDict, total=False): dataStore: DataStore filter: str @typing.type_check_only -class DataStoreToolEngineSource(typing_extensions.TypedDict, total=False): +class DataStoreToolEngineSource(typing.TypedDict, total=False): dataStoreSources: _list[DataStoreToolDataStoreSource] engine: str filter: str @typing.type_check_only -class DataStoreToolGroundingConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolGroundingConfig(typing.TypedDict, total=False): disabled: bool groundingLevel: float @typing.type_check_only -class DataStoreToolModalityConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolModalityConfig(typing.TypedDict, total=False): groundingConfig: DataStoreToolGroundingConfig - modalityType: typing_extensions.Literal[ - "MODALITY_TYPE_UNSPECIFIED", "TEXT", "AUDIO" - ] + modalityType: typing.Literal["MODALITY_TYPE_UNSPECIFIED", "TEXT", "AUDIO"] rewriterConfig: DataStoreToolRewriterConfig + snippetsConfig: DataStoreToolSnippetsConfig summarizationConfig: DataStoreToolSummarizationConfig @typing.type_check_only -class DataStoreToolRewriterConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolRewriterConfig(typing.TypedDict, total=False): disabled: bool modelSettings: ModelSettings prompt: str @typing.type_check_only -class DataStoreToolSummarizationConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolSnippetsConfig(typing.TypedDict, total=False): + enableSnippets: bool + +@typing.type_check_only +class DataStoreToolSummarizationConfig(typing.TypedDict, total=False): disabled: bool modelSettings: ModelSettings prompt: str @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): appVersion: str channelProfile: ChannelProfile createTime: str displayName: str etag: str experimentConfig: ExperimentConfig + instagramCredentials: InstagramCredentials + modality: typing.Literal[ + "MODALITY_UNSPECIFIED", "MODALITY_TEXT", "MODALITY_VOICE", "MODALITY_VIDEO" + ] + modelSettings: ModelSettings name: str updateTime: str + whatsappCredentials: WhatsAppCredentials @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndSession(typing_extensions.TypedDict, total=False): +class EndSession(typing.TypedDict, total=False): metadata: dict[str, typing.Any] @typing.type_check_only -class EndUserAuthConfig(typing_extensions.TypedDict, total=False): +class EndUserAuthConfig(typing.TypedDict, total=False): oauth2AuthCodeConfig: EndUserAuthConfigOauth2AuthCodeConfig oauth2JwtBearerConfig: EndUserAuthConfigOauth2JwtBearerConfig @typing.type_check_only -class EndUserAuthConfigOauth2AuthCodeConfig(typing_extensions.TypedDict, total=False): +class EndUserAuthConfigOauth2AuthCodeConfig(typing.TypedDict, total=False): oauthToken: str @typing.type_check_only -class EndUserAuthConfigOauth2JwtBearerConfig(typing_extensions.TypedDict, total=False): +class EndUserAuthConfigOauth2JwtBearerConfig(typing.TypedDict, total=False): clientKey: str issuer: str subject: str @typing.type_check_only -class EndpointControlPolicy(typing_extensions.TypedDict, total=False): +class EndpointControlPolicy(typing.TypedDict, total=False): allowedOrigins: _list[str] - enforcementScope: typing_extensions.Literal[ + enforcementScope: typing.Literal[ "ENFORCEMENT_SCOPE_UNSPECIFIED", "VPCSC_ONLY", "ALWAYS" ] @typing.type_check_only -class ErrorHandlingSettings(typing_extensions.TypedDict, total=False): +class ErrorHandlingSettings(typing.TypedDict, total=False): endSessionConfig: ErrorHandlingSettingsEndSessionConfig - errorHandlingStrategy: typing_extensions.Literal[ + errorHandlingStrategy: typing.Literal[ "ERROR_HANDLING_STRATEGY_UNSPECIFIED", "NONE", "FALLBACK_RESPONSE", @@ -560,34 +583,32 @@ class ErrorHandlingSettings(typing_extensions.TypedDict, total=False): fallbackResponseConfig: ErrorHandlingSettingsFallbackResponseConfig @typing.type_check_only -class ErrorHandlingSettingsEndSessionConfig(typing_extensions.TypedDict, total=False): +class ErrorHandlingSettingsEndSessionConfig(typing.TypedDict, total=False): escalateSession: bool @typing.type_check_only -class ErrorHandlingSettingsFallbackResponseConfig( - typing_extensions.TypedDict, total=False -): +class ErrorHandlingSettingsFallbackResponseConfig(typing.TypedDict, total=False): customFallbackMessages: dict[str, typing.Any] maxFallbackAttempts: int @typing.type_check_only -class EvaluationMetricsThresholds(typing_extensions.TypedDict, total=False): +class EvaluationMetricsThresholds(typing.TypedDict, total=False): goldenEvaluationMetricsThresholds: ( EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds ) - goldenHallucinationMetricBehavior: typing_extensions.Literal[ + goldenHallucinationMetricBehavior: typing.Literal[ "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" ] - hallucinationMetricBehavior: typing_extensions.Literal[ + hallucinationMetricBehavior: typing.Literal[ "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" ] - scenarioHallucinationMetricBehavior: typing_extensions.Literal[ + scenarioHallucinationMetricBehavior: typing.Literal[ "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" ] @typing.type_check_only class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expectationLevelMetricsThresholds: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds toolMatchingSettings: EvaluationMetricsThresholdsToolMatchingSettings @@ -595,34 +616,32 @@ class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds( @typing.type_check_only class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolInvocationParameterCorrectnessThreshold: float @typing.type_check_only class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): overallToolInvocationCorrectnessThreshold: float - semanticSimilarityChannel: typing_extensions.Literal[ + semanticSimilarityChannel: typing.Literal[ "SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED", "TEXT", "AUDIO" ] semanticSimilaritySuccessThreshold: int @typing.type_check_only -class EvaluationMetricsThresholdsToolMatchingSettings( - typing_extensions.TypedDict, total=False -): - extraToolCallBehavior: typing_extensions.Literal[ +class EvaluationMetricsThresholdsToolMatchingSettings(typing.TypedDict, total=False): + extraToolCallBehavior: typing.Literal[ "EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED", "FAIL", "ALLOW" ] @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): event: str @typing.type_check_only -class Example(typing_extensions.TypedDict, total=False): +class Example(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -634,7 +653,7 @@ class Example(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ExecuteToolRequest(typing_extensions.TypedDict, total=False): +class ExecuteToolRequest(typing.TypedDict, total=False): args: dict[str, typing.Any] context: dict[str, typing.Any] mockConfig: MockConfig @@ -643,73 +662,69 @@ class ExecuteToolRequest(typing_extensions.TypedDict, total=False): variables: dict[str, typing.Any] @typing.type_check_only -class ExecuteToolResponse(typing_extensions.TypedDict, total=False): +class ExecuteToolResponse(typing.TypedDict, total=False): + citations: Citations + googleSearchSuggestions: GoogleSearchSuggestions response: dict[str, typing.Any] tool: str toolsetTool: ToolsetTool variables: dict[str, typing.Any] @typing.type_check_only -class ExperimentConfig(typing_extensions.TypedDict, total=False): +class ExperimentConfig(typing.TypedDict, total=False): versionRelease: ExperimentConfigVersionRelease @typing.type_check_only -class ExperimentConfigVersionRelease(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "EXPIRED" - ] +class ExperimentConfigVersionRelease(typing.TypedDict, total=False): + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "EXPIRED"] trafficAllocations: _list[ExperimentConfigVersionReleaseTrafficAllocation] @typing.type_check_only -class ExperimentConfigVersionReleaseTrafficAllocation( - typing_extensions.TypedDict, total=False -): +class ExperimentConfigVersionReleaseTrafficAllocation(typing.TypedDict, total=False): appVersion: str id: str trafficPercentage: int @typing.type_check_only -class ExportAppRequest(typing_extensions.TypedDict, total=False): +class ExportAppRequest(typing.TypedDict, total=False): appVersion: str - exportFormat: typing_extensions.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] + exportFormat: typing.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] gcsUri: str @typing.type_check_only -class ExportAppResponse(typing_extensions.TypedDict, total=False): +class ExportAppResponse(typing.TypedDict, total=False): appContent: str appUri: str @typing.type_check_only -class ExpressionCondition(typing_extensions.TypedDict, total=False): +class ExpressionCondition(typing.TypedDict, total=False): expression: str @typing.type_check_only -class FileSearchTool(typing_extensions.TypedDict, total=False): - corpusType: typing_extensions.Literal[ - "CORPUS_TYPE_UNSPECIFIED", "USER_OWNED", "FULLY_MANAGED" - ] +class FileSearchTool(typing.TypedDict, total=False): + corpusType: typing.Literal["CORPUS_TYPE_UNSPECIFIED", "USER_OWNED", "FULLY_MANAGED"] description: str fileCorpus: str name: str @typing.type_check_only -class GenerateChatTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateChatTokenRequest(typing.TypedDict, total=False): deployment: str liveHandoffEnabled: bool recaptchaToken: str @typing.type_check_only -class GenerateChatTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateChatTokenResponse(typing.TypedDict, total=False): chatToken: str expireTime: str @typing.type_check_only -class GoogleSearchSuggestions(typing_extensions.TypedDict, total=False): +class GoogleSearchSuggestions(typing.TypedDict, total=False): htmls: _list[str] webSearchQueries: _list[WebSearchQuery] @typing.type_check_only -class GoogleSearchTool(typing_extensions.TypedDict, total=False): +class GoogleSearchTool(typing.TypedDict, total=False): contextUrls: _list[str] description: str excludeDomains: _list[str] @@ -718,12 +733,12 @@ class GoogleSearchTool(typing_extensions.TypedDict, total=False): promptConfig: GoogleSearchToolPromptConfig @typing.type_check_only -class GoogleSearchToolPromptConfig(typing_extensions.TypedDict, total=False): +class GoogleSearchToolPromptConfig(typing.TypedDict, total=False): textPrompt: str voicePrompt: str @typing.type_check_only -class Guardrail(typing_extensions.TypedDict, total=False): +class Guardrail(typing.TypedDict, total=False): action: TriggerAction codeCallback: GuardrailCodeCallback contentFilter: GuardrailContentFilter @@ -739,19 +754,19 @@ class Guardrail(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuardrailCodeCallback(typing_extensions.TypedDict, total=False): +class GuardrailCodeCallback(typing.TypedDict, total=False): afterAgentCallback: Callback afterModelCallback: Callback beforeAgentCallback: Callback beforeModelCallback: Callback @typing.type_check_only -class GuardrailContentFilter(typing_extensions.TypedDict, total=False): +class GuardrailContentFilter(typing.TypedDict, total=False): bannedContents: _list[str] bannedContentsInAgentResponse: _list[str] bannedContentsInUserInput: _list[str] disregardDiacritics: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "SIMPLE_STRING_MATCH", "WORD_BOUNDARY_STRING_MATCH", @@ -759,12 +774,12 @@ class GuardrailContentFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GuardrailLlmPolicy(typing_extensions.TypedDict, total=False): +class GuardrailLlmPolicy(typing.TypedDict, total=False): allowShortUtterance: bool failOpen: bool maxConversationMessages: int modelSettings: ModelSettings - policyScope: typing_extensions.Literal[ + policyScope: typing.Literal[ "POLICY_SCOPE_UNSPECIFIED", "USER_QUERY", "AGENT_RESPONSE", @@ -773,31 +788,29 @@ class GuardrailLlmPolicy(typing_extensions.TypedDict, total=False): prompt: str @typing.type_check_only -class GuardrailLlmPromptSecurity(typing_extensions.TypedDict, total=False): +class GuardrailLlmPromptSecurity(typing.TypedDict, total=False): customPolicy: GuardrailLlmPolicy defaultSettings: GuardrailLlmPromptSecurityDefaultSecuritySettings failOpen: bool @typing.type_check_only -class GuardrailLlmPromptSecurityDefaultSecuritySettings( - typing_extensions.TypedDict, total=False -): +class GuardrailLlmPromptSecurityDefaultSecuritySettings(typing.TypedDict, total=False): defaultPromptTemplate: str @typing.type_check_only -class GuardrailModelSafety(typing_extensions.TypedDict, total=False): +class GuardrailModelSafety(typing.TypedDict, total=False): safetySettings: _list[GuardrailModelSafetySafetySetting] @typing.type_check_only -class GuardrailModelSafetySafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GuardrailModelSafetySafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", ] - threshold: typing_extensions.Literal[ + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -807,12 +820,12 @@ class GuardrailModelSafetySafetySetting(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only -class ImportAppRequest(typing_extensions.TypedDict, total=False): +class ImportAppRequest(typing.TypedDict, total=False): appContent: str appId: str displayName: str @@ -821,33 +834,105 @@ class ImportAppRequest(typing_extensions.TypedDict, total=False): importOptions: ImportAppRequestImportOptions @typing.type_check_only -class ImportAppRequestImportOptions(typing_extensions.TypedDict, total=False): - conflictResolutionStrategy: typing_extensions.Literal[ +class ImportAppRequestImportOptions(typing.TypedDict, total=False): + conflictResolutionStrategy: typing.Literal[ "CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED", "REPLACE", "OVERWRITE" ] + validateOnly: bool @typing.type_check_only -class ImportAppResponse(typing_extensions.TypedDict, total=False): +class ImportAppResponse(typing.TypedDict, total=False): name: str warnings: _list[str] @typing.type_check_only -class InputAudioConfig(typing_extensions.TypedDict, total=False): - audioEncoding: typing_extensions.Literal[ +class InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" ] noiseSuppressionLevel: str sampleRateHertz: int @typing.type_check_only -class LanguageSettings(typing_extensions.TypedDict, total=False): +class InstagramCredentials(typing.TypedDict, total=False): + authCode: str + conversationProfileId: str + +@typing.type_check_only +class LanguageSettings(typing.TypedDict, total=False): defaultLanguageCode: str enableMultilingualSupport: bool fallbackAction: str supportedLanguageCodes: _list[str] @typing.type_check_only -class LfA2aV1Artifact(typing_extensions.TypedDict, total=False): +class LfA2aV1APIKeySecurityScheme(typing.TypedDict, total=False): + description: str + location: str + name: str + +@typing.type_check_only +class LfA2aV1AgentCapabilities(typing.TypedDict, total=False): + extendedAgentCard: bool + extensions: _list[LfA2aV1AgentExtension] + pushNotifications: bool + streaming: bool + +@typing.type_check_only +class LfA2aV1AgentCard(typing.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.TypedDict, total=False): + header: dict[str, typing.Any] + protected: str + signature: str + +@typing.type_check_only +class LfA2aV1AgentExtension(typing.TypedDict, total=False): + description: str + params: dict[str, typing.Any] + required: bool + uri: str + +@typing.type_check_only +class LfA2aV1AgentInterface(typing.TypedDict, total=False): + protocolBinding: str + protocolVersion: str + tenant: str + url: str + +@typing.type_check_only +class LfA2aV1AgentProvider(typing.TypedDict, total=False): + organization: str + url: str + +@typing.type_check_only +class LfA2aV1AgentSkill(typing.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.TypedDict, total=False): artifactId: str description: str extensions: _list[str] @@ -856,23 +941,79 @@ class LfA2aV1Artifact(typing_extensions.TypedDict, total=False): parts: _list[LfA2aV1Part] @typing.type_check_only -class LfA2aV1AuthenticationInfo(typing_extensions.TypedDict, total=False): +class LfA2aV1AuthenticationInfo(typing.TypedDict, total=False): credentials: str scheme: str @typing.type_check_only -class LfA2aV1Message(typing_extensions.TypedDict, total=False): +class LfA2aV1AuthorizationCodeOAuthFlow(typing.TypedDict, total=False): + authorizationUrl: str + pkceRequired: bool + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1ClientCredentialsOAuthFlow(typing.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1DeviceCodeOAuthFlow(typing.TypedDict, total=False): + deviceAuthorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1HTTPAuthSecurityScheme(typing.TypedDict, total=False): + bearerFormat: str + description: str + scheme: str + +@typing.type_check_only +class LfA2aV1ImplicitOAuthFlow(typing.TypedDict, total=False): + authorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + +@typing.type_check_only +class LfA2aV1Message(typing.TypedDict, total=False): contextId: str extensions: _list[str] messageId: str metadata: dict[str, typing.Any] parts: _list[LfA2aV1Part] referenceTaskIds: _list[str] - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] + role: typing.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] taskId: str @typing.type_check_only -class LfA2aV1Part(typing_extensions.TypedDict, total=False): +class LfA2aV1MutualTlsSecurityScheme(typing.TypedDict, total=False): + description: str + +@typing.type_check_only +class LfA2aV1OAuth2SecurityScheme(typing.TypedDict, total=False): + description: str + flows: LfA2aV1OAuthFlows + oauth2MetadataUrl: str + +@typing.type_check_only +class LfA2aV1OAuthFlows(typing.TypedDict, total=False): + authorizationCode: LfA2aV1AuthorizationCodeOAuthFlow + clientCredentials: LfA2aV1ClientCredentialsOAuthFlow + deviceCode: LfA2aV1DeviceCodeOAuthFlow + implicit: LfA2aV1ImplicitOAuthFlow + password: LfA2aV1PasswordOAuthFlow + +@typing.type_check_only +class LfA2aV1OpenIdConnectSecurityScheme(typing.TypedDict, total=False): + description: str + openIdConnectUrl: str + +@typing.type_check_only +class LfA2aV1Part(typing.TypedDict, total=False): data: typing.Any filename: str mediaType: str @@ -882,25 +1023,47 @@ class LfA2aV1Part(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class LfA2aV1SendMessageConfiguration(typing_extensions.TypedDict, total=False): +class LfA2aV1PasswordOAuthFlow(typing.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1SecurityRequirement(typing.TypedDict, total=False): + schemes: dict[str, typing.Any] + +@typing.type_check_only +class LfA2aV1SecurityScheme(typing.TypedDict, total=False): + apiKeySecurityScheme: LfA2aV1APIKeySecurityScheme + httpAuthSecurityScheme: LfA2aV1HTTPAuthSecurityScheme + mtlsSecurityScheme: LfA2aV1MutualTlsSecurityScheme + oauth2SecurityScheme: LfA2aV1OAuth2SecurityScheme + openIdConnectSecurityScheme: LfA2aV1OpenIdConnectSecurityScheme + +@typing.type_check_only +class LfA2aV1SendMessageConfiguration(typing.TypedDict, total=False): acceptedOutputModes: _list[str] historyLength: int returnImmediately: bool taskPushNotificationConfig: LfA2aV1TaskPushNotificationConfig @typing.type_check_only -class LfA2aV1SendMessageRequest(typing_extensions.TypedDict, total=False): +class LfA2aV1SendMessageRequest(typing.TypedDict, total=False): configuration: LfA2aV1SendMessageConfiguration message: LfA2aV1Message metadata: dict[str, typing.Any] @typing.type_check_only -class LfA2aV1SendMessageResponse(typing_extensions.TypedDict, total=False): +class LfA2aV1SendMessageResponse(typing.TypedDict, total=False): message: LfA2aV1Message task: LfA2aV1Task @typing.type_check_only -class LfA2aV1Task(typing_extensions.TypedDict, total=False): +class LfA2aV1StringList(typing.TypedDict, total=False): + list: _list[str] + +@typing.type_check_only +class LfA2aV1Task(typing.TypedDict, total=False): artifacts: _list[LfA2aV1Artifact] contextId: str history: _list[LfA2aV1Message] @@ -909,7 +1072,7 @@ class LfA2aV1Task(typing_extensions.TypedDict, total=False): status: LfA2aV1TaskStatus @typing.type_check_only -class LfA2aV1TaskPushNotificationConfig(typing_extensions.TypedDict, total=False): +class LfA2aV1TaskPushNotificationConfig(typing.TypedDict, total=False): authentication: LfA2aV1AuthenticationInfo id: str taskId: str @@ -918,9 +1081,9 @@ class LfA2aV1TaskPushNotificationConfig(typing_extensions.TypedDict, total=False url: str @typing.type_check_only -class LfA2aV1TaskStatus(typing_extensions.TypedDict, total=False): +class LfA2aV1TaskStatus(typing.TypedDict, total=False): message: LfA2aV1Message - state: typing_extensions.Literal[ + state: typing.Literal[ "TASK_STATE_UNSPECIFIED", "TASK_STATE_SUBMITTED", "TASK_STATE_WORKING", @@ -934,69 +1097,69 @@ class LfA2aV1TaskStatus(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class ListAgentsResponse(typing_extensions.TypedDict, total=False): +class ListAgentsResponse(typing.TypedDict, total=False): agents: _list[Agent] nextPageToken: str @typing.type_check_only -class ListAppVersionsResponse(typing_extensions.TypedDict, total=False): +class ListAppVersionsResponse(typing.TypedDict, total=False): appVersions: _list[AppVersion] nextPageToken: str @typing.type_check_only -class ListAppsResponse(typing_extensions.TypedDict, total=False): +class ListAppsResponse(typing.TypedDict, total=False): apps: _list[App] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListChangelogsResponse(typing_extensions.TypedDict, total=False): +class ListChangelogsResponse(typing.TypedDict, total=False): changelogs: _list[Changelog] nextPageToken: str @typing.type_check_only -class ListConversationsResponse(typing_extensions.TypedDict, total=False): +class ListConversationsResponse(typing.TypedDict, total=False): conversations: _list[Conversation] nextPageToken: str @typing.type_check_only -class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str @typing.type_check_only -class ListExamplesResponse(typing_extensions.TypedDict, total=False): +class ListExamplesResponse(typing.TypedDict, total=False): examples: _list[Example] nextPageToken: str @typing.type_check_only -class ListGuardrailsResponse(typing_extensions.TypedDict, total=False): +class ListGuardrailsResponse(typing.TypedDict, total=False): guardrails: _list[Guardrail] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListToolsResponse(typing_extensions.TypedDict, total=False): +class ListToolsResponse(typing.TypedDict, total=False): nextPageToken: str tools: _list[Tool] @typing.type_check_only -class ListToolsetsResponse(typing_extensions.TypedDict, total=False): +class ListToolsetsResponse(typing.TypedDict, total=False): nextPageToken: str toolsets: _list[Toolset] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -1004,7 +1167,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingSettings(typing_extensions.TypedDict, total=False): +class LoggingSettings(typing.TypedDict, total=False): audioRecordingConfig: AudioRecordingConfig bigqueryExportSettings: BigQueryExportSettings cloudLoggingSettings: CloudLoggingSettings @@ -1013,9 +1176,10 @@ 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): +class McpTool(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication customHeaders: dict[str, typing.Any] description: str @@ -1025,24 +1189,24 @@ class McpTool(typing_extensions.TypedDict, total=False): outputSchema: Schema serverAddress: str serviceDirectoryConfig: ServiceDirectoryConfig - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "STALE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "STALE"] tlsConfig: TlsConfig @typing.type_check_only -class McpToolDefinition(typing_extensions.TypedDict, total=False): +class McpToolDefinition(typing.TypedDict, total=False): description: str inputSchema: Schema outputSchema: Schema @typing.type_check_only -class McpToolOverride(typing_extensions.TypedDict, total=False): +class McpToolOverride(typing.TypedDict, total=False): descriptionOverride: str nameOverride: str snapshot: McpToolDefinition tool: str @typing.type_check_only -class McpToolset(typing_extensions.TypedDict, total=False): +class McpToolset(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication customHeaders: dict[str, typing.Any] serverAddress: str @@ -1051,24 +1215,24 @@ class McpToolset(typing_extensions.TypedDict, total=False): toolOverrides: _list[McpToolOverride] @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): chunks: _list[Chunk] eventTime: str role: str @typing.type_check_only -class MetricAnalysisSettings(typing_extensions.TypedDict, total=False): +class MetricAnalysisSettings(typing.TypedDict, total=False): llmMetricsOptedOut: bool @typing.type_check_only -class MockConfig(typing_extensions.TypedDict, total=False): +class MockConfig(typing.TypedDict, total=False): mockedToolCalls: _list[MockedToolCall] - unmatchedToolCallBehavior: typing_extensions.Literal[ + unmatchedToolCallBehavior: typing.Literal[ "UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED", "FAIL", "PASS_THROUGH" ] @typing.type_check_only -class MockedToolCall(typing_extensions.TypedDict, total=False): +class MockedToolCall(typing.TypedDict, total=False): expectedArgsPattern: dict[str, typing.Any] mockResponse: dict[str, typing.Any] tool: str @@ -1076,22 +1240,20 @@ class MockedToolCall(typing_extensions.TypedDict, total=False): toolset: ToolsetTool @typing.type_check_only -class ModelSettings(typing_extensions.TypedDict, total=False): +class ModelSettings(typing.TypedDict, total=False): model: str temperature: float @typing.type_check_only -class OAuthConfig(typing_extensions.TypedDict, total=False): +class OAuthConfig(typing.TypedDict, total=False): clientId: str clientSecretVersion: str - oauthGrantType: typing_extensions.Literal[ - "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" - ] + oauthGrantType: typing.Literal["OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL"] scopes: _list[str] tokenEndpoint: str @typing.type_check_only -class OpenApiTool(typing_extensions.TypedDict, total=False): +class OpenApiTool(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication description: str ignoreUnknownFields: bool @@ -1102,7 +1264,7 @@ class OpenApiTool(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class OpenApiToolset(typing_extensions.TypedDict, total=False): +class OpenApiToolset(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication ignoreUnknownFields: bool openApiSchema: str @@ -1111,7 +1273,7 @@ class OpenApiToolset(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1119,77 +1281,77 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str requestedCancellation: bool statusMessage: str @typing.type_check_only -class OutputAudioConfig(typing_extensions.TypedDict, total=False): - audioEncoding: typing_extensions.Literal[ +class OutputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" ] sampleRateHertz: int @typing.type_check_only -class PythonCodeCondition(typing_extensions.TypedDict, total=False): +class PythonCodeCondition(typing.TypedDict, total=False): pythonCode: str @typing.type_check_only -class PythonFunction(typing_extensions.TypedDict, total=False): +class PythonFunction(typing.TypedDict, total=False): description: str name: str pythonCode: str serviceDirectoryConfig: ServiceDirectoryConfig @typing.type_check_only -class RedactionConfig(typing_extensions.TypedDict, total=False): +class RedactionConfig(typing.TypedDict, total=False): deidentifyTemplate: str enableRedaction: bool inspectTemplate: str @typing.type_check_only -class RemoteAgentTool(typing_extensions.TypedDict, total=False): +class RemoteAgentTool(typing.TypedDict, total=False): agentCard: AgentCard description: str name: str @typing.type_check_only -class RestoreAppVersionRequest(typing_extensions.TypedDict, total=False): ... +class RestoreAppVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetrieveToolSchemaRequest(typing_extensions.TypedDict, total=False): +class RetrieveToolSchemaRequest(typing.TypedDict, total=False): tool: str toolsetTool: ToolsetTool @typing.type_check_only -class RetrieveToolSchemaResponse(typing_extensions.TypedDict, total=False): +class RetrieveToolSchemaResponse(typing.TypedDict, total=False): inputSchema: Schema outputSchema: Schema tool: str toolsetTool: ToolsetTool @typing.type_check_only -class RetrieveToolsRequest(typing_extensions.TypedDict, total=False): +class RetrieveToolsRequest(typing.TypedDict, total=False): bypassPersistenceConfig: bool toolIds: _list[str] @typing.type_check_only -class RetrieveToolsResponse(typing_extensions.TypedDict, total=False): +class RetrieveToolsResponse(typing.TypedDict, total=False): tools: _list[Tool] @typing.type_check_only -class RunSessionRequest(typing_extensions.TypedDict, total=False): +class RunSessionRequest(typing.TypedDict, total=False): config: SessionConfig inputs: _list[SessionInput] @typing.type_check_only -class RunSessionResponse(typing_extensions.TypedDict, total=False): +class RunSessionResponse(typing.TypedDict, total=False): outputs: _list[SessionOutput] @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): additionalProperties: Schema anyOf: _list[Schema] default: typing.Any @@ -1207,13 +1369,13 @@ class Schema(typing_extensions.TypedDict, total=False): ref: str required: _list[str] title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "INTEGER", "NUMBER", "BOOLEAN", "OBJECT", "ARRAY" ] uniqueItems: bool @typing.type_check_only -class SecuritySettings(typing_extensions.TypedDict, total=False): +class SecuritySettings(typing.TypedDict, total=False): createTime: str endpointControlPolicy: EndpointControlPolicy etag: str @@ -1221,22 +1383,23 @@ class SecuritySettings(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceAccountAuthConfig(typing_extensions.TypedDict, total=False): +class ServiceAccountAuthConfig(typing.TypedDict, total=False): scopes: _list[str] serviceAccount: str @typing.type_check_only -class ServiceAgentIdTokenAuthConfig(typing_extensions.TypedDict, total=False): ... +class ServiceAgentIdTokenAuthConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): +class ServiceDirectoryConfig(typing.TypedDict, total=False): service: str @typing.type_check_only -class SessionConfig(typing_extensions.TypedDict, total=False): +class SessionConfig(typing.TypedDict, total=False): deployment: str enableTextStreaming: bool entryAgent: str + excludeDiagnosticInfo: bool historicalContexts: _list[Message] inputAudioConfig: InputAudioConfig outputAudioConfig: OutputAudioConfig @@ -1245,15 +1408,13 @@ class SessionConfig(typing_extensions.TypedDict, total=False): useToolFakes: bool @typing.type_check_only -class SessionConfigRemoteDialogflowQueryParameters( - typing_extensions.TypedDict, total=False -): +class SessionConfigRemoteDialogflowQueryParameters(typing.TypedDict, total=False): endUserMetadata: dict[str, typing.Any] payload: dict[str, typing.Any] webhookHeaders: dict[str, typing.Any] @typing.type_check_only -class SessionInput(typing_extensions.TypedDict, total=False): +class SessionInput(typing.TypedDict, total=False): audio: str blob: Blob dtmf: str @@ -1265,9 +1426,10 @@ class SessionInput(typing_extensions.TypedDict, total=False): willContinue: bool @typing.type_check_only -class SessionOutput(typing_extensions.TypedDict, total=False): +class SessionOutput(typing.TypedDict, total=False): audio: str citations: Citations + context: _list[dict[str, typing.Any]] diagnosticInfo: SessionOutputDiagnosticInfo endSession: EndSession googleSearchSuggestions: GoogleSearchSuggestions @@ -1278,12 +1440,12 @@ class SessionOutput(typing_extensions.TypedDict, total=False): turnIndex: int @typing.type_check_only -class SessionOutputDiagnosticInfo(typing_extensions.TypedDict, total=False): +class SessionOutputDiagnosticInfo(typing.TypedDict, total=False): messages: _list[Message] rootSpan: Span @typing.type_check_only -class Span(typing_extensions.TypedDict, total=False): +class Span(typing.TypedDict, total=False): attributes: dict[str, typing.Any] childSpans: _list[Span] duration: str @@ -1292,36 +1454,40 @@ class Span(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SynthesizeSpeechConfig(typing_extensions.TypedDict, total=False): +class SynthesizeSpeechConfig(typing.TypedDict, total=False): + consentAudioGcsUri: str + instruction: str + model: str speakingRate: float voice: str + voiceSampleGcsUri: str @typing.type_check_only -class SystemTool(typing_extensions.TypedDict, total=False): +class SystemTool(typing.TypedDict, total=False): description: str name: str @typing.type_check_only -class TimeZoneSettings(typing_extensions.TypedDict, total=False): +class TimeZoneSettings(typing.TypedDict, total=False): timeZone: str @typing.type_check_only -class TlsConfig(typing_extensions.TypedDict, total=False): +class TlsConfig(typing.TypedDict, total=False): caCerts: _list[TlsConfigCaCert] @typing.type_check_only -class TlsConfigCaCert(typing_extensions.TypedDict, total=False): +class TlsConfigCaCert(typing.TypedDict, total=False): cert: str displayName: str @typing.type_check_only -class Tool(typing_extensions.TypedDict, total=False): +class Tool(typing.TypedDict, total=False): agentTool: AgentTool clientFunction: ClientFunction connectorTool: ConnectorTool @@ -1329,7 +1495,7 @@ class Tool(typing_extensions.TypedDict, total=False): dataStoreTool: DataStoreTool displayName: str etag: str - executionType: typing_extensions.Literal[ + executionType: typing.Literal[ "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] fileSearchTool: FileSearchTool @@ -1347,7 +1513,7 @@ class Tool(typing_extensions.TypedDict, total=False): widgetTool: WidgetTool @typing.type_check_only -class ToolCall(typing_extensions.TypedDict, total=False): +class ToolCall(typing.TypedDict, total=False): args: dict[str, typing.Any] displayName: str id: str @@ -1355,16 +1521,16 @@ class ToolCall(typing_extensions.TypedDict, total=False): toolsetTool: ToolsetTool @typing.type_check_only -class ToolCalls(typing_extensions.TypedDict, total=False): +class ToolCalls(typing.TypedDict, total=False): toolCalls: _list[ToolCall] @typing.type_check_only -class ToolFakeConfig(typing_extensions.TypedDict, total=False): +class ToolFakeConfig(typing.TypedDict, total=False): codeBlock: CodeBlock enableFakeMode: bool @typing.type_check_only -class ToolResponse(typing_extensions.TypedDict, total=False): +class ToolResponse(typing.TypedDict, total=False): displayName: str id: str response: dict[str, typing.Any] @@ -1372,89 +1538,99 @@ class ToolResponse(typing_extensions.TypedDict, total=False): toolsetTool: ToolsetTool @typing.type_check_only -class ToolResponses(typing_extensions.TypedDict, total=False): +class ToolResponses(typing.TypedDict, total=False): toolResponses: _list[ToolResponse] @typing.type_check_only -class Toolset(typing_extensions.TypedDict, total=False): +class Toolset(typing.TypedDict, total=False): connectorToolset: ConnectorToolset createTime: str description: str displayName: str etag: str - executionType: typing_extensions.Literal[ + executionType: typing.Literal[ "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] mcpToolset: McpToolset name: str openApiToolset: OpenApiToolset + timeout: str toolFakeConfig: ToolFakeConfig updateTime: str @typing.type_check_only -class ToolsetTool(typing_extensions.TypedDict, total=False): +class ToolsetTool(typing.TypedDict, total=False): toolId: str toolset: str @typing.type_check_only -class TransferRule(typing_extensions.TypedDict, total=False): +class TransferRule(typing.TypedDict, total=False): childAgent: str deterministicTransfer: TransferRuleDeterministicTransfer - direction: typing_extensions.Literal[ + direction: typing.Literal[ "DIRECTION_UNSPECIFIED", "PARENT_TO_CHILD", "CHILD_TO_PARENT" ] disablePlannerTransfer: TransferRuleDisablePlannerTransfer @typing.type_check_only -class TransferRuleDeterministicTransfer(typing_extensions.TypedDict, total=False): +class TransferRuleDeterministicTransfer(typing.TypedDict, total=False): expressionCondition: ExpressionCondition pythonCodeCondition: PythonCodeCondition @typing.type_check_only -class TransferRuleDisablePlannerTransfer(typing_extensions.TypedDict, total=False): +class TransferRuleDisablePlannerTransfer(typing.TypedDict, total=False): expressionCondition: ExpressionCondition @typing.type_check_only -class TriggerAction(typing_extensions.TypedDict, total=False): +class TriggerAction(typing.TypedDict, total=False): generativeAnswer: TriggerActionGenerativeAnswer respondImmediately: TriggerActionRespondImmediately transferAgent: TriggerActionTransferAgent @typing.type_check_only -class TriggerActionGenerativeAnswer(typing_extensions.TypedDict, total=False): +class TriggerActionGenerativeAnswer(typing.TypedDict, total=False): prompt: str @typing.type_check_only -class TriggerActionRespondImmediately(typing_extensions.TypedDict, total=False): +class TriggerActionRespondImmediately(typing.TypedDict, total=False): responses: _list[TriggerActionResponse] @typing.type_check_only -class TriggerActionResponse(typing_extensions.TypedDict, total=False): +class TriggerActionResponse(typing.TypedDict, total=False): disabled: bool text: str @typing.type_check_only -class TriggerActionTransferAgent(typing_extensions.TypedDict, total=False): +class TriggerActionTransferAgent(typing.TypedDict, total=False): agent: str @typing.type_check_only -class VpcScSettings(typing_extensions.TypedDict, total=False): +class VpcScSettings(typing.TypedDict, total=False): allowedOrigins: _list[str] @typing.type_check_only -class WebSearchQuery(typing_extensions.TypedDict, total=False): +class WebSearchQuery(typing.TypedDict, total=False): query: str uri: str @typing.type_check_only -class WidgetTool(typing_extensions.TypedDict, total=False): +class WhatsAppCredentials(typing.TypedDict, total=False): + authCode: str + businessAccountId: str + conversationProfileId: str + phoneNumber: str + pin: str + wabaId: str + +@typing.type_check_only +class WidgetTool(typing.TypedDict, total=False): dataMapping: WidgetToolDataMapping description: str name: str parameters: Schema textResponseConfig: WidgetToolTextResponseConfig uiConfig: dict[str, typing.Any] - widgetType: typing_extensions.Literal[ + widgetType: typing.Literal[ "WIDGET_TYPE_UNSPECIFIED", "CUSTOM", "PRODUCT_CAROUSEL", @@ -1471,19 +1647,15 @@ class WidgetTool(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WidgetToolDataMapping(typing_extensions.TypedDict, total=False): +class WidgetToolDataMapping(typing.TypedDict, total=False): fieldMappings: dict[str, typing.Any] - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "FIELD_MAPPING", "PYTHON_SCRIPT" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "FIELD_MAPPING", "PYTHON_SCRIPT"] pythonFunction: PythonFunction pythonScript: str sourceToolName: str @typing.type_check_only -class WidgetToolTextResponseConfig(typing_extensions.TypedDict, total=False): +class WidgetToolTextResponseConfig(typing.TypedDict, total=False): staticText: str textResponseInstruction: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "NONE", "LLM_GENERATED", "STATIC" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "NONE", "LLM_GENERATED", "STATIC"] diff --git a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi index 30134afc4..56469fbf4 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -98,7 +97,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): self, *, name: str, - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -119,7 +118,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): self, *, name: str, - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -127,6 +126,12 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): "AGENT_TOOL", ] | None = ..., + view: typing.Literal[ + "CONVERSATION_VIEW_UNSPECIFIED", + "CONVERSATION_VIEW_BASIC", + "CONVERSATION_VIEW_FULL", + ] + | None = ..., **kwargs: typing.Any, ) -> ConversationHttpRequest: ... def list( @@ -136,7 +141,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -144,7 +149,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): "AGENT_TOOL", ] | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -152,7 +157,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): "AGENT_TOOL", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", @@ -171,6 +176,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 +200,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 +225,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 +372,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 +701,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 +725,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 +750,7 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): body: RestoreAppVersionRequest, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def message(self) -> MessageResource: ... def create( self, @@ -737,6 +777,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 +1056,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..6171ddd66 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi @@ -1,25 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): connectionActionId: str entityOperation: ActionEntityOperation inputFields: _list[str] outputFields: _list[str] @typing.type_check_only -class ActionEntityOperation(typing_extensions.TypedDict, total=False): +class ActionEntityOperation(typing.TypedDict, total=False): entityId: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] @typing.type_check_only -class Agent(typing_extensions.TypedDict, total=False): +class Agent(typing.TypedDict, total=False): afterAgentCallbacks: _list[Callback] afterModelCallbacks: _list[Callback] afterToolCallbacks: _list[Callback] @@ -45,12 +43,12 @@ class Agent(typing_extensions.TypedDict, total=False): validationErrors: _list[str] @typing.type_check_only -class AgentAgentToolset(typing_extensions.TypedDict, total=False): +class AgentAgentToolset(typing.TypedDict, total=False): toolIds: _list[str] toolset: str @typing.type_check_only -class AgentCard(typing_extensions.TypedDict, total=False): +class AgentCard(typing.TypedDict, total=False): description: str name: str skills: _list[AgentSkill] @@ -58,17 +56,17 @@ class AgentCard(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class AgentInterface(typing_extensions.TypedDict, total=False): +class AgentInterface(typing.TypedDict, total=False): protocolBinding: str protocolVersion: str tenant: str url: str @typing.type_check_only -class AgentLlmAgent(typing_extensions.TypedDict, total=False): ... +class AgentLlmAgent(typing.TypedDict, total=False): ... @typing.type_check_only -class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): +class AgentRemoteDialogflowAgent(typing.TypedDict, total=False): agent: str environmentId: str flowId: str @@ -78,7 +76,7 @@ class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): respectResponseInterruptionSettings: bool @typing.type_check_only -class AgentSkill(typing_extensions.TypedDict, total=False): +class AgentSkill(typing.TypedDict, total=False): description: str examples: _list[str] id: str @@ -88,27 +86,26 @@ class AgentSkill(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class AgentTool(typing_extensions.TypedDict, total=False): +class AgentTool(typing.TypedDict, total=False): agent: str description: str name: str - rootAgent: str @typing.type_check_only -class AgentTransfer(typing_extensions.TypedDict, total=False): +class AgentTransfer(typing.TypedDict, total=False): displayName: str targetAgent: str @typing.type_check_only -class AggregatedMetrics(typing_extensions.TypedDict, total=False): +class AggregatedMetrics(typing.TypedDict, total=False): metricsByAppVersion: _list[AggregatedMetricsMetricsByAppVersion] @typing.type_check_only -class AggregatedMetricsHallucinationMetrics(typing_extensions.TypedDict, total=False): +class AggregatedMetricsHallucinationMetrics(typing.TypedDict, total=False): score: float @typing.type_check_only -class AggregatedMetricsMetricsByAppVersion(typing_extensions.TypedDict, total=False): +class AggregatedMetricsMetricsByAppVersion(typing.TypedDict, total=False): appVersionId: str failCount: int hallucinationMetrics: _list[AggregatedMetricsHallucinationMetrics] @@ -120,7 +117,7 @@ class AggregatedMetricsMetricsByAppVersion(typing_extensions.TypedDict, total=Fa turnLatencyMetrics: _list[AggregatedMetricsTurnLatencyMetrics] @typing.type_check_only -class AggregatedMetricsMetricsByTurn(typing_extensions.TypedDict, total=False): +class AggregatedMetricsMetricsByTurn(typing.TypedDict, total=False): hallucinationMetrics: _list[AggregatedMetricsHallucinationMetrics] semanticSimilarityMetrics: _list[AggregatedMetricsSemanticSimilarityMetrics] toolCallLatencyMetrics: _list[AggregatedMetricsToolCallLatencyMetrics] @@ -129,30 +126,28 @@ class AggregatedMetricsMetricsByTurn(typing_extensions.TypedDict, total=False): turnLatencyMetrics: _list[AggregatedMetricsTurnLatencyMetrics] @typing.type_check_only -class AggregatedMetricsSemanticSimilarityMetrics( - typing_extensions.TypedDict, total=False -): +class AggregatedMetricsSemanticSimilarityMetrics(typing.TypedDict, total=False): score: float @typing.type_check_only -class AggregatedMetricsToolCallLatencyMetrics(typing_extensions.TypedDict, total=False): +class AggregatedMetricsToolCallLatencyMetrics(typing.TypedDict, total=False): averageLatency: str tool: str @typing.type_check_only -class AggregatedMetricsToolMetrics(typing_extensions.TypedDict, total=False): +class AggregatedMetricsToolMetrics(typing.TypedDict, total=False): failCount: int passCount: int tool: str @typing.type_check_only -class AggregatedMetricsTurnLatencyMetrics(typing_extensions.TypedDict, total=False): +class AggregatedMetricsTurnLatencyMetrics(typing.TypedDict, total=False): averageLatency: str @typing.type_check_only -class AmbientSoundConfig(typing_extensions.TypedDict, total=False): +class AmbientSoundConfig(typing.TypedDict, total=False): gcsUri: str - prebuiltAmbientNoise: typing_extensions.Literal[ + prebuiltAmbientNoise: typing.Literal[ "PREBUILT_AMBIENT_NOISE_UNSPECIFIED", "RETAIL_STORE", "CONVENTION_HALL", @@ -162,7 +157,7 @@ class AmbientSoundConfig(typing_extensions.TypedDict, total=False): volumeGainDb: float @typing.type_check_only -class ApiAuthentication(typing_extensions.TypedDict, total=False): +class ApiAuthentication(typing.TypedDict, total=False): apiKeyConfig: ApiKeyConfig bearerTokenConfig: BearerTokenConfig oauthConfig: OAuthConfig @@ -170,15 +165,15 @@ class ApiAuthentication(typing_extensions.TypedDict, total=False): serviceAgentIdTokenAuthConfig: ServiceAgentIdTokenAuthConfig @typing.type_check_only -class ApiKeyConfig(typing_extensions.TypedDict, total=False): +class ApiKeyConfig(typing.TypedDict, total=False): apiKeySecretVersion: str keyName: str - requestLocation: typing_extensions.Literal[ + requestLocation: typing.Literal[ "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] @typing.type_check_only -class App(typing_extensions.TypedDict, total=False): +class App(typing.TypedDict, total=False): audioProcessingConfig: AudioProcessingConfig clientCertificateSettings: ClientCertificateSettings createTime: str @@ -204,7 +199,7 @@ class App(typing_extensions.TypedDict, total=False): predefinedVariableDeclarations: _list[AppVariableDeclaration] rootAgent: str timeZoneSettings: TimeZoneSettings - toolExecutionMode: typing_extensions.Literal[ + toolExecutionMode: typing.Literal[ "TOOL_EXECUTION_MODE_UNSPECIFIED", "PARALLEL", "SEQUENTIAL" ] updateTime: str @@ -213,7 +208,7 @@ class App(typing_extensions.TypedDict, total=False): vpcScSettings: VpcScSettings @typing.type_check_only -class AppSnapshot(typing_extensions.TypedDict, total=False): +class AppSnapshot(typing.TypedDict, total=False): agents: _list[Agent] app: App examples: _list[Example] @@ -222,13 +217,13 @@ class AppSnapshot(typing_extensions.TypedDict, total=False): toolsets: _list[Toolset] @typing.type_check_only -class AppVariableDeclaration(typing_extensions.TypedDict, total=False): +class AppVariableDeclaration(typing.TypedDict, total=False): description: str name: str schema: Schema @typing.type_check_only -class AppVersion(typing_extensions.TypedDict, total=False): +class AppVersion(typing.TypedDict, total=False): createTime: str creator: str description: str @@ -238,59 +233,59 @@ class AppVersion(typing_extensions.TypedDict, total=False): snapshot: AppSnapshot @typing.type_check_only -class AudioProcessingConfig(typing_extensions.TypedDict, total=False): +class AudioProcessingConfig(typing.TypedDict, total=False): ambientSoundConfig: AmbientSoundConfig bargeInConfig: BargeInConfig inactivityTimeout: str synthesizeSpeechConfigs: dict[str, typing.Any] @typing.type_check_only -class AudioRecordingConfig(typing_extensions.TypedDict, total=False): +class AudioRecordingConfig(typing.TypedDict, total=False): gcsBucket: str gcsPathPrefix: str @typing.type_check_only -class BargeInConfig(typing_extensions.TypedDict, total=False): +class BargeInConfig(typing.TypedDict, total=False): bargeInAwareness: bool disableBargeIn: bool @typing.type_check_only -class BatchDeleteConversationsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteConversationsRequest(typing.TypedDict, total=False): conversations: _list[str] @typing.type_check_only -class BatchDeleteConversationsResponse(typing_extensions.TypedDict, total=False): +class BatchDeleteConversationsResponse(typing.TypedDict, total=False): deletedConversations: _list[str] errorMessages: _list[str] failedConversations: _list[str] @typing.type_check_only -class BearerTokenConfig(typing_extensions.TypedDict, total=False): +class BearerTokenConfig(typing.TypedDict, total=False): token: str @typing.type_check_only -class BigQueryExportSettings(typing_extensions.TypedDict, total=False): +class BigQueryExportSettings(typing.TypedDict, total=False): dataset: str enabled: bool project: str @typing.type_check_only -class Blob(typing_extensions.TypedDict, total=False): +class Blob(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only -class Callback(typing_extensions.TypedDict, total=False): +class Callback(typing.TypedDict, total=False): description: str disabled: bool proactiveExecutionEnabled: bool pythonCode: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Changelog(typing_extensions.TypedDict, total=False): +class Changelog(typing.TypedDict, total=False): action: str author: str createTime: str @@ -305,31 +300,43 @@ class Changelog(typing_extensions.TypedDict, total=False): sequenceNumber: str @typing.type_check_only -class ChannelProfile(typing_extensions.TypedDict, total=False): - channelType: typing_extensions.Literal[ +class ChannelProfile(typing.TypedDict, total=False): + channelType: typing.Literal[ "UNKNOWN", "WEB_UI", "API", "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.TypedDict, total=False): + description: str + displayName: str + instagramAccountId: str + thumbnailUrl: str @typing.type_check_only -class ChannelProfilePersonaProperty(typing_extensions.TypedDict, total=False): - persona: typing_extensions.Literal["UNKNOWN", "CONCISE", "CHATTY"] +class ChannelProfilePersonaProperty(typing.TypedDict, total=False): + persona: typing.Literal["UNKNOWN", "CONCISE", "CHATTY"] @typing.type_check_only -class ChannelProfileWebWidgetConfig(typing_extensions.TypedDict, total=False): - modality: typing_extensions.Literal[ +class ChannelProfileWebWidgetConfig(typing.TypedDict, total=False): + modality: typing.Literal[ "MODALITY_UNSPECIFIED", "CHAT_AND_VOICE", "VOICE_ONLY", @@ -337,20 +344,27 @@ class ChannelProfileWebWidgetConfig(typing_extensions.TypedDict, total=False): "CHAT_VOICE_AND_VIDEO", ] securitySettings: ChannelProfileWebWidgetConfigSecuritySettings - theme: typing_extensions.Literal["THEME_UNSPECIFIED", "LIGHT", "DARK"] + theme: typing.Literal["THEME_UNSPECIFIED", "LIGHT", "DARK"] webWidgetTitle: str @typing.type_check_only -class ChannelProfileWebWidgetConfigSecuritySettings( - typing_extensions.TypedDict, total=False -): +class ChannelProfileWebWidgetConfigSecuritySettings(typing.TypedDict, total=False): allowedOrigins: _list[str] enableOriginCheck: bool enablePublicAccess: bool enableRecaptcha: bool @typing.type_check_only -class Chunk(typing_extensions.TypedDict, total=False): +class ChannelProfileWhatsAppConfig(typing.TypedDict, total=False): + description: str + displayName: str + phoneNumber: str + phoneNumberId: str + thumbnailUrl: str + wabaId: str + +@typing.type_check_only +class Chunk(typing.TypedDict, total=False): agentTransfer: AgentTransfer blob: Blob defaultVariables: dict[str, typing.Any] @@ -363,38 +377,39 @@ class Chunk(typing_extensions.TypedDict, total=False): updatedVariables: dict[str, typing.Any] @typing.type_check_only -class Citations(typing_extensions.TypedDict, total=False): +class Citations(typing.TypedDict, total=False): citedChunks: _list[CitationsCitedChunk] @typing.type_check_only -class CitationsCitedChunk(typing_extensions.TypedDict, total=False): +class CitationsCitedChunk(typing.TypedDict, total=False): + requiresAttribution: bool text: str title: str uri: str @typing.type_check_only -class ClientCertificateSettings(typing_extensions.TypedDict, total=False): +class ClientCertificateSettings(typing.TypedDict, total=False): passphrase: str privateKey: str tlsCertificate: str @typing.type_check_only -class ClientFunction(typing_extensions.TypedDict, total=False): +class ClientFunction(typing.TypedDict, total=False): description: str name: str parameters: Schema response: Schema @typing.type_check_only -class CloudLoggingSettings(typing_extensions.TypedDict, total=False): +class CloudLoggingSettings(typing.TypedDict, total=False): enableCloudLogging: bool @typing.type_check_only -class CodeBlock(typing_extensions.TypedDict, total=False): +class CodeBlock(typing.TypedDict, total=False): pythonCode: str @typing.type_check_only -class ConnectorTool(typing_extensions.TypedDict, total=False): +class ConnectorTool(typing.TypedDict, total=False): action: Action authConfig: EndUserAuthConfig connection: str @@ -402,22 +417,22 @@ class ConnectorTool(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ConnectorToolset(typing_extensions.TypedDict, total=False): +class ConnectorToolset(typing.TypedDict, total=False): authConfig: EndUserAuthConfig connection: str connectorActions: _list[Action] @typing.type_check_only -class Conversation(typing_extensions.TypedDict, total=False): +class Conversation(typing.TypedDict, total=False): appVersion: str - channelType: typing_extensions.Literal[ + channelType: typing.Literal[ "CHANNEL_TYPE_UNSPECIFIED", "TEXT", "AUDIO", "MULTIMODAL" ] deployment: str endTime: str entryAgent: str inputTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "INPUT_TYPE_UNSPECIFIED", "INPUT_TYPE_TEXT", "INPUT_TYPE_EVENT", @@ -431,7 +446,7 @@ class Conversation(typing_extensions.TypedDict, total=False): languageCode: str messages: _list[Message] name: str - source: typing_extensions.Literal[ + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL", "AGENT_TOOL" ] startTime: str @@ -439,182 +454,186 @@ class Conversation(typing_extensions.TypedDict, total=False): turns: _list[ConversationTurn] @typing.type_check_only -class ConversationLoggingSettings(typing_extensions.TypedDict, total=False): +class ConversationLoggingSettings(typing.TypedDict, total=False): disableConversationLogging: bool retentionWindow: str @typing.type_check_only -class ConversationTurn(typing_extensions.TypedDict, total=False): +class ConversationTurn(typing.TypedDict, total=False): messages: _list[Message] + resolvedDeveloperInstruction: str rootSpan: Span + templateAttributes: dict[str, typing.Any] + userIntendedText: str @typing.type_check_only -class DataStore(typing_extensions.TypedDict, total=False): +class DataStore(typing.TypedDict, total=False): connectorConfig: DataStoreConnectorConfig createTime: str displayName: str - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "FAQ", "CONNECTOR" ] @typing.type_check_only -class DataStoreConnectorConfig(typing_extensions.TypedDict, total=False): +class DataStoreConnectorConfig(typing.TypedDict, total=False): collection: str collectionDisplayName: str dataSource: str @typing.type_check_only -class DataStoreSettings(typing_extensions.TypedDict, total=False): +class DataStoreSettings(typing.TypedDict, total=False): engines: _list[DataStoreSettingsEngine] @typing.type_check_only -class DataStoreSettingsEngine(typing_extensions.TypedDict, total=False): +class DataStoreSettingsEngine(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "ENGINE_TYPE_SEARCH", "ENGINE_TYPE_CHAT" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "ENGINE_TYPE_SEARCH", "ENGINE_TYPE_CHAT"] @typing.type_check_only -class DataStoreTool(typing_extensions.TypedDict, total=False): +class DataStoreTool(typing.TypedDict, total=False): boostSpecs: _list[DataStoreToolBoostSpecs] dataStoreSource: DataStoreToolDataStoreSource description: str engineSource: DataStoreToolEngineSource - filterParameterBehavior: typing_extensions.Literal[ + filterParameterBehavior: typing.Literal[ "FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED", "ALWAYS_INCLUDE", "NEVER_INCLUDE" ] modalityConfigs: _list[DataStoreToolModalityConfig] name: str @typing.type_check_only -class DataStoreToolBoostSpec(typing_extensions.TypedDict, total=False): +class DataStoreToolBoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[DataStoreToolBoostSpecConditionBoostSpec] @typing.type_check_only -class DataStoreToolBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False -): +class DataStoreToolBoostSpecConditionBoostSpec(typing.TypedDict, total=False): boost: float boostControlSpec: DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec condition: str @typing.type_check_only class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only -class DataStoreToolBoostSpecs(typing_extensions.TypedDict, total=False): +class DataStoreToolBoostSpecs(typing.TypedDict, total=False): dataStores: _list[str] spec: _list[DataStoreToolBoostSpec] @typing.type_check_only -class DataStoreToolDataStoreSource(typing_extensions.TypedDict, total=False): +class DataStoreToolDataStoreSource(typing.TypedDict, total=False): dataStore: DataStore filter: str @typing.type_check_only -class DataStoreToolEngineSource(typing_extensions.TypedDict, total=False): +class DataStoreToolEngineSource(typing.TypedDict, total=False): dataStoreSources: _list[DataStoreToolDataStoreSource] engine: str filter: str @typing.type_check_only -class DataStoreToolGroundingConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolGroundingConfig(typing.TypedDict, total=False): disabled: bool groundingLevel: float @typing.type_check_only -class DataStoreToolModalityConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolModalityConfig(typing.TypedDict, total=False): groundingConfig: DataStoreToolGroundingConfig - modalityType: typing_extensions.Literal[ - "MODALITY_TYPE_UNSPECIFIED", "TEXT", "AUDIO" - ] + modalityType: typing.Literal["MODALITY_TYPE_UNSPECIFIED", "TEXT", "AUDIO"] rewriterConfig: DataStoreToolRewriterConfig + snippetsConfig: DataStoreToolSnippetsConfig summarizationConfig: DataStoreToolSummarizationConfig @typing.type_check_only -class DataStoreToolRewriterConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolRewriterConfig(typing.TypedDict, total=False): disabled: bool modelSettings: ModelSettings prompt: str @typing.type_check_only -class DataStoreToolSummarizationConfig(typing_extensions.TypedDict, total=False): +class DataStoreToolSnippetsConfig(typing.TypedDict, total=False): + enableSnippets: bool + +@typing.type_check_only +class DataStoreToolSummarizationConfig(typing.TypedDict, total=False): disabled: bool modelSettings: ModelSettings prompt: str @typing.type_check_only -class DeleteEvaluationRunOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteEvaluationRunOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): appVersion: str channelProfile: ChannelProfile createTime: str displayName: str etag: str experimentConfig: ExperimentConfig + instagramCredentials: InstagramCredentials + modality: typing.Literal[ + "MODALITY_UNSPECIFIED", "MODALITY_TEXT", "MODALITY_VOICE", "MODALITY_VIDEO" + ] + modelSettings: ModelSettings name: str updateTime: str + whatsappCredentials: WhatsAppCredentials @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndSession(typing_extensions.TypedDict, total=False): +class EndSession(typing.TypedDict, total=False): metadata: dict[str, typing.Any] @typing.type_check_only -class EndUserAuthConfig(typing_extensions.TypedDict, total=False): +class EndUserAuthConfig(typing.TypedDict, total=False): oauth2AuthCodeConfig: EndUserAuthConfigOauth2AuthCodeConfig oauth2JwtBearerConfig: EndUserAuthConfigOauth2JwtBearerConfig @typing.type_check_only -class EndUserAuthConfigOauth2AuthCodeConfig(typing_extensions.TypedDict, total=False): +class EndUserAuthConfigOauth2AuthCodeConfig(typing.TypedDict, total=False): oauthToken: str @typing.type_check_only -class EndUserAuthConfigOauth2JwtBearerConfig(typing_extensions.TypedDict, total=False): +class EndUserAuthConfigOauth2JwtBearerConfig(typing.TypedDict, total=False): clientKey: str issuer: str subject: str @typing.type_check_only -class EndpointControlPolicy(typing_extensions.TypedDict, total=False): +class EndpointControlPolicy(typing.TypedDict, total=False): allowedOrigins: _list[str] - enforcementScope: typing_extensions.Literal[ + enforcementScope: typing.Literal[ "ENFORCEMENT_SCOPE_UNSPECIFIED", "VPCSC_ONLY", "ALWAYS" ] @typing.type_check_only -class ErrorHandlingSettings(typing_extensions.TypedDict, total=False): +class ErrorHandlingSettings(typing.TypedDict, total=False): endSessionConfig: ErrorHandlingSettingsEndSessionConfig - errorHandlingStrategy: typing_extensions.Literal[ + errorHandlingStrategy: typing.Literal[ "ERROR_HANDLING_STRATEGY_UNSPECIFIED", "NONE", "FALLBACK_RESPONSE", @@ -623,18 +642,16 @@ class ErrorHandlingSettings(typing_extensions.TypedDict, total=False): fallbackResponseConfig: ErrorHandlingSettingsFallbackResponseConfig @typing.type_check_only -class ErrorHandlingSettingsEndSessionConfig(typing_extensions.TypedDict, total=False): +class ErrorHandlingSettingsEndSessionConfig(typing.TypedDict, total=False): escalateSession: bool @typing.type_check_only -class ErrorHandlingSettingsFallbackResponseConfig( - typing_extensions.TypedDict, total=False -): +class ErrorHandlingSettingsFallbackResponseConfig(typing.TypedDict, total=False): customFallbackMessages: dict[str, typing.Any] maxFallbackAttempts: int @typing.type_check_only -class Evaluation(typing_extensions.TypedDict, total=False): +class Evaluation(typing.TypedDict, total=False): aggregatedMetrics: AggregatedMetrics createTime: str createdBy: str @@ -656,18 +673,16 @@ class Evaluation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EvaluationConfig(typing_extensions.TypedDict, total=False): - evaluationChannel: typing_extensions.Literal[ - "EVALUATION_CHANNEL_UNSPECIFIED", "TEXT", "AUDIO" - ] +class EvaluationConfig(typing.TypedDict, total=False): + evaluationChannel: typing.Literal["EVALUATION_CHANNEL_UNSPECIFIED", "TEXT", "AUDIO"] inputAudioConfig: InputAudioConfig outputAudioConfig: OutputAudioConfig - toolCallBehaviour: typing_extensions.Literal[ + toolCallBehaviour: typing.Literal[ "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" ] @typing.type_check_only -class EvaluationDataset(typing_extensions.TypedDict, total=False): +class EvaluationDataset(typing.TypedDict, total=False): aggregatedMetrics: AggregatedMetrics createTime: str createdBy: str @@ -679,9 +694,9 @@ class EvaluationDataset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EvaluationErrorInfo(typing_extensions.TypedDict, total=False): +class EvaluationErrorInfo(typing.TypedDict, total=False): errorMessage: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "RUNTIME_FAILURE", "CONVERSATION_RETRIEVAL_FAILURE", @@ -694,7 +709,7 @@ class EvaluationErrorInfo(typing_extensions.TypedDict, total=False): userFacingErrorMessage: str @typing.type_check_only -class EvaluationExpectation(typing_extensions.TypedDict, total=False): +class EvaluationExpectation(typing.TypedDict, total=False): createTime: str displayName: str etag: str @@ -704,16 +719,16 @@ class EvaluationExpectation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EvaluationExpectationLlmCriteria(typing_extensions.TypedDict, total=False): +class EvaluationExpectationLlmCriteria(typing.TypedDict, total=False): prompt: str @typing.type_check_only -class EvaluationGolden(typing_extensions.TypedDict, total=False): +class EvaluationGolden(typing.TypedDict, total=False): evaluationExpectations: _list[str] turns: _list[EvaluationGoldenTurn] @typing.type_check_only -class EvaluationGoldenExpectation(typing_extensions.TypedDict, total=False): +class EvaluationGoldenExpectation(typing.TypedDict, total=False): agentResponse: Message agentResponseHallucinationMetricsConfigOverride: ( EvaluationMetricsConfigHallucinationMetricsConfig @@ -722,8 +737,12 @@ class EvaluationGoldenExpectation(typing_extensions.TypedDict, total=False): EvaluationMetricsConfigSemanticSimilarityMetricsConfig ) agentTransfer: AgentTransfer + comparisonType: typing.Literal[ + "COMPARISON_TYPE_UNSPECIFIED", "EQUALS", "CONTAINS", "SEMANTIC_SIMILARITY" + ] expectationLevelMetricsThresholdsOverride: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds mockToolResponse: ToolResponse + noToolCalls: bool note: str skipEvaluation: bool toolCall: ToolCall @@ -731,8 +750,8 @@ class EvaluationGoldenExpectation(typing_extensions.TypedDict, total=False): updatedVariables: dict[str, typing.Any] @typing.type_check_only -class EvaluationGoldenTurn(typing_extensions.TypedDict, total=False): - hallucinationMetricBehaviorOverride: typing_extensions.Literal[ +class EvaluationGoldenTurn(typing.TypedDict, total=False): + hallucinationMetricBehaviorOverride: typing.Literal[ "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" ] rootSpan: Span @@ -740,20 +759,18 @@ class EvaluationGoldenTurn(typing_extensions.TypedDict, total=False): turnLevelMetricsThresholdsOverride: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds @typing.type_check_only -class EvaluationMetricsConfig(typing_extensions.TypedDict, total=False): +class EvaluationMetricsConfig(typing.TypedDict, total=False): goldenMetricsConfig: EvaluationMetricsConfigGoldenMetricsConfig scenarioMetricsConfig: EvaluationMetricsConfigScenarioMetricsConfig @typing.type_check_only class EvaluationMetricsConfigExpectationsMetMetricsConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableExpectationsMetMetrics: bool @typing.type_check_only -class EvaluationMetricsConfigGoldenMetricsConfig( - typing_extensions.TypedDict, total=False -): +class EvaluationMetricsConfigGoldenMetricsConfig(typing.TypedDict, total=False): semanticSimilarityMetricsConfig: ( EvaluationMetricsConfigSemanticSimilarityMetricsConfig ) @@ -763,54 +780,48 @@ class EvaluationMetricsConfigGoldenMetricsConfig( toolCorrectnessMetricsConfig: EvaluationMetricsConfigToolCorrectnessMetricsConfig @typing.type_check_only -class EvaluationMetricsConfigHallucinationMetricsConfig( - typing_extensions.TypedDict, total=False -): +class EvaluationMetricsConfigHallucinationMetricsConfig(typing.TypedDict, total=False): enableHallucinationMetrics: bool @typing.type_check_only -class EvaluationMetricsConfigScenarioMetricsConfig( - typing_extensions.TypedDict, total=False -): +class EvaluationMetricsConfigScenarioMetricsConfig(typing.TypedDict, total=False): expectationsMetMetricsConfig: EvaluationMetricsConfigExpectationsMetMetricsConfig userGoalMetMetricsConfig: EvaluationMetricsConfigUserGoalMetMetricsConfig @typing.type_check_only class EvaluationMetricsConfigSemanticSimilarityMetricsConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSemanticSimilarityMetrics: bool @typing.type_check_only class EvaluationMetricsConfigToolCorrectnessMetricsConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableToolCorrectnessMetrics: bool @typing.type_check_only -class EvaluationMetricsConfigUserGoalMetMetricsConfig( - typing_extensions.TypedDict, total=False -): +class EvaluationMetricsConfigUserGoalMetMetricsConfig(typing.TypedDict, total=False): enableUserGoalMetMetrics: bool @typing.type_check_only -class EvaluationMetricsThresholds(typing_extensions.TypedDict, total=False): +class EvaluationMetricsThresholds(typing.TypedDict, total=False): goldenEvaluationMetricsThresholds: ( EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds ) - goldenHallucinationMetricBehavior: typing_extensions.Literal[ + goldenHallucinationMetricBehavior: typing.Literal[ "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" ] - hallucinationMetricBehavior: typing_extensions.Literal[ + hallucinationMetricBehavior: typing.Literal[ "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" ] - scenarioHallucinationMetricBehavior: typing_extensions.Literal[ + scenarioHallucinationMetricBehavior: typing.Literal[ "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" ] @typing.type_check_only class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expectationLevelMetricsThresholds: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds toolMatchingSettings: EvaluationMetricsThresholdsToolMatchingSettings @@ -818,30 +829,28 @@ class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds( @typing.type_check_only class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolInvocationParameterCorrectnessThreshold: float @typing.type_check_only class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): overallToolInvocationCorrectnessThreshold: float - semanticSimilarityChannel: typing_extensions.Literal[ + semanticSimilarityChannel: typing.Literal[ "SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED", "TEXT", "AUDIO" ] semanticSimilaritySuccessThreshold: int @typing.type_check_only -class EvaluationMetricsThresholdsToolMatchingSettings( - typing_extensions.TypedDict, total=False -): - extraToolCallBehavior: typing_extensions.Literal[ +class EvaluationMetricsThresholdsToolMatchingSettings(typing.TypedDict, total=False): + extraToolCallBehavior: typing.Literal[ "EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED", "FAIL", "ALLOW" ] @typing.type_check_only -class EvaluationPersona(typing_extensions.TypedDict, total=False): +class EvaluationPersona(typing.TypedDict, total=False): description: str displayName: str name: str @@ -849,8 +858,8 @@ class EvaluationPersona(typing_extensions.TypedDict, total=False): speechConfig: EvaluationPersonaSpeechConfig @typing.type_check_only -class EvaluationPersonaSpeechConfig(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal[ +class EvaluationPersonaSpeechConfig(typing.TypedDict, total=False): + environment: typing.Literal[ "BACKGROUND_ENVIRONMENT_UNSPECIFIED", "CALL_CENTER", "TRAFFIC", @@ -861,7 +870,7 @@ class EvaluationPersonaSpeechConfig(typing_extensions.TypedDict, total=False): voiceId: str @typing.type_check_only -class EvaluationResult(typing_extensions.TypedDict, total=False): +class EvaluationResult(typing.TypedDict, total=False): appVersion: str appVersionDisplayName: str changelog: str @@ -873,61 +882,58 @@ class EvaluationResult(typing_extensions.TypedDict, total=False): errorInfo: EvaluationErrorInfo evaluationMetricsThresholds: EvaluationMetricsThresholds evaluationRun: str - evaluationStatus: typing_extensions.Literal[ - "OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED" - ] - executionState: typing_extensions.Literal[ - "EXECUTION_STATE_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" + evaluationStatus: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + executionState: typing.Literal[ + "EXECUTION_STATE_UNSPECIFIED", + "QUEUED", + "RUNNING", + "COMPLETED", + "ERROR", + "CANCELLED", ] goldenResult: EvaluationResultGoldenResult - goldenRunMethod: typing_extensions.Literal[ - "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" - ] + goldenRunMethod: typing.Literal["GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE"] initiatedBy: str name: str + outcomeMetadata: typing.Literal["OUTCOME_METADATA_UNSPECIFIED", "GRACEFUL_HANDOFF"] persona: EvaluationPersona + rootSpan: Span scenarioResult: EvaluationResultScenarioResult @typing.type_check_only -class EvaluationResultEvaluationExpectationResult( - typing_extensions.TypedDict, total=False -): +class EvaluationResultEvaluationExpectationResult(typing.TypedDict, total=False): evaluationExpectation: str explanation: str - outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + outcome: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] prompt: str @typing.type_check_only -class EvaluationResultGoldenExpectationOutcome( - typing_extensions.TypedDict, total=False -): +class EvaluationResultGoldenExpectationOutcome(typing.TypedDict, total=False): expectation: EvaluationGoldenExpectation observedAgentResponse: Message observedAgentTransfer: AgentTransfer observedPayload: dict[str, typing.Any] observedToolCall: ToolCall observedToolResponse: ToolResponse - outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + outcome: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] semanticSimilarityResult: EvaluationResultSemanticSimilarityResult toolInvocationResult: EvaluationResultGoldenExpectationOutcomeToolInvocationResult @typing.type_check_only class EvaluationResultGoldenExpectationOutcomeToolInvocationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explanation: str - outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + outcome: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] parameterCorrectnessScore: float @typing.type_check_only -class EvaluationResultGoldenResult(typing_extensions.TypedDict, total=False): +class EvaluationResultGoldenResult(typing.TypedDict, total=False): evaluationExpectationResults: _list[EvaluationResultEvaluationExpectationResult] turnReplayResults: _list[EvaluationResultGoldenResultTurnReplayResult] @typing.type_check_only -class EvaluationResultGoldenResultTurnReplayResult( - typing_extensions.TypedDict, total=False -): +class EvaluationResultGoldenResultTurnReplayResult(typing.TypedDict, total=False): conversation: str errorInfo: EvaluationErrorInfo expectationOutcome: _list[EvaluationResultGoldenExpectationOutcome] @@ -941,36 +947,32 @@ class EvaluationResultGoldenResultTurnReplayResult( turnLatency: str @typing.type_check_only -class EvaluationResultHallucinationResult(typing_extensions.TypedDict, total=False): +class EvaluationResultHallucinationResult(typing.TypedDict, total=False): explanation: str label: str score: int @typing.type_check_only -class EvaluationResultOverallToolInvocationResult( - typing_extensions.TypedDict, total=False -): - outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] +class EvaluationResultOverallToolInvocationResult(typing.TypedDict, total=False): + outcome: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] toolInvocationScore: float @typing.type_check_only -class EvaluationResultScenarioExpectationOutcome( - typing_extensions.TypedDict, total=False -): +class EvaluationResultScenarioExpectationOutcome(typing.TypedDict, total=False): expectation: EvaluationScenarioExpectation observedAgentResponse: Message observedToolCall: EvaluationResultScenarioExpectationOutcomeObservedToolCall - outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + outcome: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] @typing.type_check_only class EvaluationResultScenarioExpectationOutcomeObservedToolCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: ToolCall toolResponse: ToolResponse @typing.type_check_only -class EvaluationResultScenarioResult(typing_extensions.TypedDict, total=False): +class EvaluationResultScenarioResult(typing.TypedDict, total=False): allExpectationsSatisfied: bool conversation: str evaluationExpectationResults: _list[EvaluationResultEvaluationExpectationResult] @@ -986,22 +988,20 @@ class EvaluationResultScenarioResult(typing_extensions.TypedDict, total=False): userGoalSatisfactionResult: EvaluationResultUserGoalSatisfactionResult @typing.type_check_only -class EvaluationResultScenarioRubricOutcome(typing_extensions.TypedDict, total=False): +class EvaluationResultScenarioRubricOutcome(typing.TypedDict, total=False): rubric: str score: float scoreExplanation: str @typing.type_check_only -class EvaluationResultSemanticSimilarityResult( - typing_extensions.TypedDict, total=False -): +class EvaluationResultSemanticSimilarityResult(typing.TypedDict, total=False): explanation: str label: str - outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + outcome: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] score: int @typing.type_check_only -class EvaluationResultSpanLatency(typing_extensions.TypedDict, total=False): +class EvaluationResultSpanLatency(typing.TypedDict, total=False): callback: str displayName: str endTime: str @@ -1010,18 +1010,18 @@ class EvaluationResultSpanLatency(typing_extensions.TypedDict, total=False): resource: str startTime: str toolset: ToolsetTool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TOOL", "USER_CALLBACK", "GUARDRAIL", "LLM" ] @typing.type_check_only -class EvaluationResultTaskCompletionResult(typing_extensions.TypedDict, total=False): +class EvaluationResultTaskCompletionResult(typing.TypedDict, total=False): explanation: str label: str score: int @typing.type_check_only -class EvaluationResultToolCallLatency(typing_extensions.TypedDict, total=False): +class EvaluationResultToolCallLatency(typing.TypedDict, total=False): displayName: str endTime: str executionLatency: str @@ -1029,15 +1029,13 @@ class EvaluationResultToolCallLatency(typing_extensions.TypedDict, total=False): tool: str @typing.type_check_only -class EvaluationResultUserGoalSatisfactionResult( - typing_extensions.TypedDict, total=False -): +class EvaluationResultUserGoalSatisfactionResult(typing.TypedDict, total=False): explanation: str label: str score: int @typing.type_check_only -class EvaluationRun(typing_extensions.TypedDict, total=False): +class EvaluationRun(typing.TypedDict, total=False): appVersion: str appVersionDisplayName: str changelog: str @@ -1050,13 +1048,11 @@ class EvaluationRun(typing_extensions.TypedDict, total=False): evaluationDataset: str evaluationResults: _list[str] evaluationRunSummaries: dict[str, typing.Any] - evaluationType: typing_extensions.Literal[ + evaluationType: typing.Literal[ "EVALUATION_TYPE_UNSPECIFIED", "GOLDEN", "SCENARIO", "MIXED" ] evaluations: _list[str] - goldenRunMethod: typing_extensions.Literal[ - "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" - ] + goldenRunMethod: typing.Literal["GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE"] initiatedBy: str latencyReport: LatencyReport name: str @@ -1066,18 +1062,30 @@ class EvaluationRun(typing_extensions.TypedDict, total=False): progress: EvaluationRunProgress runCount: int scheduledEvaluationRun: str - state: typing_extensions.Literal[ - "EVALUATION_RUN_STATE_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" + state: typing.Literal[ + "EVALUATION_RUN_STATE_UNSPECIFIED", + "QUEUED", + "RUNNING", + "COMPLETED", + "ERROR", + "CANCELLED", ] @typing.type_check_only -class EvaluationRunEvaluationRunSummary(typing_extensions.TypedDict, total=False): +class EvaluationRunCachingSettings(typing.TypedDict, total=False): + runCachingMode: typing.Literal[ + "EVALUATION_RUN_CACHING_MODE_UNSPECIFIED", "FORCE_RUN", "SKIP_IF_UNCHANGED" + ] + +@typing.type_check_only +class EvaluationRunEvaluationRunSummary(typing.TypedDict, total=False): errorCount: int failedCount: int passedCount: int @typing.type_check_only -class EvaluationRunProgress(typing_extensions.TypedDict, total=False): +class EvaluationRunProgress(typing.TypedDict, total=False): + cancelledCount: int completedCount: int errorCount: int failedCount: int @@ -1085,17 +1093,20 @@ class EvaluationRunProgress(typing_extensions.TypedDict, total=False): totalCount: int @typing.type_check_only -class EvaluationScenario(typing_extensions.TypedDict, total=False): +class EvaluationScenario(typing.TypedDict, total=False): evaluationExpectations: _list[str] maxTurns: int rubrics: _list[str] + scenarioExecutionMode: typing.Literal[ + "SCENARIO_EXECUTION_MODE_UNSPECIFIED", "QUALITY_OPTIMIZED", "SPEED_OPTIMIZED" + ] scenarioExpectations: _list[EvaluationScenarioExpectation] task: str - taskCompletionBehavior: typing_extensions.Literal[ + taskCompletionBehavior: typing.Literal[ "TASK_COMPLETION_BEHAVIOR_UNSPECIFIED", "TASK_SATISFIED", "TASK_REJECTED" ] userFacts: _list[EvaluationScenarioUserFact] - userGoalBehavior: typing_extensions.Literal[ + userGoalBehavior: typing.Literal[ "USER_GOAL_BEHAVIOR_UNSPECIFIED", "USER_GOAL_SATISFIED", "USER_GOAL_REJECTED", @@ -1104,50 +1115,50 @@ class EvaluationScenario(typing_extensions.TypedDict, total=False): variableOverrides: dict[str, typing.Any] @typing.type_check_only -class EvaluationScenarioExpectation(typing_extensions.TypedDict, total=False): +class EvaluationScenarioExpectation(typing.TypedDict, total=False): agentResponse: Message toolExpectation: EvaluationScenarioExpectationToolExpectation @typing.type_check_only -class EvaluationScenarioExpectationToolExpectation( - typing_extensions.TypedDict, total=False -): +class EvaluationScenarioExpectationToolExpectation(typing.TypedDict, total=False): expectedToolCall: ToolCall mockToolResponse: ToolResponse @typing.type_check_only -class EvaluationScenarioUserFact(typing_extensions.TypedDict, total=False): +class EvaluationScenarioUserFact(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class EvaluationSettings(typing_extensions.TypedDict, total=False): - goldenEvaluationToolCallBehaviour: typing_extensions.Literal[ +class EvaluationSettings(typing.TypedDict, total=False): + evaluationRunCachingSettings: EvaluationRunCachingSettings + goldenEvaluationToolCallBehaviour: typing.Literal[ "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" ] - goldenRunMethod: typing_extensions.Literal[ - "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" - ] + goldenRunMethod: typing.Literal["GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE"] metricsConfig: EvaluationMetricsConfig - scenarioConversationInitiator: typing_extensions.Literal[ + scenarioConversationInitiator: typing.Literal[ "SCENARIO_CONVERSATION_INITIATOR_UNSPECIFIED", "USER", "AGENT" ] - scenarioEvaluationToolCallBehaviour: typing_extensions.Literal[ + scenarioEvaluationToolCallBehaviour: typing.Literal[ "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" ] + scenarioExecutionMode: typing.Literal[ + "SCENARIO_EXECUTION_MODE_UNSPECIFIED", "QUALITY_OPTIMIZED", "SPEED_OPTIMIZED" + ] @typing.type_check_only -class EvaluationStep(typing_extensions.TypedDict, total=False): +class EvaluationStep(typing.TypedDict, total=False): agentTransfer: AgentTransfer expectation: EvaluationGoldenExpectation userInput: SessionInput @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): event: str @typing.type_check_only -class Example(typing_extensions.TypedDict, total=False): +class Example(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1159,7 +1170,7 @@ class Example(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ExecuteToolRequest(typing_extensions.TypedDict, total=False): +class ExecuteToolRequest(typing.TypedDict, total=False): args: dict[str, typing.Any] context: dict[str, typing.Any] mockConfig: MockConfig @@ -1168,107 +1179,104 @@ class ExecuteToolRequest(typing_extensions.TypedDict, total=False): variables: dict[str, typing.Any] @typing.type_check_only -class ExecuteToolResponse(typing_extensions.TypedDict, total=False): +class ExecuteToolResponse(typing.TypedDict, total=False): + citations: Citations + googleSearchSuggestions: GoogleSearchSuggestions response: dict[str, typing.Any] tool: str toolsetTool: ToolsetTool variables: dict[str, typing.Any] @typing.type_check_only -class ExperimentConfig(typing_extensions.TypedDict, total=False): +class ExperimentConfig(typing.TypedDict, total=False): versionRelease: ExperimentConfigVersionRelease @typing.type_check_only -class ExperimentConfigVersionRelease(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "EXPIRED" - ] +class ExperimentConfigVersionRelease(typing.TypedDict, total=False): + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "EXPIRED"] trafficAllocations: _list[ExperimentConfigVersionReleaseTrafficAllocation] @typing.type_check_only -class ExperimentConfigVersionReleaseTrafficAllocation( - typing_extensions.TypedDict, total=False -): +class ExperimentConfigVersionReleaseTrafficAllocation(typing.TypedDict, total=False): appVersion: str id: str trafficPercentage: int @typing.type_check_only -class ExportAppRequest(typing_extensions.TypedDict, total=False): +class ExportAppRequest(typing.TypedDict, total=False): appVersion: str - exportFormat: typing_extensions.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] + exportFormat: typing.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] gcsUri: str @typing.type_check_only -class ExportAppResponse(typing_extensions.TypedDict, total=False): +class ExportAppResponse(typing.TypedDict, total=False): appContent: str appUri: str @typing.type_check_only -class ExportEvaluationResultsRequest(typing_extensions.TypedDict, total=False): +class ExportEvaluationResultsRequest(typing.TypedDict, total=False): exportOptions: ExportOptions names: _list[str] @typing.type_check_only -class ExportEvaluationResultsResponse(typing_extensions.TypedDict, total=False): +class ExportEvaluationResultsResponse(typing.TypedDict, total=False): evaluationResultsContent: str evaluationResultsUri: str @typing.type_check_only -class ExportEvaluationRunsRequest(typing_extensions.TypedDict, total=False): +class ExportEvaluationRunsRequest(typing.TypedDict, total=False): exportOptions: ExportOptions names: _list[str] @typing.type_check_only -class ExportEvaluationRunsResponse(typing_extensions.TypedDict, total=False): +class ExportEvaluationRunsResponse(typing.TypedDict, total=False): evaluationRunsContent: str evaluationRunsUri: str @typing.type_check_only -class ExportEvaluationsRequest(typing_extensions.TypedDict, total=False): +class ExportEvaluationsRequest(typing.TypedDict, total=False): exportOptions: ExportOptions includeEvaluationResults: bool includeEvaluations: bool names: _list[str] @typing.type_check_only -class ExportEvaluationsResponse(typing_extensions.TypedDict, total=False): +class ExportEvaluationsResponse(typing.TypedDict, total=False): evaluationsContent: str evaluationsUri: str failedEvaluations: dict[str, typing.Any] @typing.type_check_only -class ExportOptions(typing_extensions.TypedDict, total=False): - exportFormat: typing_extensions.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] +class ExportOptions(typing.TypedDict, total=False): + exportFormat: typing.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] gcsUri: str @typing.type_check_only -class ExpressionCondition(typing_extensions.TypedDict, total=False): +class ExpressionCondition(typing.TypedDict, total=False): expression: str @typing.type_check_only -class FileContext(typing_extensions.TypedDict, total=False): +class FileContext(typing.TypedDict, total=False): fileBytes: FileContextFileBytes @typing.type_check_only -class FileContextFileBytes(typing_extensions.TypedDict, total=False): +class FileContextFileBytes(typing.TypedDict, total=False): data: str fileName: str mimeType: str @typing.type_check_only -class FileSearchTool(typing_extensions.TypedDict, total=False): - corpusType: typing_extensions.Literal[ - "CORPUS_TYPE_UNSPECIFIED", "USER_OWNED", "FULLY_MANAGED" - ] +class FileSearchTool(typing.TypedDict, total=False): + corpusType: typing.Literal["CORPUS_TYPE_UNSPECIFIED", "USER_OWNED", "FULLY_MANAGED"] description: str fileCorpus: str name: str @typing.type_check_only -class GenerateAppResourceRequest(typing_extensions.TypedDict, total=False): +class GenerateAppResourceRequest(typing.TypedDict, total=False): agent: Agent appGenerationConfig: GenerateAppResourceRequestAppGenerationConfig + appVersionContext: GenerateAppResourceRequestAppVersionContext evaluationGenerationConfig: GenerateAppResourceRequestEvaluationGenerationConfig evaluationPersonasGenerationConfig: ( GenerateAppResourceRequestEvaluationPersonasGenerationConfig @@ -1283,51 +1291,51 @@ class GenerateAppResourceRequest(typing_extensions.TypedDict, total=False): toolset: Toolset @typing.type_check_only -class GenerateAppResourceRequestAppGenerationConfig( - typing_extensions.TypedDict, total=False -): +class GenerateAppResourceRequestAppGenerationConfig(typing.TypedDict, total=False): context: str datasetId: str fileContexts: _list[FileContext] gcsLocation: str generateEvaluations: bool +@typing.type_check_only +class GenerateAppResourceRequestAppVersionContext(typing.TypedDict, total=False): + agentResourceName: str + appVersion: str + @typing.type_check_only class GenerateAppResourceRequestEvaluationGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetId: str @typing.type_check_only class GenerateAppResourceRequestEvaluationPersonasGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GenerateAppResourceRequestHillClimbingFixConfig( - typing_extensions.TypedDict, total=False -): +class GenerateAppResourceRequestHillClimbingFixConfig(typing.TypedDict, total=False): qualityReport: QualityReport @typing.type_check_only class GenerateAppResourceRequestQualityReportGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + algorithm: typing.Literal[ + "LOSS_ATTRIBUTION_ALGORITHM_UNSPECIFIED", "APP_CENTRIC", "AGENT_CENTRIC" + ] evaluationRun: str @typing.type_check_only -class GenerateAppResourceRequestRefineInstructions( - typing_extensions.TypedDict, total=False -): +class GenerateAppResourceRequestRefineInstructions(typing.TypedDict, total=False): endIndex: str fieldMask: str instructions: str startIndex: str @typing.type_check_only -class GenerateAppResourceRequestToolGenerationConfig( - typing_extensions.TypedDict, total=False -): +class GenerateAppResourceRequestToolGenerationConfig(typing.TypedDict, total=False): context: str fileContexts: _list[FileContext] openApiToolsetGenerationConfig: ( @@ -1336,7 +1344,7 @@ class GenerateAppResourceRequestToolGenerationConfig( @typing.type_check_only class GenerateAppResourceRequestToolGenerationConfigOpenApiToolsetGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operationGenerationConfigs: _list[ GenerateAppResourceRequestToolGenerationConfigOpenApiToolsetGenerationConfigOperationGenerationConfig @@ -1345,7 +1353,7 @@ class GenerateAppResourceRequestToolGenerationConfigOpenApiToolsetGenerationConf @typing.type_check_only class GenerateAppResourceRequestToolGenerationConfigOpenApiToolsetGenerationConfigOperationGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): method: str path: str @@ -1353,7 +1361,7 @@ class GenerateAppResourceRequestToolGenerationConfigOpenApiToolsetGenerationConf responseJson: str @typing.type_check_only -class GenerateAppResourceResponse(typing_extensions.TypedDict, total=False): +class GenerateAppResourceResponse(typing.TypedDict, total=False): agent: Agent appResources: GenerateAppResourceResponseAppResources appSnapshot: AppSnapshot @@ -1364,51 +1372,50 @@ class GenerateAppResourceResponse(typing_extensions.TypedDict, total=False): toolset: Toolset @typing.type_check_only -class GenerateAppResourceResponseAppResources(typing_extensions.TypedDict, total=False): +class GenerateAppResourceResponseAppResources(typing.TypedDict, total=False): appSnapshot: AppSnapshot evaluations: _list[Evaluation] @typing.type_check_only -class GenerateAppResourceResponseEvaluations(typing_extensions.TypedDict, total=False): +class GenerateAppResourceResponseEvaluations(typing.TypedDict, total=False): evaluations: _list[Evaluation] @typing.type_check_only -class GenerateAppResourceResponseGenerateResultInfo( - typing_extensions.TypedDict, total=False -): +class GenerateAppResourceResponseGenerateResultInfo(typing.TypedDict, total=False): explanation: str @typing.type_check_only -class GenerateAppResourceResponseTools(typing_extensions.TypedDict, total=False): +class GenerateAppResourceResponseTools(typing.TypedDict, total=False): tools: _list[Tool] @typing.type_check_only -class GenerateChatTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateChatTokenRequest(typing.TypedDict, total=False): deployment: str liveHandoffEnabled: bool recaptchaToken: str @typing.type_check_only -class GenerateChatTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateChatTokenResponse(typing.TypedDict, total=False): chatToken: str expireTime: str @typing.type_check_only -class GenerateEvaluationOperationMetadata(typing_extensions.TypedDict, total=False): ... +class GenerateEvaluationOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GenerateEvaluationRequest(typing_extensions.TypedDict, total=False): - source: typing_extensions.Literal[ +class GenerateEvaluationRequest(typing.TypedDict, total=False): + evaluationType: typing.Literal["EVALUATION_TYPE_UNSPECIFIED", "GOLDEN", "SCENARIO"] + source: typing.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL", "AGENT_TOOL" ] @typing.type_check_only -class GoogleSearchSuggestions(typing_extensions.TypedDict, total=False): +class GoogleSearchSuggestions(typing.TypedDict, total=False): htmls: _list[str] webSearchQueries: _list[WebSearchQuery] @typing.type_check_only -class GoogleSearchTool(typing_extensions.TypedDict, total=False): +class GoogleSearchTool(typing.TypedDict, total=False): contextUrls: _list[str] description: str excludeDomains: _list[str] @@ -1417,12 +1424,12 @@ class GoogleSearchTool(typing_extensions.TypedDict, total=False): promptConfig: GoogleSearchToolPromptConfig @typing.type_check_only -class GoogleSearchToolPromptConfig(typing_extensions.TypedDict, total=False): +class GoogleSearchToolPromptConfig(typing.TypedDict, total=False): textPrompt: str voicePrompt: str @typing.type_check_only -class Guardrail(typing_extensions.TypedDict, total=False): +class Guardrail(typing.TypedDict, total=False): action: TriggerAction codeCallback: GuardrailCodeCallback contentFilter: GuardrailContentFilter @@ -1438,19 +1445,19 @@ class Guardrail(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuardrailCodeCallback(typing_extensions.TypedDict, total=False): +class GuardrailCodeCallback(typing.TypedDict, total=False): afterAgentCallback: Callback afterModelCallback: Callback beforeAgentCallback: Callback beforeModelCallback: Callback @typing.type_check_only -class GuardrailContentFilter(typing_extensions.TypedDict, total=False): +class GuardrailContentFilter(typing.TypedDict, total=False): bannedContents: _list[str] bannedContentsInAgentResponse: _list[str] bannedContentsInUserInput: _list[str] disregardDiacritics: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "SIMPLE_STRING_MATCH", "WORD_BOUNDARY_STRING_MATCH", @@ -1458,12 +1465,12 @@ class GuardrailContentFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GuardrailLlmPolicy(typing_extensions.TypedDict, total=False): +class GuardrailLlmPolicy(typing.TypedDict, total=False): allowShortUtterance: bool failOpen: bool maxConversationMessages: int modelSettings: ModelSettings - policyScope: typing_extensions.Literal[ + policyScope: typing.Literal[ "POLICY_SCOPE_UNSPECIFIED", "USER_QUERY", "AGENT_RESPONSE", @@ -1472,31 +1479,29 @@ class GuardrailLlmPolicy(typing_extensions.TypedDict, total=False): prompt: str @typing.type_check_only -class GuardrailLlmPromptSecurity(typing_extensions.TypedDict, total=False): +class GuardrailLlmPromptSecurity(typing.TypedDict, total=False): customPolicy: GuardrailLlmPolicy defaultSettings: GuardrailLlmPromptSecurityDefaultSecuritySettings failOpen: bool @typing.type_check_only -class GuardrailLlmPromptSecurityDefaultSecuritySettings( - typing_extensions.TypedDict, total=False -): +class GuardrailLlmPromptSecurityDefaultSecuritySettings(typing.TypedDict, total=False): defaultPromptTemplate: str @typing.type_check_only -class GuardrailModelSafety(typing_extensions.TypedDict, total=False): +class GuardrailModelSafety(typing.TypedDict, total=False): safetySettings: _list[GuardrailModelSafetySafetySetting] @typing.type_check_only -class GuardrailModelSafetySafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GuardrailModelSafetySafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", ] - threshold: typing_extensions.Literal[ + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -1506,12 +1511,12 @@ class GuardrailModelSafetySafetySetting(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only -class ImportAppRequest(typing_extensions.TypedDict, total=False): +class ImportAppRequest(typing.TypedDict, total=False): appContent: str appId: str displayName: str @@ -1520,43 +1525,42 @@ class ImportAppRequest(typing_extensions.TypedDict, total=False): importOptions: ImportAppRequestImportOptions @typing.type_check_only -class ImportAppRequestImportOptions(typing_extensions.TypedDict, total=False): - conflictResolutionStrategy: typing_extensions.Literal[ +class ImportAppRequestImportOptions(typing.TypedDict, total=False): + conflictResolutionStrategy: typing.Literal[ "CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED", "REPLACE", "OVERWRITE" ] + validateOnly: bool @typing.type_check_only -class ImportAppResponse(typing_extensions.TypedDict, total=False): +class ImportAppResponse(typing.TypedDict, total=False): name: str warnings: _list[str] @typing.type_check_only -class ImportEvaluationsOperationMetadata(typing_extensions.TypedDict, total=False): +class ImportEvaluationsOperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str statusMessage: str @typing.type_check_only -class ImportEvaluationsRequest(typing_extensions.TypedDict, total=False): +class ImportEvaluationsRequest(typing.TypedDict, total=False): conversationList: ImportEvaluationsRequestConversationList csvContent: str gcsUri: str importOptions: ImportEvaluationsRequestImportOptions @typing.type_check_only -class ImportEvaluationsRequestConversationList( - typing_extensions.TypedDict, total=False -): +class ImportEvaluationsRequestConversationList(typing.TypedDict, total=False): conversations: _list[str] @typing.type_check_only -class ImportEvaluationsRequestImportOptions(typing_extensions.TypedDict, total=False): - conflictResolutionStrategy: typing_extensions.Literal[ +class ImportEvaluationsRequestImportOptions(typing.TypedDict, total=False): + conflictResolutionStrategy: typing.Literal[ "CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED", "OVERWRITE", "SKIP", "DUPLICATE" ] @typing.type_check_only -class ImportEvaluationsResponse(typing_extensions.TypedDict, total=False): +class ImportEvaluationsResponse(typing.TypedDict, total=False): errorMessages: _list[str] evaluationResultImportFailureCount: int evaluationResults: _list[EvaluationResult] @@ -1566,22 +1570,27 @@ class ImportEvaluationsResponse(typing_extensions.TypedDict, total=False): importFailureCount: int @typing.type_check_only -class InputAudioConfig(typing_extensions.TypedDict, total=False): - audioEncoding: typing_extensions.Literal[ +class InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" ] noiseSuppressionLevel: str sampleRateHertz: int @typing.type_check_only -class LanguageSettings(typing_extensions.TypedDict, total=False): +class InstagramCredentials(typing.TypedDict, total=False): + authCode: str + conversationProfileId: str + +@typing.type_check_only +class LanguageSettings(typing.TypedDict, total=False): defaultLanguageCode: str enableMultilingualSupport: bool fallbackAction: str supportedLanguageCodes: _list[str] @typing.type_check_only -class LatencyReport(typing_extensions.TypedDict, total=False): +class LatencyReport(typing.TypedDict, total=False): callbackLatencies: _list[LatencyReportCallbackLatency] guardrailLatencies: _list[LatencyReportGuardrailLatency] llmCallLatencies: _list[LatencyReportLlmCallLatency] @@ -1589,37 +1598,103 @@ class LatencyReport(typing_extensions.TypedDict, total=False): toolLatencies: _list[LatencyReportToolLatency] @typing.type_check_only -class LatencyReportCallbackLatency(typing_extensions.TypedDict, total=False): +class LatencyReportCallbackLatency(typing.TypedDict, total=False): latencyMetrics: LatencyReportLatencyMetrics stage: str @typing.type_check_only -class LatencyReportGuardrailLatency(typing_extensions.TypedDict, total=False): +class LatencyReportGuardrailLatency(typing.TypedDict, total=False): guardrail: str guardrailDisplayName: str latencyMetrics: LatencyReportLatencyMetrics @typing.type_check_only -class LatencyReportLatencyMetrics(typing_extensions.TypedDict, total=False): +class LatencyReportLatencyMetrics(typing.TypedDict, total=False): callCount: int p50Latency: str p90Latency: str p99Latency: str @typing.type_check_only -class LatencyReportLlmCallLatency(typing_extensions.TypedDict, total=False): +class LatencyReportLlmCallLatency(typing.TypedDict, total=False): latencyMetrics: LatencyReportLatencyMetrics model: str @typing.type_check_only -class LatencyReportToolLatency(typing_extensions.TypedDict, total=False): +class LatencyReportToolLatency(typing.TypedDict, total=False): latencyMetrics: LatencyReportLatencyMetrics tool: str toolDisplayName: str toolsetTool: ToolsetTool @typing.type_check_only -class LfA2aV1Artifact(typing_extensions.TypedDict, total=False): +class LfA2aV1APIKeySecurityScheme(typing.TypedDict, total=False): + description: str + location: str + name: str + +@typing.type_check_only +class LfA2aV1AgentCapabilities(typing.TypedDict, total=False): + extendedAgentCard: bool + extensions: _list[LfA2aV1AgentExtension] + pushNotifications: bool + streaming: bool + +@typing.type_check_only +class LfA2aV1AgentCard(typing.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.TypedDict, total=False): + header: dict[str, typing.Any] + protected: str + signature: str + +@typing.type_check_only +class LfA2aV1AgentExtension(typing.TypedDict, total=False): + description: str + params: dict[str, typing.Any] + required: bool + uri: str + +@typing.type_check_only +class LfA2aV1AgentInterface(typing.TypedDict, total=False): + protocolBinding: str + protocolVersion: str + tenant: str + url: str + +@typing.type_check_only +class LfA2aV1AgentProvider(typing.TypedDict, total=False): + organization: str + url: str + +@typing.type_check_only +class LfA2aV1AgentSkill(typing.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.TypedDict, total=False): artifactId: str description: str extensions: _list[str] @@ -1628,23 +1703,79 @@ class LfA2aV1Artifact(typing_extensions.TypedDict, total=False): parts: _list[LfA2aV1Part] @typing.type_check_only -class LfA2aV1AuthenticationInfo(typing_extensions.TypedDict, total=False): +class LfA2aV1AuthenticationInfo(typing.TypedDict, total=False): credentials: str scheme: str @typing.type_check_only -class LfA2aV1Message(typing_extensions.TypedDict, total=False): +class LfA2aV1AuthorizationCodeOAuthFlow(typing.TypedDict, total=False): + authorizationUrl: str + pkceRequired: bool + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1ClientCredentialsOAuthFlow(typing.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1DeviceCodeOAuthFlow(typing.TypedDict, total=False): + deviceAuthorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1HTTPAuthSecurityScheme(typing.TypedDict, total=False): + bearerFormat: str + description: str + scheme: str + +@typing.type_check_only +class LfA2aV1ImplicitOAuthFlow(typing.TypedDict, total=False): + authorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + +@typing.type_check_only +class LfA2aV1Message(typing.TypedDict, total=False): contextId: str extensions: _list[str] messageId: str metadata: dict[str, typing.Any] parts: _list[LfA2aV1Part] referenceTaskIds: _list[str] - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] + role: typing.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] taskId: str @typing.type_check_only -class LfA2aV1Part(typing_extensions.TypedDict, total=False): +class LfA2aV1MutualTlsSecurityScheme(typing.TypedDict, total=False): + description: str + +@typing.type_check_only +class LfA2aV1OAuth2SecurityScheme(typing.TypedDict, total=False): + description: str + flows: LfA2aV1OAuthFlows + oauth2MetadataUrl: str + +@typing.type_check_only +class LfA2aV1OAuthFlows(typing.TypedDict, total=False): + authorizationCode: LfA2aV1AuthorizationCodeOAuthFlow + clientCredentials: LfA2aV1ClientCredentialsOAuthFlow + deviceCode: LfA2aV1DeviceCodeOAuthFlow + implicit: LfA2aV1ImplicitOAuthFlow + password: LfA2aV1PasswordOAuthFlow + +@typing.type_check_only +class LfA2aV1OpenIdConnectSecurityScheme(typing.TypedDict, total=False): + description: str + openIdConnectUrl: str + +@typing.type_check_only +class LfA2aV1Part(typing.TypedDict, total=False): data: typing.Any filename: str mediaType: str @@ -1654,25 +1785,47 @@ class LfA2aV1Part(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class LfA2aV1SendMessageConfiguration(typing_extensions.TypedDict, total=False): +class LfA2aV1PasswordOAuthFlow(typing.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class LfA2aV1SecurityRequirement(typing.TypedDict, total=False): + schemes: dict[str, typing.Any] + +@typing.type_check_only +class LfA2aV1SecurityScheme(typing.TypedDict, total=False): + apiKeySecurityScheme: LfA2aV1APIKeySecurityScheme + httpAuthSecurityScheme: LfA2aV1HTTPAuthSecurityScheme + mtlsSecurityScheme: LfA2aV1MutualTlsSecurityScheme + oauth2SecurityScheme: LfA2aV1OAuth2SecurityScheme + openIdConnectSecurityScheme: LfA2aV1OpenIdConnectSecurityScheme + +@typing.type_check_only +class LfA2aV1SendMessageConfiguration(typing.TypedDict, total=False): acceptedOutputModes: _list[str] historyLength: int returnImmediately: bool taskPushNotificationConfig: LfA2aV1TaskPushNotificationConfig @typing.type_check_only -class LfA2aV1SendMessageRequest(typing_extensions.TypedDict, total=False): +class LfA2aV1SendMessageRequest(typing.TypedDict, total=False): configuration: LfA2aV1SendMessageConfiguration message: LfA2aV1Message metadata: dict[str, typing.Any] @typing.type_check_only -class LfA2aV1SendMessageResponse(typing_extensions.TypedDict, total=False): +class LfA2aV1SendMessageResponse(typing.TypedDict, total=False): message: LfA2aV1Message task: LfA2aV1Task @typing.type_check_only -class LfA2aV1Task(typing_extensions.TypedDict, total=False): +class LfA2aV1StringList(typing.TypedDict, total=False): + list: _list[str] + +@typing.type_check_only +class LfA2aV1Task(typing.TypedDict, total=False): artifacts: _list[LfA2aV1Artifact] contextId: str history: _list[LfA2aV1Message] @@ -1681,7 +1834,7 @@ class LfA2aV1Task(typing_extensions.TypedDict, total=False): status: LfA2aV1TaskStatus @typing.type_check_only -class LfA2aV1TaskPushNotificationConfig(typing_extensions.TypedDict, total=False): +class LfA2aV1TaskPushNotificationConfig(typing.TypedDict, total=False): authentication: LfA2aV1AuthenticationInfo id: str taskId: str @@ -1690,9 +1843,9 @@ class LfA2aV1TaskPushNotificationConfig(typing_extensions.TypedDict, total=False url: str @typing.type_check_only -class LfA2aV1TaskStatus(typing_extensions.TypedDict, total=False): +class LfA2aV1TaskStatus(typing.TypedDict, total=False): message: LfA2aV1Message - state: typing_extensions.Literal[ + state: typing.Literal[ "TASK_STATE_UNSPECIFIED", "TASK_STATE_SUBMITTED", "TASK_STATE_WORKING", @@ -1706,99 +1859,99 @@ class LfA2aV1TaskStatus(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class ListAgentsResponse(typing_extensions.TypedDict, total=False): +class ListAgentsResponse(typing.TypedDict, total=False): agents: _list[Agent] nextPageToken: str @typing.type_check_only -class ListAppVersionsResponse(typing_extensions.TypedDict, total=False): +class ListAppVersionsResponse(typing.TypedDict, total=False): appVersions: _list[AppVersion] nextPageToken: str @typing.type_check_only -class ListAppsResponse(typing_extensions.TypedDict, total=False): +class ListAppsResponse(typing.TypedDict, total=False): apps: _list[App] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListChangelogsResponse(typing_extensions.TypedDict, total=False): +class ListChangelogsResponse(typing.TypedDict, total=False): changelogs: _list[Changelog] nextPageToken: str @typing.type_check_only -class ListConversationsResponse(typing_extensions.TypedDict, total=False): +class ListConversationsResponse(typing.TypedDict, total=False): conversations: _list[Conversation] nextPageToken: str @typing.type_check_only -class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str @typing.type_check_only -class ListEvaluationDatasetsResponse(typing_extensions.TypedDict, total=False): +class ListEvaluationDatasetsResponse(typing.TypedDict, total=False): evaluationDatasets: _list[EvaluationDataset] nextPageToken: str @typing.type_check_only -class ListEvaluationExpectationsResponse(typing_extensions.TypedDict, total=False): +class ListEvaluationExpectationsResponse(typing.TypedDict, total=False): evaluationExpectations: _list[EvaluationExpectation] nextPageToken: str @typing.type_check_only -class ListEvaluationResultsResponse(typing_extensions.TypedDict, total=False): +class ListEvaluationResultsResponse(typing.TypedDict, total=False): evaluationResults: _list[EvaluationResult] nextPageToken: str @typing.type_check_only -class ListEvaluationRunsResponse(typing_extensions.TypedDict, total=False): +class ListEvaluationRunsResponse(typing.TypedDict, total=False): evaluationRuns: _list[EvaluationRun] nextPageToken: str @typing.type_check_only -class ListEvaluationsResponse(typing_extensions.TypedDict, total=False): +class ListEvaluationsResponse(typing.TypedDict, total=False): evaluations: _list[Evaluation] nextPageToken: str @typing.type_check_only -class ListExamplesResponse(typing_extensions.TypedDict, total=False): +class ListExamplesResponse(typing.TypedDict, total=False): examples: _list[Example] nextPageToken: str @typing.type_check_only -class ListGuardrailsResponse(typing_extensions.TypedDict, total=False): +class ListGuardrailsResponse(typing.TypedDict, total=False): guardrails: _list[Guardrail] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListScheduledEvaluationRunsResponse(typing_extensions.TypedDict, total=False): +class ListScheduledEvaluationRunsResponse(typing.TypedDict, total=False): nextPageToken: str scheduledEvaluationRuns: _list[ScheduledEvaluationRun] @typing.type_check_only -class ListToolsResponse(typing_extensions.TypedDict, total=False): +class ListToolsResponse(typing.TypedDict, total=False): nextPageToken: str tools: _list[Tool] @typing.type_check_only -class ListToolsetsResponse(typing_extensions.TypedDict, total=False): +class ListToolsetsResponse(typing.TypedDict, total=False): nextPageToken: str toolsets: _list[Toolset] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -1806,7 +1959,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingSettings(typing_extensions.TypedDict, total=False): +class LoggingSettings(typing.TypedDict, total=False): audioRecordingConfig: AudioRecordingConfig bigqueryExportSettings: BigQueryExportSettings cloudLoggingSettings: CloudLoggingSettings @@ -1815,9 +1968,10 @@ 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): +class McpTool(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication customHeaders: dict[str, typing.Any] description: str @@ -1827,24 +1981,24 @@ class McpTool(typing_extensions.TypedDict, total=False): outputSchema: Schema serverAddress: str serviceDirectoryConfig: ServiceDirectoryConfig - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "STALE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "STALE"] tlsConfig: TlsConfig @typing.type_check_only -class McpToolDefinition(typing_extensions.TypedDict, total=False): +class McpToolDefinition(typing.TypedDict, total=False): description: str inputSchema: Schema outputSchema: Schema @typing.type_check_only -class McpToolOverride(typing_extensions.TypedDict, total=False): +class McpToolOverride(typing.TypedDict, total=False): descriptionOverride: str nameOverride: str snapshot: McpToolDefinition tool: str @typing.type_check_only -class McpToolset(typing_extensions.TypedDict, total=False): +class McpToolset(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication customHeaders: dict[str, typing.Any] serverAddress: str @@ -1853,24 +2007,24 @@ class McpToolset(typing_extensions.TypedDict, total=False): toolOverrides: _list[McpToolOverride] @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): chunks: _list[Chunk] eventTime: str role: str @typing.type_check_only -class MetricAnalysisSettings(typing_extensions.TypedDict, total=False): +class MetricAnalysisSettings(typing.TypedDict, total=False): llmMetricsOptedOut: bool @typing.type_check_only -class MockConfig(typing_extensions.TypedDict, total=False): +class MockConfig(typing.TypedDict, total=False): mockedToolCalls: _list[MockedToolCall] - unmatchedToolCallBehavior: typing_extensions.Literal[ + unmatchedToolCallBehavior: typing.Literal[ "UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED", "FAIL", "PASS_THROUGH" ] @typing.type_check_only -class MockedToolCall(typing_extensions.TypedDict, total=False): +class MockedToolCall(typing.TypedDict, total=False): expectedArgsPattern: dict[str, typing.Any] mockResponse: dict[str, typing.Any] tool: str @@ -1878,22 +2032,20 @@ class MockedToolCall(typing_extensions.TypedDict, total=False): toolset: ToolsetTool @typing.type_check_only -class ModelSettings(typing_extensions.TypedDict, total=False): +class ModelSettings(typing.TypedDict, total=False): model: str temperature: float @typing.type_check_only -class OAuthConfig(typing_extensions.TypedDict, total=False): +class OAuthConfig(typing.TypedDict, total=False): clientId: str clientSecretVersion: str - oauthGrantType: typing_extensions.Literal[ - "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" - ] + oauthGrantType: typing.Literal["OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL"] scopes: _list[str] tokenEndpoint: str @typing.type_check_only -class OpenApiTool(typing_extensions.TypedDict, total=False): +class OpenApiTool(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication description: str ignoreUnknownFields: bool @@ -1904,7 +2056,7 @@ class OpenApiTool(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class OpenApiToolset(typing_extensions.TypedDict, total=False): +class OpenApiToolset(typing.TypedDict, total=False): apiAuthentication: ApiAuthentication ignoreUnknownFields: bool openApiSchema: str @@ -1913,7 +2065,7 @@ class OpenApiToolset(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1921,128 +2073,134 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str requestedCancellation: bool statusMessage: str @typing.type_check_only -class OptimizationConfig(typing_extensions.TypedDict, total=False): +class OptimizationConfig(typing.TypedDict, total=False): assistantSession: str errorMessage: str generateLossReport: bool lossReport: dict[str, typing.Any] reportSummary: str shouldSuggestFix: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "OPTIMIZATION_STATUS_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" ] @typing.type_check_only -class OutputAudioConfig(typing_extensions.TypedDict, total=False): - audioEncoding: typing_extensions.Literal[ +class OutputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" ] sampleRateHertz: int @typing.type_check_only -class PersonaRunConfig(typing_extensions.TypedDict, total=False): +class PersonaRunConfig(typing.TypedDict, total=False): persona: str taskCount: int @typing.type_check_only -class PythonCodeCondition(typing_extensions.TypedDict, total=False): +class PythonCodeCondition(typing.TypedDict, total=False): pythonCode: str @typing.type_check_only -class PythonFunction(typing_extensions.TypedDict, total=False): +class PythonFunction(typing.TypedDict, total=False): description: str name: str pythonCode: str serviceDirectoryConfig: ServiceDirectoryConfig @typing.type_check_only -class QualityReport(typing_extensions.TypedDict, total=False): +class QualityReport(typing.TypedDict, total=False): evaluationRuns: _list[str] generalIssues: _list[QualityReportIssue] issues: _list[QualityReportAgentIssues] @typing.type_check_only -class QualityReportAgentIssues(typing_extensions.TypedDict, total=False): +class QualityReportAgentIssues(typing.TypedDict, total=False): agent: str issues: _list[QualityReportIssue] @typing.type_check_only -class QualityReportIssue(typing_extensions.TypedDict, total=False): +class QualityReportIssue(typing.TypedDict, total=False): description: str occurrenceCount: int proposedSolution: str @typing.type_check_only -class RedactionConfig(typing_extensions.TypedDict, total=False): +class RedactionConfig(typing.TypedDict, total=False): deidentifyTemplate: str enableRedaction: bool inspectTemplate: str @typing.type_check_only -class RemoteAgentTool(typing_extensions.TypedDict, total=False): +class RemoteAgentTool(typing.TypedDict, total=False): agentCard: AgentCard description: str name: str @typing.type_check_only -class RestoreAppVersionRequest(typing_extensions.TypedDict, total=False): ... +class RestoreAppVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetrieveToolSchemaRequest(typing_extensions.TypedDict, total=False): +class RetrieveToolSchemaRequest(typing.TypedDict, total=False): tool: str toolsetTool: ToolsetTool @typing.type_check_only -class RetrieveToolSchemaResponse(typing_extensions.TypedDict, total=False): +class RetrieveToolSchemaResponse(typing.TypedDict, total=False): inputSchema: Schema outputSchema: Schema tool: str toolsetTool: ToolsetTool @typing.type_check_only -class RetrieveToolsRequest(typing_extensions.TypedDict, total=False): +class RetrieveToolsRequest(typing.TypedDict, total=False): bypassPersistenceConfig: bool toolIds: _list[str] @typing.type_check_only -class RetrieveToolsResponse(typing_extensions.TypedDict, total=False): +class RetrieveToolsResponse(typing.TypedDict, total=False): tools: _list[Tool] @typing.type_check_only -class RunEvaluationRequest(typing_extensions.TypedDict, total=False): +class RunEvaluationRequest(typing.TypedDict, total=False): app: str appVersion: str config: EvaluationConfig displayName: str evaluationDataset: str + evaluationRunCachingSettings: EvaluationRunCachingSettings evaluations: _list[str] generateLatencyReport: bool - goldenRunMethod: typing_extensions.Literal[ - "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" - ] + goldenRunMethod: typing.Literal["GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE"] optimizationConfig: OptimizationConfig personaRunConfigs: _list[PersonaRunConfig] runCount: int scheduledEvaluationRun: str @typing.type_check_only -class RunSessionRequest(typing_extensions.TypedDict, total=False): +class RunEvaluationResultMetricsRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class RunEvaluationResultMetricsResponse(typing.TypedDict, total=False): + status: typing.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL", "SKIPPED"] + +@typing.type_check_only +class RunSessionRequest(typing.TypedDict, total=False): config: SessionConfig inputs: _list[SessionInput] @typing.type_check_only -class RunSessionResponse(typing_extensions.TypedDict, total=False): +class RunSessionResponse(typing.TypedDict, total=False): outputs: _list[SessionOutput] @typing.type_check_only -class ScheduledEvaluationRun(typing_extensions.TypedDict, total=False): +class ScheduledEvaluationRun(typing.TypedDict, total=False): active: bool createTime: str createdBy: str @@ -2059,15 +2217,15 @@ class ScheduledEvaluationRun(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ScheduledEvaluationRunSchedulingConfig(typing_extensions.TypedDict, total=False): +class ScheduledEvaluationRunSchedulingConfig(typing.TypedDict, total=False): daysOfWeek: _list[int] - frequency: typing_extensions.Literal[ + frequency: typing.Literal[ "FREQUENCY_UNSPECIFIED", "NONE", "DAILY", "WEEKLY", "BIWEEKLY" ] startTime: str @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): additionalProperties: Schema anyOf: _list[Schema] default: typing.Any @@ -2085,13 +2243,13 @@ class Schema(typing_extensions.TypedDict, total=False): ref: str required: _list[str] title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "INTEGER", "NUMBER", "BOOLEAN", "OBJECT", "ARRAY" ] uniqueItems: bool @typing.type_check_only -class SecuritySettings(typing_extensions.TypedDict, total=False): +class SecuritySettings(typing.TypedDict, total=False): createTime: str endpointControlPolicy: EndpointControlPolicy etag: str @@ -2099,22 +2257,23 @@ class SecuritySettings(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceAccountAuthConfig(typing_extensions.TypedDict, total=False): +class ServiceAccountAuthConfig(typing.TypedDict, total=False): scopes: _list[str] serviceAccount: str @typing.type_check_only -class ServiceAgentIdTokenAuthConfig(typing_extensions.TypedDict, total=False): ... +class ServiceAgentIdTokenAuthConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): +class ServiceDirectoryConfig(typing.TypedDict, total=False): service: str @typing.type_check_only -class SessionConfig(typing_extensions.TypedDict, total=False): +class SessionConfig(typing.TypedDict, total=False): deployment: str enableTextStreaming: bool entryAgent: str + excludeDiagnosticInfo: bool historicalContexts: _list[Message] inputAudioConfig: InputAudioConfig outputAudioConfig: OutputAudioConfig @@ -2123,15 +2282,13 @@ class SessionConfig(typing_extensions.TypedDict, total=False): useToolFakes: bool @typing.type_check_only -class SessionConfigRemoteDialogflowQueryParameters( - typing_extensions.TypedDict, total=False -): +class SessionConfigRemoteDialogflowQueryParameters(typing.TypedDict, total=False): endUserMetadata: dict[str, typing.Any] payload: dict[str, typing.Any] webhookHeaders: dict[str, typing.Any] @typing.type_check_only -class SessionInput(typing_extensions.TypedDict, total=False): +class SessionInput(typing.TypedDict, total=False): audio: str blob: Blob dtmf: str @@ -2143,9 +2300,10 @@ class SessionInput(typing_extensions.TypedDict, total=False): willContinue: bool @typing.type_check_only -class SessionOutput(typing_extensions.TypedDict, total=False): +class SessionOutput(typing.TypedDict, total=False): audio: str citations: Citations + context: _list[dict[str, typing.Any]] diagnosticInfo: SessionOutputDiagnosticInfo endSession: EndSession googleSearchSuggestions: GoogleSearchSuggestions @@ -2156,12 +2314,12 @@ class SessionOutput(typing_extensions.TypedDict, total=False): turnIndex: int @typing.type_check_only -class SessionOutputDiagnosticInfo(typing_extensions.TypedDict, total=False): +class SessionOutputDiagnosticInfo(typing.TypedDict, total=False): messages: _list[Message] rootSpan: Span @typing.type_check_only -class Span(typing_extensions.TypedDict, total=False): +class Span(typing.TypedDict, total=False): attributes: dict[str, typing.Any] childSpans: _list[Span] duration: str @@ -2170,45 +2328,49 @@ class Span(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SynthesizeSpeechConfig(typing_extensions.TypedDict, total=False): +class SynthesizeSpeechConfig(typing.TypedDict, total=False): + consentAudioGcsUri: str + instruction: str + model: str speakingRate: float voice: str + voiceSampleGcsUri: str @typing.type_check_only -class SystemTool(typing_extensions.TypedDict, total=False): +class SystemTool(typing.TypedDict, total=False): description: str name: str @typing.type_check_only -class TestPersonaVoiceRequest(typing_extensions.TypedDict, total=False): +class TestPersonaVoiceRequest(typing.TypedDict, total=False): personaId: str text: str @typing.type_check_only -class TestPersonaVoiceResponse(typing_extensions.TypedDict, total=False): +class TestPersonaVoiceResponse(typing.TypedDict, total=False): audio: str @typing.type_check_only -class TimeZoneSettings(typing_extensions.TypedDict, total=False): +class TimeZoneSettings(typing.TypedDict, total=False): timeZone: str @typing.type_check_only -class TlsConfig(typing_extensions.TypedDict, total=False): +class TlsConfig(typing.TypedDict, total=False): caCerts: _list[TlsConfigCaCert] @typing.type_check_only -class TlsConfigCaCert(typing_extensions.TypedDict, total=False): +class TlsConfigCaCert(typing.TypedDict, total=False): cert: str displayName: str @typing.type_check_only -class Tool(typing_extensions.TypedDict, total=False): +class Tool(typing.TypedDict, total=False): agentTool: AgentTool clientFunction: ClientFunction connectorTool: ConnectorTool @@ -2216,7 +2378,7 @@ class Tool(typing_extensions.TypedDict, total=False): dataStoreTool: DataStoreTool displayName: str etag: str - executionType: typing_extensions.Literal[ + executionType: typing.Literal[ "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] fileSearchTool: FileSearchTool @@ -2234,7 +2396,7 @@ class Tool(typing_extensions.TypedDict, total=False): widgetTool: WidgetTool @typing.type_check_only -class ToolCall(typing_extensions.TypedDict, total=False): +class ToolCall(typing.TypedDict, total=False): args: dict[str, typing.Any] displayName: str id: str @@ -2242,16 +2404,16 @@ class ToolCall(typing_extensions.TypedDict, total=False): toolsetTool: ToolsetTool @typing.type_check_only -class ToolCalls(typing_extensions.TypedDict, total=False): +class ToolCalls(typing.TypedDict, total=False): toolCalls: _list[ToolCall] @typing.type_check_only -class ToolFakeConfig(typing_extensions.TypedDict, total=False): +class ToolFakeConfig(typing.TypedDict, total=False): codeBlock: CodeBlock enableFakeMode: bool @typing.type_check_only -class ToolResponse(typing_extensions.TypedDict, total=False): +class ToolResponse(typing.TypedDict, total=False): displayName: str id: str response: dict[str, typing.Any] @@ -2259,100 +2421,110 @@ class ToolResponse(typing_extensions.TypedDict, total=False): toolsetTool: ToolsetTool @typing.type_check_only -class ToolResponses(typing_extensions.TypedDict, total=False): +class ToolResponses(typing.TypedDict, total=False): toolResponses: _list[ToolResponse] @typing.type_check_only -class Toolset(typing_extensions.TypedDict, total=False): +class Toolset(typing.TypedDict, total=False): connectorToolset: ConnectorToolset createTime: str description: str displayName: str etag: str - executionType: typing_extensions.Literal[ + executionType: typing.Literal[ "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] mcpToolset: McpToolset name: str openApiToolset: OpenApiToolset + timeout: str toolFakeConfig: ToolFakeConfig updateTime: str @typing.type_check_only -class ToolsetTool(typing_extensions.TypedDict, total=False): +class ToolsetTool(typing.TypedDict, total=False): toolId: str toolset: str @typing.type_check_only -class TransferRule(typing_extensions.TypedDict, total=False): +class TransferRule(typing.TypedDict, total=False): childAgent: str deterministicTransfer: TransferRuleDeterministicTransfer - direction: typing_extensions.Literal[ + direction: typing.Literal[ "DIRECTION_UNSPECIFIED", "PARENT_TO_CHILD", "CHILD_TO_PARENT" ] disablePlannerTransfer: TransferRuleDisablePlannerTransfer @typing.type_check_only -class TransferRuleDeterministicTransfer(typing_extensions.TypedDict, total=False): +class TransferRuleDeterministicTransfer(typing.TypedDict, total=False): expressionCondition: ExpressionCondition pythonCodeCondition: PythonCodeCondition @typing.type_check_only -class TransferRuleDisablePlannerTransfer(typing_extensions.TypedDict, total=False): +class TransferRuleDisablePlannerTransfer(typing.TypedDict, total=False): expressionCondition: ExpressionCondition @typing.type_check_only -class TriggerAction(typing_extensions.TypedDict, total=False): +class TriggerAction(typing.TypedDict, total=False): generativeAnswer: TriggerActionGenerativeAnswer respondImmediately: TriggerActionRespondImmediately transferAgent: TriggerActionTransferAgent @typing.type_check_only -class TriggerActionGenerativeAnswer(typing_extensions.TypedDict, total=False): +class TriggerActionGenerativeAnswer(typing.TypedDict, total=False): prompt: str @typing.type_check_only -class TriggerActionRespondImmediately(typing_extensions.TypedDict, total=False): +class TriggerActionRespondImmediately(typing.TypedDict, total=False): responses: _list[TriggerActionResponse] @typing.type_check_only -class TriggerActionResponse(typing_extensions.TypedDict, total=False): +class TriggerActionResponse(typing.TypedDict, total=False): disabled: bool text: str @typing.type_check_only -class TriggerActionTransferAgent(typing_extensions.TypedDict, total=False): +class TriggerActionTransferAgent(typing.TypedDict, total=False): agent: str @typing.type_check_only -class UploadEvaluationAudioRequest(typing_extensions.TypedDict, total=False): +class UploadEvaluationAudioRequest(typing.TypedDict, total=False): audioContent: str previousAudioGcsUri: str @typing.type_check_only -class UploadEvaluationAudioResponse(typing_extensions.TypedDict, total=False): +class UploadEvaluationAudioResponse(typing.TypedDict, total=False): audioGcsUri: str duration: str transcript: str @typing.type_check_only -class VpcScSettings(typing_extensions.TypedDict, total=False): +class VpcScSettings(typing.TypedDict, total=False): allowedOrigins: _list[str] @typing.type_check_only -class WebSearchQuery(typing_extensions.TypedDict, total=False): +class WebSearchQuery(typing.TypedDict, total=False): query: str uri: str @typing.type_check_only -class WidgetTool(typing_extensions.TypedDict, total=False): +class WhatsAppCredentials(typing.TypedDict, total=False): + authCode: str + businessAccountId: str + conversationProfileId: str + phoneNumber: str + pin: str + wabaId: str + +@typing.type_check_only +class WidgetTool(typing.TypedDict, total=False): dataMapping: WidgetToolDataMapping description: str name: str parameters: Schema textResponseConfig: WidgetToolTextResponseConfig uiConfig: dict[str, typing.Any] - widgetType: typing_extensions.Literal[ + widgetType: typing.Literal[ "WIDGET_TYPE_UNSPECIFIED", "CUSTOM", "PRODUCT_CAROUSEL", @@ -2369,19 +2541,15 @@ class WidgetTool(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WidgetToolDataMapping(typing_extensions.TypedDict, total=False): +class WidgetToolDataMapping(typing.TypedDict, total=False): fieldMappings: dict[str, typing.Any] - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "FIELD_MAPPING", "PYTHON_SCRIPT" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "FIELD_MAPPING", "PYTHON_SCRIPT"] pythonFunction: PythonFunction pythonScript: str sourceToolName: str @typing.type_check_only -class WidgetToolTextResponseConfig(typing_extensions.TypedDict, total=False): +class WidgetToolTextResponseConfig(typing.TypedDict, total=False): staticText: str textResponseInstruction: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "NONE", "LLM_GENERATED", "STATIC" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "NONE", "LLM_GENERATED", "STATIC"] diff --git a/googleapiclient-stubs/_apis/chat/v1/resources.pyi b/googleapiclient-stubs/_apis/chat/v1/resources.pyi index aa7561084..1efa3979a 100644 --- a/googleapiclient-stubs/_apis/chat/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -135,14 +134,14 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): *, parent: str, body: Message, - createMessageNotificationOptions_notificationType: typing_extensions.Literal[ + createMessageNotificationOptions_notificationType: typing.Literal[ "NOTIFICATION_TYPE_NONE", "NOTIFICATION_TYPE_FORCE_NOTIFY", "NOTIFICATION_TYPE_SILENT", ] | None = ..., messageId: str | None = ..., - messageReplyOption: typing_extensions.Literal[ + messageReplyOption: typing.Literal[ "MESSAGE_REPLY_OPTION_UNSPECIFIED", "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", "REPLY_MESSAGE_OR_FAIL", @@ -155,12 +154,29 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, force: bool | None = ..., **kwargs: typing.Any ) -> EmptyHttpRequest: ... - def get(self, *, name: str, **kwargs: typing.Any) -> MessageHttpRequest: ... + def get( + self, + *, + name: str, + markupSyntax: typing.Literal[ + "MARKUP_SYNTAX_UNSPECIFIED", + "MARKUP_SYNTAX_CHAT", + "MARKUP_SYNTAX_MARKDOWN", + ] + | None = ..., + **kwargs: typing.Any, + ) -> MessageHttpRequest: ... def list( self, *, parent: str, filter: str | None = ..., + markupSyntax: typing.Literal[ + "MARKUP_SYNTAX_UNSPECIFIED", + "MARKUP_SYNTAX_CHAT", + "MARKUP_SYNTAX_MARKDOWN", + ] + | None = ..., orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., @@ -181,6 +197,14 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> MessageHttpRequest: ... + def search( + self, *, parent: str, body: SearchMessagesRequest, **kwargs: typing.Any + ) -> SearchMessagesResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchMessagesResponseHttpRequest, + previous_response: SearchMessagesResponse, + ) -> SearchMessagesResponseHttpRequest | None: ... def update( self, *, @@ -230,7 +254,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): *, pageSize: int | None = ..., pageToken: str | None = ..., - spaceView: typing_extensions.Literal[ + spaceView: typing.Literal[ "SPACE_VIEW_UNSPECIFIED", "SPACE_VIEW_RESOURCE_NAME_ONLY", "SPACE_VIEW_EXPANDED", @@ -295,7 +319,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 +335,7 @@ class HangoutsChatResource(googleapiclient.discovery.Resource): body: MarkAsDoNotDisturbRequest, **kwargs: typing.Any, ) -> AvailabilityHttpRequest: ... - def updateAvailability( + def patch( self, *, name: str, @@ -603,6 +627,14 @@ class ReactionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Reaction: ... +@typing.type_check_only +class SearchMessagesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchMessagesResponse: ... + @typing.type_check_only class SearchSpacesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index 2c81145da..4cff20347 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -1,29 +1,35 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessSettings(typing_extensions.TypedDict, total=False): - accessState: typing_extensions.Literal[ - "ACCESS_STATE_UNSPECIFIED", "PRIVATE", "DISCOVERABLE" - ] +class AccessPermissionSetting(typing.TypedDict, total=False): + principals: _list[Principal] + +@typing.type_check_only +class AccessPermissionSettings(typing.TypedDict, total=False): + discoverSpaceSetting: AccessPermissionSetting + joinSpaceSetting: AccessPermissionSetting + +@typing.type_check_only +class AccessSettings(typing.TypedDict, total=False): + accessPermissionSettings: AccessPermissionSettings + accessState: typing.Literal["ACCESS_STATE_UNSPECIFIED", "PRIVATE", "DISCOVERABLE"] audience: str @typing.type_check_only -class AccessoryWidget(typing_extensions.TypedDict, total=False): +class AccessoryWidget(typing.TypedDict, total=False): buttonList: GoogleAppsCardV1ButtonList @typing.type_check_only -class ActionParameter(typing_extensions.TypedDict, total=False): +class ActionParameter(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class ActionResponse(typing_extensions.TypedDict, total=False): +class ActionResponse(typing.TypedDict, total=False): dialogAction: DialogAction - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "NEW_MESSAGE", "UPDATE_MESSAGE", @@ -36,8 +42,8 @@ class ActionResponse(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ActionStatus(typing_extensions.TypedDict, total=False): - statusCode: typing_extensions.Literal[ +class ActionStatus(typing.TypedDict, total=False): + statusCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -59,13 +65,13 @@ class ActionStatus(typing_extensions.TypedDict, total=False): userFacingMessage: str @typing.type_check_only -class Annotation(typing_extensions.TypedDict, total=False): +class Annotation(typing.TypedDict, total=False): customEmojiMetadata: CustomEmojiMetadata length: int richLinkMetadata: RichLinkMetadata slashCommand: SlashCommandMetadata startIndex: int - type: typing_extensions.Literal[ + type: typing.Literal[ "ANNOTATION_TYPE_UNSPECIFIED", "USER_MENTION", "SLASH_COMMAND", @@ -75,104 +81,109 @@ class Annotation(typing_extensions.TypedDict, total=False): userMention: UserMentionMetadata @typing.type_check_only -class AppCommandMetadata(typing_extensions.TypedDict, total=False): +class AppCommandMetadata(typing.TypedDict, total=False): appCommandId: int - appCommandType: typing_extensions.Literal[ - "APP_COMMAND_TYPE_UNSPECIFIED", "SLASH_COMMAND", "QUICK_COMMAND" + appCommandType: typing.Literal[ + "APP_COMMAND_TYPE_UNSPECIFIED", + "SLASH_COMMAND", + "QUICK_COMMAND", + "MESSAGE_ACTION", ] @typing.type_check_only -class AttachedGif(typing_extensions.TypedDict, total=False): +class AttachedGif(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Attachment(typing_extensions.TypedDict, total=False): +class Attachment(typing.TypedDict, total=False): attachmentDataRef: AttachmentDataRef contentName: str contentType: str downloadUri: str driveDataRef: DriveDataRef name: str - source: typing_extensions.Literal[ - "SOURCE_UNSPECIFIED", "DRIVE_FILE", "UPLOADED_CONTENT" - ] + source: typing.Literal["SOURCE_UNSPECIFIED", "DRIVE_FILE", "UPLOADED_CONTENT"] thumbnailUri: str @typing.type_check_only -class AttachmentDataRef(typing_extensions.TypedDict, total=False): +class AttachmentDataRef(typing.TypedDict, total=False): attachmentUploadToken: str resourceName: str @typing.type_check_only -class Availability(typing_extensions.TypedDict, total=False): +class Audience(typing.TypedDict, total=False): + name: str + +@typing.type_check_only +class Availability(typing.TypedDict, total=False): customStatus: CustomStatus doNotDisturbMetadata: DoNotDisturbMetadata name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "IDLE", "AWAY", "DO_NOT_DISTURB" ] @typing.type_check_only -class Button(typing_extensions.TypedDict, total=False): +class Button(typing.TypedDict, total=False): imageButton: ImageButton textButton: TextButton @typing.type_check_only -class CalendarEventLinkData(typing_extensions.TypedDict, total=False): +class CalendarEventLinkData(typing.TypedDict, total=False): calendarId: str eventId: str @typing.type_check_only -class Card(typing_extensions.TypedDict, total=False): +class Card(typing.TypedDict, total=False): cardActions: _list[CardAction] header: CardHeader name: str sections: _list[Section] @typing.type_check_only -class CardAction(typing_extensions.TypedDict, total=False): +class CardAction(typing.TypedDict, total=False): actionLabel: str onClick: OnClick @typing.type_check_only -class CardHeader(typing_extensions.TypedDict, total=False): - imageStyle: typing_extensions.Literal["IMAGE_STYLE_UNSPECIFIED", "IMAGE", "AVATAR"] +class CardHeader(typing.TypedDict, total=False): + imageStyle: typing.Literal["IMAGE_STYLE_UNSPECIFIED", "IMAGE", "AVATAR"] imageUrl: str subtitle: str title: str @typing.type_check_only -class CardWithId(typing_extensions.TypedDict, total=False): +class CardWithId(typing.TypedDict, total=False): card: GoogleAppsCardV1Card cardId: str @typing.type_check_only -class ChatAppLogEntry(typing_extensions.TypedDict, total=False): +class ChatAppLogEntry(typing.TypedDict, total=False): deployment: str deploymentFunction: str error: Status @typing.type_check_only -class ChatClientDataSourceMarkup(typing_extensions.TypedDict, total=False): +class ChatClientDataSourceMarkup(typing.TypedDict, total=False): spaceDataSource: SpaceDataSource @typing.type_check_only -class ChatSpaceLinkData(typing_extensions.TypedDict, total=False): +class ChatSpaceLinkData(typing.TypedDict, total=False): message: str space: str thread: str @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class CommonEventObject(typing_extensions.TypedDict, total=False): +class CommonEventObject(typing.TypedDict, total=False): formInputs: dict[str, typing.Any] - hostApp: typing_extensions.Literal[ + hostApp: typing.Literal[ "UNSPECIFIED_HOST_APP", "GMAIL", "CALENDAR", @@ -187,19 +198,19 @@ class CommonEventObject(typing_extensions.TypedDict, total=False): ] invokedFunction: str parameters: dict[str, typing.Any] - platform: typing_extensions.Literal["UNKNOWN_PLATFORM", "WEB", "IOS", "ANDROID"] + platform: typing.Literal["UNKNOWN_PLATFORM", "WEB", "IOS", "ANDROID"] timeZone: TimeZone userLocale: str @typing.type_check_only -class CompleteImportSpaceRequest(typing_extensions.TypedDict, total=False): ... +class CompleteImportSpaceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CompleteImportSpaceResponse(typing_extensions.TypedDict, total=False): +class CompleteImportSpaceResponse(typing.TypedDict, total=False): space: Space @typing.type_check_only -class CustomEmoji(typing_extensions.TypedDict, total=False): +class CustomEmoji(typing.TypedDict, total=False): emojiName: str name: str payload: CustomEmojiPayload @@ -207,34 +218,34 @@ class CustomEmoji(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class CustomEmojiMetadata(typing_extensions.TypedDict, total=False): +class CustomEmojiMetadata(typing.TypedDict, total=False): customEmoji: CustomEmoji @typing.type_check_only -class CustomEmojiPayload(typing_extensions.TypedDict, total=False): +class CustomEmojiPayload(typing.TypedDict, total=False): fileContent: str filename: str @typing.type_check_only -class CustomStatus(typing_extensions.TypedDict, total=False): +class CustomStatus(typing.TypedDict, total=False): emoji: Emoji expireTime: str text: str ttl: str @typing.type_check_only -class DateInput(typing_extensions.TypedDict, total=False): +class DateInput(typing.TypedDict, total=False): msSinceEpoch: str @typing.type_check_only -class DateTimeInput(typing_extensions.TypedDict, total=False): +class DateTimeInput(typing.TypedDict, total=False): hasDate: bool hasTime: bool msSinceEpoch: str @typing.type_check_only -class DeletionMetadata(typing_extensions.TypedDict, total=False): - deletionType: typing_extensions.Literal[ +class DeletionMetadata(typing.TypedDict, total=False): + deletionType: typing.Literal[ "DELETION_TYPE_UNSPECIFIED", "CREATOR", "SPACE_OWNER", @@ -246,12 +257,12 @@ class DeletionMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DeprecatedEvent(typing_extensions.TypedDict, total=False): +class DeprecatedEvent(typing.TypedDict, total=False): action: FormAction appCommandMetadata: AppCommandMetadata common: CommonEventObject configCompleteRedirectUrl: str - dialogEventType: typing_extensions.Literal[ + dialogEventType: typing.Literal[ "TYPE_UNSPECIFIED", "REQUEST_DIALOG", "SUBMIT_DIALOG", "CANCEL_DIALOG" ] eventTime: str @@ -261,7 +272,7 @@ class DeprecatedEvent(typing_extensions.TypedDict, total=False): thread: Thread threadKey: str token: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "MESSAGE", "ADDED_TO_SPACE", @@ -273,137 +284,135 @@ class DeprecatedEvent(typing_extensions.TypedDict, total=False): user: User @typing.type_check_only -class Dialog(typing_extensions.TypedDict, total=False): +class Dialog(typing.TypedDict, total=False): body: GoogleAppsCardV1Card @typing.type_check_only -class DialogAction(typing_extensions.TypedDict, total=False): +class DialogAction(typing.TypedDict, total=False): actionStatus: ActionStatus dialog: Dialog @typing.type_check_only -class DoNotDisturbMetadata(typing_extensions.TypedDict, total=False): +class DoNotDisturbMetadata(typing.TypedDict, total=False): expirationTime: str @typing.type_check_only -class DriveDataRef(typing_extensions.TypedDict, total=False): +class DriveDataRef(typing.TypedDict, total=False): driveFileId: str @typing.type_check_only -class DriveLinkData(typing_extensions.TypedDict, total=False): +class DriveLinkData(typing.TypedDict, total=False): driveDataRef: DriveDataRef mimeType: str @typing.type_check_only -class Emoji(typing_extensions.TypedDict, total=False): +class Emoji(typing.TypedDict, total=False): customEmoji: CustomEmoji unicode: str @typing.type_check_only -class EmojiReactionSummary(typing_extensions.TypedDict, total=False): +class EmojiReactionSummary(typing.TypedDict, total=False): emoji: Emoji reactionCount: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FindGroupChatsResponse(typing_extensions.TypedDict, total=False): +class FindGroupChatsResponse(typing.TypedDict, total=False): nextPageToken: str spaces: _list[Space] @typing.type_check_only -class FormAction(typing_extensions.TypedDict, total=False): +class FormAction(typing.TypedDict, total=False): actionMethodName: str parameters: _list[ActionParameter] @typing.type_check_only -class ForwardedMetadata(typing_extensions.TypedDict, total=False): +class ForwardedMetadata(typing.TypedDict, total=False): space: str spaceDisplayName: str @typing.type_check_only -class GoogleAppsCardV1Action(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Action(typing.TypedDict, total=False): allWidgetsAreRequired: bool function: str - interaction: typing_extensions.Literal["INTERACTION_UNSPECIFIED", "OPEN_DIALOG"] - loadIndicator: typing_extensions.Literal["SPINNER", "NONE"] + interaction: typing.Literal["INTERACTION_UNSPECIFIED", "OPEN_DIALOG"] + loadIndicator: typing.Literal["SPINNER", "NONE"] parameters: _list[GoogleAppsCardV1ActionParameter] persistValues: bool requiredWidgets: _list[str] @typing.type_check_only -class GoogleAppsCardV1ActionParameter(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1ActionParameter(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleAppsCardV1BorderStyle(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1BorderStyle(typing.TypedDict, total=False): cornerRadius: int strokeColor: Color - type: typing_extensions.Literal["BORDER_TYPE_UNSPECIFIED", "NO_BORDER", "STROKE"] + type: typing.Literal["BORDER_TYPE_UNSPECIFIED", "NO_BORDER", "STROKE"] @typing.type_check_only -class GoogleAppsCardV1Button(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Button(typing.TypedDict, total=False): altText: str color: Color disabled: bool icon: GoogleAppsCardV1Icon onClick: GoogleAppsCardV1OnClick text: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "OUTLINED", "FILLED", "FILLED_TONAL", "BORDERLESS" ] @typing.type_check_only -class GoogleAppsCardV1ButtonList(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1ButtonList(typing.TypedDict, total=False): buttons: _list[GoogleAppsCardV1Button] @typing.type_check_only -class GoogleAppsCardV1Card(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Card(typing.TypedDict, total=False): cardActions: _list[GoogleAppsCardV1CardAction] - displayStyle: typing_extensions.Literal[ - "DISPLAY_STYLE_UNSPECIFIED", "PEEK", "REPLACE" - ] + displayStyle: typing.Literal["DISPLAY_STYLE_UNSPECIFIED", "PEEK", "REPLACE"] expressionData: _list[GoogleAppsCardV1ExpressionData] fixedFooter: GoogleAppsCardV1CardFixedFooter header: GoogleAppsCardV1CardHeader name: str peekCardHeader: GoogleAppsCardV1CardHeader - sectionDividerStyle: typing_extensions.Literal[ + sectionDividerStyle: typing.Literal[ "DIVIDER_STYLE_UNSPECIFIED", "SOLID_DIVIDER", "NO_DIVIDER" ] sections: _list[GoogleAppsCardV1Section] @typing.type_check_only -class GoogleAppsCardV1CardAction(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1CardAction(typing.TypedDict, total=False): actionLabel: str onClick: GoogleAppsCardV1OnClick @typing.type_check_only -class GoogleAppsCardV1CardFixedFooter(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1CardFixedFooter(typing.TypedDict, total=False): primaryButton: GoogleAppsCardV1Button secondaryButton: GoogleAppsCardV1Button @typing.type_check_only -class GoogleAppsCardV1CardHeader(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1CardHeader(typing.TypedDict, total=False): imageAltText: str - imageType: typing_extensions.Literal["SQUARE", "CIRCLE"] + imageType: typing.Literal["SQUARE", "CIRCLE"] imageUrl: str subtitle: str title: str @typing.type_check_only -class GoogleAppsCardV1Carousel(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Carousel(typing.TypedDict, total=False): carouselCards: _list[GoogleAppsCardV1CarouselCard] @typing.type_check_only -class GoogleAppsCardV1CarouselCard(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1CarouselCard(typing.TypedDict, total=False): footerWidgets: _list[GoogleAppsCardV1NestedWidget] widgets: _list[GoogleAppsCardV1NestedWidget] @typing.type_check_only -class GoogleAppsCardV1Chip(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Chip(typing.TypedDict, total=False): altText: str disabled: bool enabled: bool @@ -412,66 +421,64 @@ class GoogleAppsCardV1Chip(typing_extensions.TypedDict, total=False): onClick: GoogleAppsCardV1OnClick @typing.type_check_only -class GoogleAppsCardV1ChipList(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1ChipList(typing.TypedDict, total=False): chips: _list[GoogleAppsCardV1Chip] - layout: typing_extensions.Literal[ - "LAYOUT_UNSPECIFIED", "WRAPPED", "HORIZONTAL_SCROLLABLE" - ] + layout: typing.Literal["LAYOUT_UNSPECIFIED", "WRAPPED", "HORIZONTAL_SCROLLABLE"] @typing.type_check_only -class GoogleAppsCardV1CollapseControl(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1CollapseControl(typing.TypedDict, total=False): collapseButton: GoogleAppsCardV1Button expandButton: GoogleAppsCardV1Button - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END" ] @typing.type_check_only -class GoogleAppsCardV1Column(typing_extensions.TypedDict, total=False): - horizontalAlignment: typing_extensions.Literal[ +class GoogleAppsCardV1Column(typing.TypedDict, total=False): + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END" ] - horizontalSizeStyle: typing_extensions.Literal[ + horizontalSizeStyle: typing.Literal[ "HORIZONTAL_SIZE_STYLE_UNSPECIFIED", "FILL_AVAILABLE_SPACE", "FILL_MINIMUM_SPACE", ] - verticalAlignment: typing_extensions.Literal[ + verticalAlignment: typing.Literal[ "VERTICAL_ALIGNMENT_UNSPECIFIED", "CENTER", "TOP", "BOTTOM" ] widgets: _list[GoogleAppsCardV1Widgets] @typing.type_check_only -class GoogleAppsCardV1Columns(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Columns(typing.TypedDict, total=False): columnItems: _list[GoogleAppsCardV1Column] @typing.type_check_only -class GoogleAppsCardV1CommonWidgetAction(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1CommonWidgetAction(typing.TypedDict, total=False): updateVisibilityAction: GoogleAppsCardV1UpdateVisibilityAction @typing.type_check_only -class GoogleAppsCardV1Condition(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Condition(typing.TypedDict, total=False): actionRuleId: str expressionDataCondition: GoogleAppsCardV1ExpressionDataCondition @typing.type_check_only -class GoogleAppsCardV1DataSourceConfig(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1DataSourceConfig(typing.TypedDict, total=False): minCharactersTrigger: int platformDataSource: GoogleAppsCardV1PlatformDataSource remoteDataSource: GoogleAppsCardV1Action @typing.type_check_only -class GoogleAppsCardV1DateTimePicker(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1DateTimePicker(typing.TypedDict, total=False): hostAppDataSource: HostAppDataSourceMarkup label: str name: str onChangeAction: GoogleAppsCardV1Action timezoneOffsetDate: int - type: typing_extensions.Literal["DATE_AND_TIME", "DATE_ONLY", "TIME_ONLY"] + type: typing.Literal["DATE_AND_TIME", "DATE_ONLY", "TIME_ONLY"] valueMsEpoch: str @typing.type_check_only -class GoogleAppsCardV1DecoratedText(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1DecoratedText(typing.TypedDict, total=False): bottomLabel: str bottomLabelText: GoogleAppsCardV1TextParagraph button: GoogleAppsCardV1Button @@ -480,7 +487,7 @@ class GoogleAppsCardV1DecoratedText(typing_extensions.TypedDict, total=False): icon: GoogleAppsCardV1Icon onClick: GoogleAppsCardV1OnClick startIcon: GoogleAppsCardV1Icon - startIconVerticalAlignment: typing_extensions.Literal[ + startIconVerticalAlignment: typing.Literal[ "VERTICAL_ALIGNMENT_UNSPECIFIED", "TOP", "MIDDLE", "BOTTOM" ] switchControl: GoogleAppsCardV1SwitchControl @@ -490,31 +497,31 @@ class GoogleAppsCardV1DecoratedText(typing_extensions.TypedDict, total=False): wrapText: bool @typing.type_check_only -class GoogleAppsCardV1Divider(typing_extensions.TypedDict, total=False): ... +class GoogleAppsCardV1Divider(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAppsCardV1EventAction(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1EventAction(typing.TypedDict, total=False): actionRuleId: str commonWidgetAction: GoogleAppsCardV1CommonWidgetAction postEventTriggers: _list[GoogleAppsCardV1Trigger] @typing.type_check_only -class GoogleAppsCardV1ExpressionData(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1ExpressionData(typing.TypedDict, total=False): conditions: _list[GoogleAppsCardV1Condition] eventActions: _list[GoogleAppsCardV1EventAction] expression: str id: str @typing.type_check_only -class GoogleAppsCardV1ExpressionDataCondition(typing_extensions.TypedDict, total=False): - conditionType: typing_extensions.Literal[ +class GoogleAppsCardV1ExpressionDataCondition(typing.TypedDict, total=False): + conditionType: typing.Literal[ "CONDITION_TYPE_UNSPECIFIED", "EXPRESSION_EVALUATION_SUCCESS", "EXPRESSION_EVALUATION_FAILURE", ] @typing.type_check_only -class GoogleAppsCardV1Grid(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Grid(typing.TypedDict, total=False): borderStyle: GoogleAppsCardV1BorderStyle columnCount: int items: _list[GoogleAppsCardV1GridItem] @@ -522,40 +529,38 @@ class GoogleAppsCardV1Grid(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class GoogleAppsCardV1GridItem(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1GridItem(typing.TypedDict, total=False): id: str image: GoogleAppsCardV1ImageComponent - layout: typing_extensions.Literal[ - "GRID_ITEM_LAYOUT_UNSPECIFIED", "TEXT_BELOW", "TEXT_ABOVE" - ] + layout: typing.Literal["GRID_ITEM_LAYOUT_UNSPECIFIED", "TEXT_BELOW", "TEXT_ABOVE"] subtitle: str title: str @typing.type_check_only -class GoogleAppsCardV1Icon(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Icon(typing.TypedDict, total=False): altText: str iconUrl: str - imageType: typing_extensions.Literal["SQUARE", "CIRCLE"] + imageType: typing.Literal["SQUARE", "CIRCLE"] knownIcon: str materialIcon: GoogleAppsCardV1MaterialIcon @typing.type_check_only -class GoogleAppsCardV1Image(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Image(typing.TypedDict, total=False): altText: str imageUrl: str onClick: GoogleAppsCardV1OnClick @typing.type_check_only -class GoogleAppsCardV1ImageComponent(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1ImageComponent(typing.TypedDict, total=False): altText: str borderStyle: GoogleAppsCardV1BorderStyle cropStyle: GoogleAppsCardV1ImageCropStyle imageUri: str @typing.type_check_only -class GoogleAppsCardV1ImageCropStyle(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1ImageCropStyle(typing.TypedDict, total=False): aspectRatio: float - type: typing_extensions.Literal[ + type: typing.Literal[ "IMAGE_CROP_TYPE_UNSPECIFIED", "SQUARE", "CIRCLE", @@ -564,20 +569,20 @@ class GoogleAppsCardV1ImageCropStyle(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleAppsCardV1MaterialIcon(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1MaterialIcon(typing.TypedDict, total=False): fill: bool grade: int name: str weight: int @typing.type_check_only -class GoogleAppsCardV1NestedWidget(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1NestedWidget(typing.TypedDict, total=False): buttonList: GoogleAppsCardV1ButtonList image: GoogleAppsCardV1Image textParagraph: GoogleAppsCardV1TextParagraph @typing.type_check_only -class GoogleAppsCardV1OnClick(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1OnClick(typing.TypedDict, total=False): action: GoogleAppsCardV1Action card: GoogleAppsCardV1Card openDynamicLinkAction: GoogleAppsCardV1Action @@ -585,29 +590,29 @@ class GoogleAppsCardV1OnClick(typing_extensions.TypedDict, total=False): overflowMenu: GoogleAppsCardV1OverflowMenu @typing.type_check_only -class GoogleAppsCardV1OpenLink(typing_extensions.TypedDict, total=False): - onClose: typing_extensions.Literal["NOTHING", "RELOAD"] - openAs: typing_extensions.Literal["FULL_SIZE", "OVERLAY"] +class GoogleAppsCardV1OpenLink(typing.TypedDict, total=False): + onClose: typing.Literal["NOTHING", "RELOAD"] + openAs: typing.Literal["FULL_SIZE", "OVERLAY"] url: str @typing.type_check_only -class GoogleAppsCardV1OverflowMenu(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1OverflowMenu(typing.TypedDict, total=False): items: _list[GoogleAppsCardV1OverflowMenuItem] @typing.type_check_only -class GoogleAppsCardV1OverflowMenuItem(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1OverflowMenuItem(typing.TypedDict, total=False): disabled: bool onClick: GoogleAppsCardV1OnClick startIcon: GoogleAppsCardV1Icon text: str @typing.type_check_only -class GoogleAppsCardV1PlatformDataSource(typing_extensions.TypedDict, total=False): - commonDataSource: typing_extensions.Literal["UNKNOWN", "USER"] +class GoogleAppsCardV1PlatformDataSource(typing.TypedDict, total=False): + commonDataSource: typing.Literal["UNKNOWN", "USER"] hostAppDataSource: HostAppDataSourceMarkup @typing.type_check_only -class GoogleAppsCardV1Section(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Section(typing.TypedDict, total=False): collapseControl: GoogleAppsCardV1CollapseControl collapsible: bool header: str @@ -616,7 +621,7 @@ class GoogleAppsCardV1Section(typing_extensions.TypedDict, total=False): widgets: _list[GoogleAppsCardV1Widget] @typing.type_check_only -class GoogleAppsCardV1SelectionInput(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1SelectionInput(typing.TypedDict, total=False): dataSourceConfigs: _list[GoogleAppsCardV1DataSourceConfig] externalDataSource: GoogleAppsCardV1Action hintText: str @@ -627,12 +632,12 @@ class GoogleAppsCardV1SelectionInput(typing_extensions.TypedDict, total=False): name: str onChangeAction: GoogleAppsCardV1Action platformDataSource: GoogleAppsCardV1PlatformDataSource - type: typing_extensions.Literal[ + type: typing.Literal[ "CHECK_BOX", "RADIO_BUTTON", "SWITCH", "DROPDOWN", "MULTI_SELECT" ] @typing.type_check_only -class GoogleAppsCardV1SelectionItem(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1SelectionItem(typing.TypedDict, total=False): bottomText: str selected: bool startIconUri: str @@ -640,23 +645,23 @@ class GoogleAppsCardV1SelectionItem(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAppsCardV1SuggestionItem(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1SuggestionItem(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleAppsCardV1Suggestions(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Suggestions(typing.TypedDict, total=False): items: _list[GoogleAppsCardV1SuggestionItem] @typing.type_check_only -class GoogleAppsCardV1SwitchControl(typing_extensions.TypedDict, total=False): - controlType: typing_extensions.Literal["SWITCH", "CHECKBOX", "CHECK_BOX"] +class GoogleAppsCardV1SwitchControl(typing.TypedDict, total=False): + controlType: typing.Literal["SWITCH", "CHECKBOX", "CHECK_BOX"] name: str onChangeAction: GoogleAppsCardV1Action selected: bool value: str @typing.type_check_only -class GoogleAppsCardV1TextInput(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1TextInput(typing.TypedDict, total=False): autoCompleteAction: GoogleAppsCardV1Action hintText: str hostAppDataSource: HostAppDataSourceMarkup @@ -665,33 +670,33 @@ class GoogleAppsCardV1TextInput(typing_extensions.TypedDict, total=False): name: str onChangeAction: GoogleAppsCardV1Action placeholderText: str - type: typing_extensions.Literal["SINGLE_LINE", "MULTIPLE_LINE"] + type: typing.Literal["SINGLE_LINE", "MULTIPLE_LINE"] validation: GoogleAppsCardV1Validation value: str @typing.type_check_only -class GoogleAppsCardV1TextParagraph(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1TextParagraph(typing.TypedDict, total=False): maxLines: int text: str - textSyntax: typing_extensions.Literal["TEXT_SYNTAX_UNSPECIFIED", "HTML", "MARKDOWN"] + textSyntax: typing.Literal["TEXT_SYNTAX_UNSPECIFIED", "HTML", "MARKDOWN"] @typing.type_check_only -class GoogleAppsCardV1Trigger(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Trigger(typing.TypedDict, total=False): actionRuleId: str @typing.type_check_only -class GoogleAppsCardV1UpdateVisibilityAction(typing_extensions.TypedDict, total=False): - visibility: typing_extensions.Literal["VISIBILITY_UNSPECIFIED", "VISIBLE", "HIDDEN"] +class GoogleAppsCardV1UpdateVisibilityAction(typing.TypedDict, total=False): + visibility: typing.Literal["VISIBILITY_UNSPECIFIED", "VISIBLE", "HIDDEN"] @typing.type_check_only -class GoogleAppsCardV1Validation(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Validation(typing.TypedDict, total=False): characterLimit: int - inputType: typing_extensions.Literal[ + inputType: typing.Literal[ "INPUT_TYPE_UNSPECIFIED", "TEXT", "INTEGER", "FLOAT", "EMAIL", "EMOJI_PICKER" ] @typing.type_check_only -class GoogleAppsCardV1Widget(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Widget(typing.TypedDict, total=False): buttonList: GoogleAppsCardV1ButtonList carousel: GoogleAppsCardV1Carousel chipList: GoogleAppsCardV1ChipList @@ -701,7 +706,7 @@ class GoogleAppsCardV1Widget(typing_extensions.TypedDict, total=False): divider: GoogleAppsCardV1Divider eventActions: _list[GoogleAppsCardV1EventAction] grid: GoogleAppsCardV1Grid - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END" ] id: str @@ -709,10 +714,10 @@ class GoogleAppsCardV1Widget(typing_extensions.TypedDict, total=False): selectionInput: GoogleAppsCardV1SelectionInput textInput: GoogleAppsCardV1TextInput textParagraph: GoogleAppsCardV1TextParagraph - visibility: typing_extensions.Literal["VISIBILITY_UNSPECIFIED", "VISIBLE", "HIDDEN"] + visibility: typing.Literal["VISIBILITY_UNSPECIFIED", "VISIBLE", "HIDDEN"] @typing.type_check_only -class GoogleAppsCardV1Widgets(typing_extensions.TypedDict, total=False): +class GoogleAppsCardV1Widgets(typing.TypedDict, total=False): buttonList: GoogleAppsCardV1ButtonList chipList: GoogleAppsCardV1ChipList dateTimePicker: GoogleAppsCardV1DateTimePicker @@ -723,11 +728,11 @@ class GoogleAppsCardV1Widgets(typing_extensions.TypedDict, total=False): textParagraph: GoogleAppsCardV1TextParagraph @typing.type_check_only -class GoogleChatV1Section(typing_extensions.TypedDict, total=False): +class GoogleChatV1Section(typing.TypedDict, total=False): displayName: str name: str sortOrder: int - type: typing_extensions.Literal[ + type: typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "CUSTOM_SECTION", "DEFAULT_DIRECT_MESSAGES", @@ -736,23 +741,23 @@ class GoogleChatV1Section(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): name: str @typing.type_check_only -class HostAppDataSourceMarkup(typing_extensions.TypedDict, total=False): +class HostAppDataSourceMarkup(typing.TypedDict, total=False): chatDataSource: ChatClientDataSourceMarkup workflowDataSource: WorkflowDataSourceMarkup @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): aspectRatio: float imageUrl: str onClick: OnClick @typing.type_check_only -class ImageButton(typing_extensions.TypedDict, total=False): - icon: typing_extensions.Literal[ +class ImageButton(typing.TypedDict, total=False): + icon: typing.Literal[ "ICON_UNSPECIFIED", "AIRPLANE", "BOOKMARK", @@ -790,19 +795,19 @@ class ImageButton(typing_extensions.TypedDict, total=False): onClick: OnClick @typing.type_check_only -class Inputs(typing_extensions.TypedDict, total=False): +class Inputs(typing.TypedDict, total=False): dateInput: DateInput dateTimeInput: DateTimeInput stringInputs: StringInputs timeInput: TimeInput @typing.type_check_only -class KeyValue(typing_extensions.TypedDict, total=False): +class KeyValue(typing.TypedDict, total=False): bottomLabel: str button: Button content: str contentMultiline: bool - icon: typing_extensions.Literal[ + icon: typing.Literal[ "ICON_UNSPECIFIED", "AIRPLANE", "BOOKMARK", @@ -840,77 +845,77 @@ class KeyValue(typing_extensions.TypedDict, total=False): topLabel: str @typing.type_check_only -class ListCustomEmojisResponse(typing_extensions.TypedDict, total=False): +class ListCustomEmojisResponse(typing.TypedDict, total=False): customEmojis: _list[CustomEmoji] nextPageToken: str @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): memberships: _list[Membership] nextPageToken: str @typing.type_check_only -class ListMessagesResponse(typing_extensions.TypedDict, total=False): +class ListMessagesResponse(typing.TypedDict, total=False): messages: _list[Message] nextPageToken: str @typing.type_check_only -class ListReactionsResponse(typing_extensions.TypedDict, total=False): +class ListReactionsResponse(typing.TypedDict, total=False): nextPageToken: str reactions: _list[Reaction] @typing.type_check_only -class ListSectionItemsResponse(typing_extensions.TypedDict, total=False): +class ListSectionItemsResponse(typing.TypedDict, total=False): nextPageToken: str sectionItems: _list[SectionItem] @typing.type_check_only -class ListSectionsResponse(typing_extensions.TypedDict, total=False): +class ListSectionsResponse(typing.TypedDict, total=False): nextPageToken: str sections: _list[GoogleChatV1Section] @typing.type_check_only -class ListSpaceEventsResponse(typing_extensions.TypedDict, total=False): +class ListSpaceEventsResponse(typing.TypedDict, total=False): nextPageToken: str spaceEvents: _list[SpaceEvent] @typing.type_check_only -class ListSpacesResponse(typing_extensions.TypedDict, total=False): +class ListSpacesResponse(typing.TypedDict, total=False): nextPageToken: str spaces: _list[Space] @typing.type_check_only -class MarkAsActiveRequest(typing_extensions.TypedDict, total=False): +class MarkAsActiveRequest(typing.TypedDict, total=False): expireTime: str ttl: str @typing.type_check_only -class MarkAsAwayRequest(typing_extensions.TypedDict, total=False): ... +class MarkAsAwayRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAsDoNotDisturbRequest(typing_extensions.TypedDict, total=False): +class MarkAsDoNotDisturbRequest(typing.TypedDict, total=False): expireTime: str ttl: str @typing.type_check_only -class MatchedUrl(typing_extensions.TypedDict, total=False): +class MatchedUrl(typing.TypedDict, total=False): url: str @typing.type_check_only -class Media(typing_extensions.TypedDict, total=False): +class Media(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class MeetSpaceLinkData(typing_extensions.TypedDict, total=False): - huddleStatus: typing_extensions.Literal[ +class MeetSpaceLinkData(typing.TypedDict, total=False): + huddleStatus: typing.Literal[ "HUDDLE_STATUS_UNSPECIFIED", "STARTED", "ENDED", "MISSED" ] meetingCode: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MEETING", "HUDDLE"] + type: typing.Literal["TYPE_UNSPECIFIED", "MEETING", "HUDDLE"] @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): - affiliation: typing_extensions.Literal[ +class Membership(typing.TypedDict, total=False): + affiliation: typing.Literal[ "AFFILIATION_UNSPECIFIED", "INTERNAL", "EXTERNAL", "MANAGED_EXTERNAL" ] createTime: str @@ -918,47 +923,47 @@ class Membership(typing_extensions.TypedDict, total=False): groupMember: Group member: User name: str - role: typing_extensions.Literal[ + role: typing.Literal[ "MEMBERSHIP_ROLE_UNSPECIFIED", "ROLE_MEMBER", "ROLE_MANAGER", "ROLE_ASSISTANT_MANAGER", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "MEMBERSHIP_STATE_UNSPECIFIED", "JOINED", "INVITED", "NOT_A_MEMBER" ] @typing.type_check_only -class MembershipBatchCreatedEventData(typing_extensions.TypedDict, total=False): +class MembershipBatchCreatedEventData(typing.TypedDict, total=False): memberships: _list[MembershipCreatedEventData] @typing.type_check_only -class MembershipBatchDeletedEventData(typing_extensions.TypedDict, total=False): +class MembershipBatchDeletedEventData(typing.TypedDict, total=False): memberships: _list[MembershipDeletedEventData] @typing.type_check_only -class MembershipBatchUpdatedEventData(typing_extensions.TypedDict, total=False): +class MembershipBatchUpdatedEventData(typing.TypedDict, total=False): memberships: _list[MembershipUpdatedEventData] @typing.type_check_only -class MembershipCount(typing_extensions.TypedDict, total=False): +class MembershipCount(typing.TypedDict, total=False): joinedDirectHumanUserCount: int joinedGroupCount: int @typing.type_check_only -class MembershipCreatedEventData(typing_extensions.TypedDict, total=False): +class MembershipCreatedEventData(typing.TypedDict, total=False): membership: Membership @typing.type_check_only -class MembershipDeletedEventData(typing_extensions.TypedDict, total=False): +class MembershipDeletedEventData(typing.TypedDict, total=False): membership: Membership @typing.type_check_only -class MembershipUpdatedEventData(typing_extensions.TypedDict, total=False): +class MembershipUpdatedEventData(typing.TypedDict, total=False): membership: Membership @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): accessoryWidgets: _list[AccessoryWidget] actionResponse: ActionResponse annotations: _list[Annotation] @@ -975,6 +980,9 @@ class Message(typing_extensions.TypedDict, total=False): fallbackText: str formattedText: str lastUpdateTime: str + markupSyntax: typing.Literal[ + "MARKUP_SYNTAX_UNSPECIFIED", "MARKUP_SYNTAX_CHAT", "MARKUP_SYNTAX_MARKDOWN" + ] matchedUrl: MatchedUrl name: str privateMessageViewer: User @@ -988,54 +996,54 @@ class Message(typing_extensions.TypedDict, total=False): threadReply: bool @typing.type_check_only -class MessageBatchCreatedEventData(typing_extensions.TypedDict, total=False): +class MessageBatchCreatedEventData(typing.TypedDict, total=False): messages: _list[MessageCreatedEventData] @typing.type_check_only -class MessageBatchDeletedEventData(typing_extensions.TypedDict, total=False): +class MessageBatchDeletedEventData(typing.TypedDict, total=False): messages: _list[MessageDeletedEventData] @typing.type_check_only -class MessageBatchUpdatedEventData(typing_extensions.TypedDict, total=False): +class MessageBatchUpdatedEventData(typing.TypedDict, total=False): messages: _list[MessageUpdatedEventData] @typing.type_check_only -class MessageCreatedEventData(typing_extensions.TypedDict, total=False): +class MessageCreatedEventData(typing.TypedDict, total=False): message: Message @typing.type_check_only -class MessageDeletedEventData(typing_extensions.TypedDict, total=False): +class MessageDeletedEventData(typing.TypedDict, total=False): message: Message @typing.type_check_only -class MessageUpdatedEventData(typing_extensions.TypedDict, total=False): +class MessageUpdatedEventData(typing.TypedDict, total=False): message: Message @typing.type_check_only -class MoveSectionItemRequest(typing_extensions.TypedDict, total=False): +class MoveSectionItemRequest(typing.TypedDict, total=False): targetSection: str @typing.type_check_only -class MoveSectionItemResponse(typing_extensions.TypedDict, total=False): +class MoveSectionItemResponse(typing.TypedDict, total=False): sectionItem: SectionItem @typing.type_check_only -class OnClick(typing_extensions.TypedDict, total=False): +class OnClick(typing.TypedDict, total=False): action: FormAction openLink: OpenLink @typing.type_check_only -class OpenLink(typing_extensions.TypedDict, total=False): +class OpenLink(typing.TypedDict, total=False): url: str @typing.type_check_only -class PermissionSetting(typing_extensions.TypedDict, total=False): +class PermissionSetting(typing.TypedDict, total=False): assistantManagersAllowed: bool managersAllowed: bool membersAllowed: bool @typing.type_check_only -class PermissionSettings(typing_extensions.TypedDict, total=False): +class PermissionSettings(typing.TypedDict, total=False): manageApps: PermissionSetting manageMembersAndGroups: PermissionSetting manageWebhooks: PermissionSetting @@ -1046,24 +1054,28 @@ class PermissionSettings(typing_extensions.TypedDict, total=False): useAtMentionAll: PermissionSetting @typing.type_check_only -class PositionSectionRequest(typing_extensions.TypedDict, total=False): - relativePosition: typing_extensions.Literal["POSITION_UNSPECIFIED", "START", "END"] +class PositionSectionRequest(typing.TypedDict, total=False): + relativePosition: typing.Literal["POSITION_UNSPECIFIED", "START", "END"] sortOrder: int @typing.type_check_only -class PositionSectionResponse(typing_extensions.TypedDict, total=False): +class PositionSectionResponse(typing.TypedDict, total=False): section: GoogleChatV1Section @typing.type_check_only -class QuotedMessageMetadata(typing_extensions.TypedDict, total=False): +class Principal(typing.TypedDict, total=False): + audience: Audience + +@typing.type_check_only +class QuotedMessageMetadata(typing.TypedDict, total=False): forwardedMetadata: ForwardedMetadata lastUpdateTime: str name: str - quoteType: typing_extensions.Literal["QUOTE_TYPE_UNSPECIFIED", "REPLY", "FORWARD"] + quoteType: typing.Literal["QUOTE_TYPE_UNSPECIFIED", "REPLY", "FORWARD"] quotedMessageSnapshot: QuotedMessageSnapshot @typing.type_check_only -class QuotedMessageSnapshot(typing_extensions.TypedDict, total=False): +class QuotedMessageSnapshot(typing.TypedDict, total=False): annotations: _list[Annotation] attachments: _list[Attachment] formattedText: str @@ -1071,34 +1083,34 @@ class QuotedMessageSnapshot(typing_extensions.TypedDict, total=False): text: str @typing.type_check_only -class Reaction(typing_extensions.TypedDict, total=False): +class Reaction(typing.TypedDict, total=False): emoji: Emoji name: str user: User @typing.type_check_only -class ReactionBatchCreatedEventData(typing_extensions.TypedDict, total=False): +class ReactionBatchCreatedEventData(typing.TypedDict, total=False): reactions: _list[ReactionCreatedEventData] @typing.type_check_only -class ReactionBatchDeletedEventData(typing_extensions.TypedDict, total=False): +class ReactionBatchDeletedEventData(typing.TypedDict, total=False): reactions: _list[ReactionDeletedEventData] @typing.type_check_only -class ReactionCreatedEventData(typing_extensions.TypedDict, total=False): +class ReactionCreatedEventData(typing.TypedDict, total=False): reaction: Reaction @typing.type_check_only -class ReactionDeletedEventData(typing_extensions.TypedDict, total=False): +class ReactionDeletedEventData(typing.TypedDict, total=False): reaction: Reaction @typing.type_check_only -class RichLinkMetadata(typing_extensions.TypedDict, total=False): +class RichLinkMetadata(typing.TypedDict, total=False): calendarEventLinkData: CalendarEventLinkData chatSpaceLinkData: ChatSpaceLinkData driveLinkData: DriveLinkData meetSpaceLinkData: MeetSpaceLinkData - richLinkType: typing_extensions.Literal[ + richLinkType: typing.Literal[ "RICH_LINK_TYPE_UNSPECIFIED", "DRIVE_FILE", "CHAT_SPACE", @@ -1109,45 +1121,76 @@ class RichLinkMetadata(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class SearchSpacesResponse(typing_extensions.TypedDict, total=False): +class SearchMessageResult(typing.TypedDict, total=False): + message: Message + read: bool + spaceMuteSetting: typing.Literal["MUTE_SETTING_UNSPECIFIED", "UNMUTED", "MUTED"] + +@typing.type_check_only +class SearchMessagesRequest(typing.TypedDict, total=False): + filter: str + markupSyntax: typing.Literal[ + "MARKUP_SYNTAX_UNSPECIFIED", "MARKUP_SYNTAX_CHAT", "MARKUP_SYNTAX_MARKDOWN" + ] + orderBy: str + pageSize: int + pageToken: str + view: typing.Literal[ + "SEARCH_MESSAGES_VIEW_UNSPECIFIED", + "SEARCH_MESSAGES_VIEW_BASIC", + "SEARCH_MESSAGES_VIEW_FULL", + ] + +@typing.type_check_only +class SearchMessagesResponse(typing.TypedDict, total=False): nextPageToken: str + results: _list[SearchMessageResult] + +@typing.type_check_only +class SearchSpaceResult(typing.TypedDict, total=False): + space: Space + +@typing.type_check_only +class SearchSpacesResponse(typing.TypedDict, total=False): + nextPageToken: str + results: _list[SearchSpaceResult] spaces: _list[Space] totalSize: int @typing.type_check_only -class Section(typing_extensions.TypedDict, total=False): +class Section(typing.TypedDict, total=False): header: str widgets: _list[WidgetMarkup] @typing.type_check_only -class SectionItem(typing_extensions.TypedDict, total=False): +class SectionItem(typing.TypedDict, total=False): name: str space: str @typing.type_check_only -class SelectionItems(typing_extensions.TypedDict, total=False): +class SelectionItems(typing.TypedDict, total=False): items: _list[GoogleAppsCardV1SelectionItem] @typing.type_check_only -class SetUpSpaceRequest(typing_extensions.TypedDict, total=False): +class SetUpSpaceRequest(typing.TypedDict, total=False): memberships: _list[Membership] requestId: str space: Space @typing.type_check_only -class SlashCommand(typing_extensions.TypedDict, total=False): +class SlashCommand(typing.TypedDict, total=False): commandId: str @typing.type_check_only -class SlashCommandMetadata(typing_extensions.TypedDict, total=False): +class SlashCommandMetadata(typing.TypedDict, total=False): bot: User commandId: str commandName: str triggersDialog: bool - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ADD", "INVOKE"] + type: typing.Literal["TYPE_UNSPECIFIED", "ADD", "INVOKE"] @typing.type_check_only -class Space(typing_extensions.TypedDict, total=False): +class Space(typing.TypedDict, total=False): accessSettings: AccessSettings adminInstalled: bool createTime: str @@ -1160,44 +1203,44 @@ class Space(typing_extensions.TypedDict, total=False): membershipCount: MembershipCount name: str permissionSettings: PermissionSettings - predefinedPermissionSettings: typing_extensions.Literal[ + predefinedPermissionSettings: typing.Literal[ "PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED", "COLLABORATION_SPACE", "ANNOUNCEMENT_SPACE", ] singleUserBotDm: bool spaceDetails: SpaceDetails - spaceHistoryState: typing_extensions.Literal[ + spaceHistoryState: typing.Literal[ "HISTORY_STATE_UNSPECIFIED", "HISTORY_OFF", "HISTORY_ON" ] - spaceThreadingState: typing_extensions.Literal[ + spaceThreadingState: typing.Literal[ "SPACE_THREADING_STATE_UNSPECIFIED", "THREADED_MESSAGES", "GROUPED_MESSAGES", "UNTHREADED_MESSAGES", ] - spaceType: typing_extensions.Literal[ + spaceType: typing.Literal[ "SPACE_TYPE_UNSPECIFIED", "SPACE", "GROUP_CHAT", "DIRECT_MESSAGE" ] spaceUri: str threaded: bool - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ROOM", "DM"] + type: typing.Literal["TYPE_UNSPECIFIED", "ROOM", "DM"] @typing.type_check_only -class SpaceBatchUpdatedEventData(typing_extensions.TypedDict, total=False): +class SpaceBatchUpdatedEventData(typing.TypedDict, total=False): spaces: _list[SpaceUpdatedEventData] @typing.type_check_only -class SpaceDataSource(typing_extensions.TypedDict, total=False): +class SpaceDataSource(typing.TypedDict, total=False): defaultToCurrentSpace: bool @typing.type_check_only -class SpaceDetails(typing_extensions.TypedDict, total=False): +class SpaceDetails(typing.TypedDict, total=False): description: str guidelines: str @typing.type_check_only -class SpaceEvent(typing_extensions.TypedDict, total=False): +class SpaceEvent(typing.TypedDict, total=False): eventTime: str eventType: str membershipBatchCreatedEventData: MembershipBatchCreatedEventData @@ -1221,12 +1264,10 @@ class SpaceEvent(typing_extensions.TypedDict, total=False): spaceUpdatedEventData: SpaceUpdatedEventData @typing.type_check_only -class SpaceNotificationSetting(typing_extensions.TypedDict, total=False): - muteSetting: typing_extensions.Literal[ - "MUTE_SETTING_UNSPECIFIED", "UNMUTED", "MUTED" - ] +class SpaceNotificationSetting(typing.TypedDict, total=False): + muteSetting: typing.Literal["MUTE_SETTING_UNSPECIFIED", "UNMUTED", "MUTED"] name: str - notificationSetting: typing_extensions.Literal[ + notificationSetting: typing.Literal[ "NOTIFICATION_SETTING_UNSPECIFIED", "ALL", "MAIN_CONVERSATIONS", @@ -1235,87 +1276,87 @@ class SpaceNotificationSetting(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SpaceReadState(typing_extensions.TypedDict, total=False): +class SpaceReadState(typing.TypedDict, total=False): lastReadTime: str name: str @typing.type_check_only -class SpaceUpdatedEventData(typing_extensions.TypedDict, total=False): +class SpaceUpdatedEventData(typing.TypedDict, total=False): space: Space @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StringInputs(typing_extensions.TypedDict, total=False): +class StringInputs(typing.TypedDict, total=False): value: _list[str] @typing.type_check_only -class TextButton(typing_extensions.TypedDict, total=False): +class TextButton(typing.TypedDict, total=False): onClick: OnClick text: str @typing.type_check_only -class TextParagraph(typing_extensions.TypedDict, total=False): +class TextParagraph(typing.TypedDict, total=False): text: str @typing.type_check_only -class Thread(typing_extensions.TypedDict, total=False): +class Thread(typing.TypedDict, total=False): name: str threadKey: str @typing.type_check_only -class ThreadReadState(typing_extensions.TypedDict, total=False): +class ThreadReadState(typing.TypedDict, total=False): lastReadTime: str name: str @typing.type_check_only -class TimeInput(typing_extensions.TypedDict, total=False): +class TimeInput(typing.TypedDict, total=False): hours: int minutes: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str offset: int @typing.type_check_only -class UpdatedWidget(typing_extensions.TypedDict, total=False): +class UpdatedWidget(typing.TypedDict, total=False): suggestions: SelectionItems widget: str @typing.type_check_only -class UploadAttachmentRequest(typing_extensions.TypedDict, total=False): +class UploadAttachmentRequest(typing.TypedDict, total=False): filename: str @typing.type_check_only -class UploadAttachmentResponse(typing_extensions.TypedDict, total=False): +class UploadAttachmentResponse(typing.TypedDict, total=False): attachmentDataRef: AttachmentDataRef @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): displayName: str domainId: str isAnonymous: bool name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "HUMAN", "BOT"] + type: typing.Literal["TYPE_UNSPECIFIED", "HUMAN", "BOT"] @typing.type_check_only -class UserMentionMetadata(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ADD", "MENTION"] +class UserMentionMetadata(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "ADD", "MENTION"] user: User @typing.type_check_only -class WidgetMarkup(typing_extensions.TypedDict, total=False): +class WidgetMarkup(typing.TypedDict, total=False): buttons: _list[Button] image: Image keyValue: KeyValue textParagraph: TextParagraph @typing.type_check_only -class WorkflowDataSourceMarkup(typing_extensions.TypedDict, total=False): +class WorkflowDataSourceMarkup(typing.TypedDict, total=False): includeVariables: bool - type: typing_extensions.Literal["UNKNOWN", "USER", "SPACE", "USER_WITH_FREE_FORM"] + type: typing.Literal["UNKNOWN", "USER", "SPACE", "USER_WITH_FREE_FORM"] diff --git a/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi index 160a6437a..f25b4424c 100644 --- a/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/checks/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi index 0f86b12ee..629d3a1d8 100644 --- a/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/checks/v1alpha/schemas.pyi @@ -1,32 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleChecksAccountV1alphaApp(typing_extensions.TypedDict, total=False): +class GoogleChecksAccountV1alphaApp(typing.TypedDict, total=False): name: str title: str @typing.type_check_only -class GoogleChecksAccountV1alphaListAppsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChecksAccountV1alphaListAppsResponse(typing.TypedDict, total=False): apps: _list[GoogleChecksAccountV1alphaApp] nextPageToken: str @typing.type_check_only -class GoogleChecksAisafetyV1alphaClassifyContentRequest( - typing_extensions.TypedDict, total=False -): - classifierVersion: typing_extensions.Literal[ +class GoogleChecksAisafetyV1alphaClassifyContentRequest(typing.TypedDict, total=False): + classifierVersion: typing.Literal[ "CLASSIFIER_VERSION_UNSPECIFIED", "STABLE", "LATEST" ] context: GoogleChecksAisafetyV1alphaClassifyContentRequestContext @@ -35,21 +29,21 @@ class GoogleChecksAisafetyV1alphaClassifyContentRequest( @typing.type_check_only class GoogleChecksAisafetyV1alphaClassifyContentRequestContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): prompt: str @typing.type_check_only class GoogleChecksAisafetyV1alphaClassifyContentRequestInputContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): textInput: GoogleChecksAisafetyV1alphaTextInput @typing.type_check_only class GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - policyType: typing_extensions.Literal[ + policyType: typing.Literal[ "POLICY_TYPE_UNSPECIFIED", "DANGEROUS_CONTENT", "PII_SOLICITING_RECITING", @@ -63,16 +57,14 @@ class GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig( threshold: float @typing.type_check_only -class GoogleChecksAisafetyV1alphaClassifyContentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChecksAisafetyV1alphaClassifyContentResponse(typing.TypedDict, total=False): policyResults: _list[GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult] @typing.type_check_only class GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - policyType: typing_extensions.Literal[ + policyType: typing.Literal[ "POLICY_TYPE_UNSPECIFIED", "DANGEROUS_CONTENT", "PII_SOLICITING_RECITING", @@ -84,7 +76,7 @@ class GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult( "OBSCENITY_AND_PROFANITY", ] score: float - violationResult: typing_extensions.Literal[ + violationResult: typing.Literal[ "VIOLATION_RESULT_UNSPECIFIED", "VIOLATIVE", "NON_VIOLATIVE", @@ -92,26 +84,24 @@ class GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult( ] @typing.type_check_only -class GoogleChecksAisafetyV1alphaTextInput(typing_extensions.TypedDict, total=False): +class GoogleChecksAisafetyV1alphaTextInput(typing.TypedDict, total=False): content: str languageCode: str @typing.type_check_only -class GoogleChecksRepoScanV1alphaCliAnalysis(typing_extensions.TypedDict, total=False): +class GoogleChecksRepoScanV1alphaCliAnalysis(typing.TypedDict, total=False): codeScans: _list[GoogleChecksRepoScanV1alphaCodeScan] sources: _list[GoogleChecksRepoScanV1alphaSource] @typing.type_check_only -class GoogleChecksRepoScanV1alphaCodeAttribution( - typing_extensions.TypedDict, total=False -): +class GoogleChecksRepoScanV1alphaCodeAttribution(typing.TypedDict, total=False): codeExcerpt: str lineNumber: int path: str startLineNumber: int @typing.type_check_only -class GoogleChecksRepoScanV1alphaCodeScan(typing_extensions.TypedDict, total=False): +class GoogleChecksRepoScanV1alphaCodeScan(typing.TypedDict, total=False): dataTypeClassifications: _list[ GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification ] @@ -119,9 +109,9 @@ class GoogleChecksRepoScanV1alphaCodeScan(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_APPROXIMATE_LOCATION", "DATA_TYPE_PRECISE_LOCATION", @@ -165,28 +155,24 @@ class GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification( lineNumber: int @typing.type_check_only -class GoogleChecksRepoScanV1alphaGenerateScanRequest( - typing_extensions.TypedDict, total=False -): +class GoogleChecksRepoScanV1alphaGenerateScanRequest(typing.TypedDict, total=False): cliAnalysis: GoogleChecksRepoScanV1alphaCliAnalysis cliVersion: str localScanPath: str scmMetadata: GoogleChecksRepoScanV1alphaScmMetadata @typing.type_check_only -class GoogleChecksRepoScanV1alphaListRepoScansResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChecksRepoScanV1alphaListRepoScansResponse(typing.TypedDict, total=False): nextPageToken: str repoScans: _list[GoogleChecksRepoScanV1alphaRepoScan] @typing.type_check_only -class GoogleChecksRepoScanV1alphaPullRequest(typing_extensions.TypedDict, total=False): +class GoogleChecksRepoScanV1alphaPullRequest(typing.TypedDict, total=False): baseBranch: str prNumber: str @typing.type_check_only -class GoogleChecksRepoScanV1alphaRepoScan(typing_extensions.TypedDict, total=False): +class GoogleChecksRepoScanV1alphaRepoScan(typing.TypedDict, total=False): cliVersion: str localScanPath: str name: str @@ -195,16 +181,16 @@ class GoogleChecksRepoScanV1alphaRepoScan(typing_extensions.TypedDict, total=Fal sources: _list[GoogleChecksRepoScanV1alphaSource] @typing.type_check_only -class GoogleChecksRepoScanV1alphaScmMetadata(typing_extensions.TypedDict, total=False): +class GoogleChecksRepoScanV1alphaScmMetadata(typing.TypedDict, total=False): branch: str pullRequest: GoogleChecksRepoScanV1alphaPullRequest remoteUri: str revisionId: str @typing.type_check_only -class GoogleChecksRepoScanV1alphaSource(typing_extensions.TypedDict, total=False): +class GoogleChecksRepoScanV1alphaSource(typing.TypedDict, total=False): codeAttribution: GoogleChecksRepoScanV1alphaCodeAttribution - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_APPROXIMATE_LOCATION", "DATA_TYPE_PRECISE_LOCATION", @@ -248,44 +234,40 @@ class GoogleChecksRepoScanV1alphaSource(typing_extensions.TypedDict, total=False falsePositive: bool @typing.type_check_only -class GoogleChecksRepoScanV1alphaSourceCode(typing_extensions.TypedDict, total=False): +class GoogleChecksRepoScanV1alphaSourceCode(typing.TypedDict, total=False): code: str endLine: int path: str startLine: int @typing.type_check_only -class GoogleChecksReportV1alphaAnalyzeUploadRequest( - typing_extensions.TypedDict, total=False -): - appBinaryFileType: typing_extensions.Literal[ +class GoogleChecksReportV1alphaAnalyzeUploadRequest(typing.TypedDict, total=False): + appBinaryFileType: typing.Literal[ "APP_BINARY_FILE_TYPE_UNSPECIFIED", "ANDROID_APK", "ANDROID_AAB", "IOS_IPA" ] codeReferenceId: str @typing.type_check_only -class GoogleChecksReportV1alphaAppBundle(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaAppBundle(typing.TypedDict, total=False): bundleId: str codeReferenceId: str - releaseType: typing_extensions.Literal[ + releaseType: typing.Literal[ "APP_BUNDLE_RELEASE_TYPE_UNSPECIFIED", "PUBLIC", "PRE_RELEASE" ] version: str versionId: str @typing.type_check_only -class GoogleChecksReportV1alphaCheck(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaCheck(typing.TypedDict, total=False): citations: _list[GoogleChecksReportV1alphaCheckCitation] evidence: GoogleChecksReportV1alphaCheckEvidence regionCodes: _list[str] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "CHECK_SEVERITY_UNSPECIFIED", "PRIORITY", "POTENTIAL", "OPPORTUNITY" ] - state: typing_extensions.Literal[ - "CHECK_STATE_UNSPECIFIED", "PASSED", "FAILED", "UNCHECKED" - ] + state: typing.Literal["CHECK_STATE_UNSPECIFIED", "PASSED", "FAILED", "UNCHECKED"] stateMetadata: GoogleChecksReportV1alphaCheckStateMetadata - type: typing_extensions.Literal[ + type: typing.Literal[ "CHECK_TYPE_UNSPECIFIED", "STORE_LISTING_PRIVACY_POLICY_LINK_PRESENT", "PRIVACY_POLICY_UPDATE_DATE_RECENT", @@ -381,8 +363,8 @@ class GoogleChecksReportV1alphaCheck(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleChecksReportV1alphaCheckCitation(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class GoogleChecksReportV1alphaCheckCitation(typing.TypedDict, total=False): + type: typing.Literal[ "CITATION_TYPE_UNSPECIFIED", "COPPA", "GDPR", @@ -413,24 +395,20 @@ class GoogleChecksReportV1alphaCheckCitation(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleChecksReportV1alphaCheckDataSecurityEvidence( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaCheckDataSecurityEvidence(typing.TypedDict, total=False): dataInTransitInfo: _list[ GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo ] @typing.type_check_only class GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only -class GoogleChecksReportV1alphaCheckDataTypeEvidence( - typing_extensions.TypedDict, total=False -): - dataType: typing_extensions.Literal[ +class GoogleChecksReportV1alphaCheckDataTypeEvidence(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_APPROXIMATE_LOCATION", "DATA_TYPE_PRECISE_LOCATION", @@ -474,14 +452,12 @@ class GoogleChecksReportV1alphaCheckDataTypeEvidence( dataTypeEvidence: GoogleChecksReportV1alphaDataTypeEvidence @typing.type_check_only -class GoogleChecksReportV1alphaCheckEndpointEvidence( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaCheckEndpointEvidence(typing.TypedDict, total=False): endpoint: GoogleChecksReportV1alphaEndpoint @typing.type_check_only class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointDetails: _list[ GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails @@ -489,12 +465,12 @@ class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence( @typing.type_check_only class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: GoogleChecksReportV1alphaEndpoint @typing.type_check_only -class GoogleChecksReportV1alphaCheckEvidence(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaCheckEvidence(typing.TypedDict, total=False): dataSecurity: GoogleChecksReportV1alphaCheckDataSecurityEvidence dataTypes: _list[GoogleChecksReportV1alphaCheckDataTypeEvidence] endpointRestrictionViolations: _list[ @@ -513,14 +489,12 @@ class GoogleChecksReportV1alphaCheckEvidence(typing_extensions.TypedDict, total= sdks: _list[GoogleChecksReportV1alphaCheckSdkEvidence] @typing.type_check_only -class GoogleChecksReportV1alphaCheckPermissionEvidence( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaCheckPermissionEvidence(typing.TypedDict, total=False): permission: GoogleChecksReportV1alphaPermission @typing.type_check_only class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): permissionDetails: _list[ GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails @@ -528,32 +502,28 @@ class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence( @typing.type_check_only class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): permission: GoogleChecksReportV1alphaPermission @typing.type_check_only class GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyFragment: GoogleChecksReportV1alphaPolicyFragment @typing.type_check_only -class GoogleChecksReportV1alphaCheckSdkEvidence( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaCheckSdkEvidence(typing.TypedDict, total=False): sdk: GoogleChecksReportV1alphaSdk @typing.type_check_only -class GoogleChecksReportV1alphaCheckSdkIssueEvidence( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaCheckSdkIssueEvidence(typing.TypedDict, total=False): sdk: GoogleChecksReportV1alphaSdk sdkVersion: str @typing.type_check_only class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sdkDetails: _list[ GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails @@ -561,16 +531,14 @@ class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence( @typing.type_check_only class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sdk: GoogleChecksReportV1alphaSdk @typing.type_check_only -class GoogleChecksReportV1alphaCheckStateMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaCheckStateMetadata(typing.TypedDict, total=False): badges: _list[ - typing_extensions.Literal[ + typing.Literal[ "CHECK_STATE_BADGE_UNSPECIFIED", "NEWLY_FAILING", "RECENTLY_FAILING", @@ -581,7 +549,7 @@ class GoogleChecksReportV1alphaCheckStateMetadata( lastFailingTime: str @typing.type_check_only -class GoogleChecksReportV1alphaDataMonitoring(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaDataMonitoring(typing.TypedDict, total=False): dataTypes: _list[GoogleChecksReportV1alphaDataMonitoringDataTypeResult] endpoints: _list[GoogleChecksReportV1alphaDataMonitoringEndpointResult] permissions: _list[GoogleChecksReportV1alphaDataMonitoringPermissionResult] @@ -589,9 +557,9 @@ class GoogleChecksReportV1alphaDataMonitoring(typing_extensions.TypedDict, total @typing.type_check_only class GoogleChecksReportV1alphaDataMonitoringDataTypeResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_APPROXIMATE_LOCATION", "DATA_TYPE_PRECISE_LOCATION", @@ -637,7 +605,7 @@ class GoogleChecksReportV1alphaDataMonitoringDataTypeResult( @typing.type_check_only class GoogleChecksReportV1alphaDataMonitoringEndpointResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: GoogleChecksReportV1alphaEndpoint hitCount: int @@ -645,40 +613,34 @@ class GoogleChecksReportV1alphaDataMonitoringEndpointResult( @typing.type_check_only class GoogleChecksReportV1alphaDataMonitoringPermissionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: GoogleChecksReportV1alphaDataMonitoringResultMetadata permission: GoogleChecksReportV1alphaPermission @typing.type_check_only class GoogleChecksReportV1alphaDataMonitoringResultMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - badges: _list[ - typing_extensions.Literal["DATA_MONITORING_RESULT_BADGE_UNSPECIFIED", "NEW"] - ] + badges: _list[typing.Literal["DATA_MONITORING_RESULT_BADGE_UNSPECIFIED", "NEW"]] firstDetectedTime: str lastDetectedAppVersion: str lastDetectedTime: str @typing.type_check_only -class GoogleChecksReportV1alphaDataMonitoringSdkResult( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaDataMonitoringSdkResult(typing.TypedDict, total=False): metadata: GoogleChecksReportV1alphaDataMonitoringResultMetadata sdk: GoogleChecksReportV1alphaSdk @typing.type_check_only -class GoogleChecksReportV1alphaDataTypeEndpointEvidence( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaDataTypeEndpointEvidence(typing.TypedDict, total=False): attributedSdks: _list[ GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk ] endpointDetails: _list[ GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails ] - exfiltratedDataType: typing_extensions.Literal[ + exfiltratedDataType: typing.Literal[ "EXFILTRATED_DATA_TYPE_UNSPECIFIED", "EXFILTRATED_DATA_TYPE_PHONE_NUMBER", "EXFILTRATED_DATA_TYPE_PRECISE_LOCATION", @@ -702,20 +664,18 @@ class GoogleChecksReportV1alphaDataTypeEndpointEvidence( @typing.type_check_only class GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sdk: GoogleChecksReportV1alphaSdk @typing.type_check_only class GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoint: GoogleChecksReportV1alphaEndpoint @typing.type_check_only -class GoogleChecksReportV1alphaDataTypeEvidence( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaDataTypeEvidence(typing.TypedDict, total=False): endpoints: _list[GoogleChecksReportV1alphaDataTypeEndpointEvidence] permissions: _list[GoogleChecksReportV1alphaDataTypePermissionEvidence] privacyPolicyTexts: _list[ @@ -724,38 +684,36 @@ class GoogleChecksReportV1alphaDataTypeEvidence( @typing.type_check_only class GoogleChecksReportV1alphaDataTypePermissionEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): permission: GoogleChecksReportV1alphaPermission @typing.type_check_only class GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyFragment: GoogleChecksReportV1alphaPolicyFragment @typing.type_check_only -class GoogleChecksReportV1alphaEndpoint(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaEndpoint(typing.TypedDict, total=False): domain: str @typing.type_check_only -class GoogleChecksReportV1alphaListReportsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChecksReportV1alphaListReportsResponse(typing.TypedDict, total=False): nextPageToken: str reports: _list[GoogleChecksReportV1alphaReport] @typing.type_check_only -class GoogleChecksReportV1alphaPermission(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaPermission(typing.TypedDict, total=False): id: str @typing.type_check_only -class GoogleChecksReportV1alphaPolicyFragment(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaPolicyFragment(typing.TypedDict, total=False): htmlContent: str sourceUri: str @typing.type_check_only -class GoogleChecksReportV1alphaReport(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaReport(typing.TypedDict, total=False): appBundle: GoogleChecksReportV1alphaAppBundle checks: _list[GoogleChecksReportV1alphaCheck] dataMonitoring: GoogleChecksReportV1alphaDataMonitoring @@ -763,17 +721,17 @@ class GoogleChecksReportV1alphaReport(typing_extensions.TypedDict, total=False): resultsUri: str @typing.type_check_only -class GoogleChecksReportV1alphaSdk(typing_extensions.TypedDict, total=False): +class GoogleChecksReportV1alphaSdk(typing.TypedDict, total=False): id: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -781,11 +739,11 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class WaitOperationRequest(typing_extensions.TypedDict, total=False): +class WaitOperationRequest(typing.TypedDict, total=False): timeout: str diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi index 0466341a3..e21c6ec64 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -218,7 +217,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): self, *, customer: str, - breakdown: typing_extensions.Literal[ + breakdown: typing.Literal[ "CONTENT_TRANSFERS_BREAKDOWN_DIMENSION_UNSPECIFIED", "USER", "EVENT_DOMAIN", @@ -226,7 +225,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): ] | None = ..., filter: str | None = ..., - fixedTimeRange: typing_extensions.Literal[ + fixedTimeRange: typing.Literal[ "FIXED_TIME_RANGE_UNSPECIFIED", "FIXED_TIME_RANGE_FOUR_HOURS", "FIXED_TIME_RANGE_ONE_DAY", @@ -234,7 +233,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): "FIXED_TIME_RANGE_FOUR_WEEKS", ] | None = ..., - metric: typing_extensions.Literal[ + metric: typing.Literal[ "CONTENT_TRANSFERS_METRIC_UNSPECIFIED", "CONTENT_TRANSFERS_METRIC_TOTAL_TRANSFERS", "CONTENT_TRANSFERS_METRIC_TOTAL_UPLOADS", @@ -271,14 +270,14 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): self, *, customer: str, - breakdown: typing_extensions.Literal[ + breakdown: typing.Literal[ "URL_VISITS_BREAKDOWN_DIMENSION_UNSPECIFIED", "USER", "EVENT_DOMAIN", ] | None = ..., filter: str | None = ..., - fixedTimeRange: typing_extensions.Literal[ + fixedTimeRange: typing.Literal[ "FIXED_TIME_RANGE_UNSPECIFIED", "FIXED_TIME_RANGE_FOUR_HOURS", "FIXED_TIME_RANGE_ONE_DAY", @@ -286,7 +285,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): "FIXED_TIME_RANGE_FOUR_WEEKS", ] | None = ..., - metric: typing_extensions.Literal[ + metric: typing.Literal[ "URL_VISITS_METRIC_UNSPECIFIED", "URL_VISITS_METRIC_TOTAL_SUSPICIOUS_URL_VISITS", "URL_VISITS_METRIC_HIGH_RISK_URL_VISITS", @@ -553,7 +552,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): *, customer: str, appId: str | None = ..., - appType: typing_extensions.Literal[ + appType: typing.Literal[ "APP_TYPE_UNSPECIFIED", "EXTENSION", "APP", @@ -582,7 +581,7 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): *, customer: str, appId: str | None = ..., - appType: typing_extensions.Literal[ + appType: typing.Literal[ "APP_TYPE_UNSPECIFIED", "EXTENSION", "APP", diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi index b00be9ea1..ed5427ca9 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi @@ -1,21 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleChromeManagementV1AndroidAppInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1AndroidAppInfo(typing.TypedDict, total=False): permissions: _list[GoogleChromeManagementV1AndroidAppPermission] @typing.type_check_only -class GoogleChromeManagementV1AndroidAppPermission( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1AndroidAppPermission(typing.TypedDict, total=False): type: str @typing.type_check_only -class GoogleChromeManagementV1AppDetails(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1AppDetails(typing.TypedDict, total=False): androidAppInfo: GoogleChromeManagementV1AndroidAppInfo appId: str categoryIds: _list[str] @@ -35,20 +31,18 @@ class GoogleChromeManagementV1AppDetails(typing_extensions.TypedDict, total=Fals reviewRating: float revisionId: str serviceError: GoogleRpcStatus - type: typing_extensions.Literal[ - "APP_ITEM_TYPE_UNSPECIFIED", "CHROME", "ANDROID", "WEB" - ] + type: typing.Literal["APP_ITEM_TYPE_UNSPECIFIED", "CHROME", "ANDROID", "WEB"] @typing.type_check_only -class GoogleChromeManagementV1AppReport(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1AppReport(typing.TypedDict, total=False): reportTime: str usageData: _list[GoogleChromeManagementV1AppUsageData] @typing.type_check_only -class GoogleChromeManagementV1AppUsageData(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1AppUsageData(typing.TypedDict, total=False): appId: str appInstanceId: str - appType: typing_extensions.Literal[ + appType: typing.Literal[ "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", "APPLICATION_TYPE_ARC", "APPLICATION_TYPE_BUILT_IN", @@ -69,9 +63,7 @@ class GoogleChromeManagementV1AppUsageData(typing_extensions.TypedDict, total=Fa runningDuration: str @typing.type_check_only -class GoogleChromeManagementV1AudioStatusReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1AudioStatusReport(typing.TypedDict, total=False): inputDevice: str inputGain: int inputMute: bool @@ -81,7 +73,7 @@ class GoogleChromeManagementV1AudioStatusReport( reportTime: str @typing.type_check_only -class GoogleChromeManagementV1BatteryInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1BatteryInfo(typing.TypedDict, total=False): designCapacity: str designMinVoltage: int manufactureDate: GoogleTypeDate @@ -90,9 +82,7 @@ class GoogleChromeManagementV1BatteryInfo(typing_extensions.TypedDict, total=Fal technology: str @typing.type_check_only -class GoogleChromeManagementV1BatterySampleReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1BatterySampleReport(typing.TypedDict, total=False): chargeRate: int current: str dischargeRate: int @@ -103,10 +93,8 @@ class GoogleChromeManagementV1BatterySampleReport( voltage: str @typing.type_check_only -class GoogleChromeManagementV1BatteryStatusReport( - typing_extensions.TypedDict, total=False -): - batteryHealth: typing_extensions.Literal[ +class GoogleChromeManagementV1BatteryStatusReport(typing.TypedDict, total=False): + batteryHealth: typing.Literal[ "BATTERY_HEALTH_UNSPECIFIED", "BATTERY_HEALTH_NORMAL", "BATTERY_REPLACE_SOON", @@ -119,14 +107,12 @@ class GoogleChromeManagementV1BatteryStatusReport( serialNumber: str @typing.type_check_only -class GoogleChromeManagementV1BootPerformanceReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1BootPerformanceReport(typing.TypedDict, total=False): bootUpDuration: str bootUpTime: str reportTime: str shutdownDuration: str - shutdownReason: typing_extensions.Literal[ + shutdownReason: typing.Literal[ "SHUTDOWN_REASON_UNSPECIFIED", "USER_REQUEST", "SYSTEM_UPDATE", @@ -136,13 +122,13 @@ class GoogleChromeManagementV1BootPerformanceReport( shutdownTime: str @typing.type_check_only -class GoogleChromeManagementV1BrowserVersion(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class GoogleChromeManagementV1BrowserVersion(typing.TypedDict, total=False): + channel: typing.Literal[ "RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "DEV", "BETA", "STABLE" ] count: str deviceOsVersion: str - system: typing_extensions.Literal[ + system: typing.Literal[ "DEVICE_SYSTEM_UNSPECIFIED", "SYSTEM_OTHER", "SYSTEM_ANDROID", @@ -155,7 +141,7 @@ class GoogleChromeManagementV1BrowserVersion(typing_extensions.TypedDict, total= version: str @typing.type_check_only -class GoogleChromeManagementV1ChromeAppInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1ChromeAppInfo(typing.TypedDict, total=False): googleOwned: bool isCwsHosted: bool isExtensionPolicySupported: bool @@ -167,20 +153,16 @@ class GoogleChromeManagementV1ChromeAppInfo(typing_extensions.TypedDict, total=F permissions: _list[GoogleChromeManagementV1ChromeAppPermission] siteAccess: _list[GoogleChromeManagementV1ChromeAppSiteAccess] supportEnabled: bool - type: typing_extensions.Literal["ITEM_TYPE_UNSPECIFIED", "EXTENSION", "OTHERS"] + type: typing.Literal["ITEM_TYPE_UNSPECIFIED", "EXTENSION", "OTHERS"] @typing.type_check_only -class GoogleChromeManagementV1ChromeAppPermission( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1ChromeAppPermission(typing.TypedDict, total=False): accessUserData: bool documentationUri: str type: str @typing.type_check_only -class GoogleChromeManagementV1ChromeAppRequest( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1ChromeAppRequest(typing.TypedDict, total=False): appDetails: str appId: str detailUri: str @@ -190,21 +172,17 @@ class GoogleChromeManagementV1ChromeAppRequest( requestCount: str @typing.type_check_only -class GoogleChromeManagementV1ChromeAppSiteAccess( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1ChromeAppSiteAccess(typing.TypedDict, total=False): hostMatch: str @typing.type_check_only -class GoogleChromeManagementV1CountActiveDevicesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1CountActiveDevicesResponse(typing.TypedDict, total=False): sevenDaysCount: str thirtyDaysCount: str @typing.type_check_only class GoogleChromeManagementV1CountChromeAppRequestsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str requestedApps: _list[GoogleChromeManagementV1ChromeAppRequest] @@ -212,7 +190,7 @@ class GoogleChromeManagementV1CountChromeAppRequestsResponse( @typing.type_check_only class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): noRecentActivityCount: str pendingBrowserUpdateCount: str @@ -220,7 +198,7 @@ class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse( @typing.type_check_only class GoogleChromeManagementV1CountChromeCrashEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crashEventCounts: _list[ GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount @@ -228,7 +206,7 @@ class GoogleChromeManagementV1CountChromeCrashEventsResponse( @typing.type_check_only class GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): browserVersion: str count: str @@ -236,13 +214,13 @@ class GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount( @typing.type_check_only class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceAueCountReports: _list[GoogleChromeManagementV1DeviceAueCountReport] @typing.type_check_only class GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): noRecentPolicySyncCount: str noRecentUserActivityCount: str @@ -252,7 +230,7 @@ class GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse( @typing.type_check_only class GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpuReports: _list[GoogleChromeManagementV1DeviceHardwareCountReport] memoryReports: _list[GoogleChromeManagementV1DeviceHardwareCountReport] @@ -261,7 +239,7 @@ class GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse( @typing.type_check_only class GoogleChromeManagementV1CountChromeProfileVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str profileBrowserVersions: _list[GoogleChromeManagementV1BrowserVersion] @@ -269,7 +247,7 @@ class GoogleChromeManagementV1CountChromeProfileVersionsResponse( @typing.type_check_only class GoogleChromeManagementV1CountChromeVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): browserVersions: _list[GoogleChromeManagementV1BrowserVersion] nextPageToken: str @@ -277,7 +255,7 @@ class GoogleChromeManagementV1CountChromeVersionsResponse( @typing.type_check_only class GoogleChromeManagementV1CountDevicesPerBootTypeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): devBootTypeCount: str unreportedBootTypeCount: str @@ -285,7 +263,7 @@ class GoogleChromeManagementV1CountDevicesPerBootTypeResponse( @typing.type_check_only class GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): betaChannelCount: str canaryChannelCount: str @@ -297,16 +275,14 @@ class GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse( unsupportedChannelCount: str @typing.type_check_only -class GoogleChromeManagementV1CountInstalledAppsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1CountInstalledAppsResponse(typing.TypedDict, total=False): installedApps: _list[GoogleChromeManagementV1InstalledApp] nextPageToken: str totalSize: int @typing.type_check_only class GoogleChromeManagementV1CountPrintJobsByPrinterResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str printerReports: _list[GoogleChromeManagementV1PrinterReport] @@ -314,53 +290,47 @@ class GoogleChromeManagementV1CountPrintJobsByPrinterResponse( @typing.type_check_only class GoogleChromeManagementV1CountPrintJobsByUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str totalSize: str userPrintReports: _list[GoogleChromeManagementV1UserPrintReport] @typing.type_check_only -class GoogleChromeManagementV1CpuInfo(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X64"] +class GoogleChromeManagementV1CpuInfo(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X64"] keylockerConfigured: bool keylockerSupported: bool maxClockSpeed: int model: str @typing.type_check_only -class GoogleChromeManagementV1CpuStatusReport(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1CpuStatusReport(typing.TypedDict, total=False): cpuTemperatureInfo: _list[GoogleChromeManagementV1CpuTemperatureInfo] cpuUtilizationPct: int reportTime: str sampleFrequency: str @typing.type_check_only -class GoogleChromeManagementV1CpuTemperatureInfo( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1CpuTemperatureInfo(typing.TypedDict, total=False): label: str temperatureCelsius: int @typing.type_check_only -class GoogleChromeManagementV1Device(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1Device(typing.TypedDict, total=False): deviceId: str machine: str @typing.type_check_only -class GoogleChromeManagementV1DeviceActivityReport( - typing_extensions.TypedDict, total=False -): - deviceActivityState: typing_extensions.Literal[ +class GoogleChromeManagementV1DeviceActivityReport(typing.TypedDict, total=False): + deviceActivityState: typing.Literal[ "DEVICE_ACTIVITY_STATE_UNSPECIFIED", "ACTIVE", "IDLE", "LOCKED" ] reportTime: str @typing.type_check_only -class GoogleChromeManagementV1DeviceAueCountReport( - typing_extensions.TypedDict, total=False -): - aueMonth: typing_extensions.Literal[ +class GoogleChromeManagementV1DeviceAueCountReport(typing.TypedDict, total=False): + aueMonth: typing.Literal[ "MONTH_UNSPECIFIED", "JANUARY", "FEBRUARY", @@ -381,21 +351,19 @@ class GoogleChromeManagementV1DeviceAueCountReport( model: str @typing.type_check_only -class GoogleChromeManagementV1DeviceHardwareCountReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1DeviceHardwareCountReport(typing.TypedDict, total=False): bucket: str count: str @typing.type_check_only class GoogleChromeManagementV1DeviceRequestingExtensionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceName: str justification: str @typing.type_check_only -class GoogleChromeManagementV1DiskInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1DiskInfo(typing.TypedDict, total=False): bytesReadThisSession: str bytesWrittenThisSession: str discardTimeThisSession: str @@ -411,7 +379,7 @@ class GoogleChromeManagementV1DiskInfo(typing_extensions.TypedDict, total=False) writeTimeThisSession: str @typing.type_check_only -class GoogleChromeManagementV1DisplayDevice(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1DisplayDevice(typing.TypedDict, total=False): displayHeightMm: int displayName: str displayWidthMm: int @@ -423,7 +391,7 @@ class GoogleChromeManagementV1DisplayDevice(typing_extensions.TypedDict, total=F serialNumber: int @typing.type_check_only -class GoogleChromeManagementV1DisplayInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1DisplayInfo(typing.TypedDict, total=False): deviceId: str displayName: str edidVersion: str @@ -434,16 +402,14 @@ class GoogleChromeManagementV1DisplayInfo(typing_extensions.TypedDict, total=Fal serialNumber: int @typing.type_check_only -class GoogleChromeManagementV1EnumeratePrintJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1EnumeratePrintJobsResponse(typing.TypedDict, total=False): nextPageToken: str printJobs: _list[GoogleChromeManagementV1PrintJob] totalSize: str @typing.type_check_only class GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceDetails: _list[GoogleChromeManagementV1DeviceRequestingExtensionDetails] nextPageToken: str @@ -451,7 +417,7 @@ class GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse( @typing.type_check_only class GoogleChromeManagementV1FetchUsersRequestingExtensionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str totalSize: int @@ -459,7 +425,7 @@ class GoogleChromeManagementV1FetchUsersRequestingExtensionResponse( @typing.type_check_only class GoogleChromeManagementV1FindInstalledAppDevicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): devices: _list[GoogleChromeManagementV1Device] nextPageToken: str @@ -467,49 +433,41 @@ class GoogleChromeManagementV1FindInstalledAppDevicesResponse( @typing.type_check_only class GoogleChromeManagementV1FindInstalledAppProfilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str profiles: _list[GoogleChromeManagementV1ProfileAppInstallInstance] totalSize: int @typing.type_check_only -class GoogleChromeManagementV1GraphicsAdapterInfo( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1GraphicsAdapterInfo(typing.TypedDict, total=False): adapter: str deviceId: str driverVersion: str @typing.type_check_only -class GoogleChromeManagementV1GraphicsInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1GraphicsInfo(typing.TypedDict, total=False): adapterInfo: GoogleChromeManagementV1GraphicsAdapterInfo displayDevices: _list[GoogleChromeManagementV1DisplayDevice] eprivacySupported: bool touchScreenInfo: GoogleChromeManagementV1TouchScreenInfo @typing.type_check_only -class GoogleChromeManagementV1GraphicsStatusReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1GraphicsStatusReport(typing.TypedDict, total=False): displays: _list[GoogleChromeManagementV1DisplayInfo] reportTime: str @typing.type_check_only -class GoogleChromeManagementV1HeartbeatStatusReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1HeartbeatStatusReport(typing.TypedDict, total=False): reportTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNKNOWN", "ONLINE", "OFFLINE", "DEVICE_OUTDATED" ] @typing.type_check_only -class GoogleChromeManagementV1HttpsLatencyRoutineData( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1HttpsLatencyRoutineData(typing.TypedDict, total=False): latency: str - problem: typing_extensions.Literal[ + problem: typing.Literal[ "HTTPS_LATENCY_PROBLEM_UNSPECIFIED", "FAILED_DNS_RESOLUTIONS", "FAILED_HTTPS_REQUESTS", @@ -518,9 +476,9 @@ class GoogleChromeManagementV1HttpsLatencyRoutineData( ] @typing.type_check_only -class GoogleChromeManagementV1InstalledApp(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1InstalledApp(typing.TypedDict, total=False): appId: str - appInstallType: typing_extensions.Literal[ + appInstallType: typing.Literal[ "APP_INSTALL_TYPE_UNSPECIFIED", "MULTIPLE", "NORMAL", @@ -529,10 +487,8 @@ class GoogleChromeManagementV1InstalledApp(typing_extensions.TypedDict, total=Fa "SIDELOAD", "OTHER", ] - appSource: typing_extensions.Literal[ - "APP_SOURCE_UNSPECIFIED", "CHROME_WEBSTORE", "PLAY_STORE" - ] - appType: typing_extensions.Literal[ + appSource: typing.Literal["APP_SOURCE_UNSPECIFIED", "CHROME_WEBSTORE", "PLAY_STORE"] + appType: typing.Literal[ "APP_TYPE_UNSPECIFIED", "EXTENSION", "APP", "THEME", "HOSTED_APP", "ANDROID_APP" ] browserDeviceCount: str @@ -546,30 +502,28 @@ class GoogleChromeManagementV1InstalledApp(typing_extensions.TypedDict, total=Fa riskAssessment: GoogleChromeManagementV1RiskAssessmentData @typing.type_check_only -class GoogleChromeManagementV1KioskAppStatusReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1KioskAppStatusReport(typing.TypedDict, total=False): appId: str appVersion: str reportTime: str @typing.type_check_only class GoogleChromeManagementV1ListTelemetryDevicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): devices: _list[GoogleChromeManagementV1TelemetryDevice] nextPageToken: str @typing.type_check_only class GoogleChromeManagementV1ListTelemetryEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str telemetryEvents: _list[GoogleChromeManagementV1TelemetryEvent] @typing.type_check_only class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str telemetryNotificationConfigs: _list[ @@ -577,42 +531,36 @@ class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse( ] @typing.type_check_only -class GoogleChromeManagementV1ListTelemetryUsersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1ListTelemetryUsersResponse(typing.TypedDict, total=False): nextPageToken: str telemetryUsers: _list[GoogleChromeManagementV1TelemetryUser] @typing.type_check_only -class GoogleChromeManagementV1MemoryInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1MemoryInfo(typing.TypedDict, total=False): availableRamBytes: str totalMemoryEncryption: GoogleChromeManagementV1TotalMemoryEncryptionInfo totalRamBytes: str @typing.type_check_only -class GoogleChromeManagementV1MemoryStatusReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1MemoryStatusReport(typing.TypedDict, total=False): pageFaults: int reportTime: str sampleFrequency: str systemRamFreeBytes: str @typing.type_check_only -class GoogleChromeManagementV1NetworkBandwidthReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1NetworkBandwidthReport(typing.TypedDict, total=False): downloadSpeedKbps: str reportTime: str @typing.type_check_only -class GoogleChromeManagementV1NetworkDevice(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1NetworkDevice(typing.TypedDict, total=False): iccid: str imei: str macAddress: str mdn: str meid: str - type: typing_extensions.Literal[ + type: typing.Literal[ "NETWORK_DEVICE_TYPE_UNSPECIFIED", "CELLULAR_DEVICE", "ETHERNET_DEVICE", @@ -620,21 +568,17 @@ class GoogleChromeManagementV1NetworkDevice(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleChromeManagementV1NetworkDiagnosticsReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1NetworkDiagnosticsReport(typing.TypedDict, total=False): httpsLatencyData: GoogleChromeManagementV1HttpsLatencyRoutineData reportTime: str @typing.type_check_only -class GoogleChromeManagementV1NetworkInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1NetworkInfo(typing.TypedDict, total=False): networkDevices: _list[GoogleChromeManagementV1NetworkDevice] @typing.type_check_only -class GoogleChromeManagementV1NetworkStatusReport( - typing_extensions.TypedDict, total=False -): - connectionState: typing_extensions.Literal[ +class GoogleChromeManagementV1NetworkStatusReport(typing.TypedDict, total=False): + connectionState: typing.Literal[ "NETWORK_CONNECTION_STATE_UNSPECIFIED", "ONLINE", "CONNECTED", @@ -642,7 +586,7 @@ class GoogleChromeManagementV1NetworkStatusReport( "CONNECTING", "NOT_CONNECTED", ] - connectionType: typing_extensions.Literal[ + connectionType: typing.Literal[ "NETWORK_TYPE_UNSPECIFIED", "CELLULAR", "ETHERNET", "TETHER", "VPN", "WIFI" ] encryptionOn: bool @@ -663,13 +607,13 @@ class GoogleChromeManagementV1NetworkStatusReport( wifiPowerManagementEnabled: bool @typing.type_check_only -class GoogleChromeManagementV1OsUpdateStatus(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1OsUpdateStatus(typing.TypedDict, total=False): lastRebootTime: str lastUpdateCheckTime: str lastUpdateTime: str newPlatformVersion: str newRequestedPlatformVersion: str - updateState: typing_extensions.Literal[ + updateState: typing.Literal[ "UPDATE_STATE_UNSPECIFIED", "OS_IMAGE_DOWNLOAD_NOT_STARTED", "OS_IMAGE_DOWNLOAD_IN_PROGRESS", @@ -677,22 +621,18 @@ class GoogleChromeManagementV1OsUpdateStatus(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleChromeManagementV1PeripheralsReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1PeripheralsReport(typing.TypedDict, total=False): reportTime: str usbPeripheralReport: _list[GoogleChromeManagementV1UsbPeripheralReport] @typing.type_check_only -class GoogleChromeManagementV1PrintJob(typing_extensions.TypedDict, total=False): - colorMode: typing_extensions.Literal[ - "COLOR_MODE_UNSPECIFIED", "BLACK_AND_WHITE", "COLOR" - ] +class GoogleChromeManagementV1PrintJob(typing.TypedDict, total=False): + colorMode: typing.Literal["COLOR_MODE_UNSPECIFIED", "BLACK_AND_WHITE", "COLOR"] completeTime: str copyCount: int createTime: str documentPageCount: int - duplexMode: typing_extensions.Literal[ + duplexMode: typing.Literal[ "DUPLEX_MODE_UNSPECIFIED", "ONE_SIDED", "TWO_SIDED_LONG_EDGE", @@ -701,15 +641,13 @@ class GoogleChromeManagementV1PrintJob(typing_extensions.TypedDict, total=False) id: str printer: str printerId: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PRINTED", "CANCELLED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PRINTED", "CANCELLED", "FAILED"] title: str userEmail: str userId: str @typing.type_check_only -class GoogleChromeManagementV1PrinterReport(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1PrinterReport(typing.TypedDict, total=False): deviceCount: str jobCount: str printer: str @@ -718,26 +656,22 @@ class GoogleChromeManagementV1PrinterReport(typing_extensions.TypedDict, total=F userCount: str @typing.type_check_only -class GoogleChromeManagementV1ProfileAppInstallInstance( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1ProfileAppInstallInstance(typing.TypedDict, total=False): email: str profileId: str profileOrgUnitId: str profilePermanentId: str @typing.type_check_only -class GoogleChromeManagementV1RiskAssessment(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1RiskAssessment(typing.TypedDict, total=False): assessment: str detailsUrl: str version: str @typing.type_check_only -class GoogleChromeManagementV1RiskAssessmentData( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1RiskAssessmentData(typing.TypedDict, total=False): entries: _list[GoogleChromeManagementV1RiskAssessmentEntry] - overallRiskLevel: typing_extensions.Literal[ + overallRiskLevel: typing.Literal[ "RISK_LEVEL_UNSPECIFIED", "RISK_LEVEL_LOW", "RISK_LEVEL_MEDIUM", @@ -745,10 +679,8 @@ class GoogleChromeManagementV1RiskAssessmentData( ] @typing.type_check_only -class GoogleChromeManagementV1RiskAssessmentEntry( - typing_extensions.TypedDict, total=False -): - provider: typing_extensions.Literal[ +class GoogleChromeManagementV1RiskAssessmentEntry(typing.TypedDict, total=False): + provider: typing.Literal[ "RISK_ASSESSMENT_PROVIDER_UNSPECIFIED", "RISK_ASSESSMENT_PROVIDER_CRXCAVATOR", "RISK_ASSESSMENT_PROVIDER_SPIN_AI", @@ -756,7 +688,7 @@ class GoogleChromeManagementV1RiskAssessmentEntry( "RISK_ASSESSMENT_PROVIDER_SPIN_AI_V2", ] riskAssessment: GoogleChromeManagementV1RiskAssessment - riskLevel: typing_extensions.Literal[ + riskLevel: typing.Literal[ "RISK_LEVEL_UNSPECIFIED", "RISK_LEVEL_LOW", "RISK_LEVEL_MEDIUM", @@ -764,9 +696,7 @@ class GoogleChromeManagementV1RiskAssessmentEntry( ] @typing.type_check_only -class GoogleChromeManagementV1RuntimeCountersReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1RuntimeCountersReport(typing.TypedDict, total=False): enterHibernationCount: str enterPoweroffCount: str enterSleepCount: str @@ -774,32 +704,26 @@ class GoogleChromeManagementV1RuntimeCountersReport( uptimeRuntimeDuration: str @typing.type_check_only -class GoogleChromeManagementV1StorageInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1StorageInfo(typing.TypedDict, total=False): availableDiskBytes: str totalDiskBytes: str volume: _list[GoogleChromeManagementV1StorageInfoDiskVolume] @typing.type_check_only -class GoogleChromeManagementV1StorageInfoDiskVolume( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1StorageInfoDiskVolume(typing.TypedDict, total=False): storageFreeBytes: str storageTotalBytes: str volumeId: str @typing.type_check_only -class GoogleChromeManagementV1StorageStatusReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1StorageStatusReport(typing.TypedDict, total=False): disk: _list[GoogleChromeManagementV1DiskInfo] reportTime: str @typing.type_check_only -class GoogleChromeManagementV1TelemetryAppInstallEvent( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TelemetryAppInstallEvent(typing.TypedDict, total=False): appId: str - appInstallReason: typing_extensions.Literal[ + appInstallReason: typing.Literal[ "APPLICATION_INSTALL_REASON_UNSPECIFIED", "APPLICATION_INSTALL_REASON_SYSTEM", "APPLICATION_INSTALL_REASON_POLICY", @@ -811,7 +735,7 @@ class GoogleChromeManagementV1TelemetryAppInstallEvent( "APPLICATION_INSTALL_REASON_KIOSK", "APPLICATION_INSTALL_REASON_COMMAND_LINE", ] - appInstallSource: typing_extensions.Literal[ + appInstallSource: typing.Literal[ "APPLICATION_INSTALL_SOURCE_UNSPECIFIED", "APPLICATION_INSTALL_SOURCE_SYSTEM", "APPLICATION_INSTALL_SOURCE_SYNC", @@ -819,12 +743,12 @@ class GoogleChromeManagementV1TelemetryAppInstallEvent( "APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE", "APPLICATION_INSTALL_SOURCE_BROWSER", ] - appInstallTime: typing_extensions.Literal[ + appInstallTime: typing.Literal[ "APPLICATION_INSTALL_TIME_UNSPECIFIED", "APPLICATION_INSTALL_TIME_INIT", "APPLICATION_INSTALL_TIME_RUNNING", ] - appType: typing_extensions.Literal[ + appType: typing.Literal[ "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", "APPLICATION_TYPE_ARC", "APPLICATION_TYPE_BUILT_IN", @@ -844,11 +768,9 @@ class GoogleChromeManagementV1TelemetryAppInstallEvent( ] @typing.type_check_only -class GoogleChromeManagementV1TelemetryAppLaunchEvent( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TelemetryAppLaunchEvent(typing.TypedDict, total=False): appId: str - appLaunchSource: typing_extensions.Literal[ + appLaunchSource: typing.Literal[ "APPLICATION_LAUNCH_SOURCE_UNSPECIFIED", "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID", "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU", @@ -894,7 +816,7 @@ class GoogleChromeManagementV1TelemetryAppLaunchEvent( "APPLICATION_LAUNCH_SOURCE_NAVIGATION_CAPTURING", "APPLICATION_LAUNCH_SOURCE_WEB_INSTALL_API", ] - appType: typing_extensions.Literal[ + appType: typing.Literal[ "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", "APPLICATION_TYPE_ARC", "APPLICATION_TYPE_BUILT_IN", @@ -914,11 +836,9 @@ class GoogleChromeManagementV1TelemetryAppLaunchEvent( ] @typing.type_check_only -class GoogleChromeManagementV1TelemetryAppUninstallEvent( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TelemetryAppUninstallEvent(typing.TypedDict, total=False): appId: str - appType: typing_extensions.Literal[ + appType: typing.Literal[ "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", "APPLICATION_TYPE_ARC", "APPLICATION_TYPE_BUILT_IN", @@ -936,7 +856,7 @@ class GoogleChromeManagementV1TelemetryAppUninstallEvent( "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION", "APPLICATION_TYPE_BRUSCHETTA", ] - appUninstallSource: typing_extensions.Literal[ + appUninstallSource: typing.Literal[ "APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED", "APPLICATION_UNINSTALL_SOURCE_APP_LIST", "APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT", @@ -946,11 +866,11 @@ class GoogleChromeManagementV1TelemetryAppUninstallEvent( @typing.type_check_only class GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleChromeManagementV1TelemetryDevice(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1TelemetryDevice(typing.TypedDict, total=False): appReport: _list[GoogleChromeManagementV1AppReport] audioStatusReport: _list[GoogleChromeManagementV1AudioStatusReport] batteryInfo: _list[GoogleChromeManagementV1BatteryInfo] @@ -981,20 +901,18 @@ class GoogleChromeManagementV1TelemetryDevice(typing_extensions.TypedDict, total thunderboltInfo: _list[GoogleChromeManagementV1ThunderboltInfo] @typing.type_check_only -class GoogleChromeManagementV1TelemetryDeviceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TelemetryDeviceInfo(typing.TypedDict, total=False): deviceId: str orgUnitId: str @typing.type_check_only -class GoogleChromeManagementV1TelemetryEvent(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1TelemetryEvent(typing.TypedDict, total=False): appInstallEvent: GoogleChromeManagementV1TelemetryAppInstallEvent appLaunchEvent: GoogleChromeManagementV1TelemetryAppLaunchEvent appUninstallEvent: GoogleChromeManagementV1TelemetryAppUninstallEvent audioSevereUnderrunEvent: GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent device: GoogleChromeManagementV1TelemetryDeviceInfo - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "AUDIO_SEVERE_UNDERRUN", "NETWORK_STATE_CHANGE", @@ -1028,10 +946,10 @@ class GoogleChromeManagementV1TelemetryEvent(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleChromeManagementV1TelemetryEventNotificationFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "AUDIO_SEVERE_UNDERRUN", "NETWORK_STATE_CHANGE", @@ -1052,7 +970,7 @@ class GoogleChromeManagementV1TelemetryEventNotificationFilter( @typing.type_check_only class GoogleChromeManagementV1TelemetryExternalDisplayData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str edidVersion: str @@ -1063,24 +981,24 @@ class GoogleChromeManagementV1TelemetryExternalDisplayData( @typing.type_check_only class GoogleChromeManagementV1TelemetryExternalDisplayEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalDisplayData: _list[GoogleChromeManagementV1TelemetryExternalDisplayData] @typing.type_check_only class GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): httpsLatencyRoutineData: GoogleChromeManagementV1HttpsLatencyRoutineData - httpsLatencyState: typing_extensions.Literal[ + httpsLatencyState: typing.Literal[ "HTTPS_LATENCY_STATE_UNSPECIFIED", "RECOVERY", "PROBLEM" ] @typing.type_check_only class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - connectionState: typing_extensions.Literal[ + connectionState: typing.Literal[ "NETWORK_CONNECTION_STATE_UNSPECIFIED", "ONLINE", "CONNECTED", @@ -1092,14 +1010,14 @@ class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent( @typing.type_check_only class GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): guid: str signalStrengthDbm: int @typing.type_check_only class GoogleChromeManagementV1TelemetryNotificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str filter: GoogleChromeManagementV1TelemetryNotificationFilter @@ -1108,7 +1026,7 @@ class GoogleChromeManagementV1TelemetryNotificationConfig( @typing.type_check_only class GoogleChromeManagementV1TelemetryNotificationFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceId: str deviceOrgUnitId: str @@ -1119,14 +1037,12 @@ class GoogleChromeManagementV1TelemetryNotificationFilter( userOrgUnitId: str @typing.type_check_only -class GoogleChromeManagementV1TelemetryOsCrashEvent( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TelemetryOsCrashEvent(typing.TypedDict, total=False): crashId: str - crashType: typing_extensions.Literal[ + crashType: typing.Literal[ "CRASH_TYPE_UNSPECIFIED", "CRASH_TYPE_KERNEL", "CRASH_TYPE_EMBEDDED_CONTROLLER" ] - sessionType: typing_extensions.Literal[ + sessionType: typing.Literal[ "SESSION_TYPE_UNSPECIFIED", "SESSION_TYPE_SIGNED_IN_USER", "SESSION_TYPE_KIOSK", @@ -1136,12 +1052,12 @@ class GoogleChromeManagementV1TelemetryOsCrashEvent( @typing.type_check_only class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): usbPeripheralReport: _list[GoogleChromeManagementV1UsbPeripheralReport] @typing.type_check_only -class GoogleChromeManagementV1TelemetryUser(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1TelemetryUser(typing.TypedDict, total=False): customer: str name: str orgUnitId: str @@ -1150,9 +1066,7 @@ class GoogleChromeManagementV1TelemetryUser(typing_extensions.TypedDict, total=F userId: str @typing.type_check_only -class GoogleChromeManagementV1TelemetryUserDevice( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TelemetryUserDevice(typing.TypedDict, total=False): appReport: _list[GoogleChromeManagementV1AppReport] audioStatusReport: _list[GoogleChromeManagementV1AudioStatusReport] deviceActivityReport: _list[GoogleChromeManagementV1DeviceActivityReport] @@ -1161,15 +1075,13 @@ class GoogleChromeManagementV1TelemetryUserDevice( peripheralsReport: _list[GoogleChromeManagementV1PeripheralsReport] @typing.type_check_only -class GoogleChromeManagementV1TelemetryUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TelemetryUserInfo(typing.TypedDict, total=False): email: str orgUnitId: str @typing.type_check_only -class GoogleChromeManagementV1ThunderboltInfo(typing_extensions.TypedDict, total=False): - securityLevel: typing_extensions.Literal[ +class GoogleChromeManagementV1ThunderboltInfo(typing.TypedDict, total=False): + securityLevel: typing.Literal[ "THUNDERBOLT_SECURITY_LEVEL_UNSPECIFIED", "THUNDERBOLT_SECURITY_NONE_LEVEL", "THUNDERBOLT_SECURITY_USER_LEVEL", @@ -1180,16 +1092,14 @@ class GoogleChromeManagementV1ThunderboltInfo(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleChromeManagementV1TotalMemoryEncryptionInfo( - typing_extensions.TypedDict, total=False -): - encryptionAlgorithm: typing_extensions.Literal[ +class GoogleChromeManagementV1TotalMemoryEncryptionInfo(typing.TypedDict, total=False): + encryptionAlgorithm: typing.Literal[ "MEMORY_ENCRYPTION_ALGORITHM_UNSPECIFIED", "MEMORY_ENCRYPTION_ALGORITHM_UNKNOWN", "MEMORY_ENCRYPTION_ALGORITHM_AES_XTS_128", "MEMORY_ENCRYPTION_ALGORITHM_AES_XTS_256", ] - encryptionState: typing_extensions.Literal[ + encryptionState: typing.Literal[ "MEMORY_ENCRYPTION_STATE_UNSPECIFIED", "MEMORY_ENCRYPTION_STATE_UNKNOWN", "MEMORY_ENCRYPTION_STATE_DISABLED", @@ -1200,22 +1110,18 @@ class GoogleChromeManagementV1TotalMemoryEncryptionInfo( maxKeys: str @typing.type_check_only -class GoogleChromeManagementV1TouchScreenDevice( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1TouchScreenDevice(typing.TypedDict, total=False): displayName: str stylusCapable: bool touchPointCount: int @typing.type_check_only -class GoogleChromeManagementV1TouchScreenInfo(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1TouchScreenInfo(typing.TypedDict, total=False): devices: _list[GoogleChromeManagementV1TouchScreenDevice] touchpadLibrary: str @typing.type_check_only -class GoogleChromeManagementV1UsbPeripheralReport( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementV1UsbPeripheralReport(typing.TypedDict, total=False): categories: _list[str] classId: int firmwareVersion: str @@ -1226,7 +1132,7 @@ class GoogleChromeManagementV1UsbPeripheralReport( vid: int @typing.type_check_only -class GoogleChromeManagementV1UserPrintReport(typing_extensions.TypedDict, total=False): +class GoogleChromeManagementV1UserPrintReport(typing.TypedDict, total=False): deviceCount: str jobCount: str printerCount: str @@ -1235,25 +1141,25 @@ class GoogleChromeManagementV1UserPrintReport(typing_extensions.TypedDict, total @typing.type_check_only class GoogleChromeManagementV1UserRequestingExtensionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str justification: str @typing.type_check_only class GoogleChromeManagementVersionsV1AttestationCredential( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keyRotationTime: str - keyTrustLevel: typing_extensions.Literal[ + keyTrustLevel: typing.Literal[ "KEY_TRUST_LEVEL_UNSPECIFIED", "CHROME_BROWSER_HW_KEY", "CHROME_BROWSER_OS_KEY" ] - keyType: typing_extensions.Literal["KEY_TYPE_UNSPECIFIED", "RSA_KEY", "EC_KEY"] + keyType: typing.Literal["KEY_TYPE_UNSPECIFIED", "RSA_KEY", "EC_KEY"] publicKey: str @typing.type_check_only class GoogleChromeManagementVersionsV1CertificateProvisioningProcess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chromeOsDevice: GoogleChromeManagementVersionsV1ChromeOsDevice chromeOsUserSession: GoogleChromeManagementVersionsV1ChromeOsUserSession @@ -1267,7 +1173,7 @@ class GoogleChromeManagementVersionsV1CertificateProvisioningProcess( scepProfile: GoogleChromeManagementVersionsV1ScepProfile signData: str signature: str - signatureAlgorithm: typing_extensions.Literal[ + signatureAlgorithm: typing.Literal[ "SIGNATURE_ALGORITHM_UNSPECIFIED", "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", "SIGNATURE_ALGORITHM_ECDSA_SHA256", @@ -1277,17 +1183,17 @@ class GoogleChromeManagementVersionsV1CertificateProvisioningProcess( @typing.type_check_only class GoogleChromeManagementVersionsV1CheckEnablementStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - insightsState: typing_extensions.Literal[ + insightsState: typing.Literal[ "INSIGHTS_ENABLEMENT_STATE_UNSPECIFIED", "INSIGHTS_ENABLED", "INSIGHTS_DISABLED" ] @typing.type_check_only class GoogleChromeManagementVersionsV1ChromeBrowserProfile( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - affiliationState: typing_extensions.Literal[ + affiliationState: typing.Literal[ "AFFILIATION_STATE_UNSPECIFIED", "UNAFFILIATED_GENERIC", "PROFILE_ONLY", @@ -1305,7 +1211,7 @@ class GoogleChromeManagementVersionsV1ChromeBrowserProfile( etag: str extensionCount: str firstEnrollmentTime: str - identityProvider: typing_extensions.Literal[ + identityProvider: typing.Literal[ "IDENTITY_PROVIDER_UNSPECIFIED", "GOOGLE_IDENTITY_PROVIDER", "EXTERNAL_IDENTITY_PROVIDER", @@ -1328,12 +1234,12 @@ class GoogleChromeManagementVersionsV1ChromeBrowserProfile( @typing.type_check_only class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commandResult: ( GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult ) - commandState: typing_extensions.Literal[ + commandState: typing.Literal[ "COMMAND_STATE_UNSPECIFIED", "PENDING", "EXPIRED", "EXECUTED_BY_CLIENT" ] commandType: str @@ -1344,24 +1250,22 @@ class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand( @typing.type_check_only class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientExecutionTime: str resultCode: str - resultType: typing_extensions.Literal[ + resultType: typing.Literal[ "COMMAND_RESULT_TYPE_UNSPECIFIED", "IGNORED", "FAILURE", "SUCCESS" ] @typing.type_check_only -class GoogleChromeManagementVersionsV1ChromeOsDevice( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1ChromeOsDevice(typing.TypedDict, total=False): deviceDirectoryApiId: str serialNumber: str @typing.type_check_only class GoogleChromeManagementVersionsV1ChromeOsUserSession( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chromeOsDevice: GoogleChromeManagementVersionsV1ChromeOsDevice userDirectoryApiId: str @@ -1369,24 +1273,22 @@ class GoogleChromeManagementVersionsV1ChromeOsUserSession( @typing.type_check_only class GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callerInstanceId: str @typing.type_check_only class GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleChromeManagementVersionsV1ConnectorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1ConnectorConfig(typing.TypedDict, total=False): details: GoogleChromeManagementVersionsV1ConnectorConfigDetails displayName: str name: str status: GoogleChromeManagementVersionsV1ConnectorConfigStatus - type: typing_extensions.Literal[ + type: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "REPORTING", "DEVICE_TRUST", @@ -1399,7 +1301,7 @@ class GoogleChromeManagementVersionsV1ConnectorConfig( @typing.type_check_only class GoogleChromeManagementVersionsV1ConnectorConfigDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crowdStrikeConfig: GoogleChromeManagementVersionsV1CrowdStrikeConfig crowdStrikeFalconNextGenConfig: ( @@ -1416,17 +1318,15 @@ class GoogleChromeManagementVersionsV1ConnectorConfigDetails( @typing.type_check_only class GoogleChromeManagementVersionsV1ConnectorConfigStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureStartTime: str - state: typing_extensions.Literal[ - "CONFIG_STATE_UNKNOWN", "ENABLED", "DISABLED_BY_FAILURES" - ] + state: typing.Literal["CONFIG_STATE_UNKNOWN", "ENABLED", "DISABLED_BY_FAILURES"] updateTime: str @typing.type_check_only class GoogleChromeManagementVersionsV1ContentTransfersBreakdown( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentCategory: str eventDomain: str @@ -1435,10 +1335,10 @@ class GoogleChromeManagementVersionsV1ContentTransfersBreakdown( @typing.type_check_only class GoogleChromeManagementVersionsV1ContentTransfersSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str - metric: typing_extensions.Literal[ + metric: typing.Literal[ "CONTENT_TRANSFERS_METRIC_UNSPECIFIED", "CONTENT_TRANSFERS_METRIC_TOTAL_TRANSFERS", "CONTENT_TRANSFERS_METRIC_TOTAL_UPLOADS", @@ -1451,16 +1351,14 @@ class GoogleChromeManagementVersionsV1ContentTransfersSummary( ] @typing.type_check_only -class GoogleChromeManagementVersionsV1CrowdStrikeConfig( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1CrowdStrikeConfig(typing.TypedDict, total=False): apiKey: str host: str reportingSettings: GoogleChromeManagementVersionsV1ReportingSettings @typing.type_check_only class GoogleChromeManagementVersionsV1CrowdStrikeFalconNextGenConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str host: str @@ -1468,33 +1366,29 @@ class GoogleChromeManagementVersionsV1CrowdStrikeFalconNextGenConfig( @typing.type_check_only class GoogleChromeManagementVersionsV1CrowdStrikeXdrConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str host: str xdrSettings: GoogleChromeManagementVersionsV1XdrSettings @typing.type_check_only -class GoogleChromeManagementVersionsV1DeviceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1DeviceInfo(typing.TypedDict, total=False): affiliatedDeviceId: str - deviceType: typing_extensions.Literal["DEVICE_TYPE_UNSPECIFIED", "CHROME_BROWSER"] + deviceType: typing.Literal["DEVICE_TYPE_UNSPECIFIED", "CHROME_BROWSER"] hostname: str machine: str @typing.type_check_only -class GoogleChromeManagementVersionsV1DeviceTrustConfig( - typing_extensions.TypedDict, total=False -): - scope: typing_extensions.Literal[ +class GoogleChromeManagementVersionsV1DeviceTrustConfig(typing.TypedDict, total=False): + scope: typing.Literal[ "BROWSER_ENFORCEMENT_SCOPE_UNSPECIFIED", "BROWSERS_ONLY", "PROFILES_ONLY", "BROWSERS_AND_PROFILES", ] serviceAccounts: _list[str] - serviceProvider: typing_extensions.Literal[ + serviceProvider: typing.Literal[ "SERVICE_PROVIDER_UNSPECIFIED", "UNIVERSAL_DEVICE_TRUST", "OKTA", @@ -1509,54 +1403,50 @@ class GoogleChromeManagementVersionsV1DeviceTrustConfig( @typing.type_check_only class GoogleChromeManagementVersionsV1DisableInsightsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleChromeManagementVersionsV1DisableInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - insightsState: typing_extensions.Literal[ + insightsState: typing.Literal[ "INSIGHTS_ENABLEMENT_STATE_UNSPECIFIED", "INSIGHTS_ENABLED", "INSIGHTS_DISABLED" ] @typing.type_check_only class GoogleChromeManagementVersionsV1EnableInsightsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetOus: _list[str] @typing.type_check_only class GoogleChromeManagementVersionsV1EnableInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - insightsState: typing_extensions.Literal[ + insightsState: typing.Literal[ "INSIGHTS_ENABLEMENT_STATE_UNSPECIFIED", "INSIGHTS_ENABLED", "INSIGHTS_DISABLED" ] @typing.type_check_only class GoogleChromeManagementVersionsV1GenericCaConnection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caConnectionAdapterConfigReference: str @typing.type_check_only -class GoogleChromeManagementVersionsV1GenericProfile( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1GenericProfile(typing.TypedDict, total=False): profileAdapterConfigReference: str @typing.type_check_only -class GoogleChromeManagementVersionsV1GoogleSecOpsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1GoogleSecOpsConfig(typing.TypedDict, total=False): apiKey: str host: str reportingSettings: GoogleChromeManagementVersionsV1ReportingSettings @typing.type_check_only class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chromeBrowserProfileCommands: _list[ GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand @@ -1566,7 +1456,7 @@ class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse( @typing.type_check_only class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chromeBrowserProfiles: _list[GoogleChromeManagementVersionsV1ChromeBrowserProfile] nextPageToken: str @@ -1574,55 +1464,49 @@ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse( @typing.type_check_only class GoogleChromeManagementVersionsV1ListConnectorConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectorConfigs: _list[GoogleChromeManagementVersionsV1ConnectorConfig] nextPageToken: str @typing.type_check_only -class GoogleChromeManagementVersionsV1MipLabelConfig( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1MipLabelConfig(typing.TypedDict, total=False): domains: _list[str] microsoftTenantId: str @typing.type_check_only class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationOrgUnit: str @typing.type_check_only class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thirdPartyProfileUser: GoogleChromeManagementVersionsV1ThirdPartyProfileUser @typing.type_check_only class GoogleChromeManagementVersionsV1PaloAltoNetworksConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str host: str reportingSettings: GoogleChromeManagementVersionsV1ReportingSettings @typing.type_check_only -class GoogleChromeManagementVersionsV1PubSubConfig( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1PubSubConfig(typing.TypedDict, total=False): reportingSettings: GoogleChromeManagementVersionsV1ReportingSettings topicFullPath: str @typing.type_check_only -class GoogleChromeManagementVersionsV1PubSubXdrConfig( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1PubSubXdrConfig(typing.TypedDict, total=False): topicFullPath: str xdrSettings: GoogleChromeManagementVersionsV1XdrSettings @typing.type_check_only class GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentTransfersBreakdowns: _list[ GoogleChromeManagementVersionsV1ContentTransfersBreakdown @@ -1631,27 +1515,25 @@ class GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse( @typing.type_check_only class GoogleChromeManagementVersionsV1QueryContentTransfersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summaries: _list[GoogleChromeManagementVersionsV1ContentTransfersSummary] @typing.type_check_only class GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str urlVisitsBreakdowns: _list[GoogleChromeManagementVersionsV1UrlVisitsBreakdown] @typing.type_check_only class GoogleChromeManagementVersionsV1QueryUrlVisitsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summaries: _list[GoogleChromeManagementVersionsV1UrlVisitsSummary] @typing.type_check_only -class GoogleChromeManagementVersionsV1ReportingData( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1ReportingData(typing.TypedDict, total=False): browserExecutablePath: str extensionData: _list[GoogleChromeManagementVersionsV1ReportingDataExtensionData] extensionPolicyData: _list[ @@ -1663,9 +1545,9 @@ class GoogleChromeManagementVersionsV1ReportingData( @typing.type_check_only class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - source: typing_extensions.Literal[ + source: typing.Literal[ "POLICY_SOURCE_UNSPECIFIED", "MACHINE_PLATFORM", "USER_PLATFORM", @@ -1676,15 +1558,15 @@ class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData( @typing.type_check_only class GoogleChromeManagementVersionsV1ReportingDataExtensionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str extensionId: str - extensionType: typing_extensions.Literal[ + extensionType: typing.Literal[ "EXTENSION_TYPE_UNSPECIFIED", "EXTENSION", "APP", "THEME", "HOSTED_APP" ] homepageUri: str - installationType: typing_extensions.Literal[ + installationType: typing.Literal[ "INSTALLATION_TYPE_UNSPECIFIED", "MULTIPLE", "NORMAL", @@ -1702,7 +1584,7 @@ class GoogleChromeManagementVersionsV1ReportingDataExtensionData( @typing.type_check_only class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): extensionId: str extensionName: str @@ -1710,12 +1592,12 @@ class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData( @typing.type_check_only class GoogleChromeManagementVersionsV1ReportingDataPolicyData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflicts: _list[GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData] error: str name: str - source: typing_extensions.Literal[ + source: typing.Literal[ "POLICY_SOURCE_UNSPECIFIED", "MACHINE_PLATFORM", "USER_PLATFORM", @@ -1726,11 +1608,9 @@ class GoogleChromeManagementVersionsV1ReportingDataPolicyData( value: str @typing.type_check_only -class GoogleChromeManagementVersionsV1ReportingSettings( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1ReportingSettings(typing.TypedDict, total=False): enabledDefaultEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEFAULT_EVENT_UNSPECIFIED", "ALL_DEFAULT_EVENTS", "BROWSER_CRASH_EVENT", @@ -1748,7 +1628,7 @@ class GoogleChromeManagementVersionsV1ReportingSettings( ] ] enabledDeviceEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEVICE_EVENT_UNSPECIFIED", "ALL_DEVICE_EVENTS", "ADD_REMOVE_USER_EVENT", @@ -1758,7 +1638,7 @@ class GoogleChromeManagementVersionsV1ReportingSettings( ] ] enabledOptInEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "OPT_IN_EVENT_UNSPECIFIED", "ALL_OPT_IN_EVENTS", "LOGIN_EVENT", @@ -1769,19 +1649,15 @@ class GoogleChromeManagementVersionsV1ReportingSettings( ] @typing.type_check_only -class GoogleChromeManagementVersionsV1ScepCaConnection( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1ScepCaConnection(typing.TypedDict, total=False): caConnectionAdapterConfigReference: str @typing.type_check_only -class GoogleChromeManagementVersionsV1ScepProfile( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1ScepProfile(typing.TypedDict, total=False): certificateTemplateName: str country: str keyUsages: _list[ - typing_extensions.Literal[ + typing.Literal[ "KEY_USAGE_UNSPECIFIED", "KEY_USAGE_SIGNING", "KEY_USAGE_KEY_ENCIPHERMENT" ] ] @@ -1793,45 +1669,35 @@ class GoogleChromeManagementVersionsV1ScepProfile( subjectCommonName: str @typing.type_check_only -class GoogleChromeManagementVersionsV1SetFailureRequest( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1SetFailureRequest(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only class GoogleChromeManagementVersionsV1SetFailureResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleChromeManagementVersionsV1SignDataMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1SignDataMetadata(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class GoogleChromeManagementVersionsV1SignDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1SignDataRequest(typing.TypedDict, total=False): signData: str - signatureAlgorithm: typing_extensions.Literal[ + signatureAlgorithm: typing.Literal[ "SIGNATURE_ALGORITHM_UNSPECIFIED", "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", "SIGNATURE_ALGORITHM_ECDSA_SHA256", ] @typing.type_check_only -class GoogleChromeManagementVersionsV1SignDataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1SignDataResponse(typing.TypedDict, total=False): certificateProvisioningProcess: ( GoogleChromeManagementVersionsV1CertificateProvisioningProcess ) @typing.type_check_only -class GoogleChromeManagementVersionsV1SplunkConfig( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1SplunkConfig(typing.TypedDict, total=False): hecToken: str host: str portNumber: int @@ -1840,10 +1706,8 @@ class GoogleChromeManagementVersionsV1SplunkConfig( unsecureScheme: bool @typing.type_check_only -class GoogleChromeManagementVersionsV1SubjectAltName( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleChromeManagementVersionsV1SubjectAltName(typing.TypedDict, total=False): + type: typing.Literal[ "SUBJECT_ALT_NAME_TYPE_UNSPECIFIED", "RFC822_NAME", "DNS_NAME", @@ -1854,36 +1718,32 @@ class GoogleChromeManagementVersionsV1SubjectAltName( @typing.type_check_only class GoogleChromeManagementVersionsV1ThirdPartyProfileUser( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str orgUnitId: str @typing.type_check_only class GoogleChromeManagementVersionsV1UploadCertificateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificatePem: str @typing.type_check_only class GoogleChromeManagementVersionsV1UploadCertificateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleChromeManagementVersionsV1UrlVisitsBreakdown( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1UrlVisitsBreakdown(typing.TypedDict, total=False): eventDomain: str summary: GoogleChromeManagementVersionsV1UrlVisitsSummary user: str @typing.type_check_only -class GoogleChromeManagementVersionsV1UrlVisitsSummary( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1UrlVisitsSummary(typing.TypedDict, total=False): count: str - metric: typing_extensions.Literal[ + metric: typing.Literal[ "URL_VISITS_METRIC_UNSPECIFIED", "URL_VISITS_METRIC_TOTAL_SUSPICIOUS_URL_VISITS", "URL_VISITS_METRIC_HIGH_RISK_URL_VISITS", @@ -1892,24 +1752,20 @@ class GoogleChromeManagementVersionsV1UrlVisitsSummary( ] @typing.type_check_only -class GoogleChromeManagementVersionsV1XdrSettings( - typing_extensions.TypedDict, total=False -): +class GoogleChromeManagementVersionsV1XdrSettings(typing.TypedDict, total=False): enableAllXdrEvents: bool @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -1917,16 +1773,16 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/chromepolicy/v1/resources.pyi b/googleapiclient-stubs/_apis/chromepolicy/v1/resources.pyi index b3b6213c2..73ded097f 100644 --- a/googleapiclient-stubs/_apis/chromepolicy/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromepolicy/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi index f86d29e8b..37758f10e 100644 --- a/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromepolicy/v1/schemas.pyi @@ -1,50 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleChromePolicyVersionsV1AdditionalTargetKeyName( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str keyDescription: str @typing.type_check_only class GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest] @typing.type_check_only class GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest] @typing.type_check_only class GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest] @typing.type_check_only class GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest] @typing.type_check_only -class GoogleChromePolicyVersionsV1CertificateReference( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1CertificateReference(typing.TypedDict, total=False): network: str orgUnitId: str @typing.type_check_only class GoogleChromePolicyVersionsV1DefineCertificateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ceritificateName: str certificate: str @@ -53,52 +49,46 @@ class GoogleChromePolicyVersionsV1DefineCertificateRequest( @typing.type_check_only class GoogleChromePolicyVersionsV1DefineCertificateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): networkId: str settings: _list[GoogleChromePolicyVersionsV1NetworkSetting] targetResource: str @typing.type_check_only -class GoogleChromePolicyVersionsV1DefineNetworkRequest( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1DefineNetworkRequest(typing.TypedDict, total=False): name: str settings: _list[GoogleChromePolicyVersionsV1NetworkSetting] targetResource: str @typing.type_check_only -class GoogleChromePolicyVersionsV1DefineNetworkResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1DefineNetworkResponse(typing.TypedDict, total=False): networkId: str settings: _list[GoogleChromePolicyVersionsV1NetworkSetting] targetResource: str @typing.type_check_only class GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policySchema: str policyTargetKey: GoogleChromePolicyVersionsV1PolicyTargetKey @typing.type_check_only -class GoogleChromePolicyVersionsV1FieldConstraints( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1FieldConstraints(typing.TypedDict, total=False): numericRangeConstraint: GoogleChromePolicyVersionsV1NumericRangeConstraint uploadedFileConstraints: GoogleChromePolicyVersionsV1UploadedFileConstraints @typing.type_check_only class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policySchema: str policyTargetKey: GoogleChromePolicyVersionsV1PolicyTargetKey @typing.type_check_only class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyNamespace: str policySchema: str @@ -106,7 +96,7 @@ class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest( @typing.type_check_only class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): groupIds: _list[str] policyNamespace: str @@ -115,14 +105,14 @@ class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse( @typing.type_check_only class GoogleChromePolicyVersionsV1ListPolicySchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str policySchemas: _list[GoogleChromePolicyVersionsV1PolicySchema] @typing.type_check_only class GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyTargetKey: GoogleChromePolicyVersionsV1PolicyTargetKey policyValue: GoogleChromePolicyVersionsV1PolicyValue @@ -130,34 +120,28 @@ class GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest( @typing.type_check_only class GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyTargetKey: GoogleChromePolicyVersionsV1PolicyTargetKey policyValue: GoogleChromePolicyVersionsV1PolicyValue updateMask: str @typing.type_check_only -class GoogleChromePolicyVersionsV1NetworkSetting( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1NetworkSetting(typing.TypedDict, total=False): policySchema: str value: dict[str, typing.Any] @typing.type_check_only -class GoogleChromePolicyVersionsV1NumericRangeConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1NumericRangeConstraint(typing.TypedDict, total=False): maximum: str minimum: str @typing.type_check_only -class GoogleChromePolicyVersionsV1PolicyApiLifecycle( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1PolicyApiLifecycle(typing.TypedDict, total=False): deprecatedInFavorOf: _list[str] description: str endSupport: GoogleTypeDate - policyApiLifecycleStage: typing_extensions.Literal[ + policyApiLifecycleStage: typing.Literal[ "API_UNSPECIFIED", "API_PREVIEW", "API_DEVELOPMENT", @@ -168,7 +152,7 @@ class GoogleChromePolicyVersionsV1PolicyApiLifecycle( @typing.type_check_only class GoogleChromePolicyVersionsV1PolicyModificationError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[str] fieldErrors: _list[GoogleChromePolicyVersionsV1PolicyModificationFieldError] @@ -177,21 +161,19 @@ class GoogleChromePolicyVersionsV1PolicyModificationError( @typing.type_check_only class GoogleChromePolicyVersionsV1PolicyModificationErrorDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modificationErrors: _list[GoogleChromePolicyVersionsV1PolicyModificationError] @typing.type_check_only class GoogleChromePolicyVersionsV1PolicyModificationFieldError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: str field: str @typing.type_check_only -class GoogleChromePolicyVersionsV1PolicySchema( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1PolicySchema(typing.TypedDict, total=False): accessRestrictions: _list[str] additionalTargetKeyNames: _list[GoogleChromePolicyVersionsV1AdditionalTargetKeyName] categoryTitle: str @@ -204,7 +186,7 @@ class GoogleChromePolicyVersionsV1PolicySchema( schemaName: str supportUri: str supportedPlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "CHROME_OS", "CHROME_BROWSER", @@ -213,19 +195,19 @@ class GoogleChromePolicyVersionsV1PolicySchema( ] ] validTargetResources: _list[ - typing_extensions.Literal["TARGET_RESOURCE_UNSPECIFIED", "ORG_UNIT", "GROUP"] + typing.Literal["TARGET_RESOURCE_UNSPECIFIED", "ORG_UNIT", "GROUP"] ] @typing.type_check_only class GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceField: str sourceFieldValue: str @typing.type_check_only class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: typing.Any description: str @@ -245,7 +227,7 @@ class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription( @typing.type_check_only class GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str fieldDependencies: _list[GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies] @@ -253,7 +235,7 @@ class GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription( @typing.type_check_only class GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acknowledgementRequired: bool field: str @@ -262,73 +244,63 @@ class GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription( @typing.type_check_only class GoogleChromePolicyVersionsV1PolicySchemaRequiredItems( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldConditions: _list[str] requiredFields: _list[str] @typing.type_check_only -class GoogleChromePolicyVersionsV1PolicyTargetKey( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1PolicyTargetKey(typing.TypedDict, total=False): additionalTargetKeys: dict[str, typing.Any] targetResource: str @typing.type_check_only -class GoogleChromePolicyVersionsV1PolicyValue(typing_extensions.TypedDict, total=False): +class GoogleChromePolicyVersionsV1PolicyValue(typing.TypedDict, total=False): policySchema: str value: dict[str, typing.Any] @typing.type_check_only class GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificateReferences: _list[GoogleChromePolicyVersionsV1CertificateReference] @typing.type_check_only class GoogleChromePolicyVersionsV1RemoveCertificateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): networkId: str targetResource: str @typing.type_check_only class GoogleChromePolicyVersionsV1RemoveCertificateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleChromePolicyVersionsV1RemoveNetworkRequest( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1RemoveNetworkRequest(typing.TypedDict, total=False): networkId: str targetResource: str @typing.type_check_only class GoogleChromePolicyVersionsV1RemoveNetworkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleChromePolicyVersionsV1ResolveRequest( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1ResolveRequest(typing.TypedDict, total=False): pageSize: int pageToken: str policySchemaFilter: str policyTargetKey: GoogleChromePolicyVersionsV1PolicyTargetKey @typing.type_check_only -class GoogleChromePolicyVersionsV1ResolveResponse( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1ResolveResponse(typing.TypedDict, total=False): nextPageToken: str resolvedPolicies: _list[GoogleChromePolicyVersionsV1ResolvedPolicy] @typing.type_check_only -class GoogleChromePolicyVersionsV1ResolvedPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleChromePolicyVersionsV1ResolvedPolicy(typing.TypedDict, total=False): addedSourceKey: GoogleChromePolicyVersionsV1PolicyTargetKey sourceKey: GoogleChromePolicyVersionsV1PolicyTargetKey targetKey: GoogleChromePolicyVersionsV1PolicyTargetKey @@ -336,7 +308,7 @@ class GoogleChromePolicyVersionsV1ResolvedPolicy( @typing.type_check_only class GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): groupIds: _list[str] policyNamespace: str @@ -345,23 +317,23 @@ class GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest( @typing.type_check_only class GoogleChromePolicyVersionsV1UploadPolicyFileRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyField: str @typing.type_check_only class GoogleChromePolicyVersionsV1UploadPolicyFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): downloadUri: str @typing.type_check_only class GoogleChromePolicyVersionsV1UploadedFileConstraints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sizeLimitBytes: str supportedContentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "CONTENT_TYPE_PLAIN_TEXT", "CONTENT_TYPE_HTML", @@ -378,50 +350,48 @@ class GoogleChromePolicyVersionsV1UploadedFileConstraints( ] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Proto2DescriptorProto(typing_extensions.TypedDict, total=False): +class Proto2DescriptorProto(typing.TypedDict, total=False): enumType: _list[Proto2EnumDescriptorProto] field: _list[Proto2FieldDescriptorProto] name: str nestedType: _list[Proto2DescriptorProto] oneofDecl: _list[Proto2OneofDescriptorProto] - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSET", "VISIBILITY_LOCAL", "VISIBILITY_EXPORT" ] @typing.type_check_only -class Proto2EnumDescriptorProto(typing_extensions.TypedDict, total=False): +class Proto2EnumDescriptorProto(typing.TypedDict, total=False): name: str value: _list[Proto2EnumValueDescriptorProto] - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSET", "VISIBILITY_LOCAL", "VISIBILITY_EXPORT" ] @typing.type_check_only -class Proto2EnumValueDescriptorProto(typing_extensions.TypedDict, total=False): +class Proto2EnumValueDescriptorProto(typing.TypedDict, total=False): name: str number: int @typing.type_check_only -class Proto2FieldDescriptorProto(typing_extensions.TypedDict, total=False): +class Proto2FieldDescriptorProto(typing.TypedDict, total=False): defaultValue: str jsonName: str - label: typing_extensions.Literal[ - "LABEL_OPTIONAL", "LABEL_REPEATED", "LABEL_REQUIRED" - ] + label: typing.Literal["LABEL_OPTIONAL", "LABEL_REPEATED", "LABEL_REQUIRED"] name: str number: int oneofIndex: int proto3Optional: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_DOUBLE", "TYPE_FLOAT", "TYPE_INT64", @@ -444,7 +414,7 @@ class Proto2FieldDescriptorProto(typing_extensions.TypedDict, total=False): typeName: str @typing.type_check_only -class Proto2FileDescriptorProto(typing_extensions.TypedDict, total=False): +class Proto2FileDescriptorProto(typing.TypedDict, total=False): editionDeprecated: str enumType: _list[Proto2EnumDescriptorProto] messageType: _list[Proto2DescriptorProto] @@ -454,5 +424,5 @@ class Proto2FileDescriptorProto(typing_extensions.TypedDict, total=False): syntax: str @typing.type_check_only -class Proto2OneofDescriptorProto(typing_extensions.TypedDict, total=False): +class Proto2OneofDescriptorProto(typing.TypedDict, total=False): name: str diff --git a/googleapiclient-stubs/_apis/chromeuxreport/v1/resources.pyi b/googleapiclient-stubs/_apis/chromeuxreport/v1/resources.pyi index 0973648ed..06f2da4e5 100644 --- a/googleapiclient-stubs/_apis/chromeuxreport/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromeuxreport/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi index 25abc1c41..370ceca0f 100644 --- a/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromeuxreport/v1/schemas.pyi @@ -1,116 +1,106 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Bin(typing_extensions.TypedDict, total=False): +class Bin(typing.TypedDict, total=False): density: typing.Any end: typing.Any start: typing.Any @typing.type_check_only -class CollectionPeriod(typing_extensions.TypedDict, total=False): +class CollectionPeriod(typing.TypedDict, total=False): firstDate: Date lastDate: Date @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class FractionTimeseries(typing_extensions.TypedDict, total=False): +class FractionTimeseries(typing.TypedDict, total=False): fractions: _list[float] @typing.type_check_only -class HistoryKey(typing_extensions.TypedDict, total=False): - formFactor: typing_extensions.Literal[ - "ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET" - ] +class HistoryKey(typing.TypedDict, total=False): + formFactor: typing.Literal["ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET"] origin: str url: str @typing.type_check_only -class HistoryRecord(typing_extensions.TypedDict, total=False): +class HistoryRecord(typing.TypedDict, total=False): collectionPeriods: _list[CollectionPeriod] key: HistoryKey metrics: dict[str, typing.Any] @typing.type_check_only -class Key(typing_extensions.TypedDict, total=False): +class Key(typing.TypedDict, total=False): effectiveConnectionType: str - formFactor: typing_extensions.Literal[ - "ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET" - ] + formFactor: typing.Literal["ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET"] origin: str url: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): fractions: dict[str, typing.Any] histogram: _list[Bin] percentiles: Percentiles @typing.type_check_only -class MetricTimeseries(typing_extensions.TypedDict, total=False): +class MetricTimeseries(typing.TypedDict, total=False): fractionTimeseries: dict[str, typing.Any] histogramTimeseries: _list[TimeseriesBin] percentilesTimeseries: TimeseriesPercentiles @typing.type_check_only -class Percentiles(typing_extensions.TypedDict, total=False): +class Percentiles(typing.TypedDict, total=False): p75: typing.Any @typing.type_check_only -class QueryHistoryRequest(typing_extensions.TypedDict, total=False): +class QueryHistoryRequest(typing.TypedDict, total=False): collectionPeriodCount: int - formFactor: typing_extensions.Literal[ - "ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET" - ] + formFactor: typing.Literal["ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET"] metrics: _list[str] origin: str url: str @typing.type_check_only -class QueryHistoryResponse(typing_extensions.TypedDict, total=False): +class QueryHistoryResponse(typing.TypedDict, total=False): record: HistoryRecord urlNormalizationDetails: UrlNormalization @typing.type_check_only -class QueryRequest(typing_extensions.TypedDict, total=False): +class QueryRequest(typing.TypedDict, total=False): effectiveConnectionType: str - formFactor: typing_extensions.Literal[ - "ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET" - ] + formFactor: typing.Literal["ALL_FORM_FACTORS", "PHONE", "DESKTOP", "TABLET"] metrics: _list[str] origin: str url: str @typing.type_check_only -class QueryResponse(typing_extensions.TypedDict, total=False): +class QueryResponse(typing.TypedDict, total=False): record: Record urlNormalizationDetails: UrlNormalization @typing.type_check_only -class Record(typing_extensions.TypedDict, total=False): +class Record(typing.TypedDict, total=False): collectionPeriod: CollectionPeriod key: Key metrics: dict[str, typing.Any] @typing.type_check_only -class TimeseriesBin(typing_extensions.TypedDict, total=False): +class TimeseriesBin(typing.TypedDict, total=False): densities: _list[float] end: typing.Any start: typing.Any @typing.type_check_only -class TimeseriesPercentiles(typing_extensions.TypedDict, total=False): +class TimeseriesPercentiles(typing.TypedDict, total=False): p75s: _list[typing.Any] @typing.type_check_only -class UrlNormalization(typing_extensions.TypedDict, total=False): +class UrlNormalization(typing.TypedDict, total=False): normalizedUrl: str originalUrl: str diff --git a/googleapiclient-stubs/_apis/chromewebstore/v1_1/resources.pyi b/googleapiclient-stubs/_apis/chromewebstore/v1_1/resources.pyi index f3f804f73..4964ae3be 100644 --- a/googleapiclient-stubs/_apis/chromewebstore/v1_1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromewebstore/v1_1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -19,7 +18,7 @@ class ChromewebstoreResource(googleapiclient.discovery.Resource): self, *, itemId: str, - projection: typing_extensions.Literal["DRAFT", "PUBLISHED"] | None = ..., + projection: typing.Literal["DRAFT", "PUBLISHED"] | None = ..., **kwargs: typing.Any, ) -> ItemHttpRequest: ... def insert( diff --git a/googleapiclient-stubs/_apis/chromewebstore/v1_1/schemas.pyi b/googleapiclient-stubs/_apis/chromewebstore/v1_1/schemas.pyi index b4a3b6724..4c13c8d96 100644 --- a/googleapiclient-stubs/_apis/chromewebstore/v1_1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromewebstore/v1_1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Item(typing_extensions.TypedDict, total=False): +class Item(typing.TypedDict, total=False): crxVersion: str id: str itemError: _list[ItemError] @@ -14,19 +12,19 @@ class Item(typing_extensions.TypedDict, total=False): uploadState: str @typing.type_check_only -class Item2(typing_extensions.TypedDict, total=False): +class Item2(typing.TypedDict, total=False): item_id: str kind: str status: _list[str] statusDetail: _list[str] @typing.type_check_only -class ItemError(typing_extensions.TypedDict, total=False): +class ItemError(typing.TypedDict, total=False): error_code: str error_detail: str @typing.type_check_only -class PublishRequest(typing_extensions.TypedDict, total=False): +class PublishRequest(typing.TypedDict, total=False): deployPercentage: int reviewExemption: bool target: str diff --git a/googleapiclient-stubs/_apis/chromewebstore/v2/resources.pyi b/googleapiclient-stubs/_apis/chromewebstore/v2/resources.pyi index af7c43594..ea1814ca7 100644 --- a/googleapiclient-stubs/_apis/chromewebstore/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/chromewebstore/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/chromewebstore/v2/schemas.pyi b/googleapiclient-stubs/_apis/chromewebstore/v2/schemas.pyi index f8429c175..d8aaff7b3 100644 --- a/googleapiclient-stubs/_apis/chromewebstore/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromewebstore/v2/schemas.pyi @@ -1,28 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelSubmissionRequest(typing_extensions.TypedDict, total=False): ... +class CancelSubmissionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelSubmissionResponse(typing_extensions.TypedDict, total=False): ... +class CancelSubmissionResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class DeployInfo(typing_extensions.TypedDict, total=False): +class DeployInfo(typing.TypedDict, total=False): deployPercentage: int @typing.type_check_only -class DistributionChannel(typing_extensions.TypedDict, total=False): +class DistributionChannel(typing.TypedDict, total=False): crxVersion: str deployPercentage: int @typing.type_check_only -class FetchItemStatusResponse(typing_extensions.TypedDict, total=False): +class FetchItemStatusResponse(typing.TypedDict, total=False): itemId: str - lastAsyncUploadState: typing_extensions.Literal[ + lastAsyncUploadState: typing.Literal[ "UPLOAD_STATE_UNSPECIFIED", "SUCCEEDED", "IN_PROGRESS", "FAILED", "NOT_FOUND" ] name: str @@ -33,9 +31,9 @@ class FetchItemStatusResponse(typing_extensions.TypedDict, total=False): warned: bool @typing.type_check_only -class ItemRevisionStatus(typing_extensions.TypedDict, total=False): +class ItemRevisionStatus(typing.TypedDict, total=False): distributionChannels: _list[DistributionChannel] - state: typing_extensions.Literal[ + state: typing.Literal[ "ITEM_STATE_UNSPECIFIED", "PENDING_REVIEW", "STAGED", @@ -46,19 +44,19 @@ class ItemRevisionStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PublishItemRequest(typing_extensions.TypedDict, total=False): +class PublishItemRequest(typing.TypedDict, total=False): blockOnWarnings: bool deployInfos: _list[DeployInfo] - publishType: typing_extensions.Literal[ + publishType: typing.Literal[ "PUBLISH_TYPE_UNSPECIFIED", "DEFAULT_PUBLISH", "STAGED_PUBLISH" ] skipReview: bool @typing.type_check_only -class PublishItemResponse(typing_extensions.TypedDict, total=False): +class PublishItemResponse(typing.TypedDict, total=False): itemId: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ITEM_STATE_UNSPECIFIED", "PENDING_REVIEW", "STAGED", @@ -70,31 +68,29 @@ class PublishItemResponse(typing_extensions.TypedDict, total=False): warningInfo: WarningsInfo @typing.type_check_only -class SetPublishedDeployPercentageRequest(typing_extensions.TypedDict, total=False): +class SetPublishedDeployPercentageRequest(typing.TypedDict, total=False): deployPercentage: int @typing.type_check_only -class SetPublishedDeployPercentageResponse( - typing_extensions.TypedDict, total=False -): ... +class SetPublishedDeployPercentageResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadItemPackageRequest(typing_extensions.TypedDict, total=False): ... +class UploadItemPackageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadItemPackageResponse(typing_extensions.TypedDict, total=False): +class UploadItemPackageResponse(typing.TypedDict, total=False): crxVersion: str itemId: str name: str - uploadState: typing_extensions.Literal[ + uploadState: typing.Literal[ "UPLOAD_STATE_UNSPECIFIED", "SUCCEEDED", "IN_PROGRESS", "FAILED", "NOT_FOUND" ] @typing.type_check_only -class Warning(typing_extensions.TypedDict, total=False): +class Warning(typing.TypedDict, total=False): description: str reason: str @typing.type_check_only -class WarningsInfo(typing_extensions.TypedDict, total=False): +class WarningsInfo(typing.TypedDict, total=False): warnings: _list[Warning] diff --git a/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi b/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi index ecaa3decc..f59b0e819 100644 --- a/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/civicinfo/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi b/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi index fb36511ca..8d426f3d8 100644 --- a/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/civicinfo/v2/schemas.pyi @@ -1,40 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CivicinfoApiprotosV2DivisionByAddressResponse( - typing_extensions.TypedDict, total=False -): +class CivicinfoApiprotosV2DivisionByAddressResponse(typing.TypedDict, total=False): divisions: dict[str, typing.Any] normalizedInput: CivicinfoSchemaV2SimpleAddressType @typing.type_check_only -class CivicinfoApiprotosV2DivisionSearchResponse( - typing_extensions.TypedDict, total=False -): +class CivicinfoApiprotosV2DivisionSearchResponse(typing.TypedDict, total=False): kind: str results: _list[CivicinfoApiprotosV2DivisionSearchResult] @typing.type_check_only -class CivicinfoApiprotosV2DivisionSearchResult( - typing_extensions.TypedDict, total=False -): +class CivicinfoApiprotosV2DivisionSearchResult(typing.TypedDict, total=False): aliases: _list[str] name: str ocdId: str @typing.type_check_only -class CivicinfoApiprotosV2ElectionsQueryResponse( - typing_extensions.TypedDict, total=False -): +class CivicinfoApiprotosV2ElectionsQueryResponse(typing.TypedDict, total=False): elections: _list[CivicinfoSchemaV2Election] kind: str @typing.type_check_only -class CivicinfoApiprotosV2VoterInfoResponse(typing_extensions.TypedDict, total=False): +class CivicinfoApiprotosV2VoterInfoResponse(typing.TypedDict, total=False): contests: _list[CivicinfoSchemaV2Contest] dropOffLocations: _list[CivicinfoSchemaV2PollingLocation] earlyVoteSites: _list[CivicinfoSchemaV2PollingLocation] @@ -49,14 +39,14 @@ class CivicinfoApiprotosV2VoterInfoResponse(typing_extensions.TypedDict, total=F state: _list[CivicinfoSchemaV2AdministrationRegion] @typing.type_check_only -class CivicinfoSchemaV2AdministrationRegion(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2AdministrationRegion(typing.TypedDict, total=False): electionAdministrationBody: CivicinfoSchemaV2AdministrativeBody local_jurisdiction: CivicinfoSchemaV2AdministrationRegion name: str sources: _list[CivicinfoSchemaV2Source] @typing.type_check_only -class CivicinfoSchemaV2AdministrativeBody(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2AdministrativeBody(typing.TypedDict, total=False): absenteeVotingInfoUrl: str ballotInfoUrl: str correspondenceAddress: CivicinfoSchemaV2SimpleAddressType @@ -74,7 +64,7 @@ class CivicinfoSchemaV2AdministrativeBody(typing_extensions.TypedDict, total=Fal votingLocationFinderUrl: str @typing.type_check_only -class CivicinfoSchemaV2Candidate(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Candidate(typing.TypedDict, total=False): candidateUrl: str channels: _list[CivicinfoSchemaV2Channel] email: str @@ -85,19 +75,19 @@ class CivicinfoSchemaV2Candidate(typing_extensions.TypedDict, total=False): photoUrl: str @typing.type_check_only -class CivicinfoSchemaV2Channel(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Channel(typing.TypedDict, total=False): id: str type: str @typing.type_check_only -class CivicinfoSchemaV2Contest(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Contest(typing.TypedDict, total=False): ballotPlacement: str ballotTitle: str candidates: _list[CivicinfoSchemaV2Candidate] district: CivicinfoSchemaV2ElectoralDistrict electorateSpecifications: str level: _list[ - typing_extensions.Literal[ + typing.Literal[ "international", "country", "administrativeArea1", @@ -124,7 +114,7 @@ class CivicinfoSchemaV2Contest(typing_extensions.TypedDict, total=False): referendumTitle: str referendumUrl: str roles: _list[ - typing_extensions.Literal[ + typing.Literal[ "headOfState", "headOfGovernment", "deputyHeadOfGovernment", @@ -144,17 +134,17 @@ class CivicinfoSchemaV2Contest(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class CivicinfoSchemaV2Election(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Election(typing.TypedDict, total=False): electionDay: str id: str name: str ocdDivisionId: str - shapeLookupBehavior: typing_extensions.Literal[ + shapeLookupBehavior: typing.Literal[ "shapeLookupDefault", "shapeLookupDisabled", "shapeLookupEnabled" ] @typing.type_check_only -class CivicinfoSchemaV2ElectionOfficial(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2ElectionOfficial(typing.TypedDict, total=False): emailAddress: str faxNumber: str name: str @@ -162,10 +152,10 @@ class CivicinfoSchemaV2ElectionOfficial(typing_extensions.TypedDict, total=False title: str @typing.type_check_only -class CivicinfoSchemaV2ElectoralDistrict(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2ElectoralDistrict(typing.TypedDict, total=False): id: str name: str - scope: typing_extensions.Literal[ + scope: typing.Literal[ "statewide", "congressional", "stateUpper", @@ -183,13 +173,13 @@ class CivicinfoSchemaV2ElectoralDistrict(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class CivicinfoSchemaV2GeographicDivision(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2GeographicDivision(typing.TypedDict, total=False): alsoKnownAs: _list[str] name: str officeIndices: _list[int] @typing.type_check_only -class CivicinfoSchemaV2PollingLocation(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2PollingLocation(typing.TypedDict, total=False): address: CivicinfoSchemaV2SimpleAddressType endDate: str latitude: float @@ -202,7 +192,7 @@ class CivicinfoSchemaV2PollingLocation(typing_extensions.TypedDict, total=False) voterServices: str @typing.type_check_only -class CivicinfoSchemaV2Precinct(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Precinct(typing.TypedDict, total=False): administrationRegionId: str contestId: _list[str] datasetId: str @@ -219,7 +209,7 @@ class CivicinfoSchemaV2Precinct(typing_extensions.TypedDict, total=False): ward: str @typing.type_check_only -class CivicinfoSchemaV2SimpleAddressType(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2SimpleAddressType(typing.TypedDict, total=False): addressLine: _list[str] city: str line1: str @@ -230,6 +220,6 @@ class CivicinfoSchemaV2SimpleAddressType(typing_extensions.TypedDict, total=Fals zip: str @typing.type_check_only -class CivicinfoSchemaV2Source(typing_extensions.TypedDict, total=False): +class CivicinfoSchemaV2Source(typing.TypedDict, total=False): name: str official: bool diff --git a/googleapiclient-stubs/_apis/classroom/v1/resources.pyi b/googleapiclient-stubs/_apis/classroom/v1/resources.pyi index 4393c2cee..d8a23b6a7 100644 --- a/googleapiclient-stubs/_apis/classroom/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/classroom/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -119,11 +118,11 @@ class ClassroomResource(googleapiclient.discovery.Resource): self, *, courseId: str, - announcementStates: typing_extensions.Literal[ + announcementStates: typing.Literal[ "ANNOUNCEMENT_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", "DELETED" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "ANNOUNCEMENT_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", @@ -311,13 +310,13 @@ class ClassroomResource(googleapiclient.discovery.Resource): *, courseId: str, courseWorkId: str, - late: typing_extensions.Literal[ + late: typing.Literal[ "LATE_VALUES_UNSPECIFIED", "LATE_ONLY", "NOT_LATE_ONLY" ] | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - states: typing_extensions.Literal[ + states: typing.Literal[ "SUBMISSION_STATE_UNSPECIFIED", "NEW", "CREATED", @@ -326,7 +325,7 @@ class ClassroomResource(googleapiclient.discovery.Resource): "RECLAIMED_BY_STUDENT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "SUBMISSION_STATE_UNSPECIFIED", "NEW", "CREATED", @@ -414,11 +413,11 @@ class ClassroomResource(googleapiclient.discovery.Resource): self, *, courseId: str, - courseWorkStates: typing_extensions.Literal[ + courseWorkStates: typing.Literal[ "COURSE_WORK_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", "DELETED" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "COURSE_WORK_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", "DELETED" ] ] @@ -546,14 +545,14 @@ class ClassroomResource(googleapiclient.discovery.Resource): self, *, courseId: str, - courseWorkMaterialStates: typing_extensions.Literal[ + courseWorkMaterialStates: typing.Literal[ "COURSEWORK_MATERIAL_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", "DELETED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "COURSEWORK_MATERIAL_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", @@ -846,7 +845,7 @@ class ClassroomResource(googleapiclient.discovery.Resource): def list( self, *, - courseStates: typing_extensions.Literal[ + courseStates: typing.Literal[ "COURSE_STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", @@ -855,7 +854,7 @@ class ClassroomResource(googleapiclient.discovery.Resource): "SUSPENDED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "COURSE_STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", @@ -954,11 +953,11 @@ class ClassroomResource(googleapiclient.discovery.Resource): invitedEmailAddress: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - states: typing_extensions.Literal[ + states: typing.Literal[ "GUARDIAN_INVITATION_STATE_UNSPECIFIED", "PENDING", "COMPLETE" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "GUARDIAN_INVITATION_STATE_UNSPECIFIED", "PENDING", "COMPLETE" ] ] diff --git a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi index 0047a61a0..d8d92fd1c 100644 --- a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddOnAttachment(typing_extensions.TypedDict, total=False): +class AddOnAttachment(typing.TypedDict, total=False): copyHistory: _list[CopyHistory] courseId: str dueDate: Date @@ -20,11 +18,11 @@ class AddOnAttachment(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AddOnAttachmentStudentSubmission(typing_extensions.TypedDict, total=False): +class AddOnAttachmentStudentSubmission(typing.TypedDict, total=False): courseWorkSubmissionId: str id: str pointsEarned: float - postSubmissionState: typing_extensions.Literal[ + postSubmissionState: typing.Literal[ "SUBMISSION_STATE_UNSPECIFIED", "NEW", "CREATED", @@ -35,7 +33,7 @@ class AddOnAttachmentStudentSubmission(typing_extensions.TypedDict, total=False) userId: str @typing.type_check_only -class AddOnContext(typing_extensions.TypedDict, total=False): +class AddOnContext(typing.TypedDict, total=False): courseId: str itemId: str postId: str @@ -44,9 +42,9 @@ class AddOnContext(typing_extensions.TypedDict, total=False): teacherContext: TeacherContext @typing.type_check_only -class Announcement(typing_extensions.TypedDict, total=False): +class Announcement(typing.TypedDict, total=False): alternateLink: str - assigneeMode: typing_extensions.Literal[ + assigneeMode: typing.Literal[ "ASSIGNEE_MODE_UNSPECIFIED", "ALL_STUDENTS", "INDIVIDUAL_STUDENTS" ] courseId: str @@ -56,45 +54,45 @@ class Announcement(typing_extensions.TypedDict, total=False): individualStudentsOptions: IndividualStudentsOptions materials: _list[Material] scheduledTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ANNOUNCEMENT_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", "DELETED" ] text: str updateTime: str @typing.type_check_only -class Assignment(typing_extensions.TypedDict, total=False): +class Assignment(typing.TypedDict, total=False): studentWorkFolder: DriveFolder @typing.type_check_only -class AssignmentSubmission(typing_extensions.TypedDict, total=False): +class AssignmentSubmission(typing.TypedDict, total=False): attachments: _list[Attachment] @typing.type_check_only -class Attachment(typing_extensions.TypedDict, total=False): +class Attachment(typing.TypedDict, total=False): driveFile: DriveFile form: Form link: Link youTubeVideo: YouTubeVideo @typing.type_check_only -class CloudPubsubTopic(typing_extensions.TypedDict, total=False): +class CloudPubsubTopic(typing.TypedDict, total=False): topicName: str @typing.type_check_only -class CopyHistory(typing_extensions.TypedDict, total=False): +class CopyHistory(typing.TypedDict, total=False): attachmentId: str courseId: str itemId: str postId: str @typing.type_check_only -class Course(typing_extensions.TypedDict, total=False): +class Course(typing.TypedDict, total=False): alternateLink: str calendarId: str courseGroupEmail: str courseMaterialSets: _list[CourseMaterialSet] - courseState: typing_extensions.Literal[ + courseState: typing.Literal[ "COURSE_STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", @@ -120,29 +118,29 @@ class Course(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CourseAlias(typing_extensions.TypedDict, total=False): +class CourseAlias(typing.TypedDict, total=False): alias: str @typing.type_check_only -class CourseMaterial(typing_extensions.TypedDict, total=False): +class CourseMaterial(typing.TypedDict, total=False): driveFile: DriveFile form: Form link: Link youTubeVideo: YouTubeVideo @typing.type_check_only -class CourseMaterialSet(typing_extensions.TypedDict, total=False): +class CourseMaterialSet(typing.TypedDict, total=False): materials: _list[CourseMaterial] title: str @typing.type_check_only -class CourseRosterChangesInfo(typing_extensions.TypedDict, total=False): +class CourseRosterChangesInfo(typing.TypedDict, total=False): courseId: str @typing.type_check_only -class CourseWork(typing_extensions.TypedDict, total=False): +class CourseWork(typing.TypedDict, total=False): alternateLink: str - assigneeMode: typing_extensions.Literal[ + assigneeMode: typing.Literal[ "ASSIGNEE_MODE_UNSPECIFIED", "ALL_STUDENTS", "INDIVIDUAL_STUDENTS" ] assignment: Assignment @@ -161,10 +159,10 @@ class CourseWork(typing_extensions.TypedDict, total=False): maxPoints: float multipleChoiceQuestion: MultipleChoiceQuestion scheduledTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "COURSE_WORK_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", "DELETED" ] - submissionModificationMode: typing_extensions.Literal[ + submissionModificationMode: typing.Literal[ "SUBMISSION_MODIFICATION_MODE_UNSPECIFIED", "MODIFIABLE_UNTIL_TURNED_IN", "MODIFIABLE", @@ -172,7 +170,7 @@ class CourseWork(typing_extensions.TypedDict, total=False): title: str topicId: str updateTime: str - workType: typing_extensions.Literal[ + workType: typing.Literal[ "COURSE_WORK_TYPE_UNSPECIFIED", "ASSIGNMENT", "SHORT_ANSWER_QUESTION", @@ -180,13 +178,13 @@ class CourseWork(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CourseWorkChangesInfo(typing_extensions.TypedDict, total=False): +class CourseWorkChangesInfo(typing.TypedDict, total=False): courseId: str @typing.type_check_only -class CourseWorkMaterial(typing_extensions.TypedDict, total=False): +class CourseWorkMaterial(typing.TypedDict, total=False): alternateLink: str - assigneeMode: typing_extensions.Literal[ + assigneeMode: typing.Literal[ "ASSIGNEE_MODE_UNSPECIFIED", "ALL_STUDENTS", "INDIVIDUAL_STUDENTS" ] courseId: str @@ -197,7 +195,7 @@ class CourseWorkMaterial(typing_extensions.TypedDict, total=False): individualStudentsOptions: IndividualStudentsOptions materials: _list[Material] scheduledTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "COURSEWORK_MATERIAL_STATE_UNSPECIFIED", "PUBLISHED", "DRAFT", "DELETED" ] title: str @@ -205,43 +203,43 @@ class CourseWorkMaterial(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Criterion(typing_extensions.TypedDict, total=False): +class Criterion(typing.TypedDict, total=False): description: str id: str levels: _list[Level] title: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DriveFile(typing_extensions.TypedDict, total=False): +class DriveFile(typing.TypedDict, total=False): alternateLink: str id: str thumbnailUrl: str title: str @typing.type_check_only -class DriveFolder(typing_extensions.TypedDict, total=False): +class DriveFolder(typing.TypedDict, total=False): alternateLink: str id: str title: str @typing.type_check_only -class EmbedUri(typing_extensions.TypedDict, total=False): +class EmbedUri(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Feed(typing_extensions.TypedDict, total=False): +class Feed(typing.TypedDict, total=False): courseRosterChangesInfo: CourseRosterChangesInfo courseWorkChangesInfo: CourseWorkChangesInfo - feedType: typing_extensions.Literal[ + feedType: typing.Literal[ "FEED_TYPE_UNSPECIFIED", "DOMAIN_ROSTER_CHANGES", "COURSE_ROSTER_CHANGES", @@ -249,33 +247,33 @@ class Feed(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Form(typing_extensions.TypedDict, total=False): +class Form(typing.TypedDict, total=False): formUrl: str responseUrl: str thumbnailUrl: str title: str @typing.type_check_only -class GeminiGem(typing_extensions.TypedDict, total=False): +class GeminiGem(typing.TypedDict, total=False): id: str title: str url: str @typing.type_check_only -class GlobalPermission(typing_extensions.TypedDict, total=False): - permission: typing_extensions.Literal["PERMISSION_UNSPECIFIED", "CREATE_COURSE"] +class GlobalPermission(typing.TypedDict, total=False): + permission: typing.Literal["PERMISSION_UNSPECIFIED", "CREATE_COURSE"] @typing.type_check_only -class GradeCategory(typing_extensions.TypedDict, total=False): +class GradeCategory(typing.TypedDict, total=False): defaultGradeDenominator: int id: str name: str weight: int @typing.type_check_only -class GradeHistory(typing_extensions.TypedDict, total=False): +class GradeHistory(typing.TypedDict, total=False): actorUserId: str - gradeChangeType: typing_extensions.Literal[ + gradeChangeType: typing.Literal[ "UNKNOWN_GRADE_CHANGE_TYPE", "DRAFT_GRADE_POINTS_EARNED_CHANGE", "ASSIGNED_GRADE_POINTS_EARNED_CHANGE", @@ -286,11 +284,11 @@ class GradeHistory(typing_extensions.TypedDict, total=False): pointsEarned: float @typing.type_check_only -class GradebookSettings(typing_extensions.TypedDict, total=False): - calculationType: typing_extensions.Literal[ +class GradebookSettings(typing.TypedDict, total=False): + calculationType: typing.Literal[ "CALCULATION_TYPE_UNSPECIFIED", "TOTAL_POINTS", "WEIGHTED_CATEGORIES" ] - displaySetting: typing_extensions.Literal[ + displaySetting: typing.Literal[ "DISPLAY_SETTING_UNSPECIFIED", "SHOW_OVERALL_GRADE", "HIDE_OVERALL_GRADE", @@ -299,142 +297,140 @@ class GradebookSettings(typing_extensions.TypedDict, total=False): gradeCategories: _list[GradeCategory] @typing.type_check_only -class GradingPeriod(typing_extensions.TypedDict, total=False): +class GradingPeriod(typing.TypedDict, total=False): endDate: Date id: str startDate: Date title: str @typing.type_check_only -class GradingPeriodSettings(typing_extensions.TypedDict, total=False): +class GradingPeriodSettings(typing.TypedDict, total=False): applyToExistingCoursework: bool gradingPeriods: _list[GradingPeriod] @typing.type_check_only -class Guardian(typing_extensions.TypedDict, total=False): +class Guardian(typing.TypedDict, total=False): guardianId: str guardianProfile: UserProfile invitedEmailAddress: str studentId: str @typing.type_check_only -class GuardianInvitation(typing_extensions.TypedDict, total=False): +class GuardianInvitation(typing.TypedDict, total=False): creationTime: str invitationId: str invitedEmailAddress: str - state: typing_extensions.Literal[ + state: typing.Literal[ "GUARDIAN_INVITATION_STATE_UNSPECIFIED", "PENDING", "COMPLETE" ] studentId: str @typing.type_check_only -class IndividualStudentsOptions(typing_extensions.TypedDict, total=False): +class IndividualStudentsOptions(typing.TypedDict, total=False): studentIds: _list[str] @typing.type_check_only -class Invitation(typing_extensions.TypedDict, total=False): +class Invitation(typing.TypedDict, total=False): courseId: str id: str - role: typing_extensions.Literal[ - "COURSE_ROLE_UNSPECIFIED", "STUDENT", "TEACHER", "OWNER" - ] + role: typing.Literal["COURSE_ROLE_UNSPECIFIED", "STUDENT", "TEACHER", "OWNER"] userId: str @typing.type_check_only -class Level(typing_extensions.TypedDict, total=False): +class Level(typing.TypedDict, total=False): description: str id: str points: float title: str @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): thumbnailUrl: str title: str url: str @typing.type_check_only -class ListAddOnAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListAddOnAttachmentsResponse(typing.TypedDict, total=False): addOnAttachments: _list[AddOnAttachment] nextPageToken: str @typing.type_check_only -class ListAnnouncementsResponse(typing_extensions.TypedDict, total=False): +class ListAnnouncementsResponse(typing.TypedDict, total=False): announcements: _list[Announcement] nextPageToken: str @typing.type_check_only -class ListCourseAliasesResponse(typing_extensions.TypedDict, total=False): +class ListCourseAliasesResponse(typing.TypedDict, total=False): aliases: _list[CourseAlias] nextPageToken: str @typing.type_check_only -class ListCourseWorkMaterialResponse(typing_extensions.TypedDict, total=False): +class ListCourseWorkMaterialResponse(typing.TypedDict, total=False): courseWorkMaterial: _list[CourseWorkMaterial] nextPageToken: str @typing.type_check_only -class ListCourseWorkResponse(typing_extensions.TypedDict, total=False): +class ListCourseWorkResponse(typing.TypedDict, total=False): courseWork: _list[CourseWork] nextPageToken: str @typing.type_check_only -class ListCoursesResponse(typing_extensions.TypedDict, total=False): +class ListCoursesResponse(typing.TypedDict, total=False): courses: _list[Course] nextPageToken: str @typing.type_check_only -class ListGuardianInvitationsResponse(typing_extensions.TypedDict, total=False): +class ListGuardianInvitationsResponse(typing.TypedDict, total=False): guardianInvitations: _list[GuardianInvitation] nextPageToken: str @typing.type_check_only -class ListGuardiansResponse(typing_extensions.TypedDict, total=False): +class ListGuardiansResponse(typing.TypedDict, total=False): guardians: _list[Guardian] nextPageToken: str @typing.type_check_only -class ListInvitationsResponse(typing_extensions.TypedDict, total=False): +class ListInvitationsResponse(typing.TypedDict, total=False): invitations: _list[Invitation] nextPageToken: str @typing.type_check_only -class ListRubricsResponse(typing_extensions.TypedDict, total=False): +class ListRubricsResponse(typing.TypedDict, total=False): nextPageToken: str rubrics: _list[Rubric] @typing.type_check_only -class ListStudentGroupMembersResponse(typing_extensions.TypedDict, total=False): +class ListStudentGroupMembersResponse(typing.TypedDict, total=False): nextPageToken: str studentGroupMembers: _list[StudentGroupMember] @typing.type_check_only -class ListStudentGroupsResponse(typing_extensions.TypedDict, total=False): +class ListStudentGroupsResponse(typing.TypedDict, total=False): nextPageToken: str studentGroups: _list[StudentGroup] @typing.type_check_only -class ListStudentSubmissionsResponse(typing_extensions.TypedDict, total=False): +class ListStudentSubmissionsResponse(typing.TypedDict, total=False): nextPageToken: str studentSubmissions: _list[StudentSubmission] @typing.type_check_only -class ListStudentsResponse(typing_extensions.TypedDict, total=False): +class ListStudentsResponse(typing.TypedDict, total=False): nextPageToken: str students: _list[Student] @typing.type_check_only -class ListTeachersResponse(typing_extensions.TypedDict, total=False): +class ListTeachersResponse(typing.TypedDict, total=False): nextPageToken: str teachers: _list[Teacher] @typing.type_check_only -class ListTopicResponse(typing_extensions.TypedDict, total=False): +class ListTopicResponse(typing.TypedDict, total=False): nextPageToken: str topic: _list[Topic] @typing.type_check_only -class Material(typing_extensions.TypedDict, total=False): +class Material(typing.TypedDict, total=False): driveFile: SharedDriveFile form: Form gem: GeminiGem @@ -443,63 +439,63 @@ class Material(typing_extensions.TypedDict, total=False): youtubeVideo: YouTubeVideo @typing.type_check_only -class ModifyAnnouncementAssigneesRequest(typing_extensions.TypedDict, total=False): - assigneeMode: typing_extensions.Literal[ +class ModifyAnnouncementAssigneesRequest(typing.TypedDict, total=False): + assigneeMode: typing.Literal[ "ASSIGNEE_MODE_UNSPECIFIED", "ALL_STUDENTS", "INDIVIDUAL_STUDENTS" ] modifyIndividualStudentsOptions: ModifyIndividualStudentsOptions @typing.type_check_only -class ModifyAttachmentsRequest(typing_extensions.TypedDict, total=False): +class ModifyAttachmentsRequest(typing.TypedDict, total=False): addAttachments: _list[Attachment] @typing.type_check_only -class ModifyCourseWorkAssigneesRequest(typing_extensions.TypedDict, total=False): - assigneeMode: typing_extensions.Literal[ +class ModifyCourseWorkAssigneesRequest(typing.TypedDict, total=False): + assigneeMode: typing.Literal[ "ASSIGNEE_MODE_UNSPECIFIED", "ALL_STUDENTS", "INDIVIDUAL_STUDENTS" ] modifyIndividualStudentsOptions: ModifyIndividualStudentsOptions @typing.type_check_only -class ModifyIndividualStudentsOptions(typing_extensions.TypedDict, total=False): +class ModifyIndividualStudentsOptions(typing.TypedDict, total=False): addStudentIds: _list[str] removeStudentIds: _list[str] @typing.type_check_only -class MultipleChoiceQuestion(typing_extensions.TypedDict, total=False): +class MultipleChoiceQuestion(typing.TypedDict, total=False): choices: _list[str] @typing.type_check_only -class MultipleChoiceSubmission(typing_extensions.TypedDict, total=False): +class MultipleChoiceSubmission(typing.TypedDict, total=False): answer: str @typing.type_check_only -class Name(typing_extensions.TypedDict, total=False): +class Name(typing.TypedDict, total=False): familyName: str fullName: str givenName: str @typing.type_check_only -class NotebookLmNotebook(typing_extensions.TypedDict, total=False): +class NotebookLmNotebook(typing.TypedDict, total=False): id: str title: str url: str @typing.type_check_only -class ReclaimStudentSubmissionRequest(typing_extensions.TypedDict, total=False): ... +class ReclaimStudentSubmissionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Registration(typing_extensions.TypedDict, total=False): +class Registration(typing.TypedDict, total=False): cloudPubsubTopic: CloudPubsubTopic expiryTime: str feed: Feed registrationId: str @typing.type_check_only -class ReturnStudentSubmissionRequest(typing_extensions.TypedDict, total=False): ... +class ReturnStudentSubmissionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Rubric(typing_extensions.TypedDict, total=False): +class Rubric(typing.TypedDict, total=False): courseId: str courseWorkId: str creationTime: str @@ -509,26 +505,24 @@ class Rubric(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RubricGrade(typing_extensions.TypedDict, total=False): +class RubricGrade(typing.TypedDict, total=False): criterionId: str levelId: str points: float @typing.type_check_only -class SharedDriveFile(typing_extensions.TypedDict, total=False): +class SharedDriveFile(typing.TypedDict, total=False): driveFile: DriveFile - shareMode: typing_extensions.Literal[ - "UNKNOWN_SHARE_MODE", "VIEW", "EDIT", "STUDENT_COPY" - ] + shareMode: typing.Literal["UNKNOWN_SHARE_MODE", "VIEW", "EDIT", "STUDENT_COPY"] @typing.type_check_only -class ShortAnswerSubmission(typing_extensions.TypedDict, total=False): +class ShortAnswerSubmission(typing.TypedDict, total=False): answer: str @typing.type_check_only -class StateHistory(typing_extensions.TypedDict, total=False): +class StateHistory(typing.TypedDict, total=False): actorUserId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "TURNED_IN", @@ -539,30 +533,30 @@ class StateHistory(typing_extensions.TypedDict, total=False): stateTimestamp: str @typing.type_check_only -class Student(typing_extensions.TypedDict, total=False): +class Student(typing.TypedDict, total=False): courseId: str profile: UserProfile studentWorkFolder: DriveFolder userId: str @typing.type_check_only -class StudentContext(typing_extensions.TypedDict, total=False): +class StudentContext(typing.TypedDict, total=False): submissionId: str @typing.type_check_only -class StudentGroup(typing_extensions.TypedDict, total=False): +class StudentGroup(typing.TypedDict, total=False): courseId: str id: str title: str @typing.type_check_only -class StudentGroupMember(typing_extensions.TypedDict, total=False): +class StudentGroupMember(typing.TypedDict, total=False): courseId: str studentGroupId: str userId: str @typing.type_check_only -class StudentSubmission(typing_extensions.TypedDict, total=False): +class StudentSubmission(typing.TypedDict, total=False): alternateLink: str assignedGrade: float assignedRubricGrades: dict[str, typing.Any] @@ -570,7 +564,7 @@ class StudentSubmission(typing_extensions.TypedDict, total=False): associatedWithDeveloper: bool courseId: str courseWorkId: str - courseWorkType: typing_extensions.Literal[ + courseWorkType: typing.Literal[ "COURSE_WORK_TYPE_UNSPECIFIED", "ASSIGNMENT", "SHORT_ANSWER_QUESTION", @@ -583,7 +577,7 @@ class StudentSubmission(typing_extensions.TypedDict, total=False): late: bool multipleChoiceSubmission: MultipleChoiceSubmission shortAnswerSubmission: ShortAnswerSubmission - state: typing_extensions.Literal[ + state: typing.Literal[ "SUBMISSION_STATE_UNSPECIFIED", "NEW", "CREATED", @@ -596,38 +590,38 @@ class StudentSubmission(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class SubmissionHistory(typing_extensions.TypedDict, total=False): +class SubmissionHistory(typing.TypedDict, total=False): gradeHistory: GradeHistory stateHistory: StateHistory @typing.type_check_only -class Teacher(typing_extensions.TypedDict, total=False): +class Teacher(typing.TypedDict, total=False): courseId: str profile: UserProfile userId: str @typing.type_check_only -class TeacherContext(typing_extensions.TypedDict, total=False): ... +class TeacherContext(typing.TypedDict, total=False): ... @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): courseId: str name: str topicId: str updateTime: str @typing.type_check_only -class TurnInStudentSubmissionRequest(typing_extensions.TypedDict, total=False): ... +class TurnInStudentSubmissionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UserProfile(typing_extensions.TypedDict, total=False): +class UserProfile(typing.TypedDict, total=False): emailAddress: str id: str name: Name @@ -636,7 +630,7 @@ class UserProfile(typing_extensions.TypedDict, total=False): verifiedTeacher: bool @typing.type_check_only -class YouTubeVideo(typing_extensions.TypedDict, total=False): +class YouTubeVideo(typing.TypedDict, total=False): alternateLink: str id: str thumbnailUrl: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudasset/v1/resources.pyi index 345b497bb..ce7ff1963 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -20,7 +19,7 @@ class CloudAssetResource(googleapiclient.discovery.Resource): *, parent: str, assetTypes: str | _list[str] | None = ..., - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY", @@ -138,9 +137,7 @@ class CloudAssetResource(googleapiclient.discovery.Resource): *, resource: str, destinationParent: str | None = ..., - view: typing_extensions.Literal[ - "ANALYSIS_VIEW_UNSPECIFIED", "FULL", "BASIC" - ] + view: typing.Literal["ANALYSIS_VIEW_UNSPECIFIED", "FULL", "BASIC"] | None = ..., **kwargs: typing.Any, ) -> AnalyzeMoveResponseHttpRequest: ... @@ -194,7 +191,7 @@ class CloudAssetResource(googleapiclient.discovery.Resource): *, parent: str, assetNames: str | _list[str] | None = ..., - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY", diff --git a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi index f3e37f274..2d15c9af0 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi @@ -1,45 +1,43 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessSelector(typing_extensions.TypedDict, total=False): +class AccessSelector(typing.TypedDict, total=False): permissions: _list[str] roles: _list[str] @typing.type_check_only -class AnalyzeIamPolicyLongrunningMetadata(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyLongrunningMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class AnalyzeIamPolicyLongrunningRequest(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyLongrunningRequest(typing.TypedDict, total=False): analysisQuery: IamPolicyAnalysisQuery outputConfig: IamPolicyAnalysisOutputConfig savedAnalysisQuery: str @typing.type_check_only -class AnalyzeIamPolicyLongrunningResponse(typing_extensions.TypedDict, total=False): ... +class AnalyzeIamPolicyLongrunningResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AnalyzeIamPolicyResponse(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyResponse(typing.TypedDict, total=False): fullyExplored: bool mainAnalysis: IamPolicyAnalysis serviceAccountImpersonationAnalysis: _list[IamPolicyAnalysis] @typing.type_check_only -class AnalyzeMoveResponse(typing_extensions.TypedDict, total=False): +class AnalyzeMoveResponse(typing.TypedDict, total=False): moveAnalysis: _list[MoveAnalysis] @typing.type_check_only -class AnalyzeOrgPoliciesResponse(typing_extensions.TypedDict, total=False): +class AnalyzeOrgPoliciesResponse(typing.TypedDict, total=False): constraint: AnalyzerOrgPolicyConstraint nextPageToken: str orgPolicyResults: _list[OrgPolicyResult] @typing.type_check_only -class AnalyzeOrgPolicyGovernedAssetsResponse(typing_extensions.TypedDict, total=False): +class AnalyzeOrgPolicyGovernedAssetsResponse(typing.TypedDict, total=False): constraint: AnalyzerOrgPolicyConstraint governedAssets: _list[ GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset @@ -47,15 +45,13 @@ class AnalyzeOrgPolicyGovernedAssetsResponse(typing_extensions.TypedDict, total= nextPageToken: str @typing.type_check_only -class AnalyzeOrgPolicyGovernedContainersResponse( - typing_extensions.TypedDict, total=False -): +class AnalyzeOrgPolicyGovernedContainersResponse(typing.TypedDict, total=False): constraint: AnalyzerOrgPolicyConstraint governedContainers: _list[GoogleCloudAssetV1GovernedContainer] nextPageToken: str @typing.type_check_only -class AnalyzerOrgPolicy(typing_extensions.TypedDict, total=False): +class AnalyzerOrgPolicy(typing.TypedDict, total=False): appliedResource: str attachedResource: str inheritFromParent: bool @@ -63,12 +59,12 @@ class AnalyzerOrgPolicy(typing_extensions.TypedDict, total=False): rules: _list[GoogleCloudAssetV1Rule] @typing.type_check_only -class AnalyzerOrgPolicyConstraint(typing_extensions.TypedDict, total=False): +class AnalyzerOrgPolicyConstraint(typing.TypedDict, total=False): customConstraint: GoogleCloudAssetV1CustomConstraint googleDefinedConstraint: GoogleCloudAssetV1Constraint @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -85,41 +81,41 @@ class Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AssetEnrichment(typing_extensions.TypedDict, total=False): +class AssetEnrichment(typing.TypedDict, total=False): resourceOwners: ResourceOwners @typing.type_check_only -class AssetException(typing_extensions.TypedDict, total=False): +class AssetException(typing.TypedDict, total=False): details: str - exceptionType: typing_extensions.Literal["EXCEPTION_TYPE_UNSPECIFIED", "TRUNCATION"] + exceptionType: typing.Literal["EXCEPTION_TYPE_UNSPECIFIED", "TRUNCATION"] @typing.type_check_only -class AttachedResource(typing_extensions.TypedDict, total=False): +class AttachedResource(typing.TypedDict, total=False): assetType: str versionedResources: _list[VersionedResource] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BatchGetAssetsHistoryResponse(typing_extensions.TypedDict, total=False): +class BatchGetAssetsHistoryResponse(typing.TypedDict, total=False): assets: _list[TemporalAsset] @typing.type_check_only -class BatchGetEffectiveIamPoliciesResponse(typing_extensions.TypedDict, total=False): +class BatchGetEffectiveIamPoliciesResponse(typing.TypedDict, total=False): policyResults: _list[EffectiveIamPolicy] @typing.type_check_only -class BigQueryDestination(typing_extensions.TypedDict, total=False): +class BigQueryDestination(typing.TypedDict, total=False): dataset: str force: bool partitionSpec: PartitionSpec @@ -127,53 +123,53 @@ class BigQueryDestination(typing_extensions.TypedDict, total=False): table: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ConditionContext(typing_extensions.TypedDict, total=False): +class ConditionContext(typing.TypedDict, total=False): accessTime: str @typing.type_check_only -class ConditionEvaluation(typing_extensions.TypedDict, total=False): - evaluationValue: typing_extensions.Literal[ +class ConditionEvaluation(typing.TypedDict, total=False): + evaluationValue: typing.Literal[ "EVALUATION_VALUE_UNSPECIFIED", "TRUE", "FALSE", "CONDITIONAL" ] @typing.type_check_only -class CreateFeedRequest(typing_extensions.TypedDict, total=False): +class CreateFeedRequest(typing.TypedDict, total=False): feed: Feed feedId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class EffectiveIamPolicy(typing_extensions.TypedDict, total=False): +class EffectiveIamPolicy(typing.TypedDict, total=False): fullResourceName: str policies: _list[PolicyInfo] @typing.type_check_only -class EffectiveTagDetails(typing_extensions.TypedDict, total=False): +class EffectiveTagDetails(typing.TypedDict, total=False): attachedResource: str effectiveTags: _list[Tag] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Explanation(typing_extensions.TypedDict, total=False): +class Explanation(typing.TypedDict, total=False): matchedPermissions: dict[str, typing.Any] @typing.type_check_only -class ExportAssetsRequest(typing_extensions.TypedDict, total=False): +class ExportAssetsRequest(typing.TypedDict, total=False): assetTypes: _list[str] - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY", @@ -187,18 +183,18 @@ class ExportAssetsRequest(typing_extensions.TypedDict, total=False): relationshipTypes: _list[str] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Feed(typing_extensions.TypedDict, total=False): +class Feed(typing.TypedDict, total=False): assetNames: _list[str] assetTypes: _list[str] condition: Expr - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY", @@ -212,22 +208,22 @@ class Feed(typing_extensions.TypedDict, total=False): relationshipTypes: _list[str] @typing.type_check_only -class FeedOutputConfig(typing_extensions.TypedDict, total=False): +class FeedOutputConfig(typing.TypedDict, total=False): pubsubDestination: PubsubDestination @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str uriPrefix: str @typing.type_check_only -class GoogleCloudAssetV1Access(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1Access(typing.TypedDict, total=False): analysisState: IamPolicyAnalysisState permission: str role: str @typing.type_check_only -class GoogleCloudAssetV1AccessControlList(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1AccessControlList(typing.TypedDict, total=False): accesses: _list[GoogleCloudAssetV1Access] conditionEvaluation: ConditionEvaluation resourceEdges: _list[GoogleCloudAssetV1Edge] @@ -235,7 +231,7 @@ class GoogleCloudAssetV1AccessControlList(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consolidatedPolicy: AnalyzerOrgPolicy governedIamPolicy: ( @@ -248,7 +244,7 @@ class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset( @typing.type_check_only class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetType: str attachedResource: str @@ -259,7 +255,7 @@ class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy( @typing.type_check_only class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetType: str effectiveTags: _list[EffectiveTagDetails] @@ -270,34 +266,32 @@ class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource( project: str @typing.type_check_only -class GoogleCloudAssetV1BigQueryDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1BigQueryDestination(typing.TypedDict, total=False): dataset: str - partitionKey: typing_extensions.Literal["PARTITION_KEY_UNSPECIFIED", "REQUEST_TIME"] + partitionKey: typing.Literal["PARTITION_KEY_UNSPECIFIED", "REQUEST_TIME"] tablePrefix: str writeDisposition: str @typing.type_check_only -class GoogleCloudAssetV1BooleanConstraint(typing_extensions.TypedDict, total=False): ... +class GoogleCloudAssetV1BooleanConstraint(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAssetV1Constraint(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1Constraint(typing.TypedDict, total=False): booleanConstraint: GoogleCloudAssetV1BooleanConstraint - constraintDefault: typing_extensions.Literal[ - "CONSTRAINT_DEFAULT_UNSPECIFIED", "ALLOW", "DENY" - ] + constraintDefault: typing.Literal["CONSTRAINT_DEFAULT_UNSPECIFIED", "ALLOW", "DENY"] description: str displayName: str listConstraint: GoogleCloudAssetV1ListConstraint name: str @typing.type_check_only -class GoogleCloudAssetV1CustomConstraint(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudAssetV1CustomConstraint(typing.TypedDict, total=False): + actionType: typing.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] condition: str description: str displayName: str methodTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", @@ -310,16 +304,16 @@ class GoogleCloudAssetV1CustomConstraint(typing_extensions.TypedDict, total=Fals resourceTypes: _list[str] @typing.type_check_only -class GoogleCloudAssetV1Edge(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1Edge(typing.TypedDict, total=False): sourceNode: str targetNode: str @typing.type_check_only -class GoogleCloudAssetV1GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudAssetV1GovernedContainer(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1GovernedContainer(typing.TypedDict, total=False): consolidatedPolicy: AnalyzerOrgPolicy effectiveTags: _list[EffectiveTagDetails] folders: _list[str] @@ -330,35 +324,35 @@ class GoogleCloudAssetV1GovernedContainer(typing_extensions.TypedDict, total=Fal project: str @typing.type_check_only -class GoogleCloudAssetV1Identity(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1Identity(typing.TypedDict, total=False): analysisState: IamPolicyAnalysisState name: str @typing.type_check_only -class GoogleCloudAssetV1IdentityList(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1IdentityList(typing.TypedDict, total=False): groupEdges: _list[GoogleCloudAssetV1Edge] identities: _list[GoogleCloudAssetV1Identity] @typing.type_check_only -class GoogleCloudAssetV1ListConstraint(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1ListConstraint(typing.TypedDict, total=False): supportsIn: bool supportsUnder: bool @typing.type_check_only class GoogleCloudAssetV1QueryAssetsOutputConfigBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str table: str writeDisposition: str @typing.type_check_only -class GoogleCloudAssetV1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1Resource(typing.TypedDict, total=False): analysisState: IamPolicyAnalysisState fullResourceName: str @typing.type_check_only -class GoogleCloudAssetV1Rule(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1Rule(typing.TypedDict, total=False): allowAll: bool condition: Expr conditionEvaluation: ConditionEvaluation @@ -367,12 +361,12 @@ class GoogleCloudAssetV1Rule(typing_extensions.TypedDict, total=False): values: GoogleCloudAssetV1StringValues @typing.type_check_only -class GoogleCloudAssetV1StringValues(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1StringValues(typing.TypedDict, total=False): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -386,27 +380,25 @@ class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAsset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAsset(typing.TypedDict, total=False): ancestors: _list[str] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAssets(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAssets(typing.TypedDict, total=False): assets: _list[GoogleCloudAssetV1p7beta1RelatedAsset] relationshipAttributes: GoogleCloudAssetV1p7beta1RelationshipAttributes @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelationshipAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1RelationshipAttributes(typing.TypedDict, total=False): action: str sourceResourceType: str targetResourceType: str type: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -416,19 +408,19 @@ class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False version: str @typing.type_check_only -class GoogleCloudOrgpolicyV1BooleanPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1BooleanPolicy(typing.TypedDict, total=False): enforced: bool @typing.type_check_only -class GoogleCloudOrgpolicyV1ListPolicy(typing_extensions.TypedDict, total=False): - allValues: typing_extensions.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV1ListPolicy(typing.TypedDict, total=False): + allValues: typing.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] allowedValues: _list[str] deniedValues: _list[str] inheritFromParent: bool suggestedValue: str @typing.type_check_only -class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1Policy(typing.TypedDict, total=False): booleanPolicy: GoogleCloudOrgpolicyV1BooleanPolicy constraint: str etag: str @@ -438,14 +430,10 @@ class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudOrgpolicyV1RestoreDefault( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudOrgpolicyV1RestoreDefault(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessLevel(typing.TypedDict, total=False): basic: GoogleIdentityAccesscontextmanagerV1BasicLevel custom: GoogleIdentityAccesscontextmanagerV1CustomLevel description: str @@ -453,9 +441,7 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel( title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessPolicy(typing.TypedDict, total=False): etag: str name: str parent: str @@ -464,29 +450,23 @@ class GoogleIdentityAccesscontextmanagerV1AccessPolicy( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1AddRequestHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ApiOperation( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ApiOperation(typing.TypedDict, total=False): methodSelectors: _list[GoogleIdentityAccesscontextmanagerV1MethodSelector] serviceName: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1BasicLevel( - typing_extensions.TypedDict, total=False -): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class GoogleIdentityAccesscontextmanagerV1BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[GoogleIdentityAccesscontextmanagerV1Condition] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Condition( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Condition(typing.TypedDict, total=False): devicePolicy: GoogleIdentityAccesscontextmanagerV1DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -496,20 +476,16 @@ class GoogleIdentityAccesscontextmanagerV1Condition( vpcNetworkSources: _list[GoogleIdentityAccesscontextmanagerV1VpcNetworkSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1CustomLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1DevicePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -522,17 +498,15 @@ class GoogleIdentityAccesscontextmanagerV1DevicePolicy( requireScreenlock: bool @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", "ANY_SERVICE_ACCOUNT", ] - sourceRestriction: typing_extensions.Literal[ + sourceRestriction: typing.Literal[ "SOURCE_RESTRICTION_UNSPECIFIED", "SOURCE_RESTRICTION_ENABLED", "SOURCE_RESTRICTION_DISABLED", @@ -540,36 +514,28 @@ class GoogleIdentityAccesscontextmanagerV1EgressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1EgressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressPolicy(typing.TypedDict, total=False): egressFrom: GoogleIdentityAccesscontextmanagerV1EgressFrom egressTo: GoogleIdentityAccesscontextmanagerV1EgressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressTo(typing.TypedDict, total=False): externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -578,48 +544,36 @@ class GoogleIdentityAccesscontextmanagerV1IngressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1IngressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressPolicy(typing.TypedDict, total=False): ingressFrom: GoogleIdentityAccesscontextmanagerV1IngressFrom ingressTo: GoogleIdentityAccesscontextmanagerV1IngressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressTo(typing.TypedDict, total=False): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1MethodSelector( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1MethodSelector(typing.TypedDict, total=False): method: str permission: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Modifier( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Modifier(typing.TypedDict, total=False): addRequestHeader: GoogleIdentityAccesscontextmanagerV1AddRequestHeader @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1OsConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -632,28 +586,24 @@ class GoogleIdentityAccesscontextmanagerV1OsConstraint( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): forwardingRule: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ServicePattern( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ServicePattern(typing.TypedDict, total=False): modifiers: _list[GoogleIdentityAccesscontextmanagerV1Modifier] pattern: str service: str @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str etag: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] spec: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig status: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig title: str @@ -661,7 +611,7 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessLevels: _list[str] egressPolicies: _list[GoogleIdentityAccesscontextmanagerV1EgressPolicy] @@ -672,13 +622,13 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedServicePatterns: _list[GoogleIdentityAccesscontextmanagerV1ServicePattern] allowedServices: _list[str] enableRestriction: bool servicePatternsEnforcementScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED", "GOOGLE_APIS_VIA_PRIVATE_PATH", ] @@ -686,31 +636,29 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vpcSubnetwork: GoogleIdentityAccesscontextmanagerV1VpcSubNetwork @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork(typing.TypedDict, total=False): network: str vpcIpSubnetworks: _list[str] @typing.type_check_only -class IamPolicyAnalysis(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysis(typing.TypedDict, total=False): analysisQuery: IamPolicyAnalysisQuery analysisResults: _list[IamPolicyAnalysisResult] fullyExplored: bool nonCriticalErrors: _list[IamPolicyAnalysisState] @typing.type_check_only -class IamPolicyAnalysisOutputConfig(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysisOutputConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudAssetV1BigQueryDestination gcsDestination: GoogleCloudAssetV1GcsDestination @typing.type_check_only -class IamPolicyAnalysisQuery(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysisQuery(typing.TypedDict, total=False): accessSelector: AccessSelector conditionContext: ConditionContext identitySelector: IdentitySelector @@ -719,7 +667,7 @@ class IamPolicyAnalysisQuery(typing_extensions.TypedDict, total=False): scope: str @typing.type_check_only -class IamPolicyAnalysisResult(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysisResult(typing.TypedDict, total=False): accessControlLists: _list[GoogleCloudAssetV1AccessControlList] attachedResourceFullName: str fullyExplored: bool @@ -727,9 +675,9 @@ class IamPolicyAnalysisResult(typing_extensions.TypedDict, total=False): identityList: GoogleCloudAssetV1IdentityList @typing.type_check_only -class IamPolicyAnalysisState(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysisState(typing.TypedDict, total=False): cause: str - code: typing_extensions.Literal[ + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -750,7 +698,7 @@ class IamPolicyAnalysisState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IamPolicySearchResult(typing_extensions.TypedDict, total=False): +class IamPolicySearchResult(typing.TypedDict, total=False): assetType: str explanation: Explanation folders: _list[str] @@ -760,60 +708,58 @@ class IamPolicySearchResult(typing_extensions.TypedDict, total=False): resource: str @typing.type_check_only -class IdentitySelector(typing_extensions.TypedDict, total=False): +class IdentitySelector(typing.TypedDict, total=False): identity: str @typing.type_check_only -class Inventory(typing_extensions.TypedDict, total=False): +class Inventory(typing.TypedDict, total=False): items: dict[str, typing.Any] name: str osInfo: OsInfo updateTime: str @typing.type_check_only -class Item(typing_extensions.TypedDict, total=False): +class Item(typing.TypedDict, total=False): availablePackage: SoftwarePackage createTime: str id: str installedPackage: SoftwarePackage - originType: typing_extensions.Literal["ORIGIN_TYPE_UNSPECIFIED", "INVENTORY_REPORT"] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "INSTALLED_PACKAGE", "AVAILABLE_PACKAGE" - ] + originType: typing.Literal["ORIGIN_TYPE_UNSPECIFIED", "INVENTORY_REPORT"] + type: typing.Literal["TYPE_UNSPECIFIED", "INSTALLED_PACKAGE", "AVAILABLE_PACKAGE"] updateTime: str @typing.type_check_only -class ListAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] nextPageToken: str readTime: str @typing.type_check_only -class ListFeedsResponse(typing_extensions.TypedDict, total=False): +class ListFeedsResponse(typing.TypedDict, total=False): feeds: _list[Feed] @typing.type_check_only -class ListSavedQueriesResponse(typing_extensions.TypedDict, total=False): +class ListSavedQueriesResponse(typing.TypedDict, total=False): nextPageToken: str savedQueries: _list[SavedQuery] @typing.type_check_only -class MoveAnalysis(typing_extensions.TypedDict, total=False): +class MoveAnalysis(typing.TypedDict, total=False): analysis: MoveAnalysisResult displayName: str error: Status @typing.type_check_only -class MoveAnalysisResult(typing_extensions.TypedDict, total=False): +class MoveAnalysisResult(typing.TypedDict, total=False): blockers: _list[MoveImpact] warnings: _list[MoveImpact] @typing.type_check_only -class MoveImpact(typing_extensions.TypedDict, total=False): +class MoveImpact(typing.TypedDict, total=False): detail: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -821,7 +767,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Options(typing_extensions.TypedDict, total=False): +class Options(typing.TypedDict, total=False): analyzeServiceAccountImpersonation: bool expandGroups: bool expandResources: bool @@ -830,7 +776,7 @@ class Options(typing_extensions.TypedDict, total=False): outputResourceEdges: bool @typing.type_check_only -class OrgPolicyResult(typing_extensions.TypedDict, total=False): +class OrgPolicyResult(typing.TypedDict, total=False): consolidatedPolicy: AnalyzerOrgPolicy folders: _list[str] organization: str @@ -838,7 +784,7 @@ class OrgPolicyResult(typing_extensions.TypedDict, total=False): project: str @typing.type_check_only -class OsInfo(typing_extensions.TypedDict, total=False): +class OsInfo(typing.TypedDict, total=False): architecture: str hostname: str kernelRelease: str @@ -849,42 +795,42 @@ class OsInfo(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): bigqueryDestination: BigQueryDestination gcsDestination: GcsDestination @typing.type_check_only -class PartitionSpec(typing_extensions.TypedDict, total=False): - partitionKey: typing_extensions.Literal[ +class PartitionSpec(typing.TypedDict, total=False): + partitionKey: typing.Literal[ "PARTITION_KEY_UNSPECIFIED", "READ_TIME", "REQUEST_TIME" ] @typing.type_check_only -class Permissions(typing_extensions.TypedDict, total=False): +class Permissions(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyInfo(typing_extensions.TypedDict, total=False): +class PolicyInfo(typing.TypedDict, total=False): attachedResource: str policy: Policy @typing.type_check_only -class PubsubDestination(typing_extensions.TypedDict, total=False): +class PubsubDestination(typing.TypedDict, total=False): topic: str @typing.type_check_only -class QueryAssetsOutputConfig(typing_extensions.TypedDict, total=False): +class QueryAssetsOutputConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudAssetV1QueryAssetsOutputConfigBigQueryDestination @typing.type_check_only -class QueryAssetsRequest(typing_extensions.TypedDict, total=False): +class QueryAssetsRequest(typing.TypedDict, total=False): jobReference: str outputConfig: QueryAssetsOutputConfig pageSize: int @@ -895,7 +841,7 @@ class QueryAssetsRequest(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class QueryAssetsResponse(typing_extensions.TypedDict, total=False): +class QueryAssetsResponse(typing.TypedDict, total=False): done: bool error: Status jobReference: str @@ -903,46 +849,46 @@ class QueryAssetsResponse(typing_extensions.TypedDict, total=False): queryResult: QueryResult @typing.type_check_only -class QueryContent(typing_extensions.TypedDict, total=False): +class QueryContent(typing.TypedDict, total=False): iamPolicyAnalysisQuery: IamPolicyAnalysisQuery @typing.type_check_only -class QueryResult(typing_extensions.TypedDict, total=False): +class QueryResult(typing.TypedDict, total=False): nextPageToken: str rows: _list[dict[str, typing.Any]] schema: TableSchema totalRows: str @typing.type_check_only -class RelatedAsset(typing_extensions.TypedDict, total=False): +class RelatedAsset(typing.TypedDict, total=False): ancestors: _list[str] asset: str assetType: str relationshipType: str @typing.type_check_only -class RelatedAssets(typing_extensions.TypedDict, total=False): +class RelatedAssets(typing.TypedDict, total=False): assets: _list[RelatedAsset] relationshipAttributes: RelationshipAttributes @typing.type_check_only -class RelatedResource(typing_extensions.TypedDict, total=False): +class RelatedResource(typing.TypedDict, total=False): assetType: str fullResourceName: str @typing.type_check_only -class RelatedResources(typing_extensions.TypedDict, total=False): +class RelatedResources(typing.TypedDict, total=False): relatedResources: _list[RelatedResource] @typing.type_check_only -class RelationshipAttributes(typing_extensions.TypedDict, total=False): +class RelationshipAttributes(typing.TypedDict, total=False): action: str sourceResourceType: str targetResourceType: str type: str @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -952,11 +898,11 @@ class Resource(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class ResourceOwners(typing_extensions.TypedDict, total=False): +class ResourceOwners(typing.TypedDict, total=False): resourceOwners: _list[str] @typing.type_check_only -class ResourceSearchResult(typing_extensions.TypedDict, total=False): +class ResourceSearchResult(typing.TypedDict, total=False): additionalAttributes: dict[str, typing.Any] assetType: str attachedResources: _list[AttachedResource] @@ -987,11 +933,11 @@ class ResourceSearchResult(typing_extensions.TypedDict, total=False): versionedResources: _list[VersionedResource] @typing.type_check_only -class ResourceSelector(typing_extensions.TypedDict, total=False): +class ResourceSelector(typing.TypedDict, total=False): fullResourceName: str @typing.type_check_only -class SavedQuery(typing_extensions.TypedDict, total=False): +class SavedQuery(typing.TypedDict, total=False): content: QueryContent createTime: str creator: str @@ -1002,17 +948,17 @@ class SavedQuery(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SearchAllIamPoliciesResponse(typing_extensions.TypedDict, total=False): +class SearchAllIamPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[IamPolicySearchResult] @typing.type_check_only -class SearchAllResourcesResponse(typing_extensions.TypedDict, total=False): +class SearchAllResourcesResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[ResourceSearchResult] @typing.type_check_only -class SoftwarePackage(typing_extensions.TypedDict, total=False): +class SoftwarePackage(typing.TypedDict, total=False): aptPackage: VersionedPackage cosPackage: VersionedPackage googetPackage: VersionedPackage @@ -1024,35 +970,35 @@ class SoftwarePackage(typing_extensions.TypedDict, total=False): zypperPatch: ZypperPatch @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TableFieldSchema(typing_extensions.TypedDict, total=False): +class TableFieldSchema(typing.TypedDict, total=False): field: str fields: _list[TableFieldSchema] mode: str type: str @typing.type_check_only -class TableSchema(typing_extensions.TypedDict, total=False): +class TableSchema(typing.TypedDict, total=False): fields: _list[TableFieldSchema] @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): tagKey: str tagKeyId: str tagValue: str tagValueId: str @typing.type_check_only -class TemporalAsset(typing_extensions.TypedDict, total=False): +class TemporalAsset(typing.TypedDict, total=False): asset: Asset deleted: bool priorAsset: Asset - priorAssetState: typing_extensions.Literal[ + priorAssetState: typing.Literal[ "PRIOR_ASSET_STATE_UNSPECIFIED", "PRESENT", "INVALID", @@ -1062,29 +1008,29 @@ class TemporalAsset(typing_extensions.TypedDict, total=False): window: TimeWindow @typing.type_check_only -class TimeWindow(typing_extensions.TypedDict, total=False): +class TimeWindow(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateFeedRequest(typing_extensions.TypedDict, total=False): +class UpdateFeedRequest(typing.TypedDict, total=False): feed: Feed updateMask: str @typing.type_check_only -class VersionedPackage(typing_extensions.TypedDict, total=False): +class VersionedPackage(typing.TypedDict, total=False): architecture: str packageName: str version: str @typing.type_check_only -class VersionedResource(typing_extensions.TypedDict, total=False): +class VersionedResource(typing.TypedDict, total=False): assetExceptions: _list[AssetException] resource: dict[str, typing.Any] version: str @typing.type_check_only -class WindowsApplication(typing_extensions.TypedDict, total=False): +class WindowsApplication(typing.TypedDict, total=False): displayName: str displayVersion: str helpLink: str @@ -1092,19 +1038,19 @@ class WindowsApplication(typing_extensions.TypedDict, total=False): publisher: str @typing.type_check_only -class WindowsQuickFixEngineeringPackage(typing_extensions.TypedDict, total=False): +class WindowsQuickFixEngineeringPackage(typing.TypedDict, total=False): caption: str description: str hotFixId: str installTime: str @typing.type_check_only -class WindowsUpdateCategory(typing_extensions.TypedDict, total=False): +class WindowsUpdateCategory(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class WindowsUpdatePackage(typing_extensions.TypedDict, total=False): +class WindowsUpdatePackage(typing.TypedDict, total=False): categories: _list[WindowsUpdateCategory] description: str kbArticleIds: _list[str] @@ -1116,7 +1062,7 @@ class WindowsUpdatePackage(typing_extensions.TypedDict, total=False): updateId: str @typing.type_check_only -class ZypperPatch(typing_extensions.TypedDict, total=False): +class ZypperPatch(typing.TypedDict, total=False): category: str patchName: str severity: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudasset/v1beta1/resources.pyi index 921daff75..05bdef79d 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -39,7 +38,7 @@ class CloudAssetResource(googleapiclient.discovery.Resource): *, parent: str, assetNames: str | _list[str] | None = ..., - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY" ] | None = ..., @@ -65,7 +64,7 @@ class CloudAssetResource(googleapiclient.discovery.Resource): *, parent: str, assetNames: str | _list[str] | None = ..., - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi index 35fec4373..ec9cc4fea 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1beta1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeIamPolicyLongrunningMetadata(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyLongrunningMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class AnalyzeIamPolicyLongrunningResponse(typing_extensions.TypedDict, total=False): ... +class AnalyzeIamPolicyLongrunningResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy assetType: str @@ -23,50 +21,48 @@ class Asset(typing_extensions.TypedDict, total=False): servicePerimeter: GoogleIdentityAccesscontextmanagerV1ServicePerimeter @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BatchGetAssetsHistoryResponse(typing_extensions.TypedDict, total=False): +class BatchGetAssetsHistoryResponse(typing.TypedDict, total=False): assets: _list[TemporalAsset] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ExportAssetsRequest(typing_extensions.TypedDict, total=False): +class ExportAssetsRequest(typing.TypedDict, total=False): assetTypes: _list[str] - contentType: typing_extensions.Literal[ - "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY" - ] + contentType: typing.Literal["CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY"] outputConfig: OutputConfig readTime: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str uriPrefix: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -80,27 +76,25 @@ class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAsset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAsset(typing.TypedDict, total=False): ancestors: _list[str] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAssets(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAssets(typing.TypedDict, total=False): assets: _list[GoogleCloudAssetV1p7beta1RelatedAsset] relationshipAttributes: GoogleCloudAssetV1p7beta1RelationshipAttributes @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelationshipAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1RelationshipAttributes(typing.TypedDict, total=False): action: str sourceResourceType: str targetResourceType: str type: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -110,19 +104,19 @@ class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False version: str @typing.type_check_only -class GoogleCloudOrgpolicyV1BooleanPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1BooleanPolicy(typing.TypedDict, total=False): enforced: bool @typing.type_check_only -class GoogleCloudOrgpolicyV1ListPolicy(typing_extensions.TypedDict, total=False): - allValues: typing_extensions.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV1ListPolicy(typing.TypedDict, total=False): + allValues: typing.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] allowedValues: _list[str] deniedValues: _list[str] inheritFromParent: bool suggestedValue: str @typing.type_check_only -class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1Policy(typing.TypedDict, total=False): booleanPolicy: GoogleCloudOrgpolicyV1BooleanPolicy constraint: str etag: str @@ -132,14 +126,10 @@ class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudOrgpolicyV1RestoreDefault( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudOrgpolicyV1RestoreDefault(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessLevel(typing.TypedDict, total=False): basic: GoogleIdentityAccesscontextmanagerV1BasicLevel custom: GoogleIdentityAccesscontextmanagerV1CustomLevel description: str @@ -147,9 +137,7 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel( title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessPolicy(typing.TypedDict, total=False): etag: str name: str parent: str @@ -158,29 +146,23 @@ class GoogleIdentityAccesscontextmanagerV1AccessPolicy( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1AddRequestHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ApiOperation( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ApiOperation(typing.TypedDict, total=False): methodSelectors: _list[GoogleIdentityAccesscontextmanagerV1MethodSelector] serviceName: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1BasicLevel( - typing_extensions.TypedDict, total=False -): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class GoogleIdentityAccesscontextmanagerV1BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[GoogleIdentityAccesscontextmanagerV1Condition] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Condition( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Condition(typing.TypedDict, total=False): devicePolicy: GoogleIdentityAccesscontextmanagerV1DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -190,20 +172,16 @@ class GoogleIdentityAccesscontextmanagerV1Condition( vpcNetworkSources: _list[GoogleIdentityAccesscontextmanagerV1VpcNetworkSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1CustomLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1DevicePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -216,17 +194,15 @@ class GoogleIdentityAccesscontextmanagerV1DevicePolicy( requireScreenlock: bool @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", "ANY_SERVICE_ACCOUNT", ] - sourceRestriction: typing_extensions.Literal[ + sourceRestriction: typing.Literal[ "SOURCE_RESTRICTION_UNSPECIFIED", "SOURCE_RESTRICTION_ENABLED", "SOURCE_RESTRICTION_DISABLED", @@ -234,36 +210,28 @@ class GoogleIdentityAccesscontextmanagerV1EgressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1EgressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressPolicy(typing.TypedDict, total=False): egressFrom: GoogleIdentityAccesscontextmanagerV1EgressFrom egressTo: GoogleIdentityAccesscontextmanagerV1EgressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressTo(typing.TypedDict, total=False): externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -272,48 +240,36 @@ class GoogleIdentityAccesscontextmanagerV1IngressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1IngressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressPolicy(typing.TypedDict, total=False): ingressFrom: GoogleIdentityAccesscontextmanagerV1IngressFrom ingressTo: GoogleIdentityAccesscontextmanagerV1IngressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressTo(typing.TypedDict, total=False): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1MethodSelector( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1MethodSelector(typing.TypedDict, total=False): method: str permission: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Modifier( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Modifier(typing.TypedDict, total=False): addRequestHeader: GoogleIdentityAccesscontextmanagerV1AddRequestHeader @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1OsConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -326,28 +282,24 @@ class GoogleIdentityAccesscontextmanagerV1OsConstraint( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): forwardingRule: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ServicePattern( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ServicePattern(typing.TypedDict, total=False): modifiers: _list[GoogleIdentityAccesscontextmanagerV1Modifier] pattern: str service: str @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str etag: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] spec: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig status: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig title: str @@ -355,7 +307,7 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessLevels: _list[str] egressPolicies: _list[GoogleIdentityAccesscontextmanagerV1EgressPolicy] @@ -366,13 +318,13 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedServicePatterns: _list[GoogleIdentityAccesscontextmanagerV1ServicePattern] allowedServices: _list[str] enableRestriction: bool servicePatternsEnforcementScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED", "GOOGLE_APIS_VIA_PRIVATE_PATH", ] @@ -380,19 +332,17 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vpcSubnetwork: GoogleIdentityAccesscontextmanagerV1VpcSubNetwork @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork(typing.TypedDict, total=False): network: str vpcIpSubnetworks: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -400,18 +350,18 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -420,18 +370,18 @@ class Resource(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TemporalAsset(typing_extensions.TypedDict, total=False): +class TemporalAsset(typing.TypedDict, total=False): asset: Asset deleted: bool window: TimeWindow @typing.type_check_only -class TimeWindow(typing_extensions.TypedDict, total=False): +class TimeWindow(typing.TypedDict, total=False): endTime: str startTime: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/resources.pyi index dd777c7ee..6f684cd52 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi index 90eb2aa14..4a5141ba2 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p1beta1/schemas.pyi @@ -1,47 +1,45 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeIamPolicyLongrunningMetadata(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyLongrunningMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class AnalyzeIamPolicyLongrunningResponse(typing_extensions.TypedDict, total=False): ... +class AnalyzeIamPolicyLongrunningResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Explanation(typing_extensions.TypedDict, total=False): +class Explanation(typing.TypedDict, total=False): matchedPermissions: dict[str, typing.Any] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -55,27 +53,25 @@ class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAsset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAsset(typing.TypedDict, total=False): ancestors: _list[str] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAssets(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAssets(typing.TypedDict, total=False): assets: _list[GoogleCloudAssetV1p7beta1RelatedAsset] relationshipAttributes: GoogleCloudAssetV1p7beta1RelationshipAttributes @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelationshipAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1RelationshipAttributes(typing.TypedDict, total=False): action: str sourceResourceType: str targetResourceType: str type: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -85,19 +81,19 @@ class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False version: str @typing.type_check_only -class GoogleCloudOrgpolicyV1BooleanPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1BooleanPolicy(typing.TypedDict, total=False): enforced: bool @typing.type_check_only -class GoogleCloudOrgpolicyV1ListPolicy(typing_extensions.TypedDict, total=False): - allValues: typing_extensions.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV1ListPolicy(typing.TypedDict, total=False): + allValues: typing.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] allowedValues: _list[str] deniedValues: _list[str] inheritFromParent: bool suggestedValue: str @typing.type_check_only -class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1Policy(typing.TypedDict, total=False): booleanPolicy: GoogleCloudOrgpolicyV1BooleanPolicy constraint: str etag: str @@ -107,14 +103,10 @@ class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudOrgpolicyV1RestoreDefault( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudOrgpolicyV1RestoreDefault(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessLevel(typing.TypedDict, total=False): basic: GoogleIdentityAccesscontextmanagerV1BasicLevel custom: GoogleIdentityAccesscontextmanagerV1CustomLevel description: str @@ -122,9 +114,7 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel( title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessPolicy(typing.TypedDict, total=False): etag: str name: str parent: str @@ -133,29 +123,23 @@ class GoogleIdentityAccesscontextmanagerV1AccessPolicy( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1AddRequestHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ApiOperation( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ApiOperation(typing.TypedDict, total=False): methodSelectors: _list[GoogleIdentityAccesscontextmanagerV1MethodSelector] serviceName: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1BasicLevel( - typing_extensions.TypedDict, total=False -): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class GoogleIdentityAccesscontextmanagerV1BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[GoogleIdentityAccesscontextmanagerV1Condition] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Condition( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Condition(typing.TypedDict, total=False): devicePolicy: GoogleIdentityAccesscontextmanagerV1DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -165,20 +149,16 @@ class GoogleIdentityAccesscontextmanagerV1Condition( vpcNetworkSources: _list[GoogleIdentityAccesscontextmanagerV1VpcNetworkSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1CustomLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1DevicePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -191,17 +171,15 @@ class GoogleIdentityAccesscontextmanagerV1DevicePolicy( requireScreenlock: bool @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", "ANY_SERVICE_ACCOUNT", ] - sourceRestriction: typing_extensions.Literal[ + sourceRestriction: typing.Literal[ "SOURCE_RESTRICTION_UNSPECIFIED", "SOURCE_RESTRICTION_ENABLED", "SOURCE_RESTRICTION_DISABLED", @@ -209,36 +187,28 @@ class GoogleIdentityAccesscontextmanagerV1EgressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1EgressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressPolicy(typing.TypedDict, total=False): egressFrom: GoogleIdentityAccesscontextmanagerV1EgressFrom egressTo: GoogleIdentityAccesscontextmanagerV1EgressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressTo(typing.TypedDict, total=False): externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -247,48 +217,36 @@ class GoogleIdentityAccesscontextmanagerV1IngressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1IngressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressPolicy(typing.TypedDict, total=False): ingressFrom: GoogleIdentityAccesscontextmanagerV1IngressFrom ingressTo: GoogleIdentityAccesscontextmanagerV1IngressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressTo(typing.TypedDict, total=False): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1MethodSelector( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1MethodSelector(typing.TypedDict, total=False): method: str permission: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Modifier( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Modifier(typing.TypedDict, total=False): addRequestHeader: GoogleIdentityAccesscontextmanagerV1AddRequestHeader @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1OsConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -301,28 +259,24 @@ class GoogleIdentityAccesscontextmanagerV1OsConstraint( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): forwardingRule: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ServicePattern( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ServicePattern(typing.TypedDict, total=False): modifiers: _list[GoogleIdentityAccesscontextmanagerV1Modifier] pattern: str service: str @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str etag: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] spec: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig status: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig title: str @@ -330,7 +284,7 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessLevels: _list[str] egressPolicies: _list[GoogleIdentityAccesscontextmanagerV1EgressPolicy] @@ -341,13 +295,13 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedServicePatterns: _list[GoogleIdentityAccesscontextmanagerV1ServicePattern] allowedServices: _list[str] enableRestriction: bool servicePatternsEnforcementScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED", "GOOGLE_APIS_VIA_PRIVATE_PATH", ] @@ -355,47 +309,45 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vpcSubnetwork: GoogleIdentityAccesscontextmanagerV1VpcSubNetwork @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork(typing.TypedDict, total=False): network: str vpcIpSubnetworks: _list[str] @typing.type_check_only -class IamPolicySearchResult(typing_extensions.TypedDict, total=False): +class IamPolicySearchResult(typing.TypedDict, total=False): explanation: Explanation policy: Policy project: str resource: str @typing.type_check_only -class Permissions(typing_extensions.TypedDict, total=False): +class Permissions(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class SearchAllIamPoliciesResponse(typing_extensions.TypedDict, total=False): +class SearchAllIamPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[IamPolicySearchResult] @typing.type_check_only -class SearchAllResourcesResponse(typing_extensions.TypedDict, total=False): +class SearchAllResourcesResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[StandardResourceMetadata] @typing.type_check_only -class StandardResourceMetadata(typing_extensions.TypedDict, total=False): +class StandardResourceMetadata(typing.TypedDict, total=False): additionalAttributes: _list[str] assetType: str description: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/resources.pyi index 5c3809968..9187e921b 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/schemas.pyi index 12731e2dc..f5722338d 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p4beta1/schemas.pyi @@ -1,81 +1,77 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessSelector(typing_extensions.TypedDict, total=False): +class AccessSelector(typing.TypedDict, total=False): permissions: _list[str] roles: _list[str] @typing.type_check_only -class AnalyzeIamPolicyLongrunningMetadata(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyLongrunningMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class AnalyzeIamPolicyLongrunningResponse(typing_extensions.TypedDict, total=False): ... +class AnalyzeIamPolicyLongrunningResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AnalyzeIamPolicyResponse(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyResponse(typing.TypedDict, total=False): fullyExplored: bool mainAnalysis: IamPolicyAnalysis nonCriticalErrors: _list[GoogleCloudAssetV1p4beta1AnalysisState] serviceAccountImpersonationAnalysis: _list[IamPolicyAnalysis] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ExportIamPolicyAnalysisRequest(typing_extensions.TypedDict, total=False): +class ExportIamPolicyAnalysisRequest(typing.TypedDict, total=False): analysisQuery: IamPolicyAnalysisQuery options: Options outputConfig: IamPolicyAnalysisOutputConfig @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudAssetV1p4beta1Access(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p4beta1Access(typing.TypedDict, total=False): analysisState: GoogleCloudAssetV1p4beta1AnalysisState permission: str role: str @typing.type_check_only -class GoogleCloudAssetV1p4beta1AccessControlList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p4beta1AccessControlList(typing.TypedDict, total=False): accesses: _list[GoogleCloudAssetV1p4beta1Access] resourceEdges: _list[GoogleCloudAssetV1p4beta1Edge] resources: _list[GoogleCloudAssetV1p4beta1Resource] @typing.type_check_only -class GoogleCloudAssetV1p4beta1AnalysisState(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p4beta1AnalysisState(typing.TypedDict, total=False): cause: str - code: typing_extensions.Literal[ + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -96,27 +92,27 @@ class GoogleCloudAssetV1p4beta1AnalysisState(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudAssetV1p4beta1Edge(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p4beta1Edge(typing.TypedDict, total=False): sourceNode: str targetNode: str @typing.type_check_only -class GoogleCloudAssetV1p4beta1Identity(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p4beta1Identity(typing.TypedDict, total=False): analysisState: GoogleCloudAssetV1p4beta1AnalysisState name: str @typing.type_check_only -class GoogleCloudAssetV1p4beta1IdentityList(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p4beta1IdentityList(typing.TypedDict, total=False): groupEdges: _list[GoogleCloudAssetV1p4beta1Edge] identities: _list[GoogleCloudAssetV1p4beta1Identity] @typing.type_check_only -class GoogleCloudAssetV1p4beta1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p4beta1Resource(typing.TypedDict, total=False): analysisState: GoogleCloudAssetV1p4beta1AnalysisState fullResourceName: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -130,27 +126,25 @@ class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAsset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAsset(typing.TypedDict, total=False): ancestors: _list[str] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAssets(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAssets(typing.TypedDict, total=False): assets: _list[GoogleCloudAssetV1p7beta1RelatedAsset] relationshipAttributes: GoogleCloudAssetV1p7beta1RelationshipAttributes @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelationshipAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1RelationshipAttributes(typing.TypedDict, total=False): action: str sourceResourceType: str targetResourceType: str type: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -160,19 +154,19 @@ class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False version: str @typing.type_check_only -class GoogleCloudOrgpolicyV1BooleanPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1BooleanPolicy(typing.TypedDict, total=False): enforced: bool @typing.type_check_only -class GoogleCloudOrgpolicyV1ListPolicy(typing_extensions.TypedDict, total=False): - allValues: typing_extensions.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV1ListPolicy(typing.TypedDict, total=False): + allValues: typing.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] allowedValues: _list[str] deniedValues: _list[str] inheritFromParent: bool suggestedValue: str @typing.type_check_only -class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1Policy(typing.TypedDict, total=False): booleanPolicy: GoogleCloudOrgpolicyV1BooleanPolicy constraint: str etag: str @@ -182,14 +176,10 @@ class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudOrgpolicyV1RestoreDefault( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudOrgpolicyV1RestoreDefault(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessLevel(typing.TypedDict, total=False): basic: GoogleIdentityAccesscontextmanagerV1BasicLevel custom: GoogleIdentityAccesscontextmanagerV1CustomLevel description: str @@ -197,9 +187,7 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel( title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessPolicy(typing.TypedDict, total=False): etag: str name: str parent: str @@ -207,23 +195,17 @@ class GoogleIdentityAccesscontextmanagerV1AccessPolicy( title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ApiOperation( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ApiOperation(typing.TypedDict, total=False): methodSelectors: _list[GoogleIdentityAccesscontextmanagerV1MethodSelector] serviceName: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1BasicLevel( - typing_extensions.TypedDict, total=False -): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class GoogleIdentityAccesscontextmanagerV1BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[GoogleIdentityAccesscontextmanagerV1Condition] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Condition( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Condition(typing.TypedDict, total=False): devicePolicy: GoogleIdentityAccesscontextmanagerV1DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -232,20 +214,16 @@ class GoogleIdentityAccesscontextmanagerV1Condition( requiredAccessLevels: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1CustomLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1DevicePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -258,11 +236,9 @@ class GoogleIdentityAccesscontextmanagerV1DevicePolicy( requireScreenlock: bool @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -270,26 +246,20 @@ class GoogleIdentityAccesscontextmanagerV1EgressFrom( ] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressPolicy(typing.TypedDict, total=False): egressFrom: GoogleIdentityAccesscontextmanagerV1EgressFrom egressTo: GoogleIdentityAccesscontextmanagerV1EgressTo @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressTo(typing.TypedDict, total=False): externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -298,39 +268,29 @@ class GoogleIdentityAccesscontextmanagerV1IngressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1IngressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressPolicy(typing.TypedDict, total=False): ingressFrom: GoogleIdentityAccesscontextmanagerV1IngressFrom ingressTo: GoogleIdentityAccesscontextmanagerV1IngressTo @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressSource(typing.TypedDict, total=False): accessLevel: str resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressTo(typing.TypedDict, total=False): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1MethodSelector( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1MethodSelector(typing.TypedDict, total=False): method: str permission: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1OsConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -343,13 +303,11 @@ class GoogleIdentityAccesscontextmanagerV1OsConstraint( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] spec: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig status: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig title: str @@ -357,7 +315,7 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessLevels: _list[str] egressPolicies: _list[GoogleIdentityAccesscontextmanagerV1EgressPolicy] @@ -368,30 +326,30 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedServices: _list[str] enableRestriction: bool @typing.type_check_only -class IamPolicyAnalysis(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysis(typing.TypedDict, total=False): analysisQuery: IamPolicyAnalysisQuery analysisResults: _list[IamPolicyAnalysisResult] fullyExplored: bool @typing.type_check_only -class IamPolicyAnalysisOutputConfig(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysisOutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class IamPolicyAnalysisQuery(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysisQuery(typing.TypedDict, total=False): accessSelector: AccessSelector identitySelector: IdentitySelector parent: str resourceSelector: ResourceSelector @typing.type_check_only -class IamPolicyAnalysisResult(typing_extensions.TypedDict, total=False): +class IamPolicyAnalysisResult(typing.TypedDict, total=False): accessControlLists: _list[GoogleCloudAssetV1p4beta1AccessControlList] attachedResourceFullName: str fullyExplored: bool @@ -399,11 +357,11 @@ class IamPolicyAnalysisResult(typing_extensions.TypedDict, total=False): identityList: GoogleCloudAssetV1p4beta1IdentityList @typing.type_check_only -class IdentitySelector(typing_extensions.TypedDict, total=False): +class IdentitySelector(typing.TypedDict, total=False): identity: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -411,7 +369,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Options(typing_extensions.TypedDict, total=False): +class Options(typing.TypedDict, total=False): analyzeServiceAccountImpersonation: bool expandGroups: bool expandResources: bool @@ -420,18 +378,18 @@ class Options(typing_extensions.TypedDict, total=False): outputResourceEdges: bool @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ResourceSelector(typing_extensions.TypedDict, total=False): +class ResourceSelector(typing.TypedDict, total=False): fullResourceName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/resources.pyi index d1bbe403e..6a01b061b 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -20,7 +19,7 @@ class CloudAssetResource(googleapiclient.discovery.Resource): *, parent: str, assetTypes: str | _list[str] | None = ..., - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY", diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi index 7c0ef40aa..732c0f794 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p5beta1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeIamPolicyLongrunningMetadata(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyLongrunningMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class AnalyzeIamPolicyLongrunningResponse(typing_extensions.TypedDict, total=False): ... +class AnalyzeIamPolicyLongrunningResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -24,32 +22,32 @@ class Asset(typing_extensions.TypedDict, total=False): servicePerimeter: GoogleIdentityAccesscontextmanagerV1ServicePerimeter @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -63,27 +61,25 @@ class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAsset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAsset(typing.TypedDict, total=False): ancestors: _list[str] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAssets(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAssets(typing.TypedDict, total=False): assets: _list[GoogleCloudAssetV1p7beta1RelatedAsset] relationshipAttributes: GoogleCloudAssetV1p7beta1RelationshipAttributes @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelationshipAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1RelationshipAttributes(typing.TypedDict, total=False): action: str sourceResourceType: str targetResourceType: str type: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -93,19 +89,19 @@ class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False version: str @typing.type_check_only -class GoogleCloudOrgpolicyV1BooleanPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1BooleanPolicy(typing.TypedDict, total=False): enforced: bool @typing.type_check_only -class GoogleCloudOrgpolicyV1ListPolicy(typing_extensions.TypedDict, total=False): - allValues: typing_extensions.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV1ListPolicy(typing.TypedDict, total=False): + allValues: typing.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] allowedValues: _list[str] deniedValues: _list[str] inheritFromParent: bool suggestedValue: str @typing.type_check_only -class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1Policy(typing.TypedDict, total=False): booleanPolicy: GoogleCloudOrgpolicyV1BooleanPolicy constraint: str etag: str @@ -115,14 +111,10 @@ class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudOrgpolicyV1RestoreDefault( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudOrgpolicyV1RestoreDefault(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessLevel(typing.TypedDict, total=False): basic: GoogleIdentityAccesscontextmanagerV1BasicLevel custom: GoogleIdentityAccesscontextmanagerV1CustomLevel description: str @@ -130,9 +122,7 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel( title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessPolicy(typing.TypedDict, total=False): etag: str name: str parent: str @@ -141,29 +131,23 @@ class GoogleIdentityAccesscontextmanagerV1AccessPolicy( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1AddRequestHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ApiOperation( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ApiOperation(typing.TypedDict, total=False): methodSelectors: _list[GoogleIdentityAccesscontextmanagerV1MethodSelector] serviceName: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1BasicLevel( - typing_extensions.TypedDict, total=False -): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class GoogleIdentityAccesscontextmanagerV1BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[GoogleIdentityAccesscontextmanagerV1Condition] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Condition( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Condition(typing.TypedDict, total=False): devicePolicy: GoogleIdentityAccesscontextmanagerV1DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -173,20 +157,16 @@ class GoogleIdentityAccesscontextmanagerV1Condition( vpcNetworkSources: _list[GoogleIdentityAccesscontextmanagerV1VpcNetworkSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1CustomLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1DevicePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -199,17 +179,15 @@ class GoogleIdentityAccesscontextmanagerV1DevicePolicy( requireScreenlock: bool @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", "ANY_SERVICE_ACCOUNT", ] - sourceRestriction: typing_extensions.Literal[ + sourceRestriction: typing.Literal[ "SOURCE_RESTRICTION_UNSPECIFIED", "SOURCE_RESTRICTION_ENABLED", "SOURCE_RESTRICTION_DISABLED", @@ -217,36 +195,28 @@ class GoogleIdentityAccesscontextmanagerV1EgressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1EgressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressPolicy(typing.TypedDict, total=False): egressFrom: GoogleIdentityAccesscontextmanagerV1EgressFrom egressTo: GoogleIdentityAccesscontextmanagerV1EgressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressTo(typing.TypedDict, total=False): externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -255,48 +225,36 @@ class GoogleIdentityAccesscontextmanagerV1IngressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1IngressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressPolicy(typing.TypedDict, total=False): ingressFrom: GoogleIdentityAccesscontextmanagerV1IngressFrom ingressTo: GoogleIdentityAccesscontextmanagerV1IngressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressTo(typing.TypedDict, total=False): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1MethodSelector( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1MethodSelector(typing.TypedDict, total=False): method: str permission: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Modifier( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Modifier(typing.TypedDict, total=False): addRequestHeader: GoogleIdentityAccesscontextmanagerV1AddRequestHeader @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1OsConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -309,28 +267,24 @@ class GoogleIdentityAccesscontextmanagerV1OsConstraint( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): forwardingRule: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ServicePattern( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ServicePattern(typing.TypedDict, total=False): modifiers: _list[GoogleIdentityAccesscontextmanagerV1Modifier] pattern: str service: str @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str etag: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] spec: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig status: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig title: str @@ -338,7 +292,7 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessLevels: _list[str] egressPolicies: _list[GoogleIdentityAccesscontextmanagerV1EgressPolicy] @@ -349,13 +303,13 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedServicePatterns: _list[GoogleIdentityAccesscontextmanagerV1ServicePattern] allowedServices: _list[str] enableRestriction: bool servicePatternsEnforcementScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED", "GOOGLE_APIS_VIA_PRIVATE_PATH", ] @@ -363,32 +317,30 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vpcSubnetwork: GoogleIdentityAccesscontextmanagerV1VpcSubNetwork @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork(typing.TypedDict, total=False): network: str vpcIpSubnetworks: _list[str] @typing.type_check_only -class ListAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] nextPageToken: str readTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/resources.pyi index 963b8d414..d4a1083e6 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi index e631fdc95..35baa716e 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1p7beta1/schemas.pyi @@ -1,43 +1,41 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeIamPolicyLongrunningMetadata(typing_extensions.TypedDict, total=False): +class AnalyzeIamPolicyLongrunningMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class AnalyzeIamPolicyLongrunningResponse(typing_extensions.TypedDict, total=False): ... +class AnalyzeIamPolicyLongrunningResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Asset(typing.TypedDict, total=False): accessLevel: GoogleIdentityAccesscontextmanagerV1AccessLevel accessPolicy: GoogleIdentityAccesscontextmanagerV1AccessPolicy ancestors: _list[str] @@ -51,9 +49,7 @@ class GoogleCloudAssetV1p7beta1Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1BigQueryDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1BigQueryDestination(typing.TypedDict, total=False): dataset: str force: bool partitionSpec: GoogleCloudAssetV1p7beta1PartitionSpec @@ -61,11 +57,9 @@ class GoogleCloudAssetV1p7beta1BigQueryDestination( table: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1ExportAssetsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1ExportAssetsRequest(typing.TypedDict, total=False): assetTypes: _list[str] - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY", @@ -78,43 +72,41 @@ class GoogleCloudAssetV1p7beta1ExportAssetsRequest( relationshipTypes: _list[str] @typing.type_check_only -class GoogleCloudAssetV1p7beta1GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1GcsDestination(typing.TypedDict, total=False): uri: str uriPrefix: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1OutputConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudAssetV1p7beta1BigQueryDestination gcsDestination: GoogleCloudAssetV1p7beta1GcsDestination @typing.type_check_only -class GoogleCloudAssetV1p7beta1PartitionSpec(typing_extensions.TypedDict, total=False): - partitionKey: typing_extensions.Literal[ +class GoogleCloudAssetV1p7beta1PartitionSpec(typing.TypedDict, total=False): + partitionKey: typing.Literal[ "PARTITION_KEY_UNSPECIFIED", "READ_TIME", "REQUEST_TIME" ] @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAsset(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAsset(typing.TypedDict, total=False): ancestors: _list[str] asset: str assetType: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelatedAssets(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1RelatedAssets(typing.TypedDict, total=False): assets: _list[GoogleCloudAssetV1p7beta1RelatedAsset] relationshipAttributes: GoogleCloudAssetV1p7beta1RelationshipAttributes @typing.type_check_only -class GoogleCloudAssetV1p7beta1RelationshipAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAssetV1p7beta1RelationshipAttributes(typing.TypedDict, total=False): action: str sourceResourceType: str targetResourceType: str type: str @typing.type_check_only -class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudAssetV1p7beta1Resource(typing.TypedDict, total=False): data: dict[str, typing.Any] discoveryDocumentUri: str discoveryName: str @@ -124,19 +116,19 @@ class GoogleCloudAssetV1p7beta1Resource(typing_extensions.TypedDict, total=False version: str @typing.type_check_only -class GoogleCloudOrgpolicyV1BooleanPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1BooleanPolicy(typing.TypedDict, total=False): enforced: bool @typing.type_check_only -class GoogleCloudOrgpolicyV1ListPolicy(typing_extensions.TypedDict, total=False): - allValues: typing_extensions.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV1ListPolicy(typing.TypedDict, total=False): + allValues: typing.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] allowedValues: _list[str] deniedValues: _list[str] inheritFromParent: bool suggestedValue: str @typing.type_check_only -class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV1Policy(typing.TypedDict, total=False): booleanPolicy: GoogleCloudOrgpolicyV1BooleanPolicy constraint: str etag: str @@ -146,14 +138,10 @@ class GoogleCloudOrgpolicyV1Policy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class GoogleCloudOrgpolicyV1RestoreDefault( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudOrgpolicyV1RestoreDefault(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessLevel(typing.TypedDict, total=False): basic: GoogleIdentityAccesscontextmanagerV1BasicLevel custom: GoogleIdentityAccesscontextmanagerV1CustomLevel description: str @@ -161,9 +149,7 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel( title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1AccessPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1AccessPolicy(typing.TypedDict, total=False): etag: str name: str parent: str @@ -172,29 +158,23 @@ class GoogleIdentityAccesscontextmanagerV1AccessPolicy( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1AddRequestHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ApiOperation( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ApiOperation(typing.TypedDict, total=False): methodSelectors: _list[GoogleIdentityAccesscontextmanagerV1MethodSelector] serviceName: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1BasicLevel( - typing_extensions.TypedDict, total=False -): - combiningFunction: typing_extensions.Literal["AND", "OR"] +class GoogleIdentityAccesscontextmanagerV1BasicLevel(typing.TypedDict, total=False): + combiningFunction: typing.Literal["AND", "OR"] conditions: _list[GoogleIdentityAccesscontextmanagerV1Condition] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Condition( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Condition(typing.TypedDict, total=False): devicePolicy: GoogleIdentityAccesscontextmanagerV1DevicePolicy ipSubnetworks: _list[str] members: _list[str] @@ -204,20 +184,16 @@ class GoogleIdentityAccesscontextmanagerV1Condition( vpcNetworkSources: _list[GoogleIdentityAccesscontextmanagerV1VpcNetworkSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1CustomLevel( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1CustomLevel(typing.TypedDict, total=False): expr: Expr @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1DevicePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1DevicePolicy(typing.TypedDict, total=False): allowedDeviceManagementLevels: _list[ - typing_extensions.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] + typing.Literal["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"] ] allowedEncryptionStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", @@ -230,17 +206,15 @@ class GoogleIdentityAccesscontextmanagerV1DevicePolicy( requireScreenlock: bool @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", "ANY_SERVICE_ACCOUNT", ] - sourceRestriction: typing_extensions.Literal[ + sourceRestriction: typing.Literal[ "SOURCE_RESTRICTION_UNSPECIFIED", "SOURCE_RESTRICTION_ENABLED", "SOURCE_RESTRICTION_DISABLED", @@ -248,36 +222,28 @@ class GoogleIdentityAccesscontextmanagerV1EgressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1EgressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressPolicy(typing.TypedDict, total=False): egressFrom: GoogleIdentityAccesscontextmanagerV1EgressFrom egressTo: GoogleIdentityAccesscontextmanagerV1EgressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1EgressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1EgressTo(typing.TypedDict, total=False): externalResources: _list[str] operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressFrom( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressFrom(typing.TypedDict, total=False): identities: _list[str] - identityType: typing_extensions.Literal[ + identityType: typing.Literal[ "IDENTITY_TYPE_UNSPECIFIED", "ANY_IDENTITY", "ANY_USER_ACCOUNT", @@ -286,48 +252,36 @@ class GoogleIdentityAccesscontextmanagerV1IngressFrom( sources: _list[GoogleIdentityAccesscontextmanagerV1IngressSource] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressPolicy(typing.TypedDict, total=False): ingressFrom: GoogleIdentityAccesscontextmanagerV1IngressFrom ingressTo: GoogleIdentityAccesscontextmanagerV1IngressTo title: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressSource( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressSource(typing.TypedDict, total=False): accessLevel: str pscEndpoint: GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint resource: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1IngressTo( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1IngressTo(typing.TypedDict, total=False): operations: _list[GoogleIdentityAccesscontextmanagerV1ApiOperation] resources: _list[str] roles: _list[str] @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1MethodSelector( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1MethodSelector(typing.TypedDict, total=False): method: str permission: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1Modifier( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1Modifier(typing.TypedDict, total=False): addRequestHeader: GoogleIdentityAccesscontextmanagerV1AddRequestHeader @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1OsConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1OsConstraint(typing.TypedDict, total=False): minimumVersion: str - osType: typing_extensions.Literal[ + osType: typing.Literal[ "OS_UNSPECIFIED", "DESKTOP_MAC", "DESKTOP_WINDOWS", @@ -340,28 +294,24 @@ class GoogleIdentityAccesscontextmanagerV1OsConstraint( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): forwardingRule: str @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1ServicePattern( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1ServicePattern(typing.TypedDict, total=False): modifiers: _list[GoogleIdentityAccesscontextmanagerV1Modifier] pattern: str service: str @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str etag: str name: str - perimeterType: typing_extensions.Literal[ - "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" - ] + perimeterType: typing.Literal["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] spec: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig status: GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig title: str @@ -369,7 +319,7 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessLevels: _list[str] egressPolicies: _list[GoogleIdentityAccesscontextmanagerV1EgressPolicy] @@ -380,13 +330,13 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedServicePatterns: _list[GoogleIdentityAccesscontextmanagerV1ServicePattern] allowedServices: _list[str] enableRestriction: bool servicePatternsEnforcementScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED", "GOOGLE_APIS_VIA_PRIVATE_PATH", ] @@ -394,19 +344,17 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( @typing.type_check_only class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vpcSubnetwork: GoogleIdentityAccesscontextmanagerV1VpcSubNetwork @typing.type_check_only -class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork(typing.TypedDict, total=False): network: str vpcIpSubnetworks: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -414,14 +362,14 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/cloudbilling/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudbilling/v1/resources.pyi index a73b77035..e2fcf0935 100644 --- a/googleapiclient-stubs/_apis/cloudbilling/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbilling/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudbilling/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbilling/v1/schemas.pyi index 587f13955..db5a81c17 100644 --- a/googleapiclient-stubs/_apis/cloudbilling/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbilling/v1/schemas.pyi @@ -1,33 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AggregationInfo(typing_extensions.TypedDict, total=False): +class AggregationInfo(typing.TypedDict, total=False): aggregationCount: int - aggregationInterval: typing_extensions.Literal[ + aggregationInterval: typing.Literal[ "AGGREGATION_INTERVAL_UNSPECIFIED", "DAILY", "MONTHLY" ] - aggregationLevel: typing_extensions.Literal[ + aggregationLevel: typing.Literal[ "AGGREGATION_LEVEL_UNSPECIFIED", "ACCOUNT", "PROJECT" ] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BillingAccount(typing_extensions.TypedDict, total=False): +class BillingAccount(typing.TypedDict, total=False): currencyCode: str displayName: str masterBillingAccount: str @@ -36,71 +34,69 @@ class BillingAccount(typing_extensions.TypedDict, total=False): parent: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Category(typing_extensions.TypedDict, total=False): +class Category(typing.TypedDict, total=False): resourceFamily: str resourceGroup: str serviceDisplayName: str usageType: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GeoTaxonomy(typing_extensions.TypedDict, total=False): +class GeoTaxonomy(typing.TypedDict, total=False): regions: _list[str] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "GLOBAL", "REGIONAL", "MULTI_REGIONAL" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "GLOBAL", "REGIONAL", "MULTI_REGIONAL"] @typing.type_check_only -class ListBillingAccountsResponse(typing_extensions.TypedDict, total=False): +class ListBillingAccountsResponse(typing.TypedDict, total=False): billingAccounts: _list[BillingAccount] nextPageToken: str @typing.type_check_only -class ListProjectBillingInfoResponse(typing_extensions.TypedDict, total=False): +class ListProjectBillingInfoResponse(typing.TypedDict, total=False): nextPageToken: str projectBillingInfo: _list[ProjectBillingInfo] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class ListSkusResponse(typing_extensions.TypedDict, total=False): +class ListSkusResponse(typing.TypedDict, total=False): nextPageToken: str skus: _list[Sku] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class MoveBillingAccountRequest(typing_extensions.TypedDict, total=False): +class MoveBillingAccountRequest(typing.TypedDict, total=False): destinationParent: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PricingExpression(typing_extensions.TypedDict, total=False): +class PricingExpression(typing.TypedDict, total=False): baseUnit: str baseUnitConversionFactor: float baseUnitDescription: str @@ -110,7 +106,7 @@ class PricingExpression(typing_extensions.TypedDict, total=False): usageUnitDescription: str @typing.type_check_only -class PricingInfo(typing_extensions.TypedDict, total=False): +class PricingInfo(typing.TypedDict, total=False): aggregationInfo: AggregationInfo currencyConversionRate: float effectiveTime: str @@ -118,26 +114,26 @@ class PricingInfo(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class ProjectBillingInfo(typing_extensions.TypedDict, total=False): +class ProjectBillingInfo(typing.TypedDict, total=False): billingAccountName: str billingEnabled: bool name: str projectId: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): businessEntityName: str displayName: str name: str serviceId: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Sku(typing_extensions.TypedDict, total=False): +class Sku(typing.TypedDict, total=False): category: Category description: str geoTaxonomy: GeoTaxonomy @@ -148,14 +144,14 @@ class Sku(typing_extensions.TypedDict, total=False): skuId: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TierRate(typing_extensions.TypedDict, total=False): +class TierRate(typing.TypedDict, total=False): startUsageAmount: float unitPrice: Money diff --git a/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi b/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi index 0e14a1807..0eb9544f6 100644 --- a/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbilling/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi index 39a95653d..e9900e97d 100644 --- a/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbilling/v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AgenticQueryInfo(typing_extensions.TypedDict, total=False): +class AgenticQueryInfo(typing.TypedDict, total=False): columns: str filter: str groupBy: str @@ -15,40 +13,40 @@ class AgenticQueryInfo(typing_extensions.TypedDict, total=False): view: str @typing.type_check_only -class Array(typing_extensions.TypedDict, total=False): +class Array(typing.TypedDict, total=False): element: _list[ValueProto] @typing.type_check_only -class BillingData(typing_extensions.TypedDict, total=False): +class BillingData(typing.TypedDict, total=False): columnInfo: _list[ColumnInfo] rows: _list[Row] @typing.type_check_only -class BillingDataResource(typing_extensions.TypedDict, total=False): +class BillingDataResource(typing.TypedDict, total=False): billingAccount: str resource: str @typing.type_check_only -class ColumnInfo(typing_extensions.TypedDict, total=False): +class ColumnInfo(typing.TypedDict, total=False): column: str @typing.type_check_only -class DataSet(typing_extensions.TypedDict, total=False): +class DataSet(typing.TypedDict, total=False): billingData: BillingData queryInfo: AgenticQueryInfo suggestedChart: SuggestedChart @typing.type_check_only -class Datetime(typing_extensions.TypedDict, total=False): +class Datetime(typing.TypedDict, total=False): bitFieldDatetimeSeconds: str nanos: int @typing.type_check_only -class Decimal(typing_extensions.TypedDict, total=False): +class Decimal(typing.TypedDict, total=False): value: str @typing.type_check_only -class FinalResult(typing_extensions.TypedDict, total=False): +class FinalResult(typing.TypedDict, total=False): dataSets: _list[DataSet] fullAnalysis: str insights: _list[Insight] @@ -57,7 +55,7 @@ class FinalResult(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class GenerateInsightsRequest(typing_extensions.TypedDict, total=False): +class GenerateInsightsRequest(typing.TypedDict, total=False): filter: str overriddenMaxIterationCounts: int parents: _list[BillingDataResource] @@ -65,7 +63,7 @@ class GenerateInsightsRequest(typing_extensions.TypedDict, total=False): userContext: UserContext @typing.type_check_only -class GenerateInsightsResponse(typing_extensions.TypedDict, total=False): +class GenerateInsightsResponse(typing.TypedDict, total=False): finalResult: FinalResult rejection: Rejection summaryChunk: str @@ -73,18 +71,16 @@ class GenerateInsightsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - interval: typing_extensions.Literal[ + interval: typing.Literal[ "INTERVAL_UNSPECIFIED", "INTERVAL_MONTHLY", "INTERVAL_DAILY" ] - level: typing_extensions.Literal[ - "LEVEL_UNSPECIFIED", "LEVEL_ACCOUNT", "LEVEL_PROJECT" - ] + level: typing.Literal["LEVEL_UNSPECIFIED", "LEVEL_ACCOUNT", "LEVEL_PROJECT"] @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currencyCode: str name: str @@ -94,12 +90,12 @@ class GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice( @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaDefaultPrice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaFixedDiscount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): discountPercent: Decimal discountScopeType: str @@ -108,12 +104,12 @@ class GoogleCloudBillingBillingaccountpricesV1betaFixedDiscount( @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaFixedPrice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): discountPercent: Decimal discountScopeType: str @@ -121,7 +117,7 @@ class GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount( @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountPrices: _list[ GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice @@ -130,23 +126,23 @@ class GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesRespon @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaListPriceAsCeiling( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaMergedPrice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceSku: str @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaPriceReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultPrice: GoogleCloudBillingBillingaccountpricesV1betaDefaultPrice fixedDiscount: GoogleCloudBillingBillingaccountpricesV1betaFixedDiscount @@ -158,16 +154,14 @@ class GoogleCloudBillingBillingaccountpricesV1betaPriceReason( type: str @typing.type_check_only -class GoogleCloudBillingBillingaccountpricesV1betaRate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingBillingaccountpricesV1betaRate(typing.TypedDict, total=False): aggregationInfo: GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo tiers: _list[GoogleCloudBillingBillingaccountpricesV1betaRateTier] unitInfo: GoogleCloudBillingBillingaccountpricesV1betaUnitInfo @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaRateTier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contractPrice: Money effectiveDiscountPercent: Decimal @@ -176,7 +170,7 @@ class GoogleCloudBillingBillingaccountpricesV1betaRateTier( @typing.type_check_only class GoogleCloudBillingBillingaccountpricesV1betaUnitInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): unit: str unitDescription: str @@ -184,7 +178,7 @@ class GoogleCloudBillingBillingaccountpricesV1betaUnitInfo( @typing.type_check_only class GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -192,7 +186,7 @@ class GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService( @typing.type_check_only class GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountServices: _list[ GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService @@ -201,14 +195,14 @@ class GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesRe @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountSkuGroups: _list[ GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup @@ -217,7 +211,7 @@ class GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroups @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountService: str displayName: str @@ -228,7 +222,7 @@ class GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSk @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): globalMetadata: GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyGlobal multiRegionalMetadata: ( @@ -237,36 +231,36 @@ class GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy( regionalMetadata: ( GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegional ) - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_GLOBAL", "TYPE_REGIONAL", "TYPE_MULTI_REGIONAL" ] @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyGlobal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyMultiRegional( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regions: _list[GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion] @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegional( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGroupSkusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountSkuGroupSkus: _list[ GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku @@ -275,7 +269,7 @@ class GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGro @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaProductTaxonomy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): taxonomyCategories: _list[ GoogleCloudBillingBillingaccountskugroupskusV1betaTaxonomyCategory @@ -283,13 +277,13 @@ class GoogleCloudBillingBillingaccountskugroupskusV1betaProductTaxonomy( @typing.type_check_only class GoogleCloudBillingBillingaccountskugroupskusV1betaTaxonomyCategory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): category: str @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountService: str displayName: str @@ -300,43 +294,43 @@ class GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku( @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): globalMetadata: GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyGlobal multiRegionalMetadata: ( GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyMultiRegional ) regionalMetadata: GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegional - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_GLOBAL", "TYPE_REGIONAL", "TYPE_MULTI_REGIONAL" ] @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyGlobal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyMultiRegional( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regions: _list[GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegion] @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegional( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomyRegion @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountSkus: _list[ GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku @@ -345,7 +339,7 @@ class GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse( @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaProductTaxonomy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): taxonomyCategories: _list[ GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory @@ -353,117 +347,105 @@ class GoogleCloudBillingBillingaccountskusV1betaProductTaxonomy( @typing.type_check_only class GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): category: str @typing.type_check_only -class GoogleCloudBillingPricesV1betaAggregationInfo( - typing_extensions.TypedDict, total=False -): - interval: typing_extensions.Literal[ +class GoogleCloudBillingPricesV1betaAggregationInfo(typing.TypedDict, total=False): + interval: typing.Literal[ "INTERVAL_UNSPECIFIED", "INTERVAL_MONTHLY", "INTERVAL_DAILY" ] - level: typing_extensions.Literal[ - "LEVEL_UNSPECIFIED", "LEVEL_ACCOUNT", "LEVEL_PROJECT" - ] + level: typing.Literal["LEVEL_UNSPECIFIED", "LEVEL_ACCOUNT", "LEVEL_PROJECT"] @typing.type_check_only -class GoogleCloudBillingPricesV1betaListPricesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingPricesV1betaListPricesResponse(typing.TypedDict, total=False): nextPageToken: str prices: _list[GoogleCloudBillingPricesV1betaPrice] @typing.type_check_only -class GoogleCloudBillingPricesV1betaPrice(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingPricesV1betaPrice(typing.TypedDict, total=False): currencyCode: str name: str rate: GoogleCloudBillingPricesV1betaRate valueType: str @typing.type_check_only -class GoogleCloudBillingPricesV1betaRate(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingPricesV1betaRate(typing.TypedDict, total=False): aggregationInfo: GoogleCloudBillingPricesV1betaAggregationInfo tiers: _list[GoogleCloudBillingPricesV1betaRateTier] unitInfo: GoogleCloudBillingPricesV1betaUnitInfo @typing.type_check_only -class GoogleCloudBillingPricesV1betaRateTier(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingPricesV1betaRateTier(typing.TypedDict, total=False): listPrice: Money startAmount: Decimal @typing.type_check_only -class GoogleCloudBillingPricesV1betaUnitInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudBillingPricesV1betaUnitInfo(typing.TypedDict, total=False): unit: str unitDescription: str unitQuantity: Decimal @typing.type_check_only class GoogleCloudBillingSkugroupsV1betaListSkuGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str skuGroups: _list[GoogleCloudBillingSkugroupsV1betaSkuGroup] @typing.type_check_only -class GoogleCloudBillingSkugroupsV1betaSkuGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingSkugroupsV1betaSkuGroup(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy(typing.TypedDict, total=False): globalMetadata: GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyGlobal multiRegionalMetadata: GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyMultiRegional regionalMetadata: GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegional - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_GLOBAL", "TYPE_REGIONAL", "TYPE_MULTI_REGIONAL" ] @typing.type_check_only class GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyGlobal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyMultiRegional( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regions: _list[GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion] @typing.type_check_only class GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str @typing.type_check_only class GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegional( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion @typing.type_check_only class GoogleCloudBillingSkugroupskusV1betaListSkuGroupSkusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str skuGroupSkus: _list[GoogleCloudBillingSkugroupskusV1betaSkuGroupSku] @typing.type_check_only class GoogleCloudBillingSkugroupskusV1betaProductTaxonomy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): taxonomyCategories: _list[GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory] @typing.type_check_only -class GoogleCloudBillingSkugroupskusV1betaSkuGroupSku( - typing_extensions.TypedDict, total=False -): +class GoogleCloudBillingSkugroupskusV1betaSkuGroupSku(typing.TypedDict, total=False): displayName: str geoTaxonomy: GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy name: str @@ -473,63 +455,61 @@ class GoogleCloudBillingSkugroupskusV1betaSkuGroupSku( @typing.type_check_only class GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): category: str @typing.type_check_only -class Insight(typing_extensions.TypedDict, total=False): +class Insight(typing.TypedDict, total=False): description: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "CRITICAL" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "INFO", "WARNING", "CRITICAL"] title: str @typing.type_check_only -class InteropLink(typing_extensions.TypedDict, total=False): +class InteropLink(typing.TypedDict, total=False): label: str - linkType: typing_extensions.Literal[ + linkType: typing.Literal[ "LINK_TYPE_UNSPECIFIED", "COST_REPORT", "BQE_QUERY", "FINOPS_HUB" ] url: str @typing.type_check_only -class Map(typing_extensions.TypedDict, total=False): +class Map(typing.TypedDict, total=False): entry: _list[MapEntry] @typing.type_check_only -class MapEntry(typing_extensions.TypedDict, total=False): +class MapEntry(typing.TypedDict, total=False): key: ValueProto value: ValueProto @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Range(typing_extensions.TypedDict, total=False): +class Range(typing.TypedDict, total=False): end: ValueProto start: ValueProto @typing.type_check_only -class Rejection(typing_extensions.TypedDict, total=False): +class Rejection(typing.TypedDict, total=False): displayMessage: str - reason: typing_extensions.Literal["REASON_UNSPECIFIED", "EXPLICIT_OUT_OF_SCOPE"] + reason: typing.Literal["REASON_UNSPECIFIED", "EXPLICIT_OUT_OF_SCOPE"] @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): values: _list[ValueProto] @typing.type_check_only -class Struct(typing_extensions.TypedDict, total=False): +class Struct(typing.TypedDict, total=False): field: _list[ValueProto] @typing.type_check_only -class SuggestedChart(typing_extensions.TypedDict, total=False): +class SuggestedChart(typing.TypedDict, total=False): chartTitle: str - chartType: typing_extensions.Literal[ + chartType: typing.Literal[ "CHART_TYPE_UNSPECIFIED", "BAR_CHART", "UNCHARTABLE", "LINE_CHART", "AREA_CHART" ] seriesField: str @@ -539,18 +519,16 @@ class SuggestedChart(typing_extensions.TypedDict, total=False): yAxisLabel: str @typing.type_check_only -class SuggestedQuery(typing_extensions.TypedDict, total=False): +class SuggestedQuery(typing.TypedDict, total=False): query: str @typing.type_check_only -class UserContext(typing_extensions.TypedDict, total=False): - persona: typing_extensions.Literal[ - "PERSONA_UNSPECIFIED", "FINOPS_MANAGER", "DEVELOPER" - ] +class UserContext(typing.TypedDict, total=False): + persona: typing.Literal["PERSONA_UNSPECIFIED", "FINOPS_MANAGER", "DEVELOPER"] role: str @typing.type_check_only -class ValueProto(typing_extensions.TypedDict, total=False): +class ValueProto(typing.TypedDict, total=False): ValueProtoSwitchMustHaveADefault: bool arrayValue: Array bignumericValue: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1/resources.pyi index e5ff3a5b6..df74b0efa 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi index 1929628be..2c7d57206 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi @@ -1,38 +1,36 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApprovalConfig(typing_extensions.TypedDict, total=False): +class ApprovalConfig(typing.TypedDict, total=False): approvalRequired: bool @typing.type_check_only -class ApprovalResult(typing_extensions.TypedDict, total=False): +class ApprovalResult(typing.TypedDict, total=False): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only -class ApproveBuildRequest(typing_extensions.TypedDict, total=False): +class ApproveBuildRequest(typing.TypedDict, total=False): approvalResult: ApprovalResult @typing.type_check_only -class ArtifactObjects(typing_extensions.TypedDict, total=False): +class ArtifactObjects(typing.TypedDict, total=False): location: str paths: _list[str] timing: TimeSpan @typing.type_check_only -class ArtifactResult(typing_extensions.TypedDict, total=False): +class ArtifactResult(typing.TypedDict, total=False): fileHash: _list[FileHashes] location: str @typing.type_check_only -class Artifacts(typing_extensions.TypedDict, total=False): +class Artifacts(typing.TypedDict, total=False): genericArtifacts: _list[GenericArtifact] goModules: _list[GoModule] images: _list[str] @@ -44,46 +42,42 @@ class Artifacts(typing_extensions.TypedDict, total=False): @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[CreateBitbucketServerConnectedRepositoryRequest] @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bitbucketServerConnectedRepositories: _list[BitbucketServerConnectedRepository] @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BatchCreateGitLabConnectedRepositoriesRequest( - typing_extensions.TypedDict, total=False -): +class BatchCreateGitLabConnectedRepositoriesRequest(typing.TypedDict, total=False): requests: _list[CreateGitLabConnectedRepositoryRequest] @typing.type_check_only -class BatchCreateGitLabConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False -): +class BatchCreateGitLabConnectedRepositoriesResponse(typing.TypedDict, total=False): gitlabConnectedRepositories: _list[GitLabConnectedRepository] @typing.type_check_only class BatchCreateGitLabConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BitbucketServerConfig(typing_extensions.TypedDict, total=False): +class BitbucketServerConfig(typing.TypedDict, total=False): apiKey: str connectedRepositories: _list[BitbucketServerRepositoryId] createTime: str @@ -97,13 +91,13 @@ class BitbucketServerConfig(typing_extensions.TypedDict, total=False): webhookKey: str @typing.type_check_only -class BitbucketServerConnectedRepository(typing_extensions.TypedDict, total=False): +class BitbucketServerConnectedRepository(typing.TypedDict, total=False): parent: str repo: BitbucketServerRepositoryId status: Status @typing.type_check_only -class BitbucketServerRepository(typing_extensions.TypedDict, total=False): +class BitbucketServerRepository(typing.TypedDict, total=False): browseUri: str description: str displayName: str @@ -111,19 +105,19 @@ class BitbucketServerRepository(typing_extensions.TypedDict, total=False): repoId: BitbucketServerRepositoryId @typing.type_check_only -class BitbucketServerRepositoryId(typing_extensions.TypedDict, total=False): +class BitbucketServerRepositoryId(typing.TypedDict, total=False): projectKey: str repoSlug: str webhookId: int @typing.type_check_only -class BitbucketServerSecrets(typing_extensions.TypedDict, total=False): +class BitbucketServerSecrets(typing.TypedDict, total=False): adminAccessTokenVersionName: str readAccessTokenVersionName: str webhookSecretVersionName: str @typing.type_check_only -class BitbucketServerTriggerConfig(typing_extensions.TypedDict, total=False): +class BitbucketServerTriggerConfig(typing.TypedDict, total=False): bitbucketServerConfig: BitbucketServerConfig bitbucketServerConfigResource: str projectKey: str @@ -132,7 +126,7 @@ class BitbucketServerTriggerConfig(typing_extensions.TypedDict, total=False): repoSlug: str @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): approval: BuildApproval artifacts: Artifacts availableSecrets: Secrets @@ -156,7 +150,7 @@ class Build(typing_extensions.TypedDict, total=False): source: Source sourceProvenance: SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -177,21 +171,21 @@ class Build(typing_extensions.TypedDict, total=False): warnings: _list[Warning] @typing.type_check_only -class BuildApproval(typing_extensions.TypedDict, total=False): +class BuildApproval(typing.TypedDict, total=False): config: ApprovalConfig result: ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only -class BuildOperationMetadata(typing_extensions.TypedDict, total=False): +class BuildOperationMetadata(typing.TypedDict, total=False): build: Build @typing.type_check_only -class BuildOptions(typing_extensions.TypedDict, total=False): +class BuildOptions(typing.TypedDict, total=False): automapSubstitutions: bool - defaultLogsBucketBehavior: typing_extensions.Literal[ + defaultLogsBucketBehavior: typing.Literal[ "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", "REGIONAL_USER_OWNED_BUCKET", "LEGACY_BUCKET", @@ -200,10 +194,8 @@ class BuildOptions(typing_extensions.TypedDict, total=False): dynamicSubstitutions: bool enableStructuredLogging: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -211,29 +203,30 @@ class BuildOptions(typing_extensions.TypedDict, total=False): "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", "E2_HIGHCPU_8", "E2_HIGHCPU_32", "E2_MEDIUM", + "E2_STANDARD_2", ] pool: PoolOption pubsubTopic: str - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal[ + typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] ] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[Volume] workerPool: str @typing.type_check_only -class BuildStep(typing_extensions.TypedDict, total=False): +class BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -248,7 +241,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): results: _list[StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -266,11 +259,11 @@ class BuildStep(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class BuildStepResults(typing_extensions.TypedDict, total=False): +class BuildStepResults(typing.TypedDict, total=False): results: dict[str, typing.Any] @typing.type_check_only -class BuildTrigger(typing_extensions.TypedDict, total=False): +class BuildTrigger(typing.TypedDict, total=False): approvalConfig: ApprovalConfig autodetect: bool bitbucketServerTriggerConfig: BitbucketServerTriggerConfig @@ -279,7 +272,7 @@ class BuildTrigger(typing_extensions.TypedDict, total=False): description: str developerConnectEventConfig: DeveloperConnectEventConfig disabled: bool - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "REPO", "WEBHOOK", "PUBSUB", "MANUAL" ] filename: str @@ -289,7 +282,7 @@ class BuildTrigger(typing_extensions.TypedDict, total=False): gitlabEnterpriseEventsConfig: GitLabEventsConfig id: str ignoredFiles: _list[str] - includeBuildLogs: typing_extensions.Literal[ + includeBuildLogs: typing.Literal[ "INCLUDE_BUILD_LOGS_UNSPECIFIED", "INCLUDE_BUILD_LOGS_WITH_STATUS" ] includedFiles: _list[str] @@ -305,119 +298,109 @@ class BuildTrigger(typing_extensions.TypedDict, total=False): webhookConfig: WebhookConfig @typing.type_check_only -class BuiltImage(typing_extensions.TypedDict, total=False): +class BuiltImage(typing.TypedDict, total=False): artifactRegistryPackage: str digest: str name: str - ociMediaType: typing_extensions.Literal[ + ociMediaType: typing.Literal[ "OCI_MEDIA_TYPE_UNSPECIFIED", "IMAGE_MANIFEST", "IMAGE_INDEX" ] pushTiming: TimeSpan @typing.type_check_only -class CancelBuildRequest(typing_extensions.TypedDict, total=False): +class CancelBuildRequest(typing.TypedDict, total=False): id: str name: str projectId: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ConnectedRepository(typing_extensions.TypedDict, total=False): +class ConnectedRepository(typing.TypedDict, total=False): dir: str repository: str revision: str @typing.type_check_only -class CreateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class CreateBitbucketServerConnectedRepositoryRequest( - typing_extensions.TypedDict, total=False -): +class CreateBitbucketServerConnectedRepositoryRequest(typing.TypedDict, total=False): bitbucketServerConnectedRepository: BitbucketServerConnectedRepository parent: str @typing.type_check_only -class CreateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class CreateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class CreateGitLabConnectedRepositoryRequest(typing_extensions.TypedDict, total=False): +class CreateGitLabConnectedRepositoryRequest(typing.TypedDict, total=False): gitlabConnectedRepository: GitLabConnectedRepository parent: str @typing.type_check_only -class CreateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class DefaultServiceAccount(typing_extensions.TypedDict, total=False): +class DefaultServiceAccount(typing.TypedDict, total=False): name: str serviceAccountEmail: str @typing.type_check_only -class DeleteBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class DeleteGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class DeleteGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class DeleteWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class Dependency(typing_extensions.TypedDict, total=False): +class Dependency(typing.TypedDict, total=False): empty: bool genericArtifact: GenericArtifactDependency gitSource: GitSourceDependency @typing.type_check_only -class DeveloperConnectConfig(typing_extensions.TypedDict, total=False): +class DeveloperConnectConfig(typing.TypedDict, total=False): dir: str gitRepositoryLink: str revision: str @typing.type_check_only -class DeveloperConnectEventConfig(typing_extensions.TypedDict, total=False): +class DeveloperConnectEventConfig(typing.TypedDict, total=False): gitRepositoryLink: str - gitRepositoryLinkType: typing_extensions.Literal[ + gitRepositoryLinkType: typing.Literal[ "GIT_REPOSITORY_LINK_TYPE_UNSPECIFIED", "GITHUB", "GITHUB_ENTERPRISE", @@ -430,12 +413,12 @@ class DeveloperConnectEventConfig(typing_extensions.TypedDict, total=False): push: PushFilter @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FailureInfo(typing_extensions.TypedDict, total=False): +class FailureInfo(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -446,29 +429,29 @@ class FailureInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class GenericArtifact(typing_extensions.TypedDict, total=False): +class GenericArtifact(typing.TypedDict, total=False): folder: str registryPath: str @typing.type_check_only -class GenericArtifactDependency(typing_extensions.TypedDict, total=False): +class GenericArtifactDependency(typing.TypedDict, total=False): destPath: str resource: str @typing.type_check_only -class GitConfig(typing_extensions.TypedDict, total=False): +class GitConfig(typing.TypedDict, total=False): http: HttpConfig @typing.type_check_only -class GitFileSource(typing_extensions.TypedDict, total=False): +class GitFileSource(typing.TypedDict, total=False): bitbucketServerConfig: str githubEnterpriseConfig: str path: str - repoType: typing_extensions.Literal[ + repoType: typing.Literal[ "UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", @@ -481,7 +464,7 @@ class GitFileSource(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class GitHubEnterpriseConfig(typing_extensions.TypedDict, total=False): +class GitHubEnterpriseConfig(typing.TypedDict, total=False): appId: str createTime: str displayName: str @@ -493,7 +476,7 @@ class GitHubEnterpriseConfig(typing_extensions.TypedDict, total=False): webhookKey: str @typing.type_check_only -class GitHubEnterpriseSecrets(typing_extensions.TypedDict, total=False): +class GitHubEnterpriseSecrets(typing.TypedDict, total=False): oauthClientIdName: str oauthClientIdVersionName: str oauthSecretName: str @@ -504,7 +487,7 @@ class GitHubEnterpriseSecrets(typing_extensions.TypedDict, total=False): webhookSecretVersionName: str @typing.type_check_only -class GitHubEventsConfig(typing_extensions.TypedDict, total=False): +class GitHubEventsConfig(typing.TypedDict, total=False): enterpriseConfigResourceName: str installationId: str name: str @@ -513,7 +496,7 @@ class GitHubEventsConfig(typing_extensions.TypedDict, total=False): push: PushFilter @typing.type_check_only -class GitLabConfig(typing_extensions.TypedDict, total=False): +class GitLabConfig(typing.TypedDict, total=False): connectedRepositories: _list[GitLabRepositoryId] createTime: str enterpriseConfig: GitLabEnterpriseConfig @@ -523,19 +506,19 @@ class GitLabConfig(typing_extensions.TypedDict, total=False): webhookKey: str @typing.type_check_only -class GitLabConnectedRepository(typing_extensions.TypedDict, total=False): +class GitLabConnectedRepository(typing.TypedDict, total=False): parent: str repo: GitLabRepositoryId status: Status @typing.type_check_only -class GitLabEnterpriseConfig(typing_extensions.TypedDict, total=False): +class GitLabEnterpriseConfig(typing.TypedDict, total=False): hostUri: str serviceDirectoryConfig: ServiceDirectoryConfig sslCa: str @typing.type_check_only -class GitLabEventsConfig(typing_extensions.TypedDict, total=False): +class GitLabEventsConfig(typing.TypedDict, total=False): gitlabConfig: GitLabConfig gitlabConfigResource: str projectNamespace: str @@ -543,7 +526,7 @@ class GitLabEventsConfig(typing_extensions.TypedDict, total=False): push: PushFilter @typing.type_check_only -class GitLabRepository(typing_extensions.TypedDict, total=False): +class GitLabRepository(typing.TypedDict, total=False): browseUri: str description: str displayName: str @@ -551,23 +534,23 @@ class GitLabRepository(typing_extensions.TypedDict, total=False): repositoryId: GitLabRepositoryId @typing.type_check_only -class GitLabRepositoryId(typing_extensions.TypedDict, total=False): +class GitLabRepositoryId(typing.TypedDict, total=False): id: str webhookId: int @typing.type_check_only -class GitLabSecrets(typing_extensions.TypedDict, total=False): +class GitLabSecrets(typing.TypedDict, total=False): apiAccessTokenVersion: str apiKeyVersion: str readAccessTokenVersion: str webhookSecretVersion: str @typing.type_check_only -class GitRepoSource(typing_extensions.TypedDict, total=False): +class GitRepoSource(typing.TypedDict, total=False): bitbucketServerConfig: str githubEnterpriseConfig: str ref: str - repoType: typing_extensions.Literal[ + repoType: typing.Literal[ "UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", @@ -579,13 +562,13 @@ class GitRepoSource(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class GitSource(typing_extensions.TypedDict, total=False): +class GitSource(typing.TypedDict, total=False): dir: str revision: str url: str @typing.type_check_only -class GitSourceDependency(typing_extensions.TypedDict, total=False): +class GitSourceDependency(typing.TypedDict, total=False): depth: str destPath: str recurseSubmodules: bool @@ -593,12 +576,12 @@ class GitSourceDependency(typing_extensions.TypedDict, total=False): revision: str @typing.type_check_only -class GitSourceRepository(typing_extensions.TypedDict, total=False): +class GitSourceRepository(typing.TypedDict, total=False): developerConnect: str url: str @typing.type_check_only -class GoModule(typing_extensions.TypedDict, total=False): +class GoModule(typing.TypedDict, total=False): modulePath: str moduleVersion: str repositoryLocation: str @@ -607,68 +590,68 @@ class GoModule(typing_extensions.TypedDict, total=False): sourcePath: str @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class Hash(typing.TypedDict, total=False): + type: typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class HttpConfig(typing_extensions.TypedDict, total=False): +class HttpConfig(typing.TypedDict, total=False): proxySecretVersionName: str @typing.type_check_only -class InlineSecret(typing_extensions.TypedDict, total=False): +class InlineSecret(typing.TypedDict, total=False): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only -class ListBitbucketServerConfigsResponse(typing_extensions.TypedDict, total=False): +class ListBitbucketServerConfigsResponse(typing.TypedDict, total=False): bitbucketServerConfigs: _list[BitbucketServerConfig] nextPageToken: str @typing.type_check_only -class ListBitbucketServerRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListBitbucketServerRepositoriesResponse(typing.TypedDict, total=False): bitbucketServerRepositories: _list[BitbucketServerRepository] nextPageToken: str @typing.type_check_only -class ListBuildTriggersResponse(typing_extensions.TypedDict, total=False): +class ListBuildTriggersResponse(typing.TypedDict, total=False): nextPageToken: str triggers: _list[BuildTrigger] @typing.type_check_only -class ListBuildsResponse(typing_extensions.TypedDict, total=False): +class ListBuildsResponse(typing.TypedDict, total=False): builds: _list[Build] nextPageToken: str @typing.type_check_only -class ListGitLabConfigsResponse(typing_extensions.TypedDict, total=False): +class ListGitLabConfigsResponse(typing.TypedDict, total=False): gitlabConfigs: _list[GitLabConfig] nextPageToken: str @typing.type_check_only -class ListGitLabRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListGitLabRepositoriesResponse(typing.TypedDict, total=False): gitlabRepositories: _list[GitLabRepository] nextPageToken: str @typing.type_check_only -class ListGithubEnterpriseConfigsResponse(typing_extensions.TypedDict, total=False): +class ListGithubEnterpriseConfigsResponse(typing.TypedDict, total=False): configs: _list[GitHubEnterpriseConfig] @typing.type_check_only -class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): +class ListWorkerPoolsResponse(typing.TypedDict, total=False): nextPageToken: str workerPools: _list[WorkerPool] @typing.type_check_only -class MavenArtifact(typing_extensions.TypedDict, total=False): +class MavenArtifact(typing.TypedDict, total=False): artifactId: str deployFolder: str groupId: str @@ -677,26 +660,26 @@ class MavenArtifact(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - egressOption: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + egressOption: typing.Literal[ "EGRESS_OPTION_UNSPECIFIED", "NO_PUBLIC_EGRESS", "PUBLIC_EGRESS" ] peeredNetwork: str peeredNetworkIpRange: str @typing.type_check_only -class NpmPackage(typing_extensions.TypedDict, total=False): +class NpmPackage(typing.TypedDict, total=False): packagePath: str repository: str @typing.type_check_only -class Oci(typing_extensions.TypedDict, total=False): +class Oci(typing.TypedDict, total=False): file: str registryPath: str tags: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -704,7 +687,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -714,33 +697,31 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PoolOption(typing_extensions.TypedDict, total=False): +class PoolOption(typing.TypedDict, total=False): name: str @typing.type_check_only -class PrivatePoolV1Config(typing_extensions.TypedDict, total=False): +class PrivatePoolV1Config(typing.TypedDict, total=False): networkConfig: NetworkConfig privateServiceConnect: PrivateServiceConnect workerConfig: WorkerConfig @typing.type_check_only -class PrivateServiceConnect(typing_extensions.TypedDict, total=False): +class PrivateServiceConnect(typing.TypedDict, total=False): networkAttachment: str publicIpAddressDisabled: bool routeAllTraffic: bool @typing.type_check_only -class ProcessAppManifestCallbackOperationMetadata( - typing_extensions.TypedDict, total=False -): +class ProcessAppManifestCallbackOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class PubsubConfig(typing_extensions.TypedDict, total=False): +class PubsubConfig(typing.TypedDict, total=False): serviceAccountEmail: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "OK", "SUBSCRIPTION_DELETED", @@ -751,9 +732,9 @@ class PubsubConfig(typing_extensions.TypedDict, total=False): topic: str @typing.type_check_only -class PullRequestFilter(typing_extensions.TypedDict, total=False): +class PullRequestFilter(typing.TypedDict, total=False): branch: str - commentControl: typing_extensions.Literal[ + commentControl: typing.Literal[ "COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY", @@ -761,31 +742,29 @@ class PullRequestFilter(typing_extensions.TypedDict, total=False): invertRegex: bool @typing.type_check_only -class PushFilter(typing_extensions.TypedDict, total=False): +class PushFilter(typing.TypedDict, total=False): branch: str invertRegex: bool tag: str @typing.type_check_only -class PythonPackage(typing_extensions.TypedDict, total=False): +class PythonPackage(typing.TypedDict, total=False): paths: _list[str] repository: str @typing.type_check_only -class ReceiveTriggerWebhookResponse(typing_extensions.TypedDict, total=False): ... +class ReceiveTriggerWebhookResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveBitbucketServerConnectedRepositoryRequest( - typing_extensions.TypedDict, total=False -): +class RemoveBitbucketServerConnectedRepositoryRequest(typing.TypedDict, total=False): connectedRepository: BitbucketServerRepositoryId @typing.type_check_only -class RemoveGitLabConnectedRepositoryRequest(typing_extensions.TypedDict, total=False): +class RemoveGitLabConnectedRepositoryRequest(typing.TypedDict, total=False): connectedRepository: GitLabRepositoryId @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -796,11 +775,11 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class RepositoryEventConfig(typing_extensions.TypedDict, total=False): +class RepositoryEventConfig(typing.TypedDict, total=False): pullRequest: PullRequestFilter push: PushFilter repository: str - repositoryType: typing_extensions.Literal[ + repositoryType: typing.Literal[ "REPOSITORY_TYPE_UNSPECIFIED", "GITHUB", "GITHUB_ENTERPRISE", @@ -810,7 +789,7 @@ class RepositoryEventConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Results(typing_extensions.TypedDict, total=False): +class Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: TimeSpan buildStepImages: _list[str] @@ -825,38 +804,38 @@ class Results(typing_extensions.TypedDict, total=False): pythonPackages: _list[UploadedPythonPackage] @typing.type_check_only -class RetryBuildRequest(typing_extensions.TypedDict, total=False): +class RetryBuildRequest(typing.TypedDict, total=False): id: str name: str projectId: str @typing.type_check_only -class RunBuildTriggerRequest(typing_extensions.TypedDict, total=False): +class RunBuildTriggerRequest(typing.TypedDict, total=False): projectId: str source: RepoSource triggerId: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only -class SecretManagerSecret(typing_extensions.TypedDict, total=False): +class SecretManagerSecret(typing.TypedDict, total=False): env: str versionName: str @typing.type_check_only -class Secrets(typing_extensions.TypedDict, total=False): +class Secrets(typing.TypedDict, total=False): inline: _list[InlineSecret] secretManager: _list[SecretManagerSecret] @typing.type_check_only -class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): +class ServiceDirectoryConfig(typing.TypedDict, total=False): service: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): connectedRepository: ConnectedRepository developerConnectConfig: DeveloperConnectConfig gitSource: GitSource @@ -865,7 +844,7 @@ class Source(typing_extensions.TypedDict, total=False): storageSourceManifest: StorageSourceManifest @typing.type_check_only -class SourceProvenance(typing_extensions.TypedDict, total=False): +class SourceProvenance(typing.TypedDict, total=False): fileHashes: dict[str, typing.Any] resolvedConnectedRepository: ConnectedRepository resolvedGitSource: GitSource @@ -874,67 +853,61 @@ class SourceProvenance(typing_extensions.TypedDict, total=False): resolvedStorageSourceManifest: StorageSourceManifest @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StepResult(typing_extensions.TypedDict, total=False): +class StepResult(typing.TypedDict, total=False): attestationContent: str attestationType: str name: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str - sourceFetcher: typing_extensions.Literal[ - "SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER" - ] + sourceFetcher: typing.Literal["SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER"] @typing.type_check_only -class StorageSourceManifest(typing_extensions.TypedDict, total=False): +class StorageSourceManifest(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class TimeSpan(typing_extensions.TypedDict, total=False): +class TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class UpdateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class UpdateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class UpdateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class UploadedGenericArtifact(typing_extensions.TypedDict, total=False): +class UploadedGenericArtifact(typing.TypedDict, total=False): artifactFingerprint: FileHashes artifactRegistryPackage: str fileHashes: dict[str, typing.Any] @@ -942,58 +915,56 @@ class UploadedGenericArtifact(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class UploadedGoModule(typing_extensions.TypedDict, total=False): +class UploadedGoModule(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class UploadedMavenArtifact(typing_extensions.TypedDict, total=False): +class UploadedMavenArtifact(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class UploadedNpmPackage(typing_extensions.TypedDict, total=False): +class UploadedNpmPackage(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class UploadedPythonPackage(typing_extensions.TypedDict, total=False): +class UploadedPythonPackage(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class Warning(typing_extensions.TypedDict, total=False): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] +class Warning(typing.TypedDict, total=False): + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only -class WebhookConfig(typing_extensions.TypedDict, total=False): +class WebhookConfig(typing.TypedDict, total=False): secret: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "OK", "SECRET_DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "OK", "SECRET_DELETED"] @typing.type_check_only -class WorkerConfig(typing_extensions.TypedDict, total=False): +class WorkerConfig(typing.TypedDict, total=False): diskSizeGb: str enableNestedVirtualization: bool machineType: str @typing.type_check_only -class WorkerPool(typing_extensions.TypedDict, total=False): +class WorkerPool(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -1001,7 +972,7 @@ class WorkerPool(typing_extensions.TypedDict, total=False): etag: str name: str privatePoolV1Config: PrivatePoolV1Config - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "DELETING", "DELETED", "UPDATING" ] uid: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/resources.pyi index 9ffa43102..1f658b34d 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/schemas.pyi index 2c2284737..0f0fafd24 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1alpha1/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApprovalConfig(typing_extensions.TypedDict, total=False): +class ApprovalConfig(typing.TypedDict, total=False): approvalRequired: bool @typing.type_check_only -class ApprovalResult(typing_extensions.TypedDict, total=False): +class ApprovalResult(typing.TypedDict, total=False): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only -class ArtifactObjects(typing_extensions.TypedDict, total=False): +class ArtifactObjects(typing.TypedDict, total=False): location: str paths: _list[str] timing: TimeSpan @typing.type_check_only -class ArtifactResult(typing_extensions.TypedDict, total=False): +class ArtifactResult(typing.TypedDict, total=False): fileHash: _list[FileHashes] location: str @typing.type_check_only -class Artifacts(typing_extensions.TypedDict, total=False): +class Artifacts(typing.TypedDict, total=False): images: _list[str] mavenArtifacts: _list[MavenArtifact] objects: ArtifactObjects @@ -36,50 +34,48 @@ class Artifacts(typing_extensions.TypedDict, total=False): @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bitbucketServerConnectedRepositories: _list[BitbucketServerConnectedRepository] @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BatchCreateGitLabConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False -): +class BatchCreateGitLabConnectedRepositoriesResponse(typing.TypedDict, total=False): gitlabConnectedRepositories: _list[GitLabConnectedRepository] @typing.type_check_only class BatchCreateGitLabConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BatchCreateRepositoriesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateRepositoriesResponse(typing.TypedDict, total=False): repositories: _list[Repository] @typing.type_check_only -class BitbucketServerConnectedRepository(typing_extensions.TypedDict, total=False): +class BitbucketServerConnectedRepository(typing.TypedDict, total=False): parent: str repo: BitbucketServerRepositoryId status: Status @typing.type_check_only -class BitbucketServerRepositoryId(typing_extensions.TypedDict, total=False): +class BitbucketServerRepositoryId(typing.TypedDict, total=False): projectKey: str repoSlug: str webhookId: int @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): approval: BuildApproval artifacts: Artifacts availableSecrets: Secrets @@ -101,7 +97,7 @@ class Build(typing_extensions.TypedDict, total=False): source: Source sourceProvenance: SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -122,26 +118,24 @@ class Build(typing_extensions.TypedDict, total=False): warnings: _list[Warning] @typing.type_check_only -class BuildApproval(typing_extensions.TypedDict, total=False): +class BuildApproval(typing.TypedDict, total=False): config: ApprovalConfig result: ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only -class BuildOperationMetadata(typing_extensions.TypedDict, total=False): +class BuildOperationMetadata(typing.TypedDict, total=False): build: Build @typing.type_check_only -class BuildOptions(typing_extensions.TypedDict, total=False): +class BuildOptions(typing.TypedDict, total=False): diskSizeGb: str dynamicSubstitutions: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -149,19 +143,19 @@ class BuildOptions(typing_extensions.TypedDict, total=False): "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", "E2_HIGHCPU_8", "E2_HIGHCPU_32" ] pool: PoolOption - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] - sourceProvenanceHash: _list[typing_extensions.Literal["NONE", "SHA256", "MD5"]] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + sourceProvenanceHash: _list[typing.Literal["NONE", "SHA256", "MD5"]] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[Volume] workerPool: str @typing.type_check_only -class BuildStep(typing_extensions.TypedDict, total=False): +class BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -174,7 +168,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): pullTiming: TimeSpan script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -192,77 +186,69 @@ class BuildStep(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class BuiltImage(typing_extensions.TypedDict, total=False): +class BuiltImage(typing.TypedDict, total=False): digest: str name: str pushTiming: TimeSpan @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class CreateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class CreateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class CreateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class DeleteBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class DeleteGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class DeleteGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class DeleteWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FailureInfo(typing_extensions.TypedDict, total=False): +class FailureInfo(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -273,24 +259,22 @@ class FailureInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class GitLabConnectedRepository(typing_extensions.TypedDict, total=False): +class GitLabConnectedRepository(typing.TypedDict, total=False): parent: str repo: GitLabRepositoryId status: Status @typing.type_check_only -class GitLabRepositoryId(typing_extensions.TypedDict, total=False): +class GitLabRepositoryId(typing.TypedDict, total=False): id: str webhookId: int @typing.type_check_only -class GoogleDevtoolsCloudbuildV2OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV2OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -300,25 +284,25 @@ class GoogleDevtoolsCloudbuildV2OperationMetadata( verb: str @typing.type_check_only -class HTTPDelivery(typing_extensions.TypedDict, total=False): +class HTTPDelivery(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["NONE", "SHA256", "MD5"] +class Hash(typing.TypedDict, total=False): + type: typing.Literal["NONE", "SHA256", "MD5"] value: str @typing.type_check_only -class InlineSecret(typing_extensions.TypedDict, total=False): +class InlineSecret(typing.TypedDict, total=False): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only -class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): +class ListWorkerPoolsResponse(typing.TypedDict, total=False): workerPools: _list[WorkerPool] @typing.type_check_only -class MavenArtifact(typing_extensions.TypedDict, total=False): +class MavenArtifact(typing.TypedDict, total=False): artifactId: str groupId: str path: str @@ -326,13 +310,13 @@ class MavenArtifact(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): network: str projectId: str subnetwork: str @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): filter: str httpDelivery: HTTPDelivery slackDelivery: SlackDelivery @@ -340,33 +324,33 @@ class Notification(typing_extensions.TypedDict, total=False): structDelivery: dict[str, typing.Any] @typing.type_check_only -class NotifierConfig(typing_extensions.TypedDict, total=False): +class NotifierConfig(typing.TypedDict, total=False): apiVersion: str kind: str metadata: NotifierMetadata spec: NotifierSpec @typing.type_check_only -class NotifierMetadata(typing_extensions.TypedDict, total=False): +class NotifierMetadata(typing.TypedDict, total=False): name: str notifier: str @typing.type_check_only -class NotifierSecret(typing_extensions.TypedDict, total=False): +class NotifierSecret(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class NotifierSecretRef(typing_extensions.TypedDict, total=False): +class NotifierSecretRef(typing.TypedDict, total=False): secretRef: str @typing.type_check_only -class NotifierSpec(typing_extensions.TypedDict, total=False): +class NotifierSpec(typing.TypedDict, total=False): notification: Notification secrets: _list[NotifierSecret] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -374,7 +358,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -384,24 +368,22 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PoolOption(typing_extensions.TypedDict, total=False): +class PoolOption(typing.TypedDict, total=False): name: str @typing.type_check_only -class ProcessAppManifestCallbackOperationMetadata( - typing_extensions.TypedDict, total=False -): +class ProcessAppManifestCallbackOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class PythonPackage(typing_extensions.TypedDict, total=False): +class PythonPackage(typing.TypedDict, total=False): paths: _list[str] repository: str @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -412,7 +394,7 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -421,7 +403,7 @@ class Repository(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Results(typing_extensions.TypedDict, total=False): +class Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: TimeSpan buildStepImages: _list[str] @@ -432,7 +414,7 @@ class Results(typing_extensions.TypedDict, total=False): pythonPackages: _list[UploadedPythonPackage] @typing.type_check_only -class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=False): +class RunWorkflowCustomOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -442,7 +424,7 @@ class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class SMTPDelivery(typing_extensions.TypedDict, total=False): +class SMTPDelivery(typing.TypedDict, total=False): fromAddress: str password: NotifierSecretRef port: str @@ -451,132 +433,126 @@ class SMTPDelivery(typing_extensions.TypedDict, total=False): server: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only -class SecretManagerSecret(typing_extensions.TypedDict, total=False): +class SecretManagerSecret(typing.TypedDict, total=False): env: str versionName: str @typing.type_check_only -class Secrets(typing_extensions.TypedDict, total=False): +class Secrets(typing.TypedDict, total=False): inline: _list[InlineSecret] secretManager: _list[SecretManagerSecret] @typing.type_check_only -class SlackDelivery(typing_extensions.TypedDict, total=False): +class SlackDelivery(typing.TypedDict, total=False): webhookUri: NotifierSecretRef @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): repoSource: RepoSource storageSource: StorageSource storageSourceManifest: StorageSourceManifest @typing.type_check_only -class SourceProvenance(typing_extensions.TypedDict, total=False): +class SourceProvenance(typing.TypedDict, total=False): fileHashes: dict[str, typing.Any] resolvedRepoSource: RepoSource resolvedStorageSource: StorageSource resolvedStorageSourceManifest: StorageSourceManifest @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class StorageSourceManifest(typing_extensions.TypedDict, total=False): +class StorageSourceManifest(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class TimeSpan(typing_extensions.TypedDict, total=False): +class TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class UpdateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class UpdateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class UpdateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class UploadedMavenArtifact(typing_extensions.TypedDict, total=False): +class UploadedMavenArtifact(typing.TypedDict, total=False): fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class UploadedPythonPackage(typing_extensions.TypedDict, total=False): +class UploadedPythonPackage(typing.TypedDict, total=False): fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class Warning(typing_extensions.TypedDict, total=False): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] +class Warning(typing.TypedDict, total=False): + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only -class WorkerConfig(typing_extensions.TypedDict, total=False): +class WorkerConfig(typing.TypedDict, total=False): diskSizeGb: str machineType: str network: Network tag: str @typing.type_check_only -class WorkerPool(typing_extensions.TypedDict, total=False): +class WorkerPool(typing.TypedDict, total=False): createTime: str deleteTime: str name: str projectId: str regions: _list[ - typing_extensions.Literal[ + typing.Literal[ "REGION_UNSPECIFIED", "us-central1", "us-west1", "us-east1", "us-east4" ] ] serviceAccountEmail: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "CREATING", "RUNNING", "DELETING", "DELETED" ] updateTime: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/resources.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/resources.pyi index 89d515da8..d6b975c22 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/schemas.pyi index 38dc952ea..1573f347d 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1alpha2/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApprovalConfig(typing_extensions.TypedDict, total=False): +class ApprovalConfig(typing.TypedDict, total=False): approvalRequired: bool @typing.type_check_only -class ApprovalResult(typing_extensions.TypedDict, total=False): +class ApprovalResult(typing.TypedDict, total=False): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only -class ArtifactObjects(typing_extensions.TypedDict, total=False): +class ArtifactObjects(typing.TypedDict, total=False): location: str paths: _list[str] timing: TimeSpan @typing.type_check_only -class ArtifactResult(typing_extensions.TypedDict, total=False): +class ArtifactResult(typing.TypedDict, total=False): fileHash: _list[FileHashes] location: str @typing.type_check_only -class Artifacts(typing_extensions.TypedDict, total=False): +class Artifacts(typing.TypedDict, total=False): images: _list[str] mavenArtifacts: _list[MavenArtifact] objects: ArtifactObjects @@ -36,50 +34,48 @@ class Artifacts(typing_extensions.TypedDict, total=False): @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bitbucketServerConnectedRepositories: _list[BitbucketServerConnectedRepository] @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BatchCreateGitLabConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False -): +class BatchCreateGitLabConnectedRepositoriesResponse(typing.TypedDict, total=False): gitlabConnectedRepositories: _list[GitLabConnectedRepository] @typing.type_check_only class BatchCreateGitLabConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BatchCreateRepositoriesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateRepositoriesResponse(typing.TypedDict, total=False): repositories: _list[Repository] @typing.type_check_only -class BitbucketServerConnectedRepository(typing_extensions.TypedDict, total=False): +class BitbucketServerConnectedRepository(typing.TypedDict, total=False): parent: str repo: BitbucketServerRepositoryId status: Status @typing.type_check_only -class BitbucketServerRepositoryId(typing_extensions.TypedDict, total=False): +class BitbucketServerRepositoryId(typing.TypedDict, total=False): projectKey: str repoSlug: str webhookId: int @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): approval: BuildApproval artifacts: Artifacts availableSecrets: Secrets @@ -101,7 +97,7 @@ class Build(typing_extensions.TypedDict, total=False): source: Source sourceProvenance: SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -122,26 +118,24 @@ class Build(typing_extensions.TypedDict, total=False): warnings: _list[Warning] @typing.type_check_only -class BuildApproval(typing_extensions.TypedDict, total=False): +class BuildApproval(typing.TypedDict, total=False): config: ApprovalConfig result: ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only -class BuildOperationMetadata(typing_extensions.TypedDict, total=False): +class BuildOperationMetadata(typing.TypedDict, total=False): build: Build @typing.type_check_only -class BuildOptions(typing_extensions.TypedDict, total=False): +class BuildOptions(typing.TypedDict, total=False): diskSizeGb: str dynamicSubstitutions: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -149,19 +143,19 @@ class BuildOptions(typing_extensions.TypedDict, total=False): "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", "E2_HIGHCPU_8", "E2_HIGHCPU_32" ] pool: PoolOption - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] - sourceProvenanceHash: _list[typing_extensions.Literal["NONE", "SHA256", "MD5"]] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + sourceProvenanceHash: _list[typing.Literal["NONE", "SHA256", "MD5"]] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[Volume] workerPool: str @typing.type_check_only -class BuildStep(typing_extensions.TypedDict, total=False): +class BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -174,7 +168,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): pullTiming: TimeSpan script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -192,77 +186,69 @@ class BuildStep(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class BuiltImage(typing_extensions.TypedDict, total=False): +class BuiltImage(typing.TypedDict, total=False): digest: str name: str pushTiming: TimeSpan @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class CreateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class CreateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class CreateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class DeleteBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class DeleteGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class DeleteGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class DeleteWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FailureInfo(typing_extensions.TypedDict, total=False): +class FailureInfo(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -273,24 +259,22 @@ class FailureInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class GitLabConnectedRepository(typing_extensions.TypedDict, total=False): +class GitLabConnectedRepository(typing.TypedDict, total=False): parent: str repo: GitLabRepositoryId status: Status @typing.type_check_only -class GitLabRepositoryId(typing_extensions.TypedDict, total=False): +class GitLabRepositoryId(typing.TypedDict, total=False): id: str webhookId: int @typing.type_check_only -class GoogleDevtoolsCloudbuildV2OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV2OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -300,25 +284,25 @@ class GoogleDevtoolsCloudbuildV2OperationMetadata( verb: str @typing.type_check_only -class HTTPDelivery(typing_extensions.TypedDict, total=False): +class HTTPDelivery(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["NONE", "SHA256", "MD5"] +class Hash(typing.TypedDict, total=False): + type: typing.Literal["NONE", "SHA256", "MD5"] value: str @typing.type_check_only -class InlineSecret(typing_extensions.TypedDict, total=False): +class InlineSecret(typing.TypedDict, total=False): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only -class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): +class ListWorkerPoolsResponse(typing.TypedDict, total=False): workerPools: _list[WorkerPool] @typing.type_check_only -class MavenArtifact(typing_extensions.TypedDict, total=False): +class MavenArtifact(typing.TypedDict, total=False): artifactId: str groupId: str path: str @@ -326,11 +310,11 @@ class MavenArtifact(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): peeredNetwork: str @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): filter: str httpDelivery: HTTPDelivery slackDelivery: SlackDelivery @@ -338,33 +322,33 @@ class Notification(typing_extensions.TypedDict, total=False): structDelivery: dict[str, typing.Any] @typing.type_check_only -class NotifierConfig(typing_extensions.TypedDict, total=False): +class NotifierConfig(typing.TypedDict, total=False): apiVersion: str kind: str metadata: NotifierMetadata spec: NotifierSpec @typing.type_check_only -class NotifierMetadata(typing_extensions.TypedDict, total=False): +class NotifierMetadata(typing.TypedDict, total=False): name: str notifier: str @typing.type_check_only -class NotifierSecret(typing_extensions.TypedDict, total=False): +class NotifierSecret(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class NotifierSecretRef(typing_extensions.TypedDict, total=False): +class NotifierSecretRef(typing.TypedDict, total=False): secretRef: str @typing.type_check_only -class NotifierSpec(typing_extensions.TypedDict, total=False): +class NotifierSpec(typing.TypedDict, total=False): notification: Notification secrets: _list[NotifierSecret] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -372,7 +356,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -382,24 +366,22 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PoolOption(typing_extensions.TypedDict, total=False): +class PoolOption(typing.TypedDict, total=False): name: str @typing.type_check_only -class ProcessAppManifestCallbackOperationMetadata( - typing_extensions.TypedDict, total=False -): +class ProcessAppManifestCallbackOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class PythonPackage(typing_extensions.TypedDict, total=False): +class PythonPackage(typing.TypedDict, total=False): paths: _list[str] repository: str @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -410,7 +392,7 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -419,7 +401,7 @@ class Repository(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Results(typing_extensions.TypedDict, total=False): +class Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: TimeSpan buildStepImages: _list[str] @@ -430,7 +412,7 @@ class Results(typing_extensions.TypedDict, total=False): pythonPackages: _list[UploadedPythonPackage] @typing.type_check_only -class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=False): +class RunWorkflowCustomOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -440,7 +422,7 @@ class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class SMTPDelivery(typing_extensions.TypedDict, total=False): +class SMTPDelivery(typing.TypedDict, total=False): fromAddress: str password: NotifierSecretRef port: str @@ -449,125 +431,119 @@ class SMTPDelivery(typing_extensions.TypedDict, total=False): server: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only -class SecretManagerSecret(typing_extensions.TypedDict, total=False): +class SecretManagerSecret(typing.TypedDict, total=False): env: str versionName: str @typing.type_check_only -class Secrets(typing_extensions.TypedDict, total=False): +class Secrets(typing.TypedDict, total=False): inline: _list[InlineSecret] secretManager: _list[SecretManagerSecret] @typing.type_check_only -class SlackDelivery(typing_extensions.TypedDict, total=False): +class SlackDelivery(typing.TypedDict, total=False): webhookUri: NotifierSecretRef @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): repoSource: RepoSource storageSource: StorageSource storageSourceManifest: StorageSourceManifest @typing.type_check_only -class SourceProvenance(typing_extensions.TypedDict, total=False): +class SourceProvenance(typing.TypedDict, total=False): fileHashes: dict[str, typing.Any] resolvedRepoSource: RepoSource resolvedStorageSource: StorageSource resolvedStorageSourceManifest: StorageSourceManifest @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class StorageSourceManifest(typing_extensions.TypedDict, total=False): +class StorageSourceManifest(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class TimeSpan(typing_extensions.TypedDict, total=False): +class TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class UpdateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class UpdateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class UpdateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class UploadedMavenArtifact(typing_extensions.TypedDict, total=False): +class UploadedMavenArtifact(typing.TypedDict, total=False): fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class UploadedPythonPackage(typing_extensions.TypedDict, total=False): +class UploadedPythonPackage(typing.TypedDict, total=False): fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class Warning(typing_extensions.TypedDict, total=False): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] +class Warning(typing.TypedDict, total=False): + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only -class WorkerConfig(typing_extensions.TypedDict, total=False): +class WorkerConfig(typing.TypedDict, total=False): diskSizeGb: str machineType: str @typing.type_check_only -class WorkerPool(typing_extensions.TypedDict, total=False): +class WorkerPool(typing.TypedDict, total=False): createTime: str deleteTime: str name: str networkConfig: NetworkConfig region: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "DELETING", "DELETED" ] updateTime: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1beta1/resources.pyi index 01681aaac..c8c35d792 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1beta1/schemas.pyi index de00fab16..c230ec472 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1beta1/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApprovalConfig(typing_extensions.TypedDict, total=False): +class ApprovalConfig(typing.TypedDict, total=False): approvalRequired: bool @typing.type_check_only -class ApprovalResult(typing_extensions.TypedDict, total=False): +class ApprovalResult(typing.TypedDict, total=False): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only -class ArtifactObjects(typing_extensions.TypedDict, total=False): +class ArtifactObjects(typing.TypedDict, total=False): location: str paths: _list[str] timing: TimeSpan @typing.type_check_only -class ArtifactResult(typing_extensions.TypedDict, total=False): +class ArtifactResult(typing.TypedDict, total=False): fileHash: _list[FileHashes] location: str @typing.type_check_only -class Artifacts(typing_extensions.TypedDict, total=False): +class Artifacts(typing.TypedDict, total=False): images: _list[str] mavenArtifacts: _list[MavenArtifact] objects: ArtifactObjects @@ -36,50 +34,48 @@ class Artifacts(typing_extensions.TypedDict, total=False): @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bitbucketServerConnectedRepositories: _list[BitbucketServerConnectedRepository] @typing.type_check_only class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BatchCreateGitLabConnectedRepositoriesResponse( - typing_extensions.TypedDict, total=False -): +class BatchCreateGitLabConnectedRepositoriesResponse(typing.TypedDict, total=False): gitlabConnectedRepositories: _list[GitLabConnectedRepository] @typing.type_check_only class BatchCreateGitLabConnectedRepositoriesResponseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str config: str createTime: str @typing.type_check_only -class BatchCreateRepositoriesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateRepositoriesResponse(typing.TypedDict, total=False): repositories: _list[Repository] @typing.type_check_only -class BitbucketServerConnectedRepository(typing_extensions.TypedDict, total=False): +class BitbucketServerConnectedRepository(typing.TypedDict, total=False): parent: str repo: BitbucketServerRepositoryId status: Status @typing.type_check_only -class BitbucketServerRepositoryId(typing_extensions.TypedDict, total=False): +class BitbucketServerRepositoryId(typing.TypedDict, total=False): projectKey: str repoSlug: str webhookId: int @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): approval: BuildApproval artifacts: Artifacts availableSecrets: Secrets @@ -101,7 +97,7 @@ class Build(typing_extensions.TypedDict, total=False): source: Source sourceProvenance: SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -122,26 +118,24 @@ class Build(typing_extensions.TypedDict, total=False): warnings: _list[Warning] @typing.type_check_only -class BuildApproval(typing_extensions.TypedDict, total=False): +class BuildApproval(typing.TypedDict, total=False): config: ApprovalConfig result: ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only -class BuildOperationMetadata(typing_extensions.TypedDict, total=False): +class BuildOperationMetadata(typing.TypedDict, total=False): build: Build @typing.type_check_only -class BuildOptions(typing_extensions.TypedDict, total=False): +class BuildOptions(typing.TypedDict, total=False): diskSizeGb: str dynamicSubstitutions: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -149,19 +143,19 @@ class BuildOptions(typing_extensions.TypedDict, total=False): "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", "E2_HIGHCPU_8", "E2_HIGHCPU_32" ] pool: PoolOption - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] - sourceProvenanceHash: _list[typing_extensions.Literal["NONE", "SHA256", "MD5"]] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + sourceProvenanceHash: _list[typing.Literal["NONE", "SHA256", "MD5"]] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[Volume] workerPool: str @typing.type_check_only -class BuildStep(typing_extensions.TypedDict, total=False): +class BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -174,7 +168,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): pullTiming: TimeSpan script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -192,77 +186,69 @@ class BuildStep(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class BuiltImage(typing_extensions.TypedDict, total=False): +class BuiltImage(typing.TypedDict, total=False): digest: str name: str pushTiming: TimeSpan @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class CreateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class CreateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class CreateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class CreateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class DeleteBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class DeleteGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class DeleteGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class DeleteGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class DeleteWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class DeleteWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FailureInfo(typing_extensions.TypedDict, total=False): +class FailureInfo(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -273,24 +259,22 @@ class FailureInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class GitLabConnectedRepository(typing_extensions.TypedDict, total=False): +class GitLabConnectedRepository(typing.TypedDict, total=False): parent: str repo: GitLabRepositoryId status: Status @typing.type_check_only -class GitLabRepositoryId(typing_extensions.TypedDict, total=False): +class GitLabRepositoryId(typing.TypedDict, total=False): id: str webhookId: int @typing.type_check_only -class GoogleDevtoolsCloudbuildV2OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV2OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -300,25 +284,25 @@ class GoogleDevtoolsCloudbuildV2OperationMetadata( verb: str @typing.type_check_only -class HTTPDelivery(typing_extensions.TypedDict, total=False): +class HTTPDelivery(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["NONE", "SHA256", "MD5"] +class Hash(typing.TypedDict, total=False): + type: typing.Literal["NONE", "SHA256", "MD5"] value: str @typing.type_check_only -class InlineSecret(typing_extensions.TypedDict, total=False): +class InlineSecret(typing.TypedDict, total=False): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only -class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): +class ListWorkerPoolsResponse(typing.TypedDict, total=False): workerPools: _list[WorkerPool] @typing.type_check_only -class MavenArtifact(typing_extensions.TypedDict, total=False): +class MavenArtifact(typing.TypedDict, total=False): artifactId: str groupId: str path: str @@ -326,11 +310,11 @@ class MavenArtifact(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): peeredNetwork: str @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): filter: str httpDelivery: HTTPDelivery slackDelivery: SlackDelivery @@ -338,33 +322,33 @@ class Notification(typing_extensions.TypedDict, total=False): structDelivery: dict[str, typing.Any] @typing.type_check_only -class NotifierConfig(typing_extensions.TypedDict, total=False): +class NotifierConfig(typing.TypedDict, total=False): apiVersion: str kind: str metadata: NotifierMetadata spec: NotifierSpec @typing.type_check_only -class NotifierMetadata(typing_extensions.TypedDict, total=False): +class NotifierMetadata(typing.TypedDict, total=False): name: str notifier: str @typing.type_check_only -class NotifierSecret(typing_extensions.TypedDict, total=False): +class NotifierSecret(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class NotifierSecretRef(typing_extensions.TypedDict, total=False): +class NotifierSecretRef(typing.TypedDict, total=False): secretRef: str @typing.type_check_only -class NotifierSpec(typing_extensions.TypedDict, total=False): +class NotifierSpec(typing.TypedDict, total=False): notification: Notification secrets: _list[NotifierSecret] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -372,7 +356,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -382,24 +366,22 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PoolOption(typing_extensions.TypedDict, total=False): +class PoolOption(typing.TypedDict, total=False): name: str @typing.type_check_only -class ProcessAppManifestCallbackOperationMetadata( - typing_extensions.TypedDict, total=False -): +class ProcessAppManifestCallbackOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class PythonPackage(typing_extensions.TypedDict, total=False): +class PythonPackage(typing.TypedDict, total=False): paths: _list[str] repository: str @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -410,7 +392,7 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -419,7 +401,7 @@ class Repository(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Results(typing_extensions.TypedDict, total=False): +class Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: TimeSpan buildStepImages: _list[str] @@ -430,7 +412,7 @@ class Results(typing_extensions.TypedDict, total=False): pythonPackages: _list[UploadedPythonPackage] @typing.type_check_only -class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=False): +class RunWorkflowCustomOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -440,7 +422,7 @@ class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class SMTPDelivery(typing_extensions.TypedDict, total=False): +class SMTPDelivery(typing.TypedDict, total=False): fromAddress: str password: NotifierSecretRef port: str @@ -449,120 +431,114 @@ class SMTPDelivery(typing_extensions.TypedDict, total=False): server: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only -class SecretManagerSecret(typing_extensions.TypedDict, total=False): +class SecretManagerSecret(typing.TypedDict, total=False): env: str versionName: str @typing.type_check_only -class Secrets(typing_extensions.TypedDict, total=False): +class Secrets(typing.TypedDict, total=False): inline: _list[InlineSecret] secretManager: _list[SecretManagerSecret] @typing.type_check_only -class SlackDelivery(typing_extensions.TypedDict, total=False): +class SlackDelivery(typing.TypedDict, total=False): webhookUri: NotifierSecretRef @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): repoSource: RepoSource storageSource: StorageSource storageSourceManifest: StorageSourceManifest @typing.type_check_only -class SourceProvenance(typing_extensions.TypedDict, total=False): +class SourceProvenance(typing.TypedDict, total=False): fileHashes: dict[str, typing.Any] resolvedRepoSource: RepoSource resolvedStorageSource: StorageSource resolvedStorageSourceManifest: StorageSourceManifest @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class StorageSourceManifest(typing_extensions.TypedDict, total=False): +class StorageSourceManifest(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class TimeSpan(typing_extensions.TypedDict, total=False): +class TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateBitbucketServerConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateBitbucketServerConfigOperationMetadata(typing.TypedDict, total=False): bitbucketServerConfig: str completeTime: str createTime: str @typing.type_check_only -class UpdateGitHubEnterpriseConfigOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateGitHubEnterpriseConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str githubEnterpriseConfig: str @typing.type_check_only -class UpdateGitLabConfigOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateGitLabConfigOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str gitlabConfig: str @typing.type_check_only -class UpdateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False): +class UpdateWorkerPoolOperationMetadata(typing.TypedDict, total=False): completeTime: str createTime: str workerPool: str @typing.type_check_only -class UploadedMavenArtifact(typing_extensions.TypedDict, total=False): +class UploadedMavenArtifact(typing.TypedDict, total=False): fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class UploadedPythonPackage(typing_extensions.TypedDict, total=False): +class UploadedPythonPackage(typing.TypedDict, total=False): fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class Warning(typing_extensions.TypedDict, total=False): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] +class Warning(typing.TypedDict, total=False): + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only -class WorkerConfig(typing_extensions.TypedDict, total=False): +class WorkerConfig(typing.TypedDict, total=False): diskSizeGb: str machineType: str noExternalIp: bool @typing.type_check_only -class WorkerPool(typing_extensions.TypedDict, total=False): +class WorkerPool(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -570,7 +546,7 @@ class WorkerPool(typing_extensions.TypedDict, total=False): etag: str name: str networkConfig: NetworkConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "DELETING", "DELETED" ] uid: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi index ff27c2af5..4918774da 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -64,9 +63,7 @@ class CloudBuildResource(googleapiclient.discovery.Resource): repository: str, pageSize: int | None = ..., pageToken: str | None = ..., - refType: typing_extensions.Literal[ - "REF_TYPE_UNSPECIFIED", "TAG", "BRANCH" - ] + refType: typing.Literal["REF_TYPE_UNSPECIFIED", "TAG", "BRANCH"] | None = ..., **kwargs: typing.Any, ) -> FetchGitRefsResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi index 5d5473d83..49f30e455 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v2/schemas.pyi @@ -1,44 +1,42 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BatchCreateRepositoriesRequest(typing_extensions.TypedDict, total=False): +class BatchCreateRepositoriesRequest(typing.TypedDict, total=False): requests: _list[CreateRepositoryRequest] @typing.type_check_only -class BatchCreateRepositoriesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateRepositoriesResponse(typing.TypedDict, total=False): repositories: _list[Repository] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BitbucketCloudConfig(typing_extensions.TypedDict, total=False): +class BitbucketCloudConfig(typing.TypedDict, total=False): authorizerCredential: UserCredential readAuthorizerCredential: UserCredential webhookSecretSecretVersion: str workspace: str @typing.type_check_only -class BitbucketDataCenterConfig(typing_extensions.TypedDict, total=False): +class BitbucketDataCenterConfig(typing.TypedDict, total=False): authorizerCredential: UserCredential hostUri: str readAuthorizerCredential: UserCredential @@ -48,17 +46,17 @@ class BitbucketDataCenterConfig(typing_extensions.TypedDict, total=False): webhookSecretSecretVersion: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ChildStatusReference(typing_extensions.TypedDict, total=False): +class ChildStatusReference(typing.TypedDict, total=False): name: str pipelineTaskName: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TASK_RUN"] + type: typing.Literal["TYPE_UNSPECIFIED", "TASK_RUN"] whenExpressions: _list[WhenExpression] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): annotations: dict[str, typing.Any] bitbucketCloudConfig: BitbucketCloudConfig bitbucketDataCenterConfig: BitbucketDataCenterConfig @@ -74,82 +72,80 @@ class Connection(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CreateRepositoryRequest(typing_extensions.TypedDict, total=False): +class CreateRepositoryRequest(typing.TypedDict, total=False): parent: str repository: Repository repositoryId: str @typing.type_check_only -class EmbeddedTask(typing_extensions.TypedDict, total=False): +class EmbeddedTask(typing.TypedDict, total=False): annotations: dict[str, typing.Any] taskSpec: TaskSpec @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EmptyDirVolumeSource(typing_extensions.TypedDict, total=False): ... +class EmptyDirVolumeSource(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvVar(typing_extensions.TypedDict, total=False): +class EnvVar(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ExecAction(typing_extensions.TypedDict, total=False): +class ExecAction(typing.TypedDict, total=False): command: _list[str] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FetchGitRefsResponse(typing_extensions.TypedDict, total=False): +class FetchGitRefsResponse(typing.TypedDict, total=False): nextPageToken: str refNames: _list[str] @typing.type_check_only -class FetchLinkableRepositoriesResponse(typing_extensions.TypedDict, total=False): +class FetchLinkableRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] @typing.type_check_only -class FetchReadTokenRequest(typing_extensions.TypedDict, total=False): ... +class FetchReadTokenRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchReadTokenResponse(typing_extensions.TypedDict, total=False): +class FetchReadTokenResponse(typing.TypedDict, total=False): expirationTime: str token: str @typing.type_check_only -class FetchReadWriteTokenRequest(typing_extensions.TypedDict, total=False): ... +class FetchReadWriteTokenRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchReadWriteTokenResponse(typing_extensions.TypedDict, total=False): +class FetchReadWriteTokenResponse(typing.TypedDict, total=False): expirationTime: str token: str @typing.type_check_only -class GitHubConfig(typing_extensions.TypedDict, total=False): +class GitHubConfig(typing.TypedDict, total=False): appInstallationId: str authorizerCredential: OAuthCredential @typing.type_check_only -class GoogleDevtoolsCloudbuildV2Condition(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV2Condition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "INFO"] - status: typing_extensions.Literal["UNKNOWN", "TRUE", "FALSE"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "WARNING", "INFO"] + status: typing.Literal["UNKNOWN", "TRUE", "FALSE"] type: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig(typing.TypedDict, total=False): apiKey: str appId: str appInstallationId: str @@ -162,7 +158,7 @@ class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig( webhookSecretSecretVersion: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV2GitLabConfig(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV2GitLabConfig(typing.TypedDict, total=False): authorizerCredential: UserCredential hostUri: str readAuthorizerCredential: UserCredential @@ -172,9 +168,7 @@ class GoogleDevtoolsCloudbuildV2GitLabConfig(typing_extensions.TypedDict, total= webhookSecretSecretVersion: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV2OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV2OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -184,22 +178,20 @@ class GoogleDevtoolsCloudbuildV2OperationMetadata( verb: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig(typing.TypedDict, total=False): service: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class InstallationState(typing_extensions.TypedDict, total=False): +class InstallationState(typing.TypedDict, total=False): actionUri: str message: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "PENDING_CREATE_APP", "PENDING_USER_OAUTH", @@ -208,24 +200,24 @@ class InstallationState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Connection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -233,12 +225,12 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OAuthCredential(typing_extensions.TypedDict, total=False): +class OAuthCredential(typing.TypedDict, total=False): oauthTokenSecretVersion: str username: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -246,7 +238,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -256,29 +248,29 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Param(typing_extensions.TypedDict, total=False): +class Param(typing.TypedDict, total=False): name: str value: ParamValue @typing.type_check_only -class ParamSpec(typing_extensions.TypedDict, total=False): +class ParamSpec(typing.TypedDict, total=False): default: ParamValue description: str name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] + type: typing.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] @typing.type_check_only -class ParamValue(typing_extensions.TypedDict, total=False): +class ParamValue(typing.TypedDict, total=False): arrayVal: _list[str] objectVal: dict[str, typing.Any] stringVal: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] + type: typing.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] @typing.type_check_only -class PipelineRef(typing_extensions.TypedDict, total=False): +class PipelineRef(typing.TypedDict, total=False): name: str params: _list[Param] - resolver: typing_extensions.Literal[ + resolver: typing.Literal[ "RESOLVER_NAME_UNSPECIFIED", "BUNDLES", "GCB_REPO", @@ -288,14 +280,14 @@ class PipelineRef(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PipelineResult(typing_extensions.TypedDict, total=False): +class PipelineResult(typing.TypedDict, total=False): description: str name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] + type: typing.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] value: ResultValue @typing.type_check_only -class PipelineRun(typing_extensions.TypedDict, total=False): +class PipelineRun(typing.TypedDict, total=False): annotations: dict[str, typing.Any] childReferences: _list[ChildStatusReference] completionTime: str @@ -307,7 +299,7 @@ class PipelineRun(typing_extensions.TypedDict, total=False): name: str params: _list[Param] pipelineRef: PipelineRef - pipelineRunStatus: typing_extensions.Literal[ + pipelineRunStatus: typing.Literal[ "PIPELINE_RUN_STATUS_UNSPECIFIED", "PIPELINE_RUN_CANCELLED" ] pipelineSpec: PipelineSpec @@ -329,12 +321,12 @@ class PipelineRun(typing_extensions.TypedDict, total=False): workspaces: _list[WorkspaceBinding] @typing.type_check_only -class PipelineRunResult(typing_extensions.TypedDict, total=False): +class PipelineRunResult(typing.TypedDict, total=False): name: str value: ResultValue @typing.type_check_only -class PipelineSpec(typing_extensions.TypedDict, total=False): +class PipelineSpec(typing.TypedDict, total=False): finallyTasks: _list[PipelineTask] generatedYaml: str params: _list[ParamSpec] @@ -343,7 +335,7 @@ class PipelineSpec(typing_extensions.TypedDict, total=False): workspaces: _list[PipelineWorkspaceDeclaration] @typing.type_check_only -class PipelineTask(typing_extensions.TypedDict, total=False): +class PipelineTask(typing.TypedDict, total=False): name: str params: _list[Param] retries: int @@ -355,34 +347,32 @@ class PipelineTask(typing_extensions.TypedDict, total=False): workspaces: _list[WorkspacePipelineTaskBinding] @typing.type_check_only -class PipelineWorkspaceDeclaration(typing_extensions.TypedDict, total=False): +class PipelineWorkspaceDeclaration(typing.TypedDict, total=False): description: str name: str optional: bool @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Probe(typing_extensions.TypedDict, total=False): +class Probe(typing.TypedDict, total=False): exec: ExecAction periodSeconds: int @typing.type_check_only -class PropertySpec(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "STRING"] +class PropertySpec(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "STRING"] @typing.type_check_only -class Provenance(typing_extensions.TypedDict, total=False): - enabled: typing_extensions.Literal[ - "ENABLED_UNSPECIFIED", "REQUIRED", "OPTIMISTIC", "DISABLED" - ] - region: typing_extensions.Literal["REGION_UNSPECIFIED", "GLOBAL"] - storage: typing_extensions.Literal[ +class Provenance(typing.TypedDict, total=False): + enabled: typing.Literal["ENABLED_UNSPECIFIED", "REQUIRED", "OPTIMISTIC", "DISABLED"] + region: typing.Literal["REGION_UNSPECIFIED", "GLOBAL"] + storage: typing.Literal[ "STORAGE_UNSPECIFIED", "PREFER_ARTIFACT_PROJECT", "ARTIFACT_PROJECT_ONLY", @@ -390,7 +380,7 @@ class Provenance(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -400,14 +390,14 @@ class Repository(typing_extensions.TypedDict, total=False): webhookId: str @typing.type_check_only -class ResultValue(typing_extensions.TypedDict, total=False): +class ResultValue(typing.TypedDict, total=False): arrayVal: _list[str] objectVal: dict[str, typing.Any] stringVal: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] + type: typing.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] @typing.type_check_only -class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=False): +class RunWorkflowCustomOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -417,19 +407,19 @@ class RunWorkflowCustomOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class SecretVolumeSource(typing_extensions.TypedDict, total=False): +class SecretVolumeSource(typing.TypedDict, total=False): secretName: str secretVersion: str @typing.type_check_only -class Security(typing_extensions.TypedDict, total=False): - privilegeMode: typing_extensions.Literal[ +class Security(typing.TypedDict, total=False): + privilegeMode: typing.Literal[ "PRIVILEGE_MODE_UNSPECIFIED", "PRIVILEGED", "UNPRIVILEGED" ] serviceAccount: str @typing.type_check_only -class SecurityContext(typing_extensions.TypedDict, total=False): +class SecurityContext(typing.TypedDict, total=False): allowPrivilegeEscalation: bool privileged: bool runAsGroup: str @@ -437,12 +427,12 @@ class SecurityContext(typing_extensions.TypedDict, total=False): runAsUser: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Sidecar(typing_extensions.TypedDict, total=False): +class Sidecar(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: _list[EnvVar] @@ -455,27 +445,25 @@ class Sidecar(typing_extensions.TypedDict, total=False): workingDir: str @typing.type_check_only -class SkippedTask(typing_extensions.TypedDict, total=False): +class SkippedTask(typing.TypedDict, total=False): name: str reason: str whenExpressions: _list[WhenExpression] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: _list[EnvVar] image: str name: str - onError: typing_extensions.Literal[ - "ON_ERROR_TYPE_UNSPECIFIED", "STOP_AND_FAIL", "CONTINUE" - ] + onError: typing.Literal["ON_ERROR_TYPE_UNSPECIFIED", "STOP_AND_FAIL", "CONTINUE"] params: _list[Param] ref: StepRef script: str @@ -485,10 +473,10 @@ class Step(typing_extensions.TypedDict, total=False): workingDir: str @typing.type_check_only -class StepRef(typing_extensions.TypedDict, total=False): +class StepRef(typing.TypedDict, total=False): name: str params: _list[Param] - resolver: typing_extensions.Literal[ + resolver: typing.Literal[ "RESOLVER_NAME_UNSPECIFIED", "BUNDLES", "GCB_REPO", @@ -498,15 +486,15 @@ class StepRef(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StepTemplate(typing_extensions.TypedDict, total=False): +class StepTemplate(typing.TypedDict, total=False): env: _list[EnvVar] volumeMounts: _list[VolumeMount] @typing.type_check_only -class TaskRef(typing_extensions.TypedDict, total=False): +class TaskRef(typing.TypedDict, total=False): name: str params: _list[Param] - resolver: typing_extensions.Literal[ + resolver: typing.Literal[ "RESOLVER_NAME_UNSPECIFIED", "BUNDLES", "GCB_REPO", @@ -516,20 +504,18 @@ class TaskRef(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TaskResult(typing_extensions.TypedDict, total=False): +class TaskResult(typing.TypedDict, total=False): description: str name: str properties: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] + type: typing.Literal["TYPE_UNSPECIFIED", "STRING", "ARRAY", "OBJECT"] value: ParamValue @typing.type_check_only -class TaskSpec(typing_extensions.TypedDict, total=False): +class TaskSpec(typing.TypedDict, total=False): description: str managedSidecars: _list[ - typing_extensions.Literal[ - "MANAGED_SIDECAR_UNSPECIFIED", "PRIVILEGED_DOCKER_DAEMON" - ] + typing.Literal["MANAGED_SIDECAR_UNSPECIFIED", "PRIVILEGED_DOCKER_DAEMON"] ] params: _list[ParamSpec] results: _list[TaskResult] @@ -540,14 +526,14 @@ class TaskSpec(typing_extensions.TypedDict, total=False): workspaces: _list[WorkspaceDeclaration] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] -AlternativeTimeoutFields = typing_extensions.TypedDict( +AlternativeTimeoutFields = typing.TypedDict( "AlternativeTimeoutFields", { "finally": str, @@ -561,12 +547,12 @@ AlternativeTimeoutFields = typing_extensions.TypedDict( class TimeoutFields(AlternativeTimeoutFields): ... @typing.type_check_only -class UserCredential(typing_extensions.TypedDict, total=False): +class UserCredential(typing.TypedDict, total=False): userTokenSecretVersion: str username: str @typing.type_check_only -class VolumeMount(typing_extensions.TypedDict, total=False): +class VolumeMount(typing.TypedDict, total=False): mountPath: str name: str readOnly: bool @@ -574,30 +560,30 @@ class VolumeMount(typing_extensions.TypedDict, total=False): subPathExpr: str @typing.type_check_only -class VolumeSource(typing_extensions.TypedDict, total=False): +class VolumeSource(typing.TypedDict, total=False): emptyDir: EmptyDirVolumeSource name: str @typing.type_check_only -class WhenExpression(typing_extensions.TypedDict, total=False): - expressionOperator: typing_extensions.Literal[ +class WhenExpression(typing.TypedDict, total=False): + expressionOperator: typing.Literal[ "EXPRESSION_OPERATOR_UNSPECIFIED", "IN", "NOT_IN" ] input: str values: _list[str] @typing.type_check_only -class Worker(typing_extensions.TypedDict, total=False): +class Worker(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class WorkspaceBinding(typing_extensions.TypedDict, total=False): +class WorkspaceBinding(typing.TypedDict, total=False): name: str secret: SecretVolumeSource subPath: str @typing.type_check_only -class WorkspaceDeclaration(typing_extensions.TypedDict, total=False): +class WorkspaceDeclaration(typing.TypedDict, total=False): description: str mountPath: str name: str @@ -605,7 +591,7 @@ class WorkspaceDeclaration(typing_extensions.TypedDict, total=False): readOnly: bool @typing.type_check_only -class WorkspacePipelineTaskBinding(typing_extensions.TypedDict, total=False): +class WorkspacePipelineTaskBinding(typing.TypedDict, total=False): name: str subPath: str workspace: str diff --git a/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi index 2226c604a..f1a83c8fe 100644 --- a/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudchannel/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -115,8 +114,7 @@ class CloudchannelResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal["UNSPECIFIED", "BASIC", "FULL"] - | None = ..., + view: typing.Literal["UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudChannelV1ChannelPartnerLinkHttpRequest: ... def list( @@ -125,8 +123,7 @@ class CloudchannelResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["UNSPECIFIED", "BASIC", "FULL"] - | None = ..., + view: typing.Literal["UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudChannelV1ListChannelPartnerLinksResponseHttpRequest: ... def list_next( @@ -345,7 +342,7 @@ class CloudchannelResource(googleapiclient.discovery.Resource): self, *, customer: str, - changeOfferPurchase_changeType: typing_extensions.Literal[ + changeOfferPurchase_changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "UPGRADE", "DOWNGRADE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi index 4402abae3..2a9a5fc93 100644 --- a/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudchannel/v1/schemas.pyi @@ -1,34 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudChannelV1ActivateEntitlementRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ActivateEntitlementRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class GoogleCloudChannelV1AdminUser(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1AdminUser(typing.TypedDict, total=False): email: str familyName: str givenName: str @typing.type_check_only -class GoogleCloudChannelV1AssociationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1AssociationInfo(typing.TypedDict, total=False): baseEntitlement: str @typing.type_check_only -class GoogleCloudChannelV1BillableSku(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1BillableSku(typing.TypedDict, total=False): service: str serviceDisplayName: str sku: str skuDisplayName: str @typing.type_check_only -class GoogleCloudChannelV1BillingAccount(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1BillingAccount(typing.TypedDict, total=False): createTime: str currencyCode: str displayName: str @@ -36,19 +32,15 @@ class GoogleCloudChannelV1BillingAccount(typing_extensions.TypedDict, total=Fals regionCode: str @typing.type_check_only -class GoogleCloudChannelV1BillingAccountPurchaseInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1BillingAccountPurchaseInfo(typing.TypedDict, total=False): billingAccount: GoogleCloudChannelV1BillingAccount @typing.type_check_only -class GoogleCloudChannelV1CancelEntitlementRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1CancelEntitlementRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class GoogleCloudChannelV1ChangeOfferRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ChangeOfferRequest(typing.TypedDict, total=False): billingAccount: str offer: str parameters: _list[GoogleCloudChannelV1Parameter] @@ -57,26 +49,22 @@ class GoogleCloudChannelV1ChangeOfferRequest(typing_extensions.TypedDict, total= requestId: str @typing.type_check_only -class GoogleCloudChannelV1ChangeParametersRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ChangeParametersRequest(typing.TypedDict, total=False): parameters: _list[GoogleCloudChannelV1Parameter] purchaseOrderId: str requestId: str @typing.type_check_only -class GoogleCloudChannelV1ChangeRenewalSettingsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ChangeRenewalSettingsRequest(typing.TypedDict, total=False): renewalSettings: GoogleCloudChannelV1RenewalSettings requestId: str @typing.type_check_only -class GoogleCloudChannelV1ChannelPartnerLink(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ChannelPartnerLink(typing.TypedDict, total=False): channelPartnerCloudIdentityInfo: GoogleCloudChannelV1CloudIdentityInfo createTime: str inviteLinkUri: str - linkState: typing_extensions.Literal[ + linkState: typing.Literal[ "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED", "INVITED", "ACTIVE", @@ -89,46 +77,38 @@ class GoogleCloudChannelV1ChannelPartnerLink(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudChannelV1ChannelPartnerRepricingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ChannelPartnerRepricingConfig(typing.TypedDict, total=False): name: str repricingConfig: GoogleCloudChannelV1RepricingConfig updateTime: str @typing.type_check_only class GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): domain: str primaryAdminEmail: str @typing.type_check_only class GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudIdentityAccounts: _list[GoogleCloudChannelV1CloudIdentityCustomerAccount] @typing.type_check_only -class GoogleCloudChannelV1CloudIdentityCustomerAccount( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1CloudIdentityCustomerAccount(typing.TypedDict, total=False): channelPartnerCloudIdentityId: str customerCloudIdentityId: str customerName: str - customerType: typing_extensions.Literal[ - "CUSTOMER_TYPE_UNSPECIFIED", "DOMAIN", "TEAM" - ] + customerType: typing.Literal["CUSTOMER_TYPE_UNSPECIFIED", "DOMAIN", "TEAM"] existing: bool owned: bool @typing.type_check_only -class GoogleCloudChannelV1CloudIdentityInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1CloudIdentityInfo(typing.TypedDict, total=False): adminConsoleUri: str alternateEmail: str - customerType: typing_extensions.Literal[ - "CUSTOMER_TYPE_UNSPECIFIED", "DOMAIN", "TEAM" - ] + customerType: typing.Literal["CUSTOMER_TYPE_UNSPECIFIED", "DOMAIN", "TEAM"] eduData: GoogleCloudChannelV1EduData isDomainVerified: bool languageCode: str @@ -136,9 +116,9 @@ class GoogleCloudChannelV1CloudIdentityInfo(typing_extensions.TypedDict, total=F primaryDomain: str @typing.type_check_only -class GoogleCloudChannelV1Column(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Column(typing.TypedDict, total=False): columnId: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING", "INT", @@ -150,25 +130,25 @@ class GoogleCloudChannelV1Column(typing_extensions.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudChannelV1CommitmentSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1CommitmentSettings(typing.TypedDict, total=False): endTime: str renewalSettings: GoogleCloudChannelV1RenewalSettings startTime: str @typing.type_check_only -class GoogleCloudChannelV1ConditionalOverride(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ConditionalOverride(typing.TypedDict, total=False): adjustment: GoogleCloudChannelV1RepricingAdjustment - rebillingBasis: typing_extensions.Literal[ + rebillingBasis: typing.Literal[ "REBILLING_BASIS_UNSPECIFIED", "COST_AT_LIST", "DIRECT_CUSTOMER_COST" ] repricingCondition: GoogleCloudChannelV1RepricingCondition @typing.type_check_only -class GoogleCloudChannelV1Constraints(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Constraints(typing.TypedDict, total=False): customerConstraints: GoogleCloudChannelV1CustomerConstraints @typing.type_check_only -class GoogleCloudChannelV1ContactInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ContactInfo(typing.TypedDict, total=False): displayName: str email: str firstName: str @@ -177,21 +157,19 @@ class GoogleCloudChannelV1ContactInfo(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class GoogleCloudChannelV1CreateEntitlementRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1CreateEntitlementRequest(typing.TypedDict, total=False): entitlement: GoogleCloudChannelV1Entitlement requestId: str @typing.type_check_only -class GoogleCloudChannelV1Customer(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Customer(typing.TypedDict, total=False): alternateEmail: str channelPartnerId: str cloudIdentityId: str cloudIdentityInfo: GoogleCloudChannelV1CloudIdentityInfo correlationId: str createTime: str - customerAttestationState: typing_extensions.Literal[ + customerAttestationState: typing.Literal[ "CUSTOMER_ATTESTATION_STATE_UNSPECIFIED", "EXEMPT", "NON_EXEMPT_AND_INFO_VERIFIED", @@ -205,13 +183,13 @@ class GoogleCloudChannelV1Customer(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudChannelV1CustomerConstraints(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1CustomerConstraints(typing.TypedDict, total=False): allowedCustomerTypes: _list[ - typing_extensions.Literal["CUSTOMER_TYPE_UNSPECIFIED", "DOMAIN", "TEAM"] + typing.Literal["CUSTOMER_TYPE_UNSPECIFIED", "DOMAIN", "TEAM"] ] allowedRegions: _list[str] promotionalOrderTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "PROMOTIONAL_TYPE_UNSPECIFIED", "NEW_UPGRADE", "TRANSFER", @@ -220,32 +198,30 @@ class GoogleCloudChannelV1CustomerConstraints(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudChannelV1CustomerEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1CustomerEvent(typing.TypedDict, total=False): customer: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "TYPE_UNSPECIFIED", "PRIMARY_DOMAIN_CHANGED", "PRIMARY_DOMAIN_VERIFIED" ] @typing.type_check_only -class GoogleCloudChannelV1CustomerRepricingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1CustomerRepricingConfig(typing.TypedDict, total=False): name: str repricingConfig: GoogleCloudChannelV1RepricingConfig updateTime: str @typing.type_check_only -class GoogleCloudChannelV1DateRange(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1DateRange(typing.TypedDict, total=False): invoiceEndDate: GoogleTypeDate invoiceStartDate: GoogleTypeDate usageEndDateTime: GoogleTypeDateTime usageStartDateTime: GoogleTypeDateTime @typing.type_check_only -class GoogleCloudChannelV1DiscountComponent(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1DiscountComponent(typing.TypedDict, total=False): discountAbsolute: GoogleTypeMoney discountPercentage: float - discountType: typing_extensions.Literal[ + discountType: typing.Literal[ "DISCOUNT_TYPE_UNSPECIFIED", "REGIONAL_DISCOUNT", "PROMOTIONAL_DISCOUNT", @@ -255,8 +231,8 @@ class GoogleCloudChannelV1DiscountComponent(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudChannelV1EduData(typing_extensions.TypedDict, total=False): - instituteSize: typing_extensions.Literal[ +class GoogleCloudChannelV1EduData(typing.TypedDict, total=False): + instituteSize: typing.Literal[ "INSTITUTE_SIZE_UNSPECIFIED", "SIZE_1_100", "SIZE_101_500", @@ -266,13 +242,11 @@ class GoogleCloudChannelV1EduData(typing_extensions.TypedDict, total=False): "SIZE_5001_10000", "SIZE_10001_OR_MORE", ] - instituteType: typing_extensions.Literal[ - "INSTITUTE_TYPE_UNSPECIFIED", "K12", "UNIVERSITY" - ] + instituteType: typing.Literal["INSTITUTE_TYPE_UNSPECIFIED", "K12", "UNIVERSITY"] website: str @typing.type_check_only -class GoogleCloudChannelV1Entitlement(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Entitlement(typing.TypedDict, total=False): associationInfo: GoogleCloudChannelV1AssociationInfo billingAccount: str commitmentSettings: GoogleCloudChannelV1CommitmentSettings @@ -282,12 +256,12 @@ class GoogleCloudChannelV1Entitlement(typing_extensions.TypedDict, total=False): parameters: _list[GoogleCloudChannelV1Parameter] priceReferenceId: str provisionedService: GoogleCloudChannelV1ProvisionedService - provisioningState: typing_extensions.Literal[ + provisioningState: typing.Literal[ "PROVISIONING_STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED" ] purchaseOrderId: str suspensionReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "RESELLER_INITIATED", "TRIAL_ENDED", @@ -300,21 +274,21 @@ class GoogleCloudChannelV1Entitlement(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudChannelV1EntitlementChange(typing_extensions.TypedDict, total=False): - activationReason: typing_extensions.Literal[ +class GoogleCloudChannelV1EntitlementChange(typing.TypedDict, total=False): + activationReason: typing.Literal[ "ACTIVATION_REASON_UNSPECIFIED", "RESELLER_REVOKED_SUSPENSION", "CUSTOMER_ACCEPTED_PENDING_TOS", "RENEWAL_SETTINGS_CHANGED", "OTHER_ACTIVATION_REASON", ] - cancellationReason: typing_extensions.Literal[ + cancellationReason: typing.Literal[ "CANCELLATION_REASON_UNSPECIFIED", "SERVICE_TERMINATED", "RELATIONSHIP_ENDED", "PARTIAL_TRANSFER", ] - changeType: typing_extensions.Literal[ + changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "CREATED", "PRICE_PLAN_SWITCHED", @@ -335,7 +309,7 @@ class GoogleCloudChannelV1EntitlementChange(typing_extensions.TypedDict, total=F entitlement: str offer: str operator: str - operatorType: typing_extensions.Literal[ + operatorType: typing.Literal[ "OPERATOR_TYPE_UNSPECIFIED", "CUSTOMER_SERVICE_REPRESENTATIVE", "SYSTEM", @@ -345,7 +319,7 @@ class GoogleCloudChannelV1EntitlementChange(typing_extensions.TypedDict, total=F otherChangeReason: str parameters: _list[GoogleCloudChannelV1Parameter] provisionedService: GoogleCloudChannelV1ProvisionedService - suspensionReason: typing_extensions.Literal[ + suspensionReason: typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "RESELLER_INITIATED", "TRIAL_ENDED", @@ -355,9 +329,9 @@ class GoogleCloudChannelV1EntitlementChange(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudChannelV1EntitlementEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1EntitlementEvent(typing.TypedDict, total=False): entitlement: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "TYPE_UNSPECIFIED", "CREATED", "PRICE_PLAN_SWITCHED", @@ -374,25 +348,19 @@ class GoogleCloudChannelV1EntitlementEvent(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleCloudChannelV1FetchReportResultsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1FetchReportResultsRequest(typing.TypedDict, total=False): pageSize: int pageToken: str partitionKeys: _list[str] @typing.type_check_only -class GoogleCloudChannelV1FetchReportResultsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1FetchReportResultsResponse(typing.TypedDict, total=False): nextPageToken: str reportMetadata: GoogleCloudChannelV1ReportResultsMetadata rows: _list[GoogleCloudChannelV1Row] @typing.type_check_only -class GoogleCloudChannelV1ImportCustomerRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ImportCustomerRequest(typing.TypedDict, total=False): authToken: str channelPartnerId: str cloudIdentityId: str @@ -403,14 +371,14 @@ class GoogleCloudChannelV1ImportCustomerRequest( @typing.type_check_only class GoogleCloudChannelV1ListChannelPartnerLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelPartnerLinks: _list[GoogleCloudChannelV1ChannelPartnerLink] nextPageToken: str @typing.type_check_only class GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelPartnerRepricingConfigs: _list[ GoogleCloudChannelV1ChannelPartnerRepricingConfig @@ -419,94 +387,76 @@ class GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse( @typing.type_check_only class GoogleCloudChannelV1ListCustomerRepricingConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerRepricingConfigs: _list[GoogleCloudChannelV1CustomerRepricingConfig] nextPageToken: str @typing.type_check_only -class GoogleCloudChannelV1ListCustomersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListCustomersResponse(typing.TypedDict, total=False): customers: _list[GoogleCloudChannelV1Customer] nextPageToken: str @typing.type_check_only -class GoogleCloudChannelV1ListEntitlementChangesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListEntitlementChangesResponse(typing.TypedDict, total=False): entitlementChanges: _list[GoogleCloudChannelV1EntitlementChange] nextPageToken: str @typing.type_check_only -class GoogleCloudChannelV1ListEntitlementsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListEntitlementsResponse(typing.TypedDict, total=False): entitlements: _list[GoogleCloudChannelV1Entitlement] nextPageToken: str @typing.type_check_only -class GoogleCloudChannelV1ListOffersResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ListOffersResponse(typing.TypedDict, total=False): nextPageToken: str offers: _list[GoogleCloudChannelV1Offer] @typing.type_check_only -class GoogleCloudChannelV1ListProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[GoogleCloudChannelV1Product] @typing.type_check_only -class GoogleCloudChannelV1ListPurchasableOffersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListPurchasableOffersResponse(typing.TypedDict, total=False): nextPageToken: str purchasableOffers: _list[GoogleCloudChannelV1PurchasableOffer] @typing.type_check_only -class GoogleCloudChannelV1ListPurchasableSkusResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListPurchasableSkusResponse(typing.TypedDict, total=False): nextPageToken: str purchasableSkus: _list[GoogleCloudChannelV1PurchasableSku] @typing.type_check_only -class GoogleCloudChannelV1ListReportsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ListReportsResponse(typing.TypedDict, total=False): nextPageToken: str reports: _list[GoogleCloudChannelV1Report] @typing.type_check_only class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billableSkus: _list[GoogleCloudChannelV1BillableSku] nextPageToken: str @typing.type_check_only -class GoogleCloudChannelV1ListSkuGroupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListSkuGroupsResponse(typing.TypedDict, total=False): nextPageToken: str skuGroups: _list[GoogleCloudChannelV1SkuGroup] @typing.type_check_only -class GoogleCloudChannelV1ListSkusResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ListSkusResponse(typing.TypedDict, total=False): nextPageToken: str skus: _list[GoogleCloudChannelV1Sku] @typing.type_check_only -class GoogleCloudChannelV1ListSubscribersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListSubscribersResponse(typing.TypedDict, total=False): nextPageToken: str serviceAccounts: _list[str] topic: str @typing.type_check_only -class GoogleCloudChannelV1ListTransferableOffersRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListTransferableOffersRequest(typing.TypedDict, total=False): billingAccount: str cloudIdentityId: str customerName: str @@ -516,16 +466,12 @@ class GoogleCloudChannelV1ListTransferableOffersRequest( sku: str @typing.type_check_only -class GoogleCloudChannelV1ListTransferableOffersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListTransferableOffersResponse(typing.TypedDict, total=False): nextPageToken: str transferableOffers: _list[GoogleCloudChannelV1TransferableOffer] @typing.type_check_only -class GoogleCloudChannelV1ListTransferableSkusRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListTransferableSkusRequest(typing.TypedDict, total=False): authToken: str cloudIdentityId: str customerName: str @@ -534,26 +480,24 @@ class GoogleCloudChannelV1ListTransferableSkusRequest( pageToken: str @typing.type_check_only -class GoogleCloudChannelV1ListTransferableSkusResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ListTransferableSkusResponse(typing.TypedDict, total=False): nextPageToken: str transferableSkus: _list[GoogleCloudChannelV1TransferableSku] @typing.type_check_only -class GoogleCloudChannelV1MarketingInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1MarketingInfo(typing.TypedDict, total=False): defaultLogo: GoogleCloudChannelV1Media description: str displayName: str @typing.type_check_only -class GoogleCloudChannelV1Media(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Media(typing.TypedDict, total=False): content: str title: str - type: typing_extensions.Literal["MEDIA_TYPE_UNSPECIFIED", "MEDIA_TYPE_IMAGE"] + type: typing.Literal["MEDIA_TYPE_UNSPECIFIED", "MEDIA_TYPE_IMAGE"] @typing.type_check_only -class GoogleCloudChannelV1Offer(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Offer(typing.TypedDict, total=False): constraints: GoogleCloudChannelV1Constraints dealCode: str endTime: str @@ -566,8 +510,8 @@ class GoogleCloudChannelV1Offer(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class GoogleCloudChannelV1OperationMetadata(typing_extensions.TypedDict, total=False): - operationType: typing_extensions.Literal[ +class GoogleCloudChannelV1OperationMetadata(typing.TypedDict, total=False): + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "CREATE_ENTITLEMENT", "CHANGE_RENEWAL_SETTINGS", @@ -583,49 +527,43 @@ class GoogleCloudChannelV1OperationMetadata(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudChannelV1Parameter(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Parameter(typing.TypedDict, total=False): editable: bool name: str value: GoogleCloudChannelV1Value @typing.type_check_only -class GoogleCloudChannelV1ParameterDefinition(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ParameterDefinition(typing.TypedDict, total=False): allowedValues: _list[GoogleCloudChannelV1Value] maxValue: GoogleCloudChannelV1Value minValue: GoogleCloudChannelV1Value name: str optional: bool - parameterType: typing_extensions.Literal[ + parameterType: typing.Literal[ "PARAMETER_TYPE_UNSPECIFIED", "INT64", "STRING", "DOUBLE", "BOOLEAN" ] @typing.type_check_only -class GoogleCloudChannelV1PercentageAdjustment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1PercentageAdjustment(typing.TypedDict, total=False): percentage: GoogleTypeDecimal @typing.type_check_only -class GoogleCloudChannelV1Period(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Period(typing.TypedDict, total=False): duration: int - periodType: typing_extensions.Literal[ - "PERIOD_TYPE_UNSPECIFIED", "DAY", "MONTH", "YEAR" - ] + periodType: typing.Literal["PERIOD_TYPE_UNSPECIFIED", "DAY", "MONTH", "YEAR"] @typing.type_check_only -class GoogleCloudChannelV1Plan(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Plan(typing.TypedDict, total=False): billingAccount: str paymentCycle: GoogleCloudChannelV1Period - paymentPlan: typing_extensions.Literal[ + paymentPlan: typing.Literal[ "PAYMENT_PLAN_UNSPECIFIED", "COMMITMENT", "FLEXIBLE", "FREE", "TRIAL", "OFFLINE" ] - paymentType: typing_extensions.Literal[ - "PAYMENT_TYPE_UNSPECIFIED", "PREPAY", "POSTPAY" - ] + paymentType: typing.Literal["PAYMENT_TYPE_UNSPECIFIED", "PREPAY", "POSTPAY"] trialPeriod: GoogleCloudChannelV1Period @typing.type_check_only -class GoogleCloudChannelV1Price(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Price(typing.TypedDict, total=False): basePrice: GoogleTypeMoney discount: float discountComponents: _list[GoogleCloudChannelV1DiscountComponent] @@ -634,10 +572,10 @@ class GoogleCloudChannelV1Price(typing_extensions.TypedDict, total=False): pricePeriod: GoogleCloudChannelV1Period @typing.type_check_only -class GoogleCloudChannelV1PriceByResource(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1PriceByResource(typing.TypedDict, total=False): price: GoogleCloudChannelV1Price pricePhases: _list[GoogleCloudChannelV1PricePhase] - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "SEAT", "MAU", @@ -650,109 +588,99 @@ class GoogleCloudChannelV1PriceByResource(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class GoogleCloudChannelV1PricePhase(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1PricePhase(typing.TypedDict, total=False): firstPeriod: int lastPeriod: int - periodType: typing_extensions.Literal[ - "PERIOD_TYPE_UNSPECIFIED", "DAY", "MONTH", "YEAR" - ] + periodType: typing.Literal["PERIOD_TYPE_UNSPECIFIED", "DAY", "MONTH", "YEAR"] price: GoogleCloudChannelV1Price priceTiers: _list[GoogleCloudChannelV1PriceTier] @typing.type_check_only -class GoogleCloudChannelV1PriceTier(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1PriceTier(typing.TypedDict, total=False): firstResource: int lastResource: int price: GoogleCloudChannelV1Price @typing.type_check_only -class GoogleCloudChannelV1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Product(typing.TypedDict, total=False): marketingInfo: GoogleCloudChannelV1MarketingInfo name: str @typing.type_check_only -class GoogleCloudChannelV1ProvisionCloudIdentityRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ProvisionCloudIdentityRequest(typing.TypedDict, total=False): cloudIdentityInfo: GoogleCloudChannelV1CloudIdentityInfo user: GoogleCloudChannelV1AdminUser validateOnly: bool @typing.type_check_only -class GoogleCloudChannelV1ProvisionedService(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ProvisionedService(typing.TypedDict, total=False): productId: str provisioningId: str skuId: str @typing.type_check_only -class GoogleCloudChannelV1PurchasableOffer(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1PurchasableOffer(typing.TypedDict, total=False): offer: GoogleCloudChannelV1Offer priceReferenceId: str @typing.type_check_only -class GoogleCloudChannelV1PurchasableSku(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1PurchasableSku(typing.TypedDict, total=False): sku: GoogleCloudChannelV1Sku @typing.type_check_only class GoogleCloudChannelV1QueryEligibleBillingAccountsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): skuPurchaseGroups: _list[GoogleCloudChannelV1SkuPurchaseGroup] @typing.type_check_only -class GoogleCloudChannelV1RegisterSubscriberRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1RegisterSubscriberRequest(typing.TypedDict, total=False): account: str integrator: str serviceAccount: str @typing.type_check_only -class GoogleCloudChannelV1RegisterSubscriberResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1RegisterSubscriberResponse(typing.TypedDict, total=False): topic: str @typing.type_check_only -class GoogleCloudChannelV1RenewalSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1RenewalSettings(typing.TypedDict, total=False): enableRenewal: bool paymentCycle: GoogleCloudChannelV1Period - paymentPlan: typing_extensions.Literal[ + paymentPlan: typing.Literal[ "PAYMENT_PLAN_UNSPECIFIED", "COMMITMENT", "FLEXIBLE", "FREE", "TRIAL", "OFFLINE" ] resizeUnitCount: bool @typing.type_check_only -class GoogleCloudChannelV1Report(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Report(typing.TypedDict, total=False): columns: _list[GoogleCloudChannelV1Column] description: str displayName: str name: str @typing.type_check_only -class GoogleCloudChannelV1ReportJob(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ReportJob(typing.TypedDict, total=False): name: str reportStatus: GoogleCloudChannelV1ReportStatus @typing.type_check_only -class GoogleCloudChannelV1ReportResultsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1ReportResultsMetadata(typing.TypedDict, total=False): dateRange: GoogleCloudChannelV1DateRange precedingDateRange: GoogleCloudChannelV1DateRange report: GoogleCloudChannelV1Report rowCount: str @typing.type_check_only -class GoogleCloudChannelV1ReportStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ReportStatus(typing.TypedDict, total=False): endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTED", "WRITING", "AVAILABLE", "FAILED" ] @typing.type_check_only -class GoogleCloudChannelV1ReportValue(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1ReportValue(typing.TypedDict, total=False): dateTimeValue: GoogleTypeDateTime dateValue: GoogleTypeDate decimalValue: GoogleTypeDecimal @@ -761,15 +689,15 @@ class GoogleCloudChannelV1ReportValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class GoogleCloudChannelV1RepricingAdjustment(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1RepricingAdjustment(typing.TypedDict, total=False): percentageAdjustment: GoogleCloudChannelV1PercentageAdjustment @typing.type_check_only -class GoogleCloudChannelV1RepricingCondition(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1RepricingCondition(typing.TypedDict, total=False): skuGroupCondition: GoogleCloudChannelV1SkuGroupCondition @typing.type_check_only -class GoogleCloudChannelV1RepricingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1RepricingConfig(typing.TypedDict, total=False): adjustment: GoogleCloudChannelV1RepricingAdjustment channelPartnerGranularity: ( GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity @@ -777,80 +705,74 @@ class GoogleCloudChannelV1RepricingConfig(typing_extensions.TypedDict, total=Fal conditionalOverrides: _list[GoogleCloudChannelV1ConditionalOverride] effectiveInvoiceMonth: GoogleTypeDate entitlementGranularity: GoogleCloudChannelV1RepricingConfigEntitlementGranularity - rebillingBasis: typing_extensions.Literal[ + rebillingBasis: typing.Literal[ "REBILLING_BASIS_UNSPECIFIED", "COST_AT_LIST", "DIRECT_CUSTOMER_COST" ] @typing.type_check_only class GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudChannelV1RepricingConfigEntitlementGranularity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entitlement: str @typing.type_check_only -class GoogleCloudChannelV1Row(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Row(typing.TypedDict, total=False): partitionKey: str values: _list[GoogleCloudChannelV1ReportValue] @typing.type_check_only -class GoogleCloudChannelV1RunReportJobRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1RunReportJobRequest(typing.TypedDict, total=False): dateRange: GoogleCloudChannelV1DateRange filter: str languageCode: str @typing.type_check_only -class GoogleCloudChannelV1RunReportJobResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1RunReportJobResponse(typing.TypedDict, total=False): reportJob: GoogleCloudChannelV1ReportJob reportMetadata: GoogleCloudChannelV1ReportResultsMetadata @typing.type_check_only -class GoogleCloudChannelV1Sku(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Sku(typing.TypedDict, total=False): marketingInfo: GoogleCloudChannelV1MarketingInfo name: str product: GoogleCloudChannelV1Product @typing.type_check_only -class GoogleCloudChannelV1SkuGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1SkuGroup(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class GoogleCloudChannelV1SkuGroupCondition(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1SkuGroupCondition(typing.TypedDict, total=False): skuGroup: str @typing.type_check_only -class GoogleCloudChannelV1SkuPurchaseGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1SkuPurchaseGroup(typing.TypedDict, total=False): billingAccountPurchaseInfos: _list[GoogleCloudChannelV1BillingAccountPurchaseInfo] skus: _list[str] @typing.type_check_only -class GoogleCloudChannelV1StartPaidServiceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1StartPaidServiceRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class GoogleCloudChannelV1SubscriberEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1SubscriberEvent(typing.TypedDict, total=False): customerEvent: GoogleCloudChannelV1CustomerEvent entitlementEvent: GoogleCloudChannelV1EntitlementEvent @typing.type_check_only -class GoogleCloudChannelV1SuspendEntitlementRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1SuspendEntitlementRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class GoogleCloudChannelV1TransferEligibility(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1TransferEligibility(typing.TypedDict, total=False): description: str - ineligibilityReason: typing_extensions.Literal[ + ineligibilityReason: typing.Literal[ "REASON_UNSPECIFIED", "PENDING_TOS_ACCEPTANCE", "SKU_NOT_ELIGIBLE", @@ -860,65 +782,57 @@ class GoogleCloudChannelV1TransferEligibility(typing_extensions.TypedDict, total isEligible: bool @typing.type_check_only -class GoogleCloudChannelV1TransferEntitlementsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1TransferEntitlementsRequest(typing.TypedDict, total=False): authToken: str entitlements: _list[GoogleCloudChannelV1Entitlement] requestId: str @typing.type_check_only -class GoogleCloudChannelV1TransferEntitlementsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1TransferEntitlementsResponse(typing.TypedDict, total=False): entitlements: _list[GoogleCloudChannelV1Entitlement] @typing.type_check_only class GoogleCloudChannelV1TransferEntitlementsToGoogleRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entitlements: _list[GoogleCloudChannelV1Entitlement] requestId: str @typing.type_check_only -class GoogleCloudChannelV1TransferableOffer(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1TransferableOffer(typing.TypedDict, total=False): offer: GoogleCloudChannelV1Offer priceReferenceId: str @typing.type_check_only -class GoogleCloudChannelV1TransferableSku(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1TransferableSku(typing.TypedDict, total=False): legacySku: GoogleCloudChannelV1Sku sku: GoogleCloudChannelV1Sku transferEligibility: GoogleCloudChannelV1TransferEligibility @typing.type_check_only -class GoogleCloudChannelV1TrialSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1TrialSettings(typing.TypedDict, total=False): endTime: str trial: bool @typing.type_check_only -class GoogleCloudChannelV1UnregisterSubscriberRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1UnregisterSubscriberRequest(typing.TypedDict, total=False): account: str integrator: str serviceAccount: str @typing.type_check_only -class GoogleCloudChannelV1UnregisterSubscriberResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1UnregisterSubscriberResponse(typing.TypedDict, total=False): topic: str @typing.type_check_only class GoogleCloudChannelV1UpdateChannelPartnerLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelPartnerLink: GoogleCloudChannelV1ChannelPartnerLink updateMask: str @typing.type_check_only -class GoogleCloudChannelV1Value(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1Value(typing.TypedDict, total=False): boolValue: bool doubleValue: float int64Value: str @@ -926,24 +840,20 @@ class GoogleCloudChannelV1Value(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class GoogleCloudChannelV1alpha1AssociationInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1AssociationInfo(typing.TypedDict, total=False): baseEntitlement: str @typing.type_check_only -class GoogleCloudChannelV1alpha1ChannelPartnerEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1ChannelPartnerEvent(typing.TypedDict, total=False): channelPartner: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "TYPE_UNSPECIFIED", "LINK_STATE_CHANGED", "PARTNER_ADVANTAGE_INFO_CHANGED" ] @typing.type_check_only -class GoogleCloudChannelV1alpha1Column(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1Column(typing.TypedDict, total=False): columnId: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING", "INT", @@ -955,29 +865,27 @@ class GoogleCloudChannelV1alpha1Column(typing_extensions.TypedDict, total=False) displayName: str @typing.type_check_only -class GoogleCloudChannelV1alpha1CommitmentSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1CommitmentSettings(typing.TypedDict, total=False): endTime: str renewalSettings: GoogleCloudChannelV1alpha1RenewalSettings startTime: str @typing.type_check_only -class GoogleCloudChannelV1alpha1CustomerEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1CustomerEvent(typing.TypedDict, total=False): customer: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "TYPE_UNSPECIFIED", "PRIMARY_DOMAIN_CHANGED", "PRIMARY_DOMAIN_VERIFIED" ] @typing.type_check_only -class GoogleCloudChannelV1alpha1DateRange(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1DateRange(typing.TypedDict, total=False): invoiceEndDate: GoogleTypeDate invoiceStartDate: GoogleTypeDate usageEndDateTime: GoogleTypeDateTime usageStartDateTime: GoogleTypeDateTime @typing.type_check_only -class GoogleCloudChannelV1alpha1Entitlement(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1Entitlement(typing.TypedDict, total=False): assignedUnits: int associationInfo: GoogleCloudChannelV1alpha1AssociationInfo billingAccount: str @@ -991,7 +899,7 @@ class GoogleCloudChannelV1alpha1Entitlement(typing_extensions.TypedDict, total=F parameters: _list[GoogleCloudChannelV1alpha1Parameter] priceReferenceId: str provisionedService: GoogleCloudChannelV1alpha1ProvisionedService - provisioningState: typing_extensions.Literal[ + provisioningState: typing.Literal[ "PROVISIONING_STATE_UNSPECIFIED", "ACTIVE", "CANCELED", @@ -1001,7 +909,7 @@ class GoogleCloudChannelV1alpha1Entitlement(typing_extensions.TypedDict, total=F ] purchaseOrderId: str suspensionReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "RESELLER_INITIATED", "TRIAL_ENDED", @@ -1014,11 +922,9 @@ class GoogleCloudChannelV1alpha1Entitlement(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudChannelV1alpha1EntitlementEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1EntitlementEvent(typing.TypedDict, total=False): entitlement: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "TYPE_UNSPECIFIED", "CREATED", "PRICE_PLAN_SWITCHED", @@ -1035,10 +941,8 @@ class GoogleCloudChannelV1alpha1EntitlementEvent( ] @typing.type_check_only -class GoogleCloudChannelV1alpha1OperationMetadata( - typing_extensions.TypedDict, total=False -): - operationType: typing_extensions.Literal[ +class GoogleCloudChannelV1alpha1OperationMetadata(typing.TypedDict, total=False): + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "CREATE_ENTITLEMENT", "CHANGE_QUANTITY", @@ -1057,92 +961,76 @@ class GoogleCloudChannelV1alpha1OperationMetadata( ] @typing.type_check_only -class GoogleCloudChannelV1alpha1OpportunityEvent( - typing_extensions.TypedDict, total=False -): - eventType: typing_extensions.Literal[ +class GoogleCloudChannelV1alpha1OpportunityEvent(typing.TypedDict, total=False): + eventType: typing.Literal[ "TYPE_UNSPECIFIED", "CREATED", "UPDATED", "PARTNER_DETACHED" ] opportunity: str partner: str @typing.type_check_only -class GoogleCloudChannelV1alpha1Parameter(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1Parameter(typing.TypedDict, total=False): editable: bool name: str value: GoogleCloudChannelV1alpha1Value @typing.type_check_only -class GoogleCloudChannelV1alpha1Period(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1Period(typing.TypedDict, total=False): duration: int - periodType: typing_extensions.Literal[ - "PERIOD_TYPE_UNSPECIFIED", "DAY", "MONTH", "YEAR" - ] + periodType: typing.Literal["PERIOD_TYPE_UNSPECIFIED", "DAY", "MONTH", "YEAR"] @typing.type_check_only -class GoogleCloudChannelV1alpha1ProvisionedService( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1ProvisionedService(typing.TypedDict, total=False): productId: str provisioningId: str skuId: str @typing.type_check_only -class GoogleCloudChannelV1alpha1RenewalSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1RenewalSettings(typing.TypedDict, total=False): disableCommitment: bool enableRenewal: bool paymentCycle: GoogleCloudChannelV1alpha1Period - paymentOption: typing_extensions.Literal[ - "PAYMENT_OPTION_UNSPECIFIED", "ANNUAL", "MONTHLY" - ] - paymentPlan: typing_extensions.Literal[ + paymentOption: typing.Literal["PAYMENT_OPTION_UNSPECIFIED", "ANNUAL", "MONTHLY"] + paymentPlan: typing.Literal[ "PAYMENT_PLAN_UNSPECIFIED", "COMMITMENT", "FLEXIBLE", "FREE", "TRIAL", "OFFLINE" ] resizeUnitCount: bool scheduledRenewalOffer: str @typing.type_check_only -class GoogleCloudChannelV1alpha1Report(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1Report(typing.TypedDict, total=False): columns: _list[GoogleCloudChannelV1alpha1Column] description: str displayName: str name: str @typing.type_check_only -class GoogleCloudChannelV1alpha1ReportJob(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1ReportJob(typing.TypedDict, total=False): name: str reportStatus: GoogleCloudChannelV1alpha1ReportStatus @typing.type_check_only -class GoogleCloudChannelV1alpha1ReportResultsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1ReportResultsMetadata(typing.TypedDict, total=False): dateRange: GoogleCloudChannelV1alpha1DateRange precedingDateRange: GoogleCloudChannelV1alpha1DateRange report: GoogleCloudChannelV1alpha1Report rowCount: str @typing.type_check_only -class GoogleCloudChannelV1alpha1ReportStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1ReportStatus(typing.TypedDict, total=False): endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTED", "WRITING", "AVAILABLE", "FAILED" ] @typing.type_check_only -class GoogleCloudChannelV1alpha1RunReportJobResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1RunReportJobResponse(typing.TypedDict, total=False): reportJob: GoogleCloudChannelV1alpha1ReportJob reportMetadata: GoogleCloudChannelV1alpha1ReportResultsMetadata @typing.type_check_only -class GoogleCloudChannelV1alpha1SubscriberEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudChannelV1alpha1SubscriberEvent(typing.TypedDict, total=False): channelPartnerEvent: GoogleCloudChannelV1alpha1ChannelPartnerEvent customerEvent: GoogleCloudChannelV1alpha1CustomerEvent entitlementEvent: GoogleCloudChannelV1alpha1EntitlementEvent @@ -1150,17 +1038,17 @@ class GoogleCloudChannelV1alpha1SubscriberEvent( @typing.type_check_only class GoogleCloudChannelV1alpha1TransferEntitlementsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entitlements: _list[GoogleCloudChannelV1alpha1Entitlement] @typing.type_check_only -class GoogleCloudChannelV1alpha1TrialSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1TrialSettings(typing.TypedDict, total=False): endTime: str trial: bool @typing.type_check_only -class GoogleCloudChannelV1alpha1Value(typing_extensions.TypedDict, total=False): +class GoogleCloudChannelV1alpha1Value(typing.TypedDict, total=False): boolValue: bool doubleValue: float int64Value: str @@ -1168,18 +1056,16 @@ class GoogleCloudChannelV1alpha1Value(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -1187,22 +1073,22 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -1214,17 +1100,17 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeDecimal(typing_extensions.TypedDict, total=False): +class GoogleTypeDecimal(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): +class GoogleTypePostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -1238,6 +1124,6 @@ class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/resources.pyi index 07d371aef..4d34b46c0 100644 --- a/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -26,7 +25,7 @@ class CloudCommercePartnerProcurementServiceResource( self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ACCOUNT_VIEW_UNSPECIFIED", "ACCOUNT_VIEW_BASIC", "ACCOUNT_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi index 19e633fbc..6ff63abbe 100644 --- a/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudcommerceprocurement/v1/schemas.pyi @@ -1,55 +1,51 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): approvals: _list[Approval] createTime: str inputProperties: dict[str, typing.Any] name: str provider: str resellerParentBillingAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACCOUNT_STATE_UNSPECIFIED", "ACCOUNT_ACTIVATION_REQUESTED", "ACCOUNT_ACTIVE" ] updateTime: str @typing.type_check_only -class Approval(typing_extensions.TypedDict, total=False): +class Approval(typing.TypedDict, total=False): name: str reason: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED"] updateTime: str @typing.type_check_only -class ApproveAccountRequest(typing_extensions.TypedDict, total=False): +class ApproveAccountRequest(typing.TypedDict, total=False): approvalName: str properties: dict[str, typing.Any] reason: str @typing.type_check_only -class ApproveEntitlementPlanChangeRequest(typing_extensions.TypedDict, total=False): +class ApproveEntitlementPlanChangeRequest(typing.TypedDict, total=False): pendingPlanName: str @typing.type_check_only -class ApproveEntitlementRequest(typing_extensions.TypedDict, total=False): +class ApproveEntitlementRequest(typing.TypedDict, total=False): entitlementMigrated: str properties: dict[str, typing.Any] @typing.type_check_only -class Consumer(typing_extensions.TypedDict, total=False): +class Consumer(typing.TypedDict, total=False): project: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Entitlement(typing_extensions.TypedDict, total=False): +class Entitlement(typing.TypedDict, total=False): account: str cancellationReason: str consumers: _list[Consumer] @@ -72,7 +68,7 @@ class Entitlement(typing_extensions.TypedDict, total=False): productExternalName: str provider: str quoteExternalName: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLEMENT_ACTIVATION_REQUESTED", "ENTITLEMENT_ACTIVE", @@ -87,32 +83,32 @@ class Entitlement(typing_extensions.TypedDict, total=False): usageReportingId: str @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListEntitlementsResponse(typing_extensions.TypedDict, total=False): +class ListEntitlementsResponse(typing.TypedDict, total=False): entitlements: _list[Entitlement] nextPageToken: str @typing.type_check_only -class RejectAccountRequest(typing_extensions.TypedDict, total=False): +class RejectAccountRequest(typing.TypedDict, total=False): approvalName: str reason: str @typing.type_check_only -class RejectEntitlementPlanChangeRequest(typing_extensions.TypedDict, total=False): +class RejectEntitlementPlanChangeRequest(typing.TypedDict, total=False): pendingPlanName: str reason: str @typing.type_check_only -class RejectEntitlementRequest(typing_extensions.TypedDict, total=False): +class RejectEntitlementRequest(typing.TypedDict, total=False): reason: str @typing.type_check_only -class ResetAccountRequest(typing_extensions.TypedDict, total=False): ... +class ResetAccountRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SuspendEntitlementRequest(typing_extensions.TypedDict, total=False): +class SuspendEntitlementRequest(typing.TypedDict, total=False): reason: str diff --git a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/resources.pyi index b3765f2a8..da1142f9b 100644 --- a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi index e078ecd14..cd6af56bb 100644 --- a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessApprovalRequest(typing_extensions.TypedDict, total=False): +class AccessApprovalRequest(typing.TypedDict, total=False): name: str requestTime: str requestedExpirationTime: str requestedReason: AccessReason @typing.type_check_only -class AccessReason(typing_extensions.TypedDict, total=False): +class AccessReason(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CUSTOMER_INITIATED_SUPPORT", "GOOGLE_INITIATED_SERVICE", @@ -25,18 +23,18 @@ class AccessReason(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionError(typing_extensions.TypedDict, total=False): +class ConnectionError(typing.TypedDict, total=False): errorDomain: str errorMessage: str @typing.type_check_only -class Console(typing_extensions.TypedDict, total=False): +class Console(typing.TypedDict, total=False): additionalLinks: _list[str] consoleUris: _list[str] steps: _list[str] @typing.type_check_only -class Customer(typing_extensions.TypedDict, total=False): +class Customer(typing.TypedDict, total=False): customerOnboardingState: CustomerOnboardingState displayName: str isOnboarded: bool @@ -44,12 +42,12 @@ class Customer(typing_extensions.TypedDict, total=False): organizationDomain: str @typing.type_check_only -class CustomerOnboardingState(typing_extensions.TypedDict, total=False): +class CustomerOnboardingState(typing.TypedDict, total=False): onboardingSteps: _list[CustomerOnboardingStep] @typing.type_check_only -class CustomerOnboardingStep(typing_extensions.TypedDict, total=False): - completionState: typing_extensions.Literal[ +class CustomerOnboardingStep(typing.TypedDict, total=False): + completionState: typing.Literal[ "COMPLETION_STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -58,15 +56,13 @@ class CustomerOnboardingStep(typing_extensions.TypedDict, total=False): ] completionTime: str startTime: str - step: typing_extensions.Literal[ - "STEP_UNSPECIFIED", "KAJ_ENROLLMENT", "CUSTOMER_ENVIRONMENT" - ] + step: typing.Literal["STEP_UNSPECIFIED", "KAJ_ENROLLMENT", "CUSTOMER_ENVIRONMENT"] @typing.type_check_only -class EkmConnection(typing_extensions.TypedDict, total=False): +class EkmConnection(typing.TypedDict, total=False): connectionError: ConnectionError connectionName: str - connectionState: typing_extensions.Literal[ + connectionState: typing.Literal[ "CONNECTION_STATE_UNSPECIFIED", "AVAILABLE", "NOT_AVAILABLE", @@ -75,57 +71,57 @@ class EkmConnection(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EkmConnections(typing_extensions.TypedDict, total=False): +class EkmConnections(typing.TypedDict, total=False): ekmConnections: _list[EkmConnection] name: str @typing.type_check_only -class EkmMetadata(typing_extensions.TypedDict, total=False): +class EkmMetadata(typing.TypedDict, total=False): ekmEndpointUri: str - ekmSolution: typing_extensions.Literal[ + ekmSolution: typing.Literal[ "EKM_SOLUTION_UNSPECIFIED", "FORTANIX", "FUTUREX", "THALES", "VIRTRU" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Gcloud(typing_extensions.TypedDict, total=False): +class Gcloud(typing.TypedDict, total=False): additionalLinks: _list[str] gcloudCommands: _list[str] steps: _list[str] @typing.type_check_only -class Instructions(typing_extensions.TypedDict, total=False): +class Instructions(typing.TypedDict, total=False): consoleInstructions: Console gcloudInstructions: Gcloud @typing.type_check_only -class ListAccessApprovalRequestsResponse(typing_extensions.TypedDict, total=False): +class ListAccessApprovalRequestsResponse(typing.TypedDict, total=False): accessApprovalRequests: _list[AccessApprovalRequest] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCustomersResponse(typing_extensions.TypedDict, total=False): +class ListCustomersResponse(typing.TypedDict, total=False): customers: _list[Customer] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListViolationsResponse(typing_extensions.TypedDict, total=False): +class ListViolationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] violations: _list[Violation] @typing.type_check_only -class ListWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListWorkloadsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workloads: _list[Workload] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -135,7 +131,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Partner(typing_extensions.TypedDict, total=False): +class Partner(typing.TypedDict, total=False): createTime: str ekmSolutions: _list[EkmMetadata] name: str @@ -145,10 +141,10 @@ class Partner(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PartnerPermissions(typing_extensions.TypedDict, total=False): +class PartnerPermissions(typing.TypedDict, total=False): name: str partnerPermissions: _list[ - typing_extensions.Literal[ + typing.Literal[ "PERMISSION_UNSPECIFIED", "ACCESS_TRANSPARENCY_AND_EMERGENCY_ACCESS_LOGS", "ASSURED_WORKLOADS_MONITORING", @@ -159,10 +155,10 @@ class PartnerPermissions(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Remediation(typing_extensions.TypedDict, total=False): +class Remediation(typing.TypedDict, total=False): compliantValues: _list[str] instructions: Instructions - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", "REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", @@ -172,12 +168,12 @@ class Remediation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Sku(typing_extensions.TypedDict, total=False): +class Sku(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class Violation(typing_extensions.TypedDict, total=False): +class Violation(typing.TypedDict, total=False): beginTime: str category: str description: str @@ -186,13 +182,11 @@ class Violation(typing_extensions.TypedDict, total=False): nonCompliantOrgPolicy: str remediation: Remediation resolveTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION"] updateTime: str @typing.type_check_only -class Workload(typing_extensions.TypedDict, total=False): +class Workload(typing.TypedDict, total=False): createTime: str folder: str folderId: str @@ -200,7 +194,7 @@ class Workload(typing_extensions.TypedDict, total=False): keyManagementProjectId: str location: str name: str - partner: typing_extensions.Literal[ + partner: typing.Literal[ "PARTNER_UNSPECIFIED", "PARTNER_LOCAL_CONTROLS_BY_S3NS", "PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS", @@ -213,12 +207,12 @@ class Workload(typing_extensions.TypedDict, total=False): workloadOnboardingState: WorkloadOnboardingState @typing.type_check_only -class WorkloadOnboardingState(typing_extensions.TypedDict, total=False): +class WorkloadOnboardingState(typing.TypedDict, total=False): onboardingSteps: _list[WorkloadOnboardingStep] @typing.type_check_only -class WorkloadOnboardingStep(typing_extensions.TypedDict, total=False): - completionState: typing_extensions.Literal[ +class WorkloadOnboardingStep(typing.TypedDict, total=False): + completionState: typing.Literal[ "COMPLETION_STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -227,6 +221,6 @@ class WorkloadOnboardingStep(typing_extensions.TypedDict, total=False): ] completionTime: str startTime: str - step: typing_extensions.Literal[ + step: typing.Literal[ "STEP_UNSPECIFIED", "EKM_PROVISIONED", "SIGNED_ACCESS_APPROVAL_CONFIGURED" ] diff --git a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/resources.pyi b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/resources.pyi index b3765f2a8..da1142f9b 100644 --- a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi index e078ecd14..cd6af56bb 100644 --- a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessApprovalRequest(typing_extensions.TypedDict, total=False): +class AccessApprovalRequest(typing.TypedDict, total=False): name: str requestTime: str requestedExpirationTime: str requestedReason: AccessReason @typing.type_check_only -class AccessReason(typing_extensions.TypedDict, total=False): +class AccessReason(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CUSTOMER_INITIATED_SUPPORT", "GOOGLE_INITIATED_SERVICE", @@ -25,18 +23,18 @@ class AccessReason(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionError(typing_extensions.TypedDict, total=False): +class ConnectionError(typing.TypedDict, total=False): errorDomain: str errorMessage: str @typing.type_check_only -class Console(typing_extensions.TypedDict, total=False): +class Console(typing.TypedDict, total=False): additionalLinks: _list[str] consoleUris: _list[str] steps: _list[str] @typing.type_check_only -class Customer(typing_extensions.TypedDict, total=False): +class Customer(typing.TypedDict, total=False): customerOnboardingState: CustomerOnboardingState displayName: str isOnboarded: bool @@ -44,12 +42,12 @@ class Customer(typing_extensions.TypedDict, total=False): organizationDomain: str @typing.type_check_only -class CustomerOnboardingState(typing_extensions.TypedDict, total=False): +class CustomerOnboardingState(typing.TypedDict, total=False): onboardingSteps: _list[CustomerOnboardingStep] @typing.type_check_only -class CustomerOnboardingStep(typing_extensions.TypedDict, total=False): - completionState: typing_extensions.Literal[ +class CustomerOnboardingStep(typing.TypedDict, total=False): + completionState: typing.Literal[ "COMPLETION_STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -58,15 +56,13 @@ class CustomerOnboardingStep(typing_extensions.TypedDict, total=False): ] completionTime: str startTime: str - step: typing_extensions.Literal[ - "STEP_UNSPECIFIED", "KAJ_ENROLLMENT", "CUSTOMER_ENVIRONMENT" - ] + step: typing.Literal["STEP_UNSPECIFIED", "KAJ_ENROLLMENT", "CUSTOMER_ENVIRONMENT"] @typing.type_check_only -class EkmConnection(typing_extensions.TypedDict, total=False): +class EkmConnection(typing.TypedDict, total=False): connectionError: ConnectionError connectionName: str - connectionState: typing_extensions.Literal[ + connectionState: typing.Literal[ "CONNECTION_STATE_UNSPECIFIED", "AVAILABLE", "NOT_AVAILABLE", @@ -75,57 +71,57 @@ class EkmConnection(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EkmConnections(typing_extensions.TypedDict, total=False): +class EkmConnections(typing.TypedDict, total=False): ekmConnections: _list[EkmConnection] name: str @typing.type_check_only -class EkmMetadata(typing_extensions.TypedDict, total=False): +class EkmMetadata(typing.TypedDict, total=False): ekmEndpointUri: str - ekmSolution: typing_extensions.Literal[ + ekmSolution: typing.Literal[ "EKM_SOLUTION_UNSPECIFIED", "FORTANIX", "FUTUREX", "THALES", "VIRTRU" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Gcloud(typing_extensions.TypedDict, total=False): +class Gcloud(typing.TypedDict, total=False): additionalLinks: _list[str] gcloudCommands: _list[str] steps: _list[str] @typing.type_check_only -class Instructions(typing_extensions.TypedDict, total=False): +class Instructions(typing.TypedDict, total=False): consoleInstructions: Console gcloudInstructions: Gcloud @typing.type_check_only -class ListAccessApprovalRequestsResponse(typing_extensions.TypedDict, total=False): +class ListAccessApprovalRequestsResponse(typing.TypedDict, total=False): accessApprovalRequests: _list[AccessApprovalRequest] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCustomersResponse(typing_extensions.TypedDict, total=False): +class ListCustomersResponse(typing.TypedDict, total=False): customers: _list[Customer] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListViolationsResponse(typing_extensions.TypedDict, total=False): +class ListViolationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] violations: _list[Violation] @typing.type_check_only -class ListWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListWorkloadsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workloads: _list[Workload] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -135,7 +131,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Partner(typing_extensions.TypedDict, total=False): +class Partner(typing.TypedDict, total=False): createTime: str ekmSolutions: _list[EkmMetadata] name: str @@ -145,10 +141,10 @@ class Partner(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PartnerPermissions(typing_extensions.TypedDict, total=False): +class PartnerPermissions(typing.TypedDict, total=False): name: str partnerPermissions: _list[ - typing_extensions.Literal[ + typing.Literal[ "PERMISSION_UNSPECIFIED", "ACCESS_TRANSPARENCY_AND_EMERGENCY_ACCESS_LOGS", "ASSURED_WORKLOADS_MONITORING", @@ -159,10 +155,10 @@ class PartnerPermissions(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Remediation(typing_extensions.TypedDict, total=False): +class Remediation(typing.TypedDict, total=False): compliantValues: _list[str] instructions: Instructions - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", "REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", @@ -172,12 +168,12 @@ class Remediation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Sku(typing_extensions.TypedDict, total=False): +class Sku(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class Violation(typing_extensions.TypedDict, total=False): +class Violation(typing.TypedDict, total=False): beginTime: str category: str description: str @@ -186,13 +182,11 @@ class Violation(typing_extensions.TypedDict, total=False): nonCompliantOrgPolicy: str remediation: Remediation resolveTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RESOLVED", "UNRESOLVED", "EXCEPTION"] updateTime: str @typing.type_check_only -class Workload(typing_extensions.TypedDict, total=False): +class Workload(typing.TypedDict, total=False): createTime: str folder: str folderId: str @@ -200,7 +194,7 @@ class Workload(typing_extensions.TypedDict, total=False): keyManagementProjectId: str location: str name: str - partner: typing_extensions.Literal[ + partner: typing.Literal[ "PARTNER_UNSPECIFIED", "PARTNER_LOCAL_CONTROLS_BY_S3NS", "PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS", @@ -213,12 +207,12 @@ class Workload(typing_extensions.TypedDict, total=False): workloadOnboardingState: WorkloadOnboardingState @typing.type_check_only -class WorkloadOnboardingState(typing_extensions.TypedDict, total=False): +class WorkloadOnboardingState(typing.TypedDict, total=False): onboardingSteps: _list[WorkloadOnboardingStep] @typing.type_check_only -class WorkloadOnboardingStep(typing_extensions.TypedDict, total=False): - completionState: typing_extensions.Literal[ +class WorkloadOnboardingStep(typing.TypedDict, total=False): + completionState: typing.Literal[ "COMPLETION_STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -227,6 +221,6 @@ class WorkloadOnboardingStep(typing_extensions.TypedDict, total=False): ] completionTime: str startTime: str - step: typing_extensions.Literal[ + step: typing.Literal[ "STEP_UNSPECIFIED", "EKM_PROVISIONED", "SIGNED_ACCESS_APPROVAL_CONFIGURED" ] diff --git a/googleapiclient-stubs/_apis/clouddebugger/v2/resources.pyi b/googleapiclient-stubs/_apis/clouddebugger/v2/resources.pyi index 295095f6a..9d21f7372 100644 --- a/googleapiclient-stubs/_apis/clouddebugger/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/clouddebugger/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -70,8 +69,7 @@ class CloudDebuggerResource(googleapiclient.discovery.Resource): self, *, debuggeeId: str, - action_value: typing_extensions.Literal["CAPTURE", "LOG"] - | None = ..., + action_value: typing.Literal["CAPTURE", "LOG"] | None = ..., clientVersion: str | None = ..., includeAllUsers: bool | None = ..., includeInactive: bool | None = ..., @@ -84,7 +82,7 @@ class CloudDebuggerResource(googleapiclient.discovery.Resource): *, debuggeeId: str, body: Breakpoint, - canaryOption: typing_extensions.Literal[ + canaryOption: typing.Literal[ "CANARY_OPTION_UNSPECIFIED", "CANARY_OPTION_TRY_ENABLE", "CANARY_OPTION_TRY_DISABLE", diff --git a/googleapiclient-stubs/_apis/clouddebugger/v2/schemas.pyi b/googleapiclient-stubs/_apis/clouddebugger/v2/schemas.pyi index 104c28e2d..c2c5c5283 100644 --- a/googleapiclient-stubs/_apis/clouddebugger/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/clouddebugger/v2/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AliasContext(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["ANY", "FIXED", "MOVABLE", "OTHER"] +class AliasContext(typing.TypedDict, total=False): + kind: typing.Literal["ANY", "FIXED", "MOVABLE", "OTHER"] name: str @typing.type_check_only -class Breakpoint(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["CAPTURE", "LOG"] +class Breakpoint(typing.TypedDict, total=False): + action: typing.Literal["CAPTURE", "LOG"] canaryExpireTime: str condition: str createTime: str @@ -22,10 +20,10 @@ class Breakpoint(typing_extensions.TypedDict, total=False): isFinalState: bool labels: dict[str, typing.Any] location: SourceLocation - logLevel: typing_extensions.Literal["INFO", "WARNING", "ERROR"] + logLevel: typing.Literal["INFO", "WARNING", "ERROR"] logMessageFormat: str stackFrames: _list[StackFrame] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_CANARY_PENDING_AGENTS", "STATE_CANARY_ACTIVE", @@ -37,26 +35,26 @@ class Breakpoint(typing_extensions.TypedDict, total=False): variableTable: _list[Variable] @typing.type_check_only -class CloudRepoSourceContext(typing_extensions.TypedDict, total=False): +class CloudRepoSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext aliasName: str repoId: RepoId revisionId: str @typing.type_check_only -class CloudWorkspaceId(typing_extensions.TypedDict, total=False): +class CloudWorkspaceId(typing.TypedDict, total=False): name: str repoId: RepoId @typing.type_check_only -class CloudWorkspaceSourceContext(typing_extensions.TypedDict, total=False): +class CloudWorkspaceSourceContext(typing.TypedDict, total=False): snapshotId: str workspaceId: CloudWorkspaceId @typing.type_check_only -class Debuggee(typing_extensions.TypedDict, total=False): +class Debuggee(typing.TypedDict, total=False): agentVersion: str - canaryMode: typing_extensions.Literal[ + canaryMode: typing.Literal[ "CANARY_MODE_UNSPECIFIED", "CANARY_MODE_ALWAYS_ENABLED", "CANARY_MODE_ALWAYS_DISABLED", @@ -75,20 +73,20 @@ class Debuggee(typing_extensions.TypedDict, total=False): uniquifier: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExtendedSourceContext(typing_extensions.TypedDict, total=False): +class ExtendedSourceContext(typing.TypedDict, total=False): context: SourceContext labels: dict[str, typing.Any] @typing.type_check_only -class FormatMessage(typing_extensions.TypedDict, total=False): +class FormatMessage(typing.TypedDict, total=False): format: str parameters: _list[str] @typing.type_check_only -class GerritSourceContext(typing_extensions.TypedDict, total=False): +class GerritSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext aliasName: str gerritProject: str @@ -96,77 +94,77 @@ class GerritSourceContext(typing_extensions.TypedDict, total=False): revisionId: str @typing.type_check_only -class GetBreakpointResponse(typing_extensions.TypedDict, total=False): +class GetBreakpointResponse(typing.TypedDict, total=False): breakpoint: Breakpoint @typing.type_check_only -class GitSourceContext(typing_extensions.TypedDict, total=False): +class GitSourceContext(typing.TypedDict, total=False): revisionId: str url: str @typing.type_check_only -class ListActiveBreakpointsResponse(typing_extensions.TypedDict, total=False): +class ListActiveBreakpointsResponse(typing.TypedDict, total=False): breakpoints: _list[Breakpoint] nextWaitToken: str waitExpired: bool @typing.type_check_only -class ListBreakpointsResponse(typing_extensions.TypedDict, total=False): +class ListBreakpointsResponse(typing.TypedDict, total=False): breakpoints: _list[Breakpoint] nextWaitToken: str @typing.type_check_only -class ListDebuggeesResponse(typing_extensions.TypedDict, total=False): +class ListDebuggeesResponse(typing.TypedDict, total=False): debuggees: _list[Debuggee] @typing.type_check_only -class ProjectRepoId(typing_extensions.TypedDict, total=False): +class ProjectRepoId(typing.TypedDict, total=False): projectId: str repoName: str @typing.type_check_only -class RegisterDebuggeeRequest(typing_extensions.TypedDict, total=False): +class RegisterDebuggeeRequest(typing.TypedDict, total=False): debuggee: Debuggee @typing.type_check_only -class RegisterDebuggeeResponse(typing_extensions.TypedDict, total=False): +class RegisterDebuggeeResponse(typing.TypedDict, total=False): agentId: str debuggee: Debuggee @typing.type_check_only -class RepoId(typing_extensions.TypedDict, total=False): +class RepoId(typing.TypedDict, total=False): projectRepoId: ProjectRepoId uid: str @typing.type_check_only -class SetBreakpointResponse(typing_extensions.TypedDict, total=False): +class SetBreakpointResponse(typing.TypedDict, total=False): breakpoint: Breakpoint @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): cloudRepo: CloudRepoSourceContext cloudWorkspace: CloudWorkspaceSourceContext gerrit: GerritSourceContext git: GitSourceContext @typing.type_check_only -class SourceLocation(typing_extensions.TypedDict, total=False): +class SourceLocation(typing.TypedDict, total=False): column: int line: int path: str @typing.type_check_only -class StackFrame(typing_extensions.TypedDict, total=False): +class StackFrame(typing.TypedDict, total=False): arguments: _list[Variable] function: str locals: _list[Variable] location: SourceLocation @typing.type_check_only -class StatusMessage(typing_extensions.TypedDict, total=False): +class StatusMessage(typing.TypedDict, total=False): description: FormatMessage isError: bool - refersTo: typing_extensions.Literal[ + refersTo: typing.Literal[ "UNSPECIFIED", "BREAKPOINT_SOURCE_LOCATION", "BREAKPOINT_CONDITION", @@ -178,14 +176,14 @@ class StatusMessage(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpdateActiveBreakpointRequest(typing_extensions.TypedDict, total=False): +class UpdateActiveBreakpointRequest(typing.TypedDict, total=False): breakpoint: Breakpoint @typing.type_check_only -class UpdateActiveBreakpointResponse(typing_extensions.TypedDict, total=False): ... +class UpdateActiveBreakpointResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Variable(typing_extensions.TypedDict, total=False): +class Variable(typing.TypedDict, total=False): members: _list[Variable] name: str status: StatusMessage diff --git a/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi b/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi index 6c8997a41..0185d21b0 100644 --- a/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/clouddeploy/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi index 1e8581462..acfa4dc60 100644 --- a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi @@ -1,53 +1,51 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbandonReleaseRequest(typing_extensions.TypedDict, total=False): ... +class AbandonReleaseRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AbandonReleaseResponse(typing_extensions.TypedDict, total=False): ... +class AbandonReleaseResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AdvanceChildRolloutJob(typing_extensions.TypedDict, total=False): ... +class AdvanceChildRolloutJob(typing.TypedDict, total=False): ... @typing.type_check_only -class AdvanceChildRolloutJobRun(typing_extensions.TypedDict, total=False): +class AdvanceChildRolloutJobRun(typing.TypedDict, total=False): rollout: str rolloutPhaseId: str @typing.type_check_only -class AdvanceRolloutOperation(typing_extensions.TypedDict, total=False): +class AdvanceRolloutOperation(typing.TypedDict, total=False): destinationPhase: str rollout: str sourcePhase: str wait: str @typing.type_check_only -class AdvanceRolloutRequest(typing_extensions.TypedDict, total=False): +class AdvanceRolloutRequest(typing.TypedDict, total=False): overrideDeployPolicy: _list[str] phaseId: str @typing.type_check_only -class AdvanceRolloutResponse(typing_extensions.TypedDict, total=False): ... +class AdvanceRolloutResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AdvanceRolloutRule(typing_extensions.TypedDict, total=False): +class AdvanceRolloutRule(typing.TypedDict, total=False): condition: AutomationRuleCondition id: str sourcePhases: _list[str] wait: str @typing.type_check_only -class AlertPolicyCheck(typing_extensions.TypedDict, total=False): +class AlertPolicyCheck(typing.TypedDict, total=False): alertPolicies: _list[str] id: str labels: dict[str, typing.Any] @typing.type_check_only -class AlertPolicyCheckStatus(typing_extensions.TypedDict, total=False): +class AlertPolicyCheckStatus(typing.TypedDict, total=False): alertPolicies: _list[str] failedAlertPolicies: _list[FailedAlertPolicy] failureMessage: str @@ -55,54 +53,54 @@ class AlertPolicyCheckStatus(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class Analysis(typing_extensions.TypedDict, total=False): +class Analysis(typing.TypedDict, total=False): customChecks: _list[CustomCheck] duration: str googleCloud: GoogleCloudAnalysis @typing.type_check_only -class AnalysisJob(typing_extensions.TypedDict, total=False): +class AnalysisJob(typing.TypedDict, total=False): customChecks: _list[CustomCheck] duration: str googleCloud: GoogleCloudAnalysis @typing.type_check_only -class AnalysisJobRun(typing_extensions.TypedDict, total=False): +class AnalysisJobRun(typing.TypedDict, total=False): alertPolicyAnalyses: _list[AlertPolicyCheckStatus] customCheckAnalyses: _list[CustomCheckStatus] failedCheckId: str @typing.type_check_only -class AnthosCluster(typing_extensions.TypedDict, total=False): +class AnthosCluster(typing.TypedDict, total=False): membership: str @typing.type_check_only -class ApproveRolloutRequest(typing_extensions.TypedDict, total=False): +class ApproveRolloutRequest(typing.TypedDict, total=False): approved: bool overrideDeployPolicy: _list[str] @typing.type_check_only -class ApproveRolloutResponse(typing_extensions.TypedDict, total=False): ... +class ApproveRolloutResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AssociatedEntities(typing_extensions.TypedDict, total=False): +class AssociatedEntities(typing.TypedDict, total=False): anthosClusters: _list[AnthosCluster] gkeClusters: _list[GkeCluster] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Automation(typing_extensions.TypedDict, total=False): +class Automation(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str description: str @@ -117,11 +115,11 @@ class Automation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AutomationEvent(typing_extensions.TypedDict, total=False): +class AutomationEvent(typing.TypedDict, total=False): automation: str message: str pipelineUid: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -134,29 +132,29 @@ class AutomationEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AutomationResourceSelector(typing_extensions.TypedDict, total=False): +class AutomationResourceSelector(typing.TypedDict, total=False): targets: _list[TargetAttribute] @typing.type_check_only -class AutomationRolloutMetadata(typing_extensions.TypedDict, total=False): +class AutomationRolloutMetadata(typing.TypedDict, total=False): advanceAutomationRuns: _list[str] promoteAutomationRun: str repairAutomationRuns: _list[str] @typing.type_check_only -class AutomationRule(typing_extensions.TypedDict, total=False): +class AutomationRule(typing.TypedDict, total=False): advanceRolloutRule: AdvanceRolloutRule promoteReleaseRule: PromoteReleaseRule repairRolloutRule: RepairRolloutRule timedPromoteReleaseRule: TimedPromoteReleaseRule @typing.type_check_only -class AutomationRuleCondition(typing_extensions.TypedDict, total=False): +class AutomationRuleCondition(typing.TypedDict, total=False): targetsPresentCondition: TargetsPresentCondition timedPromoteReleaseCondition: TimedPromoteReleaseCondition @typing.type_check_only -class AutomationRun(typing_extensions.TypedDict, total=False): +class AutomationRun(typing.TypedDict, total=False): advanceRolloutOperation: AdvanceRolloutOperation automationId: str automationSnapshot: Automation @@ -169,7 +167,7 @@ class AutomationRun(typing_extensions.TypedDict, total=False): repairRolloutOperation: RepairRolloutOperation ruleId: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUCCEEDED", "CANCELLED", @@ -186,14 +184,14 @@ class AutomationRun(typing_extensions.TypedDict, total=False): waitUntilTime: str @typing.type_check_only -class AutomationRunEvent(typing_extensions.TypedDict, total=False): +class AutomationRunEvent(typing.TypedDict, total=False): automationId: str automationRun: str destinationTargetId: str message: str pipelineUid: str ruleId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -206,24 +204,24 @@ class AutomationRunEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BuildArtifact(typing_extensions.TypedDict, total=False): +class BuildArtifact(typing.TypedDict, total=False): image: str tag: str @typing.type_check_only -class Canary(typing_extensions.TypedDict, total=False): +class Canary(typing.TypedDict, total=False): canaryDeployment: CanaryDeployment customCanaryDeployment: CustomCanaryDeployment runtimeConfig: RuntimeConfig @typing.type_check_only -class CanaryDeployment(typing_extensions.TypedDict, total=False): +class CanaryDeployment(typing.TypedDict, total=False): analysis: Analysis percentages: _list[int] postdeploy: Postdeploy @@ -232,39 +230,39 @@ class CanaryDeployment(typing_extensions.TypedDict, total=False): verifyConfig: Verify @typing.type_check_only -class CancelAutomationRunRequest(typing_extensions.TypedDict, total=False): ... +class CancelAutomationRunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelAutomationRunResponse(typing_extensions.TypedDict, total=False): ... +class CancelAutomationRunResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelRolloutRequest(typing_extensions.TypedDict, total=False): +class CancelRolloutRequest(typing.TypedDict, total=False): overrideDeployPolicy: _list[str] @typing.type_check_only -class CancelRolloutResponse(typing_extensions.TypedDict, total=False): ... +class CancelRolloutResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ChildRolloutJobs(typing_extensions.TypedDict, total=False): +class ChildRolloutJobs(typing.TypedDict, total=False): advanceRolloutJobs: _list[Job] createRolloutJobs: _list[Job] @typing.type_check_only -class CloudRunConfig(typing_extensions.TypedDict, total=False): +class CloudRunConfig(typing.TypedDict, total=False): automaticTrafficControl: bool canaryRevisionTags: _list[str] priorRevisionTags: _list[str] stableRevisionTags: _list[str] @typing.type_check_only -class CloudRunLocation(typing_extensions.TypedDict, total=False): +class CloudRunLocation(typing.TypedDict, total=False): location: str @typing.type_check_only -class CloudRunMetadata(typing_extensions.TypedDict, total=False): +class CloudRunMetadata(typing.TypedDict, total=False): job: str previousRevision: str revision: str @@ -273,47 +271,47 @@ class CloudRunMetadata(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class CloudRunRenderMetadata(typing_extensions.TypedDict, total=False): +class CloudRunRenderMetadata(typing.TypedDict, total=False): job: str revision: str service: str workerPool: str @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): defaultSkaffoldVersion: str defaultToolVersions: ToolVersions name: str supportedVersions: _list[SkaffoldVersion] @typing.type_check_only -class ContainerTask(typing_extensions.TypedDict, total=False): +class ContainerTask(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: dict[str, typing.Any] image: str @typing.type_check_only -class CreateChildRolloutJob(typing_extensions.TypedDict, total=False): ... +class CreateChildRolloutJob(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateChildRolloutJobRun(typing_extensions.TypedDict, total=False): +class CreateChildRolloutJobRun(typing.TypedDict, total=False): rollout: str rolloutPhaseId: str @typing.type_check_only -class CustomCanaryDeployment(typing_extensions.TypedDict, total=False): +class CustomCanaryDeployment(typing.TypedDict, total=False): phaseConfigs: _list[PhaseConfig] @typing.type_check_only -class CustomCheck(typing_extensions.TypedDict, total=False): +class CustomCheck(typing.TypedDict, total=False): frequency: str id: str task: Task @typing.type_check_only -class CustomCheckStatus(typing_extensions.TypedDict, total=False): - failureCause: typing_extensions.Literal[ +class CustomCheckStatus(typing.TypedDict, total=False): + failureCause: typing.Literal[ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", @@ -328,30 +326,30 @@ class CustomCheckStatus(typing_extensions.TypedDict, total=False): task: Task @typing.type_check_only -class CustomMetadata(typing_extensions.TypedDict, total=False): +class CustomMetadata(typing.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class CustomTarget(typing_extensions.TypedDict, total=False): +class CustomTarget(typing.TypedDict, total=False): customTargetType: str @typing.type_check_only -class CustomTargetDeployMetadata(typing_extensions.TypedDict, total=False): +class CustomTargetDeployMetadata(typing.TypedDict, total=False): skipMessage: str @typing.type_check_only -class CustomTargetSkaffoldActions(typing_extensions.TypedDict, total=False): +class CustomTargetSkaffoldActions(typing.TypedDict, total=False): deployAction: str includeSkaffoldModules: _list[SkaffoldModules] renderAction: str @typing.type_check_only -class CustomTargetTasks(typing_extensions.TypedDict, total=False): +class CustomTargetTasks(typing.TypedDict, total=False): deploy: Task render: Task @typing.type_check_only -class CustomTargetType(typing_extensions.TypedDict, total=False): +class CustomTargetType(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str customActions: CustomTargetSkaffoldActions @@ -365,11 +363,11 @@ class CustomTargetType(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CustomTargetTypeNotificationEvent(typing_extensions.TypedDict, total=False): +class CustomTargetTypeNotificationEvent(typing.TypedDict, total=False): customTargetType: str customTargetTypeUid: str message: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -382,18 +380,18 @@ class CustomTargetTypeNotificationEvent(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DefaultPool(typing_extensions.TypedDict, total=False): +class DefaultPool(typing.TypedDict, total=False): artifactStorage: str serviceAccount: str @typing.type_check_only -class DeliveryPipeline(typing_extensions.TypedDict, total=False): +class DeliveryPipeline(typing.TypedDict, total=False): annotations: dict[str, typing.Any] condition: PipelineCondition createTime: str @@ -407,16 +405,16 @@ class DeliveryPipeline(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeliveryPipelineAttribute(typing_extensions.TypedDict, total=False): +class DeliveryPipelineAttribute(typing.TypedDict, total=False): id: str labels: dict[str, typing.Any] @typing.type_check_only -class DeliveryPipelineNotificationEvent(typing_extensions.TypedDict, total=False): +class DeliveryPipelineNotificationEvent(typing.TypedDict, total=False): deliveryPipeline: str message: str pipelineUid: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -429,18 +427,18 @@ class DeliveryPipelineNotificationEvent(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class DeployArtifact(typing_extensions.TypedDict, total=False): +class DeployArtifact(typing.TypedDict, total=False): artifactUri: str manifestPaths: _list[str] @typing.type_check_only -class DeployJob(typing_extensions.TypedDict, total=False): ... +class DeployJob(typing.TypedDict, total=False): ... @typing.type_check_only -class DeployJobRun(typing_extensions.TypedDict, total=False): +class DeployJobRun(typing.TypedDict, total=False): artifact: DeployArtifact build: str - failureCause: typing_extensions.Literal[ + failureCause: typing.Literal[ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", @@ -453,18 +451,18 @@ class DeployJobRun(typing_extensions.TypedDict, total=False): metadata: DeployJobRunMetadata @typing.type_check_only -class DeployJobRunMetadata(typing_extensions.TypedDict, total=False): +class DeployJobRunMetadata(typing.TypedDict, total=False): cloudRun: CloudRunMetadata custom: CustomMetadata customTarget: CustomTargetDeployMetadata @typing.type_check_only -class DeployParameters(typing_extensions.TypedDict, total=False): +class DeployParameters(typing.TypedDict, total=False): matchTargetLabels: dict[str, typing.Any] values: dict[str, typing.Any] @typing.type_check_only -class DeployPolicy(typing_extensions.TypedDict, total=False): +class DeployPolicy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str description: str @@ -478,17 +476,15 @@ class DeployPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeployPolicyEvaluationEvent(typing_extensions.TypedDict, total=False): +class DeployPolicyEvaluationEvent(typing.TypedDict, total=False): allowed: bool deliveryPipeline: str deployPolicy: str deployPolicyUid: str - invoker: typing_extensions.Literal[ - "INVOKER_UNSPECIFIED", "USER", "DEPLOY_AUTOMATION" - ] + invoker: typing.Literal["INVOKER_UNSPECIFIED", "USER", "DEPLOY_AUTOMATION"] message: str overrides: _list[ - typing_extensions.Literal[ + typing.Literal[ "POLICY_VERDICT_OVERRIDE_UNSPECIFIED", "POLICY_OVERRIDDEN", "POLICY_SUSPENDED", @@ -499,16 +495,16 @@ class DeployPolicyEvaluationEvent(typing_extensions.TypedDict, total=False): ruleType: str target: str targetUid: str - verdict: typing_extensions.Literal[ + verdict: typing.Literal[ "POLICY_VERDICT_UNSPECIFIED", "ALLOWED_BY_POLICY", "DENIED_BY_POLICY" ] @typing.type_check_only -class DeployPolicyNotificationEvent(typing_extensions.TypedDict, total=False): +class DeployPolicyNotificationEvent(typing.TypedDict, total=False): deployPolicy: str deployPolicyUid: str message: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -521,12 +517,12 @@ class DeployPolicyNotificationEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DeployPolicyResourceSelector(typing_extensions.TypedDict, total=False): +class DeployPolicyResourceSelector(typing.TypedDict, total=False): deliveryPipeline: DeliveryPipelineAttribute target: TargetAttribute @typing.type_check_only -class DeploymentJobs(typing_extensions.TypedDict, total=False): +class DeploymentJobs(typing.TypedDict, total=False): analysisJob: Job deployJob: Job postdeployJob: Job @@ -534,17 +530,17 @@ class DeploymentJobs(typing_extensions.TypedDict, total=False): verifyJob: Job @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecutionConfig(typing_extensions.TypedDict, total=False): +class ExecutionConfig(typing.TypedDict, total=False): artifactStorage: str defaultPool: DefaultPool executionTimeout: str privatePool: PrivatePool serviceAccount: str usages: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED", "RENDER", "DEPLOY", @@ -558,19 +554,19 @@ class ExecutionConfig(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FailedAlertPolicy(typing_extensions.TypedDict, total=False): +class FailedAlertPolicy(typing.TypedDict, total=False): alertPolicy: str alerts: _list[str] @typing.type_check_only -class GatewayServiceMesh(typing_extensions.TypedDict, total=False): +class GatewayServiceMesh(typing.TypedDict, total=False): deployment: str httpRoute: str podSelectorLabel: str @@ -580,27 +576,27 @@ class GatewayServiceMesh(typing_extensions.TypedDict, total=False): stableCutbackDuration: str @typing.type_check_only -class GkeCluster(typing_extensions.TypedDict, total=False): +class GkeCluster(typing.TypedDict, total=False): cluster: str dnsEndpoint: bool internalIp: bool proxyUrl: str @typing.type_check_only -class GoogleCloudAnalysis(typing_extensions.TypedDict, total=False): +class GoogleCloudAnalysis(typing.TypedDict, total=False): alertPolicyChecks: _list[AlertPolicyCheck] @typing.type_check_only -class IgnoreJobRequest(typing_extensions.TypedDict, total=False): +class IgnoreJobRequest(typing.TypedDict, total=False): jobId: str overrideDeployPolicy: _list[str] phaseId: str @typing.type_check_only -class IgnoreJobResponse(typing_extensions.TypedDict, total=False): ... +class IgnoreJobResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): advanceChildRolloutJob: AdvanceChildRolloutJob analysisJob: AnalysisJob createChildRolloutJob: CreateChildRolloutJob @@ -610,7 +606,7 @@ class Job(typing_extensions.TypedDict, total=False): postdeployJob: PostdeployJob predeployJob: PredeployJob skipMessage: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "DISABLED", @@ -624,7 +620,7 @@ class Job(typing_extensions.TypedDict, total=False): verifyJob: VerifyJob @typing.type_check_only -class JobRun(typing_extensions.TypedDict, total=False): +class JobRun(typing.TypedDict, total=False): advanceChildRolloutJobRun: AdvanceChildRolloutJobRun analysisJobRun: AnalysisJobRun createChildRolloutJobRun: CreateChildRolloutJobRun @@ -638,7 +634,7 @@ class JobRun(typing_extensions.TypedDict, total=False): postdeployJobRun: PostdeployJobRun predeployJobRun: PredeployJobRun startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", @@ -650,7 +646,7 @@ class JobRun(typing_extensions.TypedDict, total=False): verifyJobRun: VerifyJobRun @typing.type_check_only -class JobRunNotificationEvent(typing_extensions.TypedDict, total=False): +class JobRunNotificationEvent(typing.TypedDict, total=False): jobRun: str message: str pipelineUid: str @@ -659,7 +655,7 @@ class JobRunNotificationEvent(typing_extensions.TypedDict, total=False): rollout: str rolloutUid: str targetId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -672,83 +668,83 @@ class JobRunNotificationEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class KubernetesConfig(typing_extensions.TypedDict, total=False): +class KubernetesConfig(typing.TypedDict, total=False): gatewayServiceMesh: GatewayServiceMesh serviceNetworking: ServiceNetworking @typing.type_check_only -class KubernetesRenderMetadata(typing_extensions.TypedDict, total=False): +class KubernetesRenderMetadata(typing.TypedDict, total=False): canaryDeployment: str deployment: str kubernetesNamespace: str @typing.type_check_only -class ListAutomationRunsResponse(typing_extensions.TypedDict, total=False): +class ListAutomationRunsResponse(typing.TypedDict, total=False): automationRuns: _list[AutomationRun] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAutomationsResponse(typing_extensions.TypedDict, total=False): +class ListAutomationsResponse(typing.TypedDict, total=False): automations: _list[Automation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCustomTargetTypesResponse(typing_extensions.TypedDict, total=False): +class ListCustomTargetTypesResponse(typing.TypedDict, total=False): customTargetTypes: _list[CustomTargetType] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDeliveryPipelinesResponse(typing_extensions.TypedDict, total=False): +class ListDeliveryPipelinesResponse(typing.TypedDict, total=False): deliveryPipelines: _list[DeliveryPipeline] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDeployPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListDeployPoliciesResponse(typing.TypedDict, total=False): deployPolicies: _list[DeployPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListJobRunsResponse(typing_extensions.TypedDict, total=False): +class ListJobRunsResponse(typing.TypedDict, total=False): jobRuns: _list[JobRun] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListReleasesResponse(typing_extensions.TypedDict, total=False): +class ListReleasesResponse(typing.TypedDict, total=False): nextPageToken: str releases: _list[Release] unreachable: _list[str] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] unreachable: _list[str] @typing.type_check_only -class ListTargetsResponse(typing_extensions.TypedDict, total=False): +class ListTargetsResponse(typing.TypedDict, total=False): nextPageToken: str targets: _list[Target] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -756,24 +752,24 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): automation: AutomationRolloutMetadata cloudRun: CloudRunMetadata custom: CustomMetadata @typing.type_check_only -class MultiTarget(typing_extensions.TypedDict, total=False): +class MultiTarget(typing.TypedDict, total=False): targetIds: _list[str] @typing.type_check_only -class OneTimeWindow(typing_extensions.TypedDict, total=False): +class OneTimeWindow(typing.TypedDict, total=False): endDate: Date endTime: TimeOfDay startDate: Date startTime: TimeOfDay @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -781,7 +777,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -791,12 +787,12 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Phase(typing_extensions.TypedDict, total=False): +class Phase(typing.TypedDict, total=False): childRolloutJobs: ChildRolloutJobs deploymentJobs: DeploymentJobs id: str skipMessage: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "IN_PROGRESS", @@ -807,13 +803,13 @@ class Phase(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PhaseArtifact(typing_extensions.TypedDict, total=False): +class PhaseArtifact(typing.TypedDict, total=False): jobManifestsPath: str manifestPath: str skaffoldConfigPath: str @typing.type_check_only -class PhaseConfig(typing_extensions.TypedDict, total=False): +class PhaseConfig(typing.TypedDict, total=False): analysis: Analysis percentage: int phaseId: str @@ -824,51 +820,51 @@ class PhaseConfig(typing_extensions.TypedDict, total=False): verifyConfig: Verify @typing.type_check_only -class PipelineCondition(typing_extensions.TypedDict, total=False): +class PipelineCondition(typing.TypedDict, total=False): pipelineReadyCondition: PipelineReadyCondition targetsPresentCondition: TargetsPresentCondition targetsTypeCondition: TargetsTypeCondition @typing.type_check_only -class PipelineReadyCondition(typing_extensions.TypedDict, total=False): +class PipelineReadyCondition(typing.TypedDict, total=False): status: bool updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyRule(typing_extensions.TypedDict, total=False): +class PolicyRule(typing.TypedDict, total=False): rolloutRestriction: RolloutRestriction @typing.type_check_only -class PolicyViolation(typing_extensions.TypedDict, total=False): +class PolicyViolation(typing.TypedDict, total=False): policyViolationDetails: _list[PolicyViolationDetails] @typing.type_check_only -class PolicyViolationDetails(typing_extensions.TypedDict, total=False): +class PolicyViolationDetails(typing.TypedDict, total=False): failureMessage: str policy: str ruleId: str @typing.type_check_only -class Postdeploy(typing_extensions.TypedDict, total=False): +class Postdeploy(typing.TypedDict, total=False): actions: _list[str] tasks: _list[Task] @typing.type_check_only -class PostdeployJob(typing_extensions.TypedDict, total=False): +class PostdeployJob(typing.TypedDict, total=False): actions: _list[str] tasks: _list[Task] @typing.type_check_only -class PostdeployJobRun(typing_extensions.TypedDict, total=False): +class PostdeployJobRun(typing.TypedDict, total=False): build: str - failureCause: typing_extensions.Literal[ + failureCause: typing.Literal[ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", @@ -879,23 +875,23 @@ class PostdeployJobRun(typing_extensions.TypedDict, total=False): metadata: PostdeployJobRunMetadata @typing.type_check_only -class PostdeployJobRunMetadata(typing_extensions.TypedDict, total=False): +class PostdeployJobRunMetadata(typing.TypedDict, total=False): custom: CustomMetadata @typing.type_check_only -class Predeploy(typing_extensions.TypedDict, total=False): +class Predeploy(typing.TypedDict, total=False): actions: _list[str] tasks: _list[Task] @typing.type_check_only -class PredeployJob(typing_extensions.TypedDict, total=False): +class PredeployJob(typing.TypedDict, total=False): actions: _list[str] tasks: _list[Task] @typing.type_check_only -class PredeployJobRun(typing_extensions.TypedDict, total=False): +class PredeployJobRun(typing.TypedDict, total=False): build: str - failureCause: typing_extensions.Literal[ + failureCause: typing.Literal[ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", @@ -906,24 +902,24 @@ class PredeployJobRun(typing_extensions.TypedDict, total=False): metadata: PredeployJobRunMetadata @typing.type_check_only -class PredeployJobRunMetadata(typing_extensions.TypedDict, total=False): +class PredeployJobRunMetadata(typing.TypedDict, total=False): custom: CustomMetadata @typing.type_check_only -class PrivatePool(typing_extensions.TypedDict, total=False): +class PrivatePool(typing.TypedDict, total=False): artifactStorage: str serviceAccount: str workerPool: str @typing.type_check_only -class PromoteReleaseOperation(typing_extensions.TypedDict, total=False): +class PromoteReleaseOperation(typing.TypedDict, total=False): phase: str rollout: str targetId: str wait: str @typing.type_check_only -class PromoteReleaseRule(typing_extensions.TypedDict, total=False): +class PromoteReleaseRule(typing.TypedDict, total=False): condition: AutomationRuleCondition destinationPhase: str destinationTargetId: str @@ -931,7 +927,7 @@ class PromoteReleaseRule(typing_extensions.TypedDict, total=False): wait: str @typing.type_check_only -class Release(typing_extensions.TypedDict, total=False): +class Release(typing.TypedDict, total=False): abandoned: bool annotations: dict[str, typing.Any] buildArtifacts: _list[BuildArtifact] @@ -946,7 +942,7 @@ class Release(typing_extensions.TypedDict, total=False): name: str renderEndTime: str renderStartTime: str - renderState: typing_extensions.Literal[ + renderState: typing.Literal[ "RENDER_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "IN_PROGRESS" ] skaffoldConfigPath: str @@ -959,7 +955,7 @@ class Release(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class ReleaseCondition(typing_extensions.TypedDict, total=False): +class ReleaseCondition(typing.TypedDict, total=False): dockerVersionSupportedCondition: ToolVersionSupportedCondition helmVersionSupportedCondition: ToolVersionSupportedCondition kptVersionSupportedCondition: ToolVersionSupportedCondition @@ -970,12 +966,12 @@ class ReleaseCondition(typing_extensions.TypedDict, total=False): skaffoldVersionSupportedCondition: ToolVersionSupportedCondition @typing.type_check_only -class ReleaseNotificationEvent(typing_extensions.TypedDict, total=False): +class ReleaseNotificationEvent(typing.TypedDict, total=False): message: str pipelineUid: str release: str releaseUid: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -988,18 +984,18 @@ class ReleaseNotificationEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ReleaseReadyCondition(typing_extensions.TypedDict, total=False): +class ReleaseReadyCondition(typing.TypedDict, total=False): status: bool @typing.type_check_only -class ReleaseRenderEvent(typing_extensions.TypedDict, total=False): +class ReleaseRenderEvent(typing.TypedDict, total=False): message: str pipelineUid: str release: str - releaseRenderState: typing_extensions.Literal[ + releaseRenderState: typing.Literal[ "RENDER_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "IN_PROGRESS" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -1012,23 +1008,23 @@ class ReleaseRenderEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RenderMetadata(typing_extensions.TypedDict, total=False): +class RenderMetadata(typing.TypedDict, total=False): cloudRun: CloudRunRenderMetadata custom: CustomMetadata kubernetes: KubernetesRenderMetadata @typing.type_check_only -class RepairPhase(typing_extensions.TypedDict, total=False): +class RepairPhase(typing.TypedDict, total=False): retry: RetryPhase rollback: RollbackAttempt @typing.type_check_only -class RepairPhaseConfig(typing_extensions.TypedDict, total=False): +class RepairPhaseConfig(typing.TypedDict, total=False): retry: Retry rollback: Rollback @typing.type_check_only -class RepairRolloutOperation(typing_extensions.TypedDict, total=False): +class RepairRolloutOperation(typing.TypedDict, total=False): currentRepairPhaseIndex: str jobId: str phaseId: str @@ -1036,7 +1032,7 @@ class RepairRolloutOperation(typing_extensions.TypedDict, total=False): rollout: str @typing.type_check_only -class RepairRolloutRule(typing_extensions.TypedDict, total=False): +class RepairRolloutRule(typing.TypedDict, total=False): condition: AutomationRuleCondition id: str jobs: _list[str] @@ -1044,17 +1040,17 @@ class RepairRolloutRule(typing_extensions.TypedDict, total=False): repairPhases: _list[RepairPhaseConfig] @typing.type_check_only -class Retry(typing_extensions.TypedDict, total=False): +class Retry(typing.TypedDict, total=False): attempts: str - backoffMode: typing_extensions.Literal[ + backoffMode: typing.Literal[ "BACKOFF_MODE_UNSPECIFIED", "BACKOFF_MODE_LINEAR", "BACKOFF_MODE_EXPONENTIAL" ] wait: str @typing.type_check_only -class RetryAttempt(typing_extensions.TypedDict, total=False): +class RetryAttempt(typing.TypedDict, total=False): attempt: str - state: typing_extensions.Literal[ + state: typing.Literal[ "REPAIR_STATE_UNSPECIFIED", "REPAIR_STATE_SUCCEEDED", "REPAIR_STATE_CANCELLED", @@ -1067,33 +1063,33 @@ class RetryAttempt(typing_extensions.TypedDict, total=False): wait: str @typing.type_check_only -class RetryJobRequest(typing_extensions.TypedDict, total=False): +class RetryJobRequest(typing.TypedDict, total=False): jobId: str overrideDeployPolicy: _list[str] phaseId: str @typing.type_check_only -class RetryJobResponse(typing_extensions.TypedDict, total=False): ... +class RetryJobResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryPhase(typing_extensions.TypedDict, total=False): +class RetryPhase(typing.TypedDict, total=False): attempts: _list[RetryAttempt] - backoffMode: typing_extensions.Literal[ + backoffMode: typing.Literal[ "BACKOFF_MODE_UNSPECIFIED", "BACKOFF_MODE_LINEAR", "BACKOFF_MODE_EXPONENTIAL" ] totalAttempts: str @typing.type_check_only -class Rollback(typing_extensions.TypedDict, total=False): +class Rollback(typing.TypedDict, total=False): destinationPhase: str disableRollbackIfRolloutPending: bool @typing.type_check_only -class RollbackAttempt(typing_extensions.TypedDict, total=False): +class RollbackAttempt(typing.TypedDict, total=False): destinationPhase: str disableRollbackIfRolloutPending: bool rolloutId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "REPAIR_STATE_UNSPECIFIED", "REPAIR_STATE_SUCCEEDED", "REPAIR_STATE_CANCELLED", @@ -1105,12 +1101,12 @@ class RollbackAttempt(typing_extensions.TypedDict, total=False): stateDesc: str @typing.type_check_only -class RollbackTargetConfig(typing_extensions.TypedDict, total=False): +class RollbackTargetConfig(typing.TypedDict, total=False): rollout: Rollout startingPhaseId: str @typing.type_check_only -class RollbackTargetRequest(typing_extensions.TypedDict, total=False): +class RollbackTargetRequest(typing.TypedDict, total=False): overrideDeployPolicy: _list[str] releaseId: str rollbackConfig: RollbackTargetConfig @@ -1120,14 +1116,14 @@ class RollbackTargetRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class RollbackTargetResponse(typing_extensions.TypedDict, total=False): +class RollbackTargetResponse(typing.TypedDict, total=False): rollbackConfig: RollbackTargetConfig @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): activeRepairAutomationRun: str annotations: dict[str, typing.Any] - approvalState: typing_extensions.Literal[ + approvalState: typing.Literal[ "APPROVAL_STATE_UNSPECIFIED", "NEEDS_APPROVAL", "DOES_NOT_NEED_APPROVAL", @@ -1138,7 +1134,7 @@ class Rollout(typing_extensions.TypedDict, total=False): controllerRollout: str createTime: str deployEndTime: str - deployFailureCause: typing_extensions.Literal[ + deployFailureCause: typing.Literal[ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", @@ -1161,7 +1157,7 @@ class Rollout(typing_extensions.TypedDict, total=False): phases: _list[Phase] rollbackOfRollout: str rolledBackByRollouts: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", @@ -1178,7 +1174,7 @@ class Rollout(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class RolloutNotificationEvent(typing_extensions.TypedDict, total=False): +class RolloutNotificationEvent(typing.TypedDict, total=False): message: str pipelineUid: str release: str @@ -1186,7 +1182,7 @@ class RolloutNotificationEvent(typing_extensions.TypedDict, total=False): rollout: str rolloutUid: str targetId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -1199,9 +1195,9 @@ class RolloutNotificationEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RolloutRestriction(typing_extensions.TypedDict, total=False): +class RolloutRestriction(typing.TypedDict, total=False): actions: _list[ - typing_extensions.Literal[ + typing.Literal[ "ROLLOUT_ACTIONS_UNSPECIFIED", "ADVANCE", "APPROVE", @@ -1214,19 +1210,17 @@ class RolloutRestriction(typing_extensions.TypedDict, total=False): ] ] id: str - invokers: _list[ - typing_extensions.Literal["INVOKER_UNSPECIFIED", "USER", "DEPLOY_AUTOMATION"] - ] + invokers: _list[typing.Literal["INVOKER_UNSPECIFIED", "USER", "DEPLOY_AUTOMATION"]] timeWindows: TimeWindows @typing.type_check_only -class RolloutUpdateEvent(typing_extensions.TypedDict, total=False): +class RolloutUpdateEvent(typing.TypedDict, total=False): message: str pipelineUid: str release: str releaseUid: str rollout: str - rolloutUpdateType: typing_extensions.Literal[ + rolloutUpdateType: typing.Literal[ "ROLLOUT_UPDATE_TYPE_UNSPECIFIED", "PENDING", "PENDING_RELEASE", @@ -1243,7 +1237,7 @@ class RolloutUpdateEvent(typing_extensions.TypedDict, total=False): "ADVANCED", ] targetId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -1256,59 +1250,59 @@ class RolloutUpdateEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RouteDestinations(typing_extensions.TypedDict, total=False): +class RouteDestinations(typing.TypedDict, total=False): destinationIds: _list[str] propagateService: bool @typing.type_check_only -class RuntimeConfig(typing_extensions.TypedDict, total=False): +class RuntimeConfig(typing.TypedDict, total=False): cloudRun: CloudRunConfig kubernetes: KubernetesConfig @typing.type_check_only -class SerialPipeline(typing_extensions.TypedDict, total=False): +class SerialPipeline(typing.TypedDict, total=False): stages: _list[Stage] @typing.type_check_only -class ServiceNetworking(typing_extensions.TypedDict, total=False): +class ServiceNetworking(typing.TypedDict, total=False): deployment: str disablePodOverprovisioning: bool podSelectorLabel: str service: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SkaffoldGCBRepoSource(typing_extensions.TypedDict, total=False): +class SkaffoldGCBRepoSource(typing.TypedDict, total=False): path: str ref: str repository: str @typing.type_check_only -class SkaffoldGCSSource(typing_extensions.TypedDict, total=False): +class SkaffoldGCSSource(typing.TypedDict, total=False): path: str source: str @typing.type_check_only -class SkaffoldGitSource(typing_extensions.TypedDict, total=False): +class SkaffoldGitSource(typing.TypedDict, total=False): path: str ref: str repo: str @typing.type_check_only -class SkaffoldModules(typing_extensions.TypedDict, total=False): +class SkaffoldModules(typing.TypedDict, total=False): configs: _list[str] git: SkaffoldGitSource googleCloudBuildRepo: SkaffoldGCBRepoSource googleCloudStorage: SkaffoldGCSSource @typing.type_check_only -class SkaffoldSupportedCondition(typing_extensions.TypedDict, total=False): +class SkaffoldSupportedCondition(typing.TypedDict, total=False): maintenanceModeTime: str - skaffoldSupportState: typing_extensions.Literal[ + skaffoldSupportState: typing.Literal[ "SKAFFOLD_SUPPORT_STATE_UNSPECIFIED", "SKAFFOLD_SUPPORT_STATE_SUPPORTED", "SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE", @@ -1318,21 +1312,21 @@ class SkaffoldSupportedCondition(typing_extensions.TypedDict, total=False): supportExpirationTime: str @typing.type_check_only -class SkaffoldVersion(typing_extensions.TypedDict, total=False): +class SkaffoldVersion(typing.TypedDict, total=False): maintenanceModeTime: str supportEndDate: Date supportExpirationTime: str version: str @typing.type_check_only -class Stage(typing_extensions.TypedDict, total=False): +class Stage(typing.TypedDict, total=False): deployParameters: _list[DeployParameters] profiles: _list[str] strategy: Strategy targetId: str @typing.type_check_only -class Standard(typing_extensions.TypedDict, total=False): +class Standard(typing.TypedDict, total=False): analysis: Analysis postdeploy: Postdeploy predeploy: Predeploy @@ -1340,18 +1334,18 @@ class Standard(typing_extensions.TypedDict, total=False): verifyConfig: Verify @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Strategy(typing_extensions.TypedDict, total=False): +class Strategy(typing.TypedDict, total=False): canary: Canary standard: Standard @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): annotations: dict[str, typing.Any] anthosCluster: AnthosCluster associatedEntities: dict[str, typing.Any] @@ -1372,22 +1366,22 @@ class Target(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TargetArtifact(typing_extensions.TypedDict, total=False): +class TargetArtifact(typing.TypedDict, total=False): artifactUri: str manifestPath: str phaseArtifacts: dict[str, typing.Any] skaffoldConfigPath: str @typing.type_check_only -class TargetAttribute(typing_extensions.TypedDict, total=False): +class TargetAttribute(typing.TypedDict, total=False): id: str labels: dict[str, typing.Any] @typing.type_check_only -class TargetNotificationEvent(typing_extensions.TypedDict, total=False): +class TargetNotificationEvent(typing.TypedDict, total=False): message: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PUBSUB_NOTIFICATION_FAILURE", "TYPE_RESOURCE_STATE_CHANGE", @@ -1400,8 +1394,8 @@ class TargetNotificationEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TargetRender(typing_extensions.TypedDict, total=False): - failureCause: typing_extensions.Literal[ +class TargetRender(typing.TypedDict, total=False): + failureCause: typing.Literal[ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", @@ -1414,71 +1408,71 @@ class TargetRender(typing_extensions.TypedDict, total=False): failureMessage: str metadata: RenderMetadata renderingBuild: str - renderingState: typing_extensions.Literal[ + renderingState: typing.Literal[ "TARGET_RENDER_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "IN_PROGRESS" ] @typing.type_check_only -class Targets(typing_extensions.TypedDict, total=False): +class Targets(typing.TypedDict, total=False): destinationTargetId: str sourceTargetId: str @typing.type_check_only -class TargetsPresentCondition(typing_extensions.TypedDict, total=False): +class TargetsPresentCondition(typing.TypedDict, total=False): missingTargets: _list[str] status: bool updateTime: str @typing.type_check_only -class TargetsTypeCondition(typing_extensions.TypedDict, total=False): +class TargetsTypeCondition(typing.TypedDict, total=False): errorDetails: str status: bool @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): container: ContainerTask @typing.type_check_only -class TerminateJobRunRequest(typing_extensions.TypedDict, total=False): +class TerminateJobRunRequest(typing.TypedDict, total=False): overrideDeployPolicy: _list[str] @typing.type_check_only -class TerminateJobRunResponse(typing_extensions.TypedDict, total=False): ... +class TerminateJobRunResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeWindows(typing_extensions.TypedDict, total=False): +class TimeWindows(typing.TypedDict, total=False): oneTimeWindows: _list[OneTimeWindow] timeZone: str weeklyWindows: _list[WeeklyWindow] @typing.type_check_only -class TimedPromoteReleaseCondition(typing_extensions.TypedDict, total=False): +class TimedPromoteReleaseCondition(typing.TypedDict, total=False): nextPromotionTime: str targetsList: _list[Targets] @typing.type_check_only -class TimedPromoteReleaseOperation(typing_extensions.TypedDict, total=False): +class TimedPromoteReleaseOperation(typing.TypedDict, total=False): phase: str release: str targetId: str @typing.type_check_only -class TimedPromoteReleaseRule(typing_extensions.TypedDict, total=False): +class TimedPromoteReleaseRule(typing.TypedDict, total=False): condition: AutomationRuleCondition destinationPhase: str destinationTargetId: str @@ -1487,11 +1481,11 @@ class TimedPromoteReleaseRule(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class ToolVersionSupportedCondition(typing_extensions.TypedDict, total=False): +class ToolVersionSupportedCondition(typing.TypedDict, total=False): maintenanceModeTime: str status: bool supportExpirationTime: str - toolVersionSupportState: typing_extensions.Literal[ + toolVersionSupportState: typing.Literal[ "TOOL_VERSION_SUPPORT_STATE_UNSPECIFIED", "TOOL_VERSION_SUPPORT_STATE_SUPPORTED", "TOOL_VERSION_SUPPORT_STATE_MAINTENANCE_MODE", @@ -1499,7 +1493,7 @@ class ToolVersionSupportedCondition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ToolVersions(typing_extensions.TypedDict, total=False): +class ToolVersions(typing.TypedDict, total=False): docker: str helm: str kpt: str @@ -1508,19 +1502,19 @@ class ToolVersions(typing_extensions.TypedDict, total=False): skaffold: str @typing.type_check_only -class Verify(typing_extensions.TypedDict, total=False): +class Verify(typing.TypedDict, total=False): tasks: _list[Task] @typing.type_check_only -class VerifyJob(typing_extensions.TypedDict, total=False): +class VerifyJob(typing.TypedDict, total=False): tasks: _list[Task] @typing.type_check_only -class VerifyJobRun(typing_extensions.TypedDict, total=False): +class VerifyJobRun(typing.TypedDict, total=False): artifactUri: str build: str eventLogPath: str - failureCause: typing_extensions.Literal[ + failureCause: typing.Literal[ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", @@ -1532,13 +1526,13 @@ class VerifyJobRun(typing_extensions.TypedDict, total=False): metadata: VerifyJobRunMetadata @typing.type_check_only -class VerifyJobRunMetadata(typing_extensions.TypedDict, total=False): +class VerifyJobRunMetadata(typing.TypedDict, total=False): custom: CustomMetadata @typing.type_check_only -class WeeklyWindow(typing_extensions.TypedDict, total=False): +class WeeklyWindow(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", diff --git a/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/resources.pyi index 797f2cdfe..25dcbc11e 100644 --- a/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -27,7 +26,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): serviceFilter_resourceType: str | None = ..., serviceFilter_service: str | None = ..., serviceFilter_version: str | None = ..., - timeRange_period: typing_extensions.Literal[ + timeRange_period: typing.Literal[ "PERIOD_UNSPECIFIED", "PERIOD_1_HOUR", "PERIOD_6_HOURS", @@ -57,7 +56,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): self, *, projectName: str, - alignment: typing_extensions.Literal[ + alignment: typing.Literal[ "ERROR_COUNT_ALIGNMENT_UNSPECIFIED", "ALIGNMENT_EQUAL_ROUNDED", "ALIGNMENT_EQUAL_AT_END", @@ -65,7 +64,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): | None = ..., alignmentTime: str | None = ..., groupId: str | _list[str] | None = ..., - order: typing_extensions.Literal[ + order: typing.Literal[ "GROUP_ORDER_UNSPECIFIED", "COUNT_DESC", "LAST_SEEN_DESC", @@ -78,7 +77,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): serviceFilter_resourceType: str | None = ..., serviceFilter_service: str | None = ..., serviceFilter_version: str | None = ..., - timeRange_period: typing_extensions.Literal[ + timeRange_period: typing.Literal[ "PERIOD_UNSPECIFIED", "PERIOD_1_HOUR", "PERIOD_6_HOURS", @@ -119,7 +118,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): serviceFilter_resourceType: str | None = ..., serviceFilter_service: str | None = ..., serviceFilter_version: str | None = ..., - timeRange_period: typing_extensions.Literal[ + timeRange_period: typing.Literal[ "PERIOD_UNSPECIFIED", "PERIOD_1_HOUR", "PERIOD_6_HOURS", @@ -142,7 +141,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): self, *, projectName: str, - alignment: typing_extensions.Literal[ + alignment: typing.Literal[ "ERROR_COUNT_ALIGNMENT_UNSPECIFIED", "ALIGNMENT_EQUAL_ROUNDED", "ALIGNMENT_EQUAL_AT_END", @@ -150,7 +149,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): | None = ..., alignmentTime: str | None = ..., groupId: str | _list[str] | None = ..., - order: typing_extensions.Literal[ + order: typing.Literal[ "GROUP_ORDER_UNSPECIFIED", "COUNT_DESC", "LAST_SEEN_DESC", @@ -163,7 +162,7 @@ class ClouderrorreportingResource(googleapiclient.discovery.Resource): serviceFilter_resourceType: str | None = ..., serviceFilter_service: str | None = ..., serviceFilter_version: str | None = ..., - timeRange_period: typing_extensions.Literal[ + timeRange_period: typing.Literal[ "PERIOD_UNSPECIFIED", "PERIOD_1_HOUR", "PERIOD_6_HOURS", diff --git a/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/schemas.pyi index 269b98182..7efab70a8 100644 --- a/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/clouderrorreporting/v1beta1/schemas.pyi @@ -1,37 +1,35 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DeleteEventsResponse(typing_extensions.TypedDict, total=False): ... +class DeleteEventsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorContext(typing_extensions.TypedDict, total=False): +class ErrorContext(typing.TypedDict, total=False): httpRequest: HttpRequestContext reportLocation: SourceLocation sourceReferences: _list[SourceReference] user: str @typing.type_check_only -class ErrorEvent(typing_extensions.TypedDict, total=False): +class ErrorEvent(typing.TypedDict, total=False): context: ErrorContext eventTime: str message: str serviceContext: ServiceContext @typing.type_check_only -class ErrorGroup(typing_extensions.TypedDict, total=False): +class ErrorGroup(typing.TypedDict, total=False): groupId: str name: str - resolutionStatus: typing_extensions.Literal[ + resolutionStatus: typing.Literal[ "RESOLUTION_STATUS_UNSPECIFIED", "OPEN", "ACKNOWLEDGED", "RESOLVED", "MUTED" ] trackingIssues: _list[TrackingIssue] @typing.type_check_only -class ErrorGroupStats(typing_extensions.TypedDict, total=False): +class ErrorGroupStats(typing.TypedDict, total=False): affectedServices: _list[ServiceContext] affectedUsersCount: str count: str @@ -43,7 +41,7 @@ class ErrorGroupStats(typing_extensions.TypedDict, total=False): timedCounts: _list[TimedCount] @typing.type_check_only -class HttpRequestContext(typing_extensions.TypedDict, total=False): +class HttpRequestContext(typing.TypedDict, total=False): method: str referrer: str remoteIp: str @@ -52,50 +50,50 @@ class HttpRequestContext(typing_extensions.TypedDict, total=False): userAgent: str @typing.type_check_only -class ListEventsResponse(typing_extensions.TypedDict, total=False): +class ListEventsResponse(typing.TypedDict, total=False): errorEvents: _list[ErrorEvent] nextPageToken: str timeRangeBegin: str @typing.type_check_only -class ListGroupStatsResponse(typing_extensions.TypedDict, total=False): +class ListGroupStatsResponse(typing.TypedDict, total=False): errorGroupStats: _list[ErrorGroupStats] nextPageToken: str timeRangeBegin: str @typing.type_check_only -class ReportErrorEventResponse(typing_extensions.TypedDict, total=False): ... +class ReportErrorEventResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ReportedErrorEvent(typing_extensions.TypedDict, total=False): +class ReportedErrorEvent(typing.TypedDict, total=False): context: ErrorContext eventTime: str message: str serviceContext: ServiceContext @typing.type_check_only -class ServiceContext(typing_extensions.TypedDict, total=False): +class ServiceContext(typing.TypedDict, total=False): resourceType: str service: str version: str @typing.type_check_only -class SourceLocation(typing_extensions.TypedDict, total=False): +class SourceLocation(typing.TypedDict, total=False): filePath: str functionName: str lineNumber: int @typing.type_check_only -class SourceReference(typing_extensions.TypedDict, total=False): +class SourceReference(typing.TypedDict, total=False): repository: str revisionId: str @typing.type_check_only -class TimedCount(typing_extensions.TypedDict, total=False): +class TimedCount(typing.TypedDict, total=False): count: str endTime: str startTime: str @typing.type_check_only -class TrackingIssue(typing_extensions.TypedDict, total=False): +class TrackingIssue(typing.TypedDict, total=False): url: str diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi index e65985d0b..c8ab7b7d1 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi index d4ba79ba8..805e1942c 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v1/schemas.pyi @@ -1,42 +1,40 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutomaticUpdatePolicy(typing_extensions.TypedDict, total=False): ... +class AutomaticUpdatePolicy(typing.TypedDict, total=False): ... @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CallFunctionRequest(typing_extensions.TypedDict, total=False): +class CallFunctionRequest(typing.TypedDict, total=False): data: str @typing.type_check_only -class CallFunctionResponse(typing_extensions.TypedDict, total=False): +class CallFunctionResponse(typing.TypedDict, total=False): error: str executionId: str result: str @typing.type_check_only -class CloudFunction(typing_extensions.TypedDict, total=False): +class CloudFunction(typing.TypedDict, total=False): automaticUpdatePolicy: AutomaticUpdatePolicy availableMemoryMb: int buildEnvironmentVariables: dict[str, typing.Any] @@ -45,7 +43,7 @@ class CloudFunction(typing_extensions.TypedDict, total=False): buildServiceAccount: str buildWorkerPool: str description: str - dockerRegistry: typing_extensions.Literal[ + dockerRegistry: typing.Literal[ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", "ARTIFACT_REGISTRY" ] dockerRepository: str @@ -53,7 +51,7 @@ class CloudFunction(typing_extensions.TypedDict, total=False): environmentVariables: dict[str, typing.Any] eventTrigger: EventTrigger httpsTrigger: HttpsTrigger - ingressSettings: typing_extensions.Literal[ + ingressSettings: typing.Literal[ "INGRESS_SETTINGS_UNSPECIFIED", "ALLOW_ALL", "ALLOW_INTERNAL_ONLY", @@ -76,7 +74,7 @@ class CloudFunction(typing_extensions.TypedDict, total=False): sourceRepository: SourceRepository sourceToken: str sourceUploadUrl: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CLOUD_FUNCTION_STATUS_UNSPECIFIED", "ACTIVE", "OFFLINE", @@ -88,72 +86,72 @@ class CloudFunction(typing_extensions.TypedDict, total=False): updateTime: str versionId: str vpcConnector: str - vpcConnectorEgressSettings: typing_extensions.Literal[ + vpcConnectorEgressSettings: typing.Literal[ "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC", ] @typing.type_check_only -class EventTrigger(typing_extensions.TypedDict, total=False): +class EventTrigger(typing.TypedDict, total=False): eventType: str failurePolicy: FailurePolicy resource: str service: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FailurePolicy(typing_extensions.TypedDict, total=False): +class FailurePolicy(typing.TypedDict, total=False): retry: Retry @typing.type_check_only -class GenerateDownloadUrlRequest(typing_extensions.TypedDict, total=False): +class GenerateDownloadUrlRequest(typing.TypedDict, total=False): versionId: str @typing.type_check_only -class GenerateDownloadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateDownloadUrlResponse(typing.TypedDict, total=False): downloadUrl: str @typing.type_check_only -class GenerateUploadUrlRequest(typing_extensions.TypedDict, total=False): +class GenerateUploadUrlRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class GenerateUploadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateUploadUrlResponse(typing.TypedDict, total=False): uploadUrl: str @typing.type_check_only -class HttpsTrigger(typing_extensions.TypedDict, total=False): - securityLevel: typing_extensions.Literal[ +class HttpsTrigger(typing.TypedDict, total=False): + securityLevel: typing.Literal[ "SECURITY_LEVEL_UNSPECIFIED", "SECURE_ALWAYS", "SECURE_OPTIONAL" ] url: str @typing.type_check_only -class ListFunctionsResponse(typing_extensions.TypedDict, total=False): +class ListFunctionsResponse(typing.TypedDict, total=False): functions: _list[CloudFunction] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -161,11 +159,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OnDeployUpdatePolicy(typing_extensions.TypedDict, total=False): +class OnDeployUpdatePolicy(typing.TypedDict, total=False): runtimeVersion: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -173,67 +171,67 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): buildId: str buildName: str request: dict[str, typing.Any] sourceToken: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_UNSPECIFIED", "CREATE_FUNCTION", "UPDATE_FUNCTION", "DELETE_FUNCTION" ] updateTime: str versionId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Retry(typing_extensions.TypedDict, total=False): ... +class Retry(typing.TypedDict, total=False): ... @typing.type_check_only -class SecretEnvVar(typing_extensions.TypedDict, total=False): +class SecretEnvVar(typing.TypedDict, total=False): key: str projectId: str secret: str version: str @typing.type_check_only -class SecretVersion(typing_extensions.TypedDict, total=False): +class SecretVersion(typing.TypedDict, total=False): path: str version: str @typing.type_check_only -class SecretVolume(typing_extensions.TypedDict, total=False): +class SecretVolume(typing.TypedDict, total=False): mountPath: str projectId: str secret: str versions: _list[SecretVersion] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SourceRepository(typing_extensions.TypedDict, total=False): +class SourceRepository(typing.TypedDict, total=False): deployedUrl: str url: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi index d6990c78f..5b2b1bce4 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi index 726cd2bc8..3675bf169 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi @@ -1,38 +1,36 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbortFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class AbortFunctionUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutomaticUpdatePolicy(typing_extensions.TypedDict, total=False): ... +class AutomaticUpdatePolicy(typing.TypedDict, total=False): ... @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BuildConfig(typing_extensions.TypedDict, total=False): +class BuildConfig(typing.TypedDict, total=False): automaticUpdatePolicy: AutomaticUpdatePolicy build: str - dockerRegistry: typing_extensions.Literal[ + dockerRegistry: typing.Literal[ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", "ARTIFACT_REGISTRY" ] dockerRepository: str @@ -47,43 +45,43 @@ class BuildConfig(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class BuildConfigOverrides(typing_extensions.TypedDict, total=False): +class BuildConfigOverrides(typing.TypedDict, total=False): runtime: str @typing.type_check_only -class CommitFunctionUpgradeAsGen2Request(typing_extensions.TypedDict, total=False): ... +class CommitFunctionUpgradeAsGen2Request(typing.TypedDict, total=False): ... @typing.type_check_only -class CommitFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class CommitFunctionUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DetachFunctionRequest(typing_extensions.TypedDict, total=False): ... +class DetachFunctionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DirectVpcNetworkInterface(typing_extensions.TypedDict, total=False): +class DirectVpcNetworkInterface(typing.TypedDict, total=False): network: str subnetwork: str tags: _list[str] @typing.type_check_only -class EventFilter(typing_extensions.TypedDict, total=False): +class EventFilter(typing.TypedDict, total=False): attribute: str operator: str value: str @typing.type_check_only -class EventTrigger(typing_extensions.TypedDict, total=False): +class EventTrigger(typing.TypedDict, total=False): channel: str eventFilters: _list[EventFilter] eventType: str pubsubTopic: str - retryPolicy: typing_extensions.Literal[ + retryPolicy: typing.Literal[ "RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY" ] service: str @@ -92,18 +90,18 @@ class EventTrigger(typing_extensions.TypedDict, total=False): triggerRegion: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Function(typing_extensions.TypedDict, total=False): +class Function(typing.TypedDict, total=False): buildConfig: BuildConfig createTime: str description: str - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] eventTrigger: EventTrigger kmsKeyName: str labels: dict[str, typing.Any] @@ -111,7 +109,7 @@ class Function(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool serviceConfig: ServiceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", @@ -127,37 +125,35 @@ class Function(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class GenerateDownloadUrlRequest(typing_extensions.TypedDict, total=False): ... +class GenerateDownloadUrlRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GenerateDownloadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateDownloadUrlResponse(typing.TypedDict, total=False): downloadUrl: str @typing.type_check_only -class GenerateUploadUrlRequest(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] +class GenerateUploadUrlRequest(typing.TypedDict, total=False): + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] kmsKeyName: str @typing.type_check_only -class GenerateUploadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateUploadUrlResponse(typing.TypedDict, total=False): storageSource: StorageSource uploadUrl: str @typing.type_check_only -class GoogleCloudFunctionsV2LocationMetadata(typing_extensions.TypedDict, total=False): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] +class GoogleCloudFunctionsV2LocationMetadata(typing.TypedDict, total=False): + environments: _list[typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"]] @typing.type_check_only -class GoogleCloudFunctionsV2OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudFunctionsV2OperationMetadata(typing.TypedDict, total=False): apiVersion: str buildName: str cancelRequested: bool createTime: str customIamRoleDetected: bool endTime: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATIONTYPE_UNSPECIFIED", "CREATE_FUNCTION", "UPDATE_FUNCTION", @@ -178,9 +174,9 @@ class GoogleCloudFunctionsV2OperationMetadata(typing_extensions.TypedDict, total verb: str @typing.type_check_only -class GoogleCloudFunctionsV2Stage(typing_extensions.TypedDict, total=False): +class GoogleCloudFunctionsV2Stage(typing.TypedDict, total=False): message: str - name: typing_extensions.Literal[ + name: typing.Literal[ "NAME_UNSPECIFIED", "ARTIFACT_REGISTRY", "BUILD", @@ -191,42 +187,38 @@ class GoogleCloudFunctionsV2Stage(typing_extensions.TypedDict, total=False): ] resource: str resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE"] stateMessages: _list[GoogleCloudFunctionsV2StateMessage] @typing.type_check_only -class GoogleCloudFunctionsV2StateMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudFunctionsV2StateMessage(typing.TypedDict, total=False): message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] type: str @typing.type_check_only -class ListFunctionsResponse(typing_extensions.TypedDict, total=False): +class ListFunctionsResponse(typing.TypedDict, total=False): functions: _list[Function] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRuntimesResponse(typing_extensions.TypedDict, total=False): +class ListRuntimesResponse(typing.TypedDict, total=False): runtimes: _list[Runtime] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -234,11 +226,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OnDeployUpdatePolicy(typing_extensions.TypedDict, total=False): +class OnDeployUpdatePolicy(typing.TypedDict, total=False): runtimeVersion: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -246,32 +238,30 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): buildId: str buildName: str request: dict[str, typing.Any] sourceToken: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_UNSPECIFIED", "CREATE_FUNCTION", "UPDATE_FUNCTION", "DELETE_FUNCTION" ] updateTime: str versionId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RedirectFunctionUpgradeTrafficRequest( - typing_extensions.TypedDict, total=False -): ... +class RedirectFunctionUpgradeTrafficRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -280,18 +270,16 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class RollbackFunctionUpgradeTrafficRequest( - typing_extensions.TypedDict, total=False -): ... +class RollbackFunctionUpgradeTrafficRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Runtime(typing_extensions.TypedDict, total=False): +class Runtime(typing.TypedDict, total=False): decommissionDate: Date deprecationDate: Date displayName: str - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] name: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "RUNTIME_STAGE_UNSPECIFIED", "DEVELOPMENT", "ALPHA", @@ -303,38 +291,38 @@ class Runtime(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class SecretEnvVar(typing_extensions.TypedDict, total=False): +class SecretEnvVar(typing.TypedDict, total=False): key: str projectId: str secret: str version: str @typing.type_check_only -class SecretVersion(typing_extensions.TypedDict, total=False): +class SecretVersion(typing.TypedDict, total=False): path: str version: str @typing.type_check_only -class SecretVolume(typing_extensions.TypedDict, total=False): +class SecretVolume(typing.TypedDict, total=False): mountPath: str projectId: str secret: str versions: _list[SecretVersion] @typing.type_check_only -class ServiceConfig(typing_extensions.TypedDict, total=False): +class ServiceConfig(typing.TypedDict, total=False): allTrafficOnLatestRevision: bool availableCpu: str availableMemory: str binaryAuthorizationPolicy: str - directVpcEgress: typing_extensions.Literal[ + directVpcEgress: typing.Literal[ "DIRECT_VPC_EGRESS_UNSPECIFIED", "VPC_EGRESS_PRIVATE_RANGES_ONLY", "VPC_EGRESS_ALL_TRAFFIC", ] directVpcNetworkInterface: _list[DirectVpcNetworkInterface] environmentVariables: dict[str, typing.Any] - ingressSettings: typing_extensions.Literal[ + ingressSettings: typing.Literal[ "INGRESS_SETTINGS_UNSPECIFIED", "ALLOW_ALL", "ALLOW_INTERNAL_ONLY", @@ -346,7 +334,7 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): revision: str secretEnvironmentVariables: _list[SecretEnvVar] secretVolumes: _list[SecretVolume] - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURITY_LEVEL_UNSPECIFIED", "SECURE_ALWAYS", "SECURE_OPTIONAL" ] service: str @@ -354,66 +342,66 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): timeoutSeconds: int uri: str vpcConnector: str - vpcConnectorEgressSettings: typing_extensions.Literal[ + vpcConnectorEgressSettings: typing.Literal[ "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC", ] @typing.type_check_only -class ServiceConfigOverrides(typing_extensions.TypedDict, total=False): +class ServiceConfigOverrides(typing.TypedDict, total=False): maxInstanceCount: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): +class SetupFunctionUpgradeConfigRequest(typing.TypedDict, total=False): buildConfigOverrides: BuildConfigOverrides serviceConfigOverrides: ServiceConfigOverrides triggerServiceAccount: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): gitUri: str repoSource: RepoSource storageSource: StorageSource @typing.type_check_only -class SourceProvenance(typing_extensions.TypedDict, total=False): +class SourceProvenance(typing.TypedDict, total=False): gitUri: str resolvedRepoSource: RepoSource resolvedStorageSource: StorageSource @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str sourceUploadUrl: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UpgradeInfo(typing_extensions.TypedDict, total=False): +class UpgradeInfo(typing.TypedDict, total=False): buildConfig: BuildConfig eventTrigger: EventTrigger serviceConfig: ServiceConfig - upgradeState: typing_extensions.Literal[ + upgradeState: typing.Literal[ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi index d6990c78f..5b2b1bce4 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi index 279ce584e..718919ee9 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi @@ -1,38 +1,36 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbortFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class AbortFunctionUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutomaticUpdatePolicy(typing_extensions.TypedDict, total=False): ... +class AutomaticUpdatePolicy(typing.TypedDict, total=False): ... @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BuildConfig(typing_extensions.TypedDict, total=False): +class BuildConfig(typing.TypedDict, total=False): automaticUpdatePolicy: AutomaticUpdatePolicy build: str - dockerRegistry: typing_extensions.Literal[ + dockerRegistry: typing.Literal[ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", "ARTIFACT_REGISTRY" ] dockerRepository: str @@ -47,43 +45,43 @@ class BuildConfig(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class BuildConfigOverrides(typing_extensions.TypedDict, total=False): +class BuildConfigOverrides(typing.TypedDict, total=False): runtime: str @typing.type_check_only -class CommitFunctionUpgradeAsGen2Request(typing_extensions.TypedDict, total=False): ... +class CommitFunctionUpgradeAsGen2Request(typing.TypedDict, total=False): ... @typing.type_check_only -class CommitFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class CommitFunctionUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DetachFunctionRequest(typing_extensions.TypedDict, total=False): ... +class DetachFunctionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DirectVpcNetworkInterface(typing_extensions.TypedDict, total=False): +class DirectVpcNetworkInterface(typing.TypedDict, total=False): network: str subnetwork: str tags: _list[str] @typing.type_check_only -class EventFilter(typing_extensions.TypedDict, total=False): +class EventFilter(typing.TypedDict, total=False): attribute: str operator: str value: str @typing.type_check_only -class EventTrigger(typing_extensions.TypedDict, total=False): +class EventTrigger(typing.TypedDict, total=False): channel: str eventFilters: _list[EventFilter] eventType: str pubsubTopic: str - retryPolicy: typing_extensions.Literal[ + retryPolicy: typing.Literal[ "RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY" ] service: str @@ -92,18 +90,18 @@ class EventTrigger(typing_extensions.TypedDict, total=False): triggerRegion: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Function(typing_extensions.TypedDict, total=False): +class Function(typing.TypedDict, total=False): buildConfig: BuildConfig createTime: str description: str - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] eventTrigger: EventTrigger kmsKeyName: str labels: dict[str, typing.Any] @@ -111,7 +109,7 @@ class Function(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool serviceConfig: ServiceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", @@ -127,41 +125,35 @@ class Function(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class GenerateDownloadUrlRequest(typing_extensions.TypedDict, total=False): ... +class GenerateDownloadUrlRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GenerateDownloadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateDownloadUrlResponse(typing.TypedDict, total=False): downloadUrl: str @typing.type_check_only -class GenerateUploadUrlRequest(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] +class GenerateUploadUrlRequest(typing.TypedDict, total=False): + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] kmsKeyName: str @typing.type_check_only -class GenerateUploadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateUploadUrlResponse(typing.TypedDict, total=False): storageSource: StorageSource uploadUrl: str @typing.type_check_only -class GoogleCloudFunctionsV2alphaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] +class GoogleCloudFunctionsV2alphaLocationMetadata(typing.TypedDict, total=False): + environments: _list[typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"]] @typing.type_check_only -class GoogleCloudFunctionsV2alphaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudFunctionsV2alphaOperationMetadata(typing.TypedDict, total=False): apiVersion: str buildName: str cancelRequested: bool createTime: str customIamRoleDetected: bool endTime: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATIONTYPE_UNSPECIFIED", "CREATE_FUNCTION", "UPDATE_FUNCTION", @@ -182,9 +174,9 @@ class GoogleCloudFunctionsV2alphaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudFunctionsV2alphaStage(typing_extensions.TypedDict, total=False): +class GoogleCloudFunctionsV2alphaStage(typing.TypedDict, total=False): message: str - name: typing_extensions.Literal[ + name: typing.Literal[ "NAME_UNSPECIFIED", "ARTIFACT_REGISTRY", "BUILD", @@ -195,42 +187,38 @@ class GoogleCloudFunctionsV2alphaStage(typing_extensions.TypedDict, total=False) ] resource: str resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE"] stateMessages: _list[GoogleCloudFunctionsV2alphaStateMessage] @typing.type_check_only -class GoogleCloudFunctionsV2alphaStateMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudFunctionsV2alphaStateMessage(typing.TypedDict, total=False): message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] type: str @typing.type_check_only -class ListFunctionsResponse(typing_extensions.TypedDict, total=False): +class ListFunctionsResponse(typing.TypedDict, total=False): functions: _list[Function] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRuntimesResponse(typing_extensions.TypedDict, total=False): +class ListRuntimesResponse(typing.TypedDict, total=False): runtimes: _list[Runtime] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -238,11 +226,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OnDeployUpdatePolicy(typing_extensions.TypedDict, total=False): +class OnDeployUpdatePolicy(typing.TypedDict, total=False): runtimeVersion: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -250,32 +238,30 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): buildId: str buildName: str request: dict[str, typing.Any] sourceToken: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_UNSPECIFIED", "CREATE_FUNCTION", "UPDATE_FUNCTION", "DELETE_FUNCTION" ] updateTime: str versionId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RedirectFunctionUpgradeTrafficRequest( - typing_extensions.TypedDict, total=False -): ... +class RedirectFunctionUpgradeTrafficRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -284,18 +270,16 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class RollbackFunctionUpgradeTrafficRequest( - typing_extensions.TypedDict, total=False -): ... +class RollbackFunctionUpgradeTrafficRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Runtime(typing_extensions.TypedDict, total=False): +class Runtime(typing.TypedDict, total=False): decommissionDate: Date deprecationDate: Date displayName: str - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] name: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "RUNTIME_STAGE_UNSPECIFIED", "DEVELOPMENT", "ALPHA", @@ -307,38 +291,38 @@ class Runtime(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class SecretEnvVar(typing_extensions.TypedDict, total=False): +class SecretEnvVar(typing.TypedDict, total=False): key: str projectId: str secret: str version: str @typing.type_check_only -class SecretVersion(typing_extensions.TypedDict, total=False): +class SecretVersion(typing.TypedDict, total=False): path: str version: str @typing.type_check_only -class SecretVolume(typing_extensions.TypedDict, total=False): +class SecretVolume(typing.TypedDict, total=False): mountPath: str projectId: str secret: str versions: _list[SecretVersion] @typing.type_check_only -class ServiceConfig(typing_extensions.TypedDict, total=False): +class ServiceConfig(typing.TypedDict, total=False): allTrafficOnLatestRevision: bool availableCpu: str availableMemory: str binaryAuthorizationPolicy: str - directVpcEgress: typing_extensions.Literal[ + directVpcEgress: typing.Literal[ "DIRECT_VPC_EGRESS_UNSPECIFIED", "VPC_EGRESS_PRIVATE_RANGES_ONLY", "VPC_EGRESS_ALL_TRAFFIC", ] directVpcNetworkInterface: _list[DirectVpcNetworkInterface] environmentVariables: dict[str, typing.Any] - ingressSettings: typing_extensions.Literal[ + ingressSettings: typing.Literal[ "INGRESS_SETTINGS_UNSPECIFIED", "ALLOW_ALL", "ALLOW_INTERNAL_ONLY", @@ -350,7 +334,7 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): revision: str secretEnvironmentVariables: _list[SecretEnvVar] secretVolumes: _list[SecretVolume] - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURITY_LEVEL_UNSPECIFIED", "SECURE_ALWAYS", "SECURE_OPTIONAL" ] service: str @@ -358,66 +342,66 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): timeoutSeconds: int uri: str vpcConnector: str - vpcConnectorEgressSettings: typing_extensions.Literal[ + vpcConnectorEgressSettings: typing.Literal[ "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC", ] @typing.type_check_only -class ServiceConfigOverrides(typing_extensions.TypedDict, total=False): +class ServiceConfigOverrides(typing.TypedDict, total=False): maxInstanceCount: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): +class SetupFunctionUpgradeConfigRequest(typing.TypedDict, total=False): buildConfigOverrides: BuildConfigOverrides serviceConfigOverrides: ServiceConfigOverrides triggerServiceAccount: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): gitUri: str repoSource: RepoSource storageSource: StorageSource @typing.type_check_only -class SourceProvenance(typing_extensions.TypedDict, total=False): +class SourceProvenance(typing.TypedDict, total=False): gitUri: str resolvedRepoSource: RepoSource resolvedStorageSource: StorageSource @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str sourceUploadUrl: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UpgradeInfo(typing_extensions.TypedDict, total=False): +class UpgradeInfo(typing.TypedDict, total=False): buildConfig: BuildConfig eventTrigger: EventTrigger serviceConfig: ServiceConfig - upgradeState: typing_extensions.Literal[ + upgradeState: typing.Literal[ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi index d6990c78f..5b2b1bce4 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi index f00cf61ee..756c705d8 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi @@ -1,38 +1,36 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbortFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class AbortFunctionUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutomaticUpdatePolicy(typing_extensions.TypedDict, total=False): ... +class AutomaticUpdatePolicy(typing.TypedDict, total=False): ... @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BuildConfig(typing_extensions.TypedDict, total=False): +class BuildConfig(typing.TypedDict, total=False): automaticUpdatePolicy: AutomaticUpdatePolicy build: str - dockerRegistry: typing_extensions.Literal[ + dockerRegistry: typing.Literal[ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", "ARTIFACT_REGISTRY" ] dockerRepository: str @@ -47,43 +45,43 @@ class BuildConfig(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class BuildConfigOverrides(typing_extensions.TypedDict, total=False): +class BuildConfigOverrides(typing.TypedDict, total=False): runtime: str @typing.type_check_only -class CommitFunctionUpgradeAsGen2Request(typing_extensions.TypedDict, total=False): ... +class CommitFunctionUpgradeAsGen2Request(typing.TypedDict, total=False): ... @typing.type_check_only -class CommitFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class CommitFunctionUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DetachFunctionRequest(typing_extensions.TypedDict, total=False): ... +class DetachFunctionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DirectVpcNetworkInterface(typing_extensions.TypedDict, total=False): +class DirectVpcNetworkInterface(typing.TypedDict, total=False): network: str subnetwork: str tags: _list[str] @typing.type_check_only -class EventFilter(typing_extensions.TypedDict, total=False): +class EventFilter(typing.TypedDict, total=False): attribute: str operator: str value: str @typing.type_check_only -class EventTrigger(typing_extensions.TypedDict, total=False): +class EventTrigger(typing.TypedDict, total=False): channel: str eventFilters: _list[EventFilter] eventType: str pubsubTopic: str - retryPolicy: typing_extensions.Literal[ + retryPolicy: typing.Literal[ "RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY" ] service: str @@ -92,18 +90,18 @@ class EventTrigger(typing_extensions.TypedDict, total=False): triggerRegion: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Function(typing_extensions.TypedDict, total=False): +class Function(typing.TypedDict, total=False): buildConfig: BuildConfig createTime: str description: str - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] eventTrigger: EventTrigger kmsKeyName: str labels: dict[str, typing.Any] @@ -111,7 +109,7 @@ class Function(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool serviceConfig: ServiceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", @@ -127,41 +125,35 @@ class Function(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class GenerateDownloadUrlRequest(typing_extensions.TypedDict, total=False): ... +class GenerateDownloadUrlRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GenerateDownloadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateDownloadUrlResponse(typing.TypedDict, total=False): downloadUrl: str @typing.type_check_only -class GenerateUploadUrlRequest(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] +class GenerateUploadUrlRequest(typing.TypedDict, total=False): + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] kmsKeyName: str @typing.type_check_only -class GenerateUploadUrlResponse(typing_extensions.TypedDict, total=False): +class GenerateUploadUrlResponse(typing.TypedDict, total=False): storageSource: StorageSource uploadUrl: str @typing.type_check_only -class GoogleCloudFunctionsV2betaLocationMetadata( - typing_extensions.TypedDict, total=False -): - environments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] - ] +class GoogleCloudFunctionsV2betaLocationMetadata(typing.TypedDict, total=False): + environments: _list[typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"]] @typing.type_check_only -class GoogleCloudFunctionsV2betaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudFunctionsV2betaOperationMetadata(typing.TypedDict, total=False): apiVersion: str buildName: str cancelRequested: bool createTime: str customIamRoleDetected: bool endTime: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATIONTYPE_UNSPECIFIED", "CREATE_FUNCTION", "UPDATE_FUNCTION", @@ -182,9 +174,9 @@ class GoogleCloudFunctionsV2betaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudFunctionsV2betaStage(typing_extensions.TypedDict, total=False): +class GoogleCloudFunctionsV2betaStage(typing.TypedDict, total=False): message: str - name: typing_extensions.Literal[ + name: typing.Literal[ "NAME_UNSPECIFIED", "ARTIFACT_REGISTRY", "BUILD", @@ -195,42 +187,38 @@ class GoogleCloudFunctionsV2betaStage(typing_extensions.TypedDict, total=False): ] resource: str resourceUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", "COMPLETE"] stateMessages: _list[GoogleCloudFunctionsV2betaStateMessage] @typing.type_check_only -class GoogleCloudFunctionsV2betaStateMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudFunctionsV2betaStateMessage(typing.TypedDict, total=False): message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] type: str @typing.type_check_only -class ListFunctionsResponse(typing_extensions.TypedDict, total=False): +class ListFunctionsResponse(typing.TypedDict, total=False): functions: _list[Function] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRuntimesResponse(typing_extensions.TypedDict, total=False): +class ListRuntimesResponse(typing.TypedDict, total=False): runtimes: _list[Runtime] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -238,11 +226,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OnDeployUpdatePolicy(typing_extensions.TypedDict, total=False): +class OnDeployUpdatePolicy(typing.TypedDict, total=False): runtimeVersion: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -250,32 +238,30 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadataV1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1(typing.TypedDict, total=False): buildId: str buildName: str request: dict[str, typing.Any] sourceToken: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_UNSPECIFIED", "CREATE_FUNCTION", "UPDATE_FUNCTION", "DELETE_FUNCTION" ] updateTime: str versionId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RedirectFunctionUpgradeTrafficRequest( - typing_extensions.TypedDict, total=False -): ... +class RedirectFunctionUpgradeTrafficRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -284,18 +270,16 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class RollbackFunctionUpgradeTrafficRequest( - typing_extensions.TypedDict, total=False -): ... +class RollbackFunctionUpgradeTrafficRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Runtime(typing_extensions.TypedDict, total=False): +class Runtime(typing.TypedDict, total=False): decommissionDate: Date deprecationDate: Date displayName: str - environment: typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] + environment: typing.Literal["ENVIRONMENT_UNSPECIFIED", "GEN_1", "GEN_2"] name: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "RUNTIME_STAGE_UNSPECIFIED", "DEVELOPMENT", "ALPHA", @@ -307,38 +291,38 @@ class Runtime(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class SecretEnvVar(typing_extensions.TypedDict, total=False): +class SecretEnvVar(typing.TypedDict, total=False): key: str projectId: str secret: str version: str @typing.type_check_only -class SecretVersion(typing_extensions.TypedDict, total=False): +class SecretVersion(typing.TypedDict, total=False): path: str version: str @typing.type_check_only -class SecretVolume(typing_extensions.TypedDict, total=False): +class SecretVolume(typing.TypedDict, total=False): mountPath: str projectId: str secret: str versions: _list[SecretVersion] @typing.type_check_only -class ServiceConfig(typing_extensions.TypedDict, total=False): +class ServiceConfig(typing.TypedDict, total=False): allTrafficOnLatestRevision: bool availableCpu: str availableMemory: str binaryAuthorizationPolicy: str - directVpcEgress: typing_extensions.Literal[ + directVpcEgress: typing.Literal[ "DIRECT_VPC_EGRESS_UNSPECIFIED", "VPC_EGRESS_PRIVATE_RANGES_ONLY", "VPC_EGRESS_ALL_TRAFFIC", ] directVpcNetworkInterface: _list[DirectVpcNetworkInterface] environmentVariables: dict[str, typing.Any] - ingressSettings: typing_extensions.Literal[ + ingressSettings: typing.Literal[ "INGRESS_SETTINGS_UNSPECIFIED", "ALLOW_ALL", "ALLOW_INTERNAL_ONLY", @@ -350,7 +334,7 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): revision: str secretEnvironmentVariables: _list[SecretEnvVar] secretVolumes: _list[SecretVolume] - securityLevel: typing_extensions.Literal[ + securityLevel: typing.Literal[ "SECURITY_LEVEL_UNSPECIFIED", "SECURE_ALWAYS", "SECURE_OPTIONAL" ] service: str @@ -358,66 +342,66 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): timeoutSeconds: int uri: str vpcConnector: str - vpcConnectorEgressSettings: typing_extensions.Literal[ + vpcConnectorEgressSettings: typing.Literal[ "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC", ] @typing.type_check_only -class ServiceConfigOverrides(typing_extensions.TypedDict, total=False): +class ServiceConfigOverrides(typing.TypedDict, total=False): maxInstanceCount: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): +class SetupFunctionUpgradeConfigRequest(typing.TypedDict, total=False): buildConfigOverrides: BuildConfigOverrides serviceConfigOverrides: ServiceConfigOverrides triggerServiceAccount: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): gitUri: str repoSource: RepoSource storageSource: StorageSource @typing.type_check_only -class SourceProvenance(typing_extensions.TypedDict, total=False): +class SourceProvenance(typing.TypedDict, total=False): gitUri: str resolvedRepoSource: RepoSource resolvedStorageSource: StorageSource @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str sourceUploadUrl: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UpgradeInfo(typing_extensions.TypedDict, total=False): +class UpgradeInfo(typing.TypedDict, total=False): buildConfig: BuildConfig eventTrigger: EventTrigger serviceConfig: ServiceConfig - upgradeState: typing_extensions.Literal[ + upgradeState: typing.Literal[ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi index ee7262761..21e46d915 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -200,7 +199,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VIEW_UNSPECIFIED", "COMPANY_INVENTORY", "USER_ASSIGNED_DEVICES" ] | None = ..., @@ -245,8 +244,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListMembershipsResponseHttpRequest: ... def list_next( @@ -316,7 +314,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): self, *, body: Group, - initialGroupConfig: typing_extensions.Literal[ + initialGroupConfig: typing.Literal[ "INITIAL_GROUP_CONFIG_UNSPECIFIED", "WITH_INITIAL_OWNER", "EMPTY" ] | None = ..., @@ -335,8 +333,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., parent: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListGroupsResponseHttpRequest: ... def list_next( @@ -365,8 +362,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., query: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> SearchGroupsResponseHttpRequest: ... def search_next( diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi index 1477f8263..54765fe69 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1/schemas.pyi @@ -1,120 +1,102 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddIdpCredentialOperationMetadata(typing_extensions.TypedDict, total=False): +class AddIdpCredentialOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class AddIdpCredentialRequest(typing_extensions.TypedDict, total=False): +class AddIdpCredentialRequest(typing.TypedDict, total=False): pemData: str @typing.type_check_only -class CancelUserInvitationRequest(typing_extensions.TypedDict, total=False): ... +class CancelUserInvitationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckTransitiveMembershipResponse(typing_extensions.TypedDict, total=False): +class CheckTransitiveMembershipResponse(typing.TypedDict, total=False): hasMembership: bool @typing.type_check_only -class CreateGroupMetadata(typing_extensions.TypedDict, total=False): ... +class CreateGroupMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateInboundOidcSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateInboundOidcSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class CreateInboundSamlSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateInboundSamlSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class CreateInboundSsoAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class CreateInboundSsoAssignmentOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateMembershipMetadata(typing_extensions.TypedDict, total=False): ... +class CreateMembershipMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteGroupMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteGroupMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteIdpCredentialOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteIdpCredentialOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteInboundOidcSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteInboundOidcSsoProfileOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteInboundSamlSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteInboundSamlSsoProfileOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteInboundSsoAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteInboundSsoAssignmentOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteMembershipMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteMembershipMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DsaPublicKeyInfo(typing_extensions.TypedDict, total=False): +class DsaPublicKeyInfo(typing.TypedDict, total=False): keySize: int @typing.type_check_only -class DynamicGroupMetadata(typing_extensions.TypedDict, total=False): +class DynamicGroupMetadata(typing.TypedDict, total=False): queries: _list[DynamicGroupQuery] status: DynamicGroupStatus @typing.type_check_only -class DynamicGroupQuery(typing_extensions.TypedDict, total=False): +class DynamicGroupQuery(typing.TypedDict, total=False): query: str - resourceType: typing_extensions.Literal["RESOURCE_TYPE_UNSPECIFIED", "USER"] + resourceType: typing.Literal["RESOURCE_TYPE_UNSPECIFIED", "USER"] @typing.type_check_only -class DynamicGroupStatus(typing_extensions.TypedDict, total=False): - status: typing_extensions.Literal[ +class DynamicGroupStatus(typing.TypedDict, total=False): + status: typing.Literal[ "STATUS_UNSPECIFIED", "UP_TO_DATE", "UPDATING_MEMBERSHIPS", "INVALID_QUERY" ] statusTime: str @typing.type_check_only -class EntityKey(typing_extensions.TypedDict, total=False): +class EntityKey(typing.TypedDict, total=False): id: str namespace: str @typing.type_check_only -class ExpiryDetail(typing_extensions.TypedDict, total=False): +class ExpiryDetail(typing.TypedDict, total=False): expireTime: str @typing.type_check_only -class GetMembershipGraphMetadata(typing_extensions.TypedDict, total=False): ... +class GetMembershipGraphMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GetMembershipGraphResponse(typing_extensions.TypedDict, total=False): +class GetMembershipGraphResponse(typing.TypedDict, total=False): adjacencyList: _list[MembershipAdjacencyList] groups: _list[Group] @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1AndroidAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1AndroidAttributes(typing.TypedDict, total=False): ctsProfileMatch: bool enabledUnknownSources: bool hasPotentiallyHarmfulApps: bool ownerProfileAccount: bool - ownershipPrivilege: typing_extensions.Literal[ + ownershipPrivilege: typing.Literal[ "OWNERSHIP_PRIVILEGE_UNSPECIFIED", "DEVICE_ADMINISTRATOR", "PROFILE_OWNER", @@ -126,51 +108,47 @@ class GoogleAppsCloudidentityDevicesV1AndroidAttributes( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only class GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1BrowserAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1BrowserAttributes(typing.TypedDict, total=False): chromeBrowserInfo: GoogleAppsCloudidentityDevicesV1BrowserInfo chromeProfileId: str lastProfileSyncTime: str @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1BrowserInfo( - typing_extensions.TypedDict, total=False -): - browserManagementState: typing_extensions.Literal[ +class GoogleAppsCloudidentityDevicesV1BrowserInfo(typing.TypedDict, total=False): + browserManagementState: typing.Literal[ "UNSPECIFIED", "UNMANAGED", "MANAGED_BY_OTHER_DOMAIN", @@ -188,53 +166,53 @@ class GoogleAppsCloudidentityDevicesV1BrowserInfo( isSecurityEventAnalysisEnabled: bool isSiteIsolationEnabled: bool isThirdPartyBlockingEnabled: bool - passwordProtectionWarningTrigger: typing_extensions.Literal[ + passwordProtectionWarningTrigger: typing.Literal[ "PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED", "PROTECTION_OFF", "PASSWORD_REUSE", "PHISHING_REUSE", ] - safeBrowsingProtectionLevel: typing_extensions.Literal[ + safeBrowsingProtectionLevel: typing.Literal[ "SAFE_BROWSING_LEVEL_UNSPECIFIED", "DISABLED", "STANDARD", "ENHANCED" ] @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): device: GoogleAppsCloudidentityDevicesV1Device @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CertificateAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificateTemplate: GoogleAppsCloudidentityDevicesV1CertificateTemplate fingerprint: str @@ -242,7 +220,7 @@ class GoogleAppsCloudidentityDevicesV1CertificateAttributes( serialNumber: str subject: str thumbprint: str - validationState: typing_extensions.Literal[ + validationState: typing.Literal[ "CERTIFICATE_VALIDATION_STATE_UNSPECIFIED", "VALIDATION_SUCCESSFUL", "VALIDATION_FAILED", @@ -252,45 +230,41 @@ class GoogleAppsCloudidentityDevicesV1CertificateAttributes( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CertificateTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str majorVersion: int minorVersion: int @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1ClientState( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1ClientState(typing.TypedDict, total=False): assetTags: _list[str] - complianceState: typing_extensions.Literal[ + complianceState: typing.Literal[ "COMPLIANCE_STATE_UNSPECIFIED", "COMPLIANT", "NON_COMPLIANT" ] createTime: str customId: str etag: str - healthScore: typing_extensions.Literal[ + healthScore: typing.Literal[ "HEALTH_SCORE_UNSPECIFIED", "VERY_POOR", "POOR", "NEUTRAL", "GOOD", "VERY_GOOD" ] keyValuePairs: dict[str, typing.Any] lastUpdateTime: str - managed: typing_extensions.Literal[ - "MANAGED_STATE_UNSPECIFIED", "MANAGED", "UNMANAGED" - ] + managed: typing.Literal["MANAGED_STATE_UNSPECIFIED", "MANAGED", "UNMANAGED"] name: str - ownerType: typing_extensions.Literal[ + ownerType: typing.Literal[ "OWNER_TYPE_UNSPECIFIED", "OWNER_TYPE_CUSTOMER", "OWNER_TYPE_PARTNER" ] scoreReason: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CustomAttributeValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boolValue: bool numberValue: float @@ -298,28 +272,28 @@ class GoogleAppsCloudidentityDevicesV1CustomAttributeValue( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total=False): +class GoogleAppsCloudidentityDevicesV1Device(typing.TypedDict, total=False): androidSpecificAttributes: GoogleAppsCloudidentityDevicesV1AndroidAttributes assetTag: str basebandVersion: str bootloaderVersion: str brand: str buildNumber: str - compromisedState: typing_extensions.Literal[ + compromisedState: typing.Literal[ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "UNCOMPROMISED" ] createTime: str deviceId: str - deviceType: typing_extensions.Literal[ + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "ANDROID", "IOS", @@ -331,7 +305,7 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= ] enabledDeveloperOptions: bool enabledUsbDebugging: bool - encryptionState: typing_extensions.Literal[ + encryptionState: typing.Literal[ "ENCRYPTION_STATE_UNSPECIFIED", "UNSUPPORTED_BY_DEVICE", "ENCRYPTED", @@ -344,7 +318,7 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= imei: str kernelVersion: str lastSyncTime: str - managementState: typing_extensions.Literal[ + managementState: typing.Literal[ "MANAGEMENT_STATE_UNSPECIFIED", "APPROVED", "BLOCKED", @@ -360,9 +334,7 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= networkOperator: str osVersion: str otherAccounts: _list[str] - ownerType: typing_extensions.Literal[ - "DEVICE_OWNERSHIP_UNSPECIFIED", "COMPANY", "BYOD" - ] + ownerType: typing.Literal["DEVICE_OWNERSHIP_UNSPECIFIED", "COMPANY", "BYOD"] releaseVersion: str securityPatchTime: str serialNumber: str @@ -370,17 +342,15 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= wifiMacAddresses: _list[str] @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1DeviceUser( - typing_extensions.TypedDict, total=False -): - compromisedState: typing_extensions.Literal[ +class GoogleAppsCloudidentityDevicesV1DeviceUser(typing.TypedDict, total=False): + compromisedState: typing.Literal[ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "NOT_COMPROMISED" ] createTime: str firstSyncTime: str languageCode: str lastSyncTime: str - managementState: typing_extensions.Literal[ + managementState: typing.Literal[ "MANAGEMENT_STATE_UNSPECIFIED", "WIPING", "WIPED", @@ -390,7 +360,7 @@ class GoogleAppsCloudidentityDevicesV1DeviceUser( "UNENROLLED", ] name: str - passwordState: typing_extensions.Literal[ + passwordState: typing.Literal[ "PASSWORD_STATE_UNSPECIFIED", "PASSWORD_SET", "PASSWORD_NOT_SET" ] userAgent: str @@ -398,7 +368,7 @@ class GoogleAppsCloudidentityDevicesV1DeviceUser( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSignals: dict[str, typing.Any] browserAttributes: _list[GoogleAppsCloudidentityDevicesV1BrowserAttributes] @@ -406,33 +376,33 @@ class GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ListClientStatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientStates: _list[GoogleAppsCloudidentityDevicesV1ClientState] nextPageToken: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUsers: _list[GoogleAppsCloudidentityDevicesV1DeviceUser] nextPageToken: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ListDevicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): devices: _list[GoogleAppsCloudidentityDevicesV1Device] nextPageToken: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str names: _list[str] @@ -440,56 +410,52 @@ class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest(typing.TypedDict, total=False): customer: str removeResetLock: bool @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse(typing.TypedDict, total=False): device: GoogleAppsCloudidentityDevicesV1Device @typing.type_check_only class GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): additionalGroupKeys: _list[EntityKey] createTime: str description: str @@ -502,25 +468,25 @@ class Group(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GroupRelation(typing_extensions.TypedDict, total=False): +class GroupRelation(typing.TypedDict, total=False): displayName: str group: str groupKey: EntityKey labels: dict[str, typing.Any] - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "DIRECT", "INDIRECT", "DIRECT_AND_INDIRECT" ] roles: _list[TransitiveMembershipRole] @typing.type_check_only -class IdpCredential(typing_extensions.TypedDict, total=False): +class IdpCredential(typing.TypedDict, total=False): dsaKeyInfo: DsaPublicKeyInfo name: str rsaKeyInfo: RsaPublicKeyInfo updateTime: str @typing.type_check_only -class InboundOidcSsoProfile(typing_extensions.TypedDict, total=False): +class InboundOidcSsoProfile(typing.TypedDict, total=False): customer: str displayName: str idpConfig: OidcIdpConfig @@ -528,7 +494,7 @@ class InboundOidcSsoProfile(typing_extensions.TypedDict, total=False): rpConfig: OidcRpConfig @typing.type_check_only -class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): +class InboundSamlSsoProfile(typing.TypedDict, total=False): customer: str displayName: str idpConfig: SamlIdpConfig @@ -536,14 +502,14 @@ class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): spConfig: SamlSpConfig @typing.type_check_only -class InboundSsoAssignment(typing_extensions.TypedDict, total=False): +class InboundSsoAssignment(typing.TypedDict, total=False): customer: str name: str oidcSsoInfo: OidcSsoInfo rank: int samlSsoInfo: SamlSsoInfo signInBehavior: SignInBehavior - ssoMode: typing_extensions.Literal[ + ssoMode: typing.Literal[ "SSO_MODE_UNSPECIFIED", "SSO_OFF", "SAML_SSO", @@ -554,75 +520,75 @@ class InboundSsoAssignment(typing_extensions.TypedDict, total=False): targetOrgUnit: str @typing.type_check_only -class IsInvitableUserResponse(typing_extensions.TypedDict, total=False): +class IsInvitableUserResponse(typing.TypedDict, total=False): isInvitableUser: bool @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str @typing.type_check_only -class ListIdpCredentialsResponse(typing_extensions.TypedDict, total=False): +class ListIdpCredentialsResponse(typing.TypedDict, total=False): idpCredentials: _list[IdpCredential] nextPageToken: str @typing.type_check_only -class ListInboundOidcSsoProfilesResponse(typing_extensions.TypedDict, total=False): +class ListInboundOidcSsoProfilesResponse(typing.TypedDict, total=False): inboundOidcSsoProfiles: _list[InboundOidcSsoProfile] nextPageToken: str @typing.type_check_only -class ListInboundSamlSsoProfilesResponse(typing_extensions.TypedDict, total=False): +class ListInboundSamlSsoProfilesResponse(typing.TypedDict, total=False): inboundSamlSsoProfiles: _list[InboundSamlSsoProfile] nextPageToken: str @typing.type_check_only -class ListInboundSsoAssignmentsResponse(typing_extensions.TypedDict, total=False): +class ListInboundSsoAssignmentsResponse(typing.TypedDict, total=False): inboundSsoAssignments: _list[InboundSsoAssignment] nextPageToken: str @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): memberships: _list[Membership] nextPageToken: str @typing.type_check_only -class ListPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[Policy] @typing.type_check_only -class ListUserInvitationsResponse(typing_extensions.TypedDict, total=False): +class ListUserInvitationsResponse(typing.TypedDict, total=False): nextPageToken: str userInvitations: _list[UserInvitation] @typing.type_check_only -class LookupGroupNameResponse(typing_extensions.TypedDict, total=False): +class LookupGroupNameResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class LookupMembershipNameResponse(typing_extensions.TypedDict, total=False): +class LookupMembershipNameResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class MemberRelation(typing_extensions.TypedDict, total=False): +class MemberRelation(typing.TypedDict, total=False): member: str preferredMemberKey: _list[EntityKey] - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "DIRECT", "INDIRECT", "DIRECT_AND_INDIRECT" ] roles: _list[TransitiveMembershipRole] @typing.type_check_only -class MemberRestriction(typing_extensions.TypedDict, total=False): +class MemberRestriction(typing.TypedDict, total=False): evaluation: RestrictionEvaluation query: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): createTime: str - deliverySetting: typing_extensions.Literal[ + deliverySetting: typing.Literal[ "DELIVERY_SETTING_UNSPECIFIED", "ALL_MAIL", "DIGEST", @@ -633,7 +599,7 @@ class Membership(typing_extensions.TypedDict, total=False): name: str preferredMemberKey: EntityKey roles: _list[MembershipRole] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "USER", "SERVICE_ACCOUNT", @@ -646,12 +612,12 @@ class Membership(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipAdjacencyList(typing_extensions.TypedDict, total=False): +class MembershipAdjacencyList(typing.TypedDict, total=False): edges: _list[Membership] group: str @typing.type_check_only -class MembershipRelation(typing_extensions.TypedDict, total=False): +class MembershipRelation(typing.TypedDict, total=False): description: str displayName: str group: str @@ -661,14 +627,14 @@ class MembershipRelation(typing_extensions.TypedDict, total=False): roles: _list[MembershipRole] @typing.type_check_only -class MembershipRole(typing_extensions.TypedDict, total=False): +class MembershipRole(typing.TypedDict, total=False): expiryDetail: ExpiryDetail name: str restrictionEvaluations: RestrictionEvaluations @typing.type_check_only -class MembershipRoleRestrictionEvaluation(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class MembershipRoleRestrictionEvaluation(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "COMPLIANT", "FORWARD_COMPLIANT", @@ -677,32 +643,32 @@ class MembershipRoleRestrictionEvaluation(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class ModifyMembershipRolesRequest(typing_extensions.TypedDict, total=False): +class ModifyMembershipRolesRequest(typing.TypedDict, total=False): addRoles: _list[MembershipRole] removeRoles: _list[str] updateRolesParams: _list[UpdateMembershipRolesParams] @typing.type_check_only -class ModifyMembershipRolesResponse(typing_extensions.TypedDict, total=False): +class ModifyMembershipRolesResponse(typing.TypedDict, total=False): membership: Membership @typing.type_check_only -class OidcIdpConfig(typing_extensions.TypedDict, total=False): +class OidcIdpConfig(typing.TypedDict, total=False): changePasswordUri: str issuerUri: str @typing.type_check_only -class OidcRpConfig(typing_extensions.TypedDict, total=False): +class OidcRpConfig(typing.TypedDict, total=False): clientId: str clientSecret: str redirectUris: _list[str] @typing.type_check_only -class OidcSsoInfo(typing_extensions.TypedDict, total=False): +class OidcSsoInfo(typing.TypedDict, total=False): inboundOidcSsoProfile: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -710,23 +676,23 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): customer: str name: str policyQuery: PolicyQuery setting: Setting - type: typing_extensions.Literal["POLICY_TYPE_UNSPECIFIED", "SYSTEM", "ADMIN"] + type: typing.Literal["POLICY_TYPE_UNSPECIFIED", "SYSTEM", "ADMIN"] @typing.type_check_only -class PolicyQuery(typing_extensions.TypedDict, total=False): +class PolicyQuery(typing.TypedDict, total=False): group: str orgUnit: str query: str sortOrder: float @typing.type_check_only -class RestrictionEvaluation(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class RestrictionEvaluation(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "EVALUATING", "COMPLIANT", @@ -735,111 +701,103 @@ class RestrictionEvaluation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RestrictionEvaluations(typing_extensions.TypedDict, total=False): +class RestrictionEvaluations(typing.TypedDict, total=False): memberRestrictionEvaluation: MembershipRoleRestrictionEvaluation @typing.type_check_only -class RsaPublicKeyInfo(typing_extensions.TypedDict, total=False): +class RsaPublicKeyInfo(typing.TypedDict, total=False): keySize: int @typing.type_check_only -class SamlIdpConfig(typing_extensions.TypedDict, total=False): +class SamlIdpConfig(typing.TypedDict, total=False): changePasswordUri: str entityId: str logoutRedirectUri: str singleSignOnServiceUri: str @typing.type_check_only -class SamlSpConfig(typing_extensions.TypedDict, total=False): +class SamlSpConfig(typing.TypedDict, total=False): assertionConsumerServiceUri: str entityId: str @typing.type_check_only -class SamlSsoInfo(typing_extensions.TypedDict, total=False): +class SamlSsoInfo(typing.TypedDict, total=False): inboundSamlSsoProfile: str @typing.type_check_only -class SearchDirectGroupsResponse(typing_extensions.TypedDict, total=False): +class SearchDirectGroupsResponse(typing.TypedDict, total=False): memberships: _list[MembershipRelation] nextPageToken: str @typing.type_check_only -class SearchGroupsResponse(typing_extensions.TypedDict, total=False): +class SearchGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str @typing.type_check_only -class SearchTransitiveGroupsResponse(typing_extensions.TypedDict, total=False): +class SearchTransitiveGroupsResponse(typing.TypedDict, total=False): memberships: _list[GroupRelation] nextPageToken: str @typing.type_check_only -class SearchTransitiveMembershipsResponse(typing_extensions.TypedDict, total=False): +class SearchTransitiveMembershipsResponse(typing.TypedDict, total=False): memberships: _list[MemberRelation] nextPageToken: str @typing.type_check_only -class SecuritySettings(typing_extensions.TypedDict, total=False): +class SecuritySettings(typing.TypedDict, total=False): memberRestriction: MemberRestriction name: str @typing.type_check_only -class SendUserInvitationRequest(typing_extensions.TypedDict, total=False): ... +class SendUserInvitationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Setting(typing_extensions.TypedDict, total=False): +class Setting(typing.TypedDict, total=False): type: str value: dict[str, typing.Any] @typing.type_check_only -class SignInBehavior(typing_extensions.TypedDict, total=False): - redirectCondition: typing_extensions.Literal[ - "REDIRECT_CONDITION_UNSPECIFIED", "NEVER" - ] +class SignInBehavior(typing.TypedDict, total=False): + redirectCondition: typing.Literal["REDIRECT_CONDITION_UNSPECIFIED", "NEVER"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TransitiveMembershipRole(typing_extensions.TypedDict, total=False): +class TransitiveMembershipRole(typing.TypedDict, total=False): role: str @typing.type_check_only -class UpdateGroupMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateGroupMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateInboundOidcSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateInboundOidcSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class UpdateInboundSamlSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateInboundSamlSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class UpdateInboundSsoAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class UpdateInboundSsoAssignmentOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateMembershipMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateMembershipMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateMembershipRolesParams(typing_extensions.TypedDict, total=False): +class UpdateMembershipRolesParams(typing.TypedDict, total=False): fieldMask: str membershipRole: MembershipRole @typing.type_check_only -class UserInvitation(typing_extensions.TypedDict, total=False): +class UserInvitation(typing.TypedDict, total=False): mailsSentCount: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NOT_YET_SENT", "INVITED", "ACCEPTED", "DECLINED" ] updateTime: str diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi index 9041e1086..d9a0167b1 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -152,7 +151,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VIEW_UNSPECIFIED", "COMPANY_INVENTORY", "USER_ASSIGNED_DEVICES" ] | None = ..., @@ -193,7 +192,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListMembershipsResponseHttpRequest: ... def list_next( @@ -263,7 +262,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): self, *, body: Group, - initialGroupConfig: typing_extensions.Literal[ + initialGroupConfig: typing.Literal[ "INITIAL_GROUP_CONFIG_UNSPECIFIED", "WITH_INITIAL_OWNER", "EMPTY" ] | None = ..., @@ -282,8 +281,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., parent: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListGroupsResponseHttpRequest: ... def list_next( @@ -313,7 +311,7 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., query: str | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> SearchGroupsResponseHttpRequest: ... def search_next( diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi index 36256135e..f9c303baa 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/schemas.pyi @@ -1,24 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddIdpCredentialOperationMetadata(typing_extensions.TypedDict, total=False): +class AddIdpCredentialOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class AddIdpCredentialRequest(typing_extensions.TypedDict, total=False): +class AddIdpCredentialRequest(typing.TypedDict, total=False): pemData: str @typing.type_check_only -class AndroidAttributes(typing_extensions.TypedDict, total=False): +class AndroidAttributes(typing.TypedDict, total=False): ctsProfileMatch: bool enabledUnknownSources: bool hasPotentiallyHarmfulApps: bool ownerProfileAccount: bool - ownershipPrivilege: typing_extensions.Literal[ + ownershipPrivilege: typing.Literal[ "OWNERSHIP_PRIVILEGE_UNSPECIFIED", "DEVICE_ADMINISTRATOR", "PROFILE_OWNER", @@ -29,10 +27,10 @@ class AndroidAttributes(typing_extensions.TypedDict, total=False): verifyAppsEnabled: bool @typing.type_check_only -class AntivirusInfo(typing_extensions.TypedDict, total=False): +class AntivirusInfo(typing.TypedDict, total=False): displayName: str productGuid: str - productState: typing_extensions.Literal[ + productState: typing.Literal[ "PRODUCT_STATE_UNSPECIFIED", "PRODUCT_STATE_ON", "PRODUCT_STATE_OFF", @@ -41,30 +39,30 @@ class AntivirusInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ApproveDeviceUserRequest(typing_extensions.TypedDict, total=False): +class ApproveDeviceUserRequest(typing.TypedDict, total=False): customer: str @typing.type_check_only -class ApproveDeviceUserResponse(typing_extensions.TypedDict, total=False): +class ApproveDeviceUserResponse(typing.TypedDict, total=False): deviceUser: DeviceUser @typing.type_check_only -class BlockDeviceUserRequest(typing_extensions.TypedDict, total=False): +class BlockDeviceUserRequest(typing.TypedDict, total=False): customer: str @typing.type_check_only -class BlockDeviceUserResponse(typing_extensions.TypedDict, total=False): +class BlockDeviceUserResponse(typing.TypedDict, total=False): deviceUser: DeviceUser @typing.type_check_only -class BrowserAttributes(typing_extensions.TypedDict, total=False): +class BrowserAttributes(typing.TypedDict, total=False): chromeBrowserInfo: BrowserInfo chromeProfileId: str lastProfileSyncTime: str @typing.type_check_only -class BrowserInfo(typing_extensions.TypedDict, total=False): - browserManagementState: typing_extensions.Literal[ +class BrowserInfo(typing.TypedDict, total=False): + browserManagementState: typing.Literal[ "UNSPECIFIED", "UNMANAGED", "MANAGED_BY_OTHER_DOMAIN", @@ -82,45 +80,45 @@ class BrowserInfo(typing_extensions.TypedDict, total=False): isSecurityEventAnalysisEnabled: bool isSiteIsolationEnabled: bool isThirdPartyBlockingEnabled: bool - passwordProtectionWarningTrigger: typing_extensions.Literal[ + passwordProtectionWarningTrigger: typing.Literal[ "PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED", "PROTECTION_OFF", "PASSWORD_REUSE", "PHISHING_REUSE", ] policies: _list[ChromePolicy] - safeBrowsingProtectionLevel: typing_extensions.Literal[ + safeBrowsingProtectionLevel: typing.Literal[ "SAFE_BROWSING_LEVEL_UNSPECIFIED", "DISABLED", "STANDARD", "ENHANCED" ] @typing.type_check_only -class CancelUserInvitationRequest(typing_extensions.TypedDict, total=False): ... +class CancelUserInvitationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelWipeDeviceRequest(typing_extensions.TypedDict, total=False): +class CancelWipeDeviceRequest(typing.TypedDict, total=False): customer: str @typing.type_check_only -class CancelWipeDeviceResponse(typing_extensions.TypedDict, total=False): +class CancelWipeDeviceResponse(typing.TypedDict, total=False): device: Device @typing.type_check_only -class CancelWipeDeviceUserRequest(typing_extensions.TypedDict, total=False): +class CancelWipeDeviceUserRequest(typing.TypedDict, total=False): customer: str @typing.type_check_only -class CancelWipeDeviceUserResponse(typing_extensions.TypedDict, total=False): +class CancelWipeDeviceUserResponse(typing.TypedDict, total=False): deviceUser: DeviceUser @typing.type_check_only -class CertificateAttributes(typing_extensions.TypedDict, total=False): +class CertificateAttributes(typing.TypedDict, total=False): certificateTemplate: CertificateTemplate fingerprint: str issuer: str serialNumber: str subject: str thumbprint: str - validationState: typing_extensions.Literal[ + validationState: typing.Literal[ "CERTIFICATE_VALIDATION_STATE_UNSPECIFIED", "VALIDATION_SUCCESSFUL", "VALIDATION_FAILED", @@ -129,21 +127,21 @@ class CertificateAttributes(typing_extensions.TypedDict, total=False): validityStartTime: str @typing.type_check_only -class CertificateTemplate(typing_extensions.TypedDict, total=False): +class CertificateTemplate(typing.TypedDict, total=False): id: str majorVersion: int minorVersion: int @typing.type_check_only -class CheckTransitiveMembershipResponse(typing_extensions.TypedDict, total=False): +class CheckTransitiveMembershipResponse(typing.TypedDict, total=False): hasMembership: bool @typing.type_check_only -class ChromePolicy(typing_extensions.TypedDict, total=False): +class ChromePolicy(typing.TypedDict, total=False): conflicts: _list[PolicyConflict] name: str - scope: typing_extensions.Literal["SCOPE_UNKNOWN", "USER", "MACHINE"] - source: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNKNOWN", "USER", "MACHINE"] + source: typing.Literal[ "SOURCE_UNKNOWN", "ENTERPRISE_DEFAULT", "CLOUD", @@ -159,78 +157,62 @@ class ChromePolicy(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class ClientState(typing_extensions.TypedDict, total=False): +class ClientState(typing.TypedDict, total=False): assetTags: _list[str] - complianceState: typing_extensions.Literal[ + complianceState: typing.Literal[ "COMPLIANCE_STATE_UNSPECIFIED", "COMPLIANT", "NON_COMPLIANT" ] createTime: str customId: str etag: str - healthScore: typing_extensions.Literal[ + healthScore: typing.Literal[ "HEALTH_SCORE_UNSPECIFIED", "VERY_POOR", "POOR", "NEUTRAL", "GOOD", "VERY_GOOD" ] keyValuePairs: dict[str, typing.Any] lastUpdateTime: str - managed: typing_extensions.Literal[ - "MANAGED_STATE_UNSPECIFIED", "MANAGED", "UNMANAGED" - ] + managed: typing.Literal["MANAGED_STATE_UNSPECIFIED", "MANAGED", "UNMANAGED"] name: str - ownerType: typing_extensions.Literal[ + ownerType: typing.Literal[ "OWNER_TYPE_UNSPECIFIED", "OWNER_TYPE_CUSTOMER", "OWNER_TYPE_PARTNER" ] scoreReason: str @typing.type_check_only -class CreateDeviceRequest(typing_extensions.TypedDict, total=False): +class CreateDeviceRequest(typing.TypedDict, total=False): customer: str device: Device @typing.type_check_only -class CreateInboundOidcSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateInboundOidcSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class CreateInboundSamlSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class CreateInboundSamlSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class CreateInboundSsoAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class CreateInboundSsoAssignmentOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomAttributeValue(typing_extensions.TypedDict, total=False): +class CustomAttributeValue(typing.TypedDict, total=False): boolValue: bool numberValue: float stringValue: str @typing.type_check_only -class DeleteIdpCredentialOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteIdpCredentialOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteInboundOidcSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteInboundOidcSsoProfileOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteInboundSamlSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteInboundSamlSsoProfileOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteInboundSsoAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class DeleteInboundSsoAssignmentOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): androidSpecificAttributes: AndroidAttributes antivirusInfo: _list[AntivirusInfo] assetTag: str @@ -240,7 +222,7 @@ class Device(typing_extensions.TypedDict, total=False): browserProfiles: _list[BrowserAttributes] buildNumber: str clientTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "DRIVE_FS", "FUNDAMENTAL", @@ -249,12 +231,12 @@ class Device(typing_extensions.TypedDict, total=False): "GOOGLE_CREDENTIALS_PROVIDER_FOR_WINDOWS", ] ] - compromisedState: typing_extensions.Literal[ + compromisedState: typing.Literal[ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "UNCOMPROMISED" ] createTime: str deviceId: str - deviceType: typing_extensions.Literal[ + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "ANDROID", "IOS", @@ -266,7 +248,7 @@ class Device(typing_extensions.TypedDict, total=False): ] enabledDeveloperOptions: bool enabledUsbDebugging: bool - encryptionState: typing_extensions.Literal[ + encryptionState: typing.Literal[ "ENCRYPTION_STATE_UNSPECIFIED", "UNSUPPORTED_BY_DEVICE", "ENCRYPTED", @@ -277,7 +259,7 @@ class Device(typing_extensions.TypedDict, total=False): imei: str kernelVersion: str lastSyncTime: str - managementState: typing_extensions.Literal[ + managementState: typing.Literal[ "MANAGEMENT_STATE_UNSPECIFIED", "APPROVED", "BLOCKED", @@ -291,7 +273,7 @@ class Device(typing_extensions.TypedDict, total=False): model: str name: str networkOperator: str - osFirewallStatus: typing_extensions.Literal[ + osFirewallStatus: typing.Literal[ "OS_FIREWALL_STATUS_UNSPECIFIED", "OS_FIREWALL_STATUS_UNKNOWN", "OS_FIREWALL_STATUS_ENABLED", @@ -299,9 +281,7 @@ class Device(typing_extensions.TypedDict, total=False): ] osVersion: str otherAccounts: _list[str] - ownerType: typing_extensions.Literal[ - "DEVICE_OWNERSHIP_UNSPECIFIED", "COMPANY", "BYOD" - ] + ownerType: typing.Literal["DEVICE_OWNERSHIP_UNSPECIFIED", "COMPANY", "BYOD"] releaseVersion: str securityPatchTime: str serialNumber: str @@ -310,15 +290,15 @@ class Device(typing_extensions.TypedDict, total=False): windowsSpecificDeviceAttributes: WindowsSpecificDeviceAttributes @typing.type_check_only -class DeviceUser(typing_extensions.TypedDict, total=False): - compromisedState: typing_extensions.Literal[ +class DeviceUser(typing.TypedDict, total=False): + compromisedState: typing.Literal[ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "NOT_COMPROMISED" ] createTime: str firstSyncTime: str languageCode: str lastSyncTime: str - managementState: typing_extensions.Literal[ + managementState: typing.Literal[ "MANAGEMENT_STATE_UNSPECIFIED", "WIPING", "WIPED", @@ -328,62 +308,65 @@ class DeviceUser(typing_extensions.TypedDict, total=False): "UNENROLLED", ] name: str - passwordState: typing_extensions.Literal[ + passwordState: typing.Literal[ "PASSWORD_STATE_UNSPECIFIED", "PASSWORD_SET", "PASSWORD_NOT_SET" ] userAgent: str userEmail: str @typing.type_check_only -class DsaPublicKeyInfo(typing_extensions.TypedDict, total=False): +class DsaPublicKeyInfo(typing.TypedDict, total=False): keySize: int @typing.type_check_only -class DynamicGroupMetadata(typing_extensions.TypedDict, total=False): +class DynamicGroupMetadata(typing.TypedDict, total=False): queries: _list[DynamicGroupQuery] status: DynamicGroupStatus @typing.type_check_only -class DynamicGroupQuery(typing_extensions.TypedDict, total=False): +class DynamicGroupQuery(typing.TypedDict, total=False): query: str - resourceType: typing_extensions.Literal["RESOURCE_TYPE_UNSPECIFIED", "USER"] + resourceType: typing.Literal["RESOURCE_TYPE_UNSPECIFIED", "USER"] @typing.type_check_only -class DynamicGroupStatus(typing_extensions.TypedDict, total=False): - status: typing_extensions.Literal[ +class DynamicGroupStatus(typing.TypedDict, total=False): + status: typing.Literal[ "STATUS_UNSPECIFIED", "UP_TO_DATE", "UPDATING_MEMBERSHIPS", "INVALID_QUERY" ] statusTime: str @typing.type_check_only -class EndpointVerificationSpecificAttributes(typing_extensions.TypedDict, total=False): +class EndpointVerificationSpecificAttributes(typing.TypedDict, total=False): additionalSignals: dict[str, typing.Any] browserAttributes: _list[BrowserAttributes] certificateAttributes: _list[CertificateAttributes] @typing.type_check_only -class EntityKey(typing_extensions.TypedDict, total=False): +class EntityKey(typing.TypedDict, total=False): id: str namespace: str @typing.type_check_only -class ExpiryDetail(typing_extensions.TypedDict, total=False): +class ExpiryDetail(typing.TypedDict, total=False): expireTime: str @typing.type_check_only -class GetMembershipGraphResponse(typing_extensions.TypedDict, total=False): +class ExternalId(typing.TypedDict, total=False): + id: str + namespace: str + +@typing.type_check_only +class GetMembershipGraphResponse(typing.TypedDict, total=False): adjacencyList: _list[MembershipAdjacencyList] groups: _list[Group] @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1AndroidAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1AndroidAttributes(typing.TypedDict, total=False): ctsProfileMatch: bool enabledUnknownSources: bool hasPotentiallyHarmfulApps: bool ownerProfileAccount: bool - ownershipPrivilege: typing_extensions.Literal[ + ownershipPrivilege: typing.Literal[ "OWNERSHIP_PRIVILEGE_UNSPECIFIED", "DEVICE_ADMINISTRATOR", "PROFILE_OWNER", @@ -395,39 +378,35 @@ class GoogleAppsCloudidentityDevicesV1AndroidAttributes( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only class GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1BrowserAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1BrowserAttributes(typing.TypedDict, total=False): chromeBrowserInfo: GoogleAppsCloudidentityDevicesV1BrowserInfo chromeProfileId: str lastProfileSyncTime: str @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1BrowserInfo( - typing_extensions.TypedDict, total=False -): - browserManagementState: typing_extensions.Literal[ +class GoogleAppsCloudidentityDevicesV1BrowserInfo(typing.TypedDict, total=False): + browserManagementState: typing.Literal[ "UNSPECIFIED", "UNMANAGED", "MANAGED_BY_OTHER_DOMAIN", @@ -445,41 +424,41 @@ class GoogleAppsCloudidentityDevicesV1BrowserInfo( isSecurityEventAnalysisEnabled: bool isSiteIsolationEnabled: bool isThirdPartyBlockingEnabled: bool - passwordProtectionWarningTrigger: typing_extensions.Literal[ + passwordProtectionWarningTrigger: typing.Literal[ "PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED", "PROTECTION_OFF", "PASSWORD_REUSE", "PHISHING_REUSE", ] - safeBrowsingProtectionLevel: typing_extensions.Literal[ + safeBrowsingProtectionLevel: typing.Literal[ "SAFE_BROWSING_LEVEL_UNSPECIFIED", "DISABLED", "STANDARD", "ENHANCED" ] @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): device: GoogleAppsCloudidentityDevicesV1Device @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CertificateAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificateTemplate: GoogleAppsCloudidentityDevicesV1CertificateTemplate fingerprint: str @@ -487,7 +466,7 @@ class GoogleAppsCloudidentityDevicesV1CertificateAttributes( serialNumber: str subject: str thumbprint: str - validationState: typing_extensions.Literal[ + validationState: typing.Literal[ "CERTIFICATE_VALIDATION_STATE_UNSPECIFIED", "VALIDATION_SUCCESSFUL", "VALIDATION_FAILED", @@ -497,45 +476,41 @@ class GoogleAppsCloudidentityDevicesV1CertificateAttributes( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CertificateTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str majorVersion: int minorVersion: int @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1ClientState( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1ClientState(typing.TypedDict, total=False): assetTags: _list[str] - complianceState: typing_extensions.Literal[ + complianceState: typing.Literal[ "COMPLIANCE_STATE_UNSPECIFIED", "COMPLIANT", "NON_COMPLIANT" ] createTime: str customId: str etag: str - healthScore: typing_extensions.Literal[ + healthScore: typing.Literal[ "HEALTH_SCORE_UNSPECIFIED", "VERY_POOR", "POOR", "NEUTRAL", "GOOD", "VERY_GOOD" ] keyValuePairs: dict[str, typing.Any] lastUpdateTime: str - managed: typing_extensions.Literal[ - "MANAGED_STATE_UNSPECIFIED", "MANAGED", "UNMANAGED" - ] + managed: typing.Literal["MANAGED_STATE_UNSPECIFIED", "MANAGED", "UNMANAGED"] name: str - ownerType: typing_extensions.Literal[ + ownerType: typing.Literal[ "OWNER_TYPE_UNSPECIFIED", "OWNER_TYPE_CUSTOMER", "OWNER_TYPE_PARTNER" ] scoreReason: str @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1CustomAttributeValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boolValue: bool numberValue: float @@ -543,28 +518,28 @@ class GoogleAppsCloudidentityDevicesV1CustomAttributeValue( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total=False): +class GoogleAppsCloudidentityDevicesV1Device(typing.TypedDict, total=False): androidSpecificAttributes: GoogleAppsCloudidentityDevicesV1AndroidAttributes assetTag: str basebandVersion: str bootloaderVersion: str brand: str buildNumber: str - compromisedState: typing_extensions.Literal[ + compromisedState: typing.Literal[ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "UNCOMPROMISED" ] createTime: str deviceId: str - deviceType: typing_extensions.Literal[ + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "ANDROID", "IOS", @@ -576,7 +551,7 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= ] enabledDeveloperOptions: bool enabledUsbDebugging: bool - encryptionState: typing_extensions.Literal[ + encryptionState: typing.Literal[ "ENCRYPTION_STATE_UNSPECIFIED", "UNSUPPORTED_BY_DEVICE", "ENCRYPTED", @@ -589,7 +564,7 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= imei: str kernelVersion: str lastSyncTime: str - managementState: typing_extensions.Literal[ + managementState: typing.Literal[ "MANAGEMENT_STATE_UNSPECIFIED", "APPROVED", "BLOCKED", @@ -605,9 +580,7 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= networkOperator: str osVersion: str otherAccounts: _list[str] - ownerType: typing_extensions.Literal[ - "DEVICE_OWNERSHIP_UNSPECIFIED", "COMPANY", "BYOD" - ] + ownerType: typing.Literal["DEVICE_OWNERSHIP_UNSPECIFIED", "COMPANY", "BYOD"] releaseVersion: str securityPatchTime: str serialNumber: str @@ -615,17 +588,15 @@ class GoogleAppsCloudidentityDevicesV1Device(typing_extensions.TypedDict, total= wifiMacAddresses: _list[str] @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1DeviceUser( - typing_extensions.TypedDict, total=False -): - compromisedState: typing_extensions.Literal[ +class GoogleAppsCloudidentityDevicesV1DeviceUser(typing.TypedDict, total=False): + compromisedState: typing.Literal[ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "NOT_COMPROMISED" ] createTime: str firstSyncTime: str languageCode: str lastSyncTime: str - managementState: typing_extensions.Literal[ + managementState: typing.Literal[ "MANAGEMENT_STATE_UNSPECIFIED", "WIPING", "WIPED", @@ -635,7 +606,7 @@ class GoogleAppsCloudidentityDevicesV1DeviceUser( "UNENROLLED", ] name: str - passwordState: typing_extensions.Literal[ + passwordState: typing.Literal[ "PASSWORD_STATE_UNSPECIFIED", "PASSWORD_SET", "PASSWORD_NOT_SET" ] userAgent: str @@ -643,7 +614,7 @@ class GoogleAppsCloudidentityDevicesV1DeviceUser( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSignals: dict[str, typing.Any] browserAttributes: _list[GoogleAppsCloudidentityDevicesV1BrowserAttributes] @@ -651,53 +622,52 @@ class GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes( @typing.type_check_only class GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse(typing.TypedDict, total=False): device: GoogleAppsCloudidentityDevicesV1Device @typing.type_check_only class GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceUser: GoogleAppsCloudidentityDevicesV1DeviceUser @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): additionalGroupKeys: _list[EntityKey] createTime: str description: str displayName: str dynamicGroupMetadata: DynamicGroupMetadata + externalIds: _list[ExternalId] groupKey: EntityKey labels: dict[str, typing.Any] name: str @@ -706,25 +676,25 @@ class Group(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GroupRelation(typing_extensions.TypedDict, total=False): +class GroupRelation(typing.TypedDict, total=False): displayName: str group: str groupKey: EntityKey labels: dict[str, typing.Any] - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "DIRECT", "INDIRECT", "DIRECT_AND_INDIRECT" ] roles: _list[TransitiveMembershipRole] @typing.type_check_only -class IdpCredential(typing_extensions.TypedDict, total=False): +class IdpCredential(typing.TypedDict, total=False): dsaKeyInfo: DsaPublicKeyInfo name: str rsaKeyInfo: RsaPublicKeyInfo updateTime: str @typing.type_check_only -class InboundOidcSsoProfile(typing_extensions.TypedDict, total=False): +class InboundOidcSsoProfile(typing.TypedDict, total=False): customer: str displayName: str idpConfig: OidcIdpConfig @@ -732,7 +702,7 @@ class InboundOidcSsoProfile(typing_extensions.TypedDict, total=False): rpConfig: OidcRpConfig @typing.type_check_only -class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): +class InboundSamlSsoProfile(typing.TypedDict, total=False): customer: str displayName: str idpConfig: SamlIdpConfig @@ -740,14 +710,14 @@ class InboundSamlSsoProfile(typing_extensions.TypedDict, total=False): spConfig: SamlSpConfig @typing.type_check_only -class InboundSsoAssignment(typing_extensions.TypedDict, total=False): +class InboundSsoAssignment(typing.TypedDict, total=False): customer: str name: str oidcSsoInfo: OidcSsoInfo rank: int samlSsoInfo: SamlSsoInfo signInBehavior: SignInBehavior - ssoMode: typing_extensions.Literal[ + ssoMode: typing.Literal[ "SSO_MODE_UNSPECIFIED", "SSO_OFF", "SAML_SSO", @@ -758,101 +728,101 @@ class InboundSsoAssignment(typing_extensions.TypedDict, total=False): targetOrgUnit: str @typing.type_check_only -class IsInvitableUserResponse(typing_extensions.TypedDict, total=False): +class IsInvitableUserResponse(typing.TypedDict, total=False): isInvitableUser: bool @typing.type_check_only -class ListClientStatesResponse(typing_extensions.TypedDict, total=False): +class ListClientStatesResponse(typing.TypedDict, total=False): clientStates: _list[ClientState] nextPageToken: str @typing.type_check_only -class ListDeviceUsersResponse(typing_extensions.TypedDict, total=False): +class ListDeviceUsersResponse(typing.TypedDict, total=False): deviceUsers: _list[DeviceUser] nextPageToken: str @typing.type_check_only -class ListDevicesResponse(typing_extensions.TypedDict, total=False): +class ListDevicesResponse(typing.TypedDict, total=False): devices: _list[Device] nextPageToken: str @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str @typing.type_check_only -class ListIdpCredentialsResponse(typing_extensions.TypedDict, total=False): +class ListIdpCredentialsResponse(typing.TypedDict, total=False): idpCredentials: _list[IdpCredential] nextPageToken: str @typing.type_check_only -class ListInboundOidcSsoProfilesResponse(typing_extensions.TypedDict, total=False): +class ListInboundOidcSsoProfilesResponse(typing.TypedDict, total=False): inboundOidcSsoProfiles: _list[InboundOidcSsoProfile] nextPageToken: str @typing.type_check_only -class ListInboundSamlSsoProfilesResponse(typing_extensions.TypedDict, total=False): +class ListInboundSamlSsoProfilesResponse(typing.TypedDict, total=False): inboundSamlSsoProfiles: _list[InboundSamlSsoProfile] nextPageToken: str @typing.type_check_only -class ListInboundSsoAssignmentsResponse(typing_extensions.TypedDict, total=False): +class ListInboundSsoAssignmentsResponse(typing.TypedDict, total=False): inboundSsoAssignments: _list[InboundSsoAssignment] nextPageToken: str @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): memberships: _list[Membership] nextPageToken: str @typing.type_check_only -class ListOrgMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListOrgMembershipsResponse(typing.TypedDict, total=False): nextPageToken: str orgMemberships: _list[OrgMembership] @typing.type_check_only -class ListPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[Policy] @typing.type_check_only -class ListUserInvitationsResponse(typing_extensions.TypedDict, total=False): +class ListUserInvitationsResponse(typing.TypedDict, total=False): nextPageToken: str userInvitations: _list[UserInvitation] @typing.type_check_only -class LookupGroupNameResponse(typing_extensions.TypedDict, total=False): +class LookupGroupNameResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class LookupMembershipNameResponse(typing_extensions.TypedDict, total=False): +class LookupMembershipNameResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class LookupSelfDeviceUsersResponse(typing_extensions.TypedDict, total=False): +class LookupSelfDeviceUsersResponse(typing.TypedDict, total=False): customer: str names: _list[str] nextPageToken: str @typing.type_check_only -class MemberRelation(typing_extensions.TypedDict, total=False): +class MemberRelation(typing.TypedDict, total=False): member: str preferredMemberKey: _list[EntityKey] - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "DIRECT", "INDIRECT", "DIRECT_AND_INDIRECT" ] roles: _list[TransitiveMembershipRole] @typing.type_check_only -class MemberRestriction(typing_extensions.TypedDict, total=False): +class MemberRestriction(typing.TypedDict, total=False): evaluation: RestrictionEvaluation query: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): createTime: str - deliverySetting: typing_extensions.Literal[ + deliverySetting: typing.Literal[ "DELIVERY_SETTING_UNSPECIFIED", "ALL_MAIL", "DIGEST", @@ -864,7 +834,7 @@ class Membership(typing_extensions.TypedDict, total=False): name: str preferredMemberKey: EntityKey roles: _list[MembershipRole] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "USER", "SERVICE_ACCOUNT", @@ -877,12 +847,12 @@ class Membership(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipAdjacencyList(typing_extensions.TypedDict, total=False): +class MembershipAdjacencyList(typing.TypedDict, total=False): edges: _list[Membership] group: str @typing.type_check_only -class MembershipRelation(typing_extensions.TypedDict, total=False): +class MembershipRelation(typing.TypedDict, total=False): description: str displayName: str group: str @@ -892,14 +862,14 @@ class MembershipRelation(typing_extensions.TypedDict, total=False): roles: _list[MembershipRole] @typing.type_check_only -class MembershipRole(typing_extensions.TypedDict, total=False): +class MembershipRole(typing.TypedDict, total=False): expiryDetail: ExpiryDetail name: str restrictionEvaluations: RestrictionEvaluations @typing.type_check_only -class MembershipRoleRestrictionEvaluation(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class MembershipRoleRestrictionEvaluation(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "COMPLIANT", "FORWARD_COMPLIANT", @@ -908,37 +878,37 @@ class MembershipRoleRestrictionEvaluation(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class ModifyMembershipRolesRequest(typing_extensions.TypedDict, total=False): +class ModifyMembershipRolesRequest(typing.TypedDict, total=False): addRoles: _list[MembershipRole] removeRoles: _list[str] updateRolesParams: _list[UpdateMembershipRolesParams] @typing.type_check_only -class ModifyMembershipRolesResponse(typing_extensions.TypedDict, total=False): +class ModifyMembershipRolesResponse(typing.TypedDict, total=False): membership: Membership @typing.type_check_only -class MoveOrgMembershipRequest(typing_extensions.TypedDict, total=False): +class MoveOrgMembershipRequest(typing.TypedDict, total=False): customer: str destinationOrgUnit: str @typing.type_check_only -class OidcIdpConfig(typing_extensions.TypedDict, total=False): +class OidcIdpConfig(typing.TypedDict, total=False): changePasswordUri: str issuerUri: str @typing.type_check_only -class OidcRpConfig(typing_extensions.TypedDict, total=False): +class OidcRpConfig(typing.TypedDict, total=False): clientId: str clientSecret: str redirectUris: _list[str] @typing.type_check_only -class OidcSsoInfo(typing_extensions.TypedDict, total=False): +class OidcSsoInfo(typing.TypedDict, total=False): inboundOidcSsoProfile: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -946,24 +916,24 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrgMembership(typing_extensions.TypedDict, total=False): +class OrgMembership(typing.TypedDict, total=False): member: str memberUri: str name: str - type: typing_extensions.Literal["ENTITY_TYPE_UNSPECIFIED", "SHARED_DRIVE"] + type: typing.Literal["ENTITY_TYPE_UNSPECIFIED", "SHARED_DRIVE"] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): customer: str name: str policyQuery: PolicyQuery setting: Setting - type: typing_extensions.Literal["POLICY_TYPE_UNSPECIFIED", "SYSTEM", "ADMIN"] + type: typing.Literal["POLICY_TYPE_UNSPECIFIED", "SYSTEM", "ADMIN"] @typing.type_check_only -class PolicyConflict(typing_extensions.TypedDict, total=False): - scope: typing_extensions.Literal["SCOPE_UNKNOWN", "USER", "MACHINE"] - source: typing_extensions.Literal[ +class PolicyConflict(typing.TypedDict, total=False): + scope: typing.Literal["SCOPE_UNKNOWN", "USER", "MACHINE"] + source: typing.Literal[ "SOURCE_UNKNOWN", "ENTERPRISE_DEFAULT", "CLOUD", @@ -979,21 +949,21 @@ class PolicyConflict(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class PolicyQuery(typing_extensions.TypedDict, total=False): +class PolicyQuery(typing.TypedDict, total=False): group: str orgUnit: str query: str sortOrder: float @typing.type_check_only -class PosixGroup(typing_extensions.TypedDict, total=False): +class PosixGroup(typing.TypedDict, total=False): gid: str name: str systemId: str @typing.type_check_only -class RestrictionEvaluation(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class RestrictionEvaluation(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "EVALUATING", "COMPLIANT", @@ -1002,113 +972,105 @@ class RestrictionEvaluation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RestrictionEvaluations(typing_extensions.TypedDict, total=False): +class RestrictionEvaluations(typing.TypedDict, total=False): memberRestrictionEvaluation: MembershipRoleRestrictionEvaluation @typing.type_check_only -class RsaPublicKeyInfo(typing_extensions.TypedDict, total=False): +class RsaPublicKeyInfo(typing.TypedDict, total=False): keySize: int @typing.type_check_only -class SamlIdpConfig(typing_extensions.TypedDict, total=False): +class SamlIdpConfig(typing.TypedDict, total=False): changePasswordUri: str entityId: str logoutRedirectUri: str singleSignOnServiceUri: str @typing.type_check_only -class SamlSpConfig(typing_extensions.TypedDict, total=False): +class SamlSpConfig(typing.TypedDict, total=False): assertionConsumerServiceUri: str entityId: str @typing.type_check_only -class SamlSsoInfo(typing_extensions.TypedDict, total=False): +class SamlSsoInfo(typing.TypedDict, total=False): inboundSamlSsoProfile: str @typing.type_check_only -class SearchDirectGroupsResponse(typing_extensions.TypedDict, total=False): +class SearchDirectGroupsResponse(typing.TypedDict, total=False): memberships: _list[MembershipRelation] nextPageToken: str @typing.type_check_only -class SearchGroupsResponse(typing_extensions.TypedDict, total=False): +class SearchGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str @typing.type_check_only -class SearchTransitiveGroupsResponse(typing_extensions.TypedDict, total=False): +class SearchTransitiveGroupsResponse(typing.TypedDict, total=False): memberships: _list[GroupRelation] nextPageToken: str @typing.type_check_only -class SearchTransitiveMembershipsResponse(typing_extensions.TypedDict, total=False): +class SearchTransitiveMembershipsResponse(typing.TypedDict, total=False): memberships: _list[MemberRelation] nextPageToken: str @typing.type_check_only -class SecuritySettings(typing_extensions.TypedDict, total=False): +class SecuritySettings(typing.TypedDict, total=False): memberRestriction: MemberRestriction name: str @typing.type_check_only -class SendUserInvitationRequest(typing_extensions.TypedDict, total=False): ... +class SendUserInvitationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Setting(typing_extensions.TypedDict, total=False): +class Setting(typing.TypedDict, total=False): type: str value: dict[str, typing.Any] @typing.type_check_only -class SignInBehavior(typing_extensions.TypedDict, total=False): - redirectCondition: typing_extensions.Literal[ - "REDIRECT_CONDITION_UNSPECIFIED", "NEVER" - ] +class SignInBehavior(typing.TypedDict, total=False): + redirectCondition: typing.Literal["REDIRECT_CONDITION_UNSPECIFIED", "NEVER"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TransitiveMembershipRole(typing_extensions.TypedDict, total=False): +class TransitiveMembershipRole(typing.TypedDict, total=False): role: str @typing.type_check_only -class UpdateInboundOidcSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateInboundOidcSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class UpdateInboundSamlSsoProfileOperationMetadata( - typing_extensions.TypedDict, total=False -): +class UpdateInboundSamlSsoProfileOperationMetadata(typing.TypedDict, total=False): state: str @typing.type_check_only -class UpdateInboundSsoAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class UpdateInboundSsoAssignmentOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateMembershipRolesParams(typing_extensions.TypedDict, total=False): +class UpdateMembershipRolesParams(typing.TypedDict, total=False): fieldMask: str membershipRole: MembershipRole @typing.type_check_only -class UserInvitation(typing_extensions.TypedDict, total=False): +class UserInvitation(typing.TypedDict, total=False): mailsSentCount: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NOT_YET_SENT", "INVITED", "ACCEPTED", "DECLINED" ] updateTime: str @typing.type_check_only -class WindowsSpecificDeviceAttributes(typing_extensions.TypedDict, total=False): +class WindowsSpecificDeviceAttributes(typing.TypedDict, total=False): hotfixes: _list[str] - secureBootMode: typing_extensions.Literal[ + secureBootMode: typing.Literal[ "SECURE_BOOT_MODE_UNSPECIFIED", "SECURE_BOOT_MODE_UNKNOWN", "SECURE_BOOT_MODE_ENABLED", @@ -1118,18 +1080,18 @@ class WindowsSpecificDeviceAttributes(typing_extensions.TypedDict, total=False): windowsUserDomain: str @typing.type_check_only -class WipeDeviceRequest(typing_extensions.TypedDict, total=False): +class WipeDeviceRequest(typing.TypedDict, total=False): customer: str removeResetLock: bool @typing.type_check_only -class WipeDeviceResponse(typing_extensions.TypedDict, total=False): +class WipeDeviceResponse(typing.TypedDict, total=False): device: Device @typing.type_check_only -class WipeDeviceUserRequest(typing_extensions.TypedDict, total=False): +class WipeDeviceUserRequest(typing.TypedDict, total=False): customer: str @typing.type_check_only -class WipeDeviceUserResponse(typing_extensions.TypedDict, total=False): +class WipeDeviceUserResponse(typing.TypedDict, total=False): deviceUser: DeviceUser diff --git a/googleapiclient-stubs/_apis/cloudiot/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudiot/v1/resources.pyi index abadc2c87..ee3b6d408 100644 --- a/googleapiclient-stubs/_apis/cloudiot/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudiot/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -63,7 +62,7 @@ class CloudIotResource(googleapiclient.discovery.Resource): fieldMask: str | None = ..., gatewayListOptions_associationsDeviceId: str | None = ..., gatewayListOptions_associationsGatewayId: str | None = ..., - gatewayListOptions_gatewayType: typing_extensions.Literal[ + gatewayListOptions_gatewayType: typing.Literal[ "GATEWAY_TYPE_UNSPECIFIED", "GATEWAY", "NON_GATEWAY" ] | None = ..., @@ -114,7 +113,7 @@ class CloudIotResource(googleapiclient.discovery.Resource): fieldMask: str | None = ..., gatewayListOptions_associationsDeviceId: str | None = ..., gatewayListOptions_associationsGatewayId: str | None = ..., - gatewayListOptions_gatewayType: typing_extensions.Literal[ + gatewayListOptions_gatewayType: typing.Literal[ "GATEWAY_TYPE_UNSPECIFIED", "GATEWAY", "NON_GATEWAY" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/cloudiot/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudiot/v1/schemas.pyi index 4945fcb97..b5115da6f 100644 --- a/googleapiclient-stubs/_apis/cloudiot/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudiot/v1/schemas.pyi @@ -1,25 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BindDeviceToGatewayRequest(typing_extensions.TypedDict, total=False): +class BindDeviceToGatewayRequest(typing.TypedDict, total=False): deviceId: str gatewayId: str @typing.type_check_only -class BindDeviceToGatewayResponse(typing_extensions.TypedDict, total=False): ... +class BindDeviceToGatewayResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): blocked: bool config: DeviceConfig credentials: _list[DeviceCredential] @@ -32,133 +30,127 @@ class Device(typing_extensions.TypedDict, total=False): lastEventTime: str lastHeartbeatTime: str lastStateTime: str - logLevel: typing_extensions.Literal[ - "LOG_LEVEL_UNSPECIFIED", "NONE", "ERROR", "INFO", "DEBUG" - ] + logLevel: typing.Literal["LOG_LEVEL_UNSPECIFIED", "NONE", "ERROR", "INFO", "DEBUG"] metadata: dict[str, typing.Any] name: str numId: str state: DeviceState @typing.type_check_only -class DeviceConfig(typing_extensions.TypedDict, total=False): +class DeviceConfig(typing.TypedDict, total=False): binaryData: str cloudUpdateTime: str deviceAckTime: str version: str @typing.type_check_only -class DeviceCredential(typing_extensions.TypedDict, total=False): +class DeviceCredential(typing.TypedDict, total=False): expirationTime: str publicKey: PublicKeyCredential @typing.type_check_only -class DeviceRegistry(typing_extensions.TypedDict, total=False): +class DeviceRegistry(typing.TypedDict, total=False): credentials: _list[RegistryCredential] eventNotificationConfigs: _list[EventNotificationConfig] httpConfig: HttpConfig id: str - logLevel: typing_extensions.Literal[ - "LOG_LEVEL_UNSPECIFIED", "NONE", "ERROR", "INFO", "DEBUG" - ] + logLevel: typing.Literal["LOG_LEVEL_UNSPECIFIED", "NONE", "ERROR", "INFO", "DEBUG"] mqttConfig: MqttConfig name: str stateNotificationConfig: StateNotificationConfig @typing.type_check_only -class DeviceState(typing_extensions.TypedDict, total=False): +class DeviceState(typing.TypedDict, total=False): binaryData: str updateTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EventNotificationConfig(typing_extensions.TypedDict, total=False): +class EventNotificationConfig(typing.TypedDict, total=False): pubsubTopicName: str subfolderMatches: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GatewayConfig(typing_extensions.TypedDict, total=False): - gatewayAuthMethod: typing_extensions.Literal[ +class GatewayConfig(typing.TypedDict, total=False): + gatewayAuthMethod: typing.Literal[ "GATEWAY_AUTH_METHOD_UNSPECIFIED", "ASSOCIATION_ONLY", "DEVICE_AUTH_TOKEN_ONLY", "ASSOCIATION_AND_DEVICE_AUTH_TOKEN", ] - gatewayType: typing_extensions.Literal[ - "GATEWAY_TYPE_UNSPECIFIED", "GATEWAY", "NON_GATEWAY" - ] + gatewayType: typing.Literal["GATEWAY_TYPE_UNSPECIFIED", "GATEWAY", "NON_GATEWAY"] lastAccessedGatewayId: str lastAccessedGatewayTime: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class HttpConfig(typing_extensions.TypedDict, total=False): - httpEnabledState: typing_extensions.Literal[ +class HttpConfig(typing.TypedDict, total=False): + httpEnabledState: typing.Literal[ "HTTP_STATE_UNSPECIFIED", "HTTP_ENABLED", "HTTP_DISABLED" ] @typing.type_check_only -class ListDeviceConfigVersionsResponse(typing_extensions.TypedDict, total=False): +class ListDeviceConfigVersionsResponse(typing.TypedDict, total=False): deviceConfigs: _list[DeviceConfig] @typing.type_check_only -class ListDeviceRegistriesResponse(typing_extensions.TypedDict, total=False): +class ListDeviceRegistriesResponse(typing.TypedDict, total=False): deviceRegistries: _list[DeviceRegistry] nextPageToken: str @typing.type_check_only -class ListDeviceStatesResponse(typing_extensions.TypedDict, total=False): +class ListDeviceStatesResponse(typing.TypedDict, total=False): deviceStates: _list[DeviceState] @typing.type_check_only -class ListDevicesResponse(typing_extensions.TypedDict, total=False): +class ListDevicesResponse(typing.TypedDict, total=False): devices: _list[Device] nextPageToken: str @typing.type_check_only -class ModifyCloudToDeviceConfigRequest(typing_extensions.TypedDict, total=False): +class ModifyCloudToDeviceConfigRequest(typing.TypedDict, total=False): binaryData: str versionToUpdate: str @typing.type_check_only -class MqttConfig(typing_extensions.TypedDict, total=False): - mqttEnabledState: typing_extensions.Literal[ +class MqttConfig(typing.TypedDict, total=False): + mqttEnabledState: typing.Literal[ "MQTT_STATE_UNSPECIFIED", "MQTT_ENABLED", "MQTT_DISABLED" ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PublicKeyCertificate(typing_extensions.TypedDict, total=False): +class PublicKeyCertificate(typing.TypedDict, total=False): certificate: str - format: typing_extensions.Literal[ + format: typing.Literal[ "UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT", "X509_CERTIFICATE_PEM" ] x509Details: X509CertificateDetails @typing.type_check_only -class PublicKeyCredential(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal[ +class PublicKeyCredential(typing.TypedDict, total=False): + format: typing.Literal[ "UNSPECIFIED_PUBLIC_KEY_FORMAT", "RSA_PEM", "RSA_X509_PEM", @@ -168,49 +160,49 @@ class PublicKeyCredential(typing_extensions.TypedDict, total=False): key: str @typing.type_check_only -class RegistryCredential(typing_extensions.TypedDict, total=False): +class RegistryCredential(typing.TypedDict, total=False): publicKeyCertificate: PublicKeyCertificate @typing.type_check_only -class SendCommandToDeviceRequest(typing_extensions.TypedDict, total=False): +class SendCommandToDeviceRequest(typing.TypedDict, total=False): binaryData: str subfolder: str @typing.type_check_only -class SendCommandToDeviceResponse(typing_extensions.TypedDict, total=False): ... +class SendCommandToDeviceResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class StateNotificationConfig(typing_extensions.TypedDict, total=False): +class StateNotificationConfig(typing.TypedDict, total=False): pubsubTopicName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UnbindDeviceFromGatewayRequest(typing_extensions.TypedDict, total=False): +class UnbindDeviceFromGatewayRequest(typing.TypedDict, total=False): deviceId: str gatewayId: str @typing.type_check_only -class UnbindDeviceFromGatewayResponse(typing_extensions.TypedDict, total=False): ... +class UnbindDeviceFromGatewayResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class X509CertificateDetails(typing_extensions.TypedDict, total=False): +class X509CertificateDetails(typing.TypedDict, total=False): expiryTime: str issuer: str publicKeyType: str diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi index ce45bee3a..80660ddc1 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -21,6 +20,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 +215,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: ... @@ -220,7 +231,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): self, *, name: str, - publicKeyFormat: typing_extensions.Literal[ + publicKeyFormat: typing.Literal[ "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "DER", @@ -237,6 +248,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, *, @@ -245,7 +263,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED", "FULL" ] | None = ..., @@ -307,6 +325,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): body: CryptoKey, cryptoKeyId: str | None = ..., skipInitialVersionCreation: bool | None = ..., + trustedWrappingEnabled: bool | None = ..., **kwargs: typing.Any, ) -> CryptoKeyHttpRequest: ... def decrypt( @@ -336,7 +355,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - versionView: typing_extensions.Literal[ + versionView: typing.Literal[ "CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED", "FULL" ] | None = ..., @@ -392,7 +411,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): self, *, name: str, - publicKeyFormat: typing_extensions.Literal[ + publicKeyFormat: typing.Literal[ "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "DER", @@ -787,6 +806,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..694222df8 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -1,35 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddQuorumMember(typing_extensions.TypedDict, total=False): +class AddQuorumMember(typing.TypedDict, total=False): twoFactorPublicKeyPem: str @typing.type_check_only -class ApproveSingleTenantHsmInstanceProposalRequest( - typing_extensions.TypedDict, total=False -): +class ApproveSingleTenantHsmInstanceProposalRequest(typing.TypedDict, total=False): quorumReply: QuorumReply requiredActionQuorumReply: RequiredActionQuorumReply @typing.type_check_only -class ApproveSingleTenantHsmInstanceProposalResponse( - typing_extensions.TypedDict, total=False -): ... +class ApproveSingleTenantHsmInstanceProposalResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AsymmetricDecryptRequest(typing_extensions.TypedDict, total=False): +class AsymmetricDecryptRequest(typing.TypedDict, total=False): ciphertext: str ciphertextCrc32c: str @typing.type_check_only -class AsymmetricDecryptResponse(typing_extensions.TypedDict, total=False): +class AsymmetricDecryptResponse(typing.TypedDict, total=False): plaintext: str plaintextCrc32c: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -40,16 +34,16 @@ class AsymmetricDecryptResponse(typing_extensions.TypedDict, total=False): verifiedCiphertextCrc32c: bool @typing.type_check_only -class AsymmetricSignRequest(typing_extensions.TypedDict, total=False): +class AsymmetricSignRequest(typing.TypedDict, total=False): data: str dataCrc32c: str digest: Digest digestCrc32c: str @typing.type_check_only -class AsymmetricSignResponse(typing_extensions.TypedDict, total=False): +class AsymmetricSignResponse(typing.TypedDict, total=False): name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -63,29 +57,29 @@ class AsymmetricSignResponse(typing_extensions.TypedDict, total=False): verifiedDigestCrc32c: bool @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutokeyConfig(typing_extensions.TypedDict, total=False): +class AutokeyConfig(typing.TypedDict, total=False): etag: str keyProject: str - keyProjectResolutionMode: typing_extensions.Literal[ + keyProjectResolutionMode: typing.Literal[ "KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED", "DEDICATED_KEY_PROJECT", "RESOURCE_PROJECT", "DISABLED", ] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "KEY_PROJECT_DELETED", @@ -94,13 +88,13 @@ class AutokeyConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Certificate(typing_extensions.TypedDict, total=False): +class Certificate(typing.TypedDict, total=False): issuer: str notAfterTime: str notBeforeTime: str @@ -112,28 +106,28 @@ class Certificate(typing_extensions.TypedDict, total=False): subjectAlternativeDnsNames: _list[str] @typing.type_check_only -class CertificateChains(typing_extensions.TypedDict, total=False): +class CertificateChains(typing.TypedDict, total=False): caviumCerts: _list[str] googleCardCerts: _list[str] googlePartitionCerts: _list[str] @typing.type_check_only -class Challenge(typing_extensions.TypedDict, total=False): +class Challenge(typing.TypedDict, total=False): challenge: str publicKeyPem: str @typing.type_check_only -class ChallengeReply(typing_extensions.TypedDict, total=False): +class ChallengeReply(typing.TypedDict, total=False): publicKeyPem: str signedChallenge: str @typing.type_check_only -class ChecksummedData(typing_extensions.TypedDict, total=False): +class ChecksummedData(typing.TypedDict, total=False): crc32cChecksum: str data: str @typing.type_check_only -class CryptoKey(typing_extensions.TypedDict, total=False): +class CryptoKey(typing.TypedDict, total=False): createTime: str cryptoKeyBackend: str destroyScheduledDuration: str @@ -143,7 +137,7 @@ class CryptoKey(typing_extensions.TypedDict, total=False): name: str nextRotationTime: str primary: CryptoKeyVersion - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "CRYPTO_KEY_PURPOSE_UNSPECIFIED", "ENCRYPT_DECRYPT", "ASYMMETRIC_SIGN", @@ -151,13 +145,14 @@ class CryptoKey(typing_extensions.TypedDict, total=False): "RAW_ENCRYPT_DECRYPT", "MAC", "KEY_ENCAPSULATION", + "AES_WRAPPING", ] rotationPeriod: str versionTemplate: CryptoKeyVersionTemplate @typing.type_check_only -class CryptoKeyVersion(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class CryptoKeyVersion(typing.TypedDict, total=False): + algorithm: typing.Literal[ "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", @@ -205,6 +200,9 @@ 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", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", ] attestation: KeyOperationAttestation createTime: str @@ -214,11 +212,12 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): externalProtectionLevelOptions: ExternalProtectionLevelOptions generateTime: str generationFailureReason: str + hsmTrusted: bool importFailureReason: str importJob: str importTime: str name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -227,7 +226,7 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): "HSM_SINGLE_TENANT", ] reimportEligible: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED", "PENDING_GENERATION", "ENABLED", @@ -240,10 +239,11 @@ 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): - algorithm: typing_extensions.Literal[ +class CryptoKeyVersionTemplate(typing.TypedDict, total=False): + algorithm: typing.Literal[ "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", @@ -291,8 +291,11 @@ 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", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", ] - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -302,14 +305,14 @@ class CryptoKeyVersionTemplate(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DecapsulateRequest(typing_extensions.TypedDict, total=False): +class DecapsulateRequest(typing.TypedDict, total=False): ciphertext: str ciphertextCrc32c: str @typing.type_check_only -class DecapsulateResponse(typing_extensions.TypedDict, total=False): +class DecapsulateResponse(typing.TypedDict, total=False): name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -322,17 +325,17 @@ class DecapsulateResponse(typing_extensions.TypedDict, total=False): verifiedCiphertextCrc32c: bool @typing.type_check_only -class DecryptRequest(typing_extensions.TypedDict, total=False): +class DecryptRequest(typing.TypedDict, total=False): additionalAuthenticatedData: str additionalAuthenticatedDataCrc32c: str ciphertext: str ciphertextCrc32c: str @typing.type_check_only -class DecryptResponse(typing_extensions.TypedDict, total=False): +class DecryptResponse(typing.TypedDict, total=False): plaintext: str plaintextCrc32c: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -343,56 +346,56 @@ class DecryptResponse(typing_extensions.TypedDict, total=False): usedPrimary: bool @typing.type_check_only -class DeleteSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... +class DeleteSingleTenantHsmInstance(typing.TypedDict, total=False): ... @typing.type_check_only -class DestroyCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): ... +class DestroyCryptoKeyVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Digest(typing_extensions.TypedDict, total=False): +class Digest(typing.TypedDict, total=False): externalMu: str sha256: str sha384: str sha512: str @typing.type_check_only -class DisableSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... +class DisableSingleTenantHsmInstance(typing.TypedDict, total=False): ... @typing.type_check_only -class EkmConfig(typing_extensions.TypedDict, total=False): +class EkmConfig(typing.TypedDict, total=False): defaultEkmConnection: str name: str @typing.type_check_only -class EkmConnection(typing_extensions.TypedDict, total=False): +class EkmConnection(typing.TypedDict, total=False): createTime: str cryptoSpacePath: str etag: str - keyManagementMode: typing_extensions.Literal[ + keyManagementMode: typing.Literal[ "KEY_MANAGEMENT_MODE_UNSPECIFIED", "MANUAL", "CLOUD_KMS" ] name: str serviceResolvers: _list[ServiceResolver] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... +class EnableSingleTenantHsmInstance(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptRequest(typing_extensions.TypedDict, total=False): +class EncryptRequest(typing.TypedDict, total=False): additionalAuthenticatedData: str additionalAuthenticatedDataCrc32c: str plaintext: str plaintextCrc32c: str @typing.type_check_only -class EncryptResponse(typing_extensions.TypedDict, total=False): +class EncryptResponse(typing.TypedDict, total=False): ciphertext: str ciphertextCrc32c: str name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -404,26 +407,30 @@ class EncryptResponse(typing_extensions.TypedDict, total=False): verifiedPlaintextCrc32c: bool @typing.type_check_only -class ExecuteSingleTenantHsmInstanceProposalRequest( - typing_extensions.TypedDict, total=False -): ... +class ExecuteSingleTenantHsmInstanceProposalRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ExportTrustedKeyWrappedCryptoKeyVersionResponse(typing.TypedDict, total=False): + wrappedKey: str + wrappedKeyCrc32c: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalProtectionLevelOptions(typing_extensions.TypedDict, total=False): +class ExternalProtectionLevelOptions(typing.TypedDict, total=False): + ekmConnectionBackendOverride: str ekmConnectionKeyPath: str externalKeyUri: str @typing.type_check_only -class GenerateRandomBytesRequest(typing_extensions.TypedDict, total=False): +class GenerateRandomBytesRequest(typing.TypedDict, total=False): lengthBytes: int - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -433,13 +440,13 @@ class GenerateRandomBytesRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GenerateRandomBytesResponse(typing_extensions.TypedDict, total=False): +class GenerateRandomBytesResponse(typing.TypedDict, total=False): data: str dataCrc32c: str @typing.type_check_only -class ImportCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class ImportCryptoKeyVersionRequest(typing.TypedDict, total=False): + algorithm: typing.Literal[ "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", @@ -487,21 +494,25 @@ 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", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", ] cryptoKeyVersion: str importJob: str rsaAesWrappedKey: str + trustedWrappingEnabled: bool wrappedKey: str @typing.type_check_only -class ImportJob(typing_extensions.TypedDict, total=False): +class ImportJob(typing.TypedDict, total=False): attestation: KeyOperationAttestation createTime: str cryptoKeyBackend: str expireEventTime: str expireTime: str generateTime: str - importMethod: typing_extensions.Literal[ + importMethod: typing.Literal[ "IMPORT_METHOD_UNSPECIFIED", "RSA_OAEP_3072_SHA1_AES_256", "RSA_OAEP_4096_SHA1_AES_256", @@ -514,7 +525,7 @@ class ImportJob(typing_extensions.TypedDict, total=False): "HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM", ] name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -523,22 +534,80 @@ class ImportJob(typing_extensions.TypedDict, total=False): "HSM_SINGLE_TENANT", ] publicKey: WrappingPublicKey - publicKeyFormat: typing_extensions.Literal[ + publicKeyFormat: typing.Literal[ "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "DER", "NIST_PQC", "XWING_RAW_BYTES" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "IMPORT_JOB_STATE_UNSPECIFIED", "PENDING_GENERATION", "ACTIVE", "EXPIRED" ] @typing.type_check_only -class KeyAccessJustificationsEnrollmentConfig(typing_extensions.TypedDict, total=False): +class ImportTrustedKeyWrappedCryptoKeyVersionRequest(typing.TypedDict, total=False): + algorithm: typing.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", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", + ] + cryptoKeyVersion: str + importingKey: str + wrappedKey: str + +@typing.type_check_only +class KeyAccessJustificationsEnrollmentConfig(typing.TypedDict, total=False): auditLogging: bool policyEnforcement: bool @typing.type_check_only -class KeyAccessJustificationsPolicy(typing_extensions.TypedDict, total=False): +class KeyAccessJustificationsPolicy(typing.TypedDict, total=False): allowedAccessReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "CUSTOMER_INITIATED_SUPPORT", "GOOGLE_INITIATED_SERVICE", @@ -555,92 +624,90 @@ class KeyAccessJustificationsPolicy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class KeyAccessJustificationsPolicyConfig(typing_extensions.TypedDict, total=False): +class KeyAccessJustificationsPolicyConfig(typing.TypedDict, total=False): defaultKeyAccessJustificationPolicy: KeyAccessJustificationsPolicy defaultPolicyAvailable: bool name: str @typing.type_check_only -class KeyHandle(typing_extensions.TypedDict, total=False): +class KeyHandle(typing.TypedDict, total=False): kmsKey: str name: str resourceTypeSelector: str @typing.type_check_only -class KeyOperationAttestation(typing_extensions.TypedDict, total=False): +class KeyOperationAttestation(typing.TypedDict, total=False): certChains: CertificateChains content: str - format: typing_extensions.Literal[ + format: typing.Literal[ "ATTESTATION_FORMAT_UNSPECIFIED", "CAVIUM_V1_COMPRESSED", "CAVIUM_V2_COMPRESSED" ] @typing.type_check_only -class KeyRing(typing_extensions.TypedDict, total=False): +class KeyRing(typing.TypedDict, total=False): createTime: str name: str @typing.type_check_only -class ListCryptoKeyVersionsResponse(typing_extensions.TypedDict, total=False): +class ListCryptoKeyVersionsResponse(typing.TypedDict, total=False): cryptoKeyVersions: _list[CryptoKeyVersion] nextPageToken: str totalSize: int @typing.type_check_only -class ListCryptoKeysResponse(typing_extensions.TypedDict, total=False): +class ListCryptoKeysResponse(typing.TypedDict, total=False): cryptoKeys: _list[CryptoKey] nextPageToken: str totalSize: int @typing.type_check_only -class ListEkmConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListEkmConnectionsResponse(typing.TypedDict, total=False): ekmConnections: _list[EkmConnection] nextPageToken: str totalSize: int @typing.type_check_only -class ListImportJobsResponse(typing_extensions.TypedDict, total=False): +class ListImportJobsResponse(typing.TypedDict, total=False): importJobs: _list[ImportJob] nextPageToken: str totalSize: int @typing.type_check_only -class ListKeyHandlesResponse(typing_extensions.TypedDict, total=False): +class ListKeyHandlesResponse(typing.TypedDict, total=False): keyHandles: _list[KeyHandle] nextPageToken: str @typing.type_check_only -class ListKeyRingsResponse(typing_extensions.TypedDict, total=False): +class ListKeyRingsResponse(typing.TypedDict, total=False): keyRings: _list[KeyRing] nextPageToken: str totalSize: int @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListRetiredResourcesResponse(typing_extensions.TypedDict, total=False): +class ListRetiredResourcesResponse(typing.TypedDict, total=False): nextPageToken: str retiredResources: _list[RetiredResource] totalSize: str @typing.type_check_only -class ListSingleTenantHsmInstanceProposalsResponse( - typing_extensions.TypedDict, total=False -): +class ListSingleTenantHsmInstanceProposalsResponse(typing.TypedDict, total=False): nextPageToken: str singleTenantHsmInstanceProposals: _list[SingleTenantHsmInstanceProposal] totalSize: int @typing.type_check_only -class ListSingleTenantHsmInstancesResponse(typing_extensions.TypedDict, total=False): +class ListSingleTenantHsmInstancesResponse(typing.TypedDict, total=False): nextPageToken: str singleTenantHsmInstances: _list[SingleTenantHsmInstance] totalSize: int @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -648,22 +715,22 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): ekmAvailable: bool hsmAvailable: bool hsmSingleTenantAvailable: bool @typing.type_check_only -class MacSignRequest(typing_extensions.TypedDict, total=False): +class MacSignRequest(typing.TypedDict, total=False): data: str dataCrc32c: str @typing.type_check_only -class MacSignResponse(typing_extensions.TypedDict, total=False): +class MacSignResponse(typing.TypedDict, total=False): mac: str macCrc32c: str name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -674,16 +741,16 @@ class MacSignResponse(typing_extensions.TypedDict, total=False): verifiedDataCrc32c: bool @typing.type_check_only -class MacVerifyRequest(typing_extensions.TypedDict, total=False): +class MacVerifyRequest(typing.TypedDict, total=False): data: str dataCrc32c: str mac: str macCrc32c: str @typing.type_check_only -class MacVerifyResponse(typing_extensions.TypedDict, total=False): +class MacVerifyResponse(typing.TypedDict, total=False): name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -697,7 +764,7 @@ class MacVerifyResponse(typing_extensions.TypedDict, total=False): verifiedSuccessIntegrity: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -705,15 +772,15 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PublicKey(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class PublicKey(typing.TypedDict, total=False): + algorithm: typing.Literal[ "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", @@ -761,11 +828,14 @@ 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", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", ] name: str pem: str pemCrc32c: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -774,28 +844,28 @@ class PublicKey(typing_extensions.TypedDict, total=False): "HSM_SINGLE_TENANT", ] publicKey: ChecksummedData - publicKeyFormat: typing_extensions.Literal[ + publicKeyFormat: typing.Literal[ "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "DER", "NIST_PQC", "XWING_RAW_BYTES" ] @typing.type_check_only -class QuorumAuth(typing_extensions.TypedDict, total=False): +class QuorumAuth(typing.TypedDict, total=False): requiredApproverCount: int totalApproverCount: int twoFactorPublicKeyPems: _list[str] @typing.type_check_only -class QuorumParameters(typing_extensions.TypedDict, total=False): +class QuorumParameters(typing.TypedDict, total=False): approvedTwoFactorPublicKeyPems: _list[str] challenges: _list[Challenge] requiredApproverCount: int @typing.type_check_only -class QuorumReply(typing_extensions.TypedDict, total=False): +class QuorumReply(typing.TypedDict, total=False): challengeReplies: _list[ChallengeReply] @typing.type_check_only -class RawDecryptRequest(typing_extensions.TypedDict, total=False): +class RawDecryptRequest(typing.TypedDict, total=False): additionalAuthenticatedData: str additionalAuthenticatedDataCrc32c: str ciphertext: str @@ -805,10 +875,10 @@ class RawDecryptRequest(typing_extensions.TypedDict, total=False): tagLength: int @typing.type_check_only -class RawDecryptResponse(typing_extensions.TypedDict, total=False): +class RawDecryptResponse(typing.TypedDict, total=False): plaintext: str plaintextCrc32c: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -821,7 +891,7 @@ class RawDecryptResponse(typing_extensions.TypedDict, total=False): verifiedInitializationVectorCrc32c: bool @typing.type_check_only -class RawEncryptRequest(typing_extensions.TypedDict, total=False): +class RawEncryptRequest(typing.TypedDict, total=False): additionalAuthenticatedData: str additionalAuthenticatedDataCrc32c: str initializationVector: str @@ -830,13 +900,13 @@ class RawEncryptRequest(typing_extensions.TypedDict, total=False): plaintextCrc32c: str @typing.type_check_only -class RawEncryptResponse(typing_extensions.TypedDict, total=False): +class RawEncryptResponse(typing.TypedDict, total=False): ciphertext: str ciphertextCrc32c: str initializationVector: str initializationVectorCrc32c: str name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -850,58 +920,65 @@ class RawEncryptResponse(typing_extensions.TypedDict, total=False): verifiedPlaintextCrc32c: bool @typing.type_check_only -class RefreshSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... +class RefreshSingleTenantHsmInstance(typing.TypedDict, total=False): ... @typing.type_check_only -class RegisterTwoFactorAuthKeys(typing_extensions.TypedDict, total=False): +class RegisterTwoFactorAuthKeys(typing.TypedDict, total=False): requiredApproverCount: int twoFactorPublicKeyPems: _list[str] @typing.type_check_only -class RemoveQuorumMember(typing_extensions.TypedDict, total=False): +class RemoveQuorumMember(typing.TypedDict, total=False): twoFactorPublicKeyPem: str @typing.type_check_only -class RequiredActionQuorumParameters(typing_extensions.TypedDict, total=False): +class RequiredActionQuorumParameters(typing.TypedDict, total=False): approvedTwoFactorPublicKeyPems: _list[str] quorumChallenges: _list[Challenge] requiredApproverCount: int requiredChallenges: _list[Challenge] @typing.type_check_only -class RequiredActionQuorumReply(typing_extensions.TypedDict, total=False): +class RequiredActionQuorumReply(typing.TypedDict, total=False): quorumChallengeReplies: _list[ChallengeReply] requiredChallengeReplies: _list[ChallengeReply] @typing.type_check_only -class RestoreCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): ... +class RestoreCryptoKeyVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetiredResource(typing_extensions.TypedDict, total=False): +class RetiredResource(typing.TypedDict, total=False): deleteTime: str name: str originalResource: str resourceType: str @typing.type_check_only -class ServiceResolver(typing_extensions.TypedDict, total=False): +class ServiceResolver(typing.TypedDict, total=False): endpointFilter: str hostname: str serverCertificates: _list[Certificate] serviceDirectoryService: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class ShowEffectiveAutokeyConfigResponse(typing_extensions.TypedDict, total=False): +class ShowEffectiveAutokeyConfigResponse(typing.TypedDict, total=False): keyProject: str + keyProjectResolutionMode: typing.Literal[ + "KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED", + "DEDICATED_KEY_PROJECT", + "RESOURCE_PROJECT", + "DISABLED", + ] + source: Source @typing.type_check_only class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalConfig: KeyAccessJustificationsEnrollmentConfig hardwareConfig: KeyAccessJustificationsEnrollmentConfig @@ -909,19 +986,19 @@ class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse( @typing.type_check_only class ShowEffectiveKeyAccessJustificationsPolicyConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveKajPolicy: KeyAccessJustificationsPolicyConfig @typing.type_check_only -class SingleTenantHsmInstance(typing_extensions.TypedDict, total=False): +class SingleTenantHsmInstance(typing.TypedDict, total=False): createTime: str deleteTime: str disableTime: str keyPortabilityEnabled: bool name: str quorumAuth: QuorumAuth - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "PENDING_TWO_FACTOR_AUTH_REGISTRATION", @@ -935,7 +1012,7 @@ class SingleTenantHsmInstance(typing_extensions.TypedDict, total=False): unrefreshedDurationUntilDisable: str @typing.type_check_only -class SingleTenantHsmInstanceProposal(typing_extensions.TypedDict, total=False): +class SingleTenantHsmInstanceProposal(typing.TypedDict, total=False): addQuorumMember: AddQuorumMember createTime: str deleteSingleTenantHsmInstance: DeleteSingleTenantHsmInstance @@ -951,7 +1028,7 @@ class SingleTenantHsmInstanceProposal(typing_extensions.TypedDict, total=False): registerTwoFactorAuthKeys: RegisterTwoFactorAuthKeys removeQuorumMember: RemoveQuorumMember requiredActionQuorumParameters: RequiredActionQuorumParameters - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "PENDING", @@ -962,29 +1039,39 @@ class SingleTenantHsmInstanceProposal(typing_extensions.TypedDict, total=False): "DELETED", ] ttl: str + upgradeKeyTrust: UpgradeKeyTrust + +@typing.type_check_only +class Source(typing.TypedDict, total=False): + name: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UpdateCryptoKeyPrimaryVersionRequest(typing_extensions.TypedDict, total=False): +class UpdateCryptoKeyPrimaryVersionRequest(typing.TypedDict, total=False): cryptoKeyVersionId: str @typing.type_check_only -class VerifyConnectivityResponse(typing_extensions.TypedDict, total=False): ... +class UpgradeKeyTrust(typing.TypedDict, total=False): + name: str + twoFactorPublicKeyPem: str + +@typing.type_check_only +class VerifyConnectivityResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class WrappingPublicKey(typing_extensions.TypedDict, total=False): +class WrappingPublicKey(typing.TypedDict, total=False): data: str pem: str diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/resources.pyi index b164478e2..f8c18206a 100644 --- a/googleapiclient-stubs/_apis/cloudlocationfinder/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/schemas.pyi index e76007f32..c765935fe 100644 --- a/googleapiclient-stubs/_apis/cloudlocationfinder/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CloudLocation(typing_extensions.TypedDict, total=False): +class CloudLocation(typing.TypedDict, total=False): carbonFreeEnergyPercentage: float - cloudLocationType: typing_extensions.Literal[ + cloudLocationType: typing.Literal[ "CLOUD_LOCATION_TYPE_UNSPECIFIED", "CLOUD_LOCATION_TYPE_REGION", "CLOUD_LOCATION_TYPE_ZONE", "CLOUD_LOCATION_TYPE_GDCC_ZONE", ] - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "CLOUD_PROVIDER_GCP", "CLOUD_PROVIDER_AWS", @@ -26,17 +24,17 @@ class CloudLocation(typing_extensions.TypedDict, total=False): territoryCode: str @typing.type_check_only -class ListCloudLocationsResponse(typing_extensions.TypedDict, total=False): +class ListCloudLocationsResponse(typing.TypedDict, total=False): cloudLocations: _list[CloudLocation] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -44,6 +42,6 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SearchCloudLocationsResponse(typing_extensions.TypedDict, total=False): +class SearchCloudLocationsResponse(typing.TypedDict, total=False): cloudLocations: _list[CloudLocation] nextPageToken: str diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/resources.pyi index b164478e2..f8c18206a 100644 --- a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi index e76007f32..c765935fe 100644 --- a/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudlocationfinder/v1alpha/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CloudLocation(typing_extensions.TypedDict, total=False): +class CloudLocation(typing.TypedDict, total=False): carbonFreeEnergyPercentage: float - cloudLocationType: typing_extensions.Literal[ + cloudLocationType: typing.Literal[ "CLOUD_LOCATION_TYPE_UNSPECIFIED", "CLOUD_LOCATION_TYPE_REGION", "CLOUD_LOCATION_TYPE_ZONE", "CLOUD_LOCATION_TYPE_GDCC_ZONE", ] - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "CLOUD_PROVIDER_GCP", "CLOUD_PROVIDER_AWS", @@ -26,17 +24,17 @@ class CloudLocation(typing_extensions.TypedDict, total=False): territoryCode: str @typing.type_check_only -class ListCloudLocationsResponse(typing_extensions.TypedDict, total=False): +class ListCloudLocationsResponse(typing.TypedDict, total=False): cloudLocations: _list[CloudLocation] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -44,6 +42,6 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SearchCloudLocationsResponse(typing_extensions.TypedDict, total=False): +class SearchCloudLocationsResponse(typing.TypedDict, total=False): cloudLocations: _list[CloudLocation] nextPageToken: str diff --git a/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/resources.pyi index afd352c3f..bffce0ea6 100644 --- a/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -231,7 +230,7 @@ class CloudNumberRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "REALM_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" ] | None = ..., @@ -245,7 +244,7 @@ class CloudNumberRegistryResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "REALM_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" ] | None = ..., @@ -289,7 +288,7 @@ class CloudNumberRegistryResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "REGISTRY_BOOK_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" ] | None = ..., @@ -303,7 +302,7 @@ class CloudNumberRegistryResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "REGISTRY_BOOK_VIEW_UNSPECIFIED", "BASIC", "FULL", "AGGREGATE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/schemas.pyi index fb3ffe8e2..5436ff750 100644 --- a/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudnumberregistry/v1alpha/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AggregatedData(typing_extensions.TypedDict, total=False): +class AggregatedData(typing.TypedDict, total=False): customRangesCount: int customRealmsCount: int discoveredRangesCount: int @@ -13,25 +11,23 @@ class AggregatedData(typing_extensions.TypedDict, total=False): uniqueScopesCount: int @typing.type_check_only -class Attribute(typing_extensions.TypedDict, total=False): +class Attribute(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckAvailabilityIpamAdminScopesResponse( - typing_extensions.TypedDict, total=False -): +class CheckAvailabilityIpamAdminScopesResponse(typing.TypedDict, total=False): scopeAvailabilities: _list[IpamAdminScopeAvailability] @typing.type_check_only -class CleanupIpamAdminScopeRequest(typing_extensions.TypedDict, total=False): +class CleanupIpamAdminScopeRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class CustomRange(typing_extensions.TypedDict, total=False): +class CustomRange(typing.TypedDict, total=False): attributes: _list[Attribute] description: str ipv4CidrRange: str @@ -43,11 +39,11 @@ class CustomRange(typing_extensions.TypedDict, total=False): registryBook: str @typing.type_check_only -class DisableIpamAdminScopeRequest(typing_extensions.TypedDict, total=False): +class DisableIpamAdminScopeRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class DiscoveredRange(typing_extensions.TypedDict, total=False): +class DiscoveredRange(typing.TypedDict, total=False): attributes: _list[Attribute] childCidrOverlapAllowed: bool createTime: str @@ -63,41 +59,39 @@ class DiscoveredRange(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DiscoveryMetadata(typing_extensions.TypedDict, total=False): +class DiscoveryMetadata(typing.TypedDict, total=False): createTime: str eventTime: str resource: str resourceUri: str sourceId: str sourceSubId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "RESOURCE_STATE_UNSPECIFIED", "INVALID", "EXISTS", "DOES_NOT_EXIST", "ERROR" ] updateTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FindCustomRangeFreeIpRangesResponse(typing_extensions.TypedDict, total=False): +class FindCustomRangeFreeIpRangesResponse(typing.TypedDict, total=False): freeIpCidrRanges: _list[str] @typing.type_check_only -class FindDiscoveredRangeFreeIpRangesResponse(typing_extensions.TypedDict, total=False): +class FindDiscoveredRangeFreeIpRangesResponse(typing.TypedDict, total=False): freeIpCidrRanges: _list[str] @typing.type_check_only -class IpamAdminScope(typing_extensions.TypedDict, total=False): +class IpamAdminScope(typing.TypedDict, total=False): createTime: str enabledAddonPlatforms: _list[ - typing_extensions.Literal[ - "ADD_ON_PLATFORM_UNSPECIFIED", "COMPUTE_ENGINE", "GCE" - ] + typing.Literal["ADD_ON_PLATFORM_UNSPECIFIED", "COMPUTE_ENGINE", "GCE"] ] labels: dict[str, typing.Any] name: str scopes: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "DISCOVERY_PIPELINE_STATE_UNSPECIFIED", "INTERNAL_FAILURE", "FAILED", @@ -114,56 +108,54 @@ class IpamAdminScope(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class IpamAdminScopeAvailability(typing_extensions.TypedDict, total=False): +class IpamAdminScopeAvailability(typing.TypedDict, total=False): adminProject: str - availability: typing_extensions.Literal[ - "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "UNAVAILABLE" - ] + availability: typing.Literal["AVAILABILITY_UNSPECIFIED", "AVAILABLE", "UNAVAILABLE"] scope: str @typing.type_check_only -class ListCustomRangesResponse(typing_extensions.TypedDict, total=False): +class ListCustomRangesResponse(typing.TypedDict, total=False): customRanges: _list[CustomRange] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveredRangesResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveredRangesResponse(typing.TypedDict, total=False): discoveredRanges: _list[DiscoveredRange] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListIpamAdminScopesResponse(typing_extensions.TypedDict, total=False): +class ListIpamAdminScopesResponse(typing.TypedDict, total=False): ipamAdminScopes: _list[IpamAdminScope] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRealmsResponse(typing_extensions.TypedDict, total=False): +class ListRealmsResponse(typing.TypedDict, total=False): nextPageToken: str realms: _list[Realm] unreachable: _list[str] @typing.type_check_only -class ListRegistryBooksResponse(typing_extensions.TypedDict, total=False): +class ListRegistryBooksResponse(typing.TypedDict, total=False): nextPageToken: str registryBooks: _list[RegistryBook] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -171,7 +163,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -179,7 +171,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -189,41 +181,39 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Range(typing_extensions.TypedDict, total=False): +class Range(typing.TypedDict, total=False): customRange: CustomRange discoveredRange: DiscoveredRange utilization: RangeUtilization @typing.type_check_only -class RangeUtilization(typing_extensions.TypedDict, total=False): +class RangeUtilization(typing.TypedDict, total=False): totalConsumed: str totalProduced: str usage: float @typing.type_check_only -class Realm(typing_extensions.TypedDict, total=False): +class Realm(typing.TypedDict, total=False): aggregatedData: RealmAggregatedData createTime: str discoveryMetadata: DiscoveryMetadata - ipVersion: typing_extensions.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] + ipVersion: typing.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] labels: dict[str, typing.Any] - managementType: typing_extensions.Literal[ - "MANAGEMENT_TYPE_UNSPECIFIED", "CNR", "USER" - ] + managementType: typing.Literal["MANAGEMENT_TYPE_UNSPECIFIED", "CNR", "USER"] name: str registryBook: str - trafficType: typing_extensions.Literal[ + trafficType: typing.Literal[ "TRAFFIC_TYPE_UNSPECIFIED", "UNSET", "INTERNET", "PRIVATE", "LINKLOCAL" ] updateTime: str @typing.type_check_only -class RealmAggregatedData(typing_extensions.TypedDict, total=False): +class RealmAggregatedData(typing.TypedDict, total=False): customRangesCount: int discoveredRangesCount: int @typing.type_check_only -class RegistryBook(typing_extensions.TypedDict, total=False): +class RegistryBook(typing.TypedDict, total=False): aggregatedData: AggregatedData claimedScopes: _list[str] createTime: str @@ -233,42 +223,40 @@ class RegistryBook(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SearchIpResourcesRequest(typing_extensions.TypedDict, total=False): +class SearchIpResourcesRequest(typing.TypedDict, total=False): orderBy: str pageSize: int pageToken: str query: str searchResourceTypes: _list[ - typing_extensions.Literal[ - "SEARCH_RESOURCE_TYPE_UNSPECIFIED", "RANGES", "REALMS" - ] + typing.Literal["SEARCH_RESOURCE_TYPE_UNSPECIFIED", "RANGES", "REALMS"] ] showUtilization: bool @typing.type_check_only -class SearchIpResourcesResponse(typing_extensions.TypedDict, total=False): +class SearchIpResourcesResponse(typing.TypedDict, total=False): nextPageToken: str ranges: _list[Range] results: _list[SearchIpResourcesResult] unreachable: _list[str] @typing.type_check_only -class SearchIpResourcesResult(typing_extensions.TypedDict, total=False): +class SearchIpResourcesResult(typing.TypedDict, total=False): range: Range realm: Realm @typing.type_check_only -class ShowCustomRangeUtilizationResponse(typing_extensions.TypedDict, total=False): +class ShowCustomRangeUtilizationResponse(typing.TypedDict, total=False): customRange: CustomRange rangeUtilization: RangeUtilization @typing.type_check_only -class ShowDiscoveredRangeUtilizationResponse(typing_extensions.TypedDict, total=False): +class ShowDiscoveredRangeUtilizationResponse(typing.TypedDict, total=False): discoveredRange: DiscoveredRange rangeUtilization: RangeUtilization @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/cloudproductregistry/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudproductregistry/v1/resources.pyi index baec58df5..209ea0ffd 100644 --- a/googleapiclient-stubs/_apis/cloudproductregistry/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudproductregistry/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudproductregistry/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudproductregistry/v1/schemas.pyi index a7ab9da57..a4204061b 100644 --- a/googleapiclient-stubs/_apis/cloudproductregistry/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudproductregistry/v1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ListLogicalProductVariantsResponse(typing_extensions.TypedDict, total=False): +class ListLogicalProductVariantsResponse(typing.TypedDict, total=False): logicalProductVariants: _list[LogicalProductVariant] nextPageToken: str @typing.type_check_only -class ListLogicalProductsResponse(typing_extensions.TypedDict, total=False): +class ListLogicalProductsResponse(typing.TypedDict, total=False): logicalProducts: _list[LogicalProduct] nextPageToken: str @typing.type_check_only -class ListProductSuitesResponse(typing_extensions.TypedDict, total=False): +class ListProductSuitesResponse(typing.TypedDict, total=False): nextPageToken: str productSuites: _list[ProductSuite] @typing.type_check_only -class LogicalProduct(typing_extensions.TypedDict, total=False): - lifecycleState: typing_extensions.Literal[ +class LogicalProduct(typing.TypedDict, total=False): + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "LIFECYCLE_STATE_PUBLIC_PREVIEW", "LIFECYCLE_STATE_PRIVATE_GA", @@ -36,8 +34,8 @@ class LogicalProduct(typing_extensions.TypedDict, total=False): variants: _list[str] @typing.type_check_only -class LogicalProductVariant(typing_extensions.TypedDict, total=False): - lifecycleState: typing_extensions.Literal[ +class LogicalProductVariant(typing.TypedDict, total=False): + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "LIFECYCLE_STATE_PUBLIC_PREVIEW", "LIFECYCLE_STATE_PRIVATE_GA", @@ -50,13 +48,13 @@ class LogicalProductVariant(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class LookupEntityResponse(typing_extensions.TypedDict, total=False): +class LookupEntityResponse(typing.TypedDict, total=False): logicalProduct: LogicalProduct logicalProductVariant: LogicalProductVariant productSuite: ProductSuite @typing.type_check_only -class ProductSuite(typing_extensions.TypedDict, total=False): +class ProductSuite(typing.TypedDict, total=False): logicalProducts: _list[str] name: str replaced: bool diff --git a/googleapiclient-stubs/_apis/cloudprofiler/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudprofiler/v2/resources.pyi index 843ee8158..c9445d072 100644 --- a/googleapiclient-stubs/_apis/cloudprofiler/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudprofiler/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudprofiler/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudprofiler/v2/schemas.pyi index 6c2c52a29..177169797 100644 --- a/googleapiclient-stubs/_apis/cloudprofiler/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudprofiler/v2/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CreateProfileRequest(typing_extensions.TypedDict, total=False): +class CreateProfileRequest(typing.TypedDict, total=False): deployment: Deployment profileType: _list[ - typing_extensions.Literal[ + typing.Literal[ "PROFILE_TYPE_UNSPECIFIED", "CPU", "WALL", @@ -21,25 +19,25 @@ class CreateProfileRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): labels: dict[str, typing.Any] projectId: str target: str @typing.type_check_only -class ListProfilesResponse(typing_extensions.TypedDict, total=False): +class ListProfilesResponse(typing.TypedDict, total=False): nextPageToken: str profiles: _list[Profile] skippedProfiles: int @typing.type_check_only -class Profile(typing_extensions.TypedDict, total=False): +class Profile(typing.TypedDict, total=False): deployment: Deployment duration: str labels: dict[str, typing.Any] name: str profileBytes: str - profileType: typing_extensions.Literal[ + profileType: typing.Literal[ "PROFILE_TYPE_UNSPECIFIED", "CPU", "WALL", diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/resources.pyi index 61602bf30..b3a933444 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi index 1276720f1..4a4005e09 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi @@ -1,71 +1,63 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Ancestor(typing_extensions.TypedDict, total=False): +class Ancestor(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BooleanConstraint(typing_extensions.TypedDict, total=False): ... +class BooleanConstraint(typing.TypedDict, total=False): ... @typing.type_check_only -class BooleanPolicy(typing_extensions.TypedDict, total=False): +class BooleanPolicy(typing.TypedDict, total=False): enforced: bool @typing.type_check_only -class ClearOrgPolicyRequest(typing_extensions.TypedDict, total=False): +class ClearOrgPolicyRequest(typing.TypedDict, total=False): constraint: str etag: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class Constraint(typing_extensions.TypedDict, total=False): +class Constraint(typing.TypedDict, total=False): booleanConstraint: BooleanConstraint - constraintDefault: typing_extensions.Literal[ - "CONSTRAINT_DEFAULT_UNSPECIFIED", "ALLOW", "DENY" - ] + constraintDefault: typing.Literal["CONSTRAINT_DEFAULT_UNSPECIFIED", "ALLOW", "DENY"] description: str displayName: str listConstraint: ListConstraint @@ -73,65 +65,63 @@ class Constraint(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class CreateFolderMetadata(typing_extensions.TypedDict, total=False): +class CreateFolderMetadata(typing.TypedDict, total=False): displayName: str parent: str @typing.type_check_only -class CreateProjectMetadata(typing_extensions.TypedDict, total=False): +class CreateProjectMetadata(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class CreateTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FolderOperation(typing_extensions.TypedDict, total=False): +class FolderOperation(typing.TypedDict, total=False): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class FolderOperationError(typing_extensions.TypedDict, total=False): - errorMessageId: typing_extensions.Literal[ +class FolderOperationError(typing.TypedDict, total=False): + errorMessageId: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "ACTIVE_FOLDER_HEIGHT_VIOLATION", "MAX_CHILD_FOLDERS_VIOLATION", @@ -146,30 +136,30 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GetAncestryRequest(typing_extensions.TypedDict, total=False): ... +class GetAncestryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GetAncestryResponse(typing_extensions.TypedDict, total=False): +class GetAncestryResponse(typing.TypedDict, total=False): ancestor: _list[Ancestor] @typing.type_check_only -class GetEffectiveOrgPolicyRequest(typing_extensions.TypedDict, total=False): +class GetEffectiveOrgPolicyRequest(typing.TypedDict, total=False): constraint: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetOrgPolicyRequest(typing_extensions.TypedDict, total=False): +class GetOrgPolicyRequest(typing.TypedDict, total=False): constraint: str @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class Lien(typing_extensions.TypedDict, total=False): +class Lien(typing.TypedDict, total=False): createTime: str name: str origin: str @@ -178,63 +168,59 @@ class Lien(typing_extensions.TypedDict, total=False): restrictions: _list[str] @typing.type_check_only -class ListAvailableOrgPolicyConstraintsRequest( - typing_extensions.TypedDict, total=False -): +class ListAvailableOrgPolicyConstraintsRequest(typing.TypedDict, total=False): pageSize: int pageToken: str @typing.type_check_only -class ListAvailableOrgPolicyConstraintsResponse( - typing_extensions.TypedDict, total=False -): +class ListAvailableOrgPolicyConstraintsResponse(typing.TypedDict, total=False): constraints: _list[Constraint] nextPageToken: str @typing.type_check_only -class ListConstraint(typing_extensions.TypedDict, total=False): +class ListConstraint(typing.TypedDict, total=False): suggestedValue: str supportsUnder: bool @typing.type_check_only -class ListLiensResponse(typing_extensions.TypedDict, total=False): +class ListLiensResponse(typing.TypedDict, total=False): liens: _list[Lien] nextPageToken: str @typing.type_check_only -class ListOrgPoliciesRequest(typing_extensions.TypedDict, total=False): +class ListOrgPoliciesRequest(typing.TypedDict, total=False): pageSize: int pageToken: str @typing.type_check_only -class ListOrgPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListOrgPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[OrgPolicy] @typing.type_check_only -class ListPolicy(typing_extensions.TypedDict, total=False): - allValues: typing_extensions.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] +class ListPolicy(typing.TypedDict, total=False): + allValues: typing.Literal["ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY"] allowedValues: _list[str] deniedValues: _list[str] inheritFromParent: bool suggestedValue: str @typing.type_check_only -class ListProjectsResponse(typing_extensions.TypedDict, total=False): +class ListProjectsResponse(typing.TypedDict, total=False): nextPageToken: str projects: _list[Project] @typing.type_check_only -class MoveFolderMetadata(typing_extensions.TypedDict, total=False): +class MoveFolderMetadata(typing.TypedDict, total=False): destinationParent: str displayName: str sourceParent: str @typing.type_check_only -class MoveProjectMetadata(typing_extensions.TypedDict, total=False): ... +class MoveProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -242,7 +228,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrgPolicy(typing_extensions.TypedDict, total=False): +class OrgPolicy(typing.TypedDict, total=False): booleanPolicy: BooleanPolicy constraint: str etag: str @@ -252,32 +238,32 @@ class OrgPolicy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class Organization(typing_extensions.TypedDict, total=False): +class Organization(typing.TypedDict, total=False): creationTime: str displayName: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" ] name: str owner: OrganizationOwner @typing.type_check_only -class OrganizationOwner(typing_extensions.TypedDict, total=False): +class OrganizationOwner(typing.TypedDict, total=False): directoryCustomerId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): configuredCapabilities: _list[str] createTime: str labels: dict[str, typing.Any] - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED", @@ -290,73 +276,73 @@ class Project(typing_extensions.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class ProjectCreationStatus(typing_extensions.TypedDict, total=False): +class ProjectCreationStatus(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class ResourceId(typing_extensions.TypedDict, total=False): +class ResourceId(typing.TypedDict, total=False): id: str type: str @typing.type_check_only -class RestoreDefault(typing_extensions.TypedDict, total=False): ... +class RestoreDefault(typing.TypedDict, total=False): ... @typing.type_check_only -class SearchOrganizationsRequest(typing_extensions.TypedDict, total=False): +class SearchOrganizationsRequest(typing.TypedDict, total=False): filter: str pageSize: int pageToken: str @typing.type_check_only -class SearchOrganizationsResponse(typing_extensions.TypedDict, total=False): +class SearchOrganizationsResponse(typing.TypedDict, total=False): nextPageToken: str organizations: _list[Organization] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetOrgPolicyRequest(typing_extensions.TypedDict, total=False): +class SetOrgPolicyRequest(typing.TypedDict, total=False): policy: OrgPolicy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UndeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagValueMetadata(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/resources.pyi index ed40c94cc..f3c252795 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi index cc6bff1b7..31f0263a9 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi @@ -1,113 +1,105 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Ancestor(typing_extensions.TypedDict, total=False): +class Ancestor(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class CreateFolderMetadata(typing_extensions.TypedDict, total=False): +class CreateFolderMetadata(typing.TypedDict, total=False): displayName: str parent: str @typing.type_check_only -class CreateProjectMetadata(typing_extensions.TypedDict, total=False): +class CreateProjectMetadata(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class CreateTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FolderOperation(typing_extensions.TypedDict, total=False): +class FolderOperation(typing.TypedDict, total=False): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class FolderOperationError(typing_extensions.TypedDict, total=False): - errorMessageId: typing_extensions.Literal[ +class FolderOperationError(typing.TypedDict, total=False): + errorMessageId: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "ACTIVE_FOLDER_HEIGHT_VIOLATION", "MAX_CHILD_FOLDERS_VIOLATION", @@ -122,44 +114,44 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GetAncestryRequest(typing_extensions.TypedDict, total=False): ... +class GetAncestryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GetAncestryResponse(typing_extensions.TypedDict, total=False): +class GetAncestryResponse(typing.TypedDict, total=False): ancestor: _list[Ancestor] @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListOrganizationsResponse(typing_extensions.TypedDict, total=False): +class ListOrganizationsResponse(typing.TypedDict, total=False): nextPageToken: str organizations: _list[Organization] @typing.type_check_only -class ListProjectsResponse(typing_extensions.TypedDict, total=False): +class ListProjectsResponse(typing.TypedDict, total=False): nextPageToken: str projects: _list[Project] @typing.type_check_only -class MoveFolderMetadata(typing_extensions.TypedDict, total=False): +class MoveFolderMetadata(typing.TypedDict, total=False): destinationParent: str displayName: str sourceParent: str @typing.type_check_only -class MoveProjectMetadata(typing_extensions.TypedDict, total=False): ... +class MoveProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Organization(typing_extensions.TypedDict, total=False): +class Organization(typing.TypedDict, total=False): creationTime: str displayName: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" ] name: str @@ -167,22 +159,22 @@ class Organization(typing_extensions.TypedDict, total=False): owner: OrganizationOwner @typing.type_check_only -class OrganizationOwner(typing_extensions.TypedDict, total=False): +class OrganizationOwner(typing.TypedDict, total=False): directoryCustomerId: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): configuredCapabilities: _list[str] createTime: str labels: dict[str, typing.Any] - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED", @@ -194,49 +186,49 @@ class Project(typing_extensions.TypedDict, total=False): projectNumber: str @typing.type_check_only -class ProjectCreationStatus(typing_extensions.TypedDict, total=False): +class ProjectCreationStatus(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class ResourceId(typing_extensions.TypedDict, total=False): +class ResourceId(typing.TypedDict, total=False): id: str type: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UndeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagValueMetadata(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/resources.pyi index 5cb12ce88..ec7d348c9 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi index cb6632548..54a70ba70 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi @@ -1,100 +1,94 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class CreateFolderMetadata(typing_extensions.TypedDict, total=False): +class CreateFolderMetadata(typing.TypedDict, total=False): displayName: str parent: str @typing.type_check_only -class CreateProjectMetadata(typing_extensions.TypedDict, total=False): +class CreateProjectMetadata(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class CreateTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): configuredCapabilities: _list[str] createTime: str displayName: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" ] managementProject: str @@ -103,17 +97,15 @@ class Folder(typing_extensions.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class FolderOperation(typing_extensions.TypedDict, total=False): +class FolderOperation(typing.TypedDict, total=False): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class FolderOperationError(typing_extensions.TypedDict, total=False): - errorMessageId: typing_extensions.Literal[ +class FolderOperationError(typing.TypedDict, total=False): + errorMessageId: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "ACTIVE_FOLDER_HEIGHT_VIOLATION", "MAX_CHILD_FOLDERS_VIOLATION", @@ -128,33 +120,33 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListFoldersResponse(typing_extensions.TypedDict, total=False): +class ListFoldersResponse(typing.TypedDict, total=False): folders: _list[Folder] nextPageToken: str @typing.type_check_only -class MoveFolderMetadata(typing_extensions.TypedDict, total=False): +class MoveFolderMetadata(typing.TypedDict, total=False): destinationParent: str displayName: str sourceParent: str @typing.type_check_only -class MoveFolderRequest(typing_extensions.TypedDict, total=False): +class MoveFolderRequest(typing.TypedDict, total=False): destinationParent: str @typing.type_check_only -class MoveProjectMetadata(typing_extensions.TypedDict, total=False): ... +class MoveProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -162,68 +154,68 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProjectCreationStatus(typing_extensions.TypedDict, total=False): +class ProjectCreationStatus(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class SearchFoldersRequest(typing_extensions.TypedDict, total=False): +class SearchFoldersRequest(typing.TypedDict, total=False): pageSize: int pageToken: str query: str @typing.type_check_only -class SearchFoldersResponse(typing_extensions.TypedDict, total=False): +class SearchFoldersResponse(typing.TypedDict, total=False): folders: _list[Folder] nextPageToken: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UndeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteFolderRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagValueMetadata(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/resources.pyi index 5cb12ce88..ec7d348c9 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi index cb6632548..54a70ba70 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi @@ -1,100 +1,94 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class CreateFolderMetadata(typing_extensions.TypedDict, total=False): +class CreateFolderMetadata(typing.TypedDict, total=False): displayName: str parent: str @typing.type_check_only -class CreateProjectMetadata(typing_extensions.TypedDict, total=False): +class CreateProjectMetadata(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class CreateTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): configuredCapabilities: _list[str] createTime: str displayName: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" ] managementProject: str @@ -103,17 +97,15 @@ class Folder(typing_extensions.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class FolderOperation(typing_extensions.TypedDict, total=False): +class FolderOperation(typing.TypedDict, total=False): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class FolderOperationError(typing_extensions.TypedDict, total=False): - errorMessageId: typing_extensions.Literal[ +class FolderOperationError(typing.TypedDict, total=False): + errorMessageId: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "ACTIVE_FOLDER_HEIGHT_VIOLATION", "MAX_CHILD_FOLDERS_VIOLATION", @@ -128,33 +120,33 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListFoldersResponse(typing_extensions.TypedDict, total=False): +class ListFoldersResponse(typing.TypedDict, total=False): folders: _list[Folder] nextPageToken: str @typing.type_check_only -class MoveFolderMetadata(typing_extensions.TypedDict, total=False): +class MoveFolderMetadata(typing.TypedDict, total=False): destinationParent: str displayName: str sourceParent: str @typing.type_check_only -class MoveFolderRequest(typing_extensions.TypedDict, total=False): +class MoveFolderRequest(typing.TypedDict, total=False): destinationParent: str @typing.type_check_only -class MoveProjectMetadata(typing_extensions.TypedDict, total=False): ... +class MoveProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -162,68 +154,68 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProjectCreationStatus(typing_extensions.TypedDict, total=False): +class ProjectCreationStatus(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class SearchFoldersRequest(typing_extensions.TypedDict, total=False): +class SearchFoldersRequest(typing.TypedDict, total=False): pageSize: int pageToken: str query: str @typing.type_check_only -class SearchFoldersResponse(typing_extensions.TypedDict, total=False): +class SearchFoldersResponse(typing.TypedDict, total=False): folders: _list[Folder] nextPageToken: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UndeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteFolderRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagValueMetadata(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi index e585d62ea..6e4c7fecd 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -425,6 +424,12 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): ) -> TestIamPermissionsResponseHttpRequest: ... def tagHolds(self) -> TagHoldsResource: ... + @typing.type_check_only + class V3Resource(googleapiclient.discovery.Resource): + def fetchResourceSemantics( + self, *, fullResourceName: str | None = ..., **kwargs: typing.Any + ) -> FetchResourceSemanticsResponseHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -447,6 +452,7 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): def tagBindings(self) -> TagBindingsResource: ... def tagKeys(self) -> TagKeysResource: ... def tagValues(self) -> TagValuesResource: ... + def v3(self) -> V3Resource: ... @typing.type_check_only class CapabilityHttpRequest(googleapiclient.http.HttpRequest): @@ -472,6 +478,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class FetchResourceSemanticsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchResourceSemanticsResponse: ... + @typing.type_check_only class FolderHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi index 622ca3ba4..e8209df2f 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi @@ -1,94 +1,88 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Capability(typing_extensions.TypedDict, total=False): +class Capability(typing.TypedDict, total=False): name: str value: bool @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class CreateFolderMetadata(typing_extensions.TypedDict, total=False): +class CreateFolderMetadata(typing.TypedDict, total=False): displayName: str parent: str @typing.type_check_only -class CreateProjectMetadata(typing_extensions.TypedDict, total=False): +class CreateProjectMetadata(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class CreateTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class CreateTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagBindingMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagBindingMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteTagValueMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class EffectiveTag(typing_extensions.TypedDict, total=False): +class EffectiveTag(typing.TypedDict, total=False): inherited: bool namespacedTagKey: str namespacedTagValue: str @@ -97,23 +91,28 @@ class EffectiveTag(typing_extensions.TypedDict, total=False): tagValue: str @typing.type_check_only -class EffectiveTagBindingCollection(typing_extensions.TypedDict, total=False): +class EffectiveTagBindingCollection(typing.TypedDict, total=False): effectiveTags: dict[str, typing.Any] fullResourceName: str name: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class FetchResourceSemanticsResponse(typing.TypedDict, total=False): + fullResourceName: str + semantics: dict[str, typing.Any] + +@typing.type_check_only +class Folder(typing.TypedDict, total=False): configuredCapabilities: _list[str] createTime: str deleteTime: str @@ -122,22 +121,20 @@ class Folder(typing_extensions.TypedDict, total=False): managementProject: str name: str parent: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED"] tags: dict[str, typing.Any] updateTime: str @typing.type_check_only -class FolderOperation(typing_extensions.TypedDict, total=False): +class FolderOperation(typing.TypedDict, total=False): destinationParent: str displayName: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATE", "MOVE"] sourceParent: str @typing.type_check_only -class FolderOperationError(typing_extensions.TypedDict, total=False): - errorMessageId: typing_extensions.Literal[ +class FolderOperationError(typing.TypedDict, total=False): + errorMessageId: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "ACTIVE_FOLDER_HEIGHT_VIOLATION", "MAX_CHILD_FOLDERS_VIOLATION", @@ -152,15 +149,15 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class Lien(typing_extensions.TypedDict, total=False): +class Lien(typing.TypedDict, total=False): createTime: str name: str origin: str @@ -169,64 +166,64 @@ class Lien(typing_extensions.TypedDict, total=False): restrictions: _list[str] @typing.type_check_only -class ListEffectiveTagsResponse(typing_extensions.TypedDict, total=False): +class ListEffectiveTagsResponse(typing.TypedDict, total=False): effectiveTags: _list[EffectiveTag] nextPageToken: str @typing.type_check_only -class ListFoldersResponse(typing_extensions.TypedDict, total=False): +class ListFoldersResponse(typing.TypedDict, total=False): folders: _list[Folder] nextPageToken: str @typing.type_check_only -class ListLiensResponse(typing_extensions.TypedDict, total=False): +class ListLiensResponse(typing.TypedDict, total=False): liens: _list[Lien] nextPageToken: str @typing.type_check_only -class ListProjectsResponse(typing_extensions.TypedDict, total=False): +class ListProjectsResponse(typing.TypedDict, total=False): nextPageToken: str projects: _list[Project] @typing.type_check_only -class ListTagBindingsResponse(typing_extensions.TypedDict, total=False): +class ListTagBindingsResponse(typing.TypedDict, total=False): nextPageToken: str tagBindings: _list[TagBinding] @typing.type_check_only -class ListTagHoldsResponse(typing_extensions.TypedDict, total=False): +class ListTagHoldsResponse(typing.TypedDict, total=False): nextPageToken: str tagHolds: _list[TagHold] @typing.type_check_only -class ListTagKeysResponse(typing_extensions.TypedDict, total=False): +class ListTagKeysResponse(typing.TypedDict, total=False): nextPageToken: str tagKeys: _list[TagKey] @typing.type_check_only -class ListTagValuesResponse(typing_extensions.TypedDict, total=False): +class ListTagValuesResponse(typing.TypedDict, total=False): nextPageToken: str tagValues: _list[TagValue] @typing.type_check_only -class MoveFolderMetadata(typing_extensions.TypedDict, total=False): +class MoveFolderMetadata(typing.TypedDict, total=False): destinationParent: str displayName: str sourceParent: str @typing.type_check_only -class MoveFolderRequest(typing_extensions.TypedDict, total=False): +class MoveFolderRequest(typing.TypedDict, total=False): destinationParent: str @typing.type_check_only -class MoveProjectMetadata(typing_extensions.TypedDict, total=False): ... +class MoveProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class MoveProjectRequest(typing_extensions.TypedDict, total=False): +class MoveProjectRequest(typing.TypedDict, total=False): destinationParent: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -234,25 +231,25 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Organization(typing_extensions.TypedDict, total=False): +class Organization(typing.TypedDict, total=False): createTime: str deleteTime: str directoryCustomerId: str displayName: str etag: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED"] updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): configuredCapabilities: _list[str] createTime: str deleteTime: str @@ -262,58 +259,58 @@ class Project(typing_extensions.TypedDict, total=False): name: str parent: str projectId: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED"] tags: dict[str, typing.Any] updateTime: str @typing.type_check_only -class ProjectCreationStatus(typing_extensions.TypedDict, total=False): +class ProjectCreationStatus(typing.TypedDict, total=False): createTime: str gettable: bool ready: bool @typing.type_check_only -class SearchFoldersResponse(typing_extensions.TypedDict, total=False): +class SearchFoldersResponse(typing.TypedDict, total=False): folders: _list[Folder] nextPageToken: str @typing.type_check_only -class SearchOrganizationsResponse(typing_extensions.TypedDict, total=False): +class SearchOrganizationsResponse(typing.TypedDict, total=False): nextPageToken: str organizations: _list[Organization] @typing.type_check_only -class SearchProjectsResponse(typing_extensions.TypedDict, total=False): +class SearchProjectsResponse(typing.TypedDict, total=False): nextPageToken: str projects: _list[Project] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TagBinding(typing_extensions.TypedDict, total=False): +class TagBinding(typing.TypedDict, total=False): name: str parent: str tagValue: str tagValueNamespacedName: str @typing.type_check_only -class TagBindingCollection(typing_extensions.TypedDict, total=False): +class TagBindingCollection(typing.TypedDict, total=False): etag: str fullResourceName: str name: str tags: dict[str, typing.Any] @typing.type_check_only -class TagHold(typing_extensions.TypedDict, total=False): +class TagHold(typing.TypedDict, total=False): createTime: str helpLink: str holder: str @@ -321,7 +318,7 @@ class TagHold(typing_extensions.TypedDict, total=False): origin: str @typing.type_check_only -class TagKey(typing_extensions.TypedDict, total=False): +class TagKey(typing.TypedDict, total=False): allowedValuesRegex: str createTime: str description: str @@ -329,15 +326,13 @@ class TagKey(typing_extensions.TypedDict, total=False): name: str namespacedName: str parent: str - purpose: typing_extensions.Literal[ - "PURPOSE_UNSPECIFIED", "GCE_FIREWALL", "DATA_GOVERNANCE" - ] + purpose: typing.Literal["PURPOSE_UNSPECIFIED", "GCE_FIREWALL", "DATA_GOVERNANCE"] purposeData: dict[str, typing.Any] shortName: str updateTime: str @typing.type_check_only -class TagValue(typing_extensions.TypedDict, total=False): +class TagValue(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -348,36 +343,36 @@ class TagValue(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UndeleteFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteFolderRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteFolderRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteOrganizationMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteOrganizationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteProjectRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteProjectRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateFolderMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateFolderMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateProjectMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateProjectMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagKeyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateTagValueMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateTagValueMetadata(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi index eae6014df..478dcad1e 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi index 28a9cd745..3ab05d8c4 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi @@ -1,15 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppEngineHttpTarget(typing_extensions.TypedDict, total=False): +class AppEngineHttpTarget(typing.TypedDict, total=False): appEngineRouting: AppEngineRouting body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -22,28 +20,28 @@ class AppEngineHttpTarget(typing_extensions.TypedDict, total=False): relativeUri: str @typing.type_check_only -class AppEngineRouting(typing_extensions.TypedDict, total=False): +class AppEngineRouting(typing.TypedDict, total=False): host: str instance: str service: str version: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CmekConfig(typing_extensions.TypedDict, total=False): +class CmekConfig(typing.TypedDict, total=False): kmsKeyName: str name: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HttpTarget(typing_extensions.TypedDict, total=False): +class HttpTarget(typing.TypedDict, total=False): body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -58,7 +56,7 @@ class HttpTarget(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): appEngineHttpTarget: AppEngineHttpTarget attemptDeadline: str description: str @@ -70,7 +68,7 @@ class Job(typing_extensions.TypedDict, total=False): satisfiesPzs: bool schedule: str scheduleTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "PAUSED", "DISABLED", "UPDATE_FAILED" ] status: Status @@ -78,23 +76,23 @@ class Job(typing_extensions.TypedDict, total=False): userUpdateTime: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -102,17 +100,17 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OAuthToken(typing_extensions.TypedDict, total=False): +class OAuthToken(typing.TypedDict, total=False): scope: str serviceAccountEmail: str @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -120,7 +118,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -130,10 +128,10 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseJobRequest(typing_extensions.TypedDict, total=False): ... +class PauseJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PubsubMessage(typing_extensions.TypedDict, total=False): +class PubsubMessage(typing.TypedDict, total=False): attributes: dict[str, typing.Any] data: str messageId: str @@ -141,16 +139,16 @@ class PubsubMessage(typing_extensions.TypedDict, total=False): publishTime: str @typing.type_check_only -class PubsubTarget(typing_extensions.TypedDict, total=False): +class PubsubTarget(typing.TypedDict, total=False): attributes: dict[str, typing.Any] data: str topicName: str @typing.type_check_only -class ResumeJobRequest(typing_extensions.TypedDict, total=False): ... +class ResumeJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryConfig(typing_extensions.TypedDict, total=False): +class RetryConfig(typing.TypedDict, total=False): maxBackoffDuration: str maxDoublings: int maxRetryDuration: str @@ -158,10 +156,10 @@ class RetryConfig(typing_extensions.TypedDict, total=False): retryCount: int @typing.type_check_only -class RunJobRequest(typing_extensions.TypedDict, total=False): ... +class RunJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi index b97fde271..51cc98da0 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi index 9b25b21f8..0c767d92c 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi @@ -1,15 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppEngineHttpTarget(typing_extensions.TypedDict, total=False): +class AppEngineHttpTarget(typing.TypedDict, total=False): appEngineRouting: AppEngineRouting body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -22,23 +20,23 @@ class AppEngineHttpTarget(typing_extensions.TypedDict, total=False): relativeUri: str @typing.type_check_only -class AppEngineRouting(typing_extensions.TypedDict, total=False): +class AppEngineRouting(typing.TypedDict, total=False): host: str instance: str service: str version: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HttpTarget(typing_extensions.TypedDict, total=False): +class HttpTarget(typing.TypedDict, total=False): body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -53,7 +51,7 @@ class HttpTarget(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): appEngineHttpTarget: AppEngineHttpTarget attemptDeadline: str description: str @@ -66,7 +64,7 @@ class Job(typing_extensions.TypedDict, total=False): satisfiesPzs: bool schedule: str scheduleTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "PAUSED", "DISABLED", "UPDATE_FAILED" ] status: Status @@ -74,23 +72,23 @@ class Job(typing_extensions.TypedDict, total=False): userUpdateTime: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -98,17 +96,17 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OAuthToken(typing_extensions.TypedDict, total=False): +class OAuthToken(typing.TypedDict, total=False): scope: str serviceAccountEmail: str @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -116,7 +114,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -126,10 +124,10 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseJobRequest(typing_extensions.TypedDict, total=False): ... +class PauseJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PubsubMessage(typing_extensions.TypedDict, total=False): +class PubsubMessage(typing.TypedDict, total=False): attributes: dict[str, typing.Any] data: str messageId: str @@ -137,16 +135,16 @@ class PubsubMessage(typing_extensions.TypedDict, total=False): publishTime: str @typing.type_check_only -class PubsubTarget(typing_extensions.TypedDict, total=False): +class PubsubTarget(typing.TypedDict, total=False): attributes: dict[str, typing.Any] data: str topicName: str @typing.type_check_only -class ResumeJobRequest(typing_extensions.TypedDict, total=False): ... +class ResumeJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryConfig(typing_extensions.TypedDict, total=False): +class RetryConfig(typing.TypedDict, total=False): maxBackoffDuration: str maxDoublings: int maxRetryDuration: str @@ -154,11 +152,11 @@ class RetryConfig(typing_extensions.TypedDict, total=False): retryCount: int @typing.type_check_only -class RunJobRequest(typing_extensions.TypedDict, total=False): +class RunJobRequest(typing.TypedDict, total=False): legacyAppEngineCron: bool @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi index 837c269e9..cf357cbfd 100644 --- a/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -90,7 +89,7 @@ class CloudSearchResource(googleapiclient.discovery.Resource): debugOptions_enableDebugging: bool | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - resolutionStatusCode: typing_extensions.Literal[ + resolutionStatusCode: typing.Literal[ "CODE_UNSPECIFIED", "NOT_FOUND", "IDENTITY_SOURCE_NOT_FOUND", @@ -125,9 +124,7 @@ class CloudSearchResource(googleapiclient.discovery.Resource): name: str, connectorName: str | None = ..., debugOptions_enableDebugging: bool | None = ..., - mode: typing_extensions.Literal[ - "UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" - ] + mode: typing.Literal["UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS"] | None = ..., version: str | None = ..., **kwargs: typing.Any, @@ -246,6 +243,7 @@ class CloudSearchResource(googleapiclient.discovery.Resource): *, pageToken: str | None = ..., requestOptions_clientDisplayLanguageCode: str | None = ..., + requestOptions_countryCode: str | None = ..., requestOptions_debugOptions_enableDebugging: bool | None = ..., requestOptions_languageCode: str | None = ..., requestOptions_searchApplicationId: str | None = ..., diff --git a/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi index 16ed12448..4ba75e571 100644 --- a/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi @@ -1,55 +1,53 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): title: str url: str @typing.type_check_only -class AuditLoggingSettings(typing_extensions.TypedDict, total=False): +class AuditLoggingSettings(typing.TypedDict, total=False): logAdminReadActions: bool logDataReadActions: bool logDataWriteActions: bool project: str @typing.type_check_only -class BackgroundColoredText(typing_extensions.TypedDict, total=False): - backgroundColor: typing_extensions.Literal[ +class BackgroundColoredText(typing.TypedDict, total=False): + backgroundColor: typing.Literal[ "UNKNOWN_COLOR", "WHITE", "YELLOW", "ORANGE", "GREEN", "BLUE", "GREY" ] text: str @typing.type_check_only -class BooleanOperatorOptions(typing_extensions.TypedDict, total=False): +class BooleanOperatorOptions(typing.TypedDict, total=False): operatorName: str @typing.type_check_only -class BooleanPropertyOptions(typing_extensions.TypedDict, total=False): +class BooleanPropertyOptions(typing.TypedDict, total=False): operatorOptions: BooleanOperatorOptions @typing.type_check_only -class CheckAccessResponse(typing_extensions.TypedDict, total=False): +class CheckAccessResponse(typing.TypedDict, total=False): hasAccess: bool @typing.type_check_only -class CompositeFilter(typing_extensions.TypedDict, total=False): - logicOperator: typing_extensions.Literal["AND", "OR", "NOT"] +class CompositeFilter(typing.TypedDict, total=False): + logicOperator: typing.Literal["AND", "OR", "NOT"] subFilters: _list[Filter] @typing.type_check_only -class Content(typing_extensions.TypedDict, total=False): +class Content(typing.TypedDict, total=False): actions: _list[Action] description: SafeHtmlProto subtitle: BackgroundColoredText title: BackgroundColoredText @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): - app: _list[typing_extensions.Literal["UNKNOWN_APP", "TOPAZ", "MOMA"]] +class Context(typing.TypedDict, total=False): + app: _list[typing.Literal["UNKNOWN_APP", "TOPAZ", "MOMA"]] dayOfWeek: _list[int] endDateSec: str endDayOffsetSec: str @@ -59,55 +57,51 @@ class Context(typing_extensions.TypedDict, total=False): startDateSec: str startDayOffsetSec: str surface: _list[ - typing_extensions.Literal[ - "UNKNOWN_SURFACE", "DESKTOP", "ANDROID", "IOS", "MOBILE", "ANY" - ] + typing.Literal["UNKNOWN_SURFACE", "DESKTOP", "ANDROID", "IOS", "MOBILE", "ANY"] ] type: _list[ - typing_extensions.Literal[ - "UNKNOWN_CARD_TYPE", "HOMEPAGE_CARD", "ANSWER_CARD", "RHS_CARD" - ] + typing.Literal["UNKNOWN_CARD_TYPE", "HOMEPAGE_CARD", "ANSWER_CARD", "RHS_CARD"] ] @typing.type_check_only -class ContextAttribute(typing_extensions.TypedDict, total=False): +class ContextAttribute(typing.TypedDict, total=False): name: str values: _list[str] @typing.type_check_only -class CustomerIndexStats(typing_extensions.TypedDict, total=False): +class CustomerIndexStats(typing.TypedDict, total=False): date: Date itemCountByStatus: _list[ItemCountByStatus] @typing.type_check_only -class CustomerQueryStats(typing_extensions.TypedDict, total=False): +class CustomerQueryStats(typing.TypedDict, total=False): date: Date queryCountByStatus: _list[QueryCountByStatus] @typing.type_check_only -class CustomerSearchApplicationStats(typing_extensions.TypedDict, total=False): +class CustomerSearchApplicationStats(typing.TypedDict, total=False): count: str date: Date @typing.type_check_only -class CustomerSessionStats(typing_extensions.TypedDict, total=False): +class CustomerSessionStats(typing.TypedDict, total=False): date: Date searchSessionsCount: str @typing.type_check_only -class CustomerSettings(typing_extensions.TypedDict, total=False): +class CustomerSettings(typing.TypedDict, total=False): auditLoggingSettings: AuditLoggingSettings vpcSettings: VPCSettings @typing.type_check_only -class CustomerUserStats(typing_extensions.TypedDict, total=False): +class CustomerUserStats(typing.TypedDict, total=False): date: Date oneDayActiveUsersCount: str sevenDaysActiveUsersCount: str thirtyDaysActiveUsersCount: str @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): +class DataSource(typing.TypedDict, total=False): disableModifications: bool disableServing: bool displayName: str @@ -119,74 +113,72 @@ class DataSource(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class DataSourceIndexStats(typing_extensions.TypedDict, total=False): +class DataSourceIndexStats(typing.TypedDict, total=False): date: Date itemCountByStatus: _list[ItemCountByStatus] @typing.type_check_only -class DataSourceRestriction(typing_extensions.TypedDict, total=False): +class DataSourceRestriction(typing.TypedDict, total=False): filterOptions: _list[FilterOptions] source: Source @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateOperatorOptions(typing_extensions.TypedDict, total=False): +class DateOperatorOptions(typing.TypedDict, total=False): greaterThanOperatorName: str lessThanOperatorName: str operatorName: str @typing.type_check_only -class DatePropertyOptions(typing_extensions.TypedDict, total=False): +class DatePropertyOptions(typing.TypedDict, total=False): operatorOptions: DateOperatorOptions @typing.type_check_only -class DateValues(typing_extensions.TypedDict, total=False): +class DateValues(typing.TypedDict, total=False): values: _list[Date] @typing.type_check_only -class DebugOptions(typing_extensions.TypedDict, total=False): +class DebugOptions(typing.TypedDict, total=False): enableDebugging: bool @typing.type_check_only -class DeleteQueueItemsRequest(typing_extensions.TypedDict, total=False): +class DeleteQueueItemsRequest(typing.TypedDict, total=False): connectorName: str debugOptions: DebugOptions queue: str @typing.type_check_only -class DisplayedProperty(typing_extensions.TypedDict, total=False): +class DisplayedProperty(typing.TypedDict, total=False): propertyName: str @typing.type_check_only -class DoubleOperatorOptions(typing_extensions.TypedDict, total=False): +class DoubleOperatorOptions(typing.TypedDict, total=False): operatorName: str @typing.type_check_only -class DoublePropertyOptions(typing_extensions.TypedDict, total=False): +class DoublePropertyOptions(typing.TypedDict, total=False): operatorOptions: DoubleOperatorOptions @typing.type_check_only -class DoubleValues(typing_extensions.TypedDict, total=False): +class DoubleValues(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class DriveFollowUpRestrict(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "UNSPECIFIED", "FOLLOWUP_SUGGESTIONS", "FOLLOWUP_ACTION_ITEMS" - ] +class DriveFollowUpRestrict(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED", "FOLLOWUP_SUGGESTIONS", "FOLLOWUP_ACTION_ITEMS"] @typing.type_check_only -class DriveLocationRestrict(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["UNSPECIFIED", "TRASHED", "STARRED"] +class DriveLocationRestrict(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED", "TRASHED", "STARRED"] @typing.type_check_only -class DriveMimeTypeRestrict(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class DriveMimeTypeRestrict(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "PDF", "DOCUMENT", @@ -205,8 +197,8 @@ class DriveMimeTypeRestrict(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DriveTimeSpanRestrict(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class DriveTimeSpanRestrict(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "TODAY", "YESTERDAY", @@ -216,7 +208,7 @@ class DriveTimeSpanRestrict(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EmailAddress(typing_extensions.TypedDict, total=False): +class EmailAddress(typing.TypedDict, total=False): customType: str emailAddress: str emailUrl: str @@ -224,28 +216,24 @@ class EmailAddress(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class EnterpriseTopazFrontendTeamsLink(typing_extensions.TypedDict, total=False): +class EnterpriseTopazFrontendTeamsLink(typing.TypedDict, total=False): type: str url: SafeUrlProto @typing.type_check_only -class EnterpriseTopazFrontendTeamsPersonCorePhoneNumber( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazFrontendTeamsPersonCorePhoneNumber(typing.TypedDict, total=False): phoneNumber: str phoneUrl: SafeUrlProto - type: typing_extensions.Literal["UNKNOWN", "MOBILE", "OFFICE", "OTHER"] + type: typing.Literal["UNKNOWN", "MOBILE", "OFFICE", "OTHER"] @typing.type_check_only -class EnterpriseTopazSidekickAgendaEntry(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickAgendaEntry(typing.TypedDict, total=False): agendaItemUrl: str - chronology: typing_extensions.Literal[ + chronology: typing.Literal[ "STALE", "ALL_DAY", "PAST", "RECENTLY_PAST", "PRESENT", "NEAR_FUTURE", "FUTURE" ] creator: EnterpriseTopazSidekickPerson - currentUserAttendingStatus: typing_extensions.Literal[ - "AWAITING", "YES", "NO", "MAYBE" - ] + currentUserAttendingStatus: typing.Literal["AWAITING", "YES", "NO", "MAYBE"] description: str document: _list[EnterpriseTopazSidekickCommonDocument] endDate: str @@ -272,31 +260,27 @@ class EnterpriseTopazSidekickAgendaEntry(typing_extensions.TypedDict, total=Fals title: str @typing.type_check_only -class EnterpriseTopazSidekickAgendaGroupCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickAgendaGroupCardProto(typing.TypedDict, total=False): agendaItem: _list[EnterpriseTopazSidekickAgendaItem] context: EnterpriseTopazSidekickAgendaGroupCardProtoContext currentAgendaItem: EnterpriseTopazSidekickAgendaItem @typing.type_check_only -class EnterpriseTopazSidekickAgendaGroupCardProtoContext( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickAgendaGroupCardProtoContext(typing.TypedDict, total=False): context: str date: str - eventsRestrict: typing_extensions.Literal["NONE", "NEXT_MEETING"] + eventsRestrict: typing.Literal["NONE", "NEXT_MEETING"] @typing.type_check_only -class EnterpriseTopazSidekickAgendaItem(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickAgendaItem(typing.TypedDict, total=False): conflictedGroup: EnterpriseTopazSidekickConflictingEventsCardProto gapBefore: EnterpriseTopazSidekickGap meeting: EnterpriseTopazSidekickAgendaEntry @typing.type_check_only -class EnterpriseTopazSidekickAnswerAnswerList(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickAnswerAnswerList(typing.TypedDict, total=False): labeledAnswer: _list[EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer] - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "PERSON_ADDRESS", "PERSON_BIRTHDAY", @@ -309,30 +293,30 @@ class EnterpriseTopazSidekickAnswerAnswerList(typing_extensions.TypedDict, total @typing.type_check_only class EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: str label: str @typing.type_check_only class EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestedQueryCategory: _list[EnterpriseTopazSidekickAnswerSuggestedQueryCategory] @typing.type_check_only class EnterpriseTopazSidekickAnswerSuggestedQueryCategory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal["UNKNOWN", "CALENDAR", "DOCUMENT", "PEOPLE"] + category: typing.Literal["UNKNOWN", "CALENDAR", "DOCUMENT", "PEOPLE"] isEnabled: bool query: _list[str] @typing.type_check_only -class EnterpriseTopazSidekickAssistCardProto(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickAssistCardProto(typing.TypedDict, total=False): agendaGroupCardProto: EnterpriseTopazSidekickAgendaGroupCardProto cardMetadata: EnterpriseTopazSidekickCardMetadata - cardType: typing_extensions.Literal[ + cardType: typing.Literal[ "UNKNOWN_TYPE", "AGENDA", "CHANGELISTS", @@ -387,40 +371,38 @@ class EnterpriseTopazSidekickAssistCardProto(typing_extensions.TypedDict, total= workInProgressCardProto: EnterpriseTopazSidekickRecentDocumentsCardProto @typing.type_check_only -class EnterpriseTopazSidekickCardMetadata(typing_extensions.TypedDict, total=False): - cardCategory: typing_extensions.Literal[ - "DEFAULT", "ANSWER", "KNOWLEDGE", "HOMEPAGE" - ] +class EnterpriseTopazSidekickCardMetadata(typing.TypedDict, total=False): + cardCategory: typing.Literal["DEFAULT", "ANSWER", "KNOWLEDGE", "HOMEPAGE"] cardId: str - chronology: typing_extensions.Literal[ + chronology: typing.Literal[ "UNKNOWN", "PAST", "RECENTLY_PAST", "PRESENT", "NEAR_FUTURE", "FUTURE" ] debugInfo: str nlpMetadata: EnterpriseTopazSidekickNlpMetadata rankingParams: EnterpriseTopazSidekickRankingParams - renderMode: typing_extensions.Literal["UNKNOWN_RENDER", "COLLAPSED", "EXPANDED"] + renderMode: typing.Literal["UNKNOWN_RENDER", "COLLAPSED", "EXPANDED"] @typing.type_check_only -class EnterpriseTopazSidekickCommonDebugInfo(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickCommonDebugInfo(typing.TypedDict, total=False): message: str @typing.type_check_only -class EnterpriseTopazSidekickCommonDocument(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal["UNKNOWN_ACCESS", "ALLOWED", "NOT_ALLOWED"] +class EnterpriseTopazSidekickCommonDocument(typing.TypedDict, total=False): + accessType: typing.Literal["UNKNOWN_ACCESS", "ALLOWED", "NOT_ALLOWED"] debugInfo: EnterpriseTopazSidekickCommonDebugInfo documentId: str driveDocumentMetadata: EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata genericUrl: str justification: EnterpriseTopazSidekickCommonDocumentJustification mimeType: str - provenance: typing_extensions.Literal[ + provenance: typing.Literal[ "UNKNOWN_PROVENANCE", "CALENDAR_DESCRIPTION", "CALENDAR_ATTACHMENT", "MINED", "CALENDAR_ASSIST_ATTACHMENT", ] - reason: typing_extensions.Literal[ + reason: typing.Literal[ "UNKNOWN", "TRENDING_IN_COLLABORATORS", "TRENDING_IN_DOMAIN", @@ -438,7 +420,7 @@ class EnterpriseTopazSidekickCommonDocument(typing_extensions.TypedDict, total=F snippet: str thumbnailUrl: str title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "DOCUMENT", "PRESENTATION", @@ -473,7 +455,7 @@ class EnterpriseTopazSidekickCommonDocument(typing_extensions.TypedDict, total=F @typing.type_check_only class EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: str isPrivate: bool @@ -483,7 +465,7 @@ class EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata( lastUpdatedTimeMs: str lastViewTimeMs: str owner: EnterpriseTopazSidekickCommonPerson - scope: typing_extensions.Literal[ + scope: typing.Literal[ "UNKNOWN_DOCUMENT_SCOPE", "LIMITED", "DASHER_DOMAIN_WITH_LINK", @@ -494,11 +476,9 @@ class EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata( ] @typing.type_check_only -class EnterpriseTopazSidekickCommonDocumentJustification( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickCommonDocumentJustification(typing.TypedDict, total=False): justification: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "UNKNOWN", "TRENDING_IN_COLLABORATORS", "TRENDING_IN_DOMAIN", @@ -515,7 +495,7 @@ class EnterpriseTopazSidekickCommonDocumentJustification( ] @typing.type_check_only -class EnterpriseTopazSidekickCommonPerson(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickCommonPerson(typing.TypedDict, total=False): birthday: EnterpriseTopazSidekickCommonPersonBirthday cellPhone: str department: str @@ -534,32 +514,26 @@ class EnterpriseTopazSidekickCommonPerson(typing_extensions.TypedDict, total=Fal streetAddress: str @typing.type_check_only -class EnterpriseTopazSidekickCommonPersonBirthday( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickCommonPersonBirthday(typing.TypedDict, total=False): value: str @typing.type_check_only -class EnterpriseTopazSidekickConflictingEventsCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickConflictingEventsCardProto(typing.TypedDict, total=False): conflictingEvent: _list[EnterpriseTopazSidekickAgendaEntry] mainEvent: EnterpriseTopazSidekickAgendaEntry @typing.type_check_only -class EnterpriseTopazSidekickDocumentGroup(typing_extensions.TypedDict, total=False): - groupType: typing_extensions.Literal["UNKNOWN_TYPE", "ALL"] +class EnterpriseTopazSidekickDocumentGroup(typing.TypedDict, total=False): + groupType: typing.Literal["UNKNOWN_TYPE", "ALL"] personalizedDocument: _list[EnterpriseTopazSidekickCommonDocument] @typing.type_check_only -class EnterpriseTopazSidekickDocumentPerCategoryList( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickDocumentPerCategoryList(typing.TypedDict, total=False): documents: _list[ EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry ] helpMessage: str - listType: typing_extensions.Literal[ + listType: typing.Literal[ "UNKNOWN_LIST_TYPE", "MENTIONS", "SHARES", "NEEDS_ATTENTION", "VIEWS", "EDITS" ] listTypeDescription: str @@ -567,9 +541,9 @@ class EnterpriseTopazSidekickDocumentPerCategoryList( @typing.type_check_only class EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "UNKNOWN_DOCUMENT", "ACTIONABLE", "VIEWED", @@ -585,9 +559,7 @@ class EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry rationale: str @typing.type_check_only -class EnterpriseTopazSidekickFindMeetingTimeCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickFindMeetingTimeCardProto(typing.TypedDict, total=False): commonAvailableTimeSlots: _list[EnterpriseTopazSidekickTimeSlot] invitees: _list[EnterpriseTopazSidekickPerson] requester: EnterpriseTopazSidekickPerson @@ -597,7 +569,7 @@ class EnterpriseTopazSidekickFindMeetingTimeCardProto( timezoneId: str @typing.type_check_only -class EnterpriseTopazSidekickGap(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickGap(typing.TypedDict, total=False): displayRemainingTime: str endTime: str endTimeMs: str @@ -606,58 +578,48 @@ class EnterpriseTopazSidekickGap(typing_extensions.TypedDict, total=False): startTimeMs: str @typing.type_check_only -class EnterpriseTopazSidekickGenericAnswerCard( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickGenericAnswerCard(typing.TypedDict, total=False): answer: str title: str @typing.type_check_only -class EnterpriseTopazSidekickGetAndKeepAheadCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickGetAndKeepAheadCardProto(typing.TypedDict, total=False): declinedEvents: EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents mentionedDocuments: EnterpriseTopazSidekickDocumentPerCategoryList sharedDocuments: EnterpriseTopazSidekickDocumentPerCategoryList @typing.type_check_only class EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): events: _list[EnterpriseTopazSidekickAgendaEntry] @typing.type_check_only -class EnterpriseTopazSidekickMeetingNotesCardError( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickMeetingNotesCardError(typing.TypedDict, total=False): description: str event: EnterpriseTopazSidekickAgendaEntry - reason: typing_extensions.Literal["NONE", "NOT_OWNER", "UNKNOWN"] + reason: typing.Literal["NONE", "NOT_OWNER", "UNKNOWN"] @typing.type_check_only -class EnterpriseTopazSidekickMeetingNotesCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickMeetingNotesCardProto(typing.TypedDict, total=False): event: EnterpriseTopazSidekickAgendaEntry fileId: str title: str url: str @typing.type_check_only -class EnterpriseTopazSidekickMeetingNotesCardRequest( - typing_extensions.TypedDict, total=False -): - canCreateFor: _list[typing_extensions.Literal["UNKNOWN", "MYSELF", "ALL_ATTENDEES"]] +class EnterpriseTopazSidekickMeetingNotesCardRequest(typing.TypedDict, total=False): + canCreateFor: _list[typing.Literal["UNKNOWN", "MYSELF", "ALL_ATTENDEES"]] error: EnterpriseTopazSidekickMeetingNotesCardError event: EnterpriseTopazSidekickAgendaEntry @typing.type_check_only -class EnterpriseTopazSidekickNlpMetadata(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickNlpMetadata(typing.TypedDict, total=False): confidence: float @typing.type_check_only class EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disambiguation: _list[ EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson @@ -666,26 +628,26 @@ class EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo( @typing.type_check_only class EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): person: EnterpriseTopazSidekickCommonPerson query: str @typing.type_check_only class EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: _list[SafeHtmlProto] answerText: EnterpriseTopazSidekickAnswerAnswerList disambiguationInfo: EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo header: EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader - responseStatus: typing_extensions.Literal[ + responseStatus: typing.Literal[ "UNKNOWN", "SUCCESS", "MISSING_PERSON", "MISSING_DATA" ] statusMessage: str @@ -693,30 +655,26 @@ class EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard( @typing.type_check_only class EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disambiguationInfo: EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo header: EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader relatedPeople: _list[EnterpriseTopazSidekickCommonPerson] - relationType: typing_extensions.Literal[ - "UNKNOWN", "DIRECT_REPORTS", "MANAGER", "PEERS" - ] - responseStatus: typing_extensions.Literal[ + relationType: typing.Literal["UNKNOWN", "DIRECT_REPORTS", "MANAGER", "PEERS"] + responseStatus: typing.Literal[ "UNKNOWN", "SUCCESS", "MISSING_PERSON", "MISSING_DATA" ] statusMessage: str subject: EnterpriseTopazSidekickCommonPerson @typing.type_check_only -class EnterpriseTopazSidekickPeopleDisambiguationCard( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickPeopleDisambiguationCard(typing.TypedDict, total=False): person: _list[EnterpriseTopazSidekickCommonPerson] @typing.type_check_only -class EnterpriseTopazSidekickPerson(typing_extensions.TypedDict, total=False): - affinityLevel: typing_extensions.Literal["UNKNOWN", "LOW", "MEDIUM", "HIGH"] - attendingStatus: typing_extensions.Literal["AWAITING", "YES", "NO", "MAYBE"] +class EnterpriseTopazSidekickPerson(typing.TypedDict, total=False): + affinityLevel: typing.Literal["UNKNOWN", "LOW", "MEDIUM", "HIGH"] + attendingStatus: typing.Literal["AWAITING", "YES", "NO", "MAYBE"] email: str gaiaId: str isGroup: bool @@ -725,57 +683,49 @@ class EnterpriseTopazSidekickPerson(typing_extensions.TypedDict, total=False): photoUrl: str @typing.type_check_only -class EnterpriseTopazSidekickPersonProfileCard( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickPersonProfileCard(typing.TypedDict, total=False): relatedPeople: _list[EnterpriseTopazSidekickPersonProfileCardRelatedPeople] subject: EnterpriseTopazSidekickCommonPerson @typing.type_check_only class EnterpriseTopazSidekickPersonProfileCardRelatedPeople( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): relatedPerson: _list[EnterpriseTopazSidekickCommonPerson] - relation: typing_extensions.Literal["UNKNOWN", "MANAGER", "DIRECT_REPORT"] + relation: typing.Literal["UNKNOWN", "MANAGER", "DIRECT_REPORT"] @typing.type_check_only -class EnterpriseTopazSidekickPersonalizedDocsCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickPersonalizedDocsCardProto(typing.TypedDict, total=False): documentGroup: _list[EnterpriseTopazSidekickDocumentGroup] @typing.type_check_only -class EnterpriseTopazSidekickRankingParams(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickRankingParams(typing.TypedDict, total=False): endTimeMs: str - priority: typing_extensions.Literal[ + priority: typing.Literal[ "UNKNOWN", "CRITICAL", "IMPORTANT", "HIGH", "NORMAL", "BEST_EFFORT" ] score: float spanMs: str startTimeMs: str - type: typing_extensions.Literal["FIXED", "FLEXIBLE"] + type: typing.Literal["FIXED", "FLEXIBLE"] @typing.type_check_only -class EnterpriseTopazSidekickRecentDocumentsCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickRecentDocumentsCardProto(typing.TypedDict, total=False): document: _list[EnterpriseTopazSidekickCommonDocument] @typing.type_check_only -class EnterpriseTopazSidekickScheduledMeeting(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickScheduledMeeting(typing.TypedDict, total=False): meetingLocation: str meetingTime: EnterpriseTopazSidekickTimeSlot meetingTitle: str @typing.type_check_only -class EnterpriseTopazSidekickShareMeetingDocsCardProto( - typing_extensions.TypedDict, total=False -): +class EnterpriseTopazSidekickShareMeetingDocsCardProto(typing.TypedDict, total=False): document: _list[EnterpriseTopazSidekickCommonDocument] event: EnterpriseTopazSidekickAgendaEntry @typing.type_check_only -class EnterpriseTopazSidekickTimeSlot(typing_extensions.TypedDict, total=False): +class EnterpriseTopazSidekickTimeSlot(typing.TypedDict, total=False): endTimeDay: str endTimeHourAndMinute: str endTimeInMillis: str @@ -784,42 +734,42 @@ class EnterpriseTopazSidekickTimeSlot(typing_extensions.TypedDict, total=False): startTimeInMillis: str @typing.type_check_only -class EnumOperatorOptions(typing_extensions.TypedDict, total=False): +class EnumOperatorOptions(typing.TypedDict, total=False): operatorName: str @typing.type_check_only -class EnumPropertyOptions(typing_extensions.TypedDict, total=False): +class EnumPropertyOptions(typing.TypedDict, total=False): operatorOptions: EnumOperatorOptions - orderedRanking: typing_extensions.Literal["NO_ORDER", "ASCENDING", "DESCENDING"] + orderedRanking: typing.Literal["NO_ORDER", "ASCENDING", "DESCENDING"] possibleValues: _list[EnumValuePair] @typing.type_check_only -class EnumValuePair(typing_extensions.TypedDict, total=False): +class EnumValuePair(typing.TypedDict, total=False): integerValue: int stringValue: str @typing.type_check_only -class EnumValues(typing_extensions.TypedDict, total=False): +class EnumValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): errorMessages: _list[ErrorMessage] @typing.type_check_only -class ErrorMessage(typing_extensions.TypedDict, total=False): +class ErrorMessage(typing.TypedDict, total=False): errorMessage: str source: Source @typing.type_check_only -class FacetBucket(typing_extensions.TypedDict, total=False): +class FacetBucket(typing.TypedDict, total=False): count: int filter: Filter percentage: int value: Value @typing.type_check_only -class FacetOptions(typing_extensions.TypedDict, total=False): +class FacetOptions(typing.TypedDict, total=False): integerFacetingOptions: IntegerFacetingOptions numFacetBuckets: int objectType: str @@ -827,144 +777,140 @@ class FacetOptions(typing_extensions.TypedDict, total=False): sourceName: str @typing.type_check_only -class FacetResult(typing_extensions.TypedDict, total=False): +class FacetResult(typing.TypedDict, total=False): buckets: _list[FacetBucket] objectType: str operatorName: str sourceName: str @typing.type_check_only -class FieldViolation(typing_extensions.TypedDict, total=False): +class FieldViolation(typing.TypedDict, total=False): description: str field: str @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): compositeFilter: CompositeFilter valueFilter: ValueFilter @typing.type_check_only -class FilterOptions(typing_extensions.TypedDict, total=False): +class FilterOptions(typing.TypedDict, total=False): filter: Filter objectType: str @typing.type_check_only -class FreshnessOptions(typing_extensions.TypedDict, total=False): +class FreshnessOptions(typing.TypedDict, total=False): freshnessDuration: str freshnessProperty: str @typing.type_check_only -class GSuitePrincipal(typing_extensions.TypedDict, total=False): +class GSuitePrincipal(typing.TypedDict, total=False): gsuiteDomain: bool gsuiteGroupEmail: str gsuiteUserEmail: str @typing.type_check_only -class GetCustomerIndexStatsResponse(typing_extensions.TypedDict, total=False): +class GetCustomerIndexStatsResponse(typing.TypedDict, total=False): averageIndexedItemCount: str stats: _list[CustomerIndexStats] @typing.type_check_only -class GetCustomerQueryStatsResponse(typing_extensions.TypedDict, total=False): +class GetCustomerQueryStatsResponse(typing.TypedDict, total=False): stats: _list[CustomerQueryStats] totalQueryCount: str @typing.type_check_only -class GetCustomerSearchApplicationStatsResponse( - typing_extensions.TypedDict, total=False -): +class GetCustomerSearchApplicationStatsResponse(typing.TypedDict, total=False): averageSearchApplicationCount: str stats: _list[CustomerSearchApplicationStats] @typing.type_check_only -class GetCustomerSessionStatsResponse(typing_extensions.TypedDict, total=False): +class GetCustomerSessionStatsResponse(typing.TypedDict, total=False): stats: _list[CustomerSessionStats] @typing.type_check_only -class GetCustomerUserStatsResponse(typing_extensions.TypedDict, total=False): +class GetCustomerUserStatsResponse(typing.TypedDict, total=False): stats: _list[CustomerUserStats] @typing.type_check_only -class GetDataSourceIndexStatsResponse(typing_extensions.TypedDict, total=False): +class GetDataSourceIndexStatsResponse(typing.TypedDict, total=False): averageIndexedItemCount: str stats: _list[DataSourceIndexStats] @typing.type_check_only -class GetSearchApplicationQueryStatsResponse(typing_extensions.TypedDict, total=False): +class GetSearchApplicationQueryStatsResponse(typing.TypedDict, total=False): stats: _list[SearchApplicationQueryStats] totalQueryCount: str @typing.type_check_only -class GetSearchApplicationSessionStatsResponse( - typing_extensions.TypedDict, total=False -): +class GetSearchApplicationSessionStatsResponse(typing.TypedDict, total=False): stats: _list[SearchApplicationSessionStats] @typing.type_check_only -class GetSearchApplicationUserStatsResponse(typing_extensions.TypedDict, total=False): +class GetSearchApplicationUserStatsResponse(typing.TypedDict, total=False): stats: _list[SearchApplicationUserStats] @typing.type_check_only -class HtmlOperatorOptions(typing_extensions.TypedDict, total=False): +class HtmlOperatorOptions(typing.TypedDict, total=False): operatorName: str @typing.type_check_only -class HtmlPropertyOptions(typing_extensions.TypedDict, total=False): +class HtmlPropertyOptions(typing.TypedDict, total=False): operatorOptions: HtmlOperatorOptions retrievalImportance: RetrievalImportance @typing.type_check_only -class HtmlValues(typing_extensions.TypedDict, total=False): +class HtmlValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class IndexItemOptions(typing_extensions.TypedDict, total=False): +class IndexItemOptions(typing.TypedDict, total=False): allowUnknownGsuitePrincipals: bool @typing.type_check_only -class IndexItemRequest(typing_extensions.TypedDict, total=False): +class IndexItemRequest(typing.TypedDict, total=False): connectorName: str debugOptions: DebugOptions indexItemOptions: IndexItemOptions item: Item - mode: typing_extensions.Literal["UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS"] + mode: typing.Literal["UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS"] @typing.type_check_only -class InitializeCustomerRequest(typing_extensions.TypedDict, total=False): ... +class InitializeCustomerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class IntegerFacetingOptions(typing_extensions.TypedDict, total=False): +class IntegerFacetingOptions(typing.TypedDict, total=False): integerBuckets: _list[str] @typing.type_check_only -class IntegerOperatorOptions(typing_extensions.TypedDict, total=False): +class IntegerOperatorOptions(typing.TypedDict, total=False): greaterThanOperatorName: str lessThanOperatorName: str operatorName: str @typing.type_check_only -class IntegerPropertyOptions(typing_extensions.TypedDict, total=False): +class IntegerPropertyOptions(typing.TypedDict, total=False): integerFacetingOptions: IntegerFacetingOptions maximumValue: str minimumValue: str operatorOptions: IntegerOperatorOptions - orderedRanking: typing_extensions.Literal["NO_ORDER", "ASCENDING", "DESCENDING"] + orderedRanking: typing.Literal["NO_ORDER", "ASCENDING", "DESCENDING"] @typing.type_check_only -class IntegerValues(typing_extensions.TypedDict, total=False): +class IntegerValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class Interaction(typing_extensions.TypedDict, total=False): +class Interaction(typing.TypedDict, total=False): interactionTime: str principal: Principal - type: typing_extensions.Literal["UNSPECIFIED", "VIEW", "EDIT"] + type: typing.Literal["UNSPECIFIED", "VIEW", "EDIT"] @typing.type_check_only -class Item(typing_extensions.TypedDict, total=False): +class Item(typing.TypedDict, total=False): acl: ItemAcl content: ItemContent - itemType: typing_extensions.Literal[ + itemType: typing.Literal[ "UNSPECIFIED", "CONTENT_ITEM", "CONTAINER_ITEM", "VIRTUAL_CONTAINER_ITEM" ] metadata: ItemMetadata @@ -976,8 +922,8 @@ class Item(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class ItemAcl(typing_extensions.TypedDict, total=False): - aclInheritanceType: typing_extensions.Literal[ +class ItemAcl(typing.TypedDict, total=False): + aclInheritanceType: typing.Literal[ "NOT_APPLICABLE", "CHILD_OVERRIDE", "PARENT_OVERRIDE", "BOTH_PERMIT" ] deniedReaders: _list[Principal] @@ -986,22 +932,22 @@ class ItemAcl(typing_extensions.TypedDict, total=False): readers: _list[Principal] @typing.type_check_only -class ItemContent(typing_extensions.TypedDict, total=False): +class ItemContent(typing.TypedDict, total=False): contentDataRef: UploadItemRef - contentFormat: typing_extensions.Literal["UNSPECIFIED", "HTML", "TEXT", "RAW"] + contentFormat: typing.Literal["UNSPECIFIED", "HTML", "TEXT", "RAW"] hash: str inlineContent: str @typing.type_check_only -class ItemCountByStatus(typing_extensions.TypedDict, total=False): +class ItemCountByStatus(typing.TypedDict, total=False): count: str indexedItemsCount: str - statusCode: typing_extensions.Literal[ + statusCode: typing.Literal[ "CODE_UNSPECIFIED", "ERROR", "MODIFIED", "NEW_ITEM", "ACCEPTED" ] @typing.type_check_only -class ItemMetadata(typing_extensions.TypedDict, total=False): +class ItemMetadata(typing.TypedDict, total=False): containerName: str contentLanguage: str contextAttributes: _list[ContextAttribute] @@ -1017,58 +963,56 @@ class ItemMetadata(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ItemStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ItemStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "ERROR", "MODIFIED", "NEW_ITEM", "ACCEPTED" ] processingErrors: _list[ProcessingError] repositoryErrors: _list[RepositoryError] @typing.type_check_only -class ItemStructuredData(typing_extensions.TypedDict, total=False): +class ItemStructuredData(typing.TypedDict, total=False): hash: str object: StructuredDataObject @typing.type_check_only -class ListDataSourceResponse(typing_extensions.TypedDict, total=False): +class ListDataSourceResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[DataSource] @typing.type_check_only -class ListItemNamesForUnmappedIdentityResponse( - typing_extensions.TypedDict, total=False -): +class ListItemNamesForUnmappedIdentityResponse(typing.TypedDict, total=False): itemNames: _list[str] nextPageToken: str @typing.type_check_only -class ListItemsResponse(typing_extensions.TypedDict, total=False): +class ListItemsResponse(typing.TypedDict, total=False): items: _list[Item] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListQuerySourcesResponse(typing_extensions.TypedDict, total=False): +class ListQuerySourcesResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[QuerySource] @typing.type_check_only -class ListSearchApplicationsResponse(typing_extensions.TypedDict, total=False): +class ListSearchApplicationsResponse(typing.TypedDict, total=False): nextPageToken: str searchApplications: _list[SearchApplication] @typing.type_check_only -class ListUnmappedIdentitiesResponse(typing_extensions.TypedDict, total=False): +class ListUnmappedIdentitiesResponse(typing.TypedDict, total=False): nextPageToken: str unmappedIdentities: _list[UnmappedIdentity] @typing.type_check_only -class MapInfo(typing_extensions.TypedDict, total=False): +class MapInfo(typing.TypedDict, total=False): lat: float locationUrl: SafeUrlProto long: float @@ -1076,22 +1020,22 @@ class MapInfo(typing_extensions.TypedDict, total=False): zoom: int @typing.type_check_only -class MapTile(typing_extensions.TypedDict, total=False): +class MapTile(typing.TypedDict, total=False): imageUrl: SafeUrlProto tileX: float tileY: float @typing.type_check_only -class MatchRange(typing_extensions.TypedDict, total=False): +class MatchRange(typing.TypedDict, total=False): end: int start: int @typing.type_check_only -class Media(typing_extensions.TypedDict, total=False): +class Media(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): createTime: str displayOptions: ResultDisplayMetadata fields: _list[NamedProperty] @@ -1103,15 +1047,15 @@ class Metadata(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Metaline(typing_extensions.TypedDict, total=False): +class Metaline(typing.TypedDict, total=False): properties: _list[DisplayedProperty] @typing.type_check_only -class Name(typing_extensions.TypedDict, total=False): +class Name(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class NamedProperty(typing_extensions.TypedDict, total=False): +class NamedProperty(typing.TypedDict, total=False): booleanValue: bool dateValues: DateValues doubleValues: DoubleValues @@ -1124,32 +1068,32 @@ class NamedProperty(typing_extensions.TypedDict, total=False): timestampValues: TimestampValues @typing.type_check_only -class ObjectDefinition(typing_extensions.TypedDict, total=False): +class ObjectDefinition(typing.TypedDict, total=False): name: str options: ObjectOptions propertyDefinitions: _list[PropertyDefinition] @typing.type_check_only -class ObjectDisplayOptions(typing_extensions.TypedDict, total=False): +class ObjectDisplayOptions(typing.TypedDict, total=False): metalines: _list[Metaline] objectDisplayLabel: str @typing.type_check_only -class ObjectOptions(typing_extensions.TypedDict, total=False): +class ObjectOptions(typing.TypedDict, total=False): displayOptions: ObjectDisplayOptions freshnessOptions: FreshnessOptions suggestionFilteringOperators: _list[str] @typing.type_check_only -class ObjectPropertyOptions(typing_extensions.TypedDict, total=False): +class ObjectPropertyOptions(typing.TypedDict, total=False): subobjectProperties: _list[PropertyDefinition] @typing.type_check_only -class ObjectValues(typing_extensions.TypedDict, total=False): +class ObjectValues(typing.TypedDict, total=False): values: _list[StructuredDataObject] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1157,15 +1101,15 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PeoplePromotionCard(typing_extensions.TypedDict, total=False): +class PeoplePromotionCard(typing.TypedDict, total=False): people: _list[PersonCore] @typing.type_check_only -class PeopleSuggestion(typing_extensions.TypedDict, total=False): +class PeopleSuggestion(typing.TypedDict, total=False): person: Person @typing.type_check_only -class Person(typing_extensions.TypedDict, total=False): +class Person(typing.TypedDict, total=False): emailAddresses: _list[EmailAddress] name: str obfuscatedId: str @@ -1174,11 +1118,11 @@ class Person(typing_extensions.TypedDict, total=False): photos: _list[Photo] @typing.type_check_only -class PersonCore(typing_extensions.TypedDict, total=False): +class PersonCore(typing.TypedDict, total=False): addressMeAs: str adminTo: _list[PersonCore] admins: _list[PersonCore] - availabilityStatus: typing_extensions.Literal[ + availabilityStatus: typing.Literal[ "UNKNOWN", "OUT_OF_OFFICE", "OUTSIDE_WORKING_HOURS", "AVAILABLE" ] birthday: Date @@ -1215,39 +1159,37 @@ class PersonCore(typing_extensions.TypedDict, total=False): waldoComeBackTime: str @typing.type_check_only -class PhoneNumber(typing_extensions.TypedDict, total=False): +class PhoneNumber(typing.TypedDict, total=False): phoneNumber: str - type: typing_extensions.Literal["OTHER", "MOBILE", "OFFICE"] + type: typing.Literal["OTHER", "MOBILE", "OFFICE"] @typing.type_check_only -class Photo(typing_extensions.TypedDict, total=False): +class Photo(typing.TypedDict, total=False): url: str @typing.type_check_only -class PollItemsRequest(typing_extensions.TypedDict, total=False): +class PollItemsRequest(typing.TypedDict, total=False): connectorName: str debugOptions: DebugOptions limit: int queue: str statusCodes: _list[ - typing_extensions.Literal[ - "CODE_UNSPECIFIED", "ERROR", "MODIFIED", "NEW_ITEM", "ACCEPTED" - ] + typing.Literal["CODE_UNSPECIFIED", "ERROR", "MODIFIED", "NEW_ITEM", "ACCEPTED"] ] @typing.type_check_only -class PollItemsResponse(typing_extensions.TypedDict, total=False): +class PollItemsResponse(typing.TypedDict, total=False): items: _list[Item] @typing.type_check_only -class Principal(typing_extensions.TypedDict, total=False): +class Principal(typing.TypedDict, total=False): groupResourceName: str gsuitePrincipal: GSuitePrincipal userResourceName: str @typing.type_check_only -class ProcessingError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ProcessingError(typing.TypedDict, total=False): + code: typing.Literal[ "PROCESSING_ERROR_CODE_UNSPECIFIED", "MALFORMED_REQUEST", "UNSUPPORTED_CONTENT_FORMAT", @@ -1258,7 +1200,7 @@ class ProcessingError(typing_extensions.TypedDict, total=False): fieldViolations: _list[FieldViolation] @typing.type_check_only -class PropertyDefinition(typing_extensions.TypedDict, total=False): +class PropertyDefinition(typing.TypedDict, total=False): booleanPropertyOptions: BooleanPropertyOptions datePropertyOptions: DatePropertyOptions displayOptions: PropertyDisplayOptions @@ -1278,65 +1220,65 @@ class PropertyDefinition(typing_extensions.TypedDict, total=False): timestampPropertyOptions: TimestampPropertyOptions @typing.type_check_only -class PropertyDisplayOptions(typing_extensions.TypedDict, total=False): +class PropertyDisplayOptions(typing.TypedDict, total=False): displayLabel: str @typing.type_check_only -class PushItem(typing_extensions.TypedDict, total=False): +class PushItem(typing.TypedDict, total=False): contentHash: str metadataHash: str payload: str queue: str repositoryError: RepositoryError structuredDataHash: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "MODIFIED", "NOT_MODIFIED", "REPOSITORY_ERROR", "REQUEUE" ] @typing.type_check_only -class PushItemRequest(typing_extensions.TypedDict, total=False): +class PushItemRequest(typing.TypedDict, total=False): connectorName: str debugOptions: DebugOptions item: PushItem @typing.type_check_only -class QueryActivity(typing_extensions.TypedDict, total=False): +class QueryActivity(typing.TypedDict, total=False): query: str @typing.type_check_only -class QueryCountByStatus(typing_extensions.TypedDict, total=False): +class QueryCountByStatus(typing.TypedDict, total=False): count: str statusCode: int @typing.type_check_only -class QueryInterpretation(typing_extensions.TypedDict, total=False): - interpretationType: typing_extensions.Literal["NONE", "BLEND", "REPLACE"] +class QueryInterpretation(typing.TypedDict, total=False): + interpretationType: typing.Literal["NONE", "BLEND", "REPLACE"] interpretedQuery: str interpretedQueryActualResultCount: int interpretedQueryEstimatedResultCount: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "UNSPECIFIED", "QUERY_HAS_NATURAL_LANGUAGE_INTENT", "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY", ] @typing.type_check_only -class QueryInterpretationConfig(typing_extensions.TypedDict, total=False): +class QueryInterpretationConfig(typing.TypedDict, total=False): forceDisableSupplementalResults: bool forceVerbatimMode: bool @typing.type_check_only -class QueryInterpretationOptions(typing_extensions.TypedDict, total=False): +class QueryInterpretationOptions(typing.TypedDict, total=False): disableNlInterpretation: bool disableSupplementalResults: bool enableVerbatimMode: bool @typing.type_check_only -class QueryItem(typing_extensions.TypedDict, total=False): +class QueryItem(typing.TypedDict, total=False): isSynthetic: bool @typing.type_check_only -class QueryOperator(typing_extensions.TypedDict, total=False): +class QueryOperator(typing.TypedDict, total=False): displayName: str enumValues: _list[str] greaterThanOperatorName: str @@ -1348,7 +1290,7 @@ class QueryOperator(typing_extensions.TypedDict, total=False): lessThanOperatorName: str objectType: str operatorName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "INTEGER", "DOUBLE", @@ -1361,32 +1303,32 @@ class QueryOperator(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class QuerySource(typing_extensions.TypedDict, total=False): +class QuerySource(typing.TypedDict, total=False): displayName: str operators: _list[QueryOperator] shortName: str source: Source @typing.type_check_only -class QuerySuggestion(typing_extensions.TypedDict, total=False): +class QuerySuggestion(typing.TypedDict, total=False): lastQueryTime: str - sourceCorpus: typing_extensions.Literal[ + sourceCorpus: typing.Literal[ "SOURCE_CORPUS_UNSPECIFIED", "GMAIL", "DRIVE", "CHAT", "CALENDAR" ] @typing.type_check_only -class RemoveActivityRequest(typing_extensions.TypedDict, total=False): +class RemoveActivityRequest(typing.TypedDict, total=False): requestOptions: RequestOptions userActivity: UserActivity @typing.type_check_only -class RemoveActivityResponse(typing_extensions.TypedDict, total=False): ... +class RemoveActivityResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RepositoryError(typing_extensions.TypedDict, total=False): +class RepositoryError(typing.TypedDict, total=False): errorMessage: str httpStatusCode: int - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "NETWORK_ERROR", "DNS_ERROR", @@ -1400,23 +1342,24 @@ class RepositoryError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RequestOptions(typing_extensions.TypedDict, total=False): +class RequestOptions(typing.TypedDict, total=False): clientDisplayLanguageCode: str + countryCode: str debugOptions: DebugOptions languageCode: str searchApplicationId: str timeZone: str @typing.type_check_only -class ResetSearchApplicationRequest(typing_extensions.TypedDict, total=False): +class ResetSearchApplicationRequest(typing.TypedDict, total=False): debugOptions: DebugOptions @typing.type_check_only -class ResponseDebugInfo(typing_extensions.TypedDict, total=False): +class ResponseDebugInfo(typing.TypedDict, total=False): formattedDebugInfo: str @typing.type_check_only -class RestrictItem(typing_extensions.TypedDict, total=False): +class RestrictItem(typing.TypedDict, total=False): driveFollowUpRestrict: DriveFollowUpRestrict driveLocationRestrict: DriveLocationRestrict driveMimeTypeRestrict: DriveMimeTypeRestrict @@ -1424,52 +1367,52 @@ class RestrictItem(typing_extensions.TypedDict, total=False): searchOperator: str @typing.type_check_only -class ResultCounts(typing_extensions.TypedDict, total=False): +class ResultCounts(typing.TypedDict, total=False): sourceResultCounts: _list[SourceResultCount] @typing.type_check_only -class ResultDebugInfo(typing_extensions.TypedDict, total=False): +class ResultDebugInfo(typing.TypedDict, total=False): formattedDebugInfo: str @typing.type_check_only -class ResultDisplayField(typing_extensions.TypedDict, total=False): +class ResultDisplayField(typing.TypedDict, total=False): label: str operatorName: str property: NamedProperty @typing.type_check_only -class ResultDisplayLine(typing_extensions.TypedDict, total=False): +class ResultDisplayLine(typing.TypedDict, total=False): fields: _list[ResultDisplayField] @typing.type_check_only -class ResultDisplayMetadata(typing_extensions.TypedDict, total=False): +class ResultDisplayMetadata(typing.TypedDict, total=False): metalines: _list[ResultDisplayLine] objectTypeLabel: str @typing.type_check_only -class RetrievalImportance(typing_extensions.TypedDict, total=False): - importance: typing_extensions.Literal["DEFAULT", "HIGHEST", "HIGH", "LOW", "NONE"] +class RetrievalImportance(typing.TypedDict, total=False): + importance: typing.Literal["DEFAULT", "HIGHEST", "HIGH", "LOW", "NONE"] @typing.type_check_only -class SafeHtmlProto(typing_extensions.TypedDict, total=False): +class SafeHtmlProto(typing.TypedDict, total=False): privateDoNotAccessOrElseSafeHtmlWrappedValue: str @typing.type_check_only -class SafeUrlProto(typing_extensions.TypedDict, total=False): +class SafeUrlProto(typing.TypedDict, total=False): privateDoNotAccessOrElseSafeUrlWrappedValue: str @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): objectDefinitions: _list[ObjectDefinition] operationIds: _list[str] @typing.type_check_only -class ScoringConfig(typing_extensions.TypedDict, total=False): +class ScoringConfig(typing.TypedDict, total=False): disableFreshness: bool disablePersonalization: bool @typing.type_check_only -class SearchApplication(typing_extensions.TypedDict, total=False): +class SearchApplication(typing.TypedDict, total=False): dataSourceRestrictions: _list[DataSourceRestriction] defaultFacetOptions: _list[FacetOptions] defaultSortOptions: SortOptions @@ -1483,39 +1426,39 @@ class SearchApplication(typing_extensions.TypedDict, total=False): sourceConfig: _list[SourceConfig] @typing.type_check_only -class SearchApplicationQueryStats(typing_extensions.TypedDict, total=False): +class SearchApplicationQueryStats(typing.TypedDict, total=False): date: Date queryCountByStatus: _list[QueryCountByStatus] @typing.type_check_only -class SearchApplicationSessionStats(typing_extensions.TypedDict, total=False): +class SearchApplicationSessionStats(typing.TypedDict, total=False): date: Date searchSessionsCount: str @typing.type_check_only -class SearchApplicationUserStats(typing_extensions.TypedDict, total=False): +class SearchApplicationUserStats(typing.TypedDict, total=False): date: Date oneDayActiveUsersCount: str sevenDaysActiveUsersCount: str thirtyDaysActiveUsersCount: str @typing.type_check_only -class SearchItemsByViewUrlRequest(typing_extensions.TypedDict, total=False): +class SearchItemsByViewUrlRequest(typing.TypedDict, total=False): debugOptions: DebugOptions pageToken: str viewUrl: str @typing.type_check_only -class SearchItemsByViewUrlResponse(typing_extensions.TypedDict, total=False): +class SearchItemsByViewUrlResponse(typing.TypedDict, total=False): items: _list[Item] nextPageToken: str @typing.type_check_only -class SearchQualityMetadata(typing_extensions.TypedDict, total=False): +class SearchQualityMetadata(typing.TypedDict, total=False): quality: float @typing.type_check_only -class SearchRequest(typing_extensions.TypedDict, total=False): +class SearchRequest(typing.TypedDict, total=False): contextAttributes: _list[ContextAttribute] dataSourceRestrictions: _list[DataSourceRestriction] facetOptions: _list[FacetOptions] @@ -1527,7 +1470,7 @@ class SearchRequest(typing_extensions.TypedDict, total=False): start: int @typing.type_check_only -class SearchResponse(typing_extensions.TypedDict, total=False): +class SearchResponse(typing.TypedDict, total=False): debugInfo: ResponseDebugInfo errorInfo: ErrorInfo facetResults: _list[FacetResult] @@ -1541,7 +1484,7 @@ class SearchResponse(typing_extensions.TypedDict, total=False): structuredResults: _list[StructuredResult] @typing.type_check_only -class SearchResult(typing_extensions.TypedDict, total=False): +class SearchResult(typing.TypedDict, total=False): clusteredResults: _list[SearchResult] debugInfo: ResultDebugInfo metadata: Metadata @@ -1550,19 +1493,19 @@ class SearchResult(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Snippet(typing_extensions.TypedDict, total=False): +class Snippet(typing.TypedDict, total=False): matchRanges: _list[MatchRange] snippet: str @typing.type_check_only -class SortOptions(typing_extensions.TypedDict, total=False): +class SortOptions(typing.TypedDict, total=False): operatorName: str - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): name: str - predefinedSource: typing_extensions.Literal[ + predefinedSource: typing.Literal[ "NONE", "QUERY_HISTORY", "PERSON", @@ -1575,89 +1518,89 @@ class Source(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SourceConfig(typing_extensions.TypedDict, total=False): +class SourceConfig(typing.TypedDict, total=False): crowdingConfig: SourceCrowdingConfig scoringConfig: SourceScoringConfig source: Source @typing.type_check_only -class SourceCrowdingConfig(typing_extensions.TypedDict, total=False): +class SourceCrowdingConfig(typing.TypedDict, total=False): numResults: int numSuggestions: int @typing.type_check_only -class SourceResultCount(typing_extensions.TypedDict, total=False): +class SourceResultCount(typing.TypedDict, total=False): hasMoreResults: bool resultCountEstimate: str resultCountExact: str source: Source @typing.type_check_only -class SourceScoringConfig(typing_extensions.TypedDict, total=False): - sourceImportance: typing_extensions.Literal["DEFAULT", "LOW", "HIGH"] +class SourceScoringConfig(typing.TypedDict, total=False): + sourceImportance: typing.Literal["DEFAULT", "LOW", "HIGH"] @typing.type_check_only -class SpellResult(typing_extensions.TypedDict, total=False): +class SpellResult(typing.TypedDict, total=False): suggestedQuery: str suggestedQueryHtml: SafeHtmlProto - suggestionType: typing_extensions.Literal[ + suggestionType: typing.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", "NON_EMPTY_RESULTS_SPELL_SUGGESTION", "ZERO_RESULTS_FULL_PAGE_REPLACEMENT", ] @typing.type_check_only -class StartUploadItemRequest(typing_extensions.TypedDict, total=False): +class StartUploadItemRequest(typing.TypedDict, total=False): connectorName: str debugOptions: DebugOptions @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StructuredDataObject(typing_extensions.TypedDict, total=False): +class StructuredDataObject(typing.TypedDict, total=False): properties: _list[NamedProperty] @typing.type_check_only -class StructuredResult(typing_extensions.TypedDict, total=False): +class StructuredResult(typing.TypedDict, total=False): person: Person @typing.type_check_only -class SuggestRequest(typing_extensions.TypedDict, total=False): +class SuggestRequest(typing.TypedDict, total=False): dataSourceRestrictions: _list[DataSourceRestriction] query: str requestOptions: RequestOptions @typing.type_check_only -class SuggestResponse(typing_extensions.TypedDict, total=False): +class SuggestResponse(typing.TypedDict, total=False): suggestResults: _list[SuggestResult] @typing.type_check_only -class SuggestResult(typing_extensions.TypedDict, total=False): +class SuggestResult(typing.TypedDict, total=False): peopleSuggestion: PeopleSuggestion querySuggestion: QuerySuggestion source: Source suggestedQuery: str @typing.type_check_only -class TextOperatorOptions(typing_extensions.TypedDict, total=False): +class TextOperatorOptions(typing.TypedDict, total=False): exactMatchWithOperator: bool operatorName: str @typing.type_check_only -class TextPropertyOptions(typing_extensions.TypedDict, total=False): +class TextPropertyOptions(typing.TypedDict, total=False): operatorOptions: TextOperatorOptions retrievalImportance: RetrievalImportance @typing.type_check_only -class TextValues(typing_extensions.TypedDict, total=False): +class TextValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ThirdPartyGenericCard(typing_extensions.TypedDict, total=False): +class ThirdPartyGenericCard(typing.TypedDict, total=False): cardId: str category: str content: Content @@ -1666,23 +1609,23 @@ class ThirdPartyGenericCard(typing_extensions.TypedDict, total=False): priority: int @typing.type_check_only -class TimestampOperatorOptions(typing_extensions.TypedDict, total=False): +class TimestampOperatorOptions(typing.TypedDict, total=False): greaterThanOperatorName: str lessThanOperatorName: str operatorName: str @typing.type_check_only -class TimestampPropertyOptions(typing_extensions.TypedDict, total=False): +class TimestampPropertyOptions(typing.TypedDict, total=False): operatorOptions: TimestampOperatorOptions @typing.type_check_only -class TimestampValues(typing_extensions.TypedDict, total=False): +class TimestampValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class UnmappedIdentity(typing_extensions.TypedDict, total=False): +class UnmappedIdentity(typing.TypedDict, total=False): externalIdentity: Principal - resolutionStatusCode: typing_extensions.Literal[ + resolutionStatusCode: typing.Literal[ "CODE_UNSPECIFIED", "NOT_FOUND", "IDENTITY_SOURCE_NOT_FOUND", @@ -1692,37 +1635,37 @@ class UnmappedIdentity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UnreserveItemsRequest(typing_extensions.TypedDict, total=False): +class UnreserveItemsRequest(typing.TypedDict, total=False): connectorName: str debugOptions: DebugOptions queue: str @typing.type_check_only -class UpdateDataSourceRequest(typing_extensions.TypedDict, total=False): +class UpdateDataSourceRequest(typing.TypedDict, total=False): debugOptions: DebugOptions source: DataSource updateMask: str @typing.type_check_only -class UpdateSchemaRequest(typing_extensions.TypedDict, total=False): +class UpdateSchemaRequest(typing.TypedDict, total=False): debugOptions: DebugOptions schema: Schema validateOnly: bool @typing.type_check_only -class UploadItemRef(typing_extensions.TypedDict, total=False): +class UploadItemRef(typing.TypedDict, total=False): name: str @typing.type_check_only -class UserActivity(typing_extensions.TypedDict, total=False): +class UserActivity(typing.TypedDict, total=False): queryActivity: QueryActivity @typing.type_check_only -class VPCSettings(typing_extensions.TypedDict, total=False): +class VPCSettings(typing.TypedDict, total=False): project: str @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): booleanValue: bool dateValue: Date doubleValue: float @@ -1731,6 +1674,6 @@ class Value(typing_extensions.TypedDict, total=False): timestampValue: str @typing.type_check_only -class ValueFilter(typing_extensions.TypedDict, total=False): +class ValueFilter(typing.TypedDict, total=False): operatorName: str value: Value diff --git a/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi index 2ca75ee74..55851692a 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi index ea20c106d..f2c0d05af 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi @@ -1,46 +1,44 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddPublicKeyMetadata(typing_extensions.TypedDict, total=False): ... +class AddPublicKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddPublicKeyRequest(typing_extensions.TypedDict, total=False): +class AddPublicKeyRequest(typing.TypedDict, total=False): key: str @typing.type_check_only -class AddPublicKeyResponse(typing_extensions.TypedDict, total=False): +class AddPublicKeyResponse(typing.TypedDict, total=False): key: str @typing.type_check_only -class AuthorizeEnvironmentMetadata(typing_extensions.TypedDict, total=False): ... +class AuthorizeEnvironmentMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AuthorizeEnvironmentRequest(typing_extensions.TypedDict, total=False): +class AuthorizeEnvironmentRequest(typing.TypedDict, total=False): accessToken: str expireTime: str idToken: str @typing.type_check_only -class AuthorizeEnvironmentResponse(typing_extensions.TypedDict, total=False): ... +class AuthorizeEnvironmentResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateEnvironmentMetadata(typing_extensions.TypedDict, total=False): ... +class CreateEnvironmentMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteEnvironmentMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteEnvironmentMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): dockerImage: str id: str name: str @@ -48,23 +46,23 @@ class Environment(typing_extensions.TypedDict, total=False): sshHost: str sshPort: int sshUsername: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUSPENDED", "PENDING", "RUNNING", "DELETING" ] webHost: str @typing.type_check_only -class GenerateAccessTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenResponse(typing.TypedDict, total=False): accessToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -72,18 +70,18 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class RemovePublicKeyMetadata(typing_extensions.TypedDict, total=False): ... +class RemovePublicKeyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class RemovePublicKeyRequest(typing_extensions.TypedDict, total=False): +class RemovePublicKeyRequest(typing.TypedDict, total=False): key: str @typing.type_check_only -class RemovePublicKeyResponse(typing_extensions.TypedDict, total=False): ... +class RemovePublicKeyResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class StartEnvironmentMetadata(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class StartEnvironmentMetadata(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "UNARCHIVING_DISK", @@ -92,16 +90,16 @@ class StartEnvironmentMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StartEnvironmentRequest(typing_extensions.TypedDict, total=False): +class StartEnvironmentRequest(typing.TypedDict, total=False): accessToken: str publicKeys: _list[str] @typing.type_check_only -class StartEnvironmentResponse(typing_extensions.TypedDict, total=False): +class StartEnvironmentResponse(typing.TypedDict, total=False): environment: Environment @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/cloudshell/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/cloudshell/v1alpha1/resources.pyi index eefb17f4a..c59c15a80 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudshell/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/cloudshell/v1alpha1/schemas.pyi index f4206f31c..fc702b98f 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1alpha1/schemas.pyi @@ -1,33 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuthorizeEnvironmentRequest(typing_extensions.TypedDict, total=False): +class AuthorizeEnvironmentRequest(typing.TypedDict, total=False): accessToken: str expireTime: str idToken: str @typing.type_check_only -class CreatePublicKeyRequest(typing_extensions.TypedDict, total=False): +class CreatePublicKeyRequest(typing.TypedDict, total=False): key: PublicKey @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): dockerImage: str id: str name: str publicKeys: _list[PublicKey] - size: typing_extensions.Literal["VM_SIZE_UNSPECIFIED", "DEFAULT", "BOOSTED"] + size: typing.Literal["VM_SIZE_UNSPECIFIED", "DEFAULT", "BOOSTED"] sshHost: str sshPort: int sshUsername: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DISABLED", "STARTING", "RUNNING", "DELETING" ] vmSizeExpireTime: str @@ -35,7 +33,7 @@ class Environment(typing_extensions.TypedDict, total=False): webPorts: _list[int] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -43,8 +41,8 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PublicKey(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal[ +class PublicKey(typing.TypedDict, total=False): + format: typing.Literal[ "FORMAT_UNSPECIFIED", "SSH_DSS", "SSH_RSA", @@ -56,8 +54,8 @@ class PublicKey(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class StartEnvironmentMetadata(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class StartEnvironmentMetadata(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "UNARCHIVING_DISK", @@ -67,16 +65,16 @@ class StartEnvironmentMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StartEnvironmentRequest(typing_extensions.TypedDict, total=False): +class StartEnvironmentRequest(typing.TypedDict, total=False): accessToken: str publicKeys: _list[PublicKey] @typing.type_check_only -class StartEnvironmentResponse(typing_extensions.TypedDict, total=False): +class StartEnvironmentResponse(typing.TypedDict, total=False): environment: Environment @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi index c7c6b9e96..1fb4fd526 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -130,46 +129,61 @@ class CloudSupportResource(googleapiclient.discovery.Resource): ) -> AttachmentHttpRequest: ... @typing.type_check_only - class SupportEventSubscriptionsResource(googleapiclient.discovery.Resource): - def create( - self, *, parent: str, body: SupportEventSubscription, **kwargs: typing.Any - ) -> SupportEventSubscriptionHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> SupportEventSubscriptionHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> SupportEventSubscriptionHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str | None = ..., - pageSize: int | None = ..., - pageToken: str | None = ..., - showDeleted: bool | None = ..., - **kwargs: typing.Any, - ) -> ListSupportEventSubscriptionsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListSupportEventSubscriptionsResponseHttpRequest, - previous_response: ListSupportEventSubscriptionsResponse, - ) -> ListSupportEventSubscriptionsResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: SupportEventSubscription, - updateMask: str | None = ..., - **kwargs: typing.Any, - ) -> SupportEventSubscriptionHttpRequest: ... - def undelete( - self, - *, - name: str, - body: UndeleteSupportEventSubscriptionRequest, - **kwargs: typing.Any, - ) -> SupportEventSubscriptionHttpRequest: ... + class OrganizationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SupportEventSubscriptionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SupportEventSubscription, + **kwargs: typing.Any, + ) -> SupportEventSubscriptionHttpRequest: ... + 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: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + showDeleted: bool | None = ..., + **kwargs: typing.Any, + ) -> ListSupportEventSubscriptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSupportEventSubscriptionsResponseHttpRequest, + previous_response: ListSupportEventSubscriptionsResponse, + ) -> ListSupportEventSubscriptionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: SupportEventSubscription, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> SupportEventSubscriptionHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteSupportEventSubscriptionRequest, + **kwargs: typing.Any, + ) -> SupportEventSubscriptionHttpRequest: ... + + def supportEventSubscriptions(self) -> SupportEventSubscriptionsResource: ... def new_batch_http_request( self, @@ -186,7 +200,7 @@ class CloudSupportResource(googleapiclient.discovery.Resource): def caseClassifications(self) -> CaseClassificationsResource: ... def cases(self) -> CasesResource: ... def media(self) -> MediaResource: ... - def supportEventSubscriptions(self) -> SupportEventSubscriptionsResource: ... + def organizations(self) -> OrganizationsResource: ... @typing.type_check_only class AttachmentHttpRequest(googleapiclient.http.HttpRequest): @@ -212,6 +226,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..7b633119c 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Actor(typing_extensions.TypedDict, total=False): +class Actor(typing.TypedDict, total=False): displayName: str email: str googleSupport: bool username: str @typing.type_check_only -class Attachment(typing_extensions.TypedDict, total=False): +class Attachment(typing.TypedDict, total=False): createTime: str creator: Actor filename: str @@ -21,7 +19,7 @@ class Attachment(typing_extensions.TypedDict, total=False): sizeBytes: str @typing.type_check_only -class Blobstore2Info(typing_extensions.TypedDict, total=False): +class Blobstore2Info(typing.TypedDict, total=False): blobGeneration: str blobId: str downloadExternalReadToken: str @@ -31,7 +29,7 @@ class Blobstore2Info(typing_extensions.TypedDict, total=False): uploadMetadataContainer: str @typing.type_check_only -class Case(typing_extensions.TypedDict, total=False): +class Case(typing.TypedDict, total=False): classification: CaseClassification contactEmail: str createTime: str @@ -41,10 +39,8 @@ class Case(typing_extensions.TypedDict, total=False): escalated: bool languageCode: str name: str - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4" - ] - state: typing_extensions.Literal[ + priority: typing.Literal["PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4"] + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "IN_PROGRESS_GOOGLE_SUPPORT", @@ -58,15 +54,15 @@ class Case(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CaseClassification(typing_extensions.TypedDict, total=False): +class CaseClassification(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class CloseCaseRequest(typing_extensions.TypedDict, total=False): ... +class CloseCaseRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): body: str createTime: str creator: Actor @@ -74,7 +70,7 @@ class Comment(typing_extensions.TypedDict, total=False): plainTextBody: str @typing.type_check_only -class CompositeMedia(typing_extensions.TypedDict, total=False): +class CompositeMedia(typing.TypedDict, total=False): blobRef: str blobstore2Info: Blobstore2Info cosmoBinaryReference: str @@ -84,13 +80,13 @@ class CompositeMedia(typing_extensions.TypedDict, total=False): md5Hash: str objectId: ObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" ] sha1Hash: str @typing.type_check_only -class ContentTypeInfo(typing_extensions.TypedDict, total=False): +class ContentTypeInfo(typing.TypedDict, total=False): bestGuess: str fromBytes: str fromFileName: str @@ -100,11 +96,11 @@ class ContentTypeInfo(typing_extensions.TypedDict, total=False): fusionIdDetectionMetadata: str @typing.type_check_only -class CreateAttachmentRequest(typing_extensions.TypedDict, total=False): +class CreateAttachmentRequest(typing.TypedDict, total=False): attachment: Attachment @typing.type_check_only -class DiffChecksumsResponse(typing_extensions.TypedDict, total=False): +class DiffChecksumsResponse(typing.TypedDict, total=False): checksumsLocation: CompositeMedia chunkSizeBytes: str objectLocation: CompositeMedia @@ -112,38 +108,41 @@ class DiffChecksumsResponse(typing_extensions.TypedDict, total=False): objectVersion: str @typing.type_check_only -class DiffDownloadResponse(typing_extensions.TypedDict, total=False): +class DiffDownloadResponse(typing.TypedDict, total=False): objectLocation: CompositeMedia @typing.type_check_only -class DiffUploadRequest(typing_extensions.TypedDict, total=False): +class DiffUploadRequest(typing.TypedDict, total=False): checksumsInfo: CompositeMedia objectInfo: CompositeMedia objectVersion: str @typing.type_check_only -class DiffUploadResponse(typing_extensions.TypedDict, total=False): +class DiffUploadResponse(typing.TypedDict, total=False): objectVersion: str originalObject: CompositeMedia @typing.type_check_only -class DiffVersionResponse(typing_extensions.TypedDict, total=False): +class DiffVersionResponse(typing.TypedDict, total=False): objectSizeBytes: str objectVersion: str @typing.type_check_only -class DownloadParameters(typing_extensions.TypedDict, total=False): +class DownloadParameters(typing.TypedDict, total=False): allowGzipCompression: bool ignoreRange: bool @typing.type_check_only -class EscalateCaseRequest(typing_extensions.TypedDict, total=False): +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class EscalateCaseRequest(typing.TypedDict, total=False): escalation: Escalation @typing.type_check_only -class Escalation(typing_extensions.TypedDict, total=False): +class Escalation(typing.TypedDict, total=False): justification: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNSPECIFIED", "RESOLUTION_TIME", "TECHNICAL_EXPERTISE", @@ -151,27 +150,30 @@ class Escalation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ExpungeSupportEventSubscriptionRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ListAttachmentsResponse(typing.TypedDict, total=False): attachments: _list[Attachment] nextPageToken: str @typing.type_check_only -class ListCasesResponse(typing_extensions.TypedDict, total=False): +class ListCasesResponse(typing.TypedDict, total=False): cases: _list[Case] nextPageToken: str @typing.type_check_only -class ListCommentsResponse(typing_extensions.TypedDict, total=False): +class ListCommentsResponse(typing.TypedDict, total=False): comments: _list[Comment] nextPageToken: str @typing.type_check_only -class ListSupportEventSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSupportEventSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str supportEventSubscriptions: _list[SupportEventSubscription] @typing.type_check_only -class Media(typing_extensions.TypedDict, total=False): +class Media(typing.TypedDict, total=False): algorithm: str bigstoreObjectRef: str blobRef: str @@ -197,7 +199,7 @@ class Media(typing_extensions.TypedDict, total=False): mediaId: str objectId: ObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", @@ -219,37 +221,33 @@ class Media(typing_extensions.TypedDict, total=False): token: str @typing.type_check_only -class ObjectId(typing_extensions.TypedDict, total=False): +class ObjectId(typing.TypedDict, total=False): bucketName: str generation: str objectName: str @typing.type_check_only -class SearchCaseClassificationsResponse(typing_extensions.TypedDict, total=False): +class SearchCaseClassificationsResponse(typing.TypedDict, total=False): caseClassifications: _list[CaseClassification] nextPageToken: str @typing.type_check_only -class SearchCasesResponse(typing_extensions.TypedDict, total=False): +class SearchCasesResponse(typing.TypedDict, total=False): cases: _list[Case] nextPageToken: str @typing.type_check_only -class SupportEventSubscription(typing_extensions.TypedDict, total=False): +class SupportEventSubscription(typing.TypedDict, total=False): createTime: str deleteTime: str - failureReason: typing_extensions.Literal[ + failureReason: typing.Literal[ "FAILURE_REASON_UNSPECIFIED", "PERMISSION_DENIED", "TOPIC_NOT_FOUND", "OTHER" ] name: str pubSubTopic: str purgeTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "WORKING", "FAILING", "DELETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "WORKING", "FAILING", "DELETED"] updateTime: str @typing.type_check_only -class UndeleteSupportEventSubscriptionRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteSupportEventSubscriptionRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi index 651e84ce6..aa123e1f6 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -20,7 +19,7 @@ class CloudSupportResource(googleapiclient.discovery.Resource): *, pageSize: int | None = ..., pageToken: str | None = ..., - product_productLine: typing_extensions.Literal[ + product_productLine: typing.Literal[ "PRODUCT_LINE_UNSPECIFIED", "GOOGLE_CLOUD", "GOOGLE_MAPS" ] | None = ..., @@ -91,7 +90,7 @@ class CloudSupportResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - productLine: typing_extensions.Literal[ + productLine: typing.Literal[ "PRODUCT_LINE_UNSPECIFIED", "GOOGLE_CLOUD", "GOOGLE_MAPS" ] | None = ..., @@ -152,46 +151,61 @@ class CloudSupportResource(googleapiclient.discovery.Resource): ) -> AttachmentHttpRequest: ... @typing.type_check_only - class SupportEventSubscriptionsResource(googleapiclient.discovery.Resource): - def create( - self, *, parent: str, body: SupportEventSubscription, **kwargs: typing.Any - ) -> SupportEventSubscriptionHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> SupportEventSubscriptionHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> SupportEventSubscriptionHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str | None = ..., - pageSize: int | None = ..., - pageToken: str | None = ..., - showDeleted: bool | None = ..., - **kwargs: typing.Any, - ) -> ListSupportEventSubscriptionsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListSupportEventSubscriptionsResponseHttpRequest, - previous_response: ListSupportEventSubscriptionsResponse, - ) -> ListSupportEventSubscriptionsResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: SupportEventSubscription, - updateMask: str | None = ..., - **kwargs: typing.Any, - ) -> SupportEventSubscriptionHttpRequest: ... - def undelete( - self, - *, - name: str, - body: UndeleteSupportEventSubscriptionRequest, - **kwargs: typing.Any, - ) -> SupportEventSubscriptionHttpRequest: ... + class OrganizationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SupportEventSubscriptionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: SupportEventSubscription, + **kwargs: typing.Any, + ) -> SupportEventSubscriptionHttpRequest: ... + 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: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + showDeleted: bool | None = ..., + **kwargs: typing.Any, + ) -> ListSupportEventSubscriptionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSupportEventSubscriptionsResponseHttpRequest, + previous_response: ListSupportEventSubscriptionsResponse, + ) -> ListSupportEventSubscriptionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: SupportEventSubscription, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> SupportEventSubscriptionHttpRequest: ... + def undelete( + self, + *, + name: str, + body: UndeleteSupportEventSubscriptionRequest, + **kwargs: typing.Any, + ) -> SupportEventSubscriptionHttpRequest: ... + + def supportEventSubscriptions(self) -> SupportEventSubscriptionsResource: ... def new_batch_http_request( self, @@ -208,7 +222,7 @@ class CloudSupportResource(googleapiclient.discovery.Resource): def caseClassifications(self) -> CaseClassificationsResource: ... def cases(self) -> CasesResource: ... def media(self) -> MediaResource: ... - def supportEventSubscriptions(self) -> SupportEventSubscriptionsResource: ... + def organizations(self) -> OrganizationsResource: ... @typing.type_check_only class AttachmentHttpRequest(googleapiclient.http.HttpRequest): @@ -234,6 +248,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..667fcc036 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Actor(typing_extensions.TypedDict, total=False): +class Actor(typing.TypedDict, total=False): displayName: str email: str googleSupport: bool username: str @typing.type_check_only -class Attachment(typing_extensions.TypedDict, total=False): +class Attachment(typing.TypedDict, total=False): createTime: str creator: Actor filename: str @@ -21,7 +19,7 @@ class Attachment(typing_extensions.TypedDict, total=False): sizeBytes: str @typing.type_check_only -class Blobstore2Info(typing_extensions.TypedDict, total=False): +class Blobstore2Info(typing.TypedDict, total=False): blobGeneration: str blobId: str downloadExternalReadToken: str @@ -31,7 +29,7 @@ class Blobstore2Info(typing_extensions.TypedDict, total=False): uploadMetadataContainer: str @typing.type_check_only -class Case(typing_extensions.TypedDict, total=False): +class Case(typing.TypedDict, total=False): classification: CaseClassification contactEmail: str createTime: str @@ -41,13 +39,9 @@ class Case(typing_extensions.TypedDict, total=False): escalated: bool languageCode: str name: str - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4" - ] - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "S0", "S1", "S2", "S3", "S4" - ] - state: typing_extensions.Literal[ + priority: typing.Literal["PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "S0", "S1", "S2", "S3", "S4"] + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "IN_PROGRESS_GOOGLE_SUPPORT", @@ -61,16 +55,16 @@ class Case(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CaseClassification(typing_extensions.TypedDict, total=False): +class CaseClassification(typing.TypedDict, total=False): displayName: str id: str product: Product @typing.type_check_only -class CloseCaseRequest(typing_extensions.TypedDict, total=False): ... +class CloseCaseRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): body: str createTime: str creator: Actor @@ -78,7 +72,7 @@ class Comment(typing_extensions.TypedDict, total=False): plainTextBody: str @typing.type_check_only -class CompositeMedia(typing_extensions.TypedDict, total=False): +class CompositeMedia(typing.TypedDict, total=False): blobRef: str blobstore2Info: Blobstore2Info cosmoBinaryReference: str @@ -88,13 +82,13 @@ class CompositeMedia(typing_extensions.TypedDict, total=False): md5Hash: str objectId: ObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" ] sha1Hash: str @typing.type_check_only -class ContentTypeInfo(typing_extensions.TypedDict, total=False): +class ContentTypeInfo(typing.TypedDict, total=False): bestGuess: str fromBytes: str fromFileName: str @@ -104,11 +98,11 @@ class ContentTypeInfo(typing_extensions.TypedDict, total=False): fusionIdDetectionMetadata: str @typing.type_check_only -class CreateAttachmentRequest(typing_extensions.TypedDict, total=False): +class CreateAttachmentRequest(typing.TypedDict, total=False): attachment: Attachment @typing.type_check_only -class DiffChecksumsResponse(typing_extensions.TypedDict, total=False): +class DiffChecksumsResponse(typing.TypedDict, total=False): checksumsLocation: CompositeMedia chunkSizeBytes: str objectLocation: CompositeMedia @@ -116,32 +110,32 @@ class DiffChecksumsResponse(typing_extensions.TypedDict, total=False): objectVersion: str @typing.type_check_only -class DiffDownloadResponse(typing_extensions.TypedDict, total=False): +class DiffDownloadResponse(typing.TypedDict, total=False): objectLocation: CompositeMedia @typing.type_check_only -class DiffUploadRequest(typing_extensions.TypedDict, total=False): +class DiffUploadRequest(typing.TypedDict, total=False): checksumsInfo: CompositeMedia objectInfo: CompositeMedia objectVersion: str @typing.type_check_only -class DiffUploadResponse(typing_extensions.TypedDict, total=False): +class DiffUploadResponse(typing.TypedDict, total=False): objectVersion: str originalObject: CompositeMedia @typing.type_check_only -class DiffVersionResponse(typing_extensions.TypedDict, total=False): +class DiffVersionResponse(typing.TypedDict, total=False): objectSizeBytes: str objectVersion: str @typing.type_check_only -class DownloadParameters(typing_extensions.TypedDict, total=False): +class DownloadParameters(typing.TypedDict, total=False): allowGzipCompression: bool ignoreRange: bool @typing.type_check_only -class EmailMessage(typing_extensions.TypedDict, total=False): +class EmailMessage(typing.TypedDict, total=False): actor: Actor bodyContent: TextContent ccEmailAddresses: _list[str] @@ -151,13 +145,16 @@ class EmailMessage(typing_extensions.TypedDict, total=False): subject: str @typing.type_check_only -class EscalateCaseRequest(typing_extensions.TypedDict, total=False): +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class EscalateCaseRequest(typing.TypedDict, total=False): escalation: Escalation @typing.type_check_only -class Escalation(typing_extensions.TypedDict, total=False): +class Escalation(typing.TypedDict, total=False): justification: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNSPECIFIED", "RESOLUTION_TIME", "TECHNICAL_EXPERTISE", @@ -165,7 +162,10 @@ class Escalation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeedItem(typing_extensions.TypedDict, total=False): +class ExpungeSupportEventSubscriptionRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class FeedItem(typing.TypedDict, total=False): attachment: Attachment comment: Comment deletedAttachment: Attachment @@ -173,27 +173,27 @@ class FeedItem(typing_extensions.TypedDict, total=False): eventTime: str @typing.type_check_only -class ListAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListAttachmentsResponse(typing.TypedDict, total=False): attachments: _list[Attachment] nextPageToken: str @typing.type_check_only -class ListCasesResponse(typing_extensions.TypedDict, total=False): +class ListCasesResponse(typing.TypedDict, total=False): cases: _list[Case] nextPageToken: str @typing.type_check_only -class ListCommentsResponse(typing_extensions.TypedDict, total=False): +class ListCommentsResponse(typing.TypedDict, total=False): comments: _list[Comment] nextPageToken: str @typing.type_check_only -class ListSupportEventSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSupportEventSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str supportEventSubscriptions: _list[SupportEventSubscription] @typing.type_check_only -class Media(typing_extensions.TypedDict, total=False): +class Media(typing.TypedDict, total=False): algorithm: str bigstoreObjectRef: str blobRef: str @@ -219,7 +219,7 @@ class Media(typing_extensions.TypedDict, total=False): mediaId: str objectId: ObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", @@ -241,52 +241,48 @@ class Media(typing_extensions.TypedDict, total=False): token: str @typing.type_check_only -class ObjectId(typing_extensions.TypedDict, total=False): +class ObjectId(typing.TypedDict, total=False): bucketName: str generation: str objectName: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): - productLine: typing_extensions.Literal[ +class Product(typing.TypedDict, total=False): + productLine: typing.Literal[ "PRODUCT_LINE_UNSPECIFIED", "GOOGLE_CLOUD", "GOOGLE_MAPS" ] @typing.type_check_only -class SearchCaseClassificationsResponse(typing_extensions.TypedDict, total=False): +class SearchCaseClassificationsResponse(typing.TypedDict, total=False): caseClassifications: _list[CaseClassification] nextPageToken: str @typing.type_check_only -class SearchCasesResponse(typing_extensions.TypedDict, total=False): +class SearchCasesResponse(typing.TypedDict, total=False): cases: _list[Case] nextPageToken: str @typing.type_check_only -class ShowFeedResponse(typing_extensions.TypedDict, total=False): +class ShowFeedResponse(typing.TypedDict, total=False): feedItems: _list[FeedItem] nextPageToken: str @typing.type_check_only -class SupportEventSubscription(typing_extensions.TypedDict, total=False): +class SupportEventSubscription(typing.TypedDict, total=False): createTime: str deleteTime: str - failureReason: typing_extensions.Literal[ + failureReason: typing.Literal[ "FAILURE_REASON_UNSPECIFIED", "PERMISSION_DENIED", "TOPIC_NOT_FOUND", "OTHER" ] name: str pubSubTopic: str purgeTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "WORKING", "FAILING", "DELETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "WORKING", "FAILING", "DELETED"] updateTime: str @typing.type_check_only -class TextContent(typing_extensions.TypedDict, total=False): +class TextContent(typing.TypedDict, total=False): plainText: str @typing.type_check_only -class UndeleteSupportEventSubscriptionRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteSupportEventSubscriptionRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi index f5746b825..3420dbcf3 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -43,7 +42,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): self, *, name: str, - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -55,7 +54,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2/schemas.pyi index 04a09aa92..099d1dc71 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2/schemas.pyi @@ -1,15 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppEngineHttpRequest(typing_extensions.TypedDict, total=False): +class AppEngineHttpRequest(typing.TypedDict, total=False): appEngineRouting: AppEngineRouting body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -22,81 +20,81 @@ class AppEngineHttpRequest(typing_extensions.TypedDict, total=False): relativeUri: str @typing.type_check_only -class AppEngineRouting(typing_extensions.TypedDict, total=False): +class AppEngineRouting(typing.TypedDict, total=False): host: str instance: str service: str version: str @typing.type_check_only -class Attempt(typing_extensions.TypedDict, total=False): +class Attempt(typing.TypedDict, total=False): dispatchTime: str responseStatus: Status responseTime: str scheduleTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BufferTaskRequest(typing_extensions.TypedDict, total=False): +class BufferTaskRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class BufferTaskResponse(typing_extensions.TypedDict, total=False): +class BufferTaskResponse(typing.TypedDict, total=False): task: Task @typing.type_check_only -class CmekConfig(typing_extensions.TypedDict, total=False): +class CmekConfig(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class CreateTaskRequest(typing_extensions.TypedDict, total=False): - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] +class CreateTaskRequest(typing.TypedDict, total=False): + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] task: Task @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class HeaderOverride(typing_extensions.TypedDict, total=False): +class HeaderOverride(typing.TypedDict, total=False): header: Header @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class HttpRequest(typing_extensions.TypedDict, total=False): +class HttpRequest(typing.TypedDict, total=False): body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -111,9 +109,9 @@ class HttpRequest(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class HttpTarget(typing_extensions.TypedDict, total=False): +class HttpTarget(typing.TypedDict, total=False): headerOverrides: _list[HeaderOverride] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -128,22 +126,22 @@ class HttpTarget(typing_extensions.TypedDict, total=False): uriOverride: UriOverride @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListQueuesResponse(typing_extensions.TypedDict, total=False): +class ListQueuesResponse(typing.TypedDict, total=False): nextPageToken: str queues: _list[Queue] @typing.type_check_only -class ListTasksResponse(typing_extensions.TypedDict, total=False): +class ListTasksResponse(typing.TypedDict, total=False): nextPageToken: str tasks: _list[Task] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -151,37 +149,37 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OAuthToken(typing_extensions.TypedDict, total=False): +class OAuthToken(typing.TypedDict, total=False): scope: str serviceAccountEmail: str @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class PathOverride(typing_extensions.TypedDict, total=False): +class PathOverride(typing.TypedDict, total=False): path: str @typing.type_check_only -class PauseQueueRequest(typing_extensions.TypedDict, total=False): ... +class PauseQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PurgeQueueRequest(typing_extensions.TypedDict, total=False): ... +class PurgeQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class QueryOverride(typing_extensions.TypedDict, total=False): +class QueryOverride(typing.TypedDict, total=False): queryParams: str @typing.type_check_only -class Queue(typing_extensions.TypedDict, total=False): +class Queue(typing.TypedDict, total=False): appEngineRoutingOverride: AppEngineRouting httpTarget: HttpTarget name: str @@ -189,21 +187,19 @@ class Queue(typing_extensions.TypedDict, total=False): rateLimits: RateLimits retryConfig: RetryConfig stackdriverLoggingConfig: StackdriverLoggingConfig - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "DISABLED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "PAUSED", "DISABLED"] @typing.type_check_only -class RateLimits(typing_extensions.TypedDict, total=False): +class RateLimits(typing.TypedDict, total=False): maxBurstSize: int maxConcurrentDispatches: int maxDispatchesPerSecond: float @typing.type_check_only -class ResumeQueueRequest(typing_extensions.TypedDict, total=False): ... +class ResumeQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryConfig(typing_extensions.TypedDict, total=False): +class RetryConfig(typing.TypedDict, total=False): maxAttempts: int maxBackoff: str maxDoublings: int @@ -211,25 +207,25 @@ class RetryConfig(typing_extensions.TypedDict, total=False): minBackoff: str @typing.type_check_only -class RunTaskRequest(typing_extensions.TypedDict, total=False): - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] +class RunTaskRequest(typing.TypedDict, total=False): + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class StackdriverLoggingConfig(typing_extensions.TypedDict, total=False): +class StackdriverLoggingConfig(typing.TypedDict, total=False): samplingRatio: float @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): appEngineHttpRequest: AppEngineHttpRequest createTime: str dispatchCount: int @@ -240,23 +236,23 @@ class Task(typing_extensions.TypedDict, total=False): name: str responseCount: int scheduleTime: str - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UriOverride(typing_extensions.TypedDict, total=False): +class UriOverride(typing.TypedDict, total=False): host: str pathOverride: PathOverride port: str queryOverride: QueryOverride - scheme: typing_extensions.Literal["SCHEME_UNSPECIFIED", "HTTP", "HTTPS"] - uriOverrideEnforceMode: typing_extensions.Literal[ + scheme: typing.Literal["SCHEME_UNSPECIFIED", "HTTP", "HTTPS"] + uriOverrideEnforceMode: typing.Literal[ "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED", "IF_NOT_EXISTS", "ALWAYS" ] diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi index 6ebd33cd2..d454f4798 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -27,6 +26,12 @@ class CloudTasksResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + @typing.type_check_only class QueuesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -38,6 +43,20 @@ class CloudTasksResource(googleapiclient.discovery.Resource): body: AcknowledgeTaskRequest, **kwargs: typing.Any, ) -> EmptyHttpRequest: ... + def batchCreate( + self, + *, + parent: str, + body: BatchCreateTasksRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def batchDelete( + self, + *, + parent: str, + body: BatchDeleteTasksRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def buffer( self, *, @@ -67,7 +86,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): self, *, name: str, - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -86,7 +105,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -201,6 +220,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> CmekConfigHttpRequest: ... + def operations(self) -> OperationsResource: ... def queues(self) -> QueuesResource: ... def locations(self) -> LocationsResource: ... @@ -284,6 +304,14 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... +@typing.type_check_only +class OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... + @typing.type_check_only class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi index 8b80f34d1..d44dcd38a 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta2/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcknowledgeTaskRequest(typing_extensions.TypedDict, total=False): +class AcknowledgeTaskRequest(typing.TypedDict, total=False): scheduleTime: str @typing.type_check_only -class AppEngineHttpRequest(typing_extensions.TypedDict, total=False): +class AppEngineHttpRequest(typing.TypedDict, total=False): appEngineRouting: AppEngineRouting headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -26,90 +24,101 @@ class AppEngineHttpRequest(typing_extensions.TypedDict, total=False): relativeUrl: str @typing.type_check_only -class AppEngineHttpTarget(typing_extensions.TypedDict, total=False): +class AppEngineHttpTarget(typing.TypedDict, total=False): appEngineRoutingOverride: AppEngineRouting @typing.type_check_only -class AppEngineRouting(typing_extensions.TypedDict, total=False): +class AppEngineRouting(typing.TypedDict, total=False): host: str instance: str service: str version: str @typing.type_check_only -class AttemptStatus(typing_extensions.TypedDict, total=False): +class AttemptStatus(typing.TypedDict, total=False): dispatchTime: str responseStatus: Status responseTime: str scheduleTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class BatchCreateTasksRequest(typing.TypedDict, total=False): + requestId: str + requests: _list[CreateTaskRequest] + +@typing.type_check_only +class BatchDeleteTasksRequest(typing.TypedDict, total=False): + names: _list[str] + requestId: str + +@typing.type_check_only +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BufferTaskRequest(typing_extensions.TypedDict, total=False): +class BufferTaskRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class BufferTaskResponse(typing_extensions.TypedDict, total=False): +class BufferTaskResponse(typing.TypedDict, total=False): task: Task @typing.type_check_only -class CancelLeaseRequest(typing_extensions.TypedDict, total=False): - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] +class CancelLeaseRequest(typing.TypedDict, total=False): + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] scheduleTime: str @typing.type_check_only -class CmekConfig(typing_extensions.TypedDict, total=False): +class CmekConfig(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class CreateTaskRequest(typing_extensions.TypedDict, total=False): - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] +class CreateTaskRequest(typing.TypedDict, total=False): + parent: str + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] task: Task @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class HeaderOverride(typing_extensions.TypedDict, total=False): +class HeaderOverride(typing.TypedDict, total=False): header: Header @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class HttpRequest(typing_extensions.TypedDict, total=False): +class HttpRequest(typing.TypedDict, total=False): body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -124,9 +133,9 @@ class HttpRequest(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class HttpTarget(typing_extensions.TypedDict, total=False): +class HttpTarget(typing.TypedDict, total=False): headerOverrides: _list[HeaderOverride] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -141,33 +150,33 @@ class HttpTarget(typing_extensions.TypedDict, total=False): uriOverride: UriOverride @typing.type_check_only -class LeaseTasksRequest(typing_extensions.TypedDict, total=False): +class LeaseTasksRequest(typing.TypedDict, total=False): filter: str leaseDuration: str maxTasks: int - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class LeaseTasksResponse(typing_extensions.TypedDict, total=False): +class LeaseTasksResponse(typing.TypedDict, total=False): tasks: _list[Task] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListQueuesResponse(typing_extensions.TypedDict, total=False): +class ListQueuesResponse(typing.TypedDict, total=False): nextPageToken: str queues: _list[Queue] @typing.type_check_only -class ListTasksResponse(typing_extensions.TypedDict, total=False): +class ListTasksResponse(typing.TypedDict, total=False): nextPageToken: str tasks: _list[Task] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -175,45 +184,53 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OAuthToken(typing_extensions.TypedDict, total=False): +class OAuthToken(typing.TypedDict, total=False): scope: str serviceAccountEmail: str @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class PathOverride(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class PathOverride(typing.TypedDict, total=False): path: str @typing.type_check_only -class PauseQueueRequest(typing_extensions.TypedDict, total=False): ... +class PauseQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PullMessage(typing_extensions.TypedDict, total=False): +class PullMessage(typing.TypedDict, total=False): payload: str tag: str @typing.type_check_only -class PullTarget(typing_extensions.TypedDict, total=False): ... +class PullTarget(typing.TypedDict, total=False): ... @typing.type_check_only -class PurgeQueueRequest(typing_extensions.TypedDict, total=False): ... +class PurgeQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class QueryOverride(typing_extensions.TypedDict, total=False): +class QueryOverride(typing.TypedDict, total=False): queryParams: str @typing.type_check_only -class Queue(typing_extensions.TypedDict, total=False): +class Queue(typing.TypedDict, total=False): appEngineHttpTarget: AppEngineHttpTarget httpTarget: HttpTarget name: str @@ -221,15 +238,13 @@ class Queue(typing_extensions.TypedDict, total=False): purgeTime: str rateLimits: RateLimits retryConfig: RetryConfig - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "DISABLED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "PAUSED", "DISABLED"] stats: QueueStats taskTtl: str tombstoneTtl: str @typing.type_check_only -class QueueStats(typing_extensions.TypedDict, total=False): +class QueueStats(typing.TypedDict, total=False): concurrentDispatchesCount: str effectiveExecutionRate: float executedLastMinuteCount: str @@ -237,22 +252,22 @@ class QueueStats(typing_extensions.TypedDict, total=False): tasksCount: str @typing.type_check_only -class RateLimits(typing_extensions.TypedDict, total=False): +class RateLimits(typing.TypedDict, total=False): maxBurstSize: int maxConcurrentTasks: int maxTasksDispatchedPerSecond: float @typing.type_check_only -class RenewLeaseRequest(typing_extensions.TypedDict, total=False): +class RenewLeaseRequest(typing.TypedDict, total=False): leaseDuration: str - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] scheduleTime: str @typing.type_check_only -class ResumeQueueRequest(typing_extensions.TypedDict, total=False): ... +class ResumeQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryConfig(typing_extensions.TypedDict, total=False): +class RetryConfig(typing.TypedDict, total=False): maxAttempts: int maxBackoff: str maxDoublings: int @@ -261,52 +276,53 @@ class RetryConfig(typing_extensions.TypedDict, total=False): unlimitedAttempts: bool @typing.type_check_only -class RunTaskRequest(typing_extensions.TypedDict, total=False): - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] +class RunTaskRequest(typing.TypedDict, total=False): + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): appEngineHttpRequest: AppEngineHttpRequest createTime: str httpRequest: HttpRequest name: str pullMessage: PullMessage + retryConfig: RetryConfig scheduleTime: str status: TaskStatus - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class TaskStatus(typing_extensions.TypedDict, total=False): +class TaskStatus(typing.TypedDict, total=False): attemptDispatchCount: int attemptResponseCount: int firstAttemptStatus: AttemptStatus lastAttemptStatus: AttemptStatus @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UriOverride(typing_extensions.TypedDict, total=False): +class UriOverride(typing.TypedDict, total=False): host: str pathOverride: PathOverride port: str queryOverride: QueryOverride - scheme: typing_extensions.Literal["SCHEME_UNSPECIFIED", "HTTP", "HTTPS"] - uriOverrideEnforceMode: typing_extensions.Literal[ + scheme: typing.Literal["SCHEME_UNSPECIFIED", "HTTP", "HTTPS"] + uriOverrideEnforceMode: typing.Literal[ "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED", "IF_NOT_EXISTS", "ALWAYS" ] diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi index f71c3d942..6a1c9e77e 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -17,10 +16,30 @@ class CloudTasksResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + @typing.type_check_only class QueuesResource(googleapiclient.discovery.Resource): @typing.type_check_only class TasksResource(googleapiclient.discovery.Resource): + def batchCreate( + self, + *, + parent: str, + body: BatchCreateTasksRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def batchDelete( + self, + *, + parent: str, + body: BatchDeleteTasksRequest, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def buffer( self, *, @@ -43,7 +62,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): self, *, name: str, - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -55,7 +74,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -163,6 +182,7 @@ class CloudTasksResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> CmekConfigHttpRequest: ... + def operations(self) -> OperationsResource: ... def queues(self) -> QueuesResource: ... def locations(self) -> LocationsResource: ... @@ -237,6 +257,14 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... +@typing.type_check_only +class OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... + @typing.type_check_only class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudtasks/v2beta3/schemas.pyi b/googleapiclient-stubs/_apis/cloudtasks/v2beta3/schemas.pyi index 22c5921a8..cfaa227db 100644 --- a/googleapiclient-stubs/_apis/cloudtasks/v2beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudtasks/v2beta3/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppEngineHttpQueue(typing_extensions.TypedDict, total=False): +class AppEngineHttpQueue(typing.TypedDict, total=False): appEngineRoutingOverride: AppEngineRouting @typing.type_check_only -class AppEngineHttpRequest(typing_extensions.TypedDict, total=False): +class AppEngineHttpRequest(typing.TypedDict, total=False): appEngineRouting: AppEngineRouting body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -26,81 +24,92 @@ class AppEngineHttpRequest(typing_extensions.TypedDict, total=False): relativeUri: str @typing.type_check_only -class AppEngineRouting(typing_extensions.TypedDict, total=False): +class AppEngineRouting(typing.TypedDict, total=False): host: str instance: str service: str version: str @typing.type_check_only -class Attempt(typing_extensions.TypedDict, total=False): +class Attempt(typing.TypedDict, total=False): dispatchTime: str responseStatus: Status responseTime: str scheduleTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class BatchCreateTasksRequest(typing.TypedDict, total=False): + requestId: str + requests: _list[CreateTaskRequest] + +@typing.type_check_only +class BatchDeleteTasksRequest(typing.TypedDict, total=False): + names: _list[str] + requestId: str + +@typing.type_check_only +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BufferTaskRequest(typing_extensions.TypedDict, total=False): +class BufferTaskRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class BufferTaskResponse(typing_extensions.TypedDict, total=False): +class BufferTaskResponse(typing.TypedDict, total=False): task: Task @typing.type_check_only -class CmekConfig(typing_extensions.TypedDict, total=False): +class CmekConfig(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class CreateTaskRequest(typing_extensions.TypedDict, total=False): - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] +class CreateTaskRequest(typing.TypedDict, total=False): + parent: str + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] task: Task @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class HeaderOverride(typing_extensions.TypedDict, total=False): +class HeaderOverride(typing.TypedDict, total=False): header: Header @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class HttpRequest(typing_extensions.TypedDict, total=False): +class HttpRequest(typing.TypedDict, total=False): body: str headers: dict[str, typing.Any] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -115,9 +124,9 @@ class HttpRequest(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class HttpTarget(typing_extensions.TypedDict, total=False): +class HttpTarget(typing.TypedDict, total=False): headerOverrides: _list[HeaderOverride] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -132,22 +141,22 @@ class HttpTarget(typing_extensions.TypedDict, total=False): uriOverride: UriOverride @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListQueuesResponse(typing_extensions.TypedDict, total=False): +class ListQueuesResponse(typing.TypedDict, total=False): nextPageToken: str queues: _list[Queue] @typing.type_check_only -class ListTasksResponse(typing_extensions.TypedDict, total=False): +class ListTasksResponse(typing.TypedDict, total=False): nextPageToken: str tasks: _list[Task] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -155,42 +164,50 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OAuthToken(typing_extensions.TypedDict, total=False): +class OAuthToken(typing.TypedDict, total=False): scope: str serviceAccountEmail: str @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class PathOverride(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class PathOverride(typing.TypedDict, total=False): path: str @typing.type_check_only -class PauseQueueRequest(typing_extensions.TypedDict, total=False): ... +class PauseQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PullMessage(typing_extensions.TypedDict, total=False): +class PullMessage(typing.TypedDict, total=False): payload: str tag: str @typing.type_check_only -class PurgeQueueRequest(typing_extensions.TypedDict, total=False): ... +class PurgeQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class QueryOverride(typing_extensions.TypedDict, total=False): +class QueryOverride(typing.TypedDict, total=False): queryParams: str @typing.type_check_only -class Queue(typing_extensions.TypedDict, total=False): +class Queue(typing.TypedDict, total=False): appEngineHttpQueue: AppEngineHttpQueue httpTarget: HttpTarget name: str @@ -198,16 +215,14 @@ class Queue(typing_extensions.TypedDict, total=False): rateLimits: RateLimits retryConfig: RetryConfig stackdriverLoggingConfig: StackdriverLoggingConfig - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "DISABLED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "PAUSED", "DISABLED"] stats: QueueStats taskTtl: str tombstoneTtl: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PULL", "PUSH"] + type: typing.Literal["TYPE_UNSPECIFIED", "PULL", "PUSH"] @typing.type_check_only -class QueueStats(typing_extensions.TypedDict, total=False): +class QueueStats(typing.TypedDict, total=False): concurrentDispatchesCount: str effectiveExecutionRate: float executedLastMinuteCount: str @@ -215,16 +230,16 @@ class QueueStats(typing_extensions.TypedDict, total=False): tasksCount: str @typing.type_check_only -class RateLimits(typing_extensions.TypedDict, total=False): +class RateLimits(typing.TypedDict, total=False): maxBurstSize: int maxConcurrentDispatches: int maxDispatchesPerSecond: float @typing.type_check_only -class ResumeQueueRequest(typing_extensions.TypedDict, total=False): ... +class ResumeQueueRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryConfig(typing_extensions.TypedDict, total=False): +class RetryConfig(typing.TypedDict, total=False): maxAttempts: int maxBackoff: str maxDoublings: int @@ -232,25 +247,25 @@ class RetryConfig(typing_extensions.TypedDict, total=False): minBackoff: str @typing.type_check_only -class RunTaskRequest(typing_extensions.TypedDict, total=False): - responseView: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] +class RunTaskRequest(typing.TypedDict, total=False): + responseView: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class StackdriverLoggingConfig(typing_extensions.TypedDict, total=False): +class StackdriverLoggingConfig(typing.TypedDict, total=False): samplingRatio: float @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): appEngineHttpRequest: AppEngineHttpRequest createTime: str dispatchCount: int @@ -261,24 +276,25 @@ class Task(typing_extensions.TypedDict, total=False): name: str pullMessage: PullMessage responseCount: int + retryConfig: RetryConfig scheduleTime: str - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UriOverride(typing_extensions.TypedDict, total=False): +class UriOverride(typing.TypedDict, total=False): host: str pathOverride: PathOverride port: str queryOverride: QueryOverride - scheme: typing_extensions.Literal["SCHEME_UNSPECIFIED", "HTTP", "HTTPS"] - uriOverrideEnforceMode: typing_extensions.Literal[ + scheme: typing.Literal["SCHEME_UNSPECIFIED", "HTTP", "HTTPS"] + uriOverrideEnforceMode: typing.Literal[ "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED", "IF_NOT_EXISTS", "ALWAYS" ] diff --git a/googleapiclient-stubs/_apis/cloudtrace/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudtrace/v1/resources.pyi index ba7c7fa9a..a46f8b745 100644 --- a/googleapiclient-stubs/_apis/cloudtrace/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtrace/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -30,7 +29,7 @@ class CloudTraceResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., startTime: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "VIEW_TYPE_UNSPECIFIED", "MINIMAL", "ROOTSPAN", "COMPLETE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/cloudtrace/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudtrace/v1/schemas.pyi index 472b9ade7..2a4adcd99 100644 --- a/googleapiclient-stubs/_apis/cloudtrace/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudtrace/v1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListTracesResponse(typing_extensions.TypedDict, total=False): +class ListTracesResponse(typing.TypedDict, total=False): nextPageToken: str traces: _list[Trace] @typing.type_check_only -class Trace(typing_extensions.TypedDict, total=False): +class Trace(typing.TypedDict, total=False): projectId: str spans: _list[TraceSpan] traceId: str @typing.type_check_only -class TraceSpan(typing_extensions.TypedDict, total=False): +class TraceSpan(typing.TypedDict, total=False): endTime: str - kind: typing_extensions.Literal["SPAN_KIND_UNSPECIFIED", "RPC_SERVER", "RPC_CLIENT"] + kind: typing.Literal["SPAN_KIND_UNSPECIFIED", "RPC_SERVER", "RPC_CLIENT"] labels: dict[str, typing.Any] name: str parentSpanId: str @@ -29,5 +27,5 @@ class TraceSpan(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Traces(typing_extensions.TypedDict, total=False): +class Traces(typing.TypedDict, total=False): traces: _list[Trace] diff --git a/googleapiclient-stubs/_apis/cloudtrace/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudtrace/v2/resources.pyi index dc6090c21..c206f25b0 100644 --- a/googleapiclient-stubs/_apis/cloudtrace/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtrace/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudtrace/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudtrace/v2/schemas.pyi index f6be1e304..b6da82a7a 100644 --- a/googleapiclient-stubs/_apis/cloudtrace/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudtrace/v2/schemas.pyi @@ -1,60 +1,56 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Annotation(typing_extensions.TypedDict, total=False): +class Annotation(typing.TypedDict, total=False): attributes: Attributes description: TruncatableString @typing.type_check_only -class AttributeValue(typing_extensions.TypedDict, total=False): +class AttributeValue(typing.TypedDict, total=False): boolValue: bool intValue: str stringValue: TruncatableString @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): attributeMap: dict[str, typing.Any] droppedAttributesCount: int @typing.type_check_only -class BatchWriteSpansRequest(typing_extensions.TypedDict, total=False): +class BatchWriteSpansRequest(typing.TypedDict, total=False): spans: _list[Span] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): attributes: Attributes spanId: str traceId: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "CHILD_LINKED_SPAN", "PARENT_LINKED_SPAN" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "CHILD_LINKED_SPAN", "PARENT_LINKED_SPAN"] @typing.type_check_only -class Links(typing_extensions.TypedDict, total=False): +class Links(typing.TypedDict, total=False): droppedLinksCount: int link: _list[Link] @typing.type_check_only -class MessageEvent(typing_extensions.TypedDict, total=False): +class MessageEvent(typing.TypedDict, total=False): compressedSizeBytes: str id: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SENT", "RECEIVED"] + type: typing.Literal["TYPE_UNSPECIFIED", "SENT", "RECEIVED"] uncompressedSizeBytes: str @typing.type_check_only -class Module(typing_extensions.TypedDict, total=False): +class Module(typing.TypedDict, total=False): buildId: TruncatableString module: TruncatableString @typing.type_check_only -class Span(typing_extensions.TypedDict, total=False): +class Span(typing.TypedDict, total=False): attributes: Attributes childSpanCount: int displayName: TruncatableString @@ -64,7 +60,7 @@ class Span(typing_extensions.TypedDict, total=False): parentSpanId: str sameProcessAsParentSpan: bool spanId: str - spanKind: typing_extensions.Literal[ + spanKind: typing.Literal[ "SPAN_KIND_UNSPECIFIED", "INTERNAL", "SERVER", "CLIENT", "PRODUCER", "CONSUMER" ] stackTrace: StackTrace @@ -73,7 +69,7 @@ class Span(typing_extensions.TypedDict, total=False): timeEvents: TimeEvents @typing.type_check_only -class StackFrame(typing_extensions.TypedDict, total=False): +class StackFrame(typing.TypedDict, total=False): columnNumber: str fileName: TruncatableString functionName: TruncatableString @@ -83,34 +79,34 @@ class StackFrame(typing_extensions.TypedDict, total=False): sourceVersion: TruncatableString @typing.type_check_only -class StackFrames(typing_extensions.TypedDict, total=False): +class StackFrames(typing.TypedDict, total=False): droppedFramesCount: int frame: _list[StackFrame] @typing.type_check_only -class StackTrace(typing_extensions.TypedDict, total=False): +class StackTrace(typing.TypedDict, total=False): stackFrames: StackFrames stackTraceHashId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeEvent(typing_extensions.TypedDict, total=False): +class TimeEvent(typing.TypedDict, total=False): annotation: Annotation messageEvent: MessageEvent time: str @typing.type_check_only -class TimeEvents(typing_extensions.TypedDict, total=False): +class TimeEvents(typing.TypedDict, total=False): droppedAnnotationsCount: int droppedMessageEventsCount: int timeEvent: _list[TimeEvent] @typing.type_check_only -class TruncatableString(typing_extensions.TypedDict, total=False): +class TruncatableString(typing.TypedDict, total=False): truncatedByteCount: int value: str diff --git a/googleapiclient-stubs/_apis/cloudtrace/v2beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudtrace/v2beta1/resources.pyi index 91f4e4c2d..1f5a34ef2 100644 --- a/googleapiclient-stubs/_apis/cloudtrace/v2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudtrace/v2beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/cloudtrace/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudtrace/v2beta1/schemas.pyi index a5e7ec9b5..745bdee26 100644 --- a/googleapiclient-stubs/_apis/cloudtrace/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudtrace/v2beta1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListTraceSinksResponse(typing_extensions.TypedDict, total=False): +class ListTraceSinksResponse(typing.TypedDict, total=False): nextPageToken: str sinks: _list[TraceSink] @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): destination: str @typing.type_check_only -class TraceSink(typing_extensions.TypedDict, total=False): +class TraceSink(typing.TypedDict, total=False): name: str outputConfig: OutputConfig writerIdentity: str diff --git a/googleapiclient-stubs/_apis/composer/v1/resources.pyi b/googleapiclient-stubs/_apis/composer/v1/resources.pyi index 4bea9f954..bd638b4ea 100644 --- a/googleapiclient-stubs/_apis/composer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi index 5b098cb99..0ed994078 100644 --- a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi @@ -1,32 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AirflowMetadataRetentionPolicyConfig(typing_extensions.TypedDict, total=False): +class AirflowMetadataRetentionPolicyConfig(typing.TypedDict, total=False): retentionDays: int - retentionMode: typing_extensions.Literal[ + retentionMode: typing.Literal[ "RETENTION_MODE_UNSPECIFIED", "RETENTION_MODE_ENABLED", "RETENTION_MODE_DISABLED", ] @typing.type_check_only -class AllowedIpRange(typing_extensions.TypedDict, total=False): +class AllowedIpRange(typing.TypedDict, total=False): description: str value: str @typing.type_check_only -class CheckUpgradeRequest(typing_extensions.TypedDict, total=False): +class CheckUpgradeRequest(typing.TypedDict, total=False): imageVersion: str @typing.type_check_only -class CheckUpgradeResponse(typing_extensions.TypedDict, total=False): +class CheckUpgradeResponse(typing.TypedDict, total=False): buildLogUri: str configConflicts: _list[ConfigConflict] - containsPypiModulesConflict: typing_extensions.Literal[ + containsPypiModulesConflict: typing.Literal[ "CONFLICT_RESULT_UNSPECIFIED", "CONFLICT", "NO_CONFLICT" ] imageVersion: str @@ -34,19 +32,19 @@ class CheckUpgradeResponse(typing_extensions.TypedDict, total=False): pypiDependencies: dict[str, typing.Any] @typing.type_check_only -class CidrBlock(typing_extensions.TypedDict, total=False): +class CidrBlock(typing.TypedDict, total=False): cidrBlock: str displayName: str @typing.type_check_only -class CloudDataLineageIntegration(typing_extensions.TypedDict, total=False): +class CloudDataLineageIntegration(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ComposerWorkload(typing_extensions.TypedDict, total=False): +class ComposerWorkload(typing.TypedDict, total=False): name: str status: ComposerWorkloadStatus - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPOSER_WORKLOAD_TYPE_UNSPECIFIED", "CELERY_WORKER", "KUBERNETES_WORKER", @@ -59,9 +57,9 @@ class ComposerWorkload(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ComposerWorkloadStatus(typing_extensions.TypedDict, total=False): +class ComposerWorkloadStatus(typing.TypedDict, total=False): detailedStatusMessage: str - state: typing_extensions.Literal[ + state: typing.Literal[ "COMPOSER_WORKLOAD_STATE_UNSPECIFIED", "PENDING", "OK", @@ -73,57 +71,55 @@ class ComposerWorkloadStatus(typing_extensions.TypedDict, total=False): statusMessage: str @typing.type_check_only -class ConfigConflict(typing_extensions.TypedDict, total=False): +class ConfigConflict(typing.TypedDict, total=False): message: str - type: typing_extensions.Literal[ - "CONFLICT_TYPE_UNSPECIFIED", "BLOCKING", "NON_BLOCKING" - ] + type: typing.Literal["CONFLICT_TYPE_UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] @typing.type_check_only -class DagProcessorResource(typing_extensions.TypedDict, total=False): +class DagProcessorResource(typing.TypedDict, total=False): count: int cpu: float memoryGb: float storageGb: float @typing.type_check_only -class DataRetentionConfig(typing_extensions.TypedDict, total=False): +class DataRetentionConfig(typing.TypedDict, total=False): airflowMetadataRetentionConfig: AirflowMetadataRetentionPolicyConfig taskLogsRetentionConfig: TaskLogsRetentionConfig @typing.type_check_only -class DatabaseConfig(typing_extensions.TypedDict, total=False): +class DatabaseConfig(typing.TypedDict, total=False): machineType: str zone: str @typing.type_check_only -class DatabaseFailoverRequest(typing_extensions.TypedDict, total=False): ... +class DatabaseFailoverRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DatabaseFailoverResponse(typing_extensions.TypedDict, total=False): ... +class DatabaseFailoverResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): config: EnvironmentConfig createTime: str labels: dict[str, typing.Any] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "UPDATING", "DELETING", "ERROR" ] storageConfig: StorageConfig @@ -131,14 +127,14 @@ class Environment(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class EnvironmentConfig(typing_extensions.TypedDict, total=False): +class EnvironmentConfig(typing.TypedDict, total=False): airflowByoidUri: str airflowUri: str dagGcsPrefix: str dataRetentionConfig: DataRetentionConfig databaseConfig: DatabaseConfig encryptionConfig: EncryptionConfig - environmentSize: typing_extensions.Literal[ + environmentSize: typing.Literal[ "ENVIRONMENT_SIZE_UNSPECIFIED", "ENVIRONMENT_SIZE_SMALL", "ENVIRONMENT_SIZE_MEDIUM", @@ -152,40 +148,38 @@ class EnvironmentConfig(typing_extensions.TypedDict, total=False): nodeCount: int privateEnvironmentConfig: PrivateEnvironmentConfig recoveryConfig: RecoveryConfig - resilienceMode: typing_extensions.Literal[ - "RESILIENCE_MODE_UNSPECIFIED", "HIGH_RESILIENCE" - ] + resilienceMode: typing.Literal["RESILIENCE_MODE_UNSPECIFIED", "HIGH_RESILIENCE"] softwareConfig: SoftwareConfig webServerConfig: WebServerConfig webServerNetworkAccessControl: WebServerNetworkAccessControl workloadsConfig: WorkloadsConfig @typing.type_check_only -class ExecuteAirflowCommandRequest(typing_extensions.TypedDict, total=False): +class ExecuteAirflowCommandRequest(typing.TypedDict, total=False): command: str parameters: _list[str] subcommand: str @typing.type_check_only -class ExecuteAirflowCommandResponse(typing_extensions.TypedDict, total=False): +class ExecuteAirflowCommandResponse(typing.TypedDict, total=False): error: str executionId: str pod: str podNamespace: str @typing.type_check_only -class ExitInfo(typing_extensions.TypedDict, total=False): +class ExitInfo(typing.TypedDict, total=False): error: str exitCode: int @typing.type_check_only -class FetchDatabasePropertiesResponse(typing_extensions.TypedDict, total=False): +class FetchDatabasePropertiesResponse(typing.TypedDict, total=False): isFailoverReplicaAvailable: bool primaryGceZone: str secondaryGceZone: str @typing.type_check_only -class IPAllocationPolicy(typing_extensions.TypedDict, total=False): +class IPAllocationPolicy(typing.TypedDict, total=False): clusterIpv4CidrBlock: str clusterSecondaryRangeName: str servicesIpv4CidrBlock: str @@ -193,7 +187,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): useIpAliases: bool @typing.type_check_only -class ImageVersion(typing_extensions.TypedDict, total=False): +class ImageVersion(typing.TypedDict, total=False): creationDisabled: bool imageVersionId: str isDefault: bool @@ -202,43 +196,43 @@ class ImageVersion(typing_extensions.TypedDict, total=False): upgradeDisabled: bool @typing.type_check_only -class Line(typing_extensions.TypedDict, total=False): +class Line(typing.TypedDict, total=False): content: str lineNumber: int @typing.type_check_only -class ListEnvironmentsResponse(typing_extensions.TypedDict, total=False): +class ListEnvironmentsResponse(typing.TypedDict, total=False): environments: _list[Environment] nextPageToken: str @typing.type_check_only -class ListImageVersionsResponse(typing_extensions.TypedDict, total=False): +class ListImageVersionsResponse(typing.TypedDict, total=False): imageVersions: _list[ImageVersion] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListUserWorkloadsConfigMapsResponse(typing_extensions.TypedDict, total=False): +class ListUserWorkloadsConfigMapsResponse(typing.TypedDict, total=False): nextPageToken: str userWorkloadsConfigMaps: _list[UserWorkloadsConfigMap] @typing.type_check_only -class ListUserWorkloadsSecretsResponse(typing_extensions.TypedDict, total=False): +class ListUserWorkloadsSecretsResponse(typing.TypedDict, total=False): nextPageToken: str userWorkloadsSecrets: _list[UserWorkloadsSecret] @typing.type_check_only -class ListWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListWorkloadsResponse(typing.TypedDict, total=False): nextPageToken: str workloads: _list[ComposerWorkload] @typing.type_check_only -class LoadSnapshotRequest(typing_extensions.TypedDict, total=False): +class LoadSnapshotRequest(typing.TypedDict, total=False): skipAirflowOverridesSetting: bool skipEnvironmentVariablesSetting: bool skipGcsDataCopying: bool @@ -246,27 +240,27 @@ class LoadSnapshotRequest(typing_extensions.TypedDict, total=False): snapshotPath: str @typing.type_check_only -class LoadSnapshotResponse(typing_extensions.TypedDict, total=False): ... +class LoadSnapshotResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): endTime: str recurrence: str startTime: str @typing.type_check_only -class MasterAuthorizedNetworksConfig(typing_extensions.TypedDict, total=False): +class MasterAuthorizedNetworksConfig(typing.TypedDict, total=False): cidrBlocks: _list[CidrBlock] enabled: bool @typing.type_check_only -class NetworkingConfig(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class NetworkingConfig(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "VPC_PEERING", "PRIVATE_SERVICE_CONNECT" ] @typing.type_check_only -class NodeConfig(typing_extensions.TypedDict, total=False): +class NodeConfig(typing.TypedDict, total=False): composerInternalIpv4CidrBlock: str composerNetworkAttachment: str diskSizeGb: int @@ -281,7 +275,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -289,10 +283,10 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "TYPE_UNSPECIFIED", "CREATE", "DELETE", @@ -305,31 +299,31 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): ] resource: str resourceUuid: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "SUCCESSFUL", "FAILED" ] @typing.type_check_only -class PollAirflowCommandRequest(typing_extensions.TypedDict, total=False): +class PollAirflowCommandRequest(typing.TypedDict, total=False): executionId: str nextLineNumber: int pod: str podNamespace: str @typing.type_check_only -class PollAirflowCommandResponse(typing_extensions.TypedDict, total=False): +class PollAirflowCommandResponse(typing.TypedDict, total=False): exitInfo: ExitInfo output: _list[Line] outputEnd: bool @typing.type_check_only -class PrivateClusterConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterConfig(typing.TypedDict, total=False): enablePrivateEndpoint: bool masterIpv4CidrBlock: str masterIpv4ReservedRange: str @typing.type_check_only -class PrivateEnvironmentConfig(typing_extensions.TypedDict, total=False): +class PrivateEnvironmentConfig(typing.TypedDict, total=False): cloudComposerConnectionSubnetwork: str cloudComposerNetworkIpv4CidrBlock: str cloudComposerNetworkIpv4ReservedRange: str @@ -338,117 +332,120 @@ class PrivateEnvironmentConfig(typing_extensions.TypedDict, total=False): enablePrivateEnvironment: bool enablePrivatelyUsedPublicIps: bool networkingConfig: NetworkingConfig - networkingType: typing_extensions.Literal[ - "NETWORKING_TYPE_UNSPECIFIED", "PRIVATE", "PUBLIC" - ] + networkingType: typing.Literal["NETWORKING_TYPE_UNSPECIFIED", "PRIVATE", "PUBLIC"] privateClusterConfig: PrivateClusterConfig webServerIpv4CidrBlock: str webServerIpv4ReservedRange: str @typing.type_check_only -class RecoveryConfig(typing_extensions.TypedDict, total=False): +class RecoveryConfig(typing.TypedDict, total=False): scheduledSnapshotsConfig: ScheduledSnapshotsConfig @typing.type_check_only -class RestartWebServerRequest(typing_extensions.TypedDict, total=False): ... +class RestartWebServerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SaveSnapshotRequest(typing_extensions.TypedDict, total=False): +class SaveSnapshotRequest(typing.TypedDict, total=False): snapshotLocation: str @typing.type_check_only -class SaveSnapshotResponse(typing_extensions.TypedDict, total=False): +class SaveSnapshotResponse(typing.TypedDict, total=False): snapshotPath: str @typing.type_check_only -class ScheduledSnapshotsConfig(typing_extensions.TypedDict, total=False): +class ScheduledSnapshotsConfig(typing.TypedDict, total=False): enabled: bool snapshotCreationSchedule: str snapshotLocation: str timeZone: str @typing.type_check_only -class SchedulerResource(typing_extensions.TypedDict, total=False): +class SchedulerResource(typing.TypedDict, total=False): count: int cpu: float memoryGb: float storageGb: float @typing.type_check_only -class SoftwareConfig(typing_extensions.TypedDict, total=False): +class SoftwareConfig(typing.TypedDict, total=False): airflowConfigOverrides: dict[str, typing.Any] + auditLogsReplicationMode: typing.Literal[ + "AUDIT_LOGS_REPLICATION_MODE_UNSPECIFIED", + "AUDIT_LOGS_REPLICATION_DISABLED", + "AUDIT_LOGS_REPLICATION_ENABLED", + ] cloudDataLineageIntegration: CloudDataLineageIntegration envVariables: dict[str, typing.Any] imageVersion: str pypiPackages: dict[str, typing.Any] pythonVersion: str schedulerCount: int - webServerPluginsMode: typing_extensions.Literal[ + webServerPluginsMode: typing.Literal[ "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED", "PLUGINS_DISABLED", "PLUGINS_ENABLED" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopAirflowCommandRequest(typing_extensions.TypedDict, total=False): +class StopAirflowCommandRequest(typing.TypedDict, total=False): executionId: str force: bool pod: str podNamespace: str @typing.type_check_only -class StopAirflowCommandResponse(typing_extensions.TypedDict, total=False): +class StopAirflowCommandResponse(typing.TypedDict, total=False): isDone: bool output: _list[str] @typing.type_check_only -class StorageConfig(typing_extensions.TypedDict, total=False): +class StorageConfig(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class TaskLogsRetentionConfig(typing_extensions.TypedDict, total=False): - storageMode: typing_extensions.Literal[ +class TaskLogsRetentionConfig(typing.TypedDict, total=False): + storageMode: typing.Literal[ "TASK_LOGS_STORAGE_MODE_UNSPECIFIED", "CLOUD_LOGGING_AND_CLOUD_STORAGE", "CLOUD_LOGGING_ONLY", ] @typing.type_check_only -class TriggererResource(typing_extensions.TypedDict, total=False): +class TriggererResource(typing.TypedDict, total=False): count: int cpu: float memoryGb: float @typing.type_check_only -class UserWorkloadsConfigMap(typing_extensions.TypedDict, total=False): +class UserWorkloadsConfigMap(typing.TypedDict, total=False): data: dict[str, typing.Any] name: str @typing.type_check_only -class UserWorkloadsSecret(typing_extensions.TypedDict, total=False): +class UserWorkloadsSecret(typing.TypedDict, total=False): data: dict[str, typing.Any] name: str @typing.type_check_only -class WebServerConfig(typing_extensions.TypedDict, total=False): +class WebServerConfig(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class WebServerNetworkAccessControl(typing_extensions.TypedDict, total=False): +class WebServerNetworkAccessControl(typing.TypedDict, total=False): allowedIpRanges: _list[AllowedIpRange] @typing.type_check_only -class WebServerResource(typing_extensions.TypedDict, total=False): +class WebServerResource(typing.TypedDict, total=False): cpu: float memoryGb: float storageGb: float @typing.type_check_only -class WorkerResource(typing_extensions.TypedDict, total=False): +class WorkerResource(typing.TypedDict, total=False): cpu: float maxCount: int memoryGb: float @@ -456,7 +453,7 @@ class WorkerResource(typing_extensions.TypedDict, total=False): storageGb: float @typing.type_check_only -class WorkloadsConfig(typing_extensions.TypedDict, total=False): +class WorkloadsConfig(typing.TypedDict, total=False): dagProcessor: DagProcessorResource scheduler: SchedulerResource triggerer: TriggererResource diff --git a/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi index 4bea9f954..bd638b4ea 100644 --- a/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi index 67691f8bc..7d3e2e216 100644 --- a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi @@ -1,32 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AirflowMetadataRetentionPolicyConfig(typing_extensions.TypedDict, total=False): +class AirflowMetadataRetentionPolicyConfig(typing.TypedDict, total=False): retentionDays: int - retentionMode: typing_extensions.Literal[ + retentionMode: typing.Literal[ "RETENTION_MODE_UNSPECIFIED", "RETENTION_MODE_ENABLED", "RETENTION_MODE_DISABLED", ] @typing.type_check_only -class AllowedIpRange(typing_extensions.TypedDict, total=False): +class AllowedIpRange(typing.TypedDict, total=False): description: str value: str @typing.type_check_only -class CheckUpgradeRequest(typing_extensions.TypedDict, total=False): +class CheckUpgradeRequest(typing.TypedDict, total=False): imageVersion: str @typing.type_check_only -class CheckUpgradeResponse(typing_extensions.TypedDict, total=False): +class CheckUpgradeResponse(typing.TypedDict, total=False): buildLogUri: str configConflicts: _list[ConfigConflict] - containsPypiModulesConflict: typing_extensions.Literal[ + containsPypiModulesConflict: typing.Literal[ "CONFLICT_RESULT_UNSPECIFIED", "CONFLICT", "NO_CONFLICT" ] imageVersion: str @@ -34,19 +32,19 @@ class CheckUpgradeResponse(typing_extensions.TypedDict, total=False): pypiDependencies: dict[str, typing.Any] @typing.type_check_only -class CidrBlock(typing_extensions.TypedDict, total=False): +class CidrBlock(typing.TypedDict, total=False): cidrBlock: str displayName: str @typing.type_check_only -class CloudDataLineageIntegration(typing_extensions.TypedDict, total=False): +class CloudDataLineageIntegration(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ComposerWorkload(typing_extensions.TypedDict, total=False): +class ComposerWorkload(typing.TypedDict, total=False): name: str status: ComposerWorkloadStatus - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPOSER_WORKLOAD_TYPE_UNSPECIFIED", "CELERY_WORKER", "KUBERNETES_WORKER", @@ -59,9 +57,9 @@ class ComposerWorkload(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ComposerWorkloadStatus(typing_extensions.TypedDict, total=False): +class ComposerWorkloadStatus(typing.TypedDict, total=False): detailedStatusMessage: str - state: typing_extensions.Literal[ + state: typing.Literal[ "COMPOSER_WORKLOAD_STATE_UNSPECIFIED", "PENDING", "OK", @@ -73,58 +71,56 @@ class ComposerWorkloadStatus(typing_extensions.TypedDict, total=False): statusMessage: str @typing.type_check_only -class ConfigConflict(typing_extensions.TypedDict, total=False): +class ConfigConflict(typing.TypedDict, total=False): message: str - type: typing_extensions.Literal[ - "CONFLICT_TYPE_UNSPECIFIED", "BLOCKING", "NON_BLOCKING" - ] + type: typing.Literal["CONFLICT_TYPE_UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] @typing.type_check_only -class DagProcessorResource(typing_extensions.TypedDict, total=False): +class DagProcessorResource(typing.TypedDict, total=False): count: int cpu: float memoryGb: float storageGb: float @typing.type_check_only -class DataRetentionConfig(typing_extensions.TypedDict, total=False): +class DataRetentionConfig(typing.TypedDict, total=False): airflowDatabaseRetentionDays: int airflowMetadataRetentionConfig: AirflowMetadataRetentionPolicyConfig taskLogsRetentionConfig: TaskLogsRetentionConfig @typing.type_check_only -class DatabaseConfig(typing_extensions.TypedDict, total=False): +class DatabaseConfig(typing.TypedDict, total=False): machineType: str zone: str @typing.type_check_only -class DatabaseFailoverRequest(typing_extensions.TypedDict, total=False): ... +class DatabaseFailoverRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DatabaseFailoverResponse(typing_extensions.TypedDict, total=False): ... +class DatabaseFailoverResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): config: EnvironmentConfig createTime: str labels: dict[str, typing.Any] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "UPDATING", "DELETING", "ERROR" ] storageConfig: StorageConfig @@ -132,14 +128,14 @@ class Environment(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class EnvironmentConfig(typing_extensions.TypedDict, total=False): +class EnvironmentConfig(typing.TypedDict, total=False): airflowByoidUri: str airflowUri: str dagGcsPrefix: str dataRetentionConfig: DataRetentionConfig databaseConfig: DatabaseConfig encryptionConfig: EncryptionConfig - environmentSize: typing_extensions.Literal[ + environmentSize: typing.Literal[ "ENVIRONMENT_SIZE_UNSPECIFIED", "ENVIRONMENT_SIZE_SMALL", "ENVIRONMENT_SIZE_MEDIUM", @@ -153,40 +149,38 @@ class EnvironmentConfig(typing_extensions.TypedDict, total=False): nodeCount: int privateEnvironmentConfig: PrivateEnvironmentConfig recoveryConfig: RecoveryConfig - resilienceMode: typing_extensions.Literal[ - "RESILIENCE_MODE_UNSPECIFIED", "HIGH_RESILIENCE" - ] + resilienceMode: typing.Literal["RESILIENCE_MODE_UNSPECIFIED", "HIGH_RESILIENCE"] softwareConfig: SoftwareConfig webServerConfig: WebServerConfig webServerNetworkAccessControl: WebServerNetworkAccessControl workloadsConfig: WorkloadsConfig @typing.type_check_only -class ExecuteAirflowCommandRequest(typing_extensions.TypedDict, total=False): +class ExecuteAirflowCommandRequest(typing.TypedDict, total=False): command: str parameters: _list[str] subcommand: str @typing.type_check_only -class ExecuteAirflowCommandResponse(typing_extensions.TypedDict, total=False): +class ExecuteAirflowCommandResponse(typing.TypedDict, total=False): error: str executionId: str pod: str podNamespace: str @typing.type_check_only -class ExitInfo(typing_extensions.TypedDict, total=False): +class ExitInfo(typing.TypedDict, total=False): error: str exitCode: int @typing.type_check_only -class FetchDatabasePropertiesResponse(typing_extensions.TypedDict, total=False): +class FetchDatabasePropertiesResponse(typing.TypedDict, total=False): isFailoverReplicaAvailable: bool primaryGceZone: str secondaryGceZone: str @typing.type_check_only -class IPAllocationPolicy(typing_extensions.TypedDict, total=False): +class IPAllocationPolicy(typing.TypedDict, total=False): clusterIpv4CidrBlock: str clusterSecondaryRangeName: str servicesIpv4CidrBlock: str @@ -194,7 +188,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): useIpAliases: bool @typing.type_check_only -class ImageVersion(typing_extensions.TypedDict, total=False): +class ImageVersion(typing.TypedDict, total=False): creationDisabled: bool imageVersionId: str isDefault: bool @@ -203,43 +197,43 @@ class ImageVersion(typing_extensions.TypedDict, total=False): upgradeDisabled: bool @typing.type_check_only -class Line(typing_extensions.TypedDict, total=False): +class Line(typing.TypedDict, total=False): content: str lineNumber: int @typing.type_check_only -class ListEnvironmentsResponse(typing_extensions.TypedDict, total=False): +class ListEnvironmentsResponse(typing.TypedDict, total=False): environments: _list[Environment] nextPageToken: str @typing.type_check_only -class ListImageVersionsResponse(typing_extensions.TypedDict, total=False): +class ListImageVersionsResponse(typing.TypedDict, total=False): imageVersions: _list[ImageVersion] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListUserWorkloadsConfigMapsResponse(typing_extensions.TypedDict, total=False): +class ListUserWorkloadsConfigMapsResponse(typing.TypedDict, total=False): nextPageToken: str userWorkloadsConfigMaps: _list[UserWorkloadsConfigMap] @typing.type_check_only -class ListUserWorkloadsSecretsResponse(typing_extensions.TypedDict, total=False): +class ListUserWorkloadsSecretsResponse(typing.TypedDict, total=False): nextPageToken: str userWorkloadsSecrets: _list[UserWorkloadsSecret] @typing.type_check_only -class ListWorkloadsResponse(typing_extensions.TypedDict, total=False): +class ListWorkloadsResponse(typing.TypedDict, total=False): nextPageToken: str workloads: _list[ComposerWorkload] @typing.type_check_only -class LoadSnapshotRequest(typing_extensions.TypedDict, total=False): +class LoadSnapshotRequest(typing.TypedDict, total=False): skipAirflowOverridesSetting: bool skipEnvironmentVariablesSetting: bool skipGcsDataCopying: bool @@ -247,27 +241,27 @@ class LoadSnapshotRequest(typing_extensions.TypedDict, total=False): snapshotPath: str @typing.type_check_only -class LoadSnapshotResponse(typing_extensions.TypedDict, total=False): ... +class LoadSnapshotResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): endTime: str recurrence: str startTime: str @typing.type_check_only -class MasterAuthorizedNetworksConfig(typing_extensions.TypedDict, total=False): +class MasterAuthorizedNetworksConfig(typing.TypedDict, total=False): cidrBlocks: _list[CidrBlock] enabled: bool @typing.type_check_only -class NetworkingConfig(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class NetworkingConfig(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "VPC_PEERING", "PRIVATE_SERVICE_CONNECT" ] @typing.type_check_only -class NodeConfig(typing_extensions.TypedDict, total=False): +class NodeConfig(typing.TypedDict, total=False): composerInternalIpv4CidrBlock: str composerNetworkAttachment: str diskSizeGb: int @@ -284,7 +278,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): trafficRoutingConfig: TrafficRoutingConfig @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -292,10 +286,10 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "TYPE_UNSPECIFIED", "CREATE", "DELETE", @@ -308,31 +302,31 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): ] resource: str resourceUuid: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCESSFUL", "FAILED" ] @typing.type_check_only -class PollAirflowCommandRequest(typing_extensions.TypedDict, total=False): +class PollAirflowCommandRequest(typing.TypedDict, total=False): executionId: str nextLineNumber: int pod: str podNamespace: str @typing.type_check_only -class PollAirflowCommandResponse(typing_extensions.TypedDict, total=False): +class PollAirflowCommandResponse(typing.TypedDict, total=False): exitInfo: ExitInfo output: _list[Line] outputEnd: bool @typing.type_check_only -class PrivateClusterConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterConfig(typing.TypedDict, total=False): enablePrivateEndpoint: bool masterIpv4CidrBlock: str masterIpv4ReservedRange: str @typing.type_check_only -class PrivateEnvironmentConfig(typing_extensions.TypedDict, total=False): +class PrivateEnvironmentConfig(typing.TypedDict, total=False): cloudComposerConnectionSubnetwork: str cloudComposerNetworkIpv4CidrBlock: str cloudComposerNetworkIpv4ReservedRange: str @@ -341,124 +335,127 @@ class PrivateEnvironmentConfig(typing_extensions.TypedDict, total=False): enablePrivateEnvironment: bool enablePrivatelyUsedPublicIps: bool networkingConfig: NetworkingConfig - networkingType: typing_extensions.Literal[ - "NETWORKING_TYPE_UNSPECIFIED", "PRIVATE", "PUBLIC" - ] + networkingType: typing.Literal["NETWORKING_TYPE_UNSPECIFIED", "PRIVATE", "PUBLIC"] privateClusterConfig: PrivateClusterConfig webServerIpv4CidrBlock: str webServerIpv4ReservedRange: str @typing.type_check_only -class RecoveryConfig(typing_extensions.TypedDict, total=False): +class RecoveryConfig(typing.TypedDict, total=False): scheduledSnapshotsConfig: ScheduledSnapshotsConfig @typing.type_check_only -class RestartWebServerRequest(typing_extensions.TypedDict, total=False): ... +class RestartWebServerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SaveSnapshotRequest(typing_extensions.TypedDict, total=False): +class SaveSnapshotRequest(typing.TypedDict, total=False): snapshotLocation: str @typing.type_check_only -class SaveSnapshotResponse(typing_extensions.TypedDict, total=False): +class SaveSnapshotResponse(typing.TypedDict, total=False): snapshotPath: str @typing.type_check_only -class ScheduledSnapshotsConfig(typing_extensions.TypedDict, total=False): +class ScheduledSnapshotsConfig(typing.TypedDict, total=False): enabled: bool snapshotCreationSchedule: str snapshotLocation: str timeZone: str @typing.type_check_only -class SchedulerResource(typing_extensions.TypedDict, total=False): +class SchedulerResource(typing.TypedDict, total=False): count: int cpu: float memoryGb: float storageGb: float @typing.type_check_only -class SoftwareConfig(typing_extensions.TypedDict, total=False): +class SoftwareConfig(typing.TypedDict, total=False): airflowConfigOverrides: dict[str, typing.Any] + auditLogsReplicationMode: typing.Literal[ + "AUDIT_LOGS_REPLICATION_MODE_UNSPECIFIED", + "AUDIT_LOGS_REPLICATION_DISABLED", + "AUDIT_LOGS_REPLICATION_ENABLED", + ] cloudDataLineageIntegration: CloudDataLineageIntegration envVariables: dict[str, typing.Any] imageVersion: str pypiPackages: dict[str, typing.Any] pythonVersion: str schedulerCount: int - webServerPluginsMode: typing_extensions.Literal[ + webServerPluginsMode: typing.Literal[ "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED", "PLUGINS_DISABLED", "PLUGINS_ENABLED" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopAirflowCommandRequest(typing_extensions.TypedDict, total=False): +class StopAirflowCommandRequest(typing.TypedDict, total=False): executionId: str force: bool pod: str podNamespace: str @typing.type_check_only -class StopAirflowCommandResponse(typing_extensions.TypedDict, total=False): +class StopAirflowCommandResponse(typing.TypedDict, total=False): isDone: bool output: _list[str] @typing.type_check_only -class StorageConfig(typing_extensions.TypedDict, total=False): +class StorageConfig(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class TaskLogsRetentionConfig(typing_extensions.TypedDict, total=False): - storageMode: typing_extensions.Literal[ +class TaskLogsRetentionConfig(typing.TypedDict, total=False): + storageMode: typing.Literal[ "TASK_LOGS_STORAGE_MODE_UNSPECIFIED", "CLOUD_LOGGING_AND_CLOUD_STORAGE", "CLOUD_LOGGING_ONLY", ] @typing.type_check_only -class TrafficRoutingConfig(typing_extensions.TypedDict, total=False): - cloudRunFunctionsRouting: typing_extensions.Literal[ +class TrafficRoutingConfig(typing.TypedDict, total=False): + cloudRunFunctionsRouting: typing.Literal[ "ROUTING_MODE_UNSPECIFIED", "DIRECT", "VIA_NETWORK_ATTACHMENT" ] @typing.type_check_only -class TriggererResource(typing_extensions.TypedDict, total=False): +class TriggererResource(typing.TypedDict, total=False): count: int cpu: float memoryGb: float @typing.type_check_only -class UserWorkloadsConfigMap(typing_extensions.TypedDict, total=False): +class UserWorkloadsConfigMap(typing.TypedDict, total=False): data: dict[str, typing.Any] name: str @typing.type_check_only -class UserWorkloadsSecret(typing_extensions.TypedDict, total=False): +class UserWorkloadsSecret(typing.TypedDict, total=False): data: dict[str, typing.Any] name: str type: str @typing.type_check_only -class WebServerConfig(typing_extensions.TypedDict, total=False): +class WebServerConfig(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class WebServerNetworkAccessControl(typing_extensions.TypedDict, total=False): +class WebServerNetworkAccessControl(typing.TypedDict, total=False): allowedIpRanges: _list[AllowedIpRange] @typing.type_check_only -class WebServerResource(typing_extensions.TypedDict, total=False): +class WebServerResource(typing.TypedDict, total=False): cpu: float memoryGb: float storageGb: float @typing.type_check_only -class WorkerResource(typing_extensions.TypedDict, total=False): +class WorkerResource(typing.TypedDict, total=False): cpu: float maxCount: int memoryGb: float @@ -466,7 +463,7 @@ class WorkerResource(typing_extensions.TypedDict, total=False): storageGb: float @typing.type_check_only -class WorkloadsConfig(typing_extensions.TypedDict, total=False): +class WorkloadsConfig(typing.TypedDict, total=False): dagProcessor: DagProcessorResource scheduler: SchedulerResource triggerer: TriggererResource diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index 502283313..ce177de77 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -13,6 +12,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( @@ -141,6 +192,16 @@ class ComputeResource(googleapiclient.discovery.Resource): body: TestPermissionsRequest, **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + def updatePublicPtr( + self, + *, + project: str, + region: str, + address: str, + body: RegionAddressesUpdatePublicPtrRequest, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class AdviceResource(googleapiclient.discovery.Resource): @@ -152,6 +213,14 @@ class ComputeResource(googleapiclient.discovery.Resource): body: CalendarModeAdviceRequest, **kwargs: typing.Any, ) -> CalendarModeAdviceResponseHttpRequest: ... + def calendarModeExtension( + self, + *, + project: str, + region: str, + body: CalendarModeExtensionAdviceRequest, + **kwargs: typing.Any, + ) -> CalendarModeExtensionAdviceResponseHttpRequest: ... def capacity( self, *, @@ -609,6 +678,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( @@ -1380,9 +1515,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, forwardingRule: str, - view: typing_extensions.Literal[ - "BASIC", "FORWARDING_RULE_VIEW_UNSPECIFIED", "FULL" - ] + view: typing.Literal["BASIC", "FORWARDING_RULE_VIEW_UNSPECIFIED", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... @@ -1640,9 +1773,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, forwardingRule: str, - view: typing_extensions.Literal[ - "BASIC", "FORWARDING_RULE_VIEW_UNSPECIFIED", "FULL" - ] + view: typing.Literal["BASIC", "FORWARDING_RULE_VIEW_UNSPECIFIED", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... @@ -2995,9 +3126,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, instanceTemplate: str, - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateHttpRequest: ... @@ -3026,9 +3155,7 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateListHttpRequest: ... @@ -3172,9 +3299,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, zone: str, instance: str, - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceHttpRequest: ... @@ -3264,9 +3389,7 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceListHttpRequest: ... @@ -3590,11 +3713,9 @@ class ComputeResource(googleapiclient.discovery.Resource): body: Instance, clearSecureTag: bool | None = ..., discardLocalSsd: bool | None = ..., - minimalAction: typing_extensions.Literal[ - "INVALID", "NO_EFFECT", "REFRESH", "RESTART" - ] + minimalAction: typing.Literal["INVALID", "NO_EFFECT", "REFRESH", "RESTART"] | None = ..., - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "INVALID", "NO_EFFECT", "REFRESH", "RESTART" ] | None = ..., @@ -4230,6 +4351,15 @@ class ComputeResource(googleapiclient.discovery.Resource): body: GlobalSetLabelsRequest, **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def setName( + self, + *, + project: str, + interconnect: str, + body: InterconnectsSetNameRequest, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def testIamPermissions( self, *, @@ -4453,6 +4583,28 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_response: MachineTypeList, ) -> MachineTypeListHttpRequest | None: ... + @typing.type_check_only + class ManagedRulesetsResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, managedRuleset: str, **kwargs: typing.Any + ) -> ManagedRulesetHttpRequest: ... + def list( + self, + *, + project: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ManagedRulesetListHttpRequest: ... + def list_next( + self, + previous_request: ManagedRulesetListHttpRequest, + previous_response: ManagedRulesetList, + ) -> ManagedRulesetListHttpRequest | None: ... + @typing.type_check_only class NetworkAttachmentsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -5062,7 +5214,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, network: str, - direction: typing_extensions.Literal["INCOMING", "OUTGOING"] | None = ..., + direction: typing.Literal["INCOMING", "OUTGOING"] | None = ..., filter: str | None = ..., maxResults: int | None = ..., orderBy: str | None = ..., @@ -7812,9 +7964,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, instanceTemplate: str, - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateHttpRequest: ... @@ -7837,9 +7987,7 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateListHttpRequest: ... @@ -8948,6 +9096,15 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, region: str, sslPolicy: str, **kwargs: typing.Any ) -> SslPolicyHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + optionsRequestedPolicyVersion: int | None = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def insert( self, *, @@ -8996,6 +9153,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + body: RegionSetPolicyRequest, + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def testIamPermissions( self, *, @@ -9367,7 +9533,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, reservation: str, reservationBlock: str, - view: typing_extensions.Literal["BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL"] + view: typing.Literal["BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ReservationBlocksGetResponseHttpRequest: ... @@ -9401,6 +9567,27 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class ReservationConsumedInstancesResource(googleapiclient.discovery.Resource): + def list( + self, + *, + project: str, + zone: str, + reservation: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ReservationConsumedInstancesListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReservationConsumedInstancesListResponseHttpRequest, + previous_response: ReservationConsumedInstancesListResponse, + ) -> ReservationConsumedInstancesListResponseHttpRequest | None: ... + @typing.type_check_only class ReservationSlotsResource(googleapiclient.discovery.Resource): def get( @@ -9412,6 +9599,16 @@ class ComputeResource(googleapiclient.discovery.Resource): reservationSlot: str, **kwargs: typing.Any, ) -> ReservationSlotsGetResponseHttpRequest: ... + def getHealth( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSlot: str, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def getVersion( self, *, @@ -9462,7 +9659,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, parentName: str, reservationSubBlock: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "SUB_BLOCK_VIEW_BASIC", "SUB_BLOCK_VIEW_FULL", "SUB_BLOCK_VIEW_UNSPECIFIED", @@ -9884,6 +10081,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, router: str, + etag: str | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -9989,9 +10187,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, router: str, - addressFamily: typing_extensions.Literal[ - "IPV4", "IPV6", "UNSPECIFIED_IP_VERSION" - ] + addressFamily: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_IP_VERSION"] | None = ..., destinationPrefix: str | None = ..., filter: str | None = ..., @@ -10001,9 +10197,7 @@ class ComputeResource(googleapiclient.discovery.Resource): peer: str | None = ..., policyApplied: bool | None = ..., returnPartialSuccess: bool | None = ..., - routeType: typing_extensions.Literal[ - "ADVERTISED", "LEARNED", "UNSPECIFIED_ROUTE_TYPE" - ] + routeType: typing.Literal["ADVERTISED", "LEARNED", "UNSPECIFIED_ROUTE_TYPE"] | None = ..., **kwargs: typing.Any, ) -> RoutersListBgpRoutesHttpRequest: ... @@ -10690,6 +10884,14 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, sslPolicy: str, **kwargs: typing.Any ) -> SslPolicyHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int | None = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def insert( self, *, @@ -10734,6 +10936,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest, + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... def testIamPermissions( self, *, @@ -10922,8 +11132,8 @@ class ComputeResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., serviceProjectNumber: str | None = ..., - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkAggregatedListHttpRequest: ... @@ -10957,8 +11167,8 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, subnetwork: str, - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkHttpRequest: ... @@ -10990,8 +11200,8 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkListHttpRequest: ... @@ -12350,6 +12560,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 +12568,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: ... @@ -12409,6 +12621,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def licenses(self) -> LicensesResource: ... def machineImages(self) -> MachineImagesResource: ... def machineTypes(self) -> MachineTypesResource: ... + def managedRulesets(self) -> ManagedRulesetsResource: ... def networkAttachments(self) -> NetworkAttachmentsResource: ... def networkEdgeSecurityServices(self) -> NetworkEdgeSecurityServicesResource: ... def networkEndpointGroups(self) -> NetworkEndpointGroupsResource: ... @@ -12484,6 +12697,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regions(self) -> RegionsResource: ... def reliabilityRisks(self) -> ReliabilityRisksResource: ... def reservationBlocks(self) -> ReservationBlocksResource: ... + def reservationConsumedInstances(self) -> ReservationConsumedInstancesResource: ... def reservationSlots(self) -> ReservationSlotsResource: ... def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... @@ -12522,6 +12736,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( @@ -12684,6 +12916,14 @@ class CalendarModeAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CalendarModeAdviceResponse: ... +@typing.type_check_only +class CalendarModeExtensionAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CalendarModeExtensionAdviceResponse: ... + @typing.type_check_only class CapacityAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12772,6 +13012,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( @@ -13718,6 +13974,22 @@ class MachineTypeListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> MachineTypeList: ... +@typing.type_check_only +class ManagedRulesetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ManagedRuleset: ... + +@typing.type_check_only +class ManagedRulesetListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ManagedRulesetList: ... + @typing.type_check_only class MultiMigHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -14404,6 +14676,16 @@ class ReservationBlocksListResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ReservationBlocksListResponse: ... +@typing.type_check_only +class ReservationConsumedInstancesListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationConsumedInstancesListResponse: ... + @typing.type_check_only class ReservationListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index 672be0740..a1a88c4dd 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi @@ -1,29 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AWSV4Signature(typing_extensions.TypedDict, total=False): +class AWSV4Signature(typing.TypedDict, total=False): accessKey: str accessKeyId: str accessKeyVersion: str originRegion: str @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: int acceleratorType: str @typing.type_check_only -class AcceleratorTopologiesInfo(typing_extensions.TypedDict, total=False): +class AcceleratorPodController(typing.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.TypedDict, total=False): + items: _list[AcceleratorPodController] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class AcceleratorTopologiesInfo(typing.TypedDict, total=False): acceleratorTopologyInfos: _list[AcceleratorTopologiesInfoAcceleratorTopologyInfo] @typing.type_check_only -class AcceleratorTopologiesInfoAcceleratorTopologyInfo( - typing_extensions.TypedDict, total=False -): +class AcceleratorTopologiesInfoAcceleratorTopologyInfo(typing.TypedDict, total=False): acceleratorTopology: str infoPerTopologyStates: _list[ AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState @@ -31,15 +48,15 @@ class AcceleratorTopologiesInfoAcceleratorTopologyInfo( @typing.type_check_only class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: int - state: typing_extensions.Literal[ + state: typing.Literal[ "AVAILABLE", "DEGRADED", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" ] @typing.type_check_only -class AcceleratorType(typing_extensions.TypedDict, total=False): +class AcceleratorType(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -52,7 +69,7 @@ class AcceleratorType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class AcceleratorTypeAggregatedList(typing_extensions.TypedDict, total=False): +class AcceleratorTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -62,7 +79,7 @@ class AcceleratorTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AcceleratorTypeList(typing_extensions.TypedDict, total=False): +class AcceleratorTypeList(typing.TypedDict, total=False): id: str items: _list[AcceleratorType] kind: str @@ -71,18 +88,18 @@ class AcceleratorTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AcceleratorTypesScopedList(typing_extensions.TypedDict, total=False): +class AcceleratorTypesScopedList(typing.TypedDict, total=False): acceleratorTypes: _list[AcceleratorType] warning: dict[str, typing.Any] @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): externalIpv6: str externalIpv6PrefixLength: int kind: str name: str natIP: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -94,26 +111,27 @@ class AccessConfig(typing_extensions.TypedDict, total=False): securityPolicy: str setPublicDns: bool setPublicPtr: bool - type: typing_extensions.Literal["DIRECT_IPV6", "ONE_TO_ONE_NAT"] + type: typing.Literal["DIRECT_IPV6", "ONE_TO_ONE_NAT"] @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): address: str - addressType: typing_extensions.Literal[ + addressType: typing.Literal[ "DNS_FORWARDING", "EXTERNAL", "INTERNAL", "UNSPECIFIED_TYPE" ] creationTimestamp: str description: str id: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] - ipv6EndpointType: typing_extensions.Literal["NETLB", "VM"] + ipVersion: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] + ipv6EndpointType: typing.Literal["NETLB", "VM"] kind: str labelFingerprint: str labels: dict[str, typing.Any] name: str network: str - networkTier: typing_extensions.Literal[ + networkAttachment: str + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -121,7 +139,9 @@ class Address(typing_extensions.TypedDict, total=False): "STANDARD_OVERRIDES_FIXED_STANDARD", ] prefixLength: int - purpose: typing_extensions.Literal[ + ptrDomainName: str + ptrDomainNameTtl: int + purpose: typing.Literal[ "APPLICATION_AND_PROXY_LOAD_BALANCERS", "DNS_RESOLVER", "GCE_ENDPOINT", @@ -138,12 +158,13 @@ class Address(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["IN_USE", "RESERVED", "RESERVING"] + serviceClassId: str + status: typing.Literal["IN_USE", "RESERVED", "RESERVING"] subnetwork: str users: _list[str] @typing.type_check_only -class AddressAggregatedList(typing_extensions.TypedDict, total=False): +class AddressAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -153,7 +174,7 @@ class AddressAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AddressList(typing_extensions.TypedDict, total=False): +class AddressList(typing.TypedDict, total=False): id: str items: _list[Address] kind: str @@ -162,17 +183,17 @@ class AddressList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AddressesScopedList(typing_extensions.TypedDict, total=False): +class AddressesScopedList(typing.TypedDict, total=False): addresses: _list[Address] warning: dict[str, typing.Any] @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): enableNestedVirtualization: bool enableUefiNetworking: bool enableWatchdogTimer: bool numaNodeCount: int - performanceMonitoringUnit: typing_extensions.Literal[ + performanceMonitoringUnit: typing.Literal[ "ARCHITECTURAL", "ENHANCED", "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", @@ -183,18 +204,20 @@ class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): visibleCoreCount: int @typing.type_check_only -class AliasIpRange(typing_extensions.TypedDict, total=False): +class AliasIpRange(typing.TypedDict, total=False): + candidateSubnetworkRangeNames: _list[str] + effectiveSubnetworkRangeName: str ipCidrRange: str subnetworkRangeName: str @typing.type_check_only -class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): +class AllocationAggregateReservation(typing.TypedDict, total=False): hostCount: int inUseHostCount: int inUseInstanceCount: int inUseResources: _list[AllocationAggregateReservationReservedResourceInfo] reservedResources: _list[AllocationAggregateReservationReservedResourceInfo] - vmFamily: typing_extensions.Literal[ + vmFamily: typing.Literal[ "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", @@ -206,29 +229,27 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU8I_METAL", ] - workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + workloadType: typing.Literal["BATCH", "SERVING", "UNSPECIFIED"] @typing.type_check_only -class AllocationAggregateReservationReservedResourceInfo( - typing_extensions.TypedDict, total=False -): +class AllocationAggregateReservationReservedResourceInfo(typing.TypedDict, total=False): accelerator: AllocationAggregateReservationReservedResourceInfoAccelerator @typing.type_check_only class AllocationAggregateReservationReservedResourceInfoAccelerator( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorCount: int acceleratorType: str @typing.type_check_only -class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=False): - serviceShareType: typing_extensions.Literal[ +class AllocationReservationSharingPolicy(typing.TypedDict, total=False): + serviceShareType: typing.Literal[ "ALLOW_ALL", "DISALLOW_ALL", "SERVICE_SHARE_TYPE_UNSPECIFIED" ] @typing.type_check_only -class AllocationResourceStatus(typing_extensions.TypedDict, total=False): +class AllocationResourceStatus(typing.TypedDict, total=False): aggregateAllocation: AllocationResourceStatusAggregateAllocation healthInfo: AllocationResourceStatusHealthInfo reservationBlockCount: int @@ -236,36 +257,30 @@ class AllocationResourceStatus(typing_extensions.TypedDict, total=False): specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation @typing.type_check_only -class AllocationResourceStatusAggregateAllocation( - typing_extensions.TypedDict, total=False -): +class AllocationResourceStatusAggregateAllocation(typing.TypedDict, total=False): utilizations: dict[str, typing.Any] @typing.type_check_only -class AllocationResourceStatusHealthInfo(typing_extensions.TypedDict, total=False): +class AllocationResourceStatusHealthInfo(typing.TypedDict, total=False): degradedBlockCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthyBlockCount: int @typing.type_check_only -class AllocationResourceStatusSpecificSKUAllocation( - typing_extensions.TypedDict, total=False -): +class AllocationResourceStatusSpecificSKUAllocation(typing.TypedDict, total=False): sourceInstanceTemplateId: str utilizations: dict[str, typing.Any] @typing.type_check_only class AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): diskSizeGb: str - interface: typing_extensions.Literal["NVDIMM", "NVME", "SCSI"] + interface: typing.Literal["NVDIMM", "NVME", "SCSI"] @typing.type_check_only class AllocationSpecificSKUAllocationReservedInstanceProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): guestAccelerators: _list[AcceleratorConfig] localSsds: _list[ @@ -274,11 +289,11 @@ class AllocationSpecificSKUAllocationReservedInstanceProperties( locationHint: str machineType: str maintenanceFreezeDurationHours: int - maintenanceInterval: typing_extensions.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] + maintenanceInterval: typing.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] minCpuPlatform: str @typing.type_check_only -class AllocationSpecificSKUReservation(typing_extensions.TypedDict, total=False): +class AllocationSpecificSKUReservation(typing.TypedDict, total=False): assuredCount: str count: str inUseCount: str @@ -286,15 +301,13 @@ class AllocationSpecificSKUReservation(typing_extensions.TypedDict, total=False) sourceInstanceTemplate: str @typing.type_check_only -class AsyncReplicationStatus(typing_extensions.TypedDict, total=False): +class AsyncReplicationStatus(typing.TypedDict, total=False): diskPairReplicationState: DiskPairReplicationState lastReplicationDetails: ReplicationDetails @typing.type_check_only -class AttachedDisk(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class AttachedDisk(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] autoDelete: bool boot: bool deviceName: str @@ -304,33 +317,31 @@ class AttachedDisk(typing_extensions.TypedDict, total=False): guestOsFeatures: _list[GuestOsFeature] index: int initializeParams: AttachedDiskInitializeParams - interface: typing_extensions.Literal["NVDIMM", "NVME", "SCSI"] + interface: typing.Literal["NVDIMM", "NVME", "SCSI"] kind: str licenses: _list[str] locked: bool - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] - savedState: typing_extensions.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] + savedState: typing.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] shieldedInstanceInitialState: InitialStateConfig source: str - type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] + type: typing.Literal["PERSISTENT", "SCRATCH"] @typing.type_check_only -class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class AttachedDiskInitializeParams(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] description: str diskName: str diskSizeGb: str diskType: str enableConfidentialCompute: bool guestOsFeatures: _list[GuestOsFeature] - interface: typing_extensions.Literal["NVME", "SCSI", "UNSPECIFIED"] + interface: typing.Literal["NVME", "SCSI", "UNSPECIFIED"] labels: dict[str, typing.Any] licenseCodes: _list[str] licenses: _list[str] multiWriter: bool - onUpdateAction: typing_extensions.Literal[ + onUpdateAction: typing.Literal[ "RECREATE_DISK", "RECREATE_DISK_IF_SOURCE_CHANGED", "USE_EXISTING_DISK" ] provisionedIops: str @@ -346,30 +357,34 @@ class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): storagePool: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "ADMIN_READ", "DATA_READ", "DATA_WRITE", "LOG_TYPE_UNSPECIFIED" ] @typing.type_check_only -class AuthenticationPolicy(typing_extensions.TypedDict, total=False): +class AuthenticationConfig(typing.TypedDict, total=False): + trustConfig: str + +@typing.type_check_only +class AuthenticationPolicy(typing.TypedDict, total=False): origins: _list[OriginAuthenticationMethod] peers: _list[PeerAuthenticationMethod] - principalBinding: typing_extensions.Literal["INVALID", "USE_ORIGIN", "USE_PEER"] + principalBinding: typing.Literal["INVALID", "USE_ORIGIN", "USE_PEER"] serverTlsContext: TlsContext @typing.type_check_only -class AuthorizationConfig(typing_extensions.TypedDict, total=False): +class AuthorizationConfig(typing.TypedDict, total=False): policies: _list[RbacPolicy] @typing.type_check_only -class Autoscaler(typing_extensions.TypedDict, total=False): +class Autoscaler(typing.TypedDict, total=False): autoscalingPolicy: AutoscalingPolicy creationTimestamp: str description: str @@ -381,13 +396,13 @@ class Autoscaler(typing_extensions.TypedDict, total=False): scalingScheduleStatus: dict[str, typing.Any] selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["ACTIVE", "DELETING", "ERROR", "PENDING"] + status: typing.Literal["ACTIVE", "DELETING", "ERROR", "PENDING"] statusDetails: _list[AutoscalerStatusDetails] target: str zone: str @typing.type_check_only -class AutoscalerAggregatedList(typing_extensions.TypedDict, total=False): +class AutoscalerAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -397,7 +412,7 @@ class AutoscalerAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalerList(typing_extensions.TypedDict, total=False): +class AutoscalerList(typing.TypedDict, total=False): id: str items: _list[Autoscaler] kind: str @@ -406,9 +421,9 @@ class AutoscalerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalerStatusDetails(typing_extensions.TypedDict, total=False): +class AutoscalerStatusDetails(typing.TypedDict, total=False): message: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ALL_INSTANCES_UNHEALTHY", "BACKEND_SERVICE_DOES_NOT_EXIST", "CAPPED_AT_MAX_NUM_REPLICAS", @@ -432,61 +447,57 @@ class AutoscalerStatusDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AutoscalersScopedList(typing_extensions.TypedDict, total=False): +class AutoscalersScopedList(typing.TypedDict, total=False): autoscalers: _list[Autoscaler] warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalingPolicy(typing_extensions.TypedDict, total=False): +class AutoscalingPolicy(typing.TypedDict, total=False): coolDownPeriodSec: int cpuUtilization: AutoscalingPolicyCpuUtilization customMetricUtilizations: _list[AutoscalingPolicyCustomMetricUtilization] loadBalancingUtilization: AutoscalingPolicyLoadBalancingUtilization maxNumReplicas: int minNumReplicas: int - mode: typing_extensions.Literal["OFF", "ON", "ONLY_SCALE_OUT", "ONLY_UP"] + mode: typing.Literal["OFF", "ON", "ONLY_SCALE_OUT", "ONLY_UP"] scaleDownControl: AutoscalingPolicyScaleDownControl scaleInControl: AutoscalingPolicyScaleInControl scalingSchedules: dict[str, typing.Any] stabilizationPeriodSec: int @typing.type_check_only -class AutoscalingPolicyCpuUtilization(typing_extensions.TypedDict, total=False): - predictiveMethod: typing_extensions.Literal[ +class AutoscalingPolicyCpuUtilization(typing.TypedDict, total=False): + predictiveMethod: typing.Literal[ "NONE", "OPTIMIZE_AVAILABILITY", "PREDICTIVE_METHOD_UNSPECIFIED", "STANDARD" ] utilizationTarget: float @typing.type_check_only -class AutoscalingPolicyCustomMetricUtilization( - typing_extensions.TypedDict, total=False -): +class AutoscalingPolicyCustomMetricUtilization(typing.TypedDict, total=False): filter: str metric: str singleInstanceAssignment: float utilizationTarget: float - utilizationTargetType: typing_extensions.Literal[ + utilizationTargetType: typing.Literal[ "DELTA_PER_MINUTE", "DELTA_PER_SECOND", "GAUGE" ] @typing.type_check_only -class AutoscalingPolicyLoadBalancingUtilization( - typing_extensions.TypedDict, total=False -): +class AutoscalingPolicyLoadBalancingUtilization(typing.TypedDict, total=False): utilizationTarget: float @typing.type_check_only -class AutoscalingPolicyScaleDownControl(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScaleDownControl(typing.TypedDict, total=False): maxScaledDownReplicas: FixedOrPercent timeWindowSec: int @typing.type_check_only -class AutoscalingPolicyScaleInControl(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScaleInControl(typing.TypedDict, total=False): maxScaledInReplicas: FixedOrPercent timeWindowSec: int @typing.type_check_only -class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScalingSchedule(typing.TypedDict, total=False): description: str disabled: bool durationSec: int @@ -495,8 +506,8 @@ class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False) timeZone: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): - balancingMode: typing_extensions.Literal[ +class Backend(typing.TypedDict, total=False): + balancingMode: typing.Literal[ "CONNECTION", "CUSTOM_METRICS", "IN_FLIGHT", "RATE", "UTILIZATION" ] capacityScaler: float @@ -515,23 +526,19 @@ class Backend(typing_extensions.TypedDict, total=False): maxRatePerInstance: float maxUtilization: float orchestrationInfo: BackendBackendOrchestrationInfo - preference: typing_extensions.Literal[ - "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" - ] + preference: typing.Literal["DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED"] service: str - trafficDuration: typing_extensions.Literal[ - "LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED" - ] + trafficDuration: typing.Literal["LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED"] @typing.type_check_only -class BackendBackendOrchestrationInfo(typing_extensions.TypedDict, total=False): +class BackendBackendOrchestrationInfo(typing.TypedDict, total=False): resourceUri: str @typing.type_check_only -class BackendBucket(typing_extensions.TypedDict, total=False): +class BackendBucket(typing.TypedDict, total=False): bucketName: str cdnPolicy: BackendBucketCdnPolicy - compressionMode: typing_extensions.Literal["AUTOMATIC", "DISABLED"] + compressionMode: typing.Literal["AUTOMATIC", "DISABLED"] creationTimestamp: str customResponseHeaders: _list[str] description: str @@ -539,9 +546,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): enableCdn: bool id: str kind: str - loadBalancingScheme: typing_extensions.Literal[ - "EXTERNAL_MANAGED", "INTERNAL_MANAGED" - ] + loadBalancingScheme: typing.Literal["EXTERNAL_MANAGED", "INTERNAL_MANAGED"] name: str params: BackendBucketParams region: str @@ -550,7 +555,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): usedBy: _list[BackendBucketUsedBy] @typing.type_check_only -class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): +class BackendBucketAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -559,10 +564,10 @@ class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): +class BackendBucketCdnPolicy(typing.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[BackendBucketCdnPolicyBypassCacheOnRequestHeader] cacheKeyPolicy: BackendBucketCdnPolicyCacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "INVALID_CACHE_MODE", @@ -579,25 +584,21 @@ class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): signedUrlKeyNames: _list[str] @typing.type_check_only -class BackendBucketCdnPolicyBypassCacheOnRequestHeader( - typing_extensions.TypedDict, total=False -): +class BackendBucketCdnPolicyBypassCacheOnRequestHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendBucketCdnPolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): +class BackendBucketCdnPolicyCacheKeyPolicy(typing.TypedDict, total=False): includeHttpHeaders: _list[str] queryStringWhitelist: _list[str] @typing.type_check_only -class BackendBucketCdnPolicyNegativeCachingPolicy( - typing_extensions.TypedDict, total=False -): +class BackendBucketCdnPolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: int @typing.type_check_only -class BackendBucketList(typing_extensions.TypedDict, total=False): +class BackendBucketList(typing.TypedDict, total=False): id: str items: _list[BackendBucket] kind: str @@ -606,7 +607,7 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketListUsable(typing_extensions.TypedDict, total=False): +class BackendBucketListUsable(typing.TypedDict, total=False): id: str items: _list[BackendBucket] kind: str @@ -615,32 +616,32 @@ class BackendBucketListUsable(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketParams(typing_extensions.TypedDict, total=False): +class BackendBucketParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): +class BackendBucketUsedBy(typing.TypedDict, total=False): reference: str @typing.type_check_only -class BackendBucketsScopedList(typing_extensions.TypedDict, total=False): +class BackendBucketsScopedList(typing.TypedDict, total=False): backendBuckets: _list[BackendBucket] warning: dict[str, typing.Any] @typing.type_check_only -class BackendCustomMetric(typing_extensions.TypedDict, total=False): +class BackendCustomMetric(typing.TypedDict, total=False): dryRun: bool maxUtilization: float name: str @typing.type_check_only -class BackendService(typing_extensions.TypedDict, total=False): +class BackendService(typing.TypedDict, total=False): affinityCookieTtlSec: int allowMultinetwork: bool backends: _list[Backend] cdnPolicy: BackendServiceCdnPolicy circuitBreakers: CircuitBreakers - compressionMode: typing_extensions.Literal["AUTOMATIC", "DISABLED"] + compressionMode: typing.Literal["AUTOMATIC", "DISABLED"] connectionDraining: ConnectionDraining connectionTrackingPolicy: BackendServiceConnectionTrackingPolicy consistentHash: ConsistentHashLoadBalancerSettings @@ -652,7 +653,7 @@ class BackendService(typing_extensions.TypedDict, total=False): dynamicForwarding: BackendServiceDynamicForwarding edgeSecurityPolicy: str enableCDN: bool - externalManagedMigrationState: typing_extensions.Literal[ + externalManagedMigrationState: typing.Literal[ "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" ] externalManagedMigrationTestingPercentage: float @@ -662,14 +663,14 @@ class BackendService(typing_extensions.TypedDict, total=False): healthChecks: _list[str] iap: BackendServiceIAP id: str - ipAddressSelectionPolicy: typing_extensions.Literal[ + ipAddressSelectionPolicy: typing.Literal[ "IPV4_ONLY", "IPV6_ONLY", "IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED", "PREFER_IPV6", ] kind: str - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "EXTERNAL_PASSTHROUGH", @@ -679,7 +680,7 @@ class BackendService(typing_extensions.TypedDict, total=False): "INVALID_LOAD_BALANCING_SCHEME", ] localityLbPolicies: _list[BackendServiceLocalityLoadBalancingPolicyConfig] - localityLbPolicy: typing_extensions.Literal[ + localityLbPolicy: typing.Literal[ "INVALID_LB_POLICY", "LEAST_REQUEST", "MAGLEV", @@ -702,7 +703,7 @@ class BackendService(typing_extensions.TypedDict, total=False): params: BackendServiceParams port: int portName: str - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "ALL", "GRPC", "H2C", @@ -721,7 +722,7 @@ class BackendService(typing_extensions.TypedDict, total=False): selfLinkWithId: str serviceBindings: _list[str] serviceLbPolicy: str - sessionAffinity: typing_extensions.Literal[ + sessionAffinity: typing.Literal[ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", @@ -739,7 +740,7 @@ class BackendService(typing_extensions.TypedDict, total=False): usedBy: _list[BackendServiceUsedBy] @typing.type_check_only -class BackendServiceAggregatedList(typing_extensions.TypedDict, total=False): +class BackendServiceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -749,12 +750,12 @@ class BackendServiceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceCdnPolicy(typing_extensions.TypedDict, total=False): +class BackendServiceCdnPolicy(typing.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[ BackendServiceCdnPolicyBypassCacheOnRequestHeader ] cacheKeyPolicy: CacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "INVALID_CACHE_MODE", @@ -771,88 +772,78 @@ class BackendServiceCdnPolicy(typing_extensions.TypedDict, total=False): signedUrlKeyNames: _list[str] @typing.type_check_only -class BackendServiceCdnPolicyBypassCacheOnRequestHeader( - typing_extensions.TypedDict, total=False -): +class BackendServiceCdnPolicyBypassCacheOnRequestHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendServiceCdnPolicyNegativeCachingPolicy( - typing_extensions.TypedDict, total=False -): +class BackendServiceCdnPolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: int @typing.type_check_only -class BackendServiceConnectionTrackingPolicy(typing_extensions.TypedDict, total=False): - connectionPersistenceOnUnhealthyBackends: typing_extensions.Literal[ +class BackendServiceConnectionTrackingPolicy(typing.TypedDict, total=False): + connectionPersistenceOnUnhealthyBackends: typing.Literal[ "ALWAYS_PERSIST", "DEFAULT_FOR_PROTOCOL", "NEVER_PERSIST" ] enableStrongAffinity: bool idleTimeoutSec: int - trackingMode: typing_extensions.Literal[ + trackingMode: typing.Literal[ "INVALID_TRACKING_MODE", "PER_CONNECTION", "PER_SESSION" ] @typing.type_check_only -class BackendServiceCustomMetric(typing_extensions.TypedDict, total=False): +class BackendServiceCustomMetric(typing.TypedDict, total=False): dryRun: bool name: str @typing.type_check_only -class BackendServiceDynamicForwarding(typing_extensions.TypedDict, total=False): +class BackendServiceDynamicForwarding(typing.TypedDict, total=False): forwardProxy: BackendServiceDynamicForwardingForwardProxy ipPortSelection: BackendServiceDynamicForwardingIpPortSelection @typing.type_check_only -class BackendServiceDynamicForwardingForwardProxy( - typing_extensions.TypedDict, total=False -): +class BackendServiceDynamicForwardingForwardProxy(typing.TypedDict, total=False): enabled: bool - proxyMode: typing_extensions.Literal["CLOUD_RUN", "DIRECT_FORWARDING"] + proxyMode: typing.Literal["CLOUD_RUN", "DIRECT_FORWARDING"] @typing.type_check_only -class BackendServiceDynamicForwardingIpPortSelection( - typing_extensions.TypedDict, total=False -): +class BackendServiceDynamicForwardingIpPortSelection(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class BackendServiceFailoverPolicy(typing_extensions.TypedDict, total=False): +class BackendServiceFailoverPolicy(typing.TypedDict, total=False): disableConnectionDrainOnFailover: bool dropTrafficIfUnhealthy: bool failoverRatio: float @typing.type_check_only -class BackendServiceGroupHealth(typing_extensions.TypedDict, total=False): +class BackendServiceGroupHealth(typing.TypedDict, total=False): annotations: dict[str, typing.Any] healthStatus: _list[HealthStatus] kind: str @typing.type_check_only -class BackendServiceHAPolicy(typing_extensions.TypedDict, total=False): - fastIPMove: typing_extensions.Literal["DISABLED", "GARP_RA"] +class BackendServiceHAPolicy(typing.TypedDict, total=False): + fastIPMove: typing.Literal["DISABLED", "GARP_RA"] leader: BackendServiceHAPolicyLeader @typing.type_check_only -class BackendServiceHAPolicyLeader(typing_extensions.TypedDict, total=False): +class BackendServiceHAPolicyLeader(typing.TypedDict, total=False): backendGroup: str networkEndpoint: BackendServiceHAPolicyLeaderNetworkEndpoint @typing.type_check_only -class BackendServiceHAPolicyLeaderNetworkEndpoint( - typing_extensions.TypedDict, total=False -): +class BackendServiceHAPolicyLeaderNetworkEndpoint(typing.TypedDict, total=False): instance: str @typing.type_check_only -class BackendServiceHttpCookie(typing_extensions.TypedDict, total=False): +class BackendServiceHttpCookie(typing.TypedDict, total=False): name: str path: str ttl: Duration @typing.type_check_only -class BackendServiceIAP(typing_extensions.TypedDict, total=False): +class BackendServiceIAP(typing.TypedDict, total=False): enabled: bool oauth2ClientId: str oauth2ClientInfo: BackendServiceIAPOAuth2ClientInfo @@ -860,13 +851,13 @@ class BackendServiceIAP(typing_extensions.TypedDict, total=False): oauth2ClientSecretSha256: str @typing.type_check_only -class BackendServiceIAPOAuth2ClientInfo(typing_extensions.TypedDict, total=False): +class BackendServiceIAPOAuth2ClientInfo(typing.TypedDict, total=False): applicationName: str clientName: str developerEmailAddress: str @typing.type_check_only -class BackendServiceList(typing_extensions.TypedDict, total=False): +class BackendServiceList(typing.TypedDict, total=False): id: str items: _list[BackendService] kind: str @@ -875,7 +866,7 @@ class BackendServiceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceListUsable(typing_extensions.TypedDict, total=False): +class BackendServiceListUsable(typing.TypedDict, total=False): id: str items: _list[BackendService] kind: str @@ -884,24 +875,22 @@ class BackendServiceListUsable(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceLocalityLoadBalancingPolicyConfig( - typing_extensions.TypedDict, total=False -): +class BackendServiceLocalityLoadBalancingPolicyConfig(typing.TypedDict, total=False): customPolicy: BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy policy: BackendServiceLocalityLoadBalancingPolicyConfigPolicy @typing.type_check_only class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str name: str @typing.type_check_only class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - name: typing_extensions.Literal[ + name: typing.Literal[ "INVALID_LB_POLICY", "LEAST_REQUEST", "MAGLEV", @@ -915,18 +904,18 @@ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( ] @typing.type_check_only -class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): +class BackendServiceLogConfig(typing.TypedDict, total=False): enable: bool loggingHttpRequestHeaders: _list[BackendServiceLogConfigLoggingHttpHeader] loggingHttpResponseHeaders: _list[BackendServiceLogConfigLoggingHttpHeader] - optional: typing_extensions.Literal[ + optional: typing.Literal[ "CUSTOM", "EXCLUDE_ALL_OPTIONAL", "INCLUDE_ALL_OPTIONAL", "UNSPECIFIED_OPTIONAL_MODE", ] optionalFields: _list[str] - optionalMode: typing_extensions.Literal[ + optionalMode: typing.Literal[ "CUSTOM", "EXCLUDE_ALL_OPTIONAL", "INCLUDE_ALL_OPTIONAL", @@ -935,22 +924,18 @@ class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): sampleRate: float @typing.type_check_only -class BackendServiceLogConfigLoggingHttpHeader( - typing_extensions.TypedDict, total=False -): +class BackendServiceLogConfigLoggingHttpHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendServiceNetworkPassThroughLbTrafficPolicy( - typing_extensions.TypedDict, total=False -): +class BackendServiceNetworkPassThroughLbTrafficPolicy(typing.TypedDict, total=False): zonalAffinity: BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity @typing.type_check_only class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - spillover: typing_extensions.Literal[ + spillover: typing.Literal[ "ZONAL_AFFINITY_DISABLED", "ZONAL_AFFINITY_SPILL_CROSS_ZONE", "ZONAL_AFFINITY_STAY_WITHIN_ZONE", @@ -958,50 +943,50 @@ class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( spilloverRatio: float @typing.type_check_only -class BackendServiceOrchestrationInfo(typing_extensions.TypedDict, total=False): +class BackendServiceOrchestrationInfo(typing.TypedDict, total=False): resourceUri: str @typing.type_check_only -class BackendServiceParams(typing_extensions.TypedDict, total=False): +class BackendServiceParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class BackendServiceReference(typing_extensions.TypedDict, total=False): +class BackendServiceReference(typing.TypedDict, total=False): backendService: str @typing.type_check_only -class BackendServiceTlsSettings(typing_extensions.TypedDict, total=False): +class BackendServiceTlsSettings(typing.TypedDict, total=False): authenticationConfig: str identity: str sni: str subjectAltNames: _list[BackendServiceTlsSettingsSubjectAltName] @typing.type_check_only -class BackendServiceTlsSettingsSubjectAltName(typing_extensions.TypedDict, total=False): +class BackendServiceTlsSettingsSubjectAltName(typing.TypedDict, total=False): dnsName: str uniformResourceIdentifier: str @typing.type_check_only -class BackendServiceUsedBy(typing_extensions.TypedDict, total=False): +class BackendServiceUsedBy(typing.TypedDict, total=False): reference: str @typing.type_check_only class BackendServicesGetEffectiveSecurityPoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): securityPolicies: _list[SecurityPolicy] @typing.type_check_only -class BackendServicesScopedList(typing_extensions.TypedDict, total=False): +class BackendServicesScopedList(typing.TypedDict, total=False): backendServices: _list[BackendService] warning: dict[str, typing.Any] @typing.type_check_only -class BfdPacket(typing_extensions.TypedDict, total=False): +class BfdPacket(typing.TypedDict, total=False): authenticationPresent: bool controlPlaneIndependent: bool demand: bool - diagnostic: typing_extensions.Literal[ + diagnostic: typing.Literal[ "ADMINISTRATIVELY_DOWN", "CONCATENATED_PATH_DOWN", "CONTROL_DETECTION_TIME_EXPIRED", @@ -1022,23 +1007,19 @@ class BfdPacket(typing_extensions.TypedDict, total=False): multipoint: bool myDiscriminator: int poll: bool - state: typing_extensions.Literal[ - "ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP" - ] + state: typing.Literal["ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP"] version: int yourDiscriminator: int @typing.type_check_only -class BfdStatus(typing_extensions.TypedDict, total=False): - bfdSessionInitializationMode: typing_extensions.Literal[ - "ACTIVE", "DISABLED", "PASSIVE" - ] +class BfdStatus(typing.TypedDict, total=False): + bfdSessionInitializationMode: typing.Literal["ACTIVE", "DISABLED", "PASSIVE"] configUpdateTimestampMicros: str controlPacketCounts: BfdStatusPacketCounts controlPacketIntervals: _list[PacketIntervals] echoPacketCounts: BfdStatusPacketCounts echoPacketIntervals: _list[PacketIntervals] - localDiagnostic: typing_extensions.Literal[ + localDiagnostic: typing.Literal[ "ADMINISTRATIVELY_DOWN", "CONCATENATED_PATH_DOWN", "CONTROL_DETECTION_TIME_EXPIRED", @@ -1050,9 +1031,7 @@ class BfdStatus(typing_extensions.TypedDict, total=False): "PATH_DOWN", "REVERSE_CONCATENATED_PATH_DOWN", ] - localState: typing_extensions.Literal[ - "ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP" - ] + localState: typing.Literal["ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP"] negotiatedLocalControlTxIntervalMs: int negotiatedLocalEchoTxIntervalMs: int rxPacket: BfdPacket @@ -1061,49 +1040,45 @@ class BfdStatus(typing_extensions.TypedDict, total=False): usingEchoMode: bool @typing.type_check_only -class BfdStatusPacketCounts(typing_extensions.TypedDict, total=False): +class BfdStatusPacketCounts(typing.TypedDict, total=False): numRx: int numRxRejected: int numRxSuccessful: int numTx: int @typing.type_check_only -class BgpRoute(typing_extensions.TypedDict, total=False): +class BgpRoute(typing.TypedDict, total=False): asPaths: _list[BgpRouteAsPath] communities: _list[str] destination: BgpRouteNetworkLayerReachabilityInformation med: int - origin: typing_extensions.Literal[ - "BGP_ORIGIN_EGP", "BGP_ORIGIN_IGP", "BGP_ORIGIN_INCOMPLETE" - ] + origin: typing.Literal["BGP_ORIGIN_EGP", "BGP_ORIGIN_IGP", "BGP_ORIGIN_INCOMPLETE"] @typing.type_check_only -class BgpRouteAsPath(typing_extensions.TypedDict, total=False): +class BgpRouteAsPath(typing.TypedDict, total=False): asns: _list[int] asns32: _list[int] - type: typing_extensions.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] + type: typing.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] @typing.type_check_only -class BgpRouteNetworkLayerReachabilityInformation( - typing_extensions.TypedDict, total=False -): +class BgpRouteNetworkLayerReachabilityInformation(typing.TypedDict, total=False): pathId: int prefix: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BulkInsertDiskResource(typing_extensions.TypedDict, total=False): +class BulkInsertDiskResource(typing.TypedDict, total=False): instantSnapshotGroupParameters: InstantSnapshotGroupParameters snapshotGroupParameters: SnapshotGroupParameters sourceConsistencyGroupPolicy: str @typing.type_check_only -class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): +class BulkInsertInstanceResource(typing.TypedDict, total=False): count: str instanceFlexibilityPolicy: InstanceFlexibilityPolicy instanceProperties: InstanceProperties @@ -1114,38 +1089,34 @@ class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): sourceInstanceTemplate: str @typing.type_check_only -class BulkInsertInstanceResourcePerInstanceProperties( - typing_extensions.TypedDict, total=False -): +class BulkInsertInstanceResourcePerInstanceProperties(typing.TypedDict, total=False): hostname: str name: str @typing.type_check_only -class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): +class BulkInsertOperationStatus(typing.TypedDict, total=False): createdVmCount: int deletedVmCount: int failedToCreateVmCount: int - status: typing_extensions.Literal[ - "CREATING", "DONE", "ROLLING_BACK", "STATUS_UNSPECIFIED" - ] + status: typing.Literal["CREATING", "DONE", "ROLLING_BACK", "STATUS_UNSPECIFIED"] targetVmCount: int @typing.type_check_only -class BulkSetLabelsRequest(typing_extensions.TypedDict, total=False): +class BulkSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class BulkZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): +class BulkZoneSetLabelsRequest(typing.TypedDict, total=False): requests: _list[BulkSetLabelsRequest] @typing.type_check_only -class BundledLocalSsds(typing_extensions.TypedDict, total=False): +class BundledLocalSsds(typing.TypedDict, total=False): defaultInterface: str partitionCount: int @typing.type_check_only -class CacheInvalidationRule(typing_extensions.TypedDict, total=False): +class CacheInvalidationRule(typing.TypedDict, total=False): backendService: str cacheTags: _list[str] contentType: str @@ -1154,7 +1125,7 @@ class CacheInvalidationRule(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class CacheKeyPolicy(typing_extensions.TypedDict, total=False): +class CacheKeyPolicy(typing.TypedDict, total=False): includeHost: bool includeHttpHeaders: _list[str] includeNamedCookies: _list[str] @@ -1164,10 +1135,10 @@ class CacheKeyPolicy(typing_extensions.TypedDict, total=False): queryStringWhitelist: _list[str] @typing.type_check_only -class CachePolicy(typing_extensions.TypedDict, total=False): +class CachePolicy(typing.TypedDict, total=False): cacheBypassRequestHeaderNames: _list[str] cacheKeyPolicy: CachePolicyCacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "USE_ORIGIN_HEADERS" ] clientTtl: Duration @@ -1179,7 +1150,7 @@ class CachePolicy(typing_extensions.TypedDict, total=False): serveWhileStale: Duration @typing.type_check_only -class CachePolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): +class CachePolicyCacheKeyPolicy(typing.TypedDict, total=False): excludedQueryParameters: _list[str] includeHost: bool includeProtocol: bool @@ -1189,56 +1160,74 @@ class CachePolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): includedQueryParameters: _list[str] @typing.type_check_only -class CachePolicyNegativeCachingPolicy(typing_extensions.TypedDict, total=False): +class CachePolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: Duration @typing.type_check_only -class CalendarModeAdviceRequest(typing_extensions.TypedDict, total=False): +class CalendarModeAdviceRequest(typing.TypedDict, total=False): futureResourcesSpecs: dict[str, typing.Any] @typing.type_check_only -class CalendarModeAdviceResponse(typing_extensions.TypedDict, total=False): +class CalendarModeAdviceResponse(typing.TypedDict, total=False): recommendations: _list[CalendarModeRecommendation] @typing.type_check_only -class CalendarModeRecommendation(typing_extensions.TypedDict, total=False): +class CalendarModeExtensionAdviceRequest(typing.TypedDict, total=False): + endTimeNotLaterThan: str + futureReservation: str + +@typing.type_check_only +class CalendarModeExtensionAdviceResponse(typing.TypedDict, total=False): + endTime: str + notRecommendedReason: CalendarModeExtensionAdviceResponseNotRecommendedReason + recommendationId: str + +@typing.type_check_only +class CalendarModeExtensionAdviceResponseNotRecommendedReason( + typing.TypedDict, total=False +): + details: str + status: typing.Literal[ + "CONDITIONS_NOT_MET", "NOT_RECOMMENDED_REASON_STATUS_UNSPECIFIED", "NO_CAPACITY" + ] + +@typing.type_check_only +class CalendarModeRecommendation(typing.TypedDict, total=False): recommendationsPerSpec: dict[str, typing.Any] @typing.type_check_only -class CallCredentials(typing_extensions.TypedDict, total=False): - callCredentialType: typing_extensions.Literal["FROM_PLUGIN", "GCE_VM", "INVALID"] +class CallCredentials(typing.TypedDict, total=False): + callCredentialType: typing.Literal["FROM_PLUGIN", "GCE_VM", "INVALID"] fromPlugin: MetadataCredentialsFromPlugin @typing.type_check_only -class CapacityAdviceRequest(typing_extensions.TypedDict, total=False): +class CapacityAdviceRequest(typing.TypedDict, total=False): distributionPolicy: CapacityAdviceRequestDistributionPolicy instanceFlexibilityPolicy: CapacityAdviceRequestInstanceFlexibilityPolicy instanceProperties: CapacityAdviceRequestInstanceProperties size: int @typing.type_check_only -class CapacityAdviceRequestDistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: typing_extensions.Literal[ +class CapacityAdviceRequestDistributionPolicy(typing.TypedDict, total=False): + targetShape: typing.Literal[ "ANY", "ANY_SINGLE_ZONE", "BALANCED", "TARGET_SHAPE_UNSPECIFIED" ] zones: _list[CapacityAdviceRequestDistributionPolicyZoneConfiguration] @typing.type_check_only class CapacityAdviceRequestDistributionPolicyZoneConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): zone: str @typing.type_check_only -class CapacityAdviceRequestInstanceFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class CapacityAdviceRequestInstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelections: dict[str, typing.Any] @typing.type_check_only class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disks: _list[ CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk @@ -1248,106 +1237,92 @@ class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection( @typing.type_check_only class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH"] + type: typing.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH"] @typing.type_check_only -class CapacityAdviceRequestInstanceProperties(typing_extensions.TypedDict, total=False): +class CapacityAdviceRequestInstanceProperties(typing.TypedDict, total=False): acceleratorTopology: str scheduling: CapacityAdviceRequestInstancePropertiesScheduling @typing.type_check_only -class CapacityAdviceRequestInstancePropertiesScheduling( - typing_extensions.TypedDict, total=False -): +class CapacityAdviceRequestInstancePropertiesScheduling(typing.TypedDict, total=False): maxRunDuration: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only -class CapacityAdviceResponse(typing_extensions.TypedDict, total=False): +class CapacityAdviceResponse(typing.TypedDict, total=False): recommendations: _list[CapacityAdviceResponseRecommendation] @typing.type_check_only -class CapacityAdviceResponseRecommendation(typing_extensions.TypedDict, total=False): +class CapacityAdviceResponseRecommendation(typing.TypedDict, total=False): scores: CapacityAdviceResponseRecommendationScores shards: _list[CapacityAdviceResponseRecommendationShard] @typing.type_check_only -class CapacityAdviceResponseRecommendationScores( - typing_extensions.TypedDict, total=False -): +class CapacityAdviceResponseRecommendationScores(typing.TypedDict, total=False): estimatedUptime: str estimatedWaitDuration: str obtainability: float uptimeScore: float @typing.type_check_only -class CapacityAdviceResponseRecommendationShard( - typing_extensions.TypedDict, total=False -): +class CapacityAdviceResponseRecommendationShard(typing.TypedDict, total=False): instanceCount: int machineType: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] zone: str @typing.type_check_only -class CapacityHistoryRequest(typing_extensions.TypedDict, total=False): +class CapacityHistoryRequest(typing.TypedDict, total=False): instanceProperties: CapacityHistoryRequestInstanceProperties locationPolicy: CapacityHistoryRequestLocationPolicy - types: _list[ - typing_extensions.Literal["HISTORY_TYPE_UNSPECIFIED", "PREEMPTION", "PRICE"] - ] + types: _list[typing.Literal["HISTORY_TYPE_UNSPECIFIED", "PREEMPTION", "PRICE"]] @typing.type_check_only -class CapacityHistoryRequestInstanceProperties( - typing_extensions.TypedDict, total=False -): +class CapacityHistoryRequestInstanceProperties(typing.TypedDict, total=False): machineType: str scheduling: CapacityHistoryRequestInstancePropertiesScheduling @typing.type_check_only -class CapacityHistoryRequestInstancePropertiesScheduling( - typing_extensions.TypedDict, total=False -): - provisioningModel: typing_extensions.Literal[ +class CapacityHistoryRequestInstancePropertiesScheduling(typing.TypedDict, total=False): + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only -class CapacityHistoryRequestLocationPolicy(typing_extensions.TypedDict, total=False): +class CapacityHistoryRequestLocationPolicy(typing.TypedDict, total=False): location: str @typing.type_check_only -class CapacityHistoryResponse(typing_extensions.TypedDict, total=False): +class CapacityHistoryResponse(typing.TypedDict, total=False): location: str machineType: str preemptionHistory: _list[CapacityHistoryResponsePreemptionRecord] priceHistory: _list[CapacityHistoryResponsePriceRecord] @typing.type_check_only -class CapacityHistoryResponsePreemptionRecord(typing_extensions.TypedDict, total=False): +class CapacityHistoryResponsePreemptionRecord(typing.TypedDict, total=False): interval: Interval preemptionRate: float @typing.type_check_only -class CapacityHistoryResponsePriceRecord(typing_extensions.TypedDict, total=False): +class CapacityHistoryResponsePriceRecord(typing.TypedDict, total=False): interval: Interval listPrice: Money @typing.type_check_only -class ChannelCredentials(typing_extensions.TypedDict, total=False): +class ChannelCredentials(typing.TypedDict, total=False): certificates: TlsCertificatePaths - channelCredentialType: typing_extensions.Literal[ - "CERTIFICATES", "GCE_VM", "INVALID" - ] + channelCredentialType: typing.Literal["CERTIFICATES", "GCE_VM", "INVALID"] @typing.type_check_only -class CircuitBreakers(typing_extensions.TypedDict, total=False): +class CircuitBreakers(typing.TypedDict, total=False): connectTimeout: Duration maxConnections: int maxPendingRequests: int @@ -1356,16 +1331,16 @@ class CircuitBreakers(typing_extensions.TypedDict, total=False): maxRetries: int @typing.type_check_only -class ClientTlsSettings(typing_extensions.TypedDict, total=False): +class ClientTlsSettings(typing.TypedDict, total=False): clientTlsContext: TlsContext - mode: typing_extensions.Literal["DISABLE", "INVALID", "MUTUAL", "SIMPLE"] + mode: typing.Literal["DISABLE", "INVALID", "MUTUAL", "SIMPLE"] sni: str subjectAltNames: _list[str] @typing.type_check_only -class Commitment(typing_extensions.TypedDict, total=False): +class Commitment(typing.TypedDict, total=False): autoRenew: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "LICENSE", "MACHINE", "PERSISTENT_DISK" ] creationTimestamp: str @@ -1380,7 +1355,7 @@ class Commitment(typing_extensions.TypedDict, total=False): name: str params: CommitmentParams persistentDiskResources: _list[PersistentDiskResourceCommitment] - plan: typing_extensions.Literal[ + plan: typing.Literal[ "INVALID", "SIXTY_MONTH", "THIRTY_SIX_MONTH", @@ -1395,7 +1370,7 @@ class Commitment(typing_extensions.TypedDict, total=False): selfLinkWithId: str splitSourceCommitment: str startTimestamp: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "CANCELED_EARLY_TERMINATION", "CANCELING", @@ -1405,7 +1380,7 @@ class Commitment(typing_extensions.TypedDict, total=False): "NOT_YET_ACTIVE", ] statusMessage: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", "ACCELERATOR_OPTIMIZED_A3_MEGA", @@ -1437,6 +1412,8 @@ class Commitment(typing_extensions.TypedDict, total=False): "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", + "MEMORY_OPTIMIZED_M4N", + "MEMORY_OPTIMIZED_M4N_6TB", "MEMORY_OPTIMIZED_M4_6TB", "MEMORY_OPTIMIZED_X4", "MEMORY_OPTIMIZED_X4_1440_24T", @@ -1449,13 +1426,17 @@ class Commitment(typing_extensions.TypedDict, total=False): "MEMORY_OPTIMIZED_X4_960_12T", "MEMORY_OPTIMIZED_X4_960_16T", "NETWORK_OPTIMIZED_C4N", + "NETWORK_OPTIMIZED_U4C", + "NETWORK_OPTIMIZED_U4P", + "NETWORK_OPTIMIZED_U4S", "STORAGE_OPTIMIZED_Z3", "STORAGE_OPTIMIZED_Z4D", + "STORAGE_OPTIMIZED_Z4M", "TYPE_UNSPECIFIED", ] @typing.type_check_only -class CommitmentAggregatedList(typing_extensions.TypedDict, total=False): +class CommitmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1465,7 +1446,7 @@ class CommitmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CommitmentList(typing_extensions.TypedDict, total=False): +class CommitmentList(typing.TypedDict, total=False): id: str items: _list[Commitment] kind: str @@ -1474,18 +1455,16 @@ class CommitmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CommitmentParams(typing_extensions.TypedDict, total=False): +class CommitmentParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class CommitmentResourceStatus(typing_extensions.TypedDict, total=False): +class CommitmentResourceStatus(typing.TypedDict, total=False): cancellationInformation: CommitmentResourceStatusCancellationInformation customTermEligibilityEndTimestamp: str @typing.type_check_only -class CommitmentResourceStatusCancellationInformation( - typing_extensions.TypedDict, total=False -): +class CommitmentResourceStatusCancellationInformation(typing.TypedDict, total=False): canceledCommitment: Money canceledCommitmentLastUpdatedTimestamp: str cancellationCap: Money @@ -1493,12 +1472,12 @@ class CommitmentResourceStatusCancellationInformation( cancellationFeeExpirationTimestamp: str @typing.type_check_only -class CommitmentsScopedList(typing_extensions.TypedDict, total=False): +class CommitmentsScopedList(typing.TypedDict, total=False): commitments: _list[Commitment] warning: dict[str, typing.Any] @typing.type_check_only -class CompositeHealthCheck(typing_extensions.TypedDict, total=False): +class CompositeHealthCheck(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -1512,7 +1491,7 @@ class CompositeHealthCheck(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1522,13 +1501,13 @@ class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class CompositeHealthCheckHealth(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckHealth(typing.TypedDict, total=False): healthSources: _list[CompositeHealthChecksGetHealthResponseHealthSourceHealth] - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] kind: str @typing.type_check_only -class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckList(typing.TypedDict, total=False): id: str items: _list[CompositeHealthCheck] kind: str @@ -1538,53 +1517,51 @@ class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): @typing.type_check_only class CompositeHealthChecksGetHealthResponseHealthSourceHealth( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] source: str @typing.type_check_only -class CompositeHealthChecksScopedList(typing_extensions.TypedDict, total=False): +class CompositeHealthChecksScopedList(typing.TypedDict, total=False): compositeHealthChecks: _list[CompositeHealthCheck] warning: dict[str, typing.Any] @typing.type_check_only -class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): - confidentialInstanceType: typing_extensions.Literal[ +class ConfidentialInstanceConfig(typing.TypedDict, total=False): + confidentialInstanceType: typing.Literal[ "CCA", "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] confidentialParavisorConfig: ConfidentialParavisorConfig enableConfidentialCompute: bool @typing.type_check_only -class ConfidentialParavisorConfig(typing_extensions.TypedDict, total=False): - confidentialTpmType: typing_extensions.Literal[ +class ConfidentialParavisorConfig(typing.TypedDict, total=False): + confidentialTpmType: typing.Literal[ "CONFIDENTIAL_TPM_TYPE_UNSPECIFIED", "EPHEMERAL", "NO_CC_TPM" ] - sevSnpIrqMode: typing_extensions.Literal[ + sevSnpIrqMode: typing.Literal[ "RESTRICTED", "SEV_SNP_IRQ_MODE_UNSPECIFIED", "UNRESTRICTED" ] @typing.type_check_only -class ConnectionDraining(typing_extensions.TypedDict, total=False): +class ConnectionDraining(typing.TypedDict, total=False): drainingTimeoutSec: int @typing.type_check_only -class ConsistentHashLoadBalancerSettings(typing_extensions.TypedDict, total=False): +class ConsistentHashLoadBalancerSettings(typing.TypedDict, total=False): httpCookie: ConsistentHashLoadBalancerSettingsHttpCookie httpHeaderName: str minimumRingSize: str @typing.type_check_only -class ConsistentHashLoadBalancerSettingsHttpCookie( - typing_extensions.TypedDict, total=False -): +class ConsistentHashLoadBalancerSettingsHttpCookie(typing.TypedDict, total=False): name: str path: str ttl: Duration @typing.type_check_only -class CorsPolicy(typing_extensions.TypedDict, total=False): +class CorsPolicy(typing.TypedDict, total=False): allowCredentials: bool allowHeaders: _list[str] allowMethods: _list[str] @@ -1595,7 +1572,7 @@ class CorsPolicy(typing_extensions.TypedDict, total=False): maxAge: int @typing.type_check_only -class CrossSiteNetwork(typing_extensions.TypedDict, total=False): +class CrossSiteNetwork(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -1605,7 +1582,7 @@ class CrossSiteNetwork(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class CrossSiteNetworkList(typing_extensions.TypedDict, total=False): +class CrossSiteNetworkList(typing.TypedDict, total=False): etag: str id: str items: _list[CrossSiteNetwork] @@ -1616,20 +1593,18 @@ class CrossSiteNetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CustomErrorResponsePolicy(typing_extensions.TypedDict, total=False): +class CustomErrorResponsePolicy(typing.TypedDict, total=False): errorResponseRules: _list[CustomErrorResponsePolicyCustomErrorResponseRule] errorService: str @typing.type_check_only -class CustomErrorResponsePolicyCustomErrorResponseRule( - typing_extensions.TypedDict, total=False -): +class CustomErrorResponsePolicyCustomErrorResponseRule(typing.TypedDict, total=False): matchResponseCodes: _list[str] overrideResponseCode: int path: str @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKeyName: str kmsKeyServiceAccount: str rawKey: str @@ -1637,18 +1612,18 @@ class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): sha256: str @typing.type_check_only -class CustomerEncryptionKeyProtectedDisk(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKeyProtectedDisk(typing.TypedDict, total=False): diskEncryptionKey: CustomerEncryptionKey source: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -1660,22 +1635,58 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class DeprecationStatus(typing_extensions.TypedDict, total=False): +class DeprecationStatus(typing.TypedDict, total=False): deleted: str deprecated: str obsolete: str replacement: str - state: typing_extensions.Literal["ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE"] + state: typing.Literal["ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE"] stateOverride: RolloutPolicy @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "READ_ONLY_MANY", "READ_WRITE_MANY", "READ_WRITE_SINGLE" - ] - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class DhcpOptionsConfig(typing.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.TypedDict, total=False): + network: str + networkId: str + state: typing.Literal["ACTIVE", "ORPHANED", "STATE_UNSPECIFIED"] + +@typing.type_check_only +class DhcpOptionsConfigList(typing.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.TypedDict, total=False): + accessMode: typing.Literal["READ_ONLY_MANY", "READ_WRITE_MANY", "READ_WRITE_SINGLE"] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] asyncPrimaryDisk: DiskAsyncReplication asyncSecondaryDisks: dict[str, typing.Any] creationTimestamp: str @@ -1685,7 +1696,7 @@ class Disk(typing_extensions.TypedDict, total=False): eraseWindowsVssSignature: bool guestOsFeatures: _list[GuestOsFeature] id: str - interface: typing_extensions.Literal["NVME", "SCSI", "UNSPECIFIED"] + interface: typing.Literal["NVME", "SCSI", "UNSPECIFIED"] kind: str labelFingerprint: str labels: dict[str, typing.Any] @@ -1728,17 +1739,17 @@ class Disk(typing_extensions.TypedDict, total=False): sourceSnapshotEncryptionKey: CustomerEncryptionKey sourceSnapshotId: str sourceStorageObject: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "READY", "RESTORING", "UNAVAILABLE" ] storagePool: str - storageType: typing_extensions.Literal["HDD", "SSD"] + storageType: typing.Literal["HDD", "SSD"] type: str users: _list[str] zone: str @typing.type_check_only -class DiskAggregatedList(typing_extensions.TypedDict, total=False): +class DiskAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1748,18 +1759,18 @@ class DiskAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskAsyncReplication(typing_extensions.TypedDict, total=False): +class DiskAsyncReplication(typing.TypedDict, total=False): consistencyGroupPolicy: str consistencyGroupPolicyId: str disk: str diskId: str @typing.type_check_only -class DiskAsyncReplicationList(typing_extensions.TypedDict, total=False): +class DiskAsyncReplicationList(typing.TypedDict, total=False): asyncReplicationDisk: DiskAsyncReplication @typing.type_check_only -class DiskConvertParams(typing_extensions.TypedDict, total=False): +class DiskConvertParams(typing.TypedDict, total=False): forceStopInProgressSnapshot: bool provisionedIops: str provisionedThroughput: str @@ -1768,11 +1779,11 @@ class DiskConvertParams(typing_extensions.TypedDict, total=False): targetDiskType: str @typing.type_check_only -class DiskInstantiationConfig(typing_extensions.TypedDict, total=False): +class DiskInstantiationConfig(typing.TypedDict, total=False): autoDelete: bool customImage: str deviceName: str - instantiateFrom: typing_extensions.Literal[ + instantiateFrom: typing.Literal[ "ATTACH_READ_ONLY", "BLANK", "CUSTOM_IMAGE", @@ -1783,7 +1794,7 @@ class DiskInstantiationConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DiskList(typing_extensions.TypedDict, total=False): +class DiskList(typing.TypedDict, total=False): id: str items: _list[Disk] kind: str @@ -1792,13 +1803,13 @@ class DiskList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskMoveRequest(typing_extensions.TypedDict, total=False): +class DiskMoveRequest(typing.TypedDict, total=False): destinationZone: str targetDisk: str @typing.type_check_only -class DiskPairReplicationState(typing_extensions.TypedDict, total=False): - dataReplicationState: typing_extensions.Literal[ +class DiskPairReplicationState(typing.TypedDict, total=False): + dataReplicationState: typing.Literal[ "ASYNC_REPLICATION_STATE_INITIALIZING", "ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_CG_HIGH_CHURN", "ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_HIGH_CHURN", @@ -1812,48 +1823,42 @@ class DiskPairReplicationState(typing_extensions.TypedDict, total=False): replicationDiskPair: ReplicationDiskPair @typing.type_check_only -class DiskParams(typing_extensions.TypedDict, total=False): +class DiskParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class DiskResourceStatus(typing_extensions.TypedDict, total=False): +class DiskResourceStatus(typing.TypedDict, total=False): asyncPrimaryDisk: DiskResourceStatusAsyncReplicationStatus asyncSecondaryDisks: dict[str, typing.Any] usedBytes: str @typing.type_check_only -class DiskResourceStatusAsyncReplicationStatus( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ +class DiskResourceStatusAsyncReplicationStatus(typing.TypedDict, total=False): + state: typing.Literal[ "ACTIVE", "CREATED", "STARTING", "STATE_UNSPECIFIED", "STOPPED", "STOPPING" ] @typing.type_check_only -class DiskSettings(typing_extensions.TypedDict, total=False): +class DiskSettings(typing.TypedDict, total=False): accessLocation: DiskSettingsAccessLocation defaultResourcePolicies: dict[str, typing.Any] @typing.type_check_only -class DiskSettingsAccessLocation(typing_extensions.TypedDict, total=False): +class DiskSettingsAccessLocation(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ - "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" - ] + policy: typing.Literal["ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS"] @typing.type_check_only -class DiskSettingsAccessLocationAccessLocationPreference( - typing_extensions.TypedDict, total=False -): +class DiskSettingsAccessLocationAccessLocationPreference(typing.TypedDict, total=False): region: str @typing.type_check_only -class DiskSettingsResourcePolicyDetails(typing_extensions.TypedDict, total=False): +class DiskSettingsResourcePolicyDetails(typing.TypedDict, total=False): excludedDiskTypes: _list[str] resourcePolicy: str @typing.type_check_only -class DiskType(typing_extensions.TypedDict, total=False): +class DiskType(typing.TypedDict, total=False): creationTimestamp: str defaultDiskSizeGb: str deprecated: DeprecationStatus @@ -1868,7 +1873,7 @@ class DiskType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class DiskTypeAggregatedList(typing_extensions.TypedDict, total=False): +class DiskTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1878,7 +1883,7 @@ class DiskTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskTypeList(typing_extensions.TypedDict, total=False): +class DiskTypeList(typing.TypedDict, total=False): id: str items: _list[DiskType] kind: str @@ -1887,79 +1892,79 @@ class DiskTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskTypesScopedList(typing_extensions.TypedDict, total=False): +class DiskTypesScopedList(typing.TypedDict, total=False): diskTypes: _list[DiskType] warning: dict[str, typing.Any] @typing.type_check_only -class DiskUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class DiskUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class DisksAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class DisksAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class DisksConvertRequest(typing_extensions.TypedDict, total=False): +class DisksConvertRequest(typing.TypedDict, total=False): params: DiskConvertParams @typing.type_check_only -class DisksRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class DisksRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class DisksResizeRequest(typing_extensions.TypedDict, total=False): +class DisksResizeRequest(typing.TypedDict, total=False): sizeGb: str @typing.type_check_only -class DisksScopedList(typing_extensions.TypedDict, total=False): +class DisksScopedList(typing.TypedDict, total=False): disks: _list[Disk] warning: dict[str, typing.Any] @typing.type_check_only -class DisksStartAsyncReplicationRequest(typing_extensions.TypedDict, total=False): +class DisksStartAsyncReplicationRequest(typing.TypedDict, total=False): asyncSecondaryDisk: str @typing.type_check_only -class DisksStopGroupAsyncReplicationResource(typing_extensions.TypedDict, total=False): +class DisksStopGroupAsyncReplicationResource(typing.TypedDict, total=False): resourcePolicy: str @typing.type_check_only -class DisplayDevice(typing_extensions.TypedDict, total=False): +class DisplayDevice(typing.TypedDict, total=False): enableDisplay: bool @typing.type_check_only -class DistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED", "EVEN"] +class DistributionPolicy(typing.TypedDict, total=False): + targetShape: typing.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED", "EVEN"] zones: _list[DistributionPolicyZoneConfiguration] @typing.type_check_only -class DistributionPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): +class DistributionPolicyZoneConfiguration(typing.TypedDict, total=False): zone: str @typing.type_check_only -class Duration(typing_extensions.TypedDict, total=False): +class Duration(typing.TypedDict, total=False): nanos: int seconds: str @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadatas: dict[str, typing.Any] reason: str @typing.type_check_only -class ExchangedPeeringRoute(typing_extensions.TypedDict, total=False): +class ExchangedPeeringRoute(typing.TypedDict, total=False): destRange: str imported: bool nextHopRegion: str priority: int - type: typing_extensions.Literal[ + type: typing.Literal[ "DYNAMIC_PEERING_ROUTE", "STATIC_PEERING_ROUTE", "SUBNET_PEERING_ROUTE" ] @typing.type_check_only -class ExchangedPeeringRoutesList(typing_extensions.TypedDict, total=False): +class ExchangedPeeringRoutesList(typing.TypedDict, total=False): id: str items: _list[ExchangedPeeringRoute] kind: str @@ -1968,14 +1973,14 @@ class ExchangedPeeringRoutesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalVpnGateway(typing_extensions.TypedDict, total=False): +class ExternalVpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -1985,19 +1990,19 @@ class ExternalVpnGateway(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str params: ExternalVpnGatewayParams - redundancyType: typing_extensions.Literal[ + redundancyType: typing.Literal[ "FOUR_IPS_REDUNDANCY", "SINGLE_IP_INTERNALLY_REDUNDANT", "TWO_IPS_REDUNDANCY" ] selfLink: str @typing.type_check_only -class ExternalVpnGatewayInterface(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayInterface(typing.TypedDict, total=False): id: int ipAddress: str ipv6Address: str @typing.type_check_only -class ExternalVpnGatewayList(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayList(typing.TypedDict, total=False): etag: str id: str items: _list[ExternalVpnGateway] @@ -2007,22 +2012,22 @@ class ExternalVpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ExternalVpnGatewayParams(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FileContentBuffer(typing_extensions.TypedDict, total=False): +class FileContentBuffer(typing.TypedDict, total=False): content: str - fileType: typing_extensions.Literal["BIN", "UNDEFINED", "X509"] + fileType: typing.Literal["BIN", "UNDEFINED", "X509"] @typing.type_check_only -class Firewall(typing_extensions.TypedDict, total=False): +class Firewall(typing.TypedDict, total=False): allowed: _list[dict[str, typing.Any]] creationTimestamp: str denied: _list[dict[str, typing.Any]] description: str destinationRanges: _list[str] - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] disabled: bool enableLogging: bool id: str @@ -2041,7 +2046,7 @@ class Firewall(typing_extensions.TypedDict, total=False): targetTags: _list[str] @typing.type_check_only -class FirewallList(typing_extensions.TypedDict, total=False): +class FirewallList(typing.TypedDict, total=False): id: str items: _list[Firewall] kind: str @@ -2050,28 +2055,26 @@ class FirewallList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FirewallLogConfig(typing_extensions.TypedDict, total=False): +class FirewallLogConfig(typing.TypedDict, total=False): enable: bool - metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] + metadata: typing.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] @typing.type_check_only -class FirewallParams(typing_extensions.TypedDict, total=False): +class FirewallParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FirewallPoliciesListAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class FirewallPoliciesListAssociationsResponse(typing.TypedDict, total=False): associations: _list[FirewallPolicyAssociation] kind: str @typing.type_check_only -class FirewallPoliciesScopedList(typing_extensions.TypedDict, total=False): +class FirewallPoliciesScopedList(typing.TypedDict, total=False): firewallPolicies: _list[FirewallPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class FirewallPolicy(typing_extensions.TypedDict, total=False): +class FirewallPolicy(typing.TypedDict, total=False): associations: _list[FirewallPolicyAssociation] creationTimestamp: str description: str @@ -2082,8 +2085,8 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): name: str packetMirroringRules: _list[FirewallPolicyRule] parent: str - policySource: typing_extensions.Literal["SYSTEM", "USER_DEFINED"] - policyType: typing_extensions.Literal[ + policySource: typing.Literal["SYSTEM", "USER_DEFINED"] + policyType: typing.Literal[ "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" ] region: str @@ -2093,12 +2096,10 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shortName: str - vpcNetworkScope: typing_extensions.Literal[ - "GLOBAL_VPC_NETWORK", "REGIONAL_VPC_NETWORK" - ] + vpcNetworkScope: typing.Literal["GLOBAL_VPC_NETWORK", "REGIONAL_VPC_NETWORK"] @typing.type_check_only -class FirewallPolicyAssociation(typing_extensions.TypedDict, total=False): +class FirewallPolicyAssociation(typing.TypedDict, total=False): attachmentTarget: str displayName: str firewallPolicyId: str @@ -2107,7 +2108,7 @@ class FirewallPolicyAssociation(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class FirewallPolicyList(typing_extensions.TypedDict, total=False): +class FirewallPolicyList(typing.TypedDict, total=False): id: str items: _list[FirewallPolicy] kind: str @@ -2115,48 +2116,44 @@ class FirewallPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FirewallPolicyRolloutOperation(typing_extensions.TypedDict, total=False): +class FirewallPolicyRolloutOperation(typing.TypedDict, total=False): rolloutInput: FirewallPolicyRolloutOperationRolloutInput rolloutStatus: FirewallPolicyRolloutOperationRolloutStatus @typing.type_check_only -class FirewallPolicyRolloutOperationRolloutInput( - typing_extensions.TypedDict, total=False -): +class FirewallPolicyRolloutOperationRolloutInput(typing.TypedDict, total=False): name: str - predefinedRolloutPlan: typing_extensions.Literal["DEFAULT_ROLLOUT_PLAN"] + predefinedRolloutPlan: typing.Literal["DEFAULT_ROLLOUT_PLAN"] retryUuid: str @typing.type_check_only -class FirewallPolicyRolloutOperationRolloutStatus( - typing_extensions.TypedDict, total=False -): +class FirewallPolicyRolloutOperationRolloutStatus(typing.TypedDict, total=False): nextRollout: FirewallPolicyRolloutOperationRolloutStatusNextRollout ongoingRollouts: _list[FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata] previousRollout: FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata @typing.type_check_only class FirewallPolicyRolloutOperationRolloutStatusNextRollout( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rolloutId: str rolloutPlan: str @typing.type_check_only class FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rollout: str rolloutPlan: str - state: typing_extensions.Literal[ + state: typing.Literal[ "CANCELLED", "COMPLETED", "FAILED", "PAUSED", "PROCESSING", "UNKNOWN" ] @typing.type_check_only -class FirewallPolicyRule(typing_extensions.TypedDict, total=False): +class FirewallPolicyRule(typing.TypedDict, total=False): action: str description: str - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] disabled: bool enableLogging: bool kind: str @@ -2169,21 +2166,21 @@ class FirewallPolicyRule(typing_extensions.TypedDict, total=False): targetResources: _list[str] targetSecureTags: _list[FirewallPolicyRuleSecureTag] targetServiceAccounts: _list[str] - targetType: typing_extensions.Literal["INSTANCES", "INTERNAL_MANAGED_LB"] + targetType: typing.Literal["INSTANCES", "INTERNAL_MANAGED_LB"] tlsInspect: bool @typing.type_check_only -class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleMatcher(typing.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] - destNetworkContext: typing_extensions.Literal[ + destNetworkContext: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - destNetworkScope: typing_extensions.Literal[ + destNetworkScope: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - destNetworkType: typing_extensions.Literal[ + destNetworkType: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] destRegionCodes: _list[str] @@ -2192,13 +2189,13 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcAddressGroups: _list[str] srcFqdns: _list[str] srcIpRanges: _list[str] - srcNetworkContext: typing_extensions.Literal[ + srcNetworkContext: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - srcNetworkScope: typing_extensions.Literal[ + srcNetworkScope: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - srcNetworkType: typing_extensions.Literal[ + srcNetworkType: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] srcNetworks: _list[str] @@ -2207,23 +2204,27 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcThreatIntelligences: _list[str] @typing.type_check_only -class FirewallPolicyRuleMatcherLayer4Config(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleMatcherLayer4Config(typing.TypedDict, total=False): ipProtocol: str ports: _list[str] @typing.type_check_only -class FirewallPolicyRuleSecureTag(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleOperationMetadata(typing.TypedDict, total=False): + allocatedPriority: int + +@typing.type_check_only +class FirewallPolicyRuleSecureTag(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal["EFFECTIVE", "INEFFECTIVE"] + state: typing.Literal["EFFECTIVE", "INEFFECTIVE"] @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): calculated: int fixed: int percent: int @typing.type_check_only -class FlexibleTimeRange(typing_extensions.TypedDict, total=False): +class FlexibleTimeRange(typing.TypedDict, total=False): endTimeNotEarlierThan: str endTimeNotLaterThan: str maxDuration: str @@ -2232,9 +2233,7 @@ class FlexibleTimeRange(typing_extensions.TypedDict, total=False): startTimeNotLaterThan: str @typing.type_check_only -class FolderVmExtensionPolicyAggregatedListResponse( - typing_extensions.TypedDict, total=False -): +class FolderVmExtensionPolicyAggregatedListResponse(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -2245,17 +2244,17 @@ class FolderVmExtensionPolicyAggregatedListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class ForwardingRule(typing_extensions.TypedDict, total=False): +class ForwardingRule(typing.TypedDict, total=False): IPAddress: str IPAddresses: _list[str] - IPProtocol: typing_extensions.Literal[ + IPProtocol: typing.Literal[ "AH", "ALL", "ESP", "ICMP", "L3_DEFAULT", "SCTP", "TCP", "UDP" ] allPorts: bool allowGlobalAccess: bool allowPscGlobalAccess: bool attachedExtensions: _list[ForwardingRuleAttachedExtension] - availabilityGroup: typing_extensions.Literal[ + availabilityGroup: typing.Literal[ "AVAILABILITY_GROUP0", "AVAILABILITY_GROUP1", "AVAILABILITY_GROUP_UNSPECIFIED" ] backendService: str @@ -2263,19 +2262,19 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): childForwardingRules: _list[str] creationTimestamp: str description: str - externalManagedBackendBucketMigrationState: typing_extensions.Literal[ + externalManagedBackendBucketMigrationState: typing.Literal[ "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" ] externalManagedBackendBucketMigrationTestingPercentage: float fingerprint: str id: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] + ipVersion: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] isMirroringCollector: bool kind: str labelFingerprint: str labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "EXTERNAL_PASSTHROUGH", @@ -2287,7 +2286,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): metadataFilters: _list[MetadataFilter] name: str network: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -2299,7 +2298,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): portRange: str ports: _list[str] pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "ACCEPTED", "ACCEPTED_LIMITED_CAPACITY", "CLOSED", @@ -2319,7 +2318,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): target: str @typing.type_check_only -class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): +class ForwardingRuleAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2329,11 +2328,11 @@ class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ForwardingRuleAttachedExtension(typing_extensions.TypedDict, total=False): +class ForwardingRuleAttachedExtension(typing.TypedDict, total=False): reference: str @typing.type_check_only -class ForwardingRuleList(typing_extensions.TypedDict, total=False): +class ForwardingRuleList(typing.TypedDict, total=False): id: str items: _list[ForwardingRule] kind: str @@ -2342,24 +2341,22 @@ class ForwardingRuleList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ForwardingRuleReference(typing_extensions.TypedDict, total=False): +class ForwardingRuleReference(typing.TypedDict, total=False): forwardingRule: str @typing.type_check_only -class ForwardingRuleServiceDirectoryRegistration( - typing_extensions.TypedDict, total=False -): +class ForwardingRuleServiceDirectoryRegistration(typing.TypedDict, total=False): namespace: str service: str serviceDirectoryRegion: str @typing.type_check_only -class ForwardingRulesScopedList(typing_extensions.TypedDict, total=False): +class ForwardingRulesScopedList(typing.TypedDict, total=False): forwardingRules: _list[ForwardingRule] warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservation(typing_extensions.TypedDict, total=False): +class FutureReservation(typing.TypedDict, total=False): advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation autoCreatedReservationsDeleteTime: str @@ -2367,13 +2364,11 @@ class FutureReservation(typing_extensions.TypedDict, total=False): autoDeleteAutoCreatedReservations: bool colocationResource: str commitmentInfo: FutureReservationCommitmentInfo - confidentialComputeType: typing_extensions.Literal[ + confidentialComputeType: typing.Literal[ "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" ] creationTimestamp: str - deploymentType: typing_extensions.Literal[ - "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" - ] + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE"] description: str enableEmergentMaintenance: bool id: str @@ -2381,17 +2376,16 @@ class FutureReservation(typing_extensions.TypedDict, total=False): name: str namePrefix: str params: FutureReservationParams - planningStatus: typing_extensions.Literal[ - "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" - ] - protectionTier: typing_extensions.Literal[ + planningStatus: typing.Literal["DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED"] + protectionTier: typing.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] - reservationMode: typing_extensions.Literal[ + reservationMode: typing.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] reservationName: str - schedulingType: typing_extensions.Literal[ + resourceName: str + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] selfLink: str @@ -2400,47 +2394,49 @@ class FutureReservation(typing_extensions.TypedDict, total=False): specificReservationRequired: bool specificSkuProperties: FutureReservationSpecificSKUProperties status: FutureReservationStatus + storagePoolProperties: FutureReservationStoragePoolProperties timeWindow: FutureReservationTimeWindow zone: str @typing.type_check_only -class FutureReservationCommitmentInfo(typing_extensions.TypedDict, total=False): +class FutureReservationCommitmentInfo(typing.TypedDict, total=False): commitmentName: str - commitmentPlan: typing_extensions.Literal[ + commitmentPlan: typing.Literal[ "INVALID", "SIXTY_MONTH", "THIRTY_SIX_MONTH", "TWELVE_MONTH", "TWENTY_FOUR_MONTH", ] - previousCommitmentTerms: typing_extensions.Literal[ + previousCommitmentTerms: typing.Literal[ "EXTEND", "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" ] @typing.type_check_only -class FutureReservationParams(typing_extensions.TypedDict, total=False): +class FutureReservationParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FutureReservationSpecificSKUProperties(typing_extensions.TypedDict, total=False): +class FutureReservationSpecificSKUProperties(typing.TypedDict, total=False): instanceProperties: AllocationSpecificSKUAllocationReservedInstanceProperties sourceInstanceTemplate: str totalCount: str @typing.type_check_only -class FutureReservationStatus(typing_extensions.TypedDict, total=False): - amendmentStatus: typing_extensions.Literal[ +class FutureReservationStatus(typing.TypedDict, total=False): + amendmentStatus: typing.Literal[ "AMENDMENT_APPROVED", "AMENDMENT_DECLINED", "AMENDMENT_IN_REVIEW", "AMENDMENT_STATUS_UNSPECIFIED", ] autoCreatedReservations: _list[str] + exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo fulfilledCount: str lastKnownGoodState: FutureReservationStatusLastKnownGoodState lockTime: str - procurementStatus: typing_extensions.Literal[ + procurementStatus: typing.Literal[ "APPROVED", "CANCELLED", "COMMITTED", @@ -2456,18 +2452,15 @@ class FutureReservationStatus(typing_extensions.TypedDict, total=False): "PROVISIONING", ] specificSkuProperties: FutureReservationStatusSpecificSKUProperties + storagePoolProvisionedCapacity: FutureReservationStoragePoolProvisionedCapacity @typing.type_check_only -class FutureReservationStatusExistingMatchingUsageInfo( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusExistingMatchingUsageInfo(typing.TypedDict, total=False): count: str timestamp: str @typing.type_check_only -class FutureReservationStatusLastKnownGoodState( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusLastKnownGoodState(typing.TypedDict, total=False): description: str existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo futureReservationSpecs: ( @@ -2475,7 +2468,7 @@ class FutureReservationStatusLastKnownGoodState( ) lockTime: str namePrefix: str - procurementStatus: typing_extensions.Literal[ + procurementStatus: typing.Literal[ "APPROVED", "CANCELLED", "COMMITTED", @@ -2493,28 +2486,38 @@ class FutureReservationStatusLastKnownGoodState( @typing.type_check_only class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shareSettings: ShareSettings specificSkuProperties: FutureReservationSpecificSKUProperties timeWindow: FutureReservationTimeWindow @typing.type_check_only -class FutureReservationStatusSpecificSKUProperties( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusSpecificSKUProperties(typing.TypedDict, total=False): sourceInstanceTemplateId: str @typing.type_check_only -class FutureReservationTimeWindow(typing_extensions.TypedDict, total=False): +class FutureReservationStoragePoolProperties(typing.TypedDict, total=False): + requestedExapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb + requestedStoragePoolProvisionedCapacity: ( + FutureReservationStoragePoolProvisionedCapacity + ) + storagePoolType: str + +@typing.type_check_only +class FutureReservationStoragePoolProvisionedCapacity(typing.TypedDict, total=False): + poolProvisionedCapacityGb: str + poolProvisionedIops: str + poolProvisionedThroughput: str + +@typing.type_check_only +class FutureReservationTimeWindow(typing.TypedDict, total=False): duration: Duration endTime: str startTime: str @typing.type_check_only -class FutureReservationsAggregatedListResponse( - typing_extensions.TypedDict, total=False -): +class FutureReservationsAggregatedListResponse(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -2525,7 +2528,7 @@ class FutureReservationsAggregatedListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservationsListResponse(typing_extensions.TypedDict, total=False): +class FutureReservationsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[FutureReservation] @@ -2536,27 +2539,25 @@ class FutureReservationsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservationsScopedList(typing_extensions.TypedDict, total=False): +class FutureReservationsScopedList(typing.TypedDict, total=False): futureReservations: _list[FutureReservation] warning: dict[str, typing.Any] @typing.type_check_only -class FutureResourcesRecommendation(typing_extensions.TypedDict, total=False): +class FutureResourcesRecommendation(typing.TypedDict, total=False): endTime: str location: str otherLocations: dict[str, typing.Any] recommendationId: str - recommendationType: typing_extensions.Literal[ + recommendationType: typing.Literal[ "FUTURE_RESERVATION", "RECOMMENDATION_TYPE_UNSPECIFIED" ] startTime: str @typing.type_check_only -class FutureResourcesRecommendationOtherLocation( - typing_extensions.TypedDict, total=False -): +class FutureResourcesRecommendationOtherLocation(typing.TypedDict, total=False): details: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CONDITIONS_NOT_MET", "NOT_SUPPORTED", "NO_CAPACITY", @@ -2565,18 +2566,16 @@ class FutureResourcesRecommendationOtherLocation( ] @typing.type_check_only -class FutureResourcesSpec(typing_extensions.TypedDict, total=False): - deploymentType: typing_extensions.Literal[ - "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" - ] +class FutureResourcesSpec(typing.TypedDict, total=False): + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE"] locationPolicy: FutureResourcesSpecLocationPolicy targetResources: FutureResourcesSpecTargetResources timeRangeSpec: FlexibleTimeRange @typing.type_check_only -class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecAggregateResources(typing.TypedDict, total=False): acceleratorCount: str - vmFamily: typing_extensions.Literal[ + vmFamily: typing.Literal[ "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", @@ -2588,76 +2587,104 @@ class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=F "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU8I_METAL", ] - workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + workloadType: typing.Literal["BATCH", "SERVING", "UNSPECIFIED"] @typing.type_check_only -class FutureResourcesSpecLocalSsdPartition(typing_extensions.TypedDict, total=False): - diskInterface: typing_extensions.Literal["NVDIMM", "NVME", "SCSI"] +class FutureResourcesSpecLocalSsdPartition(typing.TypedDict, total=False): + diskInterface: typing.Literal["NVDIMM", "NVME", "SCSI"] diskSizeGb: str @typing.type_check_only -class FutureResourcesSpecLocationPolicy(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecLocationPolicy(typing.TypedDict, total=False): locations: dict[str, typing.Any] @typing.type_check_only -class FutureResourcesSpecLocationPolicyLocation( - typing_extensions.TypedDict, total=False -): - preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] +class FutureResourcesSpecLocationPolicyLocation(typing.TypedDict, total=False): + preference: typing.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] @typing.type_check_only -class FutureResourcesSpecSpecificSKUResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecSpecificSKUResources(typing.TypedDict, total=False): instanceCount: str localSsdPartitions: _list[FutureResourcesSpecLocalSsdPartition] machineType: str @typing.type_check_only -class FutureResourcesSpecTargetResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecTargetResources(typing.TypedDict, total=False): aggregateResources: FutureResourcesSpecAggregateResources specificSkuResources: FutureResourcesSpecSpecificSKUResources @typing.type_check_only -class GRPCHealthCheck(typing_extensions.TypedDict, total=False): +class GRPCHealthCheck(typing.TypedDict, total=False): grpcServiceName: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] @typing.type_check_only -class GRPCTLSHealthCheck(typing_extensions.TypedDict, total=False): +class GRPCTLSHealthCheck(typing.TypedDict, total=False): grpcServiceName: str port: int - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] @typing.type_check_only -class GetAsyncReplicationStatusResponse(typing_extensions.TypedDict, total=False): +class GetAsyncReplicationStatusResponse(typing.TypedDict, total=False): asyncReplicationStatus: AsyncReplicationStatus etag: str @typing.type_check_only -class GetOwnerInstanceResponse(typing_extensions.TypedDict, total=False): +class GetHealthOperationMetadata(typing.TypedDict, total=False): + healthInfo: GetHealthOperationMetadataHealthInfo + +@typing.type_check_only +class GetHealthOperationMetadataHealthInfo(typing.TypedDict, total=False): + availabilitySloStatus: typing.Literal[ + "AVAILABILITY_SLO_STATUS_IN_SLO", + "AVAILABILITY_SLO_STATUS_OUT_OF_SLO", + "AVAILABILITY_SLO_STATUS_SLO_UNKNOWN", + "AVAILABILITY_SLO_STATUS_UNSPECIFIED", + ] + healthStatus: typing.Literal[ + "HEALTH_STATUS_HEALTHY", "HEALTH_STATUS_UNHEALTHY", "HEALTH_STATUS_UNSPECIFIED" + ] + repairCategory: typing.Literal[ + "REPAIR_CATEGORY_CRITICAL_FAILURE", + "REPAIR_CATEGORY_EMERGENT_MAINTENANCE", + "REPAIR_CATEGORY_PLANNED_MAINTENANCE", + "REPAIR_CATEGORY_UNSPECIFIED", + "REPAIR_CATEGORY_USER_REPORTED_FAULT", + ] + unhealthyReason: typing.Literal[ + "UNHEALTHY_REASON_PENDING_USER_APPROVAL", + "UNHEALTHY_REASON_REPAIRING", + "UNHEALTHY_REASON_UNSCHEDULABLE", + "UNHEALTHY_REASON_UNSPECIFIED", + ] + updateTime: str + +@typing.type_check_only +class GetOwnerInstanceResponse(typing.TypedDict, total=False): instance: str @typing.type_check_only -class GetVersionOperationMetadata(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadata(typing.TypedDict, total=False): inlineSbomInfo: GetVersionOperationMetadataSbomInfo @typing.type_check_only -class GetVersionOperationMetadataSbomInfo(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadataSbomInfo(typing.TypedDict, total=False): currentComponentVersions: dict[str, typing.Any] targetComponentVersions: dict[str, typing.Any] @typing.type_check_only -class GlobalAddressesMoveRequest(typing_extensions.TypedDict, total=False): +class GlobalAddressesMoveRequest(typing.TypedDict, total=False): description: str destinationAddress: str @typing.type_check_only -class GlobalListVmExtensionsResponse(typing_extensions.TypedDict, total=False): +class GlobalListVmExtensionsResponse(typing.TypedDict, total=False): etag: str id: str items: _list[GlobalVmExtension] @@ -2668,36 +2695,32 @@ class GlobalListVmExtensionsResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class GlobalNetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class GlobalNetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class GlobalNetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class GlobalNetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class GlobalOrganizationSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalOrganizationSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class GlobalSetLabelsRequest(typing_extensions.TypedDict, total=False): +class GlobalSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class GlobalVmExtension(typing_extensions.TypedDict, total=False): +class GlobalVmExtension(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -2707,7 +2730,7 @@ class GlobalVmExtension(typing_extensions.TypedDict, total=False): versions: _list[str] @typing.type_check_only -class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str extensionPolicies: dict[str, typing.Any] @@ -2717,7 +2740,7 @@ class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): name: str priority: int rolloutOperation: GlobalVmExtensionPolicyRolloutOperation - scopedResourceStatus: typing_extensions.Literal[ + scopedResourceStatus: typing.Literal[ "SCOPED_RESOURCE_STATUS_DELETING", "SCOPED_RESOURCE_STATUS_UNSPECIFIED" ] selfLink: str @@ -2725,20 +2748,31 @@ class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): updateTimestamp: str @typing.type_check_only -class GlobalVmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyExtensionPolicy(typing.TypedDict, total=False): + installedSoftwareSelector: GlobalVmExtensionPolicyInstalledSoftwareSelector pinnedVersion: str stringConfig: str @typing.type_check_only -class GlobalVmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyInstalledSoftwareSelector(typing.TypedDict, total=False): + anyOfSelectors: dict[str, typing.Any] + +@typing.type_check_only +class GlobalVmExtensionPolicyInstalledSoftwareSelectorSelectorSet( + typing.TypedDict, total=False +): + allOfSelectors: _list[str] + +@typing.type_check_only +class GlobalVmExtensionPolicyInstanceSelector(typing.TypedDict, total=False): labelSelector: GlobalVmExtensionPolicyLabelSelector @typing.type_check_only -class GlobalVmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyLabelSelector(typing.TypedDict, total=False): inclusionLabels: dict[str, typing.Any] @typing.type_check_only -class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[GlobalVmExtensionPolicy] @@ -2749,24 +2783,24 @@ class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class GlobalVmExtensionPolicyRolloutOperation(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyRolloutOperation(typing.TypedDict, total=False): rolloutInput: GlobalVmExtensionPolicyRolloutOperationRolloutInput rolloutStatus: GlobalVmExtensionPolicyRolloutOperationRolloutStatus @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictBehavior: str name: str - predefinedRolloutPlan: typing_extensions.Literal[ + predefinedRolloutPlan: typing.Literal[ "FAST_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", "SLOW_ROLLOUT" ] retryUuid: str @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentRollouts: _list[ GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata @@ -2775,12 +2809,12 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationRolloutStatus: dict[str, typing.Any] rollout: str rolloutPlan: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_CANCELLED", "STATE_COMPLETED", "STATE_FAILED", @@ -2792,9 +2826,9 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ + state: typing.Literal[ "LOCATION_ROLLOUT_STATE_COMPLETED", "LOCATION_ROLLOUT_STATE_FAILED", "LOCATION_ROLLOUT_STATE_NOT_STARTED", @@ -2803,12 +2837,12 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocatio ] @typing.type_check_only -class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): +class GroupMaintenanceInfo(typing.TypedDict, total=False): instanceMaintenanceOngoingCount: int instanceMaintenancePendingCount: int maintenanceOngoingCount: int maintenancePendingCount: int - schedulingType: typing_extensions.Literal[ + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] subblockInfraMaintenanceOngoingCount: int @@ -2816,13 +2850,13 @@ class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): upcomingGroupMaintenance: UpcomingMaintenance @typing.type_check_only -class GrpcServiceConfig(typing_extensions.TypedDict, total=False): +class GrpcServiceConfig(typing.TypedDict, total=False): callCredentials: CallCredentials channelCredentials: ChannelCredentials targetUri: str @typing.type_check_only -class GuestAttributes(typing_extensions.TypedDict, total=False): +class GuestAttributes(typing.TypedDict, total=False): kind: str queryPath: str queryValue: GuestAttributesValue @@ -2831,18 +2865,18 @@ class GuestAttributes(typing_extensions.TypedDict, total=False): variableValue: str @typing.type_check_only -class GuestAttributesEntry(typing_extensions.TypedDict, total=False): +class GuestAttributesEntry(typing.TypedDict, total=False): key: str namespace: str value: str @typing.type_check_only -class GuestAttributesValue(typing_extensions.TypedDict, total=False): +class GuestAttributesValue(typing.TypedDict, total=False): items: _list[GuestAttributesEntry] @typing.type_check_only -class GuestOsFeature(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class GuestOsFeature(typing.TypedDict, total=False): + type: typing.Literal[ "BARE_METAL_LINUX_COMPATIBLE", "CCA_CAPABLE", "FEATURE_TYPE_UNSPECIFIED", @@ -2862,54 +2896,51 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HTTP2HealthCheck(typing_extensions.TypedDict, total=False): +class HTTP2HealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str - weightReportMode: typing_extensions.Literal["DISABLE", "DRY_RUN", "ENABLE"] + weightReportMode: typing.Literal["DISABLE", "DRY_RUN", "ENABLE"] @typing.type_check_only -class HTTPHealthCheck(typing_extensions.TypedDict, total=False): +class HTTPHealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str - weightReportMode: typing_extensions.Literal["DISABLE", "DRY_RUN", "ENABLE"] + weightReportMode: typing.Literal["DISABLE", "DRY_RUN", "ENABLE"] @typing.type_check_only -class HTTPSHealthCheck(typing_extensions.TypedDict, total=False): +class HTTPSHealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str - weightReportMode: typing_extensions.Literal["DISABLE", "DRY_RUN", "ENABLE"] + weightReportMode: typing.Literal["DISABLE", "DRY_RUN", "ENABLE"] @typing.type_check_only -class HaController(typing_extensions.TypedDict, total=False): +class HaController(typing.TypedDict, total=False): backendServices: _list[str] creationTimestamp: str description: str - failoverCapacity: typing_extensions.Literal[ - "BEST_EFFORT_CAPACITY", "FAILOVER_CAPACITY_UNSPECIFIED" - ] - failoverInitiation: typing_extensions.Literal[ - "FAILOVER_INITIATION_UNSPECIFIED", "MANUAL_ONLY" + failoverInitiation: typing.Literal[ + "AUTOMATIC", "FAILOVER_INITIATION_UNSPECIFIED", "MANUAL_ONLY" ] id: str instanceName: str @@ -2917,28 +2948,37 @@ class HaController(typing_extensions.TypedDict, total=False): name: str networkingAutoConfiguration: HaControllerNetworkingAutoConfiguration region: str - secondaryZoneCapacity: typing_extensions.Literal[ - "BEST_EFFORT", "SECONDARY_ZONE_CAPACITY_UNSPECIFIED" - ] selfLink: str selfLinkWithId: str + state: typing.Literal[ + "ACTIVE", + "CREATING", + "DELETING", + "FAILOVER_IN_PROGRESS", + "FAILOVER_UNAVAILABLE", + "MULTI_ZONE_FAILURE", + "PENDING_FAILOVER", + "STARTING", + "STATE_UNSPECIFIED", + "STOPPED", + "STOPPING", + "UPDATING", + ] status: HaControllerStatus zoneConfigurations: dict[str, typing.Any] @typing.type_check_only -class HaControllerNetworkingAutoConfiguration(typing_extensions.TypedDict, total=False): +class HaControllerNetworkingAutoConfiguration(typing.TypedDict, total=False): internal: HaControllerNetworkingAutoConfigurationInternal @typing.type_check_only -class HaControllerNetworkingAutoConfigurationInternal( - typing_extensions.TypedDict, total=False -): +class HaControllerNetworkingAutoConfigurationInternal(typing.TypedDict, total=False): ipAddress: str ipv6Address: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] @typing.type_check_only -class HaControllerStatus(typing_extensions.TypedDict, total=False): +class HaControllerStatus(typing.TypedDict, total=False): failoverProgress: HaControllerStatusFailoverProgress lastFailoverInfo: HaControllerStatusFailoverProgress ongoingFailover: bool @@ -2948,9 +2988,10 @@ class HaControllerStatus(typing_extensions.TypedDict, total=False): zoneStatus: dict[str, typing.Any] @typing.type_check_only -class HaControllerStatusFailoverProgress(typing_extensions.TypedDict, total=False): +class HaControllerStatusFailoverProgress(typing.TypedDict, total=False): failoverCompleteTimestamp: str - failoverTrigger: typing_extensions.Literal[ + failoverDuration: str + failoverTrigger: typing.Literal[ "AUTOMATIC", "FAILOVER_TRIGGER_UNSPECIFIED", "MANUAL" ] failoverTriggerTimestamp: str @@ -2958,40 +2999,36 @@ class HaControllerStatusFailoverProgress(typing_extensions.TypedDict, total=Fals @typing.type_check_only class HaControllerStatusFailoverProgressLastFailoverAttempt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: dict[str, typing.Any] timestamp: str @typing.type_check_only -class HaControllerStatusZoneStatus(typing_extensions.TypedDict, total=False): +class HaControllerStatusZoneStatus(typing.TypedDict, total=False): isPrimary: bool isZoneReady: bool lastError: HaControllerStatusZoneStatusLastError @typing.type_check_only -class HaControllerStatusZoneStatusLastError(typing_extensions.TypedDict, total=False): +class HaControllerStatusZoneStatusLastError(typing.TypedDict, total=False): errors: dict[str, typing.Any] timestamp: str @typing.type_check_only -class HaControllerZoneConfiguration(typing_extensions.TypedDict, total=False): +class HaControllerZoneConfiguration(typing.TypedDict, total=False): nodeAffinities: _list[HaControllerZoneConfigurationNodeAffinity] reservationAffinity: HaControllerZoneConfigurationReservationAffinity @typing.type_check_only -class HaControllerZoneConfigurationNodeAffinity( - typing_extensions.TypedDict, total=False -): +class HaControllerZoneConfigurationNodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] + operator: typing.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] values: _list[str] @typing.type_check_only -class HaControllerZoneConfigurationReservationAffinity( - typing_extensions.TypedDict, total=False -): - consumeReservationType: typing_extensions.Literal[ +class HaControllerZoneConfigurationReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "ANY_RESERVATION", "ANY_RESERVATION_THEN_FAIL", "NO_RESERVATION", @@ -3004,7 +3041,7 @@ class HaControllerZoneConfigurationReservationAffinity( values: _list[str] @typing.type_check_only -class HaControllersAggregatedList(typing_extensions.TypedDict, total=False): +class HaControllersAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -3015,11 +3052,11 @@ class HaControllersAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HaControllersFailoverRequest(typing_extensions.TypedDict, total=False): +class HaControllersFailoverRequest(typing.TypedDict, total=False): failoverToZone: str @typing.type_check_only -class HaControllersList(typing_extensions.TypedDict, total=False): +class HaControllersList(typing.TypedDict, total=False): etag: str id: str items: _list[HaController] @@ -3029,17 +3066,17 @@ class HaControllersList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HaControllersScopedList(typing_extensions.TypedDict, total=False): +class HaControllersScopedList(typing.TypedDict, total=False): haControllers: _list[HaController] warning: dict[str, typing.Any] @typing.type_check_only -class HealthAggregationPoliciesScopedList(typing_extensions.TypedDict, total=False): +class HealthAggregationPoliciesScopedList(typing.TypedDict, total=False): healthAggregationPolicies: _list[HealthAggregationPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -3048,15 +3085,13 @@ class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): kind: str minHealthyThreshold: int name: str - policyType: typing_extensions.Literal[ - "BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY" - ] + policyType: typing.Literal["BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY"] region: str selfLink: str selfLinkWithId: str @typing.type_check_only -class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3066,7 +3101,7 @@ class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=F warning: dict[str, typing.Any] @typing.type_check_only -class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicyList(typing.TypedDict, total=False): id: str items: _list[HealthAggregationPolicy] kind: str @@ -3075,7 +3110,7 @@ class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -3096,7 +3131,7 @@ class HealthCheck(typing_extensions.TypedDict, total=False): sslHealthCheck: SSLHealthCheck tcpHealthCheck: TCPHealthCheck timeoutSec: int - type: typing_extensions.Literal[ + type: typing.Literal[ "GRPC", "GRPC_WITH_TLS", "HTTP", @@ -3111,7 +3146,7 @@ class HealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class HealthCheckList(typing_extensions.TypedDict, total=False): +class HealthCheckList(typing.TypedDict, total=False): id: str items: _list[HealthCheck] kind: str @@ -3120,21 +3155,21 @@ class HealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckLogConfig(typing_extensions.TypedDict, total=False): +class HealthCheckLogConfig(typing.TypedDict, total=False): enable: bool @typing.type_check_only -class HealthCheckReference(typing_extensions.TypedDict, total=False): +class HealthCheckReference(typing.TypedDict, total=False): healthCheck: str @typing.type_check_only -class HealthCheckService(typing_extensions.TypedDict, total=False): +class HealthCheckService(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str healthChecks: _list[str] - healthStatusAggregationPolicy: typing_extensions.Literal["AND", "NO_AGGREGATION"] - healthStatusAggregationStrategy: typing_extensions.Literal["AND", "NO_AGGREGATION"] + healthStatusAggregationPolicy: typing.Literal["AND", "NO_AGGREGATION"] + healthStatusAggregationStrategy: typing.Literal["AND", "NO_AGGREGATION"] id: str kind: str name: str @@ -3145,7 +3180,7 @@ class HealthCheckService(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class HealthCheckServiceAggregatedList(typing_extensions.TypedDict, total=False): +class HealthCheckServiceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3155,11 +3190,11 @@ class HealthCheckServiceAggregatedList(typing_extensions.TypedDict, total=False) warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckServiceReference(typing_extensions.TypedDict, total=False): +class HealthCheckServiceReference(typing.TypedDict, total=False): healthCheckService: str @typing.type_check_only -class HealthCheckServicesList(typing_extensions.TypedDict, total=False): +class HealthCheckServicesList(typing.TypedDict, total=False): id: str items: _list[HealthCheckService] kind: str @@ -3168,12 +3203,12 @@ class HealthCheckServicesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckServicesScopedList(typing_extensions.TypedDict, total=False): +class HealthCheckServicesScopedList(typing.TypedDict, total=False): resources: _list[HealthCheckService] warning: dict[str, typing.Any] @typing.type_check_only -class HealthChecksAggregatedList(typing_extensions.TypedDict, total=False): +class HealthChecksAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3183,12 +3218,12 @@ class HealthChecksAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthChecksScopedList(typing_extensions.TypedDict, total=False): +class HealthChecksScopedList(typing.TypedDict, total=False): healthChecks: _list[HealthCheck] warning: dict[str, typing.Any] @typing.type_check_only -class HealthSource(typing_extensions.TypedDict, total=False): +class HealthSource(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -3199,11 +3234,11 @@ class HealthSource(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str - sourceType: typing_extensions.Literal["BACKEND_SERVICE"] + sourceType: typing.Literal["BACKEND_SERVICE"] sources: _list[str] @typing.type_check_only -class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): +class HealthSourceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3213,13 +3248,13 @@ class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthSourceHealth(typing_extensions.TypedDict, total=False): - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] +class HealthSourceHealth(typing.TypedDict, total=False): + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] kind: str sources: _list[HealthSourcesGetHealthResponseSourceInfo] @typing.type_check_only -class HealthSourceList(typing_extensions.TypedDict, total=False): +class HealthSourceList(typing.TypedDict, total=False): id: str items: _list[HealthSource] kind: str @@ -3228,66 +3263,60 @@ class HealthSourceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthSourcesGetHealthResponseSourceInfo( - typing_extensions.TypedDict, total=False -): +class HealthSourcesGetHealthResponseSourceInfo(typing.TypedDict, total=False): backends: _list[HealthSourcesGetHealthResponseSourceInfoBackendInfo] forwardingRule: str source: str @typing.type_check_only class HealthSourcesGetHealthResponseSourceInfoBackendInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointCount: int group: str healthyEndpointCount: int @typing.type_check_only -class HealthSourcesScopedList(typing_extensions.TypedDict, total=False): +class HealthSourcesScopedList(typing.TypedDict, total=False): healthSources: _list[HealthSource] warning: dict[str, typing.Any] @typing.type_check_only -class HealthStatus(typing_extensions.TypedDict, total=False): +class HealthStatus(typing.TypedDict, total=False): annotations: dict[str, typing.Any] forwardingRule: str forwardingRuleIp: str - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY"] instance: str ipAddress: str ipv6Address: str - ipv6HealthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY"] + ipv6HealthState: typing.Literal["HEALTHY", "UNHEALTHY"] port: int weight: str - weightError: typing_extensions.Literal[ + weightError: typing.Literal[ "INVALID_WEIGHT", "MISSING_WEIGHT", "UNAVAILABLE_WEIGHT", "WEIGHT_NONE" ] @typing.type_check_only -class HealthStatusForNetworkEndpoint(typing_extensions.TypedDict, total=False): +class HealthStatusForNetworkEndpoint(typing.TypedDict, total=False): backendService: BackendServiceReference forwardingRule: ForwardingRuleReference healthCheck: HealthCheckReference healthCheckService: HealthCheckServiceReference - healthState: typing_extensions.Literal[ - "DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN" - ] - ipv6HealthState: typing_extensions.Literal[ - "DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN" - ] + healthState: typing.Literal["DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN"] + ipv6HealthState: typing.Literal["DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN"] @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[HelpLink] @typing.type_check_only -class HelpLink(typing_extensions.TypedDict, total=False): +class HelpLink(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class Host(typing_extensions.TypedDict, total=False): +class Host(typing.TypedDict, total=False): aliasLinks: _list[str] creationTimestamp: str description: str @@ -3296,34 +3325,34 @@ class Host(typing_extensions.TypedDict, total=False): name: str selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" ] status: HostStatus zone: str @typing.type_check_only -class HostPhysicalTopology(typing_extensions.TypedDict, total=False): +class HostPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str host: str subBlock: str @typing.type_check_only -class HostRule(typing_extensions.TypedDict, total=False): +class HostRule(typing.TypedDict, total=False): description: str hosts: _list[str] pathMatcher: str @typing.type_check_only -class HostStatus(typing_extensions.TypedDict, total=False): +class HostStatus(typing.TypedDict, total=False): physicalTopology: HostPhysicalTopology runningInstances: _list[str] @typing.type_check_only -class HostsGetVersionRequest(typing_extensions.TypedDict, total=False): +class HostsGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -3331,7 +3360,7 @@ class HostsGetVersionRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HostsListResponse(typing_extensions.TypedDict, total=False): +class HostsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[Host] @@ -3342,35 +3371,35 @@ class HostsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HttpFaultAbort(typing_extensions.TypedDict, total=False): +class HttpFaultAbort(typing.TypedDict, total=False): httpStatus: int percentage: float @typing.type_check_only -class HttpFaultDelay(typing_extensions.TypedDict, total=False): +class HttpFaultDelay(typing.TypedDict, total=False): fixedDelay: Duration percentage: float @typing.type_check_only -class HttpFaultInjection(typing_extensions.TypedDict, total=False): +class HttpFaultInjection(typing.TypedDict, total=False): abort: HttpFaultAbort delay: HttpFaultDelay @typing.type_check_only -class HttpFilterConfig(typing_extensions.TypedDict, total=False): +class HttpFilterConfig(typing.TypedDict, total=False): config: str configTypeUrl: str filterName: str @typing.type_check_only -class HttpHeaderAction(typing_extensions.TypedDict, total=False): +class HttpHeaderAction(typing.TypedDict, total=False): requestHeadersToAdd: _list[HttpHeaderOption] requestHeadersToRemove: _list[str] responseHeadersToAdd: _list[HttpHeaderOption] responseHeadersToRemove: _list[str] @typing.type_check_only -class HttpHeaderMatch(typing_extensions.TypedDict, total=False): +class HttpHeaderMatch(typing.TypedDict, total=False): exactMatch: str headerName: str invertMatch: bool @@ -3381,13 +3410,13 @@ class HttpHeaderMatch(typing_extensions.TypedDict, total=False): suffixMatch: str @typing.type_check_only -class HttpHeaderOption(typing_extensions.TypedDict, total=False): +class HttpHeaderOption(typing.TypedDict, total=False): headerName: str headerValue: str replace: bool @typing.type_check_only -class HttpHealthCheck(typing_extensions.TypedDict, total=False): +class HttpHealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -3404,7 +3433,7 @@ class HttpHealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class HttpHealthCheckList(typing_extensions.TypedDict, total=False): +class HttpHealthCheckList(typing.TypedDict, total=False): id: str items: _list[HttpHealthCheck] kind: str @@ -3413,19 +3442,19 @@ class HttpHealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HttpQueryParameterMatch(typing_extensions.TypedDict, total=False): +class HttpQueryParameterMatch(typing.TypedDict, total=False): exactMatch: str name: str presentMatch: bool regexMatch: str @typing.type_check_only -class HttpRedirectAction(typing_extensions.TypedDict, total=False): +class HttpRedirectAction(typing.TypedDict, total=False): hostRedirect: str httpsRedirect: bool pathRedirect: str prefixRedirect: str - redirectResponseCode: typing_extensions.Literal[ + redirectResponseCode: typing.Literal[ "FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", @@ -3435,13 +3464,13 @@ class HttpRedirectAction(typing_extensions.TypedDict, total=False): stripQuery: bool @typing.type_check_only -class HttpRetryPolicy(typing_extensions.TypedDict, total=False): +class HttpRetryPolicy(typing.TypedDict, total=False): numRetries: int perTryTimeout: Duration retryConditions: _list[str] @typing.type_check_only -class HttpRouteAction(typing_extensions.TypedDict, total=False): +class HttpRouteAction(typing.TypedDict, total=False): cachePolicy: CachePolicy corsPolicy: CorsPolicy faultInjectionPolicy: HttpFaultInjection @@ -3454,7 +3483,7 @@ class HttpRouteAction(typing_extensions.TypedDict, total=False): weightedBackendServices: _list[WeightedBackendService] @typing.type_check_only -class HttpRouteRule(typing_extensions.TypedDict, total=False): +class HttpRouteRule(typing.TypedDict, total=False): customErrorResponsePolicy: CustomErrorResponsePolicy description: str headerAction: HttpHeaderAction @@ -3467,7 +3496,7 @@ class HttpRouteRule(typing_extensions.TypedDict, total=False): urlRedirect: HttpRedirectAction @typing.type_check_only -class HttpRouteRuleMatch(typing_extensions.TypedDict, total=False): +class HttpRouteRuleMatch(typing.TypedDict, total=False): fullPathMatch: str headerMatches: _list[HttpHeaderMatch] ignoreCase: bool @@ -3478,7 +3507,7 @@ class HttpRouteRuleMatch(typing_extensions.TypedDict, total=False): regexMatch: str @typing.type_check_only -class HttpsHealthCheck(typing_extensions.TypedDict, total=False): +class HttpsHealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -3495,7 +3524,7 @@ class HttpsHealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class HttpsHealthCheckList(typing_extensions.TypedDict, total=False): +class HttpsHealthCheckList(typing.TypedDict, total=False): id: str items: _list[HttpsHealthCheck] kind: str @@ -3504,10 +3533,8 @@ class HttpsHealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Image(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] archiveSizeBytes: str creationTimestamp: str deprecated: DeprecationStatus @@ -3542,16 +3569,16 @@ class Image(typing_extensions.TypedDict, total=False): sourceSnapshot: str sourceSnapshotEncryptionKey: CustomerEncryptionKey sourceSnapshotId: str - sourceType: typing_extensions.Literal["RAW"] - status: typing_extensions.Literal["DELETING", "FAILED", "PENDING", "READY"] + sourceType: typing.Literal["RAW"] + status: typing.Literal["DELETING", "FAILED", "PENDING", "READY"] storageLocations: _list[str] @typing.type_check_only -class ImageFamilyView(typing_extensions.TypedDict, total=False): +class ImageFamilyView(typing.TypedDict, total=False): image: Image @typing.type_check_only -class ImageList(typing_extensions.TypedDict, total=False): +class ImageList(typing.TypedDict, total=False): id: str items: _list[Image] kind: str @@ -3560,21 +3587,21 @@ class ImageList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ImageOptimizationPolicy(typing_extensions.TypedDict, total=False): - queryParameterInterpretation: typing_extensions.Literal[ +class ImageOptimizationPolicy(typing.TypedDict, total=False): + queryParameterInterpretation: typing.Literal[ "DISABLED", "ENABLED", "QUERY_PARAMETER_INTERPRETATION_UNSPECIFIED" ] @typing.type_check_only -class ImageParams(typing_extensions.TypedDict, total=False): +class ImageParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class ImageView(typing_extensions.TypedDict, total=False): +class ImageView(typing.TypedDict, total=False): image: Image @typing.type_check_only -class ImageViewsListResponse(typing_extensions.TypedDict, total=False): +class ImageViewsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[ImageView] @@ -3585,14 +3612,14 @@ class ImageViewsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InitialStateConfig(typing_extensions.TypedDict, total=False): +class InitialStateConfig(typing.TypedDict, total=False): dbs: _list[FileContentBuffer] dbxs: _list[FileContentBuffer] keks: _list[FileContentBuffer] pk: FileContentBuffer @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): advancedMachineFeatures: AdvancedMachineFeatures canIpForward: bool confidentialInstanceConfig: ConfidentialInstanceConfig @@ -3610,7 +3637,7 @@ class Instance(typing_extensions.TypedDict, total=False): identity: str identityCertificate: bool instanceEncryptionKey: CustomerEncryptionKey - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] kind: str @@ -3619,7 +3646,13 @@ class Instance(typing_extensions.TypedDict, total=False): lastStartTimestamp: str lastStopTimestamp: str lastSuspendedTimestamp: str + localSsdEncryptionMode: typing.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str + managementInterfaces: dict[str, typing.Any] metadata: Metadata minCpuPlatform: str name: str @@ -3627,11 +3660,11 @@ class Instance(typing_extensions.TypedDict, total=False): networkPerformanceConfig: NetworkPerformanceConfig params: InstanceParams partnerMetadata: dict[str, typing.Any] - postKeyRevocationActionType: typing_extensions.Literal[ + postKeyRevocationActionType: typing.Literal[ "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" ] preservedStateSizeGb: str - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", "INHERIT_FROM_SUBNETWORK", @@ -3654,7 +3687,7 @@ class Instance(typing_extensions.TypedDict, total=False): sourceMachineImage: str sourceMachineImageEncryptionKey: CustomerEncryptionKey startRestricted: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "DEPROVISIONING", "PENDING", "PENDING_STOP", @@ -3675,7 +3708,7 @@ class Instance(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3685,32 +3718,30 @@ class InstanceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceConsumptionData(typing_extensions.TypedDict, total=False): +class InstanceConsumptionData(typing.TypedDict, total=False): consumptionInfo: InstanceConsumptionInfo instance: str @typing.type_check_only -class InstanceConsumptionInfo(typing_extensions.TypedDict, total=False): +class InstanceConsumptionInfo(typing.TypedDict, total=False): guestCpus: int localSsdGb: int memoryMb: int minNodeCpus: int @typing.type_check_only -class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): +class InstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelections: dict[str, typing.Any] @typing.type_check_only -class InstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False -): +class InstanceFlexibilityPolicyInstanceSelection(typing.TypedDict, total=False): disks: _list[AttachedDisk] machineTypes: _list[str] minCpuPlatform: str rank: str @typing.type_check_only -class InstanceGroup(typing_extensions.TypedDict, total=False): +class InstanceGroup(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -3727,7 +3758,7 @@ class InstanceGroup(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceGroupAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3737,7 +3768,7 @@ class InstanceGroupAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupList(typing_extensions.TypedDict, total=False): +class InstanceGroupList(typing.TypedDict, total=False): id: str items: _list[InstanceGroup] kind: str @@ -3746,7 +3777,7 @@ class InstanceGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManager(typing_extensions.TypedDict, total=False): +class InstanceGroupManager(typing.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerAllInstancesConfig autoHealingPolicies: _list[InstanceGroupManagerAutoHealingPolicy] baseInstanceName: str @@ -3754,7 +3785,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): currentActions: InstanceGroupManagerActionsSummary description: str distributionPolicy: DistributionPolicy - failoverAction: typing_extensions.Literal["NO_FAILOVER", "UNKNOWN"] + failoverAction: typing.Literal["NO_FAILOVER", "UNKNOWN"] fingerprint: str id: str instanceFlexibilityPolicy: InstanceGroupManagerInstanceFlexibilityPolicy @@ -3762,7 +3793,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): instanceLifecyclePolicy: InstanceGroupManagerInstanceLifecyclePolicy instanceTemplate: str kind: str - listManagedInstancesResults: typing_extensions.Literal["PAGELESS", "PAGINATED"] + listManagedInstancesResults: typing.Literal["PAGELESS", "PAGINATED"] multiMig: str name: str namedPorts: _list[NamedPort] @@ -3780,7 +3811,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): targetPools: _list[str] targetSize: int targetSizePolicy: InstanceGroupManagerTargetSizePolicy - targetSizeUnit: typing_extensions.Literal["INSTANCE", "VCPU"] + targetSizeUnit: typing.Literal["INSTANCE", "VCPU"] targetStoppedSize: int targetSuspendedSize: int updatePolicy: InstanceGroupManagerUpdatePolicy @@ -3788,7 +3819,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerActionsSummary(typing.TypedDict, total=False): abandoning: int adopting: int creating: int @@ -3808,7 +3839,7 @@ class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=Fals verifying: int @typing.type_check_only -class InstanceGroupManagerAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3818,11 +3849,11 @@ class InstanceGroupManagerAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerAllInstancesConfig(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAllInstancesConfig(typing.TypedDict, total=False): properties: InstancePropertiesPatch @typing.type_check_only -class InstanceGroupManagerAutoHealingPolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAutoHealingPolicy(typing.TypedDict, total=False): autoHealingTriggers: InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers healthCheck: str initialDelaySec: int @@ -3830,14 +3861,12 @@ class InstanceGroupManagerAutoHealingPolicy(typing_extensions.TypedDict, total=F @typing.type_check_only class InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - onHealthCheck: typing_extensions.Literal["OFF", "ON"] + onHealthCheck: typing.Literal["OFF", "ON"] @typing.type_check_only -class InstanceGroupManagerInstanceFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerInstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelectionLists: dict[str, typing.Any] instanceSelections: dict[str, typing.Any] provisioningModelMix: ( @@ -3846,7 +3875,7 @@ class InstanceGroupManagerInstanceFlexibilityPolicy( @typing.type_check_only class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disks: _list[AttachedDisk] machineTypes: _list[str] @@ -3855,39 +3884,35 @@ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection( @typing.type_check_only class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): standardCapacityBase: int standardCapacityPercentAboveBase: int @typing.type_check_only -class InstanceGroupManagerInstanceLifecyclePolicy( - typing_extensions.TypedDict, total=False -): - defaultActionOnFailure: typing_extensions.Literal["DELETE", "DO_NOTHING", "REPAIR"] - forceUpdateOnRepair: typing_extensions.Literal["NO", "YES"] +class InstanceGroupManagerInstanceLifecyclePolicy(typing.TypedDict, total=False): + defaultActionOnFailure: typing.Literal["DELETE", "DO_NOTHING", "REPAIR"] + forceUpdateOnRepair: typing.Literal["NO", "YES"] metadataBasedReadinessSignal: ( InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal ) - onFailedHealthCheck: typing_extensions.Literal[ - "DEFAULT_ACTION", "DO_NOTHING", "REPAIR" - ] + onFailedHealthCheck: typing.Literal["DEFAULT_ACTION", "DO_NOTHING", "REPAIR"] onRepair: InstanceGroupManagerInstanceLifecyclePolicyOnRepair @typing.type_check_only class InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeoutSec: int @typing.type_check_only class InstanceGroupManagerInstanceLifecyclePolicyOnRepair( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowChangingZone: typing_extensions.Literal["NO", "YES"] + allowChangingZone: typing.Literal["NO", "YES"] @typing.type_check_only -class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerList(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManager] kind: str @@ -3896,11 +3921,11 @@ class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerParams(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResizeRequest(typing.TypedDict, total=False): count: int creationTimestamp: str description: str @@ -3914,7 +3939,7 @@ class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False resizeBy: int selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACCEPTED", "CANCELLED", "CREATING", @@ -3928,21 +3953,17 @@ class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False zone: str @typing.type_check_only -class InstanceGroupManagerResizeRequestStatus(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResizeRequestStatus(typing.TypedDict, total=False): error: dict[str, typing.Any] lastAttempt: InstanceGroupManagerResizeRequestStatusLastAttempt queuingPolicy: QueuingPolicy @typing.type_check_only -class InstanceGroupManagerResizeRequestStatusLastAttempt( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerResizeRequestStatusLastAttempt(typing.TypedDict, total=False): error: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResizeRequestsListResponse( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerResizeRequestsListResponse(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManagerResizeRequest] kind: str @@ -3951,16 +3972,16 @@ class InstanceGroupManagerResizeRequestsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResourcePolicies(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResourcePolicies(typing.TypedDict, total=False): workloadPolicy: str @typing.type_check_only -class InstanceGroupManagerStandbyPolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStandbyPolicy(typing.TypedDict, total=False): initialDelaySec: int - mode: typing_extensions.Literal["MANUAL", "SCALE_OUT_POOL"] + mode: typing.Literal["MANUAL", "SCALE_OUT_POOL"] @typing.type_check_only -class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatus(typing.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerStatusAllInstancesConfig appliedAcceleratorTopologies: _list[InstanceGroupManagerStatusAcceleratorTopology] autoscaler: str @@ -3971,11 +3992,9 @@ class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): versionTarget: InstanceGroupManagerStatusVersionTarget @typing.type_check_only -class InstanceGroupManagerStatusAcceleratorTopology( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusAcceleratorTopology(typing.TypedDict, total=False): acceleratorTopology: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVATING", "ACTIVE", "ACTIVE_DEGRADED", @@ -3990,36 +4009,30 @@ class InstanceGroupManagerStatusAcceleratorTopology( @typing.type_check_only class InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class InstanceGroupManagerStatusAllInstancesConfig( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusAllInstancesConfig(typing.TypedDict, total=False): currentRevision: str effective: bool @typing.type_check_only -class InstanceGroupManagerStatusBulkInstanceOperation( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusBulkInstanceOperation(typing.TypedDict, total=False): inProgress: bool lastProgressCheck: InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck @typing.type_check_only class InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class InstanceGroupManagerStatusInstanceStatusSummary( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusInstanceStatusSummary(typing.TypedDict, total=False): deprovisioning: int nonExistent: int pending: int @@ -4035,141 +4048,125 @@ class InstanceGroupManagerStatusInstanceStatusSummary( terminated: int @typing.type_check_only -class InstanceGroupManagerStatusStateful(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatusStateful(typing.TypedDict, total=False): hasStatefulConfig: bool isStateful: bool perInstanceConfigs: InstanceGroupManagerStatusStatefulPerInstanceConfigs @typing.type_check_only class InstanceGroupManagerStatusStatefulPerInstanceConfigs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allEffective: bool @typing.type_check_only -class InstanceGroupManagerStatusVersionTarget(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatusVersionTarget(typing.TypedDict, total=False): isReached: bool @typing.type_check_only -class InstanceGroupManagerTargetSizePolicy(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["BULK", "INDIVIDUAL", "UNSPECIFIED_MODE"] +class InstanceGroupManagerTargetSizePolicy(typing.TypedDict, total=False): + mode: typing.Literal["BULK", "INDIVIDUAL", "UNSPECIFIED_MODE"] @typing.type_check_only -class InstanceGroupManagerUpdatePolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerUpdatePolicy(typing.TypedDict, total=False): allowedActions: _list[ - typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" - ] + typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE"] ] - disruptionMode: typing_extensions.Literal["LEGACY", "OPTIMIZED"] - instanceRedistributionType: typing_extensions.Literal["NONE", "PROACTIVE"] + disruptionMode: typing.Literal["LEGACY", "OPTIMIZED"] + instanceRedistributionType: typing.Literal["NONE", "PROACTIVE"] maxSurge: FixedOrPercent maxUnavailable: FixedOrPercent minReadySec: int - minimalAction: typing_extensions.Literal[ + minimalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - replacementMethod: typing_extensions.Literal["RECREATE", "SUBSTITUTE"] - type: typing_extensions.Literal["OPPORTUNISTIC", "PROACTIVE"] + replacementMethod: typing.Literal["RECREATE", "SUBSTITUTE"] + type: typing.Literal["OPPORTUNISTIC", "PROACTIVE"] @typing.type_check_only -class InstanceGroupManagerVersion(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerVersion(typing.TypedDict, total=False): instanceTemplate: str name: str tag: str targetSize: FixedOrPercent @typing.type_check_only -class InstanceGroupManagersAbandonInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersAbandonInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersApplyUpdatesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersApplyUpdatesRequest(typing.TypedDict, total=False): allInstances: bool allowedActions: _list[ - typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" - ] + typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE"] ] - disruptionMode: typing_extensions.Literal["LEGACY", "OPTIMIZED"] + disruptionMode: typing.Literal["LEGACY", "OPTIMIZED"] instances: _list[str] - maximalAction: typing_extensions.Literal[ + maximalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - minimalAction: typing_extensions.Literal[ + minimalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] @typing.type_check_only class InstanceGroupManagersConfigureAcceleratorTopologiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopologyActions: dict[str, typing.Any] acceleratorTopologyConfigurations: dict[str, typing.Any] @typing.type_check_only class InstanceGroupManagersConfigureAcceleratorTopologiesRequestAcceleratorTopologyConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal[ + action: typing.Literal[ "ACCELERATOR_TOPOLOGY_ACTION_UNSPECIFIED", "ACTIVATE", "DEACTIVATE" ] externalId: str @typing.type_check_only -class InstanceGroupManagersCreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersCreateInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupManagersDeleteInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersDeleteInstancesRequest(typing.TypedDict, total=False): instanceNames: _list[str] instances: _list[str] skipInstancesOnValidationError: bool @typing.type_check_only -class InstanceGroupManagersDeletePerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersDeletePerInstanceConfigsReq(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopologiesInfo: dict[str, typing.Any] multiMig: str @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopology: str - acceleratorTopologyHealth: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "UNHEALTHY" - ] + acceleratorTopologyHealth: typing.Literal["DEGRADED", "HEALTHY", "UNHEALTHY"] acceleratorTopologyState: InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState - instancesHealth: typing_extensions.Literal["ALL_HEALTHY", "UNHEALTHY_OR_MISSING"] + instancesHealth: typing.Literal["ALL_HEALTHY", "UNHEALTHY_OR_MISSING"] parent: str @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "ACTIVATING", "ACTIVE", "ACTIVE_DEGRADED", @@ -4183,107 +4180,81 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorT externalId: str @typing.type_check_only -class InstanceGroupManagersListErrorsResponse(typing_extensions.TypedDict, total=False): +class InstanceGroupManagersListErrorsResponse(typing.TypedDict, total=False): items: _list[InstanceManagedByIgmError] nextPageToken: str @typing.type_check_only -class InstanceGroupManagersListManagedInstancesResponse( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersListManagedInstancesResponse(typing.TypedDict, total=False): managedInstances: _list[ManagedInstance] nextPageToken: str @typing.type_check_only -class InstanceGroupManagersListPerInstanceConfigsResp( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersListPerInstanceConfigsResp(typing.TypedDict, total=False): items: _list[PerInstanceConfig] nextPageToken: str warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagersPatchPerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersPatchPerInstanceConfigsReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupManagersRecreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersRecreateInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersResizeAdvancedRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersResizeAdvancedRequest(typing.TypedDict, total=False): noCreationRetries: bool scaleInProtection: bool targetSize: int @typing.type_check_only -class InstanceGroupManagersResumeInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersResumeInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersScopedList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagersScopedList(typing.TypedDict, total=False): instanceGroupManagers: _list[InstanceGroupManager] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagersSetAutoHealingRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetAutoHealingRequest(typing.TypedDict, total=False): autoHealingPolicies: _list[InstanceGroupManagerAutoHealingPolicy] @typing.type_check_only -class InstanceGroupManagersSetInstanceTemplateRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetInstanceTemplateRequest(typing.TypedDict, total=False): instanceTemplate: str @typing.type_check_only -class InstanceGroupManagersSetTargetPoolsRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetTargetPoolsRequest(typing.TypedDict, total=False): fingerprint: str targetPools: _list[str] @typing.type_check_only -class InstanceGroupManagersStartInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersStartInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersStopInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersStopInstancesRequest(typing.TypedDict, total=False): forceStop: bool instances: _list[str] @typing.type_check_only -class InstanceGroupManagersSuspendInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSuspendInstancesRequest(typing.TypedDict, total=False): forceSuspend: bool instances: _list[str] @typing.type_check_only -class InstanceGroupManagersUpdatePerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersUpdatePerInstanceConfigsReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupsAddInstancesRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsAddInstancesRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class InstanceGroupsListInstances(typing_extensions.TypedDict, total=False): +class InstanceGroupsListInstances(typing.TypedDict, total=False): id: str items: _list[InstanceWithNamedPorts] kind: str @@ -4292,25 +4263,25 @@ class InstanceGroupsListInstances(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupsListInstancesRequest(typing_extensions.TypedDict, total=False): - instanceState: typing_extensions.Literal["ALL", "RUNNING"] +class InstanceGroupsListInstancesRequest(typing.TypedDict, total=False): + instanceState: typing.Literal["ALL", "RUNNING"] @typing.type_check_only -class InstanceGroupsRemoveInstancesRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsRemoveInstancesRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class InstanceGroupsScopedList(typing_extensions.TypedDict, total=False): +class InstanceGroupsScopedList(typing.TypedDict, total=False): instanceGroups: _list[InstanceGroup] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupsSetNamedPortsRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsSetNamedPortsRequest(typing.TypedDict, total=False): fingerprint: str namedPorts: _list[NamedPort] @typing.type_check_only -class InstanceList(typing_extensions.TypedDict, total=False): +class InstanceList(typing.TypedDict, total=False): id: str items: _list[Instance] kind: str @@ -4319,7 +4290,7 @@ class InstanceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceListReferrers(typing_extensions.TypedDict, total=False): +class InstanceListReferrers(typing.TypedDict, total=False): id: str items: _list[Reference] kind: str @@ -4328,16 +4299,14 @@ class InstanceListReferrers(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceManagedByIgmError(typing_extensions.TypedDict, total=False): +class InstanceManagedByIgmError(typing.TypedDict, total=False): error: InstanceManagedByIgmErrorManagedInstanceError instanceActionDetails: InstanceManagedByIgmErrorInstanceActionDetails timestamp: str @typing.type_check_only -class InstanceManagedByIgmErrorInstanceActionDetails( - typing_extensions.TypedDict, total=False -): - action: typing_extensions.Literal[ +class InstanceManagedByIgmErrorInstanceActionDetails(typing.TypedDict, total=False): + action: typing.Literal[ "ABANDONING", "ADOPTING", "CREATING", @@ -4360,24 +4329,36 @@ class InstanceManagedByIgmErrorInstanceActionDetails( version: ManagedInstanceVersion @typing.type_check_only -class InstanceManagedByIgmErrorManagedInstanceError( - typing_extensions.TypedDict, total=False -): +class InstanceManagedByIgmErrorManagedInstanceError(typing.TypedDict, total=False): code: str message: str @typing.type_check_only -class InstanceMoveRequest(typing_extensions.TypedDict, total=False): +class InstanceManagementInterface(typing.TypedDict, total=False): + authenticationConfig: InstanceManagementInterfaceAuthenticationConfig + ipv4Address: str + ipv6Address: str + network: str + state: typing.Literal["ACTIVE", "INACTIVE", "PENDING", "STATE_UNSPECIFIED"] + subnetwork: str + type: typing.Literal["HOST_MANAGEMENT", "TYPE_UNSPECIFIED"] + +@typing.type_check_only +class InstanceManagementInterfaceAuthenticationConfig(typing.TypedDict, total=False): + trustConfig: str + +@typing.type_check_only +class InstanceMoveRequest(typing.TypedDict, total=False): destinationZone: str targetInstance: str @typing.type_check_only -class InstanceParams(typing_extensions.TypedDict, total=False): +class InstanceParams(typing.TypedDict, total=False): requestValidForDuration: Duration resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstanceProperties(typing_extensions.TypedDict, total=False): +class InstanceProperties(typing.TypedDict, total=False): advancedMachineFeatures: AdvancedMachineFeatures canIpForward: bool confidentialInstanceConfig: ConfidentialInstanceConfig @@ -4387,20 +4368,25 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): guestAccelerators: _list[AcceleratorConfig] identity: str identityCertificate: bool - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] + localSsdEncryptionMode: typing.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str networkInterfaces: _list[NetworkInterface] networkPerformanceConfig: NetworkPerformanceConfig partnerMetadata: dict[str, typing.Any] - postKeyRevocationActionType: typing_extensions.Literal[ + postKeyRevocationActionType: typing.Literal[ "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" ] - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", "INHERIT_FROM_SUBNETWORK", @@ -4418,16 +4404,17 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): workloadIdentityConfig: WorkloadIdentityConfig @typing.type_check_only -class InstancePropertiesPatch(typing_extensions.TypedDict, total=False): +class InstancePropertiesPatch(typing.TypedDict, total=False): + exposeHostTopology: bool labels: dict[str, typing.Any] metadata: dict[str, typing.Any] @typing.type_check_only -class InstanceReference(typing_extensions.TypedDict, total=False): +class InstanceReference(typing.TypedDict, total=False): instance: str @typing.type_check_only -class InstanceSettings(typing_extensions.TypedDict, total=False): +class InstanceSettings(typing.TypedDict, total=False): email: str fingerprint: str kind: str @@ -4435,12 +4422,12 @@ class InstanceSettings(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceSettingsMetadata(typing_extensions.TypedDict, total=False): +class InstanceSettingsMetadata(typing.TypedDict, total=False): items: dict[str, typing.Any] kind: str @typing.type_check_only -class InstanceTemplate(typing_extensions.TypedDict, total=False): +class InstanceTemplate(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -4454,7 +4441,7 @@ class InstanceTemplate(typing_extensions.TypedDict, total=False): sourceInstanceParams: SourceInstanceParams @typing.type_check_only -class InstanceTemplateAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceTemplateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -4463,7 +4450,7 @@ class InstanceTemplateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceTemplateList(typing_extensions.TypedDict, total=False): +class InstanceTemplateList(typing.TypedDict, total=False): id: str items: _list[InstanceTemplate] kind: str @@ -4472,15 +4459,15 @@ class InstanceTemplateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceTemplatesScopedList(typing_extensions.TypedDict, total=False): +class InstanceTemplatesScopedList(typing.TypedDict, total=False): instanceTemplates: _list[InstanceTemplate] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): +class InstanceWithNamedPorts(typing.TypedDict, total=False): instance: str namedPorts: _list[NamedPort] - status: typing_extensions.Literal[ + status: typing.Literal[ "DEPROVISIONING", "PENDING", "PENDING_STOP", @@ -4496,15 +4483,15 @@ class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InstancesAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class InstancesAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): +class InstancesBulkInsertOperationMetadata(typing.TypedDict, total=False): perLocationStatus: dict[str, typing.Any] @typing.type_check_only -class InstancesGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): +class InstancesGetEffectiveFirewallsResponse(typing.TypedDict, total=False): firewallPolicys: _list[ InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy ] @@ -4515,7 +4502,7 @@ class InstancesGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total= @typing.type_check_only class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -4523,7 +4510,7 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( priority: int rules: _list[FirewallPolicyRule] shortName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", @@ -4534,32 +4521,30 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( @typing.type_check_only class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str rules: _list[SecurityPolicyRule] @typing.type_check_only -class InstancesRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class InstancesRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class InstancesReportHostAsFaultyRequest(typing_extensions.TypedDict, total=False): - actionHint: typing_extensions.Literal[ +class InstancesReportHostAsFaultyRequest(typing.TypedDict, total=False): + actionHint: typing.Literal[ "ACTION_HINT_UNSPECIFIED", "DIAGNOSE_AND_REPAIR", "EXECUTE_ALL_RECOMMENDED_SCANS", ] - disruptionSchedule: typing_extensions.Literal[ + disruptionSchedule: typing.Literal[ "DISRUPTION_SCHEDULE_UNSPECIFIED", "FUTURE", "IMMEDIATE" ] faultReasons: _list[InstancesReportHostAsFaultyRequestFaultReason] @typing.type_check_only -class InstancesReportHostAsFaultyRequestFaultReason( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal[ +class InstancesReportHostAsFaultyRequestFaultReason(typing.TypedDict, total=False): + behavior: typing.Literal[ "BEHAVIOR_UNSPECIFIED", "CHIP_ERROR", "PERFORMANCE", @@ -4569,57 +4554,55 @@ class InstancesReportHostAsFaultyRequestFaultReason( description: str @typing.type_check_only -class InstancesResumeRequest(typing_extensions.TypedDict, total=False): +class InstancesResumeRequest(typing.TypedDict, total=False): disks: _list[CustomerEncryptionKeyProtectedDisk] instanceEncryptionKey: CustomerEncryptionKey @typing.type_check_only -class InstancesScopedList(typing_extensions.TypedDict, total=False): +class InstancesScopedList(typing.TypedDict, total=False): instances: _list[Instance] warning: dict[str, typing.Any] @typing.type_check_only -class InstancesSetLabelsRequest(typing_extensions.TypedDict, total=False): +class InstancesSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class InstancesSetMachineResourcesRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMachineResourcesRequest(typing.TypedDict, total=False): guestAccelerators: _list[AcceleratorConfig] @typing.type_check_only -class InstancesSetMachineTypeRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMachineTypeRequest(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class InstancesSetMinCpuPlatformRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMinCpuPlatformRequest(typing.TypedDict, total=False): minCpuPlatform: str @typing.type_check_only -class InstancesSetNameRequest(typing_extensions.TypedDict, total=False): +class InstancesSetNameRequest(typing.TypedDict, total=False): currentName: str name: str @typing.type_check_only -class InstancesSetSecurityPolicyRequest(typing_extensions.TypedDict, total=False): +class InstancesSetSecurityPolicyRequest(typing.TypedDict, total=False): networkInterfaces: _list[str] securityPolicy: str @typing.type_check_only -class InstancesSetServiceAccountRequest(typing_extensions.TypedDict, total=False): +class InstancesSetServiceAccountRequest(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class InstancesStartWithEncryptionKeyRequest(typing_extensions.TypedDict, total=False): +class InstancesStartWithEncryptionKeyRequest(typing.TypedDict, total=False): disks: _list[CustomerEncryptionKeyProtectedDisk] instanceEncryptionKey: CustomerEncryptionKey @typing.type_check_only -class InstantSnapshot(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class InstantSnapshot(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] creationTimestamp: str description: str diskSizeGb: str @@ -4640,13 +4623,11 @@ class InstantSnapshot(typing_extensions.TypedDict, total=False): sourceDiskId: str sourceInstantSnapshotGroup: str sourceInstantSnapshotGroupId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "FAILED", "READY", "UNAVAILABLE" - ] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY", "UNAVAILABLE"] zone: str @typing.type_check_only -class InstantSnapshotAggregatedList(typing_extensions.TypedDict, total=False): +class InstantSnapshotAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -4656,7 +4637,7 @@ class InstantSnapshotAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroup(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -4667,27 +4648,27 @@ class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str sourceConsistencyGroup: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN" ] zone: str @typing.type_check_only -class InstantSnapshotGroupParameters(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupParameters(typing.TypedDict, total=False): sourceInstantSnapshotGroup: str @typing.type_check_only -class InstantSnapshotGroupResourceStatus(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupResourceStatus(typing.TypedDict, total=False): consistencyMembershipResolutionTime: str sourceInfo: InstantSnapshotGroupSourceInfo @typing.type_check_only -class InstantSnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupSourceInfo(typing.TypedDict, total=False): consistencyGroup: str consistencyGroupId: str @typing.type_check_only -class InstantSnapshotList(typing_extensions.TypedDict, total=False): +class InstantSnapshotList(typing.TypedDict, total=False): id: str items: _list[InstantSnapshot] kind: str @@ -4696,32 +4677,30 @@ class InstantSnapshotList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotParams(typing_extensions.TypedDict, total=False): +class InstantSnapshotParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotResourceStatus(typing_extensions.TypedDict, total=False): +class InstantSnapshotResourceStatus(typing.TypedDict, total=False): storageSizeBytes: str @typing.type_check_only -class InstantSnapshotsScopedList(typing_extensions.TypedDict, total=False): +class InstantSnapshotsScopedList(typing.TypedDict, total=False): instantSnapshots: _list[InstantSnapshot] warning: dict[str, typing.Any] @typing.type_check_only -class Int64RangeMatch(typing_extensions.TypedDict, total=False): +class Int64RangeMatch(typing.TypedDict, total=False): rangeEnd: str rangeStart: str @typing.type_check_only -class Interconnect(typing_extensions.TypedDict, total=False): +class Interconnect(typing.TypedDict, total=False): aaiEnabled: bool adminEnabled: bool applicationAwareInterconnect: InterconnectApplicationAwareInterconnect availableFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str @@ -4734,11 +4713,11 @@ class Interconnect(typing_extensions.TypedDict, total=False): id: str interconnectAttachments: _list[str] interconnectGroups: _list[str] - interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + interconnectType: typing.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] kind: str labelFingerprint: str labels: dict[str, typing.Any] - linkType: typing_extensions.Literal[ + linkType: typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", @@ -4748,28 +4727,24 @@ class Interconnect(typing_extensions.TypedDict, total=False): macsecEnabled: bool name: str nocContactEmail: str - operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] + operationalStatus: typing.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] params: InterconnectParams peerIpAddress: str provisionedLinkCount: int remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] requestedLinkCount: int satisfiesPzs: bool selfLink: str selfLinkWithId: str - state: typing_extensions.Literal["ACTIVE", "UNPROVISIONED"] - subzone: typing_extensions.Literal["SUBZONE_A", "SUBZONE_B"] + state: typing.Literal["ACTIVE", "UNPROVISIONED"] + subzone: typing.Literal["SUBZONE_A", "SUBZONE_B"] wireGroups: _list[str] @typing.type_check_only -class InterconnectApplicationAwareInterconnect( - typing_extensions.TypedDict, total=False -): +class InterconnectApplicationAwareInterconnect(typing.TypedDict, total=False): bandwidthPercentagePolicy: ( InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy ) @@ -4781,14 +4756,14 @@ class InterconnectApplicationAwareInterconnect( @typing.type_check_only class InterconnectApplicationAwareInterconnectBandwidthPercentage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentage: int - trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] + trafficClass: typing.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] @typing.type_check_only class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bandwidthPercentages: _list[ InterconnectApplicationAwareInterconnectBandwidthPercentage @@ -4796,14 +4771,14 @@ class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy( @typing.type_check_only class InterconnectApplicationAwareInterconnectStrictPriorityPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class InterconnectAttachment(typing_extensions.TypedDict, total=False): +class InterconnectAttachment(typing.TypedDict, total=False): adminEnabled: bool attachmentGroup: str - bandwidth: typing_extensions.Literal[ + bandwidth: typing.Literal[ "BPS_100G", "BPS_100M", "BPS_10G", @@ -4835,10 +4810,10 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): customerRouterIpv6InterfaceId: str dataplaneVersion: int description: str - edgeAvailabilityDomain: typing_extensions.Literal[ + edgeAvailabilityDomain: typing.Literal[ "AVAILABILITY_DOMAIN_1", "AVAILABILITY_DOMAIN_2", "AVAILABILITY_DOMAIN_ANY" ] - encryption: typing_extensions.Literal["IPSEC", "NONE"] + encryption: typing.Literal["IPSEC", "NONE"] googleReferenceId: str id: str interconnect: str @@ -4850,7 +4825,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): mtu: int multicastEnabled: bool name: str - operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] + operationalStatus: typing.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] pairingKey: str params: InterconnectAttachmentParams partnerAsn: str @@ -4862,8 +4837,8 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): satisfiesPzs: bool selfLink: str selfLinkWithId: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] - state: typing_extensions.Literal[ + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] + state: typing.Literal[ "ACTIVE", "DEFUNCT", "PARTNER_REQUEST_RECEIVED", @@ -4873,13 +4848,11 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "UNPROVISIONED", ] subnetLength: int - type: typing_extensions.Literal[ - "DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER" - ] + type: typing.Literal["DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER"] vlanTag8021q: int @typing.type_check_only -class InterconnectAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -4889,23 +4862,21 @@ class InterconnectAttachmentAggregatedList(typing_extensions.TypedDict, total=Fa warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentConfigurationConstraints( - typing_extensions.TypedDict, total=False -): - bgpMd5: typing_extensions.Literal["MD5_OPTIONAL", "MD5_REQUIRED", "MD5_UNSUPPORTED"] +class InterconnectAttachmentConfigurationConstraints(typing.TypedDict, total=False): + bgpMd5: typing.Literal["MD5_OPTIONAL", "MD5_REQUIRED", "MD5_UNSUPPORTED"] bgpPeerAsnRanges: _list[ InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange ] @typing.type_check_only class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: int min: int @typing.type_check_only -class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroup(typing.TypedDict, total=False): attachments: dict[str, typing.Any] configured: InterconnectAttachmentGroupConfigured creationTimestamp: str @@ -4920,18 +4891,18 @@ class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class InterconnectAttachmentGroupAttachment(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroupAttachment(typing.TypedDict, total=False): attachment: str @typing.type_check_only -class InterconnectAttachmentGroupConfigured(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroupConfigured(typing.TypedDict, total=False): availabilitySla: InterconnectAttachmentGroupConfiguredAvailabilitySLA @typing.type_check_only class InterconnectAttachmentGroupConfiguredAvailabilitySLA( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - effectiveSla: typing_extensions.Literal[ + effectiveSla: typing.Literal[ "EFFECTIVE_SLA_UNSPECIFIED", "NO_SLA", "PRODUCTION_CRITICAL", @@ -4943,10 +4914,10 @@ class InterconnectAttachmentGroupConfiguredAvailabilitySLA( @typing.type_check_only class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attachments: _list[str] - blockerType: typing_extensions.Literal[ + blockerType: typing.Literal[ "BLOCKER_TYPE_UNSPECIFIED", "INCOMPATIBLE_METROS", "INCOMPATIBLE_REGIONS", @@ -4962,8 +4933,8 @@ class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( zones: _list[str] @typing.type_check_only -class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False): - availabilitySla: typing_extensions.Literal[ +class InterconnectAttachmentGroupIntent(typing.TypedDict, total=False): + availabilitySla: typing.Literal[ "AVAILABILITY_SLA_UNSPECIFIED", "NO_SLA", "PRODUCTION_CRITICAL", @@ -4971,57 +4942,51 @@ class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class InterconnectAttachmentGroupLogicalStructure( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupLogicalStructure(typing.TypedDict, total=False): regions: _list[InterconnectAttachmentGroupLogicalStructureRegion] @typing.type_check_only -class InterconnectAttachmentGroupLogicalStructureRegion( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupLogicalStructureRegion(typing.TypedDict, total=False): metros: _list[InterconnectAttachmentGroupLogicalStructureRegionMetro] region: str @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetro( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facilities: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacility] metro: str @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetroFacility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facility: str zones: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone] @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attachments: _list[str] zone: str @typing.type_check_only -class InterconnectAttachmentGroupsCreateMembers( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsCreateMembers(typing.TypedDict, total=False): attachments: _list[ InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput ] - intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] + intentMismatchBehavior: typing.Literal["CREATE", "REJECT", "UNSPECIFIED"] templateAttachment: ( InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput ) @typing.type_check_only class InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adminEnabled: bool - bandwidth: typing_extensions.Literal[ + bandwidth: typing.Literal[ "BPS_100G", "BPS_100M", "BPS_10G", @@ -5046,10 +5011,10 @@ class InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput( cloudRouterIpv6InterfaceId: str customerRouterIpv6InterfaceId: str description: str - edgeAvailabilityDomain: typing_extensions.Literal[ + edgeAvailabilityDomain: typing.Literal[ "AVAILABILITY_DOMAIN_1", "AVAILABILITY_DOMAIN_2", "AVAILABILITY_DOMAIN_ANY" ] - encryption: typing_extensions.Literal["IPSEC", "NONE"] + encryption: typing.Literal["IPSEC", "NONE"] interconnect: str ipsecInternalAddresses: _list[str] l2Forwarding: InterconnectAttachmentL2Forwarding @@ -5061,30 +5026,24 @@ class InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput( partnerMetadata: InterconnectAttachmentPartnerMetadata region: str router: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] subnetLength: int - type: typing_extensions.Literal[ - "DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER" - ] + type: typing.Literal["DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER"] vlanTag8021q: int @typing.type_check_only -class InterconnectAttachmentGroupsCreateMembersRequest( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsCreateMembersRequest(typing.TypedDict, total=False): request: InterconnectAttachmentGroupsCreateMembers @typing.type_check_only class InterconnectAttachmentGroupsGetOperationalStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str result: InterconnectAttachmentGroupsOperationalStatus @typing.type_check_only -class InterconnectAttachmentGroupsListResponse( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[InterconnectAttachmentGroup] @@ -5095,27 +5054,23 @@ class InterconnectAttachmentGroupsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentGroupsOperationalStatus( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsOperationalStatus(typing.TypedDict, total=False): attachmentStatuses: _list[ InterconnectAttachmentGroupsOperationalStatusAttachmentStatus ] configured: InterconnectAttachmentGroupConfigured - groupStatus: typing_extensions.Literal[ - "DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED" - ] + groupStatus: typing.Literal["DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED"] intent: InterconnectAttachmentGroupIntent operational: InterconnectAttachmentGroupConfigured @typing.type_check_only class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adminEnabled: bool attachment: str - isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] - status: typing_extensions.Literal[ + isActive: typing.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] + status: typing.Literal[ "ATTACHMENT_STATUS_UNKNOWN", "CONNECTION_DISABLED", "CONNECTION_DOWN", @@ -5134,7 +5089,7 @@ class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( ] @typing.type_check_only -class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentL2Forwarding(typing.TypedDict, total=False): applianceMappings: dict[str, typing.Any] defaultApplianceIpAddress: str geneveHeader: InterconnectAttachmentL2ForwardingGeneveHeader @@ -5142,9 +5097,7 @@ class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=Fals tunnelEndpointIpAddress: str @typing.type_check_only -class InterconnectAttachmentL2ForwardingApplianceMapping( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentL2ForwardingApplianceMapping(typing.TypedDict, total=False): applianceIpAddress: str innerVlanToApplianceMappings: _list[ InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping @@ -5153,19 +5106,17 @@ class InterconnectAttachmentL2ForwardingApplianceMapping( @typing.type_check_only class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): innerApplianceIpAddress: str innerVlanTags: _list[str] @typing.type_check_only -class InterconnectAttachmentL2ForwardingGeneveHeader( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentL2ForwardingGeneveHeader(typing.TypedDict, total=False): vni: int @typing.type_check_only -class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentList(typing.TypedDict, total=False): id: str items: _list[InterconnectAttachment] kind: str @@ -5174,80 +5125,80 @@ class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentParams(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentPartnerMetadata(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentPartnerMetadata(typing.TypedDict, total=False): interconnectName: str partnerName: str portalUrl: str @typing.type_check_only -class InterconnectAttachmentPrivateInfo(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentPrivateInfo(typing.TypedDict, total=False): tag8021q: int @typing.type_check_only -class InterconnectAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentsScopedList(typing.TypedDict, total=False): interconnectAttachments: _list[InterconnectAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectCircuitInfo(typing_extensions.TypedDict, total=False): +class InterconnectCircuitInfo(typing.TypedDict, total=False): customerDemarcId: str googleCircuitId: str googleDemarcId: str @typing.type_check_only -class InterconnectDiagnostics(typing_extensions.TypedDict, total=False): +class InterconnectDiagnostics(typing.TypedDict, total=False): arpCaches: _list[InterconnectDiagnosticsARPEntry] - bundleAggregationType: typing_extensions.Literal[ + bundleAggregationType: typing.Literal[ "BUNDLE_AGGREGATION_TYPE_LACP", "BUNDLE_AGGREGATION_TYPE_STATIC" ] - bundleOperationalStatus: typing_extensions.Literal[ + bundleOperationalStatus: typing.Literal[ "BUNDLE_OPERATIONAL_STATUS_DOWN", "BUNDLE_OPERATIONAL_STATUS_UP" ] links: _list[InterconnectDiagnosticsLinkStatus] macAddress: str @typing.type_check_only -class InterconnectDiagnosticsARPEntry(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsARPEntry(typing.TypedDict, total=False): ipAddress: str macAddress: str @typing.type_check_only -class InterconnectDiagnosticsLinkLACPStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsLinkLACPStatus(typing.TypedDict, total=False): googleSystemId: str neighborSystemId: str - state: typing_extensions.Literal["ACTIVE", "DETACHED"] + state: typing.Literal["ACTIVE", "DETACHED"] @typing.type_check_only -class InterconnectDiagnosticsLinkOpticalPower(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class InterconnectDiagnosticsLinkOpticalPower(typing.TypedDict, total=False): + state: typing.Literal[ "HIGH_ALARM", "HIGH_WARNING", "LOW_ALARM", "LOW_WARNING", "OK" ] value: float @typing.type_check_only -class InterconnectDiagnosticsLinkStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsLinkStatus(typing.TypedDict, total=False): arpCaches: _list[InterconnectDiagnosticsARPEntry] circuitId: str googleDemarc: str lacpStatus: InterconnectDiagnosticsLinkLACPStatus macsec: InterconnectDiagnosticsMacsecStatus - operationalStatus: typing_extensions.Literal[ + operationalStatus: typing.Literal[ "LINK_OPERATIONAL_STATUS_DOWN", "LINK_OPERATIONAL_STATUS_UP" ] receivingOpticalPower: InterconnectDiagnosticsLinkOpticalPower transmittingOpticalPower: InterconnectDiagnosticsLinkOpticalPower @typing.type_check_only -class InterconnectDiagnosticsMacsecStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsMacsecStatus(typing.TypedDict, total=False): ckn: str operational: bool @typing.type_check_only -class InterconnectGroup(typing_extensions.TypedDict, total=False): +class InterconnectGroup(typing.TypedDict, total=False): configured: InterconnectGroupConfigured creationTimestamp: str description: str @@ -5261,25 +5212,23 @@ class InterconnectGroup(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class InterconnectGroupConfigured(typing_extensions.TypedDict, total=False): +class InterconnectGroupConfigured(typing.TypedDict, total=False): topologyCapability: InterconnectGroupConfiguredTopologyCapability @typing.type_check_only -class InterconnectGroupConfiguredTopologyCapability( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupConfiguredTopologyCapability(typing.TypedDict, total=False): intendedCapabilityBlockers: _list[ InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers ] - supportedSla: typing_extensions.Literal[ + supportedSla: typing.Literal[ "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" ] @typing.type_check_only class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - blockerType: typing_extensions.Literal[ + blockerType: typing.Literal[ "INCOMPATIBLE_METROS", "NOT_AVAILABLE", "NO_INTERCONNECTS", @@ -5295,56 +5244,50 @@ class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( zones: _list[str] @typing.type_check_only -class InterconnectGroupIntent(typing_extensions.TypedDict, total=False): - topologyCapability: typing_extensions.Literal[ +class InterconnectGroupIntent(typing.TypedDict, total=False): + topologyCapability: typing.Literal[ "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" ] @typing.type_check_only -class InterconnectGroupInterconnect(typing_extensions.TypedDict, total=False): +class InterconnectGroupInterconnect(typing.TypedDict, total=False): interconnect: str @typing.type_check_only -class InterconnectGroupPhysicalStructure(typing_extensions.TypedDict, total=False): +class InterconnectGroupPhysicalStructure(typing.TypedDict, total=False): metros: _list[InterconnectGroupPhysicalStructureMetros] @typing.type_check_only -class InterconnectGroupPhysicalStructureMetros( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupPhysicalStructureMetros(typing.TypedDict, total=False): facilities: _list[InterconnectGroupPhysicalStructureMetrosFacilities] metro: str @typing.type_check_only -class InterconnectGroupPhysicalStructureMetrosFacilities( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupPhysicalStructureMetrosFacilities(typing.TypedDict, total=False): facility: str zones: _list[InterconnectGroupPhysicalStructureMetrosFacilitiesZones] @typing.type_check_only class InterconnectGroupPhysicalStructureMetrosFacilitiesZones( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): interconnects: _list[str] zone: str @typing.type_check_only -class InterconnectGroupsCreateMembers(typing_extensions.TypedDict, total=False): - intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] +class InterconnectGroupsCreateMembers(typing.TypedDict, total=False): + intentMismatchBehavior: typing.Literal["CREATE", "REJECT", "UNSPECIFIED"] interconnects: _list[InterconnectGroupsCreateMembersInterconnectInput] templateInterconnect: InterconnectGroupsCreateMembersInterconnectInput @typing.type_check_only -class InterconnectGroupsCreateMembersInterconnectInput( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupsCreateMembersInterconnectInput(typing.TypedDict, total=False): adminEnabled: bool customerName: str description: str facility: str - interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] - linkType: typing_extensions.Literal[ + interconnectType: typing.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + linkType: typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", @@ -5353,25 +5296,21 @@ class InterconnectGroupsCreateMembersInterconnectInput( nocContactEmail: str remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] requestedLinkCount: int @typing.type_check_only -class InterconnectGroupsCreateMembersRequest(typing_extensions.TypedDict, total=False): +class InterconnectGroupsCreateMembersRequest(typing.TypedDict, total=False): request: InterconnectGroupsCreateMembers @typing.type_check_only -class InterconnectGroupsGetOperationalStatusResponse( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupsGetOperationalStatusResponse(typing.TypedDict, total=False): etag: str result: InterconnectGroupsOperationalStatus @typing.type_check_only -class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): +class InterconnectGroupsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[InterconnectGroup] @@ -5382,9 +5321,9 @@ class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=False): +class InterconnectGroupsOperationalStatus(typing.TypedDict, total=False): configured: InterconnectGroupConfigured - groupStatus: typing_extensions.Literal[ + groupStatus: typing.Literal[ "DEGRADED", "FULLY_DOWN", "FULLY_UP", "GROUPS_STATUS_UNSPECIFIED" ] intent: InterconnectGroupIntent @@ -5393,15 +5332,15 @@ class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=Fal @typing.type_check_only class InterconnectGroupsOperationalStatusInterconnectStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adminEnabled: bool diagnostics: InterconnectDiagnostics interconnect: str - isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] + isActive: typing.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] @typing.type_check_only -class InterconnectList(typing_extensions.TypedDict, total=False): +class InterconnectList(typing.TypedDict, total=False): id: str items: _list[Interconnect] kind: str @@ -5410,23 +5349,21 @@ class InterconnectList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectLocation(typing_extensions.TypedDict, total=False): +class InterconnectLocation(typing.TypedDict, total=False): address: str availabilityZone: str availableFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] availableLinkTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", ] ] city: str - continent: typing_extensions.Literal[ + continent: typing.Literal[ "AFRICA", "ASIA_PAC", "C_AFRICA", @@ -5451,18 +5388,16 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str singleRegionProductionCriticalPeerLocations: _list[str] - status: typing_extensions.Literal["AVAILABLE", "CLOSED"] + status: typing.Literal["AVAILABLE", "CLOSED"] supportsPzs: bool @typing.type_check_only -class InterconnectLocationCrossSiteInterconnectInfo( - typing_extensions.TypedDict, total=False -): +class InterconnectLocationCrossSiteInterconnectInfo(typing.TypedDict, total=False): city: str maxSingleFlowGbps: int @typing.type_check_only -class InterconnectLocationList(typing_extensions.TypedDict, total=False): +class InterconnectLocationList(typing.TypedDict, total=False): id: str items: _list[InterconnectLocation] kind: str @@ -5471,62 +5406,62 @@ class InterconnectLocationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectLocationRegionInfo(typing_extensions.TypedDict, total=False): +class InterconnectLocationRegionInfo(typing.TypedDict, total=False): expectedRttMs: str l2ForwardingEnabled: bool - locationPresence: typing_extensions.Literal[ + locationPresence: typing.Literal[ "GLOBAL", "LOCAL_REGION", "LP_GLOBAL", "LP_LOCAL_REGION" ] region: str @typing.type_check_only -class InterconnectMacsec(typing_extensions.TypedDict, total=False): +class InterconnectMacsec(typing.TypedDict, total=False): failOpen: bool interconnectKeyGroup: str preSharedKeys: _list[InterconnectMacsecPreSharedKey] @typing.type_check_only -class InterconnectMacsecConfig(typing_extensions.TypedDict, total=False): +class InterconnectMacsecConfig(typing.TypedDict, total=False): preSharedKeys: _list[InterconnectMacsecConfigPreSharedKey] @typing.type_check_only -class InterconnectMacsecConfigPreSharedKey(typing_extensions.TypedDict, total=False): +class InterconnectMacsecConfigPreSharedKey(typing.TypedDict, total=False): cak: str ckn: str name: str startTime: str @typing.type_check_only -class InterconnectMacsecPreSharedKey(typing_extensions.TypedDict, total=False): +class InterconnectMacsecPreSharedKey(typing.TypedDict, total=False): name: str startTime: str @typing.type_check_only -class InterconnectOutageNotification(typing_extensions.TypedDict, total=False): +class InterconnectOutageNotification(typing.TypedDict, total=False): affectedCircuits: _list[str] description: str endTime: str - issueType: typing_extensions.Literal[ + issueType: typing.Literal[ "IT_OUTAGE", "IT_PARTIAL_OUTAGE", "OUTAGE", "PARTIAL_OUTAGE" ] name: str - source: typing_extensions.Literal["GOOGLE", "NSRC_GOOGLE"] + source: typing.Literal["GOOGLE", "NSRC_GOOGLE"] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CANCELLED", "COMPLETED", "NS_ACTIVE", "NS_CANCELED" ] @typing.type_check_only -class InterconnectParams(typing_extensions.TypedDict, total=False): +class InterconnectParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): +class InterconnectRemoteLocation(typing.TypedDict, total=False): address: str attachmentConfigurationConstraints: InterconnectAttachmentConfigurationConstraints city: str constraints: InterconnectRemoteLocationConstraints - continent: typing_extensions.Literal[ + continent: typing.Literal[ "AFRICA", "ASIA_PAC", "EUROPE", "NORTH_AMERICA", "SOUTH_AMERICA" ] creationTimestamp: str @@ -5535,7 +5470,7 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): facilityProviderFacilityId: str id: str kind: str - lacp: typing_extensions.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] + lacp: typing.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] maxLagSize100Gbps: int maxLagSize10Gbps: int maxLagSize400Gbps: int @@ -5545,27 +5480,27 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): remoteService: str selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["AVAILABLE", "CLOSED"] + status: typing.Literal["AVAILABLE", "CLOSED"] @typing.type_check_only -class InterconnectRemoteLocationConstraints(typing_extensions.TypedDict, total=False): - portPairRemoteLocation: typing_extensions.Literal[ +class InterconnectRemoteLocationConstraints(typing.TypedDict, total=False): + portPairRemoteLocation: typing.Literal[ "PORT_PAIR_MATCHING_REMOTE_LOCATION", "PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION" ] - portPairVlan: typing_extensions.Literal[ + portPairVlan: typing.Literal[ "PORT_PAIR_MATCHING_VLAN", "PORT_PAIR_UNCONSTRAINED_VLAN" ] subnetLengthRange: InterconnectRemoteLocationConstraintsSubnetLengthRange @typing.type_check_only class InterconnectRemoteLocationConstraintsSubnetLengthRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: int min: int @typing.type_check_only -class InterconnectRemoteLocationList(typing_extensions.TypedDict, total=False): +class InterconnectRemoteLocationList(typing.TypedDict, total=False): id: str items: _list[InterconnectRemoteLocation] kind: str @@ -5574,27 +5509,30 @@ class InterconnectRemoteLocationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectRemoteLocationPermittedConnections( - typing_extensions.TypedDict, total=False -): +class InterconnectRemoteLocationPermittedConnections(typing.TypedDict, total=False): interconnectLocation: str @typing.type_check_only -class InterconnectsGetDiagnosticsResponse(typing_extensions.TypedDict, total=False): +class InterconnectsGetDiagnosticsResponse(typing.TypedDict, total=False): result: InterconnectDiagnostics @typing.type_check_only -class InterconnectsGetMacsecConfigResponse(typing_extensions.TypedDict, total=False): +class InterconnectsGetMacsecConfigResponse(typing.TypedDict, total=False): etag: str result: InterconnectMacsecConfig @typing.type_check_only -class InternalIpAddress(typing_extensions.TypedDict, total=False): +class InterconnectsSetNameRequest(typing.TypedDict, total=False): + currentName: str + name: str + +@typing.type_check_only +class InternalIpAddress(typing.TypedDict, total=False): cidr: str owner: str purpose: str region: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PEER_RESERVED", "PEER_USED", "REMOTE_RESERVED", @@ -5605,18 +5543,18 @@ class InternalIpAddress(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InternalIpOwner(typing_extensions.TypedDict, total=False): +class InternalIpOwner(typing.TypedDict, total=False): ipCidrRange: str owners: _list[str] systemOwned: bool @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class IpAddressesList(typing_extensions.TypedDict, total=False): +class IpAddressesList(typing.TypedDict, total=False): id: str items: _list[InternalIpAddress] kind: str @@ -5625,7 +5563,7 @@ class IpAddressesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class IpOwnerList(typing_extensions.TypedDict, total=False): +class IpOwnerList(typing.TypedDict, total=False): id: str items: _list[InternalIpOwner] kind: str @@ -5635,7 +5573,7 @@ class IpOwnerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Jwt(typing_extensions.TypedDict, total=False): +class Jwt(typing.TypedDict, total=False): audiences: _list[str] issuer: str jwksPublicKeys: str @@ -5643,12 +5581,12 @@ class Jwt(typing_extensions.TypedDict, total=False): jwtParams: _list[str] @typing.type_check_only -class JwtHeader(typing_extensions.TypedDict, total=False): +class JwtHeader(typing.TypedDict, total=False): name: str valuePrefix: str @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): allowedReplacementLicenses: _list[str] appendableToDisk: bool chargesUseFee: bool @@ -5673,7 +5611,7 @@ class License(typing_extensions.TypedDict, total=False): updateTimestamp: str @typing.type_check_only -class LicenseCode(typing_extensions.TypedDict, total=False): +class LicenseCode(typing.TypedDict, total=False): allowedReplacementLicenses: _list[str] appendableToDisk: bool creationTimestamp: str @@ -5690,34 +5628,34 @@ class LicenseCode(typing_extensions.TypedDict, total=False): requiredCoattachedLicenses: _list[str] selfLink: str soleTenantOnly: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "DISABLED", "ENABLED", "RESTRICTED", "STATE_UNSPECIFIED", "TERMINATED" ] transferable: bool updateTimestamp: str @typing.type_check_only -class LicenseCodeLicenseAlias(typing_extensions.TypedDict, total=False): +class LicenseCodeLicenseAlias(typing.TypedDict, total=False): description: str selfLink: str @typing.type_check_only -class LicenseParams(typing_extensions.TypedDict, total=False): +class LicenseParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class LicenseResourceCommitment(typing_extensions.TypedDict, total=False): +class LicenseResourceCommitment(typing.TypedDict, total=False): amount: str coresPerLicense: str license: str @typing.type_check_only -class LicenseResourceRequirements(typing_extensions.TypedDict, total=False): +class LicenseResourceRequirements(typing.TypedDict, total=False): minGuestCpuCount: int minMemoryMb: int @typing.type_check_only -class LicensesListResponse(typing_extensions.TypedDict, total=False): +class LicensesListResponse(typing.TypedDict, total=False): id: str items: _list[License] nextPageToken: str @@ -5725,7 +5663,7 @@ class LicensesListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): +class ListInstantSnapshotGroups(typing.TypedDict, total=False): etag: str id: str items: _list[InstantSnapshotGroup] @@ -5736,7 +5674,7 @@ class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ListSnapshotGroups(typing_extensions.TypedDict, total=False): +class ListSnapshotGroups(typing.TypedDict, total=False): etag: str id: str items: _list[SnapshotGroup] @@ -5747,7 +5685,7 @@ class ListSnapshotGroups(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ListVmExtensionStatesResponse(typing_extensions.TypedDict, total=False): +class ListVmExtensionStatesResponse(typing.TypedDict, total=False): etag: str id: str items: _list[VmExtensionState] @@ -5758,7 +5696,7 @@ class ListVmExtensionStatesResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ListVmExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListVmExtensionsResponse(typing.TypedDict, total=False): etag: str id: str items: _list[VmExtension] @@ -5769,38 +5707,38 @@ class ListVmExtensionsResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class LocalDisk(typing_extensions.TypedDict, total=False): +class LocalDisk(typing.TypedDict, total=False): diskCount: int diskSizeGb: int diskType: str @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class LocationPolicy(typing_extensions.TypedDict, total=False): +class LocationPolicy(typing.TypedDict, total=False): locations: dict[str, typing.Any] - targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] + targetShape: typing.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] zones: _list[LocationPolicyZoneConfiguration] @typing.type_check_only -class LocationPolicyLocation(typing_extensions.TypedDict, total=False): +class LocationPolicyLocation(typing.TypedDict, total=False): constraints: LocationPolicyLocationConstraints names: _list[str] - preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] + preference: typing.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] @typing.type_check_only -class LocationPolicyLocationConstraints(typing_extensions.TypedDict, total=False): +class LocationPolicyLocationConstraints(typing.TypedDict, total=False): maxCount: int @typing.type_check_only -class LocationPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): +class LocationPolicyZoneConfiguration(typing.TypedDict, total=False): zone: str @typing.type_check_only -class MachineImage(typing_extensions.TypedDict, total=False): +class MachineImage(typing.TypedDict, total=False): creationTimestamp: str description: str guestFlush: bool @@ -5820,14 +5758,12 @@ class MachineImage(typing_extensions.TypedDict, total=False): sourceDiskEncryptionKeys: _list[SourceDiskEncryptionKey] sourceInstance: str sourceInstanceProperties: SourceInstanceProperties - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "UPLOADING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "UPLOADING"] storageLocations: _list[str] totalStorageBytes: str @typing.type_check_only -class MachineImageList(typing_extensions.TypedDict, total=False): +class MachineImageList(typing.TypedDict, total=False): id: str items: _list[MachineImage] kind: str @@ -5836,17 +5772,15 @@ class MachineImageList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineImageParams(typing_extensions.TypedDict, total=False): +class MachineImageParams(typing.TypedDict, total=False): excludedDisks: _list[str] includedDisks: _list[str] resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class MachineType(typing_extensions.TypedDict, total=False): +class MachineType(typing.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] bundledLocalSsds: BundledLocalSsds creationTimestamp: str deprecated: DeprecationStatus @@ -5864,7 +5798,7 @@ class MachineType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class MachineTypeAggregatedList(typing_extensions.TypedDict, total=False): +class MachineTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5874,7 +5808,7 @@ class MachineTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineTypeList(typing_extensions.TypedDict, total=False): +class MachineTypeList(typing.TypedDict, total=False): id: str items: _list[MachineType] kind: str @@ -5883,14 +5817,14 @@ class MachineTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineTypesScopedList(typing_extensions.TypedDict, total=False): +class MachineTypesScopedList(typing.TypedDict, total=False): machineTypes: _list[MachineType] warning: dict[str, typing.Any] @typing.type_check_only -class ManagedInstance(typing_extensions.TypedDict, total=False): +class ManagedInstance(typing.TypedDict, total=False): allInstancesConfig: ManagedInstanceAllInstancesConfig - currentAction: typing_extensions.Literal[ + currentAction: typing.Literal[ "ABANDONING", "ADOPTING", "CREATING", @@ -5914,7 +5848,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): instance: str instanceFlexibilityOverride: ManagedInstanceInstanceFlexibilityOverride instanceHealth: _list[ManagedInstanceInstanceHealth] - instanceStatus: typing_extensions.Literal[ + instanceStatus: typing.Literal[ "DEPROVISIONING", "PENDING", "PENDING_STOP", @@ -5938,19 +5872,19 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): shutdownDetails: ManagedInstanceShutdownDetails sizeInUnit: float tag: str - targetStatus: typing_extensions.Literal[ + targetStatus: typing.Literal[ "ABANDONED", "DELETED", "RUNNING", "STOPPED", "SUSPENDED" ] version: ManagedInstanceVersion @typing.type_check_only -class ManagedInstanceAllInstancesConfig(typing_extensions.TypedDict, total=False): +class ManagedInstanceAllInstancesConfig(typing.TypedDict, total=False): revision: str @typing.type_check_only -class ManagedInstanceCurrentActionDetails(typing_extensions.TypedDict, total=False): +class ManagedInstanceCurrentActionDetails(typing.TypedDict, total=False): methodName: str - trigger: typing_extensions.Literal[ + trigger: typing.Literal[ "API", "AUTOSCALING", "FAILED_CREATION", @@ -5965,83 +5899,112 @@ class ManagedInstanceCurrentActionDetails(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class ManagedInstanceInstanceFlexibilityOverride( - typing_extensions.TypedDict, total=False -): +class ManagedInstanceInstanceFlexibilityOverride(typing.TypedDict, total=False): disks: _list[AttachedDisk] machineType: str minCpuPlatform: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only -class ManagedInstanceInstanceHealth(typing_extensions.TypedDict, total=False): - detailedHealthState: typing_extensions.Literal[ +class ManagedInstanceInstanceHealth(typing.TypedDict, total=False): + detailedHealthState: typing.Literal[ "DRAINING", "HEALTHY", "TIMEOUT", "UNHEALTHY", "UNKNOWN" ] healthCheck: str - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY"] @typing.type_check_only -class ManagedInstanceLastAttempt(typing_extensions.TypedDict, total=False): +class ManagedInstanceLastAttempt(typing.TypedDict, total=False): errors: dict[str, typing.Any] @typing.type_check_only -class ManagedInstancePropertiesFromFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class ManagedInstancePropertiesFromFlexibilityPolicy(typing.TypedDict, total=False): disks: _list[AttachedDisk] machineType: str minCpuPlatform: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only -class ManagedInstanceScheduling(typing_extensions.TypedDict, total=False): +class ManagedInstanceScheduling(typing.TypedDict, total=False): gracefulShutdownTimestamp: str terminationTimestamp: str @typing.type_check_only -class ManagedInstanceShutdownDetails(typing_extensions.TypedDict, total=False): +class ManagedInstanceShutdownDetails(typing.TypedDict, total=False): maxDuration: Duration requestTimestamp: str @typing.type_check_only -class ManagedInstanceVersion(typing_extensions.TypedDict, total=False): +class ManagedInstanceVersion(typing.TypedDict, total=False): instanceTemplate: str name: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class ManagedRuleset(typing.TypedDict, total=False): + changeLog: str + creationTimestamp: str + description: str + id: str + name: str + ruleIds: _list[str] + rulesetId: str + selfLink: str + +@typing.type_check_only +class ManagedRulesetList(typing.TypedDict, total=False): + id: str + items: _list[ManagedRuleset] + nextPageToken: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class ManagementInterface(typing.TypedDict, total=False): + authenticationConfig: AuthenticationConfig + ipv4Address: str + ipv6Address: str + network: str + state: typing.Literal["ACTIVE", "INACTIVE", "PENDING", "STATE_UNSPECIFIED"] + subnetwork: str + type: typing.Literal[ + "TYPE_NVLINK_PARTITION_MANAGEMENT", + "TYPE_NVLINK_SWITCH_MONITORING", + "TYPE_TPU_SLICE_MANAGEMENT", + "TYPE_UNSPECIFIED", + ] + +@typing.type_check_only +class Metadata(typing.TypedDict, total=False): fingerprint: str items: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class MetadataCredentialsFromPlugin(typing_extensions.TypedDict, total=False): +class MetadataCredentialsFromPlugin(typing.TypedDict, total=False): name: str structConfig: str @typing.type_check_only -class MetadataFilter(typing_extensions.TypedDict, total=False): +class MetadataFilter(typing.TypedDict, total=False): filterLabels: _list[MetadataFilterLabelMatch] - filterMatchCriteria: typing_extensions.Literal["MATCH_ALL", "MATCH_ANY", "NOT_SET"] + filterMatchCriteria: typing.Literal["MATCH_ALL", "MATCH_ANY", "NOT_SET"] @typing.type_check_only -class MetadataFilterLabelMatch(typing_extensions.TypedDict, total=False): +class MetadataFilterLabelMatch(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class MultiMig(typing_extensions.TypedDict, total=False): +class MultiMig(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -6053,7 +6016,7 @@ class MultiMig(typing_extensions.TypedDict, total=False): status: MultiMigStatus @typing.type_check_only -class MultiMigMember(typing_extensions.TypedDict, total=False): +class MultiMigMember(typing.TypedDict, total=False): creationTimestamp: str id: str kind: str @@ -6063,7 +6026,7 @@ class MultiMigMember(typing_extensions.TypedDict, total=False): status: MultiMigMemberStatus @typing.type_check_only -class MultiMigMemberList(typing_extensions.TypedDict, total=False): +class MultiMigMemberList(typing.TypedDict, total=False): id: str items: _list[MultiMigMember] kind: str @@ -6072,23 +6035,23 @@ class MultiMigMemberList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MultiMigMemberStatus(typing_extensions.TypedDict, total=False): +class MultiMigMemberStatus(typing.TypedDict, total=False): instanceGroupManager: str @typing.type_check_only -class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): +class MultiMigResourcePolicies(typing.TypedDict, total=False): workloadPolicy: str @typing.type_check_only -class MultiMigStatus(typing_extensions.TypedDict, total=False): +class MultiMigStatus(typing.TypedDict, total=False): appliedAcceleratorTopologies: _list[MultiMigStatusAcceleratorTopology] memberInstanceGroupManagers: _list[str] membersCount: int @typing.type_check_only -class MultiMigStatusAcceleratorTopology(typing_extensions.TypedDict, total=False): +class MultiMigStatusAcceleratorTopology(typing.TypedDict, total=False): acceleratorTopology: str - acceleratorTopologyState: typing_extensions.Literal[ + acceleratorTopologyState: typing.Literal[ "ACTIVATING", "ACTIVE", "ACTIVE_DEGRADED", @@ -6102,13 +6065,13 @@ class MultiMigStatusAcceleratorTopology(typing_extensions.TypedDict, total=False @typing.type_check_only class MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class MultiMigsList(typing_extensions.TypedDict, total=False): +class MultiMigsList(typing.TypedDict, total=False): id: str items: _list[MultiMig] kind: str @@ -6117,39 +6080,39 @@ class MultiMigsList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MutualTls(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["INVALID", "PERMISSIVE", "STRICT"] +class MutualTls(typing.TypedDict, total=False): + mode: typing.Literal["INVALID", "PERMISSIVE", "STRICT"] @typing.type_check_only -class NamedPort(typing_extensions.TypedDict, total=False): +class NamedPort(typing.TypedDict, total=False): name: str port: int @typing.type_check_only -class NamedSet(typing_extensions.TypedDict, total=False): +class NamedSet(typing.TypedDict, total=False): description: str elements: _list[Expr] fingerprint: str name: str - type: typing_extensions.Literal["NAMED_SET_TYPE_COMMUNITY", "NAMED_SET_TYPE_PREFIX"] + type: typing.Literal["NAMED_SET_TYPE_COMMUNITY", "NAMED_SET_TYPE_PREFIX"] @typing.type_check_only -class NatIpInfo(typing_extensions.TypedDict, total=False): +class NatIpInfo(typing.TypedDict, total=False): natIpInfoMappings: _list[NatIpInfoNatIpInfoMapping] natName: str @typing.type_check_only -class NatIpInfoNatIpInfoMapping(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["AUTO", "MANUAL"] +class NatIpInfoNatIpInfoMapping(typing.TypedDict, total=False): + mode: typing.Literal["AUTO", "MANUAL"] natIp: str - usage: typing_extensions.Literal["IN_USE", "UNUSED"] + usage: typing.Literal["IN_USE", "UNUSED"] @typing.type_check_only -class NatIpInfoResponse(typing_extensions.TypedDict, total=False): +class NatIpInfoResponse(typing.TypedDict, total=False): result: _list[NatIpInfo] @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): IPv4Range: str autoCreateSubnetworks: bool creationTimestamp: str @@ -6162,7 +6125,7 @@ class Network(typing_extensions.TypedDict, total=False): kind: str mtu: int name: str - networkFirewallPolicyEnforcementOrder: typing_extensions.Literal[ + networkFirewallPolicyEnforcementOrder: typing.Literal[ "AFTER_CLASSIC_FIREWALL", "BEFORE_CLASSIC_FIREWALL" ] networkProfile: str @@ -6175,11 +6138,9 @@ class Network(typing_extensions.TypedDict, total=False): subnetworks: _list[str] @typing.type_check_only -class NetworkAttachment(typing_extensions.TypedDict, total=False): +class NetworkAttachment(typing.TypedDict, total=False): connectionEndpoints: _list[NetworkAttachmentConnectedEndpoint] - connectionPreference: typing_extensions.Literal[ - "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "INVALID" - ] + connectionPreference: typing.Literal["ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "INVALID"] creationTimestamp: str description: str fingerprint: str @@ -6195,7 +6156,7 @@ class NetworkAttachment(typing_extensions.TypedDict, total=False): subnetworks: _list[str] @typing.type_check_only -class NetworkAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6204,25 +6165,26 @@ class NetworkAttachmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): +class NetworkAttachmentConnectedEndpoint(typing.TypedDict, total=False): ipAddress: str ipv6Address: str projectIdOrNum: str secondaryIpCidrRanges: _list[str] serviceClassId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", "PENDING", "REJECTED", + "RESERVED", "STATUS_UNSPECIFIED", ] subnetwork: str subnetworkCidrRange: str @typing.type_check_only -class NetworkAttachmentList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentList(typing.TypedDict, total=False): id: str items: _list[NetworkAttachment] kind: str @@ -6231,12 +6193,12 @@ class NetworkAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentsScopedList(typing.TypedDict, total=False): networkAttachments: _list[NetworkAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEdgeSecurityService(typing_extensions.TypedDict, total=False): +class NetworkEdgeSecurityService(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -6249,9 +6211,7 @@ class NetworkEdgeSecurityService(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class NetworkEdgeSecurityServiceAggregatedList( - typing_extensions.TypedDict, total=False -): +class NetworkEdgeSecurityServiceAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -6262,12 +6222,12 @@ class NetworkEdgeSecurityServiceAggregatedList( warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEdgeSecurityServicesScopedList(typing_extensions.TypedDict, total=False): +class NetworkEdgeSecurityServicesScopedList(typing.TypedDict, total=False): networkEdgeSecurityServices: _list[NetworkEdgeSecurityService] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpoint(typing_extensions.TypedDict, total=False): +class NetworkEndpoint(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clientDestinationPort: int fqdn: str @@ -6277,7 +6237,7 @@ class NetworkEndpoint(typing_extensions.TypedDict, total=False): port: int @typing.type_check_only -class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] appEngine: NetworkEndpointGroupAppEngine cloudFunction: NetworkEndpointGroupCloudFunction @@ -6290,7 +6250,7 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): loadBalancer: NetworkEndpointGroupLbNetworkEndpointGroup name: str network: str - networkEndpointType: typing_extensions.Literal[ + networkEndpointType: typing.Literal[ "GCE_VM_IP", "GCE_VM_IP_DEDICATED_BACKEND", "GCE_VM_IP_PORT", @@ -6309,11 +6269,11 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): serverlessDeployment: NetworkEndpointGroupServerlessDeployment size: int subnetwork: str - type: typing_extensions.Literal["LOAD_BALANCING"] + type: typing.Literal["LOAD_BALANCING"] zone: str @typing.type_check_only -class NetworkEndpointGroupAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6323,33 +6283,31 @@ class NetworkEndpointGroupAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupAppEngine(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupAppEngine(typing.TypedDict, total=False): service: str urlMask: str version: str @typing.type_check_only -class NetworkEndpointGroupCloudFunction(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupCloudFunction(typing.TypedDict, total=False): function: str urlMask: str @typing.type_check_only -class NetworkEndpointGroupCloudRun(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupCloudRun(typing.TypedDict, total=False): service: str tag: str urlMask: str @typing.type_check_only -class NetworkEndpointGroupLbNetworkEndpointGroup( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupLbNetworkEndpointGroup(typing.TypedDict, total=False): defaultPort: int network: str subnetwork: str zone: str @typing.type_check_only -class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupList(typing.TypedDict, total=False): id: str items: _list[NetworkEndpointGroup] kind: str @@ -6358,11 +6316,11 @@ class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupPscData(typing.TypedDict, total=False): consumerPscAddress: str producerPort: int pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "ACCEPTED", "ACCEPTED_LIMITED_CAPACITY", "CLOSED", @@ -6373,45 +6331,35 @@ class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NetworkEndpointGroupServerlessDeployment( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupServerlessDeployment(typing.TypedDict, total=False): platform: str resource: str urlMask: str version: str @typing.type_check_only -class NetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class NetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class NetworkEndpointGroupsListEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsListEndpointsRequest(typing.TypedDict, total=False): endpointFilters: _list[ NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter ] - healthStatus: typing_extensions.Literal["SHOW", "SKIP"] + healthStatus: typing.Literal["SHOW", "SKIP"] @typing.type_check_only class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): networkEndpoint: NetworkEndpoint @typing.type_check_only -class NetworkEndpointGroupsListNetworkEndpoints( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsListNetworkEndpoints(typing.TypedDict, total=False): id: str items: _list[NetworkEndpointWithHealthStatus] kind: str @@ -6419,17 +6367,17 @@ class NetworkEndpointGroupsListNetworkEndpoints( warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupsScopedList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupsScopedList(typing.TypedDict, total=False): networkEndpointGroups: _list[NetworkEndpointGroup] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointWithHealthStatus(typing_extensions.TypedDict, total=False): +class NetworkEndpointWithHealthStatus(typing.TypedDict, total=False): healths: _list[HealthStatusForNetworkEndpoint] networkEndpoint: NetworkEndpoint @typing.type_check_only -class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkFirewallPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6439,17 +6387,19 @@ class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=Fal warning: dict[str, typing.Any] @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] aliasIpv6Ranges: _list[AliasIpRange] dns64Eligible: bool enableVpcScopedDns: bool fingerprint: str - igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] + igmpQuery: typing.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int + internalNicLoadBalancingIpv6Address: str + internalNicLoadBalancingIpv6PrefixLength: int ipv6AccessConfigs: _list[AccessConfig] - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] ipv6Address: str kind: str macAddress: str @@ -6458,28 +6408,26 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): network: str networkAttachment: str networkIP: str - nicType: typing_extensions.Literal[ + nicType: typing.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] parentNicName: str queueCount: int serviceClassId: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subinterfaces: _list[NetworkInterfaceSubInterface] subnetwork: str vlan: int @typing.type_check_only -class NetworkInterfaceSubInterface(typing_extensions.TypedDict, total=False): +class NetworkInterfaceSubInterface(typing.TypedDict, total=False): ipAddress: str - ipAllocationMode: typing_extensions.Literal[ - "ALLOCATE_IP", "DO_NOT_ALLOCATE_IP", "UNSPECIFIED" - ] + ipAllocationMode: typing.Literal["ALLOCATE_IP", "DO_NOT_ALLOCATE_IP", "UNSPECIFIED"] subnetwork: str vlan: int @typing.type_check_only -class NetworkList(typing_extensions.TypedDict, total=False): +class NetworkList(typing.TypedDict, total=False): id: str items: _list[Network] kind: str @@ -6488,11 +6436,11 @@ class NetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkParams(typing_extensions.TypedDict, total=False): +class NetworkParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class NetworkPeering(typing_extensions.TypedDict, total=False): +class NetworkPeering(typing.TypedDict, total=False): advertisePeerSubnetsViaRouters: bool autoCreateRoutes: bool connectionStatus: NetworkPeeringConnectionStatus @@ -6504,24 +6452,22 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): name: str network: str peerMtu: int - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] - state: typing_extensions.Literal[ + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] + state: typing.Literal[ "ACTIVE", "INACTIVE", "NCC_MIGRATION_COMPLETE", "NCC_MIGRATION_IN_PROGRESS" ] stateDetails: str - updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + updateStrategy: typing.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] @typing.type_check_only -class NetworkPeeringConnectionStatus(typing_extensions.TypedDict, total=False): +class NetworkPeeringConnectionStatus(typing.TypedDict, total=False): consensusState: NetworkPeeringConnectionStatusConsensusState trafficConfiguration: NetworkPeeringConnectionStatusTrafficConfiguration - updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + updateStrategy: typing.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] @typing.type_check_only -class NetworkPeeringConnectionStatusConsensusState( - typing_extensions.TypedDict, total=False -): - deleteStatus: typing_extensions.Literal[ +class NetworkPeeringConnectionStatusConsensusState(typing.TypedDict, total=False): + deleteStatus: typing.Literal[ "DELETE_ACKNOWLEDGED", "DELETE_STATUS_UNSPECIFIED", "LOCAL_CANCEL_REQUESTED", @@ -6529,7 +6475,7 @@ class NetworkPeeringConnectionStatusConsensusState( "PEER_CANCEL_REQUESTED", "PEER_DELETE_REQUESTED", ] - updateStatus: typing_extensions.Literal[ + updateStatus: typing.Literal[ "IN_SYNC", "PENDING_LOCAL_ACKNOWLEDMENT", "PENDING_PEER_ACKNOWLEDGEMENT", @@ -6537,27 +6483,25 @@ class NetworkPeeringConnectionStatusConsensusState( ] @typing.type_check_only -class NetworkPeeringConnectionStatusTrafficConfiguration( - typing_extensions.TypedDict, total=False -): +class NetworkPeeringConnectionStatusTrafficConfiguration(typing.TypedDict, total=False): exportCustomRoutesToPeer: bool exportSubnetRoutesWithPublicIpToPeer: bool importCustomRoutesFromPeer: bool importSubnetRoutesWithPublicIpFromPeer: bool - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] @typing.type_check_only -class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - externalIpEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] - totalEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] +class NetworkPerformanceConfig(typing.TypedDict, total=False): + externalIpEgressBandwidthTier: typing.Literal["DEFAULT", "TIER_1"] + totalEgressBandwidthTier: typing.Literal["DEFAULT", "TIER_1"] @typing.type_check_only -class NetworkPoliciesScopedList(typing_extensions.TypedDict, total=False): +class NetworkPoliciesScopedList(typing.TypedDict, total=False): networkPolicies: _list[NetworkPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkPolicy(typing_extensions.TypedDict, total=False): +class NetworkPolicy(typing.TypedDict, total=False): associations: _list[NetworkPolicyAssociation] creationTimestamp: str description: str @@ -6571,7 +6515,7 @@ class NetworkPolicy(typing_extensions.TypedDict, total=False): trafficClassificationRules: _list[NetworkPolicyTrafficClassificationRule] @typing.type_check_only -class NetworkPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6581,12 +6525,12 @@ class NetworkPolicyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkPolicyAssociation(typing_extensions.TypedDict, total=False): +class NetworkPolicyAssociation(typing.TypedDict, total=False): attachmentTarget: str name: str @typing.type_check_only -class NetworkPolicyList(typing_extensions.TypedDict, total=False): +class NetworkPolicyList(typing.TypedDict, total=False): id: str items: _list[NetworkPolicy] kind: str @@ -6594,7 +6538,7 @@ class NetworkPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkPolicyTrafficClassificationRule(typing_extensions.TypedDict, total=False): +class NetworkPolicyTrafficClassificationRule(typing.TypedDict, total=False): action: NetworkPolicyTrafficClassificationRuleAction description: str disabled: bool @@ -6607,38 +6551,33 @@ class NetworkPolicyTrafficClassificationRule(typing_extensions.TypedDict, total= targetServiceAccounts: _list[str] @typing.type_check_only -class NetworkPolicyTrafficClassificationRuleAction( - typing_extensions.TypedDict, total=False -): - dscpMode: typing_extensions.Literal["AUTO", "CUSTOM"] +class NetworkPolicyTrafficClassificationRuleAction(typing.TypedDict, total=False): + dscpMode: typing.Literal["AUTO", "CUSTOM"] dscpValue: int - trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] + trafficClass: typing.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] type: str @typing.type_check_only -class NetworkPolicyTrafficClassificationRuleMatcher( - typing_extensions.TypedDict, total=False -): +class NetworkPolicyTrafficClassificationRuleMatcher(typing.TypedDict, total=False): + destAddressGroups: _list[str] destIpRanges: _list[str] layer4Configs: _list[NetworkPolicyTrafficClassificationRuleMatcherLayer4Config] srcIpRanges: _list[str] @typing.type_check_only class NetworkPolicyTrafficClassificationRuleMatcherLayer4Config( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipProtocol: str ports: _list[str] @typing.type_check_only -class NetworkPolicyTrafficClassificationRuleSecureTag( - typing_extensions.TypedDict, total=False -): +class NetworkPolicyTrafficClassificationRuleSecureTag(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal["EFFECTIVE", "INEFFECTIVE", "STATE_UNSPECIFIED"] + state: typing.Literal["EFFECTIVE", "INEFFECTIVE", "STATE_UNSPECIFIED"] @typing.type_check_only -class NetworkProfile(typing_extensions.TypedDict, total=False): +class NetworkProfile(typing.TypedDict, total=False): creationTimestamp: str description: str features: NetworkProfileNetworkFeatures @@ -6651,14 +6590,14 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class NetworkProfileLocation(typing_extensions.TypedDict, total=False): +class NetworkProfileLocation(typing.TypedDict, total=False): name: str - scope: typing_extensions.Literal["REGION", "ZONE"] + scope: typing.Literal["REGION", "ZONE"] @typing.type_check_only -class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): +class NetworkProfileNetworkFeatures(typing.TypedDict, total=False): addressPurposes: _list[ - typing_extensions.Literal[ + typing.Literal[ "APPLICATION_AND_PROXY_LOAD_BALANCERS", "DNS_RESOLVER", "GCE_ENDPOINT", @@ -6673,106 +6612,92 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "VPC_PEERING", ] ] - allowAddressCreation: typing_extensions.Literal[ + allowAddressCreation: typing.Literal[ "ADDRESS_CREATION_ALLOWED", "ADDRESS_CREATION_BLOCKED" ] - allowAliasIpRanges: typing_extensions.Literal[ + allowAliasIpRanges: typing.Literal[ "ALIAS_IP_RANGES_ALLOWED", "ALIAS_IP_RANGES_BLOCKED" ] - allowAutoModeSubnet: typing_extensions.Literal[ + allowAutoModeSubnet: typing.Literal[ "AUTO_MODE_SUBNET_ALLOWED", "AUTO_MODE_SUBNET_BLOCKED" ] - allowClassDFirewalls: typing_extensions.Literal[ + allowClassDFirewalls: typing.Literal[ "CLASS_D_FIREWALLS_ALLOWED", "CLASS_D_FIREWALLS_BLOCKED" ] - allowCloudNat: typing_extensions.Literal["CLOUD_NAT_ALLOWED", "CLOUD_NAT_BLOCKED"] - allowCloudRouter: typing_extensions.Literal[ - "CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED" - ] - allowDefaultNicAttachment: typing_extensions.Literal[ + allowCloudNat: typing.Literal["CLOUD_NAT_ALLOWED", "CLOUD_NAT_BLOCKED"] + allowCloudRouter: typing.Literal["CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED"] + allowDefaultNicAttachment: typing.Literal[ "DEFAULT_NIC_ATTACHMENT_ALLOWED", "DEFAULT_NIC_ATTACHMENT_BLOCKED" ] - allowExternalIpAccess: typing_extensions.Literal[ + allowExternalIpAccess: typing.Literal[ "EXTERNAL_IP_ACCESS_ALLOWED", "EXTERNAL_IP_ACCESS_BLOCKED" ] - allowFirewallPolicy: typing_extensions.Literal[ + allowFirewallPolicy: typing.Literal[ "FIREWALL_POLICY_ALLOWED", "FIREWALL_POLICY_BLOCKED" ] - allowInterconnect: typing_extensions.Literal[ - "INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED" - ] - allowIpForwarding: typing_extensions.Literal[ - "IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED" - ] - allowLoadBalancing: typing_extensions.Literal[ + allowInterconnect: typing.Literal["INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED"] + allowIpForwarding: typing.Literal["IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED"] + allowLoadBalancing: typing.Literal[ "LOAD_BALANCING_ALLOWED", "LOAD_BALANCING_BLOCKED" ] - allowMultiNicInSameNetwork: typing_extensions.Literal[ + allowMultiNicInSameNetwork: typing.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] - allowMultiNicInSameSubnetwork: typing_extensions.Literal[ + allowMultiNicInSameSubnetwork: typing.Literal[ "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" ] - allowMulticast: typing_extensions.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] - allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] - allowNetworkMigration: typing_extensions.Literal[ + allowMulticast: typing.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] + allowNcc: typing.Literal["NCC_ALLOWED", "NCC_BLOCKED"] + allowNetworkMigration: typing.Literal[ "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" ] - allowPacketMirroring: typing_extensions.Literal[ + allowPacketMirroring: typing.Literal[ "PACKET_MIRRORING_ALLOWED", "PACKET_MIRRORING_BLOCKED" ] - allowPrivateGoogleAccess: typing_extensions.Literal[ + allowPrivateGoogleAccess: typing.Literal[ "PRIVATE_GOOGLE_ACCESS_ALLOWED", "PRIVATE_GOOGLE_ACCESS_BLOCKED" ] - allowPsc: typing_extensions.Literal["PSC_ALLOWED", "PSC_BLOCKED"] - allowSameNetworkUnicast: typing_extensions.Literal[ + allowPsc: typing.Literal["PSC_ALLOWED", "PSC_BLOCKED"] + allowSameNetworkUnicast: typing.Literal[ "SAME_NETWORK_UNICAST_ALLOWED", "SAME_NETWORK_UNICAST_BLOCKED" ] - allowStaticRoutes: typing_extensions.Literal[ - "STATIC_ROUTES_ALLOWED", "STATIC_ROUTES_BLOCKED" - ] - allowSubInterfaces: typing_extensions.Literal[ - "SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED" - ] - allowSubnetworkCreation: typing_extensions.Literal[ + allowStaticRoutes: typing.Literal["STATIC_ROUTES_ALLOWED", "STATIC_ROUTES_BLOCKED"] + allowSubInterfaces: typing.Literal["SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED"] + allowSubnetworkCreation: typing.Literal[ "SUBNETWORK_CREATION_ALLOWED", "SUBNETWORK_CREATION_BLOCKED" ] - allowVpcFirewallRules: typing_extensions.Literal[ + allowVpcFirewallRules: typing.Literal[ "VPC_FIREWALL_RULES_ALLOWED", "VPC_FIREWALL_RULES_BLOCKED" ] - allowVpcPeering: typing_extensions.Literal[ - "VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED" - ] - allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] + allowVpcPeering: typing.Literal["VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED"] + allowVpn: typing.Literal["VPN_ALLOWED", "VPN_BLOCKED"] firewallPolicyTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" ] ] interfaceTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] ] - multicast: typing_extensions.Literal["MULTICAST_SDN", "MULTICAST_ULL"] + multicast: typing.Literal["MULTICAST_SDN", "MULTICAST_ULL"] predefinedNetworkInternalIpv6Range: str predefinedSubnetworkRanges: _list[ NetworkProfileNetworkFeaturesPredefinedSubnetworkRange ] subnetPurposes: _list[ - typing_extensions.Literal[ - "SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE" - ] + typing.Literal["SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE"] ] subnetStackTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUBNET_STACK_TYPE_IPV4_IPV6", "SUBNET_STACK_TYPE_IPV4_ONLY", "SUBNET_STACK_TYPE_IPV6_ONLY", ] ] subnetworkPurposes: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGGREGATE", "CLOUD_EXTENSION", "CUSTOM_HARDWARE_LINK", @@ -6786,27 +6711,25 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "REGIONAL_MANAGED_PROXY", ] ] - subnetworkStackTypes: _list[ - typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] - ] - unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] + subnetworkStackTypes: _list[typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"]] + unicast: typing.Literal["UNICAST_SDN", "UNICAST_ULL"] @typing.type_check_only class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipv6Range: str namePrefix: str @typing.type_check_only -class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): - networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] - rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE", "ROCE_METAL"] - ullSubtype: typing_extensions.Literal["OPERATOR", "PARTICIPANT"] - vpcSubtype: typing_extensions.Literal["REGIONAL"] +class NetworkProfileProfileType(typing.TypedDict, total=False): + networkType: typing.Literal["RDMA", "ULL", "VPC"] + rdmaSubtype: typing.Literal["FALCON", "ROCE", "ROCE_METAL"] + ullSubtype: typing.Literal["OPERATOR", "PARTICIPANT"] + vpcSubtype: typing.Literal["REGIONAL"] @typing.type_check_only -class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): +class NetworkProfilesListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[NetworkProfile] @@ -6817,16 +6740,16 @@ class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkRoutingConfig(typing_extensions.TypedDict, total=False): +class NetworkRoutingConfig(typing.TypedDict, total=False): bgpAlwaysCompareMed: bool - bgpBestPathSelectionMode: typing_extensions.Literal["LEGACY", "STANDARD"] - bgpInterRegionCost: typing_extensions.Literal["ADD_COST_TO_MED", "DEFAULT"] + bgpBestPathSelectionMode: typing.Literal["LEGACY", "STANDARD"] + bgpInterRegionCost: typing.Literal["ADD_COST_TO_MED", "DEFAULT"] effectiveBgpAlwaysCompareMed: bool - effectiveBgpInterRegionCost: typing_extensions.Literal["ADD_COST_TO_MED", "DEFAULT"] - routingMode: typing_extensions.Literal["GLOBAL", "REGIONAL"] + effectiveBgpInterRegionCost: typing.Literal["ADD_COST_TO_MED", "DEFAULT"] + routingMode: typing.Literal["GLOBAL", "REGIONAL"] @typing.type_check_only -class NetworksAddPeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksAddPeeringRequest(typing.TypedDict, total=False): autoCreateRoutes: bool exportCustomRoutes: bool importCustomRoutes: bool @@ -6835,13 +6758,11 @@ class NetworksAddPeeringRequest(typing_extensions.TypedDict, total=False): peerNetwork: str @typing.type_check_only -class NetworksCancelRequestRemovePeeringRequest( - typing_extensions.TypedDict, total=False -): +class NetworksCancelRequestRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): +class NetworksGetEffectiveFirewallsResponse(typing.TypedDict, total=False): firewallPolicys: _list[NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy] firewalls: _list[Firewall] organizationFirewalls: _list[ @@ -6850,7 +6771,7 @@ class NetworksGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=F @typing.type_check_only class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -6858,29 +6779,29 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( priority: int rules: _list[FirewallPolicyRule] shortName: str - type: typing_extensions.Literal["HIERARCHY", "NETWORK", "SYSTEM", "UNSPECIFIED"] + type: typing.Literal["HIERARCHY", "NETWORK", "SYSTEM", "UNSPECIFIED"] @typing.type_check_only class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str rules: _list[SecurityPolicyRule] @typing.type_check_only -class NetworksRemovePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksRequestRemovePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksRequestRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksUpdatePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksUpdatePeeringRequest(typing.TypedDict, total=False): networkPeering: NetworkPeering @typing.type_check_only -class NodeGroup(typing_extensions.TypedDict, total=False): +class NodeGroup(typing.TypedDict, total=False): autoscalingPolicy: NodeGroupAutoscalingPolicy creationTimestamp: str description: str @@ -6888,8 +6809,8 @@ class NodeGroup(typing_extensions.TypedDict, total=False): id: str kind: str locationHint: str - maintenanceInterval: typing_extensions.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] - maintenancePolicy: typing_extensions.Literal[ + maintenanceInterval: typing.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] + maintenancePolicy: typing.Literal[ "DEFAULT", "MAINTENANCE_POLICY_UNSPECIFIED", "MIGRATE_WITHIN_NODE_GROUP", @@ -6902,11 +6823,11 @@ class NodeGroup(typing_extensions.TypedDict, total=False): selfLinkWithId: str shareSettings: ShareSettings size: int - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class NodeGroupAggregatedList(typing_extensions.TypedDict, total=False): +class NodeGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6916,13 +6837,13 @@ class NodeGroupAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupAutoscalingPolicy(typing_extensions.TypedDict, total=False): +class NodeGroupAutoscalingPolicy(typing.TypedDict, total=False): maxNodes: int minNodes: int - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "OFF", "ON", "ONLY_SCALE_OUT"] + mode: typing.Literal["MODE_UNSPECIFIED", "OFF", "ON", "ONLY_SCALE_OUT"] @typing.type_check_only -class NodeGroupList(typing_extensions.TypedDict, total=False): +class NodeGroupList(typing.TypedDict, total=False): id: str items: _list[NodeGroup] kind: str @@ -6931,16 +6852,16 @@ class NodeGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupMaintenanceWindow(typing_extensions.TypedDict, total=False): +class NodeGroupMaintenanceWindow(typing.TypedDict, total=False): duration: str maintenanceDuration: Duration startTime: str @typing.type_check_only -class NodeGroupNode(typing_extensions.TypedDict, total=False): +class NodeGroupNode(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] consumedResources: InstanceConsumptionInfo - cpuOvercommitType: typing_extensions.Literal[ + cpuOvercommitType: typing.Literal[ "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", "ENABLED", "NONE" ] disks: _list[LocalDisk] @@ -6951,22 +6872,20 @@ class NodeGroupNode(typing_extensions.TypedDict, total=False): satisfiesPzs: bool serverBinding: ServerBinding serverId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "REPAIRING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "REPAIRING"] totalResources: InstanceConsumptionInfo upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class NodeGroupsAddNodesRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsAddNodesRequest(typing.TypedDict, total=False): additionalNodeCount: int @typing.type_check_only -class NodeGroupsDeleteNodesRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsDeleteNodesRequest(typing.TypedDict, total=False): nodes: _list[str] @typing.type_check_only -class NodeGroupsListNodes(typing_extensions.TypedDict, total=False): +class NodeGroupsListNodes(typing.TypedDict, total=False): id: str items: _list[NodeGroupNode] kind: str @@ -6975,29 +6894,27 @@ class NodeGroupsListNodes(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsPerformMaintenanceRequest(typing.TypedDict, total=False): nodes: _list[str] startTime: str @typing.type_check_only -class NodeGroupsScopedList(typing_extensions.TypedDict, total=False): +class NodeGroupsScopedList(typing.TypedDict, total=False): nodeGroups: _list[NodeGroup] warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupsSetNodeTemplateRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsSetNodeTemplateRequest(typing.TypedDict, total=False): nodeTemplate: str @typing.type_check_only -class NodeGroupsSimulateMaintenanceEventRequest( - typing_extensions.TypedDict, total=False -): +class NodeGroupsSimulateMaintenanceEventRequest(typing.TypedDict, total=False): nodes: _list[str] @typing.type_check_only -class NodeTemplate(typing_extensions.TypedDict, total=False): +class NodeTemplate(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] - cpuOvercommitType: typing_extensions.Literal[ + cpuOvercommitType: typing.Literal[ "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", "ENABLED", "NONE" ] creationTimestamp: str @@ -7013,11 +6930,11 @@ class NodeTemplate(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str serverBinding: ServerBinding - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] statusMessage: str @typing.type_check_only -class NodeTemplateAggregatedList(typing_extensions.TypedDict, total=False): +class NodeTemplateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7027,7 +6944,7 @@ class NodeTemplateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTemplateList(typing_extensions.TypedDict, total=False): +class NodeTemplateList(typing.TypedDict, total=False): id: str items: _list[NodeTemplate] kind: str @@ -7036,18 +6953,18 @@ class NodeTemplateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTemplateNodeTypeFlexibility(typing_extensions.TypedDict, total=False): +class NodeTemplateNodeTypeFlexibility(typing.TypedDict, total=False): cpus: str localSsd: str memory: str @typing.type_check_only -class NodeTemplatesScopedList(typing_extensions.TypedDict, total=False): +class NodeTemplatesScopedList(typing.TypedDict, total=False): nodeTemplates: _list[NodeTemplate] warning: dict[str, typing.Any] @typing.type_check_only -class NodeType(typing_extensions.TypedDict, total=False): +class NodeType(typing.TypedDict, total=False): cpuPlatform: str creationTimestamp: str deprecated: DeprecationStatus @@ -7064,7 +6981,7 @@ class NodeType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class NodeTypeAggregatedList(typing_extensions.TypedDict, total=False): +class NodeTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7074,7 +6991,7 @@ class NodeTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTypeList(typing_extensions.TypedDict, total=False): +class NodeTypeList(typing.TypedDict, total=False): id: str items: _list[NodeType] kind: str @@ -7083,12 +7000,12 @@ class NodeTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTypesScopedList(typing_extensions.TypedDict, total=False): +class NodeTypesScopedList(typing.TypedDict, total=False): nodeTypes: _list[NodeType] warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpoint(typing_extensions.TypedDict, total=False): +class NotificationEndpoint(typing.TypedDict, total=False): creationTimestamp: str description: str grpcSettings: NotificationEndpointGrpcSettings @@ -7099,7 +7016,7 @@ class NotificationEndpoint(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class NotificationEndpointAggregatedList(typing_extensions.TypedDict, total=False): +class NotificationEndpointAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7109,7 +7026,7 @@ class NotificationEndpointAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpointGrpcSettings(typing_extensions.TypedDict, total=False): +class NotificationEndpointGrpcSettings(typing.TypedDict, total=False): authority: str endpoint: str payloadName: str @@ -7117,7 +7034,7 @@ class NotificationEndpointGrpcSettings(typing_extensions.TypedDict, total=False) retryDurationSec: int @typing.type_check_only -class NotificationEndpointList(typing_extensions.TypedDict, total=False): +class NotificationEndpointList(typing.TypedDict, total=False): id: str items: _list[NotificationEndpoint] kind: str @@ -7126,17 +7043,19 @@ class NotificationEndpointList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpointsScopedList(typing_extensions.TypedDict, total=False): +class NotificationEndpointsScopedList(typing.TypedDict, total=False): resources: _list[NotificationEndpoint] warning: dict[str, typing.Any] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clientOperationId: str creationTimestamp: str description: str endTime: str error: dict[str, typing.Any] + firewallPolicyRuleOperationMetadata: FirewallPolicyRuleOperationMetadata + getHealthOperationMetadata: GetHealthOperationMetadata getVersionOperationMetadata: GetVersionOperationMetadata httpErrorMessage: str httpErrorStatusCode: int @@ -7155,7 +7074,7 @@ class Operation(typing_extensions.TypedDict, total=False): SetCommonInstanceMetadataOperationMetadata ) startTime: str - status: typing_extensions.Literal["DONE", "PENDING", "RUNNING"] + status: typing.Literal["DONE", "PENDING", "RUNNING"] statusMessage: str targetId: str targetLink: str @@ -7164,7 +7083,7 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationAggregatedList(typing_extensions.TypedDict, total=False): +class OperationAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7174,7 +7093,7 @@ class OperationAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class OperationList(typing_extensions.TypedDict, total=False): +class OperationList(typing.TypedDict, total=False): id: str items: _list[Operation] kind: str @@ -7183,12 +7102,12 @@ class OperationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class OperationsScopedList(typing_extensions.TypedDict, total=False): +class OperationsScopedList(typing.TypedDict, total=False): operations: _list[Operation] warning: dict[str, typing.Any] @typing.type_check_only -class OrganizationRolloutsListResponse(typing_extensions.TypedDict, total=False): +class OrganizationRolloutsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[Rollout] @@ -7199,14 +7118,14 @@ class OrganizationRolloutsListResponse(typing_extensions.TypedDict, total=False) @typing.type_check_only class OrganizationSecurityPoliciesListAssociationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): associations: _list[SecurityPolicyAssociation] kind: str @typing.type_check_only class OrganizationVmExtensionPolicyAggregatedListResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str id: str @@ -7218,11 +7137,11 @@ class OrganizationVmExtensionPolicyAggregatedListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class OriginAuthenticationMethod(typing_extensions.TypedDict, total=False): +class OriginAuthenticationMethod(typing.TypedDict, total=False): jwt: Jwt @typing.type_check_only -class OutlierDetection(typing_extensions.TypedDict, total=False): +class OutlierDetection(typing.TypedDict, total=False): baseEjectionTime: Duration consecutiveErrors: int consecutiveGatewayFailure: int @@ -7236,22 +7155,20 @@ class OutlierDetection(typing_extensions.TypedDict, total=False): successRateStdevFactor: int @typing.type_check_only -class PacketIntervals(typing_extensions.TypedDict, total=False): +class PacketIntervals(typing.TypedDict, total=False): avgMs: str - duration: typing_extensions.Literal["DURATION_UNSPECIFIED", "HOUR", "MAX", "MINUTE"] + duration: typing.Literal["DURATION_UNSPECIFIED", "HOUR", "MAX", "MINUTE"] maxMs: str minMs: str numIntervals: str - type: typing_extensions.Literal[ - "LOOPBACK", "RECEIVE", "TRANSMIT", "TYPE_UNSPECIFIED" - ] + type: typing.Literal["LOOPBACK", "RECEIVE", "TRANSMIT", "TYPE_UNSPECIFIED"] @typing.type_check_only -class PacketMirroring(typing_extensions.TypedDict, total=False): +class PacketMirroring(typing.TypedDict, total=False): collectorIlb: PacketMirroringForwardingRuleInfo creationTimestamp: str description: str - enable: typing_extensions.Literal["FALSE", "TRUE"] + enable: typing.Literal["FALSE", "TRUE"] filter: PacketMirroringFilter id: str kind: str @@ -7264,7 +7181,7 @@ class PacketMirroring(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class PacketMirroringAggregatedList(typing_extensions.TypedDict, total=False): +class PacketMirroringAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7274,18 +7191,18 @@ class PacketMirroringAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PacketMirroringFilter(typing_extensions.TypedDict, total=False): +class PacketMirroringFilter(typing.TypedDict, total=False): IPProtocols: _list[str] cidrRanges: _list[str] - direction: typing_extensions.Literal["BOTH", "EGRESS", "INGRESS"] + direction: typing.Literal["BOTH", "EGRESS", "INGRESS"] @typing.type_check_only -class PacketMirroringForwardingRuleInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringForwardingRuleInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringList(typing_extensions.TypedDict, total=False): +class PacketMirroringList(typing.TypedDict, total=False): id: str items: _list[PacketMirroring] kind: str @@ -7294,42 +7211,38 @@ class PacketMirroringList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PacketMirroringMirroredResourceInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringMirroredResourceInfo(typing.TypedDict, total=False): instances: _list[PacketMirroringMirroredResourceInfoInstanceInfo] subnetworks: _list[PacketMirroringMirroredResourceInfoSubnetInfo] tags: _list[str] @typing.type_check_only -class PacketMirroringMirroredResourceInfoInstanceInfo( - typing_extensions.TypedDict, total=False -): +class PacketMirroringMirroredResourceInfoInstanceInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringMirroredResourceInfoSubnetInfo( - typing_extensions.TypedDict, total=False -): +class PacketMirroringMirroredResourceInfoSubnetInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringNetworkInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringNetworkInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringsScopedList(typing_extensions.TypedDict, total=False): +class PacketMirroringsScopedList(typing.TypedDict, total=False): packetMirrorings: _list[PacketMirroring] warning: dict[str, typing.Any] @typing.type_check_only -class PartnerMetadata(typing_extensions.TypedDict, total=False): +class PartnerMetadata(typing.TypedDict, total=False): fingerprint: str partnerMetadata: dict[str, typing.Any] @typing.type_check_only -class PathMatcher(typing_extensions.TypedDict, total=False): +class PathMatcher(typing.TypedDict, total=False): defaultCustomErrorResponsePolicy: CustomErrorResponsePolicy defaultRouteAction: HttpRouteAction defaultService: str @@ -7341,7 +7254,7 @@ class PathMatcher(typing_extensions.TypedDict, total=False): routeRules: _list[HttpRouteRule] @typing.type_check_only -class PathRule(typing_extensions.TypedDict, total=False): +class PathRule(typing.TypedDict, total=False): customErrorResponsePolicy: CustomErrorResponsePolicy paths: _list[str] routeAction: HttpRouteAction @@ -7349,21 +7262,21 @@ class PathRule(typing_extensions.TypedDict, total=False): urlRedirect: HttpRedirectAction @typing.type_check_only -class PeerAuthenticationMethod(typing_extensions.TypedDict, total=False): +class PeerAuthenticationMethod(typing.TypedDict, total=False): mtls: MutualTls @typing.type_check_only -class PerInstanceConfig(typing_extensions.TypedDict, total=False): +class PerInstanceConfig(typing.TypedDict, total=False): fingerprint: str name: str preservedState: PreservedState - status: typing_extensions.Literal[ + status: typing.Literal[ "APPLYING", "DELETING", "EFFECTIVE", "NONE", "UNAPPLIED", "UNAPPLIED_DELETION" ] @typing.type_check_only -class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=False): - subType: typing_extensions.Literal[ +class PeriodicPartialMaintenanceSchedule(typing.TypedDict, total=False): + subType: typing.Literal[ "MAINTENANCE_SUBTYPE_UNSPECIFIED", "MAINTENANCE_TYPE_CUSTOMER_MAINTENANCE", "MAINTENANCE_TYPE_DISRUPTIVE_UPGRADE", @@ -7371,14 +7284,12 @@ class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=Fals "MAINTENANCE_TYPE_TRANSITION", ] targetResource: str - type: typing_extensions.Literal[ - "MAINTENANCE_TYPE_UNSPECIFIED", "PRIVATE_ZONE_MAINTENANCE" - ] + type: typing.Literal["MAINTENANCE_TYPE_UNSPECIFIED", "PRIVATE_ZONE_MAINTENANCE"] windowEndTime: DateTime windowStartTime: DateTime @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): constraints: _list[PermissionConstraint] hosts: _list[str] methods: _list[str] @@ -7390,64 +7301,62 @@ class Permission(typing_extensions.TypedDict, total=False): ports: _list[str] @typing.type_check_only -class PermissionConstraint(typing_extensions.TypedDict, total=False): +class PermissionConstraint(typing.TypedDict, total=False): key: str values: _list[str] @typing.type_check_only -class PersistentDiskResourceCommitment(typing_extensions.TypedDict, total=False): +class PersistentDiskResourceCommitment(typing.TypedDict, total=False): amount: str - dimensionType: typing_extensions.Literal[ + dimensionType: typing.Literal[ "CAPACITY_OPTIMIZED", "DIMENSION_TYPE_UNSPECIFIED", "READ_OPTIMIZED", "WRITE_OPTIMIZED", ] - productType: typing_extensions.Literal[ + productType: typing.Literal[ "HYPERDISK_EXAPOOL_BALANCED", "HYPERDISK_EXAPOOL_THROUGHPUT", "PRODUCT_TYPE_UNSPECIFIED", ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PreconfiguredWafSet(typing_extensions.TypedDict, total=False): +class PreconfiguredWafSet(typing.TypedDict, total=False): expressionSets: _list[WafExpressionSet] @typing.type_check_only -class PreservedState(typing_extensions.TypedDict, total=False): +class PreservedState(typing.TypedDict, total=False): disks: dict[str, typing.Any] externalIPs: dict[str, typing.Any] internalIPs: dict[str, typing.Any] metadata: dict[str, typing.Any] @typing.type_check_only -class PreservedStatePreservedDisk(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] +class PreservedStatePreservedDisk(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] source: str @typing.type_check_only -class PreservedStatePreservedNetworkIp(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class PreservedStatePreservedNetworkIp(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] ipAddress: PreservedStatePreservedNetworkIpIpAddress @typing.type_check_only -class PreservedStatePreservedNetworkIpIpAddress( - typing_extensions.TypedDict, total=False -): +class PreservedStatePreservedNetworkIpIpAddress(typing.TypedDict, total=False): address: str literal: str @typing.type_check_only -class PreviewFeature(typing_extensions.TypedDict, total=False): - activationStatus: typing_extensions.Literal[ +class PreviewFeature(typing.TypedDict, total=False): + activationStatus: typing.Literal[ "ACTIVATION_STATE_UNSPECIFIED", "DISABLED", "ENABLED" ] creationTimestamp: str @@ -7460,7 +7369,7 @@ class PreviewFeature(typing_extensions.TypedDict, total=False): status: PreviewFeatureStatus @typing.type_check_only -class PreviewFeatureList(typing_extensions.TypedDict, total=False): +class PreviewFeatureList(typing.TypedDict, total=False): etag: str id: str items: _list[PreviewFeature] @@ -7470,33 +7379,31 @@ class PreviewFeatureList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PreviewFeatureRolloutOperation(typing_extensions.TypedDict, total=False): +class PreviewFeatureRolloutOperation(typing.TypedDict, total=False): rolloutInput: PreviewFeatureRolloutOperationRolloutInput @typing.type_check_only -class PreviewFeatureRolloutOperationRolloutInput( - typing_extensions.TypedDict, total=False -): +class PreviewFeatureRolloutOperationRolloutInput(typing.TypedDict, total=False): name: str - predefinedRolloutPlan: typing_extensions.Literal[ + predefinedRolloutPlan: typing.Literal[ "ROLLOUT_PLAN_FAST_ROLLOUT", "ROLLOUT_PLAN_TWO_DAY_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", ] @typing.type_check_only -class PreviewFeatureStatus(typing_extensions.TypedDict, total=False): +class PreviewFeatureStatus(typing.TypedDict, total=False): description: str helpLink: str releaseStatus: PreviewFeatureStatusReleaseStatus @typing.type_check_only -class PreviewFeatureStatusReleaseStatus(typing_extensions.TypedDict, total=False): - stage: typing_extensions.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] +class PreviewFeatureStatusReleaseStatus(typing.TypedDict, total=False): + stage: typing.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] updateDate: Date @typing.type_check_only -class Principal(typing_extensions.TypedDict, total=False): +class Principal(typing.TypedDict, total=False): condition: str groups: _list[str] ips: _list[str] @@ -7509,13 +7416,13 @@ class Principal(typing_extensions.TypedDict, total=False): users: _list[str] @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): - cloudArmorTier: typing_extensions.Literal[ +class Project(typing.TypedDict, total=False): + cloudArmorTier: typing.Literal[ "CA_ENTERPRISE_ANNUAL", "CA_ENTERPRISE_PAYGO", "CA_STANDARD" ] commonInstanceMetadata: Metadata creationTimestamp: str - defaultNetworkTier: typing_extensions.Literal[ + defaultNetworkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -7527,52 +7434,50 @@ class Project(typing_extensions.TypedDict, total=False): enabledFeatures: _list[str] id: str kind: str - managedProtectionTier: typing_extensions.Literal[ + managedProtectionTier: typing.Literal[ "CAMP_PLUS_ANNUAL", "CAMP_PLUS_PAYGO", "CA_STANDARD" ] name: str quotas: _list[Quota] selfLink: str usageExportLocation: UsageExportLocation - vmDnsSetting: typing_extensions.Literal[ + vmDnsSetting: typing.Literal[ "GLOBAL_DEFAULT", "UNSPECIFIED_VM_DNS_SETTING", "ZONAL_DEFAULT", "ZONAL_ONLY" ] - xpnProjectStatus: typing_extensions.Literal[ - "HOST", "UNSPECIFIED_XPN_PROJECT_STATUS" - ] + xpnProjectStatus: typing.Literal["HOST", "UNSPECIFIED_XPN_PROJECT_STATUS"] @typing.type_check_only -class ProjectView(typing_extensions.TypedDict, total=False): +class ProjectView(typing.TypedDict, total=False): project: Project @typing.type_check_only -class ProjectsDisableXpnResourceRequest(typing_extensions.TypedDict, total=False): +class ProjectsDisableXpnResourceRequest(typing.TypedDict, total=False): xpnResource: XpnResourceId @typing.type_check_only -class ProjectsEnableXpnResourceRequest(typing_extensions.TypedDict, total=False): +class ProjectsEnableXpnResourceRequest(typing.TypedDict, total=False): xpnResource: XpnResourceId @typing.type_check_only -class ProjectsGetXpnResources(typing_extensions.TypedDict, total=False): +class ProjectsGetXpnResources(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[XpnResourceId] @typing.type_check_only -class ProjectsListXpnHostsRequest(typing_extensions.TypedDict, total=False): +class ProjectsListXpnHostsRequest(typing.TypedDict, total=False): organization: str returnPartialPage: bool @typing.type_check_only -class ProjectsSetCloudArmorTierRequest(typing_extensions.TypedDict, total=False): - cloudArmorTier: typing_extensions.Literal[ +class ProjectsSetCloudArmorTierRequest(typing.TypedDict, total=False): + cloudArmorTier: typing.Literal[ "CA_ENTERPRISE_ANNUAL", "CA_ENTERPRISE_PAYGO", "CA_STANDARD" ] @typing.type_check_only -class ProjectsSetDefaultNetworkTierRequest(typing_extensions.TypedDict, total=False): - networkTier: typing_extensions.Literal[ +class ProjectsSetDefaultNetworkTierRequest(typing.TypedDict, total=False): + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -7581,40 +7486,40 @@ class ProjectsSetDefaultNetworkTierRequest(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class ProjectsSetDefaultServiceAccountRequest(typing_extensions.TypedDict, total=False): +class ProjectsSetDefaultServiceAccountRequest(typing.TypedDict, total=False): email: str @typing.type_check_only -class ProjectsSetManagedProtectionTierRequest(typing_extensions.TypedDict, total=False): - managedProtectionTier: typing_extensions.Literal[ +class ProjectsSetManagedProtectionTierRequest(typing.TypedDict, total=False): + managedProtectionTier: typing.Literal[ "CAMP_PLUS_ANNUAL", "CAMP_PLUS_PAYGO", "CA_STANDARD" ] @typing.type_check_only -class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): - byoipApiVersion: typing_extensions.Literal["V1", "V2"] +class PublicAdvertisedPrefix(typing.TypedDict, total=False): + byoipApiVersion: typing.Literal["V1", "V2"] creationTimestamp: str description: str dnsVerificationIp: str fingerprint: str id: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] kind: str name: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD", ] - pdpScope: typing_extensions.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] + pdpScope: typing.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] publicDelegatedPrefixs: _list[PublicAdvertisedPrefixPublicDelegatedPrefix] selfLink: str selfLinkWithId: str sharedSecret: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ANNOUNCED_TO_INTERNET", "INITIAL", "PREFIX_CONFIGURATION_COMPLETE", @@ -7627,7 +7532,7 @@ class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PublicAdvertisedPrefixList(typing_extensions.TypedDict, total=False): +class PublicAdvertisedPrefixList(typing.TypedDict, total=False): id: str items: _list[PublicAdvertisedPrefix] kind: str @@ -7636,9 +7541,7 @@ class PublicAdvertisedPrefixList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PublicAdvertisedPrefixPublicDelegatedPrefix( - typing_extensions.TypedDict, total=False -): +class PublicAdvertisedPrefixPublicDelegatedPrefix(typing.TypedDict, total=False): ipRange: str name: str project: str @@ -7646,26 +7549,26 @@ class PublicAdvertisedPrefixPublicDelegatedPrefix( status: str @typing.type_check_only -class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefix(typing.TypedDict, total=False): allocatablePrefixLength: int - byoipApiVersion: typing_extensions.Literal["V1", "V2"] + byoipApiVersion: typing.Literal["V1", "V2"] creationTimestamp: str description: str enableEnhancedIpv4Allocation: bool fingerprint: str id: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] isLiveMigration: bool kind: str - mode: typing_extensions.Literal[ + mode: typing.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -7674,7 +7577,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): ] parentPrefix: str publicDelegatedSubPrefixs: _list[PublicDelegatedPrefixPublicDelegatedSubPrefix] - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "APPLICATION_AND_PROXY_LOAD_BALANCERS", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", @@ -7682,7 +7585,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "ANNOUNCED", "ANNOUNCED_TO_GOOGLE", @@ -7693,7 +7596,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PublicDelegatedPrefixAggregatedList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7703,7 +7606,7 @@ class PublicDelegatedPrefixAggregatedList(typing_extensions.TypedDict, total=Fal warning: dict[str, typing.Any] @typing.type_check_only -class PublicDelegatedPrefixList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixList(typing.TypedDict, total=False): id: str items: _list[PublicDelegatedPrefix] kind: str @@ -7712,38 +7615,36 @@ class PublicDelegatedPrefixList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PublicDelegatedPrefixPublicDelegatedSubPrefix( - typing_extensions.TypedDict, total=False -): +class PublicDelegatedPrefixPublicDelegatedSubPrefix(typing.TypedDict, total=False): allocatablePrefixLength: int delegateeProject: str description: str enableEnhancedIpv4Allocation: bool ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] isAddress: bool - mode: typing_extensions.Literal[ + mode: typing.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "APPLICATION_AND_PROXY_LOAD_BALANCERS", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", ] region: str - status: typing_extensions.Literal["ACTIVE", "INACTIVE"] + status: typing.Literal["ACTIVE", "INACTIVE"] @typing.type_check_only -class PublicDelegatedPrefixesScopedList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixesScopedList(typing.TypedDict, total=False): publicDelegatedPrefixes: _list[PublicDelegatedPrefix] warning: dict[str, typing.Any] @typing.type_check_only -class QueuedResource(typing_extensions.TypedDict, total=False): +class QueuedResource(typing.TypedDict, total=False): bulkInsertInstanceResource: BulkInsertInstanceResource creationTimestamp: str description: str @@ -7753,7 +7654,7 @@ class QueuedResource(typing_extensions.TypedDict, total=False): queuingPolicy: QueuingPolicy selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACCEPTED", "CANCELLED", "CREATING", @@ -7767,7 +7668,7 @@ class QueuedResource(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class QueuedResourceList(typing_extensions.TypedDict, total=False): +class QueuedResourceList(typing.TypedDict, total=False): id: str items: _list[QueuedResource] kind: str @@ -7777,17 +7678,17 @@ class QueuedResourceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class QueuedResourceStatus(typing_extensions.TypedDict, total=False): +class QueuedResourceStatus(typing.TypedDict, total=False): failedData: QueuedResourceStatusFailedData provisioningOperations: _list[str] queuingPolicy: QueuingPolicy @typing.type_check_only -class QueuedResourceStatusFailedData(typing_extensions.TypedDict, total=False): +class QueuedResourceStatusFailedData(typing.TypedDict, total=False): error: dict[str, typing.Any] @typing.type_check_only -class QueuedResourcesAggregatedList(typing_extensions.TypedDict, total=False): +class QueuedResourcesAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7797,19 +7698,19 @@ class QueuedResourcesAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class QueuedResourcesScopedList(typing_extensions.TypedDict, total=False): +class QueuedResourcesScopedList(typing.TypedDict, total=False): queuedResources: _list[QueuedResource] warning: dict[str, typing.Any] @typing.type_check_only -class QueuingPolicy(typing_extensions.TypedDict, total=False): +class QueuingPolicy(typing.TypedDict, total=False): validUntilDuration: Duration validUntilTime: str @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limit: float - metric: typing_extensions.Literal[ + metric: typing.Literal[ "A2_CPUS", "AFFINITY_GROUPS", "AMD_S9300_GPUS", @@ -7987,24 +7888,22 @@ class Quota(typing_extensions.TypedDict, total=False): usage: float @typing.type_check_only -class QuotaExceededInfo(typing_extensions.TypedDict, total=False): +class QuotaExceededInfo(typing.TypedDict, total=False): dimensions: dict[str, typing.Any] futureLimit: float limit: float limitName: str metricName: str - rolloutStatus: typing_extensions.Literal[ - "IN_PROGRESS", "ROLLOUT_STATUS_UNSPECIFIED" - ] + rolloutStatus: typing.Literal["IN_PROGRESS", "ROLLOUT_STATUS_UNSPECIFIED"] @typing.type_check_only -class RbacPolicy(typing_extensions.TypedDict, total=False): +class RbacPolicy(typing.TypedDict, total=False): name: str permissions: _list[Permission] principals: _list[Principal] @typing.type_check_only -class RecoverableSnapshot(typing_extensions.TypedDict, total=False): +class RecoverableSnapshot(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -8016,12 +7915,12 @@ class RecoverableSnapshot(typing_extensions.TypedDict, total=False): satisfiesPzs: bool selfLink: str selfLinkWithId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "READY", "RECOVERING", "UNKNOWN" ] @typing.type_check_only -class RecoverableSnapshotAggregatedList(typing_extensions.TypedDict, total=False): +class RecoverableSnapshotAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -8032,7 +7931,7 @@ class RecoverableSnapshotAggregatedList(typing_extensions.TypedDict, total=False warning: dict[str, typing.Any] @typing.type_check_only -class RecoverableSnapshotList(typing_extensions.TypedDict, total=False): +class RecoverableSnapshotList(typing.TypedDict, total=False): etag: str id: str items: _list[RecoverableSnapshot] @@ -8043,10 +7942,8 @@ class RecoverableSnapshotList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RecoverableSnapshotOriginalSnapshot(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class RecoverableSnapshotOriginalSnapshot(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] autoCreated: bool chainName: str creationSizeBytes: str @@ -8072,7 +7969,7 @@ class RecoverableSnapshotOriginalSnapshot(typing_extensions.TypedDict, total=Fal snapshotEncryptionKey: CustomerEncryptionKey snapshotGroupId: str snapshotGroupName: str - snapshotType: typing_extensions.Literal["ARCHIVE", "STANDARD"] + snapshotType: typing.Literal["ARCHIVE", "STANDARD"] sourceDisk: str sourceDiskEncryptionKey: CustomerEncryptionKey sourceDiskForRecoveryCheckpoint: str @@ -8083,28 +7980,28 @@ class RecoverableSnapshotOriginalSnapshot(typing_extensions.TypedDict, total=Fal sourceSnapshotSchedulePolicy: str sourceSnapshotSchedulePolicyId: str storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] storageLocations: _list[str] @typing.type_check_only -class RecoverableSnapshotsScopedList(typing_extensions.TypedDict, total=False): +class RecoverableSnapshotsScopedList(typing.TypedDict, total=False): recoverablesnapshots: _list[RecoverableSnapshot] warning: dict[str, typing.Any] @typing.type_check_only -class Reference(typing_extensions.TypedDict, total=False): +class Reference(typing.TypedDict, total=False): kind: str referenceType: str referrer: str target: str @typing.type_check_only -class RegexRewrite(typing_extensions.TypedDict, total=False): +class RegexRewrite(typing.TypedDict, total=False): pathPattern: str pathSubstitution: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -8115,17 +8012,22 @@ class Region(typing_extensions.TypedDict, total=False): quotas: _list[Quota] selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["DOWN", "UP"] + status: typing.Literal["DOWN", "UP"] supportsPzs: bool zones: _list[str] @typing.type_check_only -class RegionAddressesMoveRequest(typing_extensions.TypedDict, total=False): +class RegionAddressesMoveRequest(typing.TypedDict, total=False): description: str destinationAddress: str @typing.type_check_only -class RegionAutoscalerList(typing_extensions.TypedDict, total=False): +class RegionAddressesUpdatePublicPtrRequest(typing.TypedDict, total=False): + ptrDomainName: str + ptrDomainNameTtl: int + +@typing.type_check_only +class RegionAutoscalerList(typing.TypedDict, total=False): id: str items: _list[Autoscaler] kind: str @@ -8134,13 +8036,11 @@ class RegionAutoscalerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionCommitmentsUpdateReservationsRequest( - typing_extensions.TypedDict, total=False -): +class RegionCommitmentsUpdateReservationsRequest(typing.TypedDict, total=False): reservations: _list[Reservation] @typing.type_check_only -class RegionDiskTypeList(typing_extensions.TypedDict, total=False): +class RegionDiskTypeList(typing.TypedDict, total=False): id: str items: _list[DiskType] kind: str @@ -8149,29 +8049,27 @@ class RegionDiskTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionDiskUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class RegionDiskUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class RegionDisksAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class RegionDisksAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class RegionDisksRemoveResourcePoliciesRequest( - typing_extensions.TypedDict, total=False -): +class RegionDisksRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class RegionDisksResizeRequest(typing_extensions.TypedDict, total=False): +class RegionDisksResizeRequest(typing.TypedDict, total=False): sizeGb: str @typing.type_check_only -class RegionDisksStartAsyncReplicationRequest(typing_extensions.TypedDict, total=False): +class RegionDisksStartAsyncReplicationRequest(typing.TypedDict, total=False): asyncSecondaryDisk: str @typing.type_check_only -class RegionInstanceGroupList(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupList(typing.TypedDict, total=False): id: str items: _list[InstanceGroup] kind: str @@ -8180,13 +8078,11 @@ class RegionInstanceGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerDeleteInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerDeleteInstanceConfigReq(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class RegionInstanceGroupManagerList(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupManagerList(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManager] kind: str @@ -8195,14 +8091,12 @@ class RegionInstanceGroupManagerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerPatchInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerPatchInstanceConfigReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only class RegionInstanceGroupManagerResizeRequestsListResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str id: str @@ -8214,141 +8108,103 @@ class RegionInstanceGroupManagerResizeRequestsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerUpdateInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerUpdateInstanceConfigReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersAbandonInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersAbandonInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersAdoptInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersAdoptInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersApplyUpdatesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersApplyUpdatesRequest(typing.TypedDict, total=False): allInstances: bool allowedActions: _list[ - typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" - ] + typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE"] ] - disruptionMode: typing_extensions.Literal["LEGACY", "OPTIMIZED"] + disruptionMode: typing.Literal["LEGACY", "OPTIMIZED"] instances: _list[str] - maximalAction: typing_extensions.Literal[ + maximalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - minimalAction: typing_extensions.Literal[ + minimalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] @typing.type_check_only -class RegionInstanceGroupManagersCreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersCreateInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersDeleteInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersDeleteInstancesRequest(typing.TypedDict, total=False): instances: _list[str] skipInstancesOnValidationError: bool @typing.type_check_only -class RegionInstanceGroupManagersListErrorsResponse( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListErrorsResponse(typing.TypedDict, total=False): items: _list[InstanceManagedByIgmError] nextPageToken: str @typing.type_check_only -class RegionInstanceGroupManagersListInstanceConfigsResp( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListInstanceConfigsResp(typing.TypedDict, total=False): items: _list[PerInstanceConfig] nextPageToken: str warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagersListInstancesResponse( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListInstancesResponse(typing.TypedDict, total=False): managedInstances: _list[ManagedInstance] nextPageToken: str @typing.type_check_only -class RegionInstanceGroupManagersRecreateRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersRecreateRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersResizeAdvancedRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersResizeAdvancedRequest(typing.TypedDict, total=False): noCreationRetries: bool scaleInProtection: bool targetSize: int @typing.type_check_only -class RegionInstanceGroupManagersResumeInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersResumeInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSetAutoHealingRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetAutoHealingRequest(typing.TypedDict, total=False): autoHealingPolicies: _list[InstanceGroupManagerAutoHealingPolicy] @typing.type_check_only -class RegionInstanceGroupManagersSetTargetPoolsRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetTargetPoolsRequest(typing.TypedDict, total=False): fingerprint: str targetPools: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSetTemplateRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetTemplateRequest(typing.TypedDict, total=False): instanceTemplate: str @typing.type_check_only -class RegionInstanceGroupManagersStartInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersStartInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersStopInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersStopInstancesRequest(typing.TypedDict, total=False): forceStop: bool instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSuspendInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSuspendInstancesRequest(typing.TypedDict, total=False): forceSuspend: bool instances: _list[str] @typing.type_check_only -class RegionInstanceGroupsListInstances(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupsListInstances(typing.TypedDict, total=False): id: str items: _list[InstanceWithNamedPorts] kind: str @@ -8357,21 +8213,17 @@ class RegionInstanceGroupsListInstances(typing_extensions.TypedDict, total=False warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupsListInstancesRequest( - typing_extensions.TypedDict, total=False -): - instanceState: typing_extensions.Literal["ALL", "RUNNING"] +class RegionInstanceGroupsListInstancesRequest(typing.TypedDict, total=False): + instanceState: typing.Literal["ALL", "RUNNING"] portName: str @typing.type_check_only -class RegionInstanceGroupsSetNamedPortsRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupsSetNamedPortsRequest(typing.TypedDict, total=False): fingerprint: str namedPorts: _list[NamedPort] @typing.type_check_only -class RegionList(typing_extensions.TypedDict, total=False): +class RegionList(typing.TypedDict, total=False): id: str items: _list[Region] kind: str @@ -8380,20 +8232,16 @@ class RegionList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionNetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class RegionNetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class RegionNetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class RegionNetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firewallPolicys: _list[ RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy @@ -8402,14 +8250,14 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( @typing.type_check_only class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str packetMirroringRules: _list[FirewallPolicyRule] priority: int rules: _list[FirewallPolicyRule] - type: typing_extensions.Literal[ + type: typing.Literal[ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", @@ -8419,36 +8267,34 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal ] @typing.type_check_only -class RegionSetLabelsRequest(typing_extensions.TypedDict, total=False): +class RegionSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class RegionSetPolicyRequest(typing_extensions.TypedDict, total=False): +class RegionSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class RegionSnapshotUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class RegionSnapshotUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class RegionTargetHttpsProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class RegionTargetHttpsProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): +class RegionUrlMapsValidateRequest(typing.TypedDict, total=False): resource: UrlMap @typing.type_check_only -class RegionWaitForReplicationCatchUpRequest(typing_extensions.TypedDict, total=False): +class RegionWaitForReplicationCatchUpRequest(typing.TypedDict, total=False): maxWaitDuration: str @typing.type_check_only -class ReliabilityRisk(typing_extensions.TypedDict, total=False): +class ReliabilityRisk(typing.TypedDict, total=False): creationTimestamp: str description: str details: RiskDetails @@ -8460,7 +8306,7 @@ class ReliabilityRisk(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class ReliabilityRisksListResponse(typing_extensions.TypedDict, total=False): +class ReliabilityRisksListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[ReliabilityRisk] @@ -8470,55 +8316,51 @@ class ReliabilityRisksListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReplicationDetails(typing_extensions.TypedDict, total=False): +class ReplicationDetails(typing.TypedDict, total=False): lastReplicationTime: str secondsSinceLastReplication: str @typing.type_check_only -class ReplicationDiskPair(typing_extensions.TypedDict, total=False): +class ReplicationDiskPair(typing.TypedDict, total=False): primaryDisk: str secondaryDisk: str @typing.type_check_only -class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): +class RequestMirrorPolicy(typing.TypedDict, total=False): backendService: str mirrorPercent: float @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation commitment: str - confidentialComputeType: typing_extensions.Literal[ + confidentialComputeType: typing.Literal[ "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" ] creationTimestamp: str deleteAfterDuration: Duration deleteAtTime: str - deploymentType: typing_extensions.Literal[ - "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" - ] + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE"] description: str - earlyAccessMaintenance: typing_extensions.Literal[ - "NO_EARLY_ACCESS", "WAVE1", "WAVE2" - ] + earlyAccessMaintenance: typing.Literal["NO_EARLY_ACCESS", "WAVE1", "WAVE2"] enableEmergentMaintenance: bool id: str kind: str linkedCommitments: _list[str] name: str params: ReservationParams - protectionTier: typing_extensions.Literal[ + protectionTier: typing.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] - reservationMode: typing_extensions.Literal[ + reservationMode: typing.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] reservationSharingPolicy: AllocationReservationSharingPolicy resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus satisfiesPzs: bool - schedulingType: typing_extensions.Literal[ + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] selfLink: str @@ -8526,22 +8368,20 @@ class Reservation(typing_extensions.TypedDict, total=False): shareSettings: ShareSettings specificReservation: AllocationSpecificSKUReservation specificReservationRequired: bool - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "UPDATING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "UPDATING"] zone: str @typing.type_check_only -class ReservationAdvancedDeploymentControl(typing_extensions.TypedDict, total=False): - reservationOperationalMode: typing_extensions.Literal[ +class ReservationAdvancedDeploymentControl(typing.TypedDict, total=False): + reservationOperationalMode: typing.Literal[ "ALL_CAPACITY", "HIGHLY_AVAILABLE_CAPACITY", "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED", ] @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "ANY_RESERVATION", "ANY_RESERVATION_THEN_FAIL", "NO_RESERVATION", @@ -8554,7 +8394,7 @@ class ReservationAffinity(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ReservationAggregatedList(typing_extensions.TypedDict, total=False): +class ReservationAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8564,7 +8404,7 @@ class ReservationAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationBlock(typing_extensions.TypedDict, total=False): +class ReservationBlock(typing.TypedDict, total=False): count: int creationTimestamp: str healthInfo: ReservationBlockHealthInfo @@ -8580,44 +8420,40 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): reservationSubBlockInUseCount: int selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class ReservationBlockHealthInfo(typing_extensions.TypedDict, total=False): +class ReservationBlockHealthInfo(typing.TypedDict, total=False): degradedSubBlockCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthySubBlockCount: int @typing.type_check_only -class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationBlockPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str instances: _list[ReservationBlockPhysicalTopologyInstance] @typing.type_check_only -class ReservationBlockPhysicalTopologyInstance( - typing_extensions.TypedDict, total=False -): +class ReservationBlockPhysicalTopologyInstance(typing.TypedDict, total=False): instanceId: str physicalHostTopology: ReservationBlockPhysicalTopologyInstancePhysicalHostTopology projectId: str @typing.type_check_only class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str subBlock: str @typing.type_check_only -class ReservationBlocksGetResponse(typing_extensions.TypedDict, total=False): +class ReservationBlocksGetResponse(typing.TypedDict, total=False): resource: ReservationBlock @typing.type_check_only -class ReservationBlocksListResponse(typing_extensions.TypedDict, total=False): +class ReservationBlocksListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationBlock] kind: str @@ -8626,7 +8462,26 @@ class ReservationBlocksListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationList(typing_extensions.TypedDict, total=False): +class ReservationConsumedInstance(typing.TypedDict, total=False): + instance: str + service: str + status: ReservationConsumedInstanceStatus + +@typing.type_check_only +class ReservationConsumedInstanceStatus(typing.TypedDict, total=False): + linkageErrors: dict[str, typing.Any] + +@typing.type_check_only +class ReservationConsumedInstancesListResponse(typing.TypedDict, total=False): + id: str + items: _list[ReservationConsumedInstance] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class ReservationList(typing.TypedDict, total=False): id: str items: _list[Reservation] kind: str @@ -8635,11 +8490,11 @@ class ReservationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationParams(typing_extensions.TypedDict, total=False): +class ReservationParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class ReservationSlot(typing_extensions.TypedDict, total=False): +class ReservationSlot(typing.TypedDict, total=False): creationTimestamp: str id: str kind: str @@ -8648,33 +8503,33 @@ class ReservationSlot(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shareSettings: ShareSettings - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" ] status: ReservationSlotStatus zone: str @typing.type_check_only -class ReservationSlotPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationSlotPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str host: str subBlock: str @typing.type_check_only -class ReservationSlotStatus(typing_extensions.TypedDict, total=False): +class ReservationSlotStatus(typing.TypedDict, total=False): physicalTopology: ReservationSlotPhysicalTopology rdmaIpAddresses: _list[str] runningInstances: _list[str] @typing.type_check_only -class ReservationSlotsGetResponse(typing_extensions.TypedDict, total=False): +class ReservationSlotsGetResponse(typing.TypedDict, total=False): resource: ReservationSlot @typing.type_check_only -class ReservationSlotsGetVersionRequest(typing_extensions.TypedDict, total=False): +class ReservationSlotsGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -8682,7 +8537,7 @@ class ReservationSlotsGetVersionRequest(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): +class ReservationSlotsListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationSlot] kind: str @@ -8691,7 +8546,7 @@ class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationSubBlock(typing_extensions.TypedDict, total=False): +class ReservationSubBlock(typing.TypedDict, total=False): acceleratorTopologiesInfo: AcceleratorTopologiesInfo count: int creationTimestamp: str @@ -8706,35 +8561,31 @@ class ReservationSubBlock(typing_extensions.TypedDict, total=False): retentionPriority: int selfLink: str selfLinkWithId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "UPDATING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "UPDATING"] zone: str @typing.type_check_only -class ReservationSubBlockHealthInfo(typing_extensions.TypedDict, total=False): +class ReservationSubBlockHealthInfo(typing.TypedDict, total=False): degradedHostCount: int degradedInfraCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthyHostCount: int healthyInfraCount: int @typing.type_check_only -class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationSubBlockPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str subBlock: str @typing.type_check_only -class ReservationSubBlocksGetResponse(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksGetResponse(typing.TypedDict, total=False): resource: ReservationSubBlock @typing.type_check_only -class ReservationSubBlocksGetVersionRequest(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -8742,7 +8593,7 @@ class ReservationSubBlocksGetVersionRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationSubBlock] kind: str @@ -8751,20 +8602,16 @@ class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False) warning: dict[str, typing.Any] @typing.type_check_only -class ReservationSubBlocksReportFaultyRequest(typing_extensions.TypedDict, total=False): - disruptionSchedule: typing_extensions.Literal[ - "DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE" - ] - failureComponent: typing_extensions.Literal[ +class ReservationSubBlocksReportFaultyRequest(typing.TypedDict, total=False): + disruptionSchedule: typing.Literal["DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE"] + failureComponent: typing.Literal[ "FAILURE_COMPONENT_UNSPECIFIED", "MULTIPLE_FAULTY_HOSTS", "NVLINK_SWITCH" ] faultReasons: _list[ReservationSubBlocksReportFaultyRequestFaultReason] @typing.type_check_only -class ReservationSubBlocksReportFaultyRequestFaultReason( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal[ +class ReservationSubBlocksReportFaultyRequestFaultReason(typing.TypedDict, total=False): + behavior: typing.Literal[ "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "NVSWITCH_FAULT_CONTROLLER_ERROR", @@ -8777,47 +8624,43 @@ class ReservationSubBlocksReportFaultyRequestFaultReason( description: str @typing.type_check_only -class ReservationsBlocksPerformMaintenanceRequest( - typing_extensions.TypedDict, total=False -): - maintenanceScope: typing_extensions.Literal[ +class ReservationsBlocksPerformMaintenanceRequest(typing.TypedDict, total=False): + maintenanceScope: typing.Literal[ "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" ] @typing.type_check_only -class ReservationsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): - maintenanceScope: typing_extensions.Literal[ +class ReservationsPerformMaintenanceRequest(typing.TypedDict, total=False): + maintenanceScope: typing.Literal[ "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" ] @typing.type_check_only -class ReservationsResizeRequest(typing_extensions.TypedDict, total=False): +class ReservationsResizeRequest(typing.TypedDict, total=False): specificSkuCount: str @typing.type_check_only -class ReservationsScopedList(typing_extensions.TypedDict, total=False): +class ReservationsScopedList(typing.TypedDict, total=False): reservations: _list[Reservation] warning: dict[str, typing.Any] @typing.type_check_only -class ResourceCommitment(typing_extensions.TypedDict, total=False): +class ResourceCommitment(typing.TypedDict, total=False): acceleratorType: str amount: str - type: typing_extensions.Literal[ - "ACCELERATOR", "LOCAL_SSD", "MEMORY", "UNSPECIFIED", "VCPU" - ] + type: typing.Literal["ACCELERATOR", "LOCAL_SSD", "MEMORY", "UNSPECIFIED", "VCPU"] @typing.type_check_only -class ResourceGroupReference(typing_extensions.TypedDict, total=False): +class ResourceGroupReference(typing.TypedDict, total=False): group: str @typing.type_check_only -class ResourcePoliciesScopedList(typing_extensions.TypedDict, total=False): +class ResourcePoliciesScopedList(typing.TypedDict, total=False): resourcePolicies: _list[ResourcePolicy] warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicy(typing.TypedDict, total=False): creationTimestamp: str description: str diskConsistencyGroupPolicy: ResourcePolicyDiskConsistencyGroupPolicy @@ -8831,14 +8674,12 @@ class ResourcePolicy(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str snapshotSchedulePolicy: ResourcePolicySnapshotSchedulePolicy - status: typing_extensions.Literal[ - "CREATING", "DELETING", "EXPIRED", "INVALID", "READY" - ] + status: typing.Literal["CREATING", "DELETING", "EXPIRED", "INVALID", "READY"] vmMaintenancePolicy: ResourcePolicyVmMaintenancePolicy workloadPolicy: ResourcePolicyWorkloadPolicy @typing.type_check_only -class ResourcePolicyAggregatedList(typing_extensions.TypedDict, total=False): +class ResourcePolicyAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -8849,38 +8690,36 @@ class ResourcePolicyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicyDailyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyDailyCycle(typing.TypedDict, total=False): daysInCycle: int duration: str startTime: str @typing.type_check_only -class ResourcePolicyDiskConsistencyGroupPolicy( - typing_extensions.TypedDict, total=False -): ... +class ResourcePolicyDiskConsistencyGroupPolicy(typing.TypedDict, total=False): ... @typing.type_check_only -class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): - acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] +class ResourcePolicyGroupPlacementPolicy(typing.TypedDict, total=False): + acceleratorTopologyMode: typing.Literal["AUTO_CONNECT", "PROVISION_ONLY"] availabilityDomainCount: int - collocation: typing_extensions.Literal[ + collocation: typing.Literal[ "CLUSTERED", "COLLOCATED", "MAX_SPREAD", "UNSPECIFIED_COLLOCATION" ] gpuTopology: str maxDistance: int - scope: typing_extensions.Literal["HOST", "UNSPECIFIED_SCOPE"] + scope: typing.Literal["HOST", "UNSPECIFIED_SCOPE"] sliceCount: int tpuTopology: str vmCount: int @typing.type_check_only -class ResourcePolicyHourlyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyHourlyCycle(typing.TypedDict, total=False): duration: str hoursInCycle: int startTime: str @typing.type_check_only -class ResourcePolicyInstanceSchedulePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicyInstanceSchedulePolicy(typing.TypedDict, total=False): expirationTime: str startTime: str timeZone: str @@ -8888,13 +8727,11 @@ class ResourcePolicyInstanceSchedulePolicy(typing_extensions.TypedDict, total=Fa vmStopSchedule: ResourcePolicyInstanceSchedulePolicySchedule @typing.type_check_only -class ResourcePolicyInstanceSchedulePolicySchedule( - typing_extensions.TypedDict, total=False -): +class ResourcePolicyInstanceSchedulePolicySchedule(typing.TypedDict, total=False): schedule: str @typing.type_check_only -class ResourcePolicyList(typing_extensions.TypedDict, total=False): +class ResourcePolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[ResourcePolicy] @@ -8904,49 +8741,47 @@ class ResourcePolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicyResourceStatus(typing_extensions.TypedDict, total=False): +class ResourcePolicyResourceStatus(typing.TypedDict, total=False): instanceSchedulePolicy: ResourcePolicyResourceStatusInstanceSchedulePolicyStatus @typing.type_check_only class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lastRunStartTime: str nextRunStartTime: str @typing.type_check_only -class ResourcePolicySnapshotSchedulePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicySnapshotSchedulePolicy(typing.TypedDict, total=False): retentionPolicy: ResourcePolicySnapshotSchedulePolicyRetentionPolicy schedule: ResourcePolicySnapshotSchedulePolicySchedule snapshotProperties: ResourcePolicySnapshotSchedulePolicySnapshotProperties @typing.type_check_only class ResourcePolicySnapshotSchedulePolicyRetentionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxRetentionDays: int - onPolicySwitch: typing_extensions.Literal[ + onPolicySwitch: typing.Literal[ "DO_NOT_RETROACTIVELY_APPLY", "RETROACTIVELY_APPLY", "UNSPECIFIED_ON_POLICY_SWITCH", ] - onSourceDiskDelete: typing_extensions.Literal[ + onSourceDiskDelete: typing.Literal[ "APPLY_RETENTION_POLICY", "KEEP_AUTO_SNAPSHOTS", "UNSPECIFIED_ON_SOURCE_DISK_DELETE", ] @typing.type_check_only -class ResourcePolicySnapshotSchedulePolicySchedule( - typing_extensions.TypedDict, total=False -): +class ResourcePolicySnapshotSchedulePolicySchedule(typing.TypedDict, total=False): dailySchedule: ResourcePolicyDailyCycle hourlySchedule: ResourcePolicyHourlyCycle weeklySchedule: ResourcePolicyWeeklyCycle @typing.type_check_only class ResourcePolicySnapshotSchedulePolicySnapshotProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chainName: str guestFlush: bool @@ -8955,29 +8790,27 @@ class ResourcePolicySnapshotSchedulePolicySnapshotProperties( storageLocations: _list[str] @typing.type_check_only -class ResourcePolicyVmMaintenancePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicyVmMaintenancePolicy(typing.TypedDict, total=False): concurrencyControlGroup: ResourcePolicyVmMaintenancePolicyConcurrencyControl maintenanceWindow: ResourcePolicyVmMaintenancePolicyMaintenanceWindow @typing.type_check_only class ResourcePolicyVmMaintenancePolicyConcurrencyControl( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): concurrencyLimit: int @typing.type_check_only -class ResourcePolicyVmMaintenancePolicyMaintenanceWindow( - typing_extensions.TypedDict, total=False -): +class ResourcePolicyVmMaintenancePolicyMaintenanceWindow(typing.TypedDict, total=False): dailyMaintenanceWindow: ResourcePolicyDailyCycle @typing.type_check_only -class ResourcePolicyWeeklyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyWeeklyCycle(typing.TypedDict, total=False): dayOfWeeks: _list[ResourcePolicyWeeklyCycleDayOfWeek] @typing.type_check_only -class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ResourcePolicyWeeklyCycleDayOfWeek(typing.TypedDict, total=False): + day: typing.Literal[ "FRIDAY", "INVALID", "MONDAY", @@ -8991,14 +8824,14 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals startTime: str @typing.type_check_only -class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicyWorkloadPolicy(typing.TypedDict, total=False): acceleratorTopology: str - acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] - maxTopologyDistance: typing_extensions.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] - type: typing_extensions.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] + acceleratorTopologyMode: typing.Literal["AUTO_CONNECT", "PROVISION_ONLY"] + maxTopologyDistance: typing.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] + type: typing.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] @typing.type_check_only -class ResourceStatus(typing_extensions.TypedDict, total=False): +class ResourceStatus(typing.TypedDict, total=False): acceleratorStatus: _list[ResourceStatusAcceleratorStatus] consumedReservation: str consumedReservationBlock: str @@ -9013,31 +8846,27 @@ class ResourceStatus(typing_extensions.TypedDict, total=False): upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class ResourceStatusAcceleratorStatus(typing_extensions.TypedDict, total=False): +class ResourceStatusAcceleratorStatus(typing.TypedDict, total=False): passedScans: _list[ResourceStatusAcceleratorStatusPassedScan] recommendedScans: _list[ResourceStatusAcceleratorStatusRecommendedScan] serialNumber: str uuid: str @typing.type_check_only -class ResourceStatusAcceleratorStatusPassedScan( - typing_extensions.TypedDict, total=False -): +class ResourceStatusAcceleratorStatusPassedScan(typing.TypedDict, total=False): endTime: str name: str startTime: str version: str @typing.type_check_only -class ResourceStatusAcceleratorStatusRecommendedScan( - typing_extensions.TypedDict, total=False -): +class ResourceStatusAcceleratorStatusRecommendedScan(typing.TypedDict, total=False): estimatedDuration: Duration name: str version: str @typing.type_check_only -class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total=False): +class ResourceStatusEffectiveInstanceMetadata(typing.TypedDict, total=False): blockProjectSshKeysMetadataValue: bool enableGuestAttributesMetadataValue: bool enableOsInventoryMetadataValue: bool @@ -9049,10 +8878,8 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total vmDnsSettingMetadataValue: str @typing.type_check_only -class ResourceStatusLastInstanceTerminationDetails( - typing_extensions.TypedDict, total=False -): - terminationReason: typing_extensions.Literal[ +class ResourceStatusLastInstanceTerminationDetails(typing.TypedDict, total=False): + terminationReason: typing.Literal[ "BAD_BILLING_ACCOUNT", "CLOUD_ABUSE_DETECTED", "DISK_ERROR", @@ -9071,7 +8898,7 @@ class ResourceStatusLastInstanceTerminationDetails( ] @typing.type_check_only -class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=False): +class ResourceStatusPhysicalHostTopology(typing.TypedDict, total=False): additionalAttributes: ResourceStatusPhysicalHostTopologyAdditionalAttributes block: str cluster: str @@ -9080,67 +8907,67 @@ class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ResourceStatusPhysicalHostTopologyAdditionalAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopologyIds: dict[str, typing.Any] + networkTopologyIds: dict[str, typing.Any] @typing.type_check_only -class ResourceStatusReservationConsumptionInfo( - typing_extensions.TypedDict, total=False -): +class ResourceStatusReservationConsumptionInfo(typing.TypedDict, total=False): consumedReservation: str consumedReservationBlock: str consumedReservationSubBlock: str @typing.type_check_only -class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): +class ResourceStatusScheduling(typing.TypedDict, total=False): availabilityDomain: int + gracefulShutdownTimestamp: str terminationTimestamp: str @typing.type_check_only -class ResourceStatusServiceIntegrationStatus(typing_extensions.TypedDict, total=False): +class ResourceStatusServiceIntegrationStatus(typing.TypedDict, total=False): backupDr: ResourceStatusServiceIntegrationStatusBackupDRStatus @typing.type_check_only class ResourceStatusServiceIntegrationStatusBackupDRStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationDetails: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CREATING", "DELETING", "FAILED", "STATE_UNSPECIFIED" ] @typing.type_check_only -class ResourceStatusShutdownDetails(typing_extensions.TypedDict, total=False): +class ResourceStatusShutdownDetails(typing.TypedDict, total=False): maxDuration: Duration requestTimestamp: str - stopState: typing_extensions.Literal["PENDING_STOP", "STOPPING"] - targetState: typing_extensions.Literal["DELETED", "STOPPED"] + stopState: typing.Literal["PENDING_STOP", "STOPPING"] + targetState: typing.Literal["DELETED", "STOPPED"] @typing.type_check_only -class RiskDetails(typing_extensions.TypedDict, total=False): +class RiskDetails(typing.TypedDict, total=False): duration: str globalDnsInsight: RiskDetailsGlobalDnsInsight lastUpdateTimestamp: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "CRITICAL", "HIGH", "LOW", "MEDIUM", "SEVERITY_UNSPECIFIED" ] - type: typing_extensions.Literal["GLOBAL_DNS", "RISK_TYPE_UNSPECIFIED"] + type: typing.Literal["GLOBAL_DNS", "RISK_TYPE_UNSPECIFIED"] @typing.type_check_only -class RiskDetailsGlobalDnsInsight(typing_extensions.TypedDict, total=False): +class RiskDetailsGlobalDnsInsight(typing.TypedDict, total=False): projectDefaultIsGlobalDns: bool queryObservationWindow: str riskyQueryCount: str totalQueryCount: str @typing.type_check_only -class RiskRecommendation(typing_extensions.TypedDict, total=False): +class RiskRecommendation(typing.TypedDict, total=False): content: str referenceUrl: str @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): cancellationTime: str completionTime: str creationTimestamp: str @@ -9156,7 +8983,7 @@ class Rollout(typing_extensions.TypedDict, total=False): rolloutPlan: str selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "CANCELLED", "CANCELLING", "CANCEL_FAILED", @@ -9179,21 +9006,19 @@ class Rollout(typing_extensions.TypedDict, total=False): waveDetails: _list[RolloutWaveDetails] @typing.type_check_only -class RolloutPlan(typing_extensions.TypedDict, total=False): +class RolloutPlan(typing.TypedDict, total=False): creationTimestamp: str description: str id: str kind: str - locationScope: typing_extensions.Literal[ - "LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL" - ] + locationScope: typing.Literal["LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL"] name: str selfLink: str selfLinkWithId: str waves: _list[RolloutPlanWave] @typing.type_check_only -class RolloutPlanWave(typing_extensions.TypedDict, total=False): +class RolloutPlanWave(typing.TypedDict, total=False): displayName: str number: str orchestrationOptions: RolloutPlanWaveOrchestrationOptions @@ -9201,51 +9026,47 @@ class RolloutPlanWave(typing_extensions.TypedDict, total=False): validation: RolloutPlanWaveValidation @typing.type_check_only -class RolloutPlanWaveOrchestrationOptions(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveOrchestrationOptions(typing.TypedDict, total=False): delays: _list[RolloutPlanWaveOrchestrationOptionsDelay] maxConcurrentLocations: str maxConcurrentResourcesPerLocation: str @typing.type_check_only -class RolloutPlanWaveOrchestrationOptionsDelay( - typing_extensions.TypedDict, total=False -): - delimiter: typing_extensions.Literal[ +class RolloutPlanWaveOrchestrationOptionsDelay(typing.TypedDict, total=False): + delimiter: typing.Literal[ "DELIMITER_BATCH", "DELIMITER_LOCATION", "DELIMITER_UNSPECIFIED" ] duration: str - type: typing_extensions.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] + type: typing.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] @typing.type_check_only -class RolloutPlanWaveSelector(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveSelector(typing.TypedDict, total=False): locationSelector: RolloutPlanWaveSelectorLocationSelector resourceHierarchySelector: RolloutPlanWaveSelectorResourceHierarchySelector @typing.type_check_only -class RolloutPlanWaveSelectorLocationSelector(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveSelectorLocationSelector(typing.TypedDict, total=False): includedLocations: _list[str] @typing.type_check_only -class RolloutPlanWaveSelectorResourceHierarchySelector( - typing_extensions.TypedDict, total=False -): +class RolloutPlanWaveSelectorResourceHierarchySelector(typing.TypedDict, total=False): includedFolders: _list[str] includedOrganizations: _list[str] includedProjects: _list[str] @typing.type_check_only -class RolloutPlanWaveValidation(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveValidation(typing.TypedDict, total=False): timeBasedValidationMetadata: RolloutPlanWaveValidationTimeBasedValidationMetadata type: str @typing.type_check_only class RolloutPlanWaveValidationTimeBasedValidationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): waitDuration: str @typing.type_check_only -class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): +class RolloutPlansListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[RolloutPlan] @@ -9255,30 +9076,28 @@ class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RolloutPolicy(typing_extensions.TypedDict, total=False): +class RolloutPolicy(typing.TypedDict, total=False): defaultRolloutTime: str locationRolloutPolicies: dict[str, typing.Any] @typing.type_check_only -class RolloutRolloutEntity(typing_extensions.TypedDict, total=False): +class RolloutRolloutEntity(typing.TypedDict, total=False): orchestratedEntity: RolloutRolloutEntityOrchestratedEntity @typing.type_check_only -class RolloutRolloutEntityOrchestratedEntity(typing_extensions.TypedDict, total=False): +class RolloutRolloutEntityOrchestratedEntity(typing.TypedDict, total=False): conflictBehavior: str orchestrationAction: str orchestrationSource: str @typing.type_check_only -class RolloutWaveDetails(typing_extensions.TypedDict, total=False): +class RolloutWaveDetails(typing.TypedDict, total=False): orchestratedWaveDetails: RolloutWaveDetailsOrchestratedWaveDetails waveDisplayName: str waveNumber: str @typing.type_check_only -class RolloutWaveDetailsOrchestratedWaveDetails( - typing_extensions.TypedDict, total=False -): +class RolloutWaveDetailsOrchestratedWaveDetails(typing.TypedDict, total=False): completedResourcesCount: str estimatedCompletionTime: str estimatedTotalResourcesCount: str @@ -9288,9 +9107,9 @@ class RolloutWaveDetailsOrchestratedWaveDetails( @typing.type_check_only class RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_FAILED", "STATE_IN_PROGRESS", "STATE_PENDING", @@ -9300,7 +9119,7 @@ class RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus( ] @typing.type_check_only -class RolloutsListResponse(typing_extensions.TypedDict, total=False): +class RolloutsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[Rollout] @@ -9310,14 +9129,14 @@ class RolloutsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): allowConflictingSubnetworks: bool asPaths: _list[RouteAsPath] creationTimestamp: str description: str destRange: str id: str - ilbRouteBehaviorOnUnhealthy: typing_extensions.Literal[ + ilbRouteBehaviorOnUnhealthy: typing.Literal[ "DO_NOT_WITHDRAW_ROUTE_IF_ILB_UNHEALTHY", "WITHDRAW_ROUTE_IF_ILB_UNHEALTHY" ] kind: str @@ -9332,12 +9151,12 @@ class Route(typing_extensions.TypedDict, total=False): nextHopIp: str nextHopMed: int nextHopNetwork: str - nextHopOrigin: typing_extensions.Literal["EGP", "IGP", "INCOMPLETE"] + nextHopOrigin: typing.Literal["EGP", "IGP", "INCOMPLETE"] nextHopPeering: str nextHopVpnTunnel: str params: RouteParams priority: int - routeStatus: typing_extensions.Literal[ + routeStatus: typing.Literal[ "ACTIVE", "DROPPED", "INACTIVE", @@ -9345,21 +9164,21 @@ class Route(typing_extensions.TypedDict, total=False): "OVERRIDDEN_BY_PEERING", "PENDING", ] - routeType: typing_extensions.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] + routeType: typing.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] selfLink: str selfLinkWithId: str tags: _list[str] warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class RouteAsPath(typing_extensions.TypedDict, total=False): +class RouteAsPath(typing.TypedDict, total=False): asLists: _list[int] - pathSegmentType: typing_extensions.Literal[ + pathSegmentType: typing.Literal[ "AS_CONFED_SEQUENCE", "AS_CONFED_SET", "AS_SEQUENCE", "AS_SET" ] @typing.type_check_only -class RouteList(typing_extensions.TypedDict, total=False): +class RouteList(typing.TypedDict, total=False): id: str items: _list[Route] kind: str @@ -9368,32 +9187,31 @@ class RouteList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouteParams(typing_extensions.TypedDict, total=False): +class RouteParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class RoutePolicy(typing_extensions.TypedDict, total=False): +class RoutePolicy(typing.TypedDict, total=False): description: str fingerprint: str name: str terms: _list[RoutePolicyPolicyTerm] - type: typing_extensions.Literal[ - "ROUTE_POLICY_TYPE_EXPORT", "ROUTE_POLICY_TYPE_IMPORT" - ] + type: typing.Literal["ROUTE_POLICY_TYPE_EXPORT", "ROUTE_POLICY_TYPE_IMPORT"] @typing.type_check_only -class RoutePolicyPolicyTerm(typing_extensions.TypedDict, total=False): +class RoutePolicyPolicyTerm(typing.TypedDict, total=False): actions: _list[Expr] match: Expr priority: int @typing.type_check_only -class Router(typing_extensions.TypedDict, total=False): +class Router(typing.TypedDict, total=False): bgp: RouterBgp bgpPeers: _list[RouterBgpPeer] creationTimestamp: str description: str encryptedInterconnectRouter: bool + etag: str id: str interfaces: _list[RouterInterface] kind: str @@ -9408,12 +9226,12 @@ class Router(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class RouterAdvertisedIpRange(typing_extensions.TypedDict, total=False): +class RouterAdvertisedIpRange(typing.TypedDict, total=False): description: str range: str @typing.type_check_only -class RouterAggregatedList(typing_extensions.TypedDict, total=False): +class RouterAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9423,12 +9241,10 @@ class RouterAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouterBgp(typing_extensions.TypedDict, total=False): - advertiseMode: typing_extensions.Literal["CUSTOM", "DEFAULT"] +class RouterBgp(typing.TypedDict, total=False): + advertiseMode: typing.Literal["CUSTOM", "DEFAULT"] advertisedGroups: _list[ - typing_extensions.Literal[ - "ALL_PEER_VPC_SUBNETS", "ALL_SUBNETS", "ALL_VPC_SUBNETS" - ] + typing.Literal["ALL_PEER_VPC_SUBNETS", "ALL_SUBNETS", "ALL_VPC_SUBNETS"] ] advertisedIpRanges: _list[RouterAdvertisedIpRange] asn: int @@ -9436,19 +9252,17 @@ class RouterBgp(typing_extensions.TypedDict, total=False): keepaliveInterval: int @typing.type_check_only -class RouterBgpPeer(typing_extensions.TypedDict, total=False): - advertiseMode: typing_extensions.Literal["CUSTOM", "DEFAULT"] +class RouterBgpPeer(typing.TypedDict, total=False): + advertiseMode: typing.Literal["CUSTOM", "DEFAULT"] advertisedGroups: _list[ - typing_extensions.Literal[ - "ALL_PEER_VPC_SUBNETS", "ALL_SUBNETS", "ALL_VPC_SUBNETS" - ] + typing.Literal["ALL_PEER_VPC_SUBNETS", "ALL_SUBNETS", "ALL_VPC_SUBNETS"] ] advertisedIpRanges: _list[RouterAdvertisedIpRange] advertisedRoutePriority: int bfd: RouterBgpPeerBfd customLearnedIpRanges: _list[RouterBgpPeerCustomLearnedIpRange] customLearnedRoutePriority: int - enable: typing_extensions.Literal["FALSE", "TRUE"] + enable: typing.Literal["FALSE", "TRUE"] enableIpv4: bool enableIpv6: bool exportPolicies: _list[str] @@ -9458,9 +9272,7 @@ class RouterBgpPeer(typing_extensions.TypedDict, total=False): ipv4NexthopAddress: str ipv6NexthopAddress: str linkedCustomHardware: str - managementType: typing_extensions.Literal[ - "MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER" - ] + managementType: typing.Literal["MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER"] md5AuthenticationKeyName: str name: str peerAsn: int @@ -9470,37 +9282,33 @@ class RouterBgpPeer(typing_extensions.TypedDict, total=False): routerApplianceInstance: str @typing.type_check_only -class RouterBgpPeerBfd(typing_extensions.TypedDict, total=False): +class RouterBgpPeerBfd(typing.TypedDict, total=False): minReceiveInterval: int minTransmitInterval: int - mode: typing_extensions.Literal["ACTIVE", "DISABLED", "PASSIVE"] + mode: typing.Literal["ACTIVE", "DISABLED", "PASSIVE"] multiplier: int - packetMode: typing_extensions.Literal["CONTROL_AND_ECHO", "CONTROL_ONLY"] - sessionInitializationMode: typing_extensions.Literal[ - "ACTIVE", "DISABLED", "PASSIVE" - ] + packetMode: typing.Literal["CONTROL_AND_ECHO", "CONTROL_ONLY"] + sessionInitializationMode: typing.Literal["ACTIVE", "DISABLED", "PASSIVE"] slowTimerInterval: int @typing.type_check_only -class RouterBgpPeerCustomLearnedIpRange(typing_extensions.TypedDict, total=False): +class RouterBgpPeerCustomLearnedIpRange(typing.TypedDict, total=False): range: str @typing.type_check_only -class RouterInterface(typing_extensions.TypedDict, total=False): +class RouterInterface(typing.TypedDict, total=False): ipRange: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6"] + ipVersion: typing.Literal["IPV4", "IPV6"] linkedInterconnectAttachment: str linkedVpnTunnel: str - managementType: typing_extensions.Literal[ - "MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER" - ] + managementType: typing.Literal["MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER"] name: str privateIpAddress: str redundantInterface: str subnetwork: str @typing.type_check_only -class RouterList(typing_extensions.TypedDict, total=False): +class RouterList(typing.TypedDict, total=False): id: str items: _list[Router] kind: str @@ -9509,13 +9317,13 @@ class RouterList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouterMd5AuthenticationKey(typing_extensions.TypedDict, total=False): +class RouterMd5AuthenticationKey(typing.TypedDict, total=False): key: str name: str @typing.type_check_only -class RouterNat(typing_extensions.TypedDict, total=False): - autoNetworkTier: typing_extensions.Literal[ +class RouterNat(typing.TypedDict, total=False): + autoNetworkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -9527,7 +9335,7 @@ class RouterNat(typing_extensions.TypedDict, total=False): enableDynamicPortAllocation: bool enableEndpointIndependentMapping: bool endpointTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENDPOINT_TYPE_MANAGED_PROXY_LB", "ENDPOINT_TYPE_SWG", "ENDPOINT_TYPE_VM" ] ] @@ -9537,31 +9345,31 @@ class RouterNat(typing_extensions.TypedDict, total=False): minPortsPerVm: int name: str nat64Subnetworks: _list[RouterNatSubnetworkToNat64] - natIpAllocateOption: typing_extensions.Literal["AUTO_ONLY", "MANUAL_ONLY"] + natIpAllocateOption: typing.Literal["AUTO_ONLY", "MANUAL_ONLY"] natIps: _list[str] rules: _list[RouterNatRule] - sourceSubnetworkIpRangesToNat: typing_extensions.Literal[ + sourceSubnetworkIpRangesToNat: typing.Literal[ "ALL_SUBNETWORKS_ALL_IP_RANGES", "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", "LIST_OF_SUBNETWORKS", ] - sourceSubnetworkIpRangesToNat64: typing_extensions.Literal[ + sourceSubnetworkIpRangesToNat64: typing.Literal[ "ALL_IPV6_SUBNETWORKS", "LIST_OF_IPV6_SUBNETWORKS" ] subnetworks: _list[RouterNatSubnetworkToNat] tcpEstablishedIdleTimeoutSec: int tcpTimeWaitTimeoutSec: int tcpTransitoryIdleTimeoutSec: int - type: typing_extensions.Literal["PRIVATE", "PUBLIC"] + type: typing.Literal["PRIVATE", "PUBLIC"] udpIdleTimeoutSec: int @typing.type_check_only -class RouterNatLogConfig(typing_extensions.TypedDict, total=False): +class RouterNatLogConfig(typing.TypedDict, total=False): enable: bool - filter: typing_extensions.Literal["ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY"] + filter: typing.Literal["ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY"] @typing.type_check_only -class RouterNatRule(typing_extensions.TypedDict, total=False): +class RouterNatRule(typing.TypedDict, total=False): action: RouterNatRuleAction description: str match: str @@ -9569,32 +9377,32 @@ class RouterNatRule(typing_extensions.TypedDict, total=False): sourceWorkloadIdentities: _list[str] @typing.type_check_only -class RouterNatRuleAction(typing_extensions.TypedDict, total=False): +class RouterNatRuleAction(typing.TypedDict, total=False): sourceNatActiveIps: _list[str] sourceNatActiveRanges: _list[str] sourceNatDrainIps: _list[str] sourceNatDrainRanges: _list[str] @typing.type_check_only -class RouterNatSubnetworkToNat(typing_extensions.TypedDict, total=False): +class RouterNatSubnetworkToNat(typing.TypedDict, total=False): name: str secondaryIpRangeNames: _list[str] sourceIpRangesToNat: _list[ - typing_extensions.Literal[ + typing.Literal[ "ALL_IP_RANGES", "LIST_OF_SECONDARY_IP_RANGES", "PRIMARY_IP_RANGE" ] ] @typing.type_check_only -class RouterNatSubnetworkToNat64(typing_extensions.TypedDict, total=False): +class RouterNatSubnetworkToNat64(typing.TypedDict, total=False): name: str @typing.type_check_only -class RouterParams(typing_extensions.TypedDict, total=False): +class RouterParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class RouterStatus(typing_extensions.TypedDict, total=False): +class RouterStatus(typing.TypedDict, total=False): bestRoutes: _list[Route] bestRoutesForRouter: _list[Route] bgpPeerStatus: _list[RouterStatusBgpPeerStatus] @@ -9603,9 +9411,10 @@ class RouterStatus(typing_extensions.TypedDict, total=False): network: str @typing.type_check_only -class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): +class RouterStatusBgpPeerStatus(typing.TypedDict, total=False): advertisedRoutes: _list[Route] bfdStatus: BfdStatus + depreferenced: bool enableIpv4: bool enableIpv6: bool ipAddress: str @@ -9621,8 +9430,8 @@ class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): peerIpv6NexthopAddress: str routerApplianceInstance: str state: str - status: typing_extensions.Literal["DOWN", "UNKNOWN", "UP"] - statusReason: typing_extensions.Literal[ + status: typing.Literal["DOWN", "UNKNOWN", "UP"] + statusReason: typing.Literal[ "IPV4_PEER_ON_IPV6_ONLY_CONNECTION", "IPV6_PEER_ON_IPV4_ONLY_CONNECTION", "MD5_AUTH_INTERNAL_PROBLEM", @@ -9632,7 +9441,7 @@ class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): uptimeSeconds: str @typing.type_check_only -class RouterStatusNatStatus(typing_extensions.TypedDict, total=False): +class RouterStatusNatStatus(typing.TypedDict, total=False): autoAllocatedNatIps: _list[str] drainAutoAllocatedNatIps: _list[str] drainUserAllocatedNatIps: _list[str] @@ -9644,7 +9453,7 @@ class RouterStatusNatStatus(typing_extensions.TypedDict, total=False): userAllocatedNatIps: _list[str] @typing.type_check_only -class RouterStatusNatStatusNatRuleStatus(typing_extensions.TypedDict, total=False): +class RouterStatusNatStatusNatRuleStatus(typing.TypedDict, total=False): activeNatIps: _list[str] drainNatIps: _list[str] minExtraIpsNeeded: int @@ -9652,22 +9461,22 @@ class RouterStatusNatStatusNatRuleStatus(typing_extensions.TypedDict, total=Fals ruleNumber: int @typing.type_check_only -class RouterStatusResponse(typing_extensions.TypedDict, total=False): +class RouterStatusResponse(typing.TypedDict, total=False): kind: str result: RouterStatus @typing.type_check_only -class RoutersGetNamedSetResponse(typing_extensions.TypedDict, total=False): +class RoutersGetNamedSetResponse(typing.TypedDict, total=False): etag: str resource: NamedSet @typing.type_check_only -class RoutersGetRoutePolicyResponse(typing_extensions.TypedDict, total=False): +class RoutersGetRoutePolicyResponse(typing.TypedDict, total=False): etag: str resource: RoutePolicy @typing.type_check_only -class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): +class RoutersListBgpRoutes(typing.TypedDict, total=False): etag: str id: str kind: str @@ -9678,7 +9487,7 @@ class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersListNamedSets(typing_extensions.TypedDict, total=False): +class RoutersListNamedSets(typing.TypedDict, total=False): etag: str id: str kind: str @@ -9689,7 +9498,7 @@ class RoutersListNamedSets(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): +class RoutersListRoutePolicies(typing.TypedDict, total=False): etag: str id: str kind: str @@ -9700,27 +9509,27 @@ class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersPreviewResponse(typing_extensions.TypedDict, total=False): +class RoutersPreviewResponse(typing.TypedDict, total=False): resource: Router @typing.type_check_only -class RoutersScopedList(typing_extensions.TypedDict, total=False): +class RoutersScopedList(typing.TypedDict, total=False): routers: _list[Router] warning: dict[str, typing.Any] @typing.type_check_only -class SSLHealthCheck(typing_extensions.TypedDict, total=False): +class SSLHealthCheck(typing.TypedDict, total=False): port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] request: str response: str @typing.type_check_only -class SavedAttachedDisk(typing_extensions.TypedDict, total=False): +class SavedAttachedDisk(typing.TypedDict, total=False): autoDelete: bool boot: bool deviceName: str @@ -9729,62 +9538,61 @@ class SavedAttachedDisk(typing_extensions.TypedDict, total=False): diskType: str guestOsFeatures: _list[GuestOsFeature] index: int - interface: typing_extensions.Literal["NVDIMM", "NVME", "SCSI"] + interface: typing.Literal["NVDIMM", "NVME", "SCSI"] kind: str licenses: _list[str] - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] source: str storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] - type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] + type: typing.Literal["PERSISTENT", "SCRATCH"] @typing.type_check_only -class SavedDisk(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class SavedDisk(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] kind: str sourceDisk: str storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] @typing.type_check_only -class ScalingScheduleStatus(typing_extensions.TypedDict, total=False): +class ScalingScheduleStatus(typing.TypedDict, total=False): lastStartTime: str nextStartTime: str - state: typing_extensions.Literal["ACTIVE", "DISABLED", "OBSOLETE", "READY"] + state: typing.Literal["ACTIVE", "DISABLED", "OBSOLETE", "READY"] @typing.type_check_only -class Scheduling(typing_extensions.TypedDict, total=False): +class Scheduling(typing.TypedDict, total=False): automaticRestart: bool availabilityDomain: int currentCpus: int currentMemoryMb: str + exposeHostTopology: bool gracefulShutdown: SchedulingGracefulShutdown hostErrorTimeoutSeconds: int - instanceTerminationAction: typing_extensions.Literal[ + instanceTerminationAction: typing.Literal[ "DELETE", "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", "STOP" ] latencyTolerant: bool localSsdRecoveryTimeout: Duration locationHint: str maintenanceFreezeDurationHours: int - maintenanceInterval: typing_extensions.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] + maintenanceInterval: typing.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] maxRunDuration: Duration minNodeCpus: int nodeAffinities: _list[SchedulingNodeAffinity] - onHostMaintenance: typing_extensions.Literal["MIGRATE", "TERMINATE"] + onHostMaintenance: typing.Literal["MIGRATE", "TERMINATE"] onInstanceStopAction: SchedulingOnInstanceStopAction preemptible: bool preemptionNoticeDuration: Duration - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] shutdownTimeout: Duration skipGuestOsShutdown: bool terminationTime: str vsockMode: SchedulingVsockMode - windowsLicenseOptimizationMode: typing_extensions.Literal[ + windowsLicenseOptimizationMode: typing.Literal[ "AUTO", "BALANCED", "COST_OPTIMIZED", @@ -9795,35 +9603,35 @@ class Scheduling(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SchedulingGracefulShutdown(typing_extensions.TypedDict, total=False): +class SchedulingGracefulShutdown(typing.TypedDict, total=False): enabled: bool maxDuration: Duration @typing.type_check_only -class SchedulingNodeAffinity(typing_extensions.TypedDict, total=False): +class SchedulingNodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] + operator: typing.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] values: _list[str] @typing.type_check_only -class SchedulingOnInstanceStopAction(typing_extensions.TypedDict, total=False): +class SchedulingOnInstanceStopAction(typing.TypedDict, total=False): discardLocalSsd: bool @typing.type_check_only -class SchedulingVsockMode(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["DISABLED", "ENABLED", "VSOCK_MODE_UNSPECIFIED"] +class SchedulingVsockMode(typing.TypedDict, total=False): + mode: typing.Literal["DISABLED", "ENABLED", "VSOCK_MODE_UNSPECIFIED"] @typing.type_check_only -class Screenshot(typing_extensions.TypedDict, total=False): +class Screenshot(typing.TypedDict, total=False): contents: str kind: str @typing.type_check_only -class SdsConfig(typing_extensions.TypedDict, total=False): +class SdsConfig(typing.TypedDict, total=False): grpcServiceConfig: GrpcServiceConfig @typing.type_check_only -class SecurityPoliciesAggregatedList(typing_extensions.TypedDict, total=False): +class SecurityPoliciesAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -9835,21 +9643,21 @@ class SecurityPoliciesAggregatedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecurityPoliciesListPreconfiguredExpressionSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preconfiguredExpressionSets: SecurityPoliciesWafConfig @typing.type_check_only -class SecurityPoliciesScopedList(typing_extensions.TypedDict, total=False): +class SecurityPoliciesScopedList(typing.TypedDict, total=False): securityPolicies: _list[SecurityPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class SecurityPoliciesWafConfig(typing_extensions.TypedDict, total=False): +class SecurityPoliciesWafConfig(typing.TypedDict, total=False): wafRules: PreconfiguredWafSet @typing.type_check_only -class SecurityPolicy(typing_extensions.TypedDict, total=False): +class SecurityPolicy(typing.TypedDict, total=False): adaptiveProtectionConfig: SecurityPolicyAdaptiveProtectionConfig advancedOptionsConfig: SecurityPolicyAdvancedOptionsConfig associations: _list[SecurityPolicyAssociation] @@ -9872,7 +9680,7 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shortName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CLOUD_ARMOR", "CLOUD_ARMOR_EDGE", "CLOUD_ARMOR_INTERNAL_SERVICE", @@ -9882,7 +9690,7 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): userDefinedFields: _list[SecurityPolicyUserDefinedField] @typing.type_check_only -class SecurityPolicyAdaptiveProtectionConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyAdaptiveProtectionConfig(typing.TypedDict, total=False): autoDeployConfig: SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig layer7DdosDefenseConfig: ( SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig @@ -9890,7 +9698,7 @@ class SecurityPolicyAdaptiveProtectionConfig(typing_extensions.TypedDict, total= @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float expirationSec: int @@ -9899,17 +9707,17 @@ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig( @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool - ruleVisibility: typing_extensions.Literal["PREMIUM", "STANDARD"] + ruleVisibility: typing.Literal["PREMIUM", "STANDARD"] thresholdConfigs: _list[ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig ] @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoDeployConfidenceThreshold: float autoDeployExpirationSec: int @@ -9925,30 +9733,28 @@ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConf @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableEachUniqueValue: bool - type: typing_extensions.Literal["HTTP_HEADER_HOST", "HTTP_PATH", "UNSPECIFIED_TYPE"] + type: typing.Literal["HTTP_HEADER_HOST", "HTTP_PATH", "UNSPECIFIED_TYPE"] value: str @typing.type_check_only -class SecurityPolicyAdvancedOptionsConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyAdvancedOptionsConfig(typing.TypedDict, total=False): jsonCustomConfig: SecurityPolicyAdvancedOptionsConfigJsonCustomConfig - jsonParsing: typing_extensions.Literal[ - "DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL" - ] - logLevel: typing_extensions.Literal["NORMAL", "VERBOSE"] + jsonParsing: typing.Literal["DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL"] + logLevel: typing.Literal["NORMAL", "VERBOSE"] requestBodyInspectionSize: str userIpRequestHeaders: _list[str] @typing.type_check_only class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentTypes: _list[str] @typing.type_check_only -class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): +class SecurityPolicyAssociation(typing.TypedDict, total=False): attachmentId: str displayName: str excludedFolders: _list[str] @@ -9958,12 +9764,12 @@ class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class SecurityPolicyCloudArmorConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyCloudArmorConfig(typing.TypedDict, total=False): enableMl: bool @typing.type_check_only -class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=False): - ddosAdaptiveProtection: typing_extensions.Literal[ +class SecurityPolicyDdosProtectionConfig(typing.TypedDict, total=False): + ddosAdaptiveProtection: typing.Literal[ "DDOS_ADAPTIVE_PROTECTION_UNSPECIFIED", "DISABLED", "ENABLED", @@ -9971,12 +9777,10 @@ class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=Fals "UNSPECIFIED_ADAPTIVE_PROTECTION", ] ddosImpactedBaselineThreshold: float - ddosProtection: typing_extensions.Literal[ - "ADVANCED", "ADVANCED_PREVIEW", "STANDARD" - ] + ddosProtection: typing.Literal["ADVANCED", "ADVANCED_PREVIEW", "STANDARD"] @typing.type_check_only -class SecurityPolicyList(typing_extensions.TypedDict, total=False): +class SecurityPolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[SecurityPolicy] @@ -9986,18 +9790,18 @@ class SecurityPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SecurityPolicyRecaptchaOptionsConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyRecaptchaOptionsConfig(typing.TypedDict, total=False): redirectSiteKey: str @typing.type_check_only -class SecurityPolicyReference(typing_extensions.TypedDict, total=False): +class SecurityPolicyReference(typing.TypedDict, total=False): securityPolicy: str @typing.type_check_only -class SecurityPolicyRule(typing_extensions.TypedDict, total=False): +class SecurityPolicyRule(typing.TypedDict, total=False): action: str description: str - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] enableLogging: bool headerAction: SecurityPolicyRuleHttpHeaderAction kind: str @@ -10009,7 +9813,7 @@ class SecurityPolicyRule(typing_extensions.TypedDict, total=False): rateLimitOptions: SecurityPolicyRuleRateLimitOptions redirectOptions: SecurityPolicyRuleRedirectOptions redirectTarget: str - ruleManagedProtectionTier: typing_extensions.Literal[ + ruleManagedProtectionTier: typing.Literal[ "CAMP_PLUS_ANNUAL", "CAMP_PLUS_PAYGO", "CA_STANDARD" ] ruleNumber: str @@ -10018,57 +9822,51 @@ class SecurityPolicyRule(typing_extensions.TypedDict, total=False): targetServiceAccounts: _list[str] @typing.type_check_only -class SecurityPolicyRuleHttpHeaderAction(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleHttpHeaderAction(typing.TypedDict, total=False): requestHeadersToAdds: _list[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] @typing.type_check_only -class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption(typing.TypedDict, total=False): headerName: str headerValue: str @typing.type_check_only -class SecurityPolicyRuleMatcher(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcher(typing.TypedDict, total=False): config: SecurityPolicyRuleMatcherConfig expr: Expr exprOptions: SecurityPolicyRuleMatcherExprOptions - versionedExpr: typing_extensions.Literal["FIREWALL", "SRC_IPS_V1"] + versionedExpr: typing.Literal["FIREWALL", "SRC_IPS_V1"] @typing.type_check_only -class SecurityPolicyRuleMatcherConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcherConfig(typing.TypedDict, total=False): destIpRanges: _list[str] destPorts: _list[SecurityPolicyRuleMatcherConfigDestinationPort] layer4Configs: _list[SecurityPolicyRuleMatcherConfigLayer4Config] srcIpRanges: _list[str] @typing.type_check_only -class SecurityPolicyRuleMatcherConfigDestinationPort( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleMatcherConfigDestinationPort(typing.TypedDict, total=False): ipProtocol: str ports: _list[str] @typing.type_check_only -class SecurityPolicyRuleMatcherConfigLayer4Config( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleMatcherConfigLayer4Config(typing.TypedDict, total=False): ipProtocol: str ports: _list[str] @typing.type_check_only -class SecurityPolicyRuleMatcherExprOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcherExprOptions(typing.TypedDict, total=False): recaptchaOptions: SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions @typing.type_check_only class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionTokenSiteKeys: _list[str] sessionTokenSiteKeys: _list[str] @typing.type_check_only -class SecurityPolicyRuleNetworkMatcher(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleNetworkMatcher(typing.TypedDict, total=False): destIpRanges: _list[str] destPorts: _list[str] ipProtocols: _list[str] @@ -10080,21 +9878,17 @@ class SecurityPolicyRuleNetworkMatcher(typing_extensions.TypedDict, total=False) @typing.type_check_only class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str values: _list[str] @typing.type_check_only -class SecurityPolicyRulePreconfiguredWafConfig( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRulePreconfiguredWafConfig(typing.TypedDict, total=False): exclusions: _list[SecurityPolicyRulePreconfiguredWafConfigExclusion] @typing.type_check_only -class SecurityPolicyRulePreconfiguredWafConfigExclusion( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRulePreconfiguredWafConfigExclusion(typing.TypedDict, total=False): requestBodiesToExclude: _list[ SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams ] @@ -10115,21 +9909,20 @@ class SecurityPolicyRulePreconfiguredWafConfigExclusion( @typing.type_check_only class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - op: typing_extensions.Literal[ - "CONTAINS", "ENDS_WITH", "EQUALS", "EQUALS_ANY", "STARTS_WITH" - ] + op: typing.Literal["CONTAINS", "ENDS_WITH", "EQUALS", "EQUALS_ANY", "STARTS_WITH"] val: str @typing.type_check_only -class SecurityPolicyRuleRateLimitOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleRateLimitOptions(typing.TypedDict, total=False): banDurationSec: int banThreshold: SecurityPolicyRuleRateLimitOptionsThreshold conformAction: str - enforceOnKey: typing_extensions.Literal[ + enforceOnKey: typing.Literal[ "ALL", "ALL_IPS", + "ASN", "HTTP_COOKIE", "HTTP_HEADER", "HTTP_PATH", @@ -10150,12 +9943,13 @@ class SecurityPolicyRuleRateLimitOptions(typing_extensions.TypedDict, total=Fals @typing.type_check_only class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enforceOnKeyName: str - enforceOnKeyType: typing_extensions.Literal[ + enforceOnKeyType: typing.Literal[ "ALL", "ALL_IPS", + "ASN", "HTTP_COOKIE", "HTTP_HEADER", "HTTP_PATH", @@ -10169,34 +9963,30 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig( ] @typing.type_check_only -class SecurityPolicyRuleRateLimitOptionsRpcStatus( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleRateLimitOptionsRpcStatus(typing.TypedDict, total=False): code: int message: str @typing.type_check_only -class SecurityPolicyRuleRateLimitOptionsThreshold( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleRateLimitOptionsThreshold(typing.TypedDict, total=False): count: int intervalSec: int @typing.type_check_only -class SecurityPolicyRuleRedirectOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleRedirectOptions(typing.TypedDict, total=False): target: str - type: typing_extensions.Literal["EXTERNAL_302", "GOOGLE_RECAPTCHA"] + type: typing.Literal["EXTERNAL_302", "GOOGLE_RECAPTCHA"] @typing.type_check_only -class SecurityPolicyUserDefinedField(typing_extensions.TypedDict, total=False): - base: typing_extensions.Literal["IPV4", "IPV6", "TCP", "UDP"] +class SecurityPolicyUserDefinedField(typing.TypedDict, total=False): + base: typing.Literal["IPV4", "IPV6", "TCP", "UDP"] mask: str name: str offset: int size: int @typing.type_check_only -class SecuritySettings(typing_extensions.TypedDict, total=False): +class SecuritySettings(typing.TypedDict, total=False): authentication: str authenticationPolicy: AuthenticationPolicy authorizationConfig: AuthorizationConfig @@ -10206,7 +9996,7 @@ class SecuritySettings(typing_extensions.TypedDict, total=False): subjectAltNames: _list[str] @typing.type_check_only -class SerialPortOutput(typing_extensions.TypedDict, total=False): +class SerialPortOutput(typing.TypedDict, total=False): contents: str kind: str next: str @@ -10214,28 +10004,28 @@ class SerialPortOutput(typing_extensions.TypedDict, total=False): start: str @typing.type_check_only -class ServerBinding(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ServerBinding(typing.TypedDict, total=False): + type: typing.Literal[ "RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS", "SERVER_BINDING_TYPE_UNSPECIFIED", ] @typing.type_check_only -class ServerTlsSettings(typing_extensions.TypedDict, total=False): +class ServerTlsSettings(typing.TypedDict, total=False): proxyTlsContext: TlsContext subjectAltNames: _list[str] - tlsMode: typing_extensions.Literal["INVALID", "MUTUAL", "SIMPLE"] + tlsMode: typing.Literal["INVALID", "MUTUAL", "SIMPLE"] @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class ServiceAttachment(typing_extensions.TypedDict, total=False): +class ServiceAttachment(typing.TypedDict, total=False): connectedEndpoints: _list[ServiceAttachmentConnectedEndpoint] - connectionPreference: typing_extensions.Literal[ + connectionPreference: typing.Literal[ "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "CONNECTION_PREFERENCE_UNSPECIFIED" ] consumerAcceptLists: _list[ServiceAttachmentConsumerProjectLimit] @@ -10261,7 +10051,7 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): tunnelingConfig: ServiceAttachmentTunnelingConfig @typing.type_check_only -class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10271,14 +10061,14 @@ class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): +class ServiceAttachmentConnectedEndpoint(typing.TypedDict, total=False): consumerNetwork: str endpoint: str endpointWithId: str natIps: _list[str] propagatedConnectionCount: int pscConnectionId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACCEPTED", "ACCEPTED_LIMITED_CAPACITY", "CLOSED", @@ -10289,14 +10079,14 @@ class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class ServiceAttachmentConsumerProjectLimit(typing_extensions.TypedDict, total=False): +class ServiceAttachmentConsumerProjectLimit(typing.TypedDict, total=False): connectionLimit: int endpointUrl: str networkUrl: str projectIdOrNum: str @typing.type_check_only -class ServiceAttachmentList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentList(typing.TypedDict, total=False): id: str items: _list[ServiceAttachment] kind: str @@ -10305,49 +10095,47 @@ class ServiceAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ServiceAttachmentTunnelingConfig(typing_extensions.TypedDict, total=False): - encapsulationProfile: typing_extensions.Literal[ +class ServiceAttachmentTunnelingConfig(typing.TypedDict, total=False): + encapsulationProfile: typing.Literal[ "GENEVE_SECURITY_V1", "UNSPECIFIED_ENCAPSULATION_PROFILE" ] - routingMode: typing_extensions.Literal[ + routingMode: typing.Literal[ "PACKET_INJECTION", "STANDARD_ROUTING", "UNSPECIFIED_ROUTING_MODE" ] @typing.type_check_only -class ServiceAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentsScopedList(typing.TypedDict, total=False): serviceAttachments: _list[ServiceAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class ServiceIntegrationSpec(typing_extensions.TypedDict, total=False): +class ServiceIntegrationSpec(typing.TypedDict, total=False): backupDr: ServiceIntegrationSpecBackupDRSpec @typing.type_check_only -class ServiceIntegrationSpecBackupDRSpec(typing_extensions.TypedDict, total=False): +class ServiceIntegrationSpecBackupDRSpec(typing.TypedDict, total=False): plan: str @typing.type_check_only -class SetCommonInstanceMetadataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class SetCommonInstanceMetadataOperationMetadata(typing.TypedDict, total=False): clientOperationId: str perLocationOperations: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status - state: typing_extensions.Literal[ + state: typing.Literal[ "ABANDONED", "DONE", "FAILED", "PROPAGATED", "PROPAGATING", "UNSPECIFIED" ] @typing.type_check_only -class ShareSettings(typing_extensions.TypedDict, total=False): +class ShareSettings(typing.TypedDict, total=False): folderMap: dict[str, typing.Any] projectMap: dict[str, typing.Any] projects: _list[str] - shareType: typing_extensions.Literal[ + shareType: typing.Literal[ "DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS", "LOCAL", "ORGANIZATION", @@ -10356,21 +10144,21 @@ class ShareSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ShareSettingsFolderConfig(typing_extensions.TypedDict, total=False): +class ShareSettingsFolderConfig(typing.TypedDict, total=False): folderId: str @typing.type_check_only -class ShareSettingsProjectConfig(typing_extensions.TypedDict, total=False): +class ShareSettingsProjectConfig(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIdentity(typing.TypedDict, total=False): eccP256EncryptionKey: ShieldedInstanceIdentityEntry eccP256SigningKey: ShieldedInstanceIdentityEntry encryptionKey: ShieldedInstanceIdentityEntry @@ -10378,45 +10166,43 @@ class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): signingKey: ShieldedInstanceIdentityEntry @typing.type_check_only -class ShieldedInstanceIdentityEntry(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIdentityEntry(typing.TypedDict, total=False): ekCert: str ekPub: str @typing.type_check_only -class ShieldedInstanceIntegrityPolicy(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIntegrityPolicy(typing.TypedDict, total=False): updateAutoLearnPolicy: bool @typing.type_check_only -class ShieldedVmConfig(typing_extensions.TypedDict, total=False): +class ShieldedVmConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class ShieldedVmIdentity(typing_extensions.TypedDict, total=False): +class ShieldedVmIdentity(typing.TypedDict, total=False): encryptionKey: ShieldedVmIdentityEntry kind: str signingKey: ShieldedVmIdentityEntry @typing.type_check_only -class ShieldedVmIdentityEntry(typing_extensions.TypedDict, total=False): +class ShieldedVmIdentityEntry(typing.TypedDict, total=False): ekCert: str ekPub: str @typing.type_check_only -class ShieldedVmIntegrityPolicy(typing_extensions.TypedDict, total=False): +class ShieldedVmIntegrityPolicy(typing.TypedDict, total=False): updateAutoLearnPolicy: bool @typing.type_check_only -class SignedUrlKey(typing_extensions.TypedDict, total=False): +class SignedUrlKey(typing.TypedDict, total=False): keyName: str keyValue: str @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Snapshot(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] autoCreated: bool chainName: str creationSizeBytes: str @@ -10446,7 +10232,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): snapshotEncryptionKey: CustomerEncryptionKey snapshotGroupId: str snapshotGroupName: str - snapshotType: typing_extensions.Literal["ARCHIVE", "STANDARD"] + snapshotType: typing.Literal["ARCHIVE", "STANDARD"] sourceDisk: str sourceDiskEncryptionKey: CustomerEncryptionKey sourceDiskForRecoveryCheckpoint: str @@ -10456,15 +10242,13 @@ class Snapshot(typing_extensions.TypedDict, total=False): sourceInstantSnapshotId: str sourceSnapshotSchedulePolicy: str sourceSnapshotSchedulePolicyId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "FAILED", "READY", "UPLOADING" - ] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY", "UPLOADING"] storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] storageLocations: _list[str] @typing.type_check_only -class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): +class SnapshotAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -10475,7 +10259,7 @@ class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SnapshotGroup(typing_extensions.TypedDict, total=False): +class SnapshotGroup(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -10486,30 +10270,28 @@ class SnapshotGroup(typing_extensions.TypedDict, total=False): sourceInfo: SnapshotGroupSourceInfo sourceInstantSnapshotGroup: str sourceInstantSnapshotGroupInfo: SnapshotGroupSourceInstantSnapshotGroupInfo - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN", "UPLOADING" ] @typing.type_check_only -class SnapshotGroupParameters(typing_extensions.TypedDict, total=False): +class SnapshotGroupParameters(typing.TypedDict, total=False): replicaZones: _list[str] sourceSnapshotGroup: str type: str @typing.type_check_only -class SnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): +class SnapshotGroupSourceInfo(typing.TypedDict, total=False): consistencyGroup: str consistencyGroupId: str @typing.type_check_only -class SnapshotGroupSourceInstantSnapshotGroupInfo( - typing_extensions.TypedDict, total=False -): +class SnapshotGroupSourceInstantSnapshotGroupInfo(typing.TypedDict, total=False): instantSnapshotGroup: str instantSnapshotGroupId: str @typing.type_check_only -class SnapshotList(typing_extensions.TypedDict, total=False): +class SnapshotList(typing.TypedDict, total=False): id: str items: _list[Snapshot] kind: str @@ -10518,48 +10300,46 @@ class SnapshotList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SnapshotParams(typing_extensions.TypedDict, total=False): +class SnapshotParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class SnapshotRecycleBinPolicy(typing_extensions.TypedDict, total=False): +class SnapshotRecycleBinPolicy(typing.TypedDict, total=False): rules: dict[str, typing.Any] systemRules: dict[str, typing.Any] @typing.type_check_only -class SnapshotRecycleBinPolicyRule(typing_extensions.TypedDict, total=False): +class SnapshotRecycleBinPolicyRule(typing.TypedDict, total=False): standardSnapshots: SnapshotRecycleBinPolicyRuleRuleConfig @typing.type_check_only -class SnapshotRecycleBinPolicyRuleRuleConfig(typing_extensions.TypedDict, total=False): +class SnapshotRecycleBinPolicyRuleRuleConfig(typing.TypedDict, total=False): retentionDurationDays: str @typing.type_check_only -class SnapshotResourceStatus(typing_extensions.TypedDict, total=False): +class SnapshotResourceStatus(typing.TypedDict, total=False): scheduledDeletionTime: str @typing.type_check_only -class SnapshotSettings(typing_extensions.TypedDict, total=False): +class SnapshotSettings(typing.TypedDict, total=False): accessLocation: SnapshotSettingsAccessLocation storageLocation: SnapshotSettingsStorageLocationSettings @typing.type_check_only -class SnapshotSettingsAccessLocation(typing_extensions.TypedDict, total=False): +class SnapshotSettingsAccessLocation(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ - "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" - ] + policy: typing.Literal["ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS"] @typing.type_check_only class SnapshotSettingsAccessLocationAccessLocationPreference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str @typing.type_check_only -class SnapshotSettingsStorageLocationSettings(typing_extensions.TypedDict, total=False): +class SnapshotSettingsStorageLocationSettings(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ + policy: typing.Literal[ "LOCAL_REGION", "NEAREST_MULTI_REGION", "SPECIFIC_LOCATIONS", @@ -10568,42 +10348,40 @@ class SnapshotSettingsStorageLocationSettings(typing_extensions.TypedDict, total @typing.type_check_only class SnapshotSettingsStorageLocationSettingsStorageLocationPreference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class SnapshotUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class SnapshotUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class SnapshotsGetEffectiveRecycleBinRuleResponse( - typing_extensions.TypedDict, total=False -): +class SnapshotsGetEffectiveRecycleBinRuleResponse(typing.TypedDict, total=False): retentionDurationDays: str @typing.type_check_only -class SnapshotsScopedList(typing_extensions.TypedDict, total=False): +class SnapshotsScopedList(typing.TypedDict, total=False): snapshots: _list[Snapshot] warning: dict[str, typing.Any] @typing.type_check_only -class SourceDiskEncryptionKey(typing_extensions.TypedDict, total=False): +class SourceDiskEncryptionKey(typing.TypedDict, total=False): diskEncryptionKey: CustomerEncryptionKey sourceDisk: str @typing.type_check_only -class SourceInstanceParams(typing_extensions.TypedDict, total=False): +class SourceInstanceParams(typing.TypedDict, total=False): diskConfigs: _list[DiskInstantiationConfig] @typing.type_check_only -class SourceInstanceProperties(typing_extensions.TypedDict, total=False): +class SourceInstanceProperties(typing.TypedDict, total=False): canIpForward: bool deletionProtection: bool description: str disks: _list[SavedAttachedDisk] guestAccelerators: _list[AcceleratorConfig] - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] @@ -10611,7 +10389,7 @@ class SourceInstanceProperties(typing_extensions.TypedDict, total=False): metadata: Metadata minCpuPlatform: str networkInterfaces: _list[NetworkInterface] - postKeyRevocationActionType: typing_extensions.Literal[ + postKeyRevocationActionType: typing.Literal[ "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" ] scheduling: Scheduling @@ -10619,7 +10397,7 @@ class SourceInstanceProperties(typing_extensions.TypedDict, total=False): tags: Tags @typing.type_check_only -class SslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificate(typing.TypedDict, total=False): certificate: str creationTimestamp: str description: str @@ -10634,10 +10412,10 @@ class SslCertificate(typing_extensions.TypedDict, total=False): selfLinkWithId: str selfManaged: SslCertificateSelfManagedSslCertificate subjectAlternativeNames: _list[str] - type: typing_extensions.Literal["MANAGED", "SELF_MANAGED", "TYPE_UNSPECIFIED"] + type: typing.Literal["MANAGED", "SELF_MANAGED", "TYPE_UNSPECIFIED"] @typing.type_check_only -class SslCertificateAggregatedList(typing_extensions.TypedDict, total=False): +class SslCertificateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10647,7 +10425,7 @@ class SslCertificateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslCertificateList(typing_extensions.TypedDict, total=False): +class SslCertificateList(typing.TypedDict, total=False): id: str items: _list[SslCertificate] kind: str @@ -10656,10 +10434,10 @@ class SslCertificateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslCertificateManagedSslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificateManagedSslCertificate(typing.TypedDict, total=False): domainStatus: dict[str, typing.Any] domains: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "MANAGED_CERTIFICATE_STATUS_UNSPECIFIED", "PROVISIONING", @@ -10669,17 +10447,17 @@ class SslCertificateManagedSslCertificate(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class SslCertificateSelfManagedSslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificateSelfManagedSslCertificate(typing.TypedDict, total=False): certificate: str privateKey: str @typing.type_check_only -class SslCertificatesScopedList(typing_extensions.TypedDict, total=False): +class SslCertificatesScopedList(typing.TypedDict, total=False): sslCertificates: _list[SslCertificate] warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesAggregatedList(typing_extensions.TypedDict, total=False): +class SslPoliciesAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -10690,7 +10468,7 @@ class SslPoliciesAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesList(typing_extensions.TypedDict, total=False): +class SslPoliciesList(typing.TypedDict, total=False): id: str items: _list[SslPolicy] kind: str @@ -10699,18 +10477,16 @@ class SslPoliciesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesListAvailableFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class SslPoliciesListAvailableFeaturesResponse(typing.TypedDict, total=False): features: _list[str] @typing.type_check_only -class SslPoliciesScopedList(typing_extensions.TypedDict, total=False): +class SslPoliciesScopedList(typing.TypedDict, total=False): sslPolicies: _list[SslPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class SslPolicy(typing_extensions.TypedDict, total=False): +class SslPolicy(typing.TypedDict, total=False): creationTimestamp: str customFeatures: _list[str] description: str @@ -10718,10 +10494,10 @@ class SslPolicy(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str - minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] + minTlsVersion: typing.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str - postQuantumKeyExchange: typing_extensions.Literal["DEFAULT", "DEFERRED", "ENABLED"] - profile: typing_extensions.Literal[ + postQuantumKeyExchange: typing.Literal["DEFAULT", "DEFERRED", "ENABLED"] + profile: typing.Literal[ "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" ] region: str @@ -10731,38 +10507,36 @@ class SslPolicy(typing_extensions.TypedDict, total=False): warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class SslPolicyReference(typing_extensions.TypedDict, total=False): +class SslPolicyReference(typing.TypedDict, total=False): sslPolicy: str @typing.type_check_only -class StatefulPolicy(typing_extensions.TypedDict, total=False): +class StatefulPolicy(typing.TypedDict, total=False): preservedState: StatefulPolicyPreservedState @typing.type_check_only -class StatefulPolicyPreservedState(typing_extensions.TypedDict, total=False): +class StatefulPolicyPreservedState(typing.TypedDict, total=False): disks: dict[str, typing.Any] externalIPs: dict[str, typing.Any] internalIPs: dict[str, typing.Any] @typing.type_check_only -class StatefulPolicyPreservedStateDiskDevice(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class StatefulPolicyPreservedStateDiskDevice(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] @typing.type_check_only -class StatefulPolicyPreservedStateNetworkIp(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class StatefulPolicyPreservedStateNetworkIp(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StoragePool(typing_extensions.TypedDict, total=False): - capacityProvisioningType: typing_extensions.Literal[ - "ADVANCED", "STANDARD", "UNSPECIFIED" - ] +class StoragePool(typing.TypedDict, total=False): + capacityProvisioningType: typing.Literal["ADVANCED", "STANDARD", "UNSPECIFIED"] creationTimestamp: str description: str exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb @@ -10772,9 +10546,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str params: StoragePoolParams - performanceProvisioningType: typing_extensions.Literal[ - "ADVANCED", "STANDARD", "UNSPECIFIED" - ] + performanceProvisioningType: typing.Literal["ADVANCED", "STANDARD", "UNSPECIFIED"] poolProvisionedCapacityGb: str poolProvisionedIops: str poolProvisionedThroughput: str @@ -10785,13 +10557,13 @@ class StoragePool(typing_extensions.TypedDict, total=False): selfLinkWithId: str shareSettings: StoragePoolShareSettings sizeGb: str - state: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] + state: typing.Literal["CREATING", "DELETING", "FAILED", "READY"] status: StoragePoolResourceStatus storagePoolType: str zone: str @typing.type_check_only -class StoragePoolAggregatedList(typing_extensions.TypedDict, total=False): +class StoragePoolAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -10802,7 +10574,7 @@ class StoragePoolAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolDisk(typing_extensions.TypedDict, total=False): +class StoragePoolDisk(typing.TypedDict, total=False): attachedInstances: _list[str] creationTimestamp: str disk: str @@ -10811,20 +10583,20 @@ class StoragePoolDisk(typing_extensions.TypedDict, total=False): provisionedThroughput: str resourcePolicies: _list[str] sizeGb: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "READY", "RESTORING", "UNAVAILABLE" ] type: str usedBytes: str @typing.type_check_only -class StoragePoolExapoolProvisionedCapacityGb(typing_extensions.TypedDict, total=False): +class StoragePoolExapoolProvisionedCapacityGb(typing.TypedDict, total=False): capacityOptimized: str readOptimized: str writeOptimized: str @typing.type_check_only -class StoragePoolList(typing_extensions.TypedDict, total=False): +class StoragePoolList(typing.TypedDict, total=False): etag: str id: str items: _list[StoragePool] @@ -10835,7 +10607,7 @@ class StoragePoolList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolListDisks(typing_extensions.TypedDict, total=False): +class StoragePoolListDisks(typing.TypedDict, total=False): etag: str id: str items: _list[StoragePoolDisk] @@ -10846,11 +10618,11 @@ class StoragePoolListDisks(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolParams(typing_extensions.TypedDict, total=False): +class StoragePoolParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): +class StoragePoolResourceStatus(typing.TypedDict, total=False): aggregateDiskProvisionedIops: str aggregateDiskSizeGb: str diskCount: str @@ -10874,15 +10646,15 @@ class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): usedThroughput: str @typing.type_check_only -class StoragePoolShareSettings(typing_extensions.TypedDict, total=False): +class StoragePoolShareSettings(typing.TypedDict, total=False): projectMap: dict[str, typing.Any] @typing.type_check_only -class StoragePoolShareSettingsProjectConfig(typing_extensions.TypedDict, total=False): +class StoragePoolShareSettingsProjectConfig(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class StoragePoolType(typing_extensions.TypedDict, total=False): +class StoragePoolType(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -10902,7 +10674,7 @@ class StoragePoolType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class StoragePoolTypeAggregatedList(typing_extensions.TypedDict, total=False): +class StoragePoolTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10911,7 +10683,7 @@ class StoragePoolTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolTypeList(typing_extensions.TypedDict, total=False): +class StoragePoolTypeList(typing.TypedDict, total=False): id: str items: _list[StoragePoolType] kind: str @@ -10920,22 +10692,22 @@ class StoragePoolTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolTypesScopedList(typing_extensions.TypedDict, total=False): +class StoragePoolTypesScopedList(typing.TypedDict, total=False): storagePoolTypes: _list[StoragePoolType] warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolsScopedList(typing_extensions.TypedDict, total=False): +class StoragePoolsScopedList(typing.TypedDict, total=False): storagePools: _list[StoragePool] warning: dict[str, typing.Any] @typing.type_check_only -class StructuredEntries(typing_extensions.TypedDict, total=False): +class StructuredEntries(typing.TypedDict, total=False): entries: dict[str, typing.Any] @typing.type_check_only -class Subnetwork(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class Subnetwork(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "INTERVAL_10_MIN", "INTERVAL_15_MIN", "INTERVAL_1_MIN", @@ -10957,10 +10729,10 @@ class Subnetwork(typing_extensions.TypedDict, total=False): internalIpv6Prefix: str ipCidrRange: str ipCollection: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] ipv6CidrRange: str - ipv6GceEndpoint: typing_extensions.Literal["VM_AND_FR", "VM_ONLY"] - ipv6NetworkTier: typing_extensions.Literal[ + ipv6GceEndpoint: typing.Literal["VM_AND_FR", "VM_ONLY"] + ipv6NetworkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "SELECT", @@ -10969,17 +10741,17 @@ class Subnetwork(typing_extensions.TypedDict, total=False): ] kind: str logConfig: SubnetworkLogConfig - metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] + metadata: typing.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] name: str network: str params: SubnetworkParams privateIpGoogleAccess: bool - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "DISABLE_GOOGLE_ACCESS", "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", ] - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "AGGREGATE", "CLOUD_EXTENSION", "CUSTOM_HARDWARE_LINK", @@ -10994,25 +10766,25 @@ class Subnetwork(typing_extensions.TypedDict, total=False): ] region: str reservedInternalRange: str - resolveSubnetMask: typing_extensions.Literal[ + resolveSubnetMask: typing.Literal[ "ARP_ALL_RANGES", "ARP_BROADCAST_PRIMARY_RANGE", "ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING", "ARP_PRIMARY_RANGE", ] - role: typing_extensions.Literal["ACTIVE", "BACKUP"] + role: typing.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[SubnetworkSecondaryRange] selfLink: str selfLinkWithId: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] - state: typing_extensions.Literal["DRAINING", "READY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + state: typing.Literal["DRAINING", "READY"] systemReservedExternalIpv6Ranges: _list[str] systemReservedInternalIpv6Ranges: _list[str] utilizationDetails: SubnetworkUtilizationDetails vlans: _list[int] @typing.type_check_only -class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): +class SubnetworkAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11022,7 +10794,7 @@ class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworkList(typing_extensions.TypedDict, total=False): +class SubnetworkList(typing.TypedDict, total=False): id: str items: _list[Subnetwork] kind: str @@ -11031,8 +10803,8 @@ class SubnetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class SubnetworkLogConfig(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "INTERVAL_10_MIN", "INTERVAL_15_MIN", "INTERVAL_1_MIN", @@ -11043,88 +10815,82 @@ class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): enable: bool filterExpr: str flowSampling: float - metadata: typing_extensions.Literal[ + metadata: typing.Literal[ "CUSTOM_METADATA", "EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA" ] metadataFields: _list[str] @typing.type_check_only -class SubnetworkParams(typing_extensions.TypedDict, total=False): +class SubnetworkParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class SubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "IP_VERSION_UNSPECIFIED"] + ipVersion: typing.Literal["IPV4", "IPV6", "IP_VERSION_UNSPECIFIED"] rangeName: str reservedInternalRange: str @typing.type_check_only -class SubnetworkUtilizationDetails(typing_extensions.TypedDict, total=False): +class SubnetworkUtilizationDetails(typing.TypedDict, total=False): externalIpv6InstanceUtilization: SubnetworkUtilizationDetailsIPV6Utilization externalIpv6LbUtilization: SubnetworkUtilizationDetailsIPV6Utilization internalIpv6Utilization: SubnetworkUtilizationDetailsIPV6Utilization ipv4Utilizations: _list[SubnetworkUtilizationDetailsIPV4Utilization] @typing.type_check_only -class SubnetworkUtilizationDetailsIPV4Utilization( - typing_extensions.TypedDict, total=False -): +class SubnetworkUtilizationDetailsIPV4Utilization(typing.TypedDict, total=False): rangeName: str totalAllocatedIp: str totalFreeIp: str @typing.type_check_only -class SubnetworkUtilizationDetailsIPV6Utilization( - typing_extensions.TypedDict, total=False -): +class SubnetworkUtilizationDetailsIPV6Utilization(typing.TypedDict, total=False): totalAllocatedIp: Uint128 totalFreeIp: Uint128 @typing.type_check_only -class SubnetworksExpandIpCidrRangeRequest(typing_extensions.TypedDict, total=False): +class SubnetworksExpandIpCidrRangeRequest(typing.TypedDict, total=False): ipCidrRange: str @typing.type_check_only -class SubnetworksScopedList(typing_extensions.TypedDict, total=False): +class SubnetworksScopedList(typing.TypedDict, total=False): subnetworks: _list[Subnetwork] warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworksScopedWarning(typing_extensions.TypedDict, total=False): +class SubnetworksScopedWarning(typing.TypedDict, total=False): scopeName: str warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworksSetPrivateIpGoogleAccessRequest( - typing_extensions.TypedDict, total=False -): +class SubnetworksSetPrivateIpGoogleAccessRequest(typing.TypedDict, total=False): privateIpGoogleAccess: bool @typing.type_check_only -class Subsetting(typing_extensions.TypedDict, total=False): - policy: typing_extensions.Literal["CONSISTENT_HASH_SUBSETTING", "NONE"] +class Subsetting(typing.TypedDict, total=False): + policy: typing.Literal["CONSISTENT_HASH_SUBSETTING", "NONE"] subsetSize: int @typing.type_check_only -class TCPHealthCheck(typing_extensions.TypedDict, total=False): +class TCPHealthCheck(typing.TypedDict, total=False): port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] request: str response: str @typing.type_check_only -class Tags(typing_extensions.TypedDict, total=False): +class Tags(typing.TypedDict, total=False): fingerprint: str items: _list[str] @typing.type_check_only -class TargetGrpcProxy(typing_extensions.TypedDict, total=False): +class TargetGrpcProxy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -11137,7 +10903,7 @@ class TargetGrpcProxy(typing_extensions.TypedDict, total=False): validateForProxyless: bool @typing.type_check_only -class TargetGrpcProxyList(typing_extensions.TypedDict, total=False): +class TargetGrpcProxyList(typing.TypedDict, total=False): id: str items: _list[TargetGrpcProxy] kind: str @@ -11146,12 +10912,12 @@ class TargetGrpcProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetHttpProxiesScopedList(typing.TypedDict, total=False): targetHttpProxies: _list[TargetHttpProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxy(typing_extensions.TypedDict, total=False): +class TargetHttpProxy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -11167,7 +10933,7 @@ class TargetHttpProxy(typing_extensions.TypedDict, total=False): urlMap: str @typing.type_check_only -class TargetHttpProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetHttpProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11177,7 +10943,7 @@ class TargetHttpProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxyList(typing_extensions.TypedDict, total=False): +class TargetHttpProxyList(typing.TypedDict, total=False): id: str items: _list[TargetHttpProxy] kind: str @@ -11186,30 +10952,24 @@ class TargetHttpProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxiesScopedList(typing.TypedDict, total=False): targetHttpsProxies: _list[TargetHttpsProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxiesSetCertificateMapRequest( - typing_extensions.TypedDict, total=False -): +class TargetHttpsProxiesSetCertificateMapRequest(typing.TypedDict, total=False): certificateMap: str @typing.type_check_only -class TargetHttpsProxiesSetQuicOverrideRequest( - typing_extensions.TypedDict, total=False -): - quicOverride: typing_extensions.Literal["DISABLE", "ENABLE", "NONE"] +class TargetHttpsProxiesSetQuicOverrideRequest(typing.TypedDict, total=False): + quicOverride: typing.Literal["DISABLE", "ENABLE", "NONE"] @typing.type_check_only -class TargetHttpsProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class TargetHttpsProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class TargetHttpsProxy(typing_extensions.TypedDict, total=False): +class TargetHttpsProxy(typing.TypedDict, total=False): authentication: str authorization: str authorizationPolicy: str @@ -11223,20 +10983,18 @@ class TargetHttpsProxy(typing_extensions.TypedDict, total=False): kind: str name: str proxyBind: bool - quicOverride: typing_extensions.Literal["DISABLE", "ENABLE", "NONE"] + quicOverride: typing.Literal["DISABLE", "ENABLE", "NONE"] region: str selfLink: str selfLinkWithId: str serverTlsPolicy: str sslCertificates: _list[str] sslPolicy: str - tlsEarlyData: typing_extensions.Literal[ - "DISABLED", "PERMISSIVE", "STRICT", "UNRESTRICTED" - ] + tlsEarlyData: typing.Literal["DISABLED", "PERMISSIVE", "STRICT", "UNRESTRICTED"] urlMap: str @typing.type_check_only -class TargetHttpsProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11246,7 +11004,7 @@ class TargetHttpsProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxyList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxyList(typing.TypedDict, total=False): id: str items: _list[TargetHttpsProxy] kind: str @@ -11255,14 +11013,14 @@ class TargetHttpsProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstance(typing_extensions.TypedDict, total=False): +class TargetInstance(typing.TypedDict, total=False): creationTimestamp: str description: str id: str instance: str kind: str name: str - natPolicy: typing_extensions.Literal["NO_NAT"] + natPolicy: typing.Literal["NO_NAT"] network: str securityPolicy: str selfLink: str @@ -11270,7 +11028,7 @@ class TargetInstance(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class TargetInstanceAggregatedList(typing_extensions.TypedDict, total=False): +class TargetInstanceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11280,7 +11038,7 @@ class TargetInstanceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstanceList(typing_extensions.TypedDict, total=False): +class TargetInstanceList(typing.TypedDict, total=False): id: str items: _list[TargetInstance] kind: str @@ -11289,12 +11047,12 @@ class TargetInstanceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstancesScopedList(typing_extensions.TypedDict, total=False): +class TargetInstancesScopedList(typing.TypedDict, total=False): targetInstances: _list[TargetInstance] warning: dict[str, typing.Any] @typing.type_check_only -class TargetPool(typing_extensions.TypedDict, total=False): +class TargetPool(typing.TypedDict, total=False): backupPool: str creationTimestamp: str description: str @@ -11308,7 +11066,7 @@ class TargetPool(typing_extensions.TypedDict, total=False): securityPolicy: str selfLink: str selfLinkWithId: str - sessionAffinity: typing_extensions.Literal[ + sessionAffinity: typing.Literal[ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", @@ -11321,7 +11079,7 @@ class TargetPool(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TargetPoolAggregatedList(typing_extensions.TypedDict, total=False): +class TargetPoolAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11331,12 +11089,12 @@ class TargetPoolAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetPoolInstanceHealth(typing_extensions.TypedDict, total=False): +class TargetPoolInstanceHealth(typing.TypedDict, total=False): healthStatus: _list[HealthStatus] kind: str @typing.type_check_only -class TargetPoolList(typing_extensions.TypedDict, total=False): +class TargetPoolList(typing.TypedDict, total=False): id: str items: _list[TargetPool] kind: str @@ -11345,68 +11103,62 @@ class TargetPoolList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetPoolsAddHealthCheckRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsAddHealthCheckRequest(typing.TypedDict, total=False): healthChecks: _list[HealthCheckReference] @typing.type_check_only -class TargetPoolsAddInstanceRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsAddInstanceRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class TargetPoolsRemoveHealthCheckRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsRemoveHealthCheckRequest(typing.TypedDict, total=False): healthChecks: _list[HealthCheckReference] @typing.type_check_only -class TargetPoolsRemoveInstanceRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsRemoveInstanceRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class TargetPoolsScopedList(typing_extensions.TypedDict, total=False): +class TargetPoolsScopedList(typing.TypedDict, total=False): targetPools: _list[TargetPool] warning: dict[str, typing.Any] @typing.type_check_only -class TargetReference(typing_extensions.TypedDict, total=False): +class TargetReference(typing.TypedDict, total=False): target: str @typing.type_check_only -class TargetSslProxiesSetBackendServiceRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetBackendServiceRequest(typing.TypedDict, total=False): service: str @typing.type_check_only -class TargetSslProxiesSetCertificateMapRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetCertificateMapRequest(typing.TypedDict, total=False): certificateMap: str @typing.type_check_only -class TargetSslProxiesSetProxyHeaderRequest(typing_extensions.TypedDict, total=False): - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] +class TargetSslProxiesSetProxyHeaderRequest(typing.TypedDict, total=False): + proxyHeader: typing.Literal["NONE", "PROXY_V1"] @typing.type_check_only -class TargetSslProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class TargetSslProxy(typing_extensions.TypedDict, total=False): +class TargetSslProxy(typing.TypedDict, total=False): certificateMap: str creationTimestamp: str description: str id: str kind: str name: str - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] selfLink: str service: str sslCertificates: _list[str] sslPolicy: str @typing.type_check_only -class TargetSslProxyList(typing_extensions.TypedDict, total=False): +class TargetSslProxyList(typing.TypedDict, total=False): id: str items: _list[TargetSslProxy] kind: str @@ -11415,27 +11167,25 @@ class TargetSslProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetTcpProxiesScopedList(typing.TypedDict, total=False): targetTcpProxies: _list[TargetTcpProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxiesSetBackendServiceRequest( - typing_extensions.TypedDict, total=False -): +class TargetTcpProxiesSetBackendServiceRequest(typing.TypedDict, total=False): service: str @typing.type_check_only -class TargetTcpProxiesSetProxyHeaderRequest(typing_extensions.TypedDict, total=False): - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] +class TargetTcpProxiesSetProxyHeaderRequest(typing.TypedDict, total=False): + proxyHeader: typing.Literal["NONE", "PROXY_V1"] @typing.type_check_only -class TargetTcpProxy(typing_extensions.TypedDict, total=False): +class TargetTcpProxy(typing.TypedDict, total=False): creationTimestamp: str description: str id: str kind: str - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL_MANAGED", @@ -11443,13 +11193,13 @@ class TargetTcpProxy(typing_extensions.TypedDict, total=False): ] name: str proxyBind: bool - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] region: str selfLink: str service: str @typing.type_check_only -class TargetTcpProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetTcpProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11459,7 +11209,7 @@ class TargetTcpProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxyList(typing_extensions.TypedDict, total=False): +class TargetTcpProxyList(typing.TypedDict, total=False): id: str items: _list[TargetTcpProxy] kind: str @@ -11468,7 +11218,7 @@ class TargetTcpProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGateway(typing_extensions.TypedDict, total=False): +class TargetVpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str forwardingRules: _list[str] @@ -11481,11 +11231,11 @@ class TargetVpnGateway(typing_extensions.TypedDict, total=False): params: TargetVpnGatewayParams region: str selfLink: str - status: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY"] tunnels: _list[str] @typing.type_check_only -class TargetVpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11495,7 +11245,7 @@ class TargetVpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewayList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayList(typing.TypedDict, total=False): id: str items: _list[TargetVpnGateway] kind: str @@ -11504,16 +11254,16 @@ class TargetVpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewayParams(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewaysScopedList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewaysScopedList(typing.TypedDict, total=False): targetVpnGateways: _list[TargetVpnGateway] warning: dict[str, typing.Any] @typing.type_check_only -class TestFailure(typing_extensions.TypedDict, total=False): +class TestFailure(typing.TypedDict, total=False): actualOutputUrl: str actualRedirectResponseCode: int actualService: str @@ -11525,63 +11275,63 @@ class TestFailure(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class TestPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class TlsCertificateContext(typing_extensions.TypedDict, total=False): +class TlsCertificateContext(typing.TypedDict, total=False): certificatePaths: TlsCertificatePaths - certificateSource: typing_extensions.Literal["INVALID", "USE_PATH", "USE_SDS"] + certificateSource: typing.Literal["INVALID", "USE_PATH", "USE_SDS"] sdsConfig: SdsConfig @typing.type_check_only -class TlsCertificatePaths(typing_extensions.TypedDict, total=False): +class TlsCertificatePaths(typing.TypedDict, total=False): certificatePath: str privateKeyPath: str @typing.type_check_only -class TlsContext(typing_extensions.TypedDict, total=False): +class TlsContext(typing.TypedDict, total=False): certificateContext: TlsCertificateContext validationContext: TlsValidationContext @typing.type_check_only -class TlsValidationContext(typing_extensions.TypedDict, total=False): +class TlsValidationContext(typing.TypedDict, total=False): certificatePath: str sdsConfig: SdsConfig - validationSource: typing_extensions.Literal["INVALID", "USE_PATH", "USE_SDS"] + validationSource: typing.Literal["INVALID", "USE_PATH", "USE_SDS"] @typing.type_check_only -class UDPHealthCheck(typing_extensions.TypedDict, total=False): +class UDPHealthCheck(typing.TypedDict, total=False): port: int portName: str request: str response: str @typing.type_check_only -class Uint128(typing_extensions.TypedDict, total=False): +class Uint128(typing.TypedDict, total=False): high: str low: str @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): canReschedule: bool date: str latestWindowStartTime: str - maintenanceMethod: typing_extensions.Literal[ + maintenanceMethod: typing.Literal[ "LIVE_UPDATE", "MAINTENANCE_METHOD_UNSPECIFIED", "TERMINATION" ] maintenanceOnShutdown: bool maintenanceReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "FAILURE_DISK", "FAILURE_GPU", "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", @@ -11601,22 +11351,20 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): "PLANNED_UPDATE", ] ] - maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] + maintenanceStatus: typing.Literal["ONGOING", "PENDING", "UNKNOWN"] startTimeWindow: UpcomingMaintenanceTimeWindow time: str - type: typing_extensions.Literal[ - "MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED" - ] + type: typing.Literal["MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED"] windowEndTime: str windowStartTime: str @typing.type_check_only -class UpcomingMaintenanceTimeWindow(typing_extensions.TypedDict, total=False): +class UpcomingMaintenanceTimeWindow(typing.TypedDict, total=False): earliest: str latest: str @typing.type_check_only -class UrlMap(typing_extensions.TypedDict, total=False): +class UrlMap(typing.TypedDict, total=False): creationTimestamp: str defaultCustomErrorResponsePolicy: CustomErrorResponsePolicy defaultRouteAction: HttpRouteAction @@ -11636,7 +11384,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): tests: _list[UrlMapTest] @typing.type_check_only -class UrlMapList(typing_extensions.TypedDict, total=False): +class UrlMapList(typing.TypedDict, total=False): id: str items: _list[UrlMap] kind: str @@ -11645,20 +11393,20 @@ class UrlMapList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapQuotaUsage(typing_extensions.TypedDict, total=False): +class UrlMapQuotaUsage(typing.TypedDict, total=False): forwardingRules: int units: str @typing.type_check_only -class UrlMapReference(typing_extensions.TypedDict, total=False): +class UrlMapReference(typing.TypedDict, total=False): urlMap: str @typing.type_check_only -class UrlMapStatus(typing_extensions.TypedDict, total=False): +class UrlMapStatus(typing.TypedDict, total=False): quotaUsage: UrlMapQuotaUsage @typing.type_check_only -class UrlMapTest(typing_extensions.TypedDict, total=False): +class UrlMapTest(typing.TypedDict, total=False): backendServiceWeight: int description: str expectedOutputUrl: str @@ -11670,12 +11418,12 @@ class UrlMapTest(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class UrlMapTestHeader(typing_extensions.TypedDict, total=False): +class UrlMapTestHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class UrlMapValidationResult(typing_extensions.TypedDict, total=False): +class UrlMapValidationResult(typing.TypedDict, total=False): loadErrors: _list[str] loadSucceeded: bool quotaUsage: UrlMapQuotaUsage @@ -11683,7 +11431,7 @@ class UrlMapValidationResult(typing_extensions.TypedDict, total=False): testPassed: bool @typing.type_check_only -class UrlMapsAggregatedList(typing_extensions.TypedDict, total=False): +class UrlMapsAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11693,38 +11441,38 @@ class UrlMapsAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapsScopedList(typing_extensions.TypedDict, total=False): +class UrlMapsScopedList(typing.TypedDict, total=False): urlMaps: _list[UrlMap] warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapsValidateRequest(typing_extensions.TypedDict, total=False): +class UrlMapsValidateRequest(typing.TypedDict, total=False): loadBalancingSchemes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "LOAD_BALANCING_SCHEME_UNSPECIFIED" ] ] resource: UrlMap @typing.type_check_only -class UrlMapsValidateResponse(typing_extensions.TypedDict, total=False): +class UrlMapsValidateResponse(typing.TypedDict, total=False): result: UrlMapValidationResult @typing.type_check_only -class UrlRewrite(typing_extensions.TypedDict, total=False): +class UrlRewrite(typing.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str pathTemplateRewrite: str regexRewrite: RegexRewrite @typing.type_check_only -class UsableSubnetwork(typing_extensions.TypedDict, total=False): +class UsableSubnetwork(typing.TypedDict, total=False): externalIpv6Prefix: str internalIpv6Prefix: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] network: str - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "AGGREGATE", "CLOUD_EXTENSION", "CUSTOM_HARDWARE_LINK", @@ -11737,18 +11485,18 @@ class UsableSubnetwork(typing_extensions.TypedDict, total=False): "PRIVATE_SERVICE_CONNECT", "REGIONAL_MANAGED_PROXY", ] - role: typing_extensions.Literal["ACTIVE", "BACKUP"] + role: typing.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[UsableSubnetworkSecondaryRange] - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subnetwork: str @typing.type_check_only -class UsableSubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class UsableSubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str rangeName: str @typing.type_check_only -class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): +class UsableSubnetworksAggregatedList(typing.TypedDict, total=False): id: str items: _list[UsableSubnetwork] kind: str @@ -11759,19 +11507,17 @@ class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UsageExportLocation(typing_extensions.TypedDict, total=False): +class UsageExportLocation(typing.TypedDict, total=False): bucketName: str reportNamePrefix: str @typing.type_check_only -class VmEndpointNatMappings(typing_extensions.TypedDict, total=False): +class VmEndpointNatMappings(typing.TypedDict, total=False): instanceName: str interfaceNatMappings: _list[VmEndpointNatMappingsInterfaceNatMappings] @typing.type_check_only -class VmEndpointNatMappingsInterfaceNatMappings( - typing_extensions.TypedDict, total=False -): +class VmEndpointNatMappingsInterfaceNatMappings(typing.TypedDict, total=False): drainNatIpPortRanges: _list[str] natIpPortRanges: _list[str] numTotalDrainNatPorts: int @@ -11782,7 +11528,7 @@ class VmEndpointNatMappingsInterfaceNatMappings( @typing.type_check_only class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): drainNatIpPortRanges: _list[str] natIpPortRanges: _list[str] @@ -11791,7 +11537,7 @@ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings( ruleNumber: int @typing.type_check_only -class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): +class VmEndpointNatMappingsList(typing.TypedDict, total=False): id: str kind: str nextPageToken: str @@ -11800,17 +11546,17 @@ class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VmExtension(typing_extensions.TypedDict, total=False): +class VmExtension(typing.TypedDict, total=False): name: str versions: _list[str] @typing.type_check_only -class VmExtensionPoliciesScopedList(typing_extensions.TypedDict, total=False): +class VmExtensionPoliciesScopedList(typing.TypedDict, total=False): vmExtensionPolicies: _list[VmExtensionPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicy(typing_extensions.TypedDict, total=False): +class VmExtensionPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str extensionPolicies: dict[str, typing.Any] @@ -11823,11 +11569,11 @@ class VmExtensionPolicy(typing_extensions.TypedDict, total=False): priority: int selfLink: str selfLinkWithId: str - state: typing_extensions.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] + state: typing.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] updateTimestamp: str @typing.type_check_only -class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyAggregatedListResponse(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -11838,20 +11584,31 @@ class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyExtensionPolicy(typing.TypedDict, total=False): + installedSoftwareSelector: VmExtensionPolicyInstalledSoftwareSelector pinnedVersion: str stringConfig: str @typing.type_check_only -class VmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyInstalledSoftwareSelector(typing.TypedDict, total=False): + anyOfSelectors: dict[str, typing.Any] + +@typing.type_check_only +class VmExtensionPolicyInstalledSoftwareSelectorSelectorSet( + typing.TypedDict, total=False +): + allOfSelectors: _list[str] + +@typing.type_check_only +class VmExtensionPolicyInstanceSelector(typing.TypedDict, total=False): labelSelector: VmExtensionPolicyLabelSelector @typing.type_check_only -class VmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyLabelSelector(typing.TypedDict, total=False): inclusionLabels: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[VmExtensionPolicy] @@ -11862,9 +11619,9 @@ class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionState(typing_extensions.TypedDict, total=False): +class VmExtensionState(typing.TypedDict, total=False): enforcementMsg: str - enforcementState: typing_extensions.Literal[ + enforcementState: typing.Literal[ "APPLYING_CONFIG", "ENFORCEMENT_STATE_UNSPECIFIED", "INCOMPATIBLE", @@ -11878,7 +11635,7 @@ class VmExtensionState(typing_extensions.TypedDict, total=False): "SERVICE_DISABLED", ] healthMsg: str - healthStatus: typing_extensions.Literal[ + healthStatus: typing.Literal[ "CRASHED", "HEALTH_STATUS_UNSPECIFIED", "RUNNING", @@ -11891,10 +11648,10 @@ class VmExtensionState(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class VpnGateway(typing_extensions.TypedDict, total=False): +class VpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str - gatewayIpVersion: typing_extensions.Literal["IPV4", "IPV6"] + gatewayIpVersion: typing.Literal["IPV4", "IPV6"] id: str kind: str labelFingerprint: str @@ -11904,11 +11661,11 @@ class VpnGateway(typing_extensions.TypedDict, total=False): params: VpnGatewayParams region: str selfLink: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] vpnInterfaces: _list[VpnGatewayVpnGatewayInterface] @typing.type_check_only -class VpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): +class VpnGatewayAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -11918,7 +11675,7 @@ class VpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayList(typing_extensions.TypedDict, total=False): +class VpnGatewayList(typing.TypedDict, total=False): id: str items: _list[VpnGateway] kind: str @@ -11927,54 +11684,50 @@ class VpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayParams(typing_extensions.TypedDict, total=False): +class VpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayStatus(typing_extensions.TypedDict, total=False): +class VpnGatewayStatus(typing.TypedDict, total=False): vpnConnections: _list[VpnGatewayStatusVpnConnection] @typing.type_check_only -class VpnGatewayStatusHighAvailabilityRequirementState( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ - "CONNECTION_REDUNDANCY_MET", "CONNECTION_REDUNDANCY_NOT_MET" - ] - unsatisfiedReason: typing_extensions.Literal["INCOMPLETE_TUNNELS_COVERAGE"] +class VpnGatewayStatusHighAvailabilityRequirementState(typing.TypedDict, total=False): + state: typing.Literal["CONNECTION_REDUNDANCY_MET", "CONNECTION_REDUNDANCY_NOT_MET"] + unsatisfiedReason: typing.Literal["INCOMPLETE_TUNNELS_COVERAGE"] @typing.type_check_only -class VpnGatewayStatusTunnel(typing_extensions.TypedDict, total=False): +class VpnGatewayStatusTunnel(typing.TypedDict, total=False): localGatewayInterface: int peerGatewayInterface: int tunnelUrl: str @typing.type_check_only -class VpnGatewayStatusVpnConnection(typing_extensions.TypedDict, total=False): +class VpnGatewayStatusVpnConnection(typing.TypedDict, total=False): peerExternalGateway: str peerGcpGateway: str state: VpnGatewayStatusHighAvailabilityRequirementState tunnels: _list[VpnGatewayStatusTunnel] @typing.type_check_only -class VpnGatewayVpnGatewayInterface(typing_extensions.TypedDict, total=False): +class VpnGatewayVpnGatewayInterface(typing.TypedDict, total=False): id: int interconnectAttachment: str ipAddress: str ipv6Address: str @typing.type_check_only -class VpnGatewaysGetStatusResponse(typing_extensions.TypedDict, total=False): +class VpnGatewaysGetStatusResponse(typing.TypedDict, total=False): result: VpnGatewayStatus @typing.type_check_only -class VpnGatewaysScopedList(typing_extensions.TypedDict, total=False): +class VpnGatewaysScopedList(typing.TypedDict, total=False): vpnGateways: _list[VpnGateway] warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnel(typing_extensions.TypedDict, total=False): - capacityTier: typing_extensions.Literal["DEFAULT", "HIGH"] +class VpnTunnel(typing.TypedDict, total=False): + capacityTier: typing.Literal["DEFAULT", "HIGH"] cipherSuite: VpnTunnelCipherSuite creationTimestamp: str description: str @@ -11991,13 +11744,15 @@ class VpnTunnel(typing_extensions.TypedDict, total=False): peerExternalGatewayInterface: int peerGcpGateway: str peerIp: str + pqcPhase1: VpnTunnelPqc + pqcPhase2: VpnTunnelPqc region: str remoteTrafficSelector: _list[str] router: str selfLink: str sharedSecret: str sharedSecretHash: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ALLOCATING_RESOURCES", "AUTHORIZATION_ERROR", "DEPROVISIONING", @@ -12017,7 +11772,66 @@ class VpnTunnel(typing_extensions.TypedDict, total=False): vpnGatewayInterface: int @typing.type_check_only -class VpnTunnelAggregatedList(typing_extensions.TypedDict, total=False): +class VpnTunnelAdditionalKeyExchanges(typing.TypedDict, total=False): + ke1s: _list[ + typing.Literal[ + "KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED", + "KE_NONE", + "ML_KEM_1024", + "ML_KEM_768", + ] + ] + ke2s: _list[ + typing.Literal[ + "KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED", + "KE_NONE", + "ML_KEM_1024", + "ML_KEM_768", + ] + ] + ke3s: _list[ + typing.Literal[ + "KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED", + "KE_NONE", + "ML_KEM_1024", + "ML_KEM_768", + ] + ] + ke4s: _list[ + typing.Literal[ + "KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED", + "KE_NONE", + "ML_KEM_1024", + "ML_KEM_768", + ] + ] + ke5s: _list[ + typing.Literal[ + "KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED", + "KE_NONE", + "ML_KEM_1024", + "ML_KEM_768", + ] + ] + ke6s: _list[ + typing.Literal[ + "KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED", + "KE_NONE", + "ML_KEM_1024", + "ML_KEM_768", + ] + ] + ke7s: _list[ + typing.Literal[ + "KEY_ENCAPSULATION_MECHANISM_UNSPECIFIED", + "KE_NONE", + "ML_KEM_1024", + "ML_KEM_768", + ] + ] + +@typing.type_check_only +class VpnTunnelAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -12027,12 +11841,12 @@ class VpnTunnelAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelCipherSuite(typing_extensions.TypedDict, total=False): +class VpnTunnelCipherSuite(typing.TypedDict, total=False): phase1: VpnTunnelPhase1Algorithms phase2: VpnTunnelPhase2Algorithms @typing.type_check_only -class VpnTunnelList(typing_extensions.TypedDict, total=False): +class VpnTunnelList(typing.TypedDict, total=False): id: str items: _list[VpnTunnel] kind: str @@ -12041,62 +11855,67 @@ class VpnTunnelList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelParams(typing_extensions.TypedDict, total=False): +class VpnTunnelParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelPhase1Algorithms(typing_extensions.TypedDict, total=False): +class VpnTunnelPhase1Algorithms(typing.TypedDict, total=False): dh: _list[str] encryption: _list[str] integrity: _list[str] prf: _list[str] @typing.type_check_only -class VpnTunnelPhase2Algorithms(typing_extensions.TypedDict, total=False): +class VpnTunnelPhase2Algorithms(typing.TypedDict, total=False): encryption: _list[str] integrity: _list[str] pfs: _list[str] @typing.type_check_only -class VpnTunnelsScopedList(typing_extensions.TypedDict, total=False): +class VpnTunnelPqc(typing.TypedDict, total=False): + keys: VpnTunnelAdditionalKeyExchanges + mode: typing.Literal["DISABLED", "ENABLED", "PQC_MODE_UNSPECIFIED"] + +@typing.type_check_only +class VpnTunnelsScopedList(typing.TypedDict, total=False): vpnTunnels: _list[VpnTunnel] warning: dict[str, typing.Any] @typing.type_check_only -class WafExpressionSet(typing_extensions.TypedDict, total=False): +class WafExpressionSet(typing.TypedDict, total=False): aliases: _list[str] expressions: _list[WafExpressionSetExpression] id: str @typing.type_check_only -class WafExpressionSetExpression(typing_extensions.TypedDict, total=False): +class WafExpressionSetExpression(typing.TypedDict, total=False): id: str sensitivity: int @typing.type_check_only -class WaitForReplicationCatchUpRequest(typing_extensions.TypedDict, total=False): +class WaitForReplicationCatchUpRequest(typing.TypedDict, total=False): maxWaitDuration: str @typing.type_check_only -class WeightedBackendService(typing_extensions.TypedDict, total=False): +class WeightedBackendService(typing.TypedDict, total=False): backendService: str headerAction: HttpHeaderAction weight: int @typing.type_check_only -class Wire(typing_extensions.TypedDict, total=False): +class Wire(typing.TypedDict, total=False): adminEnabled: bool endpoints: _list[WireEndpoint] label: str wireProperties: WireProperties @typing.type_check_only -class WireEndpoint(typing_extensions.TypedDict, total=False): +class WireEndpoint(typing.TypedDict, total=False): interconnect: str vlanTag: int @typing.type_check_only -class WireGroup(typing_extensions.TypedDict, total=False): +class WireGroup(typing.TypedDict, total=False): adminEnabled: bool creationTimestamp: str description: str @@ -12115,16 +11934,16 @@ class WireGroup(typing_extensions.TypedDict, total=False): wires: _list[Wire] @typing.type_check_only -class WireGroupEndpoint(typing_extensions.TypedDict, total=False): +class WireGroupEndpoint(typing.TypedDict, total=False): interconnects: dict[str, typing.Any] @typing.type_check_only -class WireGroupEndpointInterconnect(typing_extensions.TypedDict, total=False): +class WireGroupEndpointInterconnect(typing.TypedDict, total=False): interconnect: str vlanTags: _list[int] @typing.type_check_only -class WireGroupList(typing_extensions.TypedDict, total=False): +class WireGroupList(typing.TypedDict, total=False): etag: str id: str items: _list[WireGroup] @@ -12135,12 +11954,12 @@ class WireGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class WireGroupProperties(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["BOX_AND_CROSS", "REDUNDANT", "WIRE"] +class WireGroupProperties(typing.TypedDict, total=False): + type: typing.Literal["BOX_AND_CROSS", "REDUNDANT", "WIRE"] @typing.type_check_only -class WireGroupServiceLevel(typing_extensions.TypedDict, total=False): - availabilityClass: typing_extensions.Literal[ +class WireGroupServiceLevel(typing.TypedDict, total=False): + availabilityClass: typing.Literal[ "AVAILABILITY_99", "AVAILABILITY_999", "AVAILABILITY_9995", @@ -12148,36 +11967,38 @@ class WireGroupServiceLevel(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WireGroupTopology(typing_extensions.TypedDict, total=False): +class WireGroupTopology(typing.TypedDict, total=False): endpoints: _list[WireGroupTopologyEndpoint] @typing.type_check_only -class WireGroupTopologyEndpoint(typing_extensions.TypedDict, total=False): +class WireGroupTopologyEndpoint(typing.TypedDict, total=False): city: str label: str @typing.type_check_only -class WireGroupWireInputs(typing_extensions.TypedDict, total=False): +class WireGroupWireInputs(typing.TypedDict, total=False): adminEnabled: bool wirePropertyOverrides: WireProperties @typing.type_check_only -class WireProperties(typing_extensions.TypedDict, total=False): - bandwidthAllocation: typing_extensions.Literal[ - "ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP" - ] +class WireProperties(typing.TypedDict, total=False): + bandwidthAllocation: typing.Literal["ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP"] bandwidthMetered: str bandwidthUnmetered: str - faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] - networkServiceClass: typing_extensions.Literal["BRONZE", "GOLD"] + faultResponse: typing.Literal["DISABLE_PORT", "NONE"] + flowManagement: typing.Literal["DYNAMIC_PATH", "FIXED_PATH"] + networkServiceClass: typing.Literal["BRONZE", "GOLD"] @typing.type_check_only -class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): +class WorkloadIdentityConfig(typing.TypedDict, total=False): identity: str identityCertificateEnabled: bool + identityType: typing.Literal[ + "AGENT_IDENTITY", "IDENTITY_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT" + ] @typing.type_check_only -class XpnHostList(typing_extensions.TypedDict, total=False): +class XpnHostList(typing.TypedDict, total=False): id: str items: _list[Project] kind: str @@ -12186,12 +12007,12 @@ class XpnHostList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class XpnResourceId(typing_extensions.TypedDict, total=False): +class XpnResourceId(typing.TypedDict, total=False): id: str - type: typing_extensions.Literal["PROJECT", "XPN_RESOURCE_TYPE_UNSPECIFIED"] + type: typing.Literal["PROJECT", "XPN_RESOURCE_TYPE_UNSPECIFIED"] @typing.type_check_only -class Zone(typing_extensions.TypedDict, total=False): +class Zone(typing.TypedDict, total=False): availableCpuPlatforms: _list[str] creationTimestamp: str deprecated: DeprecationStatus @@ -12202,11 +12023,11 @@ class Zone(typing_extensions.TypedDict, total=False): region: str resourceStatus: ZoneResourceStatus selfLink: str - status: typing_extensions.Literal["DOWN", "UP"] + status: typing.Literal["DOWN", "UP"] supportsPzs: bool @typing.type_check_only -class ZoneList(typing_extensions.TypedDict, total=False): +class ZoneList(typing.TypedDict, total=False): id: str items: _list[Zone] kind: str @@ -12215,16 +12036,16 @@ class ZoneList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ZoneResourceStatus(typing_extensions.TypedDict, total=False): +class ZoneResourceStatus(typing.TypedDict, total=False): upcomingMaintenances: _list[PeriodicPartialMaintenanceSchedule] @typing.type_check_only -class ZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): +class ZoneSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class ZoneSetPolicyRequest(typing_extensions.TypedDict, total=False): +class ZoneSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy diff --git a/googleapiclient-stubs/_apis/compute/beta/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index ca6b48426..b478b8f04 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -1193,7 +1192,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, forwardingRule: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( @@ -1424,7 +1423,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, forwardingRule: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( @@ -2659,9 +2658,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, instanceTemplate: str, - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateHttpRequest: ... @@ -2690,9 +2687,7 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateListHttpRequest: ... @@ -2836,9 +2831,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, zone: str, instance: str, - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceHttpRequest: ... @@ -2919,9 +2912,7 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceListHttpRequest: ... @@ -3226,11 +3217,9 @@ class ComputeResource(googleapiclient.discovery.Resource): instance: str, body: Instance, discardLocalSsd: bool | None = ..., - minimalAction: typing_extensions.Literal[ - "INVALID", "NO_EFFECT", "REFRESH", "RESTART" - ] + minimalAction: typing.Literal["INVALID", "NO_EFFECT", "REFRESH", "RESTART"] | None = ..., - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "INVALID", "NO_EFFECT", "REFRESH", "RESTART" ] | None = ..., @@ -4047,6 +4036,28 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_response: MachineTypeList, ) -> MachineTypeListHttpRequest | None: ... + @typing.type_check_only + class ManagedRulesetsResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, managedRuleset: str, **kwargs: typing.Any + ) -> ManagedRulesetHttpRequest: ... + def list( + self, + *, + project: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ManagedRulesetListHttpRequest: ... + def list_next( + self, + previous_request: ManagedRulesetListHttpRequest, + previous_response: ManagedRulesetList, + ) -> ManagedRulesetListHttpRequest | None: ... + @typing.type_check_only class NetworkAttachmentsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -4606,7 +4617,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, network: str, - direction: typing_extensions.Literal["INCOMING", "OUTGOING"] | None = ..., + direction: typing.Literal["INCOMING", "OUTGOING"] | None = ..., filter: str | None = ..., maxResults: int | None = ..., orderBy: str | None = ..., @@ -7042,9 +7053,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, instanceTemplate: str, - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateHttpRequest: ... @@ -7067,9 +7076,7 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - view: typing_extensions.Literal[ - "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" - ] + view: typing.Literal["BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED"] | None = ..., **kwargs: typing.Any, ) -> InstanceTemplateListHttpRequest: ... @@ -8491,6 +8498,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( @@ -8500,7 +8529,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, reservation: str, reservationBlock: str, - view: typing_extensions.Literal["BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL"] + view: typing.Literal["BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ReservationBlocksGetResponseHttpRequest: ... @@ -8625,7 +8654,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, parentName: str, reservationSubBlock: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "SUB_BLOCK_VIEW_BASIC", "SUB_BLOCK_VIEW_FULL", "SUB_BLOCK_VIEW_UNSPECIFIED", @@ -9169,9 +9198,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, router: str, - addressFamily: typing_extensions.Literal[ - "IPV4", "IPV6", "UNSPECIFIED_IP_VERSION" - ] + addressFamily: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_IP_VERSION"] | None = ..., destinationPrefix: str | None = ..., filter: str | None = ..., @@ -9181,9 +9208,7 @@ class ComputeResource(googleapiclient.discovery.Resource): peer: str | None = ..., policyApplied: bool | None = ..., returnPartialSuccess: bool | None = ..., - routeType: typing_extensions.Literal[ - "ADVERTISED", "LEARNED", "UNSPECIFIED_ROUTE_TYPE" - ] + routeType: typing.Literal["ADVERTISED", "LEARNED", "UNSPECIFIED_ROUTE_TYPE"] | None = ..., **kwargs: typing.Any, ) -> RoutersListBgpRoutesHttpRequest: ... @@ -10074,8 +10099,8 @@ class ComputeResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., serviceProjectNumber: str | None = ..., - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkAggregatedListHttpRequest: ... @@ -10109,8 +10134,8 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, subnetwork: str, - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkHttpRequest: ... @@ -10142,8 +10167,8 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkListHttpRequest: ... @@ -11419,6 +11444,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def licenses(self) -> LicensesResource: ... def machineImages(self) -> MachineImagesResource: ... def machineTypes(self) -> MachineTypesResource: ... + def managedRulesets(self) -> ManagedRulesetsResource: ... def networkAttachments(self) -> NetworkAttachmentsResource: ... def networkEdgeSecurityServices(self) -> NetworkEdgeSecurityServicesResource: ... def networkEndpointGroups(self) -> NetworkEndpointGroupsResource: ... @@ -11480,6 +11506,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: ... @@ -12605,6 +12632,22 @@ class MachineTypeListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> MachineTypeList: ... +@typing.type_check_only +class ManagedRulesetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ManagedRuleset: ... + +@typing.type_check_only +class ManagedRulesetListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ManagedRulesetList: ... + @typing.type_check_only class MultiMigHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13185,6 +13228,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..1aa5c1098 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -1,29 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AWSV4Signature(typing_extensions.TypedDict, total=False): +class AWSV4Signature(typing.TypedDict, total=False): accessKey: str accessKeyId: str accessKeyVersion: str originRegion: str @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: int acceleratorType: str @typing.type_check_only -class AcceleratorTopologiesInfo(typing_extensions.TypedDict, total=False): +class AcceleratorTopologiesInfo(typing.TypedDict, total=False): acceleratorTopologyInfos: _list[AcceleratorTopologiesInfoAcceleratorTopologyInfo] @typing.type_check_only -class AcceleratorTopologiesInfoAcceleratorTopologyInfo( - typing_extensions.TypedDict, total=False -): +class AcceleratorTopologiesInfoAcceleratorTopologyInfo(typing.TypedDict, total=False): acceleratorTopology: str infoPerTopologyStates: _list[ AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState @@ -31,15 +27,15 @@ class AcceleratorTopologiesInfoAcceleratorTopologyInfo( @typing.type_check_only class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: int - state: typing_extensions.Literal[ + state: typing.Literal[ "AVAILABLE", "DEGRADED", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" ] @typing.type_check_only -class AcceleratorType(typing_extensions.TypedDict, total=False): +class AcceleratorType(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -51,7 +47,7 @@ class AcceleratorType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class AcceleratorTypeAggregatedList(typing_extensions.TypedDict, total=False): +class AcceleratorTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -61,7 +57,7 @@ class AcceleratorTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AcceleratorTypeList(typing_extensions.TypedDict, total=False): +class AcceleratorTypeList(typing.TypedDict, total=False): id: str items: _list[AcceleratorType] kind: str @@ -70,45 +66,45 @@ class AcceleratorTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AcceleratorTypesScopedList(typing_extensions.TypedDict, total=False): +class AcceleratorTypesScopedList(typing.TypedDict, total=False): acceleratorTypes: _list[AcceleratorType] warning: dict[str, typing.Any] @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): externalIpv6: str externalIpv6PrefixLength: int kind: str name: str natIP: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] publicPtrDomainName: str securityPolicy: str setPublicPtr: bool - type: typing_extensions.Literal["DIRECT_IPV6", "ONE_TO_ONE_NAT"] + type: typing.Literal["DIRECT_IPV6", "ONE_TO_ONE_NAT"] @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): address: str - addressType: typing_extensions.Literal["EXTERNAL", "INTERNAL", "UNSPECIFIED_TYPE"] + addressType: typing.Literal["EXTERNAL", "INTERNAL", "UNSPECIFIED_TYPE"] creationTimestamp: str description: str id: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] - ipv6EndpointType: typing_extensions.Literal["NETLB", "VM"] + ipVersion: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] + ipv6EndpointType: typing.Literal["NETLB", "VM"] kind: str labelFingerprint: str labels: dict[str, typing.Any] name: str network: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] prefixLength: int - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "DNS_RESOLVER", "GCE_ENDPOINT", "IPSEC_INTERCONNECT", @@ -123,12 +119,12 @@ class Address(typing_extensions.TypedDict, total=False): ] region: str selfLink: str - status: typing_extensions.Literal["IN_USE", "RESERVED", "RESERVING"] + status: typing.Literal["IN_USE", "RESERVED", "RESERVING"] subnetwork: str users: _list[str] @typing.type_check_only -class AddressAggregatedList(typing_extensions.TypedDict, total=False): +class AddressAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -138,7 +134,7 @@ class AddressAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AddressList(typing_extensions.TypedDict, total=False): +class AddressList(typing.TypedDict, total=False): id: str items: _list[Address] kind: str @@ -147,15 +143,15 @@ class AddressList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AddressesScopedList(typing_extensions.TypedDict, total=False): +class AddressesScopedList(typing.TypedDict, total=False): addresses: _list[Address] warning: dict[str, typing.Any] @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): enableNestedVirtualization: bool enableUefiNetworking: bool - performanceMonitoringUnit: typing_extensions.Literal[ + performanceMonitoringUnit: typing.Literal[ "ARCHITECTURAL", "ENHANCED", "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", @@ -166,18 +162,18 @@ class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): visibleCoreCount: int @typing.type_check_only -class AliasIpRange(typing_extensions.TypedDict, total=False): +class AliasIpRange(typing.TypedDict, total=False): ipCidrRange: str subnetworkRangeName: str @typing.type_check_only -class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): +class AllocationAggregateReservation(typing.TypedDict, total=False): hostCount: int inUseHostCount: int inUseInstanceCount: int inUseResources: _list[AllocationAggregateReservationReservedResourceInfo] reservedResources: _list[AllocationAggregateReservationReservedResourceInfo] - vmFamily: typing_extensions.Literal[ + vmFamily: typing.Literal[ "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", @@ -187,59 +183,53 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] - workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + workloadType: typing.Literal["BATCH", "SERVING", "UNSPECIFIED"] @typing.type_check_only -class AllocationAggregateReservationReservedResourceInfo( - typing_extensions.TypedDict, total=False -): +class AllocationAggregateReservationReservedResourceInfo(typing.TypedDict, total=False): accelerator: AllocationAggregateReservationReservedResourceInfoAccelerator @typing.type_check_only class AllocationAggregateReservationReservedResourceInfoAccelerator( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorCount: int acceleratorType: str @typing.type_check_only -class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=False): - serviceShareType: typing_extensions.Literal[ +class AllocationReservationSharingPolicy(typing.TypedDict, total=False): + serviceShareType: typing.Literal[ "ALLOW_ALL", "DISALLOW_ALL", "SERVICE_SHARE_TYPE_UNSPECIFIED" ] @typing.type_check_only -class AllocationResourceStatus(typing_extensions.TypedDict, total=False): +class AllocationResourceStatus(typing.TypedDict, total=False): healthInfo: AllocationResourceStatusHealthInfo reservationBlockCount: int reservationMaintenance: GroupMaintenanceInfo specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation @typing.type_check_only -class AllocationResourceStatusHealthInfo(typing_extensions.TypedDict, total=False): +class AllocationResourceStatusHealthInfo(typing.TypedDict, total=False): degradedBlockCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthyBlockCount: int @typing.type_check_only -class AllocationResourceStatusSpecificSKUAllocation( - typing_extensions.TypedDict, total=False -): +class AllocationResourceStatusSpecificSKUAllocation(typing.TypedDict, total=False): sourceInstanceTemplateId: str utilizations: dict[str, typing.Any] @typing.type_check_only class AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): diskSizeGb: str - interface: typing_extensions.Literal["NVME", "SCSI"] + interface: typing.Literal["NVME", "SCSI"] @typing.type_check_only class AllocationSpecificSKUAllocationReservedInstanceProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): guestAccelerators: _list[AcceleratorConfig] localSsds: _list[ @@ -248,11 +238,11 @@ class AllocationSpecificSKUAllocationReservedInstanceProperties( locationHint: str machineType: str maintenanceFreezeDurationHours: int - maintenanceInterval: typing_extensions.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] + maintenanceInterval: typing.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] minCpuPlatform: str @typing.type_check_only -class AllocationSpecificSKUReservation(typing_extensions.TypedDict, total=False): +class AllocationSpecificSKUReservation(typing.TypedDict, total=False): assuredCount: str count: str inUseCount: str @@ -260,10 +250,8 @@ class AllocationSpecificSKUReservation(typing_extensions.TypedDict, total=False) sourceInstanceTemplate: str @typing.type_check_only -class AttachedDisk(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class AttachedDisk(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] autoDelete: bool boot: bool deviceName: str @@ -273,21 +261,19 @@ class AttachedDisk(typing_extensions.TypedDict, total=False): guestOsFeatures: _list[GuestOsFeature] index: int initializeParams: AttachedDiskInitializeParams - interface: typing_extensions.Literal["NVME", "SCSI"] + interface: typing.Literal["NVME", "SCSI"] kind: str licenses: _list[str] locked: bool - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] - savedState: typing_extensions.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] + savedState: typing.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] shieldedInstanceInitialState: InitialStateConfig source: str - type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] + type: typing.Literal["PERSISTENT", "SCRATCH"] @typing.type_check_only -class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class AttachedDiskInitializeParams(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] description: str diskName: str diskSizeGb: str @@ -297,7 +283,7 @@ class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] licenses: _list[str] multiWriter: bool - onUpdateAction: typing_extensions.Literal[ + onUpdateAction: typing.Literal[ "RECREATE_DISK", "RECREATE_DISK_IF_SOURCE_CHANGED", "USE_EXISTING_DISK" ] provisionedIops: str @@ -313,19 +299,19 @@ class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): storagePool: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "ADMIN_READ", "DATA_READ", "DATA_WRITE", "LOG_TYPE_UNSPECIFIED" ] @typing.type_check_only -class Autoscaler(typing_extensions.TypedDict, total=False): +class Autoscaler(typing.TypedDict, total=False): autoscalingPolicy: AutoscalingPolicy creationTimestamp: str description: str @@ -336,13 +322,13 @@ class Autoscaler(typing_extensions.TypedDict, total=False): region: str scalingScheduleStatus: dict[str, typing.Any] selfLink: str - status: typing_extensions.Literal["ACTIVE", "DELETING", "ERROR", "PENDING"] + status: typing.Literal["ACTIVE", "DELETING", "ERROR", "PENDING"] statusDetails: _list[AutoscalerStatusDetails] target: str zone: str @typing.type_check_only -class AutoscalerAggregatedList(typing_extensions.TypedDict, total=False): +class AutoscalerAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -352,7 +338,7 @@ class AutoscalerAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalerList(typing_extensions.TypedDict, total=False): +class AutoscalerList(typing.TypedDict, total=False): id: str items: _list[Autoscaler] kind: str @@ -361,9 +347,9 @@ class AutoscalerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalerStatusDetails(typing_extensions.TypedDict, total=False): +class AutoscalerStatusDetails(typing.TypedDict, total=False): message: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ALL_INSTANCES_UNHEALTHY", "BACKEND_SERVICE_DOES_NOT_EXIST", "CAPPED_AT_MAX_NUM_REPLICAS", @@ -387,61 +373,57 @@ class AutoscalerStatusDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AutoscalersScopedList(typing_extensions.TypedDict, total=False): +class AutoscalersScopedList(typing.TypedDict, total=False): autoscalers: _list[Autoscaler] warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalingPolicy(typing_extensions.TypedDict, total=False): +class AutoscalingPolicy(typing.TypedDict, total=False): coolDownPeriodSec: int cpuUtilization: AutoscalingPolicyCpuUtilization customMetricUtilizations: _list[AutoscalingPolicyCustomMetricUtilization] loadBalancingUtilization: AutoscalingPolicyLoadBalancingUtilization maxNumReplicas: int minNumReplicas: int - mode: typing_extensions.Literal["OFF", "ON", "ONLY_SCALE_OUT", "ONLY_UP"] + mode: typing.Literal["OFF", "ON", "ONLY_SCALE_OUT", "ONLY_UP"] scaleDownControl: AutoscalingPolicyScaleDownControl scaleInControl: AutoscalingPolicyScaleInControl scalingSchedules: dict[str, typing.Any] stabilizationPeriodSec: int @typing.type_check_only -class AutoscalingPolicyCpuUtilization(typing_extensions.TypedDict, total=False): - predictiveMethod: typing_extensions.Literal[ +class AutoscalingPolicyCpuUtilization(typing.TypedDict, total=False): + predictiveMethod: typing.Literal[ "NONE", "OPTIMIZE_AVAILABILITY", "PREDICTIVE_METHOD_UNSPECIFIED" ] utilizationTarget: float @typing.type_check_only -class AutoscalingPolicyCustomMetricUtilization( - typing_extensions.TypedDict, total=False -): +class AutoscalingPolicyCustomMetricUtilization(typing.TypedDict, total=False): filter: str metric: str singleInstanceAssignment: float utilizationTarget: float - utilizationTargetType: typing_extensions.Literal[ + utilizationTargetType: typing.Literal[ "DELTA_PER_MINUTE", "DELTA_PER_SECOND", "GAUGE" ] @typing.type_check_only -class AutoscalingPolicyLoadBalancingUtilization( - typing_extensions.TypedDict, total=False -): +class AutoscalingPolicyLoadBalancingUtilization(typing.TypedDict, total=False): utilizationTarget: float @typing.type_check_only -class AutoscalingPolicyScaleDownControl(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScaleDownControl(typing.TypedDict, total=False): maxScaledDownReplicas: FixedOrPercent timeWindowSec: int @typing.type_check_only -class AutoscalingPolicyScaleInControl(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScaleInControl(typing.TypedDict, total=False): maxScaledInReplicas: FixedOrPercent timeWindowSec: int @typing.type_check_only -class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScalingSchedule(typing.TypedDict, total=False): description: str disabled: bool durationSec: int @@ -450,8 +432,8 @@ class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False) timeZone: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): - balancingMode: typing_extensions.Literal[ +class Backend(typing.TypedDict, total=False): + balancingMode: typing.Literal[ "CONNECTION", "CUSTOM_METRICS", "IN_FLIGHT", "RATE", "UTILIZATION" ] capacityScaler: float @@ -470,23 +452,19 @@ class Backend(typing_extensions.TypedDict, total=False): maxRatePerInstance: float maxUtilization: float orchestrationInfo: BackendBackendOrchestrationInfo - preference: typing_extensions.Literal[ - "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" - ] + preference: typing.Literal["DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED"] service: str - trafficDuration: typing_extensions.Literal[ - "LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED" - ] + trafficDuration: typing.Literal["LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED"] @typing.type_check_only -class BackendBackendOrchestrationInfo(typing_extensions.TypedDict, total=False): +class BackendBackendOrchestrationInfo(typing.TypedDict, total=False): resourceUri: str @typing.type_check_only -class BackendBucket(typing_extensions.TypedDict, total=False): +class BackendBucket(typing.TypedDict, total=False): bucketName: str cdnPolicy: BackendBucketCdnPolicy - compressionMode: typing_extensions.Literal["AUTOMATIC", "DISABLED"] + compressionMode: typing.Literal["AUTOMATIC", "DISABLED"] creationTimestamp: str customResponseHeaders: _list[str] description: str @@ -494,9 +472,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): enableCdn: bool id: str kind: str - loadBalancingScheme: typing_extensions.Literal[ - "EXTERNAL_MANAGED", "INTERNAL_MANAGED" - ] + loadBalancingScheme: typing.Literal["EXTERNAL_MANAGED", "INTERNAL_MANAGED"] name: str params: BackendBucketParams region: str @@ -504,7 +480,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): usedBy: _list[BackendBucketUsedBy] @typing.type_check_only -class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): +class BackendBucketAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -513,10 +489,10 @@ class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): +class BackendBucketCdnPolicy(typing.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[BackendBucketCdnPolicyBypassCacheOnRequestHeader] cacheKeyPolicy: BackendBucketCdnPolicyCacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "INVALID_CACHE_MODE", @@ -533,25 +509,21 @@ class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): signedUrlKeyNames: _list[str] @typing.type_check_only -class BackendBucketCdnPolicyBypassCacheOnRequestHeader( - typing_extensions.TypedDict, total=False -): +class BackendBucketCdnPolicyBypassCacheOnRequestHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendBucketCdnPolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): +class BackendBucketCdnPolicyCacheKeyPolicy(typing.TypedDict, total=False): includeHttpHeaders: _list[str] queryStringWhitelist: _list[str] @typing.type_check_only -class BackendBucketCdnPolicyNegativeCachingPolicy( - typing_extensions.TypedDict, total=False -): +class BackendBucketCdnPolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: int @typing.type_check_only -class BackendBucketList(typing_extensions.TypedDict, total=False): +class BackendBucketList(typing.TypedDict, total=False): id: str items: _list[BackendBucket] kind: str @@ -560,7 +532,7 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketListUsable(typing_extensions.TypedDict, total=False): +class BackendBucketListUsable(typing.TypedDict, total=False): id: str items: _list[BackendBucket] kind: str @@ -569,31 +541,31 @@ class BackendBucketListUsable(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketParams(typing_extensions.TypedDict, total=False): +class BackendBucketParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): +class BackendBucketUsedBy(typing.TypedDict, total=False): reference: str @typing.type_check_only -class BackendBucketsScopedList(typing_extensions.TypedDict, total=False): +class BackendBucketsScopedList(typing.TypedDict, total=False): backendBuckets: _list[BackendBucket] warning: dict[str, typing.Any] @typing.type_check_only -class BackendCustomMetric(typing_extensions.TypedDict, total=False): +class BackendCustomMetric(typing.TypedDict, total=False): dryRun: bool maxUtilization: float name: str @typing.type_check_only -class BackendService(typing_extensions.TypedDict, total=False): +class BackendService(typing.TypedDict, total=False): affinityCookieTtlSec: int backends: _list[Backend] cdnPolicy: BackendServiceCdnPolicy circuitBreakers: CircuitBreakers - compressionMode: typing_extensions.Literal["AUTOMATIC", "DISABLED"] + compressionMode: typing.Literal["AUTOMATIC", "DISABLED"] connectionDraining: ConnectionDraining connectionTrackingPolicy: BackendServiceConnectionTrackingPolicy consistentHash: ConsistentHashLoadBalancerSettings @@ -605,7 +577,7 @@ class BackendService(typing_extensions.TypedDict, total=False): dynamicForwarding: BackendServiceDynamicForwarding edgeSecurityPolicy: str enableCDN: bool - externalManagedMigrationState: typing_extensions.Literal[ + externalManagedMigrationState: typing.Literal[ "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" ] externalManagedMigrationTestingPercentage: float @@ -615,14 +587,14 @@ class BackendService(typing_extensions.TypedDict, total=False): healthChecks: _list[str] iap: BackendServiceIAP id: str - ipAddressSelectionPolicy: typing_extensions.Literal[ + ipAddressSelectionPolicy: typing.Literal[ "IPV4_ONLY", "IPV6_ONLY", "IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED", "PREFER_IPV6", ] kind: str - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "EXTERNAL_PASSTHROUGH", @@ -632,7 +604,7 @@ class BackendService(typing_extensions.TypedDict, total=False): "INVALID_LOAD_BALANCING_SCHEME", ] localityLbPolicies: _list[BackendServiceLocalityLoadBalancingPolicyConfig] - localityLbPolicy: typing_extensions.Literal[ + localityLbPolicy: typing.Literal[ "INVALID_LB_POLICY", "LEAST_REQUEST", "MAGLEV", @@ -655,7 +627,7 @@ class BackendService(typing_extensions.TypedDict, total=False): params: BackendServiceParams port: int portName: str - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "GRPC", "H2C", "HTTP", "HTTP2", "HTTPS", "SSL", "TCP", "UDP", "UNSPECIFIED" ] region: str @@ -664,7 +636,7 @@ class BackendService(typing_extensions.TypedDict, total=False): selfLink: str serviceBindings: _list[str] serviceLbPolicy: str - sessionAffinity: typing_extensions.Literal[ + sessionAffinity: typing.Literal[ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", @@ -682,7 +654,7 @@ class BackendService(typing_extensions.TypedDict, total=False): usedBy: _list[BackendServiceUsedBy] @typing.type_check_only -class BackendServiceAggregatedList(typing_extensions.TypedDict, total=False): +class BackendServiceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -692,12 +664,12 @@ class BackendServiceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceCdnPolicy(typing_extensions.TypedDict, total=False): +class BackendServiceCdnPolicy(typing.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[ BackendServiceCdnPolicyBypassCacheOnRequestHeader ] cacheKeyPolicy: CacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "INVALID_CACHE_MODE", @@ -714,95 +686,85 @@ class BackendServiceCdnPolicy(typing_extensions.TypedDict, total=False): signedUrlKeyNames: _list[str] @typing.type_check_only -class BackendServiceCdnPolicyBypassCacheOnRequestHeader( - typing_extensions.TypedDict, total=False -): +class BackendServiceCdnPolicyBypassCacheOnRequestHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendServiceCdnPolicyNegativeCachingPolicy( - typing_extensions.TypedDict, total=False -): +class BackendServiceCdnPolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: int @typing.type_check_only -class BackendServiceConnectionTrackingPolicy(typing_extensions.TypedDict, total=False): - connectionPersistenceOnUnhealthyBackends: typing_extensions.Literal[ +class BackendServiceConnectionTrackingPolicy(typing.TypedDict, total=False): + connectionPersistenceOnUnhealthyBackends: typing.Literal[ "ALWAYS_PERSIST", "DEFAULT_FOR_PROTOCOL", "NEVER_PERSIST" ] enableStrongAffinity: bool idleTimeoutSec: int - trackingMode: typing_extensions.Literal[ + trackingMode: typing.Literal[ "INVALID_TRACKING_MODE", "PER_CONNECTION", "PER_SESSION" ] @typing.type_check_only -class BackendServiceCustomMetric(typing_extensions.TypedDict, total=False): +class BackendServiceCustomMetric(typing.TypedDict, total=False): dryRun: bool name: str @typing.type_check_only -class BackendServiceDynamicForwarding(typing_extensions.TypedDict, total=False): +class BackendServiceDynamicForwarding(typing.TypedDict, total=False): forwardProxy: BackendServiceDynamicForwardingForwardProxy ipPortSelection: BackendServiceDynamicForwardingIpPortSelection @typing.type_check_only -class BackendServiceDynamicForwardingForwardProxy( - typing_extensions.TypedDict, total=False -): +class BackendServiceDynamicForwardingForwardProxy(typing.TypedDict, total=False): enabled: bool - proxyMode: typing_extensions.Literal["CLOUD_RUN", "DIRECT_FORWARDING"] + proxyMode: typing.Literal["CLOUD_RUN", "DIRECT_FORWARDING"] @typing.type_check_only -class BackendServiceDynamicForwardingIpPortSelection( - typing_extensions.TypedDict, total=False -): +class BackendServiceDynamicForwardingIpPortSelection(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class BackendServiceFailoverPolicy(typing_extensions.TypedDict, total=False): +class BackendServiceFailoverPolicy(typing.TypedDict, total=False): disableConnectionDrainOnFailover: bool dropTrafficIfUnhealthy: bool failoverRatio: float @typing.type_check_only -class BackendServiceGroupHealth(typing_extensions.TypedDict, total=False): +class BackendServiceGroupHealth(typing.TypedDict, total=False): annotations: dict[str, typing.Any] healthStatus: _list[HealthStatus] kind: str @typing.type_check_only -class BackendServiceHAPolicy(typing_extensions.TypedDict, total=False): - fastIPMove: typing_extensions.Literal["DISABLED", "GARP_RA"] +class BackendServiceHAPolicy(typing.TypedDict, total=False): + fastIPMove: typing.Literal["DISABLED", "GARP_RA"] leader: BackendServiceHAPolicyLeader @typing.type_check_only -class BackendServiceHAPolicyLeader(typing_extensions.TypedDict, total=False): +class BackendServiceHAPolicyLeader(typing.TypedDict, total=False): backendGroup: str networkEndpoint: BackendServiceHAPolicyLeaderNetworkEndpoint @typing.type_check_only -class BackendServiceHAPolicyLeaderNetworkEndpoint( - typing_extensions.TypedDict, total=False -): +class BackendServiceHAPolicyLeaderNetworkEndpoint(typing.TypedDict, total=False): instance: str @typing.type_check_only -class BackendServiceHttpCookie(typing_extensions.TypedDict, total=False): +class BackendServiceHttpCookie(typing.TypedDict, total=False): name: str path: str ttl: Duration @typing.type_check_only -class BackendServiceIAP(typing_extensions.TypedDict, total=False): +class BackendServiceIAP(typing.TypedDict, total=False): enabled: bool oauth2ClientId: str oauth2ClientSecret: str oauth2ClientSecretSha256: str @typing.type_check_only -class BackendServiceList(typing_extensions.TypedDict, total=False): +class BackendServiceList(typing.TypedDict, total=False): id: str items: _list[BackendService] kind: str @@ -811,7 +773,7 @@ class BackendServiceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceListUsable(typing_extensions.TypedDict, total=False): +class BackendServiceListUsable(typing.TypedDict, total=False): id: str items: _list[BackendService] kind: str @@ -820,24 +782,22 @@ class BackendServiceListUsable(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceLocalityLoadBalancingPolicyConfig( - typing_extensions.TypedDict, total=False -): +class BackendServiceLocalityLoadBalancingPolicyConfig(typing.TypedDict, total=False): customPolicy: BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy policy: BackendServiceLocalityLoadBalancingPolicyConfigPolicy @typing.type_check_only class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str name: str @typing.type_check_only class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - name: typing_extensions.Literal[ + name: typing.Literal[ "INVALID_LB_POLICY", "LEAST_REQUEST", "MAGLEV", @@ -851,33 +811,29 @@ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( ] @typing.type_check_only -class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): +class BackendServiceLogConfig(typing.TypedDict, total=False): enable: bool loggingHttpRequestHeaders: _list[BackendServiceLogConfigLoggingHttpHeader] loggingHttpResponseHeaders: _list[BackendServiceLogConfigLoggingHttpHeader] optionalFields: _list[str] - optionalMode: typing_extensions.Literal[ + optionalMode: typing.Literal[ "CUSTOM", "EXCLUDE_ALL_OPTIONAL", "INCLUDE_ALL_OPTIONAL" ] sampleRate: float @typing.type_check_only -class BackendServiceLogConfigLoggingHttpHeader( - typing_extensions.TypedDict, total=False -): +class BackendServiceLogConfigLoggingHttpHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendServiceNetworkPassThroughLbTrafficPolicy( - typing_extensions.TypedDict, total=False -): +class BackendServiceNetworkPassThroughLbTrafficPolicy(typing.TypedDict, total=False): zonalAffinity: BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity @typing.type_check_only class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - spillover: typing_extensions.Literal[ + spillover: typing.Literal[ "ZONAL_AFFINITY_DISABLED", "ZONAL_AFFINITY_SPILL_CROSS_ZONE", "ZONAL_AFFINITY_STAY_WITHIN_ZONE", @@ -885,50 +841,50 @@ class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( spilloverRatio: float @typing.type_check_only -class BackendServiceOrchestrationInfo(typing_extensions.TypedDict, total=False): +class BackendServiceOrchestrationInfo(typing.TypedDict, total=False): resourceUri: str @typing.type_check_only -class BackendServiceParams(typing_extensions.TypedDict, total=False): +class BackendServiceParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class BackendServiceReference(typing_extensions.TypedDict, total=False): +class BackendServiceReference(typing.TypedDict, total=False): backendService: str @typing.type_check_only -class BackendServiceTlsSettings(typing_extensions.TypedDict, total=False): +class BackendServiceTlsSettings(typing.TypedDict, total=False): authenticationConfig: str identity: str sni: str subjectAltNames: _list[BackendServiceTlsSettingsSubjectAltName] @typing.type_check_only -class BackendServiceTlsSettingsSubjectAltName(typing_extensions.TypedDict, total=False): +class BackendServiceTlsSettingsSubjectAltName(typing.TypedDict, total=False): dnsName: str uniformResourceIdentifier: str @typing.type_check_only -class BackendServiceUsedBy(typing_extensions.TypedDict, total=False): +class BackendServiceUsedBy(typing.TypedDict, total=False): reference: str @typing.type_check_only class BackendServicesGetEffectiveSecurityPoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): securityPolicies: _list[SecurityPolicy] @typing.type_check_only -class BackendServicesScopedList(typing_extensions.TypedDict, total=False): +class BackendServicesScopedList(typing.TypedDict, total=False): backendServices: _list[BackendService] warning: dict[str, typing.Any] @typing.type_check_only -class BfdPacket(typing_extensions.TypedDict, total=False): +class BfdPacket(typing.TypedDict, total=False): authenticationPresent: bool controlPlaneIndependent: bool demand: bool - diagnostic: typing_extensions.Literal[ + diagnostic: typing.Literal[ "ADMINISTRATIVELY_DOWN", "CONCATENATED_PATH_DOWN", "CONTROL_DETECTION_TIME_EXPIRED", @@ -949,21 +905,17 @@ class BfdPacket(typing_extensions.TypedDict, total=False): multipoint: bool myDiscriminator: int poll: bool - state: typing_extensions.Literal[ - "ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP" - ] + state: typing.Literal["ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP"] version: int yourDiscriminator: int @typing.type_check_only -class BfdStatus(typing_extensions.TypedDict, total=False): - bfdSessionInitializationMode: typing_extensions.Literal[ - "ACTIVE", "DISABLED", "PASSIVE" - ] +class BfdStatus(typing.TypedDict, total=False): + bfdSessionInitializationMode: typing.Literal["ACTIVE", "DISABLED", "PASSIVE"] configUpdateTimestampMicros: str controlPacketCounts: BfdStatusPacketCounts controlPacketIntervals: _list[PacketIntervals] - localDiagnostic: typing_extensions.Literal[ + localDiagnostic: typing.Literal[ "ADMINISTRATIVELY_DOWN", "CONCATENATED_PATH_DOWN", "CONTROL_DETECTION_TIME_EXPIRED", @@ -975,58 +927,52 @@ class BfdStatus(typing_extensions.TypedDict, total=False): "PATH_DOWN", "REVERSE_CONCATENATED_PATH_DOWN", ] - localState: typing_extensions.Literal[ - "ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP" - ] + localState: typing.Literal["ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP"] negotiatedLocalControlTxIntervalMs: int rxPacket: BfdPacket txPacket: BfdPacket uptimeMs: str @typing.type_check_only -class BfdStatusPacketCounts(typing_extensions.TypedDict, total=False): +class BfdStatusPacketCounts(typing.TypedDict, total=False): numRx: int numRxRejected: int numRxSuccessful: int numTx: int @typing.type_check_only -class BgpRoute(typing_extensions.TypedDict, total=False): +class BgpRoute(typing.TypedDict, total=False): asPaths: _list[BgpRouteAsPath] communities: _list[str] destination: BgpRouteNetworkLayerReachabilityInformation med: int - origin: typing_extensions.Literal[ - "BGP_ORIGIN_EGP", "BGP_ORIGIN_IGP", "BGP_ORIGIN_INCOMPLETE" - ] + origin: typing.Literal["BGP_ORIGIN_EGP", "BGP_ORIGIN_IGP", "BGP_ORIGIN_INCOMPLETE"] @typing.type_check_only -class BgpRouteAsPath(typing_extensions.TypedDict, total=False): +class BgpRouteAsPath(typing.TypedDict, total=False): asns: _list[int] asns32: _list[int] - type: typing_extensions.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] + type: typing.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] @typing.type_check_only -class BgpRouteNetworkLayerReachabilityInformation( - typing_extensions.TypedDict, total=False -): +class BgpRouteNetworkLayerReachabilityInformation(typing.TypedDict, total=False): pathId: int prefix: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BulkInsertDiskResource(typing_extensions.TypedDict, total=False): +class BulkInsertDiskResource(typing.TypedDict, total=False): instantSnapshotGroupParameters: InstantSnapshotGroupParameters snapshotGroupParameters: SnapshotGroupParameters sourceConsistencyGroupPolicy: str @typing.type_check_only -class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): +class BulkInsertInstanceResource(typing.TypedDict, total=False): count: str instanceFlexibilityPolicy: InstanceFlexibilityPolicy instanceProperties: InstanceProperties @@ -1037,44 +983,40 @@ class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): sourceInstanceTemplate: str @typing.type_check_only -class BulkInsertInstanceResourcePerInstanceProperties( - typing_extensions.TypedDict, total=False -): +class BulkInsertInstanceResourcePerInstanceProperties(typing.TypedDict, total=False): hostname: str name: str @typing.type_check_only -class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): +class BulkInsertOperationStatus(typing.TypedDict, total=False): createdVmCount: int deletedVmCount: int failedToCreateVmCount: int - status: typing_extensions.Literal[ - "CREATING", "DONE", "ROLLING_BACK", "STATUS_UNSPECIFIED" - ] + status: typing.Literal["CREATING", "DONE", "ROLLING_BACK", "STATUS_UNSPECIFIED"] targetVmCount: int @typing.type_check_only -class BulkSetLabelsRequest(typing_extensions.TypedDict, total=False): +class BulkSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class BulkZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): +class BulkZoneSetLabelsRequest(typing.TypedDict, total=False): requests: _list[BulkSetLabelsRequest] @typing.type_check_only -class BundledLocalSsds(typing_extensions.TypedDict, total=False): +class BundledLocalSsds(typing.TypedDict, total=False): defaultInterface: str partitionCount: int @typing.type_check_only -class CacheInvalidationRule(typing_extensions.TypedDict, total=False): +class CacheInvalidationRule(typing.TypedDict, total=False): cacheTags: _list[str] host: str path: str @typing.type_check_only -class CacheKeyPolicy(typing_extensions.TypedDict, total=False): +class CacheKeyPolicy(typing.TypedDict, total=False): includeHost: bool includeHttpHeaders: _list[str] includeNamedCookies: _list[str] @@ -1084,10 +1026,10 @@ class CacheKeyPolicy(typing_extensions.TypedDict, total=False): queryStringWhitelist: _list[str] @typing.type_check_only -class CachePolicy(typing_extensions.TypedDict, total=False): +class CachePolicy(typing.TypedDict, total=False): cacheBypassRequestHeaderNames: _list[str] cacheKeyPolicy: CachePolicyCacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "USE_ORIGIN_HEADERS" ] clientTtl: Duration @@ -1099,7 +1041,7 @@ class CachePolicy(typing_extensions.TypedDict, total=False): serveWhileStale: Duration @typing.type_check_only -class CachePolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): +class CachePolicyCacheKeyPolicy(typing.TypedDict, total=False): excludedQueryParameters: _list[str] includeHost: bool includeProtocol: bool @@ -1109,51 +1051,49 @@ class CachePolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): includedQueryParameters: _list[str] @typing.type_check_only -class CachePolicyNegativeCachingPolicy(typing_extensions.TypedDict, total=False): +class CachePolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: Duration @typing.type_check_only -class CalendarModeAdviceRequest(typing_extensions.TypedDict, total=False): +class CalendarModeAdviceRequest(typing.TypedDict, total=False): futureResourcesSpecs: dict[str, typing.Any] @typing.type_check_only -class CalendarModeAdviceResponse(typing_extensions.TypedDict, total=False): +class CalendarModeAdviceResponse(typing.TypedDict, total=False): recommendations: _list[CalendarModeRecommendation] @typing.type_check_only -class CalendarModeRecommendation(typing_extensions.TypedDict, total=False): +class CalendarModeRecommendation(typing.TypedDict, total=False): recommendationsPerSpec: dict[str, typing.Any] @typing.type_check_only -class CapacityAdviceRequest(typing_extensions.TypedDict, total=False): +class CapacityAdviceRequest(typing.TypedDict, total=False): distributionPolicy: CapacityAdviceRequestDistributionPolicy instanceFlexibilityPolicy: CapacityAdviceRequestInstanceFlexibilityPolicy instanceProperties: CapacityAdviceRequestInstanceProperties size: int @typing.type_check_only -class CapacityAdviceRequestDistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: typing_extensions.Literal[ +class CapacityAdviceRequestDistributionPolicy(typing.TypedDict, total=False): + targetShape: typing.Literal[ "ANY", "ANY_SINGLE_ZONE", "BALANCED", "TARGET_SHAPE_UNSPECIFIED" ] zones: _list[CapacityAdviceRequestDistributionPolicyZoneConfiguration] @typing.type_check_only class CapacityAdviceRequestDistributionPolicyZoneConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): zone: str @typing.type_check_only -class CapacityAdviceRequestInstanceFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class CapacityAdviceRequestInstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelections: dict[str, typing.Any] @typing.type_check_only class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disks: _list[ CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk @@ -1163,95 +1103,83 @@ class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection( @typing.type_check_only class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH"] + type: typing.Literal["DISK_TYPE_UNSPECIFIED", "SCRATCH"] @typing.type_check_only -class CapacityAdviceRequestInstanceProperties(typing_extensions.TypedDict, total=False): +class CapacityAdviceRequestInstanceProperties(typing.TypedDict, total=False): scheduling: CapacityAdviceRequestInstancePropertiesScheduling @typing.type_check_only -class CapacityAdviceRequestInstancePropertiesScheduling( - typing_extensions.TypedDict, total=False -): - provisioningModel: typing_extensions.Literal[ +class CapacityAdviceRequestInstancePropertiesScheduling(typing.TypedDict, total=False): + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only -class CapacityAdviceResponse(typing_extensions.TypedDict, total=False): +class CapacityAdviceResponse(typing.TypedDict, total=False): recommendations: _list[CapacityAdviceResponseRecommendation] @typing.type_check_only -class CapacityAdviceResponseRecommendation(typing_extensions.TypedDict, total=False): +class CapacityAdviceResponseRecommendation(typing.TypedDict, total=False): scores: CapacityAdviceResponseRecommendationScores shards: _list[CapacityAdviceResponseRecommendationShard] @typing.type_check_only -class CapacityAdviceResponseRecommendationScores( - typing_extensions.TypedDict, total=False -): +class CapacityAdviceResponseRecommendationScores(typing.TypedDict, total=False): estimatedUptime: str obtainability: float @typing.type_check_only -class CapacityAdviceResponseRecommendationShard( - typing_extensions.TypedDict, total=False -): +class CapacityAdviceResponseRecommendationShard(typing.TypedDict, total=False): instanceCount: int machineType: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] zone: str @typing.type_check_only -class CapacityHistoryRequest(typing_extensions.TypedDict, total=False): +class CapacityHistoryRequest(typing.TypedDict, total=False): instanceProperties: CapacityHistoryRequestInstanceProperties locationPolicy: CapacityHistoryRequestLocationPolicy - types: _list[ - typing_extensions.Literal["HISTORY_TYPE_UNSPECIFIED", "PREEMPTION", "PRICE"] - ] + types: _list[typing.Literal["HISTORY_TYPE_UNSPECIFIED", "PREEMPTION", "PRICE"]] @typing.type_check_only -class CapacityHistoryRequestInstanceProperties( - typing_extensions.TypedDict, total=False -): +class CapacityHistoryRequestInstanceProperties(typing.TypedDict, total=False): machineType: str scheduling: CapacityHistoryRequestInstancePropertiesScheduling @typing.type_check_only -class CapacityHistoryRequestInstancePropertiesScheduling( - typing_extensions.TypedDict, total=False -): - provisioningModel: typing_extensions.Literal[ +class CapacityHistoryRequestInstancePropertiesScheduling(typing.TypedDict, total=False): + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only -class CapacityHistoryRequestLocationPolicy(typing_extensions.TypedDict, total=False): +class CapacityHistoryRequestLocationPolicy(typing.TypedDict, total=False): location: str @typing.type_check_only -class CapacityHistoryResponse(typing_extensions.TypedDict, total=False): +class CapacityHistoryResponse(typing.TypedDict, total=False): location: str machineType: str preemptionHistory: _list[CapacityHistoryResponsePreemptionRecord] priceHistory: _list[CapacityHistoryResponsePriceRecord] @typing.type_check_only -class CapacityHistoryResponsePreemptionRecord(typing_extensions.TypedDict, total=False): +class CapacityHistoryResponsePreemptionRecord(typing.TypedDict, total=False): interval: Interval preemptionRate: float @typing.type_check_only -class CapacityHistoryResponsePriceRecord(typing_extensions.TypedDict, total=False): +class CapacityHistoryResponsePriceRecord(typing.TypedDict, total=False): interval: Interval listPrice: Money @typing.type_check_only -class CircuitBreakers(typing_extensions.TypedDict, total=False): +class CircuitBreakers(typing.TypedDict, total=False): connectTimeout: Duration maxConnections: int maxPendingRequests: int @@ -1260,9 +1188,11 @@ class CircuitBreakers(typing_extensions.TypedDict, total=False): maxRetries: int @typing.type_check_only -class Commitment(typing_extensions.TypedDict, total=False): +class Commitment(typing.TypedDict, total=False): autoRenew: bool - category: typing_extensions.Literal["CATEGORY_UNSPECIFIED", "LICENSE", "MACHINE"] + category: typing.Literal[ + "CATEGORY_UNSPECIFIED", "LICENSE", "MACHINE", "PERSISTENT_DISK" + ] creationTimestamp: str customEndTimestamp: str description: str @@ -1274,7 +1204,8 @@ class Commitment(typing_extensions.TypedDict, total=False): mergeSourceCommitments: _list[str] name: str params: CommitmentParams - plan: typing_extensions.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] + persistentDiskResources: _list[PersistentDiskResourceCommitment] + plan: typing.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] region: str reservations: _list[Reservation] resourceStatus: CommitmentResourceStatus @@ -1282,11 +1213,11 @@ class Commitment(typing_extensions.TypedDict, total=False): selfLink: str splitSourceCommitment: str startTimestamp: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "CANCELLED", "CREATING", "EXPIRED", "NOT_YET_ACTIVE" ] statusMessage: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", "ACCELERATOR_OPTIMIZED_A3_MEGA", @@ -1325,12 +1256,16 @@ class Commitment(typing_extensions.TypedDict, total=False): "MEMORY_OPTIMIZED_X4_480_8T", "MEMORY_OPTIMIZED_X4_960_12T", "MEMORY_OPTIMIZED_X4_960_16T", + "NETWORK_OPTIMIZED_C4N", + "NETWORK_OPTIMIZED_U4C", + "NETWORK_OPTIMIZED_U4P", + "NETWORK_OPTIMIZED_U4S", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED", ] @typing.type_check_only -class CommitmentAggregatedList(typing_extensions.TypedDict, total=False): +class CommitmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1340,7 +1275,7 @@ class CommitmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CommitmentList(typing_extensions.TypedDict, total=False): +class CommitmentList(typing.TypedDict, total=False): id: str items: _list[Commitment] kind: str @@ -1349,20 +1284,20 @@ class CommitmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CommitmentParams(typing_extensions.TypedDict, total=False): +class CommitmentParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class CommitmentResourceStatus(typing_extensions.TypedDict, total=False): +class CommitmentResourceStatus(typing.TypedDict, total=False): customTermEligibilityEndTimestamp: str @typing.type_check_only -class CommitmentsScopedList(typing_extensions.TypedDict, total=False): +class CommitmentsScopedList(typing.TypedDict, total=False): commitments: _list[Commitment] warning: dict[str, typing.Any] @typing.type_check_only -class CompositeHealthCheck(typing_extensions.TypedDict, total=False): +class CompositeHealthCheck(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -1376,7 +1311,7 @@ class CompositeHealthCheck(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1386,13 +1321,13 @@ class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class CompositeHealthCheckHealth(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckHealth(typing.TypedDict, total=False): healthSources: _list[CompositeHealthChecksGetHealthResponseHealthSourceHealth] - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] kind: str @typing.type_check_only -class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckList(typing.TypedDict, total=False): id: str items: _list[CompositeHealthCheck] kind: str @@ -1402,43 +1337,41 @@ class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): @typing.type_check_only class CompositeHealthChecksGetHealthResponseHealthSourceHealth( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] source: str @typing.type_check_only -class CompositeHealthChecksScopedList(typing_extensions.TypedDict, total=False): +class CompositeHealthChecksScopedList(typing.TypedDict, total=False): compositeHealthChecks: _list[CompositeHealthCheck] warning: dict[str, typing.Any] @typing.type_check_only -class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): - confidentialInstanceType: typing_extensions.Literal[ +class ConfidentialInstanceConfig(typing.TypedDict, total=False): + confidentialInstanceType: typing.Literal[ "CCA", "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] enableConfidentialCompute: bool @typing.type_check_only -class ConnectionDraining(typing_extensions.TypedDict, total=False): +class ConnectionDraining(typing.TypedDict, total=False): drainingTimeoutSec: int @typing.type_check_only -class ConsistentHashLoadBalancerSettings(typing_extensions.TypedDict, total=False): +class ConsistentHashLoadBalancerSettings(typing.TypedDict, total=False): httpCookie: ConsistentHashLoadBalancerSettingsHttpCookie httpHeaderName: str minimumRingSize: str @typing.type_check_only -class ConsistentHashLoadBalancerSettingsHttpCookie( - typing_extensions.TypedDict, total=False -): +class ConsistentHashLoadBalancerSettingsHttpCookie(typing.TypedDict, total=False): name: str path: str ttl: Duration @typing.type_check_only -class CorsPolicy(typing_extensions.TypedDict, total=False): +class CorsPolicy(typing.TypedDict, total=False): allowCredentials: bool allowHeaders: _list[str] allowMethods: _list[str] @@ -1449,7 +1382,7 @@ class CorsPolicy(typing_extensions.TypedDict, total=False): maxAge: int @typing.type_check_only -class CrossSiteNetwork(typing_extensions.TypedDict, total=False): +class CrossSiteNetwork(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -1458,7 +1391,7 @@ class CrossSiteNetwork(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class CrossSiteNetworkList(typing_extensions.TypedDict, total=False): +class CrossSiteNetworkList(typing.TypedDict, total=False): etag: str id: str items: _list[CrossSiteNetwork] @@ -1469,20 +1402,18 @@ class CrossSiteNetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CustomErrorResponsePolicy(typing_extensions.TypedDict, total=False): +class CustomErrorResponsePolicy(typing.TypedDict, total=False): errorResponseRules: _list[CustomErrorResponsePolicyCustomErrorResponseRule] errorService: str @typing.type_check_only -class CustomErrorResponsePolicyCustomErrorResponseRule( - typing_extensions.TypedDict, total=False -): +class CustomErrorResponsePolicyCustomErrorResponseRule(typing.TypedDict, total=False): matchResponseCodes: _list[str] overrideResponseCode: int path: str @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKeyName: str kmsKeyServiceAccount: str rawKey: str @@ -1490,18 +1421,18 @@ class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): sha256: str @typing.type_check_only -class CustomerEncryptionKeyProtectedDisk(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKeyProtectedDisk(typing.TypedDict, total=False): diskEncryptionKey: CustomerEncryptionKey source: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -1513,22 +1444,18 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class DeprecationStatus(typing_extensions.TypedDict, total=False): +class DeprecationStatus(typing.TypedDict, total=False): deleted: str deprecated: str obsolete: str replacement: str - state: typing_extensions.Literal["ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE"] + state: typing.Literal["ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE"] stateOverride: RolloutPolicy @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "READ_ONLY_MANY", "READ_WRITE_MANY", "READ_WRITE_SINGLE" - ] - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Disk(typing.TypedDict, total=False): + accessMode: typing.Literal["READ_ONLY_MANY", "READ_WRITE_MANY", "READ_WRITE_SINGLE"] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] asyncPrimaryDisk: DiskAsyncReplication asyncSecondaryDisks: dict[str, typing.Any] creationTimestamp: str @@ -1538,7 +1465,7 @@ class Disk(typing_extensions.TypedDict, total=False): eraseWindowsVssSignature: bool guestOsFeatures: _list[GuestOsFeature] id: str - interface: typing_extensions.Literal["NVME", "SCSI", "UNSPECIFIED"] + interface: typing.Literal["NVME", "SCSI", "UNSPECIFIED"] kind: str labelFingerprint: str labels: dict[str, typing.Any] @@ -1580,17 +1507,17 @@ class Disk(typing_extensions.TypedDict, total=False): sourceSnapshotEncryptionKey: CustomerEncryptionKey sourceSnapshotId: str sourceStorageObject: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "READY", "RESTORING", "UNAVAILABLE" ] storagePool: str - storageType: typing_extensions.Literal["HDD", "SSD"] + storageType: typing.Literal["HDD", "SSD"] type: str users: _list[str] zone: str @typing.type_check_only -class DiskAggregatedList(typing_extensions.TypedDict, total=False): +class DiskAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1600,22 +1527,22 @@ class DiskAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskAsyncReplication(typing_extensions.TypedDict, total=False): +class DiskAsyncReplication(typing.TypedDict, total=False): consistencyGroupPolicy: str consistencyGroupPolicyId: str disk: str diskId: str @typing.type_check_only -class DiskAsyncReplicationList(typing_extensions.TypedDict, total=False): +class DiskAsyncReplicationList(typing.TypedDict, total=False): asyncReplicationDisk: DiskAsyncReplication @typing.type_check_only -class DiskInstantiationConfig(typing_extensions.TypedDict, total=False): +class DiskInstantiationConfig(typing.TypedDict, total=False): autoDelete: bool customImage: str deviceName: str - instantiateFrom: typing_extensions.Literal[ + instantiateFrom: typing.Literal[ "ATTACH_READ_ONLY", "BLANK", "CUSTOM_IMAGE", @@ -1626,7 +1553,7 @@ class DiskInstantiationConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DiskList(typing_extensions.TypedDict, total=False): +class DiskList(typing.TypedDict, total=False): id: str items: _list[Disk] kind: str @@ -1635,46 +1562,40 @@ class DiskList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskMoveRequest(typing_extensions.TypedDict, total=False): +class DiskMoveRequest(typing.TypedDict, total=False): destinationZone: str targetDisk: str @typing.type_check_only -class DiskParams(typing_extensions.TypedDict, total=False): +class DiskParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class DiskResourceStatus(typing_extensions.TypedDict, total=False): +class DiskResourceStatus(typing.TypedDict, total=False): asyncPrimaryDisk: DiskResourceStatusAsyncReplicationStatus asyncSecondaryDisks: dict[str, typing.Any] @typing.type_check_only -class DiskResourceStatusAsyncReplicationStatus( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ +class DiskResourceStatusAsyncReplicationStatus(typing.TypedDict, total=False): + state: typing.Literal[ "ACTIVE", "CREATED", "STARTING", "STATE_UNSPECIFIED", "STOPPED", "STOPPING" ] @typing.type_check_only -class DiskSettings(typing_extensions.TypedDict, total=False): +class DiskSettings(typing.TypedDict, total=False): accessLocation: DiskSettingsAccessLocation @typing.type_check_only -class DiskSettingsAccessLocation(typing_extensions.TypedDict, total=False): +class DiskSettingsAccessLocation(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ - "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" - ] + policy: typing.Literal["ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS"] @typing.type_check_only -class DiskSettingsAccessLocationAccessLocationPreference( - typing_extensions.TypedDict, total=False -): +class DiskSettingsAccessLocationAccessLocationPreference(typing.TypedDict, total=False): region: str @typing.type_check_only -class DiskType(typing_extensions.TypedDict, total=False): +class DiskType(typing.TypedDict, total=False): creationTimestamp: str defaultDiskSizeGb: str deprecated: DeprecationStatus @@ -1688,7 +1609,7 @@ class DiskType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class DiskTypeAggregatedList(typing_extensions.TypedDict, total=False): +class DiskTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1698,7 +1619,7 @@ class DiskTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskTypeList(typing_extensions.TypedDict, total=False): +class DiskTypeList(typing.TypedDict, total=False): id: str items: _list[DiskType] kind: str @@ -1707,75 +1628,75 @@ class DiskTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskTypesScopedList(typing_extensions.TypedDict, total=False): +class DiskTypesScopedList(typing.TypedDict, total=False): diskTypes: _list[DiskType] warning: dict[str, typing.Any] @typing.type_check_only -class DiskUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class DiskUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class DisksAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class DisksAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class DisksRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class DisksRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class DisksResizeRequest(typing_extensions.TypedDict, total=False): +class DisksResizeRequest(typing.TypedDict, total=False): sizeGb: str @typing.type_check_only -class DisksScopedList(typing_extensions.TypedDict, total=False): +class DisksScopedList(typing.TypedDict, total=False): disks: _list[Disk] warning: dict[str, typing.Any] @typing.type_check_only -class DisksStartAsyncReplicationRequest(typing_extensions.TypedDict, total=False): +class DisksStartAsyncReplicationRequest(typing.TypedDict, total=False): asyncSecondaryDisk: str @typing.type_check_only -class DisksStopGroupAsyncReplicationResource(typing_extensions.TypedDict, total=False): +class DisksStopGroupAsyncReplicationResource(typing.TypedDict, total=False): resourcePolicy: str @typing.type_check_only -class DisplayDevice(typing_extensions.TypedDict, total=False): +class DisplayDevice(typing.TypedDict, total=False): enableDisplay: bool @typing.type_check_only -class DistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED", "EVEN"] +class DistributionPolicy(typing.TypedDict, total=False): + targetShape: typing.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED", "EVEN"] zones: _list[DistributionPolicyZoneConfiguration] @typing.type_check_only -class DistributionPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): +class DistributionPolicyZoneConfiguration(typing.TypedDict, total=False): zone: str @typing.type_check_only -class Duration(typing_extensions.TypedDict, total=False): +class Duration(typing.TypedDict, total=False): nanos: int seconds: str @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadatas: dict[str, typing.Any] reason: str @typing.type_check_only -class ExchangedPeeringRoute(typing_extensions.TypedDict, total=False): +class ExchangedPeeringRoute(typing.TypedDict, total=False): destRange: str imported: bool nextHopRegion: str priority: int - type: typing_extensions.Literal[ + type: typing.Literal[ "DYNAMIC_PEERING_ROUTE", "STATIC_PEERING_ROUTE", "SUBNET_PEERING_ROUTE" ] @typing.type_check_only -class ExchangedPeeringRoutesList(typing_extensions.TypedDict, total=False): +class ExchangedPeeringRoutesList(typing.TypedDict, total=False): id: str items: _list[ExchangedPeeringRoute] kind: str @@ -1784,14 +1705,14 @@ class ExchangedPeeringRoutesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalVpnGateway(typing_extensions.TypedDict, total=False): +class ExternalVpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -1801,19 +1722,19 @@ class ExternalVpnGateway(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str params: ExternalVpnGatewayParams - redundancyType: typing_extensions.Literal[ + redundancyType: typing.Literal[ "FOUR_IPS_REDUNDANCY", "SINGLE_IP_INTERNALLY_REDUNDANT", "TWO_IPS_REDUNDANCY" ] selfLink: str @typing.type_check_only -class ExternalVpnGatewayInterface(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayInterface(typing.TypedDict, total=False): id: int ipAddress: str ipv6Address: str @typing.type_check_only -class ExternalVpnGatewayList(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayList(typing.TypedDict, total=False): etag: str id: str items: _list[ExternalVpnGateway] @@ -1823,22 +1744,22 @@ class ExternalVpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ExternalVpnGatewayParams(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FileContentBuffer(typing_extensions.TypedDict, total=False): +class FileContentBuffer(typing.TypedDict, total=False): content: str - fileType: typing_extensions.Literal["BIN", "UNDEFINED", "X509"] + fileType: typing.Literal["BIN", "UNDEFINED", "X509"] @typing.type_check_only -class Firewall(typing_extensions.TypedDict, total=False): +class Firewall(typing.TypedDict, total=False): allowed: _list[dict[str, typing.Any]] creationTimestamp: str denied: _list[dict[str, typing.Any]] description: str destinationRanges: _list[str] - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] disabled: bool enableLogging: bool id: str @@ -1856,7 +1777,7 @@ class Firewall(typing_extensions.TypedDict, total=False): targetTags: _list[str] @typing.type_check_only -class FirewallList(typing_extensions.TypedDict, total=False): +class FirewallList(typing.TypedDict, total=False): id: str items: _list[Firewall] kind: str @@ -1865,28 +1786,26 @@ class FirewallList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FirewallLogConfig(typing_extensions.TypedDict, total=False): +class FirewallLogConfig(typing.TypedDict, total=False): enable: bool - metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] + metadata: typing.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] @typing.type_check_only -class FirewallParams(typing_extensions.TypedDict, total=False): +class FirewallParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FirewallPoliciesListAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class FirewallPoliciesListAssociationsResponse(typing.TypedDict, total=False): associations: _list[FirewallPolicyAssociation] kind: str @typing.type_check_only -class FirewallPoliciesScopedList(typing_extensions.TypedDict, total=False): +class FirewallPoliciesScopedList(typing.TypedDict, total=False): firewallPolicies: _list[FirewallPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class FirewallPolicy(typing_extensions.TypedDict, total=False): +class FirewallPolicy(typing.TypedDict, total=False): associations: _list[FirewallPolicyAssociation] creationTimestamp: str description: str @@ -1897,8 +1816,8 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): name: str packetMirroringRules: _list[FirewallPolicyRule] parent: str - policySource: typing_extensions.Literal["SYSTEM", "USER_DEFINED"] - policyType: typing_extensions.Literal[ + policySource: typing.Literal["SYSTEM", "USER_DEFINED"] + policyType: typing.Literal[ "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" ] region: str @@ -1909,7 +1828,7 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class FirewallPolicyAssociation(typing_extensions.TypedDict, total=False): +class FirewallPolicyAssociation(typing.TypedDict, total=False): attachmentTarget: str displayName: str firewallPolicyId: str @@ -1918,7 +1837,7 @@ class FirewallPolicyAssociation(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class FirewallPolicyList(typing_extensions.TypedDict, total=False): +class FirewallPolicyList(typing.TypedDict, total=False): id: str items: _list[FirewallPolicy] kind: str @@ -1926,10 +1845,10 @@ class FirewallPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FirewallPolicyRule(typing_extensions.TypedDict, total=False): +class FirewallPolicyRule(typing.TypedDict, total=False): action: str description: str - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] disabled: bool enableLogging: bool kind: str @@ -1942,21 +1861,21 @@ class FirewallPolicyRule(typing_extensions.TypedDict, total=False): targetResources: _list[str] targetSecureTags: _list[FirewallPolicyRuleSecureTag] targetServiceAccounts: _list[str] - targetType: typing_extensions.Literal["INSTANCES", "INTERNAL_MANAGED_LB"] + targetType: typing.Literal["INSTANCES", "INTERNAL_MANAGED_LB"] tlsInspect: bool @typing.type_check_only -class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleMatcher(typing.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] - destNetworkContext: typing_extensions.Literal[ + destNetworkContext: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - destNetworkScope: typing_extensions.Literal[ + destNetworkScope: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - destNetworkType: typing_extensions.Literal[ + destNetworkType: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] destRegionCodes: _list[str] @@ -1965,13 +1884,13 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcAddressGroups: _list[str] srcFqdns: _list[str] srcIpRanges: _list[str] - srcNetworkContext: typing_extensions.Literal[ + srcNetworkContext: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - srcNetworkScope: typing_extensions.Literal[ + srcNetworkScope: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - srcNetworkType: typing_extensions.Literal[ + srcNetworkType: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] srcNetworks: _list[str] @@ -1980,23 +1899,23 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcThreatIntelligences: _list[str] @typing.type_check_only -class FirewallPolicyRuleMatcherLayer4Config(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleMatcherLayer4Config(typing.TypedDict, total=False): ipProtocol: str ports: _list[str] @typing.type_check_only -class FirewallPolicyRuleSecureTag(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleSecureTag(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal["EFFECTIVE", "INEFFECTIVE"] + state: typing.Literal["EFFECTIVE", "INEFFECTIVE"] @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): calculated: int fixed: int percent: int @typing.type_check_only -class FlexibleTimeRange(typing_extensions.TypedDict, total=False): +class FlexibleTimeRange(typing.TypedDict, total=False): endTimeNotEarlierThan: str endTimeNotLaterThan: str maxDuration: str @@ -2005,17 +1924,15 @@ class FlexibleTimeRange(typing_extensions.TypedDict, total=False): startTimeNotLaterThan: str @typing.type_check_only -class ForwardingRule(typing_extensions.TypedDict, total=False): +class ForwardingRule(typing.TypedDict, total=False): IPAddress: str IPAddresses: _list[str] - IPProtocol: typing_extensions.Literal[ - "AH", "ESP", "ICMP", "L3_DEFAULT", "SCTP", "TCP", "UDP" - ] + IPProtocol: typing.Literal["AH", "ESP", "ICMP", "L3_DEFAULT", "SCTP", "TCP", "UDP"] allPorts: bool allowGlobalAccess: bool allowPscGlobalAccess: bool attachedExtensions: _list[ForwardingRuleAttachedExtension] - availabilityGroup: typing_extensions.Literal[ + availabilityGroup: typing.Literal[ "AVAILABILITY_GROUP0", "AVAILABILITY_GROUP1", "AVAILABILITY_GROUP_UNSPECIFIED" ] backendService: str @@ -2023,19 +1940,19 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): childForwardingRules: _list[str] creationTimestamp: str description: str - externalManagedBackendBucketMigrationState: typing_extensions.Literal[ + externalManagedBackendBucketMigrationState: typing.Literal[ "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" ] externalManagedBackendBucketMigrationTestingPercentage: float fingerprint: str id: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] + ipVersion: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] isMirroringCollector: bool kind: str labelFingerprint: str labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "EXTERNAL_PASSTHROUGH", @@ -2047,7 +1964,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): metadataFilters: _list[MetadataFilter] name: str network: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] noAutomateDnsZone: bool @@ -2055,7 +1972,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): portRange: str ports: _list[str] pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -2074,7 +1991,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): target: str @typing.type_check_only -class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): +class ForwardingRuleAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2084,11 +2001,11 @@ class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ForwardingRuleAttachedExtension(typing_extensions.TypedDict, total=False): +class ForwardingRuleAttachedExtension(typing.TypedDict, total=False): reference: str @typing.type_check_only -class ForwardingRuleList(typing_extensions.TypedDict, total=False): +class ForwardingRuleList(typing.TypedDict, total=False): id: str items: _list[ForwardingRule] kind: str @@ -2097,37 +2014,33 @@ class ForwardingRuleList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ForwardingRuleReference(typing_extensions.TypedDict, total=False): +class ForwardingRuleReference(typing.TypedDict, total=False): forwardingRule: str @typing.type_check_only -class ForwardingRuleServiceDirectoryRegistration( - typing_extensions.TypedDict, total=False -): +class ForwardingRuleServiceDirectoryRegistration(typing.TypedDict, total=False): namespace: str service: str serviceDirectoryRegion: str @typing.type_check_only -class ForwardingRulesScopedList(typing_extensions.TypedDict, total=False): +class ForwardingRulesScopedList(typing.TypedDict, total=False): forwardingRules: _list[ForwardingRule] warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservation(typing_extensions.TypedDict, total=False): +class FutureReservation(typing.TypedDict, total=False): advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation autoCreatedReservationsDeleteTime: str autoCreatedReservationsDuration: Duration autoDeleteAutoCreatedReservations: bool commitmentInfo: FutureReservationCommitmentInfo - confidentialComputeType: typing_extensions.Literal[ + confidentialComputeType: typing.Literal[ "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" ] creationTimestamp: str - deploymentType: typing_extensions.Literal[ - "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" - ] + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE"] description: str enableEmergentMaintenance: bool id: str @@ -2135,17 +2048,16 @@ class FutureReservation(typing_extensions.TypedDict, total=False): name: str namePrefix: str params: FutureReservationParams - planningStatus: typing_extensions.Literal[ - "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" - ] - protectionTier: typing_extensions.Literal[ + planningStatus: typing.Literal["DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED"] + protectionTier: typing.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] - reservationMode: typing_extensions.Literal[ + reservationMode: typing.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] reservationName: str - schedulingType: typing_extensions.Literal[ + resourceName: str + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] selfLink: str @@ -2154,43 +2066,43 @@ class FutureReservation(typing_extensions.TypedDict, total=False): specificReservationRequired: bool specificSkuProperties: FutureReservationSpecificSKUProperties status: FutureReservationStatus + storagePoolProperties: FutureReservationStoragePoolProperties timeWindow: FutureReservationTimeWindow zone: str @typing.type_check_only -class FutureReservationCommitmentInfo(typing_extensions.TypedDict, total=False): +class FutureReservationCommitmentInfo(typing.TypedDict, total=False): commitmentName: str - commitmentPlan: typing_extensions.Literal[ - "INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH" - ] - previousCommitmentTerms: typing_extensions.Literal[ + commitmentPlan: typing.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] + previousCommitmentTerms: typing.Literal[ "EXTEND", "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" ] @typing.type_check_only -class FutureReservationParams(typing_extensions.TypedDict, total=False): +class FutureReservationParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FutureReservationSpecificSKUProperties(typing_extensions.TypedDict, total=False): +class FutureReservationSpecificSKUProperties(typing.TypedDict, total=False): instanceProperties: AllocationSpecificSKUAllocationReservedInstanceProperties sourceInstanceTemplate: str totalCount: str @typing.type_check_only -class FutureReservationStatus(typing_extensions.TypedDict, total=False): - amendmentStatus: typing_extensions.Literal[ +class FutureReservationStatus(typing.TypedDict, total=False): + amendmentStatus: typing.Literal[ "AMENDMENT_APPROVED", "AMENDMENT_DECLINED", "AMENDMENT_IN_REVIEW", "AMENDMENT_STATUS_UNSPECIFIED", ] autoCreatedReservations: _list[str] + exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo fulfilledCount: str lastKnownGoodState: FutureReservationStatusLastKnownGoodState lockTime: str - procurementStatus: typing_extensions.Literal[ + procurementStatus: typing.Literal[ "APPROVED", "CANCELLED", "COMMITTED", @@ -2206,18 +2118,15 @@ class FutureReservationStatus(typing_extensions.TypedDict, total=False): "PROVISIONING", ] specificSkuProperties: FutureReservationStatusSpecificSKUProperties + storagePoolProvisionedCapacity: FutureReservationStoragePoolProvisionedCapacity @typing.type_check_only -class FutureReservationStatusExistingMatchingUsageInfo( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusExistingMatchingUsageInfo(typing.TypedDict, total=False): count: str timestamp: str @typing.type_check_only -class FutureReservationStatusLastKnownGoodState( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusLastKnownGoodState(typing.TypedDict, total=False): description: str existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo futureReservationSpecs: ( @@ -2225,7 +2134,7 @@ class FutureReservationStatusLastKnownGoodState( ) lockTime: str namePrefix: str - procurementStatus: typing_extensions.Literal[ + procurementStatus: typing.Literal[ "APPROVED", "CANCELLED", "COMMITTED", @@ -2243,28 +2152,38 @@ class FutureReservationStatusLastKnownGoodState( @typing.type_check_only class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shareSettings: ShareSettings specificSkuProperties: FutureReservationSpecificSKUProperties timeWindow: FutureReservationTimeWindow @typing.type_check_only -class FutureReservationStatusSpecificSKUProperties( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusSpecificSKUProperties(typing.TypedDict, total=False): sourceInstanceTemplateId: str @typing.type_check_only -class FutureReservationTimeWindow(typing_extensions.TypedDict, total=False): +class FutureReservationStoragePoolProperties(typing.TypedDict, total=False): + requestedExapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb + requestedStoragePoolProvisionedCapacity: ( + FutureReservationStoragePoolProvisionedCapacity + ) + storagePoolType: str + +@typing.type_check_only +class FutureReservationStoragePoolProvisionedCapacity(typing.TypedDict, total=False): + poolProvisionedCapacityGb: str + poolProvisionedIops: str + poolProvisionedThroughput: str + +@typing.type_check_only +class FutureReservationTimeWindow(typing.TypedDict, total=False): duration: Duration endTime: str startTime: str @typing.type_check_only -class FutureReservationsAggregatedListResponse( - typing_extensions.TypedDict, total=False -): +class FutureReservationsAggregatedListResponse(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -2275,7 +2194,7 @@ class FutureReservationsAggregatedListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservationsListResponse(typing_extensions.TypedDict, total=False): +class FutureReservationsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[FutureReservation] @@ -2286,27 +2205,25 @@ class FutureReservationsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservationsScopedList(typing_extensions.TypedDict, total=False): +class FutureReservationsScopedList(typing.TypedDict, total=False): futureReservations: _list[FutureReservation] warning: dict[str, typing.Any] @typing.type_check_only -class FutureResourcesRecommendation(typing_extensions.TypedDict, total=False): +class FutureResourcesRecommendation(typing.TypedDict, total=False): endTime: str location: str otherLocations: dict[str, typing.Any] recommendationId: str - recommendationType: typing_extensions.Literal[ + recommendationType: typing.Literal[ "FUTURE_RESERVATION", "RECOMMENDATION_TYPE_UNSPECIFIED" ] startTime: str @typing.type_check_only -class FutureResourcesRecommendationOtherLocation( - typing_extensions.TypedDict, total=False -): +class FutureResourcesRecommendationOtherLocation(typing.TypedDict, total=False): details: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CONDITIONS_NOT_MET", "NOT_SUPPORTED", "NO_CAPACITY", @@ -2315,18 +2232,16 @@ class FutureResourcesRecommendationOtherLocation( ] @typing.type_check_only -class FutureResourcesSpec(typing_extensions.TypedDict, total=False): - deploymentType: typing_extensions.Literal[ - "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" - ] +class FutureResourcesSpec(typing.TypedDict, total=False): + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE"] locationPolicy: FutureResourcesSpecLocationPolicy targetResources: FutureResourcesSpecTargetResources timeRangeSpec: FlexibleTimeRange @typing.type_check_only -class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecAggregateResources(typing.TypedDict, total=False): acceleratorCount: str - vmFamily: typing_extensions.Literal[ + vmFamily: typing.Literal[ "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", @@ -2336,96 +2251,90 @@ class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=F "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] - workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + workloadType: typing.Literal["BATCH", "SERVING", "UNSPECIFIED"] @typing.type_check_only -class FutureResourcesSpecLocalSsdPartition(typing_extensions.TypedDict, total=False): - diskInterface: typing_extensions.Literal["NVME", "SCSI"] +class FutureResourcesSpecLocalSsdPartition(typing.TypedDict, total=False): + diskInterface: typing.Literal["NVME", "SCSI"] diskSizeGb: str @typing.type_check_only -class FutureResourcesSpecLocationPolicy(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecLocationPolicy(typing.TypedDict, total=False): locations: dict[str, typing.Any] @typing.type_check_only -class FutureResourcesSpecLocationPolicyLocation( - typing_extensions.TypedDict, total=False -): - preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] +class FutureResourcesSpecLocationPolicyLocation(typing.TypedDict, total=False): + preference: typing.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] @typing.type_check_only -class FutureResourcesSpecSpecificSKUResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecSpecificSKUResources(typing.TypedDict, total=False): instanceCount: str localSsdPartitions: _list[FutureResourcesSpecLocalSsdPartition] machineType: str @typing.type_check_only -class FutureResourcesSpecTargetResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecTargetResources(typing.TypedDict, total=False): aggregateResources: FutureResourcesSpecAggregateResources specificSkuResources: FutureResourcesSpecSpecificSKUResources @typing.type_check_only -class GRPCHealthCheck(typing_extensions.TypedDict, total=False): +class GRPCHealthCheck(typing.TypedDict, total=False): grpcServiceName: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] @typing.type_check_only -class GRPCTLSHealthCheck(typing_extensions.TypedDict, total=False): +class GRPCTLSHealthCheck(typing.TypedDict, total=False): grpcServiceName: str port: int - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] @typing.type_check_only -class GetVersionOperationMetadata(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadata(typing.TypedDict, total=False): inlineSbomInfo: GetVersionOperationMetadataSbomInfo @typing.type_check_only -class GetVersionOperationMetadataSbomInfo(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadataSbomInfo(typing.TypedDict, total=False): currentComponentVersions: dict[str, typing.Any] targetComponentVersions: dict[str, typing.Any] @typing.type_check_only -class GlobalAddressesMoveRequest(typing_extensions.TypedDict, total=False): +class GlobalAddressesMoveRequest(typing.TypedDict, total=False): description: str destinationAddress: str @typing.type_check_only -class GlobalNetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class GlobalNetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class GlobalNetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class GlobalNetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class GlobalOrganizationSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalOrganizationSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class GlobalSetLabelsRequest(typing_extensions.TypedDict, total=False): +class GlobalSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str extensionPolicies: dict[str, typing.Any] @@ -2435,7 +2344,7 @@ class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): name: str priority: int rolloutOperation: GlobalVmExtensionPolicyRolloutOperation - scopedResourceStatus: typing_extensions.Literal[ + scopedResourceStatus: typing.Literal[ "SCOPED_RESOURCE_STATUS_DELETING", "SCOPED_RESOURCE_STATUS_UNSPECIFIED" ] selfLink: str @@ -2443,20 +2352,20 @@ class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): updateTimestamp: str @typing.type_check_only -class GlobalVmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyExtensionPolicy(typing.TypedDict, total=False): pinnedVersion: str stringConfig: str @typing.type_check_only -class GlobalVmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyInstanceSelector(typing.TypedDict, total=False): labelSelector: GlobalVmExtensionPolicyLabelSelector @typing.type_check_only -class GlobalVmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyLabelSelector(typing.TypedDict, total=False): inclusionLabels: dict[str, typing.Any] @typing.type_check_only -class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[GlobalVmExtensionPolicy] @@ -2467,24 +2376,24 @@ class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class GlobalVmExtensionPolicyRolloutOperation(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyRolloutOperation(typing.TypedDict, total=False): rolloutInput: GlobalVmExtensionPolicyRolloutOperationRolloutInput rolloutStatus: GlobalVmExtensionPolicyRolloutOperationRolloutStatus @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictBehavior: str name: str - predefinedRolloutPlan: typing_extensions.Literal[ + predefinedRolloutPlan: typing.Literal[ "FAST_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", "SLOW_ROLLOUT" ] retryUuid: str @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentRollouts: _list[ GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata @@ -2493,12 +2402,12 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationRolloutStatus: dict[str, typing.Any] rollout: str rolloutPlan: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_CANCELLED", "STATE_COMPLETED", "STATE_FAILED", @@ -2510,9 +2419,9 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ + state: typing.Literal[ "LOCATION_ROLLOUT_STATE_COMPLETED", "LOCATION_ROLLOUT_STATE_FAILED", "LOCATION_ROLLOUT_STATE_NOT_STARTED", @@ -2521,12 +2430,12 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocatio ] @typing.type_check_only -class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): +class GroupMaintenanceInfo(typing.TypedDict, total=False): instanceMaintenanceOngoingCount: int instanceMaintenancePendingCount: int maintenanceOngoingCount: int maintenancePendingCount: int - schedulingType: typing_extensions.Literal[ + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] subblockInfraMaintenanceOngoingCount: int @@ -2534,7 +2443,7 @@ class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): upcomingGroupMaintenance: UpcomingMaintenance @typing.type_check_only -class GuestAttributes(typing_extensions.TypedDict, total=False): +class GuestAttributes(typing.TypedDict, total=False): kind: str queryPath: str queryValue: GuestAttributesValue @@ -2543,18 +2452,18 @@ class GuestAttributes(typing_extensions.TypedDict, total=False): variableValue: str @typing.type_check_only -class GuestAttributesEntry(typing_extensions.TypedDict, total=False): +class GuestAttributesEntry(typing.TypedDict, total=False): key: str namespace: str value: str @typing.type_check_only -class GuestAttributesValue(typing_extensions.TypedDict, total=False): +class GuestAttributesValue(typing.TypedDict, total=False): items: _list[GuestAttributesEntry] @typing.type_check_only -class GuestOsFeature(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class GuestOsFeature(typing.TypedDict, total=False): + type: typing.Literal[ "BARE_METAL_LINUX_COMPATIBLE", "CCA_CAPABLE", "FEATURE_TYPE_UNSPECIFIED", @@ -2574,48 +2483,48 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HTTP2HealthCheck(typing_extensions.TypedDict, total=False): +class HTTP2HealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str @typing.type_check_only -class HTTPHealthCheck(typing_extensions.TypedDict, total=False): +class HTTPHealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str @typing.type_check_only -class HTTPSHealthCheck(typing_extensions.TypedDict, total=False): +class HTTPSHealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str @typing.type_check_only -class HealthAggregationPoliciesScopedList(typing_extensions.TypedDict, total=False): +class HealthAggregationPoliciesScopedList(typing.TypedDict, total=False): healthAggregationPolicies: _list[HealthAggregationPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -2624,15 +2533,13 @@ class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): kind: str minHealthyThreshold: int name: str - policyType: typing_extensions.Literal[ - "BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY" - ] + policyType: typing.Literal["BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY"] region: str selfLink: str selfLinkWithId: str @typing.type_check_only -class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2642,7 +2549,7 @@ class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=F warning: dict[str, typing.Any] @typing.type_check_only -class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicyList(typing.TypedDict, total=False): id: str items: _list[HealthAggregationPolicy] kind: str @@ -2651,7 +2558,7 @@ class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -2671,13 +2578,13 @@ class HealthCheck(typing_extensions.TypedDict, total=False): sslHealthCheck: SSLHealthCheck tcpHealthCheck: TCPHealthCheck timeoutSec: int - type: typing_extensions.Literal[ + type: typing.Literal[ "GRPC", "GRPC_WITH_TLS", "HTTP", "HTTP2", "HTTPS", "INVALID", "SSL", "TCP" ] unhealthyThreshold: int @typing.type_check_only -class HealthCheckList(typing_extensions.TypedDict, total=False): +class HealthCheckList(typing.TypedDict, total=False): id: str items: _list[HealthCheck] kind: str @@ -2686,21 +2593,21 @@ class HealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckLogConfig(typing_extensions.TypedDict, total=False): +class HealthCheckLogConfig(typing.TypedDict, total=False): enable: bool @typing.type_check_only -class HealthCheckReference(typing_extensions.TypedDict, total=False): +class HealthCheckReference(typing.TypedDict, total=False): healthCheck: str @typing.type_check_only -class HealthCheckService(typing_extensions.TypedDict, total=False): +class HealthCheckService(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str healthChecks: _list[str] - healthStatusAggregationPolicy: typing_extensions.Literal["AND", "NO_AGGREGATION"] - healthStatusAggregationStrategy: typing_extensions.Literal["AND", "NO_AGGREGATION"] + healthStatusAggregationPolicy: typing.Literal["AND", "NO_AGGREGATION"] + healthStatusAggregationStrategy: typing.Literal["AND", "NO_AGGREGATION"] id: str kind: str name: str @@ -2710,7 +2617,7 @@ class HealthCheckService(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class HealthCheckServiceAggregatedList(typing_extensions.TypedDict, total=False): +class HealthCheckServiceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2720,11 +2627,11 @@ class HealthCheckServiceAggregatedList(typing_extensions.TypedDict, total=False) warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckServiceReference(typing_extensions.TypedDict, total=False): +class HealthCheckServiceReference(typing.TypedDict, total=False): healthCheckService: str @typing.type_check_only -class HealthCheckServicesList(typing_extensions.TypedDict, total=False): +class HealthCheckServicesList(typing.TypedDict, total=False): id: str items: _list[HealthCheckService] kind: str @@ -2733,12 +2640,12 @@ class HealthCheckServicesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckServicesScopedList(typing_extensions.TypedDict, total=False): +class HealthCheckServicesScopedList(typing.TypedDict, total=False): resources: _list[HealthCheckService] warning: dict[str, typing.Any] @typing.type_check_only -class HealthChecksAggregatedList(typing_extensions.TypedDict, total=False): +class HealthChecksAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2748,12 +2655,12 @@ class HealthChecksAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthChecksScopedList(typing_extensions.TypedDict, total=False): +class HealthChecksScopedList(typing.TypedDict, total=False): healthChecks: _list[HealthCheck] warning: dict[str, typing.Any] @typing.type_check_only -class HealthSource(typing_extensions.TypedDict, total=False): +class HealthSource(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -2764,11 +2671,11 @@ class HealthSource(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str - sourceType: typing_extensions.Literal["BACKEND_SERVICE"] + sourceType: typing.Literal["BACKEND_SERVICE"] sources: _list[str] @typing.type_check_only -class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): +class HealthSourceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2778,13 +2685,13 @@ class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthSourceHealth(typing_extensions.TypedDict, total=False): - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] +class HealthSourceHealth(typing.TypedDict, total=False): + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] kind: str sources: _list[HealthSourcesGetHealthResponseSourceInfo] @typing.type_check_only -class HealthSourceList(typing_extensions.TypedDict, total=False): +class HealthSourceList(typing.TypedDict, total=False): id: str items: _list[HealthSource] kind: str @@ -2793,66 +2700,60 @@ class HealthSourceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthSourcesGetHealthResponseSourceInfo( - typing_extensions.TypedDict, total=False -): +class HealthSourcesGetHealthResponseSourceInfo(typing.TypedDict, total=False): backends: _list[HealthSourcesGetHealthResponseSourceInfoBackendInfo] forwardingRule: str source: str @typing.type_check_only class HealthSourcesGetHealthResponseSourceInfoBackendInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointCount: int group: str healthyEndpointCount: int @typing.type_check_only -class HealthSourcesScopedList(typing_extensions.TypedDict, total=False): +class HealthSourcesScopedList(typing.TypedDict, total=False): healthSources: _list[HealthSource] warning: dict[str, typing.Any] @typing.type_check_only -class HealthStatus(typing_extensions.TypedDict, total=False): +class HealthStatus(typing.TypedDict, total=False): annotations: dict[str, typing.Any] forwardingRule: str forwardingRuleIp: str - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY"] instance: str ipAddress: str ipv6Address: str - ipv6HealthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY"] + ipv6HealthState: typing.Literal["HEALTHY", "UNHEALTHY"] port: int weight: str - weightError: typing_extensions.Literal[ + weightError: typing.Literal[ "INVALID_WEIGHT", "MISSING_WEIGHT", "UNAVAILABLE_WEIGHT", "WEIGHT_NONE" ] @typing.type_check_only -class HealthStatusForNetworkEndpoint(typing_extensions.TypedDict, total=False): +class HealthStatusForNetworkEndpoint(typing.TypedDict, total=False): backendService: BackendServiceReference forwardingRule: ForwardingRuleReference healthCheck: HealthCheckReference healthCheckService: HealthCheckServiceReference - healthState: typing_extensions.Literal[ - "DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN" - ] - ipv6HealthState: typing_extensions.Literal[ - "DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN" - ] + healthState: typing.Literal["DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN"] + ipv6HealthState: typing.Literal["DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN"] @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[HelpLink] @typing.type_check_only -class HelpLink(typing_extensions.TypedDict, total=False): +class HelpLink(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class Host(typing_extensions.TypedDict, total=False): +class Host(typing.TypedDict, total=False): aliasLinks: _list[str] creationTimestamp: str description: str @@ -2861,34 +2762,34 @@ class Host(typing_extensions.TypedDict, total=False): name: str selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" ] status: HostStatus zone: str @typing.type_check_only -class HostPhysicalTopology(typing_extensions.TypedDict, total=False): +class HostPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str host: str subBlock: str @typing.type_check_only -class HostRule(typing_extensions.TypedDict, total=False): +class HostRule(typing.TypedDict, total=False): description: str hosts: _list[str] pathMatcher: str @typing.type_check_only -class HostStatus(typing_extensions.TypedDict, total=False): +class HostStatus(typing.TypedDict, total=False): physicalTopology: HostPhysicalTopology runningInstances: _list[str] @typing.type_check_only -class HostsGetVersionRequest(typing_extensions.TypedDict, total=False): +class HostsGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -2896,7 +2797,7 @@ class HostsGetVersionRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HostsListResponse(typing_extensions.TypedDict, total=False): +class HostsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[Host] @@ -2907,35 +2808,35 @@ class HostsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HttpFaultAbort(typing_extensions.TypedDict, total=False): +class HttpFaultAbort(typing.TypedDict, total=False): httpStatus: int percentage: float @typing.type_check_only -class HttpFaultDelay(typing_extensions.TypedDict, total=False): +class HttpFaultDelay(typing.TypedDict, total=False): fixedDelay: Duration percentage: float @typing.type_check_only -class HttpFaultInjection(typing_extensions.TypedDict, total=False): +class HttpFaultInjection(typing.TypedDict, total=False): abort: HttpFaultAbort delay: HttpFaultDelay @typing.type_check_only -class HttpFilterConfig(typing_extensions.TypedDict, total=False): +class HttpFilterConfig(typing.TypedDict, total=False): config: str configTypeUrl: str filterName: str @typing.type_check_only -class HttpHeaderAction(typing_extensions.TypedDict, total=False): +class HttpHeaderAction(typing.TypedDict, total=False): requestHeadersToAdd: _list[HttpHeaderOption] requestHeadersToRemove: _list[str] responseHeadersToAdd: _list[HttpHeaderOption] responseHeadersToRemove: _list[str] @typing.type_check_only -class HttpHeaderMatch(typing_extensions.TypedDict, total=False): +class HttpHeaderMatch(typing.TypedDict, total=False): exactMatch: str headerName: str invertMatch: bool @@ -2946,13 +2847,13 @@ class HttpHeaderMatch(typing_extensions.TypedDict, total=False): suffixMatch: str @typing.type_check_only -class HttpHeaderOption(typing_extensions.TypedDict, total=False): +class HttpHeaderOption(typing.TypedDict, total=False): headerName: str headerValue: str replace: bool @typing.type_check_only -class HttpHealthCheck(typing_extensions.TypedDict, total=False): +class HttpHealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -2968,7 +2869,7 @@ class HttpHealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class HttpHealthCheckList(typing_extensions.TypedDict, total=False): +class HttpHealthCheckList(typing.TypedDict, total=False): id: str items: _list[HttpHealthCheck] kind: str @@ -2977,19 +2878,19 @@ class HttpHealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HttpQueryParameterMatch(typing_extensions.TypedDict, total=False): +class HttpQueryParameterMatch(typing.TypedDict, total=False): exactMatch: str name: str presentMatch: bool regexMatch: str @typing.type_check_only -class HttpRedirectAction(typing_extensions.TypedDict, total=False): +class HttpRedirectAction(typing.TypedDict, total=False): hostRedirect: str httpsRedirect: bool pathRedirect: str prefixRedirect: str - redirectResponseCode: typing_extensions.Literal[ + redirectResponseCode: typing.Literal[ "FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", @@ -2999,13 +2900,13 @@ class HttpRedirectAction(typing_extensions.TypedDict, total=False): stripQuery: bool @typing.type_check_only -class HttpRetryPolicy(typing_extensions.TypedDict, total=False): +class HttpRetryPolicy(typing.TypedDict, total=False): numRetries: int perTryTimeout: Duration retryConditions: _list[str] @typing.type_check_only -class HttpRouteAction(typing_extensions.TypedDict, total=False): +class HttpRouteAction(typing.TypedDict, total=False): cachePolicy: CachePolicy corsPolicy: CorsPolicy faultInjectionPolicy: HttpFaultInjection @@ -3018,7 +2919,7 @@ class HttpRouteAction(typing_extensions.TypedDict, total=False): weightedBackendServices: _list[WeightedBackendService] @typing.type_check_only -class HttpRouteRule(typing_extensions.TypedDict, total=False): +class HttpRouteRule(typing.TypedDict, total=False): customErrorResponsePolicy: CustomErrorResponsePolicy description: str headerAction: HttpHeaderAction @@ -3031,7 +2932,7 @@ class HttpRouteRule(typing_extensions.TypedDict, total=False): urlRedirect: HttpRedirectAction @typing.type_check_only -class HttpRouteRuleMatch(typing_extensions.TypedDict, total=False): +class HttpRouteRuleMatch(typing.TypedDict, total=False): fullPathMatch: str headerMatches: _list[HttpHeaderMatch] ignoreCase: bool @@ -3042,7 +2943,7 @@ class HttpRouteRuleMatch(typing_extensions.TypedDict, total=False): regexMatch: str @typing.type_check_only -class HttpsHealthCheck(typing_extensions.TypedDict, total=False): +class HttpsHealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -3058,7 +2959,7 @@ class HttpsHealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class HttpsHealthCheckList(typing_extensions.TypedDict, total=False): +class HttpsHealthCheckList(typing.TypedDict, total=False): id: str items: _list[HttpsHealthCheck] kind: str @@ -3067,10 +2968,8 @@ class HttpsHealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Image(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] archiveSizeBytes: str creationTimestamp: str deprecated: DeprecationStatus @@ -3104,16 +3003,16 @@ class Image(typing_extensions.TypedDict, total=False): sourceSnapshot: str sourceSnapshotEncryptionKey: CustomerEncryptionKey sourceSnapshotId: str - sourceType: typing_extensions.Literal["RAW"] - status: typing_extensions.Literal["DELETING", "FAILED", "PENDING", "READY"] + sourceType: typing.Literal["RAW"] + status: typing.Literal["DELETING", "FAILED", "PENDING", "READY"] storageLocations: _list[str] @typing.type_check_only -class ImageFamilyView(typing_extensions.TypedDict, total=False): +class ImageFamilyView(typing.TypedDict, total=False): image: Image @typing.type_check_only -class ImageList(typing_extensions.TypedDict, total=False): +class ImageList(typing.TypedDict, total=False): id: str items: _list[Image] kind: str @@ -3122,28 +3021,28 @@ class ImageList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ImageOptimizationPolicy(typing_extensions.TypedDict, total=False): - queryParameterInterpretation: typing_extensions.Literal[ +class ImageOptimizationPolicy(typing.TypedDict, total=False): + queryParameterInterpretation: typing.Literal[ "DISABLED", "ENABLED", "QUERY_PARAMETER_INTERPRETATION_UNSPECIFIED" ] @typing.type_check_only -class ImageParams(typing_extensions.TypedDict, total=False): +class ImageParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class ImageView(typing_extensions.TypedDict, total=False): +class ImageView(typing.TypedDict, total=False): image: Image @typing.type_check_only -class InitialStateConfig(typing_extensions.TypedDict, total=False): +class InitialStateConfig(typing.TypedDict, total=False): dbs: _list[FileContentBuffer] dbxs: _list[FileContentBuffer] keks: _list[FileContentBuffer] pk: FileContentBuffer @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): advancedMachineFeatures: AdvancedMachineFeatures canIpForward: bool confidentialInstanceConfig: ConfidentialInstanceConfig @@ -3159,7 +3058,7 @@ class Instance(typing_extensions.TypedDict, total=False): hostname: str id: str instanceEncryptionKey: CustomerEncryptionKey - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] kind: str @@ -3168,6 +3067,11 @@ class Instance(typing_extensions.TypedDict, total=False): lastStartTimestamp: str lastStopTimestamp: str lastSuspendedTimestamp: str + localSsdEncryptionMode: typing.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -3176,10 +3080,10 @@ class Instance(typing_extensions.TypedDict, total=False): networkPerformanceConfig: NetworkPerformanceConfig params: InstanceParams partnerMetadata: dict[str, typing.Any] - postKeyRevocationActionType: typing_extensions.Literal[ + postKeyRevocationActionType: typing.Literal[ "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" ] - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", "INHERIT_FROM_SUBNETWORK", @@ -3199,7 +3103,7 @@ class Instance(typing_extensions.TypedDict, total=False): sourceMachineImage: str sourceMachineImageEncryptionKey: CustomerEncryptionKey startRestricted: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "DEPROVISIONING", "PENDING", "PENDING_STOP", @@ -3219,7 +3123,7 @@ class Instance(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3229,31 +3133,30 @@ class InstanceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceConsumptionData(typing_extensions.TypedDict, total=False): +class InstanceConsumptionData(typing.TypedDict, total=False): consumptionInfo: InstanceConsumptionInfo instance: str @typing.type_check_only -class InstanceConsumptionInfo(typing_extensions.TypedDict, total=False): +class InstanceConsumptionInfo(typing.TypedDict, total=False): guestCpus: int localSsdGb: int memoryMb: int minNodeCpus: int @typing.type_check_only -class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): +class InstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelections: dict[str, typing.Any] @typing.type_check_only -class InstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False -): +class InstanceFlexibilityPolicyInstanceSelection(typing.TypedDict, total=False): disks: _list[AttachedDisk] machineTypes: _list[str] + minCpuPlatform: str rank: str @typing.type_check_only -class InstanceGroup(typing_extensions.TypedDict, total=False): +class InstanceGroup(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -3269,7 +3172,7 @@ class InstanceGroup(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceGroupAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3279,7 +3182,7 @@ class InstanceGroupAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupList(typing_extensions.TypedDict, total=False): +class InstanceGroupList(typing.TypedDict, total=False): id: str items: _list[InstanceGroup] kind: str @@ -3288,7 +3191,7 @@ class InstanceGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManager(typing_extensions.TypedDict, total=False): +class InstanceGroupManager(typing.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerAllInstancesConfig autoHealingPolicies: _list[InstanceGroupManagerAutoHealingPolicy] baseInstanceName: str @@ -3296,7 +3199,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): currentActions: InstanceGroupManagerActionsSummary description: str distributionPolicy: DistributionPolicy - failoverAction: typing_extensions.Literal["NO_FAILOVER", "UNKNOWN"] + failoverAction: typing.Literal["NO_FAILOVER", "UNKNOWN"] fingerprint: str id: str instanceFlexibilityPolicy: InstanceGroupManagerInstanceFlexibilityPolicy @@ -3304,7 +3207,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): instanceLifecyclePolicy: InstanceGroupManagerInstanceLifecyclePolicy instanceTemplate: str kind: str - listManagedInstancesResults: typing_extensions.Literal["PAGELESS", "PAGINATED"] + listManagedInstancesResults: typing.Literal["PAGELESS", "PAGINATED"] multiMig: str name: str namedPorts: _list[NamedPort] @@ -3328,7 +3231,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerActionsSummary(typing.TypedDict, total=False): abandoning: int adopting: int creating: int @@ -3346,7 +3249,7 @@ class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=Fals verifying: int @typing.type_check_only -class InstanceGroupManagerAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3356,18 +3259,16 @@ class InstanceGroupManagerAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerAllInstancesConfig(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAllInstancesConfig(typing.TypedDict, total=False): properties: InstancePropertiesPatch @typing.type_check_only -class InstanceGroupManagerAutoHealingPolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAutoHealingPolicy(typing.TypedDict, total=False): healthCheck: str initialDelaySec: int @typing.type_check_only -class InstanceGroupManagerInstanceFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerInstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelections: dict[str, typing.Any] provisioningModelMix: ( InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix @@ -3375,7 +3276,7 @@ class InstanceGroupManagerInstanceFlexibilityPolicy( @typing.type_check_only class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disks: _list[AttachedDisk] machineTypes: _list[str] @@ -3384,30 +3285,26 @@ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection( @typing.type_check_only class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): standardCapacityBase: int standardCapacityPercentAboveBase: int @typing.type_check_only -class InstanceGroupManagerInstanceLifecyclePolicy( - typing_extensions.TypedDict, total=False -): - defaultActionOnFailure: typing_extensions.Literal["DELETE", "DO_NOTHING", "REPAIR"] - forceUpdateOnRepair: typing_extensions.Literal["NO", "YES"] - onFailedHealthCheck: typing_extensions.Literal[ - "DEFAULT_ACTION", "DO_NOTHING", "REPAIR" - ] +class InstanceGroupManagerInstanceLifecyclePolicy(typing.TypedDict, total=False): + defaultActionOnFailure: typing.Literal["DELETE", "DO_NOTHING", "REPAIR"] + forceUpdateOnRepair: typing.Literal["NO", "YES"] + onFailedHealthCheck: typing.Literal["DEFAULT_ACTION", "DO_NOTHING", "REPAIR"] onRepair: InstanceGroupManagerInstanceLifecyclePolicyOnRepair @typing.type_check_only class InstanceGroupManagerInstanceLifecyclePolicyOnRepair( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowChangingZone: typing_extensions.Literal["NO", "YES"] + allowChangingZone: typing.Literal["NO", "YES"] @typing.type_check_only -class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerList(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManager] kind: str @@ -3416,11 +3313,11 @@ class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerParams(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResizeRequest(typing.TypedDict, total=False): count: int creationTimestamp: str description: str @@ -3433,7 +3330,7 @@ class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False resizeBy: int selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACCEPTED", "CANCELLED", "CREATING", @@ -3446,20 +3343,16 @@ class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False zone: str @typing.type_check_only -class InstanceGroupManagerResizeRequestStatus(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResizeRequestStatus(typing.TypedDict, total=False): error: dict[str, typing.Any] lastAttempt: InstanceGroupManagerResizeRequestStatusLastAttempt @typing.type_check_only -class InstanceGroupManagerResizeRequestStatusLastAttempt( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerResizeRequestStatusLastAttempt(typing.TypedDict, total=False): error: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResizeRequestsListResponse( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerResizeRequestsListResponse(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManagerResizeRequest] kind: str @@ -3468,16 +3361,16 @@ class InstanceGroupManagerResizeRequestsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResourcePolicies(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResourcePolicies(typing.TypedDict, total=False): workloadPolicy: str @typing.type_check_only -class InstanceGroupManagerStandbyPolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStandbyPolicy(typing.TypedDict, total=False): initialDelaySec: int - mode: typing_extensions.Literal["MANUAL", "SCALE_OUT_POOL"] + mode: typing.Literal["MANUAL", "SCALE_OUT_POOL"] @typing.type_check_only -class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatus(typing.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerStatusAllInstancesConfig appliedAcceleratorTopologies: _list[InstanceGroupManagerStatusAcceleratorTopology] autoscaler: str @@ -3488,11 +3381,9 @@ class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): versionTarget: InstanceGroupManagerStatusVersionTarget @typing.type_check_only -class InstanceGroupManagerStatusAcceleratorTopology( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusAcceleratorTopology(typing.TypedDict, total=False): acceleratorTopology: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVATING", "ACTIVE", "DEACTIVATING", "FAILED", "INCOMPLETE", "REACTIVATING" ] stateDetails: ( @@ -3501,36 +3392,30 @@ class InstanceGroupManagerStatusAcceleratorTopology( @typing.type_check_only class InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class InstanceGroupManagerStatusAllInstancesConfig( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusAllInstancesConfig(typing.TypedDict, total=False): currentRevision: str effective: bool @typing.type_check_only -class InstanceGroupManagerStatusBulkInstanceOperation( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusBulkInstanceOperation(typing.TypedDict, total=False): inProgress: bool lastProgressCheck: InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck @typing.type_check_only class InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class InstanceGroupManagerStatusInstanceStatusSummary( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusInstanceStatusSummary(typing.TypedDict, total=False): deprovisioning: int nonExistent: int pending: int @@ -3546,134 +3431,118 @@ class InstanceGroupManagerStatusInstanceStatusSummary( terminated: int @typing.type_check_only -class InstanceGroupManagerStatusStateful(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatusStateful(typing.TypedDict, total=False): hasStatefulConfig: bool isStateful: bool perInstanceConfigs: InstanceGroupManagerStatusStatefulPerInstanceConfigs @typing.type_check_only class InstanceGroupManagerStatusStatefulPerInstanceConfigs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allEffective: bool @typing.type_check_only -class InstanceGroupManagerStatusVersionTarget(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatusVersionTarget(typing.TypedDict, total=False): isReached: bool @typing.type_check_only -class InstanceGroupManagerTargetSizePolicy(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["BULK", "INDIVIDUAL", "UNSPECIFIED_MODE"] +class InstanceGroupManagerTargetSizePolicy(typing.TypedDict, total=False): + mode: typing.Literal["BULK", "INDIVIDUAL", "UNSPECIFIED_MODE"] @typing.type_check_only -class InstanceGroupManagerUpdatePolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerUpdatePolicy(typing.TypedDict, total=False): allowedActions: _list[ - typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" - ] + typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE"] ] - instanceRedistributionType: typing_extensions.Literal["NONE", "PROACTIVE"] + instanceRedistributionType: typing.Literal["NONE", "PROACTIVE"] maxSurge: FixedOrPercent maxUnavailable: FixedOrPercent minReadySec: int - minimalAction: typing_extensions.Literal[ + minimalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - replacementMethod: typing_extensions.Literal["RECREATE", "SUBSTITUTE"] - type: typing_extensions.Literal["OPPORTUNISTIC", "PROACTIVE"] + replacementMethod: typing.Literal["RECREATE", "SUBSTITUTE"] + type: typing.Literal["OPPORTUNISTIC", "PROACTIVE"] @typing.type_check_only -class InstanceGroupManagerVersion(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerVersion(typing.TypedDict, total=False): instanceTemplate: str name: str targetSize: FixedOrPercent @typing.type_check_only -class InstanceGroupManagersAbandonInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersAbandonInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersApplyUpdatesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersApplyUpdatesRequest(typing.TypedDict, total=False): allInstances: bool allowedActions: _list[ - typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" - ] + typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE"] ] instances: _list[str] - minimalAction: typing_extensions.Literal[ + minimalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] @typing.type_check_only class InstanceGroupManagersConfigureAcceleratorTopologiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopologyActions: dict[str, typing.Any] acceleratorTopologyConfigurations: dict[str, typing.Any] @typing.type_check_only class InstanceGroupManagersConfigureAcceleratorTopologiesRequestAcceleratorTopologyConfiguration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal[ + action: typing.Literal[ "ACCELERATOR_TOPOLOGY_ACTION_UNSPECIFIED", "ACTIVATE", "DEACTIVATE" ] externalId: str @typing.type_check_only -class InstanceGroupManagersCreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersCreateInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupManagersDeleteInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersDeleteInstancesRequest(typing.TypedDict, total=False): instances: _list[str] skipInstancesOnValidationError: bool @typing.type_check_only -class InstanceGroupManagersDeletePerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersDeletePerInstanceConfigsReq(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopologiesInfo: dict[str, typing.Any] multiMig: str @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopology: str - acceleratorTopologyHealth: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "UNHEALTHY" - ] + acceleratorTopologyHealth: typing.Literal["DEGRADED", "HEALTHY", "UNHEALTHY"] acceleratorTopologyState: InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState - instancesHealth: typing_extensions.Literal["ALL_HEALTHY", "UNHEALTHY_OR_MISSING"] + instancesHealth: typing.Literal["ALL_HEALTHY", "UNHEALTHY_OR_MISSING"] parent: str @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "ACTIVATING", "ACTIVE", "ACTIVE_DEGRADED", @@ -3687,106 +3556,80 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorT externalId: str @typing.type_check_only -class InstanceGroupManagersListErrorsResponse(typing_extensions.TypedDict, total=False): +class InstanceGroupManagersListErrorsResponse(typing.TypedDict, total=False): items: _list[InstanceManagedByIgmError] nextPageToken: str @typing.type_check_only -class InstanceGroupManagersListManagedInstancesResponse( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersListManagedInstancesResponse(typing.TypedDict, total=False): managedInstances: _list[ManagedInstance] nextPageToken: str @typing.type_check_only -class InstanceGroupManagersListPerInstanceConfigsResp( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersListPerInstanceConfigsResp(typing.TypedDict, total=False): items: _list[PerInstanceConfig] nextPageToken: str warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagersPatchPerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersPatchPerInstanceConfigsReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupManagersRecreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersRecreateInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersResizeAdvancedRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersResizeAdvancedRequest(typing.TypedDict, total=False): noCreationRetries: bool targetSize: int @typing.type_check_only -class InstanceGroupManagersResumeInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersResumeInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersScopedList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagersScopedList(typing.TypedDict, total=False): instanceGroupManagers: _list[InstanceGroupManager] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagersSetAutoHealingRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetAutoHealingRequest(typing.TypedDict, total=False): autoHealingPolicies: _list[InstanceGroupManagerAutoHealingPolicy] @typing.type_check_only -class InstanceGroupManagersSetInstanceTemplateRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetInstanceTemplateRequest(typing.TypedDict, total=False): instanceTemplate: str @typing.type_check_only -class InstanceGroupManagersSetTargetPoolsRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetTargetPoolsRequest(typing.TypedDict, total=False): fingerprint: str targetPools: _list[str] @typing.type_check_only -class InstanceGroupManagersStartInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersStartInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersStopInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersStopInstancesRequest(typing.TypedDict, total=False): forceStop: bool instances: _list[str] @typing.type_check_only -class InstanceGroupManagersSuspendInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSuspendInstancesRequest(typing.TypedDict, total=False): forceSuspend: bool instances: _list[str] @typing.type_check_only -class InstanceGroupManagersUpdatePerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersUpdatePerInstanceConfigsReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupsAddInstancesRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsAddInstancesRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class InstanceGroupsListInstances(typing_extensions.TypedDict, total=False): +class InstanceGroupsListInstances(typing.TypedDict, total=False): id: str items: _list[InstanceWithNamedPorts] kind: str @@ -3795,25 +3638,25 @@ class InstanceGroupsListInstances(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupsListInstancesRequest(typing_extensions.TypedDict, total=False): - instanceState: typing_extensions.Literal["ALL", "RUNNING"] +class InstanceGroupsListInstancesRequest(typing.TypedDict, total=False): + instanceState: typing.Literal["ALL", "RUNNING"] @typing.type_check_only -class InstanceGroupsRemoveInstancesRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsRemoveInstancesRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class InstanceGroupsScopedList(typing_extensions.TypedDict, total=False): +class InstanceGroupsScopedList(typing.TypedDict, total=False): instanceGroups: _list[InstanceGroup] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupsSetNamedPortsRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsSetNamedPortsRequest(typing.TypedDict, total=False): fingerprint: str namedPorts: _list[NamedPort] @typing.type_check_only -class InstanceList(typing_extensions.TypedDict, total=False): +class InstanceList(typing.TypedDict, total=False): id: str items: _list[Instance] kind: str @@ -3822,7 +3665,7 @@ class InstanceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceListReferrers(typing_extensions.TypedDict, total=False): +class InstanceListReferrers(typing.TypedDict, total=False): id: str items: _list[Reference] kind: str @@ -3831,16 +3674,14 @@ class InstanceListReferrers(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceManagedByIgmError(typing_extensions.TypedDict, total=False): +class InstanceManagedByIgmError(typing.TypedDict, total=False): error: InstanceManagedByIgmErrorManagedInstanceError instanceActionDetails: InstanceManagedByIgmErrorInstanceActionDetails timestamp: str @typing.type_check_only -class InstanceManagedByIgmErrorInstanceActionDetails( - typing_extensions.TypedDict, total=False -): - action: typing_extensions.Literal[ +class InstanceManagedByIgmErrorInstanceActionDetails(typing.TypedDict, total=False): + action: typing.Literal[ "ABANDONING", "ADOPTING", "CREATING", @@ -3861,24 +3702,22 @@ class InstanceManagedByIgmErrorInstanceActionDetails( version: ManagedInstanceVersion @typing.type_check_only -class InstanceManagedByIgmErrorManagedInstanceError( - typing_extensions.TypedDict, total=False -): +class InstanceManagedByIgmErrorManagedInstanceError(typing.TypedDict, total=False): code: str message: str @typing.type_check_only -class InstanceMoveRequest(typing_extensions.TypedDict, total=False): +class InstanceMoveRequest(typing.TypedDict, total=False): destinationZone: str targetInstance: str @typing.type_check_only -class InstanceParams(typing_extensions.TypedDict, total=False): +class InstanceParams(typing.TypedDict, total=False): requestValidForDuration: Duration resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstanceProperties(typing_extensions.TypedDict, total=False): +class InstanceProperties(typing.TypedDict, total=False): advancedMachineFeatures: AdvancedMachineFeatures canIpForward: bool confidentialInstanceConfig: ConfidentialInstanceConfig @@ -3886,20 +3725,25 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): disks: _list[AttachedDisk] displayDevice: DisplayDevice guestAccelerators: _list[AcceleratorConfig] - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] + localSsdEncryptionMode: typing.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str networkInterfaces: _list[NetworkInterface] networkPerformanceConfig: NetworkPerformanceConfig partnerMetadata: dict[str, typing.Any] - postKeyRevocationActionType: typing_extensions.Literal[ + postKeyRevocationActionType: typing.Literal[ "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" ] - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", "INHERIT_FROM_SUBNETWORK", @@ -3915,28 +3759,28 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): workloadIdentityConfig: WorkloadIdentityConfig @typing.type_check_only -class InstancePropertiesPatch(typing_extensions.TypedDict, total=False): +class InstancePropertiesPatch(typing.TypedDict, total=False): labels: dict[str, typing.Any] metadata: dict[str, typing.Any] @typing.type_check_only -class InstanceReference(typing_extensions.TypedDict, total=False): +class InstanceReference(typing.TypedDict, total=False): instance: str @typing.type_check_only -class InstanceSettings(typing_extensions.TypedDict, total=False): +class InstanceSettings(typing.TypedDict, total=False): fingerprint: str kind: str metadata: InstanceSettingsMetadata zone: str @typing.type_check_only -class InstanceSettingsMetadata(typing_extensions.TypedDict, total=False): +class InstanceSettingsMetadata(typing.TypedDict, total=False): items: dict[str, typing.Any] kind: str @typing.type_check_only -class InstanceTemplate(typing_extensions.TypedDict, total=False): +class InstanceTemplate(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -3949,7 +3793,7 @@ class InstanceTemplate(typing_extensions.TypedDict, total=False): sourceInstanceParams: SourceInstanceParams @typing.type_check_only -class InstanceTemplateAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceTemplateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3958,7 +3802,7 @@ class InstanceTemplateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceTemplateList(typing_extensions.TypedDict, total=False): +class InstanceTemplateList(typing.TypedDict, total=False): id: str items: _list[InstanceTemplate] kind: str @@ -3967,15 +3811,15 @@ class InstanceTemplateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceTemplatesScopedList(typing_extensions.TypedDict, total=False): +class InstanceTemplatesScopedList(typing.TypedDict, total=False): instanceTemplates: _list[InstanceTemplate] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): +class InstanceWithNamedPorts(typing.TypedDict, total=False): instance: str namedPorts: _list[NamedPort] - status: typing_extensions.Literal[ + status: typing.Literal[ "DEPROVISIONING", "PENDING", "PENDING_STOP", @@ -3991,15 +3835,15 @@ class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InstancesAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class InstancesAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): +class InstancesBulkInsertOperationMetadata(typing.TypedDict, total=False): perLocationStatus: dict[str, typing.Any] @typing.type_check_only -class InstancesGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): +class InstancesGetEffectiveFirewallsResponse(typing.TypedDict, total=False): firewallPolicys: _list[ InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy ] @@ -4010,7 +3854,7 @@ class InstancesGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total= @typing.type_check_only class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -4018,7 +3862,7 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( priority: int rules: _list[FirewallPolicyRule] shortName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", @@ -4029,27 +3873,25 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( @typing.type_check_only class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str rules: _list[SecurityPolicyRule] @typing.type_check_only -class InstancesRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class InstancesRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class InstancesReportHostAsFaultyRequest(typing_extensions.TypedDict, total=False): - disruptionSchedule: typing_extensions.Literal[ +class InstancesReportHostAsFaultyRequest(typing.TypedDict, total=False): + disruptionSchedule: typing.Literal[ "DISRUPTION_SCHEDULE_UNSPECIFIED", "FUTURE", "IMMEDIATE" ] faultReasons: _list[InstancesReportHostAsFaultyRequestFaultReason] @typing.type_check_only -class InstancesReportHostAsFaultyRequestFaultReason( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal[ +class InstancesReportHostAsFaultyRequestFaultReason(typing.TypedDict, total=False): + behavior: typing.Literal[ "BEHAVIOR_UNSPECIFIED", "CHIP_ERROR", "PERFORMANCE", @@ -4059,56 +3901,54 @@ class InstancesReportHostAsFaultyRequestFaultReason( description: str @typing.type_check_only -class InstancesResumeRequest(typing_extensions.TypedDict, total=False): +class InstancesResumeRequest(typing.TypedDict, total=False): disks: _list[CustomerEncryptionKeyProtectedDisk] instanceEncryptionKey: CustomerEncryptionKey @typing.type_check_only -class InstancesScopedList(typing_extensions.TypedDict, total=False): +class InstancesScopedList(typing.TypedDict, total=False): instances: _list[Instance] warning: dict[str, typing.Any] @typing.type_check_only -class InstancesSetLabelsRequest(typing_extensions.TypedDict, total=False): +class InstancesSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class InstancesSetMachineResourcesRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMachineResourcesRequest(typing.TypedDict, total=False): guestAccelerators: _list[AcceleratorConfig] @typing.type_check_only -class InstancesSetMachineTypeRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMachineTypeRequest(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class InstancesSetMinCpuPlatformRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMinCpuPlatformRequest(typing.TypedDict, total=False): minCpuPlatform: str @typing.type_check_only -class InstancesSetNameRequest(typing_extensions.TypedDict, total=False): +class InstancesSetNameRequest(typing.TypedDict, total=False): currentName: str name: str @typing.type_check_only -class InstancesSetSecurityPolicyRequest(typing_extensions.TypedDict, total=False): +class InstancesSetSecurityPolicyRequest(typing.TypedDict, total=False): networkInterfaces: _list[str] securityPolicy: str @typing.type_check_only -class InstancesSetServiceAccountRequest(typing_extensions.TypedDict, total=False): +class InstancesSetServiceAccountRequest(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class InstancesStartWithEncryptionKeyRequest(typing_extensions.TypedDict, total=False): +class InstancesStartWithEncryptionKeyRequest(typing.TypedDict, total=False): disks: _list[CustomerEncryptionKeyProtectedDisk] @typing.type_check_only -class InstantSnapshot(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class InstantSnapshot(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] creationTimestamp: str description: str diskSizeGb: str @@ -4128,13 +3968,11 @@ class InstantSnapshot(typing_extensions.TypedDict, total=False): sourceDiskId: str sourceInstantSnapshotGroup: str sourceInstantSnapshotGroupId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "FAILED", "READY", "UNAVAILABLE" - ] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY", "UNAVAILABLE"] zone: str @typing.type_check_only -class InstantSnapshotAggregatedList(typing_extensions.TypedDict, total=False): +class InstantSnapshotAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -4144,7 +3982,7 @@ class InstantSnapshotAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroup(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -4155,27 +3993,27 @@ class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str sourceConsistencyGroup: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN" ] zone: str @typing.type_check_only -class InstantSnapshotGroupParameters(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupParameters(typing.TypedDict, total=False): sourceInstantSnapshotGroup: str @typing.type_check_only -class InstantSnapshotGroupResourceStatus(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupResourceStatus(typing.TypedDict, total=False): consistencyMembershipResolutionTime: str sourceInfo: InstantSnapshotGroupSourceInfo @typing.type_check_only -class InstantSnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupSourceInfo(typing.TypedDict, total=False): consistencyGroup: str consistencyGroupId: str @typing.type_check_only -class InstantSnapshotList(typing_extensions.TypedDict, total=False): +class InstantSnapshotList(typing.TypedDict, total=False): id: str items: _list[InstantSnapshot] kind: str @@ -4184,32 +4022,30 @@ class InstantSnapshotList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotParams(typing_extensions.TypedDict, total=False): +class InstantSnapshotParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotResourceStatus(typing_extensions.TypedDict, total=False): +class InstantSnapshotResourceStatus(typing.TypedDict, total=False): storageSizeBytes: str @typing.type_check_only -class InstantSnapshotsScopedList(typing_extensions.TypedDict, total=False): +class InstantSnapshotsScopedList(typing.TypedDict, total=False): instantSnapshots: _list[InstantSnapshot] warning: dict[str, typing.Any] @typing.type_check_only -class Int64RangeMatch(typing_extensions.TypedDict, total=False): +class Int64RangeMatch(typing.TypedDict, total=False): rangeEnd: str rangeStart: str @typing.type_check_only -class Interconnect(typing_extensions.TypedDict, total=False): +class Interconnect(typing.TypedDict, total=False): aaiEnabled: bool adminEnabled: bool applicationAwareInterconnect: InterconnectApplicationAwareInterconnect availableFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str @@ -4222,11 +4058,11 @@ class Interconnect(typing_extensions.TypedDict, total=False): id: str interconnectAttachments: _list[str] interconnectGroups: _list[str] - interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + interconnectType: typing.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] kind: str labelFingerprint: str labels: dict[str, typing.Any] - linkType: typing_extensions.Literal[ + linkType: typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", @@ -4236,27 +4072,23 @@ class Interconnect(typing_extensions.TypedDict, total=False): macsecEnabled: bool name: str nocContactEmail: str - operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] + operationalStatus: typing.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] params: InterconnectParams peerIpAddress: str provisionedLinkCount: int remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] requestedLinkCount: int satisfiesPzs: bool selfLink: str - state: typing_extensions.Literal["ACTIVE", "UNPROVISIONED"] - subzone: typing_extensions.Literal["SUBZONE_A", "SUBZONE_B"] + state: typing.Literal["ACTIVE", "UNPROVISIONED"] + subzone: typing.Literal["SUBZONE_A", "SUBZONE_B"] wireGroups: _list[str] @typing.type_check_only -class InterconnectApplicationAwareInterconnect( - typing_extensions.TypedDict, total=False -): +class InterconnectApplicationAwareInterconnect(typing.TypedDict, total=False): bandwidthPercentagePolicy: ( InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy ) @@ -4268,14 +4100,14 @@ class InterconnectApplicationAwareInterconnect( @typing.type_check_only class InterconnectApplicationAwareInterconnectBandwidthPercentage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentage: int - trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] + trafficClass: typing.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] @typing.type_check_only class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bandwidthPercentages: _list[ InterconnectApplicationAwareInterconnectBandwidthPercentage @@ -4283,14 +4115,14 @@ class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy( @typing.type_check_only class InterconnectApplicationAwareInterconnectStrictPriorityPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class InterconnectAttachment(typing_extensions.TypedDict, total=False): +class InterconnectAttachment(typing.TypedDict, total=False): adminEnabled: bool attachmentGroup: str - bandwidth: typing_extensions.Literal[ + bandwidth: typing.Literal[ "BPS_100G", "BPS_100M", "BPS_10G", @@ -4322,10 +4154,10 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): customerRouterIpv6InterfaceId: str dataplaneVersion: int description: str - edgeAvailabilityDomain: typing_extensions.Literal[ + edgeAvailabilityDomain: typing.Literal[ "AVAILABILITY_DOMAIN_1", "AVAILABILITY_DOMAIN_2", "AVAILABILITY_DOMAIN_ANY" ] - encryption: typing_extensions.Literal["IPSEC", "NONE"] + encryption: typing.Literal["IPSEC", "NONE"] googleReferenceId: str id: str interconnect: str @@ -4336,7 +4168,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] mtu: int name: str - operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] + operationalStatus: typing.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] pairingKey: str params: InterconnectAttachmentParams partnerAsn: str @@ -4347,8 +4179,8 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): router: str satisfiesPzs: bool selfLink: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] - state: typing_extensions.Literal[ + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] + state: typing.Literal[ "ACTIVE", "DEFUNCT", "PARTNER_REQUEST_RECEIVED", @@ -4358,13 +4190,11 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "UNPROVISIONED", ] subnetLength: int - type: typing_extensions.Literal[ - "DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER" - ] + type: typing.Literal["DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER"] vlanTag8021q: int @typing.type_check_only -class InterconnectAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -4374,23 +4204,21 @@ class InterconnectAttachmentAggregatedList(typing_extensions.TypedDict, total=Fa warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentConfigurationConstraints( - typing_extensions.TypedDict, total=False -): - bgpMd5: typing_extensions.Literal["MD5_OPTIONAL", "MD5_REQUIRED", "MD5_UNSUPPORTED"] +class InterconnectAttachmentConfigurationConstraints(typing.TypedDict, total=False): + bgpMd5: typing.Literal["MD5_OPTIONAL", "MD5_REQUIRED", "MD5_UNSUPPORTED"] bgpPeerAsnRanges: _list[ InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange ] @typing.type_check_only class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: int min: int @typing.type_check_only -class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroup(typing.TypedDict, total=False): attachments: dict[str, typing.Any] configured: InterconnectAttachmentGroupConfigured creationTimestamp: str @@ -4405,18 +4233,18 @@ class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class InterconnectAttachmentGroupAttachment(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroupAttachment(typing.TypedDict, total=False): attachment: str @typing.type_check_only -class InterconnectAttachmentGroupConfigured(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroupConfigured(typing.TypedDict, total=False): availabilitySla: InterconnectAttachmentGroupConfiguredAvailabilitySLA @typing.type_check_only class InterconnectAttachmentGroupConfiguredAvailabilitySLA( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - effectiveSla: typing_extensions.Literal[ + effectiveSla: typing.Literal[ "EFFECTIVE_SLA_UNSPECIFIED", "NO_SLA", "PRODUCTION_CRITICAL", @@ -4428,10 +4256,10 @@ class InterconnectAttachmentGroupConfiguredAvailabilitySLA( @typing.type_check_only class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attachments: _list[str] - blockerType: typing_extensions.Literal[ + blockerType: typing.Literal[ "BLOCKER_TYPE_UNSPECIFIED", "INCOMPATIBLE_METROS", "INCOMPATIBLE_REGIONS", @@ -4447,8 +4275,8 @@ class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( zones: _list[str] @typing.type_check_only -class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False): - availabilitySla: typing_extensions.Literal[ +class InterconnectAttachmentGroupIntent(typing.TypedDict, total=False): + availabilitySla: typing.Literal[ "AVAILABILITY_SLA_UNSPECIFIED", "NO_SLA", "PRODUCTION_CRITICAL", @@ -4456,50 +4284,44 @@ class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class InterconnectAttachmentGroupLogicalStructure( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupLogicalStructure(typing.TypedDict, total=False): regions: _list[InterconnectAttachmentGroupLogicalStructureRegion] @typing.type_check_only -class InterconnectAttachmentGroupLogicalStructureRegion( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupLogicalStructureRegion(typing.TypedDict, total=False): metros: _list[InterconnectAttachmentGroupLogicalStructureRegionMetro] region: str @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetro( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facilities: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacility] metro: str @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetroFacility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facility: str zones: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone] @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attachments: _list[str] zone: str @typing.type_check_only class InterconnectAttachmentGroupsGetOperationalStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str result: InterconnectAttachmentGroupsOperationalStatus @typing.type_check_only -class InterconnectAttachmentGroupsListResponse( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[InterconnectAttachmentGroup] @@ -4510,27 +4332,23 @@ class InterconnectAttachmentGroupsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentGroupsOperationalStatus( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsOperationalStatus(typing.TypedDict, total=False): attachmentStatuses: _list[ InterconnectAttachmentGroupsOperationalStatusAttachmentStatus ] configured: InterconnectAttachmentGroupConfigured - groupStatus: typing_extensions.Literal[ - "DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED" - ] + groupStatus: typing.Literal["DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED"] intent: InterconnectAttachmentGroupIntent operational: InterconnectAttachmentGroupConfigured @typing.type_check_only class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adminEnabled: bool attachment: str - isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] - status: typing_extensions.Literal[ + isActive: typing.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] + status: typing.Literal[ "ATTACHMENT_STATUS_UNKNOWN", "CONNECTION_DISABLED", "CONNECTION_DOWN", @@ -4549,7 +4367,7 @@ class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( ] @typing.type_check_only -class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentL2Forwarding(typing.TypedDict, total=False): applianceMappings: dict[str, typing.Any] defaultApplianceIpAddress: str geneveHeader: InterconnectAttachmentL2ForwardingGeneveHeader @@ -4557,9 +4375,7 @@ class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=Fals tunnelEndpointIpAddress: str @typing.type_check_only -class InterconnectAttachmentL2ForwardingApplianceMapping( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentL2ForwardingApplianceMapping(typing.TypedDict, total=False): applianceIpAddress: str innerVlanToApplianceMappings: _list[ InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping @@ -4568,19 +4384,17 @@ class InterconnectAttachmentL2ForwardingApplianceMapping( @typing.type_check_only class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): innerApplianceIpAddress: str innerVlanTags: _list[str] @typing.type_check_only -class InterconnectAttachmentL2ForwardingGeneveHeader( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentL2ForwardingGeneveHeader(typing.TypedDict, total=False): vni: int @typing.type_check_only -class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentList(typing.TypedDict, total=False): id: str items: _list[InterconnectAttachment] kind: str @@ -4589,80 +4403,80 @@ class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentParams(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentPartnerMetadata(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentPartnerMetadata(typing.TypedDict, total=False): interconnectName: str partnerName: str portalUrl: str @typing.type_check_only -class InterconnectAttachmentPrivateInfo(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentPrivateInfo(typing.TypedDict, total=False): tag8021q: int @typing.type_check_only -class InterconnectAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentsScopedList(typing.TypedDict, total=False): interconnectAttachments: _list[InterconnectAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectCircuitInfo(typing_extensions.TypedDict, total=False): +class InterconnectCircuitInfo(typing.TypedDict, total=False): customerDemarcId: str googleCircuitId: str googleDemarcId: str @typing.type_check_only -class InterconnectDiagnostics(typing_extensions.TypedDict, total=False): +class InterconnectDiagnostics(typing.TypedDict, total=False): arpCaches: _list[InterconnectDiagnosticsARPEntry] - bundleAggregationType: typing_extensions.Literal[ + bundleAggregationType: typing.Literal[ "BUNDLE_AGGREGATION_TYPE_LACP", "BUNDLE_AGGREGATION_TYPE_STATIC" ] - bundleOperationalStatus: typing_extensions.Literal[ + bundleOperationalStatus: typing.Literal[ "BUNDLE_OPERATIONAL_STATUS_DOWN", "BUNDLE_OPERATIONAL_STATUS_UP" ] links: _list[InterconnectDiagnosticsLinkStatus] macAddress: str @typing.type_check_only -class InterconnectDiagnosticsARPEntry(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsARPEntry(typing.TypedDict, total=False): ipAddress: str macAddress: str @typing.type_check_only -class InterconnectDiagnosticsLinkLACPStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsLinkLACPStatus(typing.TypedDict, total=False): googleSystemId: str neighborSystemId: str - state: typing_extensions.Literal["ACTIVE", "DETACHED"] + state: typing.Literal["ACTIVE", "DETACHED"] @typing.type_check_only -class InterconnectDiagnosticsLinkOpticalPower(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class InterconnectDiagnosticsLinkOpticalPower(typing.TypedDict, total=False): + state: typing.Literal[ "HIGH_ALARM", "HIGH_WARNING", "LOW_ALARM", "LOW_WARNING", "OK" ] value: float @typing.type_check_only -class InterconnectDiagnosticsLinkStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsLinkStatus(typing.TypedDict, total=False): arpCaches: _list[InterconnectDiagnosticsARPEntry] circuitId: str googleDemarc: str lacpStatus: InterconnectDiagnosticsLinkLACPStatus macsec: InterconnectDiagnosticsMacsecStatus - operationalStatus: typing_extensions.Literal[ + operationalStatus: typing.Literal[ "LINK_OPERATIONAL_STATUS_DOWN", "LINK_OPERATIONAL_STATUS_UP" ] receivingOpticalPower: InterconnectDiagnosticsLinkOpticalPower transmittingOpticalPower: InterconnectDiagnosticsLinkOpticalPower @typing.type_check_only -class InterconnectDiagnosticsMacsecStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsMacsecStatus(typing.TypedDict, total=False): ckn: str operational: bool @typing.type_check_only -class InterconnectGroup(typing_extensions.TypedDict, total=False): +class InterconnectGroup(typing.TypedDict, total=False): configured: InterconnectGroupConfigured creationTimestamp: str description: str @@ -4676,25 +4490,23 @@ class InterconnectGroup(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class InterconnectGroupConfigured(typing_extensions.TypedDict, total=False): +class InterconnectGroupConfigured(typing.TypedDict, total=False): topologyCapability: InterconnectGroupConfiguredTopologyCapability @typing.type_check_only -class InterconnectGroupConfiguredTopologyCapability( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupConfiguredTopologyCapability(typing.TypedDict, total=False): intendedCapabilityBlockers: _list[ InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers ] - supportedSla: typing_extensions.Literal[ + supportedSla: typing.Literal[ "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" ] @typing.type_check_only class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - blockerType: typing_extensions.Literal[ + blockerType: typing.Literal[ "INCOMPATIBLE_METROS", "NOT_AVAILABLE", "NO_INTERCONNECTS", @@ -4710,56 +4522,50 @@ class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( zones: _list[str] @typing.type_check_only -class InterconnectGroupIntent(typing_extensions.TypedDict, total=False): - topologyCapability: typing_extensions.Literal[ +class InterconnectGroupIntent(typing.TypedDict, total=False): + topologyCapability: typing.Literal[ "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" ] @typing.type_check_only -class InterconnectGroupInterconnect(typing_extensions.TypedDict, total=False): +class InterconnectGroupInterconnect(typing.TypedDict, total=False): interconnect: str @typing.type_check_only -class InterconnectGroupPhysicalStructure(typing_extensions.TypedDict, total=False): +class InterconnectGroupPhysicalStructure(typing.TypedDict, total=False): metros: _list[InterconnectGroupPhysicalStructureMetros] @typing.type_check_only -class InterconnectGroupPhysicalStructureMetros( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupPhysicalStructureMetros(typing.TypedDict, total=False): facilities: _list[InterconnectGroupPhysicalStructureMetrosFacilities] metro: str @typing.type_check_only -class InterconnectGroupPhysicalStructureMetrosFacilities( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupPhysicalStructureMetrosFacilities(typing.TypedDict, total=False): facility: str zones: _list[InterconnectGroupPhysicalStructureMetrosFacilitiesZones] @typing.type_check_only class InterconnectGroupPhysicalStructureMetrosFacilitiesZones( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): interconnects: _list[str] zone: str @typing.type_check_only -class InterconnectGroupsCreateMembers(typing_extensions.TypedDict, total=False): - intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] +class InterconnectGroupsCreateMembers(typing.TypedDict, total=False): + intentMismatchBehavior: typing.Literal["CREATE", "REJECT", "UNSPECIFIED"] interconnects: _list[InterconnectGroupsCreateMembersInterconnectInput] templateInterconnect: InterconnectGroupsCreateMembersInterconnectInput @typing.type_check_only -class InterconnectGroupsCreateMembersInterconnectInput( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupsCreateMembersInterconnectInput(typing.TypedDict, total=False): adminEnabled: bool customerName: str description: str facility: str - interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] - linkType: typing_extensions.Literal[ + interconnectType: typing.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + linkType: typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", @@ -4768,25 +4574,21 @@ class InterconnectGroupsCreateMembersInterconnectInput( nocContactEmail: str remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] requestedLinkCount: int @typing.type_check_only -class InterconnectGroupsCreateMembersRequest(typing_extensions.TypedDict, total=False): +class InterconnectGroupsCreateMembersRequest(typing.TypedDict, total=False): request: InterconnectGroupsCreateMembers @typing.type_check_only -class InterconnectGroupsGetOperationalStatusResponse( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupsGetOperationalStatusResponse(typing.TypedDict, total=False): etag: str result: InterconnectGroupsOperationalStatus @typing.type_check_only -class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): +class InterconnectGroupsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[InterconnectGroup] @@ -4797,9 +4599,9 @@ class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=False): +class InterconnectGroupsOperationalStatus(typing.TypedDict, total=False): configured: InterconnectGroupConfigured - groupStatus: typing_extensions.Literal[ + groupStatus: typing.Literal[ "DEGRADED", "FULLY_DOWN", "FULLY_UP", "GROUPS_STATUS_UNSPECIFIED" ] intent: InterconnectGroupIntent @@ -4808,15 +4610,15 @@ class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=Fal @typing.type_check_only class InterconnectGroupsOperationalStatusInterconnectStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adminEnabled: bool diagnostics: InterconnectDiagnostics interconnect: str - isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] + isActive: typing.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] @typing.type_check_only -class InterconnectList(typing_extensions.TypedDict, total=False): +class InterconnectList(typing.TypedDict, total=False): id: str items: _list[Interconnect] kind: str @@ -4825,23 +4627,21 @@ class InterconnectList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectLocation(typing_extensions.TypedDict, total=False): +class InterconnectLocation(typing.TypedDict, total=False): address: str availabilityZone: str availableFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] availableLinkTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", ] ] city: str - continent: typing_extensions.Literal[ + continent: typing.Literal[ "AFRICA", "ASIA_PAC", "C_AFRICA", @@ -4865,17 +4665,15 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): regionInfos: _list[InterconnectLocationRegionInfo] selfLink: str singleRegionProductionCriticalPeerLocations: _list[str] - status: typing_extensions.Literal["AVAILABLE", "CLOSED"] + status: typing.Literal["AVAILABLE", "CLOSED"] supportsPzs: bool @typing.type_check_only -class InterconnectLocationCrossSiteInterconnectInfo( - typing_extensions.TypedDict, total=False -): +class InterconnectLocationCrossSiteInterconnectInfo(typing.TypedDict, total=False): city: str @typing.type_check_only -class InterconnectLocationList(typing_extensions.TypedDict, total=False): +class InterconnectLocationList(typing.TypedDict, total=False): id: str items: _list[InterconnectLocation] kind: str @@ -4884,61 +4682,61 @@ class InterconnectLocationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectLocationRegionInfo(typing_extensions.TypedDict, total=False): +class InterconnectLocationRegionInfo(typing.TypedDict, total=False): expectedRttMs: str l2ForwardingEnabled: bool - locationPresence: typing_extensions.Literal[ + locationPresence: typing.Literal[ "GLOBAL", "LOCAL_REGION", "LP_GLOBAL", "LP_LOCAL_REGION" ] region: str @typing.type_check_only -class InterconnectMacsec(typing_extensions.TypedDict, total=False): +class InterconnectMacsec(typing.TypedDict, total=False): failOpen: bool preSharedKeys: _list[InterconnectMacsecPreSharedKey] @typing.type_check_only -class InterconnectMacsecConfig(typing_extensions.TypedDict, total=False): +class InterconnectMacsecConfig(typing.TypedDict, total=False): preSharedKeys: _list[InterconnectMacsecConfigPreSharedKey] @typing.type_check_only -class InterconnectMacsecConfigPreSharedKey(typing_extensions.TypedDict, total=False): +class InterconnectMacsecConfigPreSharedKey(typing.TypedDict, total=False): cak: str ckn: str name: str startTime: str @typing.type_check_only -class InterconnectMacsecPreSharedKey(typing_extensions.TypedDict, total=False): +class InterconnectMacsecPreSharedKey(typing.TypedDict, total=False): name: str startTime: str @typing.type_check_only -class InterconnectOutageNotification(typing_extensions.TypedDict, total=False): +class InterconnectOutageNotification(typing.TypedDict, total=False): affectedCircuits: _list[str] description: str endTime: str - issueType: typing_extensions.Literal[ + issueType: typing.Literal[ "IT_OUTAGE", "IT_PARTIAL_OUTAGE", "OUTAGE", "PARTIAL_OUTAGE" ] name: str - source: typing_extensions.Literal["GOOGLE", "NSRC_GOOGLE"] + source: typing.Literal["GOOGLE", "NSRC_GOOGLE"] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CANCELLED", "COMPLETED", "NS_ACTIVE", "NS_CANCELED" ] @typing.type_check_only -class InterconnectParams(typing_extensions.TypedDict, total=False): +class InterconnectParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): +class InterconnectRemoteLocation(typing.TypedDict, total=False): address: str attachmentConfigurationConstraints: InterconnectAttachmentConfigurationConstraints city: str constraints: InterconnectRemoteLocationConstraints - continent: typing_extensions.Literal[ + continent: typing.Literal[ "AFRICA", "ASIA_PAC", "EUROPE", "NORTH_AMERICA", "SOUTH_AMERICA" ] creationTimestamp: str @@ -4947,7 +4745,7 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): facilityProviderFacilityId: str id: str kind: str - lacp: typing_extensions.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] + lacp: typing.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] maxLagSize100Gbps: int maxLagSize10Gbps: int maxLagSize400Gbps: int @@ -4956,27 +4754,27 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): permittedConnections: _list[InterconnectRemoteLocationPermittedConnections] remoteService: str selfLink: str - status: typing_extensions.Literal["AVAILABLE", "CLOSED"] + status: typing.Literal["AVAILABLE", "CLOSED"] @typing.type_check_only -class InterconnectRemoteLocationConstraints(typing_extensions.TypedDict, total=False): - portPairRemoteLocation: typing_extensions.Literal[ +class InterconnectRemoteLocationConstraints(typing.TypedDict, total=False): + portPairRemoteLocation: typing.Literal[ "PORT_PAIR_MATCHING_REMOTE_LOCATION", "PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION" ] - portPairVlan: typing_extensions.Literal[ + portPairVlan: typing.Literal[ "PORT_PAIR_MATCHING_VLAN", "PORT_PAIR_UNCONSTRAINED_VLAN" ] subnetLengthRange: InterconnectRemoteLocationConstraintsSubnetLengthRange @typing.type_check_only class InterconnectRemoteLocationConstraintsSubnetLengthRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: int min: int @typing.type_check_only -class InterconnectRemoteLocationList(typing_extensions.TypedDict, total=False): +class InterconnectRemoteLocationList(typing.TypedDict, total=False): id: str items: _list[InterconnectRemoteLocation] kind: str @@ -4985,27 +4783,25 @@ class InterconnectRemoteLocationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectRemoteLocationPermittedConnections( - typing_extensions.TypedDict, total=False -): +class InterconnectRemoteLocationPermittedConnections(typing.TypedDict, total=False): interconnectLocation: str @typing.type_check_only -class InterconnectsGetDiagnosticsResponse(typing_extensions.TypedDict, total=False): +class InterconnectsGetDiagnosticsResponse(typing.TypedDict, total=False): result: InterconnectDiagnostics @typing.type_check_only -class InterconnectsGetMacsecConfigResponse(typing_extensions.TypedDict, total=False): +class InterconnectsGetMacsecConfigResponse(typing.TypedDict, total=False): etag: str result: InterconnectMacsecConfig @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): allowedReplacementLicenses: _list[str] appendableToDisk: bool chargesUseFee: bool @@ -5030,7 +4826,7 @@ class License(typing_extensions.TypedDict, total=False): updateTimestamp: str @typing.type_check_only -class LicenseCode(typing_extensions.TypedDict, total=False): +class LicenseCode(typing.TypedDict, total=False): allowedReplacementLicenses: _list[str] appendableToDisk: bool creationTimestamp: str @@ -5047,34 +4843,34 @@ class LicenseCode(typing_extensions.TypedDict, total=False): requiredCoattachedLicenses: _list[str] selfLink: str soleTenantOnly: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "DISABLED", "ENABLED", "RESTRICTED", "STATE_UNSPECIFIED", "TERMINATED" ] transferable: bool updateTimestamp: str @typing.type_check_only -class LicenseCodeLicenseAlias(typing_extensions.TypedDict, total=False): +class LicenseCodeLicenseAlias(typing.TypedDict, total=False): description: str selfLink: str @typing.type_check_only -class LicenseParams(typing_extensions.TypedDict, total=False): +class LicenseParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class LicenseResourceCommitment(typing_extensions.TypedDict, total=False): +class LicenseResourceCommitment(typing.TypedDict, total=False): amount: str coresPerLicense: str license: str @typing.type_check_only -class LicenseResourceRequirements(typing_extensions.TypedDict, total=False): +class LicenseResourceRequirements(typing.TypedDict, total=False): minGuestCpuCount: int minMemoryMb: int @typing.type_check_only -class LicensesListResponse(typing_extensions.TypedDict, total=False): +class LicensesListResponse(typing.TypedDict, total=False): id: str items: _list[License] nextPageToken: str @@ -5082,7 +4878,7 @@ class LicensesListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): +class ListInstantSnapshotGroups(typing.TypedDict, total=False): etag: str id: str items: _list[InstantSnapshotGroup] @@ -5093,7 +4889,7 @@ class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ListSnapshotGroups(typing_extensions.TypedDict, total=False): +class ListSnapshotGroups(typing.TypedDict, total=False): etag: str id: str items: _list[SnapshotGroup] @@ -5104,37 +4900,37 @@ class ListSnapshotGroups(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class LocalDisk(typing_extensions.TypedDict, total=False): +class LocalDisk(typing.TypedDict, total=False): diskCount: int diskSizeGb: int diskType: str @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class LocationPolicy(typing_extensions.TypedDict, total=False): +class LocationPolicy(typing.TypedDict, total=False): locations: dict[str, typing.Any] - targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] + targetShape: typing.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] zones: _list[LocationPolicyZoneConfiguration] @typing.type_check_only -class LocationPolicyLocation(typing_extensions.TypedDict, total=False): +class LocationPolicyLocation(typing.TypedDict, total=False): constraints: LocationPolicyLocationConstraints - preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] + preference: typing.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] @typing.type_check_only -class LocationPolicyLocationConstraints(typing_extensions.TypedDict, total=False): +class LocationPolicyLocationConstraints(typing.TypedDict, total=False): maxCount: int @typing.type_check_only -class LocationPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): +class LocationPolicyZoneConfiguration(typing.TypedDict, total=False): zone: str @typing.type_check_only -class MachineImage(typing_extensions.TypedDict, total=False): +class MachineImage(typing.TypedDict, total=False): creationTimestamp: str description: str guestFlush: bool @@ -5153,14 +4949,12 @@ class MachineImage(typing_extensions.TypedDict, total=False): sourceDiskEncryptionKeys: _list[SourceDiskEncryptionKey] sourceInstance: str sourceInstanceProperties: SourceInstanceProperties - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "UPLOADING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "UPLOADING"] storageLocations: _list[str] totalStorageBytes: str @typing.type_check_only -class MachineImageList(typing_extensions.TypedDict, total=False): +class MachineImageList(typing.TypedDict, total=False): id: str items: _list[MachineImage] kind: str @@ -5169,17 +4963,15 @@ class MachineImageList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineImageParams(typing_extensions.TypedDict, total=False): +class MachineImageParams(typing.TypedDict, total=False): excludedDisks: _list[str] includedDisks: _list[str] resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class MachineType(typing_extensions.TypedDict, total=False): +class MachineType(typing.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] bundledLocalSsds: BundledLocalSsds creationTimestamp: str deprecated: DeprecationStatus @@ -5196,7 +4988,7 @@ class MachineType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class MachineTypeAggregatedList(typing_extensions.TypedDict, total=False): +class MachineTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5206,7 +4998,7 @@ class MachineTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineTypeList(typing_extensions.TypedDict, total=False): +class MachineTypeList(typing.TypedDict, total=False): id: str items: _list[MachineType] kind: str @@ -5215,14 +5007,14 @@ class MachineTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineTypesScopedList(typing_extensions.TypedDict, total=False): +class MachineTypesScopedList(typing.TypedDict, total=False): machineTypes: _list[MachineType] warning: dict[str, typing.Any] @typing.type_check_only -class ManagedInstance(typing_extensions.TypedDict, total=False): +class ManagedInstance(typing.TypedDict, total=False): allInstancesConfig: ManagedInstanceAllInstancesConfig - currentAction: typing_extensions.Literal[ + currentAction: typing.Literal[ "ABANDONING", "ADOPTING", "CREATING", @@ -5242,7 +5034,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): id: str instance: str instanceHealth: _list[ManagedInstanceInstanceHealth] - instanceStatus: typing_extensions.Literal[ + instanceStatus: typing.Literal[ "DEPROVISIONING", "PENDING", "PENDING_STOP", @@ -5263,76 +5055,92 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): propertiesFromFlexibilityPolicy: ManagedInstancePropertiesFromFlexibilityPolicy scheduling: ManagedInstanceScheduling shutdownDetails: ManagedInstanceShutdownDetails - targetStatus: typing_extensions.Literal[ + targetStatus: typing.Literal[ "ABANDONED", "DELETED", "RUNNING", "STOPPED", "SUSPENDED" ] version: ManagedInstanceVersion @typing.type_check_only -class ManagedInstanceAllInstancesConfig(typing_extensions.TypedDict, total=False): +class ManagedInstanceAllInstancesConfig(typing.TypedDict, total=False): revision: str @typing.type_check_only -class ManagedInstanceInstanceHealth(typing_extensions.TypedDict, total=False): - detailedHealthState: typing_extensions.Literal[ +class ManagedInstanceInstanceHealth(typing.TypedDict, total=False): + detailedHealthState: typing.Literal[ "DRAINING", "HEALTHY", "TIMEOUT", "UNHEALTHY", "UNKNOWN" ] healthCheck: str @typing.type_check_only -class ManagedInstanceLastAttempt(typing_extensions.TypedDict, total=False): +class ManagedInstanceLastAttempt(typing.TypedDict, total=False): errors: dict[str, typing.Any] @typing.type_check_only -class ManagedInstancePropertiesFromFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class ManagedInstancePropertiesFromFlexibilityPolicy(typing.TypedDict, total=False): disks: _list[AttachedDisk] machineType: str minCpuPlatform: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @typing.type_check_only -class ManagedInstanceScheduling(typing_extensions.TypedDict, total=False): +class ManagedInstanceScheduling(typing.TypedDict, total=False): gracefulShutdownTimestamp: str terminationTimestamp: str @typing.type_check_only -class ManagedInstanceShutdownDetails(typing_extensions.TypedDict, total=False): +class ManagedInstanceShutdownDetails(typing.TypedDict, total=False): maxDuration: Duration requestTimestamp: str @typing.type_check_only -class ManagedInstanceVersion(typing_extensions.TypedDict, total=False): +class ManagedInstanceVersion(typing.TypedDict, total=False): instanceTemplate: str name: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class ManagedRuleset(typing.TypedDict, total=False): + changeLog: str + creationTimestamp: str + description: str + id: str + name: str + ruleIds: _list[str] + rulesetId: str + selfLink: str + +@typing.type_check_only +class ManagedRulesetList(typing.TypedDict, total=False): + id: str + items: _list[ManagedRuleset] + nextPageToken: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class Metadata(typing.TypedDict, total=False): fingerprint: str items: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class MetadataFilter(typing_extensions.TypedDict, total=False): +class MetadataFilter(typing.TypedDict, total=False): filterLabels: _list[MetadataFilterLabelMatch] - filterMatchCriteria: typing_extensions.Literal["MATCH_ALL", "MATCH_ANY", "NOT_SET"] + filterMatchCriteria: typing.Literal["MATCH_ALL", "MATCH_ANY", "NOT_SET"] @typing.type_check_only -class MetadataFilterLabelMatch(typing_extensions.TypedDict, total=False): +class MetadataFilterLabelMatch(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class MultiMig(typing_extensions.TypedDict, total=False): +class MultiMig(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -5344,7 +5152,7 @@ class MultiMig(typing_extensions.TypedDict, total=False): status: MultiMigStatus @typing.type_check_only -class MultiMigMember(typing_extensions.TypedDict, total=False): +class MultiMigMember(typing.TypedDict, total=False): creationTimestamp: str id: str kind: str @@ -5354,7 +5162,7 @@ class MultiMigMember(typing_extensions.TypedDict, total=False): status: MultiMigMemberStatus @typing.type_check_only -class MultiMigMemberList(typing_extensions.TypedDict, total=False): +class MultiMigMemberList(typing.TypedDict, total=False): id: str items: _list[MultiMigMember] kind: str @@ -5363,22 +5171,22 @@ class MultiMigMemberList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MultiMigMemberStatus(typing_extensions.TypedDict, total=False): +class MultiMigMemberStatus(typing.TypedDict, total=False): instanceGroupManager: str @typing.type_check_only -class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): +class MultiMigResourcePolicies(typing.TypedDict, total=False): workloadPolicy: str @typing.type_check_only -class MultiMigStatus(typing_extensions.TypedDict, total=False): +class MultiMigStatus(typing.TypedDict, total=False): appliedAcceleratorTopologies: _list[MultiMigStatusAcceleratorTopology] membersCount: int @typing.type_check_only -class MultiMigStatusAcceleratorTopology(typing_extensions.TypedDict, total=False): +class MultiMigStatusAcceleratorTopology(typing.TypedDict, total=False): acceleratorTopology: str - acceleratorTopologyState: typing_extensions.Literal[ + acceleratorTopologyState: typing.Literal[ "ACTIVATING", "ACTIVE", "ACTIVE_DEGRADED", @@ -5392,13 +5200,13 @@ class MultiMigStatusAcceleratorTopology(typing_extensions.TypedDict, total=False @typing.type_check_only class MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class MultiMigsList(typing_extensions.TypedDict, total=False): +class MultiMigsList(typing.TypedDict, total=False): id: str items: _list[MultiMig] kind: str @@ -5407,35 +5215,35 @@ class MultiMigsList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NamedPort(typing_extensions.TypedDict, total=False): +class NamedPort(typing.TypedDict, total=False): name: str port: int @typing.type_check_only -class NamedSet(typing_extensions.TypedDict, total=False): +class NamedSet(typing.TypedDict, total=False): description: str elements: _list[Expr] fingerprint: str name: str - type: typing_extensions.Literal["NAMED_SET_TYPE_COMMUNITY", "NAMED_SET_TYPE_PREFIX"] + type: typing.Literal["NAMED_SET_TYPE_COMMUNITY", "NAMED_SET_TYPE_PREFIX"] @typing.type_check_only -class NatIpInfo(typing_extensions.TypedDict, total=False): +class NatIpInfo(typing.TypedDict, total=False): natIpInfoMappings: _list[NatIpInfoNatIpInfoMapping] natName: str @typing.type_check_only -class NatIpInfoNatIpInfoMapping(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["AUTO", "MANUAL"] +class NatIpInfoNatIpInfoMapping(typing.TypedDict, total=False): + mode: typing.Literal["AUTO", "MANUAL"] natIp: str - usage: typing_extensions.Literal["IN_USE", "UNUSED"] + usage: typing.Literal["IN_USE", "UNUSED"] @typing.type_check_only -class NatIpInfoResponse(typing_extensions.TypedDict, total=False): +class NatIpInfoResponse(typing.TypedDict, total=False): result: _list[NatIpInfo] @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): IPv4Range: str autoCreateSubnetworks: bool creationTimestamp: str @@ -5448,7 +5256,7 @@ class Network(typing_extensions.TypedDict, total=False): kind: str mtu: int name: str - networkFirewallPolicyEnforcementOrder: typing_extensions.Literal[ + networkFirewallPolicyEnforcementOrder: typing.Literal[ "AFTER_CLASSIC_FIREWALL", "BEFORE_CLASSIC_FIREWALL" ] networkProfile: str @@ -5460,11 +5268,9 @@ class Network(typing_extensions.TypedDict, total=False): subnetworks: _list[str] @typing.type_check_only -class NetworkAttachment(typing_extensions.TypedDict, total=False): +class NetworkAttachment(typing.TypedDict, total=False): connectionEndpoints: _list[NetworkAttachmentConnectedEndpoint] - connectionPreference: typing_extensions.Literal[ - "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "INVALID" - ] + connectionPreference: typing.Literal["ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "INVALID"] creationTimestamp: str description: str fingerprint: str @@ -5480,7 +5286,7 @@ class NetworkAttachment(typing_extensions.TypedDict, total=False): subnetworks: _list[str] @typing.type_check_only -class NetworkAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5489,13 +5295,13 @@ class NetworkAttachmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): +class NetworkAttachmentConnectedEndpoint(typing.TypedDict, total=False): ipAddress: str ipv6Address: str projectIdOrNum: str secondaryIpCidrRanges: _list[str] serviceClassId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -5507,7 +5313,7 @@ class NetworkAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals subnetworkCidrRange: str @typing.type_check_only -class NetworkAttachmentList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentList(typing.TypedDict, total=False): id: str items: _list[NetworkAttachment] kind: str @@ -5516,12 +5322,12 @@ class NetworkAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentsScopedList(typing.TypedDict, total=False): networkAttachments: _list[NetworkAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEdgeSecurityService(typing_extensions.TypedDict, total=False): +class NetworkEdgeSecurityService(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -5534,9 +5340,7 @@ class NetworkEdgeSecurityService(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class NetworkEdgeSecurityServiceAggregatedList( - typing_extensions.TypedDict, total=False -): +class NetworkEdgeSecurityServiceAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -5547,12 +5351,12 @@ class NetworkEdgeSecurityServiceAggregatedList( warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEdgeSecurityServicesScopedList(typing_extensions.TypedDict, total=False): +class NetworkEdgeSecurityServicesScopedList(typing.TypedDict, total=False): networkEdgeSecurityServices: _list[NetworkEdgeSecurityService] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpoint(typing_extensions.TypedDict, total=False): +class NetworkEndpoint(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clientDestinationPort: int fqdn: str @@ -5562,7 +5366,7 @@ class NetworkEndpoint(typing_extensions.TypedDict, total=False): port: int @typing.type_check_only -class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] appEngine: NetworkEndpointGroupAppEngine cloudFunction: NetworkEndpointGroupCloudFunction @@ -5575,7 +5379,7 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): loadBalancer: NetworkEndpointGroupLbNetworkEndpointGroup name: str network: str - networkEndpointType: typing_extensions.Literal[ + networkEndpointType: typing.Literal[ "GCE_VM_IP", "GCE_VM_IP_PORT", "GCE_VM_IP_PORTMAP", @@ -5595,7 +5399,7 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class NetworkEndpointGroupAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5605,33 +5409,31 @@ class NetworkEndpointGroupAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupAppEngine(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupAppEngine(typing.TypedDict, total=False): service: str urlMask: str version: str @typing.type_check_only -class NetworkEndpointGroupCloudFunction(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupCloudFunction(typing.TypedDict, total=False): function: str urlMask: str @typing.type_check_only -class NetworkEndpointGroupCloudRun(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupCloudRun(typing.TypedDict, total=False): service: str tag: str urlMask: str @typing.type_check_only -class NetworkEndpointGroupLbNetworkEndpointGroup( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupLbNetworkEndpointGroup(typing.TypedDict, total=False): defaultPort: int network: str subnetwork: str zone: str @typing.type_check_only -class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupList(typing.TypedDict, total=False): id: str items: _list[NetworkEndpointGroup] kind: str @@ -5640,11 +5442,11 @@ class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupPscData(typing.TypedDict, total=False): consumerPscAddress: str producerPort: int pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -5654,45 +5456,35 @@ class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NetworkEndpointGroupServerlessDeployment( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupServerlessDeployment(typing.TypedDict, total=False): platform: str resource: str urlMask: str version: str @typing.type_check_only -class NetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class NetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class NetworkEndpointGroupsListEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsListEndpointsRequest(typing.TypedDict, total=False): endpointFilters: _list[ NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter ] - healthStatus: typing_extensions.Literal["SHOW", "SKIP"] + healthStatus: typing.Literal["SHOW", "SKIP"] @typing.type_check_only class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): networkEndpoint: NetworkEndpoint @typing.type_check_only -class NetworkEndpointGroupsListNetworkEndpoints( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsListNetworkEndpoints(typing.TypedDict, total=False): id: str items: _list[NetworkEndpointWithHealthStatus] kind: str @@ -5700,17 +5492,17 @@ class NetworkEndpointGroupsListNetworkEndpoints( warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupsScopedList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupsScopedList(typing.TypedDict, total=False): networkEndpointGroups: _list[NetworkEndpointGroup] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointWithHealthStatus(typing_extensions.TypedDict, total=False): +class NetworkEndpointWithHealthStatus(typing.TypedDict, total=False): healths: _list[HealthStatusForNetworkEndpoint] networkEndpoint: NetworkEndpoint @typing.type_check_only -class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkFirewallPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5720,16 +5512,16 @@ class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=Fal warning: dict[str, typing.Any] @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] aliasIpv6Ranges: _list[AliasIpRange] enableVpcScopedDns: bool fingerprint: str - igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] + igmpQuery: typing.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int ipv6AccessConfigs: _list[AccessConfig] - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] ipv6Address: str kind: str macAddress: str @@ -5737,18 +5529,18 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): network: str networkAttachment: str networkIP: str - nicType: typing_extensions.Literal[ + nicType: typing.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] parentNicName: str queueCount: int serviceClassId: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subnetwork: str vlan: int @typing.type_check_only -class NetworkList(typing_extensions.TypedDict, total=False): +class NetworkList(typing.TypedDict, total=False): id: str items: _list[Network] kind: str @@ -5757,11 +5549,11 @@ class NetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkParams(typing_extensions.TypedDict, total=False): +class NetworkParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class NetworkPeering(typing_extensions.TypedDict, total=False): +class NetworkPeering(typing.TypedDict, total=False): autoCreateRoutes: bool connectionStatus: NetworkPeeringConnectionStatus exchangeSubnetRoutes: bool @@ -5772,22 +5564,20 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): name: str network: str peerMtu: int - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] - state: typing_extensions.Literal["ACTIVE", "INACTIVE"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] + state: typing.Literal["ACTIVE", "INACTIVE"] stateDetails: str - updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + updateStrategy: typing.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] @typing.type_check_only -class NetworkPeeringConnectionStatus(typing_extensions.TypedDict, total=False): +class NetworkPeeringConnectionStatus(typing.TypedDict, total=False): consensusState: NetworkPeeringConnectionStatusConsensusState trafficConfiguration: NetworkPeeringConnectionStatusTrafficConfiguration - updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + updateStrategy: typing.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] @typing.type_check_only -class NetworkPeeringConnectionStatusConsensusState( - typing_extensions.TypedDict, total=False -): - deleteStatus: typing_extensions.Literal[ +class NetworkPeeringConnectionStatusConsensusState(typing.TypedDict, total=False): + deleteStatus: typing.Literal[ "DELETE_ACKNOWLEDGED", "DELETE_STATUS_UNSPECIFIED", "LOCAL_CANCEL_REQUESTED", @@ -5795,7 +5585,7 @@ class NetworkPeeringConnectionStatusConsensusState( "PEER_CANCEL_REQUESTED", "PEER_DELETE_REQUESTED", ] - updateStatus: typing_extensions.Literal[ + updateStatus: typing.Literal[ "IN_SYNC", "PENDING_LOCAL_ACKNOWLEDMENT", "PENDING_PEER_ACKNOWLEDGEMENT", @@ -5803,26 +5593,24 @@ class NetworkPeeringConnectionStatusConsensusState( ] @typing.type_check_only -class NetworkPeeringConnectionStatusTrafficConfiguration( - typing_extensions.TypedDict, total=False -): +class NetworkPeeringConnectionStatusTrafficConfiguration(typing.TypedDict, total=False): exportCustomRoutesToPeer: bool exportSubnetRoutesWithPublicIpToPeer: bool importCustomRoutesFromPeer: bool importSubnetRoutesWithPublicIpFromPeer: bool - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] @typing.type_check_only -class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - totalEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] +class NetworkPerformanceConfig(typing.TypedDict, total=False): + totalEgressBandwidthTier: typing.Literal["DEFAULT", "TIER_1"] @typing.type_check_only -class NetworkPoliciesScopedList(typing_extensions.TypedDict, total=False): +class NetworkPoliciesScopedList(typing.TypedDict, total=False): networkPolicies: _list[NetworkPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkPolicy(typing_extensions.TypedDict, total=False): +class NetworkPolicy(typing.TypedDict, total=False): associations: _list[NetworkPolicyAssociation] creationTimestamp: str description: str @@ -5836,7 +5624,7 @@ class NetworkPolicy(typing_extensions.TypedDict, total=False): trafficClassificationRules: _list[NetworkPolicyTrafficClassificationRule] @typing.type_check_only -class NetworkPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5846,12 +5634,12 @@ class NetworkPolicyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkPolicyAssociation(typing_extensions.TypedDict, total=False): +class NetworkPolicyAssociation(typing.TypedDict, total=False): attachmentTarget: str name: str @typing.type_check_only -class NetworkPolicyList(typing_extensions.TypedDict, total=False): +class NetworkPolicyList(typing.TypedDict, total=False): id: str items: _list[NetworkPolicy] kind: str @@ -5859,7 +5647,7 @@ class NetworkPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkPolicyTrafficClassificationRule(typing_extensions.TypedDict, total=False): +class NetworkPolicyTrafficClassificationRule(typing.TypedDict, total=False): action: NetworkPolicyTrafficClassificationRuleAction description: str disabled: bool @@ -5872,38 +5660,32 @@ class NetworkPolicyTrafficClassificationRule(typing_extensions.TypedDict, total= targetServiceAccounts: _list[str] @typing.type_check_only -class NetworkPolicyTrafficClassificationRuleAction( - typing_extensions.TypedDict, total=False -): - dscpMode: typing_extensions.Literal["AUTO", "CUSTOM"] +class NetworkPolicyTrafficClassificationRuleAction(typing.TypedDict, total=False): + dscpMode: typing.Literal["AUTO", "CUSTOM"] dscpValue: int - trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] + trafficClass: typing.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] type: str @typing.type_check_only -class NetworkPolicyTrafficClassificationRuleMatcher( - typing_extensions.TypedDict, total=False -): +class NetworkPolicyTrafficClassificationRuleMatcher(typing.TypedDict, total=False): destIpRanges: _list[str] layer4Configs: _list[NetworkPolicyTrafficClassificationRuleMatcherLayer4Config] srcIpRanges: _list[str] @typing.type_check_only class NetworkPolicyTrafficClassificationRuleMatcherLayer4Config( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipProtocol: str ports: _list[str] @typing.type_check_only -class NetworkPolicyTrafficClassificationRuleSecureTag( - typing_extensions.TypedDict, total=False -): +class NetworkPolicyTrafficClassificationRuleSecureTag(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal["EFFECTIVE", "INEFFECTIVE", "STATE_UNSPECIFIED"] + state: typing.Literal["EFFECTIVE", "INEFFECTIVE", "STATE_UNSPECIFIED"] @typing.type_check_only -class NetworkProfile(typing_extensions.TypedDict, total=False): +class NetworkProfile(typing.TypedDict, total=False): creationTimestamp: str description: str features: NetworkProfileNetworkFeatures @@ -5916,14 +5698,14 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class NetworkProfileLocation(typing_extensions.TypedDict, total=False): +class NetworkProfileLocation(typing.TypedDict, total=False): name: str - scope: typing_extensions.Literal["REGION", "ZONE"] + scope: typing.Literal["REGION", "ZONE"] @typing.type_check_only -class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): +class NetworkProfileNetworkFeatures(typing.TypedDict, total=False): addressPurposes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DNS_RESOLVER", "GCE_ENDPOINT", "IPSEC_INTERCONNECT", @@ -5937,106 +5719,92 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "VPC_PEERING", ] ] - allowAddressCreation: typing_extensions.Literal[ + allowAddressCreation: typing.Literal[ "ADDRESS_CREATION_ALLOWED", "ADDRESS_CREATION_BLOCKED" ] - allowAliasIpRanges: typing_extensions.Literal[ + allowAliasIpRanges: typing.Literal[ "ALIAS_IP_RANGES_ALLOWED", "ALIAS_IP_RANGES_BLOCKED" ] - allowAutoModeSubnet: typing_extensions.Literal[ + allowAutoModeSubnet: typing.Literal[ "AUTO_MODE_SUBNET_ALLOWED", "AUTO_MODE_SUBNET_BLOCKED" ] - allowClassDFirewalls: typing_extensions.Literal[ + allowClassDFirewalls: typing.Literal[ "CLASS_D_FIREWALLS_ALLOWED", "CLASS_D_FIREWALLS_BLOCKED" ] - allowCloudNat: typing_extensions.Literal["CLOUD_NAT_ALLOWED", "CLOUD_NAT_BLOCKED"] - allowCloudRouter: typing_extensions.Literal[ - "CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED" - ] - allowDefaultNicAttachment: typing_extensions.Literal[ + allowCloudNat: typing.Literal["CLOUD_NAT_ALLOWED", "CLOUD_NAT_BLOCKED"] + allowCloudRouter: typing.Literal["CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED"] + allowDefaultNicAttachment: typing.Literal[ "DEFAULT_NIC_ATTACHMENT_ALLOWED", "DEFAULT_NIC_ATTACHMENT_BLOCKED" ] - allowExternalIpAccess: typing_extensions.Literal[ + allowExternalIpAccess: typing.Literal[ "EXTERNAL_IP_ACCESS_ALLOWED", "EXTERNAL_IP_ACCESS_BLOCKED" ] - allowFirewallPolicy: typing_extensions.Literal[ + allowFirewallPolicy: typing.Literal[ "FIREWALL_POLICY_ALLOWED", "FIREWALL_POLICY_BLOCKED" ] - allowInterconnect: typing_extensions.Literal[ - "INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED" - ] - allowIpForwarding: typing_extensions.Literal[ - "IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED" - ] - allowLoadBalancing: typing_extensions.Literal[ + allowInterconnect: typing.Literal["INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED"] + allowIpForwarding: typing.Literal["IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED"] + allowLoadBalancing: typing.Literal[ "LOAD_BALANCING_ALLOWED", "LOAD_BALANCING_BLOCKED" ] - allowMultiNicInSameNetwork: typing_extensions.Literal[ + allowMultiNicInSameNetwork: typing.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] - allowMultiNicInSameSubnetwork: typing_extensions.Literal[ + allowMultiNicInSameSubnetwork: typing.Literal[ "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" ] - allowMulticast: typing_extensions.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] - allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] - allowNetworkMigration: typing_extensions.Literal[ + allowMulticast: typing.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] + allowNcc: typing.Literal["NCC_ALLOWED", "NCC_BLOCKED"] + allowNetworkMigration: typing.Literal[ "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" ] - allowPacketMirroring: typing_extensions.Literal[ + allowPacketMirroring: typing.Literal[ "PACKET_MIRRORING_ALLOWED", "PACKET_MIRRORING_BLOCKED" ] - allowPrivateGoogleAccess: typing_extensions.Literal[ + allowPrivateGoogleAccess: typing.Literal[ "PRIVATE_GOOGLE_ACCESS_ALLOWED", "PRIVATE_GOOGLE_ACCESS_BLOCKED" ] - allowPsc: typing_extensions.Literal["PSC_ALLOWED", "PSC_BLOCKED"] - allowSameNetworkUnicast: typing_extensions.Literal[ + allowPsc: typing.Literal["PSC_ALLOWED", "PSC_BLOCKED"] + allowSameNetworkUnicast: typing.Literal[ "SAME_NETWORK_UNICAST_ALLOWED", "SAME_NETWORK_UNICAST_BLOCKED" ] - allowStaticRoutes: typing_extensions.Literal[ - "STATIC_ROUTES_ALLOWED", "STATIC_ROUTES_BLOCKED" - ] - allowSubInterfaces: typing_extensions.Literal[ - "SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED" - ] - allowSubnetworkCreation: typing_extensions.Literal[ + allowStaticRoutes: typing.Literal["STATIC_ROUTES_ALLOWED", "STATIC_ROUTES_BLOCKED"] + allowSubInterfaces: typing.Literal["SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED"] + allowSubnetworkCreation: typing.Literal[ "SUBNETWORK_CREATION_ALLOWED", "SUBNETWORK_CREATION_BLOCKED" ] - allowVpcFirewallRules: typing_extensions.Literal[ + allowVpcFirewallRules: typing.Literal[ "VPC_FIREWALL_RULES_ALLOWED", "VPC_FIREWALL_RULES_BLOCKED" ] - allowVpcPeering: typing_extensions.Literal[ - "VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED" - ] - allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] + allowVpcPeering: typing.Literal["VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED"] + allowVpn: typing.Literal["VPN_ALLOWED", "VPN_BLOCKED"] firewallPolicyTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" ] ] interfaceTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] ] - multicast: typing_extensions.Literal["MULTICAST_SDN", "MULTICAST_ULL"] + multicast: typing.Literal["MULTICAST_SDN", "MULTICAST_ULL"] predefinedNetworkInternalIpv6Range: str predefinedSubnetworkRanges: _list[ NetworkProfileNetworkFeaturesPredefinedSubnetworkRange ] subnetPurposes: _list[ - typing_extensions.Literal[ - "SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE" - ] + typing.Literal["SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE"] ] subnetStackTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUBNET_STACK_TYPE_IPV4_IPV6", "SUBNET_STACK_TYPE_IPV4_ONLY", "SUBNET_STACK_TYPE_IPV6_ONLY", ] ] subnetworkPurposes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", @@ -6048,27 +5816,25 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "REGIONAL_MANAGED_PROXY", ] ] - subnetworkStackTypes: _list[ - typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] - ] - unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] + subnetworkStackTypes: _list[typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"]] + unicast: typing.Literal["UNICAST_SDN", "UNICAST_ULL"] @typing.type_check_only class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipv6Range: str namePrefix: str @typing.type_check_only -class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): - networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] - rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE", "ROCE_METAL"] - ullSubtype: typing_extensions.Literal["OPERATOR", "PARTICIPANT"] - vpcSubtype: typing_extensions.Literal["REGIONAL"] +class NetworkProfileProfileType(typing.TypedDict, total=False): + networkType: typing.Literal["RDMA", "ULL", "VPC"] + rdmaSubtype: typing.Literal["FALCON", "ROCE", "ROCE_METAL"] + ullSubtype: typing.Literal["OPERATOR", "PARTICIPANT"] + vpcSubtype: typing.Literal["REGIONAL"] @typing.type_check_only -class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): +class NetworkProfilesListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[NetworkProfile] @@ -6079,29 +5845,27 @@ class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkRoutingConfig(typing_extensions.TypedDict, total=False): +class NetworkRoutingConfig(typing.TypedDict, total=False): bgpAlwaysCompareMed: bool - bgpBestPathSelectionMode: typing_extensions.Literal["LEGACY", "STANDARD"] - bgpInterRegionCost: typing_extensions.Literal["ADD_COST_TO_MED", "DEFAULT"] + bgpBestPathSelectionMode: typing.Literal["LEGACY", "STANDARD"] + bgpInterRegionCost: typing.Literal["ADD_COST_TO_MED", "DEFAULT"] effectiveBgpAlwaysCompareMed: bool - effectiveBgpInterRegionCost: typing_extensions.Literal["ADD_COST_TO_MED", "DEFAULT"] - routingMode: typing_extensions.Literal["GLOBAL", "REGIONAL"] + effectiveBgpInterRegionCost: typing.Literal["ADD_COST_TO_MED", "DEFAULT"] + routingMode: typing.Literal["GLOBAL", "REGIONAL"] @typing.type_check_only -class NetworksAddPeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksAddPeeringRequest(typing.TypedDict, total=False): autoCreateRoutes: bool name: str networkPeering: NetworkPeering peerNetwork: str @typing.type_check_only -class NetworksCancelRequestRemovePeeringRequest( - typing_extensions.TypedDict, total=False -): +class NetworksCancelRequestRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): +class NetworksGetEffectiveFirewallsResponse(typing.TypedDict, total=False): firewallPolicys: _list[NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy] firewalls: _list[Firewall] organizationFirewalls: _list[ @@ -6110,7 +5874,7 @@ class NetworksGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=F @typing.type_check_only class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -6118,29 +5882,29 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( priority: int rules: _list[FirewallPolicyRule] shortName: str - type: typing_extensions.Literal["HIERARCHY", "NETWORK", "SYSTEM", "UNSPECIFIED"] + type: typing.Literal["HIERARCHY", "NETWORK", "SYSTEM", "UNSPECIFIED"] @typing.type_check_only class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str rules: _list[SecurityPolicyRule] @typing.type_check_only -class NetworksRemovePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksRequestRemovePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksRequestRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksUpdatePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksUpdatePeeringRequest(typing.TypedDict, total=False): networkPeering: NetworkPeering @typing.type_check_only -class NodeGroup(typing_extensions.TypedDict, total=False): +class NodeGroup(typing.TypedDict, total=False): autoscalingPolicy: NodeGroupAutoscalingPolicy creationTimestamp: str description: str @@ -6148,8 +5912,8 @@ class NodeGroup(typing_extensions.TypedDict, total=False): id: str kind: str locationHint: str - maintenanceInterval: typing_extensions.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] - maintenancePolicy: typing_extensions.Literal[ + maintenanceInterval: typing.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] + maintenancePolicy: typing.Literal[ "DEFAULT", "MAINTENANCE_POLICY_UNSPECIFIED", "MIGRATE_WITHIN_NODE_GROUP", @@ -6161,11 +5925,11 @@ class NodeGroup(typing_extensions.TypedDict, total=False): selfLink: str shareSettings: ShareSettings size: int - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class NodeGroupAggregatedList(typing_extensions.TypedDict, total=False): +class NodeGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6175,13 +5939,13 @@ class NodeGroupAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupAutoscalingPolicy(typing_extensions.TypedDict, total=False): +class NodeGroupAutoscalingPolicy(typing.TypedDict, total=False): maxNodes: int minNodes: int - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "OFF", "ON", "ONLY_SCALE_OUT"] + mode: typing.Literal["MODE_UNSPECIFIED", "OFF", "ON", "ONLY_SCALE_OUT"] @typing.type_check_only -class NodeGroupList(typing_extensions.TypedDict, total=False): +class NodeGroupList(typing.TypedDict, total=False): id: str items: _list[NodeGroup] kind: str @@ -6190,15 +5954,15 @@ class NodeGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupMaintenanceWindow(typing_extensions.TypedDict, total=False): +class NodeGroupMaintenanceWindow(typing.TypedDict, total=False): maintenanceDuration: Duration startTime: str @typing.type_check_only -class NodeGroupNode(typing_extensions.TypedDict, total=False): +class NodeGroupNode(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] consumedResources: InstanceConsumptionInfo - cpuOvercommitType: typing_extensions.Literal[ + cpuOvercommitType: typing.Literal[ "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", "ENABLED", "NONE" ] disks: _list[LocalDisk] @@ -6209,22 +5973,20 @@ class NodeGroupNode(typing_extensions.TypedDict, total=False): satisfiesPzs: bool serverBinding: ServerBinding serverId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "REPAIRING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "REPAIRING"] totalResources: InstanceConsumptionInfo upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class NodeGroupsAddNodesRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsAddNodesRequest(typing.TypedDict, total=False): additionalNodeCount: int @typing.type_check_only -class NodeGroupsDeleteNodesRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsDeleteNodesRequest(typing.TypedDict, total=False): nodes: _list[str] @typing.type_check_only -class NodeGroupsListNodes(typing_extensions.TypedDict, total=False): +class NodeGroupsListNodes(typing.TypedDict, total=False): id: str items: _list[NodeGroupNode] kind: str @@ -6233,29 +5995,27 @@ class NodeGroupsListNodes(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsPerformMaintenanceRequest(typing.TypedDict, total=False): nodes: _list[str] startTime: str @typing.type_check_only -class NodeGroupsScopedList(typing_extensions.TypedDict, total=False): +class NodeGroupsScopedList(typing.TypedDict, total=False): nodeGroups: _list[NodeGroup] warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupsSetNodeTemplateRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsSetNodeTemplateRequest(typing.TypedDict, total=False): nodeTemplate: str @typing.type_check_only -class NodeGroupsSimulateMaintenanceEventRequest( - typing_extensions.TypedDict, total=False -): +class NodeGroupsSimulateMaintenanceEventRequest(typing.TypedDict, total=False): nodes: _list[str] @typing.type_check_only -class NodeTemplate(typing_extensions.TypedDict, total=False): +class NodeTemplate(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] - cpuOvercommitType: typing_extensions.Literal[ + cpuOvercommitType: typing.Literal[ "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", "ENABLED", "NONE" ] creationTimestamp: str @@ -6270,11 +6030,11 @@ class NodeTemplate(typing_extensions.TypedDict, total=False): region: str selfLink: str serverBinding: ServerBinding - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] statusMessage: str @typing.type_check_only -class NodeTemplateAggregatedList(typing_extensions.TypedDict, total=False): +class NodeTemplateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6284,7 +6044,7 @@ class NodeTemplateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTemplateList(typing_extensions.TypedDict, total=False): +class NodeTemplateList(typing.TypedDict, total=False): id: str items: _list[NodeTemplate] kind: str @@ -6293,18 +6053,18 @@ class NodeTemplateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTemplateNodeTypeFlexibility(typing_extensions.TypedDict, total=False): +class NodeTemplateNodeTypeFlexibility(typing.TypedDict, total=False): cpus: str localSsd: str memory: str @typing.type_check_only -class NodeTemplatesScopedList(typing_extensions.TypedDict, total=False): +class NodeTemplatesScopedList(typing.TypedDict, total=False): nodeTemplates: _list[NodeTemplate] warning: dict[str, typing.Any] @typing.type_check_only -class NodeType(typing_extensions.TypedDict, total=False): +class NodeType(typing.TypedDict, total=False): cpuPlatform: str creationTimestamp: str deprecated: DeprecationStatus @@ -6320,7 +6080,7 @@ class NodeType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class NodeTypeAggregatedList(typing_extensions.TypedDict, total=False): +class NodeTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6330,7 +6090,7 @@ class NodeTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTypeList(typing_extensions.TypedDict, total=False): +class NodeTypeList(typing.TypedDict, total=False): id: str items: _list[NodeType] kind: str @@ -6339,12 +6099,12 @@ class NodeTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTypesScopedList(typing_extensions.TypedDict, total=False): +class NodeTypesScopedList(typing.TypedDict, total=False): nodeTypes: _list[NodeType] warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpoint(typing_extensions.TypedDict, total=False): +class NotificationEndpoint(typing.TypedDict, total=False): creationTimestamp: str description: str grpcSettings: NotificationEndpointGrpcSettings @@ -6355,7 +6115,7 @@ class NotificationEndpoint(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class NotificationEndpointAggregatedList(typing_extensions.TypedDict, total=False): +class NotificationEndpointAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6365,7 +6125,7 @@ class NotificationEndpointAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpointGrpcSettings(typing_extensions.TypedDict, total=False): +class NotificationEndpointGrpcSettings(typing.TypedDict, total=False): authority: str endpoint: str payloadName: str @@ -6373,7 +6133,7 @@ class NotificationEndpointGrpcSettings(typing_extensions.TypedDict, total=False) retryDurationSec: int @typing.type_check_only -class NotificationEndpointList(typing_extensions.TypedDict, total=False): +class NotificationEndpointList(typing.TypedDict, total=False): id: str items: _list[NotificationEndpoint] kind: str @@ -6382,12 +6142,12 @@ class NotificationEndpointList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpointsScopedList(typing_extensions.TypedDict, total=False): +class NotificationEndpointsScopedList(typing.TypedDict, total=False): resources: _list[NotificationEndpoint] warning: dict[str, typing.Any] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clientOperationId: str creationTimestamp: str description: str @@ -6410,7 +6170,7 @@ class Operation(typing_extensions.TypedDict, total=False): SetCommonInstanceMetadataOperationMetadata ) startTime: str - status: typing_extensions.Literal["DONE", "PENDING", "RUNNING"] + status: typing.Literal["DONE", "PENDING", "RUNNING"] statusMessage: str targetId: str targetLink: str @@ -6419,7 +6179,7 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationAggregatedList(typing_extensions.TypedDict, total=False): +class OperationAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6429,7 +6189,7 @@ class OperationAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class OperationList(typing_extensions.TypedDict, total=False): +class OperationList(typing.TypedDict, total=False): id: str items: _list[Operation] kind: str @@ -6438,12 +6198,12 @@ class OperationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class OperationsScopedList(typing_extensions.TypedDict, total=False): +class OperationsScopedList(typing.TypedDict, total=False): operations: _list[Operation] warning: dict[str, typing.Any] @typing.type_check_only -class OrganizationRolloutsListResponse(typing_extensions.TypedDict, total=False): +class OrganizationRolloutsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[Rollout] @@ -6454,13 +6214,13 @@ class OrganizationRolloutsListResponse(typing_extensions.TypedDict, total=False) @typing.type_check_only class OrganizationSecurityPoliciesListAssociationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): associations: _list[SecurityPolicyAssociation] kind: str @typing.type_check_only -class OutlierDetection(typing_extensions.TypedDict, total=False): +class OutlierDetection(typing.TypedDict, total=False): baseEjectionTime: Duration consecutiveErrors: int consecutiveGatewayFailure: int @@ -6474,22 +6234,20 @@ class OutlierDetection(typing_extensions.TypedDict, total=False): successRateStdevFactor: int @typing.type_check_only -class PacketIntervals(typing_extensions.TypedDict, total=False): +class PacketIntervals(typing.TypedDict, total=False): avgMs: str - duration: typing_extensions.Literal["DURATION_UNSPECIFIED", "HOUR", "MAX", "MINUTE"] + duration: typing.Literal["DURATION_UNSPECIFIED", "HOUR", "MAX", "MINUTE"] maxMs: str minMs: str numIntervals: str - type: typing_extensions.Literal[ - "LOOPBACK", "RECEIVE", "TRANSMIT", "TYPE_UNSPECIFIED" - ] + type: typing.Literal["LOOPBACK", "RECEIVE", "TRANSMIT", "TYPE_UNSPECIFIED"] @typing.type_check_only -class PacketMirroring(typing_extensions.TypedDict, total=False): +class PacketMirroring(typing.TypedDict, total=False): collectorIlb: PacketMirroringForwardingRuleInfo creationTimestamp: str description: str - enable: typing_extensions.Literal["FALSE", "TRUE"] + enable: typing.Literal["FALSE", "TRUE"] filter: PacketMirroringFilter id: str kind: str @@ -6501,7 +6259,7 @@ class PacketMirroring(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class PacketMirroringAggregatedList(typing_extensions.TypedDict, total=False): +class PacketMirroringAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6511,18 +6269,18 @@ class PacketMirroringAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PacketMirroringFilter(typing_extensions.TypedDict, total=False): +class PacketMirroringFilter(typing.TypedDict, total=False): IPProtocols: _list[str] cidrRanges: _list[str] - direction: typing_extensions.Literal["BOTH", "EGRESS", "INGRESS"] + direction: typing.Literal["BOTH", "EGRESS", "INGRESS"] @typing.type_check_only -class PacketMirroringForwardingRuleInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringForwardingRuleInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringList(typing_extensions.TypedDict, total=False): +class PacketMirroringList(typing.TypedDict, total=False): id: str items: _list[PacketMirroring] kind: str @@ -6531,42 +6289,38 @@ class PacketMirroringList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PacketMirroringMirroredResourceInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringMirroredResourceInfo(typing.TypedDict, total=False): instances: _list[PacketMirroringMirroredResourceInfoInstanceInfo] subnetworks: _list[PacketMirroringMirroredResourceInfoSubnetInfo] tags: _list[str] @typing.type_check_only -class PacketMirroringMirroredResourceInfoInstanceInfo( - typing_extensions.TypedDict, total=False -): +class PacketMirroringMirroredResourceInfoInstanceInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringMirroredResourceInfoSubnetInfo( - typing_extensions.TypedDict, total=False -): +class PacketMirroringMirroredResourceInfoSubnetInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringNetworkInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringNetworkInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringsScopedList(typing_extensions.TypedDict, total=False): +class PacketMirroringsScopedList(typing.TypedDict, total=False): packetMirrorings: _list[PacketMirroring] warning: dict[str, typing.Any] @typing.type_check_only -class PartnerMetadata(typing_extensions.TypedDict, total=False): +class PartnerMetadata(typing.TypedDict, total=False): fingerprint: str partnerMetadata: dict[str, typing.Any] @typing.type_check_only -class PathMatcher(typing_extensions.TypedDict, total=False): +class PathMatcher(typing.TypedDict, total=False): defaultCustomErrorResponsePolicy: CustomErrorResponsePolicy defaultRouteAction: HttpRouteAction defaultService: str @@ -6578,7 +6332,7 @@ class PathMatcher(typing_extensions.TypedDict, total=False): routeRules: _list[HttpRouteRule] @typing.type_check_only -class PathRule(typing_extensions.TypedDict, total=False): +class PathRule(typing.TypedDict, total=False): customErrorResponsePolicy: CustomErrorResponsePolicy paths: _list[str] routeAction: HttpRouteAction @@ -6586,17 +6340,17 @@ class PathRule(typing_extensions.TypedDict, total=False): urlRedirect: HttpRedirectAction @typing.type_check_only -class PerInstanceConfig(typing_extensions.TypedDict, total=False): +class PerInstanceConfig(typing.TypedDict, total=False): fingerprint: str name: str preservedState: PreservedState - status: typing_extensions.Literal[ + status: typing.Literal[ "APPLYING", "DELETING", "EFFECTIVE", "NONE", "UNAPPLIED", "UNAPPLIED_DELETION" ] @typing.type_check_only -class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=False): - subType: typing_extensions.Literal[ +class PeriodicPartialMaintenanceSchedule(typing.TypedDict, total=False): + subType: typing.Literal[ "MAINTENANCE_SUBTYPE_UNSPECIFIED", "MAINTENANCE_TYPE_CUSTOMER_MAINTENANCE", "MAINTENANCE_TYPE_DISRUPTIVE_UPGRADE", @@ -6604,51 +6358,62 @@ class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=Fals "MAINTENANCE_TYPE_TRANSITION", ] targetResource: str - type: typing_extensions.Literal[ - "MAINTENANCE_TYPE_UNSPECIFIED", "PRIVATE_ZONE_MAINTENANCE" - ] + type: typing.Literal["MAINTENANCE_TYPE_UNSPECIFIED", "PRIVATE_ZONE_MAINTENANCE"] windowEndTime: DateTime windowStartTime: DateTime @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class PersistentDiskResourceCommitment(typing.TypedDict, total=False): + amount: str + dimensionType: typing.Literal[ + "CAPACITY_OPTIMIZED", + "DIMENSION_TYPE_UNSPECIFIED", + "READ_OPTIMIZED", + "WRITE_OPTIMIZED", + ] + productType: typing.Literal[ + "HYPERDISK_EXAPOOL_BALANCED", + "HYPERDISK_EXAPOOL_THROUGHPUT", + "PRODUCT_TYPE_UNSPECIFIED", + ] + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PreconfiguredWafSet(typing_extensions.TypedDict, total=False): +class PreconfiguredWafSet(typing.TypedDict, total=False): expressionSets: _list[WafExpressionSet] @typing.type_check_only -class PreservedState(typing_extensions.TypedDict, total=False): +class PreservedState(typing.TypedDict, total=False): disks: dict[str, typing.Any] externalIPs: dict[str, typing.Any] internalIPs: dict[str, typing.Any] metadata: dict[str, typing.Any] @typing.type_check_only -class PreservedStatePreservedDisk(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] +class PreservedStatePreservedDisk(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] source: str @typing.type_check_only -class PreservedStatePreservedNetworkIp(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class PreservedStatePreservedNetworkIp(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] ipAddress: PreservedStatePreservedNetworkIpIpAddress @typing.type_check_only -class PreservedStatePreservedNetworkIpIpAddress( - typing_extensions.TypedDict, total=False -): +class PreservedStatePreservedNetworkIpIpAddress(typing.TypedDict, total=False): address: str literal: str @typing.type_check_only -class PreviewFeature(typing_extensions.TypedDict, total=False): - activationStatus: typing_extensions.Literal[ +class PreviewFeature(typing.TypedDict, total=False): + activationStatus: typing.Literal[ "ACTIVATION_STATE_UNSPECIFIED", "DISABLED", "ENABLED" ] creationTimestamp: str @@ -6661,7 +6426,7 @@ class PreviewFeature(typing_extensions.TypedDict, total=False): status: PreviewFeatureStatus @typing.type_check_only -class PreviewFeatureList(typing_extensions.TypedDict, total=False): +class PreviewFeatureList(typing.TypedDict, total=False): etag: str id: str items: _list[PreviewFeature] @@ -6671,39 +6436,37 @@ class PreviewFeatureList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PreviewFeatureRolloutOperation(typing_extensions.TypedDict, total=False): +class PreviewFeatureRolloutOperation(typing.TypedDict, total=False): rolloutInput: PreviewFeatureRolloutOperationRolloutInput @typing.type_check_only -class PreviewFeatureRolloutOperationRolloutInput( - typing_extensions.TypedDict, total=False -): +class PreviewFeatureRolloutOperationRolloutInput(typing.TypedDict, total=False): name: str - predefinedRolloutPlan: typing_extensions.Literal[ + predefinedRolloutPlan: typing.Literal[ "ROLLOUT_PLAN_FAST_ROLLOUT", "ROLLOUT_PLAN_TWO_DAY_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", ] @typing.type_check_only -class PreviewFeatureStatus(typing_extensions.TypedDict, total=False): +class PreviewFeatureStatus(typing.TypedDict, total=False): description: str helpLink: str releaseStatus: PreviewFeatureStatusReleaseStatus @typing.type_check_only -class PreviewFeatureStatusReleaseStatus(typing_extensions.TypedDict, total=False): - stage: typing_extensions.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] +class PreviewFeatureStatusReleaseStatus(typing.TypedDict, total=False): + stage: typing.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] updateDate: Date @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): - cloudArmorTier: typing_extensions.Literal[ +class Project(typing.TypedDict, total=False): + cloudArmorTier: typing.Literal[ "CA_ENTERPRISE_ANNUAL", "CA_ENTERPRISE_PAYGO", "CA_STANDARD" ] commonInstanceMetadata: Metadata creationTimestamp: str - defaultNetworkTier: typing_extensions.Literal[ + defaultNetworkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] defaultServiceAccount: str @@ -6711,77 +6474,78 @@ class Project(typing_extensions.TypedDict, total=False): enabledFeatures: _list[str] id: str kind: str - managedProtectionTier: typing_extensions.Literal[ + managedProtectionTier: typing.Literal[ "CAMP_PLUS_ANNUAL", "CAMP_PLUS_PAYGO", "CA_STANDARD" ] name: str quotas: _list[Quota] selfLink: str usageExportLocation: UsageExportLocation - vmDnsSetting: typing_extensions.Literal[ + vmDnsSetting: typing.Literal[ "GLOBAL_DEFAULT", "UNSPECIFIED_VM_DNS_SETTING", "ZONAL_DEFAULT", "ZONAL_ONLY" ] - xpnProjectStatus: typing_extensions.Literal[ - "HOST", "UNSPECIFIED_XPN_PROJECT_STATUS" - ] + xpnProjectStatus: typing.Literal["HOST", "UNSPECIFIED_XPN_PROJECT_STATUS"] @typing.type_check_only -class ProjectView(typing_extensions.TypedDict, total=False): +class ProjectView(typing.TypedDict, total=False): project: Project @typing.type_check_only -class ProjectsDisableXpnResourceRequest(typing_extensions.TypedDict, total=False): +class ProjectsDisableXpnResourceRequest(typing.TypedDict, total=False): xpnResource: XpnResourceId @typing.type_check_only -class ProjectsEnableXpnResourceRequest(typing_extensions.TypedDict, total=False): +class ProjectsEnableXpnResourceRequest(typing.TypedDict, total=False): xpnResource: XpnResourceId @typing.type_check_only -class ProjectsGetXpnResources(typing_extensions.TypedDict, total=False): +class ProjectsGetXpnResources(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[XpnResourceId] @typing.type_check_only -class ProjectsListXpnHostsRequest(typing_extensions.TypedDict, total=False): +class ProjectsListXpnHostsRequest(typing.TypedDict, total=False): organization: str @typing.type_check_only -class ProjectsSetCloudArmorTierRequest(typing_extensions.TypedDict, total=False): - cloudArmorTier: typing_extensions.Literal[ +class ProjectsSetCloudArmorTierRequest(typing.TypedDict, total=False): + cloudArmorTier: typing.Literal[ "CA_ENTERPRISE_ANNUAL", "CA_ENTERPRISE_PAYGO", "CA_STANDARD" ] @typing.type_check_only -class ProjectsSetDefaultNetworkTierRequest(typing_extensions.TypedDict, total=False): - networkTier: typing_extensions.Literal[ +class ProjectsSetDefaultNetworkTierRequest(typing.TypedDict, total=False): + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] @typing.type_check_only -class ProjectsSetManagedProtectionTierRequest(typing_extensions.TypedDict, total=False): - managedProtectionTier: typing_extensions.Literal[ +class ProjectsSetManagedProtectionTierRequest(typing.TypedDict, total=False): + managedProtectionTier: typing.Literal[ "CAMP_PLUS_ANNUAL", "CAMP_PLUS_PAYGO", "CA_STANDARD" ] @typing.type_check_only -class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): - byoipApiVersion: typing_extensions.Literal["V1", "V2"] +class PublicAdvertisedPrefix(typing.TypedDict, total=False): + byoipApiVersion: typing.Literal["V1", "V2"] creationTimestamp: str description: str dnsVerificationIp: str fingerprint: str id: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] kind: str name: str - pdpScope: typing_extensions.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] + networkTier: typing.Literal[ + "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" + ] + pdpScope: typing.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] publicDelegatedPrefixs: _list[PublicAdvertisedPrefixPublicDelegatedPrefix] selfLink: str sharedSecret: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ANNOUNCED_TO_INTERNET", "INITIAL", "PREFIX_CONFIGURATION_COMPLETE", @@ -6794,7 +6558,7 @@ class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PublicAdvertisedPrefixList(typing_extensions.TypedDict, total=False): +class PublicAdvertisedPrefixList(typing.TypedDict, total=False): id: str items: _list[PublicAdvertisedPrefix] kind: str @@ -6803,9 +6567,7 @@ class PublicAdvertisedPrefixList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PublicAdvertisedPrefixPublicDelegatedPrefix( - typing_extensions.TypedDict, total=False -): +class PublicAdvertisedPrefixPublicDelegatedPrefix(typing.TypedDict, total=False): ipRange: str name: str project: str @@ -6813,35 +6575,38 @@ class PublicAdvertisedPrefixPublicDelegatedPrefix( status: str @typing.type_check_only -class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefix(typing.TypedDict, total=False): allocatablePrefixLength: int - byoipApiVersion: typing_extensions.Literal["V1", "V2"] + byoipApiVersion: typing.Literal["V1", "V2"] creationTimestamp: str description: str enableEnhancedIpv4Allocation: bool fingerprint: str id: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] isLiveMigration: bool kind: str - mode: typing_extensions.Literal[ + mode: typing.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str + networkTier: typing.Literal[ + "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" + ] parentPrefix: str publicDelegatedSubPrefixs: _list[PublicDelegatedPrefixPublicDelegatedSubPrefix] - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "APPLICATION_AND_PROXY_LOAD_BALANCERS", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", ] region: str selfLink: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "ANNOUNCED", "ANNOUNCED_TO_GOOGLE", @@ -6852,7 +6617,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PublicDelegatedPrefixAggregatedList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6862,7 +6627,7 @@ class PublicDelegatedPrefixAggregatedList(typing_extensions.TypedDict, total=Fal warning: dict[str, typing.Any] @typing.type_check_only -class PublicDelegatedPrefixList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixList(typing.TypedDict, total=False): id: str items: _list[PublicDelegatedPrefix] kind: str @@ -6871,40 +6636,38 @@ class PublicDelegatedPrefixList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PublicDelegatedPrefixPublicDelegatedSubPrefix( - typing_extensions.TypedDict, total=False -): +class PublicDelegatedPrefixPublicDelegatedSubPrefix(typing.TypedDict, total=False): allocatablePrefixLength: int delegateeProject: str description: str enableEnhancedIpv4Allocation: bool ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] isAddress: bool - mode: typing_extensions.Literal[ + mode: typing.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", "INTERNAL_IPV6_SUBNETWORK_CREATION", ] name: str - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "APPLICATION_AND_PROXY_LOAD_BALANCERS", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", "PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", ] region: str - status: typing_extensions.Literal["ACTIVE", "INACTIVE"] + status: typing.Literal["ACTIVE", "INACTIVE"] @typing.type_check_only -class PublicDelegatedPrefixesScopedList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixesScopedList(typing.TypedDict, total=False): publicDelegatedPrefixes: _list[PublicDelegatedPrefix] warning: dict[str, typing.Any] @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limit: float - metric: typing_extensions.Literal[ + metric: typing.Literal[ "A2_CPUS", "AFFINITY_GROUPS", "AUTOSCALERS", @@ -7075,25 +6838,28 @@ class Quota(typing_extensions.TypedDict, total=False): usage: float @typing.type_check_only -class QuotaExceededInfo(typing_extensions.TypedDict, total=False): +class QuotaExceededInfo(typing.TypedDict, total=False): dimensions: dict[str, typing.Any] futureLimit: float limit: float limitName: str metricName: str - rolloutStatus: typing_extensions.Literal[ - "IN_PROGRESS", "ROLLOUT_STATUS_UNSPECIFIED" - ] + rolloutStatus: typing.Literal["IN_PROGRESS", "ROLLOUT_STATUS_UNSPECIFIED"] @typing.type_check_only -class Reference(typing_extensions.TypedDict, total=False): +class Reference(typing.TypedDict, total=False): kind: str referenceType: str referrer: str target: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class RegexRewrite(typing.TypedDict, total=False): + pathPattern: str + pathSubstitution: str + +@typing.type_check_only +class Region(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -7103,17 +6869,17 @@ class Region(typing_extensions.TypedDict, total=False): quotaStatusWarning: dict[str, typing.Any] quotas: _list[Quota] selfLink: str - status: typing_extensions.Literal["DOWN", "UP"] + status: typing.Literal["DOWN", "UP"] supportsPzs: bool zones: _list[str] @typing.type_check_only -class RegionAddressesMoveRequest(typing_extensions.TypedDict, total=False): +class RegionAddressesMoveRequest(typing.TypedDict, total=False): description: str destinationAddress: str @typing.type_check_only -class RegionAutoscalerList(typing_extensions.TypedDict, total=False): +class RegionAutoscalerList(typing.TypedDict, total=False): id: str items: _list[Autoscaler] kind: str @@ -7122,13 +6888,11 @@ class RegionAutoscalerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionCommitmentsUpdateReservationsRequest( - typing_extensions.TypedDict, total=False -): +class RegionCommitmentsUpdateReservationsRequest(typing.TypedDict, total=False): reservations: _list[Reservation] @typing.type_check_only -class RegionDiskTypeList(typing_extensions.TypedDict, total=False): +class RegionDiskTypeList(typing.TypedDict, total=False): id: str items: _list[DiskType] kind: str @@ -7137,29 +6901,27 @@ class RegionDiskTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionDiskUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class RegionDiskUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class RegionDisksAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class RegionDisksAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class RegionDisksRemoveResourcePoliciesRequest( - typing_extensions.TypedDict, total=False -): +class RegionDisksRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class RegionDisksResizeRequest(typing_extensions.TypedDict, total=False): +class RegionDisksResizeRequest(typing.TypedDict, total=False): sizeGb: str @typing.type_check_only -class RegionDisksStartAsyncReplicationRequest(typing_extensions.TypedDict, total=False): +class RegionDisksStartAsyncReplicationRequest(typing.TypedDict, total=False): asyncSecondaryDisk: str @typing.type_check_only -class RegionInstanceGroupList(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupList(typing.TypedDict, total=False): id: str items: _list[InstanceGroup] kind: str @@ -7168,13 +6930,11 @@ class RegionInstanceGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerDeleteInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerDeleteInstanceConfigReq(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class RegionInstanceGroupManagerList(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupManagerList(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManager] kind: str @@ -7183,14 +6943,12 @@ class RegionInstanceGroupManagerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerPatchInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerPatchInstanceConfigReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only class RegionInstanceGroupManagerResizeRequestsListResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str id: str @@ -7202,136 +6960,98 @@ class RegionInstanceGroupManagerResizeRequestsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerUpdateInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerUpdateInstanceConfigReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersAbandonInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersAbandonInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersAdoptInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersAdoptInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersApplyUpdatesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersApplyUpdatesRequest(typing.TypedDict, total=False): allInstances: bool allowedActions: _list[ - typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" - ] + typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE"] ] instances: _list[str] - minimalAction: typing_extensions.Literal[ + minimalAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] @typing.type_check_only -class RegionInstanceGroupManagersCreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersCreateInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersDeleteInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersDeleteInstancesRequest(typing.TypedDict, total=False): instances: _list[str] skipInstancesOnValidationError: bool @typing.type_check_only -class RegionInstanceGroupManagersListErrorsResponse( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListErrorsResponse(typing.TypedDict, total=False): items: _list[InstanceManagedByIgmError] nextPageToken: str @typing.type_check_only -class RegionInstanceGroupManagersListInstanceConfigsResp( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListInstanceConfigsResp(typing.TypedDict, total=False): items: _list[PerInstanceConfig] nextPageToken: str warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagersListInstancesResponse( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListInstancesResponse(typing.TypedDict, total=False): managedInstances: _list[ManagedInstance] nextPageToken: str @typing.type_check_only -class RegionInstanceGroupManagersRecreateRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersRecreateRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersResizeAdvancedRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersResizeAdvancedRequest(typing.TypedDict, total=False): noCreationRetries: bool targetSize: int @typing.type_check_only -class RegionInstanceGroupManagersResumeInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersResumeInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSetAutoHealingRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetAutoHealingRequest(typing.TypedDict, total=False): autoHealingPolicies: _list[InstanceGroupManagerAutoHealingPolicy] @typing.type_check_only -class RegionInstanceGroupManagersSetTargetPoolsRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetTargetPoolsRequest(typing.TypedDict, total=False): fingerprint: str targetPools: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSetTemplateRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetTemplateRequest(typing.TypedDict, total=False): instanceTemplate: str @typing.type_check_only -class RegionInstanceGroupManagersStartInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersStartInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersStopInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersStopInstancesRequest(typing.TypedDict, total=False): forceStop: bool instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSuspendInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSuspendInstancesRequest(typing.TypedDict, total=False): forceSuspend: bool instances: _list[str] @typing.type_check_only -class RegionInstanceGroupsListInstances(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupsListInstances(typing.TypedDict, total=False): id: str items: _list[InstanceWithNamedPorts] kind: str @@ -7340,21 +7060,17 @@ class RegionInstanceGroupsListInstances(typing_extensions.TypedDict, total=False warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupsListInstancesRequest( - typing_extensions.TypedDict, total=False -): - instanceState: typing_extensions.Literal["ALL", "RUNNING"] +class RegionInstanceGroupsListInstancesRequest(typing.TypedDict, total=False): + instanceState: typing.Literal["ALL", "RUNNING"] portName: str @typing.type_check_only -class RegionInstanceGroupsSetNamedPortsRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupsSetNamedPortsRequest(typing.TypedDict, total=False): fingerprint: str namedPorts: _list[NamedPort] @typing.type_check_only -class RegionList(typing_extensions.TypedDict, total=False): +class RegionList(typing.TypedDict, total=False): id: str items: _list[Region] kind: str @@ -7363,20 +7079,16 @@ class RegionList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionNetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class RegionNetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class RegionNetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class RegionNetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firewallPolicys: _list[ RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy @@ -7385,14 +7097,14 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( @typing.type_check_only class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str packetMirroringRules: _list[FirewallPolicyRule] priority: int rules: _list[FirewallPolicyRule] - type: typing_extensions.Literal[ + type: typing.Literal[ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", @@ -7402,92 +7114,106 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal ] @typing.type_check_only -class RegionSetLabelsRequest(typing_extensions.TypedDict, total=False): +class RegionSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class RegionSetPolicyRequest(typing_extensions.TypedDict, total=False): +class RegionSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class RegionSnapshotUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class RegionSnapshotUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class RegionTargetHttpsProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class RegionTargetHttpsProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): +class RegionUrlMapsValidateRequest(typing.TypedDict, total=False): resource: UrlMap @typing.type_check_only -class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): +class ReliabilityRisk(typing.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.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.TypedDict, total=False): backendService: str mirrorPercent: float @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation commitment: str - confidentialComputeType: typing_extensions.Literal[ + confidentialComputeType: typing.Literal[ "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" ] creationTimestamp: str deleteAfterDuration: Duration deleteAtTime: str - deploymentType: typing_extensions.Literal[ - "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" - ] + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE"] description: str - earlyAccessMaintenance: typing_extensions.Literal[ - "NO_EARLY_ACCESS", "WAVE1", "WAVE2" - ] + earlyAccessMaintenance: typing.Literal["NO_EARLY_ACCESS", "WAVE1", "WAVE2"] enableEmergentMaintenance: bool id: str kind: str linkedCommitments: _list[str] name: str params: ReservationParams - protectionTier: typing_extensions.Literal[ + protectionTier: typing.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] - reservationMode: typing_extensions.Literal[ + reservationMode: typing.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] reservationSharingPolicy: AllocationReservationSharingPolicy resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus satisfiesPzs: bool - schedulingType: typing_extensions.Literal[ + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] selfLink: str shareSettings: ShareSettings specificReservation: AllocationSpecificSKUReservation specificReservationRequired: bool - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "UPDATING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "UPDATING"] zone: str @typing.type_check_only -class ReservationAdvancedDeploymentControl(typing_extensions.TypedDict, total=False): - reservationOperationalMode: typing_extensions.Literal[ +class ReservationAdvancedDeploymentControl(typing.TypedDict, total=False): + reservationOperationalMode: typing.Literal[ "ALL_CAPACITY", "HIGHLY_AVAILABLE_CAPACITY", "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED", ] @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "ANY_RESERVATION", "ANY_RESERVATION_THEN_FAIL", "NO_RESERVATION", @@ -7500,7 +7226,7 @@ class ReservationAffinity(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ReservationAggregatedList(typing_extensions.TypedDict, total=False): +class ReservationAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7510,7 +7236,7 @@ class ReservationAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationBlock(typing_extensions.TypedDict, total=False): +class ReservationBlock(typing.TypedDict, total=False): count: int creationTimestamp: str healthInfo: ReservationBlockHealthInfo @@ -7525,44 +7251,40 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): reservationSubBlockInUseCount: int selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class ReservationBlockHealthInfo(typing_extensions.TypedDict, total=False): +class ReservationBlockHealthInfo(typing.TypedDict, total=False): degradedSubBlockCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthySubBlockCount: int @typing.type_check_only -class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationBlockPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str instances: _list[ReservationBlockPhysicalTopologyInstance] @typing.type_check_only -class ReservationBlockPhysicalTopologyInstance( - typing_extensions.TypedDict, total=False -): +class ReservationBlockPhysicalTopologyInstance(typing.TypedDict, total=False): instanceId: str physicalHostTopology: ReservationBlockPhysicalTopologyInstancePhysicalHostTopology projectId: str @typing.type_check_only class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str subBlock: str @typing.type_check_only -class ReservationBlocksGetResponse(typing_extensions.TypedDict, total=False): +class ReservationBlocksGetResponse(typing.TypedDict, total=False): resource: ReservationBlock @typing.type_check_only -class ReservationBlocksListResponse(typing_extensions.TypedDict, total=False): +class ReservationBlocksListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationBlock] kind: str @@ -7571,7 +7293,7 @@ class ReservationBlocksListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationList(typing_extensions.TypedDict, total=False): +class ReservationList(typing.TypedDict, total=False): id: str items: _list[Reservation] kind: str @@ -7580,11 +7302,11 @@ class ReservationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationParams(typing_extensions.TypedDict, total=False): +class ReservationParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class ReservationSlot(typing_extensions.TypedDict, total=False): +class ReservationSlot(typing.TypedDict, total=False): creationTimestamp: str id: str kind: str @@ -7593,33 +7315,33 @@ class ReservationSlot(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shareSettings: ShareSettings - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" ] status: ReservationSlotStatus zone: str @typing.type_check_only -class ReservationSlotPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationSlotPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str host: str subBlock: str @typing.type_check_only -class ReservationSlotStatus(typing_extensions.TypedDict, total=False): +class ReservationSlotStatus(typing.TypedDict, total=False): physicalTopology: ReservationSlotPhysicalTopology rdmaIpAddresses: _list[str] runningInstances: _list[str] @typing.type_check_only -class ReservationSlotsGetResponse(typing_extensions.TypedDict, total=False): +class ReservationSlotsGetResponse(typing.TypedDict, total=False): resource: ReservationSlot @typing.type_check_only -class ReservationSlotsGetVersionRequest(typing_extensions.TypedDict, total=False): +class ReservationSlotsGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -7627,7 +7349,7 @@ class ReservationSlotsGetVersionRequest(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): +class ReservationSlotsListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationSlot] kind: str @@ -7636,7 +7358,7 @@ class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationSubBlock(typing_extensions.TypedDict, total=False): +class ReservationSubBlock(typing.TypedDict, total=False): acceleratorTopologiesInfo: AcceleratorTopologiesInfo count: int creationTimestamp: str @@ -7650,33 +7372,31 @@ class ReservationSubBlock(typing_extensions.TypedDict, total=False): reservationSubBlockMaintenance: GroupMaintenanceInfo selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class ReservationSubBlockHealthInfo(typing_extensions.TypedDict, total=False): +class ReservationSubBlockHealthInfo(typing.TypedDict, total=False): degradedHostCount: int degradedInfraCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthyHostCount: int healthyInfraCount: int @typing.type_check_only -class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationSubBlockPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str subBlock: str @typing.type_check_only -class ReservationSubBlocksGetResponse(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksGetResponse(typing.TypedDict, total=False): resource: ReservationSubBlock @typing.type_check_only -class ReservationSubBlocksGetVersionRequest(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -7684,7 +7404,7 @@ class ReservationSubBlocksGetVersionRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationSubBlock] kind: str @@ -7693,20 +7413,16 @@ class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False) warning: dict[str, typing.Any] @typing.type_check_only -class ReservationSubBlocksReportFaultyRequest(typing_extensions.TypedDict, total=False): - disruptionSchedule: typing_extensions.Literal[ - "DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE" - ] - failureComponent: typing_extensions.Literal[ +class ReservationSubBlocksReportFaultyRequest(typing.TypedDict, total=False): + disruptionSchedule: typing.Literal["DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE"] + failureComponent: typing.Literal[ "FAILURE_COMPONENT_UNSPECIFIED", "MULTIPLE_FAULTY_HOSTS", "NVLINK_SWITCH" ] faultReasons: _list[ReservationSubBlocksReportFaultyRequestFaultReason] @typing.type_check_only -class ReservationSubBlocksReportFaultyRequestFaultReason( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal[ +class ReservationSubBlocksReportFaultyRequestFaultReason(typing.TypedDict, total=False): + behavior: typing.Literal[ "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", @@ -7716,47 +7432,43 @@ class ReservationSubBlocksReportFaultyRequestFaultReason( description: str @typing.type_check_only -class ReservationsBlocksPerformMaintenanceRequest( - typing_extensions.TypedDict, total=False -): - maintenanceScope: typing_extensions.Literal[ +class ReservationsBlocksPerformMaintenanceRequest(typing.TypedDict, total=False): + maintenanceScope: typing.Literal[ "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" ] @typing.type_check_only -class ReservationsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): - maintenanceScope: typing_extensions.Literal[ +class ReservationsPerformMaintenanceRequest(typing.TypedDict, total=False): + maintenanceScope: typing.Literal[ "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" ] @typing.type_check_only -class ReservationsResizeRequest(typing_extensions.TypedDict, total=False): +class ReservationsResizeRequest(typing.TypedDict, total=False): specificSkuCount: str @typing.type_check_only -class ReservationsScopedList(typing_extensions.TypedDict, total=False): +class ReservationsScopedList(typing.TypedDict, total=False): reservations: _list[Reservation] warning: dict[str, typing.Any] @typing.type_check_only -class ResourceCommitment(typing_extensions.TypedDict, total=False): +class ResourceCommitment(typing.TypedDict, total=False): acceleratorType: str amount: str - type: typing_extensions.Literal[ - "ACCELERATOR", "LOCAL_SSD", "MEMORY", "UNSPECIFIED", "VCPU" - ] + type: typing.Literal["ACCELERATOR", "LOCAL_SSD", "MEMORY", "UNSPECIFIED", "VCPU"] @typing.type_check_only -class ResourceGroupReference(typing_extensions.TypedDict, total=False): +class ResourceGroupReference(typing.TypedDict, total=False): group: str @typing.type_check_only -class ResourcePoliciesScopedList(typing_extensions.TypedDict, total=False): +class ResourcePoliciesScopedList(typing.TypedDict, total=False): resourcePolicies: _list[ResourcePolicy] warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicy(typing.TypedDict, total=False): creationTimestamp: str description: str diskConsistencyGroupPolicy: ResourcePolicyDiskConsistencyGroupPolicy @@ -7769,13 +7481,11 @@ class ResourcePolicy(typing_extensions.TypedDict, total=False): resourceStatus: ResourcePolicyResourceStatus selfLink: str snapshotSchedulePolicy: ResourcePolicySnapshotSchedulePolicy - status: typing_extensions.Literal[ - "CREATING", "DELETING", "EXPIRED", "INVALID", "READY" - ] + status: typing.Literal["CREATING", "DELETING", "EXPIRED", "INVALID", "READY"] workloadPolicy: ResourcePolicyWorkloadPolicy @typing.type_check_only -class ResourcePolicyAggregatedList(typing_extensions.TypedDict, total=False): +class ResourcePolicyAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -7786,21 +7496,19 @@ class ResourcePolicyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicyDailyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyDailyCycle(typing.TypedDict, total=False): daysInCycle: int duration: str startTime: str @typing.type_check_only -class ResourcePolicyDiskConsistencyGroupPolicy( - typing_extensions.TypedDict, total=False -): ... +class ResourcePolicyDiskConsistencyGroupPolicy(typing.TypedDict, total=False): ... @typing.type_check_only -class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): - acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] +class ResourcePolicyGroupPlacementPolicy(typing.TypedDict, total=False): + acceleratorTopologyMode: typing.Literal["AUTO_CONNECT", "PROVISION_ONLY"] availabilityDomainCount: int - collocation: typing_extensions.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] + collocation: typing.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] gpuTopology: str maxDistance: int sliceCount: int @@ -7808,13 +7516,13 @@ class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=Fals vmCount: int @typing.type_check_only -class ResourcePolicyHourlyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyHourlyCycle(typing.TypedDict, total=False): duration: str hoursInCycle: int startTime: str @typing.type_check_only -class ResourcePolicyInstanceSchedulePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicyInstanceSchedulePolicy(typing.TypedDict, total=False): expirationTime: str startTime: str timeZone: str @@ -7822,13 +7530,11 @@ class ResourcePolicyInstanceSchedulePolicy(typing_extensions.TypedDict, total=Fa vmStopSchedule: ResourcePolicyInstanceSchedulePolicySchedule @typing.type_check_only -class ResourcePolicyInstanceSchedulePolicySchedule( - typing_extensions.TypedDict, total=False -): +class ResourcePolicyInstanceSchedulePolicySchedule(typing.TypedDict, total=False): schedule: str @typing.type_check_only -class ResourcePolicyList(typing_extensions.TypedDict, total=False): +class ResourcePolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[ResourcePolicy] @@ -7838,44 +7544,42 @@ class ResourcePolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicyResourceStatus(typing_extensions.TypedDict, total=False): +class ResourcePolicyResourceStatus(typing.TypedDict, total=False): instanceSchedulePolicy: ResourcePolicyResourceStatusInstanceSchedulePolicyStatus @typing.type_check_only class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lastRunStartTime: str nextRunStartTime: str @typing.type_check_only -class ResourcePolicySnapshotSchedulePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicySnapshotSchedulePolicy(typing.TypedDict, total=False): retentionPolicy: ResourcePolicySnapshotSchedulePolicyRetentionPolicy schedule: ResourcePolicySnapshotSchedulePolicySchedule snapshotProperties: ResourcePolicySnapshotSchedulePolicySnapshotProperties @typing.type_check_only class ResourcePolicySnapshotSchedulePolicyRetentionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxRetentionDays: int - onSourceDiskDelete: typing_extensions.Literal[ + onSourceDiskDelete: typing.Literal[ "APPLY_RETENTION_POLICY", "KEEP_AUTO_SNAPSHOTS", "UNSPECIFIED_ON_SOURCE_DISK_DELETE", ] @typing.type_check_only -class ResourcePolicySnapshotSchedulePolicySchedule( - typing_extensions.TypedDict, total=False -): +class ResourcePolicySnapshotSchedulePolicySchedule(typing.TypedDict, total=False): dailySchedule: ResourcePolicyDailyCycle hourlySchedule: ResourcePolicyHourlyCycle weeklySchedule: ResourcePolicyWeeklyCycle @typing.type_check_only class ResourcePolicySnapshotSchedulePolicySnapshotProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chainName: str guestFlush: bool @@ -7884,12 +7588,12 @@ class ResourcePolicySnapshotSchedulePolicySnapshotProperties( storageLocations: _list[str] @typing.type_check_only -class ResourcePolicyWeeklyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyWeeklyCycle(typing.TypedDict, total=False): dayOfWeeks: _list[ResourcePolicyWeeklyCycleDayOfWeek] @typing.type_check_only -class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ResourcePolicyWeeklyCycleDayOfWeek(typing.TypedDict, total=False): + day: typing.Literal[ "FRIDAY", "INVALID", "MONDAY", @@ -7903,14 +7607,14 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals startTime: str @typing.type_check_only -class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicyWorkloadPolicy(typing.TypedDict, total=False): acceleratorTopology: str - acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] - maxTopologyDistance: typing_extensions.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] - type: typing_extensions.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] + acceleratorTopologyMode: typing.Literal["AUTO_CONNECT", "PROVISION_ONLY"] + maxTopologyDistance: typing.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] + type: typing.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] @typing.type_check_only -class ResourceStatus(typing_extensions.TypedDict, total=False): +class ResourceStatus(typing.TypedDict, total=False): effectiveInstanceMetadata: ResourceStatusEffectiveInstanceMetadata physicalHost: str physicalHostTopology: ResourceStatusPhysicalHostTopology @@ -7920,7 +7624,7 @@ class ResourceStatus(typing_extensions.TypedDict, total=False): upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total=False): +class ResourceStatusEffectiveInstanceMetadata(typing.TypedDict, total=False): blockProjectSshKeysMetadataValue: bool enableGuestAttributesMetadataValue: bool enableOsInventoryMetadataValue: bool @@ -7932,7 +7636,7 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total vmDnsSettingMetadataValue: str @typing.type_check_only -class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=False): +class ResourceStatusPhysicalHostTopology(typing.TypedDict, total=False): additionalAttributes: ResourceStatusPhysicalHostTopologyAdditionalAttributes block: str cluster: str @@ -7941,32 +7645,54 @@ class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ResourceStatusPhysicalHostTopologyAdditionalAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopologyIds: dict[str, typing.Any] + networkTopologyIds: dict[str, typing.Any] @typing.type_check_only -class ResourceStatusReservationConsumptionInfo( - typing_extensions.TypedDict, total=False -): +class ResourceStatusReservationConsumptionInfo(typing.TypedDict, total=False): consumedReservation: str consumedReservationBlock: str consumedReservationSubBlock: str @typing.type_check_only -class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): +class ResourceStatusScheduling(typing.TypedDict, total=False): availabilityDomain: int + gracefulShutdownTimestamp: str terminationTimestamp: str @typing.type_check_only -class ResourceStatusShutdownDetails(typing_extensions.TypedDict, total=False): +class ResourceStatusShutdownDetails(typing.TypedDict, total=False): maxDuration: Duration requestTimestamp: str - stopState: typing_extensions.Literal["PENDING_STOP", "STOPPING"] - targetState: typing_extensions.Literal["DELETED", "STOPPED"] + stopState: typing.Literal["PENDING_STOP", "STOPPING"] + targetState: typing.Literal["DELETED", "STOPPED"] @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class RiskDetails(typing.TypedDict, total=False): + duration: str + globalDnsInsight: RiskDetailsGlobalDnsInsight + lastUpdateTimestamp: str + severity: typing.Literal[ + "CRITICAL", "HIGH", "LOW", "MEDIUM", "SEVERITY_UNSPECIFIED" + ] + type: typing.Literal["GLOBAL_DNS", "RISK_TYPE_UNSPECIFIED"] + +@typing.type_check_only +class RiskDetailsGlobalDnsInsight(typing.TypedDict, total=False): + projectDefaultIsGlobalDns: bool + queryObservationWindow: str + riskyQueryCount: str + totalQueryCount: str + +@typing.type_check_only +class RiskRecommendation(typing.TypedDict, total=False): + content: str + referenceUrl: str + +@typing.type_check_only +class Rollout(typing.TypedDict, total=False): cancellationTime: str completionTime: str creationTimestamp: str @@ -7982,7 +7708,7 @@ class Rollout(typing_extensions.TypedDict, total=False): rolloutPlan: str selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "CANCELLED", "CANCELLING", "CANCEL_FAILED", @@ -8005,21 +7731,19 @@ class Rollout(typing_extensions.TypedDict, total=False): waveDetails: _list[RolloutWaveDetails] @typing.type_check_only -class RolloutPlan(typing_extensions.TypedDict, total=False): +class RolloutPlan(typing.TypedDict, total=False): creationTimestamp: str description: str id: str kind: str - locationScope: typing_extensions.Literal[ - "LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL" - ] + locationScope: typing.Literal["LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL"] name: str selfLink: str selfLinkWithId: str waves: _list[RolloutPlanWave] @typing.type_check_only -class RolloutPlanWave(typing_extensions.TypedDict, total=False): +class RolloutPlanWave(typing.TypedDict, total=False): displayName: str number: str orchestrationOptions: RolloutPlanWaveOrchestrationOptions @@ -8027,51 +7751,47 @@ class RolloutPlanWave(typing_extensions.TypedDict, total=False): validation: RolloutPlanWaveValidation @typing.type_check_only -class RolloutPlanWaveOrchestrationOptions(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveOrchestrationOptions(typing.TypedDict, total=False): delays: _list[RolloutPlanWaveOrchestrationOptionsDelay] maxConcurrentLocations: str maxConcurrentResourcesPerLocation: str @typing.type_check_only -class RolloutPlanWaveOrchestrationOptionsDelay( - typing_extensions.TypedDict, total=False -): - delimiter: typing_extensions.Literal[ +class RolloutPlanWaveOrchestrationOptionsDelay(typing.TypedDict, total=False): + delimiter: typing.Literal[ "DELIMITER_BATCH", "DELIMITER_LOCATION", "DELIMITER_UNSPECIFIED" ] duration: str - type: typing_extensions.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] + type: typing.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] @typing.type_check_only -class RolloutPlanWaveSelector(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveSelector(typing.TypedDict, total=False): locationSelector: RolloutPlanWaveSelectorLocationSelector resourceHierarchySelector: RolloutPlanWaveSelectorResourceHierarchySelector @typing.type_check_only -class RolloutPlanWaveSelectorLocationSelector(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveSelectorLocationSelector(typing.TypedDict, total=False): includedLocations: _list[str] @typing.type_check_only -class RolloutPlanWaveSelectorResourceHierarchySelector( - typing_extensions.TypedDict, total=False -): +class RolloutPlanWaveSelectorResourceHierarchySelector(typing.TypedDict, total=False): includedFolders: _list[str] includedOrganizations: _list[str] includedProjects: _list[str] @typing.type_check_only -class RolloutPlanWaveValidation(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveValidation(typing.TypedDict, total=False): timeBasedValidationMetadata: RolloutPlanWaveValidationTimeBasedValidationMetadata type: str @typing.type_check_only class RolloutPlanWaveValidationTimeBasedValidationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): waitDuration: str @typing.type_check_only -class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): +class RolloutPlansListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[RolloutPlan] @@ -8081,30 +7801,28 @@ class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RolloutPolicy(typing_extensions.TypedDict, total=False): +class RolloutPolicy(typing.TypedDict, total=False): defaultRolloutTime: str locationRolloutPolicies: dict[str, typing.Any] @typing.type_check_only -class RolloutRolloutEntity(typing_extensions.TypedDict, total=False): +class RolloutRolloutEntity(typing.TypedDict, total=False): orchestratedEntity: RolloutRolloutEntityOrchestratedEntity @typing.type_check_only -class RolloutRolloutEntityOrchestratedEntity(typing_extensions.TypedDict, total=False): +class RolloutRolloutEntityOrchestratedEntity(typing.TypedDict, total=False): conflictBehavior: str orchestrationAction: str orchestrationSource: str @typing.type_check_only -class RolloutWaveDetails(typing_extensions.TypedDict, total=False): +class RolloutWaveDetails(typing.TypedDict, total=False): orchestratedWaveDetails: RolloutWaveDetailsOrchestratedWaveDetails waveDisplayName: str waveNumber: str @typing.type_check_only -class RolloutWaveDetailsOrchestratedWaveDetails( - typing_extensions.TypedDict, total=False -): +class RolloutWaveDetailsOrchestratedWaveDetails(typing.TypedDict, total=False): completedResourcesCount: str estimatedCompletionTime: str estimatedTotalResourcesCount: str @@ -8114,9 +7832,9 @@ class RolloutWaveDetailsOrchestratedWaveDetails( @typing.type_check_only class RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_FAILED", "STATE_IN_PROGRESS", "STATE_PENDING", @@ -8126,7 +7844,7 @@ class RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus( ] @typing.type_check_only -class RolloutsListResponse(typing_extensions.TypedDict, total=False): +class RolloutsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[Rollout] @@ -8136,7 +7854,7 @@ class RolloutsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): asPaths: _list[RouteAsPath] creationTimestamp: str description: str @@ -8154,26 +7872,26 @@ class Route(typing_extensions.TypedDict, total=False): nextHopIp: str nextHopMed: int nextHopNetwork: str - nextHopOrigin: typing_extensions.Literal["EGP", "IGP", "INCOMPLETE"] + nextHopOrigin: typing.Literal["EGP", "IGP", "INCOMPLETE"] nextHopPeering: str nextHopVpnTunnel: str params: RouteParams priority: int - routeStatus: typing_extensions.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] - routeType: typing_extensions.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] + routeStatus: typing.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] + routeType: typing.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] selfLink: str tags: _list[str] warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class RouteAsPath(typing_extensions.TypedDict, total=False): +class RouteAsPath(typing.TypedDict, total=False): asLists: _list[int] - pathSegmentType: typing_extensions.Literal[ + pathSegmentType: typing.Literal[ "AS_CONFED_SEQUENCE", "AS_CONFED_SET", "AS_SEQUENCE", "AS_SET" ] @typing.type_check_only -class RouteList(typing_extensions.TypedDict, total=False): +class RouteList(typing.TypedDict, total=False): id: str items: _list[Route] kind: str @@ -8182,27 +7900,25 @@ class RouteList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouteParams(typing_extensions.TypedDict, total=False): +class RouteParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class RoutePolicy(typing_extensions.TypedDict, total=False): +class RoutePolicy(typing.TypedDict, total=False): description: str fingerprint: str name: str terms: _list[RoutePolicyPolicyTerm] - type: typing_extensions.Literal[ - "ROUTE_POLICY_TYPE_EXPORT", "ROUTE_POLICY_TYPE_IMPORT" - ] + type: typing.Literal["ROUTE_POLICY_TYPE_EXPORT", "ROUTE_POLICY_TYPE_IMPORT"] @typing.type_check_only -class RoutePolicyPolicyTerm(typing_extensions.TypedDict, total=False): +class RoutePolicyPolicyTerm(typing.TypedDict, total=False): actions: _list[Expr] match: Expr priority: int @typing.type_check_only -class Router(typing_extensions.TypedDict, total=False): +class Router(typing.TypedDict, total=False): bgp: RouterBgp bgpPeers: _list[RouterBgpPeer] creationTimestamp: str @@ -8221,12 +7937,12 @@ class Router(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class RouterAdvertisedIpRange(typing_extensions.TypedDict, total=False): +class RouterAdvertisedIpRange(typing.TypedDict, total=False): description: str range: str @typing.type_check_only -class RouterAggregatedList(typing_extensions.TypedDict, total=False): +class RouterAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8236,24 +7952,24 @@ class RouterAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouterBgp(typing_extensions.TypedDict, total=False): - advertiseMode: typing_extensions.Literal["CUSTOM", "DEFAULT"] - advertisedGroups: _list[typing_extensions.Literal["ALL_SUBNETS"]] +class RouterBgp(typing.TypedDict, total=False): + advertiseMode: typing.Literal["CUSTOM", "DEFAULT"] + advertisedGroups: _list[typing.Literal["ALL_SUBNETS"]] advertisedIpRanges: _list[RouterAdvertisedIpRange] asn: int identifierRange: str keepaliveInterval: int @typing.type_check_only -class RouterBgpPeer(typing_extensions.TypedDict, total=False): - advertiseMode: typing_extensions.Literal["CUSTOM", "DEFAULT"] - advertisedGroups: _list[typing_extensions.Literal["ALL_SUBNETS"]] +class RouterBgpPeer(typing.TypedDict, total=False): + advertiseMode: typing.Literal["CUSTOM", "DEFAULT"] + advertisedGroups: _list[typing.Literal["ALL_SUBNETS"]] advertisedIpRanges: _list[RouterAdvertisedIpRange] advertisedRoutePriority: int bfd: RouterBgpPeerBfd customLearnedIpRanges: _list[RouterBgpPeerCustomLearnedIpRange] customLearnedRoutePriority: int - enable: typing_extensions.Literal["FALSE", "TRUE"] + enable: typing.Literal["FALSE", "TRUE"] enableIpv4: bool enableIpv6: bool exportPolicies: _list[str] @@ -8262,9 +7978,7 @@ class RouterBgpPeer(typing_extensions.TypedDict, total=False): ipAddress: str ipv4NexthopAddress: str ipv6NexthopAddress: str - managementType: typing_extensions.Literal[ - "MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER" - ] + managementType: typing.Literal["MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER"] md5AuthenticationKeyName: str name: str peerAsn: int @@ -8274,34 +7988,30 @@ class RouterBgpPeer(typing_extensions.TypedDict, total=False): routerApplianceInstance: str @typing.type_check_only -class RouterBgpPeerBfd(typing_extensions.TypedDict, total=False): +class RouterBgpPeerBfd(typing.TypedDict, total=False): minReceiveInterval: int minTransmitInterval: int multiplier: int - sessionInitializationMode: typing_extensions.Literal[ - "ACTIVE", "DISABLED", "PASSIVE" - ] + sessionInitializationMode: typing.Literal["ACTIVE", "DISABLED", "PASSIVE"] @typing.type_check_only -class RouterBgpPeerCustomLearnedIpRange(typing_extensions.TypedDict, total=False): +class RouterBgpPeerCustomLearnedIpRange(typing.TypedDict, total=False): range: str @typing.type_check_only -class RouterInterface(typing_extensions.TypedDict, total=False): +class RouterInterface(typing.TypedDict, total=False): ipRange: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6"] + ipVersion: typing.Literal["IPV4", "IPV6"] linkedInterconnectAttachment: str linkedVpnTunnel: str - managementType: typing_extensions.Literal[ - "MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER" - ] + managementType: typing.Literal["MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER"] name: str privateIpAddress: str redundantInterface: str subnetwork: str @typing.type_check_only -class RouterList(typing_extensions.TypedDict, total=False): +class RouterList(typing.TypedDict, total=False): id: str items: _list[Router] kind: str @@ -8310,13 +8020,13 @@ class RouterList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouterMd5AuthenticationKey(typing_extensions.TypedDict, total=False): +class RouterMd5AuthenticationKey(typing.TypedDict, total=False): key: str name: str @typing.type_check_only -class RouterNat(typing_extensions.TypedDict, total=False): - autoNetworkTier: typing_extensions.Literal[ +class RouterNat(typing.TypedDict, total=False): + autoNetworkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] drainNatIps: _list[str] @@ -8324,7 +8034,7 @@ class RouterNat(typing_extensions.TypedDict, total=False): enableDynamicPortAllocation: bool enableEndpointIndependentMapping: bool endpointTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENDPOINT_TYPE_MANAGED_PROXY_LB", "ENDPOINT_TYPE_SWG", "ENDPOINT_TYPE_VM" ] ] @@ -8334,63 +8044,63 @@ class RouterNat(typing_extensions.TypedDict, total=False): minPortsPerVm: int name: str nat64Subnetworks: _list[RouterNatSubnetworkToNat64] - natIpAllocateOption: typing_extensions.Literal["AUTO_ONLY", "MANUAL_ONLY"] + natIpAllocateOption: typing.Literal["AUTO_ONLY", "MANUAL_ONLY"] natIps: _list[str] rules: _list[RouterNatRule] - sourceSubnetworkIpRangesToNat: typing_extensions.Literal[ + sourceSubnetworkIpRangesToNat: typing.Literal[ "ALL_SUBNETWORKS_ALL_IP_RANGES", "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", "LIST_OF_SUBNETWORKS", ] - sourceSubnetworkIpRangesToNat64: typing_extensions.Literal[ + sourceSubnetworkIpRangesToNat64: typing.Literal[ "ALL_IPV6_SUBNETWORKS", "LIST_OF_IPV6_SUBNETWORKS" ] subnetworks: _list[RouterNatSubnetworkToNat] tcpEstablishedIdleTimeoutSec: int tcpTimeWaitTimeoutSec: int tcpTransitoryIdleTimeoutSec: int - type: typing_extensions.Literal["PRIVATE", "PUBLIC"] + type: typing.Literal["PRIVATE", "PUBLIC"] udpIdleTimeoutSec: int @typing.type_check_only -class RouterNatLogConfig(typing_extensions.TypedDict, total=False): +class RouterNatLogConfig(typing.TypedDict, total=False): enable: bool - filter: typing_extensions.Literal["ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY"] + filter: typing.Literal["ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY"] @typing.type_check_only -class RouterNatRule(typing_extensions.TypedDict, total=False): +class RouterNatRule(typing.TypedDict, total=False): action: RouterNatRuleAction description: str match: str ruleNumber: int @typing.type_check_only -class RouterNatRuleAction(typing_extensions.TypedDict, total=False): +class RouterNatRuleAction(typing.TypedDict, total=False): sourceNatActiveIps: _list[str] sourceNatActiveRanges: _list[str] sourceNatDrainIps: _list[str] sourceNatDrainRanges: _list[str] @typing.type_check_only -class RouterNatSubnetworkToNat(typing_extensions.TypedDict, total=False): +class RouterNatSubnetworkToNat(typing.TypedDict, total=False): name: str secondaryIpRangeNames: _list[str] sourceIpRangesToNat: _list[ - typing_extensions.Literal[ + typing.Literal[ "ALL_IP_RANGES", "LIST_OF_SECONDARY_IP_RANGES", "PRIMARY_IP_RANGE" ] ] @typing.type_check_only -class RouterNatSubnetworkToNat64(typing_extensions.TypedDict, total=False): +class RouterNatSubnetworkToNat64(typing.TypedDict, total=False): name: str @typing.type_check_only -class RouterParams(typing_extensions.TypedDict, total=False): +class RouterParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class RouterStatus(typing_extensions.TypedDict, total=False): +class RouterStatus(typing.TypedDict, total=False): bestRoutes: _list[Route] bestRoutesForRouter: _list[Route] bgpPeerStatus: _list[RouterStatusBgpPeerStatus] @@ -8399,9 +8109,10 @@ class RouterStatus(typing_extensions.TypedDict, total=False): network: str @typing.type_check_only -class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): +class RouterStatusBgpPeerStatus(typing.TypedDict, total=False): advertisedRoutes: _list[Route] bfdStatus: BfdStatus + depreferenced: bool enableIpv4: bool enableIpv6: bool ipAddress: str @@ -8416,8 +8127,8 @@ class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): peerIpv6NexthopAddress: str routerApplianceInstance: str state: str - status: typing_extensions.Literal["DOWN", "UNKNOWN", "UP"] - statusReason: typing_extensions.Literal[ + status: typing.Literal["DOWN", "UNKNOWN", "UP"] + statusReason: typing.Literal[ "IPV4_PEER_ON_IPV6_ONLY_CONNECTION", "IPV6_PEER_ON_IPV4_ONLY_CONNECTION", "MD5_AUTH_INTERNAL_PROBLEM", @@ -8427,7 +8138,7 @@ class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): uptimeSeconds: str @typing.type_check_only -class RouterStatusNatStatus(typing_extensions.TypedDict, total=False): +class RouterStatusNatStatus(typing.TypedDict, total=False): autoAllocatedNatIps: _list[str] drainAutoAllocatedNatIps: _list[str] drainUserAllocatedNatIps: _list[str] @@ -8439,7 +8150,7 @@ class RouterStatusNatStatus(typing_extensions.TypedDict, total=False): userAllocatedNatIps: _list[str] @typing.type_check_only -class RouterStatusNatStatusNatRuleStatus(typing_extensions.TypedDict, total=False): +class RouterStatusNatStatusNatRuleStatus(typing.TypedDict, total=False): activeNatIps: _list[str] drainNatIps: _list[str] minExtraIpsNeeded: int @@ -8447,21 +8158,21 @@ class RouterStatusNatStatusNatRuleStatus(typing_extensions.TypedDict, total=Fals ruleNumber: int @typing.type_check_only -class RouterStatusResponse(typing_extensions.TypedDict, total=False): +class RouterStatusResponse(typing.TypedDict, total=False): kind: str result: RouterStatus @typing.type_check_only -class RoutersGetNamedSetResponse(typing_extensions.TypedDict, total=False): +class RoutersGetNamedSetResponse(typing.TypedDict, total=False): etag: str resource: NamedSet @typing.type_check_only -class RoutersGetRoutePolicyResponse(typing_extensions.TypedDict, total=False): +class RoutersGetRoutePolicyResponse(typing.TypedDict, total=False): resource: RoutePolicy @typing.type_check_only -class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): +class RoutersListBgpRoutes(typing.TypedDict, total=False): etag: str id: str kind: str @@ -8472,7 +8183,7 @@ class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersListNamedSets(typing_extensions.TypedDict, total=False): +class RoutersListNamedSets(typing.TypedDict, total=False): etag: str id: str kind: str @@ -8483,7 +8194,7 @@ class RoutersListNamedSets(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): +class RoutersListRoutePolicies(typing.TypedDict, total=False): etag: str id: str kind: str @@ -8494,27 +8205,27 @@ class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersPreviewResponse(typing_extensions.TypedDict, total=False): +class RoutersPreviewResponse(typing.TypedDict, total=False): resource: Router @typing.type_check_only -class RoutersScopedList(typing_extensions.TypedDict, total=False): +class RoutersScopedList(typing.TypedDict, total=False): routers: _list[Router] warning: dict[str, typing.Any] @typing.type_check_only -class SSLHealthCheck(typing_extensions.TypedDict, total=False): +class SSLHealthCheck(typing.TypedDict, total=False): port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] request: str response: str @typing.type_check_only -class SavedAttachedDisk(typing_extensions.TypedDict, total=False): +class SavedAttachedDisk(typing.TypedDict, total=False): autoDelete: bool boot: bool deviceName: str @@ -8523,79 +8234,77 @@ class SavedAttachedDisk(typing_extensions.TypedDict, total=False): diskType: str guestOsFeatures: _list[GuestOsFeature] index: int - interface: typing_extensions.Literal["NVME", "SCSI"] + interface: typing.Literal["NVME", "SCSI"] kind: str licenses: _list[str] - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] source: str storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] - type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] + type: typing.Literal["PERSISTENT", "SCRATCH"] @typing.type_check_only -class SavedDisk(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class SavedDisk(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] kind: str sourceDisk: str storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] @typing.type_check_only -class ScalingScheduleStatus(typing_extensions.TypedDict, total=False): +class ScalingScheduleStatus(typing.TypedDict, total=False): lastStartTime: str nextStartTime: str - state: typing_extensions.Literal["ACTIVE", "DISABLED", "OBSOLETE", "READY"] + state: typing.Literal["ACTIVE", "DISABLED", "OBSOLETE", "READY"] @typing.type_check_only -class Scheduling(typing_extensions.TypedDict, total=False): +class Scheduling(typing.TypedDict, total=False): automaticRestart: bool availabilityDomain: int gracefulShutdown: SchedulingGracefulShutdown hostErrorTimeoutSeconds: int - instanceTerminationAction: typing_extensions.Literal[ + instanceTerminationAction: typing.Literal[ "DELETE", "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", "STOP" ] localSsdRecoveryTimeout: Duration locationHint: str maintenanceFreezeDurationHours: int - maintenanceInterval: typing_extensions.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] + maintenanceInterval: typing.Literal["AS_NEEDED", "PERIODIC", "RECURRENT"] maxRunDuration: Duration minNodeCpus: int nodeAffinities: _list[SchedulingNodeAffinity] - onHostMaintenance: typing_extensions.Literal["MIGRATE", "TERMINATE"] + onHostMaintenance: typing.Literal["MIGRATE", "TERMINATE"] onInstanceStopAction: SchedulingOnInstanceStopAction preemptible: bool preemptionNoticeDuration: Duration - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] skipGuestOsShutdown: bool terminationTime: str @typing.type_check_only -class SchedulingGracefulShutdown(typing_extensions.TypedDict, total=False): +class SchedulingGracefulShutdown(typing.TypedDict, total=False): enabled: bool maxDuration: Duration @typing.type_check_only -class SchedulingNodeAffinity(typing_extensions.TypedDict, total=False): +class SchedulingNodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] + operator: typing.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] values: _list[str] @typing.type_check_only -class SchedulingOnInstanceStopAction(typing_extensions.TypedDict, total=False): +class SchedulingOnInstanceStopAction(typing.TypedDict, total=False): discardLocalSsd: bool @typing.type_check_only -class Screenshot(typing_extensions.TypedDict, total=False): +class Screenshot(typing.TypedDict, total=False): contents: str kind: str @typing.type_check_only -class SecurityPoliciesAggregatedList(typing_extensions.TypedDict, total=False): +class SecurityPoliciesAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -8607,21 +8316,21 @@ class SecurityPoliciesAggregatedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecurityPoliciesListPreconfiguredExpressionSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preconfiguredExpressionSets: SecurityPoliciesWafConfig @typing.type_check_only -class SecurityPoliciesScopedList(typing_extensions.TypedDict, total=False): +class SecurityPoliciesScopedList(typing.TypedDict, total=False): securityPolicies: _list[SecurityPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class SecurityPoliciesWafConfig(typing_extensions.TypedDict, total=False): +class SecurityPoliciesWafConfig(typing.TypedDict, total=False): wafRules: PreconfiguredWafSet @typing.type_check_only -class SecurityPolicy(typing_extensions.TypedDict, total=False): +class SecurityPolicy(typing.TypedDict, total=False): adaptiveProtectionConfig: SecurityPolicyAdaptiveProtectionConfig advancedOptionsConfig: SecurityPolicyAdvancedOptionsConfig associations: _list[SecurityPolicyAssociation] @@ -8643,7 +8352,7 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shortName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CLOUD_ARMOR", "CLOUD_ARMOR_EDGE", "CLOUD_ARMOR_INTERNAL_SERVICE", @@ -8653,7 +8362,7 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): userDefinedFields: _list[SecurityPolicyUserDefinedField] @typing.type_check_only -class SecurityPolicyAdaptiveProtectionConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyAdaptiveProtectionConfig(typing.TypedDict, total=False): autoDeployConfig: SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig layer7DdosDefenseConfig: ( SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig @@ -8661,7 +8370,7 @@ class SecurityPolicyAdaptiveProtectionConfig(typing_extensions.TypedDict, total= @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float expirationSec: int @@ -8670,17 +8379,17 @@ class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig( @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool - ruleVisibility: typing_extensions.Literal["PREMIUM", "STANDARD"] + ruleVisibility: typing.Literal["PREMIUM", "STANDARD"] thresholdConfigs: _list[ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig ] @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoDeployConfidenceThreshold: float autoDeployExpirationSec: int @@ -8696,30 +8405,28 @@ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConf @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableEachUniqueValue: bool - type: typing_extensions.Literal["HTTP_HEADER_HOST", "HTTP_PATH", "UNSPECIFIED_TYPE"] + type: typing.Literal["HTTP_HEADER_HOST", "HTTP_PATH", "UNSPECIFIED_TYPE"] value: str @typing.type_check_only -class SecurityPolicyAdvancedOptionsConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyAdvancedOptionsConfig(typing.TypedDict, total=False): jsonCustomConfig: SecurityPolicyAdvancedOptionsConfigJsonCustomConfig - jsonParsing: typing_extensions.Literal[ - "DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL" - ] - logLevel: typing_extensions.Literal["NORMAL", "VERBOSE"] + jsonParsing: typing.Literal["DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL"] + logLevel: typing.Literal["NORMAL", "VERBOSE"] requestBodyInspectionSize: str userIpRequestHeaders: _list[str] @typing.type_check_only class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentTypes: _list[str] @typing.type_check_only -class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): +class SecurityPolicyAssociation(typing.TypedDict, total=False): attachmentId: str displayName: str excludedFolders: _list[str] @@ -8729,8 +8436,8 @@ class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=False): - ddosAdaptiveProtection: typing_extensions.Literal[ +class SecurityPolicyDdosProtectionConfig(typing.TypedDict, total=False): + ddosAdaptiveProtection: typing.Literal[ "DDOS_ADAPTIVE_PROTECTION_UNSPECIFIED", "DISABLED", "ENABLED", @@ -8738,12 +8445,10 @@ class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=Fals "UNSPECIFIED_ADAPTIVE_PROTECTION", ] ddosImpactedBaselineThreshold: float - ddosProtection: typing_extensions.Literal[ - "ADVANCED", "ADVANCED_PREVIEW", "STANDARD" - ] + ddosProtection: typing.Literal["ADVANCED", "ADVANCED_PREVIEW", "STANDARD"] @typing.type_check_only -class SecurityPolicyList(typing_extensions.TypedDict, total=False): +class SecurityPolicyList(typing.TypedDict, total=False): id: str items: _list[SecurityPolicy] kind: str @@ -8751,18 +8456,18 @@ class SecurityPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SecurityPolicyRecaptchaOptionsConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyRecaptchaOptionsConfig(typing.TypedDict, total=False): redirectSiteKey: str @typing.type_check_only -class SecurityPolicyReference(typing_extensions.TypedDict, total=False): +class SecurityPolicyReference(typing.TypedDict, total=False): securityPolicy: str @typing.type_check_only -class SecurityPolicyRule(typing_extensions.TypedDict, total=False): +class SecurityPolicyRule(typing.TypedDict, total=False): action: str description: str - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] enableLogging: bool headerAction: SecurityPolicyRuleHttpHeaderAction kind: str @@ -8779,49 +8484,45 @@ class SecurityPolicyRule(typing_extensions.TypedDict, total=False): targetServiceAccounts: _list[str] @typing.type_check_only -class SecurityPolicyRuleHttpHeaderAction(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleHttpHeaderAction(typing.TypedDict, total=False): requestHeadersToAdds: _list[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] @typing.type_check_only -class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption(typing.TypedDict, total=False): headerName: str headerValue: str @typing.type_check_only -class SecurityPolicyRuleMatcher(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcher(typing.TypedDict, total=False): config: SecurityPolicyRuleMatcherConfig expr: Expr exprOptions: SecurityPolicyRuleMatcherExprOptions - versionedExpr: typing_extensions.Literal["FIREWALL", "SRC_IPS_V1"] + versionedExpr: typing.Literal["FIREWALL", "SRC_IPS_V1"] @typing.type_check_only -class SecurityPolicyRuleMatcherConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcherConfig(typing.TypedDict, total=False): destIpRanges: _list[str] layer4Configs: _list[SecurityPolicyRuleMatcherConfigLayer4Config] srcIpRanges: _list[str] @typing.type_check_only -class SecurityPolicyRuleMatcherConfigLayer4Config( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleMatcherConfigLayer4Config(typing.TypedDict, total=False): ipProtocol: str ports: _list[str] @typing.type_check_only -class SecurityPolicyRuleMatcherExprOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcherExprOptions(typing.TypedDict, total=False): recaptchaOptions: SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions @typing.type_check_only class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionTokenSiteKeys: _list[str] sessionTokenSiteKeys: _list[str] @typing.type_check_only -class SecurityPolicyRuleNetworkMatcher(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleNetworkMatcher(typing.TypedDict, total=False): destIpRanges: _list[str] destPorts: _list[str] ipProtocols: _list[str] @@ -8833,21 +8534,17 @@ class SecurityPolicyRuleNetworkMatcher(typing_extensions.TypedDict, total=False) @typing.type_check_only class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str values: _list[str] @typing.type_check_only -class SecurityPolicyRulePreconfiguredWafConfig( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRulePreconfiguredWafConfig(typing.TypedDict, total=False): exclusions: _list[SecurityPolicyRulePreconfiguredWafConfigExclusion] @typing.type_check_only -class SecurityPolicyRulePreconfiguredWafConfigExclusion( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRulePreconfiguredWafConfigExclusion(typing.TypedDict, total=False): requestBodiesToExclude: _list[ SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams ] @@ -8868,21 +8565,20 @@ class SecurityPolicyRulePreconfiguredWafConfigExclusion( @typing.type_check_only class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - op: typing_extensions.Literal[ - "CONTAINS", "ENDS_WITH", "EQUALS", "EQUALS_ANY", "STARTS_WITH" - ] + op: typing.Literal["CONTAINS", "ENDS_WITH", "EQUALS", "EQUALS_ANY", "STARTS_WITH"] val: str @typing.type_check_only -class SecurityPolicyRuleRateLimitOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleRateLimitOptions(typing.TypedDict, total=False): banDurationSec: int banThreshold: SecurityPolicyRuleRateLimitOptionsThreshold conformAction: str - enforceOnKey: typing_extensions.Literal[ + enforceOnKey: typing.Literal[ "ALL", "ALL_IPS", + "ASN", "HTTP_COOKIE", "HTTP_HEADER", "HTTP_PATH", @@ -8902,12 +8598,13 @@ class SecurityPolicyRuleRateLimitOptions(typing_extensions.TypedDict, total=Fals @typing.type_check_only class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enforceOnKeyName: str - enforceOnKeyType: typing_extensions.Literal[ + enforceOnKeyType: typing.Literal[ "ALL", "ALL_IPS", + "ASN", "HTTP_COOKIE", "HTTP_HEADER", "HTTP_PATH", @@ -8921,34 +8618,32 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig( ] @typing.type_check_only -class SecurityPolicyRuleRateLimitOptionsThreshold( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleRateLimitOptionsThreshold(typing.TypedDict, total=False): count: int intervalSec: int @typing.type_check_only -class SecurityPolicyRuleRedirectOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleRedirectOptions(typing.TypedDict, total=False): target: str - type: typing_extensions.Literal["EXTERNAL_302", "GOOGLE_RECAPTCHA"] + type: typing.Literal["EXTERNAL_302", "GOOGLE_RECAPTCHA"] @typing.type_check_only -class SecurityPolicyUserDefinedField(typing_extensions.TypedDict, total=False): - base: typing_extensions.Literal["IPV4", "IPV6", "TCP", "UDP"] +class SecurityPolicyUserDefinedField(typing.TypedDict, total=False): + base: typing.Literal["IPV4", "IPV6", "TCP", "UDP"] mask: str name: str offset: int size: int @typing.type_check_only -class SecuritySettings(typing_extensions.TypedDict, total=False): +class SecuritySettings(typing.TypedDict, total=False): authentication: str awsV4Authentication: AWSV4Signature clientTlsPolicy: str subjectAltNames: _list[str] @typing.type_check_only -class SerialPortOutput(typing_extensions.TypedDict, total=False): +class SerialPortOutput(typing.TypedDict, total=False): contents: str kind: str next: str @@ -8956,22 +8651,22 @@ class SerialPortOutput(typing_extensions.TypedDict, total=False): start: str @typing.type_check_only -class ServerBinding(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ServerBinding(typing.TypedDict, total=False): + type: typing.Literal[ "RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS", "SERVER_BINDING_TYPE_UNSPECIFIED", ] @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class ServiceAttachment(typing_extensions.TypedDict, total=False): +class ServiceAttachment(typing.TypedDict, total=False): connectedEndpoints: _list[ServiceAttachmentConnectedEndpoint] - connectionPreference: typing_extensions.Literal[ + connectionPreference: typing.Literal[ "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "CONNECTION_PREFERENCE_UNSPECIFIED" ] consumerAcceptLists: _list[ServiceAttachmentConsumerProjectLimit] @@ -8997,7 +8692,7 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): tunnelingConfig: ServiceAttachmentTunnelingConfig @typing.type_check_only -class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9007,14 +8702,14 @@ class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): +class ServiceAttachmentConnectedEndpoint(typing.TypedDict, total=False): consumerNetwork: str endpoint: str endpointWithId: str natIps: _list[str] propagatedConnectionCount: int pscConnectionId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -9024,14 +8719,14 @@ class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class ServiceAttachmentConsumerProjectLimit(typing_extensions.TypedDict, total=False): +class ServiceAttachmentConsumerProjectLimit(typing.TypedDict, total=False): connectionLimit: int endpointUrl: str networkUrl: str projectIdOrNum: str @typing.type_check_only -class ServiceAttachmentList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentList(typing.TypedDict, total=False): id: str items: _list[ServiceAttachment] kind: str @@ -9040,41 +8735,39 @@ class ServiceAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ServiceAttachmentTunnelingConfig(typing_extensions.TypedDict, total=False): - encapsulationProfile: typing_extensions.Literal[ +class ServiceAttachmentTunnelingConfig(typing.TypedDict, total=False): + encapsulationProfile: typing.Literal[ "GENEVE_SECURITY_V1", "UNSPECIFIED_ENCAPSULATION_PROFILE" ] - routingMode: typing_extensions.Literal[ + routingMode: typing.Literal[ "PACKET_INJECTION", "STANDARD_ROUTING", "UNSPECIFIED_ROUTING_MODE" ] @typing.type_check_only -class ServiceAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentsScopedList(typing.TypedDict, total=False): serviceAttachments: _list[ServiceAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class SetCommonInstanceMetadataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class SetCommonInstanceMetadataOperationMetadata(typing.TypedDict, total=False): clientOperationId: str perLocationOperations: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status - state: typing_extensions.Literal[ + state: typing.Literal[ "ABANDONED", "DONE", "FAILED", "PROPAGATED", "PROPAGATING", "UNSPECIFIED" ] @typing.type_check_only -class ShareSettings(typing_extensions.TypedDict, total=False): +class ShareSettings(typing.TypedDict, total=False): folderMap: dict[str, typing.Any] projectMap: dict[str, typing.Any] projects: _list[str] - shareType: typing_extensions.Literal[ + shareType: typing.Literal[ "DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS", "LOCAL", "ORGANIZATION", @@ -9083,21 +8776,21 @@ class ShareSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ShareSettingsFolderConfig(typing_extensions.TypedDict, total=False): +class ShareSettingsFolderConfig(typing.TypedDict, total=False): folderId: str @typing.type_check_only -class ShareSettingsProjectConfig(typing_extensions.TypedDict, total=False): +class ShareSettingsProjectConfig(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIdentity(typing.TypedDict, total=False): eccP256EncryptionKey: ShieldedInstanceIdentityEntry eccP256SigningKey: ShieldedInstanceIdentityEntry encryptionKey: ShieldedInstanceIdentityEntry @@ -9105,45 +8798,43 @@ class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): signingKey: ShieldedInstanceIdentityEntry @typing.type_check_only -class ShieldedInstanceIdentityEntry(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIdentityEntry(typing.TypedDict, total=False): ekCert: str ekPub: str @typing.type_check_only -class ShieldedInstanceIntegrityPolicy(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIntegrityPolicy(typing.TypedDict, total=False): updateAutoLearnPolicy: bool @typing.type_check_only -class ShieldedVmConfig(typing_extensions.TypedDict, total=False): +class ShieldedVmConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class ShieldedVmIdentity(typing_extensions.TypedDict, total=False): +class ShieldedVmIdentity(typing.TypedDict, total=False): encryptionKey: ShieldedVmIdentityEntry kind: str signingKey: ShieldedVmIdentityEntry @typing.type_check_only -class ShieldedVmIdentityEntry(typing_extensions.TypedDict, total=False): +class ShieldedVmIdentityEntry(typing.TypedDict, total=False): ekCert: str ekPub: str @typing.type_check_only -class ShieldedVmIntegrityPolicy(typing_extensions.TypedDict, total=False): +class ShieldedVmIntegrityPolicy(typing.TypedDict, total=False): updateAutoLearnPolicy: bool @typing.type_check_only -class SignedUrlKey(typing_extensions.TypedDict, total=False): +class SignedUrlKey(typing.TypedDict, total=False): keyName: str keyValue: str @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Snapshot(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] autoCreated: bool chainName: str creationSizeBytes: str @@ -9170,7 +8861,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): snapshotEncryptionKey: CustomerEncryptionKey snapshotGroupId: str snapshotGroupName: str - snapshotType: typing_extensions.Literal["ARCHIVE", "STANDARD"] + snapshotType: typing.Literal["ARCHIVE", "STANDARD"] sourceDisk: str sourceDiskEncryptionKey: CustomerEncryptionKey sourceDiskForRecoveryCheckpoint: str @@ -9180,15 +8871,13 @@ class Snapshot(typing_extensions.TypedDict, total=False): sourceInstantSnapshotId: str sourceSnapshotSchedulePolicy: str sourceSnapshotSchedulePolicyId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "FAILED", "READY", "UPLOADING" - ] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY", "UPLOADING"] storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] storageLocations: _list[str] @typing.type_check_only -class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): +class SnapshotAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -9199,7 +8888,7 @@ class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SnapshotGroup(typing_extensions.TypedDict, total=False): +class SnapshotGroup(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -9210,30 +8899,28 @@ class SnapshotGroup(typing_extensions.TypedDict, total=False): sourceInfo: SnapshotGroupSourceInfo sourceInstantSnapshotGroup: str sourceInstantSnapshotGroupInfo: SnapshotGroupSourceInstantSnapshotGroupInfo - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN", "UPLOADING" ] @typing.type_check_only -class SnapshotGroupParameters(typing_extensions.TypedDict, total=False): +class SnapshotGroupParameters(typing.TypedDict, total=False): replicaZones: _list[str] sourceSnapshotGroup: str type: str @typing.type_check_only -class SnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): +class SnapshotGroupSourceInfo(typing.TypedDict, total=False): consistencyGroup: str consistencyGroupId: str @typing.type_check_only -class SnapshotGroupSourceInstantSnapshotGroupInfo( - typing_extensions.TypedDict, total=False -): +class SnapshotGroupSourceInstantSnapshotGroupInfo(typing.TypedDict, total=False): instantSnapshotGroup: str instantSnapshotGroupId: str @typing.type_check_only -class SnapshotList(typing_extensions.TypedDict, total=False): +class SnapshotList(typing.TypedDict, total=False): id: str items: _list[Snapshot] kind: str @@ -9242,31 +8929,29 @@ class SnapshotList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SnapshotParams(typing_extensions.TypedDict, total=False): +class SnapshotParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class SnapshotSettings(typing_extensions.TypedDict, total=False): +class SnapshotSettings(typing.TypedDict, total=False): accessLocation: SnapshotSettingsAccessLocation storageLocation: SnapshotSettingsStorageLocationSettings @typing.type_check_only -class SnapshotSettingsAccessLocation(typing_extensions.TypedDict, total=False): +class SnapshotSettingsAccessLocation(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ - "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" - ] + policy: typing.Literal["ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS"] @typing.type_check_only class SnapshotSettingsAccessLocationAccessLocationPreference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str @typing.type_check_only -class SnapshotSettingsStorageLocationSettings(typing_extensions.TypedDict, total=False): +class SnapshotSettingsStorageLocationSettings(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ + policy: typing.Literal[ "LOCAL_REGION", "NEAREST_MULTI_REGION", "SPECIFIC_LOCATIONS", @@ -9275,36 +8960,36 @@ class SnapshotSettingsStorageLocationSettings(typing_extensions.TypedDict, total @typing.type_check_only class SnapshotSettingsStorageLocationSettingsStorageLocationPreference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class SnapshotUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class SnapshotUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class SnapshotsScopedList(typing_extensions.TypedDict, total=False): +class SnapshotsScopedList(typing.TypedDict, total=False): snapshots: _list[Snapshot] warning: dict[str, typing.Any] @typing.type_check_only -class SourceDiskEncryptionKey(typing_extensions.TypedDict, total=False): +class SourceDiskEncryptionKey(typing.TypedDict, total=False): diskEncryptionKey: CustomerEncryptionKey sourceDisk: str @typing.type_check_only -class SourceInstanceParams(typing_extensions.TypedDict, total=False): +class SourceInstanceParams(typing.TypedDict, total=False): diskConfigs: _list[DiskInstantiationConfig] @typing.type_check_only -class SourceInstanceProperties(typing_extensions.TypedDict, total=False): +class SourceInstanceProperties(typing.TypedDict, total=False): canIpForward: bool deletionProtection: bool description: str disks: _list[SavedAttachedDisk] guestAccelerators: _list[AcceleratorConfig] - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] @@ -9312,7 +8997,7 @@ class SourceInstanceProperties(typing_extensions.TypedDict, total=False): metadata: Metadata minCpuPlatform: str networkInterfaces: _list[NetworkInterface] - postKeyRevocationActionType: typing_extensions.Literal[ + postKeyRevocationActionType: typing.Literal[ "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" ] scheduling: Scheduling @@ -9320,7 +9005,7 @@ class SourceInstanceProperties(typing_extensions.TypedDict, total=False): tags: Tags @typing.type_check_only -class SslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificate(typing.TypedDict, total=False): certificate: str creationTimestamp: str description: str @@ -9334,10 +9019,10 @@ class SslCertificate(typing_extensions.TypedDict, total=False): selfLink: str selfManaged: SslCertificateSelfManagedSslCertificate subjectAlternativeNames: _list[str] - type: typing_extensions.Literal["MANAGED", "SELF_MANAGED", "TYPE_UNSPECIFIED"] + type: typing.Literal["MANAGED", "SELF_MANAGED", "TYPE_UNSPECIFIED"] @typing.type_check_only -class SslCertificateAggregatedList(typing_extensions.TypedDict, total=False): +class SslCertificateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9347,7 +9032,7 @@ class SslCertificateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslCertificateList(typing_extensions.TypedDict, total=False): +class SslCertificateList(typing.TypedDict, total=False): id: str items: _list[SslCertificate] kind: str @@ -9356,10 +9041,10 @@ class SslCertificateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslCertificateManagedSslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificateManagedSslCertificate(typing.TypedDict, total=False): domainStatus: dict[str, typing.Any] domains: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "MANAGED_CERTIFICATE_STATUS_UNSPECIFIED", "PROVISIONING", @@ -9369,17 +9054,17 @@ class SslCertificateManagedSslCertificate(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class SslCertificateSelfManagedSslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificateSelfManagedSslCertificate(typing.TypedDict, total=False): certificate: str privateKey: str @typing.type_check_only -class SslCertificatesScopedList(typing_extensions.TypedDict, total=False): +class SslCertificatesScopedList(typing.TypedDict, total=False): sslCertificates: _list[SslCertificate] warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesAggregatedList(typing_extensions.TypedDict, total=False): +class SslPoliciesAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -9390,7 +9075,7 @@ class SslPoliciesAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesList(typing_extensions.TypedDict, total=False): +class SslPoliciesList(typing.TypedDict, total=False): id: str items: _list[SslPolicy] kind: str @@ -9399,18 +9084,16 @@ class SslPoliciesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesListAvailableFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class SslPoliciesListAvailableFeaturesResponse(typing.TypedDict, total=False): features: _list[str] @typing.type_check_only -class SslPoliciesScopedList(typing_extensions.TypedDict, total=False): +class SslPoliciesScopedList(typing.TypedDict, total=False): sslPolicies: _list[SslPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class SslPolicy(typing_extensions.TypedDict, total=False): +class SslPolicy(typing.TypedDict, total=False): creationTimestamp: str customFeatures: _list[str] description: str @@ -9418,10 +9101,10 @@ class SslPolicy(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str - minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] + minTlsVersion: typing.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str - postQuantumKeyExchange: typing_extensions.Literal["DEFAULT", "DEFERRED", "ENABLED"] - profile: typing_extensions.Literal[ + postQuantumKeyExchange: typing.Literal["DEFAULT", "DEFERRED", "ENABLED"] + profile: typing.Literal[ "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" ] region: str @@ -9429,38 +9112,36 @@ class SslPolicy(typing_extensions.TypedDict, total=False): warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class SslPolicyReference(typing_extensions.TypedDict, total=False): +class SslPolicyReference(typing.TypedDict, total=False): sslPolicy: str @typing.type_check_only -class StatefulPolicy(typing_extensions.TypedDict, total=False): +class StatefulPolicy(typing.TypedDict, total=False): preservedState: StatefulPolicyPreservedState @typing.type_check_only -class StatefulPolicyPreservedState(typing_extensions.TypedDict, total=False): +class StatefulPolicyPreservedState(typing.TypedDict, total=False): disks: dict[str, typing.Any] externalIPs: dict[str, typing.Any] internalIPs: dict[str, typing.Any] @typing.type_check_only -class StatefulPolicyPreservedStateDiskDevice(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class StatefulPolicyPreservedStateDiskDevice(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] @typing.type_check_only -class StatefulPolicyPreservedStateNetworkIp(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class StatefulPolicyPreservedStateNetworkIp(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StoragePool(typing_extensions.TypedDict, total=False): - capacityProvisioningType: typing_extensions.Literal[ - "ADVANCED", "STANDARD", "UNSPECIFIED" - ] +class StoragePool(typing.TypedDict, total=False): + capacityProvisioningType: typing.Literal["ADVANCED", "STANDARD", "UNSPECIFIED"] creationTimestamp: str description: str exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb @@ -9470,22 +9151,21 @@ class StoragePool(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str params: StoragePoolParams - performanceProvisioningType: typing_extensions.Literal[ - "ADVANCED", "STANDARD", "UNSPECIFIED" - ] + performanceProvisioningType: typing.Literal["ADVANCED", "STANDARD", "UNSPECIFIED"] poolProvisionedCapacityGb: str poolProvisionedIops: str poolProvisionedThroughput: str resourceStatus: StoragePoolResourceStatus selfLink: str selfLinkWithId: str - state: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] + shareSettings: StoragePoolShareSettings + state: typing.Literal["CREATING", "DELETING", "FAILED", "READY"] status: StoragePoolResourceStatus storagePoolType: str zone: str @typing.type_check_only -class StoragePoolAggregatedList(typing_extensions.TypedDict, total=False): +class StoragePoolAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -9496,7 +9176,7 @@ class StoragePoolAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolDisk(typing_extensions.TypedDict, total=False): +class StoragePoolDisk(typing.TypedDict, total=False): attachedInstances: _list[str] creationTimestamp: str disk: str @@ -9505,20 +9185,20 @@ class StoragePoolDisk(typing_extensions.TypedDict, total=False): provisionedThroughput: str resourcePolicies: _list[str] sizeGb: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "READY", "RESTORING", "UNAVAILABLE" ] type: str usedBytes: str @typing.type_check_only -class StoragePoolExapoolProvisionedCapacityGb(typing_extensions.TypedDict, total=False): +class StoragePoolExapoolProvisionedCapacityGb(typing.TypedDict, total=False): capacityOptimized: str readOptimized: str writeOptimized: str @typing.type_check_only -class StoragePoolList(typing_extensions.TypedDict, total=False): +class StoragePoolList(typing.TypedDict, total=False): etag: str id: str items: _list[StoragePool] @@ -9529,7 +9209,7 @@ class StoragePoolList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolListDisks(typing_extensions.TypedDict, total=False): +class StoragePoolListDisks(typing.TypedDict, total=False): etag: str id: str items: _list[StoragePoolDisk] @@ -9540,11 +9220,11 @@ class StoragePoolListDisks(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolParams(typing_extensions.TypedDict, total=False): +class StoragePoolParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): +class StoragePoolResourceStatus(typing.TypedDict, total=False): diskCount: str exapoolMaxReadIops: str exapoolMaxReadThroughput: str @@ -9561,7 +9241,15 @@ class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): totalProvisionedDiskThroughput: str @typing.type_check_only -class StoragePoolType(typing_extensions.TypedDict, total=False): +class StoragePoolShareSettings(typing.TypedDict, total=False): + projectMap: dict[str, typing.Any] + +@typing.type_check_only +class StoragePoolShareSettingsProjectConfig(typing.TypedDict, total=False): + projectId: str + +@typing.type_check_only +class StoragePoolType(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -9581,7 +9269,7 @@ class StoragePoolType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class StoragePoolTypeAggregatedList(typing_extensions.TypedDict, total=False): +class StoragePoolTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9590,7 +9278,7 @@ class StoragePoolTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolTypeList(typing_extensions.TypedDict, total=False): +class StoragePoolTypeList(typing.TypedDict, total=False): id: str items: _list[StoragePoolType] kind: str @@ -9599,21 +9287,21 @@ class StoragePoolTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolTypesScopedList(typing_extensions.TypedDict, total=False): +class StoragePoolTypesScopedList(typing.TypedDict, total=False): storagePoolTypes: _list[StoragePoolType] warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolsScopedList(typing_extensions.TypedDict, total=False): +class StoragePoolsScopedList(typing.TypedDict, total=False): storagePools: _list[StoragePool] warning: dict[str, typing.Any] @typing.type_check_only -class StructuredEntries(typing_extensions.TypedDict, total=False): +class StructuredEntries(typing.TypedDict, total=False): entries: dict[str, typing.Any] @typing.type_check_only -class Subnetwork(typing_extensions.TypedDict, total=False): +class Subnetwork(typing.TypedDict, total=False): allowSubnetCidrRoutesOverlap: bool creationTimestamp: str description: str @@ -9625,21 +9313,24 @@ class Subnetwork(typing_extensions.TypedDict, total=False): internalIpv6Prefix: str ipCidrRange: str ipCollection: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] ipv6CidrRange: str - ipv6GceEndpoint: typing_extensions.Literal["VM_AND_FR", "VM_ONLY"] + ipv6GceEndpoint: typing.Literal["VM_AND_FR", "VM_ONLY"] + ipv6NetworkTier: typing.Literal[ + "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" + ] kind: str logConfig: SubnetworkLogConfig name: str network: str params: SubnetworkParams privateIpGoogleAccess: bool - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "DISABLE_GOOGLE_ACCESS", "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", ] - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", @@ -9652,18 +9343,18 @@ class Subnetwork(typing_extensions.TypedDict, total=False): ] region: str reservedInternalRange: str - resolveSubnetMask: typing_extensions.Literal["ARP_ALL_RANGES", "ARP_PRIMARY_RANGE"] - role: typing_extensions.Literal["ACTIVE", "BACKUP"] + resolveSubnetMask: typing.Literal["ARP_ALL_RANGES", "ARP_PRIMARY_RANGE"] + role: typing.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[SubnetworkSecondaryRange] selfLink: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] - state: typing_extensions.Literal["DRAINING", "READY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + state: typing.Literal["DRAINING", "READY"] systemReservedExternalIpv6Ranges: _list[str] systemReservedInternalIpv6Ranges: _list[str] utilizationDetails: SubnetworkUtilizationDetails @typing.type_check_only -class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): +class SubnetworkAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9673,7 +9364,7 @@ class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworkList(typing_extensions.TypedDict, total=False): +class SubnetworkList(typing.TypedDict, total=False): id: str items: _list[Subnetwork] kind: str @@ -9682,8 +9373,8 @@ class SubnetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class SubnetworkLogConfig(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "INTERVAL_10_MIN", "INTERVAL_15_MIN", "INTERVAL_1_MIN", @@ -9694,88 +9385,82 @@ class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): enable: bool filterExpr: str flowSampling: float - metadata: typing_extensions.Literal[ + metadata: typing.Literal[ "CUSTOM_METADATA", "EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA" ] metadataFields: _list[str] @typing.type_check_only -class SubnetworkParams(typing_extensions.TypedDict, total=False): +class SubnetworkParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class SubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "IP_VERSION_UNSPECIFIED"] + ipVersion: typing.Literal["IPV4", "IPV6", "IP_VERSION_UNSPECIFIED"] rangeName: str reservedInternalRange: str @typing.type_check_only -class SubnetworkUtilizationDetails(typing_extensions.TypedDict, total=False): +class SubnetworkUtilizationDetails(typing.TypedDict, total=False): externalIpv6InstanceUtilization: SubnetworkUtilizationDetailsIPV6Utilization externalIpv6LbUtilization: SubnetworkUtilizationDetailsIPV6Utilization internalIpv6Utilization: SubnetworkUtilizationDetailsIPV6Utilization ipv4Utilizations: _list[SubnetworkUtilizationDetailsIPV4Utilization] @typing.type_check_only -class SubnetworkUtilizationDetailsIPV4Utilization( - typing_extensions.TypedDict, total=False -): +class SubnetworkUtilizationDetailsIPV4Utilization(typing.TypedDict, total=False): rangeName: str totalAllocatedIp: str totalFreeIp: str @typing.type_check_only -class SubnetworkUtilizationDetailsIPV6Utilization( - typing_extensions.TypedDict, total=False -): +class SubnetworkUtilizationDetailsIPV6Utilization(typing.TypedDict, total=False): totalAllocatedIp: Uint128 totalFreeIp: Uint128 @typing.type_check_only -class SubnetworksExpandIpCidrRangeRequest(typing_extensions.TypedDict, total=False): +class SubnetworksExpandIpCidrRangeRequest(typing.TypedDict, total=False): ipCidrRange: str @typing.type_check_only -class SubnetworksScopedList(typing_extensions.TypedDict, total=False): +class SubnetworksScopedList(typing.TypedDict, total=False): subnetworks: _list[Subnetwork] warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworksScopedWarning(typing_extensions.TypedDict, total=False): +class SubnetworksScopedWarning(typing.TypedDict, total=False): scopeName: str warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworksSetPrivateIpGoogleAccessRequest( - typing_extensions.TypedDict, total=False -): +class SubnetworksSetPrivateIpGoogleAccessRequest(typing.TypedDict, total=False): privateIpGoogleAccess: bool @typing.type_check_only -class Subsetting(typing_extensions.TypedDict, total=False): - policy: typing_extensions.Literal["CONSISTENT_HASH_SUBSETTING", "NONE"] +class Subsetting(typing.TypedDict, total=False): + policy: typing.Literal["CONSISTENT_HASH_SUBSETTING", "NONE"] subsetSize: int @typing.type_check_only -class TCPHealthCheck(typing_extensions.TypedDict, total=False): +class TCPHealthCheck(typing.TypedDict, total=False): port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] request: str response: str @typing.type_check_only -class Tags(typing_extensions.TypedDict, total=False): +class Tags(typing.TypedDict, total=False): fingerprint: str items: _list[str] @typing.type_check_only -class TargetGrpcProxy(typing_extensions.TypedDict, total=False): +class TargetGrpcProxy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -9788,7 +9473,7 @@ class TargetGrpcProxy(typing_extensions.TypedDict, total=False): validateForProxyless: bool @typing.type_check_only -class TargetGrpcProxyList(typing_extensions.TypedDict, total=False): +class TargetGrpcProxyList(typing.TypedDict, total=False): id: str items: _list[TargetGrpcProxy] kind: str @@ -9797,12 +9482,12 @@ class TargetGrpcProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetHttpProxiesScopedList(typing.TypedDict, total=False): targetHttpProxies: _list[TargetHttpProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxy(typing_extensions.TypedDict, total=False): +class TargetHttpProxy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -9817,7 +9502,7 @@ class TargetHttpProxy(typing_extensions.TypedDict, total=False): urlMap: str @typing.type_check_only -class TargetHttpProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetHttpProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9827,7 +9512,7 @@ class TargetHttpProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxyList(typing_extensions.TypedDict, total=False): +class TargetHttpProxyList(typing.TypedDict, total=False): id: str items: _list[TargetHttpProxy] kind: str @@ -9836,30 +9521,24 @@ class TargetHttpProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxiesScopedList(typing.TypedDict, total=False): targetHttpsProxies: _list[TargetHttpsProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxiesSetCertificateMapRequest( - typing_extensions.TypedDict, total=False -): +class TargetHttpsProxiesSetCertificateMapRequest(typing.TypedDict, total=False): certificateMap: str @typing.type_check_only -class TargetHttpsProxiesSetQuicOverrideRequest( - typing_extensions.TypedDict, total=False -): - quicOverride: typing_extensions.Literal["DISABLE", "ENABLE", "NONE"] +class TargetHttpsProxiesSetQuicOverrideRequest(typing.TypedDict, total=False): + quicOverride: typing.Literal["DISABLE", "ENABLE", "NONE"] @typing.type_check_only -class TargetHttpsProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class TargetHttpsProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class TargetHttpsProxy(typing_extensions.TypedDict, total=False): +class TargetHttpsProxy(typing.TypedDict, total=False): authentication: str authorization: str authorizationPolicy: str @@ -9873,19 +9552,17 @@ class TargetHttpsProxy(typing_extensions.TypedDict, total=False): kind: str name: str proxyBind: bool - quicOverride: typing_extensions.Literal["DISABLE", "ENABLE", "NONE"] + quicOverride: typing.Literal["DISABLE", "ENABLE", "NONE"] region: str selfLink: str serverTlsPolicy: str sslCertificates: _list[str] sslPolicy: str - tlsEarlyData: typing_extensions.Literal[ - "DISABLED", "PERMISSIVE", "STRICT", "UNRESTRICTED" - ] + tlsEarlyData: typing.Literal["DISABLED", "PERMISSIVE", "STRICT", "UNRESTRICTED"] urlMap: str @typing.type_check_only -class TargetHttpsProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9895,7 +9572,7 @@ class TargetHttpsProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxyList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxyList(typing.TypedDict, total=False): id: str items: _list[TargetHttpsProxy] kind: str @@ -9904,21 +9581,21 @@ class TargetHttpsProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstance(typing_extensions.TypedDict, total=False): +class TargetInstance(typing.TypedDict, total=False): creationTimestamp: str description: str id: str instance: str kind: str name: str - natPolicy: typing_extensions.Literal["NO_NAT"] + natPolicy: typing.Literal["NO_NAT"] network: str securityPolicy: str selfLink: str zone: str @typing.type_check_only -class TargetInstanceAggregatedList(typing_extensions.TypedDict, total=False): +class TargetInstanceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9928,7 +9605,7 @@ class TargetInstanceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstanceList(typing_extensions.TypedDict, total=False): +class TargetInstanceList(typing.TypedDict, total=False): id: str items: _list[TargetInstance] kind: str @@ -9937,12 +9614,12 @@ class TargetInstanceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstancesScopedList(typing_extensions.TypedDict, total=False): +class TargetInstancesScopedList(typing.TypedDict, total=False): targetInstances: _list[TargetInstance] warning: dict[str, typing.Any] @typing.type_check_only -class TargetPool(typing_extensions.TypedDict, total=False): +class TargetPool(typing.TypedDict, total=False): backupPool: str creationTimestamp: str description: str @@ -9955,7 +9632,7 @@ class TargetPool(typing_extensions.TypedDict, total=False): region: str securityPolicy: str selfLink: str - sessionAffinity: typing_extensions.Literal[ + sessionAffinity: typing.Literal[ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", @@ -9968,7 +9645,7 @@ class TargetPool(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TargetPoolAggregatedList(typing_extensions.TypedDict, total=False): +class TargetPoolAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9978,12 +9655,12 @@ class TargetPoolAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetPoolInstanceHealth(typing_extensions.TypedDict, total=False): +class TargetPoolInstanceHealth(typing.TypedDict, total=False): healthStatus: _list[HealthStatus] kind: str @typing.type_check_only -class TargetPoolList(typing_extensions.TypedDict, total=False): +class TargetPoolList(typing.TypedDict, total=False): id: str items: _list[TargetPool] kind: str @@ -9992,68 +9669,62 @@ class TargetPoolList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetPoolsAddHealthCheckRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsAddHealthCheckRequest(typing.TypedDict, total=False): healthChecks: _list[HealthCheckReference] @typing.type_check_only -class TargetPoolsAddInstanceRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsAddInstanceRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class TargetPoolsRemoveHealthCheckRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsRemoveHealthCheckRequest(typing.TypedDict, total=False): healthChecks: _list[HealthCheckReference] @typing.type_check_only -class TargetPoolsRemoveInstanceRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsRemoveInstanceRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class TargetPoolsScopedList(typing_extensions.TypedDict, total=False): +class TargetPoolsScopedList(typing.TypedDict, total=False): targetPools: _list[TargetPool] warning: dict[str, typing.Any] @typing.type_check_only -class TargetReference(typing_extensions.TypedDict, total=False): +class TargetReference(typing.TypedDict, total=False): target: str @typing.type_check_only -class TargetSslProxiesSetBackendServiceRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetBackendServiceRequest(typing.TypedDict, total=False): service: str @typing.type_check_only -class TargetSslProxiesSetCertificateMapRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetCertificateMapRequest(typing.TypedDict, total=False): certificateMap: str @typing.type_check_only -class TargetSslProxiesSetProxyHeaderRequest(typing_extensions.TypedDict, total=False): - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] +class TargetSslProxiesSetProxyHeaderRequest(typing.TypedDict, total=False): + proxyHeader: typing.Literal["NONE", "PROXY_V1"] @typing.type_check_only -class TargetSslProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class TargetSslProxy(typing_extensions.TypedDict, total=False): +class TargetSslProxy(typing.TypedDict, total=False): certificateMap: str creationTimestamp: str description: str id: str kind: str name: str - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] selfLink: str service: str sslCertificates: _list[str] sslPolicy: str @typing.type_check_only -class TargetSslProxyList(typing_extensions.TypedDict, total=False): +class TargetSslProxyList(typing.TypedDict, total=False): id: str items: _list[TargetSslProxy] kind: str @@ -10062,27 +9733,25 @@ class TargetSslProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetTcpProxiesScopedList(typing.TypedDict, total=False): targetTcpProxies: _list[TargetTcpProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxiesSetBackendServiceRequest( - typing_extensions.TypedDict, total=False -): +class TargetTcpProxiesSetBackendServiceRequest(typing.TypedDict, total=False): service: str @typing.type_check_only -class TargetTcpProxiesSetProxyHeaderRequest(typing_extensions.TypedDict, total=False): - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] +class TargetTcpProxiesSetProxyHeaderRequest(typing.TypedDict, total=False): + proxyHeader: typing.Literal["NONE", "PROXY_V1"] @typing.type_check_only -class TargetTcpProxy(typing_extensions.TypedDict, total=False): +class TargetTcpProxy(typing.TypedDict, total=False): creationTimestamp: str description: str id: str kind: str - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL_MANAGED", @@ -10090,13 +9759,13 @@ class TargetTcpProxy(typing_extensions.TypedDict, total=False): ] name: str proxyBind: bool - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] region: str selfLink: str service: str @typing.type_check_only -class TargetTcpProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetTcpProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10106,7 +9775,7 @@ class TargetTcpProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxyList(typing_extensions.TypedDict, total=False): +class TargetTcpProxyList(typing.TypedDict, total=False): id: str items: _list[TargetTcpProxy] kind: str @@ -10115,7 +9784,7 @@ class TargetTcpProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGateway(typing_extensions.TypedDict, total=False): +class TargetVpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str forwardingRules: _list[str] @@ -10128,11 +9797,11 @@ class TargetVpnGateway(typing_extensions.TypedDict, total=False): params: TargetVpnGatewayParams region: str selfLink: str - status: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY"] tunnels: _list[str] @typing.type_check_only -class TargetVpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10142,7 +9811,7 @@ class TargetVpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewayList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayList(typing.TypedDict, total=False): id: str items: _list[TargetVpnGateway] kind: str @@ -10151,16 +9820,16 @@ class TargetVpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewayParams(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewaysScopedList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewaysScopedList(typing.TypedDict, total=False): targetVpnGateways: _list[TargetVpnGateway] warning: dict[str, typing.Any] @typing.type_check_only -class TestFailure(typing_extensions.TypedDict, total=False): +class TestFailure(typing.TypedDict, total=False): actualOutputUrl: str actualRedirectResponseCode: int actualService: str @@ -10172,30 +9841,30 @@ class TestFailure(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class TestPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class Uint128(typing_extensions.TypedDict, total=False): +class Uint128(typing.TypedDict, total=False): high: str low: str @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): canReschedule: bool latestWindowStartTime: str maintenanceOnShutdown: bool maintenanceReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "FAILURE_DISK", "FAILURE_GPU", "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", @@ -10215,15 +9884,13 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): "PLANNED_UPDATE", ] ] - maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] - type: typing_extensions.Literal[ - "MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED" - ] + maintenanceStatus: typing.Literal["ONGOING", "PENDING", "UNKNOWN"] + type: typing.Literal["MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED"] windowEndTime: str windowStartTime: str @typing.type_check_only -class UrlMap(typing_extensions.TypedDict, total=False): +class UrlMap(typing.TypedDict, total=False): creationTimestamp: str defaultCustomErrorResponsePolicy: CustomErrorResponsePolicy defaultRouteAction: HttpRouteAction @@ -10243,7 +9910,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): tests: _list[UrlMapTest] @typing.type_check_only -class UrlMapList(typing_extensions.TypedDict, total=False): +class UrlMapList(typing.TypedDict, total=False): id: str items: _list[UrlMap] kind: str @@ -10252,20 +9919,20 @@ class UrlMapList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapQuotaUsage(typing_extensions.TypedDict, total=False): +class UrlMapQuotaUsage(typing.TypedDict, total=False): forwardingRules: int units: str @typing.type_check_only -class UrlMapReference(typing_extensions.TypedDict, total=False): +class UrlMapReference(typing.TypedDict, total=False): urlMap: str @typing.type_check_only -class UrlMapStatus(typing_extensions.TypedDict, total=False): +class UrlMapStatus(typing.TypedDict, total=False): quotaUsage: UrlMapQuotaUsage @typing.type_check_only -class UrlMapTest(typing_extensions.TypedDict, total=False): +class UrlMapTest(typing.TypedDict, total=False): description: str expectedOutputUrl: str expectedRedirectResponseCode: int @@ -10275,12 +9942,12 @@ class UrlMapTest(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class UrlMapTestHeader(typing_extensions.TypedDict, total=False): +class UrlMapTestHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class UrlMapValidationResult(typing_extensions.TypedDict, total=False): +class UrlMapValidationResult(typing.TypedDict, total=False): loadErrors: _list[str] loadSucceeded: bool quotaUsage: UrlMapQuotaUsage @@ -10288,7 +9955,7 @@ class UrlMapValidationResult(typing_extensions.TypedDict, total=False): testPassed: bool @typing.type_check_only -class UrlMapsAggregatedList(typing_extensions.TypedDict, total=False): +class UrlMapsAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10298,37 +9965,38 @@ class UrlMapsAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapsScopedList(typing_extensions.TypedDict, total=False): +class UrlMapsScopedList(typing.TypedDict, total=False): urlMaps: _list[UrlMap] warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapsValidateRequest(typing_extensions.TypedDict, total=False): +class UrlMapsValidateRequest(typing.TypedDict, total=False): loadBalancingSchemes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "LOAD_BALANCING_SCHEME_UNSPECIFIED" ] ] resource: UrlMap @typing.type_check_only -class UrlMapsValidateResponse(typing_extensions.TypedDict, total=False): +class UrlMapsValidateResponse(typing.TypedDict, total=False): result: UrlMapValidationResult @typing.type_check_only -class UrlRewrite(typing_extensions.TypedDict, total=False): +class UrlRewrite(typing.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str pathTemplateRewrite: str + regexRewrite: RegexRewrite @typing.type_check_only -class UsableSubnetwork(typing_extensions.TypedDict, total=False): +class UsableSubnetwork(typing.TypedDict, total=False): externalIpv6Prefix: str internalIpv6Prefix: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] network: str - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "CUSTOM_HARDWARE_LINK", "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", @@ -10339,18 +10007,18 @@ class UsableSubnetwork(typing_extensions.TypedDict, total=False): "PRIVATE_SERVICE_CONNECT", "REGIONAL_MANAGED_PROXY", ] - role: typing_extensions.Literal["ACTIVE", "BACKUP"] + role: typing.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[UsableSubnetworkSecondaryRange] - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subnetwork: str @typing.type_check_only -class UsableSubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class UsableSubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str rangeName: str @typing.type_check_only -class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): +class UsableSubnetworksAggregatedList(typing.TypedDict, total=False): id: str items: _list[UsableSubnetwork] kind: str @@ -10361,19 +10029,17 @@ class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UsageExportLocation(typing_extensions.TypedDict, total=False): +class UsageExportLocation(typing.TypedDict, total=False): bucketName: str reportNamePrefix: str @typing.type_check_only -class VmEndpointNatMappings(typing_extensions.TypedDict, total=False): +class VmEndpointNatMappings(typing.TypedDict, total=False): instanceName: str interfaceNatMappings: _list[VmEndpointNatMappingsInterfaceNatMappings] @typing.type_check_only -class VmEndpointNatMappingsInterfaceNatMappings( - typing_extensions.TypedDict, total=False -): +class VmEndpointNatMappingsInterfaceNatMappings(typing.TypedDict, total=False): drainNatIpPortRanges: _list[str] natIpPortRanges: _list[str] numTotalDrainNatPorts: int @@ -10384,7 +10050,7 @@ class VmEndpointNatMappingsInterfaceNatMappings( @typing.type_check_only class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): drainNatIpPortRanges: _list[str] natIpPortRanges: _list[str] @@ -10393,7 +10059,7 @@ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings( ruleNumber: int @typing.type_check_only -class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): +class VmEndpointNatMappingsList(typing.TypedDict, total=False): id: str kind: str nextPageToken: str @@ -10402,12 +10068,12 @@ class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPoliciesScopedList(typing_extensions.TypedDict, total=False): +class VmExtensionPoliciesScopedList(typing.TypedDict, total=False): vmExtensionPolicies: _list[VmExtensionPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicy(typing_extensions.TypedDict, total=False): +class VmExtensionPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str extensionPolicies: dict[str, typing.Any] @@ -10420,11 +10086,11 @@ class VmExtensionPolicy(typing_extensions.TypedDict, total=False): priority: int selfLink: str selfLinkWithId: str - state: typing_extensions.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] + state: typing.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] updateTimestamp: str @typing.type_check_only -class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyAggregatedListResponse(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -10435,20 +10101,20 @@ class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyExtensionPolicy(typing.TypedDict, total=False): pinnedVersion: str stringConfig: str @typing.type_check_only -class VmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyInstanceSelector(typing.TypedDict, total=False): labelSelector: VmExtensionPolicyLabelSelector @typing.type_check_only -class VmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyLabelSelector(typing.TypedDict, total=False): inclusionLabels: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[VmExtensionPolicy] @@ -10459,10 +10125,10 @@ class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGateway(typing_extensions.TypedDict, total=False): +class VpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str - gatewayIpVersion: typing_extensions.Literal["IPV4", "IPV6"] + gatewayIpVersion: typing.Literal["IPV4", "IPV6"] id: str kind: str labelFingerprint: str @@ -10472,11 +10138,11 @@ class VpnGateway(typing_extensions.TypedDict, total=False): params: VpnGatewayParams region: str selfLink: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] vpnInterfaces: _list[VpnGatewayVpnGatewayInterface] @typing.type_check_only -class VpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): +class VpnGatewayAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10486,7 +10152,7 @@ class VpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayList(typing_extensions.TypedDict, total=False): +class VpnGatewayList(typing.TypedDict, total=False): id: str items: _list[VpnGateway] kind: str @@ -10495,54 +10161,50 @@ class VpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayParams(typing_extensions.TypedDict, total=False): +class VpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayStatus(typing_extensions.TypedDict, total=False): +class VpnGatewayStatus(typing.TypedDict, total=False): vpnConnections: _list[VpnGatewayStatusVpnConnection] @typing.type_check_only -class VpnGatewayStatusHighAvailabilityRequirementState( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ - "CONNECTION_REDUNDANCY_MET", "CONNECTION_REDUNDANCY_NOT_MET" - ] - unsatisfiedReason: typing_extensions.Literal["INCOMPLETE_TUNNELS_COVERAGE"] +class VpnGatewayStatusHighAvailabilityRequirementState(typing.TypedDict, total=False): + state: typing.Literal["CONNECTION_REDUNDANCY_MET", "CONNECTION_REDUNDANCY_NOT_MET"] + unsatisfiedReason: typing.Literal["INCOMPLETE_TUNNELS_COVERAGE"] @typing.type_check_only -class VpnGatewayStatusTunnel(typing_extensions.TypedDict, total=False): +class VpnGatewayStatusTunnel(typing.TypedDict, total=False): localGatewayInterface: int peerGatewayInterface: int tunnelUrl: str @typing.type_check_only -class VpnGatewayStatusVpnConnection(typing_extensions.TypedDict, total=False): +class VpnGatewayStatusVpnConnection(typing.TypedDict, total=False): peerExternalGateway: str peerGcpGateway: str state: VpnGatewayStatusHighAvailabilityRequirementState tunnels: _list[VpnGatewayStatusTunnel] @typing.type_check_only -class VpnGatewayVpnGatewayInterface(typing_extensions.TypedDict, total=False): +class VpnGatewayVpnGatewayInterface(typing.TypedDict, total=False): id: int interconnectAttachment: str ipAddress: str ipv6Address: str @typing.type_check_only -class VpnGatewaysGetStatusResponse(typing_extensions.TypedDict, total=False): +class VpnGatewaysGetStatusResponse(typing.TypedDict, total=False): result: VpnGatewayStatus @typing.type_check_only -class VpnGatewaysScopedList(typing_extensions.TypedDict, total=False): +class VpnGatewaysScopedList(typing.TypedDict, total=False): vpnGateways: _list[VpnGateway] warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnel(typing_extensions.TypedDict, total=False): - capacityTier: typing_extensions.Literal["DEFAULT", "HIGH"] +class VpnTunnel(typing.TypedDict, total=False): + capacityTier: typing.Literal["DEFAULT", "HIGH"] cipherSuite: VpnTunnelCipherSuite creationTimestamp: str description: str @@ -10565,7 +10227,7 @@ class VpnTunnel(typing_extensions.TypedDict, total=False): selfLink: str sharedSecret: str sharedSecretHash: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ALLOCATING_RESOURCES", "AUTHORIZATION_ERROR", "DEPROVISIONING", @@ -10585,7 +10247,7 @@ class VpnTunnel(typing_extensions.TypedDict, total=False): vpnGatewayInterface: int @typing.type_check_only -class VpnTunnelAggregatedList(typing_extensions.TypedDict, total=False): +class VpnTunnelAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -10595,12 +10257,12 @@ class VpnTunnelAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelCipherSuite(typing_extensions.TypedDict, total=False): +class VpnTunnelCipherSuite(typing.TypedDict, total=False): phase1: VpnTunnelPhase1Algorithms phase2: VpnTunnelPhase2Algorithms @typing.type_check_only -class VpnTunnelList(typing_extensions.TypedDict, total=False): +class VpnTunnelList(typing.TypedDict, total=False): id: str items: _list[VpnTunnel] kind: str @@ -10609,58 +10271,58 @@ class VpnTunnelList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelParams(typing_extensions.TypedDict, total=False): +class VpnTunnelParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelPhase1Algorithms(typing_extensions.TypedDict, total=False): +class VpnTunnelPhase1Algorithms(typing.TypedDict, total=False): dh: _list[str] encryption: _list[str] integrity: _list[str] prf: _list[str] @typing.type_check_only -class VpnTunnelPhase2Algorithms(typing_extensions.TypedDict, total=False): +class VpnTunnelPhase2Algorithms(typing.TypedDict, total=False): encryption: _list[str] integrity: _list[str] pfs: _list[str] @typing.type_check_only -class VpnTunnelsScopedList(typing_extensions.TypedDict, total=False): +class VpnTunnelsScopedList(typing.TypedDict, total=False): vpnTunnels: _list[VpnTunnel] warning: dict[str, typing.Any] @typing.type_check_only -class WafExpressionSet(typing_extensions.TypedDict, total=False): +class WafExpressionSet(typing.TypedDict, total=False): aliases: _list[str] expressions: _list[WafExpressionSetExpression] id: str @typing.type_check_only -class WafExpressionSetExpression(typing_extensions.TypedDict, total=False): +class WafExpressionSetExpression(typing.TypedDict, total=False): id: str sensitivity: int @typing.type_check_only -class WeightedBackendService(typing_extensions.TypedDict, total=False): +class WeightedBackendService(typing.TypedDict, total=False): backendService: str headerAction: HttpHeaderAction weight: int @typing.type_check_only -class Wire(typing_extensions.TypedDict, total=False): +class Wire(typing.TypedDict, total=False): adminEnabled: bool endpoints: _list[WireEndpoint] label: str wireProperties: WireProperties @typing.type_check_only -class WireEndpoint(typing_extensions.TypedDict, total=False): +class WireEndpoint(typing.TypedDict, total=False): interconnect: str vlanTag: int @typing.type_check_only -class WireGroup(typing_extensions.TypedDict, total=False): +class WireGroup(typing.TypedDict, total=False): adminEnabled: bool creationTimestamp: str description: str @@ -10676,16 +10338,16 @@ class WireGroup(typing_extensions.TypedDict, total=False): wires: _list[Wire] @typing.type_check_only -class WireGroupEndpoint(typing_extensions.TypedDict, total=False): +class WireGroupEndpoint(typing.TypedDict, total=False): interconnects: dict[str, typing.Any] @typing.type_check_only -class WireGroupEndpointInterconnect(typing_extensions.TypedDict, total=False): +class WireGroupEndpointInterconnect(typing.TypedDict, total=False): interconnect: str vlanTags: _list[int] @typing.type_check_only -class WireGroupList(typing_extensions.TypedDict, total=False): +class WireGroupList(typing.TypedDict, total=False): etag: str id: str items: _list[WireGroup] @@ -10696,33 +10358,31 @@ class WireGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class WireGroupProperties(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["BOX_AND_CROSS", "REDUNDANT", "WIRE"] +class WireGroupProperties(typing.TypedDict, total=False): + type: typing.Literal["BOX_AND_CROSS", "REDUNDANT", "WIRE"] @typing.type_check_only -class WireGroupTopology(typing_extensions.TypedDict, total=False): +class WireGroupTopology(typing.TypedDict, total=False): endpoints: _list[WireGroupTopologyEndpoint] @typing.type_check_only -class WireGroupTopologyEndpoint(typing_extensions.TypedDict, total=False): +class WireGroupTopologyEndpoint(typing.TypedDict, total=False): city: str label: str @typing.type_check_only -class WireProperties(typing_extensions.TypedDict, total=False): - bandwidthAllocation: typing_extensions.Literal[ - "ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP" - ] +class WireProperties(typing.TypedDict, total=False): + bandwidthAllocation: typing.Literal["ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP"] bandwidthUnmetered: str - faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] + faultResponse: typing.Literal["DISABLE_PORT", "NONE"] @typing.type_check_only -class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): +class WorkloadIdentityConfig(typing.TypedDict, total=False): identity: str identityCertificateEnabled: bool @typing.type_check_only -class XpnHostList(typing_extensions.TypedDict, total=False): +class XpnHostList(typing.TypedDict, total=False): id: str items: _list[Project] kind: str @@ -10731,12 +10391,12 @@ class XpnHostList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class XpnResourceId(typing_extensions.TypedDict, total=False): +class XpnResourceId(typing.TypedDict, total=False): id: str - type: typing_extensions.Literal["PROJECT", "XPN_RESOURCE_TYPE_UNSPECIFIED"] + type: typing.Literal["PROJECT", "XPN_RESOURCE_TYPE_UNSPECIFIED"] @typing.type_check_only -class Zone(typing_extensions.TypedDict, total=False): +class Zone(typing.TypedDict, total=False): availableCpuPlatforms: _list[str] creationTimestamp: str deprecated: DeprecationStatus @@ -10747,11 +10407,11 @@ class Zone(typing_extensions.TypedDict, total=False): region: str resourceStatus: ZoneResourceStatus selfLink: str - status: typing_extensions.Literal["DOWN", "UP"] + status: typing.Literal["DOWN", "UP"] supportsPzs: bool @typing.type_check_only -class ZoneList(typing_extensions.TypedDict, total=False): +class ZoneList(typing.TypedDict, total=False): id: str items: _list[Zone] kind: str @@ -10760,22 +10420,22 @@ class ZoneList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ZoneResourceStatus(typing_extensions.TypedDict, total=False): +class ZoneResourceStatus(typing.TypedDict, total=False): upcomingMaintenances: _list[PeriodicPartialMaintenanceSchedule] @typing.type_check_only -class ZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): +class ZoneSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class ZoneSetNestedPolicyRequest(typing_extensions.TypedDict, total=False): +class ZoneSetNestedPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class ZoneSetPolicyRequest(typing_extensions.TypedDict, total=False): +class ZoneSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy diff --git a/googleapiclient-stubs/_apis/compute/v1/resources.pyi b/googleapiclient-stubs/_apis/compute/v1/resources.pyi index 352556e2e..fb4095453 100644 --- a/googleapiclient-stubs/_apis/compute/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -1129,7 +1128,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, forwardingRule: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( @@ -1351,7 +1350,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, forwardingRule: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( @@ -1744,6 +1743,47 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class HostsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + association: str, + host: str, + **kwargs: typing.Any, + ) -> HostHttpRequest: ... + def getVersion( + self, + *, + project: str, + zone: str, + association: str, + host: str, + body: HostsGetVersionRequest, + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + association: str, + filter: str | None = ..., + maxResults: int | None = ..., + orderBy: str | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> HostsListResponseHttpRequest: ... + def list_next( + self, + previous_request: HostsListResponseHttpRequest, + previous_response: HostsListResponse, + ) -> HostsListResponseHttpRequest | None: ... + @typing.type_check_only class HttpHealthChecksResource(googleapiclient.discovery.Resource): def delete( @@ -2085,6 +2125,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, zone: str, instanceGroupManager: str, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2095,6 +2136,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersDeleteInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2222,6 +2264,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersRecreateInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2282,6 +2325,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instanceGroupManager: str, body: InstanceGroupManagersStopInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2596,6 +2640,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, zone: str, instance: str, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2949,6 +2994,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, instance: str, discardLocalSsd: bool | None = ..., + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -2979,11 +3025,9 @@ class ComputeResource(googleapiclient.discovery.Resource): instance: str, body: Instance, discardLocalSsd: bool | None = ..., - minimalAction: typing_extensions.Literal[ - "INVALID", "NO_EFFECT", "REFRESH", "RESTART" - ] + minimalAction: typing.Literal["INVALID", "NO_EFFECT", "REFRESH", "RESTART"] | None = ..., - mostDisruptiveAllowedAction: typing_extensions.Literal[ + mostDisruptiveAllowedAction: typing.Literal[ "INVALID", "NO_EFFECT", "REFRESH", "RESTART" ] | None = ..., @@ -4332,7 +4376,7 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, network: str, - direction: typing_extensions.Literal["INCOMING", "OUTGOING"] | None = ..., + direction: typing.Literal["INCOMING", "OUTGOING"] | None = ..., filter: str | None = ..., maxResults: int | None = ..., orderBy: str | None = ..., @@ -6252,6 +6296,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, instanceGroupManager: str, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6262,6 +6307,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersDeleteInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6389,6 +6435,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersRecreateRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -6449,6 +6496,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, instanceGroupManager: str, body: RegionInstanceGroupManagersStopInstancesRequest, + noGracefulShutdown: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -7708,6 +7756,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( @@ -7717,7 +7787,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, reservation: str, reservationBlock: str, - view: typing_extensions.Literal["BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL"] + view: typing.Literal["BASIC", "BLOCK_VIEW_UNSPECIFIED", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ReservationBlocksGetResponseHttpRequest: ... @@ -7842,7 +7912,7 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, parentName: str, reservationSubBlock: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "SUB_BLOCK_VIEW_BASIC", "SUB_BLOCK_VIEW_FULL", "SUB_BLOCK_VIEW_UNSPECIFIED", @@ -8284,6 +8354,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 +8377,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, *, @@ -8367,9 +8456,7 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, router: str, - addressFamily: typing_extensions.Literal[ - "IPV4", "IPV6", "UNSPECIFIED_IP_VERSION" - ] + addressFamily: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_IP_VERSION"] | None = ..., destinationPrefix: str | None = ..., filter: str | None = ..., @@ -8379,9 +8466,7 @@ class ComputeResource(googleapiclient.discovery.Resource): peer: str | None = ..., policyApplied: bool | None = ..., returnPartialSuccess: bool | None = ..., - routeType: typing_extensions.Literal[ - "ADVERTISED", "LEARNED", "UNSPECIFIED_ROUTE_TYPE" - ] + routeType: typing.Literal["ADVERTISED", "LEARNED", "UNSPECIFIED_ROUTE_TYPE"] | None = ..., **kwargs: typing.Any, ) -> RoutersListBgpRoutesHttpRequest: ... @@ -8390,6 +8475,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 +8521,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 +8560,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, *, @@ -9121,8 +9244,8 @@ class ComputeResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., serviceProjectNumber: str | None = ..., - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkAggregatedListHttpRequest: ... @@ -9156,8 +9279,8 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, subnetwork: str, - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkHttpRequest: ... @@ -9189,8 +9312,8 @@ class ComputeResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageToken: str | None = ..., returnPartialSuccess: bool | None = ..., - views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] - | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] + views: typing.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing.Literal["DEFAULT", "WITH_UTILIZATION"]] | None = ..., **kwargs: typing.Any, ) -> SubnetworkListHttpRequest: ... @@ -10397,6 +10520,7 @@ class ComputeResource(googleapiclient.discovery.Resource): ) -> GlobalPublicDelegatedPrefixesResource: ... def globalVmExtensionPolicies(self) -> GlobalVmExtensionPoliciesResource: ... def healthChecks(self) -> HealthChecksResource: ... + def hosts(self) -> HostsResource: ... def httpHealthChecks(self) -> HttpHealthChecksResource: ... def httpsHealthChecks(self) -> HttpsHealthChecksResource: ... def imageFamilyViews(self) -> ImageFamilyViewsResource: ... @@ -10475,6 +10599,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: ... @@ -11043,6 +11168,22 @@ class HealthSourceListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HealthSourceList: ... +@typing.type_check_only +class HostHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Host: ... + +@typing.type_check_only +class HostsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HostsListResponse: ... + @typing.type_check_only class HttpHealthCheckHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12005,6 +12146,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( @@ -12181,6 +12338,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 +12362,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..e27146741 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -1,29 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AWSV4Signature(typing_extensions.TypedDict, total=False): +class AWSV4Signature(typing.TypedDict, total=False): accessKey: str accessKeyId: str accessKeyVersion: str originRegion: str @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: int acceleratorType: str @typing.type_check_only -class AcceleratorTopologiesInfo(typing_extensions.TypedDict, total=False): +class AcceleratorTopologiesInfo(typing.TypedDict, total=False): acceleratorTopologyInfos: _list[AcceleratorTopologiesInfoAcceleratorTopologyInfo] @typing.type_check_only -class AcceleratorTopologiesInfoAcceleratorTopologyInfo( - typing_extensions.TypedDict, total=False -): +class AcceleratorTopologiesInfoAcceleratorTopologyInfo(typing.TypedDict, total=False): acceleratorTopology: str infoPerTopologyStates: _list[ AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState @@ -31,15 +27,15 @@ class AcceleratorTopologiesInfoAcceleratorTopologyInfo( @typing.type_check_only class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: int - state: typing_extensions.Literal[ + state: typing.Literal[ "AVAILABLE", "DEGRADED", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" ] @typing.type_check_only -class AcceleratorType(typing_extensions.TypedDict, total=False): +class AcceleratorType(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -47,11 +43,12 @@ class AcceleratorType(typing_extensions.TypedDict, total=False): kind: str maximumCardsPerInstance: int name: str + resourceMetadata: ResourceMetadata selfLink: str zone: str @typing.type_check_only -class AcceleratorTypeAggregatedList(typing_extensions.TypedDict, total=False): +class AcceleratorTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -61,7 +58,7 @@ class AcceleratorTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AcceleratorTypeList(typing_extensions.TypedDict, total=False): +class AcceleratorTypeList(typing.TypedDict, total=False): id: str items: _list[AcceleratorType] kind: str @@ -70,45 +67,45 @@ class AcceleratorTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AcceleratorTypesScopedList(typing_extensions.TypedDict, total=False): +class AcceleratorTypesScopedList(typing.TypedDict, total=False): acceleratorTypes: _list[AcceleratorType] warning: dict[str, typing.Any] @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): externalIpv6: str externalIpv6PrefixLength: int kind: str name: str natIP: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] publicPtrDomainName: str securityPolicy: str setPublicPtr: bool - type: typing_extensions.Literal["DIRECT_IPV6", "ONE_TO_ONE_NAT"] + type: typing.Literal["DIRECT_IPV6", "ONE_TO_ONE_NAT"] @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): address: str - addressType: typing_extensions.Literal["EXTERNAL", "INTERNAL", "UNSPECIFIED_TYPE"] + addressType: typing.Literal["EXTERNAL", "INTERNAL", "UNSPECIFIED_TYPE"] creationTimestamp: str description: str id: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] - ipv6EndpointType: typing_extensions.Literal["NETLB", "VM"] + ipVersion: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] + ipv6EndpointType: typing.Literal["NETLB", "VM"] kind: str labelFingerprint: str labels: dict[str, typing.Any] name: str network: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] prefixLength: int - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "DNS_RESOLVER", "GCE_ENDPOINT", "IPSEC_INTERCONNECT", @@ -120,12 +117,12 @@ class Address(typing_extensions.TypedDict, total=False): ] region: str selfLink: str - status: typing_extensions.Literal["IN_USE", "RESERVED", "RESERVING"] + status: typing.Literal["IN_USE", "RESERVED", "RESERVING"] subnetwork: str users: _list[str] @typing.type_check_only -class AddressAggregatedList(typing_extensions.TypedDict, total=False): +class AddressAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -135,7 +132,7 @@ class AddressAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AddressList(typing_extensions.TypedDict, total=False): +class AddressList(typing.TypedDict, total=False): id: str items: _list[Address] kind: str @@ -144,15 +141,15 @@ class AddressList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AddressesScopedList(typing_extensions.TypedDict, total=False): +class AddressesScopedList(typing.TypedDict, total=False): addresses: _list[Address] warning: dict[str, typing.Any] @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): enableNestedVirtualization: bool enableUefiNetworking: bool - performanceMonitoringUnit: typing_extensions.Literal[ + performanceMonitoringUnit: typing.Literal[ "ARCHITECTURAL", "ENHANCED", "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", @@ -163,15 +160,15 @@ class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): visibleCoreCount: int @typing.type_check_only -class AliasIpRange(typing_extensions.TypedDict, total=False): +class AliasIpRange(typing.TypedDict, total=False): ipCidrRange: str subnetworkRangeName: str @typing.type_check_only -class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): +class AllocationAggregateReservation(typing.TypedDict, total=False): inUseResources: _list[AllocationAggregateReservationReservedResourceInfo] reservedResources: _list[AllocationAggregateReservationReservedResourceInfo] - vmFamily: typing_extensions.Literal[ + vmFamily: typing.Literal[ "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", @@ -181,59 +178,53 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] - workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + workloadType: typing.Literal["BATCH", "SERVING", "UNSPECIFIED"] @typing.type_check_only -class AllocationAggregateReservationReservedResourceInfo( - typing_extensions.TypedDict, total=False -): +class AllocationAggregateReservationReservedResourceInfo(typing.TypedDict, total=False): accelerator: AllocationAggregateReservationReservedResourceInfoAccelerator @typing.type_check_only class AllocationAggregateReservationReservedResourceInfoAccelerator( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorCount: int acceleratorType: str @typing.type_check_only -class AllocationReservationSharingPolicy(typing_extensions.TypedDict, total=False): - serviceShareType: typing_extensions.Literal[ +class AllocationReservationSharingPolicy(typing.TypedDict, total=False): + serviceShareType: typing.Literal[ "ALLOW_ALL", "DISALLOW_ALL", "SERVICE_SHARE_TYPE_UNSPECIFIED" ] @typing.type_check_only -class AllocationResourceStatus(typing_extensions.TypedDict, total=False): +class AllocationResourceStatus(typing.TypedDict, total=False): healthInfo: AllocationResourceStatusHealthInfo reservationBlockCount: int reservationMaintenance: GroupMaintenanceInfo specificSkuAllocation: AllocationResourceStatusSpecificSKUAllocation @typing.type_check_only -class AllocationResourceStatusHealthInfo(typing_extensions.TypedDict, total=False): +class AllocationResourceStatusHealthInfo(typing.TypedDict, total=False): degradedBlockCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthyBlockCount: int @typing.type_check_only -class AllocationResourceStatusSpecificSKUAllocation( - typing_extensions.TypedDict, total=False -): +class AllocationResourceStatusSpecificSKUAllocation(typing.TypedDict, total=False): sourceInstanceTemplateId: str utilizations: dict[str, typing.Any] @typing.type_check_only class AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): diskSizeGb: str - interface: typing_extensions.Literal["NVME", "SCSI"] + interface: typing.Literal["NVME", "SCSI"] @typing.type_check_only class AllocationSpecificSKUAllocationReservedInstanceProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): guestAccelerators: _list[AcceleratorConfig] localSsds: _list[ @@ -244,7 +235,7 @@ class AllocationSpecificSKUAllocationReservedInstanceProperties( minCpuPlatform: str @typing.type_check_only -class AllocationSpecificSKUReservation(typing_extensions.TypedDict, total=False): +class AllocationSpecificSKUReservation(typing.TypedDict, total=False): assuredCount: str count: str inUseCount: str @@ -252,10 +243,8 @@ class AllocationSpecificSKUReservation(typing_extensions.TypedDict, total=False) sourceInstanceTemplate: str @typing.type_check_only -class AttachedDisk(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class AttachedDisk(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] autoDelete: bool boot: bool deviceName: str @@ -265,20 +254,18 @@ class AttachedDisk(typing_extensions.TypedDict, total=False): guestOsFeatures: _list[GuestOsFeature] index: int initializeParams: AttachedDiskInitializeParams - interface: typing_extensions.Literal["NVME", "SCSI"] + interface: typing.Literal["NVME", "SCSI"] kind: str licenses: _list[str] - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] - savedState: typing_extensions.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] + savedState: typing.Literal["DISK_SAVED_STATE_UNSPECIFIED", "PRESERVED"] shieldedInstanceInitialState: InitialStateConfig source: str - type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] + type: typing.Literal["PERSISTENT", "SCRATCH"] @typing.type_check_only -class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class AttachedDiskInitializeParams(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] description: str diskName: str diskSizeGb: str @@ -286,7 +273,7 @@ class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): enableConfidentialCompute: bool labels: dict[str, typing.Any] licenses: _list[str] - onUpdateAction: typing_extensions.Literal[ + onUpdateAction: typing.Literal[ "RECREATE_DISK", "RECREATE_DISK_IF_SOURCE_CHANGED", "USE_EXISTING_DISK" ] provisionedIops: str @@ -301,19 +288,19 @@ class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): storagePool: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "ADMIN_READ", "DATA_READ", "DATA_WRITE", "LOG_TYPE_UNSPECIFIED" ] @typing.type_check_only -class Autoscaler(typing_extensions.TypedDict, total=False): +class Autoscaler(typing.TypedDict, total=False): autoscalingPolicy: AutoscalingPolicy creationTimestamp: str description: str @@ -324,13 +311,13 @@ class Autoscaler(typing_extensions.TypedDict, total=False): region: str scalingScheduleStatus: dict[str, typing.Any] selfLink: str - status: typing_extensions.Literal["ACTIVE", "DELETING", "ERROR", "PENDING"] + status: typing.Literal["ACTIVE", "DELETING", "ERROR", "PENDING"] statusDetails: _list[AutoscalerStatusDetails] target: str zone: str @typing.type_check_only -class AutoscalerAggregatedList(typing_extensions.TypedDict, total=False): +class AutoscalerAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -340,7 +327,7 @@ class AutoscalerAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalerList(typing_extensions.TypedDict, total=False): +class AutoscalerList(typing.TypedDict, total=False): id: str items: _list[Autoscaler] kind: str @@ -349,9 +336,9 @@ class AutoscalerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalerStatusDetails(typing_extensions.TypedDict, total=False): +class AutoscalerStatusDetails(typing.TypedDict, total=False): message: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ALL_INSTANCES_UNHEALTHY", "BACKEND_SERVICE_DOES_NOT_EXIST", "CAPPED_AT_MAX_NUM_REPLICAS", @@ -375,53 +362,49 @@ class AutoscalerStatusDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AutoscalersScopedList(typing_extensions.TypedDict, total=False): +class AutoscalersScopedList(typing.TypedDict, total=False): autoscalers: _list[Autoscaler] warning: dict[str, typing.Any] @typing.type_check_only -class AutoscalingPolicy(typing_extensions.TypedDict, total=False): +class AutoscalingPolicy(typing.TypedDict, total=False): coolDownPeriodSec: int cpuUtilization: AutoscalingPolicyCpuUtilization customMetricUtilizations: _list[AutoscalingPolicyCustomMetricUtilization] loadBalancingUtilization: AutoscalingPolicyLoadBalancingUtilization maxNumReplicas: int minNumReplicas: int - mode: typing_extensions.Literal["OFF", "ON", "ONLY_SCALE_OUT", "ONLY_UP"] + mode: typing.Literal["OFF", "ON", "ONLY_SCALE_OUT", "ONLY_UP"] scaleInControl: AutoscalingPolicyScaleInControl scalingSchedules: dict[str, typing.Any] stabilizationPeriodSec: int @typing.type_check_only -class AutoscalingPolicyCpuUtilization(typing_extensions.TypedDict, total=False): - predictiveMethod: typing_extensions.Literal["NONE", "OPTIMIZE_AVAILABILITY"] +class AutoscalingPolicyCpuUtilization(typing.TypedDict, total=False): + predictiveMethod: typing.Literal["NONE", "OPTIMIZE_AVAILABILITY"] utilizationTarget: float @typing.type_check_only -class AutoscalingPolicyCustomMetricUtilization( - typing_extensions.TypedDict, total=False -): +class AutoscalingPolicyCustomMetricUtilization(typing.TypedDict, total=False): filter: str metric: str singleInstanceAssignment: float utilizationTarget: float - utilizationTargetType: typing_extensions.Literal[ + utilizationTargetType: typing.Literal[ "DELTA_PER_MINUTE", "DELTA_PER_SECOND", "GAUGE" ] @typing.type_check_only -class AutoscalingPolicyLoadBalancingUtilization( - typing_extensions.TypedDict, total=False -): +class AutoscalingPolicyLoadBalancingUtilization(typing.TypedDict, total=False): utilizationTarget: float @typing.type_check_only -class AutoscalingPolicyScaleInControl(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScaleInControl(typing.TypedDict, total=False): maxScaledInReplicas: FixedOrPercent timeWindowSec: int @typing.type_check_only -class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False): +class AutoscalingPolicyScalingSchedule(typing.TypedDict, total=False): description: str disabled: bool durationSec: int @@ -430,8 +413,8 @@ class AutoscalingPolicyScalingSchedule(typing_extensions.TypedDict, total=False) timeZone: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): - balancingMode: typing_extensions.Literal[ +class Backend(typing.TypedDict, total=False): + balancingMode: typing.Literal[ "CONNECTION", "CUSTOM_METRICS", "IN_FLIGHT", "RATE", "UTILIZATION" ] capacityScaler: float @@ -450,22 +433,18 @@ class Backend(typing_extensions.TypedDict, total=False): maxRatePerInstance: float maxUtilization: float orchestrationInfo: BackendBackendOrchestrationInfo - preference: typing_extensions.Literal[ - "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" - ] - trafficDuration: typing_extensions.Literal[ - "LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED" - ] + preference: typing.Literal["DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED"] + trafficDuration: typing.Literal["LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED"] @typing.type_check_only -class BackendBackendOrchestrationInfo(typing_extensions.TypedDict, total=False): +class BackendBackendOrchestrationInfo(typing.TypedDict, total=False): resourceUri: str @typing.type_check_only -class BackendBucket(typing_extensions.TypedDict, total=False): +class BackendBucket(typing.TypedDict, total=False): bucketName: str cdnPolicy: BackendBucketCdnPolicy - compressionMode: typing_extensions.Literal["AUTOMATIC", "DISABLED"] + compressionMode: typing.Literal["AUTOMATIC", "DISABLED"] creationTimestamp: str customResponseHeaders: _list[str] description: str @@ -473,9 +452,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): enableCdn: bool id: str kind: str - loadBalancingScheme: typing_extensions.Literal[ - "EXTERNAL_MANAGED", "INTERNAL_MANAGED" - ] + loadBalancingScheme: typing.Literal["EXTERNAL_MANAGED", "INTERNAL_MANAGED"] name: str params: BackendBucketParams region: str @@ -483,7 +460,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): usedBy: _list[BackendBucketUsedBy] @typing.type_check_only -class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): +class BackendBucketAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -492,10 +469,10 @@ class BackendBucketAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): +class BackendBucketCdnPolicy(typing.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[BackendBucketCdnPolicyBypassCacheOnRequestHeader] cacheKeyPolicy: BackendBucketCdnPolicyCacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "INVALID_CACHE_MODE", @@ -512,25 +489,21 @@ class BackendBucketCdnPolicy(typing_extensions.TypedDict, total=False): signedUrlKeyNames: _list[str] @typing.type_check_only -class BackendBucketCdnPolicyBypassCacheOnRequestHeader( - typing_extensions.TypedDict, total=False -): +class BackendBucketCdnPolicyBypassCacheOnRequestHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendBucketCdnPolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): +class BackendBucketCdnPolicyCacheKeyPolicy(typing.TypedDict, total=False): includeHttpHeaders: _list[str] queryStringWhitelist: _list[str] @typing.type_check_only -class BackendBucketCdnPolicyNegativeCachingPolicy( - typing_extensions.TypedDict, total=False -): +class BackendBucketCdnPolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: int @typing.type_check_only -class BackendBucketList(typing_extensions.TypedDict, total=False): +class BackendBucketList(typing.TypedDict, total=False): id: str items: _list[BackendBucket] kind: str @@ -539,7 +512,7 @@ class BackendBucketList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketListUsable(typing_extensions.TypedDict, total=False): +class BackendBucketListUsable(typing.TypedDict, total=False): id: str items: _list[BackendBucket] kind: str @@ -548,31 +521,31 @@ class BackendBucketListUsable(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendBucketParams(typing_extensions.TypedDict, total=False): +class BackendBucketParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class BackendBucketUsedBy(typing_extensions.TypedDict, total=False): +class BackendBucketUsedBy(typing.TypedDict, total=False): reference: str @typing.type_check_only -class BackendBucketsScopedList(typing_extensions.TypedDict, total=False): +class BackendBucketsScopedList(typing.TypedDict, total=False): backendBuckets: _list[BackendBucket] warning: dict[str, typing.Any] @typing.type_check_only -class BackendCustomMetric(typing_extensions.TypedDict, total=False): +class BackendCustomMetric(typing.TypedDict, total=False): dryRun: bool maxUtilization: float name: str @typing.type_check_only -class BackendService(typing_extensions.TypedDict, total=False): +class BackendService(typing.TypedDict, total=False): affinityCookieTtlSec: int backends: _list[Backend] cdnPolicy: BackendServiceCdnPolicy circuitBreakers: CircuitBreakers - compressionMode: typing_extensions.Literal["AUTOMATIC", "DISABLED"] + compressionMode: typing.Literal["AUTOMATIC", "DISABLED"] connectionDraining: ConnectionDraining connectionTrackingPolicy: BackendServiceConnectionTrackingPolicy consistentHash: ConsistentHashLoadBalancerSettings @@ -583,7 +556,7 @@ class BackendService(typing_extensions.TypedDict, total=False): description: str edgeSecurityPolicy: str enableCDN: bool - externalManagedMigrationState: typing_extensions.Literal[ + externalManagedMigrationState: typing.Literal[ "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" ] externalManagedMigrationTestingPercentage: float @@ -593,14 +566,14 @@ class BackendService(typing_extensions.TypedDict, total=False): healthChecks: _list[str] iap: BackendServiceIAP id: str - ipAddressSelectionPolicy: typing_extensions.Literal[ + ipAddressSelectionPolicy: typing.Literal[ "IPV4_ONLY", "IPV6_ONLY", "IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED", "PREFER_IPV6", ] kind: str - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL", @@ -609,7 +582,7 @@ class BackendService(typing_extensions.TypedDict, total=False): "INVALID_LOAD_BALANCING_SCHEME", ] localityLbPolicies: _list[BackendServiceLocalityLoadBalancingPolicyConfig] - localityLbPolicy: typing_extensions.Literal[ + localityLbPolicy: typing.Literal[ "INVALID_LB_POLICY", "LEAST_REQUEST", "MAGLEV", @@ -632,7 +605,7 @@ class BackendService(typing_extensions.TypedDict, total=False): params: BackendServiceParams port: int portName: str - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "GRPC", "H2C", "HTTP", "HTTP2", "HTTPS", "SSL", "TCP", "UDP", "UNSPECIFIED" ] region: str @@ -641,7 +614,7 @@ class BackendService(typing_extensions.TypedDict, total=False): selfLink: str serviceBindings: _list[str] serviceLbPolicy: str - sessionAffinity: typing_extensions.Literal[ + sessionAffinity: typing.Literal[ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", @@ -659,7 +632,7 @@ class BackendService(typing_extensions.TypedDict, total=False): usedBy: _list[BackendServiceUsedBy] @typing.type_check_only -class BackendServiceAggregatedList(typing_extensions.TypedDict, total=False): +class BackendServiceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -669,12 +642,12 @@ class BackendServiceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceCdnPolicy(typing_extensions.TypedDict, total=False): +class BackendServiceCdnPolicy(typing.TypedDict, total=False): bypassCacheOnRequestHeaders: _list[ BackendServiceCdnPolicyBypassCacheOnRequestHeader ] cacheKeyPolicy: CacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "INVALID_CACHE_MODE", @@ -691,77 +664,71 @@ class BackendServiceCdnPolicy(typing_extensions.TypedDict, total=False): signedUrlKeyNames: _list[str] @typing.type_check_only -class BackendServiceCdnPolicyBypassCacheOnRequestHeader( - typing_extensions.TypedDict, total=False -): +class BackendServiceCdnPolicyBypassCacheOnRequestHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendServiceCdnPolicyNegativeCachingPolicy( - typing_extensions.TypedDict, total=False -): +class BackendServiceCdnPolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: int @typing.type_check_only -class BackendServiceConnectionTrackingPolicy(typing_extensions.TypedDict, total=False): - connectionPersistenceOnUnhealthyBackends: typing_extensions.Literal[ +class BackendServiceConnectionTrackingPolicy(typing.TypedDict, total=False): + connectionPersistenceOnUnhealthyBackends: typing.Literal[ "ALWAYS_PERSIST", "DEFAULT_FOR_PROTOCOL", "NEVER_PERSIST" ] enableStrongAffinity: bool idleTimeoutSec: int - trackingMode: typing_extensions.Literal[ + trackingMode: typing.Literal[ "INVALID_TRACKING_MODE", "PER_CONNECTION", "PER_SESSION" ] @typing.type_check_only -class BackendServiceCustomMetric(typing_extensions.TypedDict, total=False): +class BackendServiceCustomMetric(typing.TypedDict, total=False): dryRun: bool name: str @typing.type_check_only -class BackendServiceFailoverPolicy(typing_extensions.TypedDict, total=False): +class BackendServiceFailoverPolicy(typing.TypedDict, total=False): disableConnectionDrainOnFailover: bool dropTrafficIfUnhealthy: bool failoverRatio: float @typing.type_check_only -class BackendServiceGroupHealth(typing_extensions.TypedDict, total=False): +class BackendServiceGroupHealth(typing.TypedDict, total=False): annotations: dict[str, typing.Any] healthStatus: _list[HealthStatus] kind: str @typing.type_check_only -class BackendServiceHAPolicy(typing_extensions.TypedDict, total=False): - fastIPMove: typing_extensions.Literal["DISABLED", "GARP_RA"] +class BackendServiceHAPolicy(typing.TypedDict, total=False): + fastIPMove: typing.Literal["DISABLED", "GARP_RA"] leader: BackendServiceHAPolicyLeader @typing.type_check_only -class BackendServiceHAPolicyLeader(typing_extensions.TypedDict, total=False): +class BackendServiceHAPolicyLeader(typing.TypedDict, total=False): backendGroup: str networkEndpoint: BackendServiceHAPolicyLeaderNetworkEndpoint @typing.type_check_only -class BackendServiceHAPolicyLeaderNetworkEndpoint( - typing_extensions.TypedDict, total=False -): +class BackendServiceHAPolicyLeaderNetworkEndpoint(typing.TypedDict, total=False): instance: str @typing.type_check_only -class BackendServiceHttpCookie(typing_extensions.TypedDict, total=False): +class BackendServiceHttpCookie(typing.TypedDict, total=False): name: str path: str ttl: Duration @typing.type_check_only -class BackendServiceIAP(typing_extensions.TypedDict, total=False): +class BackendServiceIAP(typing.TypedDict, total=False): enabled: bool oauth2ClientId: str oauth2ClientSecret: str oauth2ClientSecretSha256: str @typing.type_check_only -class BackendServiceList(typing_extensions.TypedDict, total=False): +class BackendServiceList(typing.TypedDict, total=False): id: str items: _list[BackendService] kind: str @@ -770,7 +737,7 @@ class BackendServiceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceListUsable(typing_extensions.TypedDict, total=False): +class BackendServiceListUsable(typing.TypedDict, total=False): id: str items: _list[BackendService] kind: str @@ -779,24 +746,22 @@ class BackendServiceListUsable(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class BackendServiceLocalityLoadBalancingPolicyConfig( - typing_extensions.TypedDict, total=False -): +class BackendServiceLocalityLoadBalancingPolicyConfig(typing.TypedDict, total=False): customPolicy: BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy policy: BackendServiceLocalityLoadBalancingPolicyConfigPolicy @typing.type_check_only class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str name: str @typing.type_check_only class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - name: typing_extensions.Literal[ + name: typing.Literal[ "INVALID_LB_POLICY", "LEAST_REQUEST", "MAGLEV", @@ -810,33 +775,29 @@ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy( ] @typing.type_check_only -class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): +class BackendServiceLogConfig(typing.TypedDict, total=False): enable: bool loggingHttpRequestHeaders: _list[BackendServiceLogConfigLoggingHttpHeader] loggingHttpResponseHeaders: _list[BackendServiceLogConfigLoggingHttpHeader] optionalFields: _list[str] - optionalMode: typing_extensions.Literal[ + optionalMode: typing.Literal[ "CUSTOM", "EXCLUDE_ALL_OPTIONAL", "INCLUDE_ALL_OPTIONAL" ] sampleRate: float @typing.type_check_only -class BackendServiceLogConfigLoggingHttpHeader( - typing_extensions.TypedDict, total=False -): +class BackendServiceLogConfigLoggingHttpHeader(typing.TypedDict, total=False): headerName: str @typing.type_check_only -class BackendServiceNetworkPassThroughLbTrafficPolicy( - typing_extensions.TypedDict, total=False -): +class BackendServiceNetworkPassThroughLbTrafficPolicy(typing.TypedDict, total=False): zonalAffinity: BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity @typing.type_check_only class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - spillover: typing_extensions.Literal[ + spillover: typing.Literal[ "ZONAL_AFFINITY_DISABLED", "ZONAL_AFFINITY_SPILL_CROSS_ZONE", "ZONAL_AFFINITY_STAY_WITHIN_ZONE", @@ -844,43 +805,44 @@ class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( spilloverRatio: float @typing.type_check_only -class BackendServiceOrchestrationInfo(typing_extensions.TypedDict, total=False): +class BackendServiceOrchestrationInfo(typing.TypedDict, total=False): resourceUri: str @typing.type_check_only -class BackendServiceParams(typing_extensions.TypedDict, total=False): +class BackendServiceParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class BackendServiceReference(typing_extensions.TypedDict, total=False): +class BackendServiceReference(typing.TypedDict, total=False): backendService: str @typing.type_check_only -class BackendServiceTlsSettings(typing_extensions.TypedDict, total=False): +class BackendServiceTlsSettings(typing.TypedDict, total=False): authenticationConfig: str + identity: str sni: str subjectAltNames: _list[BackendServiceTlsSettingsSubjectAltName] @typing.type_check_only -class BackendServiceTlsSettingsSubjectAltName(typing_extensions.TypedDict, total=False): +class BackendServiceTlsSettingsSubjectAltName(typing.TypedDict, total=False): dnsName: str uniformResourceIdentifier: str @typing.type_check_only -class BackendServiceUsedBy(typing_extensions.TypedDict, total=False): +class BackendServiceUsedBy(typing.TypedDict, total=False): reference: str @typing.type_check_only -class BackendServicesScopedList(typing_extensions.TypedDict, total=False): +class BackendServicesScopedList(typing.TypedDict, total=False): backendServices: _list[BackendService] warning: dict[str, typing.Any] @typing.type_check_only -class BfdPacket(typing_extensions.TypedDict, total=False): +class BfdPacket(typing.TypedDict, total=False): authenticationPresent: bool controlPlaneIndependent: bool demand: bool - diagnostic: typing_extensions.Literal[ + diagnostic: typing.Literal[ "ADMINISTRATIVELY_DOWN", "CONCATENATED_PATH_DOWN", "CONTROL_DETECTION_TIME_EXPIRED", @@ -901,21 +863,17 @@ class BfdPacket(typing_extensions.TypedDict, total=False): multipoint: bool myDiscriminator: int poll: bool - state: typing_extensions.Literal[ - "ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP" - ] + state: typing.Literal["ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP"] version: int yourDiscriminator: int @typing.type_check_only -class BfdStatus(typing_extensions.TypedDict, total=False): - bfdSessionInitializationMode: typing_extensions.Literal[ - "ACTIVE", "DISABLED", "PASSIVE" - ] +class BfdStatus(typing.TypedDict, total=False): + bfdSessionInitializationMode: typing.Literal["ACTIVE", "DISABLED", "PASSIVE"] configUpdateTimestampMicros: str controlPacketCounts: BfdStatusPacketCounts controlPacketIntervals: _list[PacketIntervals] - localDiagnostic: typing_extensions.Literal[ + localDiagnostic: typing.Literal[ "ADMINISTRATIVELY_DOWN", "CONCATENATED_PATH_DOWN", "CONTROL_DETECTION_TIME_EXPIRED", @@ -927,58 +885,52 @@ class BfdStatus(typing_extensions.TypedDict, total=False): "PATH_DOWN", "REVERSE_CONCATENATED_PATH_DOWN", ] - localState: typing_extensions.Literal[ - "ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP" - ] + localState: typing.Literal["ADMIN_DOWN", "DOWN", "INIT", "STATE_UNSPECIFIED", "UP"] negotiatedLocalControlTxIntervalMs: int rxPacket: BfdPacket txPacket: BfdPacket uptimeMs: str @typing.type_check_only -class BfdStatusPacketCounts(typing_extensions.TypedDict, total=False): +class BfdStatusPacketCounts(typing.TypedDict, total=False): numRx: int numRxRejected: int numRxSuccessful: int numTx: int @typing.type_check_only -class BgpRoute(typing_extensions.TypedDict, total=False): +class BgpRoute(typing.TypedDict, total=False): asPaths: _list[BgpRouteAsPath] communities: _list[str] destination: BgpRouteNetworkLayerReachabilityInformation med: int - origin: typing_extensions.Literal[ - "BGP_ORIGIN_EGP", "BGP_ORIGIN_IGP", "BGP_ORIGIN_INCOMPLETE" - ] + origin: typing.Literal["BGP_ORIGIN_EGP", "BGP_ORIGIN_IGP", "BGP_ORIGIN_INCOMPLETE"] @typing.type_check_only -class BgpRouteAsPath(typing_extensions.TypedDict, total=False): +class BgpRouteAsPath(typing.TypedDict, total=False): asns: _list[int] asns32: _list[int] - type: typing_extensions.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] + type: typing.Literal["AS_PATH_TYPE_SEQUENCE", "AS_PATH_TYPE_SET"] @typing.type_check_only -class BgpRouteNetworkLayerReachabilityInformation( - typing_extensions.TypedDict, total=False -): +class BgpRouteNetworkLayerReachabilityInformation(typing.TypedDict, total=False): pathId: int prefix: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BulkInsertDiskResource(typing_extensions.TypedDict, total=False): +class BulkInsertDiskResource(typing.TypedDict, total=False): instantSnapshotGroupParameters: InstantSnapshotGroupParameters snapshotGroupParameters: SnapshotGroupParameters sourceConsistencyGroupPolicy: str @typing.type_check_only -class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): +class BulkInsertInstanceResource(typing.TypedDict, total=False): count: str instanceFlexibilityPolicy: InstanceFlexibilityPolicy instanceProperties: InstanceProperties @@ -989,44 +941,40 @@ class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): sourceInstanceTemplate: str @typing.type_check_only -class BulkInsertInstanceResourcePerInstanceProperties( - typing_extensions.TypedDict, total=False -): +class BulkInsertInstanceResourcePerInstanceProperties(typing.TypedDict, total=False): hostname: str name: str @typing.type_check_only -class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): +class BulkInsertOperationStatus(typing.TypedDict, total=False): createdVmCount: int deletedVmCount: int failedToCreateVmCount: int - status: typing_extensions.Literal[ - "CREATING", "DONE", "ROLLING_BACK", "STATUS_UNSPECIFIED" - ] + status: typing.Literal["CREATING", "DONE", "ROLLING_BACK", "STATUS_UNSPECIFIED"] targetVmCount: int @typing.type_check_only -class BulkSetLabelsRequest(typing_extensions.TypedDict, total=False): +class BulkSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class BulkZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): +class BulkZoneSetLabelsRequest(typing.TypedDict, total=False): requests: _list[BulkSetLabelsRequest] @typing.type_check_only -class BundledLocalSsds(typing_extensions.TypedDict, total=False): +class BundledLocalSsds(typing.TypedDict, total=False): defaultInterface: str partitionCount: int @typing.type_check_only -class CacheInvalidationRule(typing_extensions.TypedDict, total=False): +class CacheInvalidationRule(typing.TypedDict, total=False): cacheTags: _list[str] host: str path: str @typing.type_check_only -class CacheKeyPolicy(typing_extensions.TypedDict, total=False): +class CacheKeyPolicy(typing.TypedDict, total=False): includeHost: bool includeHttpHeaders: _list[str] includeNamedCookies: _list[str] @@ -1036,10 +984,10 @@ class CacheKeyPolicy(typing_extensions.TypedDict, total=False): queryStringWhitelist: _list[str] @typing.type_check_only -class CachePolicy(typing_extensions.TypedDict, total=False): +class CachePolicy(typing.TypedDict, total=False): cacheBypassRequestHeaderNames: _list[str] cacheKeyPolicy: CachePolicyCacheKeyPolicy - cacheMode: typing_extensions.Literal[ + cacheMode: typing.Literal[ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "USE_ORIGIN_HEADERS" ] clientTtl: Duration @@ -1051,7 +999,7 @@ class CachePolicy(typing_extensions.TypedDict, total=False): serveWhileStale: Duration @typing.type_check_only -class CachePolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): +class CachePolicyCacheKeyPolicy(typing.TypedDict, total=False): excludedQueryParameters: _list[str] includeHost: bool includeProtocol: bool @@ -1061,24 +1009,24 @@ class CachePolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): includedQueryParameters: _list[str] @typing.type_check_only -class CachePolicyNegativeCachingPolicy(typing_extensions.TypedDict, total=False): +class CachePolicyNegativeCachingPolicy(typing.TypedDict, total=False): code: int ttl: Duration @typing.type_check_only -class CalendarModeAdviceRequest(typing_extensions.TypedDict, total=False): +class CalendarModeAdviceRequest(typing.TypedDict, total=False): futureResourcesSpecs: dict[str, typing.Any] @typing.type_check_only -class CalendarModeAdviceResponse(typing_extensions.TypedDict, total=False): +class CalendarModeAdviceResponse(typing.TypedDict, total=False): recommendations: _list[CalendarModeRecommendation] @typing.type_check_only -class CalendarModeRecommendation(typing_extensions.TypedDict, total=False): +class CalendarModeRecommendation(typing.TypedDict, total=False): recommendationsPerSpec: dict[str, typing.Any] @typing.type_check_only -class CircuitBreakers(typing_extensions.TypedDict, total=False): +class CircuitBreakers(typing.TypedDict, total=False): maxConnections: int maxPendingRequests: int maxRequests: int @@ -1086,9 +1034,9 @@ class CircuitBreakers(typing_extensions.TypedDict, total=False): maxRetries: int @typing.type_check_only -class Commitment(typing_extensions.TypedDict, total=False): +class Commitment(typing.TypedDict, total=False): autoRenew: bool - category: typing_extensions.Literal["CATEGORY_UNSPECIFIED", "LICENSE", "MACHINE"] + category: typing.Literal["CATEGORY_UNSPECIFIED", "LICENSE", "MACHINE"] creationTimestamp: str customEndTimestamp: str description: str @@ -1100,7 +1048,7 @@ class Commitment(typing_extensions.TypedDict, total=False): mergeSourceCommitments: _list[str] name: str params: CommitmentParams - plan: typing_extensions.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] + plan: typing.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] region: str reservations: _list[Reservation] resourceStatus: CommitmentResourceStatus @@ -1108,11 +1056,11 @@ class Commitment(typing_extensions.TypedDict, total=False): selfLink: str splitSourceCommitment: str startTimestamp: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "CANCELLED", "CREATING", "EXPIRED", "NOT_YET_ACTIVE" ] statusMessage: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", "ACCELERATOR_OPTIMIZED_A3_MEGA", @@ -1151,12 +1099,16 @@ class Commitment(typing_extensions.TypedDict, total=False): "MEMORY_OPTIMIZED_X4_480_8T", "MEMORY_OPTIMIZED_X4_960_12T", "MEMORY_OPTIMIZED_X4_960_16T", + "NETWORK_OPTIMIZED_C4N", + "NETWORK_OPTIMIZED_U4C", + "NETWORK_OPTIMIZED_U4P", + "NETWORK_OPTIMIZED_U4S", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED", ] @typing.type_check_only -class CommitmentAggregatedList(typing_extensions.TypedDict, total=False): +class CommitmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1166,7 +1118,7 @@ class CommitmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CommitmentList(typing_extensions.TypedDict, total=False): +class CommitmentList(typing.TypedDict, total=False): id: str items: _list[Commitment] kind: str @@ -1175,20 +1127,20 @@ class CommitmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CommitmentParams(typing_extensions.TypedDict, total=False): +class CommitmentParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class CommitmentResourceStatus(typing_extensions.TypedDict, total=False): +class CommitmentResourceStatus(typing.TypedDict, total=False): customTermEligibilityEndTimestamp: str @typing.type_check_only -class CommitmentsScopedList(typing_extensions.TypedDict, total=False): +class CommitmentsScopedList(typing.TypedDict, total=False): commitments: _list[Commitment] warning: dict[str, typing.Any] @typing.type_check_only -class CompositeHealthCheck(typing_extensions.TypedDict, total=False): +class CompositeHealthCheck(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -1202,7 +1154,7 @@ class CompositeHealthCheck(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1212,13 +1164,13 @@ class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class CompositeHealthCheckHealth(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckHealth(typing.TypedDict, total=False): healthSources: _list[CompositeHealthChecksGetHealthResponseHealthSourceHealth] - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] kind: str @typing.type_check_only -class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): +class CompositeHealthCheckList(typing.TypedDict, total=False): id: str items: _list[CompositeHealthCheck] kind: str @@ -1228,43 +1180,41 @@ class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): @typing.type_check_only class CompositeHealthChecksGetHealthResponseHealthSourceHealth( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] source: str @typing.type_check_only -class CompositeHealthChecksScopedList(typing_extensions.TypedDict, total=False): +class CompositeHealthChecksScopedList(typing.TypedDict, total=False): compositeHealthChecks: _list[CompositeHealthCheck] warning: dict[str, typing.Any] @typing.type_check_only -class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): - confidentialInstanceType: typing_extensions.Literal[ +class ConfidentialInstanceConfig(typing.TypedDict, total=False): + confidentialInstanceType: typing.Literal[ "CCA", "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] enableConfidentialCompute: bool @typing.type_check_only -class ConnectionDraining(typing_extensions.TypedDict, total=False): +class ConnectionDraining(typing.TypedDict, total=False): drainingTimeoutSec: int @typing.type_check_only -class ConsistentHashLoadBalancerSettings(typing_extensions.TypedDict, total=False): +class ConsistentHashLoadBalancerSettings(typing.TypedDict, total=False): httpCookie: ConsistentHashLoadBalancerSettingsHttpCookie httpHeaderName: str minimumRingSize: str @typing.type_check_only -class ConsistentHashLoadBalancerSettingsHttpCookie( - typing_extensions.TypedDict, total=False -): +class ConsistentHashLoadBalancerSettingsHttpCookie(typing.TypedDict, total=False): name: str path: str ttl: Duration @typing.type_check_only -class CorsPolicy(typing_extensions.TypedDict, total=False): +class CorsPolicy(typing.TypedDict, total=False): allowCredentials: bool allowHeaders: _list[str] allowMethods: _list[str] @@ -1275,7 +1225,7 @@ class CorsPolicy(typing_extensions.TypedDict, total=False): maxAge: int @typing.type_check_only -class CrossSiteNetwork(typing_extensions.TypedDict, total=False): +class CrossSiteNetwork(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -1284,7 +1234,7 @@ class CrossSiteNetwork(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class CrossSiteNetworkList(typing_extensions.TypedDict, total=False): +class CrossSiteNetworkList(typing.TypedDict, total=False): etag: str id: str items: _list[CrossSiteNetwork] @@ -1295,20 +1245,18 @@ class CrossSiteNetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class CustomErrorResponsePolicy(typing_extensions.TypedDict, total=False): +class CustomErrorResponsePolicy(typing.TypedDict, total=False): errorResponseRules: _list[CustomErrorResponsePolicyCustomErrorResponseRule] errorService: str @typing.type_check_only -class CustomErrorResponsePolicyCustomErrorResponseRule( - typing_extensions.TypedDict, total=False -): +class CustomErrorResponsePolicyCustomErrorResponseRule(typing.TypedDict, total=False): matchResponseCodes: _list[str] overrideResponseCode: int path: str @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKeyName: str kmsKeyServiceAccount: str rawKey: str @@ -1316,18 +1264,18 @@ class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): sha256: str @typing.type_check_only -class CustomerEncryptionKeyProtectedDisk(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKeyProtectedDisk(typing.TypedDict, total=False): diskEncryptionKey: CustomerEncryptionKey source: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -1339,21 +1287,17 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class DeprecationStatus(typing_extensions.TypedDict, total=False): +class DeprecationStatus(typing.TypedDict, total=False): deleted: str deprecated: str obsolete: str replacement: str - state: typing_extensions.Literal["ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE"] + state: typing.Literal["ACTIVE", "DELETED", "DEPRECATED", "OBSOLETE"] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "READ_ONLY_MANY", "READ_WRITE_MANY", "READ_WRITE_SINGLE" - ] - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Disk(typing.TypedDict, total=False): + accessMode: typing.Literal["READ_ONLY_MANY", "READ_WRITE_MANY", "READ_WRITE_SINGLE"] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] asyncPrimaryDisk: DiskAsyncReplication asyncSecondaryDisks: dict[str, typing.Any] creationTimestamp: str @@ -1397,7 +1341,7 @@ class Disk(typing_extensions.TypedDict, total=False): sourceSnapshotEncryptionKey: CustomerEncryptionKey sourceSnapshotId: str sourceStorageObject: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "READY", "RESTORING", "UNAVAILABLE" ] storagePool: str @@ -1406,7 +1350,7 @@ class Disk(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class DiskAggregatedList(typing_extensions.TypedDict, total=False): +class DiskAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1416,22 +1360,22 @@ class DiskAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskAsyncReplication(typing_extensions.TypedDict, total=False): +class DiskAsyncReplication(typing.TypedDict, total=False): consistencyGroupPolicy: str consistencyGroupPolicyId: str disk: str diskId: str @typing.type_check_only -class DiskAsyncReplicationList(typing_extensions.TypedDict, total=False): +class DiskAsyncReplicationList(typing.TypedDict, total=False): asyncReplicationDisk: DiskAsyncReplication @typing.type_check_only -class DiskInstantiationConfig(typing_extensions.TypedDict, total=False): +class DiskInstantiationConfig(typing.TypedDict, total=False): autoDelete: bool customImage: str deviceName: str - instantiateFrom: typing_extensions.Literal[ + instantiateFrom: typing.Literal[ "ATTACH_READ_ONLY", "BLANK", "CUSTOM_IMAGE", @@ -1442,7 +1386,7 @@ class DiskInstantiationConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DiskList(typing_extensions.TypedDict, total=False): +class DiskList(typing.TypedDict, total=False): id: str items: _list[Disk] kind: str @@ -1451,29 +1395,27 @@ class DiskList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskMoveRequest(typing_extensions.TypedDict, total=False): +class DiskMoveRequest(typing.TypedDict, total=False): destinationZone: str targetDisk: str @typing.type_check_only -class DiskParams(typing_extensions.TypedDict, total=False): +class DiskParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class DiskResourceStatus(typing_extensions.TypedDict, total=False): +class DiskResourceStatus(typing.TypedDict, total=False): asyncPrimaryDisk: DiskResourceStatusAsyncReplicationStatus asyncSecondaryDisks: dict[str, typing.Any] @typing.type_check_only -class DiskResourceStatusAsyncReplicationStatus( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ +class DiskResourceStatusAsyncReplicationStatus(typing.TypedDict, total=False): + state: typing.Literal[ "ACTIVE", "CREATED", "STARTING", "STATE_UNSPECIFIED", "STOPPED", "STOPPING" ] @typing.type_check_only -class DiskType(typing_extensions.TypedDict, total=False): +class DiskType(typing.TypedDict, total=False): creationTimestamp: str defaultDiskSizeGb: str deprecated: DeprecationStatus @@ -1487,7 +1429,7 @@ class DiskType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class DiskTypeAggregatedList(typing_extensions.TypedDict, total=False): +class DiskTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1497,7 +1439,7 @@ class DiskTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskTypeList(typing_extensions.TypedDict, total=False): +class DiskTypeList(typing.TypedDict, total=False): id: str items: _list[DiskType] kind: str @@ -1506,75 +1448,75 @@ class DiskTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class DiskTypesScopedList(typing_extensions.TypedDict, total=False): +class DiskTypesScopedList(typing.TypedDict, total=False): diskTypes: _list[DiskType] warning: dict[str, typing.Any] @typing.type_check_only -class DiskUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class DiskUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class DisksAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class DisksAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class DisksRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class DisksRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class DisksResizeRequest(typing_extensions.TypedDict, total=False): +class DisksResizeRequest(typing.TypedDict, total=False): sizeGb: str @typing.type_check_only -class DisksScopedList(typing_extensions.TypedDict, total=False): +class DisksScopedList(typing.TypedDict, total=False): disks: _list[Disk] warning: dict[str, typing.Any] @typing.type_check_only -class DisksStartAsyncReplicationRequest(typing_extensions.TypedDict, total=False): +class DisksStartAsyncReplicationRequest(typing.TypedDict, total=False): asyncSecondaryDisk: str @typing.type_check_only -class DisksStopGroupAsyncReplicationResource(typing_extensions.TypedDict, total=False): +class DisksStopGroupAsyncReplicationResource(typing.TypedDict, total=False): resourcePolicy: str @typing.type_check_only -class DisplayDevice(typing_extensions.TypedDict, total=False): +class DisplayDevice(typing.TypedDict, total=False): enableDisplay: bool @typing.type_check_only -class DistributionPolicy(typing_extensions.TypedDict, total=False): - targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED", "EVEN"] +class DistributionPolicy(typing.TypedDict, total=False): + targetShape: typing.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED", "EVEN"] zones: _list[DistributionPolicyZoneConfiguration] @typing.type_check_only -class DistributionPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): +class DistributionPolicyZoneConfiguration(typing.TypedDict, total=False): zone: str @typing.type_check_only -class Duration(typing_extensions.TypedDict, total=False): +class Duration(typing.TypedDict, total=False): nanos: int seconds: str @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadatas: dict[str, typing.Any] reason: str @typing.type_check_only -class ExchangedPeeringRoute(typing_extensions.TypedDict, total=False): +class ExchangedPeeringRoute(typing.TypedDict, total=False): destRange: str imported: bool nextHopRegion: str priority: int - type: typing_extensions.Literal[ + type: typing.Literal[ "DYNAMIC_PEERING_ROUTE", "STATIC_PEERING_ROUTE", "SUBNET_PEERING_ROUTE" ] @typing.type_check_only -class ExchangedPeeringRoutesList(typing_extensions.TypedDict, total=False): +class ExchangedPeeringRoutesList(typing.TypedDict, total=False): id: str items: _list[ExchangedPeeringRoute] kind: str @@ -1583,14 +1525,14 @@ class ExchangedPeeringRoutesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalVpnGateway(typing_extensions.TypedDict, total=False): +class ExternalVpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -1600,19 +1542,19 @@ class ExternalVpnGateway(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str params: ExternalVpnGatewayParams - redundancyType: typing_extensions.Literal[ + redundancyType: typing.Literal[ "FOUR_IPS_REDUNDANCY", "SINGLE_IP_INTERNALLY_REDUNDANT", "TWO_IPS_REDUNDANCY" ] selfLink: str @typing.type_check_only -class ExternalVpnGatewayInterface(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayInterface(typing.TypedDict, total=False): id: int ipAddress: str ipv6Address: str @typing.type_check_only -class ExternalVpnGatewayList(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayList(typing.TypedDict, total=False): etag: str id: str items: _list[ExternalVpnGateway] @@ -1622,22 +1564,22 @@ class ExternalVpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ExternalVpnGatewayParams(typing_extensions.TypedDict, total=False): +class ExternalVpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FileContentBuffer(typing_extensions.TypedDict, total=False): +class FileContentBuffer(typing.TypedDict, total=False): content: str - fileType: typing_extensions.Literal["BIN", "UNDEFINED", "X509"] + fileType: typing.Literal["BIN", "UNDEFINED", "X509"] @typing.type_check_only -class Firewall(typing_extensions.TypedDict, total=False): +class Firewall(typing.TypedDict, total=False): allowed: _list[dict[str, typing.Any]] creationTimestamp: str denied: _list[dict[str, typing.Any]] description: str destinationRanges: _list[str] - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] disabled: bool id: str kind: str @@ -1654,7 +1596,7 @@ class Firewall(typing_extensions.TypedDict, total=False): targetTags: _list[str] @typing.type_check_only -class FirewallList(typing_extensions.TypedDict, total=False): +class FirewallList(typing.TypedDict, total=False): id: str items: _list[Firewall] kind: str @@ -1663,28 +1605,26 @@ class FirewallList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FirewallLogConfig(typing_extensions.TypedDict, total=False): +class FirewallLogConfig(typing.TypedDict, total=False): enable: bool - metadata: typing_extensions.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] + metadata: typing.Literal["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"] @typing.type_check_only -class FirewallParams(typing_extensions.TypedDict, total=False): +class FirewallParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FirewallPoliciesListAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class FirewallPoliciesListAssociationsResponse(typing.TypedDict, total=False): associations: _list[FirewallPolicyAssociation] kind: str @typing.type_check_only -class FirewallPoliciesScopedList(typing_extensions.TypedDict, total=False): +class FirewallPoliciesScopedList(typing.TypedDict, total=False): firewallPolicies: _list[FirewallPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class FirewallPolicy(typing_extensions.TypedDict, total=False): +class FirewallPolicy(typing.TypedDict, total=False): associations: _list[FirewallPolicyAssociation] creationTimestamp: str description: str @@ -1695,9 +1635,7 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): name: str packetMirroringRules: _list[FirewallPolicyRule] parent: str - policyType: typing_extensions.Literal[ - "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" - ] + policyType: typing.Literal["RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY"] region: str ruleTupleCount: int rules: _list[FirewallPolicyRule] @@ -1706,7 +1644,7 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class FirewallPolicyAssociation(typing_extensions.TypedDict, total=False): +class FirewallPolicyAssociation(typing.TypedDict, total=False): attachmentTarget: str displayName: str firewallPolicyId: str @@ -1714,7 +1652,7 @@ class FirewallPolicyAssociation(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class FirewallPolicyList(typing_extensions.TypedDict, total=False): +class FirewallPolicyList(typing.TypedDict, total=False): id: str items: _list[FirewallPolicy] kind: str @@ -1722,10 +1660,10 @@ class FirewallPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FirewallPolicyRule(typing_extensions.TypedDict, total=False): +class FirewallPolicyRule(typing.TypedDict, total=False): action: str description: str - direction: typing_extensions.Literal["EGRESS", "INGRESS"] + direction: typing.Literal["EGRESS", "INGRESS"] disabled: bool enableLogging: bool kind: str @@ -1738,18 +1676,18 @@ class FirewallPolicyRule(typing_extensions.TypedDict, total=False): targetResources: _list[str] targetSecureTags: _list[FirewallPolicyRuleSecureTag] targetServiceAccounts: _list[str] - targetType: typing_extensions.Literal["INSTANCES", "INTERNAL_MANAGED_LB"] + targetType: typing.Literal["INSTANCES", "INTERNAL_MANAGED_LB"] tlsInspect: bool @typing.type_check_only -class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleMatcher(typing.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] - destNetworkContext: typing_extensions.Literal[ + destNetworkContext: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - destNetworkType: typing_extensions.Literal[ + destNetworkType: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] destRegionCodes: _list[str] @@ -1758,10 +1696,10 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcAddressGroups: _list[str] srcFqdns: _list[str] srcIpRanges: _list[str] - srcNetworkContext: typing_extensions.Literal[ + srcNetworkContext: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] - srcNetworkType: typing_extensions.Literal[ + srcNetworkType: typing.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] srcNetworks: _list[str] @@ -1770,34 +1708,32 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcThreatIntelligences: _list[str] @typing.type_check_only -class FirewallPolicyRuleMatcherLayer4Config(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleMatcherLayer4Config(typing.TypedDict, total=False): ipProtocol: str ports: _list[str] @typing.type_check_only -class FirewallPolicyRuleSecureTag(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleSecureTag(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal["EFFECTIVE", "INEFFECTIVE"] + state: typing.Literal["EFFECTIVE", "INEFFECTIVE"] @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): calculated: int fixed: int percent: int @typing.type_check_only -class FlexibleTimeRange(typing_extensions.TypedDict, total=False): +class FlexibleTimeRange(typing.TypedDict, total=False): maxDuration: str minDuration: str startTimeNotEarlierThan: str startTimeNotLaterThan: str @typing.type_check_only -class ForwardingRule(typing_extensions.TypedDict, total=False): +class ForwardingRule(typing.TypedDict, total=False): IPAddress: str - IPProtocol: typing_extensions.Literal[ - "AH", "ESP", "ICMP", "L3_DEFAULT", "SCTP", "TCP", "UDP" - ] + IPProtocol: typing.Literal["AH", "ESP", "ICMP", "L3_DEFAULT", "SCTP", "TCP", "UDP"] allPorts: bool allowGlobalAccess: bool allowPscGlobalAccess: bool @@ -1806,19 +1742,19 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): baseForwardingRule: str creationTimestamp: str description: str - externalManagedBackendBucketMigrationState: typing_extensions.Literal[ + externalManagedBackendBucketMigrationState: typing.Literal[ "PREPARE", "TEST_ALL_TRAFFIC", "TEST_BY_PERCENTAGE" ] externalManagedBackendBucketMigrationTestingPercentage: float fingerprint: str id: str ipCollection: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] + ipVersion: typing.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] isMirroringCollector: bool kind: str labelFingerprint: str labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL", @@ -1829,14 +1765,14 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): metadataFilters: _list[MetadataFilter] name: str network: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] noAutomateDnsZone: bool portRange: str ports: _list[str] pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -1855,7 +1791,7 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): target: str @typing.type_check_only -class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): +class ForwardingRuleAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -1865,11 +1801,11 @@ class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ForwardingRuleAttachedExtension(typing_extensions.TypedDict, total=False): +class ForwardingRuleAttachedExtension(typing.TypedDict, total=False): reference: str @typing.type_check_only -class ForwardingRuleList(typing_extensions.TypedDict, total=False): +class ForwardingRuleList(typing.TypedDict, total=False): id: str items: _list[ForwardingRule] kind: str @@ -1878,34 +1814,32 @@ class ForwardingRuleList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ForwardingRuleReference(typing_extensions.TypedDict, total=False): +class ForwardingRuleReference(typing.TypedDict, total=False): forwardingRule: str @typing.type_check_only -class ForwardingRuleServiceDirectoryRegistration( - typing_extensions.TypedDict, total=False -): +class ForwardingRuleServiceDirectoryRegistration(typing.TypedDict, total=False): namespace: str service: str serviceDirectoryRegion: str @typing.type_check_only -class ForwardingRulesScopedList(typing_extensions.TypedDict, total=False): +class ForwardingRulesScopedList(typing.TypedDict, total=False): forwardingRules: _list[ForwardingRule] warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservation(typing_extensions.TypedDict, total=False): +class FutureReservation(typing.TypedDict, total=False): aggregateReservation: AllocationAggregateReservation autoCreatedReservationsDeleteTime: str autoCreatedReservationsDuration: Duration autoDeleteAutoCreatedReservations: bool commitmentInfo: FutureReservationCommitmentInfo - confidentialComputeType: typing_extensions.Literal[ + confidentialComputeType: typing.Literal[ "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" ] creationTimestamp: str - deploymentType: typing_extensions.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] description: str enableEmergentMaintenance: bool id: str @@ -1913,14 +1847,14 @@ class FutureReservation(typing_extensions.TypedDict, total=False): name: str namePrefix: str params: FutureReservationParams - planningStatus: typing_extensions.Literal[ - "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" - ] - reservationMode: typing_extensions.Literal[ + planningStatus: typing.Literal["DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED"] + reservationMode: typing.Literal[ "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" ] reservationName: str - schedulingType: typing_extensions.Literal[ + resourceMetadata: ResourceMetadata + resourceName: str + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] selfLink: str @@ -1929,43 +1863,43 @@ class FutureReservation(typing_extensions.TypedDict, total=False): specificReservationRequired: bool specificSkuProperties: FutureReservationSpecificSKUProperties status: FutureReservationStatus + storagePoolProperties: FutureReservationStoragePoolProperties timeWindow: FutureReservationTimeWindow zone: str @typing.type_check_only -class FutureReservationCommitmentInfo(typing_extensions.TypedDict, total=False): +class FutureReservationCommitmentInfo(typing.TypedDict, total=False): commitmentName: str - commitmentPlan: typing_extensions.Literal[ - "INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH" - ] - previousCommitmentTerms: typing_extensions.Literal[ + commitmentPlan: typing.Literal["INVALID", "THIRTY_SIX_MONTH", "TWELVE_MONTH"] + previousCommitmentTerms: typing.Literal[ "EXTEND", "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" ] @typing.type_check_only -class FutureReservationParams(typing_extensions.TypedDict, total=False): +class FutureReservationParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class FutureReservationSpecificSKUProperties(typing_extensions.TypedDict, total=False): +class FutureReservationSpecificSKUProperties(typing.TypedDict, total=False): instanceProperties: AllocationSpecificSKUAllocationReservedInstanceProperties sourceInstanceTemplate: str totalCount: str @typing.type_check_only -class FutureReservationStatus(typing_extensions.TypedDict, total=False): - amendmentStatus: typing_extensions.Literal[ +class FutureReservationStatus(typing.TypedDict, total=False): + amendmentStatus: typing.Literal[ "AMENDMENT_APPROVED", "AMENDMENT_DECLINED", "AMENDMENT_IN_REVIEW", "AMENDMENT_STATUS_UNSPECIFIED", ] autoCreatedReservations: _list[str] + exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo fulfilledCount: str lastKnownGoodState: FutureReservationStatusLastKnownGoodState lockTime: str - procurementStatus: typing_extensions.Literal[ + procurementStatus: typing.Literal[ "APPROVED", "CANCELLED", "COMMITTED", @@ -1981,18 +1915,15 @@ class FutureReservationStatus(typing_extensions.TypedDict, total=False): "PROVISIONING", ] specificSkuProperties: FutureReservationStatusSpecificSKUProperties + storagePoolProvisionedCapacity: FutureReservationStoragePoolProvisionedCapacity @typing.type_check_only -class FutureReservationStatusExistingMatchingUsageInfo( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusExistingMatchingUsageInfo(typing.TypedDict, total=False): count: str timestamp: str @typing.type_check_only -class FutureReservationStatusLastKnownGoodState( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusLastKnownGoodState(typing.TypedDict, total=False): description: str existingMatchingUsageInfo: FutureReservationStatusExistingMatchingUsageInfo futureReservationSpecs: ( @@ -2000,7 +1931,7 @@ class FutureReservationStatusLastKnownGoodState( ) lockTime: str namePrefix: str - procurementStatus: typing_extensions.Literal[ + procurementStatus: typing.Literal[ "APPROVED", "CANCELLED", "COMMITTED", @@ -2018,28 +1949,38 @@ class FutureReservationStatusLastKnownGoodState( @typing.type_check_only class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shareSettings: ShareSettings specificSkuProperties: FutureReservationSpecificSKUProperties timeWindow: FutureReservationTimeWindow @typing.type_check_only -class FutureReservationStatusSpecificSKUProperties( - typing_extensions.TypedDict, total=False -): +class FutureReservationStatusSpecificSKUProperties(typing.TypedDict, total=False): sourceInstanceTemplateId: str @typing.type_check_only -class FutureReservationTimeWindow(typing_extensions.TypedDict, total=False): +class FutureReservationStoragePoolProperties(typing.TypedDict, total=False): + requestedExapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb + requestedStoragePoolProvisionedCapacity: ( + FutureReservationStoragePoolProvisionedCapacity + ) + storagePoolType: str + +@typing.type_check_only +class FutureReservationStoragePoolProvisionedCapacity(typing.TypedDict, total=False): + poolProvisionedCapacityGb: str + poolProvisionedIops: str + poolProvisionedThroughput: str + +@typing.type_check_only +class FutureReservationTimeWindow(typing.TypedDict, total=False): duration: Duration endTime: str startTime: str @typing.type_check_only -class FutureReservationsAggregatedListResponse( - typing_extensions.TypedDict, total=False -): +class FutureReservationsAggregatedListResponse(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -2050,7 +1991,7 @@ class FutureReservationsAggregatedListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservationsListResponse(typing_extensions.TypedDict, total=False): +class FutureReservationsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[FutureReservation] @@ -2061,27 +2002,25 @@ class FutureReservationsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class FutureReservationsScopedList(typing_extensions.TypedDict, total=False): +class FutureReservationsScopedList(typing.TypedDict, total=False): futureReservations: _list[FutureReservation] warning: dict[str, typing.Any] @typing.type_check_only -class FutureResourcesRecommendation(typing_extensions.TypedDict, total=False): +class FutureResourcesRecommendation(typing.TypedDict, total=False): endTime: str location: str otherLocations: dict[str, typing.Any] recommendationId: str - recommendationType: typing_extensions.Literal[ + recommendationType: typing.Literal[ "FUTURE_RESERVATION", "RECOMMENDATION_TYPE_UNSPECIFIED" ] startTime: str @typing.type_check_only -class FutureResourcesRecommendationOtherLocation( - typing_extensions.TypedDict, total=False -): +class FutureResourcesRecommendationOtherLocation(typing.TypedDict, total=False): details: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CONDITIONS_NOT_MET", "NOT_SUPPORTED", "NO_CAPACITY", @@ -2090,16 +2029,16 @@ class FutureResourcesRecommendationOtherLocation( ] @typing.type_check_only -class FutureResourcesSpec(typing_extensions.TypedDict, total=False): - deploymentType: typing_extensions.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] +class FutureResourcesSpec(typing.TypedDict, total=False): + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] locationPolicy: FutureResourcesSpecLocationPolicy targetResources: FutureResourcesSpecTargetResources timeRangeSpec: FlexibleTimeRange @typing.type_check_only -class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecAggregateResources(typing.TypedDict, total=False): acceleratorCount: str - vmFamily: typing_extensions.Literal[ + vmFamily: typing.Literal[ "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", @@ -2109,96 +2048,90 @@ class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=F "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] - workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + workloadType: typing.Literal["BATCH", "SERVING", "UNSPECIFIED"] @typing.type_check_only -class FutureResourcesSpecLocalSsdPartition(typing_extensions.TypedDict, total=False): - diskInterface: typing_extensions.Literal["NVME", "SCSI"] +class FutureResourcesSpecLocalSsdPartition(typing.TypedDict, total=False): + diskInterface: typing.Literal["NVME", "SCSI"] diskSizeGb: str @typing.type_check_only -class FutureResourcesSpecLocationPolicy(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecLocationPolicy(typing.TypedDict, total=False): locations: dict[str, typing.Any] @typing.type_check_only -class FutureResourcesSpecLocationPolicyLocation( - typing_extensions.TypedDict, total=False -): - preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] +class FutureResourcesSpecLocationPolicyLocation(typing.TypedDict, total=False): + preference: typing.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] @typing.type_check_only -class FutureResourcesSpecSpecificSKUResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecSpecificSKUResources(typing.TypedDict, total=False): instanceCount: str localSsdPartitions: _list[FutureResourcesSpecLocalSsdPartition] machineType: str @typing.type_check_only -class FutureResourcesSpecTargetResources(typing_extensions.TypedDict, total=False): +class FutureResourcesSpecTargetResources(typing.TypedDict, total=False): aggregateResources: FutureResourcesSpecAggregateResources specificSkuResources: FutureResourcesSpecSpecificSKUResources @typing.type_check_only -class GRPCHealthCheck(typing_extensions.TypedDict, total=False): +class GRPCHealthCheck(typing.TypedDict, total=False): grpcServiceName: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] @typing.type_check_only -class GRPCTLSHealthCheck(typing_extensions.TypedDict, total=False): +class GRPCTLSHealthCheck(typing.TypedDict, total=False): grpcServiceName: str port: int - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] @typing.type_check_only -class GetVersionOperationMetadata(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadata(typing.TypedDict, total=False): inlineSbomInfo: GetVersionOperationMetadataSbomInfo @typing.type_check_only -class GetVersionOperationMetadataSbomInfo(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadataSbomInfo(typing.TypedDict, total=False): currentComponentVersions: dict[str, typing.Any] targetComponentVersions: dict[str, typing.Any] @typing.type_check_only -class GlobalAddressesMoveRequest(typing_extensions.TypedDict, total=False): +class GlobalAddressesMoveRequest(typing.TypedDict, total=False): description: str destinationAddress: str @typing.type_check_only -class GlobalNetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class GlobalNetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class GlobalNetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class GlobalNetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class GlobalOrganizationSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalOrganizationSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class GlobalSetLabelsRequest(typing_extensions.TypedDict, total=False): +class GlobalSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str extensionPolicies: dict[str, typing.Any] @@ -2208,7 +2141,7 @@ class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): name: str priority: int rolloutOperation: GlobalVmExtensionPolicyRolloutOperation - scopedResourceStatus: typing_extensions.Literal[ + scopedResourceStatus: typing.Literal[ "SCOPED_RESOURCE_STATUS_DELETING", "SCOPED_RESOURCE_STATUS_UNSPECIFIED" ] selfLink: str @@ -2216,20 +2149,20 @@ class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): updateTimestamp: str @typing.type_check_only -class GlobalVmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyExtensionPolicy(typing.TypedDict, total=False): pinnedVersion: str stringConfig: str @typing.type_check_only -class GlobalVmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyInstanceSelector(typing.TypedDict, total=False): labelSelector: GlobalVmExtensionPolicyLabelSelector @typing.type_check_only -class GlobalVmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyLabelSelector(typing.TypedDict, total=False): inclusionLabels: dict[str, typing.Any] @typing.type_check_only -class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[GlobalVmExtensionPolicy] @@ -2240,24 +2173,24 @@ class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class GlobalVmExtensionPolicyRolloutOperation(typing_extensions.TypedDict, total=False): +class GlobalVmExtensionPolicyRolloutOperation(typing.TypedDict, total=False): rolloutInput: GlobalVmExtensionPolicyRolloutOperationRolloutInput rolloutStatus: GlobalVmExtensionPolicyRolloutOperationRolloutStatus @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictBehavior: str name: str - predefinedRolloutPlan: typing_extensions.Literal[ + predefinedRolloutPlan: typing.Literal[ "FAST_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", "SLOW_ROLLOUT" ] retryUuid: str @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentRollouts: _list[ GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata @@ -2266,12 +2199,12 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationRolloutStatus: dict[str, typing.Any] rollout: str rolloutPlan: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_CANCELLED", "STATE_COMPLETED", "STATE_FAILED", @@ -2283,9 +2216,9 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( @typing.type_check_only class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ + state: typing.Literal[ "LOCATION_ROLLOUT_STATE_COMPLETED", "LOCATION_ROLLOUT_STATE_FAILED", "LOCATION_ROLLOUT_STATE_NOT_STARTED", @@ -2294,12 +2227,12 @@ class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocatio ] @typing.type_check_only -class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): +class GroupMaintenanceInfo(typing.TypedDict, total=False): instanceMaintenanceOngoingCount: int instanceMaintenancePendingCount: int maintenanceOngoingCount: int maintenancePendingCount: int - schedulingType: typing_extensions.Literal[ + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] subblockInfraMaintenanceOngoingCount: int @@ -2307,7 +2240,7 @@ class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): upcomingGroupMaintenance: UpcomingMaintenance @typing.type_check_only -class GuestAttributes(typing_extensions.TypedDict, total=False): +class GuestAttributes(typing.TypedDict, total=False): kind: str queryPath: str queryValue: GuestAttributesValue @@ -2316,18 +2249,18 @@ class GuestAttributes(typing_extensions.TypedDict, total=False): variableValue: str @typing.type_check_only -class GuestAttributesEntry(typing_extensions.TypedDict, total=False): +class GuestAttributesEntry(typing.TypedDict, total=False): key: str namespace: str value: str @typing.type_check_only -class GuestAttributesValue(typing_extensions.TypedDict, total=False): +class GuestAttributesValue(typing.TypedDict, total=False): items: _list[GuestAttributesEntry] @typing.type_check_only -class GuestOsFeature(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class GuestOsFeature(typing.TypedDict, total=False): + type: typing.Literal[ "BARE_METAL_LINUX_COMPATIBLE", "CCA_CAPABLE", "FEATURE_TYPE_UNSPECIFIED", @@ -2347,48 +2280,48 @@ class GuestOsFeature(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HTTP2HealthCheck(typing_extensions.TypedDict, total=False): +class HTTP2HealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str @typing.type_check_only -class HTTPHealthCheck(typing_extensions.TypedDict, total=False): +class HTTPHealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str @typing.type_check_only -class HTTPSHealthCheck(typing_extensions.TypedDict, total=False): +class HTTPSHealthCheck(typing.TypedDict, total=False): host: str port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] requestPath: str response: str @typing.type_check_only -class HealthAggregationPoliciesScopedList(typing_extensions.TypedDict, total=False): +class HealthAggregationPoliciesScopedList(typing.TypedDict, total=False): healthAggregationPolicies: _list[HealthAggregationPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -2397,15 +2330,13 @@ class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): kind: str minHealthyThreshold: int name: str - policyType: typing_extensions.Literal[ - "BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY" - ] + policyType: typing.Literal["BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY"] region: str selfLink: str selfLinkWithId: str @typing.type_check_only -class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2415,7 +2346,7 @@ class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=F warning: dict[str, typing.Any] @typing.type_check_only -class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): +class HealthAggregationPolicyList(typing.TypedDict, total=False): id: str items: _list[HealthAggregationPolicy] kind: str @@ -2424,7 +2355,7 @@ class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -2444,13 +2375,13 @@ class HealthCheck(typing_extensions.TypedDict, total=False): sslHealthCheck: SSLHealthCheck tcpHealthCheck: TCPHealthCheck timeoutSec: int - type: typing_extensions.Literal[ + type: typing.Literal[ "GRPC", "GRPC_WITH_TLS", "HTTP", "HTTP2", "HTTPS", "INVALID", "SSL", "TCP" ] unhealthyThreshold: int @typing.type_check_only -class HealthCheckList(typing_extensions.TypedDict, total=False): +class HealthCheckList(typing.TypedDict, total=False): id: str items: _list[HealthCheck] kind: str @@ -2459,20 +2390,20 @@ class HealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckLogConfig(typing_extensions.TypedDict, total=False): +class HealthCheckLogConfig(typing.TypedDict, total=False): enable: bool @typing.type_check_only -class HealthCheckReference(typing_extensions.TypedDict, total=False): +class HealthCheckReference(typing.TypedDict, total=False): healthCheck: str @typing.type_check_only -class HealthCheckService(typing_extensions.TypedDict, total=False): +class HealthCheckService(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str healthChecks: _list[str] - healthStatusAggregationPolicy: typing_extensions.Literal["AND", "NO_AGGREGATION"] + healthStatusAggregationPolicy: typing.Literal["AND", "NO_AGGREGATION"] id: str kind: str name: str @@ -2482,7 +2413,7 @@ class HealthCheckService(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class HealthCheckServiceAggregatedList(typing_extensions.TypedDict, total=False): +class HealthCheckServiceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2492,11 +2423,11 @@ class HealthCheckServiceAggregatedList(typing_extensions.TypedDict, total=False) warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckServiceReference(typing_extensions.TypedDict, total=False): +class HealthCheckServiceReference(typing.TypedDict, total=False): healthCheckService: str @typing.type_check_only -class HealthCheckServicesList(typing_extensions.TypedDict, total=False): +class HealthCheckServicesList(typing.TypedDict, total=False): id: str items: _list[HealthCheckService] kind: str @@ -2505,12 +2436,12 @@ class HealthCheckServicesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthCheckServicesScopedList(typing_extensions.TypedDict, total=False): +class HealthCheckServicesScopedList(typing.TypedDict, total=False): resources: _list[HealthCheckService] warning: dict[str, typing.Any] @typing.type_check_only -class HealthChecksAggregatedList(typing_extensions.TypedDict, total=False): +class HealthChecksAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2520,12 +2451,12 @@ class HealthChecksAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthChecksScopedList(typing_extensions.TypedDict, total=False): +class HealthChecksScopedList(typing.TypedDict, total=False): healthChecks: _list[HealthCheck] warning: dict[str, typing.Any] @typing.type_check_only -class HealthSource(typing_extensions.TypedDict, total=False): +class HealthSource(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -2536,11 +2467,11 @@ class HealthSource(typing_extensions.TypedDict, total=False): region: str selfLink: str selfLinkWithId: str - sourceType: typing_extensions.Literal["BACKEND_SERVICE"] + sourceType: typing.Literal["BACKEND_SERVICE"] sources: _list[str] @typing.type_check_only -class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): +class HealthSourceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2550,13 +2481,13 @@ class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthSourceHealth(typing_extensions.TypedDict, total=False): - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] +class HealthSourceHealth(typing.TypedDict, total=False): + healthState: typing.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] kind: str sources: _list[HealthSourcesGetHealthResponseSourceInfo] @typing.type_check_only -class HealthSourceList(typing_extensions.TypedDict, total=False): +class HealthSourceList(typing.TypedDict, total=False): id: str items: _list[HealthSource] kind: str @@ -2565,94 +2496,137 @@ class HealthSourceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HealthSourcesGetHealthResponseSourceInfo( - typing_extensions.TypedDict, total=False -): +class HealthSourcesGetHealthResponseSourceInfo(typing.TypedDict, total=False): backends: _list[HealthSourcesGetHealthResponseSourceInfoBackendInfo] forwardingRule: str source: str @typing.type_check_only class HealthSourcesGetHealthResponseSourceInfoBackendInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointCount: int group: str healthyEndpointCount: int @typing.type_check_only -class HealthSourcesScopedList(typing_extensions.TypedDict, total=False): +class HealthSourcesScopedList(typing.TypedDict, total=False): healthSources: _list[HealthSource] warning: dict[str, typing.Any] @typing.type_check_only -class HealthStatus(typing_extensions.TypedDict, total=False): +class HealthStatus(typing.TypedDict, total=False): annotations: dict[str, typing.Any] forwardingRule: str forwardingRuleIp: str - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY"] + healthState: typing.Literal["HEALTHY", "UNHEALTHY"] instance: str ipAddress: str ipv6Address: str - ipv6HealthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY"] + ipv6HealthState: typing.Literal["HEALTHY", "UNHEALTHY"] port: int weight: str - weightError: typing_extensions.Literal[ + weightError: typing.Literal[ "INVALID_WEIGHT", "MISSING_WEIGHT", "UNAVAILABLE_WEIGHT", "WEIGHT_NONE" ] @typing.type_check_only -class HealthStatusForNetworkEndpoint(typing_extensions.TypedDict, total=False): +class HealthStatusForNetworkEndpoint(typing.TypedDict, total=False): backendService: BackendServiceReference forwardingRule: ForwardingRuleReference healthCheck: HealthCheckReference healthCheckService: HealthCheckServiceReference - healthState: typing_extensions.Literal[ - "DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN" - ] - ipv6HealthState: typing_extensions.Literal[ - "DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN" - ] + healthState: typing.Literal["DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN"] + ipv6HealthState: typing.Literal["DRAINING", "HEALTHY", "UNHEALTHY", "UNKNOWN"] @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[HelpLink] @typing.type_check_only -class HelpLink(typing_extensions.TypedDict, total=False): +class HelpLink(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class HostRule(typing_extensions.TypedDict, total=False): +class Host(typing.TypedDict, total=False): + aliasLinks: _list[str] + creationTimestamp: str + description: str + id: str + kind: str + name: str + selfLink: str + selfLinkWithId: str + state: typing.Literal[ + "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" + ] + status: HostStatus + zone: str + +@typing.type_check_only +class HostPhysicalTopology(typing.TypedDict, total=False): + block: str + cluster: str + host: str + subBlock: str + +@typing.type_check_only +class HostRule(typing.TypedDict, total=False): description: str hosts: _list[str] pathMatcher: str @typing.type_check_only -class HttpFaultAbort(typing_extensions.TypedDict, total=False): +class HostStatus(typing.TypedDict, total=False): + physicalTopology: HostPhysicalTopology + runningInstances: _list[str] + +@typing.type_check_only +class HostsGetVersionRequest(typing.TypedDict, total=False): + sbomSelections: _list[ + typing.Literal[ + "SBOM_SELECTION_CURRENT", + "SBOM_SELECTION_TARGET", + "SBOM_SELECTION_UNSPECIFIED", + ] + ] + +@typing.type_check_only +class HostsListResponse(typing.TypedDict, total=False): + etag: str + id: str + items: _list[Host] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class HttpFaultAbort(typing.TypedDict, total=False): httpStatus: int percentage: float @typing.type_check_only -class HttpFaultDelay(typing_extensions.TypedDict, total=False): +class HttpFaultDelay(typing.TypedDict, total=False): fixedDelay: Duration percentage: float @typing.type_check_only -class HttpFaultInjection(typing_extensions.TypedDict, total=False): +class HttpFaultInjection(typing.TypedDict, total=False): abort: HttpFaultAbort delay: HttpFaultDelay @typing.type_check_only -class HttpHeaderAction(typing_extensions.TypedDict, total=False): +class HttpHeaderAction(typing.TypedDict, total=False): requestHeadersToAdd: _list[HttpHeaderOption] requestHeadersToRemove: _list[str] responseHeadersToAdd: _list[HttpHeaderOption] responseHeadersToRemove: _list[str] @typing.type_check_only -class HttpHeaderMatch(typing_extensions.TypedDict, total=False): +class HttpHeaderMatch(typing.TypedDict, total=False): exactMatch: str headerName: str invertMatch: bool @@ -2663,13 +2637,13 @@ class HttpHeaderMatch(typing_extensions.TypedDict, total=False): suffixMatch: str @typing.type_check_only -class HttpHeaderOption(typing_extensions.TypedDict, total=False): +class HttpHeaderOption(typing.TypedDict, total=False): headerName: str headerValue: str replace: bool @typing.type_check_only -class HttpHealthCheck(typing_extensions.TypedDict, total=False): +class HttpHealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -2685,7 +2659,7 @@ class HttpHealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class HttpHealthCheckList(typing_extensions.TypedDict, total=False): +class HttpHealthCheckList(typing.TypedDict, total=False): id: str items: _list[HttpHealthCheck] kind: str @@ -2694,19 +2668,19 @@ class HttpHealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class HttpQueryParameterMatch(typing_extensions.TypedDict, total=False): +class HttpQueryParameterMatch(typing.TypedDict, total=False): exactMatch: str name: str presentMatch: bool regexMatch: str @typing.type_check_only -class HttpRedirectAction(typing_extensions.TypedDict, total=False): +class HttpRedirectAction(typing.TypedDict, total=False): hostRedirect: str httpsRedirect: bool pathRedirect: str prefixRedirect: str - redirectResponseCode: typing_extensions.Literal[ + redirectResponseCode: typing.Literal[ "FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", @@ -2716,13 +2690,13 @@ class HttpRedirectAction(typing_extensions.TypedDict, total=False): stripQuery: bool @typing.type_check_only -class HttpRetryPolicy(typing_extensions.TypedDict, total=False): +class HttpRetryPolicy(typing.TypedDict, total=False): numRetries: int perTryTimeout: Duration retryConditions: _list[str] @typing.type_check_only -class HttpRouteAction(typing_extensions.TypedDict, total=False): +class HttpRouteAction(typing.TypedDict, total=False): cachePolicy: CachePolicy corsPolicy: CorsPolicy faultInjectionPolicy: HttpFaultInjection @@ -2734,7 +2708,7 @@ class HttpRouteAction(typing_extensions.TypedDict, total=False): weightedBackendServices: _list[WeightedBackendService] @typing.type_check_only -class HttpRouteRule(typing_extensions.TypedDict, total=False): +class HttpRouteRule(typing.TypedDict, total=False): customErrorResponsePolicy: CustomErrorResponsePolicy description: str headerAction: HttpHeaderAction @@ -2745,7 +2719,7 @@ class HttpRouteRule(typing_extensions.TypedDict, total=False): urlRedirect: HttpRedirectAction @typing.type_check_only -class HttpRouteRuleMatch(typing_extensions.TypedDict, total=False): +class HttpRouteRuleMatch(typing.TypedDict, total=False): fullPathMatch: str headerMatches: _list[HttpHeaderMatch] ignoreCase: bool @@ -2756,7 +2730,7 @@ class HttpRouteRuleMatch(typing_extensions.TypedDict, total=False): regexMatch: str @typing.type_check_only -class HttpsHealthCheck(typing_extensions.TypedDict, total=False): +class HttpsHealthCheck(typing.TypedDict, total=False): checkIntervalSec: int creationTimestamp: str description: str @@ -2772,7 +2746,7 @@ class HttpsHealthCheck(typing_extensions.TypedDict, total=False): unhealthyThreshold: int @typing.type_check_only -class HttpsHealthCheckList(typing_extensions.TypedDict, total=False): +class HttpsHealthCheckList(typing.TypedDict, total=False): id: str items: _list[HttpsHealthCheck] kind: str @@ -2781,10 +2755,8 @@ class HttpsHealthCheckList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Image(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] archiveSizeBytes: str creationTimestamp: str deprecated: DeprecationStatus @@ -2816,16 +2788,16 @@ class Image(typing_extensions.TypedDict, total=False): sourceSnapshot: str sourceSnapshotEncryptionKey: CustomerEncryptionKey sourceSnapshotId: str - sourceType: typing_extensions.Literal["RAW"] - status: typing_extensions.Literal["DELETING", "FAILED", "PENDING", "READY"] + sourceType: typing.Literal["RAW"] + status: typing.Literal["DELETING", "FAILED", "PENDING", "READY"] storageLocations: _list[str] @typing.type_check_only -class ImageFamilyView(typing_extensions.TypedDict, total=False): +class ImageFamilyView(typing.TypedDict, total=False): image: Image @typing.type_check_only -class ImageList(typing_extensions.TypedDict, total=False): +class ImageList(typing.TypedDict, total=False): id: str items: _list[Image] kind: str @@ -2834,18 +2806,18 @@ class ImageList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ImageParams(typing_extensions.TypedDict, total=False): +class ImageParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InitialStateConfig(typing_extensions.TypedDict, total=False): +class InitialStateConfig(typing.TypedDict, total=False): dbs: _list[FileContentBuffer] dbxs: _list[FileContentBuffer] keks: _list[FileContentBuffer] pk: FileContentBuffer @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): advancedMachineFeatures: AdvancedMachineFeatures canIpForward: bool confidentialInstanceConfig: ConfidentialInstanceConfig @@ -2860,7 +2832,7 @@ class Instance(typing_extensions.TypedDict, total=False): hostname: str id: str instanceEncryptionKey: CustomerEncryptionKey - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] kind: str @@ -2869,6 +2841,11 @@ class Instance(typing_extensions.TypedDict, total=False): lastStartTimestamp: str lastStopTimestamp: str lastSuspendedTimestamp: str + localSsdEncryptionMode: typing.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str @@ -2876,7 +2853,7 @@ class Instance(typing_extensions.TypedDict, total=False): networkInterfaces: _list[NetworkInterface] networkPerformanceConfig: NetworkPerformanceConfig params: InstanceParams - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", "INHERIT_FROM_SUBNETWORK", @@ -2894,9 +2871,10 @@ class Instance(typing_extensions.TypedDict, total=False): sourceMachineImage: str sourceMachineImageEncryptionKey: CustomerEncryptionKey startRestricted: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "DEPROVISIONING", "PENDING", + "PENDING_STOP", "PROVISIONING", "REPAIRING", "RUNNING", @@ -2913,7 +2891,7 @@ class Instance(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2923,31 +2901,30 @@ class InstanceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceConsumptionData(typing_extensions.TypedDict, total=False): +class InstanceConsumptionData(typing.TypedDict, total=False): consumptionInfo: InstanceConsumptionInfo instance: str @typing.type_check_only -class InstanceConsumptionInfo(typing_extensions.TypedDict, total=False): +class InstanceConsumptionInfo(typing.TypedDict, total=False): guestCpus: int localSsdGb: int memoryMb: int minNodeCpus: int @typing.type_check_only -class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): +class InstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelections: dict[str, typing.Any] @typing.type_check_only -class InstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False -): +class InstanceFlexibilityPolicyInstanceSelection(typing.TypedDict, total=False): disks: _list[AttachedDisk] machineTypes: _list[str] + minCpuPlatform: str rank: str @typing.type_check_only -class InstanceGroup(typing_extensions.TypedDict, total=False): +class InstanceGroup(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -2963,7 +2940,7 @@ class InstanceGroup(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceGroupAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -2973,7 +2950,7 @@ class InstanceGroupAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupList(typing_extensions.TypedDict, total=False): +class InstanceGroupList(typing.TypedDict, total=False): id: str items: _list[InstanceGroup] kind: str @@ -2982,7 +2959,7 @@ class InstanceGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManager(typing_extensions.TypedDict, total=False): +class InstanceGroupManager(typing.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerAllInstancesConfig autoHealingPolicies: _list[InstanceGroupManagerAutoHealingPolicy] baseInstanceName: str @@ -2997,7 +2974,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): instanceLifecyclePolicy: InstanceGroupManagerInstanceLifecyclePolicy instanceTemplate: str kind: str - listManagedInstancesResults: typing_extensions.Literal["PAGELESS", "PAGINATED"] + listManagedInstancesResults: typing.Literal["PAGELESS", "PAGINATED"] name: str namedPorts: _list[NamedPort] region: str @@ -3018,7 +2995,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerActionsSummary(typing.TypedDict, total=False): abandoning: int creating: int creatingWithoutRetries: int @@ -3034,7 +3011,7 @@ class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=Fals verifying: int @typing.type_check_only -class InstanceGroupManagerAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3044,46 +3021,40 @@ class InstanceGroupManagerAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerAllInstancesConfig(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAllInstancesConfig(typing.TypedDict, total=False): properties: InstancePropertiesPatch @typing.type_check_only -class InstanceGroupManagerAutoHealingPolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerAutoHealingPolicy(typing.TypedDict, total=False): healthCheck: str initialDelaySec: int @typing.type_check_only -class InstanceGroupManagerInstanceFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerInstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceSelections: dict[str, typing.Any] @typing.type_check_only class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): machineTypes: _list[str] rank: int @typing.type_check_only -class InstanceGroupManagerInstanceLifecyclePolicy( - typing_extensions.TypedDict, total=False -): - defaultActionOnFailure: typing_extensions.Literal["DO_NOTHING", "REPAIR"] - forceUpdateOnRepair: typing_extensions.Literal["NO", "YES"] - onFailedHealthCheck: typing_extensions.Literal[ - "DEFAULT_ACTION", "DO_NOTHING", "REPAIR" - ] +class InstanceGroupManagerInstanceLifecyclePolicy(typing.TypedDict, total=False): + defaultActionOnFailure: typing.Literal["DO_NOTHING", "REPAIR"] + forceUpdateOnRepair: typing.Literal["NO", "YES"] + onFailedHealthCheck: typing.Literal["DEFAULT_ACTION", "DO_NOTHING", "REPAIR"] onRepair: InstanceGroupManagerInstanceLifecyclePolicyOnRepair @typing.type_check_only class InstanceGroupManagerInstanceLifecyclePolicyOnRepair( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowChangingZone: typing_extensions.Literal["NO", "YES"] + allowChangingZone: typing.Literal["NO", "YES"] @typing.type_check_only -class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerList(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManager] kind: str @@ -3092,10 +3063,11 @@ class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResizeRequest(typing.TypedDict, total=False): creationTimestamp: str description: str id: str + instances: _list[PerInstanceConfig] kind: str name: str region: str @@ -3103,27 +3075,23 @@ class InstanceGroupManagerResizeRequest(typing_extensions.TypedDict, total=False resizeBy: int selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACCEPTED", "CANCELLED", "CREATING", "FAILED", "STATE_UNSPECIFIED", "SUCCEEDED" ] status: InstanceGroupManagerResizeRequestStatus zone: str @typing.type_check_only -class InstanceGroupManagerResizeRequestStatus(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResizeRequestStatus(typing.TypedDict, total=False): error: dict[str, typing.Any] lastAttempt: InstanceGroupManagerResizeRequestStatusLastAttempt @typing.type_check_only -class InstanceGroupManagerResizeRequestStatusLastAttempt( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerResizeRequestStatusLastAttempt(typing.TypedDict, total=False): error: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResizeRequestsListResponse( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerResizeRequestsListResponse(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManagerResizeRequest] kind: str @@ -3132,16 +3100,16 @@ class InstanceGroupManagerResizeRequestsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagerResourcePolicies(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerResourcePolicies(typing.TypedDict, total=False): workloadPolicy: str @typing.type_check_only -class InstanceGroupManagerStandbyPolicy(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStandbyPolicy(typing.TypedDict, total=False): initialDelaySec: int - mode: typing_extensions.Literal["MANUAL", "SCALE_OUT_POOL"] + mode: typing.Literal["MANUAL", "SCALE_OUT_POOL"] @typing.type_check_only -class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatus(typing.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerStatusAllInstancesConfig appliedAcceleratorTopologies: _list[InstanceGroupManagerStatusAcceleratorTopology] autoscaler: str @@ -3152,11 +3120,9 @@ class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): versionTarget: InstanceGroupManagerStatusVersionTarget @typing.type_check_only -class InstanceGroupManagerStatusAcceleratorTopology( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusAcceleratorTopology(typing.TypedDict, total=False): acceleratorTopology: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVATING", "ACTIVE", "DEACTIVATING", "FAILED", "INCOMPLETE", "REACTIVATING" ] stateDetails: ( @@ -3165,36 +3131,30 @@ class InstanceGroupManagerStatusAcceleratorTopology( @typing.type_check_only class InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class InstanceGroupManagerStatusAllInstancesConfig( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusAllInstancesConfig(typing.TypedDict, total=False): currentRevision: str effective: bool @typing.type_check_only -class InstanceGroupManagerStatusBulkInstanceOperation( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusBulkInstanceOperation(typing.TypedDict, total=False): inProgress: bool lastProgressCheck: InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck @typing.type_check_only class InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: dict[str, typing.Any] timestamp: str @typing.type_check_only -class InstanceGroupManagerStatusInstanceStatusSummary( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagerStatusInstanceStatusSummary(typing.TypedDict, total=False): deprovisioning: int nonExistent: int pending: int @@ -3210,166 +3170,130 @@ class InstanceGroupManagerStatusInstanceStatusSummary( terminated: int @typing.type_check_only -class InstanceGroupManagerStatusStateful(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatusStateful(typing.TypedDict, total=False): hasStatefulConfig: bool perInstanceConfigs: InstanceGroupManagerStatusStatefulPerInstanceConfigs @typing.type_check_only class InstanceGroupManagerStatusStatefulPerInstanceConfigs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allEffective: bool @typing.type_check_only -class InstanceGroupManagerStatusVersionTarget(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerStatusVersionTarget(typing.TypedDict, total=False): isReached: bool @typing.type_check_only -class InstanceGroupManagerTargetSizePolicy(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["BULK", "INDIVIDUAL", "UNSPECIFIED_MODE"] +class InstanceGroupManagerTargetSizePolicy(typing.TypedDict, total=False): + mode: typing.Literal["BULK", "INDIVIDUAL", "UNSPECIFIED_MODE"] @typing.type_check_only -class InstanceGroupManagerUpdatePolicy(typing_extensions.TypedDict, total=False): - instanceRedistributionType: typing_extensions.Literal["NONE", "PROACTIVE"] +class InstanceGroupManagerUpdatePolicy(typing.TypedDict, total=False): + instanceRedistributionType: typing.Literal["NONE", "PROACTIVE"] maxSurge: FixedOrPercent maxUnavailable: FixedOrPercent - minimalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] - mostDisruptiveAllowedAction: typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART" - ] - replacementMethod: typing_extensions.Literal["RECREATE", "SUBSTITUTE"] - type: typing_extensions.Literal["OPPORTUNISTIC", "PROACTIVE"] + minimalAction: typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] + mostDisruptiveAllowedAction: typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] + replacementMethod: typing.Literal["RECREATE", "SUBSTITUTE"] + type: typing.Literal["OPPORTUNISTIC", "PROACTIVE"] @typing.type_check_only -class InstanceGroupManagerVersion(typing_extensions.TypedDict, total=False): +class InstanceGroupManagerVersion(typing.TypedDict, total=False): instanceTemplate: str name: str targetSize: FixedOrPercent @typing.type_check_only -class InstanceGroupManagersAbandonInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersAbandonInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersApplyUpdatesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersApplyUpdatesRequest(typing.TypedDict, total=False): allInstances: bool instances: _list[str] - minimalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] - mostDisruptiveAllowedAction: typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART" - ] + minimalAction: typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] + mostDisruptiveAllowedAction: typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] @typing.type_check_only -class InstanceGroupManagersCreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersCreateInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupManagersDeleteInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersDeleteInstancesRequest(typing.TypedDict, total=False): instances: _list[str] skipInstancesOnValidationError: bool @typing.type_check_only -class InstanceGroupManagersDeletePerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersDeletePerInstanceConfigsReq(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class InstanceGroupManagersListErrorsResponse(typing_extensions.TypedDict, total=False): +class InstanceGroupManagersListErrorsResponse(typing.TypedDict, total=False): items: _list[InstanceManagedByIgmError] nextPageToken: str @typing.type_check_only -class InstanceGroupManagersListManagedInstancesResponse( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersListManagedInstancesResponse(typing.TypedDict, total=False): managedInstances: _list[ManagedInstance] nextPageToken: str @typing.type_check_only -class InstanceGroupManagersListPerInstanceConfigsResp( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersListPerInstanceConfigsResp(typing.TypedDict, total=False): items: _list[PerInstanceConfig] nextPageToken: str warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagersPatchPerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersPatchPerInstanceConfigsReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupManagersRecreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersRecreateInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersResumeInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersResumeInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersScopedList(typing_extensions.TypedDict, total=False): +class InstanceGroupManagersScopedList(typing.TypedDict, total=False): instanceGroupManagers: _list[InstanceGroupManager] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupManagersSetInstanceTemplateRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetInstanceTemplateRequest(typing.TypedDict, total=False): instanceTemplate: str @typing.type_check_only -class InstanceGroupManagersSetTargetPoolsRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSetTargetPoolsRequest(typing.TypedDict, total=False): fingerprint: str targetPools: _list[str] @typing.type_check_only -class InstanceGroupManagersStartInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersStartInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class InstanceGroupManagersStopInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersStopInstancesRequest(typing.TypedDict, total=False): forceStop: bool instances: _list[str] @typing.type_check_only -class InstanceGroupManagersSuspendInstancesRequest( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersSuspendInstancesRequest(typing.TypedDict, total=False): forceSuspend: bool instances: _list[str] @typing.type_check_only -class InstanceGroupManagersUpdatePerInstanceConfigsReq( - typing_extensions.TypedDict, total=False -): +class InstanceGroupManagersUpdatePerInstanceConfigsReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class InstanceGroupsAddInstancesRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsAddInstancesRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class InstanceGroupsListInstances(typing_extensions.TypedDict, total=False): +class InstanceGroupsListInstances(typing.TypedDict, total=False): id: str items: _list[InstanceWithNamedPorts] kind: str @@ -3378,25 +3302,25 @@ class InstanceGroupsListInstances(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupsListInstancesRequest(typing_extensions.TypedDict, total=False): - instanceState: typing_extensions.Literal["ALL", "RUNNING"] +class InstanceGroupsListInstancesRequest(typing.TypedDict, total=False): + instanceState: typing.Literal["ALL", "RUNNING"] @typing.type_check_only -class InstanceGroupsRemoveInstancesRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsRemoveInstancesRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class InstanceGroupsScopedList(typing_extensions.TypedDict, total=False): +class InstanceGroupsScopedList(typing.TypedDict, total=False): instanceGroups: _list[InstanceGroup] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceGroupsSetNamedPortsRequest(typing_extensions.TypedDict, total=False): +class InstanceGroupsSetNamedPortsRequest(typing.TypedDict, total=False): fingerprint: str namedPorts: _list[NamedPort] @typing.type_check_only -class InstanceList(typing_extensions.TypedDict, total=False): +class InstanceList(typing.TypedDict, total=False): id: str items: _list[Instance] kind: str @@ -3405,7 +3329,7 @@ class InstanceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceListReferrers(typing_extensions.TypedDict, total=False): +class InstanceListReferrers(typing.TypedDict, total=False): id: str items: _list[Reference] kind: str @@ -3414,16 +3338,14 @@ class InstanceListReferrers(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceManagedByIgmError(typing_extensions.TypedDict, total=False): +class InstanceManagedByIgmError(typing.TypedDict, total=False): error: InstanceManagedByIgmErrorManagedInstanceError instanceActionDetails: InstanceManagedByIgmErrorInstanceActionDetails timestamp: str @typing.type_check_only -class InstanceManagedByIgmErrorInstanceActionDetails( - typing_extensions.TypedDict, total=False -): - action: typing_extensions.Literal[ +class InstanceManagedByIgmErrorInstanceActionDetails(typing.TypedDict, total=False): + action: typing.Literal[ "ABANDONING", "CREATING", "CREATING_WITHOUT_RETRIES", @@ -3442,40 +3364,43 @@ class InstanceManagedByIgmErrorInstanceActionDetails( version: ManagedInstanceVersion @typing.type_check_only -class InstanceManagedByIgmErrorManagedInstanceError( - typing_extensions.TypedDict, total=False -): +class InstanceManagedByIgmErrorManagedInstanceError(typing.TypedDict, total=False): code: str message: str @typing.type_check_only -class InstanceMoveRequest(typing_extensions.TypedDict, total=False): +class InstanceMoveRequest(typing.TypedDict, total=False): destinationZone: str targetInstance: str @typing.type_check_only -class InstanceParams(typing_extensions.TypedDict, total=False): +class InstanceParams(typing.TypedDict, total=False): requestValidForDuration: Duration resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstanceProperties(typing_extensions.TypedDict, total=False): +class InstanceProperties(typing.TypedDict, total=False): advancedMachineFeatures: AdvancedMachineFeatures canIpForward: bool confidentialInstanceConfig: ConfidentialInstanceConfig description: str disks: _list[AttachedDisk] guestAccelerators: _list[AcceleratorConfig] - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] + localSsdEncryptionMode: typing.Literal[ + "EPHEMERAL_KEY_ENCRYPTION", + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + ] machineType: str metadata: Metadata minCpuPlatform: str networkInterfaces: _list[NetworkInterface] networkPerformanceConfig: NetworkPerformanceConfig - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", "INHERIT_FROM_SUBNETWORK", @@ -3490,28 +3415,28 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): workloadIdentityConfig: WorkloadIdentityConfig @typing.type_check_only -class InstancePropertiesPatch(typing_extensions.TypedDict, total=False): +class InstancePropertiesPatch(typing.TypedDict, total=False): labels: dict[str, typing.Any] metadata: dict[str, typing.Any] @typing.type_check_only -class InstanceReference(typing_extensions.TypedDict, total=False): +class InstanceReference(typing.TypedDict, total=False): instance: str @typing.type_check_only -class InstanceSettings(typing_extensions.TypedDict, total=False): +class InstanceSettings(typing.TypedDict, total=False): fingerprint: str kind: str metadata: InstanceSettingsMetadata zone: str @typing.type_check_only -class InstanceSettingsMetadata(typing_extensions.TypedDict, total=False): +class InstanceSettingsMetadata(typing.TypedDict, total=False): items: dict[str, typing.Any] kind: str @typing.type_check_only -class InstanceTemplate(typing_extensions.TypedDict, total=False): +class InstanceTemplate(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -3524,7 +3449,7 @@ class InstanceTemplate(typing_extensions.TypedDict, total=False): sourceInstanceParams: SourceInstanceParams @typing.type_check_only -class InstanceTemplateAggregatedList(typing_extensions.TypedDict, total=False): +class InstanceTemplateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3533,7 +3458,7 @@ class InstanceTemplateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceTemplateList(typing_extensions.TypedDict, total=False): +class InstanceTemplateList(typing.TypedDict, total=False): id: str items: _list[InstanceTemplate] kind: str @@ -3542,17 +3467,18 @@ class InstanceTemplateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstanceTemplatesScopedList(typing_extensions.TypedDict, total=False): +class InstanceTemplatesScopedList(typing.TypedDict, total=False): instanceTemplates: _list[InstanceTemplate] warning: dict[str, typing.Any] @typing.type_check_only -class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): +class InstanceWithNamedPorts(typing.TypedDict, total=False): instance: str namedPorts: _list[NamedPort] - status: typing_extensions.Literal[ + status: typing.Literal[ "DEPROVISIONING", "PENDING", + "PENDING_STOP", "PROVISIONING", "REPAIRING", "RUNNING", @@ -3565,15 +3491,15 @@ class InstanceWithNamedPorts(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InstancesAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class InstancesAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): +class InstancesBulkInsertOperationMetadata(typing.TypedDict, total=False): perLocationStatus: dict[str, typing.Any] @typing.type_check_only -class InstancesGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): +class InstancesGetEffectiveFirewallsResponse(typing.TypedDict, total=False): firewallPolicys: _list[ InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy ] @@ -3581,7 +3507,7 @@ class InstancesGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total= @typing.type_check_only class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -3589,7 +3515,7 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( priority: int rules: _list[FirewallPolicyRule] shortName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", @@ -3599,21 +3525,19 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( ] @typing.type_check_only -class InstancesRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class InstancesRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class InstancesReportHostAsFaultyRequest(typing_extensions.TypedDict, total=False): - disruptionSchedule: typing_extensions.Literal[ +class InstancesReportHostAsFaultyRequest(typing.TypedDict, total=False): + disruptionSchedule: typing.Literal[ "DISRUPTION_SCHEDULE_UNSPECIFIED", "FUTURE", "IMMEDIATE" ] faultReasons: _list[InstancesReportHostAsFaultyRequestFaultReason] @typing.type_check_only -class InstancesReportHostAsFaultyRequestFaultReason( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal[ +class InstancesReportHostAsFaultyRequestFaultReason(typing.TypedDict, total=False): + behavior: typing.Literal[ "BEHAVIOR_UNSPECIFIED", "CHIP_ERROR", "PERFORMANCE", @@ -3623,51 +3547,49 @@ class InstancesReportHostAsFaultyRequestFaultReason( description: str @typing.type_check_only -class InstancesScopedList(typing_extensions.TypedDict, total=False): +class InstancesScopedList(typing.TypedDict, total=False): instances: _list[Instance] warning: dict[str, typing.Any] @typing.type_check_only -class InstancesSetLabelsRequest(typing_extensions.TypedDict, total=False): +class InstancesSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class InstancesSetMachineResourcesRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMachineResourcesRequest(typing.TypedDict, total=False): guestAccelerators: _list[AcceleratorConfig] @typing.type_check_only -class InstancesSetMachineTypeRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMachineTypeRequest(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class InstancesSetMinCpuPlatformRequest(typing_extensions.TypedDict, total=False): +class InstancesSetMinCpuPlatformRequest(typing.TypedDict, total=False): minCpuPlatform: str @typing.type_check_only -class InstancesSetNameRequest(typing_extensions.TypedDict, total=False): +class InstancesSetNameRequest(typing.TypedDict, total=False): currentName: str name: str @typing.type_check_only -class InstancesSetSecurityPolicyRequest(typing_extensions.TypedDict, total=False): +class InstancesSetSecurityPolicyRequest(typing.TypedDict, total=False): networkInterfaces: _list[str] securityPolicy: str @typing.type_check_only -class InstancesSetServiceAccountRequest(typing_extensions.TypedDict, total=False): +class InstancesSetServiceAccountRequest(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class InstancesStartWithEncryptionKeyRequest(typing_extensions.TypedDict, total=False): +class InstancesStartWithEncryptionKeyRequest(typing.TypedDict, total=False): disks: _list[CustomerEncryptionKeyProtectedDisk] @typing.type_check_only -class InstantSnapshot(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class InstantSnapshot(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] creationTimestamp: str description: str diskSizeGb: str @@ -3687,13 +3609,11 @@ class InstantSnapshot(typing_extensions.TypedDict, total=False): sourceDiskId: str sourceInstantSnapshotGroup: str sourceInstantSnapshotGroupId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "FAILED", "READY", "UNAVAILABLE" - ] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY", "UNAVAILABLE"] zone: str @typing.type_check_only -class InstantSnapshotAggregatedList(typing_extensions.TypedDict, total=False): +class InstantSnapshotAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3703,7 +3623,7 @@ class InstantSnapshotAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroup(typing.TypedDict, total=False): creationTimestamp: str description: str id: str @@ -3714,27 +3634,27 @@ class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str sourceConsistencyGroup: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN" ] zone: str @typing.type_check_only -class InstantSnapshotGroupParameters(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupParameters(typing.TypedDict, total=False): sourceInstantSnapshotGroup: str @typing.type_check_only -class InstantSnapshotGroupResourceStatus(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupResourceStatus(typing.TypedDict, total=False): consistencyMembershipResolutionTime: str sourceInfo: InstantSnapshotGroupSourceInfo @typing.type_check_only -class InstantSnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): +class InstantSnapshotGroupSourceInfo(typing.TypedDict, total=False): consistencyGroup: str consistencyGroupId: str @typing.type_check_only -class InstantSnapshotList(typing_extensions.TypedDict, total=False): +class InstantSnapshotList(typing.TypedDict, total=False): id: str items: _list[InstantSnapshot] kind: str @@ -3743,32 +3663,30 @@ class InstantSnapshotList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotParams(typing_extensions.TypedDict, total=False): +class InstantSnapshotParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InstantSnapshotResourceStatus(typing_extensions.TypedDict, total=False): +class InstantSnapshotResourceStatus(typing.TypedDict, total=False): storageSizeBytes: str @typing.type_check_only -class InstantSnapshotsScopedList(typing_extensions.TypedDict, total=False): +class InstantSnapshotsScopedList(typing.TypedDict, total=False): instantSnapshots: _list[InstantSnapshot] warning: dict[str, typing.Any] @typing.type_check_only -class Int64RangeMatch(typing_extensions.TypedDict, total=False): +class Int64RangeMatch(typing.TypedDict, total=False): rangeEnd: str rangeStart: str @typing.type_check_only -class Interconnect(typing_extensions.TypedDict, total=False): +class Interconnect(typing.TypedDict, total=False): aaiEnabled: bool adminEnabled: bool applicationAwareInterconnect: InterconnectApplicationAwareInterconnect availableFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str @@ -3781,11 +3699,11 @@ class Interconnect(typing_extensions.TypedDict, total=False): id: str interconnectAttachments: _list[str] interconnectGroups: _list[str] - interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + interconnectType: typing.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] kind: str labelFingerprint: str labels: dict[str, typing.Any] - linkType: typing_extensions.Literal[ + linkType: typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", @@ -3795,27 +3713,23 @@ class Interconnect(typing_extensions.TypedDict, total=False): macsecEnabled: bool name: str nocContactEmail: str - operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] + operationalStatus: typing.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] params: InterconnectParams peerIpAddress: str provisionedLinkCount: int remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] requestedLinkCount: int satisfiesPzs: bool selfLink: str - state: typing_extensions.Literal["ACTIVE", "UNPROVISIONED"] - subzone: typing_extensions.Literal["SUBZONE_A", "SUBZONE_B"] + state: typing.Literal["ACTIVE", "UNPROVISIONED"] + subzone: typing.Literal["SUBZONE_A", "SUBZONE_B"] wireGroups: _list[str] @typing.type_check_only -class InterconnectApplicationAwareInterconnect( - typing_extensions.TypedDict, total=False -): +class InterconnectApplicationAwareInterconnect(typing.TypedDict, total=False): bandwidthPercentagePolicy: ( InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy ) @@ -3827,14 +3741,14 @@ class InterconnectApplicationAwareInterconnect( @typing.type_check_only class InterconnectApplicationAwareInterconnectBandwidthPercentage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentage: int - trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] + trafficClass: typing.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] @typing.type_check_only class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bandwidthPercentages: _list[ InterconnectApplicationAwareInterconnectBandwidthPercentage @@ -3842,14 +3756,14 @@ class InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy( @typing.type_check_only class InterconnectApplicationAwareInterconnectStrictPriorityPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class InterconnectAttachment(typing_extensions.TypedDict, total=False): +class InterconnectAttachment(typing.TypedDict, total=False): adminEnabled: bool attachmentGroup: str - bandwidth: typing_extensions.Literal[ + bandwidth: typing.Literal[ "BPS_100G", "BPS_100M", "BPS_10G", @@ -3881,10 +3795,10 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): customerRouterIpv6InterfaceId: str dataplaneVersion: int description: str - edgeAvailabilityDomain: typing_extensions.Literal[ + edgeAvailabilityDomain: typing.Literal[ "AVAILABILITY_DOMAIN_1", "AVAILABILITY_DOMAIN_2", "AVAILABILITY_DOMAIN_ANY" ] - encryption: typing_extensions.Literal["IPSEC", "NONE"] + encryption: typing.Literal["IPSEC", "NONE"] googleReferenceId: str id: str interconnect: str @@ -3895,7 +3809,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] mtu: int name: str - operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] + operationalStatus: typing.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] pairingKey: str params: InterconnectAttachmentParams partnerAsn: str @@ -3906,8 +3820,8 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): router: str satisfiesPzs: bool selfLink: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] - state: typing_extensions.Literal[ + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] + state: typing.Literal[ "ACTIVE", "DEFUNCT", "PARTNER_REQUEST_RECEIVED", @@ -3917,13 +3831,11 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "UNPROVISIONED", ] subnetLength: int - type: typing_extensions.Literal[ - "DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER" - ] + type: typing.Literal["DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER"] vlanTag8021q: int @typing.type_check_only -class InterconnectAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -3933,23 +3845,21 @@ class InterconnectAttachmentAggregatedList(typing_extensions.TypedDict, total=Fa warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentConfigurationConstraints( - typing_extensions.TypedDict, total=False -): - bgpMd5: typing_extensions.Literal["MD5_OPTIONAL", "MD5_REQUIRED", "MD5_UNSUPPORTED"] +class InterconnectAttachmentConfigurationConstraints(typing.TypedDict, total=False): + bgpMd5: typing.Literal["MD5_OPTIONAL", "MD5_REQUIRED", "MD5_UNSUPPORTED"] bgpPeerAsnRanges: _list[ InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange ] @typing.type_check_only class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: int min: int @typing.type_check_only -class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroup(typing.TypedDict, total=False): attachments: dict[str, typing.Any] configured: InterconnectAttachmentGroupConfigured creationTimestamp: str @@ -3964,18 +3874,18 @@ class InterconnectAttachmentGroup(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class InterconnectAttachmentGroupAttachment(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroupAttachment(typing.TypedDict, total=False): attachment: str @typing.type_check_only -class InterconnectAttachmentGroupConfigured(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentGroupConfigured(typing.TypedDict, total=False): availabilitySla: InterconnectAttachmentGroupConfiguredAvailabilitySLA @typing.type_check_only class InterconnectAttachmentGroupConfiguredAvailabilitySLA( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - effectiveSla: typing_extensions.Literal[ + effectiveSla: typing.Literal[ "EFFECTIVE_SLA_UNSPECIFIED", "NO_SLA", "PRODUCTION_CRITICAL", @@ -3987,10 +3897,10 @@ class InterconnectAttachmentGroupConfiguredAvailabilitySLA( @typing.type_check_only class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attachments: _list[str] - blockerType: typing_extensions.Literal[ + blockerType: typing.Literal[ "BLOCKER_TYPE_UNSPECIFIED", "INCOMPATIBLE_METROS", "INCOMPATIBLE_REGIONS", @@ -4006,8 +3916,8 @@ class InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers( zones: _list[str] @typing.type_check_only -class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False): - availabilitySla: typing_extensions.Literal[ +class InterconnectAttachmentGroupIntent(typing.TypedDict, total=False): + availabilitySla: typing.Literal[ "AVAILABILITY_SLA_UNSPECIFIED", "NO_SLA", "PRODUCTION_CRITICAL", @@ -4015,50 +3925,44 @@ class InterconnectAttachmentGroupIntent(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class InterconnectAttachmentGroupLogicalStructure( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupLogicalStructure(typing.TypedDict, total=False): regions: _list[InterconnectAttachmentGroupLogicalStructureRegion] @typing.type_check_only -class InterconnectAttachmentGroupLogicalStructureRegion( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupLogicalStructureRegion(typing.TypedDict, total=False): metros: _list[InterconnectAttachmentGroupLogicalStructureRegionMetro] region: str @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetro( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facilities: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacility] metro: str @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetroFacility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facility: str zones: _list[InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone] @typing.type_check_only class InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attachments: _list[str] zone: str @typing.type_check_only class InterconnectAttachmentGroupsGetOperationalStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str result: InterconnectAttachmentGroupsOperationalStatus @typing.type_check_only -class InterconnectAttachmentGroupsListResponse( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[InterconnectAttachmentGroup] @@ -4069,27 +3973,23 @@ class InterconnectAttachmentGroupsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentGroupsOperationalStatus( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentGroupsOperationalStatus(typing.TypedDict, total=False): attachmentStatuses: _list[ InterconnectAttachmentGroupsOperationalStatusAttachmentStatus ] configured: InterconnectAttachmentGroupConfigured - groupStatus: typing_extensions.Literal[ - "DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED" - ] + groupStatus: typing.Literal["DEGRADED", "FULLY_DOWN", "FULLY_UP", "UNSPECIFIED"] intent: InterconnectAttachmentGroupIntent operational: InterconnectAttachmentGroupConfigured @typing.type_check_only class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adminEnabled: bool attachment: str - isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] - status: typing_extensions.Literal[ + isActive: typing.Literal["ACTIVE", "INACTIVE", "UNSPECIFIED"] + status: typing.Literal[ "ATTACHMENT_STATUS_UNKNOWN", "CONNECTION_DISABLED", "CONNECTION_DOWN", @@ -4108,7 +4008,7 @@ class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( ] @typing.type_check_only -class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentL2Forwarding(typing.TypedDict, total=False): applianceMappings: dict[str, typing.Any] defaultApplianceIpAddress: str geneveHeader: InterconnectAttachmentL2ForwardingGeneveHeader @@ -4116,9 +4016,7 @@ class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=Fals tunnelEndpointIpAddress: str @typing.type_check_only -class InterconnectAttachmentL2ForwardingApplianceMapping( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentL2ForwardingApplianceMapping(typing.TypedDict, total=False): applianceIpAddress: str innerVlanToApplianceMappings: _list[ InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping @@ -4127,19 +4025,17 @@ class InterconnectAttachmentL2ForwardingApplianceMapping( @typing.type_check_only class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): innerApplianceIpAddress: str innerVlanTags: _list[str] @typing.type_check_only -class InterconnectAttachmentL2ForwardingGeneveHeader( - typing_extensions.TypedDict, total=False -): +class InterconnectAttachmentL2ForwardingGeneveHeader(typing.TypedDict, total=False): vni: int @typing.type_check_only -class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentList(typing.TypedDict, total=False): id: str items: _list[InterconnectAttachment] kind: str @@ -4148,80 +4044,80 @@ class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentParams(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InterconnectAttachmentPartnerMetadata(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentPartnerMetadata(typing.TypedDict, total=False): interconnectName: str partnerName: str portalUrl: str @typing.type_check_only -class InterconnectAttachmentPrivateInfo(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentPrivateInfo(typing.TypedDict, total=False): tag8021q: int @typing.type_check_only -class InterconnectAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentsScopedList(typing.TypedDict, total=False): interconnectAttachments: _list[InterconnectAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectCircuitInfo(typing_extensions.TypedDict, total=False): +class InterconnectCircuitInfo(typing.TypedDict, total=False): customerDemarcId: str googleCircuitId: str googleDemarcId: str @typing.type_check_only -class InterconnectDiagnostics(typing_extensions.TypedDict, total=False): +class InterconnectDiagnostics(typing.TypedDict, total=False): arpCaches: _list[InterconnectDiagnosticsARPEntry] - bundleAggregationType: typing_extensions.Literal[ + bundleAggregationType: typing.Literal[ "BUNDLE_AGGREGATION_TYPE_LACP", "BUNDLE_AGGREGATION_TYPE_STATIC" ] - bundleOperationalStatus: typing_extensions.Literal[ + bundleOperationalStatus: typing.Literal[ "BUNDLE_OPERATIONAL_STATUS_DOWN", "BUNDLE_OPERATIONAL_STATUS_UP" ] links: _list[InterconnectDiagnosticsLinkStatus] macAddress: str @typing.type_check_only -class InterconnectDiagnosticsARPEntry(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsARPEntry(typing.TypedDict, total=False): ipAddress: str macAddress: str @typing.type_check_only -class InterconnectDiagnosticsLinkLACPStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsLinkLACPStatus(typing.TypedDict, total=False): googleSystemId: str neighborSystemId: str - state: typing_extensions.Literal["ACTIVE", "DETACHED"] + state: typing.Literal["ACTIVE", "DETACHED"] @typing.type_check_only -class InterconnectDiagnosticsLinkOpticalPower(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class InterconnectDiagnosticsLinkOpticalPower(typing.TypedDict, total=False): + state: typing.Literal[ "HIGH_ALARM", "HIGH_WARNING", "LOW_ALARM", "LOW_WARNING", "OK" ] value: float @typing.type_check_only -class InterconnectDiagnosticsLinkStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsLinkStatus(typing.TypedDict, total=False): arpCaches: _list[InterconnectDiagnosticsARPEntry] circuitId: str googleDemarc: str lacpStatus: InterconnectDiagnosticsLinkLACPStatus macsec: InterconnectDiagnosticsMacsecStatus - operationalStatus: typing_extensions.Literal[ + operationalStatus: typing.Literal[ "LINK_OPERATIONAL_STATUS_DOWN", "LINK_OPERATIONAL_STATUS_UP" ] receivingOpticalPower: InterconnectDiagnosticsLinkOpticalPower transmittingOpticalPower: InterconnectDiagnosticsLinkOpticalPower @typing.type_check_only -class InterconnectDiagnosticsMacsecStatus(typing_extensions.TypedDict, total=False): +class InterconnectDiagnosticsMacsecStatus(typing.TypedDict, total=False): ckn: str operational: bool @typing.type_check_only -class InterconnectGroup(typing_extensions.TypedDict, total=False): +class InterconnectGroup(typing.TypedDict, total=False): configured: InterconnectGroupConfigured creationTimestamp: str description: str @@ -4235,25 +4131,23 @@ class InterconnectGroup(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class InterconnectGroupConfigured(typing_extensions.TypedDict, total=False): +class InterconnectGroupConfigured(typing.TypedDict, total=False): topologyCapability: InterconnectGroupConfiguredTopologyCapability @typing.type_check_only -class InterconnectGroupConfiguredTopologyCapability( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupConfiguredTopologyCapability(typing.TypedDict, total=False): intendedCapabilityBlockers: _list[ InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers ] - supportedSla: typing_extensions.Literal[ + supportedSla: typing.Literal[ "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" ] @typing.type_check_only class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - blockerType: typing_extensions.Literal[ + blockerType: typing.Literal[ "INCOMPATIBLE_METROS", "NOT_AVAILABLE", "NO_INTERCONNECTS", @@ -4269,56 +4163,50 @@ class InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers( zones: _list[str] @typing.type_check_only -class InterconnectGroupIntent(typing_extensions.TypedDict, total=False): - topologyCapability: typing_extensions.Literal[ +class InterconnectGroupIntent(typing.TypedDict, total=False): + topologyCapability: typing.Literal[ "NO_SLA", "PRODUCTION_CRITICAL", "PRODUCTION_NON_CRITICAL", "UNSPECIFIED" ] @typing.type_check_only -class InterconnectGroupInterconnect(typing_extensions.TypedDict, total=False): +class InterconnectGroupInterconnect(typing.TypedDict, total=False): interconnect: str @typing.type_check_only -class InterconnectGroupPhysicalStructure(typing_extensions.TypedDict, total=False): +class InterconnectGroupPhysicalStructure(typing.TypedDict, total=False): metros: _list[InterconnectGroupPhysicalStructureMetros] @typing.type_check_only -class InterconnectGroupPhysicalStructureMetros( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupPhysicalStructureMetros(typing.TypedDict, total=False): facilities: _list[InterconnectGroupPhysicalStructureMetrosFacilities] metro: str @typing.type_check_only -class InterconnectGroupPhysicalStructureMetrosFacilities( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupPhysicalStructureMetrosFacilities(typing.TypedDict, total=False): facility: str zones: _list[InterconnectGroupPhysicalStructureMetrosFacilitiesZones] @typing.type_check_only class InterconnectGroupPhysicalStructureMetrosFacilitiesZones( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): interconnects: _list[str] zone: str @typing.type_check_only -class InterconnectGroupsCreateMembers(typing_extensions.TypedDict, total=False): - intentMismatchBehavior: typing_extensions.Literal["CREATE", "REJECT", "UNSPECIFIED"] +class InterconnectGroupsCreateMembers(typing.TypedDict, total=False): + intentMismatchBehavior: typing.Literal["CREATE", "REJECT", "UNSPECIFIED"] interconnects: _list[InterconnectGroupsCreateMembersInterconnectInput] templateInterconnect: InterconnectGroupsCreateMembersInterconnectInput @typing.type_check_only -class InterconnectGroupsCreateMembersInterconnectInput( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupsCreateMembersInterconnectInput(typing.TypedDict, total=False): adminEnabled: bool customerName: str description: str facility: str - interconnectType: typing_extensions.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] - linkType: typing_extensions.Literal[ + interconnectType: typing.Literal["DEDICATED", "IT_PRIVATE", "PARTNER"] + linkType: typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", @@ -4327,25 +4215,21 @@ class InterconnectGroupsCreateMembersInterconnectInput( nocContactEmail: str remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] requestedLinkCount: int @typing.type_check_only -class InterconnectGroupsCreateMembersRequest(typing_extensions.TypedDict, total=False): +class InterconnectGroupsCreateMembersRequest(typing.TypedDict, total=False): request: InterconnectGroupsCreateMembers @typing.type_check_only -class InterconnectGroupsGetOperationalStatusResponse( - typing_extensions.TypedDict, total=False -): +class InterconnectGroupsGetOperationalStatusResponse(typing.TypedDict, total=False): etag: str result: InterconnectGroupsOperationalStatus @typing.type_check_only -class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): +class InterconnectGroupsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[InterconnectGroup] @@ -4356,9 +4240,9 @@ class InterconnectGroupsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=False): +class InterconnectGroupsOperationalStatus(typing.TypedDict, total=False): configured: InterconnectGroupConfigured - groupStatus: typing_extensions.Literal[ + groupStatus: typing.Literal[ "DEGRADED", "FULLY_DOWN", "FULLY_UP", "GROUPS_STATUS_UNSPECIFIED" ] intent: InterconnectGroupIntent @@ -4367,15 +4251,15 @@ class InterconnectGroupsOperationalStatus(typing_extensions.TypedDict, total=Fal @typing.type_check_only class InterconnectGroupsOperationalStatusInterconnectStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adminEnabled: bool diagnostics: InterconnectDiagnostics interconnect: str - isActive: typing_extensions.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] + isActive: typing.Literal["ACTIVE", "INACTIVE", "IS_ACTIVE_UNSPECIFIED"] @typing.type_check_only -class InterconnectList(typing_extensions.TypedDict, total=False): +class InterconnectList(typing.TypedDict, total=False): id: str items: _list[Interconnect] kind: str @@ -4384,23 +4268,21 @@ class InterconnectList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectLocation(typing_extensions.TypedDict, total=False): +class InterconnectLocation(typing.TypedDict, total=False): address: str availabilityZone: str availableFeatures: _list[ - typing_extensions.Literal[ - "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" - ] + typing.Literal["IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC"] ] availableLinkTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "LINK_TYPE_ETHERNET_100G_LR", "LINK_TYPE_ETHERNET_10G_LR", "LINK_TYPE_ETHERNET_400G_LR4", ] ] city: str - continent: typing_extensions.Literal[ + continent: typing.Literal[ "AFRICA", "ASIA_PAC", "C_AFRICA", @@ -4424,17 +4306,15 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): regionInfos: _list[InterconnectLocationRegionInfo] selfLink: str singleRegionProductionCriticalPeerLocations: _list[str] - status: typing_extensions.Literal["AVAILABLE", "CLOSED"] + status: typing.Literal["AVAILABLE", "CLOSED"] supportsPzs: bool @typing.type_check_only -class InterconnectLocationCrossSiteInterconnectInfo( - typing_extensions.TypedDict, total=False -): +class InterconnectLocationCrossSiteInterconnectInfo(typing.TypedDict, total=False): city: str @typing.type_check_only -class InterconnectLocationList(typing_extensions.TypedDict, total=False): +class InterconnectLocationList(typing.TypedDict, total=False): id: str items: _list[InterconnectLocation] kind: str @@ -4443,61 +4323,61 @@ class InterconnectLocationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectLocationRegionInfo(typing_extensions.TypedDict, total=False): +class InterconnectLocationRegionInfo(typing.TypedDict, total=False): expectedRttMs: str l2ForwardingEnabled: bool - locationPresence: typing_extensions.Literal[ + locationPresence: typing.Literal[ "GLOBAL", "LOCAL_REGION", "LP_GLOBAL", "LP_LOCAL_REGION" ] region: str @typing.type_check_only -class InterconnectMacsec(typing_extensions.TypedDict, total=False): +class InterconnectMacsec(typing.TypedDict, total=False): failOpen: bool preSharedKeys: _list[InterconnectMacsecPreSharedKey] @typing.type_check_only -class InterconnectMacsecConfig(typing_extensions.TypedDict, total=False): +class InterconnectMacsecConfig(typing.TypedDict, total=False): preSharedKeys: _list[InterconnectMacsecConfigPreSharedKey] @typing.type_check_only -class InterconnectMacsecConfigPreSharedKey(typing_extensions.TypedDict, total=False): +class InterconnectMacsecConfigPreSharedKey(typing.TypedDict, total=False): cak: str ckn: str name: str startTime: str @typing.type_check_only -class InterconnectMacsecPreSharedKey(typing_extensions.TypedDict, total=False): +class InterconnectMacsecPreSharedKey(typing.TypedDict, total=False): name: str startTime: str @typing.type_check_only -class InterconnectOutageNotification(typing_extensions.TypedDict, total=False): +class InterconnectOutageNotification(typing.TypedDict, total=False): affectedCircuits: _list[str] description: str endTime: str - issueType: typing_extensions.Literal[ + issueType: typing.Literal[ "IT_OUTAGE", "IT_PARTIAL_OUTAGE", "OUTAGE", "PARTIAL_OUTAGE" ] name: str - source: typing_extensions.Literal["GOOGLE", "NSRC_GOOGLE"] + source: typing.Literal["GOOGLE", "NSRC_GOOGLE"] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CANCELLED", "COMPLETED", "NS_ACTIVE", "NS_CANCELED" ] @typing.type_check_only -class InterconnectParams(typing_extensions.TypedDict, total=False): +class InterconnectParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): +class InterconnectRemoteLocation(typing.TypedDict, total=False): address: str attachmentConfigurationConstraints: InterconnectAttachmentConfigurationConstraints city: str constraints: InterconnectRemoteLocationConstraints - continent: typing_extensions.Literal[ + continent: typing.Literal[ "AFRICA", "ASIA_PAC", "EUROPE", "NORTH_AMERICA", "SOUTH_AMERICA" ] creationTimestamp: str @@ -4506,7 +4386,7 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): facilityProviderFacilityId: str id: str kind: str - lacp: typing_extensions.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] + lacp: typing.Literal["LACP_SUPPORTED", "LACP_UNSUPPORTED"] maxLagSize100Gbps: int maxLagSize10Gbps: int maxLagSize400Gbps: int @@ -4515,27 +4395,27 @@ class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): permittedConnections: _list[InterconnectRemoteLocationPermittedConnections] remoteService: str selfLink: str - status: typing_extensions.Literal["AVAILABLE", "CLOSED"] + status: typing.Literal["AVAILABLE", "CLOSED"] @typing.type_check_only -class InterconnectRemoteLocationConstraints(typing_extensions.TypedDict, total=False): - portPairRemoteLocation: typing_extensions.Literal[ +class InterconnectRemoteLocationConstraints(typing.TypedDict, total=False): + portPairRemoteLocation: typing.Literal[ "PORT_PAIR_MATCHING_REMOTE_LOCATION", "PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION" ] - portPairVlan: typing_extensions.Literal[ + portPairVlan: typing.Literal[ "PORT_PAIR_MATCHING_VLAN", "PORT_PAIR_UNCONSTRAINED_VLAN" ] subnetLengthRange: InterconnectRemoteLocationConstraintsSubnetLengthRange @typing.type_check_only class InterconnectRemoteLocationConstraintsSubnetLengthRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: int min: int @typing.type_check_only -class InterconnectRemoteLocationList(typing_extensions.TypedDict, total=False): +class InterconnectRemoteLocationList(typing.TypedDict, total=False): id: str items: _list[InterconnectRemoteLocation] kind: str @@ -4544,22 +4424,20 @@ class InterconnectRemoteLocationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class InterconnectRemoteLocationPermittedConnections( - typing_extensions.TypedDict, total=False -): +class InterconnectRemoteLocationPermittedConnections(typing.TypedDict, total=False): interconnectLocation: str @typing.type_check_only -class InterconnectsGetDiagnosticsResponse(typing_extensions.TypedDict, total=False): +class InterconnectsGetDiagnosticsResponse(typing.TypedDict, total=False): result: InterconnectDiagnostics @typing.type_check_only -class InterconnectsGetMacsecConfigResponse(typing_extensions.TypedDict, total=False): +class InterconnectsGetMacsecConfigResponse(typing.TypedDict, total=False): etag: str result: InterconnectMacsecConfig @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): allowedReplacementLicenses: _list[str] appendableToDisk: bool chargesUseFee: bool @@ -4584,7 +4462,7 @@ class License(typing_extensions.TypedDict, total=False): updateTimestamp: str @typing.type_check_only -class LicenseCode(typing_extensions.TypedDict, total=False): +class LicenseCode(typing.TypedDict, total=False): allowedReplacementLicenses: _list[str] appendableToDisk: bool creationTimestamp: str @@ -4601,34 +4479,34 @@ class LicenseCode(typing_extensions.TypedDict, total=False): requiredCoattachedLicenses: _list[str] selfLink: str soleTenantOnly: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "DISABLED", "ENABLED", "RESTRICTED", "STATE_UNSPECIFIED", "TERMINATED" ] transferable: bool updateTimestamp: str @typing.type_check_only -class LicenseCodeLicenseAlias(typing_extensions.TypedDict, total=False): +class LicenseCodeLicenseAlias(typing.TypedDict, total=False): description: str selfLink: str @typing.type_check_only -class LicenseParams(typing_extensions.TypedDict, total=False): +class LicenseParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class LicenseResourceCommitment(typing_extensions.TypedDict, total=False): +class LicenseResourceCommitment(typing.TypedDict, total=False): amount: str coresPerLicense: str license: str @typing.type_check_only -class LicenseResourceRequirements(typing_extensions.TypedDict, total=False): +class LicenseResourceRequirements(typing.TypedDict, total=False): minGuestCpuCount: int minMemoryMb: int @typing.type_check_only -class LicensesListResponse(typing_extensions.TypedDict, total=False): +class LicensesListResponse(typing.TypedDict, total=False): id: str items: _list[License] nextPageToken: str @@ -4636,7 +4514,7 @@ class LicensesListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): +class ListInstantSnapshotGroups(typing.TypedDict, total=False): etag: str id: str items: _list[InstantSnapshotGroup] @@ -4647,37 +4525,37 @@ class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class LocalDisk(typing_extensions.TypedDict, total=False): +class LocalDisk(typing.TypedDict, total=False): diskCount: int diskSizeGb: int diskType: str @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class LocationPolicy(typing_extensions.TypedDict, total=False): +class LocationPolicy(typing.TypedDict, total=False): locations: dict[str, typing.Any] - targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] + targetShape: typing.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] zones: _list[LocationPolicyZoneConfiguration] @typing.type_check_only -class LocationPolicyLocation(typing_extensions.TypedDict, total=False): +class LocationPolicyLocation(typing.TypedDict, total=False): constraints: LocationPolicyLocationConstraints - preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] + preference: typing.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] @typing.type_check_only -class LocationPolicyLocationConstraints(typing_extensions.TypedDict, total=False): +class LocationPolicyLocationConstraints(typing.TypedDict, total=False): maxCount: int @typing.type_check_only -class LocationPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): +class LocationPolicyZoneConfiguration(typing.TypedDict, total=False): zone: str @typing.type_check_only -class MachineImage(typing_extensions.TypedDict, total=False): +class MachineImage(typing.TypedDict, total=False): creationTimestamp: str description: str guestFlush: bool @@ -4696,14 +4574,12 @@ class MachineImage(typing_extensions.TypedDict, total=False): sourceDiskEncryptionKeys: _list[SourceDiskEncryptionKey] sourceInstance: str sourceInstanceProperties: SourceInstanceProperties - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "UPLOADING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "UPLOADING"] storageLocations: _list[str] totalStorageBytes: str @typing.type_check_only -class MachineImageList(typing_extensions.TypedDict, total=False): +class MachineImageList(typing.TypedDict, total=False): id: str items: _list[MachineImage] kind: str @@ -4712,15 +4588,13 @@ class MachineImageList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineImageParams(typing_extensions.TypedDict, total=False): +class MachineImageParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class MachineType(typing_extensions.TypedDict, total=False): +class MachineType(typing.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] bundledLocalSsds: BundledLocalSsds creationTimestamp: str deprecated: DeprecationStatus @@ -4738,7 +4612,7 @@ class MachineType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class MachineTypeAggregatedList(typing_extensions.TypedDict, total=False): +class MachineTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -4748,7 +4622,7 @@ class MachineTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineTypeList(typing_extensions.TypedDict, total=False): +class MachineTypeList(typing.TypedDict, total=False): id: str items: _list[MachineType] kind: str @@ -4757,13 +4631,13 @@ class MachineTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class MachineTypesScopedList(typing_extensions.TypedDict, total=False): +class MachineTypesScopedList(typing.TypedDict, total=False): machineTypes: _list[MachineType] warning: dict[str, typing.Any] @typing.type_check_only -class ManagedInstance(typing_extensions.TypedDict, total=False): - currentAction: typing_extensions.Literal[ +class ManagedInstance(typing.TypedDict, total=False): + currentAction: typing.Literal[ "ABANDONING", "CREATING", "CREATING_WITHOUT_RETRIES", @@ -4781,9 +4655,10 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): id: str instance: str instanceHealth: _list[ManagedInstanceInstanceHealth] - instanceStatus: typing_extensions.Literal[ + instanceStatus: typing.Literal[ "DEPROVISIONING", "PENDING", + "PENDING_STOP", "PROVISIONING", "REPAIRING", "RUNNING", @@ -4799,68 +4674,86 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): preservedStateFromConfig: PreservedState preservedStateFromPolicy: PreservedState propertiesFromFlexibilityPolicy: ManagedInstancePropertiesFromFlexibilityPolicy + scheduling: ManagedInstanceScheduling + shutdownDetails: ManagedInstanceShutdownDetails version: ManagedInstanceVersion @typing.type_check_only -class ManagedInstanceInstanceHealth(typing_extensions.TypedDict, total=False): - detailedHealthState: typing_extensions.Literal[ +class ManagedInstanceInstanceHealth(typing.TypedDict, total=False): + detailedHealthState: typing.Literal[ "DRAINING", "HEALTHY", "TIMEOUT", "UNHEALTHY", "UNKNOWN" ] healthCheck: str @typing.type_check_only -class ManagedInstanceLastAttempt(typing_extensions.TypedDict, total=False): +class ManagedInstanceLastAttempt(typing.TypedDict, total=False): errors: dict[str, typing.Any] @typing.type_check_only -class ManagedInstancePropertiesFromFlexibilityPolicy( - typing_extensions.TypedDict, total=False -): +class ManagedInstancePropertiesFromFlexibilityPolicy(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class ManagedInstanceVersion(typing_extensions.TypedDict, total=False): +class ManagedInstanceScheduling(typing.TypedDict, total=False): + gracefulShutdownTimestamp: str + terminationTimestamp: str + +@typing.type_check_only +class ManagedInstanceShutdownDetails(typing.TypedDict, total=False): + maxDuration: Duration + requestTimestamp: str + +@typing.type_check_only +class ManagedInstanceVersion(typing.TypedDict, total=False): instanceTemplate: str name: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): fingerprint: str items: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class MetadataFilter(typing_extensions.TypedDict, total=False): +class MetadataFilter(typing.TypedDict, total=False): filterLabels: _list[MetadataFilterLabelMatch] - filterMatchCriteria: typing_extensions.Literal["MATCH_ALL", "MATCH_ANY", "NOT_SET"] + filterMatchCriteria: typing.Literal["MATCH_ALL", "MATCH_ANY", "NOT_SET"] @typing.type_check_only -class MetadataFilterLabelMatch(typing_extensions.TypedDict, total=False): +class MetadataFilterLabelMatch(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class NamedPort(typing_extensions.TypedDict, total=False): +class NamedPort(typing.TypedDict, total=False): name: str port: int @typing.type_check_only -class NatIpInfo(typing_extensions.TypedDict, total=False): +class NamedSet(typing.TypedDict, total=False): + description: str + elements: _list[Expr] + fingerprint: str + name: str + type: typing.Literal["NAMED_SET_TYPE_COMMUNITY", "NAMED_SET_TYPE_PREFIX"] + +@typing.type_check_only +class NatIpInfo(typing.TypedDict, total=False): natIpInfoMappings: _list[NatIpInfoNatIpInfoMapping] natName: str @typing.type_check_only -class NatIpInfoNatIpInfoMapping(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["AUTO", "MANUAL"] +class NatIpInfoNatIpInfoMapping(typing.TypedDict, total=False): + mode: typing.Literal["AUTO", "MANUAL"] natIp: str - usage: typing_extensions.Literal["IN_USE", "UNUSED"] + usage: typing.Literal["IN_USE", "UNUSED"] @typing.type_check_only -class NatIpInfoResponse(typing_extensions.TypedDict, total=False): +class NatIpInfoResponse(typing.TypedDict, total=False): result: _list[NatIpInfo] @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): IPv4Range: str autoCreateSubnetworks: bool creationTimestamp: str @@ -4873,7 +4766,7 @@ class Network(typing_extensions.TypedDict, total=False): kind: str mtu: int name: str - networkFirewallPolicyEnforcementOrder: typing_extensions.Literal[ + networkFirewallPolicyEnforcementOrder: typing.Literal[ "AFTER_CLASSIC_FIREWALL", "BEFORE_CLASSIC_FIREWALL" ] networkProfile: str @@ -4885,11 +4778,9 @@ class Network(typing_extensions.TypedDict, total=False): subnetworks: _list[str] @typing.type_check_only -class NetworkAttachment(typing_extensions.TypedDict, total=False): +class NetworkAttachment(typing.TypedDict, total=False): connectionEndpoints: _list[NetworkAttachmentConnectedEndpoint] - connectionPreference: typing_extensions.Literal[ - "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "INVALID" - ] + connectionPreference: typing.Literal["ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "INVALID"] creationTimestamp: str description: str fingerprint: str @@ -4905,7 +4796,7 @@ class NetworkAttachment(typing_extensions.TypedDict, total=False): subnetworks: _list[str] @typing.type_check_only -class NetworkAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -4914,13 +4805,13 @@ class NetworkAttachmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): +class NetworkAttachmentConnectedEndpoint(typing.TypedDict, total=False): ipAddress: str ipv6Address: str projectIdOrNum: str secondaryIpCidrRanges: _list[str] serviceClassId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -4932,7 +4823,7 @@ class NetworkAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals subnetworkCidrRange: str @typing.type_check_only -class NetworkAttachmentList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentList(typing.TypedDict, total=False): id: str items: _list[NetworkAttachment] kind: str @@ -4941,12 +4832,12 @@ class NetworkAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class NetworkAttachmentsScopedList(typing.TypedDict, total=False): networkAttachments: _list[NetworkAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEdgeSecurityService(typing_extensions.TypedDict, total=False): +class NetworkEdgeSecurityService(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -4959,9 +4850,7 @@ class NetworkEdgeSecurityService(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class NetworkEdgeSecurityServiceAggregatedList( - typing_extensions.TypedDict, total=False -): +class NetworkEdgeSecurityServiceAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -4972,12 +4861,12 @@ class NetworkEdgeSecurityServiceAggregatedList( warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEdgeSecurityServicesScopedList(typing_extensions.TypedDict, total=False): +class NetworkEdgeSecurityServicesScopedList(typing.TypedDict, total=False): networkEdgeSecurityServices: _list[NetworkEdgeSecurityService] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpoint(typing_extensions.TypedDict, total=False): +class NetworkEndpoint(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clientDestinationPort: int fqdn: str @@ -4987,7 +4876,7 @@ class NetworkEndpoint(typing_extensions.TypedDict, total=False): port: int @typing.type_check_only -class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] appEngine: NetworkEndpointGroupAppEngine cloudFunction: NetworkEndpointGroupCloudFunction @@ -4999,7 +4888,7 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): kind: str name: str network: str - networkEndpointType: typing_extensions.Literal[ + networkEndpointType: typing.Literal[ "GCE_VM_IP", "GCE_VM_IP_PORT", "GCE_VM_IP_PORTMAP", @@ -5018,7 +4907,7 @@ class NetworkEndpointGroup(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class NetworkEndpointGroupAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5028,24 +4917,24 @@ class NetworkEndpointGroupAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupAppEngine(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupAppEngine(typing.TypedDict, total=False): service: str urlMask: str version: str @typing.type_check_only -class NetworkEndpointGroupCloudFunction(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupCloudFunction(typing.TypedDict, total=False): function: str urlMask: str @typing.type_check_only -class NetworkEndpointGroupCloudRun(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupCloudRun(typing.TypedDict, total=False): service: str tag: str urlMask: str @typing.type_check_only -class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupList(typing.TypedDict, total=False): id: str items: _list[NetworkEndpointGroup] kind: str @@ -5054,11 +4943,11 @@ class NetworkEndpointGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupPscData(typing.TypedDict, total=False): consumerPscAddress: str producerPort: int pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -5068,27 +4957,19 @@ class NetworkEndpointGroupPscData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class NetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class NetworkEndpointGroupsListEndpointsRequest( - typing_extensions.TypedDict, total=False -): - healthStatus: typing_extensions.Literal["SHOW", "SKIP"] +class NetworkEndpointGroupsListEndpointsRequest(typing.TypedDict, total=False): + healthStatus: typing.Literal["SHOW", "SKIP"] @typing.type_check_only -class NetworkEndpointGroupsListNetworkEndpoints( - typing_extensions.TypedDict, total=False -): +class NetworkEndpointGroupsListNetworkEndpoints(typing.TypedDict, total=False): id: str items: _list[NetworkEndpointWithHealthStatus] kind: str @@ -5096,17 +4977,17 @@ class NetworkEndpointGroupsListNetworkEndpoints( warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointGroupsScopedList(typing_extensions.TypedDict, total=False): +class NetworkEndpointGroupsScopedList(typing.TypedDict, total=False): networkEndpointGroups: _list[NetworkEndpointGroup] warning: dict[str, typing.Any] @typing.type_check_only -class NetworkEndpointWithHealthStatus(typing_extensions.TypedDict, total=False): +class NetworkEndpointWithHealthStatus(typing.TypedDict, total=False): healths: _list[HealthStatusForNetworkEndpoint] networkEndpoint: NetworkEndpoint @typing.type_check_only -class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=False): +class NetworkFirewallPolicyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5116,34 +4997,34 @@ class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=Fal warning: dict[str, typing.Any] @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] aliasIpv6Ranges: _list[AliasIpRange] enableVpcScopedDns: bool fingerprint: str - igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] + igmpQuery: typing.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int ipv6AccessConfigs: _list[AccessConfig] - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] ipv6Address: str kind: str name: str network: str networkAttachment: str networkIP: str - nicType: typing_extensions.Literal[ + nicType: typing.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] parentNicName: str queueCount: int serviceClassId: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subnetwork: str vlan: int @typing.type_check_only -class NetworkList(typing_extensions.TypedDict, total=False): +class NetworkList(typing.TypedDict, total=False): id: str items: _list[Network] kind: str @@ -5152,11 +5033,11 @@ class NetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkParams(typing_extensions.TypedDict, total=False): +class NetworkParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class NetworkPeering(typing_extensions.TypedDict, total=False): +class NetworkPeering(typing.TypedDict, total=False): autoCreateRoutes: bool connectionStatus: NetworkPeeringConnectionStatus exchangeSubnetRoutes: bool @@ -5167,22 +5048,20 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): name: str network: str peerMtu: int - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] - state: typing_extensions.Literal["ACTIVE", "INACTIVE"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] + state: typing.Literal["ACTIVE", "INACTIVE"] stateDetails: str - updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + updateStrategy: typing.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] @typing.type_check_only -class NetworkPeeringConnectionStatus(typing_extensions.TypedDict, total=False): +class NetworkPeeringConnectionStatus(typing.TypedDict, total=False): consensusState: NetworkPeeringConnectionStatusConsensusState trafficConfiguration: NetworkPeeringConnectionStatusTrafficConfiguration - updateStrategy: typing_extensions.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] + updateStrategy: typing.Literal["CONSENSUS", "INDEPENDENT", "UNSPECIFIED"] @typing.type_check_only -class NetworkPeeringConnectionStatusConsensusState( - typing_extensions.TypedDict, total=False -): - deleteStatus: typing_extensions.Literal[ +class NetworkPeeringConnectionStatusConsensusState(typing.TypedDict, total=False): + deleteStatus: typing.Literal[ "DELETE_ACKNOWLEDGED", "DELETE_STATUS_UNSPECIFIED", "LOCAL_CANCEL_REQUESTED", @@ -5190,7 +5069,7 @@ class NetworkPeeringConnectionStatusConsensusState( "PEER_CANCEL_REQUESTED", "PEER_DELETE_REQUESTED", ] - updateStatus: typing_extensions.Literal[ + updateStatus: typing.Literal[ "IN_SYNC", "PENDING_LOCAL_ACKNOWLEDMENT", "PENDING_PEER_ACKNOWLEDGEMENT", @@ -5198,21 +5077,19 @@ class NetworkPeeringConnectionStatusConsensusState( ] @typing.type_check_only -class NetworkPeeringConnectionStatusTrafficConfiguration( - typing_extensions.TypedDict, total=False -): +class NetworkPeeringConnectionStatusTrafficConfiguration(typing.TypedDict, total=False): exportCustomRoutesToPeer: bool exportSubnetRoutesWithPublicIpToPeer: bool importCustomRoutesFromPeer: bool importSubnetRoutesWithPublicIpFromPeer: bool - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY"] @typing.type_check_only -class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - totalEgressBandwidthTier: typing_extensions.Literal["DEFAULT", "TIER_1"] +class NetworkPerformanceConfig(typing.TypedDict, total=False): + totalEgressBandwidthTier: typing.Literal["DEFAULT", "TIER_1"] @typing.type_check_only -class NetworkProfile(typing_extensions.TypedDict, total=False): +class NetworkProfile(typing.TypedDict, total=False): creationTimestamp: str description: str features: NetworkProfileNetworkFeatures @@ -5225,14 +5102,14 @@ class NetworkProfile(typing_extensions.TypedDict, total=False): selfLinkWithId: str @typing.type_check_only -class NetworkProfileLocation(typing_extensions.TypedDict, total=False): +class NetworkProfileLocation(typing.TypedDict, total=False): name: str - scope: typing_extensions.Literal["REGION", "ZONE"] + scope: typing.Literal["REGION", "ZONE"] @typing.type_check_only -class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): +class NetworkProfileNetworkFeatures(typing.TypedDict, total=False): addressPurposes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DNS_RESOLVER", "GCE_ENDPOINT", "IPSEC_INTERCONNECT", @@ -5243,104 +5120,90 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "VPC_PEERING", ] ] - allowAddressCreation: typing_extensions.Literal[ + allowAddressCreation: typing.Literal[ "ADDRESS_CREATION_ALLOWED", "ADDRESS_CREATION_BLOCKED" ] - allowAliasIpRanges: typing_extensions.Literal[ + allowAliasIpRanges: typing.Literal[ "ALIAS_IP_RANGES_ALLOWED", "ALIAS_IP_RANGES_BLOCKED" ] - allowAutoModeSubnet: typing_extensions.Literal[ + allowAutoModeSubnet: typing.Literal[ "AUTO_MODE_SUBNET_ALLOWED", "AUTO_MODE_SUBNET_BLOCKED" ] - allowClassDFirewalls: typing_extensions.Literal[ + allowClassDFirewalls: typing.Literal[ "CLASS_D_FIREWALLS_ALLOWED", "CLASS_D_FIREWALLS_BLOCKED" ] - allowCloudNat: typing_extensions.Literal["CLOUD_NAT_ALLOWED", "CLOUD_NAT_BLOCKED"] - allowCloudRouter: typing_extensions.Literal[ - "CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED" - ] - allowDefaultNicAttachment: typing_extensions.Literal[ + allowCloudNat: typing.Literal["CLOUD_NAT_ALLOWED", "CLOUD_NAT_BLOCKED"] + allowCloudRouter: typing.Literal["CLOUD_ROUTER_ALLOWED", "CLOUD_ROUTER_BLOCKED"] + allowDefaultNicAttachment: typing.Literal[ "DEFAULT_NIC_ATTACHMENT_ALLOWED", "DEFAULT_NIC_ATTACHMENT_BLOCKED" ] - allowExternalIpAccess: typing_extensions.Literal[ + allowExternalIpAccess: typing.Literal[ "EXTERNAL_IP_ACCESS_ALLOWED", "EXTERNAL_IP_ACCESS_BLOCKED" ] - allowFirewallPolicy: typing_extensions.Literal[ + allowFirewallPolicy: typing.Literal[ "FIREWALL_POLICY_ALLOWED", "FIREWALL_POLICY_BLOCKED" ] - allowInterconnect: typing_extensions.Literal[ - "INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED" - ] - allowIpForwarding: typing_extensions.Literal[ - "IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED" - ] - allowLoadBalancing: typing_extensions.Literal[ + allowInterconnect: typing.Literal["INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED"] + allowIpForwarding: typing.Literal["IP_FORWARDING_ALLOWED", "IP_FORWARDING_BLOCKED"] + allowLoadBalancing: typing.Literal[ "LOAD_BALANCING_ALLOWED", "LOAD_BALANCING_BLOCKED" ] - allowMultiNicInSameNetwork: typing_extensions.Literal[ + allowMultiNicInSameNetwork: typing.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] - allowMultiNicInSameSubnetwork: typing_extensions.Literal[ + allowMultiNicInSameSubnetwork: typing.Literal[ "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" ] - allowMulticast: typing_extensions.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] - allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] - allowNetworkMigration: typing_extensions.Literal[ + allowMulticast: typing.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] + allowNcc: typing.Literal["NCC_ALLOWED", "NCC_BLOCKED"] + allowNetworkMigration: typing.Literal[ "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" ] - allowPacketMirroring: typing_extensions.Literal[ + allowPacketMirroring: typing.Literal[ "PACKET_MIRRORING_ALLOWED", "PACKET_MIRRORING_BLOCKED" ] - allowPrivateGoogleAccess: typing_extensions.Literal[ + allowPrivateGoogleAccess: typing.Literal[ "PRIVATE_GOOGLE_ACCESS_ALLOWED", "PRIVATE_GOOGLE_ACCESS_BLOCKED" ] - allowPsc: typing_extensions.Literal["PSC_ALLOWED", "PSC_BLOCKED"] - allowSameNetworkUnicast: typing_extensions.Literal[ + allowPsc: typing.Literal["PSC_ALLOWED", "PSC_BLOCKED"] + allowSameNetworkUnicast: typing.Literal[ "SAME_NETWORK_UNICAST_ALLOWED", "SAME_NETWORK_UNICAST_BLOCKED" ] - allowStaticRoutes: typing_extensions.Literal[ - "STATIC_ROUTES_ALLOWED", "STATIC_ROUTES_BLOCKED" - ] - allowSubInterfaces: typing_extensions.Literal[ - "SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED" - ] - allowSubnetworkCreation: typing_extensions.Literal[ + allowStaticRoutes: typing.Literal["STATIC_ROUTES_ALLOWED", "STATIC_ROUTES_BLOCKED"] + allowSubInterfaces: typing.Literal["SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED"] + allowSubnetworkCreation: typing.Literal[ "SUBNETWORK_CREATION_ALLOWED", "SUBNETWORK_CREATION_BLOCKED" ] - allowVpcFirewallRules: typing_extensions.Literal[ + allowVpcFirewallRules: typing.Literal[ "VPC_FIREWALL_RULES_ALLOWED", "VPC_FIREWALL_RULES_BLOCKED" ] - allowVpcPeering: typing_extensions.Literal[ - "VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED" - ] - allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] + allowVpcPeering: typing.Literal["VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED"] + allowVpn: typing.Literal["VPN_ALLOWED", "VPN_BLOCKED"] firewallPolicyTypes: _list[ - typing_extensions.Literal["RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY"] + typing.Literal["RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY"] ] interfaceTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] ] - multicast: typing_extensions.Literal["MULTICAST_SDN", "MULTICAST_ULL"] + multicast: typing.Literal["MULTICAST_SDN", "MULTICAST_ULL"] predefinedNetworkInternalIpv6Range: str predefinedSubnetworkRanges: _list[ NetworkProfileNetworkFeaturesPredefinedSubnetworkRange ] subnetPurposes: _list[ - typing_extensions.Literal[ - "SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE" - ] + typing.Literal["SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE"] ] subnetStackTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUBNET_STACK_TYPE_IPV4_IPV6", "SUBNET_STACK_TYPE_IPV4_ONLY", "SUBNET_STACK_TYPE_IPV6_ONLY", ] ] subnetworkPurposes: _list[ - typing_extensions.Literal[ + typing.Literal[ "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", "PEER_MIGRATION", @@ -5351,27 +5214,25 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "REGIONAL_MANAGED_PROXY", ] ] - subnetworkStackTypes: _list[ - typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] - ] - unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] + subnetworkStackTypes: _list[typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"]] + unicast: typing.Literal["UNICAST_SDN", "UNICAST_ULL"] @typing.type_check_only class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipv6Range: str namePrefix: str @typing.type_check_only -class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): - networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] - rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE", "ROCE_METAL"] - ullSubtype: typing_extensions.Literal["OPERATOR", "PARTICIPANT"] - vpcSubtype: typing_extensions.Literal["REGIONAL"] +class NetworkProfileProfileType(typing.TypedDict, total=False): + networkType: typing.Literal["RDMA", "ULL", "VPC"] + rdmaSubtype: typing.Literal["FALCON", "ROCE", "ROCE_METAL"] + ullSubtype: typing.Literal["OPERATOR", "PARTICIPANT"] + vpcSubtype: typing.Literal["REGIONAL"] @typing.type_check_only -class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): +class NetworkProfilesListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[NetworkProfile] @@ -5382,35 +5243,33 @@ class NetworkProfilesListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NetworkRoutingConfig(typing_extensions.TypedDict, total=False): +class NetworkRoutingConfig(typing.TypedDict, total=False): bgpAlwaysCompareMed: bool - bgpBestPathSelectionMode: typing_extensions.Literal["LEGACY", "STANDARD"] - bgpInterRegionCost: typing_extensions.Literal["ADD_COST_TO_MED", "DEFAULT"] + bgpBestPathSelectionMode: typing.Literal["LEGACY", "STANDARD"] + bgpInterRegionCost: typing.Literal["ADD_COST_TO_MED", "DEFAULT"] effectiveBgpAlwaysCompareMed: bool - effectiveBgpInterRegionCost: typing_extensions.Literal["ADD_COST_TO_MED", "DEFAULT"] - routingMode: typing_extensions.Literal["GLOBAL", "REGIONAL"] + effectiveBgpInterRegionCost: typing.Literal["ADD_COST_TO_MED", "DEFAULT"] + routingMode: typing.Literal["GLOBAL", "REGIONAL"] @typing.type_check_only -class NetworksAddPeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksAddPeeringRequest(typing.TypedDict, total=False): autoCreateRoutes: bool name: str networkPeering: NetworkPeering peerNetwork: str @typing.type_check_only -class NetworksCancelRequestRemovePeeringRequest( - typing_extensions.TypedDict, total=False -): +class NetworksCancelRequestRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): +class NetworksGetEffectiveFirewallsResponse(typing.TypedDict, total=False): firewallPolicys: _list[NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy] firewalls: _list[Firewall] @typing.type_check_only class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @@ -5418,22 +5277,22 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( priority: int rules: _list[FirewallPolicyRule] shortName: str - type: typing_extensions.Literal["HIERARCHY", "NETWORK", "SYSTEM", "UNSPECIFIED"] + type: typing.Literal["HIERARCHY", "NETWORK", "SYSTEM", "UNSPECIFIED"] @typing.type_check_only -class NetworksRemovePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksRequestRemovePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksRequestRemovePeeringRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class NetworksUpdatePeeringRequest(typing_extensions.TypedDict, total=False): +class NetworksUpdatePeeringRequest(typing.TypedDict, total=False): networkPeering: NetworkPeering @typing.type_check_only -class NodeGroup(typing_extensions.TypedDict, total=False): +class NodeGroup(typing.TypedDict, total=False): autoscalingPolicy: NodeGroupAutoscalingPolicy creationTimestamp: str description: str @@ -5441,8 +5300,8 @@ class NodeGroup(typing_extensions.TypedDict, total=False): id: str kind: str locationHint: str - maintenanceInterval: typing_extensions.Literal["AS_NEEDED", "RECURRENT"] - maintenancePolicy: typing_extensions.Literal[ + maintenanceInterval: typing.Literal["AS_NEEDED", "RECURRENT"] + maintenancePolicy: typing.Literal[ "DEFAULT", "MAINTENANCE_POLICY_UNSPECIFIED", "MIGRATE_WITHIN_NODE_GROUP", @@ -5454,11 +5313,11 @@ class NodeGroup(typing_extensions.TypedDict, total=False): selfLink: str shareSettings: ShareSettings size: int - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class NodeGroupAggregatedList(typing_extensions.TypedDict, total=False): +class NodeGroupAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5468,13 +5327,13 @@ class NodeGroupAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupAutoscalingPolicy(typing_extensions.TypedDict, total=False): +class NodeGroupAutoscalingPolicy(typing.TypedDict, total=False): maxNodes: int minNodes: int - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "OFF", "ON", "ONLY_SCALE_OUT"] + mode: typing.Literal["MODE_UNSPECIFIED", "OFF", "ON", "ONLY_SCALE_OUT"] @typing.type_check_only -class NodeGroupList(typing_extensions.TypedDict, total=False): +class NodeGroupList(typing.TypedDict, total=False): id: str items: _list[NodeGroup] kind: str @@ -5483,15 +5342,15 @@ class NodeGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupMaintenanceWindow(typing_extensions.TypedDict, total=False): +class NodeGroupMaintenanceWindow(typing.TypedDict, total=False): maintenanceDuration: Duration startTime: str @typing.type_check_only -class NodeGroupNode(typing_extensions.TypedDict, total=False): +class NodeGroupNode(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] consumedResources: InstanceConsumptionInfo - cpuOvercommitType: typing_extensions.Literal[ + cpuOvercommitType: typing.Literal[ "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", "ENABLED", "NONE" ] disks: _list[LocalDisk] @@ -5502,22 +5361,20 @@ class NodeGroupNode(typing_extensions.TypedDict, total=False): satisfiesPzs: bool serverBinding: ServerBinding serverId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "REPAIRING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "REPAIRING"] totalResources: InstanceConsumptionInfo upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class NodeGroupsAddNodesRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsAddNodesRequest(typing.TypedDict, total=False): additionalNodeCount: int @typing.type_check_only -class NodeGroupsDeleteNodesRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsDeleteNodesRequest(typing.TypedDict, total=False): nodes: _list[str] @typing.type_check_only -class NodeGroupsListNodes(typing_extensions.TypedDict, total=False): +class NodeGroupsListNodes(typing.TypedDict, total=False): id: str items: _list[NodeGroupNode] kind: str @@ -5526,29 +5383,27 @@ class NodeGroupsListNodes(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsPerformMaintenanceRequest(typing.TypedDict, total=False): nodes: _list[str] startTime: str @typing.type_check_only -class NodeGroupsScopedList(typing_extensions.TypedDict, total=False): +class NodeGroupsScopedList(typing.TypedDict, total=False): nodeGroups: _list[NodeGroup] warning: dict[str, typing.Any] @typing.type_check_only -class NodeGroupsSetNodeTemplateRequest(typing_extensions.TypedDict, total=False): +class NodeGroupsSetNodeTemplateRequest(typing.TypedDict, total=False): nodeTemplate: str @typing.type_check_only -class NodeGroupsSimulateMaintenanceEventRequest( - typing_extensions.TypedDict, total=False -): +class NodeGroupsSimulateMaintenanceEventRequest(typing.TypedDict, total=False): nodes: _list[str] @typing.type_check_only -class NodeTemplate(typing_extensions.TypedDict, total=False): +class NodeTemplate(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] - cpuOvercommitType: typing_extensions.Literal[ + cpuOvercommitType: typing.Literal[ "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", "ENABLED", "NONE" ] creationTimestamp: str @@ -5563,11 +5418,11 @@ class NodeTemplate(typing_extensions.TypedDict, total=False): region: str selfLink: str serverBinding: ServerBinding - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] statusMessage: str @typing.type_check_only -class NodeTemplateAggregatedList(typing_extensions.TypedDict, total=False): +class NodeTemplateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5577,7 +5432,7 @@ class NodeTemplateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTemplateList(typing_extensions.TypedDict, total=False): +class NodeTemplateList(typing.TypedDict, total=False): id: str items: _list[NodeTemplate] kind: str @@ -5586,18 +5441,18 @@ class NodeTemplateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTemplateNodeTypeFlexibility(typing_extensions.TypedDict, total=False): +class NodeTemplateNodeTypeFlexibility(typing.TypedDict, total=False): cpus: str localSsd: str memory: str @typing.type_check_only -class NodeTemplatesScopedList(typing_extensions.TypedDict, total=False): +class NodeTemplatesScopedList(typing.TypedDict, total=False): nodeTemplates: _list[NodeTemplate] warning: dict[str, typing.Any] @typing.type_check_only -class NodeType(typing_extensions.TypedDict, total=False): +class NodeType(typing.TypedDict, total=False): cpuPlatform: str creationTimestamp: str deprecated: DeprecationStatus @@ -5613,7 +5468,7 @@ class NodeType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class NodeTypeAggregatedList(typing_extensions.TypedDict, total=False): +class NodeTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5623,7 +5478,7 @@ class NodeTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTypeList(typing_extensions.TypedDict, total=False): +class NodeTypeList(typing.TypedDict, total=False): id: str items: _list[NodeType] kind: str @@ -5632,12 +5487,12 @@ class NodeTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NodeTypesScopedList(typing_extensions.TypedDict, total=False): +class NodeTypesScopedList(typing.TypedDict, total=False): nodeTypes: _list[NodeType] warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpoint(typing_extensions.TypedDict, total=False): +class NotificationEndpoint(typing.TypedDict, total=False): creationTimestamp: str description: str grpcSettings: NotificationEndpointGrpcSettings @@ -5648,7 +5503,7 @@ class NotificationEndpoint(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class NotificationEndpointAggregatedList(typing_extensions.TypedDict, total=False): +class NotificationEndpointAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5658,7 +5513,7 @@ class NotificationEndpointAggregatedList(typing_extensions.TypedDict, total=Fals warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpointGrpcSettings(typing_extensions.TypedDict, total=False): +class NotificationEndpointGrpcSettings(typing.TypedDict, total=False): authority: str endpoint: str payloadName: str @@ -5666,7 +5521,7 @@ class NotificationEndpointGrpcSettings(typing_extensions.TypedDict, total=False) retryDurationSec: int @typing.type_check_only -class NotificationEndpointList(typing_extensions.TypedDict, total=False): +class NotificationEndpointList(typing.TypedDict, total=False): id: str items: _list[NotificationEndpoint] kind: str @@ -5675,12 +5530,12 @@ class NotificationEndpointList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class NotificationEndpointsScopedList(typing_extensions.TypedDict, total=False): +class NotificationEndpointsScopedList(typing.TypedDict, total=False): resources: _list[NotificationEndpoint] warning: dict[str, typing.Any] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clientOperationId: str creationTimestamp: str description: str @@ -5703,7 +5558,7 @@ class Operation(typing_extensions.TypedDict, total=False): SetCommonInstanceMetadataOperationMetadata ) startTime: str - status: typing_extensions.Literal["DONE", "PENDING", "RUNNING"] + status: typing.Literal["DONE", "PENDING", "RUNNING"] statusMessage: str targetId: str targetLink: str @@ -5712,7 +5567,7 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationAggregatedList(typing_extensions.TypedDict, total=False): +class OperationAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5722,7 +5577,7 @@ class OperationAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class OperationList(typing_extensions.TypedDict, total=False): +class OperationList(typing.TypedDict, total=False): id: str items: _list[Operation] kind: str @@ -5731,19 +5586,19 @@ class OperationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class OperationsScopedList(typing_extensions.TypedDict, total=False): +class OperationsScopedList(typing.TypedDict, total=False): operations: _list[Operation] warning: dict[str, typing.Any] @typing.type_check_only class OrganizationSecurityPoliciesListAssociationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): associations: _list[SecurityPolicyAssociation] kind: str @typing.type_check_only -class OutlierDetection(typing_extensions.TypedDict, total=False): +class OutlierDetection(typing.TypedDict, total=False): baseEjectionTime: Duration consecutiveErrors: int consecutiveGatewayFailure: int @@ -5757,22 +5612,20 @@ class OutlierDetection(typing_extensions.TypedDict, total=False): successRateStdevFactor: int @typing.type_check_only -class PacketIntervals(typing_extensions.TypedDict, total=False): +class PacketIntervals(typing.TypedDict, total=False): avgMs: str - duration: typing_extensions.Literal["DURATION_UNSPECIFIED", "HOUR", "MAX", "MINUTE"] + duration: typing.Literal["DURATION_UNSPECIFIED", "HOUR", "MAX", "MINUTE"] maxMs: str minMs: str numIntervals: str - type: typing_extensions.Literal[ - "LOOPBACK", "RECEIVE", "TRANSMIT", "TYPE_UNSPECIFIED" - ] + type: typing.Literal["LOOPBACK", "RECEIVE", "TRANSMIT", "TYPE_UNSPECIFIED"] @typing.type_check_only -class PacketMirroring(typing_extensions.TypedDict, total=False): +class PacketMirroring(typing.TypedDict, total=False): collectorIlb: PacketMirroringForwardingRuleInfo creationTimestamp: str description: str - enable: typing_extensions.Literal["FALSE", "TRUE"] + enable: typing.Literal["FALSE", "TRUE"] filter: PacketMirroringFilter id: str kind: str @@ -5784,7 +5637,7 @@ class PacketMirroring(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class PacketMirroringAggregatedList(typing_extensions.TypedDict, total=False): +class PacketMirroringAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -5794,18 +5647,18 @@ class PacketMirroringAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PacketMirroringFilter(typing_extensions.TypedDict, total=False): +class PacketMirroringFilter(typing.TypedDict, total=False): IPProtocols: _list[str] cidrRanges: _list[str] - direction: typing_extensions.Literal["BOTH", "EGRESS", "INGRESS"] + direction: typing.Literal["BOTH", "EGRESS", "INGRESS"] @typing.type_check_only -class PacketMirroringForwardingRuleInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringForwardingRuleInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringList(typing_extensions.TypedDict, total=False): +class PacketMirroringList(typing.TypedDict, total=False): id: str items: _list[PacketMirroring] kind: str @@ -5814,37 +5667,33 @@ class PacketMirroringList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PacketMirroringMirroredResourceInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringMirroredResourceInfo(typing.TypedDict, total=False): instances: _list[PacketMirroringMirroredResourceInfoInstanceInfo] subnetworks: _list[PacketMirroringMirroredResourceInfoSubnetInfo] tags: _list[str] @typing.type_check_only -class PacketMirroringMirroredResourceInfoInstanceInfo( - typing_extensions.TypedDict, total=False -): +class PacketMirroringMirroredResourceInfoInstanceInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringMirroredResourceInfoSubnetInfo( - typing_extensions.TypedDict, total=False -): +class PacketMirroringMirroredResourceInfoSubnetInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringNetworkInfo(typing_extensions.TypedDict, total=False): +class PacketMirroringNetworkInfo(typing.TypedDict, total=False): canonicalUrl: str url: str @typing.type_check_only -class PacketMirroringsScopedList(typing_extensions.TypedDict, total=False): +class PacketMirroringsScopedList(typing.TypedDict, total=False): packetMirrorings: _list[PacketMirroring] warning: dict[str, typing.Any] @typing.type_check_only -class PathMatcher(typing_extensions.TypedDict, total=False): +class PathMatcher(typing.TypedDict, total=False): defaultCustomErrorResponsePolicy: CustomErrorResponsePolicy defaultRouteAction: HttpRouteAction defaultService: str @@ -5856,7 +5705,7 @@ class PathMatcher(typing_extensions.TypedDict, total=False): routeRules: _list[HttpRouteRule] @typing.type_check_only -class PathRule(typing_extensions.TypedDict, total=False): +class PathRule(typing.TypedDict, total=False): customErrorResponsePolicy: CustomErrorResponsePolicy paths: _list[str] routeAction: HttpRouteAction @@ -5864,17 +5713,17 @@ class PathRule(typing_extensions.TypedDict, total=False): urlRedirect: HttpRedirectAction @typing.type_check_only -class PerInstanceConfig(typing_extensions.TypedDict, total=False): +class PerInstanceConfig(typing.TypedDict, total=False): fingerprint: str name: str preservedState: PreservedState - status: typing_extensions.Literal[ + status: typing.Literal[ "APPLYING", "DELETING", "EFFECTIVE", "NONE", "UNAPPLIED", "UNAPPLIED_DELETION" ] @typing.type_check_only -class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=False): - subType: typing_extensions.Literal[ +class PeriodicPartialMaintenanceSchedule(typing.TypedDict, total=False): + subType: typing.Literal[ "MAINTENANCE_SUBTYPE_UNSPECIFIED", "MAINTENANCE_TYPE_CUSTOMER_MAINTENANCE", "MAINTENANCE_TYPE_DISRUPTIVE_UPGRADE", @@ -5882,51 +5731,47 @@ class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=Fals "MAINTENANCE_TYPE_TRANSITION", ] targetResource: str - type: typing_extensions.Literal[ - "MAINTENANCE_TYPE_UNSPECIFIED", "PRIVATE_ZONE_MAINTENANCE" - ] + type: typing.Literal["MAINTENANCE_TYPE_UNSPECIFIED", "PRIVATE_ZONE_MAINTENANCE"] windowEndTime: DateTime windowStartTime: DateTime @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PreconfiguredWafSet(typing_extensions.TypedDict, total=False): +class PreconfiguredWafSet(typing.TypedDict, total=False): expressionSets: _list[WafExpressionSet] @typing.type_check_only -class PreservedState(typing_extensions.TypedDict, total=False): +class PreservedState(typing.TypedDict, total=False): disks: dict[str, typing.Any] externalIPs: dict[str, typing.Any] internalIPs: dict[str, typing.Any] metadata: dict[str, typing.Any] @typing.type_check_only -class PreservedStatePreservedDisk(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] +class PreservedStatePreservedDisk(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] source: str @typing.type_check_only -class PreservedStatePreservedNetworkIp(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class PreservedStatePreservedNetworkIp(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] ipAddress: PreservedStatePreservedNetworkIpIpAddress @typing.type_check_only -class PreservedStatePreservedNetworkIpIpAddress( - typing_extensions.TypedDict, total=False -): +class PreservedStatePreservedNetworkIpIpAddress(typing.TypedDict, total=False): address: str literal: str @typing.type_check_only -class PreviewFeature(typing_extensions.TypedDict, total=False): - activationStatus: typing_extensions.Literal[ +class PreviewFeature(typing.TypedDict, total=False): + activationStatus: typing.Literal[ "ACTIVATION_STATE_UNSPECIFIED", "DISABLED", "ENABLED" ] creationTimestamp: str @@ -5939,7 +5784,7 @@ class PreviewFeature(typing_extensions.TypedDict, total=False): status: PreviewFeatureStatus @typing.type_check_only -class PreviewFeatureList(typing_extensions.TypedDict, total=False): +class PreviewFeatureList(typing.TypedDict, total=False): etag: str id: str items: _list[PreviewFeature] @@ -5949,39 +5794,37 @@ class PreviewFeatureList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PreviewFeatureRolloutOperation(typing_extensions.TypedDict, total=False): +class PreviewFeatureRolloutOperation(typing.TypedDict, total=False): rolloutInput: PreviewFeatureRolloutOperationRolloutInput @typing.type_check_only -class PreviewFeatureRolloutOperationRolloutInput( - typing_extensions.TypedDict, total=False -): +class PreviewFeatureRolloutOperationRolloutInput(typing.TypedDict, total=False): name: str - predefinedRolloutPlan: typing_extensions.Literal[ + predefinedRolloutPlan: typing.Literal[ "ROLLOUT_PLAN_FAST_ROLLOUT", "ROLLOUT_PLAN_TWO_DAY_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", ] @typing.type_check_only -class PreviewFeatureStatus(typing_extensions.TypedDict, total=False): +class PreviewFeatureStatus(typing.TypedDict, total=False): description: str helpLink: str releaseStatus: PreviewFeatureStatusReleaseStatus @typing.type_check_only -class PreviewFeatureStatusReleaseStatus(typing_extensions.TypedDict, total=False): - stage: typing_extensions.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] +class PreviewFeatureStatusReleaseStatus(typing.TypedDict, total=False): + stage: typing.Literal["DEPRECATED", "GA", "PREVIEW", "STAGE_UNSPECIFIED"] updateDate: Date @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): - cloudArmorTier: typing_extensions.Literal[ +class Project(typing.TypedDict, total=False): + cloudArmorTier: typing.Literal[ "CA_ENTERPRISE_ANNUAL", "CA_ENTERPRISE_PAYGO", "CA_STANDARD" ] commonInstanceMetadata: Metadata creationTimestamp: str - defaultNetworkTier: typing_extensions.Literal[ + defaultNetworkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] defaultServiceAccount: str @@ -5993,60 +5836,58 @@ class Project(typing_extensions.TypedDict, total=False): quotas: _list[Quota] selfLink: str usageExportLocation: UsageExportLocation - vmDnsSetting: typing_extensions.Literal[ + vmDnsSetting: typing.Literal[ "GLOBAL_DEFAULT", "UNSPECIFIED_VM_DNS_SETTING", "ZONAL_DEFAULT", "ZONAL_ONLY" ] - xpnProjectStatus: typing_extensions.Literal[ - "HOST", "UNSPECIFIED_XPN_PROJECT_STATUS" - ] + xpnProjectStatus: typing.Literal["HOST", "UNSPECIFIED_XPN_PROJECT_STATUS"] @typing.type_check_only -class ProjectsDisableXpnResourceRequest(typing_extensions.TypedDict, total=False): +class ProjectsDisableXpnResourceRequest(typing.TypedDict, total=False): xpnResource: XpnResourceId @typing.type_check_only -class ProjectsEnableXpnResourceRequest(typing_extensions.TypedDict, total=False): +class ProjectsEnableXpnResourceRequest(typing.TypedDict, total=False): xpnResource: XpnResourceId @typing.type_check_only -class ProjectsGetXpnResources(typing_extensions.TypedDict, total=False): +class ProjectsGetXpnResources(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[XpnResourceId] @typing.type_check_only -class ProjectsListXpnHostsRequest(typing_extensions.TypedDict, total=False): +class ProjectsListXpnHostsRequest(typing.TypedDict, total=False): organization: str @typing.type_check_only -class ProjectsSetCloudArmorTierRequest(typing_extensions.TypedDict, total=False): - cloudArmorTier: typing_extensions.Literal[ +class ProjectsSetCloudArmorTierRequest(typing.TypedDict, total=False): + cloudArmorTier: typing.Literal[ "CA_ENTERPRISE_ANNUAL", "CA_ENTERPRISE_PAYGO", "CA_STANDARD" ] @typing.type_check_only -class ProjectsSetDefaultNetworkTierRequest(typing_extensions.TypedDict, total=False): - networkTier: typing_extensions.Literal[ +class ProjectsSetDefaultNetworkTierRequest(typing.TypedDict, total=False): + networkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] @typing.type_check_only -class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): - byoipApiVersion: typing_extensions.Literal["V1", "V2"] +class PublicAdvertisedPrefix(typing.TypedDict, total=False): + byoipApiVersion: typing.Literal["V1", "V2"] creationTimestamp: str description: str dnsVerificationIp: str fingerprint: str id: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] kind: str name: str - pdpScope: typing_extensions.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] + pdpScope: typing.Literal["GLOBAL", "GLOBAL_AND_REGIONAL", "REGIONAL"] publicDelegatedPrefixs: _list[PublicAdvertisedPrefixPublicDelegatedPrefix] selfLink: str sharedSecret: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ANNOUNCED_TO_INTERNET", "INITIAL", "PREFIX_CONFIGURATION_COMPLETE", @@ -6059,7 +5900,7 @@ class PublicAdvertisedPrefix(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PublicAdvertisedPrefixList(typing_extensions.TypedDict, total=False): +class PublicAdvertisedPrefixList(typing.TypedDict, total=False): id: str items: _list[PublicAdvertisedPrefix] kind: str @@ -6068,9 +5909,7 @@ class PublicAdvertisedPrefixList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PublicAdvertisedPrefixPublicDelegatedPrefix( - typing_extensions.TypedDict, total=False -): +class PublicAdvertisedPrefixPublicDelegatedPrefix(typing.TypedDict, total=False): ipRange: str name: str project: str @@ -6078,19 +5917,19 @@ class PublicAdvertisedPrefixPublicDelegatedPrefix( status: str @typing.type_check_only -class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefix(typing.TypedDict, total=False): allocatablePrefixLength: int - byoipApiVersion: typing_extensions.Literal["V1", "V2"] + byoipApiVersion: typing.Literal["V1", "V2"] creationTimestamp: str description: str enableEnhancedIpv4Allocation: bool fingerprint: str id: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] isLiveMigration: bool kind: str - mode: typing_extensions.Literal[ + mode: typing.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", @@ -6101,7 +5940,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): publicDelegatedSubPrefixs: _list[PublicDelegatedPrefixPublicDelegatedSubPrefix] region: str selfLink: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "ANNOUNCED", "ANNOUNCED_TO_GOOGLE", @@ -6112,7 +5951,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PublicDelegatedPrefixAggregatedList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6122,7 +5961,7 @@ class PublicDelegatedPrefixAggregatedList(typing_extensions.TypedDict, total=Fal warning: dict[str, typing.Any] @typing.type_check_only -class PublicDelegatedPrefixList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixList(typing.TypedDict, total=False): id: str items: _list[PublicDelegatedPrefix] kind: str @@ -6131,17 +5970,15 @@ class PublicDelegatedPrefixList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class PublicDelegatedPrefixPublicDelegatedSubPrefix( - typing_extensions.TypedDict, total=False -): +class PublicDelegatedPrefixPublicDelegatedSubPrefix(typing.TypedDict, total=False): allocatablePrefixLength: int delegateeProject: str description: str enableEnhancedIpv4Allocation: bool ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] isAddress: bool - mode: typing_extensions.Literal[ + mode: typing.Literal[ "DELEGATION", "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", "EXTERNAL_IPV6_SUBNETWORK_CREATION", @@ -6149,17 +5986,17 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( ] name: str region: str - status: typing_extensions.Literal["ACTIVE", "INACTIVE"] + status: typing.Literal["ACTIVE", "INACTIVE"] @typing.type_check_only -class PublicDelegatedPrefixesScopedList(typing_extensions.TypedDict, total=False): +class PublicDelegatedPrefixesScopedList(typing.TypedDict, total=False): publicDelegatedPrefixes: _list[PublicDelegatedPrefix] warning: dict[str, typing.Any] @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limit: float - metric: typing_extensions.Literal[ + metric: typing.Literal[ "A2_CPUS", "AFFINITY_GROUPS", "AUTOSCALERS", @@ -6329,25 +6166,28 @@ class Quota(typing_extensions.TypedDict, total=False): usage: float @typing.type_check_only -class QuotaExceededInfo(typing_extensions.TypedDict, total=False): +class QuotaExceededInfo(typing.TypedDict, total=False): dimensions: dict[str, typing.Any] futureLimit: float limit: float limitName: str metricName: str - rolloutStatus: typing_extensions.Literal[ - "IN_PROGRESS", "ROLLOUT_STATUS_UNSPECIFIED" - ] + rolloutStatus: typing.Literal["IN_PROGRESS", "ROLLOUT_STATUS_UNSPECIFIED"] @typing.type_check_only -class Reference(typing_extensions.TypedDict, total=False): +class Reference(typing.TypedDict, total=False): kind: str referenceType: str referrer: str target: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class RegexRewrite(typing.TypedDict, total=False): + pathPattern: str + pathSubstitution: str + +@typing.type_check_only +class Region(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -6357,17 +6197,17 @@ class Region(typing_extensions.TypedDict, total=False): quotaStatusWarning: dict[str, typing.Any] quotas: _list[Quota] selfLink: str - status: typing_extensions.Literal["DOWN", "UP"] + status: typing.Literal["DOWN", "UP"] supportsPzs: bool zones: _list[str] @typing.type_check_only -class RegionAddressesMoveRequest(typing_extensions.TypedDict, total=False): +class RegionAddressesMoveRequest(typing.TypedDict, total=False): description: str destinationAddress: str @typing.type_check_only -class RegionAutoscalerList(typing_extensions.TypedDict, total=False): +class RegionAutoscalerList(typing.TypedDict, total=False): id: str items: _list[Autoscaler] kind: str @@ -6376,7 +6216,7 @@ class RegionAutoscalerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionDiskTypeList(typing_extensions.TypedDict, total=False): +class RegionDiskTypeList(typing.TypedDict, total=False): id: str items: _list[DiskType] kind: str @@ -6385,29 +6225,27 @@ class RegionDiskTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionDiskUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class RegionDiskUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class RegionDisksAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): +class RegionDisksAddResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class RegionDisksRemoveResourcePoliciesRequest( - typing_extensions.TypedDict, total=False -): +class RegionDisksRemoveResourcePoliciesRequest(typing.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class RegionDisksResizeRequest(typing_extensions.TypedDict, total=False): +class RegionDisksResizeRequest(typing.TypedDict, total=False): sizeGb: str @typing.type_check_only -class RegionDisksStartAsyncReplicationRequest(typing_extensions.TypedDict, total=False): +class RegionDisksStartAsyncReplicationRequest(typing.TypedDict, total=False): asyncSecondaryDisk: str @typing.type_check_only -class RegionInstanceGroupList(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupList(typing.TypedDict, total=False): id: str items: _list[InstanceGroup] kind: str @@ -6416,13 +6254,11 @@ class RegionInstanceGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerDeleteInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerDeleteInstanceConfigReq(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class RegionInstanceGroupManagerList(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupManagerList(typing.TypedDict, total=False): id: str items: _list[InstanceGroupManager] kind: str @@ -6431,14 +6267,12 @@ class RegionInstanceGroupManagerList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerPatchInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerPatchInstanceConfigReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only class RegionInstanceGroupManagerResizeRequestsListResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str id: str @@ -6450,110 +6284,78 @@ class RegionInstanceGroupManagerResizeRequestsListResponse( warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagerUpdateInstanceConfigReq( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagerUpdateInstanceConfigReq(typing.TypedDict, total=False): perInstanceConfigs: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersAbandonInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersAbandonInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersApplyUpdatesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersApplyUpdatesRequest(typing.TypedDict, total=False): allInstances: bool instances: _list[str] - minimalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] - mostDisruptiveAllowedAction: typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART" - ] + minimalAction: typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] + mostDisruptiveAllowedAction: typing.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] @typing.type_check_only -class RegionInstanceGroupManagersCreateInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersCreateInstancesRequest(typing.TypedDict, total=False): instances: _list[PerInstanceConfig] @typing.type_check_only -class RegionInstanceGroupManagersDeleteInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersDeleteInstancesRequest(typing.TypedDict, total=False): instances: _list[str] skipInstancesOnValidationError: bool @typing.type_check_only -class RegionInstanceGroupManagersListErrorsResponse( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListErrorsResponse(typing.TypedDict, total=False): items: _list[InstanceManagedByIgmError] nextPageToken: str @typing.type_check_only -class RegionInstanceGroupManagersListInstanceConfigsResp( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListInstanceConfigsResp(typing.TypedDict, total=False): items: _list[PerInstanceConfig] nextPageToken: str warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupManagersListInstancesResponse( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersListInstancesResponse(typing.TypedDict, total=False): managedInstances: _list[ManagedInstance] nextPageToken: str @typing.type_check_only -class RegionInstanceGroupManagersRecreateRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersRecreateRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersResumeInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersResumeInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSetTargetPoolsRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetTargetPoolsRequest(typing.TypedDict, total=False): fingerprint: str targetPools: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSetTemplateRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSetTemplateRequest(typing.TypedDict, total=False): instanceTemplate: str @typing.type_check_only -class RegionInstanceGroupManagersStartInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersStartInstancesRequest(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersStopInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersStopInstancesRequest(typing.TypedDict, total=False): forceStop: bool instances: _list[str] @typing.type_check_only -class RegionInstanceGroupManagersSuspendInstancesRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupManagersSuspendInstancesRequest(typing.TypedDict, total=False): forceSuspend: bool instances: _list[str] @typing.type_check_only -class RegionInstanceGroupsListInstances(typing_extensions.TypedDict, total=False): +class RegionInstanceGroupsListInstances(typing.TypedDict, total=False): id: str items: _list[InstanceWithNamedPorts] kind: str @@ -6562,21 +6364,17 @@ class RegionInstanceGroupsListInstances(typing_extensions.TypedDict, total=False warning: dict[str, typing.Any] @typing.type_check_only -class RegionInstanceGroupsListInstancesRequest( - typing_extensions.TypedDict, total=False -): - instanceState: typing_extensions.Literal["ALL", "RUNNING"] +class RegionInstanceGroupsListInstancesRequest(typing.TypedDict, total=False): + instanceState: typing.Literal["ALL", "RUNNING"] portName: str @typing.type_check_only -class RegionInstanceGroupsSetNamedPortsRequest( - typing_extensions.TypedDict, total=False -): +class RegionInstanceGroupsSetNamedPortsRequest(typing.TypedDict, total=False): fingerprint: str namedPorts: _list[NamedPort] @typing.type_check_only -class RegionList(typing_extensions.TypedDict, total=False): +class RegionList(typing.TypedDict, total=False): id: str items: _list[Region] kind: str @@ -6585,20 +6383,16 @@ class RegionList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RegionNetworkEndpointGroupsAttachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class RegionNetworkEndpointGroupsAttachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only -class RegionNetworkEndpointGroupsDetachEndpointsRequest( - typing_extensions.TypedDict, total=False -): +class RegionNetworkEndpointGroupsDetachEndpointsRequest(typing.TypedDict, total=False): networkEndpoints: _list[NetworkEndpoint] @typing.type_check_only class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firewallPolicys: _list[ RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy @@ -6607,14 +6401,14 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( @typing.type_check_only class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str packetMirroringRules: _list[FirewallPolicyRule] priority: int rules: _list[FirewallPolicyRule] - type: typing_extensions.Literal[ + type: typing.Literal[ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", @@ -6624,94 +6418,111 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal ] @typing.type_check_only -class RegionSetLabelsRequest(typing_extensions.TypedDict, total=False): +class RegionSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class RegionSetPolicyRequest(typing_extensions.TypedDict, total=False): +class RegionSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class RegionSnapshotUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class RegionSnapshotUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class RegionTargetHttpsProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class RegionTargetHttpsProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class RegionUrlMapsValidateRequest(typing_extensions.TypedDict, total=False): +class RegionUrlMapsValidateRequest(typing.TypedDict, total=False): resource: UrlMap @typing.type_check_only -class RequestMirrorPolicy(typing_extensions.TypedDict, total=False): +class ReliabilityRisk(typing.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.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.TypedDict, total=False): backendService: str mirrorPercent: float @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation commitment: str - confidentialComputeType: typing_extensions.Literal[ + confidentialComputeType: typing.Literal[ "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" ] creationTimestamp: str deleteAfterDuration: Duration deleteAtTime: str - deploymentType: typing_extensions.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] + deploymentType: typing.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] description: str - earlyAccessMaintenance: typing_extensions.Literal[ - "NO_EARLY_ACCESS", "WAVE1", "WAVE2" - ] + earlyAccessMaintenance: typing.Literal["NO_EARLY_ACCESS", "WAVE1", "WAVE2"] enableEmergentMaintenance: bool id: str kind: str linkedCommitments: _list[str] name: str params: ReservationParams - protectionTier: typing_extensions.Literal[ + protectionTier: typing.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] reservationSharingPolicy: AllocationReservationSharingPolicy + resourceMetadata: ResourceMetadata resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus satisfiesPzs: bool - schedulingType: typing_extensions.Literal[ + schedulingType: typing.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" ] selfLink: str shareSettings: ShareSettings specificReservation: AllocationSpecificSKUReservation specificReservationRequired: bool - status: typing_extensions.Literal[ - "CREATING", "DELETING", "INVALID", "READY", "UPDATING" - ] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY", "UPDATING"] zone: str @typing.type_check_only -class ReservationAdvancedDeploymentControl(typing_extensions.TypedDict, total=False): - reservationOperationalMode: typing_extensions.Literal[ +class ReservationAdvancedDeploymentControl(typing.TypedDict, total=False): + reservationOperationalMode: typing.Literal[ "ALL_CAPACITY", "HIGHLY_AVAILABLE_CAPACITY", "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED", ] @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "ANY_RESERVATION", "NO_RESERVATION", "SPECIFIC_RESERVATION", "UNSPECIFIED" ] key: str values: _list[str] @typing.type_check_only -class ReservationAggregatedList(typing_extensions.TypedDict, total=False): +class ReservationAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -6721,7 +6532,7 @@ class ReservationAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationBlock(typing_extensions.TypedDict, total=False): +class ReservationBlock(typing.TypedDict, total=False): count: int creationTimestamp: str healthInfo: ReservationBlockHealthInfo @@ -6736,44 +6547,40 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): reservationSubBlockInUseCount: int selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class ReservationBlockHealthInfo(typing_extensions.TypedDict, total=False): +class ReservationBlockHealthInfo(typing.TypedDict, total=False): degradedSubBlockCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthySubBlockCount: int @typing.type_check_only -class ReservationBlockPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationBlockPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str instances: _list[ReservationBlockPhysicalTopologyInstance] @typing.type_check_only -class ReservationBlockPhysicalTopologyInstance( - typing_extensions.TypedDict, total=False -): +class ReservationBlockPhysicalTopologyInstance(typing.TypedDict, total=False): instanceId: str physicalHostTopology: ReservationBlockPhysicalTopologyInstancePhysicalHostTopology projectId: str @typing.type_check_only class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str subBlock: str @typing.type_check_only -class ReservationBlocksGetResponse(typing_extensions.TypedDict, total=False): +class ReservationBlocksGetResponse(typing.TypedDict, total=False): resource: ReservationBlock @typing.type_check_only -class ReservationBlocksListResponse(typing_extensions.TypedDict, total=False): +class ReservationBlocksListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationBlock] kind: str @@ -6782,7 +6589,7 @@ class ReservationBlocksListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationList(typing_extensions.TypedDict, total=False): +class ReservationList(typing.TypedDict, total=False): id: str items: _list[Reservation] kind: str @@ -6791,11 +6598,11 @@ class ReservationList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationParams(typing_extensions.TypedDict, total=False): +class ReservationParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class ReservationSlot(typing_extensions.TypedDict, total=False): +class ReservationSlot(typing.TypedDict, total=False): creationTimestamp: str id: str kind: str @@ -6804,33 +6611,33 @@ class ReservationSlot(typing_extensions.TypedDict, total=False): selfLink: str selfLinkWithId: str shareSettings: ShareSettings - state: typing_extensions.Literal[ + state: typing.Literal[ "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" ] status: ReservationSlotStatus zone: str @typing.type_check_only -class ReservationSlotPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationSlotPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str host: str subBlock: str @typing.type_check_only -class ReservationSlotStatus(typing_extensions.TypedDict, total=False): +class ReservationSlotStatus(typing.TypedDict, total=False): physicalTopology: ReservationSlotPhysicalTopology rdmaIpAddresses: _list[str] runningInstances: _list[str] @typing.type_check_only -class ReservationSlotsGetResponse(typing_extensions.TypedDict, total=False): +class ReservationSlotsGetResponse(typing.TypedDict, total=False): resource: ReservationSlot @typing.type_check_only -class ReservationSlotsGetVersionRequest(typing_extensions.TypedDict, total=False): +class ReservationSlotsGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -6838,7 +6645,7 @@ class ReservationSlotsGetVersionRequest(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): +class ReservationSlotsListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationSlot] kind: str @@ -6847,7 +6654,7 @@ class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ReservationSubBlock(typing_extensions.TypedDict, total=False): +class ReservationSubBlock(typing.TypedDict, total=False): acceleratorTopologiesInfo: AcceleratorTopologiesInfo count: int creationTimestamp: str @@ -6861,33 +6668,31 @@ class ReservationSubBlock(typing_extensions.TypedDict, total=False): reservationSubBlockMaintenance: GroupMaintenanceInfo selfLink: str selfLinkWithId: str - status: typing_extensions.Literal["CREATING", "DELETING", "INVALID", "READY"] + status: typing.Literal["CREATING", "DELETING", "INVALID", "READY"] zone: str @typing.type_check_only -class ReservationSubBlockHealthInfo(typing_extensions.TypedDict, total=False): +class ReservationSubBlockHealthInfo(typing.TypedDict, total=False): degradedHostCount: int degradedInfraCount: int - healthStatus: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED" - ] + healthStatus: typing.Literal["DEGRADED", "HEALTHY", "HEALTH_STATUS_UNSPECIFIED"] healthyHostCount: int healthyInfraCount: int @typing.type_check_only -class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=False): +class ReservationSubBlockPhysicalTopology(typing.TypedDict, total=False): block: str cluster: str subBlock: str @typing.type_check_only -class ReservationSubBlocksGetResponse(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksGetResponse(typing.TypedDict, total=False): resource: ReservationSubBlock @typing.type_check_only -class ReservationSubBlocksGetVersionRequest(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksGetVersionRequest(typing.TypedDict, total=False): sbomSelections: _list[ - typing_extensions.Literal[ + typing.Literal[ "SBOM_SELECTION_CURRENT", "SBOM_SELECTION_TARGET", "SBOM_SELECTION_UNSPECIFIED", @@ -6895,7 +6700,7 @@ class ReservationSubBlocksGetVersionRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False): +class ReservationSubBlocksListResponse(typing.TypedDict, total=False): id: str items: _list[ReservationSubBlock] kind: str @@ -6904,20 +6709,16 @@ class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False) warning: dict[str, typing.Any] @typing.type_check_only -class ReservationSubBlocksReportFaultyRequest(typing_extensions.TypedDict, total=False): - disruptionSchedule: typing_extensions.Literal[ - "DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE" - ] - failureComponent: typing_extensions.Literal[ +class ReservationSubBlocksReportFaultyRequest(typing.TypedDict, total=False): + disruptionSchedule: typing.Literal["DISRUPTION_SCHEDULE_UNSPECIFIED", "IMMEDIATE"] + failureComponent: typing.Literal[ "FAILURE_COMPONENT_UNSPECIFIED", "MULTIPLE_FAULTY_HOSTS", "NVLINK_SWITCH" ] faultReasons: _list[ReservationSubBlocksReportFaultyRequestFaultReason] @typing.type_check_only -class ReservationSubBlocksReportFaultyRequestFaultReason( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal[ +class ReservationSubBlocksReportFaultyRequestFaultReason(typing.TypedDict, total=False): + behavior: typing.Literal[ "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", @@ -6927,47 +6728,48 @@ class ReservationSubBlocksReportFaultyRequestFaultReason( description: str @typing.type_check_only -class ReservationsBlocksPerformMaintenanceRequest( - typing_extensions.TypedDict, total=False -): - maintenanceScope: typing_extensions.Literal[ +class ReservationsBlocksPerformMaintenanceRequest(typing.TypedDict, total=False): + maintenanceScope: typing.Literal[ "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" ] @typing.type_check_only -class ReservationsPerformMaintenanceRequest(typing_extensions.TypedDict, total=False): - maintenanceScope: typing_extensions.Literal[ +class ReservationsPerformMaintenanceRequest(typing.TypedDict, total=False): + maintenanceScope: typing.Literal[ "ALL", "MAINTENANCE_SCOPE_UNSPECIFIED", "RUNNING_VMS", "UNUSED_CAPACITY" ] @typing.type_check_only -class ReservationsResizeRequest(typing_extensions.TypedDict, total=False): +class ReservationsResizeRequest(typing.TypedDict, total=False): specificSkuCount: str @typing.type_check_only -class ReservationsScopedList(typing_extensions.TypedDict, total=False): +class ReservationsScopedList(typing.TypedDict, total=False): reservations: _list[Reservation] warning: dict[str, typing.Any] @typing.type_check_only -class ResourceCommitment(typing_extensions.TypedDict, total=False): +class ResourceCommitment(typing.TypedDict, total=False): acceleratorType: str amount: str - type: typing_extensions.Literal[ - "ACCELERATOR", "LOCAL_SSD", "MEMORY", "UNSPECIFIED", "VCPU" - ] + type: typing.Literal["ACCELERATOR", "LOCAL_SSD", "MEMORY", "UNSPECIFIED", "VCPU"] @typing.type_check_only -class ResourceGroupReference(typing_extensions.TypedDict, total=False): +class ResourceGroupReference(typing.TypedDict, total=False): group: str @typing.type_check_only -class ResourcePoliciesScopedList(typing_extensions.TypedDict, total=False): +class ResourceMetadata(typing.TypedDict, total=False): + apiVersion: str + resourceType: str + +@typing.type_check_only +class ResourcePoliciesScopedList(typing.TypedDict, total=False): resourcePolicies: _list[ResourcePolicy] warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicy(typing.TypedDict, total=False): creationTimestamp: str description: str diskConsistencyGroupPolicy: ResourcePolicyDiskConsistencyGroupPolicy @@ -6980,13 +6782,11 @@ class ResourcePolicy(typing_extensions.TypedDict, total=False): resourceStatus: ResourcePolicyResourceStatus selfLink: str snapshotSchedulePolicy: ResourcePolicySnapshotSchedulePolicy - status: typing_extensions.Literal[ - "CREATING", "DELETING", "EXPIRED", "INVALID", "READY" - ] + status: typing.Literal["CREATING", "DELETING", "EXPIRED", "INVALID", "READY"] workloadPolicy: ResourcePolicyWorkloadPolicy @typing.type_check_only -class ResourcePolicyAggregatedList(typing_extensions.TypedDict, total=False): +class ResourcePolicyAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -6997,32 +6797,30 @@ class ResourcePolicyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicyDailyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyDailyCycle(typing.TypedDict, total=False): daysInCycle: int duration: str startTime: str @typing.type_check_only -class ResourcePolicyDiskConsistencyGroupPolicy( - typing_extensions.TypedDict, total=False -): ... +class ResourcePolicyDiskConsistencyGroupPolicy(typing.TypedDict, total=False): ... @typing.type_check_only -class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): - acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] +class ResourcePolicyGroupPlacementPolicy(typing.TypedDict, total=False): + acceleratorTopologyMode: typing.Literal["AUTO_CONNECT", "PROVISION_ONLY"] availabilityDomainCount: int - collocation: typing_extensions.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] + collocation: typing.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] gpuTopology: str vmCount: int @typing.type_check_only -class ResourcePolicyHourlyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyHourlyCycle(typing.TypedDict, total=False): duration: str hoursInCycle: int startTime: str @typing.type_check_only -class ResourcePolicyInstanceSchedulePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicyInstanceSchedulePolicy(typing.TypedDict, total=False): expirationTime: str startTime: str timeZone: str @@ -7030,13 +6828,11 @@ class ResourcePolicyInstanceSchedulePolicy(typing_extensions.TypedDict, total=Fa vmStopSchedule: ResourcePolicyInstanceSchedulePolicySchedule @typing.type_check_only -class ResourcePolicyInstanceSchedulePolicySchedule( - typing_extensions.TypedDict, total=False -): +class ResourcePolicyInstanceSchedulePolicySchedule(typing.TypedDict, total=False): schedule: str @typing.type_check_only -class ResourcePolicyList(typing_extensions.TypedDict, total=False): +class ResourcePolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[ResourcePolicy] @@ -7046,44 +6842,42 @@ class ResourcePolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ResourcePolicyResourceStatus(typing_extensions.TypedDict, total=False): +class ResourcePolicyResourceStatus(typing.TypedDict, total=False): instanceSchedulePolicy: ResourcePolicyResourceStatusInstanceSchedulePolicyStatus @typing.type_check_only class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lastRunStartTime: str nextRunStartTime: str @typing.type_check_only -class ResourcePolicySnapshotSchedulePolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicySnapshotSchedulePolicy(typing.TypedDict, total=False): retentionPolicy: ResourcePolicySnapshotSchedulePolicyRetentionPolicy schedule: ResourcePolicySnapshotSchedulePolicySchedule snapshotProperties: ResourcePolicySnapshotSchedulePolicySnapshotProperties @typing.type_check_only class ResourcePolicySnapshotSchedulePolicyRetentionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxRetentionDays: int - onSourceDiskDelete: typing_extensions.Literal[ + onSourceDiskDelete: typing.Literal[ "APPLY_RETENTION_POLICY", "KEEP_AUTO_SNAPSHOTS", "UNSPECIFIED_ON_SOURCE_DISK_DELETE", ] @typing.type_check_only -class ResourcePolicySnapshotSchedulePolicySchedule( - typing_extensions.TypedDict, total=False -): +class ResourcePolicySnapshotSchedulePolicySchedule(typing.TypedDict, total=False): dailySchedule: ResourcePolicyDailyCycle hourlySchedule: ResourcePolicyHourlyCycle weeklySchedule: ResourcePolicyWeeklyCycle @typing.type_check_only class ResourcePolicySnapshotSchedulePolicySnapshotProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chainName: str guestFlush: bool @@ -7091,12 +6885,12 @@ class ResourcePolicySnapshotSchedulePolicySnapshotProperties( storageLocations: _list[str] @typing.type_check_only -class ResourcePolicyWeeklyCycle(typing_extensions.TypedDict, total=False): +class ResourcePolicyWeeklyCycle(typing.TypedDict, total=False): dayOfWeeks: _list[ResourcePolicyWeeklyCycleDayOfWeek] @typing.type_check_only -class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ResourcePolicyWeeklyCycleDayOfWeek(typing.TypedDict, total=False): + day: typing.Literal[ "FRIDAY", "INVALID", "MONDAY", @@ -7110,23 +6904,24 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals startTime: str @typing.type_check_only -class ResourcePolicyWorkloadPolicy(typing_extensions.TypedDict, total=False): +class ResourcePolicyWorkloadPolicy(typing.TypedDict, total=False): acceleratorTopology: str - acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] - maxTopologyDistance: typing_extensions.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] - type: typing_extensions.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] + acceleratorTopologyMode: typing.Literal["AUTO_CONNECT", "PROVISION_ONLY"] + maxTopologyDistance: typing.Literal["BLOCK", "CLUSTER", "SUBBLOCK"] + type: typing.Literal["HIGH_AVAILABILITY", "HIGH_THROUGHPUT"] @typing.type_check_only -class ResourceStatus(typing_extensions.TypedDict, total=False): +class ResourceStatus(typing.TypedDict, total=False): effectiveInstanceMetadata: ResourceStatusEffectiveInstanceMetadata physicalHost: str physicalHostTopology: ResourceStatusPhysicalHostTopology reservationConsumptionInfo: ResourceStatusReservationConsumptionInfo scheduling: ResourceStatusScheduling + shutdownDetails: ResourceStatusShutdownDetails upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total=False): +class ResourceStatusEffectiveInstanceMetadata(typing.TypedDict, total=False): blockProjectSshKeysMetadataValue: bool enableGuestAttributesMetadataValue: bool enableOsInventoryMetadataValue: bool @@ -7138,7 +6933,7 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total vmDnsSettingMetadataValue: str @typing.type_check_only -class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=False): +class ResourceStatusPhysicalHostTopology(typing.TypedDict, total=False): additionalAttributes: ResourceStatusPhysicalHostTopologyAdditionalAttributes block: str cluster: str @@ -7147,22 +6942,53 @@ class ResourceStatusPhysicalHostTopology(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ResourceStatusPhysicalHostTopologyAdditionalAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorTopologyIds: dict[str, typing.Any] @typing.type_check_only -class ResourceStatusReservationConsumptionInfo( - typing_extensions.TypedDict, total=False -): +class ResourceStatusReservationConsumptionInfo(typing.TypedDict, total=False): consumedReservation: str + consumedReservationBlock: str + consumedReservationSubBlock: str @typing.type_check_only -class ResourceStatusScheduling(typing_extensions.TypedDict, total=False): +class ResourceStatusScheduling(typing.TypedDict, total=False): availabilityDomain: int + gracefulShutdownTimestamp: str + terminationTimestamp: str + +@typing.type_check_only +class ResourceStatusShutdownDetails(typing.TypedDict, total=False): + maxDuration: Duration + requestTimestamp: str + stopState: typing.Literal["PENDING_STOP", "STOPPING"] + targetState: typing.Literal["DELETED", "STOPPED"] @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class RiskDetails(typing.TypedDict, total=False): + duration: str + globalDnsInsight: RiskDetailsGlobalDnsInsight + lastUpdateTimestamp: str + severity: typing.Literal[ + "CRITICAL", "HIGH", "LOW", "MEDIUM", "SEVERITY_UNSPECIFIED" + ] + type: typing.Literal["GLOBAL_DNS", "RISK_TYPE_UNSPECIFIED"] + +@typing.type_check_only +class RiskDetailsGlobalDnsInsight(typing.TypedDict, total=False): + projectDefaultIsGlobalDns: bool + queryObservationWindow: str + riskyQueryCount: str + totalQueryCount: str + +@typing.type_check_only +class RiskRecommendation(typing.TypedDict, total=False): + content: str + referenceUrl: str + +@typing.type_check_only +class Rollout(typing.TypedDict, total=False): cancellationTime: str completionTime: str creationTimestamp: str @@ -7178,7 +7004,7 @@ class Rollout(typing_extensions.TypedDict, total=False): rolloutPlan: str selfLink: str selfLinkWithId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "CANCELLED", "CANCELLING", "CANCEL_FAILED", @@ -7201,21 +7027,19 @@ class Rollout(typing_extensions.TypedDict, total=False): waveDetails: _list[RolloutWaveDetails] @typing.type_check_only -class RolloutPlan(typing_extensions.TypedDict, total=False): +class RolloutPlan(typing.TypedDict, total=False): creationTimestamp: str description: str id: str kind: str - locationScope: typing_extensions.Literal[ - "LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL" - ] + locationScope: typing.Literal["LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL"] name: str selfLink: str selfLinkWithId: str waves: _list[RolloutPlanWave] @typing.type_check_only -class RolloutPlanWave(typing_extensions.TypedDict, total=False): +class RolloutPlanWave(typing.TypedDict, total=False): displayName: str number: str orchestrationOptions: RolloutPlanWaveOrchestrationOptions @@ -7223,51 +7047,47 @@ class RolloutPlanWave(typing_extensions.TypedDict, total=False): validation: RolloutPlanWaveValidation @typing.type_check_only -class RolloutPlanWaveOrchestrationOptions(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveOrchestrationOptions(typing.TypedDict, total=False): delays: _list[RolloutPlanWaveOrchestrationOptionsDelay] maxConcurrentLocations: str maxConcurrentResourcesPerLocation: str @typing.type_check_only -class RolloutPlanWaveOrchestrationOptionsDelay( - typing_extensions.TypedDict, total=False -): - delimiter: typing_extensions.Literal[ +class RolloutPlanWaveOrchestrationOptionsDelay(typing.TypedDict, total=False): + delimiter: typing.Literal[ "DELIMITER_BATCH", "DELIMITER_LOCATION", "DELIMITER_UNSPECIFIED" ] duration: str - type: typing_extensions.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] + type: typing.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] @typing.type_check_only -class RolloutPlanWaveSelector(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveSelector(typing.TypedDict, total=False): locationSelector: RolloutPlanWaveSelectorLocationSelector resourceHierarchySelector: RolloutPlanWaveSelectorResourceHierarchySelector @typing.type_check_only -class RolloutPlanWaveSelectorLocationSelector(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveSelectorLocationSelector(typing.TypedDict, total=False): includedLocations: _list[str] @typing.type_check_only -class RolloutPlanWaveSelectorResourceHierarchySelector( - typing_extensions.TypedDict, total=False -): +class RolloutPlanWaveSelectorResourceHierarchySelector(typing.TypedDict, total=False): includedFolders: _list[str] includedOrganizations: _list[str] includedProjects: _list[str] @typing.type_check_only -class RolloutPlanWaveValidation(typing_extensions.TypedDict, total=False): +class RolloutPlanWaveValidation(typing.TypedDict, total=False): timeBasedValidationMetadata: RolloutPlanWaveValidationTimeBasedValidationMetadata type: str @typing.type_check_only class RolloutPlanWaveValidationTimeBasedValidationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): waitDuration: str @typing.type_check_only -class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): +class RolloutPlansListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[RolloutPlan] @@ -7277,25 +7097,23 @@ class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RolloutRolloutEntity(typing_extensions.TypedDict, total=False): +class RolloutRolloutEntity(typing.TypedDict, total=False): orchestratedEntity: RolloutRolloutEntityOrchestratedEntity @typing.type_check_only -class RolloutRolloutEntityOrchestratedEntity(typing_extensions.TypedDict, total=False): +class RolloutRolloutEntityOrchestratedEntity(typing.TypedDict, total=False): conflictBehavior: str orchestrationAction: str orchestrationSource: str @typing.type_check_only -class RolloutWaveDetails(typing_extensions.TypedDict, total=False): +class RolloutWaveDetails(typing.TypedDict, total=False): orchestratedWaveDetails: RolloutWaveDetailsOrchestratedWaveDetails waveDisplayName: str waveNumber: str @typing.type_check_only -class RolloutWaveDetailsOrchestratedWaveDetails( - typing_extensions.TypedDict, total=False -): +class RolloutWaveDetailsOrchestratedWaveDetails(typing.TypedDict, total=False): completedResourcesCount: str estimatedCompletionTime: str estimatedTotalResourcesCount: str @@ -7305,9 +7123,9 @@ class RolloutWaveDetailsOrchestratedWaveDetails( @typing.type_check_only class RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_FAILED", "STATE_IN_PROGRESS", "STATE_PENDING", @@ -7317,7 +7135,7 @@ class RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus( ] @typing.type_check_only -class RolloutsListResponse(typing_extensions.TypedDict, total=False): +class RolloutsListResponse(typing.TypedDict, total=False): etag: str id: str items: _list[Rollout] @@ -7327,7 +7145,7 @@ class RolloutsListResponse(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): asPaths: _list[RouteAsPath] creationTimestamp: str description: str @@ -7345,26 +7163,26 @@ class Route(typing_extensions.TypedDict, total=False): nextHopIp: str nextHopMed: int nextHopNetwork: str - nextHopOrigin: typing_extensions.Literal["EGP", "IGP", "INCOMPLETE"] + nextHopOrigin: typing.Literal["EGP", "IGP", "INCOMPLETE"] nextHopPeering: str nextHopVpnTunnel: str params: RouteParams priority: int - routeStatus: typing_extensions.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] - routeType: typing_extensions.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] + routeStatus: typing.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] + routeType: typing.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] selfLink: str tags: _list[str] warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class RouteAsPath(typing_extensions.TypedDict, total=False): +class RouteAsPath(typing.TypedDict, total=False): asLists: _list[int] - pathSegmentType: typing_extensions.Literal[ + pathSegmentType: typing.Literal[ "AS_CONFED_SEQUENCE", "AS_CONFED_SET", "AS_SEQUENCE", "AS_SET" ] @typing.type_check_only -class RouteList(typing_extensions.TypedDict, total=False): +class RouteList(typing.TypedDict, total=False): id: str items: _list[Route] kind: str @@ -7373,27 +7191,25 @@ class RouteList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouteParams(typing_extensions.TypedDict, total=False): +class RouteParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class RoutePolicy(typing_extensions.TypedDict, total=False): +class RoutePolicy(typing.TypedDict, total=False): description: str fingerprint: str name: str terms: _list[RoutePolicyPolicyTerm] - type: typing_extensions.Literal[ - "ROUTE_POLICY_TYPE_EXPORT", "ROUTE_POLICY_TYPE_IMPORT" - ] + type: typing.Literal["ROUTE_POLICY_TYPE_EXPORT", "ROUTE_POLICY_TYPE_IMPORT"] @typing.type_check_only -class RoutePolicyPolicyTerm(typing_extensions.TypedDict, total=False): +class RoutePolicyPolicyTerm(typing.TypedDict, total=False): actions: _list[Expr] match: Expr priority: int @typing.type_check_only -class Router(typing_extensions.TypedDict, total=False): +class Router(typing.TypedDict, total=False): bgp: RouterBgp bgpPeers: _list[RouterBgpPeer] creationTimestamp: str @@ -7412,12 +7228,12 @@ class Router(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class RouterAdvertisedIpRange(typing_extensions.TypedDict, total=False): +class RouterAdvertisedIpRange(typing.TypedDict, total=False): description: str range: str @typing.type_check_only -class RouterAggregatedList(typing_extensions.TypedDict, total=False): +class RouterAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -7427,24 +7243,24 @@ class RouterAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouterBgp(typing_extensions.TypedDict, total=False): - advertiseMode: typing_extensions.Literal["CUSTOM", "DEFAULT"] - advertisedGroups: _list[typing_extensions.Literal["ALL_SUBNETS"]] +class RouterBgp(typing.TypedDict, total=False): + advertiseMode: typing.Literal["CUSTOM", "DEFAULT"] + advertisedGroups: _list[typing.Literal["ALL_SUBNETS"]] advertisedIpRanges: _list[RouterAdvertisedIpRange] asn: int identifierRange: str keepaliveInterval: int @typing.type_check_only -class RouterBgpPeer(typing_extensions.TypedDict, total=False): - advertiseMode: typing_extensions.Literal["CUSTOM", "DEFAULT"] - advertisedGroups: _list[typing_extensions.Literal["ALL_SUBNETS"]] +class RouterBgpPeer(typing.TypedDict, total=False): + advertiseMode: typing.Literal["CUSTOM", "DEFAULT"] + advertisedGroups: _list[typing.Literal["ALL_SUBNETS"]] advertisedIpRanges: _list[RouterAdvertisedIpRange] advertisedRoutePriority: int bfd: RouterBgpPeerBfd customLearnedIpRanges: _list[RouterBgpPeerCustomLearnedIpRange] customLearnedRoutePriority: int - enable: typing_extensions.Literal["FALSE", "TRUE"] + enable: typing.Literal["FALSE", "TRUE"] enableIpv4: bool enableIpv6: bool exportPolicies: _list[str] @@ -7453,9 +7269,7 @@ class RouterBgpPeer(typing_extensions.TypedDict, total=False): ipAddress: str ipv4NexthopAddress: str ipv6NexthopAddress: str - managementType: typing_extensions.Literal[ - "MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER" - ] + managementType: typing.Literal["MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER"] md5AuthenticationKeyName: str name: str peerAsn: int @@ -7465,34 +7279,30 @@ class RouterBgpPeer(typing_extensions.TypedDict, total=False): routerApplianceInstance: str @typing.type_check_only -class RouterBgpPeerBfd(typing_extensions.TypedDict, total=False): +class RouterBgpPeerBfd(typing.TypedDict, total=False): minReceiveInterval: int minTransmitInterval: int multiplier: int - sessionInitializationMode: typing_extensions.Literal[ - "ACTIVE", "DISABLED", "PASSIVE" - ] + sessionInitializationMode: typing.Literal["ACTIVE", "DISABLED", "PASSIVE"] @typing.type_check_only -class RouterBgpPeerCustomLearnedIpRange(typing_extensions.TypedDict, total=False): +class RouterBgpPeerCustomLearnedIpRange(typing.TypedDict, total=False): range: str @typing.type_check_only -class RouterInterface(typing_extensions.TypedDict, total=False): +class RouterInterface(typing.TypedDict, total=False): ipRange: str - ipVersion: typing_extensions.Literal["IPV4", "IPV6"] + ipVersion: typing.Literal["IPV4", "IPV6"] linkedInterconnectAttachment: str linkedVpnTunnel: str - managementType: typing_extensions.Literal[ - "MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER" - ] + managementType: typing.Literal["MANAGED_BY_ATTACHMENT", "MANAGED_BY_USER"] name: str privateIpAddress: str redundantInterface: str subnetwork: str @typing.type_check_only -class RouterList(typing_extensions.TypedDict, total=False): +class RouterList(typing.TypedDict, total=False): id: str items: _list[Router] kind: str @@ -7501,13 +7311,13 @@ class RouterList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RouterMd5AuthenticationKey(typing_extensions.TypedDict, total=False): +class RouterMd5AuthenticationKey(typing.TypedDict, total=False): key: str name: str @typing.type_check_only -class RouterNat(typing_extensions.TypedDict, total=False): - autoNetworkTier: typing_extensions.Literal[ +class RouterNat(typing.TypedDict, total=False): + autoNetworkTier: typing.Literal[ "FIXED_STANDARD", "PREMIUM", "STANDARD", "STANDARD_OVERRIDES_FIXED_STANDARD" ] drainNatIps: _list[str] @@ -7515,7 +7325,7 @@ class RouterNat(typing_extensions.TypedDict, total=False): enableDynamicPortAllocation: bool enableEndpointIndependentMapping: bool endpointTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ENDPOINT_TYPE_MANAGED_PROXY_LB", "ENDPOINT_TYPE_SWG", "ENDPOINT_TYPE_VM" ] ] @@ -7525,63 +7335,63 @@ class RouterNat(typing_extensions.TypedDict, total=False): minPortsPerVm: int name: str nat64Subnetworks: _list[RouterNatSubnetworkToNat64] - natIpAllocateOption: typing_extensions.Literal["AUTO_ONLY", "MANUAL_ONLY"] + natIpAllocateOption: typing.Literal["AUTO_ONLY", "MANUAL_ONLY"] natIps: _list[str] rules: _list[RouterNatRule] - sourceSubnetworkIpRangesToNat: typing_extensions.Literal[ + sourceSubnetworkIpRangesToNat: typing.Literal[ "ALL_SUBNETWORKS_ALL_IP_RANGES", "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", "LIST_OF_SUBNETWORKS", ] - sourceSubnetworkIpRangesToNat64: typing_extensions.Literal[ + sourceSubnetworkIpRangesToNat64: typing.Literal[ "ALL_IPV6_SUBNETWORKS", "LIST_OF_IPV6_SUBNETWORKS" ] subnetworks: _list[RouterNatSubnetworkToNat] tcpEstablishedIdleTimeoutSec: int tcpTimeWaitTimeoutSec: int tcpTransitoryIdleTimeoutSec: int - type: typing_extensions.Literal["PRIVATE", "PUBLIC"] + type: typing.Literal["PRIVATE", "PUBLIC"] udpIdleTimeoutSec: int @typing.type_check_only -class RouterNatLogConfig(typing_extensions.TypedDict, total=False): +class RouterNatLogConfig(typing.TypedDict, total=False): enable: bool - filter: typing_extensions.Literal["ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY"] + filter: typing.Literal["ALL", "ERRORS_ONLY", "TRANSLATIONS_ONLY"] @typing.type_check_only -class RouterNatRule(typing_extensions.TypedDict, total=False): +class RouterNatRule(typing.TypedDict, total=False): action: RouterNatRuleAction description: str match: str ruleNumber: int @typing.type_check_only -class RouterNatRuleAction(typing_extensions.TypedDict, total=False): +class RouterNatRuleAction(typing.TypedDict, total=False): sourceNatActiveIps: _list[str] sourceNatActiveRanges: _list[str] sourceNatDrainIps: _list[str] sourceNatDrainRanges: _list[str] @typing.type_check_only -class RouterNatSubnetworkToNat(typing_extensions.TypedDict, total=False): +class RouterNatSubnetworkToNat(typing.TypedDict, total=False): name: str secondaryIpRangeNames: _list[str] sourceIpRangesToNat: _list[ - typing_extensions.Literal[ + typing.Literal[ "ALL_IP_RANGES", "LIST_OF_SECONDARY_IP_RANGES", "PRIMARY_IP_RANGE" ] ] @typing.type_check_only -class RouterNatSubnetworkToNat64(typing_extensions.TypedDict, total=False): +class RouterNatSubnetworkToNat64(typing.TypedDict, total=False): name: str @typing.type_check_only -class RouterParams(typing_extensions.TypedDict, total=False): +class RouterParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class RouterStatus(typing_extensions.TypedDict, total=False): +class RouterStatus(typing.TypedDict, total=False): bestRoutes: _list[Route] bestRoutesForRouter: _list[Route] bgpPeerStatus: _list[RouterStatusBgpPeerStatus] @@ -7590,7 +7400,7 @@ class RouterStatus(typing_extensions.TypedDict, total=False): network: str @typing.type_check_only -class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): +class RouterStatusBgpPeerStatus(typing.TypedDict, total=False): advertisedRoutes: _list[Route] bfdStatus: BfdStatus enableIpv4: bool @@ -7607,8 +7417,8 @@ class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): peerIpv6NexthopAddress: str routerApplianceInstance: str state: str - status: typing_extensions.Literal["DOWN", "UNKNOWN", "UP"] - statusReason: typing_extensions.Literal[ + status: typing.Literal["DOWN", "UNKNOWN", "UP"] + statusReason: typing.Literal[ "IPV4_PEER_ON_IPV6_ONLY_CONNECTION", "IPV6_PEER_ON_IPV4_ONLY_CONNECTION", "MD5_AUTH_INTERNAL_PROBLEM", @@ -7618,7 +7428,7 @@ class RouterStatusBgpPeerStatus(typing_extensions.TypedDict, total=False): uptimeSeconds: str @typing.type_check_only -class RouterStatusNatStatus(typing_extensions.TypedDict, total=False): +class RouterStatusNatStatus(typing.TypedDict, total=False): autoAllocatedNatIps: _list[str] drainAutoAllocatedNatIps: _list[str] drainUserAllocatedNatIps: _list[str] @@ -7630,7 +7440,7 @@ class RouterStatusNatStatus(typing_extensions.TypedDict, total=False): userAllocatedNatIps: _list[str] @typing.type_check_only -class RouterStatusNatStatusNatRuleStatus(typing_extensions.TypedDict, total=False): +class RouterStatusNatStatusNatRuleStatus(typing.TypedDict, total=False): activeNatIps: _list[str] drainNatIps: _list[str] minExtraIpsNeeded: int @@ -7638,16 +7448,21 @@ class RouterStatusNatStatusNatRuleStatus(typing_extensions.TypedDict, total=Fals ruleNumber: int @typing.type_check_only -class RouterStatusResponse(typing_extensions.TypedDict, total=False): +class RouterStatusResponse(typing.TypedDict, total=False): kind: str result: RouterStatus @typing.type_check_only -class RoutersGetRoutePolicyResponse(typing_extensions.TypedDict, total=False): +class RoutersGetNamedSetResponse(typing.TypedDict, total=False): + etag: str + resource: NamedSet + +@typing.type_check_only +class RoutersGetRoutePolicyResponse(typing.TypedDict, total=False): resource: RoutePolicy @typing.type_check_only -class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): +class RoutersListBgpRoutes(typing.TypedDict, total=False): etag: str id: str kind: str @@ -7658,7 +7473,18 @@ class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): +class RoutersListNamedSets(typing.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.TypedDict, total=False): etag: str id: str kind: str @@ -7669,27 +7495,27 @@ class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class RoutersPreviewResponse(typing_extensions.TypedDict, total=False): +class RoutersPreviewResponse(typing.TypedDict, total=False): resource: Router @typing.type_check_only -class RoutersScopedList(typing_extensions.TypedDict, total=False): +class RoutersScopedList(typing.TypedDict, total=False): routers: _list[Router] warning: dict[str, typing.Any] @typing.type_check_only -class SSLHealthCheck(typing_extensions.TypedDict, total=False): +class SSLHealthCheck(typing.TypedDict, total=False): port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] request: str response: str @typing.type_check_only -class SavedAttachedDisk(typing_extensions.TypedDict, total=False): +class SavedAttachedDisk(typing.TypedDict, total=False): autoDelete: bool boot: bool deviceName: str @@ -7698,37 +7524,36 @@ class SavedAttachedDisk(typing_extensions.TypedDict, total=False): diskType: str guestOsFeatures: _list[GuestOsFeature] index: int - interface: typing_extensions.Literal["NVME", "SCSI"] + interface: typing.Literal["NVME", "SCSI"] kind: str licenses: _list[str] - mode: typing_extensions.Literal["READ_ONLY", "READ_WRITE"] + mode: typing.Literal["READ_ONLY", "READ_WRITE"] source: str storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] - type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] + type: typing.Literal["PERSISTENT", "SCRATCH"] @typing.type_check_only -class SavedDisk(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class SavedDisk(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] kind: str sourceDisk: str storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] @typing.type_check_only -class ScalingScheduleStatus(typing_extensions.TypedDict, total=False): +class ScalingScheduleStatus(typing.TypedDict, total=False): lastStartTime: str nextStartTime: str - state: typing_extensions.Literal["ACTIVE", "DISABLED", "OBSOLETE", "READY"] + state: typing.Literal["ACTIVE", "DISABLED", "OBSOLETE", "READY"] @typing.type_check_only -class Scheduling(typing_extensions.TypedDict, total=False): +class Scheduling(typing.TypedDict, total=False): automaticRestart: bool availabilityDomain: int + gracefulShutdown: SchedulingGracefulShutdown hostErrorTimeoutSeconds: int - instanceTerminationAction: typing_extensions.Literal[ + instanceTerminationAction: typing.Literal[ "DELETE", "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", "STOP" ] localSsdRecoveryTimeout: Duration @@ -7736,32 +7561,38 @@ class Scheduling(typing_extensions.TypedDict, total=False): maxRunDuration: Duration minNodeCpus: int nodeAffinities: _list[SchedulingNodeAffinity] - onHostMaintenance: typing_extensions.Literal["MIGRATE", "TERMINATE"] + onHostMaintenance: typing.Literal["MIGRATE", "TERMINATE"] onInstanceStopAction: SchedulingOnInstanceStopAction preemptible: bool - provisioningModel: typing_extensions.Literal[ + preemptionNoticeDuration: Duration + provisioningModel: typing.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] skipGuestOsShutdown: bool terminationTime: str @typing.type_check_only -class SchedulingNodeAffinity(typing_extensions.TypedDict, total=False): +class SchedulingGracefulShutdown(typing.TypedDict, total=False): + enabled: bool + maxDuration: Duration + +@typing.type_check_only +class SchedulingNodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] + operator: typing.Literal["IN", "NOT_IN", "OPERATOR_UNSPECIFIED"] values: _list[str] @typing.type_check_only -class SchedulingOnInstanceStopAction(typing_extensions.TypedDict, total=False): +class SchedulingOnInstanceStopAction(typing.TypedDict, total=False): discardLocalSsd: bool @typing.type_check_only -class Screenshot(typing_extensions.TypedDict, total=False): +class Screenshot(typing.TypedDict, total=False): contents: str kind: str @typing.type_check_only -class SecurityPoliciesAggregatedList(typing_extensions.TypedDict, total=False): +class SecurityPoliciesAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -7773,21 +7604,21 @@ class SecurityPoliciesAggregatedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecurityPoliciesListPreconfiguredExpressionSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preconfiguredExpressionSets: SecurityPoliciesWafConfig @typing.type_check_only -class SecurityPoliciesScopedList(typing_extensions.TypedDict, total=False): +class SecurityPoliciesScopedList(typing.TypedDict, total=False): securityPolicies: _list[SecurityPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class SecurityPoliciesWafConfig(typing_extensions.TypedDict, total=False): +class SecurityPoliciesWafConfig(typing.TypedDict, total=False): wafRules: PreconfiguredWafSet @typing.type_check_only -class SecurityPolicy(typing_extensions.TypedDict, total=False): +class SecurityPolicy(typing.TypedDict, total=False): adaptiveProtectionConfig: SecurityPolicyAdaptiveProtectionConfig advancedOptionsConfig: SecurityPolicyAdvancedOptionsConfig associations: _list[SecurityPolicyAssociation] @@ -7806,30 +7637,28 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): rules: _list[SecurityPolicyRule] selfLink: str shortName: str - type: typing_extensions.Literal[ - "CLOUD_ARMOR", "CLOUD_ARMOR_EDGE", "CLOUD_ARMOR_NETWORK" - ] + type: typing.Literal["CLOUD_ARMOR", "CLOUD_ARMOR_EDGE", "CLOUD_ARMOR_NETWORK"] userDefinedFields: _list[SecurityPolicyUserDefinedField] @typing.type_check_only -class SecurityPolicyAdaptiveProtectionConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyAdaptiveProtectionConfig(typing.TypedDict, total=False): layer7DdosDefenseConfig: ( SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig ) @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool - ruleVisibility: typing_extensions.Literal["PREMIUM", "STANDARD"] + ruleVisibility: typing.Literal["PREMIUM", "STANDARD"] thresholdConfigs: _list[ SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig ] @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoDeployConfidenceThreshold: float autoDeployExpirationSec: int @@ -7845,30 +7674,28 @@ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConf @typing.type_check_only class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableEachUniqueValue: bool - type: typing_extensions.Literal["HTTP_HEADER_HOST", "HTTP_PATH", "UNSPECIFIED_TYPE"] + type: typing.Literal["HTTP_HEADER_HOST", "HTTP_PATH", "UNSPECIFIED_TYPE"] value: str @typing.type_check_only -class SecurityPolicyAdvancedOptionsConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyAdvancedOptionsConfig(typing.TypedDict, total=False): jsonCustomConfig: SecurityPolicyAdvancedOptionsConfigJsonCustomConfig - jsonParsing: typing_extensions.Literal[ - "DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL" - ] - logLevel: typing_extensions.Literal["NORMAL", "VERBOSE"] + jsonParsing: typing.Literal["DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL"] + logLevel: typing.Literal["NORMAL", "VERBOSE"] requestBodyInspectionSize: str userIpRequestHeaders: _list[str] @typing.type_check_only class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentTypes: _list[str] @typing.type_check_only -class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): +class SecurityPolicyAssociation(typing.TypedDict, total=False): attachmentId: str displayName: str excludedFolders: _list[str] @@ -7878,8 +7705,8 @@ class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): shortName: str @typing.type_check_only -class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=False): - ddosAdaptiveProtection: typing_extensions.Literal[ +class SecurityPolicyDdosProtectionConfig(typing.TypedDict, total=False): + ddosAdaptiveProtection: typing.Literal[ "DDOS_ADAPTIVE_PROTECTION_UNSPECIFIED", "DISABLED", "ENABLED", @@ -7887,12 +7714,10 @@ class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=Fals "UNSPECIFIED_ADAPTIVE_PROTECTION", ] ddosImpactedBaselineThreshold: float - ddosProtection: typing_extensions.Literal[ - "ADVANCED", "ADVANCED_PREVIEW", "STANDARD" - ] + ddosProtection: typing.Literal["ADVANCED", "ADVANCED_PREVIEW", "STANDARD"] @typing.type_check_only -class SecurityPolicyList(typing_extensions.TypedDict, total=False): +class SecurityPolicyList(typing.TypedDict, total=False): id: str items: _list[SecurityPolicy] kind: str @@ -7900,15 +7725,15 @@ class SecurityPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SecurityPolicyRecaptchaOptionsConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyRecaptchaOptionsConfig(typing.TypedDict, total=False): redirectSiteKey: str @typing.type_check_only -class SecurityPolicyReference(typing_extensions.TypedDict, total=False): +class SecurityPolicyReference(typing.TypedDict, total=False): securityPolicy: str @typing.type_check_only -class SecurityPolicyRule(typing_extensions.TypedDict, total=False): +class SecurityPolicyRule(typing.TypedDict, total=False): action: str description: str headerAction: SecurityPolicyRuleHttpHeaderAction @@ -7922,40 +7747,38 @@ class SecurityPolicyRule(typing_extensions.TypedDict, total=False): redirectOptions: SecurityPolicyRuleRedirectOptions @typing.type_check_only -class SecurityPolicyRuleHttpHeaderAction(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleHttpHeaderAction(typing.TypedDict, total=False): requestHeadersToAdds: _list[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] @typing.type_check_only -class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption(typing.TypedDict, total=False): headerName: str headerValue: str @typing.type_check_only -class SecurityPolicyRuleMatcher(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcher(typing.TypedDict, total=False): config: SecurityPolicyRuleMatcherConfig expr: Expr exprOptions: SecurityPolicyRuleMatcherExprOptions - versionedExpr: typing_extensions.Literal["SRC_IPS_V1"] + versionedExpr: typing.Literal["SRC_IPS_V1"] @typing.type_check_only -class SecurityPolicyRuleMatcherConfig(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcherConfig(typing.TypedDict, total=False): srcIpRanges: _list[str] @typing.type_check_only -class SecurityPolicyRuleMatcherExprOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleMatcherExprOptions(typing.TypedDict, total=False): recaptchaOptions: SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions @typing.type_check_only class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionTokenSiteKeys: _list[str] sessionTokenSiteKeys: _list[str] @typing.type_check_only -class SecurityPolicyRuleNetworkMatcher(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleNetworkMatcher(typing.TypedDict, total=False): destIpRanges: _list[str] destPorts: _list[str] ipProtocols: _list[str] @@ -7967,21 +7790,17 @@ class SecurityPolicyRuleNetworkMatcher(typing_extensions.TypedDict, total=False) @typing.type_check_only class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str values: _list[str] @typing.type_check_only -class SecurityPolicyRulePreconfiguredWafConfig( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRulePreconfiguredWafConfig(typing.TypedDict, total=False): exclusions: _list[SecurityPolicyRulePreconfiguredWafConfigExclusion] @typing.type_check_only -class SecurityPolicyRulePreconfiguredWafConfigExclusion( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRulePreconfiguredWafConfigExclusion(typing.TypedDict, total=False): requestCookiesToExclude: _list[ SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams ] @@ -7999,20 +7818,19 @@ class SecurityPolicyRulePreconfiguredWafConfigExclusion( @typing.type_check_only class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - op: typing_extensions.Literal[ - "CONTAINS", "ENDS_WITH", "EQUALS", "EQUALS_ANY", "STARTS_WITH" - ] + op: typing.Literal["CONTAINS", "ENDS_WITH", "EQUALS", "EQUALS_ANY", "STARTS_WITH"] val: str @typing.type_check_only -class SecurityPolicyRuleRateLimitOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleRateLimitOptions(typing.TypedDict, total=False): banDurationSec: int banThreshold: SecurityPolicyRuleRateLimitOptionsThreshold conformAction: str - enforceOnKey: typing_extensions.Literal[ + enforceOnKey: typing.Literal[ "ALL", + "ASN", "HTTP_COOKIE", "HTTP_HEADER", "HTTP_PATH", @@ -8032,11 +7850,12 @@ class SecurityPolicyRuleRateLimitOptions(typing_extensions.TypedDict, total=Fals @typing.type_check_only class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enforceOnKeyName: str - enforceOnKeyType: typing_extensions.Literal[ + enforceOnKeyType: typing.Literal[ "ALL", + "ASN", "HTTP_COOKIE", "HTTP_HEADER", "HTTP_PATH", @@ -8050,33 +7869,31 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig( ] @typing.type_check_only -class SecurityPolicyRuleRateLimitOptionsThreshold( - typing_extensions.TypedDict, total=False -): +class SecurityPolicyRuleRateLimitOptionsThreshold(typing.TypedDict, total=False): count: int intervalSec: int @typing.type_check_only -class SecurityPolicyRuleRedirectOptions(typing_extensions.TypedDict, total=False): +class SecurityPolicyRuleRedirectOptions(typing.TypedDict, total=False): target: str - type: typing_extensions.Literal["EXTERNAL_302", "GOOGLE_RECAPTCHA"] + type: typing.Literal["EXTERNAL_302", "GOOGLE_RECAPTCHA"] @typing.type_check_only -class SecurityPolicyUserDefinedField(typing_extensions.TypedDict, total=False): - base: typing_extensions.Literal["IPV4", "IPV6", "TCP", "UDP"] +class SecurityPolicyUserDefinedField(typing.TypedDict, total=False): + base: typing.Literal["IPV4", "IPV6", "TCP", "UDP"] mask: str name: str offset: int size: int @typing.type_check_only -class SecuritySettings(typing_extensions.TypedDict, total=False): +class SecuritySettings(typing.TypedDict, total=False): awsV4Authentication: AWSV4Signature clientTlsPolicy: str subjectAltNames: _list[str] @typing.type_check_only -class SerialPortOutput(typing_extensions.TypedDict, total=False): +class SerialPortOutput(typing.TypedDict, total=False): contents: str kind: str next: str @@ -8084,22 +7901,22 @@ class SerialPortOutput(typing_extensions.TypedDict, total=False): start: str @typing.type_check_only -class ServerBinding(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ServerBinding(typing.TypedDict, total=False): + type: typing.Literal[ "RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS", "SERVER_BINDING_TYPE_UNSPECIFIED", ] @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class ServiceAttachment(typing_extensions.TypedDict, total=False): +class ServiceAttachment(typing.TypedDict, total=False): connectedEndpoints: _list[ServiceAttachmentConnectedEndpoint] - connectionPreference: typing_extensions.Literal[ + connectionPreference: typing.Literal[ "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL", "CONNECTION_PREFERENCE_UNSPECIFIED" ] consumerAcceptLists: _list[ServiceAttachmentConsumerProjectLimit] @@ -8124,7 +7941,7 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): targetService: str @typing.type_check_only -class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8134,14 +7951,14 @@ class ServiceAttachmentAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=False): +class ServiceAttachmentConnectedEndpoint(typing.TypedDict, total=False): consumerNetwork: str endpoint: str endpointWithId: str natIps: _list[str] propagatedConnectionCount: int pscConnectionId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ACCEPTED", "CLOSED", "NEEDS_ATTENTION", @@ -8151,14 +7968,14 @@ class ServiceAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class ServiceAttachmentConsumerProjectLimit(typing_extensions.TypedDict, total=False): +class ServiceAttachmentConsumerProjectLimit(typing.TypedDict, total=False): connectionLimit: int endpointUrl: str networkUrl: str projectIdOrNum: str @typing.type_check_only -class ServiceAttachmentList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentList(typing.TypedDict, total=False): id: str items: _list[ServiceAttachment] kind: str @@ -8167,45 +7984,43 @@ class ServiceAttachmentList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ServiceAttachmentsScopedList(typing_extensions.TypedDict, total=False): +class ServiceAttachmentsScopedList(typing.TypedDict, total=False): serviceAttachments: _list[ServiceAttachment] warning: dict[str, typing.Any] @typing.type_check_only -class SetCommonInstanceMetadataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class SetCommonInstanceMetadataOperationMetadata(typing.TypedDict, total=False): clientOperationId: str perLocationOperations: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status - state: typing_extensions.Literal[ + state: typing.Literal[ "ABANDONED", "DONE", "FAILED", "PROPAGATED", "PROPAGATING", "UNSPECIFIED" ] @typing.type_check_only -class ShareSettings(typing_extensions.TypedDict, total=False): +class ShareSettings(typing.TypedDict, total=False): projectMap: dict[str, typing.Any] - shareType: typing_extensions.Literal[ + shareType: typing.Literal[ "LOCAL", "ORGANIZATION", "SHARE_TYPE_UNSPECIFIED", "SPECIFIC_PROJECTS" ] @typing.type_check_only -class ShareSettingsProjectConfig(typing_extensions.TypedDict, total=False): +class ShareSettingsProjectConfig(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIdentity(typing.TypedDict, total=False): eccP256EncryptionKey: ShieldedInstanceIdentityEntry eccP256SigningKey: ShieldedInstanceIdentityEntry encryptionKey: ShieldedInstanceIdentityEntry @@ -8213,24 +8028,22 @@ class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): signingKey: ShieldedInstanceIdentityEntry @typing.type_check_only -class ShieldedInstanceIdentityEntry(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIdentityEntry(typing.TypedDict, total=False): ekCert: str ekPub: str @typing.type_check_only -class ShieldedInstanceIntegrityPolicy(typing_extensions.TypedDict, total=False): +class ShieldedInstanceIntegrityPolicy(typing.TypedDict, total=False): updateAutoLearnPolicy: bool @typing.type_check_only -class SignedUrlKey(typing_extensions.TypedDict, total=False): +class SignedUrlKey(typing.TypedDict, total=False): keyName: str keyValue: str @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ - "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" - ] +class Snapshot(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64"] autoCreated: bool chainName: str creationSizeBytes: str @@ -8257,7 +8070,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): snapshotEncryptionKey: CustomerEncryptionKey snapshotGroupId: str snapshotGroupName: str - snapshotType: typing_extensions.Literal["ARCHIVE", "STANDARD"] + snapshotType: typing.Literal["ARCHIVE", "STANDARD"] sourceDisk: str sourceDiskEncryptionKey: CustomerEncryptionKey sourceDiskForRecoveryCheckpoint: str @@ -8267,21 +8080,19 @@ class Snapshot(typing_extensions.TypedDict, total=False): sourceInstantSnapshotId: str sourceSnapshotSchedulePolicy: str sourceSnapshotSchedulePolicyId: str - status: typing_extensions.Literal[ - "CREATING", "DELETING", "FAILED", "READY", "UPLOADING" - ] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY", "UPLOADING"] storageBytes: str - storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] + storageBytesStatus: typing.Literal["UPDATING", "UP_TO_DATE"] storageLocations: _list[str] @typing.type_check_only -class SnapshotGroupParameters(typing_extensions.TypedDict, total=False): +class SnapshotGroupParameters(typing.TypedDict, total=False): replicaZones: _list[str] sourceSnapshotGroup: str type: str @typing.type_check_only -class SnapshotList(typing_extensions.TypedDict, total=False): +class SnapshotList(typing.TypedDict, total=False): id: str items: _list[Snapshot] kind: str @@ -8290,31 +8101,29 @@ class SnapshotList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SnapshotParams(typing_extensions.TypedDict, total=False): +class SnapshotParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class SnapshotSettings(typing_extensions.TypedDict, total=False): +class SnapshotSettings(typing.TypedDict, total=False): accessLocation: SnapshotSettingsAccessLocation storageLocation: SnapshotSettingsStorageLocationSettings @typing.type_check_only -class SnapshotSettingsAccessLocation(typing_extensions.TypedDict, total=False): +class SnapshotSettingsAccessLocation(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ - "ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS" - ] + policy: typing.Literal["ALL_REGIONS", "POLICY_UNSPECIFIED", "SPECIFIC_REGIONS"] @typing.type_check_only class SnapshotSettingsAccessLocationAccessLocationPreference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): region: str @typing.type_check_only -class SnapshotSettingsStorageLocationSettings(typing_extensions.TypedDict, total=False): +class SnapshotSettingsStorageLocationSettings(typing.TypedDict, total=False): locations: dict[str, typing.Any] - policy: typing_extensions.Literal[ + policy: typing.Literal[ "LOCAL_REGION", "NEAREST_MULTI_REGION", "SPECIFIC_LOCATIONS", @@ -8323,31 +8132,31 @@ class SnapshotSettingsStorageLocationSettings(typing_extensions.TypedDict, total @typing.type_check_only class SnapshotSettingsStorageLocationSettingsStorageLocationPreference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class SnapshotUpdateKmsKeyRequest(typing_extensions.TypedDict, total=False): +class SnapshotUpdateKmsKeyRequest(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class SourceDiskEncryptionKey(typing_extensions.TypedDict, total=False): +class SourceDiskEncryptionKey(typing.TypedDict, total=False): diskEncryptionKey: CustomerEncryptionKey sourceDisk: str @typing.type_check_only -class SourceInstanceParams(typing_extensions.TypedDict, total=False): +class SourceInstanceParams(typing.TypedDict, total=False): diskConfigs: _list[DiskInstantiationConfig] @typing.type_check_only -class SourceInstanceProperties(typing_extensions.TypedDict, total=False): +class SourceInstanceProperties(typing.TypedDict, total=False): canIpForward: bool deletionProtection: bool description: str disks: _list[SavedAttachedDisk] guestAccelerators: _list[AcceleratorConfig] - keyRevocationActionType: typing_extensions.Literal[ + keyRevocationActionType: typing.Literal[ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", "STOP" ] labels: dict[str, typing.Any] @@ -8355,7 +8164,7 @@ class SourceInstanceProperties(typing_extensions.TypedDict, total=False): metadata: Metadata minCpuPlatform: str networkInterfaces: _list[NetworkInterface] - postKeyRevocationActionType: typing_extensions.Literal[ + postKeyRevocationActionType: typing.Literal[ "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" ] scheduling: Scheduling @@ -8363,7 +8172,7 @@ class SourceInstanceProperties(typing_extensions.TypedDict, total=False): tags: Tags @typing.type_check_only -class SslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificate(typing.TypedDict, total=False): certificate: str creationTimestamp: str description: str @@ -8377,10 +8186,10 @@ class SslCertificate(typing_extensions.TypedDict, total=False): selfLink: str selfManaged: SslCertificateSelfManagedSslCertificate subjectAlternativeNames: _list[str] - type: typing_extensions.Literal["MANAGED", "SELF_MANAGED", "TYPE_UNSPECIFIED"] + type: typing.Literal["MANAGED", "SELF_MANAGED", "TYPE_UNSPECIFIED"] @typing.type_check_only -class SslCertificateAggregatedList(typing_extensions.TypedDict, total=False): +class SslCertificateAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8390,7 +8199,7 @@ class SslCertificateAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslCertificateList(typing_extensions.TypedDict, total=False): +class SslCertificateList(typing.TypedDict, total=False): id: str items: _list[SslCertificate] kind: str @@ -8399,10 +8208,10 @@ class SslCertificateList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslCertificateManagedSslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificateManagedSslCertificate(typing.TypedDict, total=False): domainStatus: dict[str, typing.Any] domains: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "MANAGED_CERTIFICATE_STATUS_UNSPECIFIED", "PROVISIONING", @@ -8412,17 +8221,17 @@ class SslCertificateManagedSslCertificate(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class SslCertificateSelfManagedSslCertificate(typing_extensions.TypedDict, total=False): +class SslCertificateSelfManagedSslCertificate(typing.TypedDict, total=False): certificate: str privateKey: str @typing.type_check_only -class SslCertificatesScopedList(typing_extensions.TypedDict, total=False): +class SslCertificatesScopedList(typing.TypedDict, total=False): sslCertificates: _list[SslCertificate] warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesAggregatedList(typing_extensions.TypedDict, total=False): +class SslPoliciesAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -8433,7 +8242,7 @@ class SslPoliciesAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesList(typing_extensions.TypedDict, total=False): +class SslPoliciesList(typing.TypedDict, total=False): id: str items: _list[SslPolicy] kind: str @@ -8442,18 +8251,16 @@ class SslPoliciesList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SslPoliciesListAvailableFeaturesResponse( - typing_extensions.TypedDict, total=False -): +class SslPoliciesListAvailableFeaturesResponse(typing.TypedDict, total=False): features: _list[str] @typing.type_check_only -class SslPoliciesScopedList(typing_extensions.TypedDict, total=False): +class SslPoliciesScopedList(typing.TypedDict, total=False): sslPolicies: _list[SslPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class SslPolicy(typing_extensions.TypedDict, total=False): +class SslPolicy(typing.TypedDict, total=False): creationTimestamp: str customFeatures: _list[str] description: str @@ -8461,10 +8268,10 @@ class SslPolicy(typing_extensions.TypedDict, total=False): fingerprint: str id: str kind: str - minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] + minTlsVersion: typing.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str - postQuantumKeyExchange: typing_extensions.Literal["DEFAULT", "DEFERRED", "ENABLED"] - profile: typing_extensions.Literal[ + postQuantumKeyExchange: typing.Literal["DEFAULT", "DEFERRED", "ENABLED"] + profile: typing.Literal[ "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" ] region: str @@ -8472,38 +8279,36 @@ class SslPolicy(typing_extensions.TypedDict, total=False): warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class SslPolicyReference(typing_extensions.TypedDict, total=False): +class SslPolicyReference(typing.TypedDict, total=False): sslPolicy: str @typing.type_check_only -class StatefulPolicy(typing_extensions.TypedDict, total=False): +class StatefulPolicy(typing.TypedDict, total=False): preservedState: StatefulPolicyPreservedState @typing.type_check_only -class StatefulPolicyPreservedState(typing_extensions.TypedDict, total=False): +class StatefulPolicyPreservedState(typing.TypedDict, total=False): disks: dict[str, typing.Any] externalIPs: dict[str, typing.Any] internalIPs: dict[str, typing.Any] @typing.type_check_only -class StatefulPolicyPreservedStateDiskDevice(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class StatefulPolicyPreservedStateDiskDevice(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] @typing.type_check_only -class StatefulPolicyPreservedStateNetworkIp(typing_extensions.TypedDict, total=False): - autoDelete: typing_extensions.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] +class StatefulPolicyPreservedStateNetworkIp(typing.TypedDict, total=False): + autoDelete: typing.Literal["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StoragePool(typing_extensions.TypedDict, total=False): - capacityProvisioningType: typing_extensions.Literal[ - "ADVANCED", "STANDARD", "UNSPECIFIED" - ] +class StoragePool(typing.TypedDict, total=False): + capacityProvisioningType: typing.Literal["ADVANCED", "STANDARD", "UNSPECIFIED"] creationTimestamp: str description: str exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb @@ -8513,22 +8318,21 @@ class StoragePool(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str params: StoragePoolParams - performanceProvisioningType: typing_extensions.Literal[ - "ADVANCED", "STANDARD", "UNSPECIFIED" - ] + performanceProvisioningType: typing.Literal["ADVANCED", "STANDARD", "UNSPECIFIED"] poolProvisionedCapacityGb: str poolProvisionedIops: str poolProvisionedThroughput: str resourceStatus: StoragePoolResourceStatus selfLink: str selfLinkWithId: str - state: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] + shareSettings: StoragePoolShareSettings + state: typing.Literal["CREATING", "DELETING", "FAILED", "READY"] status: StoragePoolResourceStatus storagePoolType: str zone: str @typing.type_check_only -class StoragePoolAggregatedList(typing_extensions.TypedDict, total=False): +class StoragePoolAggregatedList(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -8539,7 +8343,7 @@ class StoragePoolAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolDisk(typing_extensions.TypedDict, total=False): +class StoragePoolDisk(typing.TypedDict, total=False): attachedInstances: _list[str] creationTimestamp: str disk: str @@ -8548,20 +8352,20 @@ class StoragePoolDisk(typing_extensions.TypedDict, total=False): provisionedThroughput: str resourcePolicies: _list[str] sizeGb: str - status: typing_extensions.Literal[ + status: typing.Literal[ "CREATING", "DELETING", "FAILED", "READY", "RESTORING", "UNAVAILABLE" ] type: str usedBytes: str @typing.type_check_only -class StoragePoolExapoolProvisionedCapacityGb(typing_extensions.TypedDict, total=False): +class StoragePoolExapoolProvisionedCapacityGb(typing.TypedDict, total=False): capacityOptimized: str readOptimized: str writeOptimized: str @typing.type_check_only -class StoragePoolList(typing_extensions.TypedDict, total=False): +class StoragePoolList(typing.TypedDict, total=False): etag: str id: str items: _list[StoragePool] @@ -8572,7 +8376,7 @@ class StoragePoolList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolListDisks(typing_extensions.TypedDict, total=False): +class StoragePoolListDisks(typing.TypedDict, total=False): etag: str id: str items: _list[StoragePoolDisk] @@ -8583,11 +8387,11 @@ class StoragePoolListDisks(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolParams(typing_extensions.TypedDict, total=False): +class StoragePoolParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): +class StoragePoolResourceStatus(typing.TypedDict, total=False): diskCount: str exapoolMaxReadIops: str exapoolMaxReadThroughput: str @@ -8604,7 +8408,15 @@ class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): totalProvisionedDiskThroughput: str @typing.type_check_only -class StoragePoolType(typing_extensions.TypedDict, total=False): +class StoragePoolShareSettings(typing.TypedDict, total=False): + projectMap: dict[str, typing.Any] + +@typing.type_check_only +class StoragePoolShareSettingsProjectConfig(typing.TypedDict, total=False): + projectId: str + +@typing.type_check_only +class StoragePoolType(typing.TypedDict, total=False): creationTimestamp: str deprecated: DeprecationStatus description: str @@ -8624,7 +8436,7 @@ class StoragePoolType(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class StoragePoolTypeAggregatedList(typing_extensions.TypedDict, total=False): +class StoragePoolTypeAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8633,7 +8445,7 @@ class StoragePoolTypeAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolTypeList(typing_extensions.TypedDict, total=False): +class StoragePoolTypeList(typing.TypedDict, total=False): id: str items: _list[StoragePoolType] kind: str @@ -8642,17 +8454,17 @@ class StoragePoolTypeList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolTypesScopedList(typing_extensions.TypedDict, total=False): +class StoragePoolTypesScopedList(typing.TypedDict, total=False): storagePoolTypes: _list[StoragePoolType] warning: dict[str, typing.Any] @typing.type_check_only -class StoragePoolsScopedList(typing_extensions.TypedDict, total=False): +class StoragePoolsScopedList(typing.TypedDict, total=False): storagePools: _list[StoragePool] warning: dict[str, typing.Any] @typing.type_check_only -class Subnetwork(typing_extensions.TypedDict, total=False): +class Subnetwork(typing.TypedDict, total=False): allowSubnetCidrRoutesOverlap: bool creationTimestamp: str description: str @@ -8664,21 +8476,21 @@ class Subnetwork(typing_extensions.TypedDict, total=False): internalIpv6Prefix: str ipCidrRange: str ipCollection: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] ipv6CidrRange: str - ipv6GceEndpoint: typing_extensions.Literal["VM_AND_FR", "VM_ONLY"] + ipv6GceEndpoint: typing.Literal["VM_AND_FR", "VM_ONLY"] kind: str logConfig: SubnetworkLogConfig name: str network: str params: SubnetworkParams privateIpGoogleAccess: bool - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "DISABLE_GOOGLE_ACCESS", "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", ] - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", "PEER_MIGRATION", @@ -8690,18 +8502,18 @@ class Subnetwork(typing_extensions.TypedDict, total=False): ] region: str reservedInternalRange: str - resolveSubnetMask: typing_extensions.Literal["ARP_ALL_RANGES", "ARP_PRIMARY_RANGE"] - role: typing_extensions.Literal["ACTIVE", "BACKUP"] + resolveSubnetMask: typing.Literal["ARP_ALL_RANGES", "ARP_PRIMARY_RANGE"] + role: typing.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[SubnetworkSecondaryRange] selfLink: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] - state: typing_extensions.Literal["DRAINING", "READY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + state: typing.Literal["DRAINING", "READY"] systemReservedExternalIpv6Ranges: _list[str] systemReservedInternalIpv6Ranges: _list[str] utilizationDetails: SubnetworkUtilizationDetails @typing.type_check_only -class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): +class SubnetworkAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8711,7 +8523,7 @@ class SubnetworkAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworkList(typing_extensions.TypedDict, total=False): +class SubnetworkList(typing.TypedDict, total=False): id: str items: _list[Subnetwork] kind: str @@ -8720,8 +8532,8 @@ class SubnetworkList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class SubnetworkLogConfig(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "INTERVAL_10_MIN", "INTERVAL_15_MIN", "INTERVAL_1_MIN", @@ -8732,85 +8544,81 @@ class SubnetworkLogConfig(typing_extensions.TypedDict, total=False): enable: bool filterExpr: str flowSampling: float - metadata: typing_extensions.Literal[ + metadata: typing.Literal[ "CUSTOM_METADATA", "EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA" ] metadataFields: _list[str] @typing.type_check_only -class SubnetworkParams(typing_extensions.TypedDict, total=False): +class SubnetworkParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class SubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class SubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str + ipCollection: str + ipVersion: typing.Literal["IPV4", "IPV6", "IP_VERSION_UNSPECIFIED"] rangeName: str reservedInternalRange: str @typing.type_check_only -class SubnetworkUtilizationDetails(typing_extensions.TypedDict, total=False): +class SubnetworkUtilizationDetails(typing.TypedDict, total=False): externalIpv6InstanceUtilization: SubnetworkUtilizationDetailsIPV6Utilization externalIpv6LbUtilization: SubnetworkUtilizationDetailsIPV6Utilization internalIpv6Utilization: SubnetworkUtilizationDetailsIPV6Utilization ipv4Utilizations: _list[SubnetworkUtilizationDetailsIPV4Utilization] @typing.type_check_only -class SubnetworkUtilizationDetailsIPV4Utilization( - typing_extensions.TypedDict, total=False -): +class SubnetworkUtilizationDetailsIPV4Utilization(typing.TypedDict, total=False): rangeName: str totalAllocatedIp: str totalFreeIp: str @typing.type_check_only -class SubnetworkUtilizationDetailsIPV6Utilization( - typing_extensions.TypedDict, total=False -): +class SubnetworkUtilizationDetailsIPV6Utilization(typing.TypedDict, total=False): totalAllocatedIp: Uint128 totalFreeIp: Uint128 @typing.type_check_only -class SubnetworksExpandIpCidrRangeRequest(typing_extensions.TypedDict, total=False): +class SubnetworksExpandIpCidrRangeRequest(typing.TypedDict, total=False): ipCidrRange: str @typing.type_check_only -class SubnetworksScopedList(typing_extensions.TypedDict, total=False): +class SubnetworksScopedList(typing.TypedDict, total=False): subnetworks: _list[Subnetwork] warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworksScopedWarning(typing_extensions.TypedDict, total=False): +class SubnetworksScopedWarning(typing.TypedDict, total=False): scopeName: str warning: dict[str, typing.Any] @typing.type_check_only -class SubnetworksSetPrivateIpGoogleAccessRequest( - typing_extensions.TypedDict, total=False -): +class SubnetworksSetPrivateIpGoogleAccessRequest(typing.TypedDict, total=False): privateIpGoogleAccess: bool @typing.type_check_only -class Subsetting(typing_extensions.TypedDict, total=False): - policy: typing_extensions.Literal["CONSISTENT_HASH_SUBSETTING", "NONE"] +class Subsetting(typing.TypedDict, total=False): + policy: typing.Literal["CONSISTENT_HASH_SUBSETTING", "NONE"] @typing.type_check_only -class TCPHealthCheck(typing_extensions.TypedDict, total=False): +class TCPHealthCheck(typing.TypedDict, total=False): port: int portName: str - portSpecification: typing_extensions.Literal[ + portSpecification: typing.Literal[ "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] request: str response: str @typing.type_check_only -class Tags(typing_extensions.TypedDict, total=False): +class Tags(typing.TypedDict, total=False): fingerprint: str items: _list[str] @typing.type_check_only -class TargetGrpcProxy(typing_extensions.TypedDict, total=False): +class TargetGrpcProxy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -8823,7 +8631,7 @@ class TargetGrpcProxy(typing_extensions.TypedDict, total=False): validateForProxyless: bool @typing.type_check_only -class TargetGrpcProxyList(typing_extensions.TypedDict, total=False): +class TargetGrpcProxyList(typing.TypedDict, total=False): id: str items: _list[TargetGrpcProxy] kind: str @@ -8832,12 +8640,12 @@ class TargetGrpcProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetHttpProxiesScopedList(typing.TypedDict, total=False): targetHttpProxies: _list[TargetHttpProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpProxy(typing_extensions.TypedDict, total=False): +class TargetHttpProxy(typing.TypedDict, total=False): creationTimestamp: str description: str fingerprint: str @@ -8851,7 +8659,7 @@ class TargetHttpProxy(typing_extensions.TypedDict, total=False): urlMap: str @typing.type_check_only -class TargetHttpProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetHttpProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8860,7 +8668,7 @@ class TargetHttpProxyAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] @typing.type_check_only -class TargetHttpProxyList(typing_extensions.TypedDict, total=False): +class TargetHttpProxyList(typing.TypedDict, total=False): id: str items: _list[TargetHttpProxy] kind: str @@ -8869,30 +8677,24 @@ class TargetHttpProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxiesScopedList(typing.TypedDict, total=False): targetHttpsProxies: _list[TargetHttpsProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxiesSetCertificateMapRequest( - typing_extensions.TypedDict, total=False -): +class TargetHttpsProxiesSetCertificateMapRequest(typing.TypedDict, total=False): certificateMap: str @typing.type_check_only -class TargetHttpsProxiesSetQuicOverrideRequest( - typing_extensions.TypedDict, total=False -): - quicOverride: typing_extensions.Literal["DISABLE", "ENABLE", "NONE"] +class TargetHttpsProxiesSetQuicOverrideRequest(typing.TypedDict, total=False): + quicOverride: typing.Literal["DISABLE", "ENABLE", "NONE"] @typing.type_check_only -class TargetHttpsProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class TargetHttpsProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class TargetHttpsProxy(typing_extensions.TypedDict, total=False): +class TargetHttpsProxy(typing.TypedDict, total=False): authorizationPolicy: str certificateMap: str creationTimestamp: str @@ -8903,19 +8705,17 @@ class TargetHttpsProxy(typing_extensions.TypedDict, total=False): kind: str name: str proxyBind: bool - quicOverride: typing_extensions.Literal["DISABLE", "ENABLE", "NONE"] + quicOverride: typing.Literal["DISABLE", "ENABLE", "NONE"] region: str selfLink: str serverTlsPolicy: str sslCertificates: _list[str] sslPolicy: str - tlsEarlyData: typing_extensions.Literal[ - "DISABLED", "PERMISSIVE", "STRICT", "UNRESTRICTED" - ] + tlsEarlyData: typing.Literal["DISABLED", "PERMISSIVE", "STRICT", "UNRESTRICTED"] urlMap: str @typing.type_check_only -class TargetHttpsProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8925,7 +8725,7 @@ class TargetHttpsProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetHttpsProxyList(typing_extensions.TypedDict, total=False): +class TargetHttpsProxyList(typing.TypedDict, total=False): id: str items: _list[TargetHttpsProxy] kind: str @@ -8934,21 +8734,21 @@ class TargetHttpsProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstance(typing_extensions.TypedDict, total=False): +class TargetInstance(typing.TypedDict, total=False): creationTimestamp: str description: str id: str instance: str kind: str name: str - natPolicy: typing_extensions.Literal["NO_NAT"] + natPolicy: typing.Literal["NO_NAT"] network: str securityPolicy: str selfLink: str zone: str @typing.type_check_only -class TargetInstanceAggregatedList(typing_extensions.TypedDict, total=False): +class TargetInstanceAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -8958,7 +8758,7 @@ class TargetInstanceAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstanceList(typing_extensions.TypedDict, total=False): +class TargetInstanceList(typing.TypedDict, total=False): id: str items: _list[TargetInstance] kind: str @@ -8967,12 +8767,12 @@ class TargetInstanceList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetInstancesScopedList(typing_extensions.TypedDict, total=False): +class TargetInstancesScopedList(typing.TypedDict, total=False): targetInstances: _list[TargetInstance] warning: dict[str, typing.Any] @typing.type_check_only -class TargetPool(typing_extensions.TypedDict, total=False): +class TargetPool(typing.TypedDict, total=False): backupPool: str creationTimestamp: str description: str @@ -8985,7 +8785,7 @@ class TargetPool(typing_extensions.TypedDict, total=False): region: str securityPolicy: str selfLink: str - sessionAffinity: typing_extensions.Literal[ + sessionAffinity: typing.Literal[ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", "CLIENT_IP_PORT_PROTO", @@ -8998,7 +8798,7 @@ class TargetPool(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TargetPoolAggregatedList(typing_extensions.TypedDict, total=False): +class TargetPoolAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9008,12 +8808,12 @@ class TargetPoolAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetPoolInstanceHealth(typing_extensions.TypedDict, total=False): +class TargetPoolInstanceHealth(typing.TypedDict, total=False): healthStatus: _list[HealthStatus] kind: str @typing.type_check_only -class TargetPoolList(typing_extensions.TypedDict, total=False): +class TargetPoolList(typing.TypedDict, total=False): id: str items: _list[TargetPool] kind: str @@ -9022,68 +8822,62 @@ class TargetPoolList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetPoolsAddHealthCheckRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsAddHealthCheckRequest(typing.TypedDict, total=False): healthChecks: _list[HealthCheckReference] @typing.type_check_only -class TargetPoolsAddInstanceRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsAddInstanceRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class TargetPoolsRemoveHealthCheckRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsRemoveHealthCheckRequest(typing.TypedDict, total=False): healthChecks: _list[HealthCheckReference] @typing.type_check_only -class TargetPoolsRemoveInstanceRequest(typing_extensions.TypedDict, total=False): +class TargetPoolsRemoveInstanceRequest(typing.TypedDict, total=False): instances: _list[InstanceReference] @typing.type_check_only -class TargetPoolsScopedList(typing_extensions.TypedDict, total=False): +class TargetPoolsScopedList(typing.TypedDict, total=False): targetPools: _list[TargetPool] warning: dict[str, typing.Any] @typing.type_check_only -class TargetReference(typing_extensions.TypedDict, total=False): +class TargetReference(typing.TypedDict, total=False): target: str @typing.type_check_only -class TargetSslProxiesSetBackendServiceRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetBackendServiceRequest(typing.TypedDict, total=False): service: str @typing.type_check_only -class TargetSslProxiesSetCertificateMapRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetCertificateMapRequest(typing.TypedDict, total=False): certificateMap: str @typing.type_check_only -class TargetSslProxiesSetProxyHeaderRequest(typing_extensions.TypedDict, total=False): - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] +class TargetSslProxiesSetProxyHeaderRequest(typing.TypedDict, total=False): + proxyHeader: typing.Literal["NONE", "PROXY_V1"] @typing.type_check_only -class TargetSslProxiesSetSslCertificatesRequest( - typing_extensions.TypedDict, total=False -): +class TargetSslProxiesSetSslCertificatesRequest(typing.TypedDict, total=False): sslCertificates: _list[str] @typing.type_check_only -class TargetSslProxy(typing_extensions.TypedDict, total=False): +class TargetSslProxy(typing.TypedDict, total=False): certificateMap: str creationTimestamp: str description: str id: str kind: str name: str - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] selfLink: str service: str sslCertificates: _list[str] sslPolicy: str @typing.type_check_only -class TargetSslProxyList(typing_extensions.TypedDict, total=False): +class TargetSslProxyList(typing.TypedDict, total=False): id: str items: _list[TargetSslProxy] kind: str @@ -9092,27 +8886,25 @@ class TargetSslProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxiesScopedList(typing_extensions.TypedDict, total=False): +class TargetTcpProxiesScopedList(typing.TypedDict, total=False): targetTcpProxies: _list[TargetTcpProxy] warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxiesSetBackendServiceRequest( - typing_extensions.TypedDict, total=False -): +class TargetTcpProxiesSetBackendServiceRequest(typing.TypedDict, total=False): service: str @typing.type_check_only -class TargetTcpProxiesSetProxyHeaderRequest(typing_extensions.TypedDict, total=False): - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] +class TargetTcpProxiesSetProxyHeaderRequest(typing.TypedDict, total=False): + proxyHeader: typing.Literal["NONE", "PROXY_V1"] @typing.type_check_only -class TargetTcpProxy(typing_extensions.TypedDict, total=False): +class TargetTcpProxy(typing.TypedDict, total=False): creationTimestamp: str description: str id: str kind: str - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL_MANAGED", @@ -9120,13 +8912,13 @@ class TargetTcpProxy(typing_extensions.TypedDict, total=False): ] name: str proxyBind: bool - proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] + proxyHeader: typing.Literal["NONE", "PROXY_V1"] region: str selfLink: str service: str @typing.type_check_only -class TargetTcpProxyAggregatedList(typing_extensions.TypedDict, total=False): +class TargetTcpProxyAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9136,7 +8928,7 @@ class TargetTcpProxyAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetTcpProxyList(typing_extensions.TypedDict, total=False): +class TargetTcpProxyList(typing.TypedDict, total=False): id: str items: _list[TargetTcpProxy] kind: str @@ -9145,7 +8937,7 @@ class TargetTcpProxyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGateway(typing_extensions.TypedDict, total=False): +class TargetVpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str forwardingRules: _list[str] @@ -9158,11 +8950,11 @@ class TargetVpnGateway(typing_extensions.TypedDict, total=False): params: TargetVpnGatewayParams region: str selfLink: str - status: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] + status: typing.Literal["CREATING", "DELETING", "FAILED", "READY"] tunnels: _list[str] @typing.type_check_only -class TargetVpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9172,7 +8964,7 @@ class TargetVpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewayList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayList(typing.TypedDict, total=False): id: str items: _list[TargetVpnGateway] kind: str @@ -9181,16 +8973,16 @@ class TargetVpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewayParams(typing_extensions.TypedDict, total=False): +class TargetVpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class TargetVpnGatewaysScopedList(typing_extensions.TypedDict, total=False): +class TargetVpnGatewaysScopedList(typing.TypedDict, total=False): targetVpnGateways: _list[TargetVpnGateway] warning: dict[str, typing.Any] @typing.type_check_only -class TestFailure(typing_extensions.TypedDict, total=False): +class TestFailure(typing.TypedDict, total=False): actualOutputUrl: str actualRedirectResponseCode: int actualService: str @@ -9202,30 +8994,30 @@ class TestFailure(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class TestPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class Uint128(typing_extensions.TypedDict, total=False): +class Uint128(typing.TypedDict, total=False): high: str low: str @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): canReschedule: bool latestWindowStartTime: str maintenanceOnShutdown: bool maintenanceReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "FAILURE_DISK", "FAILURE_GPU", "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", @@ -9245,15 +9037,13 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): "PLANNED_UPDATE", ] ] - maintenanceStatus: typing_extensions.Literal["ONGOING", "PENDING", "UNKNOWN"] - type: typing_extensions.Literal[ - "MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED" - ] + maintenanceStatus: typing.Literal["ONGOING", "PENDING", "UNKNOWN"] + type: typing.Literal["MULTIPLE", "SCHEDULED", "UNKNOWN_TYPE", "UNSCHEDULED"] windowEndTime: str windowStartTime: str @typing.type_check_only -class UrlMap(typing_extensions.TypedDict, total=False): +class UrlMap(typing.TypedDict, total=False): creationTimestamp: str defaultCustomErrorResponsePolicy: CustomErrorResponsePolicy defaultRouteAction: HttpRouteAction @@ -9272,7 +9062,7 @@ class UrlMap(typing_extensions.TypedDict, total=False): tests: _list[UrlMapTest] @typing.type_check_only -class UrlMapList(typing_extensions.TypedDict, total=False): +class UrlMapList(typing.TypedDict, total=False): id: str items: _list[UrlMap] kind: str @@ -9281,11 +9071,11 @@ class UrlMapList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapReference(typing_extensions.TypedDict, total=False): +class UrlMapReference(typing.TypedDict, total=False): urlMap: str @typing.type_check_only -class UrlMapTest(typing_extensions.TypedDict, total=False): +class UrlMapTest(typing.TypedDict, total=False): description: str expectedOutputUrl: str expectedRedirectResponseCode: int @@ -9295,19 +9085,19 @@ class UrlMapTest(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class UrlMapTestHeader(typing_extensions.TypedDict, total=False): +class UrlMapTestHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class UrlMapValidationResult(typing_extensions.TypedDict, total=False): +class UrlMapValidationResult(typing.TypedDict, total=False): loadErrors: _list[str] loadSucceeded: bool testFailures: _list[TestFailure] testPassed: bool @typing.type_check_only -class UrlMapsAggregatedList(typing_extensions.TypedDict, total=False): +class UrlMapsAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9317,37 +9107,38 @@ class UrlMapsAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapsScopedList(typing_extensions.TypedDict, total=False): +class UrlMapsScopedList(typing.TypedDict, total=False): urlMaps: _list[UrlMap] warning: dict[str, typing.Any] @typing.type_check_only -class UrlMapsValidateRequest(typing_extensions.TypedDict, total=False): +class UrlMapsValidateRequest(typing.TypedDict, total=False): loadBalancingSchemes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXTERNAL", "EXTERNAL_MANAGED", "LOAD_BALANCING_SCHEME_UNSPECIFIED" ] ] resource: UrlMap @typing.type_check_only -class UrlMapsValidateResponse(typing_extensions.TypedDict, total=False): +class UrlMapsValidateResponse(typing.TypedDict, total=False): result: UrlMapValidationResult @typing.type_check_only -class UrlRewrite(typing_extensions.TypedDict, total=False): +class UrlRewrite(typing.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str pathTemplateRewrite: str + regexRewrite: RegexRewrite @typing.type_check_only -class UsableSubnetwork(typing_extensions.TypedDict, total=False): +class UsableSubnetwork(typing.TypedDict, total=False): externalIpv6Prefix: str internalIpv6Prefix: str ipCidrRange: str - ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] + ipv6AccessType: typing.Literal["EXTERNAL", "INTERNAL"] network: str - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", "PEER_MIGRATION", @@ -9357,18 +9148,18 @@ class UsableSubnetwork(typing_extensions.TypedDict, total=False): "PRIVATE_SERVICE_CONNECT", "REGIONAL_MANAGED_PROXY", ] - role: typing_extensions.Literal["ACTIVE", "BACKUP"] + role: typing.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[UsableSubnetworkSecondaryRange] - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subnetwork: str @typing.type_check_only -class UsableSubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class UsableSubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str rangeName: str @typing.type_check_only -class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): +class UsableSubnetworksAggregatedList(typing.TypedDict, total=False): id: str items: _list[UsableSubnetwork] kind: str @@ -9379,19 +9170,17 @@ class UsableSubnetworksAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class UsageExportLocation(typing_extensions.TypedDict, total=False): +class UsageExportLocation(typing.TypedDict, total=False): bucketName: str reportNamePrefix: str @typing.type_check_only -class VmEndpointNatMappings(typing_extensions.TypedDict, total=False): +class VmEndpointNatMappings(typing.TypedDict, total=False): instanceName: str interfaceNatMappings: _list[VmEndpointNatMappingsInterfaceNatMappings] @typing.type_check_only -class VmEndpointNatMappingsInterfaceNatMappings( - typing_extensions.TypedDict, total=False -): +class VmEndpointNatMappingsInterfaceNatMappings(typing.TypedDict, total=False): drainNatIpPortRanges: _list[str] natIpPortRanges: _list[str] numTotalDrainNatPorts: int @@ -9402,7 +9191,7 @@ class VmEndpointNatMappingsInterfaceNatMappings( @typing.type_check_only class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): drainNatIpPortRanges: _list[str] natIpPortRanges: _list[str] @@ -9411,7 +9200,7 @@ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings( ruleNumber: int @typing.type_check_only -class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): +class VmEndpointNatMappingsList(typing.TypedDict, total=False): id: str kind: str nextPageToken: str @@ -9420,12 +9209,12 @@ class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPoliciesScopedList(typing_extensions.TypedDict, total=False): +class VmExtensionPoliciesScopedList(typing.TypedDict, total=False): vmExtensionPolicies: _list[VmExtensionPolicy] warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicy(typing_extensions.TypedDict, total=False): +class VmExtensionPolicy(typing.TypedDict, total=False): creationTimestamp: str description: str extensionPolicies: dict[str, typing.Any] @@ -9438,11 +9227,11 @@ class VmExtensionPolicy(typing_extensions.TypedDict, total=False): priority: int selfLink: str selfLinkWithId: str - state: typing_extensions.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] + state: typing.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] updateTimestamp: str @typing.type_check_only -class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyAggregatedListResponse(typing.TypedDict, total=False): etag: str id: str items: dict[str, typing.Any] @@ -9453,20 +9242,20 @@ class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total warning: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyExtensionPolicy(typing.TypedDict, total=False): pinnedVersion: str stringConfig: str @typing.type_check_only -class VmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyInstanceSelector(typing.TypedDict, total=False): labelSelector: VmExtensionPolicyLabelSelector @typing.type_check_only -class VmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyLabelSelector(typing.TypedDict, total=False): inclusionLabels: dict[str, typing.Any] @typing.type_check_only -class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): +class VmExtensionPolicyList(typing.TypedDict, total=False): etag: str id: str items: _list[VmExtensionPolicy] @@ -9477,10 +9266,10 @@ class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGateway(typing_extensions.TypedDict, total=False): +class VpnGateway(typing.TypedDict, total=False): creationTimestamp: str description: str - gatewayIpVersion: typing_extensions.Literal["IPV4", "IPV6"] + gatewayIpVersion: typing.Literal["IPV4", "IPV6"] id: str kind: str labelFingerprint: str @@ -9490,11 +9279,11 @@ class VpnGateway(typing_extensions.TypedDict, total=False): params: VpnGatewayParams region: str selfLink: str - stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] + stackType: typing.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] vpnInterfaces: _list[VpnGatewayVpnGatewayInterface] @typing.type_check_only -class VpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): +class VpnGatewayAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9504,7 +9293,7 @@ class VpnGatewayAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayList(typing_extensions.TypedDict, total=False): +class VpnGatewayList(typing.TypedDict, total=False): id: str items: _list[VpnGateway] kind: str @@ -9513,53 +9302,49 @@ class VpnGatewayList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayParams(typing_extensions.TypedDict, total=False): +class VpnGatewayParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class VpnGatewayStatus(typing_extensions.TypedDict, total=False): +class VpnGatewayStatus(typing.TypedDict, total=False): vpnConnections: _list[VpnGatewayStatusVpnConnection] @typing.type_check_only -class VpnGatewayStatusHighAvailabilityRequirementState( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ - "CONNECTION_REDUNDANCY_MET", "CONNECTION_REDUNDANCY_NOT_MET" - ] - unsatisfiedReason: typing_extensions.Literal["INCOMPLETE_TUNNELS_COVERAGE"] +class VpnGatewayStatusHighAvailabilityRequirementState(typing.TypedDict, total=False): + state: typing.Literal["CONNECTION_REDUNDANCY_MET", "CONNECTION_REDUNDANCY_NOT_MET"] + unsatisfiedReason: typing.Literal["INCOMPLETE_TUNNELS_COVERAGE"] @typing.type_check_only -class VpnGatewayStatusTunnel(typing_extensions.TypedDict, total=False): +class VpnGatewayStatusTunnel(typing.TypedDict, total=False): localGatewayInterface: int peerGatewayInterface: int tunnelUrl: str @typing.type_check_only -class VpnGatewayStatusVpnConnection(typing_extensions.TypedDict, total=False): +class VpnGatewayStatusVpnConnection(typing.TypedDict, total=False): peerExternalGateway: str peerGcpGateway: str state: VpnGatewayStatusHighAvailabilityRequirementState tunnels: _list[VpnGatewayStatusTunnel] @typing.type_check_only -class VpnGatewayVpnGatewayInterface(typing_extensions.TypedDict, total=False): +class VpnGatewayVpnGatewayInterface(typing.TypedDict, total=False): id: int interconnectAttachment: str ipAddress: str ipv6Address: str @typing.type_check_only -class VpnGatewaysGetStatusResponse(typing_extensions.TypedDict, total=False): +class VpnGatewaysGetStatusResponse(typing.TypedDict, total=False): result: VpnGatewayStatus @typing.type_check_only -class VpnGatewaysScopedList(typing_extensions.TypedDict, total=False): +class VpnGatewaysScopedList(typing.TypedDict, total=False): vpnGateways: _list[VpnGateway] warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnel(typing_extensions.TypedDict, total=False): +class VpnTunnel(typing.TypedDict, total=False): cipherSuite: VpnTunnelCipherSuite creationTimestamp: str description: str @@ -9582,7 +9367,7 @@ class VpnTunnel(typing_extensions.TypedDict, total=False): selfLink: str sharedSecret: str sharedSecretHash: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ALLOCATING_RESOURCES", "AUTHORIZATION_ERROR", "DEPROVISIONING", @@ -9602,7 +9387,7 @@ class VpnTunnel(typing_extensions.TypedDict, total=False): vpnGatewayInterface: int @typing.type_check_only -class VpnTunnelAggregatedList(typing_extensions.TypedDict, total=False): +class VpnTunnelAggregatedList(typing.TypedDict, total=False): id: str items: dict[str, typing.Any] kind: str @@ -9612,12 +9397,12 @@ class VpnTunnelAggregatedList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelCipherSuite(typing_extensions.TypedDict, total=False): +class VpnTunnelCipherSuite(typing.TypedDict, total=False): phase1: VpnTunnelPhase1Algorithms phase2: VpnTunnelPhase2Algorithms @typing.type_check_only -class VpnTunnelList(typing_extensions.TypedDict, total=False): +class VpnTunnelList(typing.TypedDict, total=False): id: str items: _list[VpnTunnel] kind: str @@ -9626,58 +9411,58 @@ class VpnTunnelList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelParams(typing_extensions.TypedDict, total=False): +class VpnTunnelParams(typing.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @typing.type_check_only -class VpnTunnelPhase1Algorithms(typing_extensions.TypedDict, total=False): +class VpnTunnelPhase1Algorithms(typing.TypedDict, total=False): dh: _list[str] encryption: _list[str] integrity: _list[str] prf: _list[str] @typing.type_check_only -class VpnTunnelPhase2Algorithms(typing_extensions.TypedDict, total=False): +class VpnTunnelPhase2Algorithms(typing.TypedDict, total=False): encryption: _list[str] integrity: _list[str] pfs: _list[str] @typing.type_check_only -class VpnTunnelsScopedList(typing_extensions.TypedDict, total=False): +class VpnTunnelsScopedList(typing.TypedDict, total=False): vpnTunnels: _list[VpnTunnel] warning: dict[str, typing.Any] @typing.type_check_only -class WafExpressionSet(typing_extensions.TypedDict, total=False): +class WafExpressionSet(typing.TypedDict, total=False): aliases: _list[str] expressions: _list[WafExpressionSetExpression] id: str @typing.type_check_only -class WafExpressionSetExpression(typing_extensions.TypedDict, total=False): +class WafExpressionSetExpression(typing.TypedDict, total=False): id: str sensitivity: int @typing.type_check_only -class WeightedBackendService(typing_extensions.TypedDict, total=False): +class WeightedBackendService(typing.TypedDict, total=False): backendService: str headerAction: HttpHeaderAction weight: int @typing.type_check_only -class Wire(typing_extensions.TypedDict, total=False): +class Wire(typing.TypedDict, total=False): adminEnabled: bool endpoints: _list[WireEndpoint] label: str wireProperties: WireProperties @typing.type_check_only -class WireEndpoint(typing_extensions.TypedDict, total=False): +class WireEndpoint(typing.TypedDict, total=False): interconnect: str vlanTag: int @typing.type_check_only -class WireGroup(typing_extensions.TypedDict, total=False): +class WireGroup(typing.TypedDict, total=False): adminEnabled: bool creationTimestamp: str description: str @@ -9692,16 +9477,16 @@ class WireGroup(typing_extensions.TypedDict, total=False): wires: _list[Wire] @typing.type_check_only -class WireGroupEndpoint(typing_extensions.TypedDict, total=False): +class WireGroupEndpoint(typing.TypedDict, total=False): interconnects: dict[str, typing.Any] @typing.type_check_only -class WireGroupEndpointInterconnect(typing_extensions.TypedDict, total=False): +class WireGroupEndpointInterconnect(typing.TypedDict, total=False): interconnect: str vlanTags: _list[int] @typing.type_check_only -class WireGroupList(typing_extensions.TypedDict, total=False): +class WireGroupList(typing.TypedDict, total=False): etag: str id: str items: _list[WireGroup] @@ -9712,29 +9497,27 @@ class WireGroupList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class WireGroupTopology(typing_extensions.TypedDict, total=False): +class WireGroupTopology(typing.TypedDict, total=False): endpoints: _list[WireGroupTopologyEndpoint] @typing.type_check_only -class WireGroupTopologyEndpoint(typing_extensions.TypedDict, total=False): +class WireGroupTopologyEndpoint(typing.TypedDict, total=False): city: str label: str @typing.type_check_only -class WireProperties(typing_extensions.TypedDict, total=False): - bandwidthAllocation: typing_extensions.Literal[ - "ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP" - ] +class WireProperties(typing.TypedDict, total=False): + bandwidthAllocation: typing.Literal["ALLOCATE_PER_WIRE", "SHARED_WITH_WIRE_GROUP"] bandwidthUnmetered: str - faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] + faultResponse: typing.Literal["DISABLE_PORT", "NONE"] @typing.type_check_only -class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): +class WorkloadIdentityConfig(typing.TypedDict, total=False): identity: str identityCertificateEnabled: bool @typing.type_check_only -class XpnHostList(typing_extensions.TypedDict, total=False): +class XpnHostList(typing.TypedDict, total=False): id: str items: _list[Project] kind: str @@ -9743,12 +9526,12 @@ class XpnHostList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class XpnResourceId(typing_extensions.TypedDict, total=False): +class XpnResourceId(typing.TypedDict, total=False): id: str - type: typing_extensions.Literal["PROJECT", "XPN_RESOURCE_TYPE_UNSPECIFIED"] + type: typing.Literal["PROJECT", "XPN_RESOURCE_TYPE_UNSPECIFIED"] @typing.type_check_only -class Zone(typing_extensions.TypedDict, total=False): +class Zone(typing.TypedDict, total=False): availableCpuPlatforms: _list[str] creationTimestamp: str deprecated: DeprecationStatus @@ -9759,11 +9542,11 @@ class Zone(typing_extensions.TypedDict, total=False): region: str resourceStatus: ZoneResourceStatus selfLink: str - status: typing_extensions.Literal["DOWN", "UP"] + status: typing.Literal["DOWN", "UP"] supportsPzs: bool @typing.type_check_only -class ZoneList(typing_extensions.TypedDict, total=False): +class ZoneList(typing.TypedDict, total=False): id: str items: _list[Zone] kind: str @@ -9772,22 +9555,22 @@ class ZoneList(typing_extensions.TypedDict, total=False): warning: dict[str, typing.Any] @typing.type_check_only -class ZoneResourceStatus(typing_extensions.TypedDict, total=False): +class ZoneResourceStatus(typing.TypedDict, total=False): upcomingMaintenances: _list[PeriodicPartialMaintenanceSchedule] @typing.type_check_only -class ZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): +class ZoneSetLabelsRequest(typing.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] @typing.type_check_only -class ZoneSetNestedPolicyRequest(typing_extensions.TypedDict, total=False): +class ZoneSetNestedPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy @typing.type_check_only -class ZoneSetPolicyRequest(typing_extensions.TypedDict, total=False): +class ZoneSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy diff --git a/googleapiclient-stubs/_apis/config/v1/resources.pyi b/googleapiclient-stubs/_apis/config/v1/resources.pyi index 2e5712c72..72daed883 100644 --- a/googleapiclient-stubs/_apis/config/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/config/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -51,7 +50,7 @@ class ConfigResource(googleapiclient.discovery.Resource): self, *, name: str, - deploymentReferencePolicy: typing_extensions.Literal[ + deploymentReferencePolicy: typing.Literal[ "DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED", "FAIL_IF_ANY_REFERENCES_EXIST", "FAIL_IF_METADATA_REFERENCES_EXIST", @@ -170,7 +169,7 @@ class ConfigResource(googleapiclient.discovery.Resource): self, *, name: str, - deletePolicy: typing_extensions.Literal[ + deletePolicy: typing.Literal[ "DELETE_POLICY_UNSPECIFIED", "DELETE", "ABANDON" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/config/v1/schemas.pyi b/googleapiclient-stubs/_apis/config/v1/schemas.pyi index 9da4316fa..82ba75536 100644 --- a/googleapiclient-stubs/_apis/config/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/config/v1/schemas.pyi @@ -1,55 +1,53 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplyResults(typing_extensions.TypedDict, total=False): +class ApplyResults(typing.TypedDict, total=False): artifacts: str content: str outputs: dict[str, typing.Any] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutoMigrationConfig(typing_extensions.TypedDict, total=False): +class AutoMigrationConfig(typing.TypedDict, total=False): autoMigrationEnabled: bool name: str updateTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteStatefileRequest(typing_extensions.TypedDict, total=False): +class DeleteStatefileRequest(typing.TypedDict, total=False): lockId: str @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): annotations: dict[str, typing.Any] artifactsGcsBucket: str createTime: str deleteBuild: str deleteLogs: str deleteResults: ApplyResults - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "REVISION_FAILED", "CLOUD_BUILD_PERMISSION_DENIED", @@ -63,7 +61,7 @@ class Deployment(typing_extensions.TypedDict, total=False): importExistingResources: bool labels: dict[str, typing.Any] latestRevision: str - lockState: typing_extensions.Literal[ + lockState: typing.Literal[ "LOCK_STATE_UNSPECIFIED", "LOCKED", "UNLOCKED", @@ -74,11 +72,11 @@ class Deployment(typing_extensions.TypedDict, total=False): ] name: str providerConfig: ProviderConfig - quotaValidation: typing_extensions.Literal[ + quotaValidation: typing.Literal[ "QUOTA_VALIDATION_UNSPECIFIED", "ENABLED", "ENFORCED" ] serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -97,14 +95,14 @@ class Deployment(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class DeploymentGroup(typing_extensions.TypedDict, total=False): +class DeploymentGroup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deploymentUnits: _list[DeploymentUnit] labels: dict[str, typing.Any] name: str provisioningError: Status - provisioningState: typing_extensions.Literal[ + provisioningState: typing.Literal[ "PROVISIONING_STATE_UNSPECIFIED", "PROVISIONING", "PROVISIONED", @@ -114,7 +112,7 @@ class DeploymentGroup(typing_extensions.TypedDict, total=False): "FAILED_TO_DEPROVISION", ] provisioningStateDescription: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -128,18 +126,19 @@ class DeploymentGroup(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeploymentGroupRevision(typing_extensions.TypedDict, total=False): +class DeploymentGroupRevision(typing.TypedDict, total=False): alternativeIds: _list[str] createTime: str name: str snapshot: DeploymentGroup @typing.type_check_only -class DeploymentOperationMetadata(typing_extensions.TypedDict, total=False): +class DeploymentOperationMetadata(typing.TypedDict, total=False): applyResults: ApplyResults + applyResultsAvailable: bool build: str logs: str - step: typing_extensions.Literal[ + step: typing.Literal[ "DEPLOYMENT_STEP_UNSPECIFIED", "PREPARING_STORAGE_BUCKET", "DOWNLOADING_BLUEPRINT", @@ -156,11 +155,11 @@ class DeploymentOperationMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DeploymentOperationSummary(typing_extensions.TypedDict, total=False): +class DeploymentOperationSummary(typing.TypedDict, total=False): artifacts: str build: str content: str - deploymentStep: typing_extensions.Literal[ + deploymentStep: typing.Literal[ "DEPLOYMENT_STEP_UNSPECIFIED", "PREPARING_STORAGE_BUCKET", "DOWNLOADING_BLUEPRINT", @@ -178,27 +177,27 @@ class DeploymentOperationSummary(typing_extensions.TypedDict, total=False): logs: str @typing.type_check_only -class DeploymentSource(typing_extensions.TypedDict, total=False): +class DeploymentSource(typing.TypedDict, total=False): deployment: str outputName: str @typing.type_check_only -class DeploymentSpec(typing_extensions.TypedDict, total=False): +class DeploymentSpec(typing.TypedDict, total=False): deployment: Deployment deploymentId: str @typing.type_check_only -class DeploymentUnit(typing_extensions.TypedDict, total=False): +class DeploymentUnit(typing.TypedDict, total=False): dependencies: _list[str] deployment: str id: str @typing.type_check_only -class DeploymentUnitProgress(typing_extensions.TypedDict, total=False): +class DeploymentUnitProgress(typing.TypedDict, total=False): deployment: str deploymentOperationSummary: DeploymentOperationSummary error: Status - intent: typing_extensions.Literal[ + intent: typing.Literal[ "INTENT_UNSPECIFIED", "CREATE_DEPLOYMENT", "UPDATE_DEPLOYMENT", @@ -207,7 +206,7 @@ class DeploymentUnitProgress(typing_extensions.TypedDict, total=False): "CLEAN_UP", "UNCHANGED", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "APPLYING_DEPLOYMENT", @@ -222,117 +221,115 @@ class DeploymentUnitProgress(typing_extensions.TypedDict, total=False): unitId: str @typing.type_check_only -class DeprovisionDeploymentGroupRequest(typing_extensions.TypedDict, total=False): - deletePolicy: typing_extensions.Literal[ - "DELETE_POLICY_UNSPECIFIED", "DELETE", "ABANDON" - ] +class DeprovisionDeploymentGroupRequest(typing.TypedDict, total=False): + deletePolicy: typing.Literal["DELETE_POLICY_UNSPECIFIED", "DELETE", "ABANDON"] force: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportDeploymentStatefileRequest(typing_extensions.TypedDict, total=False): +class ExportDeploymentStatefileRequest(typing.TypedDict, total=False): draft: bool @typing.type_check_only -class ExportPreviewResultRequest(typing_extensions.TypedDict, total=False): ... +class ExportPreviewResultRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportPreviewResultResponse(typing_extensions.TypedDict, total=False): +class ExportPreviewResultResponse(typing.TypedDict, total=False): result: PreviewResult @typing.type_check_only -class ExportRevisionStatefileRequest(typing_extensions.TypedDict, total=False): ... +class ExportRevisionStatefileRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalValueSource(typing_extensions.TypedDict, total=False): +class ExternalValueSource(typing.TypedDict, total=False): deploymentSource: DeploymentSource @typing.type_check_only -class GitSource(typing_extensions.TypedDict, total=False): +class GitSource(typing.TypedDict, total=False): directory: str ref: str repo: str @typing.type_check_only -class ImportStatefileRequest(typing_extensions.TypedDict, total=False): +class ImportStatefileRequest(typing.TypedDict, total=False): lockId: str @typing.type_check_only -class ListDeploymentGroupRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentGroupRevisionsResponse(typing.TypedDict, total=False): deploymentGroupRevisions: _list[DeploymentGroupRevision] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDeploymentGroupsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentGroupsResponse(typing.TypedDict, total=False): deploymentGroups: _list[DeploymentGroup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPreviewsResponse(typing_extensions.TypedDict, total=False): +class ListPreviewsResponse(typing.TypedDict, total=False): nextPageToken: str previews: _list[Preview] unreachable: _list[str] @typing.type_check_only -class ListResourceChangesResponse(typing_extensions.TypedDict, total=False): +class ListResourceChangesResponse(typing.TypedDict, total=False): nextPageToken: str resourceChanges: _list[ResourceChange] unreachable: _list[str] @typing.type_check_only -class ListResourceDriftsResponse(typing_extensions.TypedDict, total=False): +class ListResourceDriftsResponse(typing.TypedDict, total=False): nextPageToken: str resourceDrifts: _list[ResourceDrift] unreachable: _list[str] @typing.type_check_only -class ListResourcesResponse(typing_extensions.TypedDict, total=False): +class ListResourcesResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Resource] unreachable: _list[str] @typing.type_check_only -class ListRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str revisions: _list[Revision] unreachable: _list[str] @typing.type_check_only -class ListTerraformVersionsResponse(typing_extensions.TypedDict, total=False): +class ListTerraformVersionsResponse(typing.TypedDict, total=False): nextPageToken: str terraformVersions: _list[TerraformVersion] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -340,10 +337,10 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LockDeploymentRequest(typing_extensions.TypedDict, total=False): ... +class LockDeploymentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class LockInfo(typing_extensions.TypedDict, total=False): +class LockInfo(typing.TypedDict, total=False): createTime: str info: str lockId: str @@ -352,7 +349,7 @@ class LockInfo(typing_extensions.TypedDict, total=False): who: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -360,7 +357,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str deploymentMetadata: DeploymentOperationMetadata @@ -373,20 +370,20 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Preview(typing_extensions.TypedDict, total=False): +class Preview(typing.TypedDict, total=False): annotations: dict[str, typing.Any] artifactsGcsBucket: str build: str createTime: str deployment: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "CLOUD_BUILD_PERMISSION_DENIED", "BUCKET_CREATION_PERMISSION_DENIED", @@ -402,12 +399,10 @@ class Preview(typing_extensions.TypedDict, total=False): logs: str name: str previewArtifacts: PreviewArtifacts - previewMode: typing_extensions.Literal[ - "PREVIEW_MODE_UNSPECIFIED", "DEFAULT", "DELETE" - ] + previewMode: typing.Literal["PREVIEW_MODE_UNSPECIFIED", "DEFAULT", "DELETE"] providerConfig: ProviderConfig serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "SUCCEEDED", @@ -424,16 +419,16 @@ class Preview(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class PreviewArtifacts(typing_extensions.TypedDict, total=False): +class PreviewArtifacts(typing.TypedDict, total=False): artifacts: str content: str @typing.type_check_only -class PreviewOperationMetadata(typing_extensions.TypedDict, total=False): +class PreviewOperationMetadata(typing.TypedDict, total=False): build: str logs: str previewArtifacts: PreviewArtifacts - step: typing_extensions.Literal[ + step: typing.Literal[ "PREVIEW_STEP_UNSPECIFIED", "PREPARING_STORAGE_BUCKET", "DOWNLOADING_BLUEPRINT", @@ -448,12 +443,12 @@ class PreviewOperationMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PreviewResult(typing_extensions.TypedDict, total=False): +class PreviewResult(typing.TypedDict, total=False): binarySignedUri: str jsonSignedUri: str @typing.type_check_only -class PropertyChange(typing_extensions.TypedDict, total=False): +class PropertyChange(typing.TypedDict, total=False): after: typing.Any afterSensitivePaths: _list[str] before: typing.Any @@ -461,7 +456,7 @@ class PropertyChange(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class PropertyDrift(typing_extensions.TypedDict, total=False): +class PropertyDrift(typing.TypedDict, total=False): after: typing.Any afterSensitivePaths: _list[str] before: typing.Any @@ -469,17 +464,13 @@ class PropertyDrift(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class ProviderConfig(typing_extensions.TypedDict, total=False): - sourceType: typing_extensions.Literal[ - "PROVIDER_SOURCE_UNSPECIFIED", "SERVICE_MAINTAINED" - ] +class ProviderConfig(typing.TypedDict, total=False): + sourceType: typing.Literal["PROVIDER_SOURCE_UNSPECIFIED", "SERVICE_MAINTAINED"] @typing.type_check_only -class ProvisionDeploymentGroupOperationMetadata( - typing_extensions.TypedDict, total=False -): +class ProvisionDeploymentGroupOperationMetadata(typing.TypedDict, total=False): deploymentUnitProgresses: _list[DeploymentUnitProgress] - step: typing_extensions.Literal[ + step: typing.Literal[ "PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED", "VALIDATING_DEPLOYMENT_GROUP", "ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP", @@ -491,28 +482,28 @@ class ProvisionDeploymentGroupOperationMetadata( ] @typing.type_check_only -class ProvisionDeploymentGroupRequest(typing_extensions.TypedDict, total=False): +class ProvisionDeploymentGroupRequest(typing.TypedDict, total=False): deploymentSpecs: dict[str, typing.Any] @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): caiAssets: dict[str, typing.Any] - intent: typing_extensions.Literal[ + intent: typing.Literal[ "INTENT_UNSPECIFIED", "CREATE", "UPDATE", "DELETE", "RECREATE", "UNCHANGED" ] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PLANNED", "IN_PROGRESS", "RECONCILED", "FAILED" ] terraformInfo: ResourceTerraformInfo @typing.type_check_only -class ResourceCAIInfo(typing_extensions.TypedDict, total=False): +class ResourceCAIInfo(typing.TypedDict, total=False): fullResourceName: str @typing.type_check_only -class ResourceChange(typing_extensions.TypedDict, total=False): - intent: typing_extensions.Literal[ +class ResourceChange(typing.TypedDict, total=False): + intent: typing.Literal[ "INTENT_UNSPECIFIED", "CREATE", "UPDATE", "DELETE", "RECREATE", "UNCHANGED" ] name: str @@ -520,7 +511,7 @@ class ResourceChange(typing_extensions.TypedDict, total=False): terraformInfo: ResourceChangeTerraformInfo @typing.type_check_only -class ResourceChangeTerraformInfo(typing_extensions.TypedDict, total=False): +class ResourceChangeTerraformInfo(typing.TypedDict, total=False): actions: _list[str] address: str provider: str @@ -528,33 +519,31 @@ class ResourceChangeTerraformInfo(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ResourceDrift(typing_extensions.TypedDict, total=False): +class ResourceDrift(typing.TypedDict, total=False): name: str propertyDrifts: _list[PropertyDrift] terraformInfo: ResourceDriftTerraformInfo @typing.type_check_only -class ResourceDriftTerraformInfo(typing_extensions.TypedDict, total=False): +class ResourceDriftTerraformInfo(typing.TypedDict, total=False): address: str provider: str resourceName: str type: str @typing.type_check_only -class ResourceTerraformInfo(typing_extensions.TypedDict, total=False): +class ResourceTerraformInfo(typing.TypedDict, total=False): address: str id: str type: str @typing.type_check_only -class Revision(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ - "ACTION_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] +class Revision(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] applyResults: ApplyResults build: str createTime: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "CLOUD_BUILD_PERMISSION_DENIED", "APPLY_BUILD_API_FAILED", @@ -567,14 +556,12 @@ class Revision(typing_extensions.TypedDict, total=False): logs: str name: str providerConfig: ProviderConfig - quotaValidation: typing_extensions.Literal[ + quotaValidation: typing.Literal[ "QUOTA_VALIDATION_UNSPECIFIED", "ENABLED", "ENFORCED" ] quotaValidationResults: str serviceAccount: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "APPLYING", "APPLIED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "APPLYING", "APPLIED", "FAILED"] stateDetail: str terraformBlueprint: TerraformBlueprint tfErrors: _list[TerraformError] @@ -584,61 +571,59 @@ class Revision(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Statefile(typing_extensions.TypedDict, total=False): +class Statefile(typing.TypedDict, total=False): signedUri: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TerraformBlueprint(typing_extensions.TypedDict, total=False): +class TerraformBlueprint(typing.TypedDict, total=False): externalValues: dict[str, typing.Any] gcsSource: str gitSource: GitSource inputValues: dict[str, typing.Any] @typing.type_check_only -class TerraformError(typing_extensions.TypedDict, total=False): +class TerraformError(typing.TypedDict, total=False): error: Status errorDescription: str httpResponseCode: int resourceAddress: str @typing.type_check_only -class TerraformOutput(typing_extensions.TypedDict, total=False): +class TerraformOutput(typing.TypedDict, total=False): sensitive: bool value: typing.Any @typing.type_check_only -class TerraformVariable(typing_extensions.TypedDict, total=False): +class TerraformVariable(typing.TypedDict, total=False): inputValue: typing.Any @typing.type_check_only -class TerraformVersion(typing_extensions.TypedDict, total=False): +class TerraformVersion(typing.TypedDict, total=False): deprecateTime: str name: str obsoleteTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED", "OBSOLETE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED", "OBSOLETE"] supportTime: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UnlockDeploymentRequest(typing_extensions.TypedDict, total=False): +class UnlockDeploymentRequest(typing.TypedDict, total=False): lockId: str diff --git a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi index 3b570b77a..63add3b02 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -44,8 +43,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC"] | None = ..., **kwargs: typing.Any, ) -> ListActionsResponseHttpRequest: ... def listActions_next( @@ -60,8 +58,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC"] | None = ..., **kwargs: typing.Any, ) -> ListEntityTypesResponseHttpRequest: ... def listEntityTypes_next( @@ -96,7 +93,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "END_USER_AUTHENTICATION_VIEW_UNSPECIFIED", "BASIC_VIEW", "FULL_VIEW", @@ -239,9 +236,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "CONNECTION_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CONNECTION_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ConnectionHttpRequest: ... @@ -263,9 +258,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "CONNECTION_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CONNECTION_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListConnectionsResponseHttpRequest: ... @@ -405,7 +398,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED", "ENDPOINT_ATTACHMENT_VIEW_BASIC", "ENDPOINT_ATTACHMENT_VIEW_FULL", @@ -421,7 +414,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED", "ENDPOINT_ATTACHMENT_VIEW_BASIC", "ENDPOINT_ATTACHMENT_VIEW_FULL", @@ -635,7 +628,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "AUTH_SCHEMA_VIEW_UNSPECIFIED", "BASIC", "JSON_SCHEMA", @@ -648,7 +641,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CONNECTOR_VERSION_VIEW_UNSPECIFIED", "CONNECTOR_VERSION_VIEW_BASIC", "CONNECTOR_VERSION_VIEW_FULL", @@ -662,7 +655,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CONNECTOR_VERSION_VIEW_UNSPECIFIED", "CONNECTOR_VERSION_VIEW_BASIC", "CONNECTOR_VERSION_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi index 568dbd442..90038c31b 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi @@ -1,36 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdminFilters(typing_extensions.TypedDict, total=False): +class AdminFilters(typing.TypedDict, total=False): filterKey: str - filterType: typing_extensions.Literal[ - "FILTER_TYPE_UNSPECIFIED", "INCLUSION", "EXCLUSION" - ] + filterType: typing.Literal["FILTER_TYPE_UNSPECIFIED", "INCLUSION", "EXCLUSION"] intValue: str stringListValues: StringListValues stringValue: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthConfig(typing_extensions.TypedDict, total=False): +class AuthConfig(typing.TypedDict, total=False): additionalVariables: _list[ConfigVariable] authKey: str - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", @@ -48,9 +44,9 @@ class AuthConfig(typing_extensions.TypedDict, total=False): userPassword: UserPassword @typing.type_check_only -class AuthConfigTemplate(typing_extensions.TypedDict, total=False): +class AuthConfigTemplate(typing.TypedDict, total=False): authKey: str - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", @@ -66,13 +62,13 @@ class AuthConfigTemplate(typing_extensions.TypedDict, total=False): isDefault: bool @typing.type_check_only -class AuthField(typing_extensions.TypedDict, total=False): +class AuthField(typing.TypedDict, total=False): dataType: str description: str key: str @typing.type_check_only -class AuthObject(typing_extensions.TypedDict, total=False): +class AuthObject(typing.TypedDict, total=False): additionalProperties: bool authKey: str authType: str @@ -82,15 +78,15 @@ class AuthObject(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class AuthProperty(typing_extensions.TypedDict, total=False): +class AuthProperty(typing.TypedDict, total=False): description: str type: str @typing.type_check_only -class AuthSchema(typing_extensions.TypedDict, total=False): +class AuthSchema(typing.TypedDict, total=False): authFields: _list[AuthField] authKey: str - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", @@ -105,7 +101,7 @@ class AuthSchema(typing_extensions.TypedDict, total=False): isDefault: bool @typing.type_check_only -class AuthorizationCodeLink(typing_extensions.TypedDict, total=False): +class AuthorizationCodeLink(typing.TypedDict, total=False): clientId: str clientSecret: Secret enablePkce: bool @@ -114,24 +110,24 @@ class AuthorizationCodeLink(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class BillingConfig(typing_extensions.TypedDict, total=False): - billingCategory: typing_extensions.Literal[ +class BillingConfig(typing.TypedDict, total=False): + billingCategory: typing.Literal[ "BILLING_CATEGORY_UNSPECIFIED", "GCP_AND_TECHNICAL_CONNECTOR", "NON_GCP_CONNECTOR", ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ConfigVariable(typing_extensions.TypedDict, total=False): +class ConfigVariable(typing.TypedDict, total=False): boolValue: bool encryptionKeyValue: EncryptionKey intValue: str @@ -140,24 +136,24 @@ class ConfigVariable(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class ConfigVariableTemplate(typing_extensions.TypedDict, total=False): +class ConfigVariableTemplate(typing.TypedDict, total=False): authorizationCodeLink: AuthorizationCodeLink description: str displayName: str enumOptions: _list[EnumOption] - enumSource: typing_extensions.Literal["ENUM_SOURCE_UNSPECIFIED", "EVENT_TYPES_API"] + enumSource: typing.Literal["ENUM_SOURCE_UNSPECIFIED", "EVENT_TYPES_API"] isAdvanced: bool key: str - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "LOCATION_TYPE_UNSPECIFIED", "HEADER", "PAYLOAD", "QUERY_PARAM", "PATH_PARAM" ] multipleSelectConfig: MultipleSelectConfig required: bool requiredCondition: LogicalExpression roleGrant: RoleGrant - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] validationRegex: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "STRING", "INT", @@ -170,7 +166,7 @@ class ConfigVariableTemplate(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): adminFilters: _list[AdminFilters] asyncOperationsEnabled: bool authConfig: AuthConfig @@ -180,7 +176,7 @@ class Connection(typing_extensions.TypedDict, total=False): connectionRevision: str connectorVersion: str connectorVersionInfraConfig: ConnectorVersionInfraConfig - connectorVersionLaunchStage: typing_extensions.Literal[ + connectorVersionLaunchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", @@ -194,7 +190,7 @@ class Connection(typing_extensions.TypedDict, total=False): envoyImageLocation: str euaOauthAuthConfig: AuthConfig eventingConfig: EventingConfig - eventingEnablementType: typing_extensions.Literal[ + eventingEnablementType: typing.Literal[ "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", "EVENTING_AND_CONNECTION", "ONLY_EVENTING", @@ -213,22 +209,20 @@ class Connection(typing_extensions.TypedDict, total=False): serviceDirectory: str sslConfig: SslConfig status: ConnectionStatus - subscriptionType: typing_extensions.Literal[ - "SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID" - ] + subscriptionType: typing.Literal["SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID"] suspended: bool tlsServiceDirectory: str trafficShapingConfigs: _list[TrafficShapingConfig] updateTime: str @typing.type_check_only -class ConnectionSchemaMetadata(typing_extensions.TypedDict, total=False): +class ConnectionSchemaMetadata(typing.TypedDict, total=False): actions: _list[str] entities: _list[str] errorMessage: str name: str refreshTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REFRESHING", "UPDATED", @@ -241,9 +235,9 @@ class ConnectionSchemaMetadata(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ConnectionStatus(typing_extensions.TypedDict, total=False): +class ConnectionStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -256,9 +250,9 @@ class ConnectionStatus(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class Connector(typing_extensions.TypedDict, total=False): +class Connector(typing.TypedDict, total=False): category: str - connectorType: typing_extensions.Literal[ + connectorType: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "CONNECTOR_TYPE_GOOGLE", "CONNECTOR_TYPE_TECHNICAL", @@ -271,7 +265,7 @@ class Connector(typing_extensions.TypedDict, total=False): eventingDetails: EventingDetails externalUri: str labels: dict[str, typing.Any] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", @@ -286,12 +280,12 @@ class Connector(typing_extensions.TypedDict, total=False): webAssetsLocation: str @typing.type_check_only -class ConnectorInfraConfig(typing_extensions.TypedDict, total=False): +class ConnectorInfraConfig(typing.TypedDict, total=False): alwaysAllocateCpu: bool connectionRatelimitWindowSeconds: str connectionServiceAccountEnabled: bool connectorVersioningEnabled: bool - deploymentModel: typing_extensions.Literal[ + deploymentModel: typing.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "GKE_MST", "CLOUD_RUN_MST" ] hpaConfig: HPAConfig @@ -309,7 +303,7 @@ class ConnectorInfraConfig(typing_extensions.TypedDict, total=False): sharedDeployment: str @typing.type_check_only -class ConnectorVersion(typing_extensions.TypedDict, total=False): +class ConnectorVersion(typing.TypedDict, total=False): authConfigTemplates: _list[AuthConfigTemplate] authOverrideEnabled: bool configVariableTemplates: _list[ConfigVariableTemplate] @@ -322,7 +316,7 @@ class ConnectorVersion(typing_extensions.TypedDict, total=False): isCustomActionsSupported: bool isCustomEntitiesSupported: bool labels: dict[str, typing.Any] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", @@ -340,7 +334,7 @@ class ConnectorVersion(typing_extensions.TypedDict, total=False): supportedStandardActions: _list[StandardAction] supportedStandardEntities: _list[StandardEntity] unsupportedConnectionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "CONNECTION_WITH_EVENTING", "ONLY_CONNECTION", @@ -351,12 +345,12 @@ class ConnectorVersion(typing_extensions.TypedDict, total=False): vpcscConfig: VpcscConfig @typing.type_check_only -class ConnectorVersionInfraConfig(typing_extensions.TypedDict, total=False): +class ConnectorVersionInfraConfig(typing.TypedDict, total=False): connectionRatelimitWindowSeconds: str - deploymentModel: typing_extensions.Literal[ + deploymentModel: typing.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "GKE_MST", "CLOUD_RUN_MST" ] - deploymentModelMigrationState: typing_extensions.Literal[ + deploymentModelMigrationState: typing.Literal[ "DEPLOYMENT_MODEL_MIGRATION_STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED", @@ -370,24 +364,24 @@ class ConnectorVersionInfraConfig(typing_extensions.TypedDict, total=False): resourceLimits: ResourceLimits resourceRequests: ResourceRequests sharedDeployment: str - tlsMigrationState: typing_extensions.Literal[ + tlsMigrationState: typing.Literal[ "TLS_MIGRATION_STATE_UNSPECIFIED", "TLS_MIGRATION_NOT_STARTED", "TLS_MIGRATION_COMPLETED", ] @typing.type_check_only -class ConnectorsLogConfig(typing_extensions.TypedDict, total=False): +class ConnectorsLogConfig(typing.TypedDict, total=False): enabled: bool - level: typing_extensions.Literal["LOG_LEVEL_UNSPECIFIED", "ERROR", "INFO", "DEBUG"] + level: typing.Literal["LOG_LEVEL_UNSPECIFIED", "ERROR", "INFO", "DEBUG"] @typing.type_check_only -class CustomConnector(typing_extensions.TypedDict, total=False): +class CustomConnector(typing.TypedDict, total=False): activeConnectorVersions: _list[str] allConnectorVersions: _list[str] allMarketplaceVersions: _list[str] createTime: str - customConnectorType: typing_extensions.Literal[ + customConnectorType: typing.Literal[ "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO", "SDK" ] description: str @@ -399,7 +393,7 @@ class CustomConnector(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CustomConnectorVersion(typing_extensions.TypedDict, total=False): +class CustomConnectorVersion(typing.TypedDict, total=False): asyncOperationsSupport: bool authConfig: AuthConfig authConfigTemplates: _list[AuthConfigTemplate] @@ -415,49 +409,47 @@ class CustomConnectorVersion(typing_extensions.TypedDict, total=False): serviceAccount: str specLocation: str specServerUrls: _list[str] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] updateTime: str @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DeadLetterConfig(typing_extensions.TypedDict, total=False): +class DeadLetterConfig(typing.TypedDict, total=False): projectId: str topic: str @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class DeprecateCustomConnectorVersionRequest( - typing_extensions.TypedDict, total=False -): ... +class DeprecateCustomConnectorVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): host: str port: int serviceAttachment: str @typing.type_check_only -class DestinationConfig(typing_extensions.TypedDict, total=False): +class DestinationConfig(typing.TypedDict, total=False): destinations: _list[Destination] key: str @typing.type_check_only -class DestinationConfigTemplate(typing_extensions.TypedDict, total=False): +class DestinationConfigTemplate(typing.TypedDict, total=False): autocompleteSuggestions: _list[str] defaultPort: int description: str @@ -466,53 +458,47 @@ class DestinationConfigTemplate(typing_extensions.TypedDict, total=False): key: str max: int min: int - portFieldType: typing_extensions.Literal[ + portFieldType: typing.Literal[ "FIELD_TYPE_UNSPECIFIED", "REQUIRED", "OPTIONAL", "NOT_USED" ] regexPattern: str @typing.type_check_only -class EUASecret(typing_extensions.TypedDict, total=False): +class EUASecret(typing.TypedDict, total=False): secretValue: str secretVersion: str @typing.type_check_only -class EgressControlConfig(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "ACCESS_MODE_UNSPECIFIED", "RESTRICTED", "ALLOW_ALL" - ] +class EgressControlConfig(typing.TypedDict, total=False): + accessMode: typing.Literal["ACCESS_MODE_UNSPECIFIED", "RESTRICTED", "ALLOW_ALL"] additionalExtractionRules: ExtractionRules allowlistedProjectNumbers: _list[str] backends: str extractionRules: ExtractionRules - launchEnvironment: typing_extensions.Literal[ + launchEnvironment: typing.Literal[ "LAUNCH_ENVIRONMENT_UNSPECIFIED", "AUTOPUSH", "STAGING", "PROD" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ - "ENCRYPTION_TYPE_UNSPECIFIED", "GMEK", "CMEK" - ] +class EncryptionConfig(typing.TypedDict, total=False): + encryptionType: typing.Literal["ENCRYPTION_TYPE_UNSPECIFIED", "GMEK", "CMEK"] kmsKeyName: str @typing.type_check_only -class EncryptionKey(typing_extensions.TypedDict, total=False): +class EncryptionKey(typing.TypedDict, total=False): kmsKeyName: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED"] @typing.type_check_only -class EndPoint(typing_extensions.TypedDict, total=False): +class EndPoint(typing.TypedDict, total=False): endpointUri: str headers: _list[Header] @typing.type_check_only -class EndUserAuthentication(typing_extensions.TypedDict, total=False): +class EndUserAuthentication(typing.TypedDict, total=False): configVariables: _list[EndUserAuthenticationConfigVariable] createTime: str destinationConfigs: _list[DestinationConfig] @@ -521,19 +507,17 @@ class EndUserAuthentication(typing_extensions.TypedDict, total=False): name: str notifyEndpointDestination: EndUserAuthenticationNotifyEndpointDestination roles: _list[ - typing_extensions.Literal[ - "ROLE_UNSPECIFIED", "READER", "READER_DOMAIN_WIDE_ACCESSIBLE" - ] + typing.Literal["ROLE_UNSPECIFIED", "READER", "READER_DOMAIN_WIDE_ACCESSIBLE"] ] status: EndUserAuthenticationEndUserAuthenticationStatus updateTime: str userId: str @typing.type_check_only -class EndUserAuthenticationConfig(typing_extensions.TypedDict, total=False): +class EndUserAuthenticationConfig(typing.TypedDict, total=False): additionalVariables: _list[EndUserAuthenticationConfigVariable] authKey: str - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", @@ -553,9 +537,7 @@ class EndUserAuthenticationConfig(typing_extensions.TypedDict, total=False): userPassword: EndUserAuthenticationConfigUserPassword @typing.type_check_only -class EndUserAuthenticationConfigOauth2AuthCodeFlow( - typing_extensions.TypedDict, total=False -): +class EndUserAuthenticationConfigOauth2AuthCodeFlow(typing.TypedDict, total=False): authCode: str authUri: str clientId: str @@ -568,7 +550,7 @@ class EndUserAuthenticationConfigOauth2AuthCodeFlow( @typing.type_check_only class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authCode: str oauthTokenData: OAuthTokenData @@ -576,41 +558,37 @@ class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged( scopes: _list[str] @typing.type_check_only -class EndUserAuthenticationConfigOauth2ClientCredentials( - typing_extensions.TypedDict, total=False -): +class EndUserAuthenticationConfigOauth2ClientCredentials(typing.TypedDict, total=False): clientId: str clientSecret: EUASecret @typing.type_check_only -class EndUserAuthenticationConfigOauth2JwtBearer( - typing_extensions.TypedDict, total=False -): +class EndUserAuthenticationConfigOauth2JwtBearer(typing.TypedDict, total=False): clientKey: EUASecret jwtClaims: EndUserAuthenticationConfigOauth2JwtBearerJwtClaims @typing.type_check_only class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audience: str issuer: str subject: str @typing.type_check_only -class EndUserAuthenticationConfigSshPublicKey(typing_extensions.TypedDict, total=False): +class EndUserAuthenticationConfigSshPublicKey(typing.TypedDict, total=False): certType: str sshClientCert: EUASecret sshClientCertPass: EUASecret username: str @typing.type_check_only -class EndUserAuthenticationConfigUserPassword(typing_extensions.TypedDict, total=False): +class EndUserAuthenticationConfigUserPassword(typing.TypedDict, total=False): password: EUASecret username: str @typing.type_check_only -class EndUserAuthenticationConfigVariable(typing_extensions.TypedDict, total=False): +class EndUserAuthenticationConfigVariable(typing.TypedDict, total=False): boolValue: bool intValue: str key: str @@ -618,36 +596,32 @@ class EndUserAuthenticationConfigVariable(typing_extensions.TypedDict, total=Fal stringValue: str @typing.type_check_only -class EndUserAuthenticationEndUserAuthenticationStatus( - typing_extensions.TypedDict, total=False -): +class EndUserAuthenticationEndUserAuthenticationStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR"] @typing.type_check_only -class EndUserAuthenticationNotifyEndpointDestination( - typing_extensions.TypedDict, total=False -): +class EndUserAuthenticationNotifyEndpointDestination(typing.TypedDict, total=False): endpoint: EndUserAuthenticationNotifyEndpointDestinationEndPoint serviceAccount: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ENDPOINT"] + type: typing.Literal["TYPE_UNSPECIFIED", "ENDPOINT"] @typing.type_check_only class EndUserAuthenticationNotifyEndpointDestinationEndPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointUri: str headers: _list[EndUserAuthenticationNotifyEndpointDestinationEndPointHeader] @typing.type_check_only class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class EndpointAttachment(typing_extensions.TypedDict, total=False): +class EndpointAttachment(typing.TypedDict, total=False): createTime: str description: str endpointGlobalAccess: bool @@ -655,7 +629,7 @@ class EndpointAttachment(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str serviceAttachment: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "ACCEPTED", @@ -668,16 +642,16 @@ class EndpointAttachment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EnrichmentConfig(typing_extensions.TypedDict, total=False): +class EnrichmentConfig(typing.TypedDict, total=False): appendAcl: bool @typing.type_check_only -class EnumOption(typing_extensions.TypedDict, total=False): +class EnumOption(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class EventSubscription(typing_extensions.TypedDict, total=False): +class EventSubscription(typing.TypedDict, total=False): createTime: str destinations: EventSubscriptionDestination eventTypeId: str @@ -691,21 +665,21 @@ class EventSubscription(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EventSubscriptionDestination(typing_extensions.TypedDict, total=False): +class EventSubscriptionDestination(typing.TypedDict, total=False): endpoint: EndPoint pubsub: PubSub serviceAccount: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ENDPOINT", "GCS", "PUBSUB"] + type: typing.Literal["TYPE_UNSPECIFIED", "ENDPOINT", "GCS", "PUBSUB"] @typing.type_check_only -class EventSubscriptionStatus(typing_extensions.TypedDict, total=False): +class EventSubscriptionStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", "ACTIVE", "SUSPENDED", "ERROR" ] @typing.type_check_only -class EventType(typing_extensions.TypedDict, total=False): +class EventType(typing.TypedDict, total=False): createTime: str enrichedEventPayloadSchema: str entityType: str @@ -716,7 +690,7 @@ class EventType(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EventingConfig(typing_extensions.TypedDict, total=False): +class EventingConfig(typing.TypedDict, total=False): additionalVariables: _list[ConfigVariable] allowedEventTypes: _list[str] authConfig: AuthConfig @@ -733,14 +707,14 @@ class EventingConfig(typing_extensions.TypedDict, total=False): sslConfig: SslConfig @typing.type_check_only -class EventingConfigTemplate(typing_extensions.TypedDict, total=False): +class EventingConfigTemplate(typing.TypedDict, total=False): additionalVariables: _list[ConfigVariableTemplate] authConfigTemplates: _list[AuthConfigTemplate] autoRefresh: bool autoRegistrationSupported: bool encryptionKeyTemplate: ConfigVariableTemplate enrichmentSupported: bool - eventListenerType: typing_extensions.Literal[ + eventListenerType: typing.Literal[ "EVENT_LISTENER_TYPE_UNSPECIFIED", "WEBHOOK_LISTENER", "JMS_LISTENER" ] isEventingSupported: bool @@ -751,12 +725,12 @@ class EventingConfigTemplate(typing_extensions.TypedDict, total=False): triggerConfigVariables: _list[ConfigVariableTemplate] @typing.type_check_only -class EventingDetails(typing_extensions.TypedDict, total=False): +class EventingDetails(typing.TypedDict, total=False): customEventTypes: bool description: str documentationLink: str iconLocation: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", @@ -766,13 +740,13 @@ class EventingDetails(typing_extensions.TypedDict, total=False): ] name: str searchTags: _list[str] - subscriptionType: typing_extensions.Literal[ + subscriptionType: typing.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "SHARED", "USER_SPECIFIC" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "WEBHOOK", "JMS"] + type: typing.Literal["TYPE_UNSPECIFIED", "WEBHOOK", "JMS"] @typing.type_check_only -class EventingRuntimeData(typing_extensions.TypedDict, total=False): +class EventingRuntimeData(typing.TypedDict, total=False): eventsListenerEndpoint: str eventsListenerPscSa: str status: EventingStatus @@ -780,46 +754,46 @@ class EventingRuntimeData(typing_extensions.TypedDict, total=False): webhookSubscriptions: WebhookSubscriptions @typing.type_check_only -class EventingStatus(typing_extensions.TypedDict, total=False): +class EventingStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "ERROR", "INGRESS_ENDPOINT_REQUIRED" ] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtractionRule(typing_extensions.TypedDict, total=False): +class ExtractionRule(typing.TypedDict, total=False): extractionRegex: str formatString: str source: Source @typing.type_check_only -class ExtractionRules(typing_extensions.TypedDict, total=False): +class ExtractionRules(typing.TypedDict, total=False): extractionRule: _list[ExtractionRule] @typing.type_check_only -class FetchAuthSchemaResponse(typing_extensions.TypedDict, total=False): +class FetchAuthSchemaResponse(typing.TypedDict, total=False): authSchemas: _list[AuthSchema] jsonSchema: JsonAuthSchema @typing.type_check_only -class FetchConnectionToolspecOverrideRequest(typing_extensions.TypedDict, total=False): +class FetchConnectionToolspecOverrideRequest(typing.TypedDict, total=False): toolNames: _list[ToolName] @typing.type_check_only -class FetchConnectionToolspecOverrideResponse(typing_extensions.TypedDict, total=False): +class FetchConnectionToolspecOverrideResponse(typing.TypedDict, total=False): toolspecOverride: ToolspecOverride @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): +class Field(typing.TypedDict, total=False): additionalDetails: dict[str, typing.Any] - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_INT", "DATA_TYPE_SMALLINT", @@ -875,40 +849,34 @@ class Field(typing_extensions.TypedDict, total=False): readonly: bool @typing.type_check_only -class FieldComparison(typing_extensions.TypedDict, total=False): +class FieldComparison(typing.TypedDict, total=False): boolValue: bool - comparator: typing_extensions.Literal[ - "COMPARATOR_UNSPECIFIED", "EQUALS", "NOT_EQUALS" - ] + comparator: typing.Literal["COMPARATOR_UNSPECIFIED", "EQUALS", "NOT_EQUALS"] intValue: str key: str stringValue: str @typing.type_check_only -class GenerateConnectionToolspecOverrideRequest( - typing_extensions.TypedDict, total=False -): +class GenerateConnectionToolspecOverrideRequest(typing.TypedDict, total=False): toolNames: _list[ToolName] @typing.type_check_only -class GenerateConnectionToolspecOverrideResponse( - typing_extensions.TypedDict, total=False -): +class GenerateConnectionToolspecOverrideResponse(typing.TypedDict, total=False): toolspecOverride: ToolspecOverride @typing.type_check_only -class HPAConfig(typing_extensions.TypedDict, total=False): +class HPAConfig(typing.TypedDict, total=False): cpuUtilizationThreshold: str memoryUtilizationThreshold: str @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class InputParameter(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class InputParameter(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_INT", "DATA_TYPE_SMALLINT", @@ -962,7 +930,7 @@ class InputParameter(typing_extensions.TypedDict, total=False): parameter: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): consumerDefinedName: str consumerProjectNumber: str createTime: str @@ -978,7 +946,7 @@ class Instance(typing_extensions.TypedDict, total=False): slmInstanceTemplate: str sloMetadata: SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -991,11 +959,11 @@ class Instance(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class JMS(typing_extensions.TypedDict, total=False): +class JMS(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "QUEUE", "TOPIC"] + type: typing.Literal["TYPE_UNSPECIFIED", "QUEUE", "TOPIC"] -AlternativeJsonAuthSchema = typing_extensions.TypedDict( +AlternativeJsonAuthSchema = typing.TypedDict( "AlternativeJsonAuthSchema", { "$schema": str, @@ -1007,7 +975,7 @@ AlternativeJsonAuthSchema = typing_extensions.TypedDict( @typing.type_check_only class JsonAuthSchema(AlternativeJsonAuthSchema): ... -AlternativeJsonSchema = typing_extensions.TypedDict( +AlternativeJsonSchema = typing.TypedDict( "AlternativeJsonSchema", { "$comment": str, @@ -1036,7 +1004,7 @@ AlternativeJsonSchema = typing_extensions.TypedDict( "format": str, "if": JsonSchema, "items": JsonSchema, - "jdbcType": typing_extensions.Literal[ + "jdbcType": typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_INT", "DATA_TYPE_SMALLINT", @@ -1113,116 +1081,116 @@ AlternativeJsonSchema = typing_extensions.TypedDict( class JsonSchema(AlternativeJsonSchema): ... @typing.type_check_only -class JwtClaims(typing_extensions.TypedDict, total=False): +class JwtClaims(typing.TypedDict, total=False): audience: str issuer: str subject: str @typing.type_check_only -class ListActionsResponse(typing_extensions.TypedDict, total=False): +class ListActionsResponse(typing.TypedDict, total=False): actions: _list[RuntimeActionSchema] nextPageToken: str @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Connection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConnectorVersionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorVersionsResponse(typing.TypedDict, total=False): connectorVersions: _list[ConnectorVersion] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorsResponse(typing.TypedDict, total=False): connectors: _list[Connector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCustomConnectorVersionsResponse(typing_extensions.TypedDict, total=False): +class ListCustomConnectorVersionsResponse(typing.TypedDict, total=False): customConnectorVersions: _list[CustomConnectorVersion] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCustomConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListCustomConnectorsResponse(typing.TypedDict, total=False): customConnectors: _list[CustomConnector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEndUserAuthenticationsResponse(typing_extensions.TypedDict, total=False): +class ListEndUserAuthenticationsResponse(typing.TypedDict, total=False): endUserAuthentications: _list[EndUserAuthentication] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEndpointAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointAttachmentsResponse(typing.TypedDict, total=False): endpointAttachments: _list[EndpointAttachment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEntityTypesResponse(typing_extensions.TypedDict, total=False): +class ListEntityTypesResponse(typing.TypedDict, total=False): entityTypes: _list[RuntimeEntitySchema] nextPageToken: str @typing.type_check_only -class ListEventSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListEventSubscriptionsResponse(typing.TypedDict, total=False): eventSubscriptions: _list[EventSubscription] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEventTypesResponse(typing_extensions.TypedDict, total=False): +class ListEventTypesResponse(typing.TypedDict, total=False): eventTypes: _list[EventType] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListManagedZonesResponse(typing_extensions.TypedDict, total=False): +class ListManagedZonesResponse(typing.TypedDict, total=False): managedZones: _list[ManagedZone] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListProvidersResponse(typing_extensions.TypedDict, total=False): +class ListProvidersResponse(typing.TypedDict, total=False): nextPageToken: str providers: _list[Provider] unreachable: _list[str] @typing.type_check_only -class ListRuntimeActionSchemasResponse(typing_extensions.TypedDict, total=False): +class ListRuntimeActionSchemasResponse(typing.TypedDict, total=False): nextPageToken: str runtimeActionSchemas: _list[RuntimeActionSchema] @typing.type_check_only -class ListRuntimeEntitySchemasResponse(typing_extensions.TypedDict, total=False): +class ListRuntimeEntitySchemasResponse(typing.TypedDict, total=False): nextPageToken: str runtimeEntitySchemas: _list[RuntimeEntitySchema] @typing.type_check_only -class ListenEventRequest(typing_extensions.TypedDict, total=False): +class ListenEventRequest(typing.TypedDict, total=False): payload: dict[str, typing.Any] @typing.type_check_only -class ListenEventResponse(typing_extensions.TypedDict, total=False): ... +class ListenEventResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -1230,28 +1198,28 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LockConfig(typing_extensions.TypedDict, total=False): +class LockConfig(typing.TypedDict, total=False): locked: bool reason: str @typing.type_check_only -class LogicalExpression(typing_extensions.TypedDict, total=False): +class LogicalExpression(typing.TypedDict, total=False): fieldComparisons: _list[FieldComparison] logicalExpressions: _list[LogicalExpression] - logicalOperator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] + logicalOperator: typing.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): canReschedule: bool endTime: str rolloutManagementPolicy: str @@ -1259,18 +1227,18 @@ class MaintenanceSchedule(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class MaintenanceSettings(typing_extensions.TypedDict, total=False): +class MaintenanceSettings(typing.TypedDict, total=False): exclude: bool isRollback: bool maintenancePolicies: dict[str, typing.Any] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class ManagedZone(typing_extensions.TypedDict, total=False): +class ManagedZone(typing.TypedDict, total=False): createTime: str description: str dns: str @@ -1281,76 +1249,74 @@ class ManagedZone(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MarketplaceConnectorDetails(typing_extensions.TypedDict, total=False): +class MarketplaceConnectorDetails(typing.TypedDict, total=False): marketplaceProduct: str marketplaceProductId: str marketplaceProductUri: str partner: str @typing.type_check_only -class ModifyConnectionToolspecOverrideRequest(typing_extensions.TypedDict, total=False): +class ModifyConnectionToolspecOverrideRequest(typing.TypedDict, total=False): toolspecOverride: ToolspecOverride @typing.type_check_only -class ModifyConnectionToolspecOverrideResponse( - typing_extensions.TypedDict, total=False -): +class ModifyConnectionToolspecOverrideResponse(typing.TypedDict, total=False): toolspecOverrides: ToolspecOverride @typing.type_check_only -class MultipleSelectConfig(typing_extensions.TypedDict, total=False): +class MultipleSelectConfig(typing.TypedDict, total=False): allowCustomValues: bool multipleSelectOptions: _list[MultipleSelectOption] valueSeparator: str @typing.type_check_only -class MultipleSelectOption(typing_extensions.TypedDict, total=False): +class MultipleSelectOption(typing.TypedDict, total=False): description: str displayName: str key: str preselected: bool @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): egressIps: _list[str] - egressMode: typing_extensions.Literal[ + egressMode: typing.Literal[ "NETWORK_EGRESS_MODE_UNSPECIFIED", "AUTO_IP", "STATIC_IP" ] @typing.type_check_only -class NetworkEgressModeOverride(typing_extensions.TypedDict, total=False): +class NetworkEgressModeOverride(typing.TypedDict, total=False): isEventingOverrideEnabled: bool isJobsOverrideEnabled: bool - networkEgressMode: typing_extensions.Literal[ + networkEgressMode: typing.Literal[ "NETWORK_EGRESS_MODE_UNSPECIFIED", "SERVERLESS_VPC_ACCESS_CONNECTOR", "DIRECT_VPC_EGRESS", ] @typing.type_check_only -class NodeConfig(typing_extensions.TypedDict, total=False): +class NodeConfig(typing.TypedDict, total=False): maxNodeCount: int minNodeCount: int @typing.type_check_only -class NodeSloMetadata(typing_extensions.TypedDict, total=False): +class NodeSloMetadata(typing.TypedDict, total=False): location: str nodeId: str perSliEligibility: PerSliSloEligibility @typing.type_check_only -class NotificationParameter(typing_extensions.TypedDict, total=False): +class NotificationParameter(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class OAuthTokenData(typing_extensions.TypedDict, total=False): +class OAuthTokenData(typing.TypedDict, total=False): accessToken: EUASecret createTime: str expiry: str refreshToken: EUASecret @typing.type_check_only -class Oauth2AuthCodeFlow(typing_extensions.TypedDict, total=False): +class Oauth2AuthCodeFlow(typing.TypedDict, total=False): authCode: str authUri: str clientId: str @@ -1361,23 +1327,23 @@ class Oauth2AuthCodeFlow(typing_extensions.TypedDict, total=False): scopes: _list[str] @typing.type_check_only -class Oauth2AuthCodeFlowGoogleManaged(typing_extensions.TypedDict, total=False): +class Oauth2AuthCodeFlowGoogleManaged(typing.TypedDict, total=False): authCode: str redirectUri: str scopes: _list[str] @typing.type_check_only -class Oauth2ClientCredentials(typing_extensions.TypedDict, total=False): +class Oauth2ClientCredentials(typing.TypedDict, total=False): clientId: str clientSecret: Secret @typing.type_check_only -class Oauth2JwtBearer(typing_extensions.TypedDict, total=False): +class Oauth2JwtBearer(typing.TypedDict, total=False): clientKey: Secret jwtClaims: JwtClaims @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1385,7 +1351,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -1395,7 +1361,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PartnerMetadata(typing_extensions.TypedDict, total=False): +class PartnerMetadata(typing.TypedDict, total=False): acceptGcpTos: bool additionalComments: str confirmPartnerRequirements: bool @@ -1415,25 +1381,25 @@ class PartnerMetadata(typing_extensions.TypedDict, total=False): useCases: str @typing.type_check_only -class PerSliSloEligibility(typing_extensions.TypedDict, total=False): +class PerSliSloEligibility(typing.TypedDict, total=False): eligibilities: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Provider(typing_extensions.TypedDict, total=False): +class Provider(typing.TypedDict, total=False): createTime: str description: str displayName: str documentationUri: str externalUri: str labels: dict[str, typing.Any] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", @@ -1446,24 +1412,24 @@ class Provider(typing_extensions.TypedDict, total=False): webAssetsLocation: str @typing.type_check_only -class ProvisionedResource(typing_extensions.TypedDict, total=False): +class ProvisionedResource(typing.TypedDict, total=False): resourceType: str resourceUrl: str @typing.type_check_only -class PubSub(typing_extensions.TypedDict, total=False): +class PubSub(typing.TypedDict, total=False): attributes: dict[str, typing.Any] configVariables: _list[ConfigVariable] projectId: str topicId: str @typing.type_check_only -class PublishCustomConnectorVersionRequest(typing_extensions.TypedDict, total=False): +class PublishCustomConnectorVersionRequest(typing.TypedDict, total=False): partnerMetadata: PartnerMetadata @typing.type_check_only -class PublishStatus(typing_extensions.TypedDict, total=False): - publishState: typing_extensions.Literal[ +class PublishStatus(typing.TypedDict, total=False): + publishState: typing.Literal[ "PUBLISH_STATE_UNSPECIFIED", "PUBLISHED", "PUBLISH_IN_PROGRESS", "UNPUBLISHED" ] publishTime: str @@ -1471,12 +1437,10 @@ class PublishStatus(typing_extensions.TypedDict, total=False): publishedSource: str @typing.type_check_only -class RefreshConnectionSchemaMetadataRequest( - typing_extensions.TypedDict, total=False -): ... +class RefreshConnectionSchemaMetadataRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RegionalSettings(typing_extensions.TypedDict, total=False): +class RegionalSettings(typing.TypedDict, total=False): client: str encryptionConfig: EncryptionConfig name: str @@ -1484,17 +1448,15 @@ class RegionalSettings(typing_extensions.TypedDict, total=False): provisioned: bool @typing.type_check_only -class RemoveConnectionToolspecOverrideRequest( - typing_extensions.TypedDict, total=False -): ... +class RemoveConnectionToolspecOverrideRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RepairEventingRequest(typing_extensions.TypedDict, total=False): ... +class RepairEventingRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): pathTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GCP_PROJECT", "GCP_RESOURCE", @@ -1503,18 +1465,18 @@ class Resource(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ResourceLimits(typing_extensions.TypedDict, total=False): +class ResourceLimits(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class ResourceRequests(typing_extensions.TypedDict, total=False): +class ResourceRequests(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class ResultMetadata(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class ResultMetadata(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "DATA_TYPE_INT", "DATA_TYPE_SMALLINT", @@ -1568,17 +1530,17 @@ class ResultMetadata(typing_extensions.TypedDict, total=False): nullable: bool @typing.type_check_only -class RetryEventSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +class RetryEventSubscriptionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RoleGrant(typing_extensions.TypedDict, total=False): +class RoleGrant(typing.TypedDict, total=False): helperTextTemplate: str - principal: typing_extensions.Literal["PRINCIPAL_UNSPECIFIED", "CONNECTOR_SA"] + principal: typing.Literal["PRINCIPAL_UNSPECIFIED", "CONNECTOR_SA"] resource: Resource roles: _list[str] @typing.type_check_only -class RuntimeActionSchema(typing_extensions.TypedDict, total=False): +class RuntimeActionSchema(typing.TypedDict, total=False): action: str description: str displayName: str @@ -1590,7 +1552,7 @@ class RuntimeActionSchema(typing_extensions.TypedDict, total=False): resultSchemaAsString: str @typing.type_check_only -class RuntimeConfig(typing_extensions.TypedDict, total=False): +class RuntimeConfig(typing.TypedDict, total=False): conndSubscription: str conndTopic: str controlPlaneSubscription: str @@ -1600,7 +1562,7 @@ class RuntimeConfig(typing_extensions.TypedDict, total=False): runtimeEndpoint: str schemaGcsBucket: str serviceDirectory: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INACTIVE", "ACTIVATING", @@ -1611,19 +1573,19 @@ class RuntimeConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RuntimeEntitySchema(typing_extensions.TypedDict, total=False): +class RuntimeEntitySchema(typing.TypedDict, total=False): entity: str fields: _list[Field] jsonSchema: JsonSchema operations: _list[ - typing_extensions.Literal[ + typing.Literal[ "OPERATION_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] ] @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1637,176 +1599,176 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class SchemaRefreshConfig(typing_extensions.TypedDict, total=False): +class SchemaRefreshConfig(typing.TypedDict, total=False): useActionDisplayNames: bool useSynchronousSchemaRefresh: bool @typing.type_check_only -class SearchConnectionInstance(typing_extensions.TypedDict, total=False): +class SearchConnectionInstance(typing.TypedDict, total=False): actionSchema: RuntimeActionSchema connection: Connection entitySchema: RuntimeEntitySchema @typing.type_check_only -class SearchConnectionsResponse(typing_extensions.TypedDict, total=False): +class SearchConnectionsResponse(typing.TypedDict, total=False): connections: _list[SearchConnectionInstance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): secretVersion: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): name: str payg: bool tenantProjectId: str vpcsc: bool @typing.type_check_only -class SloEligibility(typing_extensions.TypedDict, total=False): +class SloEligibility(typing.TypedDict, total=False): eligible: bool reason: str @typing.type_check_only -class SloMetadata(typing_extensions.TypedDict, total=False): +class SloMetadata(typing.TypedDict, total=False): nodes: _list[NodeSloMetadata] perSliEligibility: PerSliSloEligibility tier: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): fieldId: str - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "CONFIG_VARIABLE", "AUTH_CONFIG_VARIABLE" ] @typing.type_check_only -class SshPublicKey(typing_extensions.TypedDict, total=False): +class SshPublicKey(typing.TypedDict, total=False): certType: str sshClientCert: Secret sshClientCertPass: Secret username: str @typing.type_check_only -class SslConfig(typing_extensions.TypedDict, total=False): +class SslConfig(typing.TypedDict, total=False): additionalVariables: _list[ConfigVariable] - clientCertType: typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] + clientCertType: typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] clientCertificate: Secret clientPrivateKey: Secret clientPrivateKeyPass: Secret privateServerCertificate: Secret - serverCertType: typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] - trustModel: typing_extensions.Literal["PUBLIC", "PRIVATE", "INSECURE"] - type: typing_extensions.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] + serverCertType: typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] + trustModel: typing.Literal["PUBLIC", "PRIVATE", "INSECURE"] + type: typing.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] useSsl: bool @typing.type_check_only -class SslConfigTemplate(typing_extensions.TypedDict, total=False): +class SslConfigTemplate(typing.TypedDict, total=False): additionalVariables: _list[ConfigVariableTemplate] - clientCertType: _list[typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"]] + clientCertType: _list[typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"]] isTlsMandatory: bool - serverCertType: _list[typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"]] - sslType: typing_extensions.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] + serverCertType: _list[typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"]] + sslType: typing.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] @typing.type_check_only -class StandardAction(typing_extensions.TypedDict, total=False): +class StandardAction(typing.TypedDict, total=False): name: str @typing.type_check_only -class StandardEntity(typing_extensions.TypedDict, total=False): +class StandardEntity(typing.TypedDict, total=False): name: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StringListValues(typing_extensions.TypedDict, total=False): +class StringListValues(typing.TypedDict, total=False): listValues: _list[str] @typing.type_check_only -class SupportedRuntimeFeatures(typing_extensions.TypedDict, total=False): +class SupportedRuntimeFeatures(typing.TypedDict, total=False): actionApis: bool asyncOperations: bool entityApis: bool sqlQuery: bool @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class ToolName(typing_extensions.TypedDict, total=False): +class ToolName(typing.TypedDict, total=False): entityType: str name: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] @typing.type_check_only -class ToolspecOverride(typing_extensions.TypedDict, total=False): +class ToolspecOverride(typing.TypedDict, total=False): baseVersion: str createTime: str tools: _list[dict[str, typing.Any]] updateTime: str @typing.type_check_only -class TrafficShapingConfig(typing_extensions.TypedDict, total=False): +class TrafficShapingConfig(typing.TypedDict, total=False): duration: str quotaLimit: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class UserPassword(typing_extensions.TypedDict, total=False): +class UserPassword(typing.TypedDict, total=False): password: Secret username: str @typing.type_check_only -class ValidateCustomConnectorSpecRequest(typing_extensions.TypedDict, total=False): +class ValidateCustomConnectorSpecRequest(typing.TypedDict, total=False): serviceAccount: str specLocation: str - specType: typing_extensions.Literal[ + specType: typing.Literal[ "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO", "SDK" ] @typing.type_check_only -class ValidateCustomConnectorSpecResponse(typing_extensions.TypedDict, total=False): +class ValidateCustomConnectorSpecResponse(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class VpcscConfig(typing_extensions.TypedDict, total=False): +class VpcscConfig(typing.TypedDict, total=False): defaultAllowlistedHost: _list[str] disableFirewallVpcscFlow: bool @typing.type_check_only -class WebhookData(typing_extensions.TypedDict, total=False): +class WebhookData(typing.TypedDict, total=False): additionalVariables: _list[ConfigVariable] createTime: str eventSubscriptions: _list[str] @@ -1817,14 +1779,12 @@ class WebhookData(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class WebhookSubscriptions(typing_extensions.TypedDict, total=False): +class WebhookSubscriptions(typing.TypedDict, total=False): webhookData: _list[WebhookData] @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] @typing.type_check_only -class WithdrawCustomConnectorVersionRequest( - typing_extensions.TypedDict, total=False -): ... +class WithdrawCustomConnectorVersionRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi index 735d07375..8e9d606f6 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -33,7 +32,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): *, name: str, executionConfig_headers: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ACTION_SCHEMA_VIEW_UNSPECIFIED", "ACTION_SCHEMA_VIEW_BASIC", "ACTION_SCHEMA_VIEW_ENRICHED", @@ -48,7 +47,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): executionConfig_headers: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ACTION_VIEW_UNSPECIFIED", "ACTION_VIEW_BASIC", "ACTION_VIEW_FULL", @@ -137,7 +136,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): name: str, contextMetadata: str | None = ..., executionConfig_headers: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ENTITY_TYPE_SCHEMA_VIEW_UNSPECIFIED", "ENTITY_TYPE_SCHEMA_VIEW_BASIC", "ENTITY_TYPE_SCHEMA_VIEW_ENRICHED", @@ -152,7 +151,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): executionConfig_headers: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ENTITY_TYPE_VIEW_UNSPECIFIED", "ENTITY_TYPE_VIEW_BASIC", "ENTITY_TYPE_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi index ef4ea8ae2..a521cce9b 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessCredentials(typing_extensions.TypedDict, total=False): +class AccessCredentials(typing.TypedDict, total=False): accessToken: str expiresIn: str refreshToken: str @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): description: str displayName: str inputJsonSchema: JsonSchema @@ -22,88 +20,86 @@ class Action(typing_extensions.TypedDict, total=False): resultMetadata: _list[ResultMetadata] @typing.type_check_only -class AuthCodeData(typing_extensions.TypedDict, total=False): +class AuthCodeData(typing.TypedDict, total=False): authCode: str pkceVerifier: str redirectUri: str scopes: _list[str] @typing.type_check_only -class CheckReadinessResponse(typing_extensions.TypedDict, total=False): +class CheckReadinessResponse(typing.TypedDict, total=False): status: str @typing.type_check_only -class CheckStatusResponse(typing_extensions.TypedDict, total=False): +class CheckStatusResponse(typing.TypedDict, total=False): description: str metadata: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "ERROR", "AUTH_ERROR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ERROR", "AUTH_ERROR"] @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): fields: dict[str, typing.Any] metadata: dict[str, typing.Any] name: str @typing.type_check_only -class EntityType(typing_extensions.TypedDict, total=False): +class EntityType(typing.TypedDict, total=False): defaultSortBy: str fields: _list[Field] jsonSchema: JsonSchema metadata: dict[str, typing.Any] name: str operations: _list[ - typing_extensions.Literal[ + typing.Literal[ "OPERATION_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] ] @typing.type_check_only -class ExchangeAuthCodeRequest(typing_extensions.TypedDict, total=False): +class ExchangeAuthCodeRequest(typing.TypedDict, total=False): authCodeData: AuthCodeData executionConfig: ExecutionConfig oauth2Config: OAuth2Config @typing.type_check_only -class ExchangeAuthCodeResponse(typing_extensions.TypedDict, total=False): +class ExchangeAuthCodeResponse(typing.TypedDict, total=False): accessCredentials: AccessCredentials metadata: dict[str, typing.Any] @typing.type_check_only -class ExecuteActionRequest(typing_extensions.TypedDict, total=False): +class ExecuteActionRequest(typing.TypedDict, total=False): executionConfig: ExecutionConfig parameters: dict[str, typing.Any] @typing.type_check_only -class ExecuteActionResponse(typing_extensions.TypedDict, total=False): +class ExecuteActionResponse(typing.TypedDict, total=False): metadata: dict[str, typing.Any] results: _list[dict[str, typing.Any]] @typing.type_check_only -class ExecuteHttpRequestRequest(typing_extensions.TypedDict, total=False): +class ExecuteHttpRequestRequest(typing.TypedDict, total=False): headers: _list[HttpHeader] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "HTTP_METHOD_GET", "HTTP_METHOD_POST", @@ -117,40 +113,40 @@ class ExecuteHttpRequestRequest(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ExecuteHttpRequestResponse(typing_extensions.TypedDict, total=False): +class ExecuteHttpRequestResponse(typing.TypedDict, total=False): body: str headers: _list[HttpHeader] reason: str statusCode: int @typing.type_check_only -class ExecuteSqlQueryRequest(typing_extensions.TypedDict, total=False): +class ExecuteSqlQueryRequest(typing.TypedDict, total=False): query: Query @typing.type_check_only -class ExecuteSqlQueryResponse(typing_extensions.TypedDict, total=False): +class ExecuteSqlQueryResponse(typing.TypedDict, total=False): results: _list[dict[str, typing.Any]] @typing.type_check_only -class ExecuteToolRequest(typing_extensions.TypedDict, total=False): +class ExecuteToolRequest(typing.TypedDict, total=False): executionConfig: ExecutionConfig parameters: dict[str, typing.Any] toolDefinition: dict[str, typing.Any] @typing.type_check_only -class ExecuteToolResponse(typing_extensions.TypedDict, total=False): +class ExecuteToolResponse(typing.TypedDict, total=False): _meta: dict[str, typing.Any] metadata: dict[str, typing.Any] result: dict[str, typing.Any] @typing.type_check_only -class ExecutionConfig(typing_extensions.TypedDict, total=False): +class ExecutionConfig(typing.TypedDict, total=False): headers: str @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): +class Field(typing.TypedDict, total=False): additionalDetails: dict[str, typing.Any] - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "INT", "SMALLINT", @@ -206,34 +202,34 @@ class Field(typing_extensions.TypedDict, total=False): reference: Reference @typing.type_check_only -class GenerateCustomToolspecRequest(typing_extensions.TypedDict, total=False): +class GenerateCustomToolspecRequest(typing.TypedDict, total=False): toolNames: _list[ToolName] @typing.type_check_only -class GenerateCustomToolspecResponse(typing_extensions.TypedDict, total=False): +class GenerateCustomToolspecResponse(typing.TypedDict, total=False): toolSpec: ToolSpec @typing.type_check_only -class GetResourcePostRequest(typing_extensions.TypedDict, total=False): +class GetResourcePostRequest(typing.TypedDict, total=False): executionConfig: ExecutionConfig toolSpec: ToolSpec @typing.type_check_only -class GetResourceResponse(typing_extensions.TypedDict, total=False): +class GetResourceResponse(typing.TypedDict, total=False): _meta: dict[str, typing.Any] data: str metadata: dict[str, typing.Any] mimeType: str @typing.type_check_only -class HttpHeader(typing_extensions.TypedDict, total=False): +class HttpHeader(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class InputParameter(typing_extensions.TypedDict, total=False): +class InputParameter(typing.TypedDict, total=False): additionalDetails: dict[str, typing.Any] - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "INT", "SMALLINT", @@ -287,7 +283,7 @@ class InputParameter(typing_extensions.TypedDict, total=False): nullable: bool @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): consumerDefinedName: str consumerProjectNumber: str createTime: str @@ -303,7 +299,7 @@ class Instance(typing_extensions.TypedDict, total=False): slmInstanceTemplate: str sloMetadata: SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -315,7 +311,7 @@ class Instance(typing_extensions.TypedDict, total=False): tenantProjectId: str updateTime: str -AlternativeJsonSchema = typing_extensions.TypedDict( +AlternativeJsonSchema = typing.TypedDict( "AlternativeJsonSchema", { "$comment": str, @@ -344,7 +340,7 @@ AlternativeJsonSchema = typing_extensions.TypedDict( "format": str, "if": JsonSchema, "items": JsonSchema, - "jdbcType": typing_extensions.Literal[ + "jdbcType": typing.Literal[ "DATA_TYPE_UNSPECIFIED", "INT", "SMALLINT", @@ -421,37 +417,37 @@ AlternativeJsonSchema = typing_extensions.TypedDict( class JsonSchema(AlternativeJsonSchema): ... @typing.type_check_only -class ListActionsResponse(typing_extensions.TypedDict, total=False): +class ListActionsResponse(typing.TypedDict, total=False): actions: _list[Action] metadata: dict[str, typing.Any] nextPageToken: str unsupportedActionNames: _list[str] @typing.type_check_only -class ListCustomToolNamesResponse(typing_extensions.TypedDict, total=False): +class ListCustomToolNamesResponse(typing.TypedDict, total=False): toolNames: _list[ToolName] @typing.type_check_only -class ListEntitiesResponse(typing_extensions.TypedDict, total=False): +class ListEntitiesResponse(typing.TypedDict, total=False): entities: _list[Entity] metadata: dict[str, typing.Any] nextPageToken: str @typing.type_check_only -class ListEntityTypesResponse(typing_extensions.TypedDict, total=False): +class ListEntityTypesResponse(typing.TypedDict, total=False): metadata: dict[str, typing.Any] nextPageToken: str types: _list[EntityType] unsupportedTypeNames: _list[str] @typing.type_check_only -class ListResourcesResponse(typing_extensions.TypedDict, total=False): +class ListResourcesResponse(typing.TypedDict, total=False): metadata: dict[str, typing.Any] nextPageToken: str resources: _list[Resource] @typing.type_check_only -class ListToolsPostRequest(typing_extensions.TypedDict, total=False): +class ListToolsPostRequest(typing.TypedDict, total=False): executionConfig: ExecutionConfig pageSize: int pageToken: str @@ -459,23 +455,23 @@ class ListToolsPostRequest(typing_extensions.TypedDict, total=False): toolSpec: ToolSpec @typing.type_check_only -class ListToolsResponse(typing_extensions.TypedDict, total=False): +class ListToolsResponse(typing.TypedDict, total=False): metadata: dict[str, typing.Any] nextPageToken: str tools: _list[Tool] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): canReschedule: bool endTime: str rolloutManagementPolicy: str @@ -483,51 +479,51 @@ class MaintenanceSchedule(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class MaintenanceSettings(typing_extensions.TypedDict, total=False): +class MaintenanceSettings(typing.TypedDict, total=False): exclude: bool isRollback: bool maintenancePolicies: dict[str, typing.Any] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class NodeSloMetadata(typing_extensions.TypedDict, total=False): +class NodeSloMetadata(typing.TypedDict, total=False): location: str nodeId: str perSliEligibility: PerSliSloEligibility @typing.type_check_only -class NotificationParameter(typing_extensions.TypedDict, total=False): +class NotificationParameter(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class OAuth2Config(typing_extensions.TypedDict, total=False): +class OAuth2Config(typing.TypedDict, total=False): authUri: str clientId: str clientSecret: str @typing.type_check_only -class PerSliSloEligibility(typing_extensions.TypedDict, total=False): +class PerSliSloEligibility(typing.TypedDict, total=False): eligibilities: dict[str, typing.Any] @typing.type_check_only -class ProvisionedResource(typing_extensions.TypedDict, total=False): +class ProvisionedResource(typing.TypedDict, total=False): resourceType: str resourceUrl: str @typing.type_check_only -class Query(typing_extensions.TypedDict, total=False): +class Query(typing.TypedDict, total=False): maxRows: str query: str queryParameters: _list[QueryParameter] timeout: str @typing.type_check_only -class QueryParameter(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class QueryParameter(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "INT", "SMALLINT", @@ -577,23 +573,23 @@ class QueryParameter(typing_extensions.TypedDict, total=False): value: typing.Any @typing.type_check_only -class Reference(typing_extensions.TypedDict, total=False): +class Reference(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class RefreshAccessTokenRequest(typing_extensions.TypedDict, total=False): +class RefreshAccessTokenRequest(typing.TypedDict, total=False): executionConfig: ExecutionConfig oauth2Config: OAuth2Config refreshToken: str @typing.type_check_only -class RefreshAccessTokenResponse(typing_extensions.TypedDict, total=False): +class RefreshAccessTokenResponse(typing.TypedDict, total=False): accessCredentials: AccessCredentials metadata: dict[str, typing.Any] @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): _meta: dict[str, typing.Any] description: str mimeType: str @@ -602,8 +598,8 @@ class Resource(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ResultMetadata(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class ResultMetadata(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "INT", "SMALLINT", @@ -657,8 +653,8 @@ class ResultMetadata(typing_extensions.TypedDict, total=False): nullable: bool @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -672,25 +668,25 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class SloEligibility(typing_extensions.TypedDict, total=False): +class SloEligibility(typing.TypedDict, total=False): eligible: bool reason: str @typing.type_check_only -class SloMetadata(typing_extensions.TypedDict, total=False): +class SloMetadata(typing.TypedDict, total=False): nodes: _list[NodeSloMetadata] perSliEligibility: PerSliSloEligibility tier: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class Tool(typing_extensions.TypedDict, total=False): +class Tool(typing.TypedDict, total=False): _meta: dict[str, typing.Any] annotations: ToolAnnotations dependsOn: _list[str] @@ -700,7 +696,7 @@ class Tool(typing_extensions.TypedDict, total=False): outputSchema: JsonSchema @typing.type_check_only -class ToolAnnotations(typing_extensions.TypedDict, total=False): +class ToolAnnotations(typing.TypedDict, total=False): destructiveHint: bool idempotentHint: bool openWorldHint: bool @@ -708,31 +704,31 @@ class ToolAnnotations(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ToolName(typing_extensions.TypedDict, total=False): +class ToolName(typing.TypedDict, total=False): entityName: str name: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] @typing.type_check_only -class ToolSpec(typing_extensions.TypedDict, total=False): +class ToolSpec(typing.TypedDict, total=False): toolDefinitions: _list[dict[str, typing.Any]] toolSpecVersion: str @typing.type_check_only -class UpdateEntitiesWithConditionsResponse(typing_extensions.TypedDict, total=False): +class UpdateEntitiesWithConditionsResponse(typing.TypedDict, total=False): metadata: dict[str, typing.Any] response: dict[str, typing.Any] @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi index b5b43b192..fd090c6ba 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi index f262957c2..e7668cca0 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi @@ -1,24 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdminUser(typing_extensions.TypedDict, total=False): +class AdminUser(typing.TypedDict, total=False): familyName: str givenName: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Component(typing_extensions.TypedDict, total=False): +class Component(typing.TypedDict, total=False): name: str serviceAttachmentNames: _list[str] @typing.type_check_only -class ContactCenter(typing_extensions.TypedDict, total=False): +class ContactCenter(typing.TypedDict, total=False): adminUser: AdminUser advancedReportingEnabled: bool ccaipManagedUsers: bool @@ -40,7 +38,7 @@ class ContactCenter(typing_extensions.TypedDict, total=False): purgeTime: str releaseVersion: str samlParams: SAMLParams - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_DEPLOYING", "STATE_DEPLOYED", @@ -59,27 +57,27 @@ class ContactCenter(typing_extensions.TypedDict, total=False): userEmail: str @typing.type_check_only -class ContactCenterQuota(typing_extensions.TypedDict, total=False): +class ContactCenterQuota(typing.TypedDict, total=False): contactCenterCountLimit: int contactCenterCountSum: int quotas: _list[Quota] @typing.type_check_only -class Critical(typing_extensions.TypedDict, total=False): +class Critical(typing.TypedDict, total=False): peakHours: _list[WeeklySchedule] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateList(typing_extensions.TypedDict, total=False): +class DateList(typing.TypedDict, total=False): values: _list[Date] @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -91,18 +89,18 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class Early(typing_extensions.TypedDict, total=False): ... +class Early(typing.TypedDict, total=False): ... @typing.type_check_only -class EmployeeInfo(typing_extensions.TypedDict, total=False): +class EmployeeInfo(typing.TypedDict, total=False): id: str unwantedEventIntervals: _list[UnwantedEventInterval] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EventTemplate(typing_extensions.TypedDict, total=False): +class EventTemplate(typing.TypedDict, total=False): durationMinutes: int id: str maximumMinutesAfterShiftStart: int @@ -110,11 +108,11 @@ class EventTemplate(typing_extensions.TypedDict, total=False): startTimeIncrementMinutes: int @typing.type_check_only -class FeatureConfig(typing_extensions.TypedDict, total=False): +class FeatureConfig(typing.TypedDict, total=False): agentDesktopEnabled: bool @typing.type_check_only -class GenerateShiftsRequest(typing_extensions.TypedDict, total=False): +class GenerateShiftsRequest(typing.TypedDict, total=False): employeeInfo: _list[EmployeeInfo] planningHorizon: PlanningHorizon shiftTemplates: _list[ShiftTemplate] @@ -122,7 +120,7 @@ class GenerateShiftsRequest(typing_extensions.TypedDict, total=False): workforceDemands: WorkforceDemandList @typing.type_check_only -class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudCommonOperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -132,8 +130,8 @@ class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class InstanceConfig(typing_extensions.TypedDict, total=False): - instanceSize: typing_extensions.Literal[ +class InstanceConfig(typing.TypedDict, total=False): + instanceSize: typing.Literal[ "INSTANCE_SIZE_UNSPECIFIED", "STANDARD_SMALL", "STANDARD_MEDIUM", @@ -154,24 +152,24 @@ class InstanceConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListContactCentersResponse(typing_extensions.TypedDict, total=False): +class ListContactCentersResponse(typing.TypedDict, total=False): contactCenters: _list[ContactCenter] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -179,10 +177,10 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Normal(typing_extensions.TypedDict, total=False): ... +class Normal(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -190,7 +188,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str contactCenter: ContactCenter createTime: str @@ -201,26 +199,26 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PlanningHorizon(typing_extensions.TypedDict, total=False): +class PlanningHorizon(typing.TypedDict, total=False): endTime: DateTime startTime: DateTime @typing.type_check_only -class PrivateAccess(typing_extensions.TypedDict, total=False): +class PrivateAccess(typing.TypedDict, total=False): egressSettings: _list[Component] ingressSettings: _list[Component] pscSetting: PscSetting @typing.type_check_only -class PscSetting(typing_extensions.TypedDict, total=False): +class PscSetting(typing.TypedDict, total=False): allowedConsumerProjectIds: _list[str] producerProjectIds: _list[str] @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): contactCenterCountLimit: int contactCenterCountSum: int - contactCenterInstanceSize: typing_extensions.Literal[ + contactCenterInstanceSize: typing.Literal[ "INSTANCE_SIZE_UNSPECIFIED", "STANDARD_SMALL", "STANDARD_MEDIUM", @@ -241,9 +239,9 @@ class Quota(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SAMLParams(typing_extensions.TypedDict, total=False): +class SAMLParams(typing.TypedDict, total=False): authenticationContexts: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTHENTICATION_CONTEXT_UNSPECIFIED", "INTERNET_PROTOCOL", "INTERNET_PROTOCOL_PASSWORD", @@ -278,7 +276,7 @@ class SAMLParams(typing_extensions.TypedDict, total=False): userEmail: str @typing.type_check_only -class ShiftTemplate(typing_extensions.TypedDict, total=False): +class ShiftTemplate(typing.TypedDict, total=False): assignableEmployeeIds: _list[str] daysOffCountPerWeek: int daysOffDates: DateList @@ -293,9 +291,9 @@ class ShiftTemplate(typing_extensions.TypedDict, total=False): startTimeIncrementMinutes: int @typing.type_check_only -class SolverConfig(typing_extensions.TypedDict, total=False): +class SolverConfig(typing.TypedDict, total=False): maximumProcessingDuration: str - scheduleType: typing_extensions.Literal[ + scheduleType: typing.Literal[ "SCHEDULE_TYPE_UNSPECIFIED", "SINGLE_SHIFT", "WEEKLY_WITH_FIXED_EVENTS", @@ -303,39 +301,39 @@ class SolverConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class URIs(typing_extensions.TypedDict, total=False): +class URIs(typing.TypedDict, total=False): chatBotUri: str mediaUri: str rootUri: str virtualAgentStreamingServiceUri: str @typing.type_check_only -class UnwantedEventInterval(typing_extensions.TypedDict, total=False): +class UnwantedEventInterval(typing.TypedDict, total=False): durationMinutes: int startTime: DateTime @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): +class WeeklySchedule(typing.TypedDict, total=False): days: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -351,11 +349,11 @@ class WeeklySchedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class WorkforceDemand(typing_extensions.TypedDict, total=False): +class WorkforceDemand(typing.TypedDict, total=False): employeeCount: int endTime: DateTime startTime: DateTime @typing.type_check_only -class WorkforceDemandList(typing_extensions.TypedDict, total=False): +class WorkforceDemandList(typing.TypedDict, total=False): values: _list[WorkforceDemand] diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi index 10f08e9d5..4ea7fca62 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -98,6 +97,46 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1AssessmentRuleHttpRequest: ... + @typing.type_check_only + class AssistantSessionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1AssistantSession, + assistantSessionId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AssistantSessionHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1AssistantSessionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAssistantSessionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAssistantSessionsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAssistantSessionsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAssistantSessionsResponseHttpRequest + | None + ): ... + def streamChat( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1StreamChatRequest, + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1StreamChatResponseHttpRequest + ): ... + @typing.type_check_only class AuthorizedViewSetsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -279,7 +318,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" ] | None = ..., @@ -295,7 +334,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" ] | None = ..., @@ -761,7 +800,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" ] | None = ..., @@ -782,7 +821,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" ] | None = ..., @@ -982,7 +1021,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" ] | None = ..., @@ -1003,7 +1042,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CONVERSATION_VIEW_UNSPECIFIED", "FULL", "BASIC" ] | None = ..., @@ -1410,16 +1449,18 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - qaScorecardSources: typing_extensions.Literal[ + qaScorecardSources: typing.Literal[ "QA_SCORECARD_SOURCE_UNSPECIFIED", "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + "QA_SCORECARD_SOURCE_INTENT_TAXONOMY", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QA_SCORECARD_SOURCE_UNSPECIFIED", "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + "QA_SCORECARD_SOURCE_INTENT_TAXONOMY", ] ] | None = ..., @@ -1471,16 +1512,18 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - qaScorecardSources: typing_extensions.Literal[ + qaScorecardSources: typing.Literal[ "QA_SCORECARD_SOURCE_UNSPECIFIED", "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + "QA_SCORECARD_SOURCE_INTENT_TAXONOMY", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QA_SCORECARD_SOURCE_UNSPECIFIED", "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + "QA_SCORECARD_SOURCE_INTENT_TAXONOMY", ] ] | None = ..., @@ -1637,6 +1680,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): ) -> GoogleCloudContactcenterinsightsV1SettingsHttpRequest: ... def analysisRules(self) -> AnalysisRulesResource: ... def assessmentRules(self) -> AssessmentRulesResource: ... + def assistantSessions(self) -> AssistantSessionsResource: ... def authorizedViewSets(self) -> AuthorizedViewSetsResource: ... def autoLabelingRules(self) -> AutoLabelingRulesResource: ... def conversations(self) -> ConversationsResource: ... @@ -1707,6 +1751,16 @@ class GoogleCloudContactcenterinsightsV1AssessmentRuleHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1AssessmentRule: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AssistantSessionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1AssistantSession: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1AuthorizedViewHttpRequest( googleapiclient.http.HttpRequest @@ -1907,6 +1961,16 @@ class GoogleCloudContactcenterinsightsV1ListAssessmentsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListAssessmentsResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAssistantSessionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListAssistantSessionsResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2157,6 +2221,16 @@ class GoogleCloudContactcenterinsightsV1SettingsHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1Settings: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1StreamChatResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1StreamChatResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi index a4463c2b6..e3c8c44af 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudCesV1mainAgentTransfer(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainAgentTransfer(typing.TypedDict, total=False): displayName: str targetAgent: str @typing.type_check_only -class GoogleCloudCesV1mainBlob(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainBlob(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only -class GoogleCloudCesV1mainChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainChunk(typing.TypedDict, total=False): agentTransfer: GoogleCloudCesV1mainAgentTransfer blob: GoogleCloudCesV1mainBlob defaultVariables: dict[str, typing.Any] @@ -28,22 +26,22 @@ class GoogleCloudCesV1mainChunk(typing_extensions.TypedDict, total=False): updatedVariables: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudCesV1mainEndSession(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainEndSession(typing.TypedDict, total=False): metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudCesV1mainImage(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainImage(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only -class GoogleCloudCesV1mainMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainMessage(typing.TypedDict, total=False): chunks: _list[GoogleCloudCesV1mainChunk] eventTime: str role: str @typing.type_check_only -class GoogleCloudCesV1mainSpan(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainSpan(typing.TypedDict, total=False): attributes: dict[str, typing.Any] childSpans: _list[GoogleCloudCesV1mainSpan] duration: str @@ -52,30 +50,32 @@ class GoogleCloudCesV1mainSpan(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class GoogleCloudCesV1mainToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainToolCall(typing.TypedDict, total=False): + agentName: str args: dict[str, typing.Any] displayName: str id: str + parentToolCallId: str tool: str toolsetTool: GoogleCloudCesV1mainToolsetTool @typing.type_check_only -class GoogleCloudCesV1mainToolResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainToolResponse(typing.TypedDict, total=False): + agentName: str displayName: str id: str + parentToolCallId: str response: dict[str, typing.Any] tool: str toolsetTool: GoogleCloudCesV1mainToolsetTool @typing.type_check_only -class GoogleCloudCesV1mainToolsetTool(typing_extensions.TypedDict, total=False): +class GoogleCloudCesV1mainToolsetTool(typing.TypedDict, total=False): toolId: str toolset: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Analysis( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Analysis(typing.TypedDict, total=False): analysisResult: GoogleCloudContactcenterinsightsV1AnalysisResult annotatorSelector: GoogleCloudContactcenterinsightsV1AnnotatorSelector createTime: str @@ -83,9 +83,7 @@ class GoogleCloudContactcenterinsightsV1Analysis( requestTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1AnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1AnalysisResult(typing.TypedDict, total=False): callAnalysisMetadata: ( GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata ) @@ -93,7 +91,7 @@ class GoogleCloudContactcenterinsightsV1AnalysisResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: _list[GoogleCloudContactcenterinsightsV1CallAnnotation] entities: dict[str, typing.Any] @@ -105,9 +103,7 @@ class GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata( silence: GoogleCloudContactcenterinsightsV1ConversationLevelSilence @typing.type_check_only -class GoogleCloudContactcenterinsightsV1AnalysisRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1AnalysisRule(typing.TypedDict, total=False): active: bool analysisPercentage: float annotatorSelector: GoogleCloudContactcenterinsightsV1AnnotatorSelector @@ -119,14 +115,14 @@ class GoogleCloudContactcenterinsightsV1AnalysisRule( @typing.type_check_only class GoogleCloudContactcenterinsightsV1AnnotationBoundary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): transcriptIndex: int wordIndex: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1AnnotatorSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModels: _list[str] phraseMatchers: _list[str] @@ -147,7 +143,7 @@ class GoogleCloudContactcenterinsightsV1AnnotatorSelector( @typing.type_check_only class GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scorecardList: ( GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList @@ -155,26 +151,24 @@ class GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig( @typing.type_check_only class GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaScorecardRevisions: _list[str] @typing.type_check_only class GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str generator: str - summarizationModel: typing_extensions.Literal[ + summarizationModel: typing.Literal[ "SUMMARIZATION_MODEL_UNSPECIFIED", "BASELINE_MODEL", "BASELINE_MODEL_V2_0" ] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1AnswerFeedback( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1AnswerFeedback(typing.TypedDict, total=False): clicked: bool - correctnessLevel: typing_extensions.Literal[ + correctnessLevel: typing.Literal[ "CORRECTNESS_LEVEL_UNSPECIFIED", "NOT_CORRECT", "PARTIALLY_CORRECT", @@ -184,12 +178,12 @@ class GoogleCloudContactcenterinsightsV1AnswerFeedback( @typing.type_check_only class GoogleCloudContactcenterinsightsV1AppealAssessmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1ArticleSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -199,21 +193,17 @@ class GoogleCloudContactcenterinsightsV1ArticleSuggestionData( uri: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Assessment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Assessment(typing.TypedDict, total=False): agentInfo: GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo createTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "PUBLISHED", "APPEALED", "FINALIZED" ] updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1AssessmentRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1AssessmentRule(typing.TypedDict, total=False): active: bool createTime: str displayName: str @@ -223,9 +213,27 @@ class GoogleCloudContactcenterinsightsV1AssessmentRule( updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1AuthorizedView( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1AssistantChunk(typing.TypedDict, total=False): + text: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AssistantMessage(typing.TypedDict, total=False): + chunks: _list[GoogleCloudContactcenterinsightsV1AssistantChunk] + eventTime: str + role: typing.Literal["ROLE_UNSPECIFIED", "USER", "MODEL"] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AssistantSession(typing.TypedDict, total=False): + createTime: str + displayName: str + messages: _list[GoogleCloudContactcenterinsightsV1AssistantMessage] + name: str + requester: str + state: typing.Literal["STATE_UNSPECIFIED", "PROCESSING", "IDLE"] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AuthorizedView(typing.TypedDict, total=False): conversationFilter: str createTime: str displayName: str @@ -234,7 +242,7 @@ class GoogleCloudContactcenterinsightsV1AuthorizedView( @typing.type_check_only class GoogleCloudContactcenterinsightsV1AuthorizedViewSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str displayName: str @@ -242,9 +250,7 @@ class GoogleCloudContactcenterinsightsV1AuthorizedViewSet( updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1AutoLabelingRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1AutoLabelingRule(typing.TypedDict, total=False): active: bool conditions: _list[ GoogleCloudContactcenterinsightsV1AutoLabelingRuleLabelingCondition @@ -253,22 +259,20 @@ class GoogleCloudContactcenterinsightsV1AutoLabelingRule( description: str displayName: str labelKey: str - labelKeyType: typing_extensions.Literal[ - "LABEL_KEY_TYPE_UNSPECIFIED", "LABEL_KEY_TYPE_CUSTOM" - ] + labelKeyType: typing.Literal["LABEL_KEY_TYPE_UNSPECIFIED", "LABEL_KEY_TYPE_CUSTOM"] name: str updateTime: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1AutoLabelingRuleLabelingCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): condition: str value: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completedAnalysesCount: int createTime: str @@ -281,7 +285,7 @@ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisPercentage: float annotatorSelector: GoogleCloudContactcenterinsightsV1AnnotatorSelector @@ -291,14 +295,14 @@ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedAnalysisCount: int successfulAnalysisCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -307,7 +311,7 @@ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @@ -316,31 +320,31 @@ class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialErrors: _list[GoogleRpcStatus] request: GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str parent: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str downloadStats: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats @@ -350,7 +354,7 @@ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileNames: _list[str] processedObjectCount: int @@ -359,10 +363,10 @@ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownlo @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationFilter: str - feedbackLabelType: typing_extensions.Literal[ + feedbackLabelType: typing.Literal[ "FEEDBACK_LABEL_TYPE_UNSPECIFIED", "QUALITY_AI", "TOPIC_MODELING", @@ -377,29 +381,29 @@ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addWhitespace: bool alwaysPrintEmptyFields: bool - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] + format: typing.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] objectUri: str recordsPerFileCount: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sheetTitle: str spreadsheetUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsSource: ( GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource @@ -411,32 +415,32 @@ class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] + format: typing.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] objectUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): spreadsheetUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentStats: GoogleCloudContactcenterinsightsV1IssueModelLabelStats @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateStatsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateStatsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageDuration: str averageTurnCount: int @@ -451,7 +455,7 @@ class GoogleCloudContactcenterinsightsV1CalculateStatsResponse( @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intervalDuration: str points: _list[ @@ -460,15 +464,13 @@ class GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries( @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationCount: int startTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1CallAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1CallAnnotation(typing.TypedDict, total=False): annotationEndBoundary: GoogleCloudContactcenterinsightsV1AnnotationBoundary annotationStartBoundary: GoogleCloudContactcenterinsightsV1AnnotationBoundary channelTag: int @@ -483,24 +485,24 @@ class GoogleCloudContactcenterinsightsV1CallAnnotation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1CesEndSessionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endSession: GoogleCloudCesV1mainEndSession @typing.type_check_only class GoogleCloudContactcenterinsightsV1CesTurnAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messages: _list[GoogleCloudCesV1mainMessage] rootSpan: GoogleCloudCesV1mainSpan @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Chart(typing_extensions.TypedDict, total=False): +class GoogleCloudContactcenterinsightsV1Chart(typing.TypedDict, total=False): action: GoogleCloudContactcenterinsightsV1ChartAction - chartType: typing_extensions.Literal[ + chartType: typing.Literal[ "CHART_TYPE_UNSPECIFIED", "SYSTEM_DEFINED", "USER_DEFINED" ] - chartVisualizationType: typing_extensions.Literal[ + chartVisualizationType: typing.Literal[ "CHART_VISUALIZATION_TYPE_UNSPECIFIED", "BAR", "LINE", @@ -525,22 +527,18 @@ class GoogleCloudContactcenterinsightsV1Chart(typing_extensions.TypedDict, total width: int @typing.type_check_only -class GoogleCloudContactcenterinsightsV1ChartAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1ChartAction(typing.TypedDict, total=False): conversationFilter: str redirectAction: GoogleCloudContactcenterinsightsV1RedirectAction @typing.type_check_only -class GoogleCloudContactcenterinsightsV1ChartDataSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1ChartDataSource(typing.TypedDict, total=False): generativeInsights: GoogleCloudContactcenterinsightsV1GenerativeInsights queryMetrics: GoogleCloudContactcenterinsightsV1QueryMetrics @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationA: str conversationB: str @@ -550,16 +548,14 @@ class GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraintMet: bool error: GoogleRpcStatus ruleId: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Container( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Container(typing.TypedDict, total=False): containerId: str dateRangeConfig: GoogleCloudContactcenterinsightsV1DateRangeConfig description: str @@ -570,9 +566,7 @@ class GoogleCloudContactcenterinsightsV1Container( width: int @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Conversation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Conversation(typing.TypedDict, total=False): agentId: str callMetadata: GoogleCloudContactcenterinsightsV1ConversationCallMetadata correlationInfo: GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo @@ -587,7 +581,7 @@ class GoogleCloudContactcenterinsightsV1Conversation( latestSummary: ( GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData ) - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] metadataJson: str name: str obfuscatedUserId: str @@ -601,17 +595,17 @@ class GoogleCloudContactcenterinsightsV1Conversation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationCallMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentChannel: int customerChannel: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correlationTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CORRELATION_TYPE_UNSPECIFIED", "SEGMENT", "PARTIAL", "FULL", "SYNTHETIC" ] ] @@ -620,7 +614,7 @@ class GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationCorrelationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str ruleResults: _list[ @@ -629,7 +623,7 @@ class GoogleCloudContactcenterinsightsV1ConversationCorrelationResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correlationId: str error: GoogleRpcStatus @@ -637,13 +631,13 @@ class GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrela @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationDataOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeDialogflowInteractionData: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationDataSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowSource: GoogleCloudContactcenterinsightsV1DialogflowSource gcsSource: GoogleCloudContactcenterinsightsV1GcsSource @@ -654,40 +648,40 @@ class GoogleCloudContactcenterinsightsV1ConversationDataSource( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioDuration: str audioGcsUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelTag: int sentimentData: GoogleCloudContactcenterinsightsV1SentimentData @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationLevelSilence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): silenceDuration: str silencePercentage: float @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationParticipant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowParticipant: str dialogflowParticipantName: str obfuscatedExternalUserId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" ] userId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationQualityMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentInfo: _list[ GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo @@ -699,10 +693,10 @@ class GoogleCloudContactcenterinsightsV1ConversationQualityMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str - agentType: typing_extensions.Literal[ + agentType: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" ] deploymentDisplayName: str @@ -719,7 +713,7 @@ class GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str confidence: float @@ -731,7 +725,7 @@ class GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationTranscript( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): transcriptSegments: _list[ GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment @@ -739,7 +733,7 @@ class GoogleCloudContactcenterinsightsV1ConversationTranscript( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelTag: int confidence: float @@ -758,13 +752,13 @@ class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): smartReplyAllowlistCovered: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float endOffset: str @@ -773,7 +767,7 @@ class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentW @typing.type_check_only class GoogleCloudContactcenterinsightsV1CorrelationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str fullConversationConfig: GoogleCloudContactcenterinsightsV1CorrelationTypeConfig @@ -781,9 +775,7 @@ class GoogleCloudContactcenterinsightsV1CorrelationConfig( updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1CorrelationRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1CorrelationRule(typing.TypedDict, total=False): active: bool constraintExpression: str joinKeyExpression: str @@ -791,13 +783,13 @@ class GoogleCloudContactcenterinsightsV1CorrelationRule( @typing.type_check_only class GoogleCloudContactcenterinsightsV1CorrelationTypeConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correlationRules: _list[GoogleCloudContactcenterinsightsV1CorrelationRule] @typing.type_check_only class GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatorSelector: GoogleCloudContactcenterinsightsV1AnnotatorSelector conversation: str @@ -806,7 +798,7 @@ class GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1CreateIssueMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -814,7 +806,7 @@ class GoogleCloudContactcenterinsightsV1CreateIssueMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -822,22 +814,20 @@ class GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1CreateIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: GoogleCloudContactcenterinsightsV1IssueModel parent: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1CreateIssueRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issue: GoogleCloudContactcenterinsightsV1Issue parent: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Dashboard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Dashboard(typing.TypedDict, total=False): createTime: str dateRangeConfig: GoogleCloudContactcenterinsightsV1DateRangeConfig description: str @@ -849,21 +839,17 @@ class GoogleCloudContactcenterinsightsV1Dashboard( updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Dataset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Dataset(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str ttl: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1DateRangeConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1DateRangeConfig(typing.TypedDict, total=False): absoluteDateRange: GoogleCloudContactcenterinsightsV1QueryInterval relativeDateRange: ( GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange @@ -871,16 +857,16 @@ class GoogleCloudContactcenterinsightsV1DateRangeConfig( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quantity: str - unit: typing_extensions.Literal[ + unit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -888,13 +874,13 @@ class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -902,13 +888,13 @@ class GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -916,44 +902,38 @@ class GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeployIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeployIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeployQaScorecardRevisionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1DialogflowIntent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1DialogflowIntent(typing.TypedDict, total=False): displayName: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DialogflowInteractionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float dialogflowIntentId: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1DialogflowSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1DialogflowSource(typing.TypedDict, total=False): audioUri: str dialogflowConversation: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Dimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Dimension(typing.TypedDict, total=False): agentDimensionMetadata: ( GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata ) @@ -963,7 +943,7 @@ class GoogleCloudContactcenterinsightsV1Dimension( ) conversationalAgentsPlaybookDimensionMetadata: GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata conversationalAgentsToolDimensionMetadata: GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata - dimensionKey: typing_extensions.Literal[ + dimensionKey: typing.Literal[ "DIMENSION_KEY_UNSPECIFIED", "ISSUE", "ISSUE_NAME", @@ -1008,7 +988,7 @@ class GoogleCloudContactcenterinsightsV1Dimension( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentDeploymentDisplayName: str agentDeploymentId: str @@ -1020,33 +1000,33 @@ class GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentimentCategory: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfileId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): playbookDisplayName: str playbookId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolDisplayName: str toolId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueDisplayName: str issueId: str @@ -1054,20 +1034,20 @@ class GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelKey: str labelValue: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): medium: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerValue: str qaQuestionId: str @@ -1076,7 +1056,7 @@ class GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetada @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaQuestionId: str qaScorecardId: str @@ -1084,26 +1064,22 @@ class GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaScorecardId: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1EncryptionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Entity(typing.TypedDict, total=False): displayName: str metadata: dict[str, typing.Any] salience: float sentiment: GoogleCloudContactcenterinsightsV1SentimentData - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "PERSON", "LOCATION", @@ -1121,21 +1097,19 @@ class GoogleCloudContactcenterinsightsV1Entity( @typing.type_check_only class GoogleCloudContactcenterinsightsV1EntityMentionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityUniqueId: str sentiment: GoogleCloudContactcenterinsightsV1SentimentData - type: typing_extensions.Literal["MENTION_TYPE_UNSPECIFIED", "PROPER", "COMMON"] + type: typing.Literal["MENTION_TYPE_UNSPECIFIED", "PROPER", "COMMON"] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1ExactMatchConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1ExactMatchConfig(typing.TypedDict, total=False): caseSensitive: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completedExportCount: int createTime: str @@ -1146,12 +1120,12 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigQueryDestination: ( GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination ) - exportSchemaVersion: typing_extensions.Literal[ + exportSchemaVersion: typing.Literal[ "EXPORT_SCHEMA_VERSION_UNSPECIFIED", "EXPORT_V1", "EXPORT_V2", @@ -1175,13 +1149,13 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest( filter: str kmsKey: str parent: str - writeDisposition: typing_extensions.Literal[ + writeDisposition: typing.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_TRUNCATE", "WRITE_APPEND" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str projectId: str @@ -1189,12 +1163,12 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestina @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -1202,7 +1176,7 @@ class GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsDestination: ( GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination @@ -1211,19 +1185,17 @@ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ExportIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1FaqAnswerData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1FaqAnswerData(typing.TypedDict, total=False): answer: str confidenceScore: float metadata: dict[str, typing.Any] @@ -1232,9 +1204,7 @@ class GoogleCloudContactcenterinsightsV1FaqAnswerData( source: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1FeedbackLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1FeedbackLabel(typing.TypedDict, total=False): createTime: str label: str labeledResource: str @@ -1244,25 +1214,23 @@ class GoogleCloudContactcenterinsightsV1FeedbackLabel( @typing.type_check_only class GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1GcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1GcsSource(typing.TypedDict, total=False): audioUri: str transcriptUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): signedAudioUris: GoogleCloudContactcenterinsightsV1SignedAudioUris @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str createTime: str @@ -1273,7 +1241,7 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript( @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str messageId: str @@ -1282,7 +1250,7 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptM @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartSpec: dict[str, typing.Any] generatedSqlQuery: str @@ -1292,16 +1260,16 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptM @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: _list[str] - textType: typing_extensions.Literal[ + textType: typing.Literal[ "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): systemMessages: _list[ GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage @@ -1309,13 +1277,13 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptM @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsights( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartCheckpoint: GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint chartConversations: _list[ @@ -1328,14 +1296,14 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsights( @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): revisionId: str sessionId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str createTime: str @@ -1346,7 +1314,7 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str messageId: str @@ -1355,7 +1323,7 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessa @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartSpec: dict[str, typing.Any] generatedSqlQuery: str @@ -1363,28 +1331,26 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessa @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): texts: _list[str] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS"] @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorMessages: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chart: str comparisonFilter: str @@ -1398,7 +1364,7 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeResponses: _list[ GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse @@ -1409,7 +1375,7 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse( @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartSpec: dict[str, typing.Any] generatedSqlQuery: str @@ -1418,21 +1384,19 @@ class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResp @typing.type_check_only class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: _list[str] - textType: typing_extensions.Literal[ + textType: typing.Literal[ "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" ] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1HoldData( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudContactcenterinsightsV1HoldData(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -1440,7 +1404,7 @@ class GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createNewModel: bool gcsSource: GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource @@ -1448,19 +1412,19 @@ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: GoogleCloudContactcenterinsightsV1IssueModel @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -1471,7 +1435,7 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicatesSkippedCount: int failedIngestCount: int @@ -1480,7 +1444,7 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConvers @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationConfig: ( GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig @@ -1494,7 +1458,7 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentChannel: int agentId: str @@ -1502,10 +1466,10 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationCo @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioBucketUri: str - bucketObjectType: typing_extensions.Literal[ + bucketObjectType: typing.Literal[ "BUCKET_OBJECT_TYPE_UNSPECIFIED", "TRANSCRIPT", "AUDIO" ] bucketUri: str @@ -1515,18 +1479,18 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource( @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] @typing.type_check_only class GoogleCloudContactcenterinsightsV1IngestConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -1535,35 +1499,31 @@ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudContactcenterinsightsV1EncryptionSpec @typing.type_check_only class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Intent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Intent(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1IntentMatchData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1IntentMatchData(typing.TypedDict, total=False): intentUniqueId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1InterruptionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Issue(typing_extensions.TypedDict, total=False): +class GoogleCloudContactcenterinsightsV1Issue(typing.TypedDict, total=False): createTime: str displayDescription: str displayName: str @@ -1572,31 +1532,25 @@ class GoogleCloudContactcenterinsightsV1Issue(typing_extensions.TypedDict, total updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1IssueAssignment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1IssueAssignment(typing.TypedDict, total=False): displayName: str issue: str score: float @typing.type_check_only -class GoogleCloudContactcenterinsightsV1IssueMatchData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1IssueMatchData(typing.TypedDict, total=False): issueAssignment: GoogleCloudContactcenterinsightsV1IssueAssignment @typing.type_check_only -class GoogleCloudContactcenterinsightsV1IssueModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1IssueModel(typing.TypedDict, total=False): createTime: str displayName: str inputDataConfig: GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig issueCount: str languageCode: str - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "TYPE_V1", "TYPE_V2"] + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "TYPE_V1", "TYPE_V2"] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNDEPLOYED", "DEPLOYING", @@ -1609,15 +1563,15 @@ class GoogleCloudContactcenterinsightsV1IssueModel( @typing.type_check_only class GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] trainingConversationsCount: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1IssueModelLabelStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyzedConversationsCount: str issueStats: dict[str, typing.Any] @@ -1625,180 +1579,183 @@ class GoogleCloudContactcenterinsightsV1IssueModelLabelStats( @typing.type_check_only class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str issue: str labeledConversationsCount: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1IssueModelResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1IssueModelResult(typing.TypedDict, total=False): issueModel: str issues: _list[GoogleCloudContactcenterinsightsV1IssueAssignment] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackLabels: _list[GoogleCloudContactcenterinsightsV1FeedbackLabel] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAnalysesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyses: _list[GoogleCloudContactcenterinsightsV1Analysis] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisRules: _list[GoogleCloudContactcenterinsightsV1AnalysisRule] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assessmentRules: _list[GoogleCloudContactcenterinsightsV1AssessmentRule] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAssessmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assessments: _list[GoogleCloudContactcenterinsightsV1Assessment] nextPageToken: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAssistantSessionsResponse( + typing.TypedDict, total=False +): + assistantSessions: _list[GoogleCloudContactcenterinsightsV1AssistantSession] + nextPageToken: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authorizedViewSets: _list[GoogleCloudContactcenterinsightsV1AuthorizedViewSet] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authorizedViews: _list[GoogleCloudContactcenterinsightsV1AuthorizedView] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoLabelingRules: _list[GoogleCloudContactcenterinsightsV1AutoLabelingRule] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListChartsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): charts: _list[GoogleCloudContactcenterinsightsV1Chart] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleCloudContactcenterinsightsV1Conversation] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListDashboardsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dashboards: _list[GoogleCloudContactcenterinsightsV1Dashboard] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListDatasetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasets: _list[GoogleCloudContactcenterinsightsV1Dataset] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackLabels: _list[GoogleCloudContactcenterinsightsV1FeedbackLabel] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListIssueModelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModels: _list[GoogleCloudContactcenterinsightsV1IssueModel] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListIssuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issues: _list[GoogleCloudContactcenterinsightsV1Issue] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListNotesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notes: _list[GoogleCloudContactcenterinsightsV1Note] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str phraseMatchers: _list[GoogleCloudContactcenterinsightsV1PhraseMatcher] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str qaQuestionTags: _list[GoogleCloudContactcenterinsightsV1QaQuestionTag] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str qaQuestions: _list[GoogleCloudContactcenterinsightsV1QaQuestion] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str qaScorecardRevisions: _list[GoogleCloudContactcenterinsightsV1QaScorecardRevision] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str qaScorecards: _list[GoogleCloudContactcenterinsightsV1QaScorecard] @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListViewsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str views: _list[GoogleCloudContactcenterinsightsV1View] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1MetricDefinition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1MetricDefinition(typing.TypedDict, total=False): displayName: str sourceId: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Note(typing_extensions.TypedDict, total=False): +class GoogleCloudContactcenterinsightsV1Note(typing.TypedDict, total=False): assessmentNote: GoogleCloudContactcenterinsightsV1NoteAssessmentNote content: str conversationTurnNote: GoogleCloudContactcenterinsightsV1NoteConversationTurnNote @@ -1810,56 +1767,48 @@ class GoogleCloudContactcenterinsightsV1Note(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudContactcenterinsightsV1NoteAssessmentNote( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1NoteConversationTurnNote( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): turnIndex: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1NoteQaQuestionNote( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaQuestion: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1PhraseMatchData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1PhraseMatchData(typing.TypedDict, total=False): displayName: str phraseMatcher: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1PhraseMatchRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1PhraseMatchRule(typing.TypedDict, total=False): config: GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig negated: bool query: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exactMatchConfig: GoogleCloudContactcenterinsightsV1ExactMatchConfig regexMatchConfig: GoogleCloudContactcenterinsightsV1RegexMatchConfig @typing.type_check_only class GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phraseMatchRules: _list[GoogleCloudContactcenterinsightsV1PhraseMatchRule] - type: typing_extensions.Literal[ - "PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED", "ALL_OF", "ANY_OF" - ] + type: typing.Literal["PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED", "ALL_OF", "ANY_OF"] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1PhraseMatcher( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1PhraseMatcher(typing.TypedDict, total=False): activationUpdateTime: str active: bool displayName: str @@ -1867,24 +1816,20 @@ class GoogleCloudContactcenterinsightsV1PhraseMatcher( phraseMatchRuleGroups: _list[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup] revisionCreateTime: str revisionId: str - roleMatch: typing_extensions.Literal[ + roleMatch: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" ] - type: typing_extensions.Literal[ - "PHRASE_MATCHER_TYPE_UNSPECIFIED", "ALL_OF", "ANY_OF" - ] + type: typing.Literal["PHRASE_MATCHER_TYPE_UNSPECIFIED", "ALL_OF", "ANY_OF"] updateTime: str versionTag: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1PublishAssessmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1QaAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1QaAnswer(typing.TypedDict, total=False): answerSources: _list[GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource] answerValue: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue conversation: str @@ -1894,16 +1839,16 @@ class GoogleCloudContactcenterinsightsV1QaAnswer( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerValue: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED", "MANUAL_EDIT" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boolValue: bool key: str @@ -1916,9 +1861,7 @@ class GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue( strValue: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1QaQuestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1QaQuestion(typing.TypedDict, total=False): abbreviation: str answerChoices: _list[GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice] answerInstructions: str @@ -1933,7 +1876,7 @@ class GoogleCloudContactcenterinsightsV1QaQuestion( GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions ) questionBody: str - questionType: typing_extensions.Literal[ + questionType: typing.Literal[ "QA_QUESTION_TYPE_UNSPECIFIED", "CUSTOMIZABLE", "PREDEFINED" ] tags: _list[str] @@ -1942,7 +1885,7 @@ class GoogleCloudContactcenterinsightsV1QaQuestion( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boolValue: bool key: str @@ -1953,15 +1896,15 @@ class GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaQuestionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracy: float @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "PREDEFINED_QUESTION_TYPE_UNSPECIFIED", "CONVERSATION_OUTCOME", "CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE", @@ -1969,14 +1912,12 @@ class GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataOptions: GoogleCloudContactcenterinsightsV1ConversationDataOptions @typing.type_check_only -class GoogleCloudContactcenterinsightsV1QaQuestionTag( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1QaQuestionTag(typing.TypedDict, total=False): createTime: str displayName: str name: str @@ -1985,10 +1926,10 @@ class GoogleCloudContactcenterinsightsV1QaQuestionTag( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetValidationWarnings: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATASET_VALIDATION_WARNING_UNSPECIFIED", "TOO_MANY_INVALID_FEEDBACK_LABELS", "INSUFFICIENT_FEEDBACK_LABELS", @@ -2000,24 +1941,23 @@ class GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata( tuningError: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1QaScorecard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1QaScorecard(typing.TypedDict, total=False): createTime: str description: str displayName: str isDefault: bool name: str - source: typing_extensions.Literal[ + source: typing.Literal[ "QA_SCORECARD_SOURCE_UNSPECIFIED", "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED", "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE", + "QA_SCORECARD_SOURCE_INTENT_TAXONOMY", ] updateTime: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaScorecardResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str conversation: str @@ -2033,7 +1973,7 @@ class GoogleCloudContactcenterinsightsV1QaScorecardResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedScore: float potentialScore: float @@ -2042,25 +1982,25 @@ class GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedScore: float potentialScore: float qaTagResults: _list[GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult] score: float - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED_ONLY", "INCLUDES_MANUAL_EDITS" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaScorecardRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternateIds: _list[str] createTime: str name: str snapshot: GoogleCloudContactcenterinsightsV1QaScorecard - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "EDITABLE", "TRAINING", @@ -2071,32 +2011,28 @@ class GoogleCloudContactcenterinsightsV1QaScorecardRevision( ] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1QueryInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1QueryInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1QueryMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1QueryMetrics(typing.TypedDict, total=False): request: dict[str, typing.Any] @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resultIsTruncated: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[GoogleCloudContactcenterinsightsV1Dimension] filter: str measureMask: str - timeGranularity: typing_extensions.Literal[ + timeGranularity: typing.Literal[ "TIME_GRANULARITY_UNSPECIFIED", "NONE", "DAILY", @@ -2108,7 +2044,7 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str macroAverageSlice: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice @@ -2117,7 +2053,7 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponse( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[GoogleCloudContactcenterinsightsV1Dimension] timeSeries: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries @@ -2125,7 +2061,7 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationMeasure: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure dialogflowInteractionMeasure: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure @@ -2133,7 +2069,7 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aaSupervisorAssignedConversationsCount: int aaSupervisorDroppedConversationsCount: int @@ -2195,14 +2131,14 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConver @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageTagNormalizedScore: float tag: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentileAudioInAudioOutLatency: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult percentileEndToEndLatency: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult @@ -2212,7 +2148,7 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialog @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): p50: float p90: float @@ -2220,7 +2156,7 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercen @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataPoints: _list[ GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint @@ -2228,12 +2164,12 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentPerformanceSource: ( GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource @@ -2244,38 +2180,34 @@ class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summaryText: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1RedactionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1RedactionConfig(typing.TypedDict, total=False): deidentifyTemplate: str inspectTemplate: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1RedirectAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1RedirectAction(typing.TypedDict, total=False): queryParams: dict[str, typing.Any] relativePath: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1RegexMatchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1RuntimeAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationId: str answerFeedback: GoogleCloudContactcenterinsightsV1AnswerFeedback @@ -2296,17 +2228,17 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorName: str query: str - querySource: typing_extensions.Literal[ + querySource: typing.Literal[ "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1SampleConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -2316,14 +2248,14 @@ class GoogleCloudContactcenterinsightsV1SampleConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedSampleCount: int successfulSampleCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1SampleConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationDataset: GoogleCloudContactcenterinsightsV1Dataset parent: str @@ -2331,22 +2263,18 @@ class GoogleCloudContactcenterinsightsV1SampleConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1SampleConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1SampleRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1SampleRule(typing.TypedDict, total=False): conversationFilter: str dimension: str samplePercentage: float sampleRow: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1ScheduleInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1ScheduleInfo(typing.TypedDict, total=False): endTime: str schedule: str startTime: str @@ -2354,22 +2282,18 @@ class GoogleCloudContactcenterinsightsV1ScheduleInfo( @typing.type_check_only class GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authorizedViews: _list[GoogleCloudContactcenterinsightsV1AuthorizedView] nextPageToken: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1SentimentData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1SentimentData(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Settings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Settings(typing.TypedDict, total=False): analysisConfig: GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig conversationTtl: str createTime: str @@ -2387,7 +2311,7 @@ class GoogleCloudContactcenterinsightsV1Settings( @typing.type_check_only class GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatorSelector: GoogleCloudContactcenterinsightsV1AnnotatorSelector runtimeIntegrationAnalysisPercentage: float @@ -2395,14 +2319,12 @@ class GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig( @typing.type_check_only class GoogleCloudContactcenterinsightsV1SettingsDiagnosticMetricConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metrics: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1SignedAudioUris( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1SignedAudioUris(typing.TypedDict, total=False): signedDialogflowAudioUri: str signedGcsAudioUri: str signedTurnLevelAudios: _list[ @@ -2410,13 +2332,11 @@ class GoogleCloudContactcenterinsightsV1SignedAudioUris( ] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1SilenceData( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudContactcenterinsightsV1SilenceData(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -2424,37 +2344,48 @@ class GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData( suggestion: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1SmartReplyData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1SmartReplyData(typing.TypedDict, total=False): confidenceScore: float metadata: dict[str, typing.Any] queryRecord: str reply: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1SpeechConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1SpeechConfig(typing.TypedDict, total=False): disableWordTimeOffsets: bool speechRecognizer: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1StreamChatRequest( + typing.TypedDict, total=False +): + message: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1StreamChatResponse( + typing.TypedDict, total=False +): + chunk: GoogleCloudContactcenterinsightsV1AssistantChunk + eventId: str + eventTime: str + statusMessage: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoLabelingRule: GoogleCloudContactcenterinsightsV1AutoLabelingRule conversation: GoogleCloudContactcenterinsightsV1Conversation @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelResult: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @@ -2462,7 +2393,7 @@ class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationCorrelationErrors: _list[ GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError @@ -2474,14 +2405,14 @@ class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConvers @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: ( GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequestConversations @@ -2492,20 +2423,20 @@ class GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequestConversations( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleCloudContactcenterinsightsV1Conversation] @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detailedResults: GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults partialErrors: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraintResults: _list[ GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult @@ -2516,14 +2447,14 @@ class GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCor @typing.type_check_only class GoogleCloudContactcenterinsightsV1TuneQaScorecardRevisionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str validateOnly: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -2531,23 +2462,23 @@ class GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1UndeployQaScorecardRevisionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -2555,14 +2486,14 @@ class GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaQuestionTag: GoogleCloudContactcenterinsightsV1QaQuestionTag updateMask: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1UploadConversationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisOperation: str appliedRedactionConfig: GoogleCloudContactcenterinsightsV1RedactionConfig @@ -2572,7 +2503,7 @@ class GoogleCloudContactcenterinsightsV1UploadConversationMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1UploadConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: GoogleCloudContactcenterinsightsV1Conversation conversationId: str @@ -2581,13 +2512,11 @@ class GoogleCloudContactcenterinsightsV1UploadConversationRequest( speechConfig: GoogleCloudContactcenterinsightsV1SpeechConfig @typing.type_check_only -class GoogleCloudContactcenterinsightsV1UserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1UserInfo(typing.TypedDict, total=False): username: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1View(typing_extensions.TypedDict, total=False): +class GoogleCloudContactcenterinsightsV1View(typing.TypedDict, total=False): createTime: str displayName: str name: str @@ -2595,18 +2524,14 @@ class GoogleCloudContactcenterinsightsV1View(typing_extensions.TypedDict, total= value: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1Widget( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1Widget(typing.TypedDict, total=False): chart: GoogleCloudContactcenterinsightsV1Chart chartReference: str container: GoogleCloudContactcenterinsightsV1Container filter: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1Analysis( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1Analysis(typing.TypedDict, total=False): analysisResult: GoogleCloudContactcenterinsightsV1alpha1AnalysisResult annotatorSelector: GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector createTime: str @@ -2615,7 +2540,7 @@ class GoogleCloudContactcenterinsightsV1alpha1Analysis( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callAnalysisMetadata: ( GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata @@ -2624,7 +2549,7 @@ class GoogleCloudContactcenterinsightsV1alpha1AnalysisResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: _list[GoogleCloudContactcenterinsightsV1alpha1CallAnnotation] entities: dict[str, typing.Any] @@ -2639,14 +2564,14 @@ class GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): transcriptIndex: int wordIndex: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModels: _list[str] phraseMatchers: _list[str] @@ -2667,7 +2592,7 @@ class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scorecardList: ( GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList @@ -2675,26 +2600,26 @@ class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaScorecardRevisions: _list[str] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str generator: str - summarizationModel: typing_extensions.Literal[ + summarizationModel: typing.Literal[ "SUMMARIZATION_MODEL_UNSPECIFIED", "BASELINE_MODEL", "BASELINE_MODEL_V2_0" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clicked: bool - correctnessLevel: typing_extensions.Literal[ + correctnessLevel: typing.Literal[ "CORRECTNESS_LEVEL_UNSPECIFIED", "NOT_CORRECT", "PARTIALLY_CORRECT", @@ -2704,7 +2629,7 @@ class GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -2715,7 +2640,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completedAnalysesCount: int createTime: str @@ -2728,7 +2653,7 @@ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisPercentage: float annotatorSelector: GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector @@ -2738,14 +2663,14 @@ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedAnalysisCount: int successfulAnalysisCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -2754,7 +2679,7 @@ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @@ -2763,31 +2688,31 @@ class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialErrors: _list[GoogleRpcStatus] request: GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str parent: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationEndBoundary: GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary annotationStartBoundary: GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary @@ -2803,20 +2728,20 @@ class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CesEndSessionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endSession: GoogleCloudCesV1mainEndSession @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CesTurnAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messages: _list[GoogleCloudCesV1mainMessage] rootSpan: GoogleCloudCesV1mainSpan @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationA: str conversationB: str @@ -2826,7 +2751,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraintMet: bool error: GoogleRpcStatus @@ -2834,7 +2759,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleCons @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1Conversation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str callMetadata: GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata @@ -2850,7 +2775,7 @@ class GoogleCloudContactcenterinsightsV1alpha1Conversation( latestSummary: ( GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData ) - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] metadataJson: str name: str obfuscatedUserId: str @@ -2864,17 +2789,17 @@ class GoogleCloudContactcenterinsightsV1alpha1Conversation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentChannel: int customerChannel: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correlationTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CORRELATION_TYPE_UNSPECIFIED", "SEGMENT", "PARTIAL", "FULL", "SYNTHETIC" ] ] @@ -2883,7 +2808,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str ruleResults: _list[ @@ -2892,7 +2817,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correlationId: str error: GoogleRpcStatus @@ -2900,7 +2825,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleC @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowSource: GoogleCloudContactcenterinsightsV1alpha1DialogflowSource gcsSource: GoogleCloudContactcenterinsightsV1alpha1GcsSource @@ -2911,40 +2836,40 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioDuration: str audioGcsUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelTag: int sentimentData: GoogleCloudContactcenterinsightsV1alpha1SentimentData @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): silenceDuration: str silencePercentage: float @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowParticipant: str dialogflowParticipantName: str obfuscatedExternalUserId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" ] userId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentInfo: _list[ GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo @@ -2956,10 +2881,10 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str - agentType: typing_extensions.Literal[ + agentType: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" ] deploymentDisplayName: str @@ -2976,7 +2901,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentIn @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str confidence: float @@ -2988,7 +2913,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestio @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): transcriptSegments: _list[ GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment @@ -2996,7 +2921,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelTag: int confidence: float @@ -3015,13 +2940,13 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSe @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): smartReplyAllowlistCovered: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float endOffset: str @@ -3030,7 +2955,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSe @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatorSelector: GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector conversation: str @@ -3039,7 +2964,7 @@ class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3047,7 +2972,7 @@ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3055,33 +2980,31 @@ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: GoogleCloudContactcenterinsightsV1alpha1IssueModel parent: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issue: GoogleCloudContactcenterinsightsV1alpha1Issue parent: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1Dataset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1Dataset(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str ttl: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] updateTime: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3089,13 +3012,13 @@ class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3103,13 +3026,13 @@ class GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3117,39 +3040,37 @@ class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float dialogflowIntentId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DialogflowSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioUri: str dialogflowConversation: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1Dimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1Dimension(typing.TypedDict, total=False): agentDimensionMetadata: ( GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata ) @@ -3157,7 +3078,7 @@ class GoogleCloudContactcenterinsightsV1alpha1Dimension( conversationProfileDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata conversationalAgentsPlaybookDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata conversationalAgentsToolDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata - dimensionKey: typing_extensions.Literal[ + dimensionKey: typing.Literal[ "DIMENSION_KEY_UNSPECIFIED", "ISSUE", "ISSUE_NAME", @@ -3200,7 +3121,7 @@ class GoogleCloudContactcenterinsightsV1alpha1Dimension( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentDeploymentDisplayName: str agentDeploymentId: str @@ -3212,33 +3133,33 @@ class GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentimentCategory: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfileId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): playbookDisplayName: str playbookId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolDisplayName: str toolId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueDisplayName: str issueId: str @@ -3246,20 +3167,20 @@ class GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelKey: str labelValue: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): medium: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerValue: str qaQuestionId: str @@ -3268,7 +3189,7 @@ class GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimension @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaQuestionId: str qaScorecardId: str @@ -3276,26 +3197,24 @@ class GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetada @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaScorecardId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsKey: str name: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1Entity(typing.TypedDict, total=False): displayName: str metadata: dict[str, typing.Any] salience: float sentiment: GoogleCloudContactcenterinsightsV1alpha1SentimentData - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "PERSON", "LOCATION", @@ -3313,15 +3232,15 @@ class GoogleCloudContactcenterinsightsV1alpha1Entity( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1EntityMentionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityUniqueId: str sentiment: GoogleCloudContactcenterinsightsV1alpha1SentimentData - type: typing_extensions.Literal["MENTION_TYPE_UNSPECIFIED", "PROPER", "COMMON"] + type: typing.Literal["MENTION_TYPE_UNSPECIFIED", "PROPER", "COMMON"] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completedExportCount: int createTime: str @@ -3332,10 +3251,10 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigQueryDestination: GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination - exportSchemaVersion: typing_extensions.Literal[ + exportSchemaVersion: typing.Literal[ "EXPORT_SCHEMA_VERSION_UNSPECIFIED", "EXPORT_V1", "EXPORT_V2", @@ -3359,13 +3278,13 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( filter: str kmsKey: str parent: str - writeDisposition: typing_extensions.Literal[ + writeDisposition: typing.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_TRUNCATE", "WRITE_APPEND" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str projectId: str @@ -3373,12 +3292,12 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryD @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3386,7 +3305,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsDestination: ( GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination @@ -3395,18 +3314,18 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: str confidenceScore: float @@ -3417,7 +3336,7 @@ class GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str label: str @@ -3427,15 +3346,13 @@ class GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel( updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1GcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1GcsSource(typing.TypedDict, total=False): audioUri: str transcriptUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str createTime: str @@ -3446,7 +3363,7 @@ class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTrans @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str messageId: str @@ -3455,7 +3372,7 @@ class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTrans @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartSpec: dict[str, typing.Any] generatedSqlQuery: str @@ -3465,16 +3382,16 @@ class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTrans @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: _list[str] - textType: typing_extensions.Literal[ + textType: typing.Literal[ "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): systemMessages: _list[ GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage @@ -3482,19 +3399,19 @@ class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTrans @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorMessages: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeResponses: _list[ GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse @@ -3505,7 +3422,7 @@ class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartSpec: dict[str, typing.Any] generatedSqlQuery: str @@ -3514,21 +3431,21 @@ class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerati @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: _list[str] - textType: typing_extensions.Literal[ + textType: typing.Literal[ "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1HoldData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3536,7 +3453,7 @@ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createNewModel: bool gcsSource: GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource @@ -3544,19 +3461,19 @@ class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: GoogleCloudContactcenterinsightsV1alpha1IssueModel @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3567,7 +3484,7 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicatesSkippedCount: int failedIngestCount: int @@ -3576,7 +3493,7 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestC @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationConfig: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig gcsSource: ( @@ -3590,7 +3507,7 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentChannel: int agentId: str @@ -3598,10 +3515,10 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversa @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioBucketUri: str - bucketObjectType: typing_extensions.Literal[ + bucketObjectType: typing.Literal[ "BUCKET_OBJECT_TYPE_UNSPECIFIED", "TRANSCRIPT", "AUDIO" ] bucketUri: str @@ -3611,18 +3528,18 @@ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSourc @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -3631,37 +3548,33 @@ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1Intent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1Intent(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IntentMatchData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentUniqueId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1InterruptionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1Issue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1Issue(typing.TypedDict, total=False): createTime: str displayDescription: str displayName: str @@ -3671,7 +3584,7 @@ class GoogleCloudContactcenterinsightsV1alpha1Issue( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IssueAssignment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str issue: str @@ -3679,22 +3592,20 @@ class GoogleCloudContactcenterinsightsV1alpha1IssueAssignment( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IssueMatchData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueAssignment: GoogleCloudContactcenterinsightsV1alpha1IssueAssignment @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1IssueModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1IssueModel(typing.TypedDict, total=False): createTime: str displayName: str inputDataConfig: GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig issueCount: str languageCode: str - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "TYPE_V1", "TYPE_V2"] + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "TYPE_V1", "TYPE_V2"] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNDEPLOYED", "DEPLOYING", @@ -3707,15 +3618,15 @@ class GoogleCloudContactcenterinsightsV1alpha1IssueModel( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] trainingConversationsCount: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyzedConversationsCount: str issueStats: dict[str, typing.Any] @@ -3723,7 +3634,7 @@ class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str issue: str @@ -3731,36 +3642,34 @@ class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1IssueModelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: str issues: _list[GoogleCloudContactcenterinsightsV1alpha1IssueAssignment] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ListAllFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackLabels: _list[GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackLabels: _list[GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str phraseMatcher: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1QaAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1QaAnswer(typing.TypedDict, total=False): answerSources: _list[GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource] answerValue: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue conversation: str @@ -3770,16 +3679,16 @@ class GoogleCloudContactcenterinsightsV1alpha1QaAnswer( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerValue: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED", "MANUAL_EDIT" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boolValue: bool key: str @@ -3793,7 +3702,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str displayName: str @@ -3803,7 +3712,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str conversation: str @@ -3823,7 +3732,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedScore: float potentialScore: float @@ -3832,7 +3741,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedScore: float potentialScore: float @@ -3840,19 +3749,19 @@ class GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource( GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult ] score: float - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED_ONLY", "INCLUDES_MANUAL_EDITS" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resultIsTruncated: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str macroAverageSlice: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice @@ -3861,7 +3770,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[GoogleCloudContactcenterinsightsV1alpha1Dimension] timeSeries: ( @@ -3871,7 +3780,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationMeasure: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure dialogflowInteractionMeasure: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure @@ -3879,7 +3788,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aaSupervisorAssignedConversationsCount: int aaSupervisorDroppedConversationsCount: int @@ -3941,14 +3850,14 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageTagNormalizedScore: float tag: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentileAudioInAudioOutLatency: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult percentileEndToEndLatency: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult @@ -3958,7 +3867,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): p50: float p90: float @@ -3966,7 +3875,7 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataPoints: _list[ GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint @@ -3974,25 +3883,25 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSerie @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summaryText: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1RedactionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deidentifyTemplate: str inspectTemplate: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationId: str answerFeedback: GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback @@ -4019,17 +3928,17 @@ class GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorName: str query: str - querySource: typing_extensions.Literal[ + querySource: typing.Literal[ "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4039,14 +3948,14 @@ class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedSampleCount: int successfulSampleCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationDataset: GoogleCloudContactcenterinsightsV1alpha1Dataset parent: str @@ -4054,13 +3963,11 @@ class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1alpha1SampleRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1alpha1SampleRule(typing.TypedDict, total=False): conversationFilter: str dimension: str samplePercentage: float @@ -4068,19 +3975,19 @@ class GoogleCloudContactcenterinsightsV1alpha1SampleRule( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SentimentData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SilenceData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -4089,7 +3996,7 @@ class GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SmartReplyData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -4098,14 +4005,14 @@ class GoogleCloudContactcenterinsightsV1alpha1SmartReplyData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableWordTimeOffsets: bool speechRecognizer: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @@ -4113,7 +4020,7 @@ class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationCorrelationErrors: _list[ GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError @@ -4125,21 +4032,21 @@ class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullC @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detailedResults: GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults partialErrors: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraintResults: _list[ GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult @@ -4150,7 +4057,7 @@ class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetai @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4158,18 +4065,18 @@ class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4177,14 +4084,14 @@ class GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaQuestionTag: GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag updateMask: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisOperation: str appliedRedactionConfig: GoogleCloudContactcenterinsightsV1alpha1RedactionConfig @@ -4194,7 +4101,7 @@ class GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: GoogleCloudContactcenterinsightsV1alpha1Conversation conversationId: str @@ -4203,9 +4110,7 @@ class GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest( speechConfig: GoogleCloudContactcenterinsightsV1alpha1SpeechConfig @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainAnalysis( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainAnalysis(typing.TypedDict, total=False): analysisResult: GoogleCloudContactcenterinsightsV1mainAnalysisResult annotatorSelector: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector createTime: str @@ -4214,7 +4119,7 @@ class GoogleCloudContactcenterinsightsV1mainAnalysis( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callAnalysisMetadata: ( GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata @@ -4223,7 +4128,7 @@ class GoogleCloudContactcenterinsightsV1mainAnalysisResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: _list[GoogleCloudContactcenterinsightsV1mainCallAnnotation] entities: dict[str, typing.Any] @@ -4236,14 +4141,14 @@ class GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnnotationBoundary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): transcriptIndex: int wordIndex: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnnotatorSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModels: _list[str] phraseMatchers: _list[str] @@ -4264,7 +4169,7 @@ class GoogleCloudContactcenterinsightsV1mainAnnotatorSelector( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scorecardList: ( GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList @@ -4272,26 +4177,26 @@ class GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaScorecardRevisions: _list[str] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str generator: str - summarizationModel: typing_extensions.Literal[ + summarizationModel: typing.Literal[ "SUMMARIZATION_MODEL_UNSPECIFIED", "BASELINE_MODEL", "BASELINE_MODEL_V2_0" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainAnswerFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clicked: bool - correctnessLevel: typing_extensions.Literal[ + correctnessLevel: typing.Literal[ "CORRECTNESS_LEVEL_UNSPECIFIED", "NOT_CORRECT", "PARTIALLY_CORRECT", @@ -4301,7 +4206,7 @@ class GoogleCloudContactcenterinsightsV1mainAnswerFeedback( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainArticleSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -4312,7 +4217,7 @@ class GoogleCloudContactcenterinsightsV1mainArticleSuggestionData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completedAnalysesCount: int createTime: str @@ -4325,7 +4230,7 @@ class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisPercentage: float annotatorSelector: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector @@ -4335,14 +4240,14 @@ class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedAnalysisCount: int successfulAnalysisCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4351,7 +4256,7 @@ class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @@ -4360,31 +4265,31 @@ class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialErrors: _list[GoogleRpcStatus] request: GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str parent: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str downloadStats: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats @@ -4394,7 +4299,7 @@ class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileNames: _list[str] processedObjectCount: int @@ -4403,10 +4308,10 @@ class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDo @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationFilter: str - feedbackLabelType: typing_extensions.Literal[ + feedbackLabelType: typing.Literal[ "FEEDBACK_LABEL_TYPE_UNSPECIFIED", "QUALITY_AI", "TOPIC_MODELING", @@ -4421,29 +4326,29 @@ class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addWhitespace: bool alwaysPrintEmptyFields: bool - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] + format: typing.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] objectUri: str recordsPerFileCount: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sheetTitle: str spreadsheetUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCallAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationEndBoundary: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary annotationStartBoundary: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary @@ -4459,20 +4364,20 @@ class GoogleCloudContactcenterinsightsV1mainCallAnnotation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCesEndSessionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endSession: GoogleCloudCesV1mainEndSession @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCesTurnAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messages: _list[GoogleCloudCesV1mainMessage] rootSpan: GoogleCloudCesV1mainSpan @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationA: str conversationB: str @@ -4482,16 +4387,14 @@ class GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraintMet: bool error: GoogleRpcStatus ruleId: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainConversation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainConversation(typing.TypedDict, total=False): agentId: str callMetadata: GoogleCloudContactcenterinsightsV1mainConversationCallMetadata correlationInfo: GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo @@ -4506,7 +4409,7 @@ class GoogleCloudContactcenterinsightsV1mainConversation( latestSummary: ( GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData ) - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] metadataJson: str name: str obfuscatedUserId: str @@ -4520,17 +4423,17 @@ class GoogleCloudContactcenterinsightsV1mainConversation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationCallMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentChannel: int customerChannel: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correlationTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CORRELATION_TYPE_UNSPECIFIED", "SEGMENT", "PARTIAL", "FULL", "SYNTHETIC" ] ] @@ -4539,7 +4442,7 @@ class GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str ruleResults: _list[ @@ -4548,7 +4451,7 @@ class GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): correlationId: str error: GoogleRpcStatus @@ -4556,7 +4459,7 @@ class GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCor @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationDataSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowSource: GoogleCloudContactcenterinsightsV1mainDialogflowSource gcsSource: GoogleCloudContactcenterinsightsV1mainGcsSource @@ -4567,40 +4470,40 @@ class GoogleCloudContactcenterinsightsV1mainConversationDataSource( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationDataSourceTurnLevelAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioDuration: str audioGcsUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelTag: int sentimentData: GoogleCloudContactcenterinsightsV1mainSentimentData @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationLevelSilence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): silenceDuration: str silencePercentage: float @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationParticipant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowParticipant: str dialogflowParticipantName: str obfuscatedExternalUserId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" ] userId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentInfo: _list[ GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo @@ -4612,10 +4515,10 @@ class GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str - agentType: typing_extensions.Literal[ + agentType: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" ] deploymentDisplayName: str @@ -4632,7 +4535,7 @@ class GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str confidence: float @@ -4644,7 +4547,7 @@ class GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionD @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationTranscript( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): transcriptSegments: _list[ GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment @@ -4652,7 +4555,7 @@ class GoogleCloudContactcenterinsightsV1mainConversationTranscript( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelTag: int confidence: float @@ -4671,13 +4574,13 @@ class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegm @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): smartReplyAllowlistCovered: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float endOffset: str @@ -4686,7 +4589,7 @@ class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegm @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatorSelector: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector conversation: str @@ -4695,7 +4598,7 @@ class GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4703,7 +4606,7 @@ class GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4711,33 +4614,31 @@ class GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: GoogleCloudContactcenterinsightsV1mainIssueModel parent: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainCreateIssueRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issue: GoogleCloudContactcenterinsightsV1mainIssue parent: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainDataset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainDataset(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str ttl: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] updateTime: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4745,13 +4646,13 @@ class GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4759,13 +4660,13 @@ class GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -4773,39 +4674,37 @@ class GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDeployIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDialogflowIntent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float dialogflowIntentId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDialogflowSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioUri: str dialogflowConversation: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainDimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainDimension(typing.TypedDict, total=False): agentDimensionMetadata: ( GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata ) @@ -4813,7 +4712,7 @@ class GoogleCloudContactcenterinsightsV1mainDimension( conversationProfileDimensionMetadata: GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata conversationalAgentsPlaybookDimensionMetadata: GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata conversationalAgentsToolDimensionMetadata: GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata - dimensionKey: typing_extensions.Literal[ + dimensionKey: typing.Literal[ "DIMENSION_KEY_UNSPECIFIED", "ISSUE", "ISSUE_NAME", @@ -4858,7 +4757,7 @@ class GoogleCloudContactcenterinsightsV1mainDimension( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentDeploymentDisplayName: str agentDeploymentId: str @@ -4870,33 +4769,33 @@ class GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sentimentCategory: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfileId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): playbookDisplayName: str playbookId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolDisplayName: str toolId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueDisplayName: str issueId: str @@ -4904,20 +4803,20 @@ class GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelKey: str labelValue: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): medium: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerValue: str qaQuestionId: str @@ -4926,7 +4825,7 @@ class GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMe @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaQuestionId: str qaScorecardId: str @@ -4934,26 +4833,24 @@ class GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaScorecardId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainEncryptionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsKey: str name: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainEntity(typing.TypedDict, total=False): displayName: str metadata: dict[str, typing.Any] salience: float sentiment: GoogleCloudContactcenterinsightsV1mainSentimentData - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "PERSON", "LOCATION", @@ -4971,15 +4868,15 @@ class GoogleCloudContactcenterinsightsV1mainEntity( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainEntityMentionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityUniqueId: str sentiment: GoogleCloudContactcenterinsightsV1mainSentimentData - type: typing_extensions.Literal["MENTION_TYPE_UNSPECIFIED", "PROPER", "COMMON"] + type: typing.Literal["MENTION_TYPE_UNSPECIFIED", "PROPER", "COMMON"] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completedExportCount: int createTime: str @@ -4990,10 +4887,10 @@ class GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigQueryDestination: GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination - exportSchemaVersion: typing_extensions.Literal[ + exportSchemaVersion: typing.Literal[ "EXPORT_SCHEMA_VERSION_UNSPECIFIED", "EXPORT_V1", "EXPORT_V2", @@ -5017,13 +4914,13 @@ class GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest( filter: str kmsKey: str parent: str - writeDisposition: typing_extensions.Literal[ + writeDisposition: typing.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_TRUNCATE", "WRITE_APPEND" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str projectId: str @@ -5031,12 +4928,12 @@ class GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDes @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportInsightsDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -5044,7 +4941,7 @@ class GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsDestination: ( GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination @@ -5053,18 +4950,18 @@ class GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainExportIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainFaqAnswerData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: str confidenceScore: float @@ -5075,7 +4972,7 @@ class GoogleCloudContactcenterinsightsV1mainFaqAnswerData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainFeedbackLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str label: str @@ -5085,15 +4982,13 @@ class GoogleCloudContactcenterinsightsV1mainFeedbackLabel( updateTime: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainGcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainGcsSource(typing.TypedDict, total=False): audioUri: str transcriptUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str createTime: str @@ -5104,7 +4999,7 @@ class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscr @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str messageId: str @@ -5113,7 +5008,7 @@ class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscr @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartSpec: dict[str, typing.Any] generatedSqlQuery: str @@ -5123,16 +5018,16 @@ class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscr @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: _list[str] - textType: typing_extensions.Literal[ + textType: typing.Literal[ "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): systemMessages: _list[ GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage @@ -5140,19 +5035,19 @@ class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscr @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorMessages: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeResponses: _list[ GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse @@ -5163,7 +5058,7 @@ class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chartSpec: dict[str, typing.Any] generatedSqlQuery: str @@ -5172,21 +5067,19 @@ class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerative @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: _list[str] - textType: typing_extensions.Literal[ + textType: typing.Literal[ "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" ] @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainHoldData( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudContactcenterinsightsV1mainHoldData(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -5194,7 +5087,7 @@ class GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createNewModel: bool gcsSource: GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource @@ -5202,19 +5095,19 @@ class GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectUri: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainImportIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: GoogleCloudContactcenterinsightsV1mainIssueModel @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -5225,7 +5118,7 @@ class GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicatesSkippedCount: int failedIngestCount: int @@ -5234,7 +5127,7 @@ class GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestCon @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationConfig: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig gcsSource: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource @@ -5246,7 +5139,7 @@ class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentChannel: int agentId: str @@ -5254,10 +5147,10 @@ class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversati @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioBucketUri: str - bucketObjectType: typing_extensions.Literal[ + bucketObjectType: typing.Literal[ "BUCKET_OBJECT_TYPE_UNSPECIFIED", "TRANSCRIPT", "AUDIO" ] bucketUri: str @@ -5267,18 +5160,18 @@ class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIngestConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -5287,37 +5180,33 @@ class GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudContactcenterinsightsV1mainEncryptionSpec @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainIntent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainIntent(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIntentMatchData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentUniqueId: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainInterruptionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainIssue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainIssue(typing.TypedDict, total=False): createTime: str displayDescription: str displayName: str @@ -5327,7 +5216,7 @@ class GoogleCloudContactcenterinsightsV1mainIssue( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIssueAssignment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str issue: str @@ -5335,22 +5224,20 @@ class GoogleCloudContactcenterinsightsV1mainIssueAssignment( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIssueMatchData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueAssignment: GoogleCloudContactcenterinsightsV1mainIssueAssignment @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainIssueModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainIssueModel(typing.TypedDict, total=False): createTime: str displayName: str inputDataConfig: GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig issueCount: str languageCode: str - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "TYPE_V1", "TYPE_V2"] + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "TYPE_V1", "TYPE_V2"] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNDEPLOYED", "DEPLOYING", @@ -5363,15 +5250,15 @@ class GoogleCloudContactcenterinsightsV1mainIssueModel( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + medium: typing.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] trainingConversationsCount: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyzedConversationsCount: str issueStats: dict[str, typing.Any] @@ -5379,7 +5266,7 @@ class GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str issue: str @@ -5387,36 +5274,34 @@ class GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainIssueModelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): issueModel: str issues: _list[GoogleCloudContactcenterinsightsV1mainIssueAssignment] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainListAllFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackLabels: _list[GoogleCloudContactcenterinsightsV1mainFeedbackLabel] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainListFeedbackLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackLabels: _list[GoogleCloudContactcenterinsightsV1mainFeedbackLabel] nextPageToken: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainPhraseMatchData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str phraseMatcher: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainQaAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainQaAnswer(typing.TypedDict, total=False): answerSources: _list[GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource] answerValue: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue conversation: str @@ -5426,16 +5311,16 @@ class GoogleCloudContactcenterinsightsV1mainQaAnswer( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerValue: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED", "MANUAL_EDIT" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boolValue: bool key: str @@ -5449,7 +5334,7 @@ class GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQaQuestionTag( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str displayName: str @@ -5459,7 +5344,7 @@ class GoogleCloudContactcenterinsightsV1mainQaQuestionTag( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQaScorecardResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentId: str conversation: str @@ -5479,7 +5364,7 @@ class GoogleCloudContactcenterinsightsV1mainQaScorecardResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedScore: float potentialScore: float @@ -5488,7 +5373,7 @@ class GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedScore: float potentialScore: float @@ -5496,19 +5381,19 @@ class GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource( GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult ] score: float - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED_ONLY", "INCLUDES_MANUAL_EDITS" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resultIsTruncated: bool @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str macroAverageSlice: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice @@ -5517,7 +5402,7 @@ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[GoogleCloudContactcenterinsightsV1mainDimension] timeSeries: ( @@ -5527,7 +5412,7 @@ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationMeasure: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure dialogflowInteractionMeasure: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure @@ -5535,7 +5420,7 @@ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aaSupervisorAssignedConversationsCount: int aaSupervisorDroppedConversationsCount: int @@ -5597,14 +5482,14 @@ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointCo @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageTagNormalizedScore: float tag: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): percentileAudioInAudioOutLatency: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult percentileEndToEndLatency: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult @@ -5614,7 +5499,7 @@ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDi @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): p50: float p90: float @@ -5622,7 +5507,7 @@ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPe @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataPoints: _list[ GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint @@ -5630,25 +5515,25 @@ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summaryText: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainRedactionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deidentifyTemplate: str inspectTemplate: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationId: str answerFeedback: GoogleCloudContactcenterinsightsV1mainAnswerFeedback @@ -5675,17 +5560,17 @@ class GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorName: str query: str - querySource: typing_extensions.Literal[ + querySource: typing.Literal[ "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" ] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -5695,14 +5580,14 @@ class GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedSampleCount: int successfulSampleCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationDataset: GoogleCloudContactcenterinsightsV1mainDataset parent: str @@ -5710,13 +5595,11 @@ class GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSampleConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainSampleRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainSampleRule(typing.TypedDict, total=False): conversationFilter: str dimension: str samplePercentage: float @@ -5724,19 +5607,19 @@ class GoogleCloudContactcenterinsightsV1mainSampleRule( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSentimentData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSilenceData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -5745,7 +5628,7 @@ class GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainSmartReplyData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceScore: float metadata: dict[str, typing.Any] @@ -5753,15 +5636,13 @@ class GoogleCloudContactcenterinsightsV1mainSmartReplyData( reply: str @typing.type_check_only -class GoogleCloudContactcenterinsightsV1mainSpeechConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContactcenterinsightsV1mainSpeechConfig(typing.TypedDict, total=False): disableWordTimeOffsets: bool speechRecognizer: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @@ -5769,7 +5650,7 @@ class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationCorrelationErrors: _list[ GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError @@ -5781,21 +5662,21 @@ class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullCon @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detailedResults: GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults partialErrors: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraintResults: _list[ GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult @@ -5806,7 +5687,7 @@ class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetaile @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -5814,18 +5695,18 @@ class GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainUndeployIssueModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @@ -5833,14 +5714,14 @@ class GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qaQuestionTag: GoogleCloudContactcenterinsightsV1mainQaQuestionTag updateMask: str @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysisOperation: str appliedRedactionConfig: GoogleCloudContactcenterinsightsV1mainRedactionConfig @@ -5850,7 +5731,7 @@ class GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata( @typing.type_check_only class GoogleCloudContactcenterinsightsV1mainUploadConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: GoogleCloudContactcenterinsightsV1mainConversation conversationId: str @@ -5859,51 +5740,51 @@ class GoogleCloudContactcenterinsightsV1mainUploadConversationRequest( speechConfig: GoogleCloudContactcenterinsightsV1mainSpeechConfig @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -5911,22 +5792,22 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeInterval(typing_extensions.TypedDict, total=False): +class GoogleTypeInterval(typing.TypedDict, total=False): endTime: str startTime: str diff --git a/googleapiclient-stubs/_apis/container/v1/resources.pyi b/googleapiclient-stubs/_apis/container/v1/resources.pyi index 912008c12..64a925da8 100644 --- a/googleapiclient-stubs/_apis/container/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/container/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -137,6 +136,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 +401,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..95977f8ef 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: str acceleratorType: str gpuDriverInstallationConfig: GPUDriverInstallationConfig @@ -13,34 +11,34 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): gpuSharingConfig: GPUSharingConfig @typing.type_check_only -class AccurateTimeConfig(typing_extensions.TypedDict, total=False): +class AccurateTimeConfig(typing.TypedDict, total=False): enablePtpKvmTimeSync: bool @typing.type_check_only -class AdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): +class AdditionalIPRangesConfig(typing.TypedDict, total=False): podIpv4RangeNames: _list[str] - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "ACTIVE", "DRAINING"] + status: typing.Literal["STATUS_UNSPECIFIED", "ACTIVE", "DRAINING"] subnetwork: str @typing.type_check_only -class AdditionalNodeNetworkConfig(typing_extensions.TypedDict, total=False): +class AdditionalNodeNetworkConfig(typing.TypedDict, total=False): network: str subnetwork: str @typing.type_check_only -class AdditionalPodNetworkConfig(typing_extensions.TypedDict, total=False): +class AdditionalPodNetworkConfig(typing.TypedDict, total=False): maxPodsPerNode: MaxPodsConstraint networkAttachment: str secondaryPodRange: str subnetwork: str @typing.type_check_only -class AdditionalPodRangesConfig(typing_extensions.TypedDict, total=False): +class AdditionalPodRangesConfig(typing.TypedDict, total=False): podRangeInfo: _list[RangeInfo] podRangeNames: _list[str] @typing.type_check_only -class AddonsConfig(typing_extensions.TypedDict, total=False): +class AddonsConfig(typing.TypedDict, total=False): agentSandboxConfig: AgentSandboxConfig cloudRunConfig: CloudRunConfig configConnectorConfig: ConfigConnectorConfig @@ -64,17 +62,17 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): statefulHaConfig: StatefulHAConfig @typing.type_check_only -class AdvancedDatapathObservabilityConfig(typing_extensions.TypedDict, total=False): +class AdvancedDatapathObservabilityConfig(typing.TypedDict, total=False): enableMetrics: bool enableRelay: bool - relayMode: typing_extensions.Literal[ + relayMode: typing.Literal[ "RELAY_MODE_UNSPECIFIED", "DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB" ] @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): enableNestedVirtualization: bool - performanceMonitoringUnit: typing_extensions.Literal[ + performanceMonitoringUnit: typing.Literal[ "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", "ARCHITECTURAL", "STANDARD", @@ -83,44 +81,44 @@ class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): threadsPerCore: str @typing.type_check_only -class AgentSandboxConfig(typing_extensions.TypedDict, total=False): +class AgentSandboxConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AnonymousAuthenticationConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "ENABLED", "LIMITED"] +class AnonymousAuthenticationConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "ENABLED", "LIMITED"] @typing.type_check_only -class AuthenticatorGroupsConfig(typing_extensions.TypedDict, total=False): +class AuthenticatorGroupsConfig(typing.TypedDict, total=False): enabled: bool securityGroup: str @typing.type_check_only -class AutoIpamConfig(typing_extensions.TypedDict, total=False): +class AutoIpamConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AutoMonitoringConfig(typing_extensions.TypedDict, total=False): - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "ALL", "NONE"] +class AutoMonitoringConfig(typing.TypedDict, total=False): + scope: typing.Literal["SCOPE_UNSPECIFIED", "ALL", "NONE"] @typing.type_check_only -class AutoUpgradeOptions(typing_extensions.TypedDict, total=False): +class AutoUpgradeOptions(typing.TypedDict, total=False): autoUpgradeStartTime: str description: str @typing.type_check_only -class Autopilot(typing_extensions.TypedDict, total=False): +class Autopilot(typing.TypedDict, total=False): clusterPolicyConfig: ClusterPolicyConfig enabled: bool privilegedAdmissionConfig: PrivilegedAdmissionConfig workloadPolicyConfig: WorkloadPolicyConfig @typing.type_check_only -class AutopilotCompatibilityIssue(typing_extensions.TypedDict, total=False): +class AutopilotCompatibilityIssue(typing.TypedDict, total=False): constraintType: str description: str documentationUrl: str - incompatibilityType: typing_extensions.Literal[ + incompatibilityType: typing.Literal[ "UNSPECIFIED", "INCOMPATIBILITY", "ADDITIONAL_CONFIG_REQUIRED", @@ -130,11 +128,11 @@ class AutopilotCompatibilityIssue(typing_extensions.TypedDict, total=False): subjects: _list[str] @typing.type_check_only -class AutopilotConfig(typing_extensions.TypedDict, total=False): +class AutopilotConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False): +class AutoprovisioningNodePoolDefaults(typing.TypedDict, total=False): bootDiskKmsKey: str diskSizeGb: int diskType: str @@ -148,32 +146,32 @@ class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False) upgradeSettings: UpgradeSettings @typing.type_check_only -class AutoscaledRolloutPolicy(typing_extensions.TypedDict, total=False): +class AutoscaledRolloutPolicy(typing.TypedDict, total=False): waitForDrainDuration: str @typing.type_check_only -class BestEffortProvisioning(typing_extensions.TypedDict, total=False): +class BestEffortProvisioning(typing.TypedDict, total=False): enabled: bool minProvisionNodes: int @typing.type_check_only -class BigQueryDestination(typing_extensions.TypedDict, total=False): +class BigQueryDestination(typing.TypedDict, total=False): datasetId: str @typing.type_check_only -class BinaryAuthorization(typing_extensions.TypedDict, total=False): +class BinaryAuthorization(typing.TypedDict, total=False): enabled: bool - evaluationMode: typing_extensions.Literal[ + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "DISABLED", "PROJECT_SINGLETON_POLICY_ENFORCE" ] @typing.type_check_only -class BlueGreenInfo(typing_extensions.TypedDict, total=False): +class BlueGreenInfo(typing.TypedDict, total=False): blueInstanceGroupUrls: _list[str] bluePoolDeletionStartTime: str greenInstanceGroupUrls: _list[str] greenPoolVersion: str - phase: typing_extensions.Literal[ + phase: typing.Literal[ "PHASE_UNSPECIFIED", "UPDATE_STARTED", "CREATING_GREEN_POOL", @@ -185,69 +183,69 @@ class BlueGreenInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BlueGreenSettings(typing_extensions.TypedDict, total=False): +class BlueGreenSettings(typing.TypedDict, total=False): autoscaledRolloutPolicy: AutoscaledRolloutPolicy nodePoolSoakDuration: str standardRolloutPolicy: StandardRolloutPolicy @typing.type_check_only -class BootDisk(typing_extensions.TypedDict, total=False): +class BootDisk(typing.TypedDict, total=False): diskType: str provisionedIops: str provisionedThroughput: str sizeGb: str @typing.type_check_only -class BootDiskProfile(typing_extensions.TypedDict, total=False): +class BootDiskProfile(typing.TypedDict, total=False): swapSizeGib: str swapSizePercent: int @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): +class CancelOperationRequest(typing.TypedDict, total=False): name: str operationId: str projectId: str zone: str @typing.type_check_only -class CertificateAuthorityDomainConfig(typing_extensions.TypedDict, total=False): +class CertificateAuthorityDomainConfig(typing.TypedDict, total=False): fqdns: _list[str] gcpSecretManagerCertificateConfig: GCPSecretManagerCertificateConfig @typing.type_check_only -class CertificateConfig(typing_extensions.TypedDict, total=False): +class CertificateConfig(typing.TypedDict, total=False): gcpSecretManagerSecretUri: str @typing.type_check_only -class CertificateConfigPair(typing_extensions.TypedDict, total=False): +class CertificateConfigPair(typing.TypedDict, total=False): cert: CertificateConfig key: CertificateConfig @typing.type_check_only -class CheckAutopilotCompatibilityResponse(typing_extensions.TypedDict, total=False): +class CheckAutopilotCompatibilityResponse(typing.TypedDict, total=False): issues: _list[AutopilotCompatibilityIssue] summary: str @typing.type_check_only -class CidrBlock(typing_extensions.TypedDict, total=False): +class CidrBlock(typing.TypedDict, total=False): cidrBlock: str displayName: str @typing.type_check_only -class ClientCertificateConfig(typing_extensions.TypedDict, total=False): +class ClientCertificateConfig(typing.TypedDict, total=False): issueClientCertificate: bool @typing.type_check_only -class CloudRunConfig(typing_extensions.TypedDict, total=False): +class CloudRunConfig(typing.TypedDict, total=False): disabled: bool - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "LOAD_BALANCER_TYPE_UNSPECIFIED", "LOAD_BALANCER_TYPE_EXTERNAL", "LOAD_BALANCER_TYPE_INTERNAL", ] @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): addonsConfig: AddonsConfig alphaClusterFeatureGates: _list[str] anonymousAuthenticationConfig: AnonymousAuthenticationConfig @@ -263,6 +261,7 @@ class Cluster(typing_extensions.TypedDict, total=False): controlPlaneEndpointsConfig: ControlPlaneEndpointsConfig costManagementConfig: CostManagementConfig createTime: str + currentEmulatedVersion: str currentMasterVersion: str currentNodeCount: int currentNodeVersion: str @@ -316,6 +315,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 @@ -325,7 +325,7 @@ class Cluster(typing_extensions.TypedDict, total=False): selfLink: str servicesIpv4Cidr: str shieldedNodes: ShieldedNodes - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -343,13 +343,13 @@ class Cluster(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ClusterAutoscaling(typing_extensions.TypedDict, total=False): - autopilotGeneralProfile: typing_extensions.Literal[ +class ClusterAutoscaling(typing.TypedDict, total=False): + autopilotGeneralProfile: typing.Literal[ "AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", "NO_PERFORMANCE", "NONE" ] autoprovisioningLocations: _list[str] autoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults - autoscalingProfile: typing_extensions.Literal[ + autoscalingProfile: typing.Literal[ "PROFILE_UNSPECIFIED", "OPTIMIZE_UTILIZATION", "BALANCED" ] defaultComputeClassConfig: DefaultComputeClassConfig @@ -357,18 +357,18 @@ class ClusterAutoscaling(typing_extensions.TypedDict, total=False): resourceLimits: _list[ResourceLimit] @typing.type_check_only -class ClusterNetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - totalEgressBandwidthTier: typing_extensions.Literal["TIER_UNSPECIFIED", "TIER_1"] +class ClusterNetworkPerformanceConfig(typing.TypedDict, total=False): + totalEgressBandwidthTier: typing.Literal["TIER_UNSPECIFIED", "TIER_1"] @typing.type_check_only -class ClusterPolicyConfig(typing_extensions.TypedDict, total=False): +class ClusterPolicyConfig(typing.TypedDict, total=False): noStandardNodePools: bool noSystemImpersonation: bool noSystemMutation: bool noUnsafeWebhooks: bool @typing.type_check_only -class ClusterUpdate(typing_extensions.TypedDict, total=False): +class ClusterUpdate(typing.TypedDict, total=False): additionalPodRangesConfig: AdditionalPodRangesConfig desiredAdditionalIpRangesConfig: DesiredAdditionalIPRangesConfig desiredAddonsConfig: AddonsConfig @@ -385,13 +385,14 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredControlPlaneEndpointsConfig: ControlPlaneEndpointsConfig desiredCostManagementConfig: CostManagementConfig desiredDatabaseEncryption: DatabaseEncryption - desiredDatapathProvider: typing_extensions.Literal[ + desiredDatapathProvider: typing.Literal[ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", "ADVANCED_DATAPATH" ] desiredDefaultEnablePrivateNodes: bool desiredDefaultSnatStatus: DefaultSnatStatus desiredDisableL4LbFirewallReconciliation: bool desiredDnsConfig: DNSConfig + desiredEmulatedVersion: str desiredEnableCiliumClusterwideNetworkPolicy: bool desiredEnableFqdnNetworkPolicy: bool desiredEnableMultiNetworking: bool @@ -404,7 +405,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredImage: str desiredImageProject: str desiredImageType: str - desiredInTransitEncryptionConfig: typing_extensions.Literal[ + desiredInTransitEncryptionConfig: typing.Literal[ "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", "IN_TRANSIT_ENCRYPTION_DISABLED", "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT", @@ -440,7 +441,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredParentProductConfig: ParentProductConfig desiredPodAutoscaling: PodAutoscaling desiredPrivateClusterConfig: PrivateClusterConfig - desiredPrivateIpv6GoogleAccess: typing_extensions.Literal[ + desiredPrivateIpv6GoogleAccess: typing.Literal[ "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", "PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", @@ -450,14 +451,13 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredRbacBindingConfig: RBACBindingConfig desiredReleaseChannel: ReleaseChannel desiredResourceUsageExportConfig: ResourceUsageExportConfig + desiredRollbackSafeUpgrade: RollbackSafeUpgrade desiredSecretManagerConfig: SecretManagerConfig desiredSecretSyncConfig: SecretSyncConfig desiredSecurityPostureConfig: SecurityPostureConfig desiredServiceExternalIpsConfig: ServiceExternalIPsConfig desiredShieldedNodes: ShieldedNodes - desiredStackType: typing_extensions.Literal[ - "STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6" - ] + desiredStackType: typing.Literal["STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6"] desiredUserManagedKeysConfig: UserManagedKeysConfig desiredVerticalPodAutoscaling: VerticalPodAutoscaling desiredWorkloadIdentityConfig: WorkloadIdentityConfig @@ -468,18 +468,16 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): userManagedKeysConfig: UserManagedKeysConfig @typing.type_check_only -class ClusterUpgradeInfo(typing_extensions.TypedDict, total=False): +class ClusterUpgradeInfo(typing.TypedDict, total=False): autoUpgradeStatus: _list[ - typing_extensions.Literal[ - "UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED" - ] + typing.Literal["UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED"] ] endOfExtendedSupportTimestamp: str endOfStandardSupportTimestamp: str minorTargetVersion: str patchTargetVersion: str pausedReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", "MAINTENANCE_WINDOW", "MAINTENANCE_EXCLUSION_NO_UPGRADES", @@ -489,74 +487,79 @@ class ClusterUpgradeInfo(typing_extensions.TypedDict, total=False): "SYSTEM_CONFIG", ] ] + rollbackSafeUpgradeStatus: RollbackSafeUpgradeStatus upgradeDetails: _list[UpgradeDetails] @typing.type_check_only -class CompleteIPRotationRequest(typing_extensions.TypedDict, total=False): +class CompleteControlPlaneUpgradeRequest(typing.TypedDict, total=False): + version: str + +@typing.type_check_only +class CompleteIPRotationRequest(typing.TypedDict, total=False): clusterId: str name: str projectId: str zone: str @typing.type_check_only -class CompleteNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class CompleteNodePoolUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CompliancePostureConfig(typing_extensions.TypedDict, total=False): +class CompliancePostureConfig(typing.TypedDict, total=False): complianceStandards: _list[ComplianceStandard] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class ComplianceStandard(typing_extensions.TypedDict, total=False): +class ComplianceStandard(typing.TypedDict, total=False): standard: str @typing.type_check_only -class ConfidentialNodes(typing_extensions.TypedDict, total=False): - confidentialInstanceType: typing_extensions.Literal[ +class ConfidentialNodes(typing.TypedDict, total=False): + confidentialInstanceType: typing.Literal[ "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] enabled: bool @typing.type_check_only -class ConfigConnectorConfig(typing_extensions.TypedDict, total=False): +class ConfigConnectorConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ConsumptionMeteringConfig(typing_extensions.TypedDict, total=False): +class ConsumptionMeteringConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ContainerdConfig(typing_extensions.TypedDict, total=False): +class ContainerdConfig(typing.TypedDict, total=False): privateRegistryAccessConfig: PrivateRegistryAccessConfig registryHosts: _list[RegistryHostConfig] writableCgroups: WritableCgroups @typing.type_check_only -class ControlPlaneEgress(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "VIA_CONTROL_PLANE", "NONE"] +class ControlPlaneEgress(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "VIA_CONTROL_PLANE", "NONE"] @typing.type_check_only -class ControlPlaneEndpointsConfig(typing_extensions.TypedDict, total=False): +class ControlPlaneEndpointsConfig(typing.TypedDict, total=False): dnsEndpointConfig: DNSEndpointConfig ipEndpointsConfig: IPEndpointsConfig @typing.type_check_only -class CostManagementConfig(typing_extensions.TypedDict, total=False): +class CostManagementConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class CrashLoopBackOffConfig(typing_extensions.TypedDict, total=False): +class CrashLoopBackOffConfig(typing.TypedDict, total=False): maxContainerRestartPeriod: str @typing.type_check_only -class CreateClusterRequest(typing_extensions.TypedDict, total=False): +class CreateClusterRequest(typing.TypedDict, total=False): cluster: Cluster parent: str projectId: str zone: str @typing.type_check_only -class CreateNodePoolRequest(typing_extensions.TypedDict, total=False): +class CreateNodePoolRequest(typing.TypedDict, total=False): clusterId: str nodePool: NodePool parent: str @@ -564,44 +567,44 @@ class CreateNodePoolRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class CustomImageConfig(typing_extensions.TypedDict, total=False): +class CustomImageConfig(typing.TypedDict, total=False): image: str imageProject: str @typing.type_check_only -class CustomImageInfo(typing_extensions.TypedDict, total=False): +class CustomImageInfo(typing.TypedDict, total=False): upgradeMessage: str @typing.type_check_only -class CustomNodeInit(typing_extensions.TypedDict, total=False): +class CustomNodeInit(typing.TypedDict, total=False): initScript: InitScript @typing.type_check_only -class DNSConfig(typing_extensions.TypedDict, total=False): +class DNSConfig(typing.TypedDict, total=False): additiveVpcScopeDnsDomain: str - clusterDns: typing_extensions.Literal[ + clusterDns: typing.Literal[ "PROVIDER_UNSPECIFIED", "PLATFORM_DEFAULT", "CLOUD_DNS", "KUBE_DNS" ] clusterDnsDomain: str - clusterDnsScope: typing_extensions.Literal[ + clusterDnsScope: typing.Literal[ "DNS_SCOPE_UNSPECIFIED", "CLUSTER_SCOPE", "VPC_SCOPE" ] @typing.type_check_only -class DNSEndpointConfig(typing_extensions.TypedDict, total=False): +class DNSEndpointConfig(typing.TypedDict, total=False): allowExternalTraffic: bool enableK8sCertsViaDns: bool enableK8sTokensViaDns: bool endpoint: str @typing.type_check_only -class DailyMaintenanceWindow(typing_extensions.TypedDict, total=False): +class DailyMaintenanceWindow(typing.TypedDict, total=False): duration: str startTime: str @typing.type_check_only -class DatabaseEncryption(typing_extensions.TypedDict, total=False): - currentState: typing_extensions.Literal[ +class DatabaseEncryption(typing.TypedDict, total=False): + currentState: typing.Literal[ "CURRENT_STATE_UNSPECIFIED", "CURRENT_STATE_ENCRYPTED", "CURRENT_STATE_DECRYPTED", @@ -616,54 +619,57 @@ class DatabaseEncryption(typing_extensions.TypedDict, total=False): decryptionKeys: _list[str] keyName: str lastOperationErrors: _list[OperationError] - state: typing_extensions.Literal[ + state: typing.Literal[ "UNKNOWN", "ENCRYPTED", "DECRYPTED", "ALL_OBJECTS_ENCRYPTION_ENABLED" ] @typing.type_check_only -class DataplaneV2Config(typing_extensions.TypedDict, total=False): - scalabilityMode: typing_extensions.Literal[ +class DataplaneV2Config(typing.TypedDict, total=False): + scalabilityMode: typing.Literal[ "SCALABILITY_MODE_UNSPECIFIED", "DISABLED", "SCALE_OPTIMIZED" ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DedicatedLocalSsdProfile(typing_extensions.TypedDict, total=False): +class DedicatedLocalSsdProfile(typing.TypedDict, total=False): diskCount: str @typing.type_check_only -class DefaultComputeClassConfig(typing_extensions.TypedDict, total=False): +class DefaultComputeClassConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DefaultSnatStatus(typing_extensions.TypedDict, total=False): +class DefaultSnatStatus(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class DesiredAdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): +class DesiredAdditionalIPRangesConfig(typing.TypedDict, total=False): additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] @typing.type_check_only -class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): - desiredTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] +class DesiredEnterpriseConfig(typing.TypedDict, total=False): + desiredTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] @typing.type_check_only -class DisruptionBudget(typing_extensions.TypedDict, total=False): +class DiskIoScheduler(typing.TypedDict, total=False): + nodeAttachedDiskIoScheduler: str + nodeSystemIoScheduler: str + +@typing.type_check_only +class DisruptionBudget(typing.TypedDict, total=False): lastDisruptionTime: str lastMinorVersionDisruptionTime: str minorVersionDisruptionInterval: str patchVersionDisruptionInterval: str @typing.type_check_only -class DisruptionEvent(typing_extensions.TypedDict, total=False): - disruptionType: typing_extensions.Literal[ +class DisruptionEvent(typing.TypedDict, total=False): + disruptionType: typing.Literal[ "DISRUPTION_TYPE_UNSPECIFIED", "POD_NOT_ENOUGH_PDB", "POD_PDB_VIOLATION" ] pdbBlockedNode: str @@ -671,37 +677,33 @@ class DisruptionEvent(typing_extensions.TypedDict, total=False): pdbViolationTimeout: str @typing.type_check_only -class DnsCacheConfig(typing_extensions.TypedDict, total=False): +class DnsCacheConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class EnterpriseConfig(typing_extensions.TypedDict, total=False): - clusterTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] - desiredTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] +class EnterpriseConfig(typing.TypedDict, total=False): + clusterTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] + desiredTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] @typing.type_check_only -class EphemeralLocalSsdProfile(typing_extensions.TypedDict, total=False): +class EphemeralLocalSsdProfile(typing.TypedDict, total=False): swapSizeGib: str swapSizePercent: int @typing.type_check_only -class EphemeralStorageLocalSsdConfig(typing_extensions.TypedDict, total=False): +class EphemeralStorageLocalSsdConfig(typing.TypedDict, total=False): dataCacheCount: int localSsdCount: int @typing.type_check_only -class EvictionGracePeriod(typing_extensions.TypedDict, total=False): +class EvictionGracePeriod(typing.TypedDict, total=False): imagefsAvailable: str imagefsInodesFree: str memoryAvailable: str @@ -710,7 +712,7 @@ class EvictionGracePeriod(typing_extensions.TypedDict, total=False): pidAvailable: str @typing.type_check_only -class EvictionMinimumReclaim(typing_extensions.TypedDict, total=False): +class EvictionMinimumReclaim(typing.TypedDict, total=False): imagefsAvailable: str imagefsInodesFree: str memoryAvailable: str @@ -719,7 +721,7 @@ class EvictionMinimumReclaim(typing_extensions.TypedDict, total=False): pidAvailable: str @typing.type_check_only -class EvictionSignals(typing_extensions.TypedDict, total=False): +class EvictionSignals(typing.TypedDict, total=False): imagefsAvailable: str imagefsInodesFree: str memoryAvailable: str @@ -728,19 +730,19 @@ class EvictionSignals(typing_extensions.TypedDict, total=False): pidAvailable: str @typing.type_check_only -class ExclusionUntilEndOfSupport(typing_extensions.TypedDict, total=False): +class ExclusionUntilEndOfSupport(typing.TypedDict, total=False): enabled: bool endTime: str startTime: str @typing.type_check_only -class FastSocket(typing_extensions.TypedDict, total=False): +class FastSocket(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): eventType: _list[ - typing_extensions.Literal[ + typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", @@ -750,40 +752,36 @@ class Filter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Fleet(typing_extensions.TypedDict, total=False): +class Fleet(typing.TypedDict, total=False): membership: str - membershipType: typing_extensions.Literal[ - "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" - ] + membershipType: typing.Literal["MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT"] preRegistered: bool project: str @typing.type_check_only -class GCPSecretManagerCertificateConfig(typing_extensions.TypedDict, total=False): +class GCPSecretManagerCertificateConfig(typing.TypedDict, total=False): secretUri: str @typing.type_check_only -class GPUDirectConfig(typing_extensions.TypedDict, total=False): - gpuDirectStrategy: typing_extensions.Literal[ - "GPU_DIRECT_STRATEGY_UNSPECIFIED", "RDMA" - ] +class GPUDirectConfig(typing.TypedDict, total=False): + gpuDirectStrategy: typing.Literal["GPU_DIRECT_STRATEGY_UNSPECIFIED", "RDMA"] @typing.type_check_only -class GPUDriverInstallationConfig(typing_extensions.TypedDict, total=False): - gpuDriverVersion: typing_extensions.Literal[ +class GPUDriverInstallationConfig(typing.TypedDict, total=False): + gpuDriverVersion: typing.Literal[ "GPU_DRIVER_VERSION_UNSPECIFIED", "INSTALLATION_DISABLED", "DEFAULT", "LATEST" ] @typing.type_check_only -class GPUSharingConfig(typing_extensions.TypedDict, total=False): - gpuSharingStrategy: typing_extensions.Literal[ +class GPUSharingConfig(typing.TypedDict, total=False): + gpuSharingStrategy: typing.Literal[ "GPU_SHARING_STRATEGY_UNSPECIFIED", "TIME_SHARING", "MPS" ] maxSharedClientsPerGpu: str @typing.type_check_only -class GatewayAPIConfig(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class GatewayAPIConfig(typing.TypedDict, total=False): + channel: typing.Literal[ "CHANNEL_UNSPECIFIED", "CHANNEL_DISABLED", "CHANNEL_EXPERIMENTAL", @@ -791,28 +789,28 @@ class GatewayAPIConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GcePersistentDiskCsiDriverConfig(typing_extensions.TypedDict, total=False): +class GcePersistentDiskCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GcfsConfig(typing_extensions.TypedDict, total=False): +class GcfsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GcpFilestoreCsiDriverConfig(typing_extensions.TypedDict, total=False): +class GcpFilestoreCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GcsFuseCsiDriverConfig(typing_extensions.TypedDict, total=False): +class GcsFuseCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GetJSONWebKeysResponse(typing_extensions.TypedDict, total=False): +class GetJSONWebKeysResponse(typing.TypedDict, total=False): cacheHeader: HttpCacheControlResponseHeader keys: _list[Jwk] @typing.type_check_only -class GetOpenIDConfigResponse(typing_extensions.TypedDict, total=False): +class GetOpenIDConfigResponse(typing.TypedDict, total=False): cacheHeader: HttpCacheControlResponseHeader claims_supported: _list[str] grant_types: _list[str] @@ -823,26 +821,26 @@ class GetOpenIDConfigResponse(typing_extensions.TypedDict, total=False): subject_types_supported: _list[str] @typing.type_check_only -class GkeAutoUpgradeConfig(typing_extensions.TypedDict, total=False): - patchMode: typing_extensions.Literal["PATCH_MODE_UNSPECIFIED", "ACCELERATED"] +class GkeAutoUpgradeConfig(typing.TypedDict, total=False): + patchMode: typing.Literal["PATCH_MODE_UNSPECIFIED", "ACCELERATED"] @typing.type_check_only -class GkeBackupAgentConfig(typing_extensions.TypedDict, total=False): +class GkeBackupAgentConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class HighScaleCheckpointingConfig(typing_extensions.TypedDict, total=False): +class HighScaleCheckpointingConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class HorizontalPodAutoscaling(typing_extensions.TypedDict, total=False): +class HorizontalPodAutoscaling(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class HostConfig(typing_extensions.TypedDict, total=False): +class HostConfig(typing.TypedDict, total=False): ca: _list[CertificateConfig] capabilities: _list[ - typing_extensions.Literal[ + typing.Literal[ "HOST_CAPABILITY_UNSPECIFIED", "HOST_CAPABILITY_PULL", "HOST_CAPABILITY_RESOLVE", @@ -856,26 +854,26 @@ class HostConfig(typing_extensions.TypedDict, total=False): overridePath: bool @typing.type_check_only -class HttpCacheControlResponseHeader(typing_extensions.TypedDict, total=False): +class HttpCacheControlResponseHeader(typing.TypedDict, total=False): age: str directive: str expires: str @typing.type_check_only -class HttpLoadBalancing(typing_extensions.TypedDict, total=False): +class HttpLoadBalancing(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class HugepagesConfig(typing_extensions.TypedDict, total=False): +class HugepagesConfig(typing.TypedDict, total=False): hugepageSize1g: int hugepageSize2m: int @typing.type_check_only -class ILBSubsettingConfig(typing_extensions.TypedDict, total=False): +class ILBSubsettingConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class IPAllocationPolicy(typing_extensions.TypedDict, total=False): +class IPAllocationPolicy(typing.TypedDict, total=False): additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] additionalPodRangesConfig: AdditionalPodRangesConfig autoIpamConfig: AutoIpamConfig @@ -884,7 +882,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): clusterSecondaryRangeName: str createSubnetwork: bool defaultPodIpv4RangeUtilization: float - ipv6AccessType: typing_extensions.Literal[ + ipv6AccessType: typing.Literal[ "IPV6_ACCESS_TYPE_UNSPECIFIED", "INTERNAL", "EXTERNAL" ] networkTierConfig: NetworkTierConfig @@ -895,7 +893,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): servicesIpv4CidrBlock: str servicesIpv6CidrBlock: str servicesSecondaryRangeName: str - stackType: typing_extensions.Literal["STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6"] + stackType: typing.Literal["STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6"] subnetIpv6CidrBlock: str subnetworkName: str tpuIpv4CidrBlock: str @@ -903,7 +901,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): useRoutes: bool @typing.type_check_only -class IPEndpointsConfig(typing_extensions.TypedDict, total=False): +class IPEndpointsConfig(typing.TypedDict, total=False): authorizedNetworksConfig: MasterAuthorizedNetworksConfig enablePublicEndpoint: bool enabled: bool @@ -913,22 +911,22 @@ class IPEndpointsConfig(typing_extensions.TypedDict, total=False): publicEndpoint: str @typing.type_check_only -class IdentityServiceConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class InitScript(typing_extensions.TypedDict, total=False): +class InitScript(typing.TypedDict, total=False): args: _list[str] gcpSecretManagerSecretUri: str gcsGeneration: str gcsUri: str @typing.type_check_only -class IntraNodeVisibilityConfig(typing_extensions.TypedDict, total=False): +class IntraNodeVisibilityConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Jwk(typing_extensions.TypedDict, total=False): +class Jwk(typing.TypedDict, total=False): alg: str crv: str e: str @@ -940,29 +938,36 @@ class Jwk(typing_extensions.TypedDict, total=False): y: str @typing.type_check_only -class K8sBetaAPIConfig(typing_extensions.TypedDict, total=False): +class K8sBetaAPIConfig(typing.TypedDict, total=False): enabledApis: _list[str] @typing.type_check_only -class KubernetesDashboard(typing_extensions.TypedDict, total=False): +class KubeletCertInfo(typing.TypedDict, total=False): + nonTpmBootstrapCertExpireTime: str + tpmBootstrapCertExpireTime: str + +@typing.type_check_only +class KubernetesDashboard(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class LegacyAbac(typing_extensions.TypedDict, total=False): +class LegacyAbac(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class LinuxNodeConfig(typing_extensions.TypedDict, total=False): +class LinuxNodeConfig(typing.TypedDict, total=False): accurateTimeConfig: AccurateTimeConfig - cgroupMode: typing_extensions.Literal[ + cgroupMode: typing.Literal[ "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[ + transparentHugepageDefrag: typing.Literal[ "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", "TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS", "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER", @@ -970,7 +975,7 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): "TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE", "TRANSPARENT_HUGEPAGE_DEFRAG_NEVER", ] - transparentHugepageEnabled: typing_extensions.Literal[ + transparentHugepageEnabled: typing.Literal[ "TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED", "TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS", "TRANSPARENT_HUGEPAGE_ENABLED_MADVISE", @@ -978,32 +983,32 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] missingZones: _list[str] @typing.type_check_only -class ListNodePoolsResponse(typing_extensions.TypedDict, total=False): +class ListNodePoolsResponse(typing.TypedDict, total=False): nodePools: _list[NodePool] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): missingZones: _list[str] operations: _list[Operation] @typing.type_check_only -class ListUsableSubnetworksResponse(typing_extensions.TypedDict, total=False): +class ListUsableSubnetworksResponse(typing.TypedDict, total=False): nextPageToken: str subnetworks: _list[UsableSubnetwork] @typing.type_check_only -class LocalNvmeSsdBlockConfig(typing_extensions.TypedDict, total=False): +class LocalNvmeSsdBlockConfig(typing.TypedDict, total=False): localSsdCount: int @typing.type_check_only -class LoggingComponentConfig(typing_extensions.TypedDict, total=False): +class LoggingComponentConfig(typing.TypedDict, total=False): enableComponents: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPONENT_UNSPECIFIED", "SYSTEM_COMPONENTS", "WORKLOADS", @@ -1018,60 +1023,58 @@ class LoggingComponentConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): componentConfig: LoggingComponentConfig @typing.type_check_only -class LoggingVariantConfig(typing_extensions.TypedDict, total=False): - variant: typing_extensions.Literal[ - "VARIANT_UNSPECIFIED", "DEFAULT", "MAX_THROUGHPUT" - ] +class LoggingVariantConfig(typing.TypedDict, total=False): + variant: typing.Literal["VARIANT_UNSPECIFIED", "DEFAULT", "MAX_THROUGHPUT"] @typing.type_check_only -class LustreCsiDriverConfig(typing_extensions.TypedDict, total=False): +class LustreCsiDriverConfig(typing.TypedDict, total=False): disableMultiNic: bool enableLegacyLustrePort: bool enabled: bool @typing.type_check_only -class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): - endTimeBehavior: typing_extensions.Literal[ +class MaintenanceExclusionOptions(typing.TypedDict, total=False): + endTimeBehavior: typing.Literal[ "END_TIME_BEHAVIOR_UNSPECIFIED", "UNTIL_END_OF_SUPPORT" ] - scope: typing_extensions.Literal[ + scope: typing.Literal[ "NO_UPGRADES", "NO_MINOR_UPGRADES", "NO_MINOR_OR_NODE_UPGRADES" ] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): disruptionBudget: DisruptionBudget resourceVersion: str window: MaintenanceWindow @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyMaintenanceWindow: DailyMaintenanceWindow maintenanceExclusions: dict[str, typing.Any] recurringMaintenanceWindow: RecurringMaintenanceWindow recurringWindow: RecurringTimeWindow @typing.type_check_only -class ManagedMachineLearningDiagnosticsConfig(typing_extensions.TypedDict, total=False): +class ManagedMachineLearningDiagnosticsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ManagedOpenTelemetryConfig(typing_extensions.TypedDict, total=False): - scope: typing_extensions.Literal[ +class ManagedOpenTelemetryConfig(typing.TypedDict, total=False): + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "NONE", "COLLECTION_AND_INSTRUMENTATION_COMPONENTS" ] @typing.type_check_only -class ManagedPrometheusConfig(typing_extensions.TypedDict, total=False): +class ManagedPrometheusConfig(typing.TypedDict, total=False): autoMonitoringConfig: AutoMonitoringConfig enabled: bool @typing.type_check_only -class MasterAuth(typing_extensions.TypedDict, total=False): +class MasterAuth(typing.TypedDict, total=False): clientCertificate: str clientCertificateConfig: ClientCertificateConfig clientKey: str @@ -1080,35 +1083,35 @@ class MasterAuth(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class MasterAuthorizedNetworksConfig(typing_extensions.TypedDict, total=False): +class MasterAuthorizedNetworksConfig(typing.TypedDict, total=False): cidrBlocks: _list[CidrBlock] enabled: bool gcpPublicCidrsAccessEnabled: bool privateEndpointEnforcementEnabled: bool @typing.type_check_only -class MaxPodsConstraint(typing_extensions.TypedDict, total=False): +class MaxPodsConstraint(typing.TypedDict, total=False): maxPodsPerNode: str @typing.type_check_only -class MemoryManager(typing_extensions.TypedDict, total=False): +class MemoryManager(typing.TypedDict, total=False): policy: str @typing.type_check_only -class MeshCertificates(typing_extensions.TypedDict, total=False): +class MeshCertificates(typing.TypedDict, total=False): enableCertificates: bool @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): doubleValue: float intValue: str name: str stringValue: str @typing.type_check_only -class MonitoringComponentConfig(typing_extensions.TypedDict, total=False): +class MonitoringComponentConfig(typing.TypedDict, total=False): enableComponents: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPONENT_UNSPECIFIED", "SYSTEM_COMPONENTS", "APISERVER", @@ -1128,14 +1131,14 @@ class MonitoringComponentConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): advancedDatapathObservabilityConfig: AdvancedDatapathObservabilityConfig componentConfig: MonitoringComponentConfig managedPrometheusConfig: ManagedPrometheusConfig @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - datapathProvider: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + datapathProvider: typing.Literal[ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", "ADVANCED_DATAPATH" ] dataplaneV2Config: DataplaneV2Config @@ -1149,14 +1152,14 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): enableL4ilbSubsetting: bool enableMultiNetworking: bool gatewayApiConfig: GatewayAPIConfig - inTransitEncryptionConfig: typing_extensions.Literal[ + inTransitEncryptionConfig: typing.Literal[ "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", "IN_TRANSIT_ENCRYPTION_DISABLED", "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT", ] network: str networkPerformanceConfig: ClusterNetworkPerformanceConfig - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", "PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", @@ -1166,25 +1169,25 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - totalEgressBandwidthTier: typing_extensions.Literal["TIER_UNSPECIFIED", "TIER_1"] +class NetworkPerformanceConfig(typing.TypedDict, total=False): + totalEgressBandwidthTier: typing.Literal["TIER_UNSPECIFIED", "TIER_1"] @typing.type_check_only -class NetworkPolicy(typing_extensions.TypedDict, total=False): +class NetworkPolicy(typing.TypedDict, total=False): enabled: bool - provider: typing_extensions.Literal["PROVIDER_UNSPECIFIED", "CALICO"] + provider: typing.Literal["PROVIDER_UNSPECIFIED", "CALICO"] @typing.type_check_only -class NetworkPolicyConfig(typing_extensions.TypedDict, total=False): +class NetworkPolicyConfig(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class NetworkTags(typing_extensions.TypedDict, total=False): +class NetworkTags(typing.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class NetworkTierConfig(typing_extensions.TypedDict, total=False): - networkTier: typing_extensions.Literal[ +class NetworkTierConfig(typing.TypedDict, total=False): + networkTier: typing.Literal[ "NETWORK_TIER_UNSPECIFIED", "NETWORK_TIER_DEFAULT", "NETWORK_TIER_PREMIUM", @@ -1192,13 +1195,13 @@ class NetworkTierConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NodeAffinity(typing_extensions.TypedDict, total=False): +class NodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] + operator: typing.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] values: _list[str] @typing.type_check_only -class NodeConfig(typing_extensions.TypedDict, total=False): +class NodeConfig(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] advancedMachineFeatures: AdvancedMachineFeatures bootDisk: BootDisk @@ -1208,7 +1211,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): containerdConfig: ContainerdConfig diskSizeGb: int diskType: str - effectiveCgroupMode: typing_extensions.Literal[ + effectiveCgroupMode: typing.Literal[ "EFFECTIVE_CGROUP_MODE_UNSPECIFIED", "EFFECTIVE_CGROUP_MODE_V1", "EFFECTIVE_CGROUP_MODE_V2", @@ -1226,7 +1229,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): linuxNodeConfig: LinuxNodeConfig localNvmeSsdBlockConfig: LocalNvmeSsdBlockConfig localSsdCount: int - localSsdEncryptionMode: typing_extensions.Literal[ + localSsdEncryptionMode: typing.Literal[ "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", "STANDARD_ENCRYPTION", "EPHEMERAL_KEY_ENCRYPTION", @@ -1258,32 +1261,32 @@ class NodeConfig(typing_extensions.TypedDict, total=False): workloadMetadataConfig: WorkloadMetadataConfig @typing.type_check_only -class NodeConfigDefaults(typing_extensions.TypedDict, total=False): +class NodeConfigDefaults(typing.TypedDict, total=False): containerdConfig: ContainerdConfig gcfsConfig: GcfsConfig loggingConfig: NodePoolLoggingConfig nodeKubeletConfig: NodeKubeletConfig @typing.type_check_only -class NodeCreationConfig(typing_extensions.TypedDict, total=False): - nodeCreationMode: typing_extensions.Literal[ +class NodeCreationConfig(typing.TypedDict, total=False): + nodeCreationMode: typing.Literal[ "MODE_UNSPECIFIED", "VIA_KUBELET", "VIA_CONTROL_PLANE" ] @typing.type_check_only -class NodeDrainConfig(typing_extensions.TypedDict, total=False): +class NodeDrainConfig(typing.TypedDict, total=False): graceTerminationDuration: str pdbTimeoutDuration: str respectPdbDuringNodePoolDeletion: bool @typing.type_check_only -class NodeKernelModuleLoading(typing_extensions.TypedDict, total=False): - policy: typing_extensions.Literal[ +class NodeKernelModuleLoading(typing.TypedDict, total=False): + policy: typing.Literal[ "POLICY_UNSPECIFIED", "ENFORCE_SIGNED_MODULES", "DO_NOT_ENFORCE_SIGNED_MODULES" ] @typing.type_check_only -class NodeKubeletConfig(typing_extensions.TypedDict, total=False): +class NodeKubeletConfig(typing.TypedDict, total=False): allowedUnsafeSysctls: _list[str] containerLogMaxFiles: int containerLogMaxSize: str @@ -1309,17 +1312,17 @@ class NodeKubeletConfig(typing_extensions.TypedDict, total=False): topologyManager: TopologyManager @typing.type_check_only -class NodeLabels(typing_extensions.TypedDict, total=False): +class NodeLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class NodeManagement(typing_extensions.TypedDict, total=False): +class NodeManagement(typing.TypedDict, total=False): autoRepair: bool autoUpgrade: bool upgradeOptions: AutoUpgradeOptions @typing.type_check_only -class NodeNetworkConfig(typing_extensions.TypedDict, total=False): +class NodeNetworkConfig(typing.TypedDict, total=False): acceleratorNetworkProfile: str additionalNodeNetworkConfigs: _list[AdditionalNodeNetworkConfig] additionalPodNetworkConfigs: _list[AdditionalPodNetworkConfig] @@ -1335,7 +1338,7 @@ class NodeNetworkConfig(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class NodePool(typing_extensions.TypedDict, total=False): +class NodePool(typing.TypedDict, total=False): autopilotConfig: AutopilotConfig autoscaling: NodePoolAutoscaling bestEffortProvisioning: BestEffortProvisioning @@ -1344,6 +1347,7 @@ class NodePool(typing_extensions.TypedDict, total=False): etag: str initialNodeCount: int instanceGroupUrls: _list[str] + kubeletCertInfo: KubeletCertInfo locations: _list[str] maintenancePolicy: NodePoolMaintenancePolicy management: NodeManagement @@ -1355,7 +1359,7 @@ class NodePool(typing_extensions.TypedDict, total=False): podIpv4CidrSize: int queuedProvisioning: QueuedProvisioning selfLink: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -1370,42 +1374,38 @@ class NodePool(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class NodePoolAutoConfig(typing_extensions.TypedDict, total=False): +class NodePoolAutoConfig(typing.TypedDict, total=False): linuxNodeConfig: LinuxNodeConfig networkTags: NetworkTags nodeKubeletConfig: NodeKubeletConfig resourceManagerTags: ResourceManagerTags @typing.type_check_only -class NodePoolAutoscaling(typing_extensions.TypedDict, total=False): +class NodePoolAutoscaling(typing.TypedDict, total=False): autoprovisioned: bool enabled: bool - locationPolicy: typing_extensions.Literal[ - "LOCATION_POLICY_UNSPECIFIED", "BALANCED", "ANY" - ] + locationPolicy: typing.Literal["LOCATION_POLICY_UNSPECIFIED", "BALANCED", "ANY"] maxNodeCount: int minNodeCount: int totalMaxNodeCount: int totalMinNodeCount: int @typing.type_check_only -class NodePoolDefaults(typing_extensions.TypedDict, total=False): +class NodePoolDefaults(typing.TypedDict, total=False): nodeConfigDefaults: NodeConfigDefaults @typing.type_check_only -class NodePoolLoggingConfig(typing_extensions.TypedDict, total=False): +class NodePoolLoggingConfig(typing.TypedDict, total=False): variantConfig: LoggingVariantConfig @typing.type_check_only -class NodePoolMaintenancePolicy(typing_extensions.TypedDict, total=False): +class NodePoolMaintenancePolicy(typing.TypedDict, total=False): exclusionUntilEndOfSupport: ExclusionUntilEndOfSupport @typing.type_check_only -class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): +class NodePoolUpgradeInfo(typing.TypedDict, total=False): autoUpgradeStatus: _list[ - typing_extensions.Literal[ - "UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED" - ] + typing.Literal["UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED"] ] customImageInfo: CustomImageInfo endOfExtendedSupportTimestamp: str @@ -1413,7 +1413,7 @@ class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): minorTargetVersion: str patchTargetVersion: str pausedReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", "MAINTENANCE_WINDOW", "MAINTENANCE_EXCLUSION_NO_UPGRADES", @@ -1424,27 +1424,31 @@ class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): upgradeDetails: _list[UpgradeDetails] @typing.type_check_only -class NodeReadinessConfig(typing_extensions.TypedDict, total=False): +class NodeReadinessConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class NodeTaint(typing_extensions.TypedDict, total=False): - effect: typing_extensions.Literal[ +class NodeTaint(typing.TypedDict, total=False): + effect: typing.Literal[ "EFFECT_UNSPECIFIED", "NO_SCHEDULE", "PREFER_NO_SCHEDULE", "NO_EXECUTE" ] key: str value: str @typing.type_check_only -class NodeTaints(typing_extensions.TypedDict, total=False): +class NodeTaints(typing.TypedDict, total=False): taints: _list[NodeTaint] @typing.type_check_only -class NotificationConfig(typing_extensions.TypedDict, total=False): +class NodeVfioConfig(typing.TypedDict, total=False): + dmaEntryLimit: int + +@typing.type_check_only +class NotificationConfig(typing.TypedDict, total=False): pubsub: PubSub @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clusterConditions: _list[StatusCondition] detail: str endTime: str @@ -1452,7 +1456,7 @@ class Operation(typing_extensions.TypedDict, total=False): location: str name: str nodepoolConditions: _list[StatusCondition] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "TYPE_UNSPECIFIED", "CREATE_CLUSTER", "DELETE_CLUSTER", @@ -1476,7 +1480,7 @@ class Operation(typing_extensions.TypedDict, total=False): progress: OperationProgress selfLink: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "ABORTING" ] statusMessage: str @@ -1484,56 +1488,54 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationError(typing_extensions.TypedDict, total=False): +class OperationError(typing.TypedDict, total=False): errorMessage: str keyName: str timestamp: str @typing.type_check_only -class OperationProgress(typing_extensions.TypedDict, total=False): +class OperationProgress(typing.TypedDict, total=False): metrics: _list[Metric] name: str stages: _list[OperationProgress] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "ABORTING" ] @typing.type_check_only -class ParallelstoreCsiDriverConfig(typing_extensions.TypedDict, total=False): +class ParallelstoreCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ParentProductConfig(typing_extensions.TypedDict, total=False): +class ParentProductConfig(typing.TypedDict, total=False): labels: dict[str, typing.Any] productName: str @typing.type_check_only -class PdbBlockedPod(typing_extensions.TypedDict, total=False): +class PdbBlockedPod(typing.TypedDict, total=False): name: str namespace: str @typing.type_check_only -class PlacementPolicy(typing_extensions.TypedDict, total=False): +class PlacementPolicy(typing.TypedDict, total=False): policyName: str tpuTopology: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "COMPACT"] + type: typing.Literal["TYPE_UNSPECIFIED", "COMPACT"] @typing.type_check_only -class PodAutoscaling(typing_extensions.TypedDict, total=False): - hpaProfile: typing_extensions.Literal[ - "HPA_PROFILE_UNSPECIFIED", "NONE", "PERFORMANCE" - ] +class PodAutoscaling(typing.TypedDict, total=False): + hpaProfile: typing.Literal["HPA_PROFILE_UNSPECIFIED", "NONE", "PERFORMANCE"] @typing.type_check_only -class PodCIDROverprovisionConfig(typing_extensions.TypedDict, total=False): +class PodCIDROverprovisionConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class PodSnapshotConfig(typing_extensions.TypedDict, total=False): +class PodSnapshotConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class PrivateClusterConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterConfig(typing.TypedDict, total=False): enablePrivateEndpoint: bool enablePrivateNodes: bool masterGlobalAccessConfig: PrivateClusterMasterGlobalAccessConfig @@ -1544,92 +1546,89 @@ class PrivateClusterConfig(typing_extensions.TypedDict, total=False): publicEndpoint: str @typing.type_check_only -class PrivateClusterMasterGlobalAccessConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterMasterGlobalAccessConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class PrivateRegistryAccessConfig(typing_extensions.TypedDict, total=False): +class PrivateRegistryAccessConfig(typing.TypedDict, total=False): certificateAuthorityDomainConfig: _list[CertificateAuthorityDomainConfig] enabled: bool @typing.type_check_only -class PrivilegedAdmissionConfig(typing_extensions.TypedDict, total=False): +class PrivilegedAdmissionConfig(typing.TypedDict, total=False): allowlistPaths: _list[str] @typing.type_check_only -class PubSub(typing_extensions.TypedDict, total=False): +class PubSub(typing.TypedDict, total=False): enabled: bool filter: Filter topic: str @typing.type_check_only -class QueuedProvisioning(typing_extensions.TypedDict, total=False): +class QueuedProvisioning(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class RBACBindingConfig(typing_extensions.TypedDict, total=False): +class RBACBindingConfig(typing.TypedDict, total=False): enableInsecureBindingSystemAuthenticated: bool enableInsecureBindingSystemUnauthenticated: bool @typing.type_check_only -class RangeInfo(typing_extensions.TypedDict, total=False): +class RangeInfo(typing.TypedDict, total=False): rangeName: str utilization: float @typing.type_check_only -class RayClusterLoggingConfig(typing_extensions.TypedDict, total=False): +class RayClusterLoggingConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class RayClusterMonitoringConfig(typing_extensions.TypedDict, total=False): +class RayClusterMonitoringConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class RayOperatorConfig(typing_extensions.TypedDict, total=False): +class RayOperatorConfig(typing.TypedDict, total=False): enabled: bool rayClusterLoggingConfig: RayClusterLoggingConfig rayClusterMonitoringConfig: RayClusterMonitoringConfig @typing.type_check_only -class RecurringMaintenanceWindow(typing_extensions.TypedDict, total=False): +class RecurringMaintenanceWindow(typing.TypedDict, total=False): delayUntil: Date recurrence: str windowDuration: str windowStartTime: TimeOfDay @typing.type_check_only -class RecurringTimeWindow(typing_extensions.TypedDict, total=False): +class RecurringTimeWindow(typing.TypedDict, total=False): recurrence: str window: TimeWindow @typing.type_check_only -class RegistryHeader(typing_extensions.TypedDict, total=False): +class RegistryHeader(typing.TypedDict, total=False): key: str value: _list[str] @typing.type_check_only -class RegistryHostConfig(typing_extensions.TypedDict, total=False): +class RegistryHostConfig(typing.TypedDict, total=False): hosts: _list[HostConfig] server: str @typing.type_check_only -class ReleaseChannel(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ - "UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED" - ] +class ReleaseChannel(typing.TypedDict, total=False): + channel: typing.Literal["UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED"] @typing.type_check_only -class ReleaseChannelConfig(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ - "UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED" - ] +class ReleaseChannelConfig(typing.TypedDict, total=False): + channel: typing.Literal["UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED"] + customVersions: _list[str] defaultVersion: str upgradeTargetVersion: str validVersions: _list[str] @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", @@ -1640,27 +1639,27 @@ class ReservationAffinity(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ResourceLabels(typing_extensions.TypedDict, total=False): +class ResourceLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class ResourceLimit(typing_extensions.TypedDict, total=False): +class ResourceLimit(typing.TypedDict, total=False): maximum: str minimum: str resourceType: str @typing.type_check_only -class ResourceManagerTags(typing_extensions.TypedDict, total=False): +class ResourceManagerTags(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class ResourceUsageExportConfig(typing_extensions.TypedDict, total=False): +class ResourceUsageExportConfig(typing.TypedDict, total=False): bigqueryDestination: BigQueryDestination consumptionMeteringConfig: ConsumptionMeteringConfig enableNetworkEgressMetering: bool @typing.type_check_only -class RollbackNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): +class RollbackNodePoolUpgradeRequest(typing.TypedDict, total=False): clusterId: str name: str nodePoolId: str @@ -1669,38 +1668,48 @@ class RollbackNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class RotationConfig(typing_extensions.TypedDict, total=False): +class RollbackSafeUpgrade(typing.TypedDict, total=False): + controlPlaneSoakDuration: str + +@typing.type_check_only +class RollbackSafeUpgradeStatus(typing.TypedDict, total=False): + controlPlaneUpgradeRollbackEndTime: str + mode: typing.Literal["MODE_UNSPECIFIED", "KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE"] + previousVersion: str + +@typing.type_check_only +class RotationConfig(typing.TypedDict, total=False): enabled: bool rotationInterval: str @typing.type_check_only -class SandboxConfig(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["UNSPECIFIED", "GVISOR"] +class SandboxConfig(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED", "GVISOR"] @typing.type_check_only -class ScheduleUpgradeConfig(typing_extensions.TypedDict, total=False): +class ScheduleUpgradeConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SecondaryBootDisk(typing_extensions.TypedDict, total=False): +class SecondaryBootDisk(typing.TypedDict, total=False): diskImage: str - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "CONTAINER_IMAGE_CACHE"] + mode: typing.Literal["MODE_UNSPECIFIED", "CONTAINER_IMAGE_CACHE"] @typing.type_check_only -class SecondaryBootDiskUpdateStrategy(typing_extensions.TypedDict, total=False): ... +class SecondaryBootDiskUpdateStrategy(typing.TypedDict, total=False): ... @typing.type_check_only -class SecretManagerConfig(typing_extensions.TypedDict, total=False): +class SecretManagerConfig(typing.TypedDict, total=False): enabled: bool rotationConfig: RotationConfig @typing.type_check_only -class SecretSyncConfig(typing_extensions.TypedDict, total=False): +class SecretSyncConfig(typing.TypedDict, total=False): enabled: bool rotationConfig: SyncRotationConfig @typing.type_check_only -class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): +class SecurityBulletinEvent(typing.TypedDict, total=False): affectedSupportedMinors: _list[str] briefDescription: str bulletinId: str @@ -1714,11 +1723,9 @@ class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): suggestedUpgradeTarget: str @typing.type_check_only -class SecurityPostureConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE" - ] - vulnerabilityMode: typing_extensions.Literal[ +class SecurityPostureConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE"] + vulnerabilityMode: typing.Literal[ "VULNERABILITY_MODE_UNSPECIFIED", "VULNERABILITY_DISABLED", "VULNERABILITY_BASIC", @@ -1726,7 +1733,7 @@ class SecurityPostureConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServerConfig(typing_extensions.TypedDict, total=False): +class ServerConfig(typing.TypedDict, total=False): channels: _list[ReleaseChannelConfig] defaultClusterVersion: str defaultImageType: str @@ -1735,11 +1742,11 @@ class ServerConfig(typing_extensions.TypedDict, total=False): validNodeVersions: _list[str] @typing.type_check_only -class ServiceExternalIPsConfig(typing_extensions.TypedDict, total=False): +class ServiceExternalIPsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SetAddonsConfigRequest(typing_extensions.TypedDict, total=False): +class SetAddonsConfigRequest(typing.TypedDict, total=False): addonsConfig: AddonsConfig clusterId: str name: str @@ -1747,7 +1754,7 @@ class SetAddonsConfigRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLabelsRequest(typing_extensions.TypedDict, total=False): +class SetLabelsRequest(typing.TypedDict, total=False): clusterId: str labelFingerprint: str name: str @@ -1756,7 +1763,7 @@ class SetLabelsRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLegacyAbacRequest(typing_extensions.TypedDict, total=False): +class SetLegacyAbacRequest(typing.TypedDict, total=False): clusterId: str enabled: bool name: str @@ -1764,7 +1771,7 @@ class SetLegacyAbacRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLocationsRequest(typing_extensions.TypedDict, total=False): +class SetLocationsRequest(typing.TypedDict, total=False): clusterId: str locations: _list[str] name: str @@ -1772,7 +1779,7 @@ class SetLocationsRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLoggingServiceRequest(typing_extensions.TypedDict, total=False): +class SetLoggingServiceRequest(typing.TypedDict, total=False): clusterId: str loggingService: str name: str @@ -1780,7 +1787,7 @@ class SetLoggingServiceRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetMaintenancePolicyRequest(typing_extensions.TypedDict, total=False): +class SetMaintenancePolicyRequest(typing.TypedDict, total=False): clusterId: str maintenancePolicy: MaintenancePolicy name: str @@ -1788,8 +1795,8 @@ class SetMaintenancePolicyRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetMasterAuthRequest(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class SetMasterAuthRequest(typing.TypedDict, total=False): + action: typing.Literal[ "UNKNOWN", "SET_PASSWORD", "GENERATE_PASSWORD", "SET_USERNAME" ] clusterId: str @@ -1799,7 +1806,7 @@ class SetMasterAuthRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetMonitoringServiceRequest(typing_extensions.TypedDict, total=False): +class SetMonitoringServiceRequest(typing.TypedDict, total=False): clusterId: str monitoringService: str name: str @@ -1807,7 +1814,7 @@ class SetMonitoringServiceRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNetworkPolicyRequest(typing_extensions.TypedDict, total=False): +class SetNetworkPolicyRequest(typing.TypedDict, total=False): clusterId: str name: str networkPolicy: NetworkPolicy @@ -1815,7 +1822,7 @@ class SetNetworkPolicyRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNodePoolAutoscalingRequest(typing_extensions.TypedDict, total=False): +class SetNodePoolAutoscalingRequest(typing.TypedDict, total=False): autoscaling: NodePoolAutoscaling clusterId: str name: str @@ -1824,7 +1831,7 @@ class SetNodePoolAutoscalingRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNodePoolManagementRequest(typing_extensions.TypedDict, total=False): +class SetNodePoolManagementRequest(typing.TypedDict, total=False): clusterId: str management: NodeManagement name: str @@ -1833,7 +1840,7 @@ class SetNodePoolManagementRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNodePoolSizeRequest(typing_extensions.TypedDict, total=False): +class SetNodePoolSizeRequest(typing.TypedDict, total=False): clusterId: str name: str nodeCount: int @@ -1842,35 +1849,35 @@ class SetNodePoolSizeRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool @typing.type_check_only -class ShieldedNodes(typing_extensions.TypedDict, total=False): +class ShieldedNodes(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SliceControllerConfig(typing_extensions.TypedDict, total=False): +class SliceControllerConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SlurmOperatorConfig(typing_extensions.TypedDict, total=False): +class SlurmOperatorConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SoleTenantConfig(typing_extensions.TypedDict, total=False): +class SoleTenantConfig(typing.TypedDict, total=False): minNodeCpus: int nodeAffinities: _list[NodeAffinity] @typing.type_check_only -class StandardRolloutPolicy(typing_extensions.TypedDict, total=False): +class StandardRolloutPolicy(typing.TypedDict, total=False): batchNodeCount: int batchPercentage: float batchSoakDuration: str @typing.type_check_only -class StartIPRotationRequest(typing_extensions.TypedDict, total=False): +class StartIPRotationRequest(typing.TypedDict, total=False): clusterId: str name: str projectId: str @@ -1878,18 +1885,18 @@ class StartIPRotationRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class StatefulHAConfig(typing_extensions.TypedDict, total=False): +class StatefulHAConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusCondition(typing_extensions.TypedDict, total=False): - canonicalCode: typing_extensions.Literal[ +class StatusCondition(typing.TypedDict, total=False): + canonicalCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -1908,7 +1915,7 @@ class StatusCondition(typing_extensions.TypedDict, total=False): "UNAVAILABLE", "DATA_LOSS", ] - code: typing_extensions.Literal[ + code: typing.Literal[ "UNKNOWN", "GCE_STOCKOUT", "GKE_SERVICE_ACCOUNT_DELETED", @@ -1922,7 +1929,7 @@ class StatusCondition(typing_extensions.TypedDict, total=False): message: str @typing.type_check_only -class SwapConfig(typing_extensions.TypedDict, total=False): +class SwapConfig(typing.TypedDict, total=False): bootDiskProfile: BootDiskProfile dedicatedLocalSsdProfile: DedicatedLocalSsdProfile enabled: bool @@ -1930,36 +1937,36 @@ class SwapConfig(typing_extensions.TypedDict, total=False): ephemeralLocalSsdProfile: EphemeralLocalSsdProfile @typing.type_check_only -class SyncRotationConfig(typing_extensions.TypedDict, total=False): +class SyncRotationConfig(typing.TypedDict, total=False): enabled: bool rotationInterval: str @typing.type_check_only -class TaintConfig(typing_extensions.TypedDict, total=False): - architectureTaintBehavior: typing_extensions.Literal[ +class TaintConfig(typing.TypedDict, total=False): + architectureTaintBehavior: typing.Literal[ "ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED", "NONE", "ARM" ] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeWindow(typing_extensions.TypedDict, total=False): +class TimeWindow(typing.TypedDict, total=False): endTime: str maintenanceExclusionOptions: MaintenanceExclusionOptions startTime: str @typing.type_check_only -class TopologyManager(typing_extensions.TypedDict, total=False): +class TopologyManager(typing.TypedDict, total=False): policy: str scope: str @typing.type_check_only -class UpdateClusterRequest(typing_extensions.TypedDict, total=False): +class UpdateClusterRequest(typing.TypedDict, total=False): clusterId: str name: str projectId: str @@ -1967,11 +1974,11 @@ class UpdateClusterRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class UpdateInfo(typing_extensions.TypedDict, total=False): +class UpdateInfo(typing.TypedDict, total=False): blueGreenInfo: BlueGreenInfo @typing.type_check_only -class UpdateMasterRequest(typing_extensions.TypedDict, total=False): +class UpdateMasterRequest(typing.TypedDict, total=False): clusterId: str masterVersion: str name: str @@ -1979,7 +1986,7 @@ class UpdateMasterRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): +class UpdateNodePoolRequest(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] bootDisk: BootDisk clusterId: str @@ -2023,45 +2030,46 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class UpgradeAvailableEvent(typing_extensions.TypedDict, total=False): +class UpgradeAvailableEvent(typing.TypedDict, total=False): releaseChannel: ReleaseChannel resource: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] version: str @typing.type_check_only -class UpgradeDetails(typing_extensions.TypedDict, total=False): +class UpgradeDetails(typing.TypedDict, total=False): endTime: str + initialEmulatedVersion: str initialVersion: str startTime: str - startType: typing_extensions.Literal[ - "START_TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL" - ] - state: typing_extensions.Literal[ - "UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING" - ] + startType: typing.Literal["START_TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL"] + state: typing.Literal["UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING"] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only -class UpgradeEvent(typing_extensions.TypedDict, total=False): +class UpgradeEvent(typing.TypedDict, total=False): + currentEmulatedVersion: str currentVersion: str operation: str operationStartTime: str resource: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only -class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): +class UpgradeInfoEvent(typing.TypedDict, total=False): + currentEmulatedVersion: str currentVersion: str description: str disruptionEvent: DisruptionEvent endTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "END_OF_SUPPORT", "COS_MILESTONE_VERSION_UPDATE", @@ -2071,27 +2079,28 @@ class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): extendedSupportEndTime: str operation: str resource: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] standardSupportEndTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "SUCCEEDED", "FAILED", "CANCELED" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only -class UpgradeSettings(typing_extensions.TypedDict, total=False): +class UpgradeSettings(typing.TypedDict, total=False): blueGreenSettings: BlueGreenSettings maxSurge: int maxUnavailable: int - strategy: typing_extensions.Literal[ + strategy: typing.Literal[ "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", "BLUE_GREEN", "SURGE", "SHORT_LIVED" ] @typing.type_check_only -class UsableSubnetwork(typing_extensions.TypedDict, total=False): +class UsableSubnetwork(typing.TypedDict, total=False): ipCidrRange: str network: str secondaryIpRanges: _list[UsableSubnetworkSecondaryRange] @@ -2099,10 +2108,10 @@ class UsableSubnetwork(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class UsableSubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class UsableSubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str rangeName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNKNOWN", "UNUSED", "IN_USE_SERVICE", @@ -2111,7 +2120,7 @@ class UsableSubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UserManagedKeysConfig(typing_extensions.TypedDict, total=False): +class UserManagedKeysConfig(typing.TypedDict, total=False): aggregationCa: str clusterCa: str controlPlaneDiskEncryptionKey: str @@ -2123,32 +2132,32 @@ class UserManagedKeysConfig(typing_extensions.TypedDict, total=False): serviceAccountVerificationKeys: _list[str] @typing.type_check_only -class VerticalPodAutoscaling(typing_extensions.TypedDict, total=False): +class VerticalPodAutoscaling(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class VirtualNIC(typing_extensions.TypedDict, total=False): +class VirtualNIC(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class WindowsNodeConfig(typing_extensions.TypedDict, total=False): - osVersion: typing_extensions.Literal[ +class WindowsNodeConfig(typing.TypedDict, total=False): + osVersion: typing.Literal[ "OS_VERSION_UNSPECIFIED", "OS_VERSION_LTSC2019", "OS_VERSION_LTSC2022" ] @typing.type_check_only -class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): +class WorkloadIdentityConfig(typing.TypedDict, total=False): workloadPool: str @typing.type_check_only -class WorkloadMetadataConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "GCE_METADATA", "GKE_METADATA"] +class WorkloadMetadataConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "GCE_METADATA", "GKE_METADATA"] @typing.type_check_only -class WorkloadPolicyConfig(typing_extensions.TypedDict, total=False): +class WorkloadPolicyConfig(typing.TypedDict, total=False): allowNetAdmin: bool autopilotCompatibilityAuditingEnabled: bool @typing.type_check_only -class WritableCgroups(typing_extensions.TypedDict, total=False): +class WritableCgroups(typing.TypedDict, total=False): enabled: bool diff --git a/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi index 49d226ef2..bc60b2691 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index a7d3da328..ef5618559 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: str acceleratorType: str gpuDriverInstallationConfig: GPUDriverInstallationConfig @@ -14,34 +12,34 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): maxTimeSharedClientsPerGpu: str @typing.type_check_only -class AccurateTimeConfig(typing_extensions.TypedDict, total=False): +class AccurateTimeConfig(typing.TypedDict, total=False): enablePtpKvmTimeSync: bool @typing.type_check_only -class AdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): +class AdditionalIPRangesConfig(typing.TypedDict, total=False): podIpv4RangeNames: _list[str] - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "ACTIVE", "DRAINING"] + status: typing.Literal["STATUS_UNSPECIFIED", "ACTIVE", "DRAINING"] subnetwork: str @typing.type_check_only -class AdditionalNodeNetworkConfig(typing_extensions.TypedDict, total=False): +class AdditionalNodeNetworkConfig(typing.TypedDict, total=False): network: str subnetwork: str @typing.type_check_only -class AdditionalPodNetworkConfig(typing_extensions.TypedDict, total=False): +class AdditionalPodNetworkConfig(typing.TypedDict, total=False): maxPodsPerNode: MaxPodsConstraint networkAttachment: str secondaryPodRange: str subnetwork: str @typing.type_check_only -class AdditionalPodRangesConfig(typing_extensions.TypedDict, total=False): +class AdditionalPodRangesConfig(typing.TypedDict, total=False): podRangeInfo: _list[RangeInfo] podRangeNames: _list[str] @typing.type_check_only -class AddonsConfig(typing_extensions.TypedDict, total=False): +class AddonsConfig(typing.TypedDict, total=False): agentSandboxConfig: AgentSandboxConfig cloudRunConfig: CloudRunConfig configConnectorConfig: ConfigConnectorConfig @@ -67,17 +65,17 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): statefulHaConfig: StatefulHAConfig @typing.type_check_only -class AdvancedDatapathObservabilityConfig(typing_extensions.TypedDict, total=False): +class AdvancedDatapathObservabilityConfig(typing.TypedDict, total=False): enableMetrics: bool enableRelay: bool - relayMode: typing_extensions.Literal[ + relayMode: typing.Literal[ "RELAY_MODE_UNSPECIFIED", "DISABLED", "INTERNAL_VPC_LB", "EXTERNAL_LB" ] @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): enableNestedVirtualization: bool - performanceMonitoringUnit: typing_extensions.Literal[ + performanceMonitoringUnit: typing.Literal[ "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", "ARCHITECTURAL", "STANDARD", @@ -86,33 +84,33 @@ class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): threadsPerCore: str @typing.type_check_only -class AgentSandboxConfig(typing_extensions.TypedDict, total=False): +class AgentSandboxConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AnonymousAuthenticationConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "ENABLED", "LIMITED"] +class AnonymousAuthenticationConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "ENABLED", "LIMITED"] @typing.type_check_only -class AuthenticatorGroupsConfig(typing_extensions.TypedDict, total=False): +class AuthenticatorGroupsConfig(typing.TypedDict, total=False): enabled: bool securityGroup: str @typing.type_check_only -class AutoIpamConfig(typing_extensions.TypedDict, total=False): +class AutoIpamConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AutoMonitoringConfig(typing_extensions.TypedDict, total=False): - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "ALL", "NONE"] +class AutoMonitoringConfig(typing.TypedDict, total=False): + scope: typing.Literal["SCOPE_UNSPECIFIED", "ALL", "NONE"] @typing.type_check_only -class AutoUpgradeOptions(typing_extensions.TypedDict, total=False): +class AutoUpgradeOptions(typing.TypedDict, total=False): autoUpgradeStartTime: str description: str @typing.type_check_only -class Autopilot(typing_extensions.TypedDict, total=False): +class Autopilot(typing.TypedDict, total=False): clusterPolicyConfig: ClusterPolicyConfig conversionStatus: AutopilotConversionStatus enabled: bool @@ -120,11 +118,11 @@ class Autopilot(typing_extensions.TypedDict, total=False): workloadPolicyConfig: WorkloadPolicyConfig @typing.type_check_only -class AutopilotCompatibilityIssue(typing_extensions.TypedDict, total=False): +class AutopilotCompatibilityIssue(typing.TypedDict, total=False): constraintType: str description: str documentationUrl: str - incompatibilityType: typing_extensions.Literal[ + incompatibilityType: typing.Literal[ "UNSPECIFIED", "INCOMPATIBILITY", "ADDITIONAL_CONFIG_REQUIRED", @@ -134,15 +132,15 @@ class AutopilotCompatibilityIssue(typing_extensions.TypedDict, total=False): subjects: _list[str] @typing.type_check_only -class AutopilotConfig(typing_extensions.TypedDict, total=False): +class AutopilotConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AutopilotConversionStatus(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DONE"] +class AutopilotConversionStatus(typing.TypedDict, total=False): + state: typing.Literal["STATE_UNSPECIFIED", "DONE"] @typing.type_check_only -class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False): +class AutoprovisioningNodePoolDefaults(typing.TypedDict, total=False): bootDiskKmsKey: str diskSizeGb: int diskType: str @@ -156,27 +154,27 @@ class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False) upgradeSettings: UpgradeSettings @typing.type_check_only -class AutoscaledRolloutPolicy(typing_extensions.TypedDict, total=False): +class AutoscaledRolloutPolicy(typing.TypedDict, total=False): waitForDrainDuration: str @typing.type_check_only -class AvailableVersion(typing_extensions.TypedDict, total=False): +class AvailableVersion(typing.TypedDict, total=False): reason: str version: str @typing.type_check_only -class BestEffortProvisioning(typing_extensions.TypedDict, total=False): +class BestEffortProvisioning(typing.TypedDict, total=False): enabled: bool minProvisionNodes: int @typing.type_check_only -class BigQueryDestination(typing_extensions.TypedDict, total=False): +class BigQueryDestination(typing.TypedDict, total=False): datasetId: str @typing.type_check_only -class BinaryAuthorization(typing_extensions.TypedDict, total=False): +class BinaryAuthorization(typing.TypedDict, total=False): enabled: bool - evaluationMode: typing_extensions.Literal[ + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "DISABLED", "PROJECT_SINGLETON_POLICY_ENFORCE", @@ -186,12 +184,12 @@ class BinaryAuthorization(typing_extensions.TypedDict, total=False): policyBindings: _list[PolicyBinding] @typing.type_check_only -class BlueGreenInfo(typing_extensions.TypedDict, total=False): +class BlueGreenInfo(typing.TypedDict, total=False): blueInstanceGroupUrls: _list[str] bluePoolDeletionStartTime: str greenInstanceGroupUrls: _list[str] greenPoolVersion: str - phase: typing_extensions.Literal[ + phase: typing.Literal[ "PHASE_UNSPECIFIED", "UPDATE_STARTED", "CREATING_GREEN_POOL", @@ -204,69 +202,69 @@ class BlueGreenInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BlueGreenSettings(typing_extensions.TypedDict, total=False): +class BlueGreenSettings(typing.TypedDict, total=False): autoscaledRolloutPolicy: AutoscaledRolloutPolicy nodePoolSoakDuration: str standardRolloutPolicy: StandardRolloutPolicy @typing.type_check_only -class BootDisk(typing_extensions.TypedDict, total=False): +class BootDisk(typing.TypedDict, total=False): diskType: str provisionedIops: str provisionedThroughput: str sizeGb: str @typing.type_check_only -class BootDiskProfile(typing_extensions.TypedDict, total=False): +class BootDiskProfile(typing.TypedDict, total=False): swapSizeGib: str swapSizePercent: int @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): +class CancelOperationRequest(typing.TypedDict, total=False): name: str operationId: str projectId: str zone: str @typing.type_check_only -class CertificateAuthorityDomainConfig(typing_extensions.TypedDict, total=False): +class CertificateAuthorityDomainConfig(typing.TypedDict, total=False): fqdns: _list[str] gcpSecretManagerCertificateConfig: GCPSecretManagerCertificateConfig @typing.type_check_only -class CertificateConfig(typing_extensions.TypedDict, total=False): +class CertificateConfig(typing.TypedDict, total=False): gcpSecretManagerSecretUri: str @typing.type_check_only -class CertificateConfigPair(typing_extensions.TypedDict, total=False): +class CertificateConfigPair(typing.TypedDict, total=False): cert: CertificateConfig key: CertificateConfig @typing.type_check_only -class CheckAutopilotCompatibilityResponse(typing_extensions.TypedDict, total=False): +class CheckAutopilotCompatibilityResponse(typing.TypedDict, total=False): issues: _list[AutopilotCompatibilityIssue] summary: str @typing.type_check_only -class CidrBlock(typing_extensions.TypedDict, total=False): +class CidrBlock(typing.TypedDict, total=False): cidrBlock: str displayName: str @typing.type_check_only -class ClientCertificateConfig(typing_extensions.TypedDict, total=False): +class ClientCertificateConfig(typing.TypedDict, total=False): issueClientCertificate: bool @typing.type_check_only -class CloudRunConfig(typing_extensions.TypedDict, total=False): +class CloudRunConfig(typing.TypedDict, total=False): disabled: bool - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "LOAD_BALANCER_TYPE_UNSPECIFIED", "LOAD_BALANCER_TYPE_EXTERNAL", "LOAD_BALANCER_TYPE_INTERNAL", ] @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): addonsConfig: AddonsConfig alphaClusterFeatureGates: _list[str] anonymousAuthenticationConfig: AnonymousAuthenticationConfig @@ -353,7 +351,7 @@ class Cluster(typing_extensions.TypedDict, total=False): selfLink: str servicesIpv4Cidr: str shieldedNodes: ShieldedNodes - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -374,13 +372,13 @@ class Cluster(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ClusterAutoscaling(typing_extensions.TypedDict, total=False): - autopilotGeneralProfile: typing_extensions.Literal[ +class ClusterAutoscaling(typing.TypedDict, total=False): + autopilotGeneralProfile: typing.Literal[ "AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", "NO_PERFORMANCE", "NONE" ] autoprovisioningLocations: _list[str] autoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults - autoscalingProfile: typing_extensions.Literal[ + autoscalingProfile: typing.Literal[ "PROFILE_UNSPECIFIED", "OPTIMIZE_UTILIZATION", "BALANCED" ] defaultComputeClassConfig: DefaultComputeClassConfig @@ -388,22 +386,22 @@ class ClusterAutoscaling(typing_extensions.TypedDict, total=False): resourceLimits: _list[ResourceLimit] @typing.type_check_only -class ClusterNetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - totalEgressBandwidthTier: typing_extensions.Literal["TIER_UNSPECIFIED", "TIER_1"] +class ClusterNetworkPerformanceConfig(typing.TypedDict, total=False): + totalEgressBandwidthTier: typing.Literal["TIER_UNSPECIFIED", "TIER_1"] @typing.type_check_only -class ClusterPolicyConfig(typing_extensions.TypedDict, total=False): +class ClusterPolicyConfig(typing.TypedDict, total=False): noStandardNodePools: bool noSystemImpersonation: bool noSystemMutation: bool noUnsafeWebhooks: bool @typing.type_check_only -class ClusterTelemetry(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["UNSPECIFIED", "DISABLED", "ENABLED", "SYSTEM_ONLY"] +class ClusterTelemetry(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED", "DISABLED", "ENABLED", "SYSTEM_ONLY"] @typing.type_check_only -class ClusterUpdate(typing_extensions.TypedDict, total=False): +class ClusterUpdate(typing.TypedDict, total=False): additionalPodRangesConfig: AdditionalPodRangesConfig desiredAdditionalIpRangesConfig: DesiredAdditionalIPRangesConfig desiredAddonsConfig: AddonsConfig @@ -421,13 +419,14 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredControlPlaneEndpointsConfig: ControlPlaneEndpointsConfig desiredCostManagementConfig: CostManagementConfig desiredDatabaseEncryption: DatabaseEncryption - desiredDatapathProvider: typing_extensions.Literal[ + desiredDatapathProvider: typing.Literal[ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", "ADVANCED_DATAPATH" ] desiredDefaultEnablePrivateNodes: bool desiredDefaultSnatStatus: DefaultSnatStatus desiredDisableL4LbFirewallReconciliation: bool desiredDnsConfig: DNSConfig + desiredEmulatedVersion: str desiredEnableCiliumClusterwideNetworkPolicy: bool desiredEnableFqdnNetworkPolicy: bool desiredEnableMultiNetworking: bool @@ -441,7 +440,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredImage: str desiredImageProject: str desiredImageType: str - desiredInTransitEncryptionConfig: typing_extensions.Literal[ + desiredInTransitEncryptionConfig: typing.Literal[ "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", "IN_TRANSIT_ENCRYPTION_DISABLED", "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT", @@ -480,7 +479,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredPodAutoscaling: PodAutoscaling desiredPodSecurityPolicyConfig: PodSecurityPolicyConfig desiredPrivateClusterConfig: PrivateClusterConfig - desiredPrivateIpv6GoogleAccess: typing_extensions.Literal[ + desiredPrivateIpv6GoogleAccess: typing.Literal[ "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", "PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", @@ -498,9 +497,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredSecurityPostureConfig: SecurityPostureConfig desiredServiceExternalIpsConfig: ServiceExternalIPsConfig desiredShieldedNodes: ShieldedNodes - desiredStackType: typing_extensions.Literal[ - "STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6" - ] + desiredStackType: typing.Literal["STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6"] desiredTpuConfig: TpuConfig desiredUserManagedKeysConfig: UserManagedKeysConfig desiredVerticalPodAutoscaling: VerticalPodAutoscaling @@ -515,18 +512,16 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): userManagedKeysConfig: UserManagedKeysConfig @typing.type_check_only -class ClusterUpgradeInfo(typing_extensions.TypedDict, total=False): +class ClusterUpgradeInfo(typing.TypedDict, total=False): autoUpgradeStatus: _list[ - typing_extensions.Literal[ - "UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED" - ] + typing.Literal["UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED"] ] endOfExtendedSupportTimestamp: str endOfStandardSupportTimestamp: str minorTargetVersion: str patchTargetVersion: str pausedReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", "MAINTENANCE_WINDOW", "MAINTENANCE_EXCLUSION_NO_UPGRADES", @@ -540,80 +535,80 @@ class ClusterUpgradeInfo(typing_extensions.TypedDict, total=False): upgradeDetails: _list[UpgradeDetails] @typing.type_check_only -class CompatibilityStatus(typing_extensions.TypedDict, total=False): +class CompatibilityStatus(typing.TypedDict, total=False): downgradableVersion: str emulatedVersionTime: str @typing.type_check_only -class CompleteControlPlaneUpgradeRequest(typing_extensions.TypedDict, total=False): +class CompleteControlPlaneUpgradeRequest(typing.TypedDict, total=False): version: str @typing.type_check_only -class CompleteIPRotationRequest(typing_extensions.TypedDict, total=False): +class CompleteIPRotationRequest(typing.TypedDict, total=False): clusterId: str name: str projectId: str zone: str @typing.type_check_only -class CompleteNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): ... +class CompleteNodePoolUpgradeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CompliancePostureConfig(typing_extensions.TypedDict, total=False): +class CompliancePostureConfig(typing.TypedDict, total=False): complianceStandards: _list[ComplianceStandard] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class ComplianceStandard(typing_extensions.TypedDict, total=False): +class ComplianceStandard(typing.TypedDict, total=False): standard: str @typing.type_check_only -class ConfidentialNodes(typing_extensions.TypedDict, total=False): - confidentialInstanceType: typing_extensions.Literal[ +class ConfidentialNodes(typing.TypedDict, total=False): + confidentialInstanceType: typing.Literal[ "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] enabled: bool @typing.type_check_only -class ConfigConnectorConfig(typing_extensions.TypedDict, total=False): +class ConfigConnectorConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ConsumptionMeteringConfig(typing_extensions.TypedDict, total=False): +class ConsumptionMeteringConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ContainerdConfig(typing_extensions.TypedDict, total=False): +class ContainerdConfig(typing.TypedDict, total=False): privateRegistryAccessConfig: PrivateRegistryAccessConfig registryHosts: _list[RegistryHostConfig] writableCgroups: WritableCgroups @typing.type_check_only -class ControlPlaneEgress(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "VIA_CONTROL_PLANE", "NONE"] +class ControlPlaneEgress(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "VIA_CONTROL_PLANE", "NONE"] @typing.type_check_only -class ControlPlaneEndpointsConfig(typing_extensions.TypedDict, total=False): +class ControlPlaneEndpointsConfig(typing.TypedDict, total=False): dnsEndpointConfig: DNSEndpointConfig ipEndpointsConfig: IPEndpointsConfig @typing.type_check_only -class CostManagementConfig(typing_extensions.TypedDict, total=False): +class CostManagementConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class CrashLoopBackOffConfig(typing_extensions.TypedDict, total=False): +class CrashLoopBackOffConfig(typing.TypedDict, total=False): maxContainerRestartPeriod: str @typing.type_check_only -class CreateClusterRequest(typing_extensions.TypedDict, total=False): +class CreateClusterRequest(typing.TypedDict, total=False): cluster: Cluster parent: str projectId: str zone: str @typing.type_check_only -class CreateNodePoolRequest(typing_extensions.TypedDict, total=False): +class CreateNodePoolRequest(typing.TypedDict, total=False): clusterId: str nodePool: NodePool parent: str @@ -621,44 +616,44 @@ class CreateNodePoolRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class CustomImageConfig(typing_extensions.TypedDict, total=False): +class CustomImageConfig(typing.TypedDict, total=False): image: str imageProject: str @typing.type_check_only -class CustomImageInfo(typing_extensions.TypedDict, total=False): +class CustomImageInfo(typing.TypedDict, total=False): upgradeMessage: str @typing.type_check_only -class CustomNodeInit(typing_extensions.TypedDict, total=False): +class CustomNodeInit(typing.TypedDict, total=False): initScript: InitScript @typing.type_check_only -class DNSConfig(typing_extensions.TypedDict, total=False): +class DNSConfig(typing.TypedDict, total=False): additiveVpcScopeDnsDomain: str - clusterDns: typing_extensions.Literal[ + clusterDns: typing.Literal[ "PROVIDER_UNSPECIFIED", "PLATFORM_DEFAULT", "CLOUD_DNS", "KUBE_DNS" ] clusterDnsDomain: str - clusterDnsScope: typing_extensions.Literal[ + clusterDnsScope: typing.Literal[ "DNS_SCOPE_UNSPECIFIED", "CLUSTER_SCOPE", "VPC_SCOPE" ] @typing.type_check_only -class DNSEndpointConfig(typing_extensions.TypedDict, total=False): +class DNSEndpointConfig(typing.TypedDict, total=False): allowExternalTraffic: bool enableK8sCertsViaDns: bool enableK8sTokensViaDns: bool endpoint: str @typing.type_check_only -class DailyMaintenanceWindow(typing_extensions.TypedDict, total=False): +class DailyMaintenanceWindow(typing.TypedDict, total=False): duration: str startTime: str @typing.type_check_only -class DatabaseEncryption(typing_extensions.TypedDict, total=False): - currentState: typing_extensions.Literal[ +class DatabaseEncryption(typing.TypedDict, total=False): + currentState: typing.Literal[ "CURRENT_STATE_UNSPECIFIED", "CURRENT_STATE_ENCRYPTED", "CURRENT_STATE_DECRYPTED", @@ -673,54 +668,57 @@ class DatabaseEncryption(typing_extensions.TypedDict, total=False): decryptionKeys: _list[str] keyName: str lastOperationErrors: _list[OperationError] - state: typing_extensions.Literal[ + state: typing.Literal[ "UNKNOWN", "ENCRYPTED", "DECRYPTED", "ALL_OBJECTS_ENCRYPTION_ENABLED" ] @typing.type_check_only -class DataplaneV2Config(typing_extensions.TypedDict, total=False): - scalabilityMode: typing_extensions.Literal[ +class DataplaneV2Config(typing.TypedDict, total=False): + scalabilityMode: typing.Literal[ "SCALABILITY_MODE_UNSPECIFIED", "DISABLED", "SCALE_OPTIMIZED" ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DedicatedLocalSsdProfile(typing_extensions.TypedDict, total=False): +class DedicatedLocalSsdProfile(typing.TypedDict, total=False): diskCount: str @typing.type_check_only -class DefaultComputeClassConfig(typing_extensions.TypedDict, total=False): +class DefaultComputeClassConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DefaultSnatStatus(typing_extensions.TypedDict, total=False): +class DefaultSnatStatus(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class DesiredAdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): +class DesiredAdditionalIPRangesConfig(typing.TypedDict, total=False): additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] @typing.type_check_only -class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): - desiredTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] +class DesiredEnterpriseConfig(typing.TypedDict, total=False): + desiredTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] @typing.type_check_only -class DisruptionBudget(typing_extensions.TypedDict, total=False): +class DiskIoScheduler(typing.TypedDict, total=False): + nodeAttachedDiskIoScheduler: str + nodeSystemIoScheduler: str + +@typing.type_check_only +class DisruptionBudget(typing.TypedDict, total=False): lastDisruptionTime: str lastMinorVersionDisruptionTime: str minorVersionDisruptionInterval: str patchVersionDisruptionInterval: str @typing.type_check_only -class DisruptionEvent(typing_extensions.TypedDict, total=False): - disruptionType: typing_extensions.Literal[ +class DisruptionEvent(typing.TypedDict, total=False): + disruptionType: typing.Literal[ "DISRUPTION_TYPE_UNSPECIFIED", "POD_NOT_ENOUGH_PDB", "POD_PDB_VIOLATION" ] pdbBlockedNode: str @@ -728,41 +726,37 @@ class DisruptionEvent(typing_extensions.TypedDict, total=False): pdbViolationTimeout: str @typing.type_check_only -class DnsCacheConfig(typing_extensions.TypedDict, total=False): +class DnsCacheConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class EnterpriseConfig(typing_extensions.TypedDict, total=False): - clusterTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] - desiredTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] +class EnterpriseConfig(typing.TypedDict, total=False): + clusterTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] + desiredTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] @typing.type_check_only -class EphemeralLocalSsdProfile(typing_extensions.TypedDict, total=False): +class EphemeralLocalSsdProfile(typing.TypedDict, total=False): swapSizeGib: str swapSizePercent: int @typing.type_check_only -class EphemeralStorageConfig(typing_extensions.TypedDict, total=False): +class EphemeralStorageConfig(typing.TypedDict, total=False): localSsdCount: int @typing.type_check_only -class EphemeralStorageLocalSsdConfig(typing_extensions.TypedDict, total=False): +class EphemeralStorageLocalSsdConfig(typing.TypedDict, total=False): dataCacheCount: int localSsdCount: int @typing.type_check_only -class EvictionGracePeriod(typing_extensions.TypedDict, total=False): +class EvictionGracePeriod(typing.TypedDict, total=False): imagefsAvailable: str imagefsInodesFree: str memoryAvailable: str @@ -771,7 +765,7 @@ class EvictionGracePeriod(typing_extensions.TypedDict, total=False): pidAvailable: str @typing.type_check_only -class EvictionMinimumReclaim(typing_extensions.TypedDict, total=False): +class EvictionMinimumReclaim(typing.TypedDict, total=False): imagefsAvailable: str imagefsInodesFree: str memoryAvailable: str @@ -780,7 +774,7 @@ class EvictionMinimumReclaim(typing_extensions.TypedDict, total=False): pidAvailable: str @typing.type_check_only -class EvictionSignals(typing_extensions.TypedDict, total=False): +class EvictionSignals(typing.TypedDict, total=False): imagefsAvailable: str imagefsInodesFree: str memoryAvailable: str @@ -789,19 +783,19 @@ class EvictionSignals(typing_extensions.TypedDict, total=False): pidAvailable: str @typing.type_check_only -class ExclusionUntilEndOfSupport(typing_extensions.TypedDict, total=False): +class ExclusionUntilEndOfSupport(typing.TypedDict, total=False): enabled: bool endTime: str startTime: str @typing.type_check_only -class FastSocket(typing_extensions.TypedDict, total=False): +class FastSocket(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): eventType: _list[ - typing_extensions.Literal[ + typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", @@ -811,40 +805,36 @@ class Filter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Fleet(typing_extensions.TypedDict, total=False): +class Fleet(typing.TypedDict, total=False): membership: str - membershipType: typing_extensions.Literal[ - "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" - ] + membershipType: typing.Literal["MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT"] preRegistered: bool project: str @typing.type_check_only -class GCPSecretManagerCertificateConfig(typing_extensions.TypedDict, total=False): +class GCPSecretManagerCertificateConfig(typing.TypedDict, total=False): secretUri: str @typing.type_check_only -class GPUDirectConfig(typing_extensions.TypedDict, total=False): - gpuDirectStrategy: typing_extensions.Literal[ - "GPU_DIRECT_STRATEGY_UNSPECIFIED", "RDMA" - ] +class GPUDirectConfig(typing.TypedDict, total=False): + gpuDirectStrategy: typing.Literal["GPU_DIRECT_STRATEGY_UNSPECIFIED", "RDMA"] @typing.type_check_only -class GPUDriverInstallationConfig(typing_extensions.TypedDict, total=False): - gpuDriverVersion: typing_extensions.Literal[ +class GPUDriverInstallationConfig(typing.TypedDict, total=False): + gpuDriverVersion: typing.Literal[ "GPU_DRIVER_VERSION_UNSPECIFIED", "INSTALLATION_DISABLED", "DEFAULT", "LATEST" ] @typing.type_check_only -class GPUSharingConfig(typing_extensions.TypedDict, total=False): - gpuSharingStrategy: typing_extensions.Literal[ +class GPUSharingConfig(typing.TypedDict, total=False): + gpuSharingStrategy: typing.Literal[ "GPU_SHARING_STRATEGY_UNSPECIFIED", "TIME_SHARING", "MPS" ] maxSharedClientsPerGpu: str @typing.type_check_only -class GatewayAPIConfig(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class GatewayAPIConfig(typing.TypedDict, total=False): + channel: typing.Literal[ "CHANNEL_UNSPECIFIED", "CHANNEL_DISABLED", "CHANNEL_EXPERIMENTAL", @@ -852,28 +842,28 @@ class GatewayAPIConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GcePersistentDiskCsiDriverConfig(typing_extensions.TypedDict, total=False): +class GcePersistentDiskCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GcfsConfig(typing_extensions.TypedDict, total=False): +class GcfsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GcpFilestoreCsiDriverConfig(typing_extensions.TypedDict, total=False): +class GcpFilestoreCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GcsFuseCsiDriverConfig(typing_extensions.TypedDict, total=False): +class GcsFuseCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GetJSONWebKeysResponse(typing_extensions.TypedDict, total=False): +class GetJSONWebKeysResponse(typing.TypedDict, total=False): cacheHeader: HttpCacheControlResponseHeader keys: _list[Jwk] @typing.type_check_only -class GetOpenIDConfigResponse(typing_extensions.TypedDict, total=False): +class GetOpenIDConfigResponse(typing.TypedDict, total=False): cacheHeader: HttpCacheControlResponseHeader claims_supported: _list[str] grant_types: _list[str] @@ -884,26 +874,26 @@ class GetOpenIDConfigResponse(typing_extensions.TypedDict, total=False): subject_types_supported: _list[str] @typing.type_check_only -class GkeAutoUpgradeConfig(typing_extensions.TypedDict, total=False): - patchMode: typing_extensions.Literal["PATCH_MODE_UNSPECIFIED", "ACCELERATED"] +class GkeAutoUpgradeConfig(typing.TypedDict, total=False): + patchMode: typing.Literal["PATCH_MODE_UNSPECIFIED", "ACCELERATED"] @typing.type_check_only -class GkeBackupAgentConfig(typing_extensions.TypedDict, total=False): +class GkeBackupAgentConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class HighScaleCheckpointingConfig(typing_extensions.TypedDict, total=False): +class HighScaleCheckpointingConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class HorizontalPodAutoscaling(typing_extensions.TypedDict, total=False): +class HorizontalPodAutoscaling(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class HostConfig(typing_extensions.TypedDict, total=False): +class HostConfig(typing.TypedDict, total=False): ca: _list[CertificateConfig] capabilities: _list[ - typing_extensions.Literal[ + typing.Literal[ "HOST_CAPABILITY_UNSPECIFIED", "HOST_CAPABILITY_PULL", "HOST_CAPABILITY_RESOLVE", @@ -917,33 +907,33 @@ class HostConfig(typing_extensions.TypedDict, total=False): overridePath: bool @typing.type_check_only -class HostMaintenancePolicy(typing_extensions.TypedDict, total=False): - maintenanceInterval: typing_extensions.Literal[ +class HostMaintenancePolicy(typing.TypedDict, total=False): + maintenanceInterval: typing.Literal[ "MAINTENANCE_INTERVAL_UNSPECIFIED", "AS_NEEDED", "PERIODIC" ] opportunisticMaintenanceStrategy: OpportunisticMaintenanceStrategy @typing.type_check_only -class HttpCacheControlResponseHeader(typing_extensions.TypedDict, total=False): +class HttpCacheControlResponseHeader(typing.TypedDict, total=False): age: str directive: str expires: str @typing.type_check_only -class HttpLoadBalancing(typing_extensions.TypedDict, total=False): +class HttpLoadBalancing(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class HugepagesConfig(typing_extensions.TypedDict, total=False): +class HugepagesConfig(typing.TypedDict, total=False): hugepageSize1g: int hugepageSize2m: int @typing.type_check_only -class ILBSubsettingConfig(typing_extensions.TypedDict, total=False): +class ILBSubsettingConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class IPAllocationPolicy(typing_extensions.TypedDict, total=False): +class IPAllocationPolicy(typing.TypedDict, total=False): additionalIpRangesConfigs: _list[AdditionalIPRangesConfig] additionalPodRangesConfig: AdditionalPodRangesConfig allowRouteOverlap: bool @@ -953,7 +943,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): clusterSecondaryRangeName: str createSubnetwork: bool defaultPodIpv4RangeUtilization: float - ipv6AccessType: typing_extensions.Literal[ + ipv6AccessType: typing.Literal[ "IPV6_ACCESS_TYPE_UNSPECIFIED", "INTERNAL", "EXTERNAL" ] networkTierConfig: NetworkTierConfig @@ -964,7 +954,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): servicesIpv4CidrBlock: str servicesIpv6CidrBlock: str servicesSecondaryRangeName: str - stackType: typing_extensions.Literal["STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6"] + stackType: typing.Literal["STACK_TYPE_UNSPECIFIED", "IPV4", "IPV4_IPV6"] subnetIpv6CidrBlock: str subnetworkName: str tpuIpv4CidrBlock: str @@ -972,7 +962,7 @@ class IPAllocationPolicy(typing_extensions.TypedDict, total=False): useRoutes: bool @typing.type_check_only -class IPEndpointsConfig(typing_extensions.TypedDict, total=False): +class IPEndpointsConfig(typing.TypedDict, total=False): authorizedNetworksConfig: MasterAuthorizedNetworksConfig enablePublicEndpoint: bool enabled: bool @@ -982,27 +972,27 @@ class IPEndpointsConfig(typing_extensions.TypedDict, total=False): publicEndpoint: str @typing.type_check_only -class IdentityServiceConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class InitScript(typing_extensions.TypedDict, total=False): +class InitScript(typing.TypedDict, total=False): args: _list[str] gcpSecretManagerSecretUri: str gcsGeneration: str gcsUri: str @typing.type_check_only -class IntraNodeVisibilityConfig(typing_extensions.TypedDict, total=False): +class IntraNodeVisibilityConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class IstioConfig(typing_extensions.TypedDict, total=False): - auth: typing_extensions.Literal["AUTH_NONE", "AUTH_MUTUAL_TLS"] +class IstioConfig(typing.TypedDict, total=False): + auth: typing.Literal["AUTH_NONE", "AUTH_MUTUAL_TLS"] disabled: bool @typing.type_check_only -class Jwk(typing_extensions.TypedDict, total=False): +class Jwk(typing.TypedDict, total=False): alg: str crv: str e: str @@ -1014,33 +1004,40 @@ class Jwk(typing_extensions.TypedDict, total=False): y: str @typing.type_check_only -class K8sBetaAPIConfig(typing_extensions.TypedDict, total=False): +class K8sBetaAPIConfig(typing.TypedDict, total=False): enabledApis: _list[str] @typing.type_check_only -class KalmConfig(typing_extensions.TypedDict, total=False): +class KalmConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class KubernetesDashboard(typing_extensions.TypedDict, total=False): +class KubeletCertInfo(typing.TypedDict, total=False): + nonTpmBootstrapCertExpireTime: str + tpmBootstrapCertExpireTime: str + +@typing.type_check_only +class KubernetesDashboard(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class LegacyAbac(typing_extensions.TypedDict, total=False): +class LegacyAbac(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class LinuxNodeConfig(typing_extensions.TypedDict, total=False): +class LinuxNodeConfig(typing.TypedDict, total=False): accurateTimeConfig: AccurateTimeConfig - cgroupMode: typing_extensions.Literal[ + cgroupMode: typing.Literal[ "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[ + transparentHugepageDefrag: typing.Literal[ "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", "TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS", "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER", @@ -1048,7 +1045,7 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): "TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE", "TRANSPARENT_HUGEPAGE_DEFRAG_NEVER", ] - transparentHugepageEnabled: typing_extensions.Literal[ + transparentHugepageEnabled: typing.Literal[ "TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED", "TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS", "TRANSPARENT_HUGEPAGE_ENABLED_MADVISE", @@ -1056,43 +1053,43 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] missingZones: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNodePoolsResponse(typing_extensions.TypedDict, total=False): +class ListNodePoolsResponse(typing.TypedDict, total=False): nodePools: _list[NodePool] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): missingZones: _list[str] operations: _list[Operation] @typing.type_check_only -class ListUsableSubnetworksResponse(typing_extensions.TypedDict, total=False): +class ListUsableSubnetworksResponse(typing.TypedDict, total=False): nextPageToken: str subnetworks: _list[UsableSubnetwork] @typing.type_check_only -class LocalNvmeSsdBlockConfig(typing_extensions.TypedDict, total=False): +class LocalNvmeSsdBlockConfig(typing.TypedDict, total=False): localSsdCount: int @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): name: str recommended: bool - type: typing_extensions.Literal["LOCATION_TYPE_UNSPECIFIED", "ZONE", "REGION"] + type: typing.Literal["LOCATION_TYPE_UNSPECIFIED", "ZONE", "REGION"] @typing.type_check_only -class LoggingComponentConfig(typing_extensions.TypedDict, total=False): +class LoggingComponentConfig(typing.TypedDict, total=False): enableComponents: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPONENT_UNSPECIFIED", "SYSTEM_COMPONENTS", "WORKLOADS", @@ -1107,64 +1104,62 @@ class LoggingComponentConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): componentConfig: LoggingComponentConfig @typing.type_check_only -class LoggingVariantConfig(typing_extensions.TypedDict, total=False): - variant: typing_extensions.Literal[ - "VARIANT_UNSPECIFIED", "DEFAULT", "MAX_THROUGHPUT" - ] +class LoggingVariantConfig(typing.TypedDict, total=False): + variant: typing.Literal["VARIANT_UNSPECIFIED", "DEFAULT", "MAX_THROUGHPUT"] @typing.type_check_only -class LustreCsiDriverConfig(typing_extensions.TypedDict, total=False): +class LustreCsiDriverConfig(typing.TypedDict, total=False): disableMultiNic: bool enableLegacyLustrePort: bool enabled: bool @typing.type_check_only -class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): - endTimeBehavior: typing_extensions.Literal[ +class MaintenanceExclusionOptions(typing.TypedDict, total=False): + endTimeBehavior: typing.Literal[ "END_TIME_BEHAVIOR_UNSPECIFIED", "UNTIL_END_OF_SUPPORT" ] - scope: typing_extensions.Literal[ + scope: typing.Literal[ "NO_UPGRADES", "NO_MINOR_UPGRADES", "NO_MINOR_OR_NODE_UPGRADES" ] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): disruptionBudget: DisruptionBudget resourceVersion: str window: MaintenanceWindow @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyMaintenanceWindow: DailyMaintenanceWindow maintenanceExclusions: dict[str, typing.Any] recurringMaintenanceWindow: RecurringMaintenanceWindow recurringWindow: RecurringTimeWindow @typing.type_check_only -class ManagedMachineLearningDiagnosticsConfig(typing_extensions.TypedDict, total=False): +class ManagedMachineLearningDiagnosticsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ManagedOpenTelemetryConfig(typing_extensions.TypedDict, total=False): - scope: typing_extensions.Literal[ +class ManagedOpenTelemetryConfig(typing.TypedDict, total=False): + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "NONE", "COLLECTION_AND_INSTRUMENTATION_COMPONENTS" ] @typing.type_check_only -class ManagedPrometheusConfig(typing_extensions.TypedDict, total=False): +class ManagedPrometheusConfig(typing.TypedDict, total=False): autoMonitoringConfig: AutoMonitoringConfig enabled: bool @typing.type_check_only -class Master(typing_extensions.TypedDict, total=False): +class Master(typing.TypedDict, total=False): compatibilityStatus: CompatibilityStatus @typing.type_check_only -class MasterAuth(typing_extensions.TypedDict, total=False): +class MasterAuth(typing.TypedDict, total=False): clientCertificate: str clientCertificateConfig: ClientCertificateConfig clientKey: str @@ -1173,35 +1168,35 @@ class MasterAuth(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class MasterAuthorizedNetworksConfig(typing_extensions.TypedDict, total=False): +class MasterAuthorizedNetworksConfig(typing.TypedDict, total=False): cidrBlocks: _list[CidrBlock] enabled: bool gcpPublicCidrsAccessEnabled: bool privateEndpointEnforcementEnabled: bool @typing.type_check_only -class MaxPodsConstraint(typing_extensions.TypedDict, total=False): +class MaxPodsConstraint(typing.TypedDict, total=False): maxPodsPerNode: str @typing.type_check_only -class MemoryManager(typing_extensions.TypedDict, total=False): +class MemoryManager(typing.TypedDict, total=False): policy: str @typing.type_check_only -class MeshCertificates(typing_extensions.TypedDict, total=False): +class MeshCertificates(typing.TypedDict, total=False): enableCertificates: bool @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): doubleValue: float intValue: str name: str stringValue: str @typing.type_check_only -class MonitoringComponentConfig(typing_extensions.TypedDict, total=False): +class MonitoringComponentConfig(typing.TypedDict, total=False): enableComponents: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPONENT_UNSPECIFIED", "SYSTEM_COMPONENTS", "WORKLOADS", @@ -1222,14 +1217,14 @@ class MonitoringComponentConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): advancedDatapathObservabilityConfig: AdvancedDatapathObservabilityConfig componentConfig: MonitoringComponentConfig managedPrometheusConfig: ManagedPrometheusConfig @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - datapathProvider: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + datapathProvider: typing.Literal[ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", "ADVANCED_DATAPATH" ] dataplaneV2Config: DataplaneV2Config @@ -1243,14 +1238,14 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): enableL4ilbSubsetting: bool enableMultiNetworking: bool gatewayApiConfig: GatewayAPIConfig - inTransitEncryptionConfig: typing_extensions.Literal[ + inTransitEncryptionConfig: typing.Literal[ "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", "IN_TRANSIT_ENCRYPTION_DISABLED", "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT", ] network: str networkPerformanceConfig: ClusterNetworkPerformanceConfig - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", "PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", @@ -1260,28 +1255,26 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class NetworkPerformanceConfig(typing_extensions.TypedDict, total=False): - externalIpEgressBandwidthTier: typing_extensions.Literal[ - "TIER_UNSPECIFIED", "TIER_1" - ] - totalEgressBandwidthTier: typing_extensions.Literal["TIER_UNSPECIFIED", "TIER_1"] +class NetworkPerformanceConfig(typing.TypedDict, total=False): + externalIpEgressBandwidthTier: typing.Literal["TIER_UNSPECIFIED", "TIER_1"] + totalEgressBandwidthTier: typing.Literal["TIER_UNSPECIFIED", "TIER_1"] @typing.type_check_only -class NetworkPolicy(typing_extensions.TypedDict, total=False): +class NetworkPolicy(typing.TypedDict, total=False): enabled: bool - provider: typing_extensions.Literal["PROVIDER_UNSPECIFIED", "CALICO"] + provider: typing.Literal["PROVIDER_UNSPECIFIED", "CALICO"] @typing.type_check_only -class NetworkPolicyConfig(typing_extensions.TypedDict, total=False): +class NetworkPolicyConfig(typing.TypedDict, total=False): disabled: bool @typing.type_check_only -class NetworkTags(typing_extensions.TypedDict, total=False): +class NetworkTags(typing.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class NetworkTierConfig(typing_extensions.TypedDict, total=False): - networkTier: typing_extensions.Literal[ +class NetworkTierConfig(typing.TypedDict, total=False): + networkTier: typing.Literal[ "NETWORK_TIER_UNSPECIFIED", "NETWORK_TIER_DEFAULT", "NETWORK_TIER_PREMIUM", @@ -1289,13 +1282,13 @@ class NetworkTierConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NodeAffinity(typing_extensions.TypedDict, total=False): +class NodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] + operator: typing.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] values: _list[str] @typing.type_check_only -class NodeConfig(typing_extensions.TypedDict, total=False): +class NodeConfig(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] advancedMachineFeatures: AdvancedMachineFeatures bootDisk: BootDisk @@ -1305,7 +1298,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): containerdConfig: ContainerdConfig diskSizeGb: int diskType: str - effectiveCgroupMode: typing_extensions.Literal[ + effectiveCgroupMode: typing.Literal[ "EFFECTIVE_CGROUP_MODE_UNSPECIFIED", "EFFECTIVE_CGROUP_MODE_V1", "EFFECTIVE_CGROUP_MODE_V2", @@ -1325,7 +1318,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): linuxNodeConfig: LinuxNodeConfig localNvmeSsdBlockConfig: LocalNvmeSsdBlockConfig localSsdCount: int - localSsdEncryptionMode: typing_extensions.Literal[ + localSsdEncryptionMode: typing.Literal[ "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", "STANDARD_ENCRYPTION", "EPHEMERAL_KEY_ENCRYPTION", @@ -1357,7 +1350,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): workloadMetadataConfig: WorkloadMetadataConfig @typing.type_check_only -class NodeConfigDefaults(typing_extensions.TypedDict, total=False): +class NodeConfigDefaults(typing.TypedDict, total=False): containerdConfig: ContainerdConfig gcfsConfig: GcfsConfig hostMaintenancePolicy: HostMaintenancePolicy @@ -1365,25 +1358,25 @@ class NodeConfigDefaults(typing_extensions.TypedDict, total=False): nodeKubeletConfig: NodeKubeletConfig @typing.type_check_only -class NodeCreationConfig(typing_extensions.TypedDict, total=False): - nodeCreationMode: typing_extensions.Literal[ +class NodeCreationConfig(typing.TypedDict, total=False): + nodeCreationMode: typing.Literal[ "MODE_UNSPECIFIED", "VIA_KUBELET", "VIA_CONTROL_PLANE" ] @typing.type_check_only -class NodeDrainConfig(typing_extensions.TypedDict, total=False): +class NodeDrainConfig(typing.TypedDict, total=False): graceTerminationDuration: str pdbTimeoutDuration: str respectPdbDuringNodePoolDeletion: bool @typing.type_check_only -class NodeKernelModuleLoading(typing_extensions.TypedDict, total=False): - policy: typing_extensions.Literal[ +class NodeKernelModuleLoading(typing.TypedDict, total=False): + policy: typing.Literal[ "POLICY_UNSPECIFIED", "ENFORCE_SIGNED_MODULES", "DO_NOT_ENFORCE_SIGNED_MODULES" ] @typing.type_check_only -class NodeKubeletConfig(typing_extensions.TypedDict, total=False): +class NodeKubeletConfig(typing.TypedDict, total=False): allowedUnsafeSysctls: _list[str] containerLogMaxFiles: int containerLogMaxSize: str @@ -1409,17 +1402,17 @@ class NodeKubeletConfig(typing_extensions.TypedDict, total=False): topologyManager: TopologyManager @typing.type_check_only -class NodeLabels(typing_extensions.TypedDict, total=False): +class NodeLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class NodeManagement(typing_extensions.TypedDict, total=False): +class NodeManagement(typing.TypedDict, total=False): autoRepair: bool autoUpgrade: bool upgradeOptions: AutoUpgradeOptions @typing.type_check_only -class NodeNetworkConfig(typing_extensions.TypedDict, total=False): +class NodeNetworkConfig(typing.TypedDict, total=False): acceleratorNetworkProfile: str additionalNodeNetworkConfigs: _list[AdditionalNodeNetworkConfig] additionalPodNetworkConfigs: _list[AdditionalPodNetworkConfig] @@ -1435,7 +1428,7 @@ class NodeNetworkConfig(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class NodePool(typing_extensions.TypedDict, total=False): +class NodePool(typing.TypedDict, total=False): autopilotConfig: AutopilotConfig autoscaling: NodePoolAutoscaling bestEffortProvisioning: BestEffortProvisioning @@ -1444,6 +1437,7 @@ class NodePool(typing_extensions.TypedDict, total=False): etag: str initialNodeCount: int instanceGroupUrls: _list[str] + kubeletCertInfo: KubeletCertInfo locations: _list[str] maintenancePolicy: NodePoolMaintenancePolicy management: NodeManagement @@ -1455,7 +1449,7 @@ class NodePool(typing_extensions.TypedDict, total=False): podIpv4CidrSize: int queuedProvisioning: QueuedProvisioning selfLink: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -1470,46 +1464,42 @@ class NodePool(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class NodePoolAutoConfig(typing_extensions.TypedDict, total=False): +class NodePoolAutoConfig(typing.TypedDict, total=False): linuxNodeConfig: LinuxNodeConfig networkTags: NetworkTags nodeKubeletConfig: NodeKubeletConfig resourceManagerTags: ResourceManagerTags @typing.type_check_only -class NodePoolAutoscaling(typing_extensions.TypedDict, total=False): +class NodePoolAutoscaling(typing.TypedDict, total=False): autoprovisioned: bool enabled: bool - locationPolicy: typing_extensions.Literal[ - "LOCATION_POLICY_UNSPECIFIED", "BALANCED", "ANY" - ] + locationPolicy: typing.Literal["LOCATION_POLICY_UNSPECIFIED", "BALANCED", "ANY"] maxNodeCount: int minNodeCount: int totalMaxNodeCount: int totalMinNodeCount: int @typing.type_check_only -class NodePoolDefaults(typing_extensions.TypedDict, total=False): +class NodePoolDefaults(typing.TypedDict, total=False): nodeConfigDefaults: NodeConfigDefaults @typing.type_check_only -class NodePoolLoggingConfig(typing_extensions.TypedDict, total=False): +class NodePoolLoggingConfig(typing.TypedDict, total=False): variantConfig: LoggingVariantConfig @typing.type_check_only -class NodePoolMaintenancePolicy(typing_extensions.TypedDict, total=False): +class NodePoolMaintenancePolicy(typing.TypedDict, total=False): exclusionUntilEndOfSupport: ExclusionUntilEndOfSupport @typing.type_check_only -class NodePoolUpgradeConcurrencyConfig(typing_extensions.TypedDict, total=False): +class NodePoolUpgradeConcurrencyConfig(typing.TypedDict, total=False): maxCount: str @typing.type_check_only -class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): +class NodePoolUpgradeInfo(typing.TypedDict, total=False): autoUpgradeStatus: _list[ - typing_extensions.Literal[ - "UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED" - ] + typing.Literal["UNKNOWN", "ACTIVE", "MINOR_UPGRADE_PAUSED", "UPGRADE_PAUSED"] ] customImageInfo: CustomImageInfo endOfExtendedSupportTimestamp: str @@ -1517,7 +1507,7 @@ class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): minorTargetVersion: str patchTargetVersion: str pausedReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", "MAINTENANCE_WINDOW", "MAINTENANCE_EXCLUSION_NO_UPGRADES", @@ -1528,27 +1518,31 @@ class NodePoolUpgradeInfo(typing_extensions.TypedDict, total=False): upgradeDetails: _list[UpgradeDetails] @typing.type_check_only -class NodeReadinessConfig(typing_extensions.TypedDict, total=False): +class NodeReadinessConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class NodeTaint(typing_extensions.TypedDict, total=False): - effect: typing_extensions.Literal[ +class NodeTaint(typing.TypedDict, total=False): + effect: typing.Literal[ "EFFECT_UNSPECIFIED", "NO_SCHEDULE", "PREFER_NO_SCHEDULE", "NO_EXECUTE" ] key: str value: str @typing.type_check_only -class NodeTaints(typing_extensions.TypedDict, total=False): +class NodeTaints(typing.TypedDict, total=False): taints: _list[NodeTaint] @typing.type_check_only -class NotificationConfig(typing_extensions.TypedDict, total=False): +class NodeVfioConfig(typing.TypedDict, total=False): + dmaEntryLimit: int + +@typing.type_check_only +class NotificationConfig(typing.TypedDict, total=False): pubsub: PubSub @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clusterConditions: _list[StatusCondition] detail: str endTime: str @@ -1556,7 +1550,7 @@ class Operation(typing_extensions.TypedDict, total=False): location: str name: str nodepoolConditions: _list[StatusCondition] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "TYPE_UNSPECIFIED", "CREATE_CLUSTER", "DELETE_CLUSTER", @@ -1580,7 +1574,7 @@ class Operation(typing_extensions.TypedDict, total=False): progress: OperationProgress selfLink: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "ABORTING" ] statusMessage: str @@ -1588,70 +1582,68 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationError(typing_extensions.TypedDict, total=False): +class OperationError(typing.TypedDict, total=False): errorMessage: str keyName: str timestamp: str @typing.type_check_only -class OperationProgress(typing_extensions.TypedDict, total=False): +class OperationProgress(typing.TypedDict, total=False): metrics: _list[Metric] name: str stages: _list[OperationProgress] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PENDING", "RUNNING", "DONE", "ABORTING" ] @typing.type_check_only -class OpportunisticMaintenanceStrategy(typing_extensions.TypedDict, total=False): +class OpportunisticMaintenanceStrategy(typing.TypedDict, total=False): maintenanceAvailabilityWindow: str minNodesPerPool: str nodeIdleTimeWindow: str @typing.type_check_only -class ParallelstoreCsiDriverConfig(typing_extensions.TypedDict, total=False): +class ParallelstoreCsiDriverConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ParentProductConfig(typing_extensions.TypedDict, total=False): +class ParentProductConfig(typing.TypedDict, total=False): labels: dict[str, typing.Any] productName: str @typing.type_check_only -class PdbBlockedPod(typing_extensions.TypedDict, total=False): +class PdbBlockedPod(typing.TypedDict, total=False): name: str namespace: str @typing.type_check_only -class PlacementPolicy(typing_extensions.TypedDict, total=False): +class PlacementPolicy(typing.TypedDict, total=False): policyName: str tpuTopology: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "COMPACT"] + type: typing.Literal["TYPE_UNSPECIFIED", "COMPACT"] @typing.type_check_only -class PodAutoscaling(typing_extensions.TypedDict, total=False): - hpaProfile: typing_extensions.Literal[ - "HPA_PROFILE_UNSPECIFIED", "NONE", "PERFORMANCE" - ] +class PodAutoscaling(typing.TypedDict, total=False): + hpaProfile: typing.Literal["HPA_PROFILE_UNSPECIFIED", "NONE", "PERFORMANCE"] @typing.type_check_only -class PodCIDROverprovisionConfig(typing_extensions.TypedDict, total=False): +class PodCIDROverprovisionConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class PodSecurityPolicyConfig(typing_extensions.TypedDict, total=False): +class PodSecurityPolicyConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class PodSnapshotConfig(typing_extensions.TypedDict, total=False): +class PodSnapshotConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class PolicyBinding(typing_extensions.TypedDict, total=False): +class PolicyBinding(typing.TypedDict, total=False): name: str @typing.type_check_only -class PrivateClusterConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterConfig(typing.TypedDict, total=False): enablePrivateEndpoint: bool enablePrivateNodes: bool masterGlobalAccessConfig: PrivateClusterMasterGlobalAccessConfig @@ -1662,100 +1654,97 @@ class PrivateClusterConfig(typing_extensions.TypedDict, total=False): publicEndpoint: str @typing.type_check_only -class PrivateClusterMasterGlobalAccessConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterMasterGlobalAccessConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class PrivateRegistryAccessConfig(typing_extensions.TypedDict, total=False): +class PrivateRegistryAccessConfig(typing.TypedDict, total=False): certificateAuthorityDomainConfig: _list[CertificateAuthorityDomainConfig] enabled: bool @typing.type_check_only -class PrivilegedAdmissionConfig(typing_extensions.TypedDict, total=False): +class PrivilegedAdmissionConfig(typing.TypedDict, total=False): allowlistPaths: _list[str] @typing.type_check_only -class ProtectConfig(typing_extensions.TypedDict, total=False): +class ProtectConfig(typing.TypedDict, total=False): workloadConfig: WorkloadConfig - workloadVulnerabilityMode: typing_extensions.Literal[ + workloadVulnerabilityMode: typing.Literal[ "WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED", "DISABLED", "BASIC" ] @typing.type_check_only -class PubSub(typing_extensions.TypedDict, total=False): +class PubSub(typing.TypedDict, total=False): enabled: bool filter: Filter topic: str @typing.type_check_only -class QueuedProvisioning(typing_extensions.TypedDict, total=False): +class QueuedProvisioning(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class RBACBindingConfig(typing_extensions.TypedDict, total=False): +class RBACBindingConfig(typing.TypedDict, total=False): enableInsecureBindingSystemAuthenticated: bool enableInsecureBindingSystemUnauthenticated: bool @typing.type_check_only -class RangeInfo(typing_extensions.TypedDict, total=False): +class RangeInfo(typing.TypedDict, total=False): rangeName: str utilization: float @typing.type_check_only -class RayClusterLoggingConfig(typing_extensions.TypedDict, total=False): +class RayClusterLoggingConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class RayClusterMonitoringConfig(typing_extensions.TypedDict, total=False): +class RayClusterMonitoringConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class RayOperatorConfig(typing_extensions.TypedDict, total=False): +class RayOperatorConfig(typing.TypedDict, total=False): enabled: bool rayClusterLoggingConfig: RayClusterLoggingConfig rayClusterMonitoringConfig: RayClusterMonitoringConfig @typing.type_check_only -class RecurringMaintenanceWindow(typing_extensions.TypedDict, total=False): +class RecurringMaintenanceWindow(typing.TypedDict, total=False): delayUntil: Date recurrence: str windowDuration: str windowStartTime: TimeOfDay @typing.type_check_only -class RecurringTimeWindow(typing_extensions.TypedDict, total=False): +class RecurringTimeWindow(typing.TypedDict, total=False): recurrence: str window: TimeWindow @typing.type_check_only -class RegistryHeader(typing_extensions.TypedDict, total=False): +class RegistryHeader(typing.TypedDict, total=False): key: str value: _list[str] @typing.type_check_only -class RegistryHostConfig(typing_extensions.TypedDict, total=False): +class RegistryHostConfig(typing.TypedDict, total=False): hosts: _list[HostConfig] server: str @typing.type_check_only -class ReleaseChannel(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ - "UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED" - ] +class ReleaseChannel(typing.TypedDict, total=False): + channel: typing.Literal["UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED"] @typing.type_check_only -class ReleaseChannelConfig(typing_extensions.TypedDict, total=False): +class ReleaseChannelConfig(typing.TypedDict, total=False): availableVersions: _list[AvailableVersion] - channel: typing_extensions.Literal[ - "UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED" - ] + channel: typing.Literal["UNSPECIFIED", "RAPID", "REGULAR", "STABLE", "EXTENDED"] + customVersions: _list[str] defaultVersion: str upgradeTargetVersion: str validVersions: _list[str] @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", @@ -1766,27 +1755,27 @@ class ReservationAffinity(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ResourceLabels(typing_extensions.TypedDict, total=False): +class ResourceLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class ResourceLimit(typing_extensions.TypedDict, total=False): +class ResourceLimit(typing.TypedDict, total=False): maximum: str minimum: str resourceType: str @typing.type_check_only -class ResourceManagerTags(typing_extensions.TypedDict, total=False): +class ResourceManagerTags(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class ResourceUsageExportConfig(typing_extensions.TypedDict, total=False): +class ResourceUsageExportConfig(typing.TypedDict, total=False): bigqueryDestination: BigQueryDestination consumptionMeteringConfig: ConsumptionMeteringConfig enableNetworkEgressMetering: bool @typing.type_check_only -class RollbackNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): +class RollbackNodePoolUpgradeRequest(typing.TypedDict, total=False): clusterId: str name: str nodePoolId: str @@ -1795,51 +1784,49 @@ class RollbackNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class RollbackSafeUpgrade(typing_extensions.TypedDict, total=False): +class RollbackSafeUpgrade(typing.TypedDict, total=False): controlPlaneSoakDuration: str @typing.type_check_only -class RollbackSafeUpgradeStatus(typing_extensions.TypedDict, total=False): +class RollbackSafeUpgradeStatus(typing.TypedDict, total=False): controlPlaneUpgradeRollbackEndTime: str - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE"] previousVersion: str @typing.type_check_only -class RotationConfig(typing_extensions.TypedDict, total=False): +class RotationConfig(typing.TypedDict, total=False): enabled: bool rotationInterval: str @typing.type_check_only -class SandboxConfig(typing_extensions.TypedDict, total=False): +class SandboxConfig(typing.TypedDict, total=False): sandboxType: str - type: typing_extensions.Literal["UNSPECIFIED", "GVISOR"] + type: typing.Literal["UNSPECIFIED", "GVISOR"] @typing.type_check_only -class ScheduleUpgradeConfig(typing_extensions.TypedDict, total=False): +class ScheduleUpgradeConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SecondaryBootDisk(typing_extensions.TypedDict, total=False): +class SecondaryBootDisk(typing.TypedDict, total=False): diskImage: str - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "CONTAINER_IMAGE_CACHE"] + mode: typing.Literal["MODE_UNSPECIFIED", "CONTAINER_IMAGE_CACHE"] @typing.type_check_only -class SecondaryBootDiskUpdateStrategy(typing_extensions.TypedDict, total=False): ... +class SecondaryBootDiskUpdateStrategy(typing.TypedDict, total=False): ... @typing.type_check_only -class SecretManagerConfig(typing_extensions.TypedDict, total=False): +class SecretManagerConfig(typing.TypedDict, total=False): enabled: bool rotationConfig: RotationConfig @typing.type_check_only -class SecretSyncConfig(typing_extensions.TypedDict, total=False): +class SecretSyncConfig(typing.TypedDict, total=False): enabled: bool rotationConfig: SyncRotationConfig @typing.type_check_only -class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): +class SecurityBulletinEvent(typing.TypedDict, total=False): affectedSupportedMinors: _list[str] briefDescription: str bulletinId: str @@ -1853,11 +1840,9 @@ class SecurityBulletinEvent(typing_extensions.TypedDict, total=False): suggestedUpgradeTarget: str @typing.type_check_only -class SecurityPostureConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE" - ] - vulnerabilityMode: typing_extensions.Literal[ +class SecurityPostureConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE"] + vulnerabilityMode: typing.Literal[ "VULNERABILITY_MODE_UNSPECIFIED", "VULNERABILITY_DISABLED", "VULNERABILITY_BASIC", @@ -1865,7 +1850,7 @@ class SecurityPostureConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServerConfig(typing_extensions.TypedDict, total=False): +class ServerConfig(typing.TypedDict, total=False): channels: _list[ReleaseChannelConfig] defaultClusterVersion: str defaultImageType: str @@ -1875,11 +1860,11 @@ class ServerConfig(typing_extensions.TypedDict, total=False): windowsVersionMaps: dict[str, typing.Any] @typing.type_check_only -class ServiceExternalIPsConfig(typing_extensions.TypedDict, total=False): +class ServiceExternalIPsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SetAddonsConfigRequest(typing_extensions.TypedDict, total=False): +class SetAddonsConfigRequest(typing.TypedDict, total=False): addonsConfig: AddonsConfig clusterId: str name: str @@ -1887,7 +1872,7 @@ class SetAddonsConfigRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLabelsRequest(typing_extensions.TypedDict, total=False): +class SetLabelsRequest(typing.TypedDict, total=False): clusterId: str labelFingerprint: str name: str @@ -1896,7 +1881,7 @@ class SetLabelsRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLegacyAbacRequest(typing_extensions.TypedDict, total=False): +class SetLegacyAbacRequest(typing.TypedDict, total=False): clusterId: str enabled: bool name: str @@ -1904,7 +1889,7 @@ class SetLegacyAbacRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLocationsRequest(typing_extensions.TypedDict, total=False): +class SetLocationsRequest(typing.TypedDict, total=False): clusterId: str locations: _list[str] name: str @@ -1912,7 +1897,7 @@ class SetLocationsRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetLoggingServiceRequest(typing_extensions.TypedDict, total=False): +class SetLoggingServiceRequest(typing.TypedDict, total=False): clusterId: str loggingService: str name: str @@ -1920,7 +1905,7 @@ class SetLoggingServiceRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetMaintenancePolicyRequest(typing_extensions.TypedDict, total=False): +class SetMaintenancePolicyRequest(typing.TypedDict, total=False): clusterId: str maintenancePolicy: MaintenancePolicy name: str @@ -1928,8 +1913,8 @@ class SetMaintenancePolicyRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetMasterAuthRequest(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class SetMasterAuthRequest(typing.TypedDict, total=False): + action: typing.Literal[ "UNKNOWN", "SET_PASSWORD", "GENERATE_PASSWORD", "SET_USERNAME" ] clusterId: str @@ -1939,7 +1924,7 @@ class SetMasterAuthRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetMonitoringServiceRequest(typing_extensions.TypedDict, total=False): +class SetMonitoringServiceRequest(typing.TypedDict, total=False): clusterId: str monitoringService: str name: str @@ -1947,7 +1932,7 @@ class SetMonitoringServiceRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNetworkPolicyRequest(typing_extensions.TypedDict, total=False): +class SetNetworkPolicyRequest(typing.TypedDict, total=False): clusterId: str name: str networkPolicy: NetworkPolicy @@ -1955,7 +1940,7 @@ class SetNetworkPolicyRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNodePoolAutoscalingRequest(typing_extensions.TypedDict, total=False): +class SetNodePoolAutoscalingRequest(typing.TypedDict, total=False): autoscaling: NodePoolAutoscaling clusterId: str name: str @@ -1964,7 +1949,7 @@ class SetNodePoolAutoscalingRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNodePoolManagementRequest(typing_extensions.TypedDict, total=False): +class SetNodePoolManagementRequest(typing.TypedDict, total=False): clusterId: str management: NodeManagement name: str @@ -1973,7 +1958,7 @@ class SetNodePoolManagementRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SetNodePoolSizeRequest(typing_extensions.TypedDict, total=False): +class SetNodePoolSizeRequest(typing.TypedDict, total=False): clusterId: str name: str nodeCount: int @@ -1982,35 +1967,35 @@ class SetNodePoolSizeRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool @typing.type_check_only -class ShieldedNodes(typing_extensions.TypedDict, total=False): +class ShieldedNodes(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SliceControllerConfig(typing_extensions.TypedDict, total=False): +class SliceControllerConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SlurmOperatorConfig(typing_extensions.TypedDict, total=False): +class SlurmOperatorConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class SoleTenantConfig(typing_extensions.TypedDict, total=False): +class SoleTenantConfig(typing.TypedDict, total=False): minNodeCpus: int nodeAffinities: _list[NodeAffinity] @typing.type_check_only -class StandardRolloutPolicy(typing_extensions.TypedDict, total=False): +class StandardRolloutPolicy(typing.TypedDict, total=False): batchNodeCount: int batchPercentage: float batchSoakDuration: str @typing.type_check_only -class StartIPRotationRequest(typing_extensions.TypedDict, total=False): +class StartIPRotationRequest(typing.TypedDict, total=False): clusterId: str name: str projectId: str @@ -2018,18 +2003,18 @@ class StartIPRotationRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class StatefulHAConfig(typing_extensions.TypedDict, total=False): +class StatefulHAConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusCondition(typing_extensions.TypedDict, total=False): - canonicalCode: typing_extensions.Literal[ +class StatusCondition(typing.TypedDict, total=False): + canonicalCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -2048,7 +2033,7 @@ class StatusCondition(typing_extensions.TypedDict, total=False): "UNAVAILABLE", "DATA_LOSS", ] - code: typing_extensions.Literal[ + code: typing.Literal[ "UNKNOWN", "GCE_STOCKOUT", "GKE_SERVICE_ACCOUNT_DELETED", @@ -2062,7 +2047,7 @@ class StatusCondition(typing_extensions.TypedDict, total=False): message: str @typing.type_check_only -class SwapConfig(typing_extensions.TypedDict, total=False): +class SwapConfig(typing.TypedDict, total=False): bootDiskProfile: BootDiskProfile dedicatedLocalSsdProfile: DedicatedLocalSsdProfile enabled: bool @@ -2070,42 +2055,42 @@ class SwapConfig(typing_extensions.TypedDict, total=False): ephemeralLocalSsdProfile: EphemeralLocalSsdProfile @typing.type_check_only -class SyncRotationConfig(typing_extensions.TypedDict, total=False): +class SyncRotationConfig(typing.TypedDict, total=False): enabled: bool rotationInterval: str @typing.type_check_only -class TaintConfig(typing_extensions.TypedDict, total=False): - architectureTaintBehavior: typing_extensions.Literal[ +class TaintConfig(typing.TypedDict, total=False): + architectureTaintBehavior: typing.Literal[ "ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED", "NONE", "ARM" ] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeWindow(typing_extensions.TypedDict, total=False): +class TimeWindow(typing.TypedDict, total=False): endTime: str maintenanceExclusionOptions: MaintenanceExclusionOptions startTime: str @typing.type_check_only -class TopologyManager(typing_extensions.TypedDict, total=False): +class TopologyManager(typing.TypedDict, total=False): policy: str scope: str @typing.type_check_only -class TpuConfig(typing_extensions.TypedDict, total=False): +class TpuConfig(typing.TypedDict, total=False): enabled: bool ipv4CidrBlock: str useServiceNetworking: bool @typing.type_check_only -class UpdateClusterRequest(typing_extensions.TypedDict, total=False): +class UpdateClusterRequest(typing.TypedDict, total=False): clusterId: str name: str projectId: str @@ -2113,11 +2098,11 @@ class UpdateClusterRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class UpdateInfo(typing_extensions.TypedDict, total=False): +class UpdateInfo(typing.TypedDict, total=False): blueGreenInfo: BlueGreenInfo @typing.type_check_only -class UpdateMasterRequest(typing_extensions.TypedDict, total=False): +class UpdateMasterRequest(typing.TypedDict, total=False): clusterId: str masterVersion: str name: str @@ -2125,7 +2110,7 @@ class UpdateMasterRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): +class UpdateNodePoolRequest(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] bootDisk: BootDisk clusterId: str @@ -2169,51 +2154,47 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class UpgradeAvailableEvent(typing_extensions.TypedDict, total=False): +class UpgradeAvailableEvent(typing.TypedDict, total=False): releaseChannel: ReleaseChannel resource: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] version: str windowsVersions: WindowsVersions @typing.type_check_only -class UpgradeDetails(typing_extensions.TypedDict, total=False): +class UpgradeDetails(typing.TypedDict, total=False): endTime: str initialEmulatedVersion: str initialVersion: str startTime: str - startType: typing_extensions.Literal[ - "START_TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL" - ] - state: typing_extensions.Literal[ - "UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING" - ] + startType: typing.Literal["START_TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL"] + state: typing.Literal["UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING"] targetEmulatedVersion: str targetVersion: str @typing.type_check_only -class UpgradeEvent(typing_extensions.TypedDict, total=False): +class UpgradeEvent(typing.TypedDict, total=False): currentEmulatedVersion: str currentVersion: str operation: str operationStartTime: str resource: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] targetEmulatedVersion: str targetVersion: str @typing.type_check_only -class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): +class UpgradeInfoEvent(typing.TypedDict, total=False): currentEmulatedVersion: str currentVersion: str description: str disruptionEvent: DisruptionEvent endTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "END_OF_SUPPORT", "COS_MILESTONE_VERSION_UPDATE", @@ -2223,28 +2204,28 @@ class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): extendedSupportEndTime: str operation: str resource: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] standardSupportEndTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "SUCCEEDED", "FAILED", "CANCELED" ] targetEmulatedVersion: str targetVersion: str @typing.type_check_only -class UpgradeSettings(typing_extensions.TypedDict, total=False): +class UpgradeSettings(typing.TypedDict, total=False): blueGreenSettings: BlueGreenSettings maxSurge: int maxUnavailable: int - strategy: typing_extensions.Literal[ + strategy: typing.Literal[ "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", "BLUE_GREEN", "SURGE", "SHORT_LIVED" ] @typing.type_check_only -class UsableSubnetwork(typing_extensions.TypedDict, total=False): +class UsableSubnetwork(typing.TypedDict, total=False): ipCidrRange: str network: str secondaryIpRanges: _list[UsableSubnetworkSecondaryRange] @@ -2252,10 +2233,10 @@ class UsableSubnetwork(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class UsableSubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): +class UsableSubnetworkSecondaryRange(typing.TypedDict, total=False): ipCidrRange: str rangeName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNKNOWN", "UNUSED", "IN_USE_SERVICE", @@ -2264,7 +2245,7 @@ class UsableSubnetworkSecondaryRange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UserManagedKeysConfig(typing_extensions.TypedDict, total=False): +class UserManagedKeysConfig(typing.TypedDict, total=False): aggregationCa: str clusterCa: str controlPlaneDiskEncryptionKey: str @@ -2276,61 +2257,61 @@ class UserManagedKeysConfig(typing_extensions.TypedDict, total=False): serviceAccountVerificationKeys: _list[str] @typing.type_check_only -class VerticalPodAutoscaling(typing_extensions.TypedDict, total=False): +class VerticalPodAutoscaling(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class VirtualNIC(typing_extensions.TypedDict, total=False): +class VirtualNIC(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class WindowsNodeConfig(typing_extensions.TypedDict, total=False): - osVersion: typing_extensions.Literal[ +class WindowsNodeConfig(typing.TypedDict, total=False): + osVersion: typing.Literal[ "OS_VERSION_UNSPECIFIED", "OS_VERSION_LTSC2019", "OS_VERSION_LTSC2022" ] @typing.type_check_only -class WindowsVersion(typing_extensions.TypedDict, total=False): +class WindowsVersion(typing.TypedDict, total=False): imageType: str osVersion: str supportEndDate: Date @typing.type_check_only -class WindowsVersions(typing_extensions.TypedDict, total=False): +class WindowsVersions(typing.TypedDict, total=False): windowsVersions: _list[WindowsVersion] @typing.type_check_only -class WorkloadALTSConfig(typing_extensions.TypedDict, total=False): +class WorkloadALTSConfig(typing.TypedDict, total=False): enableAlts: bool @typing.type_check_only -class WorkloadCertificates(typing_extensions.TypedDict, total=False): +class WorkloadCertificates(typing.TypedDict, total=False): enableCertificates: bool @typing.type_check_only -class WorkloadConfig(typing_extensions.TypedDict, total=False): - auditMode: typing_extensions.Literal[ +class WorkloadConfig(typing.TypedDict, total=False): + auditMode: typing.Literal[ "MODE_UNSPECIFIED", "DISABLED", "BASIC", "BASELINE", "RESTRICTED" ] @typing.type_check_only -class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): +class WorkloadIdentityConfig(typing.TypedDict, total=False): identityNamespace: str identityProvider: str workloadPool: str @typing.type_check_only -class WorkloadMetadataConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "GCE_METADATA", "GKE_METADATA"] - nodeMetadata: typing_extensions.Literal[ +class WorkloadMetadataConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "GCE_METADATA", "GKE_METADATA"] + nodeMetadata: typing.Literal[ "UNSPECIFIED", "SECURE", "EXPOSE", "GKE_METADATA_SERVER" ] @typing.type_check_only -class WorkloadPolicyConfig(typing_extensions.TypedDict, total=False): +class WorkloadPolicyConfig(typing.TypedDict, total=False): allowNetAdmin: bool autopilotCompatibilityAuditingEnabled: bool @typing.type_check_only -class WritableCgroups(typing_extensions.TypedDict, total=False): +class WritableCgroups(typing.TypedDict, total=False): enabled: bool diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi index 7bc07f89a..599c6c3d0 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi index 41cec8609..ce0310def 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi @@ -1,35 +1,34 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AISkillAnalysisNote(typing_extensions.TypedDict, total=False): ... +class AISkillAnalysisNote(typing.TypedDict, total=False): ... @typing.type_check_only -class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): +class AISkillAnalysisOccurrence(typing.TypedDict, total=False): findings: _list[Finding] - maxSeverity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + perScannerVerdict: PerScannerVerdict skillName: str @typing.type_check_only -class AliasContext(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] +class AliasContext(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] name: str @typing.type_check_only -class AnalysisCompleted(typing_extensions.TypedDict, total=False): +class AnalysisCompleted(typing.TypedDict, total=False): analysisType: _list[str] @typing.type_check_only -class Artifact(typing_extensions.TypedDict, total=False): +class Artifact(typing.TypedDict, total=False): checksum: str id: str names: _list[str] @typing.type_check_only -class Assessment(typing_extensions.TypedDict, total=False): +class Assessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification @@ -37,69 +36,69 @@ class Assessment(typing_extensions.TypedDict, total=False): relatedUris: _list[RelatedUrl] remediations: _list[Remediation] shortDescription: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class AttestationNote(typing_extensions.TypedDict, total=False): +class AttestationNote(typing.TypedDict, total=False): hint: Hint @typing.type_check_only -class AttestationOccurrence(typing_extensions.TypedDict, total=False): +class AttestationOccurrence(typing.TypedDict, total=False): jwts: _list[Jwt] serializedPayload: str signatures: _list[Signature] @typing.type_check_only -class BaseImage(typing_extensions.TypedDict, total=False): +class BaseImage(typing.TypedDict, total=False): layerCount: int name: str registry: str repository: str @typing.type_check_only -class BatchCreateNotesRequest(typing_extensions.TypedDict, total=False): +class BatchCreateNotesRequest(typing.TypedDict, total=False): notes: dict[str, typing.Any] @typing.type_check_only -class BatchCreateNotesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateNotesResponse(typing.TypedDict, total=False): notes: _list[Note] @typing.type_check_only -class BatchCreateOccurrencesRequest(typing_extensions.TypedDict, total=False): +class BatchCreateOccurrencesRequest(typing.TypedDict, total=False): occurrences: _list[Occurrence] @typing.type_check_only -class BatchCreateOccurrencesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateOccurrencesResponse(typing.TypedDict, total=False): occurrences: _list[Occurrence] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BuildDefinition(typing_extensions.TypedDict, total=False): +class BuildDefinition(typing.TypedDict, total=False): buildType: str externalParameters: dict[str, typing.Any] internalParameters: dict[str, typing.Any] resolvedDependencies: _list[ResourceDescriptor] @typing.type_check_only -class BuildMetadata(typing_extensions.TypedDict, total=False): +class BuildMetadata(typing.TypedDict, total=False): finishedOn: str invocationId: str startedOn: str @typing.type_check_only -class BuildNote(typing_extensions.TypedDict, total=False): +class BuildNote(typing.TypedDict, total=False): builderVersion: str @typing.type_check_only -class BuildOccurrence(typing_extensions.TypedDict, total=False): +class BuildOccurrence(typing.TypedDict, total=False): inTotoSlsaProvenanceV1: InTotoSlsaProvenanceV1 intotoProvenance: InTotoProvenance intotoStatement: InTotoStatement @@ -107,7 +106,7 @@ class BuildOccurrence(typing_extensions.TypedDict, total=False): provenanceBytes: str @typing.type_check_only -class BuildProvenance(typing_extensions.TypedDict, total=False): +class BuildProvenance(typing.TypedDict, total=False): buildOptions: dict[str, typing.Any] builderVersion: str builtArtifacts: _list[Artifact] @@ -123,7 +122,7 @@ class BuildProvenance(typing_extensions.TypedDict, total=False): triggerId: str @typing.type_check_only -class BuildStep(typing_extensions.TypedDict, total=False): +class BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -139,7 +138,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): results: _list[StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUING", @@ -158,40 +157,40 @@ class BuildStep(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class BuilderConfig(typing_extensions.TypedDict, total=False): +class BuilderConfig(typing.TypedDict, total=False): id: str @typing.type_check_only -class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): +class CISAKnownExploitedVulnerabilities(typing.TypedDict, total=False): knownRansomwareCampaignUse: str @typing.type_check_only -class CVSS(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSS(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", "ATTACK_COMPLEXITY_MEDIUM", ] - attackRequirements: typing_extensions.Literal[ + attackRequirements: typing.Literal[ "ATTACK_REQUIREMENTS_UNSPECIFIED", "ATTACK_REQUIREMENTS_NONE", "ATTACK_REQUIREMENTS_PRESENT", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - authentication: typing_extensions.Literal[ + authentication: typing.Literal[ "AUTHENTICATION_UNSPECIFIED", "AUTHENTICATION_MULTIPLE", "AUTHENTICATION_SINGLE", "AUTHENTICATION_NONE", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -200,7 +199,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_COMPLETE", ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -208,7 +207,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - exploitMaturity: typing_extensions.Literal[ + exploitMaturity: typing.Literal[ "EXPLOIT_MATURITY_UNSPECIFIED", "EXPLOIT_MATURITY_NOT_DEFINED", "EXPLOIT_MATURITY_ATTACKED", @@ -217,7 +216,7 @@ class CVSS(typing_extensions.TypedDict, total=False): ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -225,16 +224,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - subsequentSystemAvailabilityImpact: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + subsequentSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -242,7 +239,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemConfidentialityImpact: typing_extensions.Literal[ + subsequentSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -250,7 +247,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemIntegrityImpact: typing_extensions.Literal[ + subsequentSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -258,14 +255,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - userInteraction: typing_extensions.Literal[ + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", "USER_INTERACTION_PASSIVE", "USER_INTERACTION_ACTIVE", ] - vulnerableSystemAvailabilityImpact: typing_extensions.Literal[ + vulnerableSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -273,7 +270,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemConfidentialityImpact: typing_extensions.Literal[ + vulnerableSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -281,7 +278,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemIntegrityImpact: typing_extensions.Literal[ + vulnerableSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -291,69 +288,67 @@ class CVSS(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CVSSv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSSv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class Category(typing_extensions.TypedDict, total=False): +class Category(typing.TypedDict, total=False): categoryId: str name: str @typing.type_check_only -class CisBenchmark(typing_extensions.TypedDict, total=False): +class CisBenchmark(typing.TypedDict, total=False): profileLevel: int - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class CloudRepoSourceContext(typing_extensions.TypedDict, total=False): +class CloudRepoSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext repoId: RepoId revisionId: str @typing.type_check_only -class CloudStorageLocation(typing_extensions.TypedDict, total=False): ... +class CloudStorageLocation(typing.TypedDict, total=False): ... @typing.type_check_only -class Command(typing_extensions.TypedDict, total=False): +class Command(typing.TypedDict, total=False): args: _list[str] dir: str env: _list[str] @@ -362,13 +357,13 @@ class Command(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class Completeness(typing_extensions.TypedDict, total=False): +class Completeness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class ComplianceNote(typing_extensions.TypedDict, total=False): +class ComplianceNote(typing.TypedDict, total=False): cisBenchmark: CisBenchmark description: str impact: str @@ -379,36 +374,36 @@ class ComplianceNote(typing_extensions.TypedDict, total=False): version: _list[ComplianceVersion] @typing.type_check_only -class ComplianceOccurrence(typing_extensions.TypedDict, total=False): +class ComplianceOccurrence(typing.TypedDict, total=False): nonComplianceReason: str nonCompliantFiles: _list[NonCompliantFile] version: ComplianceVersion @typing.type_check_only -class ComplianceVersion(typing_extensions.TypedDict, total=False): +class ComplianceVersion(typing.TypedDict, total=False): benchmarkDocument: str cpeUri: str version: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approvalRequired: bool @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact @@ -427,7 +422,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str paths: _list[str] @@ -435,14 +430,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): folder: str registryPath: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modulePath: str moduleVersion: str @@ -453,7 +448,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactId: str deployFolder: str @@ -464,14 +459,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): packagePath: str repository: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): file: str registryPath: str @@ -479,15 +474,13 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): paths: _list[str] repository: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Build(typing.TypedDict, total=False): approval: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval artifacts: ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts availableSecrets: ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets @@ -511,7 +504,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( source: ContaineranalysisGoogleDevtoolsCloudbuildV1Source sourceProvenance: ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -533,20 +526,20 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): config: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig result: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -558,10 +551,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automapSubstitutions: bool - defaultLogsBucketBehavior: typing_extensions.Literal[ + defaultLogsBucketBehavior: typing.Literal[ "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", "REGIONAL_USER_OWNED_BUCKET", "LEGACY_BUCKET", @@ -570,10 +563,8 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( dynamicSubstitutions: bool enableStructuredLogging: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -581,7 +572,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", @@ -592,26 +583,26 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( ] pool: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption pubsubTopic: str - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal[ + typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] ] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] workerPool: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowExitCodes: _list[int] allowFailure: bool @@ -627,7 +618,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( results: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -646,34 +637,32 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: dict[str, typing.Any] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str digest: str name: str - ociMediaType: typing_extensions.Literal[ + ociMediaType: typing.Literal[ "OCI_MEDIA_TYPE_UNSPECIFIED", "IMAGE_MANIFEST", "IMAGE_INDEX" ] pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str repository: str @@ -681,7 +670,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): empty: bool genericArtifact: ( @@ -691,14 +680,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destPath: str resource: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): depth: str destPath: str @@ -708,14 +697,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): developerConnect: str url: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str gitRepositoryLink: str @@ -723,49 +712,47 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileHash: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Hash] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): http: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): proxySecretVersionName: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str revision: str url: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash(typing.TypedDict, total=False): + type: typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): branchName: str commitSha: str @@ -777,9 +764,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource( tagName: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] @@ -800,30 +785,24 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( ] @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Secret( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): env: str versionName: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets(typing.TypedDict, total=False): inline: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret] secretManager: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret] @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Source( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Source(typing.TypedDict, total=False): connectedRepository: ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository developerConnectConfig: ( ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig @@ -837,7 +816,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Source( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileHashes: dict[str, typing.Any] resolvedConnectedRepository: ( @@ -852,7 +831,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attestationContent: str attestationType: str @@ -860,18 +839,16 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bucket: str generation: str object: str - sourceFetcher: typing_extensions.Literal[ - "SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER" - ] + sourceFetcher: typing.Literal["SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER"] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bucket: str generation: str @@ -879,14 +856,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactFingerprint: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes artifactRegistryPackage: str @@ -896,7 +873,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -905,7 +882,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -914,7 +891,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -923,7 +900,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -931,41 +908,39 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( uri: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class DSSEAttestationNote(typing_extensions.TypedDict, total=False): +class DSSEAttestationNote(typing.TypedDict, total=False): hint: DSSEHint @typing.type_check_only -class DSSEAttestationOccurrence(typing_extensions.TypedDict, total=False): +class DSSEAttestationOccurrence(typing.TypedDict, total=False): envelope: Envelope statement: InTotoStatement @typing.type_check_only -class DSSEHint(typing_extensions.TypedDict, total=False): +class DSSEHint(typing.TypedDict, total=False): humanReadableName: str @typing.type_check_only -class DeploymentNote(typing_extensions.TypedDict, total=False): +class DeploymentNote(typing.TypedDict, total=False): resourceUri: _list[str] @typing.type_check_only -class DeploymentOccurrence(typing_extensions.TypedDict, total=False): +class DeploymentOccurrence(typing.TypedDict, total=False): address: str config: str deployTime: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] resourceUri: _list[str] undeployTime: str userEmail: str @typing.type_check_only -class Detail(typing_extensions.TypedDict, total=False): +class Detail(typing.TypedDict, total=False): affectedCpeUri: str affectedPackage: str affectedVersionEnd: Version @@ -982,13 +957,13 @@ class Detail(typing_extensions.TypedDict, total=False): vendor: str @typing.type_check_only -class Digest(typing_extensions.TypedDict, total=False): +class Digest(typing.TypedDict, total=False): algo: str digestBytes: str @typing.type_check_only -class DiscoveryNote(typing_extensions.TypedDict, total=False): - analysisKind: typing_extensions.Literal[ +class DiscoveryNote(typing.TypedDict, total=False): + analysisKind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -1007,10 +982,10 @@ class DiscoveryNote(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): +class DiscoveryOccurrence(typing.TypedDict, total=False): analysisCompleted: AnalysisCompleted analysisError: _list[Status] - analysisStatus: typing_extensions.Literal[ + analysisStatus: typing.Literal[ "ANALYSIS_STATUS_UNSPECIFIED", "PENDING", "SCANNING", @@ -1021,7 +996,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): ] analysisStatusError: Status archiveTime: str - continuousAnalysis: typing_extensions.Literal[ + continuousAnalysis: typing.Literal[ "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str @@ -1031,8 +1006,8 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): sbomStatus: SBOMStatus @typing.type_check_only -class Distribution(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class Distribution(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str description: str latestVersion: Version @@ -1040,152 +1015,140 @@ class Distribution(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Envelope(typing_extensions.TypedDict, total=False): +class Envelope(typing.TypedDict, total=False): payload: str payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class EnvelopeSignature(typing_extensions.TypedDict, total=False): +class EnvelopeSignature(typing.TypedDict, total=False): keyid: str sig: str @typing.type_check_only -class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): +class ExploitPredictionScoringSystem(typing.TypedDict, total=False): percentile: float score: float @typing.type_check_only -class ExportSBOMRequest(typing_extensions.TypedDict, total=False): +class ExportSBOMRequest(typing.TypedDict, total=False): cloudStorageLocation: CloudStorageLocation @typing.type_check_only -class ExportSBOMResponse(typing_extensions.TypedDict, total=False): +class ExportSBOMResponse(typing.TypedDict, total=False): discoveryOccurrence: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): category: str details: str location: FindingLocation - scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + scanner: typing.Literal[ + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] @typing.type_check_only -class FindingLocation(typing_extensions.TypedDict, total=False): +class FindingLocation(typing.TypedDict, total=False): filePath: str lineNumber: str @typing.type_check_only -class Fingerprint(typing_extensions.TypedDict, total=False): +class Fingerprint(typing.TypedDict, total=False): v1Name: str v2Blob: _list[str] v2Name: str @typing.type_check_only -class FixableTotalByDigest(typing_extensions.TypedDict, total=False): +class FixableTotalByDigest(typing.TypedDict, total=False): fixableCount: str resourceUri: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] totalCount: str @typing.type_check_only -class GerritSourceContext(typing_extensions.TypedDict, total=False): +class GerritSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext gerritProject: str hostUri: str revisionId: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GitSourceContext(typing_extensions.TypedDict, total=False): +class GitSourceContext(typing.TypedDict, total=False): revisionId: str url: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @typing.type_check_only -class GrafeasV1FileLocation(typing_extensions.TypedDict, total=False): +class GrafeasV1FileLocation(typing.TypedDict, total=False): filePath: str layerDetails: LayerDetails lineNumber: int @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder(typing.TypedDict, total=False): id: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness(typing.TypedDict, total=False): environment: bool materials: bool parameters: bool @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource(typing.TypedDict, total=False): digest: dict[str, typing.Any] entryPoint: str uri: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation(typing.TypedDict, total=False): configSource: GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource environment: dict[str, typing.Any] parameters: dict[str, typing.Any] @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial(typing.TypedDict, total=False): digest: dict[str, typing.Any] uri: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -1193,47 +1156,47 @@ class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata( reproducible: bool @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): +class Hash(typing.TypedDict, total=False): type: str value: str @typing.type_check_only -class Hint(typing_extensions.TypedDict, total=False): +class Hint(typing.TypedDict, total=False): humanReadableName: str @typing.type_check_only -class Identity(typing_extensions.TypedDict, total=False): +class Identity(typing.TypedDict, total=False): revision: int updateId: str @typing.type_check_only -class ImageNote(typing_extensions.TypedDict, total=False): +class ImageNote(typing.TypedDict, total=False): fingerprint: Fingerprint resourceUrl: str @typing.type_check_only -class ImageOccurrence(typing_extensions.TypedDict, total=False): +class ImageOccurrence(typing.TypedDict, total=False): baseResourceUrl: str distance: int fingerprint: Fingerprint layerInfo: _list[Layer] @typing.type_check_only -class InTotoProvenance(typing_extensions.TypedDict, total=False): +class InTotoProvenance(typing.TypedDict, total=False): builderConfig: BuilderConfig materials: _list[str] metadata: Metadata recipe: Recipe @typing.type_check_only -class InTotoSlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class InTotoSlsaProvenanceV1(typing.TypedDict, total=False): _type: str predicate: SlsaProvenanceV1 predicateType: str subject: _list[Subject] @typing.type_check_only -class InTotoStatement(typing_extensions.TypedDict, total=False): +class InTotoStatement(typing.TypedDict, total=False): _type: str predicateType: str provenance: InTotoProvenance @@ -1242,9 +1205,9 @@ class InTotoStatement(typing_extensions.TypedDict, total=False): subject: _list[Subject] @typing.type_check_only -class Justification(typing_extensions.TypedDict, total=False): +class Justification(typing.TypedDict, total=False): details: str - justificationType: typing_extensions.Literal[ + justificationType: typing.Literal[ "JUSTIFICATION_TYPE_UNSPECIFIED", "COMPONENT_NOT_PRESENT", "VULNERABLE_CODE_NOT_PRESENT", @@ -1254,21 +1217,21 @@ class Justification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Jwt(typing_extensions.TypedDict, total=False): +class Jwt(typing.TypedDict, total=False): compactJwt: str @typing.type_check_only -class KnowledgeBase(typing_extensions.TypedDict, total=False): +class KnowledgeBase(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class Layer(typing_extensions.TypedDict, total=False): +class Layer(typing.TypedDict, total=False): arguments: str directive: str @typing.type_check_only -class LayerDetails(typing_extensions.TypedDict, total=False): +class LayerDetails(typing.TypedDict, total=False): baseImages: _list[BaseImage] chainId: str command: str @@ -1276,40 +1239,55 @@ class LayerDetails(typing_extensions.TypedDict, total=False): index: int @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): comments: str expression: str @typing.type_check_only -class ListNoteOccurrencesResponse(typing_extensions.TypedDict, total=False): +class ListNoteOccurrencesResponse(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] @typing.type_check_only -class ListNotesResponse(typing_extensions.TypedDict, total=False): +class ListNotesResponse(typing.TypedDict, total=False): nextPageToken: str notes: _list[Note] unreachable: _list[str] @typing.type_check_only -class ListOccurrencesResponse(typing_extensions.TypedDict, total=False): +class ListOccurrencesResponse(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): cpeUri: str path: str version: Version @typing.type_check_only -class Material(typing_extensions.TypedDict, total=False): +class MaliciousContentLLMResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MaliciousContentStaticResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MalwareScanResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] + +@typing.type_check_only +class Material(typing.TypedDict, total=False): digest: dict[str, typing.Any] uri: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -1317,13 +1295,13 @@ class Metadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class NonCompliantFile(typing_extensions.TypedDict, total=False): +class NonCompliantFile(typing.TypedDict, total=False): displayCommand: str path: str reason: str @typing.type_check_only -class Note(typing_extensions.TypedDict, total=False): +class Note(typing.TypedDict, total=False): aiSkillAnalysis: AISkillAnalysisNote attestation: AttestationNote build: BuildNote @@ -1334,7 +1312,7 @@ class Note(typing_extensions.TypedDict, total=False): dsseAttestation: DSSEAttestationNote expirationTime: str image: ImageNote - kind: typing_extensions.Literal[ + kind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -1365,7 +1343,7 @@ class Note(typing_extensions.TypedDict, total=False): vulnerabilityAssessment: VulnerabilityAssessmentNote @typing.type_check_only -class Occurrence(typing_extensions.TypedDict, total=False): +class Occurrence(typing.TypedDict, total=False): advisoryPublishTime: str aiSkillAnalysis: AISkillAnalysisOccurrence attestation: AttestationOccurrence @@ -1377,7 +1355,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): dsseAttestation: DSSEAttestationOccurrence envelope: Envelope image: ImageOccurrence - kind: typing_extensions.Literal[ + kind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -1406,11 +1384,11 @@ class Occurrence(typing_extensions.TypedDict, total=False): vulnerability: VulnerabilityOccurrence @typing.type_check_only -class PackageIssue(typing_extensions.TypedDict, total=False): +class PackageIssue(typing.TypedDict, total=False): affectedCpeUri: str affectedPackage: str affectedVersion: Version - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] fileLocation: _list[GrafeasV1FileLocation] @@ -1421,8 +1399,8 @@ class PackageIssue(typing_extensions.TypedDict, total=False): packageType: str @typing.type_check_only -class PackageNote(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class PackageNote(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str description: str digest: _list[Digest] @@ -1435,8 +1413,8 @@ class PackageNote(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class PackageOccurrence(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class PackageOccurrence(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str license: License location: _list[Location] @@ -1445,36 +1423,43 @@ class PackageOccurrence(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class PerScannerVerdict(typing.TypedDict, total=False): + maliciousContentLlmResult: MaliciousContentLLMResult + maliciousContentStaticResult: MaliciousContentStaticResult + malwareScan: MalwareScanResult + workspacePolicy: WorkspacePolicyResult + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): genericUri: str id: str name: str @typing.type_check_only -class ProjectRepoId(typing_extensions.TypedDict, total=False): +class ProjectRepoId(typing.TypedDict, total=False): projectId: str repoName: str @typing.type_check_only -class ProvenanceBuilder(typing_extensions.TypedDict, total=False): +class ProvenanceBuilder(typing.TypedDict, total=False): builderDependencies: _list[ResourceDescriptor] id: str version: dict[str, typing.Any] @typing.type_check_only -class Publisher(typing_extensions.TypedDict, total=False): +class Publisher(typing.TypedDict, total=False): issuingAuthority: str name: str publisherNamespace: str @typing.type_check_only -class Recipe(typing_extensions.TypedDict, total=False): +class Recipe(typing.TypedDict, total=False): arguments: _list[dict[str, typing.Any]] definedInMaterial: str entryPoint: str @@ -1482,14 +1467,14 @@ class Recipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RelatedUrl(typing_extensions.TypedDict, total=False): +class RelatedUrl(typing.TypedDict, total=False): label: str url: str @typing.type_check_only -class Remediation(typing_extensions.TypedDict, total=False): +class Remediation(typing.TypedDict, total=False): details: str - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "MITIGATION", "NO_FIX_PLANNED", @@ -1500,12 +1485,12 @@ class Remediation(typing_extensions.TypedDict, total=False): remediationUri: RelatedUrl @typing.type_check_only -class RepoId(typing_extensions.TypedDict, total=False): +class RepoId(typing.TypedDict, total=False): projectRepoId: ProjectRepoId uid: str @typing.type_check_only -class ResourceDescriptor(typing_extensions.TypedDict, total=False): +class ResourceDescriptor(typing.TypedDict, total=False): annotations: dict[str, typing.Any] content: str digest: dict[str, typing.Any] @@ -1515,58 +1500,56 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Risk(typing_extensions.TypedDict, total=False): +class Risk(typing.TypedDict, total=False): cisaKev: CISAKnownExploitedVulnerabilities epss: ExploitPredictionScoringSystem @typing.type_check_only -class RunDetails(typing_extensions.TypedDict, total=False): +class RunDetails(typing.TypedDict, total=False): builder: ProvenanceBuilder byproducts: _list[ResourceDescriptor] metadata: BuildMetadata @typing.type_check_only -class SBOMReferenceNote(typing_extensions.TypedDict, total=False): +class SBOMReferenceNote(typing.TypedDict, total=False): format: str version: str @typing.type_check_only -class SBOMReferenceOccurrence(typing_extensions.TypedDict, total=False): +class SBOMReferenceOccurrence(typing.TypedDict, total=False): payload: SbomReferenceIntotoPayload payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class SBOMStatus(typing_extensions.TypedDict, total=False): +class SBOMStatus(typing.TypedDict, total=False): error: str - sbomState: typing_extensions.Literal[ - "SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE" - ] + sbomState: typing.Literal["SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE"] @typing.type_check_only -class SbomReferenceIntotoPayload(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPayload(typing.TypedDict, total=False): _type: str predicate: SbomReferenceIntotoPredicate predicateType: str subject: _list[Subject] @typing.type_check_only -class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPredicate(typing.TypedDict, total=False): digest: dict[str, typing.Any] location: str mimeType: str referrerId: str @typing.type_check_only -class SecretLocation(typing_extensions.TypedDict, total=False): +class SecretLocation(typing.TypedDict, total=False): fileLocation: GrafeasV1FileLocation @typing.type_check_only -class SecretNote(typing_extensions.TypedDict, total=False): ... +class SecretNote(typing.TypedDict, total=False): ... @typing.type_check_only -class SecretOccurrence(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ +class SecretOccurrence(typing.TypedDict, total=False): + kind: typing.Literal[ "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", @@ -1595,34 +1578,32 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): statuses: _list[SecretStatus] @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): message: str - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID"] updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): publicKeyId: str signature: str @typing.type_check_only -class SlsaBuilder(typing_extensions.TypedDict, total=False): +class SlsaBuilder(typing.TypedDict, total=False): id: str @typing.type_check_only -class SlsaCompleteness(typing_extensions.TypedDict, total=False): +class SlsaCompleteness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class SlsaMetadata(typing_extensions.TypedDict, total=False): +class SlsaMetadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -1630,19 +1611,19 @@ class SlsaMetadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class SlsaProvenance(typing_extensions.TypedDict, total=False): +class SlsaProvenance(typing.TypedDict, total=False): builder: SlsaBuilder materials: _list[Material] metadata: SlsaMetadata recipe: SlsaRecipe @typing.type_check_only -class SlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class SlsaProvenanceV1(typing.TypedDict, total=False): buildDefinition: BuildDefinition runDetails: RunDetails @typing.type_check_only -class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): +class SlsaProvenanceZeroTwo(typing.TypedDict, total=False): buildConfig: dict[str, typing.Any] buildType: str builder: GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder @@ -1651,7 +1632,7 @@ class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): metadata: GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata @typing.type_check_only -class SlsaRecipe(typing_extensions.TypedDict, total=False): +class SlsaRecipe(typing.TypedDict, total=False): arguments: dict[str, typing.Any] definedInMaterial: str entryPoint: str @@ -1659,101 +1640,99 @@ class SlsaRecipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): additionalContexts: _list[SourceContext] artifactStorageSourceUri: str context: SourceContext fileHashes: dict[str, typing.Any] @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): cloudRepo: CloudRepoSourceContext gerrit: GerritSourceContext git: GitSourceContext labels: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StepResult(typing_extensions.TypedDict, total=False): +class StepResult(typing.TypedDict, total=False): attestationContentName: str attestationType: str name: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): +class Subject(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeSpan(typing_extensions.TypedDict, total=False): +class TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpgradeDistribution(typing_extensions.TypedDict, total=False): +class UpgradeDistribution(typing.TypedDict, total=False): classification: str cpeUri: str cve: _list[str] severity: str @typing.type_check_only -class UpgradeNote(typing_extensions.TypedDict, total=False): +class UpgradeNote(typing.TypedDict, total=False): distributions: _list[UpgradeDistribution] package: str version: Version windowsUpdate: WindowsUpdate @typing.type_check_only -class UpgradeOccurrence(typing_extensions.TypedDict, total=False): +class UpgradeOccurrence(typing.TypedDict, total=False): distribution: UpgradeDistribution package: str parsedVersion: Version windowsUpdate: WindowsUpdate @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): epoch: int fullName: str inclusive: bool - kind: typing_extensions.Literal[ - "VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM" - ] + kind: typing.Literal["VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM"] name: str revision: str @typing.type_check_only -class VexAssessment(typing_extensions.TypedDict, total=False): +class VexAssessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification noteName: str relatedUris: _list[RelatedUrl] remediations: _list[Remediation] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class VulnerabilityAssessmentNote(typing_extensions.TypedDict, total=False): +class VulnerabilityAssessmentNote(typing.TypedDict, total=False): assessment: Assessment languageCode: str longDescription: str @@ -1763,32 +1742,32 @@ class VulnerabilityAssessmentNote(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class VulnerabilityNote(typing_extensions.TypedDict, total=False): +class VulnerabilityNote(typing.TypedDict, total=False): advisoryPublishTime: str cvssScore: float cvssV2: CVSS cvssV3: CVSSv3 cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] details: _list[Detail] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] sourceUpdateTime: str windowsDetails: _list[WindowsDetail] @typing.type_check_only -class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): +class VulnerabilityOccurrence(typing.TypedDict, total=False): cvssScore: float cvssV2: CVSS cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] cvssv3: CVSS - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] extraDetails: str @@ -1797,7 +1776,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): packageIssue: _list[PackageIssue] relatedUrls: _list[RelatedUrl] risk: Risk - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] shortDescription: str @@ -1805,19 +1784,19 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): vexAssessment: VexAssessment @typing.type_check_only -class VulnerabilityOccurrencesSummary(typing_extensions.TypedDict, total=False): +class VulnerabilityOccurrencesSummary(typing.TypedDict, total=False): counts: _list[FixableTotalByDigest] unreachable: _list[str] @typing.type_check_only -class WindowsDetail(typing_extensions.TypedDict, total=False): +class WindowsDetail(typing.TypedDict, total=False): cpeUri: str description: str fixingKbs: _list[KnowledgeBase] name: str @typing.type_check_only -class WindowsUpdate(typing_extensions.TypedDict, total=False): +class WindowsUpdate(typing.TypedDict, total=False): categories: _list[Category] description: str identity: Identity @@ -1825,3 +1804,8 @@ class WindowsUpdate(typing_extensions.TypedDict, total=False): lastPublishedTimestamp: str supportUrl: str title: str + +@typing.type_check_only +class WorkspacePolicyResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi index 191f314e7..d2542c4fb 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -115,7 +114,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource): *, parent: str, filter: str | None = ..., - kind: typing_extensions.Literal[ + kind: typing.Literal[ "KIND_UNSPECIFIED", "PACKAGE_VULNERABILITY", "BUILD_DETAILS", diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi index 6e9a3b963..9c05d542d 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi @@ -1,31 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AISkillAnalysisNote(typing_extensions.TypedDict, total=False): ... +class AISkillAnalysisNote(typing.TypedDict, total=False): ... @typing.type_check_only -class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): +class AISkillAnalysisOccurrence(typing.TypedDict, total=False): findings: _list[Finding] - maxSeverity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + perScannerVerdict: PerScannerVerdict skillName: str @typing.type_check_only -class AnalysisCompleted(typing_extensions.TypedDict, total=False): +class AnalysisCompleted(typing.TypedDict, total=False): analysisType: _list[str] @typing.type_check_only -class Artifact(typing_extensions.TypedDict, total=False): +class Artifact(typing.TypedDict, total=False): checksum: str id: str name: str names: _list[str] @typing.type_check_only -class Assessment(typing_extensions.TypedDict, total=False): +class Assessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification @@ -33,50 +32,50 @@ class Assessment(typing_extensions.TypedDict, total=False): relatedUris: _list[URI] remediations: _list[Remediation] shortDescription: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class Attestation(typing_extensions.TypedDict, total=False): +class Attestation(typing.TypedDict, total=False): pgpSignedAttestation: PgpSignedAttestation @typing.type_check_only -class AttestationAuthority(typing_extensions.TypedDict, total=False): +class AttestationAuthority(typing.TypedDict, total=False): hint: AttestationAuthorityHint @typing.type_check_only -class AttestationAuthorityHint(typing_extensions.TypedDict, total=False): +class AttestationAuthorityHint(typing.TypedDict, total=False): humanReadableName: str @typing.type_check_only -class BaseImage(typing_extensions.TypedDict, total=False): +class BaseImage(typing.TypedDict, total=False): layerCount: int name: str registry: str repository: str @typing.type_check_only -class Basis(typing_extensions.TypedDict, total=False): +class Basis(typing.TypedDict, total=False): fingerprint: Fingerprint resourceUrl: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BuildDefinition(typing_extensions.TypedDict, total=False): +class BuildDefinition(typing.TypedDict, total=False): buildType: str externalParameters: dict[str, typing.Any] internalParameters: dict[str, typing.Any] resolvedDependencies: _list[ResourceDescriptor] @typing.type_check_only -class BuildDetails(typing_extensions.TypedDict, total=False): +class BuildDetails(typing.TypedDict, total=False): inTotoSlsaProvenanceV1: InTotoSlsaProvenanceV1 intotoProvenance: InTotoProvenance intotoStatement: InTotoStatement @@ -84,13 +83,13 @@ class BuildDetails(typing_extensions.TypedDict, total=False): provenanceBytes: str @typing.type_check_only -class BuildMetadata(typing_extensions.TypedDict, total=False): +class BuildMetadata(typing.TypedDict, total=False): finishedOn: str invocationId: str startedOn: str @typing.type_check_only -class BuildProvenance(typing_extensions.TypedDict, total=False): +class BuildProvenance(typing.TypedDict, total=False): buildOptions: dict[str, typing.Any] builderVersion: str builtArtifacts: _list[Artifact] @@ -106,16 +105,14 @@ class BuildProvenance(typing_extensions.TypedDict, total=False): triggerId: str @typing.type_check_only -class BuildSignature(typing_extensions.TypedDict, total=False): +class BuildSignature(typing.TypedDict, total=False): keyId: str - keyType: typing_extensions.Literal[ - "KEY_TYPE_UNSPECIFIED", "PGP_ASCII_ARMORED", "PKIX_PEM" - ] + keyType: typing.Literal["KEY_TYPE_UNSPECIFIED", "PGP_ASCII_ARMORED", "PKIX_PEM"] publicKey: str signature: str @typing.type_check_only -class BuildStep(typing_extensions.TypedDict, total=False): +class BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -131,7 +128,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): results: _list[StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUING", @@ -150,45 +147,45 @@ class BuildStep(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class BuildType(typing_extensions.TypedDict, total=False): +class BuildType(typing.TypedDict, total=False): builderVersion: str signature: BuildSignature @typing.type_check_only -class BuilderConfig(typing_extensions.TypedDict, total=False): +class BuilderConfig(typing.TypedDict, total=False): id: str @typing.type_check_only -class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): +class CISAKnownExploitedVulnerabilities(typing.TypedDict, total=False): knownRansomwareCampaignUse: str @typing.type_check_only -class CVSS(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSS(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", "ATTACK_COMPLEXITY_MEDIUM", ] - attackRequirements: typing_extensions.Literal[ + attackRequirements: typing.Literal[ "ATTACK_REQUIREMENTS_UNSPECIFIED", "ATTACK_REQUIREMENTS_NONE", "ATTACK_REQUIREMENTS_PRESENT", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - authentication: typing_extensions.Literal[ + authentication: typing.Literal[ "AUTHENTICATION_UNSPECIFIED", "AUTHENTICATION_MULTIPLE", "AUTHENTICATION_SINGLE", "AUTHENTICATION_NONE", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -197,7 +194,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_COMPLETE", ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -205,7 +202,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - exploitMaturity: typing_extensions.Literal[ + exploitMaturity: typing.Literal[ "EXPLOIT_MATURITY_UNSPECIFIED", "EXPLOIT_MATURITY_NOT_DEFINED", "EXPLOIT_MATURITY_ATTACKED", @@ -214,7 +211,7 @@ class CVSS(typing_extensions.TypedDict, total=False): ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -222,16 +219,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - subsequentSystemAvailabilityImpact: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + subsequentSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -239,7 +234,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemConfidentialityImpact: typing_extensions.Literal[ + subsequentSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -247,7 +242,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemIntegrityImpact: typing_extensions.Literal[ + subsequentSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -255,14 +250,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - userInteraction: typing_extensions.Literal[ + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", "USER_INTERACTION_PASSIVE", "USER_INTERACTION_ACTIVE", ] - vulnerableSystemAvailabilityImpact: typing_extensions.Literal[ + vulnerableSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -270,7 +265,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemConfidentialityImpact: typing_extensions.Literal[ + vulnerableSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -278,7 +273,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemIntegrityImpact: typing_extensions.Literal[ + vulnerableSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -288,14 +283,14 @@ class CVSS(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CisBenchmark(typing_extensions.TypedDict, total=False): +class CisBenchmark(typing.TypedDict, total=False): profileLevel: int - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class Command(typing_extensions.TypedDict, total=False): +class Command(typing.TypedDict, total=False): args: _list[str] dir: str env: _list[str] @@ -304,13 +299,13 @@ class Command(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class Completeness(typing_extensions.TypedDict, total=False): +class Completeness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class ComplianceNote(typing_extensions.TypedDict, total=False): +class ComplianceNote(typing.TypedDict, total=False): cisBenchmark: CisBenchmark description: str impact: str @@ -321,36 +316,36 @@ class ComplianceNote(typing_extensions.TypedDict, total=False): version: _list[ComplianceVersion] @typing.type_check_only -class ComplianceOccurrence(typing_extensions.TypedDict, total=False): +class ComplianceOccurrence(typing.TypedDict, total=False): nonComplianceReason: str nonCompliantFiles: _list[NonCompliantFile] version: ComplianceVersion @typing.type_check_only -class ComplianceVersion(typing_extensions.TypedDict, total=False): +class ComplianceVersion(typing.TypedDict, total=False): benchmarkDocument: str cpeUri: str version: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approvalRequired: bool @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact @@ -369,7 +364,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str paths: _list[str] @@ -377,14 +372,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): folder: str registryPath: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modulePath: str moduleVersion: str @@ -395,7 +390,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactId: str deployFolder: str @@ -406,14 +401,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): packagePath: str repository: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): file: str registryPath: str @@ -421,15 +416,13 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): paths: _list[str] repository: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Build(typing.TypedDict, total=False): approval: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval artifacts: ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts availableSecrets: ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets @@ -453,7 +446,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( source: ContaineranalysisGoogleDevtoolsCloudbuildV1Source sourceProvenance: ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -475,20 +468,20 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): config: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig result: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -500,10 +493,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automapSubstitutions: bool - defaultLogsBucketBehavior: typing_extensions.Literal[ + defaultLogsBucketBehavior: typing.Literal[ "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", "REGIONAL_USER_OWNED_BUCKET", "LEGACY_BUCKET", @@ -512,10 +505,8 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( dynamicSubstitutions: bool enableStructuredLogging: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -523,7 +514,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", @@ -534,26 +525,26 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( ] pool: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption pubsubTopic: str - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal[ + typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] ] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] workerPool: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowExitCodes: _list[int] allowFailure: bool @@ -569,7 +560,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( results: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -588,34 +579,32 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: dict[str, typing.Any] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str digest: str name: str - ociMediaType: typing_extensions.Literal[ + ociMediaType: typing.Literal[ "OCI_MEDIA_TYPE_UNSPECIFIED", "IMAGE_MANIFEST", "IMAGE_INDEX" ] pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str repository: str @@ -623,7 +612,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): empty: bool genericArtifact: ( @@ -633,14 +622,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destPath: str resource: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): depth: str destPath: str @@ -650,14 +639,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): developerConnect: str url: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str gitRepositoryLink: str @@ -665,49 +654,47 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileHash: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Hash] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): http: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): proxySecretVersionName: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str revision: str url: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash(typing.TypedDict, total=False): + type: typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): branchName: str commitSha: str @@ -719,9 +706,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource( tagName: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] @@ -742,30 +727,24 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( ] @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Secret( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): env: str versionName: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets(typing.TypedDict, total=False): inline: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret] secretManager: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret] @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Source( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Source(typing.TypedDict, total=False): connectedRepository: ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository developerConnectConfig: ( ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig @@ -779,7 +758,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Source( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileHashes: dict[str, typing.Any] resolvedConnectedRepository: ( @@ -794,7 +773,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attestationContent: str attestationType: str @@ -802,18 +781,16 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bucket: str generation: str object: str - sourceFetcher: typing_extensions.Literal[ - "SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER" - ] + sourceFetcher: typing.Literal["SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER"] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bucket: str generation: str @@ -821,14 +798,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactFingerprint: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes artifactRegistryPackage: str @@ -838,7 +815,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -847,7 +824,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -856,7 +833,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -865,7 +842,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -873,53 +850,51 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( uri: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class CreateOperationRequest(typing_extensions.TypedDict, total=False): +class CreateOperationRequest(typing.TypedDict, total=False): operation: Operation operationId: str @typing.type_check_only -class DSSEAttestationNote(typing_extensions.TypedDict, total=False): +class DSSEAttestationNote(typing.TypedDict, total=False): hint: DSSEHint @typing.type_check_only -class DSSEAttestationOccurrence(typing_extensions.TypedDict, total=False): +class DSSEAttestationOccurrence(typing.TypedDict, total=False): envelope: Envelope statement: InTotoStatement @typing.type_check_only -class DSSEHint(typing_extensions.TypedDict, total=False): +class DSSEHint(typing.TypedDict, total=False): humanReadableName: str @typing.type_check_only -class Deployable(typing_extensions.TypedDict, total=False): +class Deployable(typing.TypedDict, total=False): resourceUri: _list[str] @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): address: str config: str deployTime: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] resourceUri: _list[str] undeployTime: str userEmail: str @typing.type_check_only -class Derived(typing_extensions.TypedDict, total=False): +class Derived(typing.TypedDict, total=False): baseResourceUrl: str distance: int fingerprint: Fingerprint layerInfo: _list[Layer] @typing.type_check_only -class Detail(typing_extensions.TypedDict, total=False): +class Detail(typing.TypedDict, total=False): cpeUri: str description: str fixedLocation: VulnerabilityLocation @@ -933,15 +908,15 @@ class Detail(typing_extensions.TypedDict, total=False): vendor: str @typing.type_check_only -class Digest(typing_extensions.TypedDict, total=False): +class Digest(typing.TypedDict, total=False): algo: str digestBytes: str @typing.type_check_only -class Discovered(typing_extensions.TypedDict, total=False): +class Discovered(typing.TypedDict, total=False): analysisCompleted: AnalysisCompleted analysisError: _list[Status] - analysisStatus: typing_extensions.Literal[ + analysisStatus: typing.Literal[ "ANALYSIS_STATUS_UNSPECIFIED", "PENDING", "SCANNING", @@ -952,7 +927,7 @@ class Discovered(typing_extensions.TypedDict, total=False): ] analysisStatusError: Status archiveTime: str - continuousAnalysis: typing_extensions.Literal[ + continuousAnalysis: typing.Literal[ "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str @@ -964,8 +939,8 @@ class Discovered(typing_extensions.TypedDict, total=False): vulnerabilityAttestation: VulnerabilityAttestation @typing.type_check_only -class Discovery(typing_extensions.TypedDict, total=False): - analysisKind: typing_extensions.Literal[ +class Discovery(typing.TypedDict, total=False): + analysisKind: typing.Literal[ "KIND_UNSPECIFIED", "PACKAGE_VULNERABILITY", "BUILD_DETAILS", @@ -988,8 +963,8 @@ class Discovery(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Distribution(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class Distribution(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str description: str latestVersion: Version @@ -997,12 +972,12 @@ class Distribution(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class DocumentNote(typing_extensions.TypedDict, total=False): +class DocumentNote(typing.TypedDict, total=False): dataLicence: str spdxVersion: str @typing.type_check_only -class DocumentOccurrence(typing_extensions.TypedDict, total=False): +class DocumentOccurrence(typing.TypedDict, total=False): createTime: str creatorComment: str creators: _list[str] @@ -1014,34 +989,34 @@ class DocumentOccurrence(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Envelope(typing_extensions.TypedDict, total=False): +class Envelope(typing.TypedDict, total=False): payload: str payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class EnvelopeSignature(typing_extensions.TypedDict, total=False): +class EnvelopeSignature(typing.TypedDict, total=False): keyid: str sig: str @typing.type_check_only -class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): +class ExploitPredictionScoringSystem(typing.TypedDict, total=False): percentile: float score: float @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalRef(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class ExternalRef(typing.TypedDict, total=False): + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "SECURITY", "PACKAGE_MANAGER", "PERSISTENT_ID", "OTHER" ] comment: str @@ -1049,24 +1024,24 @@ class ExternalRef(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class FileLocation(typing_extensions.TypedDict, total=False): +class FileLocation(typing.TypedDict, total=False): filePath: str layerDetails: LayerDetails lineNumber: int @typing.type_check_only -class FileNote(typing_extensions.TypedDict, total=False): +class FileNote(typing.TypedDict, total=False): checksum: _list[str] - fileType: typing_extensions.Literal[ + fileType: typing.Literal[ "FILE_TYPE_UNSPECIFIED", "SOURCE", "BINARY", @@ -1083,7 +1058,7 @@ class FileNote(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class FileOccurrence(typing_extensions.TypedDict, total=False): +class FileOccurrence(typing.TypedDict, total=False): attributions: _list[str] comment: str contributors: _list[str] @@ -1094,48 +1069,48 @@ class FileOccurrence(typing_extensions.TypedDict, total=False): notice: str @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): category: str details: str location: FindingLocation - scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + scanner: typing.Literal[ + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] @typing.type_check_only -class FindingLocation(typing_extensions.TypedDict, total=False): +class FindingLocation(typing.TypedDict, total=False): filePath: str lineNumber: str @typing.type_check_only -class Fingerprint(typing_extensions.TypedDict, total=False): +class Fingerprint(typing.TypedDict, total=False): v1Name: str v2Blob: _list[str] v2Name: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GetVulnzOccurrencesSummaryResponse(typing_extensions.TypedDict, total=False): +class GetVulnzOccurrencesSummaryResponse(typing.TypedDict, total=False): counts: _list[SeverityCount] @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1AliasContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] + kind: typing.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] name: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aliasContext: GoogleDevtoolsContaineranalysisV1alpha1AliasContext repoId: GoogleDevtoolsContaineranalysisV1alpha1RepoId @@ -1143,7 +1118,7 @@ class GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext( @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aliasContext: GoogleDevtoolsContaineranalysisV1alpha1AliasContext gerritProject: str @@ -1152,41 +1127,39 @@ class GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext( @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): revisionId: str url: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str repoName: str @typing.type_check_only -class GoogleDevtoolsContaineranalysisV1alpha1RepoId( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsContaineranalysisV1alpha1RepoId(typing.TypedDict, total=False): projectRepoId: GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId uid: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environment: bool materials: bool @@ -1194,7 +1167,7 @@ class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletene @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digest: dict[str, typing.Any] entryPoint: str @@ -1202,7 +1175,7 @@ class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSour @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configSource: ( GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource @@ -1212,14 +1185,14 @@ class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digest: dict[str, typing.Any] uri: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): buildFinishedOn: str buildInvocationId: str @@ -1231,7 +1204,7 @@ class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata( @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1SourceContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudRepo: GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext gerrit: GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext @@ -1239,33 +1212,31 @@ class GoogleDevtoolsContaineranalysisV1alpha1SourceContext( labels: dict[str, typing.Any] @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["NONE", "SHA256", "GO_MODULE_H1", "DIRSUM_SHA256"] +class Hash(typing.TypedDict, total=False): + type: typing.Literal["NONE", "SHA256", "GO_MODULE_H1", "DIRSUM_SHA256"] value: str @typing.type_check_only -class IdentifierHelper(typing_extensions.TypedDict, total=False): - field: typing_extensions.Literal[ - "IDENTIFIER_HELPER_FIELD_UNSPECIFIED", "GENERIC_URI" - ] +class IdentifierHelper(typing.TypedDict, total=False): + field: typing.Literal["IDENTIFIER_HELPER_FIELD_UNSPECIFIED", "GENERIC_URI"] genericUri: str @typing.type_check_only -class InTotoProvenance(typing_extensions.TypedDict, total=False): +class InTotoProvenance(typing.TypedDict, total=False): builderConfig: BuilderConfig materials: _list[str] metadata: Metadata recipe: Recipe @typing.type_check_only -class InTotoSlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class InTotoSlsaProvenanceV1(typing.TypedDict, total=False): _type: str predicate: SlsaProvenanceV1 predicateType: str subject: _list[Subject] @typing.type_check_only -class InTotoStatement(typing_extensions.TypedDict, total=False): +class InTotoStatement(typing.TypedDict, total=False): _type: str predicateType: str provenance: InTotoProvenance @@ -1274,8 +1245,8 @@ class InTotoStatement(typing_extensions.TypedDict, total=False): subject: _list[Subject] @typing.type_check_only -class Installation(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class Installation(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str license: License location: _list[Location] @@ -1284,9 +1255,9 @@ class Installation(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class Justification(typing_extensions.TypedDict, total=False): +class Justification(typing.TypedDict, total=False): details: str - justificationType: typing_extensions.Literal[ + justificationType: typing.Literal[ "JUSTIFICATION_TYPE_UNSPECIFIED", "COMPONENT_NOT_PRESENT", "VULNERABLE_CODE_NOT_PRESENT", @@ -1296,9 +1267,9 @@ class Justification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Layer(typing_extensions.TypedDict, total=False): +class Layer(typing.TypedDict, total=False): arguments: str - directive: typing_extensions.Literal[ + directive: typing.Literal[ "DIRECTIVE_UNSPECIFIED", "MAINTAINER", "RUN", @@ -1320,7 +1291,7 @@ class Layer(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LayerDetails(typing_extensions.TypedDict, total=False): +class LayerDetails(typing.TypedDict, total=False): baseImages: _list[BaseImage] chainId: str command: str @@ -1328,43 +1299,58 @@ class LayerDetails(typing_extensions.TypedDict, total=False): index: int @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): comments: str expression: str @typing.type_check_only -class ListNoteOccurrencesResponse(typing_extensions.TypedDict, total=False): +class ListNoteOccurrencesResponse(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] @typing.type_check_only -class ListNotesResponse(typing_extensions.TypedDict, total=False): +class ListNotesResponse(typing.TypedDict, total=False): nextPageToken: str notes: _list[Note] @typing.type_check_only -class ListOccurrencesResponse(typing_extensions.TypedDict, total=False): +class ListOccurrencesResponse(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] @typing.type_check_only -class ListScanConfigsResponse(typing_extensions.TypedDict, total=False): +class ListScanConfigsResponse(typing.TypedDict, total=False): nextPageToken: str scanConfigs: _list[ScanConfig] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): cpeUri: str path: str version: Version @typing.type_check_only -class Material(typing_extensions.TypedDict, total=False): +class MaliciousContentLLMResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanState: typing.Literal["SCAN_STATE_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MaliciousContentStaticResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanState: typing.Literal["SCAN_STATE_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MalwareScanResult(typing.TypedDict, total=False): + scanState: typing.Literal["SCAN_STATE_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] + +@typing.type_check_only +class Material(typing.TypedDict, total=False): digest: dict[str, typing.Any] uri: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -1372,13 +1358,13 @@ class Metadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class NonCompliantFile(typing_extensions.TypedDict, total=False): +class NonCompliantFile(typing.TypedDict, total=False): displayCommand: str path: str reason: str @typing.type_check_only -class Note(typing_extensions.TypedDict, total=False): +class Note(typing.TypedDict, total=False): aiSkillAnalysis: AISkillAnalysisNote attestationAuthority: AttestationAuthority baseImage: Basis @@ -1389,7 +1375,7 @@ class Note(typing_extensions.TypedDict, total=False): discovery: Discovery dsseAttestation: DSSEAttestationNote expirationTime: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "KIND_UNSPECIFIED", "PACKAGE_VULNERABILITY", "BUILD_DETAILS", @@ -1427,7 +1413,7 @@ class Note(typing_extensions.TypedDict, total=False): vulnerabilityType: VulnerabilityType @typing.type_check_only -class Occurrence(typing_extensions.TypedDict, total=False): +class Occurrence(typing.TypedDict, total=False): aiSkillAnalysis: AISkillAnalysisOccurrence attestation: Attestation buildDetails: BuildDetails @@ -1439,7 +1425,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): dsseAttestation: DSSEAttestationOccurrence envelope: Envelope installation: Installation - kind: typing_extensions.Literal[ + kind: typing.Literal[ "KIND_UNSPECIFIED", "PACKAGE_VULNERABILITY", "BUILD_DETAILS", @@ -1476,7 +1462,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): vulnerabilityDetails: VulnerabilityDetails @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1484,8 +1470,8 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class Package(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str description: str digest: _list[Digest] @@ -1498,7 +1484,7 @@ class Package(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class PackageInfoNote(typing_extensions.TypedDict, total=False): +class PackageInfoNote(typing.TypedDict, total=False): analyzed: bool attribution: str checksum: str @@ -1518,7 +1504,7 @@ class PackageInfoNote(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PackageInfoOccurrence(typing_extensions.TypedDict, total=False): +class PackageInfoOccurrence(typing.TypedDict, total=False): comment: str filename: str homePage: str @@ -1531,9 +1517,9 @@ class PackageInfoOccurrence(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PackageIssue(typing_extensions.TypedDict, total=False): +class PackageIssue(typing.TypedDict, total=False): affectedLocation: VulnerabilityLocation - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] fixedLocation: VulnerabilityLocation @@ -1541,39 +1527,44 @@ class PackageIssue(typing_extensions.TypedDict, total=False): severityName: str @typing.type_check_only -class PgpSignedAttestation(typing_extensions.TypedDict, total=False): - contentType: typing_extensions.Literal[ - "CONTENT_TYPE_UNSPECIFIED", "SIMPLE_SIGNING_JSON" - ] +class PerScannerVerdict(typing.TypedDict, total=False): + maliciousContentLlmResult: MaliciousContentLLMResult + maliciousContentStaticResult: MaliciousContentStaticResult + malwareScan: MalwareScanResult + workspacePolicy: WorkspacePolicyResult + +@typing.type_check_only +class PgpSignedAttestation(typing.TypedDict, total=False): + contentType: typing.Literal["CONTENT_TYPE_UNSPECIFIED", "SIMPLE_SIGNING_JSON"] pgpKeyId: str signature: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): id: str identifierHelper: IdentifierHelper name: str @typing.type_check_only -class ProvenanceBuilder(typing_extensions.TypedDict, total=False): +class ProvenanceBuilder(typing.TypedDict, total=False): builderDependencies: _list[ResourceDescriptor] id: str version: dict[str, typing.Any] @typing.type_check_only -class Publisher(typing_extensions.TypedDict, total=False): +class Publisher(typing.TypedDict, total=False): issuingAuthority: str name: str publisherNamespace: str @typing.type_check_only -class Recipe(typing_extensions.TypedDict, total=False): +class Recipe(typing.TypedDict, total=False): arguments: _list[dict[str, typing.Any]] definedInMaterial: str entryPoint: str @@ -1581,13 +1572,13 @@ class Recipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RelatedUrl(typing_extensions.TypedDict, total=False): +class RelatedUrl(typing.TypedDict, total=False): label: str url: str @typing.type_check_only -class RelationshipNote(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class RelationshipNote(typing.TypedDict, total=False): + type: typing.Literal[ "RELATIONSHIP_TYPE_UNSPECIFIED", "DESCRIBES", "DESCRIBED_BY", @@ -1635,11 +1626,11 @@ class RelationshipNote(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RelationshipOccurrence(typing_extensions.TypedDict, total=False): +class RelationshipOccurrence(typing.TypedDict, total=False): comment: str source: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "RELATIONSHIP_TYPE_UNSPECIFIED", "DESCRIBES", "DESCRIBED_BY", @@ -1687,9 +1678,9 @@ class RelationshipOccurrence(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Remediation(typing_extensions.TypedDict, total=False): +class Remediation(typing.TypedDict, total=False): details: str - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "MITIGATION", "NO_FIX_PLANNED", @@ -1700,7 +1691,7 @@ class Remediation(typing_extensions.TypedDict, total=False): remediationUri: URI @typing.type_check_only -class RepoSource(typing_extensions.TypedDict, total=False): +class RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str projectId: str @@ -1708,13 +1699,13 @@ class RepoSource(typing_extensions.TypedDict, total=False): tagName: str @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): contentHash: Hash name: str uri: str @typing.type_check_only -class ResourceDescriptor(typing_extensions.TypedDict, total=False): +class ResourceDescriptor(typing.TypedDict, total=False): annotations: dict[str, typing.Any] content: str digest: dict[str, typing.Any] @@ -1724,50 +1715,48 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Risk(typing_extensions.TypedDict, total=False): +class Risk(typing.TypedDict, total=False): cisaKev: CISAKnownExploitedVulnerabilities epss: ExploitPredictionScoringSystem @typing.type_check_only -class RunDetails(typing_extensions.TypedDict, total=False): +class RunDetails(typing.TypedDict, total=False): builder: ProvenanceBuilder byproducts: _list[ResourceDescriptor] metadata: BuildMetadata @typing.type_check_only -class SBOMReferenceNote(typing_extensions.TypedDict, total=False): +class SBOMReferenceNote(typing.TypedDict, total=False): format: str version: str @typing.type_check_only -class SBOMReferenceOccurrence(typing_extensions.TypedDict, total=False): +class SBOMReferenceOccurrence(typing.TypedDict, total=False): payload: SbomReferenceIntotoPayload payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class SBOMStatus(typing_extensions.TypedDict, total=False): +class SBOMStatus(typing.TypedDict, total=False): error: str - sbomState: typing_extensions.Literal[ - "SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE" - ] + sbomState: typing.Literal["SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE"] @typing.type_check_only -class SbomReferenceIntotoPayload(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPayload(typing.TypedDict, total=False): _type: str predicate: SbomReferenceIntotoPredicate predicateType: str subject: _list[Subject] @typing.type_check_only -class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPredicate(typing.TypedDict, total=False): digest: dict[str, typing.Any] location: str mimeType: str referrerId: str @typing.type_check_only -class ScanConfig(typing_extensions.TypedDict, total=False): +class ScanConfig(typing.TypedDict, total=False): createTime: str description: str enabled: bool @@ -1775,15 +1764,15 @@ class ScanConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SecretLocation(typing_extensions.TypedDict, total=False): +class SecretLocation(typing.TypedDict, total=False): fileLocation: FileLocation @typing.type_check_only -class SecretNote(typing_extensions.TypedDict, total=False): ... +class SecretNote(typing.TypedDict, total=False): ... @typing.type_check_only -class SecretOccurrence(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ +class SecretOccurrence(typing.TypedDict, total=False): + kind: typing.Literal[ "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", @@ -1812,36 +1801,34 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): statuses: _list[SecretStatus] @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): message: str - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID"] updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class SeverityCount(typing_extensions.TypedDict, total=False): +class SeverityCount(typing.TypedDict, total=False): count: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class SlsaBuilder(typing_extensions.TypedDict, total=False): +class SlsaBuilder(typing.TypedDict, total=False): id: str @typing.type_check_only -class SlsaCompleteness(typing_extensions.TypedDict, total=False): +class SlsaCompleteness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class SlsaMetadata(typing_extensions.TypedDict, total=False): +class SlsaMetadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -1849,19 +1836,19 @@ class SlsaMetadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class SlsaProvenance(typing_extensions.TypedDict, total=False): +class SlsaProvenance(typing.TypedDict, total=False): builder: SlsaBuilder materials: _list[Material] metadata: SlsaMetadata recipe: SlsaRecipe @typing.type_check_only -class SlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class SlsaProvenanceV1(typing.TypedDict, total=False): buildDefinition: BuildDefinition runDetails: RunDetails @typing.type_check_only -class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): +class SlsaProvenanceZeroTwo(typing.TypedDict, total=False): buildConfig: dict[str, typing.Any] buildType: str builder: GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder @@ -1874,7 +1861,7 @@ class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): metadata: GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata @typing.type_check_only -class SlsaRecipe(typing_extensions.TypedDict, total=False): +class SlsaRecipe(typing.TypedDict, total=False): arguments: dict[str, typing.Any] definedInMaterial: str entryPoint: str @@ -1882,7 +1869,7 @@ class SlsaRecipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): additionalContexts: _list[GoogleDevtoolsContaineranalysisV1alpha1SourceContext] artifactStorageSource: StorageSource context: GoogleDevtoolsContaineranalysisV1alpha1SourceContext @@ -1891,98 +1878,98 @@ class Source(typing_extensions.TypedDict, total=False): storageSource: StorageSource @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StepResult(typing_extensions.TypedDict, total=False): +class StepResult(typing.TypedDict, total=False): attestationContentName: str attestationType: str name: str @typing.type_check_only -class StorageSource(typing_extensions.TypedDict, total=False): +class StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): +class Subject(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeSpan(typing_extensions.TypedDict, total=False): +class TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class URI(typing_extensions.TypedDict, total=False): +class URI(typing.TypedDict, total=False): label: str uri: str @typing.type_check_only -class UpdateOperationRequest(typing_extensions.TypedDict, total=False): +class UpdateOperationRequest(typing.TypedDict, total=False): operation: Operation updateMask: str @typing.type_check_only -class UpgradeDistribution(typing_extensions.TypedDict, total=False): +class UpgradeDistribution(typing.TypedDict, total=False): classification: str cpeUri: str cve: _list[str] severity: str @typing.type_check_only -class UpgradeNote(typing_extensions.TypedDict, total=False): +class UpgradeNote(typing.TypedDict, total=False): distributions: _list[UpgradeDistribution] package: str version: Version @typing.type_check_only -class UpgradeOccurrence(typing_extensions.TypedDict, total=False): +class UpgradeOccurrence(typing.TypedDict, total=False): distribution: UpgradeDistribution package: str parsedVersion: Version @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): epoch: int inclusive: bool - kind: typing_extensions.Literal["NORMAL", "MINIMUM", "MAXIMUM"] + kind: typing.Literal["NORMAL", "MINIMUM", "MAXIMUM"] name: str revision: str @typing.type_check_only -class VexAssessment(typing_extensions.TypedDict, total=False): +class VexAssessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification noteName: str relatedUris: _list[URI] remediations: _list[Remediation] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class VulnerabilityAssessmentNote(typing_extensions.TypedDict, total=False): +class VulnerabilityAssessmentNote(typing.TypedDict, total=False): assessment: Assessment languageCode: str longDescription: str @@ -1992,52 +1979,57 @@ class VulnerabilityAssessmentNote(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class VulnerabilityAttestation(typing_extensions.TypedDict, total=False): +class VulnerabilityAttestation(typing.TypedDict, total=False): error: str lastAttemptTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED", "SUCCESS", "FAILURE" ] @typing.type_check_only -class VulnerabilityDetails(typing_extensions.TypedDict, total=False): +class VulnerabilityDetails(typing.TypedDict, total=False): cvssScore: float cvssV2: CVSS cvssV3: CVSS cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] extraDetails: str packageIssue: _list[PackageIssue] risk: Risk - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] type: str vexAssessment: VexAssessment @typing.type_check_only -class VulnerabilityLocation(typing_extensions.TypedDict, total=False): +class VulnerabilityLocation(typing.TypedDict, total=False): cpeUri: str fileLocation: _list[FileLocation] package: str version: Version @typing.type_check_only -class VulnerabilityType(typing_extensions.TypedDict, total=False): +class VulnerabilityType(typing.TypedDict, total=False): advisoryPublishTime: str cvssScore: float cvssV2: CVSS cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] cwe: _list[str] details: _list[Detail] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] + +@typing.type_check_only +class WorkspacePolicyResult(typing.TypedDict, total=False): + scanState: typing.Literal["SCAN_STATE_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi index 766bf4a80..9cdb280b1 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi index d22bfe659..fab597c94 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi @@ -1,43 +1,42 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AISkillAnalysisNote(typing_extensions.TypedDict, total=False): ... +class AISkillAnalysisNote(typing.TypedDict, total=False): ... @typing.type_check_only -class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): +class AISkillAnalysisOccurrence(typing.TypedDict, total=False): findings: _list[Finding] - maxSeverity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + perScannerVerdict: PerScannerVerdict skillName: str @typing.type_check_only -class AliasContext(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] +class AliasContext(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] name: str @typing.type_check_only -class AnalysisCompleted(typing_extensions.TypedDict, total=False): +class AnalysisCompleted(typing.TypedDict, total=False): analysisType: _list[str] @typing.type_check_only -class Artifact(typing_extensions.TypedDict, total=False): +class Artifact(typing.TypedDict, total=False): checksum: str id: str names: _list[str] @typing.type_check_only -class ArtifactHashes(typing_extensions.TypedDict, total=False): +class ArtifactHashes(typing.TypedDict, total=False): sha256: str @typing.type_check_only -class ArtifactRule(typing_extensions.TypedDict, total=False): +class ArtifactRule(typing.TypedDict, total=False): artifactRule: _list[str] @typing.type_check_only -class Assessment(typing_extensions.TypedDict, total=False): +class Assessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification @@ -45,67 +44,67 @@ class Assessment(typing_extensions.TypedDict, total=False): relatedUris: _list[RelatedUrl] remediations: _list[Remediation] shortDescription: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class Attestation(typing_extensions.TypedDict, total=False): +class Attestation(typing.TypedDict, total=False): genericSignedAttestation: GenericSignedAttestation pgpSignedAttestation: PgpSignedAttestation @typing.type_check_only -class Authority(typing_extensions.TypedDict, total=False): +class Authority(typing.TypedDict, total=False): hint: Hint @typing.type_check_only -class Basis(typing_extensions.TypedDict, total=False): +class Basis(typing.TypedDict, total=False): fingerprint: Fingerprint resourceUrl: str @typing.type_check_only -class BatchCreateNotesRequest(typing_extensions.TypedDict, total=False): +class BatchCreateNotesRequest(typing.TypedDict, total=False): notes: dict[str, typing.Any] @typing.type_check_only -class BatchCreateNotesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateNotesResponse(typing.TypedDict, total=False): notes: _list[Note] @typing.type_check_only -class BatchCreateOccurrencesRequest(typing_extensions.TypedDict, total=False): +class BatchCreateOccurrencesRequest(typing.TypedDict, total=False): occurrences: _list[Occurrence] @typing.type_check_only -class BatchCreateOccurrencesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateOccurrencesResponse(typing.TypedDict, total=False): occurrences: _list[Occurrence] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): builderVersion: str signature: BuildSignature @typing.type_check_only -class BuildDefinition(typing_extensions.TypedDict, total=False): +class BuildDefinition(typing.TypedDict, total=False): buildType: str externalParameters: dict[str, typing.Any] internalParameters: dict[str, typing.Any] resolvedDependencies: _list[ResourceDescriptor] @typing.type_check_only -class BuildMetadata(typing_extensions.TypedDict, total=False): +class BuildMetadata(typing.TypedDict, total=False): finishedOn: str invocationId: str startedOn: str @typing.type_check_only -class BuildProvenance(typing_extensions.TypedDict, total=False): +class BuildProvenance(typing.TypedDict, total=False): buildOptions: dict[str, typing.Any] builderVersion: str builtArtifacts: _list[Artifact] @@ -121,16 +120,14 @@ class BuildProvenance(typing_extensions.TypedDict, total=False): triggerId: str @typing.type_check_only -class BuildSignature(typing_extensions.TypedDict, total=False): +class BuildSignature(typing.TypedDict, total=False): keyId: str - keyType: typing_extensions.Literal[ - "KEY_TYPE_UNSPECIFIED", "PGP_ASCII_ARMORED", "PKIX_PEM" - ] + keyType: typing.Literal["KEY_TYPE_UNSPECIFIED", "PGP_ASCII_ARMORED", "PKIX_PEM"] publicKey: str signature: str @typing.type_check_only -class BuildStep(typing_extensions.TypedDict, total=False): +class BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -146,7 +143,7 @@ class BuildStep(typing_extensions.TypedDict, total=False): results: _list[StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUING", @@ -165,36 +162,36 @@ class BuildStep(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class ByProducts(typing_extensions.TypedDict, total=False): +class ByProducts(typing.TypedDict, total=False): customValues: dict[str, typing.Any] @typing.type_check_only -class CVSS(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSS(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", "ATTACK_COMPLEXITY_MEDIUM", ] - attackRequirements: typing_extensions.Literal[ + attackRequirements: typing.Literal[ "ATTACK_REQUIREMENTS_UNSPECIFIED", "ATTACK_REQUIREMENTS_NONE", "ATTACK_REQUIREMENTS_PRESENT", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - authentication: typing_extensions.Literal[ + authentication: typing.Literal[ "AUTHENTICATION_UNSPECIFIED", "AUTHENTICATION_MULTIPLE", "AUTHENTICATION_SINGLE", "AUTHENTICATION_NONE", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -203,7 +200,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_COMPLETE", ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -211,7 +208,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - exploitMaturity: typing_extensions.Literal[ + exploitMaturity: typing.Literal[ "EXPLOIT_MATURITY_UNSPECIFIED", "EXPLOIT_MATURITY_NOT_DEFINED", "EXPLOIT_MATURITY_ATTACKED", @@ -220,7 +217,7 @@ class CVSS(typing_extensions.TypedDict, total=False): ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -228,16 +225,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - subsequentSystemAvailabilityImpact: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + subsequentSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -245,7 +240,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemConfidentialityImpact: typing_extensions.Literal[ + subsequentSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -253,7 +248,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemIntegrityImpact: typing_extensions.Literal[ + subsequentSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -261,14 +256,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - userInteraction: typing_extensions.Literal[ + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", "USER_INTERACTION_PASSIVE", "USER_INTERACTION_ACTIVE", ] - vulnerableSystemAvailabilityImpact: typing_extensions.Literal[ + vulnerableSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -276,7 +271,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemConfidentialityImpact: typing_extensions.Literal[ + vulnerableSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -284,7 +279,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemIntegrityImpact: typing_extensions.Literal[ + vulnerableSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -294,54 +289,52 @@ class CVSS(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CVSSv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSSv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class CloudRepoSourceContext(typing_extensions.TypedDict, total=False): +class CloudRepoSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext repoId: RepoId revisionId: str @typing.type_check_only -class Command(typing_extensions.TypedDict, total=False): +class Command(typing.TypedDict, total=False): args: _list[str] dir: str env: _list[str] @@ -351,23 +344,23 @@ class Command(typing_extensions.TypedDict, total=False): @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approvalRequired: bool @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericArtifacts: _list[ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact @@ -386,7 +379,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str paths: _list[str] @@ -394,14 +387,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): folder: str registryPath: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modulePath: str moduleVersion: str @@ -412,7 +405,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactId: str deployFolder: str @@ -423,14 +416,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): packagePath: str repository: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): file: str registryPath: str @@ -438,15 +431,13 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): paths: _list[str] repository: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Build(typing.TypedDict, total=False): approval: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval artifacts: ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts availableSecrets: ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets @@ -470,7 +461,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( source: ContaineranalysisGoogleDevtoolsCloudbuildV1Source sourceProvenance: ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -492,20 +483,20 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Build( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): config: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig result: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -517,10 +508,10 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): automapSubstitutions: bool - defaultLogsBucketBehavior: typing_extensions.Literal[ + defaultLogsBucketBehavior: typing.Literal[ "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", "REGIONAL_USER_OWNED_BUCKET", "LEGACY_BUCKET", @@ -529,10 +520,8 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( dynamicSubstitutions: bool enableStructuredLogging: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -540,7 +529,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", @@ -551,26 +540,26 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions( ] pool: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption pubsubTopic: str - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal[ + typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] ] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Volume] workerPool: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowExitCodes: _list[int] allowFailure: bool @@ -586,7 +575,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( results: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -605,34 +594,32 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: dict[str, typing.Any] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str digest: str name: str - ociMediaType: typing_extensions.Literal[ + ociMediaType: typing.Literal[ "OCI_MEDIA_TYPE_UNSPECIFIED", "IMAGE_MANIFEST", "IMAGE_INDEX" ] pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str repository: str @@ -640,7 +627,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): empty: bool genericArtifact: ( @@ -650,14 +637,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destPath: str resource: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): depth: str destPath: str @@ -667,14 +654,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): developerConnect: str url: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str gitRepositoryLink: str @@ -682,49 +669,47 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileHash: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1Hash] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): http: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): proxySecretVersionName: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dir: str revision: str url: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash(typing.TypedDict, total=False): + type: typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): branchName: str commitSha: str @@ -736,9 +721,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource( tagName: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] @@ -759,30 +742,24 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Results( ] @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Secret( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): env: str versionName: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets(typing.TypedDict, total=False): inline: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret] secretManager: _list[ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret] @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Source( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Source(typing.TypedDict, total=False): connectedRepository: ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository developerConnectConfig: ( ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig @@ -796,7 +773,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1Source( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileHashes: dict[str, typing.Any] resolvedConnectedRepository: ( @@ -811,7 +788,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attestationContent: str attestationType: str @@ -819,18 +796,16 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bucket: str generation: str object: str - sourceFetcher: typing_extensions.Literal[ - "SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER" - ] + sourceFetcher: typing.Literal["SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER"] @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bucket: str generation: str @@ -838,14 +813,14 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactFingerprint: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes artifactRegistryPackage: str @@ -855,7 +830,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -864,7 +839,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -873,7 +848,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -882,7 +857,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( @typing.type_check_only class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes @@ -890,35 +865,33 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( uri: str @typing.type_check_only -class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume( - typing_extensions.TypedDict, total=False -): +class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class Deployable(typing_extensions.TypedDict, total=False): +class Deployable(typing.TypedDict, total=False): resourceUri: _list[str] @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): address: str config: str deployTime: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] resourceUri: _list[str] undeployTime: str userEmail: str @typing.type_check_only -class Derived(typing_extensions.TypedDict, total=False): +class Derived(typing.TypedDict, total=False): baseResourceUrl: str distance: int fingerprint: Fingerprint layerInfo: _list[Layer] @typing.type_check_only -class Detail(typing_extensions.TypedDict, total=False): +class Detail(typing.TypedDict, total=False): cpeUri: str description: str fixedLocation: VulnerabilityLocation @@ -933,19 +906,19 @@ class Detail(typing_extensions.TypedDict, total=False): vendor: str @typing.type_check_only -class Details(typing_extensions.TypedDict, total=False): +class Details(typing.TypedDict, total=False): attestation: Attestation @typing.type_check_only -class Digest(typing_extensions.TypedDict, total=False): +class Digest(typing.TypedDict, total=False): algo: str digestBytes: str @typing.type_check_only -class Discovered(typing_extensions.TypedDict, total=False): +class Discovered(typing.TypedDict, total=False): analysisCompleted: AnalysisCompleted analysisError: _list[Status] - analysisStatus: typing_extensions.Literal[ + analysisStatus: typing.Literal[ "ANALYSIS_STATUS_UNSPECIFIED", "PENDING", "SCANNING", @@ -955,7 +928,7 @@ class Discovered(typing_extensions.TypedDict, total=False): "FINISHED_UNSUPPORTED", ] analysisStatusError: Status - continuousAnalysis: typing_extensions.Literal[ + continuousAnalysis: typing.Literal[ "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] files: _list[File] @@ -965,8 +938,8 @@ class Discovered(typing_extensions.TypedDict, total=False): sbomStatus: SBOMStatus @typing.type_check_only -class Discovery(typing_extensions.TypedDict, total=False): - analysisKind: typing_extensions.Literal[ +class Discovery(typing.TypedDict, total=False): + analysisKind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -987,8 +960,8 @@ class Discovery(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Distribution(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class Distribution(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str description: str latestVersion: Version @@ -996,12 +969,12 @@ class Distribution(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class DocumentNote(typing_extensions.TypedDict, total=False): +class DocumentNote(typing.TypedDict, total=False): dataLicence: str spdxVersion: str @typing.type_check_only -class DocumentOccurrence(typing_extensions.TypedDict, total=False): +class DocumentOccurrence(typing.TypedDict, total=False): createTime: str creatorComment: str creators: _list[str] @@ -1013,40 +986,40 @@ class DocumentOccurrence(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Envelope(typing_extensions.TypedDict, total=False): +class Envelope(typing.TypedDict, total=False): payload: str payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class EnvelopeSignature(typing_extensions.TypedDict, total=False): +class EnvelopeSignature(typing.TypedDict, total=False): keyid: str sig: str @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): customValues: dict[str, typing.Any] @typing.type_check_only -class ExportSBOMRequest(typing_extensions.TypedDict, total=False): ... +class ExportSBOMRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportSBOMResponse(typing_extensions.TypedDict, total=False): +class ExportSBOMResponse(typing.TypedDict, total=False): discoveryOccurrenceId: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalRef(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class ExternalRef(typing.TypedDict, total=False): + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "SECURITY", "PACKAGE_MANAGER", "PERSISTENT_ID", "OTHER" ] comment: str @@ -1054,22 +1027,22 @@ class ExternalRef(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class FileLocation(typing_extensions.TypedDict, total=False): +class FileLocation(typing.TypedDict, total=False): filePath: str @typing.type_check_only -class FileNote(typing_extensions.TypedDict, total=False): +class FileNote(typing.TypedDict, total=False): checksum: _list[str] - fileType: typing_extensions.Literal[ + fileType: typing.Literal[ "FILE_TYPE_UNSPECIFIED", "SOURCE", "BINARY", @@ -1086,7 +1059,7 @@ class FileNote(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class FileOccurrence(typing_extensions.TypedDict, total=False): +class FileOccurrence(typing.TypedDict, total=False): attributions: _list[str] comment: str contributors: _list[str] @@ -1097,127 +1070,125 @@ class FileOccurrence(typing_extensions.TypedDict, total=False): notice: str @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): category: str details: str location: FindingLocation - scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + scanner: typing.Literal[ + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] @typing.type_check_only -class FindingLocation(typing_extensions.TypedDict, total=False): +class FindingLocation(typing.TypedDict, total=False): filePath: str lineNumber: str @typing.type_check_only -class Fingerprint(typing_extensions.TypedDict, total=False): +class Fingerprint(typing.TypedDict, total=False): v1Name: str v2Blob: _list[str] v2Name: str @typing.type_check_only -class FixableTotalByDigest(typing_extensions.TypedDict, total=False): +class FixableTotalByDigest(typing.TypedDict, total=False): fixableCount: str resource: Resource - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] totalCount: str @typing.type_check_only -class GeneratePackagesSummaryRequest(typing_extensions.TypedDict, total=False): ... +class GeneratePackagesSummaryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GenericSignedAttestation(typing_extensions.TypedDict, total=False): - contentType: typing_extensions.Literal[ - "CONTENT_TYPE_UNSPECIFIED", "SIMPLE_SIGNING_JSON" - ] +class GenericSignedAttestation(typing.TypedDict, total=False): + contentType: typing.Literal["CONTENT_TYPE_UNSPECIFIED", "SIMPLE_SIGNING_JSON"] serializedPayload: str signatures: _list[Signature] @typing.type_check_only -class GerritSourceContext(typing_extensions.TypedDict, total=False): +class GerritSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext gerritProject: str hostUri: str revisionId: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GitSourceContext(typing_extensions.TypedDict, total=False): +class GitSourceContext(typing.TypedDict, total=False): revisionId: str url: str @typing.type_check_only class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str endTime: str @typing.type_check_only -class GrafeasV1beta1BuildDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1BuildDetails(typing.TypedDict, total=False): inTotoSlsaProvenanceV1: InTotoSlsaProvenanceV1 provenance: BuildProvenance provenanceBytes: str @typing.type_check_only -class GrafeasV1beta1DeploymentDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1DeploymentDetails(typing.TypedDict, total=False): deployment: Deployment @typing.type_check_only -class GrafeasV1beta1DiscoveryDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1DiscoveryDetails(typing.TypedDict, total=False): discovered: Discovered @typing.type_check_only -class GrafeasV1beta1ImageDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1ImageDetails(typing.TypedDict, total=False): derivedImage: Derived @typing.type_check_only -class GrafeasV1beta1IntotoArtifact(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1IntotoArtifact(typing.TypedDict, total=False): hashes: ArtifactHashes resourceUri: str @typing.type_check_only -class GrafeasV1beta1IntotoDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1IntotoDetails(typing.TypedDict, total=False): signatures: _list[GrafeasV1beta1IntotoSignature] signed: Link @typing.type_check_only -class GrafeasV1beta1IntotoSignature(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1IntotoSignature(typing.TypedDict, total=False): keyid: str sig: str @typing.type_check_only -class GrafeasV1beta1PackageDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1PackageDetails(typing.TypedDict, total=False): installation: Installation @typing.type_check_only -class GrafeasV1beta1VulnerabilityDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1beta1VulnerabilityDetails(typing.TypedDict, total=False): cvssScore: float cvssV2: CVSS cvssV3: CVSS cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] extraDetails: str longDescription: str packageIssue: _list[PackageIssue] relatedUrls: _list[RelatedUrl] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] shortDescription: str @@ -1225,18 +1196,18 @@ class GrafeasV1beta1VulnerabilityDetails(typing_extensions.TypedDict, total=Fals vexAssessment: VexAssessment @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class Hash(typing.TypedDict, total=False): + type: typing.Literal[ "HASH_TYPE_UNSPECIFIED", "SHA256", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @typing.type_check_only -class Hint(typing_extensions.TypedDict, total=False): +class Hint(typing.TypedDict, total=False): humanReadableName: str @typing.type_check_only -class InToto(typing_extensions.TypedDict, total=False): +class InToto(typing.TypedDict, total=False): expectedCommand: _list[str] expectedMaterials: _list[ArtifactRule] expectedProducts: _list[ArtifactRule] @@ -1245,15 +1216,15 @@ class InToto(typing_extensions.TypedDict, total=False): threshold: str @typing.type_check_only -class InTotoSlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class InTotoSlsaProvenanceV1(typing.TypedDict, total=False): _type: str predicate: SlsaProvenanceV1 predicateType: str subject: _list[Subject] @typing.type_check_only -class Installation(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class Installation(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str license: License location: _list[Location] @@ -1262,9 +1233,9 @@ class Installation(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class Justification(typing_extensions.TypedDict, total=False): +class Justification(typing.TypedDict, total=False): details: str - justificationType: typing_extensions.Literal[ + justificationType: typing.Literal[ "JUSTIFICATION_TYPE_UNSPECIFIED", "COMPONENT_NOT_PRESENT", "VULNERABLE_CODE_NOT_PRESENT", @@ -1274,14 +1245,14 @@ class Justification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class KnowledgeBase(typing_extensions.TypedDict, total=False): +class KnowledgeBase(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class Layer(typing_extensions.TypedDict, total=False): +class Layer(typing.TypedDict, total=False): arguments: str - directive: typing_extensions.Literal[ + directive: typing.Literal[ "DIRECTIVE_UNSPECIFIED", "MAINTAINER", "RUN", @@ -1303,17 +1274,17 @@ class Layer(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): comments: str expression: str @typing.type_check_only -class LicensesSummary(typing_extensions.TypedDict, total=False): +class LicensesSummary(typing.TypedDict, total=False): count: str license: str @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): byproducts: ByProducts command: _list[str] environment: Environment @@ -1321,30 +1292,45 @@ class Link(typing_extensions.TypedDict, total=False): products: _list[GrafeasV1beta1IntotoArtifact] @typing.type_check_only -class ListNoteOccurrencesResponse(typing_extensions.TypedDict, total=False): +class ListNoteOccurrencesResponse(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] @typing.type_check_only -class ListNotesResponse(typing_extensions.TypedDict, total=False): +class ListNotesResponse(typing.TypedDict, total=False): nextPageToken: str notes: _list[Note] unreachable: _list[str] @typing.type_check_only -class ListOccurrencesResponse(typing_extensions.TypedDict, total=False): +class ListOccurrencesResponse(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): cpeUri: str path: str version: Version @typing.type_check_only -class Note(typing_extensions.TypedDict, total=False): +class MaliciousContentLLMResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MaliciousContentStaticResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MalwareScanResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] + +@typing.type_check_only +class Note(typing.TypedDict, total=False): aiSkillAnalysis: AISkillAnalysisNote attestationAuthority: Authority baseImage: Basis @@ -1354,7 +1340,7 @@ class Note(typing_extensions.TypedDict, total=False): discovery: Discovery expirationTime: str intoto: InToto - kind: typing_extensions.Literal[ + kind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -1390,7 +1376,7 @@ class Note(typing_extensions.TypedDict, total=False): vulnerabilityAssessment: VulnerabilityAssessmentNote @typing.type_check_only -class Occurrence(typing_extensions.TypedDict, total=False): +class Occurrence(typing.TypedDict, total=False): aiSkillAnalysis: AISkillAnalysisOccurrence attestation: Details build: GrafeasV1beta1BuildDetails @@ -1401,7 +1387,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): envelope: Envelope installation: GrafeasV1beta1PackageDetails intoto: GrafeasV1beta1IntotoDetails - kind: typing_extensions.Literal[ + kind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -1434,8 +1420,8 @@ class Occurrence(typing_extensions.TypedDict, total=False): vulnerability: GrafeasV1beta1VulnerabilityDetails @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class Package(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str description: str digest: _list[Digest] @@ -1448,7 +1434,7 @@ class Package(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class PackageInfoNote(typing_extensions.TypedDict, total=False): +class PackageInfoNote(typing.TypedDict, total=False): analyzed: bool attribution: str checksum: str @@ -1468,7 +1454,7 @@ class PackageInfoNote(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PackageInfoOccurrence(typing_extensions.TypedDict, total=False): +class PackageInfoOccurrence(typing.TypedDict, total=False): comment: str filename: str homePage: str @@ -1481,9 +1467,9 @@ class PackageInfoOccurrence(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PackageIssue(typing_extensions.TypedDict, total=False): +class PackageIssue(typing.TypedDict, total=False): affectedLocation: VulnerabilityLocation - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] fixedLocation: VulnerabilityLocation @@ -1491,55 +1477,60 @@ class PackageIssue(typing_extensions.TypedDict, total=False): severityName: str @typing.type_check_only -class PackagesSummaryResponse(typing_extensions.TypedDict, total=False): +class PackagesSummaryResponse(typing.TypedDict, total=False): licensesSummary: _list[LicensesSummary] resourceUrl: str @typing.type_check_only -class PgpSignedAttestation(typing_extensions.TypedDict, total=False): - contentType: typing_extensions.Literal[ - "CONTENT_TYPE_UNSPECIFIED", "SIMPLE_SIGNING_JSON" - ] +class PerScannerVerdict(typing.TypedDict, total=False): + maliciousContentLlmResult: MaliciousContentLLMResult + maliciousContentStaticResult: MaliciousContentStaticResult + malwareScan: MalwareScanResult + workspacePolicy: WorkspacePolicyResult + +@typing.type_check_only +class PgpSignedAttestation(typing.TypedDict, total=False): + contentType: typing.Literal["CONTENT_TYPE_UNSPECIFIED", "SIMPLE_SIGNING_JSON"] pgpKeyId: str signature: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): genericUri: str id: str name: str @typing.type_check_only -class ProjectRepoId(typing_extensions.TypedDict, total=False): +class ProjectRepoId(typing.TypedDict, total=False): projectId: str repoName: str @typing.type_check_only -class ProvenanceBuilder(typing_extensions.TypedDict, total=False): +class ProvenanceBuilder(typing.TypedDict, total=False): builderDependencies: _list[ResourceDescriptor] id: str version: dict[str, typing.Any] @typing.type_check_only -class Publisher(typing_extensions.TypedDict, total=False): +class Publisher(typing.TypedDict, total=False): issuingAuthority: str name: str publisherNamespace: str @typing.type_check_only -class RelatedUrl(typing_extensions.TypedDict, total=False): +class RelatedUrl(typing.TypedDict, total=False): label: str url: str @typing.type_check_only -class RelationshipNote(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class RelationshipNote(typing.TypedDict, total=False): + type: typing.Literal[ "RELATIONSHIP_TYPE_UNSPECIFIED", "DESCRIBES", "DESCRIBED_BY", @@ -1587,11 +1578,11 @@ class RelationshipNote(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RelationshipOccurrence(typing_extensions.TypedDict, total=False): +class RelationshipOccurrence(typing.TypedDict, total=False): comment: str source: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "RELATIONSHIP_TYPE_UNSPECIFIED", "DESCRIBES", "DESCRIBED_BY", @@ -1639,9 +1630,9 @@ class RelationshipOccurrence(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Remediation(typing_extensions.TypedDict, total=False): +class Remediation(typing.TypedDict, total=False): details: str - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "MITIGATION", "NO_FIX_PLANNED", @@ -1652,18 +1643,18 @@ class Remediation(typing_extensions.TypedDict, total=False): remediationUri: RelatedUrl @typing.type_check_only -class RepoId(typing_extensions.TypedDict, total=False): +class RepoId(typing.TypedDict, total=False): projectRepoId: ProjectRepoId uid: str @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): contentHash: Hash name: str uri: str @typing.type_check_only -class ResourceDescriptor(typing_extensions.TypedDict, total=False): +class ResourceDescriptor(typing.TypedDict, total=False): annotations: dict[str, typing.Any] content: str digest: dict[str, typing.Any] @@ -1673,53 +1664,51 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class RunDetails(typing_extensions.TypedDict, total=False): +class RunDetails(typing.TypedDict, total=False): builder: ProvenanceBuilder byproducts: _list[ResourceDescriptor] metadata: BuildMetadata @typing.type_check_only -class SBOMReferenceNote(typing_extensions.TypedDict, total=False): +class SBOMReferenceNote(typing.TypedDict, total=False): format: str version: str @typing.type_check_only -class SBOMReferenceOccurrence(typing_extensions.TypedDict, total=False): +class SBOMReferenceOccurrence(typing.TypedDict, total=False): payload: SbomReferenceIntotoPayload payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class SBOMStatus(typing_extensions.TypedDict, total=False): +class SBOMStatus(typing.TypedDict, total=False): error: str - sbomState: typing_extensions.Literal[ - "SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE" - ] + sbomState: typing.Literal["SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE"] @typing.type_check_only -class SbomReferenceIntotoPayload(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPayload(typing.TypedDict, total=False): _type: str predicate: SbomReferenceIntotoPredicate predicateType: str subject: _list[Subject] @typing.type_check_only -class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPredicate(typing.TypedDict, total=False): digest: dict[str, typing.Any] location: str mimeType: str referrerId: str @typing.type_check_only -class SecretLocation(typing_extensions.TypedDict, total=False): +class SecretLocation(typing.TypedDict, total=False): fileLocation: FileLocation @typing.type_check_only -class SecretNote(typing_extensions.TypedDict, total=False): ... +class SecretNote(typing.TypedDict, total=False): ... @typing.type_check_only -class SecretOccurrence(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ +class SecretOccurrence(typing.TypedDict, total=False): + kind: typing.Literal[ "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", @@ -1748,126 +1737,122 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): statuses: _list[SecretStatus] @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): message: str - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID"] updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): publicKeyId: str signature: str @typing.type_check_only -class SigningKey(typing_extensions.TypedDict, total=False): +class SigningKey(typing.TypedDict, total=False): keyId: str keyScheme: str keyType: str publicKeyValue: str @typing.type_check_only -class SlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class SlsaProvenanceV1(typing.TypedDict, total=False): buildDefinition: BuildDefinition runDetails: RunDetails @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): additionalContexts: _list[SourceContext] artifactStorageSourceUri: str context: SourceContext fileHashes: dict[str, typing.Any] @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): cloudRepo: CloudRepoSourceContext gerrit: GerritSourceContext git: GitSourceContext labels: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StepResult(typing_extensions.TypedDict, total=False): +class StepResult(typing.TypedDict, total=False): attestationContentName: str attestationType: str name: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): +class Subject(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeSpan(typing_extensions.TypedDict, total=False): +class TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): epoch: int inclusive: bool - kind: typing_extensions.Literal[ - "VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM" - ] + kind: typing.Literal["VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM"] name: str revision: str @typing.type_check_only -class VexAssessment(typing_extensions.TypedDict, total=False): +class VexAssessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification noteName: str relatedUris: _list[RelatedUrl] remediations: _list[Remediation] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class Vulnerability(typing_extensions.TypedDict, total=False): +class Vulnerability(typing.TypedDict, total=False): advisoryPublishTime: str cvssScore: float cvssV2: CVSS cvssV3: CVSSv3 cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] cwe: _list[str] details: _list[Detail] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] sourceUpdateTime: str windowsDetails: _list[WindowsDetail] @typing.type_check_only -class VulnerabilityAssessmentNote(typing_extensions.TypedDict, total=False): +class VulnerabilityAssessmentNote(typing.TypedDict, total=False): assessment: Assessment languageCode: str longDescription: str @@ -1877,19 +1862,24 @@ class VulnerabilityAssessmentNote(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class VulnerabilityLocation(typing_extensions.TypedDict, total=False): +class VulnerabilityLocation(typing.TypedDict, total=False): cpeUri: str package: str version: Version @typing.type_check_only -class VulnerabilityOccurrencesSummary(typing_extensions.TypedDict, total=False): +class VulnerabilityOccurrencesSummary(typing.TypedDict, total=False): counts: _list[FixableTotalByDigest] unreachable: _list[str] @typing.type_check_only -class WindowsDetail(typing_extensions.TypedDict, total=False): +class WindowsDetail(typing.TypedDict, total=False): cpeUri: str description: str fixingKbs: _list[KnowledgeBase] name: str + +@typing.type_check_only +class WorkspacePolicyResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] diff --git a/googleapiclient-stubs/_apis/content/v2/resources.pyi b/googleapiclient-stubs/_apis/content/v2/resources.pyi index 50027f492..de152b7f6 100644 --- a/googleapiclient-stubs/_apis/content/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/content/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -372,7 +371,7 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): createdEndDate: str | None = ..., createdStartDate: str | None = ..., maxResults: int | None = ..., - orderBy: typing_extensions.Literal[ + orderBy: typing.Literal[ "RETURN_CREATION_TIME_DESC", "RETURN_CREATION_TIME_ASC" ] | None = ..., @@ -450,7 +449,7 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): self, *, merchantId: str, - templateName: typing_extensions.Literal[ + templateName: typing.Literal[ "TEMPLATE1", "TEMPLATE2", "TEMPLATE1A", "TEMPLATE1B", "TEMPLATE3" ], country: str | None = ..., @@ -474,7 +473,7 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., placedDateEnd: str | None = ..., placedDateStart: str | None = ..., - statuses: typing_extensions.Literal[ + statuses: typing.Literal[ "ACTIVE", "COMPLETED", "CANCELED", @@ -488,7 +487,7 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): "RETURNED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "ACTIVE", "COMPLETED", "CANCELED", diff --git a/googleapiclient-stubs/_apis/content/v2/schemas.pyi b/googleapiclient-stubs/_apis/content/v2/schemas.pyi index 6d8bae4f2..fc47a2d7d 100644 --- a/googleapiclient-stubs/_apis/content/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/content/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): adultContent: bool adwordsLinks: _list[AccountAdwordsLink] businessInformation: AccountBusinessInformation @@ -20,7 +18,7 @@ class Account(typing_extensions.TypedDict, total=False): youtubeChannelLinks: _list[AccountYouTubeChannelLink] @typing.type_check_only -class AccountAddress(typing_extensions.TypedDict, total=False): +class AccountAddress(typing.TypedDict, total=False): country: str locality: str postalCode: str @@ -28,35 +26,35 @@ class AccountAddress(typing_extensions.TypedDict, total=False): streetAddress: str @typing.type_check_only -class AccountAdwordsLink(typing_extensions.TypedDict, total=False): +class AccountAdwordsLink(typing.TypedDict, total=False): adwordsId: str status: str @typing.type_check_only -class AccountBusinessInformation(typing_extensions.TypedDict, total=False): +class AccountBusinessInformation(typing.TypedDict, total=False): address: AccountAddress customerService: AccountCustomerService koreanBusinessRegistrationNumber: str phoneNumber: str @typing.type_check_only -class AccountCustomerService(typing_extensions.TypedDict, total=False): +class AccountCustomerService(typing.TypedDict, total=False): email: str phoneNumber: str url: str @typing.type_check_only -class AccountGoogleMyBusinessLink(typing_extensions.TypedDict, total=False): +class AccountGoogleMyBusinessLink(typing.TypedDict, total=False): gmbEmail: str status: str @typing.type_check_only -class AccountIdentifier(typing_extensions.TypedDict, total=False): +class AccountIdentifier(typing.TypedDict, total=False): aggregatorId: str merchantId: str @typing.type_check_only -class AccountStatus(typing_extensions.TypedDict, total=False): +class AccountStatus(typing.TypedDict, total=False): accountId: str accountLevelIssues: _list[AccountStatusAccountLevelIssue] dataQualityIssues: _list[AccountStatusDataQualityIssue] @@ -65,7 +63,7 @@ class AccountStatus(typing_extensions.TypedDict, total=False): websiteClaimed: bool @typing.type_check_only -class AccountStatusAccountLevelIssue(typing_extensions.TypedDict, total=False): +class AccountStatusAccountLevelIssue(typing.TypedDict, total=False): country: str destination: str detail: str @@ -75,7 +73,7 @@ class AccountStatusAccountLevelIssue(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AccountStatusDataQualityIssue(typing_extensions.TypedDict, total=False): +class AccountStatusDataQualityIssue(typing.TypedDict, total=False): country: str destination: str detail: str @@ -89,7 +87,7 @@ class AccountStatusDataQualityIssue(typing_extensions.TypedDict, total=False): submittedValue: str @typing.type_check_only -class AccountStatusExampleItem(typing_extensions.TypedDict, total=False): +class AccountStatusExampleItem(typing.TypedDict, total=False): itemId: str link: str submittedValue: str @@ -97,7 +95,7 @@ class AccountStatusExampleItem(typing_extensions.TypedDict, total=False): valueOnLandingPage: str @typing.type_check_only -class AccountStatusItemLevelIssue(typing_extensions.TypedDict, total=False): +class AccountStatusItemLevelIssue(typing.TypedDict, total=False): attributeName: str code: str description: str @@ -108,7 +106,7 @@ class AccountStatusItemLevelIssue(typing_extensions.TypedDict, total=False): servability: str @typing.type_check_only -class AccountStatusProducts(typing_extensions.TypedDict, total=False): +class AccountStatusProducts(typing.TypedDict, total=False): channel: str country: str destination: str @@ -116,20 +114,20 @@ class AccountStatusProducts(typing_extensions.TypedDict, total=False): statistics: AccountStatusStatistics @typing.type_check_only -class AccountStatusStatistics(typing_extensions.TypedDict, total=False): +class AccountStatusStatistics(typing.TypedDict, total=False): active: str disapproved: str expiring: str pending: str @typing.type_check_only -class AccountTax(typing_extensions.TypedDict, total=False): +class AccountTax(typing.TypedDict, total=False): accountId: str kind: str rules: _list[AccountTaxTaxRule] @typing.type_check_only -class AccountTaxTaxRule(typing_extensions.TypedDict, total=False): +class AccountTaxTaxRule(typing.TypedDict, total=False): country: str locationId: str ratePercent: str @@ -137,7 +135,7 @@ class AccountTaxTaxRule(typing_extensions.TypedDict, total=False): useGlobalRate: bool @typing.type_check_only -class AccountUser(typing_extensions.TypedDict, total=False): +class AccountUser(typing.TypedDict, total=False): admin: bool emailAddress: str orderManager: bool @@ -145,25 +143,25 @@ class AccountUser(typing_extensions.TypedDict, total=False): paymentsManager: bool @typing.type_check_only -class AccountYouTubeChannelLink(typing_extensions.TypedDict, total=False): +class AccountYouTubeChannelLink(typing.TypedDict, total=False): channelId: str status: str @typing.type_check_only -class AccountsAuthInfoResponse(typing_extensions.TypedDict, total=False): +class AccountsAuthInfoResponse(typing.TypedDict, total=False): accountIdentifiers: _list[AccountIdentifier] kind: str @typing.type_check_only -class AccountsClaimWebsiteResponse(typing_extensions.TypedDict, total=False): +class AccountsClaimWebsiteResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class AccountsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[AccountsCustomBatchRequestEntry] @typing.type_check_only -class AccountsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchRequestEntry(typing.TypedDict, total=False): account: Account accountId: str batchId: int @@ -175,20 +173,18 @@ class AccountsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): overwrite: bool @typing.type_check_only -class AccountsCustomBatchRequestEntryLinkRequest( - typing_extensions.TypedDict, total=False -): +class AccountsCustomBatchRequestEntryLinkRequest(typing.TypedDict, total=False): action: str linkType: str linkedAccountId: str @typing.type_check_only -class AccountsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[AccountsCustomBatchResponseEntry] kind: str @typing.type_check_only -class AccountsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchResponseEntry(typing.TypedDict, total=False): account: Account batchId: int errors: Errors @@ -196,27 +192,27 @@ class AccountsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False) linkStatus: str @typing.type_check_only -class AccountsLinkRequest(typing_extensions.TypedDict, total=False): +class AccountsLinkRequest(typing.TypedDict, total=False): action: str linkType: str linkedAccountId: str @typing.type_check_only -class AccountsLinkResponse(typing_extensions.TypedDict, total=False): +class AccountsLinkResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class AccountsListResponse(typing_extensions.TypedDict, total=False): +class AccountsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[Account] @typing.type_check_only -class AccountstatusesCustomBatchRequest(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchRequest(typing.TypedDict, total=False): entries: _list[AccountstatusesCustomBatchRequestEntry] @typing.type_check_only -class AccountstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str batchId: int destinations: _list[str] @@ -224,28 +220,28 @@ class AccountstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total= method: str @typing.type_check_only -class AccountstatusesCustomBatchResponse(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchResponse(typing.TypedDict, total=False): entries: _list[AccountstatusesCustomBatchResponseEntry] kind: str @typing.type_check_only -class AccountstatusesCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchResponseEntry(typing.TypedDict, total=False): accountStatus: AccountStatus batchId: int errors: Errors @typing.type_check_only -class AccountstatusesListResponse(typing_extensions.TypedDict, total=False): +class AccountstatusesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[AccountStatus] @typing.type_check_only -class AccounttaxCustomBatchRequest(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchRequest(typing.TypedDict, total=False): entries: _list[AccounttaxCustomBatchRequestEntry] @typing.type_check_only -class AccounttaxCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str accountTax: AccountTax batchId: int @@ -253,25 +249,25 @@ class AccounttaxCustomBatchRequestEntry(typing_extensions.TypedDict, total=False method: str @typing.type_check_only -class AccounttaxCustomBatchResponse(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchResponse(typing.TypedDict, total=False): entries: _list[AccounttaxCustomBatchResponseEntry] kind: str @typing.type_check_only -class AccounttaxCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchResponseEntry(typing.TypedDict, total=False): accountTax: AccountTax batchId: int errors: Errors kind: str @typing.type_check_only -class AccounttaxListResponse(typing_extensions.TypedDict, total=False): +class AccounttaxListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[AccountTax] @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): administrativeArea: str city: str country: str @@ -279,16 +275,16 @@ class Address(typing_extensions.TypedDict, total=False): streetAddress: str @typing.type_check_only -class Amount(typing_extensions.TypedDict, total=False): +class Amount(typing.TypedDict, total=False): pretax: Price tax: Price @typing.type_check_only -class BusinessDayConfig(typing_extensions.TypedDict, total=False): +class BusinessDayConfig(typing.TypedDict, total=False): businessDays: _list[str] @typing.type_check_only -class CarrierRate(typing_extensions.TypedDict, total=False): +class CarrierRate(typing.TypedDict, total=False): carrierName: str carrierService: str flatAdjustment: Price @@ -297,37 +293,37 @@ class CarrierRate(typing_extensions.TypedDict, total=False): percentageAdjustment: str @typing.type_check_only -class CarriersCarrier(typing_extensions.TypedDict, total=False): +class CarriersCarrier(typing.TypedDict, total=False): country: str eddServices: _list[str] name: str services: _list[str] @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): name: str type: str unit: str value: str @typing.type_check_only -class CustomGroup(typing_extensions.TypedDict, total=False): +class CustomGroup(typing.TypedDict, total=False): attributes: _list[CustomAttribute] name: str @typing.type_check_only -class CustomerReturnReason(typing_extensions.TypedDict, total=False): +class CustomerReturnReason(typing.TypedDict, total=False): description: str reasonCode: str @typing.type_check_only -class CutoffTime(typing_extensions.TypedDict, total=False): +class CutoffTime(typing.TypedDict, total=False): hour: int minute: int timezone: str @typing.type_check_only -class Datafeed(typing_extensions.TypedDict, total=False): +class Datafeed(typing.TypedDict, total=False): attributeLanguage: str contentLanguage: str contentType: str @@ -342,7 +338,7 @@ class Datafeed(typing_extensions.TypedDict, total=False): targets: _list[DatafeedTarget] @typing.type_check_only -class DatafeedFetchSchedule(typing_extensions.TypedDict, total=False): +class DatafeedFetchSchedule(typing.TypedDict, total=False): dayOfMonth: int fetchUrl: str hour: int @@ -354,13 +350,13 @@ class DatafeedFetchSchedule(typing_extensions.TypedDict, total=False): weekday: str @typing.type_check_only -class DatafeedFormat(typing_extensions.TypedDict, total=False): +class DatafeedFormat(typing.TypedDict, total=False): columnDelimiter: str fileEncoding: str quotingMode: str @typing.type_check_only -class DatafeedStatus(typing_extensions.TypedDict, total=False): +class DatafeedStatus(typing.TypedDict, total=False): country: str datafeedId: str errors: _list[DatafeedStatusError] @@ -373,31 +369,31 @@ class DatafeedStatus(typing_extensions.TypedDict, total=False): warnings: _list[DatafeedStatusError] @typing.type_check_only -class DatafeedStatusError(typing_extensions.TypedDict, total=False): +class DatafeedStatusError(typing.TypedDict, total=False): code: str count: str examples: _list[DatafeedStatusExample] message: str @typing.type_check_only -class DatafeedStatusExample(typing_extensions.TypedDict, total=False): +class DatafeedStatusExample(typing.TypedDict, total=False): itemId: str lineNumber: str value: str @typing.type_check_only -class DatafeedTarget(typing_extensions.TypedDict, total=False): +class DatafeedTarget(typing.TypedDict, total=False): country: str excludedDestinations: _list[str] includedDestinations: _list[str] language: str @typing.type_check_only -class DatafeedsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[DatafeedsCustomBatchRequestEntry] @typing.type_check_only -class DatafeedsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int datafeed: Datafeed datafeedId: str @@ -405,32 +401,32 @@ class DatafeedsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False) method: str @typing.type_check_only -class DatafeedsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[DatafeedsCustomBatchResponseEntry] kind: str @typing.type_check_only -class DatafeedsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int datafeed: Datafeed errors: Errors @typing.type_check_only -class DatafeedsFetchNowResponse(typing_extensions.TypedDict, total=False): +class DatafeedsFetchNowResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class DatafeedsListResponse(typing_extensions.TypedDict, total=False): +class DatafeedsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[Datafeed] @typing.type_check_only -class DatafeedstatusesCustomBatchRequest(typing_extensions.TypedDict, total=False): +class DatafeedstatusesCustomBatchRequest(typing.TypedDict, total=False): entries: _list[DatafeedstatusesCustomBatchRequestEntry] @typing.type_check_only -class DatafeedstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class DatafeedstatusesCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int country: str datafeedId: str @@ -439,26 +435,24 @@ class DatafeedstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total method: str @typing.type_check_only -class DatafeedstatusesCustomBatchResponse(typing_extensions.TypedDict, total=False): +class DatafeedstatusesCustomBatchResponse(typing.TypedDict, total=False): entries: _list[DatafeedstatusesCustomBatchResponseEntry] kind: str @typing.type_check_only -class DatafeedstatusesCustomBatchResponseEntry( - typing_extensions.TypedDict, total=False -): +class DatafeedstatusesCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int datafeedStatus: DatafeedStatus errors: Errors @typing.type_check_only -class DatafeedstatusesListResponse(typing_extensions.TypedDict, total=False): +class DatafeedstatusesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[DatafeedStatus] @typing.type_check_only -class DeliveryTime(typing_extensions.TypedDict, total=False): +class DeliveryTime(typing.TypedDict, total=False): cutoffTime: CutoffTime handlingBusinessDayConfig: BusinessDayConfig holidayCutoffs: _list[HolidayCutoff] @@ -471,31 +465,31 @@ class DeliveryTime(typing_extensions.TypedDict, total=False): warehouseBasedDeliveryTimes: _list[WarehouseBasedDeliveryTime] @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): domain: str message: str reason: str @typing.type_check_only -class Errors(typing_extensions.TypedDict, total=False): +class Errors(typing.TypedDict, total=False): code: int errors: _list[Error] message: str @typing.type_check_only -class GmbAccounts(typing_extensions.TypedDict, total=False): +class GmbAccounts(typing.TypedDict, total=False): accountId: str gmbAccounts: _list[GmbAccountsGmbAccount] @typing.type_check_only -class GmbAccountsGmbAccount(typing_extensions.TypedDict, total=False): +class GmbAccountsGmbAccount(typing.TypedDict, total=False): email: str listingCount: str name: str type: str @typing.type_check_only -class Headers(typing_extensions.TypedDict, total=False): +class Headers(typing.TypedDict, total=False): locations: _list[LocationIdSet] numberOfItems: _list[str] postalCodeGroupNames: _list[str] @@ -503,7 +497,7 @@ class Headers(typing_extensions.TypedDict, total=False): weights: _list[Weight] @typing.type_check_only -class HolidayCutoff(typing_extensions.TypedDict, total=False): +class HolidayCutoff(typing.TypedDict, total=False): deadlineDate: str deadlineHour: int deadlineTimezone: str @@ -511,7 +505,7 @@ class HolidayCutoff(typing_extensions.TypedDict, total=False): visibleFromDate: str @typing.type_check_only -class HolidaysHoliday(typing_extensions.TypedDict, total=False): +class HolidaysHoliday(typing.TypedDict, total=False): countryCode: str date: str deliveryGuaranteeDate: str @@ -520,12 +514,12 @@ class HolidaysHoliday(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Installment(typing_extensions.TypedDict, total=False): +class Installment(typing.TypedDict, total=False): amount: Price months: str @typing.type_check_only -class InvoiceSummary(typing_extensions.TypedDict, total=False): +class InvoiceSummary(typing.TypedDict, total=False): additionalChargeSummaries: _list[InvoiceSummaryAdditionalChargeSummary] customerBalance: Amount googleBalance: Amount @@ -534,17 +528,17 @@ class InvoiceSummary(typing_extensions.TypedDict, total=False): promotionSummaries: _list[Promotion] @typing.type_check_only -class InvoiceSummaryAdditionalChargeSummary(typing_extensions.TypedDict, total=False): +class InvoiceSummaryAdditionalChargeSummary(typing.TypedDict, total=False): totalAmount: Amount type: str @typing.type_check_only -class LiaAboutPageSettings(typing_extensions.TypedDict, total=False): +class LiaAboutPageSettings(typing.TypedDict, total=False): status: str url: str @typing.type_check_only -class LiaCountrySettings(typing_extensions.TypedDict, total=False): +class LiaCountrySettings(typing.TypedDict, total=False): about: LiaAboutPageSettings country: str hostedLocalStorefrontActive: bool @@ -554,34 +548,34 @@ class LiaCountrySettings(typing_extensions.TypedDict, total=False): storePickupActive: bool @typing.type_check_only -class LiaInventorySettings(typing_extensions.TypedDict, total=False): +class LiaInventorySettings(typing.TypedDict, total=False): inventoryVerificationContactEmail: str inventoryVerificationContactName: str inventoryVerificationContactStatus: str status: str @typing.type_check_only -class LiaOnDisplayToOrderSettings(typing_extensions.TypedDict, total=False): +class LiaOnDisplayToOrderSettings(typing.TypedDict, total=False): shippingCostPolicyUrl: str status: str @typing.type_check_only -class LiaPosDataProvider(typing_extensions.TypedDict, total=False): +class LiaPosDataProvider(typing.TypedDict, total=False): posDataProviderId: str posExternalAccountId: str @typing.type_check_only -class LiaSettings(typing_extensions.TypedDict, total=False): +class LiaSettings(typing.TypedDict, total=False): accountId: str countrySettings: _list[LiaCountrySettings] kind: str @typing.type_check_only -class LiasettingsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[LiasettingsCustomBatchRequestEntry] @typing.type_check_only -class LiasettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str batchId: int contactEmail: str @@ -595,12 +589,12 @@ class LiasettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total=Fals posExternalAccountId: str @typing.type_check_only -class LiasettingsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[LiasettingsCustomBatchResponseEntry] kind: str @typing.type_check_only -class LiasettingsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors gmbAccounts: GmbAccounts @@ -609,56 +603,50 @@ class LiasettingsCustomBatchResponseEntry(typing_extensions.TypedDict, total=Fal posDataProviders: _list[PosDataProviders] @typing.type_check_only -class LiasettingsGetAccessibleGmbAccountsResponse( - typing_extensions.TypedDict, total=False -): +class LiasettingsGetAccessibleGmbAccountsResponse(typing.TypedDict, total=False): accountId: str gmbAccounts: _list[GmbAccountsGmbAccount] kind: str @typing.type_check_only -class LiasettingsListPosDataProvidersResponse(typing_extensions.TypedDict, total=False): +class LiasettingsListPosDataProvidersResponse(typing.TypedDict, total=False): kind: str posDataProviders: _list[PosDataProviders] @typing.type_check_only -class LiasettingsListResponse(typing_extensions.TypedDict, total=False): +class LiasettingsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[LiaSettings] @typing.type_check_only -class LiasettingsRequestGmbAccessResponse(typing_extensions.TypedDict, total=False): +class LiasettingsRequestGmbAccessResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LiasettingsRequestInventoryVerificationResponse( - typing_extensions.TypedDict, total=False -): +class LiasettingsRequestInventoryVerificationResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LiasettingsSetInventoryVerificationContactResponse( - typing_extensions.TypedDict, total=False -): +class LiasettingsSetInventoryVerificationContactResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LiasettingsSetPosDataProviderResponse(typing_extensions.TypedDict, total=False): +class LiasettingsSetPosDataProviderResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LocationIdSet(typing_extensions.TypedDict, total=False): +class LocationIdSet(typing.TypedDict, total=False): locationIds: _list[str] @typing.type_check_only -class LoyaltyPoints(typing_extensions.TypedDict, total=False): +class LoyaltyPoints(typing.TypedDict, total=False): name: str pointsValue: str ratio: float @typing.type_check_only -class MerchantOrderReturn(typing_extensions.TypedDict, total=False): +class MerchantOrderReturn(typing.TypedDict, total=False): creationDate: str merchantOrderId: str orderId: str @@ -667,7 +655,7 @@ class MerchantOrderReturn(typing_extensions.TypedDict, total=False): returnShipments: _list[ReturnShipment] @typing.type_check_only -class MerchantOrderReturnItem(typing_extensions.TypedDict, total=False): +class MerchantOrderReturnItem(typing.TypedDict, total=False): customerReturnReason: CustomerReturnReason itemId: str merchantReturnReason: RefundReason @@ -676,18 +664,16 @@ class MerchantOrderReturnItem(typing_extensions.TypedDict, total=False): state: str @typing.type_check_only -class MinimumOrderValueTable(typing_extensions.TypedDict, total=False): +class MinimumOrderValueTable(typing.TypedDict, total=False): storeCodeSetWithMovs: _list[MinimumOrderValueTableStoreCodeSetWithMov] @typing.type_check_only -class MinimumOrderValueTableStoreCodeSetWithMov( - typing_extensions.TypedDict, total=False -): +class MinimumOrderValueTableStoreCodeSetWithMov(typing.TypedDict, total=False): storeCodes: _list[str] value: Price @typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): +class Order(typing.TypedDict, total=False): acknowledged: bool channelType: str customer: OrderCustomer @@ -712,7 +698,7 @@ class Order(typing_extensions.TypedDict, total=False): taxCollector: str @typing.type_check_only -class OrderAddress(typing_extensions.TypedDict, total=False): +class OrderAddress(typing.TypedDict, total=False): country: str fullAddress: _list[str] isPostOfficeBox: bool @@ -723,7 +709,7 @@ class OrderAddress(typing_extensions.TypedDict, total=False): streetAddress: _list[str] @typing.type_check_only -class OrderCancellation(typing_extensions.TypedDict, total=False): +class OrderCancellation(typing.TypedDict, total=False): actor: str creationDate: str quantity: int @@ -731,7 +717,7 @@ class OrderCancellation(typing_extensions.TypedDict, total=False): reasonText: str @typing.type_check_only -class OrderCustomer(typing_extensions.TypedDict, total=False): +class OrderCustomer(typing.TypedDict, total=False): email: str explicitMarketingPreference: bool fullName: str @@ -739,18 +725,18 @@ class OrderCustomer(typing_extensions.TypedDict, total=False): marketingRightsInfo: OrderCustomerMarketingRightsInfo @typing.type_check_only -class OrderCustomerMarketingRightsInfo(typing_extensions.TypedDict, total=False): +class OrderCustomerMarketingRightsInfo(typing.TypedDict, total=False): explicitMarketingPreference: str lastUpdatedTimestamp: str marketingEmailAddress: str @typing.type_check_only -class OrderDeliveryDetails(typing_extensions.TypedDict, total=False): +class OrderDeliveryDetails(typing.TypedDict, total=False): address: OrderAddress phoneNumber: str @typing.type_check_only -class OrderLegacyPromotion(typing_extensions.TypedDict, total=False): +class OrderLegacyPromotion(typing.TypedDict, total=False): benefits: _list[OrderLegacyPromotionBenefit] effectiveDates: str genericRedemptionCode: str @@ -760,7 +746,7 @@ class OrderLegacyPromotion(typing_extensions.TypedDict, total=False): redemptionChannel: str @typing.type_check_only -class OrderLegacyPromotionBenefit(typing_extensions.TypedDict, total=False): +class OrderLegacyPromotionBenefit(typing.TypedDict, total=False): discount: Price offerIds: _list[str] subType: str @@ -768,7 +754,7 @@ class OrderLegacyPromotionBenefit(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class OrderLineItem(typing_extensions.TypedDict, total=False): +class OrderLineItem(typing.TypedDict, total=False): annotations: _list[OrderMerchantProvidedAnnotation] cancellations: _list[OrderCancellation] id: str @@ -787,7 +773,7 @@ class OrderLineItem(typing_extensions.TypedDict, total=False): tax: Price @typing.type_check_only -class OrderLineItemProduct(typing_extensions.TypedDict, total=False): +class OrderLineItemProduct(typing.TypedDict, total=False): brand: str channel: str condition: str @@ -806,42 +792,42 @@ class OrderLineItemProduct(typing_extensions.TypedDict, total=False): variantAttributes: _list[OrderLineItemProductVariantAttribute] @typing.type_check_only -class OrderLineItemProductFee(typing_extensions.TypedDict, total=False): +class OrderLineItemProductFee(typing.TypedDict, total=False): amount: Price name: str @typing.type_check_only -class OrderLineItemProductVariantAttribute(typing_extensions.TypedDict, total=False): +class OrderLineItemProductVariantAttribute(typing.TypedDict, total=False): dimension: str value: str @typing.type_check_only -class OrderLineItemReturnInfo(typing_extensions.TypedDict, total=False): +class OrderLineItemReturnInfo(typing.TypedDict, total=False): daysToReturn: int isReturnable: bool policyUrl: str @typing.type_check_only -class OrderLineItemShippingDetails(typing_extensions.TypedDict, total=False): +class OrderLineItemShippingDetails(typing.TypedDict, total=False): deliverByDate: str method: OrderLineItemShippingDetailsMethod shipByDate: str type: str @typing.type_check_only -class OrderLineItemShippingDetailsMethod(typing_extensions.TypedDict, total=False): +class OrderLineItemShippingDetailsMethod(typing.TypedDict, total=False): carrier: str maxDaysInTransit: int methodName: str minDaysInTransit: int @typing.type_check_only -class OrderMerchantProvidedAnnotation(typing_extensions.TypedDict, total=False): +class OrderMerchantProvidedAnnotation(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class OrderPaymentMethod(typing_extensions.TypedDict, total=False): +class OrderPaymentMethod(typing.TypedDict, total=False): billingAddress: OrderAddress expirationMonth: int expirationYear: int @@ -850,18 +836,18 @@ class OrderPaymentMethod(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class OrderPickupDetails(typing_extensions.TypedDict, total=False): +class OrderPickupDetails(typing.TypedDict, total=False): address: OrderAddress collectors: _list[OrderPickupDetailsCollector] locationId: str @typing.type_check_only -class OrderPickupDetailsCollector(typing_extensions.TypedDict, total=False): +class OrderPickupDetailsCollector(typing.TypedDict, total=False): name: str phoneNumber: str @typing.type_check_only -class OrderRefund(typing_extensions.TypedDict, total=False): +class OrderRefund(typing.TypedDict, total=False): actor: str amount: Price creationDate: str @@ -869,7 +855,7 @@ class OrderRefund(typing_extensions.TypedDict, total=False): reasonText: str @typing.type_check_only -class OrderReportDisbursement(typing_extensions.TypedDict, total=False): +class OrderReportDisbursement(typing.TypedDict, total=False): disbursementAmount: Price disbursementCreationDate: str disbursementDate: str @@ -877,7 +863,7 @@ class OrderReportDisbursement(typing_extensions.TypedDict, total=False): merchantId: str @typing.type_check_only -class OrderReportTransaction(typing_extensions.TypedDict, total=False): +class OrderReportTransaction(typing.TypedDict, total=False): disbursementAmount: Price disbursementCreationDate: str disbursementDate: str @@ -890,7 +876,7 @@ class OrderReportTransaction(typing_extensions.TypedDict, total=False): transactionDate: str @typing.type_check_only -class OrderReturn(typing_extensions.TypedDict, total=False): +class OrderReturn(typing.TypedDict, total=False): actor: str creationDate: str quantity: int @@ -898,7 +884,7 @@ class OrderReturn(typing_extensions.TypedDict, total=False): reasonText: str @typing.type_check_only -class OrderShipment(typing_extensions.TypedDict, total=False): +class OrderShipment(typing.TypedDict, total=False): carrier: str creationDate: str deliveryDate: str @@ -909,18 +895,18 @@ class OrderShipment(typing_extensions.TypedDict, total=False): trackingId: str @typing.type_check_only -class OrderShipmentLineItemShipment(typing_extensions.TypedDict, total=False): +class OrderShipmentLineItemShipment(typing.TypedDict, total=False): lineItemId: str productId: str quantity: int @typing.type_check_only -class OrderShipmentScheduledDeliveryDetails(typing_extensions.TypedDict, total=False): +class OrderShipmentScheduledDeliveryDetails(typing.TypedDict, total=False): carrierPhoneNumber: str scheduledDate: str @typing.type_check_only -class OrderinvoicesCreateChargeInvoiceRequest(typing_extensions.TypedDict, total=False): +class OrderinvoicesCreateChargeInvoiceRequest(typing.TypedDict, total=False): invoiceId: str invoiceSummary: InvoiceSummary lineItemInvoices: _list[ShipmentInvoiceLineItemInvoice] @@ -928,14 +914,12 @@ class OrderinvoicesCreateChargeInvoiceRequest(typing_extensions.TypedDict, total shipmentGroupId: str @typing.type_check_only -class OrderinvoicesCreateChargeInvoiceResponse( - typing_extensions.TypedDict, total=False -): +class OrderinvoicesCreateChargeInvoiceResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrderinvoicesCreateRefundInvoiceRequest(typing_extensions.TypedDict, total=False): +class OrderinvoicesCreateRefundInvoiceRequest(typing.TypedDict, total=False): invoiceId: str operationId: str refundOnlyOption: ( @@ -945,59 +929,57 @@ class OrderinvoicesCreateRefundInvoiceRequest(typing_extensions.TypedDict, total shipmentInvoices: _list[ShipmentInvoice] @typing.type_check_only -class OrderinvoicesCreateRefundInvoiceResponse( - typing_extensions.TypedDict, total=False -): +class OrderinvoicesCreateRefundInvoiceResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str reason: str @typing.type_check_only class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str reason: str @typing.type_check_only -class OrderreportsListDisbursementsResponse(typing_extensions.TypedDict, total=False): +class OrderreportsListDisbursementsResponse(typing.TypedDict, total=False): disbursements: _list[OrderReportDisbursement] kind: str nextPageToken: str @typing.type_check_only -class OrderreportsListTransactionsResponse(typing_extensions.TypedDict, total=False): +class OrderreportsListTransactionsResponse(typing.TypedDict, total=False): kind: str nextPageToken: str transactions: _list[OrderReportTransaction] @typing.type_check_only -class OrderreturnsListResponse(typing_extensions.TypedDict, total=False): +class OrderreturnsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[MerchantOrderReturn] @typing.type_check_only -class OrdersAcknowledgeRequest(typing_extensions.TypedDict, total=False): +class OrdersAcknowledgeRequest(typing.TypedDict, total=False): operationId: str @typing.type_check_only -class OrdersAcknowledgeResponse(typing_extensions.TypedDict, total=False): +class OrdersAcknowledgeResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersAdvanceTestOrderResponse(typing_extensions.TypedDict, total=False): +class OrdersAdvanceTestOrderResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class OrdersCancelLineItemRequest(typing_extensions.TypedDict, total=False): +class OrdersCancelLineItemRequest(typing.TypedDict, total=False): amount: Price amountPretax: Price amountTax: Price @@ -1009,55 +991,55 @@ class OrdersCancelLineItemRequest(typing_extensions.TypedDict, total=False): reasonText: str @typing.type_check_only -class OrdersCancelLineItemResponse(typing_extensions.TypedDict, total=False): +class OrdersCancelLineItemResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersCancelRequest(typing_extensions.TypedDict, total=False): +class OrdersCancelRequest(typing.TypedDict, total=False): operationId: str reason: str reasonText: str @typing.type_check_only -class OrdersCancelResponse(typing_extensions.TypedDict, total=False): +class OrdersCancelResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersCancelTestOrderByCustomerRequest(typing_extensions.TypedDict, total=False): +class OrdersCancelTestOrderByCustomerRequest(typing.TypedDict, total=False): reason: str @typing.type_check_only -class OrdersCancelTestOrderByCustomerResponse(typing_extensions.TypedDict, total=False): +class OrdersCancelTestOrderByCustomerResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class OrdersCreateTestOrderRequest(typing_extensions.TypedDict, total=False): +class OrdersCreateTestOrderRequest(typing.TypedDict, total=False): country: str templateName: str testOrder: TestOrder @typing.type_check_only -class OrdersCreateTestOrderResponse(typing_extensions.TypedDict, total=False): +class OrdersCreateTestOrderResponse(typing.TypedDict, total=False): kind: str orderId: str @typing.type_check_only -class OrdersCreateTestReturnRequest(typing_extensions.TypedDict, total=False): +class OrdersCreateTestReturnRequest(typing.TypedDict, total=False): items: _list[OrdersCustomBatchRequestEntryCreateTestReturnReturnItem] @typing.type_check_only -class OrdersCreateTestReturnResponse(typing_extensions.TypedDict, total=False): +class OrdersCreateTestReturnResponse(typing.TypedDict, total=False): kind: str returnId: str @typing.type_check_only -class OrdersCustomBatchRequest(typing_extensions.TypedDict, total=False): +class OrdersCustomBatchRequest(typing.TypedDict, total=False): entries: _list[OrdersCustomBatchRequestEntry] @typing.type_check_only -class OrdersCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class OrdersCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int cancel: OrdersCustomBatchRequestEntryCancel cancelLineItem: OrdersCustomBatchRequestEntryCancelLineItem @@ -1079,14 +1061,12 @@ class OrdersCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): updateShipment: OrdersCustomBatchRequestEntryUpdateShipment @typing.type_check_only -class OrdersCustomBatchRequestEntryCancel(typing_extensions.TypedDict, total=False): +class OrdersCustomBatchRequestEntryCancel(typing.TypedDict, total=False): reason: str reasonText: str @typing.type_check_only -class OrdersCustomBatchRequestEntryCancelLineItem( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntryCancelLineItem(typing.TypedDict, total=False): amount: Price amountPretax: Price amountTax: Price @@ -1098,15 +1078,13 @@ class OrdersCustomBatchRequestEntryCancelLineItem( @typing.type_check_only class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lineItemId: str quantity: int @typing.type_check_only -class OrdersCustomBatchRequestEntryInStoreRefundLineItem( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntryInStoreRefundLineItem(typing.TypedDict, total=False): amountPretax: Price amountTax: Price lineItemId: str @@ -1116,7 +1094,7 @@ class OrdersCustomBatchRequestEntryInStoreRefundLineItem( reasonText: str @typing.type_check_only -class OrdersCustomBatchRequestEntryRefund(typing_extensions.TypedDict, total=False): +class OrdersCustomBatchRequestEntryRefund(typing.TypedDict, total=False): amount: Price amountPretax: Price amountTax: Price @@ -1124,9 +1102,7 @@ class OrdersCustomBatchRequestEntryRefund(typing_extensions.TypedDict, total=Fal reasonText: str @typing.type_check_only -class OrdersCustomBatchRequestEntryRejectReturnLineItem( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntryRejectReturnLineItem(typing.TypedDict, total=False): lineItemId: str productId: str quantity: int @@ -1134,9 +1110,7 @@ class OrdersCustomBatchRequestEntryRejectReturnLineItem( reasonText: str @typing.type_check_only -class OrdersCustomBatchRequestEntryReturnLineItem( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntryReturnLineItem(typing.TypedDict, total=False): lineItemId: str productId: str quantity: int @@ -1144,9 +1118,7 @@ class OrdersCustomBatchRequestEntryReturnLineItem( reasonText: str @typing.type_check_only -class OrdersCustomBatchRequestEntryReturnRefundLineItem( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntryReturnRefundLineItem(typing.TypedDict, total=False): amountPretax: Price amountTax: Price lineItemId: str @@ -1156,17 +1128,13 @@ class OrdersCustomBatchRequestEntryReturnRefundLineItem( reasonText: str @typing.type_check_only -class OrdersCustomBatchRequestEntrySetLineItemMetadata( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntrySetLineItemMetadata(typing.TypedDict, total=False): annotations: _list[OrderMerchantProvidedAnnotation] lineItemId: str productId: str @typing.type_check_only -class OrdersCustomBatchRequestEntryShipLineItems( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntryShipLineItems(typing.TypedDict, total=False): carrier: str lineItems: _list[OrderShipmentLineItemShipment] shipmentGroupId: str @@ -1176,7 +1144,7 @@ class OrdersCustomBatchRequestEntryShipLineItems( @typing.type_check_only class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): carrier: str shipmentId: str @@ -1184,7 +1152,7 @@ class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo( @typing.type_check_only class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deliverByDate: str lineItemId: str @@ -1192,9 +1160,7 @@ class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails( shipByDate: str @typing.type_check_only -class OrdersCustomBatchRequestEntryUpdateShipment( - typing_extensions.TypedDict, total=False -): +class OrdersCustomBatchRequestEntryUpdateShipment(typing.TypedDict, total=False): carrier: str deliveryDate: str shipmentId: str @@ -1202,12 +1168,12 @@ class OrdersCustomBatchRequestEntryUpdateShipment( trackingId: str @typing.type_check_only -class OrdersCustomBatchResponse(typing_extensions.TypedDict, total=False): +class OrdersCustomBatchResponse(typing.TypedDict, total=False): entries: _list[OrdersCustomBatchResponseEntry] kind: str @typing.type_check_only -class OrdersCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class OrdersCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors executionStatus: str @@ -1215,17 +1181,17 @@ class OrdersCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): order: Order @typing.type_check_only -class OrdersGetByMerchantOrderIdResponse(typing_extensions.TypedDict, total=False): +class OrdersGetByMerchantOrderIdResponse(typing.TypedDict, total=False): kind: str order: Order @typing.type_check_only -class OrdersGetTestOrderTemplateResponse(typing_extensions.TypedDict, total=False): +class OrdersGetTestOrderTemplateResponse(typing.TypedDict, total=False): kind: str template: TestOrder @typing.type_check_only -class OrdersInStoreRefundLineItemRequest(typing_extensions.TypedDict, total=False): +class OrdersInStoreRefundLineItemRequest(typing.TypedDict, total=False): amountPretax: Price amountTax: Price lineItemId: str @@ -1236,18 +1202,18 @@ class OrdersInStoreRefundLineItemRequest(typing_extensions.TypedDict, total=Fals reasonText: str @typing.type_check_only -class OrdersInStoreRefundLineItemResponse(typing_extensions.TypedDict, total=False): +class OrdersInStoreRefundLineItemResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersListResponse(typing_extensions.TypedDict, total=False): +class OrdersListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[Order] @typing.type_check_only -class OrdersRefundRequest(typing_extensions.TypedDict, total=False): +class OrdersRefundRequest(typing.TypedDict, total=False): amount: Price amountPretax: Price amountTax: Price @@ -1256,12 +1222,12 @@ class OrdersRefundRequest(typing_extensions.TypedDict, total=False): reasonText: str @typing.type_check_only -class OrdersRefundResponse(typing_extensions.TypedDict, total=False): +class OrdersRefundResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersRejectReturnLineItemRequest(typing_extensions.TypedDict, total=False): +class OrdersRejectReturnLineItemRequest(typing.TypedDict, total=False): lineItemId: str operationId: str productId: str @@ -1270,12 +1236,12 @@ class OrdersRejectReturnLineItemRequest(typing_extensions.TypedDict, total=False reasonText: str @typing.type_check_only -class OrdersRejectReturnLineItemResponse(typing_extensions.TypedDict, total=False): +class OrdersRejectReturnLineItemResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersReturnLineItemRequest(typing_extensions.TypedDict, total=False): +class OrdersReturnLineItemRequest(typing.TypedDict, total=False): lineItemId: str operationId: str productId: str @@ -1284,12 +1250,12 @@ class OrdersReturnLineItemRequest(typing_extensions.TypedDict, total=False): reasonText: str @typing.type_check_only -class OrdersReturnLineItemResponse(typing_extensions.TypedDict, total=False): +class OrdersReturnLineItemResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersReturnRefundLineItemRequest(typing_extensions.TypedDict, total=False): +class OrdersReturnRefundLineItemRequest(typing.TypedDict, total=False): amountPretax: Price amountTax: Price lineItemId: str @@ -1300,24 +1266,24 @@ class OrdersReturnRefundLineItemRequest(typing_extensions.TypedDict, total=False reasonText: str @typing.type_check_only -class OrdersReturnRefundLineItemResponse(typing_extensions.TypedDict, total=False): +class OrdersReturnRefundLineItemResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersSetLineItemMetadataRequest(typing_extensions.TypedDict, total=False): +class OrdersSetLineItemMetadataRequest(typing.TypedDict, total=False): annotations: _list[OrderMerchantProvidedAnnotation] lineItemId: str operationId: str productId: str @typing.type_check_only -class OrdersSetLineItemMetadataResponse(typing_extensions.TypedDict, total=False): +class OrdersSetLineItemMetadataResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersShipLineItemsRequest(typing_extensions.TypedDict, total=False): +class OrdersShipLineItemsRequest(typing.TypedDict, total=False): carrier: str lineItems: _list[OrderShipmentLineItemShipment] operationId: str @@ -1327,14 +1293,12 @@ class OrdersShipLineItemsRequest(typing_extensions.TypedDict, total=False): trackingId: str @typing.type_check_only -class OrdersShipLineItemsResponse(typing_extensions.TypedDict, total=False): +class OrdersShipLineItemsResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersUpdateLineItemShippingDetailsRequest( - typing_extensions.TypedDict, total=False -): +class OrdersUpdateLineItemShippingDetailsRequest(typing.TypedDict, total=False): deliverByDate: str lineItemId: str operationId: str @@ -1342,24 +1306,22 @@ class OrdersUpdateLineItemShippingDetailsRequest( shipByDate: str @typing.type_check_only -class OrdersUpdateLineItemShippingDetailsResponse( - typing_extensions.TypedDict, total=False -): +class OrdersUpdateLineItemShippingDetailsResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersUpdateMerchantOrderIdRequest(typing_extensions.TypedDict, total=False): +class OrdersUpdateMerchantOrderIdRequest(typing.TypedDict, total=False): merchantOrderId: str operationId: str @typing.type_check_only -class OrdersUpdateMerchantOrderIdResponse(typing_extensions.TypedDict, total=False): +class OrdersUpdateMerchantOrderIdResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class OrdersUpdateShipmentRequest(typing_extensions.TypedDict, total=False): +class OrdersUpdateShipmentRequest(typing.TypedDict, total=False): carrier: str deliveryDate: str operationId: str @@ -1368,27 +1330,27 @@ class OrdersUpdateShipmentRequest(typing_extensions.TypedDict, total=False): trackingId: str @typing.type_check_only -class OrdersUpdateShipmentResponse(typing_extensions.TypedDict, total=False): +class OrdersUpdateShipmentResponse(typing.TypedDict, total=False): executionStatus: str kind: str @typing.type_check_only -class PickupCarrierService(typing_extensions.TypedDict, total=False): +class PickupCarrierService(typing.TypedDict, total=False): carrierName: str serviceName: str @typing.type_check_only -class PickupServicesPickupService(typing_extensions.TypedDict, total=False): +class PickupServicesPickupService(typing.TypedDict, total=False): carrierName: str country: str serviceName: str @typing.type_check_only -class PosCustomBatchRequest(typing_extensions.TypedDict, total=False): +class PosCustomBatchRequest(typing.TypedDict, total=False): entries: _list[PosCustomBatchRequestEntry] @typing.type_check_only -class PosCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class PosCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int inventory: PosInventory merchantId: str @@ -1399,12 +1361,12 @@ class PosCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): targetMerchantId: str @typing.type_check_only -class PosCustomBatchResponse(typing_extensions.TypedDict, total=False): +class PosCustomBatchResponse(typing.TypedDict, total=False): entries: _list[PosCustomBatchResponseEntry] kind: str @typing.type_check_only -class PosCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class PosCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors inventory: PosInventory @@ -1413,18 +1375,18 @@ class PosCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): store: PosStore @typing.type_check_only -class PosDataProviders(typing_extensions.TypedDict, total=False): +class PosDataProviders(typing.TypedDict, total=False): country: str posDataProviders: _list[PosDataProvidersPosDataProvider] @typing.type_check_only -class PosDataProvidersPosDataProvider(typing_extensions.TypedDict, total=False): +class PosDataProvidersPosDataProvider(typing.TypedDict, total=False): displayName: str fullName: str providerId: str @typing.type_check_only -class PosInventory(typing_extensions.TypedDict, total=False): +class PosInventory(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1436,7 +1398,7 @@ class PosInventory(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosInventoryRequest(typing_extensions.TypedDict, total=False): +class PosInventoryRequest(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1447,7 +1409,7 @@ class PosInventoryRequest(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosInventoryResponse(typing_extensions.TypedDict, total=False): +class PosInventoryResponse(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1459,12 +1421,12 @@ class PosInventoryResponse(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosListResponse(typing_extensions.TypedDict, total=False): +class PosListResponse(typing.TypedDict, total=False): kind: str resources: _list[PosStore] @typing.type_check_only -class PosSale(typing_extensions.TypedDict, total=False): +class PosSale(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1477,7 +1439,7 @@ class PosSale(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosSaleRequest(typing_extensions.TypedDict, total=False): +class PosSaleRequest(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1489,7 +1451,7 @@ class PosSaleRequest(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosSaleResponse(typing_extensions.TypedDict, total=False): +class PosSaleResponse(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1502,7 +1464,7 @@ class PosSaleResponse(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosStore(typing_extensions.TypedDict, total=False): +class PosStore(typing.TypedDict, total=False): gcidCategory: _list[str] kind: str phoneNumber: str @@ -1513,23 +1475,23 @@ class PosStore(typing_extensions.TypedDict, total=False): websiteUrl: str @typing.type_check_only -class PostalCodeGroup(typing_extensions.TypedDict, total=False): +class PostalCodeGroup(typing.TypedDict, total=False): country: str name: str postalCodeRanges: _list[PostalCodeRange] @typing.type_check_only -class PostalCodeRange(typing_extensions.TypedDict, total=False): +class PostalCodeRange(typing.TypedDict, total=False): postalCodeRangeBegin: str postalCodeRangeEnd: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): currency: str value: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): additionalImageLinks: _list[str] additionalProductTypes: _list[str] adult: bool @@ -1611,24 +1573,24 @@ class Product(typing_extensions.TypedDict, total=False): warnings: _list[Error] @typing.type_check_only -class ProductAmount(typing_extensions.TypedDict, total=False): +class ProductAmount(typing.TypedDict, total=False): priceAmount: Price remittedTaxAmount: Price taxAmount: Price @typing.type_check_only -class ProductAspect(typing_extensions.TypedDict, total=False): +class ProductAspect(typing.TypedDict, total=False): aspectName: str destinationName: str intention: str @typing.type_check_only -class ProductDestination(typing_extensions.TypedDict, total=False): +class ProductDestination(typing.TypedDict, total=False): destinationName: str intention: str @typing.type_check_only -class ProductShipping(typing_extensions.TypedDict, total=False): +class ProductShipping(typing.TypedDict, total=False): country: str locationGroupName: str locationId: str @@ -1638,17 +1600,17 @@ class ProductShipping(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class ProductShippingDimension(typing_extensions.TypedDict, total=False): +class ProductShippingDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductShippingWeight(typing_extensions.TypedDict, total=False): +class ProductShippingWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductStatus(typing_extensions.TypedDict, total=False): +class ProductStatus(typing.TypedDict, total=False): creationDate: str dataQualityIssues: _list[ProductStatusDataQualityIssue] destinationStatuses: _list[ProductStatusDestinationStatus] @@ -1662,7 +1624,7 @@ class ProductStatus(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ProductStatusDataQualityIssue(typing_extensions.TypedDict, total=False): +class ProductStatusDataQualityIssue(typing.TypedDict, total=False): destination: str detail: str fetchStatus: str @@ -1674,14 +1636,14 @@ class ProductStatusDataQualityIssue(typing_extensions.TypedDict, total=False): valueProvided: str @typing.type_check_only -class ProductStatusDestinationStatus(typing_extensions.TypedDict, total=False): +class ProductStatusDestinationStatus(typing.TypedDict, total=False): approvalPending: bool approvalStatus: str destination: str intention: str @typing.type_check_only -class ProductStatusItemLevelIssue(typing_extensions.TypedDict, total=False): +class ProductStatusItemLevelIssue(typing.TypedDict, total=False): attributeName: str code: str description: str @@ -1692,7 +1654,7 @@ class ProductStatusItemLevelIssue(typing_extensions.TypedDict, total=False): servability: str @typing.type_check_only -class ProductTax(typing_extensions.TypedDict, total=False): +class ProductTax(typing.TypedDict, total=False): country: str locationId: str postalCode: str @@ -1701,21 +1663,21 @@ class ProductTax(typing_extensions.TypedDict, total=False): taxShip: bool @typing.type_check_only -class ProductUnitPricingBaseMeasure(typing_extensions.TypedDict, total=False): +class ProductUnitPricingBaseMeasure(typing.TypedDict, total=False): unit: str value: str @typing.type_check_only -class ProductUnitPricingMeasure(typing_extensions.TypedDict, total=False): +class ProductUnitPricingMeasure(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[ProductsCustomBatchRequestEntry] @typing.type_check_only -class ProductsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int merchantId: str method: str @@ -1723,29 +1685,29 @@ class ProductsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): productId: str @typing.type_check_only -class ProductsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[ProductsCustomBatchResponseEntry] kind: str @typing.type_check_only -class ProductsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str product: Product @typing.type_check_only -class ProductsListResponse(typing_extensions.TypedDict, total=False): +class ProductsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[Product] @typing.type_check_only -class ProductstatusesCustomBatchRequest(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchRequest(typing.TypedDict, total=False): entries: _list[ProductstatusesCustomBatchRequestEntry] @typing.type_check_only -class ProductstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int destinations: _list[str] includeAttributes: bool @@ -1754,30 +1716,30 @@ class ProductstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total= productId: str @typing.type_check_only -class ProductstatusesCustomBatchResponse(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchResponse(typing.TypedDict, total=False): entries: _list[ProductstatusesCustomBatchResponseEntry] kind: str @typing.type_check_only -class ProductstatusesCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str productStatus: ProductStatus @typing.type_check_only -class ProductstatusesListResponse(typing_extensions.TypedDict, total=False): +class ProductstatusesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[ProductStatus] @typing.type_check_only -class Promotion(typing_extensions.TypedDict, total=False): +class Promotion(typing.TypedDict, total=False): promotionAmount: Amount promotionId: str @typing.type_check_only -class RateGroup(typing_extensions.TypedDict, total=False): +class RateGroup(typing.TypedDict, total=False): applicableShippingLabels: _list[str] carrierRates: _list[CarrierRate] mainTable: Table @@ -1786,12 +1748,12 @@ class RateGroup(typing_extensions.TypedDict, total=False): subtables: _list[Table] @typing.type_check_only -class RefundReason(typing_extensions.TypedDict, total=False): +class RefundReason(typing.TypedDict, total=False): description: str reasonCode: str @typing.type_check_only -class ReturnShipment(typing_extensions.TypedDict, total=False): +class ReturnShipment(typing.TypedDict, total=False): creationDate: str deliveryDate: str returnMethodType: str @@ -1801,11 +1763,11 @@ class ReturnShipment(typing_extensions.TypedDict, total=False): state: str @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): cells: _list[Value] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): active: bool currency: str deliveryCountry: str @@ -1819,36 +1781,36 @@ class Service(typing_extensions.TypedDict, total=False): shipmentType: str @typing.type_check_only -class ShipmentInvoice(typing_extensions.TypedDict, total=False): +class ShipmentInvoice(typing.TypedDict, total=False): invoiceSummary: InvoiceSummary lineItemInvoices: _list[ShipmentInvoiceLineItemInvoice] shipmentGroupId: str @typing.type_check_only -class ShipmentInvoiceLineItemInvoice(typing_extensions.TypedDict, total=False): +class ShipmentInvoiceLineItemInvoice(typing.TypedDict, total=False): lineItemId: str productId: str shipmentUnitIds: _list[str] unitInvoice: UnitInvoice @typing.type_check_only -class ShipmentTrackingInfo(typing_extensions.TypedDict, total=False): +class ShipmentTrackingInfo(typing.TypedDict, total=False): carrier: str trackingNumber: str @typing.type_check_only -class ShippingSettings(typing_extensions.TypedDict, total=False): +class ShippingSettings(typing.TypedDict, total=False): accountId: str postalCodeGroups: _list[PostalCodeGroup] services: _list[Service] warehouses: _list[Warehouse] @typing.type_check_only -class ShippingsettingsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class ShippingsettingsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[ShippingsettingsCustomBatchRequestEntry] @typing.type_check_only -class ShippingsettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class ShippingsettingsCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str batchId: int merchantId: str @@ -1856,55 +1818,47 @@ class ShippingsettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total shippingSettings: ShippingSettings @typing.type_check_only -class ShippingsettingsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class ShippingsettingsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[ShippingsettingsCustomBatchResponseEntry] kind: str @typing.type_check_only -class ShippingsettingsCustomBatchResponseEntry( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str shippingSettings: ShippingSettings @typing.type_check_only -class ShippingsettingsGetSupportedCarriersResponse( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsGetSupportedCarriersResponse(typing.TypedDict, total=False): carriers: _list[CarriersCarrier] kind: str @typing.type_check_only -class ShippingsettingsGetSupportedHolidaysResponse( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsGetSupportedHolidaysResponse(typing.TypedDict, total=False): holidays: _list[HolidaysHoliday] kind: str @typing.type_check_only -class ShippingsettingsGetSupportedPickupServicesResponse( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsGetSupportedPickupServicesResponse(typing.TypedDict, total=False): kind: str pickupServices: _list[PickupServicesPickupService] @typing.type_check_only -class ShippingsettingsListResponse(typing_extensions.TypedDict, total=False): +class ShippingsettingsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[ShippingSettings] @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columnHeaders: Headers name: str rowHeaders: Headers rows: _list[Row] @typing.type_check_only -class TestOrder(typing_extensions.TypedDict, total=False): +class TestOrder(typing.TypedDict, total=False): customer: TestOrderCustomer enableOrderinvoices: bool kind: str @@ -1919,19 +1873,19 @@ class TestOrder(typing_extensions.TypedDict, total=False): shippingOption: str @typing.type_check_only -class TestOrderCustomer(typing_extensions.TypedDict, total=False): +class TestOrderCustomer(typing.TypedDict, total=False): email: str explicitMarketingPreference: bool fullName: str marketingRightsInfo: TestOrderCustomerMarketingRightsInfo @typing.type_check_only -class TestOrderCustomerMarketingRightsInfo(typing_extensions.TypedDict, total=False): +class TestOrderCustomerMarketingRightsInfo(typing.TypedDict, total=False): explicitMarketingPreference: str lastUpdatedTimestamp: str @typing.type_check_only -class TestOrderLineItem(typing_extensions.TypedDict, total=False): +class TestOrderLineItem(typing.TypedDict, total=False): product: TestOrderLineItemProduct quantityOrdered: int returnInfo: OrderLineItemReturnInfo @@ -1939,7 +1893,7 @@ class TestOrderLineItem(typing_extensions.TypedDict, total=False): unitTax: Price @typing.type_check_only -class TestOrderLineItemProduct(typing_extensions.TypedDict, total=False): +class TestOrderLineItemProduct(typing.TypedDict, total=False): brand: str channel: str condition: str @@ -1956,7 +1910,7 @@ class TestOrderLineItemProduct(typing_extensions.TypedDict, total=False): variantAttributes: _list[OrderLineItemProductVariantAttribute] @typing.type_check_only -class TestOrderPaymentMethod(typing_extensions.TypedDict, total=False): +class TestOrderPaymentMethod(typing.TypedDict, total=False): expirationMonth: int expirationYear: int lastFourDigits: str @@ -1964,43 +1918,41 @@ class TestOrderPaymentMethod(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class TransitTable(typing_extensions.TypedDict, total=False): +class TransitTable(typing.TypedDict, total=False): postalCodeGroupNames: _list[str] rows: _list[TransitTableTransitTimeRow] transitTimeLabels: _list[str] @typing.type_check_only -class TransitTableTransitTimeRow(typing_extensions.TypedDict, total=False): +class TransitTableTransitTimeRow(typing.TypedDict, total=False): values: _list[TransitTableTransitTimeRowTransitTimeValue] @typing.type_check_only -class TransitTableTransitTimeRowTransitTimeValue( - typing_extensions.TypedDict, total=False -): +class TransitTableTransitTimeRowTransitTimeValue(typing.TypedDict, total=False): maxTransitTimeInDays: int minTransitTimeInDays: int @typing.type_check_only -class UnitInvoice(typing_extensions.TypedDict, total=False): +class UnitInvoice(typing.TypedDict, total=False): additionalCharges: _list[UnitInvoiceAdditionalCharge] promotions: _list[Promotion] unitPricePretax: Price unitPriceTaxes: _list[UnitInvoiceTaxLine] @typing.type_check_only -class UnitInvoiceAdditionalCharge(typing_extensions.TypedDict, total=False): +class UnitInvoiceAdditionalCharge(typing.TypedDict, total=False): additionalChargeAmount: Amount additionalChargePromotions: _list[Promotion] type: str @typing.type_check_only -class UnitInvoiceTaxLine(typing_extensions.TypedDict, total=False): +class UnitInvoiceTaxLine(typing.TypedDict, total=False): taxAmount: Price taxName: str taxType: str @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): carrierRateName: str flatRate: Price noShipping: bool @@ -2008,7 +1960,7 @@ class Value(typing_extensions.TypedDict, total=False): subtableName: str @typing.type_check_only -class Warehouse(typing_extensions.TypedDict, total=False): +class Warehouse(typing.TypedDict, total=False): businessDayConfig: BusinessDayConfig cutoffTime: WarehouseCutoffTime handlingDays: str @@ -2016,7 +1968,7 @@ class Warehouse(typing_extensions.TypedDict, total=False): shippingAddress: Address @typing.type_check_only -class WarehouseBasedDeliveryTime(typing_extensions.TypedDict, total=False): +class WarehouseBasedDeliveryTime(typing.TypedDict, total=False): carrier: str carrierService: str originAdministrativeArea: str @@ -2027,11 +1979,11 @@ class WarehouseBasedDeliveryTime(typing_extensions.TypedDict, total=False): warehouseName: str @typing.type_check_only -class WarehouseCutoffTime(typing_extensions.TypedDict, total=False): +class WarehouseCutoffTime(typing.TypedDict, total=False): hour: int minute: int @typing.type_check_only -class Weight(typing_extensions.TypedDict, total=False): +class Weight(typing.TypedDict, total=False): unit: str value: str diff --git a/googleapiclient-stubs/_apis/content/v2_1/resources.pyi b/googleapiclient-stubs/_apis/content/v2_1/resources.pyi index a8135979d..8cbaf40f8 100644 --- a/googleapiclient-stubs/_apis/content/v2_1/resources.pyi +++ b/googleapiclient-stubs/_apis/content/v2_1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -102,7 +101,7 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): *, merchantId: str, accountId: str, - view: typing_extensions.Literal["MERCHANT", "CSS"] | None = ..., + view: typing.Literal["MERCHANT", "CSS"] | None = ..., **kwargs: typing.Any, ) -> AccountHttpRequest: ... def insert( @@ -124,7 +123,7 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["MERCHANT", "CSS"] | None = ..., + view: typing.Literal["MERCHANT", "CSS"] | None = ..., **kwargs: typing.Any, ) -> AccountsListResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi index 45b3ae6b2..c89cff456 100644 --- a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi +++ b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountManagement: str adsLinks: _list[AccountAdsLink] adultContent: bool @@ -26,7 +24,7 @@ class Account(typing_extensions.TypedDict, total=False): youtubeChannelLinks: _list[AccountYouTubeChannelLink] @typing.type_check_only -class AccountAddress(typing_extensions.TypedDict, total=False): +class AccountAddress(typing.TypedDict, total=False): country: str locality: str postalCode: str @@ -34,18 +32,18 @@ class AccountAddress(typing_extensions.TypedDict, total=False): streetAddress: str @typing.type_check_only -class AccountAdsLink(typing_extensions.TypedDict, total=False): +class AccountAdsLink(typing.TypedDict, total=False): adsId: str status: str @typing.type_check_only -class AccountAutomaticImprovements(typing_extensions.TypedDict, total=False): +class AccountAutomaticImprovements(typing.TypedDict, total=False): imageImprovements: AccountImageImprovements itemUpdates: AccountItemUpdates shippingImprovements: AccountShippingImprovements @typing.type_check_only -class AccountBusinessIdentity(typing_extensions.TypedDict, total=False): +class AccountBusinessIdentity(typing.TypedDict, total=False): blackOwned: AccountIdentityType includeForPromotions: bool latinoOwned: AccountIdentityType @@ -54,7 +52,7 @@ class AccountBusinessIdentity(typing_extensions.TypedDict, total=False): womenOwned: AccountIdentityType @typing.type_check_only -class AccountBusinessInformation(typing_extensions.TypedDict, total=False): +class AccountBusinessInformation(typing.TypedDict, total=False): address: AccountAddress customerService: AccountCustomerService koreanBusinessRegistrationNumber: str @@ -62,51 +60,51 @@ class AccountBusinessInformation(typing_extensions.TypedDict, total=False): phoneVerificationStatus: str @typing.type_check_only -class AccountConversionSettings(typing_extensions.TypedDict, total=False): +class AccountConversionSettings(typing.TypedDict, total=False): freeListingsAutoTaggingEnabled: bool @typing.type_check_only -class AccountCredentials(typing_extensions.TypedDict, total=False): +class AccountCredentials(typing.TypedDict, total=False): accessToken: str expiresIn: str - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "ACCOUNT_CREDENTIALS_PURPOSE_UNSPECIFIED", "SHOPIFY_ORDER_MANAGEMENT", "SHOPIFY_INTEGRATION", ] @typing.type_check_only -class AccountCustomerService(typing_extensions.TypedDict, total=False): +class AccountCustomerService(typing.TypedDict, total=False): email: str phoneNumber: str url: str @typing.type_check_only -class AccountGoogleMyBusinessLink(typing_extensions.TypedDict, total=False): +class AccountGoogleMyBusinessLink(typing.TypedDict, total=False): gmbAccountId: str gmbEmail: str status: str @typing.type_check_only -class AccountIdentifier(typing_extensions.TypedDict, total=False): +class AccountIdentifier(typing.TypedDict, total=False): aggregatorId: str merchantId: str @typing.type_check_only -class AccountIdentityType(typing_extensions.TypedDict, total=False): +class AccountIdentityType(typing.TypedDict, total=False): selfIdentified: bool @typing.type_check_only -class AccountImageImprovements(typing_extensions.TypedDict, total=False): +class AccountImageImprovements(typing.TypedDict, total=False): accountImageImprovementsSettings: AccountImageImprovementsSettings effectiveAllowAutomaticImageImprovements: bool @typing.type_check_only -class AccountImageImprovementsSettings(typing_extensions.TypedDict, total=False): +class AccountImageImprovementsSettings(typing.TypedDict, total=False): allowAutomaticImageImprovements: bool @typing.type_check_only -class AccountIssue(typing_extensions.TypedDict, total=False): +class AccountIssue(typing.TypedDict, total=False): actions: _list[Action] impact: AccountIssueImpact prerenderedContent: str @@ -114,15 +112,13 @@ class AccountIssue(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AccountIssueImpact(typing_extensions.TypedDict, total=False): +class AccountIssueImpact(typing.TypedDict, total=False): breakdowns: _list[Breakdown] message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class AccountItemUpdates(typing_extensions.TypedDict, total=False): +class AccountItemUpdates(typing.TypedDict, total=False): accountItemUpdatesSettings: AccountItemUpdatesSettings effectiveAllowAvailabilityUpdates: bool effectiveAllowConditionUpdates: bool @@ -130,35 +126,33 @@ class AccountItemUpdates(typing_extensions.TypedDict, total=False): effectiveAllowStrictAvailabilityUpdates: bool @typing.type_check_only -class AccountItemUpdatesSettings(typing_extensions.TypedDict, total=False): +class AccountItemUpdatesSettings(typing.TypedDict, total=False): allowAvailabilityUpdates: bool allowConditionUpdates: bool allowPriceUpdates: bool allowStrictAvailabilityUpdates: bool @typing.type_check_only -class AccountLabel(typing_extensions.TypedDict, total=False): +class AccountLabel(typing.TypedDict, total=False): accountId: str description: str labelId: str - labelType: typing_extensions.Literal[ - "LABEL_TYPE_UNSPECIFIED", "MANUAL", "AUTOMATIC" - ] + labelType: typing.Literal["LABEL_TYPE_UNSPECIFIED", "MANUAL", "AUTOMATIC"] name: str @typing.type_check_only -class AccountReturnCarrier(typing_extensions.TypedDict, total=False): +class AccountReturnCarrier(typing.TypedDict, total=False): carrierAccountId: str carrierAccountName: str carrierAccountNumber: str - carrierCode: typing_extensions.Literal["CARRIER_CODE_UNSPECIFIED", "FEDEX", "UPS"] + carrierCode: typing.Literal["CARRIER_CODE_UNSPECIFIED", "FEDEX", "UPS"] @typing.type_check_only -class AccountShippingImprovements(typing_extensions.TypedDict, total=False): +class AccountShippingImprovements(typing.TypedDict, total=False): allowShippingImprovements: bool @typing.type_check_only -class AccountStatus(typing_extensions.TypedDict, total=False): +class AccountStatus(typing.TypedDict, total=False): accountId: str accountLevelIssues: _list[AccountStatusAccountLevelIssue] accountManagement: str @@ -167,7 +161,7 @@ class AccountStatus(typing_extensions.TypedDict, total=False): websiteClaimed: bool @typing.type_check_only -class AccountStatusAccountLevelIssue(typing_extensions.TypedDict, total=False): +class AccountStatusAccountLevelIssue(typing.TypedDict, total=False): country: str destination: str detail: str @@ -177,7 +171,7 @@ class AccountStatusAccountLevelIssue(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class AccountStatusItemLevelIssue(typing_extensions.TypedDict, total=False): +class AccountStatusItemLevelIssue(typing.TypedDict, total=False): attributeName: str code: str description: str @@ -188,7 +182,7 @@ class AccountStatusItemLevelIssue(typing_extensions.TypedDict, total=False): servability: str @typing.type_check_only -class AccountStatusProducts(typing_extensions.TypedDict, total=False): +class AccountStatusProducts(typing.TypedDict, total=False): channel: str country: str destination: str @@ -196,20 +190,20 @@ class AccountStatusProducts(typing_extensions.TypedDict, total=False): statistics: AccountStatusStatistics @typing.type_check_only -class AccountStatusStatistics(typing_extensions.TypedDict, total=False): +class AccountStatusStatistics(typing.TypedDict, total=False): active: str disapproved: str expiring: str pending: str @typing.type_check_only -class AccountTax(typing_extensions.TypedDict, total=False): +class AccountTax(typing.TypedDict, total=False): accountId: str kind: str rules: _list[AccountTaxTaxRule] @typing.type_check_only -class AccountTaxTaxRule(typing_extensions.TypedDict, total=False): +class AccountTaxTaxRule(typing.TypedDict, total=False): country: str locationId: str ratePercent: str @@ -217,7 +211,7 @@ class AccountTaxTaxRule(typing_extensions.TypedDict, total=False): useGlobalRate: bool @typing.type_check_only -class AccountUser(typing_extensions.TypedDict, total=False): +class AccountUser(typing.TypedDict, total=False): admin: bool emailAddress: str orderManager: bool @@ -227,25 +221,25 @@ class AccountUser(typing_extensions.TypedDict, total=False): reportingManager: bool @typing.type_check_only -class AccountYouTubeChannelLink(typing_extensions.TypedDict, total=False): +class AccountYouTubeChannelLink(typing.TypedDict, total=False): channelId: str status: str @typing.type_check_only -class AccountsAuthInfoResponse(typing_extensions.TypedDict, total=False): +class AccountsAuthInfoResponse(typing.TypedDict, total=False): accountIdentifiers: _list[AccountIdentifier] kind: str @typing.type_check_only -class AccountsClaimWebsiteResponse(typing_extensions.TypedDict, total=False): +class AccountsClaimWebsiteResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class AccountsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[AccountsCustomBatchRequestEntry] @typing.type_check_only -class AccountsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchRequestEntry(typing.TypedDict, total=False): account: Account accountId: str batchId: int @@ -258,28 +252,26 @@ class AccountsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): view: str @typing.type_check_only -class AccountsCustomBatchRequestEntryLinkRequest( - typing_extensions.TypedDict, total=False -): +class AccountsCustomBatchRequestEntryLinkRequest(typing.TypedDict, total=False): action: str linkType: str linkedAccountId: str services: _list[str] @typing.type_check_only -class AccountsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[AccountsCustomBatchResponseEntry] kind: str @typing.type_check_only -class AccountsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class AccountsCustomBatchResponseEntry(typing.TypedDict, total=False): account: Account batchId: int errors: Errors kind: str @typing.type_check_only -class AccountsLinkRequest(typing_extensions.TypedDict, total=False): +class AccountsLinkRequest(typing.TypedDict, total=False): action: str eCommercePlatformLinkInfo: ECommercePlatformLinkInfo linkType: str @@ -288,35 +280,35 @@ class AccountsLinkRequest(typing_extensions.TypedDict, total=False): services: _list[str] @typing.type_check_only -class AccountsLinkResponse(typing_extensions.TypedDict, total=False): +class AccountsLinkResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class AccountsListLinksResponse(typing_extensions.TypedDict, total=False): +class AccountsListLinksResponse(typing.TypedDict, total=False): kind: str links: _list[LinkedAccount] nextPageToken: str @typing.type_check_only -class AccountsListResponse(typing_extensions.TypedDict, total=False): +class AccountsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[Account] @typing.type_check_only -class AccountsUpdateLabelsRequest(typing_extensions.TypedDict, total=False): +class AccountsUpdateLabelsRequest(typing.TypedDict, total=False): labelIds: _list[str] @typing.type_check_only -class AccountsUpdateLabelsResponse(typing_extensions.TypedDict, total=False): +class AccountsUpdateLabelsResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class AccountstatusesCustomBatchRequest(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchRequest(typing.TypedDict, total=False): entries: _list[AccountstatusesCustomBatchRequestEntry] @typing.type_check_only -class AccountstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str batchId: int destinations: _list[str] @@ -324,28 +316,28 @@ class AccountstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total= method: str @typing.type_check_only -class AccountstatusesCustomBatchResponse(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchResponse(typing.TypedDict, total=False): entries: _list[AccountstatusesCustomBatchResponseEntry] kind: str @typing.type_check_only -class AccountstatusesCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class AccountstatusesCustomBatchResponseEntry(typing.TypedDict, total=False): accountStatus: AccountStatus batchId: int errors: Errors @typing.type_check_only -class AccountstatusesListResponse(typing_extensions.TypedDict, total=False): +class AccountstatusesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[AccountStatus] @typing.type_check_only -class AccounttaxCustomBatchRequest(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchRequest(typing.TypedDict, total=False): entries: _list[AccounttaxCustomBatchRequestEntry] @typing.type_check_only -class AccounttaxCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str accountTax: AccountTax batchId: int @@ -353,25 +345,25 @@ class AccounttaxCustomBatchRequestEntry(typing_extensions.TypedDict, total=False method: str @typing.type_check_only -class AccounttaxCustomBatchResponse(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchResponse(typing.TypedDict, total=False): entries: _list[AccounttaxCustomBatchResponseEntry] kind: str @typing.type_check_only -class AccounttaxCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class AccounttaxCustomBatchResponseEntry(typing.TypedDict, total=False): accountTax: AccountTax batchId: int errors: Errors kind: str @typing.type_check_only -class AccounttaxListResponse(typing_extensions.TypedDict, total=False): +class AccounttaxListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[AccountTax] @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): builtinSimpleAction: BuiltInSimpleAction builtinUserInputAction: BuiltInUserInputAction buttonLabel: str @@ -380,7 +372,7 @@ class Action(typing_extensions.TypedDict, total=False): reasons: _list[ActionReason] @typing.type_check_only -class ActionFlow(typing_extensions.TypedDict, total=False): +class ActionFlow(typing.TypedDict, total=False): dialogButtonLabel: str dialogCallout: Callout dialogMessage: TextWithTooltip @@ -390,18 +382,18 @@ class ActionFlow(typing_extensions.TypedDict, total=False): label: str @typing.type_check_only -class ActionInput(typing_extensions.TypedDict, total=False): +class ActionInput(typing.TypedDict, total=False): actionFlowId: str inputValues: _list[InputValue] @typing.type_check_only -class ActionReason(typing_extensions.TypedDict, total=False): +class ActionReason(typing.TypedDict, total=False): action: Action detail: str message: str @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): administrativeArea: str city: str country: str @@ -409,14 +401,14 @@ class Address(typing_extensions.TypedDict, total=False): streetAddress: str @typing.type_check_only -class AlternateDisputeResolution(typing_extensions.TypedDict, total=False): +class AlternateDisputeResolution(typing.TypedDict, total=False): label: str uri: str @typing.type_check_only -class AttributionSettings(typing_extensions.TypedDict, total=False): +class AttributionSettings(typing.TypedDict, total=False): attributionLookbackWindowInDays: int - attributionModel: typing_extensions.Literal[ + attributionModel: typing.Literal[ "ATTRIBUTION_MODEL_UNSPECIFIED", "CROSS_CHANNEL_LAST_CLICK", "ADS_PREFERRED_LAST_CLICK", @@ -429,49 +421,49 @@ class AttributionSettings(typing_extensions.TypedDict, total=False): conversionType: _list[AttributionSettingsConversionType] @typing.type_check_only -class AttributionSettingsConversionType(typing_extensions.TypedDict, total=False): +class AttributionSettingsConversionType(typing.TypedDict, total=False): includeInReporting: bool name: str @typing.type_check_only -class BestSellers(typing_extensions.TypedDict, total=False): +class BestSellers(typing.TypedDict, total=False): categoryId: str countryCode: str previousRank: str - previousRelativeDemand: typing_extensions.Literal[ + previousRelativeDemand: typing.Literal[ "RELATIVE_DEMAND_UNSPECIFIED", "VERY_LOW", "LOW", "MEDIUM", "HIGH", "VERY_HIGH" ] rank: str - relativeDemand: typing_extensions.Literal[ + relativeDemand: typing.Literal[ "RELATIVE_DEMAND_UNSPECIFIED", "VERY_LOW", "LOW", "MEDIUM", "HIGH", "VERY_HIGH" ] - relativeDemandChange: typing_extensions.Literal[ + relativeDemandChange: typing.Literal[ "RELATIVE_DEMAND_CHANGE_TYPE_UNSPECIFIED", "SINKER", "FLAT", "RISER" ] reportDate: Date - reportGranularity: typing_extensions.Literal[ + reportGranularity: typing.Literal[ "REPORT_GRANULARITY_UNSPECIFIED", "WEEKLY", "MONTHLY" ] @typing.type_check_only -class Brand(typing_extensions.TypedDict, total=False): +class Brand(typing.TypedDict, total=False): name: str @typing.type_check_only -class Breakdown(typing_extensions.TypedDict, total=False): +class Breakdown(typing.TypedDict, total=False): details: _list[str] regions: _list[BreakdownRegion] @typing.type_check_only -class BreakdownRegion(typing_extensions.TypedDict, total=False): +class BreakdownRegion(typing.TypedDict, total=False): code: str name: str @typing.type_check_only -class BuiltInSimpleAction(typing_extensions.TypedDict, total=False): +class BuiltInSimpleAction(typing.TypedDict, total=False): additionalContent: BuiltInSimpleActionAdditionalContent attributeCode: str - type: typing_extensions.Literal[ + type: typing.Literal[ "BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", "VERIFY_PHONE", "CLAIM_WEBSITE", @@ -485,28 +477,28 @@ class BuiltInSimpleAction(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BuiltInSimpleActionAdditionalContent(typing_extensions.TypedDict, total=False): +class BuiltInSimpleActionAdditionalContent(typing.TypedDict, total=False): paragraphs: _list[str] title: str @typing.type_check_only -class BuiltInUserInputAction(typing_extensions.TypedDict, total=False): +class BuiltInUserInputAction(typing.TypedDict, total=False): actionContext: str flows: _list[ActionFlow] @typing.type_check_only -class BusinessDayConfig(typing_extensions.TypedDict, total=False): +class BusinessDayConfig(typing.TypedDict, total=False): businessDays: _list[str] @typing.type_check_only -class Callout(typing_extensions.TypedDict, total=False): +class Callout(typing.TypedDict, total=False): fullMessage: TextWithTooltip - styleHint: typing_extensions.Literal[ + styleHint: typing.Literal[ "CALLOUT_STYLE_HINT_UNSPECIFIED", "ERROR", "WARNING", "INFO" ] @typing.type_check_only -class CarrierRate(typing_extensions.TypedDict, total=False): +class CarrierRate(typing.TypedDict, total=False): carrierName: str carrierService: str flatAdjustment: Price @@ -515,35 +507,35 @@ class CarrierRate(typing_extensions.TypedDict, total=False): percentageAdjustment: str @typing.type_check_only -class CarriersCarrier(typing_extensions.TypedDict, total=False): +class CarriersCarrier(typing.TypedDict, total=False): country: str eddServices: _list[str] name: str services: _list[str] @typing.type_check_only -class CheckoutSettings(typing_extensions.TypedDict, total=False): - effectiveEnrollmentState: typing_extensions.Literal[ +class CheckoutSettings(typing.TypedDict, total=False): + effectiveEnrollmentState: typing.Literal[ "CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPT_OUT", ] - effectiveReviewState: typing_extensions.Literal[ + effectiveReviewState: typing.Literal[ "CHECKOUT_ON_MERCHANT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", "DISAPPROVED", ] effectiveUriSettings: UrlSettings - enrollmentState: typing_extensions.Literal[ + enrollmentState: typing.Literal[ "CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPT_OUT", ] merchantId: str - reviewState: typing_extensions.Literal[ + reviewState: typing.Literal[ "CHECKOUT_ON_MERCHANT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", @@ -552,7 +544,7 @@ class CheckoutSettings(typing_extensions.TypedDict, total=False): uriSettings: UrlSettings @typing.type_check_only -class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): +class CloudExportAdditionalProperties(typing.TypedDict, total=False): boolValue: bool floatValue: _list[float] intValue: _list[str] @@ -563,7 +555,7 @@ class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): unitCode: str @typing.type_check_only -class Collection(typing_extensions.TypedDict, total=False): +class Collection(typing.TypedDict, total=False): customLabel0: str customLabel1: str customLabel2: str @@ -579,13 +571,13 @@ class Collection(typing_extensions.TypedDict, total=False): productCountry: str @typing.type_check_only -class CollectionFeaturedProduct(typing_extensions.TypedDict, total=False): +class CollectionFeaturedProduct(typing.TypedDict, total=False): offerId: str x: float y: float @typing.type_check_only -class CollectionStatus(typing_extensions.TypedDict, total=False): +class CollectionStatus(typing.TypedDict, total=False): collectionLevelIssuses: _list[CollectionStatusItemLevelIssue] creationDate: str destinationStatuses: _list[CollectionStatusDestinationStatus] @@ -593,7 +585,7 @@ class CollectionStatus(typing_extensions.TypedDict, total=False): lastUpdateDate: str @typing.type_check_only -class CollectionStatusDestinationStatus(typing_extensions.TypedDict, total=False): +class CollectionStatusDestinationStatus(typing.TypedDict, total=False): approvedCountries: _list[str] destination: str disapprovedCountries: _list[str] @@ -601,7 +593,7 @@ class CollectionStatusDestinationStatus(typing_extensions.TypedDict, total=False status: str @typing.type_check_only -class CollectionStatusItemLevelIssue(typing_extensions.TypedDict, total=False): +class CollectionStatusItemLevelIssue(typing.TypedDict, total=False): applicableCountries: _list[str] attributeName: str code: str @@ -613,7 +605,7 @@ class CollectionStatusItemLevelIssue(typing_extensions.TypedDict, total=False): servability: str @typing.type_check_only -class CompetitiveVisibility(typing_extensions.TypedDict, total=False): +class CompetitiveVisibility(typing.TypedDict, total=False): adsOrganicRatio: float categoryBenchmarkVisibilityTrend: float categoryId: str @@ -625,21 +617,19 @@ class CompetitiveVisibility(typing_extensions.TypedDict, total=False): pageOverlapRate: float rank: str relativeVisibility: float - trafficSource: typing_extensions.Literal["UNKNOWN", "ORGANIC", "ADS", "ALL"] + trafficSource: typing.Literal["UNKNOWN", "ORGANIC", "ADS", "ALL"] yourDomainVisibilityTrend: float @typing.type_check_only -class ConversionSource(typing_extensions.TypedDict, total=False): +class ConversionSource(typing.TypedDict, total=False): conversionSourceId: str expireTime: str googleAnalyticsLink: GoogleAnalyticsLink merchantCenterDestination: MerchantCenterDestination - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "PENDING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "PENDING"] @typing.type_check_only -class Css(typing_extensions.TypedDict, total=False): +class Css(typing.TypedDict, total=False): cssDomainId: str cssGroupId: str displayName: str @@ -648,19 +638,19 @@ class Css(typing_extensions.TypedDict, total=False): labelIds: _list[str] @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class CutoffTime(typing_extensions.TypedDict, total=False): +class CutoffTime(typing.TypedDict, total=False): hour: int minute: int timezone: str @typing.type_check_only -class Datafeed(typing_extensions.TypedDict, total=False): +class Datafeed(typing.TypedDict, total=False): attributeLanguage: str contentType: str fetchSchedule: DatafeedFetchSchedule @@ -672,7 +662,7 @@ class Datafeed(typing_extensions.TypedDict, total=False): targets: _list[DatafeedTarget] @typing.type_check_only -class DatafeedFetchSchedule(typing_extensions.TypedDict, total=False): +class DatafeedFetchSchedule(typing.TypedDict, total=False): dayOfMonth: int fetchUrl: str hour: int @@ -684,13 +674,13 @@ class DatafeedFetchSchedule(typing_extensions.TypedDict, total=False): weekday: str @typing.type_check_only -class DatafeedFormat(typing_extensions.TypedDict, total=False): +class DatafeedFormat(typing.TypedDict, total=False): columnDelimiter: str fileEncoding: str quotingMode: str @typing.type_check_only -class DatafeedStatus(typing_extensions.TypedDict, total=False): +class DatafeedStatus(typing.TypedDict, total=False): country: str datafeedId: str errors: _list[DatafeedStatusError] @@ -704,20 +694,20 @@ class DatafeedStatus(typing_extensions.TypedDict, total=False): warnings: _list[DatafeedStatusError] @typing.type_check_only -class DatafeedStatusError(typing_extensions.TypedDict, total=False): +class DatafeedStatusError(typing.TypedDict, total=False): code: str count: str examples: _list[DatafeedStatusExample] message: str @typing.type_check_only -class DatafeedStatusExample(typing_extensions.TypedDict, total=False): +class DatafeedStatusExample(typing.TypedDict, total=False): itemId: str lineNumber: str value: str @typing.type_check_only -class DatafeedTarget(typing_extensions.TypedDict, total=False): +class DatafeedTarget(typing.TypedDict, total=False): country: str excludedDestinations: _list[str] feedLabel: str @@ -726,11 +716,11 @@ class DatafeedTarget(typing_extensions.TypedDict, total=False): targetCountries: _list[str] @typing.type_check_only -class DatafeedsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[DatafeedsCustomBatchRequestEntry] @typing.type_check_only -class DatafeedsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int datafeed: Datafeed datafeedId: str @@ -738,32 +728,32 @@ class DatafeedsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False) method: str @typing.type_check_only -class DatafeedsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[DatafeedsCustomBatchResponseEntry] kind: str @typing.type_check_only -class DatafeedsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class DatafeedsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int datafeed: Datafeed errors: Errors @typing.type_check_only -class DatafeedsFetchNowResponse(typing_extensions.TypedDict, total=False): +class DatafeedsFetchNowResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class DatafeedsListResponse(typing_extensions.TypedDict, total=False): +class DatafeedsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[Datafeed] @typing.type_check_only -class DatafeedstatusesCustomBatchRequest(typing_extensions.TypedDict, total=False): +class DatafeedstatusesCustomBatchRequest(typing.TypedDict, total=False): entries: _list[DatafeedstatusesCustomBatchRequestEntry] @typing.type_check_only -class DatafeedstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class DatafeedstatusesCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int country: str datafeedId: str @@ -773,32 +763,30 @@ class DatafeedstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total method: str @typing.type_check_only -class DatafeedstatusesCustomBatchResponse(typing_extensions.TypedDict, total=False): +class DatafeedstatusesCustomBatchResponse(typing.TypedDict, total=False): entries: _list[DatafeedstatusesCustomBatchResponseEntry] kind: str @typing.type_check_only -class DatafeedstatusesCustomBatchResponseEntry( - typing_extensions.TypedDict, total=False -): +class DatafeedstatusesCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int datafeedStatus: DatafeedStatus errors: Errors @typing.type_check_only -class DatafeedstatusesListResponse(typing_extensions.TypedDict, total=False): +class DatafeedstatusesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[DatafeedStatus] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -810,18 +798,18 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class DeliveryArea(typing_extensions.TypedDict, total=False): +class DeliveryArea(typing.TypedDict, total=False): countryCode: str postalCodeRange: DeliveryAreaPostalCodeRange regionCode: str @typing.type_check_only -class DeliveryAreaPostalCodeRange(typing_extensions.TypedDict, total=False): +class DeliveryAreaPostalCodeRange(typing.TypedDict, total=False): firstPostalCode: str lastPostalCode: str @typing.type_check_only -class DeliveryTime(typing_extensions.TypedDict, total=False): +class DeliveryTime(typing.TypedDict, total=False): cutoffTime: CutoffTime handlingBusinessDayConfig: BusinessDayConfig holidayCutoffs: _list[HolidayCutoff] @@ -834,29 +822,29 @@ class DeliveryTime(typing_extensions.TypedDict, total=False): warehouseBasedDeliveryTimes: _list[WarehouseBasedDeliveryTime] @typing.type_check_only -class Distance(typing_extensions.TypedDict, total=False): +class Distance(typing.TypedDict, total=False): unit: str value: str @typing.type_check_only -class ECommercePlatformLinkInfo(typing_extensions.TypedDict, total=False): +class ECommercePlatformLinkInfo(typing.TypedDict, total=False): externalAccountId: str @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): domain: str message: str reason: str @typing.type_check_only -class Errors(typing_extensions.TypedDict, total=False): +class Errors(typing.TypedDict, total=False): code: int errors: _list[Error] message: str @typing.type_check_only -class ExternalAction(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ExternalAction(typing.TypedDict, total=False): + type: typing.Literal[ "EXTERNAL_ACTION_TYPE_UNSPECIFIED", "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", @@ -866,16 +854,16 @@ class ExternalAction(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class FreeListingsProgramStatus(typing_extensions.TypedDict, total=False): - globalState: typing_extensions.Literal[ +class FreeListingsProgramStatus(typing.TypedDict, total=False): + globalState: typing.Literal[ "PROGRAM_STATE_UNSPECIFIED", "NOT_ENABLED", "NO_OFFERS_UPLOADED", "ENABLED" ] regionStatuses: _list[FreeListingsProgramStatusRegionStatus] @typing.type_check_only -class FreeListingsProgramStatusRegionStatus(typing_extensions.TypedDict, total=False): +class FreeListingsProgramStatusRegionStatus(typing.TypedDict, total=False): disapprovalDate: str - eligibilityStatus: typing_extensions.Literal[ + eligibilityStatus: typing.Literal[ "STATE_UNSPECIFIED", "APPROVED", "DISAPPROVED", @@ -886,10 +874,10 @@ class FreeListingsProgramStatusRegionStatus(typing_extensions.TypedDict, total=F ] onboardingIssues: _list[str] regionCodes: _list[str] - reviewEligibilityStatus: typing_extensions.Literal[ + reviewEligibilityStatus: typing.Literal[ "REVIEW_ELIGIBILITY_UNSPECIFIED", "ELIGIBLE", "INELIGIBLE" ] - reviewIneligibilityReason: typing_extensions.Literal[ + reviewIneligibilityReason: typing.Literal[ "REVIEW_INELIGIBILITY_REASON_UNSPECIFIED", "ONBOARDING_ISSUES", "NOT_ENOUGH_OFFERS", @@ -908,40 +896,40 @@ class FreeListingsProgramStatusRegionStatus(typing_extensions.TypedDict, total=F @typing.type_check_only class FreeListingsProgramStatusReviewIneligibilityReasonDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cooldownTime: str @typing.type_check_only -class FreeShippingThreshold(typing_extensions.TypedDict, total=False): +class FreeShippingThreshold(typing.TypedDict, total=False): country: str priceThreshold: Price @typing.type_check_only -class GenerateRecommendationsResponse(typing_extensions.TypedDict, total=False): +class GenerateRecommendationsResponse(typing.TypedDict, total=False): recommendations: _list[Recommendation] responseToken: str @typing.type_check_only -class GmbAccounts(typing_extensions.TypedDict, total=False): +class GmbAccounts(typing.TypedDict, total=False): accountId: str gmbAccounts: _list[GmbAccountsGmbAccount] @typing.type_check_only -class GmbAccountsGmbAccount(typing_extensions.TypedDict, total=False): +class GmbAccountsGmbAccount(typing.TypedDict, total=False): email: str listingCount: str name: str type: str @typing.type_check_only -class GoogleAnalyticsLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsLink(typing.TypedDict, total=False): attributionSettings: AttributionSettings propertyId: str propertyName: str @typing.type_check_only -class Headers(typing_extensions.TypedDict, total=False): +class Headers(typing.TypedDict, total=False): locations: _list[LocationIdSet] numberOfItems: _list[str] postalCodeGroupNames: _list[str] @@ -949,7 +937,7 @@ class Headers(typing_extensions.TypedDict, total=False): weights: _list[Weight] @typing.type_check_only -class HolidayCutoff(typing_extensions.TypedDict, total=False): +class HolidayCutoff(typing.TypedDict, total=False): deadlineDate: str deadlineHour: int deadlineTimezone: str @@ -957,7 +945,7 @@ class HolidayCutoff(typing_extensions.TypedDict, total=False): visibleFromDate: str @typing.type_check_only -class HolidaysHoliday(typing_extensions.TypedDict, total=False): +class HolidaysHoliday(typing.TypedDict, total=False): countryCode: str date: str deliveryGuaranteeDate: str @@ -966,7 +954,7 @@ class HolidaysHoliday(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class InputField(typing_extensions.TypedDict, total=False): +class InputField(typing.TypedDict, total=False): checkboxInput: InputFieldCheckboxInput choiceInput: InputFieldChoiceInput id: str @@ -975,68 +963,68 @@ class InputField(typing_extensions.TypedDict, total=False): textInput: InputFieldTextInput @typing.type_check_only -class InputFieldCheckboxInput(typing_extensions.TypedDict, total=False): ... +class InputFieldCheckboxInput(typing.TypedDict, total=False): ... @typing.type_check_only -class InputFieldChoiceInput(typing_extensions.TypedDict, total=False): +class InputFieldChoiceInput(typing.TypedDict, total=False): options: _list[InputFieldChoiceInputChoiceInputOption] @typing.type_check_only -class InputFieldChoiceInputChoiceInputOption(typing_extensions.TypedDict, total=False): +class InputFieldChoiceInputChoiceInputOption(typing.TypedDict, total=False): additionalInput: InputField id: str label: TextWithTooltip @typing.type_check_only -class InputFieldTextInput(typing_extensions.TypedDict, total=False): +class InputFieldTextInput(typing.TypedDict, total=False): additionalInfo: TextWithTooltip ariaLabel: str formatInfo: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TEXT_INPUT_TYPE_UNSPECIFIED", "GENERIC_SHORT_TEXT", "GENERIC_LONG_TEXT" ] @typing.type_check_only -class InputValue(typing_extensions.TypedDict, total=False): +class InputValue(typing.TypedDict, total=False): checkboxInputValue: InputValueCheckboxInputValue choiceInputValue: InputValueChoiceInputValue inputFieldId: str textInputValue: InputValueTextInputValue @typing.type_check_only -class InputValueCheckboxInputValue(typing_extensions.TypedDict, total=False): +class InputValueCheckboxInputValue(typing.TypedDict, total=False): value: bool @typing.type_check_only -class InputValueChoiceInputValue(typing_extensions.TypedDict, total=False): +class InputValueChoiceInputValue(typing.TypedDict, total=False): choiceInputOptionId: str @typing.type_check_only -class InputValueTextInputValue(typing_extensions.TypedDict, total=False): +class InputValueTextInputValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class InsertCheckoutSettingsRequest(typing_extensions.TypedDict, total=False): +class InsertCheckoutSettingsRequest(typing.TypedDict, total=False): uriSettings: UrlSettings @typing.type_check_only -class Installment(typing_extensions.TypedDict, total=False): +class Installment(typing.TypedDict, total=False): amount: Price creditType: str downpayment: Price months: str @typing.type_check_only -class LabelIds(typing_extensions.TypedDict, total=False): +class LabelIds(typing.TypedDict, total=False): labelIds: _list[str] @typing.type_check_only -class LiaAboutPageSettings(typing_extensions.TypedDict, total=False): +class LiaAboutPageSettings(typing.TypedDict, total=False): status: str url: str @typing.type_check_only -class LiaCountrySettings(typing_extensions.TypedDict, total=False): +class LiaCountrySettings(typing.TypedDict, total=False): about: LiaAboutPageSettings country: str hostedLocalStorefrontActive: bool @@ -1047,40 +1035,40 @@ class LiaCountrySettings(typing_extensions.TypedDict, total=False): storePickupActive: bool @typing.type_check_only -class LiaInventorySettings(typing_extensions.TypedDict, total=False): +class LiaInventorySettings(typing.TypedDict, total=False): inventoryVerificationContactEmail: str inventoryVerificationContactName: str inventoryVerificationContactStatus: str status: str @typing.type_check_only -class LiaOmnichannelExperience(typing_extensions.TypedDict, total=False): +class LiaOmnichannelExperience(typing.TypedDict, total=False): country: str lsfType: str pickupTypes: _list[str] @typing.type_check_only -class LiaOnDisplayToOrderSettings(typing_extensions.TypedDict, total=False): +class LiaOnDisplayToOrderSettings(typing.TypedDict, total=False): shippingCostPolicyUrl: str status: str @typing.type_check_only -class LiaPosDataProvider(typing_extensions.TypedDict, total=False): +class LiaPosDataProvider(typing.TypedDict, total=False): posDataProviderId: str posExternalAccountId: str @typing.type_check_only -class LiaSettings(typing_extensions.TypedDict, total=False): +class LiaSettings(typing.TypedDict, total=False): accountId: str countrySettings: _list[LiaCountrySettings] kind: str @typing.type_check_only -class LiasettingsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[LiasettingsCustomBatchRequestEntry] @typing.type_check_only -class LiasettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str batchId: int contactEmail: str @@ -1095,12 +1083,12 @@ class LiasettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total=Fals posExternalAccountId: str @typing.type_check_only -class LiasettingsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[LiasettingsCustomBatchResponseEntry] kind: str @typing.type_check_only -class LiasettingsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class LiasettingsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors gmbAccounts: GmbAccounts @@ -1110,104 +1098,98 @@ class LiasettingsCustomBatchResponseEntry(typing_extensions.TypedDict, total=Fal posDataProviders: _list[PosDataProviders] @typing.type_check_only -class LiasettingsGetAccessibleGmbAccountsResponse( - typing_extensions.TypedDict, total=False -): +class LiasettingsGetAccessibleGmbAccountsResponse(typing.TypedDict, total=False): accountId: str gmbAccounts: _list[GmbAccountsGmbAccount] kind: str @typing.type_check_only -class LiasettingsListPosDataProvidersResponse(typing_extensions.TypedDict, total=False): +class LiasettingsListPosDataProvidersResponse(typing.TypedDict, total=False): kind: str posDataProviders: _list[PosDataProviders] @typing.type_check_only -class LiasettingsListResponse(typing_extensions.TypedDict, total=False): +class LiasettingsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[LiaSettings] @typing.type_check_only -class LiasettingsRequestGmbAccessResponse(typing_extensions.TypedDict, total=False): +class LiasettingsRequestGmbAccessResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LiasettingsRequestInventoryVerificationResponse( - typing_extensions.TypedDict, total=False -): +class LiasettingsRequestInventoryVerificationResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LiasettingsSetInventoryVerificationContactResponse( - typing_extensions.TypedDict, total=False -): +class LiasettingsSetInventoryVerificationContactResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LiasettingsSetPosDataProviderResponse(typing_extensions.TypedDict, total=False): +class LiasettingsSetPosDataProviderResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class LinkService(typing_extensions.TypedDict, total=False): +class LinkService(typing.TypedDict, total=False): service: str status: str @typing.type_check_only -class LinkedAccount(typing_extensions.TypedDict, total=False): +class LinkedAccount(typing.TypedDict, total=False): linkedAccountId: str services: _list[LinkService] @typing.type_check_only -class ListAccountLabelsResponse(typing_extensions.TypedDict, total=False): +class ListAccountLabelsResponse(typing.TypedDict, total=False): accountLabels: _list[AccountLabel] nextPageToken: str @typing.type_check_only -class ListAccountReturnCarrierResponse(typing_extensions.TypedDict, total=False): +class ListAccountReturnCarrierResponse(typing.TypedDict, total=False): accountReturnCarriers: _list[AccountReturnCarrier] @typing.type_check_only -class ListCollectionStatusesResponse(typing_extensions.TypedDict, total=False): +class ListCollectionStatusesResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[CollectionStatus] @typing.type_check_only -class ListCollectionsResponse(typing_extensions.TypedDict, total=False): +class ListCollectionsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Collection] @typing.type_check_only -class ListConversionSourcesResponse(typing_extensions.TypedDict, total=False): +class ListConversionSourcesResponse(typing.TypedDict, total=False): conversionSources: _list[ConversionSource] nextPageToken: str @typing.type_check_only -class ListCssesResponse(typing_extensions.TypedDict, total=False): +class ListCssesResponse(typing.TypedDict, total=False): csses: _list[Css] nextPageToken: str @typing.type_check_only -class ListMethodQuotasResponse(typing_extensions.TypedDict, total=False): +class ListMethodQuotasResponse(typing.TypedDict, total=False): methodQuotas: _list[MethodQuota] nextPageToken: str @typing.type_check_only -class ListPromotionResponse(typing_extensions.TypedDict, total=False): +class ListPromotionResponse(typing.TypedDict, total=False): nextPageToken: str promotions: _list[Promotion] @typing.type_check_only -class ListRegionsResponse(typing_extensions.TypedDict, total=False): +class ListRegionsResponse(typing.TypedDict, total=False): nextPageToken: str regions: _list[Region] @typing.type_check_only -class ListReturnPolicyOnlineResponse(typing_extensions.TypedDict, total=False): +class ListReturnPolicyOnlineResponse(typing.TypedDict, total=False): returnPolicies: _list[ReturnPolicyOnline] @typing.type_check_only -class LocalInventory(typing_extensions.TypedDict, total=False): +class LocalInventory(typing.TypedDict, total=False): availability: str customAttributes: _list[CustomAttribute] instoreProductLocation: str @@ -1221,11 +1203,11 @@ class LocalInventory(typing_extensions.TypedDict, total=False): storeCode: str @typing.type_check_only -class LocalinventoryCustomBatchRequest(typing_extensions.TypedDict, total=False): +class LocalinventoryCustomBatchRequest(typing.TypedDict, total=False): entries: _list[LocalinventoryCustomBatchRequestEntry] @typing.type_check_only -class LocalinventoryCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class LocalinventoryCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int localInventory: LocalInventory merchantId: str @@ -1233,22 +1215,22 @@ class LocalinventoryCustomBatchRequestEntry(typing_extensions.TypedDict, total=F productId: str @typing.type_check_only -class LocalinventoryCustomBatchResponse(typing_extensions.TypedDict, total=False): +class LocalinventoryCustomBatchResponse(typing.TypedDict, total=False): entries: _list[LocalinventoryCustomBatchResponseEntry] kind: str @typing.type_check_only -class LocalinventoryCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class LocalinventoryCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str @typing.type_check_only -class LocationIdSet(typing_extensions.TypedDict, total=False): +class LocationIdSet(typing.TypedDict, total=False): locationIds: _list[str] @typing.type_check_only -class LoyaltyProgram(typing_extensions.TypedDict, total=False): +class LoyaltyProgram(typing.TypedDict, total=False): cashbackForFutureUse: Price loyaltyPoints: str memberPriceEffectiveDate: str @@ -1258,21 +1240,21 @@ class LoyaltyProgram(typing_extensions.TypedDict, total=False): tierLabel: str @typing.type_check_only -class MerchantCenterDestination(typing_extensions.TypedDict, total=False): +class MerchantCenterDestination(typing.TypedDict, total=False): attributionSettings: AttributionSettings currencyCode: str destinationId: str displayName: str @typing.type_check_only -class MethodQuota(typing_extensions.TypedDict, total=False): +class MethodQuota(typing.TypedDict, total=False): method: str quotaLimit: str quotaMinuteLimit: str quotaUsage: str @typing.type_check_only -class Metrics(typing_extensions.TypedDict, total=False): +class Metrics(typing.TypedDict, total=False): aos: float aovMicros: float clicks: str @@ -1298,18 +1280,16 @@ class Metrics(typing_extensions.TypedDict, total=False): unshippedOrders: float @typing.type_check_only -class MinimumOrderValueTable(typing_extensions.TypedDict, total=False): +class MinimumOrderValueTable(typing.TypedDict, total=False): storeCodeSetWithMovs: _list[MinimumOrderValueTableStoreCodeSetWithMov] @typing.type_check_only -class MinimumOrderValueTableStoreCodeSetWithMov( - typing_extensions.TypedDict, total=False -): +class MinimumOrderValueTableStoreCodeSetWithMov(typing.TypedDict, total=False): storeCodes: _list[str] value: Price @typing.type_check_only -class OrderTrackingSignal(typing_extensions.TypedDict, total=False): +class OrderTrackingSignal(typing.TypedDict, total=False): customerShippingFee: PriceAmount deliveryPostalCode: str deliveryRegionCode: str @@ -1322,7 +1302,7 @@ class OrderTrackingSignal(typing_extensions.TypedDict, total=False): shippingInfo: _list[OrderTrackingSignalShippingInfo] @typing.type_check_only -class OrderTrackingSignalLineItemDetails(typing_extensions.TypedDict, total=False): +class OrderTrackingSignalLineItemDetails(typing.TypedDict, total=False): brand: str gtin: str lineItemId: str @@ -1335,15 +1315,13 @@ class OrderTrackingSignalLineItemDetails(typing_extensions.TypedDict, total=Fals upc: str @typing.type_check_only -class OrderTrackingSignalShipmentLineItemMapping( - typing_extensions.TypedDict, total=False -): +class OrderTrackingSignalShipmentLineItemMapping(typing.TypedDict, total=False): lineItemId: str quantity: str shipmentId: str @typing.type_check_only -class OrderTrackingSignalShippingInfo(typing_extensions.TypedDict, total=False): +class OrderTrackingSignalShippingInfo(typing.TypedDict, total=False): actualDeliveryTime: DateTime carrierName: str carrierServiceName: str @@ -1353,33 +1331,31 @@ class OrderTrackingSignalShippingInfo(typing_extensions.TypedDict, total=False): originRegionCode: str shipmentId: str shippedTime: DateTime - shippingStatus: typing_extensions.Literal[ - "SHIPPING_STATE_UNSPECIFIED", "SHIPPED", "DELIVERED" - ] + shippingStatus: typing.Literal["SHIPPING_STATE_UNSPECIFIED", "SHIPPED", "DELIVERED"] trackingId: str @typing.type_check_only -class PaymentServiceProviderLinkInfo(typing_extensions.TypedDict, total=False): +class PaymentServiceProviderLinkInfo(typing.TypedDict, total=False): externalAccountBusinessCountry: str externalAccountId: str @typing.type_check_only -class PickupCarrierService(typing_extensions.TypedDict, total=False): +class PickupCarrierService(typing.TypedDict, total=False): carrierName: str serviceName: str @typing.type_check_only -class PickupServicesPickupService(typing_extensions.TypedDict, total=False): +class PickupServicesPickupService(typing.TypedDict, total=False): carrierName: str country: str serviceName: str @typing.type_check_only -class PosCustomBatchRequest(typing_extensions.TypedDict, total=False): +class PosCustomBatchRequest(typing.TypedDict, total=False): entries: _list[PosCustomBatchRequestEntry] @typing.type_check_only -class PosCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class PosCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int inventory: PosInventory merchantId: str @@ -1390,12 +1366,12 @@ class PosCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): targetMerchantId: str @typing.type_check_only -class PosCustomBatchResponse(typing_extensions.TypedDict, total=False): +class PosCustomBatchResponse(typing.TypedDict, total=False): entries: _list[PosCustomBatchResponseEntry] kind: str @typing.type_check_only -class PosCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class PosCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors inventory: PosInventory @@ -1404,18 +1380,18 @@ class PosCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): store: PosStore @typing.type_check_only -class PosDataProviders(typing_extensions.TypedDict, total=False): +class PosDataProviders(typing.TypedDict, total=False): country: str posDataProviders: _list[PosDataProvidersPosDataProvider] @typing.type_check_only -class PosDataProvidersPosDataProvider(typing_extensions.TypedDict, total=False): +class PosDataProvidersPosDataProvider(typing.TypedDict, total=False): displayName: str fullName: str providerId: str @typing.type_check_only -class PosInventory(typing_extensions.TypedDict, total=False): +class PosInventory(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1429,7 +1405,7 @@ class PosInventory(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosInventoryRequest(typing_extensions.TypedDict, total=False): +class PosInventoryRequest(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1442,7 +1418,7 @@ class PosInventoryRequest(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosInventoryResponse(typing_extensions.TypedDict, total=False): +class PosInventoryResponse(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1456,12 +1432,12 @@ class PosInventoryResponse(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosListResponse(typing_extensions.TypedDict, total=False): +class PosListResponse(typing.TypedDict, total=False): kind: str resources: _list[PosStore] @typing.type_check_only -class PosSale(typing_extensions.TypedDict, total=False): +class PosSale(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1474,7 +1450,7 @@ class PosSale(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosSaleRequest(typing_extensions.TypedDict, total=False): +class PosSaleRequest(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1486,7 +1462,7 @@ class PosSaleRequest(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosSaleResponse(typing_extensions.TypedDict, total=False): +class PosSaleResponse(typing.TypedDict, total=False): contentLanguage: str gtin: str itemId: str @@ -1499,7 +1475,7 @@ class PosSaleResponse(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class PosStore(typing_extensions.TypedDict, total=False): +class PosStore(typing.TypedDict, total=False): gcidCategory: _list[str] kind: str matchingStatus: str @@ -1512,37 +1488,35 @@ class PosStore(typing_extensions.TypedDict, total=False): websiteUrl: str @typing.type_check_only -class PostalCodeGroup(typing_extensions.TypedDict, total=False): +class PostalCodeGroup(typing.TypedDict, total=False): country: str name: str postalCodeRanges: _list[PostalCodeRange] @typing.type_check_only -class PostalCodeRange(typing_extensions.TypedDict, total=False): +class PostalCodeRange(typing.TypedDict, total=False): postalCodeRangeBegin: str postalCodeRangeEnd: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): currency: str value: str @typing.type_check_only -class PriceAmount(typing_extensions.TypedDict, total=False): +class PriceAmount(typing.TypedDict, total=False): currency: str value: str @typing.type_check_only -class PriceCompetitiveness(typing_extensions.TypedDict, total=False): +class PriceCompetitiveness(typing.TypedDict, total=False): benchmarkPriceCurrencyCode: str benchmarkPriceMicros: str countryCode: str @typing.type_check_only -class PriceInsights(typing_extensions.TypedDict, total=False): - effectiveness: typing_extensions.Literal[ - "EFFECTIVENESS_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" - ] +class PriceInsights(typing.TypedDict, total=False): + effectiveness: typing.Literal["EFFECTIVENESS_UNSPECIFIED", "LOW", "MEDIUM", "HIGH"] predictedClicksChangeFraction: float predictedConversionsChangeFraction: float predictedGrossProfitChangeFraction: float @@ -1553,7 +1527,7 @@ class PriceInsights(typing_extensions.TypedDict, total=False): suggestedPriceMicros: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): additionalImageLinks: _list[str] additionalSizeType: str adsGrouping: str @@ -1660,16 +1634,16 @@ class Product(typing_extensions.TypedDict, total=False): virtualModelLink: str @typing.type_check_only -class ProductCertification(typing_extensions.TypedDict, total=False): +class ProductCertification(typing.TypedDict, total=False): certificationAuthority: str certificationCode: str certificationName: str certificationValue: str @typing.type_check_only -class ProductCluster(typing_extensions.TypedDict, total=False): +class ProductCluster(typing.TypedDict, total=False): brand: str - brandInventoryStatus: typing_extensions.Literal[ + brandInventoryStatus: typing.Literal[ "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" ] categoryL1: str @@ -1677,42 +1651,40 @@ class ProductCluster(typing_extensions.TypedDict, total=False): categoryL3: str categoryL4: str categoryL5: str - inventoryStatus: typing_extensions.Literal[ + inventoryStatus: typing.Literal[ "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" ] title: str variantGtins: _list[str] @typing.type_check_only -class ProductDeliveryTime(typing_extensions.TypedDict, total=False): +class ProductDeliveryTime(typing.TypedDict, total=False): areaDeliveryTimes: _list[ProductDeliveryTimeAreaDeliveryTime] productId: ProductId @typing.type_check_only -class ProductDeliveryTimeAreaDeliveryTime(typing_extensions.TypedDict, total=False): +class ProductDeliveryTimeAreaDeliveryTime(typing.TypedDict, total=False): deliveryArea: DeliveryArea deliveryTime: ProductDeliveryTimeAreaDeliveryTimeDeliveryTime @typing.type_check_only -class ProductDeliveryTimeAreaDeliveryTimeDeliveryTime( - typing_extensions.TypedDict, total=False -): +class ProductDeliveryTimeAreaDeliveryTimeDeliveryTime(typing.TypedDict, total=False): maxHandlingTimeDays: int maxTransitTimeDays: int minHandlingTimeDays: int minTransitTimeDays: int @typing.type_check_only -class ProductDimension(typing_extensions.TypedDict, total=False): +class ProductDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductId(typing_extensions.TypedDict, total=False): +class ProductId(typing.TypedDict, total=False): productId: str @typing.type_check_only -class ProductIssue(typing_extensions.TypedDict, total=False): +class ProductIssue(typing.TypedDict, total=False): actions: _list[Action] impact: ProductIssueImpact prerenderedContent: str @@ -1720,21 +1692,19 @@ class ProductIssue(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ProductIssueImpact(typing_extensions.TypedDict, total=False): +class ProductIssueImpact(typing.TypedDict, total=False): breakdowns: _list[Breakdown] message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ProductProductDetail(typing_extensions.TypedDict, total=False): +class ProductProductDetail(typing.TypedDict, total=False): attributeName: str attributeValue: str sectionName: str @typing.type_check_only -class ProductShipping(typing_extensions.TypedDict, total=False): +class ProductShipping(typing.TypedDict, total=False): country: str locationGroupName: str locationId: str @@ -1748,17 +1718,17 @@ class ProductShipping(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class ProductShippingDimension(typing_extensions.TypedDict, total=False): +class ProductShippingDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductShippingWeight(typing_extensions.TypedDict, total=False): +class ProductShippingWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductStatus(typing_extensions.TypedDict, total=False): +class ProductStatus(typing.TypedDict, total=False): creationDate: str destinationStatuses: _list[ProductStatusDestinationStatus] googleExpirationDate: str @@ -1770,7 +1740,7 @@ class ProductStatus(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ProductStatusDestinationStatus(typing_extensions.TypedDict, total=False): +class ProductStatusDestinationStatus(typing.TypedDict, total=False): approvedCountries: _list[str] channel: str destination: str @@ -1779,7 +1749,7 @@ class ProductStatusDestinationStatus(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class ProductStatusItemLevelIssue(typing_extensions.TypedDict, total=False): +class ProductStatusItemLevelIssue(typing.TypedDict, total=False): applicableCountries: _list[str] attributeName: str code: str @@ -1791,31 +1761,29 @@ class ProductStatusItemLevelIssue(typing_extensions.TypedDict, total=False): servability: str @typing.type_check_only -class ProductStructuredDescription(typing_extensions.TypedDict, total=False): +class ProductStructuredDescription(typing.TypedDict, total=False): content: str digitalSourceType: str @typing.type_check_only -class ProductStructuredTitle(typing_extensions.TypedDict, total=False): +class ProductStructuredTitle(typing.TypedDict, total=False): content: str digitalSourceType: str @typing.type_check_only -class ProductSubscriptionCost(typing_extensions.TypedDict, total=False): +class ProductSubscriptionCost(typing.TypedDict, total=False): amount: Price period: str periodLength: str @typing.type_check_only -class ProductSustainabilityIncentive(typing_extensions.TypedDict, total=False): +class ProductSustainabilityIncentive(typing.TypedDict, total=False): amount: Price percentage: float - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "EV_TAX_CREDIT", "EV_PRICE_DISCOUNT" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "EV_TAX_CREDIT", "EV_PRICE_DISCOUNT"] @typing.type_check_only -class ProductTax(typing_extensions.TypedDict, total=False): +class ProductTax(typing.TypedDict, total=False): country: str locationId: str postalCode: str @@ -1824,18 +1792,18 @@ class ProductTax(typing_extensions.TypedDict, total=False): taxShip: bool @typing.type_check_only -class ProductUnitPricingBaseMeasure(typing_extensions.TypedDict, total=False): +class ProductUnitPricingBaseMeasure(typing.TypedDict, total=False): unit: str value: str @typing.type_check_only -class ProductUnitPricingMeasure(typing_extensions.TypedDict, total=False): +class ProductUnitPricingMeasure(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductView(typing_extensions.TypedDict, total=False): - aggregatedDestinationStatus: typing_extensions.Literal[ +class ProductView(typing.TypedDict, total=False): + aggregatedDestinationStatus: typing.Literal[ "AGGREGATED_STATUS_UNSPECIFIED", "NOT_ELIGIBLE_OR_DISAPPROVED", "PENDING", @@ -1849,8 +1817,8 @@ class ProductView(typing_extensions.TypedDict, total=False): categoryL3: str categoryL4: str categoryL5: str - channel: typing_extensions.Literal["CHANNEL_UNSPECIFIED", "LOCAL", "ONLINE"] - clickPotential: typing_extensions.Literal[ + channel: typing.Literal["CHANNEL_UNSPECIFIED", "LOCAL", "ONLINE"] + clickPotential: typing.Literal[ "CLICK_POTENTIAL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] clickPotentialRank: str @@ -1874,44 +1842,40 @@ class ProductView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ProductViewItemIssue(typing_extensions.TypedDict, total=False): +class ProductViewItemIssue(typing.TypedDict, total=False): issueType: ProductViewItemIssueItemIssueType - resolution: typing_extensions.Literal[ - "UNKNOWN", "MERCHANT_ACTION", "PENDING_PROCESSING" - ] + resolution: typing.Literal["UNKNOWN", "MERCHANT_ACTION", "PENDING_PROCESSING"] severity: ProductViewItemIssueItemIssueSeverity @typing.type_check_only -class ProductViewItemIssueIssueSeverityPerDestination( - typing_extensions.TypedDict, total=False -): +class ProductViewItemIssueIssueSeverityPerDestination(typing.TypedDict, total=False): demotedCountries: _list[str] destination: str disapprovedCountries: _list[str] @typing.type_check_only -class ProductViewItemIssueItemIssueSeverity(typing_extensions.TypedDict, total=False): - aggregatedSeverity: typing_extensions.Literal[ +class ProductViewItemIssueItemIssueSeverity(typing.TypedDict, total=False): + aggregatedSeverity: typing.Literal[ "AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED", "DISAPPROVED", "DEMOTED", "PENDING" ] severityPerDestination: _list[ProductViewItemIssueIssueSeverityPerDestination] @typing.type_check_only -class ProductViewItemIssueItemIssueType(typing_extensions.TypedDict, total=False): +class ProductViewItemIssueItemIssueType(typing.TypedDict, total=False): canonicalAttribute: str code: str @typing.type_check_only -class ProductWeight(typing_extensions.TypedDict, total=False): +class ProductWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[ProductsCustomBatchRequestEntry] @typing.type_check_only -class ProductsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int feedId: str merchantId: str @@ -1921,29 +1885,29 @@ class ProductsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class ProductsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[ProductsCustomBatchResponseEntry] kind: str @typing.type_check_only -class ProductsCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class ProductsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str product: Product @typing.type_check_only -class ProductsListResponse(typing_extensions.TypedDict, total=False): +class ProductsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[Product] @typing.type_check_only -class ProductstatusesCustomBatchRequest(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchRequest(typing.TypedDict, total=False): entries: _list[ProductstatusesCustomBatchRequestEntry] @typing.type_check_only -class ProductstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int destinations: _list[str] includeAttributes: bool @@ -1952,29 +1916,29 @@ class ProductstatusesCustomBatchRequestEntry(typing_extensions.TypedDict, total= productId: str @typing.type_check_only -class ProductstatusesCustomBatchResponse(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchResponse(typing.TypedDict, total=False): entries: _list[ProductstatusesCustomBatchResponseEntry] kind: str @typing.type_check_only -class ProductstatusesCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): +class ProductstatusesCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str productStatus: ProductStatus @typing.type_check_only -class ProductstatusesListResponse(typing_extensions.TypedDict, total=False): +class ProductstatusesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[ProductStatus] @typing.type_check_only -class Promotion(typing_extensions.TypedDict, total=False): +class Promotion(typing.TypedDict, total=False): brand: _list[str] brandExclusion: _list[str] contentLanguage: str - couponValueType: typing_extensions.Literal[ + couponValueType: typing.Literal[ "COUPON_VALUE_TYPE_UNSPECIFIED", "MONEY_OFF", "PERCENT_OFF", @@ -2008,12 +1972,10 @@ class Promotion(typing_extensions.TypedDict, total=False): minimumPurchaseQuantity: int moneyBudget: PriceAmount moneyOffAmount: PriceAmount - offerType: typing_extensions.Literal[ - "OFFER_TYPE_UNSPECIFIED", "NO_CODE", "GENERIC_CODE" - ] + offerType: typing.Literal["OFFER_TYPE_UNSPECIFIED", "NO_CODE", "GENERIC_CODE"] orderLimit: int percentOff: int - productApplicability: typing_extensions.Literal[ + productApplicability: typing.Literal[ "PRODUCT_APPLICABILITY_UNSPECIFIED", "ALL_PRODUCTS", "SPECIFIC_PRODUCTS" ] productType: _list[str] @@ -2027,11 +1989,9 @@ class Promotion(typing_extensions.TypedDict, total=False): promotionStatus: PromotionPromotionStatus promotionUrl: str redemptionChannel: _list[ - typing_extensions.Literal[ - "REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE" - ] + typing.Literal["REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE"] ] - redemptionRestriction: typing_extensions.Literal[ + redemptionRestriction: typing.Literal[ "REDEMPTION_RESTRICTION_UNSPECIFIED", "SUBSCRIBE_AND_SAVE", "FIRST_ORDER", @@ -2041,7 +2001,7 @@ class Promotion(typing_extensions.TypedDict, total=False): "CUSTOM", ] shippingServiceNames: _list[str] - storeApplicability: typing_extensions.Literal[ + storeApplicability: typing.Literal[ "STORE_APPLICABILITY_UNSPECIFIED", "ALL_STORES", "SPECIFIC_STORES" ] storeCode: _list[str] @@ -2049,18 +2009,16 @@ class Promotion(typing_extensions.TypedDict, total=False): targetCountry: str @typing.type_check_only -class PromotionPromotionStatus(typing_extensions.TypedDict, total=False): +class PromotionPromotionStatus(typing.TypedDict, total=False): creationDate: str destinationStatuses: _list[PromotionPromotionStatusDestinationStatus] lastUpdateDate: str promotionIssue: _list[PromotionPromotionStatusPromotionIssue] @typing.type_check_only -class PromotionPromotionStatusDestinationStatus( - typing_extensions.TypedDict, total=False -): +class PromotionPromotionStatusDestinationStatus(typing.TypedDict, total=False): destination: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATE_UNSPECIFIED", "IN_REVIEW", "REJECTED", @@ -2071,18 +2029,18 @@ class PromotionPromotionStatusDestinationStatus( ] @typing.type_check_only -class PromotionPromotionStatusPromotionIssue(typing_extensions.TypedDict, total=False): +class PromotionPromotionStatusPromotionIssue(typing.TypedDict, total=False): code: str detail: str @typing.type_check_only -class PubsubNotificationSettings(typing_extensions.TypedDict, total=False): +class PubsubNotificationSettings(typing.TypedDict, total=False): cloudTopicName: str kind: str registeredEvents: _list[str] @typing.type_check_only -class RateGroup(typing_extensions.TypedDict, total=False): +class RateGroup(typing.TypedDict, total=False): applicableShippingLabels: _list[str] carrierRates: _list[CarrierRate] mainTable: Table @@ -2091,7 +2049,7 @@ class RateGroup(typing_extensions.TypedDict, total=False): subtables: _list[Table] @typing.type_check_only -class Recommendation(typing_extensions.TypedDict, total=False): +class Recommendation(typing.TypedDict, total=False): additionalCallToAction: _list[RecommendationCallToAction] additionalDescriptions: _list[RecommendationDescription] creative: _list[RecommendationCreative] @@ -2105,23 +2063,23 @@ class Recommendation(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RecommendationCallToAction(typing_extensions.TypedDict, total=False): +class RecommendationCallToAction(typing.TypedDict, total=False): intent: str localizedText: str uri: str @typing.type_check_only -class RecommendationCreative(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["CREATIVE_TYPE_UNSPECIFIED", "VIDEO", "PHOTO"] +class RecommendationCreative(typing.TypedDict, total=False): + type: typing.Literal["CREATIVE_TYPE_UNSPECIFIED", "VIDEO", "PHOTO"] uri: str @typing.type_check_only -class RecommendationDescription(typing_extensions.TypedDict, total=False): +class RecommendationDescription(typing.TypedDict, total=False): text: str - type: typing_extensions.Literal["DESCRIPTION_TYPE_UNSPECIFIED", "SHORT", "LONG"] + type: typing.Literal["DESCRIPTION_TYPE_UNSPECIFIED", "SHORT", "LONG"] @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): displayName: str geotargetArea: RegionGeoTargetArea merchantId: str @@ -2131,21 +2089,21 @@ class Region(typing_extensions.TypedDict, total=False): shippingEligible: bool @typing.type_check_only -class RegionGeoTargetArea(typing_extensions.TypedDict, total=False): +class RegionGeoTargetArea(typing.TypedDict, total=False): geotargetCriteriaIds: _list[str] @typing.type_check_only -class RegionPostalCodeArea(typing_extensions.TypedDict, total=False): +class RegionPostalCodeArea(typing.TypedDict, total=False): postalCodes: _list[RegionPostalCodeAreaPostalCodeRange] regionCode: str @typing.type_check_only -class RegionPostalCodeAreaPostalCodeRange(typing_extensions.TypedDict, total=False): +class RegionPostalCodeAreaPostalCodeRange(typing.TypedDict, total=False): begin: str end: str @typing.type_check_only -class RegionalInventory(typing_extensions.TypedDict, total=False): +class RegionalInventory(typing.TypedDict, total=False): availability: str customAttributes: _list[CustomAttribute] kind: str @@ -2155,13 +2113,11 @@ class RegionalInventory(typing_extensions.TypedDict, total=False): salePriceEffectiveDate: str @typing.type_check_only -class RegionalinventoryCustomBatchRequest(typing_extensions.TypedDict, total=False): +class RegionalinventoryCustomBatchRequest(typing.TypedDict, total=False): entries: _list[RegionalinventoryCustomBatchRequestEntry] @typing.type_check_only -class RegionalinventoryCustomBatchRequestEntry( - typing_extensions.TypedDict, total=False -): +class RegionalinventoryCustomBatchRequestEntry(typing.TypedDict, total=False): batchId: int merchantId: str method: str @@ -2169,54 +2125,48 @@ class RegionalinventoryCustomBatchRequestEntry( regionalInventory: RegionalInventory @typing.type_check_only -class RegionalinventoryCustomBatchResponse(typing_extensions.TypedDict, total=False): +class RegionalinventoryCustomBatchResponse(typing.TypedDict, total=False): entries: _list[RegionalinventoryCustomBatchResponseEntry] kind: str @typing.type_check_only -class RegionalinventoryCustomBatchResponseEntry( - typing_extensions.TypedDict, total=False -): +class RegionalinventoryCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str regionalInventory: RegionalInventory @typing.type_check_only -class RenderAccountIssuesRequestPayload(typing_extensions.TypedDict, total=False): - contentOption: typing_extensions.Literal[ - "CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML" - ] - userInputActionOption: typing_extensions.Literal[ +class RenderAccountIssuesRequestPayload(typing.TypedDict, total=False): + contentOption: typing.Literal["CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML"] + userInputActionOption: typing.Literal[ "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", "REDIRECT_TO_MERCHANT_CENTER", "BUILT_IN_USER_INPUT_ACTIONS", ] @typing.type_check_only -class RenderAccountIssuesResponse(typing_extensions.TypedDict, total=False): +class RenderAccountIssuesResponse(typing.TypedDict, total=False): alternateDisputeResolution: AlternateDisputeResolution issues: _list[AccountIssue] @typing.type_check_only -class RenderProductIssuesRequestPayload(typing_extensions.TypedDict, total=False): - contentOption: typing_extensions.Literal[ - "CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML" - ] - userInputActionOption: typing_extensions.Literal[ +class RenderProductIssuesRequestPayload(typing.TypedDict, total=False): + contentOption: typing.Literal["CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML"] + userInputActionOption: typing.Literal[ "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", "REDIRECT_TO_MERCHANT_CENTER", "BUILT_IN_USER_INPUT_ACTIONS", ] @typing.type_check_only -class RenderProductIssuesResponse(typing_extensions.TypedDict, total=False): +class RenderProductIssuesResponse(typing.TypedDict, total=False): alternateDisputeResolution: AlternateDisputeResolution issues: _list[ProductIssue] @typing.type_check_only -class ReportInteractionRequest(typing_extensions.TypedDict, total=False): - interactionType: typing_extensions.Literal[ +class ReportInteractionRequest(typing.TypedDict, total=False): + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "INTERACTION_DISMISS", "INTERACTION_CLICK" ] responseToken: str @@ -2224,7 +2174,7 @@ class ReportInteractionRequest(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ReportRow(typing_extensions.TypedDict, total=False): +class ReportRow(typing.TypedDict, total=False): bestSellers: BestSellers brand: Brand competitiveVisibility: CompetitiveVisibility @@ -2237,49 +2187,45 @@ class ReportRow(typing_extensions.TypedDict, total=False): topicTrends: TopicTrends @typing.type_check_only -class RequestPhoneVerificationRequest(typing_extensions.TypedDict, total=False): +class RequestPhoneVerificationRequest(typing.TypedDict, total=False): languageCode: str phoneNumber: str phoneRegionCode: str - phoneVerificationMethod: typing_extensions.Literal[ + phoneVerificationMethod: typing.Literal[ "PHONE_VERIFICATION_METHOD_UNSPECIFIED", "SMS", "PHONE_CALL" ] @typing.type_check_only -class RequestPhoneVerificationResponse(typing_extensions.TypedDict, total=False): +class RequestPhoneVerificationResponse(typing.TypedDict, total=False): verificationId: str @typing.type_check_only -class RequestReviewFreeListingsRequest(typing_extensions.TypedDict, total=False): +class RequestReviewFreeListingsRequest(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class RequestReviewShoppingAdsRequest(typing_extensions.TypedDict, total=False): +class RequestReviewShoppingAdsRequest(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class ReturnPolicyOnline(typing_extensions.TypedDict, total=False): +class ReturnPolicyOnline(typing.TypedDict, total=False): countries: _list[str] - itemConditions: _list[ - typing_extensions.Literal["ITEM_CONDITION_UNSPECIFIED", "NEW", "USED"] - ] + itemConditions: _list[typing.Literal["ITEM_CONDITION_UNSPECIFIED", "NEW", "USED"]] label: str name: str policy: ReturnPolicyOnlinePolicy restockingFee: ReturnPolicyOnlineRestockingFee returnMethods: _list[ - typing_extensions.Literal[ - "RETURN_METHOD_UNSPECIFIED", "BY_MAIL", "IN_STORE", "AT_A_KIOSK" - ] + typing.Literal["RETURN_METHOD_UNSPECIFIED", "BY_MAIL", "IN_STORE", "AT_A_KIOSK"] ] returnPolicyId: str returnPolicyUri: str returnReasonCategoryInfo: _list[ReturnPolicyOnlineReturnReasonCategoryInfo] @typing.type_check_only -class ReturnPolicyOnlinePolicy(typing_extensions.TypedDict, total=False): +class ReturnPolicyOnlinePolicy(typing.TypedDict, total=False): days: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "NUMBER_OF_DAYS_AFTER_DELIVERY", "NO_RETURNS", @@ -2287,49 +2233,45 @@ class ReturnPolicyOnlinePolicy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ReturnPolicyOnlineRestockingFee(typing_extensions.TypedDict, total=False): +class ReturnPolicyOnlineRestockingFee(typing.TypedDict, total=False): fixedFee: PriceAmount microPercent: int @typing.type_check_only -class ReturnPolicyOnlineReturnReasonCategoryInfo( - typing_extensions.TypedDict, total=False -): - returnLabelSource: typing_extensions.Literal[ +class ReturnPolicyOnlineReturnReasonCategoryInfo(typing.TypedDict, total=False): + returnLabelSource: typing.Literal[ "RETURN_LABEL_SOURCE_UNSPECIFIED", "DOWNLOAD_AND_PRINT", "IN_THE_BOX", "CUSTOMER_RESPONSIBILITY", ] - returnReasonCategory: typing_extensions.Literal[ + returnReasonCategory: typing.Literal[ "RETURN_REASON_CATEGORY_UNSPECIFIED", "BUYER_REMORSE", "ITEM_DEFECT" ] returnShippingFee: ReturnPolicyOnlineReturnShippingFee @typing.type_check_only -class ReturnPolicyOnlineReturnShippingFee(typing_extensions.TypedDict, total=False): +class ReturnPolicyOnlineReturnShippingFee(typing.TypedDict, total=False): fixedFee: PriceAmount - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE"] @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): cells: _list[Value] @typing.type_check_only -class SearchRequest(typing_extensions.TypedDict, total=False): +class SearchRequest(typing.TypedDict, total=False): pageSize: int pageToken: str query: str @typing.type_check_only -class SearchResponse(typing_extensions.TypedDict, total=False): +class SearchResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[ReportRow] @typing.type_check_only -class Segments(typing_extensions.TypedDict, total=False): +class Segments(typing.TypedDict, total=False): brand: str categoryL1: str categoryL2: str @@ -2350,7 +2292,7 @@ class Segments(typing_extensions.TypedDict, total=False): productTypeL3: str productTypeL4: str productTypeL5: str - program: typing_extensions.Literal[ + program: typing.Literal[ "PROGRAM_UNSPECIFIED", "SHOPPING_ADS", "FREE_PRODUCT_LISTING", @@ -2361,7 +2303,7 @@ class Segments(typing_extensions.TypedDict, total=False): week: Date @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): active: bool currency: str deliveryCountry: str @@ -2376,38 +2318,36 @@ class Service(typing_extensions.TypedDict, total=False): storeConfig: ServiceStoreConfig @typing.type_check_only -class ServiceStoreConfig(typing_extensions.TypedDict, total=False): +class ServiceStoreConfig(typing.TypedDict, total=False): cutoffConfig: ServiceStoreConfigCutoffConfig serviceRadius: Distance storeCodes: _list[str] storeServiceType: str @typing.type_check_only -class ServiceStoreConfigCutoffConfig(typing_extensions.TypedDict, total=False): +class ServiceStoreConfigCutoffConfig(typing.TypedDict, total=False): localCutoffTime: ServiceStoreConfigCutoffConfigLocalCutoffTime noDeliveryPostCutoff: bool storeCloseOffsetHours: str @typing.type_check_only -class ServiceStoreConfigCutoffConfigLocalCutoffTime( - typing_extensions.TypedDict, total=False -): +class ServiceStoreConfigCutoffConfigLocalCutoffTime(typing.TypedDict, total=False): hour: str minute: str @typing.type_check_only -class ShippingSettings(typing_extensions.TypedDict, total=False): +class ShippingSettings(typing.TypedDict, total=False): accountId: str postalCodeGroups: _list[PostalCodeGroup] services: _list[Service] warehouses: _list[Warehouse] @typing.type_check_only -class ShippingsettingsCustomBatchRequest(typing_extensions.TypedDict, total=False): +class ShippingsettingsCustomBatchRequest(typing.TypedDict, total=False): entries: _list[ShippingsettingsCustomBatchRequestEntry] @typing.type_check_only -class ShippingsettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): +class ShippingsettingsCustomBatchRequestEntry(typing.TypedDict, total=False): accountId: str batchId: int merchantId: str @@ -2415,57 +2355,49 @@ class ShippingsettingsCustomBatchRequestEntry(typing_extensions.TypedDict, total shippingSettings: ShippingSettings @typing.type_check_only -class ShippingsettingsCustomBatchResponse(typing_extensions.TypedDict, total=False): +class ShippingsettingsCustomBatchResponse(typing.TypedDict, total=False): entries: _list[ShippingsettingsCustomBatchResponseEntry] kind: str @typing.type_check_only -class ShippingsettingsCustomBatchResponseEntry( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsCustomBatchResponseEntry(typing.TypedDict, total=False): batchId: int errors: Errors kind: str shippingSettings: ShippingSettings @typing.type_check_only -class ShippingsettingsGetSupportedCarriersResponse( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsGetSupportedCarriersResponse(typing.TypedDict, total=False): carriers: _list[CarriersCarrier] kind: str @typing.type_check_only -class ShippingsettingsGetSupportedHolidaysResponse( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsGetSupportedHolidaysResponse(typing.TypedDict, total=False): holidays: _list[HolidaysHoliday] kind: str @typing.type_check_only -class ShippingsettingsGetSupportedPickupServicesResponse( - typing_extensions.TypedDict, total=False -): +class ShippingsettingsGetSupportedPickupServicesResponse(typing.TypedDict, total=False): kind: str pickupServices: _list[PickupServicesPickupService] @typing.type_check_only -class ShippingsettingsListResponse(typing_extensions.TypedDict, total=False): +class ShippingsettingsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str resources: _list[ShippingSettings] @typing.type_check_only -class ShoppingAdsProgramStatus(typing_extensions.TypedDict, total=False): - globalState: typing_extensions.Literal[ +class ShoppingAdsProgramStatus(typing.TypedDict, total=False): + globalState: typing.Literal[ "PROGRAM_STATE_UNSPECIFIED", "NOT_ENABLED", "NO_OFFERS_UPLOADED", "ENABLED" ] regionStatuses: _list[ShoppingAdsProgramStatusRegionStatus] @typing.type_check_only -class ShoppingAdsProgramStatusRegionStatus(typing_extensions.TypedDict, total=False): +class ShoppingAdsProgramStatusRegionStatus(typing.TypedDict, total=False): disapprovalDate: str - eligibilityStatus: typing_extensions.Literal[ + eligibilityStatus: typing.Literal[ "STATE_UNSPECIFIED", "APPROVED", "DISAPPROVED", @@ -2476,10 +2408,10 @@ class ShoppingAdsProgramStatusRegionStatus(typing_extensions.TypedDict, total=Fa ] onboardingIssues: _list[str] regionCodes: _list[str] - reviewEligibilityStatus: typing_extensions.Literal[ + reviewEligibilityStatus: typing.Literal[ "REVIEW_ELIGIBILITY_UNSPECIFIED", "ELIGIBLE", "INELIGIBLE" ] - reviewIneligibilityReason: typing_extensions.Literal[ + reviewIneligibilityReason: typing.Literal[ "REVIEW_INELIGIBILITY_REASON_UNSPECIFIED", "ONBOARDING_ISSUES", "NOT_ENOUGH_OFFERS", @@ -2498,37 +2430,37 @@ class ShoppingAdsProgramStatusRegionStatus(typing_extensions.TypedDict, total=Fa @typing.type_check_only class ShoppingAdsProgramStatusReviewIneligibilityReasonDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cooldownTime: str @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columnHeaders: Headers name: str rowHeaders: Headers rows: _list[Row] @typing.type_check_only -class TextWithTooltip(typing_extensions.TypedDict, total=False): +class TextWithTooltip(typing.TypedDict, total=False): simpleTooltipValue: str simpleValue: str - tooltipIconStyle: typing_extensions.Literal[ + tooltipIconStyle: typing.Literal[ "TOOLTIP_ICON_STYLE_UNSPECIFIED", "INFO", "QUESTION" ] @typing.type_check_only -class TimePeriod(typing_extensions.TypedDict, total=False): +class TimePeriod(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class TopicTrends(typing_extensions.TypedDict, total=False): +class TopicTrends(typing.TypedDict, total=False): customerCountryCode: str date: Date last120DaysSearchInterest: float @@ -2540,41 +2472,39 @@ class TopicTrends(typing_extensions.TypedDict, total=False): topic: str @typing.type_check_only -class TransitTable(typing_extensions.TypedDict, total=False): +class TransitTable(typing.TypedDict, total=False): postalCodeGroupNames: _list[str] rows: _list[TransitTableTransitTimeRow] transitTimeLabels: _list[str] @typing.type_check_only -class TransitTableTransitTimeRow(typing_extensions.TypedDict, total=False): +class TransitTableTransitTimeRow(typing.TypedDict, total=False): values: _list[TransitTableTransitTimeRowTransitTimeValue] @typing.type_check_only -class TransitTableTransitTimeRowTransitTimeValue( - typing_extensions.TypedDict, total=False -): +class TransitTableTransitTimeRowTransitTimeValue(typing.TypedDict, total=False): maxTransitTimeInDays: int minTransitTimeInDays: int @typing.type_check_only -class TriggerActionPayload(typing_extensions.TypedDict, total=False): +class TriggerActionPayload(typing.TypedDict, total=False): actionContext: str actionInput: ActionInput @typing.type_check_only -class TriggerActionResponse(typing_extensions.TypedDict, total=False): +class TriggerActionResponse(typing.TypedDict, total=False): message: str @typing.type_check_only -class UndeleteConversionSourceRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteConversionSourceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UrlSettings(typing_extensions.TypedDict, total=False): +class UrlSettings(typing.TypedDict, total=False): cartUriTemplate: str checkoutUriTemplate: str @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): carrierRateName: str flatRate: Price noShipping: bool @@ -2582,19 +2512,19 @@ class Value(typing_extensions.TypedDict, total=False): subtableName: str @typing.type_check_only -class VerifyPhoneNumberRequest(typing_extensions.TypedDict, total=False): - phoneVerificationMethod: typing_extensions.Literal[ +class VerifyPhoneNumberRequest(typing.TypedDict, total=False): + phoneVerificationMethod: typing.Literal[ "PHONE_VERIFICATION_METHOD_UNSPECIFIED", "SMS", "PHONE_CALL" ] verificationCode: str verificationId: str @typing.type_check_only -class VerifyPhoneNumberResponse(typing_extensions.TypedDict, total=False): +class VerifyPhoneNumberResponse(typing.TypedDict, total=False): verifiedPhoneNumber: str @typing.type_check_only -class Warehouse(typing_extensions.TypedDict, total=False): +class Warehouse(typing.TypedDict, total=False): businessDayConfig: BusinessDayConfig cutoffTime: WarehouseCutoffTime handlingDays: str @@ -2602,7 +2532,7 @@ class Warehouse(typing_extensions.TypedDict, total=False): shippingAddress: Address @typing.type_check_only -class WarehouseBasedDeliveryTime(typing_extensions.TypedDict, total=False): +class WarehouseBasedDeliveryTime(typing.TypedDict, total=False): carrier: str carrierService: str originAdministrativeArea: str @@ -2613,11 +2543,11 @@ class WarehouseBasedDeliveryTime(typing_extensions.TypedDict, total=False): warehouseName: str @typing.type_check_only -class WarehouseCutoffTime(typing_extensions.TypedDict, total=False): +class WarehouseCutoffTime(typing.TypedDict, total=False): hour: int minute: int @typing.type_check_only -class Weight(typing_extensions.TypedDict, total=False): +class Weight(typing.TypedDict, total=False): unit: str value: str diff --git a/googleapiclient-stubs/_apis/contentwarehouse/v1/resources.pyi b/googleapiclient-stubs/_apis/contentwarehouse/v1/resources.pyi index 24981f8a2..08740b818 100644 --- a/googleapiclient-stubs/_apis/contentwarehouse/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/contentwarehouse/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/contentwarehouse/v1/schemas.pyi b/googleapiclient-stubs/_apis/contentwarehouse/v1/schemas.pyi index 6ddffc0e8..0c655dcbf 100644 --- a/googleapiclient-stubs/_apis/contentwarehouse/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contentwarehouse/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class CloudAiPlatformTenantresourceCloudSqlInstanceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudSqlInstanceConnectionName: str cloudSqlInstanceName: str @@ -17,9 +15,7 @@ class CloudAiPlatformTenantresourceCloudSqlInstanceConfig( slmInstanceType: str @typing.type_check_only -class CloudAiPlatformTenantresourceGcsBucketConfig( - typing_extensions.TypedDict, total=False -): +class CloudAiPlatformTenantresourceGcsBucketConfig(typing.TypedDict, total=False): admins: _list[str] bucketName: str entityName: str @@ -28,12 +24,10 @@ class CloudAiPlatformTenantresourceGcsBucketConfig( viewers: _list[str] @typing.type_check_only -class CloudAiPlatformTenantresourceIamPolicyBinding( - typing_extensions.TypedDict, total=False -): +class CloudAiPlatformTenantresourceIamPolicyBinding(typing.TypedDict, total=False): members: _list[str] resource: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "PROJECT", "SERVICE_ACCOUNT", @@ -44,9 +38,7 @@ class CloudAiPlatformTenantresourceIamPolicyBinding( role: str @typing.type_check_only -class CloudAiPlatformTenantresourceInfraSpannerConfig( - typing_extensions.TypedDict, total=False -): +class CloudAiPlatformTenantresourceInfraSpannerConfig(typing.TypedDict, total=False): createDatabaseOptions: ( CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions ) @@ -59,7 +51,7 @@ class CloudAiPlatformTenantresourceInfraSpannerConfig( @typing.type_check_only class CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cmekCloudResourceName: str cmekCloudResourceType: str @@ -67,24 +59,20 @@ class CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions( @typing.type_check_only class CloudAiPlatformTenantresourceServiceAccountIdentity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccountEmail: str tag: str @typing.type_check_only -class CloudAiPlatformTenantresourceTenantProjectConfig( - typing_extensions.TypedDict, total=False -): +class CloudAiPlatformTenantresourceTenantProjectConfig(typing.TypedDict, total=False): billingConfig: GoogleApiServiceconsumermanagementV1BillingConfig folder: str policyBindings: _list[GoogleApiServiceconsumermanagementV1PolicyBinding] services: _list[str] @typing.type_check_only -class CloudAiPlatformTenantresourceTenantProjectResource( - typing_extensions.TypedDict, total=False -): +class CloudAiPlatformTenantresourceTenantProjectResource(typing.TypedDict, total=False): cloudSqlInstances: _list[CloudAiPlatformTenantresourceCloudSqlInstanceConfig] gcsBuckets: _list[CloudAiPlatformTenantresourceGcsBucketConfig] iamPolicyBindings: _list[CloudAiPlatformTenantresourceIamPolicyBinding] @@ -98,37 +86,29 @@ class CloudAiPlatformTenantresourceTenantProjectResource( ] @typing.type_check_only -class CloudAiPlatformTenantresourceTenantResource( - typing_extensions.TypedDict, total=False -): +class CloudAiPlatformTenantresourceTenantResource(typing.TypedDict, total=False): p4ServiceAccounts: _list[CloudAiPlatformTenantresourceServiceAccountIdentity] tenantProjectResources: _list[CloudAiPlatformTenantresourceTenantProjectResource] @typing.type_check_only class CloudAiPlatformTenantresourceTenantServiceAccountIdentity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccountEmail: str serviceName: str @typing.type_check_only -class GoogleApiServiceconsumermanagementV1BillingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceconsumermanagementV1BillingConfig(typing.TypedDict, total=False): billingAccount: str @typing.type_check_only -class GoogleApiServiceconsumermanagementV1PolicyBinding( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceconsumermanagementV1PolicyBinding(typing.TypedDict, total=False): members: _list[str] role: str @typing.type_check_only -class GoogleCloudContentwarehouseV1AccessControlAction( - typing_extensions.TypedDict, total=False -): - operationType: typing_extensions.Literal[ +class GoogleCloudContentwarehouseV1AccessControlAction(typing.TypedDict, total=False): + operationType: typing.Literal[ "UNKNOWN", "ADD_POLICY_BINDING", "REMOVE_POLICY_BINDING", @@ -137,7 +117,7 @@ class GoogleCloudContentwarehouseV1AccessControlAction( policy: GoogleIamV1Policy @typing.type_check_only -class GoogleCloudContentwarehouseV1Action(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1Action(typing.TypedDict, total=False): accessControl: GoogleCloudContentwarehouseV1AccessControlAction actionId: str addToFolder: GoogleCloudContentwarehouseV1AddToFolderAction @@ -148,17 +128,13 @@ class GoogleCloudContentwarehouseV1Action(typing_extensions.TypedDict, total=Fal removeFromFolderAction: GoogleCloudContentwarehouseV1RemoveFromFolderAction @typing.type_check_only -class GoogleCloudContentwarehouseV1ActionExecutorOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1ActionExecutorOutput(typing.TypedDict, total=False): ruleActionsPairs: _list[GoogleCloudContentwarehouseV1RuleActionsPair] @typing.type_check_only -class GoogleCloudContentwarehouseV1ActionOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1ActionOutput(typing.TypedDict, total=False): actionId: str - actionState: typing_extensions.Literal[ + actionState: typing.Literal[ "UNKNOWN", "ACTION_SUCCEEDED", "ACTION_FAILED", @@ -168,34 +144,28 @@ class GoogleCloudContentwarehouseV1ActionOutput( outputMessage: str @typing.type_check_only -class GoogleCloudContentwarehouseV1AddToFolderAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1AddToFolderAction(typing.TypedDict, total=False): folders: _list[str] @typing.type_check_only -class GoogleCloudContentwarehouseV1CloudAIDocumentOption( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1CloudAIDocumentOption(typing.TypedDict, total=False): customizedEntitiesPropertiesConversions: dict[str, typing.Any] enableEntitiesConversions: bool @typing.type_check_only class GoogleCloudContentwarehouseV1CreateDocumentLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentLink: GoogleCloudContentwarehouseV1DocumentLink requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @typing.type_check_only class GoogleCloudContentwarehouseV1CreateDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1CreateDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1CreateDocumentRequest(typing.TypedDict, total=False): cloudAiDocumentOption: GoogleCloudContentwarehouseV1CloudAIDocumentOption createMask: str document: GoogleCloudContentwarehouseV1Document @@ -204,7 +174,7 @@ class GoogleCloudContentwarehouseV1CreateDocumentRequest( @typing.type_check_only class GoogleCloudContentwarehouseV1CreateDocumentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: GoogleCloudContentwarehouseV1Document longRunningOperations: _list[GoogleLongrunningOperation] @@ -212,56 +182,44 @@ class GoogleCloudContentwarehouseV1CreateDocumentResponse( ruleEngineOutput: GoogleCloudContentwarehouseV1RuleEngineOutput @typing.type_check_only -class GoogleCloudContentwarehouseV1CustomWeightsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1CustomWeightsMetadata(typing.TypedDict, total=False): weightedSchemaProperties: _list[GoogleCloudContentwarehouseV1WeightedSchemaProperty] @typing.type_check_only -class GoogleCloudContentwarehouseV1DataUpdateAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DataUpdateAction(typing.TypedDict, total=False): entries: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudContentwarehouseV1DataValidationAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DataValidationAction(typing.TypedDict, total=False): conditions: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudContentwarehouseV1DateTimeArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DateTimeArray(typing.TypedDict, total=False): values: _list[GoogleTypeDateTime] @typing.type_check_only class GoogleCloudContentwarehouseV1DateTimeTypeOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1DeleteDocumentAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DeleteDocumentAction(typing.TypedDict, total=False): enableHardDelete: bool @typing.type_check_only class GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @typing.type_check_only -class GoogleCloudContentwarehouseV1DeleteDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DeleteDocumentRequest(typing.TypedDict, total=False): requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @typing.type_check_only -class GoogleCloudContentwarehouseV1Document(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1Document(typing.TypedDict, total=False): cloudAiDocument: GoogleCloudDocumentaiV1Document - contentCategory: typing_extensions.Literal[ + contentCategory: typing.Literal[ "CONTENT_CATEGORY_UNSPECIFIED", "CONTENT_CATEGORY_IMAGE", "CONTENT_CATEGORY_AUDIO", @@ -278,7 +236,7 @@ class GoogleCloudContentwarehouseV1Document(typing_extensions.TypedDict, total=F name: str plainText: str properties: _list[GoogleCloudContentwarehouseV1Property] - rawDocumentFileType: typing_extensions.Literal[ + rawDocumentFileType: typing.Literal[ "RAW_DOCUMENT_FILE_TYPE_UNSPECIFIED", "RAW_DOCUMENT_FILE_TYPE_PDF", "RAW_DOCUMENT_FILE_TYPE_DOCX", @@ -296,21 +254,17 @@ class GoogleCloudContentwarehouseV1Document(typing_extensions.TypedDict, total=F updater: str @typing.type_check_only -class GoogleCloudContentwarehouseV1DocumentLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DocumentLink(typing.TypedDict, total=False): createTime: str description: str name: str sourceDocumentReference: GoogleCloudContentwarehouseV1DocumentReference - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "SOFT_DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SOFT_DELETED"] targetDocumentReference: GoogleCloudContentwarehouseV1DocumentReference updateTime: str @typing.type_check_only -class GoogleCloudContentwarehouseV1DocumentQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DocumentQuery(typing.TypedDict, total=False): customPropertyFilter: str customWeightsMetadata: GoogleCloudContentwarehouseV1CustomWeightsMetadata documentCreatorFilter: _list[str] @@ -325,9 +279,7 @@ class GoogleCloudContentwarehouseV1DocumentQuery( timeFilters: _list[GoogleCloudContentwarehouseV1TimeFilter] @typing.type_check_only -class GoogleCloudContentwarehouseV1DocumentReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DocumentReference(typing.TypedDict, total=False): createTime: str deleteTime: str displayName: str @@ -339,9 +291,7 @@ class GoogleCloudContentwarehouseV1DocumentReference( updateTime: str @typing.type_check_only -class GoogleCloudContentwarehouseV1DocumentSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1DocumentSchema(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -351,64 +301,50 @@ class GoogleCloudContentwarehouseV1DocumentSchema( updateTime: str @typing.type_check_only -class GoogleCloudContentwarehouseV1EnumArray(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1EnumArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudContentwarehouseV1EnumTypeOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1EnumTypeOptions(typing.TypedDict, total=False): possibleValues: _list[str] validationCheckDisabled: bool @typing.type_check_only -class GoogleCloudContentwarehouseV1EnumValue(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1EnumValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleCloudContentwarehouseV1ExportToCdwPipeline( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1ExportToCdwPipeline(typing.TypedDict, total=False): docAiDataset: str documents: _list[str] exportFolderPath: str trainingSplitRatio: float @typing.type_check_only -class GoogleCloudContentwarehouseV1FetchAclRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1FetchAclRequest(typing.TypedDict, total=False): projectOwner: bool requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @typing.type_check_only -class GoogleCloudContentwarehouseV1FetchAclResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1FetchAclResponse(typing.TypedDict, total=False): metadata: GoogleCloudContentwarehouseV1ResponseMetadata policy: GoogleIamV1Policy @typing.type_check_only -class GoogleCloudContentwarehouseV1FileTypeFilter( - typing_extensions.TypedDict, total=False -): - fileType: typing_extensions.Literal[ +class GoogleCloudContentwarehouseV1FileTypeFilter(typing.TypedDict, total=False): + fileType: typing.Literal[ "FILE_TYPE_UNSPECIFIED", "ALL", "FOLDER", "DOCUMENT", "ROOT_FOLDER" ] @typing.type_check_only -class GoogleCloudContentwarehouseV1FloatArray(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1FloatArray(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudContentwarehouseV1FloatTypeOptions( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudContentwarehouseV1FloatTypeOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1GcsIngestPipeline( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1GcsIngestPipeline(typing.TypedDict, total=False): inputPath: str pipelineConfig: GoogleCloudContentwarehouseV1IngestPipelineConfig processorType: str @@ -417,7 +353,7 @@ class GoogleCloudContentwarehouseV1GcsIngestPipeline( @typing.type_check_only class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): extractProcessorInfos: _list[GoogleCloudContentwarehouseV1ProcessorInfo] inputPath: str @@ -427,40 +363,30 @@ class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline( splitClassifyProcessorInfo: GoogleCloudContentwarehouseV1ProcessorInfo @typing.type_check_only -class GoogleCloudContentwarehouseV1GetDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1GetDocumentRequest(typing.TypedDict, total=False): requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @typing.type_check_only -class GoogleCloudContentwarehouseV1HistogramQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1HistogramQuery(typing.TypedDict, total=False): filters: GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter histogramQuery: str requirePreciseResultSize: bool @typing.type_check_only class GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentSchemas: _list[str] propertyNames: _list[str] - yAxis: typing_extensions.Literal[ - "HISTOGRAM_YAXIS_DOCUMENT", "HISTOGRAM_YAXIS_PROPERTY" - ] + yAxis: typing.Literal["HISTOGRAM_YAXIS_DOCUMENT", "HISTOGRAM_YAXIS_PROPERTY"] @typing.type_check_only -class GoogleCloudContentwarehouseV1HistogramQueryResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1HistogramQueryResult(typing.TypedDict, total=False): histogram: dict[str, typing.Any] histogramQuery: str @typing.type_check_only -class GoogleCloudContentwarehouseV1IngestPipelineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1IngestPipelineConfig(typing.TypedDict, total=False): cloudFunction: str documentAclPolicy: GoogleIamV1Policy enableDocumentTextExtraction: bool @@ -468,18 +394,18 @@ class GoogleCloudContentwarehouseV1IngestPipelineConfig( @typing.type_check_only class GoogleCloudContentwarehouseV1InitializeProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - accessControlMode: typing_extensions.Literal[ + accessControlMode: typing.Literal[ "ACL_MODE_UNKNOWN", "ACL_MODE_UNIVERSAL_ACCESS", "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID", "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI", ] - databaseType: typing_extensions.Literal[ + databaseType: typing.Literal[ "DB_UNKNOWN", "DB_INFRA_SPANNER", "DB_CLOUD_SQL_POSTGRES" ] - documentCreatorDefaultRole: typing_extensions.Literal[ + documentCreatorDefaultRole: typing.Literal[ "DOCUMENT_CREATOR_DEFAULT_ROLE_UNSPECIFIED", "DOCUMENT_ADMIN", "DOCUMENT_EDITOR", @@ -490,41 +416,37 @@ class GoogleCloudContentwarehouseV1InitializeProjectRequest( @typing.type_check_only class GoogleCloudContentwarehouseV1InitializeProjectResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "CANCELLED", "RUNNING" ] @typing.type_check_only -class GoogleCloudContentwarehouseV1IntegerArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1IntegerArray(typing.TypedDict, total=False): values: _list[int] @typing.type_check_only class GoogleCloudContentwarehouseV1IntegerTypeOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1InvalidRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1InvalidRule(typing.TypedDict, total=False): error: str rule: GoogleCloudContentwarehouseV1Rule @typing.type_check_only class GoogleCloudContentwarehouseV1ListDocumentSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentSchemas: _list[GoogleCloudContentwarehouseV1DocumentSchema] nextPageToken: str @typing.type_check_only class GoogleCloudContentwarehouseV1ListLinkedSourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @@ -532,66 +454,56 @@ class GoogleCloudContentwarehouseV1ListLinkedSourcesRequest( @typing.type_check_only class GoogleCloudContentwarehouseV1ListLinkedSourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentLinks: _list[GoogleCloudContentwarehouseV1DocumentLink] nextPageToken: str @typing.type_check_only class GoogleCloudContentwarehouseV1ListLinkedTargetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @typing.type_check_only class GoogleCloudContentwarehouseV1ListLinkedTargetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentLinks: _list[GoogleCloudContentwarehouseV1DocumentLink] nextPageToken: str @typing.type_check_only -class GoogleCloudContentwarehouseV1ListRuleSetsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1ListRuleSetsResponse(typing.TypedDict, total=False): nextPageToken: str ruleSets: _list[GoogleCloudContentwarehouseV1RuleSet] @typing.type_check_only class GoogleCloudContentwarehouseV1ListSynonymSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str synonymSets: _list[GoogleCloudContentwarehouseV1SynonymSet] @typing.type_check_only -class GoogleCloudContentwarehouseV1LockDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1LockDocumentRequest(typing.TypedDict, total=False): collectionId: str lockingUser: GoogleCloudContentwarehouseV1UserInfo @typing.type_check_only -class GoogleCloudContentwarehouseV1MapProperty( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1MapProperty(typing.TypedDict, total=False): fields: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudContentwarehouseV1MapTypeOptions( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudContentwarehouseV1MapTypeOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1MergeFieldsOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1MergeFieldsOptions(typing.TypedDict, total=False): replaceMessageFields: bool replaceRepeatedFields: bool @typing.type_check_only class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[str] exportFolderPath: str @@ -599,30 +511,26 @@ class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline( processorResultsFolderPath: str @typing.type_check_only -class GoogleCloudContentwarehouseV1ProcessorInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1ProcessorInfo(typing.TypedDict, total=False): documentType: str processorName: str schemaName: str @typing.type_check_only -class GoogleCloudContentwarehouseV1ProjectStatus( - typing_extensions.TypedDict, total=False -): - accessControlMode: typing_extensions.Literal[ +class GoogleCloudContentwarehouseV1ProjectStatus(typing.TypedDict, total=False): + accessControlMode: typing.Literal[ "ACL_MODE_UNKNOWN", "ACL_MODE_UNIVERSAL_ACCESS", "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID", "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI", ] - databaseType: typing_extensions.Literal[ + databaseType: typing.Literal[ "DB_UNKNOWN", "DB_INFRA_SPANNER", "DB_CLOUD_SQL_POSTGRES" ] documentCreatorDefaultRole: str location: str qaEnabled: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "PROJECT_STATE_UNSPECIFIED", "PROJECT_STATE_PENDING", "PROJECT_STATE_COMPLETED", @@ -634,7 +542,7 @@ class GoogleCloudContentwarehouseV1ProjectStatus( ] @typing.type_check_only -class GoogleCloudContentwarehouseV1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1Property(typing.TypedDict, total=False): dateTimeValues: GoogleCloudContentwarehouseV1DateTimeArray enumValues: GoogleCloudContentwarehouseV1EnumArray floatValues: GoogleCloudContentwarehouseV1FloatArray @@ -646,15 +554,11 @@ class GoogleCloudContentwarehouseV1Property(typing_extensions.TypedDict, total=F timestampValues: GoogleCloudContentwarehouseV1TimestampArray @typing.type_check_only -class GoogleCloudContentwarehouseV1PropertyArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1PropertyArray(typing.TypedDict, total=False): properties: _list[GoogleCloudContentwarehouseV1Property] @typing.type_check_only -class GoogleCloudContentwarehouseV1PropertyDefinition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1PropertyDefinition(typing.TypedDict, total=False): dateTimeTypeOptions: GoogleCloudContentwarehouseV1DateTimeTypeOptions displayName: str enumTypeOptions: GoogleCloudContentwarehouseV1EnumTypeOptions @@ -668,7 +572,7 @@ class GoogleCloudContentwarehouseV1PropertyDefinition( mapTypeOptions: GoogleCloudContentwarehouseV1MapTypeOptions name: str propertyTypeOptions: GoogleCloudContentwarehouseV1PropertyTypeOptions - retrievalImportance: typing_extensions.Literal[ + retrievalImportance: typing.Literal[ "RETRIEVAL_IMPORTANCE_UNSPECIFIED", "HIGHEST", "HIGHER", @@ -683,106 +587,86 @@ class GoogleCloudContentwarehouseV1PropertyDefinition( @typing.type_check_only class GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str processorType: str @typing.type_check_only -class GoogleCloudContentwarehouseV1PropertyFilter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1PropertyFilter(typing.TypedDict, total=False): condition: str documentSchemaName: str @typing.type_check_only -class GoogleCloudContentwarehouseV1PropertyTypeOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1PropertyTypeOptions(typing.TypedDict, total=False): propertyDefinitions: _list[GoogleCloudContentwarehouseV1PropertyDefinition] @typing.type_check_only -class GoogleCloudContentwarehouseV1PublishAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1PublishAction(typing.TypedDict, total=False): messages: _list[str] topicId: str @typing.type_check_only -class GoogleCloudContentwarehouseV1QAResult(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1QAResult(typing.TypedDict, total=False): confidenceScore: float highlights: _list[GoogleCloudContentwarehouseV1QAResultHighlight] @typing.type_check_only -class GoogleCloudContentwarehouseV1QAResultHighlight( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1QAResultHighlight(typing.TypedDict, total=False): endIndex: int startIndex: int @typing.type_check_only class GoogleCloudContentwarehouseV1RemoveFromFolderAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): condition: str folder: str @typing.type_check_only -class GoogleCloudContentwarehouseV1RequestMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1RequestMetadata(typing.TypedDict, total=False): userInfo: GoogleCloudContentwarehouseV1UserInfo @typing.type_check_only -class GoogleCloudContentwarehouseV1ResponseMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1ResponseMetadata(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class GoogleCloudContentwarehouseV1Rule(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1Rule(typing.TypedDict, total=False): actions: _list[GoogleCloudContentwarehouseV1Action] condition: str description: str ruleId: str - triggerType: typing_extensions.Literal[ + triggerType: typing.Literal[ "UNKNOWN", "ON_CREATE", "ON_UPDATE", "ON_CREATE_LINK", "ON_DELETE_LINK" ] @typing.type_check_only -class GoogleCloudContentwarehouseV1RuleActionsPair( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1RuleActionsPair(typing.TypedDict, total=False): actionOutputs: _list[GoogleCloudContentwarehouseV1ActionOutput] rule: GoogleCloudContentwarehouseV1Rule @typing.type_check_only -class GoogleCloudContentwarehouseV1RuleEngineOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1RuleEngineOutput(typing.TypedDict, total=False): actionExecutorOutput: GoogleCloudContentwarehouseV1ActionExecutorOutput documentName: str ruleEvaluatorOutput: GoogleCloudContentwarehouseV1RuleEvaluatorOutput @typing.type_check_only -class GoogleCloudContentwarehouseV1RuleEvaluatorOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1RuleEvaluatorOutput(typing.TypedDict, total=False): invalidRules: _list[GoogleCloudContentwarehouseV1InvalidRule] matchedRules: _list[GoogleCloudContentwarehouseV1Rule] triggeredRules: _list[GoogleCloudContentwarehouseV1Rule] @typing.type_check_only -class GoogleCloudContentwarehouseV1RuleSet(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1RuleSet(typing.TypedDict, total=False): description: str name: str rules: _list[GoogleCloudContentwarehouseV1Rule] source: str @typing.type_check_only -class GoogleCloudContentwarehouseV1RunPipelineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1RunPipelineMetadata(typing.TypedDict, total=False): exportToCdwPipelineMetadata: ( GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata ) @@ -801,7 +685,7 @@ class GoogleCloudContentwarehouseV1RunPipelineMetadata( @typing.type_check_only class GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): docAiDataset: str documents: _list[str] @@ -809,28 +693,26 @@ class GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadat @typing.type_check_only class GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputPath: str @typing.type_check_only class GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[str] processorInfo: GoogleCloudContentwarehouseV1ProcessorInfo @typing.type_check_only -class GoogleCloudContentwarehouseV1RunPipelineRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1RunPipelineRequest(typing.TypedDict, total=False): exportCdwPipeline: GoogleCloudContentwarehouseV1ExportToCdwPipeline gcsIngestPipeline: GoogleCloudContentwarehouseV1GcsIngestPipeline gcsIngestWithDocAiProcessorsPipeline: ( @@ -841,7 +723,7 @@ class GoogleCloudContentwarehouseV1RunPipelineRequest( @typing.type_check_only class GoogleCloudContentwarehouseV1SearchDocumentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentQuery: GoogleCloudContentwarehouseV1DocumentQuery histogramQueries: _list[GoogleCloudContentwarehouseV1HistogramQuery] @@ -852,13 +734,13 @@ class GoogleCloudContentwarehouseV1SearchDocumentsRequest( qaSizeLimit: int requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata requireTotalSize: bool - totalResultSize: typing_extensions.Literal[ + totalResultSize: typing.Literal[ "TOTAL_RESULT_SIZE_UNSPECIFIED", "ESTIMATED_SIZE", "ACTUAL_SIZE" ] @typing.type_check_only class GoogleCloudContentwarehouseV1SearchDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): histogramQueryResults: _list[GoogleCloudContentwarehouseV1HistogramQueryResult] matchingDocuments: _list[ @@ -871,7 +753,7 @@ class GoogleCloudContentwarehouseV1SearchDocumentsResponse( @typing.type_check_only class GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: GoogleCloudContentwarehouseV1Document matchedTokenPageIndices: _list[str] @@ -879,75 +761,61 @@ class GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument( searchTextSnippet: str @typing.type_check_only -class GoogleCloudContentwarehouseV1SetAclRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1SetAclRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy projectOwner: bool requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @typing.type_check_only -class GoogleCloudContentwarehouseV1SetAclResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1SetAclResponse(typing.TypedDict, total=False): metadata: GoogleCloudContentwarehouseV1ResponseMetadata policy: GoogleIamV1Policy @typing.type_check_only -class GoogleCloudContentwarehouseV1SynonymSet(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1SynonymSet(typing.TypedDict, total=False): context: str name: str synonyms: _list[GoogleCloudContentwarehouseV1SynonymSetSynonym] @typing.type_check_only -class GoogleCloudContentwarehouseV1SynonymSetSynonym( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1SynonymSetSynonym(typing.TypedDict, total=False): words: _list[str] @typing.type_check_only -class GoogleCloudContentwarehouseV1TextArray(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1TextArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudContentwarehouseV1TextTypeOptions( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudContentwarehouseV1TextTypeOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1TimeFilter(typing_extensions.TypedDict, total=False): - timeField: typing_extensions.Literal[ +class GoogleCloudContentwarehouseV1TimeFilter(typing.TypedDict, total=False): + timeField: typing.Literal[ "TIME_FIELD_UNSPECIFIED", "CREATE_TIME", "UPDATE_TIME", "DISPOSITION_TIME" ] timeRange: GoogleTypeInterval @typing.type_check_only -class GoogleCloudContentwarehouseV1TimestampArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1TimestampArray(typing.TypedDict, total=False): values: _list[GoogleCloudContentwarehouseV1TimestampValue] @typing.type_check_only class GoogleCloudContentwarehouseV1TimestampTypeOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1TimestampValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1TimestampValue(typing.TypedDict, total=False): textValue: str timestampValue: str @typing.type_check_only class GoogleCloudContentwarehouseV1UpdateDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudContentwarehouseV1UpdateDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1UpdateDocumentRequest(typing.TypedDict, total=False): cloudAiDocumentOption: GoogleCloudContentwarehouseV1CloudAIDocumentOption document: GoogleCloudContentwarehouseV1Document requestMetadata: GoogleCloudContentwarehouseV1RequestMetadata @@ -955,7 +823,7 @@ class GoogleCloudContentwarehouseV1UpdateDocumentRequest( @typing.type_check_only class GoogleCloudContentwarehouseV1UpdateDocumentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: GoogleCloudContentwarehouseV1Document metadata: GoogleCloudContentwarehouseV1ResponseMetadata @@ -963,17 +831,15 @@ class GoogleCloudContentwarehouseV1UpdateDocumentResponse( @typing.type_check_only class GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentSchema: GoogleCloudContentwarehouseV1DocumentSchema @typing.type_check_only -class GoogleCloudContentwarehouseV1UpdateOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1UpdateOptions(typing.TypedDict, total=False): mergeFieldsOptions: GoogleCloudContentwarehouseV1MergeFieldsOptions updateMask: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "UPDATE_TYPE_REPLACE", "UPDATE_TYPE_MERGE", @@ -984,18 +850,16 @@ class GoogleCloudContentwarehouseV1UpdateOptions( ] @typing.type_check_only -class GoogleCloudContentwarehouseV1UpdateRuleSetRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudContentwarehouseV1UpdateRuleSetRequest(typing.TypedDict, total=False): ruleSet: GoogleCloudContentwarehouseV1RuleSet @typing.type_check_only -class GoogleCloudContentwarehouseV1UserInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1UserInfo(typing.TypedDict, total=False): groupIds: _list[str] id: str @typing.type_check_only -class GoogleCloudContentwarehouseV1Value(typing_extensions.TypedDict, total=False): +class GoogleCloudContentwarehouseV1Value(typing.TypedDict, total=False): booleanValue: bool datetimeValue: GoogleTypeDateTime enumValue: GoogleCloudContentwarehouseV1EnumValue @@ -1006,43 +870,43 @@ class GoogleCloudContentwarehouseV1Value(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudContentwarehouseV1WeightedSchemaProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentSchemaName: str propertyNames: _list[str] @typing.type_check_only class GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudContentwarehouseV1beta1InitializeProjectResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "CANCELLED", "RUNNING" ] @typing.type_check_only class GoogleCloudContentwarehouseV1beta1UpdateDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1Barcode(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Barcode(typing.TypedDict, total=False): format: str rawValue: str valueFormat: str @typing.type_check_only -class GoogleCloudDocumentaiV1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudDocumentaiV1NormalizedVertex] vertices: _list[GoogleCloudDocumentaiV1Vertex] @typing.type_check_only -class GoogleCloudDocumentaiV1Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Document(typing.TypedDict, total=False): chunkedDocument: GoogleCloudDocumentaiV1DocumentChunkedDocument content: str documentLayout: GoogleCloudDocumentaiV1DocumentDocumentLayout @@ -1059,14 +923,12 @@ class GoogleCloudDocumentaiV1Document(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentChunkedDocument( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentChunkedDocument(typing.TypedDict, total=False): chunks: _list[GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkId: str content: str @@ -1081,34 +943,32 @@ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentDocumentLayout(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockId: str listBlock: ( @@ -1126,7 +986,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): listEntries: _list[ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry @@ -1135,20 +995,20 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutList @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bodyRows: _list[ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow @@ -1160,7 +1020,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTabl @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] colSpan: int @@ -1168,7 +1028,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTabl @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell @@ -1176,14 +1036,14 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTabl @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] text: str type: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentEntity(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentEntity(typing.TypedDict, total=False): confidence: float id: str mentionId: str @@ -1198,7 +1058,7 @@ class GoogleCloudDocumentaiV1DocumentEntity(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addressValue: GoogleTypePostalAddress booleanValue: bool @@ -1210,15 +1070,13 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue( text: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentEntityRelation(typing.TypedDict, total=False): objectId: str relation: str subjectId: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPage(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentPage(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1DocumentPageBlock] detectedBarcodes: _list[GoogleCloudDocumentaiV1DocumentPageDetectedBarcode] detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] @@ -1238,19 +1096,15 @@ class GoogleCloudDocumentaiV1DocumentPage(typing_extensions.TypedDict, total=Fal visualElements: _list[GoogleCloudDocumentaiV1DocumentPageVisualElement] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageAnchor(typing.TypedDict, total=False): pageRefs: _list[GoogleCloudDocumentaiV1DocumentPageAnchorPageRef] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageAnchorPageRef(typing.TypedDict, total=False): boundingPoly: GoogleCloudDocumentaiV1BoundingPoly confidence: float layoutId: str - layoutType: typing_extensions.Literal[ + layoutType: typing.Literal[ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", @@ -1263,39 +1117,31 @@ class GoogleCloudDocumentaiV1DocumentPageAnchorPageRef( page: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageBlock( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageBlock(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageDetectedBarcode(typing.TypedDict, total=False): barcode: GoogleCloudDocumentaiV1Barcode layout: GoogleCloudDocumentaiV1DocumentPageLayout @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageDimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageDimension(typing.TypedDict, total=False): height: float unit: str width: float @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageFormField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageFormField(typing.TypedDict, total=False): correctedKeyText: str correctedValueText: str fieldName: GoogleCloudDocumentaiV1DocumentPageLayout @@ -1306,9 +1152,7 @@ class GoogleCloudDocumentaiV1DocumentPageFormField( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageImage(typing.TypedDict, total=False): content: str height: int mimeType: str @@ -1316,7 +1160,7 @@ class GoogleCloudDocumentaiV1DocumentPageImage( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedDefects: _list[ GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect @@ -1325,56 +1169,46 @@ class GoogleCloudDocumentaiV1DocumentPageImageQualityScores( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float type: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageLayout(typing.TypedDict, total=False): boundingPoly: GoogleCloudDocumentaiV1BoundingPoly confidence: float - orientation: typing_extensions.Literal[ + orientation: typing.Literal[ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ] textAnchor: GoogleCloudDocumentaiV1DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageLine(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentPageLine(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageMatrix(typing.TypedDict, total=False): cols: int data: str rows: int type: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageParagraph(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageSymbol(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTable(typing.TypedDict, total=False): bodyRows: _list[GoogleCloudDocumentaiV1DocumentPageTableTableRow] detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] headerRows: _list[GoogleCloudDocumentaiV1DocumentPageTableTableRow] @@ -1382,24 +1216,18 @@ class GoogleCloudDocumentaiV1DocumentPageTable( provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTableTableCell(typing.TypedDict, total=False): colSpan: int detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout rowSpan: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTableTableRow(typing.TypedDict, total=False): cells: _list[GoogleCloudDocumentaiV1DocumentPageTableTableCell] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageToken( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageToken(typing.TypedDict, total=False): detectedBreak: GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout @@ -1408,14 +1236,12 @@ class GoogleCloudDocumentaiV1DocumentPageToken( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] + type: typing.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor bold: bool fontSize: int @@ -1433,21 +1259,17 @@ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo( underlined: bool @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageVisualElement( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageVisualElement(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout type: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentProvenance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentProvenance(typing.TypedDict, total=False): id: int parents: _list[GoogleCloudDocumentaiV1DocumentProvenanceParent] revision: int - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", @@ -1459,15 +1281,13 @@ class GoogleCloudDocumentaiV1DocumentProvenance( ] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentProvenanceParent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentProvenanceParent(typing.TypedDict, total=False): id: int index: int revision: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentRevision(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentRevision(typing.TypedDict, total=False): agent: str createTime: str humanReview: GoogleCloudDocumentaiV1DocumentRevisionHumanReview @@ -1477,22 +1297,18 @@ class GoogleCloudDocumentaiV1DocumentRevision(typing_extensions.TypedDict, total processor: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentRevisionHumanReview(typing.TypedDict, total=False): state: str stateMessage: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentShardInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentShardInfo(typing.TypedDict, total=False): shardCount: str shardIndex: str textOffset: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentStyle(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentStyle(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor color: GoogleTypeColor fontFamily: str @@ -1503,71 +1319,65 @@ class GoogleCloudDocumentaiV1DocumentStyle(typing_extensions.TypedDict, total=Fa textStyle: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentStyleFontSize(typing.TypedDict, total=False): size: float unit: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentTextAnchor(typing.TypedDict, total=False): content: str textSegments: _list[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str startIndex: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentTextChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentTextChange(typing.TypedDict, total=False): changedText: str provenance: _list[GoogleCloudDocumentaiV1DocumentProvenance] textAnchor: GoogleCloudDocumentaiV1DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1NormalizedVertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudDocumentaiV1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -1575,29 +1385,29 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -1609,25 +1419,25 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeInterval(typing_extensions.TypedDict, total=False): +class GoogleTypeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): +class GoogleTypePostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -1641,6 +1451,6 @@ class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/css/v1/resources.pyi b/googleapiclient-stubs/_apis/css/v1/resources.pyi index ad31caaf8..1b2d846c9 100644 --- a/googleapiclient-stubs/_apis/css/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/css/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/css/v1/schemas.pyi b/googleapiclient-stubs/_apis/css/v1/schemas.pyi index c9ec1828c..e5392f1c3 100644 --- a/googleapiclient-stubs/_apis/css/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/css/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): - accountType: typing_extensions.Literal[ +class Account(typing.TypedDict, total=False): + accountType: typing.Literal[ "ACCOUNT_TYPE_UNSPECIFIED", "CSS_GROUP", "CSS_DOMAIN", @@ -26,18 +24,16 @@ class Account(typing_extensions.TypedDict, total=False): parent: str @typing.type_check_only -class AccountLabel(typing_extensions.TypedDict, total=False): +class AccountLabel(typing.TypedDict, total=False): accountId: str description: str displayName: str labelId: str - labelType: typing_extensions.Literal[ - "LABEL_TYPE_UNSPECIFIED", "MANUAL", "AUTOMATIC" - ] + labelType: typing.Literal["LABEL_TYPE_UNSPECIFIED", "MANUAL", "AUTOMATIC"] name: str @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): additionalImageLinks: _list[str] adult: bool ageGroup: str @@ -94,13 +90,13 @@ class Attributes(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Certification(typing_extensions.TypedDict, total=False): +class Certification(typing.TypedDict, total=False): authority: str code: str name: str @typing.type_check_only -class CssProduct(typing_extensions.TypedDict, total=False): +class CssProduct(typing.TypedDict, total=False): attributes: Attributes contentLanguage: str cssProductStatus: CssProductStatus @@ -110,7 +106,7 @@ class CssProduct(typing_extensions.TypedDict, total=False): rawProvidedId: str @typing.type_check_only -class CssProductInput(typing_extensions.TypedDict, total=False): +class CssProductInput(typing.TypedDict, total=False): attributes: Attributes contentLanguage: str customAttributes: _list[CustomAttribute] @@ -121,7 +117,7 @@ class CssProductInput(typing_extensions.TypedDict, total=False): rawProvidedId: str @typing.type_check_only -class CssProductStatus(typing_extensions.TypedDict, total=False): +class CssProductStatus(typing.TypedDict, total=False): creationDate: str destinationStatuses: _list[DestinationStatus] googleExpirationDate: str @@ -129,37 +125,35 @@ class CssProductStatus(typing_extensions.TypedDict, total=False): lastUpdateDate: str @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class DestinationStatus(typing_extensions.TypedDict, total=False): +class DestinationStatus(typing.TypedDict, total=False): approvedCountries: _list[str] destination: str disapprovedCountries: _list[str] pendingCountries: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HeadlineOfferInstallment(typing_extensions.TypedDict, total=False): +class HeadlineOfferInstallment(typing.TypedDict, total=False): amount: Price downpayment: Price months: str @typing.type_check_only -class HeadlineOfferSubscriptionCost(typing_extensions.TypedDict, total=False): +class HeadlineOfferSubscriptionCost(typing.TypedDict, total=False): amount: Price - period: typing_extensions.Literal[ - "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR" - ] + period: typing.Literal["SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR"] periodLength: str @typing.type_check_only -class ItemLevelIssue(typing_extensions.TypedDict, total=False): +class ItemLevelIssue(typing.TypedDict, total=False): applicableCountries: _list[str] attribute: str code: str @@ -171,55 +165,55 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): servability: str @typing.type_check_only -class ListAccountLabelsResponse(typing_extensions.TypedDict, total=False): +class ListAccountLabelsResponse(typing.TypedDict, total=False): accountLabels: _list[AccountLabel] nextPageToken: str @typing.type_check_only -class ListChildAccountsResponse(typing_extensions.TypedDict, total=False): +class ListChildAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListCssProductsResponse(typing_extensions.TypedDict, total=False): +class ListCssProductsResponse(typing.TypedDict, total=False): cssProducts: _list[CssProduct] nextPageToken: str @typing.type_check_only -class ListQuotaGroupsResponse(typing_extensions.TypedDict, total=False): +class ListQuotaGroupsResponse(typing.TypedDict, total=False): nextPageToken: str quotaGroups: _list[QuotaGroup] @typing.type_check_only -class MethodDetails(typing_extensions.TypedDict, total=False): +class MethodDetails(typing.TypedDict, total=False): method: str path: str subapi: str version: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductDetail(typing_extensions.TypedDict, total=False): +class ProductDetail(typing.TypedDict, total=False): attributeName: str attributeValue: str sectionName: str @typing.type_check_only -class ProductDimension(typing_extensions.TypedDict, total=False): +class ProductDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductWeight(typing_extensions.TypedDict, total=False): +class ProductWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class QuotaGroup(typing_extensions.TypedDict, total=False): +class QuotaGroup(typing.TypedDict, total=False): methodDetails: _list[MethodDetails] name: str quotaLimit: str @@ -227,6 +221,6 @@ class QuotaGroup(typing_extensions.TypedDict, total=False): quotaUsage: str @typing.type_check_only -class UpdateAccountLabelsRequest(typing_extensions.TypedDict, total=False): +class UpdateAccountLabelsRequest(typing.TypedDict, total=False): labelIds: _list[str] parent: str diff --git a/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi b/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi index 63b2c664d..88c619164 100644 --- a/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/customsearch/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -34,11 +33,11 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): highRange: str | None = ..., hl: str | None = ..., hq: str | None = ..., - imgColorType: typing_extensions.Literal[ + imgColorType: typing.Literal[ "imgColorTypeUndefined", "mono", "gray", "color", "trans" ] | None = ..., - imgDominantColor: typing_extensions.Literal[ + imgDominantColor: typing.Literal[ "imgDominantColorUndefined", "black", "blue", @@ -54,7 +53,7 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): "yellow", ] | None = ..., - imgSize: typing_extensions.Literal[ + imgSize: typing.Literal[ "imgSizeUndefined", "HUGE", "ICON", @@ -65,7 +64,7 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): "XXLARGE", ] | None = ..., - imgType: typing_extensions.Literal[ + imgType: typing.Literal[ "imgTypeUndefined", "clipart", "face", @@ -83,16 +82,11 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): q: str | None = ..., relatedSite: str | None = ..., rights: str | None = ..., - safe: typing_extensions.Literal[ - "safeUndefined", "active", "high", "medium", "off" - ] - | None = ..., - searchType: typing_extensions.Literal["searchTypeUndefined", "image"] + safe: typing.Literal["safeUndefined", "active", "high", "medium", "off"] | None = ..., + searchType: typing.Literal["searchTypeUndefined", "image"] | None = ..., siteSearch: str | None = ..., - siteSearchFilter: typing_extensions.Literal[ - "siteSearchFilterUndefined", "e", "i" - ] + siteSearchFilter: typing.Literal["siteSearchFilterUndefined", "e", "i"] | None = ..., snippetLength: int | None = ..., sort: str | None = ..., @@ -117,11 +111,11 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): highRange: str | None = ..., hl: str | None = ..., hq: str | None = ..., - imgColorType: typing_extensions.Literal[ + imgColorType: typing.Literal[ "imgColorTypeUndefined", "mono", "gray", "color", "trans" ] | None = ..., - imgDominantColor: typing_extensions.Literal[ + imgDominantColor: typing.Literal[ "imgDominantColorUndefined", "black", "blue", @@ -137,7 +131,7 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): "yellow", ] | None = ..., - imgSize: typing_extensions.Literal[ + imgSize: typing.Literal[ "imgSizeUndefined", "HUGE", "ICON", @@ -148,7 +142,7 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): "XXLARGE", ] | None = ..., - imgType: typing_extensions.Literal[ + imgType: typing.Literal[ "imgTypeUndefined", "clipart", "face", @@ -166,16 +160,11 @@ class CustomSearchAPIResource(googleapiclient.discovery.Resource): q: str | None = ..., relatedSite: str | None = ..., rights: str | None = ..., - safe: typing_extensions.Literal[ - "safeUndefined", "active", "high", "medium", "off" - ] - | None = ..., - searchType: typing_extensions.Literal["searchTypeUndefined", "image"] + safe: typing.Literal["safeUndefined", "active", "high", "medium", "off"] | None = ..., + searchType: typing.Literal["searchTypeUndefined", "image"] | None = ..., siteSearch: str | None = ..., - siteSearchFilter: typing_extensions.Literal[ - "siteSearchFilterUndefined", "e", "i" - ] + siteSearchFilter: typing.Literal["siteSearchFilterUndefined", "e", "i"] | None = ..., snippetLength: int | None = ..., sort: str | None = ..., diff --git a/googleapiclient-stubs/_apis/customsearch/v1/schemas.pyi b/googleapiclient-stubs/_apis/customsearch/v1/schemas.pyi index cddbb5d20..a85d450bb 100644 --- a/googleapiclient-stubs/_apis/customsearch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/customsearch/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Promotion(typing_extensions.TypedDict, total=False): +class Promotion(typing.TypedDict, total=False): bodyLines: _list[dict[str, typing.Any]] displayLink: str htmlTitle: str @@ -14,7 +12,7 @@ class Promotion(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Result(typing_extensions.TypedDict, total=False): +class Result(typing.TypedDict, total=False): cacheId: str displayLink: str fileFormat: str @@ -32,7 +30,7 @@ class Result(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Search(typing_extensions.TypedDict, total=False): +class Search(typing.TypedDict, total=False): context: dict[str, typing.Any] items: _list[Result] kind: str diff --git a/googleapiclient-stubs/_apis/databasecenter/v1beta/resources.pyi b/googleapiclient-stubs/_apis/databasecenter/v1beta/resources.pyi index 173dfd555..919f8a763 100644 --- a/googleapiclient-stubs/_apis/databasecenter/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/databasecenter/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi index caa2aaba2..58366e6ba 100644 --- a/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/databasecenter/v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdditionalDetail(typing_extensions.TypedDict, total=False): +class AdditionalDetail(typing.TypedDict, total=False): automatedBackupPolicyInfo: AutomatedBackupPolicyInfo backupRunInfo: BackupRunInfo deletionProtectionInfo: DeletionProtectionInfo @@ -17,14 +15,14 @@ class AdditionalDetail(typing_extensions.TypedDict, total=False): sccInfo: SCCInfo shortBackupRetentionInfo: RetentionSettingsInfo signalEventTime: str - signalSource: typing_extensions.Literal[ + signalSource: typing.Literal[ "SIGNAL_SOURCE_UNSPECIFIED", "SIGNAL_SOURCE_RESOURCE_METADATA", "SIGNAL_SOURCE_SECURITY_FINDINGS", "SIGNAL_SOURCE_RECOMMENDER", "SIGNAL_SOURCE_MODERN_OBSERVABILITY", ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED", "SIGNAL_TYPE_GROUP_MULTIREGIONAL", @@ -127,16 +125,17 @@ 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 -class Affiliation(typing_extensions.TypedDict, total=False): +class Affiliation(typing.TypedDict, total=False): fullResourceName: str lineages: _list[Lineage] resourceId: str @typing.type_check_only -class AggregateFleetResponse(typing_extensions.TypedDict, total=False): +class AggregateFleetResponse(typing.TypedDict, total=False): nextPageToken: str resourceGroupsTotalCount: int resourceTotalCount: int @@ -145,53 +144,53 @@ class AggregateFleetResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class AggregateFleetRow(typing_extensions.TypedDict, total=False): +class AggregateFleetRow(typing.TypedDict, total=False): deltaDetails: DeltaDetails dimension: _list[Dimension] resourceGroupsCount: int resourcesCount: int @typing.type_check_only -class AggregateIssueStatsRequest(typing_extensions.TypedDict, total=False): +class AggregateIssueStatsRequest(typing.TypedDict, total=False): baselineDate: Date filter: str parent: str signalTypeGroups: _list[SignalTypeGroup] @typing.type_check_only -class AggregateIssueStatsResponse(typing_extensions.TypedDict, total=False): +class AggregateIssueStatsResponse(typing.TypedDict, total=False): issueGroupStats: _list[IssueGroupStats] totalResourceGroupsCount: int totalResourcesCount: int unreachable: _list[str] @typing.type_check_only -class AggregateQueryStatsRequest(typing_extensions.TypedDict, total=False): +class AggregateQueryStatsRequest(typing.TypedDict, total=False): filter: str orderBy: str pageSize: int pageToken: str @typing.type_check_only -class AggregateQueryStatsResponse(typing_extensions.TypedDict, total=False): +class AggregateQueryStatsResponse(typing.TypedDict, total=False): nextPageToken: str queryStats: _list[QueryStatsInfo] unreachable: _list[str] @typing.type_check_only -class AutomatedBackupPolicyInfo(typing_extensions.TypedDict, total=False): +class AutomatedBackupPolicyInfo(typing.TypedDict, total=False): isEnabled: bool subResource: SubResource @typing.type_check_only -class BackupDRConfig(typing_extensions.TypedDict, total=False): +class BackupDRConfig(typing.TypedDict, total=False): backupdrManaged: bool @typing.type_check_only -class BackupRunInfo(typing_extensions.TypedDict, total=False): +class BackupRunInfo(typing.TypedDict, total=False): endTime: str errorMessage: str - operationErrorType: typing_extensions.Literal[ + operationErrorType: typing.Literal[ "OPERATION_ERROR_TYPE_UNSPECIFIED", "KMS_KEY_ERROR", "DATABASE_ERROR", @@ -201,16 +200,16 @@ class BackupRunInfo(typing_extensions.TypedDict, total=False): "INTERNAL_ERROR", ] startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] subResource: SubResource @typing.type_check_only -class DatabaseResource(typing_extensions.TypedDict, total=False): +class DatabaseResource(typing.TypedDict, total=False): affiliations: _list[Affiliation] backupdrConfig: BackupDRConfig childResources: _list[DatabaseResource] container: str - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS", @@ -223,7 +222,7 @@ class DatabaseResource(typing_extensions.TypedDict, total=False): maintenanceInfo: MaintenanceInfo metrics: Metrics product: Product - resourceCategory: typing_extensions.Literal[ + resourceCategory: typing.Literal[ "RESOURCE_CATEGORY_UNSPECIFIED", "INSTANCE", "CLUSTER", @@ -234,7 +233,7 @@ class DatabaseResource(typing_extensions.TypedDict, total=False): resourceName: str resourceType: str signalGroups: _list[SignalGroup] - subResourceType: typing_extensions.Literal[ + subResourceType: typing.Literal[ "SUB_RESOURCE_TYPE_UNSPECIFIED", "SUB_RESOURCE_TYPE_PRIMARY", "SUB_RESOURCE_TYPE_SECONDARY", @@ -248,35 +247,35 @@ class DatabaseResource(typing_extensions.TypedDict, total=False): tags: _list[Tag] @typing.type_check_only -class DatabaseResourceGroup(typing_extensions.TypedDict, total=False): +class DatabaseResourceGroup(typing.TypedDict, total=False): rootResources: _list[DatabaseResource] signalGroups: _list[IssueCount] @typing.type_check_only -class DatabaseResourceIssue(typing_extensions.TypedDict, total=False): +class DatabaseResourceIssue(typing.TypedDict, total=False): resource: DatabaseResource signal: Signal @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DeletionProtectionInfo(typing_extensions.TypedDict, total=False): +class DeletionProtectionInfo(typing.TypedDict, total=False): deletionProtectionEnabled: bool subResource: SubResource @typing.type_check_only -class DeltaDetails(typing_extensions.TypedDict, total=False): +class DeltaDetails(typing.TypedDict, total=False): decreasedResources: _list[ResourceDetails] increasedResources: _list[ResourceDetails] @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): container: str - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS", @@ -288,12 +287,12 @@ class Dimension(typing_extensions.TypedDict, total=False): labelSource: str labelValue: str location: str - managementType: typing_extensions.Literal[ + managementType: typing.Literal[ "MANAGEMENT_TYPE_UNSPECIFIED", "MANAGEMENT_TYPE_GCP_MANAGED", "MANAGEMENT_TYPE_SELF_MANAGED", ] - productEngine: typing_extensions.Literal[ + productEngine: typing.Literal[ "ENGINE_UNSPECIFIED", "ENGINE_MYSQL", "ENGINE_POSTGRES", @@ -310,7 +309,7 @@ class Dimension(typing_extensions.TypedDict, total=False): "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", "ENGINE_OTHER", ] - productType: typing_extensions.Literal[ + productType: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", "PRODUCT_TYPE_ALLOYDB", @@ -324,7 +323,7 @@ class Dimension(typing_extensions.TypedDict, total=False): "PRODUCT_TYPE_OTHER", ] productVersion: str - resourceCategory: typing_extensions.Literal[ + resourceCategory: typing.Literal[ "RESOURCE_CATEGORY_UNSPECIFIED", "INSTANCE", "CLUSTER", @@ -333,7 +332,7 @@ class Dimension(typing_extensions.TypedDict, total=False): "RESERVATION", ] resourceType: str - subResourceType: typing_extensions.Literal[ + subResourceType: typing.Literal[ "SUB_RESOURCE_TYPE_UNSPECIFIED", "SUB_RESOURCE_TYPE_PRIMARY", "SUB_RESOURCE_TYPE_SECONDARY", @@ -350,7 +349,7 @@ class Dimension(typing_extensions.TypedDict, total=False): tagValue: str @typing.type_check_only -class InefficientQueryInfo(typing_extensions.TypedDict, total=False): +class InefficientQueryInfo(typing.TypedDict, total=False): database: str impactedQueriesCount: str sqlIndexStatement: str @@ -358,12 +357,12 @@ class InefficientQueryInfo(typing_extensions.TypedDict, total=False): table: str @typing.type_check_only -class IssueCount(typing_extensions.TypedDict, total=False): +class IssueCount(typing.TypedDict, total=False): displayName: str issueCount: int @typing.type_check_only -class IssueGroupStats(typing_extensions.TypedDict, total=False): +class IssueGroupStats(typing.TypedDict, total=False): displayName: str healthyResourceGroupsCount: int healthyResourcesCount: int @@ -372,9 +371,9 @@ class IssueGroupStats(typing_extensions.TypedDict, total=False): resourcesCount: int @typing.type_check_only -class IssueStats(typing_extensions.TypedDict, total=False): +class IssueStats(typing.TypedDict, total=False): deltaDetails: DeltaDetails - issueSeverity: typing_extensions.Literal[ + issueSeverity: typing.Literal[ "ISSUE_SEVERITY_UNSPECIFIED", "ISSUE_SEVERITY_LOW", "ISSUE_SEVERITY_MEDIUM", @@ -383,7 +382,7 @@ class IssueStats(typing_extensions.TypedDict, total=False): "ISSUE_SEVERITY_IRRELEVANT", ] resourceCount: int - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED", "SIGNAL_TYPE_GROUP_MULTIREGIONAL", @@ -486,18 +485,19 @@ 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 -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): key: str source: str value: str @typing.type_check_only -class Lineage(typing_extensions.TypedDict, total=False): +class Lineage(typing.TypedDict, total=False): processFqn: str - processType: typing_extensions.Literal[ + processType: typing.Literal[ "PROCESS_TYPE_UNSPECIFIED", "COMPOSER", "DATASTREAM", @@ -510,7 +510,7 @@ class Lineage(typing_extensions.TypedDict, total=False): targetFqn: str @typing.type_check_only -class MachineConfig(typing_extensions.TypedDict, total=False): +class MachineConfig(typing.TypedDict, total=False): baselineSlotCount: str maxReservationSlotCount: str memorySizeBytes: str @@ -518,20 +518,20 @@ class MachineConfig(typing_extensions.TypedDict, total=False): vcpuCount: float @typing.type_check_only -class MaintenanceInfo(typing_extensions.TypedDict, total=False): +class MaintenanceInfo(typing.TypedDict, total=False): currentVersionReleaseDate: Date denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] maintenanceSchedule: ResourceMaintenanceSchedule maintenanceVersion: str possibleFailureReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "POSSIBLE_FAILURE_REASON_UNSPECIFIED", "POSSIBLE_FAILURE_REASON_DENY_POLICY_CONFLICT", "POSSIBLE_FAILURE_REASON_INSTANCE_IN_STOPPED_STATE", ] ] previousMaintenanceVersion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "MAINTENANCE_STATE_UNSPECIFIED", "MAINTENANCE_STATE_SCHEDULED", "MAINTENANCE_STATE_IN_PROGRESS", @@ -541,16 +541,16 @@ class MaintenanceInfo(typing_extensions.TypedDict, total=False): upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class MaintenanceRecommendationInfo(typing_extensions.TypedDict, total=False): +class MaintenanceRecommendationInfo(typing.TypedDict, total=False): resourceMaintenanceSchedules: _list[ResourceMaintenanceSchedule] @typing.type_check_only -class MetricData(typing_extensions.TypedDict, total=False): +class MetricData(typing.TypedDict, total=False): observationTime: str value: TypedValue @typing.type_check_only -class Metrics(typing_extensions.TypedDict, total=False): +class Metrics(typing.TypedDict, total=False): currentMemoryUsedBytes: MetricData currentStorageUsedBytes: MetricData nodeCount: MetricData @@ -562,12 +562,12 @@ class Metrics(typing_extensions.TypedDict, total=False): processingUnitCount: MetricData @typing.type_check_only -class OutdatedMinorVersionInfo(typing_extensions.TypedDict, total=False): +class OutdatedMinorVersionInfo(typing.TypedDict, total=False): recommendedMinorVersion: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class Product(typing.TypedDict, total=False): + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "ENGINE_MYSQL", "ENGINE_POSTGRES", @@ -585,7 +585,7 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_OTHER", ] minorVersion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", "PRODUCT_TYPE_ALLOYDB", @@ -601,24 +601,25 @@ class Product(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class QueryDatabaseResourceGroupsRequest(typing_extensions.TypedDict, total=False): +class QueryDatabaseResourceGroupsRequest(typing.TypedDict, total=False): filter: str orderBy: str pageSize: int pageToken: str parent: str signalFilters: _list[SignalFilter] + signalProductsFilters: _list[SignalProductsFilters] signalTypeGroups: _list[SignalTypeGroup] @typing.type_check_only -class QueryDatabaseResourceGroupsResponse(typing_extensions.TypedDict, total=False): +class QueryDatabaseResourceGroupsResponse(typing.TypedDict, total=False): nextPageToken: str resourceGroups: _list[DatabaseResourceGroup] totalSize: str unreachable: _list[str] @typing.type_check_only -class QueryIssuesRequest(typing_extensions.TypedDict, total=False): +class QueryIssuesRequest(typing.TypedDict, total=False): filter: str orderBy: str pageSize: int @@ -627,29 +628,29 @@ class QueryIssuesRequest(typing_extensions.TypedDict, total=False): signalProductsFilters: _list[SignalProductsFilters] @typing.type_check_only -class QueryIssuesResponse(typing_extensions.TypedDict, total=False): +class QueryIssuesResponse(typing.TypedDict, total=False): nextPageToken: str resourceIssues: _list[DatabaseResourceIssue] unreachable: _list[str] @typing.type_check_only -class QueryMetrics(typing_extensions.TypedDict, total=False): +class QueryMetrics(typing.TypedDict, total=False): avgCpuTime: str executionCount: str - metricsWindow: typing_extensions.Literal[ + metricsWindow: typing.Literal[ "METRICS_WINDOW_UNSPECIFIED", "LAST_ONE_DAY", "LAST_ONE_WEEK", "LAST_TWO_WEEKS" ] rowsProcessed: str totalCpuTime: str @typing.type_check_only -class QueryProductsResponse(typing_extensions.TypedDict, total=False): +class QueryProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] unreachable: _list[str] @typing.type_check_only -class QueryStats(typing_extensions.TypedDict, total=False): +class QueryStats(typing.TypedDict, total=False): inefficientQueryInfo: InefficientQueryInfo normalizedQuery: str queryHash: str @@ -658,43 +659,43 @@ class QueryStats(typing_extensions.TypedDict, total=False): resourceType: str @typing.type_check_only -class QueryStatsInfo(typing_extensions.TypedDict, total=False): +class QueryStatsInfo(typing.TypedDict, total=False): aggregatedQueryStats: QueryStats queryStats: _list[QueryStats] @typing.type_check_only -class RecommendationInfo(typing_extensions.TypedDict, total=False): +class RecommendationInfo(typing.TypedDict, total=False): recommender: str recommenderId: str recommenderSubtype: str @typing.type_check_only -class RegulatoryStandard(typing_extensions.TypedDict, total=False): +class RegulatoryStandard(typing.TypedDict, total=False): standard: str version: str @typing.type_check_only -class ResourceDetails(typing_extensions.TypedDict, total=False): +class ResourceDetails(typing.TypedDict, total=False): container: str fullResourceName: str location: str product: Product @typing.type_check_only -class ResourceId(typing_extensions.TypedDict, total=False): +class ResourceId(typing.TypedDict, total=False): fullResourceName: str product: Product resourceType: str @typing.type_check_only -class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): +class ResourceMaintenanceDenySchedule(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ResourceMaintenanceSchedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -704,15 +705,15 @@ class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): "SATURDAY", "SUNDAY", ] - phase: typing_extensions.Literal[ + phase: typing.Literal[ "PHASE_UNSPECIFIED", "PHASE_WEEK1", "PHASE_WEEK2", "PHASE_WEEK5", "PHASE_ANY" ] startTime: TimeOfDay @typing.type_check_only -class ResourceSuspensionInfo(typing_extensions.TypedDict, total=False): +class ResourceSuspensionInfo(typing.TypedDict, total=False): resourceSuspended: bool - suspensionReason: typing_extensions.Literal[ + suspensionReason: typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "WIPEOUT_HIDE_EVENT", "WIPEOUT_PURGE_EVENT", @@ -723,24 +724,24 @@ class ResourceSuspensionInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RetentionSettingsInfo(typing_extensions.TypedDict, total=False): +class RetentionSettingsInfo(typing.TypedDict, total=False): durationBasedRetention: str quantityBasedRetention: int subResource: SubResource timestampBasedRetentionTime: str @typing.type_check_only -class SCCInfo(typing_extensions.TypedDict, total=False): +class SCCInfo(typing.TypedDict, total=False): category: str externalUri: str regulatoryStandards: _list[RegulatoryStandard] signal: str @typing.type_check_only -class Signal(typing_extensions.TypedDict, total=False): +class Signal(typing.TypedDict, total=False): additionalDetails: _list[AdditionalDetail] issueCreateTime: str - issueSeverity: typing_extensions.Literal[ + issueSeverity: typing.Literal[ "ISSUE_SEVERITY_UNSPECIFIED", "ISSUE_SEVERITY_LOW", "ISSUE_SEVERITY_MEDIUM", @@ -748,14 +749,14 @@ class Signal(typing_extensions.TypedDict, total=False): "ISSUE_SEVERITY_CRITICAL", "ISSUE_SEVERITY_IRRELEVANT", ] - signalStatus: typing_extensions.Literal[ + signalStatus: typing.Literal[ "SIGNAL_STATUS_UNSPECIFIED", "SIGNAL_STATUS_NOT_APPLICABLE", "SIGNAL_STATUS_OK", "SIGNAL_STATUS_ISSUE", "SIGNAL_STATUS_NOT_ENABLED", ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED", "SIGNAL_TYPE_GROUP_MULTIREGIONAL", @@ -858,18 +859,19 @@ 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 -class SignalFilter(typing_extensions.TypedDict, total=False): - signalStatus: typing_extensions.Literal[ +class SignalFilter(typing.TypedDict, total=False): + signalStatus: typing.Literal[ "SIGNAL_STATUS_UNSPECIFIED", "SIGNAL_STATUS_NOT_APPLICABLE", "SIGNAL_STATUS_OK", "SIGNAL_STATUS_ISSUE", "SIGNAL_STATUS_NOT_ENABLED", ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED", "SIGNAL_TYPE_GROUP_MULTIREGIONAL", @@ -972,18 +974,19 @@ 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 -class SignalGroup(typing_extensions.TypedDict, total=False): +class SignalGroup(typing.TypedDict, total=False): displayName: str issueCount: int signals: _list[Signal] @typing.type_check_only -class SignalProductsFilters(typing_extensions.TypedDict, total=False): +class SignalProductsFilters(typing.TypedDict, total=False): products: _list[Product] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED", "SIGNAL_TYPE_GROUP_MULTIREGIONAL", @@ -1086,13 +1089,14 @@ 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 -class SignalTypeGroup(typing_extensions.TypedDict, total=False): +class SignalTypeGroup(typing.TypedDict, total=False): displayName: str signalTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED", "SIGNAL_TYPE_GROUP_MULTIREGIONAL", @@ -1195,36 +1199,37 @@ 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", ] ] @typing.type_check_only -class SubResource(typing_extensions.TypedDict, total=False): +class SubResource(typing.TypedDict, total=False): container: str fullResourceName: str product: Product resourceType: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): inherited: bool key: str source: str value: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TypedValue(typing_extensions.TypedDict, total=False): +class TypedValue(typing.TypedDict, total=False): doubleValue: float int64Value: str @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): endTime: str startTime: str diff --git a/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi b/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi index 1f6b0e3d5..d20c2b85d 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi index 3df76194a..b768afd1a 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi @@ -1,63 +1,51 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryConnectionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1BigQueryConnectionSpec(typing.TypedDict, total=False): cloudSql: GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec - connectionType: typing_extensions.Literal[ - "CONNECTION_TYPE_UNSPECIFIED", "CLOUD_SQL" - ] + connectionType: typing.Literal["CONNECTION_TYPE_UNSPECIFIED", "CLOUD_SQL"] hasCredential: bool @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryDateShardedSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1BigQueryDateShardedSpec(typing.TypedDict, total=False): dataset: str latestShardResource: str shardCount: str tablePrefix: str @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryRoutineSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1BigQueryRoutineSpec(typing.TypedDict, total=False): importedLibraries: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryTableSpec( - typing_extensions.TypedDict, total=False -): - tableSourceType: typing_extensions.Literal[ +class GoogleCloudDatacatalogV1BigQueryTableSpec(typing.TypedDict, total=False): + tableSourceType: typing.Literal[ "TABLE_SOURCE_TYPE_UNSPECIFIED", "BIGQUERY_VIEW", "BIGQUERY_TABLE", @@ -67,21 +55,19 @@ class GoogleCloudDatacatalogV1BigQueryTableSpec( viewSpec: GoogleCloudDatacatalogV1ViewSpec @typing.type_check_only -class GoogleCloudDatacatalogV1BusinessContext(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1BusinessContext(typing.TypedDict, total=False): contacts: GoogleCloudDatacatalogV1Contacts entryOverview: GoogleCloudDatacatalogV1EntryOverview @typing.type_check_only -class GoogleCloudDatacatalogV1CloudBigtableInstanceSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1CloudBigtableInstanceSpec(typing.TypedDict, total=False): cloudBigtableClusterSpecs: _list[ GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec ] @typing.type_check_only class GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str linkedResource: str @@ -89,26 +75,24 @@ class GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec( type: str @typing.type_check_only -class GoogleCloudDatacatalogV1CloudBigtableSystemSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1CloudBigtableSystemSpec(typing.TypedDict, total=False): instanceDisplayName: str @typing.type_check_only class GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): database: str instanceId: str - type: typing_extensions.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] + type: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] @typing.type_check_only -class GoogleCloudDatacatalogV1ColumnSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ColumnSchema(typing.TypedDict, total=False): column: str defaultValue: str description: str gcRule: str - highestIndexingType: typing_extensions.Literal[ + highestIndexingType: typing.Literal[ "INDEXING_TYPE_UNSPECIFIED", "INDEXING_TYPE_NONE", "INDEXING_TYPE_NON_UNIQUE", @@ -124,15 +108,15 @@ class GoogleCloudDatacatalogV1ColumnSchema(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDatacatalogV1ColumnSchemaFieldElementType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): type: str @typing.type_check_only class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "LOOKER_COLUMN_TYPE_UNSPECIFIED", "DIMENSION", "DIMENSION_GROUP", @@ -142,67 +126,55 @@ class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec( ] @typing.type_check_only -class GoogleCloudDatacatalogV1CommonUsageStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1CommonUsageStats(typing.TypedDict, total=False): viewCount: str @typing.type_check_only -class GoogleCloudDatacatalogV1Contacts(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Contacts(typing.TypedDict, total=False): people: _list[GoogleCloudDatacatalogV1ContactsPerson] @typing.type_check_only -class GoogleCloudDatacatalogV1ContactsPerson(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ContactsPerson(typing.TypedDict, total=False): designation: str email: str @typing.type_check_only -class GoogleCloudDatacatalogV1CrossRegionalSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1CrossRegionalSource(typing.TypedDict, total=False): taxonomy: str @typing.type_check_only -class GoogleCloudDatacatalogV1DataSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DataSource(typing.TypedDict, total=False): resource: str - service: typing_extensions.Literal[ - "SERVICE_UNSPECIFIED", "CLOUD_STORAGE", "BIGQUERY" - ] + service: typing.Literal["SERVICE_UNSPECIFIED", "CLOUD_STORAGE", "BIGQUERY"] sourceEntry: str storageProperties: GoogleCloudDatacatalogV1StorageProperties @typing.type_check_only -class GoogleCloudDatacatalogV1DataSourceConnectionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataSourceConnectionSpec(typing.TypedDict, total=False): bigqueryConnectionSpec: GoogleCloudDatacatalogV1BigQueryConnectionSpec @typing.type_check_only -class GoogleCloudDatacatalogV1DatabaseTableSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DatabaseTableSpec(typing.TypedDict, total=False): databaseViewSpec: GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec dataplexTable: GoogleCloudDatacatalogV1DataplexTableSpec - type: typing_extensions.Literal["TABLE_TYPE_UNSPECIFIED", "NATIVE", "EXTERNAL"] + type: typing.Literal["TABLE_TYPE_UNSPECIFIED", "NATIVE", "EXTERNAL"] @typing.type_check_only class GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseTable: str sqlQuery: str - viewType: typing_extensions.Literal[ + viewType: typing.Literal[ "VIEW_TYPE_UNSPECIFIED", "STANDARD_VIEW", "MATERIALIZED_VIEW" ] @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexExternalTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataplexExternalTable(typing.TypedDict, total=False): dataCatalogEntry: str fullyQualifiedName: str googleCloudResource: str - system: typing_extensions.Literal[ + system: typing.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", "CLOUD_PUBSUB", @@ -216,36 +188,32 @@ class GoogleCloudDatacatalogV1DataplexExternalTable( ] @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexFilesetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataplexFilesetSpec(typing.TypedDict, total=False): dataplexSpec: GoogleCloudDatacatalogV1DataplexSpec @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DataplexSpec(typing.TypedDict, total=False): asset: str compressionFormat: str dataFormat: GoogleCloudDatacatalogV1PhysicalSchema projectId: str @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexTableSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataplexTableSpec(typing.TypedDict, total=False): dataplexSpec: GoogleCloudDatacatalogV1DataplexSpec externalTables: _list[GoogleCloudDatacatalogV1DataplexExternalTable] userManaged: bool @typing.type_check_only -class GoogleCloudDatacatalogV1DatasetSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DatasetSpec(typing.TypedDict, total=False): vertexDatasetSpec: GoogleCloudDatacatalogV1VertexDatasetSpec @typing.type_check_only -class GoogleCloudDatacatalogV1DumpItem(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DumpItem(typing.TypedDict, total=False): taggedEntry: GoogleCloudDatacatalogV1TaggedEntry @typing.type_check_only -class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Entry(typing.TypedDict, total=False): bigqueryDateShardedSpec: GoogleCloudDatacatalogV1BigQueryDateShardedSpec bigqueryTableSpec: GoogleCloudDatacatalogV1BigQueryTableSpec businessContext: GoogleCloudDatacatalogV1BusinessContext @@ -261,7 +229,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): fullyQualifiedName: str gcsFilesetSpec: GoogleCloudDatacatalogV1GcsFilesetSpec graphSpec: GoogleCloudDatacatalogV1GraphSpec - integratedSystem: typing_extensions.Literal[ + integratedSystem: typing.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", "CLOUD_PUBSUB", @@ -285,7 +253,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): sourceSystemTimestamps: GoogleCloudDatacatalogV1SystemTimestamps spannerTableSpec: GoogleCloudDatacatalogV1SpannerTableSpec sqlDatabaseSystemSpec: GoogleCloudDatacatalogV1SqlDatabaseSystemSpec - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTRY_TYPE_UNSPECIFIED", "TABLE", "MODEL", @@ -312,7 +280,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): userSpecifiedType: str @typing.type_check_only -class GoogleCloudDatacatalogV1EntryGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1EntryGroup(typing.TypedDict, total=False): dataCatalogTimestamps: GoogleCloudDatacatalogV1SystemTimestamps description: str displayName: str @@ -320,27 +288,21 @@ class GoogleCloudDatacatalogV1EntryGroup(typing_extensions.TypedDict, total=Fals transferredToDataplex: bool @typing.type_check_only -class GoogleCloudDatacatalogV1EntryOverview(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1EntryOverview(typing.TypedDict, total=False): overview: str @typing.type_check_only -class GoogleCloudDatacatalogV1ExportTaxonomiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ExportTaxonomiesResponse(typing.TypedDict, total=False): taxonomies: _list[GoogleCloudDatacatalogV1SerializedTaxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1FeatureOnlineStoreSpec( - typing_extensions.TypedDict, total=False -): - storageType: typing_extensions.Literal[ - "STORAGE_TYPE_UNSPECIFIED", "BIGTABLE", "OPTIMIZED" - ] +class GoogleCloudDatacatalogV1FeatureOnlineStoreSpec(typing.TypedDict, total=False): + storageType: typing.Literal["STORAGE_TYPE_UNSPECIFIED", "BIGTABLE", "OPTIMIZED"] @typing.type_check_only -class GoogleCloudDatacatalogV1FieldType(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1FieldType(typing.TypedDict, total=False): enumType: GoogleCloudDatacatalogV1FieldTypeEnumType - primitiveType: typing_extensions.Literal[ + primitiveType: typing.Literal[ "PRIMITIVE_TYPE_UNSPECIFIED", "DOUBLE", "STRING", @@ -350,42 +312,36 @@ class GoogleCloudDatacatalogV1FieldType(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class GoogleCloudDatacatalogV1FieldTypeEnumType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1FieldTypeEnumType(typing.TypedDict, total=False): allowedValues: _list[GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue] @typing.type_check_only -class GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1FilesetSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1FilesetSpec(typing.TypedDict, total=False): dataplexFileset: GoogleCloudDatacatalogV1DataplexFilesetSpec @typing.type_check_only -class GoogleCloudDatacatalogV1GcsFileSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1GcsFileSpec(typing.TypedDict, total=False): filePath: str gcsTimestamps: GoogleCloudDatacatalogV1SystemTimestamps sizeBytes: str @typing.type_check_only -class GoogleCloudDatacatalogV1GcsFilesetSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1GcsFilesetSpec(typing.TypedDict, total=False): filePatterns: _list[str] sampleGcsFileSpecs: _list[GoogleCloudDatacatalogV1GcsFileSpec] @typing.type_check_only -class GoogleCloudDatacatalogV1GraphSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1GraphSpec(typing.TypedDict, total=False): edgeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] name: str nodeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] @typing.type_check_only -class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1GraphSpecGraphElementTable(typing.TypedDict, total=False): alias: str dataSource: str destinationNodeReference: ( @@ -394,8 +350,8 @@ class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( dynamicLabelColumn: str dynamicPropertiesColumn: str elementKeys: _list[str] - inputSource: typing_extensions.Literal["INPUT_SOURCE_UNSPECIFIED", "TABLE", "VIEW"] - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "NODE", "EDGE"] + inputSource: typing.Literal["INPUT_SOURCE_UNSPECIFIED", "TABLE", "VIEW"] + kind: typing.Literal["KIND_UNSPECIFIED", "NODE", "EDGE"] labelAndProperties: _list[ GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties ] @@ -405,7 +361,7 @@ class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( @typing.type_check_only class GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): edgeTableColumns: _list[str] nodeAlias: str @@ -413,24 +369,22 @@ class GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference( @typing.type_check_only class GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): label: str properties: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty] @typing.type_check_only class GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str type: str @typing.type_check_only -class GoogleCloudDatacatalogV1ImportEntriesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ImportEntriesMetadata(typing.TypedDict, total=False): errors: _list[Status] - state: typing_extensions.Literal[ + state: typing.Literal[ "IMPORT_STATE_UNSPECIFIED", "IMPORT_QUEUED", "IMPORT_IN_PROGRESS", @@ -439,75 +393,55 @@ class GoogleCloudDatacatalogV1ImportEntriesMetadata( ] @typing.type_check_only -class GoogleCloudDatacatalogV1ImportEntriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ImportEntriesRequest(typing.TypedDict, total=False): gcsBucketPath: str jobId: str @typing.type_check_only -class GoogleCloudDatacatalogV1ImportEntriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ImportEntriesResponse(typing.TypedDict, total=False): deletedEntriesCount: str upsertedEntriesCount: str @typing.type_check_only -class GoogleCloudDatacatalogV1ImportTaxonomiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ImportTaxonomiesRequest(typing.TypedDict, total=False): crossRegionalSource: GoogleCloudDatacatalogV1CrossRegionalSource inlineSource: GoogleCloudDatacatalogV1InlineSource @typing.type_check_only -class GoogleCloudDatacatalogV1ImportTaxonomiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ImportTaxonomiesResponse(typing.TypedDict, total=False): taxonomies: _list[GoogleCloudDatacatalogV1Taxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1InlineSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1InlineSource(typing.TypedDict, total=False): taxonomies: _list[GoogleCloudDatacatalogV1SerializedTaxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1ListEntriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ListEntriesResponse(typing.TypedDict, total=False): entries: _list[GoogleCloudDatacatalogV1Entry] nextPageToken: str @typing.type_check_only -class GoogleCloudDatacatalogV1ListEntryGroupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ListEntryGroupsResponse(typing.TypedDict, total=False): entryGroups: _list[GoogleCloudDatacatalogV1EntryGroup] nextPageToken: str @typing.type_check_only -class GoogleCloudDatacatalogV1ListPolicyTagsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ListPolicyTagsResponse(typing.TypedDict, total=False): nextPageToken: str policyTags: _list[GoogleCloudDatacatalogV1PolicyTag] @typing.type_check_only -class GoogleCloudDatacatalogV1ListTagsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ListTagsResponse(typing.TypedDict, total=False): nextPageToken: str tags: _list[GoogleCloudDatacatalogV1Tag] @typing.type_check_only -class GoogleCloudDatacatalogV1ListTaxonomiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ListTaxonomiesResponse(typing.TypedDict, total=False): nextPageToken: str taxonomies: _list[GoogleCloudDatacatalogV1Taxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1LookerSystemSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1LookerSystemSpec(typing.TypedDict, total=False): parentInstanceDisplayName: str parentInstanceId: str parentModelDisplayName: str @@ -516,13 +450,13 @@ class GoogleCloudDatacatalogV1LookerSystemSpec( parentViewId: str @typing.type_check_only -class GoogleCloudDatacatalogV1MigrationConfig(typing_extensions.TypedDict, total=False): - catalogUiExperience: typing_extensions.Literal[ +class GoogleCloudDatacatalogV1MigrationConfig(typing.TypedDict, total=False): + catalogUiExperience: typing.Literal[ "CATALOG_UI_EXPERIENCE_UNSPECIFIED", "CATALOG_UI_EXPERIENCE_ENABLED", "CATALOG_UI_EXPERIENCE_DISABLED", ] - tagTemplateMigration: typing_extensions.Literal[ + tagTemplateMigration: typing.Literal[ "TAG_TEMPLATE_MIGRATION_UNSPECIFIED", "TAG_TEMPLATE_MIGRATION_ENABLED", "TAG_TEMPLATE_MIGRATION_DISABLED", @@ -530,34 +464,28 @@ class GoogleCloudDatacatalogV1MigrationConfig(typing_extensions.TypedDict, total templateMigrationEnabledTime: str @typing.type_check_only -class GoogleCloudDatacatalogV1ModelSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ModelSpec(typing.TypedDict, total=False): vertexModelSpec: GoogleCloudDatacatalogV1VertexModelSpec @typing.type_check_only -class GoogleCloudDatacatalogV1ModifyEntryContactsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ModifyEntryContactsRequest(typing.TypedDict, total=False): contacts: GoogleCloudDatacatalogV1Contacts @typing.type_check_only -class GoogleCloudDatacatalogV1ModifyEntryOverviewRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ModifyEntryOverviewRequest(typing.TypedDict, total=False): entryOverview: GoogleCloudDatacatalogV1EntryOverview @typing.type_check_only -class GoogleCloudDatacatalogV1OrganizationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1OrganizationConfig(typing.TypedDict, total=False): config: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDatacatalogV1PersonalDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1PersonalDetails(typing.TypedDict, total=False): starTime: str starred: bool @typing.type_check_only -class GoogleCloudDatacatalogV1PhysicalSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1PhysicalSchema(typing.TypedDict, total=False): avro: GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema csv: GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema orc: GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema @@ -566,40 +494,36 @@ class GoogleCloudDatacatalogV1PhysicalSchema(typing_extensions.TypedDict, total= thrift: GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema @typing.type_check_only -class GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema(typing.TypedDict, total=False): text: str @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only -class GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDatacatalogV1PolicyTag(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1PolicyTag(typing.TypedDict, total=False): childPolicyTags: _list[str] description: str displayName: str @@ -607,11 +531,9 @@ class GoogleCloudDatacatalogV1PolicyTag(typing_extensions.TypedDict, total=False parentPolicyTag: str @typing.type_check_only -class GoogleCloudDatacatalogV1ReconcileTagsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ReconcileTagsMetadata(typing.TypedDict, total=False): errors: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "RECONCILIATION_STATE_UNSPECIFIED", "RECONCILIATION_QUEUED", "RECONCILIATION_IN_PROGRESS", @@ -619,66 +541,56 @@ class GoogleCloudDatacatalogV1ReconcileTagsMetadata( ] @typing.type_check_only -class GoogleCloudDatacatalogV1ReconcileTagsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ReconcileTagsRequest(typing.TypedDict, total=False): forceDeleteMissing: bool tagTemplate: str tags: _list[GoogleCloudDatacatalogV1Tag] @typing.type_check_only -class GoogleCloudDatacatalogV1ReconcileTagsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ReconcileTagsResponse(typing.TypedDict, total=False): createdTagsCount: str deletedTagsCount: str updatedTagsCount: str @typing.type_check_only class GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newEnumValueDisplayName: str @typing.type_check_only class GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newTagTemplateFieldId: str @typing.type_check_only -class GoogleCloudDatacatalogV1ReplaceTaxonomyRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ReplaceTaxonomyRequest(typing.TypedDict, total=False): serializedTaxonomy: GoogleCloudDatacatalogV1SerializedTaxonomy @typing.type_check_only -class GoogleCloudDatacatalogV1RoutineSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1RoutineSpec(typing.TypedDict, total=False): bigqueryRoutineSpec: GoogleCloudDatacatalogV1BigQueryRoutineSpec definitionBody: str language: str returnType: str routineArguments: _list[GoogleCloudDatacatalogV1RoutineSpecArgument] - routineType: typing_extensions.Literal[ + routineType: typing.Literal[ "ROUTINE_TYPE_UNSPECIFIED", "SCALAR_FUNCTION", "PROCEDURE" ] @typing.type_check_only -class GoogleCloudDatacatalogV1RoutineSpecArgument( - typing_extensions.TypedDict, total=False -): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "IN", "OUT", "INOUT"] +class GoogleCloudDatacatalogV1RoutineSpecArgument(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "IN", "OUT", "INOUT"] name: str type: str @typing.type_check_only -class GoogleCloudDatacatalogV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Schema(typing.TypedDict, total=False): columns: _list[GoogleCloudDatacatalogV1ColumnSchema] @typing.type_check_only -class GoogleCloudDatacatalogV1SearchCatalogRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SearchCatalogRequest(typing.TypedDict, total=False): adminSearch: bool orderBy: str pageSize: int @@ -687,9 +599,7 @@ class GoogleCloudDatacatalogV1SearchCatalogRequest( scope: GoogleCloudDatacatalogV1SearchCatalogRequestScope @typing.type_check_only -class GoogleCloudDatacatalogV1SearchCatalogRequestScope( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SearchCatalogRequestScope(typing.TypedDict, total=False): includeGcpPublicDatasets: bool includeOrgIds: _list[str] includeProjectIds: _list[str] @@ -698,22 +608,18 @@ class GoogleCloudDatacatalogV1SearchCatalogRequestScope( starredOnly: bool @typing.type_check_only -class GoogleCloudDatacatalogV1SearchCatalogResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SearchCatalogResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[GoogleCloudDatacatalogV1SearchCatalogResult] totalSize: int unreachable: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogV1SearchCatalogResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SearchCatalogResult(typing.TypedDict, total=False): description: str displayName: str fullyQualifiedName: str - integratedSystem: typing_extensions.Literal[ + integratedSystem: typing.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", "CLOUD_PUBSUB", @@ -729,62 +635,52 @@ class GoogleCloudDatacatalogV1SearchCatalogResult( modifyTime: str relativeResourceName: str searchResultSubtype: str - searchResultType: typing_extensions.Literal[ + searchResultType: typing.Literal[ "SEARCH_RESULT_TYPE_UNSPECIFIED", "ENTRY", "TAG_TEMPLATE", "ENTRY_GROUP" ] userSpecifiedSystem: str @typing.type_check_only -class GoogleCloudDatacatalogV1SerializedPolicyTag( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SerializedPolicyTag(typing.TypedDict, total=False): childPolicyTags: _list[GoogleCloudDatacatalogV1SerializedPolicyTag] description: str displayName: str policyTag: str @typing.type_check_only -class GoogleCloudDatacatalogV1SerializedTaxonomy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SerializedTaxonomy(typing.TypedDict, total=False): activatedPolicyTypes: _list[ - typing_extensions.Literal[ - "POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL" - ] + typing.Literal["POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL"] ] description: str displayName: str policyTags: _list[GoogleCloudDatacatalogV1SerializedPolicyTag] @typing.type_check_only -class GoogleCloudDatacatalogV1ServiceSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ServiceSpec(typing.TypedDict, total=False): cloudBigtableInstanceSpec: GoogleCloudDatacatalogV1CloudBigtableInstanceSpec @typing.type_check_only -class GoogleCloudDatacatalogV1SetConfigRequest( - typing_extensions.TypedDict, total=False -): - catalogUiExperience: typing_extensions.Literal[ +class GoogleCloudDatacatalogV1SetConfigRequest(typing.TypedDict, total=False): + catalogUiExperience: typing.Literal[ "CATALOG_UI_EXPERIENCE_UNSPECIFIED", "CATALOG_UI_EXPERIENCE_ENABLED", "CATALOG_UI_EXPERIENCE_DISABLED", ] - tagTemplateMigration: typing_extensions.Literal[ + tagTemplateMigration: typing.Literal[ "TAG_TEMPLATE_MIGRATION_UNSPECIFIED", "TAG_TEMPLATE_MIGRATION_ENABLED", "TAG_TEMPLATE_MIGRATION_DISABLED", ] @typing.type_check_only -class GoogleCloudDatacatalogV1SpannerTableSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SpannerTableSpec(typing.TypedDict, total=False): foreignKeys: _list[GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey] primaryKey: GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey @typing.type_check_only class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnMappings: _list[ GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping @@ -794,58 +690,48 @@ class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey( @typing.type_check_only class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): column: str referenceColumn: str @typing.type_check_only class GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columns: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec(typing.TypedDict, total=False): databaseVersion: str instanceHost: str sqlEngine: str @typing.type_check_only -class GoogleCloudDatacatalogV1StarEntryRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDatacatalogV1StarEntryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDatacatalogV1StarEntryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDatacatalogV1StarEntryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDatacatalogV1StorageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1StorageProperties(typing.TypedDict, total=False): filePattern: _list[str] fileType: str @typing.type_check_only -class GoogleCloudDatacatalogV1SystemTimestamps( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SystemTimestamps(typing.TypedDict, total=False): createTime: str expireTime: str updateTime: str @typing.type_check_only -class GoogleCloudDatacatalogV1TableSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1TableSpec(typing.TypedDict, total=False): groupedEntry: str @typing.type_check_only -class GoogleCloudDatacatalogV1Tag(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Tag(typing.TypedDict, total=False): column: str - dataplexTransferStatus: typing_extensions.Literal[ + dataplexTransferStatus: typing.Literal[ "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED", "MIGRATED", "TRANSFERRED" ] fields: dict[str, typing.Any] @@ -854,7 +740,7 @@ class GoogleCloudDatacatalogV1Tag(typing_extensions.TypedDict, total=False): templateDisplayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1TagField(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1TagField(typing.TypedDict, total=False): boolValue: bool displayName: str doubleValue: float @@ -865,14 +751,12 @@ class GoogleCloudDatacatalogV1TagField(typing_extensions.TypedDict, total=False) timestampValue: str @typing.type_check_only -class GoogleCloudDatacatalogV1TagFieldEnumValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1TagFieldEnumValue(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1TagTemplate(typing_extensions.TypedDict, total=False): - dataplexTransferStatus: typing_extensions.Literal[ +class GoogleCloudDatacatalogV1TagTemplate(typing.TypedDict, total=False): + dataplexTransferStatus: typing.Literal[ "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED", "MIGRATED", "TRANSFERRED" ] displayName: str @@ -881,9 +765,7 @@ class GoogleCloudDatacatalogV1TagTemplate(typing_extensions.TypedDict, total=Fal name: str @typing.type_check_only -class GoogleCloudDatacatalogV1TagTemplateField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1TagTemplateField(typing.TypedDict, total=False): description: str displayName: str isRequired: bool @@ -892,17 +774,15 @@ class GoogleCloudDatacatalogV1TagTemplateField( type: GoogleCloudDatacatalogV1FieldType @typing.type_check_only -class GoogleCloudDatacatalogV1TaggedEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1TaggedEntry(typing.TypedDict, total=False): absentTags: _list[GoogleCloudDatacatalogV1Tag] presentTags: _list[GoogleCloudDatacatalogV1Tag] v1Entry: GoogleCloudDatacatalogV1Entry @typing.type_check_only -class GoogleCloudDatacatalogV1Taxonomy(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Taxonomy(typing.TypedDict, total=False): activatedPolicyTypes: _list[ - typing_extensions.Literal[ - "POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL" - ] + typing.Literal["POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL"] ] description: str displayName: str @@ -912,44 +792,38 @@ class GoogleCloudDatacatalogV1Taxonomy(typing_extensions.TypedDict, total=False) taxonomyTimestamps: GoogleCloudDatacatalogV1SystemTimestamps @typing.type_check_only -class GoogleCloudDatacatalogV1TaxonomyService(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1TaxonomyService(typing.TypedDict, total=False): identity: str - name: typing_extensions.Literal[ + name: typing.Literal[ "MANAGING_SYSTEM_UNSPECIFIED", "MANAGING_SYSTEM_DATAPLEX", "MANAGING_SYSTEM_OTHER", ] @typing.type_check_only -class GoogleCloudDatacatalogV1UnstarEntryRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDatacatalogV1UnstarEntryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDatacatalogV1UnstarEntryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDatacatalogV1UnstarEntryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDatacatalogV1UsageSignal(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1UsageSignal(typing.TypedDict, total=False): commonUsageWithinTimeRange: dict[str, typing.Any] favoriteCount: str updateTime: str usageWithinTimeRange: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDatacatalogV1UsageStats(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1UsageStats(typing.TypedDict, total=False): totalCancellations: float totalCompletions: float totalExecutionTimeForCompletionsMillis: float totalFailures: float @typing.type_check_only -class GoogleCloudDatacatalogV1VertexDatasetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1VertexDatasetSpec(typing.TypedDict, total=False): dataItemCount: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "TABLE", "IMAGE", @@ -966,11 +840,9 @@ class GoogleCloudDatacatalogV1VertexDatasetSpec( ] @typing.type_check_only -class GoogleCloudDatacatalogV1VertexModelSourceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1VertexModelSourceInfo(typing.TypedDict, total=False): copy: bool - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "MODEL_SOURCE_TYPE_UNSPECIFIED", "AUTOML", "CUSTOM", @@ -982,7 +854,7 @@ class GoogleCloudDatacatalogV1VertexModelSourceInfo( ] @typing.type_check_only -class GoogleCloudDatacatalogV1VertexModelSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1VertexModelSpec(typing.TypedDict, total=False): containerImageUri: str versionAliases: _list[str] versionDescription: str @@ -990,17 +862,17 @@ class GoogleCloudDatacatalogV1VertexModelSpec(typing_extensions.TypedDict, total vertexModelSourceInfo: GoogleCloudDatacatalogV1VertexModelSourceInfo @typing.type_check_only -class GoogleCloudDatacatalogV1ViewSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ViewSpec(typing.TypedDict, total=False): viewQuery: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1008,25 +880,25 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/datacatalog/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datacatalog/v1beta1/resources.pyi index 7d400707e..63c05ac8c 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi index 25bf0cd9a..3e5d00d4e 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi @@ -1,63 +1,51 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryConnectionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1BigQueryConnectionSpec(typing.TypedDict, total=False): cloudSql: GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec - connectionType: typing_extensions.Literal[ - "CONNECTION_TYPE_UNSPECIFIED", "CLOUD_SQL" - ] + connectionType: typing.Literal["CONNECTION_TYPE_UNSPECIFIED", "CLOUD_SQL"] hasCredential: bool @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryDateShardedSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1BigQueryDateShardedSpec(typing.TypedDict, total=False): dataset: str latestShardResource: str shardCount: str tablePrefix: str @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryRoutineSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1BigQueryRoutineSpec(typing.TypedDict, total=False): importedLibraries: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogV1BigQueryTableSpec( - typing_extensions.TypedDict, total=False -): - tableSourceType: typing_extensions.Literal[ +class GoogleCloudDatacatalogV1BigQueryTableSpec(typing.TypedDict, total=False): + tableSourceType: typing.Literal[ "TABLE_SOURCE_TYPE_UNSPECIFIED", "BIGQUERY_VIEW", "BIGQUERY_TABLE", @@ -67,21 +55,19 @@ class GoogleCloudDatacatalogV1BigQueryTableSpec( viewSpec: GoogleCloudDatacatalogV1ViewSpec @typing.type_check_only -class GoogleCloudDatacatalogV1BusinessContext(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1BusinessContext(typing.TypedDict, total=False): contacts: GoogleCloudDatacatalogV1Contacts entryOverview: GoogleCloudDatacatalogV1EntryOverview @typing.type_check_only -class GoogleCloudDatacatalogV1CloudBigtableInstanceSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1CloudBigtableInstanceSpec(typing.TypedDict, total=False): cloudBigtableClusterSpecs: _list[ GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec ] @typing.type_check_only class GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str linkedResource: str @@ -89,26 +75,24 @@ class GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec( type: str @typing.type_check_only -class GoogleCloudDatacatalogV1CloudBigtableSystemSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1CloudBigtableSystemSpec(typing.TypedDict, total=False): instanceDisplayName: str @typing.type_check_only class GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): database: str instanceId: str - type: typing_extensions.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] + type: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"] @typing.type_check_only -class GoogleCloudDatacatalogV1ColumnSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ColumnSchema(typing.TypedDict, total=False): column: str defaultValue: str description: str gcRule: str - highestIndexingType: typing_extensions.Literal[ + highestIndexingType: typing.Literal[ "INDEXING_TYPE_UNSPECIFIED", "INDEXING_TYPE_NONE", "INDEXING_TYPE_NON_UNIQUE", @@ -124,15 +108,15 @@ class GoogleCloudDatacatalogV1ColumnSchema(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDatacatalogV1ColumnSchemaFieldElementType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): type: str @typing.type_check_only class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "LOOKER_COLUMN_TYPE_UNSPECIFIED", "DIMENSION", "DIMENSION_GROUP", @@ -142,61 +126,51 @@ class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec( ] @typing.type_check_only -class GoogleCloudDatacatalogV1CommonUsageStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1CommonUsageStats(typing.TypedDict, total=False): viewCount: str @typing.type_check_only -class GoogleCloudDatacatalogV1Contacts(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Contacts(typing.TypedDict, total=False): people: _list[GoogleCloudDatacatalogV1ContactsPerson] @typing.type_check_only -class GoogleCloudDatacatalogV1ContactsPerson(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ContactsPerson(typing.TypedDict, total=False): designation: str email: str @typing.type_check_only -class GoogleCloudDatacatalogV1DataSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DataSource(typing.TypedDict, total=False): resource: str - service: typing_extensions.Literal[ - "SERVICE_UNSPECIFIED", "CLOUD_STORAGE", "BIGQUERY" - ] + service: typing.Literal["SERVICE_UNSPECIFIED", "CLOUD_STORAGE", "BIGQUERY"] sourceEntry: str storageProperties: GoogleCloudDatacatalogV1StorageProperties @typing.type_check_only -class GoogleCloudDatacatalogV1DataSourceConnectionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataSourceConnectionSpec(typing.TypedDict, total=False): bigqueryConnectionSpec: GoogleCloudDatacatalogV1BigQueryConnectionSpec @typing.type_check_only -class GoogleCloudDatacatalogV1DatabaseTableSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DatabaseTableSpec(typing.TypedDict, total=False): databaseViewSpec: GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec dataplexTable: GoogleCloudDatacatalogV1DataplexTableSpec - type: typing_extensions.Literal["TABLE_TYPE_UNSPECIFIED", "NATIVE", "EXTERNAL"] + type: typing.Literal["TABLE_TYPE_UNSPECIFIED", "NATIVE", "EXTERNAL"] @typing.type_check_only class GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseTable: str sqlQuery: str - viewType: typing_extensions.Literal[ + viewType: typing.Literal[ "VIEW_TYPE_UNSPECIFIED", "STANDARD_VIEW", "MATERIALIZED_VIEW" ] @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexExternalTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataplexExternalTable(typing.TypedDict, total=False): dataCatalogEntry: str fullyQualifiedName: str googleCloudResource: str - system: typing_extensions.Literal[ + system: typing.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", "CLOUD_PUBSUB", @@ -210,36 +184,32 @@ class GoogleCloudDatacatalogV1DataplexExternalTable( ] @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexFilesetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataplexFilesetSpec(typing.TypedDict, total=False): dataplexSpec: GoogleCloudDatacatalogV1DataplexSpec @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DataplexSpec(typing.TypedDict, total=False): asset: str compressionFormat: str dataFormat: GoogleCloudDatacatalogV1PhysicalSchema projectId: str @typing.type_check_only -class GoogleCloudDatacatalogV1DataplexTableSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1DataplexTableSpec(typing.TypedDict, total=False): dataplexSpec: GoogleCloudDatacatalogV1DataplexSpec externalTables: _list[GoogleCloudDatacatalogV1DataplexExternalTable] userManaged: bool @typing.type_check_only -class GoogleCloudDatacatalogV1DatasetSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DatasetSpec(typing.TypedDict, total=False): vertexDatasetSpec: GoogleCloudDatacatalogV1VertexDatasetSpec @typing.type_check_only -class GoogleCloudDatacatalogV1DumpItem(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1DumpItem(typing.TypedDict, total=False): taggedEntry: GoogleCloudDatacatalogV1TaggedEntry @typing.type_check_only -class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Entry(typing.TypedDict, total=False): bigqueryDateShardedSpec: GoogleCloudDatacatalogV1BigQueryDateShardedSpec bigqueryTableSpec: GoogleCloudDatacatalogV1BigQueryTableSpec businessContext: GoogleCloudDatacatalogV1BusinessContext @@ -255,7 +225,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): fullyQualifiedName: str gcsFilesetSpec: GoogleCloudDatacatalogV1GcsFilesetSpec graphSpec: GoogleCloudDatacatalogV1GraphSpec - integratedSystem: typing_extensions.Literal[ + integratedSystem: typing.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", "CLOUD_PUBSUB", @@ -279,7 +249,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): sourceSystemTimestamps: GoogleCloudDatacatalogV1SystemTimestamps spannerTableSpec: GoogleCloudDatacatalogV1SpannerTableSpec sqlDatabaseSystemSpec: GoogleCloudDatacatalogV1SqlDatabaseSystemSpec - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTRY_TYPE_UNSPECIFIED", "TABLE", "MODEL", @@ -306,42 +276,36 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): userSpecifiedType: str @typing.type_check_only -class GoogleCloudDatacatalogV1EntryOverview(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1EntryOverview(typing.TypedDict, total=False): overview: str @typing.type_check_only -class GoogleCloudDatacatalogV1FeatureOnlineStoreSpec( - typing_extensions.TypedDict, total=False -): - storageType: typing_extensions.Literal[ - "STORAGE_TYPE_UNSPECIFIED", "BIGTABLE", "OPTIMIZED" - ] +class GoogleCloudDatacatalogV1FeatureOnlineStoreSpec(typing.TypedDict, total=False): + storageType: typing.Literal["STORAGE_TYPE_UNSPECIFIED", "BIGTABLE", "OPTIMIZED"] @typing.type_check_only -class GoogleCloudDatacatalogV1FilesetSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1FilesetSpec(typing.TypedDict, total=False): dataplexFileset: GoogleCloudDatacatalogV1DataplexFilesetSpec @typing.type_check_only -class GoogleCloudDatacatalogV1GcsFileSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1GcsFileSpec(typing.TypedDict, total=False): filePath: str gcsTimestamps: GoogleCloudDatacatalogV1SystemTimestamps sizeBytes: str @typing.type_check_only -class GoogleCloudDatacatalogV1GcsFilesetSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1GcsFilesetSpec(typing.TypedDict, total=False): filePatterns: _list[str] sampleGcsFileSpecs: _list[GoogleCloudDatacatalogV1GcsFileSpec] @typing.type_check_only -class GoogleCloudDatacatalogV1GraphSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1GraphSpec(typing.TypedDict, total=False): edgeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] name: str nodeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] @typing.type_check_only -class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1GraphSpecGraphElementTable(typing.TypedDict, total=False): alias: str dataSource: str destinationNodeReference: ( @@ -350,8 +314,8 @@ class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( dynamicLabelColumn: str dynamicPropertiesColumn: str elementKeys: _list[str] - inputSource: typing_extensions.Literal["INPUT_SOURCE_UNSPECIFIED", "TABLE", "VIEW"] - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "NODE", "EDGE"] + inputSource: typing.Literal["INPUT_SOURCE_UNSPECIFIED", "TABLE", "VIEW"] + kind: typing.Literal["KIND_UNSPECIFIED", "NODE", "EDGE"] labelAndProperties: _list[ GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties ] @@ -361,7 +325,7 @@ class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( @typing.type_check_only class GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): edgeTableColumns: _list[str] nodeAlias: str @@ -369,24 +333,22 @@ class GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference( @typing.type_check_only class GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): label: str properties: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty] @typing.type_check_only class GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str type: str @typing.type_check_only -class GoogleCloudDatacatalogV1ImportEntriesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ImportEntriesMetadata(typing.TypedDict, total=False): errors: _list[Status] - state: typing_extensions.Literal[ + state: typing.Literal[ "IMPORT_STATE_UNSPECIFIED", "IMPORT_QUEUED", "IMPORT_IN_PROGRESS", @@ -395,16 +357,12 @@ class GoogleCloudDatacatalogV1ImportEntriesMetadata( ] @typing.type_check_only -class GoogleCloudDatacatalogV1ImportEntriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ImportEntriesResponse(typing.TypedDict, total=False): deletedEntriesCount: str upsertedEntriesCount: str @typing.type_check_only -class GoogleCloudDatacatalogV1LookerSystemSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1LookerSystemSpec(typing.TypedDict, total=False): parentInstanceDisplayName: str parentInstanceId: str parentModelDisplayName: str @@ -413,16 +371,16 @@ class GoogleCloudDatacatalogV1LookerSystemSpec( parentViewId: str @typing.type_check_only -class GoogleCloudDatacatalogV1ModelSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ModelSpec(typing.TypedDict, total=False): vertexModelSpec: GoogleCloudDatacatalogV1VertexModelSpec @typing.type_check_only -class GoogleCloudDatacatalogV1PersonalDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1PersonalDetails(typing.TypedDict, total=False): starTime: str starred: bool @typing.type_check_only -class GoogleCloudDatacatalogV1PhysicalSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1PhysicalSchema(typing.TypedDict, total=False): avro: GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema csv: GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema orc: GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema @@ -431,44 +389,38 @@ class GoogleCloudDatacatalogV1PhysicalSchema(typing_extensions.TypedDict, total= thrift: GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema @typing.type_check_only -class GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema(typing.TypedDict, total=False): text: str @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only -class GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDatacatalogV1ReconcileTagsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ReconcileTagsMetadata(typing.TypedDict, total=False): errors: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "RECONCILIATION_STATE_UNSPECIFIED", "RECONCILIATION_QUEUED", "RECONCILIATION_IN_PROGRESS", @@ -476,50 +428,44 @@ class GoogleCloudDatacatalogV1ReconcileTagsMetadata( ] @typing.type_check_only -class GoogleCloudDatacatalogV1ReconcileTagsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1ReconcileTagsResponse(typing.TypedDict, total=False): createdTagsCount: str deletedTagsCount: str updatedTagsCount: str @typing.type_check_only -class GoogleCloudDatacatalogV1RoutineSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1RoutineSpec(typing.TypedDict, total=False): bigqueryRoutineSpec: GoogleCloudDatacatalogV1BigQueryRoutineSpec definitionBody: str language: str returnType: str routineArguments: _list[GoogleCloudDatacatalogV1RoutineSpecArgument] - routineType: typing_extensions.Literal[ + routineType: typing.Literal[ "ROUTINE_TYPE_UNSPECIFIED", "SCALAR_FUNCTION", "PROCEDURE" ] @typing.type_check_only -class GoogleCloudDatacatalogV1RoutineSpecArgument( - typing_extensions.TypedDict, total=False -): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "IN", "OUT", "INOUT"] +class GoogleCloudDatacatalogV1RoutineSpecArgument(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "IN", "OUT", "INOUT"] name: str type: str @typing.type_check_only -class GoogleCloudDatacatalogV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Schema(typing.TypedDict, total=False): columns: _list[GoogleCloudDatacatalogV1ColumnSchema] @typing.type_check_only -class GoogleCloudDatacatalogV1ServiceSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ServiceSpec(typing.TypedDict, total=False): cloudBigtableInstanceSpec: GoogleCloudDatacatalogV1CloudBigtableInstanceSpec @typing.type_check_only -class GoogleCloudDatacatalogV1SpannerTableSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SpannerTableSpec(typing.TypedDict, total=False): foreignKeys: _list[GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey] primaryKey: GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey @typing.type_check_only class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnMappings: _list[ GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping @@ -529,48 +475,42 @@ class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey( @typing.type_check_only class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): column: str referenceColumn: str @typing.type_check_only class GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columns: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec(typing.TypedDict, total=False): databaseVersion: str instanceHost: str sqlEngine: str @typing.type_check_only -class GoogleCloudDatacatalogV1StorageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1StorageProperties(typing.TypedDict, total=False): filePattern: _list[str] fileType: str @typing.type_check_only -class GoogleCloudDatacatalogV1SystemTimestamps( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1SystemTimestamps(typing.TypedDict, total=False): createTime: str expireTime: str updateTime: str @typing.type_check_only -class GoogleCloudDatacatalogV1TableSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1TableSpec(typing.TypedDict, total=False): groupedEntry: str @typing.type_check_only -class GoogleCloudDatacatalogV1Tag(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1Tag(typing.TypedDict, total=False): column: str - dataplexTransferStatus: typing_extensions.Literal[ + dataplexTransferStatus: typing.Literal[ "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED", "MIGRATED", "TRANSFERRED" ] fields: dict[str, typing.Any] @@ -579,7 +519,7 @@ class GoogleCloudDatacatalogV1Tag(typing_extensions.TypedDict, total=False): templateDisplayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1TagField(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1TagField(typing.TypedDict, total=False): boolValue: bool displayName: str doubleValue: float @@ -590,37 +530,33 @@ class GoogleCloudDatacatalogV1TagField(typing_extensions.TypedDict, total=False) timestampValue: str @typing.type_check_only -class GoogleCloudDatacatalogV1TagFieldEnumValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1TagFieldEnumValue(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1TaggedEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1TaggedEntry(typing.TypedDict, total=False): absentTags: _list[GoogleCloudDatacatalogV1Tag] presentTags: _list[GoogleCloudDatacatalogV1Tag] v1Entry: GoogleCloudDatacatalogV1Entry @typing.type_check_only -class GoogleCloudDatacatalogV1UsageSignal(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1UsageSignal(typing.TypedDict, total=False): commonUsageWithinTimeRange: dict[str, typing.Any] favoriteCount: str updateTime: str usageWithinTimeRange: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDatacatalogV1UsageStats(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1UsageStats(typing.TypedDict, total=False): totalCancellations: float totalCompletions: float totalExecutionTimeForCompletionsMillis: float totalFailures: float @typing.type_check_only -class GoogleCloudDatacatalogV1VertexDatasetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1VertexDatasetSpec(typing.TypedDict, total=False): dataItemCount: str - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "TABLE", "IMAGE", @@ -637,11 +573,9 @@ class GoogleCloudDatacatalogV1VertexDatasetSpec( ] @typing.type_check_only -class GoogleCloudDatacatalogV1VertexModelSourceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1VertexModelSourceInfo(typing.TypedDict, total=False): copy: bool - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "MODEL_SOURCE_TYPE_UNSPECIFIED", "AUTOML", "CUSTOM", @@ -653,7 +587,7 @@ class GoogleCloudDatacatalogV1VertexModelSourceInfo( ] @typing.type_check_only -class GoogleCloudDatacatalogV1VertexModelSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1VertexModelSpec(typing.TypedDict, total=False): containerImageUri: str versionAliases: _list[str] versionDescription: str @@ -661,22 +595,20 @@ class GoogleCloudDatacatalogV1VertexModelSpec(typing_extensions.TypedDict, total vertexModelSourceInfo: GoogleCloudDatacatalogV1VertexModelSourceInfo @typing.type_check_only -class GoogleCloudDatacatalogV1ViewSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1ViewSpec(typing.TypedDict, total=False): viewQuery: str @typing.type_check_only class GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str shardCount: str tablePrefix: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1BigQueryTableSpec( - typing_extensions.TypedDict, total=False -): - tableSourceType: typing_extensions.Literal[ +class GoogleCloudDatacatalogV1beta1BigQueryTableSpec(typing.TypedDict, total=False): + tableSourceType: typing.Literal[ "TABLE_SOURCE_TYPE_UNSPECIFIED", "BIGQUERY_VIEW", "BIGQUERY_TABLE", @@ -686,9 +618,7 @@ class GoogleCloudDatacatalogV1beta1BigQueryTableSpec( viewSpec: GoogleCloudDatacatalogV1beta1ViewSpec @typing.type_check_only -class GoogleCloudDatacatalogV1beta1ColumnSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1ColumnSchema(typing.TypedDict, total=False): column: str description: str mode: str @@ -696,20 +626,20 @@ class GoogleCloudDatacatalogV1beta1ColumnSchema( type: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1Entry(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1Entry(typing.TypedDict, total=False): bigqueryDateShardedSpec: GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec bigqueryTableSpec: GoogleCloudDatacatalogV1beta1BigQueryTableSpec description: str displayName: str gcsFilesetSpec: GoogleCloudDatacatalogV1beta1GcsFilesetSpec - integratedSystem: typing_extensions.Literal[ + integratedSystem: typing.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", "CLOUD_PUBSUB" ] linkedResource: str name: str schema: GoogleCloudDatacatalogV1beta1Schema sourceSystemTimestamps: GoogleCloudDatacatalogV1beta1SystemTimestamps - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTRY_TYPE_UNSPECIFIED", "TABLE", "MODEL", "DATA_STREAM", "FILESET" ] usageSignal: GoogleCloudDatacatalogV1beta1UsageSignal @@ -717,7 +647,7 @@ class GoogleCloudDatacatalogV1beta1Entry(typing_extensions.TypedDict, total=Fals userSpecifiedType: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1EntryGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1EntryGroup(typing.TypedDict, total=False): dataCatalogTimestamps: GoogleCloudDatacatalogV1beta1SystemTimestamps description: str displayName: str @@ -725,99 +655,87 @@ class GoogleCloudDatacatalogV1beta1EntryGroup(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): taxonomies: _list[GoogleCloudDatacatalogV1beta1SerializedTaxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1FieldType(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1FieldType(typing.TypedDict, total=False): enumType: GoogleCloudDatacatalogV1beta1FieldTypeEnumType - primitiveType: typing_extensions.Literal[ + primitiveType: typing.Literal[ "PRIMITIVE_TYPE_UNSPECIFIED", "DOUBLE", "STRING", "BOOL", "TIMESTAMP" ] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1FieldTypeEnumType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1FieldTypeEnumType(typing.TypedDict, total=False): allowedValues: _list[GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue] @typing.type_check_only class GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1GcsFileSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1GcsFileSpec(typing.TypedDict, total=False): filePath: str gcsTimestamps: GoogleCloudDatacatalogV1beta1SystemTimestamps sizeBytes: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1GcsFilesetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1GcsFilesetSpec(typing.TypedDict, total=False): filePatterns: _list[str] sampleGcsFileSpecs: _list[GoogleCloudDatacatalogV1beta1GcsFileSpec] @typing.type_check_only class GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineSource: GoogleCloudDatacatalogV1beta1InlineSource @typing.type_check_only class GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): taxonomies: _list[GoogleCloudDatacatalogV1beta1Taxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1InlineSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1InlineSource(typing.TypedDict, total=False): taxonomies: _list[GoogleCloudDatacatalogV1beta1SerializedTaxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1ListEntriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1ListEntriesResponse(typing.TypedDict, total=False): entries: _list[GoogleCloudDatacatalogV1beta1Entry] nextPageToken: str @typing.type_check_only class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entryGroups: _list[GoogleCloudDatacatalogV1beta1EntryGroup] nextPageToken: str @typing.type_check_only class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str policyTags: _list[GoogleCloudDatacatalogV1beta1PolicyTag] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1ListTagsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1ListTagsResponse(typing.TypedDict, total=False): nextPageToken: str tags: _list[GoogleCloudDatacatalogV1beta1Tag] @typing.type_check_only class GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str taxonomies: _list[GoogleCloudDatacatalogV1beta1Taxonomy] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1PolicyTag(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1PolicyTag(typing.TypedDict, total=False): childPolicyTags: _list[str] description: str displayName: str @@ -826,24 +744,22 @@ class GoogleCloudDatacatalogV1beta1PolicyTag(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newEnumValueDisplayName: str @typing.type_check_only class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newTagTemplateFieldId: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1Schema(typing.TypedDict, total=False): columns: _list[GoogleCloudDatacatalogV1beta1ColumnSchema] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1SearchCatalogRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1SearchCatalogRequest(typing.TypedDict, total=False): orderBy: str pageSize: int pageToken: str @@ -852,7 +768,7 @@ class GoogleCloudDatacatalogV1beta1SearchCatalogRequest( @typing.type_check_only class GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeGcpPublicDatasets: bool includeOrgIds: _list[str] @@ -860,62 +776,50 @@ class GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope( restrictedLocations: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1SearchCatalogResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1SearchCatalogResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[GoogleCloudDatacatalogV1beta1SearchCatalogResult] totalSize: int unreachable: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1SearchCatalogResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1SearchCatalogResult(typing.TypedDict, total=False): linkedResource: str modifyTime: str relativeResourceName: str searchResultSubtype: str - searchResultType: typing_extensions.Literal[ + searchResultType: typing.Literal[ "SEARCH_RESULT_TYPE_UNSPECIFIED", "ENTRY", "TAG_TEMPLATE", "ENTRY_GROUP" ] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1SerializedPolicyTag( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1SerializedPolicyTag(typing.TypedDict, total=False): childPolicyTags: _list[GoogleCloudDatacatalogV1beta1SerializedPolicyTag] description: str displayName: str policyTag: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1SerializedTaxonomy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1SerializedTaxonomy(typing.TypedDict, total=False): activatedPolicyTypes: _list[ - typing_extensions.Literal[ - "POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL" - ] + typing.Literal["POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL"] ] description: str displayName: str policyTags: _list[GoogleCloudDatacatalogV1beta1SerializedPolicyTag] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1SystemTimestamps( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1SystemTimestamps(typing.TypedDict, total=False): createTime: str expireTime: str updateTime: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1TableSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1TableSpec(typing.TypedDict, total=False): groupedEntry: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1Tag(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1Tag(typing.TypedDict, total=False): column: str fields: dict[str, typing.Any] name: str @@ -923,7 +827,7 @@ class GoogleCloudDatacatalogV1beta1Tag(typing_extensions.TypedDict, total=False) templateDisplayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1TagField(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1TagField(typing.TypedDict, total=False): boolValue: bool displayName: str doubleValue: float @@ -933,16 +837,12 @@ class GoogleCloudDatacatalogV1beta1TagField(typing_extensions.TypedDict, total=F timestampValue: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1TagFieldEnumValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1TagFieldEnumValue(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1TagTemplate( - typing_extensions.TypedDict, total=False -): - dataplexTransferStatus: typing_extensions.Literal[ +class GoogleCloudDatacatalogV1beta1TagTemplate(typing.TypedDict, total=False): + dataplexTransferStatus: typing.Literal[ "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED", "MIGRATED" ] displayName: str @@ -950,9 +850,7 @@ class GoogleCloudDatacatalogV1beta1TagTemplate( name: str @typing.type_check_only -class GoogleCloudDatacatalogV1beta1TagTemplateField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1TagTemplateField(typing.TypedDict, total=False): description: str displayName: str isRequired: bool @@ -961,11 +859,9 @@ class GoogleCloudDatacatalogV1beta1TagTemplateField( type: GoogleCloudDatacatalogV1beta1FieldType @typing.type_check_only -class GoogleCloudDatacatalogV1beta1Taxonomy(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1Taxonomy(typing.TypedDict, total=False): activatedPolicyTypes: _list[ - typing_extensions.Literal[ - "POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL" - ] + typing.Literal["POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL"] ] description: str displayName: str @@ -975,54 +871,50 @@ class GoogleCloudDatacatalogV1beta1Taxonomy(typing_extensions.TypedDict, total=F taxonomyTimestamps: GoogleCloudDatacatalogV1beta1SystemTimestamps @typing.type_check_only -class GoogleCloudDatacatalogV1beta1TaxonomyService( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1TaxonomyService(typing.TypedDict, total=False): identity: str - name: typing_extensions.Literal[ + name: typing.Literal[ "MANAGING_SYSTEM_UNSPECIFIED", "MANAGING_SYSTEM_DATAPLEX", "MANAGING_SYSTEM_OTHER", ] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1UsageSignal( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogV1beta1UsageSignal(typing.TypedDict, total=False): updateTime: str usageWithinTimeRange: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDatacatalogV1beta1UsageStats(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1UsageStats(typing.TypedDict, total=False): totalCancellations: float totalCompletions: float totalExecutionTimeForCompletionsMillis: float totalFailures: float @typing.type_check_only -class GoogleCloudDatacatalogV1beta1ViewSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogV1beta1ViewSpec(typing.TypedDict, total=False): viewQuery: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi index 5e69232ba..97efb7e98 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -45,7 +44,7 @@ class DataflowResource(googleapiclient.discovery.Resource): jobId: str, endTime: str | None = ..., location: str | None = ..., - minimumImportance: typing_extensions.Literal[ + minimumImportance: typing.Literal[ "JOB_MESSAGE_IMPORTANCE_UNKNOWN", "JOB_MESSAGE_DEBUG", "JOB_MESSAGE_DETAILED", @@ -88,15 +87,13 @@ class DataflowResource(googleapiclient.discovery.Resource): self, *, projectId: str, - filter: typing_extensions.Literal[ - "UNKNOWN", "ALL", "TERMINATED", "ACTIVE" - ] + filter: typing.Literal["UNKNOWN", "ALL", "TERMINATED", "ACTIVE"] | None = ..., location: str | None = ..., name: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", @@ -117,7 +114,7 @@ class DataflowResource(googleapiclient.discovery.Resource): body: Job, location: str | None = ..., replaceJobId: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", @@ -132,7 +129,7 @@ class DataflowResource(googleapiclient.discovery.Resource): projectId: str, jobId: str, location: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", @@ -154,15 +151,13 @@ class DataflowResource(googleapiclient.discovery.Resource): self, *, projectId: str, - filter: typing_extensions.Literal[ - "UNKNOWN", "ALL", "TERMINATED", "ACTIVE" - ] + filter: typing.Literal["UNKNOWN", "ALL", "TERMINATED", "ACTIVE"] | None = ..., location: str | None = ..., name: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", @@ -252,7 +247,7 @@ class DataflowResource(googleapiclient.discovery.Resource): location: str, jobId: str, endTime: str | None = ..., - minimumImportance: typing_extensions.Literal[ + minimumImportance: typing.Literal[ "JOB_MESSAGE_IMPORTANCE_UNKNOWN", "JOB_MESSAGE_DEBUG", "JOB_MESSAGE_DETAILED", @@ -332,7 +327,7 @@ class DataflowResource(googleapiclient.discovery.Resource): location: str, body: Job, replaceJobId: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", @@ -347,7 +342,7 @@ class DataflowResource(googleapiclient.discovery.Resource): projectId: str, location: str, jobId: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", @@ -385,14 +380,12 @@ class DataflowResource(googleapiclient.discovery.Resource): *, projectId: str, location: str, - filter: typing_extensions.Literal[ - "UNKNOWN", "ALL", "TERMINATED", "ACTIVE" - ] + filter: typing.Literal["UNKNOWN", "ALL", "TERMINATED", "ACTIVE"] | None = ..., name: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", @@ -474,7 +467,7 @@ class DataflowResource(googleapiclient.discovery.Resource): projectId: str, location: str, gcsPath: str | None = ..., - view: typing_extensions.Literal["METADATA_ONLY"] | None = ..., + view: typing.Literal["METADATA_ONLY"] | None = ..., **kwargs: typing.Any, ) -> GetTemplateResponseHttpRequest: ... def launch( @@ -537,7 +530,7 @@ class DataflowResource(googleapiclient.discovery.Resource): projectId: str, gcsPath: str | None = ..., location: str | None = ..., - view: typing_extensions.Literal["METADATA_ONLY"] | None = ..., + view: typing.Literal["METADATA_ONLY"] | None = ..., **kwargs: typing.Any, ) -> GetTemplateResponseHttpRequest: ... def launch( diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index 218a22aef..615a56149 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi @@ -1,33 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApproximateProgress(typing_extensions.TypedDict, total=False): +class ApproximateProgress(typing.TypedDict, total=False): percentComplete: float position: Position remainingTime: str @typing.type_check_only -class ApproximateReportedProgress(typing_extensions.TypedDict, total=False): +class ApproximateReportedProgress(typing.TypedDict, total=False): consumedParallelism: ReportedParallelism fractionConsumed: float position: Position remainingParallelism: ReportedParallelism @typing.type_check_only -class ApproximateSplitRequest(typing_extensions.TypedDict, total=False): +class ApproximateSplitRequest(typing.TypedDict, total=False): fractionConsumed: float fractionOfRemainder: float position: Position @typing.type_check_only -class AutoscalingEvent(typing_extensions.TypedDict, total=False): +class AutoscalingEvent(typing.TypedDict, total=False): currentNumWorkers: str description: StructuredMessage - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "TYPE_UNKNOWN", "TARGET_NUM_WORKERS_CHANGED", "CURRENT_NUM_WORKERS_CHANGED", @@ -39,8 +37,18 @@ class AutoscalingEvent(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class AutoscalingSettings(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class AutoscalingSchedule(typing.TypedDict, total=False): + crontab: str + duration: str + name: str + parameters: Parameters + priority: str + timeZone: str + updateTime: str + +@typing.type_check_only +class AutoscalingSettings(typing.TypedDict, total=False): + algorithm: typing.Literal[ "AUTOSCALING_ALGORITHM_UNKNOWN", "AUTOSCALING_ALGORITHM_NONE", "AUTOSCALING_ALGORITHM_BASIC", @@ -48,59 +56,59 @@ class AutoscalingSettings(typing_extensions.TypedDict, total=False): maxNumWorkers: int @typing.type_check_only -class Base2Exponent(typing_extensions.TypedDict, total=False): +class Base2Exponent(typing.TypedDict, total=False): numberOfBuckets: int scale: int @typing.type_check_only -class BigQueryIODetails(typing_extensions.TypedDict, total=False): +class BigQueryIODetails(typing.TypedDict, total=False): dataset: str projectId: str query: str table: str @typing.type_check_only -class BigTableIODetails(typing_extensions.TypedDict, total=False): +class BigTableIODetails(typing.TypedDict, total=False): instanceId: str projectId: str tableId: str @typing.type_check_only -class BoundedTrie(typing_extensions.TypedDict, total=False): +class BoundedTrie(typing.TypedDict, total=False): bound: int root: BoundedTrieNode singleton: _list[str] @typing.type_check_only -class BoundedTrieNode(typing_extensions.TypedDict, total=False): +class BoundedTrieNode(typing.TypedDict, total=False): children: dict[str, typing.Any] truncated: bool @typing.type_check_only -class BucketOptions(typing_extensions.TypedDict, total=False): +class BucketOptions(typing.TypedDict, total=False): exponential: Base2Exponent linear: Linear @typing.type_check_only -class CPUTime(typing_extensions.TypedDict, total=False): +class CPUTime(typing.TypedDict, total=False): rate: float timestamp: str totalMs: str @typing.type_check_only -class ComponentSource(typing_extensions.TypedDict, total=False): +class ComponentSource(typing.TypedDict, total=False): name: str originalTransformOrCollection: str userName: str @typing.type_check_only -class ComponentTransform(typing_extensions.TypedDict, total=False): +class ComponentTransform(typing.TypedDict, total=False): name: str originalTransform: str userName: str @typing.type_check_only -class ComputationTopology(typing_extensions.TypedDict, total=False): +class ComputationTopology(typing.TypedDict, total=False): computationId: str inputs: _list[StreamLocation] keyRanges: _list[KeyRangeLocation] @@ -109,12 +117,12 @@ class ComputationTopology(typing_extensions.TypedDict, total=False): systemStageName: str @typing.type_check_only -class ConcatPosition(typing_extensions.TypedDict, total=False): +class ConcatPosition(typing.TypedDict, total=False): index: int position: Position @typing.type_check_only -class ContainerSpec(typing_extensions.TypedDict, total=False): +class ContainerSpec(typing.TypedDict, total=False): defaultEnvironment: FlexTemplateRuntimeEnvironment image: str imageRepositoryCertPath: str @@ -124,9 +132,9 @@ class ContainerSpec(typing_extensions.TypedDict, total=False): sdkInfo: SDKInfo @typing.type_check_only -class CounterMetadata(typing_extensions.TypedDict, total=False): +class CounterMetadata(typing.TypedDict, total=False): description: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "INVALID", "SUM", "MAX", @@ -139,7 +147,7 @@ class CounterMetadata(typing_extensions.TypedDict, total=False): "LATEST_VALUE", ] otherUnits: str - standardUnits: typing_extensions.Literal[ + standardUnits: typing.Literal[ "BYTES", "BYTES_PER_SEC", "MILLISECONDS", @@ -151,25 +159,25 @@ class CounterMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CounterStructuredName(typing_extensions.TypedDict, total=False): +class CounterStructuredName(typing.TypedDict, total=False): componentStepName: str executionStepName: str inputIndex: int name: str - origin: typing_extensions.Literal["SYSTEM", "USER"] + origin: typing.Literal["SYSTEM", "USER"] originNamespace: str originalRequestingStepName: str originalStepName: str - portion: typing_extensions.Literal["ALL", "KEY", "VALUE"] + portion: typing.Literal["ALL", "KEY", "VALUE"] workerId: str @typing.type_check_only -class CounterStructuredNameAndMetadata(typing_extensions.TypedDict, total=False): +class CounterStructuredNameAndMetadata(typing.TypedDict, total=False): metadata: CounterMetadata name: CounterStructuredName @typing.type_check_only -class CounterUpdate(typing_extensions.TypedDict, total=False): +class CounterUpdate(typing.TypedDict, total=False): boolean: bool boundedTrie: BoundedTrie cumulative: bool @@ -188,7 +196,7 @@ class CounterUpdate(typing_extensions.TypedDict, total=False): structuredNameAndMetadata: CounterStructuredNameAndMetadata @typing.type_check_only -class CreateJobFromTemplateRequest(typing_extensions.TypedDict, total=False): +class CreateJobFromTemplateRequest(typing.TypedDict, total=False): environment: RuntimeEnvironment gcsPath: str jobName: str @@ -196,24 +204,24 @@ class CreateJobFromTemplateRequest(typing_extensions.TypedDict, total=False): parameters: dict[str, typing.Any] @typing.type_check_only -class CustomSourceLocation(typing_extensions.TypedDict, total=False): +class CustomSourceLocation(typing.TypedDict, total=False): stateful: bool @typing.type_check_only -class DataDiskAssignment(typing_extensions.TypedDict, total=False): +class DataDiskAssignment(typing.TypedDict, total=False): dataDisks: _list[str] vmInstance: str @typing.type_check_only -class DataSamplingConfig(typing_extensions.TypedDict, total=False): +class DataSamplingConfig(typing.TypedDict, total=False): behaviors: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATA_SAMPLING_BEHAVIOR_UNSPECIFIED", "DISABLED", "ALWAYS_ON", "EXCEPTIONS" ] ] @typing.type_check_only -class DataSamplingReport(typing_extensions.TypedDict, total=False): +class DataSamplingReport(typing.TypedDict, total=False): bytesWrittenDelta: str elementsSampledBytes: str elementsSampledCount: str @@ -223,33 +231,33 @@ class DataSamplingReport(typing_extensions.TypedDict, total=False): translationErrorsCount: str @typing.type_check_only -class DataflowGaugeValue(typing_extensions.TypedDict, total=False): +class DataflowGaugeValue(typing.TypedDict, total=False): measuredTime: str value: str @typing.type_check_only -class DataflowHistogramValue(typing_extensions.TypedDict, total=False): +class DataflowHistogramValue(typing.TypedDict, total=False): bucketCounts: _list[str] bucketOptions: BucketOptions count: str outlierStats: OutlierStats @typing.type_check_only -class DatastoreIODetails(typing_extensions.TypedDict, total=False): +class DatastoreIODetails(typing.TypedDict, total=False): namespace: str projectId: str @typing.type_check_only -class DebugOptions(typing_extensions.TypedDict, total=False): +class DebugOptions(typing.TypedDict, total=False): dataSampling: DataSamplingConfig enableHotKeyLogging: bool @typing.type_check_only -class DeleteSnapshotResponse(typing_extensions.TypedDict, total=False): ... +class DeleteSnapshotResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class DerivedSource(typing_extensions.TypedDict, total=False): - derivationMode: typing_extensions.Literal[ +class DerivedSource(typing.TypedDict, total=False): + derivationMode: typing.Literal[ "SOURCE_DERIVATION_MODE_UNKNOWN", "SOURCE_DERIVATION_MODE_INDEPENDENT", "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", @@ -258,13 +266,13 @@ class DerivedSource(typing_extensions.TypedDict, total=False): source: Source @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): diskType: str mountPoint: str sizeGb: int @typing.type_check_only -class DisplayData(typing_extensions.TypedDict, total=False): +class DisplayData(typing.TypedDict, total=False): boolValue: bool durationValue: str floatValue: float @@ -279,7 +287,7 @@ class DisplayData(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class DistributionUpdate(typing_extensions.TypedDict, total=False): +class DistributionUpdate(typing.TypedDict, total=False): count: SplitInt64 histogram: Histogram max: SplitInt64 @@ -288,17 +296,17 @@ class DistributionUpdate(typing_extensions.TypedDict, total=False): sumOfSquares: float @typing.type_check_only -class DynamicSourceSplit(typing_extensions.TypedDict, total=False): +class DynamicSourceSplit(typing.TypedDict, total=False): primary: DerivedSource residual: DerivedSource @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): clusterManagerApiService: str dataset: str debugOptions: DebugOptions experiments: _list[str] - flexResourceSchedulingGoal: typing_extensions.Literal[ + flexResourceSchedulingGoal: typing.Literal[ "FLEXRS_UNSPECIFIED", "FLEXRS_SPEED_OPTIMIZED", "FLEXRS_COST_OPTIMIZED" ] internalExperiments: dict[str, typing.Any] @@ -306,10 +314,8 @@ class Environment(typing_extensions.TypedDict, total=False): serviceAccountEmail: str serviceKmsKeyName: str serviceOptions: _list[str] - shuffleMode: typing_extensions.Literal[ - "SHUFFLE_MODE_UNSPECIFIED", "VM_BASED", "SERVICE_BASED" - ] - streamingMode: typing_extensions.Literal[ + shuffleMode: typing.Literal["SHUFFLE_MODE_UNSPECIFIED", "VM_BASED", "SERVICE_BASED"] + streamingMode: typing.Literal[ "STREAMING_MODE_UNSPECIFIED", "STREAMING_MODE_EXACTLY_ONCE", "STREAMING_MODE_AT_LEAST_ONCE", @@ -324,10 +330,10 @@ class Environment(typing_extensions.TypedDict, total=False): workerZone: str @typing.type_check_only -class ExecutionStageState(typing_extensions.TypedDict, total=False): +class ExecutionStageState(typing.TypedDict, total=False): currentStateTime: str executionStageName: str - executionStageState: typing_extensions.Literal[ + executionStageState: typing.Literal[ "JOB_STATE_UNKNOWN", "JOB_STATE_STOPPED", "JOB_STATE_RUNNING", @@ -346,12 +352,12 @@ class ExecutionStageState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExecutionStageSummary(typing_extensions.TypedDict, total=False): +class ExecutionStageSummary(typing.TypedDict, total=False): componentSource: _list[ComponentSource] componentTransform: _list[ComponentTransform] id: str inputSource: _list[StageSource] - kind: typing_extensions.Literal[ + kind: typing.Literal[ "UNKNOWN_KIND", "PAR_DO_KIND", "GROUP_BY_KEY_KIND", @@ -367,23 +373,23 @@ class ExecutionStageSummary(typing_extensions.TypedDict, total=False): prerequisiteStage: _list[str] @typing.type_check_only -class FailedLocation(typing_extensions.TypedDict, total=False): +class FailedLocation(typing.TypedDict, total=False): name: str @typing.type_check_only -class FileIODetails(typing_extensions.TypedDict, total=False): +class FileIODetails(typing.TypedDict, total=False): filePattern: str @typing.type_check_only -class FlattenInstruction(typing_extensions.TypedDict, total=False): +class FlattenInstruction(typing.TypedDict, total=False): inputs: _list[InstructionInput] @typing.type_check_only -class FlexTemplateRuntimeEnvironment(typing_extensions.TypedDict, total=False): +class FlexTemplateRuntimeEnvironment(typing.TypedDict, total=False): additionalExperiments: _list[str] additionalPipelineOptions: _list[str] additionalUserLabels: dict[str, typing.Any] - autoscalingAlgorithm: typing_extensions.Literal[ + autoscalingAlgorithm: typing.Literal[ "AUTOSCALING_ALGORITHM_UNKNOWN", "AUTOSCALING_ALGORITHM_NONE", "AUTOSCALING_ALGORITHM_BASIC", @@ -392,10 +398,10 @@ class FlexTemplateRuntimeEnvironment(typing_extensions.TypedDict, total=False): dumpHeapOnOom: bool enableLauncherVmSerialPortLogging: bool enableStreamingEngine: bool - flexrsGoal: typing_extensions.Literal[ + flexrsGoal: typing.Literal[ "FLEXRS_UNSPECIFIED", "FLEXRS_SPEED_OPTIMIZED", "FLEXRS_COST_OPTIMIZED" ] - ipConfiguration: typing_extensions.Literal[ + ipConfiguration: typing.Literal[ "WORKER_IP_UNSPECIFIED", "WORKER_IP_PUBLIC", "WORKER_IP_PRIVATE" ] kmsKeyName: str @@ -408,7 +414,7 @@ class FlexTemplateRuntimeEnvironment(typing_extensions.TypedDict, total=False): sdkContainerImage: str serviceAccountEmail: str stagingLocation: str - streamingMode: typing_extensions.Literal[ + streamingMode: typing.Literal[ "STREAMING_MODE_UNSPECIFIED", "STREAMING_MODE_EXACTLY_ONCE", "STREAMING_MODE_AT_LEAST_ONCE", @@ -420,77 +426,77 @@ class FlexTemplateRuntimeEnvironment(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class FloatingPointList(typing_extensions.TypedDict, total=False): +class FloatingPointList(typing.TypedDict, total=False): elements: _list[float] @typing.type_check_only -class FloatingPointMean(typing_extensions.TypedDict, total=False): +class FloatingPointMean(typing.TypedDict, total=False): count: SplitInt64 sum: float @typing.type_check_only -class GPUUsage(typing_extensions.TypedDict, total=False): +class GPUUsage(typing.TypedDict, total=False): timestamp: str utilization: GPUUtilization @typing.type_check_only -class GPUUtilization(typing_extensions.TypedDict, total=False): +class GPUUtilization(typing.TypedDict, total=False): rate: float @typing.type_check_only -class GetDebugConfigRequest(typing_extensions.TypedDict, total=False): +class GetDebugConfigRequest(typing.TypedDict, total=False): componentId: str location: str workerId: str @typing.type_check_only -class GetDebugConfigResponse(typing_extensions.TypedDict, total=False): +class GetDebugConfigResponse(typing.TypedDict, total=False): config: str @typing.type_check_only -class GetTemplateResponse(typing_extensions.TypedDict, total=False): +class GetTemplateResponse(typing.TypedDict, total=False): metadata: TemplateMetadata runtimeMetadata: RuntimeMetadata status: Status - templateType: typing_extensions.Literal["UNKNOWN", "LEGACY", "FLEX"] + templateType: typing.Literal["UNKNOWN", "LEGACY", "FLEX"] @typing.type_check_only -class GetWorkerStacktracesRequest(typing_extensions.TypedDict, total=False): +class GetWorkerStacktracesRequest(typing.TypedDict, total=False): endTime: str workerId: str @typing.type_check_only -class GetWorkerStacktracesResponse(typing_extensions.TypedDict, total=False): +class GetWorkerStacktracesResponse(typing.TypedDict, total=False): sdks: _list[Sdk] @typing.type_check_only -class Histogram(typing_extensions.TypedDict, total=False): +class Histogram(typing.TypedDict, total=False): bucketCounts: _list[str] firstBucketOffset: int @typing.type_check_only -class HotKeyDebuggingInfo(typing_extensions.TypedDict, total=False): +class HotKeyDebuggingInfo(typing.TypedDict, total=False): detectedHotKeys: dict[str, typing.Any] @typing.type_check_only -class HotKeyDetection(typing_extensions.TypedDict, total=False): +class HotKeyDetection(typing.TypedDict, total=False): hotKeyAge: str systemName: str userStepName: str @typing.type_check_only -class HotKeyInfo(typing_extensions.TypedDict, total=False): +class HotKeyInfo(typing.TypedDict, total=False): hotKeyAge: str key: str keyTruncated: bool @typing.type_check_only -class InstructionInput(typing_extensions.TypedDict, total=False): +class InstructionInput(typing.TypedDict, total=False): outputNum: int producerInstructionIndex: int @typing.type_check_only -class InstructionOutput(typing_extensions.TypedDict, total=False): +class InstructionOutput(typing.TypedDict, total=False): codec: dict[str, typing.Any] name: str onlyCountKeyBytes: bool @@ -499,25 +505,25 @@ class InstructionOutput(typing_extensions.TypedDict, total=False): systemName: str @typing.type_check_only -class IntegerGauge(typing_extensions.TypedDict, total=False): +class IntegerGauge(typing.TypedDict, total=False): timestamp: str value: SplitInt64 @typing.type_check_only -class IntegerList(typing_extensions.TypedDict, total=False): +class IntegerList(typing.TypedDict, total=False): elements: _list[SplitInt64] @typing.type_check_only -class IntegerMean(typing_extensions.TypedDict, total=False): +class IntegerMean(typing.TypedDict, total=False): count: SplitInt64 sum: SplitInt64 @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): clientRequestId: str createTime: str createdFromSnapshotId: str - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "JOB_STATE_UNKNOWN", "JOB_STATE_STOPPED", "JOB_STATE_RUNNING", @@ -547,7 +553,7 @@ class Job(typing_extensions.TypedDict, total=False): projectId: str replaceJobId: str replacedByJobId: str - requestedState: typing_extensions.Literal[ + requestedState: typing.Literal[ "JOB_STATE_UNKNOWN", "JOB_STATE_STOPPED", "JOB_STATE_RUNNING", @@ -574,27 +580,25 @@ class Job(typing_extensions.TypedDict, total=False): stepsLocation: str tempFiles: _list[str] transformNameMapping: dict[str, typing.Any] - type: typing_extensions.Literal[ - "JOB_TYPE_UNKNOWN", "JOB_TYPE_BATCH", "JOB_TYPE_STREAMING" - ] + type: typing.Literal["JOB_TYPE_UNKNOWN", "JOB_TYPE_BATCH", "JOB_TYPE_STREAMING"] @typing.type_check_only -class JobExecutionDetails(typing_extensions.TypedDict, total=False): +class JobExecutionDetails(typing.TypedDict, total=False): nextPageToken: str stages: _list[StageSummary] @typing.type_check_only -class JobExecutionInfo(typing_extensions.TypedDict, total=False): +class JobExecutionInfo(typing.TypedDict, total=False): stages: dict[str, typing.Any] @typing.type_check_only -class JobExecutionStageInfo(typing_extensions.TypedDict, total=False): +class JobExecutionStageInfo(typing.TypedDict, total=False): stepName: _list[str] @typing.type_check_only -class JobMessage(typing_extensions.TypedDict, total=False): +class JobMessage(typing.TypedDict, total=False): id: str - messageImportance: typing_extensions.Literal[ + messageImportance: typing.Literal[ "JOB_MESSAGE_IMPORTANCE_UNKNOWN", "JOB_MESSAGE_DEBUG", "JOB_MESSAGE_DETAILED", @@ -606,7 +610,7 @@ class JobMessage(typing_extensions.TypedDict, total=False): time: str @typing.type_check_only -class JobMetadata(typing_extensions.TypedDict, total=False): +class JobMetadata(typing.TypedDict, total=False): bigTableDetails: _list[BigTableIODetails] bigqueryDetails: _list[BigQueryIODetails] datastoreDetails: _list[DatastoreIODetails] @@ -617,18 +621,18 @@ class JobMetadata(typing_extensions.TypedDict, total=False): userDisplayProperties: dict[str, typing.Any] @typing.type_check_only -class JobMetrics(typing_extensions.TypedDict, total=False): +class JobMetrics(typing.TypedDict, total=False): metricTime: str metrics: _list[MetricUpdate] @typing.type_check_only -class KeyRangeDataDiskAssignment(typing_extensions.TypedDict, total=False): +class KeyRangeDataDiskAssignment(typing.TypedDict, total=False): dataDisk: str end: str start: str @typing.type_check_only -class KeyRangeLocation(typing_extensions.TypedDict, total=False): +class KeyRangeLocation(typing.TypedDict, total=False): dataDisk: str deliveryEndpoint: str deprecatedPersistentDirectory: str @@ -636,7 +640,7 @@ class KeyRangeLocation(typing_extensions.TypedDict, total=False): start: str @typing.type_check_only -class LaunchFlexTemplateParameter(typing_extensions.TypedDict, total=False): +class LaunchFlexTemplateParameter(typing.TypedDict, total=False): containerSpec: ContainerSpec containerSpecGcsPath: str environment: FlexTemplateRuntimeEnvironment @@ -647,16 +651,16 @@ class LaunchFlexTemplateParameter(typing_extensions.TypedDict, total=False): update: bool @typing.type_check_only -class LaunchFlexTemplateRequest(typing_extensions.TypedDict, total=False): +class LaunchFlexTemplateRequest(typing.TypedDict, total=False): launchParameter: LaunchFlexTemplateParameter validateOnly: bool @typing.type_check_only -class LaunchFlexTemplateResponse(typing_extensions.TypedDict, total=False): +class LaunchFlexTemplateResponse(typing.TypedDict, total=False): job: Job @typing.type_check_only -class LaunchTemplateParameters(typing_extensions.TypedDict, total=False): +class LaunchTemplateParameters(typing.TypedDict, total=False): environment: RuntimeEnvironment jobName: str parameters: dict[str, typing.Any] @@ -664,11 +668,11 @@ class LaunchTemplateParameters(typing_extensions.TypedDict, total=False): update: bool @typing.type_check_only -class LaunchTemplateResponse(typing_extensions.TypedDict, total=False): +class LaunchTemplateResponse(typing.TypedDict, total=False): job: Job @typing.type_check_only -class LeaseWorkItemRequest(typing_extensions.TypedDict, total=False): +class LeaseWorkItemRequest(typing.TypedDict, total=False): currentWorkerTime: str location: str projectNumber: str @@ -679,41 +683,41 @@ class LeaseWorkItemRequest(typing_extensions.TypedDict, total=False): workerId: str @typing.type_check_only -class LeaseWorkItemResponse(typing_extensions.TypedDict, total=False): +class LeaseWorkItemResponse(typing.TypedDict, total=False): unifiedWorkerResponse: dict[str, typing.Any] workItems: _list[WorkItem] @typing.type_check_only -class Linear(typing_extensions.TypedDict, total=False): +class Linear(typing.TypedDict, total=False): numberOfBuckets: int start: float width: float @typing.type_check_only -class ListJobMessagesResponse(typing_extensions.TypedDict, total=False): +class ListJobMessagesResponse(typing.TypedDict, total=False): autoscalingEvents: _list[AutoscalingEvent] jobMessages: _list[JobMessage] nextPageToken: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): failedLocation: _list[FailedLocation] jobs: _list[Job] nextPageToken: str @typing.type_check_only -class ListSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListSnapshotsResponse(typing.TypedDict, total=False): snapshots: _list[Snapshot] @typing.type_check_only -class MapTask(typing_extensions.TypedDict, total=False): +class MapTask(typing.TypedDict, total=False): counterPrefix: str instructions: _list[ParallelInstruction] stageName: str systemName: str @typing.type_check_only -class MemInfo(typing_extensions.TypedDict, total=False): +class MemInfo(typing.TypedDict, total=False): currentLimitBytes: str currentOoms: str currentRssBytes: str @@ -721,18 +725,18 @@ class MemInfo(typing_extensions.TypedDict, total=False): totalGbMs: str @typing.type_check_only -class MetricShortId(typing_extensions.TypedDict, total=False): +class MetricShortId(typing.TypedDict, total=False): metricIndex: int shortId: str @typing.type_check_only -class MetricStructuredName(typing_extensions.TypedDict, total=False): +class MetricStructuredName(typing.TypedDict, total=False): context: dict[str, typing.Any] name: str origin: str @typing.type_check_only -class MetricUpdate(typing_extensions.TypedDict, total=False): +class MetricUpdate(typing.TypedDict, total=False): boundedTrie: typing.Any cumulative: bool distribution: typing.Any @@ -748,7 +752,7 @@ class MetricUpdate(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MetricValue(typing_extensions.TypedDict, total=False): +class MetricValue(typing.TypedDict, total=False): metric: str metricLabels: dict[str, typing.Any] valueGauge64: DataflowGaugeValue @@ -756,16 +760,16 @@ class MetricValue(typing_extensions.TypedDict, total=False): valueInt64: str @typing.type_check_only -class MountedDataDisk(typing_extensions.TypedDict, total=False): +class MountedDataDisk(typing.TypedDict, total=False): dataDisk: str @typing.type_check_only -class MultiOutputInfo(typing_extensions.TypedDict, total=False): +class MultiOutputInfo(typing.TypedDict, total=False): tag: str @typing.type_check_only -class NameAndKind(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ +class NameAndKind(typing.TypedDict, total=False): + kind: typing.Literal[ "INVALID", "SUM", "MAX", @@ -780,20 +784,20 @@ class NameAndKind(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OutlierStats(typing_extensions.TypedDict, total=False): +class OutlierStats(typing.TypedDict, total=False): overflowCount: str overflowMean: float underflowCount: str underflowMean: float @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): +class Package(typing.TypedDict, total=False): location: str name: str sha256: str @typing.type_check_only -class ParDoInstruction(typing_extensions.TypedDict, total=False): +class ParDoInstruction(typing.TypedDict, total=False): input: InstructionInput multiOutputInfos: _list[MultiOutputInfo] numOutputs: int @@ -801,7 +805,7 @@ class ParDoInstruction(typing_extensions.TypedDict, total=False): userFn: dict[str, typing.Any] @typing.type_check_only -class ParallelInstruction(typing_extensions.TypedDict, total=False): +class ParallelInstruction(typing.TypedDict, total=False): flatten: FlattenInstruction name: str originalName: str @@ -813,12 +817,12 @@ class ParallelInstruction(typing_extensions.TypedDict, total=False): write: WriteInstruction @typing.type_check_only -class Parameter(typing_extensions.TypedDict, total=False): +class Parameter(typing.TypedDict, total=False): key: str value: typing.Any @typing.type_check_only -class ParameterMetadata(typing_extensions.TypedDict, total=False): +class ParameterMetadata(typing.TypedDict, total=False): customMetadata: dict[str, typing.Any] defaultValue: str enumOptions: _list[ParameterMetadataEnumOption] @@ -828,7 +832,7 @@ class ParameterMetadata(typing_extensions.TypedDict, total=False): isOptional: bool label: str name: str - paramType: typing_extensions.Literal[ + paramType: typing.Literal[ "DEFAULT", "TEXT", "GCS_READ_BUCKET", @@ -858,13 +862,20 @@ class ParameterMetadata(typing_extensions.TypedDict, total=False): regexes: _list[str] @typing.type_check_only -class ParameterMetadataEnumOption(typing_extensions.TypedDict, total=False): +class ParameterMetadataEnumOption(typing.TypedDict, total=False): description: str label: str value: str @typing.type_check_only -class PartialGroupByKeyInstruction(typing_extensions.TypedDict, total=False): +class Parameters(typing.TypedDict, total=False): + cpuUtilizationTarget: float + latencyTarget: str + maxWorkerCount: int + minWorkerCount: int + +@typing.type_check_only +class PartialGroupByKeyInstruction(typing.TypedDict, total=False): input: InstructionInput inputElementCodec: dict[str, typing.Any] originalCombineValuesInputStoreName: str @@ -873,29 +884,29 @@ class PartialGroupByKeyInstruction(typing_extensions.TypedDict, total=False): valueCombiningFn: dict[str, typing.Any] @typing.type_check_only -class PerStepNamespaceMetrics(typing_extensions.TypedDict, total=False): +class PerStepNamespaceMetrics(typing.TypedDict, total=False): metricValues: _list[MetricValue] metricsNamespace: str originalStep: str @typing.type_check_only -class PerWorkerMetrics(typing_extensions.TypedDict, total=False): +class PerWorkerMetrics(typing.TypedDict, total=False): perStepNamespaceMetrics: _list[PerStepNamespaceMetrics] @typing.type_check_only -class PipelineDescription(typing_extensions.TypedDict, total=False): +class PipelineDescription(typing.TypedDict, total=False): displayData: _list[DisplayData] executionPipelineStage: _list[ExecutionStageSummary] originalPipelineTransform: _list[TransformSummary] stepNamesHash: str @typing.type_check_only -class Point(typing_extensions.TypedDict, total=False): +class Point(typing.TypedDict, total=False): time: str value: float @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): byteOffset: str concatPosition: ConcatPosition end: bool @@ -904,17 +915,17 @@ class Position(typing_extensions.TypedDict, total=False): shufflePosition: str @typing.type_check_only -class ProgressTimeseries(typing_extensions.TypedDict, total=False): +class ProgressTimeseries(typing.TypedDict, total=False): currentProgress: float dataPoints: _list[Point] @typing.type_check_only -class PubSubIODetails(typing_extensions.TypedDict, total=False): +class PubSubIODetails(typing.TypedDict, total=False): subscription: str topic: str @typing.type_check_only -class PubsubLocation(typing_extensions.TypedDict, total=False): +class PubsubLocation(typing.TypedDict, total=False): dropLateData: bool dynamicDestinations: bool idLabel: str @@ -925,17 +936,17 @@ class PubsubLocation(typing_extensions.TypedDict, total=False): withAttributes: bool @typing.type_check_only -class PubsubSnapshotMetadata(typing_extensions.TypedDict, total=False): +class PubsubSnapshotMetadata(typing.TypedDict, total=False): expireTime: str snapshotName: str topicName: str @typing.type_check_only -class ReadInstruction(typing_extensions.TypedDict, total=False): +class ReadInstruction(typing.TypedDict, total=False): source: Source @typing.type_check_only -class ReportWorkItemStatusRequest(typing_extensions.TypedDict, total=False): +class ReportWorkItemStatusRequest(typing.TypedDict, total=False): currentWorkerTime: str location: str projectNumber: str @@ -944,34 +955,34 @@ class ReportWorkItemStatusRequest(typing_extensions.TypedDict, total=False): workerId: str @typing.type_check_only -class ReportWorkItemStatusResponse(typing_extensions.TypedDict, total=False): +class ReportWorkItemStatusResponse(typing.TypedDict, total=False): unifiedWorkerResponse: dict[str, typing.Any] workItemServiceStates: _list[WorkItemServiceState] @typing.type_check_only -class ReportedParallelism(typing_extensions.TypedDict, total=False): +class ReportedParallelism(typing.TypedDict, total=False): isInfinite: bool value: float @typing.type_check_only -class ResourceUtilizationReport(typing_extensions.TypedDict, total=False): +class ResourceUtilizationReport(typing.TypedDict, total=False): containers: dict[str, typing.Any] cpuTime: _list[CPUTime] gpuUsage: _list[GPUUsage] memoryInfo: _list[MemInfo] @typing.type_check_only -class ResourceUtilizationReportResponse(typing_extensions.TypedDict, total=False): ... +class ResourceUtilizationReportResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RuntimeEnvironment(typing_extensions.TypedDict, total=False): +class RuntimeEnvironment(typing.TypedDict, total=False): additionalExperiments: _list[str] additionalPipelineOptions: _list[str] additionalUserLabels: dict[str, typing.Any] bypassTempDirValidation: bool diskSizeGb: int enableStreamingEngine: bool - ipConfiguration: typing_extensions.Literal[ + ipConfiguration: typing.Literal[ "WORKER_IP_UNSPECIFIED", "WORKER_IP_PUBLIC", "WORKER_IP_PRIVATE" ] kmsKeyName: str @@ -980,7 +991,7 @@ class RuntimeEnvironment(typing_extensions.TypedDict, total=False): network: str numWorkers: int serviceAccountEmail: str - streamingMode: typing_extensions.Literal[ + streamingMode: typing.Literal[ "STREAMING_MODE_UNSPECIFIED", "STREAMING_MODE_EXACTLY_ONCE", "STREAMING_MODE_AT_LEAST_ONCE", @@ -992,79 +1003,76 @@ class RuntimeEnvironment(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class RuntimeMetadata(typing_extensions.TypedDict, total=False): +class RuntimeMetadata(typing.TypedDict, total=False): parameters: _list[ParameterMetadata] sdkInfo: SDKInfo @typing.type_check_only -class RuntimeUpdatableParams(typing_extensions.TypedDict, total=False): +class RuntimeUpdatableParams(typing.TypedDict, total=False): acceptableBacklogDuration: str autoscalingTier: str latencyTier: str maxNumWorkers: int minNumWorkers: int + schedules: _list[AutoscalingSchedule] workerUtilizationHint: float @typing.type_check_only -class SDKInfo(typing_extensions.TypedDict, total=False): - language: typing_extensions.Literal["UNKNOWN", "JAVA", "PYTHON", "GO", "YAML"] +class SDKInfo(typing.TypedDict, total=False): + language: typing.Literal["UNKNOWN", "JAVA", "PYTHON", "GO", "YAML"] version: str @typing.type_check_only -class Sdk(typing_extensions.TypedDict, total=False): +class Sdk(typing.TypedDict, total=False): sdkId: str stacks: _list[Stack] @typing.type_check_only -class SdkBug(typing_extensions.TypedDict, total=False): - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "NOTICE", "WARNING", "SEVERE" - ] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "GENERAL", "PERFORMANCE", "DATALOSS" - ] +class SdkBug(typing.TypedDict, total=False): + severity: typing.Literal["SEVERITY_UNSPECIFIED", "NOTICE", "WARNING", "SEVERE"] + type: typing.Literal["TYPE_UNSPECIFIED", "GENERAL", "PERFORMANCE", "DATALOSS"] uri: str @typing.type_check_only -class SdkHarnessContainerImage(typing_extensions.TypedDict, total=False): +class SdkHarnessContainerImage(typing.TypedDict, total=False): capabilities: _list[str] containerImage: str environmentId: str useSingleCorePerContainer: bool @typing.type_check_only -class SdkVersion(typing_extensions.TypedDict, total=False): +class SdkVersion(typing.TypedDict, total=False): bugs: _list[SdkBug] - sdkSupportStatus: typing_extensions.Literal[ + sdkSupportStatus: typing.Literal[ "UNKNOWN", "SUPPORTED", "STALE", "DEPRECATED", "UNSUPPORTED" ] version: str versionDisplayName: str @typing.type_check_only -class SendDebugCaptureRequest(typing_extensions.TypedDict, total=False): +class SendDebugCaptureRequest(typing.TypedDict, total=False): componentId: str data: str - dataFormat: typing_extensions.Literal[ + dataFormat: typing.Literal[ "DATA_FORMAT_UNSPECIFIED", "RAW", "JSON", "ZLIB", "BROTLI" ] location: str workerId: str @typing.type_check_only -class SendDebugCaptureResponse(typing_extensions.TypedDict, total=False): ... +class SendDebugCaptureResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SendWorkerMessagesRequest(typing_extensions.TypedDict, total=False): +class SendWorkerMessagesRequest(typing.TypedDict, total=False): location: str workerMessages: _list[WorkerMessage] @typing.type_check_only -class SendWorkerMessagesResponse(typing_extensions.TypedDict, total=False): +class SendWorkerMessagesResponse(typing.TypedDict, total=False): workerMessageResponses: _list[WorkerMessageResponse] @typing.type_check_only -class SeqMapTask(typing_extensions.TypedDict, total=False): +class SeqMapTask(typing.TypedDict, total=False): inputs: _list[SideInputInfo] name: str outputInfos: _list[SeqMapTaskOutputInfo] @@ -1073,32 +1081,32 @@ class SeqMapTask(typing_extensions.TypedDict, total=False): userFn: dict[str, typing.Any] @typing.type_check_only -class SeqMapTaskOutputInfo(typing_extensions.TypedDict, total=False): +class SeqMapTaskOutputInfo(typing.TypedDict, total=False): sink: Sink tag: str @typing.type_check_only -class ServiceResources(typing_extensions.TypedDict, total=False): +class ServiceResources(typing.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class ShellTask(typing_extensions.TypedDict, total=False): +class ShellTask(typing.TypedDict, total=False): command: str exitCode: int @typing.type_check_only -class SideInputInfo(typing_extensions.TypedDict, total=False): +class SideInputInfo(typing.TypedDict, total=False): kind: dict[str, typing.Any] sources: _list[Source] tag: str @typing.type_check_only -class Sink(typing_extensions.TypedDict, total=False): +class Sink(typing.TypedDict, total=False): codec: dict[str, typing.Any] spec: dict[str, typing.Any] @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): creationTime: str description: str diskSizeBytes: str @@ -1107,20 +1115,20 @@ class Snapshot(typing_extensions.TypedDict, total=False): pubsubMetadata: _list[PubsubSnapshotMetadata] region: str sourceJobId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "UNKNOWN_SNAPSHOT_STATE", "PENDING", "RUNNING", "READY", "FAILED", "DELETED" ] ttl: str @typing.type_check_only -class SnapshotJobRequest(typing_extensions.TypedDict, total=False): +class SnapshotJobRequest(typing.TypedDict, total=False): description: str location: str snapshotSources: bool ttl: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): baseSpecs: _list[dict[str, typing.Any]] codec: dict[str, typing.Any] doesNotNeedSplitting: bool @@ -1128,28 +1136,28 @@ class Source(typing_extensions.TypedDict, total=False): spec: dict[str, typing.Any] @typing.type_check_only -class SourceFork(typing_extensions.TypedDict, total=False): +class SourceFork(typing.TypedDict, total=False): primary: SourceSplitShard primarySource: DerivedSource residual: SourceSplitShard residualSource: DerivedSource @typing.type_check_only -class SourceGetMetadataRequest(typing_extensions.TypedDict, total=False): +class SourceGetMetadataRequest(typing.TypedDict, total=False): source: Source @typing.type_check_only -class SourceGetMetadataResponse(typing_extensions.TypedDict, total=False): +class SourceGetMetadataResponse(typing.TypedDict, total=False): metadata: SourceMetadata @typing.type_check_only -class SourceMetadata(typing_extensions.TypedDict, total=False): +class SourceMetadata(typing.TypedDict, total=False): estimatedSizeBytes: str infinite: bool producesSortedKeys: bool @typing.type_check_only -class SourceOperationRequest(typing_extensions.TypedDict, total=False): +class SourceOperationRequest(typing.TypedDict, total=False): getMetadata: SourceGetMetadataRequest name: str originalName: str @@ -1158,24 +1166,24 @@ class SourceOperationRequest(typing_extensions.TypedDict, total=False): systemName: str @typing.type_check_only -class SourceOperationResponse(typing_extensions.TypedDict, total=False): +class SourceOperationResponse(typing.TypedDict, total=False): getMetadata: SourceGetMetadataResponse split: SourceSplitResponse @typing.type_check_only -class SourceSplitOptions(typing_extensions.TypedDict, total=False): +class SourceSplitOptions(typing.TypedDict, total=False): desiredBundleSizeBytes: str desiredShardSizeBytes: str @typing.type_check_only -class SourceSplitRequest(typing_extensions.TypedDict, total=False): +class SourceSplitRequest(typing.TypedDict, total=False): options: SourceSplitOptions source: Source @typing.type_check_only -class SourceSplitResponse(typing_extensions.TypedDict, total=False): +class SourceSplitResponse(typing.TypedDict, total=False): bundles: _list[DerivedSource] - outcome: typing_extensions.Literal[ + outcome: typing.Literal[ "SOURCE_SPLIT_OUTCOME_UNKNOWN", "SOURCE_SPLIT_OUTCOME_USE_CURRENT", "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED", @@ -1183,8 +1191,8 @@ class SourceSplitResponse(typing_extensions.TypedDict, total=False): shards: _list[SourceSplitShard] @typing.type_check_only -class SourceSplitShard(typing_extensions.TypedDict, total=False): - derivationMode: typing_extensions.Literal[ +class SourceSplitShard(typing.TypedDict, total=False): + derivationMode: typing.Literal[ "SOURCE_DERIVATION_MODE_UNKNOWN", "SOURCE_DERIVATION_MODE_INDEPENDENT", "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", @@ -1193,18 +1201,18 @@ class SourceSplitShard(typing_extensions.TypedDict, total=False): source: Source @typing.type_check_only -class SpannerIODetails(typing_extensions.TypedDict, total=False): +class SpannerIODetails(typing.TypedDict, total=False): databaseId: str instanceId: str projectId: str @typing.type_check_only -class SplitInt64(typing_extensions.TypedDict, total=False): +class SplitInt64(typing.TypedDict, total=False): highBits: int lowBits: int @typing.type_check_only -class Stack(typing_extensions.TypedDict, total=False): +class Stack(typing.TypedDict, total=False): stackContent: str threadCount: int threadName: str @@ -1212,25 +1220,25 @@ class Stack(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class StageExecutionDetails(typing_extensions.TypedDict, total=False): +class StageExecutionDetails(typing.TypedDict, total=False): nextPageToken: str workers: _list[WorkerDetails] @typing.type_check_only -class StageSource(typing_extensions.TypedDict, total=False): +class StageSource(typing.TypedDict, total=False): name: str originalTransformOrCollection: str sizeBytes: str userName: str @typing.type_check_only -class StageSummary(typing_extensions.TypedDict, total=False): +class StageSummary(typing.TypedDict, total=False): endTime: str metrics: _list[MetricUpdate] progress: ProgressTimeseries stageId: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "EXECUTION_STATE_UNKNOWN", "EXECUTION_STATE_NOT_STARTED", "EXECUTION_STATE_RUNNING", @@ -1241,56 +1249,56 @@ class StageSummary(typing_extensions.TypedDict, total=False): stragglerSummary: StragglerSummary @typing.type_check_only -class StateFamilyConfig(typing_extensions.TypedDict, total=False): +class StateFamilyConfig(typing.TypedDict, total=False): isRead: bool stateFamily: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): kind: str name: str properties: dict[str, typing.Any] @typing.type_check_only -class Straggler(typing_extensions.TypedDict, total=False): +class Straggler(typing.TypedDict, total=False): batchStraggler: StragglerInfo streamingStraggler: StreamingStragglerInfo @typing.type_check_only -class StragglerDebuggingInfo(typing_extensions.TypedDict, total=False): +class StragglerDebuggingInfo(typing.TypedDict, total=False): hotKey: HotKeyDebuggingInfo @typing.type_check_only -class StragglerInfo(typing_extensions.TypedDict, total=False): +class StragglerInfo(typing.TypedDict, total=False): causes: dict[str, typing.Any] startTime: str @typing.type_check_only -class StragglerSummary(typing_extensions.TypedDict, total=False): +class StragglerSummary(typing.TypedDict, total=False): recentStragglers: _list[Straggler] stragglerCauseCount: dict[str, typing.Any] totalStragglerCount: str @typing.type_check_only -class StreamLocation(typing_extensions.TypedDict, total=False): +class StreamLocation(typing.TypedDict, total=False): customSourceLocation: CustomSourceLocation pubsubLocation: PubsubLocation sideInputLocation: StreamingSideInputLocation streamingStageLocation: StreamingStageLocation @typing.type_check_only -class StreamingApplianceSnapshotConfig(typing_extensions.TypedDict, total=False): +class StreamingApplianceSnapshotConfig(typing.TypedDict, total=False): importStateEndpoint: str snapshotId: str @typing.type_check_only -class StreamingComputationConfig(typing_extensions.TypedDict, total=False): +class StreamingComputationConfig(typing.TypedDict, total=False): computationId: str instructions: _list[ParallelInstruction] stageName: str @@ -1298,22 +1306,22 @@ class StreamingComputationConfig(typing_extensions.TypedDict, total=False): transformUserNameToStateFamily: dict[str, typing.Any] @typing.type_check_only -class StreamingComputationRanges(typing_extensions.TypedDict, total=False): +class StreamingComputationRanges(typing.TypedDict, total=False): computationId: str rangeAssignments: _list[KeyRangeDataDiskAssignment] @typing.type_check_only -class StreamingComputationTask(typing_extensions.TypedDict, total=False): +class StreamingComputationTask(typing.TypedDict, total=False): computationRanges: _list[StreamingComputationRanges] dataDisks: _list[MountedDataDisk] - taskType: typing_extensions.Literal[ + taskType: typing.Literal[ "STREAMING_COMPUTATION_TASK_UNKNOWN", "STREAMING_COMPUTATION_TASK_STOP", "STREAMING_COMPUTATION_TASK_START", ] @typing.type_check_only -class StreamingConfigTask(typing_extensions.TypedDict, total=False): +class StreamingConfigTask(typing.TypedDict, total=False): commitStreamChunkSizeBytes: str getDataStreamChunkSizeBytes: str maxWorkItemCommitBytes: str @@ -1327,7 +1335,7 @@ class StreamingConfigTask(typing_extensions.TypedDict, total=False): windmillServicePort: str @typing.type_check_only -class StreamingOperationalLimits(typing_extensions.TypedDict, total=False): +class StreamingOperationalLimits(typing.TypedDict, total=False): maxBagElementBytes: str maxGlobalDataBytes: str maxKeyBytes: str @@ -1338,7 +1346,7 @@ class StreamingOperationalLimits(typing_extensions.TypedDict, total=False): maxValueBytes: str @typing.type_check_only -class StreamingScalingReport(typing_extensions.TypedDict, total=False): +class StreamingScalingReport(typing.TypedDict, total=False): activeBundleCount: int activeThreadCount: int maximumBundleCount: int @@ -1350,11 +1358,11 @@ class StreamingScalingReport(typing_extensions.TypedDict, total=False): outstandingBytesCount: int @typing.type_check_only -class StreamingScalingReportResponse(typing_extensions.TypedDict, total=False): +class StreamingScalingReportResponse(typing.TypedDict, total=False): maximumThreadCount: int @typing.type_check_only -class StreamingSetupTask(typing_extensions.TypedDict, total=False): +class StreamingSetupTask(typing.TypedDict, total=False): drain: bool receiveWorkPort: int snapshotConfig: StreamingApplianceSnapshotConfig @@ -1362,16 +1370,16 @@ class StreamingSetupTask(typing_extensions.TypedDict, total=False): workerHarnessPort: int @typing.type_check_only -class StreamingSideInputLocation(typing_extensions.TypedDict, total=False): +class StreamingSideInputLocation(typing.TypedDict, total=False): stateFamily: str tag: str @typing.type_check_only -class StreamingStageLocation(typing_extensions.TypedDict, total=False): +class StreamingStageLocation(typing.TypedDict, total=False): streamId: str @typing.type_check_only -class StreamingStragglerInfo(typing_extensions.TypedDict, total=False): +class StreamingStragglerInfo(typing.TypedDict, total=False): dataWatermarkLag: str endTime: str startTime: str @@ -1379,17 +1387,17 @@ class StreamingStragglerInfo(typing_extensions.TypedDict, total=False): workerName: str @typing.type_check_only -class StringList(typing_extensions.TypedDict, total=False): +class StringList(typing.TypedDict, total=False): elements: _list[str] @typing.type_check_only -class StructuredMessage(typing_extensions.TypedDict, total=False): +class StructuredMessage(typing.TypedDict, total=False): messageKey: str messageText: str parameters: _list[Parameter] @typing.type_check_only -class TaskRunnerSettings(typing_extensions.TypedDict, total=False): +class TaskRunnerSettings(typing.TypedDict, total=False): alsologtostderr: bool baseTaskDir: str baseUrl: str @@ -1411,7 +1419,7 @@ class TaskRunnerSettings(typing_extensions.TypedDict, total=False): workflowFileName: str @typing.type_check_only -class TemplateMetadata(typing_extensions.TypedDict, total=False): +class TemplateMetadata(typing.TypedDict, total=False): defaultStreamingMode: str description: str name: str @@ -1422,7 +1430,7 @@ class TemplateMetadata(typing_extensions.TypedDict, total=False): yamlDefinition: str @typing.type_check_only -class TopologyConfig(typing_extensions.TypedDict, total=False): +class TopologyConfig(typing.TypedDict, total=False): computations: _list[ComputationTopology] dataDiskAssignments: _list[DataDiskAssignment] forwardingKeyBits: int @@ -1430,11 +1438,11 @@ class TopologyConfig(typing_extensions.TypedDict, total=False): userStageToComputationNameMap: dict[str, typing.Any] @typing.type_check_only -class TransformSummary(typing_extensions.TypedDict, total=False): +class TransformSummary(typing.TypedDict, total=False): displayData: _list[DisplayData] id: str inputCollectionName: _list[str] - kind: typing_extensions.Literal[ + kind: typing.Literal[ "UNKNOWN_KIND", "PAR_DO_KIND", "GROUP_BY_KEY_KIND", @@ -1449,7 +1457,7 @@ class TransformSummary(typing_extensions.TypedDict, total=False): outputCollectionName: _list[str] @typing.type_check_only -class WorkItem(typing_extensions.TypedDict, total=False): +class WorkItem(typing.TypedDict, total=False): configuration: str id: str initialReportIndex: str @@ -1467,13 +1475,13 @@ class WorkItem(typing_extensions.TypedDict, total=False): streamingSetupTask: StreamingSetupTask @typing.type_check_only -class WorkItemDetails(typing_extensions.TypedDict, total=False): +class WorkItemDetails(typing.TypedDict, total=False): attemptId: str endTime: str metrics: _list[MetricUpdate] progress: ProgressTimeseries startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "EXECUTION_STATE_UNKNOWN", "EXECUTION_STATE_NOT_STARTED", "EXECUTION_STATE_RUNNING", @@ -1485,7 +1493,7 @@ class WorkItemDetails(typing_extensions.TypedDict, total=False): taskId: str @typing.type_check_only -class WorkItemServiceState(typing_extensions.TypedDict, total=False): +class WorkItemServiceState(typing.TypedDict, total=False): completeWorkStatus: Status harnessData: dict[str, typing.Any] hotKeyDetection: HotKeyDetection @@ -1498,7 +1506,7 @@ class WorkItemServiceState(typing_extensions.TypedDict, total=False): suggestedStopPosition: Position @typing.type_check_only -class WorkItemStatus(typing_extensions.TypedDict, total=False): +class WorkItemStatus(typing.TypedDict, total=False): completed: bool counterUpdates: _list[CounterUpdate] dynamicSourceSplit: DynamicSourceSplit @@ -1515,12 +1523,12 @@ class WorkItemStatus(typing_extensions.TypedDict, total=False): workItemId: str @typing.type_check_only -class WorkerDetails(typing_extensions.TypedDict, total=False): +class WorkerDetails(typing.TypedDict, total=False): workItems: _list[WorkItemDetails] workerName: str @typing.type_check_only -class WorkerHealthReport(typing_extensions.TypedDict, total=False): +class WorkerHealthReport(typing.TypedDict, total=False): msg: str pods: _list[dict[str, typing.Any]] reportInterval: str @@ -1530,13 +1538,13 @@ class WorkerHealthReport(typing_extensions.TypedDict, total=False): vmStartupTime: str @typing.type_check_only -class WorkerHealthReportResponse(typing_extensions.TypedDict, total=False): +class WorkerHealthReportResponse(typing.TypedDict, total=False): reportInterval: str @typing.type_check_only -class WorkerLifecycleEvent(typing_extensions.TypedDict, total=False): +class WorkerLifecycleEvent(typing.TypedDict, total=False): containerStartTime: str - event: typing_extensions.Literal[ + event: typing.Literal[ "UNKNOWN_EVENT", "OS_START", "CONTAINER_START", @@ -1549,7 +1557,7 @@ class WorkerLifecycleEvent(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] @typing.type_check_only -class WorkerMessage(typing_extensions.TypedDict, total=False): +class WorkerMessage(typing.TypedDict, total=False): dataSamplingReport: DataSamplingReport labels: dict[str, typing.Any] perWorkerMetrics: PerWorkerMetrics @@ -1563,12 +1571,12 @@ class WorkerMessage(typing_extensions.TypedDict, total=False): workerThreadScalingReport: WorkerThreadScalingReport @typing.type_check_only -class WorkerMessageCode(typing_extensions.TypedDict, total=False): +class WorkerMessageCode(typing.TypedDict, total=False): code: str parameters: dict[str, typing.Any] @typing.type_check_only -class WorkerMessageResponse(typing_extensions.TypedDict, total=False): +class WorkerMessageResponse(typing.TypedDict, total=False): streamingScalingReportResponse: StreamingScalingReportResponse workerHealthReportResponse: WorkerHealthReportResponse workerMetricsResponse: ResourceUtilizationReportResponse @@ -1576,10 +1584,10 @@ class WorkerMessageResponse(typing_extensions.TypedDict, total=False): workerThreadScalingReportResponse: WorkerThreadScalingReportResponse @typing.type_check_only -class WorkerPool(typing_extensions.TypedDict, total=False): +class WorkerPool(typing.TypedDict, total=False): autoscalingSettings: AutoscalingSettings dataDisks: _list[Disk] - defaultPackageSet: typing_extensions.Literal[ + defaultPackageSet: typing.Literal[ "DEFAULT_PACKAGE_SET_UNKNOWN", "DEFAULT_PACKAGE_SET_NONE", "DEFAULT_PACKAGE_SET_JAVA", @@ -1590,7 +1598,7 @@ class WorkerPool(typing_extensions.TypedDict, total=False): diskSizeGb: int diskSourceImage: str diskType: str - ipConfiguration: typing_extensions.Literal[ + ipConfiguration: typing.Literal[ "WORKER_IP_UNSPECIFIED", "WORKER_IP_PUBLIC", "WORKER_IP_PRIVATE" ] kind: str @@ -1605,7 +1613,7 @@ class WorkerPool(typing_extensions.TypedDict, total=False): sdkHarnessContainerImages: _list[SdkHarnessContainerImage] subnetwork: str taskrunnerSettings: TaskRunnerSettings - teardownPolicy: typing_extensions.Literal[ + teardownPolicy: typing.Literal[ "TEARDOWN_POLICY_UNKNOWN", "TEARDOWN_ALWAYS", "TEARDOWN_ON_SUCCESS", @@ -1615,7 +1623,7 @@ class WorkerPool(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class WorkerSettings(typing_extensions.TypedDict, total=False): +class WorkerSettings(typing.TypedDict, total=False): baseUrl: str reportingEnabled: bool servicePath: str @@ -1624,21 +1632,21 @@ class WorkerSettings(typing_extensions.TypedDict, total=False): workerId: str @typing.type_check_only -class WorkerShutdownNotice(typing_extensions.TypedDict, total=False): +class WorkerShutdownNotice(typing.TypedDict, total=False): reason: str @typing.type_check_only -class WorkerShutdownNoticeResponse(typing_extensions.TypedDict, total=False): ... +class WorkerShutdownNoticeResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class WorkerThreadScalingReport(typing_extensions.TypedDict, total=False): +class WorkerThreadScalingReport(typing.TypedDict, total=False): currentThreadCount: int @typing.type_check_only -class WorkerThreadScalingReportResponse(typing_extensions.TypedDict, total=False): +class WorkerThreadScalingReportResponse(typing.TypedDict, total=False): recommendedThreadCount: int @typing.type_check_only -class WriteInstruction(typing_extensions.TypedDict, total=False): +class WriteInstruction(typing.TypedDict, total=False): input: InstructionInput sink: Sink diff --git a/googleapiclient-stubs/_apis/dataform/v1/resources.pyi b/googleapiclient-stubs/_apis/dataform/v1/resources.pyi index 07a81329d..31c67644e 100644 --- a/googleapiclient-stubs/_apis/dataform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -396,7 +395,7 @@ class DataformResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., path: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "DIRECTORY_CONTENTS_VIEW_UNSPECIFIED", "DIRECTORY_CONTENTS_VIEW_BASIC", "DIRECTORY_CONTENTS_VIEW_METADATA", diff --git a/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi index ed64ce309..789a6685c 100644 --- a/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi @@ -1,36 +1,34 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActionErrorTable(typing_extensions.TypedDict, total=False): +class ActionErrorTable(typing.TypedDict, total=False): retentionDays: int target: Target @typing.type_check_only -class ActionIncrementalLoadMode(typing_extensions.TypedDict, total=False): +class ActionIncrementalLoadMode(typing.TypedDict, total=False): column: str @typing.type_check_only -class ActionLoadConfig(typing_extensions.TypedDict, total=False): +class ActionLoadConfig(typing.TypedDict, total=False): append: ActionSimpleLoadMode maximum: ActionIncrementalLoadMode replace: ActionSimpleLoadMode unique: ActionIncrementalLoadMode @typing.type_check_only -class ActionSimpleLoadMode(typing_extensions.TypedDict, total=False): ... +class ActionSimpleLoadMode(typing.TypedDict, total=False): ... @typing.type_check_only -class ActionSqlDefinition(typing_extensions.TypedDict, total=False): +class ActionSqlDefinition(typing.TypedDict, total=False): errorTable: ActionErrorTable loadConfig: ActionLoadConfig query: str @typing.type_check_only -class Assertion(typing_extensions.TypedDict, total=False): +class Assertion(typing.TypedDict, total=False): dependencyTargets: _list[Target] disabled: bool parentAction: Target @@ -39,27 +37,27 @@ class Assertion(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class BigQueryAction(typing_extensions.TypedDict, total=False): +class BigQueryAction(typing.TypedDict, total=False): jobId: str sqlScript: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelWorkflowInvocationRequest(typing_extensions.TypedDict, total=False): ... +class CancelWorkflowInvocationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelWorkflowInvocationResponse(typing_extensions.TypedDict, total=False): ... +class CancelWorkflowInvocationResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CodeCompilationConfig(typing_extensions.TypedDict, total=False): +class CodeCompilationConfig(typing.TypedDict, total=False): assertionSchema: str builtinAssertionNamePrefix: str databaseSuffix: str @@ -67,66 +65,68 @@ class CodeCompilationConfig(typing_extensions.TypedDict, total=False): defaultLocation: str defaultNotebookRuntimeOptions: NotebookRuntimeOptions defaultSchema: str + pipelineConfig: PipelineConfig schemaSuffix: str tablePrefix: str vars: dict[str, typing.Any] @typing.type_check_only -class ColumnDescriptor(typing_extensions.TypedDict, total=False): +class ColumnDescriptor(typing.TypedDict, total=False): bigqueryPolicyTags: _list[str] description: str path: _list[str] @typing.type_check_only -class CommitAuthor(typing_extensions.TypedDict, total=False): +class CommitAuthor(typing.TypedDict, total=False): emailAddress: str name: str @typing.type_check_only -class CommitLogEntry(typing_extensions.TypedDict, total=False): +class CommitLogEntry(typing.TypedDict, total=False): author: CommitAuthor commitMessage: str commitSha: str commitTime: str @typing.type_check_only -class CommitMetadata(typing_extensions.TypedDict, total=False): +class CommitMetadata(typing.TypedDict, total=False): author: CommitAuthor commitMessage: str @typing.type_check_only -class CommitRepositoryChangesRequest(typing_extensions.TypedDict, total=False): +class CommitRepositoryChangesRequest(typing.TypedDict, total=False): commitMetadata: CommitMetadata fileOperations: dict[str, typing.Any] requiredHeadCommitSha: str @typing.type_check_only -class CommitRepositoryChangesResponse(typing_extensions.TypedDict, total=False): +class CommitRepositoryChangesResponse(typing.TypedDict, total=False): commitSha: str @typing.type_check_only -class CommitWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): +class CommitWorkspaceChangesRequest(typing.TypedDict, total=False): author: CommitAuthor commitMessage: str paths: _list[str] @typing.type_check_only -class CommitWorkspaceChangesResponse(typing_extensions.TypedDict, total=False): ... +class CommitWorkspaceChangesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CompilationError(typing_extensions.TypedDict, total=False): +class CompilationError(typing.TypedDict, total=False): actionTarget: Target message: str path: str stack: str @typing.type_check_only -class CompilationResult(typing_extensions.TypedDict, total=False): +class CompilationResult(typing.TypedDict, total=False): codeCompilationConfig: CodeCompilationConfig compilationErrors: _list[CompilationError] createTime: str dataEncryptionState: DataEncryptionState dataformCoreVersion: str + gcsRepositorySnapshotMetadata: GcsRepositorySnapshotMetadata gitCommitish: str internalMetadata: str name: str @@ -136,7 +136,7 @@ class CompilationResult(typing_extensions.TypedDict, total=False): workspace: str @typing.type_check_only -class CompilationResultAction(typing_extensions.TypedDict, total=False): +class CompilationResultAction(typing.TypedDict, total=False): assertion: Assertion canonicalTarget: Target dataPreparation: DataPreparation @@ -149,25 +149,23 @@ class CompilationResultAction(typing_extensions.TypedDict, total=False): target: Target @typing.type_check_only -class ComputeRepositoryAccessTokenStatusResponse( - typing_extensions.TypedDict, total=False -): - tokenStatus: typing_extensions.Literal[ +class ComputeRepositoryAccessTokenStatusResponse(typing.TypedDict, total=False): + tokenStatus: typing.Literal[ "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", "VALID", "PERMISSION_DENIED" ] @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): defaultKmsKeyName: str internalMetadata: str name: str @typing.type_check_only -class DataEncryptionState(typing_extensions.TypedDict, total=False): +class DataEncryptionState(typing.TypedDict, total=False): kmsKeyVersionName: str @typing.type_check_only -class DataPreparation(typing_extensions.TypedDict, total=False): +class DataPreparation(typing.TypedDict, total=False): contentsSql: SqlDefinition contentsYaml: str dependencyTargets: _list[Target] @@ -175,90 +173,90 @@ class DataPreparation(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class DataPreparationAction(typing_extensions.TypedDict, total=False): +class DataPreparationAction(typing.TypedDict, total=False): contentsSql: ActionSqlDefinition contentsYaml: str generatedSql: str jobId: str @typing.type_check_only -class Declaration(typing_extensions.TypedDict, total=False): +class Declaration(typing.TypedDict, total=False): relationDescriptor: RelationDescriptor @typing.type_check_only -class DeleteFile(typing_extensions.TypedDict, total=False): ... +class DeleteFile(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteFolderTreeRequest(typing_extensions.TypedDict, total=False): +class DeleteFolderTreeRequest(typing.TypedDict, total=False): force: bool @typing.type_check_only -class DeleteTeamFolderTreeRequest(typing_extensions.TypedDict, total=False): +class DeleteTeamFolderTreeRequest(typing.TypedDict, total=False): force: bool @typing.type_check_only -class DirectoryEntry(typing_extensions.TypedDict, total=False): +class DirectoryEntry(typing.TypedDict, total=False): directory: str file: str metadata: FilesystemEntryMetadata @typing.type_check_only -class DirectorySearchResult(typing_extensions.TypedDict, total=False): +class DirectorySearchResult(typing.TypedDict, total=False): path: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorTable(typing_extensions.TypedDict, total=False): +class ErrorTable(typing.TypedDict, total=False): retentionDays: int target: Target @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FetchFileDiffResponse(typing_extensions.TypedDict, total=False): +class FetchFileDiffResponse(typing.TypedDict, total=False): formattedDiff: str @typing.type_check_only -class FetchFileGitStatusesResponse(typing_extensions.TypedDict, total=False): +class FetchFileGitStatusesResponse(typing.TypedDict, total=False): uncommittedFileChanges: _list[UncommittedFileChange] @typing.type_check_only -class FetchGitAheadBehindResponse(typing_extensions.TypedDict, total=False): +class FetchGitAheadBehindResponse(typing.TypedDict, total=False): commitsAhead: int commitsBehind: int @typing.type_check_only -class FetchRemoteBranchesResponse(typing_extensions.TypedDict, total=False): +class FetchRemoteBranchesResponse(typing.TypedDict, total=False): branches: _list[str] @typing.type_check_only -class FetchRepositoryHistoryResponse(typing_extensions.TypedDict, total=False): +class FetchRepositoryHistoryResponse(typing.TypedDict, total=False): commits: _list[CommitLogEntry] nextPageToken: str @typing.type_check_only -class FileOperation(typing_extensions.TypedDict, total=False): +class FileOperation(typing.TypedDict, total=False): deleteFile: DeleteFile writeFile: WriteFile @typing.type_check_only -class FileSearchResult(typing_extensions.TypedDict, total=False): +class FileSearchResult(typing.TypedDict, total=False): path: str @typing.type_check_only -class FilesystemEntryMetadata(typing_extensions.TypedDict, total=False): +class FilesystemEntryMetadata(typing.TypedDict, total=False): sizeBytes: str updateTime: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): containingFolder: str createTime: str creatorIamPrincipal: str @@ -269,33 +267,43 @@ class Folder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FolderContentsEntry(typing_extensions.TypedDict, total=False): +class FolderContentsEntry(typing.TypedDict, total=False): folder: Folder repository: Repository @typing.type_check_only -class GitRemoteSettings(typing_extensions.TypedDict, total=False): +class GcsRepositorySnapshotDestination(typing.TypedDict, total=False): + repositorySnapshotUri: str + +@typing.type_check_only +class GcsRepositorySnapshotMetadata(typing.TypedDict, total=False): + crc32cChecksum: str + generation: str + repositorySnapshotUri: str + +@typing.type_check_only +class GitRemoteSettings(typing.TypedDict, total=False): authenticationTokenSecretVersion: str defaultBranch: str effectiveDefaultBranch: str gitRepositoryLink: str sshAuthenticationConfig: SshAuthenticationConfig - tokenStatus: typing_extensions.Literal[ + tokenStatus: typing.Literal[ "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", "VALID" ] url: str @typing.type_check_only -class IamPolicyOverrideView(typing_extensions.TypedDict, total=False): +class IamPolicyOverrideView(typing.TypedDict, total=False): iamPolicyName: PolicyName isActive: bool @typing.type_check_only -class IncrementalLoadMode(typing_extensions.TypedDict, total=False): +class IncrementalLoadMode(typing.TypedDict, total=False): column: str @typing.type_check_only -class IncrementalTableConfig(typing_extensions.TypedDict, total=False): +class IncrementalTableConfig(typing.TypedDict, total=False): incrementalPostOperations: _list[str] incrementalPreOperations: _list[str] incrementalSelectQuery: str @@ -304,84 +312,83 @@ class IncrementalTableConfig(typing_extensions.TypedDict, total=False): updatePartitionFilter: str @typing.type_check_only -class InstallNpmPackagesRequest(typing_extensions.TypedDict, total=False): ... +class InstallNpmPackagesRequest(typing.TypedDict, total=False): + pipelineConfig: PipelineConfig @typing.type_check_only -class InstallNpmPackagesResponse(typing_extensions.TypedDict, total=False): ... +class InstallNpmPackagesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class InvocationConfig(typing_extensions.TypedDict, total=False): +class InvocationConfig(typing.TypedDict, total=False): fullyRefreshIncrementalTablesEnabled: bool includedTags: _list[str] includedTargets: _list[Target] - queryPriority: typing_extensions.Literal[ - "QUERY_PRIORITY_UNSPECIFIED", "INTERACTIVE", "BATCH" - ] + queryPriority: typing.Literal["QUERY_PRIORITY_UNSPECIFIED", "INTERACTIVE", "BATCH"] serviceAccount: str transitiveDependenciesIncluded: bool transitiveDependentsIncluded: bool @typing.type_check_only -class ListCompilationResultsResponse(typing_extensions.TypedDict, total=False): +class ListCompilationResultsResponse(typing.TypedDict, total=False): compilationResults: _list[CompilationResult] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListReleaseConfigsResponse(typing_extensions.TypedDict, total=False): +class ListReleaseConfigsResponse(typing.TypedDict, total=False): nextPageToken: str releaseConfigs: _list[ReleaseConfig] unreachable: _list[str] @typing.type_check_only -class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] unreachable: _list[str] @typing.type_check_only -class ListWorkflowConfigsResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workflowConfigs: _list[WorkflowConfig] @typing.type_check_only -class ListWorkflowInvocationsResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowInvocationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workflowInvocations: _list[WorkflowInvocation] @typing.type_check_only -class ListWorkspacesResponse(typing_extensions.TypedDict, total=False): +class ListWorkspacesResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workspaces: _list[Workspace] @typing.type_check_only -class LoadConfig(typing_extensions.TypedDict, total=False): +class LoadConfig(typing.TypedDict, total=False): append: SimpleLoadMode maximum: IncrementalLoadMode replace: SimpleLoadMode unique: IncrementalLoadMode @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -389,55 +396,57 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MakeDirectoryRequest(typing_extensions.TypedDict, total=False): +class MakeDirectoryRequest(typing.TypedDict, total=False): path: str @typing.type_check_only -class MakeDirectoryResponse(typing_extensions.TypedDict, total=False): ... +class MakeDirectoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MoveDirectoryRequest(typing_extensions.TypedDict, total=False): +class MoveDirectoryRequest(typing.TypedDict, total=False): newPath: str path: str @typing.type_check_only -class MoveDirectoryResponse(typing_extensions.TypedDict, total=False): ... +class MoveDirectoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MoveFileRequest(typing_extensions.TypedDict, total=False): +class MoveFileRequest(typing.TypedDict, total=False): newPath: str path: str @typing.type_check_only -class MoveFileResponse(typing_extensions.TypedDict, total=False): ... +class MoveFileResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MoveFolderRequest(typing_extensions.TypedDict, total=False): +class MoveFolderRequest(typing.TypedDict, total=False): destinationContainingFolder: str @typing.type_check_only -class MoveRepositoryRequest(typing_extensions.TypedDict, total=False): +class MoveRepositoryRequest(typing.TypedDict, total=False): destinationContainingFolder: str @typing.type_check_only -class Notebook(typing_extensions.TypedDict, total=False): +class Notebook(typing.TypedDict, total=False): contents: str dependencyTargets: _list[Target] disabled: bool tags: _list[str] @typing.type_check_only -class NotebookAction(typing_extensions.TypedDict, total=False): +class NotebookAction(typing.TypedDict, total=False): contents: str + filePath: str jobId: str @typing.type_check_only -class NotebookRuntimeOptions(typing_extensions.TypedDict, total=False): +class NotebookRuntimeOptions(typing.TypedDict, total=False): aiPlatformNotebookRuntimeTemplate: str gcsOutputBucket: str + gcsRepositorySnapshotDestination: GcsRepositorySnapshotDestination @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -445,7 +454,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -455,7 +464,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Operations(typing_extensions.TypedDict, total=False): +class Operations(typing.TypedDict, total=False): dependencyTargets: _list[Target] disabled: bool hasOutput: bool @@ -464,96 +473,101 @@ class Operations(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class PipelineConfig(typing.TypedDict, total=False): + path: str + pipelineType: typing.Literal[ + "PIPELINE_TYPE_UNSPECIFIED", "DATAFORM", "SQL", "NOTEBOOK" + ] + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyName(typing_extensions.TypedDict, total=False): +class PolicyName(typing.TypedDict, total=False): id: str region: str type: str @typing.type_check_only -class PrivateResourceMetadata(typing_extensions.TypedDict, total=False): +class PrivateResourceMetadata(typing.TypedDict, total=False): userScoped: bool @typing.type_check_only -class PullGitCommitsRequest(typing_extensions.TypedDict, total=False): +class PullGitCommitsRequest(typing.TypedDict, total=False): author: CommitAuthor remoteBranch: str @typing.type_check_only -class PullGitCommitsResponse(typing_extensions.TypedDict, total=False): ... +class PullGitCommitsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class PushGitCommitsRequest(typing_extensions.TypedDict, total=False): +class PushGitCommitsRequest(typing.TypedDict, total=False): remoteBranch: str @typing.type_check_only -class PushGitCommitsResponse(typing_extensions.TypedDict, total=False): ... +class PushGitCommitsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class QueryCompilationResultActionsResponse(typing_extensions.TypedDict, total=False): +class QueryCompilationResultActionsResponse(typing.TypedDict, total=False): compilationResultActions: _list[CompilationResultAction] nextPageToken: str @typing.type_check_only -class QueryDirectoryContentsResponse(typing_extensions.TypedDict, total=False): +class QueryDirectoryContentsResponse(typing.TypedDict, total=False): directoryEntries: _list[DirectoryEntry] nextPageToken: str @typing.type_check_only -class QueryFolderContentsResponse(typing_extensions.TypedDict, total=False): +class QueryFolderContentsResponse(typing.TypedDict, total=False): entries: _list[FolderContentsEntry] nextPageToken: str @typing.type_check_only -class QueryRepositoryDirectoryContentsResponse( - typing_extensions.TypedDict, total=False -): +class QueryRepositoryDirectoryContentsResponse(typing.TypedDict, total=False): directoryEntries: _list[DirectoryEntry] nextPageToken: str @typing.type_check_only -class QueryTeamFolderContentsResponse(typing_extensions.TypedDict, total=False): +class QueryTeamFolderContentsResponse(typing.TypedDict, total=False): entries: _list[TeamFolderContentsEntry] nextPageToken: str @typing.type_check_only -class QueryUserRootContentsResponse(typing_extensions.TypedDict, total=False): +class QueryUserRootContentsResponse(typing.TypedDict, total=False): entries: _list[RootContentsEntry] nextPageToken: str @typing.type_check_only -class QueryWorkflowInvocationActionsResponse(typing_extensions.TypedDict, total=False): +class QueryWorkflowInvocationActionsResponse(typing.TypedDict, total=False): nextPageToken: str workflowInvocationActions: _list[WorkflowInvocationAction] @typing.type_check_only -class ReadFileResponse(typing_extensions.TypedDict, total=False): +class ReadFileResponse(typing.TypedDict, total=False): fileContents: str @typing.type_check_only -class ReadRepositoryFileResponse(typing_extensions.TypedDict, total=False): +class ReadRepositoryFileResponse(typing.TypedDict, total=False): contents: str @typing.type_check_only -class Relation(typing_extensions.TypedDict, total=False): +class Relation(typing.TypedDict, total=False): additionalOptions: dict[str, typing.Any] clusterExpressions: _list[str] connection: str dependencyTargets: _list[Target] disabled: bool - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] incrementalTableConfig: IncrementalTableConfig partitionExpirationDays: int partitionExpression: str postOperations: _list[str] preOperations: _list[str] relationDescriptor: RelationDescriptor - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "TABLE", "VIEW", @@ -563,17 +577,17 @@ class Relation(typing_extensions.TypedDict, total=False): requirePartitionFilter: bool selectQuery: str storageUri: str - tableFormat: typing_extensions.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] + tableFormat: typing.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] tags: _list[str] @typing.type_check_only -class RelationDescriptor(typing_extensions.TypedDict, total=False): +class RelationDescriptor(typing.TypedDict, total=False): bigqueryLabels: dict[str, typing.Any] columns: _list[ColumnDescriptor] description: str @typing.type_check_only -class ReleaseConfig(typing_extensions.TypedDict, total=False): +class ReleaseConfig(typing.TypedDict, total=False): codeCompilationConfig: CodeCompilationConfig cronSchedule: str disabled: bool @@ -585,21 +599,21 @@ class ReleaseConfig(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class RemoveDirectoryRequest(typing_extensions.TypedDict, total=False): +class RemoveDirectoryRequest(typing.TypedDict, total=False): path: str @typing.type_check_only -class RemoveDirectoryResponse(typing_extensions.TypedDict, total=False): ... +class RemoveDirectoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveFileRequest(typing_extensions.TypedDict, total=False): +class RemoveFileRequest(typing.TypedDict, total=False): path: str @typing.type_check_only -class RemoveFileResponse(typing_extensions.TypedDict, total=False): ... +class RemoveFileResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): containingFolder: str createTime: str dataEncryptionState: DataEncryptionState @@ -616,77 +630,77 @@ class Repository(typing_extensions.TypedDict, total=False): workspaceCompilationOverrides: WorkspaceCompilationOverrides @typing.type_check_only -class ResetWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): +class ResetWorkspaceChangesRequest(typing.TypedDict, total=False): clean: bool paths: _list[str] @typing.type_check_only -class ResetWorkspaceChangesResponse(typing_extensions.TypedDict, total=False): ... +class ResetWorkspaceChangesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RootContentsEntry(typing_extensions.TypedDict, total=False): +class RootContentsEntry(typing.TypedDict, total=False): folder: Folder repository: Repository @typing.type_check_only -class ScheduledExecutionRecord(typing_extensions.TypedDict, total=False): +class ScheduledExecutionRecord(typing.TypedDict, total=False): errorStatus: Status executionTime: str workflowInvocation: str @typing.type_check_only -class ScheduledReleaseRecord(typing_extensions.TypedDict, total=False): +class ScheduledReleaseRecord(typing.TypedDict, total=False): compilationResult: str errorStatus: Status releaseTime: str @typing.type_check_only -class SearchFilesResponse(typing_extensions.TypedDict, total=False): +class SearchFilesResponse(typing.TypedDict, total=False): nextPageToken: str searchResults: _list[SearchResult] @typing.type_check_only -class SearchResult(typing_extensions.TypedDict, total=False): +class SearchResult(typing.TypedDict, total=False): directory: DirectorySearchResult file: FileSearchResult @typing.type_check_only -class SearchTeamFoldersResponse(typing_extensions.TypedDict, total=False): +class SearchTeamFoldersResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[TeamFolderSearchResult] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class SimpleLoadMode(typing_extensions.TypedDict, total=False): ... +class SimpleLoadMode(typing.TypedDict, total=False): ... @typing.type_check_only -class SqlDefinition(typing_extensions.TypedDict, total=False): +class SqlDefinition(typing.TypedDict, total=False): errorTable: ErrorTable load: LoadConfig query: str @typing.type_check_only -class SshAuthenticationConfig(typing_extensions.TypedDict, total=False): +class SshAuthenticationConfig(typing.TypedDict, total=False): hostPublicKey: str userPrivateKeySecretVersion: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): database: str name: str schema: str @typing.type_check_only -class TeamFolder(typing_extensions.TypedDict, total=False): +class TeamFolder(typing.TypedDict, total=False): createTime: str creatorIamPrincipal: str displayName: str @@ -695,31 +709,31 @@ class TeamFolder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TeamFolderContentsEntry(typing_extensions.TypedDict, total=False): +class TeamFolderContentsEntry(typing.TypedDict, total=False): folder: Folder repository: Repository @typing.type_check_only -class TeamFolderSearchResult(typing_extensions.TypedDict, total=False): +class TeamFolderSearchResult(typing.TypedDict, total=False): teamFolder: TeamFolder @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UncommittedFileChange(typing_extensions.TypedDict, total=False): +class UncommittedFileChange(typing.TypedDict, total=False): path: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ADDED", "DELETED", "MODIFIED", "HAS_CONFLICTS" ] @typing.type_check_only -class WorkflowConfig(typing_extensions.TypedDict, total=False): +class WorkflowConfig(typing.TypedDict, total=False): createTime: str cronSchedule: str disabled: bool @@ -732,22 +746,23 @@ class WorkflowConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class WorkflowInvocation(typing_extensions.TypedDict, total=False): +class WorkflowInvocation(typing.TypedDict, total=False): compilationResult: str dataEncryptionState: DataEncryptionState internalMetadata: str invocationConfig: InvocationConfig invocationTiming: Interval name: str + pipelineConfig: PipelineConfig privateResourceMetadata: PrivateResourceMetadata resolvedCompilationResult: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED", "CANCELING" ] workflowConfig: str @typing.type_check_only -class WorkflowInvocationAction(typing_extensions.TypedDict, total=False): +class WorkflowInvocationAction(typing.TypedDict, total=False): bigqueryAction: BigQueryAction canonicalTarget: Target dataPreparationAction: DataPreparationAction @@ -755,13 +770,13 @@ class WorkflowInvocationAction(typing_extensions.TypedDict, total=False): internalMetadata: str invocationTiming: Interval notebookAction: NotebookAction - state: typing_extensions.Literal[ + state: typing.Literal[ "PENDING", "RUNNING", "SKIPPED", "DISABLED", "SUCCEEDED", "CANCELLED", "FAILED" ] target: Target @typing.type_check_only -class Workspace(typing_extensions.TypedDict, total=False): +class Workspace(typing.TypedDict, total=False): createTime: str dataEncryptionState: DataEncryptionState disableMoves: bool @@ -770,19 +785,19 @@ class Workspace(typing_extensions.TypedDict, total=False): privateResourceMetadata: PrivateResourceMetadata @typing.type_check_only -class WorkspaceCompilationOverrides(typing_extensions.TypedDict, total=False): +class WorkspaceCompilationOverrides(typing.TypedDict, total=False): defaultDatabase: str schemaSuffix: str tablePrefix: str @typing.type_check_only -class WriteFile(typing_extensions.TypedDict, total=False): +class WriteFile(typing.TypedDict, total=False): contents: str @typing.type_check_only -class WriteFileRequest(typing_extensions.TypedDict, total=False): +class WriteFileRequest(typing.TypedDict, total=False): contents: str path: str @typing.type_check_only -class WriteFileResponse(typing_extensions.TypedDict, total=False): ... +class WriteFileResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi index 56b2f491c..c4170927e 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -401,7 +400,7 @@ class DataformResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., path: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "DIRECTORY_CONTENTS_VIEW_UNSPECIFIED", "DIRECTORY_CONTENTS_VIEW_BASIC", "DIRECTORY_CONTENTS_VIEW_METADATA", diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi index 4fb324083..dbf03897d 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi @@ -1,36 +1,34 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActionErrorTable(typing_extensions.TypedDict, total=False): +class ActionErrorTable(typing.TypedDict, total=False): retentionDays: int target: Target @typing.type_check_only -class ActionIncrementalLoadMode(typing_extensions.TypedDict, total=False): +class ActionIncrementalLoadMode(typing.TypedDict, total=False): column: str @typing.type_check_only -class ActionLoadConfig(typing_extensions.TypedDict, total=False): +class ActionLoadConfig(typing.TypedDict, total=False): append: ActionSimpleLoadMode maximum: ActionIncrementalLoadMode replace: ActionSimpleLoadMode unique: ActionIncrementalLoadMode @typing.type_check_only -class ActionSimpleLoadMode(typing_extensions.TypedDict, total=False): ... +class ActionSimpleLoadMode(typing.TypedDict, total=False): ... @typing.type_check_only -class ActionSqlDefinition(typing_extensions.TypedDict, total=False): +class ActionSqlDefinition(typing.TypedDict, total=False): errorTable: ActionErrorTable loadConfig: ActionLoadConfig query: str @typing.type_check_only -class Assertion(typing_extensions.TypedDict, total=False): +class Assertion(typing.TypedDict, total=False): dependencyTargets: _list[Target] disabled: bool parentAction: Target @@ -39,27 +37,27 @@ class Assertion(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class BigQueryAction(typing_extensions.TypedDict, total=False): +class BigQueryAction(typing.TypedDict, total=False): jobId: str sqlScript: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelWorkflowInvocationRequest(typing_extensions.TypedDict, total=False): ... +class CancelWorkflowInvocationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelWorkflowInvocationResponse(typing_extensions.TypedDict, total=False): ... +class CancelWorkflowInvocationResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CodeCompilationConfig(typing_extensions.TypedDict, total=False): +class CodeCompilationConfig(typing.TypedDict, total=False): assertionSchema: str builtinAssertionNamePrefix: str databaseSuffix: str @@ -67,66 +65,68 @@ class CodeCompilationConfig(typing_extensions.TypedDict, total=False): defaultLocation: str defaultNotebookRuntimeOptions: NotebookRuntimeOptions defaultSchema: str + pipelineConfig: PipelineConfig schemaSuffix: str tablePrefix: str vars: dict[str, typing.Any] @typing.type_check_only -class ColumnDescriptor(typing_extensions.TypedDict, total=False): +class ColumnDescriptor(typing.TypedDict, total=False): bigqueryPolicyTags: _list[str] description: str path: _list[str] @typing.type_check_only -class CommitAuthor(typing_extensions.TypedDict, total=False): +class CommitAuthor(typing.TypedDict, total=False): emailAddress: str name: str @typing.type_check_only -class CommitLogEntry(typing_extensions.TypedDict, total=False): +class CommitLogEntry(typing.TypedDict, total=False): author: CommitAuthor commitMessage: str commitSha: str commitTime: str @typing.type_check_only -class CommitMetadata(typing_extensions.TypedDict, total=False): +class CommitMetadata(typing.TypedDict, total=False): author: CommitAuthor commitMessage: str @typing.type_check_only -class CommitRepositoryChangesRequest(typing_extensions.TypedDict, total=False): +class CommitRepositoryChangesRequest(typing.TypedDict, total=False): commitMetadata: CommitMetadata fileOperations: dict[str, typing.Any] requiredHeadCommitSha: str @typing.type_check_only -class CommitRepositoryChangesResponse(typing_extensions.TypedDict, total=False): +class CommitRepositoryChangesResponse(typing.TypedDict, total=False): commitSha: str @typing.type_check_only -class CommitWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): +class CommitWorkspaceChangesRequest(typing.TypedDict, total=False): author: CommitAuthor commitMessage: str paths: _list[str] @typing.type_check_only -class CommitWorkspaceChangesResponse(typing_extensions.TypedDict, total=False): ... +class CommitWorkspaceChangesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CompilationError(typing_extensions.TypedDict, total=False): +class CompilationError(typing.TypedDict, total=False): actionTarget: Target message: str path: str stack: str @typing.type_check_only -class CompilationResult(typing_extensions.TypedDict, total=False): +class CompilationResult(typing.TypedDict, total=False): codeCompilationConfig: CodeCompilationConfig compilationErrors: _list[CompilationError] createTime: str dataEncryptionState: DataEncryptionState dataformCoreVersion: str + gcsRepositorySnapshotMetadata: GcsRepositorySnapshotMetadata gitCommitish: str internalMetadata: str name: str @@ -136,7 +136,7 @@ class CompilationResult(typing_extensions.TypedDict, total=False): workspace: str @typing.type_check_only -class CompilationResultAction(typing_extensions.TypedDict, total=False): +class CompilationResultAction(typing.TypedDict, total=False): assertion: Assertion canonicalTarget: Target dataPreparation: DataPreparation @@ -149,25 +149,23 @@ class CompilationResultAction(typing_extensions.TypedDict, total=False): target: Target @typing.type_check_only -class ComputeRepositoryAccessTokenStatusResponse( - typing_extensions.TypedDict, total=False -): - tokenStatus: typing_extensions.Literal[ +class ComputeRepositoryAccessTokenStatusResponse(typing.TypedDict, total=False): + tokenStatus: typing.Literal[ "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", "VALID", "PERMISSION_DENIED" ] @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): defaultKmsKeyName: str internalMetadata: str name: str @typing.type_check_only -class DataEncryptionState(typing_extensions.TypedDict, total=False): +class DataEncryptionState(typing.TypedDict, total=False): kmsKeyVersionName: str @typing.type_check_only -class DataPreparation(typing_extensions.TypedDict, total=False): +class DataPreparation(typing.TypedDict, total=False): contentsSql: SqlDefinition contentsYaml: str dependencyTargets: _list[Target] @@ -175,94 +173,94 @@ class DataPreparation(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class DataPreparationAction(typing_extensions.TypedDict, total=False): +class DataPreparationAction(typing.TypedDict, total=False): contentsSql: ActionSqlDefinition contentsYaml: str generatedSql: str jobId: str @typing.type_check_only -class Declaration(typing_extensions.TypedDict, total=False): +class Declaration(typing.TypedDict, total=False): relationDescriptor: RelationDescriptor @typing.type_check_only -class DeleteFile(typing_extensions.TypedDict, total=False): ... +class DeleteFile(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteFolderTreeRequest(typing_extensions.TypedDict, total=False): +class DeleteFolderTreeRequest(typing.TypedDict, total=False): force: bool @typing.type_check_only -class DeleteRepositoryLongRunningRequest(typing_extensions.TypedDict, total=False): +class DeleteRepositoryLongRunningRequest(typing.TypedDict, total=False): force: bool @typing.type_check_only -class DeleteTeamFolderTreeRequest(typing_extensions.TypedDict, total=False): +class DeleteTeamFolderTreeRequest(typing.TypedDict, total=False): force: bool @typing.type_check_only -class DirectoryEntry(typing_extensions.TypedDict, total=False): +class DirectoryEntry(typing.TypedDict, total=False): directory: str file: str metadata: FilesystemEntryMetadata @typing.type_check_only -class DirectorySearchResult(typing_extensions.TypedDict, total=False): +class DirectorySearchResult(typing.TypedDict, total=False): path: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorTable(typing_extensions.TypedDict, total=False): +class ErrorTable(typing.TypedDict, total=False): retentionDays: int target: Target @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FetchFileDiffResponse(typing_extensions.TypedDict, total=False): +class FetchFileDiffResponse(typing.TypedDict, total=False): formattedDiff: str @typing.type_check_only -class FetchFileGitStatusesResponse(typing_extensions.TypedDict, total=False): +class FetchFileGitStatusesResponse(typing.TypedDict, total=False): uncommittedFileChanges: _list[UncommittedFileChange] @typing.type_check_only -class FetchGitAheadBehindResponse(typing_extensions.TypedDict, total=False): +class FetchGitAheadBehindResponse(typing.TypedDict, total=False): commitsAhead: int commitsBehind: int @typing.type_check_only -class FetchRemoteBranchesResponse(typing_extensions.TypedDict, total=False): +class FetchRemoteBranchesResponse(typing.TypedDict, total=False): branches: _list[str] @typing.type_check_only -class FetchRepositoryHistoryResponse(typing_extensions.TypedDict, total=False): +class FetchRepositoryHistoryResponse(typing.TypedDict, total=False): commits: _list[CommitLogEntry] nextPageToken: str @typing.type_check_only -class FileOperation(typing_extensions.TypedDict, total=False): +class FileOperation(typing.TypedDict, total=False): deleteFile: DeleteFile writeFile: WriteFile @typing.type_check_only -class FileSearchResult(typing_extensions.TypedDict, total=False): +class FileSearchResult(typing.TypedDict, total=False): path: str @typing.type_check_only -class FilesystemEntryMetadata(typing_extensions.TypedDict, total=False): +class FilesystemEntryMetadata(typing.TypedDict, total=False): sizeBytes: str updateTime: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): containingFolder: str createTime: str creatorIamPrincipal: str @@ -273,33 +271,43 @@ class Folder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FolderContentsEntry(typing_extensions.TypedDict, total=False): +class FolderContentsEntry(typing.TypedDict, total=False): folder: Folder repository: Repository @typing.type_check_only -class GitRemoteSettings(typing_extensions.TypedDict, total=False): +class GcsRepositorySnapshotDestination(typing.TypedDict, total=False): + repositorySnapshotUri: str + +@typing.type_check_only +class GcsRepositorySnapshotMetadata(typing.TypedDict, total=False): + crc32cChecksum: str + generation: str + repositorySnapshotUri: str + +@typing.type_check_only +class GitRemoteSettings(typing.TypedDict, total=False): authenticationTokenSecretVersion: str defaultBranch: str effectiveDefaultBranch: str gitRepositoryLink: str sshAuthenticationConfig: SshAuthenticationConfig - tokenStatus: typing_extensions.Literal[ + tokenStatus: typing.Literal[ "TOKEN_STATUS_UNSPECIFIED", "NOT_FOUND", "INVALID", "VALID" ] url: str @typing.type_check_only -class IamPolicyOverrideView(typing_extensions.TypedDict, total=False): +class IamPolicyOverrideView(typing.TypedDict, total=False): iamPolicyName: PolicyName isActive: bool @typing.type_check_only -class IncrementalLoadMode(typing_extensions.TypedDict, total=False): +class IncrementalLoadMode(typing.TypedDict, total=False): column: str @typing.type_check_only -class IncrementalTableConfig(typing_extensions.TypedDict, total=False): +class IncrementalTableConfig(typing.TypedDict, total=False): incrementalPostOperations: _list[str] incrementalPreOperations: _list[str] incrementalSelectQuery: str @@ -308,84 +316,83 @@ class IncrementalTableConfig(typing_extensions.TypedDict, total=False): updatePartitionFilter: str @typing.type_check_only -class InstallNpmPackagesRequest(typing_extensions.TypedDict, total=False): ... +class InstallNpmPackagesRequest(typing.TypedDict, total=False): + pipelineConfig: PipelineConfig @typing.type_check_only -class InstallNpmPackagesResponse(typing_extensions.TypedDict, total=False): ... +class InstallNpmPackagesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class InvocationConfig(typing_extensions.TypedDict, total=False): +class InvocationConfig(typing.TypedDict, total=False): fullyRefreshIncrementalTablesEnabled: bool includedTags: _list[str] includedTargets: _list[Target] - queryPriority: typing_extensions.Literal[ - "QUERY_PRIORITY_UNSPECIFIED", "INTERACTIVE", "BATCH" - ] + queryPriority: typing.Literal["QUERY_PRIORITY_UNSPECIFIED", "INTERACTIVE", "BATCH"] serviceAccount: str transitiveDependenciesIncluded: bool transitiveDependentsIncluded: bool @typing.type_check_only -class ListCompilationResultsResponse(typing_extensions.TypedDict, total=False): +class ListCompilationResultsResponse(typing.TypedDict, total=False): compilationResults: _list[CompilationResult] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListReleaseConfigsResponse(typing_extensions.TypedDict, total=False): +class ListReleaseConfigsResponse(typing.TypedDict, total=False): nextPageToken: str releaseConfigs: _list[ReleaseConfig] unreachable: _list[str] @typing.type_check_only -class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] unreachable: _list[str] @typing.type_check_only -class ListWorkflowConfigsResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workflowConfigs: _list[WorkflowConfig] @typing.type_check_only -class ListWorkflowInvocationsResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowInvocationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workflowInvocations: _list[WorkflowInvocation] @typing.type_check_only -class ListWorkspacesResponse(typing_extensions.TypedDict, total=False): +class ListWorkspacesResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workspaces: _list[Workspace] @typing.type_check_only -class LoadConfig(typing_extensions.TypedDict, total=False): +class LoadConfig(typing.TypedDict, total=False): append: SimpleLoadMode maximum: IncrementalLoadMode replace: SimpleLoadMode unique: IncrementalLoadMode @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -393,55 +400,57 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MakeDirectoryRequest(typing_extensions.TypedDict, total=False): +class MakeDirectoryRequest(typing.TypedDict, total=False): path: str @typing.type_check_only -class MakeDirectoryResponse(typing_extensions.TypedDict, total=False): ... +class MakeDirectoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MoveDirectoryRequest(typing_extensions.TypedDict, total=False): +class MoveDirectoryRequest(typing.TypedDict, total=False): newPath: str path: str @typing.type_check_only -class MoveDirectoryResponse(typing_extensions.TypedDict, total=False): ... +class MoveDirectoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MoveFileRequest(typing_extensions.TypedDict, total=False): +class MoveFileRequest(typing.TypedDict, total=False): newPath: str path: str @typing.type_check_only -class MoveFileResponse(typing_extensions.TypedDict, total=False): ... +class MoveFileResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MoveFolderRequest(typing_extensions.TypedDict, total=False): +class MoveFolderRequest(typing.TypedDict, total=False): destinationContainingFolder: str @typing.type_check_only -class MoveRepositoryRequest(typing_extensions.TypedDict, total=False): +class MoveRepositoryRequest(typing.TypedDict, total=False): destinationContainingFolder: str @typing.type_check_only -class Notebook(typing_extensions.TypedDict, total=False): +class Notebook(typing.TypedDict, total=False): contents: str dependencyTargets: _list[Target] disabled: bool tags: _list[str] @typing.type_check_only -class NotebookAction(typing_extensions.TypedDict, total=False): +class NotebookAction(typing.TypedDict, total=False): contents: str + filePath: str jobId: str @typing.type_check_only -class NotebookRuntimeOptions(typing_extensions.TypedDict, total=False): +class NotebookRuntimeOptions(typing.TypedDict, total=False): aiPlatformNotebookRuntimeTemplate: str gcsOutputBucket: str + gcsRepositorySnapshotDestination: GcsRepositorySnapshotDestination @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -449,7 +458,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -459,7 +468,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Operations(typing_extensions.TypedDict, total=False): +class Operations(typing.TypedDict, total=False): dependencyTargets: _list[Target] disabled: bool hasOutput: bool @@ -468,96 +477,101 @@ class Operations(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class PipelineConfig(typing.TypedDict, total=False): + path: str + pipelineType: typing.Literal[ + "PIPELINE_TYPE_UNSPECIFIED", "DATAFORM", "SQL", "NOTEBOOK" + ] + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyName(typing_extensions.TypedDict, total=False): +class PolicyName(typing.TypedDict, total=False): id: str region: str type: str @typing.type_check_only -class PrivateResourceMetadata(typing_extensions.TypedDict, total=False): +class PrivateResourceMetadata(typing.TypedDict, total=False): userScoped: bool @typing.type_check_only -class PullGitCommitsRequest(typing_extensions.TypedDict, total=False): +class PullGitCommitsRequest(typing.TypedDict, total=False): author: CommitAuthor remoteBranch: str @typing.type_check_only -class PullGitCommitsResponse(typing_extensions.TypedDict, total=False): ... +class PullGitCommitsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class PushGitCommitsRequest(typing_extensions.TypedDict, total=False): +class PushGitCommitsRequest(typing.TypedDict, total=False): remoteBranch: str @typing.type_check_only -class PushGitCommitsResponse(typing_extensions.TypedDict, total=False): ... +class PushGitCommitsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class QueryCompilationResultActionsResponse(typing_extensions.TypedDict, total=False): +class QueryCompilationResultActionsResponse(typing.TypedDict, total=False): compilationResultActions: _list[CompilationResultAction] nextPageToken: str @typing.type_check_only -class QueryDirectoryContentsResponse(typing_extensions.TypedDict, total=False): +class QueryDirectoryContentsResponse(typing.TypedDict, total=False): directoryEntries: _list[DirectoryEntry] nextPageToken: str @typing.type_check_only -class QueryFolderContentsResponse(typing_extensions.TypedDict, total=False): +class QueryFolderContentsResponse(typing.TypedDict, total=False): entries: _list[FolderContentsEntry] nextPageToken: str @typing.type_check_only -class QueryRepositoryDirectoryContentsResponse( - typing_extensions.TypedDict, total=False -): +class QueryRepositoryDirectoryContentsResponse(typing.TypedDict, total=False): directoryEntries: _list[DirectoryEntry] nextPageToken: str @typing.type_check_only -class QueryTeamFolderContentsResponse(typing_extensions.TypedDict, total=False): +class QueryTeamFolderContentsResponse(typing.TypedDict, total=False): entries: _list[TeamFolderContentsEntry] nextPageToken: str @typing.type_check_only -class QueryUserRootContentsResponse(typing_extensions.TypedDict, total=False): +class QueryUserRootContentsResponse(typing.TypedDict, total=False): entries: _list[RootContentsEntry] nextPageToken: str @typing.type_check_only -class QueryWorkflowInvocationActionsResponse(typing_extensions.TypedDict, total=False): +class QueryWorkflowInvocationActionsResponse(typing.TypedDict, total=False): nextPageToken: str workflowInvocationActions: _list[WorkflowInvocationAction] @typing.type_check_only -class ReadFileResponse(typing_extensions.TypedDict, total=False): +class ReadFileResponse(typing.TypedDict, total=False): fileContents: str @typing.type_check_only -class ReadRepositoryFileResponse(typing_extensions.TypedDict, total=False): +class ReadRepositoryFileResponse(typing.TypedDict, total=False): contents: str @typing.type_check_only -class Relation(typing_extensions.TypedDict, total=False): +class Relation(typing.TypedDict, total=False): additionalOptions: dict[str, typing.Any] clusterExpressions: _list[str] connection: str dependencyTargets: _list[Target] disabled: bool - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] incrementalTableConfig: IncrementalTableConfig partitionExpirationDays: int partitionExpression: str postOperations: _list[str] preOperations: _list[str] relationDescriptor: RelationDescriptor - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "TABLE", "VIEW", @@ -567,17 +581,17 @@ class Relation(typing_extensions.TypedDict, total=False): requirePartitionFilter: bool selectQuery: str storageUri: str - tableFormat: typing_extensions.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] + tableFormat: typing.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] tags: _list[str] @typing.type_check_only -class RelationDescriptor(typing_extensions.TypedDict, total=False): +class RelationDescriptor(typing.TypedDict, total=False): bigqueryLabels: dict[str, typing.Any] columns: _list[ColumnDescriptor] description: str @typing.type_check_only -class ReleaseConfig(typing_extensions.TypedDict, total=False): +class ReleaseConfig(typing.TypedDict, total=False): codeCompilationConfig: CodeCompilationConfig cronSchedule: str disabled: bool @@ -589,21 +603,21 @@ class ReleaseConfig(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class RemoveDirectoryRequest(typing_extensions.TypedDict, total=False): +class RemoveDirectoryRequest(typing.TypedDict, total=False): path: str @typing.type_check_only -class RemoveDirectoryResponse(typing_extensions.TypedDict, total=False): ... +class RemoveDirectoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveFileRequest(typing_extensions.TypedDict, total=False): +class RemoveFileRequest(typing.TypedDict, total=False): path: str @typing.type_check_only -class RemoveFileResponse(typing_extensions.TypedDict, total=False): ... +class RemoveFileResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): containingFolder: str createTime: str dataEncryptionState: DataEncryptionState @@ -620,82 +634,82 @@ class Repository(typing_extensions.TypedDict, total=False): workspaceCompilationOverrides: WorkspaceCompilationOverrides @typing.type_check_only -class ResetWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): +class ResetWorkspaceChangesRequest(typing.TypedDict, total=False): clean: bool paths: _list[str] @typing.type_check_only -class ResetWorkspaceChangesResponse(typing_extensions.TypedDict, total=False): ... +class ResetWorkspaceChangesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RootContentsEntry(typing_extensions.TypedDict, total=False): +class RootContentsEntry(typing.TypedDict, total=False): folder: Folder repository: Repository @typing.type_check_only -class ScheduledExecutionRecord(typing_extensions.TypedDict, total=False): +class ScheduledExecutionRecord(typing.TypedDict, total=False): errorStatus: Status executionTime: str workflowInvocation: str @typing.type_check_only -class ScheduledReleaseRecord(typing_extensions.TypedDict, total=False): +class ScheduledReleaseRecord(typing.TypedDict, total=False): compilationResult: str errorStatus: Status releaseTime: str @typing.type_check_only -class SearchFilesResponse(typing_extensions.TypedDict, total=False): +class SearchFilesResponse(typing.TypedDict, total=False): nextPageToken: str searchResults: _list[SearchResult] @typing.type_check_only -class SearchResult(typing_extensions.TypedDict, total=False): +class SearchResult(typing.TypedDict, total=False): directory: DirectorySearchResult file: FileSearchResult @typing.type_check_only -class SearchTeamFoldersResponse(typing_extensions.TypedDict, total=False): +class SearchTeamFoldersResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[TeamFolderSearchResult] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class SimpleLoadMode(typing_extensions.TypedDict, total=False): ... +class SimpleLoadMode(typing.TypedDict, total=False): ... @typing.type_check_only -class SqlDefinition(typing_extensions.TypedDict, total=False): +class SqlDefinition(typing.TypedDict, total=False): errorTable: ErrorTable load: LoadConfig query: str @typing.type_check_only -class SshAuthenticationConfig(typing_extensions.TypedDict, total=False): +class SshAuthenticationConfig(typing.TypedDict, total=False): hostPublicKey: str userPrivateKeySecretVersion: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TableUpdateTrigger(typing_extensions.TypedDict, total=False): +class TableUpdateTrigger(typing.TypedDict, total=False): table: Target triggerUpdateTime: str @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): database: str name: str schema: str @typing.type_check_only -class TeamFolder(typing_extensions.TypedDict, total=False): +class TeamFolder(typing.TypedDict, total=False): createTime: str creatorIamPrincipal: str displayName: str @@ -704,36 +718,36 @@ class TeamFolder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TeamFolderContentsEntry(typing_extensions.TypedDict, total=False): +class TeamFolderContentsEntry(typing.TypedDict, total=False): folder: Folder repository: Repository @typing.type_check_only -class TeamFolderSearchResult(typing_extensions.TypedDict, total=False): +class TeamFolderSearchResult(typing.TypedDict, total=False): teamFolder: TeamFolder @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TriggerEvaluationRecord(typing_extensions.TypedDict, total=False): +class TriggerEvaluationRecord(typing.TypedDict, total=False): evaluationTime: str status: Status @typing.type_check_only -class UncommittedFileChange(typing_extensions.TypedDict, total=False): +class UncommittedFileChange(typing.TypedDict, total=False): path: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ADDED", "DELETED", "MODIFIED", "HAS_CONFLICTS" ] @typing.type_check_only -class WorkflowConfig(typing_extensions.TypedDict, total=False): +class WorkflowConfig(typing.TypedDict, total=False): createTime: str cronSchedule: str disabled: bool @@ -747,22 +761,23 @@ class WorkflowConfig(typing_extensions.TypedDict, total=False): workflowTriggerConfig: WorkflowTriggerConfig @typing.type_check_only -class WorkflowInvocation(typing_extensions.TypedDict, total=False): +class WorkflowInvocation(typing.TypedDict, total=False): compilationResult: str dataEncryptionState: DataEncryptionState internalMetadata: str invocationConfig: InvocationConfig invocationTiming: Interval name: str + pipelineConfig: PipelineConfig privateResourceMetadata: PrivateResourceMetadata resolvedCompilationResult: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED", "CANCELING" ] workflowConfig: str @typing.type_check_only -class WorkflowInvocationAction(typing_extensions.TypedDict, total=False): +class WorkflowInvocationAction(typing.TypedDict, total=False): bigqueryAction: BigQueryAction canonicalTarget: Target dataPreparationAction: DataPreparationAction @@ -770,18 +785,18 @@ class WorkflowInvocationAction(typing_extensions.TypedDict, total=False): internalMetadata: str invocationTiming: Interval notebookAction: NotebookAction - state: typing_extensions.Literal[ + state: typing.Literal[ "PENDING", "RUNNING", "SKIPPED", "DISABLED", "SUCCEEDED", "CANCELLED", "FAILED" ] target: Target @typing.type_check_only -class WorkflowTrigger(typing_extensions.TypedDict, total=False): +class WorkflowTrigger(typing.TypedDict, total=False): tableUpdateTrigger: TableUpdateTrigger @typing.type_check_only -class WorkflowTriggerConfig(typing_extensions.TypedDict, total=False): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "ALL", "ANY"] +class WorkflowTriggerConfig(typing.TypedDict, total=False): + condition: typing.Literal["CONDITION_UNSPECIFIED", "ALL", "ANY"] lastSuccessfulEvaluationTime: str maxWaitDuration: str minExecutionDuration: str @@ -789,7 +804,7 @@ class WorkflowTriggerConfig(typing_extensions.TypedDict, total=False): workflowTriggers: _list[WorkflowTrigger] @typing.type_check_only -class Workspace(typing_extensions.TypedDict, total=False): +class Workspace(typing.TypedDict, total=False): createTime: str dataEncryptionState: DataEncryptionState disableMoves: bool @@ -798,19 +813,19 @@ class Workspace(typing_extensions.TypedDict, total=False): privateResourceMetadata: PrivateResourceMetadata @typing.type_check_only -class WorkspaceCompilationOverrides(typing_extensions.TypedDict, total=False): +class WorkspaceCompilationOverrides(typing.TypedDict, total=False): defaultDatabase: str schemaSuffix: str tablePrefix: str @typing.type_check_only -class WriteFile(typing_extensions.TypedDict, total=False): +class WriteFile(typing.TypedDict, total=False): contents: str @typing.type_check_only -class WriteFileRequest(typing_extensions.TypedDict, total=False): +class WriteFileRequest(typing.TypedDict, total=False): contents: str path: str @typing.type_check_only -class WriteFileResponse(typing_extensions.TypedDict, total=False): ... +class WriteFileResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi b/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi index 59ad48e7b..9263ad4e3 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi index 8df101723..6c995189e 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi @@ -1,49 +1,45 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): - acceleratorType: typing_extensions.Literal[ +class Accelerator(typing.TypedDict, total=False): + acceleratorType: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "CDC", "HEALTHCARE", "CCAI_INSIGHTS", "CLOUDSEARCH", ] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "UNKNOWN" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "UNKNOWN"] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CryptoKeyConfig(typing_extensions.TypedDict, total=False): +class CryptoKeyConfig(typing.TypedDict, total=False): keyReference: str @typing.type_check_only -class DnsPeering(typing_extensions.TypedDict, total=False): +class DnsPeering(typing.TypedDict, total=False): description: str domain: str name: str @@ -51,22 +47,22 @@ class DnsPeering(typing_extensions.TypedDict, total=False): targetProject: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EventPublishConfig(typing_extensions.TypedDict, total=False): +class EventPublishConfig(typing.TypedDict, total=False): enabled: bool topic: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): accelerators: _list[Accelerator] apiEndpoint: str availableVersion: _list[Version] @@ -76,7 +72,7 @@ class Instance(typing_extensions.TypedDict, total=False): dataprocServiceAccount: str description: str disabledReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "DISABLED_REASON_UNSPECIFIED", "KMS_KEY_ISSUE", "PROJECT_STATE_OFF" ] ] @@ -102,7 +98,7 @@ class Instance(typing_extensions.TypedDict, total=False): satisfiesPzs: bool serviceAccount: str serviceEndpoint: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -119,44 +115,42 @@ class Instance(typing_extensions.TypedDict, total=False): stateMessage: str tags: dict[str, typing.Any] tenantProjectId: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "BASIC", "ENTERPRISE", "DEVELOPER" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "BASIC", "ENTERPRISE", "DEVELOPER"] updateTime: str version: str workforceIdentityServiceEndpoint: str zone: str @typing.type_check_only -class ListAvailableVersionsResponse(typing_extensions.TypedDict, total=False): +class ListAvailableVersionsResponse(typing.TypedDict, total=False): availableVersions: _list[Version] nextPageToken: str versions: _list[Version] @typing.type_check_only -class ListDnsPeeringsResponse(typing_extensions.TypedDict, total=False): +class ListDnsPeeringsResponse(typing.TypedDict, total=False): dnsPeerings: _list[DnsPeering] nextPageToken: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -164,34 +158,32 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): enableInstanceV2Logs: bool instanceCloudLoggingDisabled: bool @typing.type_check_only -class MaintenanceEvent(typing_extensions.TypedDict, total=False): +class MaintenanceEvent(typing.TypedDict, total=False): endTime: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "COMPLETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "COMPLETED"] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): maintenanceExclusionWindow: TimeWindow maintenanceWindow: MaintenanceWindow @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): recurringTimeWindow: RecurringTimeWindow @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): enableInstanceV2Metrics: bool @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "VPC_PEERING", "PRIVATE_SERVICE_CONNECT_INTERFACES", @@ -201,7 +193,7 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): privateServiceConnectConfig: PrivateServiceConnectConfig @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -209,7 +201,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): additionalStatus: dict[str, typing.Any] apiVersion: str createTime: str @@ -220,55 +212,55 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrivateServiceConnectConfig(typing_extensions.TypedDict, total=False): +class PrivateServiceConnectConfig(typing.TypedDict, total=False): effectiveUnreachableCidrBlock: str networkAttachment: str unreachableCidrBlock: str @typing.type_check_only -class RecurringTimeWindow(typing_extensions.TypedDict, total=False): +class RecurringTimeWindow(typing.TypedDict, total=False): recurrence: str window: TimeWindow @typing.type_check_only -class RestartInstanceRequest(typing_extensions.TypedDict, total=False): ... +class RestartInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeWindow(typing_extensions.TypedDict, total=False): +class TimeWindow(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): availableFeatures: _list[str] defaultVersion: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PREVIEW", "TYPE_GENERAL_AVAILABILITY", diff --git a/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi index 6e1963139..69e3a30df 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -61,7 +60,7 @@ class DataFusionResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "NAMESPACE_VIEW_UNSPECIFIED", "NAMESPACE_VIEW_BASIC", "NAMESPACE_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi index 5f16b918e..9887221f8 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi @@ -1,49 +1,45 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): - acceleratorType: typing_extensions.Literal[ +class Accelerator(typing.TypedDict, total=False): + acceleratorType: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "CDC", "HEALTHCARE", "CCAI_INSIGHTS", "CLOUDSEARCH", ] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "UNKNOWN" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "UNKNOWN"] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CryptoKeyConfig(typing_extensions.TypedDict, total=False): +class CryptoKeyConfig(typing.TypedDict, total=False): keyReference: str @typing.type_check_only -class DnsPeering(typing_extensions.TypedDict, total=False): +class DnsPeering(typing.TypedDict, total=False): description: str domain: str name: str @@ -51,27 +47,27 @@ class DnsPeering(typing_extensions.TypedDict, total=False): targetProject: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EventPublishConfig(typing_extensions.TypedDict, total=False): +class EventPublishConfig(typing.TypedDict, total=False): enabled: bool topic: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class IAMPolicy(typing_extensions.TypedDict, total=False): +class IAMPolicy(typing.TypedDict, total=False): policy: Policy status: Status @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): accelerators: _list[Accelerator] apiEndpoint: str availableVersion: _list[Version] @@ -81,7 +77,7 @@ class Instance(typing_extensions.TypedDict, total=False): dataprocServiceAccount: str description: str disabledReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "DISABLED_REASON_UNSPECIFIED", "KMS_KEY_ISSUE", "PROJECT_STATE_OFF" ] ] @@ -107,7 +103,7 @@ class Instance(typing_extensions.TypedDict, total=False): satisfiesPzs: bool serviceAccount: str serviceEndpoint: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", @@ -124,49 +120,47 @@ class Instance(typing_extensions.TypedDict, total=False): stateMessage: str tags: dict[str, typing.Any] tenantProjectId: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "BASIC", "ENTERPRISE", "DEVELOPER" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "BASIC", "ENTERPRISE", "DEVELOPER"] updateTime: str version: str workforceIdentityServiceEndpoint: str zone: str @typing.type_check_only -class ListAvailableVersionsResponse(typing_extensions.TypedDict, total=False): +class ListAvailableVersionsResponse(typing.TypedDict, total=False): availableVersions: _list[Version] nextPageToken: str versions: _list[Version] @typing.type_check_only -class ListDnsPeeringsResponse(typing_extensions.TypedDict, total=False): +class ListDnsPeeringsResponse(typing.TypedDict, total=False): dnsPeerings: _list[DnsPeering] nextPageToken: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNamespacesResponse(typing_extensions.TypedDict, total=False): +class ListNamespacesResponse(typing.TypedDict, total=False): namespaces: _list[Namespace] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -174,39 +168,37 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): enableInstanceV2Logs: bool instanceCloudLoggingDisabled: bool @typing.type_check_only -class MaintenanceEvent(typing_extensions.TypedDict, total=False): +class MaintenanceEvent(typing.TypedDict, total=False): endTime: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "COMPLETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "SCHEDULED", "STARTED", "COMPLETED"] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): maintenanceExclusionWindow: TimeWindow maintenanceWindow: MaintenanceWindow @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): recurringTimeWindow: RecurringTimeWindow @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): enableInstanceV2Metrics: bool @typing.type_check_only -class Namespace(typing_extensions.TypedDict, total=False): +class Namespace(typing.TypedDict, total=False): iamPolicy: IAMPolicy name: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "VPC_PEERING", "PRIVATE_SERVICE_CONNECT_INTERFACES", @@ -216,7 +208,7 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): privateServiceConnectConfig: PrivateServiceConnectConfig @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -224,7 +216,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): additionalStatus: dict[str, typing.Any] apiVersion: str createTime: str @@ -235,64 +227,64 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrivateServiceConnectConfig(typing_extensions.TypedDict, total=False): +class PrivateServiceConnectConfig(typing.TypedDict, total=False): effectiveUnreachableCidrBlock: str networkAttachment: str unreachableCidrBlock: str @typing.type_check_only -class RecurringTimeWindow(typing_extensions.TypedDict, total=False): +class RecurringTimeWindow(typing.TypedDict, total=False): recurrence: str window: TimeWindow @typing.type_check_only -class RemoveIamPolicyRequest(typing_extensions.TypedDict, total=False): ... +class RemoveIamPolicyRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveIamPolicyResponse(typing_extensions.TypedDict, total=False): ... +class RemoveIamPolicyResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RestartInstanceRequest(typing_extensions.TypedDict, total=False): ... +class RestartInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeWindow(typing_extensions.TypedDict, total=False): +class TimeWindow(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpgradeInstanceRequest(typing_extensions.TypedDict, total=False): ... +class UpgradeInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): availableFeatures: _list[str] defaultVersion: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PREVIEW", "TYPE_GENERAL_AVAILABILITY", diff --git a/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi index 0079f05a3..2f5c9c9f4 100644 --- a/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi index 3c8a57f8d..0af3745b1 100644 --- a/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str instruction: str @@ -14,7 +12,7 @@ class GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -23,7 +21,7 @@ class GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str dataset: str @@ -33,21 +31,19 @@ class GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse( totalCount: int @typing.type_check_only -class GoogleCloudDatalabelingV1alpha1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1alpha1GcsDestination(typing.TypedDict, total=False): mimeType: str outputUri: str @typing.type_check_only class GoogleCloudDatalabelingV1alpha1GcsFolderDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputFolderUri: str @typing.type_check_only class GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDatasetDescription: str annotatedDatasetDisplayName: str @@ -61,7 +57,7 @@ class GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig( @typing.type_check_only class GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @@ -69,7 +65,7 @@ class GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str importCount: int @@ -77,43 +73,43 @@ class GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse( @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -156,62 +152,54 @@ class GoogleCloudDatalabelingV1alpha1LabelOperationMetadata( ) @typing.type_check_only -class GoogleCloudDatalabelingV1alpha1LabelStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1alpha1LabelStats(typing.TypedDict, total=False): exampleCount: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1alpha1OutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1alpha1OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudDatalabelingV1alpha1GcsDestination gcsFolderDestination: GoogleCloudDatalabelingV1alpha1GcsFolderDestination @typing.type_check_only -class GoogleCloudDatalabelingV1beta1AnnotatedDataset( - typing_extensions.TypedDict, total=False -): - annotationSource: typing_extensions.Literal[ - "ANNOTATION_SOURCE_UNSPECIFIED", "OPERATOR" - ] - annotationType: typing_extensions.Literal[ +class GoogleCloudDatalabelingV1beta1AnnotatedDataset(typing.TypedDict, total=False): + annotationSource: typing.Literal["ANNOTATION_SOURCE_UNSPECIFIED", "OPERATOR"] + annotationType: typing.Literal[ "ANNOTATION_TYPE_UNSPECIFIED", "IMAGE_CLASSIFICATION_ANNOTATION", "IMAGE_BOUNDING_BOX_ANNOTATION", @@ -239,7 +227,7 @@ class GoogleCloudDatalabelingV1beta1AnnotatedDataset( @typing.type_check_only class GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPolyConfig: GoogleCloudDatalabelingV1beta1BoundingPolyConfig eventConfig: GoogleCloudDatalabelingV1beta1EventConfig @@ -254,37 +242,27 @@ class GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata( videoClassificationConfig: GoogleCloudDatalabelingV1beta1VideoClassificationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Annotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1Annotation(typing.TypedDict, total=False): annotationMetadata: GoogleCloudDatalabelingV1beta1AnnotationMetadata - annotationSentiment: typing_extensions.Literal[ + annotationSentiment: typing.Literal[ "ANNOTATION_SENTIMENT_UNSPECIFIED", "NEGATIVE", "POSITIVE" ] - annotationSource: typing_extensions.Literal[ - "ANNOTATION_SOURCE_UNSPECIFIED", "OPERATOR" - ] + annotationSource: typing.Literal["ANNOTATION_SOURCE_UNSPECIFIED", "OPERATOR"] annotationValue: GoogleCloudDatalabelingV1beta1AnnotationValue name: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1AnnotationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1AnnotationMetadata(typing.TypedDict, total=False): operatorMetadata: GoogleCloudDatalabelingV1beta1OperatorMetadata @typing.type_check_only -class GoogleCloudDatalabelingV1beta1AnnotationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1AnnotationSpec(typing.TypedDict, total=False): description: str displayName: str index: int @typing.type_check_only -class GoogleCloudDatalabelingV1beta1AnnotationSpecSet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1AnnotationSpecSet(typing.TypedDict, total=False): annotationSpecs: _list[GoogleCloudDatalabelingV1beta1AnnotationSpec] blockingResources: _list[str] description: str @@ -293,15 +271,13 @@ class GoogleCloudDatalabelingV1beta1AnnotationSpecSet( @typing.type_check_only class GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMultiLabel: bool annotationSpecSet: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1AnnotationValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1AnnotationValue(typing.TypedDict, total=False): imageBoundingPolyAnnotation: ( GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation ) @@ -327,51 +303,45 @@ class GoogleCloudDatalabelingV1beta1AnnotationValue( ) @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Attempt(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1Attempt(typing.TypedDict, total=False): attemptTime: str partialFailures: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDatalabelingV1beta1BigQuerySource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1BigQuerySource(typing.TypedDict, total=False): inputUri: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): iouThreshold: float @typing.type_check_only -class GoogleCloudDatalabelingV1beta1BoundingPoly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1BoundingPoly(typing.TypedDict, total=False): vertices: _list[GoogleCloudDatalabelingV1beta1Vertex] @typing.type_check_only -class GoogleCloudDatalabelingV1beta1BoundingPolyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1BoundingPolyConfig(typing.TypedDict, total=False): annotationSpecSet: str instructionMessage: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1ClassificationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isMultiLabel: bool @typing.type_check_only class GoogleCloudDatalabelingV1beta1ClassificationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confusionMatrix: GoogleCloudDatalabelingV1beta1ConfusionMatrix prCurve: GoogleCloudDatalabelingV1beta1PrCurve @typing.type_check_only class GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float f1Score: float @@ -385,39 +355,33 @@ class GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry( recallAt5: float @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ConfusionMatrix( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ConfusionMatrix(typing.TypedDict, total=False): row: _list[GoogleCloudDatalabelingV1beta1Row] @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry(typing.TypedDict, total=False): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec itemCount: int @typing.type_check_only class GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecSet: GoogleCloudDatalabelingV1beta1AnnotationSpecSet @typing.type_check_only -class GoogleCloudDatalabelingV1beta1CreateDatasetRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1CreateDatasetRequest(typing.TypedDict, total=False): dataset: GoogleCloudDatalabelingV1beta1Dataset @typing.type_check_only class GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): job: GoogleCloudDatalabelingV1beta1EvaluationJob @typing.type_check_only class GoogleCloudDatalabelingV1beta1CreateInstructionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str instruction: str @@ -425,25 +389,23 @@ class GoogleCloudDatalabelingV1beta1CreateInstructionMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1beta1CreateInstructionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instruction: GoogleCloudDatalabelingV1beta1Instruction @typing.type_check_only -class GoogleCloudDatalabelingV1beta1CsvInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1CsvInstruction(typing.TypedDict, total=False): gcsFileUri: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1DataItem(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1DataItem(typing.TypedDict, total=False): imagePayload: GoogleCloudDatalabelingV1beta1ImagePayload name: str textPayload: GoogleCloudDatalabelingV1beta1TextPayload videoPayload: GoogleCloudDatalabelingV1beta1VideoPayload @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1Dataset(typing.TypedDict, total=False): blockingResources: _list[str] createTime: str dataItemCount: str @@ -454,10 +416,8 @@ class GoogleCloudDatalabelingV1beta1Dataset(typing_extensions.TypedDict, total=F name: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Evaluation( - typing_extensions.TypedDict, total=False -): - annotationType: typing_extensions.Literal[ +class GoogleCloudDatalabelingV1beta1Evaluation(typing.TypedDict, total=False): + annotationType: typing.Literal[ "ANNOTATION_TYPE_UNSPECIFIED", "IMAGE_CLASSIFICATION_ANNOTATION", "IMAGE_BOUNDING_BOX_ANNOTATION", @@ -481,17 +441,13 @@ class GoogleCloudDatalabelingV1beta1Evaluation( name: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1EvaluationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1EvaluationConfig(typing.TypedDict, total=False): boundingBoxEvaluationOptions: ( GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions ) @typing.type_check_only -class GoogleCloudDatalabelingV1beta1EvaluationJob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1EvaluationJob(typing.TypedDict, total=False): annotationSpecSet: str attempts: _list[GoogleCloudDatalabelingV1beta1Attempt] createTime: str @@ -501,21 +457,19 @@ class GoogleCloudDatalabelingV1beta1EvaluationJob( modelVersion: str name: str schedule: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SCHEDULED", "RUNNING", "PAUSED", "STOPPED" ] @typing.type_check_only class GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str minAcceptableMeanAveragePrecision: float @typing.type_check_only -class GoogleCloudDatalabelingV1beta1EvaluationJobConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1EvaluationJobConfig(typing.TypedDict, total=False): bigqueryImportKeys: dict[str, typing.Any] boundingPolyConfig: GoogleCloudDatalabelingV1beta1BoundingPolyConfig evaluationConfig: GoogleCloudDatalabelingV1beta1EvaluationConfig @@ -528,22 +482,18 @@ class GoogleCloudDatalabelingV1beta1EvaluationJobConfig( textClassificationConfig: GoogleCloudDatalabelingV1beta1TextClassificationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1beta1EvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1EvaluationMetrics(typing.TypedDict, total=False): classificationMetrics: GoogleCloudDatalabelingV1beta1ClassificationMetrics objectDetectionMetrics: GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics @typing.type_check_only -class GoogleCloudDatalabelingV1beta1EventConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1EventConfig(typing.TypedDict, total=False): annotationSpecSets: _list[str] clipLength: int overlapLength: int @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Example(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1Example(typing.TypedDict, total=False): annotations: _list[GoogleCloudDatalabelingV1beta1Annotation] imagePayload: GoogleCloudDatalabelingV1beta1ImagePayload name: str @@ -551,15 +501,13 @@ class GoogleCloudDatalabelingV1beta1Example(typing_extensions.TypedDict, total=F videoPayload: GoogleCloudDatalabelingV1beta1VideoPayload @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ExampleComparison( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ExampleComparison(typing.TypedDict, total=False): groundTruthExample: GoogleCloudDatalabelingV1beta1Example modelCreatedExamples: _list[GoogleCloudDatalabelingV1beta1Example] @typing.type_check_only class GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -568,7 +516,7 @@ class GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ExportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str dataset: str @@ -578,18 +526,14 @@ class GoogleCloudDatalabelingV1beta1ExportDataOperationResponse( totalCount: int @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ExportDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ExportDataRequest(typing.TypedDict, total=False): annotatedDataset: str filter: str outputConfig: GoogleCloudDatalabelingV1beta1OutputConfig userEmailAddress: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1FeedbackMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1FeedbackMessage(typing.TypedDict, total=False): body: str createTime: str image: str @@ -598,44 +542,36 @@ class GoogleCloudDatalabelingV1beta1FeedbackMessage( requesterFeedbackMetadata: GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata @typing.type_check_only -class GoogleCloudDatalabelingV1beta1FeedbackThread( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1FeedbackThread(typing.TypedDict, total=False): feedbackThreadMetadata: GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata name: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str lastUpdateTime: str - status: typing_extensions.Literal[ - "FEEDBACK_THREAD_STATUS_UNSPECIFIED", "NEW", "REPLIED" - ] + status: typing.Literal["FEEDBACK_THREAD_STATUS_UNSPECIFIED", "NEW", "REPLIED"] thumbnail: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1GcsDestination(typing.TypedDict, total=False): mimeType: str outputUri: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1GcsFolderDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1GcsFolderDestination(typing.TypedDict, total=False): outputFolderUri: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1GcsSource(typing.TypedDict, total=False): inputUri: str mimeType: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1HumanAnnotationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDatasetDescription: str annotatedDatasetDisplayName: str @@ -649,7 +585,7 @@ class GoogleCloudDatalabelingV1beta1HumanAnnotationConfig( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec boundingPoly: GoogleCloudDatalabelingV1beta1BoundingPoly @@ -657,17 +593,17 @@ class GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec @typing.type_check_only class GoogleCloudDatalabelingV1beta1ImageClassificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMultiLabel: bool annotationSpecSet: str - answerAggregationType: typing_extensions.Literal[ + answerAggregationType: typing.Literal[ "STRING_AGGREGATION_TYPE_UNSPECIFIED", "MAJORITY_VOTE", "UNANIMOUS_VOTE", @@ -675,9 +611,7 @@ class GoogleCloudDatalabelingV1beta1ImageClassificationConfig( ] @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ImagePayload( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ImagePayload(typing.TypedDict, total=False): imageThumbnail: str imageUri: str mimeType: str @@ -685,7 +619,7 @@ class GoogleCloudDatalabelingV1beta1ImagePayload( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec normalizedPolyline: GoogleCloudDatalabelingV1beta1NormalizedPolyline @@ -693,7 +627,7 @@ class GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationColors: dict[str, typing.Any] imageBytes: str @@ -701,7 +635,7 @@ class GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @@ -709,24 +643,20 @@ class GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ImportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str importCount: int totalCount: int @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ImportDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ImportDataRequest(typing.TypedDict, total=False): inputConfig: GoogleCloudDatalabelingV1beta1InputConfig userEmailAddress: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1InputConfig( - typing_extensions.TypedDict, total=False -): - annotationType: typing_extensions.Literal[ +class GoogleCloudDatalabelingV1beta1InputConfig(typing.TypedDict, total=False): + annotationType: typing.Literal[ "ANNOTATION_TYPE_UNSPECIFIED", "IMAGE_CLASSIFICATION_ANNOTATION", "IMAGE_BOUNDING_BOX_ANNOTATION", @@ -744,20 +674,18 @@ class GoogleCloudDatalabelingV1beta1InputConfig( ] bigquerySource: GoogleCloudDatalabelingV1beta1BigQuerySource classificationMetadata: GoogleCloudDatalabelingV1beta1ClassificationMetadata - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "IMAGE", "VIDEO", "TEXT", "GENERAL_DATA" ] gcsSource: GoogleCloudDatalabelingV1beta1GcsSource textMetadata: GoogleCloudDatalabelingV1beta1TextMetadata @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Instruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1Instruction(typing.TypedDict, total=False): blockingResources: _list[str] createTime: str csvInstruction: GoogleCloudDatalabelingV1beta1CsvInstruction - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "IMAGE", "VIDEO", "TEXT", "GENERAL_DATA" ] description: str @@ -768,41 +696,39 @@ class GoogleCloudDatalabelingV1beta1Instruction( @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1beta1LabelImageRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1LabelImageRequest(typing.TypedDict, total=False): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig boundingPolyConfig: GoogleCloudDatalabelingV1beta1BoundingPolyConfig - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "CLASSIFICATION", "BOUNDING_BOX", @@ -817,13 +743,13 @@ class GoogleCloudDatalabelingV1beta1LabelImageRequest( @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -866,29 +792,25 @@ class GoogleCloudDatalabelingV1beta1LabelOperationMetadata( ) @typing.type_check_only -class GoogleCloudDatalabelingV1beta1LabelStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1LabelStats(typing.TypedDict, total=False): exampleCount: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1beta1LabelTextRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1LabelTextRequest(typing.TypedDict, total=False): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "TEXT_CLASSIFICATION", "TEXT_ENTITY_EXTRACTION" ] textClassificationConfig: GoogleCloudDatalabelingV1beta1TextClassificationConfig @@ -896,35 +818,33 @@ class GoogleCloudDatalabelingV1beta1LabelTextRequest( @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1beta1LabelVideoRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1LabelVideoRequest(typing.TypedDict, total=False): basicConfig: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig eventConfig: GoogleCloudDatalabelingV1beta1EventConfig - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "CLASSIFICATION", "OBJECT_DETECTION", @@ -937,160 +857,140 @@ class GoogleCloudDatalabelingV1beta1LabelVideoRequest( @typing.type_check_only class GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDatasets: _list[GoogleCloudDatalabelingV1beta1AnnotatedDataset] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecSets: _list[GoogleCloudDatalabelingV1beta1AnnotationSpecSet] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1ListDataItemsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataItems: _list[GoogleCloudDatalabelingV1beta1DataItem] nextPageToken: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ListDatasetsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ListDatasetsResponse(typing.TypedDict, total=False): datasets: _list[GoogleCloudDatalabelingV1beta1Dataset] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationJobs: _list[GoogleCloudDatalabelingV1beta1EvaluationJob] nextPageToken: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ListExamplesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ListExamplesResponse(typing.TypedDict, total=False): examples: _list[GoogleCloudDatalabelingV1beta1Example] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackMessages: _list[GoogleCloudDatalabelingV1beta1FeedbackMessage] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackThreads: _list[GoogleCloudDatalabelingV1beta1FeedbackThread] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1ListInstructionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructions: _list[GoogleCloudDatalabelingV1beta1Instruction] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedVertices: _list[GoogleCloudDatalabelingV1beta1NormalizedVertex] @typing.type_check_only -class GoogleCloudDatalabelingV1beta1NormalizedPolyline( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1NormalizedPolyline(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudDatalabelingV1beta1NormalizedVertex] @typing.type_check_only -class GoogleCloudDatalabelingV1beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudDatalabelingV1beta1ObjectDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecSet: str extractionFrameRate: float @typing.type_check_only class GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): prCurve: GoogleCloudDatalabelingV1beta1PrCurve @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ObjectTrackingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ObjectTrackingConfig(typing.TypedDict, total=False): annotationSpecSet: str clipLength: int overlapLength: int @typing.type_check_only -class GoogleCloudDatalabelingV1beta1ObjectTrackingFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1ObjectTrackingFrame(typing.TypedDict, total=False): boundingPoly: GoogleCloudDatalabelingV1beta1BoundingPoly normalizedBoundingPoly: GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly timeOffset: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDatalabelingV1beta1OperatorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1OperatorMetadata(typing.TypedDict, total=False): comments: _list[str] labelVotes: int score: float totalVotes: int @typing.type_check_only -class GoogleCloudDatalabelingV1beta1OutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudDatalabelingV1beta1GcsDestination gcsFolderDestination: GoogleCloudDatalabelingV1beta1GcsFolderDestination @typing.type_check_only class GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDatalabelingV1beta1PdfInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1PdfInstruction(typing.TypedDict, total=False): gcsFileUri: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Polyline(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1Polyline(typing.TypedDict, total=False): vertices: _list[GoogleCloudDatalabelingV1beta1Vertex] @typing.type_check_only -class GoogleCloudDatalabelingV1beta1PolylineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1PolylineConfig(typing.TypedDict, total=False): annotationSpecSet: str instructionMessage: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1PrCurve(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1PrCurve(typing.TypedDict, total=False): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec areaUnderCurve: float confidenceMetricsEntries: _list[ @@ -1100,69 +1000,63 @@ class GoogleCloudDatalabelingV1beta1PrCurve(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Row(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1Row(typing.TypedDict, total=False): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec entries: _list[GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry] @typing.type_check_only class GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluations: _list[GoogleCloudDatalabelingV1beta1Evaluation] nextPageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @typing.type_check_only class GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exampleComparisons: _list[GoogleCloudDatalabelingV1beta1ExampleComparison] nextPageToken: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1SegmentationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1SegmentationConfig(typing.TypedDict, total=False): annotationSpecSet: str instructionMessage: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1SentimentConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1SentimentConfig(typing.TypedDict, total=False): enableLabelSentimentSelection: bool @typing.type_check_only -class GoogleCloudDatalabelingV1beta1SequentialSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1SequentialSegment(typing.TypedDict, total=False): end: int start: int @typing.type_check_only class GoogleCloudDatalabelingV1beta1TextClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec @typing.type_check_only class GoogleCloudDatalabelingV1beta1TextClassificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMultiLabel: bool annotationSpecSet: str @@ -1170,51 +1064,45 @@ class GoogleCloudDatalabelingV1beta1TextClassificationConfig( @typing.type_check_only class GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec sequentialSegment: GoogleCloudDatalabelingV1beta1SequentialSegment @typing.type_check_only class GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecSet: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1TextMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1TextMetadata(typing.TypedDict, total=False): languageCode: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1TextPayload( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1TextPayload(typing.TypedDict, total=False): textContent: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1TimeSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1TimeSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDatalabelingV1beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only class GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec timeSegment: GoogleCloudDatalabelingV1beta1TimeSegment @typing.type_check_only class GoogleCloudDatalabelingV1beta1VideoClassificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpecSetConfigs: _list[ GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig @@ -1222,24 +1110,20 @@ class GoogleCloudDatalabelingV1beta1VideoClassificationConfig( applyShotDetection: bool @typing.type_check_only -class GoogleCloudDatalabelingV1beta1VideoEventAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1VideoEventAnnotation(typing.TypedDict, total=False): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec timeSegment: GoogleCloudDatalabelingV1beta1TimeSegment @typing.type_check_only class GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationSpec: GoogleCloudDatalabelingV1beta1AnnotationSpec objectTrackingFrames: _list[GoogleCloudDatalabelingV1beta1ObjectTrackingFrame] timeSegment: GoogleCloudDatalabelingV1beta1TimeSegment @typing.type_check_only -class GoogleCloudDatalabelingV1beta1VideoPayload( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1VideoPayload(typing.TypedDict, total=False): frameRate: float mimeType: str signedUri: str @@ -1247,15 +1131,13 @@ class GoogleCloudDatalabelingV1beta1VideoPayload( videoUri: str @typing.type_check_only -class GoogleCloudDatalabelingV1beta1VideoThumbnail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1beta1VideoThumbnail(typing.TypedDict, total=False): thumbnail: str timeOffset: str @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str instruction: str @@ -1263,7 +1145,7 @@ class GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -1272,7 +1154,7 @@ class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str dataset: str @@ -1282,28 +1164,26 @@ class GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse( totalCount: int @typing.type_check_only -class GoogleCloudDatalabelingV1p1alpha1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1p1alpha1GcsDestination(typing.TypedDict, total=False): mimeType: str outputUri: str @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputFolderUri: str @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDatasetDescription: str annotatedDatasetDisplayName: str @@ -1317,7 +1197,7 @@ class GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig( @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @@ -1325,7 +1205,7 @@ class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str importCount: int @@ -1333,43 +1213,43 @@ class GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse( @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -1412,57 +1292,53 @@ class GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata( ) @typing.type_check_only -class GoogleCloudDatalabelingV1p1alpha1LabelStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1p1alpha1LabelStats(typing.TypedDict, total=False): exampleCount: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1p1alpha1OutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1p1alpha1OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudDatalabelingV1p1alpha1GcsDestination gcsFolderDestination: GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str instruction: str @@ -1470,7 +1346,7 @@ class GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -1479,7 +1355,7 @@ class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str dataset: str @@ -1489,21 +1365,19 @@ class GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse( totalCount: int @typing.type_check_only -class GoogleCloudDatalabelingV1p2alpha1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1p2alpha1GcsDestination(typing.TypedDict, total=False): mimeType: str outputUri: str @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputFolderUri: str @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDatasetDescription: str annotatedDatasetDisplayName: str @@ -1517,7 +1391,7 @@ class GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig( @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str dataset: str @@ -1525,7 +1399,7 @@ class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata( @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str importCount: int @@ -1533,43 +1407,43 @@ class GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse( @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotatedDataset: str createTime: str @@ -1612,62 +1486,58 @@ class GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata( ) @typing.type_check_only -class GoogleCloudDatalabelingV1p2alpha1LabelStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1p2alpha1LabelStats(typing.TypedDict, total=False): exampleCount: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only class GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): basicConfig: GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig @typing.type_check_only -class GoogleCloudDatalabelingV1p2alpha1OutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatalabelingV1p2alpha1OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudDatalabelingV1p2alpha1GcsDestination gcsFolderDestination: GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -1675,10 +1545,10 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi index f224cb62c..c78584945 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi index 70c67b436..0f17778c9 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudDatacatalogLineageConfigmanagementV1Config( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str ingestion: GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion @@ -14,7 +12,7 @@ class GoogleCloudDatacatalogLineageConfigmanagementV1Config( @typing.type_check_only class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rules: _list[ GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule @@ -22,16 +20,16 @@ class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion( @typing.type_check_only class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationSelector: GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector lineageEnablement: GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement @typing.type_check_only class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - integration: typing_extensions.Literal[ + integration: typing.Literal[ "INTEGRATION_UNSPECIFIED", "BIGQUERY", "DATAPROC", @@ -41,13 +39,13 @@ class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRul @typing.type_check_only class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool @typing.type_check_only class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): links: _list[str] pageSize: int @@ -55,47 +53,35 @@ class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest( @typing.type_check_only class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str processLinks: _list[GoogleCloudDatacatalogLineageV1ProcessLinks] @typing.type_check_only -class GoogleCloudDatacatalogLineageV1DependencyInfo( - typing_extensions.TypedDict, total=False -): - dependencyType: typing_extensions.Literal[ - "DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER" - ] +class GoogleCloudDatacatalogLineageV1DependencyInfo(typing.TypedDict, total=False): + dependencyType: typing.Literal["DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER"] @typing.type_check_only -class GoogleCloudDatacatalogLineageV1EntityReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1EntityReference(typing.TypedDict, total=False): field: _list[str] fullyQualifiedName: str @typing.type_check_only -class GoogleCloudDatacatalogLineageV1EventLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1EventLink(typing.TypedDict, total=False): dependencyInfo: GoogleCloudDatacatalogLineageV1DependencyInfo source: GoogleCloudDatacatalogLineageV1EntityReference target: GoogleCloudDatacatalogLineageV1EntityReference @typing.type_check_only -class GoogleCloudDatacatalogLineageV1LineageEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1LineageEvent(typing.TypedDict, total=False): endTime: str links: _list[GoogleCloudDatacatalogLineageV1EventLink] name: str startTime: str @typing.type_check_only -class GoogleCloudDatacatalogLineageV1LineageLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1LineageLink(typing.TypedDict, total=False): dependencyInfo: _list[GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo] depth: int location: str @@ -105,20 +91,18 @@ class GoogleCloudDatacatalogLineageV1LineageLink( @typing.type_check_only class GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dependencyType: typing_extensions.Literal[ - "DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER" - ] + dependencyType: typing.Literal["DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER"] @typing.type_check_only class GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): process: GoogleCloudDatacatalogLineageV1Process @typing.type_check_only -class GoogleCloudDatacatalogLineageV1Link(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogLineageV1Link(typing.TypedDict, total=False): dependencyInfo: _list[GoogleCloudDatacatalogLineageV1LinkDependencyInfo] endTime: str name: str @@ -127,57 +111,49 @@ class GoogleCloudDatacatalogLineageV1Link(typing_extensions.TypedDict, total=Fal target: GoogleCloudDatacatalogLineageV1EntityReference @typing.type_check_only -class GoogleCloudDatacatalogLineageV1LinkDependencyInfo( - typing_extensions.TypedDict, total=False -): - dependencyType: typing_extensions.Literal[ - "DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER" - ] +class GoogleCloudDatacatalogLineageV1LinkDependencyInfo(typing.TypedDict, total=False): + dependencyType: typing.Literal["DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER"] @typing.type_check_only class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lineageEvents: _list[GoogleCloudDatacatalogLineageV1LineageEvent] nextPageToken: str @typing.type_check_only class GoogleCloudDatacatalogLineageV1ListProcessesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str processes: _list[GoogleCloudDatacatalogLineageV1Process] @typing.type_check_only -class GoogleCloudDatacatalogLineageV1ListRunsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1ListRunsResponse(typing.TypedDict, total=False): nextPageToken: str runs: _list[GoogleCloudDatacatalogLineageV1Run] @typing.type_check_only class GoogleCloudDatacatalogLineageV1MultipleEntityReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entities: _list[GoogleCloudDatacatalogLineageV1EntityReference] @typing.type_check_only -class GoogleCloudDatacatalogLineageV1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str - operationType: typing_extensions.Literal["TYPE_UNSPECIFIED", "DELETE", "CREATE"] + operationType: typing.Literal["TYPE_UNSPECIFIED", "DELETE", "CREATE"] resource: str resourceUuid: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudDatacatalogLineageV1Origin(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogLineageV1Origin(typing.TypedDict, total=False): name: str - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "CUSTOM", "BIGQUERY", @@ -191,53 +167,45 @@ class GoogleCloudDatacatalogLineageV1Origin(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudDatacatalogLineageV1Process(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogLineageV1Process(typing.TypedDict, total=False): attributes: dict[str, typing.Any] displayName: str name: str origin: GoogleCloudDatacatalogLineageV1Origin @typing.type_check_only -class GoogleCloudDatacatalogLineageV1ProcessLinkInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1ProcessLinkInfo(typing.TypedDict, total=False): endTime: str link: str startTime: str @typing.type_check_only -class GoogleCloudDatacatalogLineageV1ProcessLinks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1ProcessLinks(typing.TypedDict, total=False): links: _list[GoogleCloudDatacatalogLineageV1ProcessLinkInfo] process: str @typing.type_check_only class GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lineageEvents: _list[str] process: str run: str @typing.type_check_only -class GoogleCloudDatacatalogLineageV1Run(typing_extensions.TypedDict, total=False): +class GoogleCloudDatacatalogLineageV1Run(typing.TypedDict, total=False): attributes: dict[str, typing.Any] displayName: str endTime: str name: str startTime: str - state: typing_extensions.Literal[ - "UNKNOWN", "STARTED", "COMPLETED", "FAILED", "ABORTED" - ] + state: typing.Literal["UNKNOWN", "STARTED", "COMPLETED", "FAILED", "ABORTED"] @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - direction: typing_extensions.Literal[ - "SEARCH_DIRECTION_UNSPECIFIED", "DOWNSTREAM", "UPSTREAM" - ] + direction: typing.Literal["SEARCH_DIRECTION_UNSPECIFIED", "DOWNSTREAM", "UPSTREAM"] filters: GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters limits: GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits locations: _list[str] @@ -247,23 +215,23 @@ class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest( @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entities: GoogleCloudDatacatalogLineageV1MultipleEntityReference @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dependencyTypes: _list[ - typing_extensions.Literal["DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER"] + typing.Literal["DEPENDENCY_TYPE_UNSPECIFIED", "EXACT_COPY", "OTHER"] ] - entitySet: typing_extensions.Literal["ENTITY_SET_UNSPECIFIED", "ENTITIES"] + entitySet: typing.Literal["ENTITY_SET_UNSPECIFIED", "ENTITIES"] timeRange: GoogleTypeInterval @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxDepth: int maxProcessPerLink: int @@ -271,15 +239,13 @@ class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits( @typing.type_check_only class GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): links: _list[GoogleCloudDatacatalogLineageV1LineageLink] unreachable: _list[str] @typing.type_check_only -class GoogleCloudDatacatalogLineageV1SearchLinksRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1SearchLinksRequest(typing.TypedDict, total=False): pageSize: int pageToken: str source: GoogleCloudDatacatalogLineageV1EntityReference @@ -288,25 +254,21 @@ class GoogleCloudDatacatalogLineageV1SearchLinksRequest( targets: GoogleCloudDatacatalogLineageV1MultipleEntityReference @typing.type_check_only -class GoogleCloudDatacatalogLineageV1SearchLinksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatacatalogLineageV1SearchLinksResponse(typing.TypedDict, total=False): links: _list[GoogleCloudDatacatalogLineageV1Link] nextPageToken: str @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -314,15 +276,15 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeInterval(typing_extensions.TypedDict, total=False): +class GoogleTypeInterval(typing.TypedDict, total=False): endTime: str startTime: str diff --git a/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi b/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi index f0bd0ec73..c25882564 100644 --- a/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -210,6 +209,9 @@ class DataManagerResource(googleapiclient.discovery.Resource): def remove( self, *, body: RemoveAudienceMembersRequest, **kwargs: typing.Any ) -> RemoveAudienceMembersResponseHttpRequest: ... + def removeAll( + self, *, body: RemoveAllAudienceMembersRequest, **kwargs: typing.Any + ) -> RemoveAllAudienceMembersResponseHttpRequest: ... @typing.type_check_only class EventsResource(googleapiclient.discovery.Resource): @@ -315,6 +317,14 @@ class PartnerLinkHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> PartnerLink: ... +@typing.type_check_only +class RemoveAllAudienceMembersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RemoveAllAudienceMembersResponse: ... + @typing.type_check_only class RemoveAudienceMembersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi index 30e10c0ff..d46396a05 100644 --- a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdEvent(typing_extensions.TypedDict, total=False): - adFormat: typing_extensions.Literal[ +class AdEvent(typing.TypedDict, total=False): + adFormat: typing.Literal[ "AD_FORMAT_UNSPECIFIED", "AD_FORMAT_AR", "AD_FORMAT_AUDIO", @@ -31,7 +29,7 @@ class AdEvent(typing_extensions.TypedDict, total=False): adGroupId: str adHeight: int adId: str - adPlacement: typing_extensions.Literal[ + adPlacement: typing.Literal[ "AD_PLACEMENT_UNSPECIFIED", "AD_PLACEMENT_DISCOVER", "AD_PLACEMENT_FEED", @@ -44,7 +42,7 @@ class AdEvent(typing_extensions.TypedDict, total=False): "AD_PLACEMENT_STORY", ] adPlacementString: str - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_TEXT", @@ -57,7 +55,7 @@ class AdEvent(typing_extensions.TypedDict, total=False): adTypeString: str adWidth: int advertiserId: str - attributionHint: typing_extensions.Literal[ + attributionHint: typing.Literal[ "ATTRIBUTION_HINT_UNSPECIFIED", "ATTRIBUTION_HINT_CONVERTED", "ATTRIBUTION_HINT_NOT_CONVERTED", @@ -66,7 +64,7 @@ class AdEvent(typing_extensions.TypedDict, total=False): campaignName: str deviceInfo: DeviceInfo eventId: str - eventSubtype: typing_extensions.Literal[ + eventSubtype: typing.Literal[ "EVENT_SUBTYPE_UNSPECIFIED", "EVENT_SUBTYPE_IMPRESSION", "EVENT_SUBTYPE_ENGAGED_VIEW", @@ -74,17 +72,17 @@ class AdEvent(typing_extensions.TypedDict, total=False): "EVENT_SUBTYPE_OUTBOUND_CLICK", ] eventSubtypeString: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_VIEW", "EVENT_TYPE_CLICK" ] measurementAllowed: bool medium: str mobileDeviceId: str - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "PLATFORM_IOS", "PLATFORM_ANDROID", "PLATFORM_WEB" ] platformString: str - platformType: typing_extensions.Literal[ + platformType: typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "PLATFORM_TYPE_MOBILE", "PLATFORM_TYPE_DESKTOP", @@ -95,7 +93,7 @@ class AdEvent(typing_extensions.TypedDict, total=False): platformTypeString: str regionCode: str source: str - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_AUDIENCE", "TARGETING_TYPE_CONTEXTUAL", @@ -112,7 +110,7 @@ class AdEvent(typing_extensions.TypedDict, total=False): viewabilityInfo: ViewabilityInfo @typing.type_check_only -class AdIdentifiers(typing_extensions.TypedDict, total=False): +class AdIdentifiers(typing.TypedDict, total=False): dclid: str encryptedUserIds: _list[EncryptedUserId] gbraid: str @@ -125,37 +123,42 @@ class AdIdentifiers(typing_extensions.TypedDict, total=False): wbraid: str @typing.type_check_only -class AddressInfo(typing_extensions.TypedDict, total=False): +class AddressInfo(typing.TypedDict, total=False): + addressLine: str + administrativeArea: str + city: str familyName: str givenName: str postalCode: str regionCode: str @typing.type_check_only -class AudienceMember(typing_extensions.TypedDict, total=False): +class AudienceMember(typing.TypedDict, total=False): compositeData: CompositeData consent: Consent destinationReferences: _list[str] + googleUserIdData: GoogleUserIdData mobileData: MobileData pairData: PairData + partnerProvidedIdData: PartnerProvidedIdData ppidData: PpidData userData: UserData userIdData: UserIdData @typing.type_check_only -class AwsWrappedKeyInfo(typing_extensions.TypedDict, total=False): +class AwsWrappedKeyInfo(typing.TypedDict, total=False): encryptedDek: str kekUri: str - keyType: typing_extensions.Literal["KEY_TYPE_UNSPECIFIED", "XCHACHA20_POLY1305"] + keyType: typing.Literal["KEY_TYPE_UNSPECIFIED", "XCHACHA20_POLY1305"] roleArn: str @typing.type_check_only -class Baseline(typing_extensions.TypedDict, total=False): +class Baseline(typing.TypedDict, total=False): baselineLocation: Location locationAutoDetectionEnabled: bool @typing.type_check_only -class CartData(typing_extensions.TypedDict, total=False): +class CartData(typing.TypedDict, total=False): couponCodes: _list[str] items: _list[Item] merchantFeedLabel: str @@ -164,22 +167,22 @@ class CartData(typing_extensions.TypedDict, total=False): transactionDiscount: float @typing.type_check_only -class CompositeData(typing_extensions.TypedDict, total=False): +class CompositeData(typing.TypedDict, total=False): ipData: _list[IpData] userData: UserData @typing.type_check_only -class Consent(typing_extensions.TypedDict, total=False): - adPersonalization: typing_extensions.Literal[ +class Consent(typing.TypedDict, total=False): + adPersonalization: typing.Literal[ "CONSENT_STATUS_UNSPECIFIED", "CONSENT_GRANTED", "CONSENT_DENIED" ] - adUserData: typing_extensions.Literal[ + adUserData: typing.Literal[ "CONSENT_STATUS_UNSPECIFIED", "CONSENT_GRANTED", "CONSENT_DENIED" ] @typing.type_check_only -class ContactIdInfo(typing_extensions.TypedDict, total=False): - dataSourceType: typing_extensions.Literal[ +class ContactIdInfo(typing.TypedDict, total=False): + dataSourceType: typing.Literal[ "DATA_SOURCE_TYPE_UNSPECIFIED", "DATA_SOURCE_TYPE_FIRST_PARTY", "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", @@ -189,24 +192,24 @@ class ContactIdInfo(typing_extensions.TypedDict, total=False): matchRatePercentage: int @typing.type_check_only -class CoordinatorKeyInfo(typing_extensions.TypedDict, total=False): +class CoordinatorKeyInfo(typing.TypedDict, total=False): keyId: str @typing.type_check_only -class CustomVariable(typing_extensions.TypedDict, total=False): +class CustomVariable(typing.TypedDict, total=False): destinationReferences: _list[str] value: str variable: str @typing.type_check_only -class DataTypeCount(typing_extensions.TypedDict, total=False): +class DataTypeCount(typing.TypedDict, total=False): count: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "EMAIL", "PHONE_NUMBER", "ADDRESS", "IP_ADDRESS" ] @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): linkedAccount: ProductAccount loginAccount: ProductAccount operatingAccount: ProductAccount @@ -214,7 +217,7 @@ class Destination(typing_extensions.TypedDict, total=False): reference: str @typing.type_check_only -class DeviceInfo(typing_extensions.TypedDict, total=False): +class DeviceInfo(typing.TypedDict, total=False): brand: str browser: str browserVersion: str @@ -229,13 +232,13 @@ class DeviceInfo(typing_extensions.TypedDict, total=False): userAgent: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptedUserId(typing_extensions.TypedDict, total=False): +class EncryptedUserId(typing.TypedDict, total=False): encryptedId: str entityId: str - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "ENCRYPTION_ENTITY_TYPE_UNSPECIFIED", "CAMPAIGN_MANAGER_ACCOUNT", "CAMPAIGN_MANAGER_ADVERTISER", @@ -244,19 +247,19 @@ class EncryptedUserId(typing_extensions.TypedDict, total=False): "GOOGLE_ADS_CUSTOMER", "GOOGLE_AD_MANAGER_NETWORK_CODE", ] - source: typing_extensions.Literal[ + source: typing.Literal[ "ENCRYPTION_SOURCE_UNSPECIFIED", "AD_SERVING", "DATA_TRANSFER" ] @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): awsWrappedKeyInfo: AwsWrappedKeyInfo coordinatorKeyInfo: CoordinatorKeyInfo gcpWrappedKeyInfo: GcpWrappedKeyInfo @typing.type_check_only -class ErrorCount(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class ErrorCount(typing.TypedDict, total=False): + reason: typing.Literal[ "PROCESSING_ERROR_REASON_UNSPECIFIED", "PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE", "PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED", @@ -301,15 +304,16 @@ 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 @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): errorCounts: _list[ErrorCount] @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): adIdentifiers: AdIdentifiers additionalEventParameters: _list[EventParameter] appInstanceId: str @@ -324,7 +328,7 @@ class Event(typing_extensions.TypedDict, total=False): eventDeviceInfo: DeviceInfo eventLocation: EventLocation eventName: str - eventSource: typing_extensions.Literal[ + eventSource: typing.Literal[ "EVENT_SOURCE_UNSPECIFIED", "WEB", "APP", @@ -343,7 +347,7 @@ class Event(typing_extensions.TypedDict, total=False): userProperties: UserProperties @typing.type_check_only -class EventLocation(typing_extensions.TypedDict, total=False): +class EventLocation(typing.TypedDict, total=False): city: str continentCode: str regionCode: str @@ -352,59 +356,88 @@ class EventLocation(typing_extensions.TypedDict, total=False): subdivisionCode: str @typing.type_check_only -class EventParameter(typing_extensions.TypedDict, total=False): +class EventParameter(typing.TypedDict, total=False): parameterName: str value: str @typing.type_check_only -class ExperimentalField(typing_extensions.TypedDict, total=False): +class ExperimentalField(typing.TypedDict, total=False): field: str value: str @typing.type_check_only -class GcpWrappedKeyInfo(typing_extensions.TypedDict, total=False): +class FieldWarning(typing.TypedDict, total=False): + description: str + field: str + reason: typing.Literal[ + "WARNING_REASON_UNSPECIFIED", + "WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED", + "WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED", + "WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID", + "WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING", + "WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING", + "WARNING_REASON_GENERIC", + "WARNING_REASON_INVALID_CLIENT_ID", + "WARNING_REASON_INVALID_SUBDIVISION_CODE", + "WARNING_REASON_INVALID_REGION_CODE", + "WARNING_REASON_INVALID_SUBCONTINENT_CODE", + "WARNING_REASON_INVALID_CONTINENT_CODE", + "WARNING_REASON_INVALID_DEVICE_CATEGORY", + "WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION", + "WARNING_REASON_INVALID_MERCHANT_ID", + ] + +@typing.type_check_only +class GcpWrappedKeyInfo(typing.TypedDict, total=False): encryptedDek: str kekUri: str - keyType: typing_extensions.Literal["KEY_TYPE_UNSPECIFIED", "XCHACHA20_POLY1305"] + keyType: typing.Literal["KEY_TYPE_UNSPECIFIED", "XCHACHA20_POLY1305"] wipProvider: str @typing.type_check_only -class IngestAdEventsRequest(typing_extensions.TypedDict, total=False): +class GoogleUserIdData(typing.TypedDict, total=False): + googleUserIds: _list[str] + +@typing.type_check_only +class IngestAdEventsRequest(typing.TypedDict, total=False): adEvents: _list[AdEvent] encryptionInfo: EncryptionInfo validateOnly: bool @typing.type_check_only -class IngestAdEventsResponse(typing_extensions.TypedDict, total=False): ... +class IngestAdEventsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class IngestAudienceMembersRequest(typing_extensions.TypedDict, total=False): +class IngestAudienceMembersRequest(typing.TypedDict, total=False): audienceMembers: _list[AudienceMember] consent: Consent destinations: _list[Destination] - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] encryptionInfo: EncryptionInfo termsOfService: TermsOfService validateOnly: bool @typing.type_check_only -class IngestAudienceMembersResponse(typing_extensions.TypedDict, total=False): +class IngestAudienceMembersResponse(typing.TypedDict, total=False): + fieldWarnings: _list[FieldWarning] requestId: str @typing.type_check_only -class IngestAudienceMembersStatus(typing_extensions.TypedDict, total=False): +class IngestAudienceMembersStatus(typing.TypedDict, total=False): compositeDataIngestionStatus: IngestCompositeDataStatus + googleUserIdDataIngestionStatus: IngestGoogleUserIdDataStatus mobileDataIngestionStatus: IngestMobileDataStatus pairDataIngestionStatus: IngestPairDataStatus + partnerProvidedIdDataIngestionStatus: IngestPartnerProvidedIdDataStatus ppidDataIngestionStatus: IngestPpidDataStatus userDataIngestionStatus: IngestUserDataStatus userIdDataIngestionStatus: IngestUserIdDataStatus @typing.type_check_only -class IngestCompositeDataStatus(typing_extensions.TypedDict, total=False): +class IngestCompositeDataStatus(typing.TypedDict, total=False): dataTypeCounts: _list[DataTypeCount] recordCount: str - uploadMatchRateRange: typing_extensions.Literal[ + uploadMatchRateRange: typing.Literal[ "MATCH_RATE_RANGE_UNKNOWN", "MATCH_RATE_RANGE_NOT_ELIGIBLE", "MATCH_RATE_RANGE_LESS_THAN_20", @@ -419,41 +452,52 @@ class IngestCompositeDataStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IngestEventsRequest(typing_extensions.TypedDict, total=False): +class IngestEventsRequest(typing.TypedDict, total=False): consent: Consent destinations: _list[Destination] - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] encryptionInfo: EncryptionInfo events: _list[Event] validateOnly: bool @typing.type_check_only -class IngestEventsResponse(typing_extensions.TypedDict, total=False): +class IngestEventsResponse(typing.TypedDict, total=False): + fieldWarnings: _list[FieldWarning] requestId: str @typing.type_check_only -class IngestEventsStatus(typing_extensions.TypedDict, total=False): +class IngestEventsStatus(typing.TypedDict, total=False): recordCount: str @typing.type_check_only -class IngestMobileDataStatus(typing_extensions.TypedDict, total=False): +class IngestGoogleUserIdDataStatus(typing.TypedDict, total=False): + googleUserIdCount: str + recordCount: str + +@typing.type_check_only +class IngestMobileDataStatus(typing.TypedDict, total=False): mobileIdCount: str recordCount: str @typing.type_check_only -class IngestPairDataStatus(typing_extensions.TypedDict, total=False): +class IngestPairDataStatus(typing.TypedDict, total=False): pairIdCount: str recordCount: str @typing.type_check_only -class IngestPpidDataStatus(typing_extensions.TypedDict, total=False): +class IngestPartnerProvidedIdDataStatus(typing.TypedDict, total=False): + partnerProvidedIdCount: str + recordCount: str + +@typing.type_check_only +class IngestPpidDataStatus(typing.TypedDict, total=False): ppidCount: str recordCount: str @typing.type_check_only -class IngestUserDataStatus(typing_extensions.TypedDict, total=False): +class IngestUserDataStatus(typing.TypedDict, total=False): recordCount: str - uploadMatchRateRange: typing_extensions.Literal[ + uploadMatchRateRange: typing.Literal[ "MATCH_RATE_RANGE_UNKNOWN", "MATCH_RATE_RANGE_NOT_ELIGIBLE", "MATCH_RATE_RANGE_LESS_THAN_20", @@ -469,19 +513,19 @@ class IngestUserDataStatus(typing_extensions.TypedDict, total=False): userIdentifierCount: str @typing.type_check_only -class IngestUserIdDataStatus(typing_extensions.TypedDict, total=False): +class IngestUserIdDataStatus(typing.TypedDict, total=False): recordCount: str userIdCount: str @typing.type_check_only -class IngestedUserListInfo(typing_extensions.TypedDict, total=False): +class IngestedUserListInfo(typing.TypedDict, total=False): contactIdInfo: ContactIdInfo mobileIdInfo: MobileIdInfo pairIdInfo: PairIdInfo partnerAudienceInfo: PartnerAudienceInfo pseudonymousIdInfo: PseudonymousIdInfo uploadKeyTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UPLOAD_KEY_TYPE_UNSPECIFIED", "CONTACT_ID", "MOBILE_ID", @@ -493,13 +537,13 @@ class IngestedUserListInfo(typing_extensions.TypedDict, total=False): userIdInfo: UserIdInfo @typing.type_check_only -class IpData(typing_extensions.TypedDict, total=False): +class IpData(typing.TypedDict, total=False): ipAddress: str observeEndTime: str observeStartTime: str @typing.type_check_only -class Item(typing_extensions.TypedDict, total=False): +class Item(typing.TypedDict, total=False): additionalItemParameters: _list[ItemParameter] conversionValue: float customVariables: _list[ItemCustomVariable] @@ -512,46 +556,44 @@ class Item(typing_extensions.TypedDict, total=False): unitPrice: float @typing.type_check_only -class ItemCustomVariable(typing_extensions.TypedDict, total=False): +class ItemCustomVariable(typing.TypedDict, total=False): destinationReferences: _list[str] value: str variable: str @typing.type_check_only -class ItemParameter(typing_extensions.TypedDict, total=False): +class ItemParameter(typing.TypedDict, total=False): parameterName: str value: str @typing.type_check_only -class ListUserListDirectLicensesResponse(typing_extensions.TypedDict, total=False): +class ListUserListDirectLicensesResponse(typing.TypedDict, total=False): nextPageToken: str userListDirectLicenses: _list[UserListDirectLicense] @typing.type_check_only -class ListUserListGlobalLicenseCustomerInfosResponse( - typing_extensions.TypedDict, total=False -): +class ListUserListGlobalLicenseCustomerInfosResponse(typing.TypedDict, total=False): nextPageToken: str userListGlobalLicenseCustomerInfos: _list[UserListGlobalLicenseCustomerInfo] @typing.type_check_only -class ListUserListGlobalLicensesResponse(typing_extensions.TypedDict, total=False): +class ListUserListGlobalLicensesResponse(typing.TypedDict, total=False): nextPageToken: str userListGlobalLicenses: _list[UserListGlobalLicense] @typing.type_check_only -class ListUserListsResponse(typing_extensions.TypedDict, total=False): +class ListUserListsResponse(typing.TypedDict, total=False): nextPageToken: str userLists: _list[UserList] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): regionCodes: _list[str] @typing.type_check_only -class MarketingDataInsight(typing_extensions.TypedDict, total=False): +class MarketingDataInsight(typing.TypedDict, total=False): attributes: _list[MarketingDataInsightsAttribute] - dimension: typing_extensions.Literal[ + dimension: typing.Literal[ "AUDIENCE_INSIGHTS_DIMENSION_UNSPECIFIED", "AUDIENCE_INSIGHTS_DIMENSION_UNKNOWN", "AFFINITY_USER_INTEREST", @@ -561,8 +603,8 @@ class MarketingDataInsight(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MarketingDataInsightsAttribute(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class MarketingDataInsightsAttribute(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_UNKNOWN", "AGE_RANGE_18_24", @@ -572,34 +614,34 @@ class MarketingDataInsightsAttribute(typing_extensions.TypedDict, total=False): "AGE_RANGE_55_64", "AGE_RANGE_65_UP", ] - gender: typing_extensions.Literal[ + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_UNKNOWN", "GENDER_MALE", "GENDER_FEMALE" ] lift: float userInterestId: str @typing.type_check_only -class MobileData(typing_extensions.TypedDict, total=False): +class MobileData(typing.TypedDict, total=False): mobileIds: _list[str] @typing.type_check_only -class MobileIdInfo(typing_extensions.TypedDict, total=False): +class MobileIdInfo(typing.TypedDict, total=False): appId: str - dataSourceType: typing_extensions.Literal[ + dataSourceType: typing.Literal[ "DATA_SOURCE_TYPE_UNSPECIFIED", "DATA_SOURCE_TYPE_FIRST_PARTY", "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE", "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA", ] - keySpace: typing_extensions.Literal["KEY_SPACE_UNSPECIFIED", "IOS", "ANDROID"] + keySpace: typing.Literal["KEY_SPACE_UNSPECIFIED", "IOS", "ANDROID"] @typing.type_check_only -class PairData(typing_extensions.TypedDict, total=False): +class PairData(typing.TypedDict, total=False): pairIds: _list[str] @typing.type_check_only -class PairIdInfo(typing_extensions.TypedDict, total=False): +class PairIdInfo(typing.TypedDict, total=False): advertiserIdentifierCount: str cleanRoomIdentifier: str matchRatePercentage: int @@ -607,9 +649,9 @@ class PairIdInfo(typing_extensions.TypedDict, total=False): publisherName: str @typing.type_check_only -class PartnerAudienceInfo(typing_extensions.TypedDict, total=False): +class PartnerAudienceInfo(typing.TypedDict, total=False): commercePartner: str - partnerAudienceSource: typing_extensions.Literal[ + partnerAudienceSource: typing.Literal[ "PARTNER_AUDIENCE_SOURCE_UNSPECIFIED", "COMMERCE_AUDIENCE", "LINEAR_TV_AUDIENCE", @@ -617,14 +659,14 @@ class PartnerAudienceInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PartnerCustomerAccount(typing_extensions.TypedDict, total=False): +class PartnerCustomerAccount(typing.TypedDict, total=False): accountId: str accountName: str accountType: str @typing.type_check_only -class PartnerLink(typing_extensions.TypedDict, total=False): - featureSet: typing_extensions.Literal[ +class PartnerLink(typing.TypedDict, total=False): + featureSet: typing.Literal[ "FEATURE_SET_UNSPECIFIED", "FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT", "FEATURE_SET_AD_EVENT_MANAGEMENT", @@ -637,17 +679,21 @@ class PartnerLink(typing_extensions.TypedDict, total=False): partnerLinkMetadata: PartnerLinkMetadata @typing.type_check_only -class PartnerLinkMetadata(typing_extensions.TypedDict, total=False): +class PartnerLinkMetadata(typing.TypedDict, total=False): implicitAccounts: _list[PartnerCustomerAccount] @typing.type_check_only -class PpidData(typing_extensions.TypedDict, total=False): +class PartnerProvidedIdData(typing.TypedDict, total=False): + partnerProvidedIds: _list[str] + +@typing.type_check_only +class PpidData(typing.TypedDict, total=False): ppids: _list[str] @typing.type_check_only -class ProductAccount(typing_extensions.TypedDict, total=False): +class ProductAccount(typing.TypedDict, total=False): accountId: str - accountType: typing_extensions.Literal[ + accountType: typing.Literal[ "ACCOUNT_TYPE_UNSPECIFIED", "GOOGLE_ADS", "DISPLAY_VIDEO_PARTNER", @@ -657,7 +703,7 @@ class ProductAccount(typing_extensions.TypedDict, total=False): "GOOGLE_AD_MANAGER_AUDIENCE_LINK", "FLOODLIGHT_CONFIG", ] - product: typing_extensions.Literal[ + product: typing.Literal[ "PRODUCT_UNSPECIFIED", "GOOGLE_ADS", "DISPLAY_VIDEO_PARTNER", @@ -666,128 +712,154 @@ class ProductAccount(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PseudonymousIdInfo(typing_extensions.TypedDict, total=False): +class PseudonymousIdInfo(typing.TypedDict, total=False): billableRecordCount: str - syncStatus: typing_extensions.Literal[ + syncStatus: typing.Literal[ "SYNC_STATUS_UNSPECIFIED", "CREATED", "READY_FOR_USE", "FAILED" ] @typing.type_check_only -class RemoveAudienceMembersRequest(typing_extensions.TypedDict, total=False): +class RemoveAllAudienceMembersRequest(typing.TypedDict, total=False): + destinations: _list[Destination] + removeAsOfTime: str + validateOnly: bool + +@typing.type_check_only +class RemoveAllAudienceMembersResponse(typing.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class RemoveAllAudienceMembersStatus(typing.TypedDict, total=False): ... + +@typing.type_check_only +class RemoveAudienceMembersRequest(typing.TypedDict, total=False): audienceMembers: _list[AudienceMember] destinations: _list[Destination] - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "HEX", "BASE64"] encryptionInfo: EncryptionInfo validateOnly: bool @typing.type_check_only -class RemoveAudienceMembersResponse(typing_extensions.TypedDict, total=False): +class RemoveAudienceMembersResponse(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RemoveAudienceMembersStatus(typing_extensions.TypedDict, total=False): +class RemoveAudienceMembersStatus(typing.TypedDict, total=False): compositeDataRemovalStatus: RemoveCompositeDataStatus + googleUserIdDataRemovalStatus: RemoveGoogleUserIdDataStatus mobileDataRemovalStatus: RemoveMobileDataStatus pairDataRemovalStatus: RemovePairDataStatus + partnerProvidedIdDataRemovalStatus: RemovePartnerProvidedIdDataStatus ppidDataRemovalStatus: RemovePpidDataStatus userDataRemovalStatus: RemoveUserDataStatus userIdDataRemovalStatus: RemoveUserIdDataStatus @typing.type_check_only -class RemoveCompositeDataStatus(typing_extensions.TypedDict, total=False): +class RemoveCompositeDataStatus(typing.TypedDict, total=False): dataTypeCounts: _list[DataTypeCount] recordCount: str @typing.type_check_only -class RemoveMobileDataStatus(typing_extensions.TypedDict, total=False): +class RemoveGoogleUserIdDataStatus(typing.TypedDict, total=False): + googleUserIdCount: str + recordCount: str + +@typing.type_check_only +class RemoveMobileDataStatus(typing.TypedDict, total=False): mobileIdCount: str recordCount: str @typing.type_check_only -class RemovePairDataStatus(typing_extensions.TypedDict, total=False): +class RemovePairDataStatus(typing.TypedDict, total=False): pairIdCount: str recordCount: str @typing.type_check_only -class RemovePpidDataStatus(typing_extensions.TypedDict, total=False): +class RemovePartnerProvidedIdDataStatus(typing.TypedDict, total=False): + partnerProvidedIdCount: str + recordCount: str + +@typing.type_check_only +class RemovePpidDataStatus(typing.TypedDict, total=False): ppidCount: str recordCount: str @typing.type_check_only -class RemoveUserDataStatus(typing_extensions.TypedDict, total=False): +class RemoveUserDataStatus(typing.TypedDict, total=False): recordCount: str userIdentifierCount: str @typing.type_check_only -class RemoveUserIdDataStatus(typing_extensions.TypedDict, total=False): +class RemoveUserIdDataStatus(typing.TypedDict, total=False): recordCount: str userIdCount: str @typing.type_check_only -class RequestStatusPerDestination(typing_extensions.TypedDict, total=False): +class RequestStatusPerDestination(typing.TypedDict, total=False): audienceMembersIngestionStatus: IngestAudienceMembersStatus audienceMembersRemovalStatus: RemoveAudienceMembersStatus destination: Destination errorInfo: ErrorInfo eventsIngestionStatus: IngestEventsStatus - requestStatus: typing_extensions.Literal[ + removeAllAudienceMembersStatus: RemoveAllAudienceMembersStatus + requestStatus: typing.Literal[ "REQUEST_STATUS_UNKNOWN", "SUCCESS", "PROCESSING", "FAILED", "PARTIAL_SUCCESS" ] warningInfo: WarningInfo @typing.type_check_only -class RetrieveInsightsRequest(typing_extensions.TypedDict, total=False): +class RetrieveInsightsRequest(typing.TypedDict, total=False): baseline: Baseline userListId: str @typing.type_check_only -class RetrieveInsightsResponse(typing_extensions.TypedDict, total=False): +class RetrieveInsightsResponse(typing.TypedDict, total=False): marketingDataInsights: _list[MarketingDataInsight] @typing.type_check_only -class RetrieveRequestStatusResponse(typing_extensions.TypedDict, total=False): +class RetrieveRequestStatusResponse(typing.TypedDict, total=False): requestStatusPerDestination: _list[RequestStatusPerDestination] @typing.type_check_only -class SearchPartnerLinksResponse(typing_extensions.TypedDict, total=False): +class SearchPartnerLinksResponse(typing.TypedDict, total=False): nextPageToken: str partnerLinks: _list[PartnerLink] @typing.type_check_only -class SizeInfo(typing_extensions.TypedDict, total=False): +class SizeInfo(typing.TypedDict, total=False): displayNetworkMembersCount: str gmailMembersCount: str searchNetworkMembersCount: str youtubeMembersCount: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TargetNetworkInfo(typing_extensions.TypedDict, total=False): +class TargetNetworkInfo(typing.TypedDict, total=False): eligibleForDisplay: bool eligibleForSearch: bool @typing.type_check_only -class TermsOfService(typing_extensions.TypedDict, total=False): - customerMatchTermsOfServiceStatus: typing_extensions.Literal[ +class TermsOfService(typing.TypedDict, total=False): + customerMatchTermsOfServiceStatus: typing.Literal[ "TERMS_OF_SERVICE_STATUS_UNSPECIFIED", "ACCEPTED", "REJECTED" ] @typing.type_check_only -class UserData(typing_extensions.TypedDict, total=False): +class UserData(typing.TypedDict, total=False): userIdentifiers: _list[UserIdentifier] @typing.type_check_only -class UserIdData(typing_extensions.TypedDict, total=False): +class UserIdData(typing.TypedDict, total=False): userId: str @typing.type_check_only -class UserIdInfo(typing_extensions.TypedDict, total=False): - dataSourceType: typing_extensions.Literal[ +class UserIdInfo(typing.TypedDict, total=False): + dataSourceType: typing.Literal[ "DATA_SOURCE_TYPE_UNSPECIFIED", "DATA_SOURCE_TYPE_FIRST_PARTY", "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", @@ -796,14 +868,14 @@ class UserIdInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UserIdentifier(typing_extensions.TypedDict, total=False): +class UserIdentifier(typing.TypedDict, total=False): address: AddressInfo emailAddress: str phoneNumber: str @typing.type_check_only -class UserList(typing_extensions.TypedDict, total=False): - accessReason: typing_extensions.Literal[ +class UserList(typing.TypedDict, total=False): + accessReason: typing.Literal[ "ACCESS_REASON_UNSPECIFIED", "OWNED", "SHARED", @@ -811,29 +883,27 @@ class UserList(typing_extensions.TypedDict, total=False): "SUBSCRIBED", "AFFILIATED", ] - accountAccessStatus: typing_extensions.Literal[ + accountAccessStatus: typing.Literal[ "ACCESS_STATUS_UNSPECIFIED", "ENABLED", "DISABLED" ] - closingReason: typing_extensions.Literal["CLOSING_REASON_UNSPECIFIED", "UNUSED"] + closingReason: typing.Literal["CLOSING_REASON_UNSPECIFIED", "UNUSED"] description: str displayName: str id: str ingestedUserListInfo: IngestedUserListInfo integrationCode: str membershipDuration: str - membershipStatus: typing_extensions.Literal[ - "MEMBERSHIP_STATUS_UNSPECIFIED", "OPEN", "CLOSED" - ] + membershipStatus: typing.Literal["MEMBERSHIP_STATUS_UNSPECIFIED", "OPEN", "CLOSED"] name: str readOnly: bool sizeInfo: SizeInfo targetNetworkInfo: TargetNetworkInfo @typing.type_check_only -class UserListDirectLicense(typing_extensions.TypedDict, total=False): +class UserListDirectLicense(typing.TypedDict, total=False): clientAccountDisplayName: str clientAccountId: str - clientAccountType: typing_extensions.Literal[ + clientAccountType: typing.Literal[ "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN", "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS", "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER", @@ -844,7 +914,7 @@ class UserListDirectLicense(typing_extensions.TypedDict, total=False): metrics: UserListLicenseMetrics name: str pricing: UserListLicensePricing - status: typing_extensions.Literal[ + status: typing.Literal[ "USER_LIST_LICENSE_STATUS_UNSPECIFIED", "USER_LIST_LICENSE_STATUS_ENABLED", "USER_LIST_LICENSE_STATUS_DISABLED", @@ -853,9 +923,9 @@ class UserListDirectLicense(typing_extensions.TypedDict, total=False): userListId: str @typing.type_check_only -class UserListGlobalLicense(typing_extensions.TypedDict, total=False): +class UserListGlobalLicense(typing.TypedDict, total=False): historicalPricings: _list[UserListLicensePricing] - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED", "USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER", "USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE", @@ -864,7 +934,7 @@ class UserListGlobalLicense(typing_extensions.TypedDict, total=False): metrics: UserListLicenseMetrics name: str pricing: UserListLicensePricing - status: typing_extensions.Literal[ + status: typing.Literal[ "USER_LIST_LICENSE_STATUS_UNSPECIFIED", "USER_LIST_LICENSE_STATUS_ENABLED", "USER_LIST_LICENSE_STATUS_DISABLED", @@ -873,10 +943,10 @@ class UserListGlobalLicense(typing_extensions.TypedDict, total=False): userListId: str @typing.type_check_only -class UserListGlobalLicenseCustomerInfo(typing_extensions.TypedDict, total=False): +class UserListGlobalLicenseCustomerInfo(typing.TypedDict, total=False): clientAccountDisplayName: str clientAccountId: str - clientAccountType: typing_extensions.Literal[ + clientAccountType: typing.Literal[ "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN", "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS", "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER", @@ -884,7 +954,7 @@ class UserListGlobalLicenseCustomerInfo(typing_extensions.TypedDict, total=False "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_AD_MANAGER_AUDIENCE_LINK", ] historicalPricings: _list[UserListLicensePricing] - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED", "USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER", "USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE", @@ -893,7 +963,7 @@ class UserListGlobalLicenseCustomerInfo(typing_extensions.TypedDict, total=False metrics: UserListLicenseMetrics name: str pricing: UserListLicensePricing - status: typing_extensions.Literal[ + status: typing.Literal[ "USER_LIST_LICENSE_STATUS_UNSPECIFIED", "USER_LIST_LICENSE_STATUS_ENABLED", "USER_LIST_LICENSE_STATUS_DISABLED", @@ -902,7 +972,7 @@ class UserListGlobalLicenseCustomerInfo(typing_extensions.TypedDict, total=False userListId: str @typing.type_check_only -class UserListLicenseMetrics(typing_extensions.TypedDict, total=False): +class UserListLicenseMetrics(typing.TypedDict, total=False): clickCount: str endDate: str impressionCount: str @@ -910,15 +980,15 @@ class UserListLicenseMetrics(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class UserListLicensePricing(typing_extensions.TypedDict, total=False): - buyerApprovalState: typing_extensions.Literal[ +class UserListLicensePricing(typing.TypedDict, total=False): + buyerApprovalState: typing.Literal[ "USER_LIST_PRICING_BUYER_APPROVAL_STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", ] costMicros: str - costType: typing_extensions.Literal[ + costType: typing.Literal[ "USER_LIST_PRICING_COST_TYPE_UNSPECIFIED", "CPC", "CPM", "MEDIA_SHARE" ] currencyCode: str @@ -929,24 +999,24 @@ class UserListLicensePricing(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class UserProperties(typing_extensions.TypedDict, total=False): +class UserProperties(typing.TypedDict, total=False): additionalUserProperties: _list[UserProperty] - customerType: typing_extensions.Literal[ + customerType: typing.Literal[ "CUSTOMER_TYPE_UNSPECIFIED", "NEW", "RETURNING", "REENGAGED" ] - customerValueBucket: typing_extensions.Literal[ + customerValueBucket: typing.Literal[ "CUSTOMER_VALUE_BUCKET_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] @typing.type_check_only -class UserProperty(typing_extensions.TypedDict, total=False): +class UserProperty(typing.TypedDict, total=False): propertyName: str value: str @typing.type_check_only -class ViewabilityInfo(typing_extensions.TypedDict, total=False): +class ViewabilityInfo(typing.TypedDict, total=False): mediaDuration: str - mediaQuartile: typing_extensions.Literal[ + mediaQuartile: typing.Literal[ "MEDIA_QUARTILE_UNSPECIFIED", "MEDIA_QUARTILE_START", "MEDIA_QUARTILE_FIRST_QUARTILE", @@ -957,15 +1027,15 @@ class ViewabilityInfo(typing_extensions.TypedDict, total=False): mediaSkippable: bool mediaVolumePercent: int playbackDuration: str - viewType: typing_extensions.Literal[ + viewType: typing.Literal[ "VIEW_TYPE_UNSPECIFIED", "VIEW_TYPE_MRC_VIEWED", "VIEW_TYPE_MRC_RENDERED" ] viewableDuration: str viewablePercent: int @typing.type_check_only -class WarningCount(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class WarningCount(typing.TypedDict, total=False): + reason: typing.Literal[ "PROCESSING_WARNING_REASON_UNSPECIFIED", "PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED", "PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR", @@ -980,5 +1050,5 @@ class WarningCount(typing_extensions.TypedDict, total=False): recordCount: str @typing.type_check_only -class WarningInfo(typing_extensions.TypedDict, total=False): +class WarningInfo(typing.TypedDict, total=False): warningCounts: _list[WarningCount] diff --git a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi index 7031a35c2..be831dbc9 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -186,7 +185,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - tree: typing_extensions.Literal[ + tree: typing.Literal[ "DB_TREE_TYPE_UNSPECIFIED", "SOURCE_TREE", "DRAFT_TREE", @@ -194,7 +193,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): ] | None = ..., uncommitted: bool | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "DATABASE_ENTITY_VIEW_UNSPECIFIED", "DATABASE_ENTITY_VIEW_BASIC", "DATABASE_ENTITY_VIEW_FULL", @@ -558,6 +557,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, + fetchReservedPublicIps: bool | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi index 72baf88a9..7e2ace400 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AlloyDbConnectionProfile(typing_extensions.TypedDict, total=False): +class AlloyDbConnectionProfile(typing.TypedDict, total=False): clusterId: str settings: AlloyDbSettings @typing.type_check_only -class AlloyDbSettings(typing_extensions.TypedDict, total=False): - databaseVersion: typing_extensions.Literal[ +class AlloyDbSettings(typing.TypedDict, total=False): + databaseVersion: typing.Literal[ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_14", "POSTGRES_15", @@ -26,53 +24,53 @@ class AlloyDbSettings(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class ApplyConversionWorkspaceRequest(typing_extensions.TypedDict, total=False): +class ApplyConversionWorkspaceRequest(typing.TypedDict, total=False): autoCommit: bool connectionProfile: str dryRun: bool filter: str @typing.type_check_only -class ApplyHash(typing_extensions.TypedDict, total=False): +class ApplyHash(typing.TypedDict, total=False): uuidFromBytes: Empty @typing.type_check_only -class ApplyJobDetails(typing_extensions.TypedDict, total=False): +class ApplyJobDetails(typing.TypedDict, total=False): connectionProfile: str filter: str @typing.type_check_only -class AssignSpecificValue(typing_extensions.TypedDict, total=False): +class AssignSpecificValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizedNetwork(typing_extensions.TypedDict, total=False): +class AuthorizedNetwork(typing.TypedDict, total=False): cidrRange: str @typing.type_check_only -class BackgroundJobLogEntry(typing_extensions.TypedDict, total=False): +class BackgroundJobLogEntry(typing.TypedDict, total=False): applyJobDetails: ApplyJobDetails completionComment: str - completionState: typing_extensions.Literal[ + completionState: typing.Literal[ "JOB_COMPLETION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED" ] convertJobDetails: ConvertJobDetails finishTime: str id: str importRulesJobDetails: ImportRulesJobDetails - jobType: typing_extensions.Literal[ + jobType: typing.Literal[ "BACKGROUND_JOB_TYPE_UNSPECIFIED", "BACKGROUND_JOB_TYPE_SOURCE_SEED", "BACKGROUND_JOB_TYPE_CONVERT", @@ -84,25 +82,25 @@ class BackgroundJobLogEntry(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class BadRequest(typing_extensions.TypedDict, total=False): +class BadRequest(typing.TypedDict, total=False): fieldViolations: _list[FieldViolation] @typing.type_check_only -class BinaryLogParser(typing_extensions.TypedDict, total=False): +class BinaryLogParser(typing.TypedDict, total=False): logFileDirectories: LogFileDirectories oracleAsmLogFileAccess: OracleAsmLogFileAccess @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudSqlConnectionProfile(typing_extensions.TypedDict, total=False): +class CloudSqlConnectionProfile(typing.TypedDict, total=False): additionalPublicIp: str cloudSqlId: str privateIp: str @@ -110,12 +108,12 @@ class CloudSqlConnectionProfile(typing_extensions.TypedDict, total=False): settings: CloudSqlSettings @typing.type_check_only -class CloudSqlSettings(typing_extensions.TypedDict, total=False): - activationPolicy: typing_extensions.Literal[ +class CloudSqlSettings(typing.TypedDict, total=False): + activationPolicy: typing.Literal[ "SQL_ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" ] autoStorageIncrease: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "SQL_AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] cmekKeyName: str @@ -124,11 +122,11 @@ class CloudSqlSettings(typing_extensions.TypedDict, total=False): dataDiskProvisionedIops: str dataDiskProvisionedThroughput: str dataDiskSizeGb: str - dataDiskType: typing_extensions.Literal[ + dataDiskType: typing.Literal[ "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD", "HYPERDISK_BALANCED" ] databaseFlags: dict[str, typing.Any] - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_6", "MYSQL_5_7", @@ -156,9 +154,7 @@ class CloudSqlSettings(typing_extensions.TypedDict, total=False): "POSTGRES_16", ] databaseVersionName: str - edition: typing_extensions.Literal[ - "EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS" - ] + edition: typing.Literal["EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS"] ipConfig: SqlIpConfig rootPassword: str rootPasswordSet: bool @@ -170,7 +166,7 @@ class CloudSqlSettings(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ColumnEntity(typing_extensions.TypedDict, total=False): +class ColumnEntity(typing.TypedDict, total=False): array: bool arrayLength: int autoGenerated: bool @@ -192,18 +188,18 @@ class ColumnEntity(typing_extensions.TypedDict, total=False): udt: bool @typing.type_check_only -class CommitConversionWorkspaceRequest(typing_extensions.TypedDict, total=False): +class CommitConversionWorkspaceRequest(typing.TypedDict, total=False): commitName: str @typing.type_check_only -class ConditionalColumnSetValue(typing_extensions.TypedDict, total=False): +class ConditionalColumnSetValue(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] sourceNumericFilter: SourceNumericFilter sourceTextFilter: SourceTextFilter valueTransformation: ValueTransformation @typing.type_check_only -class ConnectionProfile(typing_extensions.TypedDict, total=False): +class ConnectionProfile(typing.TypedDict, total=False): alloydb: AlloyDbConnectionProfile cloudsql: CloudSqlConnectionProfile createTime: str @@ -214,7 +210,7 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): name: str oracle: OracleConnectionProfile postgresql: PostgreSqlConnectionProfile - provider: typing_extensions.Literal[ + provider: typing.Literal[ "DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS", @@ -222,11 +218,11 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): "ALLOYDB", "AZURE_DATABASE", ] - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "SOURCE", "DESTINATION"] + role: typing.Literal["ROLE_UNSPECIFIED", "SOURCE", "DESTINATION"] satisfiesPzi: bool satisfiesPzs: bool sqlserver: SqlServerConnectionProfile - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "CREATING", @@ -239,7 +235,7 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ConstraintEntity(typing_extensions.TypedDict, total=False): +class ConstraintEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] name: str referenceColumns: _list[str] @@ -249,10 +245,10 @@ class ConstraintEntity(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ConversionWorkspace(typing_extensions.TypedDict, total=False): +class ConversionWorkspace(typing.TypedDict, total=False): createTime: str destination: DatabaseEngineInfo - destinationProvider: typing_extensions.Literal[ + destinationProvider: typing.Literal[ "DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS", @@ -267,7 +263,7 @@ class ConversionWorkspace(typing_extensions.TypedDict, total=False): latestCommitTime: str name: str source: DatabaseEngineInfo - sourceProvider: typing_extensions.Literal[ + sourceProvider: typing.Literal[ "DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS", @@ -278,42 +274,42 @@ class ConversionWorkspace(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ConversionWorkspaceInfo(typing_extensions.TypedDict, total=False): +class ConversionWorkspaceInfo(typing.TypedDict, total=False): commitId: str name: str @typing.type_check_only -class ConvertConversionWorkspaceRequest(typing_extensions.TypedDict, total=False): +class ConvertConversionWorkspaceRequest(typing.TypedDict, total=False): autoCommit: bool convertFullPath: bool filter: str @typing.type_check_only -class ConvertJobDetails(typing_extensions.TypedDict, total=False): +class ConvertJobDetails(typing.TypedDict, total=False): filter: str @typing.type_check_only -class ConvertRowIdToColumn(typing_extensions.TypedDict, total=False): +class ConvertRowIdToColumn(typing.TypedDict, total=False): onlyIfNoPrimaryKey: bool @typing.type_check_only -class DataCacheConfig(typing_extensions.TypedDict, total=False): +class DataCacheConfig(typing.TypedDict, total=False): dataCacheEnabled: bool @typing.type_check_only -class DatabaseEngineInfo(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class DatabaseEngineInfo(typing.TypedDict, total=False): + engine: typing.Literal[ "DATABASE_ENGINE_UNSPECIFIED", "MYSQL", "POSTGRESQL", "SQLSERVER", "ORACLE" ] version: str @typing.type_check_only -class DatabaseEntity(typing_extensions.TypedDict, total=False): +class DatabaseEntity(typing.TypedDict, total=False): database: DatabaseInstanceEntity databaseFunction: FunctionEntity databasePackage: PackageEntity entityDdl: _list[EntityDdl] - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", "DATABASE_ENTITY_TYPE_SCHEMA", "DATABASE_ENTITY_TYPE_TABLE", @@ -341,22 +337,20 @@ class DatabaseEntity(typing_extensions.TypedDict, total=False): storedProcedure: StoredProcedureEntity synonym: SynonymEntity table: TableEntity - tree: typing_extensions.Literal[ - "TREE_TYPE_UNSPECIFIED", "SOURCE", "DRAFT", "DESTINATION" - ] + tree: typing.Literal["TREE_TYPE_UNSPECIFIED", "SOURCE", "DRAFT", "DESTINATION"] udt: UDTEntity view: ViewEntity @typing.type_check_only -class DatabaseInstanceEntity(typing_extensions.TypedDict, total=False): +class DatabaseInstanceEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] @typing.type_check_only -class DatabaseType(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class DatabaseType(typing.TypedDict, total=False): + engine: typing.Literal[ "DATABASE_ENGINE_UNSPECIFIED", "MYSQL", "POSTGRESQL", "SQLSERVER", "ORACLE" ] - provider: typing_extensions.Literal[ + provider: typing.Literal[ "DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS", @@ -366,28 +360,26 @@ class DatabaseType(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DebugInfo(typing_extensions.TypedDict, total=False): +class DebugInfo(typing.TypedDict, total=False): detail: str stackEntries: _list[str] @typing.type_check_only -class DemoteDestinationRequest(typing_extensions.TypedDict, total=False): ... +class DemoteDestinationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DescribeConversionWorkspaceRevisionsResponse( - typing_extensions.TypedDict, total=False -): +class DescribeConversionWorkspaceRevisionsResponse(typing.TypedDict, total=False): revisions: _list[ConversionWorkspace] @typing.type_check_only -class DescribeDatabaseEntitiesResponse(typing_extensions.TypedDict, total=False): +class DescribeDatabaseEntitiesResponse(typing.TypedDict, total=False): databaseEntities: _list[DatabaseEntity] nextPageToken: str @typing.type_check_only -class DoubleComparisonFilter(typing_extensions.TypedDict, total=False): +class DoubleComparisonFilter(typing.TypedDict, total=False): value: float - valueComparison: typing_extensions.Literal[ + valueComparison: typing.Literal[ "VALUE_COMPARISON_UNSPECIFIED", "VALUE_COMPARISON_IF_VALUE_SMALLER_THAN", "VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN", @@ -396,33 +388,33 @@ class DoubleComparisonFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DumpFlag(typing_extensions.TypedDict, total=False): +class DumpFlag(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class DumpFlags(typing_extensions.TypedDict, total=False): +class DumpFlags(typing.TypedDict, total=False): dumpFlags: _list[DumpFlag] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class EntityDdl(typing_extensions.TypedDict, total=False): +class EntityDdl(typing.TypedDict, total=False): ddl: str - ddlKind: typing_extensions.Literal[ + ddlKind: typing.Literal[ "DDL_KIND_UNSPECIFIED", "SOURCE", "DETERMINISTIC", "AI", "USER_EDIT" ] ddlType: str - editedDdlKind: typing_extensions.Literal[ + editedDdlKind: typing.Literal[ "DDL_KIND_UNSPECIFIED", "SOURCE", "DETERMINISTIC", "AI", "USER_EDIT" ] entity: str - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", "DATABASE_ENTITY_TYPE_SCHEMA", "DATABASE_ENTITY_TYPE_TABLE", @@ -443,10 +435,10 @@ class EntityDdl(typing_extensions.TypedDict, total=False): issueId: _list[str] @typing.type_check_only -class EntityIssue(typing_extensions.TypedDict, total=False): +class EntityIssue(typing.TypedDict, total=False): code: str ddl: str - entityType: typing_extensions.Literal[ + entityType: typing.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", "DATABASE_ENTITY_TYPE_SCHEMA", "DATABASE_ENTITY_TYPE_TABLE", @@ -467,13 +459,13 @@ class EntityIssue(typing_extensions.TypedDict, total=False): id: str message: str position: Position - severity: typing_extensions.Literal[ + severity: typing.Literal[ "ISSUE_SEVERITY_UNSPECIFIED", "ISSUE_SEVERITY_INFO", "ISSUE_SEVERITY_WARNING", "ISSUE_SEVERITY_ERROR", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ISSUE_TYPE_UNSPECIFIED", "ISSUE_TYPE_DDL", "ISSUE_TYPE_APPLY", @@ -482,9 +474,9 @@ class EntityIssue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EntityMapping(typing_extensions.TypedDict, total=False): +class EntityMapping(typing.TypedDict, total=False): draftEntity: str - draftType: typing_extensions.Literal[ + draftType: typing.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", "DATABASE_ENTITY_TYPE_SCHEMA", "DATABASE_ENTITY_TYPE_TABLE", @@ -504,7 +496,7 @@ class EntityMapping(typing_extensions.TypedDict, total=False): ] mappingLog: _list[EntityMappingLogEntry] sourceEntity: str - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", "DATABASE_ENTITY_TYPE_SCHEMA", "DATABASE_ENTITY_TYPE_TABLE", @@ -524,47 +516,47 @@ class EntityMapping(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EntityMappingLogEntry(typing_extensions.TypedDict, total=False): +class EntityMappingLogEntry(typing.TypedDict, total=False): mappingComment: str ruleId: str ruleRevisionId: str @typing.type_check_only -class EntityMove(typing_extensions.TypedDict, total=False): +class EntityMove(typing.TypedDict, total=False): newSchema: str @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadata: dict[str, typing.Any] reason: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FetchStaticIpsResponse(typing_extensions.TypedDict, total=False): +class FetchStaticIpsResponse(typing.TypedDict, total=False): nextPageToken: str staticIps: _list[str] @typing.type_check_only -class FieldViolation(typing_extensions.TypedDict, total=False): +class FieldViolation(typing.TypedDict, total=False): description: str field: str localizedMessage: LocalizedMessage reason: str @typing.type_check_only -class FilterTableColumns(typing_extensions.TypedDict, total=False): +class FilterTableColumns(typing.TypedDict, total=False): excludeColumns: _list[str] includeColumns: _list[str] @typing.type_check_only -class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): +class ForwardSshTunnelConnectivity(typing.TypedDict, total=False): hostname: str password: str port: int @@ -572,26 +564,26 @@ class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class FunctionEntity(typing_extensions.TypedDict, total=False): +class FunctionEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] sqlCode: str @typing.type_check_only -class GenerateSshScriptRequest(typing_extensions.TypedDict, total=False): +class GenerateSshScriptRequest(typing.TypedDict, total=False): vm: str vmCreationConfig: VmCreationConfig vmPort: int vmSelectionConfig: VmSelectionConfig @typing.type_check_only -class GenerateTcpProxyScriptRequest(typing_extensions.TypedDict, total=False): +class GenerateTcpProxyScriptRequest(typing.TypedDict, total=False): vmMachineType: str vmName: str vmSubnet: str vmZone: str @typing.type_check_only -class GoogleCloudClouddmsV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudClouddmsV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -602,26 +594,26 @@ class GoogleCloudClouddmsV1OperationMetadata(typing_extensions.TypedDict, total= verb: str @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[Link] @typing.type_check_only -class HeterogeneousMetadata(typing_extensions.TypedDict, total=False): +class HeterogeneousMetadata(typing.TypedDict, total=False): unsupportedEventsCount: str @typing.type_check_only -class ImportMappingRulesRequest(typing_extensions.TypedDict, total=False): +class ImportMappingRulesRequest(typing.TypedDict, total=False): autoCommit: bool rulesFiles: _list[RulesFile] - rulesFormat: typing_extensions.Literal[ + rulesFormat: typing.Literal[ "IMPORT_RULES_FILE_FORMAT_UNSPECIFIED", "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE", "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE", ] @typing.type_check_only -class ImportRulesJobDetails(typing_extensions.TypedDict, total=False): - fileFormat: typing_extensions.Literal[ +class ImportRulesJobDetails(typing.TypedDict, total=False): + fileFormat: typing.Literal[ "IMPORT_RULES_FILE_FORMAT_UNSPECIFIED", "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE", "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE", @@ -629,7 +621,7 @@ class ImportRulesJobDetails(typing_extensions.TypedDict, total=False): files: _list[str] @typing.type_check_only -class IndexEntity(typing_extensions.TypedDict, total=False): +class IndexEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] name: str tableColumns: _list[str] @@ -638,15 +630,15 @@ class IndexEntity(typing_extensions.TypedDict, total=False): unique: bool @typing.type_check_only -class InstanceNetworkConfig(typing_extensions.TypedDict, total=False): +class InstanceNetworkConfig(typing.TypedDict, total=False): authorizedExternalNetworks: _list[AuthorizedNetwork] enableOutboundPublicIp: bool enablePublicIp: bool @typing.type_check_only -class IntComparisonFilter(typing_extensions.TypedDict, total=False): +class IntComparisonFilter(typing.TypedDict, total=False): value: str - valueComparison: typing_extensions.Literal[ + valueComparison: typing.Literal[ "VALUE_COMPARISON_UNSPECIFIED", "VALUE_COMPARISON_IF_VALUE_SMALLER_THAN", "VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN", @@ -655,62 +647,62 @@ class IntComparisonFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ListConnectionProfilesResponse(typing_extensions.TypedDict, total=False): +class ListConnectionProfilesResponse(typing.TypedDict, total=False): connectionProfiles: _list[ConnectionProfile] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConversionWorkspacesResponse(typing_extensions.TypedDict, total=False): +class ListConversionWorkspacesResponse(typing.TypedDict, total=False): conversionWorkspaces: _list[ConversionWorkspace] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMappingRulesResponse(typing_extensions.TypedDict, total=False): +class ListMappingRulesResponse(typing.TypedDict, total=False): mappingRules: _list[MappingRule] nextPageToken: str @typing.type_check_only -class ListMigrationJobObjectsResponse(typing_extensions.TypedDict, total=False): +class ListMigrationJobObjectsResponse(typing.TypedDict, total=False): migrationJobObjects: _list[MigrationJobObject] nextPageToken: str @typing.type_check_only -class ListMigrationJobsResponse(typing_extensions.TypedDict, total=False): +class ListMigrationJobsResponse(typing.TypedDict, total=False): migrationJobs: _list[MigrationJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListPrivateConnectionsResponse(typing.TypedDict, total=False): nextPageToken: str privateConnections: _list[PrivateConnection] unreachable: _list[str] @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -718,24 +710,24 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LogFileDirectories(typing_extensions.TypedDict, total=False): +class LogFileDirectories(typing.TypedDict, total=False): archivedLogDirectory: str onlineLogDirectory: str @typing.type_check_only -class LogMiner(typing_extensions.TypedDict, total=False): ... +class LogMiner(typing.TypedDict, total=False): ... @typing.type_check_only -class LookupMigrationJobObjectRequest(typing_extensions.TypedDict, total=False): +class LookupMigrationJobObjectRequest(typing.TypedDict, total=False): sourceObjectIdentifier: SourceObjectIdentifier @typing.type_check_only -class MachineConfig(typing_extensions.TypedDict, total=False): +class MachineConfig(typing.TypedDict, total=False): cpuCount: int machineType: str @typing.type_check_only -class MappingRule(typing_extensions.TypedDict, total=False): +class MappingRule(typing.TypedDict, total=False): conditionalColumnSetValue: ConditionalColumnSetValue convertRowidColumn: ConvertRowIdToColumn displayName: str @@ -748,7 +740,7 @@ class MappingRule(typing_extensions.TypedDict, total=False): revisionCreateTime: str revisionId: str ruleOrder: str - ruleScope: typing_extensions.Literal[ + ruleScope: typing.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", "DATABASE_ENTITY_TYPE_SCHEMA", "DATABASE_ENTITY_TYPE_TABLE", @@ -771,12 +763,10 @@ class MappingRule(typing_extensions.TypedDict, total=False): singleEntityRename: SingleEntityRename singlePackageChange: SinglePackageChange sourceSqlChange: SourceSqlChange - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DELETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DELETED"] @typing.type_check_only -class MappingRuleFilter(typing_extensions.TypedDict, total=False): +class MappingRuleFilter(typing.TypedDict, total=False): entities: _list[str] entityNameContains: str entityNamePrefix: str @@ -784,13 +774,13 @@ class MappingRuleFilter(typing_extensions.TypedDict, total=False): parentEntity: str @typing.type_check_only -class MaterializedViewEntity(typing_extensions.TypedDict, total=False): +class MaterializedViewEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] indices: _list[IndexEntity] sqlCode: str @typing.type_check_only -class MigrationJob(typing_extensions.TypedDict, total=False): +class MigrationJob(typing.TypedDict, total=False): cmekKeyName: str conversionWorkspace: ConversionWorkspaceInfo createTime: str @@ -799,7 +789,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): displayName: str dumpFlags: DumpFlags dumpPath: str - dumpType: typing_extensions.Literal["DUMP_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL"] + dumpType: typing.Literal["DUMP_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL"] duration: str endTime: str error: Status @@ -811,7 +801,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): oracleToPostgresConfig: OracleToPostgresConfig originalMigrationName: str performanceConfig: PerformanceConfig - phase: typing_extensions.Literal[ + phase: typing.Literal[ "PHASE_UNSPECIFIED", "FULL_DUMP", "CDC", @@ -822,7 +812,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): ] postgresHomogeneousConfig: PostgresHomogeneousConfig postgresToSqlserverConfig: PostgresToSqlServerConfig - purpose: typing_extensions.Literal["PURPOSE_UNSPECIFIED", "MIGRATE", "FAILBACK"] + purpose: typing.Literal["PURPOSE_UNSPECIFIED", "MIGRATE", "FAILBACK"] reverseSshConnectivity: ReverseSshConnectivity satisfiesPzi: bool satisfiesPzs: bool @@ -830,7 +820,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): sourceDatabase: DatabaseType sqlserverHomogeneousMigrationJobConfig: SqlServerHomogeneousMigrationJobConfig sqlserverToPostgresConfig: SqlServerToPostgresConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "MAINTENANCE", "DRAFT", @@ -849,17 +839,17 @@ class MigrationJob(typing_extensions.TypedDict, total=False): "RESUMING", ] staticIpConnectivity: StaticIpConnectivity - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ONE_TIME", "CONTINUOUS"] + type: typing.Literal["TYPE_UNSPECIFIED", "ONE_TIME", "CONTINUOUS"] updateTime: str vpcPeeringConnectivity: VpcPeeringConnectivity @typing.type_check_only -class MigrationJobObject(typing_extensions.TypedDict, total=False): +class MigrationJobObject(typing.TypedDict, total=False): createTime: str error: Status heterogeneousMetadata: HeterogeneousMetadata name: str - phase: typing_extensions.Literal[ + phase: typing.Literal[ "PHASE_UNSPECIFIED", "FULL_DUMP", "CDC", @@ -871,7 +861,7 @@ class MigrationJobObject(typing_extensions.TypedDict, total=False): "RESTORING_BACKUP", ] sourceObject: SourceObjectIdentifier - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NOT_STARTED", "RUNNING", @@ -886,12 +876,12 @@ class MigrationJobObject(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MigrationJobObjectsConfig(typing_extensions.TypedDict, total=False): +class MigrationJobObjectsConfig(typing.TypedDict, total=False): sourceObjectsConfig: SourceObjectsConfig @typing.type_check_only -class MigrationJobVerificationError(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class MigrationJobVerificationError(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "CONNECTION_FAILURE", "AUTHENTICATION_FAILURE", @@ -927,7 +917,7 @@ class MigrationJobVerificationError(typing_extensions.TypedDict, total=False): errorMessage: str @typing.type_check_only -class MultiColumnDatatypeChange(typing_extensions.TypedDict, total=False): +class MultiColumnDatatypeChange(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] newDataType: str overrideFractionalSecondsPrecision: int @@ -939,9 +929,9 @@ class MultiColumnDatatypeChange(typing_extensions.TypedDict, total=False): sourceTextFilter: SourceTextFilter @typing.type_check_only -class MultiEntityRename(typing_extensions.TypedDict, total=False): +class MultiEntityRename(typing.TypedDict, total=False): newNamePattern: str - sourceNameTransformation: typing_extensions.Literal[ + sourceNameTransformation: typing.Literal[ "ENTITY_NAME_TRANSFORMATION_UNSPECIFIED", "ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION", "ENTITY_NAME_TRANSFORMATION_LOWER_CASE", @@ -950,7 +940,7 @@ class MultiEntityRename(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MySqlConnectionProfile(typing_extensions.TypedDict, total=False): +class MySqlConnectionProfile(typing.TypedDict, total=False): cloudSqlId: str host: str password: str @@ -960,11 +950,11 @@ class MySqlConnectionProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class MySqlHomogeneousConfig(typing_extensions.TypedDict, total=False): +class MySqlHomogeneousConfig(typing.TypedDict, total=False): isPrimaryDestination: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -972,7 +962,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OracleAsmConfig(typing_extensions.TypedDict, total=False): +class OracleAsmConfig(typing.TypedDict, total=False): asmService: str hostname: str password: str @@ -982,10 +972,10 @@ class OracleAsmConfig(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class OracleAsmLogFileAccess(typing_extensions.TypedDict, total=False): ... +class OracleAsmLogFileAccess(typing.TypedDict, total=False): ... @typing.type_check_only -class OracleConnectionProfile(typing_extensions.TypedDict, total=False): +class OracleConnectionProfile(typing.TypedDict, total=False): databaseService: str forwardSshConnectivity: ForwardSshTunnelConnectivity host: str @@ -999,7 +989,7 @@ class OracleConnectionProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class OracleSourceConfig(typing_extensions.TypedDict, total=False): +class OracleSourceConfig(typing.TypedDict, total=False): binaryLogParser: BinaryLogParser cdcStartPosition: str logMiner: LogMiner @@ -1008,45 +998,45 @@ class OracleSourceConfig(typing_extensions.TypedDict, total=False): skipFullDump: bool @typing.type_check_only -class OracleToPostgresConfig(typing_extensions.TypedDict, total=False): +class OracleToPostgresConfig(typing.TypedDict, total=False): oracleSourceConfig: OracleSourceConfig postgresDestinationConfig: PostgresDestinationConfig @typing.type_check_only -class PackageEntity(typing_extensions.TypedDict, total=False): +class PackageEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] packageBody: str packageSqlCode: str @typing.type_check_only -class PerformanceConfig(typing_extensions.TypedDict, total=False): - dumpParallelLevel: typing_extensions.Literal[ +class PerformanceConfig(typing.TypedDict, total=False): + dumpParallelLevel: typing.Literal[ "DUMP_PARALLEL_LEVEL_UNSPECIFIED", "MIN", "OPTIMAL", "MAX" ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): column: int length: int line: int offset: int @typing.type_check_only -class PostgreSqlConnectionProfile(typing_extensions.TypedDict, total=False): +class PostgreSqlConnectionProfile(typing.TypedDict, total=False): alloydbClusterId: str cloudSqlId: str database: str enableIamAuthentication: bool forwardSshConnectivity: ForwardSshTunnelConnectivity host: str - networkArchitecture: typing_extensions.Literal[ + networkArchitecture: typing.Literal[ "NETWORK_ARCHITECTURE_UNSPECIFIED", "NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER", "NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER", @@ -1061,36 +1051,36 @@ class PostgreSqlConnectionProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class PostgresDestinationConfig(typing_extensions.TypedDict, total=False): +class PostgresDestinationConfig(typing.TypedDict, total=False): maxConcurrentConnections: int transactionTimeout: str @typing.type_check_only -class PostgresHomogeneousConfig(typing_extensions.TypedDict, total=False): +class PostgresHomogeneousConfig(typing.TypedDict, total=False): isNativeLogical: bool maxAdditionalSubscriptions: int @typing.type_check_only -class PostgresSourceConfig(typing_extensions.TypedDict, total=False): +class PostgresSourceConfig(typing.TypedDict, total=False): skipFullDump: bool @typing.type_check_only -class PostgresToSqlServerConfig(typing_extensions.TypedDict, total=False): +class PostgresToSqlServerConfig(typing.TypedDict, total=False): postgresSourceConfig: PostgresSourceConfig sqlserverDestinationConfig: SqlServerDestinationConfig @typing.type_check_only -class PreconditionFailure(typing_extensions.TypedDict, total=False): +class PreconditionFailure(typing.TypedDict, total=False): violations: _list[PreconditionFailureViolation] @typing.type_check_only -class PreconditionFailureViolation(typing_extensions.TypedDict, total=False): +class PreconditionFailureViolation(typing.TypedDict, total=False): description: str subject: str type: str @typing.type_check_only -class PrimaryInstanceSettings(typing_extensions.TypedDict, total=False): +class PrimaryInstanceSettings(typing.TypedDict, total=False): databaseFlags: dict[str, typing.Any] id: str instanceNetworkConfig: InstanceNetworkConfig @@ -1100,16 +1090,17 @@ class PrimaryInstanceSettings(typing_extensions.TypedDict, total=False): privateIp: str @typing.type_check_only -class PrivateConnection(typing_extensions.TypedDict, total=False): +class PrivateConnection(typing.TypedDict, total=False): createTime: str displayName: str error: Status labels: dict[str, typing.Any] name: str pscInterfaceConfig: PscInterfaceConfig + reservedPublicIpConfig: ReservedPublicIpConfig satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", @@ -1122,27 +1113,27 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): vpcPeeringConfig: VpcPeeringConfig @typing.type_check_only -class PrivateConnectivity(typing_extensions.TypedDict, total=False): +class PrivateConnectivity(typing.TypedDict, total=False): privateConnection: str @typing.type_check_only -class PrivateServiceConnectConnectivity(typing_extensions.TypedDict, total=False): +class PrivateServiceConnectConnectivity(typing.TypedDict, total=False): serviceAttachment: str @typing.type_check_only -class PromoteMigrationJobRequest(typing_extensions.TypedDict, total=False): +class PromoteMigrationJobRequest(typing.TypedDict, total=False): objectsFilter: MigrationJobObjectsConfig @typing.type_check_only -class PscInterfaceConfig(typing_extensions.TypedDict, total=False): +class PscInterfaceConfig(typing.TypedDict, total=False): networkAttachment: str @typing.type_check_only -class QuotaFailure(typing_extensions.TypedDict, total=False): +class QuotaFailure(typing.TypedDict, total=False): violations: _list[QuotaFailureViolation] @typing.type_check_only -class QuotaFailureViolation(typing_extensions.TypedDict, total=False): +class QuotaFailureViolation(typing.TypedDict, total=False): apiService: str description: str futureQuotaValue: str @@ -1153,70 +1144,75 @@ class QuotaFailureViolation(typing_extensions.TypedDict, total=False): subject: str @typing.type_check_only -class RequestInfo(typing_extensions.TypedDict, total=False): +class RequestInfo(typing.TypedDict, total=False): requestId: str servingData: str @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ReservedPublicIpConfig(typing.TypedDict, total=False): + egressPublicIps: _list[str] + natIpsCount: int + +@typing.type_check_only +class ResourceInfo(typing.TypedDict, total=False): description: str owner: str resourceName: str resourceType: str @typing.type_check_only -class RestartMigrationJobRequest(typing_extensions.TypedDict, total=False): +class RestartMigrationJobRequest(typing.TypedDict, total=False): objectsFilter: MigrationJobObjectsConfig restartFailedObjects: bool skipValidation: bool @typing.type_check_only -class ResumeMigrationJobRequest(typing_extensions.TypedDict, total=False): +class ResumeMigrationJobRequest(typing.TypedDict, total=False): skipValidation: bool @typing.type_check_only -class RetryInfo(typing_extensions.TypedDict, total=False): +class RetryInfo(typing.TypedDict, total=False): retryDelay: str @typing.type_check_only -class ReverseSshConnectivity(typing_extensions.TypedDict, total=False): +class ReverseSshConnectivity(typing.TypedDict, total=False): vm: str vmIp: str vmPort: int vpc: str @typing.type_check_only -class RollbackConversionWorkspaceRequest(typing_extensions.TypedDict, total=False): ... +class RollbackConversionWorkspaceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RoundToScale(typing_extensions.TypedDict, total=False): +class RoundToScale(typing.TypedDict, total=False): scale: int @typing.type_check_only -class RulesFile(typing_extensions.TypedDict, total=False): +class RulesFile(typing.TypedDict, total=False): rulesContent: str rulesSourceFilename: str @typing.type_check_only -class SchemaEntity(typing_extensions.TypedDict, total=False): +class SchemaEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] @typing.type_check_only -class SearchBackgroundJobsResponse(typing_extensions.TypedDict, total=False): +class SearchBackgroundJobsResponse(typing.TypedDict, total=False): jobs: _list[BackgroundJobLogEntry] @typing.type_check_only -class SeedConversionWorkspaceRequest(typing_extensions.TypedDict, total=False): +class SeedConversionWorkspaceRequest(typing.TypedDict, total=False): autoCommit: bool destinationConnectionProfile: str sourceConnectionProfile: str @typing.type_check_only -class SeedJobDetails(typing_extensions.TypedDict, total=False): +class SeedJobDetails(typing.TypedDict, total=False): connectionProfile: str @typing.type_check_only -class SequenceEntity(typing_extensions.TypedDict, total=False): +class SequenceEntity(typing.TypedDict, total=False): cache: str customFeatures: dict[str, typing.Any] cycle: bool @@ -1226,17 +1222,17 @@ class SequenceEntity(typing_extensions.TypedDict, total=False): startValue: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetTablePrimaryKey(typing_extensions.TypedDict, total=False): +class SetTablePrimaryKey(typing.TypedDict, total=False): primaryKey: str primaryKeyColumns: _list[str] @typing.type_check_only -class SingleColumnChange(typing_extensions.TypedDict, total=False): +class SingleColumnChange(typing.TypedDict, total=False): array: bool arrayLength: int autoGenerated: bool @@ -1254,17 +1250,17 @@ class SingleColumnChange(typing_extensions.TypedDict, total=False): udt: bool @typing.type_check_only -class SingleEntityRename(typing_extensions.TypedDict, total=False): +class SingleEntityRename(typing.TypedDict, total=False): newName: str @typing.type_check_only -class SinglePackageChange(typing_extensions.TypedDict, total=False): +class SinglePackageChange(typing.TypedDict, total=False): packageBody: str packageDescription: str @typing.type_check_only -class SourceNumericFilter(typing_extensions.TypedDict, total=False): - numericFilterOption: typing_extensions.Literal[ +class SourceNumericFilter(typing.TypedDict, total=False): + numericFilterOption: typing.Literal[ "NUMERIC_FILTER_OPTION_UNSPECIFIED", "NUMERIC_FILTER_OPTION_ALL", "NUMERIC_FILTER_OPTION_LIMIT", @@ -1276,43 +1272,43 @@ class SourceNumericFilter(typing_extensions.TypedDict, total=False): sourceMinScaleFilter: int @typing.type_check_only -class SourceObjectConfig(typing_extensions.TypedDict, total=False): +class SourceObjectConfig(typing.TypedDict, total=False): objectIdentifier: SourceObjectIdentifier @typing.type_check_only -class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): +class SourceObjectIdentifier(typing.TypedDict, total=False): database: str schema: str table: str - type: typing_extensions.Literal[ + type: typing.Literal[ "MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED", "DATABASE", "SCHEMA", "TABLE" ] @typing.type_check_only -class SourceObjectsConfig(typing_extensions.TypedDict, total=False): +class SourceObjectsConfig(typing.TypedDict, total=False): objectConfigs: _list[SourceObjectConfig] - objectsSelectionType: typing_extensions.Literal[ + objectsSelectionType: typing.Literal[ "OBJECTS_SELECTION_TYPE_UNSPECIFIED", "ALL_OBJECTS", "SPECIFIED_OBJECTS" ] @typing.type_check_only -class SourceSqlChange(typing_extensions.TypedDict, total=False): +class SourceSqlChange(typing.TypedDict, total=False): sqlCode: str @typing.type_check_only -class SourceTextFilter(typing_extensions.TypedDict, total=False): +class SourceTextFilter(typing.TypedDict, total=False): sourceMaxLengthFilter: str sourceMinLengthFilter: str @typing.type_check_only -class SqlAclEntry(typing_extensions.TypedDict, total=False): +class SqlAclEntry(typing.TypedDict, total=False): expireTime: str label: str ttl: str value: str @typing.type_check_only -class SqlIpConfig(typing_extensions.TypedDict, total=False): +class SqlIpConfig(typing.TypedDict, total=False): allocatedIpRange: str authorizedNetworks: _list[SqlAclEntry] enableIpv4: bool @@ -1320,12 +1316,12 @@ class SqlIpConfig(typing_extensions.TypedDict, total=False): requireSsl: bool @typing.type_check_only -class SqlServerBackups(typing_extensions.TypedDict, total=False): +class SqlServerBackups(typing.TypedDict, total=False): gcsBucket: str gcsPrefix: str @typing.type_check_only -class SqlServerConnectionProfile(typing_extensions.TypedDict, total=False): +class SqlServerConnectionProfile(typing.TypedDict, total=False): backups: SqlServerBackups cloudSqlId: str cloudSqlProjectId: str @@ -1343,28 +1339,28 @@ class SqlServerConnectionProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class SqlServerDagConfig(typing_extensions.TypedDict, total=False): +class SqlServerDagConfig(typing.TypedDict, total=False): linkedServer: str sourceAg: str @typing.type_check_only -class SqlServerDatabaseBackup(typing_extensions.TypedDict, total=False): +class SqlServerDatabaseBackup(typing.TypedDict, total=False): database: str encryptionOptions: SqlServerEncryptionOptions @typing.type_check_only -class SqlServerDestinationConfig(typing_extensions.TypedDict, total=False): +class SqlServerDestinationConfig(typing.TypedDict, total=False): maxConcurrentConnections: int transactionTimeout: str @typing.type_check_only -class SqlServerEncryptionOptions(typing_extensions.TypedDict, total=False): +class SqlServerEncryptionOptions(typing.TypedDict, total=False): certPath: str pvkPassword: str pvkPath: str @typing.type_check_only -class SqlServerHomogeneousMigrationJobConfig(typing_extensions.TypedDict, total=False): +class SqlServerHomogeneousMigrationJobConfig(typing.TypedDict, total=False): backupFilePattern: str dagConfig: SqlServerDagConfig databaseBackups: _list[SqlServerDatabaseBackup] @@ -1372,60 +1368,60 @@ class SqlServerHomogeneousMigrationJobConfig(typing_extensions.TypedDict, total= useDiffBackup: bool @typing.type_check_only -class SqlServerSourceConfig(typing_extensions.TypedDict, total=False): +class SqlServerSourceConfig(typing.TypedDict, total=False): cdcStartPosition: str maxConcurrentCdcConnections: int maxConcurrentFullDumpConnections: int skipFullDump: bool @typing.type_check_only -class SqlServerToPostgresConfig(typing_extensions.TypedDict, total=False): +class SqlServerToPostgresConfig(typing.TypedDict, total=False): postgresDestinationConfig: PostgresDestinationConfig sqlserverSourceConfig: SqlServerSourceConfig @typing.type_check_only -class SshScript(typing_extensions.TypedDict, total=False): +class SshScript(typing.TypedDict, total=False): script: str @typing.type_check_only -class SslConfig(typing_extensions.TypedDict, total=False): +class SslConfig(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str sslFlags: dict[str, typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "SSL_TYPE_UNSPECIFIED", "SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE" ] @typing.type_check_only -class StartMigrationJobRequest(typing_extensions.TypedDict, total=False): +class StartMigrationJobRequest(typing.TypedDict, total=False): skipValidation: bool @typing.type_check_only -class StaticIpConnectivity(typing_extensions.TypedDict, total=False): ... +class StaticIpConnectivity(typing.TypedDict, total=False): ... @typing.type_check_only -class StaticServiceIpConnectivity(typing_extensions.TypedDict, total=False): ... +class StaticServiceIpConnectivity(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class StopMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StoredProcedureEntity(typing_extensions.TypedDict, total=False): +class StoredProcedureEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] sqlCode: str @typing.type_check_only -class SynonymEntity(typing_extensions.TypedDict, total=False): +class SynonymEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] sourceEntity: str - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "DATABASE_ENTITY_TYPE_UNSPECIFIED", "DATABASE_ENTITY_TYPE_SCHEMA", "DATABASE_ENTITY_TYPE_TABLE", @@ -1445,7 +1441,7 @@ class SynonymEntity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TableEntity(typing_extensions.TypedDict, total=False): +class TableEntity(typing.TypedDict, total=False): columns: _list[ColumnEntity] comment: str constraints: _list[ConstraintEntity] @@ -1454,19 +1450,19 @@ class TableEntity(typing_extensions.TypedDict, total=False): triggers: _list[TriggerEntity] @typing.type_check_only -class TcpProxyScript(typing_extensions.TypedDict, total=False): +class TcpProxyScript(typing.TypedDict, total=False): script: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TriggerEntity(typing_extensions.TypedDict, total=False): +class TriggerEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] name: str sqlCode: str @@ -1474,21 +1470,21 @@ class TriggerEntity(typing_extensions.TypedDict, total=False): triggeringEvents: _list[str] @typing.type_check_only -class UDTEntity(typing_extensions.TypedDict, total=False): +class UDTEntity(typing.TypedDict, total=False): customFeatures: dict[str, typing.Any] udtBody: str udtSqlCode: str @typing.type_check_only -class UserPassword(typing_extensions.TypedDict, total=False): +class UserPassword(typing.TypedDict, total=False): password: str passwordSet: bool user: str @typing.type_check_only -class ValueListFilter(typing_extensions.TypedDict, total=False): +class ValueListFilter(typing.TypedDict, total=False): ignoreCase: bool - valuePresentList: typing_extensions.Literal[ + valuePresentList: typing.Literal[ "VALUE_PRESENT_IN_LIST_UNSPECIFIED", "VALUE_PRESENT_IN_LIST_IF_VALUE_LIST", "VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST", @@ -1496,7 +1492,7 @@ class ValueListFilter(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ValueTransformation(typing_extensions.TypedDict, total=False): +class ValueTransformation(typing.TypedDict, total=False): applyHash: ApplyHash assignMaxValue: Empty assignMinValue: Empty @@ -1509,31 +1505,31 @@ class ValueTransformation(typing_extensions.TypedDict, total=False): valueList: ValueListFilter @typing.type_check_only -class VerifyMigrationJobRequest(typing_extensions.TypedDict, total=False): +class VerifyMigrationJobRequest(typing.TypedDict, total=False): migrationJob: MigrationJob updateMask: str @typing.type_check_only -class ViewEntity(typing_extensions.TypedDict, total=False): +class ViewEntity(typing.TypedDict, total=False): constraints: _list[ConstraintEntity] customFeatures: dict[str, typing.Any] sqlCode: str @typing.type_check_only -class VmCreationConfig(typing_extensions.TypedDict, total=False): +class VmCreationConfig(typing.TypedDict, total=False): subnet: str vmMachineType: str vmZone: str @typing.type_check_only -class VmSelectionConfig(typing_extensions.TypedDict, total=False): +class VmSelectionConfig(typing.TypedDict, total=False): vmZone: str @typing.type_check_only -class VpcPeeringConfig(typing_extensions.TypedDict, total=False): +class VpcPeeringConfig(typing.TypedDict, total=False): subnet: str vpcName: str @typing.type_check_only -class VpcPeeringConnectivity(typing_extensions.TypedDict, total=False): +class VpcPeeringConnectivity(typing.TypedDict, total=False): vpc: str diff --git a/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi index ed89fec17..40d4f0af0 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi index 30c147da1..bb569922c 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi @@ -1,53 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BadRequest(typing_extensions.TypedDict, total=False): +class BadRequest(typing.TypedDict, total=False): fieldViolations: _list[FieldViolation] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudSqlConnectionProfile(typing_extensions.TypedDict, total=False): +class CloudSqlConnectionProfile(typing.TypedDict, total=False): cloudSqlId: str privateIp: str publicIp: str settings: CloudSqlSettings @typing.type_check_only -class CloudSqlSettings(typing_extensions.TypedDict, total=False): - activationPolicy: typing_extensions.Literal[ +class CloudSqlSettings(typing.TypedDict, total=False): + activationPolicy: typing.Literal[ "SQL_ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER" ] autoStorageIncrease: bool dataDiskSizeGb: str - dataDiskType: typing_extensions.Literal[ - "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD" - ] + dataDiskType: typing.Literal["SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD"] databaseFlags: dict[str, typing.Any] - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0" ] ipConfig: SqlIpConfig @@ -60,7 +56,7 @@ class CloudSqlSettings(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ConnectionProfile(typing_extensions.TypedDict, total=False): +class ConnectionProfile(typing.TypedDict, total=False): cloudsql: CloudSqlConnectionProfile createTime: str displayName: str @@ -68,10 +64,8 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] mysql: MySqlConnectionProfile name: str - provider: typing_extensions.Literal[ - "DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS" - ] - state: typing_extensions.Literal[ + provider: typing.Literal["DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS"] + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "CREATING", @@ -84,51 +78,47 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DatabaseType(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal["DATABASE_ENGINE_UNSPECIFIED", "MYSQL"] - provider: typing_extensions.Literal[ - "DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS" - ] +class DatabaseType(typing.TypedDict, total=False): + engine: typing.Literal["DATABASE_ENGINE_UNSPECIFIED", "MYSQL"] + provider: typing.Literal["DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS"] @typing.type_check_only -class DebugInfo(typing_extensions.TypedDict, total=False): +class DebugInfo(typing.TypedDict, total=False): detail: str stackEntries: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadata: dict[str, typing.Any] reason: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FieldViolation(typing_extensions.TypedDict, total=False): +class FieldViolation(typing.TypedDict, total=False): description: str field: str localizedMessage: LocalizedMessage reason: str @typing.type_check_only -class GenerateSshScriptRequest(typing_extensions.TypedDict, total=False): +class GenerateSshScriptRequest(typing.TypedDict, total=False): vm: str vmCreationConfig: VmCreationConfig vmPort: int vmSelectionConfig: VmSelectionConfig @typing.type_check_only -class GoogleCloudClouddmsV1beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudClouddmsV1beta1OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -138,44 +128,44 @@ class GoogleCloudClouddmsV1beta1OperationMetadata( verb: str @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[Link] @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ListConnectionProfilesResponse(typing_extensions.TypedDict, total=False): +class ListConnectionProfilesResponse(typing.TypedDict, total=False): connectionProfiles: _list[ConnectionProfile] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMigrationJobsResponse(typing_extensions.TypedDict, total=False): +class ListMigrationJobsResponse(typing.TypedDict, total=False): migrationJobs: _list[MigrationJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -183,7 +173,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MigrationJob(typing_extensions.TypedDict, total=False): +class MigrationJob(typing.TypedDict, total=False): createTime: str destination: str destinationDatabase: DatabaseType @@ -194,7 +184,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): error: Status labels: dict[str, typing.Any] name: str - phase: typing_extensions.Literal[ + phase: typing.Literal[ "PHASE_UNSPECIFIED", "FULL_DUMP", "CDC", @@ -205,7 +195,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): reverseSshConnectivity: ReverseSshConnectivity source: str sourceDatabase: DatabaseType - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "MAINTENANCE", "DRAFT", @@ -224,13 +214,13 @@ class MigrationJob(typing_extensions.TypedDict, total=False): "RESUMING", ] staticIpConnectivity: StaticIpConnectivity - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ONE_TIME", "CONTINUOUS"] + type: typing.Literal["TYPE_UNSPECIFIED", "ONE_TIME", "CONTINUOUS"] updateTime: str vpcPeeringConnectivity: VpcPeeringConnectivity @typing.type_check_only -class MigrationJobVerificationError(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class MigrationJobVerificationError(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "CONNECTION_FAILURE", "AUTHENTICATION_FAILURE", @@ -254,7 +244,7 @@ class MigrationJobVerificationError(typing_extensions.TypedDict, total=False): errorMessage: str @typing.type_check_only -class MySqlConnectionProfile(typing_extensions.TypedDict, total=False): +class MySqlConnectionProfile(typing.TypedDict, total=False): cloudSqlId: str host: str password: str @@ -264,7 +254,7 @@ class MySqlConnectionProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -272,31 +262,31 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PreconditionFailure(typing_extensions.TypedDict, total=False): +class PreconditionFailure(typing.TypedDict, total=False): violations: _list[PreconditionFailureViolation] @typing.type_check_only -class PreconditionFailureViolation(typing_extensions.TypedDict, total=False): +class PreconditionFailureViolation(typing.TypedDict, total=False): description: str subject: str type: str @typing.type_check_only -class PromoteMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class PromoteMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class QuotaFailure(typing_extensions.TypedDict, total=False): +class QuotaFailure(typing.TypedDict, total=False): violations: _list[QuotaFailureViolation] @typing.type_check_only -class QuotaFailureViolation(typing_extensions.TypedDict, total=False): +class QuotaFailureViolation(typing.TypedDict, total=False): apiService: str description: str futureQuotaValue: str @@ -307,102 +297,100 @@ class QuotaFailureViolation(typing_extensions.TypedDict, total=False): subject: str @typing.type_check_only -class RequestInfo(typing_extensions.TypedDict, total=False): +class RequestInfo(typing.TypedDict, total=False): requestId: str servingData: str @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ResourceInfo(typing.TypedDict, total=False): description: str owner: str resourceName: str resourceType: str @typing.type_check_only -class RestartMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class RestartMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResumeMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class ResumeMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryInfo(typing_extensions.TypedDict, total=False): +class RetryInfo(typing.TypedDict, total=False): retryDelay: str @typing.type_check_only -class ReverseSshConnectivity(typing_extensions.TypedDict, total=False): +class ReverseSshConnectivity(typing.TypedDict, total=False): vm: str vmIp: str vmPort: int vpc: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SqlAclEntry(typing_extensions.TypedDict, total=False): +class SqlAclEntry(typing.TypedDict, total=False): expireTime: str label: str ttl: str value: str @typing.type_check_only -class SqlIpConfig(typing_extensions.TypedDict, total=False): +class SqlIpConfig(typing.TypedDict, total=False): authorizedNetworks: _list[SqlAclEntry] enableIpv4: bool privateNetwork: str requireSsl: bool @typing.type_check_only -class SshScript(typing_extensions.TypedDict, total=False): +class SshScript(typing.TypedDict, total=False): script: str @typing.type_check_only -class SslConfig(typing_extensions.TypedDict, total=False): +class SslConfig(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str - type: typing_extensions.Literal[ - "SSL_TYPE_UNSPECIFIED", "SERVER_ONLY", "SERVER_CLIENT" - ] + type: typing.Literal["SSL_TYPE_UNSPECIFIED", "SERVER_ONLY", "SERVER_CLIENT"] @typing.type_check_only -class StartMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class StartMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StaticIpConnectivity(typing_extensions.TypedDict, total=False): ... +class StaticIpConnectivity(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class StopMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class VerifyMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class VerifyMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class VmCreationConfig(typing_extensions.TypedDict, total=False): +class VmCreationConfig(typing.TypedDict, total=False): subnet: str vmMachineType: str vmZone: str @typing.type_check_only -class VmSelectionConfig(typing_extensions.TypedDict, total=False): +class VmSelectionConfig(typing.TypedDict, total=False): vmZone: str @typing.type_check_only -class VpcPeeringConnectivity(typing_extensions.TypedDict, total=False): +class VpcPeeringConnectivity(typing.TypedDict, total=False): vpc: str diff --git a/googleapiclient-stubs/_apis/datapipelines/v1/resources.pyi b/googleapiclient-stubs/_apis/datapipelines/v1/resources.pyi index 0d7a286c8..b7d739314 100644 --- a/googleapiclient-stubs/_apis/datapipelines/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datapipelines/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datapipelines/v1/schemas.pyi b/googleapiclient-stubs/_apis/datapipelines/v1/schemas.pyi index 89ffacb2f..1d301179f 100644 --- a/googleapiclient-stubs/_apis/datapipelines/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datapipelines/v1/schemas.pyi @@ -1,28 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudDatapipelinesV1DataflowJobDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatapipelinesV1DataflowJobDetails(typing.TypedDict, total=False): currentWorkers: int resourceInfo: dict[str, typing.Any] sdkVersion: GoogleCloudDatapipelinesV1SdkVersion @typing.type_check_only class GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalExperiments: _list[str] additionalUserLabels: dict[str, typing.Any] enableStreamingEngine: bool - flexrsGoal: typing_extensions.Literal[ + flexrsGoal: typing.Literal[ "FLEXRS_UNSPECIFIED", "FLEXRS_SPEED_OPTIMIZED", "FLEXRS_COST_OPTIMIZED" ] - ipConfiguration: typing_extensions.Literal[ + ipConfiguration: typing.Literal[ "WORKER_IP_UNSPECIFIED", "WORKER_IP_PUBLIC", "WORKER_IP_PRIVATE" ] kmsKeyName: str @@ -38,13 +34,13 @@ class GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment( zone: str @typing.type_check_only -class GoogleCloudDatapipelinesV1Job(typing_extensions.TypedDict, total=False): +class GoogleCloudDatapipelinesV1Job(typing.TypedDict, total=False): createTime: str dataflowJobDetails: GoogleCloudDatapipelinesV1DataflowJobDetails endTime: str id: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_PENDING", "STATE_RUNNING", @@ -56,7 +52,7 @@ class GoogleCloudDatapipelinesV1Job(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): containerSpecGcsPath: str environment: GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment @@ -68,7 +64,7 @@ class GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter( @typing.type_check_only class GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): launchParameter: GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter location: str @@ -76,9 +72,7 @@ class GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest( validateOnly: bool @typing.type_check_only -class GoogleCloudDatapipelinesV1LaunchTemplateParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatapipelinesV1LaunchTemplateParameters(typing.TypedDict, total=False): environment: GoogleCloudDatapipelinesV1RuntimeEnvironment jobName: str parameters: dict[str, typing.Any] @@ -86,9 +80,7 @@ class GoogleCloudDatapipelinesV1LaunchTemplateParameters( update: bool @typing.type_check_only -class GoogleCloudDatapipelinesV1LaunchTemplateRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatapipelinesV1LaunchTemplateRequest(typing.TypedDict, total=False): gcsPath: str launchParameters: GoogleCloudDatapipelinesV1LaunchTemplateParameters location: str @@ -96,21 +88,17 @@ class GoogleCloudDatapipelinesV1LaunchTemplateRequest( validateOnly: bool @typing.type_check_only -class GoogleCloudDatapipelinesV1ListJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatapipelinesV1ListJobsResponse(typing.TypedDict, total=False): jobs: _list[GoogleCloudDatapipelinesV1Job] nextPageToken: str @typing.type_check_only -class GoogleCloudDatapipelinesV1ListPipelinesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatapipelinesV1ListPipelinesResponse(typing.TypedDict, total=False): nextPageToken: str pipelines: _list[GoogleCloudDatapipelinesV1Pipeline] @typing.type_check_only -class GoogleCloudDatapipelinesV1Pipeline(typing_extensions.TypedDict, total=False): +class GoogleCloudDatapipelinesV1Pipeline(typing.TypedDict, total=False): createTime: str displayName: str jobCount: int @@ -119,7 +107,7 @@ class GoogleCloudDatapipelinesV1Pipeline(typing_extensions.TypedDict, total=Fals pipelineSources: dict[str, typing.Any] scheduleInfo: GoogleCloudDatapipelinesV1ScheduleSpec schedulerServiceAccountEmail: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_RESUMING", "STATE_ACTIVE", @@ -127,31 +115,25 @@ class GoogleCloudDatapipelinesV1Pipeline(typing_extensions.TypedDict, total=Fals "STATE_ARCHIVED", "STATE_PAUSED", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "PIPELINE_TYPE_UNSPECIFIED", "PIPELINE_TYPE_BATCH", "PIPELINE_TYPE_STREAMING" ] workload: GoogleCloudDatapipelinesV1Workload @typing.type_check_only -class GoogleCloudDatapipelinesV1RunPipelineRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDatapipelinesV1RunPipelineRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDatapipelinesV1RunPipelineResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatapipelinesV1RunPipelineResponse(typing.TypedDict, total=False): job: GoogleCloudDatapipelinesV1Job @typing.type_check_only -class GoogleCloudDatapipelinesV1RuntimeEnvironment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDatapipelinesV1RuntimeEnvironment(typing.TypedDict, total=False): additionalExperiments: _list[str] additionalUserLabels: dict[str, typing.Any] bypassTempDirValidation: bool enableStreamingEngine: bool - ipConfiguration: typing_extensions.Literal[ + ipConfiguration: typing.Literal[ "WORKER_IP_UNSPECIFIED", "WORKER_IP_PUBLIC", "WORKER_IP_PRIVATE" ] kmsKeyName: str @@ -167,34 +149,32 @@ class GoogleCloudDatapipelinesV1RuntimeEnvironment( zone: str @typing.type_check_only -class GoogleCloudDatapipelinesV1ScheduleSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDatapipelinesV1ScheduleSpec(typing.TypedDict, total=False): nextJobTime: str schedule: str timeZone: str @typing.type_check_only -class GoogleCloudDatapipelinesV1SdkVersion(typing_extensions.TypedDict, total=False): - sdkSupportStatus: typing_extensions.Literal[ +class GoogleCloudDatapipelinesV1SdkVersion(typing.TypedDict, total=False): + sdkSupportStatus: typing.Literal[ "UNKNOWN", "SUPPORTED", "STALE", "DEPRECATED", "UNSUPPORTED" ] version: str versionDisplayName: str @typing.type_check_only -class GoogleCloudDatapipelinesV1StopPipelineRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDatapipelinesV1StopPipelineRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDatapipelinesV1Workload(typing_extensions.TypedDict, total=False): +class GoogleCloudDatapipelinesV1Workload(typing.TypedDict, total=False): dataflowFlexTemplateRequest: GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest dataflowLaunchTemplateRequest: GoogleCloudDatapipelinesV1LaunchTemplateRequest @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index e70615db8..f8b55025e 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -575,7 +574,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "DATA_SCAN_JOB_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -623,9 +622,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "DATA_SCAN_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["DATA_SCAN_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleCloudDataplexV1DataScanHttpRequest: ... @@ -836,7 +833,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): name: str, aspectTypes: str | _list[str] | None = ..., paths: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ENTRY_VIEW_UNSPECIFIED", "BASIC", "FULL", "CUSTOM", "ALL" ] | None = ..., @@ -1547,7 +1544,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ENTITY_VIEW_UNSPECIFIED", "BASIC", "SCHEMA", "FULL" ] | None = ..., @@ -1560,7 +1557,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ENTITY_VIEW_UNSPECIFIED", "TABLES", "FILESETS" ] | None = ..., @@ -1857,7 +1854,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): aspectTypes: str | _list[str] | None = ..., entry: str | None = ..., paths: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ENTRY_VIEW_UNSPECIFIED", "BASIC", "FULL", "CUSTOM", "ALL" ] | None = ..., @@ -1869,9 +1866,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): name: str, entry: str | None = ..., entryLinkTypes: str | _list[str] | None = ..., - entryMode: typing_extensions.Literal[ - "ENTRY_MODE_UNSPECIFIED", "SOURCE", "TARGET" - ] + entryMode: typing.Literal["ENTRY_MODE_UNSPECIFIED", "SOURCE", "TARGET"] | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index 21f3310c1..e242d2e4b 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1Action(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Action(typing.TypedDict, total=False): asset: str - category: typing_extensions.Literal[ + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "RESOURCE_MANAGEMENT", "SECURITY_POLICY", @@ -33,66 +31,55 @@ class GoogleCloudDataplexV1Action(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudDataplexV1ActionFailedSecurityPolicyApply( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str @typing.type_check_only -class GoogleCloudDataplexV1ActionIncompatibleDataSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ActionIncompatibleDataSchema(typing.TypedDict, total=False): existingSchema: str newSchema: str sampledDataLocations: _list[str] - schemaChange: typing_extensions.Literal[ + schemaChange: typing.Literal[ "SCHEMA_CHANGE_UNSPECIFIED", "INCOMPATIBLE", "MODIFIED" ] table: str @typing.type_check_only -class GoogleCloudDataplexV1ActionInvalidDataFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ActionInvalidDataFormat(typing.TypedDict, total=False): expectedFormat: str newFormat: str sampledDataLocations: _list[str] @typing.type_check_only class GoogleCloudDataplexV1ActionInvalidDataOrganization( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDataplexV1ActionInvalidDataPartition( - typing_extensions.TypedDict, total=False -): - expectedStructure: typing_extensions.Literal[ +class GoogleCloudDataplexV1ActionInvalidDataPartition(typing.TypedDict, total=False): + expectedStructure: typing.Literal[ "PARTITION_STRUCTURE_UNSPECIFIED", "CONSISTENT_KEYS", "HIVE_STYLE_KEYS" ] @typing.type_check_only -class GoogleCloudDataplexV1ActionMissingData( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1ActionMissingData(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1ActionMissingResource( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1ActionMissingResource(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDataplexV1ActionUnauthorizedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDataplexV1ApproveChangeRequestRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ApproveChangeRequestRequest(typing.TypedDict, total=False): + comment: str etag: str @typing.type_check_only -class GoogleCloudDataplexV1Aspect(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Aspect(typing.TypedDict, total=False): aspectSource: GoogleCloudDataplexV1AspectSource aspectType: str createTime: str @@ -101,16 +88,16 @@ class GoogleCloudDataplexV1Aspect(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1AspectSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1AspectSource(typing.TypedDict, total=False): createTime: str dataVersion: str updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1AspectType(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1AspectType(typing.TypedDict, total=False): authorization: GoogleCloudDataplexV1AspectTypeAuthorization createTime: str - dataClassification: typing_extensions.Literal[ + dataClassification: typing.Literal[ "DATA_CLASSIFICATION_UNSPECIFIED", "METADATA_AND_DATA" ] description: str @@ -119,7 +106,7 @@ class GoogleCloudDataplexV1AspectType(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] metadataTemplate: GoogleCloudDataplexV1AspectTypeMetadataTemplate name: str - transferStatus: typing_extensions.Literal[ + transferStatus: typing.Literal[ "TRANSFER_STATUS_UNSPECIFIED", "TRANSFER_STATUS_MIGRATED", "TRANSFER_STATUS_TRANSFERRED", @@ -128,15 +115,11 @@ class GoogleCloudDataplexV1AspectType(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1AspectTypeAuthorization( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AspectTypeAuthorization(typing.TypedDict, total=False): alternateUsePermission: str @typing.type_check_only -class GoogleCloudDataplexV1AspectTypeMetadataTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AspectTypeMetadataTemplate(typing.TypedDict, total=False): annotations: GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations arrayItems: GoogleCloudDataplexV1AspectTypeMetadataTemplate constraints: GoogleCloudDataplexV1AspectTypeMetadataTemplateConstraints @@ -151,7 +134,7 @@ class GoogleCloudDataplexV1AspectTypeMetadataTemplate( @typing.type_check_only class GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deprecated: str description: str @@ -162,20 +145,20 @@ class GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations( @typing.type_check_only class GoogleCloudDataplexV1AspectTypeMetadataTemplateConstraints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): required: bool @typing.type_check_only class GoogleCloudDataplexV1AspectTypeMetadataTemplateEnumValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deprecated: str index: int name: str @typing.type_check_only -class GoogleCloudDataplexV1Asset(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Asset(typing.TypedDict, total=False): createTime: str description: str discoverySpec: GoogleCloudDataplexV1AssetDiscoverySpec @@ -186,14 +169,14 @@ class GoogleCloudDataplexV1Asset(typing_extensions.TypedDict, total=False): resourceSpec: GoogleCloudDataplexV1AssetResourceSpec resourceStatus: GoogleCloudDataplexV1AssetResourceStatus securityStatus: GoogleCloudDataplexV1AssetSecurityStatus - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "ACTION_REQUIRED" ] uid: str updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1AssetDiscoverySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1AssetDiscoverySpec(typing.TypedDict, total=False): csvOptions: GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions enabled: bool excludePatterns: _list[str] @@ -202,81 +185,63 @@ class GoogleCloudDataplexV1AssetDiscoverySpec(typing_extensions.TypedDict, total schedule: str @typing.type_check_only -class GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions(typing.TypedDict, total=False): delimiter: str disableTypeInference: bool encoding: str headerRows: int @typing.type_check_only -class GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions(typing.TypedDict, total=False): disableTypeInference: bool encoding: str @typing.type_check_only -class GoogleCloudDataplexV1AssetDiscoveryStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AssetDiscoveryStatus(typing.TypedDict, total=False): lastRunDuration: str lastRunTime: str message: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SCHEDULED", "IN_PROGRESS", "PAUSED", "DISABLED" ] stats: GoogleCloudDataplexV1AssetDiscoveryStatusStats updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1AssetDiscoveryStatusStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AssetDiscoveryStatusStats(typing.TypedDict, total=False): dataItems: str dataSize: str filesets: str tables: str @typing.type_check_only -class GoogleCloudDataplexV1AssetResourceSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1AssetResourceSpec(typing.TypedDict, total=False): name: str - readAccessMode: typing_extensions.Literal[ - "ACCESS_MODE_UNSPECIFIED", "DIRECT", "MANAGED" - ] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "STORAGE_BUCKET", "BIGQUERY_DATASET" - ] + readAccessMode: typing.Literal["ACCESS_MODE_UNSPECIFIED", "DIRECT", "MANAGED"] + type: typing.Literal["TYPE_UNSPECIFIED", "STORAGE_BUCKET", "BIGQUERY_DATASET"] @typing.type_check_only -class GoogleCloudDataplexV1AssetResourceStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AssetResourceStatus(typing.TypedDict, total=False): managedAccessIdentity: str message: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "ERROR"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "ERROR"] updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1AssetSecurityStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1AssetSecurityStatus(typing.TypedDict, total=False): message: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "APPLYING", "ERROR"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "APPLYING", "ERROR"] updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1AssetStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1AssetStatus(typing.TypedDict, total=False): activeAssets: int securityPolicyApplyingAssets: int updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1BusinessGlossaryEvent( - typing_extensions.TypedDict, total=False -): - eventType: typing_extensions.Literal[ +class GoogleCloudDataplexV1BusinessGlossaryEvent(typing.TypedDict, total=False): + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "GLOSSARY_CREATE", "GLOSSARY_UPDATE", @@ -292,30 +257,22 @@ class GoogleCloudDataplexV1BusinessGlossaryEvent( resource: str @typing.type_check_only -class GoogleCloudDataplexV1CancelDataScanJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1CancelDataScanJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1CancelDataScanJobResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1CancelDataScanJobResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1CancelJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1CancelJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1CancelMetadataJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1CancelMetadataJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1ChangeRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ChangeRequest(typing.TypedDict, total=False): approver: str author: str - changeType: typing_extensions.Literal[ + changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "CREATE_ENTRY", "UPDATE_ENTRY", @@ -351,7 +308,8 @@ class GoogleCloudDataplexV1ChangeRequest(typing_extensions.TypedDict, total=Fals name: str rejectionComment: str resource: str - state: typing_extensions.Literal[ + reviewerComment: str + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "APPROVED", "REJECTED", "EXPIRED", "REVOKED" ] uid: str @@ -362,60 +320,52 @@ class GoogleCloudDataplexV1ChangeRequest(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1ContactIdentity(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ContactIdentity(typing.TypedDict, total=False): contactId: str contactName: str contactRole: str @typing.type_check_only -class GoogleCloudDataplexV1Contacts(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Contacts(typing.TypedDict, total=False): identities: _list[GoogleCloudDataplexV1ContactIdentity] @typing.type_check_only -class GoogleCloudDataplexV1CreateEntryLinkRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1CreateEntryLinkRequest(typing.TypedDict, total=False): entryLink: GoogleCloudDataplexV1EntryLink entryLinkId: str parent: str @typing.type_check_only -class GoogleCloudDataplexV1CreateEntryRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1CreateEntryRequest(typing.TypedDict, total=False): entry: GoogleCloudDataplexV1Entry entryId: str parent: str @typing.type_check_only -class GoogleCloudDataplexV1CreateGlossaryCategoryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1CreateGlossaryCategoryRequest(typing.TypedDict, total=False): category: GoogleCloudDataplexV1GlossaryCategory categoryId: str parent: str @typing.type_check_only -class GoogleCloudDataplexV1CreateGlossaryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1CreateGlossaryRequest(typing.TypedDict, total=False): glossary: GoogleCloudDataplexV1Glossary glossaryId: str parent: str validateOnly: bool @typing.type_check_only -class GoogleCloudDataplexV1CreateGlossaryTermRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1CreateGlossaryTermRequest(typing.TypedDict, total=False): parent: str term: GoogleCloudDataplexV1GlossaryTerm termId: str @typing.type_check_only -class GoogleCloudDataplexV1DataAccessSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataAccessSpec(typing.TypedDict, total=False): readers: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1DataAsset(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataAsset(typing.TypedDict, total=False): accessGroupConfigs: dict[str, typing.Any] createTime: str etag: str @@ -426,13 +376,11 @@ class GoogleCloudDataplexV1DataAsset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1DataAssetAccessGroupConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataAssetAccessGroupConfig(typing.TypedDict, total=False): iamRoles: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1DataAttribute(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataAttribute(typing.TypedDict, total=False): attributeCount: int createTime: str dataAccessSpec: GoogleCloudDataplexV1DataAccessSpec @@ -447,9 +395,7 @@ class GoogleCloudDataplexV1DataAttribute(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1DataAttributeBinding( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataAttributeBinding(typing.TypedDict, total=False): attributes: _list[str] createTime: str description: str @@ -463,29 +409,25 @@ class GoogleCloudDataplexV1DataAttributeBinding( updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1DataAttributeBindingPath( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataAttributeBindingPath(typing.TypedDict, total=False): attributes: _list[str] name: str @typing.type_check_only -class GoogleCloudDataplexV1DataDiscoveryResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataDiscoveryResult(typing.TypedDict, total=False): bigqueryPublishing: GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing scanStatistics: GoogleCloudDataplexV1DataDiscoveryResultScanStatistics @typing.type_check_only class GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str location: str @typing.type_check_only class GoogleCloudDataplexV1DataDiscoveryResultScanStatistics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProcessedBytes: str filesExcluded: int @@ -498,7 +440,7 @@ class GoogleCloudDataplexV1DataDiscoveryResultScanStatistics( tablesUpdated: int @typing.type_check_only -class GoogleCloudDataplexV1DataDiscoverySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataDiscoverySpec(typing.TypedDict, total=False): bigqueryPublishingConfig: ( GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig ) @@ -506,18 +448,16 @@ class GoogleCloudDataplexV1DataDiscoverySpec(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connection: str location: str project: str - tableType: typing_extensions.Literal[ - "TABLE_TYPE_UNSPECIFIED", "EXTERNAL", "BIGLAKE" - ] + tableType: typing.Literal["TABLE_TYPE_UNSPECIFIED", "EXTERNAL", "BIGLAKE"] @typing.type_check_only class GoogleCloudDataplexV1DataDiscoverySpecStorageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): csvOptions: GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions excludePatterns: _list[str] @@ -529,7 +469,7 @@ class GoogleCloudDataplexV1DataDiscoverySpecStorageConfig( @typing.type_check_only class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): delimiter: str encoding: str @@ -539,28 +479,26 @@ class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions( @typing.type_check_only class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encoding: str typeInferenceDisabled: bool @typing.type_check_only class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): globalEndpointEnabled: bool semanticInferenceEnabled: bool @typing.type_check_only -class GoogleCloudDataplexV1DataDocumentationResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataDocumentationResult(typing.TypedDict, total=False): datasetResult: GoogleCloudDataplexV1DataDocumentationResultDatasetResult tableResult: GoogleCloudDataplexV1DataDocumentationResultTableResult @typing.type_check_only class GoogleCloudDataplexV1DataDocumentationResultDatasetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): overview: str queries: _list[GoogleCloudDataplexV1DataDocumentationResultQuery] @@ -569,29 +507,23 @@ class GoogleCloudDataplexV1DataDocumentationResultDatasetResult( ] @typing.type_check_only -class GoogleCloudDataplexV1DataDocumentationResultField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataDocumentationResultField(typing.TypedDict, total=False): description: str fields: _list[GoogleCloudDataplexV1DataDocumentationResultField] name: str @typing.type_check_only -class GoogleCloudDataplexV1DataDocumentationResultQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataDocumentationResultQuery(typing.TypedDict, total=False): description: str sql: str @typing.type_check_only -class GoogleCloudDataplexV1DataDocumentationResultSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataDocumentationResultSchema(typing.TypedDict, total=False): fields: _list[GoogleCloudDataplexV1DataDocumentationResultField] @typing.type_check_only class GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leftSchemaPaths: ( GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths @@ -600,22 +532,22 @@ class GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship( GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths ) sources: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOURCE_UNSPECIFIED", "AGENT", "QUERY_HISTORY", "TABLE_CONSTRAINTS" ] ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SCHEMA_JOIN"] + type: typing.Literal["TYPE_UNSPECIFIED", "SCHEMA_JOIN"] @typing.type_check_only class GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): paths: _list[str] tableFqn: str @typing.type_check_only class GoogleCloudDataplexV1DataDocumentationResultTableResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str overview: str @@ -623,12 +555,10 @@ class GoogleCloudDataplexV1DataDocumentationResultTableResult( schema: GoogleCloudDataplexV1DataDocumentationResultSchema @typing.type_check_only -class GoogleCloudDataplexV1DataDocumentationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataDocumentationSpec(typing.TypedDict, total=False): catalogPublishingEnabled: bool generationScopes: _list[ - typing_extensions.Literal[ + typing.Literal[ "GENERATION_SCOPE_UNSPECIFIED", "ALL", "TABLE_AND_COLUMN_DESCRIPTIONS", @@ -638,7 +568,7 @@ class GoogleCloudDataplexV1DataDocumentationSpec( ] @typing.type_check_only -class GoogleCloudDataplexV1DataDomain(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataDomain(typing.TypedDict, total=False): contacts: GoogleCloudDataplexV1Contacts createTime: str description: str @@ -646,18 +576,19 @@ class GoogleCloudDataplexV1DataDomain(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str parentDataDomain: str + policyMember: GoogleIamV1ResourcePolicyMember uid: str updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1DataDomainBinding(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataDomainBinding(typing.TypedDict, total=False): createTime: str name: str resource: str uid: str @typing.type_check_only -class GoogleCloudDataplexV1DataProduct(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataProduct(typing.TypedDict, total=False): accessApprovalConfig: GoogleCloudDataplexV1DataProductAccessApprovalConfig accessGroups: dict[str, typing.Any] assetCount: int @@ -674,37 +605,31 @@ class GoogleCloudDataplexV1DataProduct(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleCloudDataplexV1DataProductAccessApprovalConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): approverEmails: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1DataProductAccessGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataProductAccessGroup(typing.TypedDict, total=False): description: str displayName: str id: str principal: GoogleCloudDataplexV1DataProductPrincipal @typing.type_check_only -class GoogleCloudDataplexV1DataProductAccessRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataProductAccessRequest(typing.TypedDict, total=False): accessGroupDisplayName: str accessGroupId: str parent: str requestedPrincipal: str @typing.type_check_only -class GoogleCloudDataplexV1DataProductPrincipal( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataProductPrincipal(typing.TypedDict, total=False): googleGroup: str serviceAccount: str @typing.type_check_only -class GoogleCloudDataplexV1DataProfileResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataProfileResult(typing.TypedDict, total=False): catalogPublishingStatus: GoogleCloudDataplexV1DataScanCatalogPublishingStatus postScanActionsResult: GoogleCloudDataplexV1DataProfileResultPostScanActionsResult profile: GoogleCloudDataplexV1DataProfileResultProfile @@ -713,7 +638,7 @@ class GoogleCloudDataplexV1DataProfileResult(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDataplexV1DataProfileResultPostScanActionsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryExportResult: ( GoogleCloudDataplexV1DataProfileResultPostScanActionsResultBigQueryExportResult @@ -721,23 +646,17 @@ class GoogleCloudDataplexV1DataProfileResultPostScanActionsResult( @typing.type_check_only class GoogleCloudDataplexV1DataProfileResultPostScanActionsResultBigQueryExportResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] @typing.type_check_only -class GoogleCloudDataplexV1DataProfileResultProfile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataProfileResultProfile(typing.TypedDict, total=False): fields: _list[GoogleCloudDataplexV1DataProfileResultProfileField] @typing.type_check_only -class GoogleCloudDataplexV1DataProfileResultProfileField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataProfileResultProfileField(typing.TypedDict, total=False): mode: str name: str profile: GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo @@ -745,7 +664,7 @@ class GoogleCloudDataplexV1DataProfileResultProfileField( @typing.type_check_only class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distinctRatio: float doubleProfile: ( @@ -764,7 +683,7 @@ class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo( @typing.type_check_only class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): average: float max: float @@ -774,7 +693,7 @@ class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldIn @typing.type_check_only class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): average: float max: str @@ -784,7 +703,7 @@ class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldI @typing.type_check_only class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageLength: float maxLength: str @@ -792,65 +711,57 @@ class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldIn @typing.type_check_only class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str ratio: float value: str @typing.type_check_only -class GoogleCloudDataplexV1DataProfileSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataProfileSpec(typing.TypedDict, total=False): catalogPublishingEnabled: bool excludeFields: GoogleCloudDataplexV1DataProfileSpecSelectedFields includeFields: GoogleCloudDataplexV1DataProfileSpecSelectedFields - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "STANDARD", "LIGHTWEIGHT"] + mode: typing.Literal["MODE_UNSPECIFIED", "STANDARD", "LIGHTWEIGHT"] postScanActions: GoogleCloudDataplexV1DataProfileSpecPostScanActions rowFilter: str samplingPercent: float @typing.type_check_only class GoogleCloudDataplexV1DataProfileSpecPostScanActions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryExport: GoogleCloudDataplexV1DataProfileSpecPostScanActionsBigQueryExport @typing.type_check_only class GoogleCloudDataplexV1DataProfileSpecPostScanActionsBigQueryExport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resultsTable: str @typing.type_check_only -class GoogleCloudDataplexV1DataProfileSpecSelectedFields( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataProfileSpecSelectedFields(typing.TypedDict, total=False): fieldNames: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1DataQualityColumnResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityColumnResult(typing.TypedDict, total=False): column: str dimensions: _list[GoogleCloudDataplexV1DataQualityDimensionResult] passed: bool score: float @typing.type_check_only -class GoogleCloudDataplexV1DataQualityDimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityDimension(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDataplexV1DataQualityDimensionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityDimensionResult(typing.TypedDict, total=False): dimension: GoogleCloudDataplexV1DataQualityDimension passed: bool score: float @typing.type_check_only -class GoogleCloudDataplexV1DataQualityResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataQualityResult(typing.TypedDict, total=False): anomalyDetectionGeneratedAssets: ( GoogleCloudDataplexV1DataQualityResultAnomalyDetectionGeneratedAssets ) @@ -866,7 +777,7 @@ class GoogleCloudDataplexV1DataQualityResult(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDataplexV1DataQualityResultAnomalyDetectionGeneratedAssets( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataIntermediateTable: str freshnessIntermediateTable: str @@ -875,7 +786,7 @@ class GoogleCloudDataplexV1DataQualityResultAnomalyDetectionGeneratedAssets( @typing.type_check_only class GoogleCloudDataplexV1DataQualityResultPostScanActionsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryExportResult: ( GoogleCloudDataplexV1DataQualityResultPostScanActionsResultBigQueryExportResult @@ -883,15 +794,13 @@ class GoogleCloudDataplexV1DataQualityResultPostScanActionsResult( @typing.type_check_only class GoogleCloudDataplexV1DataQualityResultPostScanActionsResultBigQueryExportResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRule(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataQualityRule(typing.TypedDict, total=False): attributes: dict[str, typing.Any] column: str debugQueries: _list[GoogleCloudDataplexV1DataQualityRuleDebugQuery] @@ -918,20 +827,18 @@ class GoogleCloudDataplexV1DataQualityRule(typing_extensions.TypedDict, total=Fa uniquenessExpectation: GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRuleDebugQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityRuleDebugQuery(typing.TypedDict, total=False): description: str sqlStatement: str @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleNonNullExpectation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleRangeExpectation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxValue: str minValue: str @@ -940,14 +847,12 @@ class GoogleCloudDataplexV1DataQualityRuleRangeExpectation( @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleRegexExpectation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regex: str @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRuleResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityRuleResult(typing.TypedDict, total=False): assertionRowCount: str debugQueriesResultSets: _list[ GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet @@ -962,7 +867,7 @@ class GoogleCloudDataplexV1DataQualityRuleResult( @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str type: str @@ -970,27 +875,25 @@ class GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult( @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult] @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sqlExpression: str @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRuleRuleSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityRuleRuleSource(typing.TypedDict, total=False): rulePathElements: _list[ GoogleCloudDataplexV1DataQualityRuleRuleSourceRulePathElement ] @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleRuleSourceRulePathElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entryLinkSource: ( GoogleCloudDataplexV1DataQualityRuleRuleSourceRulePathElementEntryLinkSource @@ -1001,51 +904,45 @@ class GoogleCloudDataplexV1DataQualityRuleRuleSourceRulePathElement( @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleRuleSourceRulePathElementEntryLinkSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entryLink: str entryLinkType: str @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleRuleSourceRulePathElementEntrySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str entry: str entryType: str @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRuleSetExpectation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityRuleSetExpectation(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRuleSqlAssertion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityRuleSqlAssertion(typing.TypedDict, total=False): sqlStatement: str @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxValue: str minValue: str - statistic: typing_extensions.Literal["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"] + statistic: typing.Literal["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"] strictMaxEnabled: bool strictMinEnabled: bool @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sqlExpression: str @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRuleTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityRuleTemplate(typing.TypedDict, total=False): capabilities: _list[str] dimension: str inputParameters: dict[str, typing.Any] @@ -1054,14 +951,14 @@ class GoogleCloudDataplexV1DataQualityRuleTemplate( @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleTemplateParameterDescription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: str description: str @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleTemplateReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str resolvedSql: str @@ -1070,39 +967,33 @@ class GoogleCloudDataplexV1DataQualityRuleTemplateReference( @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleTemplateReferenceParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only -class GoogleCloudDataplexV1DataQualityRuleTemplateSql( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityRuleTemplateSql(typing.TypedDict, total=False): query: str @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDataplexV1DataQualityScanRuleResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataQualityScanRuleResult(typing.TypedDict, total=False): assertionRowCount: str column: str dataSource: str evaluatedRowCount: str - evalutionType: typing_extensions.Literal[ - "EVALUATION_TYPE_UNSPECIFIED", "PER_ROW", "AGGREGATE" - ] + evalutionType: typing.Literal["EVALUATION_TYPE_UNSPECIFIED", "PER_ROW", "AGGREGATE"] jobId: str nullRowCount: str passedRowCount: str - result: typing_extensions.Literal["RESULT_UNSPECIFIED", "PASSED", "FAILED"] + result: typing.Literal["RESULT_UNSPECIFIED", "PASSED", "FAILED"] ruleDimension: str ruleName: str - ruleType: typing_extensions.Literal[ + ruleType: typing.Literal[ "RULE_TYPE_UNSPECIFIED", "NON_NULL_EXPECTATION", "RANGE_EXPECTATION", @@ -1118,7 +1009,7 @@ class GoogleCloudDataplexV1DataQualityScanRuleResult( thresholdPercent: float @typing.type_check_only -class GoogleCloudDataplexV1DataQualitySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataQualitySpec(typing.TypedDict, total=False): catalogPublishingEnabled: bool enableCatalogBasedRules: bool filter: str @@ -1129,7 +1020,7 @@ class GoogleCloudDataplexV1DataQualitySpec(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpecPostScanActions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryExport: GoogleCloudDataplexV1DataQualitySpecPostScanActionsBigQueryExport notificationReport: ( @@ -1138,23 +1029,23 @@ class GoogleCloudDataplexV1DataQualitySpecPostScanActions( @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpecPostScanActionsBigQueryExport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resultsTable: str @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpecPostScanActionsJobEndTrigger( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpecPostScanActionsJobFailureTrigger( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpecPostScanActionsNotificationReport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): jobEndTrigger: GoogleCloudDataplexV1DataQualitySpecPostScanActionsJobEndTrigger jobFailureTrigger: ( @@ -1167,18 +1058,18 @@ class GoogleCloudDataplexV1DataQualitySpecPostScanActionsNotificationReport( @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpecPostScanActionsRecipients( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emails: _list[str] @typing.type_check_only class GoogleCloudDataplexV1DataQualitySpecPostScanActionsScoreThresholdTrigger( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scoreThreshold: float @typing.type_check_only -class GoogleCloudDataplexV1DataScan(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataScan(typing.TypedDict, total=False): createTime: str data: GoogleCloudDataplexV1DataSource dataDiscoveryResult: GoogleCloudDataplexV1DataDiscoveryResult @@ -1196,10 +1087,10 @@ class GoogleCloudDataplexV1DataScan(typing_extensions.TypedDict, total=False): executionStatus: GoogleCloudDataplexV1DataScanExecutionStatus labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "ACTION_REQUIRED" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_SCAN_TYPE_UNSPECIFIED", "DATA_QUALITY", "DATA_PROFILE", @@ -1214,14 +1105,12 @@ class GoogleCloudDataplexV1DataScan(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudDataplexV1DataScanCatalogPublishingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] @typing.type_check_only -class GoogleCloudDataplexV1DataScanEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataScanEvent(typing.TypedDict, total=False): catalogPublishingStatus: GoogleCloudDataplexV1DataScanCatalogPublishingStatus createTime: str dataProfile: GoogleCloudDataplexV1DataScanEventDataProfileResult @@ -1233,22 +1122,20 @@ class GoogleCloudDataplexV1DataScanEvent(typing_extensions.TypedDict, total=Fals jobId: str message: str postScanActionsResult: GoogleCloudDataplexV1DataScanEventPostScanActionsResult - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "FULL", "INCREMENTAL"] + scope: typing.Literal["SCOPE_UNSPECIFIED", "FULL", "INCREMENTAL"] specVersion: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTED", "SUCCEEDED", "FAILED", "CANCELLED", "CREATED" ] - trigger: typing_extensions.Literal[ - "TRIGGER_UNSPECIFIED", "ON_DEMAND", "SCHEDULE", "ONE_TIME" - ] - type: typing_extensions.Literal[ + trigger: typing.Literal["TRIGGER_UNSPECIFIED", "ON_DEMAND", "SCHEDULE", "ONE_TIME"] + type: typing.Literal[ "SCAN_TYPE_UNSPECIFIED", "DATA_PROFILE", "DATA_QUALITY", "DATA_DISCOVERY" ] @typing.type_check_only class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnFilterApplied: bool rowFilterApplied: bool @@ -1256,20 +1143,20 @@ class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs( @typing.type_check_only class GoogleCloudDataplexV1DataScanEventDataProfileResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rowCount: str @typing.type_check_only class GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rowFilterApplied: bool samplingPercent: float @typing.type_check_only class GoogleCloudDataplexV1DataScanEventDataQualityResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columnScore: dict[str, typing.Any] dimensionPassed: dict[str, typing.Any] @@ -1280,7 +1167,7 @@ class GoogleCloudDataplexV1DataScanEventDataQualityResult( @typing.type_check_only class GoogleCloudDataplexV1DataScanEventPostScanActionsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryExportResult: ( GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult @@ -1288,30 +1175,24 @@ class GoogleCloudDataplexV1DataScanEventPostScanActionsResult( @typing.type_check_only class GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] @typing.type_check_only -class GoogleCloudDataplexV1DataScanExecutionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataScanExecutionSpec(typing.TypedDict, total=False): field: str trigger: GoogleCloudDataplexV1Trigger @typing.type_check_only -class GoogleCloudDataplexV1DataScanExecutionStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DataScanExecutionStatus(typing.TypedDict, total=False): latestJobCreateTime: str latestJobEndTime: str latestJobStartTime: str @typing.type_check_only -class GoogleCloudDataplexV1DataScanJob(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataScanJob(typing.TypedDict, total=False): createTime: str dataDiscoveryResult: GoogleCloudDataplexV1DataDiscoveryResult dataDiscoverySpec: GoogleCloudDataplexV1DataDiscoverySpec @@ -1326,7 +1207,7 @@ class GoogleCloudDataplexV1DataScanJob(typing_extensions.TypedDict, total=False) name: str partialFailureMessage: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELING", @@ -1336,7 +1217,7 @@ class GoogleCloudDataplexV1DataScanJob(typing_extensions.TypedDict, total=False) "PENDING", "SUCCEEDED_WITH_ERRORS", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_SCAN_TYPE_UNSPECIFIED", "DATA_QUALITY", "DATA_PROFILE", @@ -1349,12 +1230,12 @@ class GoogleCloudDataplexV1DataScanJob(typing_extensions.TypedDict, total=False) unstructuredDataProfileSpec: GoogleCloudDataplexV1UnstructuredDataProfileSpec @typing.type_check_only -class GoogleCloudDataplexV1DataSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataSource(typing.TypedDict, total=False): entity: str resource: str @typing.type_check_only -class GoogleCloudDataplexV1DataTaxonomy(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DataTaxonomy(typing.TypedDict, total=False): attributeCount: int classCount: int createTime: str @@ -1367,36 +1248,28 @@ class GoogleCloudDataplexV1DataTaxonomy(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1DeleteEntryLinkRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DeleteEntryLinkRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDataplexV1DeleteEntryRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DeleteEntryRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDataplexV1DeleteGlossaryCategoryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DeleteGlossaryCategoryRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDataplexV1DeleteGlossaryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DeleteGlossaryRequest(typing.TypedDict, total=False): etag: str name: str @typing.type_check_only -class GoogleCloudDataplexV1DeleteGlossaryTermRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DeleteGlossaryTermRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDataplexV1DiscoveryEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1DiscoveryEvent(typing.TypedDict, total=False): action: GoogleCloudDataplexV1DiscoveryEventActionDetails assetId: str config: GoogleCloudDataplexV1DiscoveryEventConfigDetails @@ -1407,7 +1280,7 @@ class GoogleCloudDataplexV1DiscoveryEvent(typing_extensions.TypedDict, total=Fal message: str partition: GoogleCloudDataplexV1DiscoveryEventPartitionDetails table: GoogleCloudDataplexV1DiscoveryEventTableDetails - type: typing_extensions.Literal[ + type: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "CONFIG", "ENTITY_CREATED", @@ -1424,48 +1297,40 @@ class GoogleCloudDataplexV1DiscoveryEvent(typing_extensions.TypedDict, total=Fal zoneId: str @typing.type_check_only -class GoogleCloudDataplexV1DiscoveryEventActionDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DiscoveryEventActionDetails(typing.TypedDict, total=False): issue: str type: str @typing.type_check_only -class GoogleCloudDataplexV1DiscoveryEventConfigDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DiscoveryEventConfigDetails(typing.TypedDict, total=False): parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDataplexV1DiscoveryEventEntityDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DiscoveryEventEntityDetails(typing.TypedDict, total=False): entity: str - type: typing_extensions.Literal["ENTITY_TYPE_UNSPECIFIED", "TABLE", "FILESET"] + type: typing.Literal["ENTITY_TYPE_UNSPECIFIED", "TABLE", "FILESET"] @typing.type_check_only class GoogleCloudDataplexV1DiscoveryEventPartitionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: str partition: str sampledDataLocations: _list[str] - type: typing_extensions.Literal["ENTITY_TYPE_UNSPECIFIED", "TABLE", "FILESET"] + type: typing.Literal["ENTITY_TYPE_UNSPECIFIED", "TABLE", "FILESET"] @typing.type_check_only -class GoogleCloudDataplexV1DiscoveryEventTableDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1DiscoveryEventTableDetails(typing.TypedDict, total=False): table: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TABLE_TYPE_UNSPECIFIED", "EXTERNAL_TABLE", "BIGLAKE_TABLE", "OBJECT_TABLE" ] @typing.type_check_only -class GoogleCloudDataplexV1EncryptionConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1EncryptionConfig(typing.TypedDict, total=False): createTime: str enableMetastoreEncryption: bool - encryptionState: typing_extensions.Literal[ + encryptionState: typing.Literal[ "ENCRYPTION_STATE_UNSPECIFIED", "ENCRYPTING", "COMPLETED", "FAILED" ] etag: str @@ -1476,15 +1341,13 @@ class GoogleCloudDataplexV1EncryptionConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDataplexV1EncryptionConfigFailureDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - errorCode: typing_extensions.Literal[ - "UNKNOWN", "INTERNAL_ERROR", "REQUIRE_USER_ACTION" - ] + errorCode: typing.Literal["UNKNOWN", "INTERNAL_ERROR", "REQUIRE_USER_ACTION"] errorMessage: str @typing.type_check_only -class GoogleCloudDataplexV1Entity(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Entity(typing.TypedDict, total=False): access: GoogleCloudDataplexV1StorageAccess asset: str catalogEntry: str @@ -1499,29 +1362,25 @@ class GoogleCloudDataplexV1Entity(typing_extensions.TypedDict, total=False): id: str name: str schema: GoogleCloudDataplexV1Schema - system: typing_extensions.Literal[ - "STORAGE_SYSTEM_UNSPECIFIED", "CLOUD_STORAGE", "BIGQUERY" - ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TABLE", "FILESET"] + system: typing.Literal["STORAGE_SYSTEM_UNSPECIFIED", "CLOUD_STORAGE", "BIGQUERY"] + type: typing.Literal["TYPE_UNSPECIFIED", "TABLE", "FILESET"] uid: str updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1EntityCompatibilityStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1EntityCompatibilityStatus(typing.TypedDict, total=False): bigquery: GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility hiveMetastore: GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility @typing.type_check_only class GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compatible: bool reason: str @typing.type_check_only -class GoogleCloudDataplexV1Entry(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Entry(typing.TypedDict, total=False): aspects: dict[str, typing.Any] createTime: str entrySource: GoogleCloudDataplexV1EntrySource @@ -1532,14 +1391,14 @@ class GoogleCloudDataplexV1Entry(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1EntryGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1EntryGroup(typing.TypedDict, total=False): createTime: str description: str displayName: str etag: str labels: dict[str, typing.Any] name: str - transferStatus: typing_extensions.Literal[ + transferStatus: typing.Literal[ "TRANSFER_STATUS_UNSPECIFIED", "TRANSFER_STATUS_MIGRATED", "TRANSFER_STATUS_TRANSFERRED", @@ -1548,7 +1407,7 @@ class GoogleCloudDataplexV1EntryGroup(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1EntryLink(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1EntryLink(typing.TypedDict, total=False): aspects: dict[str, typing.Any] createTime: str entryLinkType: str @@ -1557,23 +1416,32 @@ class GoogleCloudDataplexV1EntryLink(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1EntryLinkEntryReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1EntryLinkEntryReference(typing.TypedDict, total=False): name: str path: str - type: typing_extensions.Literal["UNSPECIFIED", "SOURCE", "TARGET"] + type: typing.Literal["UNSPECIFIED", "SOURCE", "TARGET"] @typing.type_check_only -class GoogleCloudDataplexV1EntryLinkEvent(typing_extensions.TypedDict, total=False): - eventType: typing_extensions.Literal[ +class GoogleCloudDataplexV1EntryLinkEvent(typing.TypedDict, total=False): + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "ENTRY_LINK_CREATE", "ENTRY_LINK_DELETE" ] message: str resource: str @typing.type_check_only -class GoogleCloudDataplexV1EntrySource(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1EntryLinkTypeEvent(typing.TypedDict, total=False): + entryLinkTypeId: str + eventType: typing.Literal[ + "EVENT_TYPE_UNSPECIFIED", + "ENTRY_LINK_TYPE_CREATE", + "ENTRY_LINK_TYPE_UPDATE", + "ENTRY_LINK_TYPE_DELETE", + ] + message: str + +@typing.type_check_only +class GoogleCloudDataplexV1EntrySource(typing.TypedDict, total=False): ancestors: _list[GoogleCloudDataplexV1EntrySourceAncestor] createTime: str description: str @@ -1586,14 +1454,12 @@ class GoogleCloudDataplexV1EntrySource(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1EntrySourceAncestor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1EntrySourceAncestor(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class GoogleCloudDataplexV1EntryType(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1EntryType(typing.TypedDict, total=False): authorization: GoogleCloudDataplexV1EntryTypeAuthorization createTime: str description: str @@ -1609,52 +1475,48 @@ class GoogleCloudDataplexV1EntryType(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1EntryTypeAspectInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1EntryTypeAspectInfo(typing.TypedDict, total=False): type: str @typing.type_check_only -class GoogleCloudDataplexV1EntryTypeAuthorization( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1EntryTypeAuthorization(typing.TypedDict, total=False): alternateUsePermission: str @typing.type_check_only -class GoogleCloudDataplexV1ExecutionIdentity(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ExecutionIdentity(typing.TypedDict, total=False): dataplexServiceAgent: GoogleCloudDataplexV1ExecutionIdentityDataplexServiceAgent serviceAccount: GoogleCloudDataplexV1ExecutionIdentityServiceAccount userCredential: GoogleCloudDataplexV1ExecutionIdentityUserCredential @typing.type_check_only class GoogleCloudDataplexV1ExecutionIdentityDataplexServiceAgent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDataplexV1ExecutionIdentityServiceAccount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudDataplexV1ExecutionIdentityUserCredential( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDataplexV1GenerateDataQualityRulesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDataplexV1GenerateDataQualityRulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rule: _list[GoogleCloudDataplexV1DataQualityRule] @typing.type_check_only -class GoogleCloudDataplexV1Glossary(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Glossary(typing.TypedDict, total=False): categoryCount: int createTime: str description: str @@ -1667,7 +1529,7 @@ class GoogleCloudDataplexV1Glossary(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1GlossaryCategory(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1GlossaryCategory(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1678,7 +1540,7 @@ class GoogleCloudDataplexV1GlossaryCategory(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1GlossaryTerm(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1GlossaryTerm(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1689,9 +1551,9 @@ class GoogleCloudDataplexV1GlossaryTerm(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1GovernanceEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1GovernanceEvent(typing.TypedDict, total=False): entity: GoogleCloudDataplexV1GovernanceEventEntity - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "RESOURCE_IAM_POLICY_UPDATE", "BIGQUERY_TABLE_CREATE", @@ -1713,21 +1575,17 @@ class GoogleCloudDataplexV1GovernanceEvent(typing_extensions.TypedDict, total=Fa message: str @typing.type_check_only -class GoogleCloudDataplexV1GovernanceEventEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1GovernanceEventEntity(typing.TypedDict, total=False): entity: str - entityType: typing_extensions.Literal["ENTITY_TYPE_UNSPECIFIED", "TABLE", "FILESET"] + entityType: typing.Literal["ENTITY_TYPE_UNSPECIFIED", "TABLE", "FILESET"] @typing.type_check_only -class GoogleCloudDataplexV1GraphProfile(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1GraphProfile(typing.TypedDict, total=False): edgeTypes: _list[GoogleCloudDataplexV1GraphProfileEdgeType] nodeTypes: _list[GoogleCloudDataplexV1GraphProfileNodeType] @typing.type_check_only -class GoogleCloudDataplexV1GraphProfileEdgeType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1GraphProfileEdgeType(typing.TypedDict, total=False): description: str extractionHints: GoogleCloudDataplexV1GraphProfileEdgeTypeExtractionHints fields: _list[GoogleCloudDataplexV1GraphProfileField] @@ -1738,13 +1596,13 @@ class GoogleCloudDataplexV1GraphProfileEdgeType( @typing.type_check_only class GoogleCloudDataplexV1GraphProfileEdgeTypeExtractionHints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardinality: str @typing.type_check_only class GoogleCloudDataplexV1GraphProfileEdgeTypeForeignKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str fieldMappings: _list[ @@ -1755,18 +1613,18 @@ class GoogleCloudDataplexV1GraphProfileEdgeTypeForeignKey( @typing.type_check_only class GoogleCloudDataplexV1GraphProfileEdgeTypeForeignKeyFieldMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str referencedField: str @typing.type_check_only -class GoogleCloudDataplexV1GraphProfileField(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1GraphProfileField(typing.TypedDict, total=False): dataType: str description: str extractionHints: GoogleCloudDataplexV1GraphProfileFieldExtractionHints fields: _list[GoogleCloudDataplexV1GraphProfileField] - metadataType: typing_extensions.Literal[ + metadataType: typing.Literal[ "METADATA_TYPE_UNSPECIFIED", "BOOLEAN", "NUMBER", @@ -1778,22 +1636,18 @@ class GoogleCloudDataplexV1GraphProfileField(typing_extensions.TypedDict, total= "STRUCT", "OTHER", ] - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "NULLABLE", "REPEATED", "REQUIRED" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "NULLABLE", "REPEATED", "REQUIRED"] name: str @typing.type_check_only class GoogleCloudDataplexV1GraphProfileFieldExtractionHints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalization: str synthesis: str @typing.type_check_only -class GoogleCloudDataplexV1GraphProfileNodeType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1GraphProfileNodeType(typing.TypedDict, total=False): description: str extractionHints: GoogleCloudDataplexV1GraphProfileNodeTypeExtractionHints fields: _list[GoogleCloudDataplexV1GraphProfileField] @@ -1802,29 +1656,29 @@ class GoogleCloudDataplexV1GraphProfileNodeType( @typing.type_check_only class GoogleCloudDataplexV1GraphProfileNodeTypeExtractionHints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardinality: str @typing.type_check_only -class GoogleCloudDataplexV1ImportItem(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ImportItem(typing.TypedDict, total=False): aspectKeys: _list[str] entry: GoogleCloudDataplexV1Entry entryLink: GoogleCloudDataplexV1EntryLink updateMask: str @typing.type_check_only -class GoogleCloudDataplexV1Job(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Job(typing.TypedDict, total=False): endTime: str executionSpec: GoogleCloudDataplexV1TaskExecutionSpec labels: dict[str, typing.Any] message: str name: str retryCount: int - service: typing_extensions.Literal["SERVICE_UNSPECIFIED", "DATAPROC"] + service: typing.Literal["SERVICE_UNSPECIFIED", "DATAPROC"] serviceJob: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", @@ -1833,30 +1687,28 @@ class GoogleCloudDataplexV1Job(typing_extensions.TypedDict, total=False): "FAILED", "ABORTED", ] - trigger: typing_extensions.Literal[ - "TRIGGER_UNSPECIFIED", "TASK_CONFIG", "RUN_REQUEST" - ] + trigger: typing.Literal["TRIGGER_UNSPECIFIED", "TASK_CONFIG", "RUN_REQUEST"] uid: str @typing.type_check_only -class GoogleCloudDataplexV1JobEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1JobEvent(typing.TypedDict, total=False): endTime: str - executionTrigger: typing_extensions.Literal[ + executionTrigger: typing.Literal[ "EXECUTION_TRIGGER_UNSPECIFIED", "TASK_CONFIG", "RUN_REQUEST" ] jobId: str message: str retries: int - service: typing_extensions.Literal["SERVICE_UNSPECIFIED", "DATAPROC"] + service: typing.Literal["SERVICE_UNSPECIFIED", "DATAPROC"] serviceJob: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "CANCELLED", "ABORTED" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPARK", "NOTEBOOK"] + type: typing.Literal["TYPE_UNSPECIFIED", "SPARK", "NOTEBOOK"] @typing.type_check_only -class GoogleCloudDataplexV1Lake(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Lake(typing.TypedDict, total=False): assetStatus: GoogleCloudDataplexV1AssetStatus createTime: str description: str @@ -1866,253 +1718,202 @@ class GoogleCloudDataplexV1Lake(typing_extensions.TypedDict, total=False): metastoreStatus: GoogleCloudDataplexV1LakeMetastoreStatus name: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "ACTION_REQUIRED" ] uid: str updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1LakeMetastore(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1LakeMetastore(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudDataplexV1LakeMetastoreStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1LakeMetastoreStatus(typing.TypedDict, total=False): endpoint: str message: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NONE", "READY", "UPDATING", "ERROR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NONE", "READY", "UPDATING", "ERROR"] updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1ListActionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListActionsResponse(typing.TypedDict, total=False): actions: _list[GoogleCloudDataplexV1Action] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListAspectTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListAspectTypesResponse(typing.TypedDict, total=False): aspectTypes: _list[GoogleCloudDataplexV1AspectType] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListAssetsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ListAssetsResponse(typing.TypedDict, total=False): assets: _list[GoogleCloudDataplexV1Asset] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListChangeRequestsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListChangeRequestsResponse(typing.TypedDict, total=False): changeRequests: _list[GoogleCloudDataplexV1ChangeRequest] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListDataAssetsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListDataAssetsResponse(typing.TypedDict, total=False): dataAssets: _list[GoogleCloudDataplexV1DataAsset] nextPageToken: str @typing.type_check_only class GoogleCloudDataplexV1ListDataAttributeBindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataAttributeBindings: _list[GoogleCloudDataplexV1DataAttributeBinding] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListDataAttributesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListDataAttributesResponse(typing.TypedDict, total=False): dataAttributes: _list[GoogleCloudDataplexV1DataAttribute] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only class GoogleCloudDataplexV1ListDataDomainBindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataDomainBindings: _list[GoogleCloudDataplexV1DataDomainBinding] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListDataDomainsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListDataDomainsResponse(typing.TypedDict, total=False): dataDomains: _list[GoogleCloudDataplexV1DataDomain] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListDataProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListDataProductsResponse(typing.TypedDict, total=False): dataProducts: _list[GoogleCloudDataplexV1DataProduct] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListDataScanJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListDataScanJobsResponse(typing.TypedDict, total=False): dataScanJobs: _list[GoogleCloudDataplexV1DataScanJob] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListDataScansResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListDataScansResponse(typing.TypedDict, total=False): dataScans: _list[GoogleCloudDataplexV1DataScan] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListDataTaxonomiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListDataTaxonomiesResponse(typing.TypedDict, total=False): dataTaxonomies: _list[GoogleCloudDataplexV1DataTaxonomy] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListEncryptionConfigsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListEncryptionConfigsResponse(typing.TypedDict, total=False): encryptionConfigs: _list[GoogleCloudDataplexV1EncryptionConfig] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListEntitiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListEntitiesResponse(typing.TypedDict, total=False): entities: _list[GoogleCloudDataplexV1Entity] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListEntriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListEntriesResponse(typing.TypedDict, total=False): entries: _list[GoogleCloudDataplexV1Entry] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListEntryGroupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListEntryGroupsResponse(typing.TypedDict, total=False): entryGroups: _list[GoogleCloudDataplexV1EntryGroup] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListEntryTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListEntryTypesResponse(typing.TypedDict, total=False): entryTypes: _list[GoogleCloudDataplexV1EntryType] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListGlossariesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListGlossariesResponse(typing.TypedDict, total=False): glossaries: _list[GoogleCloudDataplexV1Glossary] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only class GoogleCloudDataplexV1ListGlossaryCategoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categories: _list[GoogleCloudDataplexV1GlossaryCategory] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListGlossaryTermsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListGlossaryTermsResponse(typing.TypedDict, total=False): nextPageToken: str terms: _list[GoogleCloudDataplexV1GlossaryTerm] unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListJobsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ListJobsResponse(typing.TypedDict, total=False): jobs: _list[GoogleCloudDataplexV1Job] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1ListLakesResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ListLakesResponse(typing.TypedDict, total=False): lakes: _list[GoogleCloudDataplexV1Lake] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListMetadataFeedsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListMetadataFeedsResponse(typing.TypedDict, total=False): metadataFeeds: _list[GoogleCloudDataplexV1MetadataFeed] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListMetadataJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListMetadataJobsResponse(typing.TypedDict, total=False): metadataJobs: _list[GoogleCloudDataplexV1MetadataJob] nextPageToken: str unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListPartitionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ListPartitionsResponse(typing.TypedDict, total=False): nextPageToken: str partitions: _list[GoogleCloudDataplexV1Partition] @typing.type_check_only -class GoogleCloudDataplexV1ListTasksResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ListTasksResponse(typing.TypedDict, total=False): nextPageToken: str tasks: _list[GoogleCloudDataplexV1Task] unreachableLocations: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1ListZonesResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ListZonesResponse(typing.TypedDict, total=False): nextPageToken: str zones: _list[GoogleCloudDataplexV1Zone] @typing.type_check_only -class GoogleCloudDataplexV1LookupContextRequest( - typing_extensions.TypedDict, total=False -): - context: str +class GoogleCloudDataplexV1LookupContextRequest(typing.TypedDict, total=False): options: dict[str, typing.Any] resources: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1LookupContextResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1LookupContextResponse(typing.TypedDict, total=False): context: str @typing.type_check_only -class GoogleCloudDataplexV1LookupEntryLinksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1LookupEntryLinksResponse(typing.TypedDict, total=False): entryLinks: _list[GoogleCloudDataplexV1EntryLink] nextPageToken: str @typing.type_check_only -class GoogleCloudDataplexV1MetadataFeed(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1MetadataFeed(typing.TypedDict, total=False): createTime: str filters: GoogleCloudDataplexV1MetadataFeedFilters labels: dict[str, typing.Any] @@ -2123,25 +1924,21 @@ class GoogleCloudDataplexV1MetadataFeed(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1MetadataFeedFilters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1MetadataFeedFilters(typing.TypedDict, total=False): aspectTypes: _list[str] changeTypes: _list[ - typing_extensions.Literal[ - "CHANGE_TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] + typing.Literal["CHANGE_TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] ] entryTypes: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1MetadataFeedScope(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1MetadataFeedScope(typing.TypedDict, total=False): entryGroups: _list[str] organizationLevel: bool projects: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1MetadataJob(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1MetadataJob(typing.TypedDict, total=False): createTime: str exportResult: GoogleCloudDataplexV1MetadataJobExportJobResult exportSpec: GoogleCloudDataplexV1MetadataJobExportJobSpec @@ -2150,27 +1947,23 @@ class GoogleCloudDataplexV1MetadataJob(typing_extensions.TypedDict, total=False) labels: dict[str, typing.Any] name: str status: GoogleCloudDataplexV1MetadataJobStatus - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "IMPORT", "EXPORT"] + type: typing.Literal["TYPE_UNSPECIFIED", "IMPORT", "EXPORT"] uid: str updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1MetadataJobExportJobResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1MetadataJobExportJobResult(typing.TypedDict, total=False): errorMessage: str exportedEntries: str @typing.type_check_only -class GoogleCloudDataplexV1MetadataJobExportJobSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1MetadataJobExportJobSpec(typing.TypedDict, total=False): outputPath: str scope: GoogleCloudDataplexV1MetadataJobExportJobSpecExportJobScope @typing.type_check_only class GoogleCloudDataplexV1MetadataJobExportJobSpecExportJobScope( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aspectTypes: _list[str] entryGroups: _list[str] @@ -2179,9 +1972,7 @@ class GoogleCloudDataplexV1MetadataJobExportJobSpecExportJobScope( projects: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1MetadataJobImportJobResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1MetadataJobImportJobResult(typing.TypedDict, total=False): createdEntries: str createdEntryLinks: str deletedEntries: str @@ -2193,23 +1984,21 @@ class GoogleCloudDataplexV1MetadataJobImportJobResult( updatedEntries: str @typing.type_check_only -class GoogleCloudDataplexV1MetadataJobImportJobSpec( - typing_extensions.TypedDict, total=False -): - aspectSyncMode: typing_extensions.Literal[ +class GoogleCloudDataplexV1MetadataJobImportJobSpec(typing.TypedDict, total=False): + aspectSyncMode: typing.Literal[ "SYNC_MODE_UNSPECIFIED", "FULL", "INCREMENTAL", "NONE" ] - entrySyncMode: typing_extensions.Literal[ + entrySyncMode: typing.Literal[ "SYNC_MODE_UNSPECIFIED", "FULL", "INCREMENTAL", "NONE" ] - logLevel: typing_extensions.Literal["LOG_LEVEL_UNSPECIFIED", "DEBUG", "INFO"] + logLevel: typing.Literal["LOG_LEVEL_UNSPECIFIED", "DEBUG", "INFO"] scope: GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope sourceCreateTime: str sourceStorageUri: str @typing.type_check_only class GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aspectTypes: _list[str] entryGroups: _list[str] @@ -2219,10 +2008,10 @@ class GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope( referencedEntryScopes: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1MetadataJobStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1MetadataJobStatus(typing.TypedDict, total=False): completionPercent: int message: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "RUNNING", @@ -2235,14 +2024,14 @@ class GoogleCloudDataplexV1MetadataJobStatus(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1ModifyEntryRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ModifyEntryRequest(typing.TypedDict, total=False): aspectKeys: _list[str] deleteMissingAspects: bool entry: GoogleCloudDataplexV1Entry updateMask: str @typing.type_check_only -class GoogleCloudDataplexV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -2252,85 +2041,73 @@ class GoogleCloudDataplexV1OperationMetadata(typing_extensions.TypedDict, total= verb: str @typing.type_check_only -class GoogleCloudDataplexV1Partition(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Partition(typing.TypedDict, total=False): etag: str location: str name: str values: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1RejectChangeRequestRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1RejectChangeRequestRequest(typing.TypedDict, total=False): comment: str etag: str @typing.type_check_only class GoogleCloudDataplexV1RequestDataProductAccessRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): changeRequest: GoogleCloudDataplexV1ChangeRequest validateOnly: bool @typing.type_check_only class GoogleCloudDataplexV1RequestDataProductAccessResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): changeRequestName: str @typing.type_check_only -class GoogleCloudDataplexV1ResourceAccessSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ResourceAccessSpec(typing.TypedDict, total=False): owners: _list[str] readers: _list[str] writers: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1RunDataScanRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1RunDataScanRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1RunDataScanResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1RunDataScanResponse(typing.TypedDict, total=False): job: GoogleCloudDataplexV1DataScanJob @typing.type_check_only -class GoogleCloudDataplexV1RunTaskRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1RunTaskRequest(typing.TypedDict, total=False): args: dict[str, typing.Any] labels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDataplexV1RunTaskResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1RunTaskResponse(typing.TypedDict, total=False): job: GoogleCloudDataplexV1Job @typing.type_check_only -class GoogleCloudDataplexV1ScannedData(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ScannedData(typing.TypedDict, total=False): incrementalField: GoogleCloudDataplexV1ScannedDataIncrementalField @typing.type_check_only -class GoogleCloudDataplexV1ScannedDataIncrementalField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ScannedDataIncrementalField(typing.TypedDict, total=False): end: str field: str start: str @typing.type_check_only -class GoogleCloudDataplexV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Schema(typing.TypedDict, total=False): fields: _list[GoogleCloudDataplexV1SchemaSchemaField] partitionFields: _list[GoogleCloudDataplexV1SchemaPartitionField] - partitionStyle: typing_extensions.Literal[ - "PARTITION_STYLE_UNSPECIFIED", "HIVE_COMPATIBLE" - ] + partitionStyle: typing.Literal["PARTITION_STYLE_UNSPECIFIED", "HIVE_COMPATIBLE"] userManaged: bool @typing.type_check_only -class GoogleCloudDataplexV1SchemaPartitionField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1SchemaPartitionField(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "BOOLEAN", "BYTE", @@ -2350,14 +2127,12 @@ class GoogleCloudDataplexV1SchemaPartitionField( ] @typing.type_check_only -class GoogleCloudDataplexV1SchemaSchemaField(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1SchemaSchemaField(typing.TypedDict, total=False): description: str fields: _list[GoogleCloudDataplexV1SchemaSchemaField] - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "REQUIRED", "NULLABLE", "REPEATED" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "REQUIRED", "NULLABLE", "REPEATED"] name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "BOOLEAN", "BYTE", @@ -2377,63 +2152,51 @@ class GoogleCloudDataplexV1SchemaSchemaField(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudDataplexV1SearchEntriesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1SearchEntriesResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[GoogleCloudDataplexV1SearchEntriesResult] totalSize: int unreachable: _list[str] @typing.type_check_only -class GoogleCloudDataplexV1SearchEntriesResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1SearchEntriesResult(typing.TypedDict, total=False): dataplexEntry: GoogleCloudDataplexV1Entry linkedResource: str snippets: GoogleCloudDataplexV1SearchEntriesResultSnippets @typing.type_check_only -class GoogleCloudDataplexV1SearchEntriesResultSnippets( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1SearchEntriesResultSnippets(typing.TypedDict, total=False): dataplexEntry: GoogleCloudDataplexV1Entry @typing.type_check_only -class GoogleCloudDataplexV1SessionEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1SessionEvent(typing.TypedDict, total=False): eventSucceeded: bool fastStartupEnabled: bool message: str query: GoogleCloudDataplexV1SessionEventQueryDetail sessionId: str - type: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "START", "STOP", "QUERY", "CREATE" - ] + type: typing.Literal["EVENT_TYPE_UNSPECIFIED", "START", "STOP", "QUERY", "CREATE"] unassignedDuration: str userId: str @typing.type_check_only -class GoogleCloudDataplexV1SessionEventQueryDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1SessionEventQueryDetail(typing.TypedDict, total=False): dataProcessedBytes: str duration: str - engine: typing_extensions.Literal["ENGINE_UNSPECIFIED", "SPARK_SQL", "BIGQUERY"] + engine: typing.Literal["ENGINE_UNSPECIFIED", "SPARK_SQL", "BIGQUERY"] queryId: str queryText: str resultSizeBytes: str @typing.type_check_only -class GoogleCloudDataplexV1StorageAccess(typing_extensions.TypedDict, total=False): - read: typing_extensions.Literal["ACCESS_MODE_UNSPECIFIED", "DIRECT", "MANAGED"] +class GoogleCloudDataplexV1StorageAccess(typing.TypedDict, total=False): + read: typing.Literal["ACCESS_MODE_UNSPECIFIED", "DIRECT", "MANAGED"] @typing.type_check_only -class GoogleCloudDataplexV1StorageFormat(typing_extensions.TypedDict, total=False): - compressionFormat: typing_extensions.Literal[ - "COMPRESSION_FORMAT_UNSPECIFIED", "GZIP", "BZIP2" - ] +class GoogleCloudDataplexV1StorageFormat(typing.TypedDict, total=False): + compressionFormat: typing.Literal["COMPRESSION_FORMAT_UNSPECIFIED", "GZIP", "BZIP2"] csv: GoogleCloudDataplexV1StorageFormatCsvOptions - format: typing_extensions.Literal[ + format: typing.Literal[ "FORMAT_UNSPECIFIED", "PARQUET", "AVRO", @@ -2453,28 +2216,22 @@ class GoogleCloudDataplexV1StorageFormat(typing_extensions.TypedDict, total=Fals mimeType: str @typing.type_check_only -class GoogleCloudDataplexV1StorageFormatCsvOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1StorageFormatCsvOptions(typing.TypedDict, total=False): delimiter: str encoding: str headerRows: int quote: str @typing.type_check_only -class GoogleCloudDataplexV1StorageFormatIcebergOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1StorageFormatIcebergOptions(typing.TypedDict, total=False): metadataLocation: str @typing.type_check_only -class GoogleCloudDataplexV1StorageFormatJsonOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1StorageFormatJsonOptions(typing.TypedDict, total=False): encoding: str @typing.type_check_only -class GoogleCloudDataplexV1Task(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Task(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -2484,7 +2241,7 @@ class GoogleCloudDataplexV1Task(typing_extensions.TypedDict, total=False): name: str notebook: GoogleCloudDataplexV1TaskNotebookTaskConfig spark: GoogleCloudDataplexV1TaskSparkTaskConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "ACTION_REQUIRED" ] triggerSpec: GoogleCloudDataplexV1TaskTriggerSpec @@ -2492,7 +2249,7 @@ class GoogleCloudDataplexV1Task(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1TaskExecutionSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1TaskExecutionSpec(typing.TypedDict, total=False): args: dict[str, typing.Any] kmsKey: str maxJobExecutionLifetime: str @@ -2500,30 +2257,26 @@ class GoogleCloudDataplexV1TaskExecutionSpec(typing_extensions.TypedDict, total= serviceAccount: str @typing.type_check_only -class GoogleCloudDataplexV1TaskExecutionStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1TaskExecutionStatus(typing.TypedDict, total=False): latestJob: GoogleCloudDataplexV1Job updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1TaskInfrastructureSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1TaskInfrastructureSpec(typing.TypedDict, total=False): batch: GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources containerImage: GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime vpcNetwork: GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork @typing.type_check_only class GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): executorsCount: int maxExecutorsCount: int @typing.type_check_only class GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str javaJars: _list[str] @@ -2532,25 +2285,21 @@ class GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime( @typing.type_check_only class GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): network: str networkTags: _list[str] subNetwork: str @typing.type_check_only -class GoogleCloudDataplexV1TaskNotebookTaskConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1TaskNotebookTaskConfig(typing.TypedDict, total=False): archiveUris: _list[str] fileUris: _list[str] infrastructureSpec: GoogleCloudDataplexV1TaskInfrastructureSpec notebook: str @typing.type_check_only -class GoogleCloudDataplexV1TaskSparkTaskConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1TaskSparkTaskConfig(typing.TypedDict, total=False): archiveUris: _list[str] fileUris: _list[str] infrastructureSpec: GoogleCloudDataplexV1TaskInfrastructureSpec @@ -2561,50 +2310,44 @@ class GoogleCloudDataplexV1TaskSparkTaskConfig( sqlScriptFile: str @typing.type_check_only -class GoogleCloudDataplexV1TaskTriggerSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1TaskTriggerSpec(typing.TypedDict, total=False): disabled: bool maxRetries: int schedule: str startTime: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ON_DEMAND", "RECURRING"] + type: typing.Literal["TYPE_UNSPECIFIED", "ON_DEMAND", "RECURRING"] @typing.type_check_only -class GoogleCloudDataplexV1Trigger(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Trigger(typing.TypedDict, total=False): onDemand: GoogleCloudDataplexV1TriggerOnDemand oneTime: GoogleCloudDataplexV1TriggerOneTime schedule: GoogleCloudDataplexV1TriggerSchedule @typing.type_check_only -class GoogleCloudDataplexV1TriggerOnDemand( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDataplexV1TriggerOnDemand(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDataplexV1TriggerOneTime(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1TriggerOneTime(typing.TypedDict, total=False): ttlAfterScanCompletion: str @typing.type_check_only -class GoogleCloudDataplexV1TriggerSchedule(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1TriggerSchedule(typing.TypedDict, total=False): cron: str @typing.type_check_only -class GoogleCloudDataplexV1UnstructuredDataProfileResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1UnstructuredDataProfileResult(typing.TypedDict, total=False): description: str graphProfile: GoogleCloudDataplexV1GraphProfile partialFailureMessage: str @typing.type_check_only -class GoogleCloudDataplexV1UnstructuredDataProfileSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1UnstructuredDataProfileSpec(typing.TypedDict, total=False): customizedPrompt: str globalEndpointEnabled: bool graphProfilePublishingEnabled: bool @typing.type_check_only -class GoogleCloudDataplexV1UpdateEntryRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1UpdateEntryRequest(typing.TypedDict, total=False): allowMissing: bool aspectKeys: _list[str] deleteMissingAspects: bool @@ -2612,29 +2355,23 @@ class GoogleCloudDataplexV1UpdateEntryRequest(typing_extensions.TypedDict, total updateMask: str @typing.type_check_only -class GoogleCloudDataplexV1UpdateGlossaryCategoryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1UpdateGlossaryCategoryRequest(typing.TypedDict, total=False): category: GoogleCloudDataplexV1GlossaryCategory updateMask: str @typing.type_check_only -class GoogleCloudDataplexV1UpdateGlossaryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1UpdateGlossaryRequest(typing.TypedDict, total=False): glossary: GoogleCloudDataplexV1Glossary updateMask: str validateOnly: bool @typing.type_check_only -class GoogleCloudDataplexV1UpdateGlossaryTermRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1UpdateGlossaryTermRequest(typing.TypedDict, total=False): term: GoogleCloudDataplexV1GlossaryTerm updateMask: str @typing.type_check_only -class GoogleCloudDataplexV1Zone(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1Zone(typing.TypedDict, total=False): assetStatus: GoogleCloudDataplexV1AssetStatus createTime: str description: str @@ -2643,15 +2380,15 @@ class GoogleCloudDataplexV1Zone(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str resourceSpec: GoogleCloudDataplexV1ZoneResourceSpec - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "ACTION_REQUIRED" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "RAW", "CURATED"] + type: typing.Literal["TYPE_UNSPECIFIED", "RAW", "CURATED"] uid: str updateTime: str @typing.type_check_only -class GoogleCloudDataplexV1ZoneDiscoverySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDataplexV1ZoneDiscoverySpec(typing.TypedDict, total=False): csvOptions: GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions enabled: bool excludePatterns: _list[str] @@ -2660,36 +2397,30 @@ class GoogleCloudDataplexV1ZoneDiscoverySpec(typing_extensions.TypedDict, total= schedule: str @typing.type_check_only -class GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions(typing.TypedDict, total=False): delimiter: str disableTypeInference: bool encoding: str headerRows: int @typing.type_check_only -class GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions(typing.TypedDict, total=False): disableTypeInference: bool encoding: str @typing.type_check_only -class GoogleCloudDataplexV1ZoneResourceSpec(typing_extensions.TypedDict, total=False): - locationType: typing_extensions.Literal[ +class GoogleCloudDataplexV1ZoneResourceSpec(typing.TypedDict, total=False): + locationType: typing.Literal[ "LOCATION_TYPE_UNSPECIFIED", "SINGLE_REGION", "MULTI_REGION" ] @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -2697,56 +2428,59 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1ResourcePolicyMember(typing.TypedDict, total=False): + iamPolicyNamePrincipal: str + iamPolicyUidPrincipal: str + +@typing.type_check_only +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2754,13 +2488,13 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi b/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi index c88c21399..da82bae57 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi index e2904a3c2..a2cd78511 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1/schemas.pyi @@ -1,55 +1,53 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelPortabilityArchiveRequest(typing_extensions.TypedDict, total=False): ... +class CancelPortabilityArchiveRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelPortabilityArchiveResponse(typing_extensions.TypedDict, total=False): ... +class CancelPortabilityArchiveResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckAccessTypeRequest(typing_extensions.TypedDict, total=False): ... +class CheckAccessTypeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckAccessTypeResponse(typing_extensions.TypedDict, total=False): +class CheckAccessTypeResponse(typing.TypedDict, total=False): oneTimeResources: _list[str] timeBasedResources: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class InitiatePortabilityArchiveRequest(typing_extensions.TypedDict, total=False): +class InitiatePortabilityArchiveRequest(typing.TypedDict, total=False): endTime: str resources: _list[str] startTime: str @typing.type_check_only -class InitiatePortabilityArchiveResponse(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal[ +class InitiatePortabilityArchiveResponse(typing.TypedDict, total=False): + accessType: typing.Literal[ "ACCESS_TYPE_UNSPECIFIED", "ACCESS_TYPE_ONE_TIME", "ACCESS_TYPE_TIME_BASED" ] archiveJobId: str @typing.type_check_only -class PortabilityArchiveState(typing_extensions.TypedDict, total=False): +class PortabilityArchiveState(typing.TypedDict, total=False): exportTime: str name: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETE", "FAILED", "CANCELLED" ] urls: _list[str] @typing.type_check_only -class ResetAuthorizationRequest(typing_extensions.TypedDict, total=False): ... +class ResetAuthorizationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryPortabilityArchiveRequest(typing_extensions.TypedDict, total=False): ... +class RetryPortabilityArchiveRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryPortabilityArchiveResponse(typing_extensions.TypedDict, total=False): +class RetryPortabilityArchiveResponse(typing.TypedDict, total=False): archiveJobId: str diff --git a/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi b/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi index c88c21399..da82bae57 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi index e2904a3c2..a2cd78511 100644 --- a/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataportability/v1beta/schemas.pyi @@ -1,55 +1,53 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelPortabilityArchiveRequest(typing_extensions.TypedDict, total=False): ... +class CancelPortabilityArchiveRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelPortabilityArchiveResponse(typing_extensions.TypedDict, total=False): ... +class CancelPortabilityArchiveResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckAccessTypeRequest(typing_extensions.TypedDict, total=False): ... +class CheckAccessTypeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckAccessTypeResponse(typing_extensions.TypedDict, total=False): +class CheckAccessTypeResponse(typing.TypedDict, total=False): oneTimeResources: _list[str] timeBasedResources: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class InitiatePortabilityArchiveRequest(typing_extensions.TypedDict, total=False): +class InitiatePortabilityArchiveRequest(typing.TypedDict, total=False): endTime: str resources: _list[str] startTime: str @typing.type_check_only -class InitiatePortabilityArchiveResponse(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal[ +class InitiatePortabilityArchiveResponse(typing.TypedDict, total=False): + accessType: typing.Literal[ "ACCESS_TYPE_UNSPECIFIED", "ACCESS_TYPE_ONE_TIME", "ACCESS_TYPE_TIME_BASED" ] archiveJobId: str @typing.type_check_only -class PortabilityArchiveState(typing_extensions.TypedDict, total=False): +class PortabilityArchiveState(typing.TypedDict, total=False): exportTime: str name: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETE", "FAILED", "CANCELLED" ] urls: _list[str] @typing.type_check_only -class ResetAuthorizationRequest(typing_extensions.TypedDict, total=False): ... +class ResetAuthorizationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryPortabilityArchiveRequest(typing_extensions.TypedDict, total=False): ... +class RetryPortabilityArchiveRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RetryPortabilityArchiveResponse(typing_extensions.TypedDict, total=False): +class RetryPortabilityArchiveResponse(typing.TypedDict, total=False): archiveJobId: str diff --git a/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi b/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi index 5e15f4a42..2853ab00c 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -92,6 +91,21 @@ class DataprocResource(googleapiclient.discovery.Resource): parent: str | None = ..., **kwargs: typing.Any, ) -> AccessSparkApplicationJobResponseHttpRequest: ... + def accessNativeBuildInfo( + self, + *, + name: str, + parent: str | None = ..., + **kwargs: typing.Any, + ) -> AccessSparkApplicationNativeBuildInfoResponseHttpRequest: ... + def accessNativeSqlQuery( + self, + *, + name: str, + executionId: str | None = ..., + parent: str | None = ..., + **kwargs: typing.Any, + ) -> AccessSparkApplicationNativeSqlQueryResponseHttpRequest: ... def accessSqlPlan( self, *, @@ -130,11 +144,20 @@ class DataprocResource(googleapiclient.discovery.Resource): ) -> ( AccessSparkApplicationStageRddOperationGraphResponseHttpRequest ): ... + def computeTuningConfig( + self, + *, + name: str, + executionId: str | None = ..., + parent: str | None = ..., + semanticQueryId: str | None = ..., + **kwargs: typing.Any, + ) -> ComputeTuningConfigResponseHttpRequest: ... def search( self, *, parent: str, - applicationStatus: typing_extensions.Literal[ + applicationStatus: typing.Literal[ "APPLICATION_STATUS_UNSPECIFIED", "APPLICATION_STATUS_RUNNING", "APPLICATION_STATUS_COMPLETED", @@ -178,7 +201,7 @@ class DataprocResource(googleapiclient.discovery.Resource): self, *, name: str, - executorStatus: typing_extensions.Literal[ + executorStatus: typing.Literal[ "EXECUTOR_STATUS_UNSPECIFIED", "EXECUTOR_STATUS_ACTIVE", "EXECUTOR_STATUS_DEAD", @@ -198,7 +221,7 @@ class DataprocResource(googleapiclient.discovery.Resource): self, *, name: str, - jobStatus: typing_extensions.Literal[ + jobStatus: typing.Literal[ "JOB_EXECUTION_STATUS_UNSPECIFIED", "JOB_EXECUTION_STATUS_RUNNING", "JOB_EXECUTION_STATUS_SUCCEEDED", @@ -216,6 +239,22 @@ class DataprocResource(googleapiclient.discovery.Resource): previous_request: SearchSparkApplicationJobsResponseHttpRequest, previous_response: SearchSparkApplicationJobsResponse, ) -> SearchSparkApplicationJobsResponseHttpRequest | None: ... + def searchNativeSqlQueries( + self, + *, + name: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + parent: str | None = ..., + **kwargs: typing.Any, + ) -> SearchSparkApplicationNativeSqlQueriesResponseHttpRequest: ... + def searchNativeSqlQueries_next( + self, + previous_request: SearchSparkApplicationNativeSqlQueriesResponseHttpRequest, + previous_response: SearchSparkApplicationNativeSqlQueriesResponse, + ) -> ( + SearchSparkApplicationNativeSqlQueriesResponseHttpRequest | None + ): ... def searchSqlQueries( self, *, @@ -242,7 +281,7 @@ class DataprocResource(googleapiclient.discovery.Resource): sortRuntime: bool | None = ..., stageAttemptId: int | None = ..., stageId: str | None = ..., - taskStatus: typing_extensions.Literal[ + taskStatus: typing.Literal[ "TASK_STATUS_UNSPECIFIED", "TASK_STATUS_RUNNING", "TASK_STATUS_SUCCESS", @@ -286,7 +325,7 @@ class DataprocResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., parent: str | None = ..., - stageStatus: typing_extensions.Literal[ + stageStatus: typing.Literal[ "STAGE_STATUS_UNSPECIFIED", "STAGE_STATUS_ACTIVE", "STAGE_STATUS_COMPLETE", @@ -462,6 +501,25 @@ class DataprocResource(googleapiclient.discovery.Resource): parent: str | None = ..., **kwargs: typing.Any, ) -> AccessSessionSparkApplicationJobResponseHttpRequest: ... + def accessNativeBuildInfo( + self, + *, + name: str, + parent: str | None = ..., + **kwargs: typing.Any, + ) -> ( + AccessSessionSparkApplicationNativeBuildInfoResponseHttpRequest + ): ... + def accessNativeSqlQuery( + self, + *, + name: str, + executionId: str | None = ..., + parent: str | None = ..., + **kwargs: typing.Any, + ) -> ( + AccessSessionSparkApplicationNativeSqlQueryResponseHttpRequest + ): ... def accessSqlPlan( self, *, @@ -504,7 +562,7 @@ class DataprocResource(googleapiclient.discovery.Resource): self, *, parent: str, - applicationStatus: typing_extensions.Literal[ + applicationStatus: typing.Literal[ "APPLICATION_STATUS_UNSPECIFIED", "APPLICATION_STATUS_RUNNING", "APPLICATION_STATUS_COMPLETED", @@ -546,7 +604,7 @@ class DataprocResource(googleapiclient.discovery.Resource): self, *, name: str, - executorStatus: typing_extensions.Literal[ + executorStatus: typing.Literal[ "EXECUTOR_STATUS_UNSPECIFIED", "EXECUTOR_STATUS_ACTIVE", "EXECUTOR_STATUS_DEAD", @@ -569,7 +627,7 @@ class DataprocResource(googleapiclient.discovery.Resource): *, name: str, jobIds: str | _list[str] | None = ..., - jobStatus: typing_extensions.Literal[ + jobStatus: typing.Literal[ "JOB_EXECUTION_STATUS_UNSPECIFIED", "JOB_EXECUTION_STATUS_RUNNING", "JOB_EXECUTION_STATUS_SUCCEEDED", @@ -589,6 +647,25 @@ class DataprocResource(googleapiclient.discovery.Resource): ) -> ( SearchSessionSparkApplicationJobsResponseHttpRequest | None ): ... + def searchNativeSqlQueries( + self, + *, + name: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + parent: str | None = ..., + **kwargs: typing.Any, + ) -> ( + SearchSessionSparkApplicationNativeSqlQueriesResponseHttpRequest + ): ... + def searchNativeSqlQueries_next( + self, + previous_request: SearchSessionSparkApplicationNativeSqlQueriesResponseHttpRequest, + previous_response: SearchSessionSparkApplicationNativeSqlQueriesResponse, + ) -> ( + SearchSessionSparkApplicationNativeSqlQueriesResponseHttpRequest + | None + ): ... def searchSqlQueries( self, *, @@ -619,7 +696,7 @@ class DataprocResource(googleapiclient.discovery.Resource): sortRuntime: bool | None = ..., stageAttemptId: int | None = ..., stageId: str | None = ..., - taskStatus: typing_extensions.Literal[ + taskStatus: typing.Literal[ "TASK_STATUS_UNSPECIFIED", "TASK_STATUS_RUNNING", "TASK_STATUS_SUCCESS", @@ -667,7 +744,7 @@ class DataprocResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., parent: str | None = ..., stageIds: str | _list[str] | None = ..., - stageStatus: typing_extensions.Literal[ + stageStatus: typing.Literal[ "STAGE_STATUS_UNSPECIFIED", "STAGE_STATUS_ACTIVE", "STAGE_STATUS_COMPLETE", @@ -930,7 +1007,7 @@ class DataprocResource(googleapiclient.discovery.Resource): projectId: str, region: str, body: Cluster, - actionOnFailedPrimaryWorkers: typing_extensions.Literal[ + actionOnFailedPrimaryWorkers: typing.Literal[ "FAILURE_ACTION_UNSPECIFIED", "NO_ACTION", "DELETE" ] | None = ..., @@ -1092,9 +1169,7 @@ class DataprocResource(googleapiclient.discovery.Resource): region: str, clusterName: str | None = ..., filter: str | None = ..., - jobStateMatcher: typing_extensions.Literal[ - "ALL", "ACTIVE", "NON_ACTIVE" - ] + jobStateMatcher: typing.Literal["ALL", "ACTIVE", "NON_ACTIVE"] | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., @@ -1301,6 +1376,26 @@ class AccessSessionSparkApplicationJobResponseHttpRequest( num_retries: int = 0, ) -> AccessSessionSparkApplicationJobResponse: ... +@typing.type_check_only +class AccessSessionSparkApplicationNativeBuildInfoResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccessSessionSparkApplicationNativeBuildInfoResponse: ... + +@typing.type_check_only +class AccessSessionSparkApplicationNativeSqlQueryResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccessSessionSparkApplicationNativeSqlQueryResponse: ... + @typing.type_check_only class AccessSessionSparkApplicationResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1369,6 +1464,26 @@ class AccessSparkApplicationJobResponseHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> AccessSparkApplicationJobResponse: ... +@typing.type_check_only +class AccessSparkApplicationNativeBuildInfoResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccessSparkApplicationNativeBuildInfoResponse: ... + +@typing.type_check_only +class AccessSparkApplicationNativeSqlQueryResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccessSparkApplicationNativeSqlQueryResponse: ... + @typing.type_check_only class AccessSparkApplicationResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1441,6 +1556,14 @@ class ClusterHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Cluster: ... +@typing.type_check_only +class ComputeTuningConfigResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ComputeTuningConfigResponse: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1575,6 +1698,16 @@ class SearchSessionSparkApplicationJobsResponseHttpRequest( num_retries: int = 0, ) -> SearchSessionSparkApplicationJobsResponse: ... +@typing.type_check_only +class SearchSessionSparkApplicationNativeSqlQueriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchSessionSparkApplicationNativeSqlQueriesResponse: ... + @typing.type_check_only class SearchSessionSparkApplicationSqlQueriesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1653,6 +1786,16 @@ class SearchSparkApplicationJobsResponseHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> SearchSparkApplicationJobsResponse: ... +@typing.type_check_only +class SearchSparkApplicationNativeSqlQueriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchSparkApplicationNativeSqlQueriesResponse: ... + @typing.type_check_only class SearchSparkApplicationSqlQueriesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi index 15db8d2ae..0bc5aba55 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi @@ -1,108 +1,112 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: int acceleratorTypeUri: str @typing.type_check_only class AccessSessionSparkApplicationEnvironmentInfoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationEnvironmentInfo: ApplicationEnvironmentInfo @typing.type_check_only -class AccessSessionSparkApplicationJobResponse( - typing_extensions.TypedDict, total=False -): +class AccessSessionSparkApplicationJobResponse(typing.TypedDict, total=False): jobData: JobData @typing.type_check_only -class AccessSessionSparkApplicationResponse(typing_extensions.TypedDict, total=False): - application: ApplicationInfo +class AccessSessionSparkApplicationNativeBuildInfoResponse( + typing.TypedDict, total=False +): + executionData: NativeBuildInfoUiData @typing.type_check_only -class AccessSessionSparkApplicationSqlQueryResponse( - typing_extensions.TypedDict, total=False +class AccessSessionSparkApplicationNativeSqlQueryResponse( + typing.TypedDict, total=False ): + executionData: NativeSqlExecutionUiData + +@typing.type_check_only +class AccessSessionSparkApplicationResponse(typing.TypedDict, total=False): + application: ApplicationInfo + +@typing.type_check_only +class AccessSessionSparkApplicationSqlQueryResponse(typing.TypedDict, total=False): executionData: SqlExecutionUiData @typing.type_check_only class AccessSessionSparkApplicationSqlSparkPlanGraphResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sparkPlanGraph: SparkPlanGraph @typing.type_check_only -class AccessSessionSparkApplicationStageAttemptResponse( - typing_extensions.TypedDict, total=False -): +class AccessSessionSparkApplicationStageAttemptResponse(typing.TypedDict, total=False): stageData: StageData @typing.type_check_only class AccessSessionSparkApplicationStageRddOperationGraphResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rddOperationGraph: RddOperationGraph @typing.type_check_only -class AccessSparkApplicationEnvironmentInfoResponse( - typing_extensions.TypedDict, total=False -): +class AccessSparkApplicationEnvironmentInfoResponse(typing.TypedDict, total=False): applicationEnvironmentInfo: ApplicationEnvironmentInfo @typing.type_check_only -class AccessSparkApplicationJobResponse(typing_extensions.TypedDict, total=False): +class AccessSparkApplicationJobResponse(typing.TypedDict, total=False): jobData: JobData @typing.type_check_only -class AccessSparkApplicationResponse(typing_extensions.TypedDict, total=False): +class AccessSparkApplicationNativeBuildInfoResponse(typing.TypedDict, total=False): + buildInfo: NativeBuildInfoUiData + +@typing.type_check_only +class AccessSparkApplicationNativeSqlQueryResponse(typing.TypedDict, total=False): + executionData: NativeSqlExecutionUiData + +@typing.type_check_only +class AccessSparkApplicationResponse(typing.TypedDict, total=False): application: ApplicationInfo @typing.type_check_only -class AccessSparkApplicationSqlQueryResponse(typing_extensions.TypedDict, total=False): +class AccessSparkApplicationSqlQueryResponse(typing.TypedDict, total=False): executionData: SqlExecutionUiData @typing.type_check_only -class AccessSparkApplicationSqlSparkPlanGraphResponse( - typing_extensions.TypedDict, total=False -): +class AccessSparkApplicationSqlSparkPlanGraphResponse(typing.TypedDict, total=False): sparkPlanGraph: SparkPlanGraph @typing.type_check_only -class AccessSparkApplicationStageAttemptResponse( - typing_extensions.TypedDict, total=False -): +class AccessSparkApplicationStageAttemptResponse(typing.TypedDict, total=False): stageData: StageData @typing.type_check_only class AccessSparkApplicationStageRddOperationGraphResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rddOperationGraph: RddOperationGraph @typing.type_check_only -class AccumulableInfo(typing_extensions.TypedDict, total=False): +class AccumulableInfo(typing.TypedDict, total=False): accumullableInfoId: str name: str update: str value: str @typing.type_check_only -class AnalyzeBatchRequest(typing_extensions.TypedDict, total=False): +class AnalyzeBatchRequest(typing.TypedDict, total=False): requestId: str requestorId: str @typing.type_check_only -class AnalyzeOperationMetadata(typing_extensions.TypedDict, total=False): +class AnalyzeOperationMetadata(typing.TypedDict, total=False): analyzedWorkloadName: str - analyzedWorkloadType: typing_extensions.Literal[ - "WORKLOAD_TYPE_UNSPECIFIED", "BATCH" - ] + analyzedWorkloadType: typing.Literal["WORKLOAD_TYPE_UNSPECIFIED", "BATCH"] analyzedWorkloadUuid: str createTime: str description: str @@ -111,12 +115,12 @@ class AnalyzeOperationMetadata(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class AppSummary(typing_extensions.TypedDict, total=False): +class AppSummary(typing.TypedDict, total=False): numCompletedJobs: int numCompletedStages: int @typing.type_check_only -class ApplicationAttemptInfo(typing_extensions.TypedDict, total=False): +class ApplicationAttemptInfo(typing.TypedDict, total=False): appSparkVersion: str attemptId: str completed: bool @@ -127,7 +131,7 @@ class ApplicationAttemptInfo(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ApplicationEnvironmentInfo(typing_extensions.TypedDict, total=False): +class ApplicationEnvironmentInfo(typing.TypedDict, total=False): classpathEntries: dict[str, typing.Any] hadoopProperties: dict[str, typing.Any] metricsProperties: dict[str, typing.Any] @@ -137,8 +141,8 @@ class ApplicationEnvironmentInfo(typing_extensions.TypedDict, total=False): systemProperties: dict[str, typing.Any] @typing.type_check_only -class ApplicationInfo(typing_extensions.TypedDict, total=False): - applicationContextIngestionStatus: typing_extensions.Literal[ +class ApplicationInfo(typing.TypedDict, total=False): + applicationContextIngestionStatus: typing.Literal[ "APPLICATION_CONTEXT_INGESTION_STATUS_UNSPECIFIED", "APPLICATION_CONTEXT_INGESTION_STATUS_COMPLETED", ] @@ -149,16 +153,16 @@ class ApplicationInfo(typing_extensions.TypedDict, total=False): maxCores: int memoryPerExecutorMb: int name: str - quantileDataStatus: typing_extensions.Literal[ + quantileDataStatus: typing.Literal[ "QUANTILE_DATA_STATUS_UNSPECIFIED", "QUANTILE_DATA_STATUS_COMPLETED", "QUANTILE_DATA_STATUS_FAILED", ] @typing.type_check_only -class AttachedDiskConfig(typing_extensions.TypedDict, total=False): +class AttachedDiskConfig(typing.TypedDict, total=False): diskSizeGb: int - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "DISK_TYPE_UNSPECIFIED", "HYPERDISK_BALANCED", "HYPERDISK_EXTREME", @@ -169,21 +173,32 @@ class AttachedDiskConfig(typing_extensions.TypedDict, total=False): provisionedThroughput: str @typing.type_check_only -class AuthenticationConfig(typing_extensions.TypedDict, total=False): - userWorkloadAuthenticationType: typing_extensions.Literal[ +class AttachmentOperationMetadata(typing.TypedDict, total=False): + attachment: str + attachmentUuid: str + createTime: str + description: str + doneTime: str + labels: dict[str, typing.Any] + operationType: typing.Literal[ + "ATTACHMENT_OPERATION_TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" + ] + warnings: _list[str] + +@typing.type_check_only +class AuthenticationConfig(typing.TypedDict, total=False): + userWorkloadAuthenticationType: typing.Literal[ "AUTHENTICATION_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT", "END_USER_CREDENTIALS" ] @typing.type_check_only -class AutoscalingConfig(typing_extensions.TypedDict, total=False): +class AutoscalingConfig(typing.TypedDict, total=False): policyUri: str @typing.type_check_only -class AutoscalingPolicy(typing_extensions.TypedDict, total=False): +class AutoscalingPolicy(typing.TypedDict, total=False): basicAlgorithm: BasicAutoscalingAlgorithm - clusterType: typing_extensions.Literal[ - "CLUSTER_TYPE_UNSPECIFIED", "STANDARD", "ZERO_SCALE" - ] + clusterType: typing.Literal["CLUSTER_TYPE_UNSPECIFIED", "STANDARD", "ZERO_SCALE"] id: str labels: dict[str, typing.Any] name: str @@ -191,9 +206,9 @@ class AutoscalingPolicy(typing_extensions.TypedDict, total=False): workerConfig: InstanceGroupAutoscalingPolicyConfig @typing.type_check_only -class AutotuningConfig(typing_extensions.TypedDict, total=False): +class AutotuningConfig(typing.TypedDict, total=False): scenarios: _list[ - typing_extensions.Literal[ + typing.Literal[ "SCENARIO_UNSPECIFIED", "SCALING", "BROADCAST_HASH_JOIN", @@ -204,23 +219,23 @@ class AutotuningConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AuxiliaryNodeGroup(typing_extensions.TypedDict, total=False): +class AuxiliaryNodeGroup(typing.TypedDict, total=False): nodeGroup: NodeGroup nodeGroupId: str @typing.type_check_only -class AuxiliaryServicesConfig(typing_extensions.TypedDict, total=False): +class AuxiliaryServicesConfig(typing.TypedDict, total=False): metastoreConfig: MetastoreConfig sparkHistoryServerConfig: SparkHistoryServerConfig @typing.type_check_only -class BasicAutoscalingAlgorithm(typing_extensions.TypedDict, total=False): +class BasicAutoscalingAlgorithm(typing.TypedDict, total=False): cooldownPeriod: str sparkStandaloneConfig: SparkStandaloneAutoscalingConfig yarnConfig: BasicYarnAutoscalingConfig @typing.type_check_only -class BasicYarnAutoscalingConfig(typing_extensions.TypedDict, total=False): +class BasicYarnAutoscalingConfig(typing.TypedDict, total=False): gracefulDecommissionTimeout: str scaleDownFactor: float scaleDownMinWorkerFraction: float @@ -228,7 +243,7 @@ class BasicYarnAutoscalingConfig(typing_extensions.TypedDict, total=False): scaleUpMinWorkerFraction: float @typing.type_check_only -class Batch(typing_extensions.TypedDict, total=False): +class Batch(typing.TypedDict, total=False): createTime: str creator: str environmentConfig: EnvironmentConfig @@ -242,7 +257,7 @@ class Batch(typing_extensions.TypedDict, total=False): sparkBatch: SparkBatch sparkRBatch: SparkRBatch sparkSqlBatch: SparkSqlBatch - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -257,34 +272,32 @@ class Batch(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class BatchOperationMetadata(typing_extensions.TypedDict, total=False): +class BatchOperationMetadata(typing.TypedDict, total=False): batch: str batchUuid: str createTime: str description: str doneTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ - "BATCH_OPERATION_TYPE_UNSPECIFIED", "BATCH" - ] + operationType: typing.Literal["BATCH_OPERATION_TYPE_UNSPECIFIED", "BATCH"] warnings: _list[str] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BuildInfo(typing_extensions.TypedDict, total=False): +class BuildInfo(typing.TypedDict, total=False): buildKey: str buildValue: str @typing.type_check_only -class CancelJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): clusterName: str clusterUuid: str config: ClusterConfig @@ -296,13 +309,13 @@ class Cluster(typing_extensions.TypedDict, total=False): virtualClusterConfig: VirtualClusterConfig @typing.type_check_only -class ClusterConfig(typing_extensions.TypedDict, total=False): +class ClusterConfig(typing.TypedDict, total=False): autoscalingConfig: AutoscalingConfig auxiliaryNodeGroups: _list[AuxiliaryNodeGroup] - clusterTier: typing_extensions.Literal[ + clusterTier: typing.Literal[ "CLUSTER_TIER_UNSPECIFIED", "CLUSTER_TIER_STANDARD", "CLUSTER_TIER_PREMIUM" ] - clusterType: typing_extensions.Literal[ + clusterType: typing.Literal[ "CLUSTER_TYPE_UNSPECIFIED", "STANDARD", "SINGLE_NODE", "ZERO_SCALE" ] configBucket: str @@ -310,7 +323,7 @@ class ClusterConfig(typing_extensions.TypedDict, total=False): diagnosticBucket: str encryptionConfig: EncryptionConfig endpointConfig: EndpointConfig - engine: typing_extensions.Literal["ENGINE_UNSPECIFIED", "DEFAULT", "LIGHTNING"] + engine: typing.Literal["ENGINE_UNSPECIFIED", "DEFAULT", "LIGHTNING"] gceClusterConfig: GceClusterConfig gkeClusterConfig: GkeClusterConfig initializationActions: _list[NodeInitializationAction] @@ -324,18 +337,18 @@ class ClusterConfig(typing_extensions.TypedDict, total=False): workerConfig: InstanceGroupConfig @typing.type_check_only -class ClusterMetrics(typing_extensions.TypedDict, total=False): +class ClusterMetrics(typing.TypedDict, total=False): hdfsMetrics: dict[str, typing.Any] yarnMetrics: dict[str, typing.Any] @typing.type_check_only -class ClusterOperation(typing_extensions.TypedDict, total=False): +class ClusterOperation(typing.TypedDict, total=False): done: bool error: str operationId: str @typing.type_check_only -class ClusterOperationMetadata(typing_extensions.TypedDict, total=False): +class ClusterOperationMetadata(typing.TypedDict, total=False): childOperationIds: _list[str] clusterName: str clusterUuid: str @@ -347,21 +360,21 @@ class ClusterOperationMetadata(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class ClusterOperationStatus(typing_extensions.TypedDict, total=False): +class ClusterOperationStatus(typing.TypedDict, total=False): details: str innerState: str - state: typing_extensions.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] stateStartTime: str @typing.type_check_only -class ClusterSelector(typing_extensions.TypedDict, total=False): +class ClusterSelector(typing.TypedDict, total=False): clusterLabels: dict[str, typing.Any] zone: str @typing.type_check_only -class ClusterStatus(typing_extensions.TypedDict, total=False): +class ClusterStatus(typing.TypedDict, total=False): detail: str - state: typing_extensions.Literal[ + state: typing.Literal[ "UNKNOWN", "CREATING", "RUNNING", @@ -376,30 +389,34 @@ class ClusterStatus(typing_extensions.TypedDict, total=False): "SCHEDULED", ] stateStartTime: str - substate: typing_extensions.Literal["UNSPECIFIED", "UNHEALTHY", "STALE_STATUS"] + substate: typing.Literal["UNSPECIFIED", "UNHEALTHY", "STALE_STATUS"] @typing.type_check_only -class ClusterToRepair(typing_extensions.TypedDict, total=False): - clusterRepairAction: typing_extensions.Literal[ +class ClusterToRepair(typing.TypedDict, total=False): + clusterRepairAction: typing.Literal[ "CLUSTER_REPAIR_ACTION_UNSPECIFIED", "REPAIR_ERROR_DUE_TO_UPDATE_CLUSTER" ] @typing.type_check_only -class CohortInfo(typing_extensions.TypedDict, total=False): +class CohortInfo(typing.TypedDict, total=False): cohort: str - cohortSource: typing_extensions.Literal[ + cohortSource: typing.Literal[ "COHORT_SOURCE_UNSPECIFIED", "USER_PROVIDED", "AIRFLOW" ] @typing.type_check_only -class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): - confidentialInstanceType: typing_extensions.Literal[ +class ComputeTuningConfigResponse(typing.TypedDict, total=False): + recommendedProperties: dict[str, typing.Any] + +@typing.type_check_only +class ConfidentialInstanceConfig(typing.TypedDict, total=False): + confidentialInstanceType: typing.Literal[ "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ] enableConfidentialCompute: bool @typing.type_check_only -class ConsolidatedExecutorSummary(typing_extensions.TypedDict, total=False): +class ConsolidatedExecutorSummary(typing.TypedDict, total=False): activeTasks: int completedTasks: int count: int @@ -419,15 +436,15 @@ class ConsolidatedExecutorSummary(typing_extensions.TypedDict, total=False): totalTasks: int @typing.type_check_only -class DataprocMetricConfig(typing_extensions.TypedDict, total=False): +class DataprocMetricConfig(typing.TypedDict, total=False): metrics: _list[Metric] @typing.type_check_only -class DiagnoseClusterRequest(typing_extensions.TypedDict, total=False): +class DiagnoseClusterRequest(typing.TypedDict, total=False): diagnosisInterval: Interval job: str jobs: _list[str] - tarballAccess: typing_extensions.Literal[ + tarballAccess: typing.Literal[ "TARBALL_ACCESS_UNSPECIFIED", "GOOGLE_CLOUD_SUPPORT", "GOOGLE_DATAPROC_DIAGNOSE" ] tarballGcsDir: str @@ -435,11 +452,11 @@ class DiagnoseClusterRequest(typing_extensions.TypedDict, total=False): yarnApplicationIds: _list[str] @typing.type_check_only -class DiagnoseClusterResults(typing_extensions.TypedDict, total=False): +class DiagnoseClusterResults(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class DiskConfig(typing_extensions.TypedDict, total=False): +class DiskConfig(typing.TypedDict, total=False): attachedDiskConfigs: _list[AttachedDiskConfig] bootDiskProvisionedIops: str bootDiskProvisionedThroughput: str @@ -449,30 +466,30 @@ class DiskConfig(typing_extensions.TypedDict, total=False): numLocalSsds: int @typing.type_check_only -class DriverSchedulingConfig(typing_extensions.TypedDict, total=False): +class DriverSchedulingConfig(typing.TypedDict, total=False): memoryMb: int vcores: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): gcePdKmsKeyName: str kmsKey: str @typing.type_check_only -class EndpointConfig(typing_extensions.TypedDict, total=False): +class EndpointConfig(typing.TypedDict, total=False): enableHttpPortAccess: bool httpPorts: dict[str, typing.Any] @typing.type_check_only -class EnvironmentConfig(typing_extensions.TypedDict, total=False): +class EnvironmentConfig(typing.TypedDict, total=False): executionConfig: ExecutionConfig peripheralsConfig: PeripheralsConfig @typing.type_check_only -class ExecutionConfig(typing_extensions.TypedDict, total=False): +class ExecutionConfig(typing.TypedDict, total=False): authenticationConfig: AuthenticationConfig idleTtl: str kmsKey: str @@ -485,11 +502,11 @@ class ExecutionConfig(typing_extensions.TypedDict, total=False): ttl: str @typing.type_check_only -class ExecutorMetrics(typing_extensions.TypedDict, total=False): +class ExecutorMetrics(typing.TypedDict, total=False): metrics: dict[str, typing.Any] @typing.type_check_only -class ExecutorMetricsDistributions(typing_extensions.TypedDict, total=False): +class ExecutorMetricsDistributions(typing.TypedDict, total=False): diskBytesSpilled: _list[float] failedTasks: _list[float] inputBytes: _list[float] @@ -508,19 +525,19 @@ class ExecutorMetricsDistributions(typing_extensions.TypedDict, total=False): taskTimeMillis: _list[float] @typing.type_check_only -class ExecutorPeakMetricsDistributions(typing_extensions.TypedDict, total=False): +class ExecutorPeakMetricsDistributions(typing.TypedDict, total=False): executorMetrics: _list[ExecutorMetrics] quantiles: _list[float] @typing.type_check_only -class ExecutorResourceRequest(typing_extensions.TypedDict, total=False): +class ExecutorResourceRequest(typing.TypedDict, total=False): amount: str discoveryScript: str resourceName: str vendor: str @typing.type_check_only -class ExecutorStageSummary(typing_extensions.TypedDict, total=False): +class ExecutorStageSummary(typing.TypedDict, total=False): diskBytesSpilled: str executorId: str failedTasks: int @@ -542,7 +559,7 @@ class ExecutorStageSummary(typing_extensions.TypedDict, total=False): taskTimeMillis: str @typing.type_check_only -class ExecutorSummary(typing_extensions.TypedDict, total=False): +class ExecutorSummary(typing.TypedDict, total=False): activeTasks: int addTime: str attributes: dict[str, typing.Any] @@ -574,19 +591,19 @@ class ExecutorSummary(typing_extensions.TypedDict, total=False): totalTasks: int @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FallbackReason(typing_extensions.TypedDict, total=False): +class FallbackReason(typing.TypedDict, total=False): fallbackNode: str fallbackReason: str @typing.type_check_only -class FlinkJob(typing_extensions.TypedDict, total=False): +class FlinkJob(typing.TypedDict, total=False): args: _list[str] jarFileUris: _list[str] loggingConfig: LoggingConfig @@ -596,14 +613,14 @@ class FlinkJob(typing_extensions.TypedDict, total=False): savepointUri: str @typing.type_check_only -class GceClusterConfig(typing_extensions.TypedDict, total=False): +class GceClusterConfig(typing.TypedDict, total=False): autoZoneExcludeZoneUris: _list[str] confidentialInstanceConfig: ConfidentialInstanceConfig internalIpOnly: bool metadata: dict[str, typing.Any] networkUri: str nodeGroupAffinity: NodeGroupAffinity - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", "INHERIT_FROM_SUBNETWORK", "OUTBOUND", @@ -619,21 +636,21 @@ class GceClusterConfig(typing_extensions.TypedDict, total=False): zoneUri: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GkeClusterConfig(typing_extensions.TypedDict, total=False): +class GkeClusterConfig(typing.TypedDict, total=False): gkeClusterTarget: str namespacedGkeDeploymentTarget: NamespacedGkeDeploymentTarget nodePoolTarget: _list[GkeNodePoolTarget] @typing.type_check_only -class GkeNodeConfig(typing_extensions.TypedDict, total=False): +class GkeNodeConfig(typing.TypedDict, total=False): accelerators: _list[GkeNodePoolAcceleratorConfig] bootDiskKmsKey: str localSsdCount: int @@ -644,28 +661,28 @@ class GkeNodeConfig(typing_extensions.TypedDict, total=False): spot: bool @typing.type_check_only -class GkeNodePoolAcceleratorConfig(typing_extensions.TypedDict, total=False): +class GkeNodePoolAcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: str acceleratorType: str gpuPartitionSize: str @typing.type_check_only -class GkeNodePoolAutoscalingConfig(typing_extensions.TypedDict, total=False): +class GkeNodePoolAutoscalingConfig(typing.TypedDict, total=False): maxNodeCount: int minNodeCount: int @typing.type_check_only -class GkeNodePoolConfig(typing_extensions.TypedDict, total=False): +class GkeNodePoolConfig(typing.TypedDict, total=False): autoscaling: GkeNodePoolAutoscalingConfig config: GkeNodeConfig locations: _list[str] @typing.type_check_only -class GkeNodePoolTarget(typing_extensions.TypedDict, total=False): +class GkeNodePoolTarget(typing.TypedDict, total=False): nodePool: str nodePoolConfig: GkeNodePoolConfig roles: _list[ - typing_extensions.Literal[ + typing.Literal[ "ROLE_UNSPECIFIED", "DEFAULT", "CONTROLLER", @@ -676,12 +693,12 @@ class GkeNodePoolTarget(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsKey: str @typing.type_check_only -class HadoopJob(typing_extensions.TypedDict, total=False): +class HadoopJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -692,7 +709,7 @@ class HadoopJob(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class HiveJob(typing_extensions.TypedDict, total=False): +class HiveJob(typing.TypedDict, total=False): continueOnFailure: bool jarFileUris: _list[str] properties: dict[str, typing.Any] @@ -701,39 +718,40 @@ class HiveJob(typing_extensions.TypedDict, total=False): scriptVariables: dict[str, typing.Any] @typing.type_check_only -class IdentityConfig(typing_extensions.TypedDict, total=False): +class IdentityConfig(typing.TypedDict, total=False): + enableSsh: bool userServiceAccountMapping: dict[str, typing.Any] @typing.type_check_only -class InjectCredentialsRequest(typing_extensions.TypedDict, total=False): +class InjectCredentialsRequest(typing.TypedDict, total=False): clusterUuid: str credentialsCiphertext: str @typing.type_check_only -class InputMetrics(typing_extensions.TypedDict, total=False): +class InputMetrics(typing.TypedDict, total=False): bytesRead: str recordsRead: str @typing.type_check_only -class InputQuantileMetrics(typing_extensions.TypedDict, total=False): +class InputQuantileMetrics(typing.TypedDict, total=False): bytesRead: Quantiles recordsRead: Quantiles @typing.type_check_only -class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): +class InstanceFlexibilityPolicy(typing.TypedDict, total=False): instanceMachineTypes: dict[str, typing.Any] instanceSelectionList: _list[InstanceSelection] instanceSelectionResults: _list[InstanceSelectionResult] provisioningModelMix: ProvisioningModelMix @typing.type_check_only -class InstanceGroupAutoscalingPolicyConfig(typing_extensions.TypedDict, total=False): +class InstanceGroupAutoscalingPolicyConfig(typing.TypedDict, total=False): maxInstances: int minInstances: int weight: int @typing.type_check_only -class InstanceGroupConfig(typing_extensions.TypedDict, total=False): +class InstanceGroupConfig(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] diskConfig: DiskConfig imageUri: str @@ -746,42 +764,42 @@ class InstanceGroupConfig(typing_extensions.TypedDict, total=False): minCpuPlatform: str minNumInstances: int numInstances: int - preemptibility: typing_extensions.Literal[ + preemptibility: typing.Literal[ "PREEMPTIBILITY_UNSPECIFIED", "NON_PREEMPTIBLE", "PREEMPTIBLE", "SPOT" ] startupConfig: StartupConfig @typing.type_check_only -class InstanceReference(typing_extensions.TypedDict, total=False): +class InstanceReference(typing.TypedDict, total=False): instanceId: str instanceName: str publicEciesKey: str publicKey: str @typing.type_check_only -class InstanceSelection(typing_extensions.TypedDict, total=False): +class InstanceSelection(typing.TypedDict, total=False): diskConfig: DiskConfig machineTypes: _list[str] rank: int @typing.type_check_only -class InstanceSelectionResult(typing_extensions.TypedDict, total=False): +class InstanceSelectionResult(typing.TypedDict, total=False): machineType: str vmCount: int @typing.type_check_only -class InstantiateWorkflowTemplateRequest(typing_extensions.TypedDict, total=False): +class InstantiateWorkflowTemplateRequest(typing.TypedDict, total=False): parameters: dict[str, typing.Any] requestId: str version: int @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): done: bool driverControlFilesUri: str driverOutputResourceUri: str @@ -806,7 +824,7 @@ class Job(typing_extensions.TypedDict, total=False): yarnApplications: _list[YarnApplication] @typing.type_check_only -class JobData(typing_extensions.TypedDict, total=False): +class JobData(typing.TypedDict, total=False): completionTime: str description: str jobGroup: str @@ -827,7 +845,7 @@ class JobData(typing_extensions.TypedDict, total=False): skippedStages: _list[int] sqlExecutionId: str stageIds: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "JOB_EXECUTION_STATUS_UNSPECIFIED", "JOB_EXECUTION_STATUS_RUNNING", "JOB_EXECUTION_STATUS_SUCCEEDED", @@ -837,32 +855,32 @@ class JobData(typing_extensions.TypedDict, total=False): submissionTime: str @typing.type_check_only -class JobMetadata(typing_extensions.TypedDict, total=False): +class JobMetadata(typing.TypedDict, total=False): jobId: str operationType: str startTime: str status: JobStatus @typing.type_check_only -class JobPlacement(typing_extensions.TypedDict, total=False): +class JobPlacement(typing.TypedDict, total=False): clusterLabels: dict[str, typing.Any] clusterName: str clusterUuid: str @typing.type_check_only -class JobReference(typing_extensions.TypedDict, total=False): +class JobReference(typing.TypedDict, total=False): jobId: str projectId: str @typing.type_check_only -class JobScheduling(typing_extensions.TypedDict, total=False): +class JobScheduling(typing.TypedDict, total=False): maxFailuresPerHour: int maxFailuresTotal: int @typing.type_check_only -class JobStatus(typing_extensions.TypedDict, total=False): +class JobStatus(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "SETUP_DONE", @@ -875,12 +893,10 @@ class JobStatus(typing_extensions.TypedDict, total=False): "ATTEMPT_FAILURE", ] stateStartTime: str - substate: typing_extensions.Literal[ - "UNSPECIFIED", "SUBMITTED", "QUEUED", "STALE_STATUS" - ] + substate: typing.Literal["UNSPECIFIED", "SUBMITTED", "QUEUED", "STALE_STATUS"] @typing.type_check_only -class JobsSummary(typing_extensions.TypedDict, total=False): +class JobsSummary(typing.TypedDict, total=False): activeJobs: int applicationId: str attempts: _list[ApplicationAttemptInfo] @@ -889,12 +905,12 @@ class JobsSummary(typing_extensions.TypedDict, total=False): schedulingMode: str @typing.type_check_only -class JupyterConfig(typing_extensions.TypedDict, total=False): +class JupyterConfig(typing.TypedDict, total=False): displayName: str - kernel: typing_extensions.Literal["KERNEL_UNSPECIFIED", "PYTHON", "SCALA"] + kernel: typing.Literal["KERNEL_UNSPECIFIED", "PYTHON", "SCALA"] @typing.type_check_only -class KerberosConfig(typing_extensions.TypedDict, total=False): +class KerberosConfig(typing.TypedDict, total=False): crossRealmTrustAdminServer: str crossRealmTrustKdc: str crossRealmTrustRealm: str @@ -912,18 +928,18 @@ class KerberosConfig(typing_extensions.TypedDict, total=False): truststoreUri: str @typing.type_check_only -class KubernetesClusterConfig(typing_extensions.TypedDict, total=False): +class KubernetesClusterConfig(typing.TypedDict, total=False): gkeClusterConfig: GkeClusterConfig kubernetesNamespace: str kubernetesSoftwareConfig: KubernetesSoftwareConfig @typing.type_check_only -class KubernetesSoftwareConfig(typing_extensions.TypedDict, total=False): +class KubernetesSoftwareConfig(typing.TypedDict, total=False): componentVersion: dict[str, typing.Any] properties: dict[str, typing.Any] @typing.type_check_only -class LifecycleConfig(typing_extensions.TypedDict, total=False): +class LifecycleConfig(typing.TypedDict, total=False): autoDeleteTime: str autoDeleteTtl: str autoStopTime: str @@ -933,80 +949,80 @@ class LifecycleConfig(typing_extensions.TypedDict, total=False): idleStopTtl: str @typing.type_check_only -class ListAutoscalingPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAutoscalingPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[AutoscalingPolicy] @typing.type_check_only -class ListBatchesResponse(typing_extensions.TypedDict, total=False): +class ListBatchesResponse(typing.TypedDict, total=False): batches: _list[Batch] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSessionTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListSessionTemplatesResponse(typing.TypedDict, total=False): nextPageToken: str sessionTemplates: _list[SessionTemplate] @typing.type_check_only -class ListSessionsResponse(typing_extensions.TypedDict, total=False): +class ListSessionsResponse(typing.TypedDict, total=False): nextPageToken: str sessions: _list[Session] @typing.type_check_only -class ListWorkflowTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowTemplatesResponse(typing.TypedDict, total=False): nextPageToken: str templates: _list[WorkflowTemplate] unreachable: _list[str] @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): driverLogLevels: dict[str, typing.Any] @typing.type_check_only -class ManagedCluster(typing_extensions.TypedDict, total=False): +class ManagedCluster(typing.TypedDict, total=False): clusterName: str config: ClusterConfig labels: dict[str, typing.Any] @typing.type_check_only -class ManagedGroupConfig(typing_extensions.TypedDict, total=False): +class ManagedGroupConfig(typing.TypedDict, total=False): instanceGroupManagerName: str instanceGroupManagerUri: str instanceTemplateName: str @typing.type_check_only -class MemoryMetrics(typing_extensions.TypedDict, total=False): +class MemoryMetrics(typing.TypedDict, total=False): totalOffHeapStorageMemory: str totalOnHeapStorageMemory: str usedOffHeapStorageMemory: str usedOnHeapStorageMemory: str @typing.type_check_only -class MetastoreConfig(typing_extensions.TypedDict, total=False): +class MetastoreConfig(typing.TypedDict, total=False): dataprocMetastoreService: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): metricOverrides: _list[str] - metricSource: typing_extensions.Literal[ + metricSource: typing.Literal[ "METRIC_SOURCE_UNSPECIFIED", "MONITORING_AGENT_DEFAULTS", "HDFS", @@ -1019,17 +1035,17 @@ class Metric(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NamespacedGkeDeploymentTarget(typing_extensions.TypedDict, total=False): +class NamespacedGkeDeploymentTarget(typing.TypedDict, total=False): clusterNamespace: str targetGkeCluster: str @typing.type_check_only -class NativeBuildInfoUiData(typing_extensions.TypedDict, total=False): +class NativeBuildInfoUiData(typing.TypedDict, total=False): buildClass: str buildInfo: _list[BuildInfo] @typing.type_check_only -class NativeSqlExecutionUiData(typing_extensions.TypedDict, total=False): +class NativeSqlExecutionUiData(typing.TypedDict, total=False): description: str executionId: str fallbackDescription: str @@ -1038,23 +1054,23 @@ class NativeSqlExecutionUiData(typing_extensions.TypedDict, total=False): numNativeNodes: int @typing.type_check_only -class NodeGroup(typing_extensions.TypedDict, total=False): +class NodeGroup(typing.TypedDict, total=False): labels: dict[str, typing.Any] name: str nodeGroupConfig: InstanceGroupConfig - roles: _list[typing_extensions.Literal["ROLE_UNSPECIFIED", "DRIVER"]] + roles: _list[typing.Literal["ROLE_UNSPECIFIED", "DRIVER"]] @typing.type_check_only -class NodeGroupAffinity(typing_extensions.TypedDict, total=False): +class NodeGroupAffinity(typing.TypedDict, total=False): nodeGroupUri: str @typing.type_check_only -class NodeGroupOperationMetadata(typing_extensions.TypedDict, total=False): +class NodeGroupOperationMetadata(typing.TypedDict, total=False): clusterUuid: str description: str labels: dict[str, typing.Any] nodeGroupId: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "NODE_GROUP_OPERATION_TYPE_UNSPECIFIED", "CREATE", "UPDATE", @@ -1071,18 +1087,18 @@ class NodeGroupOperationMetadata(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class NodeInitializationAction(typing_extensions.TypedDict, total=False): +class NodeInitializationAction(typing.TypedDict, total=False): executableFile: str executionTimeout: str @typing.type_check_only -class NodePool(typing_extensions.TypedDict, total=False): +class NodePool(typing.TypedDict, total=False): id: str instanceNames: _list[str] - repairAction: typing_extensions.Literal["REPAIR_ACTION_UNSPECIFIED", "DELETE"] + repairAction: typing.Literal["REPAIR_ACTION_UNSPECIFIED", "DELETE"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1090,7 +1106,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrderedJob(typing_extensions.TypedDict, total=False): +class OrderedJob(typing.TypedDict, total=False): flinkJob: FlinkJob hadoopJob: HadoopJob hiveJob: HiveJob @@ -1107,27 +1123,27 @@ class OrderedJob(typing_extensions.TypedDict, total=False): trinoJob: TrinoJob @typing.type_check_only -class OutputMetrics(typing_extensions.TypedDict, total=False): +class OutputMetrics(typing.TypedDict, total=False): bytesWritten: str recordsWritten: str @typing.type_check_only -class OutputQuantileMetrics(typing_extensions.TypedDict, total=False): +class OutputQuantileMetrics(typing.TypedDict, total=False): bytesWritten: Quantiles recordsWritten: Quantiles @typing.type_check_only -class ParameterValidation(typing_extensions.TypedDict, total=False): +class ParameterValidation(typing.TypedDict, total=False): regex: RegexValidation values: ValueValidation @typing.type_check_only -class PeripheralsConfig(typing_extensions.TypedDict, total=False): +class PeripheralsConfig(typing.TypedDict, total=False): metastoreService: str sparkHistoryServerConfig: SparkHistoryServerConfig @typing.type_check_only -class PigJob(typing_extensions.TypedDict, total=False): +class PigJob(typing.TypedDict, total=False): continueOnFailure: bool jarFileUris: _list[str] loggingConfig: LoggingConfig @@ -1137,18 +1153,18 @@ class PigJob(typing_extensions.TypedDict, total=False): scriptVariables: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PoolData(typing_extensions.TypedDict, total=False): +class PoolData(typing.TypedDict, total=False): name: str stageIds: _list[str] @typing.type_check_only -class PrestoJob(typing_extensions.TypedDict, total=False): +class PrestoJob(typing.TypedDict, total=False): clientTags: _list[str] continueOnFailure: bool loggingConfig: LoggingConfig @@ -1158,7 +1174,7 @@ class PrestoJob(typing_extensions.TypedDict, total=False): queryList: QueryList @typing.type_check_only -class ProcessSummary(typing_extensions.TypedDict, total=False): +class ProcessSummary(typing.TypedDict, total=False): addTime: str hostPort: str isActive: bool @@ -1168,20 +1184,20 @@ class ProcessSummary(typing_extensions.TypedDict, total=False): totalCores: int @typing.type_check_only -class PropertiesInfo(typing_extensions.TypedDict, total=False): +class PropertiesInfo(typing.TypedDict, total=False): autotuningProperties: dict[str, typing.Any] @typing.type_check_only -class ProvisioningModelMix(typing_extensions.TypedDict, total=False): +class ProvisioningModelMix(typing.TypedDict, total=False): standardCapacityBase: int standardCapacityPercentAboveBase: int @typing.type_check_only -class PyPiRepositoryConfig(typing_extensions.TypedDict, total=False): +class PyPiRepositoryConfig(typing.TypedDict, total=False): pypiRepository: str @typing.type_check_only -class PySparkBatch(typing_extensions.TypedDict, total=False): +class PySparkBatch(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -1190,7 +1206,7 @@ class PySparkBatch(typing_extensions.TypedDict, total=False): pythonFileUris: _list[str] @typing.type_check_only -class PySparkJob(typing_extensions.TypedDict, total=False): +class PySparkJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -1201,7 +1217,7 @@ class PySparkJob(typing_extensions.TypedDict, total=False): pythonFileUris: _list[str] @typing.type_check_only -class PySparkNotebookBatch(typing_extensions.TypedDict, total=False): +class PySparkNotebookBatch(typing.TypedDict, total=False): archiveUris: _list[str] fileUris: _list[str] jarFileUris: _list[str] @@ -1210,7 +1226,7 @@ class PySparkNotebookBatch(typing_extensions.TypedDict, total=False): pythonFileUris: _list[str] @typing.type_check_only -class Quantiles(typing_extensions.TypedDict, total=False): +class Quantiles(typing.TypedDict, total=False): count: str maximum: str minimum: str @@ -1220,11 +1236,11 @@ class Quantiles(typing_extensions.TypedDict, total=False): sum: str @typing.type_check_only -class QueryList(typing_extensions.TypedDict, total=False): +class QueryList(typing.TypedDict, total=False): queries: _list[str] @typing.type_check_only -class RddDataDistribution(typing_extensions.TypedDict, total=False): +class RddDataDistribution(typing.TypedDict, total=False): address: str diskUsed: str memoryRemaining: str @@ -1235,19 +1251,19 @@ class RddDataDistribution(typing_extensions.TypedDict, total=False): onHeapMemoryUsed: str @typing.type_check_only -class RddOperationCluster(typing_extensions.TypedDict, total=False): +class RddOperationCluster(typing.TypedDict, total=False): childClusters: _list[RddOperationCluster] childNodes: _list[RddOperationNode] name: str rddClusterId: str @typing.type_check_only -class RddOperationEdge(typing_extensions.TypedDict, total=False): +class RddOperationEdge(typing.TypedDict, total=False): fromId: int toId: int @typing.type_check_only -class RddOperationGraph(typing_extensions.TypedDict, total=False): +class RddOperationGraph(typing.TypedDict, total=False): edges: _list[RddOperationEdge] incomingEdges: _list[RddOperationEdge] outgoingEdges: _list[RddOperationEdge] @@ -1255,13 +1271,13 @@ class RddOperationGraph(typing_extensions.TypedDict, total=False): stageId: str @typing.type_check_only -class RddOperationNode(typing_extensions.TypedDict, total=False): +class RddOperationNode(typing.TypedDict, total=False): barrier: bool cached: bool callsite: str name: str nodeId: int - outputDeterministicLevel: typing_extensions.Literal[ + outputDeterministicLevel: typing.Literal[ "DETERMINISTIC_LEVEL_UNSPECIFIED", "DETERMINISTIC_LEVEL_DETERMINATE", "DETERMINISTIC_LEVEL_UNORDERED", @@ -1269,7 +1285,7 @@ class RddOperationNode(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RddPartitionInfo(typing_extensions.TypedDict, total=False): +class RddPartitionInfo(typing.TypedDict, total=False): blockName: str diskUsed: str executors: _list[str] @@ -1277,7 +1293,7 @@ class RddPartitionInfo(typing_extensions.TypedDict, total=False): storageLevel: str @typing.type_check_only -class RddStorageInfo(typing_extensions.TypedDict, total=False): +class RddStorageInfo(typing.TypedDict, total=False): dataDistribution: _list[RddDataDistribution] diskUsed: str memoryUsed: str @@ -1289,11 +1305,11 @@ class RddStorageInfo(typing_extensions.TypedDict, total=False): storageLevel: str @typing.type_check_only -class RegexValidation(typing_extensions.TypedDict, total=False): +class RegexValidation(typing.TypedDict, total=False): regexes: _list[str] @typing.type_check_only -class RepairClusterRequest(typing_extensions.TypedDict, total=False): +class RepairClusterRequest(typing.TypedDict, total=False): cluster: ClusterToRepair clusterUuid: str dataprocSuperUser: bool @@ -1303,43 +1319,43 @@ class RepairClusterRequest(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class RepairNodeGroupRequest(typing_extensions.TypedDict, total=False): +class RepairNodeGroupRequest(typing.TypedDict, total=False): instanceNames: _list[str] - repairAction: typing_extensions.Literal["REPAIR_ACTION_UNSPECIFIED", "REPLACE"] + repairAction: typing.Literal["REPAIR_ACTION_UNSPECIFIED", "REPLACE"] requestId: str @typing.type_check_only -class RepositoryConfig(typing_extensions.TypedDict, total=False): +class RepositoryConfig(typing.TypedDict, total=False): pypiRepositoryConfig: PyPiRepositoryConfig @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" ] key: str values: _list[str] @typing.type_check_only -class ResizeNodeGroupRequest(typing_extensions.TypedDict, total=False): +class ResizeNodeGroupRequest(typing.TypedDict, total=False): gracefulDecommissionTimeout: str parentOperationId: str requestId: str size: int @typing.type_check_only -class ResourceInformation(typing_extensions.TypedDict, total=False): +class ResourceInformation(typing.TypedDict, total=False): addresses: _list[str] name: str @typing.type_check_only -class ResourceProfileInfo(typing_extensions.TypedDict, total=False): +class ResourceProfileInfo(typing.TypedDict, total=False): executorResources: dict[str, typing.Any] resourceProfileId: int taskResources: dict[str, typing.Any] @typing.type_check_only -class RuntimeConfig(typing_extensions.TypedDict, total=False): +class RuntimeConfig(typing.TypedDict, total=False): autotuningConfig: AutotuningConfig cohort: str containerImage: str @@ -1348,7 +1364,7 @@ class RuntimeConfig(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class RuntimeInfo(typing_extensions.TypedDict, total=False): +class RuntimeInfo(typing.TypedDict, total=False): approximateUsage: UsageMetrics cohortInfo: CohortInfo currentUsage: UsageSnapshot @@ -1359,113 +1375,107 @@ class RuntimeInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class SearchSessionSparkApplicationExecutorStageSummaryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sparkApplicationStageExecutors: _list[ExecutorStageSummary] @typing.type_check_only -class SearchSessionSparkApplicationExecutorsResponse( - typing_extensions.TypedDict, total=False -): +class SearchSessionSparkApplicationExecutorsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationExecutors: _list[ExecutorSummary] @typing.type_check_only -class SearchSessionSparkApplicationJobsResponse( - typing_extensions.TypedDict, total=False -): +class SearchSessionSparkApplicationJobsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationJobs: _list[JobData] @typing.type_check_only -class SearchSessionSparkApplicationSqlQueriesResponse( - typing_extensions.TypedDict, total=False +class SearchSessionSparkApplicationNativeSqlQueriesResponse( + typing.TypedDict, total=False ): + nextPageToken: str + sparkApplicationNativeSqlQueries: _list[NativeSqlExecutionUiData] + +@typing.type_check_only +class SearchSessionSparkApplicationSqlQueriesResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationSqlQueries: _list[SqlExecutionUiData] @typing.type_check_only class SearchSessionSparkApplicationStageAttemptTasksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sparkApplicationStageAttemptTasks: _list[TaskData] @typing.type_check_only -class SearchSessionSparkApplicationStageAttemptsResponse( - typing_extensions.TypedDict, total=False -): +class SearchSessionSparkApplicationStageAttemptsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationStageAttempts: _list[StageData] @typing.type_check_only -class SearchSessionSparkApplicationStagesResponse( - typing_extensions.TypedDict, total=False -): +class SearchSessionSparkApplicationStagesResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationStages: _list[StageData] @typing.type_check_only -class SearchSessionSparkApplicationsResponse(typing_extensions.TypedDict, total=False): +class SearchSessionSparkApplicationsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplications: _list[SparkApplication] @typing.type_check_only -class SearchSparkApplicationExecutorStageSummaryResponse( - typing_extensions.TypedDict, total=False -): +class SearchSparkApplicationExecutorStageSummaryResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationStageExecutors: _list[ExecutorStageSummary] @typing.type_check_only -class SearchSparkApplicationExecutorsResponse(typing_extensions.TypedDict, total=False): +class SearchSparkApplicationExecutorsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationExecutors: _list[ExecutorSummary] @typing.type_check_only -class SearchSparkApplicationJobsResponse(typing_extensions.TypedDict, total=False): +class SearchSparkApplicationJobsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationJobs: _list[JobData] @typing.type_check_only -class SearchSparkApplicationSqlQueriesResponse( - typing_extensions.TypedDict, total=False -): +class SearchSparkApplicationNativeSqlQueriesResponse(typing.TypedDict, total=False): + nextPageToken: str + sparkApplicationNativeSqlQueries: _list[NativeSqlExecutionUiData] + +@typing.type_check_only +class SearchSparkApplicationSqlQueriesResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationSqlQueries: _list[SqlExecutionUiData] @typing.type_check_only -class SearchSparkApplicationStageAttemptTasksResponse( - typing_extensions.TypedDict, total=False -): +class SearchSparkApplicationStageAttemptTasksResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationStageAttemptTasks: _list[TaskData] @typing.type_check_only -class SearchSparkApplicationStageAttemptsResponse( - typing_extensions.TypedDict, total=False -): +class SearchSparkApplicationStageAttemptsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationStageAttempts: _list[StageData] @typing.type_check_only -class SearchSparkApplicationStagesResponse(typing_extensions.TypedDict, total=False): +class SearchSparkApplicationStagesResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplicationStages: _list[StageData] @typing.type_check_only -class SearchSparkApplicationsResponse(typing_extensions.TypedDict, total=False): +class SearchSparkApplicationsResponse(typing.TypedDict, total=False): nextPageToken: str sparkApplications: _list[SparkApplication] @typing.type_check_only -class SecurityConfig(typing_extensions.TypedDict, total=False): +class SecurityConfig(typing.TypedDict, total=False): identityConfig: IdentityConfig kerberosConfig: KerberosConfig @typing.type_check_only -class Session(typing_extensions.TypedDict, total=False): +class Session(typing.TypedDict, total=False): createTime: str creator: str environmentConfig: EnvironmentConfig @@ -1476,7 +1486,7 @@ class Session(typing_extensions.TypedDict, total=False): runtimeInfo: RuntimeInfo sessionTemplate: str sparkConnectSession: SparkConnectConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "TERMINATING", "TERMINATED", "FAILED" ] stateHistory: _list[SessionStateHistory] @@ -1486,12 +1496,12 @@ class Session(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class SessionOperationMetadata(typing_extensions.TypedDict, total=False): +class SessionOperationMetadata(typing.TypedDict, total=False): createTime: str description: str doneTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "SESSION_OPERATION_TYPE_UNSPECIFIED", "CREATE", "TERMINATE", "DELETE" ] session: str @@ -1499,15 +1509,15 @@ class SessionOperationMetadata(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class SessionStateHistory(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class SessionStateHistory(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "TERMINATING", "TERMINATED", "FAILED" ] stateMessage: str stateStartTime: str @typing.type_check_only -class SessionTemplate(typing_extensions.TypedDict, total=False): +class SessionTemplate(typing.TypedDict, total=False): createTime: str creator: str description: str @@ -1521,17 +1531,17 @@ class SessionTemplate(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class ShufflePushReadMetrics(typing_extensions.TypedDict, total=False): +class ShufflePushReadMetrics(typing.TypedDict, total=False): corruptMergedBlockChunks: str localMergedBlocksFetched: str localMergedBytesRead: str @@ -1543,7 +1553,7 @@ class ShufflePushReadMetrics(typing_extensions.TypedDict, total=False): remoteMergedReqsDuration: str @typing.type_check_only -class ShufflePushReadQuantileMetrics(typing_extensions.TypedDict, total=False): +class ShufflePushReadQuantileMetrics(typing.TypedDict, total=False): corruptMergedBlockChunks: Quantiles localMergedBlocksFetched: Quantiles localMergedBytesRead: Quantiles @@ -1555,7 +1565,7 @@ class ShufflePushReadQuantileMetrics(typing_extensions.TypedDict, total=False): remoteMergedReqsDuration: Quantiles @typing.type_check_only -class ShuffleReadMetrics(typing_extensions.TypedDict, total=False): +class ShuffleReadMetrics(typing.TypedDict, total=False): fetchWaitTimeMillis: str localBlocksFetched: str localBytesRead: str @@ -1567,7 +1577,7 @@ class ShuffleReadMetrics(typing_extensions.TypedDict, total=False): shufflePushReadMetrics: ShufflePushReadMetrics @typing.type_check_only -class ShuffleReadQuantileMetrics(typing_extensions.TypedDict, total=False): +class ShuffleReadQuantileMetrics(typing.TypedDict, total=False): fetchWaitTimeMillis: Quantiles localBlocksFetched: Quantiles readBytes: Quantiles @@ -1580,28 +1590,28 @@ class ShuffleReadQuantileMetrics(typing_extensions.TypedDict, total=False): totalBlocksFetched: Quantiles @typing.type_check_only -class ShuffleWriteMetrics(typing_extensions.TypedDict, total=False): +class ShuffleWriteMetrics(typing.TypedDict, total=False): bytesWritten: str recordsWritten: str writeTimeNanos: str @typing.type_check_only -class ShuffleWriteQuantileMetrics(typing_extensions.TypedDict, total=False): +class ShuffleWriteQuantileMetrics(typing.TypedDict, total=False): writeBytes: Quantiles writeRecords: Quantiles writeTimeNanos: Quantiles @typing.type_check_only -class SinkProgress(typing_extensions.TypedDict, total=False): +class SinkProgress(typing.TypedDict, total=False): description: str metrics: dict[str, typing.Any] numOutputRows: str @typing.type_check_only -class SoftwareConfig(typing_extensions.TypedDict, total=False): +class SoftwareConfig(typing.TypedDict, total=False): imageVersion: str optionalComponents: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPONENT_UNSPECIFIED", "ANACONDA", "DELTA", @@ -1626,7 +1636,7 @@ class SoftwareConfig(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class SourceProgress(typing_extensions.TypedDict, total=False): +class SourceProgress(typing.TypedDict, total=False): description: str endOffset: str inputRowsPerSecond: float @@ -1637,12 +1647,12 @@ class SourceProgress(typing_extensions.TypedDict, total=False): startOffset: str @typing.type_check_only -class SparkApplication(typing_extensions.TypedDict, total=False): +class SparkApplication(typing.TypedDict, total=False): application: ApplicationInfo name: str @typing.type_check_only -class SparkBatch(typing_extensions.TypedDict, total=False): +class SparkBatch(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -1651,10 +1661,10 @@ class SparkBatch(typing_extensions.TypedDict, total=False): mainJarFileUri: str @typing.type_check_only -class SparkConnectConfig(typing_extensions.TypedDict, total=False): ... +class SparkConnectConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class SparkConnectExecutionInfo(typing_extensions.TypedDict, total=False): +class SparkConnectExecutionInfo(typing.TypedDict, total=False): closeTimestamp: str detail: str finishTimestamp: str @@ -1665,7 +1675,7 @@ class SparkConnectExecutionInfo(typing_extensions.TypedDict, total=False): sparkSessionTags: _list[str] sqlExecIds: _list[str] startTimestamp: str - state: typing_extensions.Literal[ + state: typing.Literal[ "EXECUTION_STATE_UNKNOWN", "EXECUTION_STATE_STARTED", "EXECUTION_STATE_COMPILED", @@ -1679,7 +1689,7 @@ class SparkConnectExecutionInfo(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class SparkConnectSessionInfo(typing_extensions.TypedDict, total=False): +class SparkConnectSessionInfo(typing.TypedDict, total=False): finishTimestamp: str sessionId: str startTimestamp: str @@ -1687,11 +1697,11 @@ class SparkConnectSessionInfo(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class SparkHistoryServerConfig(typing_extensions.TypedDict, total=False): +class SparkHistoryServerConfig(typing.TypedDict, total=False): dataprocCluster: str @typing.type_check_only -class SparkJob(typing_extensions.TypedDict, total=False): +class SparkJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -1702,13 +1712,13 @@ class SparkJob(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class SparkPlanGraph(typing_extensions.TypedDict, total=False): +class SparkPlanGraph(typing.TypedDict, total=False): edges: _list[SparkPlanGraphEdge] executionId: str nodes: _list[SparkPlanGraphNodeWrapper] @typing.type_check_only -class SparkPlanGraphCluster(typing_extensions.TypedDict, total=False): +class SparkPlanGraphCluster(typing.TypedDict, total=False): desc: str metadata: dict[str, typing.Any] metrics: _list[SqlPlanMetric] @@ -1717,12 +1727,12 @@ class SparkPlanGraphCluster(typing_extensions.TypedDict, total=False): sparkPlanGraphClusterId: str @typing.type_check_only -class SparkPlanGraphEdge(typing_extensions.TypedDict, total=False): +class SparkPlanGraphEdge(typing.TypedDict, total=False): fromId: str toId: str @typing.type_check_only -class SparkPlanGraphNode(typing_extensions.TypedDict, total=False): +class SparkPlanGraphNode(typing.TypedDict, total=False): desc: str metadata: dict[str, typing.Any] metrics: _list[SqlPlanMetric] @@ -1730,19 +1740,19 @@ class SparkPlanGraphNode(typing_extensions.TypedDict, total=False): sparkPlanGraphNodeId: str @typing.type_check_only -class SparkPlanGraphNodeWrapper(typing_extensions.TypedDict, total=False): +class SparkPlanGraphNodeWrapper(typing.TypedDict, total=False): cluster: SparkPlanGraphCluster node: SparkPlanGraphNode @typing.type_check_only -class SparkRBatch(typing_extensions.TypedDict, total=False): +class SparkRBatch(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] mainRFileUri: str @typing.type_check_only -class SparkRJob(typing_extensions.TypedDict, total=False): +class SparkRJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -1751,19 +1761,19 @@ class SparkRJob(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class SparkRuntimeInfo(typing_extensions.TypedDict, total=False): +class SparkRuntimeInfo(typing.TypedDict, total=False): javaHome: str javaVersion: str scalaVersion: str @typing.type_check_only -class SparkSqlBatch(typing_extensions.TypedDict, total=False): +class SparkSqlBatch(typing.TypedDict, total=False): jarFileUris: _list[str] queryFileUri: str queryVariables: dict[str, typing.Any] @typing.type_check_only -class SparkSqlJob(typing_extensions.TypedDict, total=False): +class SparkSqlJob(typing.TypedDict, total=False): jarFileUris: _list[str] loggingConfig: LoggingConfig properties: dict[str, typing.Any] @@ -1772,7 +1782,7 @@ class SparkSqlJob(typing_extensions.TypedDict, total=False): scriptVariables: dict[str, typing.Any] @typing.type_check_only -class SparkStandaloneAutoscalingConfig(typing_extensions.TypedDict, total=False): +class SparkStandaloneAutoscalingConfig(typing.TypedDict, total=False): gracefulDecommissionTimeout: str removeOnlyIdleWorkers: bool scaleDownFactor: float @@ -1781,7 +1791,7 @@ class SparkStandaloneAutoscalingConfig(typing_extensions.TypedDict, total=False) scaleUpMinWorkerFraction: float @typing.type_check_only -class SparkWrapperObject(typing_extensions.TypedDict, total=False): +class SparkWrapperObject(typing.TypedDict, total=False): appSummary: AppSummary applicationEnvironmentInfo: ApplicationEnvironmentInfo applicationId: str @@ -1809,7 +1819,7 @@ class SparkWrapperObject(typing_extensions.TypedDict, total=False): taskData: TaskData @typing.type_check_only -class SpeculationStageSummary(typing_extensions.TypedDict, total=False): +class SpeculationStageSummary(typing.TypedDict, total=False): numActiveTasks: int numCompletedTasks: int numFailedTasks: int @@ -1819,7 +1829,7 @@ class SpeculationStageSummary(typing_extensions.TypedDict, total=False): stageId: str @typing.type_check_only -class SqlExecutionUiData(typing_extensions.TypedDict, total=False): +class SqlExecutionUiData(typing.TypedDict, total=False): completionTime: str description: str details: str @@ -1836,13 +1846,13 @@ class SqlExecutionUiData(typing_extensions.TypedDict, total=False): submissionTime: str @typing.type_check_only -class SqlPlanMetric(typing_extensions.TypedDict, total=False): +class SqlPlanMetric(typing.TypedDict, total=False): accumulatorId: str metricType: str name: str @typing.type_check_only -class StageAttemptTasksSummary(typing_extensions.TypedDict, total=False): +class StageAttemptTasksSummary(typing.TypedDict, total=False): applicationId: str numFailedTasks: int numKilledTasks: int @@ -1854,7 +1864,7 @@ class StageAttemptTasksSummary(typing_extensions.TypedDict, total=False): stageId: str @typing.type_check_only -class StageData(typing_extensions.TypedDict, total=False): +class StageData(typing.TypedDict, total=False): accumulatorUpdates: _list[AccumulableInfo] completionTime: str description: str @@ -1884,7 +1894,7 @@ class StageData(typing_extensions.TypedDict, total=False): stageAttemptId: int stageId: str stageMetrics: StageMetrics - status: typing_extensions.Literal[ + status: typing.Literal[ "STAGE_STATUS_UNSPECIFIED", "STAGE_STATUS_ACTIVE", "STAGE_STATUS_COMPLETE", @@ -1897,12 +1907,12 @@ class StageData(typing_extensions.TypedDict, total=False): tasks: dict[str, typing.Any] @typing.type_check_only -class StageInputMetrics(typing_extensions.TypedDict, total=False): +class StageInputMetrics(typing.TypedDict, total=False): bytesRead: str recordsRead: str @typing.type_check_only -class StageMetrics(typing_extensions.TypedDict, total=False): +class StageMetrics(typing.TypedDict, total=False): diskBytesSpilled: str executorCpuTimeNanos: str executorDeserializeCpuTimeNanos: str @@ -1919,12 +1929,12 @@ class StageMetrics(typing_extensions.TypedDict, total=False): stageShuffleWriteMetrics: StageShuffleWriteMetrics @typing.type_check_only -class StageOutputMetrics(typing_extensions.TypedDict, total=False): +class StageOutputMetrics(typing.TypedDict, total=False): bytesWritten: str recordsWritten: str @typing.type_check_only -class StageShufflePushReadMetrics(typing_extensions.TypedDict, total=False): +class StageShufflePushReadMetrics(typing.TypedDict, total=False): corruptMergedBlockChunks: str localMergedBlocksFetched: str localMergedBytesRead: str @@ -1936,7 +1946,7 @@ class StageShufflePushReadMetrics(typing_extensions.TypedDict, total=False): remoteMergedReqsDuration: str @typing.type_check_only -class StageShuffleReadMetrics(typing_extensions.TypedDict, total=False): +class StageShuffleReadMetrics(typing.TypedDict, total=False): bytesRead: str fetchWaitTimeMillis: str localBlocksFetched: str @@ -1949,13 +1959,13 @@ class StageShuffleReadMetrics(typing_extensions.TypedDict, total=False): stageShufflePushReadMetrics: StageShufflePushReadMetrics @typing.type_check_only -class StageShuffleWriteMetrics(typing_extensions.TypedDict, total=False): +class StageShuffleWriteMetrics(typing.TypedDict, total=False): bytesWritten: str recordsWritten: str writeTimeNanos: str @typing.type_check_only -class StagesSummary(typing_extensions.TypedDict, total=False): +class StagesSummary(typing.TypedDict, total=False): applicationId: str numActiveStages: int numCompletedStages: int @@ -1964,17 +1974,17 @@ class StagesSummary(typing_extensions.TypedDict, total=False): numSkippedStages: int @typing.type_check_only -class StartClusterRequest(typing_extensions.TypedDict, total=False): +class StartClusterRequest(typing.TypedDict, total=False): clusterUuid: str requestId: str @typing.type_check_only -class StartupConfig(typing_extensions.TypedDict, total=False): +class StartupConfig(typing.TypedDict, total=False): requiredRegistrationFraction: float @typing.type_check_only -class StateHistory(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class StateHistory(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -1987,7 +1997,7 @@ class StateHistory(typing_extensions.TypedDict, total=False): stateStartTime: str @typing.type_check_only -class StateOperatorProgress(typing_extensions.TypedDict, total=False): +class StateOperatorProgress(typing.TypedDict, total=False): allRemovalsTimeMs: str allUpdatesTimeMs: str commitTimeMs: str @@ -2002,18 +2012,18 @@ class StateOperatorProgress(typing_extensions.TypedDict, total=False): operatorName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopClusterRequest(typing_extensions.TypedDict, total=False): +class StopClusterRequest(typing.TypedDict, total=False): clusterUuid: str requestId: str @typing.type_check_only -class StreamBlockData(typing_extensions.TypedDict, total=False): +class StreamBlockData(typing.TypedDict, total=False): deserialized: bool diskSize: str executorId: str @@ -2025,7 +2035,7 @@ class StreamBlockData(typing_extensions.TypedDict, total=False): useMemory: bool @typing.type_check_only -class StreamingQueryData(typing_extensions.TypedDict, total=False): +class StreamingQueryData(typing.TypedDict, total=False): endTimestamp: str exception: str isActive: bool @@ -2035,7 +2045,7 @@ class StreamingQueryData(typing_extensions.TypedDict, total=False): streamingQueryId: str @typing.type_check_only -class StreamingQueryProgress(typing_extensions.TypedDict, total=False): +class StreamingQueryProgress(typing.TypedDict, total=False): batchDuration: str batchId: str durationMillis: dict[str, typing.Any] @@ -2050,62 +2060,52 @@ class StreamingQueryProgress(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class SubmitJobRequest(typing_extensions.TypedDict, total=False): +class SubmitJobRequest(typing.TypedDict, total=False): job: Job requestId: str @typing.type_check_only -class SummarizeSessionSparkApplicationExecutorsResponse( - typing_extensions.TypedDict, total=False -): +class SummarizeSessionSparkApplicationExecutorsResponse(typing.TypedDict, total=False): activeExecutorSummary: ConsolidatedExecutorSummary applicationId: str deadExecutorSummary: ConsolidatedExecutorSummary totalExecutorSummary: ConsolidatedExecutorSummary @typing.type_check_only -class SummarizeSessionSparkApplicationJobsResponse( - typing_extensions.TypedDict, total=False -): +class SummarizeSessionSparkApplicationJobsResponse(typing.TypedDict, total=False): jobsSummary: JobsSummary @typing.type_check_only class SummarizeSessionSparkApplicationStageAttemptTasksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): stageAttemptTasksSummary: StageAttemptTasksSummary @typing.type_check_only -class SummarizeSessionSparkApplicationStagesResponse( - typing_extensions.TypedDict, total=False -): +class SummarizeSessionSparkApplicationStagesResponse(typing.TypedDict, total=False): stagesSummary: StagesSummary @typing.type_check_only -class SummarizeSparkApplicationExecutorsResponse( - typing_extensions.TypedDict, total=False -): +class SummarizeSparkApplicationExecutorsResponse(typing.TypedDict, total=False): activeExecutorSummary: ConsolidatedExecutorSummary applicationId: str deadExecutorSummary: ConsolidatedExecutorSummary totalExecutorSummary: ConsolidatedExecutorSummary @typing.type_check_only -class SummarizeSparkApplicationJobsResponse(typing_extensions.TypedDict, total=False): +class SummarizeSparkApplicationJobsResponse(typing.TypedDict, total=False): jobsSummary: JobsSummary @typing.type_check_only -class SummarizeSparkApplicationStageAttemptTasksResponse( - typing_extensions.TypedDict, total=False -): +class SummarizeSparkApplicationStageAttemptTasksResponse(typing.TypedDict, total=False): stageAttemptTasksSummary: StageAttemptTasksSummary @typing.type_check_only -class SummarizeSparkApplicationStagesResponse(typing_extensions.TypedDict, total=False): +class SummarizeSparkApplicationStagesResponse(typing.TypedDict, total=False): stagesSummary: StagesSummary @typing.type_check_only -class TaskData(typing_extensions.TypedDict, total=False): +class TaskData(typing.TypedDict, total=False): accumulatorUpdates: _list[AccumulableInfo] attempt: int durationMillis: str @@ -2129,7 +2129,7 @@ class TaskData(typing_extensions.TypedDict, total=False): taskMetrics: TaskMetrics @typing.type_check_only -class TaskMetrics(typing_extensions.TypedDict, total=False): +class TaskMetrics(typing.TypedDict, total=False): diskBytesSpilled: str executorCpuTimeNanos: str executorDeserializeCpuTimeNanos: str @@ -2146,7 +2146,7 @@ class TaskMetrics(typing_extensions.TypedDict, total=False): shuffleWriteMetrics: ShuffleWriteMetrics @typing.type_check_only -class TaskQuantileMetrics(typing_extensions.TypedDict, total=False): +class TaskQuantileMetrics(typing.TypedDict, total=False): diskBytesSpilled: Quantiles durationMillis: Quantiles executorCpuTimeNanos: Quantiles @@ -2166,31 +2166,31 @@ class TaskQuantileMetrics(typing_extensions.TypedDict, total=False): shuffleWriteMetrics: ShuffleWriteQuantileMetrics @typing.type_check_only -class TaskResourceRequest(typing_extensions.TypedDict, total=False): +class TaskResourceRequest(typing.TypedDict, total=False): amount: float resourceName: str @typing.type_check_only -class TemplateParameter(typing_extensions.TypedDict, total=False): +class TemplateParameter(typing.TypedDict, total=False): description: str fields: _list[str] name: str validation: ParameterValidation @typing.type_check_only -class TerminateSessionRequest(typing_extensions.TypedDict, total=False): +class TerminateSessionRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TrinoJob(typing_extensions.TypedDict, total=False): +class TrinoJob(typing.TypedDict, total=False): clientTags: _list[str] continueOnFailure: bool loggingConfig: LoggingConfig @@ -2200,7 +2200,7 @@ class TrinoJob(typing_extensions.TypedDict, total=False): queryList: QueryList @typing.type_check_only -class UsageMetrics(typing_extensions.TypedDict, total=False): +class UsageMetrics(typing.TypedDict, total=False): acceleratorType: str milliAcceleratorSeconds: str milliAcceleratorSecondsA10040: str @@ -2211,7 +2211,7 @@ class UsageMetrics(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UsageSnapshot(typing_extensions.TypedDict, total=False): +class UsageSnapshot(typing.TypedDict, total=False): acceleratorType: str milliAccelerator: str milliAcceleratorA10040: str @@ -2224,27 +2224,27 @@ class UsageSnapshot(typing_extensions.TypedDict, total=False): snapshotTime: str @typing.type_check_only -class ValueInfo(typing_extensions.TypedDict, total=False): +class ValueInfo(typing.TypedDict, total=False): annotation: str overriddenValue: str value: str @typing.type_check_only -class ValueValidation(typing_extensions.TypedDict, total=False): +class ValueValidation(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class VirtualClusterConfig(typing_extensions.TypedDict, total=False): +class VirtualClusterConfig(typing.TypedDict, total=False): auxiliaryServicesConfig: AuxiliaryServicesConfig kubernetesClusterConfig: KubernetesClusterConfig stagingBucket: str @typing.type_check_only -class WorkflowGraph(typing_extensions.TypedDict, total=False): +class WorkflowGraph(typing.TypedDict, total=False): nodes: _list[WorkflowNode] @typing.type_check_only -class WorkflowMetadata(typing_extensions.TypedDict, total=False): +class WorkflowMetadata(typing.TypedDict, total=False): clusterName: str clusterUuid: str createCluster: ClusterOperation @@ -2256,16 +2256,16 @@ class WorkflowMetadata(typing_extensions.TypedDict, total=False): graph: WorkflowGraph parameters: dict[str, typing.Any] startTime: str - state: typing_extensions.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] template: str version: int @typing.type_check_only -class WorkflowNode(typing_extensions.TypedDict, total=False): +class WorkflowNode(typing.TypedDict, total=False): error: str jobId: str prerequisiteStepIds: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "NODE_STATE_UNSPECIFIED", "BLOCKED", "RUNNABLE", @@ -2276,7 +2276,7 @@ class WorkflowNode(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class WorkflowTemplate(typing_extensions.TypedDict, total=False): +class WorkflowTemplate(typing.TypedDict, total=False): createTime: str dagTimeout: str encryptionConfig: GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig @@ -2290,38 +2290,32 @@ class WorkflowTemplate(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class WorkflowTemplatePlacement(typing_extensions.TypedDict, total=False): +class WorkflowTemplatePlacement(typing.TypedDict, total=False): clusterSelector: ClusterSelector managedCluster: ManagedCluster @typing.type_check_only -class WriteSessionSparkApplicationContextRequest( - typing_extensions.TypedDict, total=False -): +class WriteSessionSparkApplicationContextRequest(typing.TypedDict, total=False): parent: str sparkWrapperObjects: _list[SparkWrapperObject] @typing.type_check_only -class WriteSessionSparkApplicationContextResponse( - typing_extensions.TypedDict, total=False -): ... +class WriteSessionSparkApplicationContextResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class WriteSparkApplicationContextRequest(typing_extensions.TypedDict, total=False): +class WriteSparkApplicationContextRequest(typing.TypedDict, total=False): parent: str sparkWrapperObjects: _list[SparkWrapperObject] @typing.type_check_only -class WriteSparkApplicationContextResponse( - typing_extensions.TypedDict, total=False -): ... +class WriteSparkApplicationContextResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class YarnApplication(typing_extensions.TypedDict, total=False): +class YarnApplication(typing.TypedDict, total=False): memoryMbSeconds: str name: str progress: float - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "NEW_SAVING", diff --git a/googleapiclient-stubs/_apis/dataproc/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/dataproc/v1beta2/resources.pyi index 34314e585..9fe91e513 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -340,9 +339,7 @@ class DataprocResource(googleapiclient.discovery.Resource): region: str, clusterName: str | None = ..., filter: str | None = ..., - jobStateMatcher: typing_extensions.Literal[ - "ALL", "ACTIVE", "NON_ACTIVE" - ] + jobStateMatcher: typing.Literal["ALL", "ACTIVE", "NON_ACTIVE"] | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., diff --git a/googleapiclient-stubs/_apis/dataproc/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/dataproc/v1beta2/schemas.pyi index 45c458c89..4ff720875 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1beta2/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): acceleratorCount: int acceleratorTypeUri: str @typing.type_check_only -class AutoscalingConfig(typing_extensions.TypedDict, total=False): +class AutoscalingConfig(typing.TypedDict, total=False): policyUri: str @typing.type_check_only -class AutoscalingPolicy(typing_extensions.TypedDict, total=False): +class AutoscalingPolicy(typing.TypedDict, total=False): basicAlgorithm: BasicAutoscalingAlgorithm id: str name: str @@ -22,12 +20,12 @@ class AutoscalingPolicy(typing_extensions.TypedDict, total=False): workerConfig: InstanceGroupAutoscalingPolicyConfig @typing.type_check_only -class BasicAutoscalingAlgorithm(typing_extensions.TypedDict, total=False): +class BasicAutoscalingAlgorithm(typing.TypedDict, total=False): cooldownPeriod: str yarnConfig: BasicYarnAutoscalingConfig @typing.type_check_only -class BasicYarnAutoscalingConfig(typing_extensions.TypedDict, total=False): +class BasicYarnAutoscalingConfig(typing.TypedDict, total=False): gracefulDecommissionTimeout: str scaleDownFactor: float scaleDownMinWorkerFraction: float @@ -35,16 +33,16 @@ class BasicYarnAutoscalingConfig(typing_extensions.TypedDict, total=False): scaleUpMinWorkerFraction: float @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): clusterName: str clusterUuid: str config: ClusterConfig @@ -55,7 +53,7 @@ class Cluster(typing_extensions.TypedDict, total=False): statusHistory: _list[ClusterStatus] @typing.type_check_only -class ClusterConfig(typing_extensions.TypedDict, total=False): +class ClusterConfig(typing.TypedDict, total=False): autoscalingConfig: AutoscalingConfig configBucket: str encryptionConfig: EncryptionConfig @@ -73,18 +71,18 @@ class ClusterConfig(typing_extensions.TypedDict, total=False): workerConfig: InstanceGroupConfig @typing.type_check_only -class ClusterMetrics(typing_extensions.TypedDict, total=False): +class ClusterMetrics(typing.TypedDict, total=False): hdfsMetrics: dict[str, typing.Any] yarnMetrics: dict[str, typing.Any] @typing.type_check_only -class ClusterOperation(typing_extensions.TypedDict, total=False): +class ClusterOperation(typing.TypedDict, total=False): done: bool error: str operationId: str @typing.type_check_only -class ClusterOperationMetadata(typing_extensions.TypedDict, total=False): +class ClusterOperationMetadata(typing.TypedDict, total=False): clusterName: str clusterUuid: str description: str @@ -95,21 +93,21 @@ class ClusterOperationMetadata(typing_extensions.TypedDict, total=False): warnings: _list[str] @typing.type_check_only -class ClusterOperationStatus(typing_extensions.TypedDict, total=False): +class ClusterOperationStatus(typing.TypedDict, total=False): details: str innerState: str - state: typing_extensions.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] stateStartTime: str @typing.type_check_only -class ClusterSelector(typing_extensions.TypedDict, total=False): +class ClusterSelector(typing.TypedDict, total=False): clusterLabels: dict[str, typing.Any] zone: str @typing.type_check_only -class ClusterStatus(typing_extensions.TypedDict, total=False): +class ClusterStatus(typing.TypedDict, total=False): detail: str - state: typing_extensions.Literal[ + state: typing.Literal[ "UNKNOWN", "CREATING", "RUNNING", @@ -122,47 +120,47 @@ class ClusterStatus(typing_extensions.TypedDict, total=False): "STARTING", ] stateStartTime: str - substate: typing_extensions.Literal["UNSPECIFIED", "UNHEALTHY", "STALE_STATUS"] + substate: typing.Literal["UNSPECIFIED", "UNHEALTHY", "STALE_STATUS"] @typing.type_check_only -class DiagnoseClusterRequest(typing_extensions.TypedDict, total=False): ... +class DiagnoseClusterRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DiagnoseClusterResults(typing_extensions.TypedDict, total=False): +class DiagnoseClusterResults(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class DiskConfig(typing_extensions.TypedDict, total=False): +class DiskConfig(typing.TypedDict, total=False): bootDiskSizeGb: int bootDiskType: str numLocalSsds: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): gcePdKmsKeyName: str @typing.type_check_only -class EndpointConfig(typing_extensions.TypedDict, total=False): +class EndpointConfig(typing.TypedDict, total=False): enableHttpPortAccess: bool httpPorts: dict[str, typing.Any] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GceClusterConfig(typing_extensions.TypedDict, total=False): +class GceClusterConfig(typing.TypedDict, total=False): internalIpOnly: bool metadata: dict[str, typing.Any] networkUri: str nodeGroupAffinity: NodeGroupAffinity - privateIpv6GoogleAccess: typing_extensions.Literal[ + privateIpv6GoogleAccess: typing.Literal[ "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", "INHERIT_FROM_SUBNETWORK", "OUTBOUND", @@ -177,19 +175,19 @@ class GceClusterConfig(typing_extensions.TypedDict, total=False): zoneUri: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GkeClusterConfig(typing_extensions.TypedDict, total=False): +class GkeClusterConfig(typing.TypedDict, total=False): namespacedGkeDeploymentTarget: NamespacedGkeDeploymentTarget @typing.type_check_only -class HadoopJob(typing_extensions.TypedDict, total=False): +class HadoopJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -200,7 +198,7 @@ class HadoopJob(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class HiveJob(typing_extensions.TypedDict, total=False): +class HiveJob(typing.TypedDict, total=False): continueOnFailure: bool jarFileUris: _list[str] properties: dict[str, typing.Any] @@ -209,18 +207,18 @@ class HiveJob(typing_extensions.TypedDict, total=False): scriptVariables: dict[str, typing.Any] @typing.type_check_only -class InjectCredentialsRequest(typing_extensions.TypedDict, total=False): +class InjectCredentialsRequest(typing.TypedDict, total=False): clusterUuid: str credentialsCiphertext: str @typing.type_check_only -class InstanceGroupAutoscalingPolicyConfig(typing_extensions.TypedDict, total=False): +class InstanceGroupAutoscalingPolicyConfig(typing.TypedDict, total=False): maxInstances: int minInstances: int weight: int @typing.type_check_only -class InstanceGroupConfig(typing_extensions.TypedDict, total=False): +class InstanceGroupConfig(typing.TypedDict, total=False): accelerators: _list[AcceleratorConfig] diskConfig: DiskConfig imageUri: str @@ -231,25 +229,25 @@ class InstanceGroupConfig(typing_extensions.TypedDict, total=False): managedGroupConfig: ManagedGroupConfig minCpuPlatform: str numInstances: int - preemptibility: typing_extensions.Literal[ + preemptibility: typing.Literal[ "PREEMPTIBILITY_UNSPECIFIED", "NON_PREEMPTIBLE", "PREEMPTIBLE" ] @typing.type_check_only -class InstanceReference(typing_extensions.TypedDict, total=False): +class InstanceReference(typing.TypedDict, total=False): instanceId: str instanceName: str publicKey: str @typing.type_check_only -class InstantiateWorkflowTemplateRequest(typing_extensions.TypedDict, total=False): +class InstantiateWorkflowTemplateRequest(typing.TypedDict, total=False): instanceId: str parameters: dict[str, typing.Any] requestId: str version: int @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): done: bool driverControlFilesUri: str driverOutputResourceUri: str @@ -272,32 +270,32 @@ class Job(typing_extensions.TypedDict, total=False): yarnApplications: _list[YarnApplication] @typing.type_check_only -class JobMetadata(typing_extensions.TypedDict, total=False): +class JobMetadata(typing.TypedDict, total=False): jobId: str operationType: str startTime: str status: JobStatus @typing.type_check_only -class JobPlacement(typing_extensions.TypedDict, total=False): +class JobPlacement(typing.TypedDict, total=False): clusterLabels: dict[str, typing.Any] clusterName: str clusterUuid: str @typing.type_check_only -class JobReference(typing_extensions.TypedDict, total=False): +class JobReference(typing.TypedDict, total=False): jobId: str projectId: str @typing.type_check_only -class JobScheduling(typing_extensions.TypedDict, total=False): +class JobScheduling(typing.TypedDict, total=False): maxFailuresPerHour: int maxFailuresTotal: int @typing.type_check_only -class JobStatus(typing_extensions.TypedDict, total=False): +class JobStatus(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "SETUP_DONE", @@ -310,12 +308,10 @@ class JobStatus(typing_extensions.TypedDict, total=False): "ATTEMPT_FAILURE", ] stateStartTime: str - substate: typing_extensions.Literal[ - "UNSPECIFIED", "SUBMITTED", "QUEUED", "STALE_STATUS" - ] + substate: typing.Literal["UNSPECIFIED", "SUBMITTED", "QUEUED", "STALE_STATUS"] @typing.type_check_only -class KerberosConfig(typing_extensions.TypedDict, total=False): +class KerberosConfig(typing.TypedDict, total=False): crossRealmTrustAdminServer: str crossRealmTrustKdc: str crossRealmTrustRealm: str @@ -333,72 +329,72 @@ class KerberosConfig(typing_extensions.TypedDict, total=False): truststoreUri: str @typing.type_check_only -class LifecycleConfig(typing_extensions.TypedDict, total=False): +class LifecycleConfig(typing.TypedDict, total=False): autoDeleteTime: str autoDeleteTtl: str idleDeleteTtl: str idleStartTime: str @typing.type_check_only -class ListAutoscalingPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAutoscalingPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[AutoscalingPolicy] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListWorkflowTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowTemplatesResponse(typing.TypedDict, total=False): nextPageToken: str templates: _list[WorkflowTemplate] @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): driverLogLevels: dict[str, typing.Any] @typing.type_check_only -class ManagedCluster(typing_extensions.TypedDict, total=False): +class ManagedCluster(typing.TypedDict, total=False): clusterName: str config: ClusterConfig labels: dict[str, typing.Any] @typing.type_check_only -class ManagedGroupConfig(typing_extensions.TypedDict, total=False): +class ManagedGroupConfig(typing.TypedDict, total=False): instanceGroupManagerName: str instanceTemplateName: str @typing.type_check_only -class MetastoreConfig(typing_extensions.TypedDict, total=False): +class MetastoreConfig(typing.TypedDict, total=False): dataprocMetastoreService: str @typing.type_check_only -class NamespacedGkeDeploymentTarget(typing_extensions.TypedDict, total=False): +class NamespacedGkeDeploymentTarget(typing.TypedDict, total=False): clusterNamespace: str targetGkeCluster: str @typing.type_check_only -class NodeGroupAffinity(typing_extensions.TypedDict, total=False): +class NodeGroupAffinity(typing.TypedDict, total=False): nodeGroupUri: str @typing.type_check_only -class NodeInitializationAction(typing_extensions.TypedDict, total=False): +class NodeInitializationAction(typing.TypedDict, total=False): executableFile: str executionTimeout: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -406,7 +402,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrderedJob(typing_extensions.TypedDict, total=False): +class OrderedJob(typing.TypedDict, total=False): hadoopJob: HadoopJob hiveJob: HiveJob labels: dict[str, typing.Any] @@ -421,12 +417,12 @@ class OrderedJob(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class ParameterValidation(typing_extensions.TypedDict, total=False): +class ParameterValidation(typing.TypedDict, total=False): regex: RegexValidation values: ValueValidation @typing.type_check_only -class PigJob(typing_extensions.TypedDict, total=False): +class PigJob(typing.TypedDict, total=False): continueOnFailure: bool jarFileUris: _list[str] loggingConfig: LoggingConfig @@ -436,13 +432,13 @@ class PigJob(typing_extensions.TypedDict, total=False): scriptVariables: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrestoJob(typing_extensions.TypedDict, total=False): +class PrestoJob(typing.TypedDict, total=False): clientTags: _list[str] continueOnFailure: bool loggingConfig: LoggingConfig @@ -452,7 +448,7 @@ class PrestoJob(typing_extensions.TypedDict, total=False): queryList: QueryList @typing.type_check_only -class PySparkJob(typing_extensions.TypedDict, total=False): +class PySparkJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -463,40 +459,40 @@ class PySparkJob(typing_extensions.TypedDict, total=False): pythonFileUris: _list[str] @typing.type_check_only -class QueryList(typing_extensions.TypedDict, total=False): +class QueryList(typing.TypedDict, total=False): queries: _list[str] @typing.type_check_only -class RegexValidation(typing_extensions.TypedDict, total=False): +class RegexValidation(typing.TypedDict, total=False): regexes: _list[str] @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" ] key: str values: _list[str] @typing.type_check_only -class SecurityConfig(typing_extensions.TypedDict, total=False): +class SecurityConfig(typing.TypedDict, total=False): kerberosConfig: KerberosConfig @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class SoftwareConfig(typing_extensions.TypedDict, total=False): +class SoftwareConfig(typing.TypedDict, total=False): imageVersion: str optionalComponents: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPONENT_UNSPECIFIED", "ANACONDA", "DOCKER", @@ -516,7 +512,7 @@ class SoftwareConfig(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class SparkJob(typing_extensions.TypedDict, total=False): +class SparkJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -527,7 +523,7 @@ class SparkJob(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class SparkRJob(typing_extensions.TypedDict, total=False): +class SparkRJob(typing.TypedDict, total=False): archiveUris: _list[str] args: _list[str] fileUris: _list[str] @@ -536,7 +532,7 @@ class SparkRJob(typing_extensions.TypedDict, total=False): properties: dict[str, typing.Any] @typing.type_check_only -class SparkSqlJob(typing_extensions.TypedDict, total=False): +class SparkSqlJob(typing.TypedDict, total=False): jarFileUris: _list[str] loggingConfig: LoggingConfig properties: dict[str, typing.Any] @@ -545,51 +541,51 @@ class SparkSqlJob(typing_extensions.TypedDict, total=False): scriptVariables: dict[str, typing.Any] @typing.type_check_only -class StartClusterRequest(typing_extensions.TypedDict, total=False): +class StartClusterRequest(typing.TypedDict, total=False): clusterUuid: str requestId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopClusterRequest(typing_extensions.TypedDict, total=False): +class StopClusterRequest(typing.TypedDict, total=False): clusterUuid: str requestId: str @typing.type_check_only -class SubmitJobRequest(typing_extensions.TypedDict, total=False): +class SubmitJobRequest(typing.TypedDict, total=False): job: Job requestId: str @typing.type_check_only -class TemplateParameter(typing_extensions.TypedDict, total=False): +class TemplateParameter(typing.TypedDict, total=False): description: str fields: _list[str] name: str validation: ParameterValidation @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class ValueValidation(typing_extensions.TypedDict, total=False): +class ValueValidation(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class WorkflowGraph(typing_extensions.TypedDict, total=False): +class WorkflowGraph(typing.TypedDict, total=False): nodes: _list[WorkflowNode] @typing.type_check_only -class WorkflowMetadata(typing_extensions.TypedDict, total=False): +class WorkflowMetadata(typing.TypedDict, total=False): clusterName: str clusterUuid: str createCluster: ClusterOperation @@ -601,16 +597,16 @@ class WorkflowMetadata(typing_extensions.TypedDict, total=False): graph: WorkflowGraph parameters: dict[str, typing.Any] startTime: str - state: typing_extensions.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["UNKNOWN", "PENDING", "RUNNING", "DONE"] template: str version: int @typing.type_check_only -class WorkflowNode(typing_extensions.TypedDict, total=False): +class WorkflowNode(typing.TypedDict, total=False): error: str jobId: str prerequisiteStepIds: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "NODE_STATUS_UNSPECIFIED", "BLOCKED", "RUNNABLE", @@ -621,7 +617,7 @@ class WorkflowNode(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class WorkflowTemplate(typing_extensions.TypedDict, total=False): +class WorkflowTemplate(typing.TypedDict, total=False): createTime: str dagTimeout: str id: str @@ -634,15 +630,15 @@ class WorkflowTemplate(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class WorkflowTemplatePlacement(typing_extensions.TypedDict, total=False): +class WorkflowTemplatePlacement(typing.TypedDict, total=False): clusterSelector: ClusterSelector managedCluster: ManagedCluster @typing.type_check_only -class YarnApplication(typing_extensions.TypedDict, total=False): +class YarnApplication(typing.TypedDict, total=False): name: str progress: float - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "NEW_SAVING", diff --git a/googleapiclient-stubs/_apis/datastore/v1/resources.pyi b/googleapiclient-stubs/_apis/datastore/v1/resources.pyi index b37e04892..71f592bab 100644 --- a/googleapiclient-stubs/_apis/datastore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi index 09e115ced..92424134c 100644 --- a/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): alias: str avg: Avg count: Count sum: Sum @typing.type_check_only -class AggregationQuery(typing_extensions.TypedDict, total=False): +class AggregationQuery(typing.TypedDict, total=False): aggregations: _list[Aggregation] nestedQuery: Query @typing.type_check_only -class AggregationResult(typing_extensions.TypedDict, total=False): +class AggregationResult(typing.TypedDict, total=False): aggregateProperties: dict[str, typing.Any] @typing.type_check_only -class AggregationResultBatch(typing_extensions.TypedDict, total=False): +class AggregationResultBatch(typing.TypedDict, total=False): aggregationResults: _list[AggregationResult] - moreResults: typing_extensions.Literal[ + moreResults: typing.Literal[ "MORE_RESULTS_TYPE_UNSPECIFIED", "NOT_FINISHED", "MORE_RESULTS_AFTER_LIMIT", @@ -33,66 +31,67 @@ class AggregationResultBatch(typing_extensions.TypedDict, total=False): readTime: str @typing.type_check_only -class AllocateIdsRequest(typing_extensions.TypedDict, total=False): +class AllocateIdsRequest(typing.TypedDict, total=False): databaseId: str keys: _list[Key] + requestOptions: RequestOptions @typing.type_check_only -class AllocateIdsResponse(typing_extensions.TypedDict, total=False): +class AllocateIdsResponse(typing.TypedDict, total=False): keys: _list[Key] @typing.type_check_only -class ArrayValue(typing_extensions.TypedDict, total=False): +class ArrayValue(typing.TypedDict, total=False): values: _list[Value] @typing.type_check_only -class Avg(typing_extensions.TypedDict, total=False): +class Avg(typing.TypedDict, total=False): property: PropertyReference @typing.type_check_only -class BeginTransactionRequest(typing_extensions.TypedDict, total=False): +class BeginTransactionRequest(typing.TypedDict, total=False): databaseId: str + requestOptions: RequestOptions transactionOptions: TransactionOptions @typing.type_check_only -class BeginTransactionResponse(typing_extensions.TypedDict, total=False): +class BeginTransactionResponse(typing.TypedDict, total=False): transaction: str @typing.type_check_only -class CommitRequest(typing_extensions.TypedDict, total=False): +class CommitRequest(typing.TypedDict, total=False): databaseId: str - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "TRANSACTIONAL", "NON_TRANSACTIONAL" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "TRANSACTIONAL", "NON_TRANSACTIONAL"] mutations: _list[Mutation] + requestOptions: RequestOptions singleUseTransaction: TransactionOptions transaction: str @typing.type_check_only -class CommitResponse(typing_extensions.TypedDict, total=False): +class CommitResponse(typing.TypedDict, total=False): commitTime: str indexUpdates: int mutationResults: _list[MutationResult] @typing.type_check_only -class CompositeFilter(typing_extensions.TypedDict, total=False): +class CompositeFilter(typing.TypedDict, total=False): filters: _list[Filter] - op: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] + op: typing.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] @typing.type_check_only -class Count(typing_extensions.TypedDict, total=False): +class Count(typing.TypedDict, total=False): upTo: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): key: Key properties: dict[str, typing.Any] @typing.type_check_only -class EntityResult(typing_extensions.TypedDict, total=False): +class EntityResult(typing.TypedDict, total=False): createTime: str cursor: str entity: Entity @@ -100,29 +99,29 @@ class EntityResult(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class ExecutionStats(typing_extensions.TypedDict, total=False): +class ExecutionStats(typing.TypedDict, total=False): debugStats: dict[str, typing.Any] executionDuration: str readOperations: str resultsReturned: str @typing.type_check_only -class ExplainMetrics(typing_extensions.TypedDict, total=False): +class ExplainMetrics(typing.TypedDict, total=False): executionStats: ExecutionStats planSummary: PlanSummary @typing.type_check_only -class ExplainOptions(typing_extensions.TypedDict, total=False): +class ExplainOptions(typing.TypedDict, total=False): analyze: bool @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): compositeFilter: CompositeFilter propertyFilter: PropertyFilter @typing.type_check_only -class FindNearest(typing_extensions.TypedDict, total=False): - distanceMeasure: typing_extensions.Literal[ +class FindNearest(typing.TypedDict, total=False): + distanceMeasure: typing.Literal[ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", "COSINE", "DOT_PRODUCT" ] distanceResultProperty: str @@ -132,10 +131,10 @@ class FindNearest(typing_extensions.TypedDict, total=False): vectorProperty: PropertyReference @typing.type_check_only -class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1CommonMetadata(typing.TypedDict, total=False): endTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "EXPORT_ENTITIES", "IMPORT_ENTITIES", @@ -143,7 +142,7 @@ class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=Fa "DELETE_INDEX", ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -156,12 +155,12 @@ class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - migrationState: typing_extensions.Literal[ + migrationState: typing.Literal[ "MIGRATION_STATE_UNSPECIFIED", "RUNNING", "PAUSED", "COMPLETE" ] - migrationStep: typing_extensions.Literal[ + migrationStep: typing.Literal[ "MIGRATION_STEP_UNSPECIFIED", "PREPARE", "START", @@ -173,14 +172,12 @@ class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata( ] @typing.type_check_only -class GoogleDatastoreAdminV1EntityFilter(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1EntityFilter(typing.TypedDict, total=False): kinds: _list[str] namespaceIds: _list[str] @typing.type_check_only -class GoogleDatastoreAdminV1ExportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ExportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata entityFilter: GoogleDatastoreAdminV1EntityFilter outputUrlPrefix: str @@ -188,23 +185,17 @@ class GoogleDatastoreAdminV1ExportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1ExportEntitiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ExportEntitiesRequest(typing.TypedDict, total=False): entityFilter: GoogleDatastoreAdminV1EntityFilter labels: dict[str, typing.Any] outputUrlPrefix: str @typing.type_check_only -class GoogleDatastoreAdminV1ExportEntitiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ExportEntitiesResponse(typing.TypedDict, total=False): outputUrl: str @typing.type_check_only -class GoogleDatastoreAdminV1ImportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ImportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata entityFilter: GoogleDatastoreAdminV1EntityFilter inputUrl: str @@ -212,55 +203,41 @@ class GoogleDatastoreAdminV1ImportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1ImportEntitiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ImportEntitiesRequest(typing.TypedDict, total=False): entityFilter: GoogleDatastoreAdminV1EntityFilter inputUrl: str labels: dict[str, typing.Any] @typing.type_check_only -class GoogleDatastoreAdminV1Index(typing_extensions.TypedDict, total=False): - ancestor: typing_extensions.Literal[ - "ANCESTOR_MODE_UNSPECIFIED", "NONE", "ALL_ANCESTORS" - ] +class GoogleDatastoreAdminV1Index(typing.TypedDict, total=False): + ancestor: typing.Literal["ANCESTOR_MODE_UNSPECIFIED", "NONE", "ALL_ANCESTORS"] indexId: str kind: str projectId: str properties: _list[GoogleDatastoreAdminV1IndexedProperty] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR"] @typing.type_check_only -class GoogleDatastoreAdminV1IndexOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1IndexOperationMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata indexId: str progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1IndexedProperty(typing_extensions.TypedDict, total=False): - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] +class GoogleDatastoreAdminV1IndexedProperty(typing.TypedDict, total=False): + direction: typing.Literal["DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING"] name: str @typing.type_check_only -class GoogleDatastoreAdminV1ListIndexesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ListIndexesResponse(typing.TypedDict, total=False): indexes: _list[GoogleDatastoreAdminV1Index] nextPageToken: str @typing.type_check_only -class GoogleDatastoreAdminV1MigrationProgressEvent( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1MigrationProgressEvent(typing.TypedDict, total=False): prepareStepDetails: GoogleDatastoreAdminV1PrepareStepDetails redirectWritesStepDetails: GoogleDatastoreAdminV1RedirectWritesStepDetails - step: typing_extensions.Literal[ + step: typing.Literal[ "MIGRATION_STEP_UNSPECIFIED", "PREPARE", "START", @@ -272,18 +249,14 @@ class GoogleDatastoreAdminV1MigrationProgressEvent( ] @typing.type_check_only -class GoogleDatastoreAdminV1MigrationStateEvent( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ +class GoogleDatastoreAdminV1MigrationStateEvent(typing.TypedDict, total=False): + state: typing.Literal[ "MIGRATION_STATE_UNSPECIFIED", "RUNNING", "PAUSED", "COMPLETE" ] @typing.type_check_only -class GoogleDatastoreAdminV1PrepareStepDetails( - typing_extensions.TypedDict, total=False -): - concurrencyMode: typing_extensions.Literal[ +class GoogleDatastoreAdminV1PrepareStepDetails(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC", @@ -291,15 +264,13 @@ class GoogleDatastoreAdminV1PrepareStepDetails( ] @typing.type_check_only -class GoogleDatastoreAdminV1Progress(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1Progress(typing.TypedDict, total=False): workCompleted: str workEstimated: str @typing.type_check_only -class GoogleDatastoreAdminV1RedirectWritesStepDetails( - typing_extensions.TypedDict, total=False -): - concurrencyMode: typing_extensions.Literal[ +class GoogleDatastoreAdminV1RedirectWritesStepDetails(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC", @@ -307,16 +278,14 @@ class GoogleDatastoreAdminV1RedirectWritesStepDetails( ] @typing.type_check_only -class GoogleDatastoreAdminV1beta1CommonMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1CommonMetadata(typing.TypedDict, total=False): endTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "EXPORT_ENTITIES", "IMPORT_ENTITIES" ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -328,14 +297,12 @@ class GoogleDatastoreAdminV1beta1CommonMetadata( ] @typing.type_check_only -class GoogleDatastoreAdminV1beta1EntityFilter(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1beta1EntityFilter(typing.TypedDict, total=False): kinds: _list[str] namespaceIds: _list[str] @typing.type_check_only -class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1beta1CommonMetadata entityFilter: GoogleDatastoreAdminV1beta1EntityFilter outputUrlPrefix: str @@ -343,15 +310,11 @@ class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1beta1Progress @typing.type_check_only -class GoogleDatastoreAdminV1beta1ExportEntitiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ExportEntitiesResponse(typing.TypedDict, total=False): outputUrl: str @typing.type_check_only -class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1beta1CommonMetadata entityFilter: GoogleDatastoreAdminV1beta1EntityFilter inputUrl: str @@ -359,18 +322,18 @@ class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1beta1Progress @typing.type_check_only -class GoogleDatastoreAdminV1beta1Progress(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1beta1Progress(typing.TypedDict, total=False): workCompleted: str workEstimated: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -378,40 +341,41 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GqlQuery(typing_extensions.TypedDict, total=False): +class GqlQuery(typing.TypedDict, total=False): allowLiterals: bool namedBindings: dict[str, typing.Any] positionalBindings: _list[GqlQueryParameter] queryString: str @typing.type_check_only -class GqlQueryParameter(typing_extensions.TypedDict, total=False): +class GqlQueryParameter(typing.TypedDict, total=False): cursor: str value: Value @typing.type_check_only -class Key(typing_extensions.TypedDict, total=False): +class Key(typing.TypedDict, total=False): partitionId: PartitionId path: _list[PathElement] @typing.type_check_only -class KindExpression(typing_extensions.TypedDict, total=False): +class KindExpression(typing.TypedDict, total=False): name: str @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LookupRequest(typing_extensions.TypedDict, total=False): +class LookupRequest(typing.TypedDict, total=False): databaseId: str keys: _list[Key] propertyMask: PropertyMask readOptions: ReadOptions + requestOptions: RequestOptions @typing.type_check_only -class LookupResponse(typing_extensions.TypedDict, total=False): +class LookupResponse(typing.TypedDict, total=False): deferred: _list[Key] found: _list[EntityResult] missing: _list[EntityResult] @@ -419,9 +383,9 @@ class LookupResponse(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class Mutation(typing_extensions.TypedDict, total=False): +class Mutation(typing.TypedDict, total=False): baseVersion: str - conflictResolutionStrategy: typing_extensions.Literal[ + conflictResolutionStrategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "SERVER_VALUE", "FAIL" ] delete: Key @@ -433,7 +397,7 @@ class Mutation(typing_extensions.TypedDict, total=False): upsert: Entity @typing.type_check_only -class MutationResult(typing_extensions.TypedDict, total=False): +class MutationResult(typing.TypedDict, total=False): conflictDetected: bool createTime: str key: Key @@ -442,28 +406,28 @@ class MutationResult(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PartitionId(typing_extensions.TypedDict, total=False): +class PartitionId(typing.TypedDict, total=False): databaseId: str namespaceId: str projectId: str @typing.type_check_only -class PathElement(typing_extensions.TypedDict, total=False): +class PathElement(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class PlanSummary(typing_extensions.TypedDict, total=False): +class PlanSummary(typing.TypedDict, total=False): indexesUsed: _list[dict[str, typing.Any]] @typing.type_check_only -class Projection(typing_extensions.TypedDict, total=False): +class Projection(typing.TypedDict, total=False): property: PropertyReference @typing.type_check_only -class PropertyFilter(typing_extensions.TypedDict, total=False): - op: typing_extensions.Literal[ +class PropertyFilter(typing.TypedDict, total=False): + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS_THAN", "LESS_THAN_OR_EQUAL", @@ -479,34 +443,30 @@ class PropertyFilter(typing_extensions.TypedDict, total=False): value: Value @typing.type_check_only -class PropertyMask(typing_extensions.TypedDict, total=False): +class PropertyMask(typing.TypedDict, total=False): paths: _list[str] @typing.type_check_only -class PropertyOrder(typing_extensions.TypedDict, total=False): - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] +class PropertyOrder(typing.TypedDict, total=False): + direction: typing.Literal["DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING"] property: PropertyReference @typing.type_check_only -class PropertyReference(typing_extensions.TypedDict, total=False): +class PropertyReference(typing.TypedDict, total=False): name: str @typing.type_check_only -class PropertyTransform(typing_extensions.TypedDict, total=False): +class PropertyTransform(typing.TypedDict, total=False): appendMissingElements: ArrayValue increment: Value maximum: Value minimum: Value property: str removeAllFromArray: ArrayValue - setToServerValue: typing_extensions.Literal[ - "SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME" - ] + setToServerValue: typing.Literal["SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME"] @typing.type_check_only -class Query(typing_extensions.TypedDict, total=False): +class Query(typing.TypedDict, total=False): distinctOn: _list[PropertyReference] endCursor: str filter: Filter @@ -519,13 +479,13 @@ class Query(typing_extensions.TypedDict, total=False): startCursor: str @typing.type_check_only -class QueryResultBatch(typing_extensions.TypedDict, total=False): +class QueryResultBatch(typing.TypedDict, total=False): endCursor: str - entityResultType: typing_extensions.Literal[ + entityResultType: typing.Literal[ "RESULT_TYPE_UNSPECIFIED", "FULL", "PROJECTION", "KEY_ONLY" ] entityResults: _list[EntityResult] - moreResults: typing_extensions.Literal[ + moreResults: typing.Literal[ "MORE_RESULTS_TYPE_UNSPECIFIED", "NOT_FINISHED", "MORE_RESULTS_AFTER_LIMIT", @@ -538,56 +498,63 @@ class QueryResultBatch(typing_extensions.TypedDict, total=False): snapshotVersion: str @typing.type_check_only -class ReadOnly(typing_extensions.TypedDict, total=False): +class ReadOnly(typing.TypedDict, total=False): readTime: str @typing.type_check_only -class ReadOptions(typing_extensions.TypedDict, total=False): +class ReadOptions(typing.TypedDict, total=False): newTransaction: TransactionOptions - readConsistency: typing_extensions.Literal[ + readConsistency: typing.Literal[ "READ_CONSISTENCY_UNSPECIFIED", "STRONG", "EVENTUAL" ] readTime: str transaction: str @typing.type_check_only -class ReadWrite(typing_extensions.TypedDict, total=False): +class ReadWrite(typing.TypedDict, total=False): previousTransaction: str @typing.type_check_only -class ReserveIdsRequest(typing_extensions.TypedDict, total=False): +class RequestOptions(typing.TypedDict, total=False): + requestTags: _list[str] + +@typing.type_check_only +class ReserveIdsRequest(typing.TypedDict, total=False): databaseId: str keys: _list[Key] + requestOptions: RequestOptions @typing.type_check_only -class ReserveIdsResponse(typing_extensions.TypedDict, total=False): ... +class ReserveIdsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RollbackRequest(typing_extensions.TypedDict, total=False): +class RollbackRequest(typing.TypedDict, total=False): databaseId: str + requestOptions: RequestOptions transaction: str @typing.type_check_only -class RollbackResponse(typing_extensions.TypedDict, total=False): ... +class RollbackResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): +class RunAggregationQueryRequest(typing.TypedDict, total=False): aggregationQuery: AggregationQuery databaseId: str explainOptions: ExplainOptions gqlQuery: GqlQuery partitionId: PartitionId readOptions: ReadOptions + requestOptions: RequestOptions @typing.type_check_only -class RunAggregationQueryResponse(typing_extensions.TypedDict, total=False): +class RunAggregationQueryResponse(typing.TypedDict, total=False): batch: AggregationResultBatch explainMetrics: ExplainMetrics query: AggregationQuery transaction: str @typing.type_check_only -class RunQueryRequest(typing_extensions.TypedDict, total=False): +class RunQueryRequest(typing.TypedDict, total=False): databaseId: str explainOptions: ExplainOptions gqlQuery: GqlQuery @@ -595,31 +562,32 @@ 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): +class RunQueryResponse(typing.TypedDict, total=False): batch: QueryResultBatch explainMetrics: ExplainMetrics query: Query transaction: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Sum(typing_extensions.TypedDict, total=False): +class Sum(typing.TypedDict, total=False): property: PropertyReference @typing.type_check_only -class TransactionOptions(typing_extensions.TypedDict, total=False): +class TransactionOptions(typing.TypedDict, total=False): readOnly: ReadOnly readWrite: ReadWrite @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): arrayValue: ArrayValue blobValue: str booleanValue: bool @@ -630,6 +598,6 @@ class Value(typing_extensions.TypedDict, total=False): integerValue: str keyValue: Key meaning: int - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] stringValue: str timestampValue: str diff --git a/googleapiclient-stubs/_apis/datastore/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datastore/v1beta1/resources.pyi index 30f710449..55e9e4b1b 100644 --- a/googleapiclient-stubs/_apis/datastore/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datastore/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datastore/v1beta1/schemas.pyi index fac985458..1ff1f6397 100644 --- a/googleapiclient-stubs/_apis/datastore/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1beta1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1CommonMetadata(typing.TypedDict, total=False): endTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "EXPORT_ENTITIES", "IMPORT_ENTITIES", @@ -16,7 +14,7 @@ class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=Fa "DELETE_INDEX", ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -29,12 +27,12 @@ class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - migrationState: typing_extensions.Literal[ + migrationState: typing.Literal[ "MIGRATION_STATE_UNSPECIFIED", "RUNNING", "PAUSED", "COMPLETE" ] - migrationStep: typing_extensions.Literal[ + migrationStep: typing.Literal[ "MIGRATION_STEP_UNSPECIFIED", "PREPARE", "START", @@ -46,14 +44,12 @@ class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata( ] @typing.type_check_only -class GoogleDatastoreAdminV1EntityFilter(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1EntityFilter(typing.TypedDict, total=False): kinds: _list[str] namespaceIds: _list[str] @typing.type_check_only -class GoogleDatastoreAdminV1ExportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ExportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata entityFilter: GoogleDatastoreAdminV1EntityFilter outputUrlPrefix: str @@ -61,15 +57,11 @@ class GoogleDatastoreAdminV1ExportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1ExportEntitiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ExportEntitiesResponse(typing.TypedDict, total=False): outputUrl: str @typing.type_check_only -class GoogleDatastoreAdminV1ImportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ImportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata entityFilter: GoogleDatastoreAdminV1EntityFilter inputUrl: str @@ -77,20 +69,16 @@ class GoogleDatastoreAdminV1ImportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1IndexOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1IndexOperationMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata indexId: str progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1MigrationProgressEvent( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1MigrationProgressEvent(typing.TypedDict, total=False): prepareStepDetails: GoogleDatastoreAdminV1PrepareStepDetails redirectWritesStepDetails: GoogleDatastoreAdminV1RedirectWritesStepDetails - step: typing_extensions.Literal[ + step: typing.Literal[ "MIGRATION_STEP_UNSPECIFIED", "PREPARE", "START", @@ -102,18 +90,14 @@ class GoogleDatastoreAdminV1MigrationProgressEvent( ] @typing.type_check_only -class GoogleDatastoreAdminV1MigrationStateEvent( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ +class GoogleDatastoreAdminV1MigrationStateEvent(typing.TypedDict, total=False): + state: typing.Literal[ "MIGRATION_STATE_UNSPECIFIED", "RUNNING", "PAUSED", "COMPLETE" ] @typing.type_check_only -class GoogleDatastoreAdminV1PrepareStepDetails( - typing_extensions.TypedDict, total=False -): - concurrencyMode: typing_extensions.Literal[ +class GoogleDatastoreAdminV1PrepareStepDetails(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC", @@ -121,15 +105,13 @@ class GoogleDatastoreAdminV1PrepareStepDetails( ] @typing.type_check_only -class GoogleDatastoreAdminV1Progress(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1Progress(typing.TypedDict, total=False): workCompleted: str workEstimated: str @typing.type_check_only -class GoogleDatastoreAdminV1RedirectWritesStepDetails( - typing_extensions.TypedDict, total=False -): - concurrencyMode: typing_extensions.Literal[ +class GoogleDatastoreAdminV1RedirectWritesStepDetails(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC", @@ -137,16 +119,14 @@ class GoogleDatastoreAdminV1RedirectWritesStepDetails( ] @typing.type_check_only -class GoogleDatastoreAdminV1beta1CommonMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1CommonMetadata(typing.TypedDict, total=False): endTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "EXPORT_ENTITIES", "IMPORT_ENTITIES" ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -158,14 +138,12 @@ class GoogleDatastoreAdminV1beta1CommonMetadata( ] @typing.type_check_only -class GoogleDatastoreAdminV1beta1EntityFilter(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1beta1EntityFilter(typing.TypedDict, total=False): kinds: _list[str] namespaceIds: _list[str] @typing.type_check_only -class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1beta1CommonMetadata entityFilter: GoogleDatastoreAdminV1beta1EntityFilter outputUrlPrefix: str @@ -173,23 +151,17 @@ class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1beta1Progress @typing.type_check_only -class GoogleDatastoreAdminV1beta1ExportEntitiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ExportEntitiesRequest(typing.TypedDict, total=False): entityFilter: GoogleDatastoreAdminV1beta1EntityFilter labels: dict[str, typing.Any] outputUrlPrefix: str @typing.type_check_only -class GoogleDatastoreAdminV1beta1ExportEntitiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ExportEntitiesResponse(typing.TypedDict, total=False): outputUrl: str @typing.type_check_only -class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1beta1CommonMetadata entityFilter: GoogleDatastoreAdminV1beta1EntityFilter inputUrl: str @@ -197,20 +169,18 @@ class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1beta1Progress @typing.type_check_only -class GoogleDatastoreAdminV1beta1ImportEntitiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ImportEntitiesRequest(typing.TypedDict, total=False): entityFilter: GoogleDatastoreAdminV1beta1EntityFilter inputUrl: str labels: dict[str, typing.Any] @typing.type_check_only -class GoogleDatastoreAdminV1beta1Progress(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1beta1Progress(typing.TypedDict, total=False): workCompleted: str workEstimated: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -218,7 +188,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/datastore/v1beta3/resources.pyi b/googleapiclient-stubs/_apis/datastore/v1beta3/resources.pyi index 2b041ef79..1dfb905e6 100644 --- a/googleapiclient-stubs/_apis/datastore/v1beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1beta3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datastore/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/datastore/v1beta3/schemas.pyi index dfe437f54..45349b710 100644 --- a/googleapiclient-stubs/_apis/datastore/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastore/v1beta3/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): alias: str avg: Avg count: Count sum: Sum @typing.type_check_only -class AggregationQuery(typing_extensions.TypedDict, total=False): +class AggregationQuery(typing.TypedDict, total=False): aggregations: _list[Aggregation] nestedQuery: Query @typing.type_check_only -class AggregationResult(typing_extensions.TypedDict, total=False): +class AggregationResult(typing.TypedDict, total=False): aggregateProperties: dict[str, typing.Any] @typing.type_check_only -class AggregationResultBatch(typing_extensions.TypedDict, total=False): +class AggregationResultBatch(typing.TypedDict, total=False): aggregationResults: _list[AggregationResult] - moreResults: typing_extensions.Literal[ + moreResults: typing.Literal[ "MORE_RESULTS_TYPE_UNSPECIFIED", "NOT_FINISHED", "MORE_RESULTS_AFTER_LIMIT", @@ -33,59 +31,57 @@ class AggregationResultBatch(typing_extensions.TypedDict, total=False): readTime: str @typing.type_check_only -class AllocateIdsRequest(typing_extensions.TypedDict, total=False): +class AllocateIdsRequest(typing.TypedDict, total=False): keys: _list[Key] @typing.type_check_only -class AllocateIdsResponse(typing_extensions.TypedDict, total=False): +class AllocateIdsResponse(typing.TypedDict, total=False): keys: _list[Key] @typing.type_check_only -class ArrayValue(typing_extensions.TypedDict, total=False): +class ArrayValue(typing.TypedDict, total=False): values: _list[Value] @typing.type_check_only -class Avg(typing_extensions.TypedDict, total=False): +class Avg(typing.TypedDict, total=False): property: PropertyReference @typing.type_check_only -class BeginTransactionRequest(typing_extensions.TypedDict, total=False): +class BeginTransactionRequest(typing.TypedDict, total=False): transactionOptions: TransactionOptions @typing.type_check_only -class BeginTransactionResponse(typing_extensions.TypedDict, total=False): +class BeginTransactionResponse(typing.TypedDict, total=False): transaction: str @typing.type_check_only -class CommitRequest(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "TRANSACTIONAL", "NON_TRANSACTIONAL" - ] +class CommitRequest(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "TRANSACTIONAL", "NON_TRANSACTIONAL"] mutations: _list[Mutation] transaction: str @typing.type_check_only -class CommitResponse(typing_extensions.TypedDict, total=False): +class CommitResponse(typing.TypedDict, total=False): commitTime: str indexUpdates: int mutationResults: _list[MutationResult] @typing.type_check_only -class CompositeFilter(typing_extensions.TypedDict, total=False): +class CompositeFilter(typing.TypedDict, total=False): filters: _list[Filter] - op: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] + op: typing.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] @typing.type_check_only -class Count(typing_extensions.TypedDict, total=False): +class Count(typing.TypedDict, total=False): upTo: str @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): key: Key properties: dict[str, typing.Any] @typing.type_check_only -class EntityResult(typing_extensions.TypedDict, total=False): +class EntityResult(typing.TypedDict, total=False): createTime: str cursor: str entity: Entity @@ -93,29 +89,29 @@ class EntityResult(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class ExecutionStats(typing_extensions.TypedDict, total=False): +class ExecutionStats(typing.TypedDict, total=False): debugStats: dict[str, typing.Any] executionDuration: str readOperations: str resultsReturned: str @typing.type_check_only -class ExplainMetrics(typing_extensions.TypedDict, total=False): +class ExplainMetrics(typing.TypedDict, total=False): executionStats: ExecutionStats planSummary: PlanSummary @typing.type_check_only -class ExplainOptions(typing_extensions.TypedDict, total=False): +class ExplainOptions(typing.TypedDict, total=False): analyze: bool @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): compositeFilter: CompositeFilter propertyFilter: PropertyFilter @typing.type_check_only -class FindNearest(typing_extensions.TypedDict, total=False): - distanceMeasure: typing_extensions.Literal[ +class FindNearest(typing.TypedDict, total=False): + distanceMeasure: typing.Literal[ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", "COSINE", "DOT_PRODUCT" ] distanceResultProperty: str @@ -125,10 +121,10 @@ class FindNearest(typing_extensions.TypedDict, total=False): vectorProperty: PropertyReference @typing.type_check_only -class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1CommonMetadata(typing.TypedDict, total=False): endTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "EXPORT_ENTITIES", "IMPORT_ENTITIES", @@ -136,7 +132,7 @@ class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=Fa "DELETE_INDEX", ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -149,12 +145,12 @@ class GoogleDatastoreAdminV1CommonMetadata(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - migrationState: typing_extensions.Literal[ + migrationState: typing.Literal[ "MIGRATION_STATE_UNSPECIFIED", "RUNNING", "PAUSED", "COMPLETE" ] - migrationStep: typing_extensions.Literal[ + migrationStep: typing.Literal[ "MIGRATION_STEP_UNSPECIFIED", "PREPARE", "START", @@ -166,14 +162,12 @@ class GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata( ] @typing.type_check_only -class GoogleDatastoreAdminV1EntityFilter(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1EntityFilter(typing.TypedDict, total=False): kinds: _list[str] namespaceIds: _list[str] @typing.type_check_only -class GoogleDatastoreAdminV1ExportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ExportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata entityFilter: GoogleDatastoreAdminV1EntityFilter outputUrlPrefix: str @@ -181,15 +175,11 @@ class GoogleDatastoreAdminV1ExportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1ExportEntitiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ExportEntitiesResponse(typing.TypedDict, total=False): outputUrl: str @typing.type_check_only -class GoogleDatastoreAdminV1ImportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1ImportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata entityFilter: GoogleDatastoreAdminV1EntityFilter inputUrl: str @@ -197,20 +187,16 @@ class GoogleDatastoreAdminV1ImportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1IndexOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1IndexOperationMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1CommonMetadata indexId: str progressEntities: GoogleDatastoreAdminV1Progress @typing.type_check_only -class GoogleDatastoreAdminV1MigrationProgressEvent( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1MigrationProgressEvent(typing.TypedDict, total=False): prepareStepDetails: GoogleDatastoreAdminV1PrepareStepDetails redirectWritesStepDetails: GoogleDatastoreAdminV1RedirectWritesStepDetails - step: typing_extensions.Literal[ + step: typing.Literal[ "MIGRATION_STEP_UNSPECIFIED", "PREPARE", "START", @@ -222,18 +208,14 @@ class GoogleDatastoreAdminV1MigrationProgressEvent( ] @typing.type_check_only -class GoogleDatastoreAdminV1MigrationStateEvent( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ +class GoogleDatastoreAdminV1MigrationStateEvent(typing.TypedDict, total=False): + state: typing.Literal[ "MIGRATION_STATE_UNSPECIFIED", "RUNNING", "PAUSED", "COMPLETE" ] @typing.type_check_only -class GoogleDatastoreAdminV1PrepareStepDetails( - typing_extensions.TypedDict, total=False -): - concurrencyMode: typing_extensions.Literal[ +class GoogleDatastoreAdminV1PrepareStepDetails(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC", @@ -241,15 +223,13 @@ class GoogleDatastoreAdminV1PrepareStepDetails( ] @typing.type_check_only -class GoogleDatastoreAdminV1Progress(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1Progress(typing.TypedDict, total=False): workCompleted: str workEstimated: str @typing.type_check_only -class GoogleDatastoreAdminV1RedirectWritesStepDetails( - typing_extensions.TypedDict, total=False -): - concurrencyMode: typing_extensions.Literal[ +class GoogleDatastoreAdminV1RedirectWritesStepDetails(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC", @@ -257,16 +237,14 @@ class GoogleDatastoreAdminV1RedirectWritesStepDetails( ] @typing.type_check_only -class GoogleDatastoreAdminV1beta1CommonMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1CommonMetadata(typing.TypedDict, total=False): endTime: str labels: dict[str, typing.Any] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "EXPORT_ENTITIES", "IMPORT_ENTITIES" ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -278,14 +256,12 @@ class GoogleDatastoreAdminV1beta1CommonMetadata( ] @typing.type_check_only -class GoogleDatastoreAdminV1beta1EntityFilter(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1beta1EntityFilter(typing.TypedDict, total=False): kinds: _list[str] namespaceIds: _list[str] @typing.type_check_only -class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1beta1CommonMetadata entityFilter: GoogleDatastoreAdminV1beta1EntityFilter outputUrlPrefix: str @@ -293,15 +269,11 @@ class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1beta1Progress @typing.type_check_only -class GoogleDatastoreAdminV1beta1ExportEntitiesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ExportEntitiesResponse(typing.TypedDict, total=False): outputUrl: str @typing.type_check_only -class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata(typing.TypedDict, total=False): common: GoogleDatastoreAdminV1beta1CommonMetadata entityFilter: GoogleDatastoreAdminV1beta1EntityFilter inputUrl: str @@ -309,53 +281,53 @@ class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata( progressEntities: GoogleDatastoreAdminV1beta1Progress @typing.type_check_only -class GoogleDatastoreAdminV1beta1Progress(typing_extensions.TypedDict, total=False): +class GoogleDatastoreAdminV1beta1Progress(typing.TypedDict, total=False): workCompleted: str workEstimated: str @typing.type_check_only -class GqlQuery(typing_extensions.TypedDict, total=False): +class GqlQuery(typing.TypedDict, total=False): allowLiterals: bool namedBindings: dict[str, typing.Any] positionalBindings: _list[GqlQueryParameter] queryString: str @typing.type_check_only -class GqlQueryParameter(typing_extensions.TypedDict, total=False): +class GqlQueryParameter(typing.TypedDict, total=False): cursor: str value: Value @typing.type_check_only -class Key(typing_extensions.TypedDict, total=False): +class Key(typing.TypedDict, total=False): partitionId: PartitionId path: _list[PathElement] @typing.type_check_only -class KindExpression(typing_extensions.TypedDict, total=False): +class KindExpression(typing.TypedDict, total=False): name: str @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LookupRequest(typing_extensions.TypedDict, total=False): +class LookupRequest(typing.TypedDict, total=False): keys: _list[Key] propertyMask: PropertyMask readOptions: ReadOptions @typing.type_check_only -class LookupResponse(typing_extensions.TypedDict, total=False): +class LookupResponse(typing.TypedDict, total=False): deferred: _list[Key] found: _list[EntityResult] missing: _list[EntityResult] readTime: str @typing.type_check_only -class Mutation(typing_extensions.TypedDict, total=False): +class Mutation(typing.TypedDict, total=False): baseVersion: str - conflictResolutionStrategy: typing_extensions.Literal[ + conflictResolutionStrategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "SERVER_VALUE", "FAIL" ] delete: Key @@ -367,7 +339,7 @@ class Mutation(typing_extensions.TypedDict, total=False): upsert: Entity @typing.type_check_only -class MutationResult(typing_extensions.TypedDict, total=False): +class MutationResult(typing.TypedDict, total=False): conflictDetected: bool createTime: str key: Key @@ -376,27 +348,27 @@ class MutationResult(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PartitionId(typing_extensions.TypedDict, total=False): +class PartitionId(typing.TypedDict, total=False): namespaceId: str projectId: str @typing.type_check_only -class PathElement(typing_extensions.TypedDict, total=False): +class PathElement(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class PlanSummary(typing_extensions.TypedDict, total=False): +class PlanSummary(typing.TypedDict, total=False): indexesUsed: _list[dict[str, typing.Any]] @typing.type_check_only -class Projection(typing_extensions.TypedDict, total=False): +class Projection(typing.TypedDict, total=False): property: PropertyReference @typing.type_check_only -class PropertyFilter(typing_extensions.TypedDict, total=False): - op: typing_extensions.Literal[ +class PropertyFilter(typing.TypedDict, total=False): + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS_THAN", "LESS_THAN_OR_EQUAL", @@ -412,34 +384,30 @@ class PropertyFilter(typing_extensions.TypedDict, total=False): value: Value @typing.type_check_only -class PropertyMask(typing_extensions.TypedDict, total=False): +class PropertyMask(typing.TypedDict, total=False): paths: _list[str] @typing.type_check_only -class PropertyOrder(typing_extensions.TypedDict, total=False): - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] +class PropertyOrder(typing.TypedDict, total=False): + direction: typing.Literal["DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING"] property: PropertyReference @typing.type_check_only -class PropertyReference(typing_extensions.TypedDict, total=False): +class PropertyReference(typing.TypedDict, total=False): name: str @typing.type_check_only -class PropertyTransform(typing_extensions.TypedDict, total=False): +class PropertyTransform(typing.TypedDict, total=False): appendMissingElements: ArrayValue increment: Value maximum: Value minimum: Value property: str removeAllFromArray: ArrayValue - setToServerValue: typing_extensions.Literal[ - "SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME" - ] + setToServerValue: typing.Literal["SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME"] @typing.type_check_only -class Query(typing_extensions.TypedDict, total=False): +class Query(typing.TypedDict, total=False): distinctOn: _list[PropertyReference] endCursor: str filter: Filter @@ -452,13 +420,13 @@ class Query(typing_extensions.TypedDict, total=False): startCursor: str @typing.type_check_only -class QueryResultBatch(typing_extensions.TypedDict, total=False): +class QueryResultBatch(typing.TypedDict, total=False): endCursor: str - entityResultType: typing_extensions.Literal[ + entityResultType: typing.Literal[ "RESULT_TYPE_UNSPECIFIED", "FULL", "PROJECTION", "KEY_ONLY" ] entityResults: _list[EntityResult] - moreResults: typing_extensions.Literal[ + moreResults: typing.Literal[ "MORE_RESULTS_TYPE_UNSPECIFIED", "NOT_FINISHED", "MORE_RESULTS_AFTER_LIMIT", @@ -471,38 +439,38 @@ class QueryResultBatch(typing_extensions.TypedDict, total=False): snapshotVersion: str @typing.type_check_only -class ReadOnly(typing_extensions.TypedDict, total=False): +class ReadOnly(typing.TypedDict, total=False): readTime: str @typing.type_check_only -class ReadOptions(typing_extensions.TypedDict, total=False): - readConsistency: typing_extensions.Literal[ +class ReadOptions(typing.TypedDict, total=False): + readConsistency: typing.Literal[ "READ_CONSISTENCY_UNSPECIFIED", "STRONG", "EVENTUAL" ] readTime: str transaction: str @typing.type_check_only -class ReadWrite(typing_extensions.TypedDict, total=False): +class ReadWrite(typing.TypedDict, total=False): previousTransaction: str @typing.type_check_only -class ReserveIdsRequest(typing_extensions.TypedDict, total=False): +class ReserveIdsRequest(typing.TypedDict, total=False): databaseId: str keys: _list[Key] @typing.type_check_only -class ReserveIdsResponse(typing_extensions.TypedDict, total=False): ... +class ReserveIdsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RollbackRequest(typing_extensions.TypedDict, total=False): +class RollbackRequest(typing.TypedDict, total=False): transaction: str @typing.type_check_only -class RollbackResponse(typing_extensions.TypedDict, total=False): ... +class RollbackResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): +class RunAggregationQueryRequest(typing.TypedDict, total=False): aggregationQuery: AggregationQuery explainOptions: ExplainOptions gqlQuery: GqlQuery @@ -510,13 +478,13 @@ class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): readOptions: ReadOptions @typing.type_check_only -class RunAggregationQueryResponse(typing_extensions.TypedDict, total=False): +class RunAggregationQueryResponse(typing.TypedDict, total=False): batch: AggregationResultBatch explainMetrics: ExplainMetrics query: AggregationQuery @typing.type_check_only -class RunQueryRequest(typing_extensions.TypedDict, total=False): +class RunQueryRequest(typing.TypedDict, total=False): explainOptions: ExplainOptions gqlQuery: GqlQuery partitionId: PartitionId @@ -525,22 +493,22 @@ class RunQueryRequest(typing_extensions.TypedDict, total=False): readOptions: ReadOptions @typing.type_check_only -class RunQueryResponse(typing_extensions.TypedDict, total=False): +class RunQueryResponse(typing.TypedDict, total=False): batch: QueryResultBatch explainMetrics: ExplainMetrics query: Query @typing.type_check_only -class Sum(typing_extensions.TypedDict, total=False): +class Sum(typing.TypedDict, total=False): property: PropertyReference @typing.type_check_only -class TransactionOptions(typing_extensions.TypedDict, total=False): +class TransactionOptions(typing.TypedDict, total=False): readOnly: ReadOnly readWrite: ReadWrite @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): arrayValue: ArrayValue blobValue: str booleanValue: bool @@ -551,6 +519,6 @@ class Value(typing_extensions.TypedDict, total=False): integerValue: str keyValue: Key meaning: int - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] stringValue: str timestampValue: str diff --git a/googleapiclient-stubs/_apis/datastream/v1/resources.pyi b/googleapiclient-stubs/_apis/datastream/v1/resources.pyi index a0a7c8e69..ead127431 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi index e21a1fa3f..1eff5942d 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppendOnly(typing_extensions.TypedDict, total=False): ... +class AppendOnly(typing.TypedDict, total=False): ... @typing.type_check_only -class AvroFileFormat(typing_extensions.TypedDict, total=False): ... +class AvroFileFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class BackfillAllStrategy(typing_extensions.TypedDict, total=False): +class BackfillAllStrategy(typing.TypedDict, total=False): mongodbExcludedObjects: MongodbCluster mysqlExcludedObjects: MysqlRdbms oracleExcludedObjects: OracleRdbms @@ -22,12 +20,12 @@ class BackfillAllStrategy(typing_extensions.TypedDict, total=False): sqlServerExcludedObjects: SqlServerRdbms @typing.type_check_only -class BackfillJob(typing_extensions.TypedDict, total=False): +class BackfillJob(typing.TypedDict, total=False): errors: _list[Error] eventFilter: EventFilter lastEndTime: str lastStartTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NOT_STARTED", "PENDING", @@ -37,24 +35,24 @@ class BackfillJob(typing_extensions.TypedDict, total=False): "COMPLETED", "UNSUPPORTED", ] - trigger: typing_extensions.Literal["TRIGGER_UNSPECIFIED", "AUTOMATIC", "MANUAL"] + trigger: typing.Literal["TRIGGER_UNSPECIFIED", "AUTOMATIC", "MANUAL"] @typing.type_check_only -class BackfillNoneStrategy(typing_extensions.TypedDict, total=False): ... +class BackfillNoneStrategy(typing.TypedDict, total=False): ... @typing.type_check_only -class BadRequest(typing_extensions.TypedDict, total=False): +class BadRequest(typing.TypedDict, total=False): fieldViolations: _list[FieldViolation] @typing.type_check_only -class BasicEncryption(typing_extensions.TypedDict, total=False): ... +class BasicEncryption(typing.TypedDict, total=False): ... @typing.type_check_only -class BigQueryClustering(typing_extensions.TypedDict, total=False): +class BigQueryClustering(typing.TypedDict, total=False): columns: _list[str] @typing.type_check_only -class BigQueryDestinationConfig(typing_extensions.TypedDict, total=False): +class BigQueryDestinationConfig(typing.TypedDict, total=False): appendOnly: AppendOnly blmtConfig: BlmtConfig dataFreshness: str @@ -63,42 +61,42 @@ class BigQueryDestinationConfig(typing_extensions.TypedDict, total=False): sourceHierarchyDatasets: SourceHierarchyDatasets @typing.type_check_only -class BigQueryPartitioning(typing_extensions.TypedDict, total=False): +class BigQueryPartitioning(typing.TypedDict, total=False): ingestionTimePartition: IngestionTimePartition integerRangePartition: IntegerRangePartition requirePartitionFilter: bool timeUnitPartition: TimeUnitPartition @typing.type_check_only -class BigQueryProfile(typing_extensions.TypedDict, total=False): ... +class BigQueryProfile(typing.TypedDict, total=False): ... @typing.type_check_only -class BinaryLogParser(typing_extensions.TypedDict, total=False): +class BinaryLogParser(typing.TypedDict, total=False): logFileDirectories: LogFileDirectories oracleAsmLogFileAccess: OracleAsmLogFileAccess @typing.type_check_only -class BinaryLogPosition(typing_extensions.TypedDict, total=False): ... +class BinaryLogPosition(typing.TypedDict, total=False): ... @typing.type_check_only -class BlmtConfig(typing_extensions.TypedDict, total=False): +class BlmtConfig(typing.TypedDict, total=False): bucket: str connectionName: str - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] rootPath: str - tableFormat: typing_extensions.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] + tableFormat: typing.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CdcStrategy(typing_extensions.TypedDict, total=False): +class CdcStrategy(typing.TypedDict, total=False): mostRecentStartPosition: MostRecentStartPosition nextAvailableStartPosition: NextAvailableStartPosition specificStartPosition: SpecificStartPosition @typing.type_check_only -class ConnectionProfile(typing_extensions.TypedDict, total=False): +class ConnectionProfile(typing.TypedDict, total=False): bigqueryProfile: BigQueryProfile createTime: str dataverseProfile: DataverseProfile @@ -121,43 +119,44 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): sqlServerProfile: SqlServerProfile staticServiceIpConnectivity: StaticServiceIpConnectivity updateTime: str + workdayProfile: WorkdayProfile @typing.type_check_only -class CustomizationRule(typing_extensions.TypedDict, total=False): +class CustomizationRule(typing.TypedDict, total=False): bigqueryClustering: BigQueryClustering bigqueryPartitioning: BigQueryPartitioning @typing.type_check_only -class DatasetTemplate(typing_extensions.TypedDict, total=False): +class DatasetTemplate(typing.TypedDict, total=False): datasetIdPrefix: str kmsKeyName: str location: str @typing.type_check_only -class DataverseProfile(typing_extensions.TypedDict, total=False): +class DataverseProfile(typing.TypedDict, total=False): environmentUrl: str oauthClientCredentials: OauthClientCredentials tenantId: str @typing.type_check_only -class DataverseSourceConfig(typing_extensions.TypedDict, total=False): +class DataverseSourceConfig(typing.TypedDict, total=False): excludeObjects: SourceCatalog includeObjects: SourceCatalog pollingInterval: str @typing.type_check_only -class DebugInfo(typing_extensions.TypedDict, total=False): +class DebugInfo(typing.TypedDict, total=False): detail: str stackEntries: _list[str] @typing.type_check_only -class DestinationConfig(typing_extensions.TypedDict, total=False): +class DestinationConfig(typing.TypedDict, total=False): bigqueryDestinationConfig: BigQueryDestinationConfig destinationConnectionProfile: str gcsDestinationConfig: GcsDestinationConfig @typing.type_check_only -class DiscoverConnectionProfileRequest(typing_extensions.TypedDict, total=False): +class DiscoverConnectionProfileRequest(typing.TypedDict, total=False): connectionProfile: ConnectionProfile connectionProfileName: str fullHierarchy: bool @@ -172,7 +171,7 @@ class DiscoverConnectionProfileRequest(typing_extensions.TypedDict, total=False) sqlServerRdbms: SqlServerRdbms @typing.type_check_only -class DiscoverConnectionProfileResponse(typing_extensions.TypedDict, total=False): +class DiscoverConnectionProfileResponse(typing.TypedDict, total=False): mongodbCluster: MongodbCluster mysqlRdbms: MysqlRdbms oracleRdbms: OracleRdbms @@ -183,21 +182,21 @@ class DiscoverConnectionProfileResponse(typing_extensions.TypedDict, total=False sqlServerRdbms: SqlServerRdbms @typing.type_check_only -class DropLargeObjects(typing_extensions.TypedDict, total=False): ... +class DropLargeObjects(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionAndServerValidation(typing_extensions.TypedDict, total=False): +class EncryptionAndServerValidation(typing.TypedDict, total=False): caCertificate: str serverCertificateHostname: str @typing.type_check_only -class EncryptionNotEnforced(typing_extensions.TypedDict, total=False): ... +class EncryptionNotEnforced(typing.TypedDict, total=False): ... @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): details: dict[str, typing.Any] errorTime: str errorUuid: str @@ -205,29 +204,29 @@ class Error(typing_extensions.TypedDict, total=False): reason: str @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadata: dict[str, typing.Any] reason: str @typing.type_check_only -class EventFilter(typing_extensions.TypedDict, total=False): +class EventFilter(typing.TypedDict, total=False): sqlWhereClause: str @typing.type_check_only -class FetchStaticIpsResponse(typing_extensions.TypedDict, total=False): +class FetchStaticIpsResponse(typing.TypedDict, total=False): nextPageToken: str staticIps: _list[str] @typing.type_check_only -class FieldViolation(typing_extensions.TypedDict, total=False): +class FieldViolation(typing.TypedDict, total=False): description: str field: str localizedMessage: LocalizedMessage reason: str @typing.type_check_only -class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): +class ForwardSshTunnelConnectivity(typing.TypedDict, total=False): hostname: str password: str port: int @@ -235,7 +234,7 @@ class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class GcsDestinationConfig(typing_extensions.TypedDict, total=False): +class GcsDestinationConfig(typing.TypedDict, total=False): avroFileFormat: AvroFileFormat fileRotationInterval: str fileRotationMb: int @@ -243,25 +242,25 @@ class GcsDestinationConfig(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class GcsProfile(typing_extensions.TypedDict, total=False): +class GcsProfile(typing.TypedDict, total=False): bucket: str rootPath: str @typing.type_check_only -class Gtid(typing_extensions.TypedDict, total=False): ... +class Gtid(typing.TypedDict, total=False): ... @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[Link] @typing.type_check_only -class HostAddress(typing_extensions.TypedDict, total=False): +class HostAddress(typing.TypedDict, total=False): hostname: str port: int @typing.type_check_only -class IngestionTimePartition(typing_extensions.TypedDict, total=False): - partitioningTimeGranularity: typing_extensions.Literal[ +class IngestionTimePartition(typing.TypedDict, total=False): + partitioningTimeGranularity: typing.Literal[ "PARTITIONING_TIME_GRANULARITY_UNSPECIFIED", "PARTITIONING_TIME_GRANULARITY_HOUR", "PARTITIONING_TIME_GRANULARITY_DAY", @@ -270,73 +269,73 @@ class IngestionTimePartition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegerRangePartition(typing_extensions.TypedDict, total=False): +class IntegerRangePartition(typing.TypedDict, total=False): column: str end: str interval: str start: str @typing.type_check_only -class JsonFileFormat(typing_extensions.TypedDict, total=False): - compression: typing_extensions.Literal[ +class JsonFileFormat(typing.TypedDict, total=False): + compression: typing.Literal[ "JSON_COMPRESSION_UNSPECIFIED", "NO_COMPRESSION", "GZIP" ] - schemaFileFormat: typing_extensions.Literal[ + schemaFileFormat: typing.Literal[ "SCHEMA_FILE_FORMAT_UNSPECIFIED", "NO_SCHEMA_FILE", "AVRO_SCHEMA_FILE" ] @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ListConnectionProfilesResponse(typing_extensions.TypedDict, total=False): +class ListConnectionProfilesResponse(typing.TypedDict, total=False): connectionProfiles: _list[ConnectionProfile] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListPrivateConnectionsResponse(typing.TypedDict, total=False): nextPageToken: str privateConnections: _list[PrivateConnection] unreachable: _list[str] @typing.type_check_only -class ListRoutesResponse(typing_extensions.TypedDict, total=False): +class ListRoutesResponse(typing.TypedDict, total=False): nextPageToken: str routes: _list[Route] unreachable: _list[str] @typing.type_check_only -class ListStreamObjectsResponse(typing_extensions.TypedDict, total=False): +class ListStreamObjectsResponse(typing.TypedDict, total=False): nextPageToken: str streamObjects: _list[StreamObject] @typing.type_check_only -class ListStreamsResponse(typing_extensions.TypedDict, total=False): +class ListStreamsResponse(typing.TypedDict, total=False): nextPageToken: str streams: _list[Stream] unreachable: _list[str] @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -344,49 +343,49 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LogFileDirectories(typing_extensions.TypedDict, total=False): +class LogFileDirectories(typing.TypedDict, total=False): archivedLogDirectory: str onlineLogDirectory: str @typing.type_check_only -class LogMiner(typing_extensions.TypedDict, total=False): ... +class LogMiner(typing.TypedDict, total=False): ... @typing.type_check_only -class LookupStreamObjectRequest(typing_extensions.TypedDict, total=False): +class LookupStreamObjectRequest(typing.TypedDict, total=False): sourceObjectIdentifier: SourceObjectIdentifier @typing.type_check_only -class Merge(typing_extensions.TypedDict, total=False): ... +class Merge(typing.TypedDict, total=False): ... @typing.type_check_only -class MongodbChangeStreamPosition(typing_extensions.TypedDict, total=False): +class MongodbChangeStreamPosition(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class MongodbCluster(typing_extensions.TypedDict, total=False): +class MongodbCluster(typing.TypedDict, total=False): databases: _list[MongodbDatabase] @typing.type_check_only -class MongodbCollection(typing_extensions.TypedDict, total=False): +class MongodbCollection(typing.TypedDict, total=False): collection: str fields: _list[MongodbField] @typing.type_check_only -class MongodbDatabase(typing_extensions.TypedDict, total=False): +class MongodbDatabase(typing.TypedDict, total=False): collections: _list[MongodbCollection] database: str @typing.type_check_only -class MongodbField(typing_extensions.TypedDict, total=False): +class MongodbField(typing.TypedDict, total=False): field: str @typing.type_check_only -class MongodbObjectIdentifier(typing_extensions.TypedDict, total=False): +class MongodbObjectIdentifier(typing.TypedDict, total=False): collection: str database: str @typing.type_check_only -class MongodbProfile(typing_extensions.TypedDict, total=False): +class MongodbProfile(typing.TypedDict, total=False): additionalOptions: dict[str, typing.Any] hostAddresses: _list[HostAddress] password: str @@ -398,16 +397,14 @@ class MongodbProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class MongodbSourceConfig(typing_extensions.TypedDict, total=False): +class MongodbSourceConfig(typing.TypedDict, total=False): excludeObjects: MongodbCluster includeObjects: MongodbCluster - jsonMode: typing_extensions.Literal[ - "MONGODB_JSON_MODE_UNSPECIFIED", "STRICT", "CANONICAL" - ] + jsonMode: typing.Literal["MONGODB_JSON_MODE_UNSPECIFIED", "STRICT", "CANONICAL"] maxConcurrentBackfillTasks: int @typing.type_check_only -class MongodbSslConfig(typing_extensions.TypedDict, total=False): +class MongodbSslConfig(typing.TypedDict, total=False): caCertificate: str caCertificateSet: bool clientCertificate: str @@ -417,10 +414,10 @@ class MongodbSslConfig(typing_extensions.TypedDict, total=False): secretManagerStoredClientKey: str @typing.type_check_only -class MostRecentStartPosition(typing_extensions.TypedDict, total=False): ... +class MostRecentStartPosition(typing.TypedDict, total=False): ... @typing.type_check_only -class MysqlColumn(typing_extensions.TypedDict, total=False): +class MysqlColumn(typing.TypedDict, total=False): collation: str column: str dataType: str @@ -432,26 +429,26 @@ class MysqlColumn(typing_extensions.TypedDict, total=False): scale: int @typing.type_check_only -class MysqlDatabase(typing_extensions.TypedDict, total=False): +class MysqlDatabase(typing.TypedDict, total=False): database: str mysqlTables: _list[MysqlTable] @typing.type_check_only -class MysqlGtidPosition(typing_extensions.TypedDict, total=False): +class MysqlGtidPosition(typing.TypedDict, total=False): gtidSet: str @typing.type_check_only -class MysqlLogPosition(typing_extensions.TypedDict, total=False): +class MysqlLogPosition(typing.TypedDict, total=False): logFile: str logPosition: int @typing.type_check_only -class MysqlObjectIdentifier(typing_extensions.TypedDict, total=False): +class MysqlObjectIdentifier(typing.TypedDict, total=False): database: str table: str @typing.type_check_only -class MysqlProfile(typing_extensions.TypedDict, total=False): +class MysqlProfile(typing.TypedDict, total=False): hostname: str password: str port: int @@ -460,11 +457,11 @@ class MysqlProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class MysqlRdbms(typing_extensions.TypedDict, total=False): +class MysqlRdbms(typing.TypedDict, total=False): mysqlDatabases: _list[MysqlDatabase] @typing.type_check_only -class MysqlSourceConfig(typing_extensions.TypedDict, total=False): +class MysqlSourceConfig(typing.TypedDict, total=False): binaryLogPosition: BinaryLogPosition excludeObjects: MysqlRdbms gtid: Gtid @@ -473,7 +470,7 @@ class MysqlSourceConfig(typing_extensions.TypedDict, total=False): maxConcurrentCdcTasks: int @typing.type_check_only -class MysqlSslConfig(typing_extensions.TypedDict, total=False): +class MysqlSslConfig(typing.TypedDict, total=False): caCertificate: str caCertificateSet: bool clientCertificate: str @@ -482,30 +479,35 @@ class MysqlSslConfig(typing_extensions.TypedDict, total=False): clientKeySet: bool @typing.type_check_only -class MysqlTable(typing_extensions.TypedDict, total=False): +class MysqlTable(typing.TypedDict, total=False): mysqlColumns: _list[MysqlColumn] table: str @typing.type_check_only -class NextAvailableStartPosition(typing_extensions.TypedDict, total=False): ... +class NextAvailableStartPosition(typing.TypedDict, total=False): ... @typing.type_check_only -class Oauth2ClientCredentials(typing_extensions.TypedDict, total=False): +class Oauth2ClientCredentials(typing.TypedDict, total=False): clientId: str clientSecret: str secretManagerStoredClientSecret: str @typing.type_check_only -class OauthClientCredentials(typing_extensions.TypedDict, total=False): +class OauthClientCredentials(typing.TypedDict, total=False): clientId: str clientSecret: Secret @typing.type_check_only -class ObjectFilter(typing_extensions.TypedDict, total=False): +class OauthRefreshTokenCredentials(typing.TypedDict, total=False): + oauthClientCredentials: OauthClientCredentials + refreshToken: Secret + +@typing.type_check_only +class ObjectFilter(typing.TypedDict, total=False): sourceObjectIdentifier: SourceObjectIdentifier @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -513,7 +515,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -524,7 +526,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OracleAsmConfig(typing_extensions.TypedDict, total=False): +class OracleAsmConfig(typing.TypedDict, total=False): asmService: str connectionAttributes: dict[str, typing.Any] hostname: str @@ -535,10 +537,10 @@ class OracleAsmConfig(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class OracleAsmLogFileAccess(typing_extensions.TypedDict, total=False): ... +class OracleAsmLogFileAccess(typing.TypedDict, total=False): ... @typing.type_check_only -class OracleColumn(typing_extensions.TypedDict, total=False): +class OracleColumn(typing.TypedDict, total=False): column: str dataType: str encoding: str @@ -550,12 +552,12 @@ class OracleColumn(typing_extensions.TypedDict, total=False): scale: int @typing.type_check_only -class OracleObjectIdentifier(typing_extensions.TypedDict, total=False): +class OracleObjectIdentifier(typing.TypedDict, total=False): schema: str table: str @typing.type_check_only -class OracleProfile(typing_extensions.TypedDict, total=False): +class OracleProfile(typing.TypedDict, total=False): connectionAttributes: dict[str, typing.Any] databaseService: str hostname: str @@ -567,20 +569,20 @@ class OracleProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class OracleRdbms(typing_extensions.TypedDict, total=False): +class OracleRdbms(typing.TypedDict, total=False): oracleSchemas: _list[OracleSchema] @typing.type_check_only -class OracleSchema(typing_extensions.TypedDict, total=False): +class OracleSchema(typing.TypedDict, total=False): oracleTables: _list[OracleTable] schema: str @typing.type_check_only -class OracleScnPosition(typing_extensions.TypedDict, total=False): +class OracleScnPosition(typing.TypedDict, total=False): scn: str @typing.type_check_only -class OracleSourceConfig(typing_extensions.TypedDict, total=False): +class OracleSourceConfig(typing.TypedDict, total=False): binaryLogParser: BinaryLogParser dropLargeObjects: DropLargeObjects excludeObjects: OracleRdbms @@ -591,18 +593,18 @@ class OracleSourceConfig(typing_extensions.TypedDict, total=False): streamLargeObjects: StreamLargeObjects @typing.type_check_only -class OracleSslConfig(typing_extensions.TypedDict, total=False): +class OracleSslConfig(typing.TypedDict, total=False): caCertificate: str caCertificateSet: bool serverCertificateDistinguishedName: str @typing.type_check_only -class OracleTable(typing_extensions.TypedDict, total=False): +class OracleTable(typing.TypedDict, total=False): oracleColumns: _list[OracleColumn] table: str @typing.type_check_only -class PostgresqlColumn(typing_extensions.TypedDict, total=False): +class PostgresqlColumn(typing.TypedDict, total=False): column: str dataType: str length: int @@ -613,12 +615,12 @@ class PostgresqlColumn(typing_extensions.TypedDict, total=False): scale: int @typing.type_check_only -class PostgresqlObjectIdentifier(typing_extensions.TypedDict, total=False): +class PostgresqlObjectIdentifier(typing.TypedDict, total=False): schema: str table: str @typing.type_check_only -class PostgresqlProfile(typing_extensions.TypedDict, total=False): +class PostgresqlProfile(typing.TypedDict, total=False): database: str hostname: str password: str @@ -628,16 +630,16 @@ class PostgresqlProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class PostgresqlRdbms(typing_extensions.TypedDict, total=False): +class PostgresqlRdbms(typing.TypedDict, total=False): postgresqlSchemas: _list[PostgresqlSchema] @typing.type_check_only -class PostgresqlSchema(typing_extensions.TypedDict, total=False): +class PostgresqlSchema(typing.TypedDict, total=False): postgresqlTables: _list[PostgresqlTable] schema: str @typing.type_check_only -class PostgresqlSourceConfig(typing_extensions.TypedDict, total=False): +class PostgresqlSourceConfig(typing.TypedDict, total=False): excludeObjects: PostgresqlRdbms includeObjects: PostgresqlRdbms maxConcurrentBackfillTasks: int @@ -645,27 +647,27 @@ class PostgresqlSourceConfig(typing_extensions.TypedDict, total=False): replicationSlot: str @typing.type_check_only -class PostgresqlSslConfig(typing_extensions.TypedDict, total=False): +class PostgresqlSslConfig(typing.TypedDict, total=False): serverAndClientVerification: ServerAndClientVerification serverVerification: ServerVerification @typing.type_check_only -class PostgresqlTable(typing_extensions.TypedDict, total=False): +class PostgresqlTable(typing.TypedDict, total=False): postgresqlColumns: _list[PostgresqlColumn] table: str @typing.type_check_only -class PreconditionFailure(typing_extensions.TypedDict, total=False): +class PreconditionFailure(typing.TypedDict, total=False): violations: _list[PreconditionFailureViolation] @typing.type_check_only -class PreconditionFailureViolation(typing_extensions.TypedDict, total=False): +class PreconditionFailureViolation(typing.TypedDict, total=False): description: str subject: str type: str @typing.type_check_only -class PrivateConnection(typing_extensions.TypedDict, total=False): +class PrivateConnection(typing.TypedDict, total=False): createTime: str displayName: str error: Error @@ -674,7 +676,7 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): pscInterfaceConfig: PscInterfaceConfig satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", @@ -686,19 +688,19 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): vpcPeeringConfig: VpcPeeringConfig @typing.type_check_only -class PrivateConnectivity(typing_extensions.TypedDict, total=False): +class PrivateConnectivity(typing.TypedDict, total=False): privateConnection: str @typing.type_check_only -class PscInterfaceConfig(typing_extensions.TypedDict, total=False): +class PscInterfaceConfig(typing.TypedDict, total=False): networkAttachment: str @typing.type_check_only -class QuotaFailure(typing_extensions.TypedDict, total=False): +class QuotaFailure(typing.TypedDict, total=False): violations: _list[QuotaFailureViolation] @typing.type_check_only -class QuotaFailureViolation(typing_extensions.TypedDict, total=False): +class QuotaFailureViolation(typing.TypedDict, total=False): apiService: str description: str futureQuotaValue: str @@ -709,23 +711,23 @@ class QuotaFailureViolation(typing_extensions.TypedDict, total=False): subject: str @typing.type_check_only -class RequestInfo(typing_extensions.TypedDict, total=False): +class RequestInfo(typing.TypedDict, total=False): requestId: str servingData: str @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ResourceInfo(typing.TypedDict, total=False): description: str owner: str resourceName: str resourceType: str @typing.type_check_only -class RetryInfo(typing_extensions.TypedDict, total=False): +class RetryInfo(typing.TypedDict, total=False): retryDelay: str @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): createTime: str destinationAddress: str destinationPort: int @@ -735,97 +737,97 @@ class Route(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RuleSet(typing_extensions.TypedDict, total=False): +class RuleSet(typing.TypedDict, total=False): customizationRules: _list[CustomizationRule] objectFilter: ObjectFilter @typing.type_check_only -class RunStreamRequest(typing_extensions.TypedDict, total=False): +class RunStreamRequest(typing.TypedDict, total=False): cdcStrategy: CdcStrategy force: bool @typing.type_check_only -class SalesforceField(typing_extensions.TypedDict, total=False): +class SalesforceField(typing.TypedDict, total=False): dataType: str name: str nillable: bool @typing.type_check_only -class SalesforceMarketingCloudProfile(typing_extensions.TypedDict, total=False): +class SalesforceMarketingCloudProfile(typing.TypedDict, total=False): oauthClientCredentials: OauthClientCredentials subdomain: str @typing.type_check_only -class SalesforceMarketingCloudSourceConfig(typing_extensions.TypedDict, total=False): +class SalesforceMarketingCloudSourceConfig(typing.TypedDict, total=False): excludeObjects: SourceCatalog fullRefreshPollingInterval: str includeObjects: SourceCatalog pollingInterval: str @typing.type_check_only -class SalesforceObject(typing_extensions.TypedDict, total=False): +class SalesforceObject(typing.TypedDict, total=False): fields: _list[SalesforceField] objectName: str @typing.type_check_only -class SalesforceObjectIdentifier(typing_extensions.TypedDict, total=False): +class SalesforceObjectIdentifier(typing.TypedDict, total=False): objectName: str @typing.type_check_only -class SalesforceOrg(typing_extensions.TypedDict, total=False): +class SalesforceOrg(typing.TypedDict, total=False): objects: _list[SalesforceObject] @typing.type_check_only -class SalesforceProfile(typing_extensions.TypedDict, total=False): +class SalesforceProfile(typing.TypedDict, total=False): domain: str oauth2ClientCredentials: Oauth2ClientCredentials userCredentials: UserCredentials @typing.type_check_only -class SalesforceSourceConfig(typing_extensions.TypedDict, total=False): +class SalesforceSourceConfig(typing.TypedDict, total=False): excludeObjects: SalesforceOrg includeObjects: SalesforceOrg pollingInterval: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): rawValue: str secretVersion: str @typing.type_check_only -class ServerAndClientVerification(typing_extensions.TypedDict, total=False): +class ServerAndClientVerification(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str serverCertificateHostname: str @typing.type_check_only -class ServerVerification(typing_extensions.TypedDict, total=False): +class ServerVerification(typing.TypedDict, total=False): caCertificate: str serverCertificateHostname: str @typing.type_check_only -class ServiceNowProfile(typing_extensions.TypedDict, total=False): +class ServiceNowProfile(typing.TypedDict, total=False): instance: str oauthClientCredentials: OauthClientCredentials userPasswordCredentials: UserPasswordCredentials @typing.type_check_only -class ServiceNowSourceConfig(typing_extensions.TypedDict, total=False): +class ServiceNowSourceConfig(typing.TypedDict, total=False): excludeObjects: SourceCatalog includeObjects: SourceCatalog pollingInterval: str @typing.type_check_only -class SingleTargetDataset(typing_extensions.TypedDict, total=False): +class SingleTargetDataset(typing.TypedDict, total=False): datasetId: str @typing.type_check_only -class SourceCatalog(typing_extensions.TypedDict, total=False): +class SourceCatalog(typing.TypedDict, total=False): objects: _list[SourceObject] @typing.type_check_only -class SourceConfig(typing_extensions.TypedDict, total=False): +class SourceConfig(typing.TypedDict, total=False): dataverseSourceConfig: DataverseSourceConfig mongodbSourceConfig: MongodbSourceConfig mysqlSourceConfig: MysqlSourceConfig @@ -837,19 +839,20 @@ class SourceConfig(typing_extensions.TypedDict, total=False): sourceConnectionProfile: str spannerSourceConfig: SpannerSourceConfig sqlServerSourceConfig: SqlServerSourceConfig + workdaySourceConfig: WorkdaySourceConfig @typing.type_check_only -class SourceHierarchyDatasets(typing_extensions.TypedDict, total=False): +class SourceHierarchyDatasets(typing.TypedDict, total=False): datasetTemplate: DatasetTemplate projectId: str @typing.type_check_only -class SourceObject(typing_extensions.TypedDict, total=False): +class SourceObject(typing.TypedDict, total=False): objectName: str properties: _list[SourceProperty] @typing.type_check_only -class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): +class SourceObjectIdentifier(typing.TypedDict, total=False): mongodbIdentifier: MongodbObjectIdentifier mysqlIdentifier: MysqlObjectIdentifier oracleIdentifier: OracleObjectIdentifier @@ -859,43 +862,43 @@ class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): sqlServerIdentifier: SqlServerObjectIdentifier @typing.type_check_only -class SourceProperty(typing_extensions.TypedDict, total=False): +class SourceProperty(typing.TypedDict, total=False): primaryKey: bool properties: _list[SourceProperty] propertyName: str @typing.type_check_only -class SpannerChangeStreamPosition(typing_extensions.TypedDict, total=False): +class SpannerChangeStreamPosition(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class SpannerColumn(typing_extensions.TypedDict, total=False): +class SpannerColumn(typing.TypedDict, total=False): column: str dataType: str isPrimaryKey: bool ordinalPosition: str @typing.type_check_only -class SpannerDatabase(typing_extensions.TypedDict, total=False): +class SpannerDatabase(typing.TypedDict, total=False): schemas: _list[SpannerSchema] @typing.type_check_only -class SpannerObjectIdentifier(typing_extensions.TypedDict, total=False): +class SpannerObjectIdentifier(typing.TypedDict, total=False): schema: str table: str @typing.type_check_only -class SpannerProfile(typing_extensions.TypedDict, total=False): +class SpannerProfile(typing.TypedDict, total=False): database: str host: str @typing.type_check_only -class SpannerSchema(typing_extensions.TypedDict, total=False): +class SpannerSchema(typing.TypedDict, total=False): schema: str tables: _list[SpannerTable] @typing.type_check_only -class SpannerSourceConfig(typing_extensions.TypedDict, total=False): +class SpannerSourceConfig(typing.TypedDict, total=False): backfillDataBoostEnabled: bool changeStreamName: str excludeObjects: SpannerDatabase @@ -903,17 +906,17 @@ class SpannerSourceConfig(typing_extensions.TypedDict, total=False): includeObjects: SpannerDatabase maxConcurrentBackfillTasks: int maxConcurrentCdcTasks: int - spannerRpcPriority: typing_extensions.Literal[ + spannerRpcPriority: typing.Literal[ "SPANNER_RPC_PRIORITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] @typing.type_check_only -class SpannerTable(typing_extensions.TypedDict, total=False): +class SpannerTable(typing.TypedDict, total=False): columns: _list[SpannerColumn] table: str @typing.type_check_only -class SpecificStartPosition(typing_extensions.TypedDict, total=False): +class SpecificStartPosition(typing.TypedDict, total=False): mongodbChangeStreamPosition: MongodbChangeStreamPosition mysqlGtidPosition: MysqlGtidPosition mysqlLogPosition: MysqlLogPosition @@ -922,10 +925,10 @@ class SpecificStartPosition(typing_extensions.TypedDict, total=False): sqlServerLsnPosition: SqlServerLsnPosition @typing.type_check_only -class SqlServerChangeTables(typing_extensions.TypedDict, total=False): ... +class SqlServerChangeTables(typing.TypedDict, total=False): ... @typing.type_check_only -class SqlServerColumn(typing_extensions.TypedDict, total=False): +class SqlServerColumn(typing.TypedDict, total=False): column: str dataType: str length: int @@ -936,16 +939,16 @@ class SqlServerColumn(typing_extensions.TypedDict, total=False): scale: int @typing.type_check_only -class SqlServerLsnPosition(typing_extensions.TypedDict, total=False): +class SqlServerLsnPosition(typing.TypedDict, total=False): lsn: str @typing.type_check_only -class SqlServerObjectIdentifier(typing_extensions.TypedDict, total=False): +class SqlServerObjectIdentifier(typing.TypedDict, total=False): schema: str table: str @typing.type_check_only -class SqlServerProfile(typing_extensions.TypedDict, total=False): +class SqlServerProfile(typing.TypedDict, total=False): database: str hostname: str password: str @@ -955,16 +958,16 @@ class SqlServerProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class SqlServerRdbms(typing_extensions.TypedDict, total=False): +class SqlServerRdbms(typing.TypedDict, total=False): schemas: _list[SqlServerSchema] @typing.type_check_only -class SqlServerSchema(typing_extensions.TypedDict, total=False): +class SqlServerSchema(typing.TypedDict, total=False): schema: str tables: _list[SqlServerTable] @typing.type_check_only -class SqlServerSourceConfig(typing_extensions.TypedDict, total=False): +class SqlServerSourceConfig(typing.TypedDict, total=False): changeTables: SqlServerChangeTables excludeObjects: SqlServerRdbms includeObjects: SqlServerRdbms @@ -973,52 +976,52 @@ class SqlServerSourceConfig(typing_extensions.TypedDict, total=False): transactionLogs: SqlServerTransactionLogs @typing.type_check_only -class SqlServerSslConfig(typing_extensions.TypedDict, total=False): +class SqlServerSslConfig(typing.TypedDict, total=False): basicEncryption: BasicEncryption encryptionAndServerValidation: EncryptionAndServerValidation encryptionNotEnforced: EncryptionNotEnforced @typing.type_check_only -class SqlServerTable(typing_extensions.TypedDict, total=False): +class SqlServerTable(typing.TypedDict, total=False): columns: _list[SqlServerColumn] table: str @typing.type_check_only -class SqlServerTransactionLogs(typing_extensions.TypedDict, total=False): ... +class SqlServerTransactionLogs(typing.TypedDict, total=False): ... @typing.type_check_only -class SrvConnectionFormat(typing_extensions.TypedDict, total=False): ... +class SrvConnectionFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class StandardConnectionFormat(typing_extensions.TypedDict, total=False): +class StandardConnectionFormat(typing.TypedDict, total=False): directConnection: bool @typing.type_check_only -class StartBackfillJobRequest(typing_extensions.TypedDict, total=False): +class StartBackfillJobRequest(typing.TypedDict, total=False): eventFilter: EventFilter @typing.type_check_only -class StartBackfillJobResponse(typing_extensions.TypedDict, total=False): +class StartBackfillJobResponse(typing.TypedDict, total=False): object: StreamObject @typing.type_check_only -class StaticServiceIpConnectivity(typing_extensions.TypedDict, total=False): ... +class StaticServiceIpConnectivity(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopBackfillJobRequest(typing_extensions.TypedDict, total=False): ... +class StopBackfillJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopBackfillJobResponse(typing_extensions.TypedDict, total=False): +class StopBackfillJobResponse(typing.TypedDict, total=False): object: StreamObject @typing.type_check_only -class Stream(typing_extensions.TypedDict, total=False): +class Stream(typing.TypedDict, total=False): backfillAll: BackfillAllStrategy backfillNone: BackfillNoneStrategy createTime: str @@ -1033,7 +1036,7 @@ class Stream(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool sourceConfig: SourceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NOT_STARTED", "RUNNING", @@ -1047,10 +1050,10 @@ class Stream(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class StreamLargeObjects(typing_extensions.TypedDict, total=False): ... +class StreamLargeObjects(typing.TypedDict, total=False): ... @typing.type_check_only -class StreamObject(typing_extensions.TypedDict, total=False): +class StreamObject(typing.TypedDict, total=False): backfillJob: BackfillJob createTime: str customizationRules: _list[CustomizationRule] @@ -1061,9 +1064,9 @@ class StreamObject(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TimeUnitPartition(typing_extensions.TypedDict, total=False): +class TimeUnitPartition(typing.TypedDict, total=False): column: str - partitioningTimeGranularity: typing_extensions.Literal[ + partitioningTimeGranularity: typing.Literal[ "PARTITIONING_TIME_GRANULARITY_UNSPECIFIED", "PARTITIONING_TIME_GRANULARITY_HOUR", "PARTITIONING_TIME_GRANULARITY_DAY", @@ -1072,7 +1075,7 @@ class TimeUnitPartition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UserCredentials(typing_extensions.TypedDict, total=False): +class UserCredentials(typing.TypedDict, total=False): password: str secretManagerStoredPassword: str secretManagerStoredSecurityToken: str @@ -1080,31 +1083,43 @@ class UserCredentials(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class UserPasswordCredentials(typing_extensions.TypedDict, total=False): +class UserPasswordCredentials(typing.TypedDict, total=False): password: Secret username: str @typing.type_check_only -class Validation(typing_extensions.TypedDict, total=False): +class Validation(typing.TypedDict, total=False): code: str description: str message: _list[ValidationMessage] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NOT_EXECUTED", "FAILED", "PASSED", "WARNING" ] @typing.type_check_only -class ValidationMessage(typing_extensions.TypedDict, total=False): +class ValidationMessage(typing.TypedDict, total=False): code: str - level: typing_extensions.Literal["LEVEL_UNSPECIFIED", "WARNING", "ERROR"] + level: typing.Literal["LEVEL_UNSPECIFIED", "WARNING", "ERROR"] message: str metadata: dict[str, typing.Any] @typing.type_check_only -class ValidationResult(typing_extensions.TypedDict, total=False): +class ValidationResult(typing.TypedDict, total=False): validations: _list[Validation] @typing.type_check_only -class VpcPeeringConfig(typing_extensions.TypedDict, total=False): +class VpcPeeringConfig(typing.TypedDict, total=False): subnet: str vpc: str + +@typing.type_check_only +class WorkdayProfile(typing.TypedDict, total=False): + host: str + oauthRefreshTokenCredentials: OauthRefreshTokenCredentials + tenant: str + +@typing.type_check_only +class WorkdaySourceConfig(typing.TypedDict, total=False): + excludeObjects: SourceCatalog + includeObjects: SourceCatalog + pollingInterval: str diff --git a/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi index c30ba089d..d6e3a9086 100644 --- a/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi index cbe085706..1ce07d569 100644 --- a/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AvroFileFormat(typing_extensions.TypedDict, total=False): ... +class AvroFileFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class BackfillAllStrategy(typing_extensions.TypedDict, total=False): +class BackfillAllStrategy(typing.TypedDict, total=False): mysqlExcludedObjects: MysqlRdbms oracleExcludedObjects: OracleRdbms @typing.type_check_only -class BackfillJob(typing_extensions.TypedDict, total=False): +class BackfillJob(typing.TypedDict, total=False): errors: _list[Error] lastEndTime: str lastStartTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NOT_STARTED", "PENDING", @@ -27,20 +25,20 @@ class BackfillJob(typing_extensions.TypedDict, total=False): "COMPLETED", "UNSUPPORTED", ] - trigger: typing_extensions.Literal["TRIGGER_UNSPECIFIED", "AUTOMATIC", "MANUAL"] + trigger: typing.Literal["TRIGGER_UNSPECIFIED", "AUTOMATIC", "MANUAL"] @typing.type_check_only -class BackfillNoneStrategy(typing_extensions.TypedDict, total=False): ... +class BackfillNoneStrategy(typing.TypedDict, total=False): ... @typing.type_check_only -class BadRequest(typing_extensions.TypedDict, total=False): +class BadRequest(typing.TypedDict, total=False): fieldViolations: _list[FieldViolation] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ConnectionProfile(typing_extensions.TypedDict, total=False): +class ConnectionProfile(typing.TypedDict, total=False): createTime: str displayName: str forwardSshConnectivity: ForwardSshTunnelConnectivity @@ -55,17 +53,17 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DebugInfo(typing_extensions.TypedDict, total=False): +class DebugInfo(typing.TypedDict, total=False): detail: str stackEntries: _list[str] @typing.type_check_only -class DestinationConfig(typing_extensions.TypedDict, total=False): +class DestinationConfig(typing.TypedDict, total=False): destinationConnectionProfileName: str gcsDestinationConfig: GcsDestinationConfig @typing.type_check_only -class DiscoverConnectionProfileRequest(typing_extensions.TypedDict, total=False): +class DiscoverConnectionProfileRequest(typing.TypedDict, total=False): connectionProfile: ConnectionProfile connectionProfileName: str mysqlRdbms: MysqlRdbms @@ -74,18 +72,18 @@ class DiscoverConnectionProfileRequest(typing_extensions.TypedDict, total=False) recursive: bool @typing.type_check_only -class DiscoverConnectionProfileResponse(typing_extensions.TypedDict, total=False): +class DiscoverConnectionProfileResponse(typing.TypedDict, total=False): mysqlRdbms: MysqlRdbms oracleRdbms: OracleRdbms @typing.type_check_only -class DropLargeObjects(typing_extensions.TypedDict, total=False): ... +class DropLargeObjects(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): details: dict[str, typing.Any] errorTime: str errorUuid: str @@ -93,32 +91,32 @@ class Error(typing_extensions.TypedDict, total=False): reason: str @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadata: dict[str, typing.Any] reason: str @typing.type_check_only -class FetchErrorsRequest(typing_extensions.TypedDict, total=False): ... +class FetchErrorsRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchErrorsResponse(typing_extensions.TypedDict, total=False): +class FetchErrorsResponse(typing.TypedDict, total=False): errors: _list[Error] @typing.type_check_only -class FetchStaticIpsResponse(typing_extensions.TypedDict, total=False): +class FetchStaticIpsResponse(typing.TypedDict, total=False): nextPageToken: str staticIps: _list[str] @typing.type_check_only -class FieldViolation(typing_extensions.TypedDict, total=False): +class FieldViolation(typing.TypedDict, total=False): description: str field: str localizedMessage: LocalizedMessage reason: str @typing.type_check_only -class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): +class ForwardSshTunnelConnectivity(typing.TypedDict, total=False): hostname: str password: str port: int @@ -126,84 +124,84 @@ class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class GcsDestinationConfig(typing_extensions.TypedDict, total=False): +class GcsDestinationConfig(typing.TypedDict, total=False): avroFileFormat: AvroFileFormat fileRotationInterval: str fileRotationMb: int - gcsFileFormat: typing_extensions.Literal["GCS_FILE_FORMAT_UNSPECIFIED", "AVRO"] + gcsFileFormat: typing.Literal["GCS_FILE_FORMAT_UNSPECIFIED", "AVRO"] jsonFileFormat: JsonFileFormat path: str @typing.type_check_only -class GcsProfile(typing_extensions.TypedDict, total=False): +class GcsProfile(typing.TypedDict, total=False): bucketName: str rootPath: str @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[Link] @typing.type_check_only -class JsonFileFormat(typing_extensions.TypedDict, total=False): - compression: typing_extensions.Literal[ +class JsonFileFormat(typing.TypedDict, total=False): + compression: typing.Literal[ "JSON_COMPRESSION_UNSPECIFIED", "NO_COMPRESSION", "GZIP" ] - schemaFileFormat: typing_extensions.Literal[ + schemaFileFormat: typing.Literal[ "SCHEMA_FILE_FORMAT_UNSPECIFIED", "NO_SCHEMA_FILE", "AVRO_SCHEMA_FILE" ] @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ListConnectionProfilesResponse(typing_extensions.TypedDict, total=False): +class ListConnectionProfilesResponse(typing.TypedDict, total=False): connectionProfiles: _list[ConnectionProfile] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListPrivateConnectionsResponse(typing.TypedDict, total=False): nextPageToken: str privateConnections: _list[PrivateConnection] unreachable: _list[str] @typing.type_check_only -class ListRoutesResponse(typing_extensions.TypedDict, total=False): +class ListRoutesResponse(typing.TypedDict, total=False): nextPageToken: str routes: _list[Route] unreachable: _list[str] @typing.type_check_only -class ListStreamObjectsResponse(typing_extensions.TypedDict, total=False): +class ListStreamObjectsResponse(typing.TypedDict, total=False): nextPageToken: str streamObjects: _list[StreamObject] @typing.type_check_only -class ListStreamsResponse(typing_extensions.TypedDict, total=False): +class ListStreamsResponse(typing.TypedDict, total=False): nextPageToken: str streams: _list[Stream] unreachable: _list[str] @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -211,7 +209,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MysqlColumn(typing_extensions.TypedDict, total=False): +class MysqlColumn(typing.TypedDict, total=False): collation: str columnName: str dataType: str @@ -221,17 +219,17 @@ class MysqlColumn(typing_extensions.TypedDict, total=False): primaryKey: bool @typing.type_check_only -class MysqlDatabase(typing_extensions.TypedDict, total=False): +class MysqlDatabase(typing.TypedDict, total=False): databaseName: str mysqlTables: _list[MysqlTable] @typing.type_check_only -class MysqlObjectIdentifier(typing_extensions.TypedDict, total=False): +class MysqlObjectIdentifier(typing.TypedDict, total=False): database: str table: str @typing.type_check_only -class MysqlProfile(typing_extensions.TypedDict, total=False): +class MysqlProfile(typing.TypedDict, total=False): hostname: str password: str port: int @@ -239,16 +237,16 @@ class MysqlProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class MysqlRdbms(typing_extensions.TypedDict, total=False): +class MysqlRdbms(typing.TypedDict, total=False): mysqlDatabases: _list[MysqlDatabase] @typing.type_check_only -class MysqlSourceConfig(typing_extensions.TypedDict, total=False): +class MysqlSourceConfig(typing.TypedDict, total=False): allowlist: MysqlRdbms rejectlist: MysqlRdbms @typing.type_check_only -class MysqlSslConfig(typing_extensions.TypedDict, total=False): +class MysqlSslConfig(typing.TypedDict, total=False): caCertificate: str caCertificateSet: bool clientCertificate: str @@ -257,15 +255,15 @@ class MysqlSslConfig(typing_extensions.TypedDict, total=False): clientKeySet: bool @typing.type_check_only -class MysqlTable(typing_extensions.TypedDict, total=False): +class MysqlTable(typing.TypedDict, total=False): mysqlColumns: _list[MysqlColumn] tableName: str @typing.type_check_only -class NoConnectivitySettings(typing_extensions.TypedDict, total=False): ... +class NoConnectivitySettings(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -273,7 +271,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -284,7 +282,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OracleColumn(typing_extensions.TypedDict, total=False): +class OracleColumn(typing.TypedDict, total=False): columnName: str dataType: str encoding: str @@ -296,12 +294,12 @@ class OracleColumn(typing_extensions.TypedDict, total=False): scale: int @typing.type_check_only -class OracleObjectIdentifier(typing_extensions.TypedDict, total=False): +class OracleObjectIdentifier(typing.TypedDict, total=False): schema: str table: str @typing.type_check_only -class OracleProfile(typing_extensions.TypedDict, total=False): +class OracleProfile(typing.TypedDict, total=False): connectionAttributes: dict[str, typing.Any] databaseService: str hostname: str @@ -310,43 +308,43 @@ class OracleProfile(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class OracleRdbms(typing_extensions.TypedDict, total=False): +class OracleRdbms(typing.TypedDict, total=False): oracleSchemas: _list[OracleSchema] @typing.type_check_only -class OracleSchema(typing_extensions.TypedDict, total=False): +class OracleSchema(typing.TypedDict, total=False): oracleTables: _list[OracleTable] schemaName: str @typing.type_check_only -class OracleSourceConfig(typing_extensions.TypedDict, total=False): +class OracleSourceConfig(typing.TypedDict, total=False): allowlist: OracleRdbms dropLargeObjects: DropLargeObjects rejectlist: OracleRdbms @typing.type_check_only -class OracleTable(typing_extensions.TypedDict, total=False): +class OracleTable(typing.TypedDict, total=False): oracleColumns: _list[OracleColumn] tableName: str @typing.type_check_only -class PreconditionFailure(typing_extensions.TypedDict, total=False): +class PreconditionFailure(typing.TypedDict, total=False): violations: _list[PreconditionFailureViolation] @typing.type_check_only -class PreconditionFailureViolation(typing_extensions.TypedDict, total=False): +class PreconditionFailureViolation(typing.TypedDict, total=False): description: str subject: str type: str @typing.type_check_only -class PrivateConnection(typing_extensions.TypedDict, total=False): +class PrivateConnection(typing.TypedDict, total=False): createTime: str displayName: str error: Error labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CREATED", @@ -358,15 +356,15 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): vpcPeeringConfig: VpcPeeringConfig @typing.type_check_only -class PrivateConnectivity(typing_extensions.TypedDict, total=False): +class PrivateConnectivity(typing.TypedDict, total=False): privateConnectionName: str @typing.type_check_only -class QuotaFailure(typing_extensions.TypedDict, total=False): +class QuotaFailure(typing.TypedDict, total=False): violations: _list[QuotaFailureViolation] @typing.type_check_only -class QuotaFailureViolation(typing_extensions.TypedDict, total=False): +class QuotaFailureViolation(typing.TypedDict, total=False): apiService: str description: str futureQuotaValue: str @@ -377,23 +375,23 @@ class QuotaFailureViolation(typing_extensions.TypedDict, total=False): subject: str @typing.type_check_only -class RequestInfo(typing_extensions.TypedDict, total=False): +class RequestInfo(typing.TypedDict, total=False): requestId: str servingData: str @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ResourceInfo(typing.TypedDict, total=False): description: str owner: str resourceName: str resourceType: str @typing.type_check_only -class RetryInfo(typing_extensions.TypedDict, total=False): +class RetryInfo(typing.TypedDict, total=False): retryDelay: str @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): createTime: str destinationAddress: str destinationPort: int @@ -403,35 +401,35 @@ class Route(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SourceConfig(typing_extensions.TypedDict, total=False): +class SourceConfig(typing.TypedDict, total=False): mysqlSourceConfig: MysqlSourceConfig oracleSourceConfig: OracleSourceConfig sourceConnectionProfileName: str @typing.type_check_only -class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): +class SourceObjectIdentifier(typing.TypedDict, total=False): mysqlIdentifier: MysqlObjectIdentifier oracleIdentifier: OracleObjectIdentifier @typing.type_check_only -class StartBackfillJobResponse(typing_extensions.TypedDict, total=False): +class StartBackfillJobResponse(typing.TypedDict, total=False): object: StreamObject @typing.type_check_only -class StaticServiceIpConnectivity(typing_extensions.TypedDict, total=False): ... +class StaticServiceIpConnectivity(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopBackfillJobResponse(typing_extensions.TypedDict, total=False): +class StopBackfillJobResponse(typing.TypedDict, total=False): object: StreamObject @typing.type_check_only -class Stream(typing_extensions.TypedDict, total=False): +class Stream(typing.TypedDict, total=False): backfillAll: BackfillAllStrategy backfillNone: BackfillNoneStrategy createTime: str @@ -442,7 +440,7 @@ class Stream(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str sourceConfig: SourceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", @@ -456,7 +454,7 @@ class Stream(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class StreamObject(typing_extensions.TypedDict, total=False): +class StreamObject(typing.TypedDict, total=False): backfillJob: BackfillJob createTime: str displayName: str @@ -466,26 +464,24 @@ class StreamObject(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Validation(typing_extensions.TypedDict, total=False): +class Validation(typing.TypedDict, total=False): code: str description: str message: _list[ValidationMessage] - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "NOT_EXECUTED", "FAILED", "PASSED" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "NOT_EXECUTED", "FAILED", "PASSED"] @typing.type_check_only -class ValidationMessage(typing_extensions.TypedDict, total=False): +class ValidationMessage(typing.TypedDict, total=False): code: str - level: typing_extensions.Literal["LEVEL_UNSPECIFIED", "WARNING", "ERROR"] + level: typing.Literal["LEVEL_UNSPECIFIED", "WARNING", "ERROR"] message: str metadata: dict[str, typing.Any] @typing.type_check_only -class ValidationResult(typing_extensions.TypedDict, total=False): +class ValidationResult(typing.TypedDict, total=False): validations: _list[Validation] @typing.type_check_only -class VpcPeeringConfig(typing_extensions.TypedDict, total=False): +class VpcPeeringConfig(typing.TypedDict, total=False): subnet: str vpcName: str diff --git a/googleapiclient-stubs/_apis/deploymentmanager/alpha/resources.pyi b/googleapiclient-stubs/_apis/deploymentmanager/alpha/resources.pyi index 671e61d7e..246d65866 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -88,7 +87,7 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): *, project: str, deployment: str, - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -114,9 +113,7 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): *, project: str, body: Deployment, - createPolicy: typing_extensions.Literal[ - "CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE" - ] + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., @@ -143,11 +140,9 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): project: str, deployment: str, body: Deployment, - createPolicy: typing_extensions.Literal[ - "CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE" - ] + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE"] | None = ..., - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., **kwargs: typing.Any, @@ -183,11 +178,9 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): project: str, deployment: str, body: Deployment, - createPolicy: typing_extensions.Literal[ - "CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE" - ] + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE"] | None = ..., - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi index 87013fcf6..fad79b1a8 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi @@ -1,62 +1,58 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AsyncOptions(typing_extensions.TypedDict, total=False): +class AsyncOptions(typing.TypedDict, total=False): methodMatch: str pollingOptions: PollingOptions @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BaseType(typing_extensions.TypedDict, total=False): +class BaseType(typing.TypedDict, total=False): collectionOverrides: _list[CollectionOverride] credential: Credential descriptorUrl: str options: Options @typing.type_check_only -class BasicAuth(typing_extensions.TypedDict, total=False): +class BasicAuth(typing.TypedDict, total=False): password: str user: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): +class BulkInsertOperationStatus(typing.TypedDict, total=False): createdVmCount: int deletedVmCount: int failedToCreateVmCount: int - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "CREATING", "ROLLING_BACK", "DONE" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "CREATING", "ROLLING_BACK", "DONE"] targetVmCount: int @typing.type_check_only -class CollectionOverride(typing_extensions.TypedDict, total=False): +class CollectionOverride(typing.TypedDict, total=False): collection: str methodMap: MethodMap options: Options @typing.type_check_only -class CompositeType(typing_extensions.TypedDict, total=False): +class CompositeType(typing.TypedDict, total=False): description: str id: str insertTime: str @@ -64,38 +60,36 @@ class CompositeType(typing_extensions.TypedDict, total=False): name: str operation: Operation selfLink: str - status: typing_extensions.Literal[ - "UNKNOWN_STATUS", "DEPRECATED", "EXPERIMENTAL", "SUPPORTED" - ] + status: typing.Literal["UNKNOWN_STATUS", "DEPRECATED", "EXPERIMENTAL", "SUPPORTED"] templateContents: TemplateContents @typing.type_check_only -class CompositeTypeLabelEntry(typing_extensions.TypedDict, total=False): +class CompositeTypeLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class CompositeTypesListResponse(typing_extensions.TypedDict, total=False): +class CompositeTypesListResponse(typing.TypedDict, total=False): compositeTypes: _list[CompositeType] nextPageToken: str @typing.type_check_only -class ConfigFile(typing_extensions.TypedDict, total=False): +class ConfigFile(typing.TypedDict, total=False): content: str @typing.type_check_only -class Credential(typing_extensions.TypedDict, total=False): +class Credential(typing.TypedDict, total=False): basicAuth: BasicAuth serviceAccount: ServiceAccount useProjectDefault: bool @typing.type_check_only -class DebugInfo(typing_extensions.TypedDict, total=False): +class DebugInfo(typing.TypedDict, total=False): detail: str stackEntries: _list[str] @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): credential: Credential description: str fingerprint: str @@ -112,111 +106,111 @@ class Deployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeploymentLabelEntry(typing_extensions.TypedDict, total=False): +class DeploymentLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DeploymentOutputEntry(typing_extensions.TypedDict, total=False): +class DeploymentOutputEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DeploymentUpdate(typing_extensions.TypedDict, total=False): +class DeploymentUpdate(typing.TypedDict, total=False): credential: Credential description: str labels: _list[DeploymentUpdateLabelEntry] manifest: str @typing.type_check_only -class DeploymentUpdateLabelEntry(typing_extensions.TypedDict, total=False): +class DeploymentUpdateLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DeploymentsCancelPreviewRequest(typing_extensions.TypedDict, total=False): +class DeploymentsCancelPreviewRequest(typing.TypedDict, total=False): fingerprint: str @typing.type_check_only -class DeploymentsListResponse(typing_extensions.TypedDict, total=False): +class DeploymentsListResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str @typing.type_check_only -class DeploymentsStopRequest(typing_extensions.TypedDict, total=False): +class DeploymentsStopRequest(typing.TypedDict, total=False): fingerprint: str @typing.type_check_only -class Diagnostic(typing_extensions.TypedDict, total=False): +class Diagnostic(typing.TypedDict, total=False): field: str - level: typing_extensions.Literal["UNKNOWN", "INFORMATION", "WARNING", "ERROR"] + level: typing.Literal["UNKNOWN", "INFORMATION", "WARNING", "ERROR"] @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadatas: dict[str, typing.Any] reason: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FirewallPolicyRuleOperationMetadata(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleOperationMetadata(typing.TypedDict, total=False): allocatedPriority: int @typing.type_check_only -class GetVersionOperationMetadata(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadata(typing.TypedDict, total=False): inlineSbomInfo: GetVersionOperationMetadataSbomInfo @typing.type_check_only -class GetVersionOperationMetadataSbomInfo(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadataSbomInfo(typing.TypedDict, total=False): currentComponentVersions: dict[str, typing.Any] targetComponentVersions: dict[str, typing.Any] @typing.type_check_only -class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy updateMask: str @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[HelpLink] @typing.type_check_only -class HelpLink(typing_extensions.TypedDict, total=False): +class HelpLink(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ImportFile(typing_extensions.TypedDict, total=False): +class ImportFile(typing.TypedDict, total=False): content: str name: str @typing.type_check_only -class InputMapping(typing_extensions.TypedDict, total=False): +class InputMapping(typing.TypedDict, total=False): fieldName: str - location: typing_extensions.Literal["UNKNOWN", "PATH", "QUERY", "BODY", "HEADER"] + location: typing.Literal["UNKNOWN", "PATH", "QUERY", "BODY", "HEADER"] methodMatch: str value: str @typing.type_check_only -class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): +class InstancesBulkInsertOperationMetadata(typing.TypedDict, total=False): machineType: str perLocationStatus: dict[str, typing.Any] @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Manifest(typing_extensions.TypedDict, total=False): +class Manifest(typing.TypedDict, total=False): config: ConfigFile expandedConfig: str id: str @@ -229,12 +223,12 @@ class Manifest(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class ManifestsListResponse(typing_extensions.TypedDict, total=False): +class ManifestsListResponse(typing.TypedDict, total=False): manifests: _list[Manifest] nextPageToken: str @typing.type_check_only -class MethodMap(typing_extensions.TypedDict, total=False): +class MethodMap(typing.TypedDict, total=False): create: str delete: str get: str @@ -242,7 +236,7 @@ class MethodMap(typing_extensions.TypedDict, total=False): update: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clientOperationId: str creationTimestamp: str description: str @@ -268,7 +262,7 @@ class Operation(typing_extensions.TypedDict, total=False): SetCommonInstanceMetadataOperationMetadata ) startTime: str - status: typing_extensions.Literal["PENDING", "RUNNING", "DONE"] + status: typing.Literal["PENDING", "RUNNING", "DONE"] statusMessage: str targetId: str targetLink: str @@ -277,26 +271,26 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationsListResponse(typing_extensions.TypedDict, total=False): +class OperationsListResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Options(typing_extensions.TypedDict, total=False): +class Options(typing.TypedDict, total=False): asyncOptions: _list[AsyncOptions] inputMappings: _list[InputMapping] nameProperty: str validationOptions: ValidationOptions @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PollingOptions(typing_extensions.TypedDict, total=False): +class PollingOptions(typing.TypedDict, total=False): diagnostics: _list[Diagnostic] failCondition: str finishCondition: str @@ -304,18 +298,16 @@ class PollingOptions(typing_extensions.TypedDict, total=False): targetLink: str @typing.type_check_only -class QuotaExceededInfo(typing_extensions.TypedDict, total=False): +class QuotaExceededInfo(typing.TypedDict, total=False): dimensions: dict[str, typing.Any] futureLimit: float limit: float limitName: str metricName: str - rolloutStatus: typing_extensions.Literal[ - "ROLLOUT_STATUS_UNSPECIFIED", "IN_PROGRESS" - ] + rolloutStatus: typing.Literal["ROLLOUT_STATUS_UNSPECIFIED", "IN_PROGRESS"] @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): accessControl: ResourceAccessControl finalProperties: str id: str @@ -325,9 +317,7 @@ class Resource(typing_extensions.TypedDict, total=False): name: str properties: str runtimePolicies: _list[ - typing_extensions.Literal[ - "CREATE", "DELETE", "UPDATE_ON_CHANGE", "UPDATE_ALWAYS" - ] + typing.Literal["CREATE", "DELETE", "UPDATE_ON_CHANGE", "UPDATE_ALWAYS"] ] type: str update: ResourceUpdate @@ -336,89 +326,83 @@ class Resource(typing_extensions.TypedDict, total=False): warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class ResourceAccessControl(typing_extensions.TypedDict, total=False): +class ResourceAccessControl(typing.TypedDict, total=False): gcpIamPolicy: str @typing.type_check_only -class ResourceUpdate(typing_extensions.TypedDict, total=False): +class ResourceUpdate(typing.TypedDict, total=False): accessControl: ResourceAccessControl credential: Credential error: dict[str, typing.Any] finalProperties: str - intent: typing_extensions.Literal[ + intent: typing.Literal[ "CREATE_OR_ACQUIRE", "DELETE", "ACQUIRE", "UPDATE", "ABANDON", "CREATE" ] manifest: str properties: str runtimePolicies: _list[ - typing_extensions.Literal[ - "CREATE", "DELETE", "UPDATE_ON_CHANGE", "UPDATE_ALWAYS" - ] - ] - state: typing_extensions.Literal[ - "PENDING", "IN_PROGRESS", "IN_PREVIEW", "FAILED", "ABORTED" + typing.Literal["CREATE", "DELETE", "UPDATE_ON_CHANGE", "UPDATE_ALWAYS"] ] + state: typing.Literal["PENDING", "IN_PROGRESS", "IN_PREVIEW", "FAILED", "ABORTED"] warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class ResourcesListResponse(typing_extensions.TypedDict, total=False): +class ResourcesListResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Resource] @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str @typing.type_check_only -class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): +class SetAutoscalerLinkOperationMetadata(typing.TypedDict, total=False): zonalIgmIds: _list[str] zoneToIgmIds: dict[str, typing.Any] @typing.type_check_only -class SetCommonInstanceMetadataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class SetCommonInstanceMetadataOperationMetadata(typing.TypedDict, total=False): clientOperationId: str perLocationOperations: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status - state: typing_extensions.Literal[ + state: typing.Literal[ "UNSPECIFIED", "PROPAGATING", "PROPAGATED", "ABANDONED", "FAILED", "DONE" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TargetConfiguration(typing_extensions.TypedDict, total=False): +class TargetConfiguration(typing.TypedDict, total=False): config: ConfigFile imports: _list[ImportFile] @typing.type_check_only -class TemplateContents(typing_extensions.TypedDict, total=False): +class TemplateContents(typing.TypedDict, total=False): imports: _list[ImportFile] - interpreter: typing_extensions.Literal["UNKNOWN_INTERPRETER", "PYTHON", "JINJA"] + interpreter: typing.Literal["UNKNOWN_INTERPRETER", "PYTHON", "JINJA"] mainTemplate: str schema: str template: str @typing.type_check_only -class TestPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): base: BaseType description: str id: str @@ -429,7 +413,7 @@ class Type(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class TypeInfo(typing_extensions.TypedDict, total=False): +class TypeInfo(typing.TypedDict, total=False): description: str documentationLink: str kind: str @@ -439,17 +423,17 @@ class TypeInfo(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class TypeInfoSchemaInfo(typing_extensions.TypedDict, total=False): +class TypeInfoSchemaInfo(typing.TypedDict, total=False): input: str output: str @typing.type_check_only -class TypeLabelEntry(typing_extensions.TypedDict, total=False): +class TypeLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class TypeProvider(typing_extensions.TypedDict, total=False): +class TypeProvider(typing.TypedDict, total=False): collectionOverrides: _list[CollectionOverride] credential: Credential customCertificateAuthorityRoots: _list[str] @@ -464,31 +448,31 @@ class TypeProvider(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class TypeProviderLabelEntry(typing_extensions.TypedDict, total=False): +class TypeProviderLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class TypeProvidersListResponse(typing_extensions.TypedDict, total=False): +class TypeProvidersListResponse(typing.TypedDict, total=False): nextPageToken: str typeProviders: _list[TypeProvider] @typing.type_check_only -class TypeProvidersListTypesResponse(typing_extensions.TypedDict, total=False): +class TypeProvidersListTypesResponse(typing.TypedDict, total=False): nextPageToken: str types: _list[TypeInfo] @typing.type_check_only -class TypesListResponse(typing_extensions.TypedDict, total=False): +class TypesListResponse(typing.TypedDict, total=False): nextPageToken: str types: _list[Type] @typing.type_check_only -class ValidationOptions(typing_extensions.TypedDict, total=False): - schemaValidation: typing_extensions.Literal[ +class ValidationOptions(typing.TypedDict, total=False): + schemaValidation: typing.Literal[ "UNKNOWN", "IGNORE", "IGNORE_WITH_WARNINGS", "FAIL" ] - undeclaredProperties: typing_extensions.Literal[ + undeclaredProperties: typing.Literal[ "UNKNOWN", "INCLUDE", "IGNORE", diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2/resources.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2/resources.pyi index 84328d425..a2ac2ed7d 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -28,7 +27,7 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): *, project: str, deployment: str, - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -54,8 +53,7 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): *, project: str, body: Deployment, - createPolicy: typing_extensions.Literal["CREATE_OR_ACQUIRE", "ACQUIRE"] - | None = ..., + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., **kwargs: typing.Any, @@ -81,9 +79,8 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): project: str, deployment: str, body: Deployment, - createPolicy: typing_extensions.Literal["CREATE_OR_ACQUIRE", "ACQUIRE"] - | None = ..., - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., **kwargs: typing.Any, @@ -119,9 +116,8 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): project: str, deployment: str, body: Deployment, - createPolicy: typing_extensions.Literal["CREATE_OR_ACQUIRE", "ACQUIRE"] - | None = ..., - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi index 411a22151..f646540fe 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi @@ -1,48 +1,44 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): +class BulkInsertOperationStatus(typing.TypedDict, total=False): createdVmCount: int deletedVmCount: int failedToCreateVmCount: int - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "CREATING", "ROLLING_BACK", "DONE" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "CREATING", "ROLLING_BACK", "DONE"] targetVmCount: int @typing.type_check_only -class ConfigFile(typing_extensions.TypedDict, total=False): +class ConfigFile(typing.TypedDict, total=False): content: str @typing.type_check_only -class DebugInfo(typing_extensions.TypedDict, total=False): +class DebugInfo(typing.TypedDict, total=False): detail: str stackEntries: _list[str] @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): description: str fingerprint: str id: str @@ -57,93 +53,93 @@ class Deployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeploymentLabelEntry(typing_extensions.TypedDict, total=False): +class DeploymentLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DeploymentUpdate(typing_extensions.TypedDict, total=False): +class DeploymentUpdate(typing.TypedDict, total=False): description: str labels: _list[DeploymentUpdateLabelEntry] manifest: str @typing.type_check_only -class DeploymentUpdateLabelEntry(typing_extensions.TypedDict, total=False): +class DeploymentUpdateLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DeploymentsCancelPreviewRequest(typing_extensions.TypedDict, total=False): +class DeploymentsCancelPreviewRequest(typing.TypedDict, total=False): fingerprint: str @typing.type_check_only -class DeploymentsListResponse(typing_extensions.TypedDict, total=False): +class DeploymentsListResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str @typing.type_check_only -class DeploymentsStopRequest(typing_extensions.TypedDict, total=False): +class DeploymentsStopRequest(typing.TypedDict, total=False): fingerprint: str @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadatas: dict[str, typing.Any] reason: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FirewallPolicyRuleOperationMetadata(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleOperationMetadata(typing.TypedDict, total=False): allocatedPriority: int @typing.type_check_only -class GetVersionOperationMetadata(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadata(typing.TypedDict, total=False): inlineSbomInfo: GetVersionOperationMetadataSbomInfo @typing.type_check_only -class GetVersionOperationMetadataSbomInfo(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadataSbomInfo(typing.TypedDict, total=False): currentComponentVersions: dict[str, typing.Any] targetComponentVersions: dict[str, typing.Any] @typing.type_check_only -class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy updateMask: str @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[HelpLink] @typing.type_check_only -class HelpLink(typing_extensions.TypedDict, total=False): +class HelpLink(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ImportFile(typing_extensions.TypedDict, total=False): +class ImportFile(typing.TypedDict, total=False): content: str name: str @typing.type_check_only -class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): +class InstancesBulkInsertOperationMetadata(typing.TypedDict, total=False): machineType: str perLocationStatus: dict[str, typing.Any] @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Manifest(typing_extensions.TypedDict, total=False): +class Manifest(typing.TypedDict, total=False): config: ConfigFile expandedConfig: str id: str @@ -156,12 +152,12 @@ class Manifest(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class ManifestsListResponse(typing_extensions.TypedDict, total=False): +class ManifestsListResponse(typing.TypedDict, total=False): manifests: _list[Manifest] nextPageToken: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clientOperationId: str creationTimestamp: str description: str @@ -187,7 +183,7 @@ class Operation(typing_extensions.TypedDict, total=False): SetCommonInstanceMetadataOperationMetadata ) startTime: str - status: typing_extensions.Literal["PENDING", "RUNNING", "DONE"] + status: typing.Literal["PENDING", "RUNNING", "DONE"] statusMessage: str targetId: str targetLink: str @@ -196,30 +192,28 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationsListResponse(typing_extensions.TypedDict, total=False): +class OperationsListResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class QuotaExceededInfo(typing_extensions.TypedDict, total=False): +class QuotaExceededInfo(typing.TypedDict, total=False): dimensions: dict[str, typing.Any] futureLimit: float limit: float limitName: str metricName: str - rolloutStatus: typing_extensions.Literal[ - "ROLLOUT_STATUS_UNSPECIFIED", "IN_PROGRESS" - ] + rolloutStatus: typing.Literal["ROLLOUT_STATUS_UNSPECIFIED", "IN_PROGRESS"] @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): accessControl: ResourceAccessControl finalProperties: str id: str @@ -234,71 +228,67 @@ class Resource(typing_extensions.TypedDict, total=False): warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class ResourceAccessControl(typing_extensions.TypedDict, total=False): +class ResourceAccessControl(typing.TypedDict, total=False): gcpIamPolicy: str @typing.type_check_only -class ResourceUpdate(typing_extensions.TypedDict, total=False): +class ResourceUpdate(typing.TypedDict, total=False): accessControl: ResourceAccessControl error: dict[str, typing.Any] finalProperties: str - intent: typing_extensions.Literal[ + intent: typing.Literal[ "CREATE_OR_ACQUIRE", "DELETE", "ACQUIRE", "UPDATE", "ABANDON", "CREATE" ] manifest: str properties: str - state: typing_extensions.Literal[ - "PENDING", "IN_PROGRESS", "IN_PREVIEW", "FAILED", "ABORTED" - ] + state: typing.Literal["PENDING", "IN_PROGRESS", "IN_PREVIEW", "FAILED", "ABORTED"] warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class ResourcesListResponse(typing_extensions.TypedDict, total=False): +class ResourcesListResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Resource] @typing.type_check_only -class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): +class SetAutoscalerLinkOperationMetadata(typing.TypedDict, total=False): zonalIgmIds: _list[str] zoneToIgmIds: dict[str, typing.Any] @typing.type_check_only -class SetCommonInstanceMetadataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class SetCommonInstanceMetadataOperationMetadata(typing.TypedDict, total=False): clientOperationId: str perLocationOperations: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status - state: typing_extensions.Literal[ + state: typing.Literal[ "UNSPECIFIED", "PROPAGATING", "PROPAGATED", "ABANDONED", "FAILED", "DONE" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TargetConfiguration(typing_extensions.TypedDict, total=False): +class TargetConfiguration(typing.TypedDict, total=False): config: ConfigFile imports: _list[ImportFile] @typing.type_check_only -class TestPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): id: str insertTime: str name: str @@ -306,6 +296,6 @@ class Type(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class TypesListResponse(typing_extensions.TypedDict, total=False): +class TypesListResponse(typing.TypedDict, total=False): nextPageToken: str types: _list[Type] diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/resources.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/resources.pyi index 9cf94c916..9303b1e98 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -88,7 +87,7 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): *, project: str, deployment: str, - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -114,9 +113,7 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): *, project: str, body: Deployment, - createPolicy: typing_extensions.Literal[ - "CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE" - ] + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., @@ -143,11 +140,9 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): project: str, deployment: str, body: Deployment, - createPolicy: typing_extensions.Literal[ - "CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE" - ] + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE"] | None = ..., - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., **kwargs: typing.Any, @@ -183,11 +178,9 @@ class DeploymentManagerResource(googleapiclient.discovery.Resource): project: str, deployment: str, body: Deployment, - createPolicy: typing_extensions.Literal[ - "CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE" - ] + createPolicy: typing.Literal["CREATE_OR_ACQUIRE", "ACQUIRE", "CREATE"] | None = ..., - deletePolicy: typing_extensions.Literal["DELETE", "ABANDON"] | None = ..., + deletePolicy: typing.Literal["DELETE", "ABANDON"] | None = ..., header_bypassBillingFilter: bool | None = ..., preview: bool | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi index 18264ac63..29484e812 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi @@ -1,61 +1,57 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AsyncOptions(typing_extensions.TypedDict, total=False): +class AsyncOptions(typing.TypedDict, total=False): methodMatch: str pollingOptions: PollingOptions @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BaseType(typing_extensions.TypedDict, total=False): +class BaseType(typing.TypedDict, total=False): collectionOverrides: _list[CollectionOverride] credential: Credential descriptorUrl: str options: Options @typing.type_check_only -class BasicAuth(typing_extensions.TypedDict, total=False): +class BasicAuth(typing.TypedDict, total=False): password: str user: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BulkInsertOperationStatus(typing_extensions.TypedDict, total=False): +class BulkInsertOperationStatus(typing.TypedDict, total=False): createdVmCount: int deletedVmCount: int failedToCreateVmCount: int - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "CREATING", "ROLLING_BACK", "DONE" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "CREATING", "ROLLING_BACK", "DONE"] targetVmCount: int @typing.type_check_only -class CollectionOverride(typing_extensions.TypedDict, total=False): +class CollectionOverride(typing.TypedDict, total=False): collection: str options: Options @typing.type_check_only -class CompositeType(typing_extensions.TypedDict, total=False): +class CompositeType(typing.TypedDict, total=False): description: str id: str insertTime: str @@ -63,38 +59,36 @@ class CompositeType(typing_extensions.TypedDict, total=False): name: str operation: Operation selfLink: str - status: typing_extensions.Literal[ - "UNKNOWN_STATUS", "DEPRECATED", "EXPERIMENTAL", "SUPPORTED" - ] + status: typing.Literal["UNKNOWN_STATUS", "DEPRECATED", "EXPERIMENTAL", "SUPPORTED"] templateContents: TemplateContents @typing.type_check_only -class CompositeTypeLabelEntry(typing_extensions.TypedDict, total=False): +class CompositeTypeLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class CompositeTypesListResponse(typing_extensions.TypedDict, total=False): +class CompositeTypesListResponse(typing.TypedDict, total=False): compositeTypes: _list[CompositeType] nextPageToken: str @typing.type_check_only -class ConfigFile(typing_extensions.TypedDict, total=False): +class ConfigFile(typing.TypedDict, total=False): content: str @typing.type_check_only -class Credential(typing_extensions.TypedDict, total=False): +class Credential(typing.TypedDict, total=False): basicAuth: BasicAuth serviceAccount: ServiceAccount useProjectDefault: bool @typing.type_check_only -class DebugInfo(typing_extensions.TypedDict, total=False): +class DebugInfo(typing.TypedDict, total=False): detail: str stackEntries: _list[str] @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): description: str fingerprint: str id: str @@ -109,105 +103,105 @@ class Deployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeploymentLabelEntry(typing_extensions.TypedDict, total=False): +class DeploymentLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DeploymentUpdate(typing_extensions.TypedDict, total=False): +class DeploymentUpdate(typing.TypedDict, total=False): description: str labels: _list[DeploymentUpdateLabelEntry] manifest: str @typing.type_check_only -class DeploymentUpdateLabelEntry(typing_extensions.TypedDict, total=False): +class DeploymentUpdateLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class DeploymentsCancelPreviewRequest(typing_extensions.TypedDict, total=False): +class DeploymentsCancelPreviewRequest(typing.TypedDict, total=False): fingerprint: str @typing.type_check_only -class DeploymentsListResponse(typing_extensions.TypedDict, total=False): +class DeploymentsListResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str @typing.type_check_only -class DeploymentsStopRequest(typing_extensions.TypedDict, total=False): +class DeploymentsStopRequest(typing.TypedDict, total=False): fingerprint: str @typing.type_check_only -class Diagnostic(typing_extensions.TypedDict, total=False): +class Diagnostic(typing.TypedDict, total=False): field: str - level: typing_extensions.Literal["UNKNOWN", "INFORMATION", "WARNING", "ERROR"] + level: typing.Literal["UNKNOWN", "INFORMATION", "WARNING", "ERROR"] @typing.type_check_only -class ErrorInfo(typing_extensions.TypedDict, total=False): +class ErrorInfo(typing.TypedDict, total=False): domain: str metadatas: dict[str, typing.Any] reason: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FirewallPolicyRuleOperationMetadata(typing_extensions.TypedDict, total=False): +class FirewallPolicyRuleOperationMetadata(typing.TypedDict, total=False): allocatedPriority: int @typing.type_check_only -class GetVersionOperationMetadata(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadata(typing.TypedDict, total=False): inlineSbomInfo: GetVersionOperationMetadataSbomInfo @typing.type_check_only -class GetVersionOperationMetadataSbomInfo(typing_extensions.TypedDict, total=False): +class GetVersionOperationMetadataSbomInfo(typing.TypedDict, total=False): currentComponentVersions: dict[str, typing.Any] targetComponentVersions: dict[str, typing.Any] @typing.type_check_only -class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class GlobalSetPolicyRequest(typing.TypedDict, total=False): bindings: _list[Binding] etag: str policy: Policy updateMask: str @typing.type_check_only -class Help(typing_extensions.TypedDict, total=False): +class Help(typing.TypedDict, total=False): links: _list[HelpLink] @typing.type_check_only -class HelpLink(typing_extensions.TypedDict, total=False): +class HelpLink(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ImportFile(typing_extensions.TypedDict, total=False): +class ImportFile(typing.TypedDict, total=False): content: str name: str @typing.type_check_only -class InputMapping(typing_extensions.TypedDict, total=False): +class InputMapping(typing.TypedDict, total=False): fieldName: str - location: typing_extensions.Literal["UNKNOWN", "PATH", "QUERY", "BODY", "HEADER"] + location: typing.Literal["UNKNOWN", "PATH", "QUERY", "BODY", "HEADER"] methodMatch: str value: str @typing.type_check_only -class InstancesBulkInsertOperationMetadata(typing_extensions.TypedDict, total=False): +class InstancesBulkInsertOperationMetadata(typing.TypedDict, total=False): machineType: str perLocationStatus: dict[str, typing.Any] @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Manifest(typing_extensions.TypedDict, total=False): +class Manifest(typing.TypedDict, total=False): config: ConfigFile expandedConfig: str id: str @@ -220,12 +214,12 @@ class Manifest(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class ManifestsListResponse(typing_extensions.TypedDict, total=False): +class ManifestsListResponse(typing.TypedDict, total=False): manifests: _list[Manifest] nextPageToken: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): clientOperationId: str creationTimestamp: str description: str @@ -251,7 +245,7 @@ class Operation(typing_extensions.TypedDict, total=False): SetCommonInstanceMetadataOperationMetadata ) startTime: str - status: typing_extensions.Literal["PENDING", "RUNNING", "DONE"] + status: typing.Literal["PENDING", "RUNNING", "DONE"] statusMessage: str targetId: str targetLink: str @@ -260,26 +254,26 @@ class Operation(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class OperationsListResponse(typing_extensions.TypedDict, total=False): +class OperationsListResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Options(typing_extensions.TypedDict, total=False): +class Options(typing.TypedDict, total=False): asyncOptions: _list[AsyncOptions] inputMappings: _list[InputMapping] validationOptions: ValidationOptions virtualProperties: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PollingOptions(typing_extensions.TypedDict, total=False): +class PollingOptions(typing.TypedDict, total=False): diagnostics: _list[Diagnostic] failCondition: str finishCondition: str @@ -287,18 +281,16 @@ class PollingOptions(typing_extensions.TypedDict, total=False): targetLink: str @typing.type_check_only -class QuotaExceededInfo(typing_extensions.TypedDict, total=False): +class QuotaExceededInfo(typing.TypedDict, total=False): dimensions: dict[str, typing.Any] futureLimit: float limit: float limitName: str metricName: str - rolloutStatus: typing_extensions.Literal[ - "ROLLOUT_STATUS_UNSPECIFIED", "IN_PROGRESS" - ] + rolloutStatus: typing.Literal["ROLLOUT_STATUS_UNSPECIFIED", "IN_PROGRESS"] @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): accessControl: ResourceAccessControl finalProperties: str id: str @@ -313,83 +305,79 @@ class Resource(typing_extensions.TypedDict, total=False): warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class ResourceAccessControl(typing_extensions.TypedDict, total=False): +class ResourceAccessControl(typing.TypedDict, total=False): gcpIamPolicy: str @typing.type_check_only -class ResourceUpdate(typing_extensions.TypedDict, total=False): +class ResourceUpdate(typing.TypedDict, total=False): accessControl: ResourceAccessControl error: dict[str, typing.Any] finalProperties: str - intent: typing_extensions.Literal[ + intent: typing.Literal[ "CREATE_OR_ACQUIRE", "DELETE", "ACQUIRE", "UPDATE", "ABANDON", "CREATE" ] manifest: str properties: str - state: typing_extensions.Literal[ - "PENDING", "IN_PROGRESS", "IN_PREVIEW", "FAILED", "ABORTED" - ] + state: typing.Literal["PENDING", "IN_PROGRESS", "IN_PREVIEW", "FAILED", "ABORTED"] warnings: _list[dict[str, typing.Any]] @typing.type_check_only -class ResourcesListResponse(typing_extensions.TypedDict, total=False): +class ResourcesListResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Resource] @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str @typing.type_check_only -class SetAutoscalerLinkOperationMetadata(typing_extensions.TypedDict, total=False): +class SetAutoscalerLinkOperationMetadata(typing.TypedDict, total=False): zonalIgmIds: _list[str] zoneToIgmIds: dict[str, typing.Any] @typing.type_check_only -class SetCommonInstanceMetadataOperationMetadata( - typing_extensions.TypedDict, total=False -): +class SetCommonInstanceMetadataOperationMetadata(typing.TypedDict, total=False): clientOperationId: str perLocationOperations: dict[str, typing.Any] @typing.type_check_only class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status - state: typing_extensions.Literal[ + state: typing.Literal[ "UNSPECIFIED", "PROPAGATING", "PROPAGATED", "ABANDONED", "FAILED", "DONE" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TargetConfiguration(typing_extensions.TypedDict, total=False): +class TargetConfiguration(typing.TypedDict, total=False): config: ConfigFile imports: _list[ImportFile] @typing.type_check_only -class TemplateContents(typing_extensions.TypedDict, total=False): +class TemplateContents(typing.TypedDict, total=False): imports: _list[ImportFile] - interpreter: typing_extensions.Literal["UNKNOWN_INTERPRETER", "PYTHON", "JINJA"] + interpreter: typing.Literal["UNKNOWN_INTERPRETER", "PYTHON", "JINJA"] mainTemplate: str schema: str template: str @typing.type_check_only -class TestPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): base: BaseType description: str id: str @@ -400,7 +388,7 @@ class Type(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class TypeInfo(typing_extensions.TypedDict, total=False): +class TypeInfo(typing.TypedDict, total=False): description: str documentationLink: str kind: str @@ -410,17 +398,17 @@ class TypeInfo(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class TypeInfoSchemaInfo(typing_extensions.TypedDict, total=False): +class TypeInfoSchemaInfo(typing.TypedDict, total=False): input: str output: str @typing.type_check_only -class TypeLabelEntry(typing_extensions.TypedDict, total=False): +class TypeLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class TypeProvider(typing_extensions.TypedDict, total=False): +class TypeProvider(typing.TypedDict, total=False): collectionOverrides: _list[CollectionOverride] credential: Credential customCertificateAuthorityRoots: _list[str] @@ -435,31 +423,31 @@ class TypeProvider(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class TypeProviderLabelEntry(typing_extensions.TypedDict, total=False): +class TypeProviderLabelEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class TypeProvidersListResponse(typing_extensions.TypedDict, total=False): +class TypeProvidersListResponse(typing.TypedDict, total=False): nextPageToken: str typeProviders: _list[TypeProvider] @typing.type_check_only -class TypeProvidersListTypesResponse(typing_extensions.TypedDict, total=False): +class TypeProvidersListTypesResponse(typing.TypedDict, total=False): nextPageToken: str types: _list[TypeInfo] @typing.type_check_only -class TypesListResponse(typing_extensions.TypedDict, total=False): +class TypesListResponse(typing.TypedDict, total=False): nextPageToken: str types: _list[Type] @typing.type_check_only -class ValidationOptions(typing_extensions.TypedDict, total=False): - schemaValidation: typing_extensions.Literal[ +class ValidationOptions(typing.TypedDict, total=False): + schemaValidation: typing.Literal[ "UNKNOWN", "IGNORE", "IGNORE_WITH_WARNINGS", "FAIL" ] - undeclaredProperties: typing_extensions.Literal[ + undeclaredProperties: typing.Literal[ "UNKNOWN", "INCLUDE", "IGNORE", diff --git a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi index 0a15cd32f..f61a42e75 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -167,9 +166,7 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): gitRepositoryLink: str, pageSize: int | None = ..., pageToken: str | None = ..., - refType: typing_extensions.Literal[ - "REF_TYPE_UNSPECIFIED", "TAG", "BRANCH" - ] + refType: typing.Literal["REF_TYPE_UNSPECIFIED", "TAG", "BRANCH"] | None = ..., **kwargs: typing.Any, ) -> FetchGitRefsResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi index 76b7b9717..d3b7cdf9e 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccountConnector(typing_extensions.TypedDict, total=False): +class AccountConnector(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str customOauthConfig: CustomOAuthConfig @@ -19,25 +17,25 @@ class AccountConnector(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AppHubService(typing_extensions.TypedDict, total=False): +class AppHubService(typing.TypedDict, total=False): apphubService: str criticality: str environment: str @typing.type_check_only -class AppHubWorkload(typing_extensions.TypedDict, total=False): +class AppHubWorkload(typing.TypedDict, total=False): criticality: str environment: str workload: str @typing.type_check_only -class ArtifactConfig(typing_extensions.TypedDict, total=False): +class ArtifactConfig(typing.TypedDict, total=False): googleArtifactAnalysis: GoogleArtifactAnalysis googleArtifactRegistry: GoogleArtifactRegistry uri: str @typing.type_check_only -class ArtifactDeployment(typing_extensions.TypedDict, total=False): +class ArtifactDeployment(typing.TypedDict, total=False): artifactAlias: str artifactReference: str containerStatusSummary: str @@ -48,23 +46,23 @@ class ArtifactDeployment(typing_extensions.TypedDict, total=False): undeployTime: str @typing.type_check_only -class BasicAuthentication(typing_extensions.TypedDict, total=False): +class BasicAuthentication(typing.TypedDict, total=False): passwordSecretVersion: str username: str @typing.type_check_only -class BearerTokenAuthentication(typing_extensions.TypedDict, total=False): +class BearerTokenAuthentication(typing.TypedDict, total=False): tokenSecretVersion: str @typing.type_check_only -class BitbucketCloudConfig(typing_extensions.TypedDict, total=False): +class BitbucketCloudConfig(typing.TypedDict, total=False): authorizerCredential: UserCredential readAuthorizerCredential: UserCredential webhookSecretSecretVersion: str workspace: str @typing.type_check_only -class BitbucketDataCenterConfig(typing_extensions.TypedDict, total=False): +class BitbucketDataCenterConfig(typing.TypedDict, total=False): authorizerCredential: UserCredential hostUri: str readAuthorizerCredential: UserCredential @@ -74,10 +72,10 @@ class BitbucketDataCenterConfig(typing_extensions.TypedDict, total=False): webhookSecretSecretVersion: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): annotations: dict[str, typing.Any] bitbucketCloudConfig: BitbucketCloudConfig bitbucketDataCenterConfig: BitbucketDataCenterConfig @@ -101,17 +99,17 @@ class Connection(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CryptoKeyConfig(typing_extensions.TypedDict, total=False): +class CryptoKeyConfig(typing.TypedDict, total=False): keyReference: str @typing.type_check_only -class CustomOAuthConfig(typing_extensions.TypedDict, total=False): +class CustomOAuthConfig(typing.TypedDict, total=False): authUri: str clientId: str clientSecret: str hostUri: str pkceDisabled: bool - scmProvider: typing_extensions.Literal[ + scmProvider: typing.Literal[ "SCM_PROVIDER_UNKNOWN", "GITHUB_ENTERPRISE", "GITLAB_ENTERPRISE", @@ -124,85 +122,83 @@ class CustomOAuthConfig(typing_extensions.TypedDict, total=False): tokenUri: str @typing.type_check_only -class DeploymentEvent(typing_extensions.TypedDict, total=False): +class DeploymentEvent(typing.TypedDict, total=False): artifactDeployments: _list[ArtifactDeployment] createTime: str deployTime: str name: str runtimeConfig: RuntimeConfig runtimeDeploymentUri: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STATE_ACTIVE", "STATE_INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STATE_ACTIVE", "STATE_INACTIVE"] undeployTime: str updateTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExchangeError(typing_extensions.TypedDict, total=False): +class ExchangeError(typing.TypedDict, total=False): code: str description: str @typing.type_check_only -class FetchAccessTokenRequest(typing_extensions.TypedDict, total=False): ... +class FetchAccessTokenRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchAccessTokenResponse(typing_extensions.TypedDict, total=False): +class FetchAccessTokenResponse(typing.TypedDict, total=False): exchangeError: ExchangeError expirationTime: str scopes: _list[str] token: str @typing.type_check_only -class FetchGitHubInstallationsResponse(typing_extensions.TypedDict, total=False): +class FetchGitHubInstallationsResponse(typing.TypedDict, total=False): installations: _list[Installation] @typing.type_check_only -class FetchGitRefsResponse(typing_extensions.TypedDict, total=False): +class FetchGitRefsResponse(typing.TypedDict, total=False): nextPageToken: str refNames: _list[str] @typing.type_check_only -class FetchLinkableGitRepositoriesResponse(typing_extensions.TypedDict, total=False): +class FetchLinkableGitRepositoriesResponse(typing.TypedDict, total=False): linkableGitRepositories: _list[LinkableGitRepository] nextPageToken: str @typing.type_check_only -class FetchReadTokenRequest(typing_extensions.TypedDict, total=False): ... +class FetchReadTokenRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchReadTokenResponse(typing_extensions.TypedDict, total=False): +class FetchReadTokenResponse(typing.TypedDict, total=False): expirationTime: str gitUsername: str token: str @typing.type_check_only -class FetchReadWriteTokenRequest(typing_extensions.TypedDict, total=False): ... +class FetchReadWriteTokenRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchReadWriteTokenResponse(typing_extensions.TypedDict, total=False): +class FetchReadWriteTokenResponse(typing.TypedDict, total=False): expirationTime: str gitUsername: str token: str @typing.type_check_only -class FetchUserRepositoriesResponse(typing_extensions.TypedDict, total=False): +class FetchUserRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str userRepos: _list[UserRepository] @typing.type_check_only -class FinishOAuthResponse(typing_extensions.TypedDict, total=False): +class FinishOAuthResponse(typing.TypedDict, total=False): exchangeError: ExchangeError @typing.type_check_only -class GKEWorkload(typing_extensions.TypedDict, total=False): +class GKEWorkload(typing.TypedDict, total=False): cluster: str deployment: str @typing.type_check_only -class GenericHTTPEndpointConfig(typing_extensions.TypedDict, total=False): +class GenericHTTPEndpointConfig(typing.TypedDict, total=False): basicAuthentication: BasicAuthentication bearerTokenAuthentication: BearerTokenAuthentication hostUri: str @@ -210,10 +206,10 @@ class GenericHTTPEndpointConfig(typing_extensions.TypedDict, total=False): sslCaCertificate: str @typing.type_check_only -class GitHubConfig(typing_extensions.TypedDict, total=False): +class GitHubConfig(typing.TypedDict, total=False): appInstallationId: str authorizerCredential: OAuthCredential - githubApp: typing_extensions.Literal[ + githubApp: typing.Literal[ "GIT_HUB_APP_UNSPECIFIED", "DEVELOPER_CONNECT", "FIREBASE", @@ -223,7 +219,7 @@ class GitHubConfig(typing_extensions.TypedDict, total=False): installationUri: str @typing.type_check_only -class GitHubEnterpriseConfig(typing_extensions.TypedDict, total=False): +class GitHubEnterpriseConfig(typing.TypedDict, total=False): appId: str appInstallationId: str appSlug: str @@ -237,13 +233,13 @@ class GitHubEnterpriseConfig(typing_extensions.TypedDict, total=False): webhookSecretSecretVersion: str @typing.type_check_only -class GitLabConfig(typing_extensions.TypedDict, total=False): +class GitLabConfig(typing.TypedDict, total=False): authorizerCredential: UserCredential readAuthorizerCredential: UserCredential webhookSecretSecretVersion: str @typing.type_check_only -class GitLabEnterpriseConfig(typing_extensions.TypedDict, total=False): +class GitLabEnterpriseConfig(typing.TypedDict, total=False): authorizerCredential: UserCredential hostUri: str readAuthorizerCredential: UserCredential @@ -253,12 +249,12 @@ class GitLabEnterpriseConfig(typing_extensions.TypedDict, total=False): webhookSecretSecretVersion: str @typing.type_check_only -class GitProxyConfig(typing_extensions.TypedDict, total=False): +class GitProxyConfig(typing.TypedDict, total=False): enabled: bool httpProxyBaseUri: str @typing.type_check_only -class GitRepositoryLink(typing_extensions.TypedDict, total=False): +class GitRepositoryLink(typing.TypedDict, total=False): annotations: dict[str, typing.Any] cloneUri: str createTime: str @@ -273,26 +269,26 @@ class GitRepositoryLink(typing_extensions.TypedDict, total=False): webhookId: str @typing.type_check_only -class GoogleArtifactAnalysis(typing_extensions.TypedDict, total=False): +class GoogleArtifactAnalysis(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class GoogleArtifactRegistry(typing_extensions.TypedDict, total=False): +class GoogleArtifactRegistry(typing.TypedDict, total=False): artifactRegistryPackage: str projectId: str @typing.type_check_only -class GoogleCloudRun(typing_extensions.TypedDict, total=False): +class GoogleCloudRun(typing.TypedDict, total=False): serviceUri: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class InsightsConfig(typing_extensions.TypedDict, total=False): +class InsightsConfig(typing.TypedDict, total=False): annotations: dict[str, typing.Any] appHubApplication: str artifactConfigs: _list[ArtifactConfig] @@ -303,22 +299,20 @@ class InsightsConfig(typing_extensions.TypedDict, total=False): projects: Projects reconciling: bool runtimeConfigs: _list[RuntimeConfig] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "COMPLETE", "ERROR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "COMPLETE", "ERROR"] updateTime: str @typing.type_check_only -class Installation(typing_extensions.TypedDict, total=False): +class Installation(typing.TypedDict, total=False): id: str name: str type: str @typing.type_check_only -class InstallationState(typing_extensions.TypedDict, total=False): +class InstallationState(typing.TypedDict, total=False): actionUri: str message: str - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "PENDING_CREATE_APP", "PENDING_USER_OAUTH", @@ -327,57 +321,57 @@ class InstallationState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LinkableGitRepository(typing_extensions.TypedDict, total=False): +class LinkableGitRepository(typing.TypedDict, total=False): cloneUri: str @typing.type_check_only -class ListAccountConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListAccountConnectorsResponse(typing.TypedDict, total=False): accountConnectors: _list[AccountConnector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Connection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDeploymentEventsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentEventsResponse(typing.TypedDict, total=False): deploymentEvents: _list[DeploymentEvent] nextPageToken: str @typing.type_check_only -class ListGitRepositoryLinksResponse(typing_extensions.TypedDict, total=False): +class ListGitRepositoryLinksResponse(typing.TypedDict, total=False): gitRepositoryLinks: _list[GitRepositoryLink] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInsightsConfigsResponse(typing_extensions.TypedDict, total=False): +class ListInsightsConfigsResponse(typing.TypedDict, total=False): insightsConfigs: _list[InsightsConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] users: _list[User] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -385,12 +379,12 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OAuthCredential(typing_extensions.TypedDict, total=False): +class OAuthCredential(typing.TypedDict, total=False): oauthTokenSecretVersion: str username: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -398,7 +392,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -408,35 +402,33 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ProcessBitbucketCloudWebhookRequest(typing_extensions.TypedDict, total=False): +class ProcessBitbucketCloudWebhookRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class ProcessBitbucketDataCenterWebhookRequest( - typing_extensions.TypedDict, total=False -): +class ProcessBitbucketDataCenterWebhookRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class ProcessGitHubEnterpriseWebhookRequest(typing_extensions.TypedDict, total=False): +class ProcessGitHubEnterpriseWebhookRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class ProcessGitLabEnterpriseWebhookRequest(typing_extensions.TypedDict, total=False): +class ProcessGitLabEnterpriseWebhookRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class ProcessGitLabWebhookRequest(typing_extensions.TypedDict, total=False): +class ProcessGitLabWebhookRequest(typing.TypedDict, total=False): body: HttpBody @typing.type_check_only -class Projects(typing_extensions.TypedDict, total=False): +class Projects(typing.TypedDict, total=False): projectIds: _list[str] @typing.type_check_only -class ProviderOAuthConfig(typing_extensions.TypedDict, total=False): +class ProviderOAuthConfig(typing.TypedDict, total=False): scopes: _list[str] - systemProviderId: typing_extensions.Literal[ + systemProviderId: typing.Literal[ "SYSTEM_PROVIDER_UNSPECIFIED", "GITHUB", "GITLAB", @@ -449,35 +441,35 @@ class ProviderOAuthConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProxyConfig(typing_extensions.TypedDict, total=False): +class ProxyConfig(typing.TypedDict, total=False): enabled: bool httpProxyBaseUri: str @typing.type_check_only -class RuntimeConfig(typing_extensions.TypedDict, total=False): +class RuntimeConfig(typing.TypedDict, total=False): appHubService: AppHubService appHubWorkload: AppHubWorkload gkeWorkload: GKEWorkload googleCloudRun: GoogleCloudRun - state: typing_extensions.Literal["STATE_UNSPECIFIED", "LINKED", "UNLINKED"] + state: typing.Literal["STATE_UNSPECIFIED", "LINKED", "UNLINKED"] uri: str @typing.type_check_only -class SecureSourceManagerInstanceConfig(typing_extensions.TypedDict, total=False): +class SecureSourceManagerInstanceConfig(typing.TypedDict, total=False): instance: str @typing.type_check_only -class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): +class ServiceDirectoryConfig(typing.TypedDict, total=False): service: str @typing.type_check_only -class StartOAuthResponse(typing_extensions.TypedDict, total=False): +class StartOAuthResponse(typing.TypedDict, total=False): authUri: str clientId: str codeChallenge: str codeChallengeMethod: str scopes: _list[str] - systemProviderId: typing_extensions.Literal[ + systemProviderId: typing.Literal[ "SYSTEM_PROVIDER_UNSPECIFIED", "GITHUB", "GITLAB", @@ -491,25 +483,25 @@ class StartOAuthResponse(typing_extensions.TypedDict, total=False): ticket: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): createTime: str displayName: str lastTokenRequestTime: str name: str @typing.type_check_only -class UserCredential(typing_extensions.TypedDict, total=False): +class UserCredential(typing.TypedDict, total=False): userTokenSecretVersion: str username: str @typing.type_check_only -class UserRepository(typing_extensions.TypedDict, total=False): +class UserRepository(typing.TypedDict, total=False): cloneUri: str displayName: str gitProxyUri: str diff --git a/googleapiclient-stubs/_apis/developerknowledge/v1/resources.pyi b/googleapiclient-stubs/_apis/developerknowledge/v1/resources.pyi index a33b5902d..278545389 100644 --- a/googleapiclient-stubs/_apis/developerknowledge/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/developerknowledge/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -19,7 +18,7 @@ class DeveloperKnowledgeResource(googleapiclient.discovery.Resource): self, *, names: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "DOCUMENT_VIEW_UNSPECIFIED", "DOCUMENT_VIEW_BASIC", "DOCUMENT_VIEW_FULL", @@ -32,7 +31,7 @@ class DeveloperKnowledgeResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "DOCUMENT_VIEW_UNSPECIFIED", "DOCUMENT_VIEW_BASIC", "DOCUMENT_VIEW_FULL", @@ -56,6 +55,12 @@ class DeveloperKnowledgeResource(googleapiclient.discovery.Resource): previous_response: SearchDocumentChunksResponse, ) -> SearchDocumentChunksResponseHttpRequest | None: ... + @typing.type_check_only + class V1Resource(googleapiclient.discovery.Resource): + def answerQuery( + self, *, body: AnswerQueryRequest, **kwargs: typing.Any + ) -> AnswerQueryResponseHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -69,6 +74,15 @@ class DeveloperKnowledgeResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def documents(self) -> DocumentsResource: ... + def v1(self) -> V1Resource: ... + +@typing.type_check_only +class AnswerQueryResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AnswerQueryResponse: ... @typing.type_check_only class BatchGetDocumentsResponseHttpRequest(googleapiclient.http.HttpRequest): diff --git a/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi b/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi index 53a5059e2..ecf6152e1 100644 --- a/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerknowledge/v1/schemas.pyi @@ -1,23 +1,50 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BatchGetDocumentsResponse(typing_extensions.TypedDict, total=False): +class Answer(typing.TypedDict, total=False): + answerText: str + citations: _list[AnswerCitation] + references: _list[AnswerReference] + +@typing.type_check_only +class AnswerCitation(typing.TypedDict, total=False): + endIndex: int + sources: _list[CitationSource] + startIndex: int + +@typing.type_check_only +class AnswerQueryRequest(typing.TypedDict, total=False): + query: str + +@typing.type_check_only +class AnswerQueryResponse(typing.TypedDict, total=False): + answer: Answer + +@typing.type_check_only +class AnswerReference(typing.TypedDict, total=False): + documentReference: DocumentReference + +@typing.type_check_only +class BatchGetDocumentsResponse(typing.TypedDict, total=False): documents: _list[Document] @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class CitationSource(typing.TypedDict, total=False): + referenceIndex: int + +@typing.type_check_only +class Document(typing.TypedDict, total=False): content: str + contentLengthBytes: int dataSource: str description: str name: str title: str updateTime: str uri: str - view: typing_extensions.Literal[ + view: typing.Literal[ "DOCUMENT_VIEW_UNSPECIFIED", "DOCUMENT_VIEW_BASIC", "DOCUMENT_VIEW_FULL", @@ -25,13 +52,17 @@ class Document(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DocumentChunk(typing_extensions.TypedDict, total=False): +class DocumentChunk(typing.TypedDict, total=False): content: str document: Document id: str parent: str @typing.type_check_only -class SearchDocumentChunksResponse(typing_extensions.TypedDict, total=False): +class DocumentReference(typing.TypedDict, total=False): + documentChunk: DocumentChunk + +@typing.type_check_only +class SearchDocumentChunksResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[DocumentChunk] diff --git a/googleapiclient-stubs/_apis/developerknowledge/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/developerknowledge/v1alpha/resources.pyi index bfdc969f4..e2d702744 100644 --- a/googleapiclient-stubs/_apis/developerknowledge/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/developerknowledge/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -19,7 +18,7 @@ class DeveloperKnowledgeResource(googleapiclient.discovery.Resource): self, *, names: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "DOCUMENT_VIEW_UNSPECIFIED", "DOCUMENT_VIEW_BASIC", "DOCUMENT_VIEW_FULL", @@ -32,7 +31,7 @@ class DeveloperKnowledgeResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "DOCUMENT_VIEW_UNSPECIFIED", "DOCUMENT_VIEW_BASIC", "DOCUMENT_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi index e18a5c034..af196c68d 100644 --- a/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerknowledge/v1alpha/schemas.pyi @@ -1,51 +1,51 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Answer(typing_extensions.TypedDict, total=False): +class Answer(typing.TypedDict, total=False): answerText: str citations: _list[AnswerCitation] references: _list[AnswerReference] @typing.type_check_only -class AnswerCitation(typing_extensions.TypedDict, total=False): +class AnswerCitation(typing.TypedDict, total=False): endIndex: int sources: _list[CitationSource] startIndex: int @typing.type_check_only -class AnswerQueryRequest(typing_extensions.TypedDict, total=False): +class AnswerQueryRequest(typing.TypedDict, total=False): + filter: str query: str @typing.type_check_only -class AnswerQueryResponse(typing_extensions.TypedDict, total=False): +class AnswerQueryResponse(typing.TypedDict, total=False): answer: Answer @typing.type_check_only -class AnswerReference(typing_extensions.TypedDict, total=False): +class AnswerReference(typing.TypedDict, total=False): documentReference: DocumentReference @typing.type_check_only -class BatchGetDocumentsResponse(typing_extensions.TypedDict, total=False): +class BatchGetDocumentsResponse(typing.TypedDict, total=False): documents: _list[Document] @typing.type_check_only -class CitationSource(typing_extensions.TypedDict, total=False): +class CitationSource(typing.TypedDict, total=False): referenceIndex: int @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class Document(typing.TypedDict, total=False): content: str + contentLengthBytes: int dataSource: str description: str name: str title: str updateTime: str uri: str - view: typing_extensions.Literal[ + view: typing.Literal[ "DOCUMENT_VIEW_UNSPECIFIED", "DOCUMENT_VIEW_BASIC", "DOCUMENT_VIEW_FULL", @@ -53,17 +53,18 @@ class Document(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DocumentChunk(typing_extensions.TypedDict, total=False): +class DocumentChunk(typing.TypedDict, total=False): content: str document: Document id: str parent: str + relevanceScore: float @typing.type_check_only -class DocumentReference(typing_extensions.TypedDict, total=False): +class DocumentReference(typing.TypedDict, total=False): documentChunk: DocumentChunk @typing.type_check_only -class SearchDocumentChunksResponse(typing_extensions.TypedDict, total=False): +class SearchDocumentChunksResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[DocumentChunk] diff --git a/googleapiclient-stubs/_apis/dfareporting/v3_3/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v3_3/resources.pyi index 37eed3030..097b9ef70 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v3_3/resources.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v3_3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -54,9 +53,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., userRoleId: str | None = ..., **kwargs: typing.Any, @@ -92,9 +90,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AccountsListResponseHttpRequest: ... def list_next( @@ -126,7 +123,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): archived: bool | None = ..., audienceSegmentIds: str | _list[str] | None = ..., campaignIds: str | _list[str] | None = ..., - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -147,12 +144,11 @@ class DfareportingResource(googleapiclient.discovery.Resource): remarketingListIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., sslCompliant: bool | None = ..., sslRequired: bool | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -160,7 +156,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "AD_SERVING_BRAND_SAFE_AD", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -202,9 +198,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AdvertiserGroupsListResponseHttpRequest: ... def list_next( @@ -243,9 +238,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertiserLandingPagesListResponseHttpRequest: ... @@ -281,10 +275,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): onlyParent: bool | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + status: typing.Literal["APPROVED", "ON_HOLD"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertisersListResponseHttpRequest: ... @@ -323,8 +316,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CampaignCreativeAssociationsListResponseHttpRequest: ... def list_next( @@ -355,9 +347,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): overriddenEventTagId: str | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> CampaignsListResponseHttpRequest: ... @@ -382,7 +373,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - action: typing_extensions.Literal[ + action: typing.Literal[ "ACTION_CREATE", "ACTION_UPDATE", "ACTION_DELETE", @@ -407,7 +398,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., minChangeTime: str | None = ..., objectIds: str | _list[str] | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_FLOODLIGHT_CONFIGURATION", "OBJECT_AD", @@ -502,9 +493,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ContentCategoriesListResponseHttpRequest: ... def list_next( @@ -586,9 +576,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "VALUE"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "VALUE"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldValuesListResponseHttpRequest: ... def list_next( @@ -634,9 +623,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldsListResponseHttpRequest: ... def list_next( @@ -669,9 +657,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeGroupsListResponseHttpRequest: ... def list_next( @@ -710,11 +697,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): renderingIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., studioCreativeId: str | None = ..., - types: typing_extensions.Literal[ + types: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -742,7 +728,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "INSTREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -823,9 +809,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> DirectorySitesListResponseHttpRequest: ... def list_next( @@ -842,7 +827,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, objectId: str, name: str, - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ], **kwargs: typing.Any, @@ -857,7 +842,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): advertiserId: str | None = ..., names: str | _list[str] | None = ..., objectId: str | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] | None = ..., @@ -884,13 +869,13 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str | None = ..., definitionsOnly: bool | None = ..., enabled: bool | None = ..., - eventTagTypes: typing_extensions.Literal[ + eventTagTypes: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -899,9 +884,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., ids: str | _list[str] | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> EventTagsListResponseHttpRequest: ... def patch( @@ -925,12 +909,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE", "SHARED_WITH_ME"] - | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE", "SHARED_WITH_ME"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -963,16 +944,14 @@ class DfareportingResource(googleapiclient.discovery.Resource): floodlightActivityGroupIds: str | _list[str] | None = ..., floodlightActivityGroupName: str | None = ..., floodlightActivityGroupTagString: str | None = ..., - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] - | None = ..., + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] | None = ..., floodlightConfigurationId: str | None = ..., ids: str | _list[str] | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., tagString: str | None = ..., **kwargs: typing.Any, ) -> FloodlightActivitiesListResponseHttpRequest: ... @@ -1011,10 +990,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - type: typing_extensions.Literal["COUNTER", "SALE"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + type: typing.Literal["COUNTER", "SALE"] | None = ..., **kwargs: typing.Any, ) -> FloodlightActivityGroupsListResponseHttpRequest: ... def list_next( @@ -1074,10 +1052,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): orderId: str | _list[str] | None = ..., pageToken: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - type: typing_extensions.Literal[ + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + type: typing.Literal[ "PLANNING_PLACEMENT_TYPE_REGULAR", "PLANNING_PLACEMENT_TYPE_CREDIT" ] | None = ..., @@ -1110,14 +1087,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - directories: typing_extensions.Literal[ + directories: typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE" ] - | _list[ - typing_extensions.Literal[ - "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE" - ] - ] + | _list[typing.Literal["UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE"]] | None = ..., ids: str | _list[str] | None = ..., maxResults: int | None = ..., @@ -1175,9 +1148,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., searchString: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> OrderDocumentsListResponseHttpRequest: ... def list_next( @@ -1201,9 +1173,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., searchString: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> OrdersListResponseHttpRequest: ... def list_next( @@ -1236,12 +1207,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - placementGroupType: typing_extensions.Literal[ + placementGroupType: typing.Literal[ "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1250,7 +1221,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1262,9 +1233,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., searchString: str | None = ..., siteIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementGroupsListResponseHttpRequest: ... def list_next( @@ -1298,9 +1268,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementStrategiesListResponseHttpRequest: ... def list_next( @@ -1328,7 +1297,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, campaignId: str | None = ..., placementIds: str | _list[str] | None = ..., - tagFormats: typing_extensions.Literal[ + tagFormats: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1351,7 +1320,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1390,7 +1359,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): advertiserIds: str | _list[str] | None = ..., archived: bool | None = ..., campaignIds: str | _list[str] | None = ..., - compatibilities: typing_extensions.Literal[ + compatibilities: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1399,7 +1368,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "IN_STREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1419,12 +1388,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - paymentSource: typing_extensions.Literal[ + paymentSource: typing.Literal[ "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1433,7 +1402,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1446,9 +1415,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): searchString: str | None = ..., siteIds: str | _list[str] | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementsListResponseHttpRequest: ... def list_next( @@ -1495,9 +1463,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ProjectsListResponseHttpRequest: ... def list_next( @@ -1547,9 +1514,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> RemarketingListsListResponseHttpRequest: ... def list_next( @@ -1602,10 +1568,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): reportId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -1627,11 +1591,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE"] | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ReportListHttpRequest: ... def list_next( @@ -1677,9 +1639,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., unmappedSite: bool | None = ..., **kwargs: typing.Any, @@ -1731,9 +1692,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> SubaccountsListResponseHttpRequest: ... def list_next( @@ -1762,9 +1722,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetableRemarketingListsListResponseHttpRequest: ... def list_next( @@ -1790,9 +1749,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetingTemplatesListResponseHttpRequest: ... def list_next( @@ -1861,9 +1819,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> UserRolesListResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/dfareporting/v3_3/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v3_3/schemas.pyi index e61ba3e61..73b1479e9 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v3_3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v3_3/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountPermissionIds: _list[str] - accountProfile: typing_extensions.Literal[ - "ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD" - ] + accountProfile: typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] active: bool - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -38,10 +34,10 @@ class Account(typing_extensions.TypedDict, total=False): teaserSizeLimit: str @typing.type_check_only -class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): +class AccountActiveAdSummary(typing.TypedDict, total=False): accountId: str activeAds: str - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -55,34 +51,34 @@ class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class AccountPermission(typing_extensions.TypedDict, total=False): +class AccountPermission(typing.TypedDict, total=False): accountProfiles: _list[ - typing_extensions.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] + typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] ] id: str kind: str - level: typing_extensions.Literal["USER", "ADMINISTRATOR"] + level: typing.Literal["USER", "ADMINISTRATOR"] name: str permissionGroupId: str @typing.type_check_only -class AccountPermissionGroup(typing_extensions.TypedDict, total=False): +class AccountPermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class AccountPermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionGroupsListResponse(typing.TypedDict, total=False): accountPermissionGroups: _list[AccountPermissionGroup] kind: str @typing.type_check_only -class AccountPermissionsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionsListResponse(typing.TypedDict, total=False): accountPermissions: _list[AccountPermission] kind: str @typing.type_check_only -class AccountUserProfile(typing_extensions.TypedDict, total=False): +class AccountUserProfile(typing.TypedDict, total=False): accountId: str active: bool advertiserFilter: ObjectFilter @@ -95,35 +91,35 @@ class AccountUserProfile(typing_extensions.TypedDict, total=False): name: str siteFilter: ObjectFilter subaccountId: str - traffickerType: typing_extensions.Literal[ + traffickerType: typing.Literal[ "INTERNAL_NON_TRAFFICKER", "INTERNAL_TRAFFICKER", "EXTERNAL_TRAFFICKER" ] - userAccessType: typing_extensions.Literal[ + userAccessType: typing.Literal[ "NORMAL_USER", "SUPER_USER", "INTERNAL_ADMINISTRATOR", "READ_ONLY_SUPER_USER" ] userRoleFilter: ObjectFilter userRoleId: str @typing.type_check_only -class AccountUserProfilesListResponse(typing_extensions.TypedDict, total=False): +class AccountUserProfilesListResponse(typing.TypedDict, total=False): accountUserProfiles: _list[AccountUserProfile] kind: str nextPageToken: str @typing.type_check_only -class AccountsListResponse(typing_extensions.TypedDict, total=False): +class AccountsListResponse(typing.TypedDict, total=False): accounts: _list[Account] kind: str nextPageToken: str @typing.type_check_only -class Activities(typing_extensions.TypedDict, total=False): +class Activities(typing.TypedDict, total=False): filters: _list[DimensionValue] kind: str metricNames: _list[str] @typing.type_check_only -class Ad(typing_extensions.TypedDict, total=False): +class Ad(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -135,7 +131,7 @@ class Ad(typing_extensions.TypedDict, total=False): clickThroughUrl: ClickThroughUrl clickThroughUrlSuffixProperties: ClickThroughUrlSuffixProperties comments: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -169,7 +165,7 @@ class Ad(typing_extensions.TypedDict, total=False): subaccountId: str targetingTemplateId: str technologyTargeting: TechnologyTargeting - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -178,16 +174,16 @@ class Ad(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AdBlockingConfiguration(typing_extensions.TypedDict, total=False): +class AdBlockingConfiguration(typing.TypedDict, total=False): clickThroughUrl: str creativeBundleId: str enabled: bool overrideClickThroughUrl: bool @typing.type_check_only -class AdSlot(typing_extensions.TypedDict, total=False): +class AdSlot(typing.TypedDict, total=False): comment: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -198,7 +194,7 @@ class AdSlot(typing_extensions.TypedDict, total=False): height: str linkedPlacementId: str name: str - paymentSourceType: typing_extensions.Literal[ + paymentSourceType: typing.Literal[ "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID", "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID", ] @@ -206,13 +202,13 @@ class AdSlot(typing_extensions.TypedDict, total=False): width: str @typing.type_check_only -class AdsListResponse(typing_extensions.TypedDict, total=False): +class AdsListResponse(typing.TypedDict, total=False): ads: _list[Ad] kind: str nextPageToken: str @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): accountId: str advertiserGroupId: str clickThroughUrlSuffix: str @@ -225,49 +221,49 @@ class Advertiser(typing_extensions.TypedDict, total=False): kind: str name: str originalFloodlightConfigurationId: str - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] + status: typing.Literal["APPROVED", "ON_HOLD"] subaccountId: str suspended: bool @typing.type_check_only -class AdvertiserGroup(typing_extensions.TypedDict, total=False): +class AdvertiserGroup(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class AdvertiserGroupsListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserGroupsListResponse(typing.TypedDict, total=False): advertiserGroups: _list[AdvertiserGroup] kind: str nextPageToken: str @typing.type_check_only -class AdvertiserLandingPagesListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserLandingPagesListResponse(typing.TypedDict, total=False): kind: str landingPages: _list[LandingPage] nextPageToken: str @typing.type_check_only -class AdvertisersListResponse(typing_extensions.TypedDict, total=False): +class AdvertisersListResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] kind: str nextPageToken: str @typing.type_check_only -class AudienceSegment(typing_extensions.TypedDict, total=False): +class AudienceSegment(typing.TypedDict, total=False): allocation: int id: str name: str @typing.type_check_only -class AudienceSegmentGroup(typing_extensions.TypedDict, total=False): +class AudienceSegmentGroup(typing.TypedDict, total=False): audienceSegments: _list[AudienceSegment] id: str name: str @typing.type_check_only -class Browser(typing_extensions.TypedDict, total=False): +class Browser(typing.TypedDict, total=False): browserVersionId: str dartId: str kind: str @@ -276,12 +272,12 @@ class Browser(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class BrowsersListResponse(typing_extensions.TypedDict, total=False): +class BrowsersListResponse(typing.TypedDict, total=False): browsers: _list[Browser] kind: str @typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): +class Campaign(typing.TypedDict, total=False): accountId: str adBlockingConfiguration: AdBlockingConfiguration additionalCreativeOptimizationConfigurations: _list[ @@ -314,26 +310,24 @@ class Campaign(typing_extensions.TypedDict, total=False): traffickerEmails: _list[str] @typing.type_check_only -class CampaignCreativeAssociation(typing_extensions.TypedDict, total=False): +class CampaignCreativeAssociation(typing.TypedDict, total=False): creativeId: str kind: str @typing.type_check_only -class CampaignCreativeAssociationsListResponse( - typing_extensions.TypedDict, total=False -): +class CampaignCreativeAssociationsListResponse(typing.TypedDict, total=False): campaignCreativeAssociations: _list[CampaignCreativeAssociation] kind: str nextPageToken: str @typing.type_check_only -class CampaignsListResponse(typing_extensions.TypedDict, total=False): +class CampaignsListResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] kind: str nextPageToken: str @typing.type_check_only -class ChangeLog(typing_extensions.TypedDict, total=False): +class ChangeLog(typing.TypedDict, total=False): accountId: str action: str changeTime: str @@ -350,18 +344,18 @@ class ChangeLog(typing_extensions.TypedDict, total=False): userProfileName: str @typing.type_check_only -class ChangeLogsListResponse(typing_extensions.TypedDict, total=False): +class ChangeLogsListResponse(typing.TypedDict, total=False): changeLogs: _list[ChangeLog] kind: str nextPageToken: str @typing.type_check_only -class CitiesListResponse(typing_extensions.TypedDict, total=False): +class CitiesListResponse(typing.TypedDict, total=False): cities: _list[City] kind: str @typing.type_check_only -class City(typing_extensions.TypedDict, total=False): +class City(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -373,37 +367,37 @@ class City(typing_extensions.TypedDict, total=False): regionDartId: str @typing.type_check_only -class ClickTag(typing_extensions.TypedDict, total=False): +class ClickTag(typing.TypedDict, total=False): clickThroughUrl: CreativeClickThroughUrl eventName: str name: str @typing.type_check_only -class ClickThroughUrl(typing_extensions.TypedDict, total=False): +class ClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str defaultLandingPage: bool landingPageId: str @typing.type_check_only -class ClickThroughUrlSuffixProperties(typing_extensions.TypedDict, total=False): +class ClickThroughUrlSuffixProperties(typing.TypedDict, total=False): clickThroughUrlSuffix: str overrideInheritedSuffix: bool @typing.type_check_only -class CompanionClickThroughOverride(typing_extensions.TypedDict, total=False): +class CompanionClickThroughOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl creativeId: str @typing.type_check_only -class CompanionSetting(typing_extensions.TypedDict, total=False): +class CompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class CompatibleFields(typing_extensions.TypedDict, total=False): +class CompatibleFields(typing.TypedDict, total=False): crossDimensionReachReportCompatibleFields: CrossDimensionReachReportCompatibleFields floodlightReportCompatibleFields: FloodlightReportCompatibleFields kind: str @@ -412,31 +406,31 @@ class CompatibleFields(typing_extensions.TypedDict, total=False): reportCompatibleFields: ReportCompatibleFields @typing.type_check_only -class ConnectionType(typing_extensions.TypedDict, total=False): +class ConnectionType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class ConnectionTypesListResponse(typing_extensions.TypedDict, total=False): +class ConnectionTypesListResponse(typing.TypedDict, total=False): connectionTypes: _list[ConnectionType] kind: str @typing.type_check_only -class ContentCategoriesListResponse(typing_extensions.TypedDict, total=False): +class ContentCategoriesListResponse(typing.TypedDict, total=False): contentCategories: _list[ContentCategory] kind: str nextPageToken: str @typing.type_check_only -class ContentCategory(typing_extensions.TypedDict, total=False): +class ContentCategory(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class Conversion(typing_extensions.TypedDict, total=False): +class Conversion(typing.TypedDict, total=False): childDirectedTreatment: bool customVariables: _list[CustomFloodlightVariable] encryptedUserId: str @@ -456,50 +450,50 @@ class Conversion(typing_extensions.TypedDict, total=False): value: float @typing.type_check_only -class ConversionError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConversionError(typing.TypedDict, total=False): + code: typing.Literal[ "INVALID_ARGUMENT", "INTERNAL", "PERMISSION_DENIED", "NOT_FOUND" ] kind: str message: str @typing.type_check_only -class ConversionStatus(typing_extensions.TypedDict, total=False): +class ConversionStatus(typing.TypedDict, total=False): conversion: Conversion errors: _list[ConversionError] kind: str @typing.type_check_only -class ConversionsBatchInsertRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchInsertResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class ConversionsBatchUpdateRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchUpdateResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class CountriesListResponse(typing_extensions.TypedDict, total=False): +class CountriesListResponse(typing.TypedDict, total=False): countries: _list[Country] kind: str @typing.type_check_only -class Country(typing_extensions.TypedDict, total=False): +class Country(typing.TypedDict, total=False): countryCode: str dartId: str kind: str @@ -507,7 +501,7 @@ class Country(typing_extensions.TypedDict, total=False): sslEnabled: bool @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): accountId: str active: bool adParameters: str @@ -516,24 +510,24 @@ class Creative(typing_extensions.TypedDict, total=False): advertiserId: str allowScriptAccess: bool archived: bool - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", "ARTWORK_TYPE_IMAGE", ] - authoringSource: typing_extensions.Literal[ + authoringSource: typing.Literal[ "CREATIVE_AUTHORING_SOURCE_DCM", "CREATIVE_AUTHORING_SOURCE_DBM", "CREATIVE_AUTHORING_SOURCE_STUDIO", "CREATIVE_AUTHORING_SOURCE_GWD", ] - authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] + authoringTool: typing.Literal["NINJA", "SWIFFY"] autoAdvanceImages: bool backgroundColor: str backupImageClickThroughUrl: CreativeClickThroughUrl backupImageFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -608,7 +602,7 @@ class Creative(typing_extensions.TypedDict, total=False): commercialId: str companionCreatives: _list[str] compatibility: _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -657,7 +651,7 @@ class Creative(typing_extensions.TypedDict, total=False): thirdPartyUrls: _list[ThirdPartyTrackingUrl] timerCustomEvents: _list[CreativeCustomEvent] totalFileSize: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -688,14 +682,14 @@ class Creative(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class CreativeAsset(typing_extensions.TypedDict, total=False): +class CreativeAsset(typing.TypedDict, total=False): actionScript3: bool active: bool additionalSizes: _list[Size] - alignment: typing_extensions.Literal[ + alignment: typing.Literal[ "ALIGNMENT_TOP", "ALIGNMENT_RIGHT", "ALIGNMENT_BOTTOM", "ALIGNMENT_LEFT" ] - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -706,7 +700,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): audioSampleRate: int backupImageExit: CreativeCustomEvent bitRate: int - childAssetType: typing_extensions.Literal[ + childAssetType: typing.Literal[ "CHILD_ASSET_TYPE_FLASH", "CHILD_ASSET_TYPE_VIDEO", "CHILD_ASSET_TYPE_IMAGE", @@ -716,7 +710,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): companionCreativeIds: _list[str] customStartTimeValue: int detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -785,7 +779,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "SVG_FE_IMAGE", ] ] - displayType: typing_extensions.Literal[ + displayType: typing.Literal[ "ASSET_DISPLAY_TYPE_INPAGE", "ASSET_DISPLAY_TYPE_FLOATING", "ASSET_DISPLAY_TYPE_OVERLAY", @@ -798,7 +792,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "ASSET_DISPLAY_TYPE_BACKDROP", ] duration: int - durationType: typing_extensions.Literal[ + durationType: typing.Literal[ "ASSET_DURATION_TYPE_AUTO", "ASSET_DURATION_TYPE_NONE", "ASSET_DURATION_TYPE_CUSTOM", @@ -815,20 +809,20 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): mediaDuration: float mimeType: str offset: OffsetPosition - orientation: typing_extensions.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] + orientation: typing.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] originalBackup: bool politeLoad: bool position: OffsetPosition - positionLeftUnit: typing_extensions.Literal[ + positionLeftUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] - positionTopUnit: typing_extensions.Literal[ + positionTopUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] progressiveServingUrl: str pushdown: bool pushdownDuration: float - role: typing_extensions.Literal[ + role: typing.Literal[ "PRIMARY", "BACKUP_IMAGE", "ADDITIONAL_IMAGE", @@ -842,30 +836,28 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): ] size: Size sslCompliant: bool - startTimeType: typing_extensions.Literal[ + startTimeType: typing.Literal[ "ASSET_START_TIME_TYPE_NONE", "ASSET_START_TIME_TYPE_CUSTOM" ] streamingServingUrl: str transparency: bool verticallyLocked: bool - windowMode: typing_extensions.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] + windowMode: typing.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] zIndex: int zipFilename: str zipFilesize: str @typing.type_check_only -class CreativeAssetId(typing_extensions.TypedDict, total=False): +class CreativeAssetId(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO" - ] + type: typing.Literal["IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO"] @typing.type_check_only -class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): +class CreativeAssetMetadata(typing.TypedDict, total=False): assetIdentifier: CreativeAssetId clickTags: _list[ClickTag] detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -938,7 +930,7 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): idDimensionValue: DimensionValue kind: str warnedValidationRules: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLICK_TAG_NON_TOP_LEVEL", "CLICK_TAG_MISSING", "CLICK_TAG_MORE_THAN_ONE", @@ -968,12 +960,12 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativeAssetSelection(typing_extensions.TypedDict, total=False): +class CreativeAssetSelection(typing.TypedDict, total=False): defaultAssetId: str rules: _list[Rule] @typing.type_check_only -class CreativeAssignment(typing_extensions.TypedDict, total=False): +class CreativeAssignment(typing.TypedDict, total=False): active: bool applyEventTags: bool clickThroughUrl: ClickThroughUrl @@ -989,20 +981,20 @@ class CreativeAssignment(typing_extensions.TypedDict, total=False): weight: int @typing.type_check_only -class CreativeClickThroughUrl(typing_extensions.TypedDict, total=False): +class CreativeClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str landingPageId: str @typing.type_check_only -class CreativeCustomEvent(typing_extensions.TypedDict, total=False): +class CreativeCustomEvent(typing.TypedDict, total=False): advertiserCustomEventId: str advertiserCustomEventName: str - advertiserCustomEventType: typing_extensions.Literal[ + advertiserCustomEventType: typing.Literal[ "ADVERTISER_EVENT_TIMER", "ADVERTISER_EVENT_EXIT", "ADVERTISER_EVENT_COUNTER" ] artworkLabel: str - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -1011,13 +1003,13 @@ class CreativeCustomEvent(typing_extensions.TypedDict, total=False): exitClickThroughUrl: CreativeClickThroughUrl id: str popupWindowProperties: PopupWindowProperties - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_BLANK", "TARGET_TOP", "TARGET_SELF", "TARGET_PARENT", "TARGET_POPUP" ] videoReportingId: str @typing.type_check_only -class CreativeField(typing_extensions.TypedDict, total=False): +class CreativeField(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1027,30 +1019,30 @@ class CreativeField(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeFieldAssignment(typing_extensions.TypedDict, total=False): +class CreativeFieldAssignment(typing.TypedDict, total=False): creativeFieldId: str creativeFieldValueId: str @typing.type_check_only -class CreativeFieldValue(typing_extensions.TypedDict, total=False): +class CreativeFieldValue(typing.TypedDict, total=False): id: str kind: str value: str @typing.type_check_only -class CreativeFieldValuesListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldValuesListResponse(typing.TypedDict, total=False): creativeFieldValues: _list[CreativeFieldValue] kind: str nextPageToken: str @typing.type_check_only -class CreativeFieldsListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldsListResponse(typing.TypedDict, total=False): creativeFields: _list[CreativeField] kind: str nextPageToken: str @typing.type_check_only -class CreativeGroup(typing_extensions.TypedDict, total=False): +class CreativeGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1061,24 +1053,22 @@ class CreativeGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeGroupAssignment(typing_extensions.TypedDict, total=False): +class CreativeGroupAssignment(typing.TypedDict, total=False): creativeGroupId: str - creativeGroupNumber: typing_extensions.Literal[ - "CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO" - ] + creativeGroupNumber: typing.Literal["CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO"] @typing.type_check_only -class CreativeGroupsListResponse(typing_extensions.TypedDict, total=False): +class CreativeGroupsListResponse(typing.TypedDict, total=False): creativeGroups: _list[CreativeGroup] kind: str nextPageToken: str @typing.type_check_only -class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False): +class CreativeOptimizationConfiguration(typing.TypedDict, total=False): id: str name: str optimizationActivitys: _list[OptimizationActivity] - optimizationModel: typing_extensions.Literal[ + optimizationModel: typing.Literal[ "CLICK", "POST_CLICK", "POST_IMPRESSION", @@ -1087,13 +1077,13 @@ class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class CreativeRotation(typing_extensions.TypedDict, total=False): +class CreativeRotation(typing.TypedDict, total=False): creativeAssignments: _list[CreativeAssignment] creativeOptimizationConfigurationId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CREATIVE_ROTATION_TYPE_SEQUENTIAL", "CREATIVE_ROTATION_TYPE_RANDOM" ] - weightCalculationStrategy: typing_extensions.Literal[ + weightCalculationStrategy: typing.Literal[ "WEIGHT_STRATEGY_EQUAL", "WEIGHT_STRATEGY_CUSTOM", "WEIGHT_STRATEGY_HIGHEST_CTR", @@ -1101,15 +1091,13 @@ class CreativeRotation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativesListResponse(typing_extensions.TypedDict, total=False): +class CreativesListResponse(typing.TypedDict, total=False): creatives: _list[Creative] kind: str nextPageToken: str @typing.type_check_only -class CrossDimensionReachReportCompatibleFields( - typing_extensions.TypedDict, total=False -): +class CrossDimensionReachReportCompatibleFields(typing.TypedDict, total=False): breakdown: _list[Dimension] dimensionFilters: _list[Dimension] kind: str @@ -1117,9 +1105,9 @@ class CrossDimensionReachReportCompatibleFields( overlapMetrics: _list[Metric] @typing.type_check_only -class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): +class CustomFloodlightVariable(typing.TypedDict, total=False): kind: str - type: typing_extensions.Literal[ + type: typing.Literal[ "U1", "U2", "U3", @@ -1224,28 +1212,28 @@ class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class CustomRichMediaEvents(typing_extensions.TypedDict, total=False): +class CustomRichMediaEvents(typing.TypedDict, total=False): filteredEventIds: _list[DimensionValue] kind: str @typing.type_check_only -class CustomViewabilityMetric(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetric(typing.TypedDict, total=False): configuration: CustomViewabilityMetricConfiguration id: str name: str @typing.type_check_only -class CustomViewabilityMetricConfiguration(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetricConfiguration(typing.TypedDict, total=False): audible: bool timeMillis: int timePercent: int viewabilityPercent: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: str kind: str - relativeDateRange: typing_extensions.Literal[ + relativeDateRange: typing.Literal[ "TODAY", "YESTERDAY", "WEEK_TO_DATE", @@ -1267,9 +1255,9 @@ class DateRange(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DayPartTargeting(typing_extensions.TypedDict, total=False): +class DayPartTargeting(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ] ] @@ -1277,7 +1265,7 @@ class DayPartTargeting(typing_extensions.TypedDict, total=False): userLocalTime: bool @typing.type_check_only -class DeepLink(typing_extensions.TypedDict, total=False): +class DeepLink(typing.TypedDict, total=False): appUrl: str fallbackUrl: str kind: str @@ -1285,16 +1273,16 @@ class DeepLink(typing_extensions.TypedDict, total=False): remarketingListIds: _list[str] @typing.type_check_only -class DefaultClickThroughEventTagProperties(typing_extensions.TypedDict, total=False): +class DefaultClickThroughEventTagProperties(typing.TypedDict, total=False): defaultClickThroughEventTagId: str overrideInheritedEventTag: bool @typing.type_check_only -class DeliverySchedule(typing_extensions.TypedDict, total=False): +class DeliverySchedule(typing.TypedDict, total=False): frequencyCap: FrequencyCap hardCutoff: bool impressionRatio: str - priority: typing_extensions.Literal[ + priority: typing.Literal[ "AD_PRIORITY_01", "AD_PRIORITY_02", "AD_PRIORITY_03", @@ -1314,7 +1302,7 @@ class DeliverySchedule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DfpSettings(typing_extensions.TypedDict, total=False): +class DfpSettings(typing.TypedDict, total=False): dfpNetworkCode: str dfpNetworkName: str programmaticPlacementAccepted: bool @@ -1322,36 +1310,34 @@ class DfpSettings(typing_extensions.TypedDict, total=False): publisherPortalOnly: bool @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class DimensionFilter(typing_extensions.TypedDict, total=False): +class DimensionFilter(typing.TypedDict, total=False): dimensionName: str kind: str value: str @typing.type_check_only -class DimensionValue(typing_extensions.TypedDict, total=False): +class DimensionValue(typing.TypedDict, total=False): dimensionName: str etag: str id: str kind: str - matchType: typing_extensions.Literal[ - "EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION" - ] + matchType: typing.Literal["EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION"] value: str @typing.type_check_only -class DimensionValueList(typing_extensions.TypedDict, total=False): +class DimensionValueList(typing.TypedDict, total=False): etag: str items: _list[DimensionValue] kind: str nextPageToken: str @typing.type_check_only -class DimensionValueRequest(typing_extensions.TypedDict, total=False): +class DimensionValueRequest(typing.TypedDict, total=False): dimensionName: str endDate: str filters: _list[DimensionFilter] @@ -1359,12 +1345,12 @@ class DimensionValueRequest(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DirectorySite(typing_extensions.TypedDict, total=False): +class DirectorySite(typing.TypedDict, total=False): active: bool id: str idDimensionValue: DimensionValue inpageTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "STANDARD", "IFRAME_JAVASCRIPT_INPAGE", "INTERNAL_REDIRECT_INPAGE", @@ -1372,7 +1358,7 @@ class DirectorySite(typing_extensions.TypedDict, total=False): ] ] interstitialTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "IFRAME_JAVASCRIPT_INTERSTITIAL", "INTERNAL_REDIRECT_INTERSTITIAL", "JAVASCRIPT_INTERSTITIAL", @@ -1384,36 +1370,36 @@ class DirectorySite(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class DirectorySiteSettings(typing_extensions.TypedDict, total=False): +class DirectorySiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool dfpSettings: DfpSettings instreamVideoPlacementAccepted: bool interstitialPlacementAccepted: bool @typing.type_check_only -class DirectorySitesListResponse(typing_extensions.TypedDict, total=False): +class DirectorySitesListResponse(typing.TypedDict, total=False): directorySites: _list[DirectorySite] kind: str nextPageToken: str @typing.type_check_only -class DynamicTargetingKey(typing_extensions.TypedDict, total=False): +class DynamicTargetingKey(typing.TypedDict, total=False): kind: str name: str objectId: str - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] @typing.type_check_only -class DynamicTargetingKeysListResponse(typing_extensions.TypedDict, total=False): +class DynamicTargetingKeysListResponse(typing.TypedDict, total=False): dynamicTargetingKeys: _list[DynamicTargetingKey] kind: str @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): encryptionEntityId: str - encryptionEntityType: typing_extensions.Literal[ + encryptionEntityType: typing.Literal[ "ENCRYPTION_ENTITY_TYPE_UNKNOWN", "DCM_ACCOUNT", "DCM_ADVERTISER", @@ -1422,13 +1408,13 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): "ADWORDS_CUSTOMER", "DFP_NETWORK_CODE", ] - encryptionSource: typing_extensions.Literal[ + encryptionSource: typing.Literal[ "ENCRYPTION_SCOPE_UNKNOWN", "AD_SERVING", "DATA_TRANSFER" ] kind: str @typing.type_check_only -class EventTag(typing_extensions.TypedDict, total=False): +class EventTag(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1439,12 +1425,12 @@ class EventTag(typing_extensions.TypedDict, total=False): id: str kind: str name: str - siteFilterType: typing_extensions.Literal["WHITELIST", "BLACKLIST"] + siteFilterType: typing.Literal["WHITELIST", "BLACKLIST"] siteIds: _list[str] sslCompliant: bool - status: typing_extensions.Literal["ENABLED", "DISABLED"] + status: typing.Literal["ENABLED", "DISABLED"] subaccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -1453,65 +1439,63 @@ class EventTag(typing_extensions.TypedDict, total=False): urlEscapeLevels: int @typing.type_check_only -class EventTagOverride(typing_extensions.TypedDict, total=False): +class EventTagOverride(typing.TypedDict, total=False): enabled: bool id: str @typing.type_check_only -class EventTagsListResponse(typing_extensions.TypedDict, total=False): +class EventTagsListResponse(typing.TypedDict, total=False): eventTags: _list[EventTag] kind: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): dateRange: DateRange etag: str fileName: str - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str reportId: str - status: typing_extensions.Literal[ - "PROCESSING", "REPORT_AVAILABLE", "FAILED", "CANCELLED" - ] + status: typing.Literal["PROCESSING", "REPORT_AVAILABLE", "FAILED", "CANCELLED"] urls: dict[str, typing.Any] @typing.type_check_only -class FileList(typing_extensions.TypedDict, total=False): +class FileList(typing.TypedDict, total=False): etag: str items: _list[File] kind: str nextPageToken: str @typing.type_check_only -class Flight(typing_extensions.TypedDict, total=False): +class Flight(typing.TypedDict, total=False): endDate: str rateOrCost: str startDate: str units: str @typing.type_check_only -class FloodlightActivitiesGenerateTagResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesGenerateTagResponse(typing.TypedDict, total=False): floodlightActivityTag: str globalSiteTagGlobalSnippet: str kind: str @typing.type_check_only -class FloodlightActivitiesListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesListResponse(typing.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivity(typing_extensions.TypedDict, total=False): +class FloodlightActivity(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue - cacheBustingType: typing_extensions.Literal[ + cacheBustingType: typing.Literal[ "JAVASCRIPT", "ACTIVE_SERVER_PAGE", "JSP", "PHP", "COLD_FUSION" ] - countingMethod: typing_extensions.Literal[ + countingMethod: typing.Literal[ "STANDARD_COUNTING", "UNIQUE_COUNTING", "SESSION_COUNTING", @@ -1523,10 +1507,10 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): floodlightActivityGroupId: str floodlightActivityGroupName: str floodlightActivityGroupTagString: str - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] floodlightConfigurationId: str floodlightConfigurationIdDimensionValue: DimensionValue - floodlightTagType: typing_extensions.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] + floodlightTagType: typing.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] hidden: bool id: str idDimensionValue: DimensionValue @@ -1538,10 +1522,10 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): sslCompliant: bool sslRequired: bool subaccountId: str - tagFormat: typing_extensions.Literal["HTML", "XHTML"] + tagFormat: typing.Literal["HTML", "XHTML"] tagString: str userDefinedVariableTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "U1", "U2", "U3", @@ -1646,13 +1630,13 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FloodlightActivityDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityDynamicTag(typing.TypedDict, total=False): id: str name: str tag: str @typing.type_check_only -class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1664,16 +1648,16 @@ class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): name: str subaccountId: str tagString: str - type: typing_extensions.Literal["COUNTER", "SALE"] + type: typing.Literal["COUNTER", "SALE"] @typing.type_check_only -class FloodlightActivityGroupsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroupsListResponse(typing.TypedDict, total=False): floodlightActivityGroups: _list[FloodlightActivityGroup] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityPublisherDynamicTag(typing.TypedDict, total=False): clickThrough: bool directorySiteId: str dynamicTag: FloodlightActivityDynamicTag @@ -1682,20 +1666,20 @@ class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=F viewThrough: bool @typing.type_check_only -class FloodlightConfiguration(typing_extensions.TypedDict, total=False): +class FloodlightConfiguration(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue analyticsDataSharingEnabled: bool customViewabilityMetric: CustomViewabilityMetric exposureToConversionEnabled: bool - firstDayOfWeek: typing_extensions.Literal["MONDAY", "SUNDAY"] + firstDayOfWeek: typing.Literal["MONDAY", "SUNDAY"] id: str idDimensionValue: DimensionValue inAppAttributionTrackingEnabled: bool kind: str lookbackConfiguration: LookbackConfiguration - naturalSearchConversionAttributionOption: typing_extensions.Literal[ + naturalSearchConversionAttributionOption: typing.Literal[ "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION", @@ -1707,34 +1691,32 @@ class FloodlightConfiguration(typing_extensions.TypedDict, total=False): userDefinedVariableConfigurations: _list[UserDefinedVariableConfiguration] @typing.type_check_only -class FloodlightConfigurationsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightConfigurationsListResponse(typing.TypedDict, total=False): floodlightConfigurations: _list[FloodlightConfiguration] kind: str @typing.type_check_only -class FloodlightReportCompatibleFields(typing_extensions.TypedDict, total=False): +class FloodlightReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str metrics: _list[Metric] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): duration: str impressions: str @typing.type_check_only -class FsCommand(typing_extensions.TypedDict, total=False): +class FsCommand(typing.TypedDict, total=False): left: int - positionOption: typing_extensions.Literal[ - "CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER" - ] + positionOption: typing.Literal["CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER"] top: int windowHeight: int windowWidth: int @typing.type_check_only -class GeoTargeting(typing_extensions.TypedDict, total=False): +class GeoTargeting(typing.TypedDict, total=False): cities: _list[City] countries: _list[Country] excludeCountries: bool @@ -1743,7 +1725,7 @@ class GeoTargeting(typing_extensions.TypedDict, total=False): regions: _list[Region] @typing.type_check_only -class InventoryItem(typing_extensions.TypedDict, total=False): +class InventoryItem(typing.TypedDict, total=False): accountId: str adSlots: _list[AdSlot] advertiserId: str @@ -1763,22 +1745,22 @@ class InventoryItem(typing_extensions.TypedDict, total=False): rfpId: str siteId: str subaccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PLANNING_PLACEMENT_TYPE_REGULAR", "PLANNING_PLACEMENT_TYPE_CREDIT" ] @typing.type_check_only -class InventoryItemsListResponse(typing_extensions.TypedDict, total=False): +class InventoryItemsListResponse(typing.TypedDict, total=False): inventoryItems: _list[InventoryItem] kind: str nextPageToken: str @typing.type_check_only -class KeyValueTargetingExpression(typing_extensions.TypedDict, total=False): +class KeyValueTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LandingPage(typing_extensions.TypedDict, total=False): +class LandingPage(typing.TypedDict, total=False): advertiserId: str archived: bool deepLinks: _list[DeepLink] @@ -1788,40 +1770,40 @@ class LandingPage(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Language(typing_extensions.TypedDict, total=False): +class Language(typing.TypedDict, total=False): id: str kind: str languageCode: str name: str @typing.type_check_only -class LanguageTargeting(typing_extensions.TypedDict, total=False): +class LanguageTargeting(typing.TypedDict, total=False): languages: _list[Language] @typing.type_check_only -class LanguagesListResponse(typing_extensions.TypedDict, total=False): +class LanguagesListResponse(typing.TypedDict, total=False): kind: str languages: _list[Language] @typing.type_check_only -class LastModifiedInfo(typing_extensions.TypedDict, total=False): +class LastModifiedInfo(typing.TypedDict, total=False): time: str @typing.type_check_only -class ListPopulationClause(typing_extensions.TypedDict, total=False): +class ListPopulationClause(typing.TypedDict, total=False): terms: _list[ListPopulationTerm] @typing.type_check_only -class ListPopulationRule(typing_extensions.TypedDict, total=False): +class ListPopulationRule(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityName: str listPopulationClauses: _list[ListPopulationClause] @typing.type_check_only -class ListPopulationTerm(typing_extensions.TypedDict, total=False): +class ListPopulationTerm(typing.TypedDict, total=False): contains: bool negation: bool - operator: typing_extensions.Literal[ + operator: typing.Literal[ "NUM_EQUALS", "NUM_LESS_THAN", "NUM_LESS_THAN_EQUAL", @@ -1831,7 +1813,7 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): "STRING_CONTAINS", ] remarketingListId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CUSTOM_VARIABLE_TERM", "LIST_MEMBERSHIP_TERM", "REFERRER_TERM" ] value: str @@ -1839,21 +1821,21 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): variableName: str @typing.type_check_only -class ListTargetingExpression(typing_extensions.TypedDict, total=False): +class ListTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LookbackConfiguration(typing_extensions.TypedDict, total=False): +class LookbackConfiguration(typing.TypedDict, total=False): clickDuration: int postImpressionActivitiesDuration: int @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class Metro(typing_extensions.TypedDict, total=False): +class Metro(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -1863,28 +1845,26 @@ class Metro(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MetrosListResponse(typing_extensions.TypedDict, total=False): +class MetrosListResponse(typing.TypedDict, total=False): kind: str metros: _list[Metro] @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): - directory: typing_extensions.Literal[ - "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE" - ] +class MobileApp(typing.TypedDict, total=False): + directory: typing.Literal["UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE"] id: str kind: str publisherName: str title: str @typing.type_check_only -class MobileAppsListResponse(typing_extensions.TypedDict, total=False): +class MobileAppsListResponse(typing.TypedDict, total=False): kind: str mobileApps: _list[MobileApp] nextPageToken: str @typing.type_check_only -class MobileCarrier(typing_extensions.TypedDict, total=False): +class MobileCarrier(typing.TypedDict, total=False): countryCode: str countryDartId: str id: str @@ -1892,28 +1872,28 @@ class MobileCarrier(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MobileCarriersListResponse(typing_extensions.TypedDict, total=False): +class MobileCarriersListResponse(typing.TypedDict, total=False): kind: str mobileCarriers: _list[MobileCarrier] @typing.type_check_only -class ObjectFilter(typing_extensions.TypedDict, total=False): +class ObjectFilter(typing.TypedDict, total=False): kind: str objectIds: _list[str] - status: typing_extensions.Literal["NONE", "ASSIGNED", "ALL"] + status: typing.Literal["NONE", "ASSIGNED", "ALL"] @typing.type_check_only -class OffsetPosition(typing_extensions.TypedDict, total=False): +class OffsetPosition(typing.TypedDict, total=False): left: int top: int @typing.type_check_only -class OmnitureSettings(typing_extensions.TypedDict, total=False): +class OmnitureSettings(typing.TypedDict, total=False): omnitureCostDataEnabled: bool omnitureIntegrationEnabled: bool @typing.type_check_only -class OperatingSystem(typing_extensions.TypedDict, total=False): +class OperatingSystem(typing.TypedDict, total=False): dartId: str desktop: bool kind: str @@ -1921,7 +1901,7 @@ class OperatingSystem(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OperatingSystemVersion(typing_extensions.TypedDict, total=False): +class OperatingSystemVersion(typing.TypedDict, total=False): id: str kind: str majorVersion: str @@ -1930,23 +1910,23 @@ class OperatingSystemVersion(typing_extensions.TypedDict, total=False): operatingSystem: OperatingSystem @typing.type_check_only -class OperatingSystemVersionsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemVersionsListResponse(typing.TypedDict, total=False): kind: str operatingSystemVersions: _list[OperatingSystemVersion] @typing.type_check_only -class OperatingSystemsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemsListResponse(typing.TypedDict, total=False): kind: str operatingSystems: _list[OperatingSystem] @typing.type_check_only -class OptimizationActivity(typing_extensions.TypedDict, total=False): +class OptimizationActivity(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityIdDimensionValue: DimensionValue weight: int @typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): +class Order(typing.TypedDict, total=False): accountId: str advertiserId: str approverUserProfileIds: _list[str] @@ -1969,11 +1949,11 @@ class Order(typing_extensions.TypedDict, total=False): termsAndConditions: str @typing.type_check_only -class OrderContact(typing_extensions.TypedDict, total=False): +class OrderContact(typing.TypedDict, total=False): contactInfo: str contactName: str contactTitle: str - contactType: typing_extensions.Literal[ + contactType: typing.Literal[ "PLANNING_ORDER_CONTACT_BUYER_CONTACT", "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT", "PLANNING_ORDER_CONTACT_SELLER_CONTACT", @@ -1981,7 +1961,7 @@ class OrderContact(typing_extensions.TypedDict, total=False): signatureUserProfileId: str @typing.type_check_only -class OrderDocument(typing_extensions.TypedDict, total=False): +class OrderDocument(typing.TypedDict, total=False): accountId: str advertiserId: str amendedOrderDocumentId: str @@ -1998,24 +1978,24 @@ class OrderDocument(typing_extensions.TypedDict, total=False): signed: bool subaccountId: str title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PLANNING_ORDER_TYPE_INSERTION_ORDER", "PLANNING_ORDER_TYPE_CHANGE_ORDER" ] @typing.type_check_only -class OrderDocumentsListResponse(typing_extensions.TypedDict, total=False): +class OrderDocumentsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str orderDocuments: _list[OrderDocument] @typing.type_check_only -class OrdersListResponse(typing_extensions.TypedDict, total=False): +class OrdersListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str orders: _list[Order] @typing.type_check_only -class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total=False): +class PathToConversionReportCompatibleFields(typing.TypedDict, total=False): conversionDimensions: _list[Dimension] customFloodlightVariables: _list[Dimension] kind: str @@ -2023,7 +2003,7 @@ class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total= perInteractionDimensions: _list[Dimension] @typing.type_check_only -class Placement(typing_extensions.TypedDict, total=False): +class Placement(typing.TypedDict, total=False): accountId: str adBlockingOptOut: bool additionalSizes: _list[Size] @@ -2033,7 +2013,7 @@ class Placement(typing_extensions.TypedDict, total=False): campaignId: str campaignIdDimensionValue: DimensionValue comment: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -2054,9 +2034,7 @@ class Placement(typing_extensions.TypedDict, total=False): lookbackConfiguration: LookbackConfiguration name: str paymentApproved: bool - paymentSource: typing_extensions.Literal[ - "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" - ] + paymentSource: typing.Literal["PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID"] placementGroupId: str placementGroupIdDimensionValue: DimensionValue placementStrategyId: str @@ -2067,7 +2045,7 @@ class Placement(typing_extensions.TypedDict, total=False): siteIdDimensionValue: DimensionValue size: Size sslRequired: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "PENDING_REVIEW", "PAYMENT_ACCEPTED", "PAYMENT_REJECTED", @@ -2077,7 +2055,7 @@ class Placement(typing_extensions.TypedDict, total=False): ] subaccountId: str tagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -2103,17 +2081,17 @@ class Placement(typing_extensions.TypedDict, total=False): tagSetting: TagSetting videoActiveViewOptOut: bool videoSettings: VideoSettings - vpaidAdapterChoice: typing_extensions.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] + vpaidAdapterChoice: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] @typing.type_check_only -class PlacementAssignment(typing_extensions.TypedDict, total=False): +class PlacementAssignment(typing.TypedDict, total=False): active: bool placementId: str placementIdDimensionValue: DimensionValue sslRequired: bool @typing.type_check_only -class PlacementGroup(typing_extensions.TypedDict, total=False): +class PlacementGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -2132,9 +2110,7 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): kind: str lastModifiedInfo: LastModifiedInfo name: str - placementGroupType: typing_extensions.Literal[ - "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" - ] + placementGroupType: typing.Literal["PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK"] placementStrategyId: str pricingSchedule: PricingSchedule primaryPlacementId: str @@ -2144,56 +2120,56 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class PlacementGroupsListResponse(typing_extensions.TypedDict, total=False): +class PlacementGroupsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementGroups: _list[PlacementGroup] @typing.type_check_only -class PlacementStrategiesListResponse(typing_extensions.TypedDict, total=False): +class PlacementStrategiesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementStrategies: _list[PlacementStrategy] @typing.type_check_only -class PlacementStrategy(typing_extensions.TypedDict, total=False): +class PlacementStrategy(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class PlacementTag(typing_extensions.TypedDict, total=False): +class PlacementTag(typing.TypedDict, total=False): placementId: str tagDatas: _list[TagData] @typing.type_check_only -class PlacementsGenerateTagsResponse(typing_extensions.TypedDict, total=False): +class PlacementsGenerateTagsResponse(typing.TypedDict, total=False): kind: str placementTags: _list[PlacementTag] @typing.type_check_only -class PlacementsListResponse(typing_extensions.TypedDict, total=False): +class PlacementsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placements: _list[Placement] @typing.type_check_only -class PlatformType(typing_extensions.TypedDict, total=False): +class PlatformType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class PlatformTypesListResponse(typing_extensions.TypedDict, total=False): +class PlatformTypesListResponse(typing.TypedDict, total=False): kind: str platformTypes: _list[PlatformType] @typing.type_check_only -class PopupWindowProperties(typing_extensions.TypedDict, total=False): +class PopupWindowProperties(typing.TypedDict, total=False): dimension: Size offset: OffsetPosition - positionType: typing_extensions.Literal["CENTER", "COORDINATES"] + positionType: typing.Literal["CENTER", "COORDINATES"] showAddressBar: bool showMenuBar: bool showScrollBar: bool @@ -2202,7 +2178,7 @@ class PopupWindowProperties(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PostalCode(typing_extensions.TypedDict, total=False): +class PostalCode(typing.TypedDict, total=False): code: str countryCode: str countryDartId: str @@ -2210,24 +2186,24 @@ class PostalCode(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class PostalCodesListResponse(typing_extensions.TypedDict, total=False): +class PostalCodesListResponse(typing.TypedDict, total=False): kind: str postalCodes: _list[PostalCode] @typing.type_check_only -class Pricing(typing_extensions.TypedDict, total=False): - capCostType: typing_extensions.Literal[ +class Pricing(typing.TypedDict, total=False): + capCostType: typing.Literal[ "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE", "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY", "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE", ] endDate: str flights: _list[Flight] - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE", "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK", ] - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS", "PLANNING_PLACEMENT_PRICING_TYPE_CPM", "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS", @@ -2240,8 +2216,8 @@ class Pricing(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class PricingSchedule(typing_extensions.TypedDict, total=False): - capCostOption: typing_extensions.Literal[ +class PricingSchedule(typing.TypedDict, total=False): + capCostOption: typing.Literal[ "CAP_COST_NONE", "CAP_COST_MONTHLY", "CAP_COST_CUMULATIVE" ] disregardOverdelivery: bool @@ -2249,7 +2225,7 @@ class PricingSchedule(typing_extensions.TypedDict, total=False): flighted: bool floodlightActivityId: str pricingPeriods: _list[PricingSchedulePricingPeriod] - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -2261,7 +2237,7 @@ class PricingSchedule(typing_extensions.TypedDict, total=False): testingStartDate: str @typing.type_check_only -class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): +class PricingSchedulePricingPeriod(typing.TypedDict, total=False): endDate: str pricingComment: str rateOrCostNanos: str @@ -2269,10 +2245,10 @@ class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): units: str @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): accountId: str advertiserId: str - audienceAgeGroup: typing_extensions.Literal[ + audienceAgeGroup: typing.Literal[ "PLANNING_AUDIENCE_AGE_18_24", "PLANNING_AUDIENCE_AGE_25_34", "PLANNING_AUDIENCE_AGE_35_44", @@ -2281,7 +2257,7 @@ class Project(typing_extensions.TypedDict, total=False): "PLANNING_AUDIENCE_AGE_65_OR_MORE", "PLANNING_AUDIENCE_AGE_UNKNOWN", ] - audienceGender: typing_extensions.Literal[ + audienceGender: typing.Literal[ "PLANNING_AUDIENCE_GENDER_MALE", "PLANNING_AUDIENCE_GENDER_FEMALE" ] budget: str @@ -2304,13 +2280,13 @@ class Project(typing_extensions.TypedDict, total=False): targetImpressions: str @typing.type_check_only -class ProjectsListResponse(typing_extensions.TypedDict, total=False): +class ProjectsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str projects: _list[Project] @typing.type_check_only -class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReachReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2319,13 +2295,13 @@ class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): reachByFrequencyMetrics: _list[Metric] @typing.type_check_only -class Recipient(typing_extensions.TypedDict, total=False): - deliveryType: typing_extensions.Literal["LINK", "ATTACHMENT"] +class Recipient(typing.TypedDict, total=False): + deliveryType: typing.Literal["LINK", "ATTACHMENT"] email: str kind: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -2334,12 +2310,12 @@ class Region(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class RegionsListResponse(typing_extensions.TypedDict, total=False): +class RegionsListResponse(typing.TypedDict, total=False): kind: str regions: _list[Region] @typing.type_check_only -class RemarketingList(typing_extensions.TypedDict, total=False): +class RemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -2350,7 +2326,7 @@ class RemarketingList(typing_extensions.TypedDict, total=False): lifeSpan: str listPopulationRule: ListPopulationRule listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -2367,20 +2343,20 @@ class RemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class RemarketingListShare(typing_extensions.TypedDict, total=False): +class RemarketingListShare(typing.TypedDict, total=False): kind: str remarketingListId: str sharedAccountIds: _list[str] sharedAdvertiserIds: _list[str] @typing.type_check_only -class RemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class RemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str remarketingLists: _list[RemarketingList] @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): accountId: str criteria: dict[str, typing.Any] crossDimensionReachCriteria: dict[str, typing.Any] @@ -2388,7 +2364,7 @@ class Report(typing_extensions.TypedDict, total=False): etag: str fileName: str floodlightCriteria: dict[str, typing.Any] - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str @@ -2398,12 +2374,12 @@ class Report(typing_extensions.TypedDict, total=False): reachCriteria: dict[str, typing.Any] schedule: dict[str, typing.Any] subAccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "STANDARD", "REACH", "PATH_TO_CONVERSION", "CROSS_DIMENSION_REACH", "FLOODLIGHT" ] @typing.type_check_only -class ReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2411,32 +2387,32 @@ class ReportCompatibleFields(typing_extensions.TypedDict, total=False): pivotedActivityMetrics: _list[Metric] @typing.type_check_only -class ReportList(typing_extensions.TypedDict, total=False): +class ReportList(typing.TypedDict, total=False): etag: str items: _list[Report] kind: str nextPageToken: str @typing.type_check_only -class ReportsConfiguration(typing_extensions.TypedDict, total=False): +class ReportsConfiguration(typing.TypedDict, total=False): exposureToConversionEnabled: bool lookbackConfiguration: LookbackConfiguration reportGenerationTimeZoneId: str @typing.type_check_only -class RichMediaExitOverride(typing_extensions.TypedDict, total=False): +class RichMediaExitOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl enabled: bool exitId: str @typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): +class Rule(typing.TypedDict, total=False): assetId: str name: str targetingTemplateId: str @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): accountId: str approved: bool directorySiteId: str @@ -2452,16 +2428,16 @@ class Site(typing_extensions.TypedDict, total=False): videoSettings: SiteVideoSettings @typing.type_check_only -class SiteCompanionSetting(typing_extensions.TypedDict, total=False): +class SiteCompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class SiteContact(typing_extensions.TypedDict, total=False): +class SiteContact(typing.TypedDict, total=False): address: str - contactType: typing_extensions.Literal["SALES_PERSON", "TRAFFICKER"] + contactType: typing.Literal["SALES_PERSON", "TRAFFICKER"] email: str firstName: str id: str @@ -2470,44 +2446,42 @@ class SiteContact(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class SiteSettings(typing_extensions.TypedDict, total=False): +class SiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool adBlockingOptOut: bool disableNewCookie: bool tagSetting: TagSetting videoActiveViewOptOutTemplate: bool - vpaidAdapterChoiceTemplate: typing_extensions.Literal[ - "DEFAULT", "FLASH", "HTML5", "BOTH" - ] + vpaidAdapterChoiceTemplate: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] @typing.type_check_only -class SiteSkippableSetting(typing_extensions.TypedDict, total=False): +class SiteSkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SiteTranscodeSetting(typing_extensions.TypedDict, total=False): +class SiteTranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class SiteVideoSettings(typing_extensions.TypedDict, total=False): +class SiteVideoSettings(typing.TypedDict, total=False): companionSettings: SiteCompanionSetting kind: str - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] skippableSettings: SiteSkippableSetting transcodeSettings: SiteTranscodeSetting @typing.type_check_only -class SitesListResponse(typing_extensions.TypedDict, total=False): +class SitesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str sites: _list[Site] @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: int iab: bool id: str @@ -2515,25 +2489,25 @@ class Size(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class SizesListResponse(typing_extensions.TypedDict, total=False): +class SizesListResponse(typing.TypedDict, total=False): kind: str sizes: _list[Size] @typing.type_check_only -class SkippableSetting(typing_extensions.TypedDict, total=False): +class SkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SortedDimension(typing_extensions.TypedDict, total=False): +class SortedDimension(typing.TypedDict, total=False): kind: str name: str - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] @typing.type_check_only -class Subaccount(typing_extensions.TypedDict, total=False): +class Subaccount(typing.TypedDict, total=False): accountId: str availablePermissionIds: _list[str] id: str @@ -2541,17 +2515,17 @@ class Subaccount(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SubaccountsListResponse(typing_extensions.TypedDict, total=False): +class SubaccountsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str subaccounts: _list[Subaccount] @typing.type_check_only -class TagData(typing_extensions.TypedDict, total=False): +class TagData(typing.TypedDict, total=False): adId: str clickTag: str creativeId: str - format: typing_extensions.Literal[ + format: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -2576,30 +2550,28 @@ class TagData(typing_extensions.TypedDict, total=False): impressionTag: str @typing.type_check_only -class TagSetting(typing_extensions.TypedDict, total=False): +class TagSetting(typing.TypedDict, total=False): additionalKeyValues: str includeClickThroughUrls: bool includeClickTracking: bool - keywordOption: typing_extensions.Literal[ + keywordOption: typing.Literal[ "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", "IGNORE", "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD", ] @typing.type_check_only -class TagSettings(typing_extensions.TypedDict, total=False): +class TagSettings(typing.TypedDict, total=False): dynamicTagEnabled: bool imageTagEnabled: bool @typing.type_check_only -class TargetWindow(typing_extensions.TypedDict, total=False): +class TargetWindow(typing.TypedDict, total=False): customHtml: str - targetWindowOption: typing_extensions.Literal[ - "NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM" - ] + targetWindowOption: typing.Literal["NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM"] @typing.type_check_only -class TargetableRemarketingList(typing_extensions.TypedDict, total=False): +class TargetableRemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -2609,7 +2581,7 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): kind: str lifeSpan: str listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -2626,13 +2598,13 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class TargetableRemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class TargetableRemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetableRemarketingLists: _list[TargetableRemarketingList] @typing.type_check_only -class TargetingTemplate(typing_extensions.TypedDict, total=False): +class TargetingTemplate(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -2648,13 +2620,13 @@ class TargetingTemplate(typing_extensions.TypedDict, total=False): technologyTargeting: TechnologyTargeting @typing.type_check_only -class TargetingTemplatesListResponse(typing_extensions.TypedDict, total=False): +class TargetingTemplatesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetingTemplates: _list[TargetingTemplate] @typing.type_check_only -class TechnologyTargeting(typing_extensions.TypedDict, total=False): +class TechnologyTargeting(typing.TypedDict, total=False): browsers: _list[Browser] connectionTypes: _list[ConnectionType] mobileCarriers: _list[MobileCarrier] @@ -2663,13 +2635,13 @@ class TechnologyTargeting(typing_extensions.TypedDict, total=False): platformTypes: _list[PlatformType] @typing.type_check_only -class ThirdPartyAuthenticationToken(typing_extensions.TypedDict, total=False): +class ThirdPartyAuthenticationToken(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): - thirdPartyUrlType: typing_extensions.Literal[ +class ThirdPartyTrackingUrl(typing.TypedDict, total=False): + thirdPartyUrlType: typing.Literal[ "IMPRESSION", "CLICK_TRACKING", "VIDEO_START", @@ -2693,20 +2665,20 @@ class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class TranscodeSetting(typing_extensions.TypedDict, total=False): +class TranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): - registry: typing_extensions.Literal["OTHER", "AD_ID.ORG", "CLEARCAST", "DCM"] +class UniversalAdId(typing.TypedDict, total=False): + registry: typing.Literal["OTHER", "AD_ID.ORG", "CLEARCAST", "DCM"] value: str @typing.type_check_only -class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal["STRING", "NUMBER"] +class UserDefinedVariableConfiguration(typing.TypedDict, total=False): + dataType: typing.Literal["STRING", "NUMBER"] reportName: str - variableType: typing_extensions.Literal[ + variableType: typing.Literal[ "U1", "U2", "U3", @@ -2810,7 +2782,7 @@ class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class UserProfile(typing_extensions.TypedDict, total=False): +class UserProfile(typing.TypedDict, total=False): accountId: str accountName: str etag: str @@ -2821,13 +2793,13 @@ class UserProfile(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class UserProfileList(typing_extensions.TypedDict, total=False): +class UserProfileList(typing.TypedDict, total=False): etag: str items: _list[UserProfile] kind: str @typing.type_check_only -class UserRole(typing_extensions.TypedDict, total=False): +class UserRole(typing.TypedDict, total=False): accountId: str defaultUserRole: bool id: str @@ -2838,8 +2810,8 @@ class UserRole(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class UserRolePermission(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class UserRolePermission(typing.TypedDict, total=False): + availability: typing.Literal[ "NOT_AVAILABLE_BY_DEFAULT", "ACCOUNT_BY_DEFAULT", "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", @@ -2853,49 +2825,49 @@ class UserRolePermission(typing_extensions.TypedDict, total=False): permissionGroupId: str @typing.type_check_only -class UserRolePermissionGroup(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class UserRolePermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroupsListResponse(typing.TypedDict, total=False): kind: str userRolePermissionGroups: _list[UserRolePermissionGroup] @typing.type_check_only -class UserRolePermissionsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionsListResponse(typing.TypedDict, total=False): kind: str userRolePermissions: _list[UserRolePermission] @typing.type_check_only -class UserRolesListResponse(typing_extensions.TypedDict, total=False): +class UserRolesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str userRoles: _list[UserRole] @typing.type_check_only -class VideoFormat(typing_extensions.TypedDict, total=False): - fileType: typing_extensions.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] +class VideoFormat(typing.TypedDict, total=False): + fileType: typing.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] id: int kind: str resolution: Size targetBitRate: int @typing.type_check_only -class VideoFormatsListResponse(typing_extensions.TypedDict, total=False): +class VideoFormatsListResponse(typing.TypedDict, total=False): kind: str videoFormats: _list[VideoFormat] @typing.type_check_only -class VideoOffset(typing_extensions.TypedDict, total=False): +class VideoOffset(typing.TypedDict, total=False): offsetPercentage: int offsetSeconds: int @typing.type_check_only -class VideoSettings(typing_extensions.TypedDict, total=False): +class VideoSettings(typing.TypedDict, total=False): companionSettings: CompanionSetting kind: str - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] skippableSettings: SkippableSetting transcodeSettings: TranscodeSetting diff --git a/googleapiclient-stubs/_apis/dfareporting/v3_4/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v3_4/resources.pyi index 5f3dea550..def37cbf4 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v3_4/resources.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v3_4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -54,9 +53,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., userRoleId: str | None = ..., **kwargs: typing.Any, @@ -92,9 +90,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AccountsListResponseHttpRequest: ... def list_next( @@ -126,7 +123,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): archived: bool | None = ..., audienceSegmentIds: str | _list[str] | None = ..., campaignIds: str | _list[str] | None = ..., - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -147,12 +144,11 @@ class DfareportingResource(googleapiclient.discovery.Resource): remarketingListIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., sslCompliant: bool | None = ..., sslRequired: bool | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -160,7 +156,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "AD_SERVING_BRAND_SAFE_AD", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -202,9 +198,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AdvertiserGroupsListResponseHttpRequest: ... def list_next( @@ -243,9 +238,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertiserLandingPagesListResponseHttpRequest: ... @@ -281,10 +275,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): onlyParent: bool | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + status: typing.Literal["APPROVED", "ON_HOLD"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertisersListResponseHttpRequest: ... @@ -323,8 +316,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CampaignCreativeAssociationsListResponseHttpRequest: ... def list_next( @@ -355,9 +347,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): overriddenEventTagId: str | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> CampaignsListResponseHttpRequest: ... @@ -382,7 +373,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - action: typing_extensions.Literal[ + action: typing.Literal[ "ACTION_CREATE", "ACTION_UPDATE", "ACTION_DELETE", @@ -407,7 +398,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., minChangeTime: str | None = ..., objectIds: str | _list[str] | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_FLOODLIGHT_CONFIGURATION", "OBJECT_AD", @@ -502,9 +493,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ContentCategoriesListResponseHttpRequest: ... def list_next( @@ -586,9 +576,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "VALUE"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "VALUE"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldValuesListResponseHttpRequest: ... def list_next( @@ -634,9 +623,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldsListResponseHttpRequest: ... def list_next( @@ -669,9 +657,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeGroupsListResponseHttpRequest: ... def list_next( @@ -710,11 +697,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): renderingIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., studioCreativeId: str | None = ..., - types: typing_extensions.Literal[ + types: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -742,7 +728,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "INSTREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -833,9 +819,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> DirectorySitesListResponseHttpRequest: ... def list_next( @@ -852,7 +837,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, objectId: str, name: str, - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ], **kwargs: typing.Any, @@ -867,7 +852,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): advertiserId: str | None = ..., names: str | _list[str] | None = ..., objectId: str | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] | None = ..., @@ -894,13 +879,13 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str | None = ..., definitionsOnly: bool | None = ..., enabled: bool | None = ..., - eventTagTypes: typing_extensions.Literal[ + eventTagTypes: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -909,9 +894,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., ids: str | _list[str] | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> EventTagsListResponseHttpRequest: ... def patch( @@ -935,12 +919,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE", "SHARED_WITH_ME"] - | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE", "SHARED_WITH_ME"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -973,16 +954,14 @@ class DfareportingResource(googleapiclient.discovery.Resource): floodlightActivityGroupIds: str | _list[str] | None = ..., floodlightActivityGroupName: str | None = ..., floodlightActivityGroupTagString: str | None = ..., - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] - | None = ..., + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] | None = ..., floodlightConfigurationId: str | None = ..., ids: str | _list[str] | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., tagString: str | None = ..., **kwargs: typing.Any, ) -> FloodlightActivitiesListResponseHttpRequest: ... @@ -1021,10 +1000,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - type: typing_extensions.Literal["COUNTER", "SALE"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + type: typing.Literal["COUNTER", "SALE"] | None = ..., **kwargs: typing.Any, ) -> FloodlightActivityGroupsListResponseHttpRequest: ... def list_next( @@ -1084,10 +1062,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): orderId: str | _list[str] | None = ..., pageToken: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - type: typing_extensions.Literal[ + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + type: typing.Literal[ "PLANNING_PLACEMENT_TYPE_REGULAR", "PLANNING_PLACEMENT_TYPE_CREDIT" ] | None = ..., @@ -1120,14 +1097,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - directories: typing_extensions.Literal[ + directories: typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE" ] - | _list[ - typing_extensions.Literal[ - "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE" - ] - ] + | _list[typing.Literal["UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE"]] | None = ..., ids: str | _list[str] | None = ..., maxResults: int | None = ..., @@ -1185,9 +1158,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., searchString: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> OrderDocumentsListResponseHttpRequest: ... def list_next( @@ -1211,9 +1183,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., searchString: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> OrdersListResponseHttpRequest: ... def list_next( @@ -1246,12 +1217,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - placementGroupType: typing_extensions.Literal[ + placementGroupType: typing.Literal[ "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1260,7 +1231,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1272,9 +1243,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., searchString: str | None = ..., siteIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementGroupsListResponseHttpRequest: ... def list_next( @@ -1308,9 +1278,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementStrategiesListResponseHttpRequest: ... def list_next( @@ -1338,7 +1307,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, campaignId: str | None = ..., placementIds: str | _list[str] | None = ..., - tagFormats: typing_extensions.Literal[ + tagFormats: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1361,7 +1330,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1400,7 +1369,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): advertiserIds: str | _list[str] | None = ..., archived: bool | None = ..., campaignIds: str | _list[str] | None = ..., - compatibilities: typing_extensions.Literal[ + compatibilities: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1409,7 +1378,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "IN_STREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1429,12 +1398,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - paymentSource: typing_extensions.Literal[ + paymentSource: typing.Literal[ "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1443,7 +1412,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1456,9 +1425,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): searchString: str | None = ..., siteIds: str | _list[str] | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementsListResponseHttpRequest: ... def list_next( @@ -1505,9 +1473,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ProjectsListResponseHttpRequest: ... def list_next( @@ -1557,9 +1524,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> RemarketingListsListResponseHttpRequest: ... def list_next( @@ -1612,10 +1578,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): reportId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -1637,11 +1601,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE"] | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ReportListHttpRequest: ... def list_next( @@ -1687,9 +1649,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., unmappedSite: bool | None = ..., **kwargs: typing.Any, @@ -1741,9 +1702,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> SubaccountsListResponseHttpRequest: ... def list_next( @@ -1772,9 +1732,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetableRemarketingListsListResponseHttpRequest: ... def list_next( @@ -1800,9 +1759,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetingTemplatesListResponseHttpRequest: ... def list_next( @@ -1871,9 +1829,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> UserRolesListResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/dfareporting/v3_4/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v3_4/schemas.pyi index f874987a4..efc725711 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v3_4/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v3_4/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountPermissionIds: _list[str] - accountProfile: typing_extensions.Literal[ - "ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD" - ] + accountProfile: typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] active: bool - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -38,10 +34,10 @@ class Account(typing_extensions.TypedDict, total=False): teaserSizeLimit: str @typing.type_check_only -class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): +class AccountActiveAdSummary(typing.TypedDict, total=False): accountId: str activeAds: str - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -55,34 +51,34 @@ class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class AccountPermission(typing_extensions.TypedDict, total=False): +class AccountPermission(typing.TypedDict, total=False): accountProfiles: _list[ - typing_extensions.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] + typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] ] id: str kind: str - level: typing_extensions.Literal["USER", "ADMINISTRATOR"] + level: typing.Literal["USER", "ADMINISTRATOR"] name: str permissionGroupId: str @typing.type_check_only -class AccountPermissionGroup(typing_extensions.TypedDict, total=False): +class AccountPermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class AccountPermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionGroupsListResponse(typing.TypedDict, total=False): accountPermissionGroups: _list[AccountPermissionGroup] kind: str @typing.type_check_only -class AccountPermissionsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionsListResponse(typing.TypedDict, total=False): accountPermissions: _list[AccountPermission] kind: str @typing.type_check_only -class AccountUserProfile(typing_extensions.TypedDict, total=False): +class AccountUserProfile(typing.TypedDict, total=False): accountId: str active: bool advertiserFilter: ObjectFilter @@ -95,35 +91,35 @@ class AccountUserProfile(typing_extensions.TypedDict, total=False): name: str siteFilter: ObjectFilter subaccountId: str - traffickerType: typing_extensions.Literal[ + traffickerType: typing.Literal[ "INTERNAL_NON_TRAFFICKER", "INTERNAL_TRAFFICKER", "EXTERNAL_TRAFFICKER" ] - userAccessType: typing_extensions.Literal[ + userAccessType: typing.Literal[ "NORMAL_USER", "SUPER_USER", "INTERNAL_ADMINISTRATOR", "READ_ONLY_SUPER_USER" ] userRoleFilter: ObjectFilter userRoleId: str @typing.type_check_only -class AccountUserProfilesListResponse(typing_extensions.TypedDict, total=False): +class AccountUserProfilesListResponse(typing.TypedDict, total=False): accountUserProfiles: _list[AccountUserProfile] kind: str nextPageToken: str @typing.type_check_only -class AccountsListResponse(typing_extensions.TypedDict, total=False): +class AccountsListResponse(typing.TypedDict, total=False): accounts: _list[Account] kind: str nextPageToken: str @typing.type_check_only -class Activities(typing_extensions.TypedDict, total=False): +class Activities(typing.TypedDict, total=False): filters: _list[DimensionValue] kind: str metricNames: _list[str] @typing.type_check_only -class Ad(typing_extensions.TypedDict, total=False): +class Ad(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -135,7 +131,7 @@ class Ad(typing_extensions.TypedDict, total=False): clickThroughUrl: ClickThroughUrl clickThroughUrlSuffixProperties: ClickThroughUrlSuffixProperties comments: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -169,7 +165,7 @@ class Ad(typing_extensions.TypedDict, total=False): subaccountId: str targetingTemplateId: str technologyTargeting: TechnologyTargeting - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -178,16 +174,16 @@ class Ad(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AdBlockingConfiguration(typing_extensions.TypedDict, total=False): +class AdBlockingConfiguration(typing.TypedDict, total=False): clickThroughUrl: str creativeBundleId: str enabled: bool overrideClickThroughUrl: bool @typing.type_check_only -class AdSlot(typing_extensions.TypedDict, total=False): +class AdSlot(typing.TypedDict, total=False): comment: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -198,7 +194,7 @@ class AdSlot(typing_extensions.TypedDict, total=False): height: str linkedPlacementId: str name: str - paymentSourceType: typing_extensions.Literal[ + paymentSourceType: typing.Literal[ "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID", "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID", ] @@ -206,13 +202,13 @@ class AdSlot(typing_extensions.TypedDict, total=False): width: str @typing.type_check_only -class AdsListResponse(typing_extensions.TypedDict, total=False): +class AdsListResponse(typing.TypedDict, total=False): ads: _list[Ad] kind: str nextPageToken: str @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): accountId: str advertiserGroupId: str clickThroughUrlSuffix: str @@ -225,49 +221,49 @@ class Advertiser(typing_extensions.TypedDict, total=False): kind: str name: str originalFloodlightConfigurationId: str - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] + status: typing.Literal["APPROVED", "ON_HOLD"] subaccountId: str suspended: bool @typing.type_check_only -class AdvertiserGroup(typing_extensions.TypedDict, total=False): +class AdvertiserGroup(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class AdvertiserGroupsListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserGroupsListResponse(typing.TypedDict, total=False): advertiserGroups: _list[AdvertiserGroup] kind: str nextPageToken: str @typing.type_check_only -class AdvertiserLandingPagesListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserLandingPagesListResponse(typing.TypedDict, total=False): kind: str landingPages: _list[LandingPage] nextPageToken: str @typing.type_check_only -class AdvertisersListResponse(typing_extensions.TypedDict, total=False): +class AdvertisersListResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] kind: str nextPageToken: str @typing.type_check_only -class AudienceSegment(typing_extensions.TypedDict, total=False): +class AudienceSegment(typing.TypedDict, total=False): allocation: int id: str name: str @typing.type_check_only -class AudienceSegmentGroup(typing_extensions.TypedDict, total=False): +class AudienceSegmentGroup(typing.TypedDict, total=False): audienceSegments: _list[AudienceSegment] id: str name: str @typing.type_check_only -class Browser(typing_extensions.TypedDict, total=False): +class Browser(typing.TypedDict, total=False): browserVersionId: str dartId: str kind: str @@ -276,12 +272,12 @@ class Browser(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class BrowsersListResponse(typing_extensions.TypedDict, total=False): +class BrowsersListResponse(typing.TypedDict, total=False): browsers: _list[Browser] kind: str @typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): +class Campaign(typing.TypedDict, total=False): accountId: str adBlockingConfiguration: AdBlockingConfiguration additionalCreativeOptimizationConfigurations: _list[ @@ -314,20 +310,18 @@ class Campaign(typing_extensions.TypedDict, total=False): traffickerEmails: _list[str] @typing.type_check_only -class CampaignCreativeAssociation(typing_extensions.TypedDict, total=False): +class CampaignCreativeAssociation(typing.TypedDict, total=False): creativeId: str kind: str @typing.type_check_only -class CampaignCreativeAssociationsListResponse( - typing_extensions.TypedDict, total=False -): +class CampaignCreativeAssociationsListResponse(typing.TypedDict, total=False): campaignCreativeAssociations: _list[CampaignCreativeAssociation] kind: str nextPageToken: str @typing.type_check_only -class CampaignManagerIds(typing_extensions.TypedDict, total=False): +class CampaignManagerIds(typing.TypedDict, total=False): adId: str campaignId: str creativeId: str @@ -336,13 +330,13 @@ class CampaignManagerIds(typing_extensions.TypedDict, total=False): siteId: str @typing.type_check_only -class CampaignsListResponse(typing_extensions.TypedDict, total=False): +class CampaignsListResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] kind: str nextPageToken: str @typing.type_check_only -class ChangeLog(typing_extensions.TypedDict, total=False): +class ChangeLog(typing.TypedDict, total=False): accountId: str action: str changeTime: str @@ -359,31 +353,31 @@ class ChangeLog(typing_extensions.TypedDict, total=False): userProfileName: str @typing.type_check_only -class ChangeLogsListResponse(typing_extensions.TypedDict, total=False): +class ChangeLogsListResponse(typing.TypedDict, total=False): changeLogs: _list[ChangeLog] kind: str nextPageToken: str @typing.type_check_only -class ChannelGrouping(typing_extensions.TypedDict, total=False): +class ChannelGrouping(typing.TypedDict, total=False): fallbackName: str kind: str name: str rules: _list[ChannelGroupingRule] @typing.type_check_only -class ChannelGroupingRule(typing_extensions.TypedDict, total=False): +class ChannelGroupingRule(typing.TypedDict, total=False): disjunctiveMatchStatements: _list[DisjunctiveMatchStatement] kind: str name: str @typing.type_check_only -class CitiesListResponse(typing_extensions.TypedDict, total=False): +class CitiesListResponse(typing.TypedDict, total=False): cities: _list[City] kind: str @typing.type_check_only -class City(typing_extensions.TypedDict, total=False): +class City(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -395,37 +389,37 @@ class City(typing_extensions.TypedDict, total=False): regionDartId: str @typing.type_check_only -class ClickTag(typing_extensions.TypedDict, total=False): +class ClickTag(typing.TypedDict, total=False): clickThroughUrl: CreativeClickThroughUrl eventName: str name: str @typing.type_check_only -class ClickThroughUrl(typing_extensions.TypedDict, total=False): +class ClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str defaultLandingPage: bool landingPageId: str @typing.type_check_only -class ClickThroughUrlSuffixProperties(typing_extensions.TypedDict, total=False): +class ClickThroughUrlSuffixProperties(typing.TypedDict, total=False): clickThroughUrlSuffix: str overrideInheritedSuffix: bool @typing.type_check_only -class CompanionClickThroughOverride(typing_extensions.TypedDict, total=False): +class CompanionClickThroughOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl creativeId: str @typing.type_check_only -class CompanionSetting(typing_extensions.TypedDict, total=False): +class CompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class CompatibleFields(typing_extensions.TypedDict, total=False): +class CompatibleFields(typing.TypedDict, total=False): crossDimensionReachReportCompatibleFields: CrossDimensionReachReportCompatibleFields floodlightReportCompatibleFields: FloodlightReportCompatibleFields kind: str @@ -436,31 +430,31 @@ class CompatibleFields(typing_extensions.TypedDict, total=False): reportCompatibleFields: ReportCompatibleFields @typing.type_check_only -class ConnectionType(typing_extensions.TypedDict, total=False): +class ConnectionType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class ConnectionTypesListResponse(typing_extensions.TypedDict, total=False): +class ConnectionTypesListResponse(typing.TypedDict, total=False): connectionTypes: _list[ConnectionType] kind: str @typing.type_check_only -class ContentCategoriesListResponse(typing_extensions.TypedDict, total=False): +class ContentCategoriesListResponse(typing.TypedDict, total=False): contentCategories: _list[ContentCategory] kind: str nextPageToken: str @typing.type_check_only -class ContentCategory(typing_extensions.TypedDict, total=False): +class ContentCategory(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class Conversion(typing_extensions.TypedDict, total=False): +class Conversion(typing.TypedDict, total=False): childDirectedTreatment: bool customVariables: _list[CustomFloodlightVariable] dclid: str @@ -481,50 +475,50 @@ class Conversion(typing_extensions.TypedDict, total=False): value: float @typing.type_check_only -class ConversionError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConversionError(typing.TypedDict, total=False): + code: typing.Literal[ "INVALID_ARGUMENT", "INTERNAL", "PERMISSION_DENIED", "NOT_FOUND" ] kind: str message: str @typing.type_check_only -class ConversionStatus(typing_extensions.TypedDict, total=False): +class ConversionStatus(typing.TypedDict, total=False): conversion: Conversion errors: _list[ConversionError] kind: str @typing.type_check_only -class ConversionsBatchInsertRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchInsertResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class ConversionsBatchUpdateRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchUpdateResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class CountriesListResponse(typing_extensions.TypedDict, total=False): +class CountriesListResponse(typing.TypedDict, total=False): countries: _list[Country] kind: str @typing.type_check_only -class Country(typing_extensions.TypedDict, total=False): +class Country(typing.TypedDict, total=False): countryCode: str dartId: str kind: str @@ -532,7 +526,7 @@ class Country(typing_extensions.TypedDict, total=False): sslEnabled: bool @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): accountId: str active: bool adParameters: str @@ -541,24 +535,24 @@ class Creative(typing_extensions.TypedDict, total=False): advertiserId: str allowScriptAccess: bool archived: bool - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", "ARTWORK_TYPE_IMAGE", ] - authoringSource: typing_extensions.Literal[ + authoringSource: typing.Literal[ "CREATIVE_AUTHORING_SOURCE_DCM", "CREATIVE_AUTHORING_SOURCE_DBM", "CREATIVE_AUTHORING_SOURCE_STUDIO", "CREATIVE_AUTHORING_SOURCE_GWD", ] - authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] + authoringTool: typing.Literal["NINJA", "SWIFFY"] autoAdvanceImages: bool backgroundColor: str backupImageClickThroughUrl: CreativeClickThroughUrl backupImageFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -633,7 +627,7 @@ class Creative(typing_extensions.TypedDict, total=False): commercialId: str companionCreatives: _list[str] compatibility: _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -683,7 +677,7 @@ class Creative(typing_extensions.TypedDict, total=False): thirdPartyUrls: _list[ThirdPartyTrackingUrl] timerCustomEvents: _list[CreativeCustomEvent] totalFileSize: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -714,14 +708,14 @@ class Creative(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class CreativeAsset(typing_extensions.TypedDict, total=False): +class CreativeAsset(typing.TypedDict, total=False): actionScript3: bool active: bool additionalSizes: _list[Size] - alignment: typing_extensions.Literal[ + alignment: typing.Literal[ "ALIGNMENT_TOP", "ALIGNMENT_RIGHT", "ALIGNMENT_BOTTOM", "ALIGNMENT_LEFT" ] - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -732,7 +726,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): audioSampleRate: int backupImageExit: CreativeCustomEvent bitRate: int - childAssetType: typing_extensions.Literal[ + childAssetType: typing.Literal[ "CHILD_ASSET_TYPE_FLASH", "CHILD_ASSET_TYPE_VIDEO", "CHILD_ASSET_TYPE_IMAGE", @@ -742,7 +736,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): companionCreativeIds: _list[str] customStartTimeValue: int detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -811,7 +805,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "SVG_FE_IMAGE", ] ] - displayType: typing_extensions.Literal[ + displayType: typing.Literal[ "ASSET_DISPLAY_TYPE_INPAGE", "ASSET_DISPLAY_TYPE_FLOATING", "ASSET_DISPLAY_TYPE_OVERLAY", @@ -824,7 +818,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "ASSET_DISPLAY_TYPE_BACKDROP", ] duration: int - durationType: typing_extensions.Literal[ + durationType: typing.Literal[ "ASSET_DURATION_TYPE_AUTO", "ASSET_DURATION_TYPE_NONE", "ASSET_DURATION_TYPE_CUSTOM", @@ -841,20 +835,20 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): mediaDuration: float mimeType: str offset: OffsetPosition - orientation: typing_extensions.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] + orientation: typing.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] originalBackup: bool politeLoad: bool position: OffsetPosition - positionLeftUnit: typing_extensions.Literal[ + positionLeftUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] - positionTopUnit: typing_extensions.Literal[ + positionTopUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] progressiveServingUrl: str pushdown: bool pushdownDuration: float - role: typing_extensions.Literal[ + role: typing.Literal[ "PRIMARY", "BACKUP_IMAGE", "ADDITIONAL_IMAGE", @@ -868,31 +862,29 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): ] size: Size sslCompliant: bool - startTimeType: typing_extensions.Literal[ + startTimeType: typing.Literal[ "ASSET_START_TIME_TYPE_NONE", "ASSET_START_TIME_TYPE_CUSTOM" ] streamingServingUrl: str transparency: bool verticallyLocked: bool - windowMode: typing_extensions.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] + windowMode: typing.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] zIndex: int zipFilename: str zipFilesize: str @typing.type_check_only -class CreativeAssetId(typing_extensions.TypedDict, total=False): +class CreativeAssetId(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO" - ] + type: typing.Literal["IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO"] @typing.type_check_only -class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): +class CreativeAssetMetadata(typing.TypedDict, total=False): assetIdentifier: CreativeAssetId clickTags: _list[ClickTag] counterCustomEvents: _list[CreativeCustomEvent] detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -968,7 +960,7 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): richMedia: bool timerCustomEvents: _list[CreativeCustomEvent] warnedValidationRules: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLICK_TAG_NON_TOP_LEVEL", "CLICK_TAG_MISSING", "CLICK_TAG_MORE_THAN_ONE", @@ -998,12 +990,12 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativeAssetSelection(typing_extensions.TypedDict, total=False): +class CreativeAssetSelection(typing.TypedDict, total=False): defaultAssetId: str rules: _list[Rule] @typing.type_check_only -class CreativeAssignment(typing_extensions.TypedDict, total=False): +class CreativeAssignment(typing.TypedDict, total=False): active: bool applyEventTags: bool clickThroughUrl: ClickThroughUrl @@ -1019,20 +1011,20 @@ class CreativeAssignment(typing_extensions.TypedDict, total=False): weight: int @typing.type_check_only -class CreativeClickThroughUrl(typing_extensions.TypedDict, total=False): +class CreativeClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str landingPageId: str @typing.type_check_only -class CreativeCustomEvent(typing_extensions.TypedDict, total=False): +class CreativeCustomEvent(typing.TypedDict, total=False): advertiserCustomEventId: str advertiserCustomEventName: str - advertiserCustomEventType: typing_extensions.Literal[ + advertiserCustomEventType: typing.Literal[ "ADVERTISER_EVENT_TIMER", "ADVERTISER_EVENT_EXIT", "ADVERTISER_EVENT_COUNTER" ] artworkLabel: str - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -1041,13 +1033,13 @@ class CreativeCustomEvent(typing_extensions.TypedDict, total=False): exitClickThroughUrl: CreativeClickThroughUrl id: str popupWindowProperties: PopupWindowProperties - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_BLANK", "TARGET_TOP", "TARGET_SELF", "TARGET_PARENT", "TARGET_POPUP" ] videoReportingId: str @typing.type_check_only -class CreativeField(typing_extensions.TypedDict, total=False): +class CreativeField(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1057,30 +1049,30 @@ class CreativeField(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeFieldAssignment(typing_extensions.TypedDict, total=False): +class CreativeFieldAssignment(typing.TypedDict, total=False): creativeFieldId: str creativeFieldValueId: str @typing.type_check_only -class CreativeFieldValue(typing_extensions.TypedDict, total=False): +class CreativeFieldValue(typing.TypedDict, total=False): id: str kind: str value: str @typing.type_check_only -class CreativeFieldValuesListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldValuesListResponse(typing.TypedDict, total=False): creativeFieldValues: _list[CreativeFieldValue] kind: str nextPageToken: str @typing.type_check_only -class CreativeFieldsListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldsListResponse(typing.TypedDict, total=False): creativeFields: _list[CreativeField] kind: str nextPageToken: str @typing.type_check_only -class CreativeGroup(typing_extensions.TypedDict, total=False): +class CreativeGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1091,24 +1083,22 @@ class CreativeGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeGroupAssignment(typing_extensions.TypedDict, total=False): +class CreativeGroupAssignment(typing.TypedDict, total=False): creativeGroupId: str - creativeGroupNumber: typing_extensions.Literal[ - "CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO" - ] + creativeGroupNumber: typing.Literal["CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO"] @typing.type_check_only -class CreativeGroupsListResponse(typing_extensions.TypedDict, total=False): +class CreativeGroupsListResponse(typing.TypedDict, total=False): creativeGroups: _list[CreativeGroup] kind: str nextPageToken: str @typing.type_check_only -class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False): +class CreativeOptimizationConfiguration(typing.TypedDict, total=False): id: str name: str optimizationActivitys: _list[OptimizationActivity] - optimizationModel: typing_extensions.Literal[ + optimizationModel: typing.Literal[ "CLICK", "POST_CLICK", "POST_IMPRESSION", @@ -1117,13 +1107,13 @@ class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class CreativeRotation(typing_extensions.TypedDict, total=False): +class CreativeRotation(typing.TypedDict, total=False): creativeAssignments: _list[CreativeAssignment] creativeOptimizationConfigurationId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CREATIVE_ROTATION_TYPE_SEQUENTIAL", "CREATIVE_ROTATION_TYPE_RANDOM" ] - weightCalculationStrategy: typing_extensions.Literal[ + weightCalculationStrategy: typing.Literal[ "WEIGHT_STRATEGY_EQUAL", "WEIGHT_STRATEGY_CUSTOM", "WEIGHT_STRATEGY_HIGHEST_CTR", @@ -1131,15 +1121,13 @@ class CreativeRotation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativesListResponse(typing_extensions.TypedDict, total=False): +class CreativesListResponse(typing.TypedDict, total=False): creatives: _list[Creative] kind: str nextPageToken: str @typing.type_check_only -class CrossDimensionReachReportCompatibleFields( - typing_extensions.TypedDict, total=False -): +class CrossDimensionReachReportCompatibleFields(typing.TypedDict, total=False): breakdown: _list[Dimension] dimensionFilters: _list[Dimension] kind: str @@ -1147,11 +1135,11 @@ class CrossDimensionReachReportCompatibleFields( overlapMetrics: _list[Metric] @typing.type_check_only -class CustomEvent(typing_extensions.TypedDict, total=False): +class CustomEvent(typing.TypedDict, total=False): annotateClickEvent: CustomEventClickAnnotation annotateImpressionEvent: CustomEventImpressionAnnotation customVariables: _list[CustomVariable] - eventType: typing_extensions.Literal["UNKNOWN", "INSERT", "ANNOTATE"] + eventType: typing.Literal["UNKNOWN", "INSERT", "ANNOTATE"] floodlightConfigurationId: str insertEvent: CustomEventInsert kind: str @@ -1159,53 +1147,53 @@ class CustomEvent(typing_extensions.TypedDict, total=False): timestampMicros: str @typing.type_check_only -class CustomEventClickAnnotation(typing_extensions.TypedDict, total=False): +class CustomEventClickAnnotation(typing.TypedDict, total=False): gclid: str kind: str @typing.type_check_only -class CustomEventError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class CustomEventError(typing.TypedDict, total=False): + code: typing.Literal[ "UNKNOWN", "INVALID_ARGUMENT", "INTERNAL", "PERMISSION_DENIED", "NOT_FOUND" ] kind: str message: str @typing.type_check_only -class CustomEventImpressionAnnotation(typing_extensions.TypedDict, total=False): +class CustomEventImpressionAnnotation(typing.TypedDict, total=False): kind: str pathImpressionId: str @typing.type_check_only -class CustomEventInsert(typing_extensions.TypedDict, total=False): +class CustomEventInsert(typing.TypedDict, total=False): cmDimensions: CampaignManagerIds dv3Dimensions: DV3Ids - insertEventType: typing_extensions.Literal["UNKNOWN", "IMPRESSION", "CLICK"] + insertEventType: typing.Literal["UNKNOWN", "IMPRESSION", "CLICK"] kind: str matchId: str mobileDeviceId: str @typing.type_check_only -class CustomEventStatus(typing_extensions.TypedDict, total=False): +class CustomEventStatus(typing.TypedDict, total=False): customEvent: CustomEvent errors: _list[CustomEventError] kind: str @typing.type_check_only -class CustomEventsBatchInsertRequest(typing_extensions.TypedDict, total=False): +class CustomEventsBatchInsertRequest(typing.TypedDict, total=False): customEvents: _list[CustomEvent] kind: str @typing.type_check_only -class CustomEventsBatchInsertResponse(typing_extensions.TypedDict, total=False): +class CustomEventsBatchInsertResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[CustomEventStatus] @typing.type_check_only -class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): +class CustomFloodlightVariable(typing.TypedDict, total=False): kind: str - type: typing_extensions.Literal[ + type: typing.Literal[ "U1", "U2", "U3", @@ -1310,31 +1298,31 @@ class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class CustomRichMediaEvents(typing_extensions.TypedDict, total=False): +class CustomRichMediaEvents(typing.TypedDict, total=False): filteredEventIds: _list[DimensionValue] kind: str @typing.type_check_only -class CustomVariable(typing_extensions.TypedDict, total=False): +class CustomVariable(typing.TypedDict, total=False): index: str kind: str value: str @typing.type_check_only -class CustomViewabilityMetric(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetric(typing.TypedDict, total=False): configuration: CustomViewabilityMetricConfiguration id: str name: str @typing.type_check_only -class CustomViewabilityMetricConfiguration(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetricConfiguration(typing.TypedDict, total=False): audible: bool timeMillis: int timePercent: int viewabilityPercent: int @typing.type_check_only -class DV3Ids(typing_extensions.TypedDict, total=False): +class DV3Ids(typing.TypedDict, total=False): dvCampaignId: str dvCreativeId: str dvInsertionOrderId: str @@ -1343,10 +1331,10 @@ class DV3Ids(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: str kind: str - relativeDateRange: typing_extensions.Literal[ + relativeDateRange: typing.Literal[ "TODAY", "YESTERDAY", "WEEK_TO_DATE", @@ -1368,9 +1356,9 @@ class DateRange(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DayPartTargeting(typing_extensions.TypedDict, total=False): +class DayPartTargeting(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ] ] @@ -1378,7 +1366,7 @@ class DayPartTargeting(typing_extensions.TypedDict, total=False): userLocalTime: bool @typing.type_check_only -class DeepLink(typing_extensions.TypedDict, total=False): +class DeepLink(typing.TypedDict, total=False): appUrl: str fallbackUrl: str kind: str @@ -1386,16 +1374,16 @@ class DeepLink(typing_extensions.TypedDict, total=False): remarketingListIds: _list[str] @typing.type_check_only -class DefaultClickThroughEventTagProperties(typing_extensions.TypedDict, total=False): +class DefaultClickThroughEventTagProperties(typing.TypedDict, total=False): defaultClickThroughEventTagId: str overrideInheritedEventTag: bool @typing.type_check_only -class DeliverySchedule(typing_extensions.TypedDict, total=False): +class DeliverySchedule(typing.TypedDict, total=False): frequencyCap: FrequencyCap hardCutoff: bool impressionRatio: str - priority: typing_extensions.Literal[ + priority: typing.Literal[ "AD_PRIORITY_01", "AD_PRIORITY_02", "AD_PRIORITY_03", @@ -1415,7 +1403,7 @@ class DeliverySchedule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DfpSettings(typing_extensions.TypedDict, total=False): +class DfpSettings(typing.TypedDict, total=False): dfpNetworkCode: str dfpNetworkName: str programmaticPlacementAccepted: bool @@ -1423,36 +1411,34 @@ class DfpSettings(typing_extensions.TypedDict, total=False): publisherPortalOnly: bool @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class DimensionFilter(typing_extensions.TypedDict, total=False): +class DimensionFilter(typing.TypedDict, total=False): dimensionName: str kind: str value: str @typing.type_check_only -class DimensionValue(typing_extensions.TypedDict, total=False): +class DimensionValue(typing.TypedDict, total=False): dimensionName: str etag: str id: str kind: str - matchType: typing_extensions.Literal[ - "EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION" - ] + matchType: typing.Literal["EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION"] value: str @typing.type_check_only -class DimensionValueList(typing_extensions.TypedDict, total=False): +class DimensionValueList(typing.TypedDict, total=False): etag: str items: _list[DimensionValue] kind: str nextPageToken: str @typing.type_check_only -class DimensionValueRequest(typing_extensions.TypedDict, total=False): +class DimensionValueRequest(typing.TypedDict, total=False): dimensionName: str endDate: str filters: _list[DimensionFilter] @@ -1460,11 +1446,11 @@ class DimensionValueRequest(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DirectorySite(typing_extensions.TypedDict, total=False): +class DirectorySite(typing.TypedDict, total=False): id: str idDimensionValue: DimensionValue inpageTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "STANDARD", "IFRAME_JAVASCRIPT_INPAGE", "INTERNAL_REDIRECT_INPAGE", @@ -1472,7 +1458,7 @@ class DirectorySite(typing_extensions.TypedDict, total=False): ] ] interstitialTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "IFRAME_JAVASCRIPT_INTERSTITIAL", "INTERNAL_REDIRECT_INTERSTITIAL", "JAVASCRIPT_INTERSTITIAL", @@ -1484,41 +1470,41 @@ class DirectorySite(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class DirectorySiteSettings(typing_extensions.TypedDict, total=False): +class DirectorySiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool dfpSettings: DfpSettings instreamVideoPlacementAccepted: bool interstitialPlacementAccepted: bool @typing.type_check_only -class DirectorySitesListResponse(typing_extensions.TypedDict, total=False): +class DirectorySitesListResponse(typing.TypedDict, total=False): directorySites: _list[DirectorySite] kind: str nextPageToken: str @typing.type_check_only -class DisjunctiveMatchStatement(typing_extensions.TypedDict, total=False): +class DisjunctiveMatchStatement(typing.TypedDict, total=False): eventFilters: _list[EventFilter] kind: str @typing.type_check_only -class DynamicTargetingKey(typing_extensions.TypedDict, total=False): +class DynamicTargetingKey(typing.TypedDict, total=False): kind: str name: str objectId: str - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] @typing.type_check_only -class DynamicTargetingKeysListResponse(typing_extensions.TypedDict, total=False): +class DynamicTargetingKeysListResponse(typing.TypedDict, total=False): dynamicTargetingKeys: _list[DynamicTargetingKey] kind: str @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): encryptionEntityId: str - encryptionEntityType: typing_extensions.Literal[ + encryptionEntityType: typing.Literal[ "ENCRYPTION_ENTITY_TYPE_UNKNOWN", "DCM_ACCOUNT", "DCM_ADVERTISER", @@ -1527,18 +1513,18 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): "ADWORDS_CUSTOMER", "DFP_NETWORK_CODE", ] - encryptionSource: typing_extensions.Literal[ + encryptionSource: typing.Literal[ "ENCRYPTION_SCOPE_UNKNOWN", "AD_SERVING", "DATA_TRANSFER" ] kind: str @typing.type_check_only -class EventFilter(typing_extensions.TypedDict, total=False): +class EventFilter(typing.TypedDict, total=False): dimensionFilter: PathReportDimensionValue kind: str @typing.type_check_only -class EventTag(typing_extensions.TypedDict, total=False): +class EventTag(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1549,12 +1535,12 @@ class EventTag(typing_extensions.TypedDict, total=False): id: str kind: str name: str - siteFilterType: typing_extensions.Literal["WHITELIST", "BLACKLIST"] + siteFilterType: typing.Literal["WHITELIST", "BLACKLIST"] siteIds: _list[str] sslCompliant: bool - status: typing_extensions.Literal["ENABLED", "DISABLED"] + status: typing.Literal["ENABLED", "DISABLED"] subaccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -1563,66 +1549,64 @@ class EventTag(typing_extensions.TypedDict, total=False): urlEscapeLevels: int @typing.type_check_only -class EventTagOverride(typing_extensions.TypedDict, total=False): +class EventTagOverride(typing.TypedDict, total=False): enabled: bool id: str @typing.type_check_only -class EventTagsListResponse(typing_extensions.TypedDict, total=False): +class EventTagsListResponse(typing.TypedDict, total=False): eventTags: _list[EventTag] kind: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): dateRange: DateRange etag: str fileName: str - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str reportId: str - status: typing_extensions.Literal[ - "PROCESSING", "REPORT_AVAILABLE", "FAILED", "CANCELLED" - ] + status: typing.Literal["PROCESSING", "REPORT_AVAILABLE", "FAILED", "CANCELLED"] urls: dict[str, typing.Any] @typing.type_check_only -class FileList(typing_extensions.TypedDict, total=False): +class FileList(typing.TypedDict, total=False): etag: str items: _list[File] kind: str nextPageToken: str @typing.type_check_only -class Flight(typing_extensions.TypedDict, total=False): +class Flight(typing.TypedDict, total=False): endDate: str rateOrCost: str startDate: str units: str @typing.type_check_only -class FloodlightActivitiesGenerateTagResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesGenerateTagResponse(typing.TypedDict, total=False): floodlightActivityTag: str globalSiteTagGlobalSnippet: str kind: str @typing.type_check_only -class FloodlightActivitiesListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesListResponse(typing.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivity(typing_extensions.TypedDict, total=False): +class FloodlightActivity(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue attributionEnabled: bool - cacheBustingType: typing_extensions.Literal[ + cacheBustingType: typing.Literal[ "JAVASCRIPT", "ACTIVE_SERVER_PAGE", "JSP", "PHP", "COLD_FUSION" ] - countingMethod: typing_extensions.Literal[ + countingMethod: typing.Literal[ "STANDARD_COUNTING", "UNIQUE_COUNTING", "SESSION_COUNTING", @@ -1634,10 +1618,10 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): floodlightActivityGroupId: str floodlightActivityGroupName: str floodlightActivityGroupTagString: str - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] floodlightConfigurationId: str floodlightConfigurationIdDimensionValue: DimensionValue - floodlightTagType: typing_extensions.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] + floodlightTagType: typing.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] id: str idDimensionValue: DimensionValue kind: str @@ -1647,14 +1631,14 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): secure: bool sslCompliant: bool sslRequired: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "ARCHIVED_AND_DISABLED", "ARCHIVED", "DISABLED_POLICY" ] subaccountId: str - tagFormat: typing_extensions.Literal["HTML", "XHTML"] + tagFormat: typing.Literal["HTML", "XHTML"] tagString: str userDefinedVariableTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "U1", "U2", "U3", @@ -1759,13 +1743,13 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FloodlightActivityDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityDynamicTag(typing.TypedDict, total=False): id: str name: str tag: str @typing.type_check_only -class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1777,16 +1761,16 @@ class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): name: str subaccountId: str tagString: str - type: typing_extensions.Literal["COUNTER", "SALE"] + type: typing.Literal["COUNTER", "SALE"] @typing.type_check_only -class FloodlightActivityGroupsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroupsListResponse(typing.TypedDict, total=False): floodlightActivityGroups: _list[FloodlightActivityGroup] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityPublisherDynamicTag(typing.TypedDict, total=False): clickThrough: bool directorySiteId: str dynamicTag: FloodlightActivityDynamicTag @@ -1795,20 +1779,20 @@ class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=F viewThrough: bool @typing.type_check_only -class FloodlightConfiguration(typing_extensions.TypedDict, total=False): +class FloodlightConfiguration(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue analyticsDataSharingEnabled: bool customViewabilityMetric: CustomViewabilityMetric exposureToConversionEnabled: bool - firstDayOfWeek: typing_extensions.Literal["MONDAY", "SUNDAY"] + firstDayOfWeek: typing.Literal["MONDAY", "SUNDAY"] id: str idDimensionValue: DimensionValue inAppAttributionTrackingEnabled: bool kind: str lookbackConfiguration: LookbackConfiguration - naturalSearchConversionAttributionOption: typing_extensions.Literal[ + naturalSearchConversionAttributionOption: typing.Literal[ "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION", @@ -1820,34 +1804,32 @@ class FloodlightConfiguration(typing_extensions.TypedDict, total=False): userDefinedVariableConfigurations: _list[UserDefinedVariableConfiguration] @typing.type_check_only -class FloodlightConfigurationsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightConfigurationsListResponse(typing.TypedDict, total=False): floodlightConfigurations: _list[FloodlightConfiguration] kind: str @typing.type_check_only -class FloodlightReportCompatibleFields(typing_extensions.TypedDict, total=False): +class FloodlightReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str metrics: _list[Metric] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): duration: str impressions: str @typing.type_check_only -class FsCommand(typing_extensions.TypedDict, total=False): +class FsCommand(typing.TypedDict, total=False): left: int - positionOption: typing_extensions.Literal[ - "CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER" - ] + positionOption: typing.Literal["CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER"] top: int windowHeight: int windowWidth: int @typing.type_check_only -class GeoTargeting(typing_extensions.TypedDict, total=False): +class GeoTargeting(typing.TypedDict, total=False): cities: _list[City] countries: _list[Country] excludeCountries: bool @@ -1856,7 +1838,7 @@ class GeoTargeting(typing_extensions.TypedDict, total=False): regions: _list[Region] @typing.type_check_only -class InventoryItem(typing_extensions.TypedDict, total=False): +class InventoryItem(typing.TypedDict, total=False): accountId: str adSlots: _list[AdSlot] advertiserId: str @@ -1876,22 +1858,22 @@ class InventoryItem(typing_extensions.TypedDict, total=False): rfpId: str siteId: str subaccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PLANNING_PLACEMENT_TYPE_REGULAR", "PLANNING_PLACEMENT_TYPE_CREDIT" ] @typing.type_check_only -class InventoryItemsListResponse(typing_extensions.TypedDict, total=False): +class InventoryItemsListResponse(typing.TypedDict, total=False): inventoryItems: _list[InventoryItem] kind: str nextPageToken: str @typing.type_check_only -class KeyValueTargetingExpression(typing_extensions.TypedDict, total=False): +class KeyValueTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LandingPage(typing_extensions.TypedDict, total=False): +class LandingPage(typing.TypedDict, total=False): advertiserId: str archived: bool deepLinks: _list[DeepLink] @@ -1901,40 +1883,40 @@ class LandingPage(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Language(typing_extensions.TypedDict, total=False): +class Language(typing.TypedDict, total=False): id: str kind: str languageCode: str name: str @typing.type_check_only -class LanguageTargeting(typing_extensions.TypedDict, total=False): +class LanguageTargeting(typing.TypedDict, total=False): languages: _list[Language] @typing.type_check_only -class LanguagesListResponse(typing_extensions.TypedDict, total=False): +class LanguagesListResponse(typing.TypedDict, total=False): kind: str languages: _list[Language] @typing.type_check_only -class LastModifiedInfo(typing_extensions.TypedDict, total=False): +class LastModifiedInfo(typing.TypedDict, total=False): time: str @typing.type_check_only -class ListPopulationClause(typing_extensions.TypedDict, total=False): +class ListPopulationClause(typing.TypedDict, total=False): terms: _list[ListPopulationTerm] @typing.type_check_only -class ListPopulationRule(typing_extensions.TypedDict, total=False): +class ListPopulationRule(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityName: str listPopulationClauses: _list[ListPopulationClause] @typing.type_check_only -class ListPopulationTerm(typing_extensions.TypedDict, total=False): +class ListPopulationTerm(typing.TypedDict, total=False): contains: bool negation: bool - operator: typing_extensions.Literal[ + operator: typing.Literal[ "NUM_EQUALS", "NUM_LESS_THAN", "NUM_LESS_THAN_EQUAL", @@ -1944,7 +1926,7 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): "STRING_CONTAINS", ] remarketingListId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CUSTOM_VARIABLE_TERM", "LIST_MEMBERSHIP_TERM", "REFERRER_TERM" ] value: str @@ -1952,21 +1934,21 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): variableName: str @typing.type_check_only -class ListTargetingExpression(typing_extensions.TypedDict, total=False): +class ListTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LookbackConfiguration(typing_extensions.TypedDict, total=False): +class LookbackConfiguration(typing.TypedDict, total=False): clickDuration: int postImpressionActivitiesDuration: int @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class Metro(typing_extensions.TypedDict, total=False): +class Metro(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -1976,28 +1958,26 @@ class Metro(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MetrosListResponse(typing_extensions.TypedDict, total=False): +class MetrosListResponse(typing.TypedDict, total=False): kind: str metros: _list[Metro] @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): - directory: typing_extensions.Literal[ - "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE" - ] +class MobileApp(typing.TypedDict, total=False): + directory: typing.Literal["UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE"] id: str kind: str publisherName: str title: str @typing.type_check_only -class MobileAppsListResponse(typing_extensions.TypedDict, total=False): +class MobileAppsListResponse(typing.TypedDict, total=False): kind: str mobileApps: _list[MobileApp] nextPageToken: str @typing.type_check_only -class MobileCarrier(typing_extensions.TypedDict, total=False): +class MobileCarrier(typing.TypedDict, total=False): countryCode: str countryDartId: str id: str @@ -2005,12 +1985,12 @@ class MobileCarrier(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MobileCarriersListResponse(typing_extensions.TypedDict, total=False): +class MobileCarriersListResponse(typing.TypedDict, total=False): kind: str mobileCarriers: _list[MobileCarrier] @typing.type_check_only -class ObaIcon(typing_extensions.TypedDict, total=False): +class ObaIcon(typing.TypedDict, total=False): iconClickThroughUrl: str iconClickTrackingUrl: str iconViewTrackingUrl: str @@ -2021,23 +2001,23 @@ class ObaIcon(typing_extensions.TypedDict, total=False): yPosition: str @typing.type_check_only -class ObjectFilter(typing_extensions.TypedDict, total=False): +class ObjectFilter(typing.TypedDict, total=False): kind: str objectIds: _list[str] - status: typing_extensions.Literal["NONE", "ASSIGNED", "ALL"] + status: typing.Literal["NONE", "ASSIGNED", "ALL"] @typing.type_check_only -class OffsetPosition(typing_extensions.TypedDict, total=False): +class OffsetPosition(typing.TypedDict, total=False): left: int top: int @typing.type_check_only -class OmnitureSettings(typing_extensions.TypedDict, total=False): +class OmnitureSettings(typing.TypedDict, total=False): omnitureCostDataEnabled: bool omnitureIntegrationEnabled: bool @typing.type_check_only -class OperatingSystem(typing_extensions.TypedDict, total=False): +class OperatingSystem(typing.TypedDict, total=False): dartId: str desktop: bool kind: str @@ -2045,7 +2025,7 @@ class OperatingSystem(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OperatingSystemVersion(typing_extensions.TypedDict, total=False): +class OperatingSystemVersion(typing.TypedDict, total=False): id: str kind: str majorVersion: str @@ -2054,23 +2034,23 @@ class OperatingSystemVersion(typing_extensions.TypedDict, total=False): operatingSystem: OperatingSystem @typing.type_check_only -class OperatingSystemVersionsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemVersionsListResponse(typing.TypedDict, total=False): kind: str operatingSystemVersions: _list[OperatingSystemVersion] @typing.type_check_only -class OperatingSystemsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemsListResponse(typing.TypedDict, total=False): kind: str operatingSystems: _list[OperatingSystem] @typing.type_check_only -class OptimizationActivity(typing_extensions.TypedDict, total=False): +class OptimizationActivity(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityIdDimensionValue: DimensionValue weight: int @typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): +class Order(typing.TypedDict, total=False): accountId: str advertiserId: str approverUserProfileIds: _list[str] @@ -2093,11 +2073,11 @@ class Order(typing_extensions.TypedDict, total=False): termsAndConditions: str @typing.type_check_only -class OrderContact(typing_extensions.TypedDict, total=False): +class OrderContact(typing.TypedDict, total=False): contactInfo: str contactName: str contactTitle: str - contactType: typing_extensions.Literal[ + contactType: typing.Literal[ "PLANNING_ORDER_CONTACT_BUYER_CONTACT", "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT", "PLANNING_ORDER_CONTACT_SELLER_CONTACT", @@ -2105,7 +2085,7 @@ class OrderContact(typing_extensions.TypedDict, total=False): signatureUserProfileId: str @typing.type_check_only -class OrderDocument(typing_extensions.TypedDict, total=False): +class OrderDocument(typing.TypedDict, total=False): accountId: str advertiserId: str amendedOrderDocumentId: str @@ -2122,32 +2102,32 @@ class OrderDocument(typing_extensions.TypedDict, total=False): signed: bool subaccountId: str title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PLANNING_ORDER_TYPE_INSERTION_ORDER", "PLANNING_ORDER_TYPE_CHANGE_ORDER" ] @typing.type_check_only -class OrderDocumentsListResponse(typing_extensions.TypedDict, total=False): +class OrderDocumentsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str orderDocuments: _list[OrderDocument] @typing.type_check_only -class OrdersListResponse(typing_extensions.TypedDict, total=False): +class OrdersListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str orders: _list[Order] @typing.type_check_only -class PathFilter(typing_extensions.TypedDict, total=False): +class PathFilter(typing.TypedDict, total=False): eventFilters: _list[EventFilter] kind: str - pathMatchPosition: typing_extensions.Literal[ + pathMatchPosition: typing.Literal[ "PATH_MATCH_POSITION_UNSPECIFIED", "ANY", "FIRST", "LAST" ] @typing.type_check_only -class PathReportCompatibleFields(typing_extensions.TypedDict, total=False): +class PathReportCompatibleFields(typing.TypedDict, total=False): channelGroupings: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2155,17 +2135,15 @@ class PathReportCompatibleFields(typing_extensions.TypedDict, total=False): pathFilters: _list[Dimension] @typing.type_check_only -class PathReportDimensionValue(typing_extensions.TypedDict, total=False): +class PathReportDimensionValue(typing.TypedDict, total=False): dimensionName: str ids: _list[str] kind: str - matchType: typing_extensions.Literal[ - "EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION" - ] + matchType: typing.Literal["EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION"] values: _list[str] @typing.type_check_only -class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total=False): +class PathToConversionReportCompatibleFields(typing.TypedDict, total=False): conversionDimensions: _list[Dimension] customFloodlightVariables: _list[Dimension] kind: str @@ -2173,7 +2151,7 @@ class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total= perInteractionDimensions: _list[Dimension] @typing.type_check_only -class Placement(typing_extensions.TypedDict, total=False): +class Placement(typing.TypedDict, total=False): accountId: str adBlockingOptOut: bool additionalSizes: _list[Size] @@ -2183,7 +2161,7 @@ class Placement(typing_extensions.TypedDict, total=False): campaignId: str campaignIdDimensionValue: DimensionValue comment: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -2204,9 +2182,7 @@ class Placement(typing_extensions.TypedDict, total=False): lookbackConfiguration: LookbackConfiguration name: str paymentApproved: bool - paymentSource: typing_extensions.Literal[ - "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" - ] + paymentSource: typing.Literal["PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID"] placementGroupId: str placementGroupIdDimensionValue: DimensionValue placementStrategyId: str @@ -2217,7 +2193,7 @@ class Placement(typing_extensions.TypedDict, total=False): siteIdDimensionValue: DimensionValue size: Size sslRequired: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "PENDING_REVIEW", "PAYMENT_ACCEPTED", "PAYMENT_REJECTED", @@ -2227,7 +2203,7 @@ class Placement(typing_extensions.TypedDict, total=False): ] subaccountId: str tagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -2253,17 +2229,17 @@ class Placement(typing_extensions.TypedDict, total=False): tagSetting: TagSetting videoActiveViewOptOut: bool videoSettings: VideoSettings - vpaidAdapterChoice: typing_extensions.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] + vpaidAdapterChoice: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] @typing.type_check_only -class PlacementAssignment(typing_extensions.TypedDict, total=False): +class PlacementAssignment(typing.TypedDict, total=False): active: bool placementId: str placementIdDimensionValue: DimensionValue sslRequired: bool @typing.type_check_only -class PlacementGroup(typing_extensions.TypedDict, total=False): +class PlacementGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -2282,9 +2258,7 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): kind: str lastModifiedInfo: LastModifiedInfo name: str - placementGroupType: typing_extensions.Literal[ - "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" - ] + placementGroupType: typing.Literal["PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK"] placementStrategyId: str pricingSchedule: PricingSchedule primaryPlacementId: str @@ -2294,56 +2268,56 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class PlacementGroupsListResponse(typing_extensions.TypedDict, total=False): +class PlacementGroupsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementGroups: _list[PlacementGroup] @typing.type_check_only -class PlacementStrategiesListResponse(typing_extensions.TypedDict, total=False): +class PlacementStrategiesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementStrategies: _list[PlacementStrategy] @typing.type_check_only -class PlacementStrategy(typing_extensions.TypedDict, total=False): +class PlacementStrategy(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class PlacementTag(typing_extensions.TypedDict, total=False): +class PlacementTag(typing.TypedDict, total=False): placementId: str tagDatas: _list[TagData] @typing.type_check_only -class PlacementsGenerateTagsResponse(typing_extensions.TypedDict, total=False): +class PlacementsGenerateTagsResponse(typing.TypedDict, total=False): kind: str placementTags: _list[PlacementTag] @typing.type_check_only -class PlacementsListResponse(typing_extensions.TypedDict, total=False): +class PlacementsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placements: _list[Placement] @typing.type_check_only -class PlatformType(typing_extensions.TypedDict, total=False): +class PlatformType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class PlatformTypesListResponse(typing_extensions.TypedDict, total=False): +class PlatformTypesListResponse(typing.TypedDict, total=False): kind: str platformTypes: _list[PlatformType] @typing.type_check_only -class PopupWindowProperties(typing_extensions.TypedDict, total=False): +class PopupWindowProperties(typing.TypedDict, total=False): dimension: Size offset: OffsetPosition - positionType: typing_extensions.Literal["CENTER", "COORDINATES"] + positionType: typing.Literal["CENTER", "COORDINATES"] showAddressBar: bool showMenuBar: bool showScrollBar: bool @@ -2352,7 +2326,7 @@ class PopupWindowProperties(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PostalCode(typing_extensions.TypedDict, total=False): +class PostalCode(typing.TypedDict, total=False): code: str countryCode: str countryDartId: str @@ -2360,24 +2334,24 @@ class PostalCode(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class PostalCodesListResponse(typing_extensions.TypedDict, total=False): +class PostalCodesListResponse(typing.TypedDict, total=False): kind: str postalCodes: _list[PostalCode] @typing.type_check_only -class Pricing(typing_extensions.TypedDict, total=False): - capCostType: typing_extensions.Literal[ +class Pricing(typing.TypedDict, total=False): + capCostType: typing.Literal[ "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE", "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY", "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE", ] endDate: str flights: _list[Flight] - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE", "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK", ] - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS", "PLANNING_PLACEMENT_PRICING_TYPE_CPM", "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS", @@ -2390,15 +2364,15 @@ class Pricing(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class PricingSchedule(typing_extensions.TypedDict, total=False): - capCostOption: typing_extensions.Literal[ +class PricingSchedule(typing.TypedDict, total=False): + capCostOption: typing.Literal[ "CAP_COST_NONE", "CAP_COST_MONTHLY", "CAP_COST_CUMULATIVE" ] endDate: str flighted: bool floodlightActivityId: str pricingPeriods: _list[PricingSchedulePricingPeriod] - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -2410,7 +2384,7 @@ class PricingSchedule(typing_extensions.TypedDict, total=False): testingStartDate: str @typing.type_check_only -class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): +class PricingSchedulePricingPeriod(typing.TypedDict, total=False): endDate: str pricingComment: str rateOrCostNanos: str @@ -2418,10 +2392,10 @@ class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): units: str @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): accountId: str advertiserId: str - audienceAgeGroup: typing_extensions.Literal[ + audienceAgeGroup: typing.Literal[ "PLANNING_AUDIENCE_AGE_18_24", "PLANNING_AUDIENCE_AGE_25_34", "PLANNING_AUDIENCE_AGE_35_44", @@ -2430,7 +2404,7 @@ class Project(typing_extensions.TypedDict, total=False): "PLANNING_AUDIENCE_AGE_65_OR_MORE", "PLANNING_AUDIENCE_AGE_UNKNOWN", ] - audienceGender: typing_extensions.Literal[ + audienceGender: typing.Literal[ "PLANNING_AUDIENCE_GENDER_MALE", "PLANNING_AUDIENCE_GENDER_FEMALE" ] budget: str @@ -2453,13 +2427,13 @@ class Project(typing_extensions.TypedDict, total=False): targetImpressions: str @typing.type_check_only -class ProjectsListResponse(typing_extensions.TypedDict, total=False): +class ProjectsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str projects: _list[Project] @typing.type_check_only -class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReachReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2468,13 +2442,13 @@ class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): reachByFrequencyMetrics: _list[Metric] @typing.type_check_only -class Recipient(typing_extensions.TypedDict, total=False): - deliveryType: typing_extensions.Literal["LINK", "ATTACHMENT"] +class Recipient(typing.TypedDict, total=False): + deliveryType: typing.Literal["LINK", "ATTACHMENT"] email: str kind: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -2483,12 +2457,12 @@ class Region(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class RegionsListResponse(typing_extensions.TypedDict, total=False): +class RegionsListResponse(typing.TypedDict, total=False): kind: str regions: _list[Region] @typing.type_check_only -class RemarketingList(typing_extensions.TypedDict, total=False): +class RemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -2499,7 +2473,7 @@ class RemarketingList(typing_extensions.TypedDict, total=False): lifeSpan: str listPopulationRule: ListPopulationRule listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -2516,20 +2490,20 @@ class RemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class RemarketingListShare(typing_extensions.TypedDict, total=False): +class RemarketingListShare(typing.TypedDict, total=False): kind: str remarketingListId: str sharedAccountIds: _list[str] sharedAdvertiserIds: _list[str] @typing.type_check_only -class RemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class RemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str remarketingLists: _list[RemarketingList] @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): accountId: str criteria: dict[str, typing.Any] crossDimensionReachCriteria: dict[str, typing.Any] @@ -2537,7 +2511,7 @@ class Report(typing_extensions.TypedDict, total=False): etag: str fileName: str floodlightCriteria: dict[str, typing.Any] - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str @@ -2549,7 +2523,7 @@ class Report(typing_extensions.TypedDict, total=False): reachCriteria: dict[str, typing.Any] schedule: dict[str, typing.Any] subAccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "STANDARD", "REACH", "PATH_TO_CONVERSION", @@ -2560,7 +2534,7 @@ class Report(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2568,32 +2542,32 @@ class ReportCompatibleFields(typing_extensions.TypedDict, total=False): pivotedActivityMetrics: _list[Metric] @typing.type_check_only -class ReportList(typing_extensions.TypedDict, total=False): +class ReportList(typing.TypedDict, total=False): etag: str items: _list[Report] kind: str nextPageToken: str @typing.type_check_only -class ReportsConfiguration(typing_extensions.TypedDict, total=False): +class ReportsConfiguration(typing.TypedDict, total=False): exposureToConversionEnabled: bool lookbackConfiguration: LookbackConfiguration reportGenerationTimeZoneId: str @typing.type_check_only -class RichMediaExitOverride(typing_extensions.TypedDict, total=False): +class RichMediaExitOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl enabled: bool exitId: str @typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): +class Rule(typing.TypedDict, total=False): assetId: str name: str targetingTemplateId: str @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): accountId: str approved: bool directorySiteId: str @@ -2609,16 +2583,16 @@ class Site(typing_extensions.TypedDict, total=False): videoSettings: SiteVideoSettings @typing.type_check_only -class SiteCompanionSetting(typing_extensions.TypedDict, total=False): +class SiteCompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class SiteContact(typing_extensions.TypedDict, total=False): +class SiteContact(typing.TypedDict, total=False): address: str - contactType: typing_extensions.Literal["SALES_PERSON", "TRAFFICKER"] + contactType: typing.Literal["SALES_PERSON", "TRAFFICKER"] email: str firstName: str id: str @@ -2627,46 +2601,44 @@ class SiteContact(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class SiteSettings(typing_extensions.TypedDict, total=False): +class SiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool adBlockingOptOut: bool disableNewCookie: bool tagSetting: TagSetting videoActiveViewOptOutTemplate: bool - vpaidAdapterChoiceTemplate: typing_extensions.Literal[ - "DEFAULT", "FLASH", "HTML5", "BOTH" - ] + vpaidAdapterChoiceTemplate: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] @typing.type_check_only -class SiteSkippableSetting(typing_extensions.TypedDict, total=False): +class SiteSkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SiteTranscodeSetting(typing_extensions.TypedDict, total=False): +class SiteTranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class SiteVideoSettings(typing_extensions.TypedDict, total=False): +class SiteVideoSettings(typing.TypedDict, total=False): companionSettings: SiteCompanionSetting kind: str obaEnabled: bool obaSettings: ObaIcon - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] skippableSettings: SiteSkippableSetting transcodeSettings: SiteTranscodeSetting @typing.type_check_only -class SitesListResponse(typing_extensions.TypedDict, total=False): +class SitesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str sites: _list[Site] @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: int iab: bool id: str @@ -2674,25 +2646,25 @@ class Size(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class SizesListResponse(typing_extensions.TypedDict, total=False): +class SizesListResponse(typing.TypedDict, total=False): kind: str sizes: _list[Size] @typing.type_check_only -class SkippableSetting(typing_extensions.TypedDict, total=False): +class SkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SortedDimension(typing_extensions.TypedDict, total=False): +class SortedDimension(typing.TypedDict, total=False): kind: str name: str - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] @typing.type_check_only -class Subaccount(typing_extensions.TypedDict, total=False): +class Subaccount(typing.TypedDict, total=False): accountId: str availablePermissionIds: _list[str] id: str @@ -2700,17 +2672,17 @@ class Subaccount(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SubaccountsListResponse(typing_extensions.TypedDict, total=False): +class SubaccountsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str subaccounts: _list[Subaccount] @typing.type_check_only -class TagData(typing_extensions.TypedDict, total=False): +class TagData(typing.TypedDict, total=False): adId: str clickTag: str creativeId: str - format: typing_extensions.Literal[ + format: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -2735,30 +2707,28 @@ class TagData(typing_extensions.TypedDict, total=False): impressionTag: str @typing.type_check_only -class TagSetting(typing_extensions.TypedDict, total=False): +class TagSetting(typing.TypedDict, total=False): additionalKeyValues: str includeClickThroughUrls: bool includeClickTracking: bool - keywordOption: typing_extensions.Literal[ + keywordOption: typing.Literal[ "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", "IGNORE", "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD", ] @typing.type_check_only -class TagSettings(typing_extensions.TypedDict, total=False): +class TagSettings(typing.TypedDict, total=False): dynamicTagEnabled: bool imageTagEnabled: bool @typing.type_check_only -class TargetWindow(typing_extensions.TypedDict, total=False): +class TargetWindow(typing.TypedDict, total=False): customHtml: str - targetWindowOption: typing_extensions.Literal[ - "NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM" - ] + targetWindowOption: typing.Literal["NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM"] @typing.type_check_only -class TargetableRemarketingList(typing_extensions.TypedDict, total=False): +class TargetableRemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -2768,7 +2738,7 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): kind: str lifeSpan: str listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -2785,13 +2755,13 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class TargetableRemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class TargetableRemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetableRemarketingLists: _list[TargetableRemarketingList] @typing.type_check_only -class TargetingTemplate(typing_extensions.TypedDict, total=False): +class TargetingTemplate(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -2807,13 +2777,13 @@ class TargetingTemplate(typing_extensions.TypedDict, total=False): technologyTargeting: TechnologyTargeting @typing.type_check_only -class TargetingTemplatesListResponse(typing_extensions.TypedDict, total=False): +class TargetingTemplatesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetingTemplates: _list[TargetingTemplate] @typing.type_check_only -class TechnologyTargeting(typing_extensions.TypedDict, total=False): +class TechnologyTargeting(typing.TypedDict, total=False): browsers: _list[Browser] connectionTypes: _list[ConnectionType] mobileCarriers: _list[MobileCarrier] @@ -2822,13 +2792,13 @@ class TechnologyTargeting(typing_extensions.TypedDict, total=False): platformTypes: _list[PlatformType] @typing.type_check_only -class ThirdPartyAuthenticationToken(typing_extensions.TypedDict, total=False): +class ThirdPartyAuthenticationToken(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): - thirdPartyUrlType: typing_extensions.Literal[ +class ThirdPartyTrackingUrl(typing.TypedDict, total=False): + thirdPartyUrlType: typing.Literal[ "IMPRESSION", "CLICK_TRACKING", "VIDEO_START", @@ -2852,20 +2822,20 @@ class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class TranscodeSetting(typing_extensions.TypedDict, total=False): +class TranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): - registry: typing_extensions.Literal["OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM"] +class UniversalAdId(typing.TypedDict, total=False): + registry: typing.Literal["OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM"] value: str @typing.type_check_only -class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal["STRING", "NUMBER"] +class UserDefinedVariableConfiguration(typing.TypedDict, total=False): + dataType: typing.Literal["STRING", "NUMBER"] reportName: str - variableType: typing_extensions.Literal[ + variableType: typing.Literal[ "U1", "U2", "U3", @@ -2969,7 +2939,7 @@ class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class UserProfile(typing_extensions.TypedDict, total=False): +class UserProfile(typing.TypedDict, total=False): accountId: str accountName: str etag: str @@ -2980,13 +2950,13 @@ class UserProfile(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class UserProfileList(typing_extensions.TypedDict, total=False): +class UserProfileList(typing.TypedDict, total=False): etag: str items: _list[UserProfile] kind: str @typing.type_check_only -class UserRole(typing_extensions.TypedDict, total=False): +class UserRole(typing.TypedDict, total=False): accountId: str defaultUserRole: bool id: str @@ -2997,8 +2967,8 @@ class UserRole(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class UserRolePermission(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class UserRolePermission(typing.TypedDict, total=False): + availability: typing.Literal[ "NOT_AVAILABLE_BY_DEFAULT", "ACCOUNT_BY_DEFAULT", "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", @@ -3012,51 +2982,51 @@ class UserRolePermission(typing_extensions.TypedDict, total=False): permissionGroupId: str @typing.type_check_only -class UserRolePermissionGroup(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class UserRolePermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroupsListResponse(typing.TypedDict, total=False): kind: str userRolePermissionGroups: _list[UserRolePermissionGroup] @typing.type_check_only -class UserRolePermissionsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionsListResponse(typing.TypedDict, total=False): kind: str userRolePermissions: _list[UserRolePermission] @typing.type_check_only -class UserRolesListResponse(typing_extensions.TypedDict, total=False): +class UserRolesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str userRoles: _list[UserRole] @typing.type_check_only -class VideoFormat(typing_extensions.TypedDict, total=False): - fileType: typing_extensions.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] +class VideoFormat(typing.TypedDict, total=False): + fileType: typing.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] id: int kind: str resolution: Size targetBitRate: int @typing.type_check_only -class VideoFormatsListResponse(typing_extensions.TypedDict, total=False): +class VideoFormatsListResponse(typing.TypedDict, total=False): kind: str videoFormats: _list[VideoFormat] @typing.type_check_only -class VideoOffset(typing_extensions.TypedDict, total=False): +class VideoOffset(typing.TypedDict, total=False): offsetPercentage: int offsetSeconds: int @typing.type_check_only -class VideoSettings(typing_extensions.TypedDict, total=False): +class VideoSettings(typing.TypedDict, total=False): companionSettings: CompanionSetting kind: str obaEnabled: bool obaSettings: ObaIcon - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] skippableSettings: SkippableSetting transcodeSettings: TranscodeSetting diff --git a/googleapiclient-stubs/_apis/dfareporting/v3_5/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v3_5/resources.pyi index 9f13bfeba..5b42a7881 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v3_5/resources.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v3_5/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi index 85efd2f87..d8b67b0c4 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v3_5/schemas.pyi @@ -1,29 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ClickTag(typing_extensions.TypedDict, total=False): +class ClickTag(typing.TypedDict, total=False): clickThroughUrl: CreativeClickThroughUrl eventName: str name: str @typing.type_check_only -class CreativeAssetId(typing_extensions.TypedDict, total=False): +class CreativeAssetId(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO" - ] + type: typing.Literal["IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO"] @typing.type_check_only -class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): +class CreativeAssetMetadata(typing.TypedDict, total=False): assetIdentifier: CreativeAssetId clickTags: _list[ClickTag] counterCustomEvents: _list[CreativeCustomEvent] detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -99,7 +95,7 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): richMedia: bool timerCustomEvents: _list[CreativeCustomEvent] warnedValidationRules: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLICK_TAG_NON_TOP_LEVEL", "CLICK_TAG_MISSING", "CLICK_TAG_MORE_THAN_ONE", @@ -130,20 +126,20 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativeClickThroughUrl(typing_extensions.TypedDict, total=False): +class CreativeClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str landingPageId: str @typing.type_check_only -class CreativeCustomEvent(typing_extensions.TypedDict, total=False): +class CreativeCustomEvent(typing.TypedDict, total=False): advertiserCustomEventId: str advertiserCustomEventName: str - advertiserCustomEventType: typing_extensions.Literal[ + advertiserCustomEventType: typing.Literal[ "ADVERTISER_EVENT_TIMER", "ADVERTISER_EVENT_EXIT", "ADVERTISER_EVENT_COUNTER" ] artworkLabel: str - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -152,32 +148,30 @@ class CreativeCustomEvent(typing_extensions.TypedDict, total=False): exitClickThroughUrl: CreativeClickThroughUrl id: str popupWindowProperties: PopupWindowProperties - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_BLANK", "TARGET_TOP", "TARGET_SELF", "TARGET_PARENT", "TARGET_POPUP" ] videoReportingId: str @typing.type_check_only -class DimensionValue(typing_extensions.TypedDict, total=False): +class DimensionValue(typing.TypedDict, total=False): dimensionName: str etag: str id: str kind: str - matchType: typing_extensions.Literal[ - "EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION" - ] + matchType: typing.Literal["EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION"] value: str @typing.type_check_only -class OffsetPosition(typing_extensions.TypedDict, total=False): +class OffsetPosition(typing.TypedDict, total=False): left: int top: int @typing.type_check_only -class PopupWindowProperties(typing_extensions.TypedDict, total=False): +class PopupWindowProperties(typing.TypedDict, total=False): dimension: Size offset: OffsetPosition - positionType: typing_extensions.Literal["CENTER", "COORDINATES"] + positionType: typing.Literal["CENTER", "COORDINATES"] showAddressBar: bool showMenuBar: bool showScrollBar: bool @@ -186,7 +180,7 @@ class PopupWindowProperties(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: int iab: bool id: str diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi index ecfea7d50..1db7f2a86 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -54,9 +53,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., userRoleId: str | None = ..., **kwargs: typing.Any, @@ -92,9 +90,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AccountsListResponseHttpRequest: ... def list_next( @@ -126,7 +123,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): archived: bool | None = ..., audienceSegmentIds: str | _list[str] | None = ..., campaignIds: str | _list[str] | None = ..., - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -147,12 +144,11 @@ class DfareportingResource(googleapiclient.discovery.Resource): remarketingListIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., sslCompliant: bool | None = ..., sslRequired: bool | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -160,7 +156,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "AD_SERVING_BRAND_SAFE_AD", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -202,9 +198,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AdvertiserGroupsListResponseHttpRequest: ... def list_next( @@ -261,9 +256,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertiserLandingPagesListResponseHttpRequest: ... @@ -299,10 +293,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): onlyParent: bool | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + status: typing.Literal["APPROVED", "ON_HOLD"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertisersListResponseHttpRequest: ... @@ -347,11 +340,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): name: str | None = ..., onlySuggestion: bool | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - status: typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] - | _list[typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"]] + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + status: typing.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] + | _list[typing.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"]] | None = ..., subaccountIds: str | _list[str] | None = ..., **kwargs: typing.Any, @@ -394,8 +386,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CampaignCreativeAssociationsListResponseHttpRequest: ... def list_next( @@ -426,9 +417,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): overriddenEventTagId: str | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> CampaignsListResponseHttpRequest: ... @@ -453,7 +443,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - action: typing_extensions.Literal[ + action: typing.Literal[ "ACTION_CREATE", "ACTION_UPDATE", "ACTION_DELETE", @@ -478,7 +468,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., minChangeTime: str | None = ..., objectIds: str | _list[str] | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_FLOODLIGHT_CONFIGURATION", "OBJECT_AD", @@ -576,9 +566,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ContentCategoriesListResponseHttpRequest: ... def list_next( @@ -660,9 +649,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "VALUE"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "VALUE"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldValuesListResponseHttpRequest: ... def list_next( @@ -708,9 +696,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldsListResponseHttpRequest: ... def list_next( @@ -743,9 +730,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeGroupsListResponseHttpRequest: ... def list_next( @@ -784,11 +770,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): renderingIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., studioCreativeId: str | None = ..., - types: typing_extensions.Literal[ + types: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -816,7 +801,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "INSTREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -897,9 +882,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> DirectorySitesListResponseHttpRequest: ... def list_next( @@ -949,7 +933,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, objectId: str, name: str, - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ], **kwargs: typing.Any, @@ -964,7 +948,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): advertiserId: str | None = ..., names: str | _list[str] | None = ..., objectId: str | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] | None = ..., @@ -991,13 +975,13 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str | None = ..., definitionsOnly: bool | None = ..., enabled: bool | None = ..., - eventTagTypes: typing_extensions.Literal[ + eventTagTypes: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -1006,9 +990,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., ids: str | _list[str] | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> EventTagsListResponseHttpRequest: ... def patch( @@ -1032,12 +1015,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE", "SHARED_WITH_ME"] - | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE", "SHARED_WITH_ME"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -1070,16 +1050,14 @@ class DfareportingResource(googleapiclient.discovery.Resource): floodlightActivityGroupIds: str | _list[str] | None = ..., floodlightActivityGroupName: str | None = ..., floodlightActivityGroupTagString: str | None = ..., - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] - | None = ..., + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] | None = ..., floodlightConfigurationId: str | None = ..., ids: str | _list[str] | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., tagString: str | None = ..., **kwargs: typing.Any, ) -> FloodlightActivitiesListResponseHttpRequest: ... @@ -1118,10 +1096,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - type: typing_extensions.Literal["COUNTER", "SALE"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + type: typing.Literal["COUNTER", "SALE"] | None = ..., **kwargs: typing.Any, ) -> FloodlightActivityGroupsListResponseHttpRequest: ... def list_next( @@ -1181,10 +1158,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): orderId: str | _list[str] | None = ..., pageToken: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - type: typing_extensions.Literal[ + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + type: typing.Literal[ "PLANNING_PLACEMENT_TYPE_REGULAR", "PLANNING_PLACEMENT_TYPE_CREDIT" ] | None = ..., @@ -1217,7 +1193,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - directories: typing_extensions.Literal[ + directories: typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE", @@ -1231,7 +1207,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "GENERIC_CTV_APP_STORE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE", @@ -1300,9 +1276,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., searchString: str | None = ..., siteId: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> OrdersListResponseHttpRequest: ... def list_next( @@ -1323,7 +1298,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1331,7 +1306,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1351,12 +1326,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - placementGroupType: typing_extensions.Literal[ + placementGroupType: typing.Literal[ "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1365,7 +1340,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1377,9 +1352,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., searchString: str | None = ..., siteIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementGroupsListResponseHttpRequest: ... def list_next( @@ -1413,9 +1387,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementStrategiesListResponseHttpRequest: ... def list_next( @@ -1443,7 +1416,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, campaignId: str | None = ..., placementIds: str | _list[str] | None = ..., - tagFormats: typing_extensions.Literal[ + tagFormats: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1466,7 +1439,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1502,7 +1475,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1510,7 +1483,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1521,7 +1494,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., advertiserIds: str | _list[str] | None = ..., campaignIds: str | _list[str] | None = ..., - compatibilities: typing_extensions.Literal[ + compatibilities: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1530,7 +1503,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "IN_STREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1550,12 +1523,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - paymentSource: typing_extensions.Literal[ + paymentSource: typing.Literal[ "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1564,7 +1537,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1577,9 +1550,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): searchString: str | None = ..., siteIds: str | _list[str] | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementsListResponseHttpRequest: ... def list_next( @@ -1626,9 +1598,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ProjectsListResponseHttpRequest: ... def list_next( @@ -1678,9 +1649,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> RemarketingListsListResponseHttpRequest: ... def list_next( @@ -1733,10 +1703,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): reportId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -1758,11 +1726,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE"] | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ReportListHttpRequest: ... def list_next( @@ -1808,9 +1774,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., unmappedSite: bool | None = ..., **kwargs: typing.Any, @@ -1883,9 +1848,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> SubaccountsListResponseHttpRequest: ... def list_next( @@ -1914,9 +1878,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetableRemarketingListsListResponseHttpRequest: ... def list_next( @@ -1942,9 +1905,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetingTemplatesListResponseHttpRequest: ... def list_next( @@ -2035,9 +1997,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> UserRolesListResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi index 5e32e2253..9f076ffbf 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountPermissionIds: _list[str] - accountProfile: typing_extensions.Literal[ - "ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD" - ] + accountProfile: typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] active: bool - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -38,10 +34,10 @@ class Account(typing_extensions.TypedDict, total=False): teaserSizeLimit: str @typing.type_check_only -class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): +class AccountActiveAdSummary(typing.TypedDict, total=False): accountId: str activeAds: str - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -55,34 +51,34 @@ class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class AccountPermission(typing_extensions.TypedDict, total=False): +class AccountPermission(typing.TypedDict, total=False): accountProfiles: _list[ - typing_extensions.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] + typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] ] id: str kind: str - level: typing_extensions.Literal["USER", "ADMINISTRATOR"] + level: typing.Literal["USER", "ADMINISTRATOR"] name: str permissionGroupId: str @typing.type_check_only -class AccountPermissionGroup(typing_extensions.TypedDict, total=False): +class AccountPermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class AccountPermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionGroupsListResponse(typing.TypedDict, total=False): accountPermissionGroups: _list[AccountPermissionGroup] kind: str @typing.type_check_only -class AccountPermissionsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionsListResponse(typing.TypedDict, total=False): accountPermissions: _list[AccountPermission] kind: str @typing.type_check_only -class AccountUserProfile(typing_extensions.TypedDict, total=False): +class AccountUserProfile(typing.TypedDict, total=False): accountId: str active: bool advertiserFilter: ObjectFilter @@ -95,35 +91,35 @@ class AccountUserProfile(typing_extensions.TypedDict, total=False): name: str siteFilter: ObjectFilter subaccountId: str - traffickerType: typing_extensions.Literal[ + traffickerType: typing.Literal[ "INTERNAL_NON_TRAFFICKER", "INTERNAL_TRAFFICKER", "EXTERNAL_TRAFFICKER" ] - userAccessType: typing_extensions.Literal[ + userAccessType: typing.Literal[ "NORMAL_USER", "SUPER_USER", "INTERNAL_ADMINISTRATOR", "READ_ONLY_SUPER_USER" ] userRoleFilter: ObjectFilter userRoleId: str @typing.type_check_only -class AccountUserProfilesListResponse(typing_extensions.TypedDict, total=False): +class AccountUserProfilesListResponse(typing.TypedDict, total=False): accountUserProfiles: _list[AccountUserProfile] kind: str nextPageToken: str @typing.type_check_only -class AccountsListResponse(typing_extensions.TypedDict, total=False): +class AccountsListResponse(typing.TypedDict, total=False): accounts: _list[Account] kind: str nextPageToken: str @typing.type_check_only -class Activities(typing_extensions.TypedDict, total=False): +class Activities(typing.TypedDict, total=False): filters: _list[DimensionValue] kind: str metricNames: _list[str] @typing.type_check_only -class Ad(typing_extensions.TypedDict, total=False): +class Ad(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -135,7 +131,7 @@ class Ad(typing_extensions.TypedDict, total=False): clickThroughUrl: ClickThroughUrl clickThroughUrlSuffixProperties: ClickThroughUrlSuffixProperties comments: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -170,7 +166,7 @@ class Ad(typing_extensions.TypedDict, total=False): subaccountId: str targetingTemplateId: str technologyTargeting: TechnologyTargeting - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -179,13 +175,13 @@ class Ad(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AdBlockingConfiguration(typing_extensions.TypedDict, total=False): +class AdBlockingConfiguration(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AdSlot(typing_extensions.TypedDict, total=False): +class AdSlot(typing.TypedDict, total=False): comment: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -196,7 +192,7 @@ class AdSlot(typing_extensions.TypedDict, total=False): height: str linkedPlacementId: str name: str - paymentSourceType: typing_extensions.Literal[ + paymentSourceType: typing.Literal[ "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID", "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID", ] @@ -204,19 +200,19 @@ class AdSlot(typing_extensions.TypedDict, total=False): width: str @typing.type_check_only -class AdsListResponse(typing_extensions.TypedDict, total=False): +class AdsListResponse(typing.TypedDict, total=False): ads: _list[Ad] kind: str nextPageToken: str @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): accountId: str advertiserGroupId: str clickThroughUrlSuffix: str defaultClickThroughEventTagId: str defaultEmail: str - euPoliticalAdsDeclaration: typing_extensions.Literal[ + euPoliticalAdsDeclaration: typing.Literal[ "ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS", "ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS", ] @@ -228,55 +224,55 @@ class Advertiser(typing_extensions.TypedDict, total=False): measurementPartnerLink: MeasurementPartnerAdvertiserLink name: str originalFloodlightConfigurationId: str - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] + status: typing.Literal["APPROVED", "ON_HOLD"] subaccountId: str suspended: bool @typing.type_check_only -class AdvertiserGroup(typing_extensions.TypedDict, total=False): +class AdvertiserGroup(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class AdvertiserGroupsListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserGroupsListResponse(typing.TypedDict, total=False): advertiserGroups: _list[AdvertiserGroup] kind: str nextPageToken: str @typing.type_check_only -class AdvertiserInvoicesListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserInvoicesListResponse(typing.TypedDict, total=False): invoices: _list[Invoice] kind: str nextPageToken: str @typing.type_check_only -class AdvertiserLandingPagesListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserLandingPagesListResponse(typing.TypedDict, total=False): kind: str landingPages: _list[LandingPage] nextPageToken: str @typing.type_check_only -class AdvertisersListResponse(typing_extensions.TypedDict, total=False): +class AdvertisersListResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] kind: str nextPageToken: str @typing.type_check_only -class AudienceSegment(typing_extensions.TypedDict, total=False): +class AudienceSegment(typing.TypedDict, total=False): allocation: int id: str name: str @typing.type_check_only -class AudienceSegmentGroup(typing_extensions.TypedDict, total=False): +class AudienceSegmentGroup(typing.TypedDict, total=False): audienceSegments: _list[AudienceSegment] id: str name: str @typing.type_check_only -class BillingAssignment(typing_extensions.TypedDict, total=False): +class BillingAssignment(typing.TypedDict, total=False): accountId: str advertiserId: str campaignId: str @@ -284,19 +280,17 @@ class BillingAssignment(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class BillingAssignmentsListResponse(typing_extensions.TypedDict, total=False): +class BillingAssignmentsListResponse(typing.TypedDict, total=False): billingAssignments: _list[BillingAssignment] kind: str @typing.type_check_only -class BillingProfile(typing_extensions.TypedDict, total=False): +class BillingProfile(typing.TypedDict, total=False): consolidatedInvoice: bool countryCode: str currencyCode: str id: str - invoiceLevel: typing_extensions.Literal[ - "ACCOUNT_LEVEL", "ADVERTISER_LEVEL", "CAMPAIGN_LEVEL" - ] + invoiceLevel: typing.Literal["ACCOUNT_LEVEL", "ADVERTISER_LEVEL", "CAMPAIGN_LEVEL"] isDefault: bool kind: str name: str @@ -304,16 +298,16 @@ class BillingProfile(typing_extensions.TypedDict, total=False): paymentsCustomerId: str purchaseOrder: str secondaryPaymentsCustomerId: str - status: typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] + status: typing.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] @typing.type_check_only -class BillingProfilesListResponse(typing_extensions.TypedDict, total=False): +class BillingProfilesListResponse(typing.TypedDict, total=False): billingProfiles: _list[BillingProfile] kind: str nextPageToken: str @typing.type_check_only -class BillingRate(typing_extensions.TypedDict, total=False): +class BillingRate(typing.TypedDict, total=False): currencyCode: str endDate: str id: str @@ -321,7 +315,7 @@ class BillingRate(typing_extensions.TypedDict, total=False): rateInMicros: str startDate: str tieredRates: _list[BillingRateTieredRate] - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING", "CLICKS", "MINIMUM_SERVICE", @@ -355,22 +349,22 @@ class BillingRate(typing_extensions.TypedDict, total=False): "AUDIO_AD_SERVING", "ADVANCED_DISPLAY_AD_SERVING", ] - unitOfMeasure: typing_extensions.Literal["CPM", "CPC", "EA", "P2C"] + unitOfMeasure: typing.Literal["CPM", "CPC", "EA", "P2C"] @typing.type_check_only -class BillingRateTieredRate(typing_extensions.TypedDict, total=False): +class BillingRateTieredRate(typing.TypedDict, total=False): highValue: str lowValue: str rateInMicros: str @typing.type_check_only -class BillingRatesListResponse(typing_extensions.TypedDict, total=False): +class BillingRatesListResponse(typing.TypedDict, total=False): billingRates: _list[BillingRate] kind: str nextPageToken: str @typing.type_check_only -class Browser(typing_extensions.TypedDict, total=False): +class Browser(typing.TypedDict, total=False): browserVersionId: str dartId: str kind: str @@ -379,12 +373,12 @@ class Browser(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class BrowsersListResponse(typing_extensions.TypedDict, total=False): +class BrowsersListResponse(typing.TypedDict, total=False): browsers: _list[Browser] kind: str @typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): +class Campaign(typing.TypedDict, total=False): accountId: str adBlockingConfiguration: AdBlockingConfiguration additionalCreativeOptimizationConfigurations: _list[ @@ -404,7 +398,7 @@ class Campaign(typing_extensions.TypedDict, total=False): defaultClickThroughEventTagProperties: DefaultClickThroughEventTagProperties defaultLandingPageId: str endDate: str - euPoliticalAdsDeclaration: typing_extensions.Literal[ + euPoliticalAdsDeclaration: typing.Literal[ "CONTAINS_EU_POLITICAL_ADS", "DOES_NOT_CONTAIN_EU_POLITICAL_ADS" ] eventTagOverrides: _list[EventTagOverride] @@ -419,20 +413,18 @@ class Campaign(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CampaignCreativeAssociation(typing_extensions.TypedDict, total=False): +class CampaignCreativeAssociation(typing.TypedDict, total=False): creativeId: str kind: str @typing.type_check_only -class CampaignCreativeAssociationsListResponse( - typing_extensions.TypedDict, total=False -): +class CampaignCreativeAssociationsListResponse(typing.TypedDict, total=False): campaignCreativeAssociations: _list[CampaignCreativeAssociation] kind: str nextPageToken: str @typing.type_check_only -class CampaignSummary(typing_extensions.TypedDict, total=False): +class CampaignSummary(typing.TypedDict, total=False): billingInvoiceCode: str campaignId: str preTaxAmountMicros: str @@ -440,26 +432,26 @@ class CampaignSummary(typing_extensions.TypedDict, total=False): totalAmountMicros: str @typing.type_check_only -class CampaignsListResponse(typing_extensions.TypedDict, total=False): +class CampaignsListResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] kind: str nextPageToken: str @typing.type_check_only -class CartData(typing_extensions.TypedDict, total=False): +class CartData(typing.TypedDict, total=False): items: _list[CartDataItem] merchantFeedLabel: str merchantFeedLanguage: str merchantId: str @typing.type_check_only -class CartDataItem(typing_extensions.TypedDict, total=False): +class CartDataItem(typing.TypedDict, total=False): itemId: str quantity: int unitPrice: float @typing.type_check_only -class ChangeLog(typing_extensions.TypedDict, total=False): +class ChangeLog(typing.TypedDict, total=False): accountId: str action: str changeTime: str @@ -476,18 +468,18 @@ class ChangeLog(typing_extensions.TypedDict, total=False): userProfileName: str @typing.type_check_only -class ChangeLogsListResponse(typing_extensions.TypedDict, total=False): +class ChangeLogsListResponse(typing.TypedDict, total=False): changeLogs: _list[ChangeLog] kind: str nextPageToken: str @typing.type_check_only -class CitiesListResponse(typing_extensions.TypedDict, total=False): +class CitiesListResponse(typing.TypedDict, total=False): cities: _list[City] kind: str @typing.type_check_only -class City(typing_extensions.TypedDict, total=False): +class City(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -499,37 +491,37 @@ class City(typing_extensions.TypedDict, total=False): regionDartId: str @typing.type_check_only -class ClickTag(typing_extensions.TypedDict, total=False): +class ClickTag(typing.TypedDict, total=False): clickThroughUrl: CreativeClickThroughUrl eventName: str name: str @typing.type_check_only -class ClickThroughUrl(typing_extensions.TypedDict, total=False): +class ClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str defaultLandingPage: bool landingPageId: str @typing.type_check_only -class ClickThroughUrlSuffixProperties(typing_extensions.TypedDict, total=False): +class ClickThroughUrlSuffixProperties(typing.TypedDict, total=False): clickThroughUrlSuffix: str overrideInheritedSuffix: bool @typing.type_check_only -class CompanionClickThroughOverride(typing_extensions.TypedDict, total=False): +class CompanionClickThroughOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl creativeId: str @typing.type_check_only -class CompanionSetting(typing_extensions.TypedDict, total=False): +class CompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class CompatibleFields(typing_extensions.TypedDict, total=False): +class CompatibleFields(typing.TypedDict, total=False): crossDimensionReachReportCompatibleFields: CrossDimensionReachReportCompatibleFields crossMediaReachReportCompatibleFields: CrossMediaReachReportCompatibleFields floodlightReportCompatibleFields: FloodlightReportCompatibleFields @@ -539,60 +531,60 @@ class CompatibleFields(typing_extensions.TypedDict, total=False): reportCompatibleFields: ReportCompatibleFields @typing.type_check_only -class ConnectionType(typing_extensions.TypedDict, total=False): +class ConnectionType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class ConnectionTypesListResponse(typing_extensions.TypedDict, total=False): +class ConnectionTypesListResponse(typing.TypedDict, total=False): connectionTypes: _list[ConnectionType] kind: str @typing.type_check_only -class ContentCategoriesListResponse(typing_extensions.TypedDict, total=False): +class ContentCategoriesListResponse(typing.TypedDict, total=False): contentCategories: _list[ContentCategory] kind: str nextPageToken: str @typing.type_check_only -class ContentCategory(typing_extensions.TypedDict, total=False): +class ContentCategory(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class ContentSource(typing_extensions.TypedDict, total=False): +class ContentSource(typing.TypedDict, total=False): contentSourceName: str createInfo: LastModifiedInfo lastModifiedInfo: LastModifiedInfo metaData: ContentSourceMetaData resourceLink: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_GOOGLE_SPREADSHEET", "RESOURCE_TYPE_REMOTE_FILE", ] @typing.type_check_only -class ContentSourceMetaData(typing_extensions.TypedDict, total=False): +class ContentSourceMetaData(typing.TypedDict, total=False): charset: str fieldNames: _list[str] rowNumber: int separator: str @typing.type_check_only -class ContextualKeyword(typing_extensions.TypedDict, total=False): +class ContextualKeyword(typing.TypedDict, total=False): keyword: str @typing.type_check_only -class ContextualKeywordTargeting(typing_extensions.TypedDict, total=False): +class ContextualKeywordTargeting(typing.TypedDict, total=False): keywords: _list[ContextualKeyword] @typing.type_check_only -class Conversion(typing_extensions.TypedDict, total=False): - adUserDataConsent: typing_extensions.Literal["GRANTED", "DENIED"] +class Conversion(typing.TypedDict, total=False): + adUserDataConsent: typing.Literal["GRANTED", "DENIED"] cartData: CartData childDirectedTreatment: bool customVariables: _list[CustomFloodlightVariable] @@ -617,50 +609,50 @@ class Conversion(typing_extensions.TypedDict, total=False): value: float @typing.type_check_only -class ConversionError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConversionError(typing.TypedDict, total=False): + code: typing.Literal[ "INVALID_ARGUMENT", "INTERNAL", "PERMISSION_DENIED", "NOT_FOUND" ] kind: str message: str @typing.type_check_only -class ConversionStatus(typing_extensions.TypedDict, total=False): +class ConversionStatus(typing.TypedDict, total=False): conversion: Conversion errors: _list[ConversionError] kind: str @typing.type_check_only -class ConversionsBatchInsertRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchInsertResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class ConversionsBatchUpdateRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchUpdateResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class CountriesListResponse(typing_extensions.TypedDict, total=False): +class CountriesListResponse(typing.TypedDict, total=False): countries: _list[Country] kind: str @typing.type_check_only -class Country(typing_extensions.TypedDict, total=False): +class Country(typing.TypedDict, total=False): countryCode: str dartId: str kind: str @@ -668,7 +660,7 @@ class Country(typing_extensions.TypedDict, total=False): sslEnabled: bool @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): accountId: str active: bool adParameters: str @@ -677,13 +669,13 @@ class Creative(typing_extensions.TypedDict, total=False): advertiserId: str allowScriptAccess: bool archived: bool - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", "ARTWORK_TYPE_IMAGE", ] - authoringSource: typing_extensions.Literal[ + authoringSource: typing.Literal[ "CREATIVE_AUTHORING_SOURCE_DCM", "CREATIVE_AUTHORING_SOURCE_DBM", "CREATIVE_AUTHORING_SOURCE_STUDIO", @@ -696,12 +688,12 @@ class Creative(typing_extensions.TypedDict, total=False): "CREATIVE_AUTHORING_SOURCE_BORNLOGIC", "CREATIVE_AUTHORING_SOURCE_BEGEN_AI", ] - authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] + authoringTool: typing.Literal["NINJA", "SWIFFY"] autoAdvanceImages: bool backgroundColor: str backupImageClickThroughUrl: CreativeClickThroughUrl backupImageFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -776,7 +768,7 @@ class Creative(typing_extensions.TypedDict, total=False): commercialId: str companionCreatives: _list[str] compatibility: _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -826,7 +818,7 @@ class Creative(typing_extensions.TypedDict, total=False): thirdPartyUrls: _list[ThirdPartyTrackingUrl] timerCustomEvents: _list[CreativeCustomEvent] totalFileSize: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -857,14 +849,14 @@ class Creative(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class CreativeAsset(typing_extensions.TypedDict, total=False): +class CreativeAsset(typing.TypedDict, total=False): actionScript3: bool active: bool additionalSizes: _list[Size] - alignment: typing_extensions.Literal[ + alignment: typing.Literal[ "ALIGNMENT_TOP", "ALIGNMENT_RIGHT", "ALIGNMENT_BOTTOM", "ALIGNMENT_LEFT" ] - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -875,7 +867,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): audioSampleRate: int backupImageExit: CreativeCustomEvent bitRate: int - childAssetType: typing_extensions.Literal[ + childAssetType: typing.Literal[ "CHILD_ASSET_TYPE_FLASH", "CHILD_ASSET_TYPE_VIDEO", "CHILD_ASSET_TYPE_IMAGE", @@ -885,7 +877,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): companionCreativeIds: _list[str] customStartTimeValue: int detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -954,7 +946,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "SVG_FE_IMAGE", ] ] - displayType: typing_extensions.Literal[ + displayType: typing.Literal[ "ASSET_DISPLAY_TYPE_INPAGE", "ASSET_DISPLAY_TYPE_FLOATING", "ASSET_DISPLAY_TYPE_OVERLAY", @@ -967,7 +959,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "ASSET_DISPLAY_TYPE_BACKDROP", ] duration: int - durationType: typing_extensions.Literal[ + durationType: typing.Literal[ "ASSET_DURATION_TYPE_AUTO", "ASSET_DURATION_TYPE_NONE", "ASSET_DURATION_TYPE_CUSTOM", @@ -984,20 +976,20 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): mediaDuration: float mimeType: str offset: OffsetPosition - orientation: typing_extensions.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] + orientation: typing.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] originalBackup: bool politeLoad: bool position: OffsetPosition - positionLeftUnit: typing_extensions.Literal[ + positionLeftUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] - positionTopUnit: typing_extensions.Literal[ + positionTopUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] progressiveServingUrl: str pushdown: bool pushdownDuration: float - role: typing_extensions.Literal[ + role: typing.Literal[ "PRIMARY", "BACKUP_IMAGE", "ADDITIONAL_IMAGE", @@ -1011,31 +1003,29 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): ] size: Size sslCompliant: bool - startTimeType: typing_extensions.Literal[ + startTimeType: typing.Literal[ "ASSET_START_TIME_TYPE_NONE", "ASSET_START_TIME_TYPE_CUSTOM" ] streamingServingUrl: str transparency: bool verticallyLocked: bool - windowMode: typing_extensions.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] + windowMode: typing.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] zIndex: int zipFilename: str zipFilesize: str @typing.type_check_only -class CreativeAssetId(typing_extensions.TypedDict, total=False): +class CreativeAssetId(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO" - ] + type: typing.Literal["IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO"] @typing.type_check_only -class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): +class CreativeAssetMetadata(typing.TypedDict, total=False): assetIdentifier: CreativeAssetId clickTags: _list[ClickTag] counterCustomEvents: _list[CreativeCustomEvent] detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -1111,7 +1101,7 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): richMedia: bool timerCustomEvents: _list[CreativeCustomEvent] warnedValidationRules: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLICK_TAG_NON_TOP_LEVEL", "CLICK_TAG_MISSING", "CLICK_TAG_MORE_THAN_ONE", @@ -1142,12 +1132,12 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativeAssetSelection(typing_extensions.TypedDict, total=False): +class CreativeAssetSelection(typing.TypedDict, total=False): defaultAssetId: str rules: _list[Rule] @typing.type_check_only -class CreativeAssignment(typing_extensions.TypedDict, total=False): +class CreativeAssignment(typing.TypedDict, total=False): active: bool applyEventTags: bool clickThroughUrl: ClickThroughUrl @@ -1163,20 +1153,20 @@ class CreativeAssignment(typing_extensions.TypedDict, total=False): weight: int @typing.type_check_only -class CreativeClickThroughUrl(typing_extensions.TypedDict, total=False): +class CreativeClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str landingPageId: str @typing.type_check_only -class CreativeCustomEvent(typing_extensions.TypedDict, total=False): +class CreativeCustomEvent(typing.TypedDict, total=False): advertiserCustomEventId: str advertiserCustomEventName: str - advertiserCustomEventType: typing_extensions.Literal[ + advertiserCustomEventType: typing.Literal[ "ADVERTISER_EVENT_TIMER", "ADVERTISER_EVENT_EXIT", "ADVERTISER_EVENT_COUNTER" ] artworkLabel: str - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -1185,13 +1175,13 @@ class CreativeCustomEvent(typing_extensions.TypedDict, total=False): exitClickThroughUrl: CreativeClickThroughUrl id: str popupWindowProperties: PopupWindowProperties - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_BLANK", "TARGET_TOP", "TARGET_SELF", "TARGET_PARENT", "TARGET_POPUP" ] videoReportingId: str @typing.type_check_only -class CreativeField(typing_extensions.TypedDict, total=False): +class CreativeField(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1201,30 +1191,30 @@ class CreativeField(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeFieldAssignment(typing_extensions.TypedDict, total=False): +class CreativeFieldAssignment(typing.TypedDict, total=False): creativeFieldId: str creativeFieldValueId: str @typing.type_check_only -class CreativeFieldValue(typing_extensions.TypedDict, total=False): +class CreativeFieldValue(typing.TypedDict, total=False): id: str kind: str value: str @typing.type_check_only -class CreativeFieldValuesListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldValuesListResponse(typing.TypedDict, total=False): creativeFieldValues: _list[CreativeFieldValue] kind: str nextPageToken: str @typing.type_check_only -class CreativeFieldsListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldsListResponse(typing.TypedDict, total=False): creativeFields: _list[CreativeField] kind: str nextPageToken: str @typing.type_check_only -class CreativeGroup(typing_extensions.TypedDict, total=False): +class CreativeGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1235,24 +1225,22 @@ class CreativeGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeGroupAssignment(typing_extensions.TypedDict, total=False): +class CreativeGroupAssignment(typing.TypedDict, total=False): creativeGroupId: str - creativeGroupNumber: typing_extensions.Literal[ - "CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO" - ] + creativeGroupNumber: typing.Literal["CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO"] @typing.type_check_only -class CreativeGroupsListResponse(typing_extensions.TypedDict, total=False): +class CreativeGroupsListResponse(typing.TypedDict, total=False): creativeGroups: _list[CreativeGroup] kind: str nextPageToken: str @typing.type_check_only -class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False): +class CreativeOptimizationConfiguration(typing.TypedDict, total=False): id: str name: str optimizationActivitys: _list[OptimizationActivity] - optimizationModel: typing_extensions.Literal[ + optimizationModel: typing.Literal[ "CLICK", "POST_CLICK", "POST_IMPRESSION", @@ -1261,13 +1249,13 @@ class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class CreativeRotation(typing_extensions.TypedDict, total=False): +class CreativeRotation(typing.TypedDict, total=False): creativeAssignments: _list[CreativeAssignment] creativeOptimizationConfigurationId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CREATIVE_ROTATION_TYPE_SEQUENTIAL", "CREATIVE_ROTATION_TYPE_RANDOM" ] - weightCalculationStrategy: typing_extensions.Literal[ + weightCalculationStrategy: typing.Literal[ "WEIGHT_STRATEGY_EQUAL", "WEIGHT_STRATEGY_CUSTOM", "WEIGHT_STRATEGY_HIGHEST_CTR", @@ -1275,15 +1263,13 @@ class CreativeRotation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativesListResponse(typing_extensions.TypedDict, total=False): +class CreativesListResponse(typing.TypedDict, total=False): creatives: _list[Creative] kind: str nextPageToken: str @typing.type_check_only -class CrossDimensionReachReportCompatibleFields( - typing_extensions.TypedDict, total=False -): +class CrossDimensionReachReportCompatibleFields(typing.TypedDict, total=False): breakdown: _list[Dimension] dimensionFilters: _list[Dimension] kind: str @@ -1291,16 +1277,16 @@ class CrossDimensionReachReportCompatibleFields( overlapMetrics: _list[Metric] @typing.type_check_only -class CrossMediaReachReportCompatibleFields(typing_extensions.TypedDict, total=False): +class CrossMediaReachReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str metrics: _list[Metric] @typing.type_check_only -class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): +class CustomFloodlightVariable(typing.TypedDict, total=False): kind: str - type: typing_extensions.Literal[ + type: typing.Literal[ "U1", "U2", "U3", @@ -1405,39 +1391,39 @@ class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class CustomRichMediaEvents(typing_extensions.TypedDict, total=False): +class CustomRichMediaEvents(typing.TypedDict, total=False): filteredEventIds: _list[DimensionValue] kind: str @typing.type_check_only -class CustomRule(typing_extensions.TypedDict, total=False): +class CustomRule(typing.TypedDict, total=False): name: str priority: int ruleBlocks: _list[RuleBlock] @typing.type_check_only -class CustomValueField(typing_extensions.TypedDict, total=False): +class CustomValueField(typing.TypedDict, total=False): fieldId: int requestKey: str @typing.type_check_only -class CustomViewabilityMetric(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetric(typing.TypedDict, total=False): configuration: CustomViewabilityMetricConfiguration id: str name: str @typing.type_check_only -class CustomViewabilityMetricConfiguration(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetricConfiguration(typing.TypedDict, total=False): audible: bool timeMillis: int timePercent: int viewabilityPercent: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: str kind: str - relativeDateRange: typing_extensions.Literal[ + relativeDateRange: typing.Literal[ "TODAY", "YESTERDAY", "WEEK_TO_DATE", @@ -1459,9 +1445,9 @@ class DateRange(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DayPartTargeting(typing_extensions.TypedDict, total=False): +class DayPartTargeting(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY" ] ] @@ -1469,7 +1455,7 @@ class DayPartTargeting(typing_extensions.TypedDict, total=False): userLocalTime: bool @typing.type_check_only -class DeepLink(typing_extensions.TypedDict, total=False): +class DeepLink(typing.TypedDict, total=False): appUrl: str fallbackUrl: str kind: str @@ -1477,16 +1463,16 @@ class DeepLink(typing_extensions.TypedDict, total=False): remarketingListIds: _list[str] @typing.type_check_only -class DefaultClickThroughEventTagProperties(typing_extensions.TypedDict, total=False): +class DefaultClickThroughEventTagProperties(typing.TypedDict, total=False): defaultClickThroughEventTagId: str overrideInheritedEventTag: bool @typing.type_check_only -class DeliverySchedule(typing_extensions.TypedDict, total=False): +class DeliverySchedule(typing.TypedDict, total=False): frequencyCap: FrequencyCap hardCutoff: bool impressionRatio: str - priority: typing_extensions.Literal[ + priority: typing.Literal[ "AD_PRIORITY_01", "AD_PRIORITY_02", "AD_PRIORITY_03", @@ -1506,21 +1492,19 @@ class DeliverySchedule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DependentFieldValue(typing_extensions.TypedDict, total=False): +class DependentFieldValue(typing.TypedDict, total=False): dynamicFeedId: str elementId: str fieldId: int @typing.type_check_only -class DfareportingStudioCreativeAssetsInsertRequest( - typing_extensions.TypedDict, total=False -): +class DfareportingStudioCreativeAssetsInsertRequest(typing.TypedDict, total=False): studioAccountId: str studioAdvertiserId: str studioCreativeId: str @typing.type_check_only -class DfpSettings(typing_extensions.TypedDict, total=False): +class DfpSettings(typing.TypedDict, total=False): dfpNetworkCode: str dfpNetworkName: str programmaticPlacementAccepted: bool @@ -1528,36 +1512,34 @@ class DfpSettings(typing_extensions.TypedDict, total=False): publisherPortalOnly: bool @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class DimensionFilter(typing_extensions.TypedDict, total=False): +class DimensionFilter(typing.TypedDict, total=False): dimensionName: str kind: str value: str @typing.type_check_only -class DimensionValue(typing_extensions.TypedDict, total=False): +class DimensionValue(typing.TypedDict, total=False): dimensionName: str etag: str id: str kind: str - matchType: typing_extensions.Literal[ - "EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION" - ] + matchType: typing.Literal["EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION"] value: str @typing.type_check_only -class DimensionValueList(typing_extensions.TypedDict, total=False): +class DimensionValueList(typing.TypedDict, total=False): etag: str items: _list[DimensionValue] kind: str nextPageToken: str @typing.type_check_only -class DimensionValueRequest(typing_extensions.TypedDict, total=False): +class DimensionValueRequest(typing.TypedDict, total=False): dimensionName: str endDate: str filters: _list[DimensionFilter] @@ -1565,11 +1547,11 @@ class DimensionValueRequest(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DirectorySite(typing_extensions.TypedDict, total=False): +class DirectorySite(typing.TypedDict, total=False): id: str idDimensionValue: DimensionValue inpageTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "STANDARD", "IFRAME_JAVASCRIPT_INPAGE", "INTERNAL_REDIRECT_INPAGE", @@ -1577,7 +1559,7 @@ class DirectorySite(typing_extensions.TypedDict, total=False): ] ] interstitialTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "IFRAME_JAVASCRIPT_INTERSTITIAL", "INTERNAL_REDIRECT_INTERSTITIAL", "JAVASCRIPT_INTERSTITIAL", @@ -1590,20 +1572,20 @@ class DirectorySite(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class DirectorySiteSettings(typing_extensions.TypedDict, total=False): +class DirectorySiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool dfpSettings: DfpSettings instreamVideoPlacementAccepted: bool interstitialPlacementAccepted: bool @typing.type_check_only -class DirectorySitesListResponse(typing_extensions.TypedDict, total=False): +class DirectorySitesListResponse(typing.TypedDict, total=False): directorySites: _list[DirectorySite] kind: str nextPageToken: str @typing.type_check_only -class DynamicFeed(typing_extensions.TypedDict, total=False): +class DynamicFeed(typing.TypedDict, total=False): contentSource: ContentSource createInfo: LastModifiedInfo dynamicFeedId: str @@ -1613,20 +1595,18 @@ class DynamicFeed(typing_extensions.TypedDict, total=False): feedSchedule: FeedSchedule hasPublished: bool lastModifiedInfo: LastModifiedInfo - status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + status: typing.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] studioAdvertiserId: str @typing.type_check_only -class DynamicFeedsInsertRequest(typing_extensions.TypedDict, total=False): +class DynamicFeedsInsertRequest(typing.TypedDict, total=False): dynamicFeed: DynamicFeed dynamicProfileId: str @typing.type_check_only -class DynamicProfile(typing_extensions.TypedDict, total=False): +class DynamicProfile(typing.TypedDict, total=False): active: DynamicProfileVersion - archiveStatus: typing_extensions.Literal[ - "ARCHIVE_STATUS_UNKNOWN", "UNARCHIVED", "ARCHIVED" - ] + archiveStatus: typing.Literal["ARCHIVE_STATUS_UNKNOWN", "UNARCHIVED", "ARCHIVED"] createInfo: LastModifiedInfo description: str draft: DynamicProfileVersion @@ -1634,55 +1614,55 @@ class DynamicProfile(typing_extensions.TypedDict, total=False): kind: str lastModifiedInfo: LastModifiedInfo name: str - status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + status: typing.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] studioAdvertiserId: str @typing.type_check_only -class DynamicProfileFeedSettings(typing_extensions.TypedDict, total=False): +class DynamicProfileFeedSettings(typing.TypedDict, total=False): dynamicFeedId: str dynamicRules: DynamicRules quantity: int @typing.type_check_only -class DynamicProfileGenerateCodeResponse(typing_extensions.TypedDict, total=False): +class DynamicProfileGenerateCodeResponse(typing.TypedDict, total=False): code: str @typing.type_check_only -class DynamicProfileVersion(typing_extensions.TypedDict, total=False): +class DynamicProfileVersion(typing.TypedDict, total=False): dynamicProfileFeedSettings: _list[DynamicProfileFeedSettings] versionId: str @typing.type_check_only -class DynamicRules(typing_extensions.TypedDict, total=False): +class DynamicRules(typing.TypedDict, total=False): autoTargetedFieldIds: _list[int] customRules: _list[CustomRule] customValueFields: _list[CustomValueField] proximityFilter: ProximityFilter remarketingValueAttributes: _list[RemarketingValueAttribute] - rotationType: typing_extensions.Literal[ + rotationType: typing.Literal[ "ROTATION_TYPE_UNKNOWN", "RANDOM", "OPTIMIZED", "WEIGHTED" ] - ruleType: typing_extensions.Literal[ + ruleType: typing.Literal[ "RULE_SET_TYPE_UNKNOWN", "OPEN", "AUTO", "CUSTOM", "PROXIMITY_TARGETING" ] weightFieldId: int @typing.type_check_only -class DynamicTargetingKey(typing_extensions.TypedDict, total=False): +class DynamicTargetingKey(typing.TypedDict, total=False): kind: str name: str objectId: str - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] @typing.type_check_only -class DynamicTargetingKeysListResponse(typing_extensions.TypedDict, total=False): +class DynamicTargetingKeysListResponse(typing.TypedDict, total=False): dynamicTargetingKeys: _list[DynamicTargetingKey] kind: str @typing.type_check_only -class Element(typing_extensions.TypedDict, total=False): +class Element(typing.TypedDict, total=False): activeFieldId: int createInfo: LastModifiedInfo defaultFieldId: int @@ -1697,9 +1677,9 @@ class Element(typing_extensions.TypedDict, total=False): startTimestampFieldId: int @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): encryptionEntityId: str - encryptionEntityType: typing_extensions.Literal[ + encryptionEntityType: typing.Literal[ "ENCRYPTION_ENTITY_TYPE_UNKNOWN", "DCM_ACCOUNT", "DCM_ADVERTISER", @@ -1708,13 +1688,13 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): "ADWORDS_CUSTOMER", "DFP_NETWORK_CODE", ] - encryptionSource: typing_extensions.Literal[ + encryptionSource: typing.Literal[ "ENCRYPTION_SCOPE_UNKNOWN", "AD_SERVING", "DATA_TRANSFER" ] kind: str @typing.type_check_only -class EventTag(typing_extensions.TypedDict, total=False): +class EventTag(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1725,12 +1705,12 @@ class EventTag(typing_extensions.TypedDict, total=False): id: str kind: str name: str - siteFilterType: typing_extensions.Literal["ALLOWLIST", "BLOCKLIST"] + siteFilterType: typing.Literal["ALLOWLIST", "BLOCKLIST"] siteIds: _list[str] sslCompliant: bool - status: typing_extensions.Literal["ENABLED", "DISABLED"] + status: typing.Literal["ENABLED", "DISABLED"] subaccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -1739,24 +1719,24 @@ class EventTag(typing_extensions.TypedDict, total=False): urlEscapeLevels: int @typing.type_check_only -class EventTagOverride(typing_extensions.TypedDict, total=False): +class EventTagOverride(typing.TypedDict, total=False): enabled: bool id: str @typing.type_check_only -class EventTagsListResponse(typing_extensions.TypedDict, total=False): +class EventTagsListResponse(typing.TypedDict, total=False): eventTags: _list[EventTag] kind: str @typing.type_check_only -class FeedField(typing_extensions.TypedDict, total=False): +class FeedField(typing.TypedDict, total=False): defaultValue: str filterable: bool id: int name: str renderable: bool required: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNKNOWN", "STRING", "LONG", @@ -1794,10 +1774,10 @@ class FeedField(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeedIngestionStatus(typing_extensions.TypedDict, total=False): +class FeedIngestionStatus(typing.TypedDict, total=False): ingestionErrorRecords: _list[IngestionErrorRecord] ingestionStatus: IngestionStatus - state: typing_extensions.Literal[ + state: typing.Literal[ "FEED_PROCESSING_STATE_UNKNOWN", "CANCELLED", "INGESTING_QUEUED", @@ -1811,7 +1791,7 @@ class FeedIngestionStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeedSchedule(typing_extensions.TypedDict, total=False): +class FeedSchedule(typing.TypedDict, total=False): repeatValue: str scheduleEnabled: bool startHour: str @@ -1819,11 +1799,11 @@ class FeedSchedule(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class FieldError(typing_extensions.TypedDict, total=False): +class FieldError(typing.TypedDict, total=False): fieldId: int fieldName: str fieldValues: _list[str] - ingestionError: typing_extensions.Literal[ + ingestionError: typing.Literal[ "UNKNOWN_PARSING_ERROR", "MISSING_ID", "MISSING_REPORTING_LABEL", @@ -1870,11 +1850,11 @@ class FieldError(typing_extensions.TypedDict, total=False): isError: bool @typing.type_check_only -class FieldFilter(typing_extensions.TypedDict, total=False): +class FieldFilter(typing.TypedDict, total=False): boolValue: bool dependentFieldValue: DependentFieldValue fieldId: int - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "LHS_MATCH_TYPE_UNKNOWN", "EQUALS_OR_UNRESTRICTED", "EQUALS", @@ -1883,61 +1863,61 @@ class FieldFilter(typing_extensions.TypedDict, total=False): ] requestValue: RequestValue stringValue: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "RHS_VALUE_TYPE_UNKNOWN", "STRING", "REQUEST", "BOOL", "DEPENDENT" ] @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): dateRange: DateRange etag: str fileName: str - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str reportId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "PROCESSING", "REPORT_AVAILABLE", "FAILED", "CANCELLED", "QUEUED" ] urls: dict[str, typing.Any] @typing.type_check_only -class FileList(typing_extensions.TypedDict, total=False): +class FileList(typing.TypedDict, total=False): etag: str items: _list[File] kind: str nextPageToken: str @typing.type_check_only -class Flight(typing_extensions.TypedDict, total=False): +class Flight(typing.TypedDict, total=False): endDate: str rateOrCost: str startDate: str units: str @typing.type_check_only -class FloodlightActivitiesGenerateTagResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesGenerateTagResponse(typing.TypedDict, total=False): floodlightActivityTag: str globalSiteTagGlobalSnippet: str kind: str @typing.type_check_only -class FloodlightActivitiesListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesListResponse(typing.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivity(typing_extensions.TypedDict, total=False): +class FloodlightActivity(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue attributionEnabled: bool - cacheBustingType: typing_extensions.Literal[ + cacheBustingType: typing.Literal[ "JAVASCRIPT", "ACTIVE_SERVER_PAGE", "JSP", "PHP", "COLD_FUSION" ] - countingMethod: typing_extensions.Literal[ + countingMethod: typing.Literal[ "STANDARD_COUNTING", "UNIQUE_COUNTING", "SESSION_COUNTING", @@ -1949,10 +1929,10 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): floodlightActivityGroupId: str floodlightActivityGroupName: str floodlightActivityGroupTagString: str - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] floodlightConfigurationId: str floodlightConfigurationIdDimensionValue: DimensionValue - floodlightTagType: typing_extensions.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] + floodlightTagType: typing.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] id: str idDimensionValue: DimensionValue kind: str @@ -1962,14 +1942,14 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): secure: bool sslCompliant: bool sslRequired: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "ARCHIVED_AND_DISABLED", "ARCHIVED", "DISABLED_POLICY" ] subaccountId: str - tagFormat: typing_extensions.Literal["HTML", "XHTML"] + tagFormat: typing.Literal["HTML", "XHTML"] tagString: str userDefinedVariableTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "U1", "U2", "U3", @@ -2074,13 +2054,13 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FloodlightActivityDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityDynamicTag(typing.TypedDict, total=False): id: str name: str tag: str @typing.type_check_only -class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -2092,16 +2072,16 @@ class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): name: str subaccountId: str tagString: str - type: typing_extensions.Literal["COUNTER", "SALE"] + type: typing.Literal["COUNTER", "SALE"] @typing.type_check_only -class FloodlightActivityGroupsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroupsListResponse(typing.TypedDict, total=False): floodlightActivityGroups: _list[FloodlightActivityGroup] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityPublisherDynamicTag(typing.TypedDict, total=False): clickThrough: bool directorySiteId: str dynamicTag: FloodlightActivityDynamicTag @@ -2110,20 +2090,20 @@ class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=F viewThrough: bool @typing.type_check_only -class FloodlightConfiguration(typing_extensions.TypedDict, total=False): +class FloodlightConfiguration(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue analyticsDataSharingEnabled: bool customViewabilityMetric: CustomViewabilityMetric exposureToConversionEnabled: bool - firstDayOfWeek: typing_extensions.Literal["SUNDAY", "MONDAY"] + firstDayOfWeek: typing.Literal["SUNDAY", "MONDAY"] id: str idDimensionValue: DimensionValue inAppAttributionTrackingEnabled: bool kind: str lookbackConfiguration: LookbackConfiguration - naturalSearchConversionAttributionOption: typing_extensions.Literal[ + naturalSearchConversionAttributionOption: typing.Literal[ "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION", @@ -2135,34 +2115,32 @@ class FloodlightConfiguration(typing_extensions.TypedDict, total=False): userDefinedVariableConfigurations: _list[UserDefinedVariableConfiguration] @typing.type_check_only -class FloodlightConfigurationsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightConfigurationsListResponse(typing.TypedDict, total=False): floodlightConfigurations: _list[FloodlightConfiguration] kind: str @typing.type_check_only -class FloodlightReportCompatibleFields(typing_extensions.TypedDict, total=False): +class FloodlightReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str metrics: _list[Metric] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): duration: str impressions: str @typing.type_check_only -class FsCommand(typing_extensions.TypedDict, total=False): +class FsCommand(typing.TypedDict, total=False): left: int - positionOption: typing_extensions.Literal[ - "CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER" - ] + positionOption: typing.Literal["CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER"] top: int windowHeight: int windowWidth: int @typing.type_check_only -class GeoTargeting(typing_extensions.TypedDict, total=False): +class GeoTargeting(typing.TypedDict, total=False): cities: _list[City] countries: _list[Country] excludeCountries: bool @@ -2171,12 +2149,12 @@ class GeoTargeting(typing_extensions.TypedDict, total=False): regions: _list[Region] @typing.type_check_only -class IngestionErrorRecord(typing_extensions.TypedDict, total=False): +class IngestionErrorRecord(typing.TypedDict, total=False): errors: _list[FieldError] recordId: str @typing.type_check_only -class IngestionStatus(typing_extensions.TypedDict, total=False): +class IngestionStatus(typing.TypedDict, total=False): numActiveRows: str numRowsProcessed: str numRowsTotal: str @@ -2184,7 +2162,7 @@ class IngestionStatus(typing_extensions.TypedDict, total=False): numWarningsTotal: str @typing.type_check_only -class InventoryItem(typing_extensions.TypedDict, total=False): +class InventoryItem(typing.TypedDict, total=False): accountId: str adSlots: _list[AdSlot] advertiserId: str @@ -2204,24 +2182,24 @@ class InventoryItem(typing_extensions.TypedDict, total=False): rfpId: str siteId: str subaccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PLANNING_PLACEMENT_TYPE_REGULAR", "PLANNING_PLACEMENT_TYPE_CREDIT" ] @typing.type_check_only -class InventoryItemsListResponse(typing_extensions.TypedDict, total=False): +class InventoryItemsListResponse(typing.TypedDict, total=False): inventoryItems: _list[InventoryItem] kind: str nextPageToken: str @typing.type_check_only -class Invoice(typing_extensions.TypedDict, total=False): +class Invoice(typing.TypedDict, total=False): campaign_summaries: _list[CampaignSummary] correctedInvoiceId: str currencyCode: str dueDate: str id: str - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" ] issueDate: str @@ -2238,11 +2216,11 @@ class Invoice(typing_extensions.TypedDict, total=False): totalTaxAmountMicros: str @typing.type_check_only -class KeyValueTargetingExpression(typing_extensions.TypedDict, total=False): +class KeyValueTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LandingPage(typing_extensions.TypedDict, total=False): +class LandingPage(typing.TypedDict, total=False): advertiserId: str archived: bool deepLinks: _list[DeepLink] @@ -2252,40 +2230,40 @@ class LandingPage(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Language(typing_extensions.TypedDict, total=False): +class Language(typing.TypedDict, total=False): id: str kind: str languageCode: str name: str @typing.type_check_only -class LanguageTargeting(typing_extensions.TypedDict, total=False): +class LanguageTargeting(typing.TypedDict, total=False): languages: _list[Language] @typing.type_check_only -class LanguagesListResponse(typing_extensions.TypedDict, total=False): +class LanguagesListResponse(typing.TypedDict, total=False): kind: str languages: _list[Language] @typing.type_check_only -class LastModifiedInfo(typing_extensions.TypedDict, total=False): +class LastModifiedInfo(typing.TypedDict, total=False): time: str @typing.type_check_only -class ListPopulationClause(typing_extensions.TypedDict, total=False): +class ListPopulationClause(typing.TypedDict, total=False): terms: _list[ListPopulationTerm] @typing.type_check_only -class ListPopulationRule(typing_extensions.TypedDict, total=False): +class ListPopulationRule(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityName: str listPopulationClauses: _list[ListPopulationClause] @typing.type_check_only -class ListPopulationTerm(typing_extensions.TypedDict, total=False): +class ListPopulationTerm(typing.TypedDict, total=False): contains: bool negation: bool - operator: typing_extensions.Literal[ + operator: typing.Literal[ "NUM_EQUALS", "NUM_LESS_THAN", "NUM_LESS_THAN_EQUAL", @@ -2295,7 +2273,7 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): "STRING_CONTAINS", ] remarketingListId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CUSTOM_VARIABLE_TERM", "LIST_MEMBERSHIP_TERM", "REFERRER_TERM" ] value: str @@ -2303,17 +2281,17 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): variableName: str @typing.type_check_only -class ListTargetingExpression(typing_extensions.TypedDict, total=False): +class ListTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LookbackConfiguration(typing_extensions.TypedDict, total=False): +class LookbackConfiguration(typing.TypedDict, total=False): clickDuration: int postImpressionActivitiesDuration: int @typing.type_check_only -class MeasurementPartnerAdvertiserLink(typing_extensions.TypedDict, total=False): - linkStatus: typing_extensions.Literal[ +class MeasurementPartnerAdvertiserLink(typing.TypedDict, total=False): + linkStatus: typing.Literal[ "MEASUREMENT_PARTNER_UNLINKED", "MEASUREMENT_PARTNER_LINKED", "MEASUREMENT_PARTNER_LINK_PENDING", @@ -2324,14 +2302,12 @@ class MeasurementPartnerAdvertiserLink(typing_extensions.TypedDict, total=False) "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", "MEASUREMENT_PARTNER_UNLINK_PENDING", ] - measurementPartner: typing_extensions.Literal[ - "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" - ] + measurementPartner: typing.Literal["NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY"] partnerAdvertiserId: str @typing.type_check_only -class MeasurementPartnerCampaignLink(typing_extensions.TypedDict, total=False): - linkStatus: typing_extensions.Literal[ +class MeasurementPartnerCampaignLink(typing.TypedDict, total=False): + linkStatus: typing.Literal[ "MEASUREMENT_PARTNER_UNLINKED", "MEASUREMENT_PARTNER_LINKED", "MEASUREMENT_PARTNER_LINK_PENDING", @@ -2342,14 +2318,12 @@ class MeasurementPartnerCampaignLink(typing_extensions.TypedDict, total=False): "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", "MEASUREMENT_PARTNER_UNLINK_PENDING", ] - measurementPartner: typing_extensions.Literal[ - "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" - ] + measurementPartner: typing.Literal["NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY"] partnerCampaignId: str @typing.type_check_only -class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): - linkStatus: typing_extensions.Literal[ +class MeasurementPartnerWrappingData(typing.TypedDict, total=False): + linkStatus: typing.Literal[ "MEASUREMENT_PARTNER_UNLINKED", "MEASUREMENT_PARTNER_LINKED", "MEASUREMENT_PARTNER_LINK_PENDING", @@ -2360,10 +2334,8 @@ class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", "MEASUREMENT_PARTNER_UNLINK_PENDING", ] - measurementPartner: typing_extensions.Literal[ - "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" - ] - tagWrappingMode: typing_extensions.Literal[ + measurementPartner: typing.Literal["NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY"] + tagWrappingMode: typing.Literal[ "NONE", "BLOCKING", "MONITORING", @@ -2384,12 +2356,12 @@ class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): wrappedTag: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class Metro(typing_extensions.TypedDict, total=False): +class Metro(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -2399,13 +2371,13 @@ class Metro(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MetrosListResponse(typing_extensions.TypedDict, total=False): +class MetrosListResponse(typing.TypedDict, total=False): kind: str metros: _list[Metro] @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): - directory: typing_extensions.Literal[ +class MobileApp(typing.TypedDict, total=False): + directory: typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE", @@ -2424,13 +2396,13 @@ class MobileApp(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class MobileAppsListResponse(typing_extensions.TypedDict, total=False): +class MobileAppsListResponse(typing.TypedDict, total=False): kind: str mobileApps: _list[MobileApp] nextPageToken: str @typing.type_check_only -class MobileCarrier(typing_extensions.TypedDict, total=False): +class MobileCarrier(typing.TypedDict, total=False): countryCode: str countryDartId: str id: str @@ -2438,12 +2410,12 @@ class MobileCarrier(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MobileCarriersListResponse(typing_extensions.TypedDict, total=False): +class MobileCarriersListResponse(typing.TypedDict, total=False): kind: str mobileCarriers: _list[MobileCarrier] @typing.type_check_only -class ObaIcon(typing_extensions.TypedDict, total=False): +class ObaIcon(typing.TypedDict, total=False): iconClickThroughUrl: str iconClickTrackingUrl: str iconViewTrackingUrl: str @@ -2454,13 +2426,13 @@ class ObaIcon(typing_extensions.TypedDict, total=False): yPosition: str @typing.type_check_only -class ObjectFilter(typing_extensions.TypedDict, total=False): +class ObjectFilter(typing.TypedDict, total=False): kind: str objectIds: _list[str] - status: typing_extensions.Literal["NONE", "ASSIGNED", "ALL"] + status: typing.Literal["NONE", "ASSIGNED", "ALL"] @typing.type_check_only -class OfflineUserAddressInfo(typing_extensions.TypedDict, total=False): +class OfflineUserAddressInfo(typing.TypedDict, total=False): city: str countryCode: str hashedFirstName: str @@ -2470,17 +2442,17 @@ class OfflineUserAddressInfo(typing_extensions.TypedDict, total=False): state: str @typing.type_check_only -class OffsetPosition(typing_extensions.TypedDict, total=False): +class OffsetPosition(typing.TypedDict, total=False): left: int top: int @typing.type_check_only -class OmnitureSettings(typing_extensions.TypedDict, total=False): +class OmnitureSettings(typing.TypedDict, total=False): omnitureCostDataEnabled: bool omnitureIntegrationEnabled: bool @typing.type_check_only -class OperatingSystem(typing_extensions.TypedDict, total=False): +class OperatingSystem(typing.TypedDict, total=False): dartId: str desktop: bool kind: str @@ -2488,7 +2460,7 @@ class OperatingSystem(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OperatingSystemVersion(typing_extensions.TypedDict, total=False): +class OperatingSystemVersion(typing.TypedDict, total=False): id: str kind: str majorVersion: str @@ -2497,23 +2469,23 @@ class OperatingSystemVersion(typing_extensions.TypedDict, total=False): operatingSystem: OperatingSystem @typing.type_check_only -class OperatingSystemVersionsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemVersionsListResponse(typing.TypedDict, total=False): kind: str operatingSystemVersions: _list[OperatingSystemVersion] @typing.type_check_only -class OperatingSystemsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemsListResponse(typing.TypedDict, total=False): kind: str operatingSystems: _list[OperatingSystem] @typing.type_check_only -class OptimizationActivity(typing_extensions.TypedDict, total=False): +class OptimizationActivity(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityIdDimensionValue: DimensionValue weight: int @typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): +class Order(typing.TypedDict, total=False): accountId: str advertiserId: str approverUserProfileIds: _list[str] @@ -2536,11 +2508,11 @@ class Order(typing_extensions.TypedDict, total=False): termsAndConditions: str @typing.type_check_only -class OrderContact(typing_extensions.TypedDict, total=False): +class OrderContact(typing.TypedDict, total=False): contactInfo: str contactName: str contactTitle: str - contactType: typing_extensions.Literal[ + contactType: typing.Literal[ "PLANNING_ORDER_CONTACT_BUYER_CONTACT", "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT", "PLANNING_ORDER_CONTACT_SELLER_CONTACT", @@ -2548,13 +2520,13 @@ class OrderContact(typing_extensions.TypedDict, total=False): signatureUserProfileId: str @typing.type_check_only -class OrdersListResponse(typing_extensions.TypedDict, total=False): +class OrdersListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str orders: _list[Order] @typing.type_check_only -class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total=False): +class PathToConversionReportCompatibleFields(typing.TypedDict, total=False): conversionDimensions: _list[Dimension] customFloodlightVariables: _list[Dimension] kind: str @@ -2562,9 +2534,9 @@ class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total= perInteractionDimensions: _list[Dimension] @typing.type_check_only -class Placement(typing_extensions.TypedDict, total=False): +class Placement(typing.TypedDict, total=False): accountId: str - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -2580,7 +2552,7 @@ class Placement(typing_extensions.TypedDict, total=False): campaignId: str campaignIdDimensionValue: DimensionValue comment: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -2603,9 +2575,7 @@ class Placement(typing_extensions.TypedDict, total=False): name: str partnerWrappingData: MeasurementPartnerWrappingData paymentApproved: bool - paymentSource: typing_extensions.Literal[ - "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" - ] + paymentSource: typing.Literal["PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID"] placementGroupId: str placementGroupIdDimensionValue: DimensionValue placementStrategyId: str @@ -2617,7 +2587,7 @@ class Placement(typing_extensions.TypedDict, total=False): siteServed: bool size: Size sslRequired: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "PENDING_REVIEW", "PAYMENT_ACCEPTED", "PAYMENT_REJECTED", @@ -2627,7 +2597,7 @@ class Placement(typing_extensions.TypedDict, total=False): ] subaccountId: str tagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -2653,25 +2623,25 @@ class Placement(typing_extensions.TypedDict, total=False): tagSetting: TagSetting videoActiveViewOptOut: bool videoSettings: VideoSettings - vpaidAdapterChoice: typing_extensions.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] + vpaidAdapterChoice: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] wrappingOptOut: bool youtubeSettings: YoutubeSettings @typing.type_check_only -class PlacementAssignment(typing_extensions.TypedDict, total=False): +class PlacementAssignment(typing.TypedDict, total=False): active: bool placementId: str placementIdDimensionValue: DimensionValue sslRequired: bool @typing.type_check_only -class PlacementConversionDomainOverride(typing_extensions.TypedDict, total=False): +class PlacementConversionDomainOverride(typing.TypedDict, total=False): conversionDomains: _list[PlacementSingleConversionDomain] @typing.type_check_only -class PlacementGroup(typing_extensions.TypedDict, total=False): +class PlacementGroup(typing.TypedDict, total=False): accountId: str - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -2694,9 +2664,7 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): kind: str lastModifiedInfo: LastModifiedInfo name: str - placementGroupType: typing_extensions.Literal[ - "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" - ] + placementGroupType: typing.Literal["PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK"] placementStrategyId: str pricingSchedule: PricingSchedule primaryPlacementId: str @@ -2706,61 +2674,61 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class PlacementGroupsListResponse(typing_extensions.TypedDict, total=False): +class PlacementGroupsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementGroups: _list[PlacementGroup] @typing.type_check_only -class PlacementSingleConversionDomain(typing_extensions.TypedDict, total=False): +class PlacementSingleConversionDomain(typing.TypedDict, total=False): conversionDomainId: str conversionDomainValue: str @typing.type_check_only -class PlacementStrategiesListResponse(typing_extensions.TypedDict, total=False): +class PlacementStrategiesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementStrategies: _list[PlacementStrategy] @typing.type_check_only -class PlacementStrategy(typing_extensions.TypedDict, total=False): +class PlacementStrategy(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class PlacementTag(typing_extensions.TypedDict, total=False): +class PlacementTag(typing.TypedDict, total=False): placementId: str tagDatas: _list[TagData] @typing.type_check_only -class PlacementsGenerateTagsResponse(typing_extensions.TypedDict, total=False): +class PlacementsGenerateTagsResponse(typing.TypedDict, total=False): kind: str placementTags: _list[PlacementTag] @typing.type_check_only -class PlacementsListResponse(typing_extensions.TypedDict, total=False): +class PlacementsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placements: _list[Placement] @typing.type_check_only -class PlatformType(typing_extensions.TypedDict, total=False): +class PlatformType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class PlatformTypesListResponse(typing_extensions.TypedDict, total=False): +class PlatformTypesListResponse(typing.TypedDict, total=False): kind: str platformTypes: _list[PlatformType] @typing.type_check_only -class PopupWindowProperties(typing_extensions.TypedDict, total=False): +class PopupWindowProperties(typing.TypedDict, total=False): dimension: Size offset: OffsetPosition - positionType: typing_extensions.Literal["CENTER", "COORDINATES"] + positionType: typing.Literal["CENTER", "COORDINATES"] showAddressBar: bool showMenuBar: bool showScrollBar: bool @@ -2769,7 +2737,7 @@ class PopupWindowProperties(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PostalCode(typing_extensions.TypedDict, total=False): +class PostalCode(typing.TypedDict, total=False): code: str countryCode: str countryDartId: str @@ -2777,24 +2745,24 @@ class PostalCode(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class PostalCodesListResponse(typing_extensions.TypedDict, total=False): +class PostalCodesListResponse(typing.TypedDict, total=False): kind: str postalCodes: _list[PostalCode] @typing.type_check_only -class Pricing(typing_extensions.TypedDict, total=False): - capCostType: typing_extensions.Literal[ +class Pricing(typing.TypedDict, total=False): + capCostType: typing.Literal[ "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE", "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY", "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE", ] endDate: str flights: _list[Flight] - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE", "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK", ] - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS", "PLANNING_PLACEMENT_PRICING_TYPE_CPM", "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS", @@ -2807,15 +2775,15 @@ class Pricing(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class PricingSchedule(typing_extensions.TypedDict, total=False): - capCostOption: typing_extensions.Literal[ +class PricingSchedule(typing.TypedDict, total=False): + capCostOption: typing.Literal[ "CAP_COST_NONE", "CAP_COST_MONTHLY", "CAP_COST_CUMULATIVE" ] endDate: str flighted: bool floodlightActivityId: str pricingPeriods: _list[PricingSchedulePricingPeriod] - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -2827,7 +2795,7 @@ class PricingSchedule(typing_extensions.TypedDict, total=False): testingStartDate: str @typing.type_check_only -class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): +class PricingSchedulePricingPeriod(typing.TypedDict, total=False): endDate: str pricingComment: str rateOrCostNanos: str @@ -2835,10 +2803,10 @@ class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): units: str @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): accountId: str advertiserId: str - audienceAgeGroup: typing_extensions.Literal[ + audienceAgeGroup: typing.Literal[ "PLANNING_AUDIENCE_AGE_18_24", "PLANNING_AUDIENCE_AGE_25_34", "PLANNING_AUDIENCE_AGE_35_44", @@ -2847,7 +2815,7 @@ class Project(typing_extensions.TypedDict, total=False): "PLANNING_AUDIENCE_AGE_65_OR_MORE", "PLANNING_AUDIENCE_AGE_UNKNOWN", ] - audienceGender: typing_extensions.Literal[ + audienceGender: typing.Literal[ "PLANNING_AUDIENCE_GENDER_MALE", "PLANNING_AUDIENCE_GENDER_FEMALE" ] budget: str @@ -2870,15 +2838,15 @@ class Project(typing_extensions.TypedDict, total=False): targetImpressions: str @typing.type_check_only -class ProjectsListResponse(typing_extensions.TypedDict, total=False): +class ProjectsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str projects: _list[Project] @typing.type_check_only -class ProximityFilter(typing_extensions.TypedDict, total=False): +class ProximityFilter(typing.TypedDict, total=False): fieldId: int - radiusBucketType: typing_extensions.Literal[ + radiusBucketType: typing.Literal[ "RADIUS_BUCKET_TYPE_UNKNOWN", "SMALL", "MEDIUM", @@ -2886,13 +2854,11 @@ class ProximityFilter(typing_extensions.TypedDict, total=False): "MULTI_REGIONAL", "NATIONAL", ] - radiusUnitType: typing_extensions.Literal[ - "RADIUS_UNIT_TYPE_UNKNOWN", "KILOMETERS", "MILES" - ] + radiusUnitType: typing.Literal["RADIUS_UNIT_TYPE_UNKNOWN", "KILOMETERS", "MILES"] radiusValue: int @typing.type_check_only -class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReachReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2901,13 +2867,13 @@ class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): reachByFrequencyMetrics: _list[Metric] @typing.type_check_only -class Recipient(typing_extensions.TypedDict, total=False): - deliveryType: typing_extensions.Literal["LINK", "ATTACHMENT"] +class Recipient(typing.TypedDict, total=False): + deliveryType: typing.Literal["LINK", "ATTACHMENT"] email: str kind: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -2916,12 +2882,12 @@ class Region(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class RegionsListResponse(typing_extensions.TypedDict, total=False): +class RegionsListResponse(typing.TypedDict, total=False): kind: str regions: _list[Region] @typing.type_check_only -class RemarketingList(typing_extensions.TypedDict, total=False): +class RemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -2932,7 +2898,7 @@ class RemarketingList(typing_extensions.TypedDict, total=False): lifeSpan: str listPopulationRule: ListPopulationRule listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -2949,25 +2915,25 @@ class RemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class RemarketingListShare(typing_extensions.TypedDict, total=False): +class RemarketingListShare(typing.TypedDict, total=False): kind: str remarketingListId: str sharedAccountIds: _list[str] sharedAdvertiserIds: _list[str] @typing.type_check_only -class RemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class RemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str remarketingLists: _list[RemarketingList] @typing.type_check_only -class RemarketingValueAttribute(typing_extensions.TypedDict, total=False): +class RemarketingValueAttribute(typing.TypedDict, total=False): fieldId: int userAttributeIds: _list[str] @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): accountId: str criteria: dict[str, typing.Any] crossDimensionReachCriteria: dict[str, typing.Any] @@ -2976,7 +2942,7 @@ class Report(typing_extensions.TypedDict, total=False): etag: str fileName: str floodlightCriteria: dict[str, typing.Any] - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str @@ -2986,7 +2952,7 @@ class Report(typing_extensions.TypedDict, total=False): reachCriteria: dict[str, typing.Any] schedule: dict[str, typing.Any] subAccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "STANDARD", "REACH", "PATH_TO_CONVERSION", @@ -2996,7 +2962,7 @@ class Report(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -3004,42 +2970,42 @@ class ReportCompatibleFields(typing_extensions.TypedDict, total=False): pivotedActivityMetrics: _list[Metric] @typing.type_check_only -class ReportList(typing_extensions.TypedDict, total=False): +class ReportList(typing.TypedDict, total=False): etag: str items: _list[Report] kind: str nextPageToken: str @typing.type_check_only -class ReportsConfiguration(typing_extensions.TypedDict, total=False): +class ReportsConfiguration(typing.TypedDict, total=False): exposureToConversionEnabled: bool lookbackConfiguration: LookbackConfiguration reportGenerationTimeZoneId: str @typing.type_check_only -class RequestValue(typing_extensions.TypedDict, total=False): +class RequestValue(typing.TypedDict, total=False): excludeFromUserAttributeIds: _list[str] key: str userAttributeIds: _list[str] @typing.type_check_only -class RichMediaExitOverride(typing_extensions.TypedDict, total=False): +class RichMediaExitOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl enabled: bool exitId: str @typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): +class Rule(typing.TypedDict, total=False): assetId: str name: str targetingTemplateId: str @typing.type_check_only -class RuleBlock(typing_extensions.TypedDict, total=False): +class RuleBlock(typing.TypedDict, total=False): fieldFilter: _list[FieldFilter] @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): accountId: str adServingPlatformId: str approved: bool @@ -3056,16 +3022,16 @@ class Site(typing_extensions.TypedDict, total=False): videoSettings: SiteVideoSettings @typing.type_check_only -class SiteCompanionSetting(typing_extensions.TypedDict, total=False): +class SiteCompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class SiteContact(typing_extensions.TypedDict, total=False): +class SiteContact(typing.TypedDict, total=False): address: str - contactType: typing_extensions.Literal["SALES_PERSON", "TRAFFICKER"] + contactType: typing.Literal["SALES_PERSON", "TRAFFICKER"] email: str firstName: str id: str @@ -3074,47 +3040,45 @@ class SiteContact(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class SiteSettings(typing_extensions.TypedDict, total=False): +class SiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool adBlockingOptOut: bool disableNewCookie: bool tagSetting: TagSetting videoActiveViewOptOutTemplate: bool - vpaidAdapterChoiceTemplate: typing_extensions.Literal[ - "DEFAULT", "FLASH", "HTML5", "BOTH" - ] + vpaidAdapterChoiceTemplate: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] @typing.type_check_only -class SiteSkippableSetting(typing_extensions.TypedDict, total=False): +class SiteSkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SiteTranscodeSetting(typing_extensions.TypedDict, total=False): +class SiteTranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class SiteVideoSettings(typing_extensions.TypedDict, total=False): +class SiteVideoSettings(typing.TypedDict, total=False): companionSettings: SiteCompanionSetting kind: str obaEnabled: bool obaSettings: ObaIcon - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] publisherSpecificationId: str skippableSettings: SiteSkippableSetting transcodeSettings: SiteTranscodeSetting @typing.type_check_only -class SitesListResponse(typing_extensions.TypedDict, total=False): +class SitesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str sites: _list[Site] @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: int iab: bool id: str @@ -3122,37 +3086,37 @@ class Size(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class SizesListResponse(typing_extensions.TypedDict, total=False): +class SizesListResponse(typing.TypedDict, total=False): kind: str sizes: _list[Size] @typing.type_check_only -class SkippableSetting(typing_extensions.TypedDict, total=False): +class SkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SortedDimension(typing_extensions.TypedDict, total=False): +class SortedDimension(typing.TypedDict, total=False): kind: str name: str - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] @typing.type_check_only -class StudioCreative(typing_extensions.TypedDict, total=False): +class StudioCreative(typing.TypedDict, total=False): assetIds: _list[str] backupImageAssetId: str createdInfo: LastModifiedInfo dimension: StudioCreativeDimension dynamicProfileId: str - format: typing_extensions.Literal[ + format: typing.Literal[ "UNKNOWN", "BANNER", "EXPANDING", "INTERSTITIAL", "VPAID_LINEAR_VIDEO" ] id: str lastModifiedInfo: LastModifiedInfo name: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNKNOWN_STATUS", "IN_DEVELOPMENT", "PUBLISHED", @@ -3165,7 +3129,7 @@ class StudioCreative(typing_extensions.TypedDict, total=False): studioCampaignId: str @typing.type_check_only -class StudioCreativeAsset(typing_extensions.TypedDict, total=False): +class StudioCreativeAsset(typing.TypedDict, total=False): createInfo: LastModifiedInfo filename: str filesize: str @@ -3174,20 +3138,20 @@ class StudioCreativeAsset(typing_extensions.TypedDict, total=False): studioAccountId: str studioAdvertiserId: str studioCreativeId: str - type: typing_extensions.Literal["UNKNOWN_TYPE", "HTML", "VIDEO", "IMAGE", "FONT"] + type: typing.Literal["UNKNOWN_TYPE", "HTML", "VIDEO", "IMAGE", "FONT"] videoProcessingData: VideoProcessingData @typing.type_check_only -class StudioCreativeAssetsResponse(typing_extensions.TypedDict, total=False): +class StudioCreativeAssetsResponse(typing.TypedDict, total=False): assets: _list[StudioCreativeAsset] @typing.type_check_only -class StudioCreativeDimension(typing_extensions.TypedDict, total=False): +class StudioCreativeDimension(typing.TypedDict, total=False): height: int width: int @typing.type_check_only -class Subaccount(typing_extensions.TypedDict, total=False): +class Subaccount(typing.TypedDict, total=False): accountId: str availablePermissionIds: _list[str] id: str @@ -3195,17 +3159,17 @@ class Subaccount(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SubaccountsListResponse(typing_extensions.TypedDict, total=False): +class SubaccountsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str subaccounts: _list[Subaccount] @typing.type_check_only -class TagData(typing_extensions.TypedDict, total=False): +class TagData(typing.TypedDict, total=False): adId: str clickTag: str creativeId: str - format: typing_extensions.Literal[ + format: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -3230,31 +3194,29 @@ class TagData(typing_extensions.TypedDict, total=False): impressionTag: str @typing.type_check_only -class TagSetting(typing_extensions.TypedDict, total=False): +class TagSetting(typing.TypedDict, total=False): additionalKeyValues: str includeClickThroughUrls: bool includeClickTracking: bool includeUnescapedlpurlMacro: bool - keywordOption: typing_extensions.Literal[ + keywordOption: typing.Literal[ "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", "IGNORE", "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD", ] @typing.type_check_only -class TagSettings(typing_extensions.TypedDict, total=False): +class TagSettings(typing.TypedDict, total=False): dynamicTagEnabled: bool imageTagEnabled: bool @typing.type_check_only -class TargetWindow(typing_extensions.TypedDict, total=False): +class TargetWindow(typing.TypedDict, total=False): customHtml: str - targetWindowOption: typing_extensions.Literal[ - "NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM" - ] + targetWindowOption: typing.Literal["NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM"] @typing.type_check_only -class TargetableRemarketingList(typing_extensions.TypedDict, total=False): +class TargetableRemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -3264,7 +3226,7 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): kind: str lifeSpan: str listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -3281,13 +3243,13 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class TargetableRemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class TargetableRemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetableRemarketingLists: _list[TargetableRemarketingList] @typing.type_check_only -class TargetingTemplate(typing_extensions.TypedDict, total=False): +class TargetingTemplate(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -3304,13 +3266,13 @@ class TargetingTemplate(typing_extensions.TypedDict, total=False): technologyTargeting: TechnologyTargeting @typing.type_check_only -class TargetingTemplatesListResponse(typing_extensions.TypedDict, total=False): +class TargetingTemplatesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetingTemplates: _list[TargetingTemplate] @typing.type_check_only -class TechnologyTargeting(typing_extensions.TypedDict, total=False): +class TechnologyTargeting(typing.TypedDict, total=False): browsers: _list[Browser] connectionTypes: _list[ConnectionType] mobileCarriers: _list[MobileCarrier] @@ -3319,13 +3281,13 @@ class TechnologyTargeting(typing_extensions.TypedDict, total=False): platformTypes: _list[PlatformType] @typing.type_check_only -class ThirdPartyAuthenticationToken(typing_extensions.TypedDict, total=False): +class ThirdPartyAuthenticationToken(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): - thirdPartyUrlType: typing_extensions.Literal[ +class ThirdPartyTrackingUrl(typing.TypedDict, total=False): + thirdPartyUrlType: typing.Literal[ "IMPRESSION", "CLICK_TRACKING", "VIDEO_START", @@ -3349,23 +3311,23 @@ class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class TranscodeSetting(typing_extensions.TypedDict, total=False): +class TranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class TvCampaignDetail(typing_extensions.TypedDict, total=False): +class TvCampaignDetail(typing.TypedDict, total=False): id: str kind: str timepoints: _list[TvCampaignTimepoint] @typing.type_check_only -class TvCampaignSummariesListResponse(typing_extensions.TypedDict, total=False): +class TvCampaignSummariesListResponse(typing.TypedDict, total=False): kind: str tvCampaignSummaries: _list[TvCampaignSummary] @typing.type_check_only -class TvCampaignSummary(typing_extensions.TypedDict, total=False): +class TvCampaignSummary(typing.TypedDict, total=False): endDate: str grp: str id: str @@ -3374,13 +3336,13 @@ class TvCampaignSummary(typing_extensions.TypedDict, total=False): name: str spend: float startDate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CAMPAIGN_COMPONENT_TYPE_UNSPECIFIED", "COMPANY", "BRAND", "PRODUCT", "CAMPAIGN" ] @typing.type_check_only -class TvCampaignTimepoint(typing_extensions.TypedDict, total=False): - dateWindow: typing_extensions.Literal[ +class TvCampaignTimepoint(typing.TypedDict, total=False): + dateWindow: typing.Literal[ "WEEKS_UNSPECIFIED", "DAYS_ONE", "WEEKS_ONE", @@ -3392,17 +3354,17 @@ class TvCampaignTimepoint(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): - registry: typing_extensions.Literal[ +class UniversalAdId(typing.TypedDict, total=False): + registry: typing.Literal[ "OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM", "ARPP", "CUSV" ] value: str @typing.type_check_only -class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal["STRING", "NUMBER"] +class UserDefinedVariableConfiguration(typing.TypedDict, total=False): + dataType: typing.Literal["STRING", "NUMBER"] reportName: str - variableType: typing_extensions.Literal[ + variableType: typing.Literal[ "U1", "U2", "U3", @@ -3506,13 +3468,13 @@ class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class UserIdentifier(typing_extensions.TypedDict, total=False): +class UserIdentifier(typing.TypedDict, total=False): addressInfo: OfflineUserAddressInfo hashedEmail: str hashedPhoneNumber: str @typing.type_check_only -class UserProfile(typing_extensions.TypedDict, total=False): +class UserProfile(typing.TypedDict, total=False): accountId: str accountName: str etag: str @@ -3523,13 +3485,13 @@ class UserProfile(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class UserProfileList(typing_extensions.TypedDict, total=False): +class UserProfileList(typing.TypedDict, total=False): etag: str items: _list[UserProfile] kind: str @typing.type_check_only -class UserRole(typing_extensions.TypedDict, total=False): +class UserRole(typing.TypedDict, total=False): accountId: str defaultUserRole: bool id: str @@ -3540,8 +3502,8 @@ class UserRole(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class UserRolePermission(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class UserRolePermission(typing.TypedDict, total=False): + availability: typing.Literal[ "NOT_AVAILABLE_BY_DEFAULT", "ACCOUNT_BY_DEFAULT", "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", @@ -3555,70 +3517,68 @@ class UserRolePermission(typing_extensions.TypedDict, total=False): permissionGroupId: str @typing.type_check_only -class UserRolePermissionGroup(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class UserRolePermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroupsListResponse(typing.TypedDict, total=False): kind: str userRolePermissionGroups: _list[UserRolePermissionGroup] @typing.type_check_only -class UserRolePermissionsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionsListResponse(typing.TypedDict, total=False): kind: str userRolePermissions: _list[UserRolePermission] @typing.type_check_only -class UserRolesListResponse(typing_extensions.TypedDict, total=False): +class UserRolesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str userRoles: _list[UserRole] @typing.type_check_only -class VideoFormat(typing_extensions.TypedDict, total=False): - fileType: typing_extensions.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] +class VideoFormat(typing.TypedDict, total=False): + fileType: typing.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] id: int kind: str resolution: Size targetBitRate: int @typing.type_check_only -class VideoFormatsListResponse(typing_extensions.TypedDict, total=False): +class VideoFormatsListResponse(typing.TypedDict, total=False): kind: str videoFormats: _list[VideoFormat] @typing.type_check_only -class VideoOffset(typing_extensions.TypedDict, total=False): +class VideoOffset(typing.TypedDict, total=False): offsetPercentage: int offsetSeconds: int @typing.type_check_only -class VideoProcessingData(typing_extensions.TypedDict, total=False): +class VideoProcessingData(typing.TypedDict, total=False): errorReason: str - processingState: typing_extensions.Literal[ - "UNKNOWN", "PROCESSING", "SUCCEEDED", "FAILED" - ] + processingState: typing.Literal["UNKNOWN", "PROCESSING", "SUCCEEDED", "FAILED"] @typing.type_check_only -class VideoSettings(typing_extensions.TypedDict, total=False): +class VideoSettings(typing.TypedDict, total=False): companionSettings: CompanionSetting durationSeconds: int kind: str obaEnabled: bool obaSettings: ObaIcon - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] publisherSpecificationId: str skippableSettings: SkippableSetting transcodeSettings: TranscodeSetting @typing.type_check_only -class YoutubeSettings(typing_extensions.TypedDict, total=False): +class YoutubeSettings(typing.TypedDict, total=False): businessLogoCreativeIds: _list[str] businessName: str callToActions: _list[ - typing_extensions.Literal[ + typing.Literal[ "CALL_TO_ACTION_UNKNOWN", "CALL_TO_ACTION_LEARN_MORE", "CALL_TO_ACTION_GET_QUOTE", diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi index 395aa4458..a3b97a1d1 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -54,9 +53,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., userRoleId: str | None = ..., **kwargs: typing.Any, @@ -92,9 +90,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AccountsListResponseHttpRequest: ... def list_next( @@ -126,7 +123,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): archived: bool | None = ..., audienceSegmentIds: str | _list[str] | None = ..., campaignIds: str | _list[str] | None = ..., - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -147,12 +144,11 @@ class DfareportingResource(googleapiclient.discovery.Resource): remarketingListIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., sslCompliant: bool | None = ..., sslRequired: bool | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -160,7 +156,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "AD_SERVING_BRAND_SAFE_AD", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -202,9 +198,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> AdvertiserGroupsListResponseHttpRequest: ... def list_next( @@ -261,9 +256,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertiserLandingPagesListResponseHttpRequest: ... @@ -299,10 +293,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): onlyParent: bool | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + status: typing.Literal["APPROVED", "ON_HOLD"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> AdvertisersListResponseHttpRequest: ... @@ -347,11 +340,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): name: str | None = ..., onlySuggestion: bool | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - status: typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] - | _list[typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"]] + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + status: typing.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] + | _list[typing.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"]] | None = ..., subaccountIds: str | _list[str] | None = ..., **kwargs: typing.Any, @@ -394,8 +386,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CampaignCreativeAssociationsListResponseHttpRequest: ... def list_next( @@ -426,9 +417,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): overriddenEventTagId: str | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> CampaignsListResponseHttpRequest: ... @@ -453,7 +443,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - action: typing_extensions.Literal[ + action: typing.Literal[ "ACTION_CREATE", "ACTION_UPDATE", "ACTION_DELETE", @@ -478,7 +468,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., minChangeTime: str | None = ..., objectIds: str | _list[str] | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_FLOODLIGHT_CONFIGURATION", "OBJECT_AD", @@ -576,9 +566,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ContentCategoriesListResponseHttpRequest: ... def list_next( @@ -660,9 +649,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "VALUE"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "VALUE"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldValuesListResponseHttpRequest: ... def list_next( @@ -708,9 +696,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeFieldsListResponseHttpRequest: ... def list_next( @@ -743,9 +730,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> CreativeGroupsListResponseHttpRequest: ... def list_next( @@ -784,11 +770,10 @@ class DfareportingResource(googleapiclient.discovery.Resource): renderingIds: str | _list[str] | None = ..., searchString: str | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., studioCreativeId: str | None = ..., - types: typing_extensions.Literal[ + types: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -816,7 +801,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "INSTREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -897,9 +882,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> DirectorySitesListResponseHttpRequest: ... def list_next( @@ -949,7 +933,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, objectId: str, name: str, - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ], **kwargs: typing.Any, @@ -964,7 +948,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): advertiserId: str | None = ..., names: str | _list[str] | None = ..., objectId: str | None = ..., - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] | None = ..., @@ -991,13 +975,13 @@ class DfareportingResource(googleapiclient.discovery.Resource): campaignId: str | None = ..., definitionsOnly: bool | None = ..., enabled: bool | None = ..., - eventTagTypes: typing_extensions.Literal[ + eventTagTypes: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -1006,9 +990,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., ids: str | _list[str] | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> EventTagsListResponseHttpRequest: ... def patch( @@ -1032,12 +1015,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE", "SHARED_WITH_ME"] - | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE", "SHARED_WITH_ME"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -1070,16 +1050,14 @@ class DfareportingResource(googleapiclient.discovery.Resource): floodlightActivityGroupIds: str | _list[str] | None = ..., floodlightActivityGroupName: str | None = ..., floodlightActivityGroupTagString: str | None = ..., - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] - | None = ..., + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] | None = ..., floodlightConfigurationId: str | None = ..., ids: str | _list[str] | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., tagString: str | None = ..., **kwargs: typing.Any, ) -> FloodlightActivitiesListResponseHttpRequest: ... @@ -1118,10 +1096,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., - type: typing_extensions.Literal["COUNTER", "SALE"] | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., + type: typing.Literal["COUNTER", "SALE"] | None = ..., **kwargs: typing.Any, ) -> FloodlightActivityGroupsListResponseHttpRequest: ... def list_next( @@ -1186,7 +1163,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - directories: typing_extensions.Literal[ + directories: typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE", @@ -1200,7 +1177,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "GENERIC_CTV_APP_STORE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE", @@ -1266,7 +1243,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1274,7 +1251,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1294,12 +1271,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - placementGroupType: typing_extensions.Literal[ + placementGroupType: typing.Literal[ "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1308,7 +1285,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1320,9 +1297,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., searchString: str | None = ..., siteIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementGroupsListResponseHttpRequest: ... def list_next( @@ -1356,9 +1332,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementStrategiesListResponseHttpRequest: ... def list_next( @@ -1386,7 +1361,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, campaignId: str | None = ..., placementIds: str | _list[str] | None = ..., - tagFormats: typing_extensions.Literal[ + tagFormats: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1409,7 +1384,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -1448,7 +1423,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1456,7 +1431,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -1467,7 +1442,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): | None = ..., advertiserIds: str | _list[str] | None = ..., campaignIds: str | _list[str] | None = ..., - compatibilities: typing_extensions.Literal[ + compatibilities: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1476,7 +1451,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "IN_STREAM_AUDIO", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -1496,12 +1471,12 @@ class DfareportingResource(googleapiclient.discovery.Resource): minEndDate: str | None = ..., minStartDate: str | None = ..., pageToken: str | None = ..., - paymentSource: typing_extensions.Literal[ + paymentSource: typing.Literal[ "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" ] | None = ..., placementStrategyIds: str | _list[str] | None = ..., - pricingTypes: typing_extensions.Literal[ + pricingTypes: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1510,7 +1485,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): "PRICING_TYPE_CPM_ACTIVEVIEW", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -1523,9 +1498,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): searchString: str | None = ..., siteIds: str | _list[str] | None = ..., sizeIds: str | _list[str] | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> PlacementsListResponseHttpRequest: ... def list_next( @@ -1599,9 +1573,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> RemarketingListsListResponseHttpRequest: ... def list_next( @@ -1621,6 +1594,17 @@ class DfareportingResource(googleapiclient.discovery.Resource): self, *, profileId: str, body: RemarketingList, **kwargs: typing.Any ) -> RemarketingListHttpRequest: ... + @typing.type_check_only + class ReportDataResource(googleapiclient.discovery.Resource): + def query( + self, *, profileId: str, body: ReportDataQueryRequest, **kwargs: typing.Any + ) -> ReportDataResponseHttpRequest: ... + def query_next( + self, + previous_request: ReportDataResponseHttpRequest, + previous_response: ReportDataResponse, + ) -> ReportDataResponseHttpRequest | None: ... + @typing.type_check_only class ReportsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1654,10 +1638,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): reportId: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> FileListHttpRequest: ... def list_next( @@ -1679,11 +1661,9 @@ class DfareportingResource(googleapiclient.discovery.Resource): profileId: str, maxResults: int | None = ..., pageToken: str | None = ..., - scope: typing_extensions.Literal["ALL", "MINE"] | None = ..., - sortField: typing_extensions.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] - | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + scope: typing.Literal["ALL", "MINE"] | None = ..., + sortField: typing.Literal["ID", "LAST_MODIFIED_TIME", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> ReportListHttpRequest: ... def list_next( @@ -1726,9 +1706,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., unmappedSite: bool | None = ..., **kwargs: typing.Any, @@ -1801,9 +1780,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> SubaccountsListResponseHttpRequest: ... def list_next( @@ -1832,9 +1810,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., name: str | None = ..., pageToken: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetableRemarketingListsListResponseHttpRequest: ... def list_next( @@ -1860,9 +1837,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., **kwargs: typing.Any, ) -> TargetingTemplatesListResponseHttpRequest: ... def list_next( @@ -1891,7 +1867,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): id: str, accountId: str | None = ..., countryDartId: str | None = ..., - tvDataProvider: typing_extensions.Literal[ + tvDataProvider: typing.Literal[ "INVALID_TV_DATA_PROVIDER", "INTAGE_JP", "IBOPE_AR", @@ -1916,7 +1892,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): accountId: str | None = ..., countryDartId: str | None = ..., name: str | None = ..., - tvDataProvider: typing_extensions.Literal[ + tvDataProvider: typing.Literal[ "INVALID_TV_DATA_PROVIDER", "INTAGE_JP", "IBOPE_AR", @@ -1981,9 +1957,8 @@ class DfareportingResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., searchString: str | None = ..., - sortField: typing_extensions.Literal["ID", "NAME"] | None = ..., - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] - | None = ..., + sortField: typing.Literal["ID", "NAME"] | None = ..., + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] | None = ..., subaccountId: str | None = ..., **kwargs: typing.Any, ) -> UserRolesListResponseHttpRequest: ... @@ -2071,6 +2046,7 @@ class DfareportingResource(googleapiclient.discovery.Resource): def regions(self) -> RegionsResource: ... def remarketingListShares(self) -> RemarketingListSharesResource: ... def remarketingLists(self) -> RemarketingListsResource: ... + def reportData(self) -> ReportDataResource: ... def reports(self) -> ReportsResource: ... def sites(self) -> SitesResource: ... def sizes(self) -> SizesResource: ... @@ -2843,6 +2819,14 @@ class ReportHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Report: ... +@typing.type_check_only +class ReportDataResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReportDataResponse: ... + @typing.type_check_only class ReportListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi index a48c3aa93..f8f161df9 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountPermissionIds: _list[str] - accountProfile: typing_extensions.Literal[ - "ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD" - ] + accountProfile: typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] active: bool - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -38,10 +34,10 @@ class Account(typing_extensions.TypedDict, total=False): teaserSizeLimit: str @typing.type_check_only -class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): +class AccountActiveAdSummary(typing.TypedDict, total=False): accountId: str activeAds: str - activeAdsLimitTier: typing_extensions.Literal[ + activeAdsLimitTier: typing.Literal[ "ACTIVE_ADS_TIER_40K", "ACTIVE_ADS_TIER_75K", "ACTIVE_ADS_TIER_100K", @@ -55,34 +51,34 @@ class AccountActiveAdSummary(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class AccountPermission(typing_extensions.TypedDict, total=False): +class AccountPermission(typing.TypedDict, total=False): accountProfiles: _list[ - typing_extensions.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] + typing.Literal["ACCOUNT_PROFILE_BASIC", "ACCOUNT_PROFILE_STANDARD"] ] id: str kind: str - level: typing_extensions.Literal["USER", "ADMINISTRATOR"] + level: typing.Literal["USER", "ADMINISTRATOR"] name: str permissionGroupId: str @typing.type_check_only -class AccountPermissionGroup(typing_extensions.TypedDict, total=False): +class AccountPermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class AccountPermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionGroupsListResponse(typing.TypedDict, total=False): accountPermissionGroups: _list[AccountPermissionGroup] kind: str @typing.type_check_only -class AccountPermissionsListResponse(typing_extensions.TypedDict, total=False): +class AccountPermissionsListResponse(typing.TypedDict, total=False): accountPermissions: _list[AccountPermission] kind: str @typing.type_check_only -class AccountUserProfile(typing_extensions.TypedDict, total=False): +class AccountUserProfile(typing.TypedDict, total=False): accountId: str active: bool advertiserFilter: ObjectFilter @@ -95,35 +91,35 @@ class AccountUserProfile(typing_extensions.TypedDict, total=False): name: str siteFilter: ObjectFilter subaccountId: str - traffickerType: typing_extensions.Literal[ + traffickerType: typing.Literal[ "INTERNAL_NON_TRAFFICKER", "INTERNAL_TRAFFICKER", "EXTERNAL_TRAFFICKER" ] - userAccessType: typing_extensions.Literal[ + userAccessType: typing.Literal[ "NORMAL_USER", "SUPER_USER", "INTERNAL_ADMINISTRATOR", "READ_ONLY_SUPER_USER" ] userRoleFilter: ObjectFilter userRoleId: str @typing.type_check_only -class AccountUserProfilesListResponse(typing_extensions.TypedDict, total=False): +class AccountUserProfilesListResponse(typing.TypedDict, total=False): accountUserProfiles: _list[AccountUserProfile] kind: str nextPageToken: str @typing.type_check_only -class AccountsListResponse(typing_extensions.TypedDict, total=False): +class AccountsListResponse(typing.TypedDict, total=False): accounts: _list[Account] kind: str nextPageToken: str @typing.type_check_only -class Activities(typing_extensions.TypedDict, total=False): +class Activities(typing.TypedDict, total=False): filters: _list[DimensionValue] kind: str metricNames: _list[str] @typing.type_check_only -class Ad(typing_extensions.TypedDict, total=False): +class Ad(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -135,7 +131,7 @@ class Ad(typing_extensions.TypedDict, total=False): clickThroughUrl: ClickThroughUrl clickThroughUrlSuffixProperties: ClickThroughUrlSuffixProperties comments: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -170,7 +166,7 @@ class Ad(typing_extensions.TypedDict, total=False): subaccountId: str targetingTemplateId: str technologyTargeting: TechnologyTargeting - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING_STANDARD_AD", "AD_SERVING_DEFAULT_AD", "AD_SERVING_CLICK_TRACKER", @@ -179,23 +175,23 @@ class Ad(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AdBlockingConfiguration(typing_extensions.TypedDict, total=False): +class AdBlockingConfiguration(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AdsListResponse(typing_extensions.TypedDict, total=False): +class AdsListResponse(typing.TypedDict, total=False): ads: _list[Ad] kind: str nextPageToken: str @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): accountId: str advertiserGroupId: str clickThroughUrlSuffix: str defaultClickThroughEventTagId: str defaultEmail: str - euPoliticalAdsDeclaration: typing_extensions.Literal[ + euPoliticalAdsDeclaration: typing.Literal[ "ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS", "ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS", ] @@ -207,55 +203,55 @@ class Advertiser(typing_extensions.TypedDict, total=False): measurementPartnerLink: MeasurementPartnerAdvertiserLink name: str originalFloodlightConfigurationId: str - status: typing_extensions.Literal["APPROVED", "ON_HOLD"] + status: typing.Literal["APPROVED", "ON_HOLD"] subaccountId: str suspended: bool @typing.type_check_only -class AdvertiserGroup(typing_extensions.TypedDict, total=False): +class AdvertiserGroup(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class AdvertiserGroupsListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserGroupsListResponse(typing.TypedDict, total=False): advertiserGroups: _list[AdvertiserGroup] kind: str nextPageToken: str @typing.type_check_only -class AdvertiserInvoicesListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserInvoicesListResponse(typing.TypedDict, total=False): invoices: _list[Invoice] kind: str nextPageToken: str @typing.type_check_only -class AdvertiserLandingPagesListResponse(typing_extensions.TypedDict, total=False): +class AdvertiserLandingPagesListResponse(typing.TypedDict, total=False): kind: str landingPages: _list[LandingPage] nextPageToken: str @typing.type_check_only -class AdvertisersListResponse(typing_extensions.TypedDict, total=False): +class AdvertisersListResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] kind: str nextPageToken: str @typing.type_check_only -class AudienceSegment(typing_extensions.TypedDict, total=False): +class AudienceSegment(typing.TypedDict, total=False): allocation: int id: str name: str @typing.type_check_only -class AudienceSegmentGroup(typing_extensions.TypedDict, total=False): +class AudienceSegmentGroup(typing.TypedDict, total=False): audienceSegments: _list[AudienceSegment] id: str name: str @typing.type_check_only -class BillingAssignment(typing_extensions.TypedDict, total=False): +class BillingAssignment(typing.TypedDict, total=False): accountId: str advertiserId: str campaignId: str @@ -263,19 +259,17 @@ class BillingAssignment(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class BillingAssignmentsListResponse(typing_extensions.TypedDict, total=False): +class BillingAssignmentsListResponse(typing.TypedDict, total=False): billingAssignments: _list[BillingAssignment] kind: str @typing.type_check_only -class BillingProfile(typing_extensions.TypedDict, total=False): +class BillingProfile(typing.TypedDict, total=False): consolidatedInvoice: bool countryCode: str currencyCode: str id: str - invoiceLevel: typing_extensions.Literal[ - "ACCOUNT_LEVEL", "ADVERTISER_LEVEL", "CAMPAIGN_LEVEL" - ] + invoiceLevel: typing.Literal["ACCOUNT_LEVEL", "ADVERTISER_LEVEL", "CAMPAIGN_LEVEL"] isDefault: bool kind: str name: str @@ -283,16 +277,16 @@ class BillingProfile(typing_extensions.TypedDict, total=False): paymentsCustomerId: str purchaseOrder: str secondaryPaymentsCustomerId: str - status: typing_extensions.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] + status: typing.Literal["UNDER_REVIEW", "ACTIVE", "ARCHIVED"] @typing.type_check_only -class BillingProfilesListResponse(typing_extensions.TypedDict, total=False): +class BillingProfilesListResponse(typing.TypedDict, total=False): billingProfiles: _list[BillingProfile] kind: str nextPageToken: str @typing.type_check_only -class BillingRate(typing_extensions.TypedDict, total=False): +class BillingRate(typing.TypedDict, total=False): currencyCode: str endDate: str id: str @@ -300,7 +294,7 @@ class BillingRate(typing_extensions.TypedDict, total=False): rateInMicros: str startDate: str tieredRates: _list[BillingRateTieredRate] - type: typing_extensions.Literal[ + type: typing.Literal[ "AD_SERVING", "CLICKS", "MINIMUM_SERVICE", @@ -334,22 +328,22 @@ class BillingRate(typing_extensions.TypedDict, total=False): "AUDIO_AD_SERVING", "ADVANCED_DISPLAY_AD_SERVING", ] - unitOfMeasure: typing_extensions.Literal["CPM", "CPC", "EA", "P2C"] + unitOfMeasure: typing.Literal["CPM", "CPC", "EA", "P2C"] @typing.type_check_only -class BillingRateTieredRate(typing_extensions.TypedDict, total=False): +class BillingRateTieredRate(typing.TypedDict, total=False): highValue: str lowValue: str rateInMicros: str @typing.type_check_only -class BillingRatesListResponse(typing_extensions.TypedDict, total=False): +class BillingRatesListResponse(typing.TypedDict, total=False): billingRates: _list[BillingRate] kind: str nextPageToken: str @typing.type_check_only -class Browser(typing_extensions.TypedDict, total=False): +class Browser(typing.TypedDict, total=False): browserVersionId: str dartId: str kind: str @@ -358,12 +352,12 @@ class Browser(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class BrowsersListResponse(typing_extensions.TypedDict, total=False): +class BrowsersListResponse(typing.TypedDict, total=False): browsers: _list[Browser] kind: str @typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): +class Campaign(typing.TypedDict, total=False): accountId: str adBlockingConfiguration: AdBlockingConfiguration additionalCreativeOptimizationConfigurations: _list[ @@ -383,7 +377,7 @@ class Campaign(typing_extensions.TypedDict, total=False): defaultClickThroughEventTagProperties: DefaultClickThroughEventTagProperties defaultLandingPageId: str endDate: str - euPoliticalAdsDeclaration: typing_extensions.Literal[ + euPoliticalAdsDeclaration: typing.Literal[ "CONTAINS_EU_POLITICAL_ADS", "DOES_NOT_CONTAIN_EU_POLITICAL_ADS" ] eventTagOverrides: _list[EventTagOverride] @@ -398,20 +392,18 @@ class Campaign(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CampaignCreativeAssociation(typing_extensions.TypedDict, total=False): +class CampaignCreativeAssociation(typing.TypedDict, total=False): creativeId: str kind: str @typing.type_check_only -class CampaignCreativeAssociationsListResponse( - typing_extensions.TypedDict, total=False -): +class CampaignCreativeAssociationsListResponse(typing.TypedDict, total=False): campaignCreativeAssociations: _list[CampaignCreativeAssociation] kind: str nextPageToken: str @typing.type_check_only -class CampaignSummary(typing_extensions.TypedDict, total=False): +class CampaignSummary(typing.TypedDict, total=False): billingInvoiceCode: str campaignId: str preTaxAmountMicros: str @@ -419,26 +411,26 @@ class CampaignSummary(typing_extensions.TypedDict, total=False): totalAmountMicros: str @typing.type_check_only -class CampaignsListResponse(typing_extensions.TypedDict, total=False): +class CampaignsListResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] kind: str nextPageToken: str @typing.type_check_only -class CartData(typing_extensions.TypedDict, total=False): +class CartData(typing.TypedDict, total=False): items: _list[CartDataItem] merchantFeedLabel: str merchantFeedLanguage: str merchantId: str @typing.type_check_only -class CartDataItem(typing_extensions.TypedDict, total=False): +class CartDataItem(typing.TypedDict, total=False): itemId: str quantity: int unitPrice: float @typing.type_check_only -class ChangeLog(typing_extensions.TypedDict, total=False): +class ChangeLog(typing.TypedDict, total=False): accountId: str action: str changeTime: str @@ -455,18 +447,18 @@ class ChangeLog(typing_extensions.TypedDict, total=False): userProfileName: str @typing.type_check_only -class ChangeLogsListResponse(typing_extensions.TypedDict, total=False): +class ChangeLogsListResponse(typing.TypedDict, total=False): changeLogs: _list[ChangeLog] kind: str nextPageToken: str @typing.type_check_only -class CitiesListResponse(typing_extensions.TypedDict, total=False): +class CitiesListResponse(typing.TypedDict, total=False): cities: _list[City] kind: str @typing.type_check_only -class City(typing_extensions.TypedDict, total=False): +class City(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -478,37 +470,42 @@ class City(typing_extensions.TypedDict, total=False): regionDartId: str @typing.type_check_only -class ClickTag(typing_extensions.TypedDict, total=False): +class ClickTag(typing.TypedDict, total=False): clickThroughUrl: CreativeClickThroughUrl eventName: str name: str @typing.type_check_only -class ClickThroughUrl(typing_extensions.TypedDict, total=False): +class ClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str defaultLandingPage: bool landingPageId: str @typing.type_check_only -class ClickThroughUrlSuffixProperties(typing_extensions.TypedDict, total=False): +class ClickThroughUrlSuffixProperties(typing.TypedDict, total=False): clickThroughUrlSuffix: str overrideInheritedSuffix: bool @typing.type_check_only -class CompanionClickThroughOverride(typing_extensions.TypedDict, total=False): +class ColumnHeader(typing.TypedDict, total=False): + name: str + type: typing.Literal["COLUMN_TYPE_UNSPECIFIED", "DIMENSION", "METRIC"] + +@typing.type_check_only +class CompanionClickThroughOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl creativeId: str @typing.type_check_only -class CompanionSetting(typing_extensions.TypedDict, total=False): +class CompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class CompatibleFields(typing_extensions.TypedDict, total=False): +class CompatibleFields(typing.TypedDict, total=False): crossDimensionReachReportCompatibleFields: CrossDimensionReachReportCompatibleFields crossMediaReachReportCompatibleFields: CrossMediaReachReportCompatibleFields floodlightReportCompatibleFields: FloodlightReportCompatibleFields @@ -518,60 +515,60 @@ class CompatibleFields(typing_extensions.TypedDict, total=False): reportCompatibleFields: ReportCompatibleFields @typing.type_check_only -class ConnectionType(typing_extensions.TypedDict, total=False): +class ConnectionType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class ConnectionTypesListResponse(typing_extensions.TypedDict, total=False): +class ConnectionTypesListResponse(typing.TypedDict, total=False): connectionTypes: _list[ConnectionType] kind: str @typing.type_check_only -class ContentCategoriesListResponse(typing_extensions.TypedDict, total=False): +class ContentCategoriesListResponse(typing.TypedDict, total=False): contentCategories: _list[ContentCategory] kind: str nextPageToken: str @typing.type_check_only -class ContentCategory(typing_extensions.TypedDict, total=False): +class ContentCategory(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class ContentSource(typing_extensions.TypedDict, total=False): +class ContentSource(typing.TypedDict, total=False): contentSourceName: str createInfo: LastModifiedInfo lastModifiedInfo: LastModifiedInfo metaData: ContentSourceMetaData resourceLink: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_GOOGLE_SPREADSHEET", "RESOURCE_TYPE_REMOTE_FILE", ] @typing.type_check_only -class ContentSourceMetaData(typing_extensions.TypedDict, total=False): +class ContentSourceMetaData(typing.TypedDict, total=False): charset: str fieldNames: _list[str] rowNumber: int separator: str @typing.type_check_only -class ContextualKeyword(typing_extensions.TypedDict, total=False): +class ContextualKeyword(typing.TypedDict, total=False): keyword: str @typing.type_check_only -class ContextualKeywordTargeting(typing_extensions.TypedDict, total=False): +class ContextualKeywordTargeting(typing.TypedDict, total=False): keywords: _list[ContextualKeyword] @typing.type_check_only -class Conversion(typing_extensions.TypedDict, total=False): - adUserDataConsent: typing_extensions.Literal["GRANTED", "DENIED"] +class Conversion(typing.TypedDict, total=False): + adUserDataConsent: typing.Literal["GRANTED", "DENIED"] cartData: CartData childDirectedTreatment: bool customVariables: _list[CustomFloodlightVariable] @@ -596,57 +593,57 @@ class Conversion(typing_extensions.TypedDict, total=False): value: float @typing.type_check_only -class ConversionError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConversionError(typing.TypedDict, total=False): + code: typing.Literal[ "INVALID_ARGUMENT", "INTERNAL", "PERMISSION_DENIED", "NOT_FOUND" ] kind: str message: str @typing.type_check_only -class ConversionStatus(typing_extensions.TypedDict, total=False): +class ConversionStatus(typing.TypedDict, total=False): conversion: Conversion errors: _list[ConversionError] kind: str @typing.type_check_only -class ConversionsBatchInsertRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchInsertResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchInsertResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class ConversionsBatchUpdateRequest(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateRequest(typing.TypedDict, total=False): conversions: _list[Conversion] encryptionInfo: EncryptionInfo kind: str @typing.type_check_only -class ConversionsBatchUpdateResponse(typing_extensions.TypedDict, total=False): +class ConversionsBatchUpdateResponse(typing.TypedDict, total=False): hasFailures: bool kind: str status: _list[ConversionStatus] @typing.type_check_only -class CountriesListResponse(typing_extensions.TypedDict, total=False): +class CountriesListResponse(typing.TypedDict, total=False): countries: _list[Country] kind: str @typing.type_check_only -class Country(typing_extensions.TypedDict, total=False): +class Country(typing.TypedDict, total=False): countryCode: str dartId: str kind: str name: str sslEnabled: bool tvDataProviders: _list[ - typing_extensions.Literal[ + typing.Literal[ "INVALID_TV_DATA_PROVIDER", "INTAGE_JP", "IBOPE_AR", @@ -661,7 +658,7 @@ class Country(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): accountId: str active: bool adParameters: str @@ -670,13 +667,13 @@ class Creative(typing_extensions.TypedDict, total=False): advertiserId: str allowScriptAccess: bool archived: bool - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", "ARTWORK_TYPE_IMAGE", ] - authoringSource: typing_extensions.Literal[ + authoringSource: typing.Literal[ "CREATIVE_AUTHORING_SOURCE_DCM", "CREATIVE_AUTHORING_SOURCE_DBM", "CREATIVE_AUTHORING_SOURCE_STUDIO", @@ -689,12 +686,12 @@ class Creative(typing_extensions.TypedDict, total=False): "CREATIVE_AUTHORING_SOURCE_BORNLOGIC", "CREATIVE_AUTHORING_SOURCE_BEGEN_AI", ] - authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] + authoringTool: typing.Literal["NINJA", "SWIFFY"] autoAdvanceImages: bool backgroundColor: str backupImageClickThroughUrl: CreativeClickThroughUrl backupImageFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -769,7 +766,7 @@ class Creative(typing_extensions.TypedDict, total=False): commercialId: str companionCreatives: _list[str] compatibility: _list[ - typing_extensions.Literal[ + typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -812,12 +809,17 @@ class Creative(typing_extensions.TypedDict, total=False): studioCreativeId: str studioTraffickedCreativeId: str subaccountId: str + syntheticContentAttestationStatus: typing.Literal[ + "SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED", + "IS_SYNTHETIC", + "NOT_SYNTHETIC", + ] thirdPartyBackupImageImpressionsUrl: str thirdPartyRichMediaImpressionsUrl: str thirdPartyUrls: _list[ThirdPartyTrackingUrl] timerCustomEvents: _list[CreativeCustomEvent] totalFileSize: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMAGE", "DISPLAY_REDIRECT", "CUSTOM_DISPLAY", @@ -848,14 +850,14 @@ class Creative(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class CreativeAsset(typing_extensions.TypedDict, total=False): +class CreativeAsset(typing.TypedDict, total=False): actionScript3: bool active: bool additionalSizes: _list[Size] - alignment: typing_extensions.Literal[ + alignment: typing.Literal[ "ALIGNMENT_TOP", "ALIGNMENT_RIGHT", "ALIGNMENT_BOTTOM", "ALIGNMENT_LEFT" ] - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -866,7 +868,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): audioSampleRate: int backupImageExit: CreativeCustomEvent bitRate: int - childAssetType: typing_extensions.Literal[ + childAssetType: typing.Literal[ "CHILD_ASSET_TYPE_FLASH", "CHILD_ASSET_TYPE_VIDEO", "CHILD_ASSET_TYPE_IMAGE", @@ -876,7 +878,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): companionCreativeIds: _list[str] customStartTimeValue: int detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -945,7 +947,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "SVG_FE_IMAGE", ] ] - displayType: typing_extensions.Literal[ + displayType: typing.Literal[ "ASSET_DISPLAY_TYPE_INPAGE", "ASSET_DISPLAY_TYPE_FLOATING", "ASSET_DISPLAY_TYPE_OVERLAY", @@ -958,7 +960,7 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): "ASSET_DISPLAY_TYPE_BACKDROP", ] duration: int - durationType: typing_extensions.Literal[ + durationType: typing.Literal[ "ASSET_DURATION_TYPE_AUTO", "ASSET_DURATION_TYPE_NONE", "ASSET_DURATION_TYPE_CUSTOM", @@ -975,20 +977,20 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): mediaDuration: float mimeType: str offset: OffsetPosition - orientation: typing_extensions.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] + orientation: typing.Literal["LANDSCAPE", "PORTRAIT", "SQUARE"] originalBackup: bool politeLoad: bool position: OffsetPosition - positionLeftUnit: typing_extensions.Literal[ + positionLeftUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] - positionTopUnit: typing_extensions.Literal[ + positionTopUnit: typing.Literal[ "OFFSET_UNIT_PIXEL", "OFFSET_UNIT_PERCENT", "OFFSET_UNIT_PIXEL_FROM_CENTER" ] progressiveServingUrl: str pushdown: bool pushdownDuration: float - role: typing_extensions.Literal[ + role: typing.Literal[ "PRIMARY", "BACKUP_IMAGE", "ADDITIONAL_IMAGE", @@ -1002,31 +1004,29 @@ class CreativeAsset(typing_extensions.TypedDict, total=False): ] size: Size sslCompliant: bool - startTimeType: typing_extensions.Literal[ + startTimeType: typing.Literal[ "ASSET_START_TIME_TYPE_NONE", "ASSET_START_TIME_TYPE_CUSTOM" ] streamingServingUrl: str transparency: bool verticallyLocked: bool - windowMode: typing_extensions.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] + windowMode: typing.Literal["OPAQUE", "WINDOW", "TRANSPARENT"] zIndex: int zipFilename: str zipFilesize: str @typing.type_check_only -class CreativeAssetId(typing_extensions.TypedDict, total=False): +class CreativeAssetId(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO" - ] + type: typing.Literal["IMAGE", "FLASH", "VIDEO", "HTML", "HTML_IMAGE", "AUDIO"] @typing.type_check_only -class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): +class CreativeAssetMetadata(typing.TypedDict, total=False): assetIdentifier: CreativeAssetId clickTags: _list[ClickTag] counterCustomEvents: _list[CreativeCustomEvent] detectedFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "CSS_FONT_FACE", "CSS_BACKGROUND_SIZE", "CSS_BORDER_IMAGE", @@ -1102,7 +1102,7 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): richMedia: bool timerCustomEvents: _list[CreativeCustomEvent] warnedValidationRules: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLICK_TAG_NON_TOP_LEVEL", "CLICK_TAG_MISSING", "CLICK_TAG_MORE_THAN_ONE", @@ -1133,7 +1133,7 @@ class CreativeAssetMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativeAssignment(typing_extensions.TypedDict, total=False): +class CreativeAssignment(typing.TypedDict, total=False): active: bool applyEventTags: bool clickThroughUrl: ClickThroughUrl @@ -1149,20 +1149,20 @@ class CreativeAssignment(typing_extensions.TypedDict, total=False): weight: int @typing.type_check_only -class CreativeClickThroughUrl(typing_extensions.TypedDict, total=False): +class CreativeClickThroughUrl(typing.TypedDict, total=False): computedClickThroughUrl: str customClickThroughUrl: str landingPageId: str @typing.type_check_only -class CreativeCustomEvent(typing_extensions.TypedDict, total=False): +class CreativeCustomEvent(typing.TypedDict, total=False): advertiserCustomEventId: str advertiserCustomEventName: str - advertiserCustomEventType: typing_extensions.Literal[ + advertiserCustomEventType: typing.Literal[ "ADVERTISER_EVENT_TIMER", "ADVERTISER_EVENT_EXIT", "ADVERTISER_EVENT_COUNTER" ] artworkLabel: str - artworkType: typing_extensions.Literal[ + artworkType: typing.Literal[ "ARTWORK_TYPE_FLASH", "ARTWORK_TYPE_HTML5", "ARTWORK_TYPE_MIXED", @@ -1171,13 +1171,13 @@ class CreativeCustomEvent(typing_extensions.TypedDict, total=False): exitClickThroughUrl: CreativeClickThroughUrl id: str popupWindowProperties: PopupWindowProperties - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_BLANK", "TARGET_TOP", "TARGET_SELF", "TARGET_PARENT", "TARGET_POPUP" ] videoReportingId: str @typing.type_check_only -class CreativeField(typing_extensions.TypedDict, total=False): +class CreativeField(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1187,30 +1187,30 @@ class CreativeField(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeFieldAssignment(typing_extensions.TypedDict, total=False): +class CreativeFieldAssignment(typing.TypedDict, total=False): creativeFieldId: str creativeFieldValueId: str @typing.type_check_only -class CreativeFieldValue(typing_extensions.TypedDict, total=False): +class CreativeFieldValue(typing.TypedDict, total=False): id: str kind: str value: str @typing.type_check_only -class CreativeFieldValuesListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldValuesListResponse(typing.TypedDict, total=False): creativeFieldValues: _list[CreativeFieldValue] kind: str nextPageToken: str @typing.type_check_only -class CreativeFieldsListResponse(typing_extensions.TypedDict, total=False): +class CreativeFieldsListResponse(typing.TypedDict, total=False): creativeFields: _list[CreativeField] kind: str nextPageToken: str @typing.type_check_only -class CreativeGroup(typing_extensions.TypedDict, total=False): +class CreativeGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1221,24 +1221,22 @@ class CreativeGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class CreativeGroupAssignment(typing_extensions.TypedDict, total=False): +class CreativeGroupAssignment(typing.TypedDict, total=False): creativeGroupId: str - creativeGroupNumber: typing_extensions.Literal[ - "CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO" - ] + creativeGroupNumber: typing.Literal["CREATIVE_GROUP_ONE", "CREATIVE_GROUP_TWO"] @typing.type_check_only -class CreativeGroupsListResponse(typing_extensions.TypedDict, total=False): +class CreativeGroupsListResponse(typing.TypedDict, total=False): creativeGroups: _list[CreativeGroup] kind: str nextPageToken: str @typing.type_check_only -class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False): +class CreativeOptimizationConfiguration(typing.TypedDict, total=False): id: str name: str optimizationActivitys: _list[OptimizationActivity] - optimizationModel: typing_extensions.Literal[ + optimizationModel: typing.Literal[ "CLICK", "POST_CLICK", "POST_IMPRESSION", @@ -1247,13 +1245,13 @@ class CreativeOptimizationConfiguration(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class CreativeRotation(typing_extensions.TypedDict, total=False): +class CreativeRotation(typing.TypedDict, total=False): creativeAssignments: _list[CreativeAssignment] creativeOptimizationConfigurationId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CREATIVE_ROTATION_TYPE_SEQUENTIAL", "CREATIVE_ROTATION_TYPE_RANDOM" ] - weightCalculationStrategy: typing_extensions.Literal[ + weightCalculationStrategy: typing.Literal[ "WEIGHT_STRATEGY_EQUAL", "WEIGHT_STRATEGY_CUSTOM", "WEIGHT_STRATEGY_HIGHEST_CTR", @@ -1261,15 +1259,13 @@ class CreativeRotation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreativesListResponse(typing_extensions.TypedDict, total=False): +class CreativesListResponse(typing.TypedDict, total=False): creatives: _list[Creative] kind: str nextPageToken: str @typing.type_check_only -class CrossDimensionReachReportCompatibleFields( - typing_extensions.TypedDict, total=False -): +class CrossDimensionReachReportCompatibleFields(typing.TypedDict, total=False): breakdown: _list[Dimension] dimensionFilters: _list[Dimension] kind: str @@ -1277,16 +1273,16 @@ class CrossDimensionReachReportCompatibleFields( overlapMetrics: _list[Metric] @typing.type_check_only -class CrossMediaReachReportCompatibleFields(typing_extensions.TypedDict, total=False): +class CrossMediaReachReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str metrics: _list[Metric] @typing.type_check_only -class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): +class CustomFloodlightVariable(typing.TypedDict, total=False): kind: str - type: typing_extensions.Literal[ + type: typing.Literal[ "U1", "U2", "U3", @@ -1391,39 +1387,39 @@ class CustomFloodlightVariable(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class CustomRichMediaEvents(typing_extensions.TypedDict, total=False): +class CustomRichMediaEvents(typing.TypedDict, total=False): filteredEventIds: _list[DimensionValue] kind: str @typing.type_check_only -class CustomRule(typing_extensions.TypedDict, total=False): +class CustomRule(typing.TypedDict, total=False): name: str priority: int ruleBlocks: _list[RuleBlock] @typing.type_check_only -class CustomValueField(typing_extensions.TypedDict, total=False): +class CustomValueField(typing.TypedDict, total=False): fieldId: int requestKey: str @typing.type_check_only -class CustomViewabilityMetric(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetric(typing.TypedDict, total=False): configuration: CustomViewabilityMetricConfiguration id: str name: str @typing.type_check_only -class CustomViewabilityMetricConfiguration(typing_extensions.TypedDict, total=False): +class CustomViewabilityMetricConfiguration(typing.TypedDict, total=False): audible: bool timeMillis: int timePercent: int viewabilityPercent: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: str kind: str - relativeDateRange: typing_extensions.Literal[ + relativeDateRange: typing.Literal[ "TODAY", "YESTERDAY", "WEEK_TO_DATE", @@ -1445,9 +1441,9 @@ class DateRange(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DayPartTargeting(typing_extensions.TypedDict, total=False): +class DayPartTargeting(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY" ] ] @@ -1455,7 +1451,7 @@ class DayPartTargeting(typing_extensions.TypedDict, total=False): userLocalTime: bool @typing.type_check_only -class DeepLink(typing_extensions.TypedDict, total=False): +class DeepLink(typing.TypedDict, total=False): appUrl: str fallbackUrl: str kind: str @@ -1463,16 +1459,16 @@ class DeepLink(typing_extensions.TypedDict, total=False): remarketingListIds: _list[str] @typing.type_check_only -class DefaultClickThroughEventTagProperties(typing_extensions.TypedDict, total=False): +class DefaultClickThroughEventTagProperties(typing.TypedDict, total=False): defaultClickThroughEventTagId: str overrideInheritedEventTag: bool @typing.type_check_only -class DeliverySchedule(typing_extensions.TypedDict, total=False): +class DeliverySchedule(typing.TypedDict, total=False): frequencyCap: FrequencyCap hardCutoff: bool impressionRatio: str - priority: typing_extensions.Literal[ + priority: typing.Literal[ "AD_PRIORITY_01", "AD_PRIORITY_02", "AD_PRIORITY_03", @@ -1492,21 +1488,19 @@ class DeliverySchedule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DependentFieldValue(typing_extensions.TypedDict, total=False): +class DependentFieldValue(typing.TypedDict, total=False): dynamicFeedId: str elementId: str fieldId: int @typing.type_check_only -class DfareportingStudioCreativeAssetsInsertRequest( - typing_extensions.TypedDict, total=False -): +class DfareportingStudioCreativeAssetsInsertRequest(typing.TypedDict, total=False): studioAccountId: str studioAdvertiserId: str studioCreativeId: str @typing.type_check_only -class DfpSettings(typing_extensions.TypedDict, total=False): +class DfpSettings(typing.TypedDict, total=False): dfpNetworkCode: str dfpNetworkName: str programmaticPlacementAccepted: bool @@ -1514,36 +1508,34 @@ class DfpSettings(typing_extensions.TypedDict, total=False): publisherPortalOnly: bool @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class DimensionFilter(typing_extensions.TypedDict, total=False): +class DimensionFilter(typing.TypedDict, total=False): dimensionName: str kind: str value: str @typing.type_check_only -class DimensionValue(typing_extensions.TypedDict, total=False): +class DimensionValue(typing.TypedDict, total=False): dimensionName: str etag: str id: str kind: str - matchType: typing_extensions.Literal[ - "EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION" - ] + matchType: typing.Literal["EXACT", "BEGINS_WITH", "CONTAINS", "WILDCARD_EXPRESSION"] value: str @typing.type_check_only -class DimensionValueList(typing_extensions.TypedDict, total=False): +class DimensionValueList(typing.TypedDict, total=False): etag: str items: _list[DimensionValue] kind: str nextPageToken: str @typing.type_check_only -class DimensionValueRequest(typing_extensions.TypedDict, total=False): +class DimensionValueRequest(typing.TypedDict, total=False): dimensionName: str endDate: str filters: _list[DimensionFilter] @@ -1551,11 +1543,11 @@ class DimensionValueRequest(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class DirectorySite(typing_extensions.TypedDict, total=False): +class DirectorySite(typing.TypedDict, total=False): id: str idDimensionValue: DimensionValue inpageTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "STANDARD", "IFRAME_JAVASCRIPT_INPAGE", "INTERNAL_REDIRECT_INPAGE", @@ -1563,7 +1555,7 @@ class DirectorySite(typing_extensions.TypedDict, total=False): ] ] interstitialTagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "IFRAME_JAVASCRIPT_INTERSTITIAL", "INTERNAL_REDIRECT_INTERSTITIAL", "JAVASCRIPT_INTERSTITIAL", @@ -1576,20 +1568,20 @@ class DirectorySite(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class DirectorySiteSettings(typing_extensions.TypedDict, total=False): +class DirectorySiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool dfpSettings: DfpSettings instreamVideoPlacementAccepted: bool interstitialPlacementAccepted: bool @typing.type_check_only -class DirectorySitesListResponse(typing_extensions.TypedDict, total=False): +class DirectorySitesListResponse(typing.TypedDict, total=False): directorySites: _list[DirectorySite] kind: str nextPageToken: str @typing.type_check_only -class DynamicFeed(typing_extensions.TypedDict, total=False): +class DynamicFeed(typing.TypedDict, total=False): contentSource: ContentSource createInfo: LastModifiedInfo dynamicFeedId: str @@ -1599,20 +1591,18 @@ class DynamicFeed(typing_extensions.TypedDict, total=False): feedSchedule: FeedSchedule hasPublished: bool lastModifiedInfo: LastModifiedInfo - status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + status: typing.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] studioAdvertiserId: str @typing.type_check_only -class DynamicFeedsInsertRequest(typing_extensions.TypedDict, total=False): +class DynamicFeedsInsertRequest(typing.TypedDict, total=False): dynamicFeed: DynamicFeed dynamicProfileId: str @typing.type_check_only -class DynamicProfile(typing_extensions.TypedDict, total=False): +class DynamicProfile(typing.TypedDict, total=False): active: DynamicProfileVersion - archiveStatus: typing_extensions.Literal[ - "ARCHIVE_STATUS_UNKNOWN", "UNARCHIVED", "ARCHIVED" - ] + archiveStatus: typing.Literal["ARCHIVE_STATUS_UNKNOWN", "UNARCHIVED", "ARCHIVED"] createInfo: LastModifiedInfo description: str draft: DynamicProfileVersion @@ -1620,55 +1610,55 @@ class DynamicProfile(typing_extensions.TypedDict, total=False): kind: str lastModifiedInfo: LastModifiedInfo name: str - status: typing_extensions.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] + status: typing.Literal["STATUS_UNKNOWN", "ACTIVE", "INACTIVE", "DELETED"] studioAdvertiserId: str @typing.type_check_only -class DynamicProfileFeedSettings(typing_extensions.TypedDict, total=False): +class DynamicProfileFeedSettings(typing.TypedDict, total=False): dynamicFeedId: str dynamicRules: DynamicRules quantity: int @typing.type_check_only -class DynamicProfileGenerateCodeResponse(typing_extensions.TypedDict, total=False): +class DynamicProfileGenerateCodeResponse(typing.TypedDict, total=False): code: str @typing.type_check_only -class DynamicProfileVersion(typing_extensions.TypedDict, total=False): +class DynamicProfileVersion(typing.TypedDict, total=False): dynamicProfileFeedSettings: _list[DynamicProfileFeedSettings] versionId: str @typing.type_check_only -class DynamicRules(typing_extensions.TypedDict, total=False): +class DynamicRules(typing.TypedDict, total=False): autoTargetedFieldIds: _list[int] customRules: _list[CustomRule] customValueFields: _list[CustomValueField] proximityFilter: ProximityFilter remarketingValueAttributes: _list[RemarketingValueAttribute] - rotationType: typing_extensions.Literal[ + rotationType: typing.Literal[ "ROTATION_TYPE_UNKNOWN", "RANDOM", "OPTIMIZED", "WEIGHTED" ] - ruleType: typing_extensions.Literal[ + ruleType: typing.Literal[ "RULE_SET_TYPE_UNKNOWN", "OPEN", "AUTO", "CUSTOM", "PROXIMITY_TARGETING" ] weightFieldId: int @typing.type_check_only -class DynamicTargetingKey(typing_extensions.TypedDict, total=False): +class DynamicTargetingKey(typing.TypedDict, total=False): kind: str name: str objectId: str - objectType: typing_extensions.Literal[ + objectType: typing.Literal[ "OBJECT_ADVERTISER", "OBJECT_AD", "OBJECT_CREATIVE", "OBJECT_PLACEMENT" ] @typing.type_check_only -class DynamicTargetingKeysListResponse(typing_extensions.TypedDict, total=False): +class DynamicTargetingKeysListResponse(typing.TypedDict, total=False): dynamicTargetingKeys: _list[DynamicTargetingKey] kind: str @typing.type_check_only -class Element(typing_extensions.TypedDict, total=False): +class Element(typing.TypedDict, total=False): activeFieldId: int createInfo: LastModifiedInfo defaultFieldId: int @@ -1683,9 +1673,9 @@ class Element(typing_extensions.TypedDict, total=False): startTimestampFieldId: int @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): encryptionEntityId: str - encryptionEntityType: typing_extensions.Literal[ + encryptionEntityType: typing.Literal[ "ENCRYPTION_ENTITY_TYPE_UNKNOWN", "DCM_ACCOUNT", "DCM_ADVERTISER", @@ -1694,13 +1684,13 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): "ADWORDS_CUSTOMER", "DFP_NETWORK_CODE", ] - encryptionSource: typing_extensions.Literal[ + encryptionSource: typing.Literal[ "ENCRYPTION_SCOPE_UNKNOWN", "AD_SERVING", "DATA_TRANSFER" ] kind: str @typing.type_check_only -class EventTag(typing_extensions.TypedDict, total=False): +class EventTag(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -1711,12 +1701,12 @@ class EventTag(typing_extensions.TypedDict, total=False): id: str kind: str name: str - siteFilterType: typing_extensions.Literal["ALLOWLIST", "BLOCKLIST"] + siteFilterType: typing.Literal["ALLOWLIST", "BLOCKLIST"] siteIds: _list[str] sslCompliant: bool - status: typing_extensions.Literal["ENABLED", "DISABLED"] + status: typing.Literal["ENABLED", "DISABLED"] subaccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "IMPRESSION_IMAGE_EVENT_TAG", "IMPRESSION_JAVASCRIPT_EVENT_TAG", "CLICK_THROUGH_EVENT_TAG", @@ -1725,24 +1715,24 @@ class EventTag(typing_extensions.TypedDict, total=False): urlEscapeLevels: int @typing.type_check_only -class EventTagOverride(typing_extensions.TypedDict, total=False): +class EventTagOverride(typing.TypedDict, total=False): enabled: bool id: str @typing.type_check_only -class EventTagsListResponse(typing_extensions.TypedDict, total=False): +class EventTagsListResponse(typing.TypedDict, total=False): eventTags: _list[EventTag] kind: str @typing.type_check_only -class FeedField(typing_extensions.TypedDict, total=False): +class FeedField(typing.TypedDict, total=False): defaultValue: str filterable: bool id: int name: str renderable: bool required: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNKNOWN", "STRING", "LONG", @@ -1780,10 +1770,10 @@ class FeedField(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeedIngestionStatus(typing_extensions.TypedDict, total=False): +class FeedIngestionStatus(typing.TypedDict, total=False): ingestionErrorRecords: _list[IngestionErrorRecord] ingestionStatus: IngestionStatus - state: typing_extensions.Literal[ + state: typing.Literal[ "FEED_PROCESSING_STATE_UNKNOWN", "CANCELLED", "INGESTING_QUEUED", @@ -1797,7 +1787,7 @@ class FeedIngestionStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeedSchedule(typing_extensions.TypedDict, total=False): +class FeedSchedule(typing.TypedDict, total=False): repeatValue: str scheduleEnabled: bool startHour: str @@ -1805,11 +1795,11 @@ class FeedSchedule(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class FieldError(typing_extensions.TypedDict, total=False): +class FieldError(typing.TypedDict, total=False): fieldId: int fieldName: str fieldValues: _list[str] - ingestionError: typing_extensions.Literal[ + ingestionError: typing.Literal[ "UNKNOWN_PARSING_ERROR", "MISSING_ID", "MISSING_REPORTING_LABEL", @@ -1856,11 +1846,11 @@ class FieldError(typing_extensions.TypedDict, total=False): isError: bool @typing.type_check_only -class FieldFilter(typing_extensions.TypedDict, total=False): +class FieldFilter(typing.TypedDict, total=False): boolValue: bool dependentFieldValue: DependentFieldValue fieldId: int - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "LHS_MATCH_TYPE_UNKNOWN", "EQUALS_OR_UNRESTRICTED", "EQUALS", @@ -1869,54 +1859,54 @@ class FieldFilter(typing_extensions.TypedDict, total=False): ] requestValue: RequestValue stringValue: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "RHS_VALUE_TYPE_UNKNOWN", "STRING", "REQUEST", "BOOL", "DEPENDENT" ] @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): dateRange: DateRange etag: str fileName: str - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str reportId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "PROCESSING", "REPORT_AVAILABLE", "FAILED", "CANCELLED", "QUEUED" ] urls: dict[str, typing.Any] @typing.type_check_only -class FileList(typing_extensions.TypedDict, total=False): +class FileList(typing.TypedDict, total=False): etag: str items: _list[File] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivitiesGenerateTagResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesGenerateTagResponse(typing.TypedDict, total=False): floodlightActivityTag: str globalSiteTagGlobalSnippet: str kind: str @typing.type_check_only -class FloodlightActivitiesListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivitiesListResponse(typing.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivity(typing_extensions.TypedDict, total=False): +class FloodlightActivity(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue attributionEnabled: bool - cacheBustingType: typing_extensions.Literal[ + cacheBustingType: typing.Literal[ "JAVASCRIPT", "ACTIVE_SERVER_PAGE", "JSP", "PHP", "COLD_FUSION" ] - conversionCategory: typing_extensions.Literal[ + conversionCategory: typing.Literal[ "CONVERSION_CATEGORY_DEFAULT", "CONVERSION_CATEGORY_PURCHASE", "CONVERSION_CATEGORY_SIGNUP", @@ -1935,7 +1925,7 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): "CONVERSION_CATEGORY_CONVERTED_LEAD", "CONVERSION_CATEGORY_IN_APP_AD_REVENUE", ] - countingMethod: typing_extensions.Literal[ + countingMethod: typing.Literal[ "STANDARD_COUNTING", "UNIQUE_COUNTING", "SESSION_COUNTING", @@ -1947,10 +1937,10 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): floodlightActivityGroupId: str floodlightActivityGroupName: str floodlightActivityGroupTagString: str - floodlightActivityGroupType: typing_extensions.Literal["COUNTER", "SALE"] + floodlightActivityGroupType: typing.Literal["COUNTER", "SALE"] floodlightConfigurationId: str floodlightConfigurationIdDimensionValue: DimensionValue - floodlightTagType: typing_extensions.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] + floodlightTagType: typing.Literal["IFRAME", "IMAGE", "GLOBAL_SITE_TAG"] id: str idDimensionValue: DimensionValue kind: str @@ -1960,14 +1950,14 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): secure: bool sslCompliant: bool sslRequired: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "ACTIVE", "ARCHIVED_AND_DISABLED", "ARCHIVED", "DISABLED_POLICY" ] subaccountId: str - tagFormat: typing_extensions.Literal["HTML", "XHTML"] + tagFormat: typing.Literal["HTML", "XHTML"] tagString: str userDefinedVariableTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "U1", "U2", "U3", @@ -2072,13 +2062,13 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FloodlightActivityDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityDynamicTag(typing.TypedDict, total=False): id: str name: str tag: str @typing.type_check_only -class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroup(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -2090,16 +2080,16 @@ class FloodlightActivityGroup(typing_extensions.TypedDict, total=False): name: str subaccountId: str tagString: str - type: typing_extensions.Literal["COUNTER", "SALE"] + type: typing.Literal["COUNTER", "SALE"] @typing.type_check_only -class FloodlightActivityGroupsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightActivityGroupsListResponse(typing.TypedDict, total=False): floodlightActivityGroups: _list[FloodlightActivityGroup] kind: str nextPageToken: str @typing.type_check_only -class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=False): +class FloodlightActivityPublisherDynamicTag(typing.TypedDict, total=False): clickThrough: bool directorySiteId: str dynamicTag: FloodlightActivityDynamicTag @@ -2108,20 +2098,20 @@ class FloodlightActivityPublisherDynamicTag(typing_extensions.TypedDict, total=F viewThrough: bool @typing.type_check_only -class FloodlightConfiguration(typing_extensions.TypedDict, total=False): +class FloodlightConfiguration(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue analyticsDataSharingEnabled: bool customViewabilityMetric: CustomViewabilityMetric exposureToConversionEnabled: bool - firstDayOfWeek: typing_extensions.Literal["SUNDAY", "MONDAY"] + firstDayOfWeek: typing.Literal["SUNDAY", "MONDAY"] id: str idDimensionValue: DimensionValue inAppAttributionTrackingEnabled: bool kind: str lookbackConfiguration: LookbackConfiguration - naturalSearchConversionAttributionOption: typing_extensions.Literal[ + naturalSearchConversionAttributionOption: typing.Literal[ "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION", @@ -2133,34 +2123,32 @@ class FloodlightConfiguration(typing_extensions.TypedDict, total=False): userDefinedVariableConfigurations: _list[UserDefinedVariableConfiguration] @typing.type_check_only -class FloodlightConfigurationsListResponse(typing_extensions.TypedDict, total=False): +class FloodlightConfigurationsListResponse(typing.TypedDict, total=False): floodlightConfigurations: _list[FloodlightConfiguration] kind: str @typing.type_check_only -class FloodlightReportCompatibleFields(typing_extensions.TypedDict, total=False): +class FloodlightReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str metrics: _list[Metric] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): duration: str impressions: str @typing.type_check_only -class FsCommand(typing_extensions.TypedDict, total=False): +class FsCommand(typing.TypedDict, total=False): left: int - positionOption: typing_extensions.Literal[ - "CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER" - ] + positionOption: typing.Literal["CENTERED", "DISTANCE_FROM_TOP_LEFT_CORNER"] top: int windowHeight: int windowWidth: int @typing.type_check_only -class GeoTargeting(typing_extensions.TypedDict, total=False): +class GeoTargeting(typing.TypedDict, total=False): cities: _list[City] countries: _list[Country] excludeCountries: bool @@ -2169,12 +2157,12 @@ class GeoTargeting(typing_extensions.TypedDict, total=False): regions: _list[Region] @typing.type_check_only -class IngestionErrorRecord(typing_extensions.TypedDict, total=False): +class IngestionErrorRecord(typing.TypedDict, total=False): errors: _list[FieldError] recordId: str @typing.type_check_only -class IngestionStatus(typing_extensions.TypedDict, total=False): +class IngestionStatus(typing.TypedDict, total=False): numActiveRows: str numRowsProcessed: str numRowsTotal: str @@ -2182,13 +2170,13 @@ class IngestionStatus(typing_extensions.TypedDict, total=False): numWarningsTotal: str @typing.type_check_only -class Invoice(typing_extensions.TypedDict, total=False): +class Invoice(typing.TypedDict, total=False): campaign_summaries: _list[CampaignSummary] correctedInvoiceId: str currencyCode: str dueDate: str id: str - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" ] issueDate: str @@ -2205,11 +2193,11 @@ class Invoice(typing_extensions.TypedDict, total=False): totalTaxAmountMicros: str @typing.type_check_only -class KeyValueTargetingExpression(typing_extensions.TypedDict, total=False): +class KeyValueTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LandingPage(typing_extensions.TypedDict, total=False): +class LandingPage(typing.TypedDict, total=False): advertiserId: str archived: bool deepLinks: _list[DeepLink] @@ -2219,40 +2207,40 @@ class LandingPage(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Language(typing_extensions.TypedDict, total=False): +class Language(typing.TypedDict, total=False): id: str kind: str languageCode: str name: str @typing.type_check_only -class LanguageTargeting(typing_extensions.TypedDict, total=False): +class LanguageTargeting(typing.TypedDict, total=False): languages: _list[Language] @typing.type_check_only -class LanguagesListResponse(typing_extensions.TypedDict, total=False): +class LanguagesListResponse(typing.TypedDict, total=False): kind: str languages: _list[Language] @typing.type_check_only -class LastModifiedInfo(typing_extensions.TypedDict, total=False): +class LastModifiedInfo(typing.TypedDict, total=False): time: str @typing.type_check_only -class ListPopulationClause(typing_extensions.TypedDict, total=False): +class ListPopulationClause(typing.TypedDict, total=False): terms: _list[ListPopulationTerm] @typing.type_check_only -class ListPopulationRule(typing_extensions.TypedDict, total=False): +class ListPopulationRule(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityName: str listPopulationClauses: _list[ListPopulationClause] @typing.type_check_only -class ListPopulationTerm(typing_extensions.TypedDict, total=False): +class ListPopulationTerm(typing.TypedDict, total=False): contains: bool negation: bool - operator: typing_extensions.Literal[ + operator: typing.Literal[ "NUM_EQUALS", "NUM_LESS_THAN", "NUM_LESS_THAN_EQUAL", @@ -2262,7 +2250,7 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): "STRING_CONTAINS", ] remarketingListId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CUSTOM_VARIABLE_TERM", "LIST_MEMBERSHIP_TERM", "REFERRER_TERM" ] value: str @@ -2270,17 +2258,17 @@ class ListPopulationTerm(typing_extensions.TypedDict, total=False): variableName: str @typing.type_check_only -class ListTargetingExpression(typing_extensions.TypedDict, total=False): +class ListTargetingExpression(typing.TypedDict, total=False): expression: str @typing.type_check_only -class LookbackConfiguration(typing_extensions.TypedDict, total=False): +class LookbackConfiguration(typing.TypedDict, total=False): clickDuration: int postImpressionActivitiesDuration: int @typing.type_check_only -class MeasurementPartnerAdvertiserLink(typing_extensions.TypedDict, total=False): - linkStatus: typing_extensions.Literal[ +class MeasurementPartnerAdvertiserLink(typing.TypedDict, total=False): + linkStatus: typing.Literal[ "MEASUREMENT_PARTNER_UNLINKED", "MEASUREMENT_PARTNER_LINKED", "MEASUREMENT_PARTNER_LINK_PENDING", @@ -2291,14 +2279,12 @@ class MeasurementPartnerAdvertiserLink(typing_extensions.TypedDict, total=False) "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", "MEASUREMENT_PARTNER_UNLINK_PENDING", ] - measurementPartner: typing_extensions.Literal[ - "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" - ] + measurementPartner: typing.Literal["NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY"] partnerAdvertiserId: str @typing.type_check_only -class MeasurementPartnerCampaignLink(typing_extensions.TypedDict, total=False): - linkStatus: typing_extensions.Literal[ +class MeasurementPartnerCampaignLink(typing.TypedDict, total=False): + linkStatus: typing.Literal[ "MEASUREMENT_PARTNER_UNLINKED", "MEASUREMENT_PARTNER_LINKED", "MEASUREMENT_PARTNER_LINK_PENDING", @@ -2309,14 +2295,12 @@ class MeasurementPartnerCampaignLink(typing_extensions.TypedDict, total=False): "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", "MEASUREMENT_PARTNER_UNLINK_PENDING", ] - measurementPartner: typing_extensions.Literal[ - "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" - ] + measurementPartner: typing.Literal["NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY"] partnerCampaignId: str @typing.type_check_only -class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): - linkStatus: typing_extensions.Literal[ +class MeasurementPartnerWrappingData(typing.TypedDict, total=False): + linkStatus: typing.Literal[ "MEASUREMENT_PARTNER_UNLINKED", "MEASUREMENT_PARTNER_LINKED", "MEASUREMENT_PARTNER_LINK_PENDING", @@ -2327,10 +2311,8 @@ class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): "MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", "MEASUREMENT_PARTNER_UNLINK_PENDING", ] - measurementPartner: typing_extensions.Literal[ - "NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY" - ] - tagWrappingMode: typing_extensions.Literal[ + measurementPartner: typing.Literal["NONE", "INTEGRAL_AD_SCIENCE", "DOUBLE_VERIFY"] + tagWrappingMode: typing.Literal[ "NONE", "BLOCKING", "MONITORING", @@ -2351,12 +2333,12 @@ class MeasurementPartnerWrappingData(typing_extensions.TypedDict, total=False): wrappedTag: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): kind: str name: str @typing.type_check_only -class Metro(typing_extensions.TypedDict, total=False): +class Metro(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -2366,13 +2348,13 @@ class Metro(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MetrosListResponse(typing_extensions.TypedDict, total=False): +class MetrosListResponse(typing.TypedDict, total=False): kind: str metros: _list[Metro] @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): - directory: typing_extensions.Literal[ +class MobileApp(typing.TypedDict, total=False): + directory: typing.Literal[ "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_PLAY_STORE", @@ -2391,13 +2373,13 @@ class MobileApp(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class MobileAppsListResponse(typing_extensions.TypedDict, total=False): +class MobileAppsListResponse(typing.TypedDict, total=False): kind: str mobileApps: _list[MobileApp] nextPageToken: str @typing.type_check_only -class MobileCarrier(typing_extensions.TypedDict, total=False): +class MobileCarrier(typing.TypedDict, total=False): countryCode: str countryDartId: str id: str @@ -2405,12 +2387,12 @@ class MobileCarrier(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MobileCarriersListResponse(typing_extensions.TypedDict, total=False): +class MobileCarriersListResponse(typing.TypedDict, total=False): kind: str mobileCarriers: _list[MobileCarrier] @typing.type_check_only -class ObaIcon(typing_extensions.TypedDict, total=False): +class ObaIcon(typing.TypedDict, total=False): iconClickThroughUrl: str iconClickTrackingUrl: str iconViewTrackingUrl: str @@ -2421,13 +2403,13 @@ class ObaIcon(typing_extensions.TypedDict, total=False): yPosition: str @typing.type_check_only -class ObjectFilter(typing_extensions.TypedDict, total=False): +class ObjectFilter(typing.TypedDict, total=False): kind: str objectIds: _list[str] - status: typing_extensions.Literal["NONE", "ASSIGNED", "ALL"] + status: typing.Literal["NONE", "ASSIGNED", "ALL"] @typing.type_check_only -class OfflineUserAddressInfo(typing_extensions.TypedDict, total=False): +class OfflineUserAddressInfo(typing.TypedDict, total=False): city: str countryCode: str hashedFirstName: str @@ -2437,17 +2419,17 @@ class OfflineUserAddressInfo(typing_extensions.TypedDict, total=False): state: str @typing.type_check_only -class OffsetPosition(typing_extensions.TypedDict, total=False): +class OffsetPosition(typing.TypedDict, total=False): left: int top: int @typing.type_check_only -class OmnitureSettings(typing_extensions.TypedDict, total=False): +class OmnitureSettings(typing.TypedDict, total=False): omnitureCostDataEnabled: bool omnitureIntegrationEnabled: bool @typing.type_check_only -class OperatingSystem(typing_extensions.TypedDict, total=False): +class OperatingSystem(typing.TypedDict, total=False): dartId: str desktop: bool kind: str @@ -2455,7 +2437,7 @@ class OperatingSystem(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class OperatingSystemVersion(typing_extensions.TypedDict, total=False): +class OperatingSystemVersion(typing.TypedDict, total=False): id: str kind: str majorVersion: str @@ -2464,23 +2446,23 @@ class OperatingSystemVersion(typing_extensions.TypedDict, total=False): operatingSystem: OperatingSystem @typing.type_check_only -class OperatingSystemVersionsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemVersionsListResponse(typing.TypedDict, total=False): kind: str operatingSystemVersions: _list[OperatingSystemVersion] @typing.type_check_only -class OperatingSystemsListResponse(typing_extensions.TypedDict, total=False): +class OperatingSystemsListResponse(typing.TypedDict, total=False): kind: str operatingSystems: _list[OperatingSystem] @typing.type_check_only -class OptimizationActivity(typing_extensions.TypedDict, total=False): +class OptimizationActivity(typing.TypedDict, total=False): floodlightActivityId: str floodlightActivityIdDimensionValue: DimensionValue weight: int @typing.type_check_only -class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total=False): +class PathToConversionReportCompatibleFields(typing.TypedDict, total=False): conversionDimensions: _list[Dimension] customFloodlightVariables: _list[Dimension] kind: str @@ -2488,9 +2470,9 @@ class PathToConversionReportCompatibleFields(typing_extensions.TypedDict, total= perInteractionDimensions: _list[Dimension] @typing.type_check_only -class Placement(typing_extensions.TypedDict, total=False): +class Placement(typing.TypedDict, total=False): accountId: str - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -2506,7 +2488,7 @@ class Placement(typing_extensions.TypedDict, total=False): campaignId: str campaignIdDimensionValue: DimensionValue comment: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "DISPLAY", "DISPLAY_INTERSTITIAL", "APP", @@ -2529,9 +2511,7 @@ class Placement(typing_extensions.TypedDict, total=False): name: str partnerWrappingData: MeasurementPartnerWrappingData paymentApproved: bool - paymentSource: typing_extensions.Literal[ - "PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID" - ] + paymentSource: typing.Literal["PLACEMENT_AGENCY_PAID", "PLACEMENT_PUBLISHER_PAID"] placementGroupId: str placementGroupIdDimensionValue: DimensionValue placementStrategyId: str @@ -2543,7 +2523,7 @@ class Placement(typing_extensions.TypedDict, total=False): siteServed: bool size: Size sslRequired: bool - status: typing_extensions.Literal[ + status: typing.Literal[ "PENDING_REVIEW", "PAYMENT_ACCEPTED", "PAYMENT_REJECTED", @@ -2553,7 +2533,7 @@ class Placement(typing_extensions.TypedDict, total=False): ] subaccountId: str tagFormats: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -2579,25 +2559,25 @@ class Placement(typing_extensions.TypedDict, total=False): tagSetting: TagSetting videoActiveViewOptOut: bool videoSettings: VideoSettings - vpaidAdapterChoice: typing_extensions.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] + vpaidAdapterChoice: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] wrappingOptOut: bool youtubeSettings: YoutubeSettings @typing.type_check_only -class PlacementAssignment(typing_extensions.TypedDict, total=False): +class PlacementAssignment(typing.TypedDict, total=False): active: bool placementId: str placementIdDimensionValue: DimensionValue sslRequired: bool @typing.type_check_only -class PlacementConversionDomainOverride(typing_extensions.TypedDict, total=False): +class PlacementConversionDomainOverride(typing.TypedDict, total=False): conversionDomains: _list[PlacementSingleConversionDomain] @typing.type_check_only -class PlacementGroup(typing_extensions.TypedDict, total=False): +class PlacementGroup(typing.TypedDict, total=False): accountId: str - activeStatus: typing_extensions.Literal[ + activeStatus: typing.Literal[ "PLACEMENT_STATUS_UNKNOWN", "PLACEMENT_STATUS_ACTIVE", "PLACEMENT_STATUS_INACTIVE", @@ -2620,9 +2600,7 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): kind: str lastModifiedInfo: LastModifiedInfo name: str - placementGroupType: typing_extensions.Literal[ - "PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK" - ] + placementGroupType: typing.Literal["PLACEMENT_PACKAGE", "PLACEMENT_ROADBLOCK"] placementStrategyId: str pricingSchedule: PricingSchedule primaryPlacementId: str @@ -2632,61 +2610,61 @@ class PlacementGroup(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class PlacementGroupsListResponse(typing_extensions.TypedDict, total=False): +class PlacementGroupsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementGroups: _list[PlacementGroup] @typing.type_check_only -class PlacementSingleConversionDomain(typing_extensions.TypedDict, total=False): +class PlacementSingleConversionDomain(typing.TypedDict, total=False): conversionDomainId: str conversionDomainValue: str @typing.type_check_only -class PlacementStrategiesListResponse(typing_extensions.TypedDict, total=False): +class PlacementStrategiesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placementStrategies: _list[PlacementStrategy] @typing.type_check_only -class PlacementStrategy(typing_extensions.TypedDict, total=False): +class PlacementStrategy(typing.TypedDict, total=False): accountId: str id: str kind: str name: str @typing.type_check_only -class PlacementTag(typing_extensions.TypedDict, total=False): +class PlacementTag(typing.TypedDict, total=False): placementId: str tagDatas: _list[TagData] @typing.type_check_only -class PlacementsGenerateTagsResponse(typing_extensions.TypedDict, total=False): +class PlacementsGenerateTagsResponse(typing.TypedDict, total=False): kind: str placementTags: _list[PlacementTag] @typing.type_check_only -class PlacementsListResponse(typing_extensions.TypedDict, total=False): +class PlacementsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str placements: _list[Placement] @typing.type_check_only -class PlatformType(typing_extensions.TypedDict, total=False): +class PlatformType(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class PlatformTypesListResponse(typing_extensions.TypedDict, total=False): +class PlatformTypesListResponse(typing.TypedDict, total=False): kind: str platformTypes: _list[PlatformType] @typing.type_check_only -class PopupWindowProperties(typing_extensions.TypedDict, total=False): +class PopupWindowProperties(typing.TypedDict, total=False): dimension: Size offset: OffsetPosition - positionType: typing_extensions.Literal["CENTER", "COORDINATES"] + positionType: typing.Literal["CENTER", "COORDINATES"] showAddressBar: bool showMenuBar: bool showScrollBar: bool @@ -2695,7 +2673,7 @@ class PopupWindowProperties(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PostalCode(typing_extensions.TypedDict, total=False): +class PostalCode(typing.TypedDict, total=False): code: str countryCode: str countryDartId: str @@ -2703,20 +2681,20 @@ class PostalCode(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class PostalCodesListResponse(typing_extensions.TypedDict, total=False): +class PostalCodesListResponse(typing.TypedDict, total=False): kind: str postalCodes: _list[PostalCode] @typing.type_check_only -class PricingSchedule(typing_extensions.TypedDict, total=False): - capCostOption: typing_extensions.Literal[ +class PricingSchedule(typing.TypedDict, total=False): + capCostOption: typing.Literal[ "CAP_COST_NONE", "CAP_COST_MONTHLY", "CAP_COST_CUMULATIVE" ] endDate: str flighted: bool floodlightActivityId: str pricingPeriods: _list[PricingSchedulePricingPeriod] - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PRICING_TYPE_CPM", "PRICING_TYPE_CPC", "PRICING_TYPE_CPA", @@ -2728,7 +2706,7 @@ class PricingSchedule(typing_extensions.TypedDict, total=False): testingStartDate: str @typing.type_check_only -class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): +class PricingSchedulePricingPeriod(typing.TypedDict, total=False): endDate: str pricingComment: str rateOrCostNanos: str @@ -2736,9 +2714,9 @@ class PricingSchedulePricingPeriod(typing_extensions.TypedDict, total=False): units: str @typing.type_check_only -class ProximityFilter(typing_extensions.TypedDict, total=False): +class ProximityFilter(typing.TypedDict, total=False): fieldId: int - radiusBucketType: typing_extensions.Literal[ + radiusBucketType: typing.Literal[ "RADIUS_BUCKET_TYPE_UNKNOWN", "SMALL", "MEDIUM", @@ -2746,13 +2724,11 @@ class ProximityFilter(typing_extensions.TypedDict, total=False): "MULTI_REGIONAL", "NATIONAL", ] - radiusUnitType: typing_extensions.Literal[ - "RADIUS_UNIT_TYPE_UNKNOWN", "KILOMETERS", "MILES" - ] + radiusUnitType: typing.Literal["RADIUS_UNIT_TYPE_UNKNOWN", "KILOMETERS", "MILES"] radiusValue: int @typing.type_check_only -class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReachReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2761,13 +2737,13 @@ class ReachReportCompatibleFields(typing_extensions.TypedDict, total=False): reachByFrequencyMetrics: _list[Metric] @typing.type_check_only -class Recipient(typing_extensions.TypedDict, total=False): - deliveryType: typing_extensions.Literal["LINK", "ATTACHMENT"] +class Recipient(typing.TypedDict, total=False): + deliveryType: typing.Literal["LINK", "ATTACHMENT"] email: str kind: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): countryCode: str countryDartId: str dartId: str @@ -2776,12 +2752,12 @@ class Region(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class RegionsListResponse(typing_extensions.TypedDict, total=False): +class RegionsListResponse(typing.TypedDict, total=False): kind: str regions: _list[Region] @typing.type_check_only -class RemarketingList(typing_extensions.TypedDict, total=False): +class RemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -2792,7 +2768,7 @@ class RemarketingList(typing_extensions.TypedDict, total=False): lifeSpan: str listPopulationRule: ListPopulationRule listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -2809,25 +2785,25 @@ class RemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class RemarketingListShare(typing_extensions.TypedDict, total=False): +class RemarketingListShare(typing.TypedDict, total=False): kind: str remarketingListId: str sharedAccountIds: _list[str] sharedAdvertiserIds: _list[str] @typing.type_check_only -class RemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class RemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str remarketingLists: _list[RemarketingList] @typing.type_check_only -class RemarketingValueAttribute(typing_extensions.TypedDict, total=False): +class RemarketingValueAttribute(typing.TypedDict, total=False): fieldId: int userAttributeIds: _list[str] @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): accountId: str criteria: dict[str, typing.Any] crossMediaReachCriteria: dict[str, typing.Any] @@ -2835,7 +2811,7 @@ class Report(typing_extensions.TypedDict, total=False): etag: str fileName: str floodlightCriteria: dict[str, typing.Any] - format: typing_extensions.Literal["CSV", "EXCEL"] + format: typing.Literal["CSV", "EXCEL"] id: str kind: str lastModifiedTime: str @@ -2845,12 +2821,12 @@ class Report(typing_extensions.TypedDict, total=False): reachCriteria: dict[str, typing.Any] schedule: dict[str, typing.Any] subAccountId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "STANDARD", "REACH", "PATH_TO_CONVERSION", "FLOODLIGHT", "CROSS_MEDIA_REACH" ] @typing.type_check_only -class ReportCompatibleFields(typing_extensions.TypedDict, total=False): +class ReportCompatibleFields(typing.TypedDict, total=False): dimensionFilters: _list[Dimension] dimensions: _list[Dimension] kind: str @@ -2858,36 +2834,57 @@ class ReportCompatibleFields(typing_extensions.TypedDict, total=False): pivotedActivityMetrics: _list[Metric] @typing.type_check_only -class ReportList(typing_extensions.TypedDict, total=False): +class ReportDataQueryRequest(typing.TypedDict, total=False): + dateRange: DateRange + dimensionFilters: _list[DimensionValue] + dimensionNames: _list[str] + maxResults: int + metricNames: _list[str] + pageToken: str + sortBys: _list[SortBy] + +@typing.type_check_only +class ReportDataResponse(typing.TypedDict, total=False): + columnHeaders: _list[ColumnHeader] + nextPageToken: str + rows: _list[ReportDataRow] + totalRow: ReportDataRow + +@typing.type_check_only +class ReportDataRow(typing.TypedDict, total=False): + values: _list[str] + +@typing.type_check_only +class ReportList(typing.TypedDict, total=False): etag: str items: _list[Report] kind: str nextPageToken: str @typing.type_check_only -class ReportsConfiguration(typing_extensions.TypedDict, total=False): +class ReportsConfiguration(typing.TypedDict, total=False): exposureToConversionEnabled: bool lookbackConfiguration: LookbackConfiguration reportGenerationTimeZoneId: str @typing.type_check_only -class RequestValue(typing_extensions.TypedDict, total=False): +class RequestValue(typing.TypedDict, total=False): excludeFromUserAttributeIds: _list[str] key: str userAttributeIds: _list[str] @typing.type_check_only -class RichMediaExitOverride(typing_extensions.TypedDict, total=False): +class RichMediaExitOverride(typing.TypedDict, total=False): clickThroughUrl: ClickThroughUrl enabled: bool exitId: str @typing.type_check_only -class RuleBlock(typing_extensions.TypedDict, total=False): +class RuleBlock(typing.TypedDict, total=False): fieldFilter: _list[FieldFilter] @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): accountId: str adServingPlatformId: str approved: bool @@ -2904,16 +2901,16 @@ class Site(typing_extensions.TypedDict, total=False): videoSettings: SiteVideoSettings @typing.type_check_only -class SiteCompanionSetting(typing_extensions.TypedDict, total=False): +class SiteCompanionSetting(typing.TypedDict, total=False): companionsDisabled: bool enabledSizes: _list[Size] imageOnly: bool kind: str @typing.type_check_only -class SiteContact(typing_extensions.TypedDict, total=False): +class SiteContact(typing.TypedDict, total=False): address: str - contactType: typing_extensions.Literal["SALES_PERSON", "TRAFFICKER"] + contactType: typing.Literal["SALES_PERSON", "TRAFFICKER"] email: str firstName: str id: str @@ -2922,47 +2919,45 @@ class SiteContact(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class SiteSettings(typing_extensions.TypedDict, total=False): +class SiteSettings(typing.TypedDict, total=False): activeViewOptOut: bool adBlockingOptOut: bool disableNewCookie: bool tagSetting: TagSetting videoActiveViewOptOutTemplate: bool - vpaidAdapterChoiceTemplate: typing_extensions.Literal[ - "DEFAULT", "FLASH", "HTML5", "BOTH" - ] + vpaidAdapterChoiceTemplate: typing.Literal["DEFAULT", "FLASH", "HTML5", "BOTH"] @typing.type_check_only -class SiteSkippableSetting(typing_extensions.TypedDict, total=False): +class SiteSkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SiteTranscodeSetting(typing_extensions.TypedDict, total=False): +class SiteTranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class SiteVideoSettings(typing_extensions.TypedDict, total=False): +class SiteVideoSettings(typing.TypedDict, total=False): companionSettings: SiteCompanionSetting kind: str obaEnabled: bool obaSettings: ObaIcon - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] publisherSpecificationId: str skippableSettings: SiteSkippableSetting transcodeSettings: SiteTranscodeSetting @typing.type_check_only -class SitesListResponse(typing_extensions.TypedDict, total=False): +class SitesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str sites: _list[Site] @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: int iab: bool id: str @@ -2970,37 +2965,42 @@ class Size(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class SizesListResponse(typing_extensions.TypedDict, total=False): +class SizesListResponse(typing.TypedDict, total=False): kind: str sizes: _list[Size] @typing.type_check_only -class SkippableSetting(typing_extensions.TypedDict, total=False): +class SkippableSetting(typing.TypedDict, total=False): kind: str progressOffset: VideoOffset skipOffset: VideoOffset skippable: bool @typing.type_check_only -class SortedDimension(typing_extensions.TypedDict, total=False): +class SortBy(typing.TypedDict, total=False): + name: str + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] + +@typing.type_check_only +class SortedDimension(typing.TypedDict, total=False): kind: str name: str - sortOrder: typing_extensions.Literal["ASCENDING", "DESCENDING"] + sortOrder: typing.Literal["ASCENDING", "DESCENDING"] @typing.type_check_only -class StudioCreative(typing_extensions.TypedDict, total=False): +class StudioCreative(typing.TypedDict, total=False): assetIds: _list[str] backupImageAssetId: str createdInfo: LastModifiedInfo dimension: StudioCreativeDimension dynamicProfileId: str - format: typing_extensions.Literal[ + format: typing.Literal[ "UNKNOWN", "BANNER", "EXPANDING", "INTERSTITIAL", "VPAID_LINEAR_VIDEO" ] id: str lastModifiedInfo: LastModifiedInfo name: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNKNOWN_STATUS", "IN_DEVELOPMENT", "PUBLISHED", @@ -3013,7 +3013,7 @@ class StudioCreative(typing_extensions.TypedDict, total=False): studioCampaignId: str @typing.type_check_only -class StudioCreativeAsset(typing_extensions.TypedDict, total=False): +class StudioCreativeAsset(typing.TypedDict, total=False): createInfo: LastModifiedInfo filename: str filesize: str @@ -3022,20 +3022,20 @@ class StudioCreativeAsset(typing_extensions.TypedDict, total=False): studioAccountId: str studioAdvertiserId: str studioCreativeId: str - type: typing_extensions.Literal["UNKNOWN_TYPE", "HTML", "VIDEO", "IMAGE", "FONT"] + type: typing.Literal["UNKNOWN_TYPE", "HTML", "VIDEO", "IMAGE", "FONT"] videoProcessingData: VideoProcessingData @typing.type_check_only -class StudioCreativeAssetsResponse(typing_extensions.TypedDict, total=False): +class StudioCreativeAssetsResponse(typing.TypedDict, total=False): assets: _list[StudioCreativeAsset] @typing.type_check_only -class StudioCreativeDimension(typing_extensions.TypedDict, total=False): +class StudioCreativeDimension(typing.TypedDict, total=False): height: int width: int @typing.type_check_only -class Subaccount(typing_extensions.TypedDict, total=False): +class Subaccount(typing.TypedDict, total=False): accountId: str availablePermissionIds: _list[str] id: str @@ -3043,17 +3043,17 @@ class Subaccount(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SubaccountsListResponse(typing_extensions.TypedDict, total=False): +class SubaccountsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str subaccounts: _list[Subaccount] @typing.type_check_only -class TagData(typing_extensions.TypedDict, total=False): +class TagData(typing.TypedDict, total=False): adId: str clickTag: str creativeId: str - format: typing_extensions.Literal[ + format: typing.Literal[ "PLACEMENT_TAG_STANDARD", "PLACEMENT_TAG_IFRAME_JAVASCRIPT", "PLACEMENT_TAG_IFRAME_ILAYER", @@ -3078,31 +3078,29 @@ class TagData(typing_extensions.TypedDict, total=False): impressionTag: str @typing.type_check_only -class TagSetting(typing_extensions.TypedDict, total=False): +class TagSetting(typing.TypedDict, total=False): additionalKeyValues: str includeClickThroughUrls: bool includeClickTracking: bool includeUnescapedlpurlMacro: bool - keywordOption: typing_extensions.Literal[ + keywordOption: typing.Literal[ "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", "IGNORE", "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD", ] @typing.type_check_only -class TagSettings(typing_extensions.TypedDict, total=False): +class TagSettings(typing.TypedDict, total=False): dynamicTagEnabled: bool imageTagEnabled: bool @typing.type_check_only -class TargetWindow(typing_extensions.TypedDict, total=False): +class TargetWindow(typing.TypedDict, total=False): customHtml: str - targetWindowOption: typing_extensions.Literal[ - "NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM" - ] + targetWindowOption: typing.Literal["NEW_WINDOW", "CURRENT_WINDOW", "CUSTOM"] @typing.type_check_only -class TargetableRemarketingList(typing_extensions.TypedDict, total=False): +class TargetableRemarketingList(typing.TypedDict, total=False): accountId: str active: bool advertiserId: str @@ -3112,7 +3110,7 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): kind: str lifeSpan: str listSize: str - listSource: typing_extensions.Literal[ + listSource: typing.Literal[ "REMARKETING_LIST_SOURCE_OTHER", "REMARKETING_LIST_SOURCE_ADX", "REMARKETING_LIST_SOURCE_DFP", @@ -3129,13 +3127,13 @@ class TargetableRemarketingList(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class TargetableRemarketingListsListResponse(typing_extensions.TypedDict, total=False): +class TargetableRemarketingListsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetableRemarketingLists: _list[TargetableRemarketingList] @typing.type_check_only -class TargetingTemplate(typing_extensions.TypedDict, total=False): +class TargetingTemplate(typing.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue @@ -3152,13 +3150,13 @@ class TargetingTemplate(typing_extensions.TypedDict, total=False): technologyTargeting: TechnologyTargeting @typing.type_check_only -class TargetingTemplatesListResponse(typing_extensions.TypedDict, total=False): +class TargetingTemplatesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str targetingTemplates: _list[TargetingTemplate] @typing.type_check_only -class TechnologyTargeting(typing_extensions.TypedDict, total=False): +class TechnologyTargeting(typing.TypedDict, total=False): browsers: _list[Browser] connectionTypes: _list[ConnectionType] mobileCarriers: _list[MobileCarrier] @@ -3167,13 +3165,13 @@ class TechnologyTargeting(typing_extensions.TypedDict, total=False): platformTypes: _list[PlatformType] @typing.type_check_only -class ThirdPartyAuthenticationToken(typing_extensions.TypedDict, total=False): +class ThirdPartyAuthenticationToken(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): - thirdPartyUrlType: typing_extensions.Literal[ +class ThirdPartyTrackingUrl(typing.TypedDict, total=False): + thirdPartyUrlType: typing.Literal[ "IMPRESSION", "CLICK_TRACKING", "VIDEO_START", @@ -3197,23 +3195,23 @@ class ThirdPartyTrackingUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class TranscodeSetting(typing_extensions.TypedDict, total=False): +class TranscodeSetting(typing.TypedDict, total=False): enabledVideoFormats: _list[int] kind: str @typing.type_check_only -class TvCampaignDetail(typing_extensions.TypedDict, total=False): +class TvCampaignDetail(typing.TypedDict, total=False): id: str kind: str timepoints: _list[TvCampaignTimepoint] @typing.type_check_only -class TvCampaignSummariesListResponse(typing_extensions.TypedDict, total=False): +class TvCampaignSummariesListResponse(typing.TypedDict, total=False): kind: str tvCampaignSummaries: _list[TvCampaignSummary] @typing.type_check_only -class TvCampaignSummary(typing_extensions.TypedDict, total=False): +class TvCampaignSummary(typing.TypedDict, total=False): endDate: str grp: str id: str @@ -3222,13 +3220,13 @@ class TvCampaignSummary(typing_extensions.TypedDict, total=False): name: str spend: float startDate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CAMPAIGN_COMPONENT_TYPE_UNSPECIFIED", "COMPANY", "BRAND", "PRODUCT", "CAMPAIGN" ] @typing.type_check_only -class TvCampaignTimepoint(typing_extensions.TypedDict, total=False): - dateWindow: typing_extensions.Literal[ +class TvCampaignTimepoint(typing.TypedDict, total=False): + dateWindow: typing.Literal[ "WEEKS_UNSPECIFIED", "DAYS_ONE", "WEEKS_ONE", @@ -3240,17 +3238,17 @@ class TvCampaignTimepoint(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): - registry: typing_extensions.Literal[ +class UniversalAdId(typing.TypedDict, total=False): + registry: typing.Literal[ "OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM", "ARPP", "CUSV" ] value: str @typing.type_check_only -class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal["STRING", "NUMBER"] +class UserDefinedVariableConfiguration(typing.TypedDict, total=False): + dataType: typing.Literal["STRING", "NUMBER"] reportName: str - variableType: typing_extensions.Literal[ + variableType: typing.Literal[ "U1", "U2", "U3", @@ -3354,13 +3352,13 @@ class UserDefinedVariableConfiguration(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class UserIdentifier(typing_extensions.TypedDict, total=False): +class UserIdentifier(typing.TypedDict, total=False): addressInfo: OfflineUserAddressInfo hashedEmail: str hashedPhoneNumber: str @typing.type_check_only -class UserProfile(typing_extensions.TypedDict, total=False): +class UserProfile(typing.TypedDict, total=False): accountId: str accountName: str etag: str @@ -3371,13 +3369,13 @@ class UserProfile(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class UserProfileList(typing_extensions.TypedDict, total=False): +class UserProfileList(typing.TypedDict, total=False): etag: str items: _list[UserProfile] kind: str @typing.type_check_only -class UserRole(typing_extensions.TypedDict, total=False): +class UserRole(typing.TypedDict, total=False): accountId: str defaultUserRole: bool id: str @@ -3388,8 +3386,8 @@ class UserRole(typing_extensions.TypedDict, total=False): subaccountId: str @typing.type_check_only -class UserRolePermission(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class UserRolePermission(typing.TypedDict, total=False): + availability: typing.Literal[ "NOT_AVAILABLE_BY_DEFAULT", "ACCOUNT_BY_DEFAULT", "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", @@ -3403,70 +3401,68 @@ class UserRolePermission(typing_extensions.TypedDict, total=False): permissionGroupId: str @typing.type_check_only -class UserRolePermissionGroup(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroup(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class UserRolePermissionGroupsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionGroupsListResponse(typing.TypedDict, total=False): kind: str userRolePermissionGroups: _list[UserRolePermissionGroup] @typing.type_check_only -class UserRolePermissionsListResponse(typing_extensions.TypedDict, total=False): +class UserRolePermissionsListResponse(typing.TypedDict, total=False): kind: str userRolePermissions: _list[UserRolePermission] @typing.type_check_only -class UserRolesListResponse(typing_extensions.TypedDict, total=False): +class UserRolesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str userRoles: _list[UserRole] @typing.type_check_only -class VideoFormat(typing_extensions.TypedDict, total=False): - fileType: typing_extensions.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] +class VideoFormat(typing.TypedDict, total=False): + fileType: typing.Literal["FLV", "THREEGPP", "MP4", "WEBM", "M3U8"] id: int kind: str resolution: Size targetBitRate: int @typing.type_check_only -class VideoFormatsListResponse(typing_extensions.TypedDict, total=False): +class VideoFormatsListResponse(typing.TypedDict, total=False): kind: str videoFormats: _list[VideoFormat] @typing.type_check_only -class VideoOffset(typing_extensions.TypedDict, total=False): +class VideoOffset(typing.TypedDict, total=False): offsetPercentage: int offsetSeconds: int @typing.type_check_only -class VideoProcessingData(typing_extensions.TypedDict, total=False): +class VideoProcessingData(typing.TypedDict, total=False): errorReason: str - processingState: typing_extensions.Literal[ - "UNKNOWN", "PROCESSING", "SUCCEEDED", "FAILED" - ] + processingState: typing.Literal["UNKNOWN", "PROCESSING", "SUCCEEDED", "FAILED"] @typing.type_check_only -class VideoSettings(typing_extensions.TypedDict, total=False): +class VideoSettings(typing.TypedDict, total=False): companionSettings: CompanionSetting durationSeconds: int kind: str obaEnabled: bool obaSettings: ObaIcon - orientation: typing_extensions.Literal["ANY", "LANDSCAPE", "PORTRAIT"] + orientation: typing.Literal["ANY", "LANDSCAPE", "PORTRAIT"] publisherSpecificationId: str skippableSettings: SkippableSetting transcodeSettings: TranscodeSetting @typing.type_check_only -class YoutubeSettings(typing_extensions.TypedDict, total=False): +class YoutubeSettings(typing.TypedDict, total=False): businessLogoCreativeIds: _list[str] businessName: str callToActions: _list[ - typing_extensions.Literal[ + typing.Literal[ "CALL_TO_ACTION_UNKNOWN", "CALL_TO_ACTION_LEARN_MORE", "CALL_TO_ACTION_GET_QUOTE", diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi index d3d247ccb..e2caa700b 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -110,7 +109,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -309,7 +308,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, parent: str, body: GoogleCloudDialogflowV2Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -323,7 +322,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -334,7 +333,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -353,7 +352,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, name: str, body: GoogleCloudDialogflowV2Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1208,7 +1207,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1412,7 +1411,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, parent: str, body: GoogleCloudDialogflowV2Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1426,7 +1425,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1437,7 +1436,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1458,7 +1457,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, name: str, body: GoogleCloudDialogflowV2Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi index 5b8b255ff..1c25b5533 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi @@ -1,13 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudDialogflowCxV3AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings @@ -15,7 +11,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -25,7 +21,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -33,7 +29,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -41,55 +37,41 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3AudioInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3BargeInConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse(typing.TypedDict, total=False): results: _list[GoogleCloudDialogflowCxV3TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurnUserInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurnUserInput(typing.TypedDict, total=False): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] input: GoogleCloudDialogflowCxV3QueryInput @@ -97,7 +79,7 @@ class GoogleCloudDialogflowCxV3ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3Page diagnosticInfo: dict[str, typing.Any] @@ -109,42 +91,36 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -155,26 +131,22 @@ class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool testCases: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentVersionConfig(typing.TypedDict, total=False): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig(typing.TypedDict, total=False): webhookOverrides: _list[GoogleCloudDialogflowCxV3Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -183,66 +155,54 @@ class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=F triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportEntityTypesResponse(typing.TypedDict, total=False): entityTypesContent: GoogleCloudDialogflowCxV3InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ExportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportIntentsResponse(typing.TypedDict, total=False): intentsContent: GoogleCloudDialogflowCxV3InlineDestination intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportTestCasesResponse(typing.TypedDict, total=False): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings defaultValue: typing.Any displayName: str @@ -253,15 +213,14 @@ class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total= required: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameterFillBehavior( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FormParameterFillBehavior(typing.TypedDict, total=False): initialPromptFulfillment: GoogleCloudDialogflowCxV3Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] @@ -273,13 +232,13 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent @@ -288,14 +247,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -303,24 +262,22 @@ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportEntityTypesResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources ) @@ -328,26 +285,20 @@ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ImportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportIntentsResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources ) @@ -355,34 +306,26 @@ class GoogleCloudDialogflowCxV3ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestCaseError] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesResponse(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -396,7 +339,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -408,7 +351,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -420,36 +363,30 @@ class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): trainingPhrases: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart(typing.TypedDict, total=False): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3DataStoreConnection] enabled: bool @@ -458,13 +395,13 @@ class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3LanguageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings description: str displayName: str @@ -477,31 +414,27 @@ class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): transitionRoutes: _list[GoogleCloudDialogflowCxV3TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3AudioInput dtmf: GoogleCloudDialogflowCxV3DtmfInput event: GoogleCloudDialogflowCxV3EventInput @@ -511,9 +444,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess endInteraction: GoogleCloudDialogflowCxV3ResponseMessageEndInteraction @@ -523,7 +454,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( outputAudioText: GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText payload: dict[str, typing.Any] playAudio: GoogleCloudDialogflowCxV3ResponseMessagePlayAudio - responseType: typing_extensions.Literal[ + responseType: typing.Literal[ "RESPONSE_TYPE_UNSPECIFIED", "ENTRY_PROMPT", "PARAMETER_PROMPT", @@ -535,35 +466,33 @@ class GoogleCloudDialogflowCxV3ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio(typing.TypedDict, total=False): segments: _list[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -571,62 +500,50 @@ class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio(typing.TypedDict, total=False): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestResponse(typing.TypedDict, total=False): continuousTestResult: GoogleCloudDialogflowCxV3ContinuousTestResult @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3RunTestCaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3SessionInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3TestCaseResult @@ -637,66 +554,60 @@ class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False testConfig: GoogleCloudDialogflowCxV3TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -706,13 +617,11 @@ class GoogleCloudDialogflowCxV3TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -723,7 +632,7 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService @@ -732,11 +641,9 @@ class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False) timeout: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookGenericWebService( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookGenericWebService(typing.TypedDict, total=False): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -756,18 +663,16 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -777,18 +682,18 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo @@ -809,14 +714,12 @@ class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo(typing.TypedDict, total=False): confidence: float displayName: str lastMatchedIntent: str @@ -824,22 +727,20 @@ class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse pageInfo: GoogleCloudDialogflowCxV3PageInfo payload: dict[str, typing.Any] @@ -849,24 +750,20 @@ class GoogleCloudDialogflowCxV3WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3beta1GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings @@ -874,7 +771,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -884,7 +781,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -892,7 +789,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -900,58 +797,46 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AudioInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3beta1InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1BargeInConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleCloudDialogflowCxV3beta1TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3beta1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] @@ -960,7 +845,7 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3beta1Page diagnosticInfo: dict[str, typing.Any] @@ -972,44 +857,36 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3beta1Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Environment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1020,7 +897,7 @@ class GoogleCloudDialogflowCxV3beta1Environment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool @@ -1028,20 +905,18 @@ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): webhookOverrides: _list[GoogleCloudDialogflowCxV3beta1Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventHandler( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -1050,70 +925,62 @@ class GoogleCloudDialogflowCxV3beta1EventHandler( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypesContent: GoogleCloudDialogflowCxV3beta1InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentsContent: GoogleCloudDialogflowCxV3beta1InlineDestination intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3beta1FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FormParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings defaultValue: typing.Any displayName: str @@ -1125,16 +992,15 @@ class GoogleCloudDialogflowCxV3beta1FormParameter( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): initialPromptFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3beta1EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Fulfillment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] @@ -1148,13 +1014,13 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent @@ -1163,14 +1029,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -1178,25 +1044,23 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources @@ -1205,25 +1069,23 @@ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources @@ -1232,34 +1094,30 @@ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestCaseError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3beta1InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -1273,7 +1131,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3beta1BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -1285,7 +1143,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -1297,38 +1155,32 @@ class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=Fa trainingPhrases: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3beta1DataStoreConnection] enabled: bool @@ -1337,15 +1189,13 @@ class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings description: str displayName: str @@ -1358,33 +1208,27 @@ class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=Fals transitionRoutes: _list[GoogleCloudDialogflowCxV3beta1TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3beta1PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1QueryInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3beta1AudioInput dtmf: GoogleCloudDialogflowCxV3beta1DtmfInput event: GoogleCloudDialogflowCxV3beta1EventInput @@ -1394,9 +1238,7 @@ class GoogleCloudDialogflowCxV3beta1QueryInput( toolCallResult: GoogleCloudDialogflowCxV3beta1ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: ( GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess @@ -1416,35 +1258,35 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -1452,7 +1294,7 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str @@ -1460,56 +1302,50 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): continuousTestResult: GoogleCloudDialogflowCxV3beta1ContinuousTestResult @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3beta1TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SessionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3beta1TestCaseResult @@ -1520,74 +1356,60 @@ class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total= testConfig: GoogleCloudDialogflowCxV3beta1TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3beta1TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3beta1ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3beta1ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -1597,15 +1419,11 @@ class GoogleCloudDialogflowCxV3beta1TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -1616,7 +1434,7 @@ class GoogleCloudDialogflowCxV3beta1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService @@ -1626,10 +1444,10 @@ class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -1649,18 +1467,16 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -1670,20 +1486,18 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo @@ -1704,13 +1518,13 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -1719,22 +1533,20 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: ( GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse ) @@ -1746,23 +1558,21 @@ class GoogleCloudDialogflowCxV3beta1WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowV2Agent(typing_extensions.TypedDict, total=False): - apiVersion: typing_extensions.Literal[ +class GoogleCloudDialogflowV2Agent(typing.TypedDict, total=False): + apiVersion: typing.Literal[ "API_VERSION_UNSPECIFIED", "API_VERSION_V1", "API_VERSION_V2", @@ -1774,27 +1584,25 @@ class GoogleCloudDialogflowV2Agent(typing_extensions.TypedDict, total=False): description: str displayName: str enableLogging: bool - matchMode: typing_extensions.Literal[ + matchMode: typing.Literal[ "MATCH_MODE_UNSPECIFIED", "MATCH_MODE_HYBRID", "MATCH_MODE_ML_ONLY" ] parent: str supportedLanguageCodes: _list[str] - tier: typing_extensions.Literal[ + tier: typing.Literal[ "TIER_UNSPECIFIED", "TIER_STANDARD", "TIER_ENTERPRISE", "TIER_ENTERPRISE_PLUS" ] timeZone: str @typing.type_check_only -class GoogleCloudDialogflowV2AgentAssistantFeedback( - typing_extensions.TypedDict, total=False -): - answerRelevance: typing_extensions.Literal[ +class GoogleCloudDialogflowV2AgentAssistantFeedback(typing.TypedDict, total=False): + answerRelevance: typing.Literal[ "ANSWER_RELEVANCE_UNSPECIFIED", "IRRELEVANT", "RELEVANT" ] - documentCorrectness: typing_extensions.Literal[ + documentCorrectness: typing.Literal[ "DOCUMENT_CORRECTNESS_UNSPECIFIED", "INCORRECT", "CORRECT" ] - documentEfficiency: typing_extensions.Literal[ + documentEfficiency: typing.Literal[ "DOCUMENT_EFFICIENCY_UNSPECIFIED", "INEFFICIENT", "EFFICIENT" ] knowledgeAssistFeedback: ( @@ -1809,21 +1617,21 @@ class GoogleCloudDialogflowV2AgentAssistantFeedback( @typing.type_check_only class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerCopied: bool clickedUris: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerCopied: bool clickedUris: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): startTime: str submitTime: str @@ -1831,27 +1639,21 @@ class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback( textSections: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2AgentAssistantRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentAssistantRecord(typing.TypedDict, total=False): articleSuggestionAnswer: GoogleCloudDialogflowV2ArticleAnswer dialogflowAssistAnswer: GoogleCloudDialogflowV2DialogflowAssistAnswer faqAnswer: GoogleCloudDialogflowV2FaqAnswer generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingContext(typing.TypedDict, total=False): instructions: _list[GoogleCloudDialogflowV2AgentCoachingInstruction] outputLanguageCode: str overarchingGuidance: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingInstruction(typing.TypedDict, total=False): agentAction: str condition: str displayDetails: str @@ -1860,7 +1662,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -1871,7 +1673,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -1879,16 +1681,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float suggestionIndex: int @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingSuggestion(typing.TypedDict, total=False): agentActionSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion ] @@ -1897,7 +1697,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -1907,7 +1707,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -1915,7 +1715,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -1924,7 +1724,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicat @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult @@ -1934,14 +1734,12 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2AnalyzeContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AnalyzeContentRequest(typing.TypedDict, total=False): assistQueryParams: GoogleCloudDialogflowV2AssistQueryParameters audioInput: GoogleCloudDialogflowV2AudioInput cxParameters: dict[str, typing.Any] @@ -1953,9 +1751,7 @@ class GoogleCloudDialogflowV2AnalyzeContentRequest( textInput: GoogleCloudDialogflowV2TextInput @typing.type_check_only -class GoogleCloudDialogflowV2AnalyzeContentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AnalyzeContentResponse(typing.TypedDict, total=False): automatedAgentReply: GoogleCloudDialogflowV2AutomatedAgentReply dtmfParameters: GoogleCloudDialogflowV2DtmfParameters endUserSuggestionResults: _list[GoogleCloudDialogflowV2SuggestionResult] @@ -1965,19 +1761,17 @@ class GoogleCloudDialogflowV2AnalyzeContentResponse( replyText: str @typing.type_check_only -class GoogleCloudDialogflowV2AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2AnswerFeedback(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2AnswerFeedback(typing.TypedDict, total=False): agentAssistantDetailFeedback: GoogleCloudDialogflowV2AgentAssistantFeedback clickTime: str clicked: bool - correctnessLevel: typing_extensions.Literal[ + correctnessLevel: typing.Literal[ "CORRECTNESS_LEVEL_UNSPECIFIED", "NOT_CORRECT", "PARTIALLY_CORRECT", @@ -1987,13 +1781,13 @@ class GoogleCloudDialogflowV2AnswerFeedback(typing_extensions.TypedDict, total=F displayed: bool @typing.type_check_only -class GoogleCloudDialogflowV2AnswerRecord(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2AnswerRecord(typing.TypedDict, total=False): agentAssistantRecord: GoogleCloudDialogflowV2AgentAssistantRecord answerFeedback: GoogleCloudDialogflowV2AnswerFeedback name: str @typing.type_check_only -class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ArticleAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float metadata: dict[str, typing.Any] @@ -2003,80 +1797,66 @@ class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - trainingModelType: typing_extensions.Literal[ + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", ] @typing.type_check_only -class GoogleCloudDialogflowV2AssistQueryParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AssistQueryParameters(typing.TypedDict, total=False): documentsMetadataFilters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2AudioInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowV2InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowV2AutomatedAgentConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AutomatedAgentConfig(typing.TypedDict, total=False): agent: str sessionTtl: str @typing.type_check_only -class GoogleCloudDialogflowV2AutomatedAgentReply( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AutomatedAgentReply(typing.TypedDict, total=False): allowCancellation: bool - automatedAgentReplyType: typing_extensions.Literal[ + automatedAgentReplyType: typing.Literal[ "AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED", "PARTIAL", "FINAL" ] cxCurrentPage: str detectIntentResponse: GoogleCloudDialogflowV2DetectIntentResponse @typing.type_check_only -class GoogleCloudDialogflowV2BatchCreateEntitiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchCreateEntitiesRequest(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] languageCode: str @typing.type_check_only -class GoogleCloudDialogflowV2BatchDeleteEntitiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchDeleteEntitiesRequest(typing.TypedDict, total=False): entityValues: _list[str] languageCode: str @typing.type_check_only class GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypeNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2BatchDeleteIntentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchDeleteIntentsRequest(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2Intent] @typing.type_check_only -class GoogleCloudDialogflowV2BatchUpdateEntitiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchUpdateEntitiesRequest(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] languageCode: str updateMask: str @typing.type_check_only class GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypeBatchInline: GoogleCloudDialogflowV2EntityTypeBatch entityTypeBatchUri: str @@ -2085,52 +1865,48 @@ class GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest( @typing.type_check_only class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2EntityType] @typing.type_check_only -class GoogleCloudDialogflowV2BatchUpdateIntentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchUpdateIntentsRequest(typing.TypedDict, total=False): intentBatchInline: GoogleCloudDialogflowV2IntentBatch intentBatchUri: str - intentView: typing_extensions.Literal["INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL"] + intentView: typing.Literal["INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL"] languageCode: str updateMask: str @typing.type_check_only -class GoogleCloudDialogflowV2BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchUpdateIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2Intent] @typing.type_check_only -class GoogleCloudDialogflowV2CesAppSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2CesAppSpec(typing.TypedDict, total=False): cesApp: str - confirmationRequirement: typing_extensions.Literal[ + confirmationRequirement: typing.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] proactiveEnabled: bool reactiveEnabled: bool @typing.type_check_only -class GoogleCloudDialogflowV2CesToolSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2CesToolSpec(typing.TypedDict, total=False): cesTool: str - confirmationRequirement: typing_extensions.Literal[ + confirmationRequirement: typing.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] @typing.type_check_only class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -2142,12 +1918,12 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -2159,14 +1935,14 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest( @typing.type_check_only class GoogleCloudDialogflowV2CompleteConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowV2Connection(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Connection(typing.TypedDict, total=False): connectionId: str errorDetails: GoogleCloudDialogflowV2ConnectionErrorDetails - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONNECTED", "DISCONNECTED", @@ -2176,10 +1952,8 @@ class GoogleCloudDialogflowV2Connection(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2ConnectionErrorDetails( - typing_extensions.TypedDict, total=False -): - certificateState: typing_extensions.Literal[ +class GoogleCloudDialogflowV2ConnectionErrorDetails(typing.TypedDict, total=False): + certificateState: typing.Literal[ "CERTIFICATE_STATE_UNSPECIFIED", "CERTIFICATE_VALID", "CERTIFICATE_INVALID", @@ -2193,22 +1967,22 @@ class GoogleCloudDialogflowV2ConnectionErrorDetails( errorMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2Conversation(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Conversation(typing.TypedDict, total=False): conversationProfile: str - conversationStage: typing_extensions.Literal[ + conversationStage: typing.Literal[ "CONVERSATION_STAGE_UNSPECIFIED", "VIRTUAL_AGENT_STAGE", "HUMAN_ASSIST_STAGE" ] endTime: str ingestedContextReferences: dict[str, typing.Any] initialConversationProfile: GoogleCloudDialogflowV2ConversationProfile initialGeneratorContexts: dict[str, typing.Any] - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED" ] name: str @@ -2217,39 +1991,31 @@ class GoogleCloudDialogflowV2Conversation(typing_extensions.TypedDict, total=Fal telephonyConnectionInfo: GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo @typing.type_check_only -class GoogleCloudDialogflowV2ConversationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationContext(typing.TypedDict, total=False): messageEntries: _list[GoogleCloudDialogflowV2MessageEntry] @typing.type_check_only class GoogleCloudDialogflowV2ConversationContextReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextContents: _list[ GoogleCloudDialogflowV2ConversationContextReferenceContextContent ] createTime: str languageCode: str - updateMode: typing_extensions.Literal[ - "UPDATE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE" - ] + updateMode: typing.Literal["UPDATE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE"] @typing.type_check_only class GoogleCloudDialogflowV2ConversationContextReferenceContextContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str content: str - contentFormat: typing_extensions.Literal[ - "CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT" - ] + contentFormat: typing.Literal["CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT"] ingestionTime: str @typing.type_check_only -class GoogleCloudDialogflowV2ConversationDataset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationDataset(typing.TypedDict, total=False): conversationCount: str conversationInfo: GoogleCloudDialogflowV2ConversationInfo createTime: str @@ -2261,14 +2027,12 @@ class GoogleCloudDialogflowV2ConversationDataset( satisfiesPzs: bool @typing.type_check_only -class GoogleCloudDialogflowV2ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2Message newRecognitionResultPayload: GoogleCloudDialogflowV2StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -2280,9 +2044,9 @@ class GoogleCloudDialogflowV2ConversationEvent( @typing.type_check_only class GoogleCloudDialogflowV2ConversationGeneratorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - generatorType: typing_extensions.Literal[ + generatorType: typing.Literal[ "GENERATOR_TYPE_UNSPECIFIED", "FREE_FORM", "AGENT_COACHING", @@ -2293,13 +2057,11 @@ class GoogleCloudDialogflowV2ConversationGeneratorContext( ] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ConversationInfo(typing.TypedDict, total=False): languageCode: str @typing.type_check_only -class GoogleCloudDialogflowV2ConversationModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationModel(typing.TypedDict, total=False): articleSuggestionModelMetadata: ( GoogleCloudDialogflowV2ArticleSuggestionModelMetadata ) @@ -2311,7 +2073,7 @@ class GoogleCloudDialogflowV2ConversationModel( satisfiesPzi: bool satisfiesPzs: bool smartReplyModelMetadata: GoogleCloudDialogflowV2SmartReplyModelMetadata - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UNDEPLOYED", @@ -2324,9 +2086,7 @@ class GoogleCloudDialogflowV2ConversationModel( ] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationModelEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationModelEvaluation(typing.TypedDict, total=False): createTime: str displayName: str evaluationConfig: GoogleCloudDialogflowV2EvaluationConfig @@ -2335,16 +2095,12 @@ class GoogleCloudDialogflowV2ConversationModelEvaluation( smartReplyMetrics: GoogleCloudDialogflowV2SmartReplyMetrics @typing.type_check_only -class GoogleCloudDialogflowV2ConversationPhoneNumber( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationPhoneNumber(typing.TypedDict, total=False): countryCode: int phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowV2ConversationProfile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationProfile(typing.TypedDict, total=False): automatedAgentConfig: GoogleCloudDialogflowV2AutomatedAgentConfig createTime: str displayName: str @@ -2365,7 +2121,7 @@ class GoogleCloudDialogflowV2ConversationProfile( @typing.type_check_only class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialedNumber: str extraMimeContents: _list[ @@ -2378,32 +2134,32 @@ class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo( @typing.type_check_only class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str conversationModelEvaluation: str createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "RUNNING", @@ -2414,18 +2170,18 @@ class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModelEvaluation: GoogleCloudDialogflowV2ConversationModelEvaluation @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -2436,10 +2192,8 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2CustomPronunciationParams( - typing_extensions.TypedDict, total=False -): - phoneticEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowV2CustomPronunciationParams(typing.TypedDict, total=False): + phoneticEncoding: typing.Literal[ "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", "PHONETIC_ENCODING_X_SAMPA", @@ -2449,12 +2203,12 @@ class GoogleCloudDialogflowV2CustomPronunciationParams( @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str @@ -2462,7 +2216,7 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str @@ -2470,13 +2224,11 @@ class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowV2DetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2DetectIntentRequest(typing.TypedDict, total=False): inputAudio: str outputAudioConfig: GoogleCloudDialogflowV2OutputAudioConfig outputAudioConfigMask: str @@ -2484,9 +2236,7 @@ class GoogleCloudDialogflowV2DetectIntentRequest( queryParams: GoogleCloudDialogflowV2QueryParameters @typing.type_check_only -class GoogleCloudDialogflowV2DetectIntentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2DetectIntentResponse(typing.TypedDict, total=False): outputAudio: str outputAudioConfig: GoogleCloudDialogflowV2OutputAudioConfig queryResult: GoogleCloudDialogflowV2QueryResult @@ -2494,20 +2244,18 @@ class GoogleCloudDialogflowV2DetectIntentResponse( webhookStatus: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDialogflowV2DialogflowAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2DialogflowAssistAnswer(typing.TypedDict, total=False): answerRecord: str intentSuggestion: GoogleCloudDialogflowV2IntentSuggestion queryResult: GoogleCloudDialogflowV2QueryResult @typing.type_check_only -class GoogleCloudDialogflowV2Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Document(typing.TypedDict, total=False): contentUri: str displayName: str enableAutoReload: bool knowledgeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "KNOWLEDGE_TYPE_UNSPECIFIED", "FAQ", "EXTRACTIVE_QA", @@ -2520,136 +2268,118 @@ class GoogleCloudDialogflowV2Document(typing_extensions.TypedDict, total=False): mimeType: str name: str rawContent: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "RELOADING", "DELETING" ] @typing.type_check_only -class GoogleCloudDialogflowV2DocumentReloadStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2DocumentReloadStatus(typing.TypedDict, total=False): status: GoogleRpcStatus time: str @typing.type_check_only -class GoogleCloudDialogflowV2DtmfParameters(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2DtmfParameters(typing.TypedDict, total=False): acceptsDtmfInput: bool @typing.type_check_only -class GoogleCloudDialogflowV2EncryptionSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityTypeBatch(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EntityTypeBatch(typing.TypedDict, total=False): entityTypes: _list[GoogleCloudDialogflowV2EntityType] @typing.type_check_only -class GoogleCloudDialogflowV2EntityTypeEntity(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2Environment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Environment(typing.TypedDict, total=False): agentVersion: str description: str fulfillment: GoogleCloudDialogflowV2Fulfillment name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STOPPED", "LOADING", "RUNNING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STOPPED", "LOADING", "RUNNING"] textToSpeechSettings: GoogleCloudDialogflowV2TextToSpeechSettings updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2EnvironmentHistory( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2EnvironmentHistory(typing.TypedDict, total=False): entries: _list[GoogleCloudDialogflowV2EnvironmentHistoryEntry] nextPageToken: str parent: str @typing.type_check_only -class GoogleCloudDialogflowV2EnvironmentHistoryEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2EnvironmentHistoryEntry(typing.TypedDict, total=False): agentVersion: str createTime: str description: str @typing.type_check_only -class GoogleCloudDialogflowV2EvaluationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EvaluationConfig(typing.TypedDict, total=False): datasets: _list[GoogleCloudDialogflowV2InputDataset] smartComposeConfig: GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig smartReplyConfig: GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig @typing.type_check_only class GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowlistDocument: str maxResultCount: int @typing.type_check_only class GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowlistDocument: str maxResultCount: int @typing.type_check_only -class GoogleCloudDialogflowV2EvaluationStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EvaluationStatus(typing.TypedDict, total=False): done: bool pipelineStatus: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDialogflowV2EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ExportAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportAgentRequest(typing.TypedDict, total=False): agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2ExportDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportDocumentRequest(typing.TypedDict, total=False): exportFullContent: bool gcsDestination: GoogleCloudDialogflowV2GcsDestination smartMessagingPartialUpdate: bool @typing.type_check_only -class GoogleCloudDialogflowV2ExportOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportOperationMetadata(typing.TypedDict, total=False): exportedGcsDestination: GoogleCloudDialogflowV2GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -2658,24 +2388,22 @@ class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False) source: str @typing.type_check_only -class GoogleCloudDialogflowV2FewShotExample(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2FewShotExample(typing.TypedDict, total=False): conversationContext: GoogleCloudDialogflowV2ConversationContext extraInfo: dict[str, typing.Any] output: GoogleCloudDialogflowV2GeneratorSuggestion summarizationSectionList: GoogleCloudDialogflowV2SummarizationSectionList @typing.type_check_only -class GoogleCloudDialogflowV2FreeFormContext(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2FreeFormContext(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowV2FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2Fulfillment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Fulfillment(typing.TypedDict, total=False): displayName: str enabled: bool features: _list[GoogleCloudDialogflowV2FulfillmentFeature] @@ -2683,14 +2411,12 @@ class GoogleCloudDialogflowV2Fulfillment(typing_extensions.TypedDict, total=Fals name: str @typing.type_check_only -class GoogleCloudDialogflowV2FulfillmentFeature( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SMALLTALK"] +class GoogleCloudDialogflowV2FulfillmentFeature(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "SMALLTALK"] @typing.type_check_only class GoogleCloudDialogflowV2FulfillmentGenericWebService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isCloudFunction: bool password: str @@ -2699,16 +2425,16 @@ class GoogleCloudDialogflowV2FulfillmentGenericWebService( username: str @typing.type_check_only -class GoogleCloudDialogflowV2GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowV2GcsSources(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2GcsSources(typing.TypedDict, total=False): uris: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferences: dict[str, typing.Any] conversationContext: GoogleCloudDialogflowV2ConversationContext @@ -2716,7 +2442,7 @@ class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest( generatorName: str securitySettings: str triggerEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -2727,13 +2453,13 @@ class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest( @typing.type_check_only class GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion @typing.type_check_only class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: GoogleCloudDialogflowV2ConversationProfile latestMessage: str @@ -2744,13 +2470,13 @@ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest( @typing.type_check_only class GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messages: _list[GoogleCloudDialogflowV2Message] @typing.type_check_only class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @@ -2758,19 +2484,17 @@ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse( @typing.type_check_only class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineModelVersion: str text: str textSections: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2GenerateSuggestionsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GenerateSuggestionsRequest(typing.TypedDict, total=False): latestMessage: str triggerEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -2780,9 +2504,7 @@ class GoogleCloudDialogflowV2GenerateSuggestionsRequest( ] @typing.type_check_only -class GoogleCloudDialogflowV2GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GenerateSuggestionsResponse(typing.TypedDict, total=False): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer ] @@ -2790,14 +2512,14 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2Generator(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Generator(typing.TypedDict, total=False): agentCoachingContext: GoogleCloudDialogflowV2AgentCoachingContext cesAppSpecs: _list[GoogleCloudDialogflowV2CesAppSpec] cesToolSpecs: _list[GoogleCloudDialogflowV2CesToolSpec] @@ -2811,7 +2533,7 @@ class GoogleCloudDialogflowV2Generator(typing_extensions.TypedDict, total=False) summarizationContext: GoogleCloudDialogflowV2SummarizationContext tools: _list[str] toolsetTools: _list[GoogleCloudDialogflowV2ToolsetTool] - triggerEvent: typing_extensions.Literal[ + triggerEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -2821,9 +2543,7 @@ class GoogleCloudDialogflowV2Generator(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2GeneratorEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GeneratorEvaluation(typing.TypedDict, total=False): completeTime: str createTime: str displayName: str @@ -2836,9 +2556,7 @@ class GoogleCloudDialogflowV2GeneratorEvaluation( summarizationMetrics: GoogleCloudDialogflowV2SummarizationEvaluationMetrics @typing.type_check_only -class GoogleCloudDialogflowV2GeneratorEvaluationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GeneratorEvaluationConfig(typing.TypedDict, total=False): inputDataConfig: GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig outputGcsBucketPath: str summarizationConfig: ( @@ -2847,20 +2565,20 @@ class GoogleCloudDialogflowV2GeneratorEvaluationConfig( @typing.type_check_only class GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only class GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str @typing.type_check_only class GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAssistInputDataConfig: ( GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig @@ -2869,7 +2587,7 @@ class GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig( GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig ) endTime: str - inputDataSourceType: typing_extensions.Literal[ + inputDataSourceType: typing.Literal[ "INPUT_DATA_SOURCE_TYPE_UNSPECIFIED", "AGENT_ASSIST_CONVERSATIONS", "INSIGHTS_CONVERSATIONS", @@ -2877,7 +2595,7 @@ class GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig( isSummaryGenerationAllowed: bool sampleSize: int startTime: str - summaryGenerationOption: typing_extensions.Literal[ + summaryGenerationOption: typing.Literal[ "SUMMARY_GENERATION_OPTION_UNSPECIFIED", "ALWAYS_GENERATE", "GENERATE_IF_MISSING", @@ -2886,7 +2604,7 @@ class GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig( @typing.type_check_only class GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyEvaluationVersion: str completenessEvaluationVersion: str @@ -2895,9 +2613,7 @@ class GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig( evaluatorVersion: str @typing.type_check_only -class GoogleCloudDialogflowV2GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion @@ -2905,15 +2621,13 @@ class GoogleCloudDialogflowV2GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2ToolCall toolCallResult: GoogleCloudDialogflowV2ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowV2HumanAgentAssistantConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2HumanAgentAssistantConfig(typing.TypedDict, total=False): endUserSuggestionConfig: ( GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig ) @@ -2927,20 +2641,20 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfig( @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineModelVersion: str model: str @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSentencesCount: int @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableEntityExtraction: bool enableSentimentAnalysis: bool @@ -2948,7 +2662,7 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig( @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableHighLatencyFeaturesSyncDelivery: bool enableAsyncToolCall: bool @@ -2962,7 +2676,7 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig( @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModelConfig: ( GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig @@ -2980,7 +2694,7 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig( queryConfig: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig raiSettings: GoogleCloudDialogflowV2RaiSettings suggestionFeature: GoogleCloudDialogflowV2SuggestionFeature - suggestionTriggerEvent: typing_extensions.Literal[ + suggestionTriggerEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -2993,7 +2707,7 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig( @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float contextFilterSettings: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings @@ -3008,7 +2722,7 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig( @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dropHandoffMessages: bool dropIvrMessages: bool @@ -3016,35 +2730,35 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigConte @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str humanAgentSideConfig: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): knowledgeBases: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sectionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SITUATION", "ACTION", @@ -3057,23 +2771,19 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSecti @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): noSmalltalk: bool onlyEndUser: bool @typing.type_check_only -class GoogleCloudDialogflowV2HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2HumanAgentAssistantEvent(typing.TypedDict, total=False): conversation: str participant: str suggestionResults: _list[GoogleCloudDialogflowV2SuggestionResult] @typing.type_check_only -class GoogleCloudDialogflowV2HumanAgentHandoffConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2HumanAgentHandoffConfig(typing.TypedDict, total=False): livePersonConfig: GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig salesforceLiveAgentConfig: ( GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig @@ -3081,13 +2791,13 @@ class GoogleCloudDialogflowV2HumanAgentHandoffConfig( @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountNumber: str @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): buttonId: str deploymentId: str @@ -3095,15 +2805,13 @@ class GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig( organizationId: str @typing.type_check_only -class GoogleCloudDialogflowV2ImportAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ImportAgentRequest(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str createTime: str @@ -3111,23 +2819,21 @@ class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str importCount: int @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputConfig: GoogleCloudDialogflowV2InputConfig @typing.type_check_only -class GoogleCloudDialogflowV2ImportDocumentTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ImportDocumentTemplate(typing.TypedDict, total=False): knowledgeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "KNOWLEDGE_TYPE_UNSPECIFIED", "FAQ", "EXTRACTIVE_QA", @@ -3139,23 +2845,17 @@ class GoogleCloudDialogflowV2ImportDocumentTemplate( mimeType: str @typing.type_check_only -class GoogleCloudDialogflowV2ImportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ImportDocumentsRequest(typing.TypedDict, total=False): documentTemplate: GoogleCloudDialogflowV2ImportDocumentTemplate gcsSource: GoogleCloudDialogflowV2GcsSources importGcsCustomMetadata: bool @typing.type_check_only -class GoogleCloudDialogflowV2ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ImportDocumentsResponse(typing.TypedDict, total=False): warnings: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDialogflowV2InferenceParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2InferenceParameter(typing.TypedDict, total=False): maxOutputTokens: int temperature: float topK: int @@ -3163,19 +2863,19 @@ class GoogleCloudDialogflowV2InferenceParameter( @typing.type_check_only class GoogleCloudDialogflowV2IngestContextReferencesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferences: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2IngestContextReferencesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ingestedContextReferences: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -3185,9 +2885,9 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -3200,19 +2900,19 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterD @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2InputAudioConfig(typing_extensions.TypedDict, total=False): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowV2InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -3225,10 +2925,11 @@ class GoogleCloudDialogflowV2InputAudioConfig(typing_extensions.TypedDict, total ] disableNoSpeechRecognizedEvent: bool enableAutomaticPunctuation: bool + enableVoiceActivityEvents: bool enableWordInfo: bool languageCode: str model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -3242,18 +2943,18 @@ class GoogleCloudDialogflowV2InputAudioConfig(typing_extensions.TypedDict, total speechContexts: _list[GoogleCloudDialogflowV2SpeechContext] @typing.type_check_only -class GoogleCloudDialogflowV2InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2InputConfig(typing.TypedDict, total=False): gcsSource: GoogleCloudDialogflowV2GcsSources @typing.type_check_only -class GoogleCloudDialogflowV2InputDataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2InputDataset(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -3283,25 +2984,23 @@ class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentBatch(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentBatch(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2Intent] @typing.type_check_only -class GoogleCloudDialogflowV2IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentFollowupIntentInfo(typing.TypedDict, total=False): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2IntentMessageCard @@ -3311,7 +3010,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa listSelect: GoogleCloudDialogflowV2IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -3330,9 +3029,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa text: GoogleCloudDialogflowV2IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -3341,22 +3038,22 @@ class GoogleCloudDialogflowV2IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -3369,7 +3066,7 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -3379,38 +3076,32 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIt @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageCardButton] imageUri: str subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCardButton( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCardButton(typing.TypedDict, total=False): postback: str text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCarouselSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -3419,56 +3110,48 @@ class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageListSelectItem] subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelectItem(typing.TypedDict, total=False): description: str image: GoogleCloudDialogflowV2IntentMessageImage info: GoogleCloudDialogflowV2IntentMessageSelectItemInfo title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageMediaContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageMediaContent(typing.TypedDict, total=False): mediaObjects: _list[ GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -3477,49 +3160,37 @@ class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( name: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageQuickReplies(typing.TypedDict, total=False): quickReplies: _list[str] title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSelectItemInfo(typing.TypedDict, total=False): key: str synonyms: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSimpleResponse(typing.TypedDict, total=False): displayText: str ssml: str textToSpeech: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2IntentMessageSimpleResponse] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestion(typing.TypedDict, total=False): title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestions(typing.TypedDict, total=False): suggestions: _list[GoogleCloudDialogflowV2IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2IntentMessageColumnProperties] image: GoogleCloudDialogflowV2IntentMessageImage @@ -3528,26 +3199,20 @@ class GoogleCloudDialogflowV2IntentMessageTableCard( title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardCell(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardRow(typing.TypedDict, total=False): cells: _list[GoogleCloudDialogflowV2IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -3558,33 +3223,27 @@ class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total= value: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentSuggestion(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentSuggestion(typing.TypedDict, total=False): description: str displayName: str intentV2: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrasePart(typing.TypedDict, total=False): alias: str entityType: str text: str userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @@ -3592,14 +3251,14 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource @@ -3613,7 +3272,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -3622,13 +3281,13 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -3636,7 +3295,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -3645,7 +3304,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -3654,17 +3313,15 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo(typing.TypedDict, total=False): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -3682,7 +3339,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -3691,7 +3348,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -3708,7 +3365,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -3730,51 +3387,49 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeBase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2KnowledgeBase(typing.TypedDict, total=False): displayName: str languageCode: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeOperationMetadata(typing.TypedDict, total=False): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only -class GoogleCloudDialogflowV2ListAnswerRecordsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListAnswerRecordsResponse(typing.TypedDict, total=False): answerRecords: _list[GoogleCloudDialogflowV2AnswerRecord] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListContextsResponse(typing.TypedDict, total=False): contexts: _list[GoogleCloudDialogflowV2Context] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2ListConversationDatasetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDatasets: _list[GoogleCloudDialogflowV2ConversationDataset] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModelEvaluations: _list[ GoogleCloudDialogflowV2ConversationModelEvaluation @@ -3783,177 +3438,143 @@ class GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse( @typing.type_check_only class GoogleCloudDialogflowV2ListConversationModelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModels: _list[GoogleCloudDialogflowV2ConversationModel] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2ListConversationProfilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfiles: _list[GoogleCloudDialogflowV2ConversationProfile] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListConversationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListConversationsResponse(typing.TypedDict, total=False): conversations: _list[GoogleCloudDialogflowV2Conversation] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListDocumentsResponse(typing.TypedDict, total=False): documents: _list[GoogleCloudDialogflowV2Document] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListEntityTypesResponse(typing.TypedDict, total=False): entityTypes: _list[GoogleCloudDialogflowV2EntityType] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListEnvironmentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListEnvironmentsResponse(typing.TypedDict, total=False): environments: _list[GoogleCloudDialogflowV2Environment] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorEvaluations: _list[GoogleCloudDialogflowV2GeneratorEvaluation] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListGeneratorsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListGeneratorsResponse(typing.TypedDict, total=False): generators: _list[GoogleCloudDialogflowV2Generator] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2Intent] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListKnowledgeBasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListKnowledgeBasesResponse(typing.TypedDict, total=False): knowledgeBases: _list[GoogleCloudDialogflowV2KnowledgeBase] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListMessagesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListMessagesResponse(typing.TypedDict, total=False): messages: _list[GoogleCloudDialogflowV2Message] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2ListParticipantsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListParticipantsResponse(typing.TypedDict, total=False): nextPageToken: str participants: _list[GoogleCloudDialogflowV2Participant] @typing.type_check_only class GoogleCloudDialogflowV2ListSessionEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessionEntityTypes: _list[GoogleCloudDialogflowV2SessionEntityType] @typing.type_check_only -class GoogleCloudDialogflowV2ListSipTrunksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListSipTrunksResponse(typing.TypedDict, total=False): nextPageToken: str sipTrunks: _list[GoogleCloudDialogflowV2SipTrunk] @typing.type_check_only -class GoogleCloudDialogflowV2ListToolsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListToolsResponse(typing.TypedDict, total=False): nextPageToken: str tools: _list[GoogleCloudDialogflowV2Tool] @typing.type_check_only -class GoogleCloudDialogflowV2ListVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[GoogleCloudDialogflowV2Version] @typing.type_check_only -class GoogleCloudDialogflowV2LoggingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2LoggingConfig(typing.TypedDict, total=False): enableStackdriverLogging: bool @typing.type_check_only -class GoogleCloudDialogflowV2Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] sendTime: str sentimentAnalysis: GoogleCloudDialogflowV2SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2AnnotatedMessagePart] @typing.type_check_only -class GoogleCloudDialogflowV2MessageEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2MessageEntry(typing.TypedDict, total=False): createTime: str languageCode: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] text: str @typing.type_check_only -class GoogleCloudDialogflowV2NotificationConfig( - typing_extensions.TypedDict, total=False -): - messageFormat: typing_extensions.Literal[ - "MESSAGE_FORMAT_UNSPECIFIED", "PROTO", "JSON" - ] +class GoogleCloudDialogflowV2NotificationConfig(typing.TypedDict, total=False): + messageFormat: typing.Literal["MESSAGE_FORMAT_UNSPECIFIED", "PROTO", "JSON"] topic: str @typing.type_check_only -class GoogleCloudDialogflowV2OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2OriginalDetectIntentRequest(typing.TypedDict, total=False): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2OutputAudio(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2OutputAudio(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowV2OutputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowV2OutputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowV2OutputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", "OUTPUT_AUDIO_ENCODING_LINEAR_16", "OUTPUT_AUDIO_ENCODING_MP3", @@ -3966,8 +3587,8 @@ class GoogleCloudDialogflowV2OutputAudioConfig( synthesizeSpeechConfig: GoogleCloudDialogflowV2SynthesizeSpeechConfig @typing.type_check_only -class GoogleCloudDialogflowV2Participant(typing_extensions.TypedDict, total=False): - agentDesktopSource: typing_extensions.Literal[ +class GoogleCloudDialogflowV2Participant(typing.TypedDict, total=False): + agentDesktopSource: typing.Literal[ "AGENT_DESKTOP_SOURCE_UNSPECIFIED", "LIVE_PERSON", "GENESYS_CLOUD", @@ -3978,19 +3599,27 @@ class GoogleCloudDialogflowV2Participant(typing_extensions.TypedDict, total=Fals documentsMetadataFilters: dict[str, typing.Any] name: str obfuscatedExternalUserId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] sipRecordingMediaLabel: str @typing.type_check_only -class GoogleCloudDialogflowV2QueryInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ProbeDetails(typing.TypedDict, total=False): + initTime: str + optionsLatency: str + probeStatus: typing.Literal[ + "PROBE_STATUS_UNSPECIFIED", "PROBE_STATUS_SUCCESS", "PROBE_STATUS_FAILED" + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2QueryInput(typing.TypedDict, total=False): audioConfig: GoogleCloudDialogflowV2InputAudioConfig event: GoogleCloudDialogflowV2EventInput text: GoogleCloudDialogflowV2TextInput @typing.type_check_only -class GoogleCloudDialogflowV2QueryParameters(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2QueryParameters(typing.TypedDict, total=False): contexts: _list[GoogleCloudDialogflowV2Context] geoLocation: GoogleTypeLatLng payload: dict[str, typing.Any] @@ -4004,7 +3633,7 @@ class GoogleCloudDialogflowV2QueryParameters(typing_extensions.TypedDict, total= webhookHeaders: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -4023,21 +3652,21 @@ class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=Fals webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2RaiSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2RaiSettings(typing.TypedDict, total=False): raiCategoryConfigs: _list[GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig] @typing.type_check_only class GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "RAI_CATEGORY_UNSPECIFIED", "DANGEROUS_CONTENT", "SEXUALLY_EXPLICIT", "HARASSMENT", "HATE_SPEECH", ] - sensitivityLevel: typing_extensions.Literal[ + sensitivityLevel: typing.Literal[ "SENSITIVITY_LEVEL_UNSPECIFIED", "BLOCK_MOST", "BLOCK_SOME", @@ -4046,41 +3675,33 @@ class GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig( ] @typing.type_check_only -class GoogleCloudDialogflowV2ReloadDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ReloadDocumentRequest(typing.TypedDict, total=False): contentUri: str importGcsCustomMetadata: bool smartMessagingPartialUpdate: bool @typing.type_check_only -class GoogleCloudDialogflowV2RestoreAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2RestoreAgentRequest(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2SearchAgentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SearchAgentsResponse(typing.TypedDict, total=False): agents: _list[GoogleCloudDialogflowV2Agent] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2SearchKnowledgeAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SearchKnowledgeAnswer(typing.TypedDict, total=False): answer: str answerRecord: str answerSources: _list[GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource] - answerType: typing_extensions.Literal[ + answerType: typing.Literal[ "ANSWER_TYPE_UNSPECIFIED", "FAQ", "GENERATIVE", "INTENT", "PLAYBOOK", "EVENT" ] @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] snippet: str @@ -4088,10 +3709,9 @@ class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource( uri: str @typing.type_check_only -class GoogleCloudDialogflowV2SearchKnowledgeDebugInfo( - typing_extensions.TypedDict, total=False -): - datastoreResponseReason: typing_extensions.Literal[ +class GoogleCloudDialogflowV2SearchKnowledgeDebugInfo(typing.TypedDict, total=False): + cesDebugInfo: dict[str, typing.Any] + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -4113,16 +3733,14 @@ class GoogleCloudDialogflowV2SearchKnowledgeDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool endUserMetadataIncluded: bool thirdPartyConnectorAllowed: bool @typing.type_check_only -class GoogleCloudDialogflowV2SearchKnowledgeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SearchKnowledgeRequest(typing.TypedDict, total=False): conversation: str conversationProfile: str endUserMetadata: dict[str, typing.Any] @@ -4130,7 +3748,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeRequest( latestMessage: str parent: str query: GoogleCloudDialogflowV2TextInput - querySource: typing_extensions.Literal[ + querySource: typing.Literal[ "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" ] searchConfig: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig @@ -4138,7 +3756,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeRequest( @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpecs: _list[ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs @@ -4149,7 +3767,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig( @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStores: _list[str] spec: _list[ @@ -4158,7 +3776,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs( @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec @@ -4166,7 +3784,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSp @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec @@ -4174,67 +3792,61 @@ class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSp @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStores: _list[str] filter: str @typing.type_check_only -class GoogleCloudDialogflowV2SearchKnowledgeResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SearchKnowledgeResponse(typing.TypedDict, total=False): answers: _list[GoogleCloudDialogflowV2SearchKnowledgeAnswer] rewrittenQuery: str searchKnowledgeDebugInfo: GoogleCloudDialogflowV2SearchKnowledgeDebugInfo @typing.type_check_only -class GoogleCloudDialogflowV2Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only class GoogleCloudDialogflowV2SentimentAnalysisRequestConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyzeQueryTextSentiment: bool @typing.type_check_only -class GoogleCloudDialogflowV2SentimentAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SentimentAnalysisResult(typing.TypedDict, total=False): queryTextSentiment: GoogleCloudDialogflowV2Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -4242,11 +3854,9 @@ class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -4255,14 +3865,14 @@ class GoogleCloudDialogflowV2SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -4274,9 +3884,9 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] suggestionFeatureConfig: ( @@ -4284,7 +3894,7 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest( ) @typing.type_check_only -class GoogleCloudDialogflowV2SipConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SipConfig(typing.TypedDict, total=False): allowVirtualAgentInteraction: bool copyInboundCallLegHeaders: _list[str] createConversationOnTheFly: bool @@ -4294,53 +3904,82 @@ class GoogleCloudDialogflowV2SipConfig(typing_extensions.TypedDict, total=False) maxAudioRecordingDuration: str @typing.type_check_only -class GoogleCloudDialogflowV2SipTrunk(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SipHostname(typing.TypedDict, total=False): + connectionState: typing.Literal[ + "CONNECTION_STATE_UNSPECIFIED", + "CONNECTED", + "DISCONNECTED", + "AUTHENTICATION_FAILED", + "KEEPALIVE", + ] + enabledSipPing: bool + errorDetails: GoogleCloudDialogflowV2SipHostnameHostnameErrorDetails + peerHostname: str + peerSocketAddress: str + pingInterval: str + probeDetails: GoogleCloudDialogflowV2ProbeDetails + +@typing.type_check_only +class GoogleCloudDialogflowV2SipHostnameHostnameErrorDetails( + typing.TypedDict, total=False +): + certificateState: typing.Literal[ + "HOSTNAME_CERTIFICATE_STATE_UNSPECIFIED", + "VALID", + "INVALID", + "EXPIRED", + "HOSTNAME_NOT_FOUND", + "UNAUTHENTICATED", + "TRUST_STORE_NOT_FOUND", + "HOSTNAME_INVALID_FORMAT", + "QUOTA_EXCEEDED", + ] + errorMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2SipTrunk(typing.TypedDict, total=False): connections: _list[GoogleCloudDialogflowV2Connection] displayName: str expectedHostname: _list[str] + googleRootCertFile: typing.Literal["CERT_FILE_UNSPECIFIED", "EXTERNAL_PRIVATE_CA"] name: str + peerHostnames: _list[GoogleCloudDialogflowV2SipHostname] @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SmartReplyMetrics(typing.TypedDict, total=False): allowlistCoverage: float conversationCount: str topNMetrics: _list[GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics] @typing.type_check_only class GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): n: int recall: float @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyModelMetadata( - typing_extensions.TypedDict, total=False -): - trainingModelType: typing_extensions.Literal[ +class GoogleCloudDialogflowV2SmartReplyModelMetadata(typing.TypedDict, total=False): + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", ] @typing.type_check_only -class GoogleCloudDialogflowV2SpeechContext(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SpeechContext(typing.TypedDict, total=False): boost: float phrases: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2SpeechToTextConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowV2SpeechToTextConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -4356,7 +3995,7 @@ class GoogleCloudDialogflowV2SpeechToTextConfig( model: str phraseSets: _list[str] sampleRateHertz: int - speechModelVariant: typing_extensions.Literal[ + speechModelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -4365,45 +4004,45 @@ class GoogleCloudDialogflowV2SpeechToTextConfig( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowV2SpeechWordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str word: str @typing.type_check_only -class GoogleCloudDialogflowV2StreamingRecognitionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2StreamingRecognitionResult(typing.TypedDict, total=False): confidence: float isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + messageType: typing.Literal[ + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] transcript: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestArticlesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestArticlesRequest(typing.TypedDict, total=False): assistQueryParams: GoogleCloudDialogflowV2AssistQueryParameters contextSize: int latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestArticlesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestArticlesResponse(typing.TypedDict, total=False): articleAnswers: _list[GoogleCloudDialogflowV2ArticleAnswer] contextSize: int latestMessage: str @typing.type_check_only class GoogleCloudDialogflowV2SuggestConversationSummaryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assistQueryParams: GoogleCloudDialogflowV2AssistQueryParameters contextSize: int @@ -4411,7 +4050,7 @@ class GoogleCloudDialogflowV2SuggestConversationSummaryRequest( @typing.type_check_only class GoogleCloudDialogflowV2SuggestConversationSummaryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @@ -4419,7 +4058,7 @@ class GoogleCloudDialogflowV2SuggestConversationSummaryResponse( @typing.type_check_only class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str baselineModelVersion: str @@ -4431,30 +4070,26 @@ class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary( @typing.type_check_only class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestFaqAnswersRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestFaqAnswersRequest(typing.TypedDict, total=False): assistQueryParams: GoogleCloudDialogflowV2AssistQueryParameters contextSize: int latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestFaqAnswersResponse(typing.TypedDict, total=False): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2FaqAnswer] latestMessage: str @typing.type_check_only class GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @@ -4462,7 +4097,7 @@ class GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest( @typing.type_check_only class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -4472,33 +4107,25 @@ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestSmartRepliesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestSmartRepliesRequest(typing.TypedDict, total=False): contextSize: int currentTextInput: GoogleCloudDialogflowV2TextInput latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestSmartRepliesResponse(typing.TypedDict, total=False): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2SuggestionDedupingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestionDedupingConfig(typing.TypedDict, total=False): enableDeduping: bool similarityThreshold: float @typing.type_check_only -class GoogleCloudDialogflowV2SuggestionFeature( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleCloudDialogflowV2SuggestionFeature(typing.TypedDict, total=False): + type: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -4509,16 +4136,14 @@ class GoogleCloudDialogflowV2SuggestionFeature( ] @typing.type_check_only -class GoogleCloudDialogflowV2SuggestionInput(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ - "ACTION_UNSPECIFIED", "CANCEL", "REVISE", "CONFIRM" - ] +class GoogleCloudDialogflowV2SuggestionInput(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "CANCEL", "REVISE", "CONFIRM"] answerRecord: str parameters: dict[str, typing.Any] sendTime: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse @@ -4529,9 +4154,7 @@ class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total suggestSmartRepliesResponse: GoogleCloudDialogflowV2SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2SummarizationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SummarizationContext(typing.TypedDict, total=False): fewShotExamples: _list[GoogleCloudDialogflowV2FewShotExample] outputLanguageCode: str summarizationSections: _list[GoogleCloudDialogflowV2SummarizationSection] @@ -4539,7 +4162,7 @@ class GoogleCloudDialogflowV2SummarizationContext( @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDetails: _list[ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail @@ -4557,7 +4180,7 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetrics( @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyReasoning: str isAccurate: bool @@ -4565,7 +4188,7 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adherenceReasoning: str isAdherent: bool @@ -4573,7 +4196,7 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecompositio @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isAddressed: bool question: str @@ -4581,14 +4204,14 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric( @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isAddressed: bool question: str @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messageEntries: _list[GoogleCloudDialogflowV2MessageEntry] metricDetails: _list[ @@ -4601,7 +4224,7 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail( @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metric: str score: float @@ -4611,7 +4234,7 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMet @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationResults: _list[ GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult @@ -4622,7 +4245,7 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMet @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyDecomposition: ( GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition @@ -4633,7 +4256,7 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition( @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyDecomposition: ( GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition @@ -4647,20 +4270,20 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult( @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metric: str @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str tokenCount: str @typing.type_check_only class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): decompositions: _list[ GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition @@ -4675,12 +4298,10 @@ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluati sessionId: str @typing.type_check_only -class GoogleCloudDialogflowV2SummarizationSection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SummarizationSection(typing.TypedDict, total=False): definition: str key: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "SITUATION", "ACTION", @@ -4694,28 +4315,22 @@ class GoogleCloudDialogflowV2SummarizationSection( ] @typing.type_check_only -class GoogleCloudDialogflowV2SummarizationSectionList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SummarizationSectionList(typing.TypedDict, total=False): summarizationSections: _list[GoogleCloudDialogflowV2SummarizationSection] @typing.type_check_only -class GoogleCloudDialogflowV2SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2SynthesizeSpeechConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SynthesizeSpeechConfig(typing.TypedDict, total=False): effectsProfileId: _list[str] pitch: float pronunciations: _list[GoogleCloudDialogflowV2CustomPronunciationParams] @@ -4724,16 +4339,14 @@ class GoogleCloudDialogflowV2SynthesizeSpeechConfig( volumeGainDb: float @typing.type_check_only -class GoogleCloudDialogflowV2TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2TextInput(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only -class GoogleCloudDialogflowV2TextToSpeechSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2TextToSpeechSettings(typing.TypedDict, total=False): enableTextToSpeech: bool - outputAudioEncoding: typing_extensions.Literal[ + outputAudioEncoding: typing.Literal[ "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", "OUTPUT_AUDIO_ENCODING_LINEAR_16", "OUTPUT_AUDIO_ENCODING_MP3", @@ -4746,7 +4359,7 @@ class GoogleCloudDialogflowV2TextToSpeechSettings( synthesizeSpeechConfigs: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2Tool(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Tool(typing.TypedDict, total=False): actionConfirmationRequirement: dict[str, typing.Any] connectorSpec: GoogleCloudDialogflowV2ToolConnectorTool createTime: str @@ -4762,9 +4375,7 @@ class GoogleCloudDialogflowV2Tool(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolAuthentication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolAuthentication(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig bearerTokenConfig: GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig oauthConfig: GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig @@ -4774,45 +4385,43 @@ class GoogleCloudDialogflowV2ToolAuthentication( @typing.type_check_only class GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str keyName: str - requestLocation: typing_extensions.Literal[ + requestLocation: typing.Literal[ "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] secretVersionForApiKey: str @typing.type_check_only class GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersionForToken: str token: str @typing.type_check_only class GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str - oauthGrantType: typing_extensions.Literal[ - "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" - ] + oauthGrantType: typing.Literal["OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL"] scopes: _list[str] secretVersionForClientSecret: str tokenEndpoint: str @typing.type_check_only class GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" ] @typing.type_check_only -class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -4820,15 +4429,13 @@ class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -4841,22 +4448,16 @@ class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=F tool: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolConnectorTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolConnectorTool(typing.TypedDict, total=False): actions: _list[GoogleCloudDialogflowV2ToolConnectorToolAction] name: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolConnectorToolAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolConnectorToolAction(typing.TypedDict, total=False): connectionActionId: str entityOperation: GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation inputFields: _list[str] @@ -4864,67 +4465,59 @@ class GoogleCloudDialogflowV2ToolConnectorToolAction( @typing.type_check_only class GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityId: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] @typing.type_check_only -class GoogleCloudDialogflowV2ToolExtensionTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolExtensionTool(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolFunctionTool(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolFunctionTool(typing.TypedDict, total=False): inputSchema: dict[str, typing.Any] - methodType: typing_extensions.Literal[ + methodType: typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "GET", "POST", "PUT", "DELETE", "PATCH" ] outputSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ToolOpenApiTool(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolOpenApiTool(typing.TypedDict, total=False): authentication: GoogleCloudDialogflowV2ToolAuthentication serviceDirectoryConfig: GoogleCloudDialogflowV2ToolServiceDirectoryConfig textSchema: str tlsConfig: GoogleCloudDialogflowV2ToolTLSConfig @typing.type_check_only -class GoogleCloudDialogflowV2ToolServiceDirectoryConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolServiceDirectoryConfig(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolTLSConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolTLSConfig(typing.TypedDict, total=False): caCerts: _list[GoogleCloudDialogflowV2ToolTLSConfigCACert] @typing.type_check_only -class GoogleCloudDialogflowV2ToolTLSConfigCACert( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolTLSConfigCACert(typing.TypedDict, total=False): cert: str displayName: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolsetTool(typing_extensions.TypedDict, total=False): - confirmationRequirement: typing_extensions.Literal[ +class GoogleCloudDialogflowV2ToolsetTool(typing.TypedDict, total=False): + confirmationRequirement: typing.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] operationId: str toolset: str @typing.type_check_only -class GoogleCloudDialogflowV2TrainAgentRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowV2TrainAgentRequest(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str @@ -4932,37 +4525,35 @@ class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowV2ValidationError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ValidationError(typing.TypedDict, total=False): entries: _list[str] errorMessage: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR", "CRITICAL" ] @typing.type_check_only -class GoogleCloudDialogflowV2ValidationResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ValidationResult(typing.TypedDict, total=False): validationErrors: _list[GoogleCloudDialogflowV2ValidationError] @typing.type_check_only -class GoogleCloudDialogflowV2Version(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Version(typing.TypedDict, total=False): createTime: str description: str name: str - status: typing_extensions.Literal[ + status: typing.Literal[ "VERSION_STATUS_UNSPECIFIED", "IN_PROGRESS", "READY", "FAILED" ] versionNumber: int @typing.type_check_only -class GoogleCloudDialogflowV2VoiceSelectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2VoiceSelectionParams(typing.TypedDict, total=False): name: str - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "SSML_VOICE_GENDER_MALE", "SSML_VOICE_GENDER_FEMALE", @@ -4970,14 +4561,14 @@ class GoogleCloudDialogflowV2VoiceSelectionParams( ] @typing.type_check_only -class GoogleCloudDialogflowV2WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookRequest(typing.TypedDict, total=False): originalDetectIntentRequest: GoogleCloudDialogflowV2OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2QueryResult responseId: str session: str @typing.type_check_only -class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookResponse(typing.TypedDict, total=False): followupEventInput: GoogleCloudDialogflowV2EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2IntentMessage] fulfillmentText: str @@ -4988,7 +4579,7 @@ class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str condition: str @@ -4998,7 +4589,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -5009,7 +4600,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -5017,7 +4608,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -5025,7 +4616,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDu @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentActionSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion @@ -5037,7 +4628,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -5047,7 +4638,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -5055,7 +4646,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -5064,7 +4655,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDup @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult @@ -5074,22 +4665,18 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ArticleAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ArticleAnswer(typing.TypedDict, total=False): answerRecord: str metadata: dict[str, typing.Any] snippets: _list[str] @@ -5098,26 +4685,26 @@ class GoogleCloudDialogflowV2beta1ArticleAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2beta1EntityType] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intents: _list[GoogleCloudDialogflowV2beta1Intent] @typing.type_check_only class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -5129,20 +4716,18 @@ class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2beta1Message newRecognitionResultPayload: GoogleCloudDialogflowV2beta1StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -5153,61 +4738,51 @@ class GoogleCloudDialogflowV2beta1ConversationEvent( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer(typing.TypedDict, total=False): answerRecord: str intentSuggestion: GoogleCloudDialogflowV2beta1IntentSuggestion queryResult: GoogleCloudDialogflowV2beta1QueryResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1EncryptionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityTypeEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ExportOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportedGcsDestination: GoogleCloudDialogflowV2beta1GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -5216,20 +4791,16 @@ class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=F source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer @@ -5238,16 +4809,14 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion @@ -5255,14 +4824,14 @@ class GoogleCloudDialogflowV2beta1GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2beta1ToolCall toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str participant: str @@ -5270,13 +4839,13 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( @typing.type_check_only class GoogleCloudDialogflowV2beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): warnings: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -5286,9 +4855,9 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -5301,21 +4870,21 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParam @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2beta1EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -5347,7 +4916,7 @@ class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=Fals resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", @@ -5355,15 +4924,13 @@ class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2beta1IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2beta1IntentMessageCard @@ -5373,7 +4940,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( listSelect: GoogleCloudDialogflowV2beta1IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2beta1IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -5403,9 +4970,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( text: GoogleCloudDialogflowV2beta1IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5414,22 +4979,22 @@ class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -5442,7 +5007,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -5452,17 +5017,15 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselC @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageCardButton] imageUri: str subtitle: str @@ -5470,20 +5033,20 @@ class GoogleCloudDialogflowV2beta1IntentMessageCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postback: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5492,30 +5055,28 @@ class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] subtitle: str @@ -5523,7 +5084,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelect( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5532,16 +5093,16 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mediaObjects: _list[ GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -5551,14 +5112,14 @@ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quickReplies: _list[str] title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str media: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia @@ -5567,34 +5128,34 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileUri: str - height: typing_extensions.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] + height: typing.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] thumbnailUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContents: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] - cardWidth: typing_extensions.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] + cardWidth: typing.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContent: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent - cardOrientation: typing_extensions.Literal[ + cardOrientation: typing.Literal[ "CARD_ORIENTATION_UNSPECIFIED", "HORIZONTAL", "VERTICAL" ] - thumbnailImageAlignment: typing_extensions.Literal[ + thumbnailImageAlignment: typing.Literal[ "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", "LEFT", "RIGHT" ] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dial: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial openUrl: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri @@ -5604,52 +5165,50 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postbackData: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction reply: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageRbmText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageRbmText(typing.TypedDict, total=False): rbmSuggestion: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str synonyms: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayText: str ssml: str @@ -5657,26 +5216,24 @@ class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleCloudDialogflowV2beta1IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5686,46 +5243,42 @@ class GoogleCloudDialogflowV2beta1IntentMessageTableCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ssml: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -5736,25 +5289,21 @@ class GoogleCloudDialogflowV2beta1IntentParameter( value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentSuggestion(typing.TypedDict, total=False): description: str displayName: str intentV2: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alias: str entityType: str @@ -5762,27 +5311,21 @@ class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswers( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswers(typing.TypedDict, total=False): answers: _list[GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(typing.TypedDict, total=False): answer: str faqQuestion: str matchConfidence: float - matchConfidenceLevel: typing_extensions.Literal[ + matchConfidenceLevel: typing.Literal[ "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @@ -5792,14 +5335,14 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: ( @@ -5815,7 +5358,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -5824,13 +5367,13 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSourc @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -5838,7 +5381,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -5847,7 +5390,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -5856,17 +5399,17 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -5884,7 +5427,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -5893,7 +5436,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -5910,7 +5453,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -5932,30 +5475,34 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavio @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2beta1MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] responseMessages: _list[GoogleCloudDialogflowV2beta1ResponseMessage] @@ -5963,22 +5510,20 @@ class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=Fal sentimentAnalysis: GoogleCloudDialogflowV2beta1SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2beta1AnnotatedMessagePart] @typing.type_check_only class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -5998,9 +5543,7 @@ class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessage(typing.TypedDict, total=False): endInteraction: GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction liveAgentHandoff: GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff mixedAudio: GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio @@ -6012,24 +5555,24 @@ class GoogleCloudDialogflowV2beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -6037,39 +5580,35 @@ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str sipUri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2beta1ServiceLatency( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -6077,11 +5616,9 @@ class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -6090,14 +5627,14 @@ class GoogleCloudDialogflowV2beta1SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -6109,17 +5646,13 @@ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SmartReplyAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SpeechWordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str @@ -6127,18 +5660,20 @@ class GoogleCloudDialogflowV2beta1SpeechWordInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float dtmfDigits: GoogleCloudDialogflowV2beta1TelephonyDtmfEvents isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ + messageType: typing.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] @@ -6147,7 +5682,7 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): articleAnswers: _list[GoogleCloudDialogflowV2beta1ArticleAnswer] contextSize: int @@ -6155,7 +5690,7 @@ class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int dialogflowAssistAnswers: _list[GoogleCloudDialogflowV2beta1DialogflowAssistAnswer] @@ -6163,7 +5698,7 @@ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2beta1FaqAnswer] @@ -6171,7 +5706,7 @@ class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -6182,16 +5717,14 @@ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2beta1SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse @@ -6208,24 +5741,20 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( suggestSmartRepliesResponse: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2beta1SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents(typing.TypedDict, total=False): dtmfEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TELEPHONY_DTMF_UNSPECIFIED", "DTMF_ONE", "DTMF_TWO", @@ -6247,7 +5776,7 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -6255,17 +5784,13 @@ class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=Fa cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -6278,15 +5803,11 @@ class GoogleCloudDialogflowV2beta1ToolCallResult( tool: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookRequest(typing.TypedDict, total=False): alternativeQueryResults: _list[GoogleCloudDialogflowV2beta1QueryResult] originalDetectIntentRequest: GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2beta1QueryResult @@ -6294,9 +5815,7 @@ class GoogleCloudDialogflowV2beta1WebhookRequest( session: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookResponse(typing.TypedDict, total=False): endInteraction: bool followupEventInput: GoogleCloudDialogflowV2beta1EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2beta1IntentMessage] @@ -6308,21 +5827,15 @@ class GoogleCloudDialogflowV2beta1WebhookResponse( source: str @typing.type_check_only -class GoogleCloudDialogflowV3alpha1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowV3alpha1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -6334,14 +5847,12 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -6349,13 +5860,13 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -6363,15 +5874,15 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi index 7cd9eabcb..49b817dd1 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -111,7 +110,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -316,7 +315,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, parent: str, body: GoogleCloudDialogflowV2beta1Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -330,7 +329,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -341,7 +340,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -362,7 +361,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, name: str, body: GoogleCloudDialogflowV2beta1Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1180,7 +1179,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1381,7 +1380,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, parent: str, body: GoogleCloudDialogflowV2beta1Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1395,7 +1394,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, name: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1406,7 +1405,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., @@ -1428,7 +1427,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): *, name: str, body: GoogleCloudDialogflowV2beta1Intent, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index bc9ab91d3..7c1329002 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -1,13 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudDialogflowCxV3AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings @@ -15,7 +11,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -25,7 +21,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -33,7 +29,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -41,55 +37,41 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3AudioInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3BargeInConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse(typing.TypedDict, total=False): results: _list[GoogleCloudDialogflowCxV3TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurnUserInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurnUserInput(typing.TypedDict, total=False): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] input: GoogleCloudDialogflowCxV3QueryInput @@ -97,7 +79,7 @@ class GoogleCloudDialogflowCxV3ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3Page diagnosticInfo: dict[str, typing.Any] @@ -109,42 +91,36 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -155,26 +131,22 @@ class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool testCases: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentVersionConfig(typing.TypedDict, total=False): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig(typing.TypedDict, total=False): webhookOverrides: _list[GoogleCloudDialogflowCxV3Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -183,66 +155,54 @@ class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=F triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportEntityTypesResponse(typing.TypedDict, total=False): entityTypesContent: GoogleCloudDialogflowCxV3InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ExportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportIntentsResponse(typing.TypedDict, total=False): intentsContent: GoogleCloudDialogflowCxV3InlineDestination intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportTestCasesResponse(typing.TypedDict, total=False): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings defaultValue: typing.Any displayName: str @@ -253,15 +213,14 @@ class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total= required: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameterFillBehavior( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FormParameterFillBehavior(typing.TypedDict, total=False): initialPromptFulfillment: GoogleCloudDialogflowCxV3Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] @@ -273,13 +232,13 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent @@ -288,14 +247,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -303,24 +262,22 @@ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportEntityTypesResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources ) @@ -328,26 +285,20 @@ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ImportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportIntentsResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources ) @@ -355,34 +306,26 @@ class GoogleCloudDialogflowCxV3ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestCaseError] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesResponse(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -396,7 +339,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -408,7 +351,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -420,36 +363,30 @@ class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): trainingPhrases: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart(typing.TypedDict, total=False): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3DataStoreConnection] enabled: bool @@ -458,13 +395,13 @@ class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3LanguageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings description: str displayName: str @@ -477,31 +414,27 @@ class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): transitionRoutes: _list[GoogleCloudDialogflowCxV3TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3AudioInput dtmf: GoogleCloudDialogflowCxV3DtmfInput event: GoogleCloudDialogflowCxV3EventInput @@ -511,9 +444,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess endInteraction: GoogleCloudDialogflowCxV3ResponseMessageEndInteraction @@ -523,7 +454,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( outputAudioText: GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText payload: dict[str, typing.Any] playAudio: GoogleCloudDialogflowCxV3ResponseMessagePlayAudio - responseType: typing_extensions.Literal[ + responseType: typing.Literal[ "RESPONSE_TYPE_UNSPECIFIED", "ENTRY_PROMPT", "PARAMETER_PROMPT", @@ -535,35 +466,33 @@ class GoogleCloudDialogflowCxV3ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio(typing.TypedDict, total=False): segments: _list[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -571,62 +500,50 @@ class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio(typing.TypedDict, total=False): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestResponse(typing.TypedDict, total=False): continuousTestResult: GoogleCloudDialogflowCxV3ContinuousTestResult @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3RunTestCaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3SessionInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3TestCaseResult @@ -637,66 +554,60 @@ class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False testConfig: GoogleCloudDialogflowCxV3TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -706,13 +617,11 @@ class GoogleCloudDialogflowCxV3TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -723,7 +632,7 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService @@ -732,11 +641,9 @@ class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False) timeout: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookGenericWebService( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookGenericWebService(typing.TypedDict, total=False): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -756,18 +663,16 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -777,18 +682,18 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo @@ -809,14 +714,12 @@ class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo(typing.TypedDict, total=False): confidence: float displayName: str lastMatchedIntent: str @@ -824,22 +727,20 @@ class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse pageInfo: GoogleCloudDialogflowCxV3PageInfo payload: dict[str, typing.Any] @@ -849,24 +750,20 @@ class GoogleCloudDialogflowCxV3WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3beta1GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings @@ -874,7 +771,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -884,7 +781,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -892,7 +789,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -900,58 +797,46 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AudioInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3beta1InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1BargeInConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleCloudDialogflowCxV3beta1TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3beta1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] @@ -960,7 +845,7 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3beta1Page diagnosticInfo: dict[str, typing.Any] @@ -972,44 +857,36 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3beta1Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Environment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1020,7 +897,7 @@ class GoogleCloudDialogflowCxV3beta1Environment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool @@ -1028,20 +905,18 @@ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): webhookOverrides: _list[GoogleCloudDialogflowCxV3beta1Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventHandler( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -1050,70 +925,62 @@ class GoogleCloudDialogflowCxV3beta1EventHandler( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypesContent: GoogleCloudDialogflowCxV3beta1InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentsContent: GoogleCloudDialogflowCxV3beta1InlineDestination intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3beta1FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FormParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings defaultValue: typing.Any displayName: str @@ -1125,16 +992,15 @@ class GoogleCloudDialogflowCxV3beta1FormParameter( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): initialPromptFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3beta1EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Fulfillment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] @@ -1148,13 +1014,13 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent @@ -1163,14 +1029,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -1178,25 +1044,23 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources @@ -1205,25 +1069,23 @@ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources @@ -1232,34 +1094,30 @@ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestCaseError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3beta1InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -1273,7 +1131,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3beta1BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -1285,7 +1143,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -1297,38 +1155,32 @@ class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=Fa trainingPhrases: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3beta1DataStoreConnection] enabled: bool @@ -1337,15 +1189,13 @@ class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings description: str displayName: str @@ -1358,33 +1208,27 @@ class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=Fals transitionRoutes: _list[GoogleCloudDialogflowCxV3beta1TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3beta1PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1QueryInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3beta1AudioInput dtmf: GoogleCloudDialogflowCxV3beta1DtmfInput event: GoogleCloudDialogflowCxV3beta1EventInput @@ -1394,9 +1238,7 @@ class GoogleCloudDialogflowCxV3beta1QueryInput( toolCallResult: GoogleCloudDialogflowCxV3beta1ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: ( GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess @@ -1416,35 +1258,35 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -1452,7 +1294,7 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str @@ -1460,56 +1302,50 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): continuousTestResult: GoogleCloudDialogflowCxV3beta1ContinuousTestResult @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3beta1TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SessionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3beta1TestCaseResult @@ -1520,74 +1356,60 @@ class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total= testConfig: GoogleCloudDialogflowCxV3beta1TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3beta1TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3beta1ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3beta1ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -1597,15 +1419,11 @@ class GoogleCloudDialogflowCxV3beta1TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -1616,7 +1434,7 @@ class GoogleCloudDialogflowCxV3beta1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService @@ -1626,10 +1444,10 @@ class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -1649,18 +1467,16 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -1670,20 +1486,18 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo @@ -1704,13 +1518,13 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -1719,22 +1533,20 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: ( GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse ) @@ -1746,24 +1558,20 @@ class GoogleCloudDialogflowCxV3beta1WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingInstruction(typing.TypedDict, total=False): agentAction: str condition: str displayDetails: str @@ -1772,7 +1580,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -1783,7 +1591,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -1791,16 +1599,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float suggestionIndex: int @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingSuggestion(typing.TypedDict, total=False): agentActionSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion ] @@ -1809,7 +1615,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -1819,7 +1625,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -1827,7 +1633,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -1836,7 +1642,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicat @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult @@ -1846,20 +1652,18 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ArticleAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float metadata: dict[str, typing.Any] @@ -1869,9 +1673,9 @@ class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - trainingModelType: typing_extensions.Literal[ + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", @@ -1879,26 +1683,24 @@ class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata( @typing.type_check_only class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2EntityType] @typing.type_check_only -class GoogleCloudDialogflowV2BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchUpdateIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2Intent] @typing.type_check_only class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -1909,20 +1711,18 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2Message newRecognitionResultPayload: GoogleCloudDialogflowV2StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -1933,9 +1733,7 @@ class GoogleCloudDialogflowV2ConversationEvent( ] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationModel(typing.TypedDict, total=False): articleSuggestionModelMetadata: ( GoogleCloudDialogflowV2ArticleSuggestionModelMetadata ) @@ -1947,7 +1745,7 @@ class GoogleCloudDialogflowV2ConversationModel( satisfiesPzi: bool satisfiesPzs: bool smartReplyModelMetadata: GoogleCloudDialogflowV2SmartReplyModelMetadata - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UNDEPLOYED", @@ -1961,18 +1759,18 @@ class GoogleCloudDialogflowV2ConversationModel( @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str conversationModelEvaluation: str createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "RUNNING", @@ -1983,12 +1781,12 @@ class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -2000,12 +1798,12 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str @@ -2013,56 +1811,50 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str @typing.type_check_only -class GoogleCloudDialogflowV2EncryptionSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityTypeEntity(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2ExportOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportOperationMetadata(typing.TypedDict, total=False): exportedGcsDestination: GoogleCloudDialogflowV2GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -2071,19 +1863,15 @@ class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False) source: str @typing.type_check_only -class GoogleCloudDialogflowV2FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowV2GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GenerateSuggestionsResponse(typing.TypedDict, total=False): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer ] @@ -2091,16 +1879,14 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion @@ -2108,22 +1894,20 @@ class GoogleCloudDialogflowV2GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2ToolCall toolCallResult: GoogleCloudDialogflowV2ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowV2HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2HumanAgentAssistantEvent(typing.TypedDict, total=False): conversation: str participant: str suggestionResults: _list[GoogleCloudDialogflowV2SuggestionResult] @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str createTime: str @@ -2131,20 +1915,18 @@ class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str importCount: int @typing.type_check_only -class GoogleCloudDialogflowV2ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ImportDocumentsResponse(typing.TypedDict, total=False): warnings: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -2154,9 +1936,9 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -2169,25 +1951,25 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterD @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2InputDataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2InputDataset(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -2217,21 +1999,19 @@ class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentFollowupIntentInfo(typing.TypedDict, total=False): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2IntentMessageCard @@ -2241,7 +2021,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa listSelect: GoogleCloudDialogflowV2IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -2260,9 +2040,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa text: GoogleCloudDialogflowV2IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -2271,22 +2049,22 @@ class GoogleCloudDialogflowV2IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -2299,7 +2077,7 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -2309,38 +2087,32 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIt @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageCardButton] imageUri: str subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCardButton( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCardButton(typing.TypedDict, total=False): postback: str text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCarouselSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -2349,56 +2121,48 @@ class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageListSelectItem] subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelectItem(typing.TypedDict, total=False): description: str image: GoogleCloudDialogflowV2IntentMessageImage info: GoogleCloudDialogflowV2IntentMessageSelectItemInfo title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageMediaContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageMediaContent(typing.TypedDict, total=False): mediaObjects: _list[ GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -2407,49 +2171,37 @@ class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( name: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageQuickReplies(typing.TypedDict, total=False): quickReplies: _list[str] title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSelectItemInfo(typing.TypedDict, total=False): key: str synonyms: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSimpleResponse(typing.TypedDict, total=False): displayText: str ssml: str textToSpeech: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2IntentMessageSimpleResponse] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestion(typing.TypedDict, total=False): title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestions(typing.TypedDict, total=False): suggestions: _list[GoogleCloudDialogflowV2IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2IntentMessageColumnProperties] image: GoogleCloudDialogflowV2IntentMessageImage @@ -2458,26 +2210,20 @@ class GoogleCloudDialogflowV2IntentMessageTableCard( title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardCell(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardRow(typing.TypedDict, total=False): cells: _list[GoogleCloudDialogflowV2IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -2488,27 +2234,21 @@ class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total= value: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrasePart(typing.TypedDict, total=False): alias: str entityType: str text: str userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @@ -2516,14 +2256,14 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource @@ -2537,7 +2277,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -2546,13 +2286,13 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -2560,7 +2300,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -2569,7 +2309,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -2578,17 +2318,15 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo(typing.TypedDict, total=False): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -2606,7 +2344,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -2615,7 +2353,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -2632,7 +2370,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -2654,52 +2392,50 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeOperationMetadata(typing.TypedDict, total=False): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only -class GoogleCloudDialogflowV2Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] sendTime: str sentimentAnalysis: GoogleCloudDialogflowV2SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2AnnotatedMessagePart] @typing.type_check_only -class GoogleCloudDialogflowV2OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2OriginalDetectIntentRequest(typing.TypedDict, total=False): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -2718,25 +2454,23 @@ class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=Fals webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowV2SentimentAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SentimentAnalysisResult(typing.TypedDict, total=False): queryTextSentiment: GoogleCloudDialogflowV2Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -2744,11 +2478,9 @@ class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -2757,14 +2489,14 @@ class GoogleCloudDialogflowV2SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -2775,61 +2507,59 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyModelMetadata( - typing_extensions.TypedDict, total=False -): - trainingModelType: typing_extensions.Literal[ +class GoogleCloudDialogflowV2SmartReplyModelMetadata(typing.TypedDict, total=False): + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", ] @typing.type_check_only -class GoogleCloudDialogflowV2SpeechWordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str word: str @typing.type_check_only -class GoogleCloudDialogflowV2StreamingRecognitionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2StreamingRecognitionResult(typing.TypedDict, total=False): confidence: float isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + messageType: typing.Literal[ + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] transcript: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestArticlesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestArticlesResponse(typing.TypedDict, total=False): articleAnswers: _list[GoogleCloudDialogflowV2ArticleAnswer] contextSize: int latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestFaqAnswersResponse(typing.TypedDict, total=False): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2FaqAnswer] latestMessage: str @typing.type_check_only class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -2839,15 +2569,13 @@ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestSmartRepliesResponse(typing.TypedDict, total=False): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse @@ -2858,20 +2586,18 @@ class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total suggestSmartRepliesResponse: GoogleCloudDialogflowV2SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -2879,15 +2605,13 @@ class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -2900,28 +2624,26 @@ class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=F tool: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str @typing.type_check_only -class GoogleCloudDialogflowV2WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookRequest(typing.TypedDict, total=False): originalDetectIntentRequest: GoogleCloudDialogflowV2OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2QueryResult responseId: str session: str @typing.type_check_only -class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookResponse(typing.TypedDict, total=False): followupEventInput: GoogleCloudDialogflowV2EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2IntentMessage] fulfillmentText: str @@ -2931,8 +2653,8 @@ class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total= source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1Agent(typing_extensions.TypedDict, total=False): - apiVersion: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1Agent(typing.TypedDict, total=False): + apiVersion: typing.Literal[ "API_VERSION_UNSPECIFIED", "API_VERSION_V1", "API_VERSION_V2", @@ -2944,27 +2666,25 @@ class GoogleCloudDialogflowV2beta1Agent(typing_extensions.TypedDict, total=False description: str displayName: str enableLogging: bool - matchMode: typing_extensions.Literal[ + matchMode: typing.Literal[ "MATCH_MODE_UNSPECIFIED", "MATCH_MODE_HYBRID", "MATCH_MODE_ML_ONLY" ] parent: str supportedLanguageCodes: _list[str] - tier: typing_extensions.Literal[ + tier: typing.Literal[ "TIER_UNSPECIFIED", "TIER_STANDARD", "TIER_ENTERPRISE", "TIER_ENTERPRISE_PLUS" ] timeZone: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1AgentAssistantFeedback( - typing_extensions.TypedDict, total=False -): - answerRelevance: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1AgentAssistantFeedback(typing.TypedDict, total=False): + answerRelevance: typing.Literal[ "ANSWER_RELEVANCE_UNSPECIFIED", "IRRELEVANT", "RELEVANT" ] - documentCorrectness: typing_extensions.Literal[ + documentCorrectness: typing.Literal[ "DOCUMENT_CORRECTNESS_UNSPECIFIED", "INCORRECT", "CORRECT" ] - documentEfficiency: typing_extensions.Literal[ + documentEfficiency: typing.Literal[ "DOCUMENT_EFFICIENCY_UNSPECIFIED", "INEFFICIENT", "EFFICIENT" ] knowledgeAssistFeedback: ( @@ -2979,21 +2699,21 @@ class GoogleCloudDialogflowV2beta1AgentAssistantFeedback( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerCopied: bool clickedUris: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerCopied: bool clickedUris: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): startTimestamp: str submitTimestamp: str @@ -3001,18 +2721,14 @@ class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback( textSections: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1AgentAssistantRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AgentAssistantRecord(typing.TypedDict, total=False): articleSuggestionAnswer: GoogleCloudDialogflowV2beta1ArticleAnswer dialogflowAssistAnswer: GoogleCloudDialogflowV2beta1DialogflowAssistAnswer faqAnswer: GoogleCloudDialogflowV2beta1FaqAnswer generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion @typing.type_check_only -class GoogleCloudDialogflowV2beta1AgentCoachingContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AgentCoachingContext(typing.TypedDict, total=False): instructions: _list[GoogleCloudDialogflowV2beta1AgentCoachingInstruction] outputLanguageCode: str overarchingGuidance: str @@ -3020,7 +2736,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingContext( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str condition: str @@ -3030,7 +2746,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -3041,7 +2757,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -3049,7 +2765,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -3057,7 +2773,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDu @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentActionSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion @@ -3069,7 +2785,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -3079,7 +2795,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -3087,7 +2803,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -3096,7 +2812,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDup @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult @@ -3106,14 +2822,12 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnalyzeContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnalyzeContentRequest(typing.TypedDict, total=False): assistQueryParams: GoogleCloudDialogflowV2beta1AssistQueryParameters audioInput: GoogleCloudDialogflowV2beta1AudioInput cxCurrentPage: str @@ -3128,9 +2842,7 @@ class GoogleCloudDialogflowV2beta1AnalyzeContentRequest( textInput: GoogleCloudDialogflowV2beta1TextInput @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnalyzeContentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnalyzeContentResponse(typing.TypedDict, total=False): automatedAgentReply: GoogleCloudDialogflowV2beta1AutomatedAgentReply dtmfParameters: GoogleCloudDialogflowV2beta1DtmfParameters endUserSuggestionResults: _list[GoogleCloudDialogflowV2beta1SuggestionResult] @@ -3140,21 +2852,17 @@ class GoogleCloudDialogflowV2beta1AnalyzeContentResponse( replyText: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnswerFeedback( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnswerFeedback(typing.TypedDict, total=False): agentAssistantDetailFeedback: GoogleCloudDialogflowV2beta1AgentAssistantFeedback clickTime: str clicked: bool - correctnessLevel: typing_extensions.Literal[ + correctnessLevel: typing.Literal[ "CORRECTNESS_LEVEL_UNSPECIFIED", "NOT_CORRECT", "PARTIALLY_CORRECT", @@ -3164,17 +2872,13 @@ class GoogleCloudDialogflowV2beta1AnswerFeedback( displayed: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnswerRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnswerRecord(typing.TypedDict, total=False): agentAssistantRecord: GoogleCloudDialogflowV2beta1AgentAssistantRecord answerFeedback: GoogleCloudDialogflowV2beta1AnswerFeedback name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ArticleAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ArticleAnswer(typing.TypedDict, total=False): answerRecord: str metadata: dict[str, typing.Any] snippets: _list[str] @@ -3182,29 +2886,23 @@ class GoogleCloudDialogflowV2beta1ArticleAnswer( uri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1AssistQueryParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AssistQueryParameters(typing.TypedDict, total=False): documentsMetadataFilters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1AudioInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowV2beta1InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowV2beta1AutomatedAgentConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AutomatedAgentConfig(typing.TypedDict, total=False): agent: str sessionTtl: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1AutomatedAgentReply( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AutomatedAgentReply(typing.TypedDict, total=False): allowCancellation: bool - automatedAgentReplyType: typing_extensions.Literal[ + automatedAgentReplyType: typing.Literal[ "AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED", "PARTIAL", "FINAL" ] callCompanionAuthCode: str @@ -3218,53 +2916,51 @@ class GoogleCloudDialogflowV2beta1AutomatedAgentReply( responseMessages: _list[GoogleCloudDialogflowV2beta1ResponseMessage] @typing.type_check_only -class GoogleCloudDialogflowV2beta1BargeInConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] languageCode: str @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudDialogflowV2beta1CreateMessageRequest] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messages: _list[GoogleCloudDialogflowV2beta1Message] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityValues: _list[str] languageCode: str @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypeNames: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intents: _list[GoogleCloudDialogflowV2beta1Intent] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] languageCode: str @@ -3272,7 +2968,7 @@ class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypeBatchInline: GoogleCloudDialogflowV2beta1EntityTypeBatch entityTypeBatchUri: str @@ -3281,52 +2977,52 @@ class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2beta1EntityType] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentBatchInline: GoogleCloudDialogflowV2beta1IntentBatch intentBatchUri: str - intentView: typing_extensions.Literal["INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL"] + intentView: typing.Literal["INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_FULL"] languageCode: str updateMask: str @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intents: _list[GoogleCloudDialogflowV2beta1Intent] @typing.type_check_only -class GoogleCloudDialogflowV2beta1CesAppSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1CesAppSpec(typing.TypedDict, total=False): cesApp: str - confirmationRequirement: typing_extensions.Literal[ + confirmationRequirement: typing.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] proactiveEnabled: bool reactiveEnabled: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1CesToolSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1CesToolSpec(typing.TypedDict, total=False): cesTool: str - confirmationRequirement: typing_extensions.Literal[ + confirmationRequirement: typing.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] @typing.type_check_only class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -3339,12 +3035,12 @@ class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -3357,14 +3053,14 @@ class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1CompileSuggestionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @typing.type_check_only class GoogleCloudDialogflowV2beta1CompileSuggestionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @@ -3372,14 +3068,14 @@ class GoogleCloudDialogflowV2beta1CompileSuggestionResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1CompleteConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowV2beta1Connection(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Connection(typing.TypedDict, total=False): connectionId: str errorDetails: GoogleCloudDialogflowV2beta1ConnectionErrorDetails - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONNECTED", "DISCONNECTED", @@ -3389,10 +3085,8 @@ class GoogleCloudDialogflowV2beta1Connection(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ConnectionErrorDetails( - typing_extensions.TypedDict, total=False -): - certificateState: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1ConnectionErrorDetails(typing.TypedDict, total=False): + certificateState: typing.Literal[ "CERTIFICATE_STATE_UNSPECIFIED", "CERTIFICATE_VALID", "CERTIFICATE_INVALID", @@ -3406,24 +3100,22 @@ class GoogleCloudDialogflowV2beta1ConnectionErrorDetails( errorMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Conversation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1Conversation(typing.TypedDict, total=False): conversationProfile: str - conversationStage: typing_extensions.Literal[ + conversationStage: typing.Literal[ "CONVERSATION_STAGE_UNSPECIFIED", "VIRTUAL_AGENT_STAGE", "HUMAN_ASSIST_STAGE" ] endTime: str ingestedContextReferences: dict[str, typing.Any] initialConversationProfile: GoogleCloudDialogflowV2beta1ConversationProfile initialGeneratorContexts: dict[str, typing.Any] - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED" ] name: str @@ -3434,44 +3126,36 @@ class GoogleCloudDialogflowV2beta1Conversation( ) @typing.type_check_only -class GoogleCloudDialogflowV2beta1ConversationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ConversationContext(typing.TypedDict, total=False): messageEntries: _list[GoogleCloudDialogflowV2beta1MessageEntry] @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationContextReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextContents: _list[ GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent ] createTime: str languageCode: str - updateMode: typing_extensions.Literal[ - "UPDATE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE" - ] + updateMode: typing.Literal["UPDATE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE"] @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str content: str - contentFormat: typing_extensions.Literal[ - "CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT" - ] + contentFormat: typing.Literal["CONTENT_FORMAT_UNSPECIFIED", "JSON", "PLAIN_TEXT"] ingestionTime: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2beta1Message newRecognitionResultPayload: GoogleCloudDialogflowV2beta1StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -3483,9 +3167,9 @@ class GoogleCloudDialogflowV2beta1ConversationEvent( @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationGeneratorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - generatorType: typing_extensions.Literal[ + generatorType: typing.Literal[ "GENERATOR_TYPE_UNSPECIFIED", "FREE_FORM", "AGENT_COACHING", @@ -3497,15 +3181,13 @@ class GoogleCloudDialogflowV2beta1ConversationGeneratorContext( @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationPhoneNumber( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: int phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ConversationProfile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ConversationProfile(typing.TypedDict, total=False): automatedAgentConfig: GoogleCloudDialogflowV2beta1AutomatedAgentConfig createTime: str displayName: str @@ -3529,7 +3211,7 @@ class GoogleCloudDialogflowV2beta1ConversationProfile( @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialedNumber: str extraMimeContents: _list[ @@ -3542,30 +3224,28 @@ class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str mimeType: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1CreateMessageRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1CreateMessageRequest(typing.TypedDict, total=False): message: GoogleCloudDialogflowV2beta1Message parent: str @typing.type_check_only class GoogleCloudDialogflowV2beta1CustomPronunciationParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - phoneticEncoding: typing_extensions.Literal[ + phoneticEncoding: typing.Literal[ "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", "PHONETIC_ENCODING_X_SAMPA", @@ -3574,9 +3254,7 @@ class GoogleCloudDialogflowV2beta1CustomPronunciationParams( pronunciation: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1DetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DetectIntentRequest(typing.TypedDict, total=False): inputAudio: str outputAudioConfig: GoogleCloudDialogflowV2beta1OutputAudioConfig outputAudioConfigMask: str @@ -3584,9 +3262,7 @@ class GoogleCloudDialogflowV2beta1DetectIntentRequest( queryParams: GoogleCloudDialogflowV2beta1QueryParameters @typing.type_check_only -class GoogleCloudDialogflowV2beta1DetectIntentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DetectIntentResponse(typing.TypedDict, total=False): alternativeQueryResults: _list[GoogleCloudDialogflowV2beta1QueryResult] outputAudio: str outputAudioConfig: GoogleCloudDialogflowV2beta1OutputAudioConfig @@ -3595,21 +3271,19 @@ class GoogleCloudDialogflowV2beta1DetectIntentResponse( webhookStatus: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer(typing.TypedDict, total=False): answerRecord: str intentSuggestion: GoogleCloudDialogflowV2beta1IntentSuggestion queryResult: GoogleCloudDialogflowV2beta1QueryResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Document(typing.TypedDict, total=False): content: str contentUri: str displayName: str enableAutoReload: bool knowledgeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "KNOWLEDGE_TYPE_UNSPECIFIED", "FAQ", "EXTRACTIVE_QA", @@ -3623,118 +3297,96 @@ class GoogleCloudDialogflowV2beta1Document(typing_extensions.TypedDict, total=Fa mimeType: str name: str rawContent: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "RELOADING", "DELETING" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1DocumentReloadStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DocumentReloadStatus(typing.TypedDict, total=False): status: GoogleRpcStatus time: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1DtmfParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DtmfParameters(typing.TypedDict, total=False): acceptsDtmfInput: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1EncryptionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityTypeBatch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EntityTypeBatch(typing.TypedDict, total=False): entityTypes: _list[GoogleCloudDialogflowV2beta1EntityType] @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityTypeEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1Environment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Environment(typing.TypedDict, total=False): agentVersion: str description: str fulfillment: GoogleCloudDialogflowV2beta1Fulfillment name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STOPPED", "LOADING", "RUNNING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STOPPED", "LOADING", "RUNNING"] textToSpeechSettings: GoogleCloudDialogflowV2beta1TextToSpeechSettings updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EnvironmentHistory( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EnvironmentHistory(typing.TypedDict, total=False): entries: _list[GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry] nextPageToken: str parent: str @typing.type_check_only class GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentVersion: str createTime: str description: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EvaluationStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EvaluationStatus(typing.TypedDict, total=False): done: bool pipelineStatus: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDialogflowV2beta1EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ExportAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ExportAgentRequest(typing.TypedDict, total=False): agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ExportOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportedGcsDestination: GoogleCloudDialogflowV2beta1GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -3743,28 +3395,22 @@ class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=F source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1FewShotExample( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1FewShotExample(typing.TypedDict, total=False): conversationContext: GoogleCloudDialogflowV2beta1ConversationContext extraInfo: dict[str, typing.Any] output: GoogleCloudDialogflowV2beta1GeneratorSuggestion summarizationSectionList: GoogleCloudDialogflowV2beta1SummarizationSectionList @typing.type_check_only -class GoogleCloudDialogflowV2beta1FreeFormContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1FreeFormContext(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1Fulfillment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Fulfillment(typing.TypedDict, total=False): displayName: str enabled: bool features: _list[GoogleCloudDialogflowV2beta1FulfillmentFeature] @@ -3772,14 +3418,12 @@ class GoogleCloudDialogflowV2beta1Fulfillment(typing_extensions.TypedDict, total name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1FulfillmentFeature( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SMALLTALK"] +class GoogleCloudDialogflowV2beta1FulfillmentFeature(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "SMALLTALK"] @typing.type_check_only class GoogleCloudDialogflowV2beta1FulfillmentGenericWebService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isCloudFunction: bool password: str @@ -3788,22 +3432,20 @@ class GoogleCloudDialogflowV2beta1FulfillmentGenericWebService( username: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GcsSources(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1GcsSources(typing.TypedDict, total=False): uris: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferences: dict[str, typing.Any] conversationContext: GoogleCloudDialogflowV2beta1ConversationContext @@ -3811,7 +3453,7 @@ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest( generatorName: str securitySettings: str triggerEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -3822,13 +3464,13 @@ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: GoogleCloudDialogflowV2beta1ConversationProfile latestMessage: str @@ -3839,13 +3481,13 @@ class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messages: _list[GoogleCloudDialogflowV2beta1Message] @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @@ -3853,7 +3495,7 @@ class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineModelVersion: str text: str @@ -3861,11 +3503,11 @@ class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): latestMessage: str triggerEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -3876,7 +3518,7 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer @@ -3885,14 +3527,14 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1Generator(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Generator(typing.TypedDict, total=False): agentCoachingContext: GoogleCloudDialogflowV2beta1AgentCoachingContext cesAppSpecs: _list[GoogleCloudDialogflowV2beta1CesAppSpec] cesToolSpecs: _list[GoogleCloudDialogflowV2beta1CesToolSpec] @@ -3906,7 +3548,7 @@ class GoogleCloudDialogflowV2beta1Generator(typing_extensions.TypedDict, total=F summarizationContext: GoogleCloudDialogflowV2beta1SummarizationContext tools: _list[str] toolsetTools: _list[GoogleCloudDialogflowV2beta1ToolsetTool] - triggerEvent: typing_extensions.Literal[ + triggerEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -3916,9 +3558,7 @@ class GoogleCloudDialogflowV2beta1Generator(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GeneratorEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GeneratorEvaluation(typing.TypedDict, total=False): completeTime: str createTime: str displayName: str @@ -3932,7 +3572,7 @@ class GoogleCloudDialogflowV2beta1GeneratorEvaluation( @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputDataConfig: ( GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig @@ -3944,20 +3584,20 @@ class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig( @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataset: str @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAssistInputDataConfig: ( GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig @@ -3966,7 +3606,7 @@ class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig( GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig ) endTime: str - inputDataSourceType: typing_extensions.Literal[ + inputDataSourceType: typing.Literal[ "INPUT_DATA_SOURCE_TYPE_UNSPECIFIED", "AGENT_ASSIST_CONVERSATIONS", "INSIGHTS_CONVERSATIONS", @@ -3974,7 +3614,7 @@ class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig( isSummaryGenerationAllowed: bool sampleSize: int startTime: str - summaryGenerationOption: typing_extensions.Literal[ + summaryGenerationOption: typing.Literal[ "SUMMARY_GENERATION_OPTION_UNSPECIFIED", "ALWAYS_GENERATE", "GENERATE_IF_MISSING", @@ -3983,7 +3623,7 @@ class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig( @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyEvaluationVersion: str completenessEvaluationVersion: str @@ -3992,9 +3632,7 @@ class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig( evaluatorVersion: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion @@ -4002,14 +3640,14 @@ class GoogleCloudDialogflowV2beta1GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2beta1ToolCall toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endUserSuggestionConfig: ( GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig @@ -4024,13 +3662,13 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig( @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSentencesCount: int @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableEntityExtraction: bool enableSentimentAnalysis: bool @@ -4038,7 +3676,7 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableHighLatencyFeaturesSyncDelivery: bool enableAsyncToolCall: bool @@ -4052,7 +3690,7 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig( @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProcessConfig: ( GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig @@ -4069,7 +3707,7 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConf ) raiSettings: GoogleCloudDialogflowV2beta1RaiSettings suggestionFeature: GoogleCloudDialogflowV2beta1SuggestionFeature - suggestionTriggerEvent: typing_extensions.Literal[ + suggestionTriggerEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -4082,7 +3720,7 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConf @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float contextFilterSettings: GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings @@ -4095,7 +3733,7 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dropHandoffMessages: bool dropIvrMessages: bool @@ -4103,35 +3741,35 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str humanAgentSideConfig: GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): knowledgeBases: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sectionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SECTION_TYPE_UNSPECIFIED", "SITUATION", "ACTION", @@ -4144,14 +3782,14 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): noSmallTalk: bool onlyEndUser: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str participant: str @@ -4159,7 +3797,7 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): livePersonConfig: ( GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig @@ -4170,13 +3808,13 @@ class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig( @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountNumber: str @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): buttonId: str deploymentId: str @@ -4184,18 +3822,14 @@ class GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConf organizationId: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ImportAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ImportAgentRequest(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ImportDocumentTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ImportDocumentTemplate(typing.TypedDict, total=False): knowledgeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "KNOWLEDGE_TYPE_UNSPECIFIED", "FAQ", "EXTRACTIVE_QA", @@ -4208,23 +3842,19 @@ class GoogleCloudDialogflowV2beta1ImportDocumentTemplate( mimeType: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ImportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ImportDocumentsRequest(typing.TypedDict, total=False): documentTemplate: GoogleCloudDialogflowV2beta1ImportDocumentTemplate gcsSource: GoogleCloudDialogflowV2beta1GcsSources importGcsCustomMetadata: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): warnings: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDialogflowV2beta1InferenceParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1InferenceParameter(typing.TypedDict, total=False): maxOutputTokens: int temperature: float topK: int @@ -4232,19 +3862,19 @@ class GoogleCloudDialogflowV2beta1InferenceParameter( @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestContextReferencesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferences: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestContextReferencesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ingestedContextReferences: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -4254,9 +3884,9 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -4269,21 +3899,19 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParam @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2beta1EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2beta1InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -4298,10 +3926,11 @@ class GoogleCloudDialogflowV2beta1InputAudioConfig( defaultNoSpeechTimeout: str disableNoSpeechRecognizedEvent: bool enableAutomaticPunctuation: bool + enableVoiceActivityEvents: bool enableWordInfo: bool languageCode: str model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -4315,10 +3944,10 @@ class GoogleCloudDialogflowV2beta1InputAudioConfig( speechContexts: _list[GoogleCloudDialogflowV2beta1SpeechContext] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -4350,32 +3979,30 @@ class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=Fals resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentBatch(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1IntentBatch(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2beta1Intent] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1IntentInput(typing.TypedDict, total=False): intent: str languageCode: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2beta1IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2beta1IntentMessageCard @@ -4385,7 +4012,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( listSelect: GoogleCloudDialogflowV2beta1IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2beta1IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -4415,9 +4042,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( text: GoogleCloudDialogflowV2beta1IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -4426,22 +4051,22 @@ class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -4454,7 +4079,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -4464,17 +4089,15 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselC @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageCardButton] imageUri: str subtitle: str @@ -4482,20 +4105,20 @@ class GoogleCloudDialogflowV2beta1IntentMessageCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postback: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -4504,30 +4127,28 @@ class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] subtitle: str @@ -4535,7 +4156,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelect( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -4544,16 +4165,16 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mediaObjects: _list[ GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -4563,14 +4184,14 @@ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quickReplies: _list[str] title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str media: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia @@ -4579,34 +4200,34 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileUri: str - height: typing_extensions.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] + height: typing.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] thumbnailUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContents: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] - cardWidth: typing_extensions.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] + cardWidth: typing.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContent: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent - cardOrientation: typing_extensions.Literal[ + cardOrientation: typing.Literal[ "CARD_ORIENTATION_UNSPECIFIED", "HORIZONTAL", "VERTICAL" ] - thumbnailImageAlignment: typing_extensions.Literal[ + thumbnailImageAlignment: typing.Literal[ "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", "LEFT", "RIGHT" ] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dial: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial openUrl: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri @@ -4616,52 +4237,50 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postbackData: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction reply: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageRbmText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageRbmText(typing.TypedDict, total=False): rbmSuggestion: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str synonyms: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayText: str ssml: str @@ -4669,26 +4288,24 @@ class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleCloudDialogflowV2beta1IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -4698,46 +4315,42 @@ class GoogleCloudDialogflowV2beta1IntentMessageTableCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ssml: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -4748,25 +4361,21 @@ class GoogleCloudDialogflowV2beta1IntentParameter( value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentSuggestion(typing.TypedDict, total=False): description: str displayName: str intentV2: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alias: str entityType: str @@ -4774,27 +4383,21 @@ class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswers( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswers(typing.TypedDict, total=False): answers: _list[GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(typing.TypedDict, total=False): answer: str faqQuestion: str matchConfidence: float - matchConfidenceLevel: typing_extensions.Literal[ + matchConfidenceLevel: typing.Literal[ "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @@ -4804,14 +4407,14 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: ( @@ -4827,7 +4430,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -4836,13 +4439,13 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSourc @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -4850,7 +4453,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -4859,7 +4462,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -4868,17 +4471,17 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -4896,7 +4499,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -4905,7 +4508,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -4922,7 +4525,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -4944,177 +4547,161 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavio @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeBase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeBase(typing.TypedDict, total=False): displayName: str languageCode: str name: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only class GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecords: _list[GoogleCloudDialogflowV2beta1AnswerRecord] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListContextsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListContextsResponse(typing.TypedDict, total=False): contexts: _list[GoogleCloudDialogflowV2beta1Context] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ListConversationProfilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfiles: _list[GoogleCloudDialogflowV2beta1ConversationProfile] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ListConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleCloudDialogflowV2beta1Conversation] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListDocumentsResponse(typing.TypedDict, total=False): documents: _list[GoogleCloudDialogflowV2beta1Document] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ListEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2beta1EntityType] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ListEnvironmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environments: _list[GoogleCloudDialogflowV2beta1Environment] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorEvaluations: _list[GoogleCloudDialogflowV2beta1GeneratorEvaluation] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListGeneratorsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListGeneratorsResponse(typing.TypedDict, total=False): generators: _list[GoogleCloudDialogflowV2beta1Generator] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2beta1Intent] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): knowledgeBases: _list[GoogleCloudDialogflowV2beta1KnowledgeBase] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListMessagesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListMessagesResponse(typing.TypedDict, total=False): messages: _list[GoogleCloudDialogflowV2beta1Message] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ListParticipantsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str participants: _list[GoogleCloudDialogflowV2beta1Participant] @typing.type_check_only class GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str phoneNumbers: _list[GoogleCloudDialogflowV2beta1PhoneNumber] @typing.type_check_only class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessionEntityTypes: _list[GoogleCloudDialogflowV2beta1SessionEntityType] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListSipTrunksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListSipTrunksResponse(typing.TypedDict, total=False): nextPageToken: str sipTrunks: _list[GoogleCloudDialogflowV2beta1SipTrunk] @typing.type_check_only class GoogleCloudDialogflowV2beta1ListSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str suggestions: _list[GoogleCloudDialogflowV2beta1Suggestion] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListToolsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListToolsResponse(typing.TypedDict, total=False): nextPageToken: str tools: _list[GoogleCloudDialogflowV2beta1Tool] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ListVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[GoogleCloudDialogflowV2beta1Version] @typing.type_check_only -class GoogleCloudDialogflowV2beta1LoggingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1LoggingConfig(typing.TypedDict, total=False): enableStackdriverLogging: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2beta1MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] responseMessages: _list[GoogleCloudDialogflowV2beta1ResponseMessage] @@ -5122,50 +4709,40 @@ class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=Fal sentimentAnalysis: GoogleCloudDialogflowV2beta1SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2beta1AnnotatedMessagePart] @typing.type_check_only -class GoogleCloudDialogflowV2beta1MessageEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1MessageEntry(typing.TypedDict, total=False): createTime: str languageCode: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] text: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1NotificationConfig( - typing_extensions.TypedDict, total=False -): - messageFormat: typing_extensions.Literal[ - "MESSAGE_FORMAT_UNSPECIFIED", "PROTO", "JSON" - ] +class GoogleCloudDialogflowV2beta1NotificationConfig(typing.TypedDict, total=False): + messageFormat: typing.Literal["MESSAGE_FORMAT_UNSPECIFIED", "PROTO", "JSON"] topic: str @typing.type_check_only class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1OutputAudio(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1OutputAudio(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowV2beta1OutputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowV2beta1OutputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1OutputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", "OUTPUT_AUDIO_ENCODING_LINEAR_16", "OUTPUT_AUDIO_ENCODING_MP3", @@ -5178,8 +4755,8 @@ class GoogleCloudDialogflowV2beta1OutputAudioConfig( synthesizeSpeechConfig: GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig @typing.type_check_only -class GoogleCloudDialogflowV2beta1Participant(typing_extensions.TypedDict, total=False): - agentDesktopSource: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1Participant(typing.TypedDict, total=False): + agentDesktopSource: typing.Literal[ "AGENT_DESKTOP_SOURCE_UNSPECIFIED", "LIVE_PERSON", "GENESYS_CLOUD", @@ -5190,15 +4767,15 @@ class GoogleCloudDialogflowV2beta1Participant(typing_extensions.TypedDict, total documentsMetadataFilters: dict[str, typing.Any] name: str obfuscatedExternalUserId: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1PhoneNumber(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1PhoneNumber(typing.TypedDict, total=False): allowedSipTrunks: GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks conversationProfile: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED" ] name: str @@ -5207,22 +4784,28 @@ class GoogleCloudDialogflowV2beta1PhoneNumber(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): carrierIds: _list[str] sipTrunks: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1QueryInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1ProbeDetails(typing.TypedDict, total=False): + initTime: str + optionsLatency: str + probeStatus: typing.Literal[ + "PROBE_STATUS_UNSPECIFIED", "PROBE_STATUS_SUCCESS", "PROBE_STATUS_FAILED" + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1QueryInput(typing.TypedDict, total=False): audioConfig: GoogleCloudDialogflowV2beta1InputAudioConfig dtmf: GoogleCloudDialogflowV2beta1TelephonyDtmfEvents event: GoogleCloudDialogflowV2beta1EventInput text: GoogleCloudDialogflowV2beta1TextInput @typing.type_check_only -class GoogleCloudDialogflowV2beta1QueryParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1QueryParameters(typing.TypedDict, total=False): contexts: _list[GoogleCloudDialogflowV2beta1Context] geoLocation: GoogleTypeLatLng knowledgeBaseNames: _list[str] @@ -5238,7 +4821,7 @@ class GoogleCloudDialogflowV2beta1QueryParameters( webhookHeaders: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -5258,21 +4841,21 @@ class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1RaiSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1RaiSettings(typing.TypedDict, total=False): raiCategoryConfigs: _list[GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig] @typing.type_check_only class GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "RAI_CATEGORY_UNSPECIFIED", "DANGEROUS_CONTENT", "SEXUALLY_EXPLICIT", "HARASSMENT", "HATE_SPEECH", ] - sensitivityLevel: typing_extensions.Literal[ + sensitivityLevel: typing.Literal[ "SENSITIVITY_LEVEL_UNSPECIFIED", "BLOCK_MOST", "BLOCK_SOME", @@ -5281,16 +4864,12 @@ class GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ReloadDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ReloadDocumentRequest(typing.TypedDict, total=False): gcsSource: GoogleCloudDialogflowV2beta1GcsSource importGcsCustomMetadata: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessage(typing.TypedDict, total=False): endInteraction: GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction liveAgentHandoff: GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff mixedAudio: GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio @@ -5302,24 +4881,24 @@ class GoogleCloudDialogflowV2beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -5327,45 +4906,37 @@ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str sipUri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1RestoreAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1RestoreAgentRequest(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SearchAgentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SearchAgentsResponse(typing.TypedDict, total=False): agents: _list[GoogleCloudDialogflowV2beta1Agent] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer(typing.TypedDict, total=False): answer: str answerRecord: str answerSources: _list[GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource] - answerType: typing_extensions.Literal[ + answerType: typing.Literal[ "ANSWER_TYPE_UNSPECIFIED", "FAQ", "GENERATIVE", "INTENT", "PLAYBOOK", "EVENT" ] @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] snippet: str @@ -5374,9 +4945,10 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource( @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - datastoreResponseReason: typing_extensions.Literal[ + cesDebugInfo: dict[str, typing.Any] + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -5398,16 +4970,14 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfoSearchKnowledgeBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool endUserMetadataIncluded: bool thirdPartyConnectorAllowed: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest(typing.TypedDict, total=False): conversation: str conversationProfile: str endUserMetadata: dict[str, typing.Any] @@ -5415,7 +4985,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest( latestMessage: str parent: str query: GoogleCloudDialogflowV2beta1TextInput - querySource: typing_extensions.Literal[ + querySource: typing.Literal[ "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" ] searchConfig: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig @@ -5423,7 +4993,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpecs: _list[ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs @@ -5434,7 +5004,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig( @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStores: _list[str] spec: _list[ @@ -5443,7 +5013,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs( @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec @@ -5451,7 +5021,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBo @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec @@ -5459,69 +5029,65 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBo @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStores: _list[str] filter: str @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answers: _list[GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer] rewrittenQuery: str searchKnowledgeDebugInfo: GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo @typing.type_check_only -class GoogleCloudDialogflowV2beta1Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only class GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analyzeQueryTextSentiment: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2beta1ServiceLatency( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -5529,11 +5095,9 @@ class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -5542,14 +5106,14 @@ class GoogleCloudDialogflowV2beta1SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -5562,9 +5126,9 @@ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] suggestionFeatureConfig: ( @@ -5572,7 +5136,7 @@ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest( ) @typing.type_check_only -class GoogleCloudDialogflowV2beta1SipConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1SipConfig(typing.TypedDict, total=False): allowVirtualAgentInteraction: bool copyInboundCallLegHeaders: _list[str] createConversationOnTheFly: bool @@ -5582,32 +5146,61 @@ class GoogleCloudDialogflowV2beta1SipConfig(typing_extensions.TypedDict, total=F maxAudioRecordingDuration: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SipTrunk(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1SipHostname(typing.TypedDict, total=False): + connectionState: typing.Literal[ + "CONNECTION_STATE_UNSPECIFIED", + "CONNECTED", + "DISCONNECTED", + "AUTHENTICATION_FAILED", + "KEEPALIVE", + ] + enabledSipPing: bool + errorDetails: GoogleCloudDialogflowV2beta1SipHostnameHostnameErrorDetails + peerHostname: str + peerSocketAddress: str + pingInterval: str + probeDetails: GoogleCloudDialogflowV2beta1ProbeDetails + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SipHostnameHostnameErrorDetails( + typing.TypedDict, total=False +): + certificateState: typing.Literal[ + "HOSTNAME_CERTIFICATE_STATE_UNSPECIFIED", + "VALID", + "INVALID", + "EXPIRED", + "HOSTNAME_NOT_FOUND", + "UNAUTHENTICATED", + "TRUST_STORE_NOT_FOUND", + "HOSTNAME_INVALID_FORMAT", + "QUOTA_EXCEEDED", + ] + errorMessage: str + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SipTrunk(typing.TypedDict, total=False): connections: _list[GoogleCloudDialogflowV2beta1Connection] displayName: str expectedHostname: _list[str] + googleRootCertFile: typing.Literal["CERT_FILE_UNSPECIFIED", "EXTERNAL_PRIVATE_CA"] name: str + peerHostnames: _list[GoogleCloudDialogflowV2beta1SipHostname] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SmartReplyAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SpeechContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SpeechContext(typing.TypedDict, total=False): boost: float phrases: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SpeechToTextConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1SpeechToTextConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -5623,7 +5216,7 @@ class GoogleCloudDialogflowV2beta1SpeechToTextConfig( model: str phraseSets: _list[str] sampleRateHertz: int - speechModelVariant: typing_extensions.Literal[ + speechModelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -5632,9 +5225,7 @@ class GoogleCloudDialogflowV2beta1SpeechToTextConfig( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1SpeechWordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str @@ -5642,18 +5233,20 @@ class GoogleCloudDialogflowV2beta1SpeechWordInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float dtmfDigits: GoogleCloudDialogflowV2beta1TelephonyDtmfEvents isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ + messageType: typing.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] @@ -5661,21 +5254,19 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( transcript: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SubAgent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1SubAgent(typing.TypedDict, total=False): environment: str project: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestArticlesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SuggestArticlesRequest(typing.TypedDict, total=False): assistQueryParams: GoogleCloudDialogflowV2beta1AssistQueryParameters contextSize: int latestMessage: str @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): articleAnswers: _list[GoogleCloudDialogflowV2beta1ArticleAnswer] contextSize: int @@ -5683,7 +5274,7 @@ class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assistQueryParams: GoogleCloudDialogflowV2beta1AssistQueryParameters contextSize: int @@ -5691,7 +5282,7 @@ class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @@ -5699,7 +5290,7 @@ class GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str baselineModelVersion: str @@ -5711,14 +5302,14 @@ class GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummarySummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int dialogflowAssistAnswers: _list[GoogleCloudDialogflowV2beta1DialogflowAssistAnswer] @@ -5726,7 +5317,7 @@ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assistQueryParams: GoogleCloudDialogflowV2beta1AssistQueryParameters contextSize: int @@ -5734,7 +5325,7 @@ class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2beta1FaqAnswer] @@ -5742,7 +5333,7 @@ class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str @@ -5750,7 +5341,7 @@ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -5761,7 +5352,7 @@ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int currentTextInput: GoogleCloudDialogflowV2beta1TextInput @@ -5769,14 +5360,14 @@ class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2beta1SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Suggestion(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Suggestion(typing.TypedDict, total=False): articles: _list[GoogleCloudDialogflowV2beta1SuggestionArticle] createTime: str faqAnswers: _list[GoogleCloudDialogflowV2beta1SuggestionFaqAnswer] @@ -5784,9 +5375,7 @@ class GoogleCloudDialogflowV2beta1Suggestion(typing_extensions.TypedDict, total= name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionArticle( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SuggestionArticle(typing.TypedDict, total=False): answerRecord: str metadata: dict[str, typing.Any] snippets: _list[str] @@ -5795,15 +5384,13 @@ class GoogleCloudDialogflowV2beta1SuggestionArticle( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestionDedupingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableDeduping: bool similarityThreshold: float @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionFaqAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SuggestionFaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -5812,10 +5399,8 @@ class GoogleCloudDialogflowV2beta1SuggestionFaqAnswer( source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionFeature( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1SuggestionFeature(typing.TypedDict, total=False): + type: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -5827,12 +5412,8 @@ class GoogleCloudDialogflowV2beta1SuggestionFeature( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionInput( - typing_extensions.TypedDict, total=False -): - action: typing_extensions.Literal[ - "ACTION_UNSPECIFIED", "CANCEL", "REVISE", "CONFIRM" - ] +class GoogleCloudDialogflowV2beta1SuggestionInput(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "CANCEL", "REVISE", "CONFIRM"] answerRecord: str intentInput: GoogleCloudDialogflowV2beta1IntentInput parameters: dict[str, typing.Any] @@ -5840,9 +5421,7 @@ class GoogleCloudDialogflowV2beta1SuggestionInput( textOverride: GoogleCloudDialogflowV2beta1TextInput @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse @@ -5859,9 +5438,7 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( suggestSmartRepliesResponse: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2beta1SummarizationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SummarizationContext(typing.TypedDict, total=False): fewShotExamples: _list[GoogleCloudDialogflowV2beta1FewShotExample] outputLanguageCode: str summarizationSections: _list[GoogleCloudDialogflowV2beta1SummarizationSection] @@ -5869,7 +5446,7 @@ class GoogleCloudDialogflowV2beta1SummarizationContext( @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDetails: _list[ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail @@ -5887,7 +5464,7 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics( @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyReasoning: str isAccurate: bool @@ -5895,7 +5472,7 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecompos @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adherenceReasoning: str isAdherent: bool @@ -5903,7 +5480,7 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecompo @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isAddressed: bool question: str @@ -5911,14 +5488,14 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric( @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isAddressed: bool question: str @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messageEntries: _list[GoogleCloudDialogflowV2beta1MessageEntry] metricDetails: _list[ @@ -5931,7 +5508,7 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDeta @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metric: str score: float @@ -5941,7 +5518,7 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDeta @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationResults: _list[ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult @@ -5952,7 +5529,7 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDeta @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyDecomposition: ( GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition @@ -5963,7 +5540,7 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition( @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accuracyDecomposition: ( GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition @@ -5977,20 +5554,20 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metric: str @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str tokenCount: str @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): decompositions: _list[ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition @@ -6005,12 +5582,10 @@ class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEva sessionId: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SummarizationSection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SummarizationSection(typing.TypedDict, total=False): definition: str key: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "SITUATION", "ACTION", @@ -6025,27 +5600,23 @@ class GoogleCloudDialogflowV2beta1SummarizationSection( @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarizationSectionList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summarizationSections: _list[GoogleCloudDialogflowV2beta1SummarizationSection] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig(typing.TypedDict, total=False): effectsProfileId: _list[str] pitch: float pronunciations: _list[GoogleCloudDialogflowV2beta1CustomPronunciationParams] @@ -6054,11 +5625,9 @@ class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig( volumeGainDb: float @typing.type_check_only -class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents(typing.TypedDict, total=False): dtmfEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TELEPHONY_DTMF_UNSPECIFIED", "DTMF_ONE", "DTMF_TWO", @@ -6080,16 +5649,14 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1TextInput(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1TextToSpeechSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1TextToSpeechSettings(typing.TypedDict, total=False): enableTextToSpeech: bool - outputAudioEncoding: typing_extensions.Literal[ + outputAudioEncoding: typing.Literal[ "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", "OUTPUT_AUDIO_ENCODING_LINEAR_16", "OUTPUT_AUDIO_ENCODING_MP3", @@ -6102,7 +5669,7 @@ class GoogleCloudDialogflowV2beta1TextToSpeechSettings( synthesizeSpeechConfigs: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Tool(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Tool(typing.TypedDict, total=False): actionConfirmationRequirement: dict[str, typing.Any] connectorSpec: GoogleCloudDialogflowV2beta1ToolConnectorTool createTime: str @@ -6118,9 +5685,7 @@ class GoogleCloudDialogflowV2beta1Tool(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolAuthentication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolAuthentication(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig bearerTokenConfig: GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig oauthConfig: GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig @@ -6130,45 +5695,43 @@ class GoogleCloudDialogflowV2beta1ToolAuthentication( @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str keyName: str - requestLocation: typing_extensions.Literal[ + requestLocation: typing.Literal[ "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] secretVersionForApiKey: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersionForToken: str token: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str - oauthGrantType: typing_extensions.Literal[ - "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" - ] + oauthGrantType: typing.Literal["OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL"] scopes: _list[str] secretVersionForClientSecret: str tokenEndpoint: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -6176,17 +5739,13 @@ class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=Fa cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -6199,21 +5758,17 @@ class GoogleCloudDialogflowV2beta1ToolCallResult( tool: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolConnectorTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolConnectorTool(typing.TypedDict, total=False): actions: _list[GoogleCloudDialogflowV2beta1ToolConnectorToolAction] name: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolConnectorToolAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectionActionId: str entityOperation: GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation @@ -6222,33 +5777,27 @@ class GoogleCloudDialogflowV2beta1ToolConnectorToolAction( @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityId: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolExtensionTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolExtensionTool(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolFunctionTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolFunctionTool(typing.TypedDict, total=False): inputSchema: dict[str, typing.Any] - methodType: typing_extensions.Literal[ + methodType: typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "GET", "POST", "PUT", "DELETE", "PATCH" ] outputSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolOpenApiTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolOpenApiTool(typing.TypedDict, total=False): authentication: GoogleCloudDialogflowV2beta1ToolAuthentication serviceDirectoryConfig: GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig textSchema: str @@ -6256,73 +5805,61 @@ class GoogleCloudDialogflowV2beta1ToolOpenApiTool( @typing.type_check_only class GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): service: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolTLSConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolTLSConfig(typing.TypedDict, total=False): caCerts: _list[GoogleCloudDialogflowV2beta1ToolTLSConfigCACert] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolTLSConfigCACert( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolTLSConfigCACert(typing.TypedDict, total=False): cert: str displayName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolsetTool(typing_extensions.TypedDict, total=False): - confirmationRequirement: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1ToolsetTool(typing.TypedDict, total=False): + confirmationRequirement: typing.Literal[ "CONFIRMATION_REQUIREMENT_UNSPECIFIED", "REQUIRED", "NOT_REQUIRED" ] operationId: str toolset: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1TrainAgentRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowV2beta1TrainAgentRequest(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowV2beta1ValidationError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ValidationError(typing.TypedDict, total=False): entries: _list[str] errorMessage: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR", "CRITICAL" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ValidationResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ValidationResult(typing.TypedDict, total=False): validationErrors: _list[GoogleCloudDialogflowV2beta1ValidationError] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Version(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Version(typing.TypedDict, total=False): createTime: str description: str name: str - status: typing_extensions.Literal[ + status: typing.Literal[ "VERSION_STATUS_UNSPECIFIED", "IN_PROGRESS", "READY", "FAILED" ] versionNumber: int @typing.type_check_only -class GoogleCloudDialogflowV2beta1VoiceSelectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1VoiceSelectionParams(typing.TypedDict, total=False): name: str - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "SSML_VOICE_GENDER_MALE", "SSML_VOICE_GENDER_FEMALE", @@ -6330,9 +5867,7 @@ class GoogleCloudDialogflowV2beta1VoiceSelectionParams( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookRequest(typing.TypedDict, total=False): alternativeQueryResults: _list[GoogleCloudDialogflowV2beta1QueryResult] originalDetectIntentRequest: GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2beta1QueryResult @@ -6340,9 +5875,7 @@ class GoogleCloudDialogflowV2beta1WebhookRequest( session: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookResponse(typing.TypedDict, total=False): endInteraction: bool followupEventInput: GoogleCloudDialogflowV2beta1EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2beta1IntentMessage] @@ -6354,21 +5887,15 @@ class GoogleCloudDialogflowV2beta1WebhookResponse( source: str @typing.type_check_only -class GoogleCloudDialogflowV3alpha1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowV3alpha1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -6380,14 +5907,12 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -6395,13 +5920,13 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -6409,15 +5934,15 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi index 99f940587..1ea8bc5ed 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -720,7 +719,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_PARTIAL", "INTENT_VIEW_FULL", @@ -1007,7 +1006,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, agent: str, - type: typing_extensions.Literal[ + type: typing.Literal[ "COVERAGE_TYPE_UNSPECIFIED", "INTENT", "PAGE_TRANSITION", @@ -1048,7 +1047,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "TEST_CASE_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi index e6eb8b6a1..98713b99b 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudDialogflowCxV3Action(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Action(typing.TypedDict, total=False): agentUtterance: GoogleCloudDialogflowCxV3AgentUtterance flowInvocation: GoogleCloudDialogflowCxV3FlowInvocation flowTransition: GoogleCloudDialogflowCxV3FlowTransition @@ -15,9 +13,7 @@ class GoogleCloudDialogflowCxV3Action(typing_extensions.TypedDict, total=False): userUtterance: GoogleCloudDialogflowCxV3UserUtterance @typing.type_check_only -class GoogleCloudDialogflowCxV3AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings @@ -25,7 +21,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -35,7 +31,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -43,7 +39,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -51,7 +47,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3Agent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Agent(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings answerFeedbackSettings: GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings avatarUri: str @@ -79,13 +75,13 @@ class GoogleCloudDialogflowCxV3Agent(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableAnswerFeedback: bool @typing.type_check_only class GoogleCloudDialogflowCxV3AgentClientCertificateSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): passphrase: str privateKey: str @@ -93,19 +89,19 @@ class GoogleCloudDialogflowCxV3AgentClientCertificateSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engine: str @typing.type_check_only class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): githubSettings: GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings @typing.type_check_only class GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: str branches: _list[str] @@ -115,76 +111,68 @@ class GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AgentPersonalizationSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEndUserMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3AgentUtterance(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3AgentUtterance(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3AgentValidationResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3AgentValidationResult(typing.TypedDict, total=False): flowValidationResults: _list[GoogleCloudDialogflowCxV3FlowValidationResult] name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3AnswerFeedback(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3AnswerFeedback(typing.TypedDict, total=False): customRating: str - rating: typing_extensions.Literal["RATING_UNSPECIFIED", "THUMBS_UP", "THUMBS_DOWN"] + rating: typing.Literal["RATING_UNSPECIFIED", "THUMBS_UP", "THUMBS_DOWN"] ratingReason: GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason @typing.type_check_only class GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedback: str reasonLabels: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3AudioInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3BargeInConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesRequest(typing.TypedDict, total=False): environment: str testCases: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse(typing.TypedDict, total=False): results: _list[GoogleCloudDialogflowCxV3TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3BoostSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3BoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec] @typing.type_check_only class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: ( @@ -194,42 +182,38 @@ class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only -class GoogleCloudDialogflowCxV3BoostSpecs(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3BoostSpecs(typing.TypedDict, total=False): dataStores: _list[str] spec: _list[GoogleCloudDialogflowCxV3BoostSpec] @typing.type_check_only -class GoogleCloudDialogflowCxV3CalculateCoverageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3CalculateCoverageResponse(typing.TypedDict, total=False): agent: str intentCoverage: GoogleCloudDialogflowCxV3IntentCoverage routeGroupCoverage: GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage transitionCoverage: GoogleCloudDialogflowCxV3TransitionCoverage @typing.type_check_only -class GoogleCloudDialogflowCxV3Changelog(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Changelog(typing.TypedDict, total=False): action: str createTime: str displayName: str @@ -240,52 +224,38 @@ class GoogleCloudDialogflowCxV3Changelog(typing_extensions.TypedDict, total=Fals userEmail: str @typing.type_check_only -class GoogleCloudDialogflowCxV3CodeBlock(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3CodeBlock(typing.TypedDict, total=False): code: str @typing.type_check_only -class GoogleCloudDialogflowCxV3CompareVersionsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3CompareVersionsRequest(typing.TypedDict, total=False): languageCode: str targetVersion: str @typing.type_check_only -class GoogleCloudDialogflowCxV3CompareVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3CompareVersionsResponse(typing.TypedDict, total=False): baseVersionContentJson: str compareTime: str targetVersionContentJson: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurnUserInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurnUserInput(typing.TypedDict, total=False): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] input: GoogleCloudDialogflowCxV3QueryInput @@ -293,7 +263,7 @@ class GoogleCloudDialogflowCxV3ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3Page diagnosticInfo: dict[str, typing.Any] @@ -305,25 +275,23 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: str answerGenerationModelCallSignals: GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals @@ -345,7 +313,7 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignals( @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelOutput: str @@ -353,28 +321,28 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCa @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): supportingIndices: _list[int] text: str @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchSnippet: GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet snippetIndex: int @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - decision: typing_extensions.Literal[ + decision: typing.Literal[ "GROUNDING_DECISION_UNSPECIFIED", "ACCEPTED_BY_GROUNDING", "REJECTED_BY_GROUNDING", ] - score: typing_extensions.Literal[ + score: typing.Literal[ "GROUNDING_SCORE_BUCKET_UNSPECIFIED", "VERY_LOW", "LOW", @@ -385,7 +353,7 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals( @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelOutput: str @@ -393,15 +361,15 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignal @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - bannedPhraseMatch: typing_extensions.Literal[ + bannedPhraseMatch: typing.Literal[ "BANNED_PHRASE_MATCH_UNSPECIFIED", "BANNED_PHRASE_MATCH_NONE", "BANNED_PHRASE_MATCH_QUERY", "BANNED_PHRASE_MATCH_RESPONSE", ] - decision: typing_extensions.Literal[ + decision: typing.Literal[ "SAFETY_DECISION_UNSPECIFIED", "ACCEPTED_BY_SAFETY_CHECK", "REJECTED_BY_SAFETY_CHECK", @@ -410,7 +378,7 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals( @typing.type_check_only class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentTitle: str documentUri: str @@ -418,50 +386,38 @@ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet( text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowRequest(typing.TypedDict, total=False): flowVersion: str @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3Deployment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Deployment(typing.TypedDict, total=False): endTime: str flowVersion: str name: str result: GoogleCloudDialogflowCxV3DeploymentResult startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeploymentResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeploymentResult(typing.TypedDict, total=False): deploymentTestResults: _list[str] experiment: str @typing.type_check_only -class GoogleCloudDialogflowCxV3DetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DetectIntentRequest(typing.TypedDict, total=False): outputAudioConfig: GoogleCloudDialogflowCxV3OutputAudioConfig queryInput: GoogleCloudDialogflowCxV3QueryInput queryParams: GoogleCloudDialogflowCxV3QueryParameters - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED", "DETECT_INTENT_RESPONSE_VIEW_FULL", "DETECT_INTENT_RESPONSE_VIEW_BASIC", @@ -469,53 +425,43 @@ class GoogleCloudDialogflowCxV3DetectIntentRequest( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3DetectIntentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DetectIntentResponse(typing.TypedDict, total=False): allowCancellation: bool outputAudio: str outputAudioConfig: GoogleCloudDialogflowCxV3OutputAudioConfig queryResult: GoogleCloudDialogflowCxV3QueryResult responseId: str - responseType: typing_extensions.Literal[ - "RESPONSE_TYPE_UNSPECIFIED", "PARTIAL", "FINAL" - ] + responseType: typing.Literal["RESPONSE_TYPE_UNSPECIFIED", "PARTIAL", "FINAL"] @typing.type_check_only -class GoogleCloudDialogflowCxV3DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowCxV3EntityTypeEntity] excludedPhrases: _list[GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3EntityTypeEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -526,26 +472,22 @@ class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool testCases: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentVersionConfig(typing.TypedDict, total=False): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig(typing.TypedDict, total=False): webhookOverrides: _list[GoogleCloudDialogflowCxV3Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -554,13 +496,13 @@ class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=F triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Example(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Example(typing.TypedDict, total=False): actions: _list[GoogleCloudDialogflowCxV3Action] - conversationState: typing_extensions.Literal[ + conversationState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -579,7 +521,7 @@ class GoogleCloudDialogflowCxV3Example(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Experiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Experiment(typing.TypedDict, total=False): createTime: str definition: GoogleCloudDialogflowCxV3ExperimentDefinition description: str @@ -593,28 +535,24 @@ class GoogleCloudDialogflowCxV3Experiment(typing_extensions.TypedDict, total=Fal rolloutFailureReason: str rolloutState: GoogleCloudDialogflowCxV3RolloutState startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "RUNNING", "DONE", "ROLLOUT_FAILED" ] variantsHistory: _list[GoogleCloudDialogflowCxV3VariantsHistory] @typing.type_check_only -class GoogleCloudDialogflowCxV3ExperimentDefinition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExperimentDefinition(typing.TypedDict, total=False): condition: str versionVariants: GoogleCloudDialogflowCxV3VersionVariants @typing.type_check_only -class GoogleCloudDialogflowCxV3ExperimentResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExperimentResult(typing.TypedDict, total=False): lastUpdateTime: str versionMetrics: _list[GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics] @typing.type_check_only class GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceLevel: float lowerBound: float @@ -622,19 +560,17 @@ class GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval( upperBound: float @typing.type_check_only -class GoogleCloudDialogflowCxV3ExperimentResultMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExperimentResultMetric(typing.TypedDict, total=False): confidenceInterval: GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval count: float - countType: typing_extensions.Literal[ + countType: typing.Literal[ "COUNT_TYPE_UNSPECIFIED", "TOTAL_NO_MATCH_COUNT", "TOTAL_TURN_COUNT", "AVERAGE_TURN_COUNT", ] ratio: float - type: typing_extensions.Literal[ + type: typing.Literal[ "METRIC_UNSPECIFIED", "CONTAINED_SESSION_NO_CALLBACK_RATE", "LIVE_AGENT_HANDOFF_RATE", @@ -645,134 +581,104 @@ class GoogleCloudDialogflowCxV3ExperimentResultMetric( @typing.type_check_only class GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metrics: _list[GoogleCloudDialogflowCxV3ExperimentResultMetric] sessionCount: int version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportAgentRequest(typing.TypedDict, total=False): agentUri: str - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE" - ] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE"] environment: str gitDestination: GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination includeBigqueryExportSettings: bool @typing.type_check_only class GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commitMessage: str trackingBranch: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportEntityTypesRequest( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE" - ] +class GoogleCloudDialogflowCxV3ExportEntityTypesRequest(typing.TypedDict, total=False): + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE"] entityTypes: _list[str] entityTypesContentInline: bool entityTypesUri: str languageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportEntityTypesResponse(typing.TypedDict, total=False): entityTypesContent: GoogleCloudDialogflowCxV3InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportFlowRequest(typing.TypedDict, total=False): flowUri: str includeReferencedFlows: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ExportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsRequest( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON", "CSV" - ] +class GoogleCloudDialogflowCxV3ExportIntentsRequest(typing.TypedDict, total=False): + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON", "CSV"] intents: _list[str] intentsContentInline: bool intentsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportIntentsResponse(typing.TypedDict, total=False): intentsContent: GoogleCloudDialogflowCxV3InlineDestination intentsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportPlaybookRequest( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] +class GoogleCloudDialogflowCxV3ExportPlaybookRequest(typing.TypedDict, total=False): + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] playbookUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportTestCasesRequest( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] +class GoogleCloudDialogflowCxV3ExportTestCasesRequest(typing.TypedDict, total=False): + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] filter: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportTestCasesResponse(typing.TypedDict, total=False): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3FilterSpecs(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3FilterSpecs(typing.TypedDict, total=False): dataStores: _list[str] filter: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Flow(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Flow(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings description: str displayName: str @@ -788,10 +694,8 @@ class GoogleCloudDialogflowCxV3Flow(typing_extensions.TypedDict, total=False): transitionRoutes: _list[GoogleCloudDialogflowCxV3TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3FlowImportStrategy( - typing_extensions.TypedDict, total=False -): - globalImportStrategy: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3FlowImportStrategy(typing.TypedDict, total=False): + globalImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -801,10 +705,10 @@ class GoogleCloudDialogflowCxV3FlowImportStrategy( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3FlowInvocation(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3FlowInvocation(typing.TypedDict, total=False): displayName: str flow: str - flowState: typing_extensions.Literal[ + flowState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -814,38 +718,32 @@ class GoogleCloudDialogflowCxV3FlowInvocation(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings(typing.TypedDict, total=False): enableMultiLanguageDetection: bool supportedResponseLanguageCodes: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3FlowTraceMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FlowTraceMetadata(typing.TypedDict, total=False): displayName: str flow: str @typing.type_check_only -class GoogleCloudDialogflowCxV3FlowTransition(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3FlowTransition(typing.TypedDict, total=False): displayName: str flow: str @typing.type_check_only -class GoogleCloudDialogflowCxV3FlowValidationResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FlowValidationResult(typing.TypedDict, total=False): name: str updateTime: str validationMessages: _list[GoogleCloudDialogflowCxV3ValidationMessage] @typing.type_check_only -class GoogleCloudDialogflowCxV3Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings defaultValue: typing.Any displayName: str @@ -856,32 +754,27 @@ class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total= required: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameterFillBehavior( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FormParameterFillBehavior(typing.TypedDict, total=False): initialPromptFulfillment: GoogleCloudDialogflowCxV3Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3FulfillIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FulfillIntentRequest(typing.TypedDict, total=False): match: GoogleCloudDialogflowCxV3Match matchIntentRequest: GoogleCloudDialogflowCxV3MatchIntentRequest outputAudioConfig: GoogleCloudDialogflowCxV3OutputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3FulfillIntentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FulfillIntentResponse(typing.TypedDict, total=False): outputAudio: str outputAudioConfig: GoogleCloudDialogflowCxV3OutputAudioConfig queryResult: GoogleCloudDialogflowCxV3QueryResult responseId: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] @@ -893,13 +786,13 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent @@ -908,14 +801,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -923,19 +816,17 @@ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3GenerativeSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3GenerativeSettings(typing.TypedDict, total=False): fallbackSettings: GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings generativeSafetySettings: GoogleCloudDialogflowCxV3SafetySettings knowledgeConnectorSettings: ( @@ -947,7 +838,7 @@ class GoogleCloudDialogflowCxV3GenerativeSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): promptTemplates: _list[ GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate @@ -956,7 +847,7 @@ class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str frozen: bool @@ -964,7 +855,7 @@ class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate( @typing.type_check_only class GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str agentIdentity: str @@ -974,7 +865,7 @@ class GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings( disableDataStoreFallback: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3Generator(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Generator(typing.TypedDict, total=False): displayName: str llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings modelParameter: GoogleCloudDialogflowCxV3GeneratorModelParameter @@ -983,54 +874,44 @@ class GoogleCloudDialogflowCxV3Generator(typing_extensions.TypedDict, total=Fals promptText: GoogleCloudDialogflowCxV3Phrase @typing.type_check_only -class GoogleCloudDialogflowCxV3GeneratorModelParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3GeneratorModelParameter(typing.TypedDict, total=False): maxDecodeSteps: int temperature: float topK: int topP: float @typing.type_check_only -class GoogleCloudDialogflowCxV3GeneratorPlaceholder( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3GeneratorPlaceholder(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Handler(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Handler(typing.TypedDict, total=False): eventHandler: GoogleCloudDialogflowCxV3HandlerEventHandler lifecycleHandler: GoogleCloudDialogflowCxV3HandlerLifecycleHandler @typing.type_check_only -class GoogleCloudDialogflowCxV3HandlerEventHandler( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3HandlerEventHandler(typing.TypedDict, total=False): condition: str event: str fulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3HandlerLifecycleHandler( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3HandlerLifecycleHandler(typing.TypedDict, total=False): condition: str fulfillment: GoogleCloudDialogflowCxV3Fulfillment lifecycleStage: str @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportEntityTypesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportEntityTypesRequest(typing.TypedDict, total=False): entityTypesContent: GoogleCloudDialogflowCxV3InlineSource entityTypesUri: str - mergeOption: typing_extensions.Literal[ + mergeOption: typing.Literal[ "MERGE_OPTION_UNSPECIFIED", "REPLACE", "MERGE", @@ -1041,9 +922,7 @@ class GoogleCloudDialogflowCxV3ImportEntityTypesRequest( targetEntityType: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportEntityTypesResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources ) @@ -1051,40 +930,30 @@ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportFlowRequest(typing.TypedDict, total=False): flowContent: str flowImportStrategy: GoogleCloudDialogflowCxV3FlowImportStrategy flowUri: str - importOption: typing_extensions.Literal[ - "IMPORT_OPTION_UNSPECIFIED", "KEEP", "FALLBACK" - ] + importOption: typing.Literal["IMPORT_OPTION_UNSPECIFIED", "KEEP", "FALLBACK"] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ImportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportIntentsRequest(typing.TypedDict, total=False): intentsContent: GoogleCloudDialogflowCxV3InlineSource intentsUri: str - mergeOption: typing_extensions.Literal[ + mergeOption: typing.Literal[ "MERGE_OPTION_UNSPECIFIED", "REJECT", "REPLACE", @@ -1095,9 +964,7 @@ class GoogleCloudDialogflowCxV3ImportIntentsRequest( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportIntentsResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources ) @@ -1105,60 +972,48 @@ class GoogleCloudDialogflowCxV3ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportPlaybookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportPlaybookRequest(typing.TypedDict, total=False): importStrategy: GoogleCloudDialogflowCxV3PlaybookImportStrategy playbookContent: str playbookUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestCaseError] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesRequest(typing.TypedDict, total=False): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesResponse(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3InlineSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3InlineSchema(typing.TypedDict, total=False): items: GoogleCloudDialogflowCxV3TypeSchema - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING", "NUMBER", "BOOLEAN", "ARRAY" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3InlineSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3InlineSource(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -1172,7 +1027,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -1184,7 +1039,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -1196,48 +1051,40 @@ class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): trainingPhrases: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentCoverage(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3IntentCoverage(typing.TypedDict, total=False): coverageScore: float intents: _list[GoogleCloudDialogflowCxV3IntentCoverageIntent] @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentCoverageIntent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentCoverageIntent(typing.TypedDict, total=False): covered: bool intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart(typing.TypedDict, total=False): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3DataStoreConnection] enabled: bool @@ -1246,198 +1093,160 @@ class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3LanguageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListAgentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListAgentsResponse(typing.TypedDict, total=False): agents: _list[GoogleCloudDialogflowCxV3Agent] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListChangelogsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListChangelogsResponse(typing.TypedDict, total=False): changelogs: _list[GoogleCloudDialogflowCxV3Changelog] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): continuousTestResults: _list[GoogleCloudDialogflowCxV3ContinuousTestResult] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListDeploymentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[GoogleCloudDialogflowCxV3Deployment] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListEntityTypesResponse(typing.TypedDict, total=False): entityTypes: _list[GoogleCloudDialogflowCxV3EntityType] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListEnvironmentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListEnvironmentsResponse(typing.TypedDict, total=False): environments: _list[GoogleCloudDialogflowCxV3Environment] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListExamplesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListExamplesResponse(typing.TypedDict, total=False): examples: _list[GoogleCloudDialogflowCxV3Example] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListExperimentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListExperimentsResponse(typing.TypedDict, total=False): experiments: _list[GoogleCloudDialogflowCxV3Experiment] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListFlowsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListFlowsResponse(typing.TypedDict, total=False): flows: _list[GoogleCloudDialogflowCxV3Flow] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListGeneratorsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListGeneratorsResponse(typing.TypedDict, total=False): generators: _list[GoogleCloudDialogflowCxV3Generator] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowCxV3Intent] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ListPagesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListPagesResponse(typing.TypedDict, total=False): nextPageToken: str pages: _list[GoogleCloudDialogflowCxV3Page] @typing.type_check_only class GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str playbookVersions: _list[GoogleCloudDialogflowCxV3PlaybookVersion] @typing.type_check_only -class GoogleCloudDialogflowCxV3ListPlaybooksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListPlaybooksResponse(typing.TypedDict, total=False): nextPageToken: str playbooks: _list[GoogleCloudDialogflowCxV3Playbook] @typing.type_check_only class GoogleCloudDialogflowCxV3ListSecuritySettingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str securitySettings: _list[GoogleCloudDialogflowCxV3SecuritySettings] @typing.type_check_only class GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessionEntityTypes: _list[GoogleCloudDialogflowCxV3SessionEntityType] @typing.type_check_only class GoogleCloudDialogflowCxV3ListTestCaseResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str testCaseResults: _list[GoogleCloudDialogflowCxV3TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3ListTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListTestCasesResponse(typing.TypedDict, total=False): nextPageToken: str testCases: _list[GoogleCloudDialogflowCxV3TestCase] @typing.type_check_only -class GoogleCloudDialogflowCxV3ListToolVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListToolVersionsResponse(typing.TypedDict, total=False): nextPageToken: str toolVersions: _list[GoogleCloudDialogflowCxV3ToolVersion] @typing.type_check_only -class GoogleCloudDialogflowCxV3ListToolsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListToolsResponse(typing.TypedDict, total=False): nextPageToken: str tools: _list[GoogleCloudDialogflowCxV3Tool] @typing.type_check_only class GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str transitionRouteGroups: _list[GoogleCloudDialogflowCxV3TransitionRouteGroup] @typing.type_check_only -class GoogleCloudDialogflowCxV3ListVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[GoogleCloudDialogflowCxV3Version] @typing.type_check_only -class GoogleCloudDialogflowCxV3ListWebhooksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ListWebhooksResponse(typing.TypedDict, total=False): nextPageToken: str webhooks: _list[GoogleCloudDialogflowCxV3Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3LlmModelSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3LlmModelSettings(typing.TypedDict, total=False): model: str promptText: str @typing.type_check_only -class GoogleCloudDialogflowCxV3LoadVersionRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3LoadVersionRequest(typing.TypedDict, total=False): allowOverrideAgentResources: bool @typing.type_check_only class GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environments: _list[GoogleCloudDialogflowCxV3Environment] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Match(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Match(typing.TypedDict, total=False): confidence: float event: str intent: GoogleCloudDialogflowCxV3Intent - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "INTENT", "DIRECT_INTENT", @@ -1452,17 +1261,13 @@ class GoogleCloudDialogflowCxV3Match(typing_extensions.TypedDict, total=False): resolvedInput: str @typing.type_check_only -class GoogleCloudDialogflowCxV3MatchIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3MatchIntentRequest(typing.TypedDict, total=False): persistParameterChanges: bool queryInput: GoogleCloudDialogflowCxV3QueryInput queryParams: GoogleCloudDialogflowCxV3QueryParameters @typing.type_check_only -class GoogleCloudDialogflowCxV3MatchIntentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3MatchIntentResponse(typing.TypedDict, total=False): currentPage: GoogleCloudDialogflowCxV3Page matches: _list[GoogleCloudDialogflowCxV3Match] text: str @@ -1471,22 +1276,20 @@ class GoogleCloudDialogflowCxV3MatchIntentResponse( triggerIntent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3NluSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3NluSettings(typing.TypedDict, total=False): classificationThreshold: float - modelTrainingMode: typing_extensions.Literal[ + modelTrainingMode: typing.Literal[ "MODEL_TRAINING_MODE_UNSPECIFIED", "MODEL_TRAINING_MODE_AUTOMATIC", "MODEL_TRAINING_MODE_MANUAL", ] - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_STANDARD", "MODEL_TYPE_ADVANCED" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3OutputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3OutputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", "OUTPUT_AUDIO_ENCODING_LINEAR_16", "OUTPUT_AUDIO_ENCODING_MP3", @@ -1499,7 +1302,7 @@ class GoogleCloudDialogflowCxV3OutputAudioConfig( synthesizeSpeechConfig: GoogleCloudDialogflowCxV3SynthesizeSpeechConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings description: str displayName: str @@ -1512,36 +1315,30 @@ class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): transitionRoutes: _list[GoogleCloudDialogflowCxV3TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3ParameterDefinition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ParameterDefinition(typing.TypedDict, total=False): description: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PARAMETER_TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -1553,11 +1350,11 @@ class GoogleCloudDialogflowCxV3ParameterDefinition( typeSchema: GoogleCloudDialogflowCxV3TypeSchema @typing.type_check_only -class GoogleCloudDialogflowCxV3Phrase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Phrase(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Playbook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Playbook(typing.TypedDict, total=False): codeBlock: GoogleCloudDialogflowCxV3CodeBlock createTime: str displayName: str @@ -1569,9 +1366,7 @@ class GoogleCloudDialogflowCxV3Playbook(typing_extensions.TypedDict, total=False llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings name: str outputParameterDefinitions: _list[GoogleCloudDialogflowCxV3ParameterDefinition] - playbookType: typing_extensions.Literal[ - "PLAYBOOK_TYPE_UNSPECIFIED", "TASK", "ROUTINE" - ] + playbookType: typing.Literal["PLAYBOOK_TYPE_UNSPECIFIED", "TASK", "ROUTINE"] referencedFlows: _list[str] referencedPlaybooks: _list[str] referencedTools: _list[str] @@ -1579,10 +1374,8 @@ class GoogleCloudDialogflowCxV3Playbook(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookImportStrategy( - typing_extensions.TypedDict, total=False -): - mainPlaybookImportStrategy: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3PlaybookImportStrategy(typing.TypedDict, total=False): + mainPlaybookImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -1590,7 +1383,7 @@ class GoogleCloudDialogflowCxV3PlaybookImportStrategy( "IMPORT_STRATEGY_MERGE", "IMPORT_STRATEGY_THROW_ERROR", ] - nestedResourceImportStrategy: typing_extensions.Literal[ + nestedResourceImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -1598,7 +1391,7 @@ class GoogleCloudDialogflowCxV3PlaybookImportStrategy( "IMPORT_STRATEGY_MERGE", "IMPORT_STRATEGY_THROW_ERROR", ] - toolImportStrategy: typing_extensions.Literal[ + toolImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -1608,25 +1401,21 @@ class GoogleCloudDialogflowCxV3PlaybookImportStrategy( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3PlaybookInput(typing.TypedDict, total=False): precedingConversationSummary: str @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PlaybookInstruction(typing.TypedDict, total=False): guidelines: str steps: _list[GoogleCloudDialogflowCxV3PlaybookStep] @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookInvocation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PlaybookInvocation(typing.TypedDict, total=False): displayName: str playbook: str playbookInput: GoogleCloudDialogflowCxV3PlaybookInput playbookOutput: GoogleCloudDialogflowCxV3PlaybookOutput - playbookState: typing_extensions.Literal[ + playbookState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -1636,32 +1425,26 @@ class GoogleCloudDialogflowCxV3PlaybookInvocation( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3PlaybookOutput(typing.TypedDict, total=False): executionSummary: str @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookStep(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3PlaybookStep(typing.TypedDict, total=False): steps: _list[GoogleCloudDialogflowCxV3PlaybookStep] text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookTraceMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PlaybookTraceMetadata(typing.TypedDict, total=False): displayName: str playbook: str @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookTransition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PlaybookTransition(typing.TypedDict, total=False): displayName: str playbook: str @typing.type_check_only -class GoogleCloudDialogflowCxV3PlaybookVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PlaybookVersion(typing.TypedDict, total=False): description: str examples: _list[GoogleCloudDialogflowCxV3Example] name: str @@ -1669,7 +1452,7 @@ class GoogleCloudDialogflowCxV3PlaybookVersion( updateTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3AudioInput dtmf: GoogleCloudDialogflowCxV3DtmfInput event: GoogleCloudDialogflowCxV3EventInput @@ -1679,9 +1462,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3QueryParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3QueryParameters(typing.TypedDict, total=False): analyzeQueryTextSentiment: bool channel: str currentPage: str @@ -1702,7 +1483,7 @@ class GoogleCloudDialogflowCxV3QueryParameters( webhookHeaders: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3QueryResult(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings allowAnswerFeedback: bool currentFlow: GoogleCloudDialogflowCxV3Flow @@ -1726,14 +1507,12 @@ class GoogleCloudDialogflowCxV3QueryResult(typing_extensions.TypedDict, total=Fa webhookStatuses: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDialogflowCxV3ResourceName(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ResourceName(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess endInteraction: GoogleCloudDialogflowCxV3ResponseMessageEndInteraction @@ -1743,7 +1522,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( outputAudioText: GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText payload: dict[str, typing.Any] playAudio: GoogleCloudDialogflowCxV3ResponseMessagePlayAudio - responseType: typing_extensions.Literal[ + responseType: typing.Literal[ "RESPONSE_TYPE_UNSPECIFIED", "ENTRY_PROMPT", "PARAMETER_PROMPT", @@ -1755,35 +1534,33 @@ class GoogleCloudDialogflowCxV3ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio(typing.TypedDict, total=False): segments: _list[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -1791,129 +1568,109 @@ class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio(typing.TypedDict, total=False): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3RestoreAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RestoreAgentRequest(typing.TypedDict, total=False): agentContent: str agentUri: str gitSource: GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource - restoreOption: typing_extensions.Literal[ - "RESTORE_OPTION_UNSPECIFIED", "KEEP", "FALLBACK" - ] + restoreOption: typing.Literal["RESTORE_OPTION_UNSPECIFIED", "KEEP", "FALLBACK"] @typing.type_check_only class GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trackingBranch: str @typing.type_check_only class GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): playbook: GoogleCloudDialogflowCxV3Playbook @typing.type_check_only class GoogleCloudDialogflowCxV3RestoreToolVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3RestoreToolVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tool: GoogleCloudDialogflowCxV3Tool @typing.type_check_only -class GoogleCloudDialogflowCxV3RolloutConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3RolloutConfig(typing.TypedDict, total=False): failureCondition: str rolloutCondition: str rolloutSteps: _list[GoogleCloudDialogflowCxV3RolloutConfigRolloutStep] @typing.type_check_only -class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep(typing.TypedDict, total=False): displayName: str minDuration: str trafficPercent: int @typing.type_check_only -class GoogleCloudDialogflowCxV3RolloutState(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3RolloutState(typing.TypedDict, total=False): startTime: str step: str stepIndex: int @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3RunContinuousTestRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestResponse(typing.TypedDict, total=False): continuousTestResult: GoogleCloudDialogflowCxV3ContinuousTestResult @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3RunTestCaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunTestCaseRequest(typing.TypedDict, total=False): environment: str @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3SafetySettings(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3SafetySettings(typing.TypedDict, total=False): bannedPhrases: _list[GoogleCloudDialogflowCxV3SafetySettingsPhrase] - defaultBannedPhraseMatchStrategy: typing_extensions.Literal[ + defaultBannedPhraseMatchStrategy: typing.Literal[ "PHRASE_MATCH_STRATEGY_UNSPECIFIED", "PARTIAL_MATCH", "WORD_MATCH" ] defaultRaiSettings: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings @@ -1923,38 +1680,34 @@ class GoogleCloudDialogflowCxV3SafetySettings(typing_extensions.TypedDict, total raiSettings: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings @typing.type_check_only -class GoogleCloudDialogflowCxV3SafetySettingsPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SafetySettingsPhrase(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enablePromptSecurity: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3SafetySettingsRaiSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SafetySettingsRaiSettings(typing.TypedDict, total=False): categoryFilters: _list[ GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter ] @typing.type_check_only class GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "SAFETY_CATEGORY_UNSPECIFIED", "DANGEROUS_CONTENT", "HATE_SPEECH", "HARASSMENT", "SEXUALLY_EXPLICIT_CONTENT", ] - filterLevel: typing_extensions.Literal[ + filterLevel: typing.Literal[ "SAFETY_FILTER_LEVEL_UNSPECIFIED", "BLOCK_NONE", "BLOCK_FEW", @@ -1963,14 +1716,12 @@ class GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3SearchConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3SearchConfig(typing.TypedDict, total=False): boostSpecs: _list[GoogleCloudDialogflowCxV3BoostSpecs] filterSpecs: _list[GoogleCloudDialogflowCxV3FilterSpecs] @typing.type_check_only -class GoogleCloudDialogflowCxV3SecuritySettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SecuritySettings(typing.TypedDict, total=False): audioExportSettings: GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings deidentifyTemplate: str displayName: str @@ -1980,50 +1731,42 @@ class GoogleCloudDialogflowCxV3SecuritySettings( inspectTemplate: str name: str purgeDataTypes: _list[ - typing_extensions.Literal["PURGE_DATA_TYPE_UNSPECIFIED", "DIALOGFLOW_HISTORY"] + typing.Literal["PURGE_DATA_TYPE_UNSPECIFIED", "DIALOGFLOW_HISTORY"] ] - redactionScope: typing_extensions.Literal[ - "REDACTION_SCOPE_UNSPECIFIED", "REDACT_DISK_STORAGE" - ] - redactionStrategy: typing_extensions.Literal[ + redactionScope: typing.Literal["REDACTION_SCOPE_UNSPECIFIED", "REDACT_DISK_STORAGE"] + redactionStrategy: typing.Literal[ "REDACTION_STRATEGY_UNSPECIFIED", "REDACT_WITH_SERVICE" ] - retentionStrategy: typing_extensions.Literal[ + retentionStrategy: typing.Literal[ "RETENTION_STRATEGY_UNSPECIFIED", "REMOVE_AFTER_CONVERSATION" ] retentionWindowDays: int @typing.type_check_only class GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioExportPattern: str - audioFormat: typing_extensions.Literal[ - "AUDIO_FORMAT_UNSPECIFIED", "MULAW", "MP3", "OGG" - ] + audioFormat: typing.Literal["AUDIO_FORMAT_UNSPECIFIED", "MULAW", "MP3", "OGG"] enableAudioRedaction: bool gcsBucket: str storeTtsAudio: bool @typing.type_check_only class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableInsightsExport: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3SentimentAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SentimentAnalysisResult(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowCxV3EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -2031,44 +1774,36 @@ class GoogleCloudDialogflowCxV3SessionEntityType( name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3SessionInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3SpeechProcessingMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SpeechProcessingMetadata(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class GoogleCloudDialogflowCxV3SpeechToTextSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SpeechToTextSettings(typing.TypedDict, total=False): enableSpeechAdaptation: bool @typing.type_check_only class GoogleCloudDialogflowCxV3StartExperimentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3StopExperimentRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3StopExperimentRequest(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerFeedback: GoogleCloudDialogflowCxV3AnswerFeedback responseId: str updateMask: str @typing.type_check_only -class GoogleCloudDialogflowCxV3SynthesizeSpeechConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3SynthesizeSpeechConfig(typing.TypedDict, total=False): effectsProfileId: _list[str] pitch: float speakingRate: float @@ -2076,7 +1811,7 @@ class GoogleCloudDialogflowCxV3SynthesizeSpeechConfig( volumeGainDb: float @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3TestCaseResult @@ -2087,65 +1822,57 @@ class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False testConfig: GoogleCloudDialogflowCxV3TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TextToSpeechSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TextToSpeechSettings(typing.TypedDict, total=False): synthesizeSpeechConfigs: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3Tool(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Tool(typing.TypedDict, total=False): dataStoreSpec: GoogleCloudDialogflowCxV3ToolDataStoreTool description: str displayName: str functionSpec: GoogleCloudDialogflowCxV3ToolFunctionTool name: str openApiSpec: GoogleCloudDialogflowCxV3ToolOpenApiTool - toolType: typing_extensions.Literal[ - "TOOL_TYPE_UNSPECIFIED", "CUSTOMIZED_TOOL", "BUILTIN_TOOL" - ] + toolType: typing.Literal["TOOL_TYPE_UNSPECIFIED", "CUSTOMIZED_TOOL", "BUILTIN_TOOL"] @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolAuthentication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolAuthentication(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig bearerTokenConfig: GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig oauthConfig: GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig @@ -2158,91 +1885,81 @@ class GoogleCloudDialogflowCxV3ToolAuthentication( @typing.type_check_only class GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str keyName: str - requestLocation: typing_extensions.Literal[ + requestLocation: typing.Literal[ "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] secretVersionForApiKey: str @typing.type_check_only class GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersionForToken: str token: str @typing.type_check_only class GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str - oauthGrantType: typing_extensions.Literal[ - "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" - ] + oauthGrantType: typing.Literal["OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL"] scopes: _list[str] secretVersionForClientSecret: str tokenEndpoint: str @typing.type_check_only class GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only class GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolDataStoreTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolDataStoreTool(typing.TypedDict, total=False): dataStoreConnections: _list[GoogleCloudDialogflowCxV3DataStoreConnection] fallbackPrompt: GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt @typing.type_check_only class GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolFunctionTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolFunctionTool(typing.TypedDict, total=False): inputSchema: dict[str, typing.Any] outputSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolOpenApiTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolOpenApiTool(typing.TypedDict, total=False): authentication: GoogleCloudDialogflowCxV3ToolAuthentication serviceDirectoryConfig: GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig textSchema: str @@ -2250,23 +1967,21 @@ class GoogleCloudDialogflowCxV3ToolOpenApiTool( @typing.type_check_only class GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): service: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolTLSConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolTLSConfig(typing.TypedDict, total=False): caCerts: _list[GoogleCloudDialogflowCxV3ToolTLSConfigCACert] @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolTLSConfigCACert( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolTLSConfigCACert(typing.TypedDict, total=False): cert: str displayName: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolUse(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolUse(typing.TypedDict, total=False): action: str displayName: str inputActionParameters: dict[str, typing.Any] @@ -2274,7 +1989,7 @@ class GoogleCloudDialogflowCxV3ToolUse(typing_extensions.TypedDict, total=False) tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolVersion(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolVersion(typing.TypedDict, total=False): createTime: str displayName: str name: str @@ -2282,10 +1997,10 @@ class GoogleCloudDialogflowCxV3ToolVersion(typing_extensions.TypedDict, total=Fa updateTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TraceBlock(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TraceBlock(typing.TypedDict, total=False): actions: _list[GoogleCloudDialogflowCxV3Action] completeTime: str - endState: typing_extensions.Literal[ + endState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -2301,20 +2016,16 @@ class GoogleCloudDialogflowCxV3TraceBlock(typing_extensions.TypedDict, total=Fal startTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TrainFlowRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3TrainFlowRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3TransitionCoverage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TransitionCoverage(typing.TypedDict, total=False): coverageScore: float transitions: _list[GoogleCloudDialogflowCxV3TransitionCoverageTransition] @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionCoverageTransition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): covered: bool eventHandler: GoogleCloudDialogflowCxV3EventHandler @@ -2325,15 +2036,13 @@ class GoogleCloudDialogflowCxV3TransitionCoverageTransition( @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flow: GoogleCloudDialogflowCxV3Flow page: GoogleCloudDialogflowCxV3Page @typing.type_check_only -class GoogleCloudDialogflowCxV3TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -2343,23 +2052,21 @@ class GoogleCloudDialogflowCxV3TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3TransitionRouteGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TransitionRouteGroup(typing.TypedDict, total=False): displayName: str name: str transitionRoutes: _list[GoogleCloudDialogflowCxV3TransitionRoute] @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): coverageScore: float coverages: _list[GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage] @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): coverageScore: float routeGroup: GoogleCloudDialogflowCxV3TransitionRouteGroup @@ -2369,19 +2076,17 @@ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage( @typing.type_check_only class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): covered: bool transitionRoute: GoogleCloudDialogflowCxV3TransitionRoute @typing.type_check_only -class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -2392,40 +2097,32 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3TypeSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TypeSchema(typing.TypedDict, total=False): inlineSchema: GoogleCloudDialogflowCxV3InlineSchema schemaReference: GoogleCloudDialogflowCxV3TypeSchemaSchemaReference @typing.type_check_only -class GoogleCloudDialogflowCxV3TypeSchemaSchemaReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TypeSchemaSchemaReference(typing.TypedDict, total=False): schema: str tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3UserUtterance(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3UserUtterance(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ValidateAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ValidateAgentRequest(typing.TypedDict, total=False): languageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ValidateFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ValidateFlowRequest(typing.TypedDict, total=False): languageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ValidationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ValidationMessage(typing.TypedDict, total=False): detail: str resourceNames: _list[GoogleCloudDialogflowCxV3ResourceName] - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "AGENT", "INTENT", @@ -2443,48 +2140,36 @@ class GoogleCloudDialogflowCxV3ValidationMessage( "AGENT_TRANSITION_ROUTE_GROUP", ] resources: _list[str] - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR"] @typing.type_check_only -class GoogleCloudDialogflowCxV3VariantsHistory( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3VariantsHistory(typing.TypedDict, total=False): updateTime: str versionVariants: GoogleCloudDialogflowCxV3VersionVariants @typing.type_check_only -class GoogleCloudDialogflowCxV3Version(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Version(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str nluSettings: GoogleCloudDialogflowCxV3NluSettings - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDialogflowCxV3VersionVariants( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3VersionVariants(typing.TypedDict, total=False): variants: _list[GoogleCloudDialogflowCxV3VersionVariantsVariant] @typing.type_check_only -class GoogleCloudDialogflowCxV3VersionVariantsVariant( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3VersionVariantsVariant(typing.TypedDict, total=False): isControlGroup: bool trafficAllocation: float version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3VoiceSelectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3VoiceSelectionParams(typing.TypedDict, total=False): name: str - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "SSML_VOICE_GENDER_MALE", "SSML_VOICE_GENDER_FEMALE", @@ -2492,7 +2177,7 @@ class GoogleCloudDialogflowCxV3VoiceSelectionParams( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService @@ -2501,11 +2186,9 @@ class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False) timeout: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookGenericWebService( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookGenericWebService(typing.TypedDict, total=False): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -2525,18 +2208,16 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -2546,18 +2227,18 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo @@ -2578,14 +2259,12 @@ class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo(typing.TypedDict, total=False): confidence: float displayName: str lastMatchedIntent: str @@ -2593,22 +2272,20 @@ class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse pageInfo: GoogleCloudDialogflowCxV3PageInfo payload: dict[str, typing.Any] @@ -2618,24 +2295,20 @@ class GoogleCloudDialogflowCxV3WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3beta1GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings @@ -2643,7 +2316,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -2653,7 +2326,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -2661,7 +2334,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -2669,58 +2342,46 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AudioInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3beta1InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1BargeInConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleCloudDialogflowCxV3beta1TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3beta1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] @@ -2729,7 +2390,7 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3beta1Page diagnosticInfo: dict[str, typing.Any] @@ -2741,44 +2402,36 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3beta1Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Environment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -2789,7 +2442,7 @@ class GoogleCloudDialogflowCxV3beta1Environment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool @@ -2797,20 +2450,18 @@ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): webhookOverrides: _list[GoogleCloudDialogflowCxV3beta1Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventHandler( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -2819,70 +2470,62 @@ class GoogleCloudDialogflowCxV3beta1EventHandler( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypesContent: GoogleCloudDialogflowCxV3beta1InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentsContent: GoogleCloudDialogflowCxV3beta1InlineDestination intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3beta1FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FormParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings defaultValue: typing.Any displayName: str @@ -2894,16 +2537,15 @@ class GoogleCloudDialogflowCxV3beta1FormParameter( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): initialPromptFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3beta1EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Fulfillment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] @@ -2917,13 +2559,13 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent @@ -2932,14 +2574,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -2947,25 +2589,23 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources @@ -2974,25 +2614,23 @@ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources @@ -3001,34 +2639,30 @@ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestCaseError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3beta1InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -3042,7 +2676,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3beta1BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -3054,7 +2688,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -3066,38 +2700,32 @@ class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=Fa trainingPhrases: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3beta1DataStoreConnection] enabled: bool @@ -3106,15 +2734,13 @@ class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings description: str displayName: str @@ -3127,33 +2753,27 @@ class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=Fals transitionRoutes: _list[GoogleCloudDialogflowCxV3beta1TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3beta1PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1QueryInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3beta1AudioInput dtmf: GoogleCloudDialogflowCxV3beta1DtmfInput event: GoogleCloudDialogflowCxV3beta1EventInput @@ -3163,9 +2783,7 @@ class GoogleCloudDialogflowCxV3beta1QueryInput( toolCallResult: GoogleCloudDialogflowCxV3beta1ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: ( GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess @@ -3185,35 +2803,35 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -3221,7 +2839,7 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str @@ -3229,56 +2847,50 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): continuousTestResult: GoogleCloudDialogflowCxV3beta1ContinuousTestResult @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3beta1TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SessionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3beta1TestCaseResult @@ -3289,74 +2901,60 @@ class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total= testConfig: GoogleCloudDialogflowCxV3beta1TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3beta1TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3beta1ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3beta1ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -3366,15 +2964,11 @@ class GoogleCloudDialogflowCxV3beta1TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -3385,7 +2979,7 @@ class GoogleCloudDialogflowCxV3beta1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService @@ -3395,10 +2989,10 @@ class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -3418,18 +3012,16 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -3439,20 +3031,18 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo @@ -3473,13 +3063,13 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -3488,22 +3078,20 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: ( GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse ) @@ -3515,24 +3103,20 @@ class GoogleCloudDialogflowCxV3beta1WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingInstruction(typing.TypedDict, total=False): agentAction: str condition: str displayDetails: str @@ -3541,7 +3125,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -3552,7 +3136,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -3560,16 +3144,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float suggestionIndex: int @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingSuggestion(typing.TypedDict, total=False): agentActionSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion ] @@ -3578,7 +3160,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -3588,7 +3170,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -3596,7 +3178,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -3605,7 +3187,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicat @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult @@ -3615,20 +3197,18 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ArticleAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float metadata: dict[str, typing.Any] @@ -3638,9 +3218,9 @@ class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - trainingModelType: typing_extensions.Literal[ + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", @@ -3648,26 +3228,24 @@ class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata( @typing.type_check_only class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2EntityType] @typing.type_check_only -class GoogleCloudDialogflowV2BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchUpdateIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2Intent] @typing.type_check_only class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -3678,20 +3256,18 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2Message newRecognitionResultPayload: GoogleCloudDialogflowV2StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -3702,9 +3278,7 @@ class GoogleCloudDialogflowV2ConversationEvent( ] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationModel(typing.TypedDict, total=False): articleSuggestionModelMetadata: ( GoogleCloudDialogflowV2ArticleSuggestionModelMetadata ) @@ -3716,7 +3290,7 @@ class GoogleCloudDialogflowV2ConversationModel( satisfiesPzi: bool satisfiesPzs: bool smartReplyModelMetadata: GoogleCloudDialogflowV2SmartReplyModelMetadata - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UNDEPLOYED", @@ -3730,18 +3304,18 @@ class GoogleCloudDialogflowV2ConversationModel( @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str conversationModelEvaluation: str createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "RUNNING", @@ -3752,12 +3326,12 @@ class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -3769,12 +3343,12 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str @@ -3782,56 +3356,50 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str @typing.type_check_only -class GoogleCloudDialogflowV2EncryptionSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityTypeEntity(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2ExportOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportOperationMetadata(typing.TypedDict, total=False): exportedGcsDestination: GoogleCloudDialogflowV2GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -3840,19 +3408,15 @@ class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False) source: str @typing.type_check_only -class GoogleCloudDialogflowV2FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowV2GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GenerateSuggestionsResponse(typing.TypedDict, total=False): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer ] @@ -3860,16 +3424,14 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion @@ -3877,22 +3439,20 @@ class GoogleCloudDialogflowV2GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2ToolCall toolCallResult: GoogleCloudDialogflowV2ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowV2HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2HumanAgentAssistantEvent(typing.TypedDict, total=False): conversation: str participant: str suggestionResults: _list[GoogleCloudDialogflowV2SuggestionResult] @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str createTime: str @@ -3900,20 +3460,18 @@ class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str importCount: int @typing.type_check_only -class GoogleCloudDialogflowV2ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ImportDocumentsResponse(typing.TypedDict, total=False): warnings: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -3923,9 +3481,9 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -3938,25 +3496,25 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterD @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2InputDataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2InputDataset(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -3986,21 +3544,19 @@ class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentFollowupIntentInfo(typing.TypedDict, total=False): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2IntentMessageCard @@ -4010,7 +3566,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa listSelect: GoogleCloudDialogflowV2IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -4029,9 +3585,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa text: GoogleCloudDialogflowV2IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -4040,22 +3594,22 @@ class GoogleCloudDialogflowV2IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -4068,7 +3622,7 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -4078,38 +3632,32 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIt @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageCardButton] imageUri: str subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCardButton( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCardButton(typing.TypedDict, total=False): postback: str text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCarouselSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -4118,56 +3666,48 @@ class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageListSelectItem] subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelectItem(typing.TypedDict, total=False): description: str image: GoogleCloudDialogflowV2IntentMessageImage info: GoogleCloudDialogflowV2IntentMessageSelectItemInfo title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageMediaContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageMediaContent(typing.TypedDict, total=False): mediaObjects: _list[ GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -4176,49 +3716,37 @@ class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( name: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageQuickReplies(typing.TypedDict, total=False): quickReplies: _list[str] title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSelectItemInfo(typing.TypedDict, total=False): key: str synonyms: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSimpleResponse(typing.TypedDict, total=False): displayText: str ssml: str textToSpeech: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2IntentMessageSimpleResponse] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestion(typing.TypedDict, total=False): title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestions(typing.TypedDict, total=False): suggestions: _list[GoogleCloudDialogflowV2IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2IntentMessageColumnProperties] image: GoogleCloudDialogflowV2IntentMessageImage @@ -4227,26 +3755,20 @@ class GoogleCloudDialogflowV2IntentMessageTableCard( title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardCell(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardRow(typing.TypedDict, total=False): cells: _list[GoogleCloudDialogflowV2IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -4257,27 +3779,21 @@ class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total= value: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrasePart(typing.TypedDict, total=False): alias: str entityType: str text: str userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @@ -4285,14 +3801,14 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource @@ -4306,7 +3822,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -4315,13 +3831,13 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -4329,7 +3845,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -4338,7 +3854,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -4347,17 +3863,15 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo(typing.TypedDict, total=False): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -4375,7 +3889,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -4384,7 +3898,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -4401,7 +3915,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -4423,52 +3937,50 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeOperationMetadata(typing.TypedDict, total=False): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only -class GoogleCloudDialogflowV2Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] sendTime: str sentimentAnalysis: GoogleCloudDialogflowV2SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2AnnotatedMessagePart] @typing.type_check_only -class GoogleCloudDialogflowV2OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2OriginalDetectIntentRequest(typing.TypedDict, total=False): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -4487,25 +3999,23 @@ class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=Fals webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowV2SentimentAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SentimentAnalysisResult(typing.TypedDict, total=False): queryTextSentiment: GoogleCloudDialogflowV2Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -4513,11 +4023,9 @@ class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -4526,14 +4034,14 @@ class GoogleCloudDialogflowV2SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -4544,61 +4052,59 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyModelMetadata( - typing_extensions.TypedDict, total=False -): - trainingModelType: typing_extensions.Literal[ +class GoogleCloudDialogflowV2SmartReplyModelMetadata(typing.TypedDict, total=False): + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", ] @typing.type_check_only -class GoogleCloudDialogflowV2SpeechWordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str word: str @typing.type_check_only -class GoogleCloudDialogflowV2StreamingRecognitionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2StreamingRecognitionResult(typing.TypedDict, total=False): confidence: float isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + messageType: typing.Literal[ + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] transcript: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestArticlesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestArticlesResponse(typing.TypedDict, total=False): articleAnswers: _list[GoogleCloudDialogflowV2ArticleAnswer] contextSize: int latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestFaqAnswersResponse(typing.TypedDict, total=False): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2FaqAnswer] latestMessage: str @typing.type_check_only class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -4608,15 +4114,13 @@ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestSmartRepliesResponse(typing.TypedDict, total=False): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse @@ -4627,20 +4131,18 @@ class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total suggestSmartRepliesResponse: GoogleCloudDialogflowV2SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -4648,15 +4150,13 @@ class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -4669,28 +4169,26 @@ class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=F tool: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str @typing.type_check_only -class GoogleCloudDialogflowV2WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookRequest(typing.TypedDict, total=False): originalDetectIntentRequest: GoogleCloudDialogflowV2OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2QueryResult responseId: str session: str @typing.type_check_only -class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookResponse(typing.TypedDict, total=False): followupEventInput: GoogleCloudDialogflowV2EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2IntentMessage] fulfillmentText: str @@ -4701,7 +4199,7 @@ class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str condition: str @@ -4711,7 +4209,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -4722,7 +4220,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -4730,7 +4228,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -4738,7 +4236,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDu @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentActionSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion @@ -4750,7 +4248,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -4760,7 +4258,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -4768,7 +4266,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -4777,7 +4275,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDup @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult @@ -4787,22 +4285,18 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ArticleAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ArticleAnswer(typing.TypedDict, total=False): answerRecord: str metadata: dict[str, typing.Any] snippets: _list[str] @@ -4811,26 +4305,26 @@ class GoogleCloudDialogflowV2beta1ArticleAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2beta1EntityType] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intents: _list[GoogleCloudDialogflowV2beta1Intent] @typing.type_check_only class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -4842,20 +4336,18 @@ class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2beta1Message newRecognitionResultPayload: GoogleCloudDialogflowV2beta1StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -4866,61 +4358,51 @@ class GoogleCloudDialogflowV2beta1ConversationEvent( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer(typing.TypedDict, total=False): answerRecord: str intentSuggestion: GoogleCloudDialogflowV2beta1IntentSuggestion queryResult: GoogleCloudDialogflowV2beta1QueryResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1EncryptionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityTypeEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ExportOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportedGcsDestination: GoogleCloudDialogflowV2beta1GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -4929,20 +4411,16 @@ class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=F source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer @@ -4951,16 +4429,14 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion @@ -4968,14 +4444,14 @@ class GoogleCloudDialogflowV2beta1GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2beta1ToolCall toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str participant: str @@ -4983,13 +4459,13 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( @typing.type_check_only class GoogleCloudDialogflowV2beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): warnings: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -4999,9 +4475,9 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -5014,21 +4490,21 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParam @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2beta1EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -5060,7 +4536,7 @@ class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=Fals resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", @@ -5068,15 +4544,13 @@ class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2beta1IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2beta1IntentMessageCard @@ -5086,7 +4560,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( listSelect: GoogleCloudDialogflowV2beta1IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2beta1IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -5116,9 +4590,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( text: GoogleCloudDialogflowV2beta1IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5127,22 +4599,22 @@ class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -5155,7 +4627,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -5165,17 +4637,15 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselC @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageCardButton] imageUri: str subtitle: str @@ -5183,20 +4653,20 @@ class GoogleCloudDialogflowV2beta1IntentMessageCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postback: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5205,30 +4675,28 @@ class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] subtitle: str @@ -5236,7 +4704,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelect( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5245,16 +4713,16 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mediaObjects: _list[ GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -5264,14 +4732,14 @@ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quickReplies: _list[str] title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str media: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia @@ -5280,34 +4748,34 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileUri: str - height: typing_extensions.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] + height: typing.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] thumbnailUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContents: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] - cardWidth: typing_extensions.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] + cardWidth: typing.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContent: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent - cardOrientation: typing_extensions.Literal[ + cardOrientation: typing.Literal[ "CARD_ORIENTATION_UNSPECIFIED", "HORIZONTAL", "VERTICAL" ] - thumbnailImageAlignment: typing_extensions.Literal[ + thumbnailImageAlignment: typing.Literal[ "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", "LEFT", "RIGHT" ] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dial: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial openUrl: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri @@ -5317,52 +4785,50 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postbackData: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction reply: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageRbmText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageRbmText(typing.TypedDict, total=False): rbmSuggestion: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str synonyms: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayText: str ssml: str @@ -5370,26 +4836,24 @@ class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleCloudDialogflowV2beta1IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5399,46 +4863,42 @@ class GoogleCloudDialogflowV2beta1IntentMessageTableCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ssml: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -5449,25 +4909,21 @@ class GoogleCloudDialogflowV2beta1IntentParameter( value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentSuggestion(typing.TypedDict, total=False): description: str displayName: str intentV2: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alias: str entityType: str @@ -5475,27 +4931,21 @@ class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswers( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswers(typing.TypedDict, total=False): answers: _list[GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(typing.TypedDict, total=False): answer: str faqQuestion: str matchConfidence: float - matchConfidenceLevel: typing_extensions.Literal[ + matchConfidenceLevel: typing.Literal[ "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @@ -5505,14 +4955,14 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: ( @@ -5528,7 +4978,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -5537,13 +4987,13 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSourc @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -5551,7 +5001,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -5560,7 +5010,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -5569,17 +5019,17 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -5597,7 +5047,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -5606,7 +5056,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -5623,7 +5073,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -5645,30 +5095,34 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavio @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2beta1MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] responseMessages: _list[GoogleCloudDialogflowV2beta1ResponseMessage] @@ -5676,22 +5130,20 @@ class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=Fal sentimentAnalysis: GoogleCloudDialogflowV2beta1SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2beta1AnnotatedMessagePart] @typing.type_check_only class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -5711,9 +5163,7 @@ class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessage(typing.TypedDict, total=False): endInteraction: GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction liveAgentHandoff: GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff mixedAudio: GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio @@ -5725,24 +5175,24 @@ class GoogleCloudDialogflowV2beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -5750,39 +5200,35 @@ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str sipUri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2beta1ServiceLatency( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -5790,11 +5236,9 @@ class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -5803,14 +5247,14 @@ class GoogleCloudDialogflowV2beta1SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -5822,17 +5266,13 @@ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SmartReplyAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SpeechWordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str @@ -5840,18 +5280,20 @@ class GoogleCloudDialogflowV2beta1SpeechWordInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float dtmfDigits: GoogleCloudDialogflowV2beta1TelephonyDtmfEvents isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ + messageType: typing.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] @@ -5860,7 +5302,7 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): articleAnswers: _list[GoogleCloudDialogflowV2beta1ArticleAnswer] contextSize: int @@ -5868,7 +5310,7 @@ class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int dialogflowAssistAnswers: _list[GoogleCloudDialogflowV2beta1DialogflowAssistAnswer] @@ -5876,7 +5318,7 @@ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2beta1FaqAnswer] @@ -5884,7 +5326,7 @@ class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -5895,16 +5337,14 @@ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2beta1SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse @@ -5921,24 +5361,20 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( suggestSmartRepliesResponse: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2beta1SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents(typing.TypedDict, total=False): dtmfEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TELEPHONY_DTMF_UNSPECIFIED", "DTMF_ONE", "DTMF_TWO", @@ -5960,7 +5396,7 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -5968,17 +5404,13 @@ class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=Fa cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -5991,15 +5423,11 @@ class GoogleCloudDialogflowV2beta1ToolCallResult( tool: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookRequest(typing.TypedDict, total=False): alternativeQueryResults: _list[GoogleCloudDialogflowV2beta1QueryResult] originalDetectIntentRequest: GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2beta1QueryResult @@ -6007,9 +5435,7 @@ class GoogleCloudDialogflowV2beta1WebhookRequest( session: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookResponse(typing.TypedDict, total=False): endInteraction: bool followupEventInput: GoogleCloudDialogflowV2beta1EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2beta1IntentMessage] @@ -6021,21 +5447,15 @@ class GoogleCloudDialogflowV2beta1WebhookResponse( source: str @typing.type_check_only -class GoogleCloudDialogflowV3alpha1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowV3alpha1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -6047,14 +5467,12 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -6062,13 +5480,13 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -6076,15 +5494,15 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi index c3d25bdd9..306ad29a6 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -730,7 +729,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, parent: str, - intentView: typing_extensions.Literal[ + intentView: typing.Literal[ "INTENT_VIEW_UNSPECIFIED", "INTENT_VIEW_PARTIAL", "INTENT_VIEW_FULL", @@ -1041,7 +1040,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): self, *, agent: str, - type: typing_extensions.Literal[ + type: typing.Literal[ "COVERAGE_TYPE_UNSPECIFIED", "INTENT", "PAGE_TRANSITION", @@ -1080,7 +1079,7 @@ class DialogflowResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "TEST_CASE_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi index 53abadc75..c2f730c08 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi @@ -1,13 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudDialogflowCxV3AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings @@ -15,7 +11,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -25,7 +21,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -33,7 +29,7 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -41,55 +37,41 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3AudioInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3BargeInConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse(typing.TypedDict, total=False): results: _list[GoogleCloudDialogflowCxV3TestCaseResult] @typing.type_check_only -class GoogleCloudDialogflowCxV3ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput @typing.type_check_only -class GoogleCloudDialogflowCxV3ConversationTurnUserInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ConversationTurnUserInput(typing.TypedDict, total=False): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] input: GoogleCloudDialogflowCxV3QueryInput @@ -97,7 +79,7 @@ class GoogleCloudDialogflowCxV3ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3Page diagnosticInfo: dict[str, typing.Any] @@ -109,42 +91,36 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -155,26 +131,22 @@ class GoogleCloudDialogflowCxV3Environment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool testCases: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentVersionConfig(typing.TypedDict, total=False): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig(typing.TypedDict, total=False): webhookOverrides: _list[GoogleCloudDialogflowCxV3Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -183,66 +155,54 @@ class GoogleCloudDialogflowCxV3EventHandler(typing_extensions.TypedDict, total=F triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportEntityTypesResponse(typing.TypedDict, total=False): entityTypesContent: GoogleCloudDialogflowCxV3InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ExportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportIntentsResponse(typing.TypedDict, total=False): intentsContent: GoogleCloudDialogflowCxV3InlineDestination intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ExportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ExportTestCasesResponse(typing.TypedDict, total=False): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings defaultValue: typing.Any displayName: str @@ -253,15 +213,14 @@ class GoogleCloudDialogflowCxV3FormParameter(typing_extensions.TypedDict, total= required: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3FormParameterFillBehavior( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3FormParameterFillBehavior(typing.TypedDict, total=False): initialPromptFulfillment: GoogleCloudDialogflowCxV3Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings] @@ -273,13 +232,13 @@ class GoogleCloudDialogflowCxV3Fulfillment(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent @@ -288,14 +247,14 @@ class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -303,24 +262,22 @@ class GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportEntityTypesResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources ) @@ -328,26 +285,20 @@ class GoogleCloudDialogflowCxV3ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3ImportIntentsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportIntentsResponse(typing.TypedDict, total=False): conflictingResources: ( GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources ) @@ -355,34 +306,26 @@ class GoogleCloudDialogflowCxV3ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestCaseError] @typing.type_check_only -class GoogleCloudDialogflowCxV3ImportTestCasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ImportTestCasesResponse(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -396,7 +339,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -408,7 +351,7 @@ class GoogleCloudDialogflowCxV3InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -420,36 +363,30 @@ class GoogleCloudDialogflowCxV3Intent(typing_extensions.TypedDict, total=False): trainingPhrases: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only -class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart(typing.TypedDict, total=False): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3DataStoreConnection] enabled: bool @@ -458,13 +395,13 @@ class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3LanguageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings description: str displayName: str @@ -477,31 +414,27 @@ class GoogleCloudDialogflowCxV3Page(typing_extensions.TypedDict, total=False): transitionRoutes: _list[GoogleCloudDialogflowCxV3TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3AudioInput dtmf: GoogleCloudDialogflowCxV3DtmfInput event: GoogleCloudDialogflowCxV3EventInput @@ -511,9 +444,7 @@ class GoogleCloudDialogflowCxV3QueryInput(typing_extensions.TypedDict, total=Fal toolCallResult: GoogleCloudDialogflowCxV3ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess endInteraction: GoogleCloudDialogflowCxV3ResponseMessageEndInteraction @@ -523,7 +454,7 @@ class GoogleCloudDialogflowCxV3ResponseMessage( outputAudioText: GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText payload: dict[str, typing.Any] playAudio: GoogleCloudDialogflowCxV3ResponseMessagePlayAudio - responseType: typing_extensions.Literal[ + responseType: typing.Literal[ "RESPONSE_TYPE_UNSPECIFIED", "ENTRY_PROMPT", "PARAMETER_PROMPT", @@ -535,35 +466,33 @@ class GoogleCloudDialogflowCxV3ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio(typing.TypedDict, total=False): segments: _list[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -571,62 +500,50 @@ class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio(typing.TypedDict, total=False): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestMetadata(typing.TypedDict, total=False): errors: _list[GoogleCloudDialogflowCxV3TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3RunContinuousTestResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunContinuousTestResponse(typing.TypedDict, total=False): continuousTestResult: GoogleCloudDialogflowCxV3ContinuousTestResult @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3RunTestCaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3SessionInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3TestCaseResult @@ -637,66 +554,60 @@ class GoogleCloudDialogflowCxV3TestCase(typing_extensions.TypedDict, total=False testConfig: GoogleCloudDialogflowCxV3TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3TestCaseResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -706,13 +617,11 @@ class GoogleCloudDialogflowCxV3TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -723,7 +632,7 @@ class GoogleCloudDialogflowCxV3TurnSignals(typing_extensions.TypedDict, total=Fa webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService @@ -732,11 +641,9 @@ class GoogleCloudDialogflowCxV3Webhook(typing_extensions.TypedDict, total=False) timeout: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookGenericWebService( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookGenericWebService(typing.TypedDict, total=False): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -756,18 +663,16 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -777,18 +682,18 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo @@ -809,14 +714,12 @@ class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo(typing.TypedDict, total=False): confidence: float displayName: str lastMatchedIntent: str @@ -824,22 +727,20 @@ class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse pageInfo: GoogleCloudDialogflowCxV3PageInfo payload: dict[str, typing.Any] @@ -849,22 +750,20 @@ class GoogleCloudDialogflowCxV3WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Action(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Action(typing.TypedDict, total=False): agentUtterance: GoogleCloudDialogflowCxV3beta1AgentUtterance completeTime: str displayName: str @@ -886,7 +785,7 @@ class GoogleCloudDialogflowCxV3beta1Action(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destination: str eventType: str @@ -896,27 +795,25 @@ class GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str page: str status: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ActionIntentMatch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ActionIntentMatch(typing.TypedDict, total=False): matchedIntents: _list[GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str generativeFallback: dict[str, typing.Any] @@ -924,19 +821,13 @@ class GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent( score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ActionSTT( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3beta1ActionSTT(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ActionTTS( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3beta1ActionTTS(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AdvancedSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AdvancedSettings(typing.TypedDict, total=False): audioExportGcsDestination: GoogleCloudDialogflowCxV3beta1GcsDestination dtmfSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings loggingSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings @@ -944,7 +835,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool endpointingTimeoutDuration: str @@ -954,7 +845,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConsentBasedRedaction: bool enableInteractionLogging: bool @@ -962,7 +853,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpointerSensitivity: int models: dict[str, typing.Any] @@ -970,7 +861,7 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings( useTimeoutBasedEndpointing: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Agent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Agent(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings answerFeedbackSettings: GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings avatarUri: str @@ -1001,13 +892,13 @@ class GoogleCloudDialogflowCxV3beta1Agent(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableAnswerFeedback: bool @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): passphrase: str privateKey: str @@ -1015,13 +906,13 @@ class GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engine: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gitConnectionSettings: ( GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings @@ -1032,7 +923,7 @@ class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTokenSecret: str branches: _list[str] @@ -1042,7 +933,7 @@ class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSett @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: str branches: _list[str] @@ -1052,94 +943,86 @@ class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEndUserMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AgentUtterance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AgentUtterance(typing.TypedDict, total=False): requireGeneration: bool text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AgentValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flowValidationResults: _list[GoogleCloudDialogflowCxV3beta1FlowValidationResult] name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AnswerFeedback( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AnswerFeedback(typing.TypedDict, total=False): customRating: str - rating: typing_extensions.Literal["RATING_UNSPECIFIED", "THUMBS_UP", "THUMBS_DOWN"] + rating: typing.Literal["RATING_UNSPECIFIED", "THUMBS_UP", "THUMBS_DOWN"] ratingReason: GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason @typing.type_check_only class GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedback: str reasonLabels: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1AudioInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1AudioInput(typing.TypedDict, total=False): audio: str config: GoogleCloudDialogflowCxV3beta1InputAudioConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1BargeInConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1BargeInConfig(typing.TypedDict, total=False): noBargeInDuration: str totalDuration: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environment: str testCases: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleCloudDialogflowCxV3beta1TestCaseResult] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BigQueryExportSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigqueryTable: str enabled: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1BoostSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1BoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[ GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: ( @@ -1149,36 +1032,32 @@ class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1BoostSpecs( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1BoostSpecs(typing.TypedDict, total=False): dataStores: _list[str] spec: _list[GoogleCloudDialogflowCxV3beta1BoostSpec] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str intentCoverage: GoogleCloudDialogflowCxV3beta1IntentCoverage @@ -1186,7 +1065,7 @@ class GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse( transitionCoverage: GoogleCloudDialogflowCxV3beta1TransitionCoverage @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Changelog(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Changelog(typing.TypedDict, total=False): action: str createTime: str displayName: str @@ -1197,39 +1076,33 @@ class GoogleCloudDialogflowCxV3beta1Changelog(typing_extensions.TypedDict, total userEmail: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1CodeBlock(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1CodeBlock(typing.TypedDict, total=False): code: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str targetVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CompareVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseVersionContentJson: str compareTime: str targetVersionContentJson: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ContinuousTestResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ContinuousTestResult(typing.TypedDict, total=False): name: str - result: typing_extensions.Literal[ - "AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED" - ] + result: typing.Literal["AGGREGATED_TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] runTime: str testCaseResults: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Conversation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Conversation(typing.TypedDict, total=False): duration: str environment: GoogleCloudDialogflowCxV3beta1Environment flowVersions: dict[str, typing.Any] @@ -1241,11 +1114,11 @@ class GoogleCloudDialogflowCxV3beta1Conversation( name: str pages: _list[GoogleCloudDialogflowCxV3beta1Page] startTime: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "AUDIO", "TEXT", "UNDETERMINED"] + type: typing.Literal["TYPE_UNSPECIFIED", "AUDIO", "TEXT", "UNDETERMINED"] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerFeedback: GoogleCloudDialogflowCxV3beta1AnswerFeedback createTime: str @@ -1261,22 +1134,20 @@ class GoogleCloudDialogflowCxV3beta1ConversationInteraction( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentDisplayName: str score: float @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): latency: str name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationMetrics(typing.TypedDict, total=False): averageMatchConfidence: float hasEndInteraction: bool hasLiveAgentHandoff: bool @@ -1289,7 +1160,7 @@ class GoogleCloudDialogflowCxV3beta1ConversationMetrics( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): directIntentCount: int eventCount: int @@ -1301,7 +1172,7 @@ class GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioCount: int dtmfCount: int @@ -1310,21 +1181,17 @@ class GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount( textCount: int @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowCxV3beta1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ConversationTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ConversationTurn(typing.TypedDict, total=False): userInput: GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput virtualAgentOutput: GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSentimentAnalysis: bool injectedParameters: dict[str, typing.Any] @@ -1333,7 +1200,7 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentPage: GoogleCloudDialogflowCxV3beta1Page diagnosticInfo: dict[str, typing.Any] @@ -1345,25 +1212,23 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DataStoreConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DataStoreConnection(typing.TypedDict, total=False): dataStore: str - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "STRUCTURED" ] - documentProcessingMode: typing_extensions.Literal[ + documentProcessingMode: typing.Literal[ "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: str answerGenerationModelCallSignals: GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals @@ -1387,7 +1252,7 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelOutput: str @@ -1395,28 +1260,28 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationMo @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): supportingIndices: _list[int] text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchSnippet: GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet snippetIndex: int @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - decision: typing_extensions.Literal[ + decision: typing.Literal[ "GROUNDING_DECISION_UNSPECIFIED", "ACCEPTED_BY_GROUNDING", "REJECTED_BY_GROUNDING", ] - score: typing_extensions.Literal[ + score: typing.Literal[ "GROUNDING_SCORE_BUCKET_UNSPECIFIED", "VERY_LOW", "LOW", @@ -1427,7 +1292,7 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str modelOutput: str @@ -1435,15 +1300,15 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallS @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - bannedPhraseMatch: typing_extensions.Literal[ + bannedPhraseMatch: typing.Literal[ "BANNED_PHRASE_MATCH_UNSPECIFIED", "BANNED_PHRASE_MATCH_NONE", "BANNED_PHRASE_MATCH_QUERY", "BANNED_PHRASE_MATCH_RESPONSE", ] - decision: typing_extensions.Literal[ + decision: typing.Literal[ "SAFETY_DECISION_UNSPECIFIED", "ACCEPTED_BY_SAFETY_CHECK", "REJECTED_BY_SAFETY_CHECK", @@ -1452,7 +1317,7 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentTitle: str documentUri: str @@ -1460,52 +1325,38 @@ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet( text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata(typing.TypedDict, total=False): testErrors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowRequest(typing.TypedDict, total=False): flowVersion: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeployFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeployFlowResponse(typing.TypedDict, total=False): deployment: str environment: GoogleCloudDialogflowCxV3beta1Environment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Deployment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Deployment(typing.TypedDict, total=False): endTime: str flowVersion: str name: str result: GoogleCloudDialogflowCxV3beta1DeploymentResult startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DeploymentResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DeploymentResult(typing.TypedDict, total=False): deploymentTestResults: _list[str] experiment: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DetectIntentRequest(typing.TypedDict, total=False): outputAudioConfig: GoogleCloudDialogflowCxV3beta1OutputAudioConfig queryInput: GoogleCloudDialogflowCxV3beta1QueryInput queryParams: GoogleCloudDialogflowCxV3beta1QueryParameters - responseView: typing_extensions.Literal[ + responseView: typing.Literal[ "DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED", "DETECT_INTENT_RESPONSE_VIEW_FULL", "DETECT_INTENT_RESPONSE_VIEW_BASIC", @@ -1514,57 +1365,45 @@ class GoogleCloudDialogflowCxV3beta1DetectIntentRequest( session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DetectIntentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1DetectIntentResponse(typing.TypedDict, total=False): allowCancellation: bool outputAudio: str outputAudioConfig: GoogleCloudDialogflowCxV3beta1OutputAudioConfig queryResult: GoogleCloudDialogflowCxV3beta1QueryResult responseId: str - responseType: typing_extensions.Literal[ - "RESPONSE_TYPE_UNSPECIFIED", "PARTIAL", "FINAL" - ] + responseType: typing.Literal["RESPONSE_TYPE_UNSPECIFIED", "PARTIAL", "FINAL"] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1DtmfInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1DtmfInput(typing.TypedDict, total=False): digits: str finishDigit: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EntityType( - typing_extensions.TypedDict, total=False -): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3beta1EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowCxV3beta1EntityTypeEntity] excludedPhrases: _list[GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EntityTypeEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Environment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Environment(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1575,7 +1414,7 @@ class GoogleCloudDialogflowCxV3beta1Environment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableContinuousRun: bool enablePredeploymentRun: bool @@ -1583,25 +1422,23 @@ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): webhookOverrides: _list[GoogleCloudDialogflowCxV3beta1Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Event(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Event(typing.TypedDict, total=False): event: str text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventHandler( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventHandler(typing.TypedDict, total=False): event: str name: str targetFlow: str @@ -1610,15 +1447,13 @@ class GoogleCloudDialogflowCxV3beta1EventHandler( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1EventInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1EventInput(typing.TypedDict, total=False): event: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Example(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Example(typing.TypedDict, total=False): actions: _list[GoogleCloudDialogflowCxV3beta1Action] - conversationState: typing_extensions.Literal[ + conversationState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -1637,15 +1472,11 @@ class GoogleCloudDialogflowCxV3beta1Example(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExceptionDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExceptionDetail(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Experiment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Experiment(typing.TypedDict, total=False): createTime: str definition: GoogleCloudDialogflowCxV3beta1ExperimentDefinition description: str @@ -1659,28 +1490,24 @@ class GoogleCloudDialogflowCxV3beta1Experiment( rolloutFailureReason: str rolloutState: GoogleCloudDialogflowCxV3beta1RolloutState startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DRAFT", "RUNNING", "DONE", "ROLLOUT_FAILED" ] variantsHistory: _list[GoogleCloudDialogflowCxV3beta1VariantsHistory] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExperimentDefinition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExperimentDefinition(typing.TypedDict, total=False): condition: str versionVariants: GoogleCloudDialogflowCxV3beta1VersionVariants @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExperimentResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExperimentResult(typing.TypedDict, total=False): lastUpdateTime: str versionMetrics: _list[GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceLevel: float lowerBound: float @@ -1689,18 +1516,18 @@ class GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExperimentResultMetric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceInterval: GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval count: float - countType: typing_extensions.Literal[ + countType: typing.Literal[ "COUNT_TYPE_UNSPECIFIED", "TOTAL_NO_MATCH_COUNT", "TOTAL_TURN_COUNT", "AVERAGE_TURN_COUNT", ] ratio: float - type: typing_extensions.Literal[ + type: typing.Literal[ "METRIC_UNSPECIFIED", "CONTAINED_SESSION_NO_CALLBACK_RATE", "LIVE_AGENT_HANDOFF_RATE", @@ -1711,51 +1538,43 @@ class GoogleCloudDialogflowCxV3beta1ExperimentResultMetric( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metrics: _list[GoogleCloudDialogflowCxV3beta1ExperimentResultMetric] sessionCount: int version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportAgentRequest(typing.TypedDict, total=False): agentUri: str - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE" - ] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE"] environment: str gitDestination: GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination includeBigqueryExportSettings: bool @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commitMessage: str trackingBranch: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str commitSha: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE" - ] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON_PACKAGE"] entityTypes: _list[str] entityTypesContentInline: bool entityTypesUri: str @@ -1763,93 +1582,81 @@ class GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypesContent: GoogleCloudDialogflowCxV3beta1InlineDestination entityTypesUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportFlowRequest(typing.TypedDict, total=False): flowUri: str includeReferencedFlows: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ExportFlowResponse(typing.TypedDict, total=False): flowContent: str flowUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportIntentsRequest( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal[ - "DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON", "CSV" - ] +class GoogleCloudDialogflowCxV3beta1ExportIntentsRequest(typing.TypedDict, total=False): + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON", "CSV"] intents: _list[str] intentsContentInline: bool intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentsContent: GoogleCloudDialogflowCxV3beta1InlineDestination intentsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] playbookUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB", "JSON"] filter: str gcsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str gcsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ExportToolsRequest( - typing_extensions.TypedDict, total=False -): - dataFormat: typing_extensions.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB"] +class GoogleCloudDialogflowCxV3beta1ExportToolsRequest(typing.TypedDict, total=False): + dataFormat: typing.Literal["DATA_FORMAT_UNSPECIFIED", "BLOB"] tools: _list[str] toolsContentInline: bool toolsUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FilterSpecs( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FilterSpecs(typing.TypedDict, total=False): dataStores: _list[str] filter: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Flow(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Flow(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings description: str displayName: str @@ -1865,10 +1672,8 @@ class GoogleCloudDialogflowCxV3beta1Flow(typing_extensions.TypedDict, total=Fals transitionRoutes: _list[GoogleCloudDialogflowCxV3beta1TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FlowImportStrategy( - typing_extensions.TypedDict, total=False -): - globalImportStrategy: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3beta1FlowImportStrategy(typing.TypedDict, total=False): + globalImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -1878,12 +1683,10 @@ class GoogleCloudDialogflowCxV3beta1FlowImportStrategy( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FlowInvocation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FlowInvocation(typing.TypedDict, total=False): displayName: str flow: str - flowState: typing_extensions.Literal[ + flowState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -1896,42 +1699,34 @@ class GoogleCloudDialogflowCxV3beta1FlowInvocation( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableMultiLanguageDetection: bool supportedResponseLanguageCodes: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FlowTraceMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FlowTraceMetadata(typing.TypedDict, total=False): displayName: str flow: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FlowTransition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FlowTransition(typing.TypedDict, total=False): displayName: str flow: str inputActionParameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FlowValidationResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FlowValidationResult(typing.TypedDict, total=False): name: str updateTime: str validationMessages: _list[GoogleCloudDialogflowCxV3beta1ValidationMessage] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Form(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Form(typing.TypedDict, total=False): parameters: _list[GoogleCloudDialogflowCxV3beta1FormParameter] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FormParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FormParameter(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings defaultValue: typing.Any displayName: str @@ -1943,22 +1738,20 @@ class GoogleCloudDialogflowCxV3beta1FormParameter( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): initialPromptFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment repromptEventHandlers: _list[GoogleCloudDialogflowCxV3beta1EventHandler] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1FulfillIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1FulfillIntentRequest(typing.TypedDict, total=False): match: GoogleCloudDialogflowCxV3beta1Match matchIntentRequest: GoogleCloudDialogflowCxV3beta1MatchIntentRequest outputAudioConfig: GoogleCloudDialogflowCxV3beta1OutputAudioConfig @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillIntentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputAudio: str outputAudioConfig: GoogleCloudDialogflowCxV3beta1OutputAudioConfig @@ -1966,10 +1759,9 @@ class GoogleCloudDialogflowCxV3beta1FulfillIntentResponse( responseId: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Fulfillment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1Fulfillment(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings + codeBlockFunction: str conditionalCases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] enableGenerativeFallback: bool generators: _list[GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings] @@ -1983,13 +1775,13 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cases: _list[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseContent: _list[ GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent @@ -1998,14 +1790,14 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalCases: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases message: GoogleCloudDialogflowCxV3beta1ResponseMessage @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generator: str inputParameters: dict[str, typing.Any] @@ -2013,28 +1805,22 @@ class GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GenerativeInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1GenerativeInfo(typing.TypedDict, total=False): actionTracingInfo: GoogleCloudDialogflowCxV3beta1Example currentPlaybooks: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GenerativeSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1GenerativeSettings(typing.TypedDict, total=False): fallbackSettings: GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings generativeSafetySettings: GoogleCloudDialogflowCxV3beta1SafetySettings knowledgeConnectorSettings: ( @@ -2046,7 +1832,7 @@ class GoogleCloudDialogflowCxV3beta1GenerativeSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): promptTemplates: _list[ GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate @@ -2055,7 +1841,7 @@ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str frozen: bool @@ -2063,7 +1849,7 @@ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemp @typing.type_check_only class GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agent: str agentIdentity: str @@ -2073,7 +1859,7 @@ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings disableDataStoreFallback: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Generator(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Generator(typing.TypedDict, total=False): displayName: str llmModelSettings: GoogleCloudDialogflowCxV3beta1LlmModelSettings modelParameter: GoogleCloudDialogflowCxV3beta1GeneratorModelParameter @@ -2083,7 +1869,7 @@ class GoogleCloudDialogflowCxV3beta1Generator(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDialogflowCxV3beta1GeneratorModelParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxDecodeSteps: int temperature: float @@ -2091,28 +1877,24 @@ class GoogleCloudDialogflowCxV3beta1GeneratorModelParameter( topP: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Handler(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Handler(typing.TypedDict, total=False): eventHandler: GoogleCloudDialogflowCxV3beta1HandlerEventHandler lifecycleHandler: GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1HandlerEventHandler( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1HandlerEventHandler(typing.TypedDict, total=False): condition: str event: str fulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only class GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): condition: str fulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @@ -2120,16 +1902,16 @@ class GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypesContent: GoogleCloudDialogflowCxV3beta1InlineSource entityTypesUri: str - mergeOption: typing_extensions.Literal[ + mergeOption: typing.Literal[ "MERGE_OPTION_UNSPECIFIED", "REPLACE", "MERGE", @@ -2141,7 +1923,7 @@ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources @@ -2150,40 +1932,32 @@ class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] entityTypeDisplayNames: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ImportFlowRequest(typing.TypedDict, total=False): flowContent: str flowImportStrategy: GoogleCloudDialogflowCxV3beta1FlowImportStrategy flowUri: str - importOption: typing_extensions.Literal[ - "IMPORT_OPTION_UNSPECIFIED", "KEEP", "FALLBACK" - ] + importOption: typing.Literal["IMPORT_OPTION_UNSPECIFIED", "KEEP", "FALLBACK"] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportFlowResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ImportFlowResponse(typing.TypedDict, total=False): flow: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ImportIntentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ImportIntentsRequest(typing.TypedDict, total=False): intentsContent: GoogleCloudDialogflowCxV3beta1InlineSource intentsUri: str - mergeOption: typing_extensions.Literal[ + mergeOption: typing.Literal[ "MERGE_OPTION_UNSPECIFIED", "REJECT", "REPLACE", @@ -2195,7 +1969,7 @@ class GoogleCloudDialogflowCxV3beta1ImportIntentsRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conflictingResources: ( GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources @@ -2204,14 +1978,14 @@ class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityDisplayNames: _list[str] intentDisplayNames: _list[str] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): importStrategy: GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy playbookContent: str @@ -2219,49 +1993,41 @@ class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestCaseError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str gcsUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InlineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1InlineDestination(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InlineSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1InlineSchema(typing.TypedDict, total=False): items: GoogleCloudDialogflowCxV3beta1TypeSchema - type: typing_extensions.Literal[ + type: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING", "NUMBER", "BOOLEAN", "ARRAY" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InlineSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1InlineSource(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1InputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3beta1InputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "AUDIO_ENCODING_LINEAR_16", "AUDIO_ENCODING_FLAC", @@ -2275,7 +2041,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( bargeInConfig: GoogleCloudDialogflowCxV3beta1BargeInConfig enableWordInfo: bool model: str - modelVariant: typing_extensions.Literal[ + modelVariant: typing.Literal[ "SPEECH_MODEL_VARIANT_UNSPECIFIED", "USE_BEST_AVAILABLE", "USE_STANDARD", @@ -2287,7 +2053,7 @@ class GoogleCloudDialogflowCxV3beta1InputAudioConfig( singleUtterance: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Intent(typing.TypedDict, total=False): description: str displayName: str dtmfPattern: str @@ -2299,52 +2065,42 @@ class GoogleCloudDialogflowCxV3beta1Intent(typing_extensions.TypedDict, total=Fa trainingPhrases: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentCoverage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentCoverage(typing.TypedDict, total=False): coverageScore: float intents: _list[GoogleCloudDialogflowCxV3beta1IntentCoverageIntent] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentCoverageIntent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentCoverageIntent(typing.TypedDict, total=False): covered: bool intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentInput(typing.TypedDict, total=False): intent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentParameter(typing.TypedDict, total=False): entityType: str id: str isList: bool redact: bool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(typing.TypedDict, total=False): id: str parts: _list[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] repeatCount: int @typing.type_check_only class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameterId: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnections: _list[GoogleCloudDialogflowCxV3beta1DataStoreConnection] enabled: bool @@ -2353,183 +2109,165 @@ class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1LanguageInfo(typing.TypedDict, total=False): confidenceScore: float inputLanguageCode: str resolvedLanguageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListAgentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListAgentsResponse(typing.TypedDict, total=False): agents: _list[GoogleCloudDialogflowCxV3beta1Agent] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListChangelogsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): changelogs: _list[GoogleCloudDialogflowCxV3beta1Changelog] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): continuousTestResults: _list[GoogleCloudDialogflowCxV3beta1ContinuousTestResult] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleCloudDialogflowCxV3beta1Conversation] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deployments: _list[GoogleCloudDialogflowCxV3beta1Deployment] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowCxV3beta1EntityType] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environments: _list[GoogleCloudDialogflowCxV3beta1Environment] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListExamplesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListExamplesResponse(typing.TypedDict, total=False): examples: _list[GoogleCloudDialogflowCxV3beta1Example] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListExperimentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experiments: _list[GoogleCloudDialogflowCxV3beta1Experiment] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListFlowsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListFlowsResponse(typing.TypedDict, total=False): flows: _list[GoogleCloudDialogflowCxV3beta1Flow] nextPageToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generators: _list[GoogleCloudDialogflowCxV3beta1Generator] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowCxV3beta1Intent] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListPagesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListPagesResponse(typing.TypedDict, total=False): nextPageToken: str pages: _list[GoogleCloudDialogflowCxV3beta1Page] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListPlaybookVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str playbookVersions: _list[GoogleCloudDialogflowCxV3beta1PlaybookVersion] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListPlaybooksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str playbooks: _list[GoogleCloudDialogflowCxV3beta1Playbook] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str securitySettings: _list[GoogleCloudDialogflowCxV3beta1SecuritySettings] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessionEntityTypes: _list[GoogleCloudDialogflowCxV3beta1SessionEntityType] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str testCaseResults: _list[GoogleCloudDialogflowCxV3beta1TestCaseResult] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str testCases: _list[GoogleCloudDialogflowCxV3beta1TestCase] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str toolVersions: _list[GoogleCloudDialogflowCxV3beta1ToolVersion] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListToolsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListToolsResponse(typing.TypedDict, total=False): nextPageToken: str tools: _list[GoogleCloudDialogflowCxV3beta1Tool] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str transitionRouteGroups: _list[GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[GoogleCloudDialogflowCxV3beta1Version] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ListWebhooksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ListWebhooksResponse(typing.TypedDict, total=False): nextPageToken: str webhooks: _list[GoogleCloudDialogflowCxV3beta1Webhook] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LlmCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1LlmCall(typing.TypedDict, total=False): model: str retrievedExamples: _list[GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample] temperature: float @@ -2537,43 +2275,39 @@ class GoogleCloudDialogflowCxV3beta1LlmCall(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exampleDisplayName: str exampleId: str matchedRetrievalLabel: str - retrievalStrategy: typing_extensions.Literal[ + retrievalStrategy: typing.Literal[ "RETRIEVAL_STRATEGY_UNSPECIFIED", "DEFAULT", "STATIC", "NEVER" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LlmCallTokenCount( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1LlmCallTokenCount(typing.TypedDict, total=False): conversationContextTokenCount: str exampleTokenCount: str totalInputTokenCount: str totalOutputTokenCount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LlmModelSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1LlmModelSettings(typing.TypedDict, total=False): model: str parameters: GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters promptText: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - inputTokenLimit: typing_extensions.Literal[ + inputTokenLimit: typing.Literal[ "INPUT_TOKEN_LIMIT_UNSPECIFIED", "INPUT_TOKEN_LIMIT_SHORT", "INPUT_TOKEN_LIMIT_MEDIUM", "INPUT_TOKEN_LIMIT_LONG", ] - outputTokenLimit: typing_extensions.Literal[ + outputTokenLimit: typing.Literal[ "OUTPUT_TOKEN_LIMIT_UNSPECIFIED", "OUTPUT_TOKEN_LIMIT_SHORT", "OUTPUT_TOKEN_LIMIT_MEDIUM", @@ -2582,24 +2316,22 @@ class GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters( temperature: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1LoadVersionRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1LoadVersionRequest(typing.TypedDict, total=False): allowOverrideAgentResources: bool @typing.type_check_only class GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): environments: _list[GoogleCloudDialogflowCxV3beta1Environment] nextPageToken: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Match(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Match(typing.TypedDict, total=False): confidence: float event: str intent: GoogleCloudDialogflowCxV3beta1Intent - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "MATCH_TYPE_UNSPECIFIED", "INTENT", "DIRECT_INTENT", @@ -2614,17 +2346,13 @@ class GoogleCloudDialogflowCxV3beta1Match(typing_extensions.TypedDict, total=Fal resolvedInput: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1MatchIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1MatchIntentRequest(typing.TypedDict, total=False): persistParameterChanges: bool queryInput: GoogleCloudDialogflowCxV3beta1QueryInput queryParams: GoogleCloudDialogflowCxV3beta1QueryParameters @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1MatchIntentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1MatchIntentResponse(typing.TypedDict, total=False): currentPage: GoogleCloudDialogflowCxV3beta1Page matches: _list[GoogleCloudDialogflowCxV3beta1Match] text: str @@ -2633,32 +2361,26 @@ class GoogleCloudDialogflowCxV3beta1MatchIntentResponse( triggerIntent: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1NamedMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1NamedMetric(typing.TypedDict, total=False): name: str unit: str value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1NluSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1NluSettings(typing.TypedDict, total=False): classificationThreshold: float - modelTrainingMode: typing_extensions.Literal[ + modelTrainingMode: typing.Literal[ "MODEL_TRAINING_MODE_UNSPECIFIED", "MODEL_TRAINING_MODE_AUTOMATIC", "MODEL_TRAINING_MODE_MANUAL", ] - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_STANDARD", "MODEL_TYPE_ADVANCED" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1OutputAudioConfig( - typing_extensions.TypedDict, total=False -): - audioEncoding: typing_extensions.Literal[ +class GoogleCloudDialogflowCxV3beta1OutputAudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", "OUTPUT_AUDIO_ENCODING_LINEAR_16", "OUTPUT_AUDIO_ENCODING_MP3", @@ -2671,7 +2393,7 @@ class GoogleCloudDialogflowCxV3beta1OutputAudioConfig( synthesizeSpeechConfig: GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Page(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings description: str displayName: str @@ -2684,36 +2406,30 @@ class GoogleCloudDialogflowCxV3beta1Page(typing_extensions.TypedDict, total=Fals transitionRoutes: _list[GoogleCloudDialogflowCxV3beta1TransitionRoute] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1PageInfo(typing.TypedDict, total=False): currentPage: str displayName: str formInfo: GoogleCloudDialogflowCxV3beta1PageInfoFormInfo @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo(typing.TypedDict, total=False): parameterInfo: _list[GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str justCollected: bool required: bool - state: typing_extensions.Literal[ - "PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED" - ] + state: typing.Literal["PARAMETER_STATE_UNSPECIFIED", "EMPTY", "INVALID", "FILLED"] value: typing.Any @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ParameterDefinition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ParameterDefinition(typing.TypedDict, total=False): description: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PARAMETER_TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -2725,11 +2441,11 @@ class GoogleCloudDialogflowCxV3beta1ParameterDefinition( typeSchema: GoogleCloudDialogflowCxV3beta1TypeSchema @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Phrase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Phrase(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Playbook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Playbook(typing.TypedDict, total=False): codeBlock: GoogleCloudDialogflowCxV3beta1CodeBlock createTime: str displayName: str @@ -2741,9 +2457,7 @@ class GoogleCloudDialogflowCxV3beta1Playbook(typing_extensions.TypedDict, total= llmModelSettings: GoogleCloudDialogflowCxV3beta1LlmModelSettings name: str outputParameterDefinitions: _list[GoogleCloudDialogflowCxV3beta1ParameterDefinition] - playbookType: typing_extensions.Literal[ - "PLAYBOOK_TYPE_UNSPECIFIED", "TASK", "ROUTINE" - ] + playbookType: typing.Literal["PLAYBOOK_TYPE_UNSPECIFIED", "TASK", "ROUTINE"] referencedFlows: _list[str] referencedPlaybooks: _list[str] referencedTools: _list[str] @@ -2753,9 +2467,9 @@ class GoogleCloudDialogflowCxV3beta1Playbook(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mainPlaybookImportStrategy: typing_extensions.Literal[ + mainPlaybookImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -2763,7 +2477,7 @@ class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy( "IMPORT_STRATEGY_MERGE", "IMPORT_STRATEGY_THROW_ERROR", ] - nestedResourceImportStrategy: typing_extensions.Literal[ + nestedResourceImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -2771,7 +2485,7 @@ class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy( "IMPORT_STRATEGY_MERGE", "IMPORT_STRATEGY_THROW_ERROR", ] - toolImportStrategy: typing_extensions.Literal[ + toolImportStrategy: typing.Literal[ "IMPORT_STRATEGY_UNSPECIFIED", "IMPORT_STRATEGY_CREATE_NEW", "IMPORT_STRATEGY_REPLACE", @@ -2781,28 +2495,22 @@ class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PlaybookInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PlaybookInput(typing.TypedDict, total=False): actionParameters: dict[str, typing.Any] precedingConversationSummary: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PlaybookInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PlaybookInstruction(typing.TypedDict, total=False): guidelines: str steps: _list[GoogleCloudDialogflowCxV3beta1PlaybookStep] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PlaybookInvocation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PlaybookInvocation(typing.TypedDict, total=False): displayName: str playbook: str playbookInput: GoogleCloudDialogflowCxV3beta1PlaybookInput playbookOutput: GoogleCloudDialogflowCxV3beta1PlaybookOutput - playbookState: typing_extensions.Literal[ + playbookState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -2812,41 +2520,31 @@ class GoogleCloudDialogflowCxV3beta1PlaybookInvocation( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PlaybookOutput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PlaybookOutput(typing.TypedDict, total=False): actionParameters: dict[str, typing.Any] executionSummary: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "OK", "CANCELLED", "FAILED", "ESCALATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "OK", "CANCELLED", "FAILED", "ESCALATED"] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PlaybookStep( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PlaybookStep(typing.TypedDict, total=False): steps: _list[GoogleCloudDialogflowCxV3beta1PlaybookStep] text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1PlaybookTraceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str playbook: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PlaybookTransition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PlaybookTransition(typing.TypedDict, total=False): displayName: str inputActionParameters: dict[str, typing.Any] playbook: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1PlaybookVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1PlaybookVersion(typing.TypedDict, total=False): description: str examples: _list[GoogleCloudDialogflowCxV3beta1Example] name: str @@ -2854,9 +2552,7 @@ class GoogleCloudDialogflowCxV3beta1PlaybookVersion( updateTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1QueryInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1QueryInput(typing.TypedDict, total=False): audio: GoogleCloudDialogflowCxV3beta1AudioInput dtmf: GoogleCloudDialogflowCxV3beta1DtmfInput event: GoogleCloudDialogflowCxV3beta1EventInput @@ -2866,9 +2562,7 @@ class GoogleCloudDialogflowCxV3beta1QueryInput( toolCallResult: GoogleCloudDialogflowCxV3beta1ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1QueryParameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1QueryParameters(typing.TypedDict, total=False): analyzeQueryTextSentiment: bool channel: str currentPage: str @@ -2889,9 +2583,7 @@ class GoogleCloudDialogflowCxV3beta1QueryParameters( webhookHeaders: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1QueryResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1QueryResult(typing.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3beta1AdvancedSettings allowAnswerFeedback: bool currentFlow: GoogleCloudDialogflowCxV3beta1Flow @@ -2920,16 +2612,12 @@ class GoogleCloudDialogflowCxV3beta1QueryResult( webhookTags: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResourceName( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResourceName(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessage(typing.TypedDict, total=False): channel: str conversationSuccess: ( GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess @@ -2949,35 +2637,35 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -2985,7 +2673,7 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool ssml: str @@ -2993,127 +2681,111 @@ class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audioUri: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ResponseMessageText(typing.TypedDict, total=False): allowPlaybackInterruption: bool text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RestoreAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RestoreAgentRequest(typing.TypedDict, total=False): agentContent: str agentUri: str gitSource: GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource - restoreOption: typing_extensions.Literal[ - "RESTORE_OPTION_UNSPECIFIED", "KEEP", "FALLBACK" - ] + restoreOption: typing.Literal["RESTORE_OPTION_UNSPECIFIED", "KEEP", "FALLBACK"] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trackingBranch: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): playbook: GoogleCloudDialogflowCxV3beta1Playbook @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tool: GoogleCloudDialogflowCxV3beta1Tool @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RolloutConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RolloutConfig(typing.TypedDict, total=False): failureCondition: str rolloutCondition: str rolloutSteps: _list[GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str minDuration: str trafficPercent: int @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RolloutState( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RolloutState(typing.TypedDict, total=False): startTime: str step: str stepIndex: int @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudDialogflowCxV3beta1TestError] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): continuousTestResult: GoogleCloudDialogflowCxV3beta1ContinuousTestResult @typing.type_check_only class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RunTestCaseRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RunTestCaseRequest(typing.TypedDict, total=False): environment: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse(typing.TypedDict, total=False): result: GoogleCloudDialogflowCxV3beta1TestCaseResult @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SafetySettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SafetySettings(typing.TypedDict, total=False): bannedPhrases: _list[GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase] - defaultBannedPhraseMatchStrategy: typing_extensions.Literal[ + defaultBannedPhraseMatchStrategy: typing.Literal[ "PHRASE_MATCH_STRATEGY_UNSPECIFIED", "PARTIAL_MATCH", "WORD_MATCH" ] defaultRaiSettings: GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings @@ -3123,21 +2795,19 @@ class GoogleCloudDialogflowCxV3beta1SafetySettings( raiSettings: GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enablePromptSecurity: bool @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryFilters: _list[ GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter @@ -3145,16 +2815,16 @@ class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "SAFETY_CATEGORY_UNSPECIFIED", "DANGEROUS_CONTENT", "HATE_SPEECH", "HARASSMENT", "SEXUALLY_EXPLICIT_CONTENT", ] - filterLevel: typing_extensions.Literal[ + filterLevel: typing.Literal[ "SAFETY_FILTER_LEVEL_UNSPECIFIED", "BLOCK_NONE", "BLOCK_FEW", @@ -3163,16 +2833,12 @@ class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SearchConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SearchConfig(typing.TypedDict, total=False): boostSpecs: _list[GoogleCloudDialogflowCxV3beta1BoostSpecs] filterSpecs: _list[GoogleCloudDialogflowCxV3beta1FilterSpecs] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SecuritySettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SecuritySettings(typing.TypedDict, total=False): audioExportSettings: ( GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings ) @@ -3184,50 +2850,44 @@ class GoogleCloudDialogflowCxV3beta1SecuritySettings( inspectTemplate: str name: str purgeDataTypes: _list[ - typing_extensions.Literal["PURGE_DATA_TYPE_UNSPECIFIED", "DIALOGFLOW_HISTORY"] + typing.Literal["PURGE_DATA_TYPE_UNSPECIFIED", "DIALOGFLOW_HISTORY"] ] - redactionScope: typing_extensions.Literal[ - "REDACTION_SCOPE_UNSPECIFIED", "REDACT_DISK_STORAGE" - ] - redactionStrategy: typing_extensions.Literal[ + redactionScope: typing.Literal["REDACTION_SCOPE_UNSPECIFIED", "REDACT_DISK_STORAGE"] + redactionStrategy: typing.Literal[ "REDACTION_STRATEGY_UNSPECIFIED", "REDACT_WITH_SERVICE" ] - retentionStrategy: typing_extensions.Literal[ + retentionStrategy: typing.Literal[ "RETENTION_STRATEGY_UNSPECIFIED", "REMOVE_AFTER_CONVERSATION" ] retentionWindowDays: int @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioExportPattern: str - audioFormat: typing_extensions.Literal[ - "AUDIO_FORMAT_UNSPECIFIED", "MULAW", "MP3", "OGG" - ] + audioFormat: typing.Literal["AUDIO_FORMAT_UNSPECIFIED", "MULAW", "MP3", "OGG"] enableAudioRedaction: bool gcsBucket: str storeTtsAudio: bool @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableInsightsExport: bool @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowCxV3beta1EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -3235,14 +2895,12 @@ class GoogleCloudDialogflowCxV3beta1SessionEntityType( name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SessionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SessionInfo(typing.TypedDict, total=False): parameters: dict[str, typing.Any] session: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Span(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Span(typing.TypedDict, total=False): completeTime: str metrics: _list[GoogleCloudDialogflowCxV3beta1NamedMetric] name: str @@ -3251,33 +2909,31 @@ class GoogleCloudDialogflowCxV3beta1Span(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SpeechProcessingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1SpeechToTextSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1SpeechToTextSettings(typing.TypedDict, total=False): enableSpeechAdaptation: bool @typing.type_check_only class GoogleCloudDialogflowCxV3beta1StartExperimentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Status(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Status(typing.TypedDict, total=False): exception: GoogleCloudDialogflowCxV3beta1ExceptionDetail @typing.type_check_only class GoogleCloudDialogflowCxV3beta1StopExperimentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerFeedback: GoogleCloudDialogflowCxV3beta1AnswerFeedback responseId: str @@ -3285,7 +2941,7 @@ class GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectsProfileId: _list[str] pitch: float @@ -3294,7 +2950,7 @@ class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig( volumeGainDb: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestCase(typing.TypedDict, total=False): creationTime: str displayName: str lastTestResult: GoogleCloudDialogflowCxV3beta1TestCaseResult @@ -3305,57 +2961,47 @@ class GoogleCloudDialogflowCxV3beta1TestCase(typing_extensions.TypedDict, total= testConfig: GoogleCloudDialogflowCxV3beta1TestConfig @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: GoogleCloudDialogflowCxV3beta1TestCase @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestCaseResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestCaseResult(typing.TypedDict, total=False): conversationTurns: _list[GoogleCloudDialogflowCxV3beta1ConversationTurn] environment: str name: str - testResult: typing_extensions.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] + testResult: typing.Literal["TEST_RESULT_UNSPECIFIED", "PASSED", "FAILED"] testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestConfig(typing.TypedDict, total=False): flow: str page: str trackingParameters: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestError(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TestError(typing.TypedDict, total=False): status: GoogleRpcStatus testCase: str testTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TestRunDifference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TestRunDifference(typing.TypedDict, total=False): description: str - type: typing_extensions.Literal[ + type: typing.Literal[ "DIFF_TYPE_UNSPECIFIED", "INTENT", "PAGE", "PARAMETERS", "UTTERANCE", "FLOW" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1TextInput(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TextToSpeechSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TextToSpeechSettings(typing.TypedDict, total=False): synthesizeSpeechConfigs: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Tool(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Tool(typing.TypedDict, total=False): connectorSpec: GoogleCloudDialogflowCxV3beta1ToolConnectorTool dataStoreSpec: GoogleCloudDialogflowCxV3beta1ToolDataStoreTool description: str @@ -3364,14 +3010,10 @@ class GoogleCloudDialogflowCxV3beta1Tool(typing_extensions.TypedDict, total=Fals functionSpec: GoogleCloudDialogflowCxV3beta1ToolFunctionTool name: str openApiSpec: GoogleCloudDialogflowCxV3beta1ToolOpenApiTool - toolType: typing_extensions.Literal[ - "TOOL_TYPE_UNSPECIFIED", "CUSTOMIZED_TOOL", "BUILTIN_TOOL" - ] + toolType: typing.Literal["TOOL_TYPE_UNSPECIFIED", "CUSTOMIZED_TOOL", "BUILTIN_TOOL"] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolAuthentication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolAuthentication(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig bearerTokenConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig oauthConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig @@ -3384,81 +3026,73 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthentication( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str keyName: str - requestLocation: typing_extensions.Literal[ + requestLocation: typing.Literal[ "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" ] secretVersionForApiKey: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersionForToken: str token: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str - oauthGrantType: typing_extensions.Literal[ - "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" - ] + oauthGrantType: typing.Literal["OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL"] scopes: _list[str] secretVersionForClientSecret: str tokenEndpoint: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "ID_TOKEN", "ACCESS_TOKEN" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1ToolCall(typing.TypedDict, total=False): action: str inputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResult(typing.TypedDict, total=False): action: str error: GoogleCloudDialogflowCxV3beta1ToolCallResultError outputParameters: dict[str, typing.Any] tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolConnectorTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolConnectorTool(typing.TypedDict, total=False): actions: _list[GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction] endUserAuthConfig: GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig name: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectionActionId: str entityOperation: ( @@ -3469,28 +3103,26 @@ class GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityId: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolDataStoreTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolDataStoreTool(typing.TypedDict, total=False): dataStoreConnections: _list[GoogleCloudDialogflowCxV3beta1DataStoreConnection] fallbackPrompt: GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): oauth2AuthCodeConfig: ( GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig @@ -3501,35 +3133,29 @@ class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): oauthToken: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientKey: str issuer: str subject: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolExtensionTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolExtensionTool(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolFunctionTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolFunctionTool(typing.TypedDict, total=False): inputSchema: dict[str, typing.Any] outputSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolOpenApiTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolOpenApiTool(typing.TypedDict, total=False): authentication: GoogleCloudDialogflowCxV3beta1ToolAuthentication serviceDirectoryConfig: GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig textSchema: str @@ -3537,25 +3163,21 @@ class GoogleCloudDialogflowCxV3beta1ToolOpenApiTool( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): service: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolTLSConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolTLSConfig(typing.TypedDict, total=False): caCerts: _list[GoogleCloudDialogflowCxV3beta1ToolTLSConfigCACert] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolTLSConfigCACert( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolTLSConfigCACert(typing.TypedDict, total=False): cert: str displayName: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolUse(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1ToolUse(typing.TypedDict, total=False): action: str dataStoreToolTrace: GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace displayName: str @@ -3566,21 +3188,19 @@ class GoogleCloudDialogflowCxV3beta1ToolUse(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreConnectionSignals: GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): webhookTag: str webhookUri: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ToolVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ToolVersion(typing.TypedDict, total=False): createTime: str displayName: str name: str @@ -3588,12 +3208,10 @@ class GoogleCloudDialogflowCxV3beta1ToolVersion( updateTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TraceBlock( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TraceBlock(typing.TypedDict, total=False): actions: _list[GoogleCloudDialogflowCxV3beta1Action] completeTime: str - endState: typing_extensions.Literal[ + endState: typing.Literal[ "OUTPUT_STATE_UNSPECIFIED", "OUTPUT_STATE_OK", "OUTPUT_STATE_CANCELLED", @@ -3609,20 +3227,16 @@ class GoogleCloudDialogflowCxV3beta1TraceBlock( startTime: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TrainFlowRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDialogflowCxV3beta1TrainFlowRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TransitionCoverage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TransitionCoverage(typing.TypedDict, total=False): coverageScore: float transitions: _list[GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): covered: bool eventHandler: GoogleCloudDialogflowCxV3beta1EventHandler @@ -3633,15 +3247,13 @@ class GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flow: GoogleCloudDialogflowCxV3beta1Flow page: GoogleCloudDialogflowCxV3beta1Page @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TransitionRoute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TransitionRoute(typing.TypedDict, total=False): condition: str description: str intent: str @@ -3651,23 +3263,21 @@ class GoogleCloudDialogflowCxV3beta1TransitionRoute( triggerFulfillment: GoogleCloudDialogflowCxV3beta1Fulfillment @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup(typing.TypedDict, total=False): displayName: str name: str transitionRoutes: _list[GoogleCloudDialogflowCxV3beta1TransitionRoute] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): coverageScore: float coverages: _list[GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): coverageScore: float routeGroup: GoogleCloudDialogflowCxV3beta1TransitionRouteGroup @@ -3677,21 +3287,17 @@ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): covered: bool transitionRoute: GoogleCloudDialogflowCxV3beta1TransitionRoute @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -3702,46 +3308,36 @@ class GoogleCloudDialogflowCxV3beta1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1TypeSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1TypeSchema(typing.TypedDict, total=False): inlineSchema: GoogleCloudDialogflowCxV3beta1InlineSchema schemaReference: GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference @typing.type_check_only class GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): schema: str tool: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1UserUtterance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1UserUtterance(typing.TypedDict, total=False): audio: str audioTokens: _list[int] text: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ValidateAgentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ValidateAgentRequest(typing.TypedDict, total=False): languageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ValidateFlowRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ValidateFlowRequest(typing.TypedDict, total=False): languageCode: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1ValidationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1ValidationMessage(typing.TypedDict, total=False): detail: str resourceNames: _list[GoogleCloudDialogflowCxV3beta1ResourceName] - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "AGENT", "INTENT", @@ -3759,48 +3355,38 @@ class GoogleCloudDialogflowCxV3beta1ValidationMessage( "AGENT_TRANSITION_ROUTE_GROUP", ] resources: _list[str] - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR"] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1VariantsHistory( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1VariantsHistory(typing.TypedDict, total=False): updateTime: str versionVariants: GoogleCloudDialogflowCxV3beta1VersionVariants @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Version(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Version(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str nluSettings: GoogleCloudDialogflowCxV3beta1NluSettings - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1VersionVariants( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1VersionVariants(typing.TypedDict, total=False): variants: _list[GoogleCloudDialogflowCxV3beta1VersionVariantsVariant] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1VersionVariantsVariant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isControlGroup: bool trafficAllocation: float version: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams(typing.TypedDict, total=False): name: str - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "SSML_VOICE_GENDER_MALE", "SSML_VOICE_GENDER_FEMALE", @@ -3808,7 +3394,7 @@ class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams( ] @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowCxV3beta1Webhook(typing.TypedDict, total=False): disabled: bool displayName: str genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService @@ -3818,10 +3404,10 @@ class GoogleCloudDialogflowCxV3beta1Webhook(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedCaCerts: _list[str] - httpMethod: typing_extensions.Literal[ + httpMethod: typing.Literal[ "HTTP_METHOD_UNSPECIFIED", "POST", "GET", @@ -3841,18 +3427,16 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( serviceAccountAuthConfig: ( GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig ) - serviceAgentAuth: typing_extensions.Literal[ + serviceAgentAuth: typing.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] uri: str username: str - webhookType: typing_extensions.Literal[ - "WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE" - ] + webhookType: typing.Literal["WEBHOOK_TYPE_UNSPECIFIED", "STANDARD", "FLEXIBLE"] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: str @@ -3862,20 +3446,18 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): secretVersion: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookRequest(typing.TypedDict, total=False): detectIntentResponseId: str dtmfDigits: str fulfillmentInfo: GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo @@ -3896,13 +3478,13 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequest( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tag: str @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float displayName: str @@ -3911,22 +3493,20 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalValue: str resolvedValue: typing.Any @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowCxV3beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowCxV3beta1WebhookResponse(typing.TypedDict, total=False): fulfillmentResponse: ( GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse ) @@ -3938,24 +3518,20 @@ class GoogleCloudDialogflowCxV3beta1WebhookResponse( @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mergeBehavior: typing_extensions.Literal[ - "MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE" - ] + mergeBehavior: typing.Literal["MERGE_BEHAVIOR_UNSPECIFIED", "APPEND", "REPLACE"] messages: _list[GoogleCloudDialogflowCxV3beta1ResponseMessage] @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService service: str @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingInstruction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingInstruction(typing.TypedDict, total=False): agentAction: str condition: str displayDetails: str @@ -3964,7 +3540,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -3975,7 +3551,7 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -3983,16 +3559,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float suggestionIndex: int @typing.type_check_only -class GoogleCloudDialogflowV2AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AgentCoachingSuggestion(typing.TypedDict, total=False): agentActionSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion ] @@ -4001,7 +3575,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -4011,7 +3585,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -4019,7 +3593,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -4028,7 +3602,7 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicat @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult @@ -4038,20 +3612,18 @@ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ArticleAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float metadata: dict[str, typing.Any] @@ -4061,9 +3633,9 @@ class GoogleCloudDialogflowV2ArticleAnswer(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - trainingModelType: typing_extensions.Literal[ + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", @@ -4071,26 +3643,24 @@ class GoogleCloudDialogflowV2ArticleSuggestionModelMetadata( @typing.type_check_only class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2EntityType] @typing.type_check_only -class GoogleCloudDialogflowV2BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2BatchUpdateIntentsResponse(typing.TypedDict, total=False): intents: _list[GoogleCloudDialogflowV2Intent] @typing.type_check_only class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -4101,20 +3671,18 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2Message newRecognitionResultPayload: GoogleCloudDialogflowV2StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -4125,9 +3693,7 @@ class GoogleCloudDialogflowV2ConversationEvent( ] @typing.type_check_only -class GoogleCloudDialogflowV2ConversationModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ConversationModel(typing.TypedDict, total=False): articleSuggestionModelMetadata: ( GoogleCloudDialogflowV2ArticleSuggestionModelMetadata ) @@ -4139,7 +3705,7 @@ class GoogleCloudDialogflowV2ConversationModel( satisfiesPzi: bool satisfiesPzs: bool smartReplyModelMetadata: GoogleCloudDialogflowV2SmartReplyModelMetadata - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UNDEPLOYED", @@ -4153,18 +3719,18 @@ class GoogleCloudDialogflowV2ConversationModel( @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str conversationModelEvaluation: str createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "RUNNING", @@ -4175,12 +3741,12 @@ class GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", @@ -4192,12 +3758,12 @@ class GoogleCloudDialogflowV2CreateConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str @@ -4205,56 +3771,50 @@ class GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2DeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str @typing.type_check_only -class GoogleCloudDialogflowV2EncryptionSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2EntityTypeEntity(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only -class GoogleCloudDialogflowV2ExportOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ExportOperationMetadata(typing.TypedDict, total=False): exportedGcsDestination: GoogleCloudDialogflowV2GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -4263,19 +3823,15 @@ class GoogleCloudDialogflowV2FaqAnswer(typing_extensions.TypedDict, total=False) source: str @typing.type_check_only -class GoogleCloudDialogflowV2FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2GcsDestination(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDialogflowV2GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GenerateSuggestionsResponse(typing.TypedDict, total=False): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer ] @@ -4283,16 +3839,14 @@ class GoogleCloudDialogflowV2GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2SummarySuggestion @@ -4300,22 +3854,20 @@ class GoogleCloudDialogflowV2GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2ToolCall toolCallResult: GoogleCloudDialogflowV2ToolCallResult @typing.type_check_only -class GoogleCloudDialogflowV2HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2HumanAgentAssistantEvent(typing.TypedDict, total=False): conversation: str participant: str suggestionResults: _list[GoogleCloudDialogflowV2SuggestionResult] @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str createTime: str @@ -4323,20 +3875,18 @@ class GoogleCloudDialogflowV2ImportConversationDataOperationMetadata( @typing.type_check_only class GoogleCloudDialogflowV2ImportConversationDataOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationDataset: str importCount: int @typing.type_check_only -class GoogleCloudDialogflowV2ImportDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ImportDocumentsResponse(typing.TypedDict, total=False): warnings: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -4346,9 +3896,9 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -4361,25 +3911,25 @@ class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterD @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2InputDataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2InputDataset(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -4409,21 +3959,19 @@ class GoogleCloudDialogflowV2Intent(typing_extensions.TypedDict, total=False): resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentFollowupIntentInfo(typing.TypedDict, total=False): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2IntentMessageCard @@ -4433,7 +3981,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa listSelect: GoogleCloudDialogflowV2IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -4452,9 +4000,7 @@ class GoogleCloudDialogflowV2IntentMessage(typing_extensions.TypedDict, total=Fa text: GoogleCloudDialogflowV2IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -4463,22 +4009,22 @@ class GoogleCloudDialogflowV2IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -4491,7 +4037,7 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -4501,38 +4047,32 @@ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIt @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageCardButton] imageUri: str subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCardButton( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCardButton(typing.TypedDict, total=False): postback: str text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageCarouselSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2IntentMessageImage @@ -4541,56 +4081,48 @@ class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelect( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelect(typing.TypedDict, total=False): items: _list[GoogleCloudDialogflowV2IntentMessageListSelectItem] subtitle: str title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageListSelectItem(typing.TypedDict, total=False): description: str image: GoogleCloudDialogflowV2IntentMessageImage info: GoogleCloudDialogflowV2IntentMessageSelectItemInfo title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageMediaContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageMediaContent(typing.TypedDict, total=False): mediaObjects: _list[ GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -4599,49 +4131,37 @@ class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( name: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageQuickReplies(typing.TypedDict, total=False): quickReplies: _list[str] title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSelectItemInfo(typing.TypedDict, total=False): key: str synonyms: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSimpleResponse(typing.TypedDict, total=False): displayText: str ssml: str textToSpeech: str @typing.type_check_only class GoogleCloudDialogflowV2IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2IntentMessageSimpleResponse] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestion(typing.TypedDict, total=False): title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageSuggestions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageSuggestions(typing.TypedDict, total=False): suggestions: _list[GoogleCloudDialogflowV2IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2IntentMessageColumnProperties] image: GoogleCloudDialogflowV2IntentMessageImage @@ -4650,26 +4170,20 @@ class GoogleCloudDialogflowV2IntentMessageTableCard( title: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardCell(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageTableCardRow(typing.TypedDict, total=False): cells: _list[GoogleCloudDialogflowV2IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only -class GoogleCloudDialogflowV2IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -4680,27 +4194,21 @@ class GoogleCloudDialogflowV2IntentParameter(typing_extensions.TypedDict, total= value: str @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only -class GoogleCloudDialogflowV2IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2IntentTrainingPhrasePart(typing.TypedDict, total=False): alias: str entityType: str text: str userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @@ -4708,14 +4216,14 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource @@ -4729,7 +4237,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -4738,13 +4246,13 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -4752,7 +4260,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -4761,7 +4269,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourc @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -4770,17 +4278,15 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo(typing.TypedDict, total=False): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -4798,7 +4304,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -4807,7 +4313,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -4824,7 +4330,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -4846,52 +4352,50 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only -class GoogleCloudDialogflowV2KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2KnowledgeOperationMetadata(typing.TypedDict, total=False): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only -class GoogleCloudDialogflowV2Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] sendTime: str sentimentAnalysis: GoogleCloudDialogflowV2SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2AnnotatedMessagePart] @typing.type_check_only -class GoogleCloudDialogflowV2OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2OriginalDetectIntentRequest(typing.TypedDict, total=False): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -4910,25 +4414,23 @@ class GoogleCloudDialogflowV2QueryResult(typing_extensions.TypedDict, total=Fals webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class GoogleCloudDialogflowV2SentimentAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SentimentAnalysisResult(typing.TypedDict, total=False): queryTextSentiment: GoogleCloudDialogflowV2Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -4936,11 +4438,9 @@ class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -4949,14 +4449,14 @@ class GoogleCloudDialogflowV2SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -4967,61 +4467,59 @@ class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2SmartReplyModelMetadata( - typing_extensions.TypedDict, total=False -): - trainingModelType: typing_extensions.Literal[ +class GoogleCloudDialogflowV2SmartReplyModelMetadata(typing.TypedDict, total=False): + trainingModelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "SMART_REPLY_DUAL_ENCODER_MODEL", "SMART_REPLY_BERT_MODEL", ] @typing.type_check_only -class GoogleCloudDialogflowV2SpeechWordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str word: str @typing.type_check_only -class GoogleCloudDialogflowV2StreamingRecognitionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2StreamingRecognitionResult(typing.TypedDict, total=False): confidence: float isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE" + messageType: typing.Literal[ + "MESSAGE_TYPE_UNSPECIFIED", + "TRANSCRIPT", + "DTMF_DIGITS", + "END_OF_SINGLE_UTTERANCE", + "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2SpeechWordInfo] transcript: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestArticlesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestArticlesResponse(typing.TypedDict, total=False): articleAnswers: _list[GoogleCloudDialogflowV2ArticleAnswer] contextSize: int latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestFaqAnswersResponse(typing.TypedDict, total=False): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2FaqAnswer] latestMessage: str @typing.type_check_only class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -5031,15 +4529,13 @@ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( latestMessage: str @typing.type_check_only -class GoogleCloudDialogflowV2SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SuggestSmartRepliesResponse(typing.TypedDict, total=False): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2SuggestArticlesResponse @@ -5050,20 +4546,18 @@ class GoogleCloudDialogflowV2SuggestionResult(typing_extensions.TypedDict, total suggestSmartRepliesResponse: GoogleCloudDialogflowV2SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -5071,15 +4565,13 @@ class GoogleCloudDialogflowV2ToolCall(typing_extensions.TypedDict, total=False): cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -5092,28 +4584,26 @@ class GoogleCloudDialogflowV2ToolCallResult(typing_extensions.TypedDict, total=F tool: str @typing.type_check_only -class GoogleCloudDialogflowV2ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationModel: str createTime: str doneTime: str @typing.type_check_only -class GoogleCloudDialogflowV2WebhookRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookRequest(typing.TypedDict, total=False): originalDetectIntentRequest: GoogleCloudDialogflowV2OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2QueryResult responseId: str session: str @typing.type_check_only -class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2WebhookResponse(typing.TypedDict, total=False): followupEventInput: GoogleCloudDialogflowV2EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2IntentMessage] fulfillmentText: str @@ -5124,7 +4614,7 @@ class GoogleCloudDialogflowV2WebhookResponse(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str condition: str @@ -5134,7 +4624,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str - triggeringEvent: typing_extensions.Literal[ + triggeringEvent: typing.Literal[ "TRIGGER_EVENT_UNSPECIFIED", "END_OF_UTTERANCE", "MANUAL_CALL", @@ -5145,7 +4635,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion @@ -5153,7 +4643,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -5161,7 +4651,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDu @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentActionSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion @@ -5173,7 +4663,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAction: str duplicateCheckResult: ( @@ -5183,7 +4673,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateSuggestions: _list[ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion @@ -5191,7 +4681,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str similarityScore: float @@ -5200,7 +4690,7 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDup @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duplicateCheckResult: ( GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult @@ -5210,22 +4700,18 @@ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instructionIndexes: _list[int] @typing.type_check_only -class GoogleCloudDialogflowV2beta1AnnotatedMessagePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1AnnotatedMessagePart(typing.TypedDict, total=False): entityType: str formattedValue: typing.Any text: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ArticleAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ArticleAnswer(typing.TypedDict, total=False): answerRecord: str metadata: dict[str, typing.Any] snippets: _list[str] @@ -5234,26 +4720,26 @@ class GoogleCloudDialogflowV2beta1ArticleAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityTypes: _list[GoogleCloudDialogflowV2beta1EntityType] @typing.type_check_only class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intents: _list[GoogleCloudDialogflowV2beta1Intent] @typing.type_check_only class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -5265,20 +4751,18 @@ class GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Context(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Context(typing.TypedDict, total=False): lifespanCount: int name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ConversationEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ConversationEvent(typing.TypedDict, total=False): conversation: str errorStatus: GoogleRpcStatus newMessagePayload: GoogleCloudDialogflowV2beta1Message newRecognitionResultPayload: GoogleCloudDialogflowV2beta1StreamingRecognitionResult - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", @@ -5289,61 +4773,51 @@ class GoogleCloudDialogflowV2beta1ConversationEvent( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer(typing.TypedDict, total=False): answerRecord: str intentSuggestion: GoogleCloudDialogflowV2beta1IntentSuggestion queryResult: GoogleCloudDialogflowV2beta1QueryResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1EncryptionSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EncryptionSpec(typing.TypedDict, total=False): kmsKey: str name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityType(typing_extensions.TypedDict, total=False): - autoExpansionMode: typing_extensions.Literal[ +class GoogleCloudDialogflowV2beta1EntityType(typing.TypedDict, total=False): + autoExpansionMode: typing.Literal[ "AUTO_EXPANSION_MODE_UNSPECIFIED", "AUTO_EXPANSION_MODE_DEFAULT" ] displayName: str enableFuzzyExtraction: bool entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - kind: typing_extensions.Literal[ - "KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP" - ] + kind: typing.Literal["KIND_UNSPECIFIED", "KIND_MAP", "KIND_LIST", "KIND_REGEXP"] name: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EntityTypeEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1EntityTypeEntity(typing.TypedDict, total=False): synonyms: _list[str] value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1EventInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1EventInput(typing.TypedDict, total=False): languageCode: str name: str parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ExportAgentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ExportAgentResponse(typing.TypedDict, total=False): agentContent: str agentUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1ExportOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportedGcsDestination: GoogleCloudDialogflowV2beta1GcsDestination @typing.type_check_only -class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1FaqAnswer(typing.TypedDict, total=False): answer: str answerRecord: str confidence: float @@ -5352,20 +4826,16 @@ class GoogleCloudDialogflowV2beta1FaqAnswer(typing_extensions.TypedDict, total=F source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1FreeFormSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1FreeFormSuggestion(typing.TypedDict, total=False): response: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generatorSuggestionAnswers: _list[ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer @@ -5374,16 +4844,14 @@ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str generatorSuggestion: GoogleCloudDialogflowV2beta1GeneratorSuggestion sourceGenerator: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1GeneratorSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1GeneratorSuggestion(typing.TypedDict, total=False): agentCoachingSuggestion: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion freeFormSuggestion: GoogleCloudDialogflowV2beta1FreeFormSuggestion summarySuggestion: GoogleCloudDialogflowV2beta1SummarySuggestion @@ -5391,14 +4859,14 @@ class GoogleCloudDialogflowV2beta1GeneratorSuggestion( @typing.type_check_only class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): toolCall: GoogleCloudDialogflowV2beta1ToolCall toolCallResult: GoogleCloudDialogflowV2beta1ToolCallResult @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: str participant: str @@ -5406,13 +4874,13 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( @typing.type_check_only class GoogleCloudDialogflowV2beta1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): warnings: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextReferenceRetrieved: bool ingestedParametersDebugInfo: _list[ @@ -5422,9 +4890,9 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - ingestionStatus: typing_extensions.Literal[ + ingestionStatus: typing.Literal[ "INGESTION_STATUS_UNSPECIFIED", "INGESTION_STATUS_SUCCEEDED", "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", @@ -5437,21 +4905,21 @@ class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParam @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): request: GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptionSpec: GoogleCloudDialogflowV2beta1EncryptionSpec @typing.type_check_only -class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Intent(typing.TypedDict, total=False): action: str defaultResponsePlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -5483,7 +4951,7 @@ class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=Fals resetContexts: bool rootFollowupIntentName: str trainingPhrases: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrase] - webhookState: typing_extensions.Literal[ + webhookState: typing.Literal[ "WEBHOOK_STATE_UNSPECIFIED", "WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", @@ -5491,15 +4959,13 @@ class GoogleCloudDialogflowV2beta1Intent(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followupIntentName: str parentFollowupIntentName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessage(typing.TypedDict, total=False): basicCard: GoogleCloudDialogflowV2beta1IntentMessageBasicCard browseCarouselCard: GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard card: GoogleCloudDialogflowV2beta1IntentMessageCard @@ -5509,7 +4975,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( listSelect: GoogleCloudDialogflowV2beta1IntentMessageListSelect mediaContent: GoogleCloudDialogflowV2beta1IntentMessageMediaContent payload: dict[str, typing.Any] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FACEBOOK", "SLACK", @@ -5539,9 +5005,7 @@ class GoogleCloudDialogflowV2beta1IntentMessage( text: GoogleCloudDialogflowV2beta1IntentMessageText @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageBasicCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] formattedText: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5550,22 +5014,22 @@ class GoogleCloudDialogflowV2beta1IntentMessageBasicCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openUriAction: GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageDisplayOptions: typing_extensions.Literal[ + imageDisplayOptions: typing.Literal[ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", "GRAY", "WHITE", @@ -5578,7 +5042,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str footer: str @@ -5588,17 +5052,15 @@ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselC @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): url: str - urlTypeHint: typing_extensions.Literal[ + urlTypeHint: typing.Literal[ "URL_TYPE_HINT_UNSPECIFIED", "AMP_ACTION", "AMP_CONTENT" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageCardButton] imageUri: str subtitle: str @@ -5606,20 +5068,20 @@ class GoogleCloudDialogflowV2beta1IntentMessageCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCardButton( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postback: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5628,30 +5090,28 @@ class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "LEADING", "CENTER", "TRAILING" ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageImage(typing.TypedDict, total=False): accessibilityText: str imageUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationName: str uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): items: _list[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] subtitle: str @@ -5659,7 +5119,7 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelect( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5668,16 +5128,16 @@ class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mediaObjects: _list[ GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject ] - mediaType: typing_extensions.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] + mediaType: typing.Literal["RESPONSE_MEDIA_TYPE_UNSPECIFIED", "AUDIO"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentUrl: str description: str @@ -5687,14 +5147,14 @@ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quickReplies: _list[str] title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str media: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia @@ -5703,34 +5163,34 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileUri: str - height: typing_extensions.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] + height: typing.Literal["HEIGHT_UNSPECIFIED", "SHORT", "MEDIUM", "TALL"] thumbnailUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContents: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] - cardWidth: typing_extensions.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] + cardWidth: typing.Literal["CARD_WIDTH_UNSPECIFIED", "SMALL", "MEDIUM"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardContent: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent - cardOrientation: typing_extensions.Literal[ + cardOrientation: typing.Literal[ "CARD_ORIENTATION_UNSPECIFIED", "HORIZONTAL", "VERTICAL" ] - thumbnailImageAlignment: typing_extensions.Literal[ + thumbnailImageAlignment: typing.Literal[ "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", "LEFT", "RIGHT" ] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dial: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial openUrl: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri @@ -5740,52 +5200,50 @@ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): uri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): postbackData: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction reply: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageRbmText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageRbmText(typing.TypedDict, total=False): rbmSuggestion: _list[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str synonyms: _list[str] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayText: str ssml: str @@ -5793,26 +5251,24 @@ class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): simpleResponses: _list[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageSuggestions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleCloudDialogflowV2beta1IntentMessageSuggestion] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageTableCard( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageTableCard(typing.TypedDict, total=False): buttons: _list[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] columnProperties: _list[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] image: GoogleCloudDialogflowV2beta1IntentMessageImage @@ -5822,46 +5278,42 @@ class GoogleCloudDialogflowV2beta1IntentMessageTableCard( @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] dividerAfter: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioUri: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ssml: str text: str @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentParameter(typing.TypedDict, total=False): defaultValue: str displayName: str entityTypeDisplayName: str @@ -5872,25 +5324,21 @@ class GoogleCloudDialogflowV2beta1IntentParameter( value: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentSuggestion(typing.TypedDict, total=False): description: str displayName: str intentV2: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1IntentTrainingPhrase( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1IntentTrainingPhrase(typing.TypedDict, total=False): name: str parts: _list[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] timesAddedCount: int - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXAMPLE", "TEMPLATE"] @typing.type_check_only class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alias: str entityType: str @@ -5898,27 +5346,21 @@ class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( userDefined: bool @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswers( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswers(typing.TypedDict, total=False): answers: _list[GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(typing.TypedDict, total=False): answer: str faqQuestion: str matchConfidence: float - matchConfidenceLevel: typing_extensions.Literal[ + matchConfidenceLevel: typing.Literal[ "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] source: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer(typing.TypedDict, total=False): answerRecord: str knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @@ -5928,14 +5370,14 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerRecord: str suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerText: str eventSource: ( @@ -5951,7 +5393,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): event: str snippets: ( @@ -5960,13 +5402,13 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSourc @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): question: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippets: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet @@ -5974,7 +5416,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] text: str @@ -5983,7 +5425,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerative @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryText: str searchContexts: _list[ @@ -5992,17 +5434,17 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cesDebugInfo: dict[str, typing.Any] - datastoreResponseReason: typing_extensions.Literal[ + datastoreResponseReason: typing.Literal[ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", "NONE", "SEARCH_OUT_OF_QUOTA", @@ -6020,7 +5462,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( knowledgeAssistBehavior: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior ) - queryCategorizationFailureReason: typing_extensions.Literal[ + queryCategorizationFailureReason: typing.Literal[ "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", "QUERY_CATEGORIZATION_INVALID_CONFIG", "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", @@ -6029,7 +5471,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( queryGenerationDebugInfo: ( GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo ) - queryGenerationFailureReason: typing_extensions.Literal[ + queryGenerationFailureReason: typing.Literal[ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", "QUERY_GENERATION_OUT_OF_QUOTA", "QUERY_GENERATION_FAILED", @@ -6046,7 +5488,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationRewriterOn: bool appendedSearchContextCount: int @@ -6068,30 +5510,34 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavio @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidatesTokenCount: int promptTokenCount: int + similarityToLastQuery: float + similarityToLastQueryThreshold: float + thinkingBudgetTokens: int + thinkingLevel: str totalTokenCount: int @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doneTime: str exportOperationMetadata: GoogleCloudDialogflowV2beta1ExportOperationMetadata knowledgeBase: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "RUNNING", "DONE"] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Message(typing.TypedDict, total=False): content: str createTime: str languageCode: str messageAnnotation: GoogleCloudDialogflowV2beta1MessageAnnotation name: str participant: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] responseMessages: _list[GoogleCloudDialogflowV2beta1ResponseMessage] @@ -6099,22 +5545,20 @@ class GoogleCloudDialogflowV2beta1Message(typing_extensions.TypedDict, total=Fal sentimentAnalysis: GoogleCloudDialogflowV2beta1SentimentAnalysisResult @typing.type_check_only -class GoogleCloudDialogflowV2beta1MessageAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1MessageAnnotation(typing.TypedDict, total=False): containEntities: bool parts: _list[GoogleCloudDialogflowV2beta1AnnotatedMessagePart] @typing.type_check_only class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): payload: dict[str, typing.Any] source: str version: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1QueryResult(typing.TypedDict, total=False): action: str allRequiredParamsPresent: bool cancelsSlotFilling: bool @@ -6134,9 +5578,7 @@ class GoogleCloudDialogflowV2beta1QueryResult(typing_extensions.TypedDict, total webhookSource: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessage(typing.TypedDict, total=False): endInteraction: GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction liveAgentHandoff: GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff mixedAudio: GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio @@ -6148,24 +5590,24 @@ class GoogleCloudDialogflowV2beta1ResponseMessage( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment] @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPlaybackInterruption: bool audio: str @@ -6173,39 +5615,35 @@ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment( @typing.type_check_only class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneNumber: str sipUri: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ResponseMessageText( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ResponseMessageText(typing.TypedDict, total=False): text: _list[str] @typing.type_check_only -class GoogleCloudDialogflowV2beta1Sentiment(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment @typing.type_check_only -class GoogleCloudDialogflowV2beta1ServiceLatency( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ServiceLatency(typing.TypedDict, total=False): internalServiceLatencies: _list[ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency ] @typing.type_check_only class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completeTime: str latencyMs: float @@ -6213,11 +5651,9 @@ class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( step: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SessionEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SessionEntityType(typing.TypedDict, total=False): entities: _list[GoogleCloudDialogflowV2beta1EntityTypeEntity] - entityOverrideMode: typing_extensions.Literal[ + entityOverrideMode: typing.Literal[ "ENTITY_OVERRIDE_MODE_UNSPECIFIED", "ENTITY_OVERRIDE_MODE_OVERRIDE", "ENTITY_OVERRIDE_MODE_SUPPLEMENT", @@ -6226,14 +5662,14 @@ class GoogleCloudDialogflowV2beta1SessionEntityType( @typing.type_check_only class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationProfile: str createTime: str - participantRole: typing_extensions.Literal[ + participantRole: typing.Literal[ "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER" ] - suggestionFeatureType: typing_extensions.Literal[ + suggestionFeatureType: typing.Literal[ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", @@ -6245,17 +5681,13 @@ class GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SmartReplyAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SmartReplyAnswer(typing.TypedDict, total=False): answerRecord: str confidence: float reply: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1SpeechWordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SpeechWordInfo(typing.TypedDict, total=False): confidence: float endOffset: str startOffset: str @@ -6263,18 +5695,20 @@ class GoogleCloudDialogflowV2beta1SpeechWordInfo( @typing.type_check_only class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float dtmfDigits: GoogleCloudDialogflowV2beta1TelephonyDtmfEvents isFinal: bool languageCode: str - messageType: typing_extensions.Literal[ + messageType: typing.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TRANSCRIPT", "END_OF_SINGLE_UTTERANCE", "DTMF_DIGITS", "PARTIAL_DTMF_DIGITS", + "SPEECH_ACTIVITY_BEGIN", + "SPEECH_ACTIVITY_END", ] speechEndOffset: str speechWordInfo: _list[GoogleCloudDialogflowV2beta1SpeechWordInfo] @@ -6283,7 +5717,7 @@ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): articleAnswers: _list[GoogleCloudDialogflowV2beta1ArticleAnswer] contextSize: int @@ -6291,7 +5725,7 @@ class GoogleCloudDialogflowV2beta1SuggestArticlesResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int dialogflowAssistAnswers: _list[GoogleCloudDialogflowV2beta1DialogflowAssistAnswer] @@ -6299,7 +5733,7 @@ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int faqAnswers: _list[GoogleCloudDialogflowV2beta1FaqAnswer] @@ -6307,7 +5741,7 @@ class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSuggestedQueryResults: _list[ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult @@ -6318,16 +5752,14 @@ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse( @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextSize: int latestMessage: str smartReplyAnswers: _list[GoogleCloudDialogflowV2beta1SmartReplyAnswer] @typing.type_check_only -class GoogleCloudDialogflowV2beta1SuggestionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SuggestionResult(typing.TypedDict, total=False): error: GoogleRpcStatus generateSuggestionsResponse: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse suggestArticlesResponse: GoogleCloudDialogflowV2beta1SuggestArticlesResponse @@ -6344,24 +5776,20 @@ class GoogleCloudDialogflowV2beta1SuggestionResult( suggestSmartRepliesResponse: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse @typing.type_check_only -class GoogleCloudDialogflowV2beta1SummarySuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1SummarySuggestion(typing.TypedDict, total=False): summarySections: _list[GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection] @typing.type_check_only class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): section: str summary: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents(typing.TypedDict, total=False): dtmfEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "TELEPHONY_DTMF_UNSPECIFIED", "DTMF_ONE", "DTMF_TWO", @@ -6383,7 +5811,7 @@ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents( ] @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=False): +class GoogleCloudDialogflowV2beta1ToolCall(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -6391,17 +5819,13 @@ class GoogleCloudDialogflowV2beta1ToolCall(typing_extensions.TypedDict, total=Fa cesToolset: str createTime: str inputParameters: dict[str, typing.Any] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION" - ] + state: typing.Literal["STATE_UNSPECIFIED", "TRIGGERED", "NEEDS_CONFIRMATION"] tool: str toolDisplayDetails: str toolDisplayName: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResult(typing.TypedDict, total=False): action: str answerRecord: str cesApp: str @@ -6414,15 +5838,11 @@ class GoogleCloudDialogflowV2beta1ToolCallResult( tool: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1ToolCallResultError( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1ToolCallResultError(typing.TypedDict, total=False): message: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookRequest(typing.TypedDict, total=False): alternativeQueryResults: _list[GoogleCloudDialogflowV2beta1QueryResult] originalDetectIntentRequest: GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest queryResult: GoogleCloudDialogflowV2beta1QueryResult @@ -6430,9 +5850,7 @@ class GoogleCloudDialogflowV2beta1WebhookRequest( session: str @typing.type_check_only -class GoogleCloudDialogflowV2beta1WebhookResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV2beta1WebhookResponse(typing.TypedDict, total=False): endInteraction: bool followupEventInput: GoogleCloudDialogflowV2beta1EventInput fulfillmentMessages: _list[GoogleCloudDialogflowV2beta1IntentMessage] @@ -6444,21 +5862,15 @@ class GoogleCloudDialogflowV2beta1WebhookResponse( source: str @typing.type_check_only -class GoogleCloudDialogflowV3alpha1ConversationSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1ConversationSignals(typing.TypedDict, total=False): turnSignals: GoogleCloudDialogflowV3alpha1TurnSignals @typing.type_check_only -class GoogleCloudDialogflowV3alpha1TurnSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDialogflowV3alpha1TurnSignals(typing.TypedDict, total=False): agentEscalated: bool dtmfUsed: bool failureReasons: _list[ - typing_extensions.Literal[ - "FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK" - ] + typing.Literal["FAILURE_REASON_UNSPECIFIED", "FAILED_INTENT", "FAILED_WEBHOOK"] ] noMatch: bool noUserInput: bool @@ -6470,14 +5882,12 @@ class GoogleCloudDialogflowV3alpha1TurnSignals( webhookStatuses: _list[str] @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -6485,13 +5895,13 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -6499,15 +5909,15 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float diff --git a/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi b/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi index a5e0bc0dd..db35eea3a 100644 --- a/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/digitalassetlinks/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi b/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi index f42c5a60f..f993087fd 100644 --- a/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/digitalassetlinks/v1/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AndroidAppAsset(typing_extensions.TypedDict, total=False): +class AndroidAppAsset(typing.TypedDict, total=False): certificate: CertificateInfo packageName: str @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): androidApp: AndroidAppAsset web: WebAsset @typing.type_check_only -class BulkCheckRequest(typing_extensions.TypedDict, total=False): +class BulkCheckRequest(typing.TypedDict, total=False): defaultRelation: str defaultSource: Asset defaultTarget: Asset @@ -23,8 +21,8 @@ class BulkCheckRequest(typing_extensions.TypedDict, total=False): statements: _list[StatementTemplate] @typing.type_check_only -class BulkCheckResponse(typing_extensions.TypedDict, total=False): - bulkErrorCode: typing_extensions.Literal[ +class BulkCheckResponse(typing.TypedDict, total=False): + bulkErrorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "ERROR_CODE_INVALID_QUERY", "ERROR_CODE_FETCH_ERROR", @@ -40,14 +38,14 @@ class BulkCheckResponse(typing_extensions.TypedDict, total=False): checkResults: _list[CheckResponse] @typing.type_check_only -class CertificateInfo(typing_extensions.TypedDict, total=False): +class CertificateInfo(typing.TypedDict, total=False): sha256Fingerprint: str @typing.type_check_only -class CheckResponse(typing_extensions.TypedDict, total=False): +class CheckResponse(typing.TypedDict, total=False): debugString: str errorCode: _list[ - typing_extensions.Literal[ + typing.Literal[ "ERROR_CODE_UNSPECIFIED", "ERROR_CODE_INVALID_QUERY", "ERROR_CODE_FETCH_ERROR", @@ -66,10 +64,10 @@ class CheckResponse(typing_extensions.TypedDict, total=False): relationExtensions: _list[dict[str, typing.Any]] @typing.type_check_only -class ListResponse(typing_extensions.TypedDict, total=False): +class ListResponse(typing.TypedDict, total=False): debugString: str errorCode: _list[ - typing_extensions.Literal[ + typing.Literal[ "ERROR_CODE_UNSPECIFIED", "ERROR_CODE_INVALID_QUERY", "ERROR_CODE_FETCH_ERROR", @@ -87,18 +85,18 @@ class ListResponse(typing_extensions.TypedDict, total=False): statements: _list[Statement] @typing.type_check_only -class Statement(typing_extensions.TypedDict, total=False): +class Statement(typing.TypedDict, total=False): relation: str relationExtensions: dict[str, typing.Any] source: Asset target: Asset @typing.type_check_only -class StatementTemplate(typing_extensions.TypedDict, total=False): +class StatementTemplate(typing.TypedDict, total=False): relation: str source: Asset target: Asset @typing.type_check_only -class WebAsset(typing_extensions.TypedDict, total=False): +class WebAsset(typing.TypedDict, total=False): site: str diff --git a/googleapiclient-stubs/_apis/discovery/v1/resources.pyi b/googleapiclient-stubs/_apis/discovery/v1/resources.pyi index 0c9e73c24..3a1d20126 100644 --- a/googleapiclient-stubs/_apis/discovery/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discovery/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/discovery/v1/schemas.pyi b/googleapiclient-stubs/_apis/discovery/v1/schemas.pyi index 9ce816200..1d0a52ee6 100644 --- a/googleapiclient-stubs/_apis/discovery/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discovery/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DirectoryList(typing_extensions.TypedDict, total=False): +class DirectoryList(typing.TypedDict, total=False): discoveryVersion: str items: _list[dict[str, typing.Any]] kind: str -AlternativeJsonSchema = typing_extensions.TypedDict( +AlternativeJsonSchema = typing.TypedDict( "AlternativeJsonSchema", { "$ref": str, @@ -43,7 +41,7 @@ AlternativeJsonSchema = typing_extensions.TypedDict( class JsonSchema(AlternativeJsonSchema): ... @typing.type_check_only -class RestDescription(typing_extensions.TypedDict, total=False): +class RestDescription(typing.TypedDict, total=False): auth: dict[str, typing.Any] basePath: str baseUrl: str @@ -77,7 +75,7 @@ class RestDescription(typing_extensions.TypedDict, total=False): version_module: bool @typing.type_check_only -class RestMethod(typing_extensions.TypedDict, total=False): +class RestMethod(typing.TypedDict, total=False): apiVersion: str deprecated: bool description: str @@ -98,7 +96,7 @@ class RestMethod(typing_extensions.TypedDict, total=False): useMediaDownloadService: bool @typing.type_check_only -class RestResource(typing_extensions.TypedDict, total=False): +class RestResource(typing.TypedDict, total=False): deprecated: bool methods: dict[str, typing.Any] resources: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi index 6dc098f04..cf801ffe4 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -841,6 +840,10 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): getWidgetConfigRequestOption_turnOffCollectionComponents: bool | None = ..., languageCode: str | None = ..., + modelInfoView: typing.Literal[ + "MODEL_INFO_VIEW_UNSPECIFIED", "END_USER_WEB", "ADMIN" + ] + | None = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... def patch( @@ -1407,6 +1410,10 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): getWidgetConfigRequestOption_turnOffCollectionComponents: bool | None = ..., languageCode: str | None = ..., + modelInfoView: typing.Literal[ + "MODEL_INFO_VIEW_UNSPECIFIED", "END_USER_WEB", "ADMIN" + ] + | None = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... def patch( @@ -2139,6 +2146,10 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): getWidgetConfigRequestOption_turnOffCollectionComponents: bool | None = ..., languageCode: str | None = ..., + modelInfoView: typing.Literal[ + "MODEL_INFO_VIEW_UNSPECIFIED", "END_USER_WEB", "ADMIN" + ] + | None = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... def patch( @@ -2492,6 +2503,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def getCmekConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1CmekConfigHttpRequest: ... + def provision( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1ProvisionProjectRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def setUpDataConnector( self, *, diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index 48e494ad9..0d1afd0d8 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class A2aV1APIKeySecurityScheme(typing_extensions.TypedDict, total=False): +class A2aV1APIKeySecurityScheme(typing.TypedDict, total=False): description: str location: str name: str @typing.type_check_only -class A2aV1AgentCapabilities(typing_extensions.TypedDict, total=False): +class A2aV1AgentCapabilities(typing.TypedDict, total=False): extensions: _list[A2aV1AgentExtension] pushNotifications: bool streaming: bool @typing.type_check_only -class A2aV1AgentCard(typing_extensions.TypedDict, total=False): +class A2aV1AgentCard(typing.TypedDict, total=False): additionalInterfaces: _list[A2aV1AgentInterface] capabilities: A2aV1AgentCapabilities defaultInputModes: _list[str] @@ -38,31 +36,31 @@ class A2aV1AgentCard(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class A2aV1AgentCardSignature(typing_extensions.TypedDict, total=False): +class A2aV1AgentCardSignature(typing.TypedDict, total=False): header: dict[str, typing.Any] protected: str signature: str @typing.type_check_only -class A2aV1AgentExtension(typing_extensions.TypedDict, total=False): +class A2aV1AgentExtension(typing.TypedDict, total=False): description: str params: dict[str, typing.Any] required: bool uri: str @typing.type_check_only -class A2aV1AgentInterface(typing_extensions.TypedDict, total=False): +class A2aV1AgentInterface(typing.TypedDict, total=False): tenant: str transport: str url: str @typing.type_check_only -class A2aV1AgentProvider(typing_extensions.TypedDict, total=False): +class A2aV1AgentProvider(typing.TypedDict, total=False): organization: str url: str @typing.type_check_only -class A2aV1AgentSkill(typing_extensions.TypedDict, total=False): +class A2aV1AgentSkill(typing.TypedDict, total=False): description: str examples: _list[str] id: str @@ -73,7 +71,7 @@ class A2aV1AgentSkill(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class A2aV1Artifact(typing_extensions.TypedDict, total=False): +class A2aV1Artifact(typing.TypedDict, total=False): artifactId: str description: str extensions: _list[str] @@ -82,114 +80,112 @@ class A2aV1Artifact(typing_extensions.TypedDict, total=False): parts: _list[A2aV1Part] @typing.type_check_only -class A2aV1AuthenticationInfo(typing_extensions.TypedDict, total=False): +class A2aV1AuthenticationInfo(typing.TypedDict, total=False): credentials: str schemes: _list[str] @typing.type_check_only -class A2aV1AuthorizationCodeOAuthFlow(typing_extensions.TypedDict, total=False): +class A2aV1AuthorizationCodeOAuthFlow(typing.TypedDict, total=False): authorizationUrl: str refreshUrl: str scopes: dict[str, typing.Any] tokenUrl: str @typing.type_check_only -class A2aV1CancelTaskRequest(typing_extensions.TypedDict, total=False): ... +class A2aV1CancelTaskRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class A2aV1ClientCredentialsOAuthFlow(typing_extensions.TypedDict, total=False): +class A2aV1ClientCredentialsOAuthFlow(typing.TypedDict, total=False): refreshUrl: str scopes: dict[str, typing.Any] tokenUrl: str @typing.type_check_only -class A2aV1DataPart(typing_extensions.TypedDict, total=False): +class A2aV1DataPart(typing.TypedDict, total=False): data: dict[str, typing.Any] @typing.type_check_only -class A2aV1FilePart(typing_extensions.TypedDict, total=False): +class A2aV1FilePart(typing.TypedDict, total=False): fileWithBytes: str fileWithUri: str mimeType: str name: str @typing.type_check_only -class A2aV1HTTPAuthSecurityScheme(typing_extensions.TypedDict, total=False): +class A2aV1HTTPAuthSecurityScheme(typing.TypedDict, total=False): bearerFormat: str description: str scheme: str @typing.type_check_only -class A2aV1ImplicitOAuthFlow(typing_extensions.TypedDict, total=False): +class A2aV1ImplicitOAuthFlow(typing.TypedDict, total=False): authorizationUrl: str refreshUrl: str scopes: dict[str, typing.Any] @typing.type_check_only -class A2aV1ListTaskPushNotificationConfigResponse( - typing_extensions.TypedDict, total=False -): +class A2aV1ListTaskPushNotificationConfigResponse(typing.TypedDict, total=False): configs: _list[A2aV1TaskPushNotificationConfig] nextPageToken: str @typing.type_check_only -class A2aV1Message(typing_extensions.TypedDict, total=False): +class A2aV1Message(typing.TypedDict, total=False): content: _list[A2aV1Part] contextId: str extensions: _list[str] messageId: str metadata: dict[str, typing.Any] - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] + role: typing.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] taskId: str @typing.type_check_only -class A2aV1MutualTlsSecurityScheme(typing_extensions.TypedDict, total=False): +class A2aV1MutualTlsSecurityScheme(typing.TypedDict, total=False): description: str @typing.type_check_only -class A2aV1OAuth2SecurityScheme(typing_extensions.TypedDict, total=False): +class A2aV1OAuth2SecurityScheme(typing.TypedDict, total=False): description: str flows: A2aV1OAuthFlows oauth2MetadataUrl: str @typing.type_check_only -class A2aV1OAuthFlows(typing_extensions.TypedDict, total=False): +class A2aV1OAuthFlows(typing.TypedDict, total=False): authorizationCode: A2aV1AuthorizationCodeOAuthFlow clientCredentials: A2aV1ClientCredentialsOAuthFlow implicit: A2aV1ImplicitOAuthFlow password: A2aV1PasswordOAuthFlow @typing.type_check_only -class A2aV1OpenIdConnectSecurityScheme(typing_extensions.TypedDict, total=False): +class A2aV1OpenIdConnectSecurityScheme(typing.TypedDict, total=False): description: str openIdConnectUrl: str @typing.type_check_only -class A2aV1Part(typing_extensions.TypedDict, total=False): +class A2aV1Part(typing.TypedDict, total=False): data: A2aV1DataPart file: A2aV1FilePart metadata: dict[str, typing.Any] text: str @typing.type_check_only -class A2aV1PasswordOAuthFlow(typing_extensions.TypedDict, total=False): +class A2aV1PasswordOAuthFlow(typing.TypedDict, total=False): refreshUrl: str scopes: dict[str, typing.Any] tokenUrl: str @typing.type_check_only -class A2aV1PushNotificationConfig(typing_extensions.TypedDict, total=False): +class A2aV1PushNotificationConfig(typing.TypedDict, total=False): authentication: A2aV1AuthenticationInfo id: str token: str url: str @typing.type_check_only -class A2aV1Security(typing_extensions.TypedDict, total=False): +class A2aV1Security(typing.TypedDict, total=False): schemes: dict[str, typing.Any] @typing.type_check_only -class A2aV1SecurityScheme(typing_extensions.TypedDict, total=False): +class A2aV1SecurityScheme(typing.TypedDict, total=False): apiKeySecurityScheme: A2aV1APIKeySecurityScheme httpAuthSecurityScheme: A2aV1HTTPAuthSecurityScheme mtlsSecurityScheme: A2aV1MutualTlsSecurityScheme @@ -197,36 +193,36 @@ class A2aV1SecurityScheme(typing_extensions.TypedDict, total=False): openIdConnectSecurityScheme: A2aV1OpenIdConnectSecurityScheme @typing.type_check_only -class A2aV1SendMessageConfiguration(typing_extensions.TypedDict, total=False): +class A2aV1SendMessageConfiguration(typing.TypedDict, total=False): acceptedOutputModes: _list[str] blocking: bool historyLength: int pushNotification: A2aV1PushNotificationConfig @typing.type_check_only -class A2aV1SendMessageRequest(typing_extensions.TypedDict, total=False): +class A2aV1SendMessageRequest(typing.TypedDict, total=False): configuration: A2aV1SendMessageConfiguration message: A2aV1Message metadata: dict[str, typing.Any] @typing.type_check_only -class A2aV1SendMessageResponse(typing_extensions.TypedDict, total=False): +class A2aV1SendMessageResponse(typing.TypedDict, total=False): message: A2aV1Message task: A2aV1Task @typing.type_check_only -class A2aV1StreamResponse(typing_extensions.TypedDict, total=False): +class A2aV1StreamResponse(typing.TypedDict, total=False): artifactUpdate: A2aV1TaskArtifactUpdateEvent message: A2aV1Message statusUpdate: A2aV1TaskStatusUpdateEvent task: A2aV1Task @typing.type_check_only -class A2aV1StringList(typing_extensions.TypedDict, total=False): +class A2aV1StringList(typing.TypedDict, total=False): list: _list[str] @typing.type_check_only -class A2aV1Task(typing_extensions.TypedDict, total=False): +class A2aV1Task(typing.TypedDict, total=False): artifacts: _list[A2aV1Artifact] contextId: str history: _list[A2aV1Message] @@ -235,7 +231,7 @@ class A2aV1Task(typing_extensions.TypedDict, total=False): status: A2aV1TaskStatus @typing.type_check_only -class A2aV1TaskArtifactUpdateEvent(typing_extensions.TypedDict, total=False): +class A2aV1TaskArtifactUpdateEvent(typing.TypedDict, total=False): append: bool artifact: A2aV1Artifact contextId: str @@ -244,14 +240,14 @@ class A2aV1TaskArtifactUpdateEvent(typing_extensions.TypedDict, total=False): taskId: str @typing.type_check_only -class A2aV1TaskPushNotificationConfig(typing_extensions.TypedDict, total=False): +class A2aV1TaskPushNotificationConfig(typing.TypedDict, total=False): name: str pushNotificationConfig: A2aV1PushNotificationConfig @typing.type_check_only -class A2aV1TaskStatus(typing_extensions.TypedDict, total=False): +class A2aV1TaskStatus(typing.TypedDict, total=False): message: A2aV1Message - state: typing_extensions.Literal[ + state: typing.Literal[ "TASK_STATE_UNSPECIFIED", "TASK_STATE_SUBMITTED", "TASK_STATE_WORKING", @@ -265,7 +261,7 @@ class A2aV1TaskStatus(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class A2aV1TaskStatusUpdateEvent(typing_extensions.TypedDict, total=False): +class A2aV1TaskStatusUpdateEvent(typing.TypedDict, total=False): contextId: str final: bool metadata: dict[str, typing.Any] @@ -273,7 +269,7 @@ class A2aV1TaskStatusUpdateEvent(typing_extensions.TypedDict, total=False): taskId: str @typing.type_check_only -class GoogleApiDistribution(typing_extensions.TypedDict, total=False): +class GoogleApiDistribution(typing.TypedDict, total=False): bucketCounts: _list[str] bucketOptions: GoogleApiDistributionBucketOptions count: str @@ -283,68 +279,62 @@ class GoogleApiDistribution(typing_extensions.TypedDict, total=False): sumOfSquaredDeviation: float @typing.type_check_only -class GoogleApiDistributionBucketOptions(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionBucketOptions(typing.TypedDict, total=False): explicitBuckets: GoogleApiDistributionBucketOptionsExplicit exponentialBuckets: GoogleApiDistributionBucketOptionsExponential linearBuckets: GoogleApiDistributionBucketOptionsLinear @typing.type_check_only -class GoogleApiDistributionBucketOptionsExplicit( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsExplicit(typing.TypedDict, total=False): bounds: _list[float] @typing.type_check_only -class GoogleApiDistributionBucketOptionsExponential( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsExponential(typing.TypedDict, total=False): growthFactor: float numFiniteBuckets: int scale: float @typing.type_check_only -class GoogleApiDistributionBucketOptionsLinear( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsLinear(typing.TypedDict, total=False): numFiniteBuckets: int offset: float width: float @typing.type_check_only -class GoogleApiDistributionExemplar(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionExemplar(typing.TypedDict, total=False): attachments: _list[dict[str, typing.Any]] timestamp: str value: float @typing.type_check_only -class GoogleApiDistributionRange(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionRange(typing.TypedDict, total=False): max: float min: float @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleApiMetric(typing_extensions.TypedDict, total=False): +class GoogleApiMetric(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class GoogleApiMonitoredResource(typing_extensions.TypedDict, total=False): +class GoogleApiMonitoredResource(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class GoogleApiMonitoredResourceMetadata(typing_extensions.TypedDict, total=False): +class GoogleApiMonitoredResourceMetadata(typing.TypedDict, total=False): systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectorRun: str dataConnector: str @@ -355,16 +345,12 @@ class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( syncType: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingErrorContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingErrorContext(typing.TypedDict, total=False): httpRequest: GoogleCloudDiscoveryengineLoggingHttpRequestContext reportLocation: GoogleCloudDiscoveryengineLoggingSourceLocation @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingErrorLog( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingErrorLog(typing.TypedDict, total=False): connectorRunPayload: GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext context: GoogleCloudDiscoveryengineLoggingErrorContext importPayload: GoogleCloudDiscoveryengineLoggingImportErrorContext @@ -376,13 +362,13 @@ class GoogleCloudDiscoveryengineLoggingErrorLog( @typing.type_check_only class GoogleCloudDiscoveryengineLoggingHttpRequestContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseStatusCode: int @typing.type_check_only class GoogleCloudDiscoveryengineLoggingImportErrorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str gcsPath: str @@ -391,26 +377,20 @@ class GoogleCloudDiscoveryengineLoggingImportErrorContext( userEvent: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingServiceContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingServiceContext(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingSourceLocation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingSourceLocation(typing.TypedDict, total=False): functionName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AclConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1AclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1IdpConfig name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ActionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ActionConfig(typing.TypedDict, total=False): actionParams: dict[str, typing.Any] createBapConnection: bool isActionConfigured: bool @@ -420,14 +400,12 @@ class GoogleCloudDiscoveryengineV1ActionConfig( userDefinedScopesMapping: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ActionConfigScopeList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ActionConfigScopeList(typing.TypedDict, total=False): scopes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec experimentIds: _list[str] @@ -438,7 +416,7 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest( GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec ] suggestionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", "QUERY", "PEOPLE", @@ -452,7 +430,7 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec @@ -460,17 +438,17 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float condition: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSuggestions: int - suggestionType: typing_extensions.Literal[ + suggestionType: typing.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", "QUERY", "PEOPLE", @@ -481,7 +459,7 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSuggestions: _list[ GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion @@ -499,9 +477,9 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "GOOGLE_WORKSPACE", "THIRD_PARTY" ] dataStore: str @@ -513,21 +491,24 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str destinationUri: str displayPhotoUri: str document: GoogleCloudDiscoveryengineV1Document - personType: typing_extensions.Literal[ - "PERSON_TYPE_UNSPECIFIED", "CLOUD_IDENTITY", "THIRD_PARTY_IDENTITY" + personType: typing.Literal[ + "PERSON_TYPE_UNSPECIFIED", + "CLOUD_IDENTITY", + "THIRD_PARTY_IDENTITY", + "GOOGLE_GROUP", ] score: float suggestion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completableFieldPaths: _list[str] dataStore: _list[str] @@ -536,7 +517,7 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion( @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSearchTime: str score: float @@ -544,29 +525,25 @@ class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSugge @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1AgentGatewaySetting( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AgentGatewaySetting(typing.TypedDict, total=False): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference ) @typing.type_check_only class GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AlertPolicyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AlertPolicyConfig(typing.TypedDict, total=False): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment ] @@ -574,17 +551,13 @@ class GoogleCloudDiscoveryengineV1AlertPolicyConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1AlloyDbSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AlloyDbSource(typing.TypedDict, total=False): clusterId: str databaseId: str gcsStagingDir: str @@ -593,9 +566,9 @@ class GoogleCloudDiscoveryengineV1AlloyDbSource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Answer(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Answer(typing.TypedDict, total=False): answerSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ANSWER_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_ANSWER_SEEKING_QUERY_IGNORED", @@ -621,36 +594,30 @@ class GoogleCloudDiscoveryengineV1Answer(typing_extensions.TypedDict, total=Fals references: _list[GoogleCloudDiscoveryengineV1AnswerReference] relatedQuestions: _list[str] safetyRatings: _list[GoogleCloudDiscoveryengineV1SafetyRating] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "STREAMING" ] steps: _list[GoogleCloudDiscoveryengineV1AnswerStep] @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerCitation(typing.TypedDict, total=False): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1AnswerCitationSource] startIndex: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerCitationSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerCitationSource(typing.TypedDict, total=False): referenceId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerGenerationSpec(typing.TypedDict, total=False): userDefinedClassifierSpec: ( GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec ) @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableUserDefinedClassifier: bool modelId: str @@ -662,9 +629,7 @@ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( topP: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerGroundingSupport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerGroundingSupport(typing.TypedDict, total=False): endIndex: str groundingCheckRequired: bool groundingScore: float @@ -672,9 +637,7 @@ class GoogleCloudDiscoveryengineV1AnswerGroundingSupport( startIndex: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerQueryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerQueryRequest(typing.TypedDict, total=False): answerGenerationSpec: ( GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec ) @@ -696,7 +659,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerLanguageCode: str ignoreAdversarialQuery: bool @@ -713,19 +676,19 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelVersion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endUserMetadata: _list[ GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData @@ -733,35 +696,35 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str documentMetadata: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - filteringLevel: typing_extensions.Literal[ + filteringLevel: typing.Literal[ "FILTERING_LEVEL_UNSPECIFIED", "FILTERING_LEVEL_LOW", "FILTERING_LEVEL_HIGH" ] includeGroundingSupports: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableSpellCorrection: bool queryClassificationSpec: GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec @@ -769,10 +732,10 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): types: _list[ - typing_extensions.Literal[ + typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -784,7 +747,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryC @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disable: bool maxRephraseSteps: int @@ -792,19 +755,19 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryR @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "SMALL", "LARGE"] + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "SMALL", "LARGE"] @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool safetySettings: _list[ @@ -813,9 +776,9 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -823,7 +786,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting( "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - threshold: typing_extensions.Literal[ + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -834,7 +797,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchParams: GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams searchResultList: ( @@ -843,20 +806,20 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1SearchRequestBoostSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec] filter: str maxReturnResults: int orderBy: str - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult @@ -864,14 +827,14 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo unstructuredDocumentInfo: GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -879,14 +842,14 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSe @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str documentContexts: _list[ @@ -903,36 +866,34 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSe @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerQueryResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerQueryResponse(typing.TypedDict, total=False): answer: GoogleCloudDiscoveryengineV1Answer answerQueryToken: str session: GoogleCloudDiscoveryengineV1Session @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryClassificationInfo: _list[ GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo @@ -940,10 +901,10 @@ class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): positive: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -953,9 +914,7 @@ class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificatio ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerReference(typing.TypedDict, total=False): chunkInfo: GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo structuredDocumentInfo: ( GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo @@ -966,7 +925,7 @@ class GoogleCloudDiscoveryengineV1AnswerReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -977,7 +936,7 @@ class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str pageIdentifier: str @@ -987,7 +946,7 @@ class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str structData: dict[str, typing.Any] @@ -996,7 +955,7 @@ class GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent @@ -1008,31 +967,27 @@ class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str relevanceScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerStep(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1AnswerStep(typing.TypedDict, total=False): actions: _list[GoogleCloudDiscoveryengineV1AnswerStepAction] description: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED"] thought: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerStepAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerStepAction(typing.TypedDict, total=False): observation: GoogleCloudDiscoveryengineV1AnswerStepActionObservation searchAction: GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerStepActionObservation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult @@ -1040,7 +995,7 @@ class GoogleCloudDiscoveryengineV1AnswerStepActionObservation( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: _list[ GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo @@ -1055,7 +1010,7 @@ class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -1063,23 +1018,21 @@ class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkIn @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippet: str snippetStatus: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistAnswer(typing.TypedDict, total=False): assistSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ASSIST_SKIPPED_REASON_UNSPECIFIED", "NON_ASSIST_SEEKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", @@ -1090,7 +1043,7 @@ class GoogleCloudDiscoveryengineV1AssistAnswer( ) name: str replies: _list[GoogleCloudDiscoveryengineV1AssistAnswerReply] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", @@ -1101,49 +1054,48 @@ class GoogleCloudDiscoveryengineV1AssistAnswer( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyResults: _list[ GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult ] - verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + verdict: typing.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + violationSource: typing.Literal[ + "VIOLATION_SOURCE_UNSPECIFIED", "SYSTEM", "PROMPT", "ATTACHMENT" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus modelArmorViolation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistAnswerReply( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistAnswerReply(typing.TypedDict, total=False): createTime: str groundedContent: GoogleCloudDiscoveryengineV1AssistantGroundedContent @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistUserMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistUserMetadata(typing.TypedDict, total=False): preferredLanguageCode: str timeZone: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Assistant(typing.TypedDict, total=False): createTime: str customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy defaultWebGroundingToggleOff: bool @@ -1153,7 +1105,7 @@ class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=F generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig name: str updateTime: str - webGroundingType: typing_extensions.Literal[ + webGroundingType: typing.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", "WEB_GROUNDING_TYPE_DISABLED", "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", @@ -1161,9 +1113,7 @@ class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantContent(typing.TypedDict, total=False): codeExecutionResult: GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult executableCode: GoogleCloudDiscoveryengineV1AssistantContentExecutableCode file: GoogleCloudDiscoveryengineV1AssistantContentFile @@ -1173,17 +1123,15 @@ class GoogleCloudDiscoveryengineV1AssistantContent( thought: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantContentBlob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantContentBlob(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outcome: typing_extensions.Literal[ + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -1193,20 +1141,18 @@ class GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantContentExecutableCode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantContentFile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantContentFile(typing.TypedDict, total=False): fileId: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[ GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase @@ -1217,10 +1163,10 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreDiacritics: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", "SIMPLE_STRING_MATCH", "WORD_BOUNDARY_STRING_MATCH", @@ -1229,17 +1175,15 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - failureMode: typing_extensions.Literal[ - "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" - ] + failureMode: typing.Literal["FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED"] responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedModelIds: _list[str] defaultLanguage: str @@ -1250,13 +1194,13 @@ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSystemInstruction: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGroundedContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationMetadata: GoogleCloudDiscoveryengineV1CitationMetadata content: GoogleCloudDiscoveryengineV1AssistantContent @@ -1266,7 +1210,7 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): references: _list[ GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference @@ -1280,7 +1224,7 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): codeSnippet: str content: str @@ -1288,11 +1232,11 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataR @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str domain: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -1300,7 +1244,7 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataR @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingScore: float @@ -1310,29 +1254,25 @@ class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataS @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataVisualSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentId: str referenceIndices: _list[int] @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantToolInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantToolInfo(typing.TypedDict, total=False): toolDisplayName: str toolName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantToolList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantToolList(typing.TypedDict, total=False): toolInfo: _list[GoogleCloudDiscoveryengineV1AssistantToolInfo] @typing.type_check_only -class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1BAPConfig(typing.TypedDict, total=False): enabledActions: _list[str] supportedConnectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -1343,33 +1283,33 @@ class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1BAPConfigToolspecOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseVersion: str tools: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudDiscoveryengineV1CreateTargetSiteRequest] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentsMetadata: _list[ GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata @@ -1377,25 +1317,25 @@ class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataIngestionSource: str lastRefreshedTime: str matcherValue: GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INDEXED", "NOT_IN_TARGET_SITE", "NOT_IN_INDEX" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fhirResource: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -1404,34 +1344,32 @@ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteUnassignedUserLicenses: bool inlineSource: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updateMask: str userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1BigQuerySource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1BigQuerySource(typing.TypedDict, total=False): dataSchema: str datasetId: str gcsStagingDir: str @@ -1440,20 +1378,18 @@ class GoogleCloudDiscoveryengineV1BigQuerySource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1BigtableOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1BigtableOptions(typing.TypedDict, total=False): families: dict[str, typing.Any] keyFieldName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] fieldName: str qualifier: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -1466,12 +1402,12 @@ class GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn( @typing.type_check_only class GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columns: _list[GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn] - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] fieldName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -1483,27 +1419,21 @@ class GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1BigtableSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1BigtableSource(typing.TypedDict, total=False): bigtableOptions: GoogleCloudDiscoveryengineV1BigtableOptions instanceId: str projectId: str tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CheckGroundingRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CheckGroundingRequest(typing.TypedDict, total=False): answerCandidate: str facts: _list[GoogleCloudDiscoveryengineV1GroundingFact] groundingSpec: GoogleCloudDiscoveryengineV1CheckGroundingSpec userLabels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CheckGroundingResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CheckGroundingResponse(typing.TypedDict, total=False): citedChunks: _list[GoogleCloudDiscoveryengineV1FactChunk] citedFacts: _list[ GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk @@ -1513,13 +1443,13 @@ class GoogleCloudDiscoveryengineV1CheckGroundingResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkText: str @typing.type_check_only class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationIndices: _list[int] claimText: str @@ -1529,14 +1459,12 @@ class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim( startPos: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1CheckGroundingSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CheckGroundingSpec(typing.TypedDict, total=False): citationThreshold: float enableClaimLevelScore: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1Chunk(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Chunk(typing.TypedDict, total=False): annotationContents: _list[str] annotationMetadata: _list[GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata] chunkMetadata: GoogleCloudDiscoveryengineV1ChunkChunkMetadata @@ -1551,40 +1479,32 @@ class GoogleCloudDiscoveryengineV1Chunk(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageId: str structuredContent: GoogleCloudDiscoveryengineV1ChunkStructuredContent @typing.type_check_only -class GoogleCloudDiscoveryengineV1ChunkChunkMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ChunkChunkMetadata(typing.TypedDict, total=False): nextChunks: _list[GoogleCloudDiscoveryengineV1Chunk] previousChunks: _list[GoogleCloudDiscoveryengineV1Chunk] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata(typing.TypedDict, total=False): mimeType: str structData: dict[str, typing.Any] title: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ChunkPageSpan( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ChunkPageSpan(typing.TypedDict, total=False): pageEnd: int pageStart: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1ChunkStructuredContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ChunkStructuredContent(typing.TypedDict, total=False): content: str - structureType: typing_extensions.Literal[ + structureType: typing.Literal[ "STRUCTURE_TYPE_UNSPECIFIED", "SHAREHOLDER_STRUCTURE", "SIGNATURE_STRUCTURE", @@ -1592,7 +1512,7 @@ class GoogleCloudDiscoveryengineV1ChunkStructuredContent( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1Citation(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Citation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: GoogleTypeDate @@ -1601,19 +1521,15 @@ class GoogleCloudDiscoveryengineV1Citation(typing_extensions.TypedDict, total=Fa uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CitationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudDiscoveryengineV1Citation] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CliConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1CliConfig(typing.TypedDict, total=False): enabledActions: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CloudSqlSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CloudSqlSource(typing.TypedDict, total=False): databaseId: str gcsStagingDir: str instanceId: str @@ -1622,20 +1538,20 @@ class GoogleCloudDiscoveryengineV1CloudSqlSource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1CmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1SingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -1649,15 +1565,13 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1Collection(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Collection(typing.TypedDict, total=False): createTime: str displayName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CompleteQueryResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CompleteQueryResponse(typing.TypedDict, total=False): querySuggestions: _list[ GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion ] @@ -1665,22 +1579,18 @@ class GoogleCloudDiscoveryengineV1CompleteQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completableFieldPaths: _list[str] suggestion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CompletionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CompletionInfo(typing.TypedDict, total=False): selectedPosition: int selectedSuggestion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CompletionSuggestion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CompletionSuggestion(typing.TypedDict, total=False): alternativePhrases: _list[str] frequency: str globalScore: float @@ -1690,27 +1600,23 @@ class GoogleCloudDiscoveryengineV1CompletionSuggestion( suggestion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Condition(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Condition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1ConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1ConditionQueryTerm] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Control(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1ControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1Condition] @@ -1719,7 +1625,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal name: str promoteAction: GoogleCloudDiscoveryengineV1ControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1ControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1729,7 +1635,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal ] synonymsAction: GoogleCloudDiscoveryengineV1ControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -1737,9 +1643,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlBoostAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlBoostAction(typing.TypedDict, total=False): boost: float dataStore: str filter: str @@ -1750,81 +1654,65 @@ class GoogleCloudDiscoveryengineV1ControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlFilterAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlFilterAction(typing.TypedDict, total=False): dataStore: str filter: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlPromoteAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlPromoteAction(typing.TypedDict, total=False): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1SearchLinkPromotion @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlRedirectAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlRedirectAction(typing.TypedDict, total=False): redirectUri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlSynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlSynonymsAction(typing.TypedDict, total=False): synonyms: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1Conversation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1Conversation(typing.TypedDict, total=False): endTime: str messages: _list[GoogleCloudDiscoveryengineV1ConversationMessage] name: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED"] userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConversationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConversationContext(typing.TypedDict, total=False): activeDocument: str contextDocuments: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConversationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConversationMessage(typing.TypedDict, total=False): createTime: str reply: GoogleCloudDiscoveryengineV1Reply userInput: GoogleCloudDiscoveryengineV1TextInput @typing.type_check_only class GoogleCloudDiscoveryengineV1ConverseConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1SearchRequestBoostSpec conversation: GoogleCloudDiscoveryengineV1Conversation @@ -1837,7 +1725,7 @@ class GoogleCloudDiscoveryengineV1ConverseConversationRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1ConverseConversationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: GoogleCloudDiscoveryengineV1Conversation reply: GoogleCloudDiscoveryengineV1Reply @@ -1845,62 +1733,52 @@ class GoogleCloudDiscoveryengineV1ConverseConversationResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateEngineMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateSitemapMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateTargetSiteRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str targetSite: GoogleCloudDiscoveryengineV1TargetSite @typing.type_check_only -class GoogleCloudDiscoveryengineV1CustomAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CustomAttribute(typing.TypedDict, total=False): numbers: _list[float] text: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CustomTuningModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CustomTuningModel(typing.TypedDict, total=False): createTime: str displayName: str errorMessage: str metrics: dict[str, typing.Any] - modelState: typing_extensions.Literal[ + modelState: typing.Literal[ "MODEL_STATE_UNSPECIFIED", "TRAINING_PAUSED", "TRAINING", @@ -1915,12 +1793,10 @@ class GoogleCloudDiscoveryengineV1CustomTuningModel( trainingStartTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DataConnector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DataConnector(typing.TypedDict, total=False): aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1ActionConfig - actionState: typing_extensions.Literal[ + actionState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -1934,7 +1810,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( autoRunDisabled: bool bapConfig: GoogleCloudDiscoveryengineV1BAPConfig blockingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", @@ -1943,7 +1819,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] cliConfig: GoogleCloudDiscoveryengineV1CliConfig connectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -1953,7 +1829,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] ] connectorSourceId: str - connectorType: typing_extensions.Literal[ + connectorType: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", "GCP_FHIR", @@ -1990,11 +1866,13 @@ class GoogleCloudDiscoveryengineV1DataConnector( kmsKeyName: str lastSyncTime: str latestPauseTime: str + metadata: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str - realtimeState: typing_extensions.Literal[ + realtimeState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -2007,7 +1885,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( realtimeSyncConfig: GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig refreshInterval: str removeParamKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -2019,13 +1897,24 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + syncMode: typing.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + tag: str updateTime: str vpcscEnabled: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata( + typing.TypedDict, total=False +): + author: str + description: str + note: str + shortDescription: str + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -2034,7 +1923,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -2042,7 +1931,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): realtimeSyncSecret: str streamingError: ( @@ -2052,10 +1941,10 @@ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - streamingErrorReason: typing_extensions.Literal[ + streamingErrorReason: typing.Literal[ "STREAMING_ERROR_REASON_UNSPECIFIED", "STREAMING_SETUP_ERROR", "STREAMING_SYNC_ERROR", @@ -2064,7 +1953,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str entityName: str @@ -2075,18 +1964,18 @@ class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( startingSchema: GoogleCloudDiscoveryengineV1Schema @typing.type_check_only -class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1DataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -2100,7 +1989,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F federatedSearchConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig identityMappingStore: str - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -2111,7 +2000,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F ) servingConfigDataStore: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -2125,7 +2014,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -2136,7 +2025,7 @@ class GoogleCloudDiscoveryengineV1DataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig @@ -2150,7 +2039,7 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -2158,15 +2047,15 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -2179,83 +2068,75 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAll @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteEngineMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudDiscoveryengineV1DestinationConfigDestination] jsonParams: str key: str @@ -2263,31 +2144,31 @@ class GoogleCloudDiscoveryengineV1DestinationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DestinationConfigDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigId: str licenseCount: str @@ -2296,12 +2177,12 @@ class GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: GoogleCloudDiscoveryengineV1LicenseConfig @typing.type_check_only -class GoogleCloudDiscoveryengineV1Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Document(typing.TypedDict, total=False): aclInfo: GoogleCloudDiscoveryengineV1DocumentAclInfo content: GoogleCloudDiscoveryengineV1DocumentContent derivedStructData: dict[str, typing.Any] @@ -2315,38 +2196,30 @@ class GoogleCloudDiscoveryengineV1Document(typing_extensions.TypedDict, total=Fa structData: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1DocumentAclInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DocumentAclInfo(typing.TypedDict, total=False): readers: _list[GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction] @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idpWide: bool principals: _list[GoogleCloudDiscoveryengineV1Principal] @typing.type_check_only -class GoogleCloudDiscoveryengineV1DocumentContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DocumentContent(typing.TypedDict, total=False): mimeType: str rawBytes: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DocumentIndexStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DocumentIndexStatus(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] indexTime: str pendingMessage: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DocumentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DocumentInfo(typing.TypedDict, total=False): conversionValue: float id: str joined: bool @@ -2357,7 +2230,7 @@ class GoogleCloudDiscoveryengineV1DocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig defaultParsingConfig: ( @@ -2368,20 +2241,20 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -2389,12 +2262,12 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -2407,17 +2280,17 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1DoubleList(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1DoubleList(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudDiscoveryengineV1DynamicTool(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1DynamicTool(typing.TypedDict, total=False): description: str displayName: str enabled: bool @@ -2425,31 +2298,31 @@ class GoogleCloudDiscoveryengineV1DynamicTool(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Engine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1AgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -2459,11 +2332,11 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -2478,7 +2351,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig procurementContactEmails: _list[str] searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -2489,9 +2362,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1EngineChatEngineConfig(typing.TypedDict, total=False): agentCreationConfig: ( GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig ) @@ -2500,7 +2371,7 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -2509,19 +2380,17 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1EngineCommonConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1EngineCommonConfig(typing.TypedDict, total=False): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -2531,7 +2400,7 @@ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -2540,47 +2409,45 @@ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -2596,16 +2463,17 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1FactChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1FactChunk(typing.TypedDict, total=False): chunkText: str domain: str index: int @@ -2615,24 +2483,22 @@ class GoogleCloudDiscoveryengineV1FactChunk(typing_extensions.TypedDict, total=F uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Feedback(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Feedback(typing.TypedDict, total=False): comment: str componentVersion: str conversationInfo: GoogleCloudDiscoveryengineV1FeedbackConversationInfo dataTermsAccepted: bool - feedbackSource: typing_extensions.Literal[ + feedbackSource: typing.Literal[ "FEEDBACK_SOURCE_UNSPECIFIED", "GOOGLE_CONSOLE", "GOOGLE_WIDGET", "GOOGLE_WEBAPP", "GOOGLE_AGENTSPACE_MOBILE", ] - feedbackType: typing_extensions.Literal[ - "FEEDBACK_TYPE_UNSPECIFIED", "LIKE", "DISLIKE" - ] + feedbackType: typing.Literal["FEEDBACK_TYPE_UNSPECIFIED", "LIKE", "DISLIKE"] llmModelVersion: str reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "INACCURATE_RESPONSE", "NOT_RELEVANT", @@ -2648,7 +2514,7 @@ class GoogleCloudDiscoveryengineV1Feedback(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDiscoveryengineV1FeedbackConversationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerQueryToken: str assistToken: str @@ -2658,68 +2524,56 @@ class GoogleCloudDiscoveryengineV1FeedbackConversationInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] totalSize: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1FetchSitemapsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1FetchSitemapsResponse(typing.TypedDict, total=False): sitemapsMetadata: _list[ GoogleCloudDiscoveryengineV1FetchSitemapsResponseSitemapMetadata ] @typing.type_check_only class GoogleCloudDiscoveryengineV1FetchSitemapsResponseSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sitemap: GoogleCloudDiscoveryengineV1Sitemap @typing.type_check_only -class GoogleCloudDiscoveryengineV1FhirStoreSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1FhirStoreSource(typing.TypedDict, total=False): fhirStore: str gcsStagingDir: str resourceTypes: _list[str] updateFromLatestPredefinedSchema: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1FirestoreSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1FirestoreSource(typing.TypedDict, total=False): collectionId: str databaseId: str gcsStagingDir: str projectId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1GcsSource(typing.TypedDict, total=False): dataSchema: str inputUris: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1GroundingFact( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1GroundingFact(typing.TypedDict, total=False): attributes: dict[str, typing.Any] factText: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1HealthcareFhirConfig(typing.TypedDict, total=False): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool initialFilterGroups: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdentityMappingEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1IdentityMappingEntry(typing.TypedDict, total=False): externalIdentity: str externalIdentityName: str groupId: str @@ -2727,41 +2581,37 @@ class GoogleCloudDiscoveryengineV1IdentityMappingEntry( @typing.type_check_only class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdentityMappingStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1IdentityMappingStore(typing.TypedDict, total=False): cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig kmsKeyName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdentityScheduleConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1IdentityScheduleConfig(typing.TypedDict, total=False): nextSyncTime: GoogleTypeDateTime refreshInterval: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdpConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1IdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -2770,7 +2620,7 @@ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1BigQuerySource errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig @@ -2781,20 +2631,20 @@ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleCloudDiscoveryengineV1CompletionSuggestion] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -2803,9 +2653,7 @@ class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ImportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ImportDocumentsRequest(typing.TypedDict, total=False): alloyDbSource: GoogleCloudDiscoveryengineV1AlloyDbSource autoGenerateIds: bool bigquerySource: GoogleCloudDiscoveryengineV1BigQuerySource @@ -2818,7 +2666,7 @@ class GoogleCloudDiscoveryengineV1ImportDocumentsRequest( gcsSource: GoogleCloudDiscoveryengineV1GcsSource idField: str inlineSource: GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource - reconciliationMode: typing_extensions.Literal[ + reconciliationMode: typing.Literal[ "RECONCILIATION_MODE_UNSPECIFIED", "INCREMENTAL", "FULL" ] spannerSource: GoogleCloudDiscoveryengineV1SpannerSource @@ -2826,51 +2674,49 @@ class GoogleCloudDiscoveryengineV1ImportDocumentsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[GoogleCloudDiscoveryengineV1Document] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineSource: GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1IdentityMappingEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsSource: GoogleCloudDiscoveryengineV1GcsSource inlineSource: ( @@ -2879,13 +2725,13 @@ class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entries: _list[GoogleCloudDiscoveryengineV1SuggestionDenyListEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -2893,7 +2739,7 @@ class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -2902,7 +2748,7 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1BigQuerySource errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig @@ -2911,13 +2757,13 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEvents: _list[GoogleCloudDiscoveryengineV1UserEvent] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -2925,26 +2771,25 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Interval(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Interval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1LicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1LicenseConfig(typing.TypedDict, total=False): autoRenew: bool earlyTerminated: bool earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -2952,14 +2797,14 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -2975,120 +2820,107 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1LicenseConfigUsageStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: str usedLicenseCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ListAssistantsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ListAssistantsResponse(typing.TypedDict, total=False): assistants: _list[GoogleCloudDiscoveryengineV1Assistant] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cmekConfigs: _list[GoogleCloudDiscoveryengineV1CmekConfig] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ListControlsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ListControlsResponse(typing.TypedDict, total=False): controls: _list[GoogleCloudDiscoveryengineV1Control] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ListConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleCloudDiscoveryengineV1Conversation] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ListCustomModelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): models: _list[GoogleCloudDiscoveryengineV1CustomTuningModel] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ListDataStoresResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ListDataStoresResponse(typing.TypedDict, total=False): dataStores: _list[GoogleCloudDiscoveryengineV1DataStore] nextPageToken: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ListDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ListDocumentsResponse(typing.TypedDict, total=False): documents: _list[GoogleCloudDiscoveryengineV1Document] nextPageToken: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ListEnginesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ListEnginesResponse(typing.TypedDict, total=False): engines: _list[GoogleCloudDiscoveryengineV1Engine] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingStores: _list[GoogleCloudDiscoveryengineV1IdentityMappingStore] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1IdentityMappingEntry] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigs: _list[GoogleCloudDiscoveryengineV1LicenseConfig] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigUsageStats: _list[GoogleCloudDiscoveryengineV1LicenseConfigUsageStats] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ListSchemasResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ListSchemasResponse(typing.TypedDict, total=False): nextPageToken: str schemas: _list[GoogleCloudDiscoveryengineV1Schema] @typing.type_check_only class GoogleCloudDiscoveryengineV1ListServingConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str servingConfigs: _list[GoogleCloudDiscoveryengineV1ServingConfig] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ListSessionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ListSessionsResponse(typing.TypedDict, total=False): nextPageToken: str sessions: _list[GoogleCloudDiscoveryengineV1Session] @typing.type_check_only class GoogleCloudDiscoveryengineV1ListTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] @@ -3096,38 +2928,36 @@ class GoogleCloudDiscoveryengineV1ListTargetSitesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1ListUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1MediaInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1MediaInfo(typing.TypedDict, total=False): mediaProgressDuration: str mediaProgressPercentage: float @typing.type_check_only class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ObservabilityConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ObservabilityConfig(typing.TypedDict, total=False): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1PageInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1PageInfo(typing.TypedDict, total=False): pageCategory: str pageviewId: str referrerUri: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1PanelInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1PanelInfo(typing.TypedDict, total=False): displayName: str documents: _list[GoogleCloudDiscoveryengineV1DocumentInfo] panelId: str @@ -3135,13 +2965,13 @@ class GoogleCloudDiscoveryengineV1PanelInfo(typing_extensions.TypedDict, total=F totalPanels: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1Principal(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Principal(typing.TypedDict, total=False): externalEntityId: str groupId: str userId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Project(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus ) @@ -3153,7 +2983,7 @@ class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -3164,26 +2994,26 @@ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig @@ -3191,7 +3021,7 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -3200,43 +3030,41 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ProjectServiceTerms( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ProjectServiceTerms(typing.TypedDict, total=False): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1ProvisionProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptDataUseTerms: bool dataUseTermsVersion: str @@ -3244,34 +3072,32 @@ class GoogleCloudDiscoveryengineV1ProvisionProjectRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptBizQos: bool isBiz: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeSucceeded: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str ignoredCount: str @@ -3279,9 +3105,7 @@ class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeDocumentsRequest(typing.TypedDict, total=False): errorConfig: GoogleCloudDiscoveryengineV1PurgeErrorConfig filter: str force: bool @@ -3290,26 +3114,22 @@ class GoogleCloudDiscoveryengineV1PurgeDocumentsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @@ -3317,43 +3137,41 @@ class GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1IdentityMappingEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeUserEventsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1Query(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Query(typing.TypedDict, total=False): queryId: str text: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1RankRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1RankRequest(typing.TypedDict, total=False): ignoreRecordDetailsInResponse: bool model: str query: str @@ -3362,24 +3180,18 @@ class GoogleCloudDiscoveryengineV1RankRequest(typing_extensions.TypedDict, total userLabels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1RankResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1RankResponse(typing.TypedDict, total=False): records: _list[GoogleCloudDiscoveryengineV1RankingRecord] @typing.type_check_only -class GoogleCloudDiscoveryengineV1RankingRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1RankingRecord(typing.TypedDict, total=False): content: str id: str score: float title: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1RecommendRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1RecommendRequest(typing.TypedDict, total=False): filter: str pageSize: int params: dict[str, typing.Any] @@ -3388,9 +3200,7 @@ class GoogleCloudDiscoveryengineV1RecommendRequest( validateOnly: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1RecommendResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1RecommendResponse(typing.TypedDict, total=False): attributionToken: str missingIds: _list[str] results: _list[GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult] @@ -3398,26 +3208,24 @@ class GoogleCloudDiscoveryengineV1RecommendResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: GoogleCloudDiscoveryengineV1Document id: str metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1RecrawlUrisRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1RecrawlUrisRequest(typing.TypedDict, total=False): siteCredential: str uris: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1Reply(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Reply(typing.TypedDict, total=False): summary: GoogleCloudDiscoveryengineV1SearchResponseSummary @typing.type_check_only class GoogleCloudDiscoveryengineV1RetractLicenseConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullRetract: bool licenseConfig: str @@ -3425,16 +3233,14 @@ class GoogleCloudDiscoveryengineV1RetractLicenseConfigRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1RetractLicenseConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: GoogleCloudDiscoveryengineV1LicenseConfig @typing.type_check_only -class GoogleCloudDiscoveryengineV1SafetyRating( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -3442,11 +3248,11 @@ class GoogleCloudDiscoveryengineV1SafetyRating( "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -3456,21 +3262,19 @@ class GoogleCloudDiscoveryengineV1SafetyRating( severityScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Schema(typing.TypedDict, total=False): jsonSchema: str name: str structSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1SearchInfo(typing.TypedDict, total=False): offset: int orderBy: str searchQuery: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchLinkPromotion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchLinkPromotion(typing.TypedDict, total=False): description: str document: str enabled: bool @@ -3479,9 +3283,7 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudDiscoveryengineV1SearchRequestBoostSpec branch: str canonicalFilter: str @@ -3509,15 +3311,16 @@ class GoogleCloudDiscoveryengineV1SearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec rankingExpression: str - rankingExpressionBackend: typing_extensions.Literal[ + rankingExpressionBackend: typing.Literal[ "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", "BYOE", "CLEARBOX", "RANK_BY_EMBEDDING", "RANK_BY_FORMULA", ] + relevanceFilterSpec: GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec relevanceScoreSpec: GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool @@ -3530,16 +3333,14 @@ class GoogleCloudDiscoveryengineV1SearchRequest( userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchRequestBoostSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchRequestBoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec ] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec @@ -3547,35 +3348,33 @@ class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec extractiveContentSpec: ( GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec ) - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec @@ -3583,14 +3382,14 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -3600,7 +3399,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveConten @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -3608,7 +3407,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -3625,35 +3424,35 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str maxCount: int - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestCustomRankingParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressionsToPrecompute: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1SearchRequestBoostSpec customSearchOperators: str @@ -3663,18 +3462,16 @@ class GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchHighlightingCondition: typing_extensions.Literal[ + matchHighlightingCondition: typing.Literal[ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", "MATCH_HIGHLIGHTING_DISABLED", "MATCH_HIGHLIGHTING_ENABLED", ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec(typing.TypedDict, total=False): enableDynamicPosition: bool excludedFilterKeys: _list[str] facetKey: GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey @@ -3682,7 +3479,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -3694,61 +3491,74 @@ class GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestImageQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageBytes: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedFieldNames: _list[str] - extractedFilterBehavior: typing_extensions.Literal[ + extractedFilterBehavior: typing.Literal[ "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" ] - filterExtractionCondition: typing_extensions.Literal[ + filterExtractionCondition: typing.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] geoSearchQueryDetectionFieldNames: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec( + typing.TypedDict, total=False +): + keywordSearchThreshold: GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec + semanticSearchThreshold: GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec( + typing.TypedDict, total=False +): + relevanceThreshold: typing.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] + semanticRelevanceThreshold: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRelevanceScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestSessionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryId: str searchResultPersistenceCount: int @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchResponse(typing.TypedDict, total=False): + appliedControls: _list[str] attributionToken: str correctedQuery: str facets: _list[GoogleCloudDiscoveryengineV1SearchResponseFacet] @@ -3760,24 +3570,20 @@ class GoogleCloudDiscoveryengineV1SearchResponse( redirectUri: str results: _list[GoogleCloudDiscoveryengineV1SearchResponseSearchResult] searchLinkPromotions: _list[GoogleCloudDiscoveryengineV1SearchLinkPromotion] - semanticState: typing_extensions.Literal[ - "SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED" - ] + semanticState: typing.Literal["SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED"] sessionInfo: GoogleCloudDiscoveryengineV1SearchResponseSessionInfo summary: GoogleCloudDiscoveryengineV1SearchResponseSummary totalSize: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchResponseFacet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchResponseFacet(typing.TypedDict, total=False): dynamicFacet: bool key: str values: _list[GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str interval: GoogleCloudDiscoveryengineV1Interval @@ -3785,7 +3591,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classifiedIntents: _list[str] extractedFilters: str @@ -3794,13 +3600,13 @@ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandin @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expression: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[ GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @@ -3808,7 +3614,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandin @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): andExpr: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression geolocationConstraint: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint @@ -3818,7 +3624,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandin @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str fieldName: str @@ -3828,9 +3634,9 @@ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandin @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - comparison: typing_extensions.Literal[ + comparison: typing.Literal[ "COMPARISON_UNSPECIFIED", "EQUALS", "LESS_THAN_EQUALS", @@ -3844,7 +3650,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandin @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[ GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @@ -3852,7 +3658,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandin @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str querySegment: str @@ -3860,24 +3666,27 @@ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandin @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedQuery: bool pinnedResultCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: GoogleCloudDiscoveryengineV1Chunk document: GoogleCloudDiscoveryengineV1Document id: str modelScores: dict[str, typing.Any] rankSignals: GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals + retrievalSignals: ( + GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals + ) @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostingFactor: float customSignals: _list[ @@ -3894,25 +3703,34 @@ class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals( + typing.TypedDict, total=False +): + retrievalSources: _list[ + typing.Literal[ + "RETRIEVAL_SOURCE_UNSPECIFIED", "KEYWORD_SEARCH", "SEMANTIC_SEARCH" + ] + ] + semanticRelevanceScore: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSessionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str queryId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchResponseSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchResponseSummary(typing.TypedDict, total=False): safetyAttributes: GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes summarySkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUMMARY_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_SUMMARY_SEEKING_QUERY_IGNORED", @@ -3933,7 +3751,7 @@ class GoogleCloudDiscoveryengineV1SearchResponseSummary( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource] @@ -3941,19 +3759,19 @@ class GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citations: _list[GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceIndex: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSummaryReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent @@ -3964,30 +3782,28 @@ class GoogleCloudDiscoveryengineV1SearchResponseSummaryReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categories: _list[str] scores: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationMetadata: GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata references: _list[GoogleCloudDiscoveryengineV1SearchResponseSummaryReference] summary: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ServingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ServingConfig(typing.TypedDict, total=False): answerGenerationSpec: GoogleCloudDiscoveryengineV1AnswerGenerationSpec boostControlIds: _list[str] createTime: str @@ -4005,7 +3821,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( rankingExpression: str redirectControlIds: _list[str] replacementControlIds: _list[str] - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -4018,13 +3834,13 @@ class GoogleCloudDiscoveryengineV1ServingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ServingConfigGenericConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSearchSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentFreshnessCutoffDays: int contentWatchedPercentageThreshold: float @@ -4033,7 +3849,7 @@ class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( demotionEventType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Session(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Session(typing.TypedDict, total=False): displayName: str endTime: str isPinned: bool @@ -4041,12 +3857,12 @@ class GoogleCloudDiscoveryengineV1Session(typing_extensions.TypedDict, total=Fal name: str pendingAsyncAssistOperationId: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] turns: _list[GoogleCloudDiscoveryengineV1SessionTurn] userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SessionTurn(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1SessionTurn(typing.TypedDict, total=False): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1Answer detailedAssistAnswer: GoogleCloudDiscoveryengineV1AssistAnswer @@ -4056,48 +3872,40 @@ class GoogleCloudDiscoveryengineV1SessionTurn(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collectionDisplayName: str collectionId: str dataConnector: GoogleCloudDiscoveryengineV1DataConnector @typing.type_check_only -class GoogleCloudDiscoveryengineV1SingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SiteSearchEngine( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SiteSearchEngine(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SiteVerificationInfo( - typing_extensions.TypedDict, total=False -): - siteVerificationState: typing_extensions.Literal[ +class GoogleCloudDiscoveryengineV1SiteVerificationInfo(typing.TypedDict, total=False): + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Sitemap(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Sitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SpannerSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SpannerSource(typing.TypedDict, total=False): databaseId: str enableDataBoost: bool instanceId: str @@ -4105,9 +3913,7 @@ class GoogleCloudDiscoveryengineV1SpannerSource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1StreamAssistRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1StreamAssistRequest(typing.TypedDict, total=False): generationSpec: GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec query: GoogleCloudDiscoveryengineV1Query session: str @@ -4116,13 +3922,13 @@ class GoogleCloudDiscoveryengineV1StreamAssistRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageGenerationSpec: ( GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec @@ -4139,30 +3945,28 @@ class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec] filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1StreamAssistResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1StreamAssistResponse(typing.TypedDict, total=False): answer: GoogleCloudDiscoveryengineV1AssistAnswer assistToken: str connectorAuthErrors: _list[ @@ -4174,39 +3978,39 @@ class GoogleCloudDiscoveryengineV1StreamAssistResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistResponseConnectorAuthError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataConnector: str errorMessage: str @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): session: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SuggestionDenyListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockPhrase: str - matchOperator: typing_extensions.Literal[ + matchOperator: typing.Literal[ "MATCH_OPERATOR_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1TargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1TargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -4219,42 +4023,42 @@ class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total= providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1SiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Tenant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Tenant(typing.TypedDict, total=False): displayName: str id: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1TextInput(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1TextInput(typing.TypedDict, total=False): context: GoogleCloudDiscoveryengineV1ConversationContext input: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig gcsTrainingInput: ( @@ -4265,7 +4069,7 @@ class GoogleCloudDiscoveryengineV1TrainCustomModelRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelRequestGcsTrainingInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): corpusDataPath: str queryDataPath: str @@ -4274,7 +4078,7 @@ class GoogleCloudDiscoveryengineV1TrainCustomModelRequestGcsTrainingInput( @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -4283,9 +4087,7 @@ class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( modelStatus: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1TransactionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1TransactionInfo(typing.TypedDict, total=False): cost: float currency: str discountValue: float @@ -4295,27 +4097,25 @@ class GoogleCloudDiscoveryengineV1TransactionInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserEvent(typing.TypedDict, total=False): attributes: dict[str, typing.Any] attributionToken: str completionInfo: GoogleCloudDiscoveryengineV1CompletionInfo @@ -4342,7 +4142,7 @@ class GoogleCloudDiscoveryengineV1UserEvent(typing_extensions.TypedDict, total=F userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserInfo(typing.TypedDict, total=False): preciseLocation: GoogleCloudDiscoveryengineV1UserInfoPreciseLocation timeZone: str userAgent: str @@ -4350,16 +4150,16 @@ class GoogleCloudDiscoveryengineV1UserInfo(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDiscoveryengineV1UserInfoPreciseLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str point: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -4373,7 +4173,7 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserStore(typing.TypedDict, total=False): defaultLicenseConfig: str displayName: str enableExpiredLicenseAutoUpdate: bool @@ -4381,13 +4181,12 @@ class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=F name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1WidgetConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1WidgetConfig(typing.TypedDict, total=False): accessSettings: GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings allowPublicAccess: bool allowlistedDomains: _list[str] assistantSettings: GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings + batchAuthStatuses: _list[GoogleCloudDiscoveryengineV1WidgetConfigBatchAuthStatus] collectionComponents: _list[ GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent ] @@ -4397,7 +4196,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfig( customerProvidedConfig: ( GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig ) - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "SITE_SEARCH", "STRUCTURED", @@ -4421,17 +4220,17 @@ class GoogleCloudDiscoveryengineV1WidgetConfig( fieldsUiComponentsMap: dict[str, typing.Any] geminiBundle: bool homepageSetting: GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] llmEnabled: bool minimumDataTermAccepted: bool name: str nodes: _list[GoogleCloudDiscoveryengineV1WidgetConfigNode] - resultDisplayType: typing_extensions.Literal[ + resultDisplayType: typing.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -4445,7 +4244,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPublicAccess: bool allowlistedDomains: _list[str] @@ -4455,38 +4254,50 @@ class GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings( @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultWebGroundingToggleOff: bool disableLocationContext: bool googleSearchGroundingEnabled: bool - webGroundingType: typing_extensions.Literal[ + webGroundingType: typing.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", "WEB_GROUNDING_TYPE_DISABLED", "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigBatchAuthStatus( + typing.TypedDict, total=False +): + batchAuthorizationGroup: str + connectorAuthState: GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState + placeholder: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectorAuthState: GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState connectorIconLink: str dataSource: str dataSourceDisplayName: str + dataSourceEndUserDisplayName: str + dataSourceVersion: float dataStoreComponents: _list[ GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent ] displayName: str id: str + isFirstParty: bool + metadata: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authState: typing_extensions.Literal[ + authState: typing.Literal[ "AUTH_STATE_UNSPECIFIED", "AUTHORIZED", "EXPIRED", "ACTIONS_DISABLED", "NO_AUTH" ] authorizationUri: str @@ -4494,15 +4305,15 @@ class GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState( @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - customerType: typing_extensions.Literal["DEFAULT_CUSTOMER", "GOVERNMENT_CUSTOMER"] + customerType: typing.Literal["DEFAULT_CUSTOMER", "GOVERNMENT_CUSTOMER"] @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataStoreConfigType: typing_extensions.Literal[ + dataStoreConfigType: typing.Literal[ "DATA_STORE_CONFIG_TYPE_UNSPECIFIED", "ALLOW_DB_CONFIG", "THIRD_PARTY_OAUTH_CONFIG", @@ -4515,7 +4326,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent( @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facetField: _list[GoogleCloudDiscoveryengineV1WidgetConfigFacetField] fieldsUiComponentsMap: dict[str, typing.Any] @@ -4523,63 +4334,55 @@ class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig( name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1WidgetConfigFacetField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1WidgetConfigFacetField(typing.TypedDict, total=False): displayName: str field: str @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shortcuts: _list[GoogleCloudDiscoveryengineV1WidgetConfigHomepageSettingShortcut] @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigHomepageSettingShortcut( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str icon: GoogleCloudDiscoveryengineV1WidgetConfigImage title: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1WidgetConfigImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1WidgetConfigImage(typing.TypedDict, total=False): url: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1WidgetConfigNode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1WidgetConfigNode(typing.TypedDict, total=False): description: str displayName: str iconUrl: str outputSchema: dict[str, typing.Any] parameterSchema: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRIGGER", "FLOW", "CONNECTOR"] + type: typing.Literal["TYPE_UNSPECIFIED", "TRIGGER", "FLOW", "CONNECTOR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigUIComponentField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceVisibility: _list[ - typing_extensions.Literal["DEVICE_VISIBILITY_UNSPECIFIED", "MOBILE", "DESKTOP"] + typing.Literal["DEVICE_VISIBILITY_UNSPECIFIED", "MOBILE", "DESKTOP"] ] displayTemplate: str field: str @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): logo: GoogleCloudDiscoveryengineV1WidgetConfigImage @typing.type_check_only -class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings(typing.TypedDict, total=False): dataStoreUiConfigs: _list[GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig] defaultSearchRequestOrderBy: str disableUserEventsCollection: bool @@ -4594,7 +4397,8 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings( generativeAnswerConfig: ( GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig ) - interactionType: typing_extensions.Literal[ + googleDrivePickerEnabled: bool + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "SEARCH_ONLY", "SEARCH_WITH_ANSWER", @@ -4602,19 +4406,21 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings( ] modelConfigInfo: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfo modelConfigs: dict[str, typing.Any] - resultDescriptionType: typing_extensions.Literal[ + onedrivePickerEnabled: bool + resultDescriptionType: typing.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] + sourceAdminDisplayNameEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableRelatedQuestions: bool ignoreAdversarialQuery: bool ignoreLowRelevantContent: bool ignoreNonAnswerSeekingQuery: bool - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -4628,7 +4434,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultModelId: str resolvedModels: _list[ @@ -4637,22 +4443,30 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + adminView: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView description: str displayName: str icon: str isPreview: bool + label: str modelId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1WorkspaceConfig( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView( + typing.TypedDict, total=False ): + adminOverridable: bool + enabledByDefault: bool + regions: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -4662,19 +4476,16 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAclConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaActionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaActionConfig(typing.TypedDict, total=False): actionParams: dict[str, typing.Any] createBapConnection: bool isActionConfigured: bool @@ -4685,27 +4496,27 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaActionConfigScopeList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scopes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference @@ -4713,14 +4524,12 @@ class GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig(typing.TypedDict, total=False): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment ] @@ -4728,16 +4537,14 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment @@ -4749,18 +4556,167 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED"] notificationParams: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights( + typing.TypedDict, total=False +): + insights: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight( + typing.TypedDict, total=False +): + label: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores( + typing.TypedDict, total=False +): + scores: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore( + typing.TypedDict, total=False +): + metric: str + score: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment( + typing.TypedDict, total=False +): + config: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig + createTime: str + initialAlphaEvolveProgram: str + name: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "CREATED", "RUNNING", "PAUSED", "COMPLETED", "FAILED" + ] + stats: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig( + typing.TypedDict, total=False +): + evolutionSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings + ) + generationSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings + ) + problemDescription: str + programLanguage: str + runSettings: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings( + typing.TypedDict, total=False +): + parentSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig( + typing.TypedDict, total=False +): + paretoSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig( + typing.TypedDict, total=False +): + paretoSamplingProbability: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings( + typing.TypedDict, total=False +): + context: str + includeFullProgramInPrompt: bool + models: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig( + typing.TypedDict, total=False +): + name: str + weight: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings( + typing.TypedDict, total=False +): + concurrency: int + maxDuration: str + maxPrograms: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats( + typing.TypedDict, total=False +): + candidatesCount: int + evaluatedCandidatesCount: int + inputTokenCount: str + outputTokenCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram( + typing.TypedDict, total=False +): + content: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent + createTime: str + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + name: str + parentPrograms: _list[str] + state: typing.Literal[ + "PROGRAM_STATE_UNSPECIFIED", + "INITIALIZED", + "GENERATING", + "EVALUATING", + "COMPLETED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent( + typing.TypedDict, total=False +): + description: str + files: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation( + typing.TypedDict, total=False +): + insights: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights + scores: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile( + typing.TypedDict, total=False +): + content: str + description: str + path: str + programLanguage: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswer(typing.TypedDict, total=False): answerSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ANSWER_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_ANSWER_SEEKING_QUERY_IGNORED", @@ -4789,44 +4745,42 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total references: _list[GoogleCloudDiscoveryengineV1alphaAnswerReference] relatedQuestions: _list[str] safetyRatings: _list[GoogleCloudDiscoveryengineV1alphaSafetyRating] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "STREAMING" ] steps: _list[GoogleCloudDiscoveryengineV1alphaAnswerStep] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionType: typing_extensions.Literal[ + attributionType: typing.Literal[ "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" ] data: GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerCitation(typing.TypedDict, total=False): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1alphaAnswerCitationSource] startIndex: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerCitationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingCheckRequired: bool @@ -4836,7 +4790,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryClassificationInfo: _list[ GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo @@ -4844,10 +4798,10 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): positive: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -4857,9 +4811,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerReference(typing.TypedDict, total=False): chunkInfo: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo structuredDocumentInfo: ( GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo @@ -4870,7 +4822,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] chunk: str @@ -4882,7 +4834,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str pageIdentifier: str @@ -4892,7 +4844,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str structData: dict[str, typing.Any] @@ -4901,7 +4853,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent @@ -4913,7 +4865,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] content: str @@ -4921,26 +4873,20 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoCh relevanceScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStep( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerStep(typing.TypedDict, total=False): actions: _list[GoogleCloudDiscoveryengineV1alphaAnswerStepAction] description: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED"] thought: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerStepAction(typing.TypedDict, total=False): observation: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation searchAction: GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult @@ -4948,7 +4894,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: _list[ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo @@ -4963,7 +4909,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -4971,23 +4917,21 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultCh @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippet: str snippetStatus: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistAnswer(typing.TypedDict, total=False): assistSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ASSIST_SKIPPED_REASON_UNSPECIFIED", "NON_ASSIST_SEEKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", @@ -4998,7 +4942,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistAnswer( ) name: str replies: _list[GoogleCloudDiscoveryengineV1alphaAssistAnswerReply] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", @@ -5009,45 +4953,44 @@ class GoogleCloudDiscoveryengineV1alphaAssistAnswer( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyResults: _list[ GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult ] - verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + verdict: typing.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + violationSource: typing.Literal[ + "VIOLATION_SOURCE_UNSPECIFIED", "SYSTEM", "PROMPT", "ATTACHMENT" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus modelArmorViolation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply(typing.TypedDict, total=False): createTime: str groundedContent: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent replyId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistantContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistantContent(typing.TypedDict, total=False): codeExecutionResult: ( GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult ) @@ -5060,16 +5003,16 @@ class GoogleCloudDiscoveryengineV1alphaAssistantContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outcome: typing_extensions.Literal[ + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -5079,20 +5022,20 @@ class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentFile( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileId: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationMetadata: GoogleCloudDiscoveryengineV1alphaCitationMetadata content: GoogleCloudDiscoveryengineV1alphaAssistantContent @@ -5102,7 +5045,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): references: _list[ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference @@ -5116,7 +5059,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): codeSnippet: str content: str @@ -5124,11 +5067,11 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str domain: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -5136,7 +5079,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingScore: float @@ -5146,18 +5089,16 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentId: str referenceIndices: _list[int] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBAPConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaBAPConfig(typing.TypedDict, total=False): enabledActions: _list[str] supportedConnectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -5168,27 +5109,27 @@ class GoogleCloudDiscoveryengineV1alphaBAPConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfigToolspecOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseVersion: str tools: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -5197,15 +5138,13 @@ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCitation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: GoogleTypeDate @@ -5214,34 +5153,28 @@ class GoogleCloudDiscoveryengineV1alphaCitation( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCitationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudDiscoveryengineV1alphaCitation] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCliConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCliConfig(typing.TypedDict, total=False): enabledActions: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCmekConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1alphaSingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -5255,47 +5188,41 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCollection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCollection(typing.TypedDict, total=False): createTime: str dataConnector: GoogleCloudDiscoveryengineV1alphaDataConnector displayName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCondition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1alphaConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1alphaConditionQueryTerm] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullMatch: bool value: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConditionTimeRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConnectorRun( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaConnectorRun(typing.TypedDict, total=False): endTime: str entityRuns: _list[GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun] errors: _list[GoogleRpcStatus] latestPauseTime: str name: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", @@ -5307,13 +5234,13 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( "SKIPPED", ] stateUpdateTime: str - trigger: typing_extensions.Literal[ + trigger: typing.Literal[ "TRIGGER_UNSPECIFIED", "SCHEDULER", "INITIALIZATION", "RESUME", "MANUAL" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deletedRecordCount: str entityName: str @@ -5324,7 +5251,7 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( progress: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress scheduledRecordCount: str sourceApiRequestCount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", @@ -5337,28 +5264,24 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( ] stateUpdateTime: str statsUpdateTime: str - syncType: typing_extensions.Literal[ + syncType: typing.Literal[ "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", "REALTIME", "SCALA_SYNC" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentCount: str percentile: float totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaContactDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaContactDetails(typing.TypedDict, total=False): emailAddress: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaControl( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1alphaControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1alphaCondition] @@ -5367,7 +5290,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( name: str promoteAction: GoogleCloudDiscoveryengineV1alphaControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1alphaControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -5377,7 +5300,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -5386,7 +5309,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float dataStore: str @@ -5398,111 +5321,107 @@ class GoogleCloudDiscoveryengineV1alphaControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlFilterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlPromoteAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlRedirectAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): redirectUri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlSynonymsAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): synonyms: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qpsTimeSeries: GoogleMonitoringV3TimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSearchAdaptor: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDataConnector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDataConnector(typing.TypedDict, total=False): aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1alphaActionConfig - actionState: typing_extensions.Literal[ + actionState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -5516,7 +5435,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( autoRunDisabled: bool bapConfig: GoogleCloudDiscoveryengineV1alphaBAPConfig blockingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", @@ -5525,7 +5444,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] cliConfig: GoogleCloudDiscoveryengineV1alphaCliConfig connectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -5535,7 +5454,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] ] connectorSourceId: str - connectorType: typing_extensions.Literal[ + connectorType: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", "GCP_FHIR", @@ -5573,11 +5492,13 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( kmsKeyName: str lastSyncTime: str latestPauseTime: str + metadata: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str - realtimeState: typing_extensions.Literal[ + realtimeState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -5590,7 +5511,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str removeParamKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -5602,13 +5523,24 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + syncMode: typing.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + tag: str updateTime: str vpcscEnabled: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata( + typing.TypedDict, total=False +): + author: str + description: str + note: str + shortDescription: str + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -5617,7 +5549,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -5625,7 +5557,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): realtimeSyncSecret: str streamingError: ( @@ -5635,10 +5567,10 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - streamingErrorReason: typing_extensions.Literal[ + streamingErrorReason: typing.Literal[ "STREAMING_ERROR_REASON_UNSPECIFIED", "STREAMING_SETUP_ERROR", "STREAMING_SYNC_ERROR", @@ -5647,7 +5579,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingE @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str entityName: str @@ -5659,31 +5591,29 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDataStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -5699,9 +5629,10 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig ) healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + iconUri: str identityMappingStore: str idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -5715,7 +5646,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore ) solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -5729,7 +5660,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -5740,7 +5671,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig @@ -5752,7 +5683,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -5760,15 +5691,15 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConf @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -5781,26 +5712,26 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConf @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries @@ -5809,90 +5740,89 @@ class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str + updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination] jsonParams: str key: str @@ -5900,26 +5830,26 @@ class GoogleCloudDiscoveryengineV1alphaDestinationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: ( GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig @@ -5932,20 +5862,20 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -5953,12 +5883,12 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -5971,15 +5901,13 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDynamicTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDynamicTool(typing.TypedDict, total=False): description: str displayName: str enabled: bool @@ -5987,26 +5915,26 @@ class GoogleCloudDiscoveryengineV1alphaDynamicTool( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaEngine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -6016,11 +5944,11 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -6041,7 +5969,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total similarDocumentsConfig: ( GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig ) - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -6053,7 +5981,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentCreationConfig: ( GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig @@ -6063,7 +5991,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -6072,19 +6000,19 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -6096,7 +6024,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -6105,61 +6033,57 @@ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] lastTrainTime: str lastTuneTime: str - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] tuningOperation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -6175,36 +6099,35 @@ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataSizeBytes: str documentCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaEvaluation(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -6212,41 +6135,39 @@ class GoogleCloudDiscoveryengineV1alphaEvaluation( evaluationSpec: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec name: str qualityMetrics: GoogleCloudDiscoveryengineV1alphaQualityMetrics - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySetSpec: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec searchRequest: GoogleCloudDiscoveryengineV1alphaSearchRequest @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQuerySet: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFieldConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFieldConfig(typing.TypedDict, total=False): advancedSiteSearchDataSources: _list[ - typing_extensions.Literal[ + typing.Literal[ "ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED", "METATAGS", "PAGEMAP", @@ -6254,16 +6175,16 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "SCHEMA_ORG", ] ] - completableOption: typing_extensions.Literal[ + completableOption: typing.Literal[ "COMPLETABLE_OPTION_UNSPECIFIED", "COMPLETABLE_ENABLED", "COMPLETABLE_DISABLED" ] - dynamicFacetableOption: typing_extensions.Literal[ + dynamicFacetableOption: typing.Literal[ "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", "DYNAMIC_FACETABLE_ENABLED", "DYNAMIC_FACETABLE_DISABLED", ] fieldPath: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "FIELD_TYPE_UNSPECIFIED", "OBJECT", "STRING", @@ -6273,19 +6194,19 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "GEOLOCATION", "DATETIME", ] - indexableOption: typing_extensions.Literal[ + indexableOption: typing.Literal[ "INDEXABLE_OPTION_UNSPECIFIED", "INDEXABLE_ENABLED", "INDEXABLE_DISABLED" ] keyPropertyType: str metatagName: str - recsFilterableOption: typing_extensions.Literal[ + recsFilterableOption: typing.Literal[ "FILTERABLE_OPTION_UNSPECIFIED", "FILTERABLE_ENABLED", "FILTERABLE_DISABLED" ] - retrievableOption: typing_extensions.Literal[ + retrievableOption: typing.Literal[ "RETRIEVABLE_OPTION_UNSPECIFIED", "RETRIEVABLE_ENABLED", "RETRIEVABLE_DISABLED" ] schemaOrgPaths: _list[str] - searchableFieldImportance: typing_extensions.Literal[ + searchableFieldImportance: typing.Literal[ "SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED", "VERY_LOW_IMPORTANCE", "LOW_IMPORTANCE", @@ -6293,26 +6214,24 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "HIGH_IMPORTANCE", "VERY_HIGH_IMPORTANCE", ] - searchableOption: typing_extensions.Literal[ + searchableOption: typing.Literal[ "SEARCHABLE_OPTION_UNSPECIFIED", "SEARCHABLE_ENABLED", "SEARCHABLE_DISABLED" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGetSessionRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaGetSessionRequest(typing.TypedDict, total=False): includeAnswerDetails: bool name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentDataMap: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool @@ -6320,7 +6239,7 @@ class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str @@ -6328,27 +6247,25 @@ class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextSyncTime: GoogleTypeDateTime refreshInterval: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaIdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaIdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6357,14 +6274,14 @@ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6374,26 +6291,24 @@ class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6403,21 +6318,21 @@ class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -6425,7 +6340,7 @@ class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6434,7 +6349,7 @@ class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -6442,27 +6357,21 @@ class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaLanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaLanguageInfo(typing.TypedDict, total=False): language: str languageCode: str normalizedLanguageCode: str region: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaLicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaLicenseConfig(typing.TypedDict, total=False): alertPolicyResourceConfig: ( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) @@ -6472,10 +6381,11 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -6483,14 +6393,14 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -6506,11 +6416,12 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str orderBy: str @@ -6520,27 +6431,27 @@ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessions: _list[GoogleCloudDiscoveryengineV1alphaSession] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObservabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries @@ -6549,18 +6460,18 @@ class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( organicCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries ) - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str filtersAddedCount: str @@ -6568,9 +6479,7 @@ class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaProject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaProject(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus ) @@ -6584,7 +6493,7 @@ class GoogleCloudDiscoveryengineV1alphaProject( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -6595,26 +6504,26 @@ class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig @@ -6622,7 +6531,7 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -6631,57 +6540,57 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeSucceeded: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6691,28 +6600,28 @@ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str purgeSample: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6721,14 +6630,12 @@ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQualityMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaQualityMetrics(typing.TypedDict, total=False): docNdcg: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics docPrecision: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics docRecall: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics @@ -6737,7 +6644,7 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): top1: float top10: float @@ -6745,16 +6652,14 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( top5: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaQuery(typing.TypedDict, total=False): createTime: str parts: _list[GoogleCloudDiscoveryengineV1alphaQueryPart] queryId: str text: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQueryPart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaQueryPart(typing.TypedDict, total=False): documentReference: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference driveDocumentReference: ( GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference @@ -6766,7 +6671,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPart( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayTitle: str @@ -6777,7 +6682,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayTitle: str @@ -6788,7 +6693,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayName: str @@ -6800,7 +6705,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str invalidUris: _list[str] @@ -6817,7 +6722,7 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedUris: _list[str] failureSamples: _list[ @@ -6826,7 +6731,7 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureReasons: _list[ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason @@ -6835,47 +6740,50 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - corpusType: typing_extensions.Literal[ - "CORPUS_TYPE_UNSPECIFIED", "DESKTOP", "MOBILE" - ] + corpusType: typing.Literal["CORPUS_TYPE_UNSPECIFIED", "DESKTOP", "MOBILE"] errorMessage: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSafetyRating( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata( + typing.TypedDict, total=False ): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -6883,11 +6791,11 @@ class GoogleCloudDiscoveryengineV1alphaSafetyRating( "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -6897,7 +6805,7 @@ class GoogleCloudDiscoveryengineV1alphaSafetyRating( severityScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaSchema(typing.TypedDict, total=False): fieldConfigs: _list[GoogleCloudDiscoveryengineV1alphaFieldConfig] jsonSchema: str name: str @@ -6905,7 +6813,7 @@ class GoogleCloudDiscoveryengineV1alphaSchema(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str document: str @@ -6915,9 +6823,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec branch: str canonicalFilter: str @@ -6950,7 +6856,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec rankingExpression: str - rankingExpressionBackend: typing_extensions.Literal[ + rankingExpressionBackend: typing.Literal[ "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", "BYOE", "CLEARBOX", @@ -6962,7 +6868,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool @@ -6983,7 +6889,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec @@ -6991,7 +6897,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec @@ -6999,33 +6905,31 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec extractiveContentSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: ( @@ -7037,14 +6941,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -7054,7 +6958,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveC @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -7062,7 +6966,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -7078,21 +6982,21 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -7101,23 +7005,23 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str maxCount: int - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressionsToPrecompute: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec customSearchOperators: str @@ -7127,9 +7031,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchHighlightingCondition: typing_extensions.Literal[ + matchHighlightingCondition: typing.Literal[ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", "MATCH_HIGHLIGHTING_DISABLED", "MATCH_HIGHLIGHTING_ENABLED", @@ -7137,7 +7041,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingVectors: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector @@ -7145,14 +7049,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldPath: str vector: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableDynamicPosition: bool excludedFilterKeys: _list[str] @@ -7161,7 +7065,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -7173,61 +7077,61 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageBytes: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedFieldNames: _list[str] - extractedFilterBehavior: typing_extensions.Literal[ + extractedFilterBehavior: typing.Literal[ "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" ] - filterExtractionCondition: typing_extensions.Literal[ + filterExtractionCondition: typing.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] geoSearchQueryDetectionFieldNames: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] semanticRelevanceThreshold: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRelevanceScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableGenerativeAnswerAddOn: bool disableKpiPersonalizationAddOn: bool @@ -7235,29 +7139,25 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryId: str searchResultPersistenceCount: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSession( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSession(typing.TypedDict, total=False): displayName: str endTime: str isPinned: bool @@ -7265,14 +7165,12 @@ class GoogleCloudDiscoveryengineV1alphaSession( name: str pendingAsyncAssistOperationId: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] turns: _list[GoogleCloudDiscoveryengineV1alphaSessionTurn] userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSessionTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSessionTurn(typing.TypedDict, total=False): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer @@ -7282,66 +7180,73 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - siteVerificationState: typing_extensions.Literal[ + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSitemap( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTargetSite( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata( + typing.TypedDict, total=False ): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentRequest( + typing.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaTargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -7354,37 +7259,37 @@ class GoogleCloudDiscoveryengineV1alphaTargetSite( providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTenant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaTenant(typing.TypedDict, total=False): displayName: str id: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -7394,54 +7299,52 @@ class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engine: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTuneEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): session: GoogleCloudDiscoveryengineV1alphaSession updateMask: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserInfo(typing.TypedDict, total=False): preciseLocation: GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation timeZone: str userAgent: str @@ -7449,18 +7352,16 @@ class GoogleCloudDiscoveryengineV1alphaUserInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str point: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserLicense( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -7474,13 +7375,11 @@ class GoogleCloudDiscoveryengineV1alphaUserLicense( userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -7490,25 +7389,24 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAclConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1betaIdpConfig name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAgentGatewaySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference @@ -7516,26 +7414,26 @@ class GoogleCloudDiscoveryengineV1betaAgentGatewaySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -7544,28 +7442,26 @@ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCmekConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1betaSingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -7579,29 +7475,23 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCondition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1betaConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1betaConditionQueryTerm] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1betaControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1betaCondition] @@ -7610,7 +7500,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total name: str promoteAction: GoogleCloudDiscoveryengineV1betaControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1betaControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -7620,7 +7510,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total ] synonymsAction: GoogleCloudDiscoveryengineV1betaControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -7628,9 +7518,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaControlBoostAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaControlBoostAction(typing.TypedDict, total=False): boost: float dataStore: str filter: str @@ -7641,113 +7529,109 @@ class GoogleCloudDiscoveryengineV1betaControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlFilterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlPromoteAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1betaSearchLinkPromotion @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlRedirectAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): redirectUri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlSynonymsAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): synonyms: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qpsTimeSeries: GoogleMonitoringV3TimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDataStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -7763,7 +7647,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ) healthcareFhirConfig: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig identityMappingStore: str - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -7777,7 +7661,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore ) solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -7791,7 +7675,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -7802,7 +7686,7 @@ class GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig @@ -7814,7 +7698,7 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -7822,15 +7706,15 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -7843,26 +7727,26 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries @@ -7871,61 +7755,61 @@ class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: ( GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig @@ -7938,20 +7822,20 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -7959,12 +7843,12 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -7977,33 +7861,33 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaEngine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1betaAgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -8013,11 +7897,11 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -8032,7 +7916,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig procurementContactEmails: _list[str] searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -8044,7 +7928,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentCreationConfig: ( GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig @@ -8054,7 +7938,7 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -8063,19 +7947,17 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaEngineCommonConfig(typing.TypedDict, total=False): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -8087,7 +7969,7 @@ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -8096,47 +7978,45 @@ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -8152,18 +8032,17 @@ class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaEvaluation(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -8171,26 +8050,26 @@ class GoogleCloudDiscoveryengineV1betaEvaluation( evaluationSpec: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec name: str qualityMetrics: GoogleCloudDiscoveryengineV1betaQualityMetrics - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySetSpec: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec searchRequest: GoogleCloudDiscoveryengineV1betaSearchRequest @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQuerySet: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool @@ -8198,28 +8077,26 @@ class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaIdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaIdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8228,14 +8105,14 @@ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8245,26 +8122,24 @@ class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8274,21 +8149,21 @@ class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -8296,7 +8171,7 @@ class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8305,7 +8180,7 @@ class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -8313,37 +8188,32 @@ class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaLanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaLanguageInfo(typing.TypedDict, total=False): language: str languageCode: str normalizedLanguageCode: str region: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaLicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaLicenseConfig(typing.TypedDict, total=False): autoRenew: bool earlyTerminated: bool earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -8351,14 +8221,14 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -8374,24 +8244,25 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObservabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries @@ -8400,17 +8271,17 @@ class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( organicCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries ) - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaProject(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus ) @@ -8424,7 +8295,7 @@ class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -8435,26 +8306,26 @@ class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig @@ -8462,7 +8333,7 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -8471,43 +8342,43 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectServiceTerms( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8517,29 +8388,27 @@ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str purgeSample: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaQualityMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaQualityMetrics(typing.TypedDict, total=False): docNdcg: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics docPrecision: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics docRecall: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics @@ -8548,7 +8417,7 @@ class GoogleCloudDiscoveryengineV1betaQualityMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): top1: float top10: float @@ -8557,27 +8426,27 @@ class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaSchema(typing.TypedDict, total=False): jsonSchema: str name: str structSchema: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str document: str @@ -8587,9 +8456,7 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec branch: str canonicalFilter: str @@ -8621,7 +8488,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str - rankingExpressionBackend: typing_extensions.Literal[ + rankingExpressionBackend: typing.Literal[ "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", "BYOE", "CLEARBOX", @@ -8633,7 +8500,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool @@ -8653,7 +8520,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec @@ -8661,7 +8528,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec @@ -8669,33 +8536,31 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec extractiveContentSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: ( @@ -8707,14 +8572,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -8724,7 +8589,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveCo @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -8732,7 +8597,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -8748,21 +8613,21 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -8771,23 +8636,23 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str maxCount: int - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressionsToPrecompute: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec customSearchOperators: str @@ -8797,9 +8662,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchHighlightingCondition: typing_extensions.Literal[ + matchHighlightingCondition: typing.Literal[ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", "MATCH_HIGHLIGHTING_DISABLED", "MATCH_HIGHLIGHTING_ENABLED", @@ -8807,7 +8672,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingVectors: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector @@ -8815,14 +8680,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldPath: str vector: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableDynamicPosition: bool excludedFilterKeys: _list[str] @@ -8831,7 +8696,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -8843,61 +8708,61 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageBytes: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedFieldNames: _list[str] - extractedFilterBehavior: typing_extensions.Literal[ + extractedFilterBehavior: typing.Literal[ "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" ] - filterExtractionCondition: typing_extensions.Literal[ + filterExtractionCondition: typing.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] geoSearchQueryDetectionFieldNames: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] semanticRelevanceThreshold: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRelevanceScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableGenerativeAnswerAddOn: bool disableKpiPersonalizationAddOn: bool @@ -8905,68 +8770,62 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryId: str searchResultPersistenceCount: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - siteVerificationState: typing_extensions.Literal[ + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSitemap(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaSitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTargetSite( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -8979,31 +8838,31 @@ class GoogleCloudDiscoveryengineV1betaTargetSite( providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1betaSiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -9012,34 +8871,30 @@ class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse( modelStatus: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata(typing.TypedDict, total=False): engine: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTuneEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserInfo(typing.TypedDict, total=False): preciseLocation: GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation timeZone: str userAgent: str @@ -9047,18 +8902,16 @@ class GoogleCloudDiscoveryengineV1betaUserInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str point: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserLicense( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -9072,9 +8925,7 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserStore(typing.TypedDict, total=False): defaultLicenseConfig: str displayName: str enableExpiredLicenseAutoUpdate: bool @@ -9082,13 +8933,11 @@ class GoogleCloudDiscoveryengineV1betaUserStore( name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaWorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -9098,37 +8947,36 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -9136,27 +8984,27 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleMonitoringV3Point(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3Point(typing.TypedDict, total=False): interval: GoogleMonitoringV3TimeInterval value: GoogleMonitoringV3TypedValue @typing.type_check_only -class GoogleMonitoringV3TimeInterval(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TimeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleMonitoringV3TimeSeries(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TimeSeries(typing.TypedDict, total=False): description: str metadata: GoogleApiMonitoredResourceMetadata metric: GoogleApiMetric - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] points: _list[GoogleMonitoringV3Point] resource: GoogleApiMonitoredResource unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -9167,7 +9015,7 @@ class GoogleMonitoringV3TimeSeries(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleMonitoringV3TypedValue(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TypedValue(typing.TypedDict, total=False): boolValue: bool distributionValue: GoogleApiDistribution doubleValue: float @@ -9175,22 +9023,22 @@ class GoogleMonitoringV3TypedValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -9202,18 +9050,18 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi index 308e956fb..6e35f7383 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -261,11 +260,11 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): *, name: str, imageId: str | None = ..., - processedDocumentFormat: typing_extensions.Literal[ + processedDocumentFormat: typing.Literal[ "PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED", "JSON" ] | None = ..., - processedDocumentType: typing_extensions.Literal[ + processedDocumentType: typing.Literal[ "PROCESSED_DOCUMENT_TYPE_UNSPECIFIED", "PARSED_DOCUMENT", "CHUNKED_DOCUMENT", @@ -363,7 +362,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BRANCH_VIEW_UNSPECIFIED", "BRANCH_VIEW_BASIC", "BRANCH_VIEW_FULL", @@ -375,7 +374,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, parent: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BRANCH_VIEW_UNSPECIFIED", "BRANCH_VIEW_BASIC", "BRANCH_VIEW_FULL", @@ -1035,6 +1034,10 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): getWidgetConfigRequestOption_turnOffCollectionComponents: bool | None = ..., languageCode: str | None = ..., + modelInfoView: typing.Literal[ + "MODEL_INFO_VIEW_UNSPECIFIED", "END_USER_WEB", "ADMIN" + ] + | None = ..., **kwargs: typing.Any, ) -> ( GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest @@ -1090,7 +1093,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing.Literal[ + "DATA_STORE_VIEW_UNSPECIFIED", + "DATA_STORE_VIEW_BASIC", + "DATA_STORE_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaDataStoreHttpRequest: ... def getCompletionConfig( self, *, name: str, **kwargs: typing.Any @@ -1112,6 +1124,12 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., + view: typing.Literal[ + "DATA_STORE_VIEW_UNSPECIFIED", + "DATA_STORE_VIEW_BASIC", + "DATA_STORE_VIEW_FULL", + ] + | None = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaListDataStoresResponseHttpRequest: ... def list_next( @@ -1621,6 +1639,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.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 +1687,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 @@ -1725,6 +1843,10 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): getWidgetConfigRequestOption_turnOffCollectionComponents: bool | None = ..., languageCode: str | None = ..., + modelInfoView: typing.Literal[ + "MODEL_INFO_VIEW_UNSPECIFIED", "END_USER_WEB", "ADMIN" + ] + | None = ..., **kwargs: typing.Any, ) -> ( GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest @@ -1963,11 +2085,11 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): *, name: str, imageId: str | None = ..., - processedDocumentFormat: typing_extensions.Literal[ + processedDocumentFormat: typing.Literal[ "PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED", "JSON" ] | None = ..., - processedDocumentType: typing_extensions.Literal[ + processedDocumentType: typing.Literal[ "PROCESSED_DOCUMENT_TYPE_UNSPECIFIED", "PARSED_DOCUMENT", "CHUNKED_DOCUMENT", @@ -2062,7 +2184,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BRANCH_VIEW_UNSPECIFIED", "BRANCH_VIEW_BASIC", "BRANCH_VIEW_FULL", @@ -2074,7 +2196,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, parent: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BRANCH_VIEW_UNSPECIFIED", "BRANCH_VIEW_BASIC", "BRANCH_VIEW_FULL", @@ -2607,6 +2729,10 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): getWidgetConfigRequestOption_turnOffCollectionComponents: bool | None = ..., languageCode: str | None = ..., + modelInfoView: typing.Literal[ + "MODEL_INFO_VIEW_UNSPECIFIED", "END_USER_WEB", "ADMIN" + ] + | None = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest: ... def patch( @@ -2660,7 +2786,16 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing.Literal[ + "DATA_STORE_VIEW_UNSPECIFIED", + "DATA_STORE_VIEW_BASIC", + "DATA_STORE_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaDataStoreHttpRequest: ... def getCompletionConfig( self, *, name: str, **kwargs: typing.Any @@ -2680,6 +2815,12 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., + view: typing.Literal[ + "DATA_STORE_VIEW_UNSPECIFIED", + "DATA_STORE_VIEW_BASIC", + "DATA_STORE_VIEW_FULL", + ] + | None = ..., **kwargs: typing.Any, ) -> ( GoogleCloudDiscoveryengineV1alphaListDataStoresResponseHttpRequest @@ -3233,6 +3374,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, *, @@ -3280,7 +3428,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, parent: str, - entityTypeFilter: typing_extensions.Literal[ + entityTypeFilter: typing.Literal[ "ENTITY_TYPE_FILTER_UNSPECIFIED", "USERS", "GROUPS" ] | None = ..., @@ -3311,12 +3459,19 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponseHttpRequest ): ... + def provision( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def queryConfigurablePricingUsageStats( self, *, project: str, location: str, - metricTypes: typing_extensions.Literal[ + metricTypes: typing.Literal[ "BILLING_METRIC_TYPE_UNSPECIFIED", "DAILY_MDN_QPM", "DAILY_MIN_QPM", @@ -3325,7 +3480,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): "TOTAL_STORAGE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "BILLING_METRIC_TYPE_UNSPECIFIED", "DAILY_MDN_QPM", "DAILY_MIN_QPM", @@ -3497,6 +3652,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 +3682,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 +3992,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 +4082,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 +4554,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..6dfba7472 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleApiDistribution(typing_extensions.TypedDict, total=False): +class GoogleApiDistribution(typing.TypedDict, total=False): bucketCounts: _list[str] bucketOptions: GoogleApiDistributionBucketOptions count: str @@ -15,68 +13,62 @@ class GoogleApiDistribution(typing_extensions.TypedDict, total=False): sumOfSquaredDeviation: float @typing.type_check_only -class GoogleApiDistributionBucketOptions(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionBucketOptions(typing.TypedDict, total=False): explicitBuckets: GoogleApiDistributionBucketOptionsExplicit exponentialBuckets: GoogleApiDistributionBucketOptionsExponential linearBuckets: GoogleApiDistributionBucketOptionsLinear @typing.type_check_only -class GoogleApiDistributionBucketOptionsExplicit( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsExplicit(typing.TypedDict, total=False): bounds: _list[float] @typing.type_check_only -class GoogleApiDistributionBucketOptionsExponential( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsExponential(typing.TypedDict, total=False): growthFactor: float numFiniteBuckets: int scale: float @typing.type_check_only -class GoogleApiDistributionBucketOptionsLinear( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsLinear(typing.TypedDict, total=False): numFiniteBuckets: int offset: float width: float @typing.type_check_only -class GoogleApiDistributionExemplar(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionExemplar(typing.TypedDict, total=False): attachments: _list[dict[str, typing.Any]] timestamp: str value: float @typing.type_check_only -class GoogleApiDistributionRange(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionRange(typing.TypedDict, total=False): max: float min: float @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleApiMetric(typing_extensions.TypedDict, total=False): +class GoogleApiMetric(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class GoogleApiMonitoredResource(typing_extensions.TypedDict, total=False): +class GoogleApiMonitoredResource(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class GoogleApiMonitoredResourceMetadata(typing_extensions.TypedDict, total=False): +class GoogleApiMonitoredResourceMetadata(typing.TypedDict, total=False): systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectorRun: str dataConnector: str @@ -87,16 +79,12 @@ class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( syncType: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingErrorContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingErrorContext(typing.TypedDict, total=False): httpRequest: GoogleCloudDiscoveryengineLoggingHttpRequestContext reportLocation: GoogleCloudDiscoveryengineLoggingSourceLocation @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingErrorLog( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingErrorLog(typing.TypedDict, total=False): connectorRunPayload: GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext context: GoogleCloudDiscoveryengineLoggingErrorContext importPayload: GoogleCloudDiscoveryengineLoggingImportErrorContext @@ -108,13 +96,13 @@ class GoogleCloudDiscoveryengineLoggingErrorLog( @typing.type_check_only class GoogleCloudDiscoveryengineLoggingHttpRequestContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseStatusCode: int @typing.type_check_only class GoogleCloudDiscoveryengineLoggingImportErrorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str gcsPath: str @@ -123,26 +111,20 @@ class GoogleCloudDiscoveryengineLoggingImportErrorContext( userEvent: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingServiceContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingServiceContext(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingSourceLocation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingSourceLocation(typing.TypedDict, total=False): functionName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AclConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1AclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1IdpConfig name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ActionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ActionConfig(typing.TypedDict, total=False): actionParams: dict[str, typing.Any] createBapConnection: bool isActionConfigured: bool @@ -152,36 +134,30 @@ class GoogleCloudDiscoveryengineV1ActionConfig( userDefinedScopesMapping: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ActionConfigScopeList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ActionConfigScopeList(typing.TypedDict, total=False): scopes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1AgentGatewaySetting( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AgentGatewaySetting(typing.TypedDict, total=False): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference ) @typing.type_check_only class GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AlertPolicyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AlertPolicyConfig(typing.TypedDict, total=False): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment ] @@ -189,24 +165,20 @@ class GoogleCloudDiscoveryengineV1AlertPolicyConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerGenerationSpec(typing.TypedDict, total=False): userDefinedClassifierSpec: ( GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec ) @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableUserDefinedClassifier: bool modelId: str @@ -218,7 +190,7 @@ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( topP: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Assistant(typing.TypedDict, total=False): createTime: str customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy defaultWebGroundingToggleOff: bool @@ -228,7 +200,7 @@ class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=F generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig name: str updateTime: str - webGroundingType: typing_extensions.Literal[ + webGroundingType: typing.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", "WEB_GROUNDING_TYPE_DISABLED", "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", @@ -237,7 +209,7 @@ class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[ GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase @@ -248,10 +220,10 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreDiacritics: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", "SIMPLE_STRING_MATCH", "WORD_BOUNDARY_STRING_MATCH", @@ -260,17 +232,15 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - failureMode: typing_extensions.Literal[ - "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" - ] + failureMode: typing.Literal["FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED"] responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedModelIds: _list[str] defaultLanguage: str @@ -281,28 +251,24 @@ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSystemInstruction: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantToolInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantToolInfo(typing.TypedDict, total=False): toolDisplayName: str toolName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantToolList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantToolList(typing.TypedDict, total=False): toolInfo: _list[GoogleCloudDiscoveryengineV1AssistantToolInfo] @typing.type_check_only -class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1BAPConfig(typing.TypedDict, total=False): enabledActions: _list[str] supportedConnectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -313,27 +279,27 @@ class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1BAPConfigToolspecOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseVersion: str tools: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -342,30 +308,30 @@ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CliConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1CliConfig(typing.TypedDict, total=False): enabledActions: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1CmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1SingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -379,33 +345,29 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1Collection(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Collection(typing.TypedDict, total=False): createTime: str displayName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Condition(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Condition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1ConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1ConditionQueryTerm] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Control(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1ControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1Condition] @@ -414,7 +376,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal name: str promoteAction: GoogleCloudDiscoveryengineV1ControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1ControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -424,7 +386,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal ] synonymsAction: GoogleCloudDiscoveryengineV1ControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -432,9 +394,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlBoostAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlBoostAction(typing.TypedDict, total=False): boost: float dataStore: str filter: str @@ -445,94 +405,76 @@ class GoogleCloudDiscoveryengineV1ControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlFilterAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlFilterAction(typing.TypedDict, total=False): dataStore: str filter: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlPromoteAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlPromoteAction(typing.TypedDict, total=False): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1SearchLinkPromotion @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlRedirectAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlRedirectAction(typing.TypedDict, total=False): redirectUri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlSynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlSynonymsAction(typing.TypedDict, total=False): synonyms: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateEngineMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateSitemapMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DataConnector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DataConnector(typing.TypedDict, total=False): aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1ActionConfig - actionState: typing_extensions.Literal[ + actionState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -546,7 +488,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( autoRunDisabled: bool bapConfig: GoogleCloudDiscoveryengineV1BAPConfig blockingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", @@ -555,7 +497,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] cliConfig: GoogleCloudDiscoveryengineV1CliConfig connectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -565,7 +507,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] ] connectorSourceId: str - connectorType: typing_extensions.Literal[ + connectorType: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", "GCP_FHIR", @@ -602,11 +544,13 @@ class GoogleCloudDiscoveryengineV1DataConnector( kmsKeyName: str lastSyncTime: str latestPauseTime: str + metadata: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str - realtimeState: typing_extensions.Literal[ + realtimeState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -619,7 +563,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( realtimeSyncConfig: GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig refreshInterval: str removeParamKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -631,13 +575,24 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + syncMode: typing.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + tag: str updateTime: str vpcscEnabled: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata( + typing.TypedDict, total=False +): + author: str + description: str + note: str + shortDescription: str + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -646,7 +601,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -654,7 +609,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): realtimeSyncSecret: str streamingError: ( @@ -664,10 +619,10 @@ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - streamingErrorReason: typing_extensions.Literal[ + streamingErrorReason: typing.Literal[ "STREAMING_ERROR_REASON_UNSPECIFIED", "STREAMING_SETUP_ERROR", "STREAMING_SYNC_ERROR", @@ -676,7 +631,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str entityName: str @@ -687,18 +642,18 @@ class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( startingSchema: GoogleCloudDiscoveryengineV1Schema @typing.type_check_only -class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1DataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -712,7 +667,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F federatedSearchConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig identityMappingStore: str - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -723,7 +678,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F ) servingConfigDataStore: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -737,7 +692,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -748,7 +703,7 @@ class GoogleCloudDiscoveryengineV1DataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig @@ -762,7 +717,7 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -770,15 +725,15 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -791,83 +746,75 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAll @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteEngineMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudDiscoveryengineV1DestinationConfigDestination] jsonParams: str key: str @@ -875,26 +822,26 @@ class GoogleCloudDiscoveryengineV1DestinationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DestinationConfigDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig defaultParsingConfig: ( @@ -905,20 +852,20 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -926,12 +873,12 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -944,13 +891,13 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1DynamicTool(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1DynamicTool(typing.TypedDict, total=False): description: str displayName: str enabled: bool @@ -958,26 +905,26 @@ class GoogleCloudDiscoveryengineV1DynamicTool(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Engine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1AgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -987,11 +934,11 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -1006,7 +953,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig procurementContactEmails: _list[str] searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1017,9 +964,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1EngineChatEngineConfig(typing.TypedDict, total=False): agentCreationConfig: ( GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig ) @@ -1028,7 +973,7 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -1037,19 +982,17 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1EngineCommonConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1EngineCommonConfig(typing.TypedDict, total=False): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -1059,7 +1002,7 @@ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -1068,47 +1011,45 @@ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -1124,51 +1065,48 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1HealthcareFhirConfig(typing.TypedDict, total=False): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdentityScheduleConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1IdentityScheduleConfig(typing.TypedDict, total=False): nextSyncTime: GoogleTypeDateTime refreshInterval: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdpConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1IdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -1177,14 +1115,14 @@ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -1194,33 +1132,31 @@ class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -1228,7 +1164,7 @@ class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -1237,7 +1173,7 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -1245,19 +1181,18 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1LicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1LicenseConfig(typing.TypedDict, total=False): autoRenew: bool earlyTerminated: bool earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -1265,14 +1200,14 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -1288,23 +1223,22 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ObservabilityConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ObservabilityConfig(typing.TypedDict, total=False): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Project(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus ) @@ -1316,7 +1250,7 @@ class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -1327,26 +1261,26 @@ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig @@ -1354,7 +1288,7 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -1363,58 +1297,54 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ProjectServiceTerms( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ProjectServiceTerms(typing.TypedDict, total=False): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeSucceeded: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str ignoredCount: str @@ -1422,36 +1352,32 @@ class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Schema(typing.TypedDict, total=False): jsonSchema: str name: str structSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchLinkPromotion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchLinkPromotion(typing.TypedDict, total=False): description: str document: str enabled: bool @@ -1461,13 +1387,13 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec extractiveContentSpec: ( GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec ) - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec @@ -1475,14 +1401,14 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -1492,7 +1418,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveConten @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -1500,7 +1426,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -1517,20 +1443,18 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ServingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ServingConfig(typing.TypedDict, total=False): answerGenerationSpec: GoogleCloudDiscoveryengineV1AnswerGenerationSpec boostControlIds: _list[str] createTime: str @@ -1548,7 +1472,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( rankingExpression: str redirectControlIds: _list[str] replacementControlIds: _list[str] - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1561,13 +1485,13 @@ class GoogleCloudDiscoveryengineV1ServingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ServingConfigGenericConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSearchSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentFreshnessCutoffDays: int contentWatchedPercentageThreshold: float @@ -1577,36 +1501,32 @@ class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1SingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SiteVerificationInfo( - typing_extensions.TypedDict, total=False -): - siteVerificationState: typing_extensions.Literal[ +class GoogleCloudDiscoveryengineV1SiteVerificationInfo(typing.TypedDict, total=False): + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Sitemap(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Sitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1TargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1TargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -1619,37 +1539,37 @@ class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total= providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1SiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Tenant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Tenant(typing.TypedDict, total=False): displayName: str id: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -1659,30 +1579,28 @@ class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -1696,7 +1614,7 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserStore(typing.TypedDict, total=False): defaultLicenseConfig: str displayName: str enableExpiredLicenseAutoUpdate: bool @@ -1704,13 +1622,11 @@ class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=F name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1WorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1WorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -1720,11 +1636,12 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudMarketplaceConfig: ( GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig @@ -1733,36 +1650,44 @@ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entitlement: str order: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAclConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: str scope: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: str refreshTokenInfo: GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaActionConfig( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest( + typing.TypedDict, total=False ): + desiredProgramsCount: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse( + typing.TypedDict, total=False +): + programs: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaActionConfig(typing.TypedDict, total=False): actionParams: dict[str, typing.Any] createBapConnection: bool isActionConfigured: bool @@ -1773,20 +1698,20 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaActionConfigScopeList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scopes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): provisionedReasoningEngine: ( GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine @@ -1794,13 +1719,13 @@ class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): reasoningEngine: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec experimentIds: _list[str] @@ -1811,7 +1736,7 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest( GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec ] suggestionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", "QUERY", "PEOPLE", @@ -1825,7 +1750,7 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec @@ -1833,17 +1758,17 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float condition: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSuggestions: int - suggestionType: typing_extensions.Literal[ + suggestionType: typing.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", "QUERY", "PEOPLE", @@ -1854,7 +1779,7 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTyp @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSuggestions: _list[ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion @@ -1872,9 +1797,9 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "GOOGLE_WORKSPACE", "THIRD_PARTY" ] dataStore: str @@ -1886,21 +1811,24 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSugge @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str destinationUri: str displayPhotoUri: str document: GoogleCloudDiscoveryengineV1alphaDocument - personType: typing_extensions.Literal[ - "PERSON_TYPE_UNSPECIFIED", "CLOUD_IDENTITY", "THIRD_PARTY_IDENTITY" + personType: typing.Literal[ + "PERSON_TYPE_UNSPECIFIED", + "CLOUD_IDENTITY", + "THIRD_PARTY_IDENTITY", + "GOOGLE_GROUP", ] score: float suggestion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completableFieldPaths: _list[str] dataStore: _list[str] @@ -1909,7 +1837,7 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggest @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSearchTime: str score: float @@ -1917,17 +1845,18 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearch @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAgent(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaAgent(typing.TypedDict, total=False): a2aAgentDefinition: GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition adkAgentDefinition: GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition authorizationConfig: GoogleCloudDiscoveryengineV1alphaAuthorizationConfig createTime: str + creationFailureReason: str customPlaceholderText: str deploymentFailureReason: str description: str @@ -1943,7 +1872,7 @@ class GoogleCloudDiscoveryengineV1alphaAgent(typing_extensions.TypedDict, total= rejectionReason: str sharingConfig: GoogleCloudDiscoveryengineV1alphaAgentSharingConfig starterPrompts: _list[GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIGURED", "DEPLOYING", @@ -1953,21 +1882,20 @@ class GoogleCloudDiscoveryengineV1alphaAgent(typing_extensions.TypedDict, total= "ENABLED", "SUSPENDED", "CREATING", + "CREATION_FAILED", ] suspensionReason: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAgentFile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAgentFile(typing.TypedDict, total=False): fileName: str mimeType: str name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference @@ -1975,33 +1903,29 @@ class GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAgentImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAgentImage(typing.TypedDict, total=False): content: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentSharingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "RESTRICTED", "ALL_USERS"] + scope: typing.Literal["SCOPE_UNSPECIFIED", "RESTRICTED", "ALL_USERS"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): text: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig(typing.TypedDict, total=False): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment ] @@ -2009,16 +1933,14 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment @@ -2030,18 +1952,14 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED"] notificationParams: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAlloyDbSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAlloyDbSource(typing.TypedDict, total=False): clusterId: str databaseId: str gcsStagingDir: str @@ -2050,16 +1968,173 @@ class GoogleCloudDiscoveryengineV1alphaAlloyDbSource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnalyticsConfig( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights( + typing.TypedDict, total=False ): + insights: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight( + typing.TypedDict, total=False +): + label: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores( + typing.TypedDict, total=False +): + scores: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore( + typing.TypedDict, total=False +): + metric: str + score: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment( + typing.TypedDict, total=False +): + config: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig + createTime: str + initialAlphaEvolveProgram: str + name: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "CREATED", "RUNNING", "PAUSED", "COMPLETED", "FAILED" + ] + stats: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig( + typing.TypedDict, total=False +): + evolutionSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings + ) + generationSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings + ) + problemDescription: str + programLanguage: str + runSettings: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings( + typing.TypedDict, total=False +): + parentSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig( + typing.TypedDict, total=False +): + paretoSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig( + typing.TypedDict, total=False +): + paretoSamplingProbability: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings( + typing.TypedDict, total=False +): + context: str + includeFullProgramInPrompt: bool + models: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig( + typing.TypedDict, total=False +): + name: str + weight: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings( + typing.TypedDict, total=False +): + concurrency: int + maxDuration: str + maxPrograms: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats( + typing.TypedDict, total=False +): + candidatesCount: int + evaluatedCandidatesCount: int + inputTokenCount: str + outputTokenCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram( + typing.TypedDict, total=False +): + content: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent + createTime: str + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + name: str + parentPrograms: _list[str] + state: typing.Literal[ + "PROGRAM_STATE_UNSPECIFIED", + "INITIALIZED", + "GENERATING", + "EVALUATING", + "COMPLETED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent( + typing.TypedDict, total=False +): + description: str + files: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation( + typing.TypedDict, total=False +): + insights: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights + scores: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission( + typing.TypedDict, total=False +): + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + program: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile( + typing.TypedDict, total=False +): + content: str + description: str + path: str + programLanguage: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnalyticsConfig(typing.TypedDict, total=False): name: str userLevelMetricsEnabled: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaAnswer(typing.TypedDict, total=False): answerSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ANSWER_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_ANSWER_SEEKING_QUERY_IGNORED", @@ -2088,44 +2163,42 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total references: _list[GoogleCloudDiscoveryengineV1alphaAnswerReference] relatedQuestions: _list[str] safetyRatings: _list[GoogleCloudDiscoveryengineV1alphaSafetyRating] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "STREAMING" ] steps: _list[GoogleCloudDiscoveryengineV1alphaAnswerStep] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionType: typing_extensions.Literal[ + attributionType: typing.Literal[ "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" ] data: GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerCitation(typing.TypedDict, total=False): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1alphaAnswerCitationSource] startIndex: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerCitationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userDefinedClassifierSpec: ( GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifierSpec @@ -2133,7 +2206,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifierSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableUserDefinedClassifier: bool modelId: str @@ -2146,7 +2219,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpecUserDefinedClassifier @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingCheckRequired: bool @@ -2156,7 +2229,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerGenerationSpec: ( GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec @@ -2179,7 +2252,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerLanguageCode: str ignoreAdversarialQuery: bool @@ -2195,15 +2268,15 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelVersion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -2212,13 +2285,13 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMul @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endUserMetadata: _list[ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData @@ -2226,35 +2299,35 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str documentMetadata: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - filteringLevel: typing_extensions.Literal[ + filteringLevel: typing.Literal[ "FILTERING_LEVEL_UNSPECIFIED", "FILTERING_LEVEL_LOW", "FILTERING_LEVEL_HIGH" ] includeGroundingSupports: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableSpellCorrection: bool queryClassificationSpec: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec @@ -2262,10 +2335,10 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): types: _list[ - typing_extensions.Literal[ + typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -2277,7 +2350,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQ @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disable: bool maxRephraseSteps: int @@ -2285,19 +2358,19 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQ @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "SMALL", "LARGE"] + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "SMALL", "LARGE"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool safetySettings: _list[ @@ -2306,9 +2379,9 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -2316,7 +2389,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - threshold: typing_extensions.Literal[ + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -2327,7 +2400,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchParams: ( GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams @@ -2338,7 +2411,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec @@ -2347,13 +2420,13 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchParams( maxReturnResults: int naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec orderBy: str - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResult @@ -2361,14 +2434,14 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultL @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo unstructuredDocumentInfo: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -2376,14 +2449,14 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultL @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str documentContexts: _list[ @@ -2400,28 +2473,28 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultL @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: GoogleCloudDiscoveryengineV1alphaAnswer answerQueryToken: str @@ -2429,7 +2502,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryClassificationInfo: _list[ GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo @@ -2437,10 +2510,10 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): positive: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -2450,9 +2523,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerReference(typing.TypedDict, total=False): chunkInfo: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo structuredDocumentInfo: ( GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo @@ -2463,7 +2534,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] chunk: str @@ -2475,7 +2546,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str pageIdentifier: str @@ -2485,7 +2556,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str structData: dict[str, typing.Any] @@ -2494,7 +2565,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent @@ -2506,7 +2577,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] content: str @@ -2514,26 +2585,20 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoCh relevanceScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStep( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerStep(typing.TypedDict, total=False): actions: _list[GoogleCloudDiscoveryengineV1alphaAnswerStepAction] description: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED"] thought: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerStepAction(typing.TypedDict, total=False): observation: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation searchAction: GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult @@ -2541,7 +2606,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: _list[ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo @@ -2556,7 +2621,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -2564,23 +2629,21 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultCh @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippet: str snippetStatus: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistAnswer(typing.TypedDict, total=False): assistSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ASSIST_SKIPPED_REASON_UNSPECIFIED", "NON_ASSIST_SEEKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", @@ -2591,7 +2654,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistAnswer( ) name: str replies: _list[GoogleCloudDiscoveryengineV1alphaAssistAnswerReply] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", @@ -2602,52 +2665,51 @@ class GoogleCloudDiscoveryengineV1alphaAssistAnswer( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyResults: _list[ GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult ] - verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + verdict: typing.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + violationSource: typing.Literal[ + "VIOLATION_SOURCE_UNSPECIFIED", "SYSTEM", "PROMPT", "ATTACHMENT" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus modelArmorViolation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply(typing.TypedDict, total=False): createTime: str groundedContent: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent replyId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preferredLanguageCode: str timeZone: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistant( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistant(typing.TypedDict, total=False): createTime: str customerPolicy: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy defaultWebGroundingToggleOff: bool @@ -2658,7 +2720,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistant( generationConfig: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig name: str updateTime: str - webGroundingType: typing_extensions.Literal[ + webGroundingType: typing.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", "WEB_GROUNDING_TYPE_DISABLED", "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", @@ -2666,9 +2728,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistant( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistantContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistantContent(typing.TypedDict, total=False): codeExecutionResult: ( GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult ) @@ -2681,16 +2741,16 @@ class GoogleCloudDiscoveryengineV1alphaAssistantContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outcome: typing_extensions.Literal[ + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -2700,20 +2760,20 @@ class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentFile( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileId: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[ GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase @@ -2725,10 +2785,10 @@ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreDiacritics: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", "SIMPLE_STRING_MATCH", "WORD_BOUNDARY_STRING_MATCH", @@ -2737,17 +2797,15 @@ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - failureMode: typing_extensions.Literal[ - "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" - ] + failureMode: typing.Literal["FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED"] responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedModelIds: _list[str] defaultLanguage: str @@ -2758,13 +2816,13 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSystemInstruction: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationMetadata: GoogleCloudDiscoveryengineV1alphaCitationMetadata content: GoogleCloudDiscoveryengineV1alphaAssistantContent @@ -2774,7 +2832,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): references: _list[ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference @@ -2788,7 +2846,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): codeSnippet: str content: str @@ -2796,11 +2854,11 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str domain: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -2808,7 +2866,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingScore: float @@ -2818,42 +2876,36 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentId: str referenceIndices: _list[int] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo(typing.TypedDict, total=False): toolDisplayName: str toolName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistantToolList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistantToolList(typing.TypedDict, total=False): toolInfo: _list[GoogleCloudDiscoveryengineV1alphaAssistantToolInfo] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAuthorization( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAuthorization(typing.TypedDict, total=False): displayName: str name: str serverSideOauth2: GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAuthorizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentAuthorization: str toolAuthorizations: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authorizationUri: str clientId: str @@ -2863,12 +2915,10 @@ class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2( tokenUri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBAPConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaBAPConfig(typing.TypedDict, total=False): enabledActions: _list[str] supportedConnectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -2879,33 +2929,33 @@ class GoogleCloudDiscoveryengineV1alphaBAPConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfigToolspecOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseVersion: str tools: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentsMetadata: _list[ GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata @@ -2913,25 +2963,25 @@ class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataIngestionSource: str lastRefreshedTime: str matcherValue: GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INDEXED", "NOT_IN_TARGET_SITE", "NOT_IN_INDEX" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fhirResource: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -2940,7 +2990,7 @@ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteUnassignedUserLicenses: bool inlineSource: ( @@ -2949,34 +2999,32 @@ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updateMask: str userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBigQuerySource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaBigQuerySource(typing.TypedDict, total=False): dataSchema: str datasetId: str gcsStagingDir: str @@ -2985,20 +3033,18 @@ class GoogleCloudDiscoveryengineV1alphaBigQuerySource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBigtableOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaBigtableOptions(typing.TypedDict, total=False): families: dict[str, typing.Any] keyFieldName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] fieldName: str qualifier: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -3011,12 +3057,12 @@ class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columns: _list[GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn] - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] fieldName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -3028,9 +3074,7 @@ class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBigtableSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaBigtableSource(typing.TypedDict, total=False): bigtableOptions: GoogleCloudDiscoveryengineV1alphaBigtableOptions instanceId: str projectId: str @@ -3038,7 +3082,7 @@ class GoogleCloudDiscoveryengineV1alphaBigtableSource( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRenew: bool earlyTerminated: bool @@ -3050,19 +3094,19 @@ class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( name: str procurementEntitlementId: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED", "DEACTIVATING" ] subscriptionDisplayName: str subscriptionName: str - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -3078,10 +3122,11 @@ class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBranch(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaBranch(typing.TypedDict, total=False): branchStats: GoogleCloudDiscoveryengineV1alphaBranchBranchStats displayName: str isDefault: bool @@ -3089,15 +3134,11 @@ class GoogleCloudDiscoveryengineV1alphaBranch(typing_extensions.TypedDict, total name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBranchBranchStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaBranchBranchStats(typing.TypedDict, total=False): documentCounts: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCannedQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCannedQuery(typing.TypedDict, total=False): defaultTexts: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts displayName: str enabled: bool @@ -3110,13 +3151,13 @@ class GoogleCloudDiscoveryengineV1alphaCannedQuery( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): prefix: str suggestedPrompts: _list[GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt] @@ -3124,13 +3165,13 @@ class GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): promptText: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerCandidate: str facts: _list[GoogleCloudDiscoveryengineV1alphaGroundingFact] @@ -3139,7 +3180,7 @@ class GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citedChunks: _list[GoogleCloudDiscoveryengineV1alphaFactChunk] citedFacts: _list[ @@ -3150,13 +3191,13 @@ class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkText: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationIndices: _list[int] claimText: str @@ -3167,27 +3208,27 @@ class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationThreshold: float enableClaimLevelScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): refreshTokenInfo: GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requirementType: str resources: _list[GoogleApiMonitoredResource] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricResults: _list[ GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult @@ -3199,7 +3240,7 @@ class GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricType: str name: str @@ -3208,7 +3249,7 @@ class GoogleCloudDiscoveryengineV1alphaCheckRequirementResponseMetricQueryResult value: GoogleMonitoringV3TypedValue @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaChunk(typing.TypedDict, total=False): annotationContents: _list[str] annotationMetadata: _list[GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata] chunkMetadata: GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata @@ -3223,21 +3264,21 @@ class GoogleCloudDiscoveryengineV1alphaChunk(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageId: str structuredContent: GoogleCloudDiscoveryengineV1alphaChunkStructuredContent @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextChunks: _list[GoogleCloudDiscoveryengineV1alphaChunk] previousChunks: _list[GoogleCloudDiscoveryengineV1alphaChunk] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mimeType: str structData: dict[str, typing.Any] @@ -3245,18 +3286,16 @@ class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaChunkPageSpan( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaChunkPageSpan(typing.TypedDict, total=False): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str - structureType: typing_extensions.Literal[ + structureType: typing.Literal[ "STRUCTURE_TYPE_UNSPECIFIED", "SHAREHOLDER_STRUCTURE", "SIGNATURE_STRUCTURE", @@ -3264,9 +3303,7 @@ class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCitation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: GoogleTypeDate @@ -3275,21 +3312,15 @@ class GoogleCloudDiscoveryengineV1alphaCitation( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCitationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudDiscoveryengineV1alphaCitation] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCliConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCliConfig(typing.TypedDict, total=False): enabledActions: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCloudSqlSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCloudSqlSource(typing.TypedDict, total=False): databaseId: str gcsStagingDir: str instanceId: str @@ -3298,22 +3329,20 @@ class GoogleCloudDiscoveryengineV1alphaCloudSqlSource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCmekConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1alphaSingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -3327,9 +3356,7 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCollection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCollection(typing.TypedDict, total=False): createTime: str dataConnector: GoogleCloudDiscoveryengineV1alphaDataConnector displayName: str @@ -3337,13 +3364,13 @@ class GoogleCloudDiscoveryengineV1alphaCollection( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalIdentities: _list[GoogleCloudDiscoveryengineV1alphaExternalIdentity] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySuggestions: _list[ GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion @@ -3352,18 +3379,14 @@ class GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completableFieldPaths: _list[str] suggestion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCompletionConfig( - typing_extensions.TypedDict, total=False -): - enableMode: typing_extensions.Literal[ - "ENABLE_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" - ] +class GoogleCloudDiscoveryengineV1alphaCompletionConfig(typing.TypedDict, total=False): + enableMode: typing.Literal["ENABLE_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL"] filterPiiSuggestionsUsingDlp: bool matchingOrder: str maxSuggestions: int @@ -3375,15 +3398,13 @@ class GoogleCloudDiscoveryengineV1alphaCompletionConfig( shouldServeContentSuggestions: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCompletionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCompletionInfo(typing.TypedDict, total=False): selectedPosition: int selectedSuggestion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCompletionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternativePhrases: _list[str] frequency: str @@ -3394,38 +3415,34 @@ class GoogleCloudDiscoveryengineV1alphaCompletionSuggestion( suggestion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCondition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1alphaConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1alphaConditionQueryTerm] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullMatch: bool value: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConditionTimeRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConnectorRun( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaConnectorRun(typing.TypedDict, total=False): endTime: str entityRuns: _list[GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun] errors: _list[GoogleRpcStatus] latestPauseTime: str name: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", @@ -3437,13 +3454,13 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( "SKIPPED", ] stateUpdateTime: str - trigger: typing_extensions.Literal[ + trigger: typing.Literal[ "TRIGGER_UNSPECIFIED", "SCHEDULER", "INITIALIZATION", "RESUME", "MANUAL" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deletedRecordCount: str entityName: str @@ -3454,7 +3471,7 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( progress: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress scheduledRecordCount: str sourceApiRequestCount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", @@ -3467,28 +3484,24 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( ] stateUpdateTime: str statsUpdateTime: str - syncType: typing_extensions.Literal[ + syncType: typing.Literal[ "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", "REALTIME", "SCALA_SYNC" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentCount: str percentile: float totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaContactDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaContactDetails(typing.TypedDict, total=False): emailAddress: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaControl( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1alphaControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1alphaCondition] @@ -3497,7 +3510,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( name: str promoteAction: GoogleCloudDiscoveryengineV1alphaControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1alphaControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -3507,7 +3520,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -3516,7 +3529,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float dataStore: str @@ -3528,73 +3541,69 @@ class GoogleCloudDiscoveryengineV1alphaControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlFilterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlPromoteAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlRedirectAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): redirectUri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlSynonymsAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): synonyms: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConversation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaConversation(typing.TypedDict, total=False): endTime: str messages: _list[GoogleCloudDiscoveryengineV1alphaConversationMessage] name: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED"] userPseudoId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConversationContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activeDocument: str contextDocuments: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConversationMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str reply: GoogleCloudDiscoveryengineV1alphaReply @@ -3602,7 +3611,7 @@ class GoogleCloudDiscoveryengineV1alphaConversationMessage( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConverseConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec conversation: GoogleCloudDiscoveryengineV1alphaConversation @@ -3617,7 +3626,7 @@ class GoogleCloudDiscoveryengineV1alphaConverseConversationRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConverseConversationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: GoogleCloudDiscoveryengineV1alphaConversation relatedQuestions: _list[str] @@ -3626,79 +3635,75 @@ class GoogleCloudDiscoveryengineV1alphaConverseConversationResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qpsTimeSeries: GoogleMonitoringV3TimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str targetSite: GoogleCloudDiscoveryengineV1alphaTargetSite @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCustomAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCustomAttribute(typing.TypedDict, total=False): numbers: _list[float] text: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSearchAdaptor: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCustomTuningModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCustomTuningModel(typing.TypedDict, total=False): createTime: str displayName: str errorMessage: str metrics: dict[str, typing.Any] - modelState: typing_extensions.Literal[ + modelState: typing.Literal[ "MODEL_STATE_UNSPECIFIED", "TRAINING_PAUSED", "TRAINING", @@ -3713,12 +3718,10 @@ class GoogleCloudDiscoveryengineV1alphaCustomTuningModel( trainingStartTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDataConnector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDataConnector(typing.TypedDict, total=False): aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1alphaActionConfig - actionState: typing_extensions.Literal[ + actionState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -3732,7 +3735,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( autoRunDisabled: bool bapConfig: GoogleCloudDiscoveryengineV1alphaBAPConfig blockingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", @@ -3741,7 +3744,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] cliConfig: GoogleCloudDiscoveryengineV1alphaCliConfig connectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -3751,7 +3754,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] ] connectorSourceId: str - connectorType: typing_extensions.Literal[ + connectorType: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", "GCP_FHIR", @@ -3789,11 +3792,13 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( kmsKeyName: str lastSyncTime: str latestPauseTime: str + metadata: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str - realtimeState: typing_extensions.Literal[ + realtimeState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -3806,7 +3811,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str removeParamKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -3818,13 +3823,24 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + syncMode: typing.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + tag: str updateTime: str vpcscEnabled: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata( + typing.TypedDict, total=False +): + author: str + description: str + note: str + shortDescription: str + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -3833,7 +3849,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -3841,7 +3857,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): realtimeSyncSecret: str streamingError: ( @@ -3851,10 +3867,10 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - streamingErrorReason: typing_extensions.Literal[ + streamingErrorReason: typing.Literal[ "STREAMING_ERROR_REASON_UNSPECIFIED", "STREAMING_SETUP_ERROR", "STREAMING_SYNC_ERROR", @@ -3863,7 +3879,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingE @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str entityName: str @@ -3875,31 +3891,29 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDataStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -3915,9 +3929,10 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig ) healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + iconUri: str identityMappingStore: str idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -3931,7 +3946,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore ) solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -3945,7 +3960,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -3956,7 +3971,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig @@ -3968,7 +3983,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -3976,15 +3991,15 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConf @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -3997,26 +4012,26 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConf @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries @@ -4025,90 +4040,89 @@ class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str + updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination] jsonParams: str key: str @@ -4116,37 +4130,37 @@ class GoogleCloudDiscoveryengineV1alphaDestinationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigId: str licenseCount: str @@ -4155,14 +4169,12 @@ class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: GoogleCloudDiscoveryengineV1alphaLicenseConfig @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDocument( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDocument(typing.TypedDict, total=False): aclInfo: GoogleCloudDiscoveryengineV1alphaDocumentAclInfo content: GoogleCloudDiscoveryengineV1alphaDocumentContent derivedStructData: dict[str, typing.Any] @@ -4176,38 +4188,32 @@ class GoogleCloudDiscoveryengineV1alphaDocument( structData: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDocumentAclInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDocumentAclInfo(typing.TypedDict, total=False): readers: _list[GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idpWide: bool principals: _list[GoogleCloudDiscoveryengineV1alphaPrincipal] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDocumentContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDocumentContent(typing.TypedDict, total=False): mimeType: str rawBytes: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] indexTime: str pendingMessage: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDocumentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDocumentInfo(typing.TypedDict, total=False): conversionValue: float id: str joined: bool @@ -4218,7 +4224,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: ( GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig @@ -4231,20 +4237,20 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -4252,12 +4258,12 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -4270,59 +4276,53 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDoubleList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDoubleList(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDynamicTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDynamicTool(typing.TypedDict, total=False): description: str displayName: str enabled: bool name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEmbeddingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaEmbeddingConfig(typing.TypedDict, total=False): fieldPath: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaEngine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -4332,11 +4332,11 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -4357,7 +4357,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total similarDocumentsConfig: ( GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig ) - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -4369,7 +4369,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentCreationConfig: ( GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig @@ -4379,7 +4379,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -4388,19 +4388,19 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -4412,7 +4412,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -4421,61 +4421,57 @@ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] lastTrainTime: str lastTuneTime: str - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] tuningOperation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -4491,28 +4487,29 @@ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileDataSource: ( GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource @@ -4523,14 +4520,14 @@ class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1alphaBigQuerySource gcsSource: GoogleCloudDiscoveryengineV1alphaGcsSource @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): estimatorUriPatterns: _list[ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern @@ -4538,7 +4535,7 @@ class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exactMatch: bool exclusive: bool @@ -4546,15 +4543,13 @@ class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceE @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataSizeBytes: str documentCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaEvaluation(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -4562,45 +4557,54 @@ class GoogleCloudDiscoveryengineV1alphaEvaluation( evaluationSpec: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec name: str qualityMetrics: GoogleCloudDiscoveryengineV1alphaQualityMetrics - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySetSpec: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec searchRequest: GoogleCloudDiscoveryengineV1alphaSearchRequest @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQuerySet: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExportMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudDiscoveryengineV1alphaOutputConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaExternalIdentity( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse( + typing.TypedDict, total=False ): + csvData: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExternalIdentity(typing.TypedDict, total=False): displayName: str externalId: str groupMetadata: GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata @@ -4609,21 +4613,19 @@ class GoogleCloudDiscoveryengineV1alphaExternalIdentity( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): familyName: str givenName: str primaryEmail: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFactChunk( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFactChunk(typing.TypedDict, total=False): chunkText: str domain: str index: int @@ -4633,26 +4635,22 @@ class GoogleCloudDiscoveryengineV1alphaFactChunk( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFeedback( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFeedback(typing.TypedDict, total=False): comment: str componentVersion: str conversationInfo: GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo dataTermsAccepted: bool - feedbackSource: typing_extensions.Literal[ + feedbackSource: typing.Literal[ "FEEDBACK_SOURCE_UNSPECIFIED", "GOOGLE_CONSOLE", "GOOGLE_WIDGET", "GOOGLE_WEBAPP", "GOOGLE_AGENTSPACE_MOBILE", ] - feedbackType: typing_extensions.Literal[ - "FEEDBACK_TYPE_UNSPECIFIED", "LIKE", "DISLIKE" - ] + feedbackType: typing.Literal["FEEDBACK_TYPE_UNSPECIFIED", "LIKE", "DISLIKE"] llmModelVersion: str reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "INACCURATE_RESPONSE", "NOT_RELEVANT", @@ -4668,7 +4666,7 @@ class GoogleCloudDiscoveryengineV1alphaFeedback( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerQueryToken: str assistToken: str @@ -4678,7 +4676,7 @@ class GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] @@ -4686,7 +4684,7 @@ class GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sitemapsMetadata: _list[ GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata @@ -4694,25 +4692,21 @@ class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sitemap: GoogleCloudDiscoveryengineV1alphaSitemap @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFhirStoreSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFhirStoreSource(typing.TypedDict, total=False): fhirStore: str gcsStagingDir: str resourceTypes: _list[str] updateFromLatestPredefinedSchema: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFieldConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFieldConfig(typing.TypedDict, total=False): advancedSiteSearchDataSources: _list[ - typing_extensions.Literal[ + typing.Literal[ "ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED", "METATAGS", "PAGEMAP", @@ -4720,16 +4714,16 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "SCHEMA_ORG", ] ] - completableOption: typing_extensions.Literal[ + completableOption: typing.Literal[ "COMPLETABLE_OPTION_UNSPECIFIED", "COMPLETABLE_ENABLED", "COMPLETABLE_DISABLED" ] - dynamicFacetableOption: typing_extensions.Literal[ + dynamicFacetableOption: typing.Literal[ "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", "DYNAMIC_FACETABLE_ENABLED", "DYNAMIC_FACETABLE_DISABLED", ] fieldPath: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "FIELD_TYPE_UNSPECIFIED", "OBJECT", "STRING", @@ -4739,19 +4733,19 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "GEOLOCATION", "DATETIME", ] - indexableOption: typing_extensions.Literal[ + indexableOption: typing.Literal[ "INDEXABLE_OPTION_UNSPECIFIED", "INDEXABLE_ENABLED", "INDEXABLE_DISABLED" ] keyPropertyType: str metatagName: str - recsFilterableOption: typing_extensions.Literal[ + recsFilterableOption: typing.Literal[ "FILTERABLE_OPTION_UNSPECIFIED", "FILTERABLE_ENABLED", "FILTERABLE_DISABLED" ] - retrievableOption: typing_extensions.Literal[ + retrievableOption: typing.Literal[ "RETRIEVABLE_OPTION_UNSPECIFIED", "RETRIEVABLE_ENABLED", "RETRIEVABLE_DISABLED" ] schemaOrgPaths: _list[str] - searchableFieldImportance: typing_extensions.Literal[ + searchableFieldImportance: typing.Literal[ "SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED", "VERY_LOW_IMPORTANCE", "LOW_IMPORTANCE", @@ -4759,24 +4753,22 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "HIGH_IMPORTANCE", "VERY_HIGH_IMPORTANCE", ] - searchableOption: typing_extensions.Literal[ + searchableOption: typing.Literal[ "SEARCHABLE_OPTION_UNSPECIFIED", "SEARCHABLE_ENABLED", "SEARCHABLE_DISABLED" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFileCharacteristics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): characteristics: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFileMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFileMetadata(typing.TypedDict, total=False): byteSize: str downloadUri: str fileId: str - fileOriginType: typing_extensions.Literal[ + fileOriginType: typing.Literal[ "FILE_ORIGIN_TYPE_UNSPECIFIED", "USER_PROVIDED", "AI_GENERATED", @@ -4786,7 +4778,7 @@ class GoogleCloudDiscoveryengineV1alphaFileMetadata( metadata: dict[str, typing.Any] mimeType: str name: str - originalSourceType: typing_extensions.Literal[ + originalSourceType: typing.Literal[ "FILE_SOURCE_UNSPECIFIED", "FILE_SOURCE_INLINE", "FILE_SOURCE_LOCAL", @@ -4799,9 +4791,7 @@ class GoogleCloudDiscoveryengineV1alphaFileMetadata( views: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFileView( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFileView(typing.TypedDict, total=False): byteSize: str createTime: str fileCharacteristics: GoogleCloudDiscoveryengineV1alphaFileCharacteristics @@ -4812,24 +4802,20 @@ class GoogleCloudDiscoveryengineV1alphaFileView( viewId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFirestoreSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFirestoreSource(typing.TypedDict, total=False): collectionId: str databaseId: str gcsStagingDir: str projectId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaGcsSource(typing.TypedDict, total=False): dataSchema: str inputUris: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): app: str authorizationUri: str @@ -4839,36 +4825,30 @@ class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse( tenantId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGetSessionRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaGetSessionRequest(typing.TypedDict, total=False): includeAnswerDetails: bool name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentDataMap: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGroundingFact( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaGroundingFact(typing.TypedDict, total=False): attributes: dict[str, typing.Any] factText: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec(typing.TypedDict, total=False): enableRefinementAttributes: bool enableRelatedQuestions: bool maxRelatedQuestions: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool @@ -4876,7 +4856,7 @@ class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalIdentity: str externalIdentityName: str @@ -4885,7 +4865,7 @@ class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str @@ -4893,7 +4873,7 @@ class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig @@ -4902,30 +4882,28 @@ class GoogleCloudDiscoveryengineV1alphaIdentityMappingStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextSyncTime: GoogleTypeDateTime refreshInterval: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaIdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaIdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImageCharacteristics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bitDepth: int - colorSpace: typing_extensions.Literal[ + colorSpace: typing.Literal[ "COLOR_SPACE_UNSPECIFIED", "RGB", "CMYK", @@ -4938,20 +4916,20 @@ class GoogleCloudDiscoveryengineV1alphaImageCharacteristics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileName: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentFile: GoogleCloudDiscoveryengineV1alphaAgentFile @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -4960,7 +4938,7 @@ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1alphaBigQuerySource errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig @@ -4971,20 +4949,20 @@ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleCloudDiscoveryengineV1alphaCompletionSuggestion] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -4994,7 +4972,7 @@ class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbSource: GoogleCloudDiscoveryengineV1alphaAlloyDbSource autoGenerateIds: bool @@ -5008,7 +4986,7 @@ class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest( gcsSource: GoogleCloudDiscoveryengineV1alphaGcsSource idField: str inlineSource: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource - reconciliationMode: typing_extensions.Literal[ + reconciliationMode: typing.Literal[ "RECONCILIATION_MODE_UNSPECIFIED", "INCREMENTAL", "FULL" ] spannerSource: GoogleCloudDiscoveryengineV1alphaSpannerSource @@ -5016,26 +4994,24 @@ class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[GoogleCloudDiscoveryengineV1alphaDocument] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineSource: ( GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource @@ -5043,19 +5019,19 @@ class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -5065,7 +5041,7 @@ class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1alphaBigQuerySource errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig @@ -5076,40 +5052,40 @@ class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQueries: _list[GoogleCloudDiscoveryengineV1alphaSampleQuery] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsSource: GoogleCloudDiscoveryengineV1alphaGcsSource inlineSource: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entries: _list[GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -5117,7 +5093,7 @@ class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -5126,7 +5102,7 @@ class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1alphaBigQuerySource errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig @@ -5135,13 +5111,13 @@ class GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEvents: _list[GoogleCloudDiscoveryengineV1alphaUserEvent] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -5149,27 +5125,21 @@ class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaLanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaLanguageInfo(typing.TypedDict, total=False): language: str languageCode: str normalizedLanguageCode: str region: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaLicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaLicenseConfig(typing.TypedDict, total=False): alertPolicyResourceConfig: ( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) @@ -5179,10 +5149,11 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -5190,14 +5161,14 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -5213,39 +5184,56 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: str usedLicenseCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListAgentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agents: _list[GoogleCloudDiscoveryengineV1alphaAgent] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse( + typing.TypedDict, total=False +): + alphaEvolveExperiments: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment + ] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse( + typing.TypedDict, total=False +): + alphaEvolvePrograms: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListAssistantsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assistants: _list[GoogleCloudDiscoveryengineV1alphaAssistant] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authorizations: _list[GoogleCloudDiscoveryengineV1alphaAuthorization] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billingAccountLicenseConfigs: _list[ GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig @@ -5254,88 +5242,88 @@ class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListBranchesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): branches: _list[GoogleCloudDiscoveryengineV1alphaBranch] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cannedQueries: _list[GoogleCloudDiscoveryengineV1alphaCannedQuery] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListChunksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunks: _list[GoogleCloudDiscoveryengineV1alphaChunk] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cmekConfigs: _list[GoogleCloudDiscoveryengineV1alphaCmekConfig] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListCollectionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collections: _list[GoogleCloudDiscoveryengineV1alphaCollection] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectorRuns: _list[GoogleCloudDiscoveryengineV1alphaConnectorRun] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListControlsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): controls: _list[GoogleCloudDiscoveryengineV1alphaControl] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleCloudDiscoveryengineV1alphaConversation] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): models: _list[GoogleCloudDiscoveryengineV1alphaCustomTuningModel] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListDataStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStores: _list[GoogleCloudDiscoveryengineV1alphaDataStore] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[GoogleCloudDiscoveryengineV1alphaDocument] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListEnginesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engines: _list[GoogleCloudDiscoveryengineV1alphaEngine] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationResults: _list[ GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult @@ -5344,49 +5332,47 @@ class GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qualityMetrics: GoogleCloudDiscoveryengineV1alphaQualityMetrics sampleQuery: GoogleCloudDiscoveryengineV1alphaSampleQuery @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluations: _list[GoogleCloudDiscoveryengineV1alphaEvaluation] nextPageToken: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaListFilesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaListFilesResponse(typing.TypedDict, total=False): files: _list[GoogleCloudDiscoveryengineV1alphaFileMetadata] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingStores: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingStore] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigs: _list[GoogleCloudDiscoveryengineV1alphaLicenseConfig] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigUsageStats: _list[ GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats @@ -5394,35 +5380,35 @@ class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sampleQueries: _list[GoogleCloudDiscoveryengineV1alphaSampleQuery] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sampleQuerySets: _list[GoogleCloudDiscoveryengineV1alphaSampleQuerySet] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str schemas: _list[GoogleCloudDiscoveryengineV1alphaSchema] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str servingConfigs: _list[GoogleCloudDiscoveryengineV1alphaServingConfig] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str orderBy: str @@ -5432,14 +5418,14 @@ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessions: _list[GoogleCloudDiscoveryengineV1alphaSession] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] @@ -5447,45 +5433,43 @@ class GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaMediaInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaMediaInfo(typing.TypedDict, total=False): mediaProgressDuration: str mediaProgressPercentage: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObservabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crawlRateScope: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries @@ -5494,34 +5478,28 @@ class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( organicCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries ) - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaOutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaOutputConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudDiscoveryengineV1alphaBigQueryDestination @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaPageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaPageInfo(typing.TypedDict, total=False): pageCategory: str pageviewId: str referrerUri: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaPanelInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaPanelInfo(typing.TypedDict, total=False): displayName: str documents: _list[GoogleCloudDiscoveryengineV1alphaDocumentInfo] panelId: str @@ -5530,7 +5508,7 @@ class GoogleCloudDiscoveryengineV1alphaPanelInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str filtersAddedCount: str @@ -5539,28 +5517,22 @@ class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaPrincipal( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaPrincipal(typing.TypedDict, total=False): externalEntityId: str groupId: str userId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaProcessedDocument( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaProcessedDocument(typing.TypedDict, total=False): document: str jsonData: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaProject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaProject(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus ) @@ -5574,7 +5546,7 @@ class GoogleCloudDiscoveryengineV1alphaProject( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -5585,26 +5557,26 @@ class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig @@ -5612,7 +5584,7 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -5621,43 +5593,43 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptDataUseTerms: bool dataUseTermsVersion: str @@ -5665,33 +5637,33 @@ class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptBizQos: bool isBiz: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeSucceeded: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -5701,7 +5673,7 @@ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig filter: str @@ -5711,26 +5683,24 @@ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @@ -5740,32 +5710,32 @@ class GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeIdentityMappingsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -5774,21 +5744,19 @@ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQualityMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaQualityMetrics(typing.TypedDict, total=False): docNdcg: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics docPrecision: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics docRecall: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics @@ -5797,7 +5765,7 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): top1: float top10: float @@ -5805,7 +5773,7 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( top5: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaQuery(typing.TypedDict, total=False): createTime: str parts: _list[GoogleCloudDiscoveryengineV1alphaQueryPart] queryId: str @@ -5813,7 +5781,7 @@ class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metricUsages: _list[ GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage @@ -5821,19 +5789,19 @@ class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsRespons @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): date: GoogleTypeDate usage: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datedUsages: _list[ GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage ] - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "BILLING_METRIC_TYPE_UNSPECIFIED", "DAILY_MDN_QPM", "DAILY_MIN_QPM", @@ -5844,9 +5812,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsRespons totalUsage: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQueryPart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaQueryPart(typing.TypedDict, total=False): documentReference: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference driveDocumentReference: ( GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference @@ -5858,7 +5824,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPart( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayTitle: str @@ -5869,7 +5835,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayTitle: str @@ -5880,7 +5846,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayName: str @@ -5891,9 +5857,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( personId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaRankRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaRankRequest(typing.TypedDict, total=False): ignoreRecordDetailsInResponse: bool model: str query: str @@ -5902,24 +5866,18 @@ class GoogleCloudDiscoveryengineV1alphaRankRequest( userLabels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaRankResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaRankResponse(typing.TypedDict, total=False): records: _list[GoogleCloudDiscoveryengineV1alphaRankingRecord] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaRankingRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaRankingRecord(typing.TypedDict, total=False): content: str id: str score: float title: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaRecommendRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaRecommendRequest(typing.TypedDict, total=False): filter: str pageSize: int params: dict[str, typing.Any] @@ -5928,9 +5886,7 @@ class GoogleCloudDiscoveryengineV1alphaRecommendRequest( validateOnly: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaRecommendResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaRecommendResponse(typing.TypedDict, total=False): attributionToken: str missingIds: _list[str] results: _list[ @@ -5940,7 +5896,7 @@ class GoogleCloudDiscoveryengineV1alphaRecommendResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: GoogleCloudDiscoveryengineV1alphaDocument id: str @@ -5948,7 +5904,7 @@ class GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str invalidUris: _list[str] @@ -5965,14 +5921,14 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): siteCredential: str uris: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedUris: _list[str] failureSamples: _list[ @@ -5981,7 +5937,7 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureReasons: _list[ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason @@ -5990,50 +5946,46 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - corpusType: typing_extensions.Literal[ - "CORPUS_TYPE_UNSPECIFIED", "DESKTOP", "MOBILE" - ] + corpusType: typing.Literal["CORPUS_TYPE_UNSPECIFIED", "DESKTOP", "MOBILE"] errorMessage: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo(typing.TypedDict, total=False): name: str scopes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crawlRateScope: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): removeAllSearchHistorySuggestions: bool removeTime: str @@ -6043,26 +5995,24 @@ class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaReply(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaReply(typing.TypedDict, total=False): references: _list[GoogleCloudDiscoveryengineV1alphaReplyReference] reply: str summary: GoogleCloudDiscoveryengineV1alphaSearchResponseSummary @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaReplyReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaReplyReference(typing.TypedDict, total=False): anchorText: str end: int start: int @@ -6070,18 +6020,14 @@ class GoogleCloudDiscoveryengineV1alphaReplyReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - consentChangeAction: typing_extensions.Literal[ - "CONSENT_CHANGE_ACTION_UNSPECIFIED", "ACCEPT" - ] + consentChangeAction: typing.Literal["CONSENT_CHANGE_ACTION_UNSPECIFIED", "ACCEPT"] serviceTermId: str serviceTermVersion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaRequirement( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaRequirement(typing.TypedDict, total=False): condition: GoogleTypeExpr description: str displayName: str @@ -6097,7 +6043,7 @@ class GoogleCloudDiscoveryengineV1alphaRequirement( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): category: str description: str @@ -6107,7 +6053,7 @@ class GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str thresholdValues: _list[ @@ -6117,14 +6063,14 @@ class GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRequirementThresholdBindingThresholdValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): severity: str value: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str sampleFilter: str @@ -6132,12 +6078,24 @@ class GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaResumeEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata( + typing.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest( + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullRetract: bool licenseConfig: str @@ -6145,16 +6103,14 @@ class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: GoogleCloudDiscoveryengineV1alphaLicenseConfig @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSafetyRating( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -6162,11 +6118,11 @@ class GoogleCloudDiscoveryengineV1alphaSafetyRating( "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -6176,55 +6132,49 @@ class GoogleCloudDiscoveryengineV1alphaSafetyRating( severityScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSampleQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSampleQuery(typing.TypedDict, total=False): createTime: str name: str queryEntry: GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str targets: _list[GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageNumbers: _list[int] score: float uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSampleQuerySet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSampleQuerySet(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaSchema(typing.TypedDict, total=False): fieldConfigs: _list[GoogleCloudDiscoveryengineV1alphaFieldConfig] jsonSchema: str name: str structSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSearchInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSearchInfo(typing.TypedDict, total=False): offset: int orderBy: str searchQuery: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str document: str @@ -6234,9 +6184,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec branch: str canonicalFilter: str @@ -6269,7 +6217,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec rankingExpression: str - rankingExpressionBackend: typing_extensions.Literal[ + rankingExpressionBackend: typing.Literal[ "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", "BYOE", "CLEARBOX", @@ -6281,7 +6229,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool @@ -6302,7 +6250,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec @@ -6310,7 +6258,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec @@ -6318,33 +6266,31 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec extractiveContentSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: ( @@ -6356,14 +6302,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -6373,7 +6319,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveC @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -6381,7 +6327,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -6397,21 +6343,21 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -6420,23 +6366,23 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str maxCount: int - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressionsToPrecompute: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec customSearchOperators: str @@ -6446,9 +6392,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchHighlightingCondition: typing_extensions.Literal[ + matchHighlightingCondition: typing.Literal[ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", "MATCH_HIGHLIGHTING_DISABLED", "MATCH_HIGHLIGHTING_ENABLED", @@ -6456,7 +6402,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingVectors: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector @@ -6464,14 +6410,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldPath: str vector: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableDynamicPosition: bool excludedFilterKeys: _list[str] @@ -6480,7 +6426,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -6492,61 +6438,61 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageBytes: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedFieldNames: _list[str] - extractedFilterBehavior: typing_extensions.Literal[ + extractedFilterBehavior: typing.Literal[ "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" ] - filterExtractionCondition: typing_extensions.Literal[ + filterExtractionCondition: typing.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] geoSearchQueryDetectionFieldNames: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] semanticRelevanceThreshold: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRelevanceScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableGenerativeAnswerAddOn: bool disableKpiPersonalizationAddOn: bool @@ -6554,29 +6500,25 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryId: str searchResultPersistenceCount: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSearchResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSearchResponse(typing.TypedDict, total=False): appliedControls: _list[str] attributionToken: str correctedQuery: str @@ -6596,9 +6538,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponse( redirectUri: str results: _list[GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult] searchLinkPromotions: _list[GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion] - semanticState: typing_extensions.Literal[ - "SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED" - ] + semanticState: typing.Literal["SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED"] sessionInfo: GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo suggestedQuery: str summary: GoogleCloudDiscoveryengineV1alphaSearchResponseSummary @@ -6606,7 +6546,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseFacet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dynamicFacet: bool key: str @@ -6614,7 +6554,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseFacet( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseFacetFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str interval: GoogleCloudDiscoveryengineV1alphaInterval @@ -6622,14 +6562,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseFacetFacetValue( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseGeoSearchDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorMessage: str originalAddressQuery: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followUpQuestions: _list[str] refinementAttributes: _list[ @@ -6638,14 +6578,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinementAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeKey: str attributeValue: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classifiedIntents: _list[str] extractedFilters: str @@ -6654,13 +6594,13 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expression: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[ GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @@ -6668,7 +6608,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): andExpr: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression geolocationConstraint: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint @@ -6678,7 +6618,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str fieldName: str @@ -6688,9 +6628,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - comparison: typing_extensions.Literal[ + comparison: typing.Literal[ "COMPARISON_UNSPECIFIED", "EQUALS", "LESS_THAN_EQUALS", @@ -6704,7 +6644,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[ GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @@ -6712,7 +6652,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str querySegment: str @@ -6720,33 +6660,36 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderst @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseOneBoxResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - oneBoxType: typing_extensions.Literal[ + oneBoxType: typing.Literal[ "ONE_BOX_TYPE_UNSPECIFIED", "PEOPLE", "ORGANIZATION", "SLACK", "KNOWLEDGE_GRAPH" ] searchResults: _list[GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedQuery: bool pinnedResultCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: GoogleCloudDiscoveryengineV1alphaChunk document: GoogleCloudDiscoveryengineV1alphaDocument id: str modelScores: dict[str, typing.Any] rankSignals: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals + retrievalSignals: ( + GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRetrievalSignals + ) @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostingFactor: float customSignals: _list[ @@ -6763,27 +6706,38 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRetrievalSignals( + typing.TypedDict, total=False +): + retrievalSources: _list[ + typing.Literal[ + "RETRIEVAL_SOURCE_UNSPECIFIED", "KEYWORD_SEARCH", "SEMANTIC_SEARCH" + ] + ] + semanticRelevanceScore: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str queryId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): safetyAttributes: ( GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes ) summarySkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUMMARY_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_SUMMARY_SEEKING_QUERY_IGNORED", @@ -6804,23 +6758,23 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionType: typing_extensions.Literal[ + attributionType: typing.Literal[ "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" ] data: GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource] @@ -6828,19 +6782,19 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citations: _list[GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceIndex: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent @@ -6851,7 +6805,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] content: str @@ -6859,14 +6813,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkConten @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categories: _list[str] scores: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachments: _list[ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment @@ -6878,9 +6832,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata( summary: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaServingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaServingConfig(typing.TypedDict, total=False): answerGenerationSpec: GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec boostControlIds: _list[str] createTime: str @@ -6904,7 +6856,7 @@ class GoogleCloudDiscoveryengineV1alphaServingConfig( rankingExpression: str redirectControlIds: _list[str] replacementControlIds: _list[str] - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -6917,13 +6869,13 @@ class GoogleCloudDiscoveryengineV1alphaServingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentFreshnessCutoffDays: int contentWatchedPercentageThreshold: float @@ -6932,9 +6884,7 @@ class GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig( demotionEventType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSession( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSession(typing.TypedDict, total=False): displayName: str endTime: str isPinned: bool @@ -6942,14 +6892,12 @@ class GoogleCloudDiscoveryengineV1alphaSession( name: str pendingAsyncAssistOperationId: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] turns: _list[GoogleCloudDiscoveryengineV1alphaSessionTurn] userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSessionTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSessionTurn(typing.TypedDict, total=False): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer @@ -6959,37 +6907,37 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crawlRate: int crawlRateScope: str - crawlType: typing_extensions.Literal[ + crawlType: typing.Literal[ "CRAWL_TYPE_UNSPECIFIED", "USER_TRIGGERED", "AUTO_REFRESH" ] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTOMATIC", "EXPLICIT"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTOMATIC", "EXPLICIT"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collectionDisplayName: str collectionId: str @@ -6997,14 +6945,14 @@ class GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentDataMap: dict[str, typing.Any] emptyDocumentDataMap: bool @@ -7012,42 +6960,34 @@ class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSiteSearchEngine( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSiteSearchEngine(typing.TypedDict, total=False): name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - siteVerificationState: typing_extensions.Literal[ + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSitemap( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSpannerSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSpannerSource(typing.TypedDict, total=False): databaseId: str enableDataBoost: bool instanceId: str @@ -7056,7 +6996,7 @@ class GoogleCloudDiscoveryengineV1alphaSpannerSource( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entities: _list[str] forceRefreshContent: bool @@ -7064,9 +7004,22 @@ class GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest( syncIdentity: bool syncSinceTimestamp: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata( + typing.TypedDict, total=False +): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentRequest( + typing.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionSpec: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec generationSpec: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec @@ -7077,19 +7030,19 @@ class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionDisabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageGenerationSpec: ( GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec @@ -7106,29 +7059,29 @@ class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: GoogleCloudDiscoveryengineV1alphaAssistAnswer assistToken: str @@ -7143,41 +7096,52 @@ class GoogleCloudDiscoveryengineV1alphaStreamAssistResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseConnectorAuthError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataConnector: str errorMessage: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): session: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest( + typing.TypedDict, total=False +): + evaluationSubmissions: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponse( + typing.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockPhrase: str - matchOperator: typing_extensions.Literal[ + matchOperator: typing.Literal[ "MATCH_OPERATOR_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTargetSite( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaTargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -7190,44 +7154,42 @@ class GoogleCloudDiscoveryengineV1alphaTargetSite( providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTenant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaTenant(typing.TypedDict, total=False): displayName: str id: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTextInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaTextInput(typing.TypedDict, total=False): context: GoogleCloudDiscoveryengineV1alphaConversationContext input: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig gcsTrainingInput: ( @@ -7238,7 +7200,7 @@ class GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): corpusDataPath: str queryDataPath: str @@ -7247,7 +7209,7 @@ class GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -7256,9 +7218,7 @@ class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse( modelStatus: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTransactionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaTransactionInfo(typing.TypedDict, total=False): cost: float currency: str discountValue: float @@ -7268,59 +7228,57 @@ class GoogleCloudDiscoveryengineV1alphaTransactionInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engine: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTuneEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTuneEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): session: GoogleCloudDiscoveryengineV1alphaSession updateMask: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserEvent(typing.TypedDict, total=False): attributes: dict[str, typing.Any] attributionToken: str completionInfo: GoogleCloudDiscoveryengineV1alphaCompletionInfo @@ -7347,9 +7305,7 @@ class GoogleCloudDiscoveryengineV1alphaUserEvent( userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserInfo(typing.TypedDict, total=False): preciseLocation: GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation timeZone: str userAgent: str @@ -7357,18 +7313,16 @@ class GoogleCloudDiscoveryengineV1alphaUserInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str point: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserLicense( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -7382,9 +7336,7 @@ class GoogleCloudDiscoveryengineV1alphaUserLicense( userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserStore(typing.TypedDict, total=False): defaultLicenseConfig: str displayName: str enableExpiredLicenseAutoUpdate: bool @@ -7393,7 +7345,7 @@ class GoogleCloudDiscoveryengineV1alphaUserStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioBitrateKbps: int audioCodecs: _list[str] @@ -7405,13 +7357,14 @@ class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics( width: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaWidgetConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaWidgetConfig(typing.TypedDict, total=False): accessSettings: GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings allowPublicAccess: bool allowlistedDomains: _list[str] assistantSettings: GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings + batchAuthStatuses: _list[ + GoogleCloudDiscoveryengineV1alphaWidgetConfigBatchAuthStatus + ] collectionComponents: _list[ GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent ] @@ -7421,7 +7374,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfig( customerProvidedConfig: ( GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig ) - dataStoreType: typing_extensions.Literal[ + dataStoreType: typing.Literal[ "DATA_STORE_TYPE_UNSPECIFIED", "SITE_SEARCH", "STRUCTURED", @@ -7447,17 +7400,17 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfig( fieldsUiComponentsMap: dict[str, typing.Any] geminiBundle: bool homepageSetting: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] llmEnabled: bool minimumDataTermAccepted: bool name: str nodes: _list[GoogleCloudDiscoveryengineV1alphaWidgetConfigNode] - resultDisplayType: typing_extensions.Literal[ + resultDisplayType: typing.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -7471,7 +7424,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPublicAccess: bool allowlistedDomains: _list[str] @@ -7481,38 +7434,50 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultWebGroundingToggleOff: bool disableLocationContext: bool googleSearchGroundingEnabled: bool - webGroundingType: typing_extensions.Literal[ + webGroundingType: typing.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", "WEB_GROUNDING_TYPE_DISABLED", "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigBatchAuthStatus( + typing.TypedDict, total=False +): + batchAuthorizationGroup: str + connectorAuthState: GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState + placeholder: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectorAuthState: GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState connectorIconLink: str dataSource: str dataSourceDisplayName: str + dataSourceEndUserDisplayName: str + dataSourceVersion: float dataStoreComponents: _list[ GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent ] displayName: str id: str + isFirstParty: bool + metadata: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authState: typing_extensions.Literal[ + authState: typing.Literal[ "AUTH_STATE_UNSPECIFIED", "AUTHORIZED", "EXPIRED", "ACTIONS_DISABLED", "NO_AUTH" ] authorizationUri: str @@ -7520,22 +7485,22 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - customerType: typing_extensions.Literal["DEFAULT_CUSTOMER", "GOVERNMENT_CUSTOMER"] + customerType: typing.Literal["DEFAULT_CUSTOMER", "GOVERNMENT_CUSTOMER"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE", "GOOGLE_WORKSPACE", ] - dataStoreConfigType: typing_extensions.Literal[ + dataStoreConfigType: typing.Literal[ "DATA_STORE_CONFIG_TYPE_UNSPECIFIED", "ALLOW_DB_CONFIG", "THIRD_PARTY_OAUTH_CONFIG", @@ -7545,7 +7510,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent( entityName: str id: str name: str - workspaceType: typing_extensions.Literal[ + workspaceType: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -7555,11 +7520,12 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facetField: _list[GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField] fieldsUiComponentsMap: dict[str, typing.Any] @@ -7568,14 +7534,14 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str field: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shortcuts: _list[ GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut @@ -7583,48 +7549,44 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str icon: GoogleCloudDiscoveryengineV1alphaWidgetConfigImage title: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaWidgetConfigImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaWidgetConfigImage(typing.TypedDict, total=False): url: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaWidgetConfigNode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaWidgetConfigNode(typing.TypedDict, total=False): description: str displayName: str iconUrl: str outputSchema: dict[str, typing.Any] parameterSchema: dict[str, typing.Any] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRIGGER", "FLOW", "CONNECTOR"] + type: typing.Literal["TYPE_UNSPECIFIED", "TRIGGER", "FLOW", "CONNECTOR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceVisibility: _list[ - typing_extensions.Literal["DEVICE_VISIBILITY_UNSPECIFIED", "MOBILE", "DESKTOP"] + typing.Literal["DEVICE_VISIBILITY_UNSPECIFIED", "MOBILE", "DESKTOP"] ] displayTemplate: str field: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): logo: GoogleCloudDiscoveryengineV1alphaWidgetConfigImage @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreUiConfigs: _list[ GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig @@ -7642,7 +7604,8 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( generativeAnswerConfig: ( GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig ) - interactionType: typing_extensions.Literal[ + googleDrivePickerEnabled: bool + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "SEARCH_ONLY", "SEARCH_WITH_ANSWER", @@ -7652,22 +7615,24 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo ) modelConfigs: dict[str, typing.Any] - resultDescriptionType: typing_extensions.Literal[ + onedrivePickerEnabled: bool + resultDescriptionType: typing.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] searchAddonSpec: ( GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec ) + sourceAdminDisplayNameEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableRelatedQuestions: bool ignoreAdversarialQuery: bool ignoreLowRelevantContent: bool ignoreNonAnswerSeekingQuery: bool - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -7681,7 +7646,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerCon @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultModelId: str resolvedModels: _list[ @@ -7690,30 +7655,38 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + adminView: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView description: str displayName: str icon: str isPreview: bool + label: str modelId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView( + typing.TypedDict, total=False +): + adminOverridable: bool + enabledByDefault: bool + regions: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeAnswerAddOnDisabled: bool kpiPersonalizationAddOnDisabled: bool semanticAddOnDisabled: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -7723,32 +7696,29 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaWorkspaceSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaWorkspaceSettings(typing.TypedDict, total=False): customerDomainValid: bool workspaceAccessEnabled: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAclConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1betaIdpConfig name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAgentGatewaySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference @@ -7756,26 +7726,26 @@ class GoogleCloudDiscoveryengineV1betaAgentGatewaySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -7784,28 +7754,26 @@ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCmekConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1betaSingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -7819,29 +7787,23 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCondition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1betaConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1betaConditionQueryTerm] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1betaControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1betaCondition] @@ -7850,7 +7812,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total name: str promoteAction: GoogleCloudDiscoveryengineV1betaControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1betaControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -7860,7 +7822,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total ] synonymsAction: GoogleCloudDiscoveryengineV1betaControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -7868,9 +7830,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaControlBoostAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaControlBoostAction(typing.TypedDict, total=False): boost: float dataStore: str filter: str @@ -7881,113 +7841,109 @@ class GoogleCloudDiscoveryengineV1betaControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlFilterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlPromoteAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1betaSearchLinkPromotion @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlRedirectAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): redirectUri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlSynonymsAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): synonyms: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qpsTimeSeries: GoogleMonitoringV3TimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDataStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -8003,7 +7959,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ) healthcareFhirConfig: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig identityMappingStore: str - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -8017,7 +7973,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore ) solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -8031,7 +7987,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -8042,7 +7998,7 @@ class GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig @@ -8054,7 +8010,7 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -8062,15 +8018,15 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -8083,26 +8039,26 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries @@ -8111,61 +8067,61 @@ class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: ( GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig @@ -8178,20 +8134,20 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -8199,12 +8155,12 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -8217,33 +8173,33 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaEngine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1betaAgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -8253,11 +8209,11 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -8272,7 +8228,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig procurementContactEmails: _list[str] searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -8284,7 +8240,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentCreationConfig: ( GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig @@ -8294,7 +8250,7 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -8303,19 +8259,17 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaEngineCommonConfig(typing.TypedDict, total=False): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -8327,7 +8281,7 @@ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -8336,47 +8290,45 @@ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -8392,18 +8344,17 @@ class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaEvaluation(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -8411,26 +8362,26 @@ class GoogleCloudDiscoveryengineV1betaEvaluation( evaluationSpec: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec name: str qualityMetrics: GoogleCloudDiscoveryengineV1betaQualityMetrics - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySetSpec: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec searchRequest: GoogleCloudDiscoveryengineV1betaSearchRequest @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQuerySet: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool @@ -8438,28 +8389,26 @@ class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaIdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaIdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8468,14 +8417,14 @@ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8485,26 +8434,24 @@ class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8514,21 +8461,21 @@ class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -8536,7 +8483,7 @@ class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8545,7 +8492,7 @@ class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -8553,37 +8500,32 @@ class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaLanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaLanguageInfo(typing.TypedDict, total=False): language: str languageCode: str normalizedLanguageCode: str region: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaLicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaLicenseConfig(typing.TypedDict, total=False): autoRenew: bool earlyTerminated: bool earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -8591,14 +8533,14 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -8614,24 +8556,25 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObservabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries @@ -8640,17 +8583,17 @@ class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( organicCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries ) - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaProject(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus ) @@ -8664,7 +8607,7 @@ class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -8675,26 +8618,26 @@ class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig @@ -8702,7 +8645,7 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -8711,43 +8654,43 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectServiceTerms( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -8757,29 +8700,27 @@ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str purgeSample: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaQualityMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaQualityMetrics(typing.TypedDict, total=False): docNdcg: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics docPrecision: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics docRecall: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics @@ -8788,7 +8729,7 @@ class GoogleCloudDiscoveryengineV1betaQualityMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): top1: float top10: float @@ -8797,27 +8738,27 @@ class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaSchema(typing.TypedDict, total=False): jsonSchema: str name: str structSchema: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str document: str @@ -8827,9 +8768,7 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec branch: str canonicalFilter: str @@ -8861,7 +8800,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str - rankingExpressionBackend: typing_extensions.Literal[ + rankingExpressionBackend: typing.Literal[ "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", "BYOE", "CLEARBOX", @@ -8873,7 +8812,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool @@ -8893,7 +8832,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec @@ -8901,7 +8840,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec @@ -8909,33 +8848,31 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec extractiveContentSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: ( @@ -8947,14 +8884,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -8964,7 +8901,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveCo @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -8972,7 +8909,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -8988,21 +8925,21 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -9011,23 +8948,23 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str maxCount: int - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressionsToPrecompute: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec customSearchOperators: str @@ -9037,9 +8974,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchHighlightingCondition: typing_extensions.Literal[ + matchHighlightingCondition: typing.Literal[ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", "MATCH_HIGHLIGHTING_DISABLED", "MATCH_HIGHLIGHTING_ENABLED", @@ -9047,7 +8984,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingVectors: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector @@ -9055,14 +8992,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldPath: str vector: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableDynamicPosition: bool excludedFilterKeys: _list[str] @@ -9071,7 +9008,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -9083,61 +9020,61 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageBytes: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedFieldNames: _list[str] - extractedFilterBehavior: typing_extensions.Literal[ + extractedFilterBehavior: typing.Literal[ "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" ] - filterExtractionCondition: typing_extensions.Literal[ + filterExtractionCondition: typing.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] geoSearchQueryDetectionFieldNames: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] semanticRelevanceThreshold: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRelevanceScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableGenerativeAnswerAddOn: bool disableKpiPersonalizationAddOn: bool @@ -9145,68 +9082,62 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryId: str searchResultPersistenceCount: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - siteVerificationState: typing_extensions.Literal[ + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSitemap(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaSitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTargetSite( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -9219,31 +9150,31 @@ class GoogleCloudDiscoveryengineV1betaTargetSite( providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1betaSiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -9252,34 +9183,30 @@ class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse( modelStatus: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata(typing.TypedDict, total=False): engine: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTuneEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserInfo(typing.TypedDict, total=False): preciseLocation: GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation timeZone: str userAgent: str @@ -9287,18 +9214,16 @@ class GoogleCloudDiscoveryengineV1betaUserInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str point: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserLicense( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -9312,9 +9237,7 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserStore(typing.TypedDict, total=False): defaultLicenseConfig: str displayName: str enableExpiredLicenseAutoUpdate: bool @@ -9322,13 +9245,11 @@ class GoogleCloudDiscoveryengineV1betaUserStore( name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaWorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -9338,14 +9259,13 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleCloudNotebooklmV1alphaAccountAndRole( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaAccountAndRole(typing.TypedDict, total=False): email: str - role: typing_extensions.Literal[ + role: typing.Literal[ "PROJECT_ROLE_UNKNOWN", "PROJECT_ROLE_OWNER", "PROJECT_ROLE_WRITER", @@ -9354,24 +9274,18 @@ class GoogleCloudNotebooklmV1alphaAccountAndRole( ] @typing.type_check_only -class GoogleCloudNotebooklmV1alphaAgentspaceMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaAgentspaceMetadata(typing.TypedDict, total=False): documentName: str documentTitle: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaAudioOverview( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaAudioOverview(typing.TypedDict, total=False): audioOverviewId: str generationOptions: GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions languageCode: str - mimeType: typing_extensions.Literal[ - "MIME_TYPE_UNKNOWN", "MIME_TYPE_WAV", "MIME_TYPE_MP4" - ] + mimeType: typing.Literal["MIME_TYPE_UNKNOWN", "MIME_TYPE_WAV", "MIME_TYPE_MP4"] name: str - status: typing_extensions.Literal[ + status: typing.Literal[ "AUDIO_OVERVIEW_STATUS_UNSPECIFIED", "AUDIO_OVERVIEW_STATUS_NOT_STARTED", "AUDIO_OVERVIEW_STATUS_IN_PROGRESS", @@ -9381,7 +9295,7 @@ class GoogleCloudNotebooklmV1alphaAudioOverview( @typing.type_check_only class GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): episodeFocus: str languageCode: str @@ -9389,48 +9303,46 @@ class GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions( @typing.type_check_only class GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userContents: _list[GoogleCloudNotebooklmV1alphaUserContent] @typing.type_check_only class GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sources: _list[GoogleCloudNotebooklmV1alphaSource] @typing.type_check_only class GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only -class GoogleCloudNotebooklmV1alphaCmekConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudNotebooklmV1alphaCmekConfig(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only class GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generationOptions: GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions @typing.type_check_only class GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioOverview: GoogleCloudNotebooklmV1alphaAudioOverview @typing.type_check_only -class GoogleCloudNotebooklmV1alphaFailureReason( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaFailureReason(typing.TypedDict, total=False): audioTranscriptionError: ( GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError ) @@ -9450,7 +9362,7 @@ class GoogleCloudNotebooklmV1alphaFailureReason( @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageDetectionFailed: GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed noAudioDetected: ( @@ -9459,22 +9371,22 @@ class GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError( @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): downloadPrevented: ( GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented @@ -9482,51 +9394,51 @@ class GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError( @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonIngestionError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonPaywallError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): wordCount: int wordLimit: int @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - errorDetails: typing_extensions.Literal[ + errorDetails: typing.Literal[ "ERROR_REASON_UNSPECIFIED", "ERROR_REASON_INVALID_URL", "ERROR_REASON_NOT_ACCESSIBLE", @@ -9539,41 +9451,41 @@ class GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable( @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonUnknown( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonUploadError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): videoDeleted: GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: str revisionId: str @typing.type_check_only class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str notebooks: _list[GoogleCloudNotebooklmV1alphaNotebook] @typing.type_check_only -class GoogleCloudNotebooklmV1alphaNotebook(typing_extensions.TypedDict, total=False): +class GoogleCloudNotebooklmV1alphaNotebook(typing.TypedDict, total=False): cmekConfig: GoogleCloudNotebooklmV1alphaCmekConfig emoji: str metadata: GoogleCloudNotebooklmV1alphaNotebookMetadata @@ -9583,28 +9495,24 @@ class GoogleCloudNotebooklmV1alphaNotebook(typing_extensions.TypedDict, total=Fa title: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaNotebookMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaNotebookMetadata(typing.TypedDict, total=False): createTime: str isShareable: bool isShared: bool lastViewed: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaShareNotebookRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaShareNotebookRequest(typing.TypedDict, total=False): accountAndRoles: _list[GoogleCloudNotebooklmV1alphaAccountAndRole] notifyViaEmail: bool @typing.type_check_only class GoogleCloudNotebooklmV1alphaShareNotebookResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudNotebooklmV1alphaSource(typing_extensions.TypedDict, total=False): +class GoogleCloudNotebooklmV1alphaSource(typing.TypedDict, total=False): metadata: GoogleCloudNotebooklmV1alphaSourceMetadata name: str settings: GoogleCloudNotebooklmV1alphaSourceSettings @@ -9612,13 +9520,11 @@ class GoogleCloudNotebooklmV1alphaSource(typing_extensions.TypedDict, total=Fals title: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaSourceId(typing_extensions.TypedDict, total=False): +class GoogleCloudNotebooklmV1alphaSourceId(typing.TypedDict, total=False): id: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaSourceMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaSourceMetadata(typing.TypedDict, total=False): agentspaceMetadata: GoogleCloudNotebooklmV1alphaAgentspaceMetadata googleDocsMetadata: GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata sourceAddedTimestamp: str @@ -9627,11 +9533,9 @@ class GoogleCloudNotebooklmV1alphaSourceMetadata( youtubeMetadata: GoogleCloudNotebooklmV1alphaYoutubeMetadata @typing.type_check_only -class GoogleCloudNotebooklmV1alphaSourceSettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaSourceSettings(typing.TypedDict, total=False): failureReason: GoogleCloudNotebooklmV1alphaFailureReason - status: typing_extensions.Literal[ + status: typing.Literal[ "SOURCE_STATUS_UNSPECIFIED", "SOURCE_STATUS_PENDING", "SOURCE_STATUS_COMPLETE", @@ -9641,7 +9545,7 @@ class GoogleCloudNotebooklmV1alphaSourceSettings( ] @typing.type_check_only -class GoogleCloudNotebooklmV1alphaUserContent(typing_extensions.TypedDict, total=False): +class GoogleCloudNotebooklmV1alphaUserContent(typing.TypedDict, total=False): agentspaceContent: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent googleDriveContent: GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent textContent: GoogleCloudNotebooklmV1alphaUserContentTextContent @@ -9650,7 +9554,7 @@ class GoogleCloudNotebooklmV1alphaUserContent(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentName: str engineName: str @@ -9658,68 +9562,60 @@ class GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent( @typing.type_check_only class GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: str mimeType: str sourceName: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaUserContentTextContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaUserContentTextContent(typing.TypedDict, total=False): content: str sourceName: str @typing.type_check_only class GoogleCloudNotebooklmV1alphaUserContentVideoContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): youtubeUrl: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaUserContentWebContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaUserContentWebContent(typing.TypedDict, total=False): sourceName: str url: str @typing.type_check_only -class GoogleCloudNotebooklmV1alphaYoutubeMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNotebooklmV1alphaYoutubeMetadata(typing.TypedDict, total=False): channelName: str videoId: str @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -9727,27 +9623,27 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleMonitoringV3Point(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3Point(typing.TypedDict, total=False): interval: GoogleMonitoringV3TimeInterval value: GoogleMonitoringV3TypedValue @typing.type_check_only -class GoogleMonitoringV3TimeInterval(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TimeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleMonitoringV3TimeSeries(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TimeSeries(typing.TypedDict, total=False): description: str metadata: GoogleApiMonitoredResourceMetadata metric: GoogleApiMetric - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] points: _list[GoogleMonitoringV3Point] resource: GoogleApiMonitoredResource unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -9758,7 +9654,7 @@ class GoogleMonitoringV3TimeSeries(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleMonitoringV3TypedValue(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TypedValue(typing.TypedDict, total=False): boolValue: bool distributionValue: GoogleApiDistribution doubleValue: float @@ -9766,22 +9662,22 @@ class GoogleMonitoringV3TypedValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -9793,18 +9689,18 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi index cec065ca0..cf166f2a8 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -2503,6 +2502,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest, **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponseHttpRequest: ... + def provision( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaProvisionProjectRequest, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def removeDedicatedCrawlRate( self, *, diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index 387b3e9f3..5c0719cb9 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleApiDistribution(typing_extensions.TypedDict, total=False): +class GoogleApiDistribution(typing.TypedDict, total=False): bucketCounts: _list[str] bucketOptions: GoogleApiDistributionBucketOptions count: str @@ -15,68 +13,62 @@ class GoogleApiDistribution(typing_extensions.TypedDict, total=False): sumOfSquaredDeviation: float @typing.type_check_only -class GoogleApiDistributionBucketOptions(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionBucketOptions(typing.TypedDict, total=False): explicitBuckets: GoogleApiDistributionBucketOptionsExplicit exponentialBuckets: GoogleApiDistributionBucketOptionsExponential linearBuckets: GoogleApiDistributionBucketOptionsLinear @typing.type_check_only -class GoogleApiDistributionBucketOptionsExplicit( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsExplicit(typing.TypedDict, total=False): bounds: _list[float] @typing.type_check_only -class GoogleApiDistributionBucketOptionsExponential( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsExponential(typing.TypedDict, total=False): growthFactor: float numFiniteBuckets: int scale: float @typing.type_check_only -class GoogleApiDistributionBucketOptionsLinear( - typing_extensions.TypedDict, total=False -): +class GoogleApiDistributionBucketOptionsLinear(typing.TypedDict, total=False): numFiniteBuckets: int offset: float width: float @typing.type_check_only -class GoogleApiDistributionExemplar(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionExemplar(typing.TypedDict, total=False): attachments: _list[dict[str, typing.Any]] timestamp: str value: float @typing.type_check_only -class GoogleApiDistributionRange(typing_extensions.TypedDict, total=False): +class GoogleApiDistributionRange(typing.TypedDict, total=False): max: float min: float @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleApiMetric(typing_extensions.TypedDict, total=False): +class GoogleApiMetric(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class GoogleApiMonitoredResource(typing_extensions.TypedDict, total=False): +class GoogleApiMonitoredResource(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class GoogleApiMonitoredResourceMetadata(typing_extensions.TypedDict, total=False): +class GoogleApiMonitoredResourceMetadata(typing.TypedDict, total=False): systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectorRun: str dataConnector: str @@ -87,16 +79,12 @@ class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext( syncType: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingErrorContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingErrorContext(typing.TypedDict, total=False): httpRequest: GoogleCloudDiscoveryengineLoggingHttpRequestContext reportLocation: GoogleCloudDiscoveryengineLoggingSourceLocation @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingErrorLog( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingErrorLog(typing.TypedDict, total=False): connectorRunPayload: GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext context: GoogleCloudDiscoveryengineLoggingErrorContext importPayload: GoogleCloudDiscoveryengineLoggingImportErrorContext @@ -108,13 +96,13 @@ class GoogleCloudDiscoveryengineLoggingErrorLog( @typing.type_check_only class GoogleCloudDiscoveryengineLoggingHttpRequestContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseStatusCode: int @typing.type_check_only class GoogleCloudDiscoveryengineLoggingImportErrorContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str gcsPath: str @@ -123,26 +111,20 @@ class GoogleCloudDiscoveryengineLoggingImportErrorContext( userEvent: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingServiceContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingServiceContext(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudDiscoveryengineLoggingSourceLocation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineLoggingSourceLocation(typing.TypedDict, total=False): functionName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AclConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1AclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1IdpConfig name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ActionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ActionConfig(typing.TypedDict, total=False): actionParams: dict[str, typing.Any] createBapConnection: bool isActionConfigured: bool @@ -152,36 +134,30 @@ class GoogleCloudDiscoveryengineV1ActionConfig( userDefinedScopesMapping: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ActionConfigScopeList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ActionConfigScopeList(typing.TypedDict, total=False): scopes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1AgentGatewaySetting( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AgentGatewaySetting(typing.TypedDict, total=False): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference ) @typing.type_check_only class GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AlertPolicyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AlertPolicyConfig(typing.TypedDict, total=False): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment ] @@ -189,24 +165,20 @@ class GoogleCloudDiscoveryengineV1AlertPolicyConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1AnswerGenerationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AnswerGenerationSpec(typing.TypedDict, total=False): userDefinedClassifierSpec: ( GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec ) @typing.type_check_only class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableUserDefinedClassifier: bool modelId: str @@ -218,7 +190,7 @@ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( topP: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Assistant(typing.TypedDict, total=False): createTime: str customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy defaultWebGroundingToggleOff: bool @@ -228,7 +200,7 @@ class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=F generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig name: str updateTime: str - webGroundingType: typing_extensions.Literal[ + webGroundingType: typing.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", "WEB_GROUNDING_TYPE_DISABLED", "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", @@ -237,7 +209,7 @@ class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[ GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase @@ -248,10 +220,10 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreDiacritics: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", "SIMPLE_STRING_MATCH", "WORD_BOUNDARY_STRING_MATCH", @@ -260,17 +232,15 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - failureMode: typing_extensions.Literal[ - "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" - ] + failureMode: typing.Literal["FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED"] responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedModelIds: _list[str] defaultLanguage: str @@ -281,28 +251,24 @@ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSystemInstruction: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantToolInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantToolInfo(typing.TypedDict, total=False): toolDisplayName: str toolName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1AssistantToolList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1AssistantToolList(typing.TypedDict, total=False): toolInfo: _list[GoogleCloudDiscoveryengineV1AssistantToolInfo] @typing.type_check_only -class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1BAPConfig(typing.TypedDict, total=False): enabledActions: _list[str] supportedConnectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -313,27 +279,27 @@ class GoogleCloudDiscoveryengineV1BAPConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1BAPConfigToolspecOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseVersion: str tools: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1TargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -342,30 +308,30 @@ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1UserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CliConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1CliConfig(typing.TypedDict, total=False): enabledActions: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1CmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1SingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -379,33 +345,29 @@ class GoogleCloudDiscoveryengineV1CmekConfig(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1Collection(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Collection(typing.TypedDict, total=False): createTime: str displayName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Condition(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Condition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1ConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1ConditionQueryTerm] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Control(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1ControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1Condition] @@ -414,7 +376,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal name: str promoteAction: GoogleCloudDiscoveryengineV1ControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1ControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -424,7 +386,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal ] synonymsAction: GoogleCloudDiscoveryengineV1ControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -432,9 +394,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlBoostAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlBoostAction(typing.TypedDict, total=False): boost: float dataStore: str filter: str @@ -445,94 +405,76 @@ class GoogleCloudDiscoveryengineV1ControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlFilterAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlFilterAction(typing.TypedDict, total=False): dataStore: str filter: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlPromoteAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlPromoteAction(typing.TypedDict, total=False): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1SearchLinkPromotion @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlRedirectAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlRedirectAction(typing.TypedDict, total=False): redirectUri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ControlSynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ControlSynonymsAction(typing.TypedDict, total=False): synonyms: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateEngineMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1CreateSitemapMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1CreateSitemapMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DataConnector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DataConnector(typing.TypedDict, total=False): aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1ActionConfig - actionState: typing_extensions.Literal[ + actionState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -546,7 +488,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( autoRunDisabled: bool bapConfig: GoogleCloudDiscoveryengineV1BAPConfig blockingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", @@ -555,7 +497,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] cliConfig: GoogleCloudDiscoveryengineV1CliConfig connectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -565,7 +507,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] ] connectorSourceId: str - connectorType: typing_extensions.Literal[ + connectorType: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", "GCP_FHIR", @@ -602,11 +544,13 @@ class GoogleCloudDiscoveryengineV1DataConnector( kmsKeyName: str lastSyncTime: str latestPauseTime: str + metadata: GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str - realtimeState: typing_extensions.Literal[ + realtimeState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -619,7 +563,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( realtimeSyncConfig: GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig refreshInterval: str removeParamKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -631,13 +575,24 @@ class GoogleCloudDiscoveryengineV1DataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + syncMode: typing.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + tag: str updateTime: str vpcscEnabled: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1DataConnectorConnectorMetadata( + typing.TypedDict, total=False +): + author: str + description: str + note: str + shortDescription: str + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -646,7 +601,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -654,7 +609,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): realtimeSyncSecret: str streamingError: ( @@ -664,10 +619,10 @@ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - streamingErrorReason: typing_extensions.Literal[ + streamingErrorReason: typing.Literal[ "STREAMING_ERROR_REASON_UNSPECIFIED", "STREAMING_SETUP_ERROR", "STREAMING_SYNC_ERROR", @@ -676,7 +631,7 @@ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str entityName: str @@ -687,18 +642,18 @@ class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity( startingSchema: GoogleCloudDiscoveryengineV1Schema @typing.type_check_only -class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1DataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -712,7 +667,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F federatedSearchConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig healthcareFhirConfig: GoogleCloudDiscoveryengineV1HealthcareFhirConfig identityMappingStore: str - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -723,7 +678,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F ) servingConfigDataStore: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -737,7 +692,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -748,7 +703,7 @@ class GoogleCloudDiscoveryengineV1DataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig @@ -762,7 +717,7 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -770,15 +725,15 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -791,83 +746,75 @@ class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAll @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteEngineMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DeleteSitemapMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1DestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1DestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudDiscoveryengineV1DestinationConfigDestination] jsonParams: str key: str @@ -875,26 +822,26 @@ class GoogleCloudDiscoveryengineV1DestinationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DestinationConfigDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig defaultParsingConfig: ( @@ -905,20 +852,20 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -926,12 +873,12 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -944,13 +891,13 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar @typing.type_check_only class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1DynamicTool(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1DynamicTool(typing.TypedDict, total=False): description: str displayName: str enabled: bool @@ -958,26 +905,26 @@ class GoogleCloudDiscoveryengineV1DynamicTool(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Engine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1AgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -987,11 +934,11 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -1006,7 +953,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig procurementContactEmails: _list[str] searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1017,9 +964,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1EngineChatEngineConfig(typing.TypedDict, total=False): agentCreationConfig: ( GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig ) @@ -1028,7 +973,7 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -1037,19 +982,17 @@ class GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1EngineCommonConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1EngineCommonConfig(typing.TypedDict, total=False): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -1059,7 +1002,7 @@ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -1068,47 +1011,45 @@ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -1124,51 +1065,48 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1HealthcareFhirConfig(typing.TypedDict, total=False): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdentityScheduleConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1IdentityScheduleConfig(typing.TypedDict, total=False): nextSyncTime: GoogleTypeDateTime refreshInterval: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1IdpConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1IdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -1177,14 +1115,14 @@ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -1194,33 +1132,31 @@ class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -1228,7 +1164,7 @@ class GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -1237,7 +1173,7 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -1245,19 +1181,18 @@ class GoogleCloudDiscoveryengineV1ImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1LicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1LicenseConfig(typing.TypedDict, total=False): autoRenew: bool earlyTerminated: bool earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -1265,14 +1200,14 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -1288,23 +1223,22 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1ObservabilityConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ObservabilityConfig(typing.TypedDict, total=False): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Project(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus ) @@ -1316,7 +1250,7 @@ class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -1327,26 +1261,26 @@ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig @@ -1354,7 +1288,7 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -1363,58 +1297,54 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ProjectServiceTerms( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ProjectServiceTerms(typing.TypedDict, total=False): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1ProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeSucceeded: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str ignoredCount: str @@ -1422,36 +1352,32 @@ class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Schema(typing.TypedDict, total=False): jsonSchema: str name: str structSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1SearchLinkPromotion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SearchLinkPromotion(typing.TypedDict, total=False): description: str document: str enabled: bool @@ -1461,13 +1387,13 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec extractiveContentSpec: ( GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec ) - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec @@ -1475,14 +1401,14 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -1492,7 +1418,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveConten @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -1500,7 +1426,7 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -1517,20 +1443,18 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1ServingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1ServingConfig(typing.TypedDict, total=False): answerGenerationSpec: GoogleCloudDiscoveryengineV1AnswerGenerationSpec boostControlIds: _list[str] createTime: str @@ -1548,7 +1472,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( rankingExpression: str redirectControlIds: _list[str] replacementControlIds: _list[str] - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1561,13 +1485,13 @@ class GoogleCloudDiscoveryengineV1ServingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1ServingConfigGenericConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSearchSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentFreshnessCutoffDays: int contentWatchedPercentageThreshold: float @@ -1577,36 +1501,32 @@ class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1SingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1SingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1SiteVerificationInfo( - typing_extensions.TypedDict, total=False -): - siteVerificationState: typing_extensions.Literal[ +class GoogleCloudDiscoveryengineV1SiteVerificationInfo(typing.TypedDict, total=False): + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Sitemap(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Sitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1TargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1TargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -1619,37 +1539,37 @@ class GoogleCloudDiscoveryengineV1TargetSite(typing_extensions.TypedDict, total= providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1SiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1Tenant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1Tenant(typing.TypedDict, total=False): displayName: str id: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1ImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -1659,30 +1579,28 @@ class GoogleCloudDiscoveryengineV1TrainCustomModelResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -1696,7 +1614,7 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1UserStore(typing.TypedDict, total=False): defaultLicenseConfig: str displayName: str enableExpiredLicenseAutoUpdate: bool @@ -1704,13 +1622,11 @@ class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=F name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1WorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1WorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -1720,19 +1636,16 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAclConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaActionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaActionConfig(typing.TypedDict, total=False): actionParams: dict[str, typing.Any] createBapConnection: bool isActionConfigured: bool @@ -1743,27 +1656,27 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaActionConfigScopeList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scopes: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference @@ -1771,14 +1684,12 @@ class GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig(typing.TypedDict, total=False): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment ] @@ -1786,16 +1697,14 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATES_UNSPECIFIED", "ENROLLED", "DECLINED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertEnrollments: _list[ GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment @@ -1807,18 +1716,167 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alertId: str - enrollState: typing_extensions.Literal[ - "ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollState: typing.Literal["ENROLL_STATE_UNSPECIFIED", "ENROLLED", "DECLINED"] notificationParams: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights( + typing.TypedDict, total=False +): + insights: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight( + typing.TypedDict, total=False +): + label: str + text: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores( + typing.TypedDict, total=False +): + scores: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore( + typing.TypedDict, total=False +): + metric: str + score: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment( + typing.TypedDict, total=False +): + config: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig + createTime: str + initialAlphaEvolveProgram: str + name: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "CREATED", "RUNNING", "PAUSED", "COMPLETED", "FAILED" + ] + stats: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig( + typing.TypedDict, total=False +): + evolutionSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings + ) + generationSettings: ( + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings + ) + problemDescription: str + programLanguage: str + runSettings: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings( + typing.TypedDict, total=False +): + parentSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig( + typing.TypedDict, total=False +): + paretoSamplingConfig: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig( + typing.TypedDict, total=False +): + paretoSamplingProbability: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings( + typing.TypedDict, total=False +): + context: str + includeFullProgramInPrompt: bool + models: _list[ + GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig( + typing.TypedDict, total=False +): + name: str + weight: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings( + typing.TypedDict, total=False +): + concurrency: int + maxDuration: str + maxPrograms: int + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats( + typing.TypedDict, total=False +): + candidatesCount: int + evaluatedCandidatesCount: int + inputTokenCount: str + outputTokenCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram( + typing.TypedDict, total=False +): + content: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent + createTime: str + evaluation: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation + lockToken: str + name: str + parentPrograms: _list[str] + state: typing.Literal[ + "PROGRAM_STATE_UNSPECIFIED", + "INITIALIZED", + "GENERATING", + "EVALUATING", + "COMPLETED", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent( + typing.TypedDict, total=False +): + description: str + files: _list[GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation( + typing.TypedDict, total=False +): + insights: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights + scores: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile( + typing.TypedDict, total=False +): + content: str + description: str + path: str + programLanguage: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnswer(typing.TypedDict, total=False): answerSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ANSWER_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_ANSWER_SEEKING_QUERY_IGNORED", @@ -1847,44 +1905,42 @@ class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total references: _list[GoogleCloudDiscoveryengineV1alphaAnswerReference] relatedQuestions: _list[str] safetyRatings: _list[GoogleCloudDiscoveryengineV1alphaSafetyRating] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "STREAMING" ] steps: _list[GoogleCloudDiscoveryengineV1alphaAnswerStep] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionType: typing_extensions.Literal[ + attributionType: typing.Literal[ "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" ] data: GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerCitation(typing.TypedDict, total=False): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1alphaAnswerCitationSource] startIndex: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerCitationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingCheckRequired: bool @@ -1894,7 +1950,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryClassificationInfo: _list[ GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo @@ -1902,10 +1958,10 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): positive: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -1915,9 +1971,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassifi ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerReference(typing.TypedDict, total=False): chunkInfo: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo structuredDocumentInfo: ( GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo @@ -1928,7 +1982,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] chunk: str @@ -1940,7 +1994,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str pageIdentifier: str @@ -1950,7 +2004,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str structData: dict[str, typing.Any] @@ -1959,7 +2013,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent @@ -1971,7 +2025,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] content: str @@ -1979,26 +2033,20 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoCh relevanceScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStep( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerStep(typing.TypedDict, total=False): actions: _list[GoogleCloudDiscoveryengineV1alphaAnswerStepAction] description: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED"] thought: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAnswerStepAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAnswerStepAction(typing.TypedDict, total=False): observation: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation searchAction: GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult @@ -2006,7 +2054,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: _list[ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo @@ -2021,7 +2069,7 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -2029,23 +2077,21 @@ class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultCh @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippet: str snippetStatus: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistAnswer(typing.TypedDict, total=False): assistSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ASSIST_SKIPPED_REASON_UNSPECIFIED", "NON_ASSIST_SEEKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", @@ -2056,7 +2102,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistAnswer( ) name: str replies: _list[GoogleCloudDiscoveryengineV1alphaAssistAnswerReply] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", @@ -2067,45 +2113,44 @@ class GoogleCloudDiscoveryengineV1alphaAssistAnswer( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyResults: _list[ GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult ] - verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + verdict: typing.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + violationSource: typing.Literal[ + "VIOLATION_SOURCE_UNSPECIFIED", "SYSTEM", "PROMPT", "ATTACHMENT" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus modelArmorViolation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply(typing.TypedDict, total=False): createTime: str groundedContent: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent replyId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAssistantContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaAssistantContent(typing.TypedDict, total=False): codeExecutionResult: ( GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult ) @@ -2118,16 +2163,16 @@ class GoogleCloudDiscoveryengineV1alphaAssistantContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outcome: typing_extensions.Literal[ + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -2137,20 +2182,20 @@ class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantContentFile( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileId: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationMetadata: GoogleCloudDiscoveryengineV1alphaCitationMetadata content: GoogleCloudDiscoveryengineV1alphaAssistantContent @@ -2160,7 +2205,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): references: _list[ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference @@ -2174,7 +2219,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): codeSnippet: str content: str @@ -2182,11 +2227,11 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str domain: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -2194,7 +2239,7 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingScore: float @@ -2204,18 +2249,16 @@ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMeta @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentId: str referenceIndices: _list[int] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaBAPConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaBAPConfig(typing.TypedDict, total=False): enabledActions: _list[str] supportedConnectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -2226,27 +2269,27 @@ class GoogleCloudDiscoveryengineV1alphaBAPConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfigToolspecOverride( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseVersion: str tools: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1alphaTargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -2255,15 +2298,13 @@ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCitation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: GoogleTypeDate @@ -2272,34 +2313,28 @@ class GoogleCloudDiscoveryengineV1alphaCitation( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCitationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudDiscoveryengineV1alphaCitation] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCliConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCliConfig(typing.TypedDict, total=False): enabledActions: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCmekConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1alphaSingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -2313,47 +2348,41 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCollection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCollection(typing.TypedDict, total=False): createTime: str dataConnector: GoogleCloudDiscoveryengineV1alphaDataConnector displayName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaCondition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1alphaConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1alphaConditionQueryTerm] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullMatch: bool value: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConditionTimeRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConnectorRun( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaConnectorRun(typing.TypedDict, total=False): endTime: str entityRuns: _list[GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun] errors: _list[GoogleRpcStatus] latestPauseTime: str name: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", @@ -2365,13 +2394,13 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRun( "SKIPPED", ] stateUpdateTime: str - trigger: typing_extensions.Literal[ + trigger: typing.Literal[ "TRIGGER_UNSPECIFIED", "SCHEDULER", "INITIALIZATION", "RESUME", "MANUAL" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deletedRecordCount: str entityName: str @@ -2382,7 +2411,7 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( progress: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress scheduledRecordCount: str sourceApiRequestCount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", @@ -2395,28 +2424,24 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun( ] stateUpdateTime: str statsUpdateTime: str - syncType: typing_extensions.Literal[ + syncType: typing.Literal[ "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", "REALTIME", "SCALA_SYNC" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentCount: str percentile: float totalCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaContactDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaContactDetails(typing.TypedDict, total=False): emailAddress: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaControl( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1alphaControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1alphaCondition] @@ -2425,7 +2450,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( name: str promoteAction: GoogleCloudDiscoveryengineV1alphaControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1alphaControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -2435,7 +2460,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -2444,7 +2469,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float dataStore: str @@ -2456,111 +2481,107 @@ class GoogleCloudDiscoveryengineV1alphaControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlFilterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlPromoteAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlRedirectAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): redirectUri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaControlSynonymsAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): synonyms: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qpsTimeSeries: GoogleMonitoringV3TimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableSearchAdaptor: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDataConnector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDataConnector(typing.TypedDict, total=False): aclEnabled: bool actionConfig: GoogleCloudDiscoveryengineV1alphaActionConfig - actionState: typing_extensions.Literal[ + actionState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -2574,7 +2595,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( autoRunDisabled: bool bapConfig: GoogleCloudDiscoveryengineV1alphaBAPConfig blockingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BLOCKING_REASON_UNSPECIFIED", "ALLOWLIST_STATIC_IP", "ALLOWLIST_IN_SERVICE_ATTACHMENT", @@ -2583,7 +2604,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] cliConfig: GoogleCloudDiscoveryengineV1alphaCliConfig connectorModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", "ACTIONS", @@ -2593,7 +2614,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] ] connectorSourceId: str - connectorType: typing_extensions.Literal[ + connectorType: typing.Literal[ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", "GCP_FHIR", @@ -2631,11 +2652,13 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( kmsKeyName: str lastSyncTime: str latestPauseTime: str + metadata: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata name: str nextSyncTime: GoogleTypeDateTime + oauthStaticIpAddresses: _list[str] params: dict[str, typing.Any] privateConnectivityProjectId: str - realtimeState: typing_extensions.Literal[ + realtimeState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -2648,7 +2671,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( realtimeSyncConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig refreshInterval: str removeParamKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -2660,13 +2683,24 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( ] staticIpAddresses: _list[str] staticIpEnabled: bool - syncMode: typing_extensions.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + syncMode: typing.Literal["PERIODIC", "STREAMING", "UNSPECIFIED"] + tag: str updateTime: str vpcscEnabled: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata( + typing.TypedDict, total=False +): + author: str + description: str + note: str + shortDescription: str + title: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -2675,7 +2709,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalParams: dict[str, typing.Any] authParams: dict[str, typing.Any] @@ -2683,7 +2717,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): realtimeSyncSecret: str streamingError: ( @@ -2693,10 +2727,10 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - streamingErrorReason: typing_extensions.Literal[ + streamingErrorReason: typing.Literal[ "STREAMING_ERROR_REASON_UNSPECIFIED", "STREAMING_SETUP_ERROR", "STREAMING_SYNC_ERROR", @@ -2705,7 +2739,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingE @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str entityName: str @@ -2717,31 +2751,29 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDataStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -2757,9 +2789,10 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig ) healthcareFhirConfig: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig + iconUri: str identityMappingStore: str idpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfig - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -2773,7 +2806,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore ) solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -2787,7 +2820,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -2798,7 +2831,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig @@ -2810,7 +2843,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -2818,15 +2851,15 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConf @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -2839,26 +2872,26 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConf @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries @@ -2867,90 +2900,89 @@ class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str + updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination] jsonParams: str key: str @@ -2958,26 +2990,26 @@ class GoogleCloudDiscoveryengineV1alphaDestinationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): host: str port: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: ( GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig @@ -2990,20 +3022,20 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -3011,12 +3043,12 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -3029,15 +3061,13 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaDynamicTool( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaDynamicTool(typing.TypedDict, total=False): description: str displayName: str enabled: bool @@ -3045,26 +3075,26 @@ class GoogleCloudDiscoveryengineV1alphaDynamicTool( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaEngine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -3074,11 +3104,11 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -3099,7 +3129,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total similarDocumentsConfig: ( GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig ) - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -3111,7 +3141,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentCreationConfig: ( GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig @@ -3121,7 +3151,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -3130,19 +3160,19 @@ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -3154,7 +3184,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -3163,61 +3193,57 @@ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] lastTrainTime: str lastTuneTime: str - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] tuningOperation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -3233,36 +3259,35 @@ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataSizeBytes: str documentCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaEvaluation(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -3270,41 +3295,39 @@ class GoogleCloudDiscoveryengineV1alphaEvaluation( evaluationSpec: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec name: str qualityMetrics: GoogleCloudDiscoveryengineV1alphaQualityMetrics - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySetSpec: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec searchRequest: GoogleCloudDiscoveryengineV1alphaSearchRequest @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQuerySet: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaFieldConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaFieldConfig(typing.TypedDict, total=False): advancedSiteSearchDataSources: _list[ - typing_extensions.Literal[ + typing.Literal[ "ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED", "METATAGS", "PAGEMAP", @@ -3312,16 +3335,16 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "SCHEMA_ORG", ] ] - completableOption: typing_extensions.Literal[ + completableOption: typing.Literal[ "COMPLETABLE_OPTION_UNSPECIFIED", "COMPLETABLE_ENABLED", "COMPLETABLE_DISABLED" ] - dynamicFacetableOption: typing_extensions.Literal[ + dynamicFacetableOption: typing.Literal[ "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", "DYNAMIC_FACETABLE_ENABLED", "DYNAMIC_FACETABLE_DISABLED", ] fieldPath: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "FIELD_TYPE_UNSPECIFIED", "OBJECT", "STRING", @@ -3331,19 +3354,19 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "GEOLOCATION", "DATETIME", ] - indexableOption: typing_extensions.Literal[ + indexableOption: typing.Literal[ "INDEXABLE_OPTION_UNSPECIFIED", "INDEXABLE_ENABLED", "INDEXABLE_DISABLED" ] keyPropertyType: str metatagName: str - recsFilterableOption: typing_extensions.Literal[ + recsFilterableOption: typing.Literal[ "FILTERABLE_OPTION_UNSPECIFIED", "FILTERABLE_ENABLED", "FILTERABLE_DISABLED" ] - retrievableOption: typing_extensions.Literal[ + retrievableOption: typing.Literal[ "RETRIEVABLE_OPTION_UNSPECIFIED", "RETRIEVABLE_ENABLED", "RETRIEVABLE_DISABLED" ] schemaOrgPaths: _list[str] - searchableFieldImportance: typing_extensions.Literal[ + searchableFieldImportance: typing.Literal[ "SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED", "VERY_LOW_IMPORTANCE", "LOW_IMPORTANCE", @@ -3351,26 +3374,24 @@ class GoogleCloudDiscoveryengineV1alphaFieldConfig( "HIGH_IMPORTANCE", "VERY_HIGH_IMPORTANCE", ] - searchableOption: typing_extensions.Literal[ + searchableOption: typing.Literal[ "SEARCHABLE_OPTION_UNSPECIFIED", "SEARCHABLE_ENABLED", "SEARCHABLE_DISABLED" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGetSessionRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaGetSessionRequest(typing.TypedDict, total=False): includeAnswerDetails: bool name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentDataMap: dict[str, typing.Any] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool @@ -3378,7 +3399,7 @@ class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str @@ -3386,27 +3407,25 @@ class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextSyncTime: GoogleTypeDateTime refreshInterval: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaIdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaIdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -3415,14 +3434,14 @@ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -3432,26 +3451,24 @@ class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -3461,21 +3478,21 @@ class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -3483,7 +3500,7 @@ class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -3492,7 +3509,7 @@ class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -3500,27 +3517,21 @@ class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaLanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaLanguageInfo(typing.TypedDict, total=False): language: str languageCode: str normalizedLanguageCode: str region: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaLicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaLicenseConfig(typing.TypedDict, total=False): alertPolicyResourceConfig: ( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) @@ -3530,10 +3541,11 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -3541,14 +3553,14 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -3564,11 +3576,12 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str orderBy: str @@ -3578,27 +3591,27 @@ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSessionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessions: _list[GoogleCloudDiscoveryengineV1alphaSession] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObservabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries @@ -3607,18 +3620,18 @@ class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( organicCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries ) - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str filtersAddedCount: str @@ -3626,9 +3639,7 @@ class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaProject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaProject(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus ) @@ -3642,7 +3653,7 @@ class GoogleCloudDiscoveryengineV1alphaProject( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -3653,26 +3664,26 @@ class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig @@ -3680,7 +3691,7 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -3689,57 +3700,57 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeSucceeded: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -3749,28 +3760,28 @@ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str purgeSample: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -3779,14 +3790,12 @@ class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQualityMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaQualityMetrics(typing.TypedDict, total=False): docNdcg: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics docPrecision: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics docRecall: GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics @@ -3795,7 +3804,7 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): top1: float top10: float @@ -3803,16 +3812,14 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( top5: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaQuery(typing.TypedDict, total=False): createTime: str parts: _list[GoogleCloudDiscoveryengineV1alphaQueryPart] queryId: str text: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaQueryPart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaQueryPart(typing.TypedDict, total=False): documentReference: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference driveDocumentReference: ( GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference @@ -3824,7 +3831,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPart( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayTitle: str @@ -3835,7 +3842,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayTitle: str @@ -3846,7 +3853,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationUri: str displayName: str @@ -3858,7 +3865,7 @@ class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str invalidUris: _list[str] @@ -3875,7 +3882,7 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedUris: _list[str] failureSamples: _list[ @@ -3884,7 +3891,7 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureReasons: _list[ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason @@ -3893,47 +3900,50 @@ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - corpusType: typing_extensions.Literal[ - "CORPUS_TYPE_UNSPECIFIED", "DESKTOP", "MOBILE" - ] + corpusType: typing.Literal["CORPUS_TYPE_UNSPECIFIED", "DESKTOP", "MOBILE"] errorMessage: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filterGroups: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSafetyRating( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata( + typing.TypedDict, total=False ): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -3941,11 +3951,11 @@ class GoogleCloudDiscoveryengineV1alphaSafetyRating( "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -3955,7 +3965,7 @@ class GoogleCloudDiscoveryengineV1alphaSafetyRating( severityScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaSchema(typing.TypedDict, total=False): fieldConfigs: _list[GoogleCloudDiscoveryengineV1alphaFieldConfig] jsonSchema: str name: str @@ -3963,7 +3973,7 @@ class GoogleCloudDiscoveryengineV1alphaSchema(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str document: str @@ -3973,9 +3983,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec branch: str canonicalFilter: str @@ -4008,7 +4016,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec rankingExpression: str - rankingExpressionBackend: typing_extensions.Literal[ + rankingExpressionBackend: typing.Literal[ "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", "BYOE", "CLEARBOX", @@ -4020,7 +4028,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool @@ -4041,7 +4049,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec @@ -4049,7 +4057,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec @@ -4057,33 +4065,31 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec extractiveContentSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: ( @@ -4095,14 +4101,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -4112,7 +4118,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveC @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -4120,7 +4126,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -4136,21 +4142,21 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -4159,23 +4165,23 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str maxCount: int - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressionsToPrecompute: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec customSearchOperators: str @@ -4185,9 +4191,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchHighlightingCondition: typing_extensions.Literal[ + matchHighlightingCondition: typing.Literal[ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", "MATCH_HIGHLIGHTING_DISABLED", "MATCH_HIGHLIGHTING_ENABLED", @@ -4195,7 +4201,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingVectors: _list[ GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector @@ -4203,14 +4209,14 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldPath: str vector: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableDynamicPosition: bool excludedFilterKeys: _list[str] @@ -4219,7 +4225,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -4231,61 +4237,61 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageBytes: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedFieldNames: _list[str] - extractedFilterBehavior: typing_extensions.Literal[ + extractedFilterBehavior: typing.Literal[ "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" ] - filterExtractionCondition: typing_extensions.Literal[ + filterExtractionCondition: typing.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] geoSearchQueryDetectionFieldNames: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] semanticRelevanceThreshold: float @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRelevanceScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableGenerativeAnswerAddOn: bool disableKpiPersonalizationAddOn: bool @@ -4293,29 +4299,25 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryId: str searchResultPersistenceCount: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSession( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSession(typing.TypedDict, total=False): displayName: str endTime: str isPinned: bool @@ -4323,14 +4325,12 @@ class GoogleCloudDiscoveryengineV1alphaSession( name: str pendingAsyncAssistOperationId: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] turns: _list[GoogleCloudDiscoveryengineV1alphaSessionTurn] userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSessionTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSessionTurn(typing.TypedDict, total=False): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1alphaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1alphaAssistAnswer @@ -4340,66 +4340,73 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - siteVerificationState: typing_extensions.Literal[ + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaSitemap( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaSitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTargetSite( - typing_extensions.TypedDict, total=False +class GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata( + typing.TypedDict, total=False ): + createTime: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStartExperimentRequest( + typing.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaTargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -4412,37 +4419,37 @@ class GoogleCloudDiscoveryengineV1alphaTargetSite( providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaTenant(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1alphaTenant(typing.TypedDict, total=False): displayName: str id: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1alphaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -4452,54 +4459,52 @@ class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engine: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaTuneEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): session: GoogleCloudDiscoveryengineV1alphaSession updateMask: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserInfo(typing.TypedDict, total=False): preciseLocation: GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation timeZone: str userAgent: str @@ -4507,18 +4512,16 @@ class GoogleCloudDiscoveryengineV1alphaUserInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str point: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserLicense( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaUserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -4532,13 +4535,11 @@ class GoogleCloudDiscoveryengineV1alphaUserLicense( userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -4548,18 +4549,17 @@ class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAclConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAclConfig(typing.TypedDict, total=False): idpConfig: GoogleCloudDiscoveryengineV1betaIdpConfig name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec experimentIds: _list[str] @@ -4570,7 +4570,7 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest( GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec ] suggestionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", "QUERY", "PEOPLE", @@ -4584,7 +4584,7 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec @@ -4592,17 +4592,17 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float condition: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSuggestions: int - suggestionType: typing_extensions.Literal[ + suggestionType: typing.Literal[ "SUGGESTION_TYPE_UNSPECIFIED", "QUERY", "PEOPLE", @@ -4613,7 +4613,7 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionType @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSuggestions: _list[ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion @@ -4631,9 +4631,9 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contentType: typing_extensions.Literal[ + contentType: typing.Literal[ "CONTENT_TYPE_UNSPECIFIED", "GOOGLE_WORKSPACE", "THIRD_PARTY" ] dataStore: str @@ -4645,21 +4645,24 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSugges @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str destinationUri: str displayPhotoUri: str document: GoogleCloudDiscoveryengineV1betaDocument - personType: typing_extensions.Literal[ - "PERSON_TYPE_UNSPECIFIED", "CLOUD_IDENTITY", "THIRD_PARTY_IDENTITY" + personType: typing.Literal[ + "PERSON_TYPE_UNSPECIFIED", + "CLOUD_IDENTITY", + "THIRD_PARTY_IDENTITY", + "GOOGLE_GROUP", ] score: float suggestion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completableFieldPaths: _list[str] dataStore: _list[str] @@ -4668,7 +4671,7 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggesti @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSearchTime: str score: float @@ -4676,14 +4679,14 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchS @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableAutomaticRefresh: bool disableInitialIndex: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAgentGatewaySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultEgressAgentGateway: ( GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference @@ -4691,14 +4694,12 @@ class GoogleCloudDiscoveryengineV1betaAgentGatewaySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAlloyDbSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAlloyDbSource(typing.TypedDict, total=False): clusterId: str databaseId: str gcsStagingDir: str @@ -4707,9 +4708,9 @@ class GoogleCloudDiscoveryengineV1betaAlloyDbSource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAnswer(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaAnswer(typing.TypedDict, total=False): answerSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ANSWER_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_ANSWER_SEEKING_QUERY_IGNORED", @@ -4736,44 +4737,42 @@ class GoogleCloudDiscoveryengineV1betaAnswer(typing_extensions.TypedDict, total= references: _list[GoogleCloudDiscoveryengineV1betaAnswerReference] relatedQuestions: _list[str] safetyRatings: _list[GoogleCloudDiscoveryengineV1betaSafetyRating] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "STREAMING" ] steps: _list[GoogleCloudDiscoveryengineV1betaAnswerStep] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionType: typing_extensions.Literal[ + attributionType: typing.Literal[ "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" ] data: GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAnswerCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAnswerCitation(typing.TypedDict, total=False): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1betaAnswerCitationSource] startIndex: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerCitationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userDefinedClassifierSpec: ( GoogleCloudDiscoveryengineV1betaAnswerGenerationSpecUserDefinedClassifierSpec @@ -4781,7 +4780,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerGenerationSpecUserDefinedClassifierSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableUserDefinedClassifier: bool modelId: str @@ -4794,7 +4793,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerGenerationSpecUserDefinedClassifierS @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingCheckRequired: bool @@ -4803,9 +4802,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport( startIndex: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAnswerQueryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAnswerQueryRequest(typing.TypedDict, total=False): answerGenerationSpec: ( GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec ) @@ -4827,7 +4824,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerLanguageCode: str ignoreAdversarialQuery: bool @@ -4845,15 +4842,15 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelVersion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -4862,13 +4859,13 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMult @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endUserMetadata: _list[ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData @@ -4876,35 +4873,35 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str documentMetadata: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - filteringLevel: typing_extensions.Literal[ + filteringLevel: typing.Literal[ "FILTERING_LEVEL_UNSPECIFIED", "FILTERING_LEVEL_LOW", "FILTERING_LEVEL_HIGH" ] includeGroundingSupports: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableSpellCorrection: bool queryClassificationSpec: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec @@ -4912,10 +4909,10 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): types: _list[ - typing_extensions.Literal[ + typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -4927,7 +4924,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQu @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disable: bool maxRephraseSteps: int @@ -4935,19 +4932,19 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQu @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "SMALL", "LARGE"] + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "SMALL", "LARGE"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enable: bool safetySettings: _list[ @@ -4956,9 +4953,9 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpecSafetySetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -4966,7 +4963,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpecSafetySetting( "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - threshold: typing_extensions.Literal[ + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -4977,7 +4974,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpecSafetySetting( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchParams: ( GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams @@ -4988,7 +4985,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] @@ -4996,13 +4993,13 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams( maxReturnResults: int naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec orderBy: str - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult @@ -5010,14 +5007,14 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultLi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo unstructuredDocumentInfo: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -5025,14 +5022,14 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultLi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): title: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str documentContexts: _list[ @@ -5049,28 +5046,28 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultLi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str pageIdentifier: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: GoogleCloudDiscoveryengineV1betaAnswer answerQueryToken: str @@ -5078,7 +5075,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryClassificationInfo: _list[ GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo @@ -5086,10 +5083,10 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): positive: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "ADVERSARIAL_QUERY", "NON_ANSWER_SEEKING_QUERY", @@ -5099,9 +5096,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassific ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAnswerReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAnswerReference(typing.TypedDict, total=False): chunkInfo: GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo structuredDocumentInfo: ( GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo @@ -5112,7 +5107,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] chunk: str @@ -5124,7 +5119,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str pageIdentifier: str @@ -5134,7 +5129,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str structData: dict[str, typing.Any] @@ -5143,7 +5138,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent @@ -5155,7 +5150,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] content: str @@ -5163,26 +5158,20 @@ class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChu relevanceScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAnswerStep( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAnswerStep(typing.TypedDict, total=False): actions: _list[GoogleCloudDiscoveryengineV1betaAnswerStepAction] description: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", "SUCCEEDED"] thought: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAnswerStepAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAnswerStepAction(typing.TypedDict, total=False): observation: GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation searchAction: GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchResults: _list[ GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult @@ -5190,7 +5179,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkInfo: _list[ GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo @@ -5205,7 +5194,7 @@ class GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: str content: str @@ -5213,23 +5202,21 @@ class GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChu @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): snippet: str snippetStatus: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAssistAnswer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAssistAnswer(typing.TypedDict, total=False): assistSkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "ASSIST_SKIPPED_REASON_UNSPECIFIED", "NON_ASSIST_SEEKING_QUERY_IGNORED", "CUSTOMER_POLICY_VIOLATION", @@ -5240,7 +5227,7 @@ class GoogleCloudDiscoveryengineV1betaAssistAnswer( ) name: str replies: _list[GoogleCloudDiscoveryengineV1betaAssistAnswerReply] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "IN_PROGRESS", "FAILED", @@ -5251,51 +5238,48 @@ class GoogleCloudDiscoveryengineV1betaAssistAnswer( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyResults: _list[ GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult ] - verdict: typing_extensions.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + verdict: typing.Literal["UNSPECIFIED", "ALLOW", "BLOCK"] + violationSource: typing.Literal[ + "VIOLATION_SOURCE_UNSPECIFIED", "SYSTEM", "PROMPT", "ATTACHMENT" + ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus modelArmorViolation: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhraseEnforcementResult: GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult modelArmorEnforcementResult: GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAssistAnswerReply( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAssistAnswerReply(typing.TypedDict, total=False): createTime: str groundedContent: GoogleCloudDiscoveryengineV1betaAssistantGroundedContent @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAssistUserMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAssistUserMetadata(typing.TypedDict, total=False): preferredLanguageCode: str timeZone: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAssistant( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAssistant(typing.TypedDict, total=False): createTime: str customerPolicy: GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy defaultWebGroundingToggleOff: bool @@ -5305,7 +5289,7 @@ class GoogleCloudDiscoveryengineV1betaAssistant( generationConfig: GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig name: str updateTime: str - webGroundingType: typing_extensions.Literal[ + webGroundingType: typing.Literal[ "WEB_GROUNDING_TYPE_UNSPECIFIED", "WEB_GROUNDING_TYPE_DISABLED", "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", @@ -5313,9 +5297,7 @@ class GoogleCloudDiscoveryengineV1betaAssistant( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAssistantContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAssistantContent(typing.TypedDict, total=False): codeExecutionResult: ( GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult ) @@ -5328,16 +5310,16 @@ class GoogleCloudDiscoveryengineV1betaAssistantContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantContentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - outcome: typing_extensions.Literal[ + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -5347,20 +5329,20 @@ class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantContentFile( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileId: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bannedPhrases: _list[ GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase @@ -5371,10 +5353,10 @@ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreDiacritics: bool - matchType: typing_extensions.Literal[ + matchType: typing.Literal[ "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", "SIMPLE_STRING_MATCH", "WORD_BOUNDARY_STRING_MATCH", @@ -5383,17 +5365,15 @@ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - failureMode: typing_extensions.Literal[ - "FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED" - ] + failureMode: typing.Literal["FAILURE_MODE_UNSPECIFIED", "FAIL_OPEN", "FAIL_CLOSED"] responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedModelIds: _list[str] defaultLanguage: str @@ -5404,13 +5384,13 @@ class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalSystemInstruction: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationMetadata: GoogleCloudDiscoveryengineV1betaCitationMetadata content: GoogleCloudDiscoveryengineV1betaAssistantContent @@ -5420,7 +5400,7 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): references: _list[ GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference @@ -5434,7 +5414,7 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetad @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): codeSnippet: str content: str @@ -5442,11 +5422,11 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetad @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: str domain: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON", "SQL"] mimeType: str pageIdentifier: str title: str @@ -5454,7 +5434,7 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetad @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str groundingScore: float @@ -5464,46 +5444,42 @@ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetad @typing.type_check_only class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentId: str referenceIndices: _list[int] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAssistantToolInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAssistantToolInfo(typing.TypedDict, total=False): toolDisplayName: str toolName: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaAssistantToolList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaAssistantToolList(typing.TypedDict, total=False): toolInfo: _list[GoogleCloudDiscoveryengineV1betaAssistantToolInfo] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentsMetadata: _list[ GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata @@ -5511,25 +5487,25 @@ class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataIngestionSource: str lastRefreshedTime: str matcherValue: GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INDEXED", "NOT_IN_TARGET_SITE", "NOT_IN_INDEX" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fhirResource: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -5538,7 +5514,7 @@ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteUnassignedUserLicenses: bool inlineSource: ( @@ -5547,27 +5523,25 @@ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updateMask: str userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaBigQuerySource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaBigQuerySource(typing.TypedDict, total=False): dataSchema: str datasetId: str gcsStagingDir: str @@ -5576,20 +5550,18 @@ class GoogleCloudDiscoveryengineV1betaBigQuerySource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaBigtableOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaBigtableOptions(typing.TypedDict, total=False): families: dict[str, typing.Any] keyFieldName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] fieldName: str qualifier: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -5602,12 +5574,12 @@ class GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): columns: _list[GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn] - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] + encoding: typing.Literal["ENCODING_UNSPECIFIED", "TEXT", "BINARY"] fieldName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -5619,9 +5591,7 @@ class GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaBigtableSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaBigtableSource(typing.TypedDict, total=False): bigtableOptions: GoogleCloudDiscoveryengineV1betaBigtableOptions instanceId: str projectId: str @@ -5629,7 +5599,7 @@ class GoogleCloudDiscoveryengineV1betaBigtableSource( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCheckGroundingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerCandidate: str facts: _list[GoogleCloudDiscoveryengineV1betaGroundingFact] @@ -5638,7 +5608,7 @@ class GoogleCloudDiscoveryengineV1betaCheckGroundingRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCheckGroundingResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citedChunks: _list[GoogleCloudDiscoveryengineV1betaFactChunk] citedFacts: _list[ @@ -5649,13 +5619,13 @@ class GoogleCloudDiscoveryengineV1betaCheckGroundingResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkText: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citationIndices: _list[int] claimText: str @@ -5665,14 +5635,12 @@ class GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim( startPos: int @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCheckGroundingSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCheckGroundingSpec(typing.TypedDict, total=False): citationThreshold: float enableClaimLevelScore: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaChunk(typing.TypedDict, total=False): annotationContents: _list[str] annotationMetadata: _list[GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata] chunkMetadata: GoogleCloudDiscoveryengineV1betaChunkChunkMetadata @@ -5687,21 +5655,19 @@ class GoogleCloudDiscoveryengineV1betaChunk(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageId: str structuredContent: GoogleCloudDiscoveryengineV1betaChunkStructuredContent @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata(typing.TypedDict, total=False): nextChunks: _list[GoogleCloudDiscoveryengineV1betaChunk] previousChunks: _list[GoogleCloudDiscoveryengineV1betaChunk] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mimeType: str structData: dict[str, typing.Any] @@ -5709,18 +5675,16 @@ class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaChunkPageSpan( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaChunkPageSpan(typing.TypedDict, total=False): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaChunkStructuredContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str - structureType: typing_extensions.Literal[ + structureType: typing.Literal[ "STRUCTURE_TYPE_UNSPECIFIED", "SHAREHOLDER_STRUCTURE", "SIGNATURE_STRUCTURE", @@ -5728,9 +5692,7 @@ class GoogleCloudDiscoveryengineV1betaChunkStructuredContent( ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCitation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCitation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: GoogleTypeDate @@ -5739,15 +5701,11 @@ class GoogleCloudDiscoveryengineV1betaCitation( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCitationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudDiscoveryengineV1betaCitation] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCloudSqlSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCloudSqlSource(typing.TypedDict, total=False): databaseId: str gcsStagingDir: str instanceId: str @@ -5756,22 +5714,20 @@ class GoogleCloudDiscoveryengineV1betaCloudSqlSource( tableId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCmekConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCmekConfig(typing.TypedDict, total=False): isDefault: bool kmsKey: str kmsKeyVersion: str lastRotationTimestampMicros: str name: str - notebooklmState: typing_extensions.Literal[ + notebooklmState: typing.Literal[ "NOTEBOOK_LM_STATE_UNSPECIFIED", "NOTEBOOK_LM_NOT_READY", "NOTEBOOK_LM_READY", "NOTEBOOK_LM_NOT_ENABLED", ] singleRegionKeys: _list[GoogleCloudDiscoveryengineV1betaSingleRegionKey] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -5786,7 +5742,7 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCompleteQueryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySuggestions: _list[ GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion @@ -5795,21 +5751,19 @@ class GoogleCloudDiscoveryengineV1betaCompleteQueryResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completableFieldPaths: _list[str] suggestion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCompletionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCompletionInfo(typing.TypedDict, total=False): selectedPosition: int selectedSuggestion: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCompletionSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternativePhrases: _list[str] frequency: str @@ -5820,29 +5774,23 @@ class GoogleCloudDiscoveryengineV1betaCompletionSuggestion( suggestion: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCondition( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudDiscoveryengineV1betaConditionTimeRange] queryRegex: str queryTerms: _list[GoogleCloudDiscoveryengineV1betaConditionQueryTerm] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] boostAction: GoogleCloudDiscoveryengineV1betaControlBoostAction conditions: _list[GoogleCloudDiscoveryengineV1betaCondition] @@ -5851,7 +5799,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total name: str promoteAction: GoogleCloudDiscoveryengineV1betaControlPromoteAction redirectAction: GoogleCloudDiscoveryengineV1betaControlRedirectAction - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -5861,7 +5809,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total ] synonymsAction: GoogleCloudDiscoveryengineV1betaControlSynonymsAction useCases: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_USE_CASE_UNSPECIFIED", "SEARCH_USE_CASE_SEARCH", "SEARCH_USE_CASE_BROWSE", @@ -5869,9 +5817,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaControlBoostAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaControlBoostAction(typing.TypedDict, total=False): boost: float dataStore: str filter: str @@ -5882,73 +5828,69 @@ class GoogleCloudDiscoveryengineV1betaControlBoostAction( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlFilterAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlPromoteAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str searchLinkPromotion: GoogleCloudDiscoveryengineV1betaSearchLinkPromotion @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlRedirectAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): redirectUri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaControlSynonymsAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): synonyms: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaConversation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaConversation(typing.TypedDict, total=False): endTime: str messages: _list[GoogleCloudDiscoveryengineV1betaConversationMessage] name: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED"] userPseudoId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaConversationContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activeDocument: str contextDocuments: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaConversationMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str reply: GoogleCloudDiscoveryengineV1betaReply @@ -5956,7 +5898,7 @@ class GoogleCloudDiscoveryengineV1betaConversationMessage( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaConverseConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec conversation: GoogleCloudDiscoveryengineV1betaConversation @@ -5971,7 +5913,7 @@ class GoogleCloudDiscoveryengineV1betaConverseConversationRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaConverseConversationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversation: GoogleCloudDiscoveryengineV1betaConversation relatedQuestions: _list[str] @@ -5980,73 +5922,69 @@ class GoogleCloudDiscoveryengineV1betaConverseConversationResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qpsTimeSeries: GoogleMonitoringV3TimeSeries @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str targetSite: GoogleCloudDiscoveryengineV1betaTargetSite @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCustomAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCustomAttribute(typing.TypedDict, total=False): numbers: _list[float] text: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaCustomTuningModel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaCustomTuningModel(typing.TypedDict, total=False): createTime: str displayName: str errorMessage: str metrics: dict[str, typing.Any] - modelState: typing_extensions.Literal[ + modelState: typing.Literal[ "MODEL_STATE_UNSPECIFIED", "TRAINING_PAUSED", "TRAINING", @@ -6061,20 +5999,18 @@ class GoogleCloudDiscoveryengineV1betaCustomTuningModel( trainingStartTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDataStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDataStore(typing.TypedDict, total=False): aclEnabled: bool advancedSiteSearchConfig: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig billingEstimation: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] configurableBillingApproachUpdateTime: str - contentConfig: typing_extensions.Literal[ + contentConfig: typing.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", "CONTENT_REQUIRED", @@ -6090,7 +6026,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( ) healthcareFhirConfig: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig identityMappingStore: str - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] isInfobotFaqDataStore: bool @@ -6104,7 +6040,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore ) solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -6118,7 +6054,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredDataSize: str structuredDataUpdateTime: str @@ -6129,7 +6065,7 @@ class GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbConfig: ( GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig @@ -6141,7 +6077,7 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloydbAiNlConfig: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig alloydbConnectionConfig: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig @@ -6149,15 +6085,15 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nlConfigId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authMode: typing_extensions.Literal[ + authMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_SERVICE_ACCOUNT", "AUTH_MODE_END_USER_ACCOUNT", @@ -6170,26 +6106,26 @@ class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfi @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): searchConfig: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appName: str instanceName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledForServing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRefreshCrawlErrorRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries autoRefreshCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries @@ -6198,66 +6134,66 @@ class GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigId: str licenseCount: str @@ -6266,14 +6202,12 @@ class GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: GoogleCloudDiscoveryengineV1betaLicenseConfig @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDocument( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDocument(typing.TypedDict, total=False): aclInfo: GoogleCloudDiscoveryengineV1betaDocumentAclInfo content: GoogleCloudDiscoveryengineV1betaDocumentContent derivedStructData: dict[str, typing.Any] @@ -6287,38 +6221,32 @@ class GoogleCloudDiscoveryengineV1betaDocument( structData: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDocumentAclInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDocumentAclInfo(typing.TypedDict, total=False): readers: _list[GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idpWide: bool principals: _list[GoogleCloudDiscoveryengineV1betaPrincipal] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDocumentContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDocumentContent(typing.TypedDict, total=False): mimeType: str rawBytes: str uri: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentIndexStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] indexTime: str pendingMessage: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDocumentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDocumentInfo(typing.TypedDict, total=False): conversionValue: float id: str joined: bool @@ -6329,7 +6257,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: ( GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig @@ -6342,20 +6270,20 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): layoutBasedChunkingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digitalParsingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig layoutParsingConfig: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig @@ -6363,12 +6291,12 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableGetProcessedDocument: bool enableImageAnnotation: bool @@ -6381,50 +6309,46 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou @typing.type_check_only class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enhancedDocumentElements: _list[str] useNativeText: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaDoubleList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaDoubleList(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEmbeddingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaEmbeddingConfig(typing.TypedDict, total=False): fieldPath: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaEngine(typing.TypedDict, total=False): agentGatewaySetting: GoogleCloudDiscoveryengineV1betaAgentGatewaySetting - appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] + appType: typing.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] associatedAgentRegistry: str chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig - configurableBillingApproach: typing_extensions.Literal[ + configurableBillingApproach: typing.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] @@ -6434,11 +6358,11 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= disableAnalytics: bool displayName: str features: dict[str, typing.Any] - industryVertical: typing_extensions.Literal[ + industryVertical: typing.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] knowledgeGraphConfig: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig - marketplaceAgentVisibility: typing_extensions.Literal[ + marketplaceAgentVisibility: typing.Literal[ "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", "SHOW_AVAILABLE_AGENTS_ONLY", "SHOW_AGENTS_ALREADY_INTEGRATED", @@ -6453,7 +6377,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig procurementContactEmails: _list[str] searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -6465,7 +6389,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentCreationConfig: ( GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig @@ -6475,7 +6399,7 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str defaultLanguageCode: str @@ -6484,19 +6408,17 @@ class GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dialogflowAgent: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaEngineCommonConfig(typing.TypedDict, total=False): companyName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKnowledgeGraphTypes: _list[str] enableCloudKnowledgeGraph: bool @@ -6508,7 +6430,7 @@ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disablePrivateKgAutoComplete: bool disablePrivateKgEnrichment: bool @@ -6517,47 +6439,45 @@ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engineFeaturesConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig optimizationObjective: str optimizationObjectiveConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] type: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mostPopularConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig recommendedForYouConfig: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): timeWindowDays: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetField: str targetFieldValueFloat: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contextEventType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - requiredSubscriptionTier: typing_extensions.Literal[ + requiredSubscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -6573,18 +6493,17 @@ class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] searchAddOns: _list[ - typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] + typing.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] - searchTier: typing_extensions.Literal[ + searchTier: typing.Literal[ "SEARCH_TIER_UNSPECIFIED", "SEARCH_TIER_STANDARD", "SEARCH_TIER_ENTERPRISE" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaEvaluation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaEvaluation(typing.TypedDict, total=False): createTime: str endTime: str error: GoogleRpcStatus @@ -6592,27 +6511,25 @@ class GoogleCloudDiscoveryengineV1betaEvaluation( evaluationSpec: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec name: str qualityMetrics: GoogleCloudDiscoveryengineV1betaQualityMetrics - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): querySetSpec: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec searchRequest: GoogleCloudDiscoveryengineV1betaSearchRequest @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQuerySet: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFactChunk( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaFactChunk(typing.TypedDict, total=False): chunkText: str domain: str index: int @@ -6622,26 +6539,22 @@ class GoogleCloudDiscoveryengineV1betaFactChunk( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFeedback( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaFeedback(typing.TypedDict, total=False): comment: str componentVersion: str conversationInfo: GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo dataTermsAccepted: bool - feedbackSource: typing_extensions.Literal[ + feedbackSource: typing.Literal[ "FEEDBACK_SOURCE_UNSPECIFIED", "GOOGLE_CONSOLE", "GOOGLE_WIDGET", "GOOGLE_WEBAPP", "GOOGLE_AGENTSPACE_MOBILE", ] - feedbackType: typing_extensions.Literal[ - "FEEDBACK_TYPE_UNSPECIFIED", "LIKE", "DISLIKE" - ] + feedbackType: typing.Literal["FEEDBACK_TYPE_UNSPECIFIED", "LIKE", "DISLIKE"] llmModelVersion: str reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "INACCURATE_RESPONSE", "NOT_RELEVANT", @@ -6657,7 +6570,7 @@ class GoogleCloudDiscoveryengineV1betaFeedback( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answerQueryToken: str assistToken: str @@ -6667,7 +6580,7 @@ class GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] @@ -6675,7 +6588,7 @@ class GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sitemapsMetadata: _list[ GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata @@ -6683,45 +6596,37 @@ class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sitemap: GoogleCloudDiscoveryengineV1betaSitemap @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFhirStoreSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaFhirStoreSource(typing.TypedDict, total=False): fhirStore: str gcsStagingDir: str resourceTypes: _list[str] updateFromLatestPredefinedSchema: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaFirestoreSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaFirestoreSource(typing.TypedDict, total=False): collectionId: str databaseId: str gcsStagingDir: str projectId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaGcsSource(typing.TypedDict, total=False): dataSchema: str inputUris: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaGroundingFact( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaGroundingFact(typing.TypedDict, total=False): attributes: dict[str, typing.Any] factText: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool @@ -6729,7 +6634,7 @@ class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalIdentity: str externalIdentityName: str @@ -6738,7 +6643,7 @@ class GoogleCloudDiscoveryengineV1betaIdentityMappingEntry( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failureCount: str successCount: str @@ -6746,28 +6651,26 @@ class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingStore( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig kmsKeyName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaIdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaIdpConfig(typing.TypedDict, total=False): externalIdpConfig: GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig - idpType: typing_extensions.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] + idpType: typing.Literal["IDP_TYPE_UNSPECIFIED", "GSUITE", "THIRD_PARTY"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workforcePoolName: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6776,7 +6679,7 @@ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1betaBigQuerySource errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig @@ -6787,20 +6690,20 @@ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleCloudDiscoveryengineV1betaCompletionSuggestion] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6810,7 +6713,7 @@ class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alloyDbSource: GoogleCloudDiscoveryengineV1betaAlloyDbSource autoGenerateIds: bool @@ -6824,7 +6727,7 @@ class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest( gcsSource: GoogleCloudDiscoveryengineV1betaGcsSource idField: str inlineSource: GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource - reconciliationMode: typing_extensions.Literal[ + reconciliationMode: typing.Literal[ "RECONCILIATION_MODE_UNSPECIFIED", "INCREMENTAL", "FULL" ] spannerSource: GoogleCloudDiscoveryengineV1betaSpannerSource @@ -6832,26 +6735,24 @@ class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[GoogleCloudDiscoveryengineV1betaDocument] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaImportErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaImportErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineSource: ( GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequestInlineSource @@ -6859,19 +6760,19 @@ class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6881,7 +6782,7 @@ class GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1betaBigQuerySource errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig @@ -6890,40 +6791,40 @@ class GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleQueries: _list[GoogleCloudDiscoveryengineV1betaSampleQuery] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsSource: GoogleCloudDiscoveryengineV1betaGcsSource inlineSource: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entries: _list[GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] failedEntriesCount: str @@ -6931,7 +6832,7 @@ class GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -6940,7 +6841,7 @@ class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bigquerySource: GoogleCloudDiscoveryengineV1betaBigQuerySource errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig @@ -6949,13 +6850,13 @@ class GoogleCloudDiscoveryengineV1betaImportUserEventsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEvents: _list[GoogleCloudDiscoveryengineV1betaUserEvent] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -6963,37 +6864,32 @@ class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse( unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaLanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaLanguageInfo(typing.TypedDict, total=False): language: str languageCode: str normalizedLanguageCode: str region: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaLicenseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaLicenseConfig(typing.TypedDict, total=False): autoRenew: bool earlyTerminated: bool earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool + lastUserUpdateTime: str licenseCount: str name: str startDate: GoogleTypeDate - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", @@ -7001,14 +6897,14 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "WITHDRAWN", "DEACTIVATING", ] - subscriptionTerm: typing_extensions.Literal[ + subscriptionTerm: typing.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", "SUBSCRIPTION_TERM_CUSTOM", ] - subscriptionTier: typing_extensions.Literal[ + subscriptionTier: typing.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", "SUBSCRIPTION_TIER_SEARCH", "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", @@ -7024,72 +6920,73 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", "SUBSCRIPTION_TIER_FRONTLINE_STARTER", "SUBSCRIPTION_TIER_CONSUMPTION_ONLY", + "SUBSCRIPTION_TIER_EDU_GOV_EMERGING", ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: str usedLicenseCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListAssistantsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assistants: _list[GoogleCloudDiscoveryengineV1betaAssistant] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cmekConfigs: _list[GoogleCloudDiscoveryengineV1betaCmekConfig] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListControlsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): controls: _list[GoogleCloudDiscoveryengineV1betaControl] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListConversationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleCloudDiscoveryengineV1betaConversation] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): models: _list[GoogleCloudDiscoveryengineV1betaCustomTuningModel] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListDataStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStores: _list[GoogleCloudDiscoveryengineV1betaDataStore] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[GoogleCloudDiscoveryengineV1betaDocument] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListEnginesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): engines: _list[GoogleCloudDiscoveryengineV1betaEngine] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationResults: _list[ GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult @@ -7098,42 +6995,42 @@ class GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qualityMetrics: GoogleCloudDiscoveryengineV1betaQualityMetrics sampleQuery: GoogleCloudDiscoveryengineV1betaSampleQuery @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluations: _list[GoogleCloudDiscoveryengineV1betaEvaluation] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingStores: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingStore] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingEntry] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigs: _list[GoogleCloudDiscoveryengineV1betaLicenseConfig] nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfigUsageStats: _list[ GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats @@ -7141,42 +7038,42 @@ class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sampleQueries: _list[GoogleCloudDiscoveryengineV1betaSampleQuery] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sampleQuerySets: _list[GoogleCloudDiscoveryengineV1betaSampleQuerySet] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str schemas: _list[GoogleCloudDiscoveryengineV1betaSchema] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListServingConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str servingConfigs: _list[GoogleCloudDiscoveryengineV1betaServingConfig] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSessionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sessions: _list[GoogleCloudDiscoveryengineV1betaSession] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListTargetSitesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str targetSites: _list[GoogleCloudDiscoveryengineV1betaTargetSite] @@ -7184,40 +7081,38 @@ class GoogleCloudDiscoveryengineV1betaListTargetSitesResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str userLicenses: _list[GoogleCloudDiscoveryengineV1betaUserLicense] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaMediaInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaMediaInfo(typing.TypedDict, total=False): mediaProgressDuration: str mediaProgressPercentage: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObservabilityConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): observabilityEnabled: bool sensitiveLoggingEnabled: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crawlRateScope: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dedicatedCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries @@ -7226,28 +7121,24 @@ class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( organicCrawlRateTimeSeries: ( GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries ) - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaPageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaPageInfo(typing.TypedDict, total=False): pageCategory: str pageviewId: str referrerUri: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaPanelInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaPanelInfo(typing.TypedDict, total=False): displayName: str documents: _list[GoogleCloudDiscoveryengineV1betaDocumentInfo] panelId: str @@ -7256,19 +7147,17 @@ class GoogleCloudDiscoveryengineV1betaPanelInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPauseEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaPrincipal( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaPrincipal(typing.TypedDict, total=False): externalEntityId: str groupId: str userId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaProject(typing.TypedDict, total=False): configurableBillingStatus: ( GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus ) @@ -7282,7 +7171,7 @@ class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): agentSearchTokenSubscriptionStatuses: _list[ GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus @@ -7293,26 +7182,26 @@ class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( searchQpmThresholdNextUpdateTime: str startTime: str terminateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveTpmThreshold: str modelVersion: str startTime: str terminateTime: str tpmThresholdNextUpdateTime: str - updateType: typing_extensions.Literal[ + updateType: typing.Literal[ "UPDATE_TYPE_UNSPECIFIED", "CREATE", "DELETE", "SCALE_UP", "SCALE_DOWN" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): notebooklmConfig: ( GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig @@ -7320,7 +7209,7 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig @@ -7329,43 +7218,43 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responseTemplate: str userPromptTemplate: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectServiceTerms( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptTime: str declineTime: str id: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TERMS_ACCEPTED", "TERMS_PENDING", "TERMS_DECLINED" ] version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProvisionProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptDataUseTerms: bool dataUseTermsVersion: str @@ -7373,19 +7262,19 @@ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptBizQos: bool isBiz: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -7395,7 +7284,7 @@ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaPurgeErrorConfig filter: str @@ -7405,26 +7294,24 @@ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documents: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaPurgeErrorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaPurgeErrorConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @@ -7434,40 +7321,38 @@ class GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequestInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityMappingEntries: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingEntry] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] purgeCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaQualityMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaQualityMetrics(typing.TypedDict, total=False): docNdcg: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics docPrecision: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics docRecall: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics @@ -7476,7 +7361,7 @@ class GoogleCloudDiscoveryengineV1betaQualityMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): top1: float top10: float @@ -7484,14 +7369,12 @@ class GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics( top5: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaQuery(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaQuery(typing.TypedDict, total=False): queryId: str text: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaRankRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaRankRequest(typing.TypedDict, total=False): ignoreRecordDetailsInResponse: bool model: str query: str @@ -7500,24 +7383,18 @@ class GoogleCloudDiscoveryengineV1betaRankRequest( userLabels: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaRankResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaRankResponse(typing.TypedDict, total=False): records: _list[GoogleCloudDiscoveryengineV1betaRankingRecord] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaRankingRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaRankingRecord(typing.TypedDict, total=False): content: str id: str score: float title: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaRecommendRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaRecommendRequest(typing.TypedDict, total=False): filter: str pageSize: int params: dict[str, typing.Any] @@ -7526,9 +7403,7 @@ class GoogleCloudDiscoveryengineV1betaRecommendRequest( validateOnly: bool @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaRecommendResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaRecommendResponse(typing.TypedDict, total=False): attributionToken: str missingIds: _list[str] results: _list[ @@ -7538,42 +7413,40 @@ class GoogleCloudDiscoveryengineV1betaRecommendResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): document: GoogleCloudDiscoveryengineV1betaDocument id: str metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest(typing.TypedDict, total=False): siteCredential: str uris: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crawlRateScope: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): removeAllSearchHistorySuggestions: bool removeTime: str @@ -7583,19 +7456,17 @@ class GoogleCloudDiscoveryengineV1betaRemoveSuggestionRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaReply(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaReply(typing.TypedDict, total=False): references: _list[GoogleCloudDiscoveryengineV1betaReplyReference] reply: str summary: GoogleCloudDiscoveryengineV1betaSearchResponseSummary @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaReplyReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaReplyReference(typing.TypedDict, total=False): anchorText: str end: int start: int @@ -7603,12 +7474,12 @@ class GoogleCloudDiscoveryengineV1betaReplyReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaResumeEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullRetract: bool licenseConfig: str @@ -7616,16 +7487,14 @@ class GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaRetractLicenseConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): licenseConfig: GoogleCloudDiscoveryengineV1betaLicenseConfig @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSafetyRating( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -7633,11 +7502,11 @@ class GoogleCloudDiscoveryengineV1betaSafetyRating( "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -7647,54 +7516,48 @@ class GoogleCloudDiscoveryengineV1betaSafetyRating( severityScore: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSampleQuery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSampleQuery(typing.TypedDict, total=False): createTime: str name: str queryEntry: GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str targets: _list[GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageNumbers: _list[int] score: float uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSampleQuerySet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSampleQuerySet(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaSchema(typing.TypedDict, total=False): jsonSchema: str name: str structSchema: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSearchInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSearchInfo(typing.TypedDict, total=False): offset: int orderBy: str searchQuery: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str document: str @@ -7704,9 +7567,7 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion( uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec branch: str canonicalFilter: str @@ -7738,7 +7599,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( query: str queryExpansionSpec: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec rankingExpression: str - rankingExpressionBackend: typing_extensions.Literal[ + rankingExpressionBackend: typing.Literal[ "RANKING_EXPRESSION_BACKEND_UNSPECIFIED", "BYOE", "CLEARBOX", @@ -7750,7 +7611,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] safeSearch: bool @@ -7770,7 +7631,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionBoostSpecs: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec @@ -7778,7 +7639,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float boostControlSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec @@ -7786,33 +7647,31 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributeType: typing_extensions.Literal[ + attributeType: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" ] controlPoints: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ] fieldName: str - interpolationType: typing_extensions.Literal[ - "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" - ] + interpolationType: typing.Literal["INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeValue: str boostAmount: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec extractiveContentSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec - searchResultMode: typing_extensions.Literal[ + searchResultMode: typing.Literal[ "SEARCH_RESULT_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" ] snippetSpec: ( @@ -7824,14 +7683,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): numNextChunks: int numPreviousChunks: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxExtractiveAnswerCount: int maxExtractiveSegmentCount: int @@ -7841,7 +7700,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveCo @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSnippetCount: int referenceOnly: bool @@ -7849,7 +7708,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreAdversarialQuery: bool ignoreJailBreakingQuery: bool @@ -7865,21 +7724,21 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): preamble: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): version: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - imageSource: typing_extensions.Literal[ + imageSource: typing.Literal[ "IMAGE_SOURCE_UNSPECIFIED", "ALL_AVAILABLE_SOURCES", "CORPUS_IMAGE_ONLY", @@ -7888,23 +7747,23 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: str maxCount: int - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" ] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressionsToPrecompute: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec customSearchOperators: str @@ -7914,9 +7773,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchHighlightingCondition: typing_extensions.Literal[ + matchHighlightingCondition: typing.Literal[ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", "MATCH_HIGHLIGHTING_DISABLED", "MATCH_HIGHLIGHTING_ENABLED", @@ -7924,7 +7783,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): embeddingVectors: _list[ GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector @@ -7932,14 +7791,14 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldPath: str vector: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableDynamicPosition: bool excludedFilterKeys: _list[str] @@ -7948,7 +7807,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -7960,61 +7819,61 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageBytes: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedFieldNames: _list[str] - extractedFilterBehavior: typing_extensions.Literal[ + extractedFilterBehavior: typing.Literal[ "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", "HARD_FILTER", "SOFT_BOOST" ] - filterExtractionCondition: typing_extensions.Literal[ + filterExtractionCondition: typing.Literal[ "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED" ] geoSearchQueryDetectionFieldNames: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] semanticRelevanceThreshold: float @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): returnRelevanceScore: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableGenerativeAnswerAddOn: bool disableKpiPersonalizationAddOn: bool @@ -8022,29 +7881,25 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "ENABLED", "AUTO"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): queryId: str searchResultPersistenceCount: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSearchResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSearchResponse(typing.TypedDict, total=False): appliedControls: _list[str] attributionToken: str correctedQuery: str @@ -8060,9 +7915,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponse( redirectUri: str results: _list[GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult] searchLinkPromotions: _list[GoogleCloudDiscoveryengineV1betaSearchLinkPromotion] - semanticState: typing_extensions.Literal[ - "SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED" - ] + semanticState: typing.Literal["SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED"] sessionInfo: GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo suggestedQuery: str summary: GoogleCloudDiscoveryengineV1betaSearchResponseSummary @@ -8070,7 +7923,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseFacet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dynamicFacet: bool key: str @@ -8078,7 +7931,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseFacet( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str interval: GoogleCloudDiscoveryengineV1betaInterval @@ -8086,14 +7939,14 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorMessage: str originalAddressQuery: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followUpQuestions: _list[str] refinementAttributes: _list[ @@ -8102,14 +7955,14 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeKey: str attributeValue: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classifiedIntents: _list[str] extractedFilters: str @@ -8118,13 +7971,13 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expression: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[ GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @@ -8132,7 +7985,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): andExpr: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression geolocationConstraint: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint @@ -8142,7 +7995,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str fieldName: str @@ -8152,9 +8005,9 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - comparison: typing_extensions.Literal[ + comparison: typing.Literal[ "COMPARISON_UNSPECIFIED", "EQUALS", "LESS_THAN_EQUALS", @@ -8168,7 +8021,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expressions: _list[ GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression @@ -8176,7 +8029,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str querySegment: str @@ -8184,33 +8037,36 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - oneBoxType: typing_extensions.Literal[ + oneBoxType: typing.Literal[ "ONE_BOX_TYPE_UNSPECIFIED", "PEOPLE", "ORGANIZATION", "SLACK", "KNOWLEDGE_GRAPH" ] searchResults: _list[GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedQuery: bool pinnedResultCount: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunk: GoogleCloudDiscoveryengineV1betaChunk document: GoogleCloudDiscoveryengineV1betaDocument id: str modelScores: dict[str, typing.Any] rankSignals: GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals + retrievalSignals: ( + GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals + ) @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostingFactor: float customSignals: _list[ @@ -8227,27 +8083,38 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals( + typing.TypedDict, total=False +): + retrievalSources: _list[ + typing.Literal[ + "RETRIEVAL_SOURCE_UNSPECIFIED", "KEYWORD_SEARCH", "SEMANTIC_SEARCH" + ] + ] + semanticRelevanceScore: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str queryId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): safetyAttributes: ( GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes ) summarySkippedReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "SUMMARY_SKIPPED_REASON_UNSPECIFIED", "ADVERSARIAL_QUERY_IGNORED", "NON_SUMMARY_SEEKING_QUERY_IGNORED", @@ -8268,23 +8135,23 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummary( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionType: typing_extensions.Literal[ + attributionType: typing.Literal[ "ATTRIBUTION_TYPE_UNSPECIFIED", "CORPUS", "GENERATED" ] data: GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str mimeType: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str sources: _list[GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource] @@ -8292,19 +8159,19 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): citations: _list[GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceIndex: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkContents: _list[ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent @@ -8315,7 +8182,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachmentIndexes: _list[str] content: str @@ -8323,14 +8190,14 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categories: _list[str] scores: _list[float] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blobAttachments: _list[ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment @@ -8342,9 +8209,7 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata( summary: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaServingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaServingConfig(typing.TypedDict, total=False): answerGenerationSpec: GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec boostControlIds: _list[str] createTime: str @@ -8366,7 +8231,7 @@ class GoogleCloudDiscoveryengineV1betaServingConfig( rankingExpression: str redirectControlIds: _list[str] replacementControlIds: _list[str] - solutionType: typing_extensions.Literal[ + solutionType: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -8379,13 +8244,13 @@ class GoogleCloudDiscoveryengineV1betaServingConfig( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentSearchSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec @typing.type_check_only class GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentFreshnessCutoffDays: int contentWatchedPercentageThreshold: float @@ -8394,7 +8259,7 @@ class GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig( demotionEventType: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSession(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaSession(typing.TypedDict, total=False): displayName: str endTime: str isPinned: bool @@ -8402,14 +8267,12 @@ class GoogleCloudDiscoveryengineV1betaSession(typing_extensions.TypedDict, total name: str pendingAsyncAssistOperationId: str startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS"] turns: _list[GoogleCloudDiscoveryengineV1betaSessionTurn] userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSessionTurn( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSessionTurn(typing.TypedDict, total=False): answer: str detailedAnswer: GoogleCloudDiscoveryengineV1betaAnswer detailedAssistAnswer: GoogleCloudDiscoveryengineV1betaAssistAnswer @@ -8419,60 +8282,54 @@ class GoogleCloudDiscoveryengineV1betaSessionTurn( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): crawlRate: int crawlRateScope: str - crawlType: typing_extensions.Literal[ + crawlType: typing.Literal[ "CRAWL_TYPE_UNSPECIFIED", "USER_TRIGGERED", "AUTO_REFRESH" ] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTOMATIC", "EXPLICIT"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTOMATIC", "EXPLICIT"] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSingleRegionKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSingleRegionKey(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSiteSearchEngine( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSiteSearchEngine(typing.TypedDict, total=False): name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - siteVerificationState: typing_extensions.Literal[ + siteVerificationState: typing.Literal[ "SITE_VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "EXEMPTED" ] verifyTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSitemap(typing_extensions.TypedDict, total=False): +class GoogleCloudDiscoveryengineV1betaSitemap(typing.TypedDict, total=False): createTime: str name: str uri: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaSpannerSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaSpannerSource(typing.TypedDict, total=False): databaseId: str enableDataBoost: bool instanceId: str @@ -8481,7 +8338,7 @@ class GoogleCloudDiscoveryengineV1betaSpannerSource( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generationSpec: GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec query: GoogleCloudDiscoveryengineV1betaQuery @@ -8491,13 +8348,13 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelId: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageGenerationSpec: ( GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec @@ -8514,29 +8371,29 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] filter: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answer: GoogleCloudDiscoveryengineV1betaAssistAnswer assistToken: str @@ -8551,41 +8408,39 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistResponse( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistResponseConnectorAuthError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataConnector: str errorMessage: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str name: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): session: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockPhrase: str - matchOperator: typing_extensions.Literal[ + matchOperator: typing.Literal[ "MATCH_OPERATOR_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" ] @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTargetSite( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTargetSite(typing.TypedDict, total=False): exactMatch: bool failureReason: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason generatedUriPattern: str - indexingStatus: typing_extensions.Literal[ + indexingStatus: typing.Literal[ "INDEXING_STATUS_UNSPECIFIED", "PENDING", "FAILED", @@ -8598,38 +8453,36 @@ class GoogleCloudDiscoveryengineV1betaTargetSite( providedUriPattern: str rootDomainUri: str siteVerificationInfo: GoogleCloudDiscoveryengineV1betaSiteVerificationInfo - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] + type: typing.Literal["TYPE_UNSPECIFIED", "INCLUDE", "EXCLUDE"] updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): quotaFailure: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalRequiredQuota: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTextInput( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTextInput(typing.TypedDict, total=False): context: GoogleCloudDiscoveryengineV1betaConversationContext input: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig gcsTrainingInput: ( @@ -8640,7 +8493,7 @@ class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): corpusDataPath: str queryDataPath: str @@ -8649,7 +8502,7 @@ class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorConfig: GoogleCloudDiscoveryengineV1betaImportErrorConfig errorSamples: _list[GoogleRpcStatus] @@ -8658,9 +8511,7 @@ class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse( modelStatus: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTransactionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTransactionInfo(typing.TypedDict, total=False): cost: float currency: str discountValue: float @@ -8669,39 +8520,35 @@ class GoogleCloudDiscoveryengineV1betaTransactionInfo( value: float @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata(typing.TypedDict, total=False): engine: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTuneEngineRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaTuneEngineResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserEvent(typing.TypedDict, total=False): attributes: dict[str, typing.Any] attributionToken: str completionInfo: GoogleCloudDiscoveryengineV1betaCompletionInfo @@ -8728,9 +8575,7 @@ class GoogleCloudDiscoveryengineV1betaUserEvent( userPseudoId: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserInfo(typing.TypedDict, total=False): preciseLocation: GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation timeZone: str userAgent: str @@ -8738,18 +8583,16 @@ class GoogleCloudDiscoveryengineV1betaUserInfo( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str point: GoogleTypeLatLng @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserLicense( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserLicense(typing.TypedDict, total=False): createTime: str lastLoginTime: str - licenseAssignmentState: typing_extensions.Literal[ + licenseAssignmentState: typing.Literal[ "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", "ASSIGNED", "UNASSIGNED", @@ -8763,9 +8606,7 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( userProfile: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaUserStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaUserStore(typing.TypedDict, total=False): defaultLicenseConfig: str displayName: str enableExpiredLicenseAutoUpdate: bool @@ -8773,13 +8614,11 @@ class GoogleCloudDiscoveryengineV1betaUserStore( name: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDiscoveryengineV1betaWorkspaceConfig(typing.TypedDict, total=False): dasherCustomerId: str superAdminEmailAddress: str superAdminServiceAccount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DRIVE", "GOOGLE_MAIL", @@ -8789,37 +8628,36 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_GROUPS", "GOOGLE_KEEP", "GOOGLE_PEOPLE", + "GOOGLE_WORKSPACE", ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -8827,27 +8665,27 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleMonitoringV3Point(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3Point(typing.TypedDict, total=False): interval: GoogleMonitoringV3TimeInterval value: GoogleMonitoringV3TypedValue @typing.type_check_only -class GoogleMonitoringV3TimeInterval(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TimeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleMonitoringV3TimeSeries(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TimeSeries(typing.TypedDict, total=False): description: str metadata: GoogleApiMonitoredResourceMetadata metric: GoogleApiMetric - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] points: _list[GoogleMonitoringV3Point] resource: GoogleApiMonitoredResource unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -8858,7 +8696,7 @@ class GoogleMonitoringV3TimeSeries(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleMonitoringV3TypedValue(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3TypedValue(typing.TypedDict, total=False): boolValue: bool distributionValue: GoogleApiDistribution doubleValue: float @@ -8866,22 +8704,22 @@ class GoogleMonitoringV3TypedValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -8893,18 +8731,18 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/displayvideo/v1/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v1/resources.pyi index 7a9c91b03..a83930238 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -38,7 +37,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, campaignId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -94,7 +93,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, campaignId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -360,7 +359,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, insertionOrderId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -416,7 +415,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, insertionOrderId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -545,7 +544,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, issueMonth: str | None = ..., - loiSapinInvoiceType: typing_extensions.Literal[ + loiSapinInvoiceType: typing.Literal[ "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", "LOI_SAPIN_INVOICE_TYPE_MEDIA", "LOI_SAPIN_INVOICE_TYPE_PLATFORM", @@ -581,7 +580,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -637,7 +636,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -693,7 +692,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -749,7 +748,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1113,7 +1112,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1168,7 +1167,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1223,7 +1222,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1278,7 +1277,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1971,7 +1970,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2026,7 +2025,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2081,7 +2080,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2136,7 +2135,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2245,7 +2244,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def get( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2300,7 +2299,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def list( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2363,7 +2362,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def search( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", diff --git a/googleapiclient-stubs/_apis/displayvideo/v1/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v1/schemas.pyi index 8ce18262e..e866cf237 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActivateManualTriggerRequest(typing_extensions.TypedDict, total=False): ... +class ActivateManualTriggerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total=False): +class ActiveViewVideoViewabilityMetricConfig(typing.TypedDict, total=False): displayName: str - minimumDuration: typing_extensions.Literal[ + minimumDuration: typing.Literal[ "VIDEO_DURATION_UNSPECIFIED", "VIDEO_DURATION_SECONDS_NONE", "VIDEO_DURATION_SECONDS_0", @@ -33,7 +31,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_SECONDS_45", "VIDEO_DURATION_SECONDS_60", ] - minimumQuartile: typing_extensions.Literal[ + minimumQuartile: typing.Literal[ "VIDEO_DURATION_QUARTILE_UNSPECIFIED", "VIDEO_DURATION_QUARTILE_NONE", "VIDEO_DURATION_QUARTILE_FIRST", @@ -41,7 +39,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_QUARTILE_THIRD", "VIDEO_DURATION_QUARTILE_FOURTH", ] - minimumViewability: typing_extensions.Literal[ + minimumViewability: typing.Literal[ "VIEWABILITY_PERCENT_UNSPECIFIED", "VIEWABILITY_PERCENT_0", "VIEWABILITY_PERCENT_25", @@ -49,16 +47,16 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIEWABILITY_PERCENT_75", "VIEWABILITY_PERCENT_100", ] - minimumVolume: typing_extensions.Literal[ + minimumVolume: typing.Literal[ "VIDEO_VOLUME_PERCENT_UNSPECIFIED", "VIDEO_VOLUME_PERCENT_0", "VIDEO_VOLUME_PERCENT_10", ] @typing.type_check_only -class Adloox(typing_extensions.TypedDict, total=False): +class Adloox(typing.TypedDict, total=False): excludedAdlooxCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "ADLOOX_UNSPECIFIED", "ADULT_CONTENT_HARD", "ADULT_CONTENT_SOFT", @@ -72,13 +70,13 @@ class Adloox(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -95,39 +93,39 @@ class Advertiser(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AdvertiserAdServerConfig(typing_extensions.TypedDict, total=False): +class AdvertiserAdServerConfig(typing.TypedDict, total=False): cmHybridConfig: CmHybridConfig thirdPartyOnlyConfig: ThirdPartyOnlyConfig @typing.type_check_only -class AdvertiserCreativeConfig(typing_extensions.TypedDict, total=False): +class AdvertiserCreativeConfig(typing.TypedDict, total=False): dynamicCreativeEnabled: bool iasClientId: str obaComplianceDisabled: bool videoCreativeDataSharingAuthorized: bool @typing.type_check_only -class AdvertiserDataAccessConfig(typing_extensions.TypedDict, total=False): +class AdvertiserDataAccessConfig(typing.TypedDict, total=False): sdfConfig: AdvertiserSdfConfig @typing.type_check_only -class AdvertiserGeneralConfig(typing_extensions.TypedDict, total=False): +class AdvertiserGeneralConfig(typing.TypedDict, total=False): currencyCode: str domainUrl: str timeZone: str @typing.type_check_only -class AdvertiserSdfConfig(typing_extensions.TypedDict, total=False): +class AdvertiserSdfConfig(typing.TypedDict, total=False): overridePartnerSdfConfig: bool sdfConfig: SdfConfig @typing.type_check_only -class AdvertiserTargetingConfig(typing_extensions.TypedDict, total=False): +class AdvertiserTargetingConfig(typing.TypedDict, total=False): exemptTvFromViewabilityTargeting: bool @typing.type_check_only -class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -140,8 +138,8 @@ class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= targetingOptionId: str @typing.type_check_only -class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -153,9 +151,9 @@ class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppAssignedTargetingOptionDetails(typing.TypedDict, total=False): appId: str - appPlatform: typing_extensions.Literal[ + appPlatform: typing.Literal[ "APP_PLATFORM_UNSPECIFIED", "APP_PLATFORM_IOS", "APP_PLATFORM_ANDROID", @@ -172,26 +170,24 @@ class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False negative: bool @typing.type_check_only -class AppCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AppCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class AppCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppCategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): content: str mediaId: str @typing.type_check_only -class AssetAssociation(typing_extensions.TypedDict, total=False): +class AssetAssociation(typing.TypedDict, total=False): asset: Asset - role: typing_extensions.Literal[ + role: typing.Literal[ "ASSET_ROLE_UNSPECIFIED", "ASSET_ROLE_MAIN", "ASSET_ROLE_BACKUP", @@ -212,19 +208,19 @@ class AssetAssociation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AssignedInventorySource(typing_extensions.TypedDict, total=False): +class AssignedInventorySource(typing.TypedDict, total=False): assignedInventorySourceId: str inventorySourceId: str name: str @typing.type_check_only -class AssignedLocation(typing_extensions.TypedDict, total=False): +class AssignedLocation(typing.TypedDict, total=False): assignedLocationId: str name: str targetingOptionId: str @typing.type_check_only -class AssignedTargetingOption(typing_extensions.TypedDict, total=False): +class AssignedTargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeAssignedTargetingOptionDetails appCategoryDetails: AppCategoryAssignedTargetingOptionDetails appDetails: AppAssignedTargetingOptionDetails @@ -257,7 +253,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): genderDetails: GenderAssignedTargetingOptionDetails geoRegionDetails: GeoRegionAssignedTargetingOptionDetails householdIncomeDetails: HouseholdIncomeAssignedTargetingOptionDetails - inheritance: typing_extensions.Literal[ + inheritance: typing.Literal[ "INHERITANCE_UNSPECIFIED", "NOT_INHERITED", "INHERITED_FROM_PARTNER", @@ -279,7 +275,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): regionalLocationListDetails: RegionalLocationListAssignedTargetingOptionDetails sensitiveCategoryExclusionDetails: SensitiveCategoryAssignedTargetingOptionDetails subExchangeDetails: SubExchangeAssignedTargetingOptionDetails - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -334,11 +330,11 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): viewabilityDetails: ViewabilityAssignedTargetingOptionDetails @typing.type_check_only -class AssignedUserRole(typing_extensions.TypedDict, total=False): +class AssignedUserRole(typing.TypedDict, total=False): advertiserId: str assignedUserRoleId: str partnerId: str - userRole: typing_extensions.Literal[ + userRole: typing.Literal[ "USER_ROLE_UNSPECIFIED", "ADMIN", "ADMIN_PARTNER_CLIENT", @@ -354,9 +350,7 @@ class AssignedUserRole(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AudienceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AudienceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): excludedFirstAndThirdPartyAudienceGroup: FirstAndThirdPartyAudienceGroup excludedGoogleAudienceGroup: GoogleAudienceGroup includedCombinedAudienceGroup: CombinedAudienceGroup @@ -365,10 +359,8 @@ class AudienceGroupAssignedTargetingOptionDetails( includedGoogleAudienceGroup: GoogleAudienceGroup @typing.type_check_only -class AudioContentTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -378,8 +370,8 @@ class AudioContentTypeAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -388,12 +380,12 @@ class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class AudioVideoOffset(typing_extensions.TypedDict, total=False): +class AudioVideoOffset(typing.TypedDict, total=False): percentage: str seconds: str @typing.type_check_only -class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): +class AuditAdvertiserResponse(typing.TypedDict, total=False): adGroupCriteriaCount: str campaignCriteriaCount: str channelsCount: str @@ -405,9 +397,9 @@ class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthorizedSellerStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authorizedSellerStatus: typing_extensions.Literal[ + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", @@ -415,33 +407,31 @@ class AuthorizedSellerStatusAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class AuthorizedSellerStatusTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - authorizedSellerStatus: typing_extensions.Literal[ +class AuthorizedSellerStatusTargetingOptionDetails(typing.TypedDict, total=False): + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", ] @typing.type_check_only -class BiddingStrategy(typing_extensions.TypedDict, total=False): +class BiddingStrategy(typing.TypedDict, total=False): fixedBid: FixedBidStrategy maximizeSpendAutoBid: MaximizeSpendBidStrategy performanceGoalAutoBid: PerformanceGoalBidStrategy @typing.type_check_only -class BrowserAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class BrowserTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class BudgetSummary(typing_extensions.TypedDict, total=False): +class BudgetSummary(typing.TypedDict, total=False): externalBudgetId: str preTaxAmountMicros: str prismaCpeCode: PrismaCpeCode @@ -449,144 +439,122 @@ class BudgetSummary(typing_extensions.TypedDict, total=False): totalAmountMicros: str @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditAssignedInventorySourcesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedInventorySourcesRequest(typing.TypedDict, total=False): advertiserId: str createdAssignedInventorySources: _list[AssignedInventorySource] deletedAssignedInventorySources: _list[str] partnerId: str @typing.type_check_only -class BulkEditAssignedInventorySourcesResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] @typing.type_check_only -class BulkEditAssignedLocationsRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsRequest(typing.TypedDict, total=False): createdAssignedLocations: _list[AssignedLocation] deletedAssignedLocations: _list[str] @typing.type_check_only -class BulkEditAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] @typing.type_check_only -class BulkEditAssignedUserRolesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesRequest(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] deletedAssignedUserRoles: _list[str] @typing.type_check_only -class BulkEditAssignedUserRolesResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesResponse(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] @typing.type_check_only -class BulkEditLineItemAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditLineItemAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditLineItemAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditLineItemAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsRequest(typing.TypedDict, total=False): createdNegativeKeywords: _list[NegativeKeyword] deletedNegativeKeywords: _list[str] @typing.type_check_only -class BulkEditNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditSitesRequest(typing_extensions.TypedDict, total=False): +class BulkEditSitesRequest(typing.TypedDict, total=False): advertiserId: str createdSites: _list[Site] deletedSites: _list[str] partnerId: str @typing.type_check_only -class BulkEditSitesResponse(typing_extensions.TypedDict, total=False): +class BulkEditSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class BulkListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkListCampaignAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListCampaignAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only class BulkListInsertionOrderAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkListLineItemAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListLineItemAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BusinessChainAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class BusinessChainAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class BusinessChainSearchTerms(typing_extensions.TypedDict, total=False): +class BusinessChainSearchTerms(typing.TypedDict, total=False): businessChainQuery: str regionQuery: str @typing.type_check_only -class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BusinessChainTargetingOptionDetails(typing.TypedDict, total=False): businessChain: str geoRegion: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -619,14 +587,14 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): +class Campaign(typing.TypedDict, total=False): advertiserId: str campaignBudgets: _list[CampaignBudget] campaignFlight: CampaignFlight campaignGoal: CampaignGoal campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -639,16 +607,16 @@ class Campaign(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CampaignBudget(typing_extensions.TypedDict, total=False): +class CampaignBudget(typing.TypedDict, total=False): budgetAmountMicros: str budgetId: str - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] dateRange: DateRange displayName: str externalBudgetId: str - externalBudgetSource: typing_extensions.Literal[ + externalBudgetSource: typing.Literal[ "EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", "EXTERNAL_BUDGET_SOURCE_NONE", "EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN", @@ -657,13 +625,13 @@ class CampaignBudget(typing_extensions.TypedDict, total=False): prismaConfig: PrismaConfig @typing.type_check_only -class CampaignFlight(typing_extensions.TypedDict, total=False): +class CampaignFlight(typing.TypedDict, total=False): plannedDates: DateRange plannedSpendAmountMicros: str @typing.type_check_only -class CampaignGoal(typing_extensions.TypedDict, total=False): - campaignGoalType: typing_extensions.Literal[ +class CampaignGoal(typing.TypedDict, total=False): + campaignGoalType: typing.Literal[ "CAMPAIGN_GOAL_TYPE_UNSPECIFIED", "CAMPAIGN_GOAL_TYPE_APP_INSTALL", "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", @@ -673,34 +641,32 @@ class CampaignGoal(typing_extensions.TypedDict, total=False): performanceGoal: PerformanceGoal @typing.type_check_only -class CarrierAndIspAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class CarrierAndIspAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CarrierAndIspTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CarrierAndIspTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CARRIER_AND_ISP_TYPE_UNSPECIFIED", "CARRIER_AND_ISP_TYPE_ISP", "CARRIER_AND_ISP_TYPE_CARRIER", ] @typing.type_check_only -class CategoryAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): advertiserId: str channelId: str displayName: str @@ -710,12 +676,12 @@ class Channel(typing_extensions.TypedDict, total=False): positivelyTargetedLineItemCount: str @typing.type_check_only -class ChannelAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ChannelAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelId: str negative: bool @typing.type_check_only -class CmHybridConfig(typing_extensions.TypedDict, total=False): +class CmHybridConfig(typing.TypedDict, total=False): cmAccountId: str cmAdvertiserIds: _list[str] cmFloodlightConfigId: str @@ -725,36 +691,36 @@ class CmHybridConfig(typing_extensions.TypedDict, total=False): dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class CmTrackingAd(typing_extensions.TypedDict, total=False): +class CmTrackingAd(typing.TypedDict, total=False): cmAdId: str cmCreativeId: str cmPlacementId: str @typing.type_check_only -class CombinedAudience(typing_extensions.TypedDict, total=False): +class CombinedAudience(typing.TypedDict, total=False): combinedAudienceId: str displayName: str name: str @typing.type_check_only -class CombinedAudienceGroup(typing_extensions.TypedDict, total=False): +class CombinedAudienceGroup(typing.TypedDict, total=False): settings: _list[CombinedAudienceTargetingSetting] @typing.type_check_only -class CombinedAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class CombinedAudienceTargetingSetting(typing.TypedDict, total=False): combinedAudienceId: str @typing.type_check_only -class Consent(typing_extensions.TypedDict, total=False): - adPersonalization: typing_extensions.Literal[ +class Consent(typing.TypedDict, total=False): + adPersonalization: typing.Literal[ "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" ] - adUserData: typing_extensions.Literal[ + adUserData: typing.Literal[ "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" ] @typing.type_check_only -class ContactInfo(typing_extensions.TypedDict, total=False): +class ContactInfo(typing.TypedDict, total=False): countryCode: str hashedEmails: _list[str] hashedFirstName: str @@ -763,15 +729,13 @@ class ContactInfo(typing_extensions.TypedDict, total=False): zipCodes: _list[str] @typing.type_check_only -class ContactInfoList(typing_extensions.TypedDict, total=False): +class ContactInfoList(typing.TypedDict, total=False): consent: Consent contactInfos: _list[ContactInfo] @typing.type_check_only -class ContentDurationAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentDuration: typing_extensions.Literal[ +class ContentDurationAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -784,8 +748,8 @@ class ContentDurationAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentDuration: typing_extensions.Literal[ +class ContentDurationTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -797,25 +761,23 @@ class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ContentGenreAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ContentGenreAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class ContentGenreTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ContentGenreTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only class ContentInstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentInstreamPosition: typing_extensions.Literal[ + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -825,10 +787,8 @@ class ContentInstreamPositionAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class ContentInstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentInstreamPosition: typing_extensions.Literal[ +class ContentInstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -838,12 +798,12 @@ class ContentInstreamPositionTargetingOptionDetails( @typing.type_check_only class ContentOutstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentOutstreamPosition: typing_extensions.Literal[ + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -854,10 +814,8 @@ class ContentOutstreamPositionAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class ContentOutstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentOutstreamPosition: typing_extensions.Literal[ +class ContentOutstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -867,42 +825,40 @@ class ContentOutstreamPositionTargetingOptionDetails( ] @typing.type_check_only -class ContentStreamTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] targetingOptionId: str @typing.type_check_only -class ContentStreamTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] @typing.type_check_only -class ConversionCountingConfig(typing_extensions.TypedDict, total=False): +class ConversionCountingConfig(typing.TypedDict, total=False): floodlightActivityConfigs: _list[TrackingFloodlightActivityConfig] postViewCountPercentageMillis: str @typing.type_check_only -class CounterEvent(typing_extensions.TypedDict, total=False): +class CounterEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class CreateAssetRequest(typing_extensions.TypedDict, total=False): +class CreateAssetRequest(typing.TypedDict, total=False): filename: str @typing.type_check_only -class CreateAssetResponse(typing_extensions.TypedDict, total=False): +class CreateAssetResponse(typing.TypedDict, total=False): asset: Asset @typing.type_check_only -class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class CreateAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -952,13 +908,13 @@ class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): +class CreateSdfDownloadTaskRequest(typing.TypedDict, total=False): advertiserId: str idFilter: IdFilter inventorySourceFilter: InventorySourceFilter parentEntityFilter: ParentEntityFilter partnerId: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -975,7 +931,7 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): additionalDimensions: _list[Dimensions] advertiserId: str appendedTag: str @@ -986,7 +942,7 @@ class Creative(typing_extensions.TypedDict, total=False): counterEvents: _list[CounterEvent] createTime: str creativeAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CREATIVE_ATTRIBUTE_UNSPECIFIED", "CREATIVE_ATTRIBUTE_VAST", "CREATIVE_ATTRIBUTE_VPAID_LINEAR", @@ -994,7 +950,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] ] creativeId: str - creativeType: typing_extensions.Literal[ + creativeType: typing.Literal[ "CREATIVE_TYPE_UNSPECIFIED", "CREATIVE_TYPE_STANDARD", "CREATIVE_TYPE_EXPANDABLE", @@ -1014,7 +970,7 @@ class Creative(typing_extensions.TypedDict, total=False): dimensions: Dimensions displayName: str dynamic: bool - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1024,7 +980,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] exitEvents: _list[ExitEvent] expandOnHover: bool - expandingDirection: typing_extensions.Literal[ + expandingDirection: typing.Literal[ "EXPANDING_DIRECTION_UNSPECIFIED", "EXPANDING_DIRECTION_NONE", "EXPANDING_DIRECTION_UP", @@ -1039,7 +995,7 @@ class Creative(typing_extensions.TypedDict, total=False): "EXPANDING_DIRECTION_LEFT_OR_RIGHT", "EXPANDING_DIRECTION_ANY_DIAGONAL", ] - hostingSource: typing_extensions.Literal[ + hostingSource: typing.Literal[ "HOSTING_SOURCE_UNSPECIFIED", "HOSTING_SOURCE_CM", "HOSTING_SOURCE_THIRD_PARTY", @@ -1075,8 +1031,8 @@ class Creative(typing_extensions.TypedDict, total=False): vpaid: bool @typing.type_check_only -class CreativeConfig(typing_extensions.TypedDict, total=False): - creativeType: typing_extensions.Literal[ +class CreativeConfig(typing.TypedDict, total=False): + creativeType: typing.Literal[ "CREATIVE_TYPE_UNSPECIFIED", "CREATIVE_TYPE_STANDARD", "CREATIVE_TYPE_EXPANDABLE", @@ -1097,20 +1053,20 @@ class CreativeConfig(typing_extensions.TypedDict, total=False): videoCreativeConfig: InventorySourceVideoCreativeConfig @typing.type_check_only -class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithm(typing.TypedDict, total=False): advertiserId: str customBiddingAlgorithmId: str - customBiddingAlgorithmState: typing_extensions.Literal[ + customBiddingAlgorithmState: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DORMANT", "SUSPENDED" ] - customBiddingAlgorithmType: typing_extensions.Literal[ + customBiddingAlgorithmType: typing.Literal[ "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", "SCRIPT_BASED", "ADS_DATA_HUB_BASED", "GOAL_BUILDER_BASED", ] displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1124,9 +1080,9 @@ class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): sharedAdvertiserIds: _list[str] @typing.type_check_only -class CustomBiddingModelReadinessState(typing_extensions.TypedDict, total=False): +class CustomBiddingModelReadinessState(typing.TypedDict, total=False): advertiserId: str - readinessState: typing_extensions.Literal[ + readinessState: typing.Literal[ "READINESS_STATE_UNSPECIFIED", "READINESS_STATE_ACTIVE", "READINESS_STATE_INSUFFICIENT_DATA", @@ -1135,7 +1091,7 @@ class CustomBiddingModelReadinessState(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class CustomBiddingScript(typing_extensions.TypedDict, total=False): +class CustomBiddingScript(typing.TypedDict, total=False): active: bool createTime: str customBiddingAlgorithmId: str @@ -1143,44 +1099,40 @@ class CustomBiddingScript(typing_extensions.TypedDict, total=False): errors: _list[ScriptError] name: str script: CustomBiddingScriptRef - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING"] @typing.type_check_only -class CustomBiddingScriptRef(typing_extensions.TypedDict, total=False): +class CustomBiddingScriptRef(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class CustomList(typing_extensions.TypedDict, total=False): +class CustomList(typing.TypedDict, total=False): customListId: str displayName: str name: str @typing.type_check_only -class CustomListGroup(typing_extensions.TypedDict, total=False): +class CustomListGroup(typing.TypedDict, total=False): settings: _list[CustomListTargetingSetting] @typing.type_check_only -class CustomListTargetingSetting(typing_extensions.TypedDict, total=False): +class CustomListTargetingSetting(typing.TypedDict, total=False): customListId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class DayAndTimeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - dayOfWeek: typing_extensions.Literal[ +class DayAndTimeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1192,19 +1144,19 @@ class DayAndTimeAssignedTargetingOptionDetails( ] endHour: int startHour: int - timeZoneResolution: typing_extensions.Literal[ + timeZoneResolution: typing.Literal[ "TIME_ZONE_RESOLUTION_UNSPECIFIED", "TIME_ZONE_RESOLUTION_END_USER", "TIME_ZONE_RESOLUTION_ADVERTISER", ] @typing.type_check_only -class DeactivateManualTriggerRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateManualTriggerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class DeleteAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptionIds: _list[str] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1254,22 +1206,18 @@ class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class DeviceMakeModelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class DeviceMakeModelAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class DeviceMakeModelTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class DeviceMakeModelTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class DeviceTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - deviceType: typing_extensions.Literal[ +class DeviceTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -1279,8 +1227,8 @@ class DeviceTypeAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceTypeTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -1289,10 +1237,8 @@ class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class DigitalContentLabelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -1303,10 +1249,8 @@ class DigitalContentLabelAssignedTargetingOptionDetails( excludedTargetingOptionId: str @typing.type_check_only -class DigitalContentLabelTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelTargetingOptionDetails(typing.TypedDict, total=False): + contentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -1316,15 +1260,15 @@ class DigitalContentLabelTargetingOptionDetails( ] @typing.type_check_only -class Dimensions(typing_extensions.TypedDict, total=False): +class Dimensions(typing.TypedDict, total=False): heightPixels: int widthPixels: int @typing.type_check_only -class DoubleVerify(typing_extensions.TypedDict, total=False): +class DoubleVerify(typing.TypedDict, total=False): appStarRating: DoubleVerifyAppStarRating avoidedAgeRatings: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGE_RATING_UNSPECIFIED", "APP_AGE_RATE_UNKNOWN", "APP_AGE_RATE_4_PLUS", @@ -1341,9 +1285,9 @@ class DoubleVerify(typing_extensions.TypedDict, total=False): videoViewability: DoubleVerifyVideoViewability @typing.type_check_only -class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): +class DoubleVerifyAppStarRating(typing.TypedDict, total=False): avoidInsufficientStarRating: bool - avoidedStarRating: typing_extensions.Literal[ + avoidedStarRating: typing.Literal[ "APP_STAR_RATE_UNSPECIFIED", "APP_STAR_RATE_1_POINT_5_LESS", "APP_STAR_RATE_2_LESS", @@ -1355,10 +1299,10 @@ class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False): +class DoubleVerifyBrandSafetyCategories(typing.TypedDict, total=False): avoidUnknownBrandSafetyCategory: bool avoidedHighSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "HIGHER_SEVERITY_UNSPECIFIED", "ADULT_CONTENT_PORNOGRAPHY", "COPYRIGHT_INFRINGEMENT", @@ -1370,7 +1314,7 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] ] avoidedMediumSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEDIUM_SEVERITY_UNSPECIFIED", "AD_SERVERS", "ADULT_CONTENT_SWIMSUIT", @@ -1396,8 +1340,8 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): - iab: typing_extensions.Literal[ +class DoubleVerifyDisplayViewability(typing.TypedDict, total=False): + iab: typing.Literal[ "IAB_VIEWED_RATE_UNSPECIFIED", "IAB_VIEWED_RATE_80_PERCENT_HIGHER", "IAB_VIEWED_RATE_75_PERCENT_HIGHER", @@ -1409,7 +1353,7 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWED_RATE_40_PERCENT_HIGHER", "IAB_VIEWED_RATE_30_PERCENT_HIGHER", ] - viewableDuring: typing_extensions.Literal[ + viewableDuring: typing.Literal[ "AVERAGE_VIEW_DURATION_UNSPECIFIED", "AVERAGE_VIEW_DURATION_5_SEC", "AVERAGE_VIEW_DURATION_10_SEC", @@ -1417,9 +1361,9 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): +class DoubleVerifyFraudInvalidTraffic(typing.TypedDict, total=False): avoidInsufficientOption: bool - avoidedFraudOption: typing_extensions.Literal[ + avoidedFraudOption: typing.Literal[ "FRAUD_UNSPECIFIED", "AD_IMPRESSION_FRAUD_100", "AD_IMPRESSION_FRAUD_50", @@ -1432,15 +1376,15 @@ class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): - playerImpressionRate: typing_extensions.Literal[ +class DoubleVerifyVideoViewability(typing.TypedDict, total=False): + playerImpressionRate: typing.Literal[ "PLAYER_SIZE_400X300_UNSPECIFIED", "PLAYER_SIZE_400X300_95", "PLAYER_SIZE_400X300_70", "PLAYER_SIZE_400X300_25", "PLAYER_SIZE_400X300_5", ] - videoIab: typing_extensions.Literal[ + videoIab: typing.Literal[ "VIDEO_IAB_UNSPECIFIED", "IAB_VIEWABILITY_80_PERCENT_HIGHER", "IAB_VIEWABILITY_75_PERCENT_HIGHER", @@ -1452,7 +1396,7 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWABILITY_40_PERCENT_HIHGER", "IAB_VIEWABILITY_30_PERCENT_HIHGER", ] - videoViewableRate: typing_extensions.Literal[ + videoViewableRate: typing.Literal[ "VIDEO_VIEWABLE_RATE_UNSPECIFIED", "VIEWED_PERFORMANCE_40_PERCENT_HIGHER", "VIEWED_PERFORMANCE_35_PERCENT_HIGHER", @@ -1463,52 +1407,46 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EditCustomerMatchMembersRequest(typing_extensions.TypedDict, total=False): +class EditCustomerMatchMembersRequest(typing.TypedDict, total=False): addedContactInfoList: ContactInfoList addedMobileDeviceIdList: MobileDeviceIdList advertiserId: str @typing.type_check_only -class EditCustomerMatchMembersResponse(typing_extensions.TypedDict, total=False): +class EditCustomerMatchMembersResponse(typing.TypedDict, total=False): firstAndThirdPartyAudienceId: str @typing.type_check_only -class EditGuaranteedOrderReadAccessorsRequest(typing_extensions.TypedDict, total=False): +class EditGuaranteedOrderReadAccessorsRequest(typing.TypedDict, total=False): addedAdvertisers: _list[str] partnerId: str readAccessInherited: bool removedAdvertisers: _list[str] @typing.type_check_only -class EditGuaranteedOrderReadAccessorsResponse( - typing_extensions.TypedDict, total=False -): +class EditGuaranteedOrderReadAccessorsResponse(typing.TypedDict, total=False): readAccessInherited: bool readAdvertiserIds: _list[str] @typing.type_check_only -class EditInventorySourceReadWriteAccessorsRequest( - typing_extensions.TypedDict, total=False -): +class EditInventorySourceReadWriteAccessorsRequest(typing.TypedDict, total=False): advertisersUpdate: EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate assignPartner: bool partnerId: str @typing.type_check_only class EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addedAdvertisers: _list[str] removedAdvertisers: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - environment: typing_extensions.Literal[ +class EnvironmentAssignedTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -1517,8 +1455,8 @@ class EnvironmentAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal[ +class EnvironmentTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -1526,16 +1464,16 @@ class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str @typing.type_check_only -class ExchangeConfig(typing_extensions.TypedDict, total=False): +class ExchangeConfig(typing.TypedDict, total=False): enabledExchanges: _list[ExchangeConfigEnabledExchange] @typing.type_check_only -class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeConfigEnabledExchange(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -1617,8 +1555,8 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): seatId: str @typing.type_check_only -class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeReviewStatus(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -1695,7 +1633,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_RESET_DIGITAL", "EXCHANGE_HIVESTACK", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -1703,8 +1641,8 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeTargetingOptionDetails(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -1783,10 +1721,10 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExitEvent(typing_extensions.TypedDict, total=False): +class ExitEvent(typing.TypedDict, total=False): name: str reportingName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "EXIT_EVENT_TYPE_UNSPECIFIED", "EXIT_EVENT_TYPE_DEFAULT", "EXIT_EVENT_TYPE_BACKUP", @@ -1794,10 +1732,10 @@ class ExitEvent(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class FirstAndThirdPartyAudience(typing_extensions.TypedDict, total=False): +class FirstAndThirdPartyAudience(typing.TypedDict, total=False): activeDisplayAudienceSize: str appId: str - audienceSource: typing_extensions.Literal[ + audienceSource: typing.Literal[ "AUDIENCE_SOURCE_UNSPECIFIED", "DISPLAY_VIDEO_360", "CAMPAIGN_MANAGER", @@ -1806,7 +1744,7 @@ class FirstAndThirdPartyAudience(typing_extensions.TypedDict, total=False): "YOUTUBE", "ADS_DATA_HUB", ] - audienceType: typing_extensions.Literal[ + audienceType: typing.Literal[ "AUDIENCE_TYPE_UNSPECIFIED", "CUSTOMER_MATCH_CONTACT_INFO", "CUSTOMER_MATCH_DEVICE_ID", @@ -1825,7 +1763,7 @@ class FirstAndThirdPartyAudience(typing_extensions.TypedDict, total=False): displayMobileWebAudienceSize: str displayName: str firstAndThirdPartyAudienceId: str - firstAndThirdPartyAudienceType: typing_extensions.Literal[ + firstAndThirdPartyAudienceType: typing.Literal[ "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_UNSPECIFIED", "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTY", "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTY", @@ -1837,15 +1775,13 @@ class FirstAndThirdPartyAudience(typing_extensions.TypedDict, total=False): youtubeAudienceSize: str @typing.type_check_only -class FirstAndThirdPartyAudienceGroup(typing_extensions.TypedDict, total=False): +class FirstAndThirdPartyAudienceGroup(typing.TypedDict, total=False): settings: _list[FirstAndThirdPartyAudienceTargetingSetting] @typing.type_check_only -class FirstAndThirdPartyAudienceTargetingSetting( - typing_extensions.TypedDict, total=False -): +class FirstAndThirdPartyAudienceTargetingSetting(typing.TypedDict, total=False): firstAndThirdPartyAudienceId: str - recency: typing_extensions.Literal[ + recency: typing.Literal[ "RECENCY_NO_LIMIT", "RECENCY_1_MINUTE", "RECENCY_5_MINUTES", @@ -1879,18 +1815,18 @@ class FirstAndThirdPartyAudienceTargetingSetting( ] @typing.type_check_only -class FixedBidStrategy(typing_extensions.TypedDict, total=False): +class FixedBidStrategy(typing.TypedDict, total=False): bidAmountMicros: str @typing.type_check_only -class FloodlightGroup(typing_extensions.TypedDict, total=False): +class FloodlightGroup(typing.TypedDict, total=False): activeViewConfig: ActiveViewVideoViewabilityMetricConfig customVariables: dict[str, typing.Any] displayName: str floodlightGroupId: str lookbackWindow: LookbackWindow name: str - webTagType: typing_extensions.Literal[ + webTagType: typing.Literal[ "WEB_TAG_TYPE_UNSPECIFIED", "WEB_TAG_TYPE_NONE", "WEB_TAG_TYPE_IMAGE", @@ -1898,9 +1834,9 @@ class FloodlightGroup(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): maxImpressions: int - timeUnit: typing_extensions.Literal[ + timeUnit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "TIME_UNIT_LIFETIME", "TIME_UNIT_MONTHS", @@ -1913,23 +1849,23 @@ class FrequencyCap(typing_extensions.TypedDict, total=False): unlimited: bool @typing.type_check_only -class GenderAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderAssignedTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] targetingOptionId: str @typing.type_check_only -class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] @typing.type_check_only -class GenerateDefaultLineItemRequest(typing_extensions.TypedDict, total=False): +class GenerateDefaultLineItemRequest(typing.TypedDict, total=False): displayName: str insertionOrderId: str - lineItemType: typing_extensions.Literal[ + lineItemType: typing.Literal[ "LINE_ITEM_TYPE_UNSPECIFIED", "LINE_ITEM_TYPE_DISPLAY_DEFAULT", "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", @@ -1945,9 +1881,9 @@ class GenerateDefaultLineItemRequest(typing_extensions.TypedDict, total=False): mobileApp: MobileApp @typing.type_check_only -class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -1982,13 +1918,13 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total targetingOptionId: str @typing.type_check_only -class GeoRegionSearchTerms(typing_extensions.TypedDict, total=False): +class GeoRegionSearchTerms(typing.TypedDict, total=False): geoRegionQuery: str @typing.type_check_only -class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -2021,10 +1957,10 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleAudience(typing_extensions.TypedDict, total=False): +class GoogleAudience(typing.TypedDict, total=False): displayName: str googleAudienceId: str - googleAudienceType: typing_extensions.Literal[ + googleAudienceType: typing.Literal[ "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", "GOOGLE_AUDIENCE_TYPE_AFFINITY", "GOOGLE_AUDIENCE_TYPE_IN_MARKET", @@ -2036,23 +1972,23 @@ class GoogleAudience(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleAudienceGroup(typing_extensions.TypedDict, total=False): +class GoogleAudienceGroup(typing.TypedDict, total=False): settings: _list[GoogleAudienceTargetingSetting] @typing.type_check_only -class GoogleAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class GoogleAudienceTargetingSetting(typing.TypedDict, total=False): googleAudienceId: str @typing.type_check_only -class GoogleBytestreamMedia(typing_extensions.TypedDict, total=False): +class GoogleBytestreamMedia(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GuaranteedOrder(typing_extensions.TypedDict, total=False): +class GuaranteedOrder(typing.TypedDict, total=False): defaultAdvertiserId: str defaultCampaignId: str displayName: str - exchange: typing_extensions.Literal[ + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2141,12 +2077,12 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): - configStatus: typing_extensions.Literal[ +class GuaranteedOrderStatus(typing.TypedDict, total=False): + configStatus: typing.Literal[ "GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", "PENDING", "COMPLETED" ] entityPauseReason: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2156,10 +2092,8 @@ class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HouseholdIncomeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -2172,8 +2106,8 @@ class HouseholdIncomeAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -2185,7 +2119,7 @@ class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class IdFilter(typing_extensions.TypedDict, total=False): +class IdFilter(typing.TypedDict, total=False): adGroupAdIds: _list[str] adGroupIds: _list[str] campaignIds: _list[str] @@ -2194,10 +2128,10 @@ class IdFilter(typing_extensions.TypedDict, total=False): mediaProductIds: _list[str] @typing.type_check_only -class InsertionOrder(typing_extensions.TypedDict, total=False): +class InsertionOrder(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy - billableOutcome: typing_extensions.Literal[ + billableOutcome: typing.Literal[ "BILLABLE_OUTCOME_UNSPECIFIED", "BILLABLE_OUTCOME_PAY_PER_IMPRESSION", "BILLABLE_OUTCOME_PAY_PER_CLICK", @@ -2206,7 +2140,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): budget: InsertionOrderBudget campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2216,7 +2150,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): ] frequencyCap: FrequencyCap insertionOrderId: str - insertionOrderType: typing_extensions.Literal[ + insertionOrderType: typing.Literal[ "INSERTION_ORDER_TYPE_UNSPECIFIED", "RTB", "OVER_THE_TOP" ] integrationDetails: IntegrationDetails @@ -2224,7 +2158,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): pacing: Pacing partnerCosts: _list[PartnerCost] performanceGoal: PerformanceGoal - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -2233,29 +2167,29 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InsertionOrderBudget(typing_extensions.TypedDict, total=False): - automationType: typing_extensions.Literal[ +class InsertionOrderBudget(typing.TypedDict, total=False): + automationType: typing.Literal[ "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", "INSERTION_ORDER_AUTOMATION_TYPE_NONE", "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET", ] budgetSegments: _list[InsertionOrderBudgetSegment] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] @typing.type_check_only -class InsertionOrderBudgetSegment(typing_extensions.TypedDict, total=False): +class InsertionOrderBudgetSegment(typing.TypedDict, total=False): budgetAmountMicros: str campaignBudgetId: str dateRange: DateRange description: str @typing.type_check_only -class IntegralAdScience(typing_extensions.TypedDict, total=False): +class IntegralAdScience(typing.TypedDict, total=False): customSegmentId: _list[str] - displayViewability: typing_extensions.Literal[ + displayViewability: typing.Literal[ "PERFORMANCE_VIEWABILITY_UNSPECIFIED", "PERFORMANCE_VIEWABILITY_40", "PERFORMANCE_VIEWABILITY_50", @@ -2263,38 +2197,34 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "PERFORMANCE_VIEWABILITY_70", ] excludeUnrateable: bool - excludedAdFraudRisk: typing_extensions.Literal[ + excludedAdFraudRisk: typing.Literal[ "SUSPICIOUS_ACTIVITY_UNSPECIFIED", "SUSPICIOUS_ACTIVITY_HR", "SUSPICIOUS_ACTIVITY_HMR", ] - excludedAdultRisk: typing_extensions.Literal[ - "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" - ] - excludedAlcoholRisk: typing_extensions.Literal[ + excludedAdultRisk: typing.Literal["ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR"] + excludedAlcoholRisk: typing.Literal[ "ALCOHOL_UNSPECIFIED", "ALCOHOL_HR", "ALCOHOL_HMR" ] - excludedDrugsRisk: typing_extensions.Literal[ - "DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR" - ] - excludedGamblingRisk: typing_extensions.Literal[ + excludedDrugsRisk: typing.Literal["DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR"] + excludedGamblingRisk: typing.Literal[ "GAMBLING_UNSPECIFIED", "GAMBLING_HR", "GAMBLING_HMR" ] - excludedHateSpeechRisk: typing_extensions.Literal[ + excludedHateSpeechRisk: typing.Literal[ "HATE_SPEECH_UNSPECIFIED", "HATE_SPEECH_HR", "HATE_SPEECH_HMR" ] - excludedIllegalDownloadsRisk: typing_extensions.Literal[ + excludedIllegalDownloadsRisk: typing.Literal[ "ILLEGAL_DOWNLOADS_UNSPECIFIED", "ILLEGAL_DOWNLOADS_HR", "ILLEGAL_DOWNLOADS_HMR" ] - excludedOffensiveLanguageRisk: typing_extensions.Literal[ + excludedOffensiveLanguageRisk: typing.Literal[ "OFFENSIVE_LANGUAGE_UNSPECIFIED", "OFFENSIVE_LANGUAGE_HR", "OFFENSIVE_LANGUAGE_HMR", ] - excludedViolenceRisk: typing_extensions.Literal[ + excludedViolenceRisk: typing.Literal[ "VIOLENCE_UNSPECIFIED", "VIOLENCE_HR", "VIOLENCE_HMR" ] - traqScoreOption: typing_extensions.Literal[ + traqScoreOption: typing.Literal[ "TRAQ_UNSPECIFIED", "TRAQ_250", "TRAQ_500", @@ -2304,7 +2234,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "TRAQ_875", "TRAQ_1000", ] - videoViewability: typing_extensions.Literal[ + videoViewability: typing.Literal[ "VIDEO_VIEWABILITY_UNSPECIFIED", "VIDEO_VIEWABILITY_40", "VIDEO_VIEWABILITY_50", @@ -2313,26 +2243,26 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegrationDetails(typing_extensions.TypedDict, total=False): +class IntegrationDetails(typing.TypedDict, total=False): details: str integrationCode: str @typing.type_check_only -class InventorySource(typing_extensions.TypedDict, total=False): - commitment: typing_extensions.Literal[ +class InventorySource(typing.TypedDict, total=False): + commitment: typing.Literal[ "INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED", "INVENTORY_SOURCE_COMMITMENT_GUARANTEED", "INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED", ] creativeConfigs: _list[CreativeConfig] dealId: str - deliveryMethod: typing_extensions.Literal[ + deliveryMethod: typing.Literal[ "INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED", "INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC", "INVENTORY_SOURCE_DELIVERY_METHOD_TAG", ] displayName: str - exchange: typing_extensions.Literal[ + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2411,7 +2341,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): ] guaranteedOrderId: str inventorySourceId: str - inventorySourceProductType: typing_extensions.Literal[ + inventorySourceProductType: typing.Literal[ "INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED", "PREFERRED_DEAL", "PRIVATE_AUCTION", @@ -2423,7 +2353,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "PROGRAMMATIC_TV", "AUCTION_PACKAGE", ] - inventorySourceType: typing_extensions.Literal[ + inventorySourceType: typing.Literal[ "INVENTORY_SOURCE_TYPE_UNSPECIFIED", "INVENTORY_SOURCE_TYPE_PRIVATE", "INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE", @@ -2439,55 +2369,49 @@ class InventorySource(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InventorySourceAccessors(typing_extensions.TypedDict, total=False): +class InventorySourceAccessors(typing.TypedDict, total=False): advertisers: InventorySourceAccessorsAdvertiserAccessors partner: InventorySourceAccessorsPartnerAccessor @typing.type_check_only -class InventorySourceAccessorsAdvertiserAccessors( - typing_extensions.TypedDict, total=False -): +class InventorySourceAccessorsAdvertiserAccessors(typing.TypedDict, total=False): advertiserIds: _list[str] @typing.type_check_only -class InventorySourceAccessorsPartnerAccessor(typing_extensions.TypedDict, total=False): +class InventorySourceAccessorsPartnerAccessor(typing.TypedDict, total=False): partnerId: str @typing.type_check_only -class InventorySourceAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceId: str @typing.type_check_only -class InventorySourceDisplayCreativeConfig(typing_extensions.TypedDict, total=False): +class InventorySourceDisplayCreativeConfig(typing.TypedDict, total=False): creativeSize: Dimensions @typing.type_check_only -class InventorySourceFilter(typing_extensions.TypedDict, total=False): +class InventorySourceFilter(typing.TypedDict, total=False): inventorySourceIds: _list[str] @typing.type_check_only -class InventorySourceGroup(typing_extensions.TypedDict, total=False): +class InventorySourceGroup(typing.TypedDict, total=False): displayName: str inventorySourceGroupId: str name: str @typing.type_check_only -class InventorySourceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceGroupId: str @typing.type_check_only -class InventorySourceStatus(typing_extensions.TypedDict, total=False): - configStatus: typing_extensions.Literal[ +class InventorySourceStatus(typing.TypedDict, total=False): + configStatus: typing.Literal[ "INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED", "INVENTORY_SOURCE_CONFIG_STATUS_PENDING", "INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED", ] entityPauseReason: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2496,7 +2420,7 @@ class InventorySourceStatus(typing_extensions.TypedDict, total=False): "ENTITY_STATUS_SCHEDULED_FOR_DELETION", ] sellerPauseReason: str - sellerStatus: typing_extensions.Literal[ + sellerStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2506,11 +2430,11 @@ class InventorySourceStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InventorySourceVideoCreativeConfig(typing_extensions.TypedDict, total=False): +class InventorySourceVideoCreativeConfig(typing.TypedDict, total=False): duration: str @typing.type_check_only -class Invoice(typing_extensions.TypedDict, total=False): +class Invoice(typing.TypedDict, total=False): budgetInvoiceGroupingId: str budgetSummaries: _list[BudgetSummary] correctedInvoiceId: str @@ -2518,7 +2442,7 @@ class Invoice(typing_extensions.TypedDict, total=False): displayName: str dueDate: Date invoiceId: str - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" ] issueDate: Date @@ -2535,22 +2459,22 @@ class Invoice(typing_extensions.TypedDict, total=False): totalTaxAmountMicros: str @typing.type_check_only -class KeywordAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class KeywordAssignedTargetingOptionDetails(typing.TypedDict, total=False): keyword: str negative: bool @typing.type_check_only -class LanguageAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class LanguageTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class LineItem(typing_extensions.TypedDict, total=False): +class LineItem(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy budget: LineItemBudget @@ -2558,7 +2482,7 @@ class LineItem(typing_extensions.TypedDict, total=False): conversionCounting: ConversionCountingConfig creativeIds: _list[str] displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2573,7 +2497,7 @@ class LineItem(typing_extensions.TypedDict, total=False): integrationDetails: IntegrationDetails inventorySourceIds: _list[str] lineItemId: str - lineItemType: typing_extensions.Literal[ + lineItemType: typing.Literal[ "LINE_ITEM_TYPE_UNSPECIFIED", "LINE_ITEM_TYPE_DISPLAY_DEFAULT", "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", @@ -2591,7 +2515,7 @@ class LineItem(typing_extensions.TypedDict, total=False): pacing: Pacing partnerCosts: _list[PartnerCost] partnerRevenueModel: PartnerRevenueModel - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -2600,7 +2524,7 @@ class LineItem(typing_extensions.TypedDict, total=False): targetingExpansion: TargetingExpansionConfig updateTime: str warningMessages: _list[ - typing_extensions.Literal[ + typing.Literal[ "LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", "INVALID_FLIGHT_DATES", "EXPIRED", @@ -2624,22 +2548,22 @@ class LineItem(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LineItemBudget(typing_extensions.TypedDict, total=False): - budgetAllocationType: typing_extensions.Literal[ +class LineItemBudget(typing.TypedDict, total=False): + budgetAllocationType: typing.Literal[ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED", ] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] maxAmount: str @typing.type_check_only -class LineItemFlight(typing_extensions.TypedDict, total=False): +class LineItemFlight(typing.TypedDict, total=False): dateRange: DateRange - flightDateType: typing_extensions.Literal[ + flightDateType: typing.Literal[ "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM", @@ -2648,176 +2572,166 @@ class LineItemFlight(typing_extensions.TypedDict, total=False): triggerId: str @typing.type_check_only -class ListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListAdvertisersResponse(typing_extensions.TypedDict, total=False): +class ListAdvertisersResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] nextPageToken: str @typing.type_check_only -class ListAssignedInventorySourcesResponse(typing_extensions.TypedDict, total=False): +class ListAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] nextPageToken: str @typing.type_check_only -class ListAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class ListAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] nextPageToken: str @typing.type_check_only -class ListCampaignAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListCampaignAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListCampaignsResponse(typing_extensions.TypedDict, total=False): +class ListCampaignsResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] nextPageToken: str @typing.type_check_only -class ListChannelsResponse(typing_extensions.TypedDict, total=False): +class ListChannelsResponse(typing.TypedDict, total=False): channels: _list[Channel] nextPageToken: str @typing.type_check_only -class ListCombinedAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListCombinedAudiencesResponse(typing.TypedDict, total=False): combinedAudiences: _list[CombinedAudience] nextPageToken: str @typing.type_check_only -class ListCreativesResponse(typing_extensions.TypedDict, total=False): +class ListCreativesResponse(typing.TypedDict, total=False): creatives: _list[Creative] nextPageToken: str @typing.type_check_only -class ListCustomBiddingAlgorithmsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingAlgorithmsResponse(typing.TypedDict, total=False): customBiddingAlgorithms: _list[CustomBiddingAlgorithm] nextPageToken: str @typing.type_check_only -class ListCustomBiddingScriptsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingScriptsResponse(typing.TypedDict, total=False): customBiddingScripts: _list[CustomBiddingScript] nextPageToken: str @typing.type_check_only -class ListCustomListsResponse(typing_extensions.TypedDict, total=False): +class ListCustomListsResponse(typing.TypedDict, total=False): customLists: _list[CustomList] nextPageToken: str @typing.type_check_only -class ListFirstAndThirdPartyAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListFirstAndThirdPartyAudiencesResponse(typing.TypedDict, total=False): firstAndThirdPartyAudiences: _list[FirstAndThirdPartyAudience] nextPageToken: str @typing.type_check_only -class ListGoogleAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListGoogleAudiencesResponse(typing.TypedDict, total=False): googleAudiences: _list[GoogleAudience] nextPageToken: str @typing.type_check_only -class ListGuaranteedOrdersResponse(typing_extensions.TypedDict, total=False): +class ListGuaranteedOrdersResponse(typing.TypedDict, total=False): guaranteedOrders: _list[GuaranteedOrder] nextPageToken: str @typing.type_check_only -class ListInsertionOrderAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListInsertionOrderAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListInsertionOrdersResponse(typing_extensions.TypedDict, total=False): +class ListInsertionOrdersResponse(typing.TypedDict, total=False): insertionOrders: _list[InsertionOrder] nextPageToken: str @typing.type_check_only -class ListInventorySourceGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInventorySourceGroupsResponse(typing.TypedDict, total=False): inventorySourceGroups: _list[InventorySourceGroup] nextPageToken: str @typing.type_check_only -class ListInventorySourcesResponse(typing_extensions.TypedDict, total=False): +class ListInventorySourcesResponse(typing.TypedDict, total=False): inventorySources: _list[InventorySource] nextPageToken: str @typing.type_check_only -class ListInvoicesResponse(typing_extensions.TypedDict, total=False): +class ListInvoicesResponse(typing.TypedDict, total=False): invoices: _list[Invoice] nextPageToken: str @typing.type_check_only -class ListLineItemAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListLineItemAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListLineItemsResponse(typing_extensions.TypedDict, total=False): +class ListLineItemsResponse(typing.TypedDict, total=False): lineItems: _list[LineItem] nextPageToken: str @typing.type_check_only -class ListLocationListsResponse(typing_extensions.TypedDict, total=False): +class ListLocationListsResponse(typing.TypedDict, total=False): locationLists: _list[LocationList] nextPageToken: str @typing.type_check_only -class ListManualTriggersResponse(typing_extensions.TypedDict, total=False): +class ListManualTriggersResponse(typing.TypedDict, total=False): manualTriggers: _list[ManualTrigger] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordListsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordListsResponse(typing.TypedDict, total=False): negativeKeywordLists: _list[NegativeKeywordList] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] nextPageToken: str @typing.type_check_only -class ListPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListPartnersResponse(typing_extensions.TypedDict, total=False): +class ListPartnersResponse(typing.TypedDict, total=False): nextPageToken: str partners: _list[Partner] @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class ListTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class ListTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class LocationList(typing_extensions.TypedDict, total=False): +class LocationList(typing.TypedDict, total=False): advertiserId: str displayName: str locationListId: str - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "TARGETING_LOCATION_TYPE_UNSPECIFIED", "TARGETING_LOCATION_TYPE_PROXIMITY", "TARGETING_LOCATION_TYPE_REGIONAL", @@ -2825,29 +2739,29 @@ class LocationList(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LookbackWindow(typing_extensions.TypedDict, total=False): +class LookbackWindow(typing.TypedDict, total=False): clickDays: int impressionDays: int @typing.type_check_only -class LookupInvoiceCurrencyResponse(typing_extensions.TypedDict, total=False): +class LookupInvoiceCurrencyResponse(typing.TypedDict, total=False): currencyCode: str @typing.type_check_only -class ManualTrigger(typing_extensions.TypedDict, total=False): +class ManualTrigger(typing.TypedDict, total=False): activationDurationMinutes: str advertiserId: str displayName: str latestActivationTime: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "INACTIVE", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "INACTIVE", "ACTIVE"] triggerId: str @typing.type_check_only -class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): +class MaximizeSpendBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -2860,33 +2774,33 @@ class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): raiseBidForDeals: bool @typing.type_check_only -class MeasurementConfig(typing_extensions.TypedDict, total=False): +class MeasurementConfig(typing.TypedDict, total=False): dv360ToCmCostReportingEnabled: bool dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): +class MobileApp(typing.TypedDict, total=False): appId: str displayName: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] publisher: str @typing.type_check_only -class MobileDeviceIdList(typing_extensions.TypedDict, total=False): +class MobileDeviceIdList(typing.TypedDict, total=False): consent: Consent mobileDeviceIds: _list[str] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only class NativeContentPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contentPosition: typing_extensions.Literal[ + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -2897,10 +2811,8 @@ class NativeContentPositionAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class NativeContentPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentPosition: typing_extensions.Literal[ +class NativeContentPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -2910,12 +2822,12 @@ class NativeContentPositionTargetingOptionDetails( ] @typing.type_check_only -class NegativeKeyword(typing_extensions.TypedDict, total=False): +class NegativeKeyword(typing.TypedDict, total=False): keywordValue: str name: str @typing.type_check_only -class NegativeKeywordList(typing_extensions.TypedDict, total=False): +class NegativeKeywordList(typing.TypedDict, total=False): advertiserId: str displayName: str name: str @@ -2923,17 +2835,15 @@ class NegativeKeywordList(typing_extensions.TypedDict, total=False): targetedLineItemCount: str @typing.type_check_only -class NegativeKeywordListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class NegativeKeywordListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negativeKeywordListId: str @typing.type_check_only -class ObaIcon(typing_extensions.TypedDict, total=False): +class ObaIcon(typing.TypedDict, total=False): clickTrackingUrl: str dimensions: Dimensions landingPageUrl: str - position: typing_extensions.Literal[ + position: typing.Literal[ "OBA_ICON_POSITION_UNSPECIFIED", "OBA_ICON_POSITION_UPPER_RIGHT", "OBA_ICON_POSITION_UPPER_LEFT", @@ -2946,22 +2856,20 @@ class ObaIcon(typing_extensions.TypedDict, total=False): viewTrackingUrl: str @typing.type_check_only -class OmidAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidAssignedTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] targetingOptionId: str @typing.type_check_only -class OmidTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] @typing.type_check_only -class OnScreenPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - adType: typing_extensions.Literal[ +class OnScreenPositionAssignedTargetingOptionDetails(typing.TypedDict, total=False): + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - onScreenPosition: typing_extensions.Literal[ + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -2970,8 +2878,8 @@ class OnScreenPositionAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total=False): - onScreenPosition: typing_extensions.Literal[ +class OnScreenPositionTargetingOptionDetails(typing.TypedDict, total=False): + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -2979,19 +2887,17 @@ class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class OperatingSystemAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class OperatingSystemAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class OperatingSystemTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class OperatingSystemTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -2999,13 +2905,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Pacing(typing_extensions.TypedDict, total=False): +class Pacing(typing.TypedDict, total=False): dailyMaxImpressions: str dailyMaxMicros: str - pacingPeriod: typing_extensions.Literal[ + pacingPeriod: typing.Literal[ "PACING_PERIOD_UNSPECIFIED", "PACING_PERIOD_DAILY", "PACING_PERIOD_FLIGHT" ] - pacingType: typing_extensions.Literal[ + pacingType: typing.Literal[ "PACING_TYPE_UNSPECIFIED", "PACING_TYPE_AHEAD", "PACING_TYPE_ASAP", @@ -3013,9 +2919,9 @@ class Pacing(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentEntityFilter(typing_extensions.TypedDict, total=False): +class ParentEntityFilter(typing.TypedDict, total=False): fileType: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "FILE_TYPE_CAMPAIGN", "FILE_TYPE_MEDIA_PRODUCT", @@ -3026,7 +2932,7 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] ] filterIds: _list[str] - filterType: typing_extensions.Literal[ + filterType: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "FILTER_TYPE_NONE", "FILTER_TYPE_ADVERTISER_ID", @@ -3037,10 +2943,8 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentalStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusAssignedTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -3049,8 +2953,8 @@ class ParentalStatusAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=False): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -3058,11 +2962,11 @@ class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class Partner(typing_extensions.TypedDict, total=False): +class Partner(typing.TypedDict, total=False): adServerConfig: PartnerAdServerConfig dataAccessConfig: PartnerDataAccessConfig displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3077,12 +2981,12 @@ class Partner(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PartnerAdServerConfig(typing_extensions.TypedDict, total=False): +class PartnerAdServerConfig(typing.TypedDict, total=False): measurementConfig: MeasurementConfig @typing.type_check_only -class PartnerCost(typing_extensions.TypedDict, total=False): - costType: typing_extensions.Literal[ +class PartnerCost(typing.TypedDict, total=False): + costType: typing.Literal[ "PARTNER_COST_TYPE_UNSPECIFIED", "PARTNER_COST_TYPE_ADLOOX", "PARTNER_COST_TYPE_ADLOOX_PREBID", @@ -3117,30 +3021,30 @@ class PartnerCost(typing_extensions.TypedDict, total=False): ] feeAmount: str feePercentageMillis: str - feeType: typing_extensions.Literal[ + feeType: typing.Literal[ "PARTNER_COST_FEE_TYPE_UNSPECIFIED", "PARTNER_COST_FEE_TYPE_CPM_FEE", "PARTNER_COST_FEE_TYPE_MEDIA_FEE", ] - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", "PARTNER_COST_INVOICE_TYPE_DV360", "PARTNER_COST_INVOICE_TYPE_PARTNER", ] @typing.type_check_only -class PartnerDataAccessConfig(typing_extensions.TypedDict, total=False): +class PartnerDataAccessConfig(typing.TypedDict, total=False): sdfConfig: SdfConfig @typing.type_check_only -class PartnerGeneralConfig(typing_extensions.TypedDict, total=False): +class PartnerGeneralConfig(typing.TypedDict, total=False): currencyCode: str timeZone: str @typing.type_check_only -class PartnerRevenueModel(typing_extensions.TypedDict, total=False): +class PartnerRevenueModel(typing.TypedDict, total=False): markupAmount: str - markupType: typing_extensions.Literal[ + markupType: typing.Literal[ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", @@ -3148,11 +3052,11 @@ class PartnerRevenueModel(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoal(typing_extensions.TypedDict, total=False): +class PerformanceGoal(typing.TypedDict, total=False): performanceGoalAmountMicros: str performanceGoalPercentageMicros: str performanceGoalString: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "PERFORMANCE_GOAL_TYPE_CPM", "PERFORMANCE_GOAL_TYPE_CPC", @@ -3171,11 +3075,11 @@ class PerformanceGoal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): +class PerformanceGoalBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str performanceGoalAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -3187,30 +3091,30 @@ class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PoiAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class PoiSearchTerms(typing_extensions.TypedDict, total=False): +class PoiSearchTerms(typing.TypedDict, total=False): poiQuery: str @typing.type_check_only -class PoiTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float @typing.type_check_only -class PrismaConfig(typing_extensions.TypedDict, total=False): +class PrismaConfig(typing.TypedDict, total=False): prismaCpeCode: PrismaCpeCode - prismaType: typing_extensions.Literal[ + prismaType: typing.Literal[ "PRISMA_TYPE_UNSPECIFIED", "PRISMA_TYPE_DISPLAY", "PRISMA_TYPE_SEARCH", @@ -3222,17 +3126,17 @@ class PrismaConfig(typing_extensions.TypedDict, total=False): supplier: str @typing.type_check_only -class PrismaCpeCode(typing_extensions.TypedDict, total=False): +class PrismaCpeCode(typing.TypedDict, total=False): prismaClientCode: str prismaEstimateCode: str prismaProductCode: str @typing.type_check_only class ProximityLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): proximityLocationListId: str - proximityRadiusRange: typing_extensions.Literal[ + proximityRadiusRange: typing.Literal[ "PROXIMITY_RADIUS_RANGE_UNSPECIFIED", "PROXIMITY_RADIUS_RANGE_SMALL", "PROXIMITY_RADIUS_RANGE_MEDIUM", @@ -3240,9 +3144,9 @@ class ProximityLocationListAssignedTargetingOptionDetails( ] @typing.type_check_only -class PublisherReviewStatus(typing_extensions.TypedDict, total=False): +class PublisherReviewStatus(typing.TypedDict, total=False): publisherName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -3250,8 +3154,8 @@ class PublisherReviewStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RateDetails(typing_extensions.TypedDict, total=False): - inventorySourceRateType: typing_extensions.Literal[ +class RateDetails(typing.TypedDict, total=False): + inventorySourceRateType: typing.Literal[ "INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", @@ -3263,46 +3167,44 @@ class RateDetails(typing_extensions.TypedDict, total=False): unitsPurchased: str @typing.type_check_only -class RegionalLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class RegionalLocationListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool regionalLocationListId: str @typing.type_check_only -class ReplaceNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsRequest(typing.TypedDict, total=False): newNegativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceSitesRequest(typing_extensions.TypedDict, total=False): +class ReplaceSitesRequest(typing.TypedDict, total=False): advertiserId: str newSites: _list[Site] partnerId: str @typing.type_check_only -class ReplaceSitesResponse(typing_extensions.TypedDict, total=False): +class ReplaceSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class ReviewStatusInfo(typing_extensions.TypedDict, total=False): - approvalStatus: typing_extensions.Literal[ +class ReviewStatusInfo(typing.TypedDict, total=False): + approvalStatus: typing.Literal[ "APPROVAL_STATUS_UNSPECIFIED", "APPROVAL_STATUS_PENDING_NOT_SERVABLE", "APPROVAL_STATUS_PENDING_SERVABLE", "APPROVAL_STATUS_APPROVED_SERVABLE", "APPROVAL_STATUS_REJECTED_NOT_SERVABLE", ] - contentAndPolicyReviewStatus: typing_extensions.Literal[ + contentAndPolicyReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", "REVIEW_STATUS_PENDING", ] - creativeAndLandingPageReviewStatus: typing_extensions.Literal[ + creativeAndLandingPageReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -3312,18 +3214,18 @@ class ReviewStatusInfo(typing_extensions.TypedDict, total=False): publisherReviewStatuses: _list[PublisherReviewStatus] @typing.type_check_only -class ScriptError(typing_extensions.TypedDict, total=False): +class ScriptError(typing.TypedDict, total=False): column: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "SYNTAX_ERROR", "DEPRECATED_SYNTAX", "INTERNAL_ERROR" ] errorMessage: str line: str @typing.type_check_only -class SdfConfig(typing_extensions.TypedDict, total=False): +class SdfConfig(typing.TypedDict, total=False): adminEmail: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -3340,14 +3242,14 @@ class SdfConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SdfDownloadTask(typing_extensions.TypedDict, total=False): +class SdfDownloadTask(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): +class SdfDownloadTaskMetadata(typing.TypedDict, total=False): createTime: str endTime: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -3364,7 +3266,7 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsRequest(typing.TypedDict, total=False): advertiserId: str businessChainSearchTerms: BusinessChainSearchTerms geoRegionSearchTerms: GeoRegionSearchTerms @@ -3373,16 +3275,14 @@ class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): poiSearchTerms: PoiSearchTerms @typing.type_check_only -class SearchTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class SensitiveCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class SensitiveCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): excludedTargetingOptionId: str - sensitiveCategory: typing_extensions.Literal[ + sensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -3404,8 +3304,8 @@ class SensitiveCategoryAssignedTargetingOptionDetails( ] @typing.type_check_only -class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): - sensitiveCategory: typing_extensions.Literal[ +class SensitiveCategoryTargetingOptionDetails(typing.TypedDict, total=False): + sensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -3427,30 +3327,28 @@ class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total ] @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): name: str urlOrAppId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SubExchangeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class SubExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str @typing.type_check_only -class SubExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class SubExchangeTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): +class TargetingExpansionConfig(typing.TypedDict, total=False): excludeFirstPartyAudience: bool - targetingExpansionLevel: typing_extensions.Literal[ + targetingExpansionLevel: typing.Literal[ "TARGETING_EXPANSION_LEVEL_UNSPECIFIED", "NO_EXPANSION", "LEAST_EXPANSION", @@ -3461,7 +3359,7 @@ class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TargetingOption(typing_extensions.TypedDict, total=False): +class TargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeTargetingOptionDetails appCategoryDetails: AppCategoryTargetingOptionDetails audioContentTypeDetails: AudioContentTypeTargetingOptionDetails @@ -3494,7 +3392,7 @@ class TargetingOption(typing_extensions.TypedDict, total=False): sensitiveCategoryDetails: SensitiveCategoryTargetingOptionDetails subExchangeDetails: SubExchangeTargetingOptionDetails targetingOptionId: str - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -3547,12 +3445,12 @@ class TargetingOption(typing_extensions.TypedDict, total=False): viewabilityDetails: ViewabilityTargetingOptionDetails @typing.type_check_only -class ThirdPartyOnlyConfig(typing_extensions.TypedDict, total=False): +class ThirdPartyOnlyConfig(typing.TypedDict, total=False): pixelOrderIdReportingEnabled: bool @typing.type_check_only -class ThirdPartyUrl(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ThirdPartyUrl(typing.TypedDict, total=False): + type: typing.Literal[ "THIRD_PARTY_URL_TYPE_UNSPECIFIED", "THIRD_PARTY_URL_TYPE_IMPRESSION", "THIRD_PARTY_URL_TYPE_CLICK_TRACKING", @@ -3573,31 +3471,29 @@ class ThirdPartyUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ThirdPartyVerifierAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ThirdPartyVerifierAssignedTargetingOptionDetails(typing.TypedDict, total=False): adloox: Adloox doubleVerify: DoubleVerify integralAdScience: IntegralAdScience @typing.type_check_only -class TimeRange(typing_extensions.TypedDict, total=False): +class TimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class TimerEvent(typing_extensions.TypedDict, total=False): +class TimerEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class TrackingFloodlightActivityConfig(typing_extensions.TypedDict, total=False): +class TrackingFloodlightActivityConfig(typing.TypedDict, total=False): floodlightActivityId: str postClickLookbackWindowDays: int postViewLookbackWindowDays: int @typing.type_check_only -class Transcode(typing_extensions.TypedDict, total=False): +class Transcode(typing.TypedDict, total=False): audioBitRateKbps: str audioSampleRateHz: str bitRateKbps: str @@ -3609,9 +3505,9 @@ class Transcode(typing_extensions.TypedDict, total=False): transcoded: bool @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): +class UniversalAdId(typing.TypedDict, total=False): id: str - registry: typing_extensions.Literal[ + registry: typing.Literal[ "UNIVERSAL_AD_REGISTRY_UNSPECIFIED", "UNIVERSAL_AD_REGISTRY_OTHER", "UNIVERSAL_AD_REGISTRY_AD_ID", @@ -3621,12 +3517,12 @@ class UniversalAdId(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UrlAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class UrlAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool url: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): assignedUserRoles: _list[AssignedUserRole] displayName: str email: str @@ -3635,32 +3531,26 @@ class User(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class UserRewardedContentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class UserRewardedContentAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str - userRewardedContent: typing_extensions.Literal[ + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class UserRewardedContentTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - userRewardedContent: typing_extensions.Literal[ +class UserRewardedContentTargetingOptionDetails(typing.TypedDict, total=False): + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class VideoPlayerSizeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class VideoPlayerSizeAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str - videoPlayerSize: typing_extensions.Literal[ + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -3669,8 +3559,8 @@ class VideoPlayerSizeAssignedTargetingOptionDetails( ] @typing.type_check_only -class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - videoPlayerSize: typing_extensions.Literal[ +class VideoPlayerSizeTargetingOptionDetails(typing.TypedDict, total=False): + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -3679,11 +3569,9 @@ class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ViewabilityAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ViewabilityAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str - viewability: typing_extensions.Literal[ + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", @@ -3697,8 +3585,8 @@ class ViewabilityAssignedTargetingOptionDetails( ] @typing.type_check_only -class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False): - viewability: typing_extensions.Literal[ +class ViewabilityTargetingOptionDetails(typing.TypedDict, total=False): + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi index 30d2e3f3f..ef43a761d 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -240,7 +239,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, issueMonth: str | None = ..., - loiSapinInvoiceType: typing_extensions.Literal[ + loiSapinInvoiceType: typing.Literal[ "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", "LOI_SAPIN_INVOICE_TYPE_MEDIA", "LOI_SAPIN_INVOICE_TYPE_PLATFORM", @@ -276,7 +275,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -336,7 +335,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -396,7 +395,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -456,7 +455,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -831,7 +830,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -890,7 +889,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -949,7 +948,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1008,7 +1007,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1114,7 +1113,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, youtubeAdGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1174,7 +1173,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, youtubeAdGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1840,7 +1839,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1899,7 +1898,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1958,7 +1957,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2017,7 +2016,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2130,7 +2129,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def get( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2189,7 +2188,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def list( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2256,7 +2255,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def search( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi index fa9b5cf59..a18f00706 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActivateManualTriggerRequest(typing_extensions.TypedDict, total=False): ... +class ActivateManualTriggerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total=False): +class ActiveViewVideoViewabilityMetricConfig(typing.TypedDict, total=False): displayName: str - minimumDuration: typing_extensions.Literal[ + minimumDuration: typing.Literal[ "VIDEO_DURATION_UNSPECIFIED", "VIDEO_DURATION_SECONDS_NONE", "VIDEO_DURATION_SECONDS_0", @@ -33,7 +31,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_SECONDS_45", "VIDEO_DURATION_SECONDS_60", ] - minimumQuartile: typing_extensions.Literal[ + minimumQuartile: typing.Literal[ "VIDEO_DURATION_QUARTILE_UNSPECIFIED", "VIDEO_DURATION_QUARTILE_NONE", "VIDEO_DURATION_QUARTILE_FIRST", @@ -41,7 +39,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_QUARTILE_THIRD", "VIDEO_DURATION_QUARTILE_FOURTH", ] - minimumViewability: typing_extensions.Literal[ + minimumViewability: typing.Literal[ "VIEWABILITY_PERCENT_UNSPECIFIED", "VIEWABILITY_PERCENT_0", "VIEWABILITY_PERCENT_25", @@ -49,15 +47,15 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIEWABILITY_PERCENT_75", "VIEWABILITY_PERCENT_100", ] - minimumVolume: typing_extensions.Literal[ + minimumVolume: typing.Literal[ "VIDEO_VOLUME_PERCENT_UNSPECIFIED", "VIDEO_VOLUME_PERCENT_0", "VIDEO_VOLUME_PERCENT_10", ] @typing.type_check_only -class AdUrl(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class AdUrl(typing.TypedDict, total=False): + type: typing.Literal[ "AD_URL_TYPE_UNSPECIFIED", "AD_URL_TYPE_BEACON_IMPRESSION", "AD_URL_TYPE_BEACON_EXPANDABLE_DCM_IMPRESSION", @@ -67,9 +65,9 @@ class AdUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Adloox(typing_extensions.TypedDict, total=False): +class Adloox(typing.TypedDict, total=False): excludedAdlooxCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "ADLOOX_UNSPECIFIED", "ADULT_CONTENT_HARD", "ADULT_CONTENT_SOFT", @@ -83,18 +81,20 @@ class Adloox(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str - containsEuPoliticalAds: typing_extensions.Literal[ + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", ] creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig + defaultBusinessName: str + defaultLogoAssetId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -111,39 +111,39 @@ class Advertiser(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AdvertiserAdServerConfig(typing_extensions.TypedDict, total=False): +class AdvertiserAdServerConfig(typing.TypedDict, total=False): cmHybridConfig: CmHybridConfig thirdPartyOnlyConfig: ThirdPartyOnlyConfig @typing.type_check_only -class AdvertiserCreativeConfig(typing_extensions.TypedDict, total=False): +class AdvertiserCreativeConfig(typing.TypedDict, total=False): dynamicCreativeEnabled: bool iasClientId: str obaComplianceDisabled: bool videoCreativeDataSharingAuthorized: bool @typing.type_check_only -class AdvertiserDataAccessConfig(typing_extensions.TypedDict, total=False): +class AdvertiserDataAccessConfig(typing.TypedDict, total=False): sdfConfig: AdvertiserSdfConfig @typing.type_check_only -class AdvertiserGeneralConfig(typing_extensions.TypedDict, total=False): +class AdvertiserGeneralConfig(typing.TypedDict, total=False): currencyCode: str domainUrl: str timeZone: str @typing.type_check_only -class AdvertiserSdfConfig(typing_extensions.TypedDict, total=False): +class AdvertiserSdfConfig(typing.TypedDict, total=False): overridePartnerSdfConfig: bool sdfConfig: SdfConfig @typing.type_check_only -class AdvertiserTargetingConfig(typing_extensions.TypedDict, total=False): +class AdvertiserTargetingConfig(typing.TypedDict, total=False): exemptTvFromViewabilityTargeting: bool @typing.type_check_only -class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -165,8 +165,8 @@ class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -188,9 +188,9 @@ class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppAssignedTargetingOptionDetails(typing.TypedDict, total=False): appId: str - appPlatform: typing_extensions.Literal[ + appPlatform: typing.Literal[ "APP_PLATFORM_UNSPECIFIED", "APP_PLATFORM_IOS", "APP_PLATFORM_ANDROID", @@ -210,26 +210,24 @@ class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False negative: bool @typing.type_check_only -class AppCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AppCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class AppCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppCategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): content: str mediaId: str @typing.type_check_only -class AssetAssociation(typing_extensions.TypedDict, total=False): +class AssetAssociation(typing.TypedDict, total=False): asset: Asset - role: typing_extensions.Literal[ + role: typing.Literal[ "ASSET_ROLE_UNSPECIFIED", "ASSET_ROLE_MAIN", "ASSET_ROLE_BACKUP", @@ -255,19 +253,19 @@ class AssetAssociation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AssignedInventorySource(typing_extensions.TypedDict, total=False): +class AssignedInventorySource(typing.TypedDict, total=False): assignedInventorySourceId: str inventorySourceId: str name: str @typing.type_check_only -class AssignedLocation(typing_extensions.TypedDict, total=False): +class AssignedLocation(typing.TypedDict, total=False): assignedLocationId: str name: str targetingOptionId: str @typing.type_check_only -class AssignedTargetingOption(typing_extensions.TypedDict, total=False): +class AssignedTargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeAssignedTargetingOptionDetails appCategoryDetails: AppCategoryAssignedTargetingOptionDetails appDetails: AppAssignedTargetingOptionDetails @@ -301,7 +299,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): genderDetails: GenderAssignedTargetingOptionDetails geoRegionDetails: GeoRegionAssignedTargetingOptionDetails householdIncomeDetails: HouseholdIncomeAssignedTargetingOptionDetails - inheritance: typing_extensions.Literal[ + inheritance: typing.Literal[ "INHERITANCE_UNSPECIFIED", "NOT_INHERITED", "INHERITED_FROM_PARTNER", @@ -324,7 +322,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): sensitiveCategoryExclusionDetails: SensitiveCategoryAssignedTargetingOptionDetails sessionPositionDetails: SessionPositionAssignedTargetingOptionDetails subExchangeDetails: SubExchangeAssignedTargetingOptionDetails - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -386,11 +384,11 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): youtubeVideoDetails: YoutubeVideoAssignedTargetingOptionDetails @typing.type_check_only -class AssignedUserRole(typing_extensions.TypedDict, total=False): +class AssignedUserRole(typing.TypedDict, total=False): advertiserId: str assignedUserRoleId: str partnerId: str - userRole: typing_extensions.Literal[ + userRole: typing.Literal[ "USER_ROLE_UNSPECIFIED", "ADMIN", "ADMIN_PARTNER_CLIENT", @@ -406,26 +404,22 @@ class AssignedUserRole(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AudienceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AudienceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): excludedGoogleAudienceGroup: GoogleAudienceGroup includedCombinedAudienceGroup: CombinedAudienceGroup includedCustomListGroup: CustomListGroup includedGoogleAudienceGroup: GoogleAudienceGroup @typing.type_check_only -class AudioAd(typing_extensions.TypedDict, total=False): +class AudioAd(typing.TypedDict, total=False): displayUrl: str finalUrl: str trackingUrl: str video: YoutubeVideoDetails @typing.type_check_only -class AudioContentTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -438,8 +432,8 @@ class AudioContentTypeAssignedTargetingOptionDetails( ] @typing.type_check_only -class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -452,12 +446,12 @@ class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class AudioVideoOffset(typing_extensions.TypedDict, total=False): +class AudioVideoOffset(typing.TypedDict, total=False): percentage: str seconds: str @typing.type_check_only -class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): +class AuditAdvertiserResponse(typing.TypedDict, total=False): adGroupCriteriaCount: str campaignCriteriaCount: str channelsCount: str @@ -469,9 +463,9 @@ class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthorizedSellerStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authorizedSellerStatus: typing_extensions.Literal[ + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", @@ -479,34 +473,32 @@ class AuthorizedSellerStatusAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class AuthorizedSellerStatusTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - authorizedSellerStatus: typing_extensions.Literal[ +class AuthorizedSellerStatusTargetingOptionDetails(typing.TypedDict, total=False): + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", ] @typing.type_check_only -class BiddingStrategy(typing_extensions.TypedDict, total=False): +class BiddingStrategy(typing.TypedDict, total=False): demandGenBid: DemandGenBiddingStrategy fixedBid: FixedBidStrategy maximizeSpendAutoBid: MaximizeSpendBidStrategy performanceGoalAutoBid: PerformanceGoalBidStrategy @typing.type_check_only -class BrowserAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class BrowserTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class BudgetSummary(typing_extensions.TypedDict, total=False): +class BudgetSummary(typing.TypedDict, total=False): externalBudgetId: str preTaxAmountMicros: str prismaCpeCode: PrismaCpeCode @@ -514,155 +506,135 @@ class BudgetSummary(typing_extensions.TypedDict, total=False): totalAmountMicros: str @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditAssignedInventorySourcesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedInventorySourcesRequest(typing.TypedDict, total=False): advertiserId: str createdAssignedInventorySources: _list[AssignedInventorySource] deletedAssignedInventorySources: _list[str] partnerId: str @typing.type_check_only -class BulkEditAssignedInventorySourcesResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] @typing.type_check_only -class BulkEditAssignedLocationsRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsRequest(typing.TypedDict, total=False): createdAssignedLocations: _list[AssignedLocation] deletedAssignedLocations: _list[str] @typing.type_check_only -class BulkEditAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] @typing.type_check_only -class BulkEditAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] lineItemIds: _list[str] @typing.type_check_only -class BulkEditAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAssignedTargetingOptionsResponse(typing.TypedDict, total=False): errors: _list[Status] failedLineItemIds: _list[str] updatedLineItemIds: _list[str] @typing.type_check_only -class BulkEditAssignedUserRolesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesRequest(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] deletedAssignedUserRoles: _list[str] @typing.type_check_only -class BulkEditAssignedUserRolesResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesResponse(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] @typing.type_check_only -class BulkEditNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsRequest(typing.TypedDict, total=False): createdNegativeKeywords: _list[NegativeKeyword] deletedNegativeKeywords: _list[str] @typing.type_check_only -class BulkEditNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditSitesRequest(typing_extensions.TypedDict, total=False): +class BulkEditSitesRequest(typing.TypedDict, total=False): advertiserId: str createdSites: _list[Site] deletedSites: _list[str] partnerId: str @typing.type_check_only -class BulkEditSitesResponse(typing_extensions.TypedDict, total=False): +class BulkEditSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class BulkListAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str youtubeAdGroupAssignedTargetingOptions: _list[YoutubeAdGroupAssignedTargetingOption] @typing.type_check_only -class BulkListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkListAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAssignedTargetingOptionsResponse(typing.TypedDict, total=False): lineItemAssignedTargetingOptions: _list[LineItemAssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkUpdateLineItemsRequest(typing_extensions.TypedDict, total=False): +class BulkUpdateLineItemsRequest(typing.TypedDict, total=False): lineItemIds: _list[str] targetLineItem: LineItem updateMask: str @typing.type_check_only -class BulkUpdateLineItemsResponse(typing_extensions.TypedDict, total=False): +class BulkUpdateLineItemsResponse(typing.TypedDict, total=False): errors: _list[Status] failedLineItemIds: _list[str] skippedLineItemIds: _list[str] updatedLineItemIds: _list[str] @typing.type_check_only -class BumperAd(typing_extensions.TypedDict, total=False): +class BumperAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute @typing.type_check_only -class BusinessChainAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class BusinessChainAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class BusinessChainSearchTerms(typing_extensions.TypedDict, total=False): +class BusinessChainSearchTerms(typing.TypedDict, total=False): businessChainQuery: str regionQuery: str @typing.type_check_only -class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BusinessChainTargetingOptionDetails(typing.TypedDict, total=False): businessChain: str geoRegion: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -703,17 +675,38 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", - ] - -@typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", + ] + +@typing.type_check_only +class Campaign(typing.TypedDict, total=False): advertiserId: str campaignBudgets: _list[CampaignBudget] campaignFlight: CampaignFlight campaignGoal: CampaignGoal campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -726,16 +719,16 @@ class Campaign(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CampaignBudget(typing_extensions.TypedDict, total=False): +class CampaignBudget(typing.TypedDict, total=False): budgetAmountMicros: str budgetId: str - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] dateRange: DateRange displayName: str externalBudgetId: str - externalBudgetSource: typing_extensions.Literal[ + externalBudgetSource: typing.Literal[ "EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", "EXTERNAL_BUDGET_SOURCE_NONE", "EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN", @@ -744,13 +737,13 @@ class CampaignBudget(typing_extensions.TypedDict, total=False): prismaConfig: PrismaConfig @typing.type_check_only -class CampaignFlight(typing_extensions.TypedDict, total=False): +class CampaignFlight(typing.TypedDict, total=False): plannedDates: DateRange plannedSpendAmountMicros: str @typing.type_check_only -class CampaignGoal(typing_extensions.TypedDict, total=False): - campaignGoalType: typing_extensions.Literal[ +class CampaignGoal(typing.TypedDict, total=False): + campaignGoalType: typing.Literal[ "CAMPAIGN_GOAL_TYPE_UNSPECIFIED", "CAMPAIGN_GOAL_TYPE_APP_INSTALL", "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", @@ -760,34 +753,32 @@ class CampaignGoal(typing_extensions.TypedDict, total=False): performanceGoal: PerformanceGoal @typing.type_check_only -class CarrierAndIspAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class CarrierAndIspAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CarrierAndIspTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CarrierAndIspTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CARRIER_AND_ISP_TYPE_UNSPECIFIED", "CARRIER_AND_ISP_TYPE_ISP", "CARRIER_AND_ISP_TYPE_CARRIER", ] @typing.type_check_only -class CategoryAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): advertiserId: str channelId: str displayName: str @@ -797,12 +788,12 @@ class Channel(typing_extensions.TypedDict, total=False): positivelyTargetedLineItemCount: str @typing.type_check_only -class ChannelAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ChannelAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelId: str negative: bool @typing.type_check_only -class CmHybridConfig(typing_extensions.TypedDict, total=False): +class CmHybridConfig(typing.TypedDict, total=False): cmAccountId: str cmAdvertiserIds: _list[str] cmFloodlightConfigId: str @@ -812,27 +803,27 @@ class CmHybridConfig(typing_extensions.TypedDict, total=False): dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class CmTrackingAd(typing_extensions.TypedDict, total=False): +class CmTrackingAd(typing.TypedDict, total=False): cmAdId: str cmCreativeId: str cmPlacementId: str @typing.type_check_only -class CombinedAudience(typing_extensions.TypedDict, total=False): +class CombinedAudience(typing.TypedDict, total=False): combinedAudienceId: str displayName: str name: str @typing.type_check_only -class CombinedAudienceGroup(typing_extensions.TypedDict, total=False): +class CombinedAudienceGroup(typing.TypedDict, total=False): settings: _list[CombinedAudienceTargetingSetting] @typing.type_check_only -class CombinedAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class CombinedAudienceTargetingSetting(typing.TypedDict, total=False): combinedAudienceId: str @typing.type_check_only -class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): +class CommonInStreamAttribute(typing.TypedDict, total=False): actionButtonLabel: str actionHeadline: str companionBanner: ImageAsset @@ -842,10 +833,8 @@ class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): video: YoutubeVideoDetails @typing.type_check_only -class ContentDurationAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentDuration: typing_extensions.Literal[ +class ContentDurationAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -858,8 +847,8 @@ class ContentDurationAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentDuration: typing_extensions.Literal[ +class ContentDurationTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -871,25 +860,23 @@ class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ContentGenreAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ContentGenreAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class ContentGenreTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ContentGenreTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only class ContentInstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentInstreamPosition: typing_extensions.Literal[ + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -898,10 +885,8 @@ class ContentInstreamPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class ContentInstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentInstreamPosition: typing_extensions.Literal[ +class ContentInstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -911,12 +896,12 @@ class ContentInstreamPositionTargetingOptionDetails( @typing.type_check_only class ContentOutstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentOutstreamPosition: typing_extensions.Literal[ + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -926,10 +911,8 @@ class ContentOutstreamPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class ContentOutstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentOutstreamPosition: typing_extensions.Literal[ +class ContentOutstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -939,43 +922,41 @@ class ContentOutstreamPositionTargetingOptionDetails( ] @typing.type_check_only -class ContentStreamTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] targetingOptionId: str @typing.type_check_only -class ContentStreamTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] @typing.type_check_only -class ConversionCountingConfig(typing_extensions.TypedDict, total=False): +class ConversionCountingConfig(typing.TypedDict, total=False): floodlightActivityConfigs: _list[TrackingFloodlightActivityConfig] postViewCountPercentageMillis: str primaryAttributionModelId: str @typing.type_check_only -class CounterEvent(typing_extensions.TypedDict, total=False): +class CounterEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class CreateAssetRequest(typing_extensions.TypedDict, total=False): +class CreateAssetRequest(typing.TypedDict, total=False): filename: str @typing.type_check_only -class CreateAssetResponse(typing_extensions.TypedDict, total=False): +class CreateAssetResponse(typing.TypedDict, total=False): asset: Asset @typing.type_check_only -class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class CreateAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1029,13 +1010,13 @@ class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): +class CreateSdfDownloadTaskRequest(typing.TypedDict, total=False): advertiserId: str idFilter: IdFilter inventorySourceFilter: InventorySourceFilter parentEntityFilter: ParentEntityFilter partnerId: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -1056,10 +1037,11 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): additionalDimensions: _list[Dimensions] advertiserId: str appendedTag: str @@ -1070,7 +1052,7 @@ class Creative(typing_extensions.TypedDict, total=False): counterEvents: _list[CounterEvent] createTime: str creativeAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CREATIVE_ATTRIBUTE_UNSPECIFIED", "CREATIVE_ATTRIBUTE_VAST", "CREATIVE_ATTRIBUTE_VPAID_LINEAR", @@ -1078,7 +1060,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] ] creativeId: str - creativeType: typing_extensions.Literal[ + creativeType: typing.Literal[ "CREATIVE_TYPE_UNSPECIFIED", "CREATIVE_TYPE_STANDARD", "CREATIVE_TYPE_EXPANDABLE", @@ -1099,7 +1081,7 @@ class Creative(typing_extensions.TypedDict, total=False): dimensions: Dimensions displayName: str dynamic: bool - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1109,7 +1091,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] exitEvents: _list[ExitEvent] expandOnHover: bool - expandingDirection: typing_extensions.Literal[ + expandingDirection: typing.Literal[ "EXPANDING_DIRECTION_UNSPECIFIED", "EXPANDING_DIRECTION_NONE", "EXPANDING_DIRECTION_UP", @@ -1124,7 +1106,7 @@ class Creative(typing_extensions.TypedDict, total=False): "EXPANDING_DIRECTION_LEFT_OR_RIGHT", "EXPANDING_DIRECTION_ANY_DIAGONAL", ] - hostingSource: typing_extensions.Literal[ + hostingSource: typing.Literal[ "HOSTING_SOURCE_UNSPECIFIED", "HOSTING_SOURCE_CM", "HOSTING_SOURCE_THIRD_PARTY", @@ -1149,6 +1131,11 @@ class Creative(typing_extensions.TypedDict, total=False): reviewStatus: ReviewStatusInfo skipOffset: AudioVideoOffset skippable: bool + syntheticContentAttestationStatus: typing.Literal[ + "SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED", + "NOT_SYNTHETIC", + "IS_SYNTHETIC", + ] thirdPartyTag: str thirdPartyUrls: _list[ThirdPartyUrl] timerEvents: _list[TimerEvent] @@ -1160,14 +1147,14 @@ class Creative(typing_extensions.TypedDict, total=False): vpaid: bool @typing.type_check_only -class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithm(typing.TypedDict, total=False): advertiserId: str customBiddingAlgorithmId: str - customBiddingAlgorithmType: typing_extensions.Literal[ + customBiddingAlgorithmType: typing.Literal[ "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", "SCRIPT_BASED" ] displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1181,16 +1168,16 @@ class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): sharedAdvertiserIds: _list[str] @typing.type_check_only -class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): +class CustomBiddingModelDetails(typing.TypedDict, total=False): advertiserId: str - readinessState: typing_extensions.Literal[ + readinessState: typing.Literal[ "READINESS_STATE_UNSPECIFIED", "READINESS_STATE_ACTIVE", "READINESS_STATE_INSUFFICIENT_DATA", "READINESS_STATE_TRAINING", "READINESS_STATE_NO_VALID_SCRIPT", ] - suspensionState: typing_extensions.Literal[ + suspensionState: typing.Literal[ "SUSPENSION_STATE_UNSPECIFIED", "SUSPENSION_STATE_ENABLED", "SUSPENSION_STATE_DORMANT", @@ -1198,7 +1185,7 @@ class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CustomBiddingScript(typing_extensions.TypedDict, total=False): +class CustomBiddingScript(typing.TypedDict, total=False): active: bool createTime: str customBiddingAlgorithmId: str @@ -1206,17 +1193,15 @@ class CustomBiddingScript(typing_extensions.TypedDict, total=False): errors: _list[ScriptError] name: str script: CustomBiddingScriptRef - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING"] @typing.type_check_only -class CustomBiddingScriptRef(typing_extensions.TypedDict, total=False): +class CustomBiddingScriptRef(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class CustomLabel(typing_extensions.TypedDict, total=False): - key: typing_extensions.Literal[ +class CustomLabel(typing.TypedDict, total=False): + key: typing.Literal[ "CUSTOM_LABEL_KEY_UNSPECIFIED", "CUSTOM_LABEL_KEY_0", "CUSTOM_LABEL_KEY_1", @@ -1227,35 +1212,33 @@ class CustomLabel(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class CustomList(typing_extensions.TypedDict, total=False): +class CustomList(typing.TypedDict, total=False): customListId: str displayName: str name: str @typing.type_check_only -class CustomListGroup(typing_extensions.TypedDict, total=False): +class CustomListGroup(typing.TypedDict, total=False): settings: _list[CustomListTargetingSetting] @typing.type_check_only -class CustomListTargetingSetting(typing_extensions.TypedDict, total=False): +class CustomListTargetingSetting(typing.TypedDict, total=False): customListId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class DayAndTimeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - dayOfWeek: typing_extensions.Literal[ +class DayAndTimeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1267,19 +1250,19 @@ class DayAndTimeAssignedTargetingOptionDetails( ] endHour: int startHour: int - timeZoneResolution: typing_extensions.Literal[ + timeZoneResolution: typing.Literal[ "TIME_ZONE_RESOLUTION_UNSPECIFIED", "TIME_ZONE_RESOLUTION_END_USER", "TIME_ZONE_RESOLUTION_ADVERTISER", ] @typing.type_check_only -class DeactivateManualTriggerRequest(typing_extensions.TypedDict, total=False): ... +class DeactivateManualTriggerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class DeleteAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptionIds: _list[str] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1333,14 +1316,14 @@ class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class DemandGenBiddingStrategy(typing_extensions.TypedDict, total=False): +class DemandGenBiddingStrategy(typing.TypedDict, total=False): effectiveBiddingValue: str - effectiveBiddingValueSource: typing_extensions.Literal[ + effectiveBiddingValueSource: typing.Literal[ "BIDDING_SOURCE_UNSPECIFIED", "BIDDING_SOURCE_LINE_ITEM", "BIDDING_SOURCE_AD_GROUP", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "DEMAND_GEN_BIDDING_STRATEGY_TYPE_UNSPECIFIED", "DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPA", "DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_ROAS", @@ -1352,28 +1335,24 @@ class DemandGenBiddingStrategy(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class DemandGenSettings(typing_extensions.TypedDict, total=False): +class DemandGenSettings(typing.TypedDict, total=False): geoLanguageTargetingEnabled: bool linkedMerchantId: str thirdPartyMeasurementConfigs: ThirdPartyMeasurementConfigs @typing.type_check_only -class DeviceMakeModelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class DeviceMakeModelAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class DeviceMakeModelTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class DeviceMakeModelTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class DeviceTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - deviceType: typing_extensions.Literal[ +class DeviceTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -1384,8 +1363,8 @@ class DeviceTypeAssignedTargetingOptionDetails( youtubeAndPartnersBidMultiplier: float @typing.type_check_only -class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceTypeTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -1395,10 +1374,8 @@ class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class DigitalContentLabelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - excludedContentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelAssignedTargetingOptionDetails(typing.TypedDict, total=False): + excludedContentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -1409,10 +1386,8 @@ class DigitalContentLabelAssignedTargetingOptionDetails( ] @typing.type_check_only -class DigitalContentLabelTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelTargetingOptionDetails(typing.TypedDict, total=False): + contentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -1423,19 +1398,19 @@ class DigitalContentLabelTargetingOptionDetails( ] @typing.type_check_only -class Dimensions(typing_extensions.TypedDict, total=False): +class Dimensions(typing.TypedDict, total=False): heightPixels: int widthPixels: int @typing.type_check_only -class DisplayVideoSourceAd(typing_extensions.TypedDict, total=False): +class DisplayVideoSourceAd(typing.TypedDict, total=False): creativeId: str @typing.type_check_only -class DoubleVerify(typing_extensions.TypedDict, total=False): +class DoubleVerify(typing.TypedDict, total=False): appStarRating: DoubleVerifyAppStarRating avoidedAgeRatings: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGE_RATING_UNSPECIFIED", "APP_AGE_RATE_UNKNOWN", "APP_AGE_RATE_4_PLUS", @@ -1452,9 +1427,9 @@ class DoubleVerify(typing_extensions.TypedDict, total=False): videoViewability: DoubleVerifyVideoViewability @typing.type_check_only -class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): +class DoubleVerifyAppStarRating(typing.TypedDict, total=False): avoidInsufficientStarRating: bool - avoidedStarRating: typing_extensions.Literal[ + avoidedStarRating: typing.Literal[ "APP_STAR_RATE_UNSPECIFIED", "APP_STAR_RATE_1_POINT_5_LESS", "APP_STAR_RATE_2_LESS", @@ -1466,10 +1441,10 @@ class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False): +class DoubleVerifyBrandSafetyCategories(typing.TypedDict, total=False): avoidUnknownBrandSafetyCategory: bool avoidedHighSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "HIGHER_SEVERITY_UNSPECIFIED", "ADULT_CONTENT_PORNOGRAPHY", "COPYRIGHT_INFRINGEMENT", @@ -1481,7 +1456,7 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] ] avoidedMediumSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEDIUM_SEVERITY_UNSPECIFIED", "AD_SERVERS", "ADULT_CONTENT_SWIMSUIT", @@ -1507,8 +1482,8 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): - iab: typing_extensions.Literal[ +class DoubleVerifyDisplayViewability(typing.TypedDict, total=False): + iab: typing.Literal[ "IAB_VIEWED_RATE_UNSPECIFIED", "IAB_VIEWED_RATE_80_PERCENT_HIGHER", "IAB_VIEWED_RATE_75_PERCENT_HIGHER", @@ -1520,7 +1495,7 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWED_RATE_40_PERCENT_HIGHER", "IAB_VIEWED_RATE_30_PERCENT_HIGHER", ] - viewableDuring: typing_extensions.Literal[ + viewableDuring: typing.Literal[ "AVERAGE_VIEW_DURATION_UNSPECIFIED", "AVERAGE_VIEW_DURATION_5_SEC", "AVERAGE_VIEW_DURATION_10_SEC", @@ -1528,9 +1503,9 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): +class DoubleVerifyFraudInvalidTraffic(typing.TypedDict, total=False): avoidInsufficientOption: bool - avoidedFraudOption: typing_extensions.Literal[ + avoidedFraudOption: typing.Literal[ "FRAUD_UNSPECIFIED", "AD_IMPRESSION_FRAUD_100", "AD_IMPRESSION_FRAUD_50", @@ -1543,15 +1518,15 @@ class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): - playerImpressionRate: typing_extensions.Literal[ +class DoubleVerifyVideoViewability(typing.TypedDict, total=False): + playerImpressionRate: typing.Literal[ "PLAYER_SIZE_400X300_UNSPECIFIED", "PLAYER_SIZE_400X300_95", "PLAYER_SIZE_400X300_70", "PLAYER_SIZE_400X300_25", "PLAYER_SIZE_400X300_5", ] - videoIab: typing_extensions.Literal[ + videoIab: typing.Literal[ "VIDEO_IAB_UNSPECIFIED", "IAB_VIEWABILITY_80_PERCENT_HIGHER", "IAB_VIEWABILITY_75_PERCENT_HIGHER", @@ -1563,7 +1538,7 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWABILITY_40_PERCENT_HIHGER", "IAB_VIEWABILITY_30_PERCENT_HIHGER", ] - videoViewableRate: typing_extensions.Literal[ + videoViewableRate: typing.Literal[ "VIDEO_VIEWABLE_RATE_UNSPECIFIED", "VIEWED_PERFORMANCE_40_PERCENT_HIGHER", "VIEWED_PERFORMANCE_35_PERCENT_HIGHER", @@ -1574,8 +1549,8 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): - containsEuPoliticalAds: typing_extensions.Literal[ +class DuplicateLineItemRequest(typing.TypedDict, total=False): + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", @@ -1583,31 +1558,27 @@ class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): targetDisplayName: str @typing.type_check_only -class DuplicateLineItemResponse(typing_extensions.TypedDict, total=False): +class DuplicateLineItemResponse(typing.TypedDict, total=False): duplicateLineItemId: str @typing.type_check_only -class EditGuaranteedOrderReadAccessorsRequest(typing_extensions.TypedDict, total=False): +class EditGuaranteedOrderReadAccessorsRequest(typing.TypedDict, total=False): addedAdvertisers: _list[str] partnerId: str readAccessInherited: bool removedAdvertisers: _list[str] @typing.type_check_only -class EditGuaranteedOrderReadAccessorsResponse( - typing_extensions.TypedDict, total=False -): +class EditGuaranteedOrderReadAccessorsResponse(typing.TypedDict, total=False): readAccessInherited: bool readAdvertiserIds: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - environment: typing_extensions.Literal[ +class EnvironmentAssignedTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -1615,8 +1586,8 @@ class EnvironmentAssignedTargetingOptionDetails( ] @typing.type_check_only -class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal[ +class EnvironmentTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -1624,8 +1595,8 @@ class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -1719,12 +1690,12 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class ExchangeConfig(typing_extensions.TypedDict, total=False): +class ExchangeConfig(typing.TypedDict, total=False): enabledExchanges: _list[ExchangeConfigEnabledExchange] @typing.type_check_only -class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeConfigEnabledExchange(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -1821,8 +1792,8 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): seatId: str @typing.type_check_only -class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeReviewStatus(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -1914,7 +1885,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_CADENT", "EXCHANGE_EXTE", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -1922,8 +1893,8 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeTargetingOptionDetails(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2017,10 +1988,10 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExitEvent(typing_extensions.TypedDict, total=False): +class ExitEvent(typing.TypedDict, total=False): name: str reportingName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "EXIT_EVENT_TYPE_UNSPECIFIED", "EXIT_EVENT_TYPE_DEFAULT", "EXIT_EVENT_TYPE_BACKUP", @@ -2028,18 +1999,18 @@ class ExitEvent(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class FixedBidStrategy(typing_extensions.TypedDict, total=False): +class FixedBidStrategy(typing.TypedDict, total=False): bidAmountMicros: str @typing.type_check_only -class FloodlightActivity(typing_extensions.TypedDict, total=False): +class FloodlightActivity(typing.TypedDict, total=False): advertiserIds: _list[str] displayName: str floodlightActivityId: str floodlightGroupId: str name: str remarketingConfigs: _list[RemarketingConfig] - servingStatus: typing_extensions.Literal[ + servingStatus: typing.Literal[ "FLOODLIGHT_ACTIVITY_SERVING_STATUS_UNSPECIFIED", "FLOODLIGHT_ACTIVITY_SERVING_STATUS_ENABLED", "FLOODLIGHT_ACTIVITY_SERVING_STATUS_DISABLED", @@ -2047,14 +2018,14 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): sslRequired: bool @typing.type_check_only -class FloodlightGroup(typing_extensions.TypedDict, total=False): +class FloodlightGroup(typing.TypedDict, total=False): activeViewConfig: ActiveViewVideoViewabilityMetricConfig customVariables: dict[str, typing.Any] displayName: str floodlightGroupId: str lookbackWindow: LookbackWindow name: str - webTagType: typing_extensions.Literal[ + webTagType: typing.Literal[ "WEB_TAG_TYPE_UNSPECIFIED", "WEB_TAG_TYPE_NONE", "WEB_TAG_TYPE_IMAGE", @@ -2062,10 +2033,10 @@ class FloodlightGroup(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): maxImpressions: int maxViews: int - timeUnit: typing_extensions.Literal[ + timeUnit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "TIME_UNIT_LIFETIME", "TIME_UNIT_MONTHS", @@ -2078,21 +2049,21 @@ class FrequencyCap(typing_extensions.TypedDict, total=False): unlimited: bool @typing.type_check_only -class GenderAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderAssignedTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] @typing.type_check_only -class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] @typing.type_check_only -class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -2133,18 +2104,39 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", ] negative: bool targetingOptionId: str @typing.type_check_only -class GeoRegionSearchTerms(typing_extensions.TypedDict, total=False): +class GeoRegionSearchTerms(typing.TypedDict, total=False): geoRegionQuery: str @typing.type_check_only -class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -2185,13 +2177,34 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", - ] - -@typing.type_check_only -class GoogleAudience(typing_extensions.TypedDict, total=False): + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", + ] + +@typing.type_check_only +class GoogleAudience(typing.TypedDict, total=False): displayName: str googleAudienceId: str - googleAudienceType: typing_extensions.Literal[ + googleAudienceType: typing.Literal[ "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", "GOOGLE_AUDIENCE_TYPE_AFFINITY", "GOOGLE_AUDIENCE_TYPE_IN_MARKET", @@ -2203,23 +2216,23 @@ class GoogleAudience(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleAudienceGroup(typing_extensions.TypedDict, total=False): +class GoogleAudienceGroup(typing.TypedDict, total=False): settings: _list[GoogleAudienceTargetingSetting] @typing.type_check_only -class GoogleAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class GoogleAudienceTargetingSetting(typing.TypedDict, total=False): googleAudienceId: str @typing.type_check_only -class GoogleBytestreamMedia(typing_extensions.TypedDict, total=False): +class GoogleBytestreamMedia(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GuaranteedOrder(typing_extensions.TypedDict, total=False): +class GuaranteedOrder(typing.TypedDict, total=False): defaultAdvertiserId: str defaultCampaignId: str displayName: str - exchange: typing_extensions.Literal[ + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2323,12 +2336,12 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): - configStatus: typing_extensions.Literal[ +class GuaranteedOrderStatus(typing.TypedDict, total=False): + configStatus: typing.Literal[ "GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", "PENDING", "COMPLETED" ] entityPauseReason: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2338,10 +2351,8 @@ class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HouseholdIncomeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -2353,8 +2364,8 @@ class HouseholdIncomeAssignedTargetingOptionDetails( ] @typing.type_check_only -class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -2366,7 +2377,7 @@ class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class IdFilter(typing_extensions.TypedDict, total=False): +class IdFilter(typing.TypedDict, total=False): adGroupAdIds: _list[str] adGroupIds: _list[str] campaignIds: _list[str] @@ -2375,22 +2386,22 @@ class IdFilter(typing_extensions.TypedDict, total=False): mediaProductIds: _list[str] @typing.type_check_only -class ImageAsset(typing_extensions.TypedDict, total=False): +class ImageAsset(typing.TypedDict, total=False): assetId: str fileSize: str fullSize: Dimensions mimeType: str @typing.type_check_only -class InStreamAd(typing_extensions.TypedDict, total=False): +class InStreamAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute customParameters: dict[str, typing.Any] @typing.type_check_only -class InsertionOrder(typing_extensions.TypedDict, total=False): +class InsertionOrder(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy - billableOutcome: typing_extensions.Literal[ + billableOutcome: typing.Literal[ "BILLABLE_OUTCOME_UNSPECIFIED", "BILLABLE_OUTCOME_PAY_PER_IMPRESSION", "BILLABLE_OUTCOME_PAY_PER_CLICK", @@ -2399,7 +2410,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): budget: InsertionOrderBudget campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2409,7 +2420,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): ] frequencyCap: FrequencyCap insertionOrderId: str - insertionOrderType: typing_extensions.Literal[ + insertionOrderType: typing.Literal[ "INSERTION_ORDER_TYPE_UNSPECIFIED", "RTB", "OVER_THE_TOP" ] integrationDetails: IntegrationDetails @@ -2417,7 +2428,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): pacing: Pacing partnerCosts: _list[PartnerCost] performanceGoal: PerformanceGoal - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -2428,29 +2439,29 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InsertionOrderBudget(typing_extensions.TypedDict, total=False): - automationType: typing_extensions.Literal[ +class InsertionOrderBudget(typing.TypedDict, total=False): + automationType: typing.Literal[ "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", "INSERTION_ORDER_AUTOMATION_TYPE_NONE", "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET", ] budgetSegments: _list[InsertionOrderBudgetSegment] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] @typing.type_check_only -class InsertionOrderBudgetSegment(typing_extensions.TypedDict, total=False): +class InsertionOrderBudgetSegment(typing.TypedDict, total=False): budgetAmountMicros: str campaignBudgetId: str dateRange: DateRange description: str @typing.type_check_only -class IntegralAdScience(typing_extensions.TypedDict, total=False): +class IntegralAdScience(typing.TypedDict, total=False): customSegmentId: _list[str] - displayViewability: typing_extensions.Literal[ + displayViewability: typing.Literal[ "PERFORMANCE_VIEWABILITY_UNSPECIFIED", "PERFORMANCE_VIEWABILITY_40", "PERFORMANCE_VIEWABILITY_50", @@ -2458,39 +2469,35 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "PERFORMANCE_VIEWABILITY_70", ] excludeUnrateable: bool - excludedAdFraudRisk: typing_extensions.Literal[ + excludedAdFraudRisk: typing.Literal[ "SUSPICIOUS_ACTIVITY_UNSPECIFIED", "SUSPICIOUS_ACTIVITY_HR", "SUSPICIOUS_ACTIVITY_HMR", "SUSPICIOUS_ACTIVITY_FD", ] - excludedAdultRisk: typing_extensions.Literal[ - "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" - ] - excludedAlcoholRisk: typing_extensions.Literal[ + excludedAdultRisk: typing.Literal["ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR"] + excludedAlcoholRisk: typing.Literal[ "ALCOHOL_UNSPECIFIED", "ALCOHOL_HR", "ALCOHOL_HMR" ] - excludedDrugsRisk: typing_extensions.Literal[ - "DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR" - ] - excludedGamblingRisk: typing_extensions.Literal[ + excludedDrugsRisk: typing.Literal["DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR"] + excludedGamblingRisk: typing.Literal[ "GAMBLING_UNSPECIFIED", "GAMBLING_HR", "GAMBLING_HMR" ] - excludedHateSpeechRisk: typing_extensions.Literal[ + excludedHateSpeechRisk: typing.Literal[ "HATE_SPEECH_UNSPECIFIED", "HATE_SPEECH_HR", "HATE_SPEECH_HMR" ] - excludedIllegalDownloadsRisk: typing_extensions.Literal[ + excludedIllegalDownloadsRisk: typing.Literal[ "ILLEGAL_DOWNLOADS_UNSPECIFIED", "ILLEGAL_DOWNLOADS_HR", "ILLEGAL_DOWNLOADS_HMR" ] - excludedOffensiveLanguageRisk: typing_extensions.Literal[ + excludedOffensiveLanguageRisk: typing.Literal[ "OFFENSIVE_LANGUAGE_UNSPECIFIED", "OFFENSIVE_LANGUAGE_HR", "OFFENSIVE_LANGUAGE_HMR", ] - excludedViolenceRisk: typing_extensions.Literal[ + excludedViolenceRisk: typing.Literal[ "VIOLENCE_UNSPECIFIED", "VIOLENCE_HR", "VIOLENCE_HMR" ] - traqScoreOption: typing_extensions.Literal[ + traqScoreOption: typing.Literal[ "TRAQ_UNSPECIFIED", "TRAQ_250", "TRAQ_500", @@ -2500,7 +2507,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "TRAQ_875", "TRAQ_1000", ] - videoViewability: typing_extensions.Literal[ + videoViewability: typing.Literal[ "VIDEO_VIEWABILITY_UNSPECIFIED", "VIDEO_VIEWABILITY_40", "VIDEO_VIEWABILITY_50", @@ -2509,34 +2516,30 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegrationDetails(typing_extensions.TypedDict, total=False): +class IntegrationDetails(typing.TypedDict, total=False): details: str integrationCode: str @typing.type_check_only -class InventorySourceAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceId: str @typing.type_check_only -class InventorySourceFilter(typing_extensions.TypedDict, total=False): +class InventorySourceFilter(typing.TypedDict, total=False): inventorySourceIds: _list[str] @typing.type_check_only -class InventorySourceGroup(typing_extensions.TypedDict, total=False): +class InventorySourceGroup(typing.TypedDict, total=False): displayName: str inventorySourceGroupId: str name: str @typing.type_check_only -class InventorySourceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceGroupId: str @typing.type_check_only -class Invoice(typing_extensions.TypedDict, total=False): +class Invoice(typing.TypedDict, total=False): budgetInvoiceGroupingId: str budgetSummaries: _list[BudgetSummary] correctedInvoiceId: str @@ -2544,7 +2547,7 @@ class Invoice(typing_extensions.TypedDict, total=False): displayName: str dueDate: Date invoiceId: str - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" ] issueDate: Date @@ -2561,28 +2564,28 @@ class Invoice(typing_extensions.TypedDict, total=False): totalTaxAmountMicros: str @typing.type_check_only -class KeywordAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class KeywordAssignedTargetingOptionDetails(typing.TypedDict, total=False): exemptedPolicyNames: _list[str] keyword: str negative: bool @typing.type_check_only -class LanguageAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class LanguageTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class LineItem(typing_extensions.TypedDict, total=False): +class LineItem(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy budget: LineItemBudget campaignId: str - containsEuPoliticalAds: typing_extensions.Literal[ + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", @@ -2591,7 +2594,7 @@ class LineItem(typing_extensions.TypedDict, total=False): creativeIds: _list[str] demandGenSettings: DemandGenSettings displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2605,7 +2608,7 @@ class LineItem(typing_extensions.TypedDict, total=False): insertionOrderId: str integrationDetails: IntegrationDetails lineItemId: str - lineItemType: typing_extensions.Literal[ + lineItemType: typing.Literal[ "LINE_ITEM_TYPE_UNSPECIFIED", "LINE_ITEM_TYPE_DISPLAY_DEFAULT", "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", @@ -2636,7 +2639,7 @@ class LineItem(typing_extensions.TypedDict, total=False): pacing: Pacing partnerCosts: _list[PartnerCost] partnerRevenueModel: PartnerRevenueModel - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -2647,7 +2650,7 @@ class LineItem(typing_extensions.TypedDict, total=False): targetingExpansion: TargetingExpansionConfig updateTime: str warningMessages: _list[ - typing_extensions.Literal[ + typing.Literal[ "LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", "INVALID_FLIGHT_DATES", "EXPIRED", @@ -2665,201 +2668,193 @@ class LineItem(typing_extensions.TypedDict, total=False): youtubeAndPartnersSettings: YoutubeAndPartnersSettings @typing.type_check_only -class LineItemAssignedTargetingOption(typing_extensions.TypedDict, total=False): +class LineItemAssignedTargetingOption(typing.TypedDict, total=False): assignedTargetingOption: AssignedTargetingOption lineItemId: str @typing.type_check_only -class LineItemBudget(typing_extensions.TypedDict, total=False): - budgetAllocationType: typing_extensions.Literal[ +class LineItemBudget(typing.TypedDict, total=False): + budgetAllocationType: typing.Literal[ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED", ] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] maxAmount: str @typing.type_check_only -class LineItemFlight(typing_extensions.TypedDict, total=False): +class LineItemFlight(typing.TypedDict, total=False): dateRange: DateRange - flightDateType: typing_extensions.Literal[ + flightDateType: typing.Literal[ "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM", ] @typing.type_check_only -class ListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListAdvertisersResponse(typing_extensions.TypedDict, total=False): +class ListAdvertisersResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] nextPageToken: str @typing.type_check_only -class ListAssignedInventorySourcesResponse(typing_extensions.TypedDict, total=False): +class ListAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] nextPageToken: str @typing.type_check_only -class ListAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class ListAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] nextPageToken: str @typing.type_check_only -class ListCampaignsResponse(typing_extensions.TypedDict, total=False): +class ListCampaignsResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] nextPageToken: str @typing.type_check_only -class ListChannelsResponse(typing_extensions.TypedDict, total=False): +class ListChannelsResponse(typing.TypedDict, total=False): channels: _list[Channel] nextPageToken: str @typing.type_check_only -class ListCombinedAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListCombinedAudiencesResponse(typing.TypedDict, total=False): combinedAudiences: _list[CombinedAudience] nextPageToken: str @typing.type_check_only -class ListCreativesResponse(typing_extensions.TypedDict, total=False): +class ListCreativesResponse(typing.TypedDict, total=False): creatives: _list[Creative] nextPageToken: str @typing.type_check_only -class ListCustomBiddingAlgorithmsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingAlgorithmsResponse(typing.TypedDict, total=False): customBiddingAlgorithms: _list[CustomBiddingAlgorithm] nextPageToken: str @typing.type_check_only -class ListCustomBiddingScriptsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingScriptsResponse(typing.TypedDict, total=False): customBiddingScripts: _list[CustomBiddingScript] nextPageToken: str @typing.type_check_only -class ListCustomListsResponse(typing_extensions.TypedDict, total=False): +class ListCustomListsResponse(typing.TypedDict, total=False): customLists: _list[CustomList] nextPageToken: str @typing.type_check_only -class ListFloodlightActivitiesResponse(typing_extensions.TypedDict, total=False): +class ListFloodlightActivitiesResponse(typing.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] nextPageToken: str @typing.type_check_only -class ListGoogleAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListGoogleAudiencesResponse(typing.TypedDict, total=False): googleAudiences: _list[GoogleAudience] nextPageToken: str @typing.type_check_only -class ListGuaranteedOrdersResponse(typing_extensions.TypedDict, total=False): +class ListGuaranteedOrdersResponse(typing.TypedDict, total=False): guaranteedOrders: _list[GuaranteedOrder] nextPageToken: str @typing.type_check_only -class ListInsertionOrdersResponse(typing_extensions.TypedDict, total=False): +class ListInsertionOrdersResponse(typing.TypedDict, total=False): insertionOrders: _list[InsertionOrder] nextPageToken: str @typing.type_check_only -class ListInventorySourceGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInventorySourceGroupsResponse(typing.TypedDict, total=False): inventorySourceGroups: _list[InventorySourceGroup] nextPageToken: str @typing.type_check_only -class ListInvoicesResponse(typing_extensions.TypedDict, total=False): +class ListInvoicesResponse(typing.TypedDict, total=False): invoices: _list[Invoice] nextPageToken: str @typing.type_check_only -class ListLineItemAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListLineItemAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListLineItemsResponse(typing_extensions.TypedDict, total=False): +class ListLineItemsResponse(typing.TypedDict, total=False): lineItems: _list[LineItem] nextPageToken: str @typing.type_check_only -class ListLocationListsResponse(typing_extensions.TypedDict, total=False): +class ListLocationListsResponse(typing.TypedDict, total=False): locationLists: _list[LocationList] nextPageToken: str @typing.type_check_only -class ListManualTriggersResponse(typing_extensions.TypedDict, total=False): +class ListManualTriggersResponse(typing.TypedDict, total=False): manualTriggers: _list[ManualTrigger] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordListsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordListsResponse(typing.TypedDict, total=False): negativeKeywordLists: _list[NegativeKeywordList] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] nextPageToken: str @typing.type_check_only -class ListPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListPartnersResponse(typing_extensions.TypedDict, total=False): +class ListPartnersResponse(typing.TypedDict, total=False): nextPageToken: str partners: _list[Partner] @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class ListTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class ListTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class ListYoutubeAdGroupAdsResponse(typing_extensions.TypedDict, total=False): +class ListYoutubeAdGroupAdsResponse(typing.TypedDict, total=False): nextPageToken: str youtubeAdGroupAds: _list[YoutubeAdGroupAd] @typing.type_check_only -class ListYoutubeAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListYoutubeAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListYoutubeAdGroupsResponse(typing_extensions.TypedDict, total=False): +class ListYoutubeAdGroupsResponse(typing.TypedDict, total=False): nextPageToken: str youtubeAdGroups: _list[YoutubeAdGroup] @typing.type_check_only -class LocationList(typing_extensions.TypedDict, total=False): +class LocationList(typing.TypedDict, total=False): advertiserId: str displayName: str locationListId: str - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "TARGETING_LOCATION_TYPE_UNSPECIFIED", "TARGETING_LOCATION_TYPE_PROXIMITY", "TARGETING_LOCATION_TYPE_REGIONAL", @@ -2867,26 +2862,26 @@ class LocationList(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LookbackWindow(typing_extensions.TypedDict, total=False): +class LookbackWindow(typing.TypedDict, total=False): clickDays: int impressionDays: int @typing.type_check_only -class LookupInvoiceCurrencyResponse(typing_extensions.TypedDict, total=False): +class LookupInvoiceCurrencyResponse(typing.TypedDict, total=False): currencyCode: str @typing.type_check_only -class ManualTrigger(typing_extensions.TypedDict, total=False): +class ManualTrigger(typing.TypedDict, total=False): activationDurationMinutes: str advertiserId: str displayName: str latestActivationTime: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "INACTIVE", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "INACTIVE", "ACTIVE"] triggerId: str @typing.type_check_only -class MastheadAd(typing_extensions.TypedDict, total=False): +class MastheadAd(typing.TypedDict, total=False): autoplayVideoDuration: str autoplayVideoStartMillisecond: str callToActionButtonLabel: str @@ -2897,17 +2892,17 @@ class MastheadAd(typing_extensions.TypedDict, total=False): headline: str showChannelArt: bool video: YoutubeVideoDetails - videoAspectRatio: typing_extensions.Literal[ + videoAspectRatio: typing.Literal[ "VIDEO_ASPECT_RATIO_UNSPECIFIED", "VIDEO_ASPECT_RATIO_WIDESCREEN", "VIDEO_ASPECT_RATIO_FIXED_16_9", ] @typing.type_check_only -class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): +class MaximizeSpendBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -2920,22 +2915,22 @@ class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): raiseBidForDeals: bool @typing.type_check_only -class MeasurementConfig(typing_extensions.TypedDict, total=False): +class MeasurementConfig(typing.TypedDict, total=False): dv360ToCmCostReportingEnabled: bool dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): +class MobileApp(typing.TypedDict, total=False): appId: str displayName: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] publisher: str @typing.type_check_only class NativeContentPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contentPosition: typing_extensions.Literal[ + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -2945,10 +2940,8 @@ class NativeContentPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class NativeContentPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentPosition: typing_extensions.Literal[ +class NativeContentPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -2958,12 +2951,12 @@ class NativeContentPositionTargetingOptionDetails( ] @typing.type_check_only -class NegativeKeyword(typing_extensions.TypedDict, total=False): +class NegativeKeyword(typing.TypedDict, total=False): keywordValue: str name: str @typing.type_check_only -class NegativeKeywordList(typing_extensions.TypedDict, total=False): +class NegativeKeywordList(typing.TypedDict, total=False): advertiserId: str displayName: str name: str @@ -2971,22 +2964,20 @@ class NegativeKeywordList(typing_extensions.TypedDict, total=False): targetedLineItemCount: str @typing.type_check_only -class NegativeKeywordListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class NegativeKeywordListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negativeKeywordListId: str @typing.type_check_only -class NonSkippableAd(typing_extensions.TypedDict, total=False): +class NonSkippableAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute customParameters: dict[str, typing.Any] @typing.type_check_only -class ObaIcon(typing_extensions.TypedDict, total=False): +class ObaIcon(typing.TypedDict, total=False): clickTrackingUrl: str dimensions: Dimensions landingPageUrl: str - position: typing_extensions.Literal[ + position: typing.Literal[ "OBA_ICON_POSITION_UNSPECIFIED", "OBA_ICON_POSITION_UPPER_RIGHT", "OBA_ICON_POSITION_UPPER_LEFT", @@ -2999,21 +2990,19 @@ class ObaIcon(typing_extensions.TypedDict, total=False): viewTrackingUrl: str @typing.type_check_only -class OmidAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidAssignedTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] @typing.type_check_only -class OmidTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] @typing.type_check_only -class OnScreenPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - adType: typing_extensions.Literal[ +class OnScreenPositionAssignedTargetingOptionDetails(typing.TypedDict, total=False): + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - onScreenPosition: typing_extensions.Literal[ + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -3022,8 +3011,8 @@ class OnScreenPositionAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total=False): - onScreenPosition: typing_extensions.Literal[ +class OnScreenPositionTargetingOptionDetails(typing.TypedDict, total=False): + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -3031,19 +3020,17 @@ class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class OperatingSystemAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class OperatingSystemAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class OperatingSystemTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class OperatingSystemTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -3051,13 +3038,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Pacing(typing_extensions.TypedDict, total=False): +class Pacing(typing.TypedDict, total=False): dailyMaxImpressions: str dailyMaxMicros: str - pacingPeriod: typing_extensions.Literal[ + pacingPeriod: typing.Literal[ "PACING_PERIOD_UNSPECIFIED", "PACING_PERIOD_DAILY", "PACING_PERIOD_FLIGHT" ] - pacingType: typing_extensions.Literal[ + pacingType: typing.Literal[ "PACING_TYPE_UNSPECIFIED", "PACING_TYPE_AHEAD", "PACING_TYPE_ASAP", @@ -3065,9 +3052,9 @@ class Pacing(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentEntityFilter(typing_extensions.TypedDict, total=False): +class ParentEntityFilter(typing.TypedDict, total=False): fileType: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "FILE_TYPE_CAMPAIGN", "FILE_TYPE_MEDIA_PRODUCT", @@ -3078,7 +3065,7 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] ] filterIds: _list[str] - filterType: typing_extensions.Literal[ + filterType: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "FILTER_TYPE_NONE", "FILTER_TYPE_ADVERTISER_ID", @@ -3089,10 +3076,8 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentalStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusAssignedTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -3100,8 +3085,8 @@ class ParentalStatusAssignedTargetingOptionDetails( ] @typing.type_check_only -class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=False): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -3109,11 +3094,11 @@ class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class Partner(typing_extensions.TypedDict, total=False): +class Partner(typing.TypedDict, total=False): adServerConfig: PartnerAdServerConfig dataAccessConfig: PartnerDataAccessConfig displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3128,12 +3113,12 @@ class Partner(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PartnerAdServerConfig(typing_extensions.TypedDict, total=False): +class PartnerAdServerConfig(typing.TypedDict, total=False): measurementConfig: MeasurementConfig @typing.type_check_only -class PartnerCost(typing_extensions.TypedDict, total=False): - costType: typing_extensions.Literal[ +class PartnerCost(typing.TypedDict, total=False): + costType: typing.Literal[ "PARTNER_COST_TYPE_UNSPECIFIED", "PARTNER_COST_TYPE_ADLOOX", "PARTNER_COST_TYPE_ADLOOX_PREBID", @@ -3167,30 +3152,30 @@ class PartnerCost(typing_extensions.TypedDict, total=False): ] feeAmount: str feePercentageMillis: str - feeType: typing_extensions.Literal[ + feeType: typing.Literal[ "PARTNER_COST_FEE_TYPE_UNSPECIFIED", "PARTNER_COST_FEE_TYPE_CPM_FEE", "PARTNER_COST_FEE_TYPE_MEDIA_FEE", ] - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", "PARTNER_COST_INVOICE_TYPE_DV360", "PARTNER_COST_INVOICE_TYPE_PARTNER", ] @typing.type_check_only -class PartnerDataAccessConfig(typing_extensions.TypedDict, total=False): +class PartnerDataAccessConfig(typing.TypedDict, total=False): sdfConfig: SdfConfig @typing.type_check_only -class PartnerGeneralConfig(typing_extensions.TypedDict, total=False): +class PartnerGeneralConfig(typing.TypedDict, total=False): currencyCode: str timeZone: str @typing.type_check_only -class PartnerRevenueModel(typing_extensions.TypedDict, total=False): +class PartnerRevenueModel(typing.TypedDict, total=False): markupAmount: str - markupType: typing_extensions.Literal[ + markupType: typing.Literal[ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", @@ -3198,11 +3183,11 @@ class PartnerRevenueModel(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoal(typing_extensions.TypedDict, total=False): +class PerformanceGoal(typing.TypedDict, total=False): performanceGoalAmountMicros: str performanceGoalPercentageMicros: str performanceGoalString: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "PERFORMANCE_GOAL_TYPE_CPM", "PERFORMANCE_GOAL_TYPE_CPC", @@ -3222,11 +3207,11 @@ class PerformanceGoal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): +class PerformanceGoalBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str performanceGoalAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -3238,30 +3223,30 @@ class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PoiAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class PoiSearchTerms(typing_extensions.TypedDict, total=False): +class PoiSearchTerms(typing.TypedDict, total=False): poiQuery: str @typing.type_check_only -class PoiTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float @typing.type_check_only -class PrismaConfig(typing_extensions.TypedDict, total=False): +class PrismaConfig(typing.TypedDict, total=False): prismaCpeCode: PrismaCpeCode - prismaType: typing_extensions.Literal[ + prismaType: typing.Literal[ "PRISMA_TYPE_UNSPECIFIED", "PRISMA_TYPE_DISPLAY", "PRISMA_TYPE_SEARCH", @@ -3273,16 +3258,16 @@ class PrismaConfig(typing_extensions.TypedDict, total=False): supplier: str @typing.type_check_only -class PrismaCpeCode(typing_extensions.TypedDict, total=False): +class PrismaCpeCode(typing.TypedDict, total=False): prismaClientCode: str prismaEstimateCode: str prismaProductCode: str @typing.type_check_only -class ProductFeedData(typing_extensions.TypedDict, total=False): +class ProductFeedData(typing.TypedDict, total=False): isFeedDisabled: bool productMatchDimensions: _list[ProductMatchDimension] - productMatchType: typing_extensions.Literal[ + productMatchType: typing.Literal[ "PRODUCT_MATCH_TYPE_UNSPECIFIED", "PRODUCT_MATCH_TYPE_ALL_PRODUCTS", "PRODUCT_MATCH_TYPE_SPECIFIC_PRODUCTS", @@ -3290,26 +3275,26 @@ class ProductFeedData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductMatchDimension(typing_extensions.TypedDict, total=False): +class ProductMatchDimension(typing.TypedDict, total=False): customLabel: CustomLabel productOfferId: str @typing.type_check_only class ProximityLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): proximityLocationListId: str proximityRadius: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "PROXIMITY_RADIUS_UNIT_UNSPECIFIED", "PROXIMITY_RADIUS_UNIT_MILES", "PROXIMITY_RADIUS_UNIT_KILOMETERS", ] @typing.type_check_only -class PublisherReviewStatus(typing_extensions.TypedDict, total=False): +class PublisherReviewStatus(typing.TypedDict, total=False): publisherName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -3317,51 +3302,49 @@ class PublisherReviewStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RegionalLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class RegionalLocationListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool regionalLocationListId: str @typing.type_check_only -class RemarketingConfig(typing_extensions.TypedDict, total=False): +class RemarketingConfig(typing.TypedDict, total=False): advertiserId: str remarketingEnabled: bool @typing.type_check_only -class ReplaceNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsRequest(typing.TypedDict, total=False): newNegativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceSitesRequest(typing_extensions.TypedDict, total=False): +class ReplaceSitesRequest(typing.TypedDict, total=False): advertiserId: str newSites: _list[Site] partnerId: str @typing.type_check_only -class ReplaceSitesResponse(typing_extensions.TypedDict, total=False): +class ReplaceSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class ReviewStatusInfo(typing_extensions.TypedDict, total=False): - approvalStatus: typing_extensions.Literal[ +class ReviewStatusInfo(typing.TypedDict, total=False): + approvalStatus: typing.Literal[ "APPROVAL_STATUS_UNSPECIFIED", "APPROVAL_STATUS_PENDING_NOT_SERVABLE", "APPROVAL_STATUS_PENDING_SERVABLE", "APPROVAL_STATUS_APPROVED_SERVABLE", "APPROVAL_STATUS_REJECTED_NOT_SERVABLE", ] - contentAndPolicyReviewStatus: typing_extensions.Literal[ + contentAndPolicyReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", "REVIEW_STATUS_PENDING", ] - creativeAndLandingPageReviewStatus: typing_extensions.Literal[ + creativeAndLandingPageReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -3371,18 +3354,18 @@ class ReviewStatusInfo(typing_extensions.TypedDict, total=False): publisherReviewStatuses: _list[PublisherReviewStatus] @typing.type_check_only -class ScriptError(typing_extensions.TypedDict, total=False): +class ScriptError(typing.TypedDict, total=False): column: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "SYNTAX_ERROR", "DEPRECATED_SYNTAX", "INTERNAL_ERROR" ] errorMessage: str line: str @typing.type_check_only -class SdfConfig(typing_extensions.TypedDict, total=False): +class SdfConfig(typing.TypedDict, total=False): adminEmail: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -3403,17 +3386,18 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class SdfDownloadTask(typing_extensions.TypedDict, total=False): +class SdfDownloadTask(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): +class SdfDownloadTaskMetadata(typing.TypedDict, total=False): createTime: str endTime: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -3434,10 +3418,11 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsRequest(typing.TypedDict, total=False): advertiserId: str businessChainSearchTerms: BusinessChainSearchTerms geoRegionSearchTerms: GeoRegionSearchTerms @@ -3446,15 +3431,13 @@ class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): poiSearchTerms: PoiSearchTerms @typing.type_check_only -class SearchTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class SensitiveCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - excludedSensitiveCategory: typing_extensions.Literal[ +class SensitiveCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): + excludedSensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -3478,8 +3461,8 @@ class SensitiveCategoryAssignedTargetingOptionDetails( ] @typing.type_check_only -class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): - sensitiveCategory: typing_extensions.Literal[ +class SensitiveCategoryTargetingOptionDetails(typing.TypedDict, total=False): + sensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -3503,38 +3486,34 @@ class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total ] @typing.type_check_only -class SessionPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - sessionPosition: typing_extensions.Literal[ +class SessionPositionAssignedTargetingOptionDetails(typing.TypedDict, total=False): + sessionPosition: typing.Literal[ "SESSION_POSITION_UNSPECIFIED", "SESSION_POSITION_FIRST_IMPRESSION" ] @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): name: str urlOrAppId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SubExchangeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class SubExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str @typing.type_check_only -class SubExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class SubExchangeTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class TargetFrequency(typing_extensions.TypedDict, total=False): +class TargetFrequency(typing.TypedDict, total=False): targetCount: str - timeUnit: typing_extensions.Literal[ + timeUnit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "TIME_UNIT_LIFETIME", "TIME_UNIT_MONTHS", @@ -3546,10 +3525,10 @@ class TargetFrequency(typing_extensions.TypedDict, total=False): timeUnitCount: int @typing.type_check_only -class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): +class TargetingExpansionConfig(typing.TypedDict, total=False): excludeDemographicExpansion: bool excludeFirstPartyAudience: bool - targetingExpansionLevel: typing_extensions.Literal[ + targetingExpansionLevel: typing.Literal[ "TARGETING_EXPANSION_LEVEL_UNSPECIFIED", "NO_EXPANSION", "LEAST_EXPANSION", @@ -3560,7 +3539,7 @@ class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TargetingOption(typing_extensions.TypedDict, total=False): +class TargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeTargetingOptionDetails appCategoryDetails: AppCategoryTargetingOptionDetails audioContentTypeDetails: AudioContentTypeTargetingOptionDetails @@ -3593,7 +3572,7 @@ class TargetingOption(typing_extensions.TypedDict, total=False): sensitiveCategoryDetails: SensitiveCategoryTargetingOptionDetails subExchangeDetails: SubExchangeTargetingOptionDetails targetingOptionId: str - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -3650,19 +3629,19 @@ class TargetingOption(typing_extensions.TypedDict, total=False): viewabilityDetails: ViewabilityTargetingOptionDetails @typing.type_check_only -class ThirdPartyMeasurementConfigs(typing_extensions.TypedDict, total=False): +class ThirdPartyMeasurementConfigs(typing.TypedDict, total=False): brandLiftVendorConfigs: _list[ThirdPartyVendorConfig] brandSafetyVendorConfigs: _list[ThirdPartyVendorConfig] reachVendorConfigs: _list[ThirdPartyVendorConfig] viewabilityVendorConfigs: _list[ThirdPartyVendorConfig] @typing.type_check_only -class ThirdPartyOnlyConfig(typing_extensions.TypedDict, total=False): +class ThirdPartyOnlyConfig(typing.TypedDict, total=False): pixelOrderIdReportingEnabled: bool @typing.type_check_only -class ThirdPartyUrl(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ThirdPartyUrl(typing.TypedDict, total=False): + type: typing.Literal[ "THIRD_PARTY_URL_TYPE_UNSPECIFIED", "THIRD_PARTY_URL_TYPE_IMPRESSION", "THIRD_PARTY_URL_TYPE_CLICK_TRACKING", @@ -3683,9 +3662,9 @@ class ThirdPartyUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): +class ThirdPartyVendorConfig(typing.TypedDict, total=False): placementId: str - vendor: typing_extensions.Literal[ + vendor: typing.Literal[ "THIRD_PARTY_VENDOR_UNSPECIFIED", "THIRD_PARTY_VENDOR_MOAT", "THIRD_PARTY_VENDOR_DOUBLE_VERIFY", @@ -3710,26 +3689,24 @@ class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ThirdPartyVerifierAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ThirdPartyVerifierAssignedTargetingOptionDetails(typing.TypedDict, total=False): adloox: Adloox doubleVerify: DoubleVerify integralAdScience: IntegralAdScience @typing.type_check_only -class TimerEvent(typing_extensions.TypedDict, total=False): +class TimerEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class TrackingFloodlightActivityConfig(typing_extensions.TypedDict, total=False): +class TrackingFloodlightActivityConfig(typing.TypedDict, total=False): floodlightActivityId: str postClickLookbackWindowDays: int postViewLookbackWindowDays: int @typing.type_check_only -class Transcode(typing_extensions.TypedDict, total=False): +class Transcode(typing.TypedDict, total=False): audioBitRateKbps: str audioSampleRateHz: str bitRateKbps: str @@ -3741,9 +3718,9 @@ class Transcode(typing_extensions.TypedDict, total=False): transcoded: bool @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): +class UniversalAdId(typing.TypedDict, total=False): id: str - registry: typing_extensions.Literal[ + registry: typing.Literal[ "UNIVERSAL_AD_REGISTRY_UNSPECIFIED", "UNIVERSAL_AD_REGISTRY_OTHER", "UNIVERSAL_AD_REGISTRY_AD_ID", @@ -3753,12 +3730,12 @@ class UniversalAdId(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UrlAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class UrlAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool url: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): assignedUserRoles: _list[AssignedUserRole] displayName: str email: str @@ -3767,36 +3744,32 @@ class User(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class UserRewardedContentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class UserRewardedContentAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str - userRewardedContent: typing_extensions.Literal[ + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class UserRewardedContentTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - userRewardedContent: typing_extensions.Literal[ +class UserRewardedContentTargetingOptionDetails(typing.TypedDict, total=False): + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class VideoAdInventoryControl(typing_extensions.TypedDict, total=False): +class VideoAdInventoryControl(typing.TypedDict, total=False): allowInFeed: bool allowInStream: bool allowNonSkippableInStream: bool allowShorts: bool @typing.type_check_only -class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): - minimumDuration: typing_extensions.Literal[ +class VideoAdSequenceSettings(typing.TypedDict, total=False): + minimumDuration: typing.Literal[ "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED", "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK", "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH", @@ -3804,9 +3777,9 @@ class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): steps: _list[VideoAdSequenceStep] @typing.type_check_only -class VideoAdSequenceStep(typing_extensions.TypedDict, total=False): +class VideoAdSequenceStep(typing.TypedDict, total=False): adGroupId: str - interactionType: typing_extensions.Literal[ + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "INTERACTION_TYPE_PAID_VIEW", "INTERACTION_TYPE_SKIP", @@ -3817,11 +3790,11 @@ class VideoAdSequenceStep(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class VideoDiscoveryAd(typing_extensions.TypedDict, total=False): +class VideoDiscoveryAd(typing.TypedDict, total=False): description1: str description2: str headline: str - thumbnail: typing_extensions.Literal[ + thumbnail: typing.Literal[ "THUMBNAIL_UNSPECIFIED", "THUMBNAIL_DEFAULT", "THUMBNAIL_1", @@ -3831,7 +3804,7 @@ class VideoDiscoveryAd(typing_extensions.TypedDict, total=False): video: YoutubeVideoDetails @typing.type_check_only -class VideoPerformanceAd(typing_extensions.TypedDict, total=False): +class VideoPerformanceAd(typing.TypedDict, total=False): actionButtonLabels: _list[str] companionBanners: _list[ImageAsset] customParameters: dict[str, typing.Any] @@ -3846,10 +3819,8 @@ class VideoPerformanceAd(typing_extensions.TypedDict, total=False): videos: _list[YoutubeVideoDetails] @typing.type_check_only -class VideoPlayerSizeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - videoPlayerSize: typing_extensions.Literal[ +class VideoPlayerSizeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -3858,8 +3829,8 @@ class VideoPlayerSizeAssignedTargetingOptionDetails( ] @typing.type_check_only -class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - videoPlayerSize: typing_extensions.Literal[ +class VideoPlayerSizeTargetingOptionDetails(typing.TypedDict, total=False): + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -3868,10 +3839,8 @@ class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ViewabilityAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - viewability: typing_extensions.Literal[ +class ViewabilityAssignedTargetingOptionDetails(typing.TypedDict, total=False): + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", @@ -3885,8 +3854,8 @@ class ViewabilityAssignedTargetingOptionDetails( ] @typing.type_check_only -class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False): - viewability: typing_extensions.Literal[ +class ViewabilityTargetingOptionDetails(typing.TypedDict, total=False): + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", @@ -3900,8 +3869,8 @@ class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class YoutubeAdGroup(typing_extensions.TypedDict, total=False): - adGroupFormat: typing_extensions.Literal[ +class YoutubeAdGroup(typing.TypedDict, total=False): + adGroupFormat: typing.Literal[ "YOUTUBE_AND_PARTNERS_AD_GROUP_FORMAT_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_AD_GROUP_FORMAT_IN_STREAM", "YOUTUBE_AND_PARTNERS_AD_GROUP_FORMAT_VIDEO_DISCOVERY", @@ -3916,7 +3885,7 @@ class YoutubeAdGroup(typing_extensions.TypedDict, total=False): advertiserId: str biddingStrategy: YoutubeAndPartnersBiddingStrategy displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3931,7 +3900,7 @@ class YoutubeAdGroup(typing_extensions.TypedDict, total=False): youtubeAdIds: _list[str] @typing.type_check_only -class YoutubeAdGroupAd(typing_extensions.TypedDict, total=False): +class YoutubeAdGroupAd(typing.TypedDict, total=False): adGroupAdId: str adGroupId: str adUrls: _list[AdUrl] @@ -3940,7 +3909,7 @@ class YoutubeAdGroupAd(typing_extensions.TypedDict, total=False): bumperAd: BumperAd displayName: str displayVideoSourceAd: DisplayVideoSourceAd - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3956,19 +3925,19 @@ class YoutubeAdGroupAd(typing_extensions.TypedDict, total=False): videoPerformanceAd: VideoPerformanceAd @typing.type_check_only -class YoutubeAdGroupAssignedTargetingOption(typing_extensions.TypedDict, total=False): +class YoutubeAdGroupAssignedTargetingOption(typing.TypedDict, total=False): assignedTargetingOption: AssignedTargetingOption youtubeAdGroupId: str @typing.type_check_only -class YoutubeAndPartnersBiddingStrategy(typing_extensions.TypedDict, total=False): - adGroupEffectiveTargetCpaSource: typing_extensions.Literal[ +class YoutubeAndPartnersBiddingStrategy(typing.TypedDict, total=False): + adGroupEffectiveTargetCpaSource: typing.Literal[ "BIDDING_SOURCE_UNSPECIFIED", "BIDDING_SOURCE_LINE_ITEM", "BIDDING_SOURCE_AD_GROUP", ] adGroupEffectiveTargetCpaValue: str - type: typing_extensions.Literal[ + type: typing.Literal[ "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV", "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM", @@ -3984,22 +3953,22 @@ class YoutubeAndPartnersBiddingStrategy(typing_extensions.TypedDict, total=False value: str @typing.type_check_only -class YoutubeAndPartnersInventorySourceConfig(typing_extensions.TypedDict, total=False): +class YoutubeAndPartnersInventorySourceConfig(typing.TypedDict, total=False): includeGoogleTv: bool includeYoutubeSearch: bool includeYoutubeVideoPartners: bool includeYoutubeVideos: bool @typing.type_check_only -class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): +class YoutubeAndPartnersSettings(typing.TypedDict, total=False): biddingStrategy: YoutubeAndPartnersBiddingStrategy - contentCategory: typing_extensions.Literal[ + contentCategory: typing.Literal[ "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED", ] - effectiveContentCategory: typing_extensions.Literal[ + effectiveContentCategory: typing.Literal[ "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", @@ -4016,39 +3985,31 @@ class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): viewFrequencyCap: FrequencyCap @typing.type_check_only -class YoutubeAndPartnersThirdPartyMeasurementSettings( - typing_extensions.TypedDict, total=False -): +class YoutubeAndPartnersThirdPartyMeasurementSettings(typing.TypedDict, total=False): brandLiftVendorConfigs: _list[ThirdPartyVendorConfig] brandSafetyVendorConfigs: _list[ThirdPartyVendorConfig] reachVendorConfigs: _list[ThirdPartyVendorConfig] viewabilityVendorConfigs: _list[ThirdPartyVendorConfig] @typing.type_check_only -class YoutubeChannelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeChannelAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelId: str negative: bool @typing.type_check_only -class YoutubeChannelPackAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeChannelPackAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelPackId: str negative: bool @typing.type_check_only -class YoutubeVideoAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeVideoAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool videoId: str @typing.type_check_only -class YoutubeVideoDetails(typing_extensions.TypedDict, total=False): +class YoutubeVideoDetails(typing.TypedDict, total=False): id: str - unavailableReason: typing_extensions.Literal[ + unavailableReason: typing.Literal[ "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED", "VIDEO_UNAVAILABLE_REASON_PRIVATE", "VIDEO_UNAVAILABLE_REASON_DELETED", diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi index f9272a3df..3055c39bf 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -64,7 +63,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -125,7 +124,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -186,7 +185,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -247,7 +246,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -601,7 +600,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, issueMonth: str | None = ..., - loiSapinInvoiceType: typing_extensions.Literal[ + loiSapinInvoiceType: typing.Literal[ "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", "LOI_SAPIN_INVOICE_TYPE_MEDIA", "LOI_SAPIN_INVOICE_TYPE_PLATFORM", @@ -637,7 +636,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -698,7 +697,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -759,7 +758,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -820,7 +819,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1147,7 +1146,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1207,7 +1206,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1267,7 +1266,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1327,7 +1326,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1648,56 +1647,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 @@ -2048,7 +1997,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2108,7 +2057,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2168,7 +2117,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2228,7 +2177,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2342,7 +2291,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def get( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2402,7 +2351,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def list( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2470,7 +2419,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def search( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2585,7 +2534,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 +2816,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 +2834,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 +3024,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..a9443687e 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total=False): +class ActiveViewVideoViewabilityMetricConfig(typing.TypedDict, total=False): displayName: str - minimumDuration: typing_extensions.Literal[ + minimumDuration: typing.Literal[ "VIDEO_DURATION_UNSPECIFIED", "VIDEO_DURATION_SECONDS_NONE", "VIDEO_DURATION_SECONDS_0", @@ -30,7 +28,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_SECONDS_45", "VIDEO_DURATION_SECONDS_60", ] - minimumQuartile: typing_extensions.Literal[ + minimumQuartile: typing.Literal[ "VIDEO_DURATION_QUARTILE_UNSPECIFIED", "VIDEO_DURATION_QUARTILE_NONE", "VIDEO_DURATION_QUARTILE_FIRST", @@ -38,7 +36,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_QUARTILE_THIRD", "VIDEO_DURATION_QUARTILE_FOURTH", ] - minimumViewability: typing_extensions.Literal[ + minimumViewability: typing.Literal[ "VIEWABILITY_PERCENT_UNSPECIFIED", "VIEWABILITY_PERCENT_0", "VIEWABILITY_PERCENT_25", @@ -46,15 +44,15 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIEWABILITY_PERCENT_75", "VIEWABILITY_PERCENT_100", ] - minimumVolume: typing_extensions.Literal[ + minimumVolume: typing.Literal[ "VIDEO_VOLUME_PERCENT_UNSPECIFIED", "VIDEO_VOLUME_PERCENT_0", "VIDEO_VOLUME_PERCENT_10", ] @typing.type_check_only -class AdGroup(typing_extensions.TypedDict, total=False): - adGroupFormat: typing_extensions.Literal[ +class AdGroup(typing.TypedDict, total=False): + adGroupFormat: typing.Literal[ "AD_GROUP_FORMAT_UNSPECIFIED", "AD_GROUP_FORMAT_IN_STREAM", "AD_GROUP_FORMAT_VIDEO_DISCOVERY", @@ -71,7 +69,7 @@ class AdGroup(typing_extensions.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -85,7 +83,7 @@ class AdGroup(typing_extensions.TypedDict, total=False): targetingExpansion: TargetingExpansionConfig @typing.type_check_only -class AdGroupAd(typing_extensions.TypedDict, total=False): +class AdGroupAd(typing.TypedDict, total=False): adGroupAdId: str adGroupId: str adPolicy: AdPolicy @@ -100,7 +98,7 @@ class AdGroupAd(typing_extensions.TypedDict, total=False): demandGenVideoAd: DemandGenVideoAd displayName: str displayVideoSourceAd: DisplayVideoSourceAd - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -116,13 +114,13 @@ class AdGroupAd(typing_extensions.TypedDict, total=False): videoPerformanceAd: VideoPerformanceAd @typing.type_check_only -class AdGroupAssignedTargetingOption(typing_extensions.TypedDict, total=False): +class AdGroupAssignedTargetingOption(typing.TypedDict, total=False): adGroupId: str assignedTargetingOption: AssignedTargetingOption @typing.type_check_only -class AdGroupInventoryControl(typing_extensions.TypedDict, total=False): - adGroupInventoryStrategy: typing_extensions.Literal[ +class AdGroupInventoryControl(typing.TypedDict, total=False): + adGroupInventoryStrategy: typing.Literal[ "AD_GROUP_INVENTORY_STRATEGY_UNSPECIFIED", "AD_GROUP_INVENTORY_STRATEGY_ALL_GOOGLE_AND_DISPLAY_NETWORK_INVENTORY", "AD_GROUP_INVENTORY_STRATEGY_ALL_GOOGLE_INVENTORY", @@ -130,15 +128,15 @@ class AdGroupInventoryControl(typing_extensions.TypedDict, total=False): selectedInventories: SelectedInventories @typing.type_check_only -class AdPolicy(typing_extensions.TypedDict, total=False): - adPolicyApprovalStatus: typing_extensions.Literal[ +class AdPolicy(typing.TypedDict, total=False): + adPolicyApprovalStatus: typing.Literal[ "AD_POLICY_APPROVAL_STATUS_UNKNOWN", "DISAPPROVED", "APPROVED_LIMITED", "APPROVED", "AREA_OF_INTEREST_ONLY", ] - adPolicyReviewStatus: typing_extensions.Literal[ + adPolicyReviewStatus: typing.Literal[ "AD_POLICY_REVIEW_STATUS_UNKNOWN", "REVIEW_IN_PROGRESS", "REVIEWED", @@ -148,19 +146,19 @@ class AdPolicy(typing_extensions.TypedDict, total=False): adPolicyTopicEntry: _list[AdPolicyTopicEntry] @typing.type_check_only -class AdPolicyCriterionRestriction(typing_extensions.TypedDict, total=False): +class AdPolicyCriterionRestriction(typing.TypedDict, total=False): countryCriterionId: str countryLabel: str @typing.type_check_only -class AdPolicyTopicAppealInfo(typing_extensions.TypedDict, total=False): +class AdPolicyTopicAppealInfo(typing.TypedDict, total=False): appealFormLink: str - appealType: typing_extensions.Literal[ + appealType: typing.Literal[ "AD_POLICY_APPEAL_TYPE_UNKNOWN", "SELF_SERVICE_APPEAL", "APPEAL_FORM" ] @typing.type_check_only -class AdPolicyTopicConstraint(typing_extensions.TypedDict, total=False): +class AdPolicyTopicConstraint(typing.TypedDict, total=False): certificateDomainMismatchCountryList: ( AdPolicyTopicConstraintAdPolicyCountryConstraintList ) @@ -177,33 +175,33 @@ class AdPolicyTopicConstraint(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdPolicyTopicConstraintAdPolicyCountryConstraintList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countries: _list[AdPolicyCriterionRestriction] @typing.type_check_only class AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class AdPolicyTopicConstraintAdPolicyResellerConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEntry(typing.TypedDict, total=False): appealInfo: AdPolicyTopicAppealInfo helpCenterLink: str - policyDecisionType: typing_extensions.Literal[ + policyDecisionType: typing.Literal[ "AD_POLICY_DECISION_TYPE_UNKNOWN", "PURSUANT_TO_NOTICE", "GOOGLE_INVESTIGATION" ] - policyEnforcementMeans: typing_extensions.Literal[ + policyEnforcementMeans: typing.Literal[ "AD_POLICY_ENFORCEMENT_MEANS_UNKNOWN", "AUTOMATED", "HUMAN_REVIEW" ] policyLabel: str @@ -211,7 +209,7 @@ class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): policyTopicConstraints: _list[AdPolicyTopicConstraint] policyTopicDescription: str policyTopicEvidences: _list[AdPolicyTopicEvidence] - policyTopicType: typing_extensions.Literal[ + policyTopicType: typing.Literal[ "AD_POLICY_TOPIC_ENTRY_TYPE_UNKNOWN", "PROHIBITED", "FULLY_LIMITED", @@ -222,7 +220,7 @@ class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AdPolicyTopicEvidence(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidence(typing.TypedDict, total=False): counterfeit: AdPolicyTopicEvidenceCounterfeit destinationMismatch: AdPolicyTopicEvidenceDestinationMismatch destinationNotWorking: AdPolicyTopicEvidenceDestinationNotWorking @@ -236,15 +234,13 @@ class AdPolicyTopicEvidence(typing_extensions.TypedDict, total=False): websiteList: AdPolicyTopicEvidenceWebsiteList @typing.type_check_only -class AdPolicyTopicEvidenceCounterfeit(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceCounterfeit(typing.TypedDict, total=False): owners: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceDestinationMismatch( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceDestinationMismatch(typing.TypedDict, total=False): uriTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_MISMATCH_URL_TYPE_UNKNOWN", "DISPLAY_URL", "FINAL_URL", @@ -255,16 +251,14 @@ class AdPolicyTopicEvidenceDestinationMismatch( ] @typing.type_check_only -class AdPolicyTopicEvidenceDestinationNotWorking( - typing_extensions.TypedDict, total=False -): - device: typing_extensions.Literal[ +class AdPolicyTopicEvidenceDestinationNotWorking(typing.TypedDict, total=False): + device: typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DEVICE_TYPE_UNKNOWN", "DESKTOP", "ANDROID", "IOS", ] - dnsErrorType: typing_extensions.Literal[ + dnsErrorType: typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DNS_ERROR_TYPE_UNKNOWN", "HOSTNAME_NOT_FOUND", "GOOGLE_CRAWLER_DNS_ISSUE", @@ -274,14 +268,12 @@ class AdPolicyTopicEvidenceDestinationNotWorking( lastCheckedTime: str @typing.type_check_only -class AdPolicyTopicEvidenceDestinationTextList( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceDestinationTextList(typing.TypedDict, total=False): destinationTexts: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceLegalRemoval(typing_extensions.TypedDict, total=False): - complaintType: typing_extensions.Literal[ +class AdPolicyTopicEvidenceLegalRemoval(typing.TypedDict, total=False): + complaintType: typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_LEGAL_REMOVAL_COMPLAINT_TYPE_UNKNOWN", "COPYRIGHT", "COURT_ORDER", @@ -293,47 +285,43 @@ class AdPolicyTopicEvidenceLegalRemoval(typing_extensions.TypedDict, total=False restrictedUris: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceLegalRemovalDmca(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceLegalRemovalDmca(typing.TypedDict, total=False): complainant: str @typing.type_check_only -class AdPolicyTopicEvidenceLegalRemovalLocalLegal( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceLegalRemovalLocalLegal(typing.TypedDict, total=False): lawType: str @typing.type_check_only -class AdPolicyTopicEvidenceRegionalRequirements( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceRegionalRequirements(typing.TypedDict, total=False): regionalRequirementsEntries: _list[ AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry ] @typing.type_check_only class AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryRestrictions: _list[AdPolicyCriterionRestriction] legalPolicy: str @typing.type_check_only -class AdPolicyTopicEvidenceTextList(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceTextList(typing.TypedDict, total=False): texts: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceTrademark(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceTrademark(typing.TypedDict, total=False): countryRestrictions: _list[AdPolicyCriterionRestriction] owner: str term: str @typing.type_check_only -class AdPolicyTopicEvidenceWebsiteList(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceWebsiteList(typing.TypedDict, total=False): websites: _list[str] @typing.type_check_only -class AdUrl(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class AdUrl(typing.TypedDict, total=False): + type: typing.Literal[ "AD_URL_TYPE_UNSPECIFIED", "AD_URL_TYPE_BEACON_IMPRESSION", "AD_URL_TYPE_BEACON_EXPANDABLE_DCM_IMPRESSION", @@ -343,45 +331,43 @@ class AdUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Adloox(typing_extensions.TypedDict, total=False): - adultExplicitSexualContent: typing_extensions.Literal[ +class Adloox(typing.TypedDict, total=False): + adultExplicitSexualContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - armsAmmunitionContent: typing_extensions.Literal[ + armsAmmunitionContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent: ( - typing_extensions.Literal[ - "GARM_RISK_EXCLUSION_UNSPECIFIED", - "GARM_RISK_EXCLUSION_FLOOR", - "GARM_RISK_EXCLUSION_HIGH", - "GARM_RISK_EXCLUSION_MEDIUM", - "GARM_RISK_EXCLUSION_LOW", - ] - ) - deathInjuryMilitaryConflictContent: typing_extensions.Literal[ + crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent: typing.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + deathInjuryMilitaryConflictContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - debatedSensitiveSocialIssueContent: typing_extensions.Literal[ + debatedSensitiveSocialIssueContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - displayIabViewability: typing_extensions.Literal[ + displayIabViewability: typing.Literal[ "DISPLAY_IAB_VIEWABILITY_UNSPECIFIED", "DISPLAY_IAB_VIEWABILITY_10", "DISPLAY_IAB_VIEWABILITY_20", @@ -390,7 +376,7 @@ class Adloox(typing_extensions.TypedDict, total=False): "DISPLAY_IAB_VIEWABILITY_75", ] excludedAdlooxCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "ADLOOX_UNSPECIFIED", "ADULT_CONTENT_HARD", "ADULT_CONTENT_SOFT", @@ -403,58 +389,58 @@ class Adloox(typing_extensions.TypedDict, total=False): ] ] excludedFraudIvtMfaCategories: _list[ - typing_extensions.Literal["FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", "FRAUD_IVT_MFA"] + typing.Literal["FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", "FRAUD_IVT_MFA"] ] - hateSpeechActsAggressionContent: typing_extensions.Literal[ + hateSpeechActsAggressionContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - illegalDrugsTobaccoEcigarettesVapingAlcoholContent: typing_extensions.Literal[ + illegalDrugsTobaccoEcigarettesVapingAlcoholContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - misinformationContent: typing_extensions.Literal[ + misinformationContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - obscenityProfanityContent: typing_extensions.Literal[ + obscenityProfanityContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - onlinePiracyContent: typing_extensions.Literal[ + onlinePiracyContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - spamHarmfulContent: typing_extensions.Literal[ + spamHarmfulContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - terrorismContent: typing_extensions.Literal[ + terrorismContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - videoIabViewability: typing_extensions.Literal[ + videoIabViewability: typing.Literal[ "VIDEO_IAB_VIEWABILITY_UNSPECIFIED", "VIDEO_IAB_VIEWABILITY_10", "VIDEO_IAB_VIEWABILITY_20", @@ -464,19 +450,21 @@ class Adloox(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str billingConfig: AdvertiserBillingConfig - containsEuPoliticalAds: typing_extensions.Literal[ + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", ] creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig + defaultBusinessName: str + defaultLogoAssetId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -493,43 +481,43 @@ class Advertiser(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AdvertiserAdServerConfig(typing_extensions.TypedDict, total=False): +class AdvertiserAdServerConfig(typing.TypedDict, total=False): cmHybridConfig: CmHybridConfig thirdPartyOnlyConfig: ThirdPartyOnlyConfig @typing.type_check_only -class AdvertiserBillingConfig(typing_extensions.TypedDict, total=False): +class AdvertiserBillingConfig(typing.TypedDict, total=False): billingProfileId: str @typing.type_check_only -class AdvertiserCreativeConfig(typing_extensions.TypedDict, total=False): +class AdvertiserCreativeConfig(typing.TypedDict, total=False): dynamicCreativeEnabled: bool iasClientId: str obaComplianceDisabled: bool videoCreativeDataSharingAuthorized: bool @typing.type_check_only -class AdvertiserDataAccessConfig(typing_extensions.TypedDict, total=False): +class AdvertiserDataAccessConfig(typing.TypedDict, total=False): sdfConfig: AdvertiserSdfConfig @typing.type_check_only -class AdvertiserGeneralConfig(typing_extensions.TypedDict, total=False): +class AdvertiserGeneralConfig(typing.TypedDict, total=False): currencyCode: str domainUrl: str timeZone: str @typing.type_check_only -class AdvertiserSdfConfig(typing_extensions.TypedDict, total=False): +class AdvertiserSdfConfig(typing.TypedDict, total=False): overridePartnerSdfConfig: bool sdfConfig: SdfConfig @typing.type_check_only -class AdvertiserTargetingConfig(typing_extensions.TypedDict, total=False): +class AdvertiserTargetingConfig(typing.TypedDict, total=False): exemptTvFromViewabilityTargeting: bool @typing.type_check_only -class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -551,8 +539,8 @@ class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -574,15 +562,15 @@ class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlgorithmRules(typing_extensions.TypedDict, total=False): +class AlgorithmRules(typing.TypedDict, total=False): attributionModelId: str impressionSignalRuleset: AlgorithmRulesRuleset postImpressionSignalRuleset: AlgorithmRulesRuleset @typing.type_check_only -class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): +class AlgorithmRulesComparisonValue(typing.TypedDict, total=False): boolValue: bool - contentDurationValue: typing_extensions.Literal[ + contentDurationValue: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -593,12 +581,12 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "CONTENT_DURATION_OVER_60_MIN", ] contentGenreIdValue: str - contentStreamTypeValue: typing_extensions.Literal[ + contentStreamTypeValue: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] creativeDimensionValue: Dimensions dayAndTimeValue: DayAndTime - deviceTypeValue: typing_extensions.Literal[ + deviceTypeValue: typing.Literal[ "RULE_DEVICE_TYPE_UNSPECIFIED", "RULE_DEVICE_TYPE_COMPUTER", "RULE_DEVICE_TYPE_CONNECTED_TV", @@ -608,13 +596,13 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "RULE_DEVICE_TYPE_SET_TOP_BOX", ] doubleValue: float - environmentValue: typing_extensions.Literal[ + environmentValue: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", "ENVIRONMENT_APP", ] - exchangeValue: typing_extensions.Literal[ + exchangeValue: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -707,14 +695,14 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_EXTE", ] int64Value: str - onScreenPositionValue: typing_extensions.Literal[ + onScreenPositionValue: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", "ON_SCREEN_POSITION_BELOW_THE_FOLD", ] stringValue: str - videoPlayerSizeValue: typing_extensions.Literal[ + videoPlayerSizeValue: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -723,13 +711,11 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlgorithmRulesFloodlightActivityConversionSignal( - typing_extensions.TypedDict, total=False -): - conversionCounting: typing_extensions.Literal[ +class AlgorithmRulesFloodlightActivityConversionSignal(typing.TypedDict, total=False): + conversionCounting: typing.Literal[ "CONVERSION_COUNTING_UNSPECIFIED", "ALL_CONVERSIONS", "POST_CLICK", "POST_VIEW" ] - countingMethod: typing_extensions.Literal[ + countingMethod: typing.Literal[ "COUNTING_METHOD_UNSPECIFIED", "CONVERSIONS_COUNT", "SALES_QUANTITY", @@ -739,18 +725,18 @@ class AlgorithmRulesFloodlightActivityConversionSignal( floodlightActivityId: str @typing.type_check_only -class AlgorithmRulesRule(typing_extensions.TypedDict, total=False): +class AlgorithmRulesRule(typing.TypedDict, total=False): conditions: _list[AlgorithmRulesRuleCondition] defaultReturnValue: AlgorithmRulesSignalValue @typing.type_check_only -class AlgorithmRulesRuleCondition(typing_extensions.TypedDict, total=False): +class AlgorithmRulesRuleCondition(typing.TypedDict, total=False): returnValue: AlgorithmRulesSignalValue signalComparisons: _list[AlgorithmRulesSignalComparison] @typing.type_check_only -class AlgorithmRulesRuleset(typing_extensions.TypedDict, total=False): - aggregationType: typing_extensions.Literal[ +class AlgorithmRulesRuleset(typing.TypedDict, total=False): + aggregationType: typing.Literal[ "RULE_AGGREGATION_TYPE_UNSPECIFIED", "SUM_OF_VALUES", "PRODUCT_OF_VALUES", @@ -760,8 +746,8 @@ class AlgorithmRulesRuleset(typing_extensions.TypedDict, total=False): rules: _list[AlgorithmRulesRule] @typing.type_check_only -class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): - activeViewSignal: typing_extensions.Literal[ +class AlgorithmRulesSignal(typing.TypedDict, total=False): + activeViewSignal: typing.Literal[ "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", "ACTIVE_VIEW_VIEWED", "AUDIBLE", @@ -771,8 +757,8 @@ class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): "COMPLETED_IN_VIEW_AUDIBLE", "AUDIO_COMPLETED", ] - clickSignal: typing_extensions.Literal["CLICK_SIGNAL_UNSPECIFIED", "CLICK"] - impressionSignal: typing_extensions.Literal[ + clickSignal: typing.Literal["CLICK_SIGNAL_UNSPECIFIED", "CLICK"] + impressionSignal: typing.Literal[ "IMPRESSION_SIGNAL_UNSPECIFIED", "DAY_AND_TIME", "DEVICE_TYPE", @@ -791,8 +777,8 @@ class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): - comparisonOperator: typing_extensions.Literal[ +class AlgorithmRulesSignalComparison(typing.TypedDict, total=False): + comparisonOperator: typing.Literal[ "COMPARISON_OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", @@ -805,8 +791,8 @@ class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): signal: AlgorithmRulesSignal @typing.type_check_only -class AlgorithmRulesSignalValue(typing_extensions.TypedDict, total=False): - activeViewSignal: typing_extensions.Literal[ +class AlgorithmRulesSignalValue(typing.TypedDict, total=False): + activeViewSignal: typing.Literal[ "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", "ACTIVE_VIEW_VIEWED", "AUDIBLE", @@ -820,9 +806,9 @@ class AlgorithmRulesSignalValue(typing_extensions.TypedDict, total=False): number: float @typing.type_check_only -class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppAssignedTargetingOptionDetails(typing.TypedDict, total=False): appId: str - appPlatform: typing_extensions.Literal[ + appPlatform: typing.Literal[ "APP_PLATFORM_UNSPECIFIED", "APP_PLATFORM_IOS", "APP_PLATFORM_ANDROID", @@ -842,26 +828,24 @@ class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False negative: bool @typing.type_check_only -class AppCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AppCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class AppCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppCategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): content: str mediaId: str @typing.type_check_only -class AssetAssociation(typing_extensions.TypedDict, total=False): +class AssetAssociation(typing.TypedDict, total=False): asset: Asset - role: typing_extensions.Literal[ + role: typing.Literal[ "ASSET_ROLE_UNSPECIFIED", "ASSET_ROLE_MAIN", "ASSET_ROLE_BACKUP", @@ -887,19 +871,19 @@ class AssetAssociation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AssignedInventorySource(typing_extensions.TypedDict, total=False): +class AssignedInventorySource(typing.TypedDict, total=False): assignedInventorySourceId: str inventorySourceId: str name: str @typing.type_check_only -class AssignedLocation(typing_extensions.TypedDict, total=False): +class AssignedLocation(typing.TypedDict, total=False): assignedLocationId: str name: str targetingOptionId: str @typing.type_check_only -class AssignedTargetingOption(typing_extensions.TypedDict, total=False): +class AssignedTargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeAssignedTargetingOptionDetails appCategoryDetails: AppCategoryAssignedTargetingOptionDetails appDetails: AppAssignedTargetingOptionDetails @@ -934,7 +918,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): genderDetails: GenderAssignedTargetingOptionDetails geoRegionDetails: GeoRegionAssignedTargetingOptionDetails householdIncomeDetails: HouseholdIncomeAssignedTargetingOptionDetails - inheritance: typing_extensions.Literal[ + inheritance: typing.Literal[ "INHERITANCE_UNSPECIFIED", "NOT_INHERITED", "INHERITED_FROM_PARTNER", @@ -957,7 +941,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): sensitiveCategoryExclusionDetails: SensitiveCategoryAssignedTargetingOptionDetails sessionPositionDetails: SessionPositionAssignedTargetingOptionDetails subExchangeDetails: SubExchangeAssignedTargetingOptionDetails - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1020,11 +1004,11 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): youtubeVideoDetails: YoutubeVideoAssignedTargetingOptionDetails @typing.type_check_only -class AssignedUserRole(typing_extensions.TypedDict, total=False): +class AssignedUserRole(typing.TypedDict, total=False): advertiserId: str assignedUserRoleId: str partnerId: str - userRole: typing_extensions.Literal[ + userRole: typing.Literal[ "USER_ROLE_UNSPECIFIED", "ADMIN", "ADMIN_PARTNER_CLIENT", @@ -1040,9 +1024,7 @@ class AssignedUserRole(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AudienceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AudienceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): excludedFirstAndThirdPartyAudienceGroup: FirstAndThirdPartyAudienceGroup excludedGoogleAudienceGroup: GoogleAudienceGroup includedCombinedAudienceGroup: CombinedAudienceGroup @@ -1051,17 +1033,15 @@ class AudienceGroupAssignedTargetingOptionDetails( includedGoogleAudienceGroup: GoogleAudienceGroup @typing.type_check_only -class AudioAd(typing_extensions.TypedDict, total=False): +class AudioAd(typing.TypedDict, total=False): displayUrl: str finalUrl: str trackingUrl: str video: YoutubeVideoDetails @typing.type_check_only -class AudioContentTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -1074,8 +1054,8 @@ class AudioContentTypeAssignedTargetingOptionDetails( ] @typing.type_check_only -class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -1088,12 +1068,12 @@ class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class AudioVideoOffset(typing_extensions.TypedDict, total=False): +class AudioVideoOffset(typing.TypedDict, total=False): percentage: str seconds: str @typing.type_check_only -class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): +class AuditAdvertiserResponse(typing.TypedDict, total=False): adGroupCriteriaCount: str campaignCriteriaCount: str channelsCount: str @@ -1105,9 +1085,9 @@ class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthorizedSellerStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authorizedSellerStatus: typing_extensions.Literal[ + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", @@ -1115,17 +1095,15 @@ class AuthorizedSellerStatusAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class AuthorizedSellerStatusTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - authorizedSellerStatus: typing_extensions.Literal[ +class AuthorizedSellerStatusTargetingOptionDetails(typing.TypedDict, total=False): + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", ] @typing.type_check_only -class BiddingStrategy(typing_extensions.TypedDict, total=False): +class BiddingStrategy(typing.TypedDict, total=False): demandGenBid: DemandGenBiddingStrategy fixedBid: FixedBidStrategy maximizeSpendAutoBid: MaximizeSpendBidStrategy @@ -1133,17 +1111,17 @@ class BiddingStrategy(typing_extensions.TypedDict, total=False): youtubeAndPartnersBid: YoutubeAndPartnersBiddingStrategy @typing.type_check_only -class BrowserAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class BrowserTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class BudgetSummary(typing_extensions.TypedDict, total=False): +class BudgetSummary(typing.TypedDict, total=False): externalBudgetId: str preTaxAmountMicros: str prismaCpeCode: PrismaCpeCode @@ -1151,171 +1129,147 @@ class BudgetSummary(typing_extensions.TypedDict, total=False): totalAmountMicros: str @typing.type_check_only -class BulkEditAdGroupAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditAdGroupAssignedTargetingOptionsRequest(typing.TypedDict, total=False): adGroupIds: _list[str] createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): errors: _list[Status] failedAdGroupIds: _list[str] updatedAdGroupIds: _list[str] @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditAssignedInventorySourcesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedInventorySourcesRequest(typing.TypedDict, total=False): advertiserId: str createdAssignedInventorySources: _list[AssignedInventorySource] deletedAssignedInventorySources: _list[str] partnerId: str @typing.type_check_only -class BulkEditAssignedInventorySourcesResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] @typing.type_check_only -class BulkEditAssignedLocationsRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsRequest(typing.TypedDict, total=False): createdAssignedLocations: _list[AssignedLocation] deletedAssignedLocations: _list[str] @typing.type_check_only -class BulkEditAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] @typing.type_check_only -class BulkEditAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] lineItemIds: _list[str] @typing.type_check_only -class BulkEditAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAssignedTargetingOptionsResponse(typing.TypedDict, total=False): errors: _list[Status] failedLineItemIds: _list[str] updatedLineItemIds: _list[str] @typing.type_check_only -class BulkEditAssignedUserRolesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesRequest(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] deletedAssignedUserRoles: _list[str] @typing.type_check_only -class BulkEditAssignedUserRolesResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesResponse(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] @typing.type_check_only -class BulkEditNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsRequest(typing.TypedDict, total=False): createdNegativeKeywords: _list[NegativeKeyword] deletedNegativeKeywords: _list[str] @typing.type_check_only -class BulkEditNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditSitesRequest(typing_extensions.TypedDict, total=False): +class BulkEditSitesRequest(typing.TypedDict, total=False): advertiserId: str createdSites: _list[Site] deletedSites: _list[str] partnerId: str @typing.type_check_only -class BulkEditSitesResponse(typing_extensions.TypedDict, total=False): +class BulkEditSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class BulkListAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): adGroupAssignedTargetingOptions: _list[AdGroupAssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkListAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAssignedTargetingOptionsResponse(typing.TypedDict, total=False): lineItemAssignedTargetingOptions: _list[LineItemAssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkUpdateLineItemsRequest(typing_extensions.TypedDict, total=False): +class BulkUpdateLineItemsRequest(typing.TypedDict, total=False): lineItemIds: _list[str] targetLineItem: LineItem updateMask: str @typing.type_check_only -class BulkUpdateLineItemsResponse(typing_extensions.TypedDict, total=False): +class BulkUpdateLineItemsResponse(typing.TypedDict, total=False): errors: _list[Status] failedLineItemIds: _list[str] skippedLineItemIds: _list[str] updatedLineItemIds: _list[str] @typing.type_check_only -class BumperAd(typing_extensions.TypedDict, total=False): +class BumperAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute @typing.type_check_only -class BusinessChainAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class BusinessChainAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class BusinessChainSearchTerms(typing_extensions.TypedDict, total=False): +class BusinessChainSearchTerms(typing.TypedDict, total=False): businessChainQuery: str regionQuery: str @typing.type_check_only -class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BusinessChainTargetingOptionDetails(typing.TypedDict, total=False): businessChain: str geoRegion: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -1356,17 +1310,38 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", - ] - -@typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", + ] + +@typing.type_check_only +class Campaign(typing.TypedDict, total=False): advertiserId: str campaignBudgets: _list[CampaignBudget] campaignFlight: CampaignFlight campaignGoal: CampaignGoal campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1379,16 +1354,16 @@ class Campaign(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CampaignBudget(typing_extensions.TypedDict, total=False): +class CampaignBudget(typing.TypedDict, total=False): budgetAmountMicros: str budgetId: str - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] dateRange: DateRange displayName: str externalBudgetId: str - externalBudgetSource: typing_extensions.Literal[ + externalBudgetSource: typing.Literal[ "EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", "EXTERNAL_BUDGET_SOURCE_NONE", "EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN", @@ -1397,13 +1372,13 @@ class CampaignBudget(typing_extensions.TypedDict, total=False): prismaConfig: PrismaConfig @typing.type_check_only -class CampaignFlight(typing_extensions.TypedDict, total=False): +class CampaignFlight(typing.TypedDict, total=False): plannedDates: DateRange plannedSpendAmountMicros: str @typing.type_check_only -class CampaignGoal(typing_extensions.TypedDict, total=False): - campaignGoalType: typing_extensions.Literal[ +class CampaignGoal(typing.TypedDict, total=False): + campaignGoalType: typing.Literal[ "CAMPAIGN_GOAL_TYPE_UNSPECIFIED", "CAMPAIGN_GOAL_TYPE_APP_INSTALL", "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", @@ -1413,7 +1388,7 @@ class CampaignGoal(typing_extensions.TypedDict, total=False): performanceGoal: PerformanceGoal @typing.type_check_only -class CarouselCard(typing_extensions.TypedDict, total=False): +class CarouselCard(typing.TypedDict, total=False): callToAction: str finalMobileUrl: str finalUrl: str @@ -1423,34 +1398,32 @@ class CarouselCard(typing_extensions.TypedDict, total=False): squareMarketingImage: ImageAsset @typing.type_check_only -class CarrierAndIspAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class CarrierAndIspAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CarrierAndIspTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CarrierAndIspTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CARRIER_AND_ISP_TYPE_UNSPECIFIED", "CARRIER_AND_ISP_TYPE_ISP", "CARRIER_AND_ISP_TYPE_CARRIER", ] @typing.type_check_only -class CategoryAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): advertiserId: str channelId: str displayName: str @@ -1460,12 +1433,12 @@ class Channel(typing_extensions.TypedDict, total=False): positivelyTargetedLineItemCount: str @typing.type_check_only -class ChannelAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ChannelAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelId: str negative: bool @typing.type_check_only -class CmHybridConfig(typing_extensions.TypedDict, total=False): +class CmHybridConfig(typing.TypedDict, total=False): cmAccountId: str cmAdvertiserIds: _list[str] cmFloodlightConfigId: str @@ -1475,27 +1448,27 @@ class CmHybridConfig(typing_extensions.TypedDict, total=False): dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class CmTrackingAd(typing_extensions.TypedDict, total=False): +class CmTrackingAd(typing.TypedDict, total=False): cmAdId: str cmCreativeId: str cmPlacementId: str @typing.type_check_only -class CombinedAudience(typing_extensions.TypedDict, total=False): +class CombinedAudience(typing.TypedDict, total=False): combinedAudienceId: str displayName: str name: str @typing.type_check_only -class CombinedAudienceGroup(typing_extensions.TypedDict, total=False): +class CombinedAudienceGroup(typing.TypedDict, total=False): settings: _list[CombinedAudienceTargetingSetting] @typing.type_check_only -class CombinedAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class CombinedAudienceTargetingSetting(typing.TypedDict, total=False): combinedAudienceId: str @typing.type_check_only -class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): +class CommonInStreamAttribute(typing.TypedDict, total=False): actionButtonLabel: str actionHeadline: str companionBanner: ImageAsset @@ -1505,33 +1478,8 @@ class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): video: YoutubeVideoDetails @typing.type_check_only -class Consent(typing_extensions.TypedDict, total=False): - adPersonalization: typing_extensions.Literal[ - "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" - ] - adUserData: typing_extensions.Literal[ - "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" - ] - -@typing.type_check_only -class ContactInfo(typing_extensions.TypedDict, total=False): - countryCode: str - hashedEmails: _list[str] - hashedFirstName: str - hashedLastName: str - hashedPhoneNumbers: _list[str] - zipCodes: _list[str] - -@typing.type_check_only -class ContactInfoList(typing_extensions.TypedDict, total=False): - consent: Consent - contactInfos: _list[ContactInfo] - -@typing.type_check_only -class ContentDurationAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentDuration: typing_extensions.Literal[ +class ContentDurationAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -1544,8 +1492,8 @@ class ContentDurationAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentDuration: typing_extensions.Literal[ +class ContentDurationTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -1557,25 +1505,23 @@ class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ContentGenreAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ContentGenreAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class ContentGenreTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ContentGenreTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only class ContentInstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentInstreamPosition: typing_extensions.Literal[ + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -1584,10 +1530,8 @@ class ContentInstreamPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class ContentInstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentInstreamPosition: typing_extensions.Literal[ +class ContentInstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -1597,12 +1541,12 @@ class ContentInstreamPositionTargetingOptionDetails( @typing.type_check_only class ContentOutstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentOutstreamPosition: typing_extensions.Literal[ + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -1612,10 +1556,8 @@ class ContentOutstreamPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class ContentOutstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentOutstreamPosition: typing_extensions.Literal[ +class ContentOutstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -1625,25 +1567,21 @@ class ContentOutstreamPositionTargetingOptionDetails( ] @typing.type_check_only -class ContentStreamTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] targetingOptionId: str @typing.type_check_only -class ContentStreamTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] @typing.type_check_only -class ContentThemeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentTheme: typing_extensions.Literal[ +class ContentThemeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentTheme: typing.Literal[ "CONTENT_THEME_UNSPECIFIED", "CONTENT_THEME_FIGHTING_VIDEO_GAMES", "CONTENT_THEME_MATURE_GAMES", @@ -1655,7 +1593,7 @@ class ContentThemeAssignedTargetingOptionDetails( "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", "CONTENT_THEME_UNPLEASANT_NEWS", ] - excludedContentTheme: typing_extensions.Literal[ + excludedContentTheme: typing.Literal[ "CONTENT_THEME_UNSPECIFIED", "CONTENT_THEME_FIGHTING_VIDEO_GAMES", "CONTENT_THEME_MATURE_GAMES", @@ -1670,8 +1608,8 @@ class ContentThemeAssignedTargetingOptionDetails( excludedTargetingOptionId: str @typing.type_check_only -class ContentThemeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentTheme: typing_extensions.Literal[ +class ContentThemeTargetingOptionDetails(typing.TypedDict, total=False): + contentTheme: typing.Literal[ "CONTENT_THEME_UNSPECIFIED", "CONTENT_THEME_FIGHTING_VIDEO_GAMES", "CONTENT_THEME_MATURE_GAMES", @@ -1685,28 +1623,28 @@ class ContentThemeTargetingOptionDetails(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class ConversionCountingConfig(typing_extensions.TypedDict, total=False): +class ConversionCountingConfig(typing.TypedDict, total=False): floodlightActivityConfigs: _list[TrackingFloodlightActivityConfig] postViewCountPercentageMillis: str primaryAttributionModelId: str @typing.type_check_only -class CounterEvent(typing_extensions.TypedDict, total=False): +class CounterEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class CreateAssetRequest(typing_extensions.TypedDict, total=False): +class CreateAssetRequest(typing.TypedDict, total=False): filename: str @typing.type_check_only -class CreateAssetResponse(typing_extensions.TypedDict, total=False): +class CreateAssetResponse(typing.TypedDict, total=False): asset: Asset @typing.type_check_only -class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class CreateAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1761,13 +1699,13 @@ class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): +class CreateSdfDownloadTaskRequest(typing.TypedDict, total=False): advertiserId: str idFilter: IdFilter inventorySourceFilter: InventorySourceFilter parentEntityFilter: ParentEntityFilter partnerId: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -1788,10 +1726,11 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): additionalDimensions: _list[Dimensions] advertiserId: str appendedTag: str @@ -1802,7 +1741,7 @@ class Creative(typing_extensions.TypedDict, total=False): counterEvents: _list[CounterEvent] createTime: str creativeAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CREATIVE_ATTRIBUTE_UNSPECIFIED", "CREATIVE_ATTRIBUTE_VAST", "CREATIVE_ATTRIBUTE_VPAID_LINEAR", @@ -1810,7 +1749,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] ] creativeId: str - creativeType: typing_extensions.Literal[ + creativeType: typing.Literal[ "CREATIVE_TYPE_UNSPECIFIED", "CREATIVE_TYPE_STANDARD", "CREATIVE_TYPE_EXPANDABLE", @@ -1831,7 +1770,7 @@ class Creative(typing_extensions.TypedDict, total=False): dimensions: Dimensions displayName: str dynamic: bool - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1841,7 +1780,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] exitEvents: _list[ExitEvent] expandOnHover: bool - expandingDirection: typing_extensions.Literal[ + expandingDirection: typing.Literal[ "EXPANDING_DIRECTION_UNSPECIFIED", "EXPANDING_DIRECTION_NONE", "EXPANDING_DIRECTION_UP", @@ -1856,7 +1795,7 @@ class Creative(typing_extensions.TypedDict, total=False): "EXPANDING_DIRECTION_LEFT_OR_RIGHT", "EXPANDING_DIRECTION_ANY_DIAGONAL", ] - hostingSource: typing_extensions.Literal[ + hostingSource: typing.Literal[ "HOSTING_SOURCE_UNSPECIFIED", "HOSTING_SOURCE_CM", "HOSTING_SOURCE_THIRD_PARTY", @@ -1881,6 +1820,11 @@ class Creative(typing_extensions.TypedDict, total=False): reviewStatus: ReviewStatusInfo skipOffset: AudioVideoOffset skippable: bool + syntheticContentAttestationStatus: typing.Literal[ + "SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED", + "NOT_SYNTHETIC", + "IS_SYNTHETIC", + ] thirdPartyTag: str thirdPartyUrls: _list[ThirdPartyUrl] timerEvents: _list[TimerEvent] @@ -1892,10 +1836,10 @@ class Creative(typing_extensions.TypedDict, total=False): vpaid: bool @typing.type_check_only -class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithm(typing.TypedDict, total=False): advertiserId: str customBiddingAlgorithmId: str - customBiddingAlgorithmType: typing_extensions.Literal[ + customBiddingAlgorithmType: typing.Literal[ "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", "SCRIPT_BASED", "ADS_DATA_HUB_BASED", @@ -1903,7 +1847,7 @@ class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): "RULE_BASED", ] displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1917,7 +1861,7 @@ class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): sharedAdvertiserIds: _list[str] @typing.type_check_only -class CustomBiddingAlgorithmRules(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithmRules(typing.TypedDict, total=False): active: bool createTime: str customBiddingAlgorithmId: str @@ -1925,11 +1869,11 @@ class CustomBiddingAlgorithmRules(typing_extensions.TypedDict, total=False): error: CustomBiddingAlgorithmRulesError name: str rules: CustomBiddingAlgorithmRulesRef - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED"] @typing.type_check_only -class CustomBiddingAlgorithmRulesError(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class CustomBiddingAlgorithmRulesError(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "SYNTAX_ERROR", "CONSTRAINT_VIOLATION_ERROR", @@ -1937,13 +1881,13 @@ class CustomBiddingAlgorithmRulesError(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class CustomBiddingAlgorithmRulesRef(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithmRulesRef(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): +class CustomBiddingModelDetails(typing.TypedDict, total=False): advertiserId: str - readinessState: typing_extensions.Literal[ + readinessState: typing.Literal[ "READINESS_STATE_UNSPECIFIED", "READINESS_STATE_ACTIVE", "READINESS_STATE_INSUFFICIENT_DATA", @@ -1951,7 +1895,7 @@ class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): "READINESS_STATE_NO_VALID_SCRIPT", "READINESS_STATE_EVALUATION_FAILURE", ] - suspensionState: typing_extensions.Literal[ + suspensionState: typing.Literal[ "SUSPENSION_STATE_UNSPECIFIED", "SUSPENSION_STATE_ENABLED", "SUSPENSION_STATE_DORMANT", @@ -1959,7 +1903,7 @@ class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CustomBiddingScript(typing_extensions.TypedDict, total=False): +class CustomBiddingScript(typing.TypedDict, total=False): active: bool createTime: str customBiddingAlgorithmId: str @@ -1967,17 +1911,15 @@ class CustomBiddingScript(typing_extensions.TypedDict, total=False): errors: _list[ScriptError] name: str script: CustomBiddingScriptRef - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING"] @typing.type_check_only -class CustomBiddingScriptRef(typing_extensions.TypedDict, total=False): +class CustomBiddingScriptRef(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class CustomLabel(typing_extensions.TypedDict, total=False): - key: typing_extensions.Literal[ +class CustomLabel(typing.TypedDict, total=False): + key: typing.Literal[ "CUSTOM_LABEL_KEY_UNSPECIFIED", "CUSTOM_LABEL_KEY_0", "CUSTOM_LABEL_KEY_1", @@ -1988,33 +1930,33 @@ class CustomLabel(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class CustomList(typing_extensions.TypedDict, total=False): +class CustomList(typing.TypedDict, total=False): customListId: str displayName: str name: str @typing.type_check_only -class CustomListGroup(typing_extensions.TypedDict, total=False): +class CustomListGroup(typing.TypedDict, total=False): settings: _list[CustomListTargetingSetting] @typing.type_check_only -class CustomListTargetingSetting(typing_extensions.TypedDict, total=False): +class CustomListTargetingSetting(typing.TypedDict, total=False): customListId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class DayAndTime(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class DayAndTime(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -2025,17 +1967,15 @@ class DayAndTime(typing_extensions.TypedDict, total=False): "SUNDAY", ] hourOfDay: int - timeZoneResolution: typing_extensions.Literal[ + timeZoneResolution: typing.Literal[ "TIME_ZONE_RESOLUTION_UNSPECIFIED", "TIME_ZONE_RESOLUTION_END_USER", "TIME_ZONE_RESOLUTION_ADVERTISER", ] @typing.type_check_only -class DayAndTimeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - dayOfWeek: typing_extensions.Literal[ +class DayAndTimeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -2047,22 +1987,22 @@ class DayAndTimeAssignedTargetingOptionDetails( ] endHour: int startHour: int - timeZoneResolution: typing_extensions.Literal[ + timeZoneResolution: typing.Literal[ "TIME_ZONE_RESOLUTION_UNSPECIFIED", "TIME_ZONE_RESOLUTION_END_USER", "TIME_ZONE_RESOLUTION_ADVERTISER", ] @typing.type_check_only -class DcmTrackingInfo(typing_extensions.TypedDict, total=False): +class DcmTrackingInfo(typing.TypedDict, total=False): creativeId: str placementId: str trackingAdId: str @typing.type_check_only -class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class DeleteAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptionIds: _list[str] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2117,14 +2057,14 @@ class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class DemandGenBiddingStrategy(typing_extensions.TypedDict, total=False): +class DemandGenBiddingStrategy(typing.TypedDict, total=False): effectiveBiddingValue: str - effectiveBiddingValueSource: typing_extensions.Literal[ + effectiveBiddingValueSource: typing.Literal[ "BIDDING_SOURCE_UNSPECIFIED", "BIDDING_SOURCE_LINE_ITEM", "BIDDING_SOURCE_AD_GROUP", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "DEMAND_GEN_BIDDING_STRATEGY_TYPE_UNSPECIFIED", "DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPA", "DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_ROAS", @@ -2136,7 +2076,7 @@ class DemandGenBiddingStrategy(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class DemandGenCarouselAd(typing_extensions.TypedDict, total=False): +class DemandGenCarouselAd(typing.TypedDict, total=False): businessName: str cards: _list[CarouselCard] customParameters: dict[str, typing.Any] @@ -2149,7 +2089,7 @@ class DemandGenCarouselAd(typing_extensions.TypedDict, total=False): userSpecifiedTrackingUrl: str @typing.type_check_only -class DemandGenImageAd(typing_extensions.TypedDict, total=False): +class DemandGenImageAd(typing.TypedDict, total=False): businessName: str callToAction: str customParameters: dict[str, typing.Any] @@ -2166,9 +2106,9 @@ class DemandGenImageAd(typing_extensions.TypedDict, total=False): userSpecifiedTrackingUrl: str @typing.type_check_only -class DemandGenProductAd(typing_extensions.TypedDict, total=False): +class DemandGenProductAd(typing.TypedDict, total=False): businessName: str - callToAction: typing_extensions.Literal[ + callToAction: typing.Literal[ "CALL_TO_ACTION_UNSPECIFIED", "AUTOMATED", "LEARN_MORE", @@ -2201,15 +2141,15 @@ class DemandGenProductAd(typing_extensions.TypedDict, total=False): userSpecifiedTrackingUrl: str @typing.type_check_only -class DemandGenSettings(typing_extensions.TypedDict, total=False): +class DemandGenSettings(typing.TypedDict, total=False): geoLanguageTargetingEnabled: bool linkedMerchantId: str thirdPartyMeasurementConfigs: ThirdPartyMeasurementConfigs @typing.type_check_only -class DemandGenVideoAd(typing_extensions.TypedDict, total=False): +class DemandGenVideoAd(typing.TypedDict, total=False): businessName: str - callToAction: typing_extensions.Literal[ + callToAction: typing.Literal[ "CALL_TO_ACTION_UNSPECIFIED", "AUTOMATED", "LEARN_MORE", @@ -2246,22 +2186,18 @@ class DemandGenVideoAd(typing_extensions.TypedDict, total=False): videos: _list[YoutubeVideoDetails] @typing.type_check_only -class DeviceMakeModelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class DeviceMakeModelAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class DeviceMakeModelTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class DeviceMakeModelTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class DeviceTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - deviceType: typing_extensions.Literal[ +class DeviceTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -2272,8 +2208,8 @@ class DeviceTypeAssignedTargetingOptionDetails( youtubeAndPartnersBidMultiplier: float @typing.type_check_only -class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceTypeTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -2283,10 +2219,8 @@ class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class DigitalContentLabelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - excludedContentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelAssignedTargetingOptionDetails(typing.TypedDict, total=False): + excludedContentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -2297,10 +2231,8 @@ class DigitalContentLabelAssignedTargetingOptionDetails( ] @typing.type_check_only -class DigitalContentLabelTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelTargetingOptionDetails(typing.TypedDict, total=False): + contentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -2311,19 +2243,19 @@ class DigitalContentLabelTargetingOptionDetails( ] @typing.type_check_only -class Dimensions(typing_extensions.TypedDict, total=False): +class Dimensions(typing.TypedDict, total=False): heightPixels: int widthPixels: int @typing.type_check_only -class DisplayVideoSourceAd(typing_extensions.TypedDict, total=False): +class DisplayVideoSourceAd(typing.TypedDict, total=False): creativeId: str @typing.type_check_only -class DoubleVerify(typing_extensions.TypedDict, total=False): +class DoubleVerify(typing.TypedDict, total=False): appStarRating: DoubleVerifyAppStarRating avoidedAgeRatings: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGE_RATING_UNSPECIFIED", "APP_AGE_RATE_UNKNOWN", "APP_AGE_RATE_4_PLUS", @@ -2340,9 +2272,9 @@ class DoubleVerify(typing_extensions.TypedDict, total=False): videoViewability: DoubleVerifyVideoViewability @typing.type_check_only -class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): +class DoubleVerifyAppStarRating(typing.TypedDict, total=False): avoidInsufficientStarRating: bool - avoidedStarRating: typing_extensions.Literal[ + avoidedStarRating: typing.Literal[ "APP_STAR_RATE_UNSPECIFIED", "APP_STAR_RATE_1_POINT_5_LESS", "APP_STAR_RATE_2_LESS", @@ -2354,10 +2286,10 @@ class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False): +class DoubleVerifyBrandSafetyCategories(typing.TypedDict, total=False): avoidUnknownBrandSafetyCategory: bool avoidedHighSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "HIGHER_SEVERITY_UNSPECIFIED", "ADULT_CONTENT_PORNOGRAPHY", "COPYRIGHT_INFRINGEMENT", @@ -2369,7 +2301,7 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] ] avoidedMediumSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEDIUM_SEVERITY_UNSPECIFIED", "AD_SERVERS", "ADULT_CONTENT_SWIMSUIT", @@ -2395,8 +2327,8 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): - iab: typing_extensions.Literal[ +class DoubleVerifyDisplayViewability(typing.TypedDict, total=False): + iab: typing.Literal[ "IAB_VIEWED_RATE_UNSPECIFIED", "IAB_VIEWED_RATE_80_PERCENT_HIGHER", "IAB_VIEWED_RATE_75_PERCENT_HIGHER", @@ -2408,7 +2340,7 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWED_RATE_40_PERCENT_HIGHER", "IAB_VIEWED_RATE_30_PERCENT_HIGHER", ] - viewableDuring: typing_extensions.Literal[ + viewableDuring: typing.Literal[ "AVERAGE_VIEW_DURATION_UNSPECIFIED", "AVERAGE_VIEW_DURATION_5_SEC", "AVERAGE_VIEW_DURATION_10_SEC", @@ -2416,9 +2348,9 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): +class DoubleVerifyFraudInvalidTraffic(typing.TypedDict, total=False): avoidInsufficientOption: bool - avoidedFraudOption: typing_extensions.Literal[ + avoidedFraudOption: typing.Literal[ "FRAUD_UNSPECIFIED", "AD_IMPRESSION_FRAUD_100", "AD_IMPRESSION_FRAUD_50", @@ -2431,15 +2363,15 @@ class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): - playerImpressionRate: typing_extensions.Literal[ +class DoubleVerifyVideoViewability(typing.TypedDict, total=False): + playerImpressionRate: typing.Literal[ "PLAYER_SIZE_400X300_UNSPECIFIED", "PLAYER_SIZE_400X300_95", "PLAYER_SIZE_400X300_70", "PLAYER_SIZE_400X300_25", "PLAYER_SIZE_400X300_5", ] - videoIab: typing_extensions.Literal[ + videoIab: typing.Literal[ "VIDEO_IAB_UNSPECIFIED", "IAB_VIEWABILITY_80_PERCENT_HIGHER", "IAB_VIEWABILITY_75_PERCENT_HIGHER", @@ -2451,7 +2383,7 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWABILITY_40_PERCENT_HIHGER", "IAB_VIEWABILITY_30_PERCENT_HIHGER", ] - videoViewableRate: typing_extensions.Literal[ + videoViewableRate: typing.Literal[ "VIDEO_VIEWABLE_RATE_UNSPECIFIED", "VIEWED_PERFORMANCE_40_PERCENT_HIGHER", "VIEWED_PERFORMANCE_35_PERCENT_HIGHER", @@ -2462,8 +2394,8 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): - containsEuPoliticalAds: typing_extensions.Literal[ +class DuplicateLineItemRequest(typing.TypedDict, total=False): + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", @@ -2471,43 +2403,27 @@ class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): targetDisplayName: str @typing.type_check_only -class DuplicateLineItemResponse(typing_extensions.TypedDict, total=False): +class DuplicateLineItemResponse(typing.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): +class EditGuaranteedOrderReadAccessorsRequest(typing.TypedDict, total=False): addedAdvertisers: _list[str] partnerId: str readAccessInherited: bool removedAdvertisers: _list[str] @typing.type_check_only -class EditGuaranteedOrderReadAccessorsResponse( - typing_extensions.TypedDict, total=False -): +class EditGuaranteedOrderReadAccessorsResponse(typing.TypedDict, total=False): readAccessInherited: bool readAdvertiserIds: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - environment: typing_extensions.Literal[ +class EnvironmentAssignedTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -2515,8 +2431,8 @@ class EnvironmentAssignedTargetingOptionDetails( ] @typing.type_check_only -class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal[ +class EnvironmentTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -2524,8 +2440,8 @@ class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2619,12 +2535,12 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class ExchangeConfig(typing_extensions.TypedDict, total=False): +class ExchangeConfig(typing.TypedDict, total=False): enabledExchanges: _list[ExchangeConfigEnabledExchange] @typing.type_check_only -class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeConfigEnabledExchange(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2721,8 +2637,8 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): seatId: str @typing.type_check_only -class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeReviewStatus(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2814,7 +2730,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_CADENT", "EXCHANGE_EXTE", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -2822,8 +2738,8 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeTargetingOptionDetails(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2917,10 +2833,10 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExitEvent(typing_extensions.TypedDict, total=False): +class ExitEvent(typing.TypedDict, total=False): name: str reportingName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "EXIT_EVENT_TYPE_UNSPECIFIED", "EXIT_EVENT_TYPE_DEFAULT", "EXIT_EVENT_TYPE_BACKUP", @@ -2928,58 +2844,13 @@ 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): +class FirstAndThirdPartyAudienceGroup(typing.TypedDict, total=False): settings: _list[FirstAndThirdPartyAudienceTargetingSetting] @typing.type_check_only -class FirstAndThirdPartyAudienceTargetingSetting( - typing_extensions.TypedDict, total=False -): +class FirstAndThirdPartyAudienceTargetingSetting(typing.TypedDict, total=False): firstAndThirdPartyAudienceId: str - recency: typing_extensions.Literal[ + recency: typing.Literal[ "RECENCY_NO_LIMIT", "RECENCY_1_MINUTE", "RECENCY_5_MINUTES", @@ -3013,18 +2884,18 @@ class FirstAndThirdPartyAudienceTargetingSetting( ] @typing.type_check_only -class FixedBidStrategy(typing_extensions.TypedDict, total=False): +class FixedBidStrategy(typing.TypedDict, total=False): bidAmountMicros: str @typing.type_check_only -class FloodlightActivity(typing_extensions.TypedDict, total=False): +class FloodlightActivity(typing.TypedDict, total=False): advertiserIds: _list[str] displayName: str floodlightActivityId: str floodlightGroupId: str name: str remarketingConfigs: _list[RemarketingConfig] - servingStatus: typing_extensions.Literal[ + servingStatus: typing.Literal[ "FLOODLIGHT_ACTIVITY_SERVING_STATUS_UNSPECIFIED", "FLOODLIGHT_ACTIVITY_SERVING_STATUS_ENABLED", "FLOODLIGHT_ACTIVITY_SERVING_STATUS_DISABLED", @@ -3032,14 +2903,14 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): sslRequired: bool @typing.type_check_only -class FloodlightGroup(typing_extensions.TypedDict, total=False): +class FloodlightGroup(typing.TypedDict, total=False): activeViewConfig: ActiveViewVideoViewabilityMetricConfig customVariables: dict[str, typing.Any] displayName: str floodlightGroupId: str lookbackWindow: LookbackWindow name: str - webTagType: typing_extensions.Literal[ + webTagType: typing.Literal[ "WEB_TAG_TYPE_UNSPECIFIED", "WEB_TAG_TYPE_NONE", "WEB_TAG_TYPE_IMAGE", @@ -3047,10 +2918,10 @@ class FloodlightGroup(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): maxImpressions: int maxViews: int - timeUnit: typing_extensions.Literal[ + timeUnit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "TIME_UNIT_LIFETIME", "TIME_UNIT_MONTHS", @@ -3063,21 +2934,21 @@ class FrequencyCap(typing_extensions.TypedDict, total=False): unlimited: bool @typing.type_check_only -class GenderAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderAssignedTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] @typing.type_check_only -class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] @typing.type_check_only -class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -3118,18 +2989,39 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", ] negative: bool targetingOptionId: str @typing.type_check_only -class GeoRegionSearchTerms(typing_extensions.TypedDict, total=False): +class GeoRegionSearchTerms(typing.TypedDict, total=False): geoRegionQuery: str @typing.type_check_only -class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -3170,13 +3062,34 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", - ] - -@typing.type_check_only -class GoogleAudience(typing_extensions.TypedDict, total=False): + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", + ] + +@typing.type_check_only +class GoogleAudience(typing.TypedDict, total=False): displayName: str googleAudienceId: str - googleAudienceType: typing_extensions.Literal[ + googleAudienceType: typing.Literal[ "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", "GOOGLE_AUDIENCE_TYPE_AFFINITY", "GOOGLE_AUDIENCE_TYPE_IN_MARKET", @@ -3188,23 +3101,23 @@ class GoogleAudience(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleAudienceGroup(typing_extensions.TypedDict, total=False): +class GoogleAudienceGroup(typing.TypedDict, total=False): settings: _list[GoogleAudienceTargetingSetting] @typing.type_check_only -class GoogleAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class GoogleAudienceTargetingSetting(typing.TypedDict, total=False): googleAudienceId: str @typing.type_check_only -class GoogleBytestreamMedia(typing_extensions.TypedDict, total=False): +class GoogleBytestreamMedia(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GuaranteedOrder(typing_extensions.TypedDict, total=False): +class GuaranteedOrder(typing.TypedDict, total=False): defaultAdvertiserId: str defaultCampaignId: str displayName: str - exchange: typing_extensions.Literal[ + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -3308,12 +3221,12 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): - configStatus: typing_extensions.Literal[ +class GuaranteedOrderStatus(typing.TypedDict, total=False): + configStatus: typing.Literal[ "GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", "PENDING", "COMPLETED" ] entityPauseReason: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3323,10 +3236,8 @@ class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HouseholdIncomeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -3338,8 +3249,8 @@ class HouseholdIncomeAssignedTargetingOptionDetails( ] @typing.type_check_only -class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -3351,7 +3262,7 @@ class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class IdFilter(typing_extensions.TypedDict, total=False): +class IdFilter(typing.TypedDict, total=False): adGroupAdIds: _list[str] adGroupIds: _list[str] adGroupQaIds: _list[str] @@ -3362,25 +3273,25 @@ class IdFilter(typing_extensions.TypedDict, total=False): mediaProductIds: _list[str] @typing.type_check_only -class ImageAsset(typing_extensions.TypedDict, total=False): +class ImageAsset(typing.TypedDict, total=False): assetId: str fileSize: str fullSize: Dimensions mimeType: str @typing.type_check_only -class InStreamAd(typing_extensions.TypedDict, total=False): +class InStreamAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute customParameters: dict[str, typing.Any] @typing.type_check_only -class InsertionOrder(typing_extensions.TypedDict, total=False): +class InsertionOrder(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy budget: InsertionOrderBudget campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3390,13 +3301,13 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): ] frequencyCap: FrequencyCap insertionOrderId: str - insertionOrderType: typing_extensions.Literal[ + insertionOrderType: typing.Literal[ "INSERTION_ORDER_TYPE_UNSPECIFIED", "RTB", "OVER_THE_TOP" ] integrationDetails: IntegrationDetails kpi: Kpi name: str - optimizationObjective: typing_extensions.Literal[ + optimizationObjective: typing.Literal[ "OPTIMIZATION_OBJECTIVE_UNSPECIFIED", "CONVERSION", "CLICK", @@ -3406,7 +3317,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): ] pacing: Pacing partnerCosts: _list[PartnerCost] - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -3417,29 +3328,29 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InsertionOrderBudget(typing_extensions.TypedDict, total=False): - automationType: typing_extensions.Literal[ +class InsertionOrderBudget(typing.TypedDict, total=False): + automationType: typing.Literal[ "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", "INSERTION_ORDER_AUTOMATION_TYPE_NONE", "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET", ] budgetSegments: _list[InsertionOrderBudgetSegment] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] @typing.type_check_only -class InsertionOrderBudgetSegment(typing_extensions.TypedDict, total=False): +class InsertionOrderBudgetSegment(typing.TypedDict, total=False): budgetAmountMicros: str campaignBudgetId: str dateRange: DateRange description: str @typing.type_check_only -class IntegralAdScience(typing_extensions.TypedDict, total=False): +class IntegralAdScience(typing.TypedDict, total=False): customSegmentId: _list[str] - displayViewability: typing_extensions.Literal[ + displayViewability: typing.Literal[ "PERFORMANCE_VIEWABILITY_UNSPECIFIED", "PERFORMANCE_VIEWABILITY_40", "PERFORMANCE_VIEWABILITY_50", @@ -3447,40 +3358,36 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "PERFORMANCE_VIEWABILITY_70", ] excludeUnrateable: bool - excludedAdFraudRisk: typing_extensions.Literal[ + excludedAdFraudRisk: typing.Literal[ "SUSPICIOUS_ACTIVITY_UNSPECIFIED", "SUSPICIOUS_ACTIVITY_HR", "SUSPICIOUS_ACTIVITY_HMR", "SUSPICIOUS_ACTIVITY_FD", ] - excludedAdultRisk: typing_extensions.Literal[ - "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" - ] - excludedAlcoholRisk: typing_extensions.Literal[ + excludedAdultRisk: typing.Literal["ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR"] + excludedAlcoholRisk: typing.Literal[ "ALCOHOL_UNSPECIFIED", "ALCOHOL_HR", "ALCOHOL_HMR" ] - excludedDrugsRisk: typing_extensions.Literal[ - "DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR" - ] - excludedGamblingRisk: typing_extensions.Literal[ + excludedDrugsRisk: typing.Literal["DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR"] + excludedGamblingRisk: typing.Literal[ "GAMBLING_UNSPECIFIED", "GAMBLING_HR", "GAMBLING_HMR" ] - excludedHateSpeechRisk: typing_extensions.Literal[ + excludedHateSpeechRisk: typing.Literal[ "HATE_SPEECH_UNSPECIFIED", "HATE_SPEECH_HR", "HATE_SPEECH_HMR" ] - excludedIllegalDownloadsRisk: typing_extensions.Literal[ + excludedIllegalDownloadsRisk: typing.Literal[ "ILLEGAL_DOWNLOADS_UNSPECIFIED", "ILLEGAL_DOWNLOADS_HR", "ILLEGAL_DOWNLOADS_HMR" ] - excludedOffensiveLanguageRisk: typing_extensions.Literal[ + excludedOffensiveLanguageRisk: typing.Literal[ "OFFENSIVE_LANGUAGE_UNSPECIFIED", "OFFENSIVE_LANGUAGE_HR", "OFFENSIVE_LANGUAGE_HMR", ] - excludedViolenceRisk: typing_extensions.Literal[ + excludedViolenceRisk: typing.Literal[ "VIOLENCE_UNSPECIFIED", "VIOLENCE_HR", "VIOLENCE_HMR" ] qualitySyncCustomSegmentId: _list[str] - traqScoreOption: typing_extensions.Literal[ + traqScoreOption: typing.Literal[ "TRAQ_UNSPECIFIED", "TRAQ_250", "TRAQ_500", @@ -3490,7 +3397,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "TRAQ_875", "TRAQ_1000", ] - videoViewability: typing_extensions.Literal[ + videoViewability: typing.Literal[ "VIDEO_VIEWABILITY_UNSPECIFIED", "VIDEO_VIEWABILITY_40", "VIDEO_VIEWABILITY_50", @@ -3499,34 +3406,30 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegrationDetails(typing_extensions.TypedDict, total=False): +class IntegrationDetails(typing.TypedDict, total=False): details: str integrationCode: str @typing.type_check_only -class InventorySourceAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceId: str @typing.type_check_only -class InventorySourceFilter(typing_extensions.TypedDict, total=False): +class InventorySourceFilter(typing.TypedDict, total=False): inventorySourceIds: _list[str] @typing.type_check_only -class InventorySourceGroup(typing_extensions.TypedDict, total=False): +class InventorySourceGroup(typing.TypedDict, total=False): displayName: str inventorySourceGroupId: str name: str @typing.type_check_only -class InventorySourceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceGroupId: str @typing.type_check_only -class Invoice(typing_extensions.TypedDict, total=False): +class Invoice(typing.TypedDict, total=False): budgetInvoiceGroupingId: str budgetSummaries: _list[BudgetSummary] correctedInvoiceId: str @@ -3534,7 +3437,7 @@ class Invoice(typing_extensions.TypedDict, total=False): displayName: str dueDate: Date invoiceId: str - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" ] issueDate: Date @@ -3551,18 +3454,18 @@ class Invoice(typing_extensions.TypedDict, total=False): totalTaxAmountMicros: str @typing.type_check_only -class KeywordAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class KeywordAssignedTargetingOptionDetails(typing.TypedDict, total=False): exemptedPolicyNames: _list[str] keyword: str negative: bool @typing.type_check_only -class Kpi(typing_extensions.TypedDict, total=False): +class Kpi(typing.TypedDict, total=False): kpiAlgorithmId: str kpiAmountMicros: str kpiPercentageMicros: str kpiString: str - kpiType: typing_extensions.Literal[ + kpiType: typing.Literal[ "KPI_TYPE_UNSPECIFIED", "KPI_TYPE_CPM", "KPI_TYPE_CPC", @@ -3587,22 +3490,22 @@ class Kpi(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LanguageAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class LanguageTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class LineItem(typing_extensions.TypedDict, total=False): +class LineItem(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy budget: LineItemBudget campaignId: str - containsEuPoliticalAds: typing_extensions.Literal[ + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", @@ -3611,7 +3514,7 @@ class LineItem(typing_extensions.TypedDict, total=False): creativeIds: _list[str] demandGenSettings: DemandGenSettings displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3625,7 +3528,7 @@ class LineItem(typing_extensions.TypedDict, total=False): insertionOrderId: str integrationDetails: IntegrationDetails lineItemId: str - lineItemType: typing_extensions.Literal[ + lineItemType: typing.Literal[ "LINE_ITEM_TYPE_UNSPECIFIED", "LINE_ITEM_TYPE_DISPLAY_DEFAULT", "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", @@ -3656,7 +3559,7 @@ class LineItem(typing_extensions.TypedDict, total=False): pacing: Pacing partnerCosts: _list[PartnerCost] partnerRevenueModel: PartnerRevenueModel - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -3667,7 +3570,7 @@ class LineItem(typing_extensions.TypedDict, total=False): targetingExpansion: TargetingExpansionConfig updateTime: str warningMessages: _list[ - typing_extensions.Literal[ + typing.Literal[ "LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", "INVALID_FLIGHT_DATES", "EXPIRED", @@ -3684,206 +3587,193 @@ class LineItem(typing_extensions.TypedDict, total=False): youtubeAndPartnersSettings: YoutubeAndPartnersSettings @typing.type_check_only -class LineItemAssignedTargetingOption(typing_extensions.TypedDict, total=False): +class LineItemAssignedTargetingOption(typing.TypedDict, total=False): assignedTargetingOption: AssignedTargetingOption lineItemId: str @typing.type_check_only -class LineItemBudget(typing_extensions.TypedDict, total=False): - budgetAllocationType: typing_extensions.Literal[ +class LineItemBudget(typing.TypedDict, total=False): + budgetAllocationType: typing.Literal[ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED", ] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] maxAmount: str @typing.type_check_only -class LineItemFlight(typing_extensions.TypedDict, total=False): +class LineItemFlight(typing.TypedDict, total=False): dateRange: DateRange - flightDateType: typing_extensions.Literal[ + flightDateType: typing.Literal[ "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM", ] @typing.type_check_only -class ListAdGroupAdsResponse(typing_extensions.TypedDict, total=False): +class ListAdGroupAdsResponse(typing.TypedDict, total=False): adGroupAds: _list[AdGroupAd] nextPageToken: str @typing.type_check_only -class ListAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListAdGroupsResponse(typing_extensions.TypedDict, total=False): +class ListAdGroupsResponse(typing.TypedDict, total=False): adGroups: _list[AdGroup] nextPageToken: str @typing.type_check_only -class ListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListAdvertisersResponse(typing_extensions.TypedDict, total=False): +class ListAdvertisersResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] nextPageToken: str @typing.type_check_only -class ListAssignedInventorySourcesResponse(typing_extensions.TypedDict, total=False): +class ListAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] nextPageToken: str @typing.type_check_only -class ListAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class ListAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] nextPageToken: str @typing.type_check_only -class ListCampaignsResponse(typing_extensions.TypedDict, total=False): +class ListCampaignsResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] nextPageToken: str @typing.type_check_only -class ListChannelsResponse(typing_extensions.TypedDict, total=False): +class ListChannelsResponse(typing.TypedDict, total=False): channels: _list[Channel] nextPageToken: str @typing.type_check_only -class ListCombinedAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListCombinedAudiencesResponse(typing.TypedDict, total=False): combinedAudiences: _list[CombinedAudience] nextPageToken: str @typing.type_check_only -class ListCreativesResponse(typing_extensions.TypedDict, total=False): +class ListCreativesResponse(typing.TypedDict, total=False): creatives: _list[Creative] nextPageToken: str @typing.type_check_only -class ListCustomBiddingAlgorithmRulesResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingAlgorithmRulesResponse(typing.TypedDict, total=False): customBiddingRules: _list[CustomBiddingAlgorithmRules] nextPageToken: str @typing.type_check_only -class ListCustomBiddingAlgorithmsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingAlgorithmsResponse(typing.TypedDict, total=False): customBiddingAlgorithms: _list[CustomBiddingAlgorithm] nextPageToken: str @typing.type_check_only -class ListCustomBiddingScriptsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingScriptsResponse(typing.TypedDict, total=False): customBiddingScripts: _list[CustomBiddingScript] nextPageToken: str @typing.type_check_only -class ListCustomListsResponse(typing_extensions.TypedDict, total=False): +class ListCustomListsResponse(typing.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): +class ListFloodlightActivitiesResponse(typing.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] nextPageToken: str @typing.type_check_only -class ListGoogleAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListGoogleAudiencesResponse(typing.TypedDict, total=False): googleAudiences: _list[GoogleAudience] nextPageToken: str @typing.type_check_only -class ListGuaranteedOrdersResponse(typing_extensions.TypedDict, total=False): +class ListGuaranteedOrdersResponse(typing.TypedDict, total=False): guaranteedOrders: _list[GuaranteedOrder] nextPageToken: str @typing.type_check_only -class ListInsertionOrdersResponse(typing_extensions.TypedDict, total=False): +class ListInsertionOrdersResponse(typing.TypedDict, total=False): insertionOrders: _list[InsertionOrder] nextPageToken: str @typing.type_check_only -class ListInventorySourceGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInventorySourceGroupsResponse(typing.TypedDict, total=False): inventorySourceGroups: _list[InventorySourceGroup] nextPageToken: str @typing.type_check_only -class ListInvoicesResponse(typing_extensions.TypedDict, total=False): +class ListInvoicesResponse(typing.TypedDict, total=False): invoices: _list[Invoice] nextPageToken: str @typing.type_check_only -class ListLineItemAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListLineItemAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListLineItemsResponse(typing_extensions.TypedDict, total=False): +class ListLineItemsResponse(typing.TypedDict, total=False): lineItems: _list[LineItem] nextPageToken: str @typing.type_check_only -class ListLocationListsResponse(typing_extensions.TypedDict, total=False): +class ListLocationListsResponse(typing.TypedDict, total=False): locationLists: _list[LocationList] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordListsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordListsResponse(typing.TypedDict, total=False): negativeKeywordLists: _list[NegativeKeywordList] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] nextPageToken: str @typing.type_check_only -class ListPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListPartnersResponse(typing_extensions.TypedDict, total=False): +class ListPartnersResponse(typing.TypedDict, total=False): nextPageToken: str partners: _list[Partner] @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class ListTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class ListTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class LocationList(typing_extensions.TypedDict, total=False): +class LocationList(typing.TypedDict, total=False): advertiserId: str displayName: str locationListId: str - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "TARGETING_LOCATION_TYPE_UNSPECIFIED", "TARGETING_LOCATION_TYPE_PROXIMITY", "TARGETING_LOCATION_TYPE_REGIONAL", @@ -3891,16 +3781,16 @@ class LocationList(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LookbackWindow(typing_extensions.TypedDict, total=False): +class LookbackWindow(typing.TypedDict, total=False): clickDays: int impressionDays: int @typing.type_check_only -class LookupInvoiceCurrencyResponse(typing_extensions.TypedDict, total=False): +class LookupInvoiceCurrencyResponse(typing.TypedDict, total=False): currencyCode: str @typing.type_check_only -class MastheadAd(typing_extensions.TypedDict, total=False): +class MastheadAd(typing.TypedDict, total=False): autoplayVideoDuration: str autoplayVideoStartMillisecond: str callToActionButtonLabel: str @@ -3911,17 +3801,17 @@ class MastheadAd(typing_extensions.TypedDict, total=False): headline: str showChannelArt: bool video: YoutubeVideoDetails - videoAspectRatio: typing_extensions.Literal[ + videoAspectRatio: typing.Literal[ "VIDEO_ASPECT_RATIO_UNSPECIFIED", "VIDEO_ASPECT_RATIO_WIDESCREEN", "VIDEO_ASPECT_RATIO_FIXED_16_9", ] @typing.type_check_only -class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): +class MaximizeSpendBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -3934,27 +3824,22 @@ class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): raiseBidForDeals: bool @typing.type_check_only -class MeasurementConfig(typing_extensions.TypedDict, total=False): +class MeasurementConfig(typing.TypedDict, total=False): dv360ToCmCostReportingEnabled: bool dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): +class MobileApp(typing.TypedDict, total=False): appId: str displayName: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] + platform: typing.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 + typing.TypedDict, total=False ): - contentPosition: typing_extensions.Literal[ + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -3964,10 +3849,8 @@ class NativeContentPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class NativeContentPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentPosition: typing_extensions.Literal[ +class NativeContentPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -3977,12 +3860,12 @@ class NativeContentPositionTargetingOptionDetails( ] @typing.type_check_only -class NegativeKeyword(typing_extensions.TypedDict, total=False): +class NegativeKeyword(typing.TypedDict, total=False): keywordValue: str name: str @typing.type_check_only -class NegativeKeywordList(typing_extensions.TypedDict, total=False): +class NegativeKeywordList(typing.TypedDict, total=False): advertiserId: str displayName: str name: str @@ -3990,22 +3873,20 @@ class NegativeKeywordList(typing_extensions.TypedDict, total=False): targetedLineItemCount: str @typing.type_check_only -class NegativeKeywordListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class NegativeKeywordListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negativeKeywordListId: str @typing.type_check_only -class NonSkippableAd(typing_extensions.TypedDict, total=False): +class NonSkippableAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute customParameters: dict[str, typing.Any] @typing.type_check_only -class ObaIcon(typing_extensions.TypedDict, total=False): +class ObaIcon(typing.TypedDict, total=False): clickTrackingUrl: str dimensions: Dimensions landingPageUrl: str - position: typing_extensions.Literal[ + position: typing.Literal[ "OBA_ICON_POSITION_UNSPECIFIED", "OBA_ICON_POSITION_UPPER_RIGHT", "OBA_ICON_POSITION_UPPER_LEFT", @@ -4018,21 +3899,19 @@ class ObaIcon(typing_extensions.TypedDict, total=False): viewTrackingUrl: str @typing.type_check_only -class OmidAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidAssignedTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] @typing.type_check_only -class OmidTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] @typing.type_check_only -class OnScreenPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - adType: typing_extensions.Literal[ +class OnScreenPositionAssignedTargetingOptionDetails(typing.TypedDict, total=False): + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - onScreenPosition: typing_extensions.Literal[ + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -4041,8 +3920,8 @@ class OnScreenPositionAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total=False): - onScreenPosition: typing_extensions.Literal[ +class OnScreenPositionTargetingOptionDetails(typing.TypedDict, total=False): + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -4050,19 +3929,17 @@ class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class OperatingSystemAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class OperatingSystemAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class OperatingSystemTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class OperatingSystemTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -4070,13 +3947,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Pacing(typing_extensions.TypedDict, total=False): +class Pacing(typing.TypedDict, total=False): dailyMaxImpressions: str dailyMaxMicros: str - pacingPeriod: typing_extensions.Literal[ + pacingPeriod: typing.Literal[ "PACING_PERIOD_UNSPECIFIED", "PACING_PERIOD_DAILY", "PACING_PERIOD_FLIGHT" ] - pacingType: typing_extensions.Literal[ + pacingType: typing.Literal[ "PACING_TYPE_UNSPECIFIED", "PACING_TYPE_AHEAD", "PACING_TYPE_ASAP", @@ -4084,9 +3961,9 @@ class Pacing(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentEntityFilter(typing_extensions.TypedDict, total=False): +class ParentEntityFilter(typing.TypedDict, total=False): fileType: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "FILE_TYPE_CAMPAIGN", "FILE_TYPE_MEDIA_PRODUCT", @@ -4099,7 +3976,7 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] ] filterIds: _list[str] - filterType: typing_extensions.Literal[ + filterType: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "FILTER_TYPE_NONE", "FILTER_TYPE_ADVERTISER_ID", @@ -4110,10 +3987,8 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentalStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusAssignedTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -4121,8 +3996,8 @@ class ParentalStatusAssignedTargetingOptionDetails( ] @typing.type_check_only -class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=False): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -4130,12 +4005,12 @@ class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class Partner(typing_extensions.TypedDict, total=False): +class Partner(typing.TypedDict, total=False): adServerConfig: PartnerAdServerConfig billingConfig: PartnerBillingConfig dataAccessConfig: PartnerDataAccessConfig displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -4150,16 +4025,16 @@ class Partner(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PartnerAdServerConfig(typing_extensions.TypedDict, total=False): +class PartnerAdServerConfig(typing.TypedDict, total=False): measurementConfig: MeasurementConfig @typing.type_check_only -class PartnerBillingConfig(typing_extensions.TypedDict, total=False): +class PartnerBillingConfig(typing.TypedDict, total=False): billingProfileId: str @typing.type_check_only -class PartnerCost(typing_extensions.TypedDict, total=False): - costType: typing_extensions.Literal[ +class PartnerCost(typing.TypedDict, total=False): + costType: typing.Literal[ "PARTNER_COST_TYPE_UNSPECIFIED", "PARTNER_COST_TYPE_ADLOOX", "PARTNER_COST_TYPE_ADLOOX_PREBID", @@ -4194,30 +4069,30 @@ class PartnerCost(typing_extensions.TypedDict, total=False): ] feeAmount: str feePercentageMillis: str - feeType: typing_extensions.Literal[ + feeType: typing.Literal[ "PARTNER_COST_FEE_TYPE_UNSPECIFIED", "PARTNER_COST_FEE_TYPE_CPM_FEE", "PARTNER_COST_FEE_TYPE_MEDIA_FEE", ] - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", "PARTNER_COST_INVOICE_TYPE_DV360", "PARTNER_COST_INVOICE_TYPE_PARTNER", ] @typing.type_check_only -class PartnerDataAccessConfig(typing_extensions.TypedDict, total=False): +class PartnerDataAccessConfig(typing.TypedDict, total=False): sdfConfig: SdfConfig @typing.type_check_only -class PartnerGeneralConfig(typing_extensions.TypedDict, total=False): +class PartnerGeneralConfig(typing.TypedDict, total=False): currencyCode: str timeZone: str @typing.type_check_only -class PartnerRevenueModel(typing_extensions.TypedDict, total=False): +class PartnerRevenueModel(typing.TypedDict, total=False): markupAmount: str - markupType: typing_extensions.Literal[ + markupType: typing.Literal[ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", @@ -4225,11 +4100,11 @@ class PartnerRevenueModel(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoal(typing_extensions.TypedDict, total=False): +class PerformanceGoal(typing.TypedDict, total=False): performanceGoalAmountMicros: str performanceGoalPercentageMicros: str performanceGoalString: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "PERFORMANCE_GOAL_TYPE_CPM", "PERFORMANCE_GOAL_TYPE_CPC", @@ -4249,11 +4124,11 @@ class PerformanceGoal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): +class PerformanceGoalBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str performanceGoalAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -4265,30 +4140,30 @@ class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PoiAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class PoiSearchTerms(typing_extensions.TypedDict, total=False): +class PoiSearchTerms(typing.TypedDict, total=False): poiQuery: str @typing.type_check_only -class PoiTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float @typing.type_check_only -class PrismaConfig(typing_extensions.TypedDict, total=False): +class PrismaConfig(typing.TypedDict, total=False): prismaCpeCode: PrismaCpeCode - prismaType: typing_extensions.Literal[ + prismaType: typing.Literal[ "PRISMA_TYPE_UNSPECIFIED", "PRISMA_TYPE_DISPLAY", "PRISMA_TYPE_SEARCH", @@ -4300,16 +4175,16 @@ class PrismaConfig(typing_extensions.TypedDict, total=False): supplier: str @typing.type_check_only -class PrismaCpeCode(typing_extensions.TypedDict, total=False): +class PrismaCpeCode(typing.TypedDict, total=False): prismaClientCode: str prismaEstimateCode: str prismaProductCode: str @typing.type_check_only -class ProductFeedData(typing_extensions.TypedDict, total=False): +class ProductFeedData(typing.TypedDict, total=False): isFeedDisabled: bool productMatchDimensions: _list[ProductMatchDimension] - productMatchType: typing_extensions.Literal[ + productMatchType: typing.Literal[ "PRODUCT_MATCH_TYPE_UNSPECIFIED", "PRODUCT_MATCH_TYPE_ALL_PRODUCTS", "PRODUCT_MATCH_TYPE_SPECIFIC_PRODUCTS", @@ -4317,26 +4192,26 @@ class ProductFeedData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductMatchDimension(typing_extensions.TypedDict, total=False): +class ProductMatchDimension(typing.TypedDict, total=False): customLabel: CustomLabel productOfferId: str @typing.type_check_only class ProximityLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): proximityLocationListId: str proximityRadius: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "PROXIMITY_RADIUS_UNIT_UNSPECIFIED", "PROXIMITY_RADIUS_UNIT_MILES", "PROXIMITY_RADIUS_UNIT_KILOMETERS", ] @typing.type_check_only -class PublisherReviewStatus(typing_extensions.TypedDict, total=False): +class PublisherReviewStatus(typing.TypedDict, total=False): publisherName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -4344,51 +4219,49 @@ class PublisherReviewStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RegionalLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class RegionalLocationListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool regionalLocationListId: str @typing.type_check_only -class RemarketingConfig(typing_extensions.TypedDict, total=False): +class RemarketingConfig(typing.TypedDict, total=False): advertiserId: str remarketingEnabled: bool @typing.type_check_only -class ReplaceNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsRequest(typing.TypedDict, total=False): newNegativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceSitesRequest(typing_extensions.TypedDict, total=False): +class ReplaceSitesRequest(typing.TypedDict, total=False): advertiserId: str newSites: _list[Site] partnerId: str @typing.type_check_only -class ReplaceSitesResponse(typing_extensions.TypedDict, total=False): +class ReplaceSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class ReviewStatusInfo(typing_extensions.TypedDict, total=False): - approvalStatus: typing_extensions.Literal[ +class ReviewStatusInfo(typing.TypedDict, total=False): + approvalStatus: typing.Literal[ "APPROVAL_STATUS_UNSPECIFIED", "APPROVAL_STATUS_PENDING_NOT_SERVABLE", "APPROVAL_STATUS_PENDING_SERVABLE", "APPROVAL_STATUS_APPROVED_SERVABLE", "APPROVAL_STATUS_REJECTED_NOT_SERVABLE", ] - contentAndPolicyReviewStatus: typing_extensions.Literal[ + contentAndPolicyReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", "REVIEW_STATUS_PENDING", ] - creativeAndLandingPageReviewStatus: typing_extensions.Literal[ + creativeAndLandingPageReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -4398,18 +4271,18 @@ class ReviewStatusInfo(typing_extensions.TypedDict, total=False): publisherReviewStatuses: _list[PublisherReviewStatus] @typing.type_check_only -class ScriptError(typing_extensions.TypedDict, total=False): +class ScriptError(typing.TypedDict, total=False): column: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "SYNTAX_ERROR", "DEPRECATED_SYNTAX", "INTERNAL_ERROR" ] errorMessage: str line: str @typing.type_check_only -class SdfConfig(typing_extensions.TypedDict, total=False): +class SdfConfig(typing.TypedDict, total=False): adminEmail: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -4430,17 +4303,18 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class SdfDownloadTask(typing_extensions.TypedDict, total=False): +class SdfDownloadTask(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): +class SdfDownloadTaskMetadata(typing.TypedDict, total=False): createTime: str endTime: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -4461,10 +4335,11 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsRequest(typing.TypedDict, total=False): advertiserId: str businessChainSearchTerms: BusinessChainSearchTerms geoRegionSearchTerms: GeoRegionSearchTerms @@ -4473,12 +4348,12 @@ class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): poiSearchTerms: PoiSearchTerms @typing.type_check_only -class SearchTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class SelectedInventories(typing_extensions.TypedDict, total=False): +class SelectedInventories(typing.TypedDict, total=False): allowDiscover: bool allowGmail: bool allowGoogleDisplayNetwork: bool @@ -4487,10 +4362,8 @@ class SelectedInventories(typing_extensions.TypedDict, total=False): allowYoutubeStream: bool @typing.type_check_only -class SensitiveCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - excludedSensitiveCategory: typing_extensions.Literal[ +class SensitiveCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): + excludedSensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -4514,8 +4387,8 @@ class SensitiveCategoryAssignedTargetingOptionDetails( ] @typing.type_check_only -class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): - sensitiveCategory: typing_extensions.Literal[ +class SensitiveCategoryTargetingOptionDetails(typing.TypedDict, total=False): + sensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -4539,38 +4412,34 @@ class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total ] @typing.type_check_only -class SessionPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - sessionPosition: typing_extensions.Literal[ +class SessionPositionAssignedTargetingOptionDetails(typing.TypedDict, total=False): + sessionPosition: typing.Literal[ "SESSION_POSITION_UNSPECIFIED", "SESSION_POSITION_FIRST_IMPRESSION" ] @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): name: str urlOrAppId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SubExchangeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class SubExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str @typing.type_check_only -class SubExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class SubExchangeTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class TargetFrequency(typing_extensions.TypedDict, total=False): +class TargetFrequency(typing.TypedDict, total=False): targetCount: str - timeUnit: typing_extensions.Literal[ + timeUnit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "TIME_UNIT_LIFETIME", "TIME_UNIT_MONTHS", @@ -4582,8 +4451,8 @@ class TargetFrequency(typing_extensions.TypedDict, total=False): timeUnitCount: int @typing.type_check_only -class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): - audienceExpansionLevel: typing_extensions.Literal[ +class TargetingExpansionConfig(typing.TypedDict, total=False): + audienceExpansionLevel: typing.Literal[ "UNKNOWN", "NO_REACH", "LEAST_REACH", "MID_REACH", "MOST_REACH" ] audienceExpansionSeedListExcluded: bool @@ -4591,7 +4460,7 @@ class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): excludeDemographicExpansion: bool @typing.type_check_only -class TargetingOption(typing_extensions.TypedDict, total=False): +class TargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeTargetingOptionDetails appCategoryDetails: AppCategoryTargetingOptionDetails audioContentTypeDetails: AudioContentTypeTargetingOptionDetails @@ -4625,7 +4494,7 @@ class TargetingOption(typing_extensions.TypedDict, total=False): sensitiveCategoryDetails: SensitiveCategoryTargetingOptionDetails subExchangeDetails: SubExchangeTargetingOptionDetails targetingOptionId: str - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -4683,19 +4552,19 @@ class TargetingOption(typing_extensions.TypedDict, total=False): viewabilityDetails: ViewabilityTargetingOptionDetails @typing.type_check_only -class ThirdPartyMeasurementConfigs(typing_extensions.TypedDict, total=False): +class ThirdPartyMeasurementConfigs(typing.TypedDict, total=False): brandLiftVendorConfigs: _list[ThirdPartyVendorConfig] brandSafetyVendorConfigs: _list[ThirdPartyVendorConfig] reachVendorConfigs: _list[ThirdPartyVendorConfig] viewabilityVendorConfigs: _list[ThirdPartyVendorConfig] @typing.type_check_only -class ThirdPartyOnlyConfig(typing_extensions.TypedDict, total=False): +class ThirdPartyOnlyConfig(typing.TypedDict, total=False): pixelOrderIdReportingEnabled: bool @typing.type_check_only -class ThirdPartyUrl(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ThirdPartyUrl(typing.TypedDict, total=False): + type: typing.Literal[ "THIRD_PARTY_URL_TYPE_UNSPECIFIED", "THIRD_PARTY_URL_TYPE_IMPRESSION", "THIRD_PARTY_URL_TYPE_CLICK_TRACKING", @@ -4716,9 +4585,9 @@ class ThirdPartyUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): +class ThirdPartyVendorConfig(typing.TypedDict, total=False): placementId: str - vendor: typing_extensions.Literal[ + vendor: typing.Literal[ "THIRD_PARTY_VENDOR_UNSPECIFIED", "THIRD_PARTY_VENDOR_MOAT", "THIRD_PARTY_VENDOR_DOUBLE_VERIFY", @@ -4743,26 +4612,24 @@ class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ThirdPartyVerifierAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ThirdPartyVerifierAssignedTargetingOptionDetails(typing.TypedDict, total=False): adloox: Adloox doubleVerify: DoubleVerify integralAdScience: IntegralAdScience @typing.type_check_only -class TimerEvent(typing_extensions.TypedDict, total=False): +class TimerEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class TrackingFloodlightActivityConfig(typing_extensions.TypedDict, total=False): +class TrackingFloodlightActivityConfig(typing.TypedDict, total=False): floodlightActivityId: str postClickLookbackWindowDays: int postViewLookbackWindowDays: int @typing.type_check_only -class Transcode(typing_extensions.TypedDict, total=False): +class Transcode(typing.TypedDict, total=False): audioBitRateKbps: str audioSampleRateHz: str bitRateKbps: str @@ -4774,9 +4641,9 @@ class Transcode(typing_extensions.TypedDict, total=False): transcoded: bool @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): +class UniversalAdId(typing.TypedDict, total=False): id: str - registry: typing_extensions.Literal[ + registry: typing.Literal[ "UNIVERSAL_AD_REGISTRY_UNSPECIFIED", "UNIVERSAL_AD_REGISTRY_OTHER", "UNIVERSAL_AD_REGISTRY_AD_ID", @@ -4786,12 +4653,12 @@ class UniversalAdId(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UrlAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class UrlAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool url: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): assignedUserRoles: _list[AssignedUserRole] displayName: str email: str @@ -4800,36 +4667,32 @@ class User(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class UserRewardedContentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class UserRewardedContentAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str - userRewardedContent: typing_extensions.Literal[ + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class UserRewardedContentTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - userRewardedContent: typing_extensions.Literal[ +class UserRewardedContentTargetingOptionDetails(typing.TypedDict, total=False): + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class VideoAdInventoryControl(typing_extensions.TypedDict, total=False): +class VideoAdInventoryControl(typing.TypedDict, total=False): allowInFeed: bool allowInStream: bool allowNonSkippableInStream: bool allowShorts: bool @typing.type_check_only -class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): - minimumDuration: typing_extensions.Literal[ +class VideoAdSequenceSettings(typing.TypedDict, total=False): + minimumDuration: typing.Literal[ "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED", "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK", "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH", @@ -4837,9 +4700,9 @@ class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): steps: _list[VideoAdSequenceStep] @typing.type_check_only -class VideoAdSequenceStep(typing_extensions.TypedDict, total=False): +class VideoAdSequenceStep(typing.TypedDict, total=False): adGroupId: str - interactionType: typing_extensions.Literal[ + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "INTERACTION_TYPE_PAID_VIEW", "INTERACTION_TYPE_SKIP", @@ -4850,11 +4713,11 @@ class VideoAdSequenceStep(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class VideoDiscoveryAd(typing_extensions.TypedDict, total=False): +class VideoDiscoveryAd(typing.TypedDict, total=False): description1: str description2: str headline: str - thumbnail: typing_extensions.Literal[ + thumbnail: typing.Literal[ "THUMBNAIL_UNSPECIFIED", "THUMBNAIL_DEFAULT", "THUMBNAIL_1", @@ -4864,7 +4727,7 @@ class VideoDiscoveryAd(typing_extensions.TypedDict, total=False): video: YoutubeVideoDetails @typing.type_check_only -class VideoPerformanceAd(typing_extensions.TypedDict, total=False): +class VideoPerformanceAd(typing.TypedDict, total=False): actionButtonLabels: _list[str] companionBanners: _list[ImageAsset] customParameters: dict[str, typing.Any] @@ -4879,10 +4742,8 @@ class VideoPerformanceAd(typing_extensions.TypedDict, total=False): videos: _list[YoutubeVideoDetails] @typing.type_check_only -class VideoPlayerSizeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - videoPlayerSize: typing_extensions.Literal[ +class VideoPlayerSizeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -4891,8 +4752,8 @@ class VideoPlayerSizeAssignedTargetingOptionDetails( ] @typing.type_check_only -class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - videoPlayerSize: typing_extensions.Literal[ +class VideoPlayerSizeTargetingOptionDetails(typing.TypedDict, total=False): + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -4901,10 +4762,8 @@ class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ViewabilityAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - viewability: typing_extensions.Literal[ +class ViewabilityAssignedTargetingOptionDetails(typing.TypedDict, total=False): + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", @@ -4918,8 +4777,8 @@ class ViewabilityAssignedTargetingOptionDetails( ] @typing.type_check_only -class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False): - viewability: typing_extensions.Literal[ +class ViewabilityTargetingOptionDetails(typing.TypedDict, total=False): + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", @@ -4933,14 +4792,14 @@ class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class YoutubeAndPartnersBiddingStrategy(typing_extensions.TypedDict, total=False): - adGroupEffectiveTargetCpaSource: typing_extensions.Literal[ +class YoutubeAndPartnersBiddingStrategy(typing.TypedDict, total=False): + adGroupEffectiveTargetCpaSource: typing.Literal[ "BIDDING_SOURCE_UNSPECIFIED", "BIDDING_SOURCE_LINE_ITEM", "BIDDING_SOURCE_AD_GROUP", ] adGroupEffectiveTargetCpaValue: str - type: typing_extensions.Literal[ + type: typing.Literal[ "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV", "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM", @@ -4956,20 +4815,20 @@ class YoutubeAndPartnersBiddingStrategy(typing_extensions.TypedDict, total=False value: str @typing.type_check_only -class YoutubeAndPartnersInventorySourceConfig(typing_extensions.TypedDict, total=False): +class YoutubeAndPartnersInventorySourceConfig(typing.TypedDict, total=False): includeGoogleTv: bool includeYoutube: bool includeYoutubeVideoPartners: bool @typing.type_check_only -class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): - contentCategory: typing_extensions.Literal[ +class YoutubeAndPartnersSettings(typing.TypedDict, total=False): + contentCategory: typing.Literal[ "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED", ] - effectiveContentCategory: typing_extensions.Literal[ + effectiveContentCategory: typing.Literal[ "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", @@ -4986,30 +4845,24 @@ class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): viewFrequencyCap: FrequencyCap @typing.type_check_only -class YoutubeChannelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeChannelAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelId: str negative: bool @typing.type_check_only -class YoutubeChannelPackAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeChannelPackAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelPackId: str negative: bool @typing.type_check_only -class YoutubeVideoAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeVideoAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool videoId: str @typing.type_check_only -class YoutubeVideoDetails(typing_extensions.TypedDict, total=False): +class YoutubeVideoDetails(typing.TypedDict, total=False): id: str - unavailableReason: typing_extensions.Literal[ + unavailableReason: typing.Literal[ "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED", "VIDEO_UNAVAILABLE_REASON_PRIVATE", "VIDEO_UNAVAILABLE_REASON_DELETED", diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi index 6b96de9f9..5f57ad8ba 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -49,6 +48,15 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): previous_request: ListAdAssetsResponseHttpRequest, previous_response: ListAdAssetsResponse, ) -> ListAdAssetsResponseHttpRequest | None: ... + def patch( + self, + *, + advertiserId: str, + adAssetId: str, + body: AdAsset, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> AdAssetHttpRequest: ... def upload( self, *, @@ -106,7 +114,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -167,7 +175,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -228,7 +236,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -289,7 +297,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -371,7 +379,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - youtubeAssetType: typing_extensions.Literal[ + youtubeAssetType: typing.Literal[ "YOUTUBE_ASSET_TYPE_UNSPECIFIED", "YOUTUBE_ASSET_TYPE_LOCATION", "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", @@ -386,7 +394,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - youtubeAssetType: typing_extensions.Literal[ + youtubeAssetType: typing.Literal[ "YOUTUBE_ASSET_TYPE_UNSPECIFIED", "YOUTUBE_ASSET_TYPE_LOCATION", "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", @@ -401,7 +409,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, adGroupId: str, - youtubeAssetType: typing_extensions.Literal[ + youtubeAssetType: typing.Literal[ "YOUTUBE_ASSET_TYPE_UNSPECIFIED", "YOUTUBE_ASSET_TYPE_LOCATION", "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", @@ -707,7 +715,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, issueMonth: str | None = ..., - loiSapinInvoiceType: typing_extensions.Literal[ + loiSapinInvoiceType: typing.Literal[ "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", "LOI_SAPIN_INVOICE_TYPE_MEDIA", "LOI_SAPIN_INVOICE_TYPE_PLATFORM", @@ -743,7 +751,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -804,7 +812,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -865,7 +873,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -926,7 +934,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1008,7 +1016,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - youtubeAssetType: typing_extensions.Literal[ + youtubeAssetType: typing.Literal[ "YOUTUBE_ASSET_TYPE_UNSPECIFIED", "YOUTUBE_ASSET_TYPE_LOCATION", "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", @@ -1023,7 +1031,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - youtubeAssetType: typing_extensions.Literal[ + youtubeAssetType: typing.Literal[ "YOUTUBE_ASSET_TYPE_UNSPECIFIED", "YOUTUBE_ASSET_TYPE_LOCATION", "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", @@ -1038,7 +1046,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): *, advertiserId: str, lineItemId: str, - youtubeAssetType: typing_extensions.Literal[ + youtubeAssetType: typing.Literal[ "YOUTUBE_ASSET_TYPE_UNSPECIFIED", "YOUTUBE_ASSET_TYPE_LOCATION", "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", @@ -1332,7 +1340,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - productCategory: typing_extensions.Literal[ + productCategory: typing.Literal[ "PLANNABLE_PRODUCT_CATEGORY_UNSPECIFIED", "YOUTUBE", "OPEN_AUCTION" ] | None = ..., @@ -1361,7 +1369,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1421,7 +1429,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1481,7 +1489,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1541,7 +1549,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, advertiserId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2316,7 +2324,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2376,7 +2384,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2436,7 +2444,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2496,7 +2504,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, *, partnerId: str, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2620,7 +2628,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def get( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2680,7 +2688,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def list( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2748,7 +2756,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def search( self, *, - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi index 82b2ea7ec..8d965626b 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total=False): +class ActiveViewVideoViewabilityMetricConfig(typing.TypedDict, total=False): displayName: str - minimumDuration: typing_extensions.Literal[ + minimumDuration: typing.Literal[ "VIDEO_DURATION_UNSPECIFIED", "VIDEO_DURATION_SECONDS_NONE", "VIDEO_DURATION_SECONDS_0", @@ -30,7 +28,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_SECONDS_45", "VIDEO_DURATION_SECONDS_60", ] - minimumQuartile: typing_extensions.Literal[ + minimumQuartile: typing.Literal[ "VIDEO_DURATION_QUARTILE_UNSPECIFIED", "VIDEO_DURATION_QUARTILE_NONE", "VIDEO_DURATION_QUARTILE_FIRST", @@ -38,7 +36,7 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_DURATION_QUARTILE_THIRD", "VIDEO_DURATION_QUARTILE_FOURTH", ] - minimumViewability: typing_extensions.Literal[ + minimumViewability: typing.Literal[ "VIEWABILITY_PERCENT_UNSPECIFIED", "VIEWABILITY_PERCENT_0", "VIEWABILITY_PERCENT_25", @@ -46,21 +44,21 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIEWABILITY_PERCENT_75", "VIEWABILITY_PERCENT_100", ] - minimumVolume: typing_extensions.Literal[ + minimumVolume: typing.Literal[ "VIDEO_VOLUME_PERCENT_UNSPECIFIED", "VIDEO_VOLUME_PERCENT_0", "VIDEO_VOLUME_PERCENT_10", ] @typing.type_check_only -class AdAsset(typing_extensions.TypedDict, total=False): +class AdAsset(typing.TypedDict, total=False): adAssetId: str - adAssetType: typing_extensions.Literal[ + adAssetType: typing.Literal[ "AD_ASSET_TYPE_UNSPECIFIED", "AD_ASSET_TYPE_IMAGE", "AD_ASSET_TYPE_YOUTUBE_VIDEO", ] - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -69,11 +67,16 @@ class AdAsset(typing_extensions.TypedDict, total=False): "ENTITY_STATUS_SCHEDULED_FOR_DELETION", ] name: str + syntheticContentAttestationStatus: typing.Literal[ + "SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED", + "NOT_SYNTHETIC", + "IS_SYNTHETIC", + ] youtubeVideoAsset: YoutubeVideoAsset @typing.type_check_only -class AdGroup(typing_extensions.TypedDict, total=False): - adGroupFormat: typing_extensions.Literal[ +class AdGroup(typing.TypedDict, total=False): + adGroupFormat: typing.Literal[ "AD_GROUP_FORMAT_UNSPECIFIED", "AD_GROUP_FORMAT_IN_STREAM", "AD_GROUP_FORMAT_VIDEO_DISCOVERY", @@ -90,7 +93,7 @@ class AdGroup(typing_extensions.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -104,7 +107,7 @@ class AdGroup(typing_extensions.TypedDict, total=False): targetingExpansion: TargetingExpansionConfig @typing.type_check_only -class AdGroupAd(typing_extensions.TypedDict, total=False): +class AdGroupAd(typing.TypedDict, total=False): adGroupAdId: str adGroupId: str adPolicy: AdPolicy @@ -119,7 +122,7 @@ class AdGroupAd(typing_extensions.TypedDict, total=False): demandGenVideoAd: DemandGenVideoAd displayName: str displayVideoSourceAd: DisplayVideoSourceAd - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -135,13 +138,13 @@ class AdGroupAd(typing_extensions.TypedDict, total=False): videoPerformanceAd: VideoPerformanceAd @typing.type_check_only -class AdGroupAssignedTargetingOption(typing_extensions.TypedDict, total=False): +class AdGroupAssignedTargetingOption(typing.TypedDict, total=False): adGroupId: str assignedTargetingOption: AssignedTargetingOption @typing.type_check_only -class AdGroupInventoryControl(typing_extensions.TypedDict, total=False): - adGroupInventoryStrategy: typing_extensions.Literal[ +class AdGroupInventoryControl(typing.TypedDict, total=False): + adGroupInventoryStrategy: typing.Literal[ "AD_GROUP_INVENTORY_STRATEGY_UNSPECIFIED", "AD_GROUP_INVENTORY_STRATEGY_ALL_GOOGLE_AND_DISPLAY_NETWORK_INVENTORY", "AD_GROUP_INVENTORY_STRATEGY_ALL_GOOGLE_INVENTORY", @@ -149,15 +152,15 @@ class AdGroupInventoryControl(typing_extensions.TypedDict, total=False): selectedInventories: SelectedInventories @typing.type_check_only -class AdPolicy(typing_extensions.TypedDict, total=False): - adPolicyApprovalStatus: typing_extensions.Literal[ +class AdPolicy(typing.TypedDict, total=False): + adPolicyApprovalStatus: typing.Literal[ "AD_POLICY_APPROVAL_STATUS_UNKNOWN", "DISAPPROVED", "APPROVED_LIMITED", "APPROVED", "AREA_OF_INTEREST_ONLY", ] - adPolicyReviewStatus: typing_extensions.Literal[ + adPolicyReviewStatus: typing.Literal[ "AD_POLICY_REVIEW_STATUS_UNKNOWN", "REVIEW_IN_PROGRESS", "REVIEWED", @@ -167,19 +170,19 @@ class AdPolicy(typing_extensions.TypedDict, total=False): adPolicyTopicEntry: _list[AdPolicyTopicEntry] @typing.type_check_only -class AdPolicyCriterionRestriction(typing_extensions.TypedDict, total=False): +class AdPolicyCriterionRestriction(typing.TypedDict, total=False): countryCriterionId: str countryLabel: str @typing.type_check_only -class AdPolicyTopicAppealInfo(typing_extensions.TypedDict, total=False): +class AdPolicyTopicAppealInfo(typing.TypedDict, total=False): appealFormLink: str - appealType: typing_extensions.Literal[ + appealType: typing.Literal[ "AD_POLICY_APPEAL_TYPE_UNKNOWN", "SELF_SERVICE_APPEAL", "APPEAL_FORM" ] @typing.type_check_only -class AdPolicyTopicConstraint(typing_extensions.TypedDict, total=False): +class AdPolicyTopicConstraint(typing.TypedDict, total=False): certificateDomainMismatchCountryList: ( AdPolicyTopicConstraintAdPolicyCountryConstraintList ) @@ -196,33 +199,33 @@ class AdPolicyTopicConstraint(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdPolicyTopicConstraintAdPolicyCountryConstraintList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countries: _list[AdPolicyCriterionRestriction] @typing.type_check_only class AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class AdPolicyTopicConstraintAdPolicyResellerConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEntry(typing.TypedDict, total=False): appealInfo: AdPolicyTopicAppealInfo helpCenterLink: str - policyDecisionType: typing_extensions.Literal[ + policyDecisionType: typing.Literal[ "AD_POLICY_DECISION_TYPE_UNKNOWN", "PURSUANT_TO_NOTICE", "GOOGLE_INVESTIGATION" ] - policyEnforcementMeans: typing_extensions.Literal[ + policyEnforcementMeans: typing.Literal[ "AD_POLICY_ENFORCEMENT_MEANS_UNKNOWN", "AUTOMATED", "HUMAN_REVIEW" ] policyLabel: str @@ -230,7 +233,7 @@ class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): policyTopicConstraints: _list[AdPolicyTopicConstraint] policyTopicDescription: str policyTopicEvidences: _list[AdPolicyTopicEvidence] - policyTopicType: typing_extensions.Literal[ + policyTopicType: typing.Literal[ "AD_POLICY_TOPIC_ENTRY_TYPE_UNKNOWN", "PROHIBITED", "FULLY_LIMITED", @@ -241,7 +244,7 @@ class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AdPolicyTopicEvidence(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidence(typing.TypedDict, total=False): counterfeit: AdPolicyTopicEvidenceCounterfeit destinationMismatch: AdPolicyTopicEvidenceDestinationMismatch destinationNotWorking: AdPolicyTopicEvidenceDestinationNotWorking @@ -255,15 +258,13 @@ class AdPolicyTopicEvidence(typing_extensions.TypedDict, total=False): websiteList: AdPolicyTopicEvidenceWebsiteList @typing.type_check_only -class AdPolicyTopicEvidenceCounterfeit(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceCounterfeit(typing.TypedDict, total=False): owners: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceDestinationMismatch( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceDestinationMismatch(typing.TypedDict, total=False): uriTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_MISMATCH_URL_TYPE_UNKNOWN", "DISPLAY_URL", "FINAL_URL", @@ -274,16 +275,14 @@ class AdPolicyTopicEvidenceDestinationMismatch( ] @typing.type_check_only -class AdPolicyTopicEvidenceDestinationNotWorking( - typing_extensions.TypedDict, total=False -): - device: typing_extensions.Literal[ +class AdPolicyTopicEvidenceDestinationNotWorking(typing.TypedDict, total=False): + device: typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DEVICE_TYPE_UNKNOWN", "DESKTOP", "ANDROID", "IOS", ] - dnsErrorType: typing_extensions.Literal[ + dnsErrorType: typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DNS_ERROR_TYPE_UNKNOWN", "HOSTNAME_NOT_FOUND", "GOOGLE_CRAWLER_DNS_ISSUE", @@ -293,14 +292,12 @@ class AdPolicyTopicEvidenceDestinationNotWorking( lastCheckedTime: str @typing.type_check_only -class AdPolicyTopicEvidenceDestinationTextList( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceDestinationTextList(typing.TypedDict, total=False): destinationTexts: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceLegalRemoval(typing_extensions.TypedDict, total=False): - complaintType: typing_extensions.Literal[ +class AdPolicyTopicEvidenceLegalRemoval(typing.TypedDict, total=False): + complaintType: typing.Literal[ "AD_POLICY_TOPIC_EVIDENCE_LEGAL_REMOVAL_COMPLAINT_TYPE_UNKNOWN", "COPYRIGHT", "COURT_ORDER", @@ -312,47 +309,43 @@ class AdPolicyTopicEvidenceLegalRemoval(typing_extensions.TypedDict, total=False restrictedUris: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceLegalRemovalDmca(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceLegalRemovalDmca(typing.TypedDict, total=False): complainant: str @typing.type_check_only -class AdPolicyTopicEvidenceLegalRemovalLocalLegal( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceLegalRemovalLocalLegal(typing.TypedDict, total=False): lawType: str @typing.type_check_only -class AdPolicyTopicEvidenceRegionalRequirements( - typing_extensions.TypedDict, total=False -): +class AdPolicyTopicEvidenceRegionalRequirements(typing.TypedDict, total=False): regionalRequirementsEntries: _list[ AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry ] @typing.type_check_only class AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryRestrictions: _list[AdPolicyCriterionRestriction] legalPolicy: str @typing.type_check_only -class AdPolicyTopicEvidenceTextList(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceTextList(typing.TypedDict, total=False): texts: _list[str] @typing.type_check_only -class AdPolicyTopicEvidenceTrademark(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceTrademark(typing.TypedDict, total=False): countryRestrictions: _list[AdPolicyCriterionRestriction] owner: str term: str @typing.type_check_only -class AdPolicyTopicEvidenceWebsiteList(typing_extensions.TypedDict, total=False): +class AdPolicyTopicEvidenceWebsiteList(typing.TypedDict, total=False): websites: _list[str] @typing.type_check_only -class AdUrl(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class AdUrl(typing.TypedDict, total=False): + type: typing.Literal[ "AD_URL_TYPE_UNSPECIFIED", "AD_URL_TYPE_BEACON_IMPRESSION", "AD_URL_TYPE_BEACON_EXPANDABLE_DCM_IMPRESSION", @@ -362,45 +355,43 @@ class AdUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Adloox(typing_extensions.TypedDict, total=False): - adultExplicitSexualContent: typing_extensions.Literal[ +class Adloox(typing.TypedDict, total=False): + adultExplicitSexualContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - armsAmmunitionContent: typing_extensions.Literal[ + armsAmmunitionContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent: ( - typing_extensions.Literal[ - "GARM_RISK_EXCLUSION_UNSPECIFIED", - "GARM_RISK_EXCLUSION_FLOOR", - "GARM_RISK_EXCLUSION_HIGH", - "GARM_RISK_EXCLUSION_MEDIUM", - "GARM_RISK_EXCLUSION_LOW", - ] - ) - deathInjuryMilitaryConflictContent: typing_extensions.Literal[ + crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent: typing.Literal[ + "GARM_RISK_EXCLUSION_UNSPECIFIED", + "GARM_RISK_EXCLUSION_FLOOR", + "GARM_RISK_EXCLUSION_HIGH", + "GARM_RISK_EXCLUSION_MEDIUM", + "GARM_RISK_EXCLUSION_LOW", + ] + deathInjuryMilitaryConflictContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - debatedSensitiveSocialIssueContent: typing_extensions.Literal[ + debatedSensitiveSocialIssueContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - displayIabViewability: typing_extensions.Literal[ + displayIabViewability: typing.Literal[ "DISPLAY_IAB_VIEWABILITY_UNSPECIFIED", "DISPLAY_IAB_VIEWABILITY_10", "DISPLAY_IAB_VIEWABILITY_20", @@ -409,7 +400,7 @@ class Adloox(typing_extensions.TypedDict, total=False): "DISPLAY_IAB_VIEWABILITY_75", ] excludedAdlooxCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "ADLOOX_UNSPECIFIED", "ADULT_CONTENT_HARD", "ADULT_CONTENT_SOFT", @@ -422,58 +413,58 @@ class Adloox(typing_extensions.TypedDict, total=False): ] ] excludedFraudIvtMfaCategories: _list[ - typing_extensions.Literal["FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", "FRAUD_IVT_MFA"] + typing.Literal["FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", "FRAUD_IVT_MFA"] ] - hateSpeechActsAggressionContent: typing_extensions.Literal[ + hateSpeechActsAggressionContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - illegalDrugsTobaccoEcigarettesVapingAlcoholContent: typing_extensions.Literal[ + illegalDrugsTobaccoEcigarettesVapingAlcoholContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - misinformationContent: typing_extensions.Literal[ + misinformationContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - obscenityProfanityContent: typing_extensions.Literal[ + obscenityProfanityContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - onlinePiracyContent: typing_extensions.Literal[ + onlinePiracyContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - spamHarmfulContent: typing_extensions.Literal[ + spamHarmfulContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - terrorismContent: typing_extensions.Literal[ + terrorismContent: typing.Literal[ "GARM_RISK_EXCLUSION_UNSPECIFIED", "GARM_RISK_EXCLUSION_FLOOR", "GARM_RISK_EXCLUSION_HIGH", "GARM_RISK_EXCLUSION_MEDIUM", "GARM_RISK_EXCLUSION_LOW", ] - videoIabViewability: typing_extensions.Literal[ + videoIabViewability: typing.Literal[ "VIDEO_IAB_VIEWABILITY_UNSPECIFIED", "VIDEO_IAB_VIEWABILITY_10", "VIDEO_IAB_VIEWABILITY_20", @@ -483,8 +474,8 @@ class Adloox(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AdvancedProductTargeting(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AdvancedProductTargeting(typing.TypedDict, total=False): + ageRange: typing.Literal[ "PLANNABLE_AGE_RANGE_UNSPECIFIED", "PLANNABLE_AGE_RANGE_18_24", "PLANNABLE_AGE_RANGE_18_34", @@ -520,7 +511,7 @@ class AdvancedProductTargeting(typing_extensions.TypedDict, total=False): ] dateRange: DateRange devices: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -531,10 +522,16 @@ class AdvancedProductTargeting(typing_extensions.TypedDict, total=False): ] frequencyCap: FrequencyCap genders: _list[ - typing_extensions.Literal[ + typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] ] + network: typing.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 @@ -543,19 +540,21 @@ class AdvancedProductTargeting(typing_extensions.TypedDict, total=False): youtubeSelectSettings: YouTubeSelectSettings @typing.type_check_only -class Advertiser(typing_extensions.TypedDict, total=False): +class Advertiser(typing.TypedDict, total=False): adServerConfig: AdvertiserAdServerConfig advertiserId: str billingConfig: AdvertiserBillingConfig - containsEuPoliticalAds: typing_extensions.Literal[ + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", ] creativeConfig: AdvertiserCreativeConfig dataAccessConfig: AdvertiserDataAccessConfig + defaultBusinessName: str + defaultLogoAssetId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -572,43 +571,43 @@ class Advertiser(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AdvertiserAdServerConfig(typing_extensions.TypedDict, total=False): +class AdvertiserAdServerConfig(typing.TypedDict, total=False): cmHybridConfig: CmHybridConfig thirdPartyOnlyConfig: ThirdPartyOnlyConfig @typing.type_check_only -class AdvertiserBillingConfig(typing_extensions.TypedDict, total=False): +class AdvertiserBillingConfig(typing.TypedDict, total=False): billingProfileId: str @typing.type_check_only -class AdvertiserCreativeConfig(typing_extensions.TypedDict, total=False): +class AdvertiserCreativeConfig(typing.TypedDict, total=False): dynamicCreativeEnabled: bool iasClientId: str obaComplianceDisabled: bool videoCreativeDataSharingAuthorized: bool @typing.type_check_only -class AdvertiserDataAccessConfig(typing_extensions.TypedDict, total=False): +class AdvertiserDataAccessConfig(typing.TypedDict, total=False): sdfConfig: AdvertiserSdfConfig @typing.type_check_only -class AdvertiserGeneralConfig(typing_extensions.TypedDict, total=False): +class AdvertiserGeneralConfig(typing.TypedDict, total=False): currencyCode: str domainUrl: str timeZone: str @typing.type_check_only -class AdvertiserSdfConfig(typing_extensions.TypedDict, total=False): +class AdvertiserSdfConfig(typing.TypedDict, total=False): overridePartnerSdfConfig: bool sdfConfig: SdfConfig @typing.type_check_only -class AdvertiserTargetingConfig(typing_extensions.TypedDict, total=False): +class AdvertiserTargetingConfig(typing.TypedDict, total=False): exemptTvFromViewabilityTargeting: bool @typing.type_check_only -class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -630,8 +629,8 @@ class AgeRangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeTargetingOptionDetails(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "AGE_RANGE_18_24", "AGE_RANGE_25_34", @@ -653,15 +652,15 @@ class AgeRangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlgorithmRules(typing_extensions.TypedDict, total=False): +class AlgorithmRules(typing.TypedDict, total=False): attributionModelId: str impressionSignalRuleset: AlgorithmRulesRuleset postImpressionSignalRuleset: AlgorithmRulesRuleset @typing.type_check_only -class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): +class AlgorithmRulesComparisonValue(typing.TypedDict, total=False): boolValue: bool - contentDurationValue: typing_extensions.Literal[ + contentDurationValue: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -672,12 +671,12 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "CONTENT_DURATION_OVER_60_MIN", ] contentGenreIdValue: str - contentStreamTypeValue: typing_extensions.Literal[ + contentStreamTypeValue: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] creativeDimensionValue: Dimensions dayAndTimeValue: DayAndTime - deviceTypeValue: typing_extensions.Literal[ + deviceTypeValue: typing.Literal[ "RULE_DEVICE_TYPE_UNSPECIFIED", "RULE_DEVICE_TYPE_COMPUTER", "RULE_DEVICE_TYPE_CONNECTED_TV", @@ -687,13 +686,13 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "RULE_DEVICE_TYPE_SET_TOP_BOX", ] doubleValue: float - environmentValue: typing_extensions.Literal[ + environmentValue: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", "ENVIRONMENT_APP", ] - exchangeValue: typing_extensions.Literal[ + exchangeValue: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -786,14 +785,14 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_EXTE", ] int64Value: str - onScreenPositionValue: typing_extensions.Literal[ + onScreenPositionValue: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", "ON_SCREEN_POSITION_BELOW_THE_FOLD", ] stringValue: str - videoPlayerSizeValue: typing_extensions.Literal[ + videoPlayerSizeValue: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -802,13 +801,11 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlgorithmRulesFloodlightActivityConversionSignal( - typing_extensions.TypedDict, total=False -): - conversionCounting: typing_extensions.Literal[ +class AlgorithmRulesFloodlightActivityConversionSignal(typing.TypedDict, total=False): + conversionCounting: typing.Literal[ "CONVERSION_COUNTING_UNSPECIFIED", "ALL_CONVERSIONS", "POST_CLICK", "POST_VIEW" ] - countingMethod: typing_extensions.Literal[ + countingMethod: typing.Literal[ "COUNTING_METHOD_UNSPECIFIED", "CONVERSIONS_COUNT", "SALES_QUANTITY", @@ -818,18 +815,18 @@ class AlgorithmRulesFloodlightActivityConversionSignal( floodlightActivityId: str @typing.type_check_only -class AlgorithmRulesRule(typing_extensions.TypedDict, total=False): +class AlgorithmRulesRule(typing.TypedDict, total=False): conditions: _list[AlgorithmRulesRuleCondition] defaultReturnValue: AlgorithmRulesSignalValue @typing.type_check_only -class AlgorithmRulesRuleCondition(typing_extensions.TypedDict, total=False): +class AlgorithmRulesRuleCondition(typing.TypedDict, total=False): returnValue: AlgorithmRulesSignalValue signalComparisons: _list[AlgorithmRulesSignalComparison] @typing.type_check_only -class AlgorithmRulesRuleset(typing_extensions.TypedDict, total=False): - aggregationType: typing_extensions.Literal[ +class AlgorithmRulesRuleset(typing.TypedDict, total=False): + aggregationType: typing.Literal[ "RULE_AGGREGATION_TYPE_UNSPECIFIED", "SUM_OF_VALUES", "PRODUCT_OF_VALUES", @@ -839,8 +836,8 @@ class AlgorithmRulesRuleset(typing_extensions.TypedDict, total=False): rules: _list[AlgorithmRulesRule] @typing.type_check_only -class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): - activeViewSignal: typing_extensions.Literal[ +class AlgorithmRulesSignal(typing.TypedDict, total=False): + activeViewSignal: typing.Literal[ "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", "ACTIVE_VIEW_VIEWED", "AUDIBLE", @@ -850,8 +847,8 @@ class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): "COMPLETED_IN_VIEW_AUDIBLE", "AUDIO_COMPLETED", ] - clickSignal: typing_extensions.Literal["CLICK_SIGNAL_UNSPECIFIED", "CLICK"] - impressionSignal: typing_extensions.Literal[ + clickSignal: typing.Literal["CLICK_SIGNAL_UNSPECIFIED", "CLICK"] + impressionSignal: typing.Literal[ "IMPRESSION_SIGNAL_UNSPECIFIED", "DAY_AND_TIME", "DEVICE_TYPE", @@ -870,8 +867,8 @@ class AlgorithmRulesSignal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): - comparisonOperator: typing_extensions.Literal[ +class AlgorithmRulesSignalComparison(typing.TypedDict, total=False): + comparisonOperator: typing.Literal[ "COMPARISON_OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", @@ -884,8 +881,8 @@ class AlgorithmRulesSignalComparison(typing_extensions.TypedDict, total=False): signal: AlgorithmRulesSignal @typing.type_check_only -class AlgorithmRulesSignalValue(typing_extensions.TypedDict, total=False): - activeViewSignal: typing_extensions.Literal[ +class AlgorithmRulesSignalValue(typing.TypedDict, total=False): + activeViewSignal: typing.Literal[ "ACTIVE_VIEW_SIGNAL_UNSPECIFIED", "ACTIVE_VIEW_VIEWED", "AUDIBLE", @@ -899,9 +896,9 @@ class AlgorithmRulesSignalValue(typing_extensions.TypedDict, total=False): number: float @typing.type_check_only -class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppAssignedTargetingOptionDetails(typing.TypedDict, total=False): appId: str - appPlatform: typing_extensions.Literal[ + appPlatform: typing.Literal[ "APP_PLATFORM_UNSPECIFIED", "APP_PLATFORM_IOS", "APP_PLATFORM_ANDROID", @@ -921,26 +918,24 @@ class AppAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False negative: bool @typing.type_check_only -class AppCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AppCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class AppCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class AppCategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): content: str mediaId: str @typing.type_check_only -class AssetAssociation(typing_extensions.TypedDict, total=False): +class AssetAssociation(typing.TypedDict, total=False): asset: Asset - role: typing_extensions.Literal[ + role: typing.Literal[ "ASSET_ROLE_UNSPECIFIED", "ASSET_ROLE_MAIN", "ASSET_ROLE_BACKUP", @@ -966,19 +961,19 @@ class AssetAssociation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AssignedInventorySource(typing_extensions.TypedDict, total=False): +class AssignedInventorySource(typing.TypedDict, total=False): assignedInventorySourceId: str inventorySourceId: str name: str @typing.type_check_only -class AssignedLocation(typing_extensions.TypedDict, total=False): +class AssignedLocation(typing.TypedDict, total=False): assignedLocationId: str name: str targetingOptionId: str @typing.type_check_only -class AssignedTargetingOption(typing_extensions.TypedDict, total=False): +class AssignedTargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeAssignedTargetingOptionDetails appCategoryDetails: AppCategoryAssignedTargetingOptionDetails appDetails: AppAssignedTargetingOptionDetails @@ -1013,7 +1008,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): genderDetails: GenderAssignedTargetingOptionDetails geoRegionDetails: GeoRegionAssignedTargetingOptionDetails householdIncomeDetails: HouseholdIncomeAssignedTargetingOptionDetails - inheritance: typing_extensions.Literal[ + inheritance: typing.Literal[ "INHERITANCE_UNSPECIFIED", "NOT_INHERITED", "INHERITED_FROM_PARTNER", @@ -1036,7 +1031,7 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): sensitiveCategoryExclusionDetails: SensitiveCategoryAssignedTargetingOptionDetails sessionPositionDetails: SessionPositionAssignedTargetingOptionDetails subExchangeDetails: SubExchangeAssignedTargetingOptionDetails - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1099,11 +1094,11 @@ class AssignedTargetingOption(typing_extensions.TypedDict, total=False): youtubeVideoDetails: YoutubeVideoAssignedTargetingOptionDetails @typing.type_check_only -class AssignedUserRole(typing_extensions.TypedDict, total=False): +class AssignedUserRole(typing.TypedDict, total=False): advertiserId: str assignedUserRoleId: str partnerId: str - userRole: typing_extensions.Literal[ + userRole: typing.Literal[ "USER_ROLE_UNSPECIFIED", "ADMIN", "ADMIN_PARTNER_CLIENT", @@ -1119,9 +1114,7 @@ class AssignedUserRole(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AudienceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class AudienceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): excludedFirstPartyAndPartnerAudienceGroup: FirstPartyAndPartnerAudienceGroup excludedGoogleAudienceGroup: GoogleAudienceGroup includedCombinedAudienceGroup: CombinedAudienceGroup @@ -1130,17 +1123,15 @@ class AudienceGroupAssignedTargetingOptionDetails( includedGoogleAudienceGroup: GoogleAudienceGroup @typing.type_check_only -class AudioAd(typing_extensions.TypedDict, total=False): +class AudioAd(typing.TypedDict, total=False): displayUrl: str finalUrl: str trackingUrl: str video: YoutubeVideoDetails @typing.type_check_only -class AudioContentTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -1153,8 +1144,8 @@ class AudioContentTypeAssignedTargetingOptionDetails( ] @typing.type_check_only -class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - audioContentType: typing_extensions.Literal[ +class AudioContentTypeTargetingOptionDetails(typing.TypedDict, total=False): + audioContentType: typing.Literal[ "AUDIO_CONTENT_TYPE_UNSPECIFIED", "AUDIO_CONTENT_TYPE_UNKNOWN", "AUDIO_CONTENT_TYPE_MUSIC", @@ -1167,12 +1158,12 @@ class AudioContentTypeTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class AudioVideoOffset(typing_extensions.TypedDict, total=False): +class AudioVideoOffset(typing.TypedDict, total=False): percentage: str seconds: str @typing.type_check_only -class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): +class AuditAdvertiserResponse(typing.TypedDict, total=False): adGroupCriteriaCount: str campaignCriteriaCount: str channelsCount: str @@ -1184,9 +1175,9 @@ class AuditAdvertiserResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class AuthorizedSellerStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - authorizedSellerStatus: typing_extensions.Literal[ + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", @@ -1194,17 +1185,15 @@ class AuthorizedSellerStatusAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class AuthorizedSellerStatusTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - authorizedSellerStatus: typing_extensions.Literal[ +class AuthorizedSellerStatusTargetingOptionDetails(typing.TypedDict, total=False): + authorizedSellerStatus: typing.Literal[ "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS", ] @typing.type_check_only -class BiddingStrategy(typing_extensions.TypedDict, total=False): +class BiddingStrategy(typing.TypedDict, total=False): demandGenBid: DemandGenBiddingStrategy fixedBid: FixedBidStrategy maximizeSpendAutoBid: MaximizeSpendBidStrategy @@ -1212,17 +1201,17 @@ class BiddingStrategy(typing_extensions.TypedDict, total=False): youtubeAndPartnersBid: YoutubeAndPartnersBiddingStrategy @typing.type_check_only -class BrowserAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class BrowserTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BrowserTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class BudgetSummary(typing_extensions.TypedDict, total=False): +class BudgetSummary(typing.TypedDict, total=False): externalBudgetId: str preTaxAmountMicros: str prismaCpeCode: PrismaCpeCode @@ -1230,179 +1219,155 @@ class BudgetSummary(typing_extensions.TypedDict, total=False): totalAmountMicros: str @typing.type_check_only -class BulkCreateAdAssetsRequest(typing_extensions.TypedDict, total=False): +class BulkCreateAdAssetsRequest(typing.TypedDict, total=False): adAssets: _list[AdAsset] @typing.type_check_only -class BulkCreateAdAssetsResponse(typing_extensions.TypedDict, total=False): +class BulkCreateAdAssetsResponse(typing.TypedDict, total=False): adAssets: _list[AdAsset] @typing.type_check_only -class BulkEditAdGroupAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditAdGroupAssignedTargetingOptionsRequest(typing.TypedDict, total=False): adGroupIds: _list[str] createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): errors: _list[Status] failedAdGroupIds: _list[str] updatedAdGroupIds: _list[str] @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditAssignedInventorySourcesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedInventorySourcesRequest(typing.TypedDict, total=False): advertiserId: str createdAssignedInventorySources: _list[AssignedInventorySource] deletedAssignedInventorySources: _list[str] partnerId: str @typing.type_check_only -class BulkEditAssignedInventorySourcesResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] @typing.type_check_only -class BulkEditAssignedLocationsRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsRequest(typing.TypedDict, total=False): createdAssignedLocations: _list[AssignedLocation] deletedAssignedLocations: _list[str] @typing.type_check_only -class BulkEditAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] @typing.type_check_only -class BulkEditAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] lineItemIds: _list[str] @typing.type_check_only -class BulkEditAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditAssignedTargetingOptionsResponse(typing.TypedDict, total=False): errors: _list[Status] failedLineItemIds: _list[str] updatedLineItemIds: _list[str] @typing.type_check_only -class BulkEditAssignedUserRolesRequest(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesRequest(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] deletedAssignedUserRoles: _list[str] @typing.type_check_only -class BulkEditAssignedUserRolesResponse(typing_extensions.TypedDict, total=False): +class BulkEditAssignedUserRolesResponse(typing.TypedDict, total=False): createdAssignedUserRoles: _list[AssignedUserRole] @typing.type_check_only -class BulkEditNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsRequest(typing.TypedDict, total=False): createdNegativeKeywords: _list[NegativeKeyword] deletedNegativeKeywords: _list[str] @typing.type_check_only -class BulkEditNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class BulkEditNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsRequest( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsRequest(typing.TypedDict, total=False): createRequests: _list[CreateAssignedTargetingOptionsRequest] deleteRequests: _list[DeleteAssignedTargetingOptionsRequest] @typing.type_check_only -class BulkEditPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkEditPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): createdAssignedTargetingOptions: _list[AssignedTargetingOption] @typing.type_check_only -class BulkEditSitesRequest(typing_extensions.TypedDict, total=False): +class BulkEditSitesRequest(typing.TypedDict, total=False): advertiserId: str createdSites: _list[Site] deletedSites: _list[str] partnerId: str @typing.type_check_only -class BulkEditSitesResponse(typing_extensions.TypedDict, total=False): +class BulkEditSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class BulkListAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): adGroupAssignedTargetingOptions: _list[AdGroupAssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkListAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class BulkListAssignedTargetingOptionsResponse(typing.TypedDict, total=False): lineItemAssignedTargetingOptions: _list[LineItemAssignedTargetingOption] nextPageToken: str @typing.type_check_only -class BulkUpdateLineItemsRequest(typing_extensions.TypedDict, total=False): +class BulkUpdateLineItemsRequest(typing.TypedDict, total=False): lineItemIds: _list[str] targetLineItem: LineItem updateMask: str @typing.type_check_only -class BulkUpdateLineItemsResponse(typing_extensions.TypedDict, total=False): +class BulkUpdateLineItemsResponse(typing.TypedDict, total=False): errors: _list[Status] failedLineItemIds: _list[str] skippedLineItemIds: _list[str] updatedLineItemIds: _list[str] @typing.type_check_only -class BumperAd(typing_extensions.TypedDict, total=False): +class BumperAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute @typing.type_check_only -class BusinessChainAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class BusinessChainAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class BusinessChainSearchTerms(typing_extensions.TypedDict, total=False): +class BusinessChainSearchTerms(typing.TypedDict, total=False): businessChainQuery: str regionQuery: str @typing.type_check_only -class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class BusinessChainTargetingOptionDetails(typing.TypedDict, total=False): businessChain: str geoRegion: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -1443,17 +1408,38 @@ class BusinessChainTargetingOptionDetails(typing_extensions.TypedDict, total=Fal "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", - ] - -@typing.type_check_only -class Campaign(typing_extensions.TypedDict, total=False): + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", + ] + +@typing.type_check_only +class Campaign(typing.TypedDict, total=False): advertiserId: str campaignBudgets: _list[CampaignBudget] campaignFlight: CampaignFlight campaignGoal: CampaignGoal campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1466,16 +1452,16 @@ class Campaign(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CampaignBudget(typing_extensions.TypedDict, total=False): +class CampaignBudget(typing.TypedDict, total=False): budgetAmountMicros: str budgetId: str - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] dateRange: DateRange displayName: str externalBudgetId: str - externalBudgetSource: typing_extensions.Literal[ + externalBudgetSource: typing.Literal[ "EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", "EXTERNAL_BUDGET_SOURCE_NONE", "EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN", @@ -1484,18 +1470,18 @@ class CampaignBudget(typing_extensions.TypedDict, total=False): prismaConfig: PrismaConfig @typing.type_check_only -class CampaignDuration(typing_extensions.TypedDict, total=False): +class CampaignDuration(typing.TypedDict, total=False): dateRange: DateRange durationDays: int @typing.type_check_only -class CampaignFlight(typing_extensions.TypedDict, total=False): +class CampaignFlight(typing.TypedDict, total=False): plannedDates: DateRange plannedSpendAmountMicros: str @typing.type_check_only -class CampaignGoal(typing_extensions.TypedDict, total=False): - campaignGoalType: typing_extensions.Literal[ +class CampaignGoal(typing.TypedDict, total=False): + campaignGoalType: typing.Literal[ "CAMPAIGN_GOAL_TYPE_UNSPECIFIED", "CAMPAIGN_GOAL_TYPE_APP_INSTALL", "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", @@ -1505,7 +1491,7 @@ class CampaignGoal(typing_extensions.TypedDict, total=False): performanceGoal: PerformanceGoal @typing.type_check_only -class CarouselCard(typing_extensions.TypedDict, total=False): +class CarouselCard(typing.TypedDict, total=False): callToAction: str finalMobileUrl: str finalUrl: str @@ -1515,34 +1501,32 @@ class CarouselCard(typing_extensions.TypedDict, total=False): squareMarketingImage: ImageAsset @typing.type_check_only -class CarrierAndIspAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class CarrierAndIspAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CarrierAndIspTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CarrierAndIspTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CARRIER_AND_ISP_TYPE_UNSPECIFIED", "CARRIER_AND_ISP_TYPE_ISP", "CARRIER_AND_ISP_TYPE_CARRIER", ] @typing.type_check_only -class CategoryAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class CategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class CategoryTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): advertiserId: str channelId: str displayName: str @@ -1552,12 +1536,12 @@ class Channel(typing_extensions.TypedDict, total=False): positivelyTargetedLineItemCount: str @typing.type_check_only -class ChannelAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ChannelAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelId: str negative: bool @typing.type_check_only -class CmHybridConfig(typing_extensions.TypedDict, total=False): +class CmHybridConfig(typing.TypedDict, total=False): cmAccountId: str cmAdvertiserIds: _list[str] cmFloodlightConfigId: str @@ -1567,27 +1551,27 @@ class CmHybridConfig(typing_extensions.TypedDict, total=False): dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class CmTrackingAd(typing_extensions.TypedDict, total=False): +class CmTrackingAd(typing.TypedDict, total=False): cmAdId: str cmCreativeId: str cmPlacementId: str @typing.type_check_only -class CombinedAudience(typing_extensions.TypedDict, total=False): +class CombinedAudience(typing.TypedDict, total=False): combinedAudienceId: str displayName: str name: str @typing.type_check_only -class CombinedAudienceGroup(typing_extensions.TypedDict, total=False): +class CombinedAudienceGroup(typing.TypedDict, total=False): settings: _list[CombinedAudienceTargetingSetting] @typing.type_check_only -class CombinedAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class CombinedAudienceTargetingSetting(typing.TypedDict, total=False): combinedAudienceId: str @typing.type_check_only -class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): +class CommonInStreamAttribute(typing.TypedDict, total=False): actionButtonLabel: str actionHeadline: str companionBanner: ImageAsset @@ -1597,16 +1581,16 @@ class CommonInStreamAttribute(typing_extensions.TypedDict, total=False): video: YoutubeVideoDetails @typing.type_check_only -class Consent(typing_extensions.TypedDict, total=False): - adPersonalization: typing_extensions.Literal[ +class Consent(typing.TypedDict, total=False): + adPersonalization: typing.Literal[ "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" ] - adUserData: typing_extensions.Literal[ + adUserData: typing.Literal[ "CONSENT_STATUS_UNSPECIFIED", "CONSENT_STATUS_GRANTED", "CONSENT_STATUS_DENIED" ] @typing.type_check_only -class ContactInfo(typing_extensions.TypedDict, total=False): +class ContactInfo(typing.TypedDict, total=False): countryCode: str hashedEmails: _list[str] hashedFirstName: str @@ -1615,15 +1599,13 @@ class ContactInfo(typing_extensions.TypedDict, total=False): zipCodes: _list[str] @typing.type_check_only -class ContactInfoList(typing_extensions.TypedDict, total=False): +class ContactInfoList(typing.TypedDict, total=False): consent: Consent contactInfos: _list[ContactInfo] @typing.type_check_only -class ContentDurationAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentDuration: typing_extensions.Literal[ +class ContentDurationAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -1636,8 +1618,8 @@ class ContentDurationAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentDuration: typing_extensions.Literal[ +class ContentDurationTargetingOptionDetails(typing.TypedDict, total=False): + contentDuration: typing.Literal[ "CONTENT_DURATION_UNSPECIFIED", "CONTENT_DURATION_UNKNOWN", "CONTENT_DURATION_0_TO_1_MIN", @@ -1649,25 +1631,23 @@ class ContentDurationTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ContentGenreAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ContentGenreAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class ContentGenreTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class ContentGenreTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only class ContentInstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentInstreamPosition: typing_extensions.Literal[ + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -1676,10 +1656,8 @@ class ContentInstreamPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class ContentInstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentInstreamPosition: typing_extensions.Literal[ +class ContentInstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentInstreamPosition: typing.Literal[ "CONTENT_INSTREAM_POSITION_UNSPECIFIED", "CONTENT_INSTREAM_POSITION_PRE_ROLL", "CONTENT_INSTREAM_POSITION_MID_ROLL", @@ -1689,12 +1667,12 @@ class ContentInstreamPositionTargetingOptionDetails( @typing.type_check_only class ContentOutstreamPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adType: typing_extensions.Literal[ + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - contentOutstreamPosition: typing_extensions.Literal[ + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -1704,10 +1682,8 @@ class ContentOutstreamPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class ContentOutstreamPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentOutstreamPosition: typing_extensions.Literal[ +class ContentOutstreamPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentOutstreamPosition: typing.Literal[ "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", "CONTENT_OUTSTREAM_POSITION_UNKNOWN", "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", @@ -1717,25 +1693,21 @@ class ContentOutstreamPositionTargetingOptionDetails( ] @typing.type_check_only -class ContentStreamTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] targetingOptionId: str @typing.type_check_only -class ContentStreamTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentStreamType: typing_extensions.Literal[ +class ContentStreamTypeTargetingOptionDetails(typing.TypedDict, total=False): + contentStreamType: typing.Literal[ "CONTENT_STREAM_TYPE_UNSPECIFIED", "CONTENT_LIVE_STREAM", "CONTENT_ON_DEMAND" ] @typing.type_check_only -class ContentThemeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentTheme: typing_extensions.Literal[ +class ContentThemeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + contentTheme: typing.Literal[ "CONTENT_THEME_UNSPECIFIED", "CONTENT_THEME_FIGHTING_VIDEO_GAMES", "CONTENT_THEME_MATURE_GAMES", @@ -1747,7 +1719,7 @@ class ContentThemeAssignedTargetingOptionDetails( "CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", "CONTENT_THEME_UNPLEASANT_NEWS", ] - excludedContentTheme: typing_extensions.Literal[ + excludedContentTheme: typing.Literal[ "CONTENT_THEME_UNSPECIFIED", "CONTENT_THEME_FIGHTING_VIDEO_GAMES", "CONTENT_THEME_MATURE_GAMES", @@ -1762,8 +1734,8 @@ class ContentThemeAssignedTargetingOptionDetails( excludedTargetingOptionId: str @typing.type_check_only -class ContentThemeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - contentTheme: typing_extensions.Literal[ +class ContentThemeTargetingOptionDetails(typing.TypedDict, total=False): + contentTheme: typing.Literal[ "CONTENT_THEME_UNSPECIFIED", "CONTENT_THEME_FIGHTING_VIDEO_GAMES", "CONTENT_THEME_MATURE_GAMES", @@ -1777,32 +1749,32 @@ class ContentThemeTargetingOptionDetails(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class ConversionCountingConfig(typing_extensions.TypedDict, total=False): +class ConversionCountingConfig(typing.TypedDict, total=False): floodlightActivityConfigs: _list[TrackingFloodlightActivityConfig] postViewCountPercentageMillis: str primaryAttributionModelId: str @typing.type_check_only -class CounterEvent(typing_extensions.TypedDict, total=False): +class CounterEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class CreateAdAssetRequest(typing_extensions.TypedDict, total=False): +class CreateAdAssetRequest(typing.TypedDict, total=False): adAsset: AdAsset @typing.type_check_only -class CreateAssetRequest(typing_extensions.TypedDict, total=False): +class CreateAssetRequest(typing.TypedDict, total=False): filename: str @typing.type_check_only -class CreateAssetResponse(typing_extensions.TypedDict, total=False): +class CreateAssetResponse(typing.TypedDict, total=False): asset: Asset @typing.type_check_only -class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class CreateAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -1857,13 +1829,13 @@ class CreateAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): +class CreateSdfDownloadTaskRequest(typing.TypedDict, total=False): advertiserId: str idFilter: IdFilter inventorySourceFilter: InventorySourceFilter parentEntityFilter: ParentEntityFilter partnerId: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -1884,10 +1856,11 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): additionalDimensions: _list[Dimensions] advertiserId: str appendedTag: str @@ -1898,7 +1871,7 @@ class Creative(typing_extensions.TypedDict, total=False): counterEvents: _list[CounterEvent] createTime: str creativeAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CREATIVE_ATTRIBUTE_UNSPECIFIED", "CREATIVE_ATTRIBUTE_VAST", "CREATIVE_ATTRIBUTE_VPAID_LINEAR", @@ -1906,7 +1879,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] ] creativeId: str - creativeType: typing_extensions.Literal[ + creativeType: typing.Literal[ "CREATIVE_TYPE_UNSPECIFIED", "CREATIVE_TYPE_STANDARD", "CREATIVE_TYPE_EXPANDABLE", @@ -1927,7 +1900,7 @@ class Creative(typing_extensions.TypedDict, total=False): dimensions: Dimensions displayName: str dynamic: bool - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -1937,7 +1910,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] exitEvents: _list[ExitEvent] expandOnHover: bool - expandingDirection: typing_extensions.Literal[ + expandingDirection: typing.Literal[ "EXPANDING_DIRECTION_UNSPECIFIED", "EXPANDING_DIRECTION_NONE", "EXPANDING_DIRECTION_UP", @@ -1952,7 +1925,7 @@ class Creative(typing_extensions.TypedDict, total=False): "EXPANDING_DIRECTION_LEFT_OR_RIGHT", "EXPANDING_DIRECTION_ANY_DIAGONAL", ] - hostingSource: typing_extensions.Literal[ + hostingSource: typing.Literal[ "HOSTING_SOURCE_UNSPECIFIED", "HOSTING_SOURCE_CM", "HOSTING_SOURCE_THIRD_PARTY", @@ -1977,6 +1950,11 @@ class Creative(typing_extensions.TypedDict, total=False): reviewStatus: ReviewStatusInfo skipOffset: AudioVideoOffset skippable: bool + syntheticContentAttestationStatus: typing.Literal[ + "SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED", + "NOT_SYNTHETIC", + "IS_SYNTHETIC", + ] thirdPartyTag: str thirdPartyUrls: _list[ThirdPartyUrl] timerEvents: _list[TimerEvent] @@ -1988,8 +1966,8 @@ class Creative(typing_extensions.TypedDict, total=False): vpaid: bool @typing.type_check_only -class CreativeConfig(typing_extensions.TypedDict, total=False): - creativeType: typing_extensions.Literal[ +class CreativeConfig(typing.TypedDict, total=False): + creativeType: typing.Literal[ "CREATIVE_TYPE_UNSPECIFIED", "CREATIVE_TYPE_STANDARD", "CREATIVE_TYPE_EXPANDABLE", @@ -2011,14 +1989,14 @@ class CreativeConfig(typing_extensions.TypedDict, total=False): videoCreativeConfig: InventorySourceVideoCreativeConfig @typing.type_check_only -class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithm(typing.TypedDict, total=False): advertiserId: str customBiddingAlgorithmId: str - customBiddingAlgorithmType: typing_extensions.Literal[ + customBiddingAlgorithmType: typing.Literal[ "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", "SCRIPT_BASED", "RULE_BASED" ] displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -2030,12 +2008,10 @@ class CustomBiddingAlgorithm(typing_extensions.TypedDict, total=False): name: str partnerId: str sharedAdvertiserIds: _list[str] - thirdPartyOptimizationPartner: typing_extensions.Literal[ - "UNKNOWN", "SCIBIDS", "ADELAIDE" - ] + thirdPartyOptimizationPartner: typing.Literal["UNKNOWN", "SCIBIDS", "ADELAIDE"] @typing.type_check_only -class CustomBiddingAlgorithmRules(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithmRules(typing.TypedDict, total=False): active: bool createTime: str customBiddingAlgorithmId: str @@ -2043,11 +2019,11 @@ class CustomBiddingAlgorithmRules(typing_extensions.TypedDict, total=False): error: CustomBiddingAlgorithmRulesError name: str rules: CustomBiddingAlgorithmRulesRef - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED"] @typing.type_check_only -class CustomBiddingAlgorithmRulesError(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class CustomBiddingAlgorithmRulesError(typing.TypedDict, total=False): + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "SYNTAX_ERROR", "CONSTRAINT_VIOLATION_ERROR", @@ -2055,13 +2031,13 @@ class CustomBiddingAlgorithmRulesError(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class CustomBiddingAlgorithmRulesRef(typing_extensions.TypedDict, total=False): +class CustomBiddingAlgorithmRulesRef(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): +class CustomBiddingModelDetails(typing.TypedDict, total=False): advertiserId: str - readinessState: typing_extensions.Literal[ + readinessState: typing.Literal[ "READINESS_STATE_UNSPECIFIED", "READINESS_STATE_ACTIVE", "READINESS_STATE_INSUFFICIENT_DATA", @@ -2069,7 +2045,7 @@ class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): "READINESS_STATE_NO_VALID_SCRIPT", "READINESS_STATE_EVALUATION_FAILURE", ] - suspensionState: typing_extensions.Literal[ + suspensionState: typing.Literal[ "SUSPENSION_STATE_UNSPECIFIED", "SUSPENSION_STATE_ENABLED", "SUSPENSION_STATE_DORMANT", @@ -2077,7 +2053,7 @@ class CustomBiddingModelDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CustomBiddingScript(typing_extensions.TypedDict, total=False): +class CustomBiddingScript(typing.TypedDict, total=False): active: bool createTime: str customBiddingAlgorithmId: str @@ -2085,17 +2061,15 @@ class CustomBiddingScript(typing_extensions.TypedDict, total=False): errors: _list[ScriptError] name: str script: CustomBiddingScriptRef - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACCEPTED", "REJECTED", "PENDING"] @typing.type_check_only -class CustomBiddingScriptRef(typing_extensions.TypedDict, total=False): +class CustomBiddingScriptRef(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class CustomLabel(typing_extensions.TypedDict, total=False): - key: typing_extensions.Literal[ +class CustomLabel(typing.TypedDict, total=False): + key: typing.Literal[ "CUSTOM_LABEL_KEY_UNSPECIFIED", "CUSTOM_LABEL_KEY_0", "CUSTOM_LABEL_KEY_1", @@ -2106,33 +2080,33 @@ class CustomLabel(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class CustomList(typing_extensions.TypedDict, total=False): +class CustomList(typing.TypedDict, total=False): customListId: str displayName: str name: str @typing.type_check_only -class CustomListGroup(typing_extensions.TypedDict, total=False): +class CustomListGroup(typing.TypedDict, total=False): settings: _list[CustomListTargetingSetting] @typing.type_check_only -class CustomListTargetingSetting(typing_extensions.TypedDict, total=False): +class CustomListTargetingSetting(typing.TypedDict, total=False): customListId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): endDate: Date startDate: Date @typing.type_check_only -class DayAndTime(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class DayAndTime(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -2143,17 +2117,15 @@ class DayAndTime(typing_extensions.TypedDict, total=False): "SUNDAY", ] hourOfDay: int - timeZoneResolution: typing_extensions.Literal[ + timeZoneResolution: typing.Literal[ "TIME_ZONE_RESOLUTION_UNSPECIFIED", "TIME_ZONE_RESOLUTION_END_USER", "TIME_ZONE_RESOLUTION_ADVERTISER", ] @typing.type_check_only -class DayAndTimeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - dayOfWeek: typing_extensions.Literal[ +class DayAndTimeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -2165,22 +2137,22 @@ class DayAndTimeAssignedTargetingOptionDetails( ] endHour: int startHour: int - timeZoneResolution: typing_extensions.Literal[ + timeZoneResolution: typing.Literal[ "TIME_ZONE_RESOLUTION_UNSPECIFIED", "TIME_ZONE_RESOLUTION_END_USER", "TIME_ZONE_RESOLUTION_ADVERTISER", ] @typing.type_check_only -class DcmTrackingInfo(typing_extensions.TypedDict, total=False): +class DcmTrackingInfo(typing.TypedDict, total=False): creativeId: str placementId: str trackingAdId: str @typing.type_check_only -class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class DeleteAssignedTargetingOptionsRequest(typing.TypedDict, total=False): assignedTargetingOptionIds: _list[str] - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -2235,14 +2207,14 @@ class DeleteAssignedTargetingOptionsRequest(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class DemandGenBiddingStrategy(typing_extensions.TypedDict, total=False): +class DemandGenBiddingStrategy(typing.TypedDict, total=False): effectiveBiddingValue: str - effectiveBiddingValueSource: typing_extensions.Literal[ + effectiveBiddingValueSource: typing.Literal[ "BIDDING_SOURCE_UNSPECIFIED", "BIDDING_SOURCE_LINE_ITEM", "BIDDING_SOURCE_AD_GROUP", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "DEMAND_GEN_BIDDING_STRATEGY_TYPE_UNSPECIFIED", "DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPA", "DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_ROAS", @@ -2254,7 +2226,7 @@ class DemandGenBiddingStrategy(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class DemandGenCarouselAd(typing_extensions.TypedDict, total=False): +class DemandGenCarouselAd(typing.TypedDict, total=False): businessName: str cards: _list[CarouselCard] customParameters: dict[str, typing.Any] @@ -2267,7 +2239,7 @@ class DemandGenCarouselAd(typing_extensions.TypedDict, total=False): userSpecifiedTrackingUrl: str @typing.type_check_only -class DemandGenImageAd(typing_extensions.TypedDict, total=False): +class DemandGenImageAd(typing.TypedDict, total=False): businessName: str callToAction: str customParameters: dict[str, typing.Any] @@ -2284,9 +2256,9 @@ class DemandGenImageAd(typing_extensions.TypedDict, total=False): userSpecifiedTrackingUrl: str @typing.type_check_only -class DemandGenProductAd(typing_extensions.TypedDict, total=False): +class DemandGenProductAd(typing.TypedDict, total=False): businessName: str - callToAction: typing_extensions.Literal[ + callToAction: typing.Literal[ "CALL_TO_ACTION_UNSPECIFIED", "AUTOMATED", "LEARN_MORE", @@ -2319,15 +2291,15 @@ class DemandGenProductAd(typing_extensions.TypedDict, total=False): userSpecifiedTrackingUrl: str @typing.type_check_only -class DemandGenSettings(typing_extensions.TypedDict, total=False): +class DemandGenSettings(typing.TypedDict, total=False): geoLanguageTargetingEnabled: bool linkedMerchantId: str thirdPartyMeasurementConfigs: ThirdPartyMeasurementConfigs @typing.type_check_only -class DemandGenVideoAd(typing_extensions.TypedDict, total=False): +class DemandGenVideoAd(typing.TypedDict, total=False): businessName: str - callToAction: typing_extensions.Literal[ + callToAction: typing.Literal[ "CALL_TO_ACTION_UNSPECIFIED", "AUTOMATED", "LEARN_MORE", @@ -2364,22 +2336,18 @@ class DemandGenVideoAd(typing_extensions.TypedDict, total=False): videos: _list[YoutubeVideoDetails] @typing.type_check_only -class DeviceMakeModelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class DeviceMakeModelAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class DeviceMakeModelTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class DeviceMakeModelTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class DeviceTypeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - deviceType: typing_extensions.Literal[ +class DeviceTypeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -2390,8 +2358,8 @@ class DeviceTypeAssignedTargetingOptionDetails( youtubeAndPartnersBidMultiplier: float @typing.type_check_only -class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceTypeTargetingOptionDetails(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -2401,10 +2369,8 @@ class DeviceTypeTargetingOptionDetails(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class DigitalContentLabelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - excludedContentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelAssignedTargetingOptionDetails(typing.TypedDict, total=False): + excludedContentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -2415,10 +2381,8 @@ class DigitalContentLabelAssignedTargetingOptionDetails( ] @typing.type_check_only -class DigitalContentLabelTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentRatingTier: typing_extensions.Literal[ +class DigitalContentLabelTargetingOptionDetails(typing.TypedDict, total=False): + contentRatingTier: typing.Literal[ "CONTENT_RATING_TIER_UNSPECIFIED", "CONTENT_RATING_TIER_UNRATED", "CONTENT_RATING_TIER_GENERAL", @@ -2429,19 +2393,19 @@ class DigitalContentLabelTargetingOptionDetails( ] @typing.type_check_only -class Dimensions(typing_extensions.TypedDict, total=False): +class Dimensions(typing.TypedDict, total=False): heightPixels: int widthPixels: int @typing.type_check_only -class DisplayVideoSourceAd(typing_extensions.TypedDict, total=False): +class DisplayVideoSourceAd(typing.TypedDict, total=False): creativeId: str @typing.type_check_only -class DoubleVerify(typing_extensions.TypedDict, total=False): +class DoubleVerify(typing.TypedDict, total=False): appStarRating: DoubleVerifyAppStarRating avoidedAgeRatings: _list[ - typing_extensions.Literal[ + typing.Literal[ "AGE_RATING_UNSPECIFIED", "APP_AGE_RATE_UNKNOWN", "APP_AGE_RATE_4_PLUS", @@ -2458,9 +2422,9 @@ class DoubleVerify(typing_extensions.TypedDict, total=False): videoViewability: DoubleVerifyVideoViewability @typing.type_check_only -class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): +class DoubleVerifyAppStarRating(typing.TypedDict, total=False): avoidInsufficientStarRating: bool - avoidedStarRating: typing_extensions.Literal[ + avoidedStarRating: typing.Literal[ "APP_STAR_RATE_UNSPECIFIED", "APP_STAR_RATE_1_POINT_5_LESS", "APP_STAR_RATE_2_LESS", @@ -2472,10 +2436,10 @@ class DoubleVerifyAppStarRating(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False): +class DoubleVerifyBrandSafetyCategories(typing.TypedDict, total=False): avoidUnknownBrandSafetyCategory: bool avoidedHighSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "HIGHER_SEVERITY_UNSPECIFIED", "ADULT_CONTENT_PORNOGRAPHY", "COPYRIGHT_INFRINGEMENT", @@ -2487,7 +2451,7 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] ] avoidedMediumSeverityCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEDIUM_SEVERITY_UNSPECIFIED", "AD_SERVERS", "ADULT_CONTENT_SWIMSUIT", @@ -2513,8 +2477,8 @@ class DoubleVerifyBrandSafetyCategories(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): - iab: typing_extensions.Literal[ +class DoubleVerifyDisplayViewability(typing.TypedDict, total=False): + iab: typing.Literal[ "IAB_VIEWED_RATE_UNSPECIFIED", "IAB_VIEWED_RATE_80_PERCENT_HIGHER", "IAB_VIEWED_RATE_75_PERCENT_HIGHER", @@ -2526,7 +2490,7 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWED_RATE_40_PERCENT_HIGHER", "IAB_VIEWED_RATE_30_PERCENT_HIGHER", ] - viewableDuring: typing_extensions.Literal[ + viewableDuring: typing.Literal[ "AVERAGE_VIEW_DURATION_UNSPECIFIED", "AVERAGE_VIEW_DURATION_5_SEC", "AVERAGE_VIEW_DURATION_10_SEC", @@ -2534,9 +2498,9 @@ class DoubleVerifyDisplayViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): +class DoubleVerifyFraudInvalidTraffic(typing.TypedDict, total=False): avoidInsufficientOption: bool - avoidedFraudOption: typing_extensions.Literal[ + avoidedFraudOption: typing.Literal[ "FRAUD_UNSPECIFIED", "AD_IMPRESSION_FRAUD_100", "AD_IMPRESSION_FRAUD_50", @@ -2549,15 +2513,15 @@ class DoubleVerifyFraudInvalidTraffic(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): - playerImpressionRate: typing_extensions.Literal[ +class DoubleVerifyVideoViewability(typing.TypedDict, total=False): + playerImpressionRate: typing.Literal[ "PLAYER_SIZE_400X300_UNSPECIFIED", "PLAYER_SIZE_400X300_95", "PLAYER_SIZE_400X300_70", "PLAYER_SIZE_400X300_25", "PLAYER_SIZE_400X300_5", ] - videoIab: typing_extensions.Literal[ + videoIab: typing.Literal[ "VIDEO_IAB_UNSPECIFIED", "IAB_VIEWABILITY_80_PERCENT_HIGHER", "IAB_VIEWABILITY_75_PERCENT_HIGHER", @@ -2569,7 +2533,7 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): "IAB_VIEWABILITY_40_PERCENT_HIHGER", "IAB_VIEWABILITY_30_PERCENT_HIHGER", ] - videoViewableRate: typing_extensions.Literal[ + videoViewableRate: typing.Literal[ "VIDEO_VIEWABLE_RATE_UNSPECIFIED", "VIEWED_PERFORMANCE_40_PERCENT_HIGHER", "VIEWED_PERFORMANCE_35_PERCENT_HIGHER", @@ -2580,8 +2544,8 @@ class DoubleVerifyVideoViewability(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): - containsEuPoliticalAds: typing_extensions.Literal[ +class DuplicateLineItemRequest(typing.TypedDict, total=False): + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", @@ -2589,11 +2553,11 @@ class DuplicateLineItemRequest(typing_extensions.TypedDict, total=False): targetDisplayName: str @typing.type_check_only -class DuplicateLineItemResponse(typing_extensions.TypedDict, total=False): +class DuplicateLineItemResponse(typing.TypedDict, total=False): duplicateLineItemId: str @typing.type_check_only -class EditCustomerMatchMembersRequest(typing_extensions.TypedDict, total=False): +class EditCustomerMatchMembersRequest(typing.TypedDict, total=False): addedContactInfoList: ContactInfoList addedMobileDeviceIdList: MobileDeviceIdList advertiserId: str @@ -2601,54 +2565,40 @@ class EditCustomerMatchMembersRequest(typing_extensions.TypedDict, total=False): removedMobileDeviceIdList: MobileDeviceIdList @typing.type_check_only -class EditCustomerMatchMembersResponse(typing_extensions.TypedDict, total=False): +class EditCustomerMatchMembersResponse(typing.TypedDict, total=False): firstPartyAndPartnerAudienceId: str @typing.type_check_only -class EditGuaranteedOrderReadAccessorsRequest(typing_extensions.TypedDict, total=False): +class EditGuaranteedOrderReadAccessorsRequest(typing.TypedDict, total=False): addedAdvertisers: _list[str] partnerId: str readAccessInherited: bool removedAdvertisers: _list[str] @typing.type_check_only -class EditGuaranteedOrderReadAccessorsResponse( - typing_extensions.TypedDict, total=False -): +class EditGuaranteedOrderReadAccessorsResponse(typing.TypedDict, total=False): readAccessInherited: bool readAdvertiserIds: _list[str] @typing.type_check_only -class EditInventorySourceReadWriteAccessorsRequest( - typing_extensions.TypedDict, total=False -): +class EditInventorySourceReadWriteAccessorsRequest(typing.TypedDict, total=False): advertisersUpdate: EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate assignPartner: bool partnerId: str @typing.type_check_only class EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): 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): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - environment: typing_extensions.Literal[ +class EnvironmentAssignedTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -2656,8 +2606,8 @@ class EnvironmentAssignedTargetingOptionDetails( ] @typing.type_check_only -class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False): - environment: typing_extensions.Literal[ +class EnvironmentTargetingOptionDetails(typing.TypedDict, total=False): + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_WEB_OPTIMIZED", "ENVIRONMENT_WEB_NOT_OPTIMIZED", @@ -2665,8 +2615,8 @@ class EnvironmentTargetingOptionDetails(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2760,12 +2710,12 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class ExchangeConfig(typing_extensions.TypedDict, total=False): +class ExchangeConfig(typing.TypedDict, total=False): enabledExchanges: _list[ExchangeConfigEnabledExchange] @typing.type_check_only -class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeConfigEnabledExchange(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2862,8 +2812,8 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): seatId: str @typing.type_check_only -class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeReviewStatus(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -2955,7 +2905,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_CADENT", "EXCHANGE_EXTE", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -2963,8 +2913,8 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - exchange: typing_extensions.Literal[ +class ExchangeTargetingOptionDetails(typing.TypedDict, total=False): + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -3058,10 +3008,10 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExitEvent(typing_extensions.TypedDict, total=False): +class ExitEvent(typing.TypedDict, total=False): name: str reportingName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "EXIT_EVENT_TYPE_UNSPECIFIED", "EXIT_EVENT_TYPE_DEFAULT", "EXIT_EVENT_TYPE_BACKUP", @@ -3069,10 +3019,10 @@ class ExitEvent(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class FirstPartyAndPartnerAudience(typing_extensions.TypedDict, total=False): +class FirstPartyAndPartnerAudience(typing.TypedDict, total=False): activeDisplayAudienceSize: str appId: str - audienceSource: typing_extensions.Literal[ + audienceSource: typing.Literal[ "AUDIENCE_SOURCE_UNSPECIFIED", "DISPLAY_VIDEO_360", "CAMPAIGN_MANAGER", @@ -3081,7 +3031,7 @@ class FirstPartyAndPartnerAudience(typing_extensions.TypedDict, total=False): "YOUTUBE", "ADS_DATA_HUB", ] - audienceType: typing_extensions.Literal[ + audienceType: typing.Literal[ "AUDIENCE_TYPE_UNSPECIFIED", "CUSTOMER_MATCH_CONTACT_INFO", "CUSTOMER_MATCH_DEVICE_ID", @@ -3103,7 +3053,7 @@ class FirstPartyAndPartnerAudience(typing_extensions.TypedDict, total=False): displayMobileWebAudienceSize: str displayName: str firstPartyAndPartnerAudienceId: str - firstPartyAndPartnerAudienceType: typing_extensions.Literal[ + firstPartyAndPartnerAudienceType: typing.Literal[ "FIRST_PARTY_AND_PARTNER_AUDIENCE_TYPE_UNSPECIFIED", "TYPE_FIRST_PARTY", "TYPE_PARTNER", @@ -3115,15 +3065,13 @@ class FirstPartyAndPartnerAudience(typing_extensions.TypedDict, total=False): youtubeAudienceSize: str @typing.type_check_only -class FirstPartyAndPartnerAudienceGroup(typing_extensions.TypedDict, total=False): +class FirstPartyAndPartnerAudienceGroup(typing.TypedDict, total=False): settings: _list[FirstPartyAndPartnerAudienceTargetingSetting] @typing.type_check_only -class FirstPartyAndPartnerAudienceTargetingSetting( - typing_extensions.TypedDict, total=False -): +class FirstPartyAndPartnerAudienceTargetingSetting(typing.TypedDict, total=False): firstPartyAndPartnerAudienceId: str - recency: typing_extensions.Literal[ + recency: typing.Literal[ "RECENCY_NO_LIMIT", "RECENCY_1_MINUTE", "RECENCY_5_MINUTES", @@ -3157,18 +3105,18 @@ class FirstPartyAndPartnerAudienceTargetingSetting( ] @typing.type_check_only -class FixedBidStrategy(typing_extensions.TypedDict, total=False): +class FixedBidStrategy(typing.TypedDict, total=False): bidAmountMicros: str @typing.type_check_only -class FloodlightActivity(typing_extensions.TypedDict, total=False): +class FloodlightActivity(typing.TypedDict, total=False): advertiserIds: _list[str] displayName: str floodlightActivityId: str floodlightGroupId: str name: str remarketingConfigs: _list[RemarketingConfig] - servingStatus: typing_extensions.Literal[ + servingStatus: typing.Literal[ "FLOODLIGHT_ACTIVITY_SERVING_STATUS_UNSPECIFIED", "FLOODLIGHT_ACTIVITY_SERVING_STATUS_ENABLED", "FLOODLIGHT_ACTIVITY_SERVING_STATUS_DISABLED", @@ -3176,14 +3124,14 @@ class FloodlightActivity(typing_extensions.TypedDict, total=False): sslRequired: bool @typing.type_check_only -class FloodlightGroup(typing_extensions.TypedDict, total=False): +class FloodlightGroup(typing.TypedDict, total=False): activeViewConfig: ActiveViewVideoViewabilityMetricConfig customVariables: dict[str, typing.Any] displayName: str floodlightGroupId: str lookbackWindow: LookbackWindow name: str - webTagType: typing_extensions.Literal[ + webTagType: typing.Literal[ "WEB_TAG_TYPE_UNSPECIFIED", "WEB_TAG_TYPE_NONE", "WEB_TAG_TYPE_IMAGE", @@ -3191,10 +3139,10 @@ class FloodlightGroup(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FrequencyCap(typing_extensions.TypedDict, total=False): +class FrequencyCap(typing.TypedDict, total=False): maxImpressions: int maxViews: int - timeUnit: typing_extensions.Literal[ + timeUnit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "TIME_UNIT_LIFETIME", "TIME_UNIT_MONTHS", @@ -3207,35 +3155,34 @@ class FrequencyCap(typing_extensions.TypedDict, total=False): unlimited: bool @typing.type_check_only -class GenderAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderAssignedTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] @typing.type_check_only -class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): - gender: typing_extensions.Literal[ +class GenderTargetingOptionDetails(typing.TypedDict, total=False): + gender: typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] @typing.type_check_only -class GenerateReachForecastRequest(typing_extensions.TypedDict, total=False): +class GenerateReachForecastRequest(typing.TypedDict, total=False): campaignDuration: CampaignDuration currencyCode: str - effectiveFrequencyBreakdownLimit: int minEffectiveFrequency: int plannedProducts: _list[PlannedProduct] targeting: Targeting @typing.type_check_only -class GenerateReachForecastResponse(typing_extensions.TypedDict, total=False): +class GenerateReachForecastResponse(typing.TypedDict, total=False): onTargetAudienceMetrics: OnTargetAudienceMetrics reachCurve: ReachCurve @typing.type_check_only -class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -3276,18 +3223,39 @@ class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", ] negative: bool targetingOptionId: str @typing.type_check_only -class GeoRegionSearchTerms(typing_extensions.TypedDict, total=False): +class GeoRegionSearchTerms(typing.TypedDict, total=False): geoRegionQuery: str @typing.type_check_only -class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class GeoRegionTargetingOptionDetails(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -3328,13 +3296,34 @@ class GeoRegionTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", - ] - -@typing.type_check_only -class GoogleAudience(typing_extensions.TypedDict, total=False): + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", + ] + +@typing.type_check_only +class GoogleAudience(typing.TypedDict, total=False): displayName: str googleAudienceId: str - googleAudienceType: typing_extensions.Literal[ + googleAudienceType: typing.Literal[ "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", "GOOGLE_AUDIENCE_TYPE_AFFINITY", "GOOGLE_AUDIENCE_TYPE_IN_MARKET", @@ -3346,23 +3335,23 @@ class GoogleAudience(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleAudienceGroup(typing_extensions.TypedDict, total=False): +class GoogleAudienceGroup(typing.TypedDict, total=False): settings: _list[GoogleAudienceTargetingSetting] @typing.type_check_only -class GoogleAudienceTargetingSetting(typing_extensions.TypedDict, total=False): +class GoogleAudienceTargetingSetting(typing.TypedDict, total=False): googleAudienceId: str @typing.type_check_only -class GoogleBytestreamMedia(typing_extensions.TypedDict, total=False): +class GoogleBytestreamMedia(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GuaranteedOrder(typing_extensions.TypedDict, total=False): +class GuaranteedOrder(typing.TypedDict, total=False): defaultAdvertiserId: str defaultCampaignId: str displayName: str - exchange: typing_extensions.Literal[ + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -3466,12 +3455,12 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): - configStatus: typing_extensions.Literal[ +class GuaranteedOrderStatus(typing.TypedDict, total=False): + configStatus: typing.Literal[ "GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", "PENDING", "COMPLETED" ] entityPauseReason: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3481,10 +3470,8 @@ class GuaranteedOrderStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HouseholdIncomeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -3496,8 +3483,8 @@ class HouseholdIncomeAssignedTargetingOptionDetails( ] @typing.type_check_only -class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - householdIncome: typing_extensions.Literal[ +class HouseholdIncomeTargetingOptionDetails(typing.TypedDict, total=False): + householdIncome: typing.Literal[ "HOUSEHOLD_INCOME_UNSPECIFIED", "HOUSEHOLD_INCOME_UNKNOWN", "HOUSEHOLD_INCOME_LOWER_50_PERCENT", @@ -3509,7 +3496,7 @@ class HouseholdIncomeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class IdFilter(typing_extensions.TypedDict, total=False): +class IdFilter(typing.TypedDict, total=False): adGroupAdIds: _list[str] adGroupIds: _list[str] adGroupQaIds: _list[str] @@ -3520,25 +3507,25 @@ class IdFilter(typing_extensions.TypedDict, total=False): mediaProductIds: _list[str] @typing.type_check_only -class ImageAsset(typing_extensions.TypedDict, total=False): +class ImageAsset(typing.TypedDict, total=False): assetId: str fileSize: str fullSize: Dimensions mimeType: str @typing.type_check_only -class InStreamAd(typing_extensions.TypedDict, total=False): +class InStreamAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute customParameters: dict[str, typing.Any] @typing.type_check_only -class InsertionOrder(typing_extensions.TypedDict, total=False): +class InsertionOrder(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy budget: InsertionOrderBudget campaignId: str displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3548,13 +3535,13 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): ] frequencyCap: FrequencyCap insertionOrderId: str - insertionOrderType: typing_extensions.Literal[ + insertionOrderType: typing.Literal[ "INSERTION_ORDER_TYPE_UNSPECIFIED", "RTB", "OVER_THE_TOP" ] integrationDetails: IntegrationDetails kpi: Kpi name: str - optimizationObjective: typing_extensions.Literal[ + optimizationObjective: typing.Literal[ "OPTIMIZATION_OBJECTIVE_UNSPECIFIED", "CONVERSION", "CLICK", @@ -3564,7 +3551,7 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): ] pacing: Pacing partnerCosts: _list[PartnerCost] - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -3575,29 +3562,29 @@ class InsertionOrder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InsertionOrderBudget(typing_extensions.TypedDict, total=False): - automationType: typing_extensions.Literal[ +class InsertionOrderBudget(typing.TypedDict, total=False): + automationType: typing.Literal[ "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", "INSERTION_ORDER_AUTOMATION_TYPE_NONE", "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET", ] budgetSegments: _list[InsertionOrderBudgetSegment] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] @typing.type_check_only -class InsertionOrderBudgetSegment(typing_extensions.TypedDict, total=False): +class InsertionOrderBudgetSegment(typing.TypedDict, total=False): budgetAmountMicros: str campaignBudgetId: str dateRange: DateRange description: str @typing.type_check_only -class IntegralAdScience(typing_extensions.TypedDict, total=False): +class IntegralAdScience(typing.TypedDict, total=False): customSegmentId: _list[str] - displayViewability: typing_extensions.Literal[ + displayViewability: typing.Literal[ "PERFORMANCE_VIEWABILITY_UNSPECIFIED", "PERFORMANCE_VIEWABILITY_40", "PERFORMANCE_VIEWABILITY_50", @@ -3605,40 +3592,36 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "PERFORMANCE_VIEWABILITY_70", ] excludeUnrateable: bool - excludedAdFraudRisk: typing_extensions.Literal[ + excludedAdFraudRisk: typing.Literal[ "SUSPICIOUS_ACTIVITY_UNSPECIFIED", "SUSPICIOUS_ACTIVITY_HR", "SUSPICIOUS_ACTIVITY_HMR", "SUSPICIOUS_ACTIVITY_FD", ] - excludedAdultRisk: typing_extensions.Literal[ - "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" - ] - excludedAlcoholRisk: typing_extensions.Literal[ + excludedAdultRisk: typing.Literal["ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR"] + excludedAlcoholRisk: typing.Literal[ "ALCOHOL_UNSPECIFIED", "ALCOHOL_HR", "ALCOHOL_HMR" ] - excludedDrugsRisk: typing_extensions.Literal[ - "DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR" - ] - excludedGamblingRisk: typing_extensions.Literal[ + excludedDrugsRisk: typing.Literal["DRUGS_UNSPECIFIED", "DRUGS_HR", "DRUGS_HMR"] + excludedGamblingRisk: typing.Literal[ "GAMBLING_UNSPECIFIED", "GAMBLING_HR", "GAMBLING_HMR" ] - excludedHateSpeechRisk: typing_extensions.Literal[ + excludedHateSpeechRisk: typing.Literal[ "HATE_SPEECH_UNSPECIFIED", "HATE_SPEECH_HR", "HATE_SPEECH_HMR" ] - excludedIllegalDownloadsRisk: typing_extensions.Literal[ + excludedIllegalDownloadsRisk: typing.Literal[ "ILLEGAL_DOWNLOADS_UNSPECIFIED", "ILLEGAL_DOWNLOADS_HR", "ILLEGAL_DOWNLOADS_HMR" ] - excludedOffensiveLanguageRisk: typing_extensions.Literal[ + excludedOffensiveLanguageRisk: typing.Literal[ "OFFENSIVE_LANGUAGE_UNSPECIFIED", "OFFENSIVE_LANGUAGE_HR", "OFFENSIVE_LANGUAGE_HMR", ] - excludedViolenceRisk: typing_extensions.Literal[ + excludedViolenceRisk: typing.Literal[ "VIOLENCE_UNSPECIFIED", "VIOLENCE_HR", "VIOLENCE_HMR" ] qualitySyncCustomSegmentId: _list[str] - traqScoreOption: typing_extensions.Literal[ + traqScoreOption: typing.Literal[ "TRAQ_UNSPECIFIED", "TRAQ_250", "TRAQ_500", @@ -3648,7 +3631,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "TRAQ_875", "TRAQ_1000", ] - videoViewability: typing_extensions.Literal[ + videoViewability: typing.Literal[ "VIDEO_VIEWABILITY_UNSPECIFIED", "VIDEO_VIEWABILITY_40", "VIDEO_VIEWABILITY_50", @@ -3657,26 +3640,26 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IntegrationDetails(typing_extensions.TypedDict, total=False): +class IntegrationDetails(typing.TypedDict, total=False): details: str integrationCode: str @typing.type_check_only -class InventorySource(typing_extensions.TypedDict, total=False): - commitment: typing_extensions.Literal[ +class InventorySource(typing.TypedDict, total=False): + commitment: typing.Literal[ "INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED", "INVENTORY_SOURCE_COMMITMENT_GUARANTEED", "INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED", ] creativeConfigs: _list[CreativeConfig] dealId: str - deliveryMethod: typing_extensions.Literal[ + deliveryMethod: typing.Literal[ "INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED", "INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC", "INVENTORY_SOURCE_DELIVERY_METHOD_TAG", ] displayName: str - exchange: typing_extensions.Literal[ + exchange: typing.Literal[ "EXCHANGE_UNSPECIFIED", "EXCHANGE_GOOGLE_AD_MANAGER", "EXCHANGE_APPNEXUS", @@ -3770,7 +3753,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): ] guaranteedOrderId: str inventorySourceId: str - inventorySourceProductType: typing_extensions.Literal[ + inventorySourceProductType: typing.Literal[ "INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED", "PREFERRED_DEAL", "PRIVATE_AUCTION", @@ -3782,7 +3765,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "PROGRAMMATIC_TV", "AUCTION_PACKAGE", ] - inventorySourceType: typing_extensions.Literal[ + inventorySourceType: typing.Literal[ "INVENTORY_SOURCE_TYPE_UNSPECIFIED", "INVENTORY_SOURCE_TYPE_PRIVATE", "INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE", @@ -3798,55 +3781,49 @@ class InventorySource(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InventorySourceAccessors(typing_extensions.TypedDict, total=False): +class InventorySourceAccessors(typing.TypedDict, total=False): advertisers: InventorySourceAccessorsAdvertiserAccessors partner: InventorySourceAccessorsPartnerAccessor @typing.type_check_only -class InventorySourceAccessorsAdvertiserAccessors( - typing_extensions.TypedDict, total=False -): +class InventorySourceAccessorsAdvertiserAccessors(typing.TypedDict, total=False): advertiserIds: _list[str] @typing.type_check_only -class InventorySourceAccessorsPartnerAccessor(typing_extensions.TypedDict, total=False): +class InventorySourceAccessorsPartnerAccessor(typing.TypedDict, total=False): partnerId: str @typing.type_check_only -class InventorySourceAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceId: str @typing.type_check_only -class InventorySourceDisplayCreativeConfig(typing_extensions.TypedDict, total=False): +class InventorySourceDisplayCreativeConfig(typing.TypedDict, total=False): creativeSize: Dimensions @typing.type_check_only -class InventorySourceFilter(typing_extensions.TypedDict, total=False): +class InventorySourceFilter(typing.TypedDict, total=False): inventorySourceIds: _list[str] @typing.type_check_only -class InventorySourceGroup(typing_extensions.TypedDict, total=False): +class InventorySourceGroup(typing.TypedDict, total=False): displayName: str inventorySourceGroupId: str name: str @typing.type_check_only -class InventorySourceGroupAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class InventorySourceGroupAssignedTargetingOptionDetails(typing.TypedDict, total=False): inventorySourceGroupId: str @typing.type_check_only -class InventorySourceStatus(typing_extensions.TypedDict, total=False): - configStatus: typing_extensions.Literal[ +class InventorySourceStatus(typing.TypedDict, total=False): + configStatus: typing.Literal[ "INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED", "INVENTORY_SOURCE_CONFIG_STATUS_PENDING", "INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED", ] entityPauseReason: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3855,7 +3832,7 @@ class InventorySourceStatus(typing_extensions.TypedDict, total=False): "ENTITY_STATUS_SCHEDULED_FOR_DELETION", ] sellerPauseReason: str - sellerStatus: typing_extensions.Literal[ + sellerStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3865,11 +3842,11 @@ class InventorySourceStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InventorySourceVideoCreativeConfig(typing_extensions.TypedDict, total=False): +class InventorySourceVideoCreativeConfig(typing.TypedDict, total=False): duration: str @typing.type_check_only -class Invoice(typing_extensions.TypedDict, total=False): +class Invoice(typing.TypedDict, total=False): budgetInvoiceGroupingId: str budgetSummaries: _list[BudgetSummary] correctedInvoiceId: str @@ -3877,7 +3854,7 @@ class Invoice(typing_extensions.TypedDict, total=False): displayName: str dueDate: Date invoiceId: str - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "INVOICE_TYPE_UNSPECIFIED", "INVOICE_TYPE_CREDIT", "INVOICE_TYPE_INVOICE" ] issueDate: Date @@ -3894,18 +3871,18 @@ class Invoice(typing_extensions.TypedDict, total=False): totalTaxAmountMicros: str @typing.type_check_only -class KeywordAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class KeywordAssignedTargetingOptionDetails(typing.TypedDict, total=False): exemptedPolicyNames: _list[str] keyword: str negative: bool @typing.type_check_only -class Kpi(typing_extensions.TypedDict, total=False): +class Kpi(typing.TypedDict, total=False): kpiAlgorithmId: str kpiAmountMicros: str kpiPercentageMicros: str kpiString: str - kpiType: typing_extensions.Literal[ + kpiType: typing.Literal[ "KPI_TYPE_UNSPECIFIED", "KPI_TYPE_CPM", "KPI_TYPE_CPC", @@ -3930,22 +3907,22 @@ class Kpi(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LanguageAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class LanguageTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class LanguageTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class LineItem(typing_extensions.TypedDict, total=False): +class LineItem(typing.TypedDict, total=False): advertiserId: str bidStrategy: BiddingStrategy budget: LineItemBudget campaignId: str - containsEuPoliticalAds: typing_extensions.Literal[ + containsEuPoliticalAds: typing.Literal[ "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", @@ -3954,7 +3931,7 @@ class LineItem(typing_extensions.TypedDict, total=False): creativeIds: _list[str] demandGenSettings: DemandGenSettings displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -3968,7 +3945,7 @@ class LineItem(typing_extensions.TypedDict, total=False): insertionOrderId: str integrationDetails: IntegrationDetails lineItemId: str - lineItemType: typing_extensions.Literal[ + lineItemType: typing.Literal[ "LINE_ITEM_TYPE_UNSPECIFIED", "LINE_ITEM_TYPE_DISPLAY_DEFAULT", "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", @@ -3999,7 +3976,7 @@ class LineItem(typing_extensions.TypedDict, total=False): pacing: Pacing partnerCosts: _list[PartnerCost] partnerRevenueModel: PartnerRevenueModel - reservationType: typing_extensions.Literal[ + reservationType: typing.Literal[ "RESERVATION_TYPE_UNSPECIFIED", "RESERVATION_TYPE_NOT_GUARANTEED", "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", @@ -4010,7 +3987,7 @@ class LineItem(typing_extensions.TypedDict, total=False): targetingExpansion: TargetingExpansionConfig updateTime: str warningMessages: _list[ - typing_extensions.Literal[ + typing.Literal[ "LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", "INVALID_FLIGHT_DATES", "EXPIRED", @@ -4027,223 +4004,213 @@ class LineItem(typing_extensions.TypedDict, total=False): youtubeAndPartnersSettings: YoutubeAndPartnersSettings @typing.type_check_only -class LineItemAssignedTargetingOption(typing_extensions.TypedDict, total=False): +class LineItemAssignedTargetingOption(typing.TypedDict, total=False): assignedTargetingOption: AssignedTargetingOption lineItemId: str @typing.type_check_only -class LineItemBudget(typing_extensions.TypedDict, total=False): - budgetAllocationType: typing_extensions.Literal[ +class LineItemBudget(typing.TypedDict, total=False): + budgetAllocationType: typing.Literal[ "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED", ] - budgetUnit: typing_extensions.Literal[ + budgetUnit: typing.Literal[ "BUDGET_UNIT_UNSPECIFIED", "BUDGET_UNIT_CURRENCY", "BUDGET_UNIT_IMPRESSIONS" ] maxAmount: str @typing.type_check_only -class LineItemFlight(typing_extensions.TypedDict, total=False): +class LineItemFlight(typing.TypedDict, total=False): dateRange: DateRange - flightDateType: typing_extensions.Literal[ + flightDateType: typing.Literal[ "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM", ] @typing.type_check_only -class ListAdAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAdAssetsResponse(typing.TypedDict, total=False): adAssets: _list[AdAsset] nextPageToken: str @typing.type_check_only -class ListAdGroupAdsResponse(typing_extensions.TypedDict, total=False): +class ListAdGroupAdsResponse(typing.TypedDict, total=False): adGroupAds: _list[AdGroupAd] nextPageToken: str @typing.type_check_only -class ListAdGroupAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListAdGroupAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListAdGroupsResponse(typing_extensions.TypedDict, total=False): +class ListAdGroupsResponse(typing.TypedDict, total=False): adGroups: _list[AdGroup] nextPageToken: str @typing.type_check_only -class ListAdvertiserAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListAdvertiserAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListAdvertisersResponse(typing_extensions.TypedDict, total=False): +class ListAdvertisersResponse(typing.TypedDict, total=False): advertisers: _list[Advertiser] nextPageToken: str @typing.type_check_only -class ListAssignedInventorySourcesResponse(typing_extensions.TypedDict, total=False): +class ListAssignedInventorySourcesResponse(typing.TypedDict, total=False): assignedInventorySources: _list[AssignedInventorySource] nextPageToken: str @typing.type_check_only -class ListAssignedLocationsResponse(typing_extensions.TypedDict, total=False): +class ListAssignedLocationsResponse(typing.TypedDict, total=False): assignedLocations: _list[AssignedLocation] nextPageToken: str @typing.type_check_only -class ListCampaignsResponse(typing_extensions.TypedDict, total=False): +class ListCampaignsResponse(typing.TypedDict, total=False): campaigns: _list[Campaign] nextPageToken: str @typing.type_check_only -class ListChannelsResponse(typing_extensions.TypedDict, total=False): +class ListChannelsResponse(typing.TypedDict, total=False): channels: _list[Channel] nextPageToken: str @typing.type_check_only -class ListCombinedAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListCombinedAudiencesResponse(typing.TypedDict, total=False): combinedAudiences: _list[CombinedAudience] nextPageToken: str @typing.type_check_only -class ListCreativesResponse(typing_extensions.TypedDict, total=False): +class ListCreativesResponse(typing.TypedDict, total=False): creatives: _list[Creative] nextPageToken: str @typing.type_check_only -class ListCustomBiddingAlgorithmRulesResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingAlgorithmRulesResponse(typing.TypedDict, total=False): customBiddingRules: _list[CustomBiddingAlgorithmRules] nextPageToken: str @typing.type_check_only -class ListCustomBiddingAlgorithmsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingAlgorithmsResponse(typing.TypedDict, total=False): customBiddingAlgorithms: _list[CustomBiddingAlgorithm] nextPageToken: str @typing.type_check_only -class ListCustomBiddingScriptsResponse(typing_extensions.TypedDict, total=False): +class ListCustomBiddingScriptsResponse(typing.TypedDict, total=False): customBiddingScripts: _list[CustomBiddingScript] nextPageToken: str @typing.type_check_only -class ListCustomListsResponse(typing_extensions.TypedDict, total=False): +class ListCustomListsResponse(typing.TypedDict, total=False): customLists: _list[CustomList] nextPageToken: str @typing.type_check_only -class ListFirstPartyAndPartnerAudiencesResponse( - typing_extensions.TypedDict, total=False -): +class ListFirstPartyAndPartnerAudiencesResponse(typing.TypedDict, total=False): firstPartyAndPartnerAudiences: _list[FirstPartyAndPartnerAudience] nextPageToken: str @typing.type_check_only -class ListFloodlightActivitiesResponse(typing_extensions.TypedDict, total=False): +class ListFloodlightActivitiesResponse(typing.TypedDict, total=False): floodlightActivities: _list[FloodlightActivity] nextPageToken: str @typing.type_check_only -class ListGoogleAudiencesResponse(typing_extensions.TypedDict, total=False): +class ListGoogleAudiencesResponse(typing.TypedDict, total=False): googleAudiences: _list[GoogleAudience] nextPageToken: str @typing.type_check_only -class ListGuaranteedOrdersResponse(typing_extensions.TypedDict, total=False): +class ListGuaranteedOrdersResponse(typing.TypedDict, total=False): guaranteedOrders: _list[GuaranteedOrder] nextPageToken: str @typing.type_check_only -class ListInsertionOrdersResponse(typing_extensions.TypedDict, total=False): +class ListInsertionOrdersResponse(typing.TypedDict, total=False): insertionOrders: _list[InsertionOrder] nextPageToken: str @typing.type_check_only -class ListInventorySourceGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInventorySourceGroupsResponse(typing.TypedDict, total=False): inventorySourceGroups: _list[InventorySourceGroup] nextPageToken: str @typing.type_check_only -class ListInventorySourcesResponse(typing_extensions.TypedDict, total=False): +class ListInventorySourcesResponse(typing.TypedDict, total=False): inventorySources: _list[InventorySource] nextPageToken: str @typing.type_check_only -class ListInvoicesResponse(typing_extensions.TypedDict, total=False): +class ListInvoicesResponse(typing.TypedDict, total=False): invoices: _list[Invoice] nextPageToken: str @typing.type_check_only -class ListLineItemAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListLineItemAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListLineItemsResponse(typing_extensions.TypedDict, total=False): +class ListLineItemsResponse(typing.TypedDict, total=False): lineItems: _list[LineItem] nextPageToken: str @typing.type_check_only -class ListLocationListsResponse(typing_extensions.TypedDict, total=False): +class ListLocationListsResponse(typing.TypedDict, total=False): locationLists: _list[LocationList] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordListsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordListsResponse(typing.TypedDict, total=False): negativeKeywordLists: _list[NegativeKeywordList] nextPageToken: str @typing.type_check_only -class ListNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ListNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] nextPageToken: str @typing.type_check_only -class ListPartnerAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): +class ListPartnerAssignedTargetingOptionsResponse(typing.TypedDict, total=False): assignedTargetingOptions: _list[AssignedTargetingOption] nextPageToken: str @typing.type_check_only -class ListPartnersResponse(typing_extensions.TypedDict, total=False): +class ListPartnersResponse(typing.TypedDict, total=False): nextPageToken: str partners: _list[Partner] @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class ListTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class ListTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class ListYoutubeAssetAssociationsResponse(typing_extensions.TypedDict, total=False): +class ListYoutubeAssetAssociationsResponse(typing.TypedDict, total=False): nextPageToken: str youtubeAssetAssociations: _list[YoutubeAssetAssociation] @typing.type_check_only -class LocationList(typing_extensions.TypedDict, total=False): +class LocationList(typing.TypedDict, total=False): advertiserId: str displayName: str locationListId: str - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "TARGETING_LOCATION_TYPE_UNSPECIFIED", "TARGETING_LOCATION_TYPE_PROXIMITY", "TARGETING_LOCATION_TYPE_REGIONAL", @@ -4251,16 +4218,16 @@ class LocationList(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LookbackWindow(typing_extensions.TypedDict, total=False): +class LookbackWindow(typing.TypedDict, total=False): clickDays: int impressionDays: int @typing.type_check_only -class LookupInvoiceCurrencyResponse(typing_extensions.TypedDict, total=False): +class LookupInvoiceCurrencyResponse(typing.TypedDict, total=False): currencyCode: str @typing.type_check_only -class MastheadAd(typing_extensions.TypedDict, total=False): +class MastheadAd(typing.TypedDict, total=False): autoplayVideoDuration: str autoplayVideoStartMillisecond: str callToActionButtonLabel: str @@ -4271,17 +4238,17 @@ class MastheadAd(typing_extensions.TypedDict, total=False): headline: str showChannelArt: bool video: YoutubeVideoDetails - videoAspectRatio: typing_extensions.Literal[ + videoAspectRatio: typing.Literal[ "VIDEO_ASPECT_RATIO_UNSPECIFIED", "VIDEO_ASPECT_RATIO_WIDESCREEN", "VIDEO_ASPECT_RATIO_FIXED_16_9", ] @typing.type_check_only -class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): +class MaximizeSpendBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -4295,33 +4262,33 @@ class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): raiseBidForDeals: bool @typing.type_check_only -class MeasurementConfig(typing_extensions.TypedDict, total=False): +class MeasurementConfig(typing.TypedDict, total=False): dv360ToCmCostReportingEnabled: bool dv360ToCmDataSharingEnabled: bool @typing.type_check_only -class MobileApp(typing_extensions.TypedDict, total=False): +class MobileApp(typing.TypedDict, total=False): appId: str displayName: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID"] publisher: str @typing.type_check_only -class MobileDeviceIdList(typing_extensions.TypedDict, total=False): +class MobileDeviceIdList(typing.TypedDict, total=False): consent: Consent mobileDeviceIds: _list[str] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only class NativeContentPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contentPosition: typing_extensions.Literal[ + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -4331,10 +4298,8 @@ class NativeContentPositionAssignedTargetingOptionDetails( ] @typing.type_check_only -class NativeContentPositionTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - contentPosition: typing_extensions.Literal[ +class NativeContentPositionTargetingOptionDetails(typing.TypedDict, total=False): + contentPosition: typing.Literal[ "NATIVE_CONTENT_POSITION_UNSPECIFIED", "NATIVE_CONTENT_POSITION_UNKNOWN", "NATIVE_CONTENT_POSITION_IN_ARTICLE", @@ -4344,12 +4309,12 @@ class NativeContentPositionTargetingOptionDetails( ] @typing.type_check_only -class NegativeKeyword(typing_extensions.TypedDict, total=False): +class NegativeKeyword(typing.TypedDict, total=False): keywordValue: str name: str @typing.type_check_only -class NegativeKeywordList(typing_extensions.TypedDict, total=False): +class NegativeKeywordList(typing.TypedDict, total=False): advertiserId: str displayName: str name: str @@ -4357,22 +4322,20 @@ class NegativeKeywordList(typing_extensions.TypedDict, total=False): targetedLineItemCount: str @typing.type_check_only -class NegativeKeywordListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class NegativeKeywordListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negativeKeywordListId: str @typing.type_check_only -class NonSkippableAd(typing_extensions.TypedDict, total=False): +class NonSkippableAd(typing.TypedDict, total=False): commonInStreamAttribute: CommonInStreamAttribute customParameters: dict[str, typing.Any] @typing.type_check_only -class ObaIcon(typing_extensions.TypedDict, total=False): +class ObaIcon(typing.TypedDict, total=False): clickTrackingUrl: str dimensions: Dimensions landingPageUrl: str - position: typing_extensions.Literal[ + position: typing.Literal[ "OBA_ICON_POSITION_UNSPECIFIED", "OBA_ICON_POSITION_UPPER_RIGHT", "OBA_ICON_POSITION_UPPER_LEFT", @@ -4385,21 +4348,19 @@ class ObaIcon(typing_extensions.TypedDict, total=False): viewTrackingUrl: str @typing.type_check_only -class OmidAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidAssignedTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] @typing.type_check_only -class OmidTargetingOptionDetails(typing_extensions.TypedDict, total=False): - omid: typing_extensions.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] +class OmidTargetingOptionDetails(typing.TypedDict, total=False): + omid: typing.Literal["OMID_UNSPECIFIED", "OMID_FOR_MOBILE_DISPLAY_ADS"] @typing.type_check_only -class OnScreenPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - adType: typing_extensions.Literal[ +class OnScreenPositionAssignedTargetingOptionDetails(typing.TypedDict, total=False): + adType: typing.Literal[ "AD_TYPE_UNSPECIFIED", "AD_TYPE_DISPLAY", "AD_TYPE_VIDEO", "AD_TYPE_AUDIO" ] - onScreenPosition: typing_extensions.Literal[ + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -4408,8 +4369,8 @@ class OnScreenPositionAssignedTargetingOptionDetails( targetingOptionId: str @typing.type_check_only -class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total=False): - onScreenPosition: typing_extensions.Literal[ +class OnScreenPositionTargetingOptionDetails(typing.TypedDict, total=False): + onScreenPosition: typing.Literal[ "ON_SCREEN_POSITION_UNSPECIFIED", "ON_SCREEN_POSITION_UNKNOWN", "ON_SCREEN_POSITION_ABOVE_THE_FOLD", @@ -4417,24 +4378,22 @@ class OnScreenPositionTargetingOptionDetails(typing_extensions.TypedDict, total= ] @typing.type_check_only -class OnTargetAudienceMetrics(typing_extensions.TypedDict, total=False): +class OnTargetAudienceMetrics(typing.TypedDict, total=False): censusAudienceSize: str youtubeAudienceSize: str @typing.type_check_only -class OperatingSystemAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class OperatingSystemAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str negative: bool targetingOptionId: str @typing.type_check_only -class OperatingSystemTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class OperatingSystemTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -4442,13 +4401,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Pacing(typing_extensions.TypedDict, total=False): +class Pacing(typing.TypedDict, total=False): dailyMaxImpressions: str dailyMaxMicros: str - pacingPeriod: typing_extensions.Literal[ + pacingPeriod: typing.Literal[ "PACING_PERIOD_UNSPECIFIED", "PACING_PERIOD_DAILY", "PACING_PERIOD_FLIGHT" ] - pacingType: typing_extensions.Literal[ + pacingType: typing.Literal[ "PACING_TYPE_UNSPECIFIED", "PACING_TYPE_AHEAD", "PACING_TYPE_ASAP", @@ -4456,9 +4415,9 @@ class Pacing(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentEntityFilter(typing_extensions.TypedDict, total=False): +class ParentEntityFilter(typing.TypedDict, total=False): fileType: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "FILE_TYPE_CAMPAIGN", "FILE_TYPE_MEDIA_PRODUCT", @@ -4471,7 +4430,7 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] ] filterIds: _list[str] - filterType: typing_extensions.Literal[ + filterType: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "FILTER_TYPE_NONE", "FILTER_TYPE_ADVERTISER_ID", @@ -4482,10 +4441,8 @@ class ParentEntityFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ParentalStatusAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusAssignedTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -4493,8 +4450,8 @@ class ParentalStatusAssignedTargetingOptionDetails( ] @typing.type_check_only -class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=False): - parentalStatus: typing_extensions.Literal[ +class ParentalStatusTargetingOptionDetails(typing.TypedDict, total=False): + parentalStatus: typing.Literal[ "PARENTAL_STATUS_UNSPECIFIED", "PARENTAL_STATUS_PARENT", "PARENTAL_STATUS_NOT_A_PARENT", @@ -4502,12 +4459,12 @@ class ParentalStatusTargetingOptionDetails(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class Partner(typing_extensions.TypedDict, total=False): +class Partner(typing.TypedDict, total=False): adServerConfig: PartnerAdServerConfig billingConfig: PartnerBillingConfig dataAccessConfig: PartnerDataAccessConfig displayName: str - entityStatus: typing_extensions.Literal[ + entityStatus: typing.Literal[ "ENTITY_STATUS_UNSPECIFIED", "ENTITY_STATUS_ACTIVE", "ENTITY_STATUS_ARCHIVED", @@ -4522,16 +4479,16 @@ class Partner(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PartnerAdServerConfig(typing_extensions.TypedDict, total=False): +class PartnerAdServerConfig(typing.TypedDict, total=False): measurementConfig: MeasurementConfig @typing.type_check_only -class PartnerBillingConfig(typing_extensions.TypedDict, total=False): +class PartnerBillingConfig(typing.TypedDict, total=False): billingProfileId: str @typing.type_check_only -class PartnerCost(typing_extensions.TypedDict, total=False): - costType: typing_extensions.Literal[ +class PartnerCost(typing.TypedDict, total=False): + costType: typing.Literal[ "PARTNER_COST_TYPE_UNSPECIFIED", "PARTNER_COST_TYPE_ADLOOX", "PARTNER_COST_TYPE_ADLOOX_PREBID", @@ -4565,30 +4522,30 @@ class PartnerCost(typing_extensions.TypedDict, total=False): ] feeAmount: str feePercentageMillis: str - feeType: typing_extensions.Literal[ + feeType: typing.Literal[ "PARTNER_COST_FEE_TYPE_UNSPECIFIED", "PARTNER_COST_FEE_TYPE_CPM_FEE", "PARTNER_COST_FEE_TYPE_MEDIA_FEE", ] - invoiceType: typing_extensions.Literal[ + invoiceType: typing.Literal[ "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", "PARTNER_COST_INVOICE_TYPE_DV360", "PARTNER_COST_INVOICE_TYPE_PARTNER", ] @typing.type_check_only -class PartnerDataAccessConfig(typing_extensions.TypedDict, total=False): +class PartnerDataAccessConfig(typing.TypedDict, total=False): sdfConfig: SdfConfig @typing.type_check_only -class PartnerGeneralConfig(typing_extensions.TypedDict, total=False): +class PartnerGeneralConfig(typing.TypedDict, total=False): currencyCode: str timeZone: str @typing.type_check_only -class PartnerRevenueModel(typing_extensions.TypedDict, total=False): +class PartnerRevenueModel(typing.TypedDict, total=False): markupAmount: str - markupType: typing_extensions.Literal[ + markupType: typing.Literal[ "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", @@ -4596,11 +4553,11 @@ class PartnerRevenueModel(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoal(typing_extensions.TypedDict, total=False): +class PerformanceGoal(typing.TypedDict, total=False): performanceGoalAmountMicros: str performanceGoalPercentageMicros: str performanceGoalString: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "PERFORMANCE_GOAL_TYPE_CPM", "PERFORMANCE_GOAL_TYPE_CPC", @@ -4620,11 +4577,11 @@ class PerformanceGoal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): +class PerformanceGoalBidStrategy(typing.TypedDict, total=False): customBiddingAlgorithmId: str maxAverageCpmBidAmountMicros: str performanceGoalAmountMicros: str - performanceGoalType: typing_extensions.Literal[ + performanceGoalType: typing.Literal[ "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", @@ -4637,9 +4594,9 @@ class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PlannableLocation(typing_extensions.TypedDict, total=False): +class PlannableLocation(typing.TypedDict, total=False): displayName: str - geoRegionType: typing_extensions.Literal[ + geoRegionType: typing.Literal[ "GEO_REGION_TYPE_UNKNOWN", "GEO_REGION_TYPE_OTHER", "GEO_REGION_TYPE_COUNTRY", @@ -4680,15 +4637,55 @@ class PlannableLocation(typing_extensions.TypedDict, total=False): "GEO_REGION_TYPE_COLLOQUIAL_AREA", "GEO_REGION_TYPE_POST_TOWN", "GEO_REGION_TYPE_WARD", + "GEO_REGION_TYPE_TOWN", + "GEO_REGION_TYPE_VILLAGE", + "GEO_REGION_TYPE_CITY_DISTRICT", + "GEO_REGION_TYPE_SUBURB", + "GEO_REGION_TYPE_HAMLET", + "GEO_REGION_TYPE_MUNICIPAL_DISTRICT", + "GEO_REGION_TYPE_COMMUNITY", + "GEO_REGION_TYPE_TOWNSHIP", + "GEO_REGION_TYPE_URBAN_DISTRICT", + "GEO_REGION_TYPE_RESIDENTIAL_AREA", + "GEO_REGION_TYPE_INDEPENDENT_CITY", + "GEO_REGION_TYPE_SECTOR", + "GEO_REGION_TYPE_AREA", + "GEO_REGION_TYPE_ESTATE", + "GEO_REGION_TYPE_PARISH", + "GEO_REGION_TYPE_SETTLEMENT", + "GEO_REGION_TYPE_ZONE", + "GEO_REGION_TYPE_COLONY", + "GEO_REGION_TYPE_INDUSTRIAL_AREA", + "GEO_REGION_TYPE_PROVINCIAL_CITY", + "GEO_REGION_TYPE_RURAL_DISTRICT", ] name: str + parentPlannableLocationId: str plannableLocationId: str regionCode: str @typing.type_check_only -class PlannableTargeting(typing_extensions.TypedDict, total=False): +class PlannableProductCoreAttributes(typing.TypedDict, total=False): + buyingMethod: typing.Literal[ + "PLANNABLE_BUYING_METHOD_UNSPECIFIED", + "PLANNABLE_BUYING_METHOD_AUCTION", + "PLANNABLE_BUYING_METHOD_RESERVATION", + ] + costModel: typing.Literal[ + "PLANNABLE_COST_MODEL_UNSPECIFIED", + "PLANNABLE_COST_MODEL_CPM", + "PLANNABLE_COST_MODEL_CPV", + "PLANNABLE_COST_MODEL_CPC", + "PLANNABLE_COST_MODEL_CPA", + ] + productCategory: typing.Literal[ + "PLANNABLE_PRODUCT_CATEGORY_UNSPECIFIED", "YOUTUBE", "OPEN_AUCTION" + ] + +@typing.type_check_only +class PlannableTargeting(typing.TypedDict, total=False): ageRanges: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLANNABLE_AGE_RANGE_UNSPECIFIED", "PLANNABLE_AGE_RANGE_18_24", "PLANNABLE_AGE_RANGE_18_34", @@ -4723,8 +4720,9 @@ class PlannableTargeting(typing_extensions.TypedDict, total=False): "PLANNABLE_AGE_RANGE_65_UP", ] ] + defaultYoutubeSelectLineup: YouTubeSelectLineUp devices: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -4734,12 +4732,12 @@ class PlannableTargeting(typing_extensions.TypedDict, total=False): ] ] genders: _list[ - typing_extensions.Literal[ + typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] ] networks: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLANNABLE_NETWORK_UNSPECIFIED", "PLANNABLE_NETWORK_YOUTUBE", "PLANNABLE_NETWORK_GOOGLE_VIDEO_PARTNERS", @@ -4750,70 +4748,73 @@ class PlannableTargeting(typing_extensions.TypedDict, total=False): youtubeSelectLineups: _list[YouTubeSelectLineUp] @typing.type_check_only -class PlannableUserInterest(typing_extensions.TypedDict, total=False): +class PlannableUserInterest(typing.TypedDict, total=False): userInterest: UserInterest userInterestDisplayName: str userInterestPath: str userInterestType: str @typing.type_check_only -class PlannableUserList(typing_extensions.TypedDict, total=False): +class PlannableUserList(typing.TypedDict, total=False): displayName: str name: str - plannableStatus: typing_extensions.Literal[ + plannableStatus: typing.Literal[ "PLANNABLE_STATUS_UNSPECIFIED", "PLANNABLE", "UNPLANNABLE" ] - userListType: typing_extensions.Literal[ + userListType: typing.Literal[ "USER_LIST_TYPE_UNSPECIFIED", "FIRST_PARTY", "THIRD_PARTY" ] @typing.type_check_only -class PlannedProduct(typing_extensions.TypedDict, total=False): +class PlannedProduct(typing.TypedDict, total=False): advancedProductTargeting: AdvancedProductTargeting budgetMicros: str plannableProductCode: str @typing.type_check_only -class PlannedProductForecast(typing_extensions.TypedDict, total=False): - effectiveFrequencyBreakdowns: _list[EffectiveFrequencyBreakdown] +class PlannedProductForecast(typing.TypedDict, total=False): + onTargetCoviewImpressions: str + onTargetCoviewReach: str onTargetImpressions: str onTargetReach: str + totalCoviewImpressions: str + totalCoviewReach: str totalImpressions: str totalReach: str trueviewViews: str viewableImpressions: str @typing.type_check_only -class PlannedProductReachForecast(typing_extensions.TypedDict, total=False): +class PlannedProductReachForecast(typing.TypedDict, total=False): costMicros: str plannableProductCode: str plannedProductForecast: PlannedProductForecast @typing.type_check_only -class PoiAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiAssignedTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float proximityRadiusAmount: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] targetingOptionId: str @typing.type_check_only -class PoiSearchTerms(typing_extensions.TypedDict, total=False): +class PoiSearchTerms(typing.TypedDict, total=False): poiQuery: str @typing.type_check_only -class PoiTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class PoiTargetingOptionDetails(typing.TypedDict, total=False): displayName: str latitude: float longitude: float @typing.type_check_only -class PrismaConfig(typing_extensions.TypedDict, total=False): +class PrismaConfig(typing.TypedDict, total=False): prismaCpeCode: PrismaCpeCode - prismaType: typing_extensions.Literal[ + prismaType: typing.Literal[ "PRISMA_TYPE_UNSPECIFIED", "PRISMA_TYPE_DISPLAY", "PRISMA_TYPE_SEARCH", @@ -4825,16 +4826,16 @@ class PrismaConfig(typing_extensions.TypedDict, total=False): supplier: str @typing.type_check_only -class PrismaCpeCode(typing_extensions.TypedDict, total=False): +class PrismaCpeCode(typing.TypedDict, total=False): prismaClientCode: str prismaEstimateCode: str prismaProductCode: str @typing.type_check_only -class ProductFeedData(typing_extensions.TypedDict, total=False): +class ProductFeedData(typing.TypedDict, total=False): isFeedDisabled: bool productMatchDimensions: _list[ProductMatchDimension] - productMatchType: typing_extensions.Literal[ + productMatchType: typing.Literal[ "PRODUCT_MATCH_TYPE_UNSPECIFIED", "PRODUCT_MATCH_TYPE_ALL_PRODUCTS", "PRODUCT_MATCH_TYPE_SPECIFIC_PRODUCTS", @@ -4842,32 +4843,33 @@ class ProductFeedData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductMatchDimension(typing_extensions.TypedDict, total=False): +class ProductMatchDimension(typing.TypedDict, total=False): customLabel: CustomLabel productOfferId: str @typing.type_check_only -class ProductMetadata(typing_extensions.TypedDict, total=False): +class ProductMetadata(typing.TypedDict, total=False): displayName: str plannableProductCode: str + plannableProductCoreAttributes: PlannableProductCoreAttributes plannableProductDescription: str plannableTargeting: PlannableTargeting @typing.type_check_only class ProximityLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): proximityLocationListId: str proximityRadius: float - proximityRadiusUnit: typing_extensions.Literal[ + proximityRadiusUnit: typing.Literal[ "PROXIMITY_RADIUS_UNIT_UNSPECIFIED", "PROXIMITY_RADIUS_UNIT_MILES", "PROXIMITY_RADIUS_UNIT_KILOMETERS", ] @typing.type_check_only -class RateDetails(typing_extensions.TypedDict, total=False): - inventorySourceRateType: typing_extensions.Literal[ +class RateDetails(typing.TypedDict, total=False): + inventorySourceRateType: typing.Literal[ "INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", @@ -4880,78 +4882,76 @@ class RateDetails(typing_extensions.TypedDict, total=False): unitsPurchased: str @typing.type_check_only -class ReachCurve(typing_extensions.TypedDict, total=False): +class ReachCurve(typing.TypedDict, total=False): reachForecasts: _list[ReachForecast] @typing.type_check_only -class ReachForecast(typing_extensions.TypedDict, total=False): +class ReachForecast(typing.TypedDict, total=False): costMicros: str forecast: PlannedProductForecast plannedProductReachForecasts: _list[PlannedProductReachForecast] @typing.type_check_only -class RegionalLocationListAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class RegionalLocationListAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool regionalLocationListId: str @typing.type_check_only -class RemarketingConfig(typing_extensions.TypedDict, total=False): +class RemarketingConfig(typing.TypedDict, total=False): advertiserId: str remarketingEnabled: bool @typing.type_check_only -class ReplaceNegativeKeywordsRequest(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsRequest(typing.TypedDict, total=False): newNegativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceNegativeKeywordsResponse(typing_extensions.TypedDict, total=False): +class ReplaceNegativeKeywordsResponse(typing.TypedDict, total=False): negativeKeywords: _list[NegativeKeyword] @typing.type_check_only -class ReplaceSitesRequest(typing_extensions.TypedDict, total=False): +class ReplaceSitesRequest(typing.TypedDict, total=False): advertiserId: str newSites: _list[Site] partnerId: str @typing.type_check_only -class ReplaceSitesResponse(typing_extensions.TypedDict, total=False): +class ReplaceSitesResponse(typing.TypedDict, total=False): sites: _list[Site] @typing.type_check_only -class RetrievePlannableLocationsResponse(typing_extensions.TypedDict, total=False): +class RetrievePlannableLocationsResponse(typing.TypedDict, total=False): plannableLocations: _list[PlannableLocation] @typing.type_check_only -class RetrievePlannableProductsResponse(typing_extensions.TypedDict, total=False): +class RetrievePlannableProductsResponse(typing.TypedDict, total=False): productMetadata: _list[ProductMetadata] @typing.type_check_only -class RetrievePlannableUserInterestsResponse(typing_extensions.TypedDict, total=False): +class RetrievePlannableUserInterestsResponse(typing.TypedDict, total=False): plannableUserInterests: _list[PlannableUserInterest] @typing.type_check_only -class RetrievePlannableUserListsResponse(typing_extensions.TypedDict, total=False): +class RetrievePlannableUserListsResponse(typing.TypedDict, total=False): nextPageToken: str plannableUserLists: _list[PlannableUserList] @typing.type_check_only -class ReviewStatusInfo(typing_extensions.TypedDict, total=False): - approvalStatus: typing_extensions.Literal[ +class ReviewStatusInfo(typing.TypedDict, total=False): + approvalStatus: typing.Literal[ "APPROVAL_STATUS_UNSPECIFIED", "APPROVAL_STATUS_PENDING_NOT_SERVABLE", "APPROVAL_STATUS_PENDING_SERVABLE", "APPROVAL_STATUS_APPROVED_SERVABLE", "APPROVAL_STATUS_REJECTED_NOT_SERVABLE", ] - contentAndPolicyReviewStatus: typing_extensions.Literal[ + contentAndPolicyReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", "REVIEW_STATUS_PENDING", ] - creativeAndLandingPageReviewStatus: typing_extensions.Literal[ + creativeAndLandingPageReviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "REVIEW_STATUS_APPROVED", "REVIEW_STATUS_REJECTED", @@ -4960,18 +4960,18 @@ class ReviewStatusInfo(typing_extensions.TypedDict, total=False): exchangeReviewStatuses: _list[ExchangeReviewStatus] @typing.type_check_only -class ScriptError(typing_extensions.TypedDict, total=False): +class ScriptError(typing.TypedDict, total=False): column: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "SYNTAX_ERROR", "DEPRECATED_SYNTAX", "INTERNAL_ERROR" ] errorMessage: str line: str @typing.type_check_only -class SdfConfig(typing_extensions.TypedDict, total=False): +class SdfConfig(typing.TypedDict, total=False): adminEmail: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -4992,17 +4992,18 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class SdfDownloadTask(typing_extensions.TypedDict, total=False): +class SdfDownloadTask(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): +class SdfDownloadTaskMetadata(typing.TypedDict, total=False): createTime: str endTime: str - version: typing_extensions.Literal[ + version: typing.Literal[ "SDF_VERSION_UNSPECIFIED", "SDF_VERSION_3_1", "SDF_VERSION_4", @@ -5023,10 +5024,11 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_9_1", "SDF_VERSION_9_2", "SDF_VERSION_10", + "SDF_VERSION_10_1", ] @typing.type_check_only -class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsRequest(typing.TypedDict, total=False): advertiserId: str businessChainSearchTerms: BusinessChainSearchTerms geoRegionSearchTerms: GeoRegionSearchTerms @@ -5035,12 +5037,12 @@ class SearchTargetingOptionsRequest(typing_extensions.TypedDict, total=False): poiSearchTerms: PoiSearchTerms @typing.type_check_only -class SearchTargetingOptionsResponse(typing_extensions.TypedDict, total=False): +class SearchTargetingOptionsResponse(typing.TypedDict, total=False): nextPageToken: str targetingOptions: _list[TargetingOption] @typing.type_check_only -class SelectedInventories(typing_extensions.TypedDict, total=False): +class SelectedInventories(typing.TypedDict, total=False): allowDiscover: bool allowGmail: bool allowGoogleDisplayNetwork: bool @@ -5049,10 +5051,8 @@ class SelectedInventories(typing_extensions.TypedDict, total=False): allowYoutubeStream: bool @typing.type_check_only -class SensitiveCategoryAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - excludedSensitiveCategory: typing_extensions.Literal[ +class SensitiveCategoryAssignedTargetingOptionDetails(typing.TypedDict, total=False): + excludedSensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -5076,8 +5076,8 @@ class SensitiveCategoryAssignedTargetingOptionDetails( ] @typing.type_check_only -class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total=False): - sensitiveCategory: typing_extensions.Literal[ +class SensitiveCategoryTargetingOptionDetails(typing.TypedDict, total=False): + sensitiveCategory: typing.Literal[ "SENSITIVE_CATEGORY_UNSPECIFIED", "SENSITIVE_CATEGORY_ADULT", "SENSITIVE_CATEGORY_DEROGATORY", @@ -5101,38 +5101,34 @@ class SensitiveCategoryTargetingOptionDetails(typing_extensions.TypedDict, total ] @typing.type_check_only -class SessionPositionAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - sessionPosition: typing_extensions.Literal[ +class SessionPositionAssignedTargetingOptionDetails(typing.TypedDict, total=False): + sessionPosition: typing.Literal[ "SESSION_POSITION_UNSPECIFIED", "SESSION_POSITION_FIRST_IMPRESSION" ] @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): name: str urlOrAppId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SubExchangeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class SubExchangeAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str @typing.type_check_only -class SubExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class SubExchangeTargetingOptionDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class SurfaceTargetingCombination(typing_extensions.TypedDict, total=False): +class SurfaceTargetingCombination(typing.TypedDict, total=False): choices: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLANNABLE_SURFACE_UNSPECIFIED", "PLANNABLE_SURFACE_IN_FEED", "PLANNABLE_SURFACE_IN_STREAM_BUMPER", @@ -5147,9 +5143,23 @@ class SurfaceTargetingCombination(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SurfaceTargetingCombinations(typing_extensions.TypedDict, total=False): +class SurfaceTargetingCombinations(typing.TypedDict, total=False): availableSurfaceTypes: _list[ - typing_extensions.Literal[ + typing.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", + ] + ] + defaultSurfaceTypes: _list[ + typing.Literal[ "PLANNABLE_SURFACE_UNSPECIFIED", "PLANNABLE_SURFACE_IN_FEED", "PLANNABLE_SURFACE_IN_STREAM_BUMPER", @@ -5165,9 +5175,9 @@ class SurfaceTargetingCombinations(typing_extensions.TypedDict, total=False): validSurfaceCombinations: _list[SurfaceTargetingCombination] @typing.type_check_only -class SurfaceTargetingSettings(typing_extensions.TypedDict, total=False): +class SurfaceTargetingSettings(typing.TypedDict, total=False): surfaces: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLANNABLE_SURFACE_UNSPECIFIED", "PLANNABLE_SURFACE_IN_FEED", "PLANNABLE_SURFACE_IN_STREAM_BUMPER", @@ -5182,9 +5192,9 @@ class SurfaceTargetingSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TargetFrequency(typing_extensions.TypedDict, total=False): +class TargetFrequency(typing.TypedDict, total=False): targetCount: str - timeUnit: typing_extensions.Literal[ + timeUnit: typing.Literal[ "TIME_UNIT_UNSPECIFIED", "TIME_UNIT_LIFETIME", "TIME_UNIT_MONTHS", @@ -5196,8 +5206,8 @@ class TargetFrequency(typing_extensions.TypedDict, total=False): timeUnitCount: int @typing.type_check_only -class Targeting(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class Targeting(typing.TypedDict, total=False): + ageRange: typing.Literal[ "PLANNABLE_AGE_RANGE_UNSPECIFIED", "PLANNABLE_AGE_RANGE_18_24", "PLANNABLE_AGE_RANGE_18_34", @@ -5232,7 +5242,7 @@ class Targeting(typing_extensions.TypedDict, total=False): "PLANNABLE_AGE_RANGE_65_UP", ] devices: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_COMPUTER", "DEVICE_TYPE_CONNECTED_TV", @@ -5242,15 +5252,15 @@ class Targeting(typing_extensions.TypedDict, total=False): ] ] genders: _list[ - typing_extensions.Literal[ + typing.Literal[ "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] ] plannableLocationIds: _list[str] @typing.type_check_only -class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): - audienceExpansionLevel: typing_extensions.Literal[ +class TargetingExpansionConfig(typing.TypedDict, total=False): + audienceExpansionLevel: typing.Literal[ "UNKNOWN", "NO_REACH", "LEAST_REACH", "MID_REACH", "MOST_REACH" ] audienceExpansionSeedListExcluded: bool @@ -5258,7 +5268,7 @@ class TargetingExpansionConfig(typing_extensions.TypedDict, total=False): excludeDemographicExpansion: bool @typing.type_check_only -class TargetingOption(typing_extensions.TypedDict, total=False): +class TargetingOption(typing.TypedDict, total=False): ageRangeDetails: AgeRangeTargetingOptionDetails appCategoryDetails: AppCategoryTargetingOptionDetails audioContentTypeDetails: AudioContentTypeTargetingOptionDetails @@ -5292,7 +5302,7 @@ class TargetingOption(typing_extensions.TypedDict, total=False): sensitiveCategoryDetails: SensitiveCategoryTargetingOptionDetails subExchangeDetails: SubExchangeTargetingOptionDetails targetingOptionId: str - targetingType: typing_extensions.Literal[ + targetingType: typing.Literal[ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", "TARGETING_TYPE_APP_CATEGORY", @@ -5350,19 +5360,19 @@ class TargetingOption(typing_extensions.TypedDict, total=False): viewabilityDetails: ViewabilityTargetingOptionDetails @typing.type_check_only -class ThirdPartyMeasurementConfigs(typing_extensions.TypedDict, total=False): +class ThirdPartyMeasurementConfigs(typing.TypedDict, total=False): brandLiftVendorConfigs: _list[ThirdPartyVendorConfig] brandSafetyVendorConfigs: _list[ThirdPartyVendorConfig] reachVendorConfigs: _list[ThirdPartyVendorConfig] viewabilityVendorConfigs: _list[ThirdPartyVendorConfig] @typing.type_check_only -class ThirdPartyOnlyConfig(typing_extensions.TypedDict, total=False): +class ThirdPartyOnlyConfig(typing.TypedDict, total=False): pixelOrderIdReportingEnabled: bool @typing.type_check_only -class ThirdPartyUrl(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ThirdPartyUrl(typing.TypedDict, total=False): + type: typing.Literal[ "THIRD_PARTY_URL_TYPE_UNSPECIFIED", "THIRD_PARTY_URL_TYPE_IMPRESSION", "THIRD_PARTY_URL_TYPE_CLICK_TRACKING", @@ -5383,9 +5393,9 @@ class ThirdPartyUrl(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): +class ThirdPartyVendorConfig(typing.TypedDict, total=False): placementId: str - vendor: typing_extensions.Literal[ + vendor: typing.Literal[ "THIRD_PARTY_VENDOR_UNSPECIFIED", "THIRD_PARTY_VENDOR_MOAT", "THIRD_PARTY_VENDOR_DOUBLE_VERIFY", @@ -5410,31 +5420,29 @@ class ThirdPartyVendorConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ThirdPartyVerifierAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class ThirdPartyVerifierAssignedTargetingOptionDetails(typing.TypedDict, total=False): adloox: Adloox doubleVerify: DoubleVerify integralAdScience: IntegralAdScience @typing.type_check_only -class TimeRange(typing_extensions.TypedDict, total=False): +class TimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class TimerEvent(typing_extensions.TypedDict, total=False): +class TimerEvent(typing.TypedDict, total=False): name: str reportingName: str @typing.type_check_only -class TrackingFloodlightActivityConfig(typing_extensions.TypedDict, total=False): +class TrackingFloodlightActivityConfig(typing.TypedDict, total=False): floodlightActivityId: str postClickLookbackWindowDays: int postViewLookbackWindowDays: int @typing.type_check_only -class Transcode(typing_extensions.TypedDict, total=False): +class Transcode(typing.TypedDict, total=False): audioBitRateKbps: str audioSampleRateHz: str bitRateKbps: str @@ -5446,9 +5454,9 @@ class Transcode(typing_extensions.TypedDict, total=False): transcoded: bool @typing.type_check_only -class UniversalAdId(typing_extensions.TypedDict, total=False): +class UniversalAdId(typing.TypedDict, total=False): id: str - registry: typing_extensions.Literal[ + registry: typing.Literal[ "UNIVERSAL_AD_REGISTRY_UNSPECIFIED", "UNIVERSAL_AD_REGISTRY_OTHER", "UNIVERSAL_AD_REGISTRY_AD_ID", @@ -5458,25 +5466,30 @@ class UniversalAdId(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UploadAdAssetRequest(typing_extensions.TypedDict, total=False): - adAssetType: typing_extensions.Literal[ +class UploadAdAssetRequest(typing.TypedDict, total=False): + adAssetType: typing.Literal[ "AD_ASSET_TYPE_UNSPECIFIED", "AD_ASSET_TYPE_IMAGE", "AD_ASSET_TYPE_YOUTUBE_VIDEO", ] filename: str + syntheticContentAttestationStatus: typing.Literal[ + "SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED", + "NOT_SYNTHETIC", + "IS_SYNTHETIC", + ] @typing.type_check_only -class UploadAdAssetResponse(typing_extensions.TypedDict, total=False): +class UploadAdAssetResponse(typing.TypedDict, total=False): adAsset: AdAsset @typing.type_check_only -class UrlAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): +class UrlAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool url: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): assignedUserRoles: _list[AssignedUserRole] displayName: str email: str @@ -5485,41 +5498,37 @@ class User(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class UserInterest(typing_extensions.TypedDict, total=False): +class UserInterest(typing.TypedDict, total=False): userInterestCategory: str userInterestUserList: str @typing.type_check_only -class UserRewardedContentAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class UserRewardedContentAssignedTargetingOptionDetails(typing.TypedDict, total=False): targetingOptionId: str - userRewardedContent: typing_extensions.Literal[ + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class UserRewardedContentTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - userRewardedContent: typing_extensions.Literal[ +class UserRewardedContentTargetingOptionDetails(typing.TypedDict, total=False): + userRewardedContent: typing.Literal[ "USER_REWARDED_CONTENT_UNSPECIFIED", "USER_REWARDED_CONTENT_USER_REWARDED", "USER_REWARDED_CONTENT_NOT_USER_REWARDED", ] @typing.type_check_only -class VideoAdInventoryControl(typing_extensions.TypedDict, total=False): +class VideoAdInventoryControl(typing.TypedDict, total=False): allowInFeed: bool allowInStream: bool allowNonSkippableInStream: bool allowShorts: bool @typing.type_check_only -class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): - minimumDuration: typing_extensions.Literal[ +class VideoAdSequenceSettings(typing.TypedDict, total=False): + minimumDuration: typing.Literal[ "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED", "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK", "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH", @@ -5527,9 +5536,9 @@ class VideoAdSequenceSettings(typing_extensions.TypedDict, total=False): steps: _list[VideoAdSequenceStep] @typing.type_check_only -class VideoAdSequenceStep(typing_extensions.TypedDict, total=False): +class VideoAdSequenceStep(typing.TypedDict, total=False): adGroupId: str - interactionType: typing_extensions.Literal[ + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "INTERACTION_TYPE_PAID_VIEW", "INTERACTION_TYPE_SKIP", @@ -5540,11 +5549,11 @@ class VideoAdSequenceStep(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class VideoDiscoveryAd(typing_extensions.TypedDict, total=False): +class VideoDiscoveryAd(typing.TypedDict, total=False): description1: str description2: str headline: str - thumbnail: typing_extensions.Literal[ + thumbnail: typing.Literal[ "THUMBNAIL_UNSPECIFIED", "THUMBNAIL_DEFAULT", "THUMBNAIL_1", @@ -5554,7 +5563,7 @@ class VideoDiscoveryAd(typing_extensions.TypedDict, total=False): video: YoutubeVideoDetails @typing.type_check_only -class VideoPerformanceAd(typing_extensions.TypedDict, total=False): +class VideoPerformanceAd(typing.TypedDict, total=False): actionButtonLabels: _list[str] companionBanners: _list[ImageAsset] customParameters: dict[str, typing.Any] @@ -5569,10 +5578,8 @@ class VideoPerformanceAd(typing_extensions.TypedDict, total=False): videos: _list[YoutubeVideoDetails] @typing.type_check_only -class VideoPlayerSizeAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - videoPlayerSize: typing_extensions.Literal[ +class VideoPlayerSizeAssignedTargetingOptionDetails(typing.TypedDict, total=False): + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -5581,8 +5588,8 @@ class VideoPlayerSizeAssignedTargetingOptionDetails( ] @typing.type_check_only -class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=False): - videoPlayerSize: typing_extensions.Literal[ +class VideoPlayerSizeTargetingOptionDetails(typing.TypedDict, total=False): + videoPlayerSize: typing.Literal[ "VIDEO_PLAYER_SIZE_UNSPECIFIED", "VIDEO_PLAYER_SIZE_SMALL", "VIDEO_PLAYER_SIZE_LARGE", @@ -5591,10 +5598,8 @@ class VideoPlayerSizeTargetingOptionDetails(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class ViewabilityAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): - viewability: typing_extensions.Literal[ +class ViewabilityAssignedTargetingOptionDetails(typing.TypedDict, total=False): + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", @@ -5608,8 +5613,8 @@ class ViewabilityAssignedTargetingOptionDetails( ] @typing.type_check_only -class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False): - viewability: typing_extensions.Literal[ +class ViewabilityTargetingOptionDetails(typing.TypedDict, total=False): + viewability: typing.Literal[ "VIEWABILITY_UNSPECIFIED", "VIEWABILITY_10_PERCENT_OR_MORE", "VIEWABILITY_20_PERCENT_OR_MORE", @@ -5623,23 +5628,23 @@ class ViewabilityTargetingOptionDetails(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class YouTubeSelectLineUp(typing_extensions.TypedDict, total=False): +class YouTubeSelectLineUp(typing.TypedDict, total=False): displayName: str lineupId: str @typing.type_check_only -class YouTubeSelectSettings(typing_extensions.TypedDict, total=False): +class YouTubeSelectSettings(typing.TypedDict, total=False): lineupId: str @typing.type_check_only -class YoutubeAndPartnersBiddingStrategy(typing_extensions.TypedDict, total=False): - adGroupEffectiveTargetCpaSource: typing_extensions.Literal[ +class YoutubeAndPartnersBiddingStrategy(typing.TypedDict, total=False): + adGroupEffectiveTargetCpaSource: typing.Literal[ "BIDDING_SOURCE_UNSPECIFIED", "BIDDING_SOURCE_LINE_ITEM", "BIDDING_SOURCE_AD_GROUP", ] adGroupEffectiveTargetCpaValue: str - type: typing_extensions.Literal[ + type: typing.Literal[ "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV", "YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM", @@ -5655,20 +5660,20 @@ class YoutubeAndPartnersBiddingStrategy(typing_extensions.TypedDict, total=False value: str @typing.type_check_only -class YoutubeAndPartnersInventorySourceConfig(typing_extensions.TypedDict, total=False): +class YoutubeAndPartnersInventorySourceConfig(typing.TypedDict, total=False): includeGoogleTv: bool includeYoutube: bool includeYoutubeVideoPartners: bool @typing.type_check_only -class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): - contentCategory: typing_extensions.Literal[ +class YoutubeAndPartnersSettings(typing.TypedDict, total=False): + contentCategory: typing.Literal[ "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED", ] - effectiveContentCategory: typing_extensions.Literal[ + effectiveContentCategory: typing.Literal[ "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", @@ -5685,10 +5690,10 @@ class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): viewFrequencyCap: FrequencyCap @typing.type_check_only -class YoutubeAssetAssociation(typing_extensions.TypedDict, total=False): +class YoutubeAssetAssociation(typing.TypedDict, total=False): linkedYoutubeAsset: YoutubeAssetAssociationLinkedYouTubeAsset name: str - youtubeAssetType: typing_extensions.Literal[ + youtubeAssetType: typing.Literal[ "YOUTUBE_ASSET_TYPE_UNSPECIFIED", "YOUTUBE_ASSET_TYPE_LOCATION", "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", @@ -5697,10 +5702,10 @@ class YoutubeAssetAssociation(typing_extensions.TypedDict, total=False): @typing.type_check_only class YoutubeAssetAssociationAffiliateLocationAssetFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): affiliateLocationMatchingFunction: YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction - affiliateLocationMatchingType: typing_extensions.Literal[ + affiliateLocationMatchingType: typing.Literal[ "AFFILIATE_LOCATION_MATCHING_TYPE_UNSPECIFIED", "SELECT_ALL", "SELECTED_CHAINS", @@ -5710,35 +5715,31 @@ class YoutubeAssetAssociationAffiliateLocationAssetFilter( @typing.type_check_only class YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chainId: str @typing.type_check_only class YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chains: _list[ YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain ] @typing.type_check_only -class YoutubeAssetAssociationLinkedYouTubeAsset( - typing_extensions.TypedDict, total=False -): +class YoutubeAssetAssociationLinkedYouTubeAsset(typing.TypedDict, total=False): affiliateLocationAssetFilter: YoutubeAssetAssociationAffiliateLocationAssetFilter locationAssetFilter: YoutubeAssetAssociationLocationAssetFilter sitelinkAsset: YoutubeAssetAssociationSitelinkAsset @typing.type_check_only -class YoutubeAssetAssociationLocationAssetFilter( - typing_extensions.TypedDict, total=False -): +class YoutubeAssetAssociationLocationAssetFilter(typing.TypedDict, total=False): assetSetId: str locationMatchingFunction: ( YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction ) - locationMatchingType: typing_extensions.Literal[ + locationMatchingType: typing.Literal[ "LOCATION_MATCHING_TYPE_UNSPECIFIED", "SELECT_ALL", "FILTER", @@ -5748,45 +5749,39 @@ class YoutubeAssetAssociationLocationAssetFilter( @typing.type_check_only class YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): business: str labels: _list[str] locationAssetIds: _list[str] @typing.type_check_only -class YoutubeAssetAssociationSitelinkAsset(typing_extensions.TypedDict, total=False): +class YoutubeAssetAssociationSitelinkAsset(typing.TypedDict, total=False): assetId: str @typing.type_check_only -class YoutubeChannelAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeChannelAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelId: str negative: bool @typing.type_check_only -class YoutubeChannelPackAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeChannelPackAssignedTargetingOptionDetails(typing.TypedDict, total=False): channelPackId: str negative: bool @typing.type_check_only -class YoutubeVideoAsset(typing_extensions.TypedDict, total=False): +class YoutubeVideoAsset(typing.TypedDict, total=False): youtubeVideoId: str @typing.type_check_only -class YoutubeVideoAssignedTargetingOptionDetails( - typing_extensions.TypedDict, total=False -): +class YoutubeVideoAssignedTargetingOptionDetails(typing.TypedDict, total=False): negative: bool videoId: str @typing.type_check_only -class YoutubeVideoDetails(typing_extensions.TypedDict, total=False): +class YoutubeVideoDetails(typing.TypedDict, total=False): id: str - unavailableReason: typing_extensions.Literal[ + unavailableReason: typing.Literal[ "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED", "VIDEO_UNAVAILABLE_REASON_PRIVATE", "VIDEO_UNAVAILABLE_REASON_DELETED", diff --git a/googleapiclient-stubs/_apis/dlp/v2/resources.pyi b/googleapiclient-stubs/_apis/dlp/v2/resources.pyi index 5280c3430..86885af8b 100644 --- a/googleapiclient-stubs/_apis/dlp/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/dlp/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -287,7 +286,7 @@ class DLPResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" ] | None = ..., @@ -402,7 +401,7 @@ class DLPResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" ] | None = ..., @@ -663,7 +662,7 @@ class DLPResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" ] | None = ..., @@ -754,7 +753,7 @@ class DLPResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" ] | None = ..., @@ -1035,7 +1034,7 @@ class DLPResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" ] | None = ..., @@ -1174,7 +1173,7 @@ class DLPResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi index 60711b9ca..96d29d34f 100644 --- a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GooglePrivacyDlpV2Action(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Action(typing.TypedDict, total=False): deidentify: GooglePrivacyDlpV2Deidentify jobNotificationEmails: GooglePrivacyDlpV2JobNotificationEmails pubSub: GooglePrivacyDlpV2PublishToPubSub @@ -18,19 +16,17 @@ class GooglePrivacyDlpV2Action(typing_extensions.TypedDict, total=False): saveFindings: GooglePrivacyDlpV2SaveFindings @typing.type_check_only -class GooglePrivacyDlpV2ActionDetails(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ActionDetails(typing.TypedDict, total=False): deidentifyDetails: GooglePrivacyDlpV2DeidentifyDataSourceDetails @typing.type_check_only -class GooglePrivacyDlpV2ActivateJobTriggerRequest( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2ActivateJobTriggerRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2AdjustByImageFindings(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2AdjustByImageFindings(typing.TypedDict, total=False): imageContainmentType: GooglePrivacyDlpV2ImageContainmentType infoTypes: _list[GooglePrivacyDlpV2InfoType] - minLikelihood: typing_extensions.Literal[ + minLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -40,18 +36,16 @@ class GooglePrivacyDlpV2AdjustByImageFindings(typing_extensions.TypedDict, total ] @typing.type_check_only -class GooglePrivacyDlpV2AdjustByMatchingInfoTypes( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2AdjustByMatchingInfoTypes(typing.TypedDict, total=False): infoTypes: _list[GooglePrivacyDlpV2InfoType] - matchingType: typing_extensions.Literal[ + matchingType: typing.Literal[ "MATCHING_TYPE_UNSPECIFIED", "MATCHING_TYPE_FULL_MATCH", "MATCHING_TYPE_PARTIAL_MATCH", "MATCHING_TYPE_INVERSE_MATCH", "MATCHING_TYPE_RULE_SPECIFIC", ] - minLikelihood: typing_extensions.Literal[ + minLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -61,49 +55,41 @@ class GooglePrivacyDlpV2AdjustByMatchingInfoTypes( ] @typing.type_check_only -class GooglePrivacyDlpV2AdjustmentRule(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2AdjustmentRule(typing.TypedDict, total=False): adjustByImageFindings: GooglePrivacyDlpV2AdjustByImageFindings adjustByMatchingInfoTypes: GooglePrivacyDlpV2AdjustByMatchingInfoTypes likelihoodAdjustment: GooglePrivacyDlpV2LikelihoodAdjustment @typing.type_check_only -class GooglePrivacyDlpV2AllInfoTypes(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2AllInfoTypes(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2AllMessages(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2AllMessages(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2AllOtherBigQueryTables( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2AllOtherBigQueryTables(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2AllOtherDatabaseResources( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2AllOtherDatabaseResources(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2AllOtherResources(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2AllOtherResources(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2AllText(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2AllText(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2AmazonS3Bucket(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2AmazonS3Bucket(typing.TypedDict, total=False): awsAccount: GooglePrivacyDlpV2AwsAccount bucketName: str @typing.type_check_only -class GooglePrivacyDlpV2AmazonS3BucketConditions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2AmazonS3BucketConditions(typing.TypedDict, total=False): bucketTypes: _list[ - typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_ALL_SUPPORTED", "TYPE_GENERAL_PURPOSE" - ] + typing.Literal["TYPE_UNSPECIFIED", "TYPE_ALL_SUPPORTED", "TYPE_GENERAL_PURPOSE"] ] objectStorageClasses: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "ALL_SUPPORTED_CLASSES", "STANDARD", @@ -114,14 +100,12 @@ class GooglePrivacyDlpV2AmazonS3BucketConditions( ] @typing.type_check_only -class GooglePrivacyDlpV2AmazonS3BucketRegex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2AmazonS3BucketRegex(typing.TypedDict, total=False): awsAccountRegex: GooglePrivacyDlpV2AwsAccountRegex bucketNameRegex: str @typing.type_check_only -class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails(typing.TypedDict, total=False): categoricalStatsResult: GooglePrivacyDlpV2CategoricalStatsResult deltaPresenceEstimationResult: GooglePrivacyDlpV2DeltaPresenceEstimationResult kAnonymityResult: GooglePrivacyDlpV2KAnonymityResult @@ -133,91 +117,83 @@ class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails( requestedSourceTable: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2AuxiliaryTable(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2AuxiliaryTable(typing.TypedDict, total=False): quasiIds: _list[GooglePrivacyDlpV2QuasiIdField] relativeFrequency: GooglePrivacyDlpV2FieldId table: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2AwsAccount(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2AwsAccount(typing.TypedDict, total=False): accountId: str @typing.type_check_only -class GooglePrivacyDlpV2AwsAccountRegex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2AwsAccountRegex(typing.TypedDict, total=False): accountIdRegex: str @typing.type_check_only -class GooglePrivacyDlpV2AwsDiscoveryStartingLocation( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2AwsDiscoveryStartingLocation(typing.TypedDict, total=False): accountId: str allAssetInventoryAssets: bool @typing.type_check_only -class GooglePrivacyDlpV2BatchContentItem(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BatchContentItem(typing.TypedDict, total=False): stringValueBatch: GooglePrivacyDlpV2StringValueBatch @typing.type_check_only -class GooglePrivacyDlpV2BatchContentLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BatchContentLocation(typing.TypedDict, total=False): itemIndex: int @typing.type_check_only -class GooglePrivacyDlpV2BigQueryDiscoveryTarget( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2BigQueryDiscoveryTarget(typing.TypedDict, total=False): cadence: GooglePrivacyDlpV2DiscoveryGenerationCadence conditions: GooglePrivacyDlpV2DiscoveryBigQueryConditions disabled: GooglePrivacyDlpV2Disabled filter: GooglePrivacyDlpV2DiscoveryBigQueryFilter @typing.type_check_only -class GooglePrivacyDlpV2BigQueryField(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BigQueryField(typing.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId table: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2BigQueryKey(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BigQueryKey(typing.TypedDict, total=False): rowNumber: str tableReference: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2BigQueryOptions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BigQueryOptions(typing.TypedDict, total=False): excludedFields: _list[GooglePrivacyDlpV2FieldId] identifyingFields: _list[GooglePrivacyDlpV2FieldId] includedFields: _list[GooglePrivacyDlpV2FieldId] rowsLimit: str rowsLimitPercent: int - sampleMethod: typing_extensions.Literal[ - "SAMPLE_METHOD_UNSPECIFIED", "TOP", "RANDOM_START" - ] + sampleMethod: typing.Literal["SAMPLE_METHOD_UNSPECIFIED", "TOP", "RANDOM_START"] tableReference: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2BigQueryRegex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BigQueryRegex(typing.TypedDict, total=False): datasetIdRegex: str projectIdRegex: str tableIdRegex: str @typing.type_check_only -class GooglePrivacyDlpV2BigQueryRegexes(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BigQueryRegexes(typing.TypedDict, total=False): patterns: _list[GooglePrivacyDlpV2BigQueryRegex] @typing.type_check_only -class GooglePrivacyDlpV2BigQueryTable(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BigQueryTable(typing.TypedDict, total=False): datasetId: str projectId: str tableId: str @typing.type_check_only -class GooglePrivacyDlpV2BigQueryTableCollection( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2BigQueryTableCollection(typing.TypedDict, total=False): includeRegexes: GooglePrivacyDlpV2BigQueryRegexes @typing.type_check_only -class GooglePrivacyDlpV2BigQueryTableTypes(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BigQueryTableTypes(typing.TypedDict, total=False): types: _list[ - typing_extensions.Literal[ + typing.Literal[ "BIG_QUERY_TABLE_TYPE_UNSPECIFIED", "BIG_QUERY_TABLE_TYPE_TABLE", "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE", @@ -226,26 +202,26 @@ class GooglePrivacyDlpV2BigQueryTableTypes(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GooglePrivacyDlpV2BoundingBox(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BoundingBox(typing.TypedDict, total=False): height: int left: int top: int width: int @typing.type_check_only -class GooglePrivacyDlpV2Bucket(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Bucket(typing.TypedDict, total=False): max: GooglePrivacyDlpV2Value min: GooglePrivacyDlpV2Value replacementValue: GooglePrivacyDlpV2Value @typing.type_check_only -class GooglePrivacyDlpV2BucketingConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2BucketingConfig(typing.TypedDict, total=False): buckets: _list[GooglePrivacyDlpV2Bucket] @typing.type_check_only -class GooglePrivacyDlpV2ByteContentItem(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ByteContentItem(typing.TypedDict, total=False): data: str - type: typing_extensions.Literal[ + type: typing.Literal[ "BYTES_TYPE_UNSPECIFIED", "IMAGE", "IMAGE_JPEG", @@ -267,20 +243,14 @@ class GooglePrivacyDlpV2ByteContentItem(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class GooglePrivacyDlpV2CancelDlpJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2CancelDlpJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2CategoricalStatsConfig( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CategoricalStatsConfig(typing.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2CategoricalStatsHistogramBucket( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CategoricalStatsHistogramBucket(typing.TypedDict, total=False): bucketSize: str bucketValueCount: str bucketValues: _list[GooglePrivacyDlpV2ValueFrequency] @@ -288,24 +258,22 @@ class GooglePrivacyDlpV2CategoricalStatsHistogramBucket( valueFrequencyUpperBound: str @typing.type_check_only -class GooglePrivacyDlpV2CategoricalStatsResult( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CategoricalStatsResult(typing.TypedDict, total=False): valueFrequencyHistogramBuckets: _list[ GooglePrivacyDlpV2CategoricalStatsHistogramBucket ] @typing.type_check_only -class GooglePrivacyDlpV2CharacterMaskConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CharacterMaskConfig(typing.TypedDict, total=False): charactersToIgnore: _list[GooglePrivacyDlpV2CharsToIgnore] maskingCharacter: str numberToMask: int reverseOrder: bool @typing.type_check_only -class GooglePrivacyDlpV2CharsToIgnore(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CharsToIgnore(typing.TypedDict, total=False): charactersToSkip: str - commonCharactersToIgnore: typing_extensions.Literal[ + commonCharactersToIgnore: typing.Literal[ "COMMON_CHARS_TO_IGNORE_UNSPECIFIED", "NUMERIC", "ALPHA_UPPER_CASE", @@ -315,49 +283,43 @@ class GooglePrivacyDlpV2CharsToIgnore(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GooglePrivacyDlpV2CloudSqlDiscoveryTarget( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CloudSqlDiscoveryTarget(typing.TypedDict, total=False): conditions: GooglePrivacyDlpV2DiscoveryCloudSqlConditions disabled: GooglePrivacyDlpV2Disabled filter: GooglePrivacyDlpV2DiscoveryCloudSqlFilter generationCadence: GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence @typing.type_check_only -class GooglePrivacyDlpV2CloudSqlIamCredential( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2CloudSqlIamCredential(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2CloudSqlProperties(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CloudSqlProperties(typing.TypedDict, total=False): cloudSqlIam: GooglePrivacyDlpV2CloudSqlIamCredential connectionName: str - databaseEngine: typing_extensions.Literal[ + databaseEngine: typing.Literal[ "DATABASE_ENGINE_UNKNOWN", "DATABASE_ENGINE_MYSQL", "DATABASE_ENGINE_POSTGRES" ] maxConnections: int usernamePassword: GooglePrivacyDlpV2SecretManagerCredential @typing.type_check_only -class GooglePrivacyDlpV2CloudStorageDiscoveryTarget( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CloudStorageDiscoveryTarget(typing.TypedDict, total=False): conditions: GooglePrivacyDlpV2DiscoveryFileStoreConditions disabled: GooglePrivacyDlpV2Disabled filter: GooglePrivacyDlpV2DiscoveryCloudStorageFilter generationCadence: GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence @typing.type_check_only -class GooglePrivacyDlpV2CloudStorageFileSet(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CloudStorageFileSet(typing.TypedDict, total=False): url: str @typing.type_check_only -class GooglePrivacyDlpV2CloudStorageOptions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CloudStorageOptions(typing.TypedDict, total=False): bytesLimitPerFile: str bytesLimitPerFilePercent: int fileSet: GooglePrivacyDlpV2FileSet fileTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "BINARY_FILE", "TEXT_FILE", @@ -372,45 +334,39 @@ class GooglePrivacyDlpV2CloudStorageOptions(typing_extensions.TypedDict, total=F ] ] filesLimitPercent: int - sampleMethod: typing_extensions.Literal[ - "SAMPLE_METHOD_UNSPECIFIED", "TOP", "RANDOM_START" - ] + sampleMethod: typing.Literal["SAMPLE_METHOD_UNSPECIFIED", "TOP", "RANDOM_START"] @typing.type_check_only -class GooglePrivacyDlpV2CloudStoragePath(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CloudStoragePath(typing.TypedDict, total=False): path: str @typing.type_check_only -class GooglePrivacyDlpV2CloudStorageRegex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CloudStorageRegex(typing.TypedDict, total=False): bucketNameRegex: str projectIdRegex: str @typing.type_check_only -class GooglePrivacyDlpV2CloudStorageRegexFileSet( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CloudStorageRegexFileSet(typing.TypedDict, total=False): bucketName: str excludeRegex: _list[str] includeRegex: _list[str] @typing.type_check_only -class GooglePrivacyDlpV2CloudStorageResourceReference( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CloudStorageResourceReference(typing.TypedDict, total=False): bucketName: str projectId: str @typing.type_check_only -class GooglePrivacyDlpV2Color(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Color(typing.TypedDict, total=False): blue: float green: float red: float @typing.type_check_only -class GooglePrivacyDlpV2ColumnDataProfile(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ColumnDataProfile(typing.TypedDict, total=False): column: str columnInfoType: GooglePrivacyDlpV2InfoTypeSummary - columnType: typing_extensions.Literal[ + columnType: typing.Literal[ "COLUMN_DATA_TYPE_UNSPECIFIED", "TYPE_INT64", "TYPE_BOOL", @@ -435,14 +391,14 @@ class GooglePrivacyDlpV2ColumnDataProfile(typing_extensions.TypedDict, total=Fal datasetId: str datasetLocation: str datasetProjectId: str - estimatedNullPercentage: typing_extensions.Literal[ + estimatedNullPercentage: typing.Literal[ "NULL_PERCENTAGE_LEVEL_UNSPECIFIED", "NULL_PERCENTAGE_VERY_LOW", "NULL_PERCENTAGE_LOW", "NULL_PERCENTAGE_MEDIUM", "NULL_PERCENTAGE_HIGH", ] - estimatedUniquenessScore: typing_extensions.Literal[ + estimatedUniquenessScore: typing.Literal[ "UNIQUENESS_SCORE_LEVEL_UNSPECIFIED", "UNIQUENESS_SCORE_LOW", "UNIQUENESS_SCORE_MEDIUM", @@ -451,21 +407,21 @@ class GooglePrivacyDlpV2ColumnDataProfile(typing_extensions.TypedDict, total=Fal freeTextScore: float name: str otherMatches: _list[GooglePrivacyDlpV2OtherInfoTypeSummary] - policyState: typing_extensions.Literal[ + policyState: typing.Literal[ "COLUMN_POLICY_STATE_UNSPECIFIED", "COLUMN_POLICY_TAGGED" ] profileLastGenerated: str profileStatus: GooglePrivacyDlpV2ProfileStatus sensitivityScore: GooglePrivacyDlpV2SensitivityScore - state: typing_extensions.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] tableDataProfile: str tableFullResource: str tableId: str @typing.type_check_only -class GooglePrivacyDlpV2Condition(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Condition(typing.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId - operator: typing_extensions.Literal[ + operator: typing.Literal[ "RELATIONAL_OPERATOR_UNSPECIFIED", "EQUAL_TO", "NOT_EQUAL_TO", @@ -478,20 +434,20 @@ class GooglePrivacyDlpV2Condition(typing_extensions.TypedDict, total=False): value: GooglePrivacyDlpV2Value @typing.type_check_only -class GooglePrivacyDlpV2Conditions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Conditions(typing.TypedDict, total=False): conditions: _list[GooglePrivacyDlpV2Condition] @typing.type_check_only -class GooglePrivacyDlpV2Connection(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Connection(typing.TypedDict, total=False): cloudSql: GooglePrivacyDlpV2CloudSqlProperties errors: _list[GooglePrivacyDlpV2Error] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "CONNECTION_STATE_UNSPECIFIED", "MISSING_CREDENTIALS", "AVAILABLE", "ERROR" ] @typing.type_check_only -class GooglePrivacyDlpV2Container(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Container(typing.TypedDict, total=False): fullPath: str projectId: str relativePath: str @@ -501,7 +457,7 @@ class GooglePrivacyDlpV2Container(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class GooglePrivacyDlpV2ContentItem(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ContentItem(typing.TypedDict, total=False): batchContentItem: GooglePrivacyDlpV2BatchContentItem byteItem: GooglePrivacyDlpV2ByteContentItem contentMetadata: GooglePrivacyDlpV2ContentMetadata @@ -510,7 +466,7 @@ class GooglePrivacyDlpV2ContentItem(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class GooglePrivacyDlpV2ContentLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ContentLocation(typing.TypedDict, total=False): batchContentLocation: GooglePrivacyDlpV2BatchContentLocation containerName: str containerTimestamp: str @@ -522,12 +478,12 @@ class GooglePrivacyDlpV2ContentLocation(typing_extensions.TypedDict, total=False recordLocation: GooglePrivacyDlpV2RecordLocation @typing.type_check_only -class GooglePrivacyDlpV2ContentMetadata(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ContentMetadata(typing.TypedDict, total=False): fileLabels: _list[GooglePrivacyDlpV2FileLabel] properties: _list[GooglePrivacyDlpV2KeyValueMetadataProperty] @typing.type_check_only -class GooglePrivacyDlpV2ContentPolicy(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ContentPolicy(typing.TypedDict, total=False): createTime: str defaultAction: GooglePrivacyDlpV2PolicyAction displayName: str @@ -543,104 +499,84 @@ class GooglePrivacyDlpV2ContentPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GooglePrivacyDlpV2Conversation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Conversation(typing.TypedDict, total=False): messages: _list[GooglePrivacyDlpV2ConversationMessage] @typing.type_check_only -class GooglePrivacyDlpV2ConversationLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ConversationLocation(typing.TypedDict, total=False): allMessages: GooglePrivacyDlpV2AllMessages messageIndex: int @typing.type_check_only -class GooglePrivacyDlpV2ConversationMessage(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ConversationMessage(typing.TypedDict, total=False): content: str - messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "CONTENT", "CONTEXT" - ] + messageType: typing.Literal["MESSAGE_TYPE_UNSPECIFIED", "CONTENT", "CONTEXT"] participantId: str @typing.type_check_only -class GooglePrivacyDlpV2CreateConnectionRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CreateConnectionRequest(typing.TypedDict, total=False): connection: GooglePrivacyDlpV2Connection @typing.type_check_only -class GooglePrivacyDlpV2CreateContentPolicyRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CreateContentPolicyRequest(typing.TypedDict, total=False): contentPolicy: GooglePrivacyDlpV2ContentPolicy contentPolicyId: str @typing.type_check_only -class GooglePrivacyDlpV2CreateDeidentifyTemplateRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CreateDeidentifyTemplateRequest(typing.TypedDict, total=False): deidentifyTemplate: GooglePrivacyDlpV2DeidentifyTemplate locationId: str templateId: str @typing.type_check_only -class GooglePrivacyDlpV2CreateDiscoveryConfigRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CreateDiscoveryConfigRequest(typing.TypedDict, total=False): configId: str discoveryConfig: GooglePrivacyDlpV2DiscoveryConfig @typing.type_check_only -class GooglePrivacyDlpV2CreateDlpJobRequest(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CreateDlpJobRequest(typing.TypedDict, total=False): inspectJob: GooglePrivacyDlpV2InspectJobConfig jobId: str locationId: str riskJob: GooglePrivacyDlpV2RiskAnalysisJobConfig @typing.type_check_only -class GooglePrivacyDlpV2CreateInspectTemplateRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CreateInspectTemplateRequest(typing.TypedDict, total=False): inspectTemplate: GooglePrivacyDlpV2InspectTemplate locationId: str templateId: str @typing.type_check_only -class GooglePrivacyDlpV2CreateJobTriggerRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CreateJobTriggerRequest(typing.TypedDict, total=False): jobTrigger: GooglePrivacyDlpV2JobTrigger locationId: str triggerId: str @typing.type_check_only -class GooglePrivacyDlpV2CreateStoredInfoTypeRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CreateStoredInfoTypeRequest(typing.TypedDict, total=False): config: GooglePrivacyDlpV2StoredInfoTypeConfig locationId: str storedInfoTypeId: str @typing.type_check_only -class GooglePrivacyDlpV2CryptoDeterministicConfig( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2CryptoDeterministicConfig(typing.TypedDict, total=False): context: GooglePrivacyDlpV2FieldId cryptoKey: GooglePrivacyDlpV2CryptoKey surrogateInfoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2CryptoHashConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CryptoHashConfig(typing.TypedDict, total=False): cryptoKey: GooglePrivacyDlpV2CryptoKey @typing.type_check_only -class GooglePrivacyDlpV2CryptoKey(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CryptoKey(typing.TypedDict, total=False): kmsWrapped: GooglePrivacyDlpV2KmsWrappedCryptoKey transient: GooglePrivacyDlpV2TransientCryptoKey unwrapped: GooglePrivacyDlpV2UnwrappedCryptoKey @typing.type_check_only -class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig( - typing_extensions.TypedDict, total=False -): - commonAlphabet: typing_extensions.Literal[ +class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig(typing.TypedDict, total=False): + commonAlphabet: typing.Literal[ "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED", "NUMERIC", "HEXADECIMAL", @@ -654,15 +590,15 @@ class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig( surrogateInfoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2CustomInfoType(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2CustomInfoType(typing.TypedDict, total=False): detectionRules: _list[GooglePrivacyDlpV2DetectionRule] dictionary: GooglePrivacyDlpV2Dictionary - exclusionType: typing_extensions.Literal[ + exclusionType: typing.Literal[ "EXCLUSION_TYPE_UNSPECIFIED", "EXCLUSION_TYPE_EXCLUDE" ] fileLabelInfoType: GooglePrivacyDlpV2FileLabelInfoType infoType: GooglePrivacyDlpV2InfoType - likelihood: typing_extensions.Literal[ + likelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -677,7 +613,7 @@ class GooglePrivacyDlpV2CustomInfoType(typing_extensions.TypedDict, total=False) surrogateType: GooglePrivacyDlpV2SurrogateType @typing.type_check_only -class GooglePrivacyDlpV2DataProfileAction(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DataProfileAction(typing.TypedDict, total=False): exportData: GooglePrivacyDlpV2Export pubSubNotification: GooglePrivacyDlpV2PubSubNotification publishToChronicle: GooglePrivacyDlpV2PublishToChronicle @@ -686,17 +622,13 @@ class GooglePrivacyDlpV2DataProfileAction(typing_extensions.TypedDict, total=Fal tagResources: GooglePrivacyDlpV2TagResources @typing.type_check_only -class GooglePrivacyDlpV2DataProfileBigQueryRowSchema( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DataProfileBigQueryRowSchema(typing.TypedDict, total=False): columnProfile: GooglePrivacyDlpV2ColumnDataProfile fileStoreProfile: GooglePrivacyDlpV2FileStoreDataProfile tableProfile: GooglePrivacyDlpV2TableDataProfile @typing.type_check_only -class GooglePrivacyDlpV2DataProfileConfigSnapshot( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DataProfileConfigSnapshot(typing.TypedDict, total=False): dataProfileJob: GooglePrivacyDlpV2DataProfileJobConfig discoveryConfig: GooglePrivacyDlpV2DiscoveryConfig inspectConfig: GooglePrivacyDlpV2InspectConfig @@ -704,7 +636,7 @@ class GooglePrivacyDlpV2DataProfileConfigSnapshot( inspectTemplateName: str @typing.type_check_only -class GooglePrivacyDlpV2DataProfileFinding(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DataProfileFinding(typing.TypedDict, total=False): dataProfileResourceName: str dataSourceType: GooglePrivacyDlpV2DataSourceType findingId: str @@ -713,7 +645,7 @@ class GooglePrivacyDlpV2DataProfileFinding(typing_extensions.TypedDict, total=Fa location: GooglePrivacyDlpV2DataProfileFindingLocation quote: str quoteInfo: GooglePrivacyDlpV2QuoteInfo - resourceVisibility: typing_extensions.Literal[ + resourceVisibility: typing.Literal[ "RESOURCE_VISIBILITY_UNSPECIFIED", "RESOURCE_VISIBILITY_PUBLIC", "RESOURCE_VISIBILITY_INCONCLUSIVE", @@ -722,20 +654,16 @@ class GooglePrivacyDlpV2DataProfileFinding(typing_extensions.TypedDict, total=Fa timestamp: str @typing.type_check_only -class GooglePrivacyDlpV2DataProfileFindingLocation( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DataProfileFindingLocation(typing.TypedDict, total=False): containerName: str dataProfileFindingRecordLocation: GooglePrivacyDlpV2DataProfileFindingRecordLocation @typing.type_check_only -class GooglePrivacyDlpV2DataProfileFindingRecordLocation( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DataProfileFindingRecordLocation(typing.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2DataProfileJobConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DataProfileJobConfig(typing.TypedDict, total=False): dataProfileActions: _list[GooglePrivacyDlpV2DataProfileAction] inspectTemplates: _list[str] location: GooglePrivacyDlpV2DataProfileLocation @@ -743,21 +671,17 @@ class GooglePrivacyDlpV2DataProfileJobConfig(typing_extensions.TypedDict, total= projectId: str @typing.type_check_only -class GooglePrivacyDlpV2DataProfileLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DataProfileLocation(typing.TypedDict, total=False): folderId: str organizationId: str @typing.type_check_only -class GooglePrivacyDlpV2DataProfilePubSubCondition( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DataProfilePubSubCondition(typing.TypedDict, total=False): expressions: GooglePrivacyDlpV2PubSubExpressions @typing.type_check_only -class GooglePrivacyDlpV2DataProfilePubSubMessage( - typing_extensions.TypedDict, total=False -): - event: typing_extensions.Literal[ +class GooglePrivacyDlpV2DataProfilePubSubMessage(typing.TypedDict, total=False): + event: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "NEW_PROFILE", "CHANGED_PROFILE", @@ -768,8 +692,8 @@ class GooglePrivacyDlpV2DataProfilePubSubMessage( profile: GooglePrivacyDlpV2TableDataProfile @typing.type_check_only -class GooglePrivacyDlpV2DataRiskLevel(typing_extensions.TypedDict, total=False): - score: typing_extensions.Literal[ +class GooglePrivacyDlpV2DataRiskLevel(typing.TypedDict, total=False): + score: typing.Literal[ "RISK_SCORE_UNSPECIFIED", "RISK_LOW", "RISK_UNKNOWN", @@ -778,57 +702,51 @@ class GooglePrivacyDlpV2DataRiskLevel(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GooglePrivacyDlpV2DataSourceType(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DataSourceType(typing.TypedDict, total=False): dataSource: str @typing.type_check_only -class GooglePrivacyDlpV2DatabaseResourceCollection( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DatabaseResourceCollection(typing.TypedDict, total=False): includeRegexes: GooglePrivacyDlpV2DatabaseResourceRegexes @typing.type_check_only -class GooglePrivacyDlpV2DatabaseResourceReference( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DatabaseResourceReference(typing.TypedDict, total=False): database: str databaseResource: str instance: str projectId: str @typing.type_check_only -class GooglePrivacyDlpV2DatabaseResourceRegex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DatabaseResourceRegex(typing.TypedDict, total=False): databaseRegex: str databaseResourceNameRegex: str instanceRegex: str projectIdRegex: str @typing.type_check_only -class GooglePrivacyDlpV2DatabaseResourceRegexes( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DatabaseResourceRegexes(typing.TypedDict, total=False): patterns: _list[GooglePrivacyDlpV2DatabaseResourceRegex] @typing.type_check_only -class GooglePrivacyDlpV2DatastoreKey(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DatastoreKey(typing.TypedDict, total=False): entityKey: GooglePrivacyDlpV2Key @typing.type_check_only -class GooglePrivacyDlpV2DatastoreOptions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DatastoreOptions(typing.TypedDict, total=False): kind: GooglePrivacyDlpV2KindExpression partitionId: GooglePrivacyDlpV2PartitionId @typing.type_check_only -class GooglePrivacyDlpV2DateShiftConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DateShiftConfig(typing.TypedDict, total=False): context: GooglePrivacyDlpV2FieldId cryptoKey: GooglePrivacyDlpV2CryptoKey lowerBoundDays: int upperBoundDays: int @typing.type_check_only -class GooglePrivacyDlpV2DateTime(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DateTime(typing.TypedDict, total=False): date: GoogleTypeDate - dayOfWeek: typing_extensions.Literal[ + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -842,10 +760,10 @@ class GooglePrivacyDlpV2DateTime(typing_extensions.TypedDict, total=False): timeZone: GooglePrivacyDlpV2TimeZone @typing.type_check_only -class GooglePrivacyDlpV2Deidentify(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Deidentify(typing.TypedDict, total=False): cloudStorageOutput: str fileTypesToTransform: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "BINARY_FILE", "TEXT_FILE", @@ -865,16 +783,14 @@ class GooglePrivacyDlpV2Deidentify(typing_extensions.TypedDict, total=False): ) @typing.type_check_only -class GooglePrivacyDlpV2DeidentifyConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DeidentifyConfig(typing.TypedDict, total=False): imageTransformations: GooglePrivacyDlpV2ImageTransformations infoTypeTransformations: GooglePrivacyDlpV2InfoTypeTransformations recordTransformations: GooglePrivacyDlpV2RecordTransformations transformationErrorHandling: GooglePrivacyDlpV2TransformationErrorHandling @typing.type_check_only -class GooglePrivacyDlpV2DeidentifyContentRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DeidentifyContentRequest(typing.TypedDict, total=False): deidentifyConfig: GooglePrivacyDlpV2DeidentifyConfig deidentifyTemplateName: str inspectConfig: GooglePrivacyDlpV2InspectConfig @@ -883,29 +799,23 @@ class GooglePrivacyDlpV2DeidentifyContentRequest( locationId: str @typing.type_check_only -class GooglePrivacyDlpV2DeidentifyContentResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DeidentifyContentResponse(typing.TypedDict, total=False): item: GooglePrivacyDlpV2ContentItem overview: GooglePrivacyDlpV2TransformationOverview @typing.type_check_only -class GooglePrivacyDlpV2DeidentifyDataSourceDetails( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DeidentifyDataSourceDetails(typing.TypedDict, total=False): deidentifyStats: GooglePrivacyDlpV2DeidentifyDataSourceStats requestedOptions: GooglePrivacyDlpV2RequestedDeidentifyOptions @typing.type_check_only -class GooglePrivacyDlpV2DeidentifyDataSourceStats( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DeidentifyDataSourceStats(typing.TypedDict, total=False): transformationCount: str transformationErrorCount: str transformedBytes: str @typing.type_check_only -class GooglePrivacyDlpV2DeidentifyTemplate(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DeidentifyTemplate(typing.TypedDict, total=False): createTime: str deidentifyConfig: GooglePrivacyDlpV2DeidentifyConfig description: str @@ -914,16 +824,14 @@ class GooglePrivacyDlpV2DeidentifyTemplate(typing_extensions.TypedDict, total=Fa updateTime: str @typing.type_check_only -class GooglePrivacyDlpV2DeltaPresenceEstimationConfig( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DeltaPresenceEstimationConfig(typing.TypedDict, total=False): auxiliaryTables: _list[GooglePrivacyDlpV2StatisticalTable] quasiIds: _list[GooglePrivacyDlpV2QuasiId] regionCode: str @typing.type_check_only class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bucketSize: str bucketValueCount: str @@ -933,38 +841,34 @@ class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket( @typing.type_check_only class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): estimatedProbability: float quasiIdsValues: _list[GooglePrivacyDlpV2Value] @typing.type_check_only -class GooglePrivacyDlpV2DeltaPresenceEstimationResult( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DeltaPresenceEstimationResult(typing.TypedDict, total=False): deltaPresenceEstimationHistogram: _list[ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket ] @typing.type_check_only -class GooglePrivacyDlpV2DetectionRule(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DetectionRule(typing.TypedDict, total=False): hotwordRule: GooglePrivacyDlpV2HotwordRule @typing.type_check_only -class GooglePrivacyDlpV2Dictionary(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Dictionary(typing.TypedDict, total=False): cloudStoragePath: GooglePrivacyDlpV2CloudStoragePath wordList: GooglePrivacyDlpV2WordList @typing.type_check_only -class GooglePrivacyDlpV2Disabled(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2Disabled(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryBigQueryConditions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryBigQueryConditions(typing.TypedDict, total=False): createdAfter: str orConditions: GooglePrivacyDlpV2OrConditions - typeCollection: typing_extensions.Literal[ + typeCollection: typing.Literal[ "BIG_QUERY_COLLECTION_UNSPECIFIED", "BIG_QUERY_COLLECTION_ALL_TYPES", "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES", @@ -972,19 +876,15 @@ class GooglePrivacyDlpV2DiscoveryBigQueryConditions( types: GooglePrivacyDlpV2BigQueryTableTypes @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryBigQueryFilter( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryBigQueryFilter(typing.TypedDict, total=False): otherTables: GooglePrivacyDlpV2AllOtherBigQueryTables tableReference: GooglePrivacyDlpV2TableReference tables: GooglePrivacyDlpV2BigQueryTableCollection @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryCloudSqlConditions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryCloudSqlConditions(typing.TypedDict, total=False): databaseEngines: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATABASE_ENGINE_UNSPECIFIED", "ALL_SUPPORTED_DATABASE_ENGINES", "MYSQL", @@ -992,7 +892,7 @@ class GooglePrivacyDlpV2DiscoveryCloudSqlConditions( ] ] types: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATABASE_RESOURCE_TYPE_UNSPECIFIED", "DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES", "DATABASE_RESOURCE_TYPE_TABLE", @@ -1000,21 +900,19 @@ class GooglePrivacyDlpV2DiscoveryCloudSqlConditions( ] @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryCloudSqlFilter( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryCloudSqlFilter(typing.TypedDict, total=False): collection: GooglePrivacyDlpV2DatabaseResourceCollection databaseResourceReference: GooglePrivacyDlpV2DatabaseResourceReference others: GooglePrivacyDlpV2AllOtherDatabaseResources @typing.type_check_only class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inspectTemplateModifiedCadence: ( GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence ) - refreshFrequency: typing_extensions.Literal[ + refreshFrequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", @@ -1023,11 +921,9 @@ class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence( schemaModifiedCadence: GooglePrivacyDlpV2SchemaModifiedCadence @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryCloudStorageConditions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryCloudStorageConditions(typing.TypedDict, total=False): includedBucketAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED", "ALL_SUPPORTED_BUCKETS", "AUTOCLASS_DISABLED", @@ -1035,7 +931,7 @@ class GooglePrivacyDlpV2DiscoveryCloudStorageConditions( ] ] includedObjectAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED", "ALL_SUPPORTED_OBJECTS", "STANDARD", @@ -1049,21 +945,19 @@ class GooglePrivacyDlpV2DiscoveryCloudStorageConditions( ] @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryCloudStorageFilter( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryCloudStorageFilter(typing.TypedDict, total=False): cloudStorageResourceReference: GooglePrivacyDlpV2CloudStorageResourceReference collection: GooglePrivacyDlpV2FileStoreCollection others: GooglePrivacyDlpV2AllOtherResources @typing.type_check_only class GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inspectTemplateModifiedCadence: ( GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence ) - refreshFrequency: typing_extensions.Literal[ + refreshFrequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", @@ -1071,7 +965,7 @@ class GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence( ] @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DiscoveryConfig(typing.TypedDict, total=False): actions: _list[GooglePrivacyDlpV2DataProfileAction] createTime: str displayName: str @@ -1082,26 +976,22 @@ class GooglePrivacyDlpV2DiscoveryConfig(typing_extensions.TypedDict, total=False orgConfig: GooglePrivacyDlpV2OrgConfig otherCloudStartingLocation: GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation processingLocation: GooglePrivacyDlpV2ProcessingLocation - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "PAUSED"] + status: typing.Literal["STATUS_UNSPECIFIED", "RUNNING", "PAUSED"] targets: _list[GooglePrivacyDlpV2DiscoveryTarget] updateTime: str @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryFileStoreConditions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryFileStoreConditions(typing.TypedDict, total=False): cloudStorageConditions: GooglePrivacyDlpV2DiscoveryCloudStorageConditions createdAfter: str minAge: str @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryGenerationCadence( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryGenerationCadence(typing.TypedDict, total=False): inspectTemplateModifiedCadence: ( GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence ) - refreshFrequency: typing_extensions.Literal[ + refreshFrequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", @@ -1112,9 +1002,9 @@ class GooglePrivacyDlpV2DiscoveryGenerationCadence( @typing.type_check_only class GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - frequency: typing_extensions.Literal[ + frequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", @@ -1122,28 +1012,24 @@ class GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence( ] @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryOtherCloudConditions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryOtherCloudConditions(typing.TypedDict, total=False): amazonS3BucketConditions: GooglePrivacyDlpV2AmazonS3BucketConditions minAge: str @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryOtherCloudFilter( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryOtherCloudFilter(typing.TypedDict, total=False): collection: GooglePrivacyDlpV2OtherCloudResourceCollection others: GooglePrivacyDlpV2AllOtherResources singleResource: GooglePrivacyDlpV2OtherCloudSingleResourceReference @typing.type_check_only class GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inspectTemplateModifiedCadence: ( GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence ) - refreshFrequency: typing_extensions.Literal[ + refreshFrequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", @@ -1151,17 +1037,15 @@ class GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence( ] @typing.type_check_only -class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence( - typing_extensions.TypedDict, total=False -): - frequency: typing_extensions.Literal[ +class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence(typing.TypedDict, total=False): + frequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", "UPDATE_FREQUENCY_MONTHLY", ] types: _list[ - typing_extensions.Literal[ + typing.Literal[ "SCHEMA_MODIFICATION_UNSPECIFIED", "SCHEMA_NEW_COLUMNS", "SCHEMA_REMOVED_COLUMNS", @@ -1169,30 +1053,24 @@ class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence( ] @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryStartingLocation( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryStartingLocation(typing.TypedDict, total=False): folderId: str organizationId: str @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryTableModifiedCadence( - typing_extensions.TypedDict, total=False -): - frequency: typing_extensions.Literal[ +class GooglePrivacyDlpV2DiscoveryTableModifiedCadence(typing.TypedDict, total=False): + frequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", "UPDATE_FREQUENCY_MONTHLY", ] types: _list[ - typing_extensions.Literal[ - "TABLE_MODIFICATION_UNSPECIFIED", "TABLE_MODIFIED_TIMESTAMP" - ] + typing.Literal["TABLE_MODIFICATION_UNSPECIFIED", "TABLE_MODIFIED_TIMESTAMP"] ] @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryTarget(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DiscoveryTarget(typing.TypedDict, total=False): bigQueryTarget: GooglePrivacyDlpV2BigQueryDiscoveryTarget cloudSqlTarget: GooglePrivacyDlpV2CloudSqlDiscoveryTarget cloudStorageTarget: GooglePrivacyDlpV2CloudStorageDiscoveryTarget @@ -1201,28 +1079,24 @@ class GooglePrivacyDlpV2DiscoveryTarget(typing_extensions.TypedDict, total=False vertexDatasetTarget: GooglePrivacyDlpV2VertexDatasetDiscoveryTarget @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions(typing.TypedDict, total=False): createdAfter: str minAge: str @typing.type_check_only -class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter(typing.TypedDict, total=False): collection: GooglePrivacyDlpV2VertexDatasetCollection others: GooglePrivacyDlpV2AllOtherResources vertexDatasetResourceReference: GooglePrivacyDlpV2VertexDatasetResourceReference @typing.type_check_only class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inspectTemplateModifiedCadence: ( GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence ) - refreshFrequency: typing_extensions.Literal[ + refreshFrequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", @@ -1230,7 +1104,7 @@ class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence( ] @typing.type_check_only -class GooglePrivacyDlpV2DlpJob(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DlpJob(typing.TypedDict, total=False): actionDetails: _list[GooglePrivacyDlpV2ActionDetails] createTime: str endTime: str @@ -1241,7 +1115,7 @@ class GooglePrivacyDlpV2DlpJob(typing_extensions.TypedDict, total=False): name: str riskDetails: GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -1250,26 +1124,22 @@ class GooglePrivacyDlpV2DlpJob(typing_extensions.TypedDict, total=False): "FAILED", "ACTIVE", ] - type: typing_extensions.Literal[ - "DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB" - ] + type: typing.Literal["DLP_JOB_TYPE_UNSPECIFIED", "INSPECT_JOB", "RISK_ANALYSIS_JOB"] @typing.type_check_only -class GooglePrivacyDlpV2DocumentFallbackLocation( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2DocumentFallbackLocation(typing.TypedDict, total=False): globalProcessing: GooglePrivacyDlpV2GlobalProcessing multiRegionProcessing: GooglePrivacyDlpV2MultiRegionProcessing @typing.type_check_only -class GooglePrivacyDlpV2DocumentLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2DocumentLocation(typing.TypedDict, total=False): fileOffset: str @typing.type_check_only -class GooglePrivacyDlpV2Domain(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal["CATEGORY_UNSPECIFIED", "AI", "CODE"] +class GooglePrivacyDlpV2Domain(typing.TypedDict, total=False): + category: typing.Literal["CATEGORY_UNSPECIFIED", "AI", "CODE"] signals: _list[ - typing_extensions.Literal[ + typing.Literal[ "SIGNAL_UNSPECIFIED", "MODEL", "TEXT_EMBEDDING", @@ -1282,16 +1152,16 @@ class GooglePrivacyDlpV2Domain(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GooglePrivacyDlpV2Encloses(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2Encloses(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2EntityId(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2EntityId(typing.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2Error(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Error(typing.TypedDict, total=False): details: GoogleRpcStatus - extraInfo: typing_extensions.Literal[ + extraInfo: typing.Literal[ "ERROR_INFO_UNSPECIFIED", "IMAGE_SCAN_UNAVAILABLE_IN_REGION", "FILE_STORE_CLUSTER_UNSUPPORTED", @@ -1299,28 +1169,26 @@ class GooglePrivacyDlpV2Error(typing_extensions.TypedDict, total=False): timestamps: _list[str] @typing.type_check_only -class GooglePrivacyDlpV2ExcludeByHotword(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ExcludeByHotword(typing.TypedDict, total=False): hotwordRegex: GooglePrivacyDlpV2Regex proximity: GooglePrivacyDlpV2Proximity @typing.type_check_only -class GooglePrivacyDlpV2ExcludeByImageFindings( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ExcludeByImageFindings(typing.TypedDict, total=False): imageContainmentType: GooglePrivacyDlpV2ImageContainmentType infoTypes: _list[GooglePrivacyDlpV2InfoType] @typing.type_check_only -class GooglePrivacyDlpV2ExcludeInfoTypes(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ExcludeInfoTypes(typing.TypedDict, total=False): infoTypes: _list[GooglePrivacyDlpV2InfoType] @typing.type_check_only -class GooglePrivacyDlpV2ExclusionRule(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ExclusionRule(typing.TypedDict, total=False): dictionary: GooglePrivacyDlpV2Dictionary excludeByHotword: GooglePrivacyDlpV2ExcludeByHotword excludeByImageFindings: GooglePrivacyDlpV2ExcludeByImageFindings excludeInfoTypes: GooglePrivacyDlpV2ExcludeInfoTypes - matchingType: typing_extensions.Literal[ + matchingType: typing.Literal[ "MATCHING_TYPE_UNSPECIFIED", "MATCHING_TYPE_FULL_MATCH", "MATCHING_TYPE_PARTIAL_MATCH", @@ -1330,28 +1198,28 @@ class GooglePrivacyDlpV2ExclusionRule(typing_extensions.TypedDict, total=False): regex: GooglePrivacyDlpV2Regex @typing.type_check_only -class GooglePrivacyDlpV2Export(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Export(typing.TypedDict, total=False): profileTable: GooglePrivacyDlpV2BigQueryTable sampleFindingsTable: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2Expressions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Expressions(typing.TypedDict, total=False): conditions: GooglePrivacyDlpV2Conditions - logicalOperator: typing_extensions.Literal["LOGICAL_OPERATOR_UNSPECIFIED", "AND"] + logicalOperator: typing.Literal["LOGICAL_OPERATOR_UNSPECIFIED", "AND"] @typing.type_check_only -class GooglePrivacyDlpV2FieldId(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FieldId(typing.TypedDict, total=False): name: str @typing.type_check_only -class GooglePrivacyDlpV2FieldTransformation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FieldTransformation(typing.TypedDict, total=False): condition: GooglePrivacyDlpV2RecordCondition fields: _list[GooglePrivacyDlpV2FieldId] infoTypeTransformations: GooglePrivacyDlpV2InfoTypeTransformations primitiveTransformation: GooglePrivacyDlpV2PrimitiveTransformation @typing.type_check_only -class GooglePrivacyDlpV2FileClusterSummary(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileClusterSummary(typing.TypedDict, total=False): dataRiskLevel: GooglePrivacyDlpV2DataRiskLevel errors: _list[GooglePrivacyDlpV2Error] fileClusterType: GooglePrivacyDlpV2FileClusterType @@ -1362,8 +1230,8 @@ class GooglePrivacyDlpV2FileClusterSummary(typing_extensions.TypedDict, total=Fa sensitivityScore: GooglePrivacyDlpV2SensitivityScore @typing.type_check_only -class GooglePrivacyDlpV2FileClusterType(typing_extensions.TypedDict, total=False): - cluster: typing_extensions.Literal[ +class GooglePrivacyDlpV2FileClusterType(typing.TypedDict, total=False): + cluster: typing.Literal[ "CLUSTER_UNSPECIFIED", "CLUSTER_UNKNOWN", "CLUSTER_TEXT", @@ -1378,31 +1246,31 @@ class GooglePrivacyDlpV2FileClusterType(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class GooglePrivacyDlpV2FileExtensionInfo(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileExtensionInfo(typing.TypedDict, total=False): fileExtension: str @typing.type_check_only -class GooglePrivacyDlpV2FileLabel(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileLabel(typing.TypedDict, total=False): googleDriveLabel: GooglePrivacyDlpV2GoogleDriveLabelMetadata sensitivityLabel: GooglePrivacyDlpV2SensitivityLabelMetadata @typing.type_check_only -class GooglePrivacyDlpV2FileLabelInfoType(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileLabelInfoType(typing.TypedDict, total=False): googleDriveLabel: GooglePrivacyDlpV2GoogleDriveLabel sensitivityLabel: GooglePrivacyDlpV2SensitivityLabel @typing.type_check_only -class GooglePrivacyDlpV2FileSet(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileSet(typing.TypedDict, total=False): regexFileSet: GooglePrivacyDlpV2CloudStorageRegexFileSet url: str @typing.type_check_only -class GooglePrivacyDlpV2FileStoreCollection(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileStoreCollection(typing.TypedDict, total=False): includeRegexes: GooglePrivacyDlpV2FileStoreRegexes includeTags: GooglePrivacyDlpV2TagFilters @typing.type_check_only -class GooglePrivacyDlpV2FileStoreDataProfile(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileStoreDataProfile(typing.TypedDict, total=False): configSnapshot: GooglePrivacyDlpV2DataProfileConfigSnapshot createTime: str dataRiskLevel: GooglePrivacyDlpV2DataRiskLevel @@ -1425,7 +1293,7 @@ class GooglePrivacyDlpV2FileStoreDataProfile(typing_extensions.TypedDict, total= relatedResources: _list[GooglePrivacyDlpV2RelatedResource] resourceAttributes: dict[str, typing.Any] resourceLabels: dict[str, typing.Any] - resourceVisibility: typing_extensions.Literal[ + resourceVisibility: typing.Literal[ "RESOURCE_VISIBILITY_UNSPECIFIED", "RESOURCE_VISIBILITY_PUBLIC", "RESOURCE_VISIBILITY_INCONCLUSIVE", @@ -1433,32 +1301,30 @@ class GooglePrivacyDlpV2FileStoreDataProfile(typing_extensions.TypedDict, total= ] sampleFindingsTable: GooglePrivacyDlpV2BigQueryTable sensitivityScore: GooglePrivacyDlpV2SensitivityScore - state: typing_extensions.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] tags: _list[GooglePrivacyDlpV2Tag] @typing.type_check_only -class GooglePrivacyDlpV2FileStoreInfoTypeSummary( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2FileStoreInfoTypeSummary(typing.TypedDict, total=False): infoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2FileStoreRegex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileStoreRegex(typing.TypedDict, total=False): cloudStorageRegex: GooglePrivacyDlpV2CloudStorageRegex @typing.type_check_only -class GooglePrivacyDlpV2FileStoreRegexes(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FileStoreRegexes(typing.TypedDict, total=False): patterns: _list[GooglePrivacyDlpV2FileStoreRegex] @typing.type_check_only -class GooglePrivacyDlpV2Finding(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Finding(typing.TypedDict, total=False): createTime: str findingId: str infoType: GooglePrivacyDlpV2InfoType jobCreateTime: str jobName: str labels: dict[str, typing.Any] - likelihood: typing_extensions.Literal[ + likelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1474,55 +1340,49 @@ class GooglePrivacyDlpV2Finding(typing_extensions.TypedDict, total=False): triggerName: str @typing.type_check_only -class GooglePrivacyDlpV2FindingLimits(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2FindingLimits(typing.TypedDict, total=False): maxFindingsPerInfoType: _list[GooglePrivacyDlpV2InfoTypeLimit] maxFindingsPerItem: int maxFindingsPerRequest: int @typing.type_check_only -class GooglePrivacyDlpV2FinishDlpJobRequest( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2FinishDlpJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2FixedSizeBucketingConfig( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2FixedSizeBucketingConfig(typing.TypedDict, total=False): bucketSize: float lowerBound: GooglePrivacyDlpV2Value upperBound: GooglePrivacyDlpV2Value @typing.type_check_only -class GooglePrivacyDlpV2FullyInside(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2FullyInside(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2GlobalProcessing(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2GlobalProcessing(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2GoogleDriveLabel(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2GoogleDriveLabel(typing.TypedDict, total=False): labelFieldsToMatch: _list[GooglePrivacyDlpV2LabelField] labelId: str @typing.type_check_only -class GooglePrivacyDlpV2GoogleDriveLabelMetadata( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2GoogleDriveLabelMetadata(typing.TypedDict, total=False): labelFields: _list[GooglePrivacyDlpV2LabelFieldMetadata] labelId: str @typing.type_check_only -class GooglePrivacyDlpV2HotwordRule(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2HotwordRule(typing.TypedDict, total=False): hotwordRegex: GooglePrivacyDlpV2Regex likelihoodAdjustment: GooglePrivacyDlpV2LikelihoodAdjustment proximity: GooglePrivacyDlpV2Proximity @typing.type_check_only -class GooglePrivacyDlpV2HybridContentItem(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2HybridContentItem(typing.TypedDict, total=False): findingDetails: GooglePrivacyDlpV2HybridFindingDetails item: GooglePrivacyDlpV2ContentItem @typing.type_check_only -class GooglePrivacyDlpV2HybridFindingDetails(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2HybridFindingDetails(typing.TypedDict, total=False): containerDetails: GooglePrivacyDlpV2Container fileOffset: str labels: dict[str, typing.Any] @@ -1530,81 +1390,73 @@ class GooglePrivacyDlpV2HybridFindingDetails(typing_extensions.TypedDict, total= tableOptions: GooglePrivacyDlpV2TableOptions @typing.type_check_only -class GooglePrivacyDlpV2HybridInspectDlpJobRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2HybridInspectDlpJobRequest(typing.TypedDict, total=False): hybridItem: GooglePrivacyDlpV2HybridContentItem @typing.type_check_only -class GooglePrivacyDlpV2HybridInspectJobTriggerRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2HybridInspectJobTriggerRequest(typing.TypedDict, total=False): hybridItem: GooglePrivacyDlpV2HybridContentItem @typing.type_check_only -class GooglePrivacyDlpV2HybridInspectResponse( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2HybridInspectResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2HybridInspectStatistics( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2HybridInspectStatistics(typing.TypedDict, total=False): abortedCount: str pendingCount: str processedCount: str @typing.type_check_only -class GooglePrivacyDlpV2HybridOptions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2HybridOptions(typing.TypedDict, total=False): description: str labels: dict[str, typing.Any] requiredFindingLabelKeys: _list[str] tableOptions: GooglePrivacyDlpV2TableOptions @typing.type_check_only -class GooglePrivacyDlpV2ImageContainmentType(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ImageContainmentType(typing.TypedDict, total=False): encloses: GooglePrivacyDlpV2Encloses fullyInside: GooglePrivacyDlpV2FullyInside overlaps: GooglePrivacyDlpV2Overlap @typing.type_check_only -class GooglePrivacyDlpV2ImageFallbackLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ImageFallbackLocation(typing.TypedDict, total=False): globalProcessing: GooglePrivacyDlpV2GlobalProcessing multiRegionProcessing: GooglePrivacyDlpV2MultiRegionProcessing @typing.type_check_only -class GooglePrivacyDlpV2ImageLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ImageLocation(typing.TypedDict, total=False): boundingBoxes: _list[GooglePrivacyDlpV2BoundingBox] @typing.type_check_only -class GooglePrivacyDlpV2ImageRedactionConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ImageRedactionConfig(typing.TypedDict, total=False): infoType: GooglePrivacyDlpV2InfoType redactAllText: bool redactionColor: GooglePrivacyDlpV2Color @typing.type_check_only -class GooglePrivacyDlpV2ImageTransformation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ImageTransformation(typing.TypedDict, total=False): allInfoTypes: GooglePrivacyDlpV2AllInfoTypes allText: GooglePrivacyDlpV2AllText redactionColor: GooglePrivacyDlpV2Color selectedInfoTypes: GooglePrivacyDlpV2SelectedInfoTypes @typing.type_check_only -class GooglePrivacyDlpV2ImageTransformations(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ImageTransformations(typing.TypedDict, total=False): transforms: _list[GooglePrivacyDlpV2ImageTransformation] @typing.type_check_only -class GooglePrivacyDlpV2InfoType(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoType(typing.TypedDict, total=False): name: str sensitivityScore: GooglePrivacyDlpV2SensitivityScore version: str @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeCategory(typing_extensions.TypedDict, total=False): - industryCategory: typing_extensions.Literal[ +class GooglePrivacyDlpV2InfoTypeCategory(typing.TypedDict, total=False): + industryCategory: typing.Literal[ "INDUSTRY_UNSPECIFIED", "FINANCE", "HEALTH", "TELECOMMUNICATIONS" ] - locationCategory: typing_extensions.Literal[ + locationCategory: typing.Literal[ "LOCATION_UNSPECIFIED", "GLOBAL", "ARGENTINA", @@ -1659,7 +1511,7 @@ class GooglePrivacyDlpV2InfoTypeCategory(typing_extensions.TypedDict, total=Fals "VENEZUELA", "INTERNAL", ] - typeCategory: typing_extensions.Literal[ + typeCategory: typing.Literal[ "TYPE_UNSPECIFIED", "PII", "SPII", @@ -1672,17 +1524,18 @@ class GooglePrivacyDlpV2InfoTypeCategory(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeCondition(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoTypeCondition(typing.TypedDict, total=False): anyInfoType: GoogleProtobufEmpty infoTypes: GooglePrivacyDlpV2InfoTypes + minCount: str @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeDescription(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoTypeDescription(typing.TypedDict, total=False): categories: _list[GooglePrivacyDlpV2InfoTypeCategory] description: str displayName: str example: str - launchStatus: typing_extensions.Literal[ + launchStatus: typing.Literal[ "INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED", "GENERAL_AVAILABILITY", "PUBLIC_PREVIEW", @@ -1693,14 +1546,14 @@ class GooglePrivacyDlpV2InfoTypeDescription(typing_extensions.TypedDict, total=F sensitivityScore: GooglePrivacyDlpV2SensitivityScore specificInfoTypes: _list[str] supportedBy: _list[ - typing_extensions.Literal["ENUM_TYPE_UNSPECIFIED", "INSPECT", "RISK_ANALYSIS"] + typing.Literal["ENUM_TYPE_UNSPECIFIED", "INSPECT", "RISK_ANALYSIS"] ] versions: _list[GooglePrivacyDlpV2VersionDescription] @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeLikelihood(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoTypeLikelihood(typing.TypedDict, total=False): infoType: GooglePrivacyDlpV2InfoType - minLikelihood: typing_extensions.Literal[ + minLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1710,50 +1563,44 @@ class GooglePrivacyDlpV2InfoTypeLikelihood(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeLimit(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoTypeLimit(typing.TypedDict, total=False): infoType: GooglePrivacyDlpV2InfoType maxFindings: int @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeStats(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoTypeStats(typing.TypedDict, total=False): count: str infoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeSummary(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoTypeSummary(typing.TypedDict, total=False): estimatedPrevalence: int infoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeTransformation( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2InfoTypeTransformation(typing.TypedDict, total=False): infoTypes: _list[GooglePrivacyDlpV2InfoType] primitiveTransformation: GooglePrivacyDlpV2PrimitiveTransformation @typing.type_check_only -class GooglePrivacyDlpV2InfoTypeTransformations( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2InfoTypeTransformations(typing.TypedDict, total=False): transformations: _list[GooglePrivacyDlpV2InfoTypeTransformation] @typing.type_check_only -class GooglePrivacyDlpV2InfoTypes(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InfoTypes(typing.TypedDict, total=False): infoTypeNames: _list[str] @typing.type_check_only -class GooglePrivacyDlpV2InspectConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InspectConfig(typing.TypedDict, total=False): contentOptions: _list[ - typing_extensions.Literal[ - "CONTENT_UNSPECIFIED", "CONTENT_TEXT", "CONTENT_IMAGE" - ] + typing.Literal["CONTENT_UNSPECIFIED", "CONTENT_TEXT", "CONTENT_IMAGE"] ] customInfoTypes: _list[GooglePrivacyDlpV2CustomInfoType] excludeInfoTypes: bool includeQuote: bool infoTypes: _list[GooglePrivacyDlpV2InfoType] limits: GooglePrivacyDlpV2FindingLimits - minLikelihood: typing_extensions.Literal[ + minLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1765,39 +1612,35 @@ class GooglePrivacyDlpV2InspectConfig(typing_extensions.TypedDict, total=False): ruleSet: _list[GooglePrivacyDlpV2InspectionRuleSet] @typing.type_check_only -class GooglePrivacyDlpV2InspectContentRequest(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InspectContentRequest(typing.TypedDict, total=False): inspectConfig: GooglePrivacyDlpV2InspectConfig inspectTemplateName: str item: GooglePrivacyDlpV2ContentItem locationId: str @typing.type_check_only -class GooglePrivacyDlpV2InspectContentResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2InspectContentResponse(typing.TypedDict, total=False): result: GooglePrivacyDlpV2InspectResult @typing.type_check_only -class GooglePrivacyDlpV2InspectDataSourceDetails( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2InspectDataSourceDetails(typing.TypedDict, total=False): requestedOptions: GooglePrivacyDlpV2RequestedOptions result: GooglePrivacyDlpV2Result @typing.type_check_only -class GooglePrivacyDlpV2InspectJobConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InspectJobConfig(typing.TypedDict, total=False): actions: _list[GooglePrivacyDlpV2Action] inspectConfig: GooglePrivacyDlpV2InspectConfig inspectTemplateName: str storageConfig: GooglePrivacyDlpV2StorageConfig @typing.type_check_only -class GooglePrivacyDlpV2InspectResult(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InspectResult(typing.TypedDict, total=False): findings: _list[GooglePrivacyDlpV2Finding] findingsTruncated: bool @typing.type_check_only -class GooglePrivacyDlpV2InspectTemplate(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InspectTemplate(typing.TypedDict, total=False): allowLimitedAvailabilityInfoTypes: bool createTime: str description: str @@ -1807,23 +1650,21 @@ class GooglePrivacyDlpV2InspectTemplate(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GooglePrivacyDlpV2InspectionRule(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InspectionRule(typing.TypedDict, total=False): adjustmentRule: GooglePrivacyDlpV2AdjustmentRule exclusionRule: GooglePrivacyDlpV2ExclusionRule hotwordRule: GooglePrivacyDlpV2HotwordRule @typing.type_check_only -class GooglePrivacyDlpV2InspectionRuleSet(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2InspectionRuleSet(typing.TypedDict, total=False): infoTypes: _list[GooglePrivacyDlpV2InfoType] rules: _list[GooglePrivacyDlpV2InspectionRule] @typing.type_check_only -class GooglePrivacyDlpV2JobNotificationEmails( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2JobNotificationEmails(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2JobTrigger(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2JobTrigger(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1831,28 +1672,22 @@ class GooglePrivacyDlpV2JobTrigger(typing_extensions.TypedDict, total=False): inspectJob: GooglePrivacyDlpV2InspectJobConfig lastRunTime: str name: str - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "HEALTHY", "PAUSED", "CANCELLED" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "HEALTHY", "PAUSED", "CANCELLED"] triggers: _list[GooglePrivacyDlpV2Trigger] updateTime: str @typing.type_check_only -class GooglePrivacyDlpV2KAnonymityConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2KAnonymityConfig(typing.TypedDict, total=False): entityId: GooglePrivacyDlpV2EntityId quasiIds: _list[GooglePrivacyDlpV2FieldId] @typing.type_check_only -class GooglePrivacyDlpV2KAnonymityEquivalenceClass( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2KAnonymityEquivalenceClass(typing.TypedDict, total=False): equivalenceClassSize: str quasiIdsValues: _list[GooglePrivacyDlpV2Value] @typing.type_check_only -class GooglePrivacyDlpV2KAnonymityHistogramBucket( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2KAnonymityHistogramBucket(typing.TypedDict, total=False): bucketSize: str bucketValueCount: str bucketValues: _list[GooglePrivacyDlpV2KAnonymityEquivalenceClass] @@ -1860,19 +1695,17 @@ class GooglePrivacyDlpV2KAnonymityHistogramBucket( equivalenceClassSizeUpperBound: str @typing.type_check_only -class GooglePrivacyDlpV2KAnonymityResult(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2KAnonymityResult(typing.TypedDict, total=False): equivalenceClassHistogramBuckets: _list[GooglePrivacyDlpV2KAnonymityHistogramBucket] @typing.type_check_only -class GooglePrivacyDlpV2KMapEstimationConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2KMapEstimationConfig(typing.TypedDict, total=False): auxiliaryTables: _list[GooglePrivacyDlpV2AuxiliaryTable] quasiIds: _list[GooglePrivacyDlpV2TaggedField] regionCode: str @typing.type_check_only -class GooglePrivacyDlpV2KMapEstimationHistogramBucket( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2KMapEstimationHistogramBucket(typing.TypedDict, total=False): bucketSize: str bucketValueCount: str bucketValues: _list[GooglePrivacyDlpV2KMapEstimationQuasiIdValues] @@ -1880,59 +1713,51 @@ class GooglePrivacyDlpV2KMapEstimationHistogramBucket( minAnonymity: str @typing.type_check_only -class GooglePrivacyDlpV2KMapEstimationQuasiIdValues( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2KMapEstimationQuasiIdValues(typing.TypedDict, total=False): estimatedAnonymity: str quasiIdsValues: _list[GooglePrivacyDlpV2Value] @typing.type_check_only -class GooglePrivacyDlpV2KMapEstimationResult(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2KMapEstimationResult(typing.TypedDict, total=False): kMapEstimationHistogram: _list[GooglePrivacyDlpV2KMapEstimationHistogramBucket] @typing.type_check_only -class GooglePrivacyDlpV2Key(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Key(typing.TypedDict, total=False): partitionId: GooglePrivacyDlpV2PartitionId path: _list[GooglePrivacyDlpV2PathElement] @typing.type_check_only -class GooglePrivacyDlpV2KeyValueMetadataLabel(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2KeyValueMetadataLabel(typing.TypedDict, total=False): key: str @typing.type_check_only -class GooglePrivacyDlpV2KeyValueMetadataProperty( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2KeyValueMetadataProperty(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GooglePrivacyDlpV2KindExpression(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2KindExpression(typing.TypedDict, total=False): name: str @typing.type_check_only -class GooglePrivacyDlpV2KmsWrappedCryptoKey(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2KmsWrappedCryptoKey(typing.TypedDict, total=False): cryptoKeyName: str wrappedKey: str @typing.type_check_only -class GooglePrivacyDlpV2LDiversityConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2LDiversityConfig(typing.TypedDict, total=False): quasiIds: _list[GooglePrivacyDlpV2FieldId] sensitiveAttribute: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2LDiversityEquivalenceClass( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2LDiversityEquivalenceClass(typing.TypedDict, total=False): equivalenceClassSize: str numDistinctSensitiveValues: str quasiIdsValues: _list[GooglePrivacyDlpV2Value] topSensitiveValues: _list[GooglePrivacyDlpV2ValueFrequency] @typing.type_check_only -class GooglePrivacyDlpV2LDiversityHistogramBucket( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2LDiversityHistogramBucket(typing.TypedDict, total=False): bucketSize: str bucketValueCount: str bucketValues: _list[GooglePrivacyDlpV2LDiversityEquivalenceClass] @@ -1940,43 +1765,37 @@ class GooglePrivacyDlpV2LDiversityHistogramBucket( sensitiveValueFrequencyUpperBound: str @typing.type_check_only -class GooglePrivacyDlpV2LDiversityResult(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2LDiversityResult(typing.TypedDict, total=False): sensitiveValueFrequencyHistogramBuckets: _list[ GooglePrivacyDlpV2LDiversityHistogramBucket ] @typing.type_check_only -class GooglePrivacyDlpV2LabelField(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2LabelField(typing.TypedDict, total=False): id: str value: str @typing.type_check_only -class GooglePrivacyDlpV2LabelFieldMetadata(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2LabelFieldMetadata(typing.TypedDict, total=False): id: str value: GooglePrivacyDlpV2Value @typing.type_check_only -class GooglePrivacyDlpV2LargeCustomDictionaryConfig( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2LargeCustomDictionaryConfig(typing.TypedDict, total=False): bigQueryField: GooglePrivacyDlpV2BigQueryField cloudStorageFileSet: GooglePrivacyDlpV2CloudStorageFileSet outputPath: GooglePrivacyDlpV2CloudStoragePath @typing.type_check_only -class GooglePrivacyDlpV2LargeCustomDictionaryStats( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2LargeCustomDictionaryStats(typing.TypedDict, total=False): approxNumPhrases: str @typing.type_check_only -class GooglePrivacyDlpV2LeaveUntransformed( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2LeaveUntransformed(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2LikelihoodAdjustment(typing_extensions.TypedDict, total=False): - fixedLikelihood: typing_extensions.Literal[ +class GooglePrivacyDlpV2LikelihoodAdjustment(typing.TypedDict, total=False): + fixedLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1987,130 +1806,108 @@ class GooglePrivacyDlpV2LikelihoodAdjustment(typing_extensions.TypedDict, total= relativeLikelihood: int @typing.type_check_only -class GooglePrivacyDlpV2ListColumnDataProfilesResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListColumnDataProfilesResponse(typing.TypedDict, total=False): columnDataProfiles: _list[GooglePrivacyDlpV2ColumnDataProfile] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListConnectionsResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[GooglePrivacyDlpV2Connection] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListContentPoliciesResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListContentPoliciesResponse(typing.TypedDict, total=False): contentPolicies: _list[GooglePrivacyDlpV2ContentPolicy] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListDeidentifyTemplatesResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListDeidentifyTemplatesResponse(typing.TypedDict, total=False): deidentifyTemplates: _list[GooglePrivacyDlpV2DeidentifyTemplate] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListDiscoveryConfigsResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListDiscoveryConfigsResponse(typing.TypedDict, total=False): discoveryConfigs: _list[GooglePrivacyDlpV2DiscoveryConfig] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListDlpJobsResponse(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ListDlpJobsResponse(typing.TypedDict, total=False): jobs: _list[GooglePrivacyDlpV2DlpJob] nextPageToken: str @typing.type_check_only class GooglePrivacyDlpV2ListFileStoreDataProfilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fileStoreDataProfiles: _list[GooglePrivacyDlpV2FileStoreDataProfile] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListInfoTypesResponse(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ListInfoTypesResponse(typing.TypedDict, total=False): infoTypes: _list[GooglePrivacyDlpV2InfoTypeDescription] @typing.type_check_only -class GooglePrivacyDlpV2ListInspectTemplatesResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListInspectTemplatesResponse(typing.TypedDict, total=False): inspectTemplates: _list[GooglePrivacyDlpV2InspectTemplate] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListJobTriggersResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListJobTriggersResponse(typing.TypedDict, total=False): jobTriggers: _list[GooglePrivacyDlpV2JobTrigger] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2ListProjectDataProfilesResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListProjectDataProfilesResponse(typing.TypedDict, total=False): nextPageToken: str projectDataProfiles: _list[GooglePrivacyDlpV2ProjectDataProfile] @typing.type_check_only -class GooglePrivacyDlpV2ListStoredInfoTypesResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListStoredInfoTypesResponse(typing.TypedDict, total=False): nextPageToken: str storedInfoTypes: _list[GooglePrivacyDlpV2StoredInfoType] @typing.type_check_only -class GooglePrivacyDlpV2ListTableDataProfilesResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ListTableDataProfilesResponse(typing.TypedDict, total=False): nextPageToken: str tableDataProfiles: _list[GooglePrivacyDlpV2TableDataProfile] @typing.type_check_only -class GooglePrivacyDlpV2Location(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Location(typing.TypedDict, total=False): byteRange: GooglePrivacyDlpV2Range codepointRange: GooglePrivacyDlpV2Range container: GooglePrivacyDlpV2Container contentLocations: _list[GooglePrivacyDlpV2ContentLocation] @typing.type_check_only -class GooglePrivacyDlpV2LocationSupport(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2LocationSupport(typing.TypedDict, total=False): locations: _list[str] - regionalizationScope: typing_extensions.Literal[ + regionalizationScope: typing.Literal[ "REGIONALIZATION_SCOPE_UNSPECIFIED", "REGIONAL", "ANY_LOCATION" ] @typing.type_check_only -class GooglePrivacyDlpV2LogToBigQuery(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2LogToBigQuery(typing.TypedDict, total=False): datasetId: str projectId: str tableId: str @typing.type_check_only -class GooglePrivacyDlpV2LoggingConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2LoggingConfig(typing.TypedDict, total=False): logToBigQuery: GooglePrivacyDlpV2LogToBigQuery @typing.type_check_only -class GooglePrivacyDlpV2Manual(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2Manual(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2MetadataKeyValueExpression( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2MetadataKeyValueExpression(typing.TypedDict, total=False): keyRegex: str valueRegex: str @typing.type_check_only -class GooglePrivacyDlpV2MetadataLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2MetadataLocation(typing.TypedDict, total=False): keyValueMetadataLabel: GooglePrivacyDlpV2KeyValueMetadataLabel storageLabel: GooglePrivacyDlpV2StorageMetadataLabel - type: typing_extensions.Literal[ + type: typing.Literal[ "METADATATYPE_UNSPECIFIED", "STORAGE_METADATA", "CONTENT_METADATA", @@ -2118,40 +1915,36 @@ class GooglePrivacyDlpV2MetadataLocation(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class GooglePrivacyDlpV2MultiRegionProcessing( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2MultiRegionProcessing(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2NumericalStatsConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2NumericalStatsConfig(typing.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2NumericalStatsResult(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2NumericalStatsResult(typing.TypedDict, total=False): maxValue: GooglePrivacyDlpV2Value minValue: GooglePrivacyDlpV2Value quantileValues: _list[GooglePrivacyDlpV2Value] @typing.type_check_only -class GooglePrivacyDlpV2OrConditions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2OrConditions(typing.TypedDict, total=False): minAge: str minRowCount: int @typing.type_check_only -class GooglePrivacyDlpV2OrgConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2OrgConfig(typing.TypedDict, total=False): location: GooglePrivacyDlpV2DiscoveryStartingLocation projectId: str @typing.type_check_only class GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): awsLocation: GooglePrivacyDlpV2AwsDiscoveryStartingLocation @typing.type_check_only -class GooglePrivacyDlpV2OtherCloudDiscoveryTarget( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2OtherCloudDiscoveryTarget(typing.TypedDict, total=False): conditions: GooglePrivacyDlpV2DiscoveryOtherCloudConditions dataSourceType: GooglePrivacyDlpV2DataSourceType disabled: GooglePrivacyDlpV2Disabled @@ -2159,38 +1952,32 @@ class GooglePrivacyDlpV2OtherCloudDiscoveryTarget( generationCadence: GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence @typing.type_check_only -class GooglePrivacyDlpV2OtherCloudResourceCollection( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2OtherCloudResourceCollection(typing.TypedDict, total=False): includeRegexes: GooglePrivacyDlpV2OtherCloudResourceRegexes @typing.type_check_only -class GooglePrivacyDlpV2OtherCloudResourceRegex( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2OtherCloudResourceRegex(typing.TypedDict, total=False): amazonS3BucketRegex: GooglePrivacyDlpV2AmazonS3BucketRegex @typing.type_check_only -class GooglePrivacyDlpV2OtherCloudResourceRegexes( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2OtherCloudResourceRegexes(typing.TypedDict, total=False): patterns: _list[GooglePrivacyDlpV2OtherCloudResourceRegex] @typing.type_check_only class GooglePrivacyDlpV2OtherCloudSingleResourceReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): amazonS3Bucket: GooglePrivacyDlpV2AmazonS3Bucket @typing.type_check_only -class GooglePrivacyDlpV2OtherInfoTypeSummary(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2OtherInfoTypeSummary(typing.TypedDict, total=False): estimatedPrevalence: int excludedFromAnalysis: bool infoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2OutputStorageConfig(typing_extensions.TypedDict, total=False): - outputSchema: typing_extensions.Literal[ +class GooglePrivacyDlpV2OutputStorageConfig(typing.TypedDict, total=False): + outputSchema: typing.Literal[ "OUTPUT_SCHEMA_UNSPECIFIED", "BASIC_COLUMNS", "GCS_COLUMNS", @@ -2202,41 +1989,39 @@ class GooglePrivacyDlpV2OutputStorageConfig(typing_extensions.TypedDict, total=F table: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2Overlap(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2Overlap(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2PartitionId(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2PartitionId(typing.TypedDict, total=False): namespaceId: str projectId: str @typing.type_check_only -class GooglePrivacyDlpV2PathElement(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2PathElement(typing.TypedDict, total=False): id: str kind: str name: str @typing.type_check_only -class GooglePrivacyDlpV2PolicyAction(typing_extensions.TypedDict, total=False): - returnVerdict: typing_extensions.Literal[ +class GooglePrivacyDlpV2PolicyAction(typing.TypedDict, total=False): + returnVerdict: typing.Literal[ "CONTENT_POLICY_VERDICT_UNSPECIFIED", "ALLOW", "BLOCK" ] @typing.type_check_only -class GooglePrivacyDlpV2PolicyCondition(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2PolicyCondition(typing.TypedDict, total=False): infoTypeCondition: GooglePrivacyDlpV2InfoTypeCondition @typing.type_check_only -class GooglePrivacyDlpV2PolicyRule(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2PolicyRule(typing.TypedDict, total=False): action: GooglePrivacyDlpV2PolicyAction conditions: _list[GooglePrivacyDlpV2PolicyCondition] - returnVerdict: typing_extensions.Literal[ + returnVerdict: typing.Literal[ "CONTENT_POLICY_VERDICT_UNSPECIFIED", "ALLOW", "BLOCK" ] @typing.type_check_only -class GooglePrivacyDlpV2PrimitiveTransformation( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2PrimitiveTransformation(typing.TypedDict, total=False): bucketingConfig: GooglePrivacyDlpV2BucketingConfig characterMaskConfig: GooglePrivacyDlpV2CharacterMaskConfig cryptoDeterministicConfig: GooglePrivacyDlpV2CryptoDeterministicConfig @@ -2251,7 +2036,7 @@ class GooglePrivacyDlpV2PrimitiveTransformation( timePartConfig: GooglePrivacyDlpV2TimePartConfig @typing.type_check_only -class GooglePrivacyDlpV2PrivacyMetric(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2PrivacyMetric(typing.TypedDict, total=False): categoricalStatsConfig: GooglePrivacyDlpV2CategoricalStatsConfig deltaPresenceEstimationConfig: GooglePrivacyDlpV2DeltaPresenceEstimationConfig kAnonymityConfig: GooglePrivacyDlpV2KAnonymityConfig @@ -2260,17 +2045,17 @@ class GooglePrivacyDlpV2PrivacyMetric(typing_extensions.TypedDict, total=False): numericalStatsConfig: GooglePrivacyDlpV2NumericalStatsConfig @typing.type_check_only -class GooglePrivacyDlpV2ProcessingLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ProcessingLocation(typing.TypedDict, total=False): documentFallbackLocation: GooglePrivacyDlpV2DocumentFallbackLocation imageFallbackLocation: GooglePrivacyDlpV2ImageFallbackLocation @typing.type_check_only -class GooglePrivacyDlpV2ProfileStatus(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ProfileStatus(typing.TypedDict, total=False): status: GoogleRpcStatus timestamp: str @typing.type_check_only -class GooglePrivacyDlpV2ProjectDataProfile(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ProjectDataProfile(typing.TypedDict, total=False): dataRiskLevel: GooglePrivacyDlpV2DataRiskLevel fileStoreDataProfileCount: str name: str @@ -2281,35 +2066,33 @@ class GooglePrivacyDlpV2ProjectDataProfile(typing_extensions.TypedDict, total=Fa tableDataProfileCount: str @typing.type_check_only -class GooglePrivacyDlpV2Proximity(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Proximity(typing.TypedDict, total=False): windowAfter: int windowBefore: int @typing.type_check_only -class GooglePrivacyDlpV2PubSubCondition(typing_extensions.TypedDict, total=False): - minimumRiskScore: typing_extensions.Literal[ +class GooglePrivacyDlpV2PubSubCondition(typing.TypedDict, total=False): + minimumRiskScore: typing.Literal[ "PROFILE_SCORE_BUCKET_UNSPECIFIED", "HIGH", "MEDIUM_OR_HIGH" ] - minimumSensitivityScore: typing_extensions.Literal[ + minimumSensitivityScore: typing.Literal[ "PROFILE_SCORE_BUCKET_UNSPECIFIED", "HIGH", "MEDIUM_OR_HIGH" ] @typing.type_check_only -class GooglePrivacyDlpV2PubSubExpressions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2PubSubExpressions(typing.TypedDict, total=False): conditions: _list[GooglePrivacyDlpV2PubSubCondition] - logicalOperator: typing_extensions.Literal[ - "LOGICAL_OPERATOR_UNSPECIFIED", "OR", "AND" - ] + logicalOperator: typing.Literal["LOGICAL_OPERATOR_UNSPECIFIED", "OR", "AND"] @typing.type_check_only -class GooglePrivacyDlpV2PubSubNotification(typing_extensions.TypedDict, total=False): - detailOfMessage: typing_extensions.Literal[ +class GooglePrivacyDlpV2PubSubNotification(typing.TypedDict, total=False): + detailOfMessage: typing.Literal[ "DETAIL_LEVEL_UNSPECIFIED", "TABLE_PROFILE", "RESOURCE_NAME", "FILE_STORE_PROFILE", ] - event: typing_extensions.Literal[ + event: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "NEW_PROFILE", "CHANGED_PROFILE", @@ -2321,106 +2104,98 @@ class GooglePrivacyDlpV2PubSubNotification(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GooglePrivacyDlpV2PublishSummaryToCscc( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2PublishSummaryToCscc(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2PublishToChronicle( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2PublishToChronicle(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2PublishToDataplexCatalog( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2PublishToDataplexCatalog(typing.TypedDict, total=False): lowerDataRiskToLow: bool @typing.type_check_only -class GooglePrivacyDlpV2PublishToPubSub(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2PublishToPubSub(typing.TypedDict, total=False): topic: str @typing.type_check_only class GooglePrivacyDlpV2PublishToSecurityCommandCenter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GooglePrivacyDlpV2PublishToStackdriver( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2PublishToStackdriver(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2QuasiId(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2QuasiId(typing.TypedDict, total=False): customTag: str field: GooglePrivacyDlpV2FieldId inferred: GoogleProtobufEmpty infoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2QuasiIdField(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2QuasiIdField(typing.TypedDict, total=False): customTag: str field: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2QuasiIdentifierField(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2QuasiIdentifierField(typing.TypedDict, total=False): customTag: str field: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2QuoteInfo(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2QuoteInfo(typing.TypedDict, total=False): dateTime: GooglePrivacyDlpV2DateTime @typing.type_check_only -class GooglePrivacyDlpV2Range(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Range(typing.TypedDict, total=False): end: str start: str @typing.type_check_only -class GooglePrivacyDlpV2RecordCondition(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RecordCondition(typing.TypedDict, total=False): expressions: GooglePrivacyDlpV2Expressions @typing.type_check_only -class GooglePrivacyDlpV2RecordKey(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RecordKey(typing.TypedDict, total=False): bigQueryKey: GooglePrivacyDlpV2BigQueryKey datastoreKey: GooglePrivacyDlpV2DatastoreKey idValues: _list[str] @typing.type_check_only -class GooglePrivacyDlpV2RecordLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RecordLocation(typing.TypedDict, total=False): fieldId: GooglePrivacyDlpV2FieldId recordKey: GooglePrivacyDlpV2RecordKey tableLocation: GooglePrivacyDlpV2TableLocation @typing.type_check_only -class GooglePrivacyDlpV2RecordSuppression(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RecordSuppression(typing.TypedDict, total=False): condition: GooglePrivacyDlpV2RecordCondition @typing.type_check_only -class GooglePrivacyDlpV2RecordTransformation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RecordTransformation(typing.TypedDict, total=False): containerTimestamp: str containerVersion: str fieldId: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2RecordTransformations(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RecordTransformations(typing.TypedDict, total=False): fieldTransformations: _list[GooglePrivacyDlpV2FieldTransformation] recordSuppressions: _list[GooglePrivacyDlpV2RecordSuppression] @typing.type_check_only -class GooglePrivacyDlpV2RedactConfig(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2RedactConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2RedactImageRequest(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RedactImageRequest(typing.TypedDict, total=False): byteItem: GooglePrivacyDlpV2ByteContentItem deidentifyTemplate: str imageRedactionConfigs: _list[GooglePrivacyDlpV2ImageRedactionConfig] @@ -2430,20 +2205,18 @@ class GooglePrivacyDlpV2RedactImageRequest(typing_extensions.TypedDict, total=Fa locationId: str @typing.type_check_only -class GooglePrivacyDlpV2RedactImageResponse(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RedactImageResponse(typing.TypedDict, total=False): extractedText: str inspectResult: GooglePrivacyDlpV2InspectResult redactedImage: str @typing.type_check_only -class GooglePrivacyDlpV2Regex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Regex(typing.TypedDict, total=False): groupIndexes: _list[int] pattern: str @typing.type_check_only -class GooglePrivacyDlpV2ReidentifyContentRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ReidentifyContentRequest(typing.TypedDict, total=False): inspectConfig: GooglePrivacyDlpV2InspectConfig inspectTemplateName: str item: GooglePrivacyDlpV2ContentItem @@ -2452,52 +2225,42 @@ class GooglePrivacyDlpV2ReidentifyContentRequest( reidentifyTemplateName: str @typing.type_check_only -class GooglePrivacyDlpV2ReidentifyContentResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ReidentifyContentResponse(typing.TypedDict, total=False): item: GooglePrivacyDlpV2ContentItem overview: GooglePrivacyDlpV2TransformationOverview @typing.type_check_only -class GooglePrivacyDlpV2RelatedResource(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RelatedResource(typing.TypedDict, total=False): fullResource: str @typing.type_check_only -class GooglePrivacyDlpV2ReplaceDictionaryConfig( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2ReplaceDictionaryConfig(typing.TypedDict, total=False): wordList: GooglePrivacyDlpV2WordList @typing.type_check_only -class GooglePrivacyDlpV2ReplaceValueConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ReplaceValueConfig(typing.TypedDict, total=False): newValue: GooglePrivacyDlpV2Value @typing.type_check_only -class GooglePrivacyDlpV2ReplaceWithInfoTypeConfig( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2ReplaceWithInfoTypeConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2RequestedDeidentifyOptions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2RequestedDeidentifyOptions(typing.TypedDict, total=False): snapshotDeidentifyTemplate: GooglePrivacyDlpV2DeidentifyTemplate snapshotImageRedactTemplate: GooglePrivacyDlpV2DeidentifyTemplate snapshotStructuredDeidentifyTemplate: GooglePrivacyDlpV2DeidentifyTemplate @typing.type_check_only -class GooglePrivacyDlpV2RequestedOptions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RequestedOptions(typing.TypedDict, total=False): jobConfig: GooglePrivacyDlpV2InspectJobConfig snapshotInspectTemplate: GooglePrivacyDlpV2InspectTemplate @typing.type_check_only -class GooglePrivacyDlpV2RequestedRiskAnalysisOptions( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2RequestedRiskAnalysisOptions(typing.TypedDict, total=False): jobConfig: GooglePrivacyDlpV2RiskAnalysisJobConfig @typing.type_check_only -class GooglePrivacyDlpV2Result(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Result(typing.TypedDict, total=False): hybridStats: GooglePrivacyDlpV2HybridInspectStatistics infoTypeStats: _list[GooglePrivacyDlpV2InfoTypeStats] numRowsProcessed: str @@ -2505,79 +2268,69 @@ class GooglePrivacyDlpV2Result(typing_extensions.TypedDict, total=False): totalEstimatedBytes: str @typing.type_check_only -class GooglePrivacyDlpV2RiskAnalysisJobConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2RiskAnalysisJobConfig(typing.TypedDict, total=False): actions: _list[GooglePrivacyDlpV2Action] privacyMetric: GooglePrivacyDlpV2PrivacyMetric sourceTable: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2Row(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Row(typing.TypedDict, total=False): values: _list[GooglePrivacyDlpV2Value] @typing.type_check_only -class GooglePrivacyDlpV2SaveFindings(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2SaveFindings(typing.TypedDict, total=False): outputConfig: GooglePrivacyDlpV2OutputStorageConfig @typing.type_check_only -class GooglePrivacyDlpV2SaveToGcsFindingsOutput( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2SaveToGcsFindingsOutput(typing.TypedDict, total=False): findings: _list[GooglePrivacyDlpV2Finding] @typing.type_check_only -class GooglePrivacyDlpV2Schedule(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Schedule(typing.TypedDict, total=False): recurrencePeriodDuration: str @typing.type_check_only -class GooglePrivacyDlpV2SchemaModifiedCadence(typing_extensions.TypedDict, total=False): - frequency: typing_extensions.Literal[ +class GooglePrivacyDlpV2SchemaModifiedCadence(typing.TypedDict, total=False): + frequency: typing.Literal[ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", "UPDATE_FREQUENCY_DAILY", "UPDATE_FREQUENCY_MONTHLY", ] types: _list[ - typing_extensions.Literal[ + typing.Literal[ "SQL_SCHEMA_MODIFICATION_UNSPECIFIED", "NEW_COLUMNS", "REMOVED_COLUMNS" ] ] @typing.type_check_only -class GooglePrivacyDlpV2SearchConnectionsResponse( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2SearchConnectionsResponse(typing.TypedDict, total=False): connections: _list[GooglePrivacyDlpV2Connection] nextPageToken: str @typing.type_check_only -class GooglePrivacyDlpV2SecretManagerCredential( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2SecretManagerCredential(typing.TypedDict, total=False): passwordSecretVersionName: str username: str @typing.type_check_only -class GooglePrivacyDlpV2SecretsDiscoveryTarget( - typing_extensions.TypedDict, total=False -): ... +class GooglePrivacyDlpV2SecretsDiscoveryTarget(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2SelectedInfoTypes(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2SelectedInfoTypes(typing.TypedDict, total=False): infoTypes: _list[GooglePrivacyDlpV2InfoType] @typing.type_check_only -class GooglePrivacyDlpV2SensitivityLabel(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2SensitivityLabel(typing.TypedDict, total=False): guid: str @typing.type_check_only -class GooglePrivacyDlpV2SensitivityLabelMetadata( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2SensitivityLabelMetadata(typing.TypedDict, total=False): guid: str @typing.type_check_only -class GooglePrivacyDlpV2SensitivityScore(typing_extensions.TypedDict, total=False): - score: typing_extensions.Literal[ +class GooglePrivacyDlpV2SensitivityScore(typing.TypedDict, total=False): + score: typing.Literal[ "SENSITIVITY_SCORE_UNSPECIFIED", "SENSITIVITY_LOW", "SENSITIVITY_UNKNOWN", @@ -2586,13 +2339,13 @@ class GooglePrivacyDlpV2SensitivityScore(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class GooglePrivacyDlpV2StatisticalTable(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StatisticalTable(typing.TypedDict, total=False): quasiIds: _list[GooglePrivacyDlpV2QuasiIdentifierField] relativeFrequency: GooglePrivacyDlpV2FieldId table: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2StorageConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StorageConfig(typing.TypedDict, total=False): bigQueryOptions: GooglePrivacyDlpV2BigQueryOptions cloudStorageOptions: GooglePrivacyDlpV2CloudStorageOptions datastoreOptions: GooglePrivacyDlpV2DatastoreOptions @@ -2600,17 +2353,17 @@ class GooglePrivacyDlpV2StorageConfig(typing_extensions.TypedDict, total=False): timespanConfig: GooglePrivacyDlpV2TimespanConfig @typing.type_check_only -class GooglePrivacyDlpV2StorageMetadataLabel(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StorageMetadataLabel(typing.TypedDict, total=False): key: str @typing.type_check_only -class GooglePrivacyDlpV2StoredInfoType(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StoredInfoType(typing.TypedDict, total=False): currentVersion: GooglePrivacyDlpV2StoredInfoTypeVersion name: str pendingVersions: _list[GooglePrivacyDlpV2StoredInfoTypeVersion] @typing.type_check_only -class GooglePrivacyDlpV2StoredInfoTypeConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StoredInfoTypeConfig(typing.TypedDict, total=False): description: str dictionary: GooglePrivacyDlpV2Dictionary displayName: str @@ -2618,46 +2371,44 @@ class GooglePrivacyDlpV2StoredInfoTypeConfig(typing_extensions.TypedDict, total= regex: GooglePrivacyDlpV2Regex @typing.type_check_only -class GooglePrivacyDlpV2StoredInfoTypeStats(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StoredInfoTypeStats(typing.TypedDict, total=False): largeCustomDictionary: GooglePrivacyDlpV2LargeCustomDictionaryStats @typing.type_check_only -class GooglePrivacyDlpV2StoredInfoTypeVersion(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StoredInfoTypeVersion(typing.TypedDict, total=False): config: GooglePrivacyDlpV2StoredInfoTypeConfig createTime: str errors: _list[GooglePrivacyDlpV2Error] - state: typing_extensions.Literal[ + state: typing.Literal[ "STORED_INFO_TYPE_STATE_UNSPECIFIED", "PENDING", "READY", "FAILED", "INVALID" ] stats: GooglePrivacyDlpV2StoredInfoTypeStats @typing.type_check_only -class GooglePrivacyDlpV2StoredType(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StoredType(typing.TypedDict, total=False): createTime: str name: str @typing.type_check_only -class GooglePrivacyDlpV2StringValueBatch(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2StringValueBatch(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GooglePrivacyDlpV2SummaryResult(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ - "TRANSFORMATION_RESULT_CODE_UNSPECIFIED", "SUCCESS", "ERROR" - ] +class GooglePrivacyDlpV2SummaryResult(typing.TypedDict, total=False): + code: typing.Literal["TRANSFORMATION_RESULT_CODE_UNSPECIFIED", "SUCCESS", "ERROR"] count: str details: str @typing.type_check_only -class GooglePrivacyDlpV2SurrogateType(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2SurrogateType(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2Table(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Table(typing.TypedDict, total=False): headers: _list[GooglePrivacyDlpV2FieldId] rows: _list[GooglePrivacyDlpV2Row] @typing.type_check_only -class GooglePrivacyDlpV2TableDataProfile(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TableDataProfile(typing.TypedDict, total=False): configSnapshot: GooglePrivacyDlpV2DataProfileConfigSnapshot createTime: str dataRiskLevel: GooglePrivacyDlpV2DataRiskLevel @@ -2666,7 +2417,7 @@ class GooglePrivacyDlpV2TableDataProfile(typing_extensions.TypedDict, total=Fals datasetLocation: str datasetProjectId: str domains: _list[GooglePrivacyDlpV2Domain] - encryptionStatus: typing_extensions.Literal[ + encryptionStatus: typing.Literal[ "ENCRYPTION_STATUS_UNSPECIFIED", "ENCRYPTION_GOOGLE_MANAGED", "ENCRYPTION_CUSTOMER_MANAGED", @@ -2683,7 +2434,7 @@ class GooglePrivacyDlpV2TableDataProfile(typing_extensions.TypedDict, total=Fals projectDataProfile: str relatedResources: _list[GooglePrivacyDlpV2RelatedResource] resourceLabels: dict[str, typing.Any] - resourceVisibility: typing_extensions.Literal[ + resourceVisibility: typing.Literal[ "RESOURCE_VISIBILITY_UNSPECIFIED", "RESOURCE_VISIBILITY_PUBLIC", "RESOURCE_VISIBILITY_INCONCLUSIVE", @@ -2693,50 +2444,50 @@ class GooglePrivacyDlpV2TableDataProfile(typing_extensions.TypedDict, total=Fals sampleFindingsTable: GooglePrivacyDlpV2BigQueryTable scannedColumnCount: str sensitivityScore: GooglePrivacyDlpV2SensitivityScore - state: typing_extensions.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "DONE"] tableId: str tableSizeBytes: str tags: _list[GooglePrivacyDlpV2Tag] @typing.type_check_only -class GooglePrivacyDlpV2TableLocation(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TableLocation(typing.TypedDict, total=False): rowIndex: str @typing.type_check_only -class GooglePrivacyDlpV2TableOptions(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TableOptions(typing.TypedDict, total=False): identifyingFields: _list[GooglePrivacyDlpV2FieldId] @typing.type_check_only -class GooglePrivacyDlpV2TableReference(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TableReference(typing.TypedDict, total=False): datasetId: str projectId: str tableId: str @typing.type_check_only -class GooglePrivacyDlpV2Tag(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Tag(typing.TypedDict, total=False): key: str namespacedTagValue: str value: str @typing.type_check_only -class GooglePrivacyDlpV2TagCondition(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TagCondition(typing.TypedDict, total=False): sensitivityScore: GooglePrivacyDlpV2SensitivityScore tag: GooglePrivacyDlpV2TagValue @typing.type_check_only -class GooglePrivacyDlpV2TagFilter(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TagFilter(typing.TypedDict, total=False): namespacedTagKey: str namespacedTagValue: str @typing.type_check_only -class GooglePrivacyDlpV2TagFilters(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TagFilters(typing.TypedDict, total=False): tagFilters: _list[GooglePrivacyDlpV2TagFilter] @typing.type_check_only -class GooglePrivacyDlpV2TagResources(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TagResources(typing.TypedDict, total=False): lowerDataRiskToLow: bool profileGenerationsToTag: _list[ - typing_extensions.Literal[ + typing.Literal[ "PROFILE_GENERATION_UNSPECIFIED", "PROFILE_GENERATION_NEW", "PROFILE_GENERATION_UPDATE", @@ -2745,22 +2496,22 @@ class GooglePrivacyDlpV2TagResources(typing_extensions.TypedDict, total=False): tagConditions: _list[GooglePrivacyDlpV2TagCondition] @typing.type_check_only -class GooglePrivacyDlpV2TagValue(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TagValue(typing.TypedDict, total=False): namespacedValue: str @typing.type_check_only -class GooglePrivacyDlpV2TaggedField(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TaggedField(typing.TypedDict, total=False): customTag: str field: GooglePrivacyDlpV2FieldId inferred: GoogleProtobufEmpty infoType: GooglePrivacyDlpV2InfoType @typing.type_check_only -class GooglePrivacyDlpV2ThrowError(typing_extensions.TypedDict, total=False): ... +class GooglePrivacyDlpV2ThrowError(typing.TypedDict, total=False): ... @typing.type_check_only -class GooglePrivacyDlpV2TimePartConfig(typing_extensions.TypedDict, total=False): - partToExtract: typing_extensions.Literal[ +class GooglePrivacyDlpV2TimePartConfig(typing.TypedDict, total=False): + partToExtract: typing.Literal[ "TIME_PART_UNSPECIFIED", "YEAR", "MONTH", @@ -2771,30 +2522,28 @@ class GooglePrivacyDlpV2TimePartConfig(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class GooglePrivacyDlpV2TimeZone(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TimeZone(typing.TypedDict, total=False): offsetMinutes: int @typing.type_check_only -class GooglePrivacyDlpV2TimespanConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TimespanConfig(typing.TypedDict, total=False): enableAutoPopulationOfTimespanConfig: bool endTime: str startTime: str timestampField: GooglePrivacyDlpV2FieldId @typing.type_check_only -class GooglePrivacyDlpV2TransformationConfig(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TransformationConfig(typing.TypedDict, total=False): deidentifyTemplate: str imageRedactTemplate: str structuredDeidentifyTemplate: str @typing.type_check_only -class GooglePrivacyDlpV2TransformationDescription( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2TransformationDescription(typing.TypedDict, total=False): condition: str description: str infoType: GooglePrivacyDlpV2InfoType - type: typing_extensions.Literal[ + type: typing.Literal[ "TRANSFORMATION_TYPE_UNSPECIFIED", "RECORD_SUPPRESSION", "REPLACE_VALUE", @@ -2813,7 +2562,7 @@ class GooglePrivacyDlpV2TransformationDescription( ] @typing.type_check_only -class GooglePrivacyDlpV2TransformationDetails(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TransformationDetails(typing.TypedDict, total=False): containerName: str resourceName: str statusDetails: GooglePrivacyDlpV2TransformationResultStatus @@ -2823,22 +2572,18 @@ class GooglePrivacyDlpV2TransformationDetails(typing_extensions.TypedDict, total @typing.type_check_only class GooglePrivacyDlpV2TransformationDetailsStorageConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): table: GooglePrivacyDlpV2BigQueryTable @typing.type_check_only -class GooglePrivacyDlpV2TransformationErrorHandling( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2TransformationErrorHandling(typing.TypedDict, total=False): leaveUntransformed: GooglePrivacyDlpV2LeaveUntransformed throwError: GooglePrivacyDlpV2ThrowError @typing.type_check_only -class GooglePrivacyDlpV2TransformationLocation( - typing_extensions.TypedDict, total=False -): - containerType: typing_extensions.Literal[ +class GooglePrivacyDlpV2TransformationLocation(typing.TypedDict, total=False): + containerType: typing.Literal[ "TRANSFORM_UNKNOWN_CONTAINER", "TRANSFORM_BODY", "TRANSFORM_METADATA", @@ -2848,18 +2593,14 @@ class GooglePrivacyDlpV2TransformationLocation( recordTransformation: GooglePrivacyDlpV2RecordTransformation @typing.type_check_only -class GooglePrivacyDlpV2TransformationOverview( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2TransformationOverview(typing.TypedDict, total=False): transformationSummaries: _list[GooglePrivacyDlpV2TransformationSummary] transformedBytes: str @typing.type_check_only -class GooglePrivacyDlpV2TransformationResultStatus( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2TransformationResultStatus(typing.TypedDict, total=False): details: GoogleRpcStatus - resultStatusType: typing_extensions.Literal[ + resultStatusType: typing.Literal[ "STATE_TYPE_UNSPECIFIED", "INVALID_TRANSFORM", "BIGQUERY_MAX_ROW_SIZE_EXCEEDED", @@ -2868,7 +2609,7 @@ class GooglePrivacyDlpV2TransformationResultStatus( ] @typing.type_check_only -class GooglePrivacyDlpV2TransformationSummary(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TransformationSummary(typing.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId fieldTransformations: _list[GooglePrivacyDlpV2FieldTransformation] infoType: GooglePrivacyDlpV2InfoType @@ -2878,72 +2619,58 @@ class GooglePrivacyDlpV2TransformationSummary(typing_extensions.TypedDict, total transformedBytes: str @typing.type_check_only -class GooglePrivacyDlpV2TransientCryptoKey(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2TransientCryptoKey(typing.TypedDict, total=False): name: str @typing.type_check_only -class GooglePrivacyDlpV2Trigger(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Trigger(typing.TypedDict, total=False): manual: GooglePrivacyDlpV2Manual schedule: GooglePrivacyDlpV2Schedule @typing.type_check_only -class GooglePrivacyDlpV2UnwrappedCryptoKey(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2UnwrappedCryptoKey(typing.TypedDict, total=False): key: str @typing.type_check_only -class GooglePrivacyDlpV2UpdateConnectionRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2UpdateConnectionRequest(typing.TypedDict, total=False): connection: GooglePrivacyDlpV2Connection updateMask: str @typing.type_check_only -class GooglePrivacyDlpV2UpdateContentPolicyRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2UpdateContentPolicyRequest(typing.TypedDict, total=False): contentPolicy: GooglePrivacyDlpV2ContentPolicy updateMask: str @typing.type_check_only -class GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest(typing.TypedDict, total=False): deidentifyTemplate: GooglePrivacyDlpV2DeidentifyTemplate updateMask: str @typing.type_check_only -class GooglePrivacyDlpV2UpdateDiscoveryConfigRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2UpdateDiscoveryConfigRequest(typing.TypedDict, total=False): discoveryConfig: GooglePrivacyDlpV2DiscoveryConfig updateMask: str @typing.type_check_only -class GooglePrivacyDlpV2UpdateInspectTemplateRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2UpdateInspectTemplateRequest(typing.TypedDict, total=False): inspectTemplate: GooglePrivacyDlpV2InspectTemplate updateMask: str @typing.type_check_only -class GooglePrivacyDlpV2UpdateJobTriggerRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2UpdateJobTriggerRequest(typing.TypedDict, total=False): jobTrigger: GooglePrivacyDlpV2JobTrigger updateMask: str @typing.type_check_only -class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest(typing.TypedDict, total=False): config: GooglePrivacyDlpV2StoredInfoTypeConfig updateMask: str @typing.type_check_only -class GooglePrivacyDlpV2Value(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2Value(typing.TypedDict, total=False): booleanValue: bool dateValue: GoogleTypeDate - dayOfWeekValue: typing_extensions.Literal[ + dayOfWeekValue: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -2960,75 +2687,69 @@ class GooglePrivacyDlpV2Value(typing_extensions.TypedDict, total=False): timestampValue: str @typing.type_check_only -class GooglePrivacyDlpV2ValueFrequency(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2ValueFrequency(typing.TypedDict, total=False): count: str value: GooglePrivacyDlpV2Value @typing.type_check_only -class GooglePrivacyDlpV2VersionDescription(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2VersionDescription(typing.TypedDict, total=False): description: str version: str @typing.type_check_only -class GooglePrivacyDlpV2VertexDatasetCollection( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2VertexDatasetCollection(typing.TypedDict, total=False): vertexDatasetRegexes: GooglePrivacyDlpV2VertexDatasetRegexes @typing.type_check_only -class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget(typing.TypedDict, total=False): conditions: GooglePrivacyDlpV2DiscoveryVertexDatasetConditions disabled: GooglePrivacyDlpV2Disabled filter: GooglePrivacyDlpV2DiscoveryVertexDatasetFilter generationCadence: GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence @typing.type_check_only -class GooglePrivacyDlpV2VertexDatasetRegex(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2VertexDatasetRegex(typing.TypedDict, total=False): projectIdRegex: str @typing.type_check_only -class GooglePrivacyDlpV2VertexDatasetRegexes(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2VertexDatasetRegexes(typing.TypedDict, total=False): patterns: _list[GooglePrivacyDlpV2VertexDatasetRegex] @typing.type_check_only -class GooglePrivacyDlpV2VertexDatasetResourceReference( - typing_extensions.TypedDict, total=False -): +class GooglePrivacyDlpV2VertexDatasetResourceReference(typing.TypedDict, total=False): datasetResourceName: str @typing.type_check_only -class GooglePrivacyDlpV2WordList(typing_extensions.TypedDict, total=False): +class GooglePrivacyDlpV2WordList(typing.TypedDict, total=False): words: _list[str] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeTimeOfDay(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class Proto2BridgeMessageSet(typing_extensions.TypedDict, total=False): ... +class Proto2BridgeMessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class UtilStatusProto(typing_extensions.TypedDict, total=False): +class UtilStatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str diff --git a/googleapiclient-stubs/_apis/dns/v1/resources.pyi b/googleapiclient-stubs/_apis/dns/v1/resources.pyi index 62bf8b1d0..1c679c213 100644 --- a/googleapiclient-stubs/_apis/dns/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dns/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -40,7 +39,7 @@ class DnsResource(googleapiclient.discovery.Resource): managedZone: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortBy: typing_extensions.Literal["changeSequence"] | None = ..., + sortBy: typing.Literal["changeSequence"] | None = ..., sortOrder: str | None = ..., **kwargs: typing.Any, ) -> ChangesListResponseHttpRequest: ... @@ -96,7 +95,7 @@ class DnsResource(googleapiclient.discovery.Resource): managedZone: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortBy: typing_extensions.Literal["startTime", "id"] | None = ..., + sortBy: typing.Literal["startTime", "id"] | None = ..., **kwargs: typing.Any, ) -> ManagedZoneOperationsListResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/dns/v1/schemas.pyi b/googleapiclient-stubs/_apis/dns/v1/schemas.pyi index 107a76a44..72016a0c0 100644 --- a/googleapiclient-stubs/_apis/dns/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dns/v1/schemas.pyi @@ -1,28 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Change(typing_extensions.TypedDict, total=False): +class Change(typing.TypedDict, total=False): additions: _list[ResourceRecordSet] deletions: _list[ResourceRecordSet] id: str isServing: bool kind: str startTime: str - status: typing_extensions.Literal["pending", "done"] + status: typing.Literal["pending", "done"] @typing.type_check_only -class ChangesListResponse(typing_extensions.TypedDict, total=False): +class ChangesListResponse(typing.TypedDict, total=False): changes: _list[Change] kind: str nextPageToken: str @typing.type_check_only -class DnsKey(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DnsKey(typing.TypedDict, total=False): + algorithm: typing.Literal[ "rsasha1", "rsasha256", "rsasha512", "ecdsap256sha256", "ecdsap384sha384" ] creationTime: str @@ -34,83 +32,83 @@ class DnsKey(typing_extensions.TypedDict, total=False): keyTag: int kind: str publicKey: str - type: typing_extensions.Literal["keySigning", "zoneSigning"] + type: typing.Literal["keySigning", "zoneSigning"] @typing.type_check_only -class DnsKeyDigest(typing_extensions.TypedDict, total=False): +class DnsKeyDigest(typing.TypedDict, total=False): digest: str - type: typing_extensions.Literal["sha1", "sha256", "sha384"] + type: typing.Literal["sha1", "sha256", "sha384"] @typing.type_check_only -class DnsKeySpec(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DnsKeySpec(typing.TypedDict, total=False): + algorithm: typing.Literal[ "rsasha1", "rsasha256", "rsasha512", "ecdsap256sha256", "ecdsap384sha384" ] keyLength: int - keyType: typing_extensions.Literal["keySigning", "zoneSigning"] + keyType: typing.Literal["keySigning", "zoneSigning"] kind: str @typing.type_check_only -class DnsKeysListResponse(typing_extensions.TypedDict, total=False): +class DnsKeysListResponse(typing.TypedDict, total=False): dnsKeys: _list[DnsKey] kind: str nextPageToken: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetIamPolicyRequest(typing.TypedDict, total=False): options: GoogleIamV1GetPolicyOptions @typing.type_check_only -class GoogleIamV1GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -118,7 +116,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class ManagedZone(typing_extensions.TypedDict, total=False): +class ManagedZone(typing.TypedDict, total=False): cloudLoggingConfig: ManagedZoneCloudLoggingConfig creationTime: str description: str @@ -135,132 +133,124 @@ class ManagedZone(typing_extensions.TypedDict, total=False): privateVisibilityConfig: ManagedZonePrivateVisibilityConfig reverseLookupConfig: ManagedZoneReverseLookupConfig serviceDirectoryConfig: ManagedZoneServiceDirectoryConfig - visibility: typing_extensions.Literal["public", "private"] + visibility: typing.Literal["public", "private"] @typing.type_check_only -class ManagedZoneCloudLoggingConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneCloudLoggingConfig(typing.TypedDict, total=False): enableLogging: bool kind: str @typing.type_check_only -class ManagedZoneDnsSecConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneDnsSecConfig(typing.TypedDict, total=False): defaultKeySpecs: _list[DnsKeySpec] kind: str - nonExistence: typing_extensions.Literal["nsec", "nsec3"] - state: typing_extensions.Literal["off", "on", "transfer"] + nonExistence: typing.Literal["nsec", "nsec3"] + state: typing.Literal["off", "on", "transfer"] @typing.type_check_only -class ManagedZoneForwardingConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneForwardingConfig(typing.TypedDict, total=False): kind: str targetNameServers: _list[ManagedZoneForwardingConfigNameServerTarget] @typing.type_check_only -class ManagedZoneForwardingConfigNameServerTarget( - typing_extensions.TypedDict, total=False -): +class ManagedZoneForwardingConfigNameServerTarget(typing.TypedDict, total=False): domainName: str - forwardingPath: typing_extensions.Literal["default", "private"] + forwardingPath: typing.Literal["default", "private"] ipv4Address: str ipv6Address: str kind: str @typing.type_check_only -class ManagedZoneOperationsListResponse(typing_extensions.TypedDict, total=False): +class ManagedZoneOperationsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ManagedZonePeeringConfig(typing_extensions.TypedDict, total=False): +class ManagedZonePeeringConfig(typing.TypedDict, total=False): kind: str targetNetwork: ManagedZonePeeringConfigTargetNetwork @typing.type_check_only -class ManagedZonePeeringConfigTargetNetwork(typing_extensions.TypedDict, total=False): +class ManagedZonePeeringConfigTargetNetwork(typing.TypedDict, total=False): deactivateTime: str kind: str networkUrl: str @typing.type_check_only -class ManagedZonePrivateVisibilityConfig(typing_extensions.TypedDict, total=False): +class ManagedZonePrivateVisibilityConfig(typing.TypedDict, total=False): gkeClusters: _list[ManagedZonePrivateVisibilityConfigGKECluster] kind: str networks: _list[ManagedZonePrivateVisibilityConfigNetwork] @typing.type_check_only -class ManagedZonePrivateVisibilityConfigGKECluster( - typing_extensions.TypedDict, total=False -): +class ManagedZonePrivateVisibilityConfigGKECluster(typing.TypedDict, total=False): gkeClusterName: str kind: str @typing.type_check_only -class ManagedZonePrivateVisibilityConfigNetwork( - typing_extensions.TypedDict, total=False -): +class ManagedZonePrivateVisibilityConfigNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class ManagedZoneReverseLookupConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneReverseLookupConfig(typing.TypedDict, total=False): kind: str @typing.type_check_only -class ManagedZoneServiceDirectoryConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneServiceDirectoryConfig(typing.TypedDict, total=False): kind: str namespace: ManagedZoneServiceDirectoryConfigNamespace @typing.type_check_only -class ManagedZoneServiceDirectoryConfigNamespace( - typing_extensions.TypedDict, total=False -): +class ManagedZoneServiceDirectoryConfigNamespace(typing.TypedDict, total=False): deletionTime: str kind: str namespaceUrl: str @typing.type_check_only -class ManagedZonesListResponse(typing_extensions.TypedDict, total=False): +class ManagedZonesListResponse(typing.TypedDict, total=False): kind: str managedZones: _list[ManagedZone] nextPageToken: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): dnsKeyContext: OperationDnsKeyContext id: str kind: str startTime: str - status: typing_extensions.Literal["pending", "done"] + status: typing.Literal["pending", "done"] type: str user: str zoneContext: OperationManagedZoneContext @typing.type_check_only -class OperationDnsKeyContext(typing_extensions.TypedDict, total=False): +class OperationDnsKeyContext(typing.TypedDict, total=False): newValue: DnsKey oldValue: DnsKey @typing.type_check_only -class OperationManagedZoneContext(typing_extensions.TypedDict, total=False): +class OperationManagedZoneContext(typing.TypedDict, total=False): newValue: ManagedZone oldValue: ManagedZone @typing.type_check_only -class PoliciesListResponse(typing_extensions.TypedDict, total=False): +class PoliciesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str policies: _list[Policy] @typing.type_check_only -class PoliciesPatchResponse(typing_extensions.TypedDict, total=False): +class PoliciesPatchResponse(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class PoliciesUpdateResponse(typing_extensions.TypedDict, total=False): +class PoliciesUpdateResponse(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): alternativeNameServerConfig: PolicyAlternativeNameServerConfig description: str dns64Config: PolicyDns64Config @@ -272,43 +262,41 @@ class Policy(typing_extensions.TypedDict, total=False): networks: _list[PolicyNetwork] @typing.type_check_only -class PolicyAlternativeNameServerConfig(typing_extensions.TypedDict, total=False): +class PolicyAlternativeNameServerConfig(typing.TypedDict, total=False): kind: str targetNameServers: _list[PolicyAlternativeNameServerConfigTargetNameServer] @typing.type_check_only -class PolicyAlternativeNameServerConfigTargetNameServer( - typing_extensions.TypedDict, total=False -): - forwardingPath: typing_extensions.Literal["default", "private"] +class PolicyAlternativeNameServerConfigTargetNameServer(typing.TypedDict, total=False): + forwardingPath: typing.Literal["default", "private"] ipv4Address: str ipv6Address: str kind: str @typing.type_check_only -class PolicyDns64Config(typing_extensions.TypedDict, total=False): +class PolicyDns64Config(typing.TypedDict, total=False): kind: str scope: PolicyDns64ConfigScope @typing.type_check_only -class PolicyDns64ConfigScope(typing_extensions.TypedDict, total=False): +class PolicyDns64ConfigScope(typing.TypedDict, total=False): allQueries: bool kind: str @typing.type_check_only -class PolicyNetwork(typing_extensions.TypedDict, total=False): +class PolicyNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): id: str kind: str number: str quota: Quota @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): dnsKeysPerManagedZone: int gkeClustersPerManagedZone: int gkeClustersPerPolicy: int @@ -337,7 +325,7 @@ class Quota(typing_extensions.TypedDict, total=False): whitelistedKeySpecs: _list[DnsKeySpec] @typing.type_check_only -class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicy(typing.TypedDict, total=False): geo: RRSetRoutingPolicyGeoPolicy healthCheck: str kind: str @@ -345,15 +333,13 @@ class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): wrr: RRSetRoutingPolicyWrrPolicy @typing.type_check_only -class RRSetRoutingPolicyGeoPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyGeoPolicy(typing.TypedDict, total=False): enableFencing: bool items: _list[RRSetRoutingPolicyGeoPolicyGeoPolicyItem] kind: str @typing.type_check_only -class RRSetRoutingPolicyGeoPolicyGeoPolicyItem( - typing_extensions.TypedDict, total=False -): +class RRSetRoutingPolicyGeoPolicyGeoPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: RRSetRoutingPolicyHealthCheckTargets kind: str location: str @@ -361,16 +347,16 @@ class RRSetRoutingPolicyGeoPolicyGeoPolicyItem( signatureRrdatas: _list[str] @typing.type_check_only -class RRSetRoutingPolicyHealthCheckTargets(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyHealthCheckTargets(typing.TypedDict, total=False): externalEndpoints: _list[str] internalLoadBalancers: _list[RRSetRoutingPolicyLoadBalancerTarget] @typing.type_check_only -class RRSetRoutingPolicyLoadBalancerTarget(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyLoadBalancerTarget(typing.TypedDict, total=False): ipAddress: str - ipProtocol: typing_extensions.Literal["undefined", "tcp", "udp"] + ipProtocol: typing.Literal["undefined", "tcp", "udp"] kind: str - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "none", "globalL7ilb", "regionalL4ilb", "regionalL7ilb" ] networkUrl: str @@ -379,21 +365,19 @@ class RRSetRoutingPolicyLoadBalancerTarget(typing_extensions.TypedDict, total=Fa region: str @typing.type_check_only -class RRSetRoutingPolicyPrimaryBackupPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyPrimaryBackupPolicy(typing.TypedDict, total=False): backupGeoTargets: RRSetRoutingPolicyGeoPolicy kind: str primaryTargets: RRSetRoutingPolicyHealthCheckTargets trickleTraffic: float @typing.type_check_only -class RRSetRoutingPolicyWrrPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyWrrPolicy(typing.TypedDict, total=False): items: _list[RRSetRoutingPolicyWrrPolicyWrrPolicyItem] kind: str @typing.type_check_only -class RRSetRoutingPolicyWrrPolicyWrrPolicyItem( - typing_extensions.TypedDict, total=False -): +class RRSetRoutingPolicyWrrPolicyWrrPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: RRSetRoutingPolicyHealthCheckTargets kind: str rrdatas: _list[str] @@ -401,7 +385,7 @@ class RRSetRoutingPolicyWrrPolicyWrrPolicyItem( weight: float @typing.type_check_only -class ResourceRecordSet(typing_extensions.TypedDict, total=False): +class ResourceRecordSet(typing.TypedDict, total=False): kind: str name: str routingPolicy: RRSetRoutingPolicy @@ -411,29 +395,29 @@ class ResourceRecordSet(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ResourceRecordSetsDeleteResponse(typing_extensions.TypedDict, total=False): ... +class ResourceRecordSetsDeleteResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ResourceRecordSetsListResponse(typing_extensions.TypedDict, total=False): +class ResourceRecordSetsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str rrsets: _list[ResourceRecordSet] @typing.type_check_only -class ResponsePoliciesListResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesListResponse(typing.TypedDict, total=False): nextPageToken: str responsePolicies: _list[ResponsePolicy] @typing.type_check_only -class ResponsePoliciesPatchResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesPatchResponse(typing.TypedDict, total=False): responsePolicy: ResponsePolicy @typing.type_check_only -class ResponsePoliciesUpdateResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesUpdateResponse(typing.TypedDict, total=False): responsePolicy: ResponsePolicy @typing.type_check_only -class ResponsePolicy(typing_extensions.TypedDict, total=False): +class ResponsePolicy(typing.TypedDict, total=False): description: str gkeClusters: _list[ResponsePolicyGKECluster] id: str @@ -443,42 +427,42 @@ class ResponsePolicy(typing_extensions.TypedDict, total=False): responsePolicyName: str @typing.type_check_only -class ResponsePolicyGKECluster(typing_extensions.TypedDict, total=False): +class ResponsePolicyGKECluster(typing.TypedDict, total=False): gkeClusterName: str kind: str @typing.type_check_only -class ResponsePolicyNetwork(typing_extensions.TypedDict, total=False): +class ResponsePolicyNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class ResponsePolicyRule(typing_extensions.TypedDict, total=False): - behavior: typing_extensions.Literal["behaviorUnspecified", "bypassResponsePolicy"] +class ResponsePolicyRule(typing.TypedDict, total=False): + behavior: typing.Literal["behaviorUnspecified", "bypassResponsePolicy"] dnsName: str kind: str localData: ResponsePolicyRuleLocalData ruleName: str @typing.type_check_only -class ResponsePolicyRuleLocalData(typing_extensions.TypedDict, total=False): +class ResponsePolicyRuleLocalData(typing.TypedDict, total=False): localDatas: _list[ResourceRecordSet] @typing.type_check_only -class ResponsePolicyRulesListResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesListResponse(typing.TypedDict, total=False): nextPageToken: str responsePolicyRules: _list[ResponsePolicyRule] @typing.type_check_only -class ResponsePolicyRulesPatchResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesPatchResponse(typing.TypedDict, total=False): responsePolicyRule: ResponsePolicyRule @typing.type_check_only -class ResponsePolicyRulesUpdateResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesUpdateResponse(typing.TypedDict, total=False): responsePolicyRule: ResponsePolicyRule @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/dns/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/dns/v1beta2/resources.pyi index cec3ea119..1bf183c00 100644 --- a/googleapiclient-stubs/_apis/dns/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/dns/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -40,7 +39,7 @@ class DnsResource(googleapiclient.discovery.Resource): managedZone: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortBy: typing_extensions.Literal["changeSequence"] | None = ..., + sortBy: typing.Literal["changeSequence"] | None = ..., sortOrder: str | None = ..., **kwargs: typing.Any, ) -> ChangesListResponseHttpRequest: ... @@ -96,7 +95,7 @@ class DnsResource(googleapiclient.discovery.Resource): managedZone: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortBy: typing_extensions.Literal["startTime", "id"] | None = ..., + sortBy: typing.Literal["startTime", "id"] | None = ..., **kwargs: typing.Any, ) -> ManagedZoneOperationsListResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi index 6d5ed962e..6dacbc1c9 100644 --- a/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dns/v1beta2/schemas.pyi @@ -1,28 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Change(typing_extensions.TypedDict, total=False): +class Change(typing.TypedDict, total=False): additions: _list[ResourceRecordSet] deletions: _list[ResourceRecordSet] id: str isServing: bool kind: str startTime: str - status: typing_extensions.Literal["pending", "done"] + status: typing.Literal["pending", "done"] @typing.type_check_only -class ChangesListResponse(typing_extensions.TypedDict, total=False): +class ChangesListResponse(typing.TypedDict, total=False): changes: _list[Change] kind: str nextPageToken: str @typing.type_check_only -class DnsKey(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DnsKey(typing.TypedDict, total=False): + algorithm: typing.Literal[ "rsasha1", "rsasha256", "rsasha512", "ecdsap256sha256", "ecdsap384sha384" ] creationTime: str @@ -34,83 +32,83 @@ class DnsKey(typing_extensions.TypedDict, total=False): keyTag: int kind: str publicKey: str - type: typing_extensions.Literal["keySigning", "zoneSigning"] + type: typing.Literal["keySigning", "zoneSigning"] @typing.type_check_only -class DnsKeyDigest(typing_extensions.TypedDict, total=False): +class DnsKeyDigest(typing.TypedDict, total=False): digest: str - type: typing_extensions.Literal["sha1", "sha256", "sha384"] + type: typing.Literal["sha1", "sha256", "sha384"] @typing.type_check_only -class DnsKeySpec(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DnsKeySpec(typing.TypedDict, total=False): + algorithm: typing.Literal[ "rsasha1", "rsasha256", "rsasha512", "ecdsap256sha256", "ecdsap384sha384" ] keyLength: int - keyType: typing_extensions.Literal["keySigning", "zoneSigning"] + keyType: typing.Literal["keySigning", "zoneSigning"] kind: str @typing.type_check_only -class DnsKeysListResponse(typing_extensions.TypedDict, total=False): +class DnsKeysListResponse(typing.TypedDict, total=False): dnsKeys: _list[DnsKey] kind: str nextPageToken: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetIamPolicyRequest(typing.TypedDict, total=False): options: GoogleIamV1GetPolicyOptions @typing.type_check_only -class GoogleIamV1GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -118,7 +116,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class ManagedZone(typing_extensions.TypedDict, total=False): +class ManagedZone(typing.TypedDict, total=False): cloudLoggingConfig: ManagedZoneCloudLoggingConfig creationTime: str description: str @@ -135,132 +133,124 @@ class ManagedZone(typing_extensions.TypedDict, total=False): privateVisibilityConfig: ManagedZonePrivateVisibilityConfig reverseLookupConfig: ManagedZoneReverseLookupConfig serviceDirectoryConfig: ManagedZoneServiceDirectoryConfig - visibility: typing_extensions.Literal["public", "private"] + visibility: typing.Literal["public", "private"] @typing.type_check_only -class ManagedZoneCloudLoggingConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneCloudLoggingConfig(typing.TypedDict, total=False): enableLogging: bool kind: str @typing.type_check_only -class ManagedZoneDnsSecConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneDnsSecConfig(typing.TypedDict, total=False): defaultKeySpecs: _list[DnsKeySpec] kind: str - nonExistence: typing_extensions.Literal["nsec", "nsec3"] - state: typing_extensions.Literal["off", "on", "transfer"] + nonExistence: typing.Literal["nsec", "nsec3"] + state: typing.Literal["off", "on", "transfer"] @typing.type_check_only -class ManagedZoneForwardingConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneForwardingConfig(typing.TypedDict, total=False): kind: str targetNameServers: _list[ManagedZoneForwardingConfigNameServerTarget] @typing.type_check_only -class ManagedZoneForwardingConfigNameServerTarget( - typing_extensions.TypedDict, total=False -): +class ManagedZoneForwardingConfigNameServerTarget(typing.TypedDict, total=False): domainName: str - forwardingPath: typing_extensions.Literal["default", "private"] + forwardingPath: typing.Literal["default", "private"] ipv4Address: str ipv6Address: str kind: str @typing.type_check_only -class ManagedZoneOperationsListResponse(typing_extensions.TypedDict, total=False): +class ManagedZoneOperationsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ManagedZonePeeringConfig(typing_extensions.TypedDict, total=False): +class ManagedZonePeeringConfig(typing.TypedDict, total=False): kind: str targetNetwork: ManagedZonePeeringConfigTargetNetwork @typing.type_check_only -class ManagedZonePeeringConfigTargetNetwork(typing_extensions.TypedDict, total=False): +class ManagedZonePeeringConfigTargetNetwork(typing.TypedDict, total=False): deactivateTime: str kind: str networkUrl: str @typing.type_check_only -class ManagedZonePrivateVisibilityConfig(typing_extensions.TypedDict, total=False): +class ManagedZonePrivateVisibilityConfig(typing.TypedDict, total=False): gkeClusters: _list[ManagedZonePrivateVisibilityConfigGKECluster] kind: str networks: _list[ManagedZonePrivateVisibilityConfigNetwork] @typing.type_check_only -class ManagedZonePrivateVisibilityConfigGKECluster( - typing_extensions.TypedDict, total=False -): +class ManagedZonePrivateVisibilityConfigGKECluster(typing.TypedDict, total=False): gkeClusterName: str kind: str @typing.type_check_only -class ManagedZonePrivateVisibilityConfigNetwork( - typing_extensions.TypedDict, total=False -): +class ManagedZonePrivateVisibilityConfigNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class ManagedZoneReverseLookupConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneReverseLookupConfig(typing.TypedDict, total=False): kind: str @typing.type_check_only -class ManagedZoneServiceDirectoryConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneServiceDirectoryConfig(typing.TypedDict, total=False): kind: str namespace: ManagedZoneServiceDirectoryConfigNamespace @typing.type_check_only -class ManagedZoneServiceDirectoryConfigNamespace( - typing_extensions.TypedDict, total=False -): +class ManagedZoneServiceDirectoryConfigNamespace(typing.TypedDict, total=False): deletionTime: str kind: str namespaceUrl: str @typing.type_check_only -class ManagedZonesListResponse(typing_extensions.TypedDict, total=False): +class ManagedZonesListResponse(typing.TypedDict, total=False): kind: str managedZones: _list[ManagedZone] nextPageToken: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): dnsKeyContext: OperationDnsKeyContext id: str kind: str startTime: str - status: typing_extensions.Literal["pending", "done"] + status: typing.Literal["pending", "done"] type: str user: str zoneContext: OperationManagedZoneContext @typing.type_check_only -class OperationDnsKeyContext(typing_extensions.TypedDict, total=False): +class OperationDnsKeyContext(typing.TypedDict, total=False): newValue: DnsKey oldValue: DnsKey @typing.type_check_only -class OperationManagedZoneContext(typing_extensions.TypedDict, total=False): +class OperationManagedZoneContext(typing.TypedDict, total=False): newValue: ManagedZone oldValue: ManagedZone @typing.type_check_only -class PoliciesListResponse(typing_extensions.TypedDict, total=False): +class PoliciesListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str policies: _list[Policy] @typing.type_check_only -class PoliciesPatchResponse(typing_extensions.TypedDict, total=False): +class PoliciesPatchResponse(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class PoliciesUpdateResponse(typing_extensions.TypedDict, total=False): +class PoliciesUpdateResponse(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): alternativeNameServerConfig: PolicyAlternativeNameServerConfig description: str dns64Config: PolicyDns64Config @@ -272,43 +262,41 @@ class Policy(typing_extensions.TypedDict, total=False): networks: _list[PolicyNetwork] @typing.type_check_only -class PolicyAlternativeNameServerConfig(typing_extensions.TypedDict, total=False): +class PolicyAlternativeNameServerConfig(typing.TypedDict, total=False): kind: str targetNameServers: _list[PolicyAlternativeNameServerConfigTargetNameServer] @typing.type_check_only -class PolicyAlternativeNameServerConfigTargetNameServer( - typing_extensions.TypedDict, total=False -): - forwardingPath: typing_extensions.Literal["default", "private"] +class PolicyAlternativeNameServerConfigTargetNameServer(typing.TypedDict, total=False): + forwardingPath: typing.Literal["default", "private"] ipv4Address: str ipv6Address: str kind: str @typing.type_check_only -class PolicyDns64Config(typing_extensions.TypedDict, total=False): +class PolicyDns64Config(typing.TypedDict, total=False): kind: str scope: PolicyDns64ConfigScope @typing.type_check_only -class PolicyDns64ConfigScope(typing_extensions.TypedDict, total=False): +class PolicyDns64ConfigScope(typing.TypedDict, total=False): allQueries: bool kind: str @typing.type_check_only -class PolicyNetwork(typing_extensions.TypedDict, total=False): +class PolicyNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): id: str kind: str number: str quota: Quota @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): dnsKeysPerManagedZone: int gkeClustersPerManagedZone: int gkeClustersPerPolicy: int @@ -337,7 +325,7 @@ class Quota(typing_extensions.TypedDict, total=False): whitelistedKeySpecs: _list[DnsKeySpec] @typing.type_check_only -class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicy(typing.TypedDict, total=False): geo: RRSetRoutingPolicyGeoPolicy geoPolicy: RRSetRoutingPolicyGeoPolicy healthCheck: str @@ -347,15 +335,13 @@ class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): wrrPolicy: RRSetRoutingPolicyWrrPolicy @typing.type_check_only -class RRSetRoutingPolicyGeoPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyGeoPolicy(typing.TypedDict, total=False): enableFencing: bool items: _list[RRSetRoutingPolicyGeoPolicyGeoPolicyItem] kind: str @typing.type_check_only -class RRSetRoutingPolicyGeoPolicyGeoPolicyItem( - typing_extensions.TypedDict, total=False -): +class RRSetRoutingPolicyGeoPolicyGeoPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: RRSetRoutingPolicyHealthCheckTargets kind: str location: str @@ -363,16 +349,16 @@ class RRSetRoutingPolicyGeoPolicyGeoPolicyItem( signatureRrdatas: _list[str] @typing.type_check_only -class RRSetRoutingPolicyHealthCheckTargets(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyHealthCheckTargets(typing.TypedDict, total=False): externalEndpoints: _list[str] internalLoadBalancers: _list[RRSetRoutingPolicyLoadBalancerTarget] @typing.type_check_only -class RRSetRoutingPolicyLoadBalancerTarget(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyLoadBalancerTarget(typing.TypedDict, total=False): ipAddress: str - ipProtocol: typing_extensions.Literal["undefined", "tcp", "udp"] + ipProtocol: typing.Literal["undefined", "tcp", "udp"] kind: str - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "none", "globalL7ilb", "regionalL4ilb", "regionalL7ilb" ] networkUrl: str @@ -381,21 +367,19 @@ class RRSetRoutingPolicyLoadBalancerTarget(typing_extensions.TypedDict, total=Fa region: str @typing.type_check_only -class RRSetRoutingPolicyPrimaryBackupPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyPrimaryBackupPolicy(typing.TypedDict, total=False): backupGeoTargets: RRSetRoutingPolicyGeoPolicy kind: str primaryTargets: RRSetRoutingPolicyHealthCheckTargets trickleTraffic: float @typing.type_check_only -class RRSetRoutingPolicyWrrPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyWrrPolicy(typing.TypedDict, total=False): items: _list[RRSetRoutingPolicyWrrPolicyWrrPolicyItem] kind: str @typing.type_check_only -class RRSetRoutingPolicyWrrPolicyWrrPolicyItem( - typing_extensions.TypedDict, total=False -): +class RRSetRoutingPolicyWrrPolicyWrrPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: RRSetRoutingPolicyHealthCheckTargets kind: str rrdatas: _list[str] @@ -403,7 +387,7 @@ class RRSetRoutingPolicyWrrPolicyWrrPolicyItem( weight: float @typing.type_check_only -class ResourceRecordSet(typing_extensions.TypedDict, total=False): +class ResourceRecordSet(typing.TypedDict, total=False): kind: str name: str routingPolicy: RRSetRoutingPolicy @@ -413,26 +397,26 @@ class ResourceRecordSet(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ResourceRecordSetsListResponse(typing_extensions.TypedDict, total=False): +class ResourceRecordSetsListResponse(typing.TypedDict, total=False): kind: str nextPageToken: str rrsets: _list[ResourceRecordSet] @typing.type_check_only -class ResponsePoliciesListResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesListResponse(typing.TypedDict, total=False): nextPageToken: str responsePolicies: _list[ResponsePolicy] @typing.type_check_only -class ResponsePoliciesPatchResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesPatchResponse(typing.TypedDict, total=False): responsePolicy: ResponsePolicy @typing.type_check_only -class ResponsePoliciesUpdateResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesUpdateResponse(typing.TypedDict, total=False): responsePolicy: ResponsePolicy @typing.type_check_only -class ResponsePolicy(typing_extensions.TypedDict, total=False): +class ResponsePolicy(typing.TypedDict, total=False): description: str gkeClusters: _list[ResponsePolicyGKECluster] id: str @@ -442,42 +426,42 @@ class ResponsePolicy(typing_extensions.TypedDict, total=False): responsePolicyName: str @typing.type_check_only -class ResponsePolicyGKECluster(typing_extensions.TypedDict, total=False): +class ResponsePolicyGKECluster(typing.TypedDict, total=False): gkeClusterName: str kind: str @typing.type_check_only -class ResponsePolicyNetwork(typing_extensions.TypedDict, total=False): +class ResponsePolicyNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class ResponsePolicyRule(typing_extensions.TypedDict, total=False): - behavior: typing_extensions.Literal["behaviorUnspecified", "bypassResponsePolicy"] +class ResponsePolicyRule(typing.TypedDict, total=False): + behavior: typing.Literal["behaviorUnspecified", "bypassResponsePolicy"] dnsName: str kind: str localData: ResponsePolicyRuleLocalData ruleName: str @typing.type_check_only -class ResponsePolicyRuleLocalData(typing_extensions.TypedDict, total=False): +class ResponsePolicyRuleLocalData(typing.TypedDict, total=False): localDatas: _list[ResourceRecordSet] @typing.type_check_only -class ResponsePolicyRulesListResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesListResponse(typing.TypedDict, total=False): nextPageToken: str responsePolicyRules: _list[ResponsePolicyRule] @typing.type_check_only -class ResponsePolicyRulesPatchResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesPatchResponse(typing.TypedDict, total=False): responsePolicyRule: ResponsePolicyRule @typing.type_check_only -class ResponsePolicyRulesUpdateResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesUpdateResponse(typing.TypedDict, total=False): responsePolicyRule: ResponsePolicyRule @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/dns/v2/resources.pyi b/googleapiclient-stubs/_apis/dns/v2/resources.pyi index 22543d140..297004e7c 100644 --- a/googleapiclient-stubs/_apis/dns/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/dns/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -43,7 +42,7 @@ class DnsResource(googleapiclient.discovery.Resource): managedZone: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortBy: typing_extensions.Literal["CHANGE_SEQUENCE"] | None = ..., + sortBy: typing.Literal["CHANGE_SEQUENCE"] | None = ..., sortOrder: str | None = ..., **kwargs: typing.Any, ) -> ChangesListResponseHttpRequest: ... @@ -103,7 +102,7 @@ class DnsResource(googleapiclient.discovery.Resource): managedZone: str, maxResults: int | None = ..., pageToken: str | None = ..., - sortBy: typing_extensions.Literal["START_TIME", "ID"] | None = ..., + sortBy: typing.Literal["START_TIME", "ID"] | None = ..., **kwargs: typing.Any, ) -> ManagedZoneOperationsListResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/dns/v2/schemas.pyi b/googleapiclient-stubs/_apis/dns/v2/schemas.pyi index 262d15963..d76484114 100644 --- a/googleapiclient-stubs/_apis/dns/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dns/v2/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Change(typing_extensions.TypedDict, total=False): +class Change(typing.TypedDict, total=False): additions: _list[ResourceRecordSet] deletions: _list[ResourceRecordSet] id: str isServing: bool kind: str startTime: str - status: typing_extensions.Literal["PENDING", "DONE"] + status: typing.Literal["PENDING", "DONE"] @typing.type_check_only -class ChangesListResponse(typing_extensions.TypedDict, total=False): +class ChangesListResponse(typing.TypedDict, total=False): changes: _list[Change] header: ResponseHeader kind: str nextPageToken: str @typing.type_check_only -class DnsKey(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DnsKey(typing.TypedDict, total=False): + algorithm: typing.Literal[ "RSASHA1", "RSASHA256", "RSASHA512", "ECDSAP256SHA256", "ECDSAP384SHA384" ] creationTime: str @@ -35,31 +33,31 @@ class DnsKey(typing_extensions.TypedDict, total=False): keyTag: int kind: str publicKey: str - type: typing_extensions.Literal["KEY_SIGNING", "ZONE_SIGNING"] + type: typing.Literal["KEY_SIGNING", "ZONE_SIGNING"] @typing.type_check_only -class DnsKeyDigest(typing_extensions.TypedDict, total=False): +class DnsKeyDigest(typing.TypedDict, total=False): digest: str - type: typing_extensions.Literal["SHA1", "SHA256", "SHA384"] + type: typing.Literal["SHA1", "SHA256", "SHA384"] @typing.type_check_only -class DnsKeySpec(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DnsKeySpec(typing.TypedDict, total=False): + algorithm: typing.Literal[ "RSASHA1", "RSASHA256", "RSASHA512", "ECDSAP256SHA256", "ECDSAP384SHA384" ] keyLength: int - keyType: typing_extensions.Literal["KEY_SIGNING", "ZONE_SIGNING"] + keyType: typing.Literal["KEY_SIGNING", "ZONE_SIGNING"] kind: str @typing.type_check_only -class DnsKeysListResponse(typing_extensions.TypedDict, total=False): +class DnsKeysListResponse(typing.TypedDict, total=False): dnsKeys: _list[DnsKey] header: ResponseHeader kind: str nextPageToken: str @typing.type_check_only -class ManagedZone(typing_extensions.TypedDict, total=False): +class ManagedZone(typing.TypedDict, total=False): cloudLoggingConfig: ManagedZoneCloudLoggingConfig creationTime: str description: str @@ -76,135 +74,127 @@ class ManagedZone(typing_extensions.TypedDict, total=False): privateVisibilityConfig: ManagedZonePrivateVisibilityConfig reverseLookupConfig: ManagedZoneReverseLookupConfig serviceDirectoryConfig: ManagedZoneServiceDirectoryConfig - visibility: typing_extensions.Literal["PUBLIC", "PRIVATE"] + visibility: typing.Literal["PUBLIC", "PRIVATE"] @typing.type_check_only -class ManagedZoneCloudLoggingConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneCloudLoggingConfig(typing.TypedDict, total=False): enableLogging: bool kind: str @typing.type_check_only -class ManagedZoneDnsSecConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneDnsSecConfig(typing.TypedDict, total=False): defaultKeySpecs: _list[DnsKeySpec] kind: str - nonExistence: typing_extensions.Literal["NSEC", "NSEC3"] - state: typing_extensions.Literal["OFF", "ON", "TRANSFER"] + nonExistence: typing.Literal["NSEC", "NSEC3"] + state: typing.Literal["OFF", "ON", "TRANSFER"] @typing.type_check_only -class ManagedZoneForwardingConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneForwardingConfig(typing.TypedDict, total=False): kind: str targetNameServers: _list[ManagedZoneForwardingConfigNameServerTarget] @typing.type_check_only -class ManagedZoneForwardingConfigNameServerTarget( - typing_extensions.TypedDict, total=False -): - forwardingPath: typing_extensions.Literal["DEFAULT", "PRIVATE"] +class ManagedZoneForwardingConfigNameServerTarget(typing.TypedDict, total=False): + forwardingPath: typing.Literal["DEFAULT", "PRIVATE"] ipv4Address: str kind: str @typing.type_check_only -class ManagedZoneOperationsListResponse(typing_extensions.TypedDict, total=False): +class ManagedZoneOperationsListResponse(typing.TypedDict, total=False): header: ResponseHeader kind: str nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ManagedZonePeeringConfig(typing_extensions.TypedDict, total=False): +class ManagedZonePeeringConfig(typing.TypedDict, total=False): kind: str targetNetwork: ManagedZonePeeringConfigTargetNetwork @typing.type_check_only -class ManagedZonePeeringConfigTargetNetwork(typing_extensions.TypedDict, total=False): +class ManagedZonePeeringConfigTargetNetwork(typing.TypedDict, total=False): deactivateTime: str kind: str networkUrl: str @typing.type_check_only -class ManagedZonePrivateVisibilityConfig(typing_extensions.TypedDict, total=False): +class ManagedZonePrivateVisibilityConfig(typing.TypedDict, total=False): gkeClusters: _list[ManagedZonePrivateVisibilityConfigGKECluster] kind: str networks: _list[ManagedZonePrivateVisibilityConfigNetwork] @typing.type_check_only -class ManagedZonePrivateVisibilityConfigGKECluster( - typing_extensions.TypedDict, total=False -): +class ManagedZonePrivateVisibilityConfigGKECluster(typing.TypedDict, total=False): gkeClusterName: str kind: str @typing.type_check_only -class ManagedZonePrivateVisibilityConfigNetwork( - typing_extensions.TypedDict, total=False -): +class ManagedZonePrivateVisibilityConfigNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class ManagedZoneReverseLookupConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneReverseLookupConfig(typing.TypedDict, total=False): kind: str @typing.type_check_only -class ManagedZoneServiceDirectoryConfig(typing_extensions.TypedDict, total=False): +class ManagedZoneServiceDirectoryConfig(typing.TypedDict, total=False): kind: str namespace: ManagedZoneServiceDirectoryConfigNamespace @typing.type_check_only -class ManagedZoneServiceDirectoryConfigNamespace( - typing_extensions.TypedDict, total=False -): +class ManagedZoneServiceDirectoryConfigNamespace(typing.TypedDict, total=False): deletionTime: str kind: str namespaceUrl: str @typing.type_check_only -class ManagedZonesListResponse(typing_extensions.TypedDict, total=False): +class ManagedZonesListResponse(typing.TypedDict, total=False): header: ResponseHeader kind: str managedZones: _list[ManagedZone] nextPageToken: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): dnsKeyContext: OperationDnsKeyContext id: str kind: str startTime: str - status: typing_extensions.Literal["PENDING", "DONE"] + status: typing.Literal["PENDING", "DONE"] type: str user: str zoneContext: OperationManagedZoneContext @typing.type_check_only -class OperationDnsKeyContext(typing_extensions.TypedDict, total=False): +class OperationDnsKeyContext(typing.TypedDict, total=False): newValue: DnsKey oldValue: DnsKey @typing.type_check_only -class OperationManagedZoneContext(typing_extensions.TypedDict, total=False): +class OperationManagedZoneContext(typing.TypedDict, total=False): newValue: ManagedZone oldValue: ManagedZone @typing.type_check_only -class PoliciesListResponse(typing_extensions.TypedDict, total=False): +class PoliciesListResponse(typing.TypedDict, total=False): header: ResponseHeader kind: str nextPageToken: str policies: _list[Policy] @typing.type_check_only -class PoliciesPatchResponse(typing_extensions.TypedDict, total=False): +class PoliciesPatchResponse(typing.TypedDict, total=False): header: ResponseHeader policy: Policy @typing.type_check_only -class PoliciesUpdateResponse(typing_extensions.TypedDict, total=False): +class PoliciesUpdateResponse(typing.TypedDict, total=False): header: ResponseHeader policy: Policy @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): alternativeNameServerConfig: PolicyAlternativeNameServerConfig description: str enableInboundForwarding: bool @@ -215,32 +205,30 @@ class Policy(typing_extensions.TypedDict, total=False): networks: _list[PolicyNetwork] @typing.type_check_only -class PolicyAlternativeNameServerConfig(typing_extensions.TypedDict, total=False): +class PolicyAlternativeNameServerConfig(typing.TypedDict, total=False): kind: str targetNameServers: _list[PolicyAlternativeNameServerConfigTargetNameServer] @typing.type_check_only -class PolicyAlternativeNameServerConfigTargetNameServer( - typing_extensions.TypedDict, total=False -): - forwardingPath: typing_extensions.Literal["DEFAULT", "PRIVATE"] +class PolicyAlternativeNameServerConfigTargetNameServer(typing.TypedDict, total=False): + forwardingPath: typing.Literal["DEFAULT", "PRIVATE"] ipv4Address: str kind: str @typing.type_check_only -class PolicyNetwork(typing_extensions.TypedDict, total=False): +class PolicyNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): id: str kind: str number: str quota: Quota @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): dnsKeysPerManagedZone: int itemsPerRoutingPolicy: int kind: str @@ -260,41 +248,37 @@ class Quota(typing_extensions.TypedDict, total=False): whitelistedKeySpecs: _list[DnsKeySpec] @typing.type_check_only -class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicy(typing.TypedDict, total=False): geo: RRSetRoutingPolicyGeoPolicy kind: str wrr: RRSetRoutingPolicyWrrPolicy @typing.type_check_only -class RRSetRoutingPolicyGeoPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyGeoPolicy(typing.TypedDict, total=False): items: _list[RRSetRoutingPolicyGeoPolicyGeoPolicyItem] kind: str @typing.type_check_only -class RRSetRoutingPolicyGeoPolicyGeoPolicyItem( - typing_extensions.TypedDict, total=False -): +class RRSetRoutingPolicyGeoPolicyGeoPolicyItem(typing.TypedDict, total=False): kind: str location: str rrdatas: _list[str] signatureRrdatas: _list[str] @typing.type_check_only -class RRSetRoutingPolicyWrrPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicyWrrPolicy(typing.TypedDict, total=False): items: _list[RRSetRoutingPolicyWrrPolicyWrrPolicyItem] kind: str @typing.type_check_only -class RRSetRoutingPolicyWrrPolicyWrrPolicyItem( - typing_extensions.TypedDict, total=False -): +class RRSetRoutingPolicyWrrPolicyWrrPolicyItem(typing.TypedDict, total=False): kind: str rrdatas: _list[str] signatureRrdatas: _list[str] weight: float @typing.type_check_only -class ResourceRecordSet(typing_extensions.TypedDict, total=False): +class ResourceRecordSet(typing.TypedDict, total=False): kind: str name: str routingPolicy: RRSetRoutingPolicy @@ -304,34 +288,34 @@ class ResourceRecordSet(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ResourceRecordSetsListResponse(typing_extensions.TypedDict, total=False): +class ResourceRecordSetsListResponse(typing.TypedDict, total=False): header: ResponseHeader kind: str nextPageToken: str rrsets: _list[ResourceRecordSet] @typing.type_check_only -class ResponseHeader(typing_extensions.TypedDict, total=False): +class ResponseHeader(typing.TypedDict, total=False): operationId: str @typing.type_check_only -class ResponsePoliciesListResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesListResponse(typing.TypedDict, total=False): header: ResponseHeader nextPageToken: str responsePolicies: _list[ResponsePolicy] @typing.type_check_only -class ResponsePoliciesPatchResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesPatchResponse(typing.TypedDict, total=False): header: ResponseHeader responsePolicy: ResponsePolicy @typing.type_check_only -class ResponsePoliciesUpdateResponse(typing_extensions.TypedDict, total=False): +class ResponsePoliciesUpdateResponse(typing.TypedDict, total=False): header: ResponseHeader responsePolicy: ResponsePolicy @typing.type_check_only -class ResponsePolicy(typing_extensions.TypedDict, total=False): +class ResponsePolicy(typing.TypedDict, total=False): description: str gkeClusters: _list[ResponsePolicyGKECluster] id: str @@ -340,41 +324,39 @@ class ResponsePolicy(typing_extensions.TypedDict, total=False): responsePolicyName: str @typing.type_check_only -class ResponsePolicyGKECluster(typing_extensions.TypedDict, total=False): +class ResponsePolicyGKECluster(typing.TypedDict, total=False): gkeClusterName: str kind: str @typing.type_check_only -class ResponsePolicyNetwork(typing_extensions.TypedDict, total=False): +class ResponsePolicyNetwork(typing.TypedDict, total=False): kind: str networkUrl: str @typing.type_check_only -class ResponsePolicyRule(typing_extensions.TypedDict, total=False): - behavior: typing_extensions.Literal[ - "BEHAVIOR_UNSPECIFIED", "BYPASS_RESPONSE_POLICY" - ] +class ResponsePolicyRule(typing.TypedDict, total=False): + behavior: typing.Literal["BEHAVIOR_UNSPECIFIED", "BYPASS_RESPONSE_POLICY"] dnsName: str kind: str localData: ResponsePolicyRuleLocalData ruleName: str @typing.type_check_only -class ResponsePolicyRuleLocalData(typing_extensions.TypedDict, total=False): +class ResponsePolicyRuleLocalData(typing.TypedDict, total=False): localDatas: _list[ResourceRecordSet] @typing.type_check_only -class ResponsePolicyRulesListResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesListResponse(typing.TypedDict, total=False): header: ResponseHeader nextPageToken: str responsePolicyRules: _list[ResponsePolicyRule] @typing.type_check_only -class ResponsePolicyRulesPatchResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesPatchResponse(typing.TypedDict, total=False): header: ResponseHeader responsePolicyRule: ResponsePolicyRule @typing.type_check_only -class ResponsePolicyRulesUpdateResponse(typing_extensions.TypedDict, total=False): +class ResponsePolicyRulesUpdateResponse(typing.TypedDict, total=False): header: ResponseHeader responsePolicyRule: ResponsePolicyRule diff --git a/googleapiclient-stubs/_apis/docs/v1/resources.pyi b/googleapiclient-stubs/_apis/docs/v1/resources.pyi index ebcb24b3f..fc1411154 100644 --- a/googleapiclient-stubs/_apis/docs/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/docs/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -30,7 +29,7 @@ class DocsResource(googleapiclient.discovery.Resource): *, documentId: str, includeTabsContent: bool | None = ..., - suggestionsViewMode: typing_extensions.Literal[ + suggestionsViewMode: typing.Literal[ "DEFAULT_FOR_CURRENT_ACCESS", "SUGGESTIONS_INLINE", "PREVIEW_SUGGESTIONS_ACCEPTED", diff --git a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi index 862881653..fc05d30aa 100644 --- a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi @@ -1,115 +1,113 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddDocumentTabRequest(typing_extensions.TypedDict, total=False): +class AddDocumentTabRequest(typing.TypedDict, total=False): tabProperties: TabProperties @typing.type_check_only -class AddDocumentTabResponse(typing_extensions.TypedDict, total=False): +class AddDocumentTabResponse(typing.TypedDict, total=False): tabProperties: TabProperties @typing.type_check_only -class AutoText(typing_extensions.TypedDict, total=False): +class AutoText(typing.TypedDict, total=False): suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] suggestedTextStyleChanges: dict[str, typing.Any] textStyle: TextStyle - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PAGE_NUMBER", "PAGE_COUNT"] + type: typing.Literal["TYPE_UNSPECIFIED", "PAGE_NUMBER", "PAGE_COUNT"] @typing.type_check_only -class Background(typing_extensions.TypedDict, total=False): +class Background(typing.TypedDict, total=False): color: OptionalColor @typing.type_check_only -class BackgroundSuggestionState(typing_extensions.TypedDict, total=False): +class BackgroundSuggestionState(typing.TypedDict, total=False): backgroundColorSuggested: bool @typing.type_check_only -class BatchUpdateDocumentRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateDocumentRequest(typing.TypedDict, total=False): requests: _list[Request] writeControl: WriteControl @typing.type_check_only -class BatchUpdateDocumentResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateDocumentResponse(typing.TypedDict, total=False): documentId: str replies: _list[Response] writeControl: WriteControl @typing.type_check_only -class Body(typing_extensions.TypedDict, total=False): +class Body(typing.TypedDict, total=False): content: _list[StructuralElement] @typing.type_check_only -class BookmarkLink(typing_extensions.TypedDict, total=False): +class BookmarkLink(typing.TypedDict, total=False): id: str tabId: str @typing.type_check_only -class Bullet(typing_extensions.TypedDict, total=False): +class Bullet(typing.TypedDict, total=False): listId: str nestingLevel: int textStyle: TextStyle @typing.type_check_only -class BulletSuggestionState(typing_extensions.TypedDict, total=False): +class BulletSuggestionState(typing.TypedDict, total=False): listIdSuggested: bool nestingLevelSuggested: bool textStyleSuggestionState: TextStyleSuggestionState @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): rgbColor: RgbColor @typing.type_check_only -class ColumnBreak(typing_extensions.TypedDict, total=False): +class ColumnBreak(typing.TypedDict, total=False): suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] suggestedTextStyleChanges: dict[str, typing.Any] textStyle: TextStyle @typing.type_check_only -class CreateFooterRequest(typing_extensions.TypedDict, total=False): +class CreateFooterRequest(typing.TypedDict, total=False): sectionBreakLocation: Location - type: typing_extensions.Literal["HEADER_FOOTER_TYPE_UNSPECIFIED", "DEFAULT"] + type: typing.Literal["HEADER_FOOTER_TYPE_UNSPECIFIED", "DEFAULT"] @typing.type_check_only -class CreateFooterResponse(typing_extensions.TypedDict, total=False): +class CreateFooterResponse(typing.TypedDict, total=False): footerId: str @typing.type_check_only -class CreateFootnoteRequest(typing_extensions.TypedDict, total=False): +class CreateFootnoteRequest(typing.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location @typing.type_check_only -class CreateFootnoteResponse(typing_extensions.TypedDict, total=False): +class CreateFootnoteResponse(typing.TypedDict, total=False): footnoteId: str @typing.type_check_only -class CreateHeaderRequest(typing_extensions.TypedDict, total=False): +class CreateHeaderRequest(typing.TypedDict, total=False): sectionBreakLocation: Location - type: typing_extensions.Literal["HEADER_FOOTER_TYPE_UNSPECIFIED", "DEFAULT"] + type: typing.Literal["HEADER_FOOTER_TYPE_UNSPECIFIED", "DEFAULT"] @typing.type_check_only -class CreateHeaderResponse(typing_extensions.TypedDict, total=False): +class CreateHeaderResponse(typing.TypedDict, total=False): headerId: str @typing.type_check_only -class CreateNamedRangeRequest(typing_extensions.TypedDict, total=False): +class CreateNamedRangeRequest(typing.TypedDict, total=False): name: str range: Range @typing.type_check_only -class CreateNamedRangeResponse(typing_extensions.TypedDict, total=False): +class CreateNamedRangeResponse(typing.TypedDict, total=False): namedRangeId: str @typing.type_check_only -class CreateParagraphBulletsRequest(typing_extensions.TypedDict, total=False): - bulletPreset: typing_extensions.Literal[ +class CreateParagraphBulletsRequest(typing.TypedDict, total=False): + bulletPreset: typing.Literal[ "BULLET_GLYPH_PRESET_UNSPECIFIED", "BULLET_DISC_CIRCLE_SQUARE", "BULLET_DIAMONDX_ARROW3D_SQUARE", @@ -130,7 +128,7 @@ class CreateParagraphBulletsRequest(typing_extensions.TypedDict, total=False): range: Range @typing.type_check_only -class CropProperties(typing_extensions.TypedDict, total=False): +class CropProperties(typing.TypedDict, total=False): angle: float offsetBottom: float offsetLeft: float @@ -138,7 +136,7 @@ class CropProperties(typing_extensions.TypedDict, total=False): offsetTop: float @typing.type_check_only -class CropPropertiesSuggestionState(typing_extensions.TypedDict, total=False): +class CropPropertiesSuggestionState(typing.TypedDict, total=False): angleSuggested: bool offsetBottomSuggested: bool offsetLeftSuggested: bool @@ -146,7 +144,7 @@ class CropPropertiesSuggestionState(typing_extensions.TypedDict, total=False): offsetTopSuggested: bool @typing.type_check_only -class DateElement(typing_extensions.TypedDict, total=False): +class DateElement(typing.TypedDict, total=False): dateElementProperties: DateElementProperties dateId: str suggestedDateElementPropertiesChanges: dict[str, typing.Any] @@ -156,8 +154,8 @@ class DateElement(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class DateElementProperties(typing_extensions.TypedDict, total=False): - dateFormat: typing_extensions.Literal[ +class DateElementProperties(typing.TypedDict, total=False): + dateFormat: typing.Literal[ "DATE_FORMAT_UNSPECIFIED", "DATE_FORMAT_CUSTOM", "DATE_FORMAT_MONTH_DAY_ABBREVIATED", @@ -167,7 +165,7 @@ class DateElementProperties(typing_extensions.TypedDict, total=False): ] displayText: str locale: str - timeFormat: typing_extensions.Literal[ + timeFormat: typing.Literal[ "TIME_FORMAT_UNSPECIFIED", "TIME_FORMAT_DISABLED", "TIME_FORMAT_HOUR_MINUTE", @@ -177,7 +175,7 @@ class DateElementProperties(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class DateElementPropertiesSuggestionState(typing_extensions.TypedDict, total=False): +class DateElementPropertiesSuggestionState(typing.TypedDict, total=False): dateFormatSuggested: bool localeSuggested: bool timeFormatSuggested: bool @@ -185,53 +183,53 @@ class DateElementPropertiesSuggestionState(typing_extensions.TypedDict, total=Fa timestampSuggested: bool @typing.type_check_only -class DeleteContentRangeRequest(typing_extensions.TypedDict, total=False): +class DeleteContentRangeRequest(typing.TypedDict, total=False): range: Range @typing.type_check_only -class DeleteFooterRequest(typing_extensions.TypedDict, total=False): +class DeleteFooterRequest(typing.TypedDict, total=False): footerId: str tabId: str @typing.type_check_only -class DeleteHeaderRequest(typing_extensions.TypedDict, total=False): +class DeleteHeaderRequest(typing.TypedDict, total=False): headerId: str tabId: str @typing.type_check_only -class DeleteNamedRangeRequest(typing_extensions.TypedDict, total=False): +class DeleteNamedRangeRequest(typing.TypedDict, total=False): name: str namedRangeId: str tabsCriteria: TabsCriteria @typing.type_check_only -class DeleteParagraphBulletsRequest(typing_extensions.TypedDict, total=False): +class DeleteParagraphBulletsRequest(typing.TypedDict, total=False): range: Range @typing.type_check_only -class DeletePositionedObjectRequest(typing_extensions.TypedDict, total=False): +class DeletePositionedObjectRequest(typing.TypedDict, total=False): objectId: str tabId: str @typing.type_check_only -class DeleteTabRequest(typing_extensions.TypedDict, total=False): +class DeleteTabRequest(typing.TypedDict, total=False): tabId: str @typing.type_check_only -class DeleteTableColumnRequest(typing_extensions.TypedDict, total=False): +class DeleteTableColumnRequest(typing.TypedDict, total=False): tableCellLocation: TableCellLocation @typing.type_check_only -class DeleteTableRowRequest(typing_extensions.TypedDict, total=False): +class DeleteTableRowRequest(typing.TypedDict, total=False): tableCellLocation: TableCellLocation @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): magnitude: float - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "PT"] + unit: typing.Literal["UNIT_UNSPECIFIED", "PT"] @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class Document(typing.TypedDict, total=False): body: Body documentId: str documentStyle: DocumentStyle @@ -246,7 +244,7 @@ class Document(typing_extensions.TypedDict, total=False): revisionId: str suggestedDocumentStyleChanges: dict[str, typing.Any] suggestedNamedStylesChanges: dict[str, typing.Any] - suggestionsViewMode: typing_extensions.Literal[ + suggestionsViewMode: typing.Literal[ "DEFAULT_FOR_CURRENT_ACCESS", "SUGGESTIONS_INLINE", "PREVIEW_SUGGESTIONS_ACCEPTED", @@ -256,13 +254,11 @@ class Document(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class DocumentFormat(typing_extensions.TypedDict, total=False): - documentMode: typing_extensions.Literal[ - "DOCUMENT_MODE_UNSPECIFIED", "PAGES", "PAGELESS" - ] +class DocumentFormat(typing.TypedDict, total=False): + documentMode: typing.Literal["DOCUMENT_MODE_UNSPECIFIED", "PAGES", "PAGELESS"] @typing.type_check_only -class DocumentStyle(typing_extensions.TypedDict, total=False): +class DocumentStyle(typing.TypedDict, total=False): background: Background defaultFooterId: str defaultHeaderId: str @@ -285,7 +281,7 @@ class DocumentStyle(typing_extensions.TypedDict, total=False): useFirstPageHeaderFooter: bool @typing.type_check_only -class DocumentStyleSuggestionState(typing_extensions.TypedDict, total=False): +class DocumentStyleSuggestionState(typing.TypedDict, total=False): backgroundSuggestionState: BackgroundSuggestionState defaultFooterIdSuggested: bool defaultHeaderIdSuggested: bool @@ -307,7 +303,7 @@ class DocumentStyleSuggestionState(typing_extensions.TypedDict, total=False): useFirstPageHeaderFooterSuggested: bool @typing.type_check_only -class DocumentTab(typing_extensions.TypedDict, total=False): +class DocumentTab(typing.TypedDict, total=False): body: Body documentStyle: DocumentStyle footers: dict[str, typing.Any] @@ -322,15 +318,13 @@ class DocumentTab(typing_extensions.TypedDict, total=False): suggestedNamedStylesChanges: dict[str, typing.Any] @typing.type_check_only -class EmbeddedDrawingProperties(typing_extensions.TypedDict, total=False): ... +class EmbeddedDrawingProperties(typing.TypedDict, total=False): ... @typing.type_check_only -class EmbeddedDrawingPropertiesSuggestionState( - typing_extensions.TypedDict, total=False -): ... +class EmbeddedDrawingPropertiesSuggestionState(typing.TypedDict, total=False): ... @typing.type_check_only -class EmbeddedObject(typing_extensions.TypedDict, total=False): +class EmbeddedObject(typing.TypedDict, total=False): description: str embeddedDrawingProperties: EmbeddedDrawingProperties embeddedObjectBorder: EmbeddedObjectBorder @@ -344,23 +338,21 @@ class EmbeddedObject(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class EmbeddedObjectBorder(typing_extensions.TypedDict, total=False): +class EmbeddedObjectBorder(typing.TypedDict, total=False): color: OptionalColor - dashStyle: typing_extensions.Literal[ - "DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", "DASH" - ] - propertyState: typing_extensions.Literal["RENDERED", "NOT_RENDERED"] + dashStyle: typing.Literal["DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", "DASH"] + propertyState: typing.Literal["RENDERED", "NOT_RENDERED"] width: Dimension @typing.type_check_only -class EmbeddedObjectBorderSuggestionState(typing_extensions.TypedDict, total=False): +class EmbeddedObjectBorderSuggestionState(typing.TypedDict, total=False): colorSuggested: bool dashStyleSuggested: bool propertyStateSuggested: bool widthSuggested: bool @typing.type_check_only -class EmbeddedObjectSuggestionState(typing_extensions.TypedDict, total=False): +class EmbeddedObjectSuggestionState(typing.TypedDict, total=False): descriptionSuggested: bool embeddedDrawingPropertiesSuggestionState: EmbeddedDrawingPropertiesSuggestionState embeddedObjectBorderSuggestionState: EmbeddedObjectBorderSuggestionState @@ -374,27 +366,27 @@ class EmbeddedObjectSuggestionState(typing_extensions.TypedDict, total=False): titleSuggested: bool @typing.type_check_only -class EndOfSegmentLocation(typing_extensions.TypedDict, total=False): +class EndOfSegmentLocation(typing.TypedDict, total=False): segmentId: str tabId: str @typing.type_check_only -class Equation(typing_extensions.TypedDict, total=False): +class Equation(typing.TypedDict, total=False): suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] @typing.type_check_only -class Footer(typing_extensions.TypedDict, total=False): +class Footer(typing.TypedDict, total=False): content: _list[StructuralElement] footerId: str @typing.type_check_only -class Footnote(typing_extensions.TypedDict, total=False): +class Footnote(typing.TypedDict, total=False): content: _list[StructuralElement] footnoteId: str @typing.type_check_only -class FootnoteReference(typing_extensions.TypedDict, total=False): +class FootnoteReference(typing.TypedDict, total=False): footnoteId: str footnoteNumber: str suggestedDeletionIds: _list[str] @@ -403,24 +395,24 @@ class FootnoteReference(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): content: _list[StructuralElement] headerId: str @typing.type_check_only -class HeadingLink(typing_extensions.TypedDict, total=False): +class HeadingLink(typing.TypedDict, total=False): id: str tabId: str @typing.type_check_only -class HorizontalRule(typing_extensions.TypedDict, total=False): +class HorizontalRule(typing.TypedDict, total=False): suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] suggestedTextStyleChanges: dict[str, typing.Any] textStyle: TextStyle @typing.type_check_only -class ImageProperties(typing_extensions.TypedDict, total=False): +class ImageProperties(typing.TypedDict, total=False): angle: float brightness: float contentUri: str @@ -430,7 +422,7 @@ class ImageProperties(typing_extensions.TypedDict, total=False): transparency: float @typing.type_check_only -class ImagePropertiesSuggestionState(typing_extensions.TypedDict, total=False): +class ImagePropertiesSuggestionState(typing.TypedDict, total=False): angleSuggested: bool brightnessSuggested: bool contentUriSuggested: bool @@ -440,7 +432,7 @@ class ImagePropertiesSuggestionState(typing_extensions.TypedDict, total=False): transparencySuggested: bool @typing.type_check_only -class InlineObject(typing_extensions.TypedDict, total=False): +class InlineObject(typing.TypedDict, total=False): inlineObjectProperties: InlineObjectProperties objectId: str suggestedDeletionIds: _list[str] @@ -448,7 +440,7 @@ class InlineObject(typing_extensions.TypedDict, total=False): suggestedInsertionId: str @typing.type_check_only -class InlineObjectElement(typing_extensions.TypedDict, total=False): +class InlineObjectElement(typing.TypedDict, total=False): inlineObjectId: str suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] @@ -456,84 +448,82 @@ class InlineObjectElement(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class InlineObjectProperties(typing_extensions.TypedDict, total=False): +class InlineObjectProperties(typing.TypedDict, total=False): embeddedObject: EmbeddedObject @typing.type_check_only -class InlineObjectPropertiesSuggestionState(typing_extensions.TypedDict, total=False): +class InlineObjectPropertiesSuggestionState(typing.TypedDict, total=False): embeddedObjectSuggestionState: EmbeddedObjectSuggestionState @typing.type_check_only -class InsertDateRequest(typing_extensions.TypedDict, total=False): +class InsertDateRequest(typing.TypedDict, total=False): dateElementProperties: DateElementProperties endOfSegmentLocation: EndOfSegmentLocation location: Location @typing.type_check_only -class InsertInlineImageRequest(typing_extensions.TypedDict, total=False): +class InsertInlineImageRequest(typing.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location objectSize: Size uri: str @typing.type_check_only -class InsertInlineImageResponse(typing_extensions.TypedDict, total=False): +class InsertInlineImageResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class InsertInlineSheetsChartResponse(typing_extensions.TypedDict, total=False): +class InsertInlineSheetsChartResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class InsertPageBreakRequest(typing_extensions.TypedDict, total=False): +class InsertPageBreakRequest(typing.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location @typing.type_check_only -class InsertPersonRequest(typing_extensions.TypedDict, total=False): +class InsertPersonRequest(typing.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location personProperties: PersonProperties @typing.type_check_only -class InsertRichLinkRequest(typing_extensions.TypedDict, total=False): +class InsertRichLinkRequest(typing.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location richLinkProperties: RichLinkProperties @typing.type_check_only -class InsertSectionBreakRequest(typing_extensions.TypedDict, total=False): +class InsertSectionBreakRequest(typing.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location - sectionType: typing_extensions.Literal[ - "SECTION_TYPE_UNSPECIFIED", "CONTINUOUS", "NEXT_PAGE" - ] + sectionType: typing.Literal["SECTION_TYPE_UNSPECIFIED", "CONTINUOUS", "NEXT_PAGE"] @typing.type_check_only -class InsertTableColumnRequest(typing_extensions.TypedDict, total=False): +class InsertTableColumnRequest(typing.TypedDict, total=False): insertRight: bool tableCellLocation: TableCellLocation @typing.type_check_only -class InsertTableRequest(typing_extensions.TypedDict, total=False): +class InsertTableRequest(typing.TypedDict, total=False): columns: int endOfSegmentLocation: EndOfSegmentLocation location: Location rows: int @typing.type_check_only -class InsertTableRowRequest(typing_extensions.TypedDict, total=False): +class InsertTableRowRequest(typing.TypedDict, total=False): insertBelow: bool tableCellLocation: TableCellLocation @typing.type_check_only -class InsertTextRequest(typing_extensions.TypedDict, total=False): +class InsertTextRequest(typing.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation location: Location text: str @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): bookmark: BookmarkLink bookmarkId: str heading: HeadingLink @@ -542,52 +532,52 @@ class Link(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class LinkedContentReference(typing_extensions.TypedDict, total=False): +class LinkedContentReference(typing.TypedDict, total=False): sheetsChartReference: SheetsChartReference @typing.type_check_only -class LinkedContentReferenceSuggestionState(typing_extensions.TypedDict, total=False): +class LinkedContentReferenceSuggestionState(typing.TypedDict, total=False): sheetsChartReferenceSuggestionState: SheetsChartReferenceSuggestionState @typing.type_check_only -class List(typing_extensions.TypedDict, total=False): +class List(typing.TypedDict, total=False): listProperties: ListProperties suggestedDeletionIds: _list[str] suggestedInsertionId: str suggestedListPropertiesChanges: dict[str, typing.Any] @typing.type_check_only -class ListProperties(typing_extensions.TypedDict, total=False): +class ListProperties(typing.TypedDict, total=False): nestingLevels: _list[NestingLevel] @typing.type_check_only -class ListPropertiesSuggestionState(typing_extensions.TypedDict, total=False): +class ListPropertiesSuggestionState(typing.TypedDict, total=False): nestingLevelsSuggestionStates: _list[NestingLevelSuggestionState] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): index: int segmentId: str tabId: str @typing.type_check_only -class MergeTableCellsRequest(typing_extensions.TypedDict, total=False): +class MergeTableCellsRequest(typing.TypedDict, total=False): tableRange: TableRange @typing.type_check_only -class NamedRange(typing_extensions.TypedDict, total=False): +class NamedRange(typing.TypedDict, total=False): name: str namedRangeId: str ranges: _list[Range] @typing.type_check_only -class NamedRanges(typing_extensions.TypedDict, total=False): +class NamedRanges(typing.TypedDict, total=False): name: str namedRanges: _list[NamedRange] @typing.type_check_only -class NamedStyle(typing_extensions.TypedDict, total=False): - namedStyleType: typing_extensions.Literal[ +class NamedStyle(typing.TypedDict, total=False): + namedStyleType: typing.Literal[ "NAMED_STYLE_TYPE_UNSPECIFIED", "NORMAL_TEXT", "TITLE", @@ -603,8 +593,8 @@ class NamedStyle(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class NamedStyleSuggestionState(typing_extensions.TypedDict, total=False): - namedStyleType: typing_extensions.Literal[ +class NamedStyleSuggestionState(typing.TypedDict, total=False): + namedStyleType: typing.Literal[ "NAMED_STYLE_TYPE_UNSPECIFIED", "NORMAL_TEXT", "TITLE", @@ -620,21 +610,21 @@ class NamedStyleSuggestionState(typing_extensions.TypedDict, total=False): textStyleSuggestionState: TextStyleSuggestionState @typing.type_check_only -class NamedStyles(typing_extensions.TypedDict, total=False): +class NamedStyles(typing.TypedDict, total=False): styles: _list[NamedStyle] @typing.type_check_only -class NamedStylesSuggestionState(typing_extensions.TypedDict, total=False): +class NamedStylesSuggestionState(typing.TypedDict, total=False): stylesSuggestionStates: _list[NamedStyleSuggestionState] @typing.type_check_only -class NestingLevel(typing_extensions.TypedDict, total=False): - bulletAlignment: typing_extensions.Literal[ +class NestingLevel(typing.TypedDict, total=False): + bulletAlignment: typing.Literal[ "BULLET_ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END" ] glyphFormat: str glyphSymbol: str - glyphType: typing_extensions.Literal[ + glyphType: typing.Literal[ "GLYPH_TYPE_UNSPECIFIED", "NONE", "DECIMAL", @@ -650,7 +640,7 @@ class NestingLevel(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class NestingLevelSuggestionState(typing_extensions.TypedDict, total=False): +class NestingLevelSuggestionState(typing.TypedDict, total=False): bulletAlignmentSuggested: bool glyphFormatSuggested: bool glyphSymbolSuggested: bool @@ -661,22 +651,22 @@ class NestingLevelSuggestionState(typing_extensions.TypedDict, total=False): textStyleSuggestionState: TextStyleSuggestionState @typing.type_check_only -class ObjectReferences(typing_extensions.TypedDict, total=False): +class ObjectReferences(typing.TypedDict, total=False): objectIds: _list[str] @typing.type_check_only -class OptionalColor(typing_extensions.TypedDict, total=False): +class OptionalColor(typing.TypedDict, total=False): color: Color @typing.type_check_only -class PageBreak(typing_extensions.TypedDict, total=False): +class PageBreak(typing.TypedDict, total=False): suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] suggestedTextStyleChanges: dict[str, typing.Any] textStyle: TextStyle @typing.type_check_only -class Paragraph(typing_extensions.TypedDict, total=False): +class Paragraph(typing.TypedDict, total=False): bullet: Bullet elements: _list[ParagraphElement] paragraphStyle: ParagraphStyle @@ -686,16 +676,14 @@ class Paragraph(typing_extensions.TypedDict, total=False): suggestedPositionedObjectIds: dict[str, typing.Any] @typing.type_check_only -class ParagraphBorder(typing_extensions.TypedDict, total=False): +class ParagraphBorder(typing.TypedDict, total=False): color: OptionalColor - dashStyle: typing_extensions.Literal[ - "DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", "DASH" - ] + dashStyle: typing.Literal["DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", "DASH"] padding: Dimension width: Dimension @typing.type_check_only -class ParagraphElement(typing_extensions.TypedDict, total=False): +class ParagraphElement(typing.TypedDict, total=False): autoText: AutoText columnBreak: ColumnBreak dateElement: DateElement @@ -711,8 +699,8 @@ class ParagraphElement(typing_extensions.TypedDict, total=False): textRun: TextRun @typing.type_check_only -class ParagraphStyle(typing_extensions.TypedDict, total=False): - alignment: typing_extensions.Literal[ +class ParagraphStyle(typing.TypedDict, total=False): + alignment: typing.Literal[ "ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END", "JUSTIFIED" ] avoidWidowAndOrphan: bool @@ -721,7 +709,7 @@ class ParagraphStyle(typing_extensions.TypedDict, total=False): borderLeft: ParagraphBorder borderRight: ParagraphBorder borderTop: ParagraphBorder - direction: typing_extensions.Literal[ + direction: typing.Literal[ "CONTENT_DIRECTION_UNSPECIFIED", "LEFT_TO_RIGHT", "RIGHT_TO_LEFT" ] headingId: str @@ -731,7 +719,7 @@ class ParagraphStyle(typing_extensions.TypedDict, total=False): keepLinesTogether: bool keepWithNext: bool lineSpacing: float - namedStyleType: typing_extensions.Literal[ + namedStyleType: typing.Literal[ "NAMED_STYLE_TYPE_UNSPECIFIED", "NORMAL_TEXT", "TITLE", @@ -747,13 +735,13 @@ class ParagraphStyle(typing_extensions.TypedDict, total=False): shading: Shading spaceAbove: Dimension spaceBelow: Dimension - spacingMode: typing_extensions.Literal[ + spacingMode: typing.Literal[ "SPACING_MODE_UNSPECIFIED", "NEVER_COLLAPSE", "COLLAPSE_LISTS" ] tabStops: _list[TabStop] @typing.type_check_only -class ParagraphStyleSuggestionState(typing_extensions.TypedDict, total=False): +class ParagraphStyleSuggestionState(typing.TypedDict, total=False): alignmentSuggested: bool avoidWidowAndOrphanSuggested: bool borderBetweenSuggested: bool @@ -777,7 +765,7 @@ class ParagraphStyleSuggestionState(typing_extensions.TypedDict, total=False): spacingModeSuggested: bool @typing.type_check_only -class Person(typing_extensions.TypedDict, total=False): +class Person(typing.TypedDict, total=False): personId: str personProperties: PersonProperties suggestedDeletionIds: _list[str] @@ -786,17 +774,17 @@ class Person(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class PersonProperties(typing_extensions.TypedDict, total=False): +class PersonProperties(typing.TypedDict, total=False): email: str name: str @typing.type_check_only -class PinTableHeaderRowsRequest(typing_extensions.TypedDict, total=False): +class PinTableHeaderRowsRequest(typing.TypedDict, total=False): pinnedHeaderRowsCount: int tableStartLocation: Location @typing.type_check_only -class PositionedObject(typing_extensions.TypedDict, total=False): +class PositionedObject(typing.TypedDict, total=False): objectId: str positionedObjectProperties: PositionedObjectProperties suggestedDeletionIds: _list[str] @@ -804,8 +792,8 @@ class PositionedObject(typing_extensions.TypedDict, total=False): suggestedPositionedObjectPropertiesChanges: dict[str, typing.Any] @typing.type_check_only -class PositionedObjectPositioning(typing_extensions.TypedDict, total=False): - layout: typing_extensions.Literal[ +class PositionedObjectPositioning(typing.TypedDict, total=False): + layout: typing.Literal[ "POSITIONED_OBJECT_LAYOUT_UNSPECIFIED", "WRAP_TEXT", "BREAK_LEFT", @@ -818,60 +806,56 @@ class PositionedObjectPositioning(typing_extensions.TypedDict, total=False): topOffset: Dimension @typing.type_check_only -class PositionedObjectPositioningSuggestionState( - typing_extensions.TypedDict, total=False -): +class PositionedObjectPositioningSuggestionState(typing.TypedDict, total=False): layoutSuggested: bool leftOffsetSuggested: bool topOffsetSuggested: bool @typing.type_check_only -class PositionedObjectProperties(typing_extensions.TypedDict, total=False): +class PositionedObjectProperties(typing.TypedDict, total=False): embeddedObject: EmbeddedObject positioning: PositionedObjectPositioning @typing.type_check_only -class PositionedObjectPropertiesSuggestionState( - typing_extensions.TypedDict, total=False -): +class PositionedObjectPropertiesSuggestionState(typing.TypedDict, total=False): embeddedObjectSuggestionState: EmbeddedObjectSuggestionState positioningSuggestionState: PositionedObjectPositioningSuggestionState @typing.type_check_only -class Range(typing_extensions.TypedDict, total=False): +class Range(typing.TypedDict, total=False): endIndex: int segmentId: str startIndex: int tabId: str @typing.type_check_only -class ReplaceAllTextRequest(typing_extensions.TypedDict, total=False): +class ReplaceAllTextRequest(typing.TypedDict, total=False): containsText: SubstringMatchCriteria replaceText: str tabsCriteria: TabsCriteria @typing.type_check_only -class ReplaceAllTextResponse(typing_extensions.TypedDict, total=False): +class ReplaceAllTextResponse(typing.TypedDict, total=False): occurrencesChanged: int @typing.type_check_only -class ReplaceImageRequest(typing_extensions.TypedDict, total=False): +class ReplaceImageRequest(typing.TypedDict, total=False): imageObjectId: str - imageReplaceMethod: typing_extensions.Literal[ + imageReplaceMethod: typing.Literal[ "IMAGE_REPLACE_METHOD_UNSPECIFIED", "CENTER_CROP" ] tabId: str uri: str @typing.type_check_only -class ReplaceNamedRangeContentRequest(typing_extensions.TypedDict, total=False): +class ReplaceNamedRangeContentRequest(typing.TypedDict, total=False): namedRangeId: str namedRangeName: str tabsCriteria: TabsCriteria text: str @typing.type_check_only -class Request(typing_extensions.TypedDict, total=False): +class Request(typing.TypedDict, total=False): addDocumentTab: AddDocumentTabRequest createFooter: CreateFooterRequest createFootnote: CreateFootnoteRequest @@ -914,7 +898,7 @@ class Request(typing_extensions.TypedDict, total=False): updateTextStyle: UpdateTextStyleRequest @typing.type_check_only -class Response(typing_extensions.TypedDict, total=False): +class Response(typing.TypedDict, total=False): addDocumentTab: AddDocumentTabResponse createFooter: CreateFooterResponse createFootnote: CreateFootnoteResponse @@ -925,13 +909,13 @@ class Response(typing_extensions.TypedDict, total=False): replaceAllText: ReplaceAllTextResponse @typing.type_check_only -class RgbColor(typing_extensions.TypedDict, total=False): +class RgbColor(typing.TypedDict, total=False): blue: float green: float red: float @typing.type_check_only -class RichLink(typing_extensions.TypedDict, total=False): +class RichLink(typing.TypedDict, total=False): richLinkId: str richLinkProperties: RichLinkProperties suggestedDeletionIds: _list[str] @@ -940,29 +924,29 @@ class RichLink(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class RichLinkProperties(typing_extensions.TypedDict, total=False): +class RichLinkProperties(typing.TypedDict, total=False): mimeType: str title: str uri: str @typing.type_check_only -class SectionBreak(typing_extensions.TypedDict, total=False): +class SectionBreak(typing.TypedDict, total=False): sectionStyle: SectionStyle suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] @typing.type_check_only -class SectionColumnProperties(typing_extensions.TypedDict, total=False): +class SectionColumnProperties(typing.TypedDict, total=False): paddingEnd: Dimension width: Dimension @typing.type_check_only -class SectionStyle(typing_extensions.TypedDict, total=False): +class SectionStyle(typing.TypedDict, total=False): columnProperties: _list[SectionColumnProperties] - columnSeparatorStyle: typing_extensions.Literal[ + columnSeparatorStyle: typing.Literal[ "COLUMN_SEPARATOR_STYLE_UNSPECIFIED", "NONE", "BETWEEN_EACH_COLUMN" ] - contentDirection: typing_extensions.Literal[ + contentDirection: typing.Literal[ "CONTENT_DIRECTION_UNSPECIFIED", "LEFT_TO_RIGHT", "RIGHT_TO_LEFT" ] defaultFooterId: str @@ -979,41 +963,39 @@ class SectionStyle(typing_extensions.TypedDict, total=False): marginRight: Dimension marginTop: Dimension pageNumberStart: int - sectionType: typing_extensions.Literal[ - "SECTION_TYPE_UNSPECIFIED", "CONTINUOUS", "NEXT_PAGE" - ] + sectionType: typing.Literal["SECTION_TYPE_UNSPECIFIED", "CONTINUOUS", "NEXT_PAGE"] useFirstPageHeaderFooter: bool @typing.type_check_only -class Shading(typing_extensions.TypedDict, total=False): +class Shading(typing.TypedDict, total=False): backgroundColor: OptionalColor @typing.type_check_only -class ShadingSuggestionState(typing_extensions.TypedDict, total=False): +class ShadingSuggestionState(typing.TypedDict, total=False): backgroundColorSuggested: bool @typing.type_check_only -class SheetsChartReference(typing_extensions.TypedDict, total=False): +class SheetsChartReference(typing.TypedDict, total=False): chartId: int spreadsheetId: str @typing.type_check_only -class SheetsChartReferenceSuggestionState(typing_extensions.TypedDict, total=False): +class SheetsChartReferenceSuggestionState(typing.TypedDict, total=False): chartIdSuggested: bool spreadsheetIdSuggested: bool @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: Dimension width: Dimension @typing.type_check_only -class SizeSuggestionState(typing_extensions.TypedDict, total=False): +class SizeSuggestionState(typing.TypedDict, total=False): heightSuggested: bool widthSuggested: bool @typing.type_check_only -class StructuralElement(typing_extensions.TypedDict, total=False): +class StructuralElement(typing.TypedDict, total=False): endIndex: int paragraph: Paragraph sectionBreak: SectionBreak @@ -1022,74 +1004,74 @@ class StructuralElement(typing_extensions.TypedDict, total=False): tableOfContents: TableOfContents @typing.type_check_only -class SubstringMatchCriteria(typing_extensions.TypedDict, total=False): +class SubstringMatchCriteria(typing.TypedDict, total=False): matchCase: bool searchByRegex: bool text: str @typing.type_check_only -class SuggestedBullet(typing_extensions.TypedDict, total=False): +class SuggestedBullet(typing.TypedDict, total=False): bullet: Bullet bulletSuggestionState: BulletSuggestionState @typing.type_check_only -class SuggestedDateElementProperties(typing_extensions.TypedDict, total=False): +class SuggestedDateElementProperties(typing.TypedDict, total=False): dateElementProperties: DateElementProperties dateElementPropertiesSuggestionState: DateElementPropertiesSuggestionState @typing.type_check_only -class SuggestedDocumentStyle(typing_extensions.TypedDict, total=False): +class SuggestedDocumentStyle(typing.TypedDict, total=False): documentStyle: DocumentStyle documentStyleSuggestionState: DocumentStyleSuggestionState @typing.type_check_only -class SuggestedInlineObjectProperties(typing_extensions.TypedDict, total=False): +class SuggestedInlineObjectProperties(typing.TypedDict, total=False): inlineObjectProperties: InlineObjectProperties inlineObjectPropertiesSuggestionState: InlineObjectPropertiesSuggestionState @typing.type_check_only -class SuggestedListProperties(typing_extensions.TypedDict, total=False): +class SuggestedListProperties(typing.TypedDict, total=False): listProperties: ListProperties listPropertiesSuggestionState: ListPropertiesSuggestionState @typing.type_check_only -class SuggestedNamedStyles(typing_extensions.TypedDict, total=False): +class SuggestedNamedStyles(typing.TypedDict, total=False): namedStyles: NamedStyles namedStylesSuggestionState: NamedStylesSuggestionState @typing.type_check_only -class SuggestedParagraphStyle(typing_extensions.TypedDict, total=False): +class SuggestedParagraphStyle(typing.TypedDict, total=False): paragraphStyle: ParagraphStyle paragraphStyleSuggestionState: ParagraphStyleSuggestionState @typing.type_check_only -class SuggestedPositionedObjectProperties(typing_extensions.TypedDict, total=False): +class SuggestedPositionedObjectProperties(typing.TypedDict, total=False): positionedObjectProperties: PositionedObjectProperties positionedObjectPropertiesSuggestionState: PositionedObjectPropertiesSuggestionState @typing.type_check_only -class SuggestedTableCellStyle(typing_extensions.TypedDict, total=False): +class SuggestedTableCellStyle(typing.TypedDict, total=False): tableCellStyle: TableCellStyle tableCellStyleSuggestionState: TableCellStyleSuggestionState @typing.type_check_only -class SuggestedTableRowStyle(typing_extensions.TypedDict, total=False): +class SuggestedTableRowStyle(typing.TypedDict, total=False): tableRowStyle: TableRowStyle tableRowStyleSuggestionState: TableRowStyleSuggestionState @typing.type_check_only -class SuggestedTextStyle(typing_extensions.TypedDict, total=False): +class SuggestedTextStyle(typing.TypedDict, total=False): textStyle: TextStyle textStyleSuggestionState: TextStyleSuggestionState @typing.type_check_only -class Tab(typing_extensions.TypedDict, total=False): +class Tab(typing.TypedDict, total=False): childTabs: _list[Tab] documentTab: DocumentTab tabProperties: TabProperties @typing.type_check_only -class TabProperties(typing_extensions.TypedDict, total=False): +class TabProperties(typing.TypedDict, total=False): iconEmoji: str index: int nestingLevel: int @@ -1098,14 +1080,14 @@ class TabProperties(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class TabStop(typing_extensions.TypedDict, total=False): - alignment: typing_extensions.Literal[ +class TabStop(typing.TypedDict, total=False): + alignment: typing.Literal[ "TAB_STOP_ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END" ] offset: Dimension @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columns: int rows: int suggestedDeletionIds: _list[str] @@ -1114,7 +1096,7 @@ class Table(typing_extensions.TypedDict, total=False): tableStyle: TableStyle @typing.type_check_only -class TableCell(typing_extensions.TypedDict, total=False): +class TableCell(typing.TypedDict, total=False): content: _list[StructuralElement] endIndex: int startIndex: int @@ -1124,28 +1106,26 @@ class TableCell(typing_extensions.TypedDict, total=False): tableCellStyle: TableCellStyle @typing.type_check_only -class TableCellBorder(typing_extensions.TypedDict, total=False): +class TableCellBorder(typing.TypedDict, total=False): color: OptionalColor - dashStyle: typing_extensions.Literal[ - "DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", "DASH" - ] + dashStyle: typing.Literal["DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", "DASH"] width: Dimension @typing.type_check_only -class TableCellLocation(typing_extensions.TypedDict, total=False): +class TableCellLocation(typing.TypedDict, total=False): columnIndex: int rowIndex: int tableStartLocation: Location @typing.type_check_only -class TableCellStyle(typing_extensions.TypedDict, total=False): +class TableCellStyle(typing.TypedDict, total=False): backgroundColor: OptionalColor borderBottom: TableCellBorder borderLeft: TableCellBorder borderRight: TableCellBorder borderTop: TableCellBorder columnSpan: int - contentAlignment: typing_extensions.Literal[ + contentAlignment: typing.Literal[ "CONTENT_ALIGNMENT_UNSPECIFIED", "CONTENT_ALIGNMENT_UNSUPPORTED", "TOP", @@ -1159,7 +1139,7 @@ class TableCellStyle(typing_extensions.TypedDict, total=False): rowSpan: int @typing.type_check_only -class TableCellStyleSuggestionState(typing_extensions.TypedDict, total=False): +class TableCellStyleSuggestionState(typing.TypedDict, total=False): backgroundColorSuggested: bool borderBottomSuggested: bool borderLeftSuggested: bool @@ -1174,26 +1154,26 @@ class TableCellStyleSuggestionState(typing_extensions.TypedDict, total=False): rowSpanSuggested: bool @typing.type_check_only -class TableColumnProperties(typing_extensions.TypedDict, total=False): +class TableColumnProperties(typing.TypedDict, total=False): width: Dimension - widthType: typing_extensions.Literal[ + widthType: typing.Literal[ "WIDTH_TYPE_UNSPECIFIED", "EVENLY_DISTRIBUTED", "FIXED_WIDTH" ] @typing.type_check_only -class TableOfContents(typing_extensions.TypedDict, total=False): +class TableOfContents(typing.TypedDict, total=False): content: _list[StructuralElement] suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] @typing.type_check_only -class TableRange(typing_extensions.TypedDict, total=False): +class TableRange(typing.TypedDict, total=False): columnSpan: int rowSpan: int tableCellLocation: TableCellLocation @typing.type_check_only -class TableRow(typing_extensions.TypedDict, total=False): +class TableRow(typing.TypedDict, total=False): endIndex: int startIndex: int suggestedDeletionIds: _list[str] @@ -1203,25 +1183,25 @@ class TableRow(typing_extensions.TypedDict, total=False): tableRowStyle: TableRowStyle @typing.type_check_only -class TableRowStyle(typing_extensions.TypedDict, total=False): +class TableRowStyle(typing.TypedDict, total=False): minRowHeight: Dimension preventOverflow: bool tableHeader: bool @typing.type_check_only -class TableRowStyleSuggestionState(typing_extensions.TypedDict, total=False): +class TableRowStyleSuggestionState(typing.TypedDict, total=False): minRowHeightSuggested: bool @typing.type_check_only -class TableStyle(typing_extensions.TypedDict, total=False): +class TableStyle(typing.TypedDict, total=False): tableColumnProperties: _list[TableColumnProperties] @typing.type_check_only -class TabsCriteria(typing_extensions.TypedDict, total=False): +class TabsCriteria(typing.TypedDict, total=False): tabIds: _list[str] @typing.type_check_only -class TextRun(typing_extensions.TypedDict, total=False): +class TextRun(typing.TypedDict, total=False): content: str suggestedDeletionIds: _list[str] suggestedInsertionIds: _list[str] @@ -1229,9 +1209,9 @@ class TextRun(typing_extensions.TypedDict, total=False): textStyle: TextStyle @typing.type_check_only -class TextStyle(typing_extensions.TypedDict, total=False): +class TextStyle(typing.TypedDict, total=False): backgroundColor: OptionalColor - baselineOffset: typing_extensions.Literal[ + baselineOffset: typing.Literal[ "BASELINE_OFFSET_UNSPECIFIED", "NONE", "SUPERSCRIPT", "SUBSCRIPT" ] bold: bool @@ -1245,7 +1225,7 @@ class TextStyle(typing_extensions.TypedDict, total=False): weightedFontFamily: WeightedFontFamily @typing.type_check_only -class TextStyleSuggestionState(typing_extensions.TypedDict, total=False): +class TextStyleSuggestionState(typing.TypedDict, total=False): backgroundColorSuggested: bool baselineOffsetSuggested: bool boldSuggested: bool @@ -1259,71 +1239,71 @@ class TextStyleSuggestionState(typing_extensions.TypedDict, total=False): weightedFontFamilySuggested: bool @typing.type_check_only -class UnmergeTableCellsRequest(typing_extensions.TypedDict, total=False): +class UnmergeTableCellsRequest(typing.TypedDict, total=False): tableRange: TableRange @typing.type_check_only -class UpdateDocumentStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateDocumentStyleRequest(typing.TypedDict, total=False): documentStyle: DocumentStyle fields: str tabId: str @typing.type_check_only -class UpdateDocumentTabPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateDocumentTabPropertiesRequest(typing.TypedDict, total=False): fields: str tabProperties: TabProperties @typing.type_check_only -class UpdateNamedStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateNamedStyleRequest(typing.TypedDict, total=False): fields: str namedStyle: NamedStyle tabId: str @typing.type_check_only -class UpdateParagraphStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateParagraphStyleRequest(typing.TypedDict, total=False): fields: str paragraphStyle: ParagraphStyle range: Range @typing.type_check_only -class UpdateSectionStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateSectionStyleRequest(typing.TypedDict, total=False): fields: str range: Range sectionStyle: SectionStyle @typing.type_check_only -class UpdateTableCellStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateTableCellStyleRequest(typing.TypedDict, total=False): fields: str tableCellStyle: TableCellStyle tableRange: TableRange tableStartLocation: Location @typing.type_check_only -class UpdateTableColumnPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateTableColumnPropertiesRequest(typing.TypedDict, total=False): columnIndices: _list[int] fields: str tableColumnProperties: TableColumnProperties tableStartLocation: Location @typing.type_check_only -class UpdateTableRowStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateTableRowStyleRequest(typing.TypedDict, total=False): fields: str rowIndices: _list[int] tableRowStyle: TableRowStyle tableStartLocation: Location @typing.type_check_only -class UpdateTextStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateTextStyleRequest(typing.TypedDict, total=False): fields: str range: Range textStyle: TextStyle @typing.type_check_only -class WeightedFontFamily(typing_extensions.TypedDict, total=False): +class WeightedFontFamily(typing.TypedDict, total=False): fontFamily: str weight: int @typing.type_check_only -class WriteControl(typing_extensions.TypedDict, total=False): +class WriteControl(typing.TypedDict, total=False): requiredRevisionId: str targetRevisionId: str diff --git a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi index e25bf066a..66f32a726 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi index 23089f2a4..2b08d3646 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): validationRules: _list[ CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule @@ -14,7 +12,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput( @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): childAlignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule description: str @@ -29,9 +27,9 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - alignmentType: typing_extensions.Literal[ + alignmentType: typing.Literal[ "ALIGNMENT_TYPE_UNSPECIFIED", "ALIGNMENT_TYPE_HORIZONTAL", "ALIGNMENT_TYPE_VERTICAL", @@ -40,7 +38,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignm @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule childFields: _list[ @@ -52,13 +50,13 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildA @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): floatValue: float @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule fields: _list[ @@ -67,7 +65,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntity @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: ( CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant @@ -76,7 +74,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField( @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField maxOccurrences: int @@ -84,18 +82,18 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldO @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField pattern: str @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leftOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation rightOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation - validationOperator: typing_extensions.Literal[ + validationOperator: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPERATION_TYPE_EQ", "OPERATION_TYPE_NE", @@ -107,7 +105,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormVa @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constants: _list[ CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant @@ -115,7 +113,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormVa fields: _list[ CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField ] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPERATION_TYPE_SUM", "OPERATION_TYPE_SUB", @@ -133,7 +131,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormVa @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualAutoLabelStatuses: _list[ @@ -143,19 +141,19 @@ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata errorDocumentCount: int @@ -166,28 +164,28 @@ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata - destDatasetType: typing_extensions.Literal[ + destDatasetType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", "DATASET_SPLIT_UNASSIGNED", ] - destSplitType: typing_extensions.Literal[ + destSplitType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -199,19 +197,19 @@ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualBatchUpdateStatuses: _list[ @@ -220,23 +218,23 @@ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str @@ -244,75 +242,71 @@ class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3DocumentId( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3DocumentId(typing.TypedDict, total=False): gcsManagedDocId: GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId revisionRef: GoogleCloudDocumentaiUiv1beta3RevisionRef unmanagedDocId: GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cwDocId: str gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): docId: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3DocumentSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3DocumentSchema(typing.TypedDict, total=False): description: str displayName: str documentPrompt: str @@ -321,7 +315,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchema( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseTypes: _list[str] description: str @@ -333,21 +327,19 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str displayName: str - method: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" - ] + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT"] name: str - occurrenceType: typing_extensions.Literal[ + occurrenceType: typing.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", @@ -359,7 +351,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentAllowMultipleLabels: bool documentSplitter: bool @@ -368,19 +360,17 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata(typing.TypedDict, total=False): fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata humanReviewLabelingMetadata: ( GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata @@ -392,20 +382,18 @@ class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics(typing.TypedDict, total=False): f1Score: float falseNegativesCount: int falsePositivesCount: int @@ -419,9 +407,7 @@ class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics( truePositivesCount: int @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3EvaluationReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3EvaluationReference(typing.TypedDict, total=False): aggregateMetrics: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics aggregateMetricsExact: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics evaluation: str @@ -429,7 +415,7 @@ class GoogleCloudDocumentaiUiv1beta3EvaluationReference( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualExportStatuses: _list[ @@ -441,7 +427,7 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId outputGcsDestination: str @@ -449,9 +435,9 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatu @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - splitType: typing_extensions.Literal[ + splitType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -461,56 +447,54 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityQuery: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery summaryOptions: GoogleCloudDocumentaiUiv1beta3SummaryOptions @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEntityQuery: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3FieldTierMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3FieldTierMetadata(typing.TypedDict, total=False): tierLevel: int @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableNormalizationEditing: bool @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float enableValidation: bool @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata importConfigValidationResults: _list[ @@ -523,14 +507,14 @@ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str outputDocumentId: GoogleCloudDocumentaiUiv1beta3DocumentId @@ -539,23 +523,23 @@ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatu @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiUiv1beta3Processor(typing.TypedDict, total=False): activeSchemaVersion: str createTime: str defaultProcessorVersion: str @@ -566,7 +550,7 @@ class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total processorVersionAliases: _list[GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DISABLED", @@ -579,9 +563,7 @@ class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total type: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3ProcessorVersion(typing.TypedDict, total=False): createTime: str deploymentAllowed: bool deprecationInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo @@ -592,14 +574,14 @@ class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( kmsKeyName: str kmsKeyVersionName: str latestEvaluation: GoogleCloudDocumentaiUiv1beta3EvaluationReference - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" ] name: str satisfiesPzi: bool satisfiesPzs: bool schema: GoogleCloudDocumentaiUiv1beta3Schema - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DEPLOYED", "DEPLOYING", @@ -613,21 +595,21 @@ class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alias: str processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deprecationTime: str replacementProcessorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customGenAiModelInfo: ( GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo @@ -636,24 +618,22 @@ class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseProcessorVersionId: str - customModelType: typing_extensions.Literal[ + customModelType: typing.Literal[ "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" ] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finetuningAllowed: bool minTrainLabeledDocuments: int @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3PropertyMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3PropertyMetadata(typing.TypedDict, total=False): fieldExtractionMetadata: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata humanReviewLabelingMetadata: ( @@ -666,7 +646,7 @@ class GoogleCloudDocumentaiUiv1beta3PropertyMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata datasetResyncStatuses: _list[ @@ -678,9 +658,9 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - datasetInconsistencyType: typing_extensions.Literal[ + datasetInconsistencyType: typing.Literal[ "DATASET_INCONSISTENCY_TYPE_UNSPECIFIED", "DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER", ] @@ -688,10 +668,10 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId - documentInconsistencyType: typing_extensions.Literal[ + documentInconsistencyType: typing.Literal[ "DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED", "DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO", "DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA", @@ -701,15 +681,13 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyn @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3RevisionRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3RevisionRef(typing.TypedDict, total=False): latestProcessorVersion: str - revisionCase: typing_extensions.Literal[ + revisionCase: typing.Literal[ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", @@ -719,13 +697,13 @@ class GoogleCloudDocumentaiUiv1beta3RevisionRef( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleTestStatus: GoogleRpcStatus sampleTrainingStatus: GoogleRpcStatus @@ -735,35 +713,31 @@ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiUiv1beta3Schema(typing.TypedDict, total=False): description: str displayName: str entityTypes: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): editable: bool processorVersions: _list[str] @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3SchemaEntityType(typing.TypedDict, total=False): baseType: str description: str enumValues: _list[str] hide: bool - method: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" - ] - occurrenceType: typing_extensions.Literal[ + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT"] + occurrenceType: typing.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", @@ -771,38 +745,34 @@ class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( "REQUIRED_MULTIPLE", ] properties: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "PREDEFINED", "USER_INPUT"] + source: typing.Literal["SOURCE_UNSPECIFIED", "PREDEFINED", "USER_INPUT"] type: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inferred: bool @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3SummaryOptions( - typing_extensions.TypedDict, total=False -): - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] - length: typing_extensions.Literal[ - "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" - ] +class GoogleCloudDocumentaiUiv1beta3SummaryOptions(typing.TypedDict, total=False): + format: typing.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] + length: typing.Literal["LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE"] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata testDatasetValidation: ( @@ -814,7 +784,7 @@ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -823,67 +793,63 @@ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidati @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1Barcode(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Barcode(typing.TypedDict, total=False): format: str rawValue: str valueFormat: str @typing.type_check_only -class GoogleCloudDocumentaiV1BatchDocumentsInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1BatchDocumentsInputConfig(typing.TypedDict, total=False): gcsDocuments: GoogleCloudDocumentaiV1GcsDocuments gcsPrefix: GoogleCloudDocumentaiV1GcsPrefix @typing.type_check_only -class GoogleCloudDocumentaiV1BatchProcessMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1BatchProcessMetadata(typing.TypedDict, total=False): createTime: str individualProcessStatuses: _list[ GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "WAITING", "RUNNING", @@ -897,7 +863,7 @@ class GoogleCloudDocumentaiV1BatchProcessMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): humanReviewStatus: GoogleCloudDocumentaiV1HumanReviewStatus inputGcsSource: str @@ -905,9 +871,7 @@ class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus( status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDocumentaiV1BatchProcessRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1BatchProcessRequest(typing.TypedDict, total=False): documentOutputConfig: GoogleCloudDocumentaiV1DocumentOutputConfig inputDocuments: GoogleCloudDocumentaiV1BatchDocumentsInputConfig labels: dict[str, typing.Any] @@ -915,73 +879,63 @@ class GoogleCloudDocumentaiV1BatchProcessRequest( skipHumanReview: bool @typing.type_check_only -class GoogleCloudDocumentaiV1BatchProcessResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1BatchProcessResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDocumentaiV1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudDocumentaiV1NormalizedVertex] vertices: _list[GoogleCloudDocumentaiV1Vertex] @typing.type_check_only -class GoogleCloudDocumentaiV1CommonOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1CommonOperationMetadata(typing.TypedDict, total=False): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DeleteProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeployProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1DisableProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DisableProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1DisableProcessorRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1DisableProcessorRequest(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDocumentaiV1DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Document(typing.TypedDict, total=False): blobAssets: _list[GoogleCloudDocumentaiV1DocumentBlobAsset] chunkedDocument: GoogleCloudDocumentaiV1DocumentChunkedDocument content: str @@ -1003,28 +957,22 @@ class GoogleCloudDocumentaiV1Document(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentAnnotations( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentAnnotations(typing.TypedDict, total=False): description: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentBlobAsset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentBlobAsset(typing.TypedDict, total=False): assetId: str content: str mimeType: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentChunkedDocument( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentChunkedDocument(typing.TypedDict, total=False): chunks: _list[GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkFields: _list[GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField] chunkId: str @@ -1040,35 +988,35 @@ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageChunkField: GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField tableChunkField: GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1DocumentAnnotations blobAssetId: str @@ -1077,19 +1025,17 @@ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1DocumentAnnotations @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentDocumentLayout(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockId: str boundingBox: GoogleCloudDocumentaiV1BoundingPoly @@ -1111,7 +1057,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1DocumentAnnotations blobAssetId: str @@ -1122,7 +1068,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImag @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): listEntries: _list[ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry @@ -1131,20 +1077,20 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutList @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1DocumentAnnotations bodyRows: _list[ @@ -1157,7 +1103,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTabl @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] colSpan: int @@ -1165,7 +1111,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTabl @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell @@ -1173,7 +1119,7 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTabl @typing.type_check_only class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1DocumentAnnotations blocks: _list[GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock] @@ -1181,21 +1127,19 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutText type: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentEntitiesRevision( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentEntitiesRevision(typing.TypedDict, total=False): entities: _list[GoogleCloudDocumentaiV1DocumentEntity] entityValidationOutput: GoogleCloudDocumentaiV1DocumentEntityValidationOutput provenance: GoogleCloudDocumentaiV1DocumentProvenance revisionId: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentEntity(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentEntity(typing.TypedDict, total=False): confidence: float id: str mentionId: str mentionText: str - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] normalizedValue: GoogleCloudDocumentaiV1DocumentEntityNormalizedValue pageAnchor: GoogleCloudDocumentaiV1DocumentPageAnchor properties: _list[GoogleCloudDocumentaiV1DocumentEntity] @@ -1206,7 +1150,7 @@ class GoogleCloudDocumentaiV1DocumentEntity(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addressValue: GoogleTypePostalAddress booleanValue: bool @@ -1219,16 +1163,14 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue( text: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentEntityRelation(typing.TypedDict, total=False): objectId: str relation: str subjectId: str @typing.type_check_only class GoogleCloudDocumentaiV1DocumentEntityValidationOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): passAllRules: bool validationResults: _list[ @@ -1237,13 +1179,13 @@ class GoogleCloudDocumentaiV1DocumentEntityValidationOutput( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rule: str ruleDescription: str ruleName: str validationDetails: str - validationResultType: typing_extensions.Literal[ + validationResultType: typing.Literal[ "VALIDATION_RESULT_TYPE_UNSPECIFIED", "VALIDATION_RESULT_TYPE_VALID", "VALIDATION_RESULT_TYPE_INVALID", @@ -1252,14 +1194,12 @@ class GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult( ] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentOutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentOutputConfig(typing.TypedDict, total=False): gcsOutputConfig: GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig @typing.type_check_only class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldMask: str gcsUri: str @@ -1269,13 +1209,13 @@ class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pagesOverlap: int pagesPerShard: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPage(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentPage(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1DocumentPageBlock] detectedBarcodes: _list[GoogleCloudDocumentaiV1DocumentPageDetectedBarcode] detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] @@ -1295,19 +1235,15 @@ class GoogleCloudDocumentaiV1DocumentPage(typing_extensions.TypedDict, total=Fal visualElements: _list[GoogleCloudDocumentaiV1DocumentPageVisualElement] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageAnchor(typing.TypedDict, total=False): pageRefs: _list[GoogleCloudDocumentaiV1DocumentPageAnchorPageRef] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageAnchorPageRef(typing.TypedDict, total=False): boundingPoly: GoogleCloudDocumentaiV1BoundingPoly confidence: float layoutId: str - layoutType: typing_extensions.Literal[ + layoutType: typing.Literal[ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", @@ -1320,39 +1256,31 @@ class GoogleCloudDocumentaiV1DocumentPageAnchorPageRef( page: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageBlock( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageBlock(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageDetectedBarcode(typing.TypedDict, total=False): barcode: GoogleCloudDocumentaiV1Barcode layout: GoogleCloudDocumentaiV1DocumentPageLayout @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageDimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageDimension(typing.TypedDict, total=False): height: float unit: str width: float @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageFormField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageFormField(typing.TypedDict, total=False): correctedKeyText: str correctedValueText: str fieldName: GoogleCloudDocumentaiV1DocumentPageLayout @@ -1363,9 +1291,7 @@ class GoogleCloudDocumentaiV1DocumentPageFormField( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageImage(typing.TypedDict, total=False): content: str height: int mimeType: str @@ -1373,7 +1299,7 @@ class GoogleCloudDocumentaiV1DocumentPageImage( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedDefects: _list[ GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect @@ -1382,56 +1308,46 @@ class GoogleCloudDocumentaiV1DocumentPageImageQualityScores( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float type: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageLayout(typing.TypedDict, total=False): boundingPoly: GoogleCloudDocumentaiV1BoundingPoly confidence: float - orientation: typing_extensions.Literal[ + orientation: typing.Literal[ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ] textAnchor: GoogleCloudDocumentaiV1DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageLine(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentPageLine(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageMatrix(typing.TypedDict, total=False): cols: int data: str rows: int type: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageParagraph(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageSymbol(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTable(typing.TypedDict, total=False): bodyRows: _list[GoogleCloudDocumentaiV1DocumentPageTableTableRow] detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] headerRows: _list[GoogleCloudDocumentaiV1DocumentPageTableTableRow] @@ -1439,24 +1355,18 @@ class GoogleCloudDocumentaiV1DocumentPageTable( provenance: GoogleCloudDocumentaiV1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTableTableCell(typing.TypedDict, total=False): colSpan: int detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout rowSpan: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTableTableRow(typing.TypedDict, total=False): cells: _list[GoogleCloudDocumentaiV1DocumentPageTableTableCell] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageToken( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageToken(typing.TypedDict, total=False): detectedBreak: GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout @@ -1465,14 +1375,12 @@ class GoogleCloudDocumentaiV1DocumentPageToken( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] + type: typing.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor bold: bool fontSize: int @@ -1490,21 +1398,17 @@ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo( underlined: bool @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentPageVisualElement( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentPageVisualElement(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1DocumentPageLayout type: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentProvenance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentProvenance(typing.TypedDict, total=False): id: int parents: _list[GoogleCloudDocumentaiV1DocumentProvenanceParent] revision: int - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", @@ -1516,15 +1420,13 @@ class GoogleCloudDocumentaiV1DocumentProvenance( ] @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentProvenanceParent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentProvenanceParent(typing.TypedDict, total=False): id: int index: int revision: int @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentRevision(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentRevision(typing.TypedDict, total=False): agent: str createTime: str humanReview: GoogleCloudDocumentaiV1DocumentRevisionHumanReview @@ -1534,14 +1436,12 @@ class GoogleCloudDocumentaiV1DocumentRevision(typing_extensions.TypedDict, total processor: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentRevisionHumanReview(typing.TypedDict, total=False): state: str stateMessage: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentSchema(typing.TypedDict, total=False): description: str displayName: str documentPrompt: str @@ -1549,9 +1449,7 @@ class GoogleCloudDocumentaiV1DocumentSchema(typing_extensions.TypedDict, total=F metadata: GoogleCloudDocumentaiV1DocumentSchemaMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentSchemaEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentSchemaEntityType(typing.TypedDict, total=False): baseTypes: _list[str] displayName: str enumValues: GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues @@ -1560,20 +1458,18 @@ class GoogleCloudDocumentaiV1DocumentSchemaEntityType( @typing.type_check_only class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str - method: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" - ] + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT"] name: str - occurrenceType: typing_extensions.Literal[ + occurrenceType: typing.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", @@ -1583,25 +1479,21 @@ class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentSchemaMetadata(typing.TypedDict, total=False): documentAllowMultipleLabels: bool documentSplitter: bool prefixedNamingOnProperties: bool skipNamingValidation: bool @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentShardInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentShardInfo(typing.TypedDict, total=False): pageOffset: int shardCount: str shardIndex: str textOffset: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentStyle(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1DocumentStyle(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor color: GoogleTypeColor fontFamily: str @@ -1612,74 +1504,62 @@ class GoogleCloudDocumentaiV1DocumentStyle(typing_extensions.TypedDict, total=Fa textStyle: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentStyleFontSize(typing.TypedDict, total=False): size: float unit: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentTextAnchor(typing.TypedDict, total=False): content: str textSegments: _list[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment] @typing.type_check_only class GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str startIndex: str @typing.type_check_only -class GoogleCloudDocumentaiV1DocumentTextChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DocumentTextChange(typing.TypedDict, total=False): changedText: str provenance: _list[GoogleCloudDocumentaiV1DocumentProvenance] textAnchor: GoogleCloudDocumentaiV1DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1Documents(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Documents(typing.TypedDict, total=False): documents: _list[GoogleCloudDocumentaiV1Document] @typing.type_check_only -class GoogleCloudDocumentaiV1EnableProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1EnableProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1EnableProcessorRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1EnableProcessorRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDocumentaiV1EnableProcessorResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1EnableProcessorResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationDocuments: GoogleCloudDocumentaiV1BatchDocumentsInputConfig @typing.type_check_only class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiV1Evaluation(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Evaluation(typing.TypedDict, total=False): allEntitiesMetrics: GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics createTime: str documentCounters: GoogleCloudDocumentaiV1EvaluationCounters @@ -1691,15 +1571,13 @@ class GoogleCloudDocumentaiV1Evaluation(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceLevel: float metrics: GoogleCloudDocumentaiV1EvaluationMetrics @typing.type_check_only -class GoogleCloudDocumentaiV1EvaluationCounters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1EvaluationCounters(typing.TypedDict, total=False): evaluatedDocumentsCount: int failedDocumentsCount: int inputDocumentsCount: int @@ -1707,7 +1585,7 @@ class GoogleCloudDocumentaiV1EvaluationCounters( @typing.type_check_only class GoogleCloudDocumentaiV1EvaluationEvaluationRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allEntitiesMetrics: GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics documentCounters: GoogleCloudDocumentaiV1EvaluationCounters @@ -1715,9 +1593,7 @@ class GoogleCloudDocumentaiV1EvaluationEvaluationRevision( revisionId: str @typing.type_check_only -class GoogleCloudDocumentaiV1EvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1EvaluationMetrics(typing.TypedDict, total=False): f1Score: float falseNegativesCount: int falsePositivesCount: int @@ -1732,7 +1608,7 @@ class GoogleCloudDocumentaiV1EvaluationMetrics( @typing.type_check_only class GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auprc: float auprcExact: float @@ -1744,39 +1620,35 @@ class GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics( ] estimatedCalibrationError: float estimatedCalibrationErrorExact: float - metricsType: typing_extensions.Literal["METRICS_TYPE_UNSPECIFIED", "AGGREGATE"] + metricsType: typing.Literal["METRICS_TYPE_UNSPECIFIED", "AGGREGATE"] @typing.type_check_only -class GoogleCloudDocumentaiV1EvaluationReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1EvaluationReference(typing.TypedDict, total=False): aggregateMetrics: GoogleCloudDocumentaiV1EvaluationMetrics aggregateMetricsExact: GoogleCloudDocumentaiV1EvaluationMetrics evaluation: str operation: str @typing.type_check_only -class GoogleCloudDocumentaiV1FetchProcessorTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1FetchProcessorTypesResponse(typing.TypedDict, total=False): processorTypes: _list[GoogleCloudDocumentaiV1ProcessorType] @typing.type_check_only -class GoogleCloudDocumentaiV1GcsDocument(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1GcsDocument(typing.TypedDict, total=False): gcsUri: str mimeType: str @typing.type_check_only -class GoogleCloudDocumentaiV1GcsDocuments(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1GcsDocuments(typing.TypedDict, total=False): documents: _list[GoogleCloudDocumentaiV1GcsDocument] @typing.type_check_only -class GoogleCloudDocumentaiV1GcsPrefix(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1GcsPrefix(typing.TypedDict, total=False): gcsUriPrefix: str @typing.type_check_only class GoogleCloudDocumentaiV1GenerateSchemaVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseSchemaVersion: str gcsDocuments: GoogleCloudDocumentaiV1GcsDocuments @@ -1789,71 +1661,59 @@ class GoogleCloudDocumentaiV1GenerateSchemaVersionRequest( @typing.type_check_only class GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): history: GoogleCloudDocumentaiV1SchemaGenerationHistory prompt: str @typing.type_check_only class GoogleCloudDocumentaiV1GenerateSchemaVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): schemaVersion: GoogleCloudDocumentaiV1SchemaVersion @typing.type_check_only -class GoogleCloudDocumentaiV1HumanReviewStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1HumanReviewStatus(typing.TypedDict, total=False): humanReviewOperation: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SKIPPED", "VALIDATION_PASSED", "IN_PROGRESS", "ERROR" ] stateMessage: str @typing.type_check_only -class GoogleCloudDocumentaiV1ListEvaluationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ListEvaluationsResponse(typing.TypedDict, total=False): evaluations: _list[GoogleCloudDocumentaiV1Evaluation] nextPageToken: str @typing.type_check_only -class GoogleCloudDocumentaiV1ListProcessorTypesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ListProcessorTypesResponse(typing.TypedDict, total=False): nextPageToken: str processorTypes: _list[GoogleCloudDocumentaiV1ProcessorType] @typing.type_check_only class GoogleCloudDocumentaiV1ListProcessorVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str processorVersions: _list[GoogleCloudDocumentaiV1ProcessorVersion] @typing.type_check_only -class GoogleCloudDocumentaiV1ListProcessorsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ListProcessorsResponse(typing.TypedDict, total=False): nextPageToken: str processors: _list[GoogleCloudDocumentaiV1Processor] @typing.type_check_only -class GoogleCloudDocumentaiV1ListSchemaVersionsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ListSchemaVersionsResponse(typing.TypedDict, total=False): nextPageToken: str schemaVersions: _list[GoogleCloudDocumentaiV1SchemaVersion] @typing.type_check_only -class GoogleCloudDocumentaiV1ListSchemasResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ListSchemasResponse(typing.TypedDict, total=False): nextPageToken: str schemas: _list[GoogleCloudDocumentaiV1NextSchema] @typing.type_check_only -class GoogleCloudDocumentaiV1NextSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1NextSchema(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] @@ -1861,12 +1721,12 @@ class GoogleCloudDocumentaiV1NextSchema(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1NormalizedVertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudDocumentaiV1OcrConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1OcrConfig(typing.TypedDict, total=False): advancedOcrOptions: _list[str] computeStyleInfo: bool disableCharacterBoxesDetection: bool @@ -1877,19 +1737,17 @@ class GoogleCloudDocumentaiV1OcrConfig(typing_extensions.TypedDict, total=False) premiumFeatures: GoogleCloudDocumentaiV1OcrConfigPremiumFeatures @typing.type_check_only -class GoogleCloudDocumentaiV1OcrConfigHints(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1OcrConfigHints(typing.TypedDict, total=False): languageHints: _list[str] @typing.type_check_only -class GoogleCloudDocumentaiV1OcrConfigPremiumFeatures( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1OcrConfigPremiumFeatures(typing.TypedDict, total=False): computeStyleInfo: bool enableMathOcr: bool enableSelectionMarkDetection: bool @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessOptions(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1ProcessOptions(typing.TypedDict, total=False): fromEnd: int fromStart: int individualPageSelector: GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector @@ -1899,14 +1757,12 @@ class GoogleCloudDocumentaiV1ProcessOptions(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pages: _list[int] @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig(typing.TypedDict, total=False): chunkingConfig: GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig enableImageAnnotation: bool enableTableAnnotation: bool @@ -1915,13 +1771,13 @@ class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig( @typing.type_check_only class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkSize: int includeAncestorHeadings: bool @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1ProcessRequest(typing.TypedDict, total=False): fieldMask: str gcsDocument: GoogleCloudDocumentaiV1GcsDocument imagelessMode: bool @@ -1932,12 +1788,12 @@ class GoogleCloudDocumentaiV1ProcessRequest(typing_extensions.TypedDict, total=F skipHumanReview: bool @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1ProcessResponse(typing.TypedDict, total=False): document: GoogleCloudDocumentaiV1Document humanReviewStatus: GoogleCloudDocumentaiV1HumanReviewStatus @typing.type_check_only -class GoogleCloudDocumentaiV1Processor(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Processor(typing.TypedDict, total=False): activeSchemaVersion: str createTime: str defaultProcessorVersion: str @@ -1948,7 +1804,7 @@ class GoogleCloudDocumentaiV1Processor(typing_extensions.TypedDict, total=False) processorVersionAliases: _list[GoogleCloudDocumentaiV1ProcessorVersionAlias] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DISABLED", @@ -1961,11 +1817,11 @@ class GoogleCloudDocumentaiV1Processor(typing_extensions.TypedDict, total=False) type: str @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessorType(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1ProcessorType(typing.TypedDict, total=False): allowCreation: bool availableLocations: _list[GoogleCloudDocumentaiV1ProcessorTypeLocationInfo] category: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -1980,13 +1836,11 @@ class GoogleCloudDocumentaiV1ProcessorType(typing_extensions.TypedDict, total=Fa type: str @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo(typing.TypedDict, total=False): locationId: str @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessorVersion(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1ProcessorVersion(typing.TypedDict, total=False): createTime: str deprecationInfo: GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo displayName: str @@ -1996,13 +1850,13 @@ class GoogleCloudDocumentaiV1ProcessorVersion(typing_extensions.TypedDict, total kmsKeyName: str kmsKeyVersionName: str latestEvaluation: GoogleCloudDocumentaiV1EvaluationReference - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" ] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DEPLOYED", "DEPLOYING", @@ -2015,22 +1869,20 @@ class GoogleCloudDocumentaiV1ProcessorVersion(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudDocumentaiV1ProcessorVersionAlias( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ProcessorVersionAlias(typing.TypedDict, total=False): alias: str processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deprecationTime: str replacementProcessorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customGenAiModelInfo: ( GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo @@ -2041,70 +1893,62 @@ class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo( @typing.type_check_only class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseProcessorVersionId: str - customModelType: typing_extensions.Literal[ + customModelType: typing.Literal[ "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" ] @typing.type_check_only class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finetuningAllowed: bool minTrainLabeledDocuments: int @typing.type_check_only -class GoogleCloudDocumentaiV1RawDocument(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1RawDocument(typing.TypedDict, total=False): content: str displayName: str mimeType: str @typing.type_check_only -class GoogleCloudDocumentaiV1RawDocuments(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1RawDocuments(typing.TypedDict, total=False): documents: _list[GoogleCloudDocumentaiV1RawDocument] @typing.type_check_only class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata questionId: str @typing.type_check_only -class GoogleCloudDocumentaiV1ReviewDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ReviewDocumentRequest(typing.TypedDict, total=False): documentSchema: GoogleCloudDocumentaiV1DocumentSchema enableSchemaValidation: bool inlineDocument: GoogleCloudDocumentaiV1Document - priority: typing_extensions.Literal["DEFAULT", "URGENT"] + priority: typing.Literal["DEFAULT", "URGENT"] @typing.type_check_only -class GoogleCloudDocumentaiV1ReviewDocumentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ReviewDocumentResponse(typing.TypedDict, total=False): gcsDestination: str rejectionReason: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] @typing.type_check_only -class GoogleCloudDocumentaiV1SchemaGenerationHistory( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1SchemaGenerationHistory(typing.TypedDict, total=False): iterations: _list[GoogleCloudDocumentaiV1SchemaGenerationIteration] @typing.type_check_only -class GoogleCloudDocumentaiV1SchemaGenerationIteration( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1SchemaGenerationIteration(typing.TypedDict, total=False): adjustedSchema: GoogleCloudDocumentaiV1SchemaVersion generatedSchema: GoogleCloudDocumentaiV1SchemaVersion prompt: str @typing.type_check_only -class GoogleCloudDocumentaiV1SchemaVersion(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1SchemaVersion(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] @@ -2113,24 +1957,24 @@ class GoogleCloudDocumentaiV1SchemaVersion(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultProcessorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata testDatasetValidation: ( @@ -2142,7 +1986,7 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -2151,7 +1995,7 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation( @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseProcessorVersion: str customDocumentExtractionOptions: GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions @@ -2164,15 +2008,15 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionRequest( @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - trainingMethod: typing_extensions.Literal[ + trainingMethod: typing.Literal[ "TRAINING_METHOD_UNSPECIFIED", "MODEL_BASED", "TEMPLATE_BASED" ] @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): learningRateMultiplier: float previousFineTunedProcessorVersionName: str @@ -2180,41 +2024,41 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOp @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): testDocuments: GoogleCloudDocumentaiV1BatchDocumentsInputConfig trainingDocuments: GoogleCloudDocumentaiV1BatchDocumentsInputConfig @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1UndeployProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata errorDocumentCount: int @@ -2225,25 +2069,23 @@ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiV1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3BatchProcessMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3BatchProcessMetadata(typing.TypedDict, total=False): createTime: str individualProcessStatuses: _list[ GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "WAITING", "RUNNING", @@ -2257,7 +2099,7 @@ class GoogleCloudDocumentaiV1beta3BatchProcessMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): humanReviewOperation: str humanReviewStatus: GoogleCloudDocumentaiV1beta3HumanReviewStatus @@ -2267,108 +2109,106 @@ class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3CommonOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Dataset(typing.TypedDict, total=False): documentWarehouseConfig: GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig gcsManagedConfig: GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNINITIALIZED", "INITIALIZING", "INITIALIZED" ] unmanagedDatasetConfig: GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collection: str schema: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsPrefix: GoogleCloudDocumentaiV1beta3GcsPrefix @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentId(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3DocumentId(typing.TypedDict, total=False): gcsManagedDocId: GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId revisionRef: GoogleCloudDocumentaiV1beta3RevisionRef unmanagedDocId: GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cwDocId: str gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): docId: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentSchema(typing.TypedDict, total=False): description: str displayName: str documentPrompt: str @@ -2377,7 +2217,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchema( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseTypes: _list[str] description: str @@ -2389,21 +2229,19 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str displayName: str - method: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" - ] + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT"] name: str - occurrenceType: typing_extensions.Literal[ + occurrenceType: typing.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", @@ -2414,9 +2252,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata(typing.TypedDict, total=False): documentAllowMultipleLabels: bool documentSplitter: bool prefixedNamingOnProperties: bool @@ -2424,37 +2260,33 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3EntityTypeMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3EntityTypeMetadata(typing.TypedDict, total=False): inactive: bool @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3EvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3EvaluationMetrics(typing.TypedDict, total=False): f1Score: float falseNegativesCount: int falsePositivesCount: int @@ -2468,9 +2300,7 @@ class GoogleCloudDocumentaiV1beta3EvaluationMetrics( truePositivesCount: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3EvaluationReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3EvaluationReference(typing.TypedDict, total=False): aggregateMetrics: GoogleCloudDocumentaiV1beta3EvaluationMetrics aggregateMetricsExact: GoogleCloudDocumentaiV1beta3EvaluationMetrics evaluation: str @@ -2478,27 +2308,25 @@ class GoogleCloudDocumentaiV1beta3EvaluationReference( @typing.type_check_only class GoogleCloudDocumentaiV1beta3FieldExtractionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summaryOptions: GoogleCloudDocumentaiV1beta3SummaryOptions @typing.type_check_only -class GoogleCloudDocumentaiV1beta3GcsPrefix(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3GcsPrefix(typing.TypedDict, total=False): gcsUriPrefix: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3HumanReviewStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3HumanReviewStatus(typing.TypedDict, total=False): humanReviewOperation: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SKIPPED", "VALIDATION_PASSED", "IN_PROGRESS", "ERROR" ] stateMessage: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata importConfigValidationResults: _list[ @@ -2511,14 +2339,14 @@ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str outputDocumentId: GoogleCloudDocumentaiV1beta3DocumentId @@ -2526,23 +2354,23 @@ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Processor(typing.TypedDict, total=False): activeSchemaVersion: str createTime: str defaultProcessorVersion: str @@ -2553,7 +2381,7 @@ class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=F processorVersionAliases: _list[GoogleCloudDocumentaiV1beta3ProcessorVersionAlias] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DISABLED", @@ -2566,9 +2394,7 @@ class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=F type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessorVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessorVersion(typing.TypedDict, total=False): createTime: str deprecationInfo: GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo displayName: str @@ -2578,13 +2404,13 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersion( kmsKeyName: str kmsKeyVersionName: str latestEvaluation: GoogleCloudDocumentaiV1beta3EvaluationReference - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" ] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DEPLOYED", "DEPLOYING", @@ -2597,22 +2423,20 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersion( ] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias(typing.TypedDict, total=False): alias: str processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deprecationTime: str replacementProcessorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customGenAiModelInfo: ( GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo @@ -2621,52 +2445,48 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseProcessorVersionId: str - customModelType: typing_extensions.Literal[ + customModelType: typing.Literal[ "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" ] @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finetuningAllowed: bool minTrainLabeledDocuments: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3PropertyMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3PropertyMetadata(typing.TypedDict, total=False): fieldExtractionMetadata: GoogleCloudDocumentaiV1beta3FieldExtractionMetadata inactive: bool @typing.type_check_only class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata createTime: str questionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse(typing.TypedDict, total=False): gcsDestination: str rejectionReason: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3RevisionRef(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3RevisionRef(typing.TypedDict, total=False): latestProcessorVersion: str - revisionCase: typing_extensions.Literal[ + revisionCase: typing.Literal[ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", @@ -2676,27 +2496,23 @@ class GoogleCloudDocumentaiV1beta3RevisionRef(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3SummaryOptions( - typing_extensions.TypedDict, total=False -): - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] - length: typing_extensions.Literal[ - "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" - ] +class GoogleCloudDocumentaiV1beta3SummaryOptions(typing.TypedDict, total=False): + format: typing.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] + length: typing.Literal["LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE"] @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata testDatasetValidation: ( @@ -2708,7 +2524,7 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -2717,42 +2533,40 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -2760,13 +2574,13 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2774,29 +2588,29 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -2808,13 +2622,13 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): +class GoogleTypePostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -2828,6 +2642,6 @@ class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/documentai/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1beta2/resources.pyi index 2f09fdf53..fc97f79a8 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/documentai/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1beta2/schemas.pyi index dc63b375b..fd57199a3 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta2/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualAutoLabelStatuses: _list[ @@ -16,19 +14,19 @@ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata errorDocumentCount: int @@ -39,28 +37,28 @@ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata - destDatasetType: typing_extensions.Literal[ + destDatasetType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", "DATASET_SPLIT_UNASSIGNED", ] - destSplitType: typing_extensions.Literal[ + destSplitType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -72,19 +70,19 @@ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualBatchUpdateStatuses: _list[ @@ -93,23 +91,23 @@ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str @@ -117,97 +115,95 @@ class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3DocumentId( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3DocumentId(typing.TypedDict, total=False): gcsManagedDocId: GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId revisionRef: GoogleCloudDocumentaiUiv1beta3RevisionRef unmanagedDocId: GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cwDocId: str gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): docId: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualExportStatuses: _list[ @@ -219,7 +215,7 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId outputGcsDestination: str @@ -227,9 +223,9 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatu @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - splitType: typing_extensions.Literal[ + splitType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -239,24 +235,24 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata importConfigValidationResults: _list[ @@ -269,14 +265,14 @@ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str outputDocumentId: GoogleCloudDocumentaiUiv1beta3DocumentId @@ -285,24 +281,24 @@ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatu @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata datasetResyncStatuses: _list[ @@ -314,9 +310,9 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - datasetInconsistencyType: typing_extensions.Literal[ + datasetInconsistencyType: typing.Literal[ "DATASET_INCONSISTENCY_TYPE_UNSPECIFIED", "DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER", ] @@ -324,10 +320,10 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId - documentInconsistencyType: typing_extensions.Literal[ + documentInconsistencyType: typing.Literal[ "DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED", "DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO", "DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA", @@ -337,15 +333,13 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyn @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3RevisionRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3RevisionRef(typing.TypedDict, total=False): latestProcessorVersion: str - revisionCase: typing_extensions.Literal[ + revisionCase: typing.Literal[ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", @@ -355,13 +349,13 @@ class GoogleCloudDocumentaiUiv1beta3RevisionRef( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleTestStatus: GoogleRpcStatus sampleTrainingStatus: GoogleRpcStatus @@ -371,24 +365,24 @@ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata testDatasetValidation: ( @@ -400,7 +394,7 @@ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -409,48 +403,46 @@ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidati @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1BatchProcessMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1BatchProcessMetadata(typing.TypedDict, total=False): createTime: str individualProcessStatuses: _list[ GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "WAITING", "RUNNING", @@ -464,7 +456,7 @@ class GoogleCloudDocumentaiV1BatchProcessMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): humanReviewStatus: GoogleCloudDocumentaiV1HumanReviewStatus inputGcsSource: str @@ -472,118 +464,102 @@ class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus( status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDocumentaiV1BatchProcessResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1BatchProcessResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDocumentaiV1CommonOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1CommonOperationMetadata(typing.TypedDict, total=False): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DeleteProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1DisableProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DisableProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1EnableProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1EnableProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1EnableProcessorResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1EnableProcessorResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiV1HumanReviewStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1HumanReviewStatus(typing.TypedDict, total=False): humanReviewOperation: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SKIPPED", "VALIDATION_PASSED", "IN_PROGRESS", "ERROR" ] stateMessage: str @typing.type_check_only class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata questionId: str @typing.type_check_only -class GoogleCloudDocumentaiV1ReviewDocumentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ReviewDocumentResponse(typing.TypedDict, total=False): gcsDestination: str rejectionReason: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata testDatasetValidation: ( @@ -595,7 +571,7 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -604,42 +580,40 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation( @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta1Barcode(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta1Barcode(typing.TypedDict, total=False): format: str rawValue: str valueFormat: str @typing.type_check_only class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudDocumentaiV1beta1ProcessDocumentResponse] @typing.type_check_only -class GoogleCloudDocumentaiV1beta1BoundingPoly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudDocumentaiV1beta1NormalizedVertex] vertices: _list[GoogleCloudDocumentaiV1beta1Vertex] @typing.type_check_only -class GoogleCloudDocumentaiV1beta1Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta1Document(typing.TypedDict, total=False): chunkedDocument: GoogleCloudDocumentaiV1beta1DocumentChunkedDocument content: str documentLayout: GoogleCloudDocumentaiV1beta1DocumentDocumentLayout @@ -657,13 +631,13 @@ class GoogleCloudDocumentaiV1beta1Document(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentChunkedDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunks: _list[GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk] @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkId: str content: str @@ -678,34 +652,32 @@ class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentDocumentLayout(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockId: str listBlock: GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock @@ -715,7 +687,7 @@ class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): listEntries: _list[ GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry @@ -724,20 +696,20 @@ class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bodyRows: _list[ GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow @@ -749,7 +721,7 @@ class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] colSpan: int @@ -757,7 +729,7 @@ class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[ GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell @@ -765,16 +737,14 @@ class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock] text: str type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentEntity(typing.TypedDict, total=False): confidence: float id: str mentionId: str @@ -789,7 +759,7 @@ class GoogleCloudDocumentaiV1beta1DocumentEntity( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addressValue: GoogleTypePostalAddress booleanValue: bool @@ -801,17 +771,13 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( text: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentEntityRelation(typing.TypedDict, total=False): objectId: str relation: str subjectId: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPage(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1beta1DocumentPageBlock] detectedBarcodes: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode] detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] @@ -831,19 +797,17 @@ class GoogleCloudDocumentaiV1beta1DocumentPage( visualElements: _list[GoogleCloudDocumentaiV1beta1DocumentPageVisualElement] @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageAnchor(typing.TypedDict, total=False): pageRefs: _list[GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef] @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudDocumentaiV1beta1BoundingPoly confidence: float layoutId: str - layoutType: typing_extensions.Literal[ + layoutType: typing.Literal[ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", @@ -856,39 +820,33 @@ class GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef( page: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageBlock( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageBlock(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): barcode: GoogleCloudDocumentaiV1beta1Barcode layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageDimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageDimension(typing.TypedDict, total=False): height: float unit: str width: float @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageFormField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageFormField(typing.TypedDict, total=False): correctedKeyText: str correctedValueText: str fieldName: GoogleCloudDocumentaiV1beta1DocumentPageLayout @@ -903,9 +861,7 @@ class GoogleCloudDocumentaiV1beta1DocumentPageFormField( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageImage(typing.TypedDict, total=False): content: str height: int mimeType: str @@ -913,7 +869,7 @@ class GoogleCloudDocumentaiV1beta1DocumentPageImage( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedDefects: _list[ GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect @@ -922,58 +878,46 @@ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageLayout(typing.TypedDict, total=False): boundingPoly: GoogleCloudDocumentaiV1beta1BoundingPoly confidence: float - orientation: typing_extensions.Literal[ + orientation: typing.Literal[ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ] textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageLine( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageLine(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageMatrix(typing.TypedDict, total=False): cols: int data: str rows: int type: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageParagraph(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta1DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageSymbol(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageTable(typing.TypedDict, total=False): bodyRows: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow] detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] headerRows: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow] @@ -982,7 +926,7 @@ class GoogleCloudDocumentaiV1beta1DocumentPageTable( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): colSpan: int detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] @@ -991,14 +935,12 @@ class GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell] @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentPageToken( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentPageToken(typing.TypedDict, total=False): detectedBreak: GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout @@ -1007,13 +949,13 @@ class GoogleCloudDocumentaiV1beta1DocumentPageToken( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] + type: typing.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backgroundColor: GoogleTypeColor bold: bool @@ -1033,20 +975,18 @@ class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedLanguages: _list[GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta1DocumentPageLayout type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentProvenance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentProvenance(typing.TypedDict, total=False): id: int parents: _list[GoogleCloudDocumentaiV1beta1DocumentProvenanceParent] revision: int - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", @@ -1059,16 +999,14 @@ class GoogleCloudDocumentaiV1beta1DocumentProvenance( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: int index: int revision: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentRevision( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentRevision(typing.TypedDict, total=False): agent: str createTime: str humanReview: GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview @@ -1079,23 +1017,19 @@ class GoogleCloudDocumentaiV1beta1DocumentRevision( @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): state: str stateMessage: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentShardInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentShardInfo(typing.TypedDict, total=False): shardCount: str shardIndex: str textOffset: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentStyle( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentStyle(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor color: GoogleTypeColor fontFamily: str @@ -1106,62 +1040,50 @@ class GoogleCloudDocumentaiV1beta1DocumentStyle( textStyle: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentStyleFontSize(typing.TypedDict, total=False): size: float unit: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentTextAnchor(typing.TypedDict, total=False): content: str textSegments: _list[GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment] @typing.type_check_only class GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str startIndex: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1DocumentTextChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1DocumentTextChange(typing.TypedDict, total=False): changedText: str provenance: _list[GoogleCloudDocumentaiV1beta1DocumentProvenance] textAnchor: GoogleCloudDocumentaiV1beta1DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta1InputConfig(typing.TypedDict, total=False): gcsSource: GoogleCloudDocumentaiV1beta1GcsSource mimeType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudDocumentaiV1beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACCEPTED", "WAITING", @@ -1174,57 +1096,51 @@ class GoogleCloudDocumentaiV1beta1OperationMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta1OutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta1OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudDocumentaiV1beta1GcsDestination pagesPerShard: int @typing.type_check_only class GoogleCloudDocumentaiV1beta1ProcessDocumentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputConfig: GoogleCloudDocumentaiV1beta1InputConfig outputConfig: GoogleCloudDocumentaiV1beta1OutputConfig @typing.type_check_only -class GoogleCloudDocumentaiV1beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta2AutoMlParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2AutoMlParams(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2Barcode(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta2Barcode(typing.TypedDict, total=False): format: str rawValue: str valueFormat: str @typing.type_check_only class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudDocumentaiV1beta2ProcessDocumentRequest] @typing.type_check_only class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudDocumentaiV1beta2ProcessDocumentResponse] @typing.type_check_only -class GoogleCloudDocumentaiV1beta2BoundingPoly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudDocumentaiV1beta2NormalizedVertex] vertices: _list[GoogleCloudDocumentaiV1beta2Vertex] @typing.type_check_only -class GoogleCloudDocumentaiV1beta2Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta2Document(typing.TypedDict, total=False): chunkedDocument: GoogleCloudDocumentaiV1beta2DocumentChunkedDocument content: str documentLayout: GoogleCloudDocumentaiV1beta2DocumentDocumentLayout @@ -1243,13 +1159,13 @@ class GoogleCloudDocumentaiV1beta2Document(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentChunkedDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunks: _list[GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk] @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkId: str content: str @@ -1264,34 +1180,32 @@ class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentDocumentLayout(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockId: str listBlock: GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock @@ -1301,7 +1215,7 @@ class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): listEntries: _list[ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry @@ -1310,20 +1224,20 @@ class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bodyRows: _list[ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow @@ -1335,7 +1249,7 @@ class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] colSpan: int @@ -1343,7 +1257,7 @@ class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell @@ -1351,16 +1265,14 @@ class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock] text: str type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentEntity(typing.TypedDict, total=False): confidence: float id: str mentionId: str @@ -1375,7 +1287,7 @@ class GoogleCloudDocumentaiV1beta2DocumentEntity( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addressValue: GoogleTypePostalAddress booleanValue: bool @@ -1387,25 +1299,19 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( text: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentEntityRelation(typing.TypedDict, total=False): objectId: str relation: str subjectId: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentLabel(typing.TypedDict, total=False): automlModel: str confidence: float name: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPage(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1beta2DocumentPageBlock] detectedBarcodes: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode] detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] @@ -1425,19 +1331,17 @@ class GoogleCloudDocumentaiV1beta2DocumentPage( visualElements: _list[GoogleCloudDocumentaiV1beta2DocumentPageVisualElement] @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageAnchor(typing.TypedDict, total=False): pageRefs: _list[GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef] @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudDocumentaiV1beta2BoundingPoly confidence: float layoutId: str - layoutType: typing_extensions.Literal[ + layoutType: typing.Literal[ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", @@ -1450,39 +1354,33 @@ class GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef( page: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageBlock( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageBlock(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): barcode: GoogleCloudDocumentaiV1beta2Barcode layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageDimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageDimension(typing.TypedDict, total=False): height: float unit: str width: float @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageFormField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageFormField(typing.TypedDict, total=False): correctedKeyText: str correctedValueText: str fieldName: GoogleCloudDocumentaiV1beta2DocumentPageLayout @@ -1497,9 +1395,7 @@ class GoogleCloudDocumentaiV1beta2DocumentPageFormField( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageImage(typing.TypedDict, total=False): content: str height: int mimeType: str @@ -1507,7 +1403,7 @@ class GoogleCloudDocumentaiV1beta2DocumentPageImage( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedDefects: _list[ GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect @@ -1516,58 +1412,46 @@ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageLayout(typing.TypedDict, total=False): boundingPoly: GoogleCloudDocumentaiV1beta2BoundingPoly confidence: float - orientation: typing_extensions.Literal[ + orientation: typing.Literal[ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ] textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageLine( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageLine(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageMatrix(typing.TypedDict, total=False): cols: int data: str rows: int type: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageParagraph(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta2DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageSymbol(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageTable(typing.TypedDict, total=False): bodyRows: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow] detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] headerRows: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow] @@ -1576,7 +1460,7 @@ class GoogleCloudDocumentaiV1beta2DocumentPageTable( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): colSpan: int detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] @@ -1585,14 +1469,12 @@ class GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell] @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentPageToken( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentPageToken(typing.TypedDict, total=False): detectedBreak: GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout @@ -1601,13 +1483,13 @@ class GoogleCloudDocumentaiV1beta2DocumentPageToken( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] + type: typing.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backgroundColor: GoogleTypeColor bold: bool @@ -1627,20 +1509,18 @@ class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedLanguages: _list[GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta2DocumentPageLayout type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentProvenance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentProvenance(typing.TypedDict, total=False): id: int parents: _list[GoogleCloudDocumentaiV1beta2DocumentProvenanceParent] revision: int - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", @@ -1653,16 +1533,14 @@ class GoogleCloudDocumentaiV1beta2DocumentProvenance( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: int index: int revision: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentRevision( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentRevision(typing.TypedDict, total=False): agent: str createTime: str humanReview: GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview @@ -1673,23 +1551,19 @@ class GoogleCloudDocumentaiV1beta2DocumentRevision( @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): state: str stateMessage: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentShardInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentShardInfo(typing.TypedDict, total=False): shardCount: str shardIndex: str textOffset: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentStyle( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentStyle(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor color: GoogleTypeColor fontFamily: str @@ -1700,89 +1574,71 @@ class GoogleCloudDocumentaiV1beta2DocumentStyle( textStyle: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentStyleFontSize(typing.TypedDict, total=False): size: float unit: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentTextAnchor(typing.TypedDict, total=False): content: str textSegments: _list[GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment] @typing.type_check_only class GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str startIndex: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2DocumentTextChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2DocumentTextChange(typing.TypedDict, total=False): changedText: str provenance: _list[GoogleCloudDocumentaiV1beta2DocumentProvenance] textAnchor: GoogleCloudDocumentaiV1beta2DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1beta2EntityExtractionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2EntityExtractionParams(typing.TypedDict, total=False): enabled: bool modelVersion: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2FormExtractionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2FormExtractionParams(typing.TypedDict, total=False): enabled: bool keyValuePairHints: _list[GoogleCloudDocumentaiV1beta2KeyValuePairHint] modelVersion: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta2GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta2InputConfig(typing.TypedDict, total=False): contents: str gcsSource: GoogleCloudDocumentaiV1beta2GcsSource mimeType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2KeyValuePairHint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2KeyValuePairHint(typing.TypedDict, total=False): key: str valueTypes: _list[str] @typing.type_check_only -class GoogleCloudDocumentaiV1beta2NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudDocumentaiV1beta2OcrParams(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta2OcrParams(typing.TypedDict, total=False): languageHints: _list[str] @typing.type_check_only -class GoogleCloudDocumentaiV1beta2OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACCEPTED", "WAITING", @@ -1795,16 +1651,12 @@ class GoogleCloudDocumentaiV1beta2OperationMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta2OutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2OutputConfig(typing.TypedDict, total=False): gcsDestination: GoogleCloudDocumentaiV1beta2GcsDestination pagesPerShard: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta2ProcessDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2ProcessDocumentRequest(typing.TypedDict, total=False): automlParams: GoogleCloudDocumentaiV1beta2AutoMlParams documentType: str entityExtractionParams: GoogleCloudDocumentaiV1beta2EntityExtractionParams @@ -1817,35 +1669,31 @@ class GoogleCloudDocumentaiV1beta2ProcessDocumentRequest( @typing.type_check_only class GoogleCloudDocumentaiV1beta2ProcessDocumentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputConfig: GoogleCloudDocumentaiV1beta2InputConfig outputConfig: GoogleCloudDocumentaiV1beta2OutputConfig @typing.type_check_only -class GoogleCloudDocumentaiV1beta2TableBoundHint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2TableBoundHint(typing.TypedDict, total=False): boundingBox: GoogleCloudDocumentaiV1beta2BoundingPoly pageNumber: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta2TableExtractionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta2TableExtractionParams(typing.TypedDict, total=False): enabled: bool headerHints: _list[str] modelVersion: str tableBoundHints: _list[GoogleCloudDocumentaiV1beta2TableBoundHint] @typing.type_check_only -class GoogleCloudDocumentaiV1beta2Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta2Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata errorDocumentCount: int @@ -1856,25 +1704,23 @@ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiV1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3BatchProcessMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3BatchProcessMetadata(typing.TypedDict, total=False): createTime: str individualProcessStatuses: _list[ GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "WAITING", "RUNNING", @@ -1888,7 +1734,7 @@ class GoogleCloudDocumentaiV1beta3BatchProcessMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): humanReviewOperation: str humanReviewStatus: GoogleCloudDocumentaiV1beta3HumanReviewStatus @@ -1898,150 +1744,148 @@ class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3CommonOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Dataset(typing.TypedDict, total=False): documentWarehouseConfig: GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig gcsManagedConfig: GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig name: str satisfiesPzi: bool satisfiesPzs: bool spannerIndexingConfig: GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNINITIALIZED", "INITIALIZING", "INITIALIZED" ] unmanagedDatasetConfig: GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collection: str schema: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsPrefix: GoogleCloudDocumentaiV1beta3GcsPrefix @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentId(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3DocumentId(typing.TypedDict, total=False): gcsManagedDocId: GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId revisionRef: GoogleCloudDocumentaiV1beta3RevisionRef unmanagedDocId: GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cwDocId: str gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): docId: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3GcsPrefix(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3GcsPrefix(typing.TypedDict, total=False): gcsUriPrefix: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3HumanReviewStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3HumanReviewStatus(typing.TypedDict, total=False): humanReviewOperation: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SKIPPED", "VALIDATION_PASSED", "IN_PROGRESS", "ERROR" ] stateMessage: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata importConfigValidationResults: _list[ @@ -2054,14 +1898,14 @@ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str outputDocumentId: GoogleCloudDocumentaiV1beta3DocumentId @@ -2069,46 +1913,44 @@ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata createTime: str questionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse(typing.TypedDict, total=False): gcsDestination: str rejectionReason: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3RevisionRef(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3RevisionRef(typing.TypedDict, total=False): latestProcessorVersion: str - revisionCase: typing_extensions.Literal[ + revisionCase: typing.Literal[ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", @@ -2118,18 +1960,18 @@ class GoogleCloudDocumentaiV1beta3RevisionRef(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata testDatasetValidation: ( @@ -2141,7 +1983,7 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -2150,29 +1992,29 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2180,29 +2022,29 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -2214,13 +2056,13 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): +class GoogleTypePostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -2234,6 +2076,6 @@ class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi index b90d5d271..09b655b5f 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -90,7 +89,7 @@ class DocumentResource(googleapiclient.discovery.Resource): documentId_gcsManagedDocId_cwDocId: str | None = ..., documentId_gcsManagedDocId_gcsUri: str | None = ..., documentId_revisionRef_latestProcessorVersion: str | None = ..., - documentId_revisionRef_revisionCase: typing_extensions.Literal[ + documentId_revisionRef_revisionCase: typing.Literal[ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi index 15280ee53..829fced17 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): validationRules: _list[ CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule @@ -14,7 +12,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput( @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): childAlignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule description: str @@ -29,9 +27,9 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - alignmentType: typing_extensions.Literal[ + alignmentType: typing.Literal[ "ALIGNMENT_TYPE_UNSPECIFIED", "ALIGNMENT_TYPE_HORIZONTAL", "ALIGNMENT_TYPE_VERTICAL", @@ -40,7 +38,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignm @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule childFields: _list[ @@ -52,13 +50,13 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildA @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): floatValue: float @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alignmentRule: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule fields: _list[ @@ -67,7 +65,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntity @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: ( CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant @@ -76,7 +74,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField( @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField maxOccurrences: int @@ -84,18 +82,18 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldO @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField pattern: str @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): leftOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation rightOperand: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation - validationOperator: typing_extensions.Literal[ + validationOperator: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPERATION_TYPE_EQ", "OPERATION_TYPE_NE", @@ -107,7 +105,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormVa @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constants: _list[ CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant @@ -115,7 +113,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormVa fields: _list[ CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField ] - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPERATION_TYPE_SUM", "OPERATION_TYPE_SUB", @@ -133,7 +131,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormVa @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualAutoLabelStatuses: _list[ @@ -143,19 +141,19 @@ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata errorDocumentCount: int @@ -166,28 +164,28 @@ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata - destDatasetType: typing_extensions.Literal[ + destDatasetType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", "DATASET_SPLIT_UNASSIGNED", ] - destSplitType: typing_extensions.Literal[ + destSplitType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -199,19 +197,19 @@ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualBatchUpdateStatuses: _list[ @@ -220,23 +218,23 @@ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str @@ -244,75 +242,71 @@ class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3DocumentId( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3DocumentId(typing.TypedDict, total=False): gcsManagedDocId: GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId revisionRef: GoogleCloudDocumentaiUiv1beta3RevisionRef unmanagedDocId: GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cwDocId: str gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): docId: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3DocumentSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3DocumentSchema(typing.TypedDict, total=False): description: str displayName: str documentPrompt: str @@ -321,7 +315,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchema( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseTypes: _list[str] description: str @@ -333,21 +327,19 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str displayName: str - method: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" - ] + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT"] name: str - occurrenceType: typing_extensions.Literal[ + occurrenceType: typing.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", @@ -359,7 +351,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentAllowMultipleLabels: bool documentSplitter: bool @@ -368,19 +360,17 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata(typing.TypedDict, total=False): fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata humanReviewLabelingMetadata: ( GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata @@ -392,20 +382,18 @@ class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics(typing.TypedDict, total=False): f1Score: float falseNegativesCount: int falsePositivesCount: int @@ -419,9 +407,7 @@ class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics( truePositivesCount: int @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3EvaluationReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3EvaluationReference(typing.TypedDict, total=False): aggregateMetrics: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics aggregateMetricsExact: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics evaluation: str @@ -429,7 +415,7 @@ class GoogleCloudDocumentaiUiv1beta3EvaluationReference( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata individualExportStatuses: _list[ @@ -441,7 +427,7 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId outputGcsDestination: str @@ -449,9 +435,9 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatu @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - splitType: typing_extensions.Literal[ + splitType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -461,56 +447,54 @@ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityQuery: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery summaryOptions: GoogleCloudDocumentaiUiv1beta3SummaryOptions @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEntityQuery: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3FieldTierMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3FieldTierMetadata(typing.TypedDict, total=False): tierLevel: int @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableNormalizationEditing: bool @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float enableValidation: bool @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata importConfigValidationResults: _list[ @@ -523,14 +507,14 @@ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str outputDocumentId: GoogleCloudDocumentaiUiv1beta3DocumentId @@ -539,23 +523,23 @@ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatu @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiUiv1beta3Processor(typing.TypedDict, total=False): activeSchemaVersion: str createTime: str defaultProcessorVersion: str @@ -566,7 +550,7 @@ class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total processorVersionAliases: _list[GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DISABLED", @@ -579,9 +563,7 @@ class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total type: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3ProcessorVersion(typing.TypedDict, total=False): createTime: str deploymentAllowed: bool deprecationInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo @@ -592,14 +574,14 @@ class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( kmsKeyName: str kmsKeyVersionName: str latestEvaluation: GoogleCloudDocumentaiUiv1beta3EvaluationReference - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" ] name: str satisfiesPzi: bool satisfiesPzs: bool schema: GoogleCloudDocumentaiUiv1beta3Schema - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DEPLOYED", "DEPLOYING", @@ -613,21 +595,21 @@ class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alias: str processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deprecationTime: str replacementProcessorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customGenAiModelInfo: ( GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo @@ -636,24 +618,22 @@ class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseProcessorVersionId: str - customModelType: typing_extensions.Literal[ + customModelType: typing.Literal[ "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" ] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finetuningAllowed: bool minTrainLabeledDocuments: int @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3PropertyMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3PropertyMetadata(typing.TypedDict, total=False): fieldExtractionMetadata: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata humanReviewLabelingMetadata: ( @@ -666,7 +646,7 @@ class GoogleCloudDocumentaiUiv1beta3PropertyMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata datasetResyncStatuses: _list[ @@ -678,9 +658,9 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - datasetInconsistencyType: typing_extensions.Literal[ + datasetInconsistencyType: typing.Literal[ "DATASET_INCONSISTENCY_TYPE_UNSPECIFIED", "DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER", ] @@ -688,10 +668,10 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiUiv1beta3DocumentId - documentInconsistencyType: typing_extensions.Literal[ + documentInconsistencyType: typing.Literal[ "DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED", "DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO", "DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA", @@ -701,15 +681,13 @@ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyn @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3RevisionRef( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3RevisionRef(typing.TypedDict, total=False): latestProcessorVersion: str - revisionCase: typing_extensions.Literal[ + revisionCase: typing.Literal[ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", @@ -719,13 +697,13 @@ class GoogleCloudDocumentaiUiv1beta3RevisionRef( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sampleTestStatus: GoogleRpcStatus sampleTrainingStatus: GoogleRpcStatus @@ -735,35 +713,31 @@ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: str @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiUiv1beta3Schema(typing.TypedDict, total=False): description: str displayName: str entityTypes: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): editable: bool processorVersions: _list[str] @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiUiv1beta3SchemaEntityType(typing.TypedDict, total=False): baseType: str description: str enumValues: _list[str] hide: bool - method: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" - ] - occurrenceType: typing_extensions.Literal[ + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT"] + occurrenceType: typing.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", @@ -771,38 +745,34 @@ class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( "REQUIRED_MULTIPLE", ] properties: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "PREDEFINED", "USER_INPUT"] + source: typing.Literal["SOURCE_UNSPECIFIED", "PREDEFINED", "USER_INPUT"] type: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inferred: bool @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiUiv1beta3SummaryOptions( - typing_extensions.TypedDict, total=False -): - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] - length: typing_extensions.Literal[ - "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" - ] +class GoogleCloudDocumentaiUiv1beta3SummaryOptions(typing.TypedDict, total=False): + format: typing.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] + length: typing.Literal["LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE"] @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata testDatasetValidation: ( @@ -814,7 +784,7 @@ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -823,54 +793,52 @@ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidati @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1BatchProcessMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1BatchProcessMetadata(typing.TypedDict, total=False): createTime: str individualProcessStatuses: _list[ GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "WAITING", "RUNNING", @@ -884,7 +852,7 @@ class GoogleCloudDocumentaiV1BatchProcessMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): humanReviewStatus: GoogleCloudDocumentaiV1HumanReviewStatus inputGcsSource: str @@ -892,118 +860,102 @@ class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus( status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDocumentaiV1BatchProcessResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1BatchProcessResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudDocumentaiV1CommonOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1CommonOperationMetadata(typing.TypedDict, total=False): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DeleteProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1DisableProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1DisableProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1EnableProcessorMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1EnableProcessorMetadata(typing.TypedDict, total=False): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1EnableProcessorResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudDocumentaiV1EnableProcessorResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiV1HumanReviewStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1HumanReviewStatus(typing.TypedDict, total=False): humanReviewOperation: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SKIPPED", "VALIDATION_PASSED", "IN_PROGRESS", "ERROR" ] stateMessage: str @typing.type_check_only class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata questionId: str @typing.type_check_only -class GoogleCloudDocumentaiV1ReviewDocumentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1ReviewDocumentResponse(typing.TypedDict, total=False): gcsDestination: str rejectionReason: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata testDatasetValidation: ( @@ -1015,7 +967,7 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -1024,31 +976,29 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation( @typing.type_check_only class GoogleCloudDocumentaiV1TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Barcode(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Barcode(typing.TypedDict, total=False): format: str rawValue: str valueFormat: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3BatchDatasetDocuments( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3BatchDatasetDocuments(typing.TypedDict, total=False): filter: str individualDocumentIds: ( GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds @@ -1056,13 +1006,13 @@ class GoogleCloudDocumentaiV1beta3BatchDatasetDocuments( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentIds: _list[GoogleCloudDocumentaiV1beta3DocumentId] @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata errorDocumentCount: int @@ -1073,38 +1023,36 @@ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentId: GoogleCloudDocumentaiV1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetDocuments: GoogleCloudDocumentaiV1beta3BatchDatasetDocuments @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsDocuments: GoogleCloudDocumentaiV1beta3GcsDocuments gcsPrefix: GoogleCloudDocumentaiV1beta3GcsPrefix @typing.type_check_only -class GoogleCloudDocumentaiV1beta3BatchProcessMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3BatchProcessMetadata(typing.TypedDict, total=False): createTime: str individualProcessStatuses: _list[ GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "WAITING", "RUNNING", @@ -1118,7 +1066,7 @@ class GoogleCloudDocumentaiV1beta3BatchProcessMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): humanReviewOperation: str humanReviewStatus: GoogleCloudDocumentaiV1beta3HumanReviewStatus @@ -1127,9 +1075,7 @@ class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus( status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDocumentaiV1beta3BatchProcessRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3BatchProcessRequest(typing.TypedDict, total=False): documentOutputConfig: GoogleCloudDocumentaiV1beta3DocumentOutputConfig inputConfigs: _list[GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig] inputDocuments: GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig @@ -1140,70 +1086,66 @@ class GoogleCloudDocumentaiV1beta3BatchProcessRequest( @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsSource: str mimeType: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsDestination: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3BatchProcessResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3BoundingPoly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudDocumentaiV1beta3NormalizedVertex] vertices: _list[GoogleCloudDocumentaiV1beta3Vertex] @typing.type_check_only class GoogleCloudDocumentaiV1beta3CommonOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str resource: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Dataset(typing.TypedDict, total=False): documentWarehouseConfig: GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig gcsManagedConfig: GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNINITIALIZED", "INITIALIZING", "INITIALIZED" ] unmanagedDatasetConfig: GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): collection: str schema: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsPrefix: GoogleCloudDocumentaiV1beta3GcsPrefix @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DatasetSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DatasetSchema(typing.TypedDict, total=False): documentSchema: GoogleCloudDocumentaiV1beta3DocumentSchema name: str satisfiesPzi: bool @@ -1211,55 +1153,55 @@ class GoogleCloudDocumentaiV1beta3DatasetSchema( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3DisableProcessorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3DisableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Document(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Document(typing.TypedDict, total=False): blobAssets: _list[GoogleCloudDocumentaiV1beta3DocumentBlobAsset] chunkedDocument: GoogleCloudDocumentaiV1beta3DocumentChunkedDocument content: str @@ -1281,28 +1223,24 @@ class GoogleCloudDocumentaiV1beta3Document(typing_extensions.TypedDict, total=Fa uri: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentAnnotations( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentAnnotations(typing.TypedDict, total=False): description: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentBlobAsset( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentBlobAsset(typing.TypedDict, total=False): assetId: str content: str mimeType: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunks: _list[GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkFields: _list[ GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField @@ -1320,7 +1258,7 @@ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageChunkField: ( GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField @@ -1331,28 +1269,28 @@ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSpan: GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan text: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations blobAssetId: str @@ -1361,19 +1299,17 @@ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blockId: str boundingBox: GoogleCloudDocumentaiV1beta3BoundingPoly @@ -1385,7 +1321,7 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations blobAssetId: str @@ -1396,7 +1332,7 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): listEntries: _list[ GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry @@ -1405,20 +1341,20 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageEnd: int pageStart: int @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations bodyRows: _list[ @@ -1431,7 +1367,7 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): blocks: _list[GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock] colSpan: int @@ -1439,7 +1375,7 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[ GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell @@ -1447,7 +1383,7 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotations: GoogleCloudDocumentaiV1beta3DocumentAnnotations blocks: _list[GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock] @@ -1456,7 +1392,7 @@ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayou @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entities: _list[GoogleCloudDocumentaiV1beta3DocumentEntity] entityValidationOutput: GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput @@ -1464,14 +1400,12 @@ class GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision( revisionId: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentEntity(typing.TypedDict, total=False): confidence: float id: str mentionId: str mentionText: str - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] normalizedValue: GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue pageAnchor: GoogleCloudDocumentaiV1beta3DocumentPageAnchor properties: _list[GoogleCloudDocumentaiV1beta3DocumentEntity] @@ -1482,7 +1416,7 @@ class GoogleCloudDocumentaiV1beta3DocumentEntity( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addressValue: GoogleTypePostalAddress booleanValue: bool @@ -1495,16 +1429,14 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue( text: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentEntityRelation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentEntityRelation(typing.TypedDict, total=False): objectId: str relation: str subjectId: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): passAllRules: bool validationResults: _list[ @@ -1513,13 +1445,13 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rule: str ruleDescription: str ruleName: str validationDetails: str - validationResultType: typing_extensions.Literal[ + validationResultType: typing.Literal[ "VALIDATION_RESULT_TYPE_UNSPECIFIED", "VALIDATION_RESULT_TYPE_VALID", "VALIDATION_RESULT_TYPE_INVALID", @@ -1528,29 +1460,27 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult ] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentId(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3DocumentId(typing.TypedDict, total=False): gcsManagedDocId: GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId revisionRef: GoogleCloudDocumentaiV1beta3RevisionRef unmanagedDocId: GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cwDocId: str gcsUri: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): docId: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentMetadata( - typing_extensions.TypedDict, total=False -): - datasetType: typing_extensions.Literal[ +class GoogleCloudDocumentaiV1beta3DocumentMetadata(typing.TypedDict, total=False): + datasetType: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -1558,7 +1488,7 @@ class GoogleCloudDocumentaiV1beta3DocumentMetadata( ] displayName: str documentId: GoogleCloudDocumentaiV1beta3DocumentId - labelingState: typing_extensions.Literal[ + labelingState: typing.Literal[ "DOCUMENT_LABELING_STATE_UNSPECIFIED", "DOCUMENT_LABELED", "DOCUMENT_UNLABELED", @@ -1567,14 +1497,12 @@ class GoogleCloudDocumentaiV1beta3DocumentMetadata( pageCount: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentOutputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentOutputConfig(typing.TypedDict, total=False): gcsOutputConfig: GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldMask: str gcsUri: str @@ -1584,15 +1512,13 @@ class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pagesOverlap: int pagesPerShard: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPage(typing.TypedDict, total=False): blocks: _list[GoogleCloudDocumentaiV1beta3DocumentPageBlock] detectedBarcodes: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode] detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] @@ -1612,19 +1538,17 @@ class GoogleCloudDocumentaiV1beta3DocumentPage( visualElements: _list[GoogleCloudDocumentaiV1beta3DocumentPageVisualElement] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageAnchor(typing.TypedDict, total=False): pageRefs: _list[GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudDocumentaiV1beta3BoundingPoly confidence: float layoutId: str - layoutType: typing_extensions.Literal[ + layoutType: typing.Literal[ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", @@ -1637,39 +1561,33 @@ class GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef( page: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageBlock( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageBlock(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta3DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta3DocumentProvenance @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): barcode: GoogleCloudDocumentaiV1beta3Barcode layout: GoogleCloudDocumentaiV1beta3DocumentPageLayout @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageDimension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageDimension(typing.TypedDict, total=False): height: float unit: str width: float @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageFormField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageFormField(typing.TypedDict, total=False): correctedKeyText: str correctedValueText: str fieldName: GoogleCloudDocumentaiV1beta3DocumentPageLayout @@ -1684,9 +1602,7 @@ class GoogleCloudDocumentaiV1beta3DocumentPageFormField( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageImage(typing.TypedDict, total=False): content: str height: int mimeType: str @@ -1694,7 +1610,7 @@ class GoogleCloudDocumentaiV1beta3DocumentPageImage( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedDefects: _list[ GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect @@ -1703,58 +1619,46 @@ class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageLayout( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageLayout(typing.TypedDict, total=False): boundingPoly: GoogleCloudDocumentaiV1beta3BoundingPoly confidence: float - orientation: typing_extensions.Literal[ + orientation: typing.Literal[ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ] textAnchor: GoogleCloudDocumentaiV1beta3DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageLine( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageLine(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta3DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta3DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageMatrix( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageMatrix(typing.TypedDict, total=False): cols: int data: str rows: int type: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageParagraph( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageParagraph(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta3DocumentPageLayout provenance: GoogleCloudDocumentaiV1beta3DocumentProvenance @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageSymbol( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageSymbol(typing.TypedDict, total=False): detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta3DocumentPageLayout @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageTable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageTable(typing.TypedDict, total=False): bodyRows: _list[GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow] detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] headerRows: _list[GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow] @@ -1763,7 +1667,7 @@ class GoogleCloudDocumentaiV1beta3DocumentPageTable( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): colSpan: int detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] @@ -1772,14 +1676,12 @@ class GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cells: _list[GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentPageToken( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentPageToken(typing.TypedDict, total=False): detectedBreak: GoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta3DocumentPageLayout @@ -1788,13 +1690,13 @@ class GoogleCloudDocumentaiV1beta3DocumentPageToken( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] + type: typing.Literal["TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN"] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): backgroundColor: GoogleTypeColor bold: bool @@ -1814,20 +1716,18 @@ class GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentPageVisualElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedLanguages: _list[GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage] layout: GoogleCloudDocumentaiV1beta3DocumentPageLayout type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentProvenance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentProvenance(typing.TypedDict, total=False): id: int parents: _list[GoogleCloudDocumentaiV1beta3DocumentProvenanceParent] revision: int - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", @@ -1840,16 +1740,14 @@ class GoogleCloudDocumentaiV1beta3DocumentProvenance( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentProvenanceParent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: int index: int revision: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentRevision( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentRevision(typing.TypedDict, total=False): agent: str createTime: str humanReview: GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview @@ -1860,15 +1758,13 @@ class GoogleCloudDocumentaiV1beta3DocumentRevision( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): state: str stateMessage: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentSchema(typing.TypedDict, total=False): description: str displayName: str documentPrompt: str @@ -1877,7 +1773,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchema( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseTypes: _list[str] description: str @@ -1889,21 +1785,19 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType( @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str displayName: str - method: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" - ] + method: typing.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT"] name: str - occurrenceType: typing_extensions.Literal[ + occurrenceType: typing.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", @@ -1914,27 +1808,21 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( valueType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata(typing.TypedDict, total=False): documentAllowMultipleLabels: bool documentSplitter: bool prefixedNamingOnProperties: bool skipNamingValidation: bool @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentShardInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentShardInfo(typing.TypedDict, total=False): pageOffset: int shardCount: str shardIndex: str textOffset: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentStyle( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentStyle(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor color: GoogleTypeColor fontFamily: str @@ -1945,80 +1833,72 @@ class GoogleCloudDocumentaiV1beta3DocumentStyle( textStyle: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentStyleFontSize( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentStyleFontSize(typing.TypedDict, total=False): size: float unit: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentTextAnchor( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentTextAnchor(typing.TypedDict, total=False): content: str textSegments: _list[GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment] @typing.type_check_only class GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: str startIndex: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3DocumentTextChange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3DocumentTextChange(typing.TypedDict, total=False): changedText: str provenance: _list[GoogleCloudDocumentaiV1beta3DocumentProvenance] textAnchor: GoogleCloudDocumentaiV1beta3DocumentTextAnchor @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Documents(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Documents(typing.TypedDict, total=False): documents: _list[GoogleCloudDocumentaiV1beta3Document] @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3EntityTypeMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3EntityTypeMetadata(typing.TypedDict, total=False): inactive: bool @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluationDocuments: GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluation: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Evaluation(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Evaluation(typing.TypedDict, total=False): allEntitiesMetrics: GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics createTime: str documentCounters: GoogleCloudDocumentaiV1beta3EvaluationCounters @@ -2030,15 +1910,13 @@ class GoogleCloudDocumentaiV1beta3Evaluation(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceLevel: float metrics: GoogleCloudDocumentaiV1beta3EvaluationMetrics @typing.type_check_only -class GoogleCloudDocumentaiV1beta3EvaluationCounters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3EvaluationCounters(typing.TypedDict, total=False): evaluatedDocumentsCount: int failedDocumentsCount: int inputDocumentsCount: int @@ -2046,7 +1924,7 @@ class GoogleCloudDocumentaiV1beta3EvaluationCounters( @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allEntitiesMetrics: GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics documentCounters: GoogleCloudDocumentaiV1beta3EvaluationCounters @@ -2054,9 +1932,7 @@ class GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision( revisionId: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3EvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3EvaluationMetrics(typing.TypedDict, total=False): f1Score: float falseNegativesCount: int falsePositivesCount: int @@ -2071,7 +1947,7 @@ class GoogleCloudDocumentaiV1beta3EvaluationMetrics( @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): auprc: float auprcExact: float @@ -2083,12 +1959,10 @@ class GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics( ] estimatedCalibrationError: float estimatedCalibrationErrorExact: float - metricsType: typing_extensions.Literal["METRICS_TYPE_UNSPECIFIED", "AGGREGATE"] + metricsType: typing.Literal["METRICS_TYPE_UNSPECIFIED", "AGGREGATE"] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3EvaluationReference( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3EvaluationReference(typing.TypedDict, total=False): aggregateMetrics: GoogleCloudDocumentaiV1beta3EvaluationMetrics aggregateMetricsExact: GoogleCloudDocumentaiV1beta3EvaluationMetrics evaluation: str @@ -2096,34 +1970,32 @@ class GoogleCloudDocumentaiV1beta3EvaluationReference( @typing.type_check_only class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorTypes: _list[GoogleCloudDocumentaiV1beta3ProcessorType] @typing.type_check_only class GoogleCloudDocumentaiV1beta3FieldExtractionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): summaryOptions: GoogleCloudDocumentaiV1beta3SummaryOptions @typing.type_check_only -class GoogleCloudDocumentaiV1beta3GcsDocument(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3GcsDocument(typing.TypedDict, total=False): gcsUri: str mimeType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3GcsDocuments( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3GcsDocuments(typing.TypedDict, total=False): documents: _list[GoogleCloudDocumentaiV1beta3GcsDocument] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3GcsPrefix(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3GcsPrefix(typing.TypedDict, total=False): gcsUriPrefix: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseSchemaVersion: str gcsDocuments: GoogleCloudDocumentaiV1beta3GcsDocuments @@ -2134,36 +2006,32 @@ class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest( @typing.type_check_only class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): history: GoogleCloudDocumentaiV1beta3SchemaGenerationHistory prompt: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): schemaVersion: GoogleCloudDocumentaiV1beta3SchemaVersion @typing.type_check_only -class GoogleCloudDocumentaiV1beta3GetDocumentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3GetDocumentResponse(typing.TypedDict, total=False): document: GoogleCloudDocumentaiV1beta3Document @typing.type_check_only -class GoogleCloudDocumentaiV1beta3HumanReviewStatus( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3HumanReviewStatus(typing.TypedDict, total=False): humanReviewOperation: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SKIPPED", "VALIDATION_PASSED", "IN_PROGRESS", "ERROR" ] stateMessage: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata importConfigValidationResults: _list[ @@ -2176,34 +2044,32 @@ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str status: GoogleRpcStatus @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputGcsSource: str outputDocumentId: GoogleCloudDocumentaiV1beta3DocumentId status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ImportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ImportDocumentsRequest(typing.TypedDict, total=False): batchDocumentsImportConfigs: _list[ GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig ] @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoSplitConfig: GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig batchInputConfig: GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig - datasetSplit: typing_extensions.Literal[ + datasetSplit: typing.Literal[ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", @@ -2213,45 +2079,43 @@ class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConf @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trainingSplitRatio: float @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalProcessorVersionSource: GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource processorVersionSource: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str serviceEndpoint: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ListDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ListDocumentsRequest(typing.TypedDict, total=False): filter: str pageSize: int pageToken: str @@ -2259,57 +2123,51 @@ class GoogleCloudDocumentaiV1beta3ListDocumentsRequest( skip: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ListDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ListDocumentsResponse(typing.TypedDict, total=False): documentMetadata: _list[GoogleCloudDocumentaiV1beta3DocumentMetadata] nextPageToken: str totalSize: int @typing.type_check_only class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): evaluations: _list[GoogleCloudDocumentaiV1beta3Evaluation] nextPageToken: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str processorTypes: _list[GoogleCloudDocumentaiV1beta3ProcessorType] @typing.type_check_only class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str processorVersions: _list[GoogleCloudDocumentaiV1beta3ProcessorVersion] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ListProcessorsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ListProcessorsResponse(typing.TypedDict, total=False): nextPageToken: str processors: _list[GoogleCloudDocumentaiV1beta3Processor] @typing.type_check_only class GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str schemaVersions: _list[GoogleCloudDocumentaiV1beta3SchemaVersion] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ListSchemasResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ListSchemasResponse(typing.TypedDict, total=False): nextPageToken: str schemas: _list[GoogleCloudDocumentaiV1beta3NextSchema] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3NextSchema(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3NextSchema(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] @@ -2317,14 +2175,12 @@ class GoogleCloudDocumentaiV1beta3NextSchema(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudDocumentaiV1beta3OcrConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3OcrConfig(typing.TypedDict, total=False): advancedOcrOptions: _list[str] computeStyleInfo: bool disableCharacterBoxesDetection: bool @@ -2335,23 +2191,19 @@ class GoogleCloudDocumentaiV1beta3OcrConfig(typing_extensions.TypedDict, total=F premiumFeatures: GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures @typing.type_check_only -class GoogleCloudDocumentaiV1beta3OcrConfigHints( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3OcrConfigHints(typing.TypedDict, total=False): languageHints: _list[str] @typing.type_check_only class GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): computeStyleInfo: bool enableMathOcr: bool enableSelectionMarkDetection: bool @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessOptions(typing.TypedDict, total=False): fromEnd: int fromStart: int individualPageSelector: ( @@ -2363,13 +2215,13 @@ class GoogleCloudDocumentaiV1beta3ProcessOptions( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pages: _list[int] @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): chunkingConfig: GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig enableImageAnnotation: bool @@ -2382,7 +2234,7 @@ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): breakpointPercentileThreshold: int chunkSize: int @@ -2390,9 +2242,7 @@ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig( semanticChunkingGroupSize: bool @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessRequest(typing.TypedDict, total=False): document: GoogleCloudDocumentaiV1beta3Document fieldMask: str gcsDocument: GoogleCloudDocumentaiV1beta3GcsDocument @@ -2404,15 +2254,13 @@ class GoogleCloudDocumentaiV1beta3ProcessRequest( skipHumanReview: bool @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessResponse(typing.TypedDict, total=False): document: GoogleCloudDocumentaiV1beta3Document humanReviewOperation: str humanReviewStatus: GoogleCloudDocumentaiV1beta3HumanReviewStatus @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Processor(typing.TypedDict, total=False): activeSchemaVersion: str createTime: str defaultProcessorVersion: str @@ -2423,7 +2271,7 @@ class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=F processorVersionAliases: _list[GoogleCloudDocumentaiV1beta3ProcessorVersionAlias] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DISABLED", @@ -2436,13 +2284,11 @@ class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=F type: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessorType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessorType(typing.TypedDict, total=False): allowCreation: bool availableLocations: _list[GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo] category: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -2458,14 +2304,12 @@ class GoogleCloudDocumentaiV1beta3ProcessorType( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationId: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessorVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessorVersion(typing.TypedDict, total=False): createTime: str deprecationInfo: GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo displayName: str @@ -2475,13 +2319,13 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersion( kmsKeyName: str kmsKeyVersionName: str latestEvaluation: GoogleCloudDocumentaiV1beta3EvaluationReference - modelType: typing_extensions.Literal[ + modelType: typing.Literal[ "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" ] name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DEPLOYED", "DEPLOYING", @@ -2494,22 +2338,20 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersion( ] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias(typing.TypedDict, total=False): alias: str processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deprecationTime: str replacementProcessorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customGenAiModelInfo: ( GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo @@ -2518,74 +2360,66 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo( @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseProcessorVersionId: str - customModelType: typing_extensions.Literal[ + customModelType: typing.Literal[ "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" ] @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finetuningAllowed: bool minTrainLabeledDocuments: int @typing.type_check_only -class GoogleCloudDocumentaiV1beta3PropertyMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3PropertyMetadata(typing.TypedDict, total=False): fieldExtractionMetadata: GoogleCloudDocumentaiV1beta3FieldExtractionMetadata inactive: bool @typing.type_check_only -class GoogleCloudDocumentaiV1beta3RawDocument(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3RawDocument(typing.TypedDict, total=False): content: str displayName: str mimeType: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3RawDocuments( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3RawDocuments(typing.TypedDict, total=False): documents: _list[GoogleCloudDocumentaiV1beta3RawDocument] @typing.type_check_only class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata createTime: str questionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED" ] stateMessage: str updateTime: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest(typing.TypedDict, total=False): document: GoogleCloudDocumentaiV1beta3Document documentSchema: GoogleCloudDocumentaiV1beta3DocumentSchema enableSchemaValidation: bool inlineDocument: GoogleCloudDocumentaiV1beta3Document - priority: typing_extensions.Literal["DEFAULT", "URGENT"] + priority: typing.Literal["DEFAULT", "URGENT"] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse(typing.TypedDict, total=False): gcsDestination: str rejectionReason: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] @typing.type_check_only -class GoogleCloudDocumentaiV1beta3RevisionRef(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3RevisionRef(typing.TypedDict, total=False): latestProcessorVersion: str - revisionCase: typing_extensions.Literal[ + revisionCase: typing.Literal[ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", @@ -2595,22 +2429,20 @@ class GoogleCloudDocumentaiV1beta3RevisionRef(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudDocumentaiV1beta3SchemaGenerationHistory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): iterations: _list[GoogleCloudDocumentaiV1beta3SchemaGenerationIteration] @typing.type_check_only class GoogleCloudDocumentaiV1beta3SchemaGenerationIteration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adjustedSchema: GoogleCloudDocumentaiV1beta3SchemaVersion generatedSchema: GoogleCloudDocumentaiV1beta3SchemaVersion prompt: str @typing.type_check_only -class GoogleCloudDocumentaiV1beta3SchemaVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudDocumentaiV1beta3SchemaVersion(typing.TypedDict, total=False): createTime: str displayName: str labels: dict[str, typing.Any] @@ -2619,33 +2451,29 @@ class GoogleCloudDocumentaiV1beta3SchemaVersion( @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultProcessorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudDocumentaiV1beta3SummaryOptions( - typing_extensions.TypedDict, total=False -): - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] - length: typing_extensions.Literal[ - "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" - ] +class GoogleCloudDocumentaiV1beta3SummaryOptions(typing.TypedDict, total=False): + format: typing.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] + length: typing.Literal["LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE"] @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata testDatasetValidation: ( @@ -2657,7 +2485,7 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata( @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetErrorCount: int datasetErrors: _list[GoogleRpcStatus] @@ -2666,7 +2494,7 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseProcessorVersion: str customDocumentExtractionOptions: GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions @@ -2677,15 +2505,15 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest( @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - trainingMethod: typing_extensions.Literal[ + trainingMethod: typing.Literal[ "TRAINING_METHOD_UNSPECIFIED", "MODEL_BASED", "TEMPLATE_BASED" ] @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): learningRateMultiplier: float previousFineTunedProcessorVersionName: str @@ -2693,59 +2521,57 @@ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTun @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): testDocuments: GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig trainingDocuments: GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): processorVersion: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only class GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata @typing.type_check_only -class GoogleCloudDocumentaiV1beta3Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudDocumentaiV1beta3Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -2753,13 +2579,13 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2767,29 +2593,29 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -2801,13 +2627,13 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): +class GoogleTypePostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -2821,6 +2647,6 @@ class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/domains/v1/resources.pyi b/googleapiclient-stubs/_apis/domains/v1/resources.pyi index 43c932a48..dc4419135 100644 --- a/googleapiclient-stubs/_apis/domains/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi index bbae594ef..4acf20a5c 100644 --- a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizationCode(typing_extensions.TypedDict, total=False): +class AuthorizationCode(typing.TypedDict, total=False): code: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ConfigureContactSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureContactSettingsRequest(typing.TypedDict, total=False): contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] @@ -38,28 +36,28 @@ class ConfigureContactSettingsRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class ConfigureDnsSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureDnsSettingsRequest(typing.TypedDict, total=False): dnsSettings: DnsSettings updateMask: str validateOnly: bool @typing.type_check_only -class ConfigureManagementSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureManagementSettingsRequest(typing.TypedDict, total=False): managementSettings: ManagementSettings updateMask: str validateOnly: bool @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): email: str faxNumber: str phoneNumber: str postalAddress: PostalAddress @typing.type_check_only -class ContactSettings(typing_extensions.TypedDict, total=False): +class ContactSettings(typing.TypedDict, total=False): adminContact: Contact - privacy: typing_extensions.Literal[ + privacy: typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", @@ -69,21 +67,21 @@ class ContactSettings(typing_extensions.TypedDict, total=False): technicalContact: Contact @typing.type_check_only -class CustomDns(typing_extensions.TypedDict, total=False): +class CustomDns(typing.TypedDict, total=False): dsRecords: _list[DsRecord] nameServers: _list[str] @typing.type_check_only -class DnsSettings(typing_extensions.TypedDict, total=False): +class DnsSettings(typing.TypedDict, total=False): customDns: CustomDns glueRecords: _list[GlueRecord] googleDomainsDns: GoogleDomainsDns googleDomainsRedirectsDataAvailable: bool @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): domainName: str - resourceState: typing_extensions.Literal[ + resourceState: typing.Literal[ "RESOURCE_STATE_UNSPECIFIED", "IMPORTABLE", "UNSUPPORTED", @@ -94,19 +92,17 @@ class Domain(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class DomainForwarding(typing_extensions.TypedDict, total=False): +class DomainForwarding(typing.TypedDict, total=False): pathForwarding: bool pemCertificate: str - redirectType: typing_extensions.Literal[ - "REDIRECT_TYPE_UNSPECIFIED", "TEMPORARY", "PERMANENT" - ] + redirectType: typing.Literal["REDIRECT_TYPE_UNSPECIFIED", "TEMPORARY", "PERMANENT"] sslEnabled: bool subdomain: str targetUri: str @typing.type_check_only -class DsRecord(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DsRecord(typing.TypedDict, total=False): + algorithm: typing.Literal[ "ALGORITHM_UNSPECIFIED", "RSAMD5", "DH", @@ -127,88 +123,88 @@ class DsRecord(typing_extensions.TypedDict, total=False): "PRIVATEOID", ] digest: str - digestType: typing_extensions.Literal[ + digestType: typing.Literal[ "DIGEST_TYPE_UNSPECIFIED", "SHA1", "SHA256", "GOST3411", "SHA384" ] keyTag: int @typing.type_check_only -class EmailForwarding(typing_extensions.TypedDict, total=False): +class EmailForwarding(typing.TypedDict, total=False): alias: str targetEmailAddress: str @typing.type_check_only -class ExportRegistrationRequest(typing_extensions.TypedDict, total=False): ... +class ExportRegistrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GeoPolicy(typing_extensions.TypedDict, total=False): +class GeoPolicy(typing.TypedDict, total=False): enableFencing: bool item: _list[GeoPolicyItem] @typing.type_check_only -class GeoPolicyItem(typing_extensions.TypedDict, total=False): +class GeoPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: HealthCheckTargets location: str rrdata: _list[str] signatureRrdata: _list[str] @typing.type_check_only -class GlueRecord(typing_extensions.TypedDict, total=False): +class GlueRecord(typing.TypedDict, total=False): hostName: str ipv4Addresses: _list[str] ipv6Addresses: _list[str] @typing.type_check_only -class GoogleDomainsDns(typing_extensions.TypedDict, total=False): +class GoogleDomainsDns(typing.TypedDict, total=False): dsRecords: _list[DsRecord] - dsState: typing_extensions.Literal[ + dsState: typing.Literal[ "DS_STATE_UNSPECIFIED", "DS_RECORDS_UNPUBLISHED", "DS_RECORDS_PUBLISHED" ] nameServers: _list[str] @typing.type_check_only -class HealthCheckTargets(typing_extensions.TypedDict, total=False): +class HealthCheckTargets(typing.TypedDict, total=False): externalEndpoints: _list[str] internalLoadBalancer: _list[LoadBalancerTarget] @typing.type_check_only -class ImportDomainRequest(typing_extensions.TypedDict, total=False): +class ImportDomainRequest(typing.TypedDict, total=False): domainName: str labels: dict[str, typing.Any] @typing.type_check_only -class InitiatePushTransferRequest(typing_extensions.TypedDict, total=False): +class InitiatePushTransferRequest(typing.TypedDict, total=False): tag: str validateOnly: bool @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRegistrationsResponse(typing_extensions.TypedDict, total=False): +class ListRegistrationsResponse(typing.TypedDict, total=False): nextPageToken: str registrations: _list[Registration] @typing.type_check_only -class LoadBalancerTarget(typing_extensions.TypedDict, total=False): +class LoadBalancerTarget(typing.TypedDict, total=False): ipAddress: str - ipProtocol: typing_extensions.Literal["UNDEFINED", "TCP", "UDP"] - loadBalancerType: typing_extensions.Literal[ + ipProtocol: typing.Literal["UNDEFINED", "TCP", "UDP"] + loadBalancerType: typing.Literal[ "NONE", "GLOBAL_L7ILB", "REGIONAL_L4ILB", "REGIONAL_L7ILB" ] networkUrl: str @@ -217,7 +213,7 @@ class LoadBalancerTarget(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -225,34 +221,34 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ManagementSettings(typing_extensions.TypedDict, total=False): - effectiveTransferLockState: typing_extensions.Literal[ +class ManagementSettings(typing.TypedDict, total=False): + effectiveTransferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] - preferredRenewalMethod: typing_extensions.Literal[ + preferredRenewalMethod: typing.Literal[ "RENEWAL_METHOD_UNSPECIFIED", "AUTOMATIC_RENEWAL", "MANUAL_RENEWAL", "RENEWAL_DISABLED", ] - renewalMethod: typing_extensions.Literal[ + renewalMethod: typing.Literal[ "RENEWAL_METHOD_UNSPECIFIED", "AUTOMATIC_RENEWAL", "MANUAL_RENEWAL", "RENEWAL_DISABLED", ] - transferLockState: typing_extensions.Literal[ + transferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -260,7 +256,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -269,14 +265,14 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -290,13 +286,13 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class PrimaryBackupPolicy(typing_extensions.TypedDict, total=False): +class PrimaryBackupPolicy(typing.TypedDict, total=False): backupGeoTargets: GeoPolicy primaryTargets: HealthCheckTargets trickleTraffic: float @typing.type_check_only -class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicy(typing.TypedDict, total=False): geo: GeoPolicy geoPolicy: GeoPolicy healthCheck: str @@ -305,30 +301,26 @@ class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): wrrPolicy: WrrPolicy @typing.type_check_only -class RegisterDomainRequest(typing_extensions.TypedDict, total=False): +class RegisterDomainRequest(typing.TypedDict, total=False): contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] - domainNotices: _list[ - typing_extensions.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"] - ] + domainNotices: _list[typing.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"]] registration: Registration validateOnly: bool yearlyPrice: Money @typing.type_check_only -class RegisterParameters(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class RegisterParameters(typing.TypedDict, total=False): + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "UNAVAILABLE", "UNSUPPORTED", "UNKNOWN" ] domainName: str - domainNotices: _list[ - typing_extensions.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"] - ] + domainNotices: _list[typing.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"]] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", @@ -338,13 +330,13 @@ class RegisterParameters(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class Registration(typing_extensions.TypedDict, total=False): +class Registration(typing.TypedDict, total=False): contactSettings: ContactSettings createTime: str dnsSettings: DnsSettings domainName: str domainProperties: _list[ - typing_extensions.Literal[ + typing.Literal[ "DOMAIN_PROPERTY_UNSPECIFIED", "TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY", "REQUIRE_PUSH_TRANSFER", @@ -352,7 +344,7 @@ class Registration(typing_extensions.TypedDict, total=False): ] expireTime: str issues: _list[ - typing_extensions.Literal[ + typing.Literal[ "ISSUE_UNSPECIFIED", "CONTACT_SUPPORT", "UNVERIFIED_EMAIL", @@ -365,13 +357,13 @@ class Registration(typing_extensions.TypedDict, total=False): managementSettings: ManagementSettings name: str pendingContactSettings: ContactSettings - registerFailureReason: typing_extensions.Literal[ + registerFailureReason: typing.Literal[ "REGISTER_FAILURE_REASON_UNSPECIFIED", "REGISTER_FAILURE_REASON_UNKNOWN", "DOMAIN_NOT_AVAILABLE", "INVALID_CONTACTS", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REGISTRATION_PENDING", "REGISTRATION_FAILED", @@ -384,14 +376,14 @@ class Registration(typing_extensions.TypedDict, total=False): "EXPIRED", ] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", "REDACTED_CONTACT_DATA", ] ] - transferFailureReason: typing_extensions.Literal[ + transferFailureReason: typing.Literal[ "TRANSFER_FAILURE_REASON_UNSPECIFIED", "TRANSFER_FAILURE_REASON_UNKNOWN", "EMAIL_CONFIRMATION_FAILURE", @@ -406,15 +398,15 @@ class Registration(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RenewDomainRequest(typing_extensions.TypedDict, total=False): +class RenewDomainRequest(typing.TypedDict, total=False): validateOnly: bool yearlyPrice: Money @typing.type_check_only -class ResetAuthorizationCodeRequest(typing_extensions.TypedDict, total=False): ... +class ResetAuthorizationCodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResourceRecordSet(typing_extensions.TypedDict, total=False): +class ResourceRecordSet(typing.TypedDict, total=False): name: str routingPolicy: RRSetRoutingPolicy rrdata: _list[str] @@ -423,58 +415,56 @@ class ResourceRecordSet(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RetrieveGoogleDomainsDnsRecordsResponse(typing_extensions.TypedDict, total=False): +class RetrieveGoogleDomainsDnsRecordsResponse(typing.TypedDict, total=False): nextPageToken: str rrset: _list[ResourceRecordSet] @typing.type_check_only -class RetrieveGoogleDomainsForwardingConfigResponse( - typing_extensions.TypedDict, total=False -): +class RetrieveGoogleDomainsForwardingConfigResponse(typing.TypedDict, total=False): domainForwardings: _list[DomainForwarding] emailForwardings: _list[EmailForwarding] @typing.type_check_only -class RetrieveImportableDomainsResponse(typing_extensions.TypedDict, total=False): +class RetrieveImportableDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str @typing.type_check_only -class RetrieveRegisterParametersResponse(typing_extensions.TypedDict, total=False): +class RetrieveRegisterParametersResponse(typing.TypedDict, total=False): registerParameters: RegisterParameters @typing.type_check_only -class RetrieveTransferParametersResponse(typing_extensions.TypedDict, total=False): +class RetrieveTransferParametersResponse(typing.TypedDict, total=False): transferParameters: TransferParameters @typing.type_check_only -class SearchDomainsResponse(typing_extensions.TypedDict, total=False): +class SearchDomainsResponse(typing.TypedDict, total=False): registerParameters: _list[RegisterParameters] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TransferDomainRequest(typing_extensions.TypedDict, total=False): +class TransferDomainRequest(typing.TypedDict, total=False): authorizationCode: AuthorizationCode contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] @@ -483,30 +473,30 @@ class TransferDomainRequest(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class TransferParameters(typing_extensions.TypedDict, total=False): +class TransferParameters(typing.TypedDict, total=False): currentRegistrar: str currentRegistrarUri: str domainName: str nameServers: _list[str] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", "REDACTED_CONTACT_DATA", ] ] - transferLockState: typing_extensions.Literal[ + transferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] yearlyPrice: Money @typing.type_check_only -class WrrPolicy(typing_extensions.TypedDict, total=False): +class WrrPolicy(typing.TypedDict, total=False): item: _list[WrrPolicyItem] @typing.type_check_only -class WrrPolicyItem(typing_extensions.TypedDict, total=False): +class WrrPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: HealthCheckTargets rrdata: _list[str] signatureRrdata: _list[str] diff --git a/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi b/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi index 43c932a48..dc4419135 100644 --- a/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi index 1d030125d..7aab41cb6 100644 --- a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizationCode(typing_extensions.TypedDict, total=False): +class AuthorizationCode(typing.TypedDict, total=False): code: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ConfigureContactSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureContactSettingsRequest(typing.TypedDict, total=False): contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] @@ -38,28 +36,28 @@ class ConfigureContactSettingsRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class ConfigureDnsSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureDnsSettingsRequest(typing.TypedDict, total=False): dnsSettings: DnsSettings updateMask: str validateOnly: bool @typing.type_check_only -class ConfigureManagementSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureManagementSettingsRequest(typing.TypedDict, total=False): managementSettings: ManagementSettings updateMask: str validateOnly: bool @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): email: str faxNumber: str phoneNumber: str postalAddress: PostalAddress @typing.type_check_only -class ContactSettings(typing_extensions.TypedDict, total=False): +class ContactSettings(typing.TypedDict, total=False): adminContact: Contact - privacy: typing_extensions.Literal[ + privacy: typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", @@ -69,21 +67,21 @@ class ContactSettings(typing_extensions.TypedDict, total=False): technicalContact: Contact @typing.type_check_only -class CustomDns(typing_extensions.TypedDict, total=False): +class CustomDns(typing.TypedDict, total=False): dsRecords: _list[DsRecord] nameServers: _list[str] @typing.type_check_only -class DnsSettings(typing_extensions.TypedDict, total=False): +class DnsSettings(typing.TypedDict, total=False): customDns: CustomDns glueRecords: _list[GlueRecord] googleDomainsDns: GoogleDomainsDns googleDomainsRedirectsDataAvailable: bool @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): domainName: str - resourceState: typing_extensions.Literal[ + resourceState: typing.Literal[ "RESOURCE_STATE_UNSPECIFIED", "IMPORTABLE", "UNSUPPORTED", @@ -94,19 +92,17 @@ class Domain(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class DomainForwarding(typing_extensions.TypedDict, total=False): +class DomainForwarding(typing.TypedDict, total=False): pathForwarding: bool pemCertificate: str - redirectType: typing_extensions.Literal[ - "REDIRECT_TYPE_UNSPECIFIED", "TEMPORARY", "PERMANENT" - ] + redirectType: typing.Literal["REDIRECT_TYPE_UNSPECIFIED", "TEMPORARY", "PERMANENT"] sslEnabled: bool subdomain: str targetUri: str @typing.type_check_only -class DsRecord(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DsRecord(typing.TypedDict, total=False): + algorithm: typing.Literal[ "ALGORITHM_UNSPECIFIED", "RSAMD5", "DH", @@ -127,88 +123,88 @@ class DsRecord(typing_extensions.TypedDict, total=False): "PRIVATEOID", ] digest: str - digestType: typing_extensions.Literal[ + digestType: typing.Literal[ "DIGEST_TYPE_UNSPECIFIED", "SHA1", "SHA256", "GOST3411", "SHA384" ] keyTag: int @typing.type_check_only -class EmailForwarding(typing_extensions.TypedDict, total=False): +class EmailForwarding(typing.TypedDict, total=False): alias: str targetEmailAddress: str @typing.type_check_only -class ExportRegistrationRequest(typing_extensions.TypedDict, total=False): ... +class ExportRegistrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GeoPolicy(typing_extensions.TypedDict, total=False): +class GeoPolicy(typing.TypedDict, total=False): enableFencing: bool item: _list[GeoPolicyItem] @typing.type_check_only -class GeoPolicyItem(typing_extensions.TypedDict, total=False): +class GeoPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: HealthCheckTargets location: str rrdata: _list[str] signatureRrdata: _list[str] @typing.type_check_only -class GlueRecord(typing_extensions.TypedDict, total=False): +class GlueRecord(typing.TypedDict, total=False): hostName: str ipv4Addresses: _list[str] ipv6Addresses: _list[str] @typing.type_check_only -class GoogleDomainsDns(typing_extensions.TypedDict, total=False): +class GoogleDomainsDns(typing.TypedDict, total=False): dsRecords: _list[DsRecord] - dsState: typing_extensions.Literal[ + dsState: typing.Literal[ "DS_STATE_UNSPECIFIED", "DS_RECORDS_UNPUBLISHED", "DS_RECORDS_PUBLISHED" ] nameServers: _list[str] @typing.type_check_only -class HealthCheckTargets(typing_extensions.TypedDict, total=False): +class HealthCheckTargets(typing.TypedDict, total=False): externalEndpoints: _list[str] internalLoadBalancer: _list[LoadBalancerTarget] @typing.type_check_only -class ImportDomainRequest(typing_extensions.TypedDict, total=False): +class ImportDomainRequest(typing.TypedDict, total=False): domainName: str labels: dict[str, typing.Any] @typing.type_check_only -class InitiatePushTransferRequest(typing_extensions.TypedDict, total=False): +class InitiatePushTransferRequest(typing.TypedDict, total=False): tag: str validateOnly: bool @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRegistrationsResponse(typing_extensions.TypedDict, total=False): +class ListRegistrationsResponse(typing.TypedDict, total=False): nextPageToken: str registrations: _list[Registration] @typing.type_check_only -class LoadBalancerTarget(typing_extensions.TypedDict, total=False): +class LoadBalancerTarget(typing.TypedDict, total=False): ipAddress: str - ipProtocol: typing_extensions.Literal["UNDEFINED", "TCP", "UDP"] - loadBalancerType: typing_extensions.Literal[ + ipProtocol: typing.Literal["UNDEFINED", "TCP", "UDP"] + loadBalancerType: typing.Literal[ "NONE", "GLOBAL_L7ILB", "REGIONAL_L4ILB", "REGIONAL_L7ILB" ] networkUrl: str @@ -217,7 +213,7 @@ class LoadBalancerTarget(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -225,34 +221,34 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ManagementSettings(typing_extensions.TypedDict, total=False): - effectiveTransferLockState: typing_extensions.Literal[ +class ManagementSettings(typing.TypedDict, total=False): + effectiveTransferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] - preferredRenewalMethod: typing_extensions.Literal[ + preferredRenewalMethod: typing.Literal[ "RENEWAL_METHOD_UNSPECIFIED", "AUTOMATIC_RENEWAL", "MANUAL_RENEWAL", "RENEWAL_DISABLED", ] - renewalMethod: typing_extensions.Literal[ + renewalMethod: typing.Literal[ "RENEWAL_METHOD_UNSPECIFIED", "AUTOMATIC_RENEWAL", "MANUAL_RENEWAL", "RENEWAL_DISABLED", ] - transferLockState: typing_extensions.Literal[ + transferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -260,7 +256,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -269,14 +265,14 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -290,13 +286,13 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class PrimaryBackupPolicy(typing_extensions.TypedDict, total=False): +class PrimaryBackupPolicy(typing.TypedDict, total=False): backupGeoTargets: GeoPolicy primaryTargets: HealthCheckTargets trickleTraffic: float @typing.type_check_only -class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicy(typing.TypedDict, total=False): geo: GeoPolicy geoPolicy: GeoPolicy healthCheck: str @@ -305,30 +301,26 @@ class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): wrrPolicy: WrrPolicy @typing.type_check_only -class RegisterDomainRequest(typing_extensions.TypedDict, total=False): +class RegisterDomainRequest(typing.TypedDict, total=False): contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] - domainNotices: _list[ - typing_extensions.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"] - ] + domainNotices: _list[typing.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"]] registration: Registration validateOnly: bool yearlyPrice: Money @typing.type_check_only -class RegisterParameters(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class RegisterParameters(typing.TypedDict, total=False): + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "UNAVAILABLE", "UNSUPPORTED", "UNKNOWN" ] domainName: str - domainNotices: _list[ - typing_extensions.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"] - ] + domainNotices: _list[typing.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"]] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", @@ -338,13 +330,13 @@ class RegisterParameters(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class Registration(typing_extensions.TypedDict, total=False): +class Registration(typing.TypedDict, total=False): contactSettings: ContactSettings createTime: str dnsSettings: DnsSettings domainName: str domainProperties: _list[ - typing_extensions.Literal[ + typing.Literal[ "DOMAIN_PROPERTY_UNSPECIFIED", "TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY", "REQUIRE_PUSH_TRANSFER", @@ -352,7 +344,7 @@ class Registration(typing_extensions.TypedDict, total=False): ] expireTime: str issues: _list[ - typing_extensions.Literal[ + typing.Literal[ "ISSUE_UNSPECIFIED", "CONTACT_SUPPORT", "UNVERIFIED_EMAIL", @@ -365,16 +357,14 @@ class Registration(typing_extensions.TypedDict, total=False): managementSettings: ManagementSettings name: str pendingContactSettings: ContactSettings - provider: typing_extensions.Literal[ - "REGISTRAR_UNSPECIFIED", "GOOGLE_DOMAINS", "SQUARESPACE" - ] - registerFailureReason: typing_extensions.Literal[ + provider: typing.Literal["REGISTRAR_UNSPECIFIED", "GOOGLE_DOMAINS", "SQUARESPACE"] + registerFailureReason: typing.Literal[ "REGISTER_FAILURE_REASON_UNSPECIFIED", "REGISTER_FAILURE_REASON_UNKNOWN", "DOMAIN_NOT_AVAILABLE", "INVALID_CONTACTS", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REGISTRATION_PENDING", "REGISTRATION_FAILED", @@ -387,14 +377,14 @@ class Registration(typing_extensions.TypedDict, total=False): "EXPIRED", ] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", "REDACTED_CONTACT_DATA", ] ] - transferFailureReason: typing_extensions.Literal[ + transferFailureReason: typing.Literal[ "TRANSFER_FAILURE_REASON_UNSPECIFIED", "TRANSFER_FAILURE_REASON_UNKNOWN", "EMAIL_CONFIRMATION_FAILURE", @@ -409,15 +399,15 @@ class Registration(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RenewDomainRequest(typing_extensions.TypedDict, total=False): +class RenewDomainRequest(typing.TypedDict, total=False): validateOnly: bool yearlyPrice: Money @typing.type_check_only -class ResetAuthorizationCodeRequest(typing_extensions.TypedDict, total=False): ... +class ResetAuthorizationCodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResourceRecordSet(typing_extensions.TypedDict, total=False): +class ResourceRecordSet(typing.TypedDict, total=False): name: str routingPolicy: RRSetRoutingPolicy rrdata: _list[str] @@ -426,58 +416,56 @@ class ResourceRecordSet(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RetrieveGoogleDomainsDnsRecordsResponse(typing_extensions.TypedDict, total=False): +class RetrieveGoogleDomainsDnsRecordsResponse(typing.TypedDict, total=False): nextPageToken: str rrset: _list[ResourceRecordSet] @typing.type_check_only -class RetrieveGoogleDomainsForwardingConfigResponse( - typing_extensions.TypedDict, total=False -): +class RetrieveGoogleDomainsForwardingConfigResponse(typing.TypedDict, total=False): domainForwardings: _list[DomainForwarding] emailForwardings: _list[EmailForwarding] @typing.type_check_only -class RetrieveImportableDomainsResponse(typing_extensions.TypedDict, total=False): +class RetrieveImportableDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str @typing.type_check_only -class RetrieveRegisterParametersResponse(typing_extensions.TypedDict, total=False): +class RetrieveRegisterParametersResponse(typing.TypedDict, total=False): registerParameters: RegisterParameters @typing.type_check_only -class RetrieveTransferParametersResponse(typing_extensions.TypedDict, total=False): +class RetrieveTransferParametersResponse(typing.TypedDict, total=False): transferParameters: TransferParameters @typing.type_check_only -class SearchDomainsResponse(typing_extensions.TypedDict, total=False): +class SearchDomainsResponse(typing.TypedDict, total=False): registerParameters: _list[RegisterParameters] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TransferDomainRequest(typing_extensions.TypedDict, total=False): +class TransferDomainRequest(typing.TypedDict, total=False): authorizationCode: AuthorizationCode contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] @@ -486,30 +474,30 @@ class TransferDomainRequest(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class TransferParameters(typing_extensions.TypedDict, total=False): +class TransferParameters(typing.TypedDict, total=False): currentRegistrar: str currentRegistrarUri: str domainName: str nameServers: _list[str] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", "REDACTED_CONTACT_DATA", ] ] - transferLockState: typing_extensions.Literal[ + transferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] yearlyPrice: Money @typing.type_check_only -class WrrPolicy(typing_extensions.TypedDict, total=False): +class WrrPolicy(typing.TypedDict, total=False): item: _list[WrrPolicyItem] @typing.type_check_only -class WrrPolicyItem(typing_extensions.TypedDict, total=False): +class WrrPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: HealthCheckTargets rrdata: _list[str] signatureRrdata: _list[str] diff --git a/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi index 43c932a48..dc4419135 100644 --- a/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi index bbae594ef..4acf20a5c 100644 --- a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizationCode(typing_extensions.TypedDict, total=False): +class AuthorizationCode(typing.TypedDict, total=False): code: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ConfigureContactSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureContactSettingsRequest(typing.TypedDict, total=False): contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] @@ -38,28 +36,28 @@ class ConfigureContactSettingsRequest(typing_extensions.TypedDict, total=False): validateOnly: bool @typing.type_check_only -class ConfigureDnsSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureDnsSettingsRequest(typing.TypedDict, total=False): dnsSettings: DnsSettings updateMask: str validateOnly: bool @typing.type_check_only -class ConfigureManagementSettingsRequest(typing_extensions.TypedDict, total=False): +class ConfigureManagementSettingsRequest(typing.TypedDict, total=False): managementSettings: ManagementSettings updateMask: str validateOnly: bool @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): email: str faxNumber: str phoneNumber: str postalAddress: PostalAddress @typing.type_check_only -class ContactSettings(typing_extensions.TypedDict, total=False): +class ContactSettings(typing.TypedDict, total=False): adminContact: Contact - privacy: typing_extensions.Literal[ + privacy: typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", @@ -69,21 +67,21 @@ class ContactSettings(typing_extensions.TypedDict, total=False): technicalContact: Contact @typing.type_check_only -class CustomDns(typing_extensions.TypedDict, total=False): +class CustomDns(typing.TypedDict, total=False): dsRecords: _list[DsRecord] nameServers: _list[str] @typing.type_check_only -class DnsSettings(typing_extensions.TypedDict, total=False): +class DnsSettings(typing.TypedDict, total=False): customDns: CustomDns glueRecords: _list[GlueRecord] googleDomainsDns: GoogleDomainsDns googleDomainsRedirectsDataAvailable: bool @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): domainName: str - resourceState: typing_extensions.Literal[ + resourceState: typing.Literal[ "RESOURCE_STATE_UNSPECIFIED", "IMPORTABLE", "UNSUPPORTED", @@ -94,19 +92,17 @@ class Domain(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class DomainForwarding(typing_extensions.TypedDict, total=False): +class DomainForwarding(typing.TypedDict, total=False): pathForwarding: bool pemCertificate: str - redirectType: typing_extensions.Literal[ - "REDIRECT_TYPE_UNSPECIFIED", "TEMPORARY", "PERMANENT" - ] + redirectType: typing.Literal["REDIRECT_TYPE_UNSPECIFIED", "TEMPORARY", "PERMANENT"] sslEnabled: bool subdomain: str targetUri: str @typing.type_check_only -class DsRecord(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class DsRecord(typing.TypedDict, total=False): + algorithm: typing.Literal[ "ALGORITHM_UNSPECIFIED", "RSAMD5", "DH", @@ -127,88 +123,88 @@ class DsRecord(typing_extensions.TypedDict, total=False): "PRIVATEOID", ] digest: str - digestType: typing_extensions.Literal[ + digestType: typing.Literal[ "DIGEST_TYPE_UNSPECIFIED", "SHA1", "SHA256", "GOST3411", "SHA384" ] keyTag: int @typing.type_check_only -class EmailForwarding(typing_extensions.TypedDict, total=False): +class EmailForwarding(typing.TypedDict, total=False): alias: str targetEmailAddress: str @typing.type_check_only -class ExportRegistrationRequest(typing_extensions.TypedDict, total=False): ... +class ExportRegistrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GeoPolicy(typing_extensions.TypedDict, total=False): +class GeoPolicy(typing.TypedDict, total=False): enableFencing: bool item: _list[GeoPolicyItem] @typing.type_check_only -class GeoPolicyItem(typing_extensions.TypedDict, total=False): +class GeoPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: HealthCheckTargets location: str rrdata: _list[str] signatureRrdata: _list[str] @typing.type_check_only -class GlueRecord(typing_extensions.TypedDict, total=False): +class GlueRecord(typing.TypedDict, total=False): hostName: str ipv4Addresses: _list[str] ipv6Addresses: _list[str] @typing.type_check_only -class GoogleDomainsDns(typing_extensions.TypedDict, total=False): +class GoogleDomainsDns(typing.TypedDict, total=False): dsRecords: _list[DsRecord] - dsState: typing_extensions.Literal[ + dsState: typing.Literal[ "DS_STATE_UNSPECIFIED", "DS_RECORDS_UNPUBLISHED", "DS_RECORDS_PUBLISHED" ] nameServers: _list[str] @typing.type_check_only -class HealthCheckTargets(typing_extensions.TypedDict, total=False): +class HealthCheckTargets(typing.TypedDict, total=False): externalEndpoints: _list[str] internalLoadBalancer: _list[LoadBalancerTarget] @typing.type_check_only -class ImportDomainRequest(typing_extensions.TypedDict, total=False): +class ImportDomainRequest(typing.TypedDict, total=False): domainName: str labels: dict[str, typing.Any] @typing.type_check_only -class InitiatePushTransferRequest(typing_extensions.TypedDict, total=False): +class InitiatePushTransferRequest(typing.TypedDict, total=False): tag: str validateOnly: bool @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRegistrationsResponse(typing_extensions.TypedDict, total=False): +class ListRegistrationsResponse(typing.TypedDict, total=False): nextPageToken: str registrations: _list[Registration] @typing.type_check_only -class LoadBalancerTarget(typing_extensions.TypedDict, total=False): +class LoadBalancerTarget(typing.TypedDict, total=False): ipAddress: str - ipProtocol: typing_extensions.Literal["UNDEFINED", "TCP", "UDP"] - loadBalancerType: typing_extensions.Literal[ + ipProtocol: typing.Literal["UNDEFINED", "TCP", "UDP"] + loadBalancerType: typing.Literal[ "NONE", "GLOBAL_L7ILB", "REGIONAL_L4ILB", "REGIONAL_L7ILB" ] networkUrl: str @@ -217,7 +213,7 @@ class LoadBalancerTarget(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -225,34 +221,34 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ManagementSettings(typing_extensions.TypedDict, total=False): - effectiveTransferLockState: typing_extensions.Literal[ +class ManagementSettings(typing.TypedDict, total=False): + effectiveTransferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] - preferredRenewalMethod: typing_extensions.Literal[ + preferredRenewalMethod: typing.Literal[ "RENEWAL_METHOD_UNSPECIFIED", "AUTOMATIC_RENEWAL", "MANUAL_RENEWAL", "RENEWAL_DISABLED", ] - renewalMethod: typing_extensions.Literal[ + renewalMethod: typing.Literal[ "RENEWAL_METHOD_UNSPECIFIED", "AUTOMATIC_RENEWAL", "MANUAL_RENEWAL", "RENEWAL_DISABLED", ] - transferLockState: typing_extensions.Literal[ + transferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -260,7 +256,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -269,14 +265,14 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -290,13 +286,13 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class PrimaryBackupPolicy(typing_extensions.TypedDict, total=False): +class PrimaryBackupPolicy(typing.TypedDict, total=False): backupGeoTargets: GeoPolicy primaryTargets: HealthCheckTargets trickleTraffic: float @typing.type_check_only -class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): +class RRSetRoutingPolicy(typing.TypedDict, total=False): geo: GeoPolicy geoPolicy: GeoPolicy healthCheck: str @@ -305,30 +301,26 @@ class RRSetRoutingPolicy(typing_extensions.TypedDict, total=False): wrrPolicy: WrrPolicy @typing.type_check_only -class RegisterDomainRequest(typing_extensions.TypedDict, total=False): +class RegisterDomainRequest(typing.TypedDict, total=False): contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] - domainNotices: _list[ - typing_extensions.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"] - ] + domainNotices: _list[typing.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"]] registration: Registration validateOnly: bool yearlyPrice: Money @typing.type_check_only -class RegisterParameters(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class RegisterParameters(typing.TypedDict, total=False): + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "AVAILABLE", "UNAVAILABLE", "UNSUPPORTED", "UNKNOWN" ] domainName: str - domainNotices: _list[ - typing_extensions.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"] - ] + domainNotices: _list[typing.Literal["DOMAIN_NOTICE_UNSPECIFIED", "HSTS_PRELOADED"]] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", @@ -338,13 +330,13 @@ class RegisterParameters(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class Registration(typing_extensions.TypedDict, total=False): +class Registration(typing.TypedDict, total=False): contactSettings: ContactSettings createTime: str dnsSettings: DnsSettings domainName: str domainProperties: _list[ - typing_extensions.Literal[ + typing.Literal[ "DOMAIN_PROPERTY_UNSPECIFIED", "TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY", "REQUIRE_PUSH_TRANSFER", @@ -352,7 +344,7 @@ class Registration(typing_extensions.TypedDict, total=False): ] expireTime: str issues: _list[ - typing_extensions.Literal[ + typing.Literal[ "ISSUE_UNSPECIFIED", "CONTACT_SUPPORT", "UNVERIFIED_EMAIL", @@ -365,13 +357,13 @@ class Registration(typing_extensions.TypedDict, total=False): managementSettings: ManagementSettings name: str pendingContactSettings: ContactSettings - registerFailureReason: typing_extensions.Literal[ + registerFailureReason: typing.Literal[ "REGISTER_FAILURE_REASON_UNSPECIFIED", "REGISTER_FAILURE_REASON_UNKNOWN", "DOMAIN_NOT_AVAILABLE", "INVALID_CONTACTS", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REGISTRATION_PENDING", "REGISTRATION_FAILED", @@ -384,14 +376,14 @@ class Registration(typing_extensions.TypedDict, total=False): "EXPIRED", ] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", "REDACTED_CONTACT_DATA", ] ] - transferFailureReason: typing_extensions.Literal[ + transferFailureReason: typing.Literal[ "TRANSFER_FAILURE_REASON_UNSPECIFIED", "TRANSFER_FAILURE_REASON_UNKNOWN", "EMAIL_CONFIRMATION_FAILURE", @@ -406,15 +398,15 @@ class Registration(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RenewDomainRequest(typing_extensions.TypedDict, total=False): +class RenewDomainRequest(typing.TypedDict, total=False): validateOnly: bool yearlyPrice: Money @typing.type_check_only -class ResetAuthorizationCodeRequest(typing_extensions.TypedDict, total=False): ... +class ResetAuthorizationCodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResourceRecordSet(typing_extensions.TypedDict, total=False): +class ResourceRecordSet(typing.TypedDict, total=False): name: str routingPolicy: RRSetRoutingPolicy rrdata: _list[str] @@ -423,58 +415,56 @@ class ResourceRecordSet(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RetrieveGoogleDomainsDnsRecordsResponse(typing_extensions.TypedDict, total=False): +class RetrieveGoogleDomainsDnsRecordsResponse(typing.TypedDict, total=False): nextPageToken: str rrset: _list[ResourceRecordSet] @typing.type_check_only -class RetrieveGoogleDomainsForwardingConfigResponse( - typing_extensions.TypedDict, total=False -): +class RetrieveGoogleDomainsForwardingConfigResponse(typing.TypedDict, total=False): domainForwardings: _list[DomainForwarding] emailForwardings: _list[EmailForwarding] @typing.type_check_only -class RetrieveImportableDomainsResponse(typing_extensions.TypedDict, total=False): +class RetrieveImportableDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str @typing.type_check_only -class RetrieveRegisterParametersResponse(typing_extensions.TypedDict, total=False): +class RetrieveRegisterParametersResponse(typing.TypedDict, total=False): registerParameters: RegisterParameters @typing.type_check_only -class RetrieveTransferParametersResponse(typing_extensions.TypedDict, total=False): +class RetrieveTransferParametersResponse(typing.TypedDict, total=False): transferParameters: TransferParameters @typing.type_check_only -class SearchDomainsResponse(typing_extensions.TypedDict, total=False): +class SearchDomainsResponse(typing.TypedDict, total=False): registerParameters: _list[RegisterParameters] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TransferDomainRequest(typing_extensions.TypedDict, total=False): +class TransferDomainRequest(typing.TypedDict, total=False): authorizationCode: AuthorizationCode contactNotices: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_NOTICE_UNSPECIFIED", "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" ] ] @@ -483,30 +473,30 @@ class TransferDomainRequest(typing_extensions.TypedDict, total=False): yearlyPrice: Money @typing.type_check_only -class TransferParameters(typing_extensions.TypedDict, total=False): +class TransferParameters(typing.TypedDict, total=False): currentRegistrar: str currentRegistrarUri: str domainName: str nameServers: _list[str] supportedPrivacy: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONTACT_PRIVACY_UNSPECIFIED", "PUBLIC_CONTACT_DATA", "PRIVATE_CONTACT_DATA", "REDACTED_CONTACT_DATA", ] ] - transferLockState: typing_extensions.Literal[ + transferLockState: typing.Literal[ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", "LOCKED" ] yearlyPrice: Money @typing.type_check_only -class WrrPolicy(typing_extensions.TypedDict, total=False): +class WrrPolicy(typing.TypedDict, total=False): item: _list[WrrPolicyItem] @typing.type_check_only -class WrrPolicyItem(typing_extensions.TypedDict, total=False): +class WrrPolicyItem(typing.TypedDict, total=False): healthCheckedTargets: HealthCheckTargets rrdata: _list[str] signatureRrdata: _list[str] diff --git a/googleapiclient-stubs/_apis/domainsrdap/v1/resources.pyi b/googleapiclient-stubs/_apis/domainsrdap/v1/resources.pyi index ac2a4ef4d..ac0ef50e6 100644 --- a/googleapiclient-stubs/_apis/domainsrdap/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/domainsrdap/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/domainsrdap/v1/schemas.pyi b/googleapiclient-stubs/_apis/domainsrdap/v1/schemas.pyi index dd982c4f5..ae2ed9c5f 100644 --- a/googleapiclient-stubs/_apis/domainsrdap/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domainsrdap/v1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): href: str hreflang: str media: str @@ -21,14 +19,14 @@ class Link(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Notice(typing_extensions.TypedDict, total=False): +class Notice(typing.TypedDict, total=False): description: _list[str] links: _list[Link] title: str type: str @typing.type_check_only -class RdapResponse(typing_extensions.TypedDict, total=False): +class RdapResponse(typing.TypedDict, total=False): description: _list[str] errorCode: int jsonResponse: HttpBody diff --git a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/resources.pyi index 43ce1ec61..905d4ef38 100644 --- a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/schemas.pyi index 3229d60f3..c7a8b11e6 100644 --- a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1/schemas.pyi @@ -1,5 +1,3 @@ import typing -import typing_extensions - _list = list diff --git a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/resources.pyi b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/resources.pyi index bfaed4246..1506344ef 100644 --- a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/resources.pyi +++ b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/schemas.pyi b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/schemas.pyi index 5c92c21a4..398b2a0f5 100644 --- a/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/schemas.pyi +++ b/googleapiclient-stubs/_apis/doubleclickbidmanager/v1_1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ChannelGrouping(typing_extensions.TypedDict, total=False): +class ChannelGrouping(typing.TypedDict, total=False): fallbackName: str name: str rules: _list[Rule] @typing.type_check_only -class DisjunctiveMatchStatement(typing_extensions.TypedDict, total=False): +class DisjunctiveMatchStatement(typing.TypedDict, total=False): eventFilters: _list[EventFilter] @typing.type_check_only -class EventFilter(typing_extensions.TypedDict, total=False): +class EventFilter(typing.TypedDict, total=False): dimensionFilter: PathQueryOptionsFilter @typing.type_check_only -class FilterPair(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class FilterPair(typing.TypedDict, total=False): + type: typing.Literal[ "FILTER_UNKNOWN", "FILTER_DATE", "FILTER_DAY_OF_WEEK", @@ -319,27 +317,27 @@ class FilterPair(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class ListQueriesResponse(typing_extensions.TypedDict, total=False): +class ListQueriesResponse(typing.TypedDict, total=False): kind: str nextPageToken: str queries: _list[Query] @typing.type_check_only -class ListReportsResponse(typing_extensions.TypedDict, total=False): +class ListReportsResponse(typing.TypedDict, total=False): kind: str nextPageToken: str reports: _list[Report] @typing.type_check_only -class Options(typing_extensions.TypedDict, total=False): +class Options(typing.TypedDict, total=False): includeOnlyTargetedUserLists: bool pathQueryOptions: PathQueryOptions @typing.type_check_only -class Parameters(typing_extensions.TypedDict, total=False): +class Parameters(typing.TypedDict, total=False): filters: _list[FilterPair] groupBys: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILTER_UNKNOWN", "FILTER_DATE", "FILTER_DAY_OF_WEEK", @@ -638,7 +636,7 @@ class Parameters(typing_extensions.TypedDict, total=False): ] includeInviteData: bool metrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "METRIC_UNKNOWN", "METRIC_IMPRESSIONS", "METRIC_CLICKS", @@ -1118,7 +1116,7 @@ class Parameters(typing_extensions.TypedDict, total=False): ] ] options: Options - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_GENERAL", "TYPE_AUDIENCE_PERFORMANCE", "TYPE_INVENTORY_AVAILABILITY", @@ -1156,18 +1154,18 @@ class Parameters(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PathFilter(typing_extensions.TypedDict, total=False): +class PathFilter(typing.TypedDict, total=False): eventFilters: _list[EventFilter] - pathMatchPosition: typing_extensions.Literal["ANY", "FIRST", "LAST"] + pathMatchPosition: typing.Literal["ANY", "FIRST", "LAST"] @typing.type_check_only -class PathQueryOptions(typing_extensions.TypedDict, total=False): +class PathQueryOptions(typing.TypedDict, total=False): channelGrouping: ChannelGrouping pathFilters: _list[PathFilter] @typing.type_check_only -class PathQueryOptionsFilter(typing_extensions.TypedDict, total=False): - filter: typing_extensions.Literal[ +class PathQueryOptionsFilter(typing.TypedDict, total=False): + filter: typing.Literal[ "FILTER_UNKNOWN", "FILTER_DATE", "FILTER_DAY_OF_WEEK", @@ -1463,13 +1461,13 @@ class PathQueryOptionsFilter(typing_extensions.TypedDict, total=False): "FILTER_TRUEVIEW_TARGETING_EXPANSION", "FILTER_PUBLISHER_TRAFFIC_SOURCE", ] - match: typing_extensions.Literal[ + match: typing.Literal[ "UNKNOWN", "EXACT", "PARTIAL", "BEGINS_WITH", "WILDCARD_EXPRESSION" ] values: _list[str] @typing.type_check_only -class Query(typing_extensions.TypedDict, total=False): +class Query(typing.TypedDict, total=False): kind: str metadata: QueryMetadata params: Parameters @@ -1480,8 +1478,8 @@ class Query(typing_extensions.TypedDict, total=False): timezoneCode: str @typing.type_check_only -class QueryMetadata(typing_extensions.TypedDict, total=False): - dataRange: typing_extensions.Literal[ +class QueryMetadata(typing.TypedDict, total=False): + dataRange: typing.Literal[ "CUSTOM_DATES", "CURRENT_DAY", "PREVIOUS_DAY", @@ -1503,7 +1501,7 @@ class QueryMetadata(typing_extensions.TypedDict, total=False): "TYPE_NOT_SUPPORTED", "LAST_60_DAYS", ] - format: typing_extensions.Literal["CSV", "EXCEL_CSV", "XLSX"] + format: typing.Literal["CSV", "EXCEL_CSV", "XLSX"] googleCloudStoragePathForLatestReport: str googleDrivePathForLatestReport: str latestReportRunTimeMs: str @@ -1515,9 +1513,9 @@ class QueryMetadata(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class QuerySchedule(typing_extensions.TypedDict, total=False): +class QuerySchedule(typing.TypedDict, total=False): endTimeMs: str - frequency: typing_extensions.Literal[ + frequency: typing.Literal[ "ONE_TIME", "DAILY", "WEEKLY", "SEMI_MONTHLY", "MONTHLY", "QUARTERLY", "YEARLY" ] nextRunMinuteOfDay: int @@ -1525,14 +1523,14 @@ class QuerySchedule(typing_extensions.TypedDict, total=False): startTimeMs: str @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): key: ReportKey metadata: ReportMetadata params: Parameters @typing.type_check_only -class ReportFailure(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class ReportFailure(typing.TypedDict, total=False): + errorCode: typing.Literal[ "AUTHENTICATION_ERROR", "UNAUTHORIZED_API_ACCESS", "SERVER_ERROR", @@ -1554,32 +1552,32 @@ class ReportFailure(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ReportKey(typing_extensions.TypedDict, total=False): +class ReportKey(typing.TypedDict, total=False): queryId: str reportId: str @typing.type_check_only -class ReportMetadata(typing_extensions.TypedDict, total=False): +class ReportMetadata(typing.TypedDict, total=False): googleCloudStoragePath: str reportDataEndTimeMs: str reportDataStartTimeMs: str status: ReportStatus @typing.type_check_only -class ReportStatus(typing_extensions.TypedDict, total=False): +class ReportStatus(typing.TypedDict, total=False): failure: ReportFailure finishTimeMs: str - format: typing_extensions.Literal["CSV", "EXCEL_CSV", "XLSX"] - state: typing_extensions.Literal["RUNNING", "DONE", "FAILED"] + format: typing.Literal["CSV", "EXCEL_CSV", "XLSX"] + state: typing.Literal["RUNNING", "DONE", "FAILED"] @typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): +class Rule(typing.TypedDict, total=False): disjunctiveMatchStatements: _list[DisjunctiveMatchStatement] name: str @typing.type_check_only -class RunQueryRequest(typing_extensions.TypedDict, total=False): - dataRange: typing_extensions.Literal[ +class RunQueryRequest(typing.TypedDict, total=False): + dataRange: typing.Literal[ "CUSTOM_DATES", "CURRENT_DAY", "PREVIOUS_DAY", diff --git a/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/resources.pyi b/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/resources.pyi index dbefda465..0477ca7e1 100644 --- a/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/schemas.pyi index 1192023eb..9bb339da4 100644 --- a/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/doubleclickbidmanager/v2/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DataRange(typing_extensions.TypedDict, total=False): +class DataRange(typing.TypedDict, total=False): customEndDate: Date customStartDate: Date - range: typing_extensions.Literal[ + range: typing.Literal[ "RANGE_UNSPECIFIED", "CUSTOM_DATES", "CURRENT_DAY", @@ -31,37 +29,37 @@ class DataRange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class FilterPair(typing_extensions.TypedDict, total=False): +class FilterPair(typing.TypedDict, total=False): type: str value: str @typing.type_check_only -class ListQueriesResponse(typing_extensions.TypedDict, total=False): +class ListQueriesResponse(typing.TypedDict, total=False): nextPageToken: str queries: _list[Query] @typing.type_check_only -class ListReportsResponse(typing_extensions.TypedDict, total=False): +class ListReportsResponse(typing.TypedDict, total=False): nextPageToken: str reports: _list[Report] @typing.type_check_only -class Options(typing_extensions.TypedDict, total=False): +class Options(typing.TypedDict, total=False): includeOnlyTargetedUserLists: bool @typing.type_check_only -class Parameters(typing_extensions.TypedDict, total=False): +class Parameters(typing.TypedDict, total=False): filters: _list[FilterPair] groupBys: _list[str] metrics: _list[str] options: Options - type: typing_extensions.Literal[ + type: typing.Literal[ "REPORT_TYPE_UNSPECIFIED", "STANDARD", "INVENTORY_AVAILABILITY", @@ -77,24 +75,24 @@ class Parameters(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Query(typing_extensions.TypedDict, total=False): +class Query(typing.TypedDict, total=False): metadata: QueryMetadata params: Parameters queryId: str schedule: QuerySchedule @typing.type_check_only -class QueryMetadata(typing_extensions.TypedDict, total=False): +class QueryMetadata(typing.TypedDict, total=False): dataRange: DataRange - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "CSV", "XLSX"] + format: typing.Literal["FORMAT_UNSPECIFIED", "CSV", "XLSX"] sendNotification: bool shareEmailAddress: _list[str] title: str @typing.type_check_only -class QuerySchedule(typing_extensions.TypedDict, total=False): +class QuerySchedule(typing.TypedDict, total=False): endDate: Date - frequency: typing_extensions.Literal[ + frequency: typing.Literal[ "FREQUENCY_UNSPECIFIED", "ONE_TIME", "DAILY", @@ -108,31 +106,29 @@ class QuerySchedule(typing_extensions.TypedDict, total=False): startDate: Date @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): key: ReportKey metadata: ReportMetadata params: Parameters @typing.type_check_only -class ReportKey(typing_extensions.TypedDict, total=False): +class ReportKey(typing.TypedDict, total=False): queryId: str reportId: str @typing.type_check_only -class ReportMetadata(typing_extensions.TypedDict, total=False): +class ReportMetadata(typing.TypedDict, total=False): googleCloudStoragePath: str reportDataEndDate: Date reportDataStartDate: Date status: ReportStatus @typing.type_check_only -class ReportStatus(typing_extensions.TypedDict, total=False): +class ReportStatus(typing.TypedDict, total=False): finishTime: str - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "CSV", "XLSX"] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "QUEUED", "RUNNING", "DONE", "FAILED" - ] + format: typing.Literal["FORMAT_UNSPECIFIED", "CSV", "XLSX"] + state: typing.Literal["STATE_UNSPECIFIED", "QUEUED", "RUNNING", "DONE", "FAILED"] @typing.type_check_only -class RunQueryRequest(typing_extensions.TypedDict, total=False): +class RunQueryRequest(typing.TypedDict, total=False): dataRange: DataRange diff --git a/googleapiclient-stubs/_apis/doubleclicksearch/v2/resources.pyi b/googleapiclient-stubs/_apis/doubleclicksearch/v2/resources.pyi index ef540cb31..73546b08b 100644 --- a/googleapiclient-stubs/_apis/doubleclicksearch/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/doubleclicksearch/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/doubleclicksearch/v2/schemas.pyi b/googleapiclient-stubs/_apis/doubleclicksearch/v2/schemas.pyi index b6f07f795..f102bf058 100644 --- a/googleapiclient-stubs/_apis/doubleclicksearch/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/doubleclicksearch/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Availability(typing_extensions.TypedDict, total=False): +class Availability(typing.TypedDict, total=False): advertiserId: str agencyId: str availabilityTimestamp: str @@ -15,10 +13,10 @@ class Availability(typing_extensions.TypedDict, total=False): segmentationType: str @typing.type_check_only -class Conversion(typing_extensions.TypedDict, total=False): +class Conversion(typing.TypedDict, total=False): adGroupId: str adId: str - adUserDataConsent: typing_extensions.Literal["UNKNOWN", "GRANTED", "DENIED"] + adUserDataConsent: typing.Literal["UNKNOWN", "GRANTED", "DENIED"] advertiserId: str agencyId: str attributionModel: str @@ -53,25 +51,25 @@ class Conversion(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ConversionList(typing_extensions.TypedDict, total=False): +class ConversionList(typing.TypedDict, total=False): conversion: _list[Conversion] kind: str @typing.type_check_only -class CustomDimension(typing_extensions.TypedDict, total=False): +class CustomDimension(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class CustomMetric(typing_extensions.TypedDict, total=False): +class CustomMetric(typing.TypedDict, total=False): name: str value: float @typing.type_check_only -class IdMappingFile(typing_extensions.TypedDict, total=False): ... +class IdMappingFile(typing.TypedDict, total=False): ... @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): files: _list[dict[str, typing.Any]] id: str isReportReady: bool @@ -83,7 +81,7 @@ class Report(typing_extensions.TypedDict, total=False): statisticsTimeZone: str @typing.type_check_only -class ReportApiColumnSpec(typing_extensions.TypedDict, total=False): +class ReportApiColumnSpec(typing.TypedDict, total=False): columnName: str customDimensionName: str customMetricName: str @@ -96,7 +94,7 @@ class ReportApiColumnSpec(typing_extensions.TypedDict, total=False): startDate: str @typing.type_check_only -class ReportRequest(typing_extensions.TypedDict, total=False): +class ReportRequest(typing.TypedDict, total=False): columns: _list[ReportApiColumnSpec] downloadFormat: str filters: _list[dict[str, typing.Any]] @@ -116,20 +114,20 @@ class ReportRequest(typing_extensions.TypedDict, total=False): class ReportRow(dict[str, typing.Any]): ... @typing.type_check_only -class SavedColumn(typing_extensions.TypedDict, total=False): +class SavedColumn(typing.TypedDict, total=False): kind: str savedColumnName: str type: str @typing.type_check_only -class SavedColumnList(typing_extensions.TypedDict, total=False): +class SavedColumnList(typing.TypedDict, total=False): items: _list[SavedColumn] kind: str @typing.type_check_only -class UpdateAvailabilityRequest(typing_extensions.TypedDict, total=False): +class UpdateAvailabilityRequest(typing.TypedDict, total=False): availabilities: _list[Availability] @typing.type_check_only -class UpdateAvailabilityResponse(typing_extensions.TypedDict, total=False): +class UpdateAvailabilityResponse(typing.TypedDict, total=False): availabilities: _list[Availability] diff --git a/googleapiclient-stubs/_apis/drive/v2/resources.pyi b/googleapiclient-stubs/_apis/drive/v2/resources.pyi index 9d4d1d529..bc3bf727d 100644 --- a/googleapiclient-stubs/_apis/drive/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -244,7 +243,7 @@ class DriveResource(googleapiclient.discovery.Resource): supportsTeamDrives: bool | None = ..., timedTextLanguage: str | None = ..., timedTextTrackName: str | None = ..., - visibility: typing_extensions.Literal["DEFAULT", "PRIVATE"] | None = ..., + visibility: typing.Literal["DEFAULT", "PRIVATE"] | None = ..., **kwargs: typing.Any, ) -> FileHttpRequest: ... def delete( @@ -291,7 +290,7 @@ class DriveResource(googleapiclient.discovery.Resource): acknowledgeAbuse: bool | None = ..., includeLabels: str | None = ..., includePermissionsForView: str | None = ..., - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., revisionId: str | None = ..., supportsAllDrives: bool | None = ..., supportsTeamDrives: bool | None = ..., @@ -305,7 +304,7 @@ class DriveResource(googleapiclient.discovery.Resource): acknowledgeAbuse: bool | None = ..., includeLabels: str | None = ..., includePermissionsForView: str | None = ..., - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., revisionId: str | None = ..., supportsAllDrives: bool | None = ..., supportsTeamDrives: bool | None = ..., @@ -328,14 +327,14 @@ class DriveResource(googleapiclient.discovery.Resource): timedTextLanguage: str | None = ..., timedTextTrackName: str | None = ..., useContentAsIndexableText: bool | None = ..., - visibility: typing_extensions.Literal["DEFAULT", "PRIVATE"] | None = ..., + visibility: typing.Literal["DEFAULT", "PRIVATE"] | None = ..., **kwargs: typing.Any, ) -> FileHttpRequest: ... def list( self, *, corpora: str | None = ..., - corpus: typing_extensions.Literal["DEFAULT", "DOMAIN"] | None = ..., + corpus: typing.Literal["DEFAULT", "DOMAIN"] | None = ..., driveId: str | None = ..., includeItemsFromAllDrives: bool | None = ..., includeLabels: str | None = ..., @@ -344,7 +343,7 @@ class DriveResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., orderBy: str | None = ..., pageToken: str | None = ..., - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., q: str | None = ..., spaces: str | None = ..., supportsAllDrives: bool | None = ..., @@ -379,7 +378,7 @@ class DriveResource(googleapiclient.discovery.Resource): enforceSingleParent: bool | None = ..., includeLabels: str | None = ..., includePermissionsForView: str | None = ..., - modifiedDateBehavior: typing_extensions.Literal[ + modifiedDateBehavior: typing.Literal[ "fromBody", "fromBodyIfNeeded", "fromBodyOrNow", @@ -442,7 +441,7 @@ class DriveResource(googleapiclient.discovery.Resource): enforceSingleParent: bool | None = ..., includeLabels: str | None = ..., includePermissionsForView: str | None = ..., - modifiedDateBehavior: typing_extensions.Literal[ + modifiedDateBehavior: typing.Literal[ "fromBody", "fromBodyIfNeeded", "fromBodyOrNow", @@ -473,7 +472,7 @@ class DriveResource(googleapiclient.discovery.Resource): acknowledgeAbuse: bool | None = ..., includeLabels: str | None = ..., includePermissionsForView: str | None = ..., - projection: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + projection: typing.Literal["BASIC", "FULL"] | None = ..., revisionId: str | None = ..., supportsAllDrives: bool | None = ..., supportsTeamDrives: bool | None = ..., diff --git a/googleapiclient-stubs/_apis/drive/v2/schemas.pyi b/googleapiclient-stubs/_apis/drive/v2/schemas.pyi index 9254f9031..d1d678266 100644 --- a/googleapiclient-stubs/_apis/drive/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class About(typing_extensions.TypedDict, total=False): +class About(typing.TypedDict, total=False): additionalRoleInfo: _list[dict[str, typing.Any]] canCreateDrives: bool canCreateTeamDrives: bool @@ -36,7 +34,7 @@ class About(typing_extensions.TypedDict, total=False): user: User @typing.type_check_only -class App(typing_extensions.TypedDict, total=False): +class App(typing.TypedDict, total=False): authorized: bool createInFolderTemplate: str createUrl: str @@ -63,7 +61,7 @@ class App(typing_extensions.TypedDict, total=False): useByDefault: bool @typing.type_check_only -class AppList(typing_extensions.TypedDict, total=False): +class AppList(typing.TypedDict, total=False): defaultAppIds: _list[str] etag: str items: _list[App] @@ -71,7 +69,7 @@ class AppList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class Change(typing_extensions.TypedDict, total=False): +class Change(typing.TypedDict, total=False): changeType: str deleted: bool drive: Drive @@ -87,7 +85,7 @@ class Change(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ChangeList(typing_extensions.TypedDict, total=False): +class ChangeList(typing.TypedDict, total=False): etag: str items: _list[Change] kind: str @@ -98,7 +96,7 @@ class ChangeList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): address: str expiration: str id: str @@ -111,7 +109,7 @@ class Channel(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ChildList(typing_extensions.TypedDict, total=False): +class ChildList(typing.TypedDict, total=False): etag: str items: _list[ChildReference] kind: str @@ -120,19 +118,19 @@ class ChildList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class ChildReference(typing_extensions.TypedDict, total=False): +class ChildReference(typing.TypedDict, total=False): childLink: str id: str kind: str selfLink: str @typing.type_check_only -class ClientEncryptionDetails(typing_extensions.TypedDict, total=False): +class ClientEncryptionDetails(typing.TypedDict, total=False): decryptionMetadata: DecryptionMetadata encryptionState: str @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): anchor: str author: User commentId: str @@ -150,7 +148,7 @@ class Comment(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class CommentList(typing_extensions.TypedDict, total=False): +class CommentList(typing.TypedDict, total=False): items: _list[Comment] kind: str nextLink: str @@ -158,7 +156,7 @@ class CommentList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class CommentReply(typing_extensions.TypedDict, total=False): +class CommentReply(typing.TypedDict, total=False): author: User content: str createdDate: str @@ -170,7 +168,7 @@ class CommentReply(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class CommentReplyList(typing_extensions.TypedDict, total=False): +class CommentReplyList(typing.TypedDict, total=False): items: _list[CommentReply] kind: str nextLink: str @@ -178,7 +176,7 @@ class CommentReplyList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class ContentRestriction(typing_extensions.TypedDict, total=False): +class ContentRestriction(typing.TypedDict, total=False): ownerRestricted: bool readOnly: bool reason: str @@ -188,7 +186,7 @@ class ContentRestriction(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class DecryptionMetadata(typing_extensions.TypedDict, total=False): +class DecryptionMetadata(typing.TypedDict, total=False): aes256GcmChunkSize: str encryptionResourceKeyHash: str jwt: str @@ -198,7 +196,7 @@ class DecryptionMetadata(typing_extensions.TypedDict, total=False): wrappedKey: str @typing.type_check_only -class Drive(typing_extensions.TypedDict, total=False): +class Drive(typing.TypedDict, total=False): backgroundImageFile: dict[str, typing.Any] backgroundImageLink: str capabilities: dict[str, typing.Any] @@ -213,13 +211,13 @@ class Drive(typing_extensions.TypedDict, total=False): themeId: str @typing.type_check_only -class DriveList(typing_extensions.TypedDict, total=False): +class DriveList(typing.TypedDict, total=False): items: _list[Drive] kind: str nextPageToken: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): alternateLink: str appDataContents: bool canComment: bool @@ -299,7 +297,7 @@ class File(typing_extensions.TypedDict, total=False): writersCanShare: bool @typing.type_check_only -class FileList(typing_extensions.TypedDict, total=False): +class FileList(typing.TypedDict, total=False): etag: str incompleteSearch: bool items: _list[File] @@ -309,7 +307,7 @@ class FileList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class GenerateCseTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateCseTokenResponse(typing.TypedDict, total=False): currentKaclsId: str currentKaclsName: str fileId: str @@ -317,20 +315,20 @@ class GenerateCseTokenResponse(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class GeneratedIds(typing_extensions.TypedDict, total=False): +class GeneratedIds(typing.TypedDict, total=False): ids: _list[str] kind: str space: str @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): fields: dict[str, typing.Any] id: str kind: str revisionId: str @typing.type_check_only -class LabelField(typing_extensions.TypedDict, total=False): +class LabelField(typing.TypedDict, total=False): dateString: _list[str] id: str integer: _list[str] @@ -341,7 +339,7 @@ class LabelField(typing_extensions.TypedDict, total=False): valueType: str @typing.type_check_only -class LabelFieldModification(typing_extensions.TypedDict, total=False): +class LabelFieldModification(typing.TypedDict, total=False): fieldId: str kind: str setDateValues: _list[str] @@ -352,37 +350,37 @@ class LabelFieldModification(typing_extensions.TypedDict, total=False): unsetValues: bool @typing.type_check_only -class LabelList(typing_extensions.TypedDict, total=False): +class LabelList(typing.TypedDict, total=False): items: _list[Label] kind: str nextPageToken: str @typing.type_check_only -class LabelModification(typing_extensions.TypedDict, total=False): +class LabelModification(typing.TypedDict, total=False): fieldModifications: _list[LabelFieldModification] kind: str labelId: str removeLabel: bool @typing.type_check_only -class ModifyLabelsRequest(typing_extensions.TypedDict, total=False): +class ModifyLabelsRequest(typing.TypedDict, total=False): kind: str labelModifications: _list[LabelModification] @typing.type_check_only -class ModifyLabelsResponse(typing_extensions.TypedDict, total=False): +class ModifyLabelsResponse(typing.TypedDict, total=False): kind: str modifiedLabels: _list[Label] @typing.type_check_only -class ParentList(typing_extensions.TypedDict, total=False): +class ParentList(typing.TypedDict, total=False): etag: str items: _list[ParentReference] kind: str selfLink: str @typing.type_check_only -class ParentReference(typing_extensions.TypedDict, total=False): +class ParentReference(typing.TypedDict, total=False): id: str isRoot: bool kind: str @@ -390,7 +388,7 @@ class ParentReference(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): additionalRoles: _list[str] authKey: str deleted: bool @@ -414,12 +412,12 @@ class Permission(typing_extensions.TypedDict, total=False): withLink: bool @typing.type_check_only -class PermissionId(typing_extensions.TypedDict, total=False): +class PermissionId(typing.TypedDict, total=False): id: str kind: str @typing.type_check_only -class PermissionList(typing_extensions.TypedDict, total=False): +class PermissionList(typing.TypedDict, total=False): etag: str items: _list[Permission] kind: str @@ -427,7 +425,7 @@ class PermissionList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class Property(typing_extensions.TypedDict, total=False): +class Property(typing.TypedDict, total=False): etag: str key: str kind: str @@ -436,14 +434,14 @@ class Property(typing_extensions.TypedDict, total=False): visibility: str @typing.type_check_only -class PropertyList(typing_extensions.TypedDict, total=False): +class PropertyList(typing.TypedDict, total=False): etag: str items: _list[Property] kind: str selfLink: str @typing.type_check_only -class Revision(typing_extensions.TypedDict, total=False): +class Revision(typing.TypedDict, total=False): downloadUrl: str etag: str exportLinks: dict[str, typing.Any] @@ -464,7 +462,7 @@ class Revision(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class RevisionList(typing_extensions.TypedDict, total=False): +class RevisionList(typing.TypedDict, total=False): etag: str items: _list[Revision] kind: str @@ -472,12 +470,12 @@ class RevisionList(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class StartPageToken(typing_extensions.TypedDict, total=False): +class StartPageToken(typing.TypedDict, total=False): kind: str startPageToken: str @typing.type_check_only -class TeamDrive(typing_extensions.TypedDict, total=False): +class TeamDrive(typing.TypedDict, total=False): backgroundImageFile: dict[str, typing.Any] backgroundImageLink: str capabilities: dict[str, typing.Any] @@ -491,13 +489,13 @@ class TeamDrive(typing_extensions.TypedDict, total=False): themeId: str @typing.type_check_only -class TeamDriveList(typing_extensions.TypedDict, total=False): +class TeamDriveList(typing.TypedDict, total=False): items: _list[TeamDrive] kind: str nextPageToken: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): displayName: str emailAddress: str isAuthenticatedUser: bool diff --git a/googleapiclient-stubs/_apis/drive/v3/resources.pyi b/googleapiclient-stubs/_apis/drive/v3/resources.pyi index 5a3cb649e..64db4cc78 100644 --- a/googleapiclient-stubs/_apis/drive/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -359,7 +358,7 @@ class DriveResource(googleapiclient.discovery.Resource): self, *, corpora: str | None = ..., - corpus: typing_extensions.Literal["domain", "user"] | None = ..., + corpus: typing.Literal["domain", "user"] | None = ..., driveId: str | None = ..., includeItemsFromAllDrives: bool | None = ..., includeLabels: str | None = ..., diff --git a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi index 6d4deecb5..91870b71d 100644 --- a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class About(typing_extensions.TypedDict, total=False): +class About(typing.TypedDict, total=False): appInstalled: bool canCreateDrives: bool canCreateTeamDrives: bool @@ -21,7 +19,7 @@ class About(typing_extensions.TypedDict, total=False): user: User @typing.type_check_only -class AccessProposal(typing_extensions.TypedDict, total=False): +class AccessProposal(typing.TypedDict, total=False): createTime: str fileId: str proposalId: str @@ -31,16 +29,16 @@ class AccessProposal(typing_extensions.TypedDict, total=False): rolesAndViews: _list[AccessProposalRoleAndView] @typing.type_check_only -class AccessProposalRoleAndView(typing_extensions.TypedDict, total=False): +class AccessProposalRoleAndView(typing.TypedDict, total=False): role: str view: str @typing.type_check_only -class AddReviewer(typing_extensions.TypedDict, total=False): +class AddReviewer(typing.TypedDict, total=False): addedReviewerEmail: str @typing.type_check_only -class App(typing_extensions.TypedDict, total=False): +class App(typing.TypedDict, total=False): authorized: bool createInFolderTemplate: str createUrl: str @@ -67,49 +65,54 @@ class App(typing_extensions.TypedDict, total=False): useByDefault: bool @typing.type_check_only -class AppIcons(typing_extensions.TypedDict, total=False): +class AppIcons(typing.TypedDict, total=False): category: str iconUrl: str size: int @typing.type_check_only -class AppList(typing_extensions.TypedDict, total=False): +class AppList(typing.TypedDict, total=False): defaultAppIds: _list[str] items: _list[App] kind: str selfLink: str @typing.type_check_only -class Approval(typing_extensions.TypedDict, total=False): +class Approval(typing.TypedDict, total=False): approvalId: str completeTime: str createTime: str dueTime: str + fileContentChangeBehavior: typing.Literal[ + "FILE_CONTENT_CHANGE_BEHAVIOR_UNSPECIFIED", + "RESET_APPROVAL", + "NO_APPROVAL_ACTION", + ] initiator: User kind: str modifyTime: str reviewerResponses: _list[ReviewerResponse] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "IN_PROGRESS", "APPROVED", "CANCELLED", "DECLINED" ] targetFileId: str @typing.type_check_only -class ApprovalList(typing_extensions.TypedDict, total=False): +class ApprovalList(typing.TypedDict, total=False): items: _list[Approval] kind: str nextPageToken: str @typing.type_check_only -class ApproveApprovalRequest(typing_extensions.TypedDict, total=False): +class ApproveApprovalRequest(typing.TypedDict, total=False): message: str @typing.type_check_only -class CancelApprovalRequest(typing_extensions.TypedDict, total=False): +class CancelApprovalRequest(typing.TypedDict, total=False): message: str @typing.type_check_only -class Change(typing_extensions.TypedDict, total=False): +class Change(typing.TypedDict, total=False): changeType: str drive: Drive driveId: str @@ -123,14 +126,14 @@ class Change(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ChangeList(typing_extensions.TypedDict, total=False): +class ChangeList(typing.TypedDict, total=False): changes: _list[Change] kind: str newStartPageToken: str nextPageToken: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): address: str expiration: str id: str @@ -143,12 +146,12 @@ class Channel(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ClientEncryptionDetails(typing_extensions.TypedDict, total=False): +class ClientEncryptionDetails(typing.TypedDict, total=False): decryptionMetadata: DecryptionMetadata encryptionState: str @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): anchor: str assigneeEmailAddress: str author: User @@ -165,17 +168,17 @@ class Comment(typing_extensions.TypedDict, total=False): resolved: bool @typing.type_check_only -class CommentApprovalRequest(typing_extensions.TypedDict, total=False): +class CommentApprovalRequest(typing.TypedDict, total=False): message: str @typing.type_check_only -class CommentList(typing_extensions.TypedDict, total=False): +class CommentList(typing.TypedDict, total=False): comments: _list[Comment] kind: str nextPageToken: str @typing.type_check_only -class ContentRestriction(typing_extensions.TypedDict, total=False): +class ContentRestriction(typing.TypedDict, total=False): ownerRestricted: bool readOnly: bool reason: str @@ -185,11 +188,11 @@ class ContentRestriction(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class DeclineApprovalRequest(typing_extensions.TypedDict, total=False): +class DeclineApprovalRequest(typing.TypedDict, total=False): message: str @typing.type_check_only -class DecryptionMetadata(typing_extensions.TypedDict, total=False): +class DecryptionMetadata(typing.TypedDict, total=False): aes256GcmChunkSize: str encryptionResourceKeyHash: str jwt: str @@ -199,17 +202,17 @@ class DecryptionMetadata(typing_extensions.TypedDict, total=False): wrappedKey: str @typing.type_check_only -class DownloadRestriction(typing_extensions.TypedDict, total=False): +class DownloadRestriction(typing.TypedDict, total=False): restrictedForReaders: bool restrictedForWriters: bool @typing.type_check_only -class DownloadRestrictionsMetadata(typing_extensions.TypedDict, total=False): +class DownloadRestrictionsMetadata(typing.TypedDict, total=False): effectiveDownloadRestrictionWithContext: DownloadRestriction itemDownloadRestriction: DownloadRestriction @typing.type_check_only -class Drive(typing_extensions.TypedDict, total=False): +class Drive(typing.TypedDict, total=False): backgroundImageFile: dict[str, typing.Any] backgroundImageLink: str capabilities: dict[str, typing.Any] @@ -224,13 +227,13 @@ class Drive(typing_extensions.TypedDict, total=False): themeId: str @typing.type_check_only -class DriveList(typing_extensions.TypedDict, total=False): +class DriveList(typing.TypedDict, total=False): drives: _list[Drive] kind: str nextPageToken: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): appProperties: dict[str, typing.Any] capabilities: dict[str, typing.Any] clientEncryptionDetails: ClientEncryptionDetails @@ -298,14 +301,14 @@ class File(typing_extensions.TypedDict, total=False): writersCanShare: bool @typing.type_check_only -class FileList(typing_extensions.TypedDict, total=False): +class FileList(typing.TypedDict, total=False): files: _list[File] incompleteSearch: bool kind: str nextPageToken: str @typing.type_check_only -class GenerateCseTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateCseTokenResponse(typing.TypedDict, total=False): currentKaclsId: str currentKaclsName: str fileId: str @@ -313,20 +316,20 @@ class GenerateCseTokenResponse(typing_extensions.TypedDict, total=False): kind: str @typing.type_check_only -class GeneratedIds(typing_extensions.TypedDict, total=False): +class GeneratedIds(typing.TypedDict, total=False): ids: _list[str] kind: str space: str @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): fields: dict[str, typing.Any] id: str kind: str revisionId: str @typing.type_check_only -class LabelField(typing_extensions.TypedDict, total=False): +class LabelField(typing.TypedDict, total=False): dateString: _list[str] id: str integer: _list[str] @@ -337,7 +340,7 @@ class LabelField(typing_extensions.TypedDict, total=False): valueType: str @typing.type_check_only -class LabelFieldModification(typing_extensions.TypedDict, total=False): +class LabelFieldModification(typing.TypedDict, total=False): fieldId: str kind: str setDateValues: _list[str] @@ -348,35 +351,35 @@ class LabelFieldModification(typing_extensions.TypedDict, total=False): unsetValues: bool @typing.type_check_only -class LabelList(typing_extensions.TypedDict, total=False): +class LabelList(typing.TypedDict, total=False): kind: str labels: _list[Label] nextPageToken: str @typing.type_check_only -class LabelModification(typing_extensions.TypedDict, total=False): +class LabelModification(typing.TypedDict, total=False): fieldModifications: _list[LabelFieldModification] kind: str labelId: str removeLabel: bool @typing.type_check_only -class ListAccessProposalsResponse(typing_extensions.TypedDict, total=False): +class ListAccessProposalsResponse(typing.TypedDict, total=False): accessProposals: _list[AccessProposal] nextPageToken: str @typing.type_check_only -class ModifyLabelsRequest(typing_extensions.TypedDict, total=False): +class ModifyLabelsRequest(typing.TypedDict, total=False): kind: str labelModifications: _list[LabelModification] @typing.type_check_only -class ModifyLabelsResponse(typing_extensions.TypedDict, total=False): +class ModifyLabelsResponse(typing.TypedDict, total=False): kind: str modifiedLabels: _list[Label] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -384,7 +387,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): allowFileDiscovery: bool deleted: bool displayName: str @@ -403,24 +406,24 @@ class Permission(typing_extensions.TypedDict, total=False): view: str @typing.type_check_only -class PermissionList(typing_extensions.TypedDict, total=False): +class PermissionList(typing.TypedDict, total=False): kind: str nextPageToken: str permissions: _list[Permission] @typing.type_check_only -class ReassignApprovalRequest(typing_extensions.TypedDict, total=False): +class ReassignApprovalRequest(typing.TypedDict, total=False): addReviewers: _list[AddReviewer] message: str replaceReviewers: _list[ReplaceReviewer] @typing.type_check_only -class ReplaceReviewer(typing_extensions.TypedDict, total=False): +class ReplaceReviewer(typing.TypedDict, total=False): addedReviewerEmail: str removedReviewerEmail: str @typing.type_check_only -class Reply(typing_extensions.TypedDict, total=False): +class Reply(typing.TypedDict, total=False): action: str assigneeEmailAddress: str author: User @@ -434,28 +437,28 @@ class Reply(typing_extensions.TypedDict, total=False): modifiedTime: str @typing.type_check_only -class ReplyList(typing_extensions.TypedDict, total=False): +class ReplyList(typing.TypedDict, total=False): kind: str nextPageToken: str replies: _list[Reply] @typing.type_check_only -class ResolveAccessProposalRequest(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ACCEPT", "DENY"] +class ResolveAccessProposalRequest(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ACCEPT", "DENY"] role: _list[str] sendNotification: bool view: str @typing.type_check_only -class ReviewerResponse(typing_extensions.TypedDict, total=False): +class ReviewerResponse(typing.TypedDict, total=False): kind: str - response: typing_extensions.Literal[ + response: typing.Literal[ "RESPONSE_UNSPECIFIED", "NO_RESPONSE", "APPROVED", "DECLINED" ] reviewer: User @typing.type_check_only -class Revision(typing_extensions.TypedDict, total=False): +class Revision(typing.TypedDict, total=False): exportLinks: dict[str, typing.Any] id: str keepForever: bool @@ -472,31 +475,36 @@ class Revision(typing_extensions.TypedDict, total=False): size: str @typing.type_check_only -class RevisionList(typing_extensions.TypedDict, total=False): +class RevisionList(typing.TypedDict, total=False): kind: str nextPageToken: str revisions: _list[Revision] @typing.type_check_only -class StartApprovalRequest(typing_extensions.TypedDict, total=False): +class StartApprovalRequest(typing.TypedDict, total=False): dueTime: str + fileContentChangeBehavior: typing.Literal[ + "FILE_CONTENT_CHANGE_BEHAVIOR_UNSPECIFIED", + "RESET_APPROVAL", + "NO_APPROVAL_ACTION", + ] lockFile: bool message: str reviewerEmails: _list[str] @typing.type_check_only -class StartPageToken(typing_extensions.TypedDict, total=False): +class StartPageToken(typing.TypedDict, total=False): kind: str startPageToken: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TeamDrive(typing_extensions.TypedDict, total=False): +class TeamDrive(typing.TypedDict, total=False): backgroundImageFile: dict[str, typing.Any] backgroundImageLink: str capabilities: dict[str, typing.Any] @@ -510,13 +518,13 @@ class TeamDrive(typing_extensions.TypedDict, total=False): themeId: str @typing.type_check_only -class TeamDriveList(typing_extensions.TypedDict, total=False): +class TeamDriveList(typing.TypedDict, total=False): kind: str nextPageToken: str teamDrives: _list[TeamDrive] @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): displayName: str emailAddress: str kind: str diff --git a/googleapiclient-stubs/_apis/driveactivity/v2/resources.pyi b/googleapiclient-stubs/_apis/driveactivity/v2/resources.pyi index b2fa8debe..7ac654d97 100644 --- a/googleapiclient-stubs/_apis/driveactivity/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/driveactivity/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi b/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi index acbac72fe..110094b94 100644 --- a/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/driveactivity/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): actor: Actor detail: ActionDetail target: Target @@ -13,7 +11,7 @@ class Action(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class ActionDetail(typing_extensions.TypedDict, total=False): +class ActionDetail(typing.TypedDict, total=False): appliedLabelChange: AppliedLabelChange comment: Comment create: Create @@ -28,7 +26,7 @@ class ActionDetail(typing_extensions.TypedDict, total=False): settingsChange: SettingsChange @typing.type_check_only -class Actor(typing_extensions.TypedDict, total=False): +class Actor(typing.TypedDict, total=False): administrator: Administrator anonymous: AnonymousUser impersonation: Impersonation @@ -36,29 +34,29 @@ class Actor(typing_extensions.TypedDict, total=False): user: User @typing.type_check_only -class Administrator(typing_extensions.TypedDict, total=False): ... +class Administrator(typing.TypedDict, total=False): ... @typing.type_check_only -class AnonymousUser(typing_extensions.TypedDict, total=False): ... +class AnonymousUser(typing.TypedDict, total=False): ... @typing.type_check_only -class Anyone(typing_extensions.TypedDict, total=False): ... +class Anyone(typing.TypedDict, total=False): ... @typing.type_check_only -class ApplicationReference(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["UNSPECIFIED_REFERENCE_TYPE", "LINK", "DISCUSS"] +class ApplicationReference(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED_REFERENCE_TYPE", "LINK", "DISCUSS"] @typing.type_check_only -class AppliedLabelChange(typing_extensions.TypedDict, total=False): +class AppliedLabelChange(typing.TypedDict, total=False): changes: _list[AppliedLabelChangeDetail] @typing.type_check_only -class AppliedLabelChangeDetail(typing_extensions.TypedDict, total=False): +class AppliedLabelChangeDetail(typing.TypedDict, total=False): fieldChanges: _list[FieldValueChange] label: str title: str types: _list[ - typing_extensions.Literal[ + typing.Literal[ "TYPE_UNSPECIFIED", "LABEL_ADDED", "LABEL_REMOVED", @@ -68,9 +66,9 @@ class AppliedLabelChangeDetail(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Assignment(typing_extensions.TypedDict, total=False): +class Assignment(typing.TypedDict, total=False): assignedUser: User - subtype: typing_extensions.Literal[ + subtype: typing.Literal[ "SUBTYPE_UNSPECIFIED", "ADDED", "DELETED", @@ -82,55 +80,55 @@ class Assignment(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): assignment: Assignment mentionedUsers: _list[User] post: Post suggestion: Suggestion @typing.type_check_only -class ConsolidationStrategy(typing_extensions.TypedDict, total=False): +class ConsolidationStrategy(typing.TypedDict, total=False): legacy: Legacy none: NoConsolidation @typing.type_check_only -class Copy(typing_extensions.TypedDict, total=False): +class Copy(typing.TypedDict, total=False): originalObject: TargetReference @typing.type_check_only -class Create(typing_extensions.TypedDict, total=False): +class Create(typing.TypedDict, total=False): copy: Copy new: New upload: Upload @typing.type_check_only -class DataLeakPreventionChange(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "FLAGGED", "CLEARED"] +class DataLeakPreventionChange(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "FLAGGED", "CLEARED"] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): value: str @typing.type_check_only -class Delete(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRASH", "PERMANENT_DELETE"] +class Delete(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "TRASH", "PERMANENT_DELETE"] @typing.type_check_only -class DeletedUser(typing_extensions.TypedDict, total=False): ... +class DeletedUser(typing.TypedDict, total=False): ... @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): legacyId: str name: str @typing.type_check_only -class Drive(typing_extensions.TypedDict, total=False): +class Drive(typing.TypedDict, total=False): name: str root: DriveItem title: str @typing.type_check_only -class DriveActivity(typing_extensions.TypedDict, total=False): +class DriveActivity(typing.TypedDict, total=False): actions: _list[Action] actors: _list[Actor] primaryActionDetail: ActionDetail @@ -139,16 +137,16 @@ class DriveActivity(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class DriveFile(typing_extensions.TypedDict, total=False): ... +class DriveFile(typing.TypedDict, total=False): ... @typing.type_check_only -class DriveFolder(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class DriveFolder(typing.TypedDict, total=False): + type: typing.Literal[ "TYPE_UNSPECIFIED", "MY_DRIVE_ROOT", "SHARED_DRIVE_ROOT", "STANDARD_FOLDER" ] @typing.type_check_only -class DriveItem(typing_extensions.TypedDict, total=False): +class DriveItem(typing.TypedDict, total=False): driveFile: DriveFile driveFolder: DriveFolder file: File @@ -159,7 +157,7 @@ class DriveItem(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class DriveItemReference(typing_extensions.TypedDict, total=False): +class DriveItemReference(typing.TypedDict, total=False): driveFile: DriveFile driveFolder: DriveFolder file: File @@ -168,15 +166,15 @@ class DriveItemReference(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class DriveReference(typing_extensions.TypedDict, total=False): +class DriveReference(typing.TypedDict, total=False): name: str title: str @typing.type_check_only -class Edit(typing_extensions.TypedDict, total=False): ... +class Edit(typing.TypedDict, total=False): ... @typing.type_check_only -class FieldValue(typing_extensions.TypedDict, total=False): +class FieldValue(typing.TypedDict, total=False): date: Date integer: Integer selection: Selection @@ -187,74 +185,74 @@ class FieldValue(typing_extensions.TypedDict, total=False): userList: UserList @typing.type_check_only -class FieldValueChange(typing_extensions.TypedDict, total=False): +class FieldValueChange(typing.TypedDict, total=False): displayName: str fieldId: str newValue: FieldValue oldValue: FieldValue @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): ... +class File(typing.TypedDict, total=False): ... @typing.type_check_only -class FileComment(typing_extensions.TypedDict, total=False): +class FileComment(typing.TypedDict, total=False): legacyCommentId: str legacyDiscussionId: str linkToDiscussion: str parent: DriveItem @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class Folder(typing.TypedDict, total=False): + type: typing.Literal[ "TYPE_UNSPECIFIED", "MY_DRIVE_ROOT", "TEAM_DRIVE_ROOT", "STANDARD_FOLDER" ] @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): email: str title: str @typing.type_check_only -class Impersonation(typing_extensions.TypedDict, total=False): +class Impersonation(typing.TypedDict, total=False): impersonatedUser: User @typing.type_check_only -class Integer(typing_extensions.TypedDict, total=False): +class Integer(typing.TypedDict, total=False): value: str @typing.type_check_only -class KnownUser(typing_extensions.TypedDict, total=False): +class KnownUser(typing.TypedDict, total=False): isCurrentUser: bool personName: str @typing.type_check_only -class Legacy(typing_extensions.TypedDict, total=False): ... +class Legacy(typing.TypedDict, total=False): ... @typing.type_check_only -class Move(typing_extensions.TypedDict, total=False): +class Move(typing.TypedDict, total=False): addedParents: _list[TargetReference] removedParents: _list[TargetReference] @typing.type_check_only -class New(typing_extensions.TypedDict, total=False): ... +class New(typing.TypedDict, total=False): ... @typing.type_check_only -class NoConsolidation(typing_extensions.TypedDict, total=False): ... +class NoConsolidation(typing.TypedDict, total=False): ... @typing.type_check_only -class Owner(typing_extensions.TypedDict, total=False): +class Owner(typing.TypedDict, total=False): domain: Domain drive: DriveReference teamDrive: TeamDriveReference user: User @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): allowDiscovery: bool anyone: Anyone domain: Domain group: Group - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "OWNER", "ORGANIZER", @@ -267,13 +265,13 @@ class Permission(typing_extensions.TypedDict, total=False): user: User @typing.type_check_only -class PermissionChange(typing_extensions.TypedDict, total=False): +class PermissionChange(typing.TypedDict, total=False): addedPermissions: _list[Permission] removedPermissions: _list[Permission] @typing.type_check_only -class Post(typing_extensions.TypedDict, total=False): - subtype: typing_extensions.Literal[ +class Post(typing.TypedDict, total=False): + subtype: typing.Literal[ "SUBTYPE_UNSPECIFIED", "ADDED", "DELETED", @@ -284,7 +282,7 @@ class Post(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class QueryDriveActivityRequest(typing_extensions.TypedDict, total=False): +class QueryDriveActivityRequest(typing.TypedDict, total=False): ancestorName: str consolidationStrategy: ConsolidationStrategy filter: str @@ -293,22 +291,22 @@ class QueryDriveActivityRequest(typing_extensions.TypedDict, total=False): pageToken: str @typing.type_check_only -class QueryDriveActivityResponse(typing_extensions.TypedDict, total=False): +class QueryDriveActivityResponse(typing.TypedDict, total=False): activities: _list[DriveActivity] nextPageToken: str @typing.type_check_only -class Rename(typing_extensions.TypedDict, total=False): +class Rename(typing.TypedDict, total=False): newTitle: str oldTitle: str @typing.type_check_only -class Restore(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "UNTRASH"] +class Restore(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "UNTRASH"] @typing.type_check_only -class RestrictionChange(typing_extensions.TypedDict, total=False): - feature: typing_extensions.Literal[ +class RestrictionChange(typing.TypedDict, total=False): + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "SHARING_OUTSIDE_DOMAIN", "DIRECT_SHARING", @@ -318,30 +316,30 @@ class RestrictionChange(typing_extensions.TypedDict, total=False): "READERS_CAN_DOWNLOAD", "WRITERS_CAN_DOWNLOAD", ] - newRestriction: typing_extensions.Literal[ + newRestriction: typing.Literal[ "RESTRICTION_UNSPECIFIED", "UNRESTRICTED", "FULLY_RESTRICTED" ] @typing.type_check_only -class Selection(typing_extensions.TypedDict, total=False): +class Selection(typing.TypedDict, total=False): displayName: str value: str @typing.type_check_only -class SelectionList(typing_extensions.TypedDict, total=False): +class SelectionList(typing.TypedDict, total=False): values: _list[Selection] @typing.type_check_only -class SettingsChange(typing_extensions.TypedDict, total=False): +class SettingsChange(typing.TypedDict, total=False): restrictionChanges: _list[RestrictionChange] @typing.type_check_only -class SingleUser(typing_extensions.TypedDict, total=False): +class SingleUser(typing.TypedDict, total=False): value: str @typing.type_check_only -class Suggestion(typing_extensions.TypedDict, total=False): - subtype: typing_extensions.Literal[ +class Suggestion(typing.TypedDict, total=False): + subtype: typing.Literal[ "SUBTYPE_UNSPECIFIED", "ADDED", "DELETED", @@ -354,60 +352,58 @@ class Suggestion(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SystemEvent(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "USER_DELETION", "TRASH_AUTO_PURGE" - ] +class SystemEvent(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "USER_DELETION", "TRASH_AUTO_PURGE"] @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): drive: Drive driveItem: DriveItem fileComment: FileComment teamDrive: TeamDrive @typing.type_check_only -class TargetReference(typing_extensions.TypedDict, total=False): +class TargetReference(typing.TypedDict, total=False): drive: DriveReference driveItem: DriveItemReference teamDrive: TeamDriveReference @typing.type_check_only -class TeamDrive(typing_extensions.TypedDict, total=False): +class TeamDrive(typing.TypedDict, total=False): name: str root: DriveItem title: str @typing.type_check_only -class TeamDriveReference(typing_extensions.TypedDict, total=False): +class TeamDriveReference(typing.TypedDict, total=False): name: str title: str @typing.type_check_only -class Text(typing_extensions.TypedDict, total=False): +class Text(typing.TypedDict, total=False): value: str @typing.type_check_only -class TextList(typing_extensions.TypedDict, total=False): +class TextList(typing.TypedDict, total=False): values: _list[Text] @typing.type_check_only -class TimeRange(typing_extensions.TypedDict, total=False): +class TimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UnknownUser(typing_extensions.TypedDict, total=False): ... +class UnknownUser(typing.TypedDict, total=False): ... @typing.type_check_only -class Upload(typing_extensions.TypedDict, total=False): ... +class Upload(typing.TypedDict, total=False): ... @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): deletedUser: DeletedUser knownUser: KnownUser unknownUser: UnknownUser @typing.type_check_only -class UserList(typing_extensions.TypedDict, total=False): +class UserList(typing.TypedDict, total=False): values: _list[SingleUser] diff --git a/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi b/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi index b02f6dd59..4c3312303 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -204,8 +203,7 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): name: str, languageCode: str | None = ..., useAdminAccess: bool | None = ..., - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] - | None = ..., + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleAppsDriveLabelsV2LabelHttpRequest: ... def list( @@ -213,7 +211,7 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): *, customer: str | None = ..., languageCode: str | None = ..., - minimumRole: typing_extensions.Literal[ + minimumRole: typing.Literal[ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ] | None = ..., @@ -221,8 +219,7 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., publishedOnly: bool | None = ..., useAdminAccess: bool | None = ..., - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] - | None = ..., + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleAppsDriveLabelsV2ListLabelsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi b/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi index 6d87e18f2..f283f272d 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2/schemas.pyi @@ -1,91 +1,87 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleAppsDriveLabelsV2BadgeColors(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2BadgeColors(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor foregroundColor: GoogleTypeColor soloColor: GoogleTypeColor @typing.type_check_only -class GoogleAppsDriveLabelsV2BadgeConfig(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2BadgeConfig(typing.TypedDict, total=False): color: GoogleTypeColor priorityOverride: str @typing.type_check_only class GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest] useAdminAccess: bool @typing.type_check_only class GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest] useAdminAccess: bool @typing.type_check_only class GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): permissions: _list[GoogleAppsDriveLabelsV2LabelPermission] @typing.type_check_only -class GoogleAppsDriveLabelsV2DateLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2DateLimits(typing.TypedDict, total=False): maxValue: GoogleTypeDate minValue: GoogleTypeDate @typing.type_check_only class GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str useAdminAccess: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest(typing.TypedDict, total=False): languageCode: str requests: _list[GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest] useAdminAccess: bool - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] writeControl: GoogleAppsDriveLabelsV2WriteControl @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: GoogleAppsDriveLabelsV2Field @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): choice: GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice fieldId: str @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledPolicy: GoogleAppsDriveLabelsV2LifecycleDisabledPolicy id: str @@ -93,7 +89,7 @@ class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest( @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledPolicy: GoogleAppsDriveLabelsV2LifecycleDisabledPolicy fieldId: str @@ -102,20 +98,20 @@ class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceReques @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createField: GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest createSelectionChoice: ( @@ -146,7 +142,7 @@ class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest( @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str properties: GoogleAppsDriveLabelsV2FieldProperties @@ -154,7 +150,7 @@ class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dateOptions: GoogleAppsDriveLabelsV2FieldDateOptions id: str @@ -166,14 +162,14 @@ class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest( @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): properties: GoogleAppsDriveLabelsV2LabelProperties updateMask: str @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @@ -181,59 +177,57 @@ class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropert updateMask: str @typing.type_check_only -class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse(typing.TypedDict, total=False): responses: _list[GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse] updatedLabel: GoogleAppsDriveLabelsV2Label @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str priority: int @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createField: GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse createSelectionChoice: ( @@ -264,30 +258,28 @@ class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse( @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): priority: int @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): priority: int @typing.type_check_only -class GoogleAppsDriveLabelsV2DisableLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2DisableLabelRequest(typing.TypedDict, total=False): disabledPolicy: GoogleAppsDriveLabelsV2LifecycleDisabledPolicy languageCode: str updateMask: str @@ -295,15 +287,13 @@ class GoogleAppsDriveLabelsV2DisableLabelRequest( writeControl: GoogleAppsDriveLabelsV2WriteControl @typing.type_check_only -class GoogleAppsDriveLabelsV2EnableLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2EnableLabelRequest(typing.TypedDict, total=False): languageCode: str useAdminAccess: bool writeControl: GoogleAppsDriveLabelsV2WriteControl @typing.type_check_only -class GoogleAppsDriveLabelsV2Field(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2Field(typing.TypedDict, total=False): appliedCapabilities: GoogleAppsDriveLabelsV2FieldAppliedCapabilities createTime: str creator: GoogleAppsDriveLabelsV2UserInfo @@ -326,40 +316,32 @@ class GoogleAppsDriveLabelsV2Field(typing_extensions.TypedDict, total=False): userOptions: GoogleAppsDriveLabelsV2FieldUserOptions @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldAppliedCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2FieldAppliedCapabilities(typing.TypedDict, total=False): canRead: bool canSearch: bool canWrite: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldDateOptions(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2FieldDateOptions(typing.TypedDict, total=False): dateFormat: str - dateFormatType: typing_extensions.Literal[ - "DATE_FORMAT_UNSPECIFIED", "LONG_DATE", "SHORT_DATE" - ] + dateFormatType: typing.Literal["DATE_FORMAT_UNSPECIFIED", "LONG_DATE", "SHORT_DATE"] maxValue: GoogleTypeDate minValue: GoogleTypeDate @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldDisplayHints( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2FieldDisplayHints(typing.TypedDict, total=False): disabled: bool hiddenInSearch: bool required: bool shownInApply: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldIntegerOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2FieldIntegerOptions(typing.TypedDict, total=False): maxValue: str minValue: str @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2FieldLimits(typing.TypedDict, total=False): dateLimits: GoogleAppsDriveLabelsV2DateLimits integerLimits: GoogleAppsDriveLabelsV2IntegerLimits longTextLimits: GoogleAppsDriveLabelsV2LongTextLimits @@ -371,35 +353,29 @@ class GoogleAppsDriveLabelsV2FieldLimits(typing_extensions.TypedDict, total=Fals userLimits: GoogleAppsDriveLabelsV2UserLimits @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldListOptions(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2FieldListOptions(typing.TypedDict, total=False): maxEntries: int @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldProperties(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2FieldProperties(typing.TypedDict, total=False): displayName: str insertBeforeField: str required: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldSchemaCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2FieldSchemaCapabilities(typing.TypedDict, total=False): canDelete: bool canDisable: bool canEnable: bool canUpdate: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldSelectionOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2FieldSelectionOptions(typing.TypedDict, total=False): choices: _list[GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice] listOptions: GoogleAppsDriveLabelsV2FieldListOptions @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice(typing.TypedDict, total=False): appliedCapabilities: ( GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities ) @@ -422,7 +398,7 @@ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice( @typing.type_check_only class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canRead: bool canSearch: bool @@ -430,7 +406,7 @@ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities( @typing.type_check_only class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): badgeColors: GoogleAppsDriveLabelsV2BadgeColors badgePriority: str @@ -441,7 +417,7 @@ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints( @typing.type_check_only class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): badgeConfig: GoogleAppsDriveLabelsV2BadgeConfig description: str @@ -450,7 +426,7 @@ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties( @typing.type_check_only class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canDelete: bool canDisable: bool @@ -458,21 +434,21 @@ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities( canUpdate: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldTextOptions(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2FieldTextOptions(typing.TypedDict, total=False): maxLength: int minLength: int @typing.type_check_only -class GoogleAppsDriveLabelsV2FieldUserOptions(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2FieldUserOptions(typing.TypedDict, total=False): listOptions: GoogleAppsDriveLabelsV2FieldListOptions @typing.type_check_only -class GoogleAppsDriveLabelsV2IntegerLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2IntegerLimits(typing.TypedDict, total=False): maxValue: str minValue: str @typing.type_check_only -class GoogleAppsDriveLabelsV2Label(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2Label(typing.TypedDict, total=False): appliedCapabilities: GoogleAppsDriveLabelsV2LabelAppliedCapabilities appliedLabelPolicy: GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy createTime: str @@ -484,9 +460,7 @@ class GoogleAppsDriveLabelsV2Label(typing_extensions.TypedDict, total=False): enabledAppSettings: GoogleAppsDriveLabelsV2LabelEnabledAppSettings fields: _list[GoogleAppsDriveLabelsV2Field] id: str - labelType: typing_extensions.Literal[ - "LABEL_TYPE_UNSPECIFIED", "SHARED", "ADMIN", "GOOGLE_APP" - ] + labelType: typing.Literal["LABEL_TYPE_UNSPECIFIED", "SHARED", "ADMIN", "GOOGLE_APP"] learnMoreUri: str lifecycle: GoogleAppsDriveLabelsV2Lifecycle lockStatus: GoogleAppsDriveLabelsV2LockStatus @@ -500,44 +474,36 @@ class GoogleAppsDriveLabelsV2Label(typing_extensions.TypedDict, total=False): schemaCapabilities: GoogleAppsDriveLabelsV2LabelSchemaCapabilities @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelAppliedCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2LabelAppliedCapabilities(typing.TypedDict, total=False): canApply: bool canRead: bool canRemove: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy( - typing_extensions.TypedDict, total=False -): - copyMode: typing_extensions.Literal[ +class GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy(typing.TypedDict, total=False): + copyMode: typing.Literal[ "COPY_MODE_UNSPECIFIED", "DO_NOT_COPY", "ALWAYS_COPY", "COPY_APPLIABLE" ] @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelDisplayHints( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2LabelDisplayHints(typing.TypedDict, total=False): disabled: bool hiddenInSearch: bool priority: str shownInApply: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelEnabledAppSettings( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2LabelEnabledAppSettings(typing.TypedDict, total=False): enabledApps: _list[GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp] @typing.type_check_only class GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - app: typing_extensions.Literal["APP_UNSPECIFIED", "DRIVE", "GMAIL"] + app: typing.Literal["APP_UNSPECIFIED", "DRIVE", "GMAIL"] @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2LabelLimits(typing.TypedDict, total=False): fieldLimits: GoogleAppsDriveLabelsV2FieldLimits maxDeletedFields: int maxDescriptionLength: int @@ -547,7 +513,7 @@ class GoogleAppsDriveLabelsV2LabelLimits(typing_extensions.TypedDict, total=Fals name: str @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelLock(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2LabelLock(typing.TypedDict, total=False): capabilities: GoogleAppsDriveLabelsV2LabelLockCapabilities choiceId: str createTime: str @@ -555,98 +521,86 @@ class GoogleAppsDriveLabelsV2LabelLock(typing_extensions.TypedDict, total=False) deleteTime: str fieldId: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETING"] @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelLockCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2LabelLockCapabilities(typing.TypedDict, total=False): canViewPolicy: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelPermission(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2LabelPermission(typing.TypedDict, total=False): audience: str email: str group: str name: str person: str - role: typing_extensions.Literal[ + role: typing.Literal[ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ] @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelProperties(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2LabelProperties(typing.TypedDict, total=False): description: str title: str @typing.type_check_only -class GoogleAppsDriveLabelsV2LabelSchemaCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2LabelSchemaCapabilities(typing.TypedDict, total=False): canDelete: bool canDisable: bool canEnable: bool canUpdate: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2Lifecycle(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2Lifecycle(typing.TypedDict, total=False): disabledPolicy: GoogleAppsDriveLabelsV2LifecycleDisabledPolicy hasUnpublishedChanges: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNPUBLISHED_DRAFT", "PUBLISHED", "DISABLED", "DELETED" ] @typing.type_check_only -class GoogleAppsDriveLabelsV2LifecycleDisabledPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2LifecycleDisabledPolicy(typing.TypedDict, total=False): hideInSearch: bool showInApply: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2ListLabelLocksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2ListLabelLocksResponse(typing.TypedDict, total=False): labelLocks: _list[GoogleAppsDriveLabelsV2LabelLock] nextPageToken: str @typing.type_check_only class GoogleAppsDriveLabelsV2ListLabelPermissionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelPermissions: _list[GoogleAppsDriveLabelsV2LabelPermission] nextPageToken: str @typing.type_check_only -class GoogleAppsDriveLabelsV2ListLabelsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2ListLabelsResponse(typing.TypedDict, total=False): labels: _list[GoogleAppsDriveLabelsV2Label] nextPageToken: str @typing.type_check_only -class GoogleAppsDriveLabelsV2ListLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2ListLimits(typing.TypedDict, total=False): maxEntries: int @typing.type_check_only -class GoogleAppsDriveLabelsV2LockStatus(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2LockStatus(typing.TypedDict, total=False): locked: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2LongTextLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2LongTextLimits(typing.TypedDict, total=False): maxLength: int minLength: int @typing.type_check_only -class GoogleAppsDriveLabelsV2PublishLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2PublishLabelRequest(typing.TypedDict, total=False): languageCode: str useAdminAccess: bool writeControl: GoogleAppsDriveLabelsV2WriteControl @typing.type_check_only -class GoogleAppsDriveLabelsV2SelectionLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2SelectionLimits(typing.TypedDict, total=False): listLimits: GoogleAppsDriveLabelsV2ListLimits maxChoices: int maxDeletedChoices: int @@ -654,40 +608,38 @@ class GoogleAppsDriveLabelsV2SelectionLimits(typing_extensions.TypedDict, total= maxIdLength: int @typing.type_check_only -class GoogleAppsDriveLabelsV2TextLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2TextLimits(typing.TypedDict, total=False): maxLength: int minLength: int @typing.type_check_only -class GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest( - typing_extensions.TypedDict, total=False -): - copyMode: typing_extensions.Literal[ +class GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest(typing.TypedDict, total=False): + copyMode: typing.Literal[ "COPY_MODE_UNSPECIFIED", "DO_NOT_COPY", "ALWAYS_COPY", "COPY_APPLIABLE" ] languageCode: str useAdminAccess: bool - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] @typing.type_check_only class GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabledAppSettings: GoogleAppsDriveLabelsV2LabelEnabledAppSettings languageCode: str useAdminAccess: bool - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] @typing.type_check_only class GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelPermission: GoogleAppsDriveLabelsV2LabelPermission parent: str useAdminAccess: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2UserCapabilities(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2UserCapabilities(typing.TypedDict, total=False): canAccessLabelManager: bool canAdministrateLabels: bool canCreateAdminLabels: bool @@ -695,29 +647,29 @@ class GoogleAppsDriveLabelsV2UserCapabilities(typing_extensions.TypedDict, total name: str @typing.type_check_only -class GoogleAppsDriveLabelsV2UserInfo(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2UserInfo(typing.TypedDict, total=False): person: str @typing.type_check_only -class GoogleAppsDriveLabelsV2UserLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2UserLimits(typing.TypedDict, total=False): listLimits: GoogleAppsDriveLabelsV2ListLimits @typing.type_check_only -class GoogleAppsDriveLabelsV2WriteControl(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2WriteControl(typing.TypedDict, total=False): requiredRevisionId: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi b/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi index 2359e85a8..68672d200 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -207,8 +206,7 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): name: str, languageCode: str | None = ..., useAdminAccess: bool | None = ..., - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] - | None = ..., + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleAppsDriveLabelsV2betaLabelHttpRequest: ... def list( @@ -216,7 +214,7 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): *, customer: str | None = ..., languageCode: str | None = ..., - minimumRole: typing_extensions.Literal[ + minimumRole: typing.Literal[ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ] | None = ..., @@ -224,8 +222,7 @@ class DriveLabelsResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., publishedOnly: bool | None = ..., useAdminAccess: bool | None = ..., - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] - | None = ..., + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleAppsDriveLabelsV2betaListLabelsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi index cb68553a1..6624fef52 100644 --- a/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/drivelabels/v2beta/schemas.pyi @@ -1,91 +1,87 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleAppsDriveLabelsV2betaBadgeColors(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaBadgeColors(typing.TypedDict, total=False): backgroundColor: GoogleTypeColor foregroundColor: GoogleTypeColor soloColor: GoogleTypeColor @typing.type_check_only -class GoogleAppsDriveLabelsV2betaBadgeConfig(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaBadgeConfig(typing.TypedDict, total=False): color: GoogleTypeColor priorityOverride: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest] useAdminAccess: bool @typing.type_check_only class GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest] useAdminAccess: bool @typing.type_check_only class GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): permissions: _list[GoogleAppsDriveLabelsV2betaLabelPermission] @typing.type_check_only -class GoogleAppsDriveLabelsV2betaDateLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaDateLimits(typing.TypedDict, total=False): maxValue: GoogleTypeDate minValue: GoogleTypeDate @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str useAdminAccess: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest(typing.TypedDict, total=False): languageCode: str requests: _list[GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest] useAdminAccess: bool - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] writeControl: GoogleAppsDriveLabelsV2betaWriteControl @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): field: GoogleAppsDriveLabelsV2betaField @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): choice: GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice fieldId: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledPolicy: GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy id: str @@ -93,7 +89,7 @@ class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest( @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disabledPolicy: GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy fieldId: str @@ -102,20 +98,20 @@ class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRe @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createField: GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest createSelectionChoice: ( @@ -146,7 +142,7 @@ class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest( @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str properties: GoogleAppsDriveLabelsV2betaFieldProperties @@ -154,7 +150,7 @@ class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesReq @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dateOptions: GoogleAppsDriveLabelsV2betaFieldDateOptions id: str @@ -166,14 +162,14 @@ class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest( @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): properties: GoogleAppsDriveLabelsV2betaLabelProperties updateMask: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @@ -182,58 +178,58 @@ class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePro @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse] updatedLabel: GoogleAppsDriveLabelsV2betaLabel @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str priority: int @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldId: str id: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableFieldResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableSelectionChoiceResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createField: GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse createSelectionChoice: ( @@ -264,30 +260,28 @@ class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse( @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldPropertiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): priority: int @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldTypeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateLabelPropertiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): priority: int @typing.type_check_only -class GoogleAppsDriveLabelsV2betaDisableLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaDisableLabelRequest(typing.TypedDict, total=False): disabledPolicy: GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy languageCode: str updateMask: str @@ -295,15 +289,13 @@ class GoogleAppsDriveLabelsV2betaDisableLabelRequest( writeControl: GoogleAppsDriveLabelsV2betaWriteControl @typing.type_check_only -class GoogleAppsDriveLabelsV2betaEnableLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaEnableLabelRequest(typing.TypedDict, total=False): languageCode: str useAdminAccess: bool writeControl: GoogleAppsDriveLabelsV2betaWriteControl @typing.type_check_only -class GoogleAppsDriveLabelsV2betaField(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaField(typing.TypedDict, total=False): appliedCapabilities: GoogleAppsDriveLabelsV2betaFieldAppliedCapabilities createTime: str creator: GoogleAppsDriveLabelsV2betaUserInfo @@ -327,41 +319,33 @@ class GoogleAppsDriveLabelsV2betaField(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleAppsDriveLabelsV2betaFieldAppliedCapabilities( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canRead: bool canSearch: bool canWrite: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldDateOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldDateOptions(typing.TypedDict, total=False): dateFormat: str - dateFormatType: typing_extensions.Literal[ - "DATE_FORMAT_UNSPECIFIED", "LONG_DATE", "SHORT_DATE" - ] + dateFormatType: typing.Literal["DATE_FORMAT_UNSPECIFIED", "LONG_DATE", "SHORT_DATE"] maxValue: GoogleTypeDate minValue: GoogleTypeDate @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldDisplayHints( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldDisplayHints(typing.TypedDict, total=False): disabled: bool hiddenInSearch: bool required: bool shownInApply: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldIntegerOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldIntegerOptions(typing.TypedDict, total=False): maxValue: str minValue: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaFieldLimits(typing.TypedDict, total=False): dateLimits: GoogleAppsDriveLabelsV2betaDateLimits integerLimits: GoogleAppsDriveLabelsV2betaIntegerLimits longTextLimits: GoogleAppsDriveLabelsV2betaLongTextLimits @@ -373,38 +357,30 @@ class GoogleAppsDriveLabelsV2betaFieldLimits(typing_extensions.TypedDict, total= userLimits: GoogleAppsDriveLabelsV2betaUserLimits @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldListOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldListOptions(typing.TypedDict, total=False): maxEntries: int @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldProperties( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldProperties(typing.TypedDict, total=False): displayName: str insertBeforeField: str required: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldSchemaCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldSchemaCapabilities(typing.TypedDict, total=False): canDelete: bool canDisable: bool canEnable: bool canUpdate: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldSelectionOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldSelectionOptions(typing.TypedDict, total=False): choices: _list[GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice] listOptions: GoogleAppsDriveLabelsV2betaFieldListOptions @typing.type_check_only class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appliedCapabilities: ( GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceAppliedCapabilities @@ -428,7 +404,7 @@ class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice( @typing.type_check_only class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceAppliedCapabilities( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canRead: bool canSearch: bool @@ -436,7 +412,7 @@ class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceAppliedCapabilities( @typing.type_check_only class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceDisplayHints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): badgeColors: GoogleAppsDriveLabelsV2betaBadgeColors badgePriority: str @@ -447,7 +423,7 @@ class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceDisplayHints( @typing.type_check_only class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): badgeConfig: GoogleAppsDriveLabelsV2betaBadgeConfig description: str @@ -456,7 +432,7 @@ class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties( @typing.type_check_only class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canDelete: bool canDisable: bool @@ -464,27 +440,21 @@ class GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities( canUpdate: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldTextOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldTextOptions(typing.TypedDict, total=False): maxLength: int minLength: int @typing.type_check_only -class GoogleAppsDriveLabelsV2betaFieldUserOptions( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaFieldUserOptions(typing.TypedDict, total=False): listOptions: GoogleAppsDriveLabelsV2betaFieldListOptions @typing.type_check_only -class GoogleAppsDriveLabelsV2betaIntegerLimits( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaIntegerLimits(typing.TypedDict, total=False): maxValue: str minValue: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabel(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaLabel(typing.TypedDict, total=False): appliedCapabilities: GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities appliedLabelPolicy: GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy createTime: str @@ -496,9 +466,7 @@ class GoogleAppsDriveLabelsV2betaLabel(typing_extensions.TypedDict, total=False) enabledAppSettings: GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings fields: _list[GoogleAppsDriveLabelsV2betaField] id: str - labelType: typing_extensions.Literal[ - "LABEL_TYPE_UNSPECIFIED", "SHARED", "ADMIN", "GOOGLE_APP" - ] + labelType: typing.Literal["LABEL_TYPE_UNSPECIFIED", "SHARED", "ADMIN", "GOOGLE_APP"] learnMoreUri: str lifecycle: GoogleAppsDriveLabelsV2betaLifecycle lockStatus: GoogleAppsDriveLabelsV2betaLockStatus @@ -513,43 +481,37 @@ class GoogleAppsDriveLabelsV2betaLabel(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canApply: bool canRead: bool canRemove: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy( - typing_extensions.TypedDict, total=False -): - copyMode: typing_extensions.Literal[ +class GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy(typing.TypedDict, total=False): + copyMode: typing.Literal[ "COPY_MODE_UNSPECIFIED", "DO_NOT_COPY", "ALWAYS_COPY", "COPY_APPLIABLE" ] @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelDisplayHints( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLabelDisplayHints(typing.TypedDict, total=False): disabled: bool hiddenInSearch: bool priority: str shownInApply: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings(typing.TypedDict, total=False): enabledApps: _list[GoogleAppsDriveLabelsV2betaLabelEnabledAppSettingsEnabledApp] @typing.type_check_only class GoogleAppsDriveLabelsV2betaLabelEnabledAppSettingsEnabledApp( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - app: typing_extensions.Literal["APP_UNSPECIFIED", "DRIVE", "GMAIL"] + app: typing.Literal["APP_UNSPECIFIED", "DRIVE", "GMAIL"] @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaLabelLimits(typing.TypedDict, total=False): fieldLimits: GoogleAppsDriveLabelsV2betaFieldLimits maxDeletedFields: int maxDescriptionLength: int @@ -559,7 +521,7 @@ class GoogleAppsDriveLabelsV2betaLabelLimits(typing_extensions.TypedDict, total= name: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelLock(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaLabelLock(typing.TypedDict, total=False): capabilities: GoogleAppsDriveLabelsV2betaLabelLockCapabilities choiceId: str createTime: str @@ -567,106 +529,86 @@ class GoogleAppsDriveLabelsV2betaLabelLock(typing_extensions.TypedDict, total=Fa deleteTime: str fieldId: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETING"] @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelLockCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLabelLockCapabilities(typing.TypedDict, total=False): canViewPolicy: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelPermission( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLabelPermission(typing.TypedDict, total=False): audience: str email: str group: str name: str person: str - role: typing_extensions.Literal[ + role: typing.Literal[ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ] @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelProperties( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLabelProperties(typing.TypedDict, total=False): description: str title: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities(typing.TypedDict, total=False): canDelete: bool canDisable: bool canEnable: bool canUpdate: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLifecycle(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaLifecycle(typing.TypedDict, total=False): disabledPolicy: GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy hasUnpublishedChanges: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNPUBLISHED_DRAFT", "PUBLISHED", "DISABLED", "DELETED" ] @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy(typing.TypedDict, total=False): hideInSearch: bool showInApply: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaListLabelLocksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaListLabelLocksResponse(typing.TypedDict, total=False): labelLocks: _list[GoogleAppsDriveLabelsV2betaLabelLock] nextPageToken: str @typing.type_check_only class GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelPermissions: _list[GoogleAppsDriveLabelsV2betaLabelPermission] nextPageToken: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaListLabelsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaListLabelsResponse(typing.TypedDict, total=False): labels: _list[GoogleAppsDriveLabelsV2betaLabel] nextPageToken: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaListLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaListLimits(typing.TypedDict, total=False): maxEntries: int @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLockStatus(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaLockStatus(typing.TypedDict, total=False): locked: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaLongTextLimits( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaLongTextLimits(typing.TypedDict, total=False): maxLength: int minLength: int @typing.type_check_only -class GoogleAppsDriveLabelsV2betaPublishLabelRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaPublishLabelRequest(typing.TypedDict, total=False): languageCode: str useAdminAccess: bool writeControl: GoogleAppsDriveLabelsV2betaWriteControl @typing.type_check_only -class GoogleAppsDriveLabelsV2betaSelectionLimits( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaSelectionLimits(typing.TypedDict, total=False): listLimits: GoogleAppsDriveLabelsV2betaListLimits maxChoices: int maxDeletedChoices: int @@ -674,42 +616,40 @@ class GoogleAppsDriveLabelsV2betaSelectionLimits( maxIdLength: int @typing.type_check_only -class GoogleAppsDriveLabelsV2betaTextLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaTextLimits(typing.TypedDict, total=False): maxLength: int minLength: int @typing.type_check_only class GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - copyMode: typing_extensions.Literal[ + copyMode: typing.Literal[ "COPY_MODE_UNSPECIFIED", "DO_NOT_COPY", "ALWAYS_COPY", "COPY_APPLIABLE" ] languageCode: str useAdminAccess: bool - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] @typing.type_check_only class GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabledAppSettings: GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings languageCode: str useAdminAccess: bool - view: typing_extensions.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] + view: typing.Literal["LABEL_VIEW_BASIC", "LABEL_VIEW_FULL"] @typing.type_check_only class GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labelPermission: GoogleAppsDriveLabelsV2betaLabelPermission parent: str useAdminAccess: bool @typing.type_check_only -class GoogleAppsDriveLabelsV2betaUserCapabilities( - typing_extensions.TypedDict, total=False -): +class GoogleAppsDriveLabelsV2betaUserCapabilities(typing.TypedDict, total=False): canAccessLabelManager: bool canAdministrateLabels: bool canCreateAdminLabels: bool @@ -717,29 +657,29 @@ class GoogleAppsDriveLabelsV2betaUserCapabilities( name: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaUserInfo(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaUserInfo(typing.TypedDict, total=False): person: str @typing.type_check_only -class GoogleAppsDriveLabelsV2betaUserLimits(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaUserLimits(typing.TypedDict, total=False): listLimits: GoogleAppsDriveLabelsV2betaListLimits @typing.type_check_only -class GoogleAppsDriveLabelsV2betaWriteControl(typing_extensions.TypedDict, total=False): +class GoogleAppsDriveLabelsV2betaWriteControl(typing.TypedDict, total=False): requiredRevisionId: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeColor(typing_extensions.TypedDict, total=False): +class GoogleTypeColor(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/essentialcontacts/v1/resources.pyi b/googleapiclient-stubs/_apis/essentialcontacts/v1/resources.pyi index cc2311b76..35af97e82 100644 --- a/googleapiclient-stubs/_apis/essentialcontacts/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/essentialcontacts/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -21,7 +20,7 @@ class EssentialcontactsResource(googleapiclient.discovery.Resource): self, *, parent: str, - notificationCategories: typing_extensions.Literal[ + notificationCategories: typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", @@ -33,7 +32,7 @@ class EssentialcontactsResource(googleapiclient.discovery.Resource): "TECHNICAL_INCIDENTS", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", @@ -111,7 +110,7 @@ class EssentialcontactsResource(googleapiclient.discovery.Resource): self, *, parent: str, - notificationCategories: typing_extensions.Literal[ + notificationCategories: typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", @@ -123,7 +122,7 @@ class EssentialcontactsResource(googleapiclient.discovery.Resource): "TECHNICAL_INCIDENTS", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", @@ -201,7 +200,7 @@ class EssentialcontactsResource(googleapiclient.discovery.Resource): self, *, parent: str, - notificationCategories: typing_extensions.Literal[ + notificationCategories: typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", @@ -213,7 +212,7 @@ class EssentialcontactsResource(googleapiclient.discovery.Resource): "TECHNICAL_INCIDENTS", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", diff --git a/googleapiclient-stubs/_apis/essentialcontacts/v1/schemas.pyi b/googleapiclient-stubs/_apis/essentialcontacts/v1/schemas.pyi index 159ccddfd..9f044b427 100644 --- a/googleapiclient-stubs/_apis/essentialcontacts/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/essentialcontacts/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudEssentialcontactsV1ComputeContactsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contacts: _list[GoogleCloudEssentialcontactsV1Contact] nextPageToken: str @typing.type_check_only -class GoogleCloudEssentialcontactsV1Contact(typing_extensions.TypedDict, total=False): +class GoogleCloudEssentialcontactsV1Contact(typing.TypedDict, total=False): email: str languageTag: str name: str notificationCategorySubscriptions: _list[ - typing_extensions.Literal[ + typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", @@ -30,23 +28,19 @@ class GoogleCloudEssentialcontactsV1Contact(typing_extensions.TypedDict, total=F ] ] validateTime: str - validationState: typing_extensions.Literal[ - "VALIDATION_STATE_UNSPECIFIED", "VALID", "INVALID" - ] + validationState: typing.Literal["VALIDATION_STATE_UNSPECIFIED", "VALID", "INVALID"] @typing.type_check_only -class GoogleCloudEssentialcontactsV1ListContactsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudEssentialcontactsV1ListContactsResponse(typing.TypedDict, total=False): contacts: _list[GoogleCloudEssentialcontactsV1Contact] nextPageToken: str @typing.type_check_only class GoogleCloudEssentialcontactsV1SendTestMessageRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contacts: _list[str] - notificationCategory: typing_extensions.Literal[ + notificationCategory: typing.Literal[ "NOTIFICATION_CATEGORY_UNSPECIFIED", "ALL", "SUSPENSION", @@ -59,4 +53,4 @@ class GoogleCloudEssentialcontactsV1SendTestMessageRequest( ] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi index b8d6dd7af..403a38ef3 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi index c772c4d9b..cb51de3a5 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): activationToken: str createTime: str cryptoKeyName: str @@ -32,14 +30,12 @@ class Channel(typing_extensions.TypedDict, total=False): provider: str pubsubTopic: str satisfiesPzs: bool - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "ACTIVE", "INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "INACTIVE"] uid: str updateTime: str @typing.type_check_only -class ChannelConnection(typing_extensions.TypedDict, total=False): +class ChannelConnection(typing.TypedDict, total=False): activationToken: str channel: str createTime: str @@ -49,13 +45,13 @@ class ChannelConnection(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CloudRun(typing_extensions.TypedDict, total=False): +class CloudRun(typing.TypedDict, total=False): path: str region: str service: str @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): cloudFunction: str cloudRun: CloudRun gke: GKE @@ -64,10 +60,10 @@ class Destination(typing_extensions.TypedDict, total=False): workflow: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Enrollment(typing_extensions.TypedDict, total=False): +class Enrollment(typing.TypedDict, total=False): annotations: dict[str, typing.Any] celMatch: str createTime: str @@ -81,34 +77,34 @@ class Enrollment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class EventFilter(typing_extensions.TypedDict, total=False): +class EventFilter(typing.TypedDict, total=False): attribute: str operator: str value: str @typing.type_check_only -class EventType(typing_extensions.TypedDict, total=False): +class EventType(typing.TypedDict, total=False): description: str eventSchemaUri: str filteringAttributes: _list[FilteringAttribute] type: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FilteringAttribute(typing_extensions.TypedDict, total=False): +class FilteringAttribute(typing.TypedDict, total=False): attribute: str description: str pathPatternSupported: bool required: bool @typing.type_check_only -class GKE(typing_extensions.TypedDict, total=False): +class GKE(typing.TypedDict, total=False): cluster: str location: str namespace: str @@ -116,7 +112,7 @@ class GKE(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class GoogleApiSource(typing_extensions.TypedDict, total=False): +class GoogleApiSource(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str cryptoKeyName: str @@ -132,16 +128,14 @@ class GoogleApiSource(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleChannelConfig(typing_extensions.TypedDict, total=False): +class GoogleChannelConfig(typing.TypedDict, total=False): cryptoKeyName: str labels: dict[str, typing.Any] name: str updateTime: str @typing.type_check_only -class GoogleCloudEventarcV1PipelineDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudEventarcV1PipelineDestination(typing.TypedDict, total=False): authenticationConfig: GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig httpEndpoint: GoogleCloudEventarcV1PipelineDestinationHttpEndpoint messageBus: str @@ -152,94 +146,88 @@ class GoogleCloudEventarcV1PipelineDestination( @typing.type_check_only class GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleOidc: GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken oauthToken: GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken @typing.type_check_only class GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scope: str serviceAccount: str @typing.type_check_only class GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audience: str serviceAccount: str @typing.type_check_only class GoogleCloudEventarcV1PipelineDestinationHttpEndpoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): messageBindingTemplate: str uri: str @typing.type_check_only class GoogleCloudEventarcV1PipelineDestinationNetworkConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): networkAttachment: str @typing.type_check_only -class GoogleCloudEventarcV1PipelineMediation(typing_extensions.TypedDict, total=False): +class GoogleCloudEventarcV1PipelineMediation(typing.TypedDict, total=False): transformation: GoogleCloudEventarcV1PipelineMediationTransformation @typing.type_check_only class GoogleCloudEventarcV1PipelineMediationTransformation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): transformationTemplate: str @typing.type_check_only -class GoogleCloudEventarcV1PipelineMessagePayloadFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudEventarcV1PipelineMessagePayloadFormat(typing.TypedDict, total=False): avro: GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat json: GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat protobuf: GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat @typing.type_check_only class GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): schemaDefinition: str @typing.type_check_only class GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): schemaDefinition: str @typing.type_check_only -class GoogleCloudEventarcV1PipelineRetryPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudEventarcV1PipelineRetryPolicy(typing.TypedDict, total=False): maxAttempts: int maxRetryDelay: str minRetryDelay: str @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -247,76 +235,76 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class HttpEndpoint(typing_extensions.TypedDict, total=False): +class HttpEndpoint(typing.TypedDict, total=False): uri: str @typing.type_check_only -class ListChannelConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListChannelConnectionsResponse(typing.TypedDict, total=False): channelConnections: _list[ChannelConnection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListChannelsResponse(typing_extensions.TypedDict, total=False): +class ListChannelsResponse(typing.TypedDict, total=False): channels: _list[Channel] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEnrollmentsResponse(typing_extensions.TypedDict, total=False): +class ListEnrollmentsResponse(typing.TypedDict, total=False): enrollments: _list[Enrollment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGoogleApiSourcesResponse(typing_extensions.TypedDict, total=False): +class ListGoogleApiSourcesResponse(typing.TypedDict, total=False): googleApiSources: _list[GoogleApiSource] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMessageBusEnrollmentsResponse(typing_extensions.TypedDict, total=False): +class ListMessageBusEnrollmentsResponse(typing.TypedDict, total=False): enrollments: _list[str] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMessageBusesResponse(typing_extensions.TypedDict, total=False): +class ListMessageBusesResponse(typing.TypedDict, total=False): messageBuses: _list[MessageBus] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListPipelinesResponse(typing_extensions.TypedDict, total=False): +class ListPipelinesResponse(typing.TypedDict, total=False): nextPageToken: str pipelines: _list[Pipeline] unreachable: _list[str] @typing.type_check_only -class ListProvidersResponse(typing_extensions.TypedDict, total=False): +class ListProvidersResponse(typing.TypedDict, total=False): nextPageToken: str providers: _list[Provider] unreachable: _list[str] @typing.type_check_only -class ListTriggersResponse(typing_extensions.TypedDict, total=False): +class ListTriggersResponse(typing.TypedDict, total=False): nextPageToken: str triggers: _list[Trigger] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -324,8 +312,8 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): - logSeverity: typing_extensions.Literal[ +class LoggingConfig(typing.TypedDict, total=False): + logSeverity: typing.Literal[ "LOG_SEVERITY_UNSPECIFIED", "NONE", "DEBUG", @@ -339,7 +327,7 @@ class LoggingConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MessageBus(typing_extensions.TypedDict, total=False): +class MessageBus(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str cryptoKeyName: str @@ -352,11 +340,11 @@ class MessageBus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): networkAttachment: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -366,11 +354,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OrganizationSubscription(typing_extensions.TypedDict, total=False): +class OrganizationSubscription(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str cryptoKeyName: str @@ -388,39 +376,39 @@ class Pipeline(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProjectSubscriptions(typing_extensions.TypedDict, total=False): +class ProjectSubscriptions(typing.TypedDict, total=False): list: _list[str] @typing.type_check_only -class Provider(typing_extensions.TypedDict, total=False): +class Provider(typing.TypedDict, total=False): displayName: str eventTypes: _list[EventType] name: str @typing.type_check_only -class Pubsub(typing_extensions.TypedDict, total=False): +class Pubsub(typing.TypedDict, total=False): subscription: str topic: str @typing.type_check_only -class RetryPolicy(typing_extensions.TypedDict, total=False): +class RetryPolicy(typing.TypedDict, total=False): maxAttempts: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StateCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class StateCondition(typing.TypedDict, total=False): + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -442,19 +430,19 @@ class StateCondition(typing_extensions.TypedDict, total=False): message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Transport(typing_extensions.TypedDict, total=False): +class Transport(typing.TypedDict, total=False): pubsub: Pubsub @typing.type_check_only -class Trigger(typing_extensions.TypedDict, total=False): +class Trigger(typing.TypedDict, total=False): channel: str conditions: dict[str, typing.Any] createTime: str diff --git a/googleapiclient-stubs/_apis/eventarc/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/eventarc/v1beta1/resources.pyi index 1b276a027..b1518d32b 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/eventarc/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/eventarc/v1beta1/schemas.pyi index b54bc5829..5c5f5f3c1 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1beta1/schemas.pyi @@ -1,68 +1,66 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudRunService(typing_extensions.TypedDict, total=False): +class CloudRunService(typing.TypedDict, total=False): path: str region: str service: str @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): cloudRunService: CloudRunService @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListTriggersResponse(typing_extensions.TypedDict, total=False): +class ListTriggersResponse(typing.TypedDict, total=False): nextPageToken: str triggers: _list[Trigger] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -70,12 +68,12 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MatchingCriteria(typing_extensions.TypedDict, total=False): +class MatchingCriteria(typing.TypedDict, total=False): attribute: str value: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -83,7 +81,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -93,42 +91,42 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Pubsub(typing_extensions.TypedDict, total=False): +class Pubsub(typing.TypedDict, total=False): subscription: str topic: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Transport(typing_extensions.TypedDict, total=False): +class Transport(typing.TypedDict, total=False): pubsub: Pubsub @typing.type_check_only -class Trigger(typing_extensions.TypedDict, total=False): +class Trigger(typing.TypedDict, total=False): createTime: str destination: Destination etag: str diff --git a/googleapiclient-stubs/_apis/factchecktools/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/factchecktools/v1alpha1/resources.pyi index 7d3a306bd..c0886c9dc 100644 --- a/googleapiclient-stubs/_apis/factchecktools/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/factchecktools/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/factchecktools/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/factchecktools/v1alpha1/schemas.pyi index e058a705f..09f928e41 100644 --- a/googleapiclient-stubs/_apis/factchecktools/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/factchecktools/v1alpha1/schemas.pyi @@ -1,13 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleFactcheckingFactchecktoolsV1alpha1Claim( - typing_extensions.TypedDict, total=False -): +class GoogleFactcheckingFactchecktoolsV1alpha1Claim(typing.TypedDict, total=False): claimDate: str claimReview: _list[GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview] claimant: str @@ -15,7 +11,7 @@ class GoogleFactcheckingFactchecktoolsV1alpha1Claim( @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageUrl: str jobTitle: str @@ -24,7 +20,7 @@ class GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor( @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bestRating: int imageUrl: str @@ -35,7 +31,7 @@ class GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating( @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str publisher: GoogleFactcheckingFactchecktoolsV1alpha1Publisher @@ -46,14 +42,14 @@ class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview( @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageUrl: str name: str @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): claimAppearances: _list[str] claimAuthor: GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor @@ -66,7 +62,7 @@ class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup( @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): claimReviewAuthor: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor claimReviewMarkups: _list[GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup] @@ -77,7 +73,7 @@ class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage( @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimImageSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str results: _list[ @@ -86,20 +82,20 @@ class GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimImageSearchRespons @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimImageSearchResponseResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): claim: GoogleFactcheckingFactchecktoolsV1alpha1Claim @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): claims: _list[GoogleFactcheckingFactchecktoolsV1alpha1Claim] nextPageToken: str @typing.type_check_only class GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): claimReviewMarkupPages: _list[ GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage @@ -107,11 +103,9 @@ class GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse nextPageToken: str @typing.type_check_only -class GoogleFactcheckingFactchecktoolsV1alpha1Publisher( - typing_extensions.TypedDict, total=False -): +class GoogleFactcheckingFactchecktoolsV1alpha1Publisher(typing.TypedDict, total=False): name: str site: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/fcm/v1/resources.pyi b/googleapiclient-stubs/_apis/fcm/v1/resources.pyi index a62d800db..d5b83abfb 100644 --- a/googleapiclient-stubs/_apis/fcm/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/fcm/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi b/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi index 0653da884..5f8eb97ba 100644 --- a/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/fcm/v1/schemas.pyi @@ -1,28 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AndroidConfig(typing_extensions.TypedDict, total=False): +class AndroidConfig(typing.TypedDict, total=False): bandwidthConstrainedOk: bool collapseKey: str data: dict[str, typing.Any] directBootOk: bool fcmOptions: AndroidFcmOptions notification: AndroidNotification - priority: typing_extensions.Literal["NORMAL", "HIGH"] + priority: typing.Literal["NORMAL", "HIGH"] restrictedPackageName: str restrictedSatelliteOk: bool ttl: str @typing.type_check_only -class AndroidFcmOptions(typing_extensions.TypedDict, total=False): +class AndroidFcmOptions(typing.TypedDict, total=False): analyticsLabel: str @typing.type_check_only -class AndroidNotification(typing_extensions.TypedDict, total=False): +class AndroidNotification(typing.TypedDict, total=False): body: str bodyLocArgs: _list[str] bodyLocKey: str @@ -39,7 +37,7 @@ class AndroidNotification(typing_extensions.TypedDict, total=False): lightSettings: LightSettings localOnly: bool notificationCount: int - notificationPriority: typing_extensions.Literal[ + notificationPriority: typing.Literal[ "PRIORITY_UNSPECIFIED", "PRIORITY_MIN", "PRIORITY_LOW", @@ -47,9 +45,7 @@ class AndroidNotification(typing_extensions.TypedDict, total=False): "PRIORITY_HIGH", "PRIORITY_MAX", ] - proxy: typing_extensions.Literal[ - "PROXY_UNSPECIFIED", "ALLOW", "DENY", "IF_PRIORITY_LOWERED" - ] + proxy: typing.Literal["PROXY_UNSPECIFIED", "ALLOW", "DENY", "IF_PRIORITY_LOWERED"] sound: str sticky: bool tag: str @@ -58,41 +54,39 @@ class AndroidNotification(typing_extensions.TypedDict, total=False): titleLocArgs: _list[str] titleLocKey: str vibrateTimings: _list[str] - visibility: typing_extensions.Literal[ - "VISIBILITY_UNSPECIFIED", "PRIVATE", "PUBLIC", "SECRET" - ] + visibility: typing.Literal["VISIBILITY_UNSPECIFIED", "PRIVATE", "PUBLIC", "SECRET"] @typing.type_check_only -class ApnsConfig(typing_extensions.TypedDict, total=False): +class ApnsConfig(typing.TypedDict, total=False): fcmOptions: ApnsFcmOptions headers: dict[str, typing.Any] liveActivityToken: str payload: dict[str, typing.Any] @typing.type_check_only -class ApnsFcmOptions(typing_extensions.TypedDict, total=False): +class ApnsFcmOptions(typing.TypedDict, total=False): analyticsLabel: str image: str @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class FcmOptions(typing_extensions.TypedDict, total=False): +class FcmOptions(typing.TypedDict, total=False): analyticsLabel: str @typing.type_check_only -class LightSettings(typing_extensions.TypedDict, total=False): +class LightSettings(typing.TypedDict, total=False): color: Color lightOffDuration: str lightOnDuration: str @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): android: AndroidConfig apns: ApnsConfig condition: str @@ -106,24 +100,24 @@ class Message(typing_extensions.TypedDict, total=False): webpush: WebpushConfig @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): body: str image: str title: str @typing.type_check_only -class SendMessageRequest(typing_extensions.TypedDict, total=False): +class SendMessageRequest(typing.TypedDict, total=False): message: Message validateOnly: bool @typing.type_check_only -class WebpushConfig(typing_extensions.TypedDict, total=False): +class WebpushConfig(typing.TypedDict, total=False): data: dict[str, typing.Any] fcmOptions: WebpushFcmOptions headers: dict[str, typing.Any] notification: dict[str, typing.Any] @typing.type_check_only -class WebpushFcmOptions(typing_extensions.TypedDict, total=False): +class WebpushFcmOptions(typing.TypedDict, total=False): analyticsLabel: str link: str diff --git a/googleapiclient-stubs/_apis/fcmdata/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/fcmdata/v1beta1/resources.pyi index a05e9fbca..59a7529e6 100644 --- a/googleapiclient-stubs/_apis/fcmdata/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/fcmdata/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/fcmdata/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/fcmdata/v1beta1/schemas.pyi index 8c1f62bf9..d90f1a84b 100644 --- a/googleapiclient-stubs/_apis/fcmdata/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/fcmdata/v1beta1/schemas.pyi @@ -1,20 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleFirebaseFcmDataV1beta1AndroidDeliveryData( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseFcmDataV1beta1AndroidDeliveryData(typing.TypedDict, total=False): analyticsLabel: str appId: str data: GoogleFirebaseFcmDataV1beta1Data date: GoogleTypeDate @typing.type_check_only -class GoogleFirebaseFcmDataV1beta1Data(typing_extensions.TypedDict, total=False): +class GoogleFirebaseFcmDataV1beta1Data(typing.TypedDict, total=False): countMessagesAccepted: str countNotificationsAccepted: str deliveryPerformancePercents: GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents @@ -26,7 +22,7 @@ class GoogleFirebaseFcmDataV1beta1Data(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): delayedDeviceDoze: float delayedDeviceOffline: float @@ -36,21 +32,17 @@ class GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents( @typing.type_check_only class GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): androidDeliveryData: _list[GoogleFirebaseFcmDataV1beta1AndroidDeliveryData] nextPageToken: str @typing.type_check_only -class GoogleFirebaseFcmDataV1beta1MessageInsightPercents( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseFcmDataV1beta1MessageInsightPercents(typing.TypedDict, total=False): priorityLowered: float @typing.type_check_only -class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents(typing.TypedDict, total=False): collapsed: float delivered: float droppedAppForceStopped: float @@ -61,7 +53,7 @@ class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents( @typing.type_check_only class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failed: float proxied: float @@ -71,7 +63,7 @@ class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents( skippedUnsupported: float @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/file/v1/resources.pyi b/googleapiclient-stubs/_apis/file/v1/resources.pyi index 11ac7faee..46ce61ee5 100644 --- a/googleapiclient-stubs/_apis/file/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/file/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/file/v1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1/schemas.pyi index 0145bbcee..a7b57eb85 100644 --- a/googleapiclient-stubs/_apis/file/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): capacityGb: str createTime: str description: str downloadBytes: str - fileSystemProtocol: typing_extensions.Literal[ + fileSystemProtocol: typing.Literal[ "FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1" ] kmsKey: str @@ -20,7 +18,7 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzs: bool sourceFileShare: str sourceInstance: str - sourceInstanceTier: typing_extensions.Literal[ + sourceInstanceTier: typing.Literal[ "TIER_UNSPECIFIED", "STANDARD", "PREMIUM", @@ -31,41 +29,41 @@ class Backup(typing_extensions.TypedDict, total=False): "ZONAL", "REGIONAL", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "FINALIZING", "READY", "DELETING", "INVALID" ] storageBytes: str tags: dict[str, typing.Any] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class DirectoryServicesConfig(typing_extensions.TypedDict, total=False): +class DirectoryServicesConfig(typing.TypedDict, total=False): ldap: LdapConfig @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FileShareConfig(typing_extensions.TypedDict, total=False): +class FileShareConfig(typing.TypedDict, total=False): capacityGb: str name: str nfsExportOptions: _list[NfsExportOptions] @@ -73,12 +71,12 @@ class FileShareConfig(typing_extensions.TypedDict, total=False): sourceBackupdrBackup: str @typing.type_check_only -class FixedIOPS(typing_extensions.TypedDict, total=False): +class FixedIOPS(typing.TypedDict, total=False): maxIops: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consumerDefinedName: str consumerProjectNumber: str @@ -99,7 +97,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( slmInstanceTemplate: str sloMetadata: GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -113,7 +111,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canReschedule: bool endTime: str @@ -123,7 +121,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclude: bool isRollback: bool @@ -131,7 +129,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str nodeId: str @@ -141,33 +139,33 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibilities: dict[str, typing.Any] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceType: str resourceUrl: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligible: bool reason: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nodes: _list[GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata] perSliEligibility: ( @@ -176,11 +174,11 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( tier: str @typing.type_check_only -class IOPSPerTB(typing_extensions.TypedDict, total=False): +class IOPSPerTB(typing.TypedDict, total=False): maxIopsPerTb: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): capacityStepSizeGb: str createTime: str customPerformanceSupported: bool @@ -198,13 +196,11 @@ class Instance(typing_extensions.TypedDict, total=False): networks: _list[NetworkConfig] performanceConfig: PerformanceConfig performanceLimits: PerformanceLimits - protocol: typing_extensions.Literal[ - "FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1" - ] + protocol: typing.Literal["FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1"] replication: Replication satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -220,10 +216,10 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str suspensionReasons: _list[ - typing_extensions.Literal["SUSPENSION_REASON_UNSPECIFIED", "KMS_KEY_ISSUE"] + typing.Literal["SUSPENSION_REASON_UNSPECIFIED", "KMS_KEY_ISSUE"] ] tags: dict[str, typing.Any] - tier: typing_extensions.Literal[ + tier: typing.Literal[ "TIER_UNSPECIFIED", "STANDARD", "PREMIUM", @@ -236,43 +232,43 @@ class Instance(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LdapConfig(typing_extensions.TypedDict, total=False): +class LdapConfig(typing.TypedDict, total=False): domain: str groupsOu: str servers: _list[str] usersOu: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListSnapshotsResponse(typing.TypedDict, total=False): nextPageToken: str snapshots: _list[Snapshot] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -280,51 +276,47 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - connectMode: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + connectMode: typing.Literal[ "CONNECT_MODE_UNSPECIFIED", "DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS", "PRIVATE_SERVICE_CONNECT", ] ipAddresses: _list[str] - modes: _list[ - typing_extensions.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"] - ] + modes: _list[typing.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]] network: str pscConfig: PscConfig reservedIpRange: str @typing.type_check_only -class NfsExportOptions(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "ACCESS_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE" - ] +class NfsExportOptions(typing.TypedDict, total=False): + accessMode: typing.Literal["ACCESS_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] anonGid: str anonUid: str ipRanges: _list[str] network: str - squashMode: typing_extensions.Literal[ + squashMode: typing.Literal[ "SQUASH_MODE_UNSPECIFIED", "NO_ROOT_SQUASH", "ROOT_SQUASH" ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -332,7 +324,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -342,15 +334,15 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseReplicaRequest(typing_extensions.TypedDict, total=False): ... +class PauseReplicaRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PerformanceConfig(typing_extensions.TypedDict, total=False): +class PerformanceConfig(typing.TypedDict, total=False): fixedIops: FixedIOPS iopsPerTb: IOPSPerTB @typing.type_check_only -class PerformanceLimits(typing_extensions.TypedDict, total=False): +class PerformanceLimits(typing.TypedDict, total=False): maxIops: str maxReadIops: str maxReadThroughputBps: str @@ -358,18 +350,18 @@ class PerformanceLimits(typing_extensions.TypedDict, total=False): maxWriteThroughputBps: str @typing.type_check_only -class PromoteReplicaRequest(typing_extensions.TypedDict, total=False): +class PromoteReplicaRequest(typing.TypedDict, total=False): peerInstance: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): endpointProject: str @typing.type_check_only -class ReplicaConfig(typing_extensions.TypedDict, total=False): +class ReplicaConfig(typing.TypedDict, total=False): lastActiveSyncTime: str peerInstance: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -381,7 +373,7 @@ class ReplicaConfig(typing_extensions.TypedDict, total=False): "RESUMING", ] stateReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE", "REMOVE_FAILED", @@ -392,25 +384,25 @@ class ReplicaConfig(typing_extensions.TypedDict, total=False): stateUpdateTime: str @typing.type_check_only -class Replication(typing_extensions.TypedDict, total=False): +class Replication(typing.TypedDict, total=False): replicas: _list[ReplicaConfig] - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"] + role: typing.Literal["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"] @typing.type_check_only -class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): +class RestoreInstanceRequest(typing.TypedDict, total=False): fileShare: str sourceBackup: str @typing.type_check_only -class ResumeReplicaRequest(typing_extensions.TypedDict, total=False): ... +class ResumeReplicaRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RevertInstanceRequest(typing_extensions.TypedDict, total=False): +class RevertInstanceRequest(typing.TypedDict, total=False): targetSnapshotId: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -424,38 +416,36 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): createTime: str description: str filesystemUsedBytes: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "DELETING"] tags: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] diff --git a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi index 4259f3b4d..3a1ef047c 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi index b084984f5..cdc4402f4 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcquireShareRequest(typing_extensions.TypedDict, total=False): +class AcquireShareRequest(typing.TypedDict, total=False): capacityGb: int requestId: str @typing.type_check_only -class AcquireShareResponse(typing_extensions.TypedDict, total=False): +class AcquireShareResponse(typing.TypedDict, total=False): ipAddress: str shareId: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): capacityGb: str createTime: str description: str downloadBytes: str - fileSystemProtocol: typing_extensions.Literal[ + fileSystemProtocol: typing.Literal[ "FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1" ] kmsKeyName: str @@ -30,7 +28,7 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzs: bool sourceFileShare: str sourceInstance: str - sourceInstanceTier: typing_extensions.Literal[ + sourceInstanceTier: typing.Literal[ "TIER_UNSPECIFIED", "STANDARD", "PREMIUM", @@ -41,55 +39,56 @@ class Backup(typing_extensions.TypedDict, total=False): "ZONAL", "REGIONAL", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "FINALIZING", "READY", "DELETING", "INVALID" ] storageBytes: str tags: dict[str, typing.Any] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class DirectoryServicesConfig(typing_extensions.TypedDict, total=False): +class DirectoryServicesConfig(typing.TypedDict, total=False): ldap: LdapConfig managedActiveDirectory: ManagedActiveDirectoryConfig @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FileShareConfig(typing_extensions.TypedDict, total=False): +class FileShareConfig(typing.TypedDict, total=False): capacityGb: str name: str nfsExportOptions: _list[NfsExportOptions] + restoreConfig: RestoreConfig sourceBackup: str sourceBackupdrBackup: str @typing.type_check_only -class FixedIOPS(typing_extensions.TypedDict, total=False): +class FixedIOPS(typing.TypedDict, total=False): maxIops: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consumerDefinedName: str consumerProjectNumber: str @@ -110,7 +109,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( slmInstanceTemplate: str sloMetadata: GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -124,7 +123,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canReschedule: bool endTime: str @@ -134,7 +133,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclude: bool isRollback: bool @@ -142,7 +141,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str nodeId: str @@ -152,33 +151,33 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibilities: dict[str, typing.Any] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceType: str resourceUrl: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligible: bool reason: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nodes: _list[GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata] perSliEligibility: ( @@ -187,12 +186,12 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( tier: str @typing.type_check_only -class IOPSPerTB(typing_extensions.TypedDict, total=False): +class IOPSPerTB(typing.TypedDict, total=False): maxIopsPerTb: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): - backendType: typing_extensions.Literal[ +class Instance(typing.TypedDict, total=False): + backendType: typing.Literal[ "BACKEND_TYPE_UNSPECIFIED", "COMPUTE_BASED_BACKEND", "FILESTORE_BACKEND" ] capacityGb: str @@ -215,13 +214,11 @@ class Instance(typing_extensions.TypedDict, total=False): networks: _list[NetworkConfig] performanceConfig: PerformanceConfig performanceLimits: PerformanceLimits - protocol: typing_extensions.Literal[ - "FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1" - ] + protocol: typing.Literal["FILE_PROTOCOL_UNSPECIFIED", "NFS_V3", "NFS_V4_1"] replication: Replication satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -237,10 +234,10 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str suspensionReasons: _list[ - typing_extensions.Literal["SUSPENSION_REASON_UNSPECIFIED", "KMS_KEY_ISSUE"] + typing.Literal["SUSPENSION_REASON_UNSPECIFIED", "KMS_KEY_ISSUE"] ] tags: dict[str, typing.Any] - tier: typing_extensions.Literal[ + tier: typing.Literal[ "TIER_UNSPECIFIED", "STANDARD", "PREMIUM", @@ -253,49 +250,49 @@ class Instance(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LdapConfig(typing_extensions.TypedDict, total=False): +class LdapConfig(typing.TypedDict, total=False): domain: str groupsOu: str servers: _list[str] usersOu: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSharesResponse(typing_extensions.TypedDict, total=False): +class ListSharesResponse(typing.TypedDict, total=False): nextPageToken: str shares: _list[Share] unreachable: _list[str] @typing.type_check_only -class ListSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListSnapshotsResponse(typing.TypedDict, total=False): nextPageToken: str snapshots: _list[Snapshot] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -303,61 +300,57 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class ManagedActiveDirectoryConfig(typing_extensions.TypedDict, total=False): +class ManagedActiveDirectoryConfig(typing.TypedDict, total=False): computer: str domain: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): - connectMode: typing_extensions.Literal[ +class NetworkConfig(typing.TypedDict, total=False): + connectMode: typing.Literal[ "CONNECT_MODE_UNSPECIFIED", "DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS", "PRIVATE_SERVICE_CONNECT", ] ipAddresses: _list[str] - modes: _list[ - typing_extensions.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"] - ] + modes: _list[typing.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]] network: str pscConfig: PscConfig reservedIpRange: str @typing.type_check_only -class NfsExportOptions(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "ACCESS_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE" - ] +class NfsExportOptions(typing.TypedDict, total=False): + accessMode: typing.Literal["ACCESS_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] anonGid: str anonUid: str ipRanges: _list[str] network: str securityFlavors: _list[ - typing_extensions.Literal[ + typing.Literal[ "SECURITY_FLAVOR_UNSPECIFIED", "AUTH_SYS", "KRB5", "KRB5I", "KRB5P" ] ] - squashMode: typing_extensions.Literal[ + squashMode: typing.Literal[ "SQUASH_MODE_UNSPECIFIED", "NO_ROOT_SQUASH", "ROOT_SQUASH" ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -365,7 +358,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -375,15 +368,15 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseReplicaRequest(typing_extensions.TypedDict, total=False): ... +class PauseReplicaRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PerformanceConfig(typing_extensions.TypedDict, total=False): +class PerformanceConfig(typing.TypedDict, total=False): fixedIops: FixedIOPS iopsPerTb: IOPSPerTB @typing.type_check_only -class PerformanceLimits(typing_extensions.TypedDict, total=False): +class PerformanceLimits(typing.TypedDict, total=False): maxIops: str maxReadIops: str maxReadThroughputBps: str @@ -391,26 +384,26 @@ class PerformanceLimits(typing_extensions.TypedDict, total=False): maxWriteThroughputBps: str @typing.type_check_only -class PromoteReplicaRequest(typing_extensions.TypedDict, total=False): +class PromoteReplicaRequest(typing.TypedDict, total=False): peerInstance: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): endpointProject: str @typing.type_check_only -class ReleaseShareRequest(typing_extensions.TypedDict, total=False): +class ReleaseShareRequest(typing.TypedDict, total=False): ipAddress: str shareId: str @typing.type_check_only -class ReleaseShareResponse(typing_extensions.TypedDict, total=False): ... +class ReleaseShareResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ReplicaConfig(typing_extensions.TypedDict, total=False): +class ReplicaConfig(typing.TypedDict, total=False): lastActiveSyncTime: str peerInstance: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -422,7 +415,7 @@ class ReplicaConfig(typing_extensions.TypedDict, total=False): "RESUMING", ] stateReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "STATE_REASON_UNSPECIFIED", "PEER_INSTANCE_UNREACHABLE", "REMOVE_FAILED", @@ -433,26 +426,30 @@ class ReplicaConfig(typing_extensions.TypedDict, total=False): stateUpdateTime: str @typing.type_check_only -class Replication(typing_extensions.TypedDict, total=False): +class Replication(typing.TypedDict, total=False): replicas: _list[ReplicaConfig] - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"] + role: typing.Literal["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"] @typing.type_check_only -class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): +class RestoreConfig(typing.TypedDict, total=False): + pathPatterns: _list[str] + +@typing.type_check_only +class RestoreInstanceRequest(typing.TypedDict, total=False): fileShare: str sourceBackup: str sourceSnapshot: str @typing.type_check_only -class ResumeReplicaRequest(typing_extensions.TypedDict, total=False): ... +class ResumeReplicaRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RevertInstanceRequest(typing_extensions.TypedDict, total=False): +class RevertInstanceRequest(typing.TypedDict, total=False): targetSnapshotId: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -466,7 +463,7 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class Share(typing_extensions.TypedDict, total=False): +class Share(typing.TypedDict, total=False): backup: str capacityGb: str createTime: str @@ -475,43 +472,39 @@ class Share(typing_extensions.TypedDict, total=False): mountName: str name: str nfsExportOptions: _list[NfsExportOptions] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "DELETING"] @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): createTime: str description: str filesystemUsedBytes: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "DELETING"] tags: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] diff --git a/googleapiclient-stubs/_apis/firebase/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/firebase/v1beta1/resources.pyi index 0f17c4e02..76a68b647 100644 --- a/googleapiclient-stubs/_apis/firebase/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebase/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi index 42f82f11b..86199b16e 100644 --- a/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebase/v1beta1/schemas.pyi @@ -1,38 +1,36 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddFirebaseRequest(typing_extensions.TypedDict, total=False): +class AddFirebaseRequest(typing.TypedDict, total=False): locationId: str @typing.type_check_only -class AddGoogleAnalyticsRequest(typing_extensions.TypedDict, total=False): +class AddGoogleAnalyticsRequest(typing.TypedDict, total=False): analyticsAccountId: str analyticsPropertyId: str @typing.type_check_only -class AdminSdkConfig(typing_extensions.TypedDict, total=False): +class AdminSdkConfig(typing.TypedDict, total=False): databaseURL: str locationId: str projectId: str storageBucket: str @typing.type_check_only -class AnalyticsDetails(typing_extensions.TypedDict, total=False): +class AnalyticsDetails(typing.TypedDict, total=False): analyticsProperty: AnalyticsProperty streamMappings: _list[StreamMapping] @typing.type_check_only -class AnalyticsProperty(typing_extensions.TypedDict, total=False): +class AnalyticsProperty(typing.TypedDict, total=False): analyticsAccountId: str displayName: str id: str @typing.type_check_only -class AndroidApp(typing_extensions.TypedDict, total=False): +class AndroidApp(typing.TypedDict, total=False): apiKeyId: str appId: str displayName: str @@ -43,40 +41,40 @@ class AndroidApp(typing_extensions.TypedDict, total=False): projectId: str sha1Hashes: _list[str] sha256Hashes: _list[str] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class AndroidAppConfig(typing_extensions.TypedDict, total=False): +class AndroidAppConfig(typing.TypedDict, total=False): configFileContents: str configFilename: str @typing.type_check_only -class DefaultResources(typing_extensions.TypedDict, total=False): +class DefaultResources(typing.TypedDict, total=False): hostingSite: str locationId: str realtimeDatabaseInstance: str storageBucket: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FinalizeDefaultLocationRequest(typing_extensions.TypedDict, total=False): +class FinalizeDefaultLocationRequest(typing.TypedDict, total=False): locationId: str @typing.type_check_only -class FirebaseAppInfo(typing_extensions.TypedDict, total=False): +class FirebaseAppInfo(typing.TypedDict, total=False): apiKeyId: str appId: str displayName: str expireTime: str name: str namespace: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID", "WEB"] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "IOS", "ANDROID", "WEB"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class FirebaseProject(typing_extensions.TypedDict, total=False): +class FirebaseProject(typing.TypedDict, total=False): annotations: dict[str, typing.Any] displayName: str etag: str @@ -84,10 +82,10 @@ class FirebaseProject(typing_extensions.TypedDict, total=False): projectId: str projectNumber: str resources: DefaultResources - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class IosApp(typing_extensions.TypedDict, total=False): +class IosApp(typing.TypedDict, total=False): apiKeyId: str appId: str appStoreId: str @@ -97,65 +95,63 @@ class IosApp(typing_extensions.TypedDict, total=False): expireTime: str name: str projectId: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] teamId: str @typing.type_check_only -class IosAppConfig(typing_extensions.TypedDict, total=False): +class IosAppConfig(typing.TypedDict, total=False): configFileContents: str configFilename: str @typing.type_check_only -class ListAndroidAppsResponse(typing_extensions.TypedDict, total=False): +class ListAndroidAppsResponse(typing.TypedDict, total=False): apps: _list[AndroidApp] nextPageToken: str @typing.type_check_only -class ListAvailableLocationsResponse(typing_extensions.TypedDict, total=False): +class ListAvailableLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListAvailableProjectsResponse(typing_extensions.TypedDict, total=False): +class ListAvailableProjectsResponse(typing.TypedDict, total=False): nextPageToken: str projectInfo: _list[ProjectInfo] @typing.type_check_only -class ListFirebaseProjectsResponse(typing_extensions.TypedDict, total=False): +class ListFirebaseProjectsResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[FirebaseProject] @typing.type_check_only -class ListIosAppsResponse(typing_extensions.TypedDict, total=False): +class ListIosAppsResponse(typing.TypedDict, total=False): apps: _list[IosApp] nextPageToken: str @typing.type_check_only -class ListShaCertificatesResponse(typing_extensions.TypedDict, total=False): +class ListShaCertificatesResponse(typing.TypedDict, total=False): certificates: _list[ShaCertificate] @typing.type_check_only -class ListWebAppsResponse(typing_extensions.TypedDict, total=False): +class ListWebAppsResponse(typing.TypedDict, total=False): apps: _list[WebApp] nextPageToken: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): features: _list[ - typing_extensions.Literal[ + typing.Literal[ "LOCATION_FEATURE_UNSPECIFIED", "FIRESTORE", "DEFAULT_STORAGE", "FUNCTIONS" ] ] locationId: str - type: typing_extensions.Literal[ - "LOCATION_TYPE_UNSPECIFIED", "REGIONAL", "MULTI_REGIONAL" - ] + type: typing.Literal["LOCATION_TYPE_UNSPECIFIED", "REGIONAL", "MULTI_REGIONAL"] @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -163,64 +159,62 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): ... +class OperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ProductMetadata(typing_extensions.TypedDict, total=False): +class ProductMetadata(typing.TypedDict, total=False): warningMessages: _list[str] @typing.type_check_only -class ProjectInfo(typing_extensions.TypedDict, total=False): +class ProjectInfo(typing.TypedDict, total=False): displayName: str locationId: str project: str @typing.type_check_only -class RemoveAnalyticsRequest(typing_extensions.TypedDict, total=False): +class RemoveAnalyticsRequest(typing.TypedDict, total=False): analyticsPropertyId: str @typing.type_check_only -class RemoveAndroidAppRequest(typing_extensions.TypedDict, total=False): +class RemoveAndroidAppRequest(typing.TypedDict, total=False): allowMissing: bool etag: str immediate: bool validateOnly: bool @typing.type_check_only -class RemoveIosAppRequest(typing_extensions.TypedDict, total=False): +class RemoveIosAppRequest(typing.TypedDict, total=False): allowMissing: bool etag: str immediate: bool validateOnly: bool @typing.type_check_only -class RemoveWebAppRequest(typing_extensions.TypedDict, total=False): +class RemoveWebAppRequest(typing.TypedDict, total=False): allowMissing: bool etag: str immediate: bool validateOnly: bool @typing.type_check_only -class SearchFirebaseAppsResponse(typing_extensions.TypedDict, total=False): +class SearchFirebaseAppsResponse(typing.TypedDict, total=False): apps: _list[FirebaseAppInfo] nextPageToken: str @typing.type_check_only -class ShaCertificate(typing_extensions.TypedDict, total=False): - certType: typing_extensions.Literal[ - "SHA_CERTIFICATE_TYPE_UNSPECIFIED", "SHA_1", "SHA_256" - ] +class ShaCertificate(typing.TypedDict, total=False): + certType: typing.Literal["SHA_CERTIFICATE_TYPE_UNSPECIFIED", "SHA_1", "SHA_256"] name: str shaHash: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str @@ -228,28 +222,28 @@ class StatusProto(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class StreamMapping(typing_extensions.TypedDict, total=False): +class StreamMapping(typing.TypedDict, total=False): app: str measurementId: str streamId: str @typing.type_check_only -class UndeleteAndroidAppRequest(typing_extensions.TypedDict, total=False): +class UndeleteAndroidAppRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class UndeleteIosAppRequest(typing_extensions.TypedDict, total=False): +class UndeleteIosAppRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class UndeleteWebAppRequest(typing_extensions.TypedDict, total=False): +class UndeleteWebAppRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class WebApp(typing_extensions.TypedDict, total=False): +class WebApp(typing.TypedDict, total=False): apiKeyId: str appId: str appUrls: _list[str] @@ -258,11 +252,11 @@ class WebApp(typing_extensions.TypedDict, total=False): expireTime: str name: str projectId: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] webId: str @typing.type_check_only -class WebAppConfig(typing_extensions.TypedDict, total=False): +class WebAppConfig(typing.TypedDict, total=False): apiKey: str appId: str authDomain: str diff --git a/googleapiclient-stubs/_apis/firebaseappcheck/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseappcheck/v1/resources.pyi index f372cbadf..b9cebca9d 100644 --- a/googleapiclient-stubs/_apis/firebaseappcheck/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappcheck/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -202,29 +201,6 @@ class FirebaseappcheckResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleFirebaseAppcheckV1RecaptchaV3ConfigHttpRequest: ... - @typing.type_check_only - class SafetyNetConfigResource(googleapiclient.discovery.Resource): - def batchGet( - self, - *, - parent: str, - names: str | _list[str] | None = ..., - **kwargs: typing.Any, - ) -> ( - GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponseHttpRequest - ): ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleFirebaseAppcheckV1SafetyNetConfigHttpRequest: ... - def patch( - self, - *, - name: str, - body: GoogleFirebaseAppcheckV1SafetyNetConfig, - updateMask: str | None = ..., - **kwargs: typing.Any, - ) -> GoogleFirebaseAppcheckV1SafetyNetConfigHttpRequest: ... - def exchangeAppAttestAssertion( self, *, @@ -283,13 +259,6 @@ class FirebaseappcheckResource(googleapiclient.discovery.Resource): body: GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest, **kwargs: typing.Any, ) -> GoogleFirebaseAppcheckV1AppCheckTokenHttpRequest: ... - def exchangeSafetyNetToken( - self, - *, - app: str, - body: GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest, - **kwargs: typing.Any, - ) -> GoogleFirebaseAppcheckV1AppCheckTokenHttpRequest: ... def generateAppAttestChallenge( self, *, @@ -314,7 +283,6 @@ class FirebaseappcheckResource(googleapiclient.discovery.Resource): self, ) -> RecaptchaEnterpriseConfigResource: ... def recaptchaV3Config(self) -> RecaptchaV3ConfigResource: ... - def safetyNetConfig(self) -> SafetyNetConfigResource: ... @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): @@ -490,16 +458,6 @@ class GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponseHttpRequest( num_retries: int = 0, ) -> GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse: ... -@typing.type_check_only -class GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse: ... - @typing.type_check_only class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -646,16 +604,6 @@ class GoogleFirebaseAppcheckV1ResourcePolicyHttpRequest( num_retries: int = 0, ) -> GoogleFirebaseAppcheckV1ResourcePolicy: ... -@typing.type_check_only -class GoogleFirebaseAppcheckV1SafetyNetConfigHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleFirebaseAppcheckV1SafetyNetConfig: ... - @typing.type_check_only class GoogleFirebaseAppcheckV1ServiceHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/firebaseappcheck/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappcheck/v1/schemas.pyi index 167ef2aea..ea0cbec48 100644 --- a/googleapiclient-stubs/_apis/firebaseappcheck/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappcheck/v1/schemas.pyi @@ -1,83 +1,73 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleFirebaseAppcheckV1AppAttestConfig(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppcheckV1AppAttestConfig(typing.TypedDict, total=False): name: str tokenTtl: str @typing.type_check_only -class GoogleFirebaseAppcheckV1AppCheckToken(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppcheckV1AppCheckToken(typing.TypedDict, total=False): token: str ttl: str @typing.type_check_only class GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1AppAttestConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1DeviceCheckConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1PlayIntegrityConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1RecaptchaV3Config] -@typing.type_check_only -class GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse( - typing_extensions.TypedDict, total=False -): - configs: _list[GoogleFirebaseAppcheckV1SafetyNetConfig] - @typing.type_check_only class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest] updateMask: str @typing.type_check_only class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourcePolicies: _list[GoogleFirebaseAppcheckV1ResourcePolicy] @typing.type_check_only -class GoogleFirebaseAppcheckV1BatchUpdateServicesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1BatchUpdateServicesRequest(typing.TypedDict, total=False): requests: _list[GoogleFirebaseAppcheckV1UpdateServiceRequest] updateMask: str @typing.type_check_only class GoogleFirebaseAppcheckV1BatchUpdateServicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): services: _list[GoogleFirebaseAppcheckV1Service] @typing.type_check_only -class GoogleFirebaseAppcheckV1DebugToken(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppcheckV1DebugToken(typing.TypedDict, total=False): displayName: str etag: str name: str @@ -85,9 +75,7 @@ class GoogleFirebaseAppcheckV1DebugToken(typing_extensions.TypedDict, total=Fals updateTime: str @typing.type_check_only -class GoogleFirebaseAppcheckV1DeviceCheckConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1DeviceCheckConfig(typing.TypedDict, total=False): keyId: str name: str privateKey: str @@ -96,7 +84,7 @@ class GoogleFirebaseAppcheckV1DeviceCheckConfig( @typing.type_check_only class GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifact: str assertion: str @@ -105,7 +93,7 @@ class GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest( @typing.type_check_only class GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attestationStatement: str challenge: str @@ -114,108 +102,93 @@ class GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest( @typing.type_check_only class GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appCheckToken: GoogleFirebaseAppcheckV1AppCheckToken artifact: str @typing.type_check_only -class GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest(typing.TypedDict, total=False): customToken: str + jti: str limitedUse: bool @typing.type_check_only -class GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest(typing.TypedDict, total=False): debugToken: str limitedUse: bool @typing.type_check_only class GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceToken: str limitedUse: bool @typing.type_check_only class GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limitedUse: bool playIntegrityToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limitedUse: bool recaptchaEnterpriseToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limitedUse: bool recaptchaV3Token: str -@typing.type_check_only -class GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest( - typing_extensions.TypedDict, total=False -): - safetyNetToken: str - @typing.type_check_only class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): challenge: str ttl: str @typing.type_check_only class GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): challenge: str ttl: str @typing.type_check_only -class GoogleFirebaseAppcheckV1ListDebugTokensResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1ListDebugTokensResponse(typing.TypedDict, total=False): debugTokens: _list[GoogleFirebaseAppcheckV1DebugToken] nextPageToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1ListResourcePoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str resourcePolicies: _list[GoogleFirebaseAppcheckV1ResourcePolicy] @typing.type_check_only -class GoogleFirebaseAppcheckV1ListServicesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[GoogleFirebaseAppcheckV1Service] @typing.type_check_only -class GoogleFirebaseAppcheckV1PlayIntegrityConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1PlayIntegrityConfig(typing.TypedDict, total=False): accountDetails: GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails appIntegrity: GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity deviceIntegrity: GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity @@ -224,21 +197,21 @@ class GoogleFirebaseAppcheckV1PlayIntegrityConfig( @typing.type_check_only class GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requireLicensed: bool @typing.type_check_only class GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowUnrecognizedVersion: bool @typing.type_check_only class GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - minDeviceRecognitionLevel: typing_extensions.Literal[ + minDeviceRecognitionLevel: typing.Literal[ "DEVICE_RECOGNITION_LEVEL_UNSPECIFIED", "NO_INTEGRITY", "MEETS_BASIC_INTEGRITY", @@ -247,7 +220,7 @@ class GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity( ] @typing.type_check_only -class GoogleFirebaseAppcheckV1PublicJwk(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppcheckV1PublicJwk(typing.TypedDict, total=False): alg: str e: str kid: str @@ -256,13 +229,11 @@ class GoogleFirebaseAppcheckV1PublicJwk(typing_extensions.TypedDict, total=False use: str @typing.type_check_only -class GoogleFirebaseAppcheckV1PublicJwkSet(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppcheckV1PublicJwkSet(typing.TypedDict, total=False): keys: _list[GoogleFirebaseAppcheckV1PublicJwk] @typing.type_check_only -class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig(typing.TypedDict, total=False): name: str riskAnalysis: GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis siteKey: str @@ -270,14 +241,12 @@ class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig( @typing.type_check_only class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): minValidScore: float @typing.type_check_only -class GoogleFirebaseAppcheckV1RecaptchaV3Config( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1RecaptchaV3Config(typing.TypedDict, total=False): minValidScore: float name: str siteSecret: str @@ -285,39 +254,32 @@ class GoogleFirebaseAppcheckV1RecaptchaV3Config( tokenTtl: str @typing.type_check_only -class GoogleFirebaseAppcheckV1ResourcePolicy(typing_extensions.TypedDict, total=False): - enforcementMode: typing_extensions.Literal["OFF", "UNENFORCED", "ENFORCED"] +class GoogleFirebaseAppcheckV1ResourcePolicy(typing.TypedDict, total=False): + enforcementMode: typing.Literal["OFF", "UNENFORCED", "ENFORCED"] etag: str name: str targetResource: str updateTime: str @typing.type_check_only -class GoogleFirebaseAppcheckV1SafetyNetConfig(typing_extensions.TypedDict, total=False): - name: str - tokenTtl: str - -@typing.type_check_only -class GoogleFirebaseAppcheckV1Service(typing_extensions.TypedDict, total=False): - enforcementMode: typing_extensions.Literal["OFF", "UNENFORCED", "ENFORCED"] +class GoogleFirebaseAppcheckV1Service(typing.TypedDict, total=False): + enforcementMode: typing.Literal["OFF", "UNENFORCED", "ENFORCED"] etag: str name: str - replayProtection: typing_extensions.Literal["OFF", "UNENFORCED", "ENFORCED"] + replayProtection: typing.Literal["OFF", "UNENFORCED", "ENFORCED"] updateTime: str @typing.type_check_only class GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourcePolicy: GoogleFirebaseAppcheckV1ResourcePolicy updateMask: str @typing.type_check_only -class GoogleFirebaseAppcheckV1UpdateServiceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1UpdateServiceRequest(typing.TypedDict, total=False): service: GoogleFirebaseAppcheckV1Service updateMask: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/resources.pyi index 8e42f94dc..b784f0ef0 100644 --- a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -228,27 +227,6 @@ class FirebaseappcheckResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleFirebaseAppcheckV1betaRecaptchaV3ConfigHttpRequest: ... - @typing.type_check_only - class SafetyNetConfigResource(googleapiclient.discovery.Resource): - def batchGet( - self, - *, - parent: str, - names: str | _list[str] | None = ..., - **kwargs: typing.Any, - ) -> GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponseHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleFirebaseAppcheckV1betaSafetyNetConfigHttpRequest: ... - def patch( - self, - *, - name: str, - body: GoogleFirebaseAppcheckV1betaSafetyNetConfig, - updateMask: str | None = ..., - **kwargs: typing.Any, - ) -> GoogleFirebaseAppcheckV1betaSafetyNetConfigHttpRequest: ... - def exchangeAppAttestAssertion( self, *, @@ -312,13 +290,6 @@ class FirebaseappcheckResource(googleapiclient.discovery.Resource): body: GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest, **kwargs: typing.Any, ) -> GoogleFirebaseAppcheckV1betaAppCheckTokenHttpRequest: ... - def exchangeSafetyNetToken( - self, - *, - app: str, - body: GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest, - **kwargs: typing.Any, - ) -> GoogleFirebaseAppcheckV1betaAppCheckTokenHttpRequest: ... def generateAppAttestChallenge( self, *, @@ -342,7 +313,6 @@ class FirebaseappcheckResource(googleapiclient.discovery.Resource): self, ) -> RecaptchaEnterpriseConfigResource: ... def recaptchaV3Config(self) -> RecaptchaV3ConfigResource: ... - def safetyNetConfig(self) -> SafetyNetConfigResource: ... @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): @@ -535,16 +505,6 @@ class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponseHttpRequest( num_retries: int = 0, ) -> GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse: ... -@typing.type_check_only -class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse: ... - @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -705,16 +665,6 @@ class GoogleFirebaseAppcheckV1betaResourcePolicyHttpRequest( num_retries: int = 0, ) -> GoogleFirebaseAppcheckV1betaResourcePolicy: ... -@typing.type_check_only -class GoogleFirebaseAppcheckV1betaSafetyNetConfigHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleFirebaseAppcheckV1betaSafetyNetConfig: ... - @typing.type_check_only class GoogleFirebaseAppcheckV1betaServiceHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi index bf185f6eb..838ab8c45 100644 --- a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi @@ -1,101 +1,89 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleFirebaseAppcheckV1betaAppAttestConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaAppAttestConfig(typing.TypedDict, total=False): name: str tokenTtl: str @typing.type_check_only -class GoogleFirebaseAppcheckV1betaAppCheckToken( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaAppCheckToken(typing.TypedDict, total=False): attestationToken: str token: str ttl: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaAttestationTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attestationToken: str ttl: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1betaAppAttestConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1betaDeviceCheckConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1betaPlayIntegrityConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1betaRecaptchaConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig] @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configs: _list[GoogleFirebaseAppcheckV1betaRecaptchaV3Config] -@typing.type_check_only -class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse( - typing_extensions.TypedDict, total=False -): - configs: _list[GoogleFirebaseAppcheckV1betaSafetyNetConfig] - @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest] updateMask: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourcePolicies: _list[GoogleFirebaseAppcheckV1betaResourcePolicy] @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleFirebaseAppcheckV1betaUpdateServiceRequest] updateMask: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): services: _list[GoogleFirebaseAppcheckV1betaService] @typing.type_check_only -class GoogleFirebaseAppcheckV1betaDebugToken(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppcheckV1betaDebugToken(typing.TypedDict, total=False): displayName: str etag: str name: str @@ -103,9 +91,7 @@ class GoogleFirebaseAppcheckV1betaDebugToken(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleFirebaseAppcheckV1betaDeviceCheckConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaDeviceCheckConfig(typing.TypedDict, total=False): keyId: str name: str privateKey: str @@ -114,7 +100,7 @@ class GoogleFirebaseAppcheckV1betaDeviceCheckConfig( @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): artifact: str assertion: str @@ -123,7 +109,7 @@ class GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest( @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attestationStatement: str challenge: str @@ -132,7 +118,7 @@ class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest( @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appCheckToken: GoogleFirebaseAppcheckV1betaAppCheckToken artifact: str @@ -140,7 +126,7 @@ class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse( @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customToken: str jti: str @@ -148,100 +134,90 @@ class GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest( @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): debugToken: str limitedUse: bool @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceToken: str limitedUse: bool @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limitedUse: bool playIntegrityToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limitedUse: bool recaptchaEnterpriseToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recaptchaToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): limitedUse: bool recaptchaV3Token: str -@typing.type_check_only -class GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest( - typing_extensions.TypedDict, total=False -): - safetyNetToken: str - @typing.type_check_only class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): challenge: str ttl: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): challenge: str ttl: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaListDebugTokensResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): debugTokens: _list[GoogleFirebaseAppcheckV1betaDebugToken] nextPageToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str resourcePolicies: _list[GoogleFirebaseAppcheckV1betaResourcePolicy] @typing.type_check_only -class GoogleFirebaseAppcheckV1betaListServicesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[GoogleFirebaseAppcheckV1betaService] @typing.type_check_only -class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig(typing.TypedDict, total=False): accountDetails: GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails appIntegrity: GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity deviceIntegrity: GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity @@ -250,21 +226,21 @@ class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig( @typing.type_check_only class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAccountDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requireLicensed: bool @typing.type_check_only class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigAppIntegrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowUnrecognizedVersion: bool @typing.type_check_only class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - minDeviceRecognitionLevel: typing_extensions.Literal[ + minDeviceRecognitionLevel: typing.Literal[ "DEVICE_RECOGNITION_LEVEL_UNSPECIFIED", "NO_INTEGRITY", "MEETS_BASIC_INTEGRITY", @@ -273,7 +249,7 @@ class GoogleFirebaseAppcheckV1betaPlayIntegrityConfigDeviceIntegrity( ] @typing.type_check_only -class GoogleFirebaseAppcheckV1betaPublicJwk(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppcheckV1betaPublicJwk(typing.TypedDict, total=False): alg: str e: str kid: str @@ -282,15 +258,11 @@ class GoogleFirebaseAppcheckV1betaPublicJwk(typing_extensions.TypedDict, total=F use: str @typing.type_check_only -class GoogleFirebaseAppcheckV1betaPublicJwkSet( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaPublicJwkSet(typing.TypedDict, total=False): keys: _list[GoogleFirebaseAppcheckV1betaPublicJwk] @typing.type_check_only -class GoogleFirebaseAppcheckV1betaRecaptchaConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaRecaptchaConfig(typing.TypedDict, total=False): minValidScore: float name: str siteSecret: str @@ -299,7 +271,7 @@ class GoogleFirebaseAppcheckV1betaRecaptchaConfig( @typing.type_check_only class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str riskAnalysis: GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis @@ -308,14 +280,12 @@ class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig( @typing.type_check_only class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): minValidScore: float @typing.type_check_only -class GoogleFirebaseAppcheckV1betaRecaptchaV3Config( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaRecaptchaV3Config(typing.TypedDict, total=False): minValidScore: float name: str siteSecret: str @@ -323,55 +293,44 @@ class GoogleFirebaseAppcheckV1betaRecaptchaV3Config( tokenTtl: str @typing.type_check_only -class GoogleFirebaseAppcheckV1betaResourcePolicy( - typing_extensions.TypedDict, total=False -): - enforcementMode: typing_extensions.Literal["OFF", "UNENFORCED", "ENFORCED"] +class GoogleFirebaseAppcheckV1betaResourcePolicy(typing.TypedDict, total=False): + enforcementMode: typing.Literal["OFF", "UNENFORCED", "ENFORCED"] etag: str name: str targetResource: str updateTime: str @typing.type_check_only -class GoogleFirebaseAppcheckV1betaSafetyNetConfig( - typing_extensions.TypedDict, total=False -): - name: str - tokenTtl: str - -@typing.type_check_only -class GoogleFirebaseAppcheckV1betaService(typing_extensions.TypedDict, total=False): - enforcementMode: typing_extensions.Literal["OFF", "UNENFORCED", "ENFORCED"] +class GoogleFirebaseAppcheckV1betaService(typing.TypedDict, total=False): + enforcementMode: typing.Literal["OFF", "UNENFORCED", "ENFORCED"] etag: str name: str - replayProtection: typing_extensions.Literal["OFF", "UNENFORCED", "ENFORCED"] + replayProtection: typing.Literal["OFF", "UNENFORCED", "ENFORCED"] updateTime: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourcePolicy: GoogleFirebaseAppcheckV1betaResourcePolicy updateMask: str @typing.type_check_only -class GoogleFirebaseAppcheckV1betaUpdateServiceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppcheckV1betaUpdateServiceRequest(typing.TypedDict, total=False): service: GoogleFirebaseAppcheckV1betaService updateMask: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appCheckToken: str @typing.type_check_only class GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alreadyConsumed: bool @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi index caf7f874f..a92178cd0 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi index 24248e8a0..68c27e38a 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): +class GdataBlobstore2Info(typing.TypedDict, total=False): blobGeneration: str blobId: str downloadExternalReadToken: str @@ -15,7 +13,7 @@ class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): uploadMetadataContainer: str @typing.type_check_only -class GdataCompositeMedia(typing_extensions.TypedDict, total=False): +class GdataCompositeMedia(typing.TypedDict, total=False): blobRef: str blobstore2Info: GdataBlobstore2Info cosmoBinaryReference: str @@ -25,13 +23,13 @@ class GdataCompositeMedia(typing_extensions.TypedDict, total=False): md5Hash: str objectId: GdataObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" ] sha1Hash: str @typing.type_check_only -class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): +class GdataContentTypeInfo(typing.TypedDict, total=False): bestGuess: str fromBytes: str fromFileName: str @@ -41,7 +39,7 @@ class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): fusionIdDetectionMetadata: str @typing.type_check_only -class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): +class GdataDiffChecksumsResponse(typing.TypedDict, total=False): checksumsLocation: GdataCompositeMedia chunkSizeBytes: str objectLocation: GdataCompositeMedia @@ -49,32 +47,32 @@ class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): objectVersion: str @typing.type_check_only -class GdataDiffDownloadResponse(typing_extensions.TypedDict, total=False): +class GdataDiffDownloadResponse(typing.TypedDict, total=False): objectLocation: GdataCompositeMedia @typing.type_check_only -class GdataDiffUploadRequest(typing_extensions.TypedDict, total=False): +class GdataDiffUploadRequest(typing.TypedDict, total=False): checksumsInfo: GdataCompositeMedia objectInfo: GdataCompositeMedia objectVersion: str @typing.type_check_only -class GdataDiffUploadResponse(typing_extensions.TypedDict, total=False): +class GdataDiffUploadResponse(typing.TypedDict, total=False): objectVersion: str originalObject: GdataCompositeMedia @typing.type_check_only -class GdataDiffVersionResponse(typing_extensions.TypedDict, total=False): +class GdataDiffVersionResponse(typing.TypedDict, total=False): objectSizeBytes: str objectVersion: str @typing.type_check_only -class GdataDownloadParameters(typing_extensions.TypedDict, total=False): +class GdataDownloadParameters(typing.TypedDict, total=False): allowGzipCompression: bool ignoreRange: bool @typing.type_check_only -class GdataMedia(typing_extensions.TypedDict, total=False): +class GdataMedia(typing.TypedDict, total=False): algorithm: str bigstoreObjectRef: str blobRef: str @@ -100,7 +98,7 @@ class GdataMedia(typing_extensions.TypedDict, total=False): mediaId: str objectId: GdataObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", @@ -122,14 +120,14 @@ class GdataMedia(typing_extensions.TypedDict, total=False): token: str @typing.type_check_only -class GdataObjectId(typing_extensions.TypedDict, total=False): +class GdataObjectId(typing.TypedDict, total=False): bucketName: str generation: str objectName: str @typing.type_check_only -class GoogleFirebaseAppdistroV1AabInfo(typing_extensions.TypedDict, total=False): - integrationState: typing_extensions.Literal[ +class GoogleFirebaseAppdistroV1AabInfo(typing.TypedDict, total=False): + integrationState: typing.Literal[ "AAB_INTEGRATION_STATE_UNSPECIFIED", "INTEGRATED", "PLAY_ACCOUNT_NOT_LINKED", @@ -140,67 +138,56 @@ class GoogleFirebaseAppdistroV1AabInfo(typing_extensions.TypedDict, total=False) "ADHOC_SHARING_KEY_NOT_GENERATED", "ADHOC_SHARING_KEY_NOT_REGISTERED", "PLAY_ANDROID_DEVELOPER_CONSOLE_ACCOUNT_NOT_FOUND", + "PLAY_ANDROID_DEVELOPER_CONSOLE_PACKAGE_NOT_FOUND", ] name: str testCertificate: GoogleFirebaseAppdistroV1TestCertificate @typing.type_check_only -class GoogleFirebaseAppdistroV1BatchAddTestersRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1BatchAddTestersRequest(typing.TypedDict, total=False): emails: _list[str] @typing.type_check_only -class GoogleFirebaseAppdistroV1BatchAddTestersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1BatchAddTestersResponse(typing.TypedDict, total=False): testers: _list[GoogleFirebaseAppdistroV1Tester] @typing.type_check_only class GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only -class GoogleFirebaseAppdistroV1BatchJoinGroupRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1BatchJoinGroupRequest(typing.TypedDict, total=False): createMissingTesters: bool emails: _list[str] @typing.type_check_only -class GoogleFirebaseAppdistroV1BatchLeaveGroupRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1BatchLeaveGroupRequest(typing.TypedDict, total=False): emails: _list[str] @typing.type_check_only -class GoogleFirebaseAppdistroV1BatchRemoveTestersRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1BatchRemoveTestersRequest(typing.TypedDict, total=False): emails: _list[str] @typing.type_check_only class GoogleFirebaseAppdistroV1BatchRemoveTestersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emails: _list[str] @typing.type_check_only -class GoogleFirebaseAppdistroV1DistributeReleaseRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1DistributeReleaseRequest(typing.TypedDict, total=False): groupAliases: _list[str] testerEmails: _list[str] @typing.type_check_only class GoogleFirebaseAppdistroV1DistributeReleaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleFirebaseAppdistroV1FeedbackReport(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1FeedbackReport(typing.TypedDict, total=False): createTime: str firebaseConsoleUri: str name: str @@ -209,7 +196,7 @@ class GoogleFirebaseAppdistroV1FeedbackReport(typing_extensions.TypedDict, total text: str @typing.type_check_only -class GoogleFirebaseAppdistroV1Group(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1Group(typing.TypedDict, total=False): displayName: str inviteLinkCount: int name: str @@ -218,81 +205,87 @@ class GoogleFirebaseAppdistroV1Group(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleFirebaseAppdistroV1ListFeedbackReportsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedbackReports: _list[GoogleFirebaseAppdistroV1FeedbackReport] nextPageToken: str @typing.type_check_only -class GoogleFirebaseAppdistroV1ListGroupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1ListGroupsResponse(typing.TypedDict, total=False): groups: _list[GoogleFirebaseAppdistroV1Group] nextPageToken: str @typing.type_check_only -class GoogleFirebaseAppdistroV1ListReleasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1ListReleasesResponse(typing.TypedDict, total=False): nextPageToken: str releases: _list[GoogleFirebaseAppdistroV1Release] + totalSize: int @typing.type_check_only -class GoogleFirebaseAppdistroV1ListTestersResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1ListTestersResponse(typing.TypedDict, total=False): nextPageToken: str testers: _list[GoogleFirebaseAppdistroV1Tester] @typing.type_check_only -class GoogleFirebaseAppdistroV1Release(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1Release(typing.TypedDict, total=False): + acceptedInvitationCount: int + androidPackageRegistrationState: typing.Literal[ + "ANDROID_PACKAGE_REGISTRATION_STATE_UNSPECIFIED", + "REGISTERED", + "NOT_REGISTERED", + "REGISTERED_WITH_ANOTHER_CERTIFICATE_FINGERPRINT", + ] binaryDownloadUri: str + binaryType: typing.Literal["BINARY_TYPE_UNSPECIFIED", "IPA", "APK", "AAB"] buildVersion: str createTime: str displayVersion: str expireTime: str + feedbackCount: int firebaseConsoleUri: str + installationCount: int name: str + openInvitationCount: int releaseNotes: GoogleFirebaseAppdistroV1ReleaseNotes + testState: typing.Literal[ + "TEST_STATE_UNSPECIFIED", + "NO_TESTS_REQUESTED", + "IN_PROGRESS", + "PASSED", + "FAILED", + "INCONCLUSIVE", + ] testingUri: str updateTime: str @typing.type_check_only -class GoogleFirebaseAppdistroV1ReleaseNotes(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1ReleaseNotes(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleFirebaseAppdistroV1TestCertificate( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1TestCertificate(typing.TypedDict, total=False): hashMd5: str hashSha1: str hashSha256: str @typing.type_check_only -class GoogleFirebaseAppdistroV1Tester(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1Tester(typing.TypedDict, total=False): displayName: str groups: _list[str] lastActivityTime: str name: str @typing.type_check_only -class GoogleFirebaseAppdistroV1UploadReleaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirebaseAppdistroV1UploadReleaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirebaseAppdistroV1UploadReleaseRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1UploadReleaseRequest(typing.TypedDict, total=False): blob: GdataMedia @typing.type_check_only -class GoogleFirebaseAppdistroV1UploadReleaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1UploadReleaseResponse(typing.TypedDict, total=False): release: GoogleFirebaseAppdistroV1Release - result: typing_extensions.Literal[ + result: typing.Literal[ "UPLOAD_RELEASE_RESULT_UNSPECIFIED", "RELEASE_CREATED", "RELEASE_UPDATED", @@ -300,18 +293,16 @@ class GoogleFirebaseAppdistroV1UploadReleaseResponse( ] @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -319,14 +310,14 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleLongrunningWaitOperationRequest(typing_extensions.TypedDict, total=False): +class GoogleLongrunningWaitOperationRequest(typing.TypedDict, total=False): timeout: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi index 64ab45b34..25755847b 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -70,7 +69,7 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): self, *, mobilesdkAppId: str, - appView: typing_extensions.Literal["APP_VIEW_UNSPECIFIED", "BASIC", "FULL"] + appView: typing.Literal["APP_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> GoogleFirebaseAppdistroV1alphaAppHttpRequest: ... @@ -110,7 +109,7 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "RELEASE_TEST_VIEW_UNSPECIFIED", "RELEASE_TEST_VIEW_BASIC", "RELEASE_TEST_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi index 13eb5d9e3..1e26b88d3 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi @@ -1,49 +1,62 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AndroidxCrawlerOutputPoint(typing_extensions.TypedDict, total=False): +class AndroidxCrawlerOutputPoint(typing.TypedDict, total=False): xCoordinate: int yCoordinate: int @typing.type_check_only -class AndroidxCrawlerOutputRectangle(typing_extensions.TypedDict, total=False): +class AndroidxCrawlerOutputRectangle(typing.TypedDict, total=False): bottom: int left: int right: int top: int @typing.type_check_only -class GoogleFirebaseAppdistroV1Release(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1Release(typing.TypedDict, total=False): + acceptedInvitationCount: int + androidPackageRegistrationState: typing.Literal[ + "ANDROID_PACKAGE_REGISTRATION_STATE_UNSPECIFIED", + "REGISTERED", + "NOT_REGISTERED", + "REGISTERED_WITH_ANOTHER_CERTIFICATE_FINGERPRINT", + ] binaryDownloadUri: str + binaryType: typing.Literal["BINARY_TYPE_UNSPECIFIED", "IPA", "APK", "AAB"] buildVersion: str createTime: str displayVersion: str expireTime: str + feedbackCount: int firebaseConsoleUri: str + installationCount: int name: str + openInvitationCount: int releaseNotes: GoogleFirebaseAppdistroV1ReleaseNotes + testState: typing.Literal[ + "TEST_STATE_UNSPECIFIED", + "NO_TESTS_REQUESTED", + "IN_PROGRESS", + "PASSED", + "FAILED", + "INCONCLUSIVE", + ] testingUri: str updateTime: str @typing.type_check_only -class GoogleFirebaseAppdistroV1ReleaseNotes(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1ReleaseNotes(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleFirebaseAppdistroV1UploadReleaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirebaseAppdistroV1UploadReleaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirebaseAppdistroV1UploadReleaseResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1UploadReleaseResponse(typing.TypedDict, total=False): release: GoogleFirebaseAppdistroV1Release - result: typing_extensions.Literal[ + result: typing.Literal[ "UPLOAD_RELEASE_RESULT_UNSPECIFIED", "RELEASE_CREATED", "RELEASE_UPDATED", @@ -51,21 +64,17 @@ class GoogleFirebaseAppdistroV1UploadReleaseResponse( ] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaAabCertificate( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaAabCertificate(typing.TypedDict, total=False): certificateHashMd5: str certificateHashSha1: str certificateHashSha256: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaAiInstructions( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaAiInstructions(typing.TypedDict, total=False): steps: _list[GoogleFirebaseAppdistroV1alphaAiStep] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaAiStep(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaAiStep(typing.TypedDict, total=False): assertion: str goal: str hint: str @@ -73,12 +82,10 @@ class GoogleFirebaseAppdistroV1alphaAiStep(typing_extensions.TypedDict, total=Fa testCase: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaAiStepResult( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaAiStepResult(typing.TypedDict, total=False): assertionDetails: GoogleFirebaseAppdistroV1alphaAssertionDetails goalDetails: GoogleFirebaseAppdistroV1alphaGoalDetails - state: typing_extensions.Literal[ + state: typing.Literal[ "STEP_STATE_UNSPECIFIED", "IN_PROGRESS", "PASSED", @@ -89,9 +96,9 @@ class GoogleFirebaseAppdistroV1alphaAiStepResult( step: GoogleFirebaseAppdistroV1alphaAiStep @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaApp(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaApp(typing.TypedDict, total=False): aabCertificate: GoogleFirebaseAppdistroV1alphaAabCertificate - aabState: typing_extensions.Literal[ + aabState: typing.Literal[ "AAB_STATE_UNSPECIFIED", "ACTIVE", "PLAY_ACCOUNT_NOT_LINKED", @@ -107,86 +114,80 @@ class GoogleFirebaseAppdistroV1alphaApp(typing_extensions.TypedDict, total=False projectNumber: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaAppCrash(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaAppCrash(typing.TypedDict, total=False): message: str stackTrace: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaAssertionDetails( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaAssertionDetails(typing.TypedDict, total=False): explanation: str result: bool screenshot: GoogleFirebaseAppdistroV1alphaScreenshot @typing.type_check_only class GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest] @typing.type_check_only class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): testCases: _list[GoogleFirebaseAppdistroV1alphaTestCase] @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): testDevices: _list[GoogleFirebaseAppdistroV1alphaTestDevice] @typing.type_check_only class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): releaseNotes: GoogleFirebaseAppdistroV1alphaReleaseNotes @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaDeviceAction( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaDeviceAction(typing.TypedDict, total=False): description: str deviceInteractions: _list[GoogleFirebaseAppdistroV1alphaDeviceInteraction] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaDeviceExecution( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaDeviceExecution(typing.TypedDict, total=False): aiStepResults: _list[GoogleFirebaseAppdistroV1alphaAiStepResult] appCrash: GoogleFirebaseAppdistroV1alphaAppCrash crawlGraphUri: str device: GoogleFirebaseAppdistroV1alphaTestDevice - executionType: typing_extensions.Literal[ + executionType: typing.Literal[ "EXECUTION_TYPE_UNSPECIFIED", "AI", "ACTION_BASED_REPLAY", "AI_REPLAY", "RANDOM_CRAWL", ] - failedReason: typing_extensions.Literal[ + failedReason: typing.Literal[ "FAILED_REASON_UNSPECIFIED", "CRASHED", "NOT_INSTALLED", @@ -196,7 +197,7 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( "TIMED_OUT", ] finalAiAssertionMissing: bool - inconclusiveReason: typing_extensions.Literal[ + inconclusiveReason: typing.Literal[ "INCONCLUSIVE_REASON_UNSPECIFIED", "QUOTA_EXCEEDED", "INFRASTRUCTURE_FAILURE", @@ -213,16 +214,14 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( resultsStoragePath: str roboStats: GoogleFirebaseAppdistroV1alphaRoboStats screenshotUris: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "TEST_STATE_UNSPECIFIED", "IN_PROGRESS", "PASSED", "FAILED", "INCONCLUSIVE" ] videoStartTime: str videoUri: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaDeviceInteraction( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaDeviceInteraction(typing.TypedDict, total=False): backAction: GoogleFirebaseAppdistroV1alphaDeviceInteractionBack dragAndDrop: GoogleFirebaseAppdistroV1alphaDeviceInteractionDragAndDrop enterText: GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText @@ -232,7 +231,7 @@ class GoogleFirebaseAppdistroV1alphaDeviceInteraction( swipe: GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe tap: AndroidxCrawlerOutputPoint targetFoldedState: str - targetOrientation: typing_extensions.Literal[ + targetOrientation: typing.Literal[ "ORIENTATION_UNSPECIFIED", "PORTRAIT", "LANDSCAPE" ] textInput: str @@ -240,39 +239,39 @@ class GoogleFirebaseAppdistroV1alphaDeviceInteraction( @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteractionBack( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteractionDragAndDrop( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): end: AndroidxCrawlerOutputPoint start: AndroidxCrawlerOutputPoint @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): elementBounds: AndroidxCrawlerOutputRectangle text: str @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): end: AndroidxCrawlerOutputPoint start: AndroidxCrawlerOutputPoint @typing.type_check_only class GoogleFirebaseAppdistroV1alphaDeviceInteractionWait( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str @typing.type_check_only class GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): buildVersion: str displayVersion: str @@ -281,26 +280,26 @@ class GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest( @typing.type_check_only class GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): release: GoogleFirebaseAppdistroV1alphaRelease @typing.type_check_only class GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): testerUdids: _list[GoogleFirebaseAppdistroV1alphaTesterUdid] @typing.type_check_only class GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_UNSPECIFIED", "INVALID_ZIP", "MISSING_PLIST", @@ -326,18 +325,17 @@ class GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse( "APP_NOT_FOUND", "AAB_ADHOC_SHARING_KEY_NOT_REGISTERED", "AAB_ANDROID_DEVELOPER_CONSOLE_ACCOUNT_NOT_FOUND", + "AAB_ANDROID_DEVELOPER_CONSOLE_PACKAGE_NOT_FOUND", ] message: str release: GoogleFirebaseAppdistroV1alphaRelease - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "IN_PROGRESS", "ALREADY_UPLOADED", "SUCCESS", "ERROR" ] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaGoalAction( - typing_extensions.TypedDict, total=False -): - cachingType: typing_extensions.Literal[ +class GoogleFirebaseAppdistroV1alphaGoalAction(typing.TypedDict, total=False): + cachingType: typing.Literal[ "CACHING_TYPE_UNSPECIFIED", "NO_CACHING", "CACHE_AND_MODEL", "CACHE_ONLY" ] debugInfo: GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo @@ -347,40 +345,34 @@ class GoogleFirebaseAppdistroV1alphaGoalAction( terminalAction: GoogleFirebaseAppdistroV1alphaTerminalAction @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo(typing.TypedDict, total=False): annotatedScreenshotUri: str jsonUri: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaGoalDetails( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaGoalDetails(typing.TypedDict, total=False): goalActions: _list[GoogleFirebaseAppdistroV1alphaGoalAction] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaJwt(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaJwt(typing.TypedDict, total=False): token: str @typing.type_check_only class GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str releaseTests: _list[GoogleFirebaseAppdistroV1alphaReleaseTest] @typing.type_check_only class GoogleFirebaseAppdistroV1alphaListTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str testCases: _list[GoogleFirebaseAppdistroV1alphaTestCase] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaLoginCredential( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaLoginCredential(typing.TypedDict, total=False): fieldHints: GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints google: bool password: str @@ -388,13 +380,13 @@ class GoogleFirebaseAppdistroV1alphaLoginCredential( @typing.type_check_only class GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): passwordResourceName: str usernameResourceName: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaRelease(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaRelease(typing.TypedDict, total=False): buildVersion: str displayVersion: str distributedAt: str @@ -408,15 +400,11 @@ class GoogleFirebaseAppdistroV1alphaRelease(typing_extensions.TypedDict, total=F testerWithInstallCount: int @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaReleaseNotes( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaReleaseNotes(typing.TypedDict, total=False): releaseNotes: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaReleaseTest( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaReleaseTest(typing.TypedDict, total=False): aiInstructions: GoogleFirebaseAppdistroV1alphaAiInstructions createTime: str deviceExecutions: _list[GoogleFirebaseAppdistroV1alphaDeviceExecution] @@ -425,43 +413,35 @@ class GoogleFirebaseAppdistroV1alphaReleaseTest( name: str resultsBucket: str testCase: str - testState: typing_extensions.Literal[ + testState: typing.Literal[ "TEST_STATE_UNSPECIFIED", "IN_PROGRESS", "PASSED", "FAILED", "INCONCLUSIVE" ] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaRoboCrawler( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaRoboCrawler(typing.TypedDict, total=False): aiInstructions: GoogleFirebaseAppdistroV1alphaAiInstructions loginCredential: GoogleFirebaseAppdistroV1alphaLoginCredential @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaRoboStats(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaRoboStats(typing.TypedDict, total=False): actionsPerformed: int crawlDuration: str distinctVisitedScreens: int mainActivityCrawlTimedOut: bool @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaScreenshot( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaScreenshot(typing.TypedDict, total=False): height: int uri: str width: int @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTerminalAction( - typing_extensions.TypedDict, total=False -): - reason: typing_extensions.Literal[ - "REASON_UNSPECIFIED", "GOAL_IMPOSSIBLE", "GOAL_COMPLETE" - ] +class GoogleFirebaseAppdistroV1alphaTerminalAction(typing.TypedDict, total=False): + reason: typing.Literal["REASON_UNSPECIFIED", "GOAL_IMPOSSIBLE", "GOAL_COMPLETE"] screenshot: GoogleFirebaseAppdistroV1alphaScreenshot @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTestCase(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaTestCase(typing.TypedDict, total=False): aiInstructions: GoogleFirebaseAppdistroV1alphaAiInstructions createTime: str dependentTestCases: _list[str] @@ -470,9 +450,7 @@ class GoogleFirebaseAppdistroV1alphaTestCase(typing_extensions.TypedDict, total= prerequisiteTestCase: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTestConfig( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaTestConfig(typing.TypedDict, total=False): displayName: str name: str resultsBucket: str @@ -480,34 +458,30 @@ class GoogleFirebaseAppdistroV1alphaTestConfig( testDevices: _list[GoogleFirebaseAppdistroV1alphaTestDevice] @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTestDevice( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaTestDevice(typing.TypedDict, total=False): locale: str model: str orientation: str version: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTestQuota(typing_extensions.TypedDict, total=False): +class GoogleFirebaseAppdistroV1alphaTestQuota(typing.TypedDict, total=False): limit: str name: str usage: str @typing.type_check_only -class GoogleFirebaseAppdistroV1alphaTesterUdid( - typing_extensions.TypedDict, total=False -): +class GoogleFirebaseAppdistroV1alphaTesterUdid(typing.TypedDict, total=False): name: str platform: str udid: str @typing.type_check_only class GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMissing: bool testCase: GoogleFirebaseAppdistroV1alphaTestCase @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi index a13e38f20..15ffc401e 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi index 075091245..80aa67538 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ArchiveSource(typing_extensions.TypedDict, total=False): +class ArchiveSource(typing.TypedDict, total=False): author: SourceUserMetadata description: str externalSignedUri: str @@ -13,7 +11,7 @@ class ArchiveSource(typing_extensions.TypedDict, total=False): userStorageUri: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): annotations: dict[str, typing.Any] appId: str codebase: Codebase @@ -29,7 +27,7 @@ class Backend(typing_extensions.TypedDict, total=False): reconciling: bool requestLogsDisabled: bool serviceAccount: str - servingLocality: typing_extensions.Literal[ + servingLocality: typing.Literal[ "SERVING_LOCALITY_UNSPECIFIED", "REGIONAL_STRICT", "GLOBAL_ACCESS" ] uid: str @@ -37,7 +35,7 @@ class Backend(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): annotations: dict[str, typing.Any] buildLogsUri: str config: Config @@ -52,7 +50,7 @@ class Build(typing_extensions.TypedDict, total=False): name: str reconciling: bool source: BuildSource - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "BUILDING", "BUILT", @@ -66,21 +64,21 @@ class Build(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BuildSource(typing_extensions.TypedDict, total=False): +class BuildSource(typing.TypedDict, total=False): archive: ArchiveSource codebase: CodebaseSource container: ContainerSource @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Codebase(typing_extensions.TypedDict, total=False): +class Codebase(typing.TypedDict, total=False): repository: str rootDirectory: str @typing.type_check_only -class CodebaseSource(typing_extensions.TypedDict, total=False): +class CodebaseSource(typing.TypedDict, total=False): author: UserMetadata branch: str commit: str @@ -92,18 +90,18 @@ class CodebaseSource(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): effectiveEnv: _list[EnvironmentVariable] env: _list[EnvironmentVariable] runConfig: RunConfig @typing.type_check_only -class ContainerSource(typing_extensions.TypedDict, total=False): +class ContainerSource(typing.TypedDict, total=False): image: str @typing.type_check_only -class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): - certState: typing_extensions.Literal[ +class CustomDomainOperationMetadata(typing.TypedDict, total=False): + certState: typing.Literal[ "CERT_STATE_UNSPECIFIED", "CERT_PREPARING", "CERT_VALIDATING", @@ -112,7 +110,7 @@ class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): "CERT_EXPIRING_SOON", "CERT_EXPIRED", ] - hostState: typing_extensions.Literal[ + hostState: typing.Literal[ "HOST_STATE_UNSPECIFIED", "HOST_UNHOSTED", "HOST_UNREACHABLE", @@ -123,7 +121,7 @@ class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): ] issues: _list[Status] liveMigrationSteps: _list[LiveMigrationStep] - ownershipState: typing_extensions.Literal[ + ownershipState: typing.Literal[ "OWNERSHIP_STATE_UNSPECIFIED", "OWNERSHIP_MISSING", "OWNERSHIP_UNREACHABLE", @@ -135,8 +133,8 @@ class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): quickSetupUpdates: _list[DnsUpdates] @typing.type_check_only -class CustomDomainStatus(typing_extensions.TypedDict, total=False): - certState: typing_extensions.Literal[ +class CustomDomainStatus(typing.TypedDict, total=False): + certState: typing.Literal[ "CERT_STATE_UNSPECIFIED", "CERT_PREPARING", "CERT_VALIDATING", @@ -145,7 +143,7 @@ class CustomDomainStatus(typing_extensions.TypedDict, total=False): "CERT_EXPIRING_SOON", "CERT_EXPIRED", ] - hostState: typing_extensions.Literal[ + hostState: typing.Literal[ "HOST_STATE_UNSPECIFIED", "HOST_UNHOSTED", "HOST_UNREACHABLE", @@ -155,7 +153,7 @@ class CustomDomainStatus(typing_extensions.TypedDict, total=False): "HOST_ACTIVE", ] issues: _list[Status] - ownershipState: typing_extensions.Literal[ + ownershipState: typing.Literal[ "OWNERSHIP_STATE_UNSPECIFIED", "OWNERSHIP_MISSING", "OWNERSHIP_UNREACHABLE", @@ -167,37 +165,35 @@ class CustomDomainStatus(typing_extensions.TypedDict, total=False): requiredDnsUpdates: _list[DnsUpdates] @typing.type_check_only -class DnsRecord(typing_extensions.TypedDict, total=False): +class DnsRecord(typing.TypedDict, total=False): domainName: str rdata: str relevantState: _list[ - typing_extensions.Literal[ + typing.Literal[ "CUSTOM_DOMAIN_STATE_UNSPECIFIED", "HOST_STATE", "OWNERSHIP_STATE", "CERT_STATE", ] ] - requiredAction: typing_extensions.Literal["NONE", "ADD", "REMOVE"] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA" - ] + requiredAction: typing.Literal["NONE", "ADD", "REMOVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA"] @typing.type_check_only -class DnsRecordSet(typing_extensions.TypedDict, total=False): +class DnsRecordSet(typing.TypedDict, total=False): checkError: Status domainName: str records: _list[DnsRecord] @typing.type_check_only -class DnsUpdates(typing_extensions.TypedDict, total=False): +class DnsUpdates(typing.TypedDict, total=False): checkTime: str desired: _list[DnsRecordSet] discovered: _list[DnsRecordSet] domainName: str @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str customDomainStatus: CustomDomainStatus @@ -209,12 +205,12 @@ class Domain(typing_extensions.TypedDict, total=False): name: str reconciling: bool serve: ServingBehavior - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DEFAULT", "CUSTOM"] + type: typing.Literal["TYPE_UNSPECIFIED", "DEFAULT", "CUSTOM"] uid: str updateTime: str @typing.type_check_only -class DomainOperationMetadata(typing_extensions.TypedDict, total=False): +class DomainOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str customDomainOperationMetadata: CustomDomainOperationMetadata @@ -225,14 +221,12 @@ class DomainOperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentVariable(typing_extensions.TypedDict, total=False): - availability: _list[ - typing_extensions.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"] - ] - origin: typing_extensions.Literal[ +class EnvironmentVariable(typing.TypedDict, total=False): + availability: _list[typing.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"]] + origin: typing.Literal[ "ORIGIN_UNSPECIFIED", "BACKEND_OVERRIDES", "BUILD_CONFIG", @@ -245,61 +239,59 @@ class EnvironmentVariable(typing_extensions.TypedDict, total=False): variable: str @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): cloudResource: str error: Status - errorSource: typing_extensions.Literal[ - "ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN" - ] + errorSource: typing.Literal["ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN"] @typing.type_check_only -class ListBackendsResponse(typing_extensions.TypedDict, total=False): +class ListBackendsResponse(typing.TypedDict, total=False): backends: _list[Backend] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBuildsResponse(typing_extensions.TypedDict, total=False): +class ListBuildsResponse(typing.TypedDict, total=False): builds: _list[Build] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] unreachable: _list[str] @typing.type_check_only -class LiveMigrationStep(typing_extensions.TypedDict, total=False): +class LiveMigrationStep(typing.TypedDict, total=False): dnsUpdates: _list[DnsUpdates] issues: _list[Status] relevantDomainStates: _list[ - typing_extensions.Literal[ + typing.Literal[ "CUSTOM_DOMAIN_STATE_UNSPECIFIED", "HOST_STATE", "OWNERSHIP_STATE", "CERT_STATE", ] ] - stepState: typing_extensions.Literal[ + stepState: typing.Literal[ "STEP_STATE_UNSPECIFIED", "PREPARING", "PENDING", @@ -309,7 +301,7 @@ class LiveMigrationStep(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -317,11 +309,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ManagedResource(typing_extensions.TypedDict, total=False): +class ManagedResource(typing.TypedDict, total=False): runService: RunService @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -329,7 +321,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -339,17 +331,17 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Path(typing_extensions.TypedDict, total=False): +class Path(typing.TypedDict, total=False): pattern: str - type: typing_extensions.Literal["PATTERN_TYPE_UNSPECIFIED", "RE2", "GLOB", "PREFIX"] + type: typing.Literal["PATTERN_TYPE_UNSPECIFIED", "RE2", "GLOB", "PREFIX"] @typing.type_check_only -class Redirect(typing_extensions.TypedDict, total=False): +class Redirect(typing.TypedDict, total=False): status: str uri: str @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): annotations: dict[str, typing.Any] build: str createTime: str @@ -360,7 +352,7 @@ class Rollout(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "PENDING_BUILD", @@ -375,7 +367,7 @@ class Rollout(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RolloutPolicy(typing_extensions.TypedDict, total=False): +class RolloutPolicy(typing.TypedDict, total=False): codebaseBranch: str disabled: bool disabledTime: str @@ -383,7 +375,7 @@ class RolloutPolicy(typing_extensions.TypedDict, total=False): requiredPaths: _list[Path] @typing.type_check_only -class RunConfig(typing_extensions.TypedDict, total=False): +class RunConfig(typing.TypedDict, total=False): concurrency: int cpu: float maxInstances: int @@ -391,27 +383,27 @@ class RunConfig(typing_extensions.TypedDict, total=False): minInstances: int @typing.type_check_only -class RunService(typing_extensions.TypedDict, total=False): +class RunService(typing.TypedDict, total=False): service: str @typing.type_check_only -class ServingBehavior(typing_extensions.TypedDict, total=False): +class ServingBehavior(typing.TypedDict, total=False): redirect: Redirect @typing.type_check_only -class SourceUserMetadata(typing_extensions.TypedDict, total=False): +class SourceUserMetadata(typing.TypedDict, total=False): displayName: str email: str imageUri: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Traffic(typing_extensions.TypedDict, total=False): +class Traffic(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str current: TrafficSet @@ -425,16 +417,16 @@ class Traffic(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TrafficSet(typing_extensions.TypedDict, total=False): +class TrafficSet(typing.TypedDict, total=False): splits: _list[TrafficSplit] @typing.type_check_only -class TrafficSplit(typing_extensions.TypedDict, total=False): +class TrafficSplit(typing.TypedDict, total=False): build: str percent: int @typing.type_check_only -class UserMetadata(typing_extensions.TypedDict, total=False): +class UserMetadata(typing.TypedDict, total=False): displayName: str email: str imageUri: str diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi index e5c3c4192..189a1d9e7 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi index 58c522fc0..d348fe6f2 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ArchiveSource(typing_extensions.TypedDict, total=False): +class ArchiveSource(typing.TypedDict, total=False): author: SourceUserMetadata description: str externalSignedUri: str @@ -13,7 +11,7 @@ class ArchiveSource(typing_extensions.TypedDict, total=False): userStorageUri: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): annotations: dict[str, typing.Any] appId: str automaticBaseImageUpdatesDisabled: bool @@ -32,7 +30,7 @@ class Backend(typing_extensions.TypedDict, total=False): requestLogsDisabled: bool runtime: BackendRuntime serviceAccount: str - servingLocality: typing_extensions.Literal[ + servingLocality: typing.Literal[ "SERVING_LOCALITY_UNSPECIFIED", "REGIONAL_STRICT", "GLOBAL_ACCESS" ] uid: str @@ -40,11 +38,11 @@ class Backend(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class BackendRuntime(typing_extensions.TypedDict, total=False): +class BackendRuntime(typing.TypedDict, total=False): value: str @typing.type_check_only -class Build(typing_extensions.TypedDict, total=False): +class Build(typing.TypedDict, total=False): annotations: dict[str, typing.Any] buildLogsUri: str config: Config @@ -53,9 +51,7 @@ class Build(typing_extensions.TypedDict, total=False): displayName: str environment: str error: Status - errorSource: typing_extensions.Literal[ - "ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN" - ] + errorSource: typing.Literal["ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN"] errors: _list[Error] etag: str image: str @@ -63,7 +59,7 @@ class Build(typing_extensions.TypedDict, total=False): name: str reconciling: bool source: BuildSource - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "BUILDING", "BUILT", @@ -77,19 +73,19 @@ class Build(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BuildSource(typing_extensions.TypedDict, total=False): +class BuildSource(typing.TypedDict, total=False): archive: ArchiveSource codebase: CodebaseSource container: ContainerSource locallyBuilt: LocallyBuiltSource @typing.type_check_only -class Codebase(typing_extensions.TypedDict, total=False): +class Codebase(typing.TypedDict, total=False): repository: str rootDirectory: str @typing.type_check_only -class CodebaseSource(typing_extensions.TypedDict, total=False): +class CodebaseSource(typing.TypedDict, total=False): author: UserMetadata branch: str commit: str @@ -101,18 +97,18 @@ class CodebaseSource(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): effectiveEnv: _list[EnvironmentVariable] env: _list[EnvironmentVariable] runConfig: RunConfig @typing.type_check_only -class ContainerSource(typing_extensions.TypedDict, total=False): +class ContainerSource(typing.TypedDict, total=False): image: str @typing.type_check_only -class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): - certState: typing_extensions.Literal[ +class CustomDomainOperationMetadata(typing.TypedDict, total=False): + certState: typing.Literal[ "CERT_STATE_UNSPECIFIED", "CERT_PREPARING", "CERT_VALIDATING", @@ -121,7 +117,7 @@ class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): "CERT_EXPIRING_SOON", "CERT_EXPIRED", ] - hostState: typing_extensions.Literal[ + hostState: typing.Literal[ "HOST_STATE_UNSPECIFIED", "HOST_UNHOSTED", "HOST_UNREACHABLE", @@ -132,7 +128,7 @@ class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): ] issues: _list[Status] liveMigrationSteps: _list[LiveMigrationStep] - ownershipState: typing_extensions.Literal[ + ownershipState: typing.Literal[ "OWNERSHIP_STATE_UNSPECIFIED", "OWNERSHIP_MISSING", "OWNERSHIP_UNREACHABLE", @@ -144,8 +140,8 @@ class CustomDomainOperationMetadata(typing_extensions.TypedDict, total=False): quickSetupUpdates: _list[DnsUpdates] @typing.type_check_only -class CustomDomainStatus(typing_extensions.TypedDict, total=False): - certState: typing_extensions.Literal[ +class CustomDomainStatus(typing.TypedDict, total=False): + certState: typing.Literal[ "CERT_STATE_UNSPECIFIED", "CERT_PREPARING", "CERT_VALIDATING", @@ -154,7 +150,7 @@ class CustomDomainStatus(typing_extensions.TypedDict, total=False): "CERT_EXPIRING_SOON", "CERT_EXPIRED", ] - hostState: typing_extensions.Literal[ + hostState: typing.Literal[ "HOST_STATE_UNSPECIFIED", "HOST_UNHOSTED", "HOST_UNREACHABLE", @@ -164,7 +160,7 @@ class CustomDomainStatus(typing_extensions.TypedDict, total=False): "HOST_ACTIVE", ] issues: _list[Status] - ownershipState: typing_extensions.Literal[ + ownershipState: typing.Literal[ "OWNERSHIP_STATE_UNSPECIFIED", "OWNERSHIP_MISSING", "OWNERSHIP_UNREACHABLE", @@ -176,37 +172,35 @@ class CustomDomainStatus(typing_extensions.TypedDict, total=False): requiredDnsUpdates: _list[DnsUpdates] @typing.type_check_only -class DnsRecord(typing_extensions.TypedDict, total=False): +class DnsRecord(typing.TypedDict, total=False): domainName: str rdata: str relevantState: _list[ - typing_extensions.Literal[ + typing.Literal[ "CUSTOM_DOMAIN_STATE_UNSPECIFIED", "HOST_STATE", "OWNERSHIP_STATE", "CERT_STATE", ] ] - requiredAction: typing_extensions.Literal["NONE", "ADD", "REMOVE"] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA" - ] + requiredAction: typing.Literal["NONE", "ADD", "REMOVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA"] @typing.type_check_only -class DnsRecordSet(typing_extensions.TypedDict, total=False): +class DnsRecordSet(typing.TypedDict, total=False): checkError: Status domainName: str records: _list[DnsRecord] @typing.type_check_only -class DnsUpdates(typing_extensions.TypedDict, total=False): +class DnsUpdates(typing.TypedDict, total=False): checkTime: str desired: _list[DnsRecordSet] discovered: _list[DnsRecordSet] domainName: str @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str customDomainStatus: CustomDomainStatus @@ -219,12 +213,12 @@ class Domain(typing_extensions.TypedDict, total=False): purgeTime: str reconciling: bool serve: ServingBehavior - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DEFAULT", "CUSTOM"] + type: typing.Literal["TYPE_UNSPECIFIED", "DEFAULT", "CUSTOM"] uid: str updateTime: str @typing.type_check_only -class DomainOperationMetadata(typing_extensions.TypedDict, total=False): +class DomainOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str customDomainOperationMetadata: CustomDomainOperationMetadata @@ -235,14 +229,12 @@ class DomainOperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentVariable(typing_extensions.TypedDict, total=False): - availability: _list[ - typing_extensions.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"] - ] - origin: typing_extensions.Literal[ +class EnvironmentVariable(typing.TypedDict, total=False): + availability: _list[typing.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"]] + origin: typing.Literal[ "ORIGIN_UNSPECIFIED", "BACKEND_OVERRIDES", "BUILD_CONFIG", @@ -255,65 +247,63 @@ class EnvironmentVariable(typing_extensions.TypedDict, total=False): variable: str @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): cloudResource: str error: Status - errorSource: typing_extensions.Literal[ - "ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN" - ] + errorSource: typing.Literal["ERROR_SOURCE_UNSPECIFIED", "CLOUD_BUILD", "CLOUD_RUN"] @typing.type_check_only -class ListBackendsResponse(typing_extensions.TypedDict, total=False): +class ListBackendsResponse(typing.TypedDict, total=False): backends: _list[Backend] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBuildsResponse(typing_extensions.TypedDict, total=False): +class ListBuildsResponse(typing.TypedDict, total=False): builds: _list[Build] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] unreachable: _list[str] @typing.type_check_only -class ListSupportedRuntimesResponse(typing_extensions.TypedDict, total=False): +class ListSupportedRuntimesResponse(typing.TypedDict, total=False): supportedRuntimes: _list[SupportedRuntime] @typing.type_check_only -class LiveMigrationStep(typing_extensions.TypedDict, total=False): +class LiveMigrationStep(typing.TypedDict, total=False): dnsUpdates: _list[DnsUpdates] issues: _list[Status] relevantDomainStates: _list[ - typing_extensions.Literal[ + typing.Literal[ "CUSTOM_DOMAIN_STATE_UNSPECIFIED", "HOST_STATE", "OWNERSHIP_STATE", "CERT_STATE", ] ] - stepState: typing_extensions.Literal[ + stepState: typing.Literal[ "STEP_STATE_UNSPECIFIED", "PREPARING", "PENDING", @@ -323,7 +313,7 @@ class LiveMigrationStep(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LocallyBuiltSource(typing_extensions.TypedDict, total=False): +class LocallyBuiltSource(typing.TypedDict, total=False): description: str env: _list[EnvironmentVariable] rootDirectory: str @@ -332,7 +322,7 @@ class LocallyBuiltSource(typing_extensions.TypedDict, total=False): userStorageUri: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -340,11 +330,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ManagedResource(typing_extensions.TypedDict, total=False): +class ManagedResource(typing.TypedDict, total=False): runService: RunService @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -352,7 +342,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -362,17 +352,17 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Path(typing_extensions.TypedDict, total=False): +class Path(typing.TypedDict, total=False): pattern: str - type: typing_extensions.Literal["PATTERN_TYPE_UNSPECIFIED", "RE2", "GLOB", "PREFIX"] + type: typing.Literal["PATTERN_TYPE_UNSPECIFIED", "RE2", "GLOB", "PREFIX"] @typing.type_check_only -class Redirect(typing_extensions.TypedDict, total=False): +class Redirect(typing.TypedDict, total=False): status: str uri: str @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): annotations: dict[str, typing.Any] build: str createTime: str @@ -383,7 +373,7 @@ class Rollout(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "PENDING_BUILD", @@ -398,7 +388,7 @@ class Rollout(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RolloutPolicy(typing_extensions.TypedDict, total=False): +class RolloutPolicy(typing.TypedDict, total=False): codebaseBranch: str disabled: bool disabledTime: str @@ -406,7 +396,7 @@ class RolloutPolicy(typing_extensions.TypedDict, total=False): requiredPaths: _list[Path] @typing.type_check_only -class RunConfig(typing_extensions.TypedDict, total=False): +class RunConfig(typing.TypedDict, total=False): concurrency: int cpu: float maxInstances: int @@ -414,27 +404,27 @@ class RunConfig(typing_extensions.TypedDict, total=False): minInstances: int @typing.type_check_only -class RunService(typing_extensions.TypedDict, total=False): +class RunService(typing.TypedDict, total=False): service: str @typing.type_check_only -class ServingBehavior(typing_extensions.TypedDict, total=False): +class ServingBehavior(typing.TypedDict, total=False): redirect: Redirect @typing.type_check_only -class SourceUserMetadata(typing_extensions.TypedDict, total=False): +class SourceUserMetadata(typing.TypedDict, total=False): displayName: str email: str imageUri: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SupportedRuntime(typing_extensions.TypedDict, total=False): +class SupportedRuntime(typing.TypedDict, total=False): automaticBaseImageUpdatesSupported: bool decommissionTime: str deprecateTime: str @@ -442,7 +432,7 @@ class SupportedRuntime(typing_extensions.TypedDict, total=False): runtimeId: str @typing.type_check_only -class Traffic(typing_extensions.TypedDict, total=False): +class Traffic(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str current: TrafficSet @@ -456,16 +446,16 @@ class Traffic(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TrafficSet(typing_extensions.TypedDict, total=False): +class TrafficSet(typing.TypedDict, total=False): splits: _list[TrafficSplit] @typing.type_check_only -class TrafficSplit(typing_extensions.TypedDict, total=False): +class TrafficSplit(typing.TypedDict, total=False): build: str percent: int @typing.type_check_only -class UserMetadata(typing_extensions.TypedDict, total=False): +class UserMetadata(typing.TypedDict, total=False): displayName: str email: str imageUri: str 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..df3bb539f --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/resources.pyi @@ -0,0 +1,347 @@ +import collections.abc +import typing + +import httplib2 + +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.Literal[ + "FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "DESKTOP", + "TV", + "WATCH", + ] + | _list[ + typing.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.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + | _list[ + typing.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + ] + | None = ..., + filter_issue_id: str | None = ..., + filter_issue_signals: typing.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + | _list[ + typing.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + ] + | None = ..., + filter_issue_state: typing.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | None = ..., + filter_issue_states: typing.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | _list[ + typing.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.Literal[ + "FORM_FACTOR_UNSPECIFIED", + "PHONE", + "TABLET", + "DESKTOP", + "TV", + "WATCH", + ] + | _list[ + typing.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.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + | _list[ + typing.Literal[ + "ERROR_TYPE_UNSPECIFIED", "FATAL", "NON_FATAL", "ANR" + ] + ] + | None = ..., + filter_issue_id: str | None = ..., + filter_issue_signals: typing.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + | _list[ + typing.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + ] + | None = ..., + filter_issue_state: typing.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | None = ..., + filter_issue_states: typing.Literal[ + "STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED" + ] + | _list[ + typing.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.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..1a154d555 --- /dev/null +++ b/googleapiclient-stubs/_apis/firebasecrashlytics/v1alpha/schemas.pyi @@ -0,0 +1,293 @@ +import typing + +_list = list + +@typing.type_check_only +class BatchGetEventsResponse(typing.TypedDict, total=False): + events: _list[Event] + +@typing.type_check_only +class BatchUpdateIssuesRequest(typing.TypedDict, total=False): + requests: _list[UpdateIssueRequest] + updateMask: str + +@typing.type_check_only +class BatchUpdateIssuesResponse(typing.TypedDict, total=False): + issues: _list[Issue] + +@typing.type_check_only +class Breadcrumb(typing.TypedDict, total=False): + eventTime: str + params: dict[str, typing.Any] + title: str + +@typing.type_check_only +class Browser(typing.TypedDict, total=False): + browser: str + displayName: str + displayVersion: str + +@typing.type_check_only +class DeleteUserCrashReportsResponse(typing.TypedDict, total=False): + targetCompleteTime: str + +@typing.type_check_only +class Device(typing.TypedDict, total=False): + architecture: str + companyName: str + displayName: str + formFactor: typing.Literal[ + "FORM_FACTOR_UNSPECIFIED", "PHONE", "TABLET", "DESKTOP", "TV", "WATCH" + ] + manufacturer: str + marketingName: str + model: str + +@typing.type_check_only +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class Error(typing.TypedDict, total=False): + blamed: bool + code: str + frames: _list[Frame] + queue: str + subtitle: str + title: str + +@typing.type_check_only +class Event(typing.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.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.TypedDict, total=False): + device: Device + eventTime: str + eventType: typing.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.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.TypedDict, total=False): + endTime: str + eventsCount: str + impactedUsersCount: str + sessionsCount: str + startTime: str + +@typing.type_check_only +class Issue(typing.TypedDict, total=False): + errorType: typing.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.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "MUTED"] + stateUpdateTime: str + subtitle: str + title: str + uri: str + variants: _list[IssueVariant] + +@typing.type_check_only +class IssueSignals(typing.TypedDict, total=False): + description: str + signal: typing.Literal[ + "SIGNAL_UNSPECIFIED", + "SIGNAL_EARLY", + "SIGNAL_FRESH", + "SIGNAL_REGRESSED", + "SIGNAL_REPETITIVE", + ] + +@typing.type_check_only +class IssueVariant(typing.TypedDict, total=False): + id: str + sampleEvent: str + uri: str + +@typing.type_check_only +class ListEventsResponse(typing.TypedDict, total=False): + events: _list[Event] + nextPageToken: str + +@typing.type_check_only +class ListNotesResponse(typing.TypedDict, total=False): + nextPageToken: str + notes: _list[Note] + +@typing.type_check_only +class ListReportsResponse(typing.TypedDict, total=False): + reports: _list[Report] + +@typing.type_check_only +class Log(typing.TypedDict, total=False): + logTime: str + message: str + +@typing.type_check_only +class Memory(typing.TypedDict, total=False): + free: str + used: str + +@typing.type_check_only +class Note(typing.TypedDict, total=False): + author: str + body: str + createTime: str + name: str + +@typing.type_check_only +class OperatingSystem(typing.TypedDict, total=False): + deviceType: str + displayName: str + displayVersion: str + modificationState: str + os: str + type: str + +@typing.type_check_only +class PlayTrack(typing.TypedDict, total=False): + title: str + type: typing.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.TypedDict, total=False): + displayName: str + groups: _list[ReportGroup] + name: str + nextPageToken: str + totalSize: int + usage: str + +@typing.type_check_only +class ReportGroup(typing.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.TypedDict, total=False): + free: str + used: str + +@typing.type_check_only +class Thread(typing.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.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.TypedDict, total=False): + issue: Issue + updateMask: str + +@typing.type_check_only +class User(typing.TypedDict, total=False): + id: str + +@typing.type_check_only +class Version(typing.TypedDict, total=False): + buildVersion: str + displayName: str + displayVersion: str + tracks: _list[PlayTrack] + +@typing.type_check_only +class WebMetricsGroup(typing.TypedDict, total=False): + id: str diff --git a/googleapiclient-stubs/_apis/firebasedatabase/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebasedatabase/v1beta/resources.pyi index 9daebe14f..b25bf026f 100644 --- a/googleapiclient-stubs/_apis/firebasedatabase/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedatabase/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebasedatabase/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebasedatabase/v1beta/schemas.pyi index 689612a9e..912163632 100644 --- a/googleapiclient-stubs/_apis/firebasedatabase/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedatabase/v1beta/schemas.pyi @@ -1,31 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DatabaseInstance(typing_extensions.TypedDict, total=False): +class DatabaseInstance(typing.TypedDict, total=False): databaseUrl: str name: str project: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DISABLED", "DELETED" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "DATABASE_INSTANCE_TYPE_UNSPECIFIED", "DEFAULT_DATABASE", "USER_DATABASE" ] @typing.type_check_only -class DisableDatabaseInstanceRequest(typing_extensions.TypedDict, total=False): ... +class DisableDatabaseInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ListDatabaseInstancesResponse(typing_extensions.TypedDict, total=False): +class ListDatabaseInstancesResponse(typing.TypedDict, total=False): instances: _list[DatabaseInstance] nextPageToken: str @typing.type_check_only -class ReenableDatabaseInstanceRequest(typing_extensions.TypedDict, total=False): ... +class ReenableDatabaseInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteDatabaseInstanceRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteDatabaseInstanceRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi index aabc45be9..1416bd389 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi index 09b9141c5..93870b5e6 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi @@ -1,28 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientCache(typing_extensions.TypedDict, total=False): +class ClientCache(typing.TypedDict, total=False): entityIdIncluded: bool strictValidationEnabled: bool @typing.type_check_only -class CloudSqlInstance(typing_extensions.TypedDict, total=False): +class CloudSqlInstance(typing.TypedDict, total=False): + edition: typing.Literal[ + "EDITION_UNSPECIFIED", + "EDITION_ENTERPRISE", + "EDITION_ENTERPRISE_PLUS", + "EDITION_DEVELOPER", + ] instance: str @typing.type_check_only -class CodeChunk(typing_extensions.TypedDict, total=False): +class CodeChunk(typing.TypedDict, total=False): code: str languageCode: str @typing.type_check_only -class Connector(typing_extensions.TypedDict, total=False): +class Connector(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clientCache: ClientCache createTime: str @@ -36,83 +40,83 @@ class Connector(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DataConnectProperties(typing_extensions.TypedDict, total=False): +class DataConnectProperties(typing.TypedDict, total=False): entityId: str entityIds: _list[str] maxAge: str path: _list[typing.Any] @typing.type_check_only -class Datasource(typing_extensions.TypedDict, total=False): +class Datasource(typing.TypedDict, total=False): httpGraphql: HttpGraphql postgresql: PostgreSql @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecuteMutationRequest(typing_extensions.TypedDict, total=False): +class ExecuteMutationRequest(typing.TypedDict, total=False): operationName: str variables: dict[str, typing.Any] @typing.type_check_only -class ExecuteMutationResponse(typing_extensions.TypedDict, total=False): +class ExecuteMutationResponse(typing.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] extensions: GraphqlResponseExtensions @typing.type_check_only -class ExecuteQueryRequest(typing_extensions.TypedDict, total=False): +class ExecuteQueryRequest(typing.TypedDict, total=False): operationName: str variables: dict[str, typing.Any] @typing.type_check_only -class ExecuteQueryResponse(typing_extensions.TypedDict, total=False): +class ExecuteQueryResponse(typing.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] extensions: GraphqlResponseExtensions @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): content: str path: str @typing.type_check_only -class GenerateQueryRequest(typing_extensions.TypedDict, total=False): +class GenerateQueryRequest(typing.TypedDict, total=False): prompt: str schemas: _list[Schema] @typing.type_check_only -class GenerateQueryResponse(typing_extensions.TypedDict, total=False): +class GenerateQueryResponse(typing.TypedDict, total=False): part: Part status: GenerationStatus @typing.type_check_only -class GenerateSchemaRequest(typing_extensions.TypedDict, total=False): +class GenerateSchemaRequest(typing.TypedDict, total=False): prompt: str @typing.type_check_only -class GenerateSchemaResponse(typing_extensions.TypedDict, total=False): +class GenerateSchemaResponse(typing.TypedDict, total=False): part: Part status: GenerationStatus @typing.type_check_only -class GenerationStatus(typing_extensions.TypedDict, total=False): +class GenerationStatus(typing.TypedDict, total=False): message: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ANALYZING_CODE", "GENERATING_CODE", "COMPLETED" ] @typing.type_check_only -class GraphqlError(typing_extensions.TypedDict, total=False): +class GraphqlError(typing.TypedDict, total=False): extensions: GraphqlErrorExtensions locations: _list[SourceLocation] message: str path: _list[typing.Any] @typing.type_check_only -class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class GraphqlErrorExtensions(typing.TypedDict, total=False): + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -133,7 +137,7 @@ class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): ] debugDetails: str file: str - warningLevel: typing_extensions.Literal[ + warningLevel: typing.Literal[ "WARNING_LEVEL_UNKNOWN", "LOG_ONLY", "INTERACTIVE_ACK", @@ -143,74 +147,74 @@ class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): workarounds: _list[Workaround] @typing.type_check_only -class GraphqlRequest(typing_extensions.TypedDict, total=False): +class GraphqlRequest(typing.TypedDict, total=False): extensions: GraphqlRequestExtensions operationName: str query: str variables: dict[str, typing.Any] @typing.type_check_only -class GraphqlRequestExtensions(typing_extensions.TypedDict, total=False): +class GraphqlRequestExtensions(typing.TypedDict, total=False): impersonate: Impersonation @typing.type_check_only -class GraphqlResponse(typing_extensions.TypedDict, total=False): +class GraphqlResponse(typing.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] extensions: GraphqlResponseExtensions @typing.type_check_only -class GraphqlResponseExtensions(typing_extensions.TypedDict, total=False): +class GraphqlResponseExtensions(typing.TypedDict, total=False): dataConnect: _list[DataConnectProperties] @typing.type_check_only -class HttpGraphql(typing_extensions.TypedDict, total=False): +class HttpGraphql(typing.TypedDict, total=False): timeout: str uri: str @typing.type_check_only -class ImpersonateRequest(typing_extensions.TypedDict, total=False): +class ImpersonateRequest(typing.TypedDict, total=False): extensions: GraphqlRequestExtensions operationName: str variables: dict[str, typing.Any] @typing.type_check_only -class Impersonation(typing_extensions.TypedDict, total=False): +class Impersonation(typing.TypedDict, total=False): authClaims: dict[str, typing.Any] includeDebugDetails: bool unauthenticated: bool @typing.type_check_only -class ListConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorsResponse(typing.TypedDict, total=False): connectors: _list[Connector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSchemasResponse(typing_extensions.TypedDict, total=False): +class ListSchemasResponse(typing.TypedDict, total=False): nextPageToken: str schemas: _list[Schema] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -218,7 +222,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -226,7 +230,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -236,26 +240,26 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Part(typing_extensions.TypedDict, total=False): +class Part(typing.TypedDict, total=False): codeChunk: CodeChunk textChunk: TextChunk @typing.type_check_only -class PostgreSql(typing_extensions.TypedDict, total=False): +class PostgreSql(typing.TypedDict, total=False): cloudSql: CloudSqlInstance database: str ephemeral: bool schema: str - schemaMigration: typing_extensions.Literal[ + schemaMigration: typing.Literal[ "SQL_SCHEMA_MIGRATION_UNSPECIFIED", "MIGRATE_COMPATIBLE" ] - schemaValidation: typing_extensions.Literal[ + schemaValidation: typing.Literal[ "SQL_SCHEMA_VALIDATION_UNSPECIFIED", "NONE", "STRICT", "COMPATIBLE" ] unlinked: bool @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str datasources: _list[Datasource] @@ -269,38 +273,41 @@ class Schema(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): annotations: dict[str, typing.Any] + connectors: _list[Connector] createTime: str displayName: str etag: str labels: dict[str, typing.Any] name: str reconciling: bool + schemas: _list[Schema] + source: Source uid: str updateTime: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): files: _list[File] @typing.type_check_only -class SourceLocation(typing_extensions.TypedDict, total=False): +class SourceLocation(typing.TypedDict, total=False): column: int line: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TextChunk(typing_extensions.TypedDict, total=False): +class TextChunk(typing.TypedDict, total=False): text: str @typing.type_check_only -class Workaround(typing_extensions.TypedDict, total=False): +class Workaround(typing.TypedDict, total=False): description: str reason: str replace: str diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi index aabc45be9..1416bd389 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi index 09b9141c5..93870b5e6 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi @@ -1,28 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientCache(typing_extensions.TypedDict, total=False): +class ClientCache(typing.TypedDict, total=False): entityIdIncluded: bool strictValidationEnabled: bool @typing.type_check_only -class CloudSqlInstance(typing_extensions.TypedDict, total=False): +class CloudSqlInstance(typing.TypedDict, total=False): + edition: typing.Literal[ + "EDITION_UNSPECIFIED", + "EDITION_ENTERPRISE", + "EDITION_ENTERPRISE_PLUS", + "EDITION_DEVELOPER", + ] instance: str @typing.type_check_only -class CodeChunk(typing_extensions.TypedDict, total=False): +class CodeChunk(typing.TypedDict, total=False): code: str languageCode: str @typing.type_check_only -class Connector(typing_extensions.TypedDict, total=False): +class Connector(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clientCache: ClientCache createTime: str @@ -36,83 +40,83 @@ class Connector(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DataConnectProperties(typing_extensions.TypedDict, total=False): +class DataConnectProperties(typing.TypedDict, total=False): entityId: str entityIds: _list[str] maxAge: str path: _list[typing.Any] @typing.type_check_only -class Datasource(typing_extensions.TypedDict, total=False): +class Datasource(typing.TypedDict, total=False): httpGraphql: HttpGraphql postgresql: PostgreSql @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecuteMutationRequest(typing_extensions.TypedDict, total=False): +class ExecuteMutationRequest(typing.TypedDict, total=False): operationName: str variables: dict[str, typing.Any] @typing.type_check_only -class ExecuteMutationResponse(typing_extensions.TypedDict, total=False): +class ExecuteMutationResponse(typing.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] extensions: GraphqlResponseExtensions @typing.type_check_only -class ExecuteQueryRequest(typing_extensions.TypedDict, total=False): +class ExecuteQueryRequest(typing.TypedDict, total=False): operationName: str variables: dict[str, typing.Any] @typing.type_check_only -class ExecuteQueryResponse(typing_extensions.TypedDict, total=False): +class ExecuteQueryResponse(typing.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] extensions: GraphqlResponseExtensions @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): content: str path: str @typing.type_check_only -class GenerateQueryRequest(typing_extensions.TypedDict, total=False): +class GenerateQueryRequest(typing.TypedDict, total=False): prompt: str schemas: _list[Schema] @typing.type_check_only -class GenerateQueryResponse(typing_extensions.TypedDict, total=False): +class GenerateQueryResponse(typing.TypedDict, total=False): part: Part status: GenerationStatus @typing.type_check_only -class GenerateSchemaRequest(typing_extensions.TypedDict, total=False): +class GenerateSchemaRequest(typing.TypedDict, total=False): prompt: str @typing.type_check_only -class GenerateSchemaResponse(typing_extensions.TypedDict, total=False): +class GenerateSchemaResponse(typing.TypedDict, total=False): part: Part status: GenerationStatus @typing.type_check_only -class GenerationStatus(typing_extensions.TypedDict, total=False): +class GenerationStatus(typing.TypedDict, total=False): message: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ANALYZING_CODE", "GENERATING_CODE", "COMPLETED" ] @typing.type_check_only -class GraphqlError(typing_extensions.TypedDict, total=False): +class GraphqlError(typing.TypedDict, total=False): extensions: GraphqlErrorExtensions locations: _list[SourceLocation] message: str path: _list[typing.Any] @typing.type_check_only -class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class GraphqlErrorExtensions(typing.TypedDict, total=False): + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -133,7 +137,7 @@ class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): ] debugDetails: str file: str - warningLevel: typing_extensions.Literal[ + warningLevel: typing.Literal[ "WARNING_LEVEL_UNKNOWN", "LOG_ONLY", "INTERACTIVE_ACK", @@ -143,74 +147,74 @@ class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): workarounds: _list[Workaround] @typing.type_check_only -class GraphqlRequest(typing_extensions.TypedDict, total=False): +class GraphqlRequest(typing.TypedDict, total=False): extensions: GraphqlRequestExtensions operationName: str query: str variables: dict[str, typing.Any] @typing.type_check_only -class GraphqlRequestExtensions(typing_extensions.TypedDict, total=False): +class GraphqlRequestExtensions(typing.TypedDict, total=False): impersonate: Impersonation @typing.type_check_only -class GraphqlResponse(typing_extensions.TypedDict, total=False): +class GraphqlResponse(typing.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] extensions: GraphqlResponseExtensions @typing.type_check_only -class GraphqlResponseExtensions(typing_extensions.TypedDict, total=False): +class GraphqlResponseExtensions(typing.TypedDict, total=False): dataConnect: _list[DataConnectProperties] @typing.type_check_only -class HttpGraphql(typing_extensions.TypedDict, total=False): +class HttpGraphql(typing.TypedDict, total=False): timeout: str uri: str @typing.type_check_only -class ImpersonateRequest(typing_extensions.TypedDict, total=False): +class ImpersonateRequest(typing.TypedDict, total=False): extensions: GraphqlRequestExtensions operationName: str variables: dict[str, typing.Any] @typing.type_check_only -class Impersonation(typing_extensions.TypedDict, total=False): +class Impersonation(typing.TypedDict, total=False): authClaims: dict[str, typing.Any] includeDebugDetails: bool unauthenticated: bool @typing.type_check_only -class ListConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorsResponse(typing.TypedDict, total=False): connectors: _list[Connector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSchemasResponse(typing_extensions.TypedDict, total=False): +class ListSchemasResponse(typing.TypedDict, total=False): nextPageToken: str schemas: _list[Schema] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -218,7 +222,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -226,7 +230,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -236,26 +240,26 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Part(typing_extensions.TypedDict, total=False): +class Part(typing.TypedDict, total=False): codeChunk: CodeChunk textChunk: TextChunk @typing.type_check_only -class PostgreSql(typing_extensions.TypedDict, total=False): +class PostgreSql(typing.TypedDict, total=False): cloudSql: CloudSqlInstance database: str ephemeral: bool schema: str - schemaMigration: typing_extensions.Literal[ + schemaMigration: typing.Literal[ "SQL_SCHEMA_MIGRATION_UNSPECIFIED", "MIGRATE_COMPATIBLE" ] - schemaValidation: typing_extensions.Literal[ + schemaValidation: typing.Literal[ "SQL_SCHEMA_VALIDATION_UNSPECIFIED", "NONE", "STRICT", "COMPATIBLE" ] unlinked: bool @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str datasources: _list[Datasource] @@ -269,38 +273,41 @@ class Schema(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): annotations: dict[str, typing.Any] + connectors: _list[Connector] createTime: str displayName: str etag: str labels: dict[str, typing.Any] name: str reconciling: bool + schemas: _list[Schema] + source: Source uid: str updateTime: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): files: _list[File] @typing.type_check_only -class SourceLocation(typing_extensions.TypedDict, total=False): +class SourceLocation(typing.TypedDict, total=False): column: int line: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TextChunk(typing_extensions.TypedDict, total=False): +class TextChunk(typing.TypedDict, total=False): text: str @typing.type_check_only -class Workaround(typing_extensions.TypedDict, total=False): +class Workaround(typing.TypedDict, total=False): description: str reason: str replace: str diff --git a/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/resources.pyi index c9da64b29..0c56c1292 100644 --- a/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi index 7c5d15604..9405dddfc 100644 --- a/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedynamiclinks/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyticsInfo(typing_extensions.TypedDict, total=False): +class AnalyticsInfo(typing.TypedDict, total=False): googlePlayAnalytics: GooglePlayAnalytics itunesConnectAnalytics: ITunesConnectAnalytics @typing.type_check_only -class AndroidInfo(typing_extensions.TypedDict, total=False): +class AndroidInfo(typing.TypedDict, total=False): androidFallbackLink: str androidLink: str androidMinPackageVersionCode: str androidPackageName: str @typing.type_check_only -class CreateManagedShortLinkRequest(typing_extensions.TypedDict, total=False): +class CreateManagedShortLinkRequest(typing.TypedDict, total=False): dynamicLinkInfo: DynamicLinkInfo longDynamicLink: str name: str @@ -25,30 +23,30 @@ class CreateManagedShortLinkRequest(typing_extensions.TypedDict, total=False): suffix: Suffix @typing.type_check_only -class CreateManagedShortLinkResponse(typing_extensions.TypedDict, total=False): +class CreateManagedShortLinkResponse(typing.TypedDict, total=False): managedShortLink: ManagedShortLink previewLink: str warning: _list[DynamicLinkWarning] @typing.type_check_only -class CreateShortDynamicLinkRequest(typing_extensions.TypedDict, total=False): +class CreateShortDynamicLinkRequest(typing.TypedDict, total=False): dynamicLinkInfo: DynamicLinkInfo longDynamicLink: str sdkVersion: str suffix: Suffix @typing.type_check_only -class CreateShortDynamicLinkResponse(typing_extensions.TypedDict, total=False): +class CreateShortDynamicLinkResponse(typing.TypedDict, total=False): previewLink: str shortLink: str warning: _list[DynamicLinkWarning] @typing.type_check_only -class DesktopInfo(typing_extensions.TypedDict, total=False): +class DesktopInfo(typing.TypedDict, total=False): desktopFallbackLink: str @typing.type_check_only -class DeviceInfo(typing_extensions.TypedDict, total=False): +class DeviceInfo(typing.TypedDict, total=False): deviceModelName: str languageCode: str languageCodeFromWebview: str @@ -58,9 +56,9 @@ class DeviceInfo(typing_extensions.TypedDict, total=False): timezone: str @typing.type_check_only -class DynamicLinkEventStat(typing_extensions.TypedDict, total=False): +class DynamicLinkEventStat(typing.TypedDict, total=False): count: str - event: typing_extensions.Literal[ + event: typing.Literal[ "DYNAMIC_LINK_EVENT_UNSPECIFIED", "CLICK", "REDIRECT", @@ -68,12 +66,12 @@ class DynamicLinkEventStat(typing_extensions.TypedDict, total=False): "APP_FIRST_OPEN", "APP_RE_OPEN", ] - platform: typing_extensions.Literal[ + platform: typing.Literal[ "DYNAMIC_LINK_PLATFORM_UNSPECIFIED", "ANDROID", "IOS", "DESKTOP", "OTHER" ] @typing.type_check_only -class DynamicLinkInfo(typing_extensions.TypedDict, total=False): +class DynamicLinkInfo(typing.TypedDict, total=False): analyticsInfo: AnalyticsInfo androidInfo: AndroidInfo desktopInfo: DesktopInfo @@ -85,13 +83,13 @@ class DynamicLinkInfo(typing_extensions.TypedDict, total=False): socialMetaTagInfo: SocialMetaTagInfo @typing.type_check_only -class DynamicLinkStats(typing_extensions.TypedDict, total=False): +class DynamicLinkStats(typing.TypedDict, total=False): linkEventStats: _list[DynamicLinkEventStat] warnings: _list[DynamicLinkWarning] @typing.type_check_only -class DynamicLinkWarning(typing_extensions.TypedDict, total=False): - warningCode: typing_extensions.Literal[ +class DynamicLinkWarning(typing.TypedDict, total=False): + warningCode: typing.Literal[ "CODE_UNSPECIFIED", "NOT_IN_PROJECT_ANDROID_PACKAGE_NAME", "NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION", @@ -127,12 +125,12 @@ class DynamicLinkWarning(typing_extensions.TypedDict, total=False): warningMessage: str @typing.type_check_only -class GetIosPostInstallAttributionRequest(typing_extensions.TypedDict, total=False): +class GetIosPostInstallAttributionRequest(typing.TypedDict, total=False): appInstallationTime: str bundleId: str device: DeviceInfo iosVersion: str - retrievalMethod: typing_extensions.Literal[ + retrievalMethod: typing.Literal[ "UNKNOWN_PAYLOAD_RETRIEVAL_METHOD", "IMPLICIT_WEAK_MATCH", "EXPLICIT_WEAK_MATCH", @@ -140,14 +138,12 @@ class GetIosPostInstallAttributionRequest(typing_extensions.TypedDict, total=Fal ] sdkVersion: str uniqueMatchLinkToCheck: str - visualStyle: typing_extensions.Literal[ - "UNKNOWN_VISUAL_STYLE", "DEFAULT_STYLE", "CUSTOM_STYLE" - ] + visualStyle: typing.Literal["UNKNOWN_VISUAL_STYLE", "DEFAULT_STYLE", "CUSTOM_STYLE"] @typing.type_check_only -class GetIosPostInstallAttributionResponse(typing_extensions.TypedDict, total=False): +class GetIosPostInstallAttributionResponse(typing.TypedDict, total=False): appMinimumVersion: str - attributionConfidence: typing_extensions.Literal[ + attributionConfidence: typing.Literal[ "UNKNOWN_ATTRIBUTION_CONFIDENCE", "WEAK", "DEFAULT", "UNIQUE" ] deepLink: str @@ -156,7 +152,7 @@ class GetIosPostInstallAttributionResponse(typing_extensions.TypedDict, total=Fa invitationId: str isStrongMatchExecutable: bool matchMessage: str - requestIpVersion: typing_extensions.Literal["UNKNOWN_IP_VERSION", "IP_V4", "IP_V6"] + requestIpVersion: typing.Literal["UNKNOWN_IP_VERSION", "IP_V4", "IP_V6"] requestedLink: str resolvedLink: str utmCampaign: str @@ -166,13 +162,13 @@ class GetIosPostInstallAttributionResponse(typing_extensions.TypedDict, total=Fa utmTerm: str @typing.type_check_only -class GetIosReopenAttributionRequest(typing_extensions.TypedDict, total=False): +class GetIosReopenAttributionRequest(typing.TypedDict, total=False): bundleId: str requestedLink: str sdkVersion: str @typing.type_check_only -class GetIosReopenAttributionResponse(typing_extensions.TypedDict, total=False): +class GetIosReopenAttributionResponse(typing.TypedDict, total=False): deepLink: str invitationId: str iosMinAppVersion: str @@ -185,7 +181,7 @@ class GetIosReopenAttributionResponse(typing_extensions.TypedDict, total=False): warning: _list[DynamicLinkWarning] @typing.type_check_only -class GooglePlayAnalytics(typing_extensions.TypedDict, total=False): +class GooglePlayAnalytics(typing.TypedDict, total=False): gclid: str utmCampaign: str utmContent: str @@ -194,14 +190,14 @@ class GooglePlayAnalytics(typing_extensions.TypedDict, total=False): utmTerm: str @typing.type_check_only -class ITunesConnectAnalytics(typing_extensions.TypedDict, total=False): +class ITunesConnectAnalytics(typing.TypedDict, total=False): at: str ct: str mt: str pt: str @typing.type_check_only -class IosInfo(typing_extensions.TypedDict, total=False): +class IosInfo(typing.TypedDict, total=False): iosAppStoreId: str iosBundleId: str iosCustomScheme: str @@ -211,29 +207,27 @@ class IosInfo(typing_extensions.TypedDict, total=False): iosMinimumVersion: str @typing.type_check_only -class ManagedShortLink(typing_extensions.TypedDict, total=False): +class ManagedShortLink(typing.TypedDict, total=False): creationTime: str - flaggedAttribute: _list[typing_extensions.Literal["UNSPECIFIED_ATTRIBUTE", "SPAM"]] + flaggedAttribute: _list[typing.Literal["UNSPECIFIED_ATTRIBUTE", "SPAM"]] info: DynamicLinkInfo link: str linkName: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "UNSPECIFIED_VISIBILITY", "UNARCHIVED", "ARCHIVED", "NEVER_SHOWN" ] @typing.type_check_only -class NavigationInfo(typing_extensions.TypedDict, total=False): +class NavigationInfo(typing.TypedDict, total=False): enableForcedRedirect: bool @typing.type_check_only -class SocialMetaTagInfo(typing_extensions.TypedDict, total=False): +class SocialMetaTagInfo(typing.TypedDict, total=False): socialDescription: str socialImageLink: str socialTitle: str @typing.type_check_only -class Suffix(typing_extensions.TypedDict, total=False): +class Suffix(typing.TypedDict, total=False): customSuffix: str - option: typing_extensions.Literal[ - "OPTION_UNSPECIFIED", "UNGUESSABLE", "SHORT", "CUSTOM" - ] + option: typing.Literal["OPTION_UNSPECIFIED", "UNGUESSABLE", "SHORT", "CUSTOM"] diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi index c8319931a..e07e85a3d 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi index b3530879a..b73a1fd20 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CertVerification(typing_extensions.TypedDict, total=False): +class CertVerification(typing.TypedDict, total=False): dns: DnsUpdates http: HttpUpdate @typing.type_check_only -class CustomDomainMetadata(typing_extensions.TypedDict, total=False): - certState: typing_extensions.Literal[ +class CustomDomainMetadata(typing.TypedDict, total=False): + certState: typing.Literal[ "CERT_STATE_UNSPECIFIED", "CERT_PREPARING", "CERT_VALIDATING", @@ -23,7 +21,7 @@ class CustomDomainMetadata(typing_extensions.TypedDict, total=False): "CERT_EXPIRING_SOON", "CERT_EXPIRED", ] - hostState: typing_extensions.Literal[ + hostState: typing.Literal[ "HOST_STATE_UNSPECIFIED", "HOST_UNHOSTED", "HOST_UNREACHABLE", @@ -33,7 +31,7 @@ class CustomDomainMetadata(typing_extensions.TypedDict, total=False): ] issues: _list[Status] liveMigrationSteps: _list[LiveMigrationStep] - ownershipState: typing_extensions.Literal[ + ownershipState: typing.Literal[ "OWNERSHIP_STATE_UNSPECIFIED", "OWNERSHIP_MISSING", "OWNERSHIP_UNREACHABLE", @@ -45,31 +43,29 @@ class CustomDomainMetadata(typing_extensions.TypedDict, total=False): quickSetupUpdates: DnsUpdates @typing.type_check_only -class DnsRecord(typing_extensions.TypedDict, total=False): +class DnsRecord(typing.TypedDict, total=False): domainName: str rdata: str - requiredAction: typing_extensions.Literal["NONE", "ADD", "REMOVE"] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA" - ] + requiredAction: typing.Literal["NONE", "ADD", "REMOVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA"] @typing.type_check_only -class DnsRecordSet(typing_extensions.TypedDict, total=False): +class DnsRecordSet(typing.TypedDict, total=False): checkError: Status domainName: str records: _list[DnsRecord] @typing.type_check_only -class DnsUpdates(typing_extensions.TypedDict, total=False): +class DnsUpdates(typing.TypedDict, total=False): checkTime: str desired: _list[DnsRecordSet] discovered: _list[DnsRecordSet] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HttpUpdate(typing_extensions.TypedDict, total=False): +class HttpUpdate(typing.TypedDict, total=False): checkError: Status desired: str discovered: str @@ -77,17 +73,17 @@ class HttpUpdate(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class LiveMigrationStep(typing_extensions.TypedDict, total=False): +class LiveMigrationStep(typing.TypedDict, total=False): certVerification: CertVerification dnsUpdates: DnsUpdates issues: _list[Status] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PREPARING", "PENDING", @@ -97,7 +93,7 @@ class LiveMigrationStep(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -105,7 +101,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi index e38897b8f..b03c394d5 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -231,7 +230,7 @@ class FirebaseHostingResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "EXPECTED", "ACTIVE" ] | None = ..., @@ -477,9 +476,7 @@ class FirebaseHostingResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "EXPECTED", "ACTIVE" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "EXPECTED", "ACTIVE"] | None = ..., **kwargs: typing.Any, ) -> ListVersionFilesResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi index bef9e98bc..0a08f54bd 100644 --- a/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasehosting/v1beta1/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActingUser(typing_extensions.TypedDict, total=False): +class ActingUser(typing.TypedDict, total=False): email: str imageUrl: str @typing.type_check_only -class CertDnsChallenge(typing_extensions.TypedDict, total=False): +class CertDnsChallenge(typing.TypedDict, total=False): domainName: str token: str @typing.type_check_only -class CertHttpChallenge(typing_extensions.TypedDict, total=False): +class CertHttpChallenge(typing.TypedDict, total=False): path: str token: str @typing.type_check_only -class CertVerification(typing_extensions.TypedDict, total=False): +class CertVerification(typing.TypedDict, total=False): dns: DnsUpdates http: HttpUpdate @typing.type_check_only -class Certificate(typing_extensions.TypedDict, total=False): +class Certificate(typing.TypedDict, total=False): createTime: str expireTime: str issues: _list[Status] - state: typing_extensions.Literal[ + state: typing.Literal[ "CERT_STATE_UNSPECIFIED", "CERT_PREPARING", "CERT_VALIDATING", @@ -38,13 +36,13 @@ class Certificate(typing_extensions.TypedDict, total=False): "CERT_EXPIRING_SOON", "CERT_EXPIRED", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TEMPORARY", "GROUPED", "PROJECT_GROUPED", "DEDICATED" ] verification: CertVerification @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): createTime: str expireTime: str labels: dict[str, typing.Any] @@ -56,30 +54,30 @@ class Channel(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class CloneVersionRequest(typing_extensions.TypedDict, total=False): +class CloneVersionRequest(typing.TypedDict, total=False): exclude: PathFilter finalize: bool include: PathFilter sourceVersion: str @typing.type_check_only -class CloudRunRewrite(typing_extensions.TypedDict, total=False): +class CloudRunRewrite(typing.TypedDict, total=False): region: str serviceId: str tag: str @typing.type_check_only -class CustomDomain(typing_extensions.TypedDict, total=False): +class CustomDomain(typing.TypedDict, total=False): annotations: dict[str, typing.Any] cert: Certificate - certPreference: typing_extensions.Literal[ + certPreference: typing.Literal[ "TYPE_UNSPECIFIED", "TEMPORARY", "GROUPED", "PROJECT_GROUPED", "DEDICATED" ] createTime: str deleteTime: str etag: str expireTime: str - hostState: typing_extensions.Literal[ + hostState: typing.Literal[ "HOST_STATE_UNSPECIFIED", "HOST_UNHOSTED", "HOST_UNREACHABLE", @@ -90,7 +88,7 @@ class CustomDomain(typing_extensions.TypedDict, total=False): issues: _list[Status] labels: dict[str, typing.Any] name: str - ownershipState: typing_extensions.Literal[ + ownershipState: typing.Literal[ "OWNERSHIP_STATE_UNSPECIFIED", "OWNERSHIP_MISSING", "OWNERSHIP_UNREACHABLE", @@ -105,8 +103,8 @@ class CustomDomain(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CustomDomainMetadata(typing_extensions.TypedDict, total=False): - certState: typing_extensions.Literal[ +class CustomDomainMetadata(typing.TypedDict, total=False): + certState: typing.Literal[ "CERT_STATE_UNSPECIFIED", "CERT_PREPARING", "CERT_VALIDATING", @@ -115,7 +113,7 @@ class CustomDomainMetadata(typing_extensions.TypedDict, total=False): "CERT_EXPIRING_SOON", "CERT_EXPIRED", ] - hostState: typing_extensions.Literal[ + hostState: typing.Literal[ "HOST_STATE_UNSPECIFIED", "HOST_UNHOSTED", "HOST_UNREACHABLE", @@ -125,7 +123,7 @@ class CustomDomainMetadata(typing_extensions.TypedDict, total=False): ] issues: _list[Status] liveMigrationSteps: _list[LiveMigrationStep] - ownershipState: typing_extensions.Literal[ + ownershipState: typing.Literal[ "OWNERSHIP_STATE_UNSPECIFIED", "OWNERSHIP_MISSING", "OWNERSHIP_UNREACHABLE", @@ -137,33 +135,31 @@ class CustomDomainMetadata(typing_extensions.TypedDict, total=False): quickSetupUpdates: DnsUpdates @typing.type_check_only -class DnsRecord(typing_extensions.TypedDict, total=False): +class DnsRecord(typing.TypedDict, total=False): domainName: str rdata: str - requiredAction: typing_extensions.Literal["NONE", "ADD", "REMOVE"] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA" - ] + requiredAction: typing.Literal["NONE", "ADD", "REMOVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "A", "CNAME", "TXT", "AAAA", "CAA"] @typing.type_check_only -class DnsRecordSet(typing_extensions.TypedDict, total=False): +class DnsRecordSet(typing.TypedDict, total=False): checkError: Status domainName: str records: _list[DnsRecord] @typing.type_check_only -class DnsUpdates(typing_extensions.TypedDict, total=False): +class DnsUpdates(typing.TypedDict, total=False): checkTime: str desired: _list[DnsRecordSet] discovered: _list[DnsRecordSet] @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): domainName: str domainRedirect: DomainRedirect provisioning: DomainProvisioning site: str - status: typing_extensions.Literal[ + status: typing.Literal[ "DOMAIN_STATUS_UNSPECIFIED", "DOMAIN_CHANGE_PENDING", "DOMAIN_ACTIVE", @@ -173,11 +169,11 @@ class Domain(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DomainProvisioning(typing_extensions.TypedDict, total=False): +class DomainProvisioning(typing.TypedDict, total=False): certChallengeDiscoveredTxt: _list[str] certChallengeDns: CertDnsChallenge certChallengeHttp: CertHttpChallenge - certStatus: typing_extensions.Literal[ + certStatus: typing.Literal[ "CERT_STATUS_UNSPECIFIED", "CERT_PENDING", "CERT_MISSING", @@ -188,7 +184,7 @@ class DomainProvisioning(typing_extensions.TypedDict, total=False): ] discoveredIps: _list[str] dnsFetchTime: str - dnsStatus: typing_extensions.Literal[ + dnsStatus: typing.Literal[ "DNS_STATUS_UNSPECIFIED", "DNS_PENDING", "DNS_MISSING", @@ -199,21 +195,21 @@ class DomainProvisioning(typing_extensions.TypedDict, total=False): expectedIps: _list[str] @typing.type_check_only -class DomainRedirect(typing_extensions.TypedDict, total=False): +class DomainRedirect(typing.TypedDict, total=False): domainName: str - type: typing_extensions.Literal["REDIRECT_TYPE_UNSPECIFIED", "MOVED_PERMANENTLY"] + type: typing.Literal["REDIRECT_TYPE_UNSPECIFIED", "MOVED_PERMANENTLY"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): glob: str headers: dict[str, typing.Any] regex: str @typing.type_check_only -class HttpUpdate(typing_extensions.TypedDict, total=False): +class HttpUpdate(typing.TypedDict, total=False): checkError: Status desired: str discovered: str @@ -221,56 +217,56 @@ class HttpUpdate(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class I18nConfig(typing_extensions.TypedDict, total=False): +class I18nConfig(typing.TypedDict, total=False): root: str @typing.type_check_only -class ListChannelsResponse(typing_extensions.TypedDict, total=False): +class ListChannelsResponse(typing.TypedDict, total=False): channels: _list[Channel] nextPageToken: str @typing.type_check_only -class ListCustomDomainsResponse(typing_extensions.TypedDict, total=False): +class ListCustomDomainsResponse(typing.TypedDict, total=False): customDomains: _list[CustomDomain] nextPageToken: str @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListReleasesResponse(typing_extensions.TypedDict, total=False): +class ListReleasesResponse(typing.TypedDict, total=False): nextPageToken: str releases: _list[Release] @typing.type_check_only -class ListSitesResponse(typing_extensions.TypedDict, total=False): +class ListSitesResponse(typing.TypedDict, total=False): nextPageToken: str sites: _list[Site] @typing.type_check_only -class ListVersionFilesResponse(typing_extensions.TypedDict, total=False): +class ListVersionFilesResponse(typing.TypedDict, total=False): files: _list[VersionFile] nextPageToken: str @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class LiveMigrationStep(typing_extensions.TypedDict, total=False): +class LiveMigrationStep(typing.TypedDict, total=False): certVerification: CertVerification dnsUpdates: DnsUpdates issues: _list[Status] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PREPARING", "PENDING", @@ -280,7 +276,7 @@ class LiveMigrationStep(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -288,38 +284,36 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PathFilter(typing_extensions.TypedDict, total=False): +class PathFilter(typing.TypedDict, total=False): regexes: _list[str] @typing.type_check_only -class PopulateVersionFilesRequest(typing_extensions.TypedDict, total=False): +class PopulateVersionFilesRequest(typing.TypedDict, total=False): files: dict[str, typing.Any] @typing.type_check_only -class PopulateVersionFilesResponse(typing_extensions.TypedDict, total=False): +class PopulateVersionFilesResponse(typing.TypedDict, total=False): uploadRequiredHashes: _list[str] uploadUrl: str @typing.type_check_only -class Redirect(typing_extensions.TypedDict, total=False): +class Redirect(typing.TypedDict, total=False): glob: str location: str regex: str statusCode: int @typing.type_check_only -class Release(typing_extensions.TypedDict, total=False): +class Release(typing.TypedDict, total=False): message: str name: str releaseTime: str releaseUser: ActingUser - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "DEPLOY", "ROLLBACK", "SITE_DISABLE" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "DEPLOY", "ROLLBACK", "SITE_DISABLE"] version: Version @typing.type_check_only -class Rewrite(typing_extensions.TypedDict, total=False): +class Rewrite(typing.TypedDict, total=False): dynamicLinks: bool function: str functionRegion: str @@ -329,43 +323,43 @@ class Rewrite(typing_extensions.TypedDict, total=False): run: CloudRunRewrite @typing.type_check_only -class ServingConfig(typing_extensions.TypedDict, total=False): - appAssociation: typing_extensions.Literal["AUTO", "NONE"] +class ServingConfig(typing.TypedDict, total=False): + appAssociation: typing.Literal["AUTO", "NONE"] cleanUrls: bool headers: _list[Header] i18n: I18nConfig redirects: _list[Redirect] rewrites: _list[Rewrite] - trailingSlashBehavior: typing_extensions.Literal[ + trailingSlashBehavior: typing.Literal[ "TRAILING_SLASH_BEHAVIOR_UNSPECIFIED", "ADD", "REMOVE" ] @typing.type_check_only -class Site(typing_extensions.TypedDict, total=False): +class Site(typing.TypedDict, total=False): appId: str defaultUrl: str labels: dict[str, typing.Any] name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DEFAULT_SITE", "USER_SITE"] + type: typing.Literal["TYPE_UNSPECIFIED", "DEFAULT_SITE", "USER_SITE"] @typing.type_check_only -class SiteConfig(typing_extensions.TypedDict, total=False): +class SiteConfig(typing.TypedDict, total=False): cloudLoggingEnabled: bool maxVersions: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class UndeleteCustomDomainRequest(typing_extensions.TypedDict, total=False): +class UndeleteCustomDomainRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): config: ServingConfig createTime: str createUser: ActingUser @@ -376,7 +370,7 @@ class Version(typing_extensions.TypedDict, total=False): finalizeUser: ActingUser labels: dict[str, typing.Any] name: str - status: typing_extensions.Literal[ + status: typing.Literal[ "VERSION_STATUS_UNSPECIFIED", "CREATED", "FINALIZED", @@ -388,7 +382,7 @@ class Version(typing_extensions.TypedDict, total=False): versionBytes: str @typing.type_check_only -class VersionFile(typing_extensions.TypedDict, total=False): +class VersionFile(typing.TypedDict, total=False): hash: str path: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "EXPECTED", "ACTIVE"] + status: typing.Literal["STATUS_UNSPECIFIED", "EXPECTED", "ACTIVE"] diff --git a/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi index 89bb23497..2039ce9a6 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebaseml/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v1/schemas.pyi index e58b81e8b..6780fed55 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v1/schemas.pyi @@ -1,24 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ModelOperationMetadata(typing_extensions.TypedDict, total=False): - basicOperationStatus: typing_extensions.Literal[ +class ModelOperationMetadata(typing.TypedDict, total=False): + basicOperationStatus: typing.Literal[ "BASIC_OPERATION_STATUS_UNSPECIFIED", "BASIC_OPERATION_STATUS_UPLOADING", "BASIC_OPERATION_STATUS_VERIFYING", @@ -26,7 +24,7 @@ class ModelOperationMetadata(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -34,7 +32,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/firebaseml/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/firebaseml/v1beta2/resources.pyi index 4d01a02d2..eea7665fc 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebaseml/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v1beta2/schemas.pyi index abf3ce0fe..9fd32f20d 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v1beta2/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DownloadModelResponse(typing_extensions.TypedDict, total=False): +class DownloadModelResponse(typing.TypedDict, total=False): downloadUri: str expireTime: str - modelFormat: typing_extensions.Literal["MODEL_FORMAT_UNSPECIFIED", "TFLITE"] + modelFormat: typing.Literal["MODEL_FORMAT_UNSPECIFIED", "TFLITE"] sizeBytes: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListModelsResponse(typing_extensions.TypedDict, total=False): +class ListModelsResponse(typing.TypedDict, total=False): models: _list[Model] nextPageToken: str @typing.type_check_only -class Model(typing_extensions.TypedDict, total=False): +class Model(typing.TypedDict, total=False): activeOperations: _list[Operation] createTime: str displayName: str @@ -33,8 +31,8 @@ class Model(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ModelOperationMetadata(typing_extensions.TypedDict, total=False): - basicOperationStatus: typing_extensions.Literal[ +class ModelOperationMetadata(typing.TypedDict, total=False): + basicOperationStatus: typing.Literal[ "BASIC_OPERATION_STATUS_UNSPECIFIED", "BASIC_OPERATION_STATUS_UPLOADING", "BASIC_OPERATION_STATUS_VERIFYING", @@ -42,12 +40,12 @@ class ModelOperationMetadata(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ModelState(typing_extensions.TypedDict, total=False): +class ModelState(typing.TypedDict, total=False): published: bool validationError: Status @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -55,13 +53,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TfLiteModel(typing_extensions.TypedDict, total=False): +class TfLiteModel(typing.TypedDict, total=False): automlModel: str gcsTfliteUri: str sizeBytes: str diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/resources.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/resources.pyi index 3eed8ebad..9790608f6 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi index 326c96215..db162e215 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi @@ -1,33 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1ApiAuth(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ApiAuth(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig(typing.TypedDict, total=False): apiKeySecretVersion: str apiKeyString: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AudioResponseFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AudioResponseFormat(typing.TypedDict, total=False): bitRate: int - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - mimeType: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + mimeType: typing.Literal[ "MIME_TYPE_UNSPECIFIED", "AUDIO_MP3", "AUDIO_OGG_OPUS", @@ -39,9 +33,46 @@ class GoogleCloudAiplatformV1beta1AudioResponseFormat( sampleRate: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1AudioTranscription(typing.TypedDict, total=False): + speakerLabel: str + text: str + words: _list[GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig( + typing.TypedDict, total=False +): + adaptationPhrases: _list[str] + customVocabulary: _list[str] + diarization: bool + languageAuto: GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto + languageCodes: _list[str] + languageHints: GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints + wordTimestamp: bool + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints( + typing.TypedDict, total=False +): + languageCodes: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo( + typing.TypedDict, total=False +): + endOffset: str + startOffset: str + word: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AuthConfig(typing.TypedDict, total=False): apiKeyConfig: GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "NO_AUTH", "API_KEY_AUTH", @@ -58,12 +89,10 @@ class GoogleCloudAiplatformV1beta1AuthConfig(typing_extensions.TypedDict, total= oidcConfig: GoogleCloudAiplatformV1beta1AuthConfigOidcConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig(typing.TypedDict, total=False): apiKeySecret: str apiKeyString: str - httpElementLocation: typing_extensions.Literal[ + httpElementLocation: typing.Literal[ "HTTP_IN_UNSPECIFIED", "HTTP_IN_QUERY", "HTTP_IN_HEADER", @@ -75,43 +104,39 @@ class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): serviceAccount: str @typing.type_check_only class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): credentialSecret: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig(typing.TypedDict, total=False): accessToken: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig(typing.TypedDict, total=False): idToken: str serviceAccount: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Blob(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Blob(typing.TypedDict, total=False): data: str displayName: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Candidate(typing.TypedDict, total=False): avgLogprobs: float citationMetadata: GoogleCloudAiplatformV1beta1CitationMetadata content: GoogleCloudAiplatformV1beta1Content finishMessage: str - finishReason: typing_extensions.Literal[ + finishReason: typing.Literal[ "FINISH_REASON_UNSPECIFIED", "STOP", "MAX_TOKENS", @@ -137,7 +162,7 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F urlContextMetadata: GoogleCloudAiplatformV1beta1UrlContextMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1Citation(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Citation(typing.TypedDict, total=False): endIndex: int license: str publicationDate: Date @@ -146,16 +171,13 @@ class GoogleCloudAiplatformV1beta1Citation(typing_extensions.TypedDict, total=Fa uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CitationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CitationMetadata(typing.TypedDict, total=False): citations: _list[GoogleCloudAiplatformV1beta1Citation] @typing.type_check_only -class GoogleCloudAiplatformV1beta1CodeExecutionResult( - typing_extensions.TypedDict, total=False -): - outcome: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1CodeExecutionResult(typing.TypedDict, total=False): + id: str + outcome: typing.Literal[ "OUTCOME_UNSPECIFIED", "OUTCOME_OK", "OUTCOME_FAILED", @@ -164,14 +186,12 @@ class GoogleCloudAiplatformV1beta1CodeExecutionResult( output: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Content(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Content(typing.TypedDict, total=False): parts: _list[GoogleCloudAiplatformV1beta1Part] role: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1CountTokensRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CountTokensRequest(typing.TypedDict, total=False): contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig instances: _list[typing.Any] @@ -180,25 +200,19 @@ class GoogleCloudAiplatformV1beta1CountTokensRequest( tools: _list[GoogleCloudAiplatformV1beta1Tool] @typing.type_check_only -class GoogleCloudAiplatformV1beta1CountTokensResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1CountTokensResponse(typing.TypedDict, total=False): promptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalBillableCharacters: int totalTokens: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig(typing.TypedDict, total=False): dynamicThreshold: float - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] + mode: typing.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( - typing_extensions.TypedDict, total=False -): - blockingConfidence: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1EnterpriseWebSearch(typing.TypedDict, total=False): + blockingConfidence: typing.Literal[ "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -210,18 +224,15 @@ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch( excludeDomains: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExecutableCode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ExecutableCode(typing.TypedDict, total=False): code: str - language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] + id: str + language: typing.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ExternalApi(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ExternalApi(typing.TypedDict, total=False): apiAuth: GoogleCloudAiplatformV1beta1ApiAuth - apiSpec: typing_extensions.Literal[ - "API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH" - ] + apiSpec: typing.Literal["API_SPEC_UNSPECIFIED", "SIMPLE_SEARCH", "ELASTIC_SEARCH"] authConfig: GoogleCloudAiplatformV1beta1AuthConfig elasticSearchParams: GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams endpoint: str @@ -229,7 +240,7 @@ class GoogleCloudAiplatformV1beta1ExternalApi(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): index: str numHits: int @@ -237,19 +248,17 @@ class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams( @typing.type_check_only class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1FileData(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1FileData(typing.TypedDict, total=False): displayName: str fileUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionCall( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionCall(typing.TypedDict, total=False): args: dict[str, typing.Any] id: str name: str @@ -257,20 +266,14 @@ class GoogleCloudAiplatformV1beta1FunctionCall( willContinue: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionCallingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionCallingConfig(typing.TypedDict, total=False): allowedFunctionNames: _list[str] - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED"] streamFunctionCallArguments: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionDeclaration( - typing_extensions.TypedDict, total=False -): - behavior: typing_extensions.Literal["UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] +class GoogleCloudAiplatformV1beta1FunctionDeclaration(typing.TypedDict, total=False): + behavior: typing.Literal["UNSPECIFIED", "BLOCKING", "NON_BLOCKING"] description: str name: str parameters: GoogleCloudAiplatformV1beta1Schema @@ -279,44 +282,36 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration( responseJsonSchema: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionResponse(typing.TypedDict, total=False): id: str name: str parts: _list[GoogleCloudAiplatformV1beta1FunctionResponsePart] response: dict[str, typing.Any] - scheduling: typing_extensions.Literal[ + scheduling: typing.Literal[ "SCHEDULING_UNSPECIFIED", "SILENT", "WHEN_IDLE", "INTERRUPT" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionResponseBlob( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionResponseBlob(typing.TypedDict, total=False): data: str displayName: str mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionResponseFileData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str fileUri: str mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1FunctionResponsePart( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1FunctionResponsePart(typing.TypedDict, total=False): fileData: GoogleCloudAiplatformV1beta1FunctionResponseFileData inlineData: GoogleCloudAiplatformV1beta1FunctionResponseBlob @typing.type_check_only -class GoogleCloudAiplatformV1beta1GenerateContentRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GenerateContentRequest(typing.TypedDict, total=False): cachedContent: str contents: _list[GoogleCloudAiplatformV1beta1Content] generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig @@ -329,7 +324,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentRequest( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateContentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1Candidate] createTime: str @@ -340,9 +335,9 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponse( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - blockReason: typing_extensions.Literal[ + blockReason: typing.Literal[ "BLOCKED_REASON_UNSPECIFIED", "SAFETY", "OTHER", @@ -357,7 +352,7 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cacheTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] cachedContentTokenCount: int @@ -369,26 +364,26 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( toolUsePromptTokenCount: int toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalTokenCount: int - trafficType: typing_extensions.Literal[ + trafficType: typing.Literal[ "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "ON_DEMAND_PRIORITY", "ON_DEMAND_FLEX", + "ON_DEMAND_OFFPEAK", "PROVISIONED_THROUGHPUT", ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1GenerationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GenerationConfig(typing.TypedDict, total=False): audioTimestamp: bool + audioTranscriptionConfig: GoogleCloudAiplatformV1beta1AudioTranscriptionConfig candidateCount: int enableAffectiveDialog: bool frequencyPenalty: float imageConfig: GoogleCloudAiplatformV1beta1ImageConfig logprobs: int maxOutputTokens: int - mediaResolution: typing_extensions.Literal[ + mediaResolution: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", @@ -401,9 +396,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( responseLogprobs: bool responseMimeType: str responseModalities: _list[ - typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "AUDIO", "VIDEO" - ] + typing.Literal["MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "AUDIO", "VIDEO"] ] responseSchema: GoogleCloudAiplatformV1beta1Schema routingConfig: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig @@ -417,9 +410,9 @@ class GoogleCloudAiplatformV1beta1GenerationConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - featureSelectionPreference: typing_extensions.Literal[ + featureSelectionPreference: typing.Literal[ "FEATURE_SELECTION_PREFERENCE_UNSPECIFIED", "PRIORITIZE_QUALITY", "BALANCED", @@ -428,7 +421,7 @@ class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoMode: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode manualMode: ( @@ -437,60 +430,66 @@ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - modelRoutingPreference: typing_extensions.Literal[ + modelRoutingPreference: typing.Literal[ "UNKNOWN", "PRIORITIZE_QUALITY", "BALANCED", "PRIORITIZE_COST" ] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeThoughts: bool thinkingBudget: int - thinkingLevel: typing_extensions.Literal[ + thinkingLevel: typing.Literal[ "THINKING_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL" ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1GoogleMaps(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1GoogleMaps(typing.TypedDict, total=False): enableWidget: bool + groundingTypes: GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes @typing.type_check_only -class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval( - typing_extensions.TypedDict, total=False +class GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes( + typing.TypedDict, total=False ): + places: GoogleCloudAiplatformV1beta1GoogleMapsPlaces + routing: GoogleCloudAiplatformV1beta1GoogleMapsRouting + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleMapsPlaces(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleMapsRouting(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval(typing.TypedDict, total=False): dynamicRetrievalConfig: GoogleCloudAiplatformV1beta1DynamicRetrievalConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunk( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunk(typing.TypedDict, total=False): image: GoogleCloudAiplatformV1beta1GroundingChunkImage maps: GoogleCloudAiplatformV1beta1GroundingChunkMaps retrievedContext: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext web: GoogleCloudAiplatformV1beta1GroundingChunkWeb @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunkImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunkImage(typing.TypedDict, total=False): domain: str imageUri: str sourceUri: str title: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunkMaps( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunkMaps(typing.TypedDict, total=False): placeAnswerSources: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources placeId: str route: GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute @@ -500,7 +499,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMaps( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): reviewSnippets: _list[ GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet @@ -508,7 +507,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleMapsUri: str reviewId: str @@ -516,7 +515,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnip @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distanceMeters: int duration: str @@ -524,7 +523,7 @@ class GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentName: str ragChunk: GoogleCloudAiplatformV1beta1RagChunk @@ -533,17 +532,13 @@ class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext( uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingChunkWeb( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingChunkWeb(typing.TypedDict, total=False): domain: str title: str uri: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingMetadata(typing.TypedDict, total=False): googleMapsWidgetContextToken: str groundingChunks: _list[GoogleCloudAiplatformV1beta1GroundingChunk] groundingSupports: _list[GoogleCloudAiplatformV1beta1GroundingSupport] @@ -558,29 +553,27 @@ class GoogleCloudAiplatformV1beta1GroundingMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flagContentUri: str sourceId: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1GroundingSupport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1GroundingSupport(typing.TypedDict, total=False): confidenceScores: _list[float] groundingChunkIndices: _list[int] renderedParts: _list[int] segment: GoogleCloudAiplatformV1beta1Segment @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ImageConfig(typing.TypedDict, total=False): aspectRatio: str imageOutputOptions: GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions imageSize: str - personGeneration: typing_extensions.Literal[ + personGeneration: typing.Literal[ "PERSON_GENERATION_UNSPECIFIED", "ALLOW_ALL", "ALLOW_ADULT", "ALLOW_NONE" ] - prominentPeople: typing_extensions.Literal[ + prominentPeople: typing.Literal[ "PROMINENT_PEOPLE_UNSPECIFIED", "ALLOW_PROMINENT_PEOPLE", "BLOCK_PROMINENT_PEOPLE", @@ -588,16 +581,14 @@ class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compressionQuality: int mimeType: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ImageResponseFormat( - typing_extensions.TypedDict, total=False -): - aspectRatio: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1ImageResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ "ASPECT_RATIO_UNSPECIFIED", "ASPECT_RATIO_ONE_BY_ONE", "ASPECT_RATIO_TWO_BY_THREE", @@ -614,26 +605,24 @@ class GoogleCloudAiplatformV1beta1ImageResponseFormat( "ASPECT_RATIO_ONE_BY_FOUR", "ASPECT_RATIO_FOUR_BY_ONE", ] - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] - imageSize: typing_extensions.Literal[ + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + imageSize: typing.Literal[ "IMAGE_SIZE_UNSPECIFIED", "IMAGE_SIZE_FIVE_TWELVE", "IMAGE_SIZE_ONE_K", "IMAGE_SIZE_TWO_K", "IMAGE_SIZE_FOUR_K", ] - mimeType: typing_extensions.Literal["MIME_TYPE_UNSPECIFIED", "IMAGE_JPEG"] + mimeType: typing.Literal["MIME_TYPE_UNSPECIFIED", "IMAGE_JPEG"] @typing.type_check_only -class GoogleCloudAiplatformV1beta1LogprobsResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1LogprobsResult(typing.TypedDict, total=False): chosenCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] topCandidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates] @typing.type_check_only class GoogleCloudAiplatformV1beta1LogprobsResultCandidate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): logProbability: float token: str @@ -641,34 +630,31 @@ class GoogleCloudAiplatformV1beta1LogprobsResultCandidate( @typing.type_check_only class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidates: _list[GoogleCloudAiplatformV1beta1LogprobsResultCandidate] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModalityTokenCount( - typing_extensions.TypedDict, total=False -): - modality: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1ModalityTokenCount(typing.TypedDict, total=False): + modality: typing.Literal[ "MODALITY_UNSPECIFIED", "TEXT", "IMAGE", "VIDEO", "AUDIO", "DOCUMENT" ] tokenCount: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1ModelArmorConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ModelArmorConfig(typing.TypedDict, total=False): promptTemplateName: str responseTemplateName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): speakerVoiceConfigs: _list[GoogleCloudAiplatformV1beta1SpeakerVoiceConfig] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Part(typing.TypedDict, total=False): + audioTranscription: GoogleCloudAiplatformV1beta1AudioTranscription codeExecutionResult: GoogleCloudAiplatformV1beta1CodeExecutionResult executableCode: GoogleCloudAiplatformV1beta1ExecutableCode fileData: GoogleCloudAiplatformV1beta1FileData @@ -682,10 +668,8 @@ class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False) videoMetadata: GoogleCloudAiplatformV1beta1VideoMetadata @typing.type_check_only -class GoogleCloudAiplatformV1beta1PartMediaResolution( - typing_extensions.TypedDict, total=False -): - level: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1PartMediaResolution(typing.TypedDict, total=False): + level: typing.Literal[ "MEDIA_RESOLUTION_UNSPECIFIED", "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", @@ -694,38 +678,32 @@ class GoogleCloudAiplatformV1beta1PartMediaResolution( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1PartialArg(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1PartialArg(typing.TypedDict, total=False): boolValue: bool jsonPath: str - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] numberValue: float stringValue: str willContinue: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig(typing.TypedDict, total=False): voiceName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagChunk(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1RagChunk(typing.TypedDict, total=False): chunkId: str fileId: str pageSpan: GoogleCloudAiplatformV1beta1RagChunkPageSpan text: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagChunkPageSpan( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagChunkPageSpan(typing.TypedDict, total=False): firstPage: int lastPage: int @typing.type_check_only -class GoogleCloudAiplatformV1beta1RagRetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RagRetrievalConfig(typing.TypedDict, total=False): filter: GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter hybridSearch: GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch ranking: GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking @@ -733,7 +711,7 @@ class GoogleCloudAiplatformV1beta1RagRetrievalConfig( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): metadataFilter: str vectorDistanceThreshold: float @@ -741,71 +719,61 @@ class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter( @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alpha: float @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): llmRanker: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker rankService: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modelName: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig(typing.TypedDict, total=False): mimeType: str voiceSampleAudio: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1ResponseFormat( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ResponseFormat(typing.TypedDict, total=False): audio: GoogleCloudAiplatformV1beta1AudioResponseFormat image: GoogleCloudAiplatformV1beta1ImageResponseFormat text: GoogleCloudAiplatformV1beta1TextResponseFormat video: GoogleCloudAiplatformV1beta1VideoResponseFormat @typing.type_check_only -class GoogleCloudAiplatformV1beta1Retrieval(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Retrieval(typing.TypedDict, total=False): disableAttribution: bool externalApi: GoogleCloudAiplatformV1beta1ExternalApi vertexAiSearch: GoogleCloudAiplatformV1beta1VertexAISearch vertexRagStore: GoogleCloudAiplatformV1beta1VertexRagStore @typing.type_check_only -class GoogleCloudAiplatformV1beta1RetrievalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RetrievalConfig(typing.TypedDict, total=False): languageCode: str latLng: LatLng @typing.type_check_only -class GoogleCloudAiplatformV1beta1RetrievalMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1RetrievalMetadata(typing.TypedDict, total=False): googleSearchDynamicRetrievalScore: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetyRating( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SafetyRating(typing.TypedDict, total=False): blocked: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -818,7 +786,7 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", "HARM_CATEGORY_JAILBREAK", ] - overwrittenThreshold: typing_extensions.Literal[ + overwrittenThreshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -826,11 +794,11 @@ class GoogleCloudAiplatformV1beta1SafetyRating( "BLOCK_NONE", "OFF", ] - probability: typing_extensions.Literal[ + probability: typing.Literal[ "HARM_PROBABILITY_UNSPECIFIED", "NEGLIGIBLE", "LOW", "MEDIUM", "HIGH" ] probabilityScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "HARM_SEVERITY_UNSPECIFIED", "HARM_SEVERITY_NEGLIGIBLE", "HARM_SEVERITY_LOW", @@ -840,10 +808,8 @@ class GoogleCloudAiplatformV1beta1SafetyRating( severityScore: float @typing.type_check_only -class GoogleCloudAiplatformV1beta1SafetySetting( - typing_extensions.TypedDict, total=False -): - category: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1SafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -856,10 +822,8 @@ class GoogleCloudAiplatformV1beta1SafetySetting( "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", "HARM_CATEGORY_JAILBREAK", ] - method: typing_extensions.Literal[ - "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" - ] - threshold: typing_extensions.Literal[ + method: typing.Literal["HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY"] + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -869,7 +833,7 @@ class GoogleCloudAiplatformV1beta1SafetySetting( ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Schema(typing.TypedDict, total=False): additionalProperties: typing.Any anyOf: _list[GoogleCloudAiplatformV1beta1Schema] default: typing.Any @@ -894,7 +858,7 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals ref: str required: _list[str] title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STRING", "NUMBER", @@ -906,45 +870,35 @@ class GoogleCloudAiplatformV1beta1Schema(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1SearchEntryPoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SearchEntryPoint(typing.TypedDict, total=False): renderedContent: str sdkBlob: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1Segment(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Segment(typing.TypedDict, total=False): endIndex: int partIndex: int startIndex: int text: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig(typing.TypedDict, total=False): speaker: str voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1SpeechConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1SpeechConfig(typing.TypedDict, total=False): languageCode: str multiSpeakerVoiceConfig: GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig voiceConfig: GoogleCloudAiplatformV1beta1VoiceConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1TextResponseFormat( - typing_extensions.TypedDict, total=False -): - mimeType: typing_extensions.Literal[ - "MIME_TYPE_UNSPECIFIED", "APPLICATION_JSON", "TEXT_PLAIN" - ] +class GoogleCloudAiplatformV1beta1TextResponseFormat(typing.TypedDict, total=False): + mimeType: typing.Literal["MIME_TYPE_UNSPECIFIED", "APPLICATION_JSON", "TEXT_PLAIN"] schema: typing.Any @typing.type_check_only -class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1Tool(typing.TypedDict, total=False): codeExecution: GoogleCloudAiplatformV1beta1ToolCodeExecution computerUse: GoogleCloudAiplatformV1beta1ToolComputerUse enterpriseWebSearch: GoogleCloudAiplatformV1beta1EnterpriseWebSearch @@ -958,16 +912,12 @@ class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False) urlContext: GoogleCloudAiplatformV1beta1UrlContext @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolCodeExecution( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1ToolCodeExecution(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolComputerUse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolComputerUse(typing.TypedDict, total=False): enablePromptInjectionDetection: bool - environment: typing_extensions.Literal[ + environment: typing.Literal[ "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_BROWSER", "ENVIRONMENT_MOBILE", @@ -976,22 +926,18 @@ class GoogleCloudAiplatformV1beta1ToolComputerUse( excludedPredefinedFunctions: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1ToolConfig(typing.TypedDict, total=False): functionCallingConfig: GoogleCloudAiplatformV1beta1FunctionCallingConfig retrievalConfig: GoogleCloudAiplatformV1beta1RetrievalConfig @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolExaAiSearch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolExaAiSearch(typing.TypedDict, total=False): apiKey: str customConfigs: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolGoogleSearch( - typing_extensions.TypedDict, total=False -): - blockingConfidence: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1ToolGoogleSearch(typing.TypedDict, total=False): + blockingConfidence: typing.Literal[ "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -1005,54 +951,46 @@ class GoogleCloudAiplatformV1beta1ToolGoogleSearch( @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): imageSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch webSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1ToolParallelAiSearch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1ToolParallelAiSearch(typing.TypedDict, total=False): apiKey: str customConfigs: dict[str, typing.Any] enableDataRetention: bool enableZeroDataRetention: bool @typing.type_check_only -class GoogleCloudAiplatformV1beta1UrlContext( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudAiplatformV1beta1UrlContext(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudAiplatformV1beta1UrlContextMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1UrlContextMetadata(typing.TypedDict, total=False): urlMetadata: _list[GoogleCloudAiplatformV1beta1UrlMetadata] @typing.type_check_only -class GoogleCloudAiplatformV1beta1UrlMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1UrlMetadata(typing.TypedDict, total=False): retrievedUrl: str - urlRetrievalStatus: typing_extensions.Literal[ + urlRetrievalStatus: typing.Literal[ "URL_RETRIEVAL_STATUS_UNSPECIFIED", "URL_RETRIEVAL_STATUS_SUCCESS", "URL_RETRIEVAL_STATUS_ERROR", ] @typing.type_check_only -class GoogleCloudAiplatformV1beta1VertexAISearch( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VertexAISearch(typing.TypedDict, total=False): dataStoreSpecs: _list[GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec] datastore: str engine: str @@ -1061,15 +999,13 @@ class GoogleCloudAiplatformV1beta1VertexAISearch( @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataStore: str filter: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VertexRagStore( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VertexRagStore(typing.TypedDict, total=False): ragCorpora: _list[str] ragResources: _list[GoogleCloudAiplatformV1beta1VertexRagStoreRagResource] ragRetrievalConfig: GoogleCloudAiplatformV1beta1RagRetrievalConfig @@ -1079,45 +1015,42 @@ class GoogleCloudAiplatformV1beta1VertexRagStore( @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ragCorpus: str ragFileIds: _list[str] @typing.type_check_only -class GoogleCloudAiplatformV1beta1VideoMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudAiplatformV1beta1VideoMetadata(typing.TypedDict, total=False): endOffset: str fps: float startOffset: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VideoResponseFormat( - typing_extensions.TypedDict, total=False -): - aspectRatio: typing_extensions.Literal[ +class GoogleCloudAiplatformV1beta1VideoResponseFormat(typing.TypedDict, total=False): + aspectRatio: typing.Literal[ "ASPECT_RATIO_UNSPECIFIED", "ASPECT_RATIO_SIXTEEN_BY_NINE", "ASPECT_RATIO_NINE_BY_SIXTEEN", ] - delivery: typing_extensions.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] + delivery: typing.Literal["DELIVERY_UNSPECIFIED", "INLINE", "URI"] duration: str gcsUri: str + resolution: str @typing.type_check_only -class GoogleCloudAiplatformV1beta1VoiceConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudAiplatformV1beta1VoiceConfig(typing.TypedDict, total=False): prebuiltVoiceConfig: GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig replicatedVoiceConfig: GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ModelOperationMetadata(typing_extensions.TypedDict, total=False): - basicOperationStatus: typing_extensions.Literal[ +class ModelOperationMetadata(typing.TypedDict, total=False): + basicOperationStatus: typing.Literal[ "BASIC_OPERATION_STATUS_UNSPECIFIED", "BASIC_OPERATION_STATUS_UPLOADING", "BASIC_OPERATION_STATUS_VERIFYING", diff --git a/googleapiclient-stubs/_apis/firebaserules/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaserules/v1/resources.pyi index 281c61317..e0ec68747 100644 --- a/googleapiclient-stubs/_apis/firebaserules/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaserules/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -28,7 +27,7 @@ class FirebaseRulesResource(googleapiclient.discovery.Resource): self, *, name: str, - executableVersion: typing_extensions.Literal[ + executableVersion: typing.Literal[ "RELEASE_EXECUTABLE_VERSION_UNSPECIFIED", "FIREBASE_RULES_EXECUTABLE_V1", "FIREBASE_RULES_EXECUTABLE_V2", diff --git a/googleapiclient-stubs/_apis/firebaserules/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaserules/v1/schemas.pyi index cae3e7897..ecc2229e8 100644 --- a/googleapiclient-stubs/_apis/firebaserules/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaserules/v1/schemas.pyi @@ -1,49 +1,47 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Arg(typing_extensions.TypedDict, total=False): +class Arg(typing.TypedDict, total=False): anyValue: Empty exactValue: typing.Any @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExpressionReport(typing_extensions.TypedDict, total=False): +class ExpressionReport(typing.TypedDict, total=False): children: _list[ExpressionReport] sourcePosition: SourcePosition values: _list[ValueCount] @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): content: str fingerprint: str name: str @typing.type_check_only -class FunctionCall(typing_extensions.TypedDict, total=False): +class FunctionCall(typing.TypedDict, total=False): args: _list[typing.Any] function: str @typing.type_check_only -class FunctionMock(typing_extensions.TypedDict, total=False): +class FunctionMock(typing.TypedDict, total=False): args: _list[Arg] function: str result: Result @typing.type_check_only -class GetReleaseExecutableResponse(typing_extensions.TypedDict, total=False): +class GetReleaseExecutableResponse(typing.TypedDict, total=False): executable: str - executableVersion: typing_extensions.Literal[ + executableVersion: typing.Literal[ "RELEASE_EXECUTABLE_VERSION_UNSPECIFIED", "FIREBASE_RULES_EXECUTABLE_V1", "FIREBASE_RULES_EXECUTABLE_V2", ] - language: typing_extensions.Literal[ + language: typing.Literal[ "LANGUAGE_UNSPECIFIED", "FIREBASE_RULES", "EVENT_FLOW_TRIGGERS" ] rulesetName: str @@ -51,41 +49,39 @@ class GetReleaseExecutableResponse(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Issue(typing_extensions.TypedDict, total=False): +class Issue(typing.TypedDict, total=False): description: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "DEPRECATION", "WARNING", "ERROR" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "DEPRECATION", "WARNING", "ERROR"] sourcePosition: SourcePosition @typing.type_check_only -class ListReleasesResponse(typing_extensions.TypedDict, total=False): +class ListReleasesResponse(typing.TypedDict, total=False): nextPageToken: str releases: _list[Release] @typing.type_check_only -class ListRulesetsResponse(typing_extensions.TypedDict, total=False): +class ListRulesetsResponse(typing.TypedDict, total=False): nextPageToken: str rulesets: _list[Ruleset] @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): services: _list[str] @typing.type_check_only -class Release(typing_extensions.TypedDict, total=False): +class Release(typing.TypedDict, total=False): createTime: str name: str rulesetName: str updateTime: str @typing.type_check_only -class Result(typing_extensions.TypedDict, total=False): +class Result(typing.TypedDict, total=False): undefined: Empty value: typing.Any @typing.type_check_only -class Ruleset(typing_extensions.TypedDict, total=False): +class Ruleset(typing.TypedDict, total=False): attachmentPoint: str createTime: str metadata: Metadata @@ -93,11 +89,11 @@ class Ruleset(typing_extensions.TypedDict, total=False): source: Source @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): files: _list[File] @typing.type_check_only -class SourcePosition(typing_extensions.TypedDict, total=False): +class SourcePosition(typing.TypedDict, total=False): column: int currentOffset: int endOffset: int @@ -105,52 +101,50 @@ class SourcePosition(typing_extensions.TypedDict, total=False): line: int @typing.type_check_only -class TestCase(typing_extensions.TypedDict, total=False): - expectation: typing_extensions.Literal["EXPECTATION_UNSPECIFIED", "ALLOW", "DENY"] - expressionReportLevel: typing_extensions.Literal[ +class TestCase(typing.TypedDict, total=False): + expectation: typing.Literal["EXPECTATION_UNSPECIFIED", "ALLOW", "DENY"] + expressionReportLevel: typing.Literal[ "LEVEL_UNSPECIFIED", "NONE", "FULL", "VISITED" ] functionMocks: _list[FunctionMock] - pathEncoding: typing_extensions.Literal[ - "ENCODING_UNSPECIFIED", "URL_ENCODED", "PLAIN" - ] + pathEncoding: typing.Literal["ENCODING_UNSPECIFIED", "URL_ENCODED", "PLAIN"] request: typing.Any resource: typing.Any @typing.type_check_only -class TestResult(typing_extensions.TypedDict, total=False): +class TestResult(typing.TypedDict, total=False): debugMessages: _list[str] errorPosition: SourcePosition expressionReports: _list[ExpressionReport] functionCalls: _list[FunctionCall] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCESS", "FAILURE"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCESS", "FAILURE"] visitedExpressions: _list[VisitedExpression] @typing.type_check_only -class TestRulesetRequest(typing_extensions.TypedDict, total=False): +class TestRulesetRequest(typing.TypedDict, total=False): source: Source testSuite: TestSuite @typing.type_check_only -class TestRulesetResponse(typing_extensions.TypedDict, total=False): +class TestRulesetResponse(typing.TypedDict, total=False): issues: _list[Issue] testResults: _list[TestResult] @typing.type_check_only -class TestSuite(typing_extensions.TypedDict, total=False): +class TestSuite(typing.TypedDict, total=False): testCases: _list[TestCase] @typing.type_check_only -class UpdateReleaseRequest(typing_extensions.TypedDict, total=False): +class UpdateReleaseRequest(typing.TypedDict, total=False): release: Release updateMask: str @typing.type_check_only -class ValueCount(typing_extensions.TypedDict, total=False): +class ValueCount(typing.TypedDict, total=False): count: int value: typing.Any @typing.type_check_only -class VisitedExpression(typing_extensions.TypedDict, total=False): +class VisitedExpression(typing.TypedDict, total=False): sourcePosition: SourcePosition value: typing.Any diff --git a/googleapiclient-stubs/_apis/firebasestorage/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebasestorage/v1beta/resources.pyi index b8df29030..5665afae5 100644 --- a/googleapiclient-stubs/_apis/firebasestorage/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasestorage/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firebasestorage/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebasestorage/v1beta/schemas.pyi index 5ecde9ee3..8e68c57fa 100644 --- a/googleapiclient-stubs/_apis/firebasestorage/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasestorage/v1beta/schemas.pyi @@ -1,30 +1,28 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddFirebaseRequest(typing_extensions.TypedDict, total=False): ... +class AddFirebaseRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Bucket(typing_extensions.TypedDict, total=False): +class Bucket(typing.TypedDict, total=False): name: str @typing.type_check_only -class DefaultBucket(typing_extensions.TypedDict, total=False): +class DefaultBucket(typing.TypedDict, total=False): bucket: Bucket location: str name: str storageClass: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListBucketsResponse(typing_extensions.TypedDict, total=False): +class ListBucketsResponse(typing.TypedDict, total=False): buckets: _list[Bucket] nextPageToken: str @typing.type_check_only -class RemoveFirebaseRequest(typing_extensions.TypedDict, total=False): ... +class RemoveFirebaseRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi index 9ef2146bf..98f1f4198 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -179,6 +178,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, @@ -210,6 +210,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index 4dd17584a..43f5a5441 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -1,30 +1,28 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): alias: str avg: Avg count: Count sum: Sum @typing.type_check_only -class AggregationResult(typing_extensions.TypedDict, total=False): +class AggregationResult(typing.TypedDict, total=False): aggregateFields: dict[str, typing.Any] @typing.type_check_only -class ArrayValue(typing_extensions.TypedDict, total=False): +class ArrayValue(typing.TypedDict, total=False): values: _list[Value] @typing.type_check_only -class Avg(typing_extensions.TypedDict, total=False): +class Avg(typing.TypedDict, total=False): field: FieldReference @typing.type_check_only -class BatchGetDocumentsRequest(typing_extensions.TypedDict, total=False): +class BatchGetDocumentsRequest(typing.TypedDict, total=False): documents: _list[str] mask: DocumentMask newTransaction: TransactionOptions @@ -32,112 +30,112 @@ class BatchGetDocumentsRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class BatchGetDocumentsResponse(typing_extensions.TypedDict, total=False): +class BatchGetDocumentsResponse(typing.TypedDict, total=False): found: Document missing: str readTime: str transaction: str @typing.type_check_only -class BatchWriteRequest(typing_extensions.TypedDict, total=False): +class BatchWriteRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] writes: _list[Write] @typing.type_check_only -class BatchWriteResponse(typing_extensions.TypedDict, total=False): +class BatchWriteResponse(typing.TypedDict, total=False): status: _list[Status] writeResults: _list[WriteResult] @typing.type_check_only -class BeginTransactionRequest(typing_extensions.TypedDict, total=False): +class BeginTransactionRequest(typing.TypedDict, total=False): options: TransactionOptions @typing.type_check_only -class BeginTransactionResponse(typing_extensions.TypedDict, total=False): +class BeginTransactionResponse(typing.TypedDict, total=False): transaction: str @typing.type_check_only -class BitSequence(typing_extensions.TypedDict, total=False): +class BitSequence(typing.TypedDict, total=False): bitmap: str padding: int @typing.type_check_only -class BloomFilter(typing_extensions.TypedDict, total=False): +class BloomFilter(typing.TypedDict, total=False): bits: BitSequence hashCount: int @typing.type_check_only -class CollectionSelector(typing_extensions.TypedDict, total=False): +class CollectionSelector(typing.TypedDict, total=False): allDescendants: bool collectionId: str @typing.type_check_only -class CommitRequest(typing_extensions.TypedDict, total=False): +class CommitRequest(typing.TypedDict, total=False): transaction: str writes: _list[Write] @typing.type_check_only -class CommitResponse(typing_extensions.TypedDict, total=False): +class CommitResponse(typing.TypedDict, total=False): commitTime: str writeResults: _list[WriteResult] @typing.type_check_only -class CompositeFilter(typing_extensions.TypedDict, total=False): +class CompositeFilter(typing.TypedDict, total=False): filters: _list[Filter] - op: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] + op: typing.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] @typing.type_check_only -class Count(typing_extensions.TypedDict, total=False): +class Count(typing.TypedDict, total=False): upTo: str @typing.type_check_only -class Cursor(typing_extensions.TypedDict, total=False): +class Cursor(typing.TypedDict, total=False): before: bool values: _list[Value] @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class Document(typing.TypedDict, total=False): createTime: str fields: dict[str, typing.Any] name: str updateTime: str @typing.type_check_only -class DocumentChange(typing_extensions.TypedDict, total=False): +class DocumentChange(typing.TypedDict, total=False): document: Document removedTargetIds: _list[int] targetIds: _list[int] @typing.type_check_only -class DocumentDelete(typing_extensions.TypedDict, total=False): +class DocumentDelete(typing.TypedDict, total=False): document: str readTime: str removedTargetIds: _list[int] @typing.type_check_only -class DocumentMask(typing_extensions.TypedDict, total=False): +class DocumentMask(typing.TypedDict, total=False): fieldPaths: _list[str] @typing.type_check_only -class DocumentRemove(typing_extensions.TypedDict, total=False): +class DocumentRemove(typing.TypedDict, total=False): document: str readTime: str removedTargetIds: _list[int] @typing.type_check_only -class DocumentTransform(typing_extensions.TypedDict, total=False): +class DocumentTransform(typing.TypedDict, total=False): document: str fieldTransforms: _list[FieldTransform] @typing.type_check_only -class DocumentsTarget(typing_extensions.TypedDict, total=False): +class DocumentsTarget(typing.TypedDict, total=False): documents: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): +class ExecutePipelineRequest(typing.TypedDict, total=False): autoCommitTransaction: bool newTransaction: TransactionOptions readTime: str @@ -145,42 +143,42 @@ class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class ExecutePipelineResponse(typing_extensions.TypedDict, total=False): +class ExecutePipelineResponse(typing.TypedDict, total=False): executionTime: str explainStats: ExplainStats results: _list[Document] transaction: str @typing.type_check_only -class ExecutionStats(typing_extensions.TypedDict, total=False): +class ExecutionStats(typing.TypedDict, total=False): debugStats: dict[str, typing.Any] executionDuration: str readOperations: str resultsReturned: str @typing.type_check_only -class ExistenceFilter(typing_extensions.TypedDict, total=False): +class ExistenceFilter(typing.TypedDict, total=False): count: int targetId: int unchangedNames: BloomFilter @typing.type_check_only -class ExplainMetrics(typing_extensions.TypedDict, total=False): +class ExplainMetrics(typing.TypedDict, total=False): executionStats: ExecutionStats planSummary: PlanSummary @typing.type_check_only -class ExplainOptions(typing_extensions.TypedDict, total=False): +class ExplainOptions(typing.TypedDict, total=False): analyze: bool @typing.type_check_only -class ExplainStats(typing_extensions.TypedDict, total=False): +class ExplainStats(typing.TypedDict, total=False): data: dict[str, typing.Any] @typing.type_check_only -class FieldFilter(typing_extensions.TypedDict, total=False): +class FieldFilter(typing.TypedDict, total=False): field: FieldReference - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS_THAN", "LESS_THAN_OR_EQUAL", @@ -196,30 +194,28 @@ class FieldFilter(typing_extensions.TypedDict, total=False): value: Value @typing.type_check_only -class FieldReference(typing_extensions.TypedDict, total=False): +class FieldReference(typing.TypedDict, total=False): fieldPath: str @typing.type_check_only -class FieldTransform(typing_extensions.TypedDict, total=False): +class FieldTransform(typing.TypedDict, total=False): appendMissingElements: ArrayValue fieldPath: str increment: Value maximum: Value minimum: Value removeAllFromArray: ArrayValue - setToServerValue: typing_extensions.Literal[ - "SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME" - ] + setToServerValue: typing.Literal["SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME"] @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): compositeFilter: CompositeFilter fieldFilter: FieldFilter unaryFilter: UnaryFilter @typing.type_check_only -class FindNearest(typing_extensions.TypedDict, total=False): - distanceMeasure: typing_extensions.Literal[ +class FindNearest(typing.TypedDict, total=False): + distanceMeasure: typing.Literal[ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", "COSINE", "DOT_PRODUCT" ] distanceResultField: str @@ -229,25 +225,23 @@ class FindNearest(typing_extensions.TypedDict, total=False): vectorField: FieldReference @typing.type_check_only -class Function(typing_extensions.TypedDict, total=False): +class Function(typing.TypedDict, total=False): args: _list[Value] name: str options: dict[str, typing.Any] @typing.type_check_only -class GoogleFirestoreAdminV1Backup(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1Backup(typing.TypedDict, total=False): database: str databaseUid: str expireTime: str name: str snapshotTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "NOT_AVAILABLE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "NOT_AVAILABLE"] stats: GoogleFirestoreAdminV1Stats @typing.type_check_only -class GoogleFirestoreAdminV1BackupSchedule(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1BackupSchedule(typing.TypedDict, total=False): createTime: str dailyRecurrence: GoogleFirestoreAdminV1DailyRecurrence name: str @@ -256,17 +250,15 @@ class GoogleFirestoreAdminV1BackupSchedule(typing_extensions.TypedDict, total=Fa weeklyRecurrence: GoogleFirestoreAdminV1WeeklyRecurrence @typing.type_check_only -class GoogleFirestoreAdminV1BackupSource(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1BackupSource(typing.TypedDict, total=False): backup: str @typing.type_check_only -class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str namespaceIds: _list[str] - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -282,19 +274,15 @@ class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1BulkDeleteDocumentsRequest(typing.TypedDict, total=False): collectionIds: _list[str] namespaceIds: _list[str] @typing.type_check_only -class GoogleFirestoreAdminV1CloneDatabaseMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1CloneDatabaseMetadata(typing.TypedDict, total=False): database: str endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -309,52 +297,46 @@ class GoogleFirestoreAdminV1CloneDatabaseMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1CloneDatabaseRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1CloneDatabaseRequest(typing.TypedDict, total=False): databaseId: str encryptionConfig: GoogleFirestoreAdminV1EncryptionConfig pitrSnapshot: GoogleFirestoreAdminV1PitrSnapshot tags: dict[str, typing.Any] @typing.type_check_only -class GoogleFirestoreAdminV1CmekConfig(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1CmekConfig(typing.TypedDict, total=False): activeKeyVersion: _list[str] kmsKeyName: str @typing.type_check_only -class GoogleFirestoreAdminV1CreateDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1CreateDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleFirestoreAdminV1CustomerManagedEncryptionOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kmsKeyName: str @typing.type_check_only -class GoogleFirestoreAdminV1DailyRecurrence( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1DailyRecurrence(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): - appEngineIntegrationMode: typing_extensions.Literal[ +class GoogleFirestoreAdminV1Database(typing.TypedDict, total=False): + appEngineIntegrationMode: typing.Literal[ "APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED", "ENABLED", "DISABLED" ] cmekConfig: GoogleFirestoreAdminV1CmekConfig - concurrencyMode: typing_extensions.Literal[ + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "OPTIMISTIC", "PESSIMISTIC", "OPTIMISTIC_WITH_ENTITY_GROUPS", ] createTime: str - databaseEdition: typing_extensions.Literal[ + databaseEdition: typing.Literal[ "DATABASE_EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] - deleteProtectionState: typing_extensions.Literal[ + deleteProtectionState: typing.Literal[ "DELETE_PROTECTION_STATE_UNSPECIFIED", "DELETE_PROTECTION_DISABLED", "DELETE_PROTECTION_ENABLED", @@ -362,7 +344,7 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): deleteTime: str earliestVersionTime: str etag: str - firestoreDataAccessMode: typing_extensions.Literal[ + firestoreDataAccessMode: typing.Literal[ "DATA_ACCESS_MODE_UNSPECIFIED", "DATA_ACCESS_MODE_ENABLED", "DATA_ACCESS_MODE_DISABLED", @@ -370,26 +352,26 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): freeTier: bool keyPrefix: str locationId: str - mongodbCompatibleDataAccessMode: typing_extensions.Literal[ + mongodbCompatibleDataAccessMode: typing.Literal[ "DATA_ACCESS_MODE_UNSPECIFIED", "DATA_ACCESS_MODE_ENABLED", "DATA_ACCESS_MODE_DISABLED", ] name: str - pointInTimeRecoveryEnablement: typing_extensions.Literal[ + pointInTimeRecoveryEnablement: typing.Literal[ "POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED", "POINT_IN_TIME_RECOVERY_ENABLED", "POINT_IN_TIME_RECOVERY_DISABLED", ] previousId: str - realtimeUpdatesMode: typing_extensions.Literal[ + realtimeUpdatesMode: typing.Literal[ "REALTIME_UPDATES_MODE_UNSPECIFIED", "REALTIME_UPDATES_MODE_ENABLED", "REALTIME_UPDATES_MODE_DISABLED", ] sourceInfo: GoogleFirestoreAdminV1SourceInfo tags: dict[str, typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "DATABASE_TYPE_UNSPECIFIED", "FIRESTORE_NATIVE", "DATASTORE_MODE" ] uid: str @@ -397,34 +379,26 @@ class GoogleFirestoreAdminV1Database(typing_extensions.TypedDict, total=False): versionRetentionPeriod: str @typing.type_check_only -class GoogleFirestoreAdminV1DeleteDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1DeleteDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1DisableUserCredsRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1DisableUserCredsRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1EnableUserCredsRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1EnableUserCredsRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1EncryptionConfig(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1EncryptionConfig(typing.TypedDict, total=False): customerManagedEncryption: GoogleFirestoreAdminV1CustomerManagedEncryptionOptions googleDefaultEncryption: GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions useSourceEncryption: GoogleFirestoreAdminV1SourceEncryptionOptions @typing.type_check_only -class GoogleFirestoreAdminV1ExportDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ExportDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str namespaceIds: _list[str] - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -441,37 +415,31 @@ class GoogleFirestoreAdminV1ExportDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1ExportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ExportDocumentsRequest(typing.TypedDict, total=False): collectionIds: _list[str] namespaceIds: _list[str] outputUriPrefix: str snapshotTime: str @typing.type_check_only -class GoogleFirestoreAdminV1ExportDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ExportDocumentsResponse(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleFirestoreAdminV1Field(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1Field(typing.TypedDict, total=False): indexConfig: GoogleFirestoreAdminV1IndexConfig name: str ttlConfig: GoogleFirestoreAdminV1TtlConfig @typing.type_check_only -class GoogleFirestoreAdminV1FieldOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1FieldOperationMetadata(typing.TypedDict, total=False): endTime: str field: str indexConfigDeltas: _list[GoogleFirestoreAdminV1IndexConfigDelta] progressBytes: GoogleFirestoreAdminV1Progress progressDocuments: GoogleFirestoreAdminV1Progress startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -484,22 +452,20 @@ class GoogleFirestoreAdminV1FieldOperationMetadata( ttlConfigDelta: GoogleFirestoreAdminV1TtlConfigDelta @typing.type_check_only -class GoogleFirestoreAdminV1FlatIndex(typing_extensions.TypedDict, total=False): ... +class GoogleFirestoreAdminV1FlatIndex(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleFirestoreAdminV1ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ImportDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str inputUriPrefix: str namespaceIds: _list[str] - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -514,25 +480,19 @@ class GoogleFirestoreAdminV1ImportDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1ImportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ImportDocumentsRequest(typing.TypedDict, total=False): collectionIds: _list[str] inputUriPrefix: str namespaceIds: _list[str] @typing.type_check_only -class GoogleFirestoreAdminV1Index(typing_extensions.TypedDict, total=False): - apiScope: typing_extensions.Literal[ - "ANY_API", "DATASTORE_MODE_API", "MONGODB_COMPATIBLE_API" - ] - density: typing_extensions.Literal[ - "DENSITY_UNSPECIFIED", "SPARSE_ALL", "SPARSE_ANY", "DENSE" - ] +class GoogleFirestoreAdminV1Index(typing.TypedDict, total=False): + apiScope: typing.Literal["ANY_API", "DATASTORE_MODE_API", "MONGODB_COMPATIBLE_API"] + density: typing.Literal["DENSITY_UNSPECIFIED", "SPARSE_ALL", "SPARSE_ANY", "DENSE"] fields: _list[GoogleFirestoreAdminV1IndexField] multikey: bool name: str - queryScope: typing_extensions.Literal[ + queryScope: typing.Literal[ "QUERY_SCOPE_UNSPECIFIED", "COLLECTION", "COLLECTION_GROUP", @@ -540,41 +500,37 @@ class GoogleFirestoreAdminV1Index(typing_extensions.TypedDict, total=False): ] searchIndexOptions: GoogleFirestoreAdminV1SearchIndexOptions shardCount: int - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "NEEDS_REPAIR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "NEEDS_REPAIR"] unique: bool @typing.type_check_only -class GoogleFirestoreAdminV1IndexConfig(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1IndexConfig(typing.TypedDict, total=False): ancestorField: str indexes: _list[GoogleFirestoreAdminV1Index] reverting: bool usesAncestorConfig: bool @typing.type_check_only -class GoogleFirestoreAdminV1IndexConfigDelta(typing_extensions.TypedDict, total=False): - changeType: typing_extensions.Literal["CHANGE_TYPE_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleFirestoreAdminV1IndexConfigDelta(typing.TypedDict, total=False): + changeType: typing.Literal["CHANGE_TYPE_UNSPECIFIED", "ADD", "REMOVE"] index: GoogleFirestoreAdminV1Index @typing.type_check_only -class GoogleFirestoreAdminV1IndexField(typing_extensions.TypedDict, total=False): - arrayConfig: typing_extensions.Literal["ARRAY_CONFIG_UNSPECIFIED", "CONTAINS"] +class GoogleFirestoreAdminV1IndexField(typing.TypedDict, total=False): + arrayConfig: typing.Literal["ARRAY_CONFIG_UNSPECIFIED", "CONTAINS"] fieldPath: str - order: typing_extensions.Literal["ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] + order: typing.Literal["ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] searchConfig: GoogleFirestoreAdminV1SearchConfig vectorConfig: GoogleFirestoreAdminV1VectorConfig @typing.type_check_only -class GoogleFirestoreAdminV1IndexOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1IndexOperationMetadata(typing.TypedDict, total=False): endTime: str index: str progressBytes: GoogleFirestoreAdminV1Progress progressDocuments: GoogleFirestoreAdminV1Progress startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -586,78 +542,60 @@ class GoogleFirestoreAdminV1IndexOperationMetadata( ] @typing.type_check_only -class GoogleFirestoreAdminV1ListBackupSchedulesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ListBackupSchedulesResponse(typing.TypedDict, total=False): backupSchedules: _list[GoogleFirestoreAdminV1BackupSchedule] @typing.type_check_only -class GoogleFirestoreAdminV1ListBackupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ListBackupsResponse(typing.TypedDict, total=False): backups: _list[GoogleFirestoreAdminV1Backup] unreachable: _list[str] @typing.type_check_only -class GoogleFirestoreAdminV1ListDatabasesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ListDatabasesResponse(typing.TypedDict, total=False): databases: _list[GoogleFirestoreAdminV1Database] unreachable: _list[str] @typing.type_check_only -class GoogleFirestoreAdminV1ListFieldsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ListFieldsResponse(typing.TypedDict, total=False): fields: _list[GoogleFirestoreAdminV1Field] nextPageToken: str @typing.type_check_only -class GoogleFirestoreAdminV1ListIndexesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ListIndexesResponse(typing.TypedDict, total=False): indexes: _list[GoogleFirestoreAdminV1Index] nextPageToken: str @typing.type_check_only -class GoogleFirestoreAdminV1ListUserCredsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1ListUserCredsResponse(typing.TypedDict, total=False): userCreds: _list[GoogleFirestoreAdminV1UserCreds] @typing.type_check_only -class GoogleFirestoreAdminV1LocationMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1LocationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1PitrSnapshot(typing.TypedDict, total=False): database: str databaseUid: str snapshotTime: str @typing.type_check_only -class GoogleFirestoreAdminV1Progress(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1Progress(typing.TypedDict, total=False): completedWork: str estimatedWork: str @typing.type_check_only -class GoogleFirestoreAdminV1ResetUserPasswordRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1ResetUserPasswordRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1ResourceIdentity(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1ResourceIdentity(typing.TypedDict, total=False): principal: str @typing.type_check_only -class GoogleFirestoreAdminV1RestoreDatabaseMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1RestoreDatabaseMetadata(typing.TypedDict, total=False): backup: str database: str endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -671,93 +609,79 @@ class GoogleFirestoreAdminV1RestoreDatabaseMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1RestoreDatabaseRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1RestoreDatabaseRequest(typing.TypedDict, total=False): backup: str databaseId: str encryptionConfig: GoogleFirestoreAdminV1EncryptionConfig tags: dict[str, typing.Any] @typing.type_check_only -class GoogleFirestoreAdminV1SearchConfig(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1SearchConfig(typing.TypedDict, total=False): geoSpec: GoogleFirestoreAdminV1SearchGeoSpec textSpec: GoogleFirestoreAdminV1SearchTextSpec @typing.type_check_only -class GoogleFirestoreAdminV1SearchGeoSpec(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1SearchGeoSpec(typing.TypedDict, total=False): geoJsonIndexingDisabled: bool @typing.type_check_only -class GoogleFirestoreAdminV1SearchIndexOptions( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1SearchIndexOptions(typing.TypedDict, total=False): textLanguage: str textLanguageOverrideFieldPath: str @typing.type_check_only -class GoogleFirestoreAdminV1SearchTextIndexSpec( - typing_extensions.TypedDict, total=False -): - indexType: typing_extensions.Literal["TEXT_INDEX_TYPE_UNSPECIFIED", "TOKENIZED"] - matchType: typing_extensions.Literal[ - "TEXT_MATCH_TYPE_UNSPECIFIED", "MATCH_GLOBALLY" - ] +class GoogleFirestoreAdminV1SearchTextIndexSpec(typing.TypedDict, total=False): + indexType: typing.Literal["TEXT_INDEX_TYPE_UNSPECIFIED", "TOKENIZED"] + matchType: typing.Literal["TEXT_MATCH_TYPE_UNSPECIFIED", "MATCH_GLOBALLY"] @typing.type_check_only -class GoogleFirestoreAdminV1SearchTextSpec(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1SearchTextSpec(typing.TypedDict, total=False): indexSpecs: _list[GoogleFirestoreAdminV1SearchTextIndexSpec] @typing.type_check_only -class GoogleFirestoreAdminV1SourceEncryptionOptions( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1SourceEncryptionOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1SourceInfo(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1SourceInfo(typing.TypedDict, total=False): backup: GoogleFirestoreAdminV1BackupSource operation: str @typing.type_check_only -class GoogleFirestoreAdminV1Stats(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1Stats(typing.TypedDict, total=False): documentCount: str indexCount: str sizeBytes: str @typing.type_check_only -class GoogleFirestoreAdminV1TtlConfig(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1TtlConfig(typing.TypedDict, total=False): expirationOffset: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "NEEDS_REPAIR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE", "NEEDS_REPAIR"] @typing.type_check_only -class GoogleFirestoreAdminV1TtlConfigDelta(typing_extensions.TypedDict, total=False): - changeType: typing_extensions.Literal["CHANGE_TYPE_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleFirestoreAdminV1TtlConfigDelta(typing.TypedDict, total=False): + changeType: typing.Literal["CHANGE_TYPE_UNSPECIFIED", "ADD", "REMOVE"] expirationOffset: str @typing.type_check_only -class GoogleFirestoreAdminV1UpdateDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1UpdateDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1UserCreds(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1UserCreds(typing.TypedDict, total=False): createTime: str name: str resourceIdentity: GoogleFirestoreAdminV1ResourceIdentity securePassword: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] updateTime: str @typing.type_check_only -class GoogleFirestoreAdminV1VectorConfig(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1VectorConfig(typing.TypedDict, total=False): dimension: int flat: GoogleFirestoreAdminV1FlatIndex @typing.type_check_only -class GoogleFirestoreAdminV1WeeklyRecurrence(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class GoogleFirestoreAdminV1WeeklyRecurrence(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -769,18 +693,16 @@ class GoogleFirestoreAdminV1WeeklyRecurrence(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -788,39 +710,39 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ListCollectionIdsRequest(typing_extensions.TypedDict, total=False): +class ListCollectionIdsRequest(typing.TypedDict, total=False): pageSize: int pageToken: str readTime: str @typing.type_check_only -class ListCollectionIdsResponse(typing_extensions.TypedDict, total=False): +class ListCollectionIdsResponse(typing.TypedDict, total=False): collectionIds: _list[str] nextPageToken: str @typing.type_check_only -class ListDocumentsResponse(typing_extensions.TypedDict, total=False): +class ListDocumentsResponse(typing.TypedDict, total=False): documents: _list[Document] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListenRequest(typing_extensions.TypedDict, total=False): +class ListenRequest(typing.TypedDict, total=False): addTarget: Target labels: dict[str, typing.Any] removeTarget: int @typing.type_check_only -class ListenResponse(typing_extensions.TypedDict, total=False): +class ListenResponse(typing.TypedDict, total=False): documentChange: DocumentChange documentDelete: DocumentDelete documentRemove: DocumentRemove @@ -828,7 +750,7 @@ class ListenResponse(typing_extensions.TypedDict, total=False): targetChange: TargetChange @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -836,18 +758,16 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MapValue(typing_extensions.TypedDict, total=False): +class MapValue(typing.TypedDict, total=False): fields: dict[str, typing.Any] @typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] +class Order(typing.TypedDict, total=False): + direction: typing.Literal["DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING"] field: FieldReference @typing.type_check_only -class PartitionQueryRequest(typing_extensions.TypedDict, total=False): +class PartitionQueryRequest(typing.TypedDict, total=False): pageSize: int pageToken: str partitionCount: str @@ -855,49 +775,49 @@ class PartitionQueryRequest(typing_extensions.TypedDict, total=False): structuredQuery: StructuredQuery @typing.type_check_only -class PartitionQueryResponse(typing_extensions.TypedDict, total=False): +class PartitionQueryResponse(typing.TypedDict, total=False): nextPageToken: str partitions: _list[Cursor] @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): stages: _list[Stage] @typing.type_check_only -class PlanSummary(typing_extensions.TypedDict, total=False): +class PlanSummary(typing.TypedDict, total=False): indexesUsed: _list[dict[str, typing.Any]] @typing.type_check_only -class Precondition(typing_extensions.TypedDict, total=False): +class Precondition(typing.TypedDict, total=False): exists: bool updateTime: str @typing.type_check_only -class Projection(typing_extensions.TypedDict, total=False): +class Projection(typing.TypedDict, total=False): fields: _list[FieldReference] @typing.type_check_only -class QueryTarget(typing_extensions.TypedDict, total=False): +class QueryTarget(typing.TypedDict, total=False): parent: str structuredQuery: StructuredQuery @typing.type_check_only -class ReadOnly(typing_extensions.TypedDict, total=False): +class ReadOnly(typing.TypedDict, total=False): readTime: str @typing.type_check_only -class ReadWrite(typing_extensions.TypedDict, total=False): - concurrencyMode: typing_extensions.Literal[ +class ReadWrite(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "OPTIMISTIC", "PESSIMISTIC" ] retryTransaction: str @typing.type_check_only -class RollbackRequest(typing_extensions.TypedDict, total=False): +class RollbackRequest(typing.TypedDict, total=False): transaction: str @typing.type_check_only -class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): +class RunAggregationQueryRequest(typing.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str @@ -905,14 +825,14 @@ class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class RunAggregationQueryResponse(typing_extensions.TypedDict, total=False): +class RunAggregationQueryResponse(typing.TypedDict, total=False): explainMetrics: ExplainMetrics readTime: str result: AggregationResult transaction: str @typing.type_check_only -class RunQueryRequest(typing_extensions.TypedDict, total=False): +class RunQueryRequest(typing.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str @@ -920,7 +840,7 @@ class RunQueryRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class RunQueryResponse(typing_extensions.TypedDict, total=False): +class RunQueryResponse(typing.TypedDict, total=False): document: Document done: bool explainMetrics: ExplainMetrics @@ -929,28 +849,28 @@ class RunQueryResponse(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class Stage(typing_extensions.TypedDict, total=False): +class Stage(typing.TypedDict, total=False): args: _list[Value] name: str options: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StructuredAggregationQuery(typing_extensions.TypedDict, total=False): +class StructuredAggregationQuery(typing.TypedDict, total=False): aggregations: _list[Aggregation] structuredQuery: StructuredQuery @typing.type_check_only -class StructuredPipeline(typing_extensions.TypedDict, total=False): +class StructuredPipeline(typing.TypedDict, total=False): options: dict[str, typing.Any] pipeline: Pipeline -AlternativeStructuredQuery = typing_extensions.TypedDict( +AlternativeStructuredQuery = typing.TypedDict( "AlternativeStructuredQuery", { "endAt": Cursor, @@ -970,11 +890,11 @@ AlternativeStructuredQuery = typing_extensions.TypedDict( class StructuredQuery(AlternativeStructuredQuery): ... @typing.type_check_only -class Sum(typing_extensions.TypedDict, total=False): +class Sum(typing.TypedDict, total=False): field: FieldReference @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): documents: DocumentsTarget expectedCount: int once: bool @@ -984,29 +904,27 @@ class Target(typing_extensions.TypedDict, total=False): targetId: int @typing.type_check_only -class TargetChange(typing_extensions.TypedDict, total=False): +class TargetChange(typing.TypedDict, total=False): cause: Status readTime: str resumeToken: str - targetChangeType: typing_extensions.Literal[ - "NO_CHANGE", "ADD", "REMOVE", "CURRENT", "RESET" - ] + targetChangeType: typing.Literal["NO_CHANGE", "ADD", "REMOVE", "CURRENT", "RESET"] targetIds: _list[int] @typing.type_check_only -class TransactionOptions(typing_extensions.TypedDict, total=False): +class TransactionOptions(typing.TypedDict, total=False): readOnly: ReadOnly readWrite: ReadWrite @typing.type_check_only -class UnaryFilter(typing_extensions.TypedDict, total=False): +class UnaryFilter(typing.TypedDict, total=False): field: FieldReference - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "IS_NAN", "IS_NULL", "IS_NOT_NAN", "IS_NOT_NULL" ] @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): arrayValue: ArrayValue booleanValue: bool bytesValue: str @@ -1016,7 +934,7 @@ class Value(typing_extensions.TypedDict, total=False): geoPointValue: LatLng integerValue: str mapValue: MapValue - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] pipelineValue: Pipeline referenceValue: str stringValue: str @@ -1024,7 +942,7 @@ class Value(typing_extensions.TypedDict, total=False): variableReferenceValue: str @typing.type_check_only -class Write(typing_extensions.TypedDict, total=False): +class Write(typing.TypedDict, total=False): currentDocument: Precondition delete: str transform: DocumentTransform @@ -1033,20 +951,20 @@ class Write(typing_extensions.TypedDict, total=False): updateTransforms: _list[FieldTransform] @typing.type_check_only -class WriteRequest(typing_extensions.TypedDict, total=False): +class WriteRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] streamId: str streamToken: str writes: _list[Write] @typing.type_check_only -class WriteResponse(typing_extensions.TypedDict, total=False): +class WriteResponse(typing.TypedDict, total=False): commitTime: str streamId: str streamToken: str writeResults: _list[WriteResult] @typing.type_check_only -class WriteResult(typing_extensions.TypedDict, total=False): +class WriteResult(typing.TypedDict, total=False): transformResults: _list[Value] updateTime: str diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi index 0f79a79a6..80817f37d 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -87,6 +86,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, @@ -118,6 +118,7 @@ class FirestoreResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., readTime: str | None = ..., + recursive: bool | None = ..., showMissing: bool | None = ..., transaction: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi index 1231db17b..5ae3483e6 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi @@ -1,30 +1,28 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): alias: str avg: Avg count: Count sum: Sum @typing.type_check_only -class AggregationResult(typing_extensions.TypedDict, total=False): +class AggregationResult(typing.TypedDict, total=False): aggregateFields: dict[str, typing.Any] @typing.type_check_only -class ArrayValue(typing_extensions.TypedDict, total=False): +class ArrayValue(typing.TypedDict, total=False): values: _list[Value] @typing.type_check_only -class Avg(typing_extensions.TypedDict, total=False): +class Avg(typing.TypedDict, total=False): field: FieldReference @typing.type_check_only -class BatchGetDocumentsRequest(typing_extensions.TypedDict, total=False): +class BatchGetDocumentsRequest(typing.TypedDict, total=False): documents: _list[str] mask: DocumentMask newTransaction: TransactionOptions @@ -32,112 +30,112 @@ class BatchGetDocumentsRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class BatchGetDocumentsResponse(typing_extensions.TypedDict, total=False): +class BatchGetDocumentsResponse(typing.TypedDict, total=False): found: Document missing: str readTime: str transaction: str @typing.type_check_only -class BatchWriteRequest(typing_extensions.TypedDict, total=False): +class BatchWriteRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] writes: _list[Write] @typing.type_check_only -class BatchWriteResponse(typing_extensions.TypedDict, total=False): +class BatchWriteResponse(typing.TypedDict, total=False): status: _list[Status] writeResults: _list[WriteResult] @typing.type_check_only -class BeginTransactionRequest(typing_extensions.TypedDict, total=False): +class BeginTransactionRequest(typing.TypedDict, total=False): options: TransactionOptions @typing.type_check_only -class BeginTransactionResponse(typing_extensions.TypedDict, total=False): +class BeginTransactionResponse(typing.TypedDict, total=False): transaction: str @typing.type_check_only -class BitSequence(typing_extensions.TypedDict, total=False): +class BitSequence(typing.TypedDict, total=False): bitmap: str padding: int @typing.type_check_only -class BloomFilter(typing_extensions.TypedDict, total=False): +class BloomFilter(typing.TypedDict, total=False): bits: BitSequence hashCount: int @typing.type_check_only -class CollectionSelector(typing_extensions.TypedDict, total=False): +class CollectionSelector(typing.TypedDict, total=False): allDescendants: bool collectionId: str @typing.type_check_only -class CommitRequest(typing_extensions.TypedDict, total=False): +class CommitRequest(typing.TypedDict, total=False): transaction: str writes: _list[Write] @typing.type_check_only -class CommitResponse(typing_extensions.TypedDict, total=False): +class CommitResponse(typing.TypedDict, total=False): commitTime: str writeResults: _list[WriteResult] @typing.type_check_only -class CompositeFilter(typing_extensions.TypedDict, total=False): +class CompositeFilter(typing.TypedDict, total=False): filters: _list[Filter] - op: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] + op: typing.Literal["OPERATOR_UNSPECIFIED", "AND", "OR"] @typing.type_check_only -class Count(typing_extensions.TypedDict, total=False): +class Count(typing.TypedDict, total=False): upTo: str @typing.type_check_only -class Cursor(typing_extensions.TypedDict, total=False): +class Cursor(typing.TypedDict, total=False): before: bool values: _list[Value] @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class Document(typing.TypedDict, total=False): createTime: str fields: dict[str, typing.Any] name: str updateTime: str @typing.type_check_only -class DocumentChange(typing_extensions.TypedDict, total=False): +class DocumentChange(typing.TypedDict, total=False): document: Document removedTargetIds: _list[int] targetIds: _list[int] @typing.type_check_only -class DocumentDelete(typing_extensions.TypedDict, total=False): +class DocumentDelete(typing.TypedDict, total=False): document: str readTime: str removedTargetIds: _list[int] @typing.type_check_only -class DocumentMask(typing_extensions.TypedDict, total=False): +class DocumentMask(typing.TypedDict, total=False): fieldPaths: _list[str] @typing.type_check_only -class DocumentRemove(typing_extensions.TypedDict, total=False): +class DocumentRemove(typing.TypedDict, total=False): document: str readTime: str removedTargetIds: _list[int] @typing.type_check_only -class DocumentTransform(typing_extensions.TypedDict, total=False): +class DocumentTransform(typing.TypedDict, total=False): document: str fieldTransforms: _list[FieldTransform] @typing.type_check_only -class DocumentsTarget(typing_extensions.TypedDict, total=False): +class DocumentsTarget(typing.TypedDict, total=False): documents: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): +class ExecutePipelineRequest(typing.TypedDict, total=False): autoCommitTransaction: bool newTransaction: TransactionOptions readTime: str @@ -145,42 +143,42 @@ class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class ExecutePipelineResponse(typing_extensions.TypedDict, total=False): +class ExecutePipelineResponse(typing.TypedDict, total=False): executionTime: str explainStats: ExplainStats results: _list[Document] transaction: str @typing.type_check_only -class ExecutionStats(typing_extensions.TypedDict, total=False): +class ExecutionStats(typing.TypedDict, total=False): debugStats: dict[str, typing.Any] executionDuration: str readOperations: str resultsReturned: str @typing.type_check_only -class ExistenceFilter(typing_extensions.TypedDict, total=False): +class ExistenceFilter(typing.TypedDict, total=False): count: int targetId: int unchangedNames: BloomFilter @typing.type_check_only -class ExplainMetrics(typing_extensions.TypedDict, total=False): +class ExplainMetrics(typing.TypedDict, total=False): executionStats: ExecutionStats planSummary: PlanSummary @typing.type_check_only -class ExplainOptions(typing_extensions.TypedDict, total=False): +class ExplainOptions(typing.TypedDict, total=False): analyze: bool @typing.type_check_only -class ExplainStats(typing_extensions.TypedDict, total=False): +class ExplainStats(typing.TypedDict, total=False): data: dict[str, typing.Any] @typing.type_check_only -class FieldFilter(typing_extensions.TypedDict, total=False): +class FieldFilter(typing.TypedDict, total=False): field: FieldReference - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "LESS_THAN", "LESS_THAN_OR_EQUAL", @@ -196,30 +194,28 @@ class FieldFilter(typing_extensions.TypedDict, total=False): value: Value @typing.type_check_only -class FieldReference(typing_extensions.TypedDict, total=False): +class FieldReference(typing.TypedDict, total=False): fieldPath: str @typing.type_check_only -class FieldTransform(typing_extensions.TypedDict, total=False): +class FieldTransform(typing.TypedDict, total=False): appendMissingElements: ArrayValue fieldPath: str increment: Value maximum: Value minimum: Value removeAllFromArray: ArrayValue - setToServerValue: typing_extensions.Literal[ - "SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME" - ] + setToServerValue: typing.Literal["SERVER_VALUE_UNSPECIFIED", "REQUEST_TIME"] @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): compositeFilter: CompositeFilter fieldFilter: FieldFilter unaryFilter: UnaryFilter @typing.type_check_only -class FindNearest(typing_extensions.TypedDict, total=False): - distanceMeasure: typing_extensions.Literal[ +class FindNearest(typing.TypedDict, total=False): + distanceMeasure: typing.Literal[ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", "COSINE", "DOT_PRODUCT" ] distanceResultField: str @@ -229,19 +225,17 @@ class FindNearest(typing_extensions.TypedDict, total=False): vectorField: FieldReference @typing.type_check_only -class Function(typing_extensions.TypedDict, total=False): +class Function(typing.TypedDict, total=False): args: _list[Value] name: str options: dict[str, typing.Any] @typing.type_check_only -class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str namespaceIds: _list[str] - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -257,12 +251,10 @@ class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1CloneDatabaseMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1CloneDatabaseMetadata(typing.TypedDict, total=False): database: str endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -277,34 +269,28 @@ class GoogleFirestoreAdminV1CloneDatabaseMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1CreateDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1CreateDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1DeleteDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1DeleteDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1PitrSnapshot(typing.TypedDict, total=False): database: str databaseUid: str snapshotTime: str @typing.type_check_only -class GoogleFirestoreAdminV1Progress(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1Progress(typing.TypedDict, total=False): completedWork: str estimatedWork: str @typing.type_check_only -class GoogleFirestoreAdminV1RestoreDatabaseMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1RestoreDatabaseMetadata(typing.TypedDict, total=False): backup: str database: str endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -318,17 +304,13 @@ class GoogleFirestoreAdminV1RestoreDatabaseMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1UpdateDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1UpdateDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1beta1ExportDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta1ExportDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -344,26 +326,20 @@ class GoogleFirestoreAdminV1beta1ExportDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1beta1ExportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta1ExportDocumentsRequest(typing.TypedDict, total=False): collectionIds: _list[str] outputUriPrefix: str @typing.type_check_only -class GoogleFirestoreAdminV1beta1ExportDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta1ExportDocumentsResponse(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleFirestoreAdminV1beta1ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta1ImportDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str inputUriPrefix: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -378,58 +354,48 @@ class GoogleFirestoreAdminV1beta1ImportDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1beta1ImportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta1ImportDocumentsRequest(typing.TypedDict, total=False): collectionIds: _list[str] inputUriPrefix: str @typing.type_check_only -class GoogleFirestoreAdminV1beta1Index(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1beta1Index(typing.TypedDict, total=False): collectionId: str fields: _list[GoogleFirestoreAdminV1beta1IndexField] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "ERROR"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "ERROR"] @typing.type_check_only -class GoogleFirestoreAdminV1beta1IndexField(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1beta1IndexField(typing.TypedDict, total=False): fieldPath: str - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "ASCENDING", "DESCENDING", "ARRAY_CONTAINS" ] @typing.type_check_only -class GoogleFirestoreAdminV1beta1IndexOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta1IndexOperationMetadata(typing.TypedDict, total=False): cancelled: bool documentProgress: GoogleFirestoreAdminV1beta1Progress endTime: str index: str - operationType: typing_extensions.Literal[ - "OPERATION_TYPE_UNSPECIFIED", "CREATING_INDEX" - ] + operationType: typing.Literal["OPERATION_TYPE_UNSPECIFIED", "CREATING_INDEX"] startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1beta1ListIndexesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta1ListIndexesResponse(typing.TypedDict, total=False): indexes: _list[GoogleFirestoreAdminV1beta1Index] nextPageToken: str @typing.type_check_only -class GoogleFirestoreAdminV1beta1LocationMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1beta1LocationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1beta1Progress(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1beta1Progress(typing.TypedDict, total=False): workCompleted: str workEstimated: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -437,34 +403,34 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ListCollectionIdsRequest(typing_extensions.TypedDict, total=False): +class ListCollectionIdsRequest(typing.TypedDict, total=False): pageSize: int pageToken: str readTime: str @typing.type_check_only -class ListCollectionIdsResponse(typing_extensions.TypedDict, total=False): +class ListCollectionIdsResponse(typing.TypedDict, total=False): collectionIds: _list[str] nextPageToken: str @typing.type_check_only -class ListDocumentsResponse(typing_extensions.TypedDict, total=False): +class ListDocumentsResponse(typing.TypedDict, total=False): documents: _list[Document] nextPageToken: str @typing.type_check_only -class ListenRequest(typing_extensions.TypedDict, total=False): +class ListenRequest(typing.TypedDict, total=False): addTarget: Target labels: dict[str, typing.Any] removeTarget: int @typing.type_check_only -class ListenResponse(typing_extensions.TypedDict, total=False): +class ListenResponse(typing.TypedDict, total=False): documentChange: DocumentChange documentDelete: DocumentDelete documentRemove: DocumentRemove @@ -472,18 +438,16 @@ class ListenResponse(typing_extensions.TypedDict, total=False): targetChange: TargetChange @typing.type_check_only -class MapValue(typing_extensions.TypedDict, total=False): +class MapValue(typing.TypedDict, total=False): fields: dict[str, typing.Any] @typing.type_check_only -class Order(typing_extensions.TypedDict, total=False): - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] +class Order(typing.TypedDict, total=False): + direction: typing.Literal["DIRECTION_UNSPECIFIED", "ASCENDING", "DESCENDING"] field: FieldReference @typing.type_check_only -class PartitionQueryRequest(typing_extensions.TypedDict, total=False): +class PartitionQueryRequest(typing.TypedDict, total=False): pageSize: int pageToken: str partitionCount: str @@ -491,49 +455,49 @@ class PartitionQueryRequest(typing_extensions.TypedDict, total=False): structuredQuery: StructuredQuery @typing.type_check_only -class PartitionQueryResponse(typing_extensions.TypedDict, total=False): +class PartitionQueryResponse(typing.TypedDict, total=False): nextPageToken: str partitions: _list[Cursor] @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): stages: _list[Stage] @typing.type_check_only -class PlanSummary(typing_extensions.TypedDict, total=False): +class PlanSummary(typing.TypedDict, total=False): indexesUsed: _list[dict[str, typing.Any]] @typing.type_check_only -class Precondition(typing_extensions.TypedDict, total=False): +class Precondition(typing.TypedDict, total=False): exists: bool updateTime: str @typing.type_check_only -class Projection(typing_extensions.TypedDict, total=False): +class Projection(typing.TypedDict, total=False): fields: _list[FieldReference] @typing.type_check_only -class QueryTarget(typing_extensions.TypedDict, total=False): +class QueryTarget(typing.TypedDict, total=False): parent: str structuredQuery: StructuredQuery @typing.type_check_only -class ReadOnly(typing_extensions.TypedDict, total=False): +class ReadOnly(typing.TypedDict, total=False): readTime: str @typing.type_check_only -class ReadWrite(typing_extensions.TypedDict, total=False): - concurrencyMode: typing_extensions.Literal[ +class ReadWrite(typing.TypedDict, total=False): + concurrencyMode: typing.Literal[ "CONCURRENCY_MODE_UNSPECIFIED", "OPTIMISTIC", "PESSIMISTIC" ] retryTransaction: str @typing.type_check_only -class RollbackRequest(typing_extensions.TypedDict, total=False): +class RollbackRequest(typing.TypedDict, total=False): transaction: str @typing.type_check_only -class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): +class RunAggregationQueryRequest(typing.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str @@ -541,14 +505,14 @@ class RunAggregationQueryRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class RunAggregationQueryResponse(typing_extensions.TypedDict, total=False): +class RunAggregationQueryResponse(typing.TypedDict, total=False): explainMetrics: ExplainMetrics readTime: str result: AggregationResult transaction: str @typing.type_check_only -class RunQueryRequest(typing_extensions.TypedDict, total=False): +class RunQueryRequest(typing.TypedDict, total=False): explainOptions: ExplainOptions newTransaction: TransactionOptions readTime: str @@ -556,7 +520,7 @@ class RunQueryRequest(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class RunQueryResponse(typing_extensions.TypedDict, total=False): +class RunQueryResponse(typing.TypedDict, total=False): document: Document done: bool explainMetrics: ExplainMetrics @@ -565,28 +529,28 @@ class RunQueryResponse(typing_extensions.TypedDict, total=False): transaction: str @typing.type_check_only -class Stage(typing_extensions.TypedDict, total=False): +class Stage(typing.TypedDict, total=False): args: _list[Value] name: str options: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StructuredAggregationQuery(typing_extensions.TypedDict, total=False): +class StructuredAggregationQuery(typing.TypedDict, total=False): aggregations: _list[Aggregation] structuredQuery: StructuredQuery @typing.type_check_only -class StructuredPipeline(typing_extensions.TypedDict, total=False): +class StructuredPipeline(typing.TypedDict, total=False): options: dict[str, typing.Any] pipeline: Pipeline -AlternativeStructuredQuery = typing_extensions.TypedDict( +AlternativeStructuredQuery = typing.TypedDict( "AlternativeStructuredQuery", { "endAt": Cursor, @@ -606,11 +570,11 @@ AlternativeStructuredQuery = typing_extensions.TypedDict( class StructuredQuery(AlternativeStructuredQuery): ... @typing.type_check_only -class Sum(typing_extensions.TypedDict, total=False): +class Sum(typing.TypedDict, total=False): field: FieldReference @typing.type_check_only -class Target(typing_extensions.TypedDict, total=False): +class Target(typing.TypedDict, total=False): documents: DocumentsTarget expectedCount: int once: bool @@ -620,29 +584,27 @@ class Target(typing_extensions.TypedDict, total=False): targetId: int @typing.type_check_only -class TargetChange(typing_extensions.TypedDict, total=False): +class TargetChange(typing.TypedDict, total=False): cause: Status readTime: str resumeToken: str - targetChangeType: typing_extensions.Literal[ - "NO_CHANGE", "ADD", "REMOVE", "CURRENT", "RESET" - ] + targetChangeType: typing.Literal["NO_CHANGE", "ADD", "REMOVE", "CURRENT", "RESET"] targetIds: _list[int] @typing.type_check_only -class TransactionOptions(typing_extensions.TypedDict, total=False): +class TransactionOptions(typing.TypedDict, total=False): readOnly: ReadOnly readWrite: ReadWrite @typing.type_check_only -class UnaryFilter(typing_extensions.TypedDict, total=False): +class UnaryFilter(typing.TypedDict, total=False): field: FieldReference - op: typing_extensions.Literal[ + op: typing.Literal[ "OPERATOR_UNSPECIFIED", "IS_NAN", "IS_NULL", "IS_NOT_NAN", "IS_NOT_NULL" ] @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): arrayValue: ArrayValue booleanValue: bool bytesValue: str @@ -652,7 +614,7 @@ class Value(typing_extensions.TypedDict, total=False): geoPointValue: LatLng integerValue: str mapValue: MapValue - nullValue: typing_extensions.Literal["NULL_VALUE"] + nullValue: typing.Literal["NULL_VALUE"] pipelineValue: Pipeline referenceValue: str stringValue: str @@ -660,7 +622,7 @@ class Value(typing_extensions.TypedDict, total=False): variableReferenceValue: str @typing.type_check_only -class Write(typing_extensions.TypedDict, total=False): +class Write(typing.TypedDict, total=False): currentDocument: Precondition delete: str transform: DocumentTransform @@ -669,20 +631,20 @@ class Write(typing_extensions.TypedDict, total=False): updateTransforms: _list[FieldTransform] @typing.type_check_only -class WriteRequest(typing_extensions.TypedDict, total=False): +class WriteRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] streamId: str streamToken: str writes: _list[Write] @typing.type_check_only -class WriteResponse(typing_extensions.TypedDict, total=False): +class WriteResponse(typing.TypedDict, total=False): commitTime: str streamId: str streamToken: str writeResults: _list[WriteResult] @typing.type_check_only -class WriteResult(typing_extensions.TypedDict, total=False): +class WriteResult(typing.TypedDict, total=False): transformResults: _list[Value] updateTime: str diff --git a/googleapiclient-stubs/_apis/firestore/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1beta2/resources.pyi index dbd103295..10e5a8749 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi index d378a598e..cd6ddcb6c 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta2/schemas.pyi @@ -1,20 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str namespaceIds: _list[str] - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -30,12 +26,10 @@ class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1CloneDatabaseMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1CloneDatabaseMetadata(typing.TypedDict, total=False): database: str endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -50,34 +44,28 @@ class GoogleFirestoreAdminV1CloneDatabaseMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1CreateDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1CreateDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1DeleteDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1DeleteDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1PitrSnapshot(typing.TypedDict, total=False): database: str databaseUid: str snapshotTime: str @typing.type_check_only -class GoogleFirestoreAdminV1Progress(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1Progress(typing.TypedDict, total=False): completedWork: str estimatedWork: str @typing.type_check_only -class GoogleFirestoreAdminV1RestoreDatabaseMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1RestoreDatabaseMetadata(typing.TypedDict, total=False): backup: str database: str endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -91,17 +79,13 @@ class GoogleFirestoreAdminV1RestoreDatabaseMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1UpdateDatabaseMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1UpdateDatabaseMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -117,34 +101,28 @@ class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2ExportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2ExportDocumentsRequest(typing.TypedDict, total=False): collectionIds: _list[str] outputUriPrefix: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2ExportDocumentsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2ExportDocumentsResponse(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2Field(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1beta2Field(typing.TypedDict, total=False): indexConfig: GoogleFirestoreAdminV1beta2IndexConfig name: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2FieldOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2FieldOperationMetadata(typing.TypedDict, total=False): bytesProgress: GoogleFirestoreAdminV1beta2Progress documentProgress: GoogleFirestoreAdminV1beta2Progress endTime: str field: str indexConfigDeltas: _list[GoogleFirestoreAdminV1beta2IndexConfigDelta] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -156,13 +134,11 @@ class GoogleFirestoreAdminV1beta2FieldOperationMetadata( ] @typing.type_check_only -class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata(typing.TypedDict, total=False): collectionIds: _list[str] endTime: str inputUriPrefix: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -177,53 +153,45 @@ class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata( startTime: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2ImportDocumentsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2ImportDocumentsRequest(typing.TypedDict, total=False): collectionIds: _list[str] inputUriPrefix: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2Index(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1beta2Index(typing.TypedDict, total=False): fields: _list[GoogleFirestoreAdminV1beta2IndexField] name: str - queryScope: typing_extensions.Literal[ + queryScope: typing.Literal[ "QUERY_SCOPE_UNSPECIFIED", "COLLECTION", "COLLECTION_GROUP" ] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "NEEDS_REPAIR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "NEEDS_REPAIR"] @typing.type_check_only -class GoogleFirestoreAdminV1beta2IndexConfig(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1beta2IndexConfig(typing.TypedDict, total=False): ancestorField: str indexes: _list[GoogleFirestoreAdminV1beta2Index] reverting: bool usesAncestorConfig: bool @typing.type_check_only -class GoogleFirestoreAdminV1beta2IndexConfigDelta( - typing_extensions.TypedDict, total=False -): - changeType: typing_extensions.Literal["CHANGE_TYPE_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleFirestoreAdminV1beta2IndexConfigDelta(typing.TypedDict, total=False): + changeType: typing.Literal["CHANGE_TYPE_UNSPECIFIED", "ADD", "REMOVE"] index: GoogleFirestoreAdminV1beta2Index @typing.type_check_only -class GoogleFirestoreAdminV1beta2IndexField(typing_extensions.TypedDict, total=False): - arrayConfig: typing_extensions.Literal["ARRAY_CONFIG_UNSPECIFIED", "CONTAINS"] +class GoogleFirestoreAdminV1beta2IndexField(typing.TypedDict, total=False): + arrayConfig: typing.Literal["ARRAY_CONFIG_UNSPECIFIED", "CONTAINS"] fieldPath: str - order: typing_extensions.Literal["ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] + order: typing.Literal["ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class GoogleFirestoreAdminV1beta2IndexOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2IndexOperationMetadata(typing.TypedDict, total=False): endTime: str index: str progressBytes: GoogleFirestoreAdminV1beta2Progress progressDocuments: GoogleFirestoreAdminV1beta2Progress startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -235,26 +203,22 @@ class GoogleFirestoreAdminV1beta2IndexOperationMetadata( ] @typing.type_check_only -class GoogleFirestoreAdminV1beta2ListFieldsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2ListFieldsResponse(typing.TypedDict, total=False): fields: _list[GoogleFirestoreAdminV1beta2Field] nextPageToken: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2ListIndexesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleFirestoreAdminV1beta2ListIndexesResponse(typing.TypedDict, total=False): indexes: _list[GoogleFirestoreAdminV1beta2Index] nextPageToken: str @typing.type_check_only -class GoogleFirestoreAdminV1beta2Progress(typing_extensions.TypedDict, total=False): +class GoogleFirestoreAdminV1beta2Progress(typing.TypedDict, total=False): completedWork: str estimatedWork: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -262,7 +226,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/fitness/v1/resources.pyi b/googleapiclient-stubs/_apis/fitness/v1/resources.pyi index cd7a9420f..956412ab1 100644 --- a/googleapiclient-stubs/_apis/fitness/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/fitness/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/fitness/v1/schemas.pyi b/googleapiclient-stubs/_apis/fitness/v1/schemas.pyi index 76043b04c..434c8a2f9 100644 --- a/googleapiclient-stubs/_apis/fitness/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/fitness/v1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AggregateBucket(typing_extensions.TypedDict, total=False): +class AggregateBucket(typing.TypedDict, total=False): activity: int dataset: _list[Dataset] endTimeMillis: str session: Session startTimeMillis: str - type: typing_extensions.Literal[ + type: typing.Literal[ "unknown", "time", "session", "activityType", "activitySegment" ] @typing.type_check_only -class AggregateBy(typing_extensions.TypedDict, total=False): +class AggregateBy(typing.TypedDict, total=False): dataSourceId: str dataTypeName: str @typing.type_check_only -class AggregateRequest(typing_extensions.TypedDict, total=False): +class AggregateRequest(typing.TypedDict, total=False): aggregateBy: _list[AggregateBy] bucketByActivitySegment: BucketByActivity bucketByActivityType: BucketByActivity @@ -29,7 +27,7 @@ class AggregateRequest(typing_extensions.TypedDict, total=False): bucketByTime: BucketByTime endTimeMillis: str filteredDataQualityStandard: _list[ - typing_extensions.Literal[ + typing.Literal[ "dataQualityUnknown", "dataQualityBloodPressureEsh2002", "dataQualityBloodPressureEsh2010", @@ -45,38 +43,38 @@ class AggregateRequest(typing_extensions.TypedDict, total=False): startTimeMillis: str @typing.type_check_only -class AggregateResponse(typing_extensions.TypedDict, total=False): +class AggregateResponse(typing.TypedDict, total=False): bucket: _list[AggregateBucket] @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): detailsUrl: str name: str packageName: str version: str @typing.type_check_only -class BucketByActivity(typing_extensions.TypedDict, total=False): +class BucketByActivity(typing.TypedDict, total=False): activityDataSourceId: str minDurationMillis: str @typing.type_check_only -class BucketBySession(typing_extensions.TypedDict, total=False): +class BucketBySession(typing.TypedDict, total=False): minDurationMillis: str @typing.type_check_only -class BucketByTime(typing_extensions.TypedDict, total=False): +class BucketByTime(typing.TypedDict, total=False): durationMillis: str period: BucketByTimePeriod @typing.type_check_only -class BucketByTimePeriod(typing_extensions.TypedDict, total=False): +class BucketByTimePeriod(typing.TypedDict, total=False): timeZoneId: str - type: typing_extensions.Literal["day", "week", "month"] + type: typing.Literal["day", "week", "month"] value: int @typing.type_check_only -class DataPoint(typing_extensions.TypedDict, total=False): +class DataPoint(typing.TypedDict, total=False): computationTimeMillis: str dataTypeName: str endTimeNanos: str @@ -87,10 +85,10 @@ class DataPoint(typing_extensions.TypedDict, total=False): value: _list[Value] @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): +class DataSource(typing.TypedDict, total=False): application: Application dataQualityStandard: _list[ - typing_extensions.Literal[ + typing.Literal[ "dataQualityUnknown", "dataQualityBloodPressureEsh2002", "dataQualityBloodPressureEsh2010", @@ -108,23 +106,23 @@ class DataSource(typing_extensions.TypedDict, total=False): dataType: DataType device: Device name: str - type: typing_extensions.Literal["raw", "derived"] + type: typing.Literal["raw", "derived"] @typing.type_check_only -class DataType(typing_extensions.TypedDict, total=False): +class DataType(typing.TypedDict, total=False): field: _list[DataTypeField] name: str @typing.type_check_only -class DataTypeField(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal[ +class DataTypeField(typing.TypedDict, total=False): + format: typing.Literal[ "integer", "floatPoint", "string", "map", "integerList", "floatList", "blob" ] name: str optional: bool @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): dataSourceId: str maxEndTimeNs: str minStartTimeNs: str @@ -132,10 +130,10 @@ class Dataset(typing_extensions.TypedDict, total=False): point: _list[DataPoint] @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): manufacturer: str model: str - type: typing_extensions.Literal[ + type: typing.Literal[ "unknown", "phone", "tablet", @@ -149,29 +147,29 @@ class Device(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class ListDataPointChangesResponse(typing_extensions.TypedDict, total=False): +class ListDataPointChangesResponse(typing.TypedDict, total=False): dataSourceId: str deletedDataPoint: _list[DataPoint] insertedDataPoint: _list[DataPoint] nextPageToken: str @typing.type_check_only -class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): +class ListDataSourcesResponse(typing.TypedDict, total=False): dataSource: _list[DataSource] @typing.type_check_only -class ListSessionsResponse(typing_extensions.TypedDict, total=False): +class ListSessionsResponse(typing.TypedDict, total=False): deletedSession: _list[Session] hasMoreData: bool nextPageToken: str session: _list[Session] @typing.type_check_only -class MapValue(typing_extensions.TypedDict, total=False): +class MapValue(typing.TypedDict, total=False): fpVal: float @typing.type_check_only -class Session(typing_extensions.TypedDict, total=False): +class Session(typing.TypedDict, total=False): activeTimeMillis: str activityType: int application: Application @@ -183,13 +181,13 @@ class Session(typing_extensions.TypedDict, total=False): startTimeMillis: str @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): fpVal: float intVal: int mapVal: _list[ValueMapValEntry] stringVal: str @typing.type_check_only -class ValueMapValEntry(typing_extensions.TypedDict, total=False): +class ValueMapValEntry(typing.TypedDict, total=False): key: str value: MapValue diff --git a/googleapiclient-stubs/_apis/forms/v1/resources.pyi b/googleapiclient-stubs/_apis/forms/v1/resources.pyi index 12c54a2cb..96be6b878 100644 --- a/googleapiclient-stubs/_apis/forms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/forms/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/forms/v1/schemas.pyi b/googleapiclient-stubs/_apis/forms/v1/schemas.pyi index 81b278f36..c0542749c 100644 --- a/googleapiclient-stubs/_apis/forms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/forms/v1/schemas.pyi @@ -1,102 +1,98 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Answer(typing_extensions.TypedDict, total=False): +class Answer(typing.TypedDict, total=False): fileUploadAnswers: FileUploadAnswers grade: Grade questionId: str textAnswers: TextAnswers @typing.type_check_only -class BatchUpdateFormRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateFormRequest(typing.TypedDict, total=False): includeFormInResponse: bool requests: _list[Request] writeControl: WriteControl @typing.type_check_only -class BatchUpdateFormResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateFormResponse(typing.TypedDict, total=False): form: Form replies: _list[Response] writeControl: WriteControl @typing.type_check_only -class ChoiceQuestion(typing_extensions.TypedDict, total=False): +class ChoiceQuestion(typing.TypedDict, total=False): options: _list[Option] shuffle: bool - type: typing_extensions.Literal[ - "CHOICE_TYPE_UNSPECIFIED", "RADIO", "CHECKBOX", "DROP_DOWN" - ] + type: typing.Literal["CHOICE_TYPE_UNSPECIFIED", "RADIO", "CHECKBOX", "DROP_DOWN"] @typing.type_check_only -class CloudPubsubTopic(typing_extensions.TypedDict, total=False): +class CloudPubsubTopic(typing.TypedDict, total=False): topicName: str @typing.type_check_only -class CorrectAnswer(typing_extensions.TypedDict, total=False): +class CorrectAnswer(typing.TypedDict, total=False): value: str @typing.type_check_only -class CorrectAnswers(typing_extensions.TypedDict, total=False): +class CorrectAnswers(typing.TypedDict, total=False): answers: _list[CorrectAnswer] @typing.type_check_only -class CreateItemRequest(typing_extensions.TypedDict, total=False): +class CreateItemRequest(typing.TypedDict, total=False): item: Item location: Location @typing.type_check_only -class CreateItemResponse(typing_extensions.TypedDict, total=False): +class CreateItemResponse(typing.TypedDict, total=False): itemId: str questionId: _list[str] @typing.type_check_only -class CreateWatchRequest(typing_extensions.TypedDict, total=False): +class CreateWatchRequest(typing.TypedDict, total=False): watch: Watch watchId: str @typing.type_check_only -class DateQuestion(typing_extensions.TypedDict, total=False): +class DateQuestion(typing.TypedDict, total=False): includeTime: bool includeYear: bool @typing.type_check_only -class DeleteItemRequest(typing_extensions.TypedDict, total=False): +class DeleteItemRequest(typing.TypedDict, total=False): location: Location @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExtraMaterial(typing_extensions.TypedDict, total=False): +class ExtraMaterial(typing.TypedDict, total=False): link: TextLink video: VideoLink @typing.type_check_only -class Feedback(typing_extensions.TypedDict, total=False): +class Feedback(typing.TypedDict, total=False): material: _list[ExtraMaterial] text: str @typing.type_check_only -class FileUploadAnswer(typing_extensions.TypedDict, total=False): +class FileUploadAnswer(typing.TypedDict, total=False): fileId: str fileName: str mimeType: str @typing.type_check_only -class FileUploadAnswers(typing_extensions.TypedDict, total=False): +class FileUploadAnswers(typing.TypedDict, total=False): answers: _list[FileUploadAnswer] @typing.type_check_only -class FileUploadQuestion(typing_extensions.TypedDict, total=False): +class FileUploadQuestion(typing.TypedDict, total=False): folderId: str maxFileSize: str maxFiles: int types: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "ANY", "DOCUMENT", @@ -111,7 +107,7 @@ class FileUploadQuestion(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Form(typing_extensions.TypedDict, total=False): +class Form(typing.TypedDict, total=False): formId: str info: Info items: _list[Item] @@ -122,7 +118,7 @@ class Form(typing_extensions.TypedDict, total=False): settings: FormSettings @typing.type_check_only -class FormResponse(typing_extensions.TypedDict, total=False): +class FormResponse(typing.TypedDict, total=False): answers: dict[str, typing.Any] createTime: str formId: str @@ -132,8 +128,8 @@ class FormResponse(typing_extensions.TypedDict, total=False): totalScore: float @typing.type_check_only -class FormSettings(typing_extensions.TypedDict, total=False): - emailCollectionType: typing_extensions.Literal[ +class FormSettings(typing.TypedDict, total=False): + emailCollectionType: typing.Literal[ "EMAIL_COLLECTION_TYPE_UNSPECIFIED", "DO_NOT_COLLECT", "VERIFIED", @@ -142,13 +138,13 @@ class FormSettings(typing_extensions.TypedDict, total=False): quizSettings: QuizSettings @typing.type_check_only -class Grade(typing_extensions.TypedDict, total=False): +class Grade(typing.TypedDict, total=False): correct: bool feedback: Feedback score: float @typing.type_check_only -class Grading(typing_extensions.TypedDict, total=False): +class Grading(typing.TypedDict, total=False): correctAnswers: CorrectAnswers generalFeedback: Feedback pointValue: int @@ -156,29 +152,29 @@ class Grading(typing_extensions.TypedDict, total=False): whenWrong: Feedback @typing.type_check_only -class Grid(typing_extensions.TypedDict, total=False): +class Grid(typing.TypedDict, total=False): columns: ChoiceQuestion shuffleQuestions: bool @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): altText: str contentUri: str properties: MediaProperties sourceUri: str @typing.type_check_only -class ImageItem(typing_extensions.TypedDict, total=False): +class ImageItem(typing.TypedDict, total=False): image: Image @typing.type_check_only -class Info(typing_extensions.TypedDict, total=False): +class Info(typing.TypedDict, total=False): description: str documentTitle: str title: str @typing.type_check_only -class Item(typing_extensions.TypedDict, total=False): +class Item(typing.TypedDict, total=False): description: str imageItem: ImageItem itemId: str @@ -190,33 +186,31 @@ class Item(typing_extensions.TypedDict, total=False): videoItem: VideoItem @typing.type_check_only -class ListFormResponsesResponse(typing_extensions.TypedDict, total=False): +class ListFormResponsesResponse(typing.TypedDict, total=False): nextPageToken: str responses: _list[FormResponse] @typing.type_check_only -class ListWatchesResponse(typing_extensions.TypedDict, total=False): +class ListWatchesResponse(typing.TypedDict, total=False): watches: _list[Watch] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): index: int @typing.type_check_only -class MediaProperties(typing_extensions.TypedDict, total=False): - alignment: typing_extensions.Literal[ - "ALIGNMENT_UNSPECIFIED", "LEFT", "RIGHT", "CENTER" - ] +class MediaProperties(typing.TypedDict, total=False): + alignment: typing.Literal["ALIGNMENT_UNSPECIFIED", "LEFT", "RIGHT", "CENTER"] width: int @typing.type_check_only -class MoveItemRequest(typing_extensions.TypedDict, total=False): +class MoveItemRequest(typing.TypedDict, total=False): newLocation: Location originalLocation: Location @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): - goToAction: typing_extensions.Literal[ +class Option(typing.TypedDict, total=False): + goToAction: typing.Literal[ "GO_TO_ACTION_UNSPECIFIED", "NEXT_SECTION", "RESTART_FORM", "SUBMIT_FORM" ] goToSectionId: str @@ -225,19 +219,19 @@ class Option(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class PageBreakItem(typing_extensions.TypedDict, total=False): ... +class PageBreakItem(typing.TypedDict, total=False): ... @typing.type_check_only -class PublishSettings(typing_extensions.TypedDict, total=False): +class PublishSettings(typing.TypedDict, total=False): publishState: PublishState @typing.type_check_only -class PublishState(typing_extensions.TypedDict, total=False): +class PublishState(typing.TypedDict, total=False): isAcceptingResponses: bool isPublished: bool @typing.type_check_only -class Question(typing_extensions.TypedDict, total=False): +class Question(typing.TypedDict, total=False): choiceQuestion: ChoiceQuestion dateQuestion: DateQuestion fileUploadQuestion: FileUploadQuestion @@ -251,32 +245,32 @@ class Question(typing_extensions.TypedDict, total=False): timeQuestion: TimeQuestion @typing.type_check_only -class QuestionGroupItem(typing_extensions.TypedDict, total=False): +class QuestionGroupItem(typing.TypedDict, total=False): grid: Grid image: Image questions: _list[Question] @typing.type_check_only -class QuestionItem(typing_extensions.TypedDict, total=False): +class QuestionItem(typing.TypedDict, total=False): image: Image question: Question @typing.type_check_only -class QuizSettings(typing_extensions.TypedDict, total=False): +class QuizSettings(typing.TypedDict, total=False): isQuiz: bool @typing.type_check_only -class RatingQuestion(typing_extensions.TypedDict, total=False): - iconType: typing_extensions.Literal[ +class RatingQuestion(typing.TypedDict, total=False): + iconType: typing.Literal[ "RATING_ICON_TYPE_UNSPECIFIED", "STAR", "HEART", "THUMB_UP" ] ratingScaleLevel: int @typing.type_check_only -class RenewWatchRequest(typing_extensions.TypedDict, total=False): ... +class RenewWatchRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Request(typing_extensions.TypedDict, total=False): +class Request(typing.TypedDict, total=False): createItem: CreateItemRequest deleteItem: DeleteItemRequest moveItem: MoveItemRequest @@ -285,107 +279,105 @@ class Request(typing_extensions.TypedDict, total=False): updateSettings: UpdateSettingsRequest @typing.type_check_only -class Response(typing_extensions.TypedDict, total=False): +class Response(typing.TypedDict, total=False): createItem: CreateItemResponse @typing.type_check_only -class RowQuestion(typing_extensions.TypedDict, total=False): +class RowQuestion(typing.TypedDict, total=False): title: str @typing.type_check_only -class ScaleQuestion(typing_extensions.TypedDict, total=False): +class ScaleQuestion(typing.TypedDict, total=False): high: int highLabel: str low: int lowLabel: str @typing.type_check_only -class SetPublishSettingsRequest(typing_extensions.TypedDict, total=False): +class SetPublishSettingsRequest(typing.TypedDict, total=False): publishSettings: PublishSettings updateMask: str @typing.type_check_only -class SetPublishSettingsResponse(typing_extensions.TypedDict, total=False): +class SetPublishSettingsResponse(typing.TypedDict, total=False): formId: str publishSettings: PublishSettings @typing.type_check_only -class TextAnswer(typing_extensions.TypedDict, total=False): +class TextAnswer(typing.TypedDict, total=False): value: str @typing.type_check_only -class TextAnswers(typing_extensions.TypedDict, total=False): +class TextAnswers(typing.TypedDict, total=False): answers: _list[TextAnswer] @typing.type_check_only -class TextItem(typing_extensions.TypedDict, total=False): ... +class TextItem(typing.TypedDict, total=False): ... @typing.type_check_only -class TextLink(typing_extensions.TypedDict, total=False): +class TextLink(typing.TypedDict, total=False): displayText: str uri: str @typing.type_check_only -class TextQuestion(typing_extensions.TypedDict, total=False): +class TextQuestion(typing.TypedDict, total=False): paragraph: bool @typing.type_check_only -class TimeQuestion(typing_extensions.TypedDict, total=False): +class TimeQuestion(typing.TypedDict, total=False): duration: bool @typing.type_check_only -class UpdateFormInfoRequest(typing_extensions.TypedDict, total=False): +class UpdateFormInfoRequest(typing.TypedDict, total=False): info: Info updateMask: str @typing.type_check_only -class UpdateItemRequest(typing_extensions.TypedDict, total=False): +class UpdateItemRequest(typing.TypedDict, total=False): item: Item location: Location updateMask: str @typing.type_check_only -class UpdateSettingsRequest(typing_extensions.TypedDict, total=False): +class UpdateSettingsRequest(typing.TypedDict, total=False): settings: FormSettings updateMask: str @typing.type_check_only -class Video(typing_extensions.TypedDict, total=False): +class Video(typing.TypedDict, total=False): properties: MediaProperties youtubeUri: str @typing.type_check_only -class VideoItem(typing_extensions.TypedDict, total=False): +class VideoItem(typing.TypedDict, total=False): caption: str video: Video @typing.type_check_only -class VideoLink(typing_extensions.TypedDict, total=False): +class VideoLink(typing.TypedDict, total=False): displayText: str youtubeUri: str @typing.type_check_only -class Watch(typing_extensions.TypedDict, total=False): +class Watch(typing.TypedDict, total=False): createTime: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "PROJECT_NOT_AUTHORIZED", "NO_USER_ACCESS", "OTHER_ERRORS", ] - eventType: typing_extensions.Literal[ - "EVENT_TYPE_UNSPECIFIED", "SCHEMA", "RESPONSES" - ] + eventType: typing.Literal["EVENT_TYPE_UNSPECIFIED", "SCHEMA", "RESPONSES"] expireTime: str id: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED"] target: WatchTarget @typing.type_check_only -class WatchTarget(typing_extensions.TypedDict, total=False): +class WatchTarget(typing.TypedDict, total=False): topic: CloudPubsubTopic @typing.type_check_only -class WriteControl(typing_extensions.TypedDict, total=False): +class WriteControl(typing.TypedDict, total=False): requiredRevisionId: str targetRevisionId: str diff --git a/googleapiclient-stubs/_apis/ftp/__init__.pyi b/googleapiclient-stubs/_apis/ftp/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/ftp/v1/__init__.pyi b/googleapiclient-stubs/_apis/ftp/v1/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/ftp/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/ftp/v1/resources.pyi b/googleapiclient-stubs/_apis/ftp/v1/resources.pyi new file mode 100644 index 000000000..9c4e485aa --- /dev/null +++ b/googleapiclient-stubs/_apis/ftp/v1/resources.pyi @@ -0,0 +1,277 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class CloudFTPResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOperationsResponseHttpRequest, + previous_response: ListOperationsResponse, + ) -> ListOperationsResponseHttpRequest | None: ... + + @typing.type_check_only + class ServersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class UsersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: User, + requestId: str | None = ..., + userId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + name: str, + view: typing.Literal[ + "USER_VIEW_UNSPECIFIED", "USER_VIEW_BASIC", "USER_VIEW_FULL" + ] + | None = ..., + **kwargs: typing.Any, + ) -> UserHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "USER_VIEW_UNSPECIFIED", "USER_VIEW_BASIC", "USER_VIEW_FULL" + ] + | None = ..., + **kwargs: typing.Any, + ) -> ListUsersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUsersResponseHttpRequest, + previous_response: ListUsersResponse, + ) -> ListUsersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: User, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Server, + requestId: str | None = ..., + serverId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, + *, + name: str, + view: typing.Literal[ + "SERVER_VIEW_UNSPECIFIED", + "SERVER_VIEW_BASIC", + "SERVER_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> ServerHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "SERVER_VIEW_UNSPECIFIED", + "SERVER_VIEW_BASIC", + "SERVER_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> ListServersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListServersResponseHttpRequest, + previous_response: ListServersResponse, + ) -> ListServersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Server, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def start( + self, *, name: str, body: StartServerRequest, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def stop( + self, *, name: str, body: StopServerRequest, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def users(self) -> UsersResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] | None = ..., + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + def servers(self) -> ServersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class EmptyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Empty: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationsResponse: ... + +@typing.type_check_only +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOperationsResponse: ... + +@typing.type_check_only +class ListServersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListServersResponse: ... + +@typing.type_check_only +class ListUsersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUsersResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... + +@typing.type_check_only +class ServerHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Server: ... + +@typing.type_check_only +class UserHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> User: ... diff --git a/googleapiclient-stubs/_apis/ftp/v1/schemas.pyi b/googleapiclient-stubs/_apis/ftp/v1/schemas.pyi new file mode 100644 index 000000000..aa2fa9bad --- /dev/null +++ b/googleapiclient-stubs/_apis/ftp/v1/schemas.pyi @@ -0,0 +1,153 @@ +import typing + +_list = list + +@typing.type_check_only +class AllowedConsumer(typing.TypedDict, total=False): + connectionLimit: str + project: str + +@typing.type_check_only +class CancelOperationRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class DeniedConsumer(typing.TypedDict, total=False): + project: str + +@typing.type_check_only +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ExternalServerConfig(typing.TypedDict, total=False): + allowedCidrBlocks: _list[str] + ipAddress: str + +@typing.type_check_only +class InternalServerConfig(typing.TypedDict, total=False): + consumerAcceptList: _list[AllowedConsumer] + consumerRejectList: _list[DeniedConsumer] + pscEndpoints: _list[PscEndpoint] + serviceAttachment: str + +@typing.type_check_only +class ListLocationsResponse(typing.TypedDict, total=False): + locations: _list[Location] + nextPageToken: str + +@typing.type_check_only +class ListOperationsResponse(typing.TypedDict, total=False): + nextPageToken: str + operations: _list[Operation] + unreachable: _list[str] + +@typing.type_check_only +class ListServersResponse(typing.TypedDict, total=False): + nextPageToken: str + servers: _list[Server] + unreachable: _list[str] + +@typing.type_check_only +class ListUsersResponse(typing.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + users: _list[User] + +@typing.type_check_only +class Location(typing.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class Operation(typing.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class PscEndpoint(typing.TypedDict, total=False): + endpoint: str + network: str + status: str + +@typing.type_check_only +class Server(typing.TypedDict, total=False): + accessType: typing.Literal["ACCESS_TYPE_UNSPECIFIED", "EXTERNAL", "INTERNAL"] + createTime: str + displayName: str + externalConfig: ExternalServerConfig + googleManagedServerCredential: ServerCredential + internalConfig: InternalServerConfig + labels: dict[str, typing.Any] + name: str + serviceAgent: str + state: typing.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "STARTING", + "ACTIVE", + "STOPPING", + "STOPPED", + "DELETING", + "ERROR", + "UPDATING", + ] + updateTime: str + +@typing.type_check_only +class ServerCredential(typing.TypedDict, total=False): + asymmetricAlgorithm: str + fingerprint: str + +@typing.type_check_only +class StartServerRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class Status(typing.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class StopServerRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class StorageDirectoryMapping(typing.TypedDict, total=False): + bucket: str + bucketPrefix: str + directory: str + permission: typing.Literal["PERMISSION_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] + +@typing.type_check_only +class User(typing.TypedDict, total=False): + createTime: str + customerServiceAccount: str + labels: dict[str, typing.Any] + name: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "ERROR", "UPDATING", "DELETING" + ] + storageDirectoryMappings: _list[StorageDirectoryMapping] + updateTime: str + userCredentials: _list[UserCredential] + username: str + +@typing.type_check_only +class UserCredential(typing.TypedDict, total=False): + credentialName: str + credentialType: typing.Literal["TYPE_UNSPECIFIED", "PUBLIC_KEY"] + sshPublicKeyBody: str diff --git a/googleapiclient-stubs/_apis/ftp/v1alpha/__init__.pyi b/googleapiclient-stubs/_apis/ftp/v1alpha/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/ftp/v1alpha/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/ftp/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/ftp/v1alpha/resources.pyi new file mode 100644 index 000000000..9c4e485aa --- /dev/null +++ b/googleapiclient-stubs/_apis/ftp/v1alpha/resources.pyi @@ -0,0 +1,277 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class CloudFTPResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOperationsResponseHttpRequest, + previous_response: ListOperationsResponse, + ) -> ListOperationsResponseHttpRequest | None: ... + + @typing.type_check_only + class ServersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class UsersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: User, + requestId: str | None = ..., + userId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + name: str, + view: typing.Literal[ + "USER_VIEW_UNSPECIFIED", "USER_VIEW_BASIC", "USER_VIEW_FULL" + ] + | None = ..., + **kwargs: typing.Any, + ) -> UserHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "USER_VIEW_UNSPECIFIED", "USER_VIEW_BASIC", "USER_VIEW_FULL" + ] + | None = ..., + **kwargs: typing.Any, + ) -> ListUsersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUsersResponseHttpRequest, + previous_response: ListUsersResponse, + ) -> ListUsersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: User, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: Server, + requestId: str | None = ..., + serverId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, + *, + name: str, + view: typing.Literal[ + "SERVER_VIEW_UNSPECIFIED", + "SERVER_VIEW_BASIC", + "SERVER_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> ServerHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + view: typing.Literal[ + "SERVER_VIEW_UNSPECIFIED", + "SERVER_VIEW_BASIC", + "SERVER_VIEW_FULL", + ] + | None = ..., + **kwargs: typing.Any, + ) -> ListServersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListServersResponseHttpRequest, + previous_response: ListServersResponse, + ) -> ListServersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Server, + requestId: str | None = ..., + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def start( + self, *, name: str, body: StartServerRequest, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def stop( + self, *, name: str, body: StopServerRequest, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def users(self) -> UsersResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] | None = ..., + filter: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + def servers(self) -> ServersResource: ... + + def locations(self) -> LocationsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class EmptyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Empty: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLocationsResponse: ... + +@typing.type_check_only +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOperationsResponse: ... + +@typing.type_check_only +class ListServersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListServersResponse: ... + +@typing.type_check_only +class ListUsersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUsersResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Location: ... + +@typing.type_check_only +class OperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Operation: ... + +@typing.type_check_only +class ServerHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Server: ... + +@typing.type_check_only +class UserHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> User: ... diff --git a/googleapiclient-stubs/_apis/ftp/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/ftp/v1alpha/schemas.pyi new file mode 100644 index 000000000..aa2fa9bad --- /dev/null +++ b/googleapiclient-stubs/_apis/ftp/v1alpha/schemas.pyi @@ -0,0 +1,153 @@ +import typing + +_list = list + +@typing.type_check_only +class AllowedConsumer(typing.TypedDict, total=False): + connectionLimit: str + project: str + +@typing.type_check_only +class CancelOperationRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class DeniedConsumer(typing.TypedDict, total=False): + project: str + +@typing.type_check_only +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class ExternalServerConfig(typing.TypedDict, total=False): + allowedCidrBlocks: _list[str] + ipAddress: str + +@typing.type_check_only +class InternalServerConfig(typing.TypedDict, total=False): + consumerAcceptList: _list[AllowedConsumer] + consumerRejectList: _list[DeniedConsumer] + pscEndpoints: _list[PscEndpoint] + serviceAttachment: str + +@typing.type_check_only +class ListLocationsResponse(typing.TypedDict, total=False): + locations: _list[Location] + nextPageToken: str + +@typing.type_check_only +class ListOperationsResponse(typing.TypedDict, total=False): + nextPageToken: str + operations: _list[Operation] + unreachable: _list[str] + +@typing.type_check_only +class ListServersResponse(typing.TypedDict, total=False): + nextPageToken: str + servers: _list[Server] + unreachable: _list[str] + +@typing.type_check_only +class ListUsersResponse(typing.TypedDict, total=False): + nextPageToken: str + unreachable: _list[str] + users: _list[User] + +@typing.type_check_only +class Location(typing.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class Operation(typing.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class PscEndpoint(typing.TypedDict, total=False): + endpoint: str + network: str + status: str + +@typing.type_check_only +class Server(typing.TypedDict, total=False): + accessType: typing.Literal["ACCESS_TYPE_UNSPECIFIED", "EXTERNAL", "INTERNAL"] + createTime: str + displayName: str + externalConfig: ExternalServerConfig + googleManagedServerCredential: ServerCredential + internalConfig: InternalServerConfig + labels: dict[str, typing.Any] + name: str + serviceAgent: str + state: typing.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "STARTING", + "ACTIVE", + "STOPPING", + "STOPPED", + "DELETING", + "ERROR", + "UPDATING", + ] + updateTime: str + +@typing.type_check_only +class ServerCredential(typing.TypedDict, total=False): + asymmetricAlgorithm: str + fingerprint: str + +@typing.type_check_only +class StartServerRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class Status(typing.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class StopServerRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class StorageDirectoryMapping(typing.TypedDict, total=False): + bucket: str + bucketPrefix: str + directory: str + permission: typing.Literal["PERMISSION_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] + +@typing.type_check_only +class User(typing.TypedDict, total=False): + createTime: str + customerServiceAccount: str + labels: dict[str, typing.Any] + name: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "ERROR", "UPDATING", "DELETING" + ] + storageDirectoryMappings: _list[StorageDirectoryMapping] + updateTime: str + userCredentials: _list[UserCredential] + username: str + +@typing.type_check_only +class UserCredential(typing.TypedDict, total=False): + credentialName: str + credentialType: typing.Literal["TYPE_UNSPECIFIED", "PUBLIC_KEY"] + sshPublicKeyBody: str diff --git a/googleapiclient-stubs/_apis/games/v1/resources.pyi b/googleapiclient-stubs/_apis/games/v1/resources.pyi index 92e766792..dbbffd9f6 100644 --- a/googleapiclient-stubs/_apis/games/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/games/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -64,8 +63,7 @@ class GamesResource(googleapiclient.discovery.Resource): language: str | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., - state: typing_extensions.Literal["ALL", "HIDDEN", "REVEALED", "UNLOCKED"] - | None = ..., + state: typing.Literal["ALL", "HIDDEN", "REVEALED", "UNLOCKED"] | None = ..., **kwargs: typing.Any, ) -> PlayerAchievementListResponseHttpRequest: ... def list_next( @@ -93,17 +91,14 @@ class GamesResource(googleapiclient.discovery.Resource): *, applicationId: str, language: str | None = ..., - platformType: typing_extensions.Literal["ANDROID", "IOS", "WEB_APP"] - | None = ..., + platformType: typing.Literal["ANDROID", "IOS", "WEB_APP"] | None = ..., **kwargs: typing.Any, ) -> ApplicationHttpRequest: ... def getEndPoint( self, *, applicationId: str | None = ..., - endPointType: typing_extensions.Literal[ - "PROFILE_CREATION", "PROFILE_SETTINGS" - ] + endPointType: typing.Literal["PROFILE_CREATION", "PROFILE_SETTINGS"] | None = ..., **kwargs: typing.Any, ) -> EndPointHttpRequest: ... @@ -180,7 +175,7 @@ class GamesResource(googleapiclient.discovery.Resource): self, *, playerId: str, - collection: typing_extensions.Literal["ALL"], + collection: typing.Literal["ALL"], language: str | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., @@ -192,6 +187,12 @@ class GamesResource(googleapiclient.discovery.Resource): previous_response: CategoryListResponse, ) -> CategoryListResponseHttpRequest | None: ... + @typing.type_check_only + class PlayerGameEventsResource(googleapiclient.discovery.Resource): + def batchRecordEvents( + self, *, playerId: str, body: BatchRecordEventsRequest, **kwargs: typing.Any + ) -> BatchRecordEventsResponseHttpRequest: ... + @typing.type_check_only class PlayersResource(googleapiclient.discovery.Resource): def get( @@ -211,9 +212,7 @@ class GamesResource(googleapiclient.discovery.Resource): def list( self, *, - collection: typing_extensions.Literal[ - "CONNECTED", "VISIBLE", "FRIENDS_ALL" - ], + collection: typing.Literal["CONNECTED", "VISIBLE", "FRIENDS_ALL"], language: str | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., @@ -263,10 +262,8 @@ class GamesResource(googleapiclient.discovery.Resource): *, playerId: str, leaderboardId: str, - timeSpan: typing_extensions.Literal["ALL", "ALL_TIME", "WEEKLY", "DAILY"], - includeRankType: typing_extensions.Literal[ - "ALL", "PUBLIC", "SOCIAL", "FRIENDS" - ] + timeSpan: typing.Literal["ALL", "ALL_TIME", "WEEKLY", "DAILY"], + includeRankType: typing.Literal["ALL", "PUBLIC", "SOCIAL", "FRIENDS"] | None = ..., language: str | None = ..., maxResults: int | None = ..., @@ -282,8 +279,8 @@ class GamesResource(googleapiclient.discovery.Resource): self, *, leaderboardId: str, - collection: typing_extensions.Literal["PUBLIC", "SOCIAL", "FRIENDS"], - timeSpan: typing_extensions.Literal["ALL_TIME", "WEEKLY", "DAILY"], + collection: typing.Literal["PUBLIC", "SOCIAL", "FRIENDS"], + timeSpan: typing.Literal["ALL_TIME", "WEEKLY", "DAILY"], language: str | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., @@ -298,8 +295,8 @@ class GamesResource(googleapiclient.discovery.Resource): self, *, leaderboardId: str, - collection: typing_extensions.Literal["PUBLIC", "SOCIAL", "FRIENDS"], - timeSpan: typing_extensions.Literal["ALL_TIME", "WEEKLY", "DAILY"], + collection: typing.Literal["PUBLIC", "SOCIAL", "FRIENDS"], + timeSpan: typing.Literal["ALL_TIME", "WEEKLY", "DAILY"], language: str | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., @@ -372,6 +369,7 @@ class GamesResource(googleapiclient.discovery.Resource): def events(self) -> EventsResource: ... def leaderboards(self) -> LeaderboardsResource: ... def metagame(self) -> MetagameResource: ... + def playerGameEvents(self) -> PlayerGameEventsResource: ... def players(self) -> PlayersResource: ... def recall(self) -> RecallResource: ... def revisions(self) -> RevisionsResource: ... @@ -443,6 +441,14 @@ class ApplicationVerifyResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ApplicationVerifyResponse: ... +@typing.type_check_only +class BatchRecordEventsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchRecordEventsResponse: ... + @typing.type_check_only class CategoryListResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/games/v1/schemas.pyi b/googleapiclient-stubs/_apis/games/v1/schemas.pyi index 96e1f8ef1..1555fc5bb 100644 --- a/googleapiclient-stubs/_apis/games/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/games/v1/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AchievementDefinition(typing_extensions.TypedDict, total=False): - achievementLifecycleState: typing_extensions.Literal[ +class AchievementDefinition(typing.TypedDict, total=False): + achievementLifecycleState: typing.Literal[ "ACHIEVEMENT_LIFECYCLE_STATE_UNSPECIFIED", "ACHIEVEMENT_LIFECYCLE_STATE_ACTIVE", "ACHIEVEMENT_LIFECYCLE_STATE_ARCHIVED", ] - achievementType: typing_extensions.Literal["STANDARD", "INCREMENTAL"] + achievementType: typing.Literal["STANDARD", "INCREMENTAL"] description: str experiencePoints: str formattedTotalSteps: str id: str - initialState: typing_extensions.Literal["HIDDEN", "REVEALED", "UNLOCKED"] + initialState: typing.Literal["HIDDEN", "REVEALED", "UNLOCKED"] isRevealedIconUrlDefault: bool isUnlockedIconUrlDefault: bool kind: str @@ -26,70 +24,68 @@ class AchievementDefinition(typing_extensions.TypedDict, total=False): unlockedIconUrl: str @typing.type_check_only -class AchievementDefinitionsListResponse(typing_extensions.TypedDict, total=False): +class AchievementDefinitionsListResponse(typing.TypedDict, total=False): items: _list[AchievementDefinition] kind: str nextPageToken: str @typing.type_check_only -class AchievementIncrementResponse(typing_extensions.TypedDict, total=False): +class AchievementIncrementResponse(typing.TypedDict, total=False): currentSteps: int kind: str newlyUnlocked: bool @typing.type_check_only -class AchievementRevealResponse(typing_extensions.TypedDict, total=False): - currentState: typing_extensions.Literal["REVEALED", "UNLOCKED"] +class AchievementRevealResponse(typing.TypedDict, total=False): + currentState: typing.Literal["REVEALED", "UNLOCKED"] kind: str @typing.type_check_only -class AchievementSetStepsAtLeastResponse(typing_extensions.TypedDict, total=False): +class AchievementSetStepsAtLeastResponse(typing.TypedDict, total=False): currentSteps: int kind: str newlyUnlocked: bool @typing.type_check_only -class AchievementUnlockResponse(typing_extensions.TypedDict, total=False): +class AchievementUnlockResponse(typing.TypedDict, total=False): kind: str newlyUnlocked: bool @typing.type_check_only -class AchievementUpdateMultipleRequest(typing_extensions.TypedDict, total=False): +class AchievementUpdateMultipleRequest(typing.TypedDict, total=False): kind: str updates: _list[AchievementUpdateRequest] @typing.type_check_only -class AchievementUpdateMultipleResponse(typing_extensions.TypedDict, total=False): +class AchievementUpdateMultipleResponse(typing.TypedDict, total=False): kind: str updatedAchievements: _list[AchievementUpdateResponse] @typing.type_check_only -class AchievementUpdateRequest(typing_extensions.TypedDict, total=False): +class AchievementUpdateRequest(typing.TypedDict, total=False): achievementId: str incrementPayload: GamesAchievementIncrement kind: str setStepsAtLeastPayload: GamesAchievementSetStepsAtLeast - updateType: typing_extensions.Literal[ - "REVEAL", "UNLOCK", "INCREMENT", "SET_STEPS_AT_LEAST" - ] + updateType: typing.Literal["REVEAL", "UNLOCK", "INCREMENT", "SET_STEPS_AT_LEAST"] @typing.type_check_only -class AchievementUpdateResponse(typing_extensions.TypedDict, total=False): +class AchievementUpdateResponse(typing.TypedDict, total=False): achievementId: str - currentState: typing_extensions.Literal["HIDDEN", "REVEALED", "UNLOCKED"] + currentState: typing.Literal["HIDDEN", "REVEALED", "UNLOCKED"] currentSteps: int kind: str newlyUnlocked: bool updateOccurred: bool @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): achievement_count: int assets: _list[ImageAsset] author: str category: ApplicationCategory description: str - enabledFeatures: _list[typing_extensions.Literal["SNAPSHOTS"]] + enabledFeatures: _list[typing.Literal["SNAPSHOTS"]] id: str instances: _list[Instance] kind: str @@ -99,41 +95,53 @@ class Application(typing_extensions.TypedDict, total=False): themeColor: str @typing.type_check_only -class ApplicationCategory(typing_extensions.TypedDict, total=False): +class ApplicationCategory(typing.TypedDict, total=False): kind: str primary: str secondary: str @typing.type_check_only -class ApplicationPlayerId(typing_extensions.TypedDict, total=False): +class ApplicationPlayerId(typing.TypedDict, total=False): applicationId: str playerId: str @typing.type_check_only -class ApplicationVerifyResponse(typing_extensions.TypedDict, total=False): +class ApplicationVerifyResponse(typing.TypedDict, total=False): alternate_player_id: str kind: str player_id: str @typing.type_check_only -class Category(typing_extensions.TypedDict, total=False): +class BatchRecordEventsRequest(typing.TypedDict, total=False): + droidGuardBlob: str + events: _list[PlayerGameEvent] + packageName: str + requestTime: str + salt: str + +@typing.type_check_only +class BatchRecordEventsResponse(typing.TypedDict, total=False): + failedRequests: dict[str, typing.Any] + +@typing.type_check_only +class Category(typing.TypedDict, total=False): category: str experiencePoints: str kind: str @typing.type_check_only -class CategoryListResponse(typing_extensions.TypedDict, total=False): +class CategoryListResponse(typing.TypedDict, total=False): items: _list[Category] kind: str nextPageToken: str @typing.type_check_only -class EndPoint(typing_extensions.TypedDict, total=False): +class EndPoint(typing.TypedDict, total=False): url: str @typing.type_check_only -class EventBatchRecordFailure(typing_extensions.TypedDict, total=False): - failureCause: typing_extensions.Literal[ +class EventBatchRecordFailure(typing.TypedDict, total=False): + failureCause: typing.Literal[ "TOO_LARGE", "TIME_PERIOD_EXPIRED", "TIME_PERIOD_SHORT", @@ -145,12 +153,12 @@ class EventBatchRecordFailure(typing_extensions.TypedDict, total=False): range: EventPeriodRange @typing.type_check_only -class EventChild(typing_extensions.TypedDict, total=False): +class EventChild(typing.TypedDict, total=False): childId: str kind: str @typing.type_check_only -class EventDefinition(typing_extensions.TypedDict, total=False): +class EventDefinition(typing.TypedDict, total=False): childEvents: _list[EventChild] description: str displayName: str @@ -158,84 +166,82 @@ class EventDefinition(typing_extensions.TypedDict, total=False): imageUrl: str isDefaultImageUrl: bool kind: str - visibility: typing_extensions.Literal["REVEALED", "HIDDEN"] + visibility: typing.Literal["REVEALED", "HIDDEN"] @typing.type_check_only -class EventDefinitionListResponse(typing_extensions.TypedDict, total=False): +class EventDefinitionListResponse(typing.TypedDict, total=False): items: _list[EventDefinition] kind: str nextPageToken: str @typing.type_check_only -class EventPeriodRange(typing_extensions.TypedDict, total=False): +class EventPeriodRange(typing.TypedDict, total=False): kind: str periodEndMillis: str periodStartMillis: str @typing.type_check_only -class EventPeriodUpdate(typing_extensions.TypedDict, total=False): +class EventPeriodUpdate(typing.TypedDict, total=False): kind: str timePeriod: EventPeriodRange updates: _list[EventUpdateRequest] @typing.type_check_only -class EventRecordFailure(typing_extensions.TypedDict, total=False): +class EventRecordFailure(typing.TypedDict, total=False): eventId: str - failureCause: typing_extensions.Literal["NOT_FOUND", "INVALID_UPDATE_VALUE"] + failureCause: typing.Literal["NOT_FOUND", "INVALID_UPDATE_VALUE"] kind: str @typing.type_check_only -class EventRecordRequest(typing_extensions.TypedDict, total=False): +class EventRecordRequest(typing.TypedDict, total=False): currentTimeMillis: str kind: str requestId: str timePeriods: _list[EventPeriodUpdate] @typing.type_check_only -class EventUpdateRequest(typing_extensions.TypedDict, total=False): +class EventUpdateRequest(typing.TypedDict, total=False): definitionId: str kind: str updateCount: str @typing.type_check_only -class EventUpdateResponse(typing_extensions.TypedDict, total=False): +class EventUpdateResponse(typing.TypedDict, total=False): batchFailures: _list[EventBatchRecordFailure] eventFailures: _list[EventRecordFailure] kind: str playerEvents: _list[PlayerEvent] @typing.type_check_only -class GamePlayerToken(typing_extensions.TypedDict, total=False): +class GamePlayerToken(typing.TypedDict, total=False): applicationId: str recallToken: RecallToken @typing.type_check_only -class GamesAchievementIncrement(typing_extensions.TypedDict, total=False): +class GamesAchievementIncrement(typing.TypedDict, total=False): kind: str requestId: str steps: int @typing.type_check_only -class GamesAchievementSetStepsAtLeast(typing_extensions.TypedDict, total=False): +class GamesAchievementSetStepsAtLeast(typing.TypedDict, total=False): kind: str steps: int @typing.type_check_only -class GeneratePlayGroupingApiTokenResponse(typing_extensions.TypedDict, total=False): +class GeneratePlayGroupingApiTokenResponse(typing.TypedDict, total=False): token: PlayGroupingApiToken @typing.type_check_only -class GenerateRecallPlayGroupingApiTokenResponse( - typing_extensions.TypedDict, total=False -): +class GenerateRecallPlayGroupingApiTokenResponse(typing.TypedDict, total=False): token: PlayGroupingApiToken @typing.type_check_only -class GetMultipleApplicationPlayerIdsResponse(typing_extensions.TypedDict, total=False): +class GetMultipleApplicationPlayerIdsResponse(typing.TypedDict, total=False): playerIds: _list[ApplicationPlayerId] @typing.type_check_only -class ImageAsset(typing_extensions.TypedDict, total=False): +class ImageAsset(typing.TypedDict, total=False): height: int kind: str name: str @@ -243,26 +249,26 @@ class ImageAsset(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): acquisitionUri: str androidInstance: InstanceAndroidDetails iosInstance: InstanceIosDetails kind: str name: str - platformType: typing_extensions.Literal["ANDROID", "IOS", "WEB_APP"] + platformType: typing.Literal["ANDROID", "IOS", "WEB_APP"] realtimePlay: bool turnBasedPlay: bool webInstance: InstanceWebDetails @typing.type_check_only -class InstanceAndroidDetails(typing_extensions.TypedDict, total=False): +class InstanceAndroidDetails(typing.TypedDict, total=False): enablePiracyCheck: bool kind: str packageName: str preferred: bool @typing.type_check_only -class InstanceIosDetails(typing_extensions.TypedDict, total=False): +class InstanceIosDetails(typing.TypedDict, total=False): bundleIdentifier: str itunesAppId: str kind: str @@ -272,22 +278,22 @@ class InstanceIosDetails(typing_extensions.TypedDict, total=False): supportIphone: bool @typing.type_check_only -class InstanceWebDetails(typing_extensions.TypedDict, total=False): +class InstanceWebDetails(typing.TypedDict, total=False): kind: str launchUrl: str preferred: bool @typing.type_check_only -class Leaderboard(typing_extensions.TypedDict, total=False): +class Leaderboard(typing.TypedDict, total=False): iconUrl: str id: str isIconUrlDefault: bool kind: str name: str - order: typing_extensions.Literal["LARGER_IS_BETTER", "SMALLER_IS_BETTER"] + order: typing.Literal["LARGER_IS_BETTER", "SMALLER_IS_BETTER"] @typing.type_check_only -class LeaderboardEntry(typing_extensions.TypedDict, total=False): +class LeaderboardEntry(typing.TypedDict, total=False): formattedScore: str formattedScoreRank: str kind: str @@ -295,17 +301,17 @@ class LeaderboardEntry(typing_extensions.TypedDict, total=False): scoreRank: str scoreTag: str scoreValue: str - timeSpan: typing_extensions.Literal["ALL_TIME", "WEEKLY", "DAILY"] + timeSpan: typing.Literal["ALL_TIME", "WEEKLY", "DAILY"] writeTimestampMillis: str @typing.type_check_only -class LeaderboardListResponse(typing_extensions.TypedDict, total=False): +class LeaderboardListResponse(typing.TypedDict, total=False): items: _list[Leaderboard] kind: str nextPageToken: str @typing.type_check_only -class LeaderboardScoreRank(typing_extensions.TypedDict, total=False): +class LeaderboardScoreRank(typing.TypedDict, total=False): formattedNumScores: str formattedRank: str kind: str @@ -313,7 +319,7 @@ class LeaderboardScoreRank(typing_extensions.TypedDict, total=False): rank: str @typing.type_check_only -class LeaderboardScores(typing_extensions.TypedDict, total=False): +class LeaderboardScores(typing.TypedDict, total=False): items: _list[LeaderboardEntry] kind: str nextPageToken: str @@ -322,9 +328,9 @@ class LeaderboardScores(typing_extensions.TypedDict, total=False): prevPageToken: str @typing.type_check_only -class LinkPersonaRequest(typing_extensions.TypedDict, total=False): - cardinalityConstraint: typing_extensions.Literal["ONE_PERSONA_TO_ONE_PLAYER"] - conflictingLinksResolutionPolicy: typing_extensions.Literal[ +class LinkPersonaRequest(typing.TypedDict, total=False): + cardinalityConstraint: typing.Literal["ONE_PERSONA_TO_ONE_PLAYER"] + conflictingLinksResolutionPolicy: typing.Literal[ "KEEP_EXISTING_LINKS", "CREATE_NEW_LINK" ] expireTime: str @@ -334,27 +340,27 @@ class LinkPersonaRequest(typing_extensions.TypedDict, total=False): ttl: str @typing.type_check_only -class LinkPersonaResponse(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal["LINK_CREATED", "PERSONA_OR_PLAYER_ALREADY_LINKED"] +class LinkPersonaResponse(typing.TypedDict, total=False): + state: typing.Literal["LINK_CREATED", "PERSONA_OR_PLAYER_ALREADY_LINKED"] @typing.type_check_only -class MetagameConfig(typing_extensions.TypedDict, total=False): +class MetagameConfig(typing.TypedDict, total=False): currentVersion: int kind: str playerLevels: _list[PlayerLevel] @typing.type_check_only -class PlayGroupingApiToken(typing_extensions.TypedDict, total=False): +class PlayGroupingApiToken(typing.TypedDict, total=False): tokenValue: str @typing.type_check_only -class Player(typing_extensions.TypedDict, total=False): +class Player(typing.TypedDict, total=False): avatarImageUrl: str bannerUrlLandscape: str bannerUrlPortrait: str displayName: str experienceInfo: PlayerExperienceInfo - friendStatus: typing_extensions.Literal["NO_RELATIONSHIP", "FRIEND"] + friendStatus: typing.Literal["NO_RELATIONSHIP", "FRIEND"] gamePlayerId: str kind: str name: dict[str, typing.Any] @@ -364,8 +370,8 @@ class Player(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PlayerAchievement(typing_extensions.TypedDict, total=False): - achievementState: typing_extensions.Literal["HIDDEN", "REVEALED", "UNLOCKED"] +class PlayerAchievement(typing.TypedDict, total=False): + achievementState: typing.Literal["HIDDEN", "REVEALED", "UNLOCKED"] currentSteps: int experiencePoints: str formattedCurrentStepsString: str @@ -374,13 +380,13 @@ class PlayerAchievement(typing_extensions.TypedDict, total=False): lastUpdatedTimestamp: str @typing.type_check_only -class PlayerAchievementListResponse(typing_extensions.TypedDict, total=False): +class PlayerAchievementListResponse(typing.TypedDict, total=False): items: _list[PlayerAchievement] kind: str nextPageToken: str @typing.type_check_only -class PlayerEvent(typing_extensions.TypedDict, total=False): +class PlayerEvent(typing.TypedDict, total=False): definitionId: str formattedNumEvents: str kind: str @@ -388,13 +394,13 @@ class PlayerEvent(typing_extensions.TypedDict, total=False): playerId: str @typing.type_check_only -class PlayerEventListResponse(typing_extensions.TypedDict, total=False): +class PlayerEventListResponse(typing.TypedDict, total=False): items: _list[PlayerEvent] kind: str nextPageToken: str @typing.type_check_only -class PlayerExperienceInfo(typing_extensions.TypedDict, total=False): +class PlayerExperienceInfo(typing.TypedDict, total=False): currentExperiencePoints: str currentLevel: PlayerLevel kind: str @@ -402,7 +408,14 @@ class PlayerExperienceInfo(typing_extensions.TypedDict, total=False): nextLevel: PlayerLevel @typing.type_check_only -class PlayerLeaderboardScore(typing_extensions.TypedDict, total=False): +class PlayerGameEvent(typing.TypedDict, total=False): + eventId: str + eventName: str + eventProperties: dict[str, typing.Any] + eventTime: str + +@typing.type_check_only +class PlayerLeaderboardScore(typing.TypedDict, total=False): friendsRank: LeaderboardScoreRank kind: str leaderboard_id: str @@ -411,47 +424,45 @@ class PlayerLeaderboardScore(typing_extensions.TypedDict, total=False): scoreTag: str scoreValue: str socialRank: LeaderboardScoreRank - timeSpan: typing_extensions.Literal["ALL_TIME", "WEEKLY", "DAILY"] + timeSpan: typing.Literal["ALL_TIME", "WEEKLY", "DAILY"] writeTimestamp: str @typing.type_check_only -class PlayerLeaderboardScoreListResponse(typing_extensions.TypedDict, total=False): +class PlayerLeaderboardScoreListResponse(typing.TypedDict, total=False): items: _list[PlayerLeaderboardScore] kind: str nextPageToken: str player: Player @typing.type_check_only -class PlayerLevel(typing_extensions.TypedDict, total=False): +class PlayerLevel(typing.TypedDict, total=False): kind: str level: int maxExperiencePoints: str minExperiencePoints: str @typing.type_check_only -class PlayerListResponse(typing_extensions.TypedDict, total=False): +class PlayerListResponse(typing.TypedDict, total=False): items: _list[Player] kind: str nextPageToken: str @typing.type_check_only -class PlayerScore(typing_extensions.TypedDict, total=False): +class PlayerScore(typing.TypedDict, total=False): formattedScore: str kind: str score: str scoreTag: str - timeSpan: typing_extensions.Literal["ALL_TIME", "WEEKLY", "DAILY"] + timeSpan: typing.Literal["ALL_TIME", "WEEKLY", "DAILY"] @typing.type_check_only -class PlayerScoreListResponse(typing_extensions.TypedDict, total=False): +class PlayerScoreListResponse(typing.TypedDict, total=False): kind: str submittedScores: _list[PlayerScoreResponse] @typing.type_check_only -class PlayerScoreResponse(typing_extensions.TypedDict, total=False): - beatenScoreTimeSpans: _list[ - typing_extensions.Literal["ALL_TIME", "WEEKLY", "DAILY"] - ] +class PlayerScoreResponse(typing.TypedDict, total=False): + beatenScoreTimeSpans: _list[typing.Literal["ALL_TIME", "WEEKLY", "DAILY"]] formattedScore: str kind: str leaderboardId: str @@ -459,59 +470,64 @@ class PlayerScoreResponse(typing_extensions.TypedDict, total=False): unbeatenScores: _list[PlayerScore] @typing.type_check_only -class PlayerScoreSubmissionList(typing_extensions.TypedDict, total=False): +class PlayerScoreSubmissionList(typing.TypedDict, total=False): kind: str scores: _list[ScoreSubmission] @typing.type_check_only -class ProfileSettings(typing_extensions.TypedDict, total=False): - friendsListVisibility: typing_extensions.Literal[ - "VISIBLE", "REQUEST_REQUIRED", "UNAVAILABLE" - ] +class ProfileSettings(typing.TypedDict, total=False): + friendsListVisibility: typing.Literal["VISIBLE", "REQUEST_REQUIRED", "UNAVAILABLE"] kind: str profileVisible: bool @typing.type_check_only -class RecallToken(typing_extensions.TypedDict, total=False): +class PropertyValue(typing.TypedDict, total=False): + boolValue: bool + doubleValue: float + durationValue: str + intValue: str + stringValue: str + timestampValue: str + +@typing.type_check_only +class RecallToken(typing.TypedDict, total=False): expireTime: str multiPlayerPersona: bool token: str @typing.type_check_only -class ResetPersonaRequest(typing_extensions.TypedDict, total=False): +class ResetPersonaRequest(typing.TypedDict, total=False): persona: str @typing.type_check_only -class ResetPersonaResponse(typing_extensions.TypedDict, total=False): +class ResetPersonaResponse(typing.TypedDict, total=False): unlinked: bool @typing.type_check_only -class RetrieveDeveloperGamesLastPlayerTokenResponse( - typing_extensions.TypedDict, total=False -): +class RetrieveDeveloperGamesLastPlayerTokenResponse(typing.TypedDict, total=False): gamePlayerToken: GamePlayerToken @typing.type_check_only -class RetrieveGamesPlayerTokensResponse(typing_extensions.TypedDict, total=False): +class RetrieveGamesPlayerTokensResponse(typing.TypedDict, total=False): gamePlayerTokens: _list[GamePlayerToken] @typing.type_check_only -class RetrievePlayerTokensResponse(typing_extensions.TypedDict, total=False): +class RetrievePlayerTokensResponse(typing.TypedDict, total=False): tokens: _list[RecallToken] @typing.type_check_only -class RevisionCheckResponse(typing_extensions.TypedDict, total=False): +class RevisionCheckResponse(typing.TypedDict, total=False): apiVersion: str kind: str - revisionStatus: typing_extensions.Literal["OK", "DEPRECATED", "INVALID"] + revisionStatus: typing.Literal["OK", "DEPRECATED", "INVALID"] @typing.type_check_only -class ScopedPlayerIds(typing_extensions.TypedDict, total=False): +class ScopedPlayerIds(typing.TypedDict, total=False): developerPlayerKey: str gamePlayerId: str @typing.type_check_only -class ScoreSubmission(typing_extensions.TypedDict, total=False): +class ScoreSubmission(typing.TypedDict, total=False): kind: str leaderboardId: str score: str @@ -519,7 +535,7 @@ class ScoreSubmission(typing_extensions.TypedDict, total=False): signature: str @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): coverImage: SnapshotImage description: str driveId: str @@ -529,11 +545,11 @@ class Snapshot(typing_extensions.TypedDict, total=False): lastModifiedMillis: str progressValue: str title: str - type: typing_extensions.Literal["SAVE_GAME"] + type: typing.Literal["SAVE_GAME"] uniqueName: str @typing.type_check_only -class SnapshotImage(typing_extensions.TypedDict, total=False): +class SnapshotImage(typing.TypedDict, total=False): height: int kind: str mime_type: str @@ -541,13 +557,13 @@ class SnapshotImage(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class SnapshotListResponse(typing_extensions.TypedDict, total=False): +class SnapshotListResponse(typing.TypedDict, total=False): items: _list[Snapshot] kind: str nextPageToken: str @typing.type_check_only -class StatsResponse(typing_extensions.TypedDict, total=False): +class StatsResponse(typing.TypedDict, total=False): avg_session_length_minutes: float churn_probability: float days_since_last_played: int @@ -561,11 +577,17 @@ class StatsResponse(typing_extensions.TypedDict, total=False): total_spend_next_28_days: float @typing.type_check_only -class UnlinkPersonaRequest(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class UnlinkPersonaRequest(typing.TypedDict, total=False): persona: str sessionId: str token: str @typing.type_check_only -class UnlinkPersonaResponse(typing_extensions.TypedDict, total=False): +class UnlinkPersonaResponse(typing.TypedDict, total=False): unlinked: bool diff --git a/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/resources.pyi b/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/resources.pyi index 3353a7e81..fabc9d3aa 100644 --- a/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/resources.pyi +++ b/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/schemas.pyi b/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/schemas.pyi index b313b0da6..4d7eb5e70 100644 --- a/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/schemas.pyi +++ b/googleapiclient-stubs/_apis/gamesConfiguration/v1configuration/schemas.pyi @@ -1,26 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AchievementConfiguration(typing_extensions.TypedDict, total=False): - achievementType: typing_extensions.Literal[ +class AchievementConfiguration(typing.TypedDict, total=False): + achievementType: typing.Literal[ "ACHIEVEMENT_TYPE_UNSPECIFIED", "STANDARD", "INCREMENTAL" ] draft: AchievementConfigurationDetail id: str - initialState: typing_extensions.Literal[ - "INITIAL_STATE_UNSPECIFIED", "HIDDEN", "REVEALED" - ] + initialState: typing.Literal["INITIAL_STATE_UNSPECIFIED", "HIDDEN", "REVEALED"] kind: str published: AchievementConfigurationDetail stepsToUnlock: int token: str @typing.type_check_only -class AchievementConfigurationDetail(typing_extensions.TypedDict, total=False): +class AchievementConfigurationDetail(typing.TypedDict, total=False): description: LocalizedStringBundle iconUrl: str kind: str @@ -29,13 +25,13 @@ class AchievementConfigurationDetail(typing_extensions.TypedDict, total=False): sortRank: int @typing.type_check_only -class AchievementConfigurationListResponse(typing_extensions.TypedDict, total=False): +class AchievementConfigurationListResponse(typing.TypedDict, total=False): items: _list[AchievementConfiguration] kind: str nextPageToken: str @typing.type_check_only -class GamesNumberAffixConfiguration(typing_extensions.TypedDict, total=False): +class GamesNumberAffixConfiguration(typing.TypedDict, total=False): few: LocalizedStringBundle many: LocalizedStringBundle one: LocalizedStringBundle @@ -44,29 +40,29 @@ class GamesNumberAffixConfiguration(typing_extensions.TypedDict, total=False): zero: LocalizedStringBundle @typing.type_check_only -class GamesNumberFormatConfiguration(typing_extensions.TypedDict, total=False): +class GamesNumberFormatConfiguration(typing.TypedDict, total=False): currencyCode: str numDecimalPlaces: int - numberFormatType: typing_extensions.Literal[ + numberFormatType: typing.Literal[ "NUMBER_FORMAT_TYPE_UNSPECIFIED", "NUMERIC", "TIME_DURATION", "CURRENCY" ] suffix: GamesNumberAffixConfiguration @typing.type_check_only -class LeaderboardConfiguration(typing_extensions.TypedDict, total=False): +class LeaderboardConfiguration(typing.TypedDict, total=False): draft: LeaderboardConfigurationDetail id: str kind: str published: LeaderboardConfigurationDetail scoreMax: str scoreMin: str - scoreOrder: typing_extensions.Literal[ + scoreOrder: typing.Literal[ "SCORE_ORDER_UNSPECIFIED", "LARGER_IS_BETTER", "SMALLER_IS_BETTER" ] token: str @typing.type_check_only -class LeaderboardConfigurationDetail(typing_extensions.TypedDict, total=False): +class LeaderboardConfigurationDetail(typing.TypedDict, total=False): iconUrl: str kind: str name: LocalizedStringBundle @@ -74,18 +70,18 @@ class LeaderboardConfigurationDetail(typing_extensions.TypedDict, total=False): sortRank: int @typing.type_check_only -class LeaderboardConfigurationListResponse(typing_extensions.TypedDict, total=False): +class LeaderboardConfigurationListResponse(typing.TypedDict, total=False): items: _list[LeaderboardConfiguration] kind: str nextPageToken: str @typing.type_check_only -class LocalizedString(typing_extensions.TypedDict, total=False): +class LocalizedString(typing.TypedDict, total=False): kind: str locale: str value: str @typing.type_check_only -class LocalizedStringBundle(typing_extensions.TypedDict, total=False): +class LocalizedStringBundle(typing.TypedDict, total=False): kind: str translations: _list[LocalizedString] diff --git a/googleapiclient-stubs/_apis/gamesManagement/v1management/resources.pyi b/googleapiclient-stubs/_apis/gamesManagement/v1management/resources.pyi index b9c378be2..fdce7de2a 100644 --- a/googleapiclient-stubs/_apis/gamesManagement/v1management/resources.pyi +++ b/googleapiclient-stubs/_apis/gamesManagement/v1management/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gamesManagement/v1management/schemas.pyi b/googleapiclient-stubs/_apis/gamesManagement/v1management/schemas.pyi index c347ab94d..e5b5a6040 100644 --- a/googleapiclient-stubs/_apis/gamesManagement/v1management/schemas.pyi +++ b/googleapiclient-stubs/_apis/gamesManagement/v1management/schemas.pyi @@ -1,58 +1,56 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AchievementResetAllResponse(typing_extensions.TypedDict, total=False): +class AchievementResetAllResponse(typing.TypedDict, total=False): kind: str results: _list[AchievementResetResponse] @typing.type_check_only -class AchievementResetMultipleForAllRequest(typing_extensions.TypedDict, total=False): +class AchievementResetMultipleForAllRequest(typing.TypedDict, total=False): achievement_ids: _list[str] kind: str @typing.type_check_only -class AchievementResetResponse(typing_extensions.TypedDict, total=False): +class AchievementResetResponse(typing.TypedDict, total=False): currentState: str definitionId: str kind: str updateOccurred: bool @typing.type_check_only -class EventsResetMultipleForAllRequest(typing_extensions.TypedDict, total=False): +class EventsResetMultipleForAllRequest(typing.TypedDict, total=False): event_ids: _list[str] kind: str @typing.type_check_only -class GamesPlayerExperienceInfoResource(typing_extensions.TypedDict, total=False): +class GamesPlayerExperienceInfoResource(typing.TypedDict, total=False): currentExperiencePoints: str currentLevel: GamesPlayerLevelResource lastLevelUpTimestampMillis: str nextLevel: GamesPlayerLevelResource @typing.type_check_only -class GamesPlayerLevelResource(typing_extensions.TypedDict, total=False): +class GamesPlayerLevelResource(typing.TypedDict, total=False): level: int maxExperiencePoints: str minExperiencePoints: str @typing.type_check_only -class HiddenPlayer(typing_extensions.TypedDict, total=False): +class HiddenPlayer(typing.TypedDict, total=False): hiddenTimeMillis: str kind: str player: Player @typing.type_check_only -class HiddenPlayerList(typing_extensions.TypedDict, total=False): +class HiddenPlayerList(typing.TypedDict, total=False): items: _list[HiddenPlayer] kind: str nextPageToken: str @typing.type_check_only -class Player(typing_extensions.TypedDict, total=False): +class Player(typing.TypedDict, total=False): avatarImageUrl: str bannerUrlLandscape: str bannerUrlPortrait: str @@ -66,22 +64,22 @@ class Player(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PlayerScoreResetAllResponse(typing_extensions.TypedDict, total=False): +class PlayerScoreResetAllResponse(typing.TypedDict, total=False): kind: str results: _list[PlayerScoreResetResponse] @typing.type_check_only -class PlayerScoreResetResponse(typing_extensions.TypedDict, total=False): +class PlayerScoreResetResponse(typing.TypedDict, total=False): definitionId: str kind: str resetScoreTimeSpans: _list[str] @typing.type_check_only -class ProfileSettings(typing_extensions.TypedDict, total=False): +class ProfileSettings(typing.TypedDict, total=False): kind: str profileVisible: bool @typing.type_check_only -class ScoresResetMultipleForAllRequest(typing_extensions.TypedDict, total=False): +class ScoresResetMultipleForAllRequest(typing.TypedDict, total=False): kind: str leaderboard_ids: _list[str] diff --git a/googleapiclient-stubs/_apis/gameservices/v1/resources.pyi b/googleapiclient-stubs/_apis/gameservices/v1/resources.pyi index 1fea65145..498c6f0de 100644 --- a/googleapiclient-stubs/_apis/gameservices/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gameservices/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gameservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/gameservices/v1/schemas.pyi index bbee61ac0..fde478773 100644 --- a/googleapiclient-stubs/_apis/gameservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gameservices/v1/schemas.pyi @@ -1,25 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] ignoreChildExemptions: bool - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizationLoggingOptions(typing_extensions.TypedDict, total=False): - permissionType: typing_extensions.Literal[ +class AuthorizationLoggingOptions(typing.TypedDict, total=False): + permissionType: typing.Literal[ "PERMISSION_TYPE_UNSPECIFIED", "ADMIN_READ", "ADMIN_WRITE", @@ -28,25 +26,23 @@ class AuthorizationLoggingOptions(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): bindingId: str condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudAuditOptions(typing_extensions.TypedDict, total=False): +class CloudAuditOptions(typing.TypedDict, total=False): authorizationLoggingOptions: AuthorizationLoggingOptions - logName: typing_extensions.Literal[ - "UNSPECIFIED_LOG_NAME", "ADMIN_ACTIVITY", "DATA_ACCESS" - ] + logName: typing.Literal["UNSPECIFIED_LOG_NAME", "ADMIN_ACTIVITY", "DATA_ACCESS"] @typing.type_check_only -class Condition(typing_extensions.TypedDict, total=False): - iam: typing_extensions.Literal[ +class Condition(typing.TypedDict, total=False): + iam: typing.Literal[ "NO_ATTR", "AUTHORITY", "ATTRIBUTION", @@ -56,50 +52,48 @@ class Condition(typing_extensions.TypedDict, total=False): "CREDENTIALS_TYPE", "CREDS_ASSERTION", ] - op: typing_extensions.Literal[ - "NO_OP", "EQUALS", "NOT_EQUALS", "IN", "NOT_IN", "DISCHARGED" - ] + op: typing.Literal["NO_OP", "EQUALS", "NOT_EQUALS", "IN", "NOT_IN", "DISCHARGED"] svc: str - sys: typing_extensions.Literal["NO_ATTR", "REGION", "SERVICE", "NAME", "IP"] + sys: typing.Literal["NO_ATTR", "REGION", "SERVICE", "NAME", "IP"] values: _list[str] @typing.type_check_only -class CounterOptions(typing_extensions.TypedDict, total=False): +class CounterOptions(typing.TypedDict, total=False): customFields: _list[CustomField] field: str metric: str @typing.type_check_only -class CustomField(typing_extensions.TypedDict, total=False): +class CustomField(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class DataAccessOptions(typing_extensions.TypedDict, total=False): - logMode: typing_extensions.Literal["LOG_MODE_UNSPECIFIED", "LOG_FAIL_CLOSED"] +class DataAccessOptions(typing.TypedDict, total=False): + logMode: typing.Literal["LOG_MODE_UNSPECIFIED", "LOG_FAIL_CLOSED"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -107,13 +101,13 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LogConfig(typing_extensions.TypedDict, total=False): +class LogConfig(typing.TypedDict, total=False): cloudAudit: CloudAuditOptions counter: CounterOptions dataAccess: DataAccessOptions @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -121,17 +115,17 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str rules: _list[Rule] version: int -AlternativeRule = typing_extensions.TypedDict( +AlternativeRule = typing.TypedDict( "AlternativeRule", { - "action": typing_extensions.Literal[ + "action": typing.Literal[ "NO_ACTION", "ALLOW", "ALLOW_WITH_LOG", "DENY", "DENY_WITH_LOG", "LOG" ], "conditions": _list[Condition], @@ -148,20 +142,20 @@ AlternativeRule = typing_extensions.TypedDict( class Rule(AlternativeRule): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/gameservices/v1beta/resources.pyi b/googleapiclient-stubs/_apis/gameservices/v1beta/resources.pyi index 1fea65145..498c6f0de 100644 --- a/googleapiclient-stubs/_apis/gameservices/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gameservices/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gameservices/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gameservices/v1beta/schemas.pyi index bbee61ac0..fde478773 100644 --- a/googleapiclient-stubs/_apis/gameservices/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gameservices/v1beta/schemas.pyi @@ -1,25 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] ignoreChildExemptions: bool - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizationLoggingOptions(typing_extensions.TypedDict, total=False): - permissionType: typing_extensions.Literal[ +class AuthorizationLoggingOptions(typing.TypedDict, total=False): + permissionType: typing.Literal[ "PERMISSION_TYPE_UNSPECIFIED", "ADMIN_READ", "ADMIN_WRITE", @@ -28,25 +26,23 @@ class AuthorizationLoggingOptions(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): bindingId: str condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudAuditOptions(typing_extensions.TypedDict, total=False): +class CloudAuditOptions(typing.TypedDict, total=False): authorizationLoggingOptions: AuthorizationLoggingOptions - logName: typing_extensions.Literal[ - "UNSPECIFIED_LOG_NAME", "ADMIN_ACTIVITY", "DATA_ACCESS" - ] + logName: typing.Literal["UNSPECIFIED_LOG_NAME", "ADMIN_ACTIVITY", "DATA_ACCESS"] @typing.type_check_only -class Condition(typing_extensions.TypedDict, total=False): - iam: typing_extensions.Literal[ +class Condition(typing.TypedDict, total=False): + iam: typing.Literal[ "NO_ATTR", "AUTHORITY", "ATTRIBUTION", @@ -56,50 +52,48 @@ class Condition(typing_extensions.TypedDict, total=False): "CREDENTIALS_TYPE", "CREDS_ASSERTION", ] - op: typing_extensions.Literal[ - "NO_OP", "EQUALS", "NOT_EQUALS", "IN", "NOT_IN", "DISCHARGED" - ] + op: typing.Literal["NO_OP", "EQUALS", "NOT_EQUALS", "IN", "NOT_IN", "DISCHARGED"] svc: str - sys: typing_extensions.Literal["NO_ATTR", "REGION", "SERVICE", "NAME", "IP"] + sys: typing.Literal["NO_ATTR", "REGION", "SERVICE", "NAME", "IP"] values: _list[str] @typing.type_check_only -class CounterOptions(typing_extensions.TypedDict, total=False): +class CounterOptions(typing.TypedDict, total=False): customFields: _list[CustomField] field: str metric: str @typing.type_check_only -class CustomField(typing_extensions.TypedDict, total=False): +class CustomField(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class DataAccessOptions(typing_extensions.TypedDict, total=False): - logMode: typing_extensions.Literal["LOG_MODE_UNSPECIFIED", "LOG_FAIL_CLOSED"] +class DataAccessOptions(typing.TypedDict, total=False): + logMode: typing.Literal["LOG_MODE_UNSPECIFIED", "LOG_FAIL_CLOSED"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -107,13 +101,13 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LogConfig(typing_extensions.TypedDict, total=False): +class LogConfig(typing.TypedDict, total=False): cloudAudit: CloudAuditOptions counter: CounterOptions dataAccess: DataAccessOptions @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -121,17 +115,17 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str rules: _list[Rule] version: int -AlternativeRule = typing_extensions.TypedDict( +AlternativeRule = typing.TypedDict( "AlternativeRule", { - "action": typing_extensions.Literal[ + "action": typing.Literal[ "NO_ACTION", "ALLOW", "ALLOW_WITH_LOG", "DENY", "DENY_WITH_LOG", "LOG" ], "conditions": _list[Condition], @@ -148,20 +142,20 @@ AlternativeRule = typing_extensions.TypedDict( class Rule(AlternativeRule): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/genomics/v1/resources.pyi b/googleapiclient-stubs/_apis/genomics/v1/resources.pyi index eb3007958..6d4f1fb05 100644 --- a/googleapiclient-stubs/_apis/genomics/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/genomics/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/genomics/v1/schemas.pyi b/googleapiclient-stubs/_apis/genomics/v1/schemas.pyi index 30a49a371..05bf614a0 100644 --- a/googleapiclient-stubs/_apis/genomics/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/genomics/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): +class Accelerator(typing.TypedDict, total=False): count: str type: str @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): commands: _list[str] credentials: Secret encryptedEnvironment: Secret entrypoint: str environment: dict[str, typing.Any] flags: _list[ - typing_extensions.Literal[ + typing.Literal[ "FLAG_UNSPECIFIED", "IGNORE_EXIT_STATUS", "RUN_IN_BACKGROUND", @@ -38,47 +36,47 @@ class Action(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class ContainerKilledEvent(typing_extensions.TypedDict, total=False): +class ContainerKilledEvent(typing.TypedDict, total=False): actionId: int @typing.type_check_only -class ContainerStartedEvent(typing_extensions.TypedDict, total=False): +class ContainerStartedEvent(typing.TypedDict, total=False): actionId: int ipAddress: str portMappings: dict[str, typing.Any] @typing.type_check_only -class ContainerStoppedEvent(typing_extensions.TypedDict, total=False): +class ContainerStoppedEvent(typing.TypedDict, total=False): actionId: int exitStatus: int stderr: str @typing.type_check_only -class DelayedEvent(typing_extensions.TypedDict, total=False): +class DelayedEvent(typing.TypedDict, total=False): cause: str metrics: _list[str] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): name: str sizeGb: int sourceImage: str type: str @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): description: str details: dict[str, typing.Any] timestamp: str @typing.type_check_only -class ExistingDisk(typing_extensions.TypedDict, total=False): +class ExistingDisk(typing.TypedDict, total=False): disk: str @typing.type_check_only -class FailedEvent(typing_extensions.TypedDict, total=False): +class FailedEvent(typing.TypedDict, total=False): cause: str - code: typing_extensions.Literal[ + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -99,7 +97,7 @@ class FailedEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): createTime: str endTime: str events: _list[Event] @@ -108,29 +106,29 @@ class Metadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Mount(typing_extensions.TypedDict, total=False): +class Mount(typing.TypedDict, total=False): disk: str path: str readOnly: bool @typing.type_check_only -class NFSMount(typing_extensions.TypedDict, total=False): +class NFSMount(typing.TypedDict, total=False): target: str @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): name: str subnetwork: str usePrivateAddress: bool @typing.type_check_only -class PersistentDisk(typing_extensions.TypedDict, total=False): +class PersistentDisk(typing.TypedDict, total=False): sizeGb: int sourceImage: str type: str @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): actions: _list[Action] encryptedEnvironment: Secret environment: dict[str, typing.Any] @@ -138,40 +136,40 @@ class Pipeline(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class PullStartedEvent(typing_extensions.TypedDict, total=False): +class PullStartedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class PullStoppedEvent(typing_extensions.TypedDict, total=False): +class PullStoppedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): projectId: str regions: _list[str] virtualMachine: VirtualMachine zones: _list[str] @typing.type_check_only -class RunPipelineResponse(typing_extensions.TypedDict, total=False): ... +class RunPipelineResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): cipherText: str keyName: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class UnexpectedExitStatusEvent(typing_extensions.TypedDict, total=False): +class UnexpectedExitStatusEvent(typing.TypedDict, total=False): actionId: int exitStatus: int @typing.type_check_only -class VirtualMachine(typing_extensions.TypedDict, total=False): +class VirtualMachine(typing.TypedDict, total=False): accelerators: _list[Accelerator] bootDiskSizeGb: int bootImage: str @@ -188,19 +186,19 @@ class VirtualMachine(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): existingDisk: ExistingDisk nfsMount: NFSMount persistentDisk: PersistentDisk volume: str @typing.type_check_only -class WorkerAssignedEvent(typing_extensions.TypedDict, total=False): +class WorkerAssignedEvent(typing.TypedDict, total=False): instance: str machineType: str zone: str @typing.type_check_only -class WorkerReleasedEvent(typing_extensions.TypedDict, total=False): +class WorkerReleasedEvent(typing.TypedDict, total=False): instance: str zone: str diff --git a/googleapiclient-stubs/_apis/genomics/v1alpha2/resources.pyi b/googleapiclient-stubs/_apis/genomics/v1alpha2/resources.pyi index e359daece..60f8e2bb4 100644 --- a/googleapiclient-stubs/_apis/genomics/v1alpha2/resources.pyi +++ b/googleapiclient-stubs/_apis/genomics/v1alpha2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/genomics/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/genomics/v1alpha2/schemas.pyi index 2681ff043..3dac94111 100644 --- a/googleapiclient-stubs/_apis/genomics/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/genomics/v1alpha2/schemas.pyi @@ -1,37 +1,35 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ComputeEngine(typing_extensions.TypedDict, total=False): +class ComputeEngine(typing.TypedDict, total=False): diskNames: _list[str] instanceName: str machineType: str zone: str @typing.type_check_only -class ContainerKilledEvent(typing_extensions.TypedDict, total=False): +class ContainerKilledEvent(typing.TypedDict, total=False): actionId: int @typing.type_check_only -class ContainerStartedEvent(typing_extensions.TypedDict, total=False): +class ContainerStartedEvent(typing.TypedDict, total=False): actionId: int ipAddress: str portMappings: dict[str, typing.Any] @typing.type_check_only -class ContainerStoppedEvent(typing_extensions.TypedDict, total=False): +class ContainerStoppedEvent(typing.TypedDict, total=False): actionId: int exitStatus: int stderr: str @typing.type_check_only -class ControllerConfig(typing_extensions.TypedDict, total=False): +class ControllerConfig(typing.TypedDict, total=False): cmd: str disks: dict[str, typing.Any] gcsLogPath: str @@ -42,40 +40,40 @@ class ControllerConfig(typing_extensions.TypedDict, total=False): vars: dict[str, typing.Any] @typing.type_check_only -class DelayedEvent(typing_extensions.TypedDict, total=False): +class DelayedEvent(typing.TypedDict, total=False): cause: str metrics: _list[str] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): autoDelete: bool mountPoint: str name: str readOnly: bool sizeGb: int source: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "PERSISTENT_HDD", "PERSISTENT_SSD", "LOCAL_SSD" ] @typing.type_check_only -class DockerExecutor(typing_extensions.TypedDict, total=False): +class DockerExecutor(typing.TypedDict, total=False): cmd: str imageName: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): description: str details: dict[str, typing.Any] timestamp: str @typing.type_check_only -class FailedEvent(typing_extensions.TypedDict, total=False): +class FailedEvent(typing.TypedDict, total=False): cause: str - code: typing_extensions.Literal[ + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -96,26 +94,26 @@ class FailedEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListPipelinesResponse(typing_extensions.TypedDict, total=False): +class ListPipelinesResponse(typing.TypedDict, total=False): nextPageToken: str pipelines: _list[Pipeline] @typing.type_check_only -class LocalCopy(typing_extensions.TypedDict, total=False): +class LocalCopy(typing.TypedDict, total=False): disk: str path: str @typing.type_check_only -class LoggingOptions(typing_extensions.TypedDict, total=False): +class LoggingOptions(typing.TypedDict, total=False): gcsPath: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -123,13 +121,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationEvent(typing_extensions.TypedDict, total=False): +class OperationEvent(typing.TypedDict, total=False): description: str endTime: str startTime: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): clientId: str createTime: str endTime: str @@ -141,7 +139,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): description: str docker: DockerExecutor inputParameters: _list[PipelineParameter] @@ -152,14 +150,14 @@ class Pipeline(typing_extensions.TypedDict, total=False): resources: PipelineResources @typing.type_check_only -class PipelineParameter(typing_extensions.TypedDict, total=False): +class PipelineParameter(typing.TypedDict, total=False): defaultValue: str description: str localCopy: LocalCopy name: str @typing.type_check_only -class PipelineResources(typing_extensions.TypedDict, total=False): +class PipelineResources(typing.TypedDict, total=False): acceleratorCount: str acceleratorType: str bootDiskSizeGb: int @@ -171,19 +169,19 @@ class PipelineResources(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class PullStartedEvent(typing_extensions.TypedDict, total=False): +class PullStartedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class PullStoppedEvent(typing_extensions.TypedDict, total=False): +class PullStoppedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class RepeatedString(typing_extensions.TypedDict, total=False): +class RepeatedString(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class RunPipelineArgs(typing_extensions.TypedDict, total=False): +class RunPipelineArgs(typing.TypedDict, total=False): clientId: str inputs: dict[str, typing.Any] keepVmAliveOnFailureDuration: str @@ -195,26 +193,26 @@ class RunPipelineArgs(typing_extensions.TypedDict, total=False): serviceAccount: ServiceAccount @typing.type_check_only -class RunPipelineRequest(typing_extensions.TypedDict, total=False): +class RunPipelineRequest(typing.TypedDict, total=False): ephemeralPipeline: Pipeline pipelineArgs: RunPipelineArgs pipelineId: str @typing.type_check_only -class RunPipelineResponse(typing_extensions.TypedDict, total=False): ... +class RunPipelineResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RuntimeMetadata(typing_extensions.TypedDict, total=False): +class RuntimeMetadata(typing.TypedDict, total=False): computeEngine: ComputeEngine @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class SetOperationStatusRequest(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class SetOperationStatusRequest(typing.TypedDict, total=False): + errorCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -239,28 +237,28 @@ class SetOperationStatusRequest(typing_extensions.TypedDict, total=False): validationToken: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimestampEvent(typing_extensions.TypedDict, total=False): +class TimestampEvent(typing.TypedDict, total=False): description: str timestamp: str @typing.type_check_only -class UnexpectedExitStatusEvent(typing_extensions.TypedDict, total=False): +class UnexpectedExitStatusEvent(typing.TypedDict, total=False): actionId: int exitStatus: int @typing.type_check_only -class WorkerAssignedEvent(typing_extensions.TypedDict, total=False): +class WorkerAssignedEvent(typing.TypedDict, total=False): instance: str machineType: str zone: str @typing.type_check_only -class WorkerReleasedEvent(typing_extensions.TypedDict, total=False): +class WorkerReleasedEvent(typing.TypedDict, total=False): instance: str zone: str diff --git a/googleapiclient-stubs/_apis/genomics/v2alpha1/resources.pyi b/googleapiclient-stubs/_apis/genomics/v2alpha1/resources.pyi index 81aad03a3..f8c11e452 100644 --- a/googleapiclient-stubs/_apis/genomics/v2alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/genomics/v2alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/genomics/v2alpha1/schemas.pyi b/googleapiclient-stubs/_apis/genomics/v2alpha1/schemas.pyi index 21b1227ce..20d659010 100644 --- a/googleapiclient-stubs/_apis/genomics/v2alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/genomics/v2alpha1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): +class Accelerator(typing.TypedDict, total=False): count: str type: str @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): commands: _list[str] credentials: Secret encryptedEnvironment: Secret entrypoint: str environment: dict[str, typing.Any] flags: _list[ - typing_extensions.Literal[ + typing.Literal[ "FLAG_UNSPECIFIED", "IGNORE_EXIT_STATUS", "RUN_IN_BACKGROUND", @@ -38,10 +36,10 @@ class Action(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckInRequest(typing_extensions.TypedDict, total=False): +class CheckInRequest(typing.TypedDict, total=False): deadlineExpired: Empty event: dict[str, typing.Any] events: _list[TimestampedEvent] @@ -50,61 +48,61 @@ class CheckInRequest(typing_extensions.TypedDict, total=False): workerStatus: WorkerStatus @typing.type_check_only -class CheckInResponse(typing_extensions.TypedDict, total=False): +class CheckInResponse(typing.TypedDict, total=False): deadline: str features: dict[str, typing.Any] metadata: dict[str, typing.Any] @typing.type_check_only -class ContainerKilledEvent(typing_extensions.TypedDict, total=False): +class ContainerKilledEvent(typing.TypedDict, total=False): actionId: int @typing.type_check_only -class ContainerStartedEvent(typing_extensions.TypedDict, total=False): +class ContainerStartedEvent(typing.TypedDict, total=False): actionId: int ipAddress: str portMappings: dict[str, typing.Any] @typing.type_check_only -class ContainerStoppedEvent(typing_extensions.TypedDict, total=False): +class ContainerStoppedEvent(typing.TypedDict, total=False): actionId: int exitStatus: int stderr: str @typing.type_check_only -class DelayedEvent(typing_extensions.TypedDict, total=False): +class DelayedEvent(typing.TypedDict, total=False): cause: str metrics: _list[str] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): name: str sizeGb: int sourceImage: str type: str @typing.type_check_only -class DiskStatus(typing_extensions.TypedDict, total=False): +class DiskStatus(typing.TypedDict, total=False): freeSpaceBytes: str totalSpaceBytes: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): description: str details: dict[str, typing.Any] timestamp: str @typing.type_check_only -class ExistingDisk(typing_extensions.TypedDict, total=False): +class ExistingDisk(typing.TypedDict, total=False): disk: str @typing.type_check_only -class FailedEvent(typing_extensions.TypedDict, total=False): +class FailedEvent(typing.TypedDict, total=False): cause: str - code: typing_extensions.Literal[ + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -125,12 +123,12 @@ class FailedEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): createTime: str endTime: str events: _list[Event] @@ -139,23 +137,23 @@ class Metadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Mount(typing_extensions.TypedDict, total=False): +class Mount(typing.TypedDict, total=False): disk: str path: str readOnly: bool @typing.type_check_only -class NFSMount(typing_extensions.TypedDict, total=False): +class NFSMount(typing.TypedDict, total=False): target: str @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): name: str subnetwork: str usePrivateAddress: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -163,13 +161,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PersistentDisk(typing_extensions.TypedDict, total=False): +class PersistentDisk(typing.TypedDict, total=False): sizeGb: int sourceImage: str type: str @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): actions: _list[Action] encryptedEnvironment: Secret environment: dict[str, typing.Any] @@ -177,57 +175,57 @@ class Pipeline(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class PullStartedEvent(typing_extensions.TypedDict, total=False): +class PullStartedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class PullStoppedEvent(typing_extensions.TypedDict, total=False): +class PullStoppedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): projectId: str regions: _list[str] virtualMachine: VirtualMachine zones: _list[str] @typing.type_check_only -class RunPipelineRequest(typing_extensions.TypedDict, total=False): +class RunPipelineRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] pipeline: Pipeline pubSubTopic: str @typing.type_check_only -class RunPipelineResponse(typing_extensions.TypedDict, total=False): ... +class RunPipelineResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): cipherText: str keyName: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimestampedEvent(typing_extensions.TypedDict, total=False): +class TimestampedEvent(typing.TypedDict, total=False): data: dict[str, typing.Any] timestamp: str @typing.type_check_only -class UnexpectedExitStatusEvent(typing_extensions.TypedDict, total=False): +class UnexpectedExitStatusEvent(typing.TypedDict, total=False): actionId: int exitStatus: int @typing.type_check_only -class VirtualMachine(typing_extensions.TypedDict, total=False): +class VirtualMachine(typing.TypedDict, total=False): accelerators: _list[Accelerator] bootDiskSizeGb: int bootImage: str @@ -245,25 +243,25 @@ class VirtualMachine(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): existingDisk: ExistingDisk nfsMount: NFSMount persistentDisk: PersistentDisk volume: str @typing.type_check_only -class WorkerAssignedEvent(typing_extensions.TypedDict, total=False): +class WorkerAssignedEvent(typing.TypedDict, total=False): instance: str machineType: str zone: str @typing.type_check_only -class WorkerReleasedEvent(typing_extensions.TypedDict, total=False): +class WorkerReleasedEvent(typing.TypedDict, total=False): instance: str zone: str @typing.type_check_only -class WorkerStatus(typing_extensions.TypedDict, total=False): +class WorkerStatus(typing.TypedDict, total=False): attachedDisks: dict[str, typing.Any] bootDisk: DiskStatus freeRamBytes: str diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi index 83ef8e791..d3eee0925 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi index 49b05f575..1d498572f 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BDRBackupPlanJobLog(typing_extensions.TypedDict, total=False): +class BDRBackupPlanJobLog(typing.TypedDict, total=False): backupPlanName: str endTime: str errorCode: int @@ -37,7 +35,7 @@ class BDRBackupPlanJobLog(typing_extensions.TypedDict, total=False): workloadsAffectedCount: int @typing.type_check_only -class BDRBackupRestoreJobLog(typing_extensions.TypedDict, total=False): +class BDRBackupRestoreJobLog(typing.TypedDict, total=False): backupConsistencyTime: str backupName: str backupPlanName: str @@ -61,10 +59,11 @@ class BDRBackupRestoreJobLog(typing_extensions.TypedDict, total=False): sourceResourceLocation: str sourceResourceName: str startTime: str + storageTier: str targetResourceType: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): allNamespaces: bool clusterMetadata: ClusterMetadata completeTime: str @@ -92,7 +91,7 @@ class Backup(typing_extensions.TypedDict, total=False): selectedNamespaceLabels: ResourceLabels selectedNamespaces: Namespaces sizeBytes: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "IN_PROGRESS", @@ -107,7 +106,7 @@ class Backup(typing_extensions.TypedDict, total=False): volumeCount: int @typing.type_check_only -class BackupChannel(typing_extensions.TypedDict, total=False): +class BackupChannel(typing.TypedDict, total=False): createTime: str description: str destinationProject: str @@ -119,7 +118,7 @@ class BackupChannel(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BackupConfig(typing_extensions.TypedDict, total=False): +class BackupConfig(typing.TypedDict, total=False): allNamespaces: bool encryptionKey: EncryptionKey includeSecrets: bool @@ -130,7 +129,7 @@ class BackupConfig(typing_extensions.TypedDict, total=False): selectedNamespaces: Namespaces @typing.type_check_only -class BackupConfigDetails(typing_extensions.TypedDict, total=False): +class BackupConfigDetails(typing.TypedDict, total=False): allNamespaces: bool encryptionKey: EncryptionKey includeSecrets: bool @@ -139,7 +138,7 @@ class BackupConfigDetails(typing_extensions.TypedDict, total=False): selectedNamespaces: Namespaces @typing.type_check_only -class BackupPlan(typing_extensions.TypedDict, total=False): +class BackupPlan(typing.TypedDict, total=False): backupChannel: str backupConfig: BackupConfig backupSchedule: Schedule @@ -156,7 +155,7 @@ class BackupPlan(typing_extensions.TypedDict, total=False): retentionPolicy: RetentionPolicy rpoRiskLevel: int rpoRiskReason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CLUSTER_PENDING", "PROVISIONING", @@ -170,7 +169,7 @@ class BackupPlan(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BackupPlanBinding(typing_extensions.TypedDict, total=False): +class BackupPlanBinding(typing.TypedDict, total=False): backupPlan: str backupPlanDetails: BackupPlanDetails cluster: str @@ -181,7 +180,7 @@ class BackupPlanBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BackupPlanDetails(typing_extensions.TypedDict, total=False): +class BackupPlanDetails(typing.TypedDict, total=False): backupConfigDetails: BackupConfigDetails lastSuccessfulBackup: str lastSuccessfulBackupTime: str @@ -189,7 +188,7 @@ class BackupPlanDetails(typing_extensions.TypedDict, total=False): protectedPodCount: int retentionPolicyDetails: RetentionPolicyDetails rpoRiskLevel: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CLUSTER_PENDING", "PROVISIONING", @@ -200,22 +199,23 @@ class BackupPlanDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BackupRuleDetail(typing_extensions.TypedDict, total=False): +class BackupRuleDetail(typing.TypedDict, total=False): backupWindow: str backupWindowTimezone: str recurrence: str recurrenceSchedule: str retentionDays: int ruleName: str + storageTier: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ClusterMetadata(typing_extensions.TypedDict, total=False): +class ClusterMetadata(typing.TypedDict, total=False): anthosVersion: str backupCrdVersions: dict[str, typing.Any] cluster: str @@ -223,22 +223,22 @@ class ClusterMetadata(typing_extensions.TypedDict, total=False): k8sVersion: str @typing.type_check_only -class ClusterResourceRestoreScope(typing_extensions.TypedDict, total=False): +class ClusterResourceRestoreScope(typing.TypedDict, total=False): allGroupKinds: bool excludedGroupKinds: _list[GroupKind] noGroupKinds: bool selectedGroupKinds: _list[GroupKind] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DayOfWeekList(typing_extensions.TypedDict, total=False): +class DayOfWeekList(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -251,14 +251,14 @@ class DayOfWeekList(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionKey(typing_extensions.TypedDict, total=False): +class EncryptionKey(typing.TypedDict, total=False): gcpKmsEncryptionKey: str @typing.type_check_only -class ExclusionWindow(typing_extensions.TypedDict, total=False): +class ExclusionWindow(typing.TypedDict, total=False): daily: bool daysOfWeek: DayOfWeekList duration: str @@ -266,44 +266,42 @@ class ExclusionWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): exclusionFilters: _list[ResourceSelector] inclusionFilters: _list[ResourceSelector] @typing.type_check_only -class GetBackupIndexDownloadUrlResponse(typing_extensions.TypedDict, total=False): +class GetBackupIndexDownloadUrlResponse(typing.TypedDict, total=False): signedUrl: str @typing.type_check_only -class GetTagsRequest(typing_extensions.TypedDict, total=False): +class GetTagsRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class GetTagsResponse(typing_extensions.TypedDict, total=False): +class GetTagsResponse(typing.TypedDict, total=False): etag: str name: str tags: dict[str, typing.Any] @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -311,91 +309,91 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GroupKind(typing_extensions.TypedDict, total=False): +class GroupKind(typing.TypedDict, total=False): resourceGroup: str resourceKind: str @typing.type_check_only -class GroupKindDependency(typing_extensions.TypedDict, total=False): +class GroupKindDependency(typing.TypedDict, total=False): requiring: GroupKind satisfying: GroupKind @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class ListBackupChannelsResponse(typing_extensions.TypedDict, total=False): +class ListBackupChannelsResponse(typing.TypedDict, total=False): backupChannels: _list[BackupChannel] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupPlanBindingsResponse(typing_extensions.TypedDict, total=False): +class ListBackupPlanBindingsResponse(typing.TypedDict, total=False): backupPlanBindings: _list[BackupPlanBinding] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupPlansResponse(typing_extensions.TypedDict, total=False): +class ListBackupPlansResponse(typing.TypedDict, total=False): backupPlans: _list[BackupPlan] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListRestoreChannelsResponse(typing_extensions.TypedDict, total=False): +class ListRestoreChannelsResponse(typing.TypedDict, total=False): nextPageToken: str restoreChannels: _list[RestoreChannel] unreachable: _list[str] @typing.type_check_only -class ListRestorePlanBindingsResponse(typing_extensions.TypedDict, total=False): +class ListRestorePlanBindingsResponse(typing.TypedDict, total=False): nextPageToken: str restorePlanBindings: _list[RestorePlanBinding] unreachable: _list[str] @typing.type_check_only -class ListRestorePlansResponse(typing_extensions.TypedDict, total=False): +class ListRestorePlansResponse(typing.TypedDict, total=False): nextPageToken: str restorePlans: _list[RestorePlan] unreachable: _list[str] @typing.type_check_only -class ListRestoresResponse(typing_extensions.TypedDict, total=False): +class ListRestoresResponse(typing.TypedDict, total=False): nextPageToken: str restores: _list[Restore] unreachable: _list[str] @typing.type_check_only -class ListVolumeBackupsResponse(typing_extensions.TypedDict, total=False): +class ListVolumeBackupsResponse(typing.TypedDict, total=False): nextPageToken: str volumeBackups: _list[VolumeBackup] @typing.type_check_only -class ListVolumeRestoresResponse(typing_extensions.TypedDict, total=False): +class ListVolumeRestoresResponse(typing.TypedDict, total=False): nextPageToken: str volumeRestores: _list[VolumeRestore] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -403,20 +401,20 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class NamespacedName(typing_extensions.TypedDict, total=False): +class NamespacedName(typing.TypedDict, total=False): name: str namespace: str @typing.type_check_only -class NamespacedNames(typing_extensions.TypedDict, total=False): +class NamespacedNames(typing.TypedDict, total=False): namespacedNames: _list[NamespacedName] @typing.type_check_only -class Namespaces(typing_extensions.TypedDict, total=False): +class Namespaces(typing.TypedDict, total=False): namespaces: _list[str] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -426,31 +424,31 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ResourceFilter(typing_extensions.TypedDict, total=False): +class ResourceFilter(typing.TypedDict, total=False): groupKinds: _list[GroupKind] jsonPath: str namespaces: _list[str] @typing.type_check_only -class ResourceLabels(typing_extensions.TypedDict, total=False): +class ResourceLabels(typing.TypedDict, total=False): resourceLabels: _list[Label] @typing.type_check_only -class ResourceSelector(typing_extensions.TypedDict, total=False): +class ResourceSelector(typing.TypedDict, total=False): groupKind: GroupKind labels: dict[str, typing.Any] name: str namespace: str @typing.type_check_only -class Restore(typing_extensions.TypedDict, total=False): +class Restore(typing.TypedDict, total=False): backup: str cluster: str completeTime: str @@ -464,7 +462,7 @@ class Restore(typing_extensions.TypedDict, total=False): resourcesFailedCount: int resourcesRestoredCount: int restoreConfig: RestoreConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "IN_PROGRESS", @@ -481,7 +479,7 @@ class Restore(typing_extensions.TypedDict, total=False): volumesRestoredCount: int @typing.type_check_only -class RestoreChannel(typing_extensions.TypedDict, total=False): +class RestoreChannel(typing.TypedDict, total=False): createTime: str description: str destinationProject: str @@ -493,16 +491,16 @@ class RestoreChannel(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RestoreConfig(typing_extensions.TypedDict, total=False): +class RestoreConfig(typing.TypedDict, total=False): allNamespaces: bool - clusterResourceConflictPolicy: typing_extensions.Literal[ + clusterResourceConflictPolicy: typing.Literal[ "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED", "USE_EXISTING_VERSION", "USE_BACKUP_VERSION", ] clusterResourceRestoreScope: ClusterResourceRestoreScope excludedNamespaces: Namespaces - namespacedResourceRestoreMode: typing_extensions.Literal[ + namespacedResourceRestoreMode: typing.Literal[ "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED", "DELETE_AND_RESTORE", "FAIL_ON_CONFLICT", @@ -516,7 +514,7 @@ class RestoreConfig(typing_extensions.TypedDict, total=False): selectedNamespaces: Namespaces substitutionRules: _list[SubstitutionRule] transformationRules: _list[TransformationRule] - volumeDataRestorePolicy: typing_extensions.Literal[ + volumeDataRestorePolicy: typing.Literal[ "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED", "RESTORE_VOLUME_DATA_FROM_BACKUP", "REUSE_VOLUME_HANDLE_FROM_BACKUP", @@ -525,11 +523,11 @@ class RestoreConfig(typing_extensions.TypedDict, total=False): volumeDataRestorePolicyBindings: _list[VolumeDataRestorePolicyBinding] @typing.type_check_only -class RestoreOrder(typing_extensions.TypedDict, total=False): +class RestoreOrder(typing.TypedDict, total=False): groupKindDependencies: _list[GroupKindDependency] @typing.type_check_only -class RestorePlan(typing_extensions.TypedDict, total=False): +class RestorePlan(typing.TypedDict, total=False): backupPlan: str cluster: str createTime: str @@ -539,7 +537,7 @@ class RestorePlan(typing_extensions.TypedDict, total=False): name: str restoreChannel: str restoreConfig: RestoreConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CLUSTER_PENDING", "READY", "FAILED", "DELETING" ] stateReason: str @@ -547,7 +545,7 @@ class RestorePlan(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RestorePlanBinding(typing_extensions.TypedDict, total=False): +class RestorePlanBinding(typing.TypedDict, total=False): backupPlan: str createTime: str etag: str @@ -557,48 +555,48 @@ class RestorePlanBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RetentionPolicy(typing_extensions.TypedDict, total=False): +class RetentionPolicy(typing.TypedDict, total=False): backupDeleteLockDays: int backupRetainDays: int locked: bool @typing.type_check_only -class RetentionPolicyDetails(typing_extensions.TypedDict, total=False): +class RetentionPolicyDetails(typing.TypedDict, total=False): backupDeleteLockDays: int backupRetainDays: int @typing.type_check_only -class RpoConfig(typing_extensions.TypedDict, total=False): +class RpoConfig(typing.TypedDict, total=False): exclusionWindows: _list[ExclusionWindow] targetRpoMinutes: int @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): cronSchedule: str nextScheduledBackupTime: str paused: bool rpoConfig: RpoConfig @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetTagsRequest(typing_extensions.TypedDict, total=False): +class SetTagsRequest(typing.TypedDict, total=False): etag: str name: str requestId: str tags: dict[str, typing.Any] @typing.type_check_only -class SetTagsResponse(typing_extensions.TypedDict, total=False): +class SetTagsResponse(typing.TypedDict, total=False): etag: str name: str tags: dict[str, typing.Any] @typing.type_check_only -class SubstitutionRule(typing_extensions.TypedDict, total=False): +class SubstitutionRule(typing.TypedDict, total=False): newValue: str originalValuePattern: str targetGroupKinds: _list[GroupKind] @@ -606,54 +604,52 @@ class SubstitutionRule(typing_extensions.TypedDict, total=False): targetNamespaces: _list[str] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TransformationRule(typing_extensions.TypedDict, total=False): +class TransformationRule(typing.TypedDict, total=False): description: str fieldActions: _list[TransformationRuleAction] resourceFilter: ResourceFilter @typing.type_check_only -class TransformationRuleAction(typing_extensions.TypedDict, total=False): +class TransformationRuleAction(typing.TypedDict, total=False): fromPath: str - op: typing_extensions.Literal[ + op: typing.Literal[ "OP_UNSPECIFIED", "REMOVE", "MOVE", "COPY", "ADD", "TEST", "REPLACE" ] path: str value: str @typing.type_check_only -class TroubleshootingInfo(typing_extensions.TypedDict, total=False): +class TroubleshootingInfo(typing.TypedDict, total=False): stateReasonCode: str stateReasonUri: str @typing.type_check_only -class VolumeBackup(typing_extensions.TypedDict, total=False): +class VolumeBackup(typing.TypedDict, total=False): completeTime: str createTime: str diskSizeBytes: str etag: str - format: typing_extensions.Literal[ - "VOLUME_BACKUP_FORMAT_UNSPECIFIED", "GCE_PERSISTENT_DISK" - ] + format: typing.Literal["VOLUME_BACKUP_FORMAT_UNSPECIFIED", "GCE_PERSISTENT_DISK"] name: str satisfiesPzi: bool satisfiesPzs: bool sourcePvc: NamespacedName - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "SNAPSHOTTING", @@ -670,20 +666,18 @@ class VolumeBackup(typing_extensions.TypedDict, total=False): volumeBackupHandle: str @typing.type_check_only -class VolumeDataRestorePolicyBinding(typing_extensions.TypedDict, total=False): - policy: typing_extensions.Literal[ +class VolumeDataRestorePolicyBinding(typing.TypedDict, total=False): + policy: typing.Literal[ "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED", "RESTORE_VOLUME_DATA_FROM_BACKUP", "REUSE_VOLUME_HANDLE_FROM_BACKUP", "NO_VOLUME_DATA_RESTORATION", ] - volumeType: typing_extensions.Literal[ - "VOLUME_TYPE_UNSPECIFIED", "GCE_PERSISTENT_DISK" - ] + volumeType: typing.Literal["VOLUME_TYPE_UNSPECIFIED", "GCE_PERSISTENT_DISK"] @typing.type_check_only -class VolumeDataRestorePolicyOverride(typing_extensions.TypedDict, total=False): - policy: typing_extensions.Literal[ +class VolumeDataRestorePolicyOverride(typing.TypedDict, total=False): + policy: typing.Literal[ "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED", "RESTORE_VOLUME_DATA_FROM_BACKUP", "REUSE_VOLUME_HANDLE_FROM_BACKUP", @@ -692,12 +686,12 @@ class VolumeDataRestorePolicyOverride(typing_extensions.TypedDict, total=False): selectedPvcs: NamespacedNames @typing.type_check_only -class VolumeRestore(typing_extensions.TypedDict, total=False): +class VolumeRestore(typing.TypedDict, total=False): completeTime: str createTime: str etag: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RESTORING", "SUCCEEDED", "FAILED", "DELETING" ] stateMessage: str @@ -706,6 +700,4 @@ class VolumeRestore(typing_extensions.TypedDict, total=False): updateTime: str volumeBackup: str volumeHandle: str - volumeType: typing_extensions.Literal[ - "VOLUME_TYPE_UNSPECIFIED", "GCE_PERSISTENT_DISK" - ] + volumeType: typing.Literal["VOLUME_TYPE_UNSPECIFIED", "GCE_PERSISTENT_DISK"] diff --git a/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi index 1322a1ba6..a4b614f9c 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi index cbe35b26b..603609b61 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppDevExperienceFeatureSpec(typing_extensions.TypedDict, total=False): ... +class AppDevExperienceFeatureSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class AppDevExperienceFeatureState(typing_extensions.TypedDict, total=False): +class AppDevExperienceFeatureState(typing.TypedDict, total=False): networkingInstallSucceeded: Status @typing.type_check_only -class ApplianceCluster(typing_extensions.TypedDict, total=False): +class ApplianceCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Authority(typing_extensions.TypedDict, total=False): +class Authority(typing.TypedDict, total=False): identityProvider: str issuer: str oidcJwks: str @@ -37,97 +35,95 @@ class Authority(typing_extensions.TypedDict, total=False): workloadIdentityPool: str @typing.type_check_only -class AutoUpgradeConfig(typing_extensions.TypedDict, total=False): +class AutoUpgradeConfig(typing.TypedDict, total=False): enforcedRollouts: dict[str, typing.Any] rolloutCreationScope: RolloutCreationScope @typing.type_check_only -class BinaryAuthorizationConfig(typing_extensions.TypedDict, total=False): - evaluationMode: typing_extensions.Literal[ +class BinaryAuthorizationConfig(typing.TypedDict, total=False): + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "DISABLED", "POLICY_BINDINGS" ] policyBindings: _list[PolicyBinding] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelRolloutRequest(typing_extensions.TypedDict, total=False): ... +class CancelRolloutRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClusterSelector(typing_extensions.TypedDict, total=False): +class ClusterSelector(typing.TypedDict, total=False): labelSelector: str @typing.type_check_only -class ClusterUpgradeFleetSpec(typing_extensions.TypedDict, total=False): +class ClusterUpgradeFleetSpec(typing.TypedDict, total=False): gkeUpgradeOverrides: _list[ClusterUpgradeGKEUpgradeOverride] postConditions: ClusterUpgradePostConditions upstreamFleets: _list[str] @typing.type_check_only -class ClusterUpgradeFleetState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeFleetState(typing.TypedDict, total=False): downstreamFleets: _list[str] gkeState: ClusterUpgradeGKEUpgradeFeatureState ignored: dict[str, typing.Any] @typing.type_check_only -class ClusterUpgradeGKEUpgrade(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgrade(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ClusterUpgradeGKEUpgradeFeatureCondition( - typing_extensions.TypedDict, total=False -): +class ClusterUpgradeGKEUpgradeFeatureCondition(typing.TypedDict, total=False): reason: str status: str type: str updateTime: str @typing.type_check_only -class ClusterUpgradeGKEUpgradeFeatureState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeFeatureState(typing.TypedDict, total=False): conditions: _list[ClusterUpgradeGKEUpgradeFeatureCondition] upgradeState: _list[ClusterUpgradeGKEUpgradeState] @typing.type_check_only -class ClusterUpgradeGKEUpgradeOverride(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeOverride(typing.TypedDict, total=False): postConditions: ClusterUpgradePostConditions upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeState(typing.TypedDict, total=False): stats: dict[str, typing.Any] status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeIgnoredMembership(typing_extensions.TypedDict, total=False): +class ClusterUpgradeIgnoredMembership(typing.TypedDict, total=False): ignoredTime: str reason: str @typing.type_check_only -class ClusterUpgradeMembershipGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipGKEUpgradeState(typing.TypedDict, total=False): status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeMembershipState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipState(typing.TypedDict, total=False): ignored: ClusterUpgradeIgnoredMembership upgrades: _list[ClusterUpgradeMembershipGKEUpgradeState] @typing.type_check_only -class ClusterUpgradePostConditions(typing_extensions.TypedDict, total=False): +class ClusterUpgradePostConditions(typing.TypedDict, total=False): soaking: str @typing.type_check_only -class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ClusterUpgradeUpgradeStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INELIGIBLE", "PENDING", @@ -140,7 +136,7 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CommonFeatureSpec(typing_extensions.TypedDict, total=False): +class CommonFeatureSpec(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureSpec clusterupgrade: ClusterUpgradeFleetSpec dataplanev2: DataplaneV2FeatureSpec @@ -151,32 +147,33 @@ class CommonFeatureSpec(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityFeatureSpec @typing.type_check_only -class CommonFeatureState(typing_extensions.TypedDict, total=False): +class CommonFeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeFleetState fleetobservability: FleetObservabilityFeatureState rbacrolebindingactuation: RBACRoleBindingActuationFeatureState + servicemesh: ServiceMeshFeatureState state: FeatureState workloadidentity: WorkloadIdentityFeatureState @typing.type_check_only -class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=False): +class CommonFleetDefaultMemberConfigSpec(typing.TypedDict, total=False): configmanagement: ConfigManagementMembershipSpec identityservice: IdentityServiceMembershipSpec mesh: ServiceMeshMembershipSpec policycontroller: PolicyControllerMembershipSpec @typing.type_check_only -class CompliancePostureConfig(typing_extensions.TypedDict, total=False): +class CompliancePostureConfig(typing.TypedDict, total=False): complianceStandards: _list[ComplianceStandard] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class ComplianceStandard(typing_extensions.TypedDict, total=False): +class ComplianceStandard(typing.TypedDict, total=False): standard: str @typing.type_check_only -class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSync(typing.TypedDict, total=False): deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig @@ -187,64 +184,62 @@ class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): stopSyncing: bool @typing.type_check_only -class ConfigManagementConfigSyncDeploymentState( - typing_extensions.TypedDict, total=False -): - admissionWebhook: typing_extensions.Literal[ +class ConfigManagementConfigSyncDeploymentState(typing.TypedDict, total=False): + admissionWebhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gitSync: typing_extensions.Literal[ + gitSync: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - importer: typing_extensions.Literal[ + importer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - monitor: typing_extensions.Literal[ + monitor: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - otelCollector: typing_extensions.Literal[ + otelCollector: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - reconcilerManager: typing_extensions.Literal[ + reconcilerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - resourceGroupControllerManager: typing_extensions.Literal[ + resourceGroupControllerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - rootReconciler: typing_extensions.Literal[ + rootReconciler: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - syncer: typing_extensions.Literal[ + syncer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementConfigSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): - clusterLevelStopSyncingState: typing_extensions.Literal[ +class ConfigManagementConfigSyncState(typing.TypedDict, total=False): + clusterLevelStopSyncingState: typing.Literal[ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", "PENDING", "STOPPED" ] crCount: int deploymentState: ConfigManagementConfigSyncDeploymentState errors: _list[ConfigManagementConfigSyncError] - reposyncCrd: typing_extensions.Literal[ + reposyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - rootsyncCrd: typing_extensions.Literal[ + rootsyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", "CONFIG_SYNC_INSTALLED", @@ -255,7 +250,7 @@ class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): version: ConfigManagementConfigSyncVersion @typing.type_check_only -class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncVersion(typing.TypedDict, total=False): admissionWebhook: str gitSync: str importer: str @@ -267,7 +262,7 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False syncer: str @typing.type_check_only -class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementContainerOverride(typing.TypedDict, total=False): containerName: str cpuLimit: str cpuRequest: str @@ -275,34 +270,32 @@ class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False memoryRequest: str @typing.type_check_only -class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementDeploymentOverride(typing.TypedDict, total=False): containers: _list[ConfigManagementContainerOverride] deploymentName: str deploymentNamespace: str @typing.type_check_only -class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): +class ConfigManagementErrorResource(typing.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind resourceName: str resourceNamespace: str sourcePath: str @typing.type_check_only -class ConfigManagementGatekeeperDeploymentState( - typing_extensions.TypedDict, total=False -): - gatekeeperAudit: typing_extensions.Literal[ +class ConfigManagementGatekeeperDeploymentState(typing.TypedDict, total=False): + gatekeeperAudit: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperControllerManagerState: typing_extensions.Literal[ + gatekeeperControllerManagerState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperMutation: typing_extensions.Literal[ + gatekeeperMutation: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementGitConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str httpsProxy: str policyDir: str @@ -313,61 +306,53 @@ class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementGroupVersionKind(typing_extensions.TypedDict, total=False): +class ConfigManagementGroupVersionKind(typing.TypedDict, total=False): group: str kind: str version: str @typing.type_check_only -class ConfigManagementHierarchyControllerConfig( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerConfig(typing.TypedDict, total=False): enableHierarchicalResourceQuota: bool enablePodTreeLabels: bool enabled: bool @typing.type_check_only -class ConfigManagementHierarchyControllerDeploymentState( - typing_extensions.TypedDict, total=False -): - extension: typing_extensions.Literal[ +class ConfigManagementHierarchyControllerDeploymentState(typing.TypedDict, total=False): + extension: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - hnc: typing_extensions.Literal[ + hnc: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementHierarchyControllerState( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerState(typing.TypedDict, total=False): state: ConfigManagementHierarchyControllerDeploymentState version: ConfigManagementHierarchyControllerVersion @typing.type_check_only -class ConfigManagementHierarchyControllerVersion( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerVersion(typing.TypedDict, total=False): extension: str hnc: str @typing.type_check_only -class ConfigManagementInstallError(typing_extensions.TypedDict, total=False): +class ConfigManagementInstallError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementMembershipSpec(typing_extensions.TypedDict, total=False): +class ConfigManagementMembershipSpec(typing.TypedDict, total=False): cluster: str configSync: ConfigManagementConfigSync hierarchyController: ConfigManagementHierarchyControllerConfig - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" ] policyController: ConfigManagementPolicyController version: str @typing.type_check_only -class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): +class ConfigManagementMembershipState(typing.TypedDict, total=False): clusterName: str configSyncState: ConfigManagementConfigSyncState hierarchyControllerState: ConfigManagementHierarchyControllerState @@ -377,7 +362,7 @@ class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): policyControllerState: ConfigManagementPolicyControllerState @typing.type_check_only -class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementOciConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str policyDir: str secretType: str @@ -385,15 +370,15 @@ class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementOperatorState(typing_extensions.TypedDict, total=False): - deploymentState: typing_extensions.Literal[ +class ConfigManagementOperatorState(typing.TypedDict, total=False): + deploymentState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] errors: _list[ConfigManagementInstallError] version: str @typing.type_check_only -class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyController(typing.TypedDict, total=False): auditIntervalSeconds: str enabled: bool exemptableNamespaces: _list[str] @@ -405,41 +390,37 @@ class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class ConfigManagementPolicyControllerMigration( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMigration(typing.TypedDict, total=False): copyTime: str - stage: typing_extensions.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] + stage: typing.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] @typing.type_check_only -class ConfigManagementPolicyControllerMonitoring( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMonitoring(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class ConfigManagementPolicyControllerState(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerState(typing.TypedDict, total=False): deploymentState: ConfigManagementGatekeeperDeploymentState migration: ConfigManagementPolicyControllerMigration version: ConfigManagementPolicyControllerVersion @typing.type_check_only -class ConfigManagementPolicyControllerVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerVersion(typing.TypedDict, total=False): version: str @typing.type_check_only -class ConfigManagementSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementSyncError(typing.TypedDict, total=False): code: str errorMessage: str errorResources: _list[ConfigManagementErrorResource] @typing.type_check_only -class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConfigManagementSyncState(typing.TypedDict, total=False): + code: typing.Literal[ "SYNC_CODE_UNSPECIFIED", "SYNCED", "PENDING", @@ -457,36 +438,36 @@ class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): syncToken: str @typing.type_check_only -class ConnectAgentResource(typing_extensions.TypedDict, total=False): +class ConnectAgentResource(typing.TypedDict, total=False): manifest: str type: TypeMeta @typing.type_check_only -class DataplaneV2FeatureSpec(typing_extensions.TypedDict, total=False): +class DataplaneV2FeatureSpec(typing.TypedDict, total=False): enableEncryption: bool @typing.type_check_only -class DefaultClusterConfig(typing_extensions.TypedDict, total=False): +class DefaultClusterConfig(typing.TypedDict, total=False): binaryAuthorizationConfig: BinaryAuthorizationConfig compliancePostureConfig: CompliancePostureConfig securityPostureConfig: SecurityPostureConfig @typing.type_check_only -class EdgeCluster(typing_extensions.TypedDict, total=False): +class EdgeCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): createTime: str deleteTime: str fleetDefaultMemberConfig: CommonFleetDefaultMemberConfigSpec @@ -503,8 +484,8 @@ class Feature(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FeatureResourceState(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class FeatureResourceState(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLING", "ACTIVE", @@ -514,13 +495,13 @@ class FeatureResourceState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeatureState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] +class FeatureState(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] description: str updateTime: str @typing.type_check_only -class Fleet(typing_extensions.TypedDict, total=False): +class Fleet(typing.TypedDict, total=False): createTime: str defaultClusterConfig: DefaultClusterConfig deleteTime: str @@ -532,87 +513,83 @@ class Fleet(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FleetLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class FleetLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class FleetObservabilityFeatureError(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureError(typing.TypedDict, total=False): code: str description: str @typing.type_check_only -class FleetObservabilityFeatureSpec(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureSpec(typing.TypedDict, total=False): loggingConfig: FleetObservabilityLoggingConfig @typing.type_check_only -class FleetObservabilityFeatureState(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureState(typing.TypedDict, total=False): logging: FleetObservabilityFleetObservabilityLoggingState monitoring: FleetObservabilityFleetObservabilityMonitoringState @typing.type_check_only class FleetObservabilityFleetObservabilityBaseFeatureState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "ERROR"] + code: typing.Literal["CODE_UNSPECIFIED", "OK", "ERROR"] errors: _list[FleetObservabilityFeatureError] @typing.type_check_only -class FleetObservabilityFleetObservabilityLoggingState( - typing_extensions.TypedDict, total=False -): +class FleetObservabilityFleetObservabilityLoggingState(typing.TypedDict, total=False): defaultLog: FleetObservabilityFleetObservabilityBaseFeatureState scopeLog: FleetObservabilityFleetObservabilityBaseFeatureState @typing.type_check_only class FleetObservabilityFleetObservabilityMonitoringState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): state: FleetObservabilityFleetObservabilityBaseFeatureState @typing.type_check_only -class FleetObservabilityLoggingConfig(typing_extensions.TypedDict, total=False): +class FleetObservabilityLoggingConfig(typing.TypedDict, total=False): defaultConfig: FleetObservabilityRoutingConfig fleetScopeLogsConfig: FleetObservabilityRoutingConfig @typing.type_check_only -class FleetObservabilityMembershipSpec(typing_extensions.TypedDict, total=False): ... +class FleetObservabilityMembershipSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class FleetObservabilityMembershipState(typing_extensions.TypedDict, total=False): ... +class FleetObservabilityMembershipState(typing.TypedDict, total=False): ... @typing.type_check_only -class FleetObservabilityRoutingConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] +class FleetObservabilityRoutingConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] @typing.type_check_only -class ForceCompleteRolloutStageRequest(typing_extensions.TypedDict, total=False): +class ForceCompleteRolloutStageRequest(typing.TypedDict, total=False): stageNumber: int @typing.type_check_only -class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): +class GenerateConnectManifestResponse(typing.TypedDict, total=False): manifest: _list[ConnectAgentResource] @typing.type_check_only -class GenerateMembershipRBACRoleBindingYAMLResponse( - typing_extensions.TypedDict, total=False -): +class GenerateMembershipRBACRoleBindingYAMLResponse(typing.TypedDict, total=False): roleBindingsYaml: str @typing.type_check_only -class GkeCluster(typing_extensions.TypedDict, total=False): +class GkeCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): +class IdentityServiceAuthMethod(typing.TypedDict, total=False): azureadConfig: IdentityServiceAzureADConfig googleConfig: IdentityServiceGoogleConfig ldapConfig: IdentityServiceLdapConfig @@ -622,7 +599,7 @@ class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): samlConfig: IdentityServiceSamlConfig @typing.type_check_only -class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceAzureADConfig(typing.TypedDict, total=False): clientId: str clientSecret: str encryptedClientSecret: str @@ -632,46 +609,46 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): userClaim: str @typing.type_check_only -class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): +class IdentityServiceDiagnosticInterface(typing.TypedDict, total=False): enabled: bool expirationTime: str @typing.type_check_only -class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGoogleConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGroupConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str @typing.type_check_only -class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): +class IdentityServiceIdentityServiceOptions(typing.TypedDict, total=False): diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only -class IdentityServiceLdapConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceLdapConfig(typing.TypedDict, total=False): group: IdentityServiceGroupConfig server: IdentityServiceServerConfig serviceAccount: IdentityServiceServiceAccountConfig user: IdentityServiceUserConfig @typing.type_check_only -class IdentityServiceMembershipSpec(typing_extensions.TypedDict, total=False): +class IdentityServiceMembershipSpec(typing.TypedDict, total=False): authMethods: _list[IdentityServiceAuthMethod] identityServiceOptions: IdentityServiceIdentityServiceOptions @typing.type_check_only -class IdentityServiceMembershipState(typing_extensions.TypedDict, total=False): +class IdentityServiceMembershipState(typing.TypedDict, total=False): failureReason: str installedVersion: str memberConfig: IdentityServiceMembershipSpec - state: typing_extensions.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] + state: typing.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] @typing.type_check_only -class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceOidcConfig(typing.TypedDict, total=False): certificateAuthorityData: str clientId: str clientSecret: str @@ -688,7 +665,7 @@ class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceSamlConfig(typing.TypedDict, total=False): attributeMapping: dict[str, typing.Any] groupPrefix: str groupsAttribute: str @@ -699,30 +676,30 @@ class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceServerConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServerConfig(typing.TypedDict, total=False): certificateAuthorityData: str connectionType: str host: str @typing.type_check_only -class IdentityServiceServiceAccountConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServiceAccountConfig(typing.TypedDict, total=False): simpleBindCredentials: IdentityServiceSimpleBindCredentials @typing.type_check_only -class IdentityServiceSimpleBindCredentials(typing_extensions.TypedDict, total=False): +class IdentityServiceSimpleBindCredentials(typing.TypedDict, total=False): dn: str encryptedPassword: str password: str @typing.type_check_only -class IdentityServiceUserConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceUserConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str loginAttribute: str @typing.type_check_only -class KubernetesMetadata(typing_extensions.TypedDict, total=False): +class KubernetesMetadata(typing.TypedDict, total=False): kubernetesApiServerVersion: str memoryMb: int nodeCount: int @@ -731,89 +708,89 @@ class KubernetesMetadata(typing_extensions.TypedDict, total=False): vcpuCount: int @typing.type_check_only -class KubernetesResource(typing_extensions.TypedDict, total=False): +class KubernetesResource(typing.TypedDict, total=False): connectResources: _list[ResourceManifest] membershipCrManifest: str membershipResources: _list[ResourceManifest] resourceOptions: ResourceOptions @typing.type_check_only -class ListBoundMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListBoundMembershipsResponse(typing.TypedDict, total=False): memberships: _list[Membership] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFeaturesResponse(typing_extensions.TypedDict, total=False): +class ListFeaturesResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Feature] @typing.type_check_only -class ListFleetsResponse(typing_extensions.TypedDict, total=False): +class ListFleetsResponse(typing.TypedDict, total=False): fleets: _list[Fleet] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipBindingsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipBindingsResponse(typing.TypedDict, total=False): membershipBindings: _list[MembershipBinding] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMembershipRBACRoleBindingsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipRBACRoleBindingsResponse(typing.TypedDict, total=False): nextPageToken: str rbacrolebindings: _list[RBACRoleBinding] unreachable: _list[str] @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Membership] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): +class ListPermittedScopesResponse(typing.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] @typing.type_check_only -class ListRolloutSequencesResponse(typing_extensions.TypedDict, total=False): +class ListRolloutSequencesResponse(typing.TypedDict, total=False): nextPageToken: str rolloutSequences: _list[RolloutSequence] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] @typing.type_check_only -class ListScopeNamespacesResponse(typing_extensions.TypedDict, total=False): +class ListScopeNamespacesResponse(typing.TypedDict, total=False): nextPageToken: str scopeNamespaces: _list[Namespace] @typing.type_check_only -class ListScopeRBACRoleBindingsResponse(typing_extensions.TypedDict, total=False): +class ListScopeRBACRoleBindingsResponse(typing.TypedDict, total=False): nextPageToken: str rbacrolebindings: _list[RBACRoleBinding] @typing.type_check_only -class ListScopesResponse(typing_extensions.TypedDict, total=False): +class ListScopesResponse(typing.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -821,11 +798,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): authority: Authority - clusterTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] + clusterTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] createTime: str deleteTime: str description: str @@ -833,9 +808,7 @@ class Membership(typing_extensions.TypedDict, total=False): externalId: str labels: dict[str, typing.Any] lastConnectionTime: str - membershipType: typing_extensions.Literal[ - "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" - ] + membershipType: typing.Literal["MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT"] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -843,7 +816,7 @@ class Membership(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipBinding(typing_extensions.TypedDict, total=False): +class MembershipBinding(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -854,13 +827,13 @@ class MembershipBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipBindingLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipBindingLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class MembershipEndpoint(typing_extensions.TypedDict, total=False): +class MembershipEndpoint(typing.TypedDict, total=False): applianceCluster: ApplianceCluster edgeCluster: EdgeCluster gkeCluster: GkeCluster @@ -871,7 +844,7 @@ class MembershipEndpoint(typing_extensions.TypedDict, total=False): onPremCluster: OnPremCluster @typing.type_check_only -class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): +class MembershipFeatureSpec(typing.TypedDict, total=False): configmanagement: ConfigManagementMembershipSpec fleetobservability: FleetObservabilityMembershipSpec identityservice: IdentityServiceMembershipSpec @@ -880,7 +853,7 @@ class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): policycontroller: PolicyControllerMembershipSpec @typing.type_check_only -class MembershipFeatureState(typing_extensions.TypedDict, total=False): +class MembershipFeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeMembershipState configmanagement: ConfigManagementMembershipState @@ -892,8 +865,8 @@ class MembershipFeatureState(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityMembershipState @typing.type_check_only -class MembershipState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", @@ -903,7 +876,7 @@ class MembershipState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): cluster: str clusterHash: str kubernetesMetricsPrefix: str @@ -911,16 +884,16 @@ class MonitoringConfig(typing_extensions.TypedDict, total=False): projectId: str @typing.type_check_only -class MultiCloudCluster(typing_extensions.TypedDict, total=False): +class MultiCloudCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class MultiClusterIngressFeatureSpec(typing_extensions.TypedDict, total=False): +class MultiClusterIngressFeatureSpec(typing.TypedDict, total=False): configMembership: str @typing.type_check_only -class Namespace(typing_extensions.TypedDict, total=False): +class Namespace(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -932,22 +905,22 @@ class Namespace(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class NamespaceLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class NamespaceLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class OnPremCluster(typing_extensions.TypedDict, total=False): +class OnPremCluster(typing.TypedDict, total=False): adminCluster: bool clusterMissing: bool - clusterType: typing_extensions.Literal[ + clusterType: typing.Literal[ "CLUSTERTYPE_UNSPECIFIED", "BOOTSTRAP", "HYBRID", "STANDALONE", "USER" ] resourceLink: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -955,7 +928,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -965,9 +938,9 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OperationalState(typing_extensions.TypedDict, total=False): +class OperationalState(typing.TypedDict, total=False): reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "FLEET_FEATURE_DELETED_ERROR", "FLEET_DELETED_ERROR", @@ -977,42 +950,40 @@ class OperationalState(typing_extensions.TypedDict, total=False): "NO_CLUSTERS_IN_SEQUENCE", ] ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_CODE_UNSPECIFIED", "ACTIVE", "WARNING", "ERROR", "INITIALIZING" ] stateChangeTime: str @typing.type_check_only -class Origin(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER" - ] +class Origin(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER"] @typing.type_check_only -class PauseRolloutRequest(typing_extensions.TypedDict, total=False): ... +class PauseRolloutRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyBinding(typing_extensions.TypedDict, total=False): +class PolicyBinding(typing.TypedDict, total=False): name: str @typing.type_check_only -class PolicyControllerBundleInstallSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerBundleInstallSpec(typing.TypedDict, total=False): exemptedNamespaces: _list[str] @typing.type_check_only -class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerHubConfig(typing.TypedDict, total=False): auditIntervalSeconds: str constraintViolationLimit: str deploymentConfigs: dict[str, typing.Any] exemptableNamespaces: _list[str] - installSpec: typing_extensions.Literal[ + installSpec: typing.Literal[ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", @@ -1026,15 +997,15 @@ class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): referentialRulesEnabled: bool @typing.type_check_only -class PolicyControllerMembershipSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerMembershipSpec(typing.TypedDict, total=False): policyControllerHubConfig: PolicyControllerHubConfig version: str @typing.type_check_only -class PolicyControllerMembershipState(typing_extensions.TypedDict, total=False): +class PolicyControllerMembershipState(typing.TypedDict, total=False): componentStates: dict[str, typing.Any] policyContentState: PolicyControllerPolicyContentState - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -1048,17 +1019,17 @@ class PolicyControllerMembershipState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerMonitoringConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerMonitoringConfig(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): +class PolicyControllerOnClusterState(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -1072,53 +1043,47 @@ class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerPolicyContentSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentSpec(typing.TypedDict, total=False): bundles: dict[str, typing.Any] templateLibrary: PolicyControllerTemplateLibraryConfig @typing.type_check_only -class PolicyControllerPolicyContentState(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentState(typing.TypedDict, total=False): bundleStates: dict[str, typing.Any] referentialSyncConfigState: PolicyControllerOnClusterState templateLibraryState: PolicyControllerOnClusterState @typing.type_check_only -class PolicyControllerPolicyControllerDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class PolicyControllerPolicyControllerDeploymentConfig(typing.TypedDict, total=False): containerResources: PolicyControllerResourceRequirements - podAffinity: typing_extensions.Literal[ - "AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY" - ] + podAffinity: typing.Literal["AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY"] podAntiAffinity: bool podTolerations: _list[PolicyControllerToleration] replicaCount: str @typing.type_check_only -class PolicyControllerResourceList(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceList(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class PolicyControllerResourceRequirements(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceRequirements(typing.TypedDict, total=False): limits: PolicyControllerResourceList requests: PolicyControllerResourceList @typing.type_check_only -class PolicyControllerTemplateLibraryConfig(typing_extensions.TypedDict, total=False): - installation: typing_extensions.Literal[ - "INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL" - ] +class PolicyControllerTemplateLibraryConfig(typing.TypedDict, total=False): + installation: typing.Literal["INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL"] @typing.type_check_only -class PolicyControllerToleration(typing_extensions.TypedDict, total=False): +class PolicyControllerToleration(typing.TypedDict, total=False): effect: str key: str operator: str value: str @typing.type_check_only -class RBACRoleBinding(typing_extensions.TypedDict, total=False): +class RBACRoleBinding(typing.TypedDict, total=False): createTime: str deleteTime: str group: str @@ -1131,52 +1096,48 @@ class RBACRoleBinding(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class RBACRoleBindingActuationFeatureSpec(typing_extensions.TypedDict, total=False): +class RBACRoleBindingActuationFeatureSpec(typing.TypedDict, total=False): allowedCustomRoles: _list[str] @typing.type_check_only -class RBACRoleBindingActuationFeatureState( - typing_extensions.TypedDict, total=False -): ... +class RBACRoleBindingActuationFeatureState(typing.TypedDict, total=False): ... @typing.type_check_only -class RBACRoleBindingLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class RBACRoleBindingLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class ResourceManifest(typing_extensions.TypedDict, total=False): +class ResourceManifest(typing.TypedDict, total=False): clusterScoped: bool manifest: str @typing.type_check_only -class ResourceOptions(typing_extensions.TypedDict, total=False): +class ResourceOptions(typing.TypedDict, total=False): connectVersion: str k8sGitVersion: str k8sVersion: str v1beta1Crd: bool @typing.type_check_only -class ResumeRolloutRequest(typing_extensions.TypedDict, total=False): +class ResumeRolloutRequest(typing.TypedDict, total=False): scheduleOffset: str validateOnly: bool @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): +class Role(typing.TypedDict, total=False): customRole: str - predefinedRole: typing_extensions.Literal[ - "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" - ] + predefinedRole: typing.Literal["UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT"] @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): completeTime: str createTime: str deleteTime: str displayName: str etag: str - intent: typing_extensions.Literal[ + intent: typing.Literal[ "ROLLOUT_INTENT_UNSPECIFIED", "REGULAR_UPGRADE", "CONTROL_PLANE_PATCH_ENFORCEMENT", @@ -1187,11 +1148,11 @@ class Rollout(typing_extensions.TypedDict, total=False): name: str rolloutSequence: str stages: _list[RolloutStage] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "CANCELLED", "COMPLETED" ] stateReason: str - stateReasonType: typing_extensions.Literal[ + stateReasonType: typing.Literal[ "STATE_REASON_TYPE_UNSPECIFIED", "PAUSED_BY_USER", "PAUSED_BY_SYSTEM_CONFIG", @@ -1202,15 +1163,15 @@ class Rollout(typing_extensions.TypedDict, total=False): "CANCELLED_INCOMPATIBLE_ROLLOUT_SEQUENCE", "CANCELLED_SUPERSEDED_BY_USER_ROLLOUT", ] - trigger: typing_extensions.Literal["ROLLOUT_TRIGGER_UNSPECIFIED", "USER", "GKE"] + trigger: typing.Literal["ROLLOUT_TRIGGER_UNSPECIFIED", "USER", "GKE"] uid: str updateTime: str versionUpgrade: VersionUpgrade @typing.type_check_only -class RolloutCreationScope(typing_extensions.TypedDict, total=False): +class RolloutCreationScope(typing.TypedDict, total=False): upgradeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE_MINOR", "CONTROL_PLANE_PATCH", @@ -1220,15 +1181,15 @@ class RolloutCreationScope(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RolloutMembershipState(typing_extensions.TypedDict, total=False): +class RolloutMembershipState(typing.TypedDict, total=False): lastUpdateTime: str stageAssignment: int targets: _list[RolloutTarget] @typing.type_check_only -class RolloutSequence(typing_extensions.TypedDict, total=False): +class RolloutSequence(typing.TypedDict, total=False): autoUpgradeConfig: AutoUpgradeConfig - computedReleaseChannel: typing_extensions.Literal[ + computedReleaseChannel: typing.Literal[ "GKE_RELEASE_CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", @@ -1254,24 +1215,24 @@ class RolloutSequence(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RolloutStage(typing_extensions.TypedDict, total=False): +class RolloutStage(typing.TypedDict, total=False): clusterSelector: ClusterSelector endTime: str fleetProjects: _list[str] soakDuration: str stageNumber: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SOAKING", "COMPLETED", "PAUSED" ] @typing.type_check_only -class RolloutTarget(typing_extensions.TypedDict, total=False): +class RolloutTarget(typing.TypedDict, total=False): cluster: str nodePool: str operation: str reason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -1284,7 +1245,7 @@ class RolloutTarget(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): +class Scope(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -1295,24 +1256,22 @@ class Scope(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ScopeFeatureSpec(typing_extensions.TypedDict, total=False): ... +class ScopeFeatureSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class ScopeFeatureState(typing_extensions.TypedDict, total=False): +class ScopeFeatureState(typing.TypedDict, total=False): state: FeatureState @typing.type_check_only -class ScopeLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScopeLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class SecurityPostureConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE" - ] - vulnerabilityMode: typing_extensions.Literal[ +class SecurityPostureConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE"] + vulnerabilityMode: typing.Literal[ "VULNERABILITY_MODE_UNSPECIFIED", "VULNERABILITY_DISABLED", "VULNERABILITY_BASIC", @@ -1320,8 +1279,8 @@ class SecurityPostureConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ServiceMeshCondition(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", @@ -1382,6 +1341,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_MODERNIZED_SOAKING", "MODERNIZATION_FINALIZED", "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", "MODERNIZATION_COMPATIBLE", "MODERNIZATION_INCOMPATIBLE", "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", @@ -1389,17 +1349,15 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): ] details: str documentationLink: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshControlPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - implementation: typing_extensions.Literal[ + implementation: typing.Literal[ "IMPLEMENTATION_UNSPECIFIED", "ISTIOD", "TRAFFIC_DIRECTOR", "UPDATING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -1412,9 +1370,9 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshDataPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -1427,22 +1385,102 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshFeatureSpec(typing_extensions.TypedDict, total=False): - modernizationCompatibility: typing_extensions.Literal[ +class ServiceMeshFeatureCondition(typing.TypedDict, total=False): + code: typing.Literal[ + "CODE_UNSPECIFIED", + "MESH_IAM_PERMISSION_DENIED", + "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", + "CNI_CONFIG_UNSUPPORTED", + "GKE_SANDBOX_UNSUPPORTED", + "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", + "CNI_INSTALLATION_FAILED", + "CNI_POD_UNSCHEDULABLE", + "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", + "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", + "VPCSC_GA_SUPPORTED", + "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", + "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", + "CONFIG_APPLY_INTERNAL_ERROR", + "CONFIG_VALIDATION_ERROR", + "CONFIG_VALIDATION_WARNING", + "QUOTA_EXCEEDED_BACKEND_SERVICES", + "QUOTA_EXCEEDED_HEALTH_CHECKS", + "QUOTA_EXCEEDED_HTTP_ROUTES", + "QUOTA_EXCEEDED_TCP_ROUTES", + "QUOTA_EXCEEDED_TLS_ROUTES", + "QUOTA_EXCEEDED_TRAFFIC_POLICIES", + "QUOTA_EXCEEDED_ENDPOINT_POLICIES", + "QUOTA_EXCEEDED_GATEWAYS", + "QUOTA_EXCEEDED_MESHES", + "QUOTA_EXCEEDED_SERVER_TLS_POLICIES", + "QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", + "QUOTA_EXCEEDED_SERVICE_LB_POLICIES", + "QUOTA_EXCEEDED_HTTP_FILTERS", + "QUOTA_EXCEEDED_TCP_FILTERS", + "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "CONFIG_APPLY_BLOCKED", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", + "MISSING_CONTROL_PLANE_CONFIG", + "SHARED_VPC_MISSING_PERMISSIONS", + "REQUIRED_ORG_POLICY_DISABLED", + "MODERNIZATION_INCOMPATIBLE_POD_ANNOTATION", + "MODERNIZATION_INCOMPATIBLE_CONFIG", + "MODERNIZATION_INCOMPATIBLE_GATEWAY_POD_SCALE", + "MODERNIZATION_SCHEDULED", + "MODERNIZATION_IN_PROGRESS", + "MODERNIZATION_COMPLETED", + "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", + "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", + "MODERNIZATION_COMPATIBLE", + "MODERNIZATION_INCOMPATIBLE", + "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", + "MODERNIZATION_INCOMPATIBLE_FLEET_QUOTA", + ] + details: str + documentationLink: str + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] + +@typing.type_check_only +class ServiceMeshFeatureSpec(typing.TypedDict, total=False): + modernizationCompatibility: typing.Literal[ "MODERNIZATION_COMPATIBILITY_UNSPECIFIED", "VALIDATION_ENABLED", "VALIDATION_DISABLED", ] + modernizationStrategy: typing.Literal[ + "MODERNIZATION_STRATEGY_UNSPECIFIED", "AUTOMATIC", "DEFERRED" + ] @typing.type_check_only -class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): - configApi: typing_extensions.Literal[ +class ServiceMeshFeatureState(typing.TypedDict, total=False): + conditions: _list[ServiceMeshFeatureCondition] + +@typing.type_check_only +class ServiceMeshMembershipSpec(typing.TypedDict, total=False): + configApi: typing.Literal[ "CONFIG_API_UNSPECIFIED", "CONFIG_API_ISTIO", "CONFIG_API_GATEWAY" ] - controlPlane: typing_extensions.Literal[ + controlPlane: typing.Literal[ "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL", @@ -1450,66 +1488,62 @@ class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshMembershipState(typing_extensions.TypedDict, total=False): +class ServiceMeshMembershipState(typing.TypedDict, total=False): conditions: _list[ServiceMeshCondition] controlPlaneManagement: ServiceMeshControlPlaneManagement dataPlaneManagement: ServiceMeshDataPlaneManagement @typing.type_check_only -class ServiceMeshStatusDetails(typing_extensions.TypedDict, total=False): +class ServiceMeshStatusDetails(typing.TypedDict, total=False): code: str details: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Stage(typing_extensions.TypedDict, total=False): +class Stage(typing.TypedDict, total=False): clusterSelector: ClusterSelector fleetProjects: _list[str] soakDuration: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] +class Status(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] description: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TypeMeta(typing_extensions.TypedDict, total=False): +class TypeMeta(typing.TypedDict, total=False): apiVersion: str kind: str @typing.type_check_only -class UpgradeRolloutSequenceRequest(typing_extensions.TypedDict, total=False): +class UpgradeRolloutSequenceRequest(typing.TypedDict, total=False): force: bool - upgradeType: typing_extensions.Literal[ - "UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE", "NODE" - ] + upgradeType: typing.Literal["UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE", "NODE"] version: str @typing.type_check_only -class VersionUpgrade(typing_extensions.TypedDict, total=False): +class VersionUpgrade(typing.TypedDict, total=False): desiredVersion: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL"] @typing.type_check_only -class WorkloadIdentityFeatureSpec(typing_extensions.TypedDict, total=False): +class WorkloadIdentityFeatureSpec(typing.TypedDict, total=False): scopeTenancyPool: str @typing.type_check_only -class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityFeatureState(typing.TypedDict, total=False): namespaceStateDetails: dict[str, typing.Any] namespaceStates: dict[str, typing.Any] scopeTenancyWorkloadIdentityPool: str @@ -1517,10 +1551,8 @@ class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): workloadIdentityPoolStateDetails: dict[str, typing.Any] @typing.type_check_only -class WorkloadIdentityIdentityProviderStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityIdentityProviderStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "IDENTITY_PROVIDER_STATE_UNSPECIFIED", "IDENTITY_PROVIDER_STATE_OK", "IDENTITY_PROVIDER_STATE_ERROR", @@ -1528,22 +1560,20 @@ class WorkloadIdentityIdentityProviderStateDetail( description: str @typing.type_check_only -class WorkloadIdentityMembershipState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityMembershipState(typing.TypedDict, total=False): description: str identityProviderStateDetails: dict[str, typing.Any] @typing.type_check_only -class WorkloadIdentityNamespaceStateDetail(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class WorkloadIdentityNamespaceStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "NAMESPACE_STATE_UNSPECIFIED", "NAMESPACE_STATE_OK", "NAMESPACE_STATE_ERROR" ] description: str @typing.type_check_only -class WorkloadIdentityWorkloadIdentityPoolStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityWorkloadIdentityPoolStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", "WORKLOAD_IDENTITY_POOL_STATE_OK", "WORKLOAD_IDENTITY_POOL_STATE_ERROR", diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi index 904691a3e..109d2ab51 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi index a9b5f1502..546bff769 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppDevExperienceFeatureSpec(typing_extensions.TypedDict, total=False): ... +class AppDevExperienceFeatureSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class AppDevExperienceFeatureState(typing_extensions.TypedDict, total=False): +class AppDevExperienceFeatureState(typing.TypedDict, total=False): networkingInstallSucceeded: Status @typing.type_check_only -class ApplianceCluster(typing_extensions.TypedDict, total=False): +class ApplianceCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Authority(typing_extensions.TypedDict, total=False): +class Authority(typing.TypedDict, total=False): identityProvider: str issuer: str oidcJwks: str @@ -37,124 +35,122 @@ class Authority(typing_extensions.TypedDict, total=False): workloadIdentityPool: str @typing.type_check_only -class AutoUpgradeConfig(typing_extensions.TypedDict, total=False): +class AutoUpgradeConfig(typing.TypedDict, total=False): enforcedRollouts: dict[str, typing.Any] rolloutCreationScope: RolloutCreationScope @typing.type_check_only -class BinaryAuthorizationConfig(typing_extensions.TypedDict, total=False): - evaluationMode: typing_extensions.Literal[ +class BinaryAuthorizationConfig(typing.TypedDict, total=False): + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "DISABLED", "POLICY_BINDINGS" ] policyBindings: _list[PolicyBinding] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelRolloutRequest(typing_extensions.TypedDict, total=False): ... +class CancelRolloutRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudAuditLoggingFeatureSpec(typing_extensions.TypedDict, total=False): +class CloudAuditLoggingFeatureSpec(typing.TypedDict, total=False): allowlistedServiceAccounts: _list[str] @typing.type_check_only -class CloudBuildMembershipSpec(typing_extensions.TypedDict, total=False): - securityPolicy: typing_extensions.Literal[ +class CloudBuildMembershipSpec(typing.TypedDict, total=False): + securityPolicy: typing.Literal[ "SECURITY_POLICY_UNSPECIFIED", "NON_PRIVILEGED", "PRIVILEGED" ] version: str @typing.type_check_only -class ClusterSelector(typing_extensions.TypedDict, total=False): +class ClusterSelector(typing.TypedDict, total=False): labelSelector: str @typing.type_check_only -class ClusterUpgradeFleetSpec(typing_extensions.TypedDict, total=False): +class ClusterUpgradeFleetSpec(typing.TypedDict, total=False): gkeUpgradeOverrides: _list[ClusterUpgradeGKEUpgradeOverride] postConditions: ClusterUpgradePostConditions - upgradeEngine: typing_extensions.Literal[ + upgradeEngine: typing.Literal[ "UPGRADE_ENGINE_UNSPECIFIED", "SEQUENCING_V1", "SEQUENCING_V2" ] upstreamFleets: _list[str] @typing.type_check_only -class ClusterUpgradeFleetState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeFleetState(typing.TypedDict, total=False): downstreamFleets: _list[str] gkeState: ClusterUpgradeGKEUpgradeFeatureState ignored: dict[str, typing.Any] @typing.type_check_only -class ClusterUpgradeGKEUpgrade(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgrade(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ClusterUpgradeGKEUpgradeFeatureCondition( - typing_extensions.TypedDict, total=False -): +class ClusterUpgradeGKEUpgradeFeatureCondition(typing.TypedDict, total=False): reason: str status: str type: str updateTime: str @typing.type_check_only -class ClusterUpgradeGKEUpgradeFeatureState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeFeatureState(typing.TypedDict, total=False): conditions: _list[ClusterUpgradeGKEUpgradeFeatureCondition] upgradeState: _list[ClusterUpgradeGKEUpgradeState] @typing.type_check_only -class ClusterUpgradeGKEUpgradeOverride(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeOverride(typing.TypedDict, total=False): postConditions: ClusterUpgradePostConditions upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeState(typing.TypedDict, total=False): stats: dict[str, typing.Any] status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeIgnoredMembership(typing_extensions.TypedDict, total=False): +class ClusterUpgradeIgnoredMembership(typing.TypedDict, total=False): ignoredTime: str reason: str @typing.type_check_only -class ClusterUpgradeMembershipGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipGKEUpgradeState(typing.TypedDict, total=False): status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeMembershipState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipState(typing.TypedDict, total=False): ignored: ClusterUpgradeIgnoredMembership scopes: _list[str] upgrades: _list[ClusterUpgradeMembershipGKEUpgradeState] @typing.type_check_only -class ClusterUpgradePostConditions(typing_extensions.TypedDict, total=False): +class ClusterUpgradePostConditions(typing.TypedDict, total=False): soaking: str @typing.type_check_only -class ClusterUpgradeScopeSpec(typing_extensions.TypedDict, total=False): +class ClusterUpgradeScopeSpec(typing.TypedDict, total=False): gkeUpgradeOverrides: _list[ClusterUpgradeGKEUpgradeOverride] postConditions: ClusterUpgradePostConditions upstreamScopes: _list[str] @typing.type_check_only -class ClusterUpgradeScopeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeScopeState(typing.TypedDict, total=False): downstreamScopes: _list[str] gkeState: ClusterUpgradeGKEUpgradeFeatureState ignored: dict[str, typing.Any] @typing.type_check_only -class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ClusterUpgradeUpgradeStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INELIGIBLE", "PENDING", @@ -167,7 +163,7 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CommonFeatureSpec(typing_extensions.TypedDict, total=False): +class CommonFeatureSpec(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureSpec cloudauditlogging: CloudAuditLoggingFeatureSpec clusterupgrade: ClusterUpgradeFleetSpec @@ -181,7 +177,7 @@ class CommonFeatureSpec(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityFeatureSpec @typing.type_check_only -class CommonFeatureState(typing_extensions.TypedDict, total=False): +class CommonFeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeFleetState fleetobservability: FleetObservabilityFeatureState @@ -192,38 +188,38 @@ class CommonFeatureState(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityFeatureState @typing.type_check_only -class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=False): +class CommonFleetDefaultMemberConfigSpec(typing.TypedDict, total=False): configmanagement: ConfigManagementMembershipSpec identityservice: IdentityServiceMembershipSpec mesh: ServiceMeshMembershipSpec policycontroller: PolicyControllerMembershipSpec @typing.type_check_only -class CompliancePostureConfig(typing_extensions.TypedDict, total=False): +class CompliancePostureConfig(typing.TypedDict, total=False): complianceStandards: _list[ComplianceStandard] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class ComplianceStandard(typing_extensions.TypedDict, total=False): +class ComplianceStandard(typing.TypedDict, total=False): standard: str @typing.type_check_only -class ConfigManagementBinauthzConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ConfigManagementBinauthzState(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzState(typing.TypedDict, total=False): version: ConfigManagementBinauthzVersion - webhook: typing_extensions.Literal[ + webhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzVersion(typing.TypedDict, total=False): webhookVersion: str @typing.type_check_only -class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSync(typing.TypedDict, total=False): deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig @@ -234,64 +230,62 @@ class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): stopSyncing: bool @typing.type_check_only -class ConfigManagementConfigSyncDeploymentState( - typing_extensions.TypedDict, total=False -): - admissionWebhook: typing_extensions.Literal[ +class ConfigManagementConfigSyncDeploymentState(typing.TypedDict, total=False): + admissionWebhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gitSync: typing_extensions.Literal[ + gitSync: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - importer: typing_extensions.Literal[ + importer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - monitor: typing_extensions.Literal[ + monitor: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - otelCollector: typing_extensions.Literal[ + otelCollector: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - reconcilerManager: typing_extensions.Literal[ + reconcilerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - resourceGroupControllerManager: typing_extensions.Literal[ + resourceGroupControllerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - rootReconciler: typing_extensions.Literal[ + rootReconciler: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - syncer: typing_extensions.Literal[ + syncer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementConfigSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): - clusterLevelStopSyncingState: typing_extensions.Literal[ +class ConfigManagementConfigSyncState(typing.TypedDict, total=False): + clusterLevelStopSyncingState: typing.Literal[ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", "PENDING", "STOPPED" ] crCount: int deploymentState: ConfigManagementConfigSyncDeploymentState errors: _list[ConfigManagementConfigSyncError] - reposyncCrd: typing_extensions.Literal[ + reposyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - rootsyncCrd: typing_extensions.Literal[ + rootsyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", "CONFIG_SYNC_INSTALLED", @@ -302,7 +296,7 @@ class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): version: ConfigManagementConfigSyncVersion @typing.type_check_only -class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncVersion(typing.TypedDict, total=False): admissionWebhook: str gitSync: str importer: str @@ -314,7 +308,7 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False syncer: str @typing.type_check_only -class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementContainerOverride(typing.TypedDict, total=False): containerName: str cpuLimit: str cpuRequest: str @@ -322,34 +316,32 @@ class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False memoryRequest: str @typing.type_check_only -class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementDeploymentOverride(typing.TypedDict, total=False): containers: _list[ConfigManagementContainerOverride] deploymentName: str deploymentNamespace: str @typing.type_check_only -class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): +class ConfigManagementErrorResource(typing.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind resourceName: str resourceNamespace: str sourcePath: str @typing.type_check_only -class ConfigManagementGatekeeperDeploymentState( - typing_extensions.TypedDict, total=False -): - gatekeeperAudit: typing_extensions.Literal[ +class ConfigManagementGatekeeperDeploymentState(typing.TypedDict, total=False): + gatekeeperAudit: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperControllerManagerState: typing_extensions.Literal[ + gatekeeperControllerManagerState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperMutation: typing_extensions.Literal[ + gatekeeperMutation: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementGitConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str httpsProxy: str policyDir: str @@ -360,62 +352,54 @@ class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementGroupVersionKind(typing_extensions.TypedDict, total=False): +class ConfigManagementGroupVersionKind(typing.TypedDict, total=False): group: str kind: str version: str @typing.type_check_only -class ConfigManagementHierarchyControllerConfig( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerConfig(typing.TypedDict, total=False): enableHierarchicalResourceQuota: bool enablePodTreeLabels: bool enabled: bool @typing.type_check_only -class ConfigManagementHierarchyControllerDeploymentState( - typing_extensions.TypedDict, total=False -): - extension: typing_extensions.Literal[ +class ConfigManagementHierarchyControllerDeploymentState(typing.TypedDict, total=False): + extension: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - hnc: typing_extensions.Literal[ + hnc: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementHierarchyControllerState( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerState(typing.TypedDict, total=False): state: ConfigManagementHierarchyControllerDeploymentState version: ConfigManagementHierarchyControllerVersion @typing.type_check_only -class ConfigManagementHierarchyControllerVersion( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerVersion(typing.TypedDict, total=False): extension: str hnc: str @typing.type_check_only -class ConfigManagementInstallError(typing_extensions.TypedDict, total=False): +class ConfigManagementInstallError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementMembershipSpec(typing_extensions.TypedDict, total=False): +class ConfigManagementMembershipSpec(typing.TypedDict, total=False): binauthz: ConfigManagementBinauthzConfig cluster: str configSync: ConfigManagementConfigSync hierarchyController: ConfigManagementHierarchyControllerConfig - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" ] policyController: ConfigManagementPolicyController version: str @typing.type_check_only -class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): +class ConfigManagementMembershipState(typing.TypedDict, total=False): binauthzState: ConfigManagementBinauthzState clusterName: str configSyncState: ConfigManagementConfigSyncState @@ -426,7 +410,7 @@ class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): policyControllerState: ConfigManagementPolicyControllerState @typing.type_check_only -class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementOciConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str policyDir: str secretType: str @@ -434,15 +418,15 @@ class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementOperatorState(typing_extensions.TypedDict, total=False): - deploymentState: typing_extensions.Literal[ +class ConfigManagementOperatorState(typing.TypedDict, total=False): + deploymentState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] errors: _list[ConfigManagementInstallError] version: str @typing.type_check_only -class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyController(typing.TypedDict, total=False): auditIntervalSeconds: str enabled: bool exemptableNamespaces: _list[str] @@ -454,41 +438,37 @@ class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class ConfigManagementPolicyControllerMigration( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMigration(typing.TypedDict, total=False): copyTime: str - stage: typing_extensions.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] + stage: typing.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] @typing.type_check_only -class ConfigManagementPolicyControllerMonitoring( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMonitoring(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class ConfigManagementPolicyControllerState(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerState(typing.TypedDict, total=False): deploymentState: ConfigManagementGatekeeperDeploymentState migration: ConfigManagementPolicyControllerMigration version: ConfigManagementPolicyControllerVersion @typing.type_check_only -class ConfigManagementPolicyControllerVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerVersion(typing.TypedDict, total=False): version: str @typing.type_check_only -class ConfigManagementSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementSyncError(typing.TypedDict, total=False): code: str errorMessage: str errorResources: _list[ConfigManagementErrorResource] @typing.type_check_only -class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConfigManagementSyncState(typing.TypedDict, total=False): + code: typing.Literal[ "SYNC_CODE_UNSPECIFIED", "SYNCED", "PENDING", @@ -506,36 +486,36 @@ class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): syncToken: str @typing.type_check_only -class ConnectAgentResource(typing_extensions.TypedDict, total=False): +class ConnectAgentResource(typing.TypedDict, total=False): manifest: str type: TypeMeta @typing.type_check_only -class DataplaneV2FeatureSpec(typing_extensions.TypedDict, total=False): +class DataplaneV2FeatureSpec(typing.TypedDict, total=False): enableEncryption: bool @typing.type_check_only -class DefaultClusterConfig(typing_extensions.TypedDict, total=False): +class DefaultClusterConfig(typing.TypedDict, total=False): binaryAuthorizationConfig: BinaryAuthorizationConfig compliancePostureConfig: CompliancePostureConfig securityPostureConfig: SecurityPostureConfig @typing.type_check_only -class EdgeCluster(typing_extensions.TypedDict, total=False): +class EdgeCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): createTime: str deleteTime: str fleetDefaultMemberConfig: CommonFleetDefaultMemberConfigSpec @@ -552,8 +532,8 @@ class Feature(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FeatureResourceState(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class FeatureResourceState(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLING", "ACTIVE", @@ -563,9 +543,9 @@ class FeatureResourceState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeatureSpec(typing_extensions.TypedDict, total=False): +class FeatureSpec(typing.TypedDict, total=False): defaultConfig: MembershipSpec - provisionGoogleCa: typing_extensions.Literal[ + provisionGoogleCa: typing.Literal[ "GOOGLE_CA_PROVISIONING_UNSPECIFIED", "DISABLED", "ENABLED", @@ -574,13 +554,13 @@ class FeatureSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeatureState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] +class FeatureState(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] description: str updateTime: str @typing.type_check_only -class Fleet(typing_extensions.TypedDict, total=False): +class Fleet(typing.TypedDict, total=False): createTime: str defaultClusterConfig: DefaultClusterConfig deleteTime: str @@ -592,92 +572,88 @@ class Fleet(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FleetLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class FleetLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class FleetObservabilityFeatureError(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureError(typing.TypedDict, total=False): code: str description: str @typing.type_check_only -class FleetObservabilityFeatureSpec(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureSpec(typing.TypedDict, total=False): loggingConfig: FleetObservabilityLoggingConfig @typing.type_check_only -class FleetObservabilityFeatureState(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureState(typing.TypedDict, total=False): logging: FleetObservabilityFleetObservabilityLoggingState monitoring: FleetObservabilityFleetObservabilityMonitoringState @typing.type_check_only class FleetObservabilityFleetObservabilityBaseFeatureState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "ERROR"] + code: typing.Literal["CODE_UNSPECIFIED", "OK", "ERROR"] errors: _list[FleetObservabilityFeatureError] @typing.type_check_only -class FleetObservabilityFleetObservabilityLoggingState( - typing_extensions.TypedDict, total=False -): +class FleetObservabilityFleetObservabilityLoggingState(typing.TypedDict, total=False): defaultLog: FleetObservabilityFleetObservabilityBaseFeatureState scopeLog: FleetObservabilityFleetObservabilityBaseFeatureState @typing.type_check_only class FleetObservabilityFleetObservabilityMonitoringState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): state: FleetObservabilityFleetObservabilityBaseFeatureState @typing.type_check_only -class FleetObservabilityLoggingConfig(typing_extensions.TypedDict, total=False): +class FleetObservabilityLoggingConfig(typing.TypedDict, total=False): defaultConfig: FleetObservabilityRoutingConfig fleetScopeLogsConfig: FleetObservabilityRoutingConfig @typing.type_check_only -class FleetObservabilityMembershipSpec(typing_extensions.TypedDict, total=False): ... +class FleetObservabilityMembershipSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class FleetObservabilityMembershipState(typing_extensions.TypedDict, total=False): ... +class FleetObservabilityMembershipState(typing.TypedDict, total=False): ... @typing.type_check_only -class FleetObservabilityRoutingConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] +class FleetObservabilityRoutingConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] @typing.type_check_only -class ForceCompleteRolloutStageRequest(typing_extensions.TypedDict, total=False): +class ForceCompleteRolloutStageRequest(typing.TypedDict, total=False): stageNumber: int @typing.type_check_only -class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): +class GenerateConnectManifestResponse(typing.TypedDict, total=False): manifest: _list[ConnectAgentResource] @typing.type_check_only -class GenerateExclusivityManifestResponse(typing_extensions.TypedDict, total=False): +class GenerateExclusivityManifestResponse(typing.TypedDict, total=False): crManifest: str crdManifest: str @typing.type_check_only -class GenerateMembershipRBACRoleBindingYAMLResponse( - typing_extensions.TypedDict, total=False -): +class GenerateMembershipRBACRoleBindingYAMLResponse(typing.TypedDict, total=False): roleBindingsYaml: str @typing.type_check_only -class GkeCluster(typing_extensions.TypedDict, total=False): +class GkeCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): +class IdentityServiceAuthMethod(typing.TypedDict, total=False): azureadConfig: IdentityServiceAzureADConfig googleConfig: IdentityServiceGoogleConfig ldapConfig: IdentityServiceLdapConfig @@ -687,7 +663,7 @@ class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): samlConfig: IdentityServiceSamlConfig @typing.type_check_only -class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceAzureADConfig(typing.TypedDict, total=False): clientId: str clientSecret: str encryptedClientSecret: str @@ -697,46 +673,46 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): userClaim: str @typing.type_check_only -class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): +class IdentityServiceDiagnosticInterface(typing.TypedDict, total=False): enabled: bool expirationTime: str @typing.type_check_only -class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGoogleConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGroupConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str @typing.type_check_only -class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): +class IdentityServiceIdentityServiceOptions(typing.TypedDict, total=False): diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only -class IdentityServiceLdapConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceLdapConfig(typing.TypedDict, total=False): group: IdentityServiceGroupConfig server: IdentityServiceServerConfig serviceAccount: IdentityServiceServiceAccountConfig user: IdentityServiceUserConfig @typing.type_check_only -class IdentityServiceMembershipSpec(typing_extensions.TypedDict, total=False): +class IdentityServiceMembershipSpec(typing.TypedDict, total=False): authMethods: _list[IdentityServiceAuthMethod] identityServiceOptions: IdentityServiceIdentityServiceOptions @typing.type_check_only -class IdentityServiceMembershipState(typing_extensions.TypedDict, total=False): +class IdentityServiceMembershipState(typing.TypedDict, total=False): failureReason: str installedVersion: str memberConfig: IdentityServiceMembershipSpec - state: typing_extensions.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] + state: typing.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] @typing.type_check_only -class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceOidcConfig(typing.TypedDict, total=False): certificateAuthorityData: str clientId: str clientSecret: str @@ -753,7 +729,7 @@ class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceSamlConfig(typing.TypedDict, total=False): attributeMapping: dict[str, typing.Any] groupPrefix: str groupsAttribute: str @@ -764,30 +740,30 @@ class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceServerConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServerConfig(typing.TypedDict, total=False): certificateAuthorityData: str connectionType: str host: str @typing.type_check_only -class IdentityServiceServiceAccountConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServiceAccountConfig(typing.TypedDict, total=False): simpleBindCredentials: IdentityServiceSimpleBindCredentials @typing.type_check_only -class IdentityServiceSimpleBindCredentials(typing_extensions.TypedDict, total=False): +class IdentityServiceSimpleBindCredentials(typing.TypedDict, total=False): dn: str encryptedPassword: str password: str @typing.type_check_only -class IdentityServiceUserConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceUserConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str loginAttribute: str @typing.type_check_only -class KubernetesMetadata(typing_extensions.TypedDict, total=False): +class KubernetesMetadata(typing.TypedDict, total=False): kubernetesApiServerVersion: str memoryMb: int nodeCount: int @@ -796,95 +772,95 @@ class KubernetesMetadata(typing_extensions.TypedDict, total=False): vcpuCount: int @typing.type_check_only -class KubernetesResource(typing_extensions.TypedDict, total=False): +class KubernetesResource(typing.TypedDict, total=False): connectResources: _list[ResourceManifest] membershipCrManifest: str membershipResources: _list[ResourceManifest] resourceOptions: ResourceOptions @typing.type_check_only -class ListAdminClusterMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListAdminClusterMembershipsResponse(typing.TypedDict, total=False): adminClusterMemberships: _list[Membership] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBoundMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListBoundMembershipsResponse(typing.TypedDict, total=False): memberships: _list[Membership] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFeaturesResponse(typing_extensions.TypedDict, total=False): +class ListFeaturesResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Feature] @typing.type_check_only -class ListFleetsResponse(typing_extensions.TypedDict, total=False): +class ListFleetsResponse(typing.TypedDict, total=False): fleets: _list[Fleet] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipBindingsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipBindingsResponse(typing.TypedDict, total=False): membershipBindings: _list[MembershipBinding] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMembershipRBACRoleBindingsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipRBACRoleBindingsResponse(typing.TypedDict, total=False): nextPageToken: str rbacrolebindings: _list[RBACRoleBinding] unreachable: _list[str] @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Membership] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): +class ListPermittedScopesResponse(typing.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] @typing.type_check_only -class ListRolloutSequencesResponse(typing_extensions.TypedDict, total=False): +class ListRolloutSequencesResponse(typing.TypedDict, total=False): nextPageToken: str rolloutSequences: _list[RolloutSequence] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] @typing.type_check_only -class ListScopeNamespacesResponse(typing_extensions.TypedDict, total=False): +class ListScopeNamespacesResponse(typing.TypedDict, total=False): nextPageToken: str scopeNamespaces: _list[Namespace] @typing.type_check_only -class ListScopeRBACRoleBindingsResponse(typing_extensions.TypedDict, total=False): +class ListScopeRBACRoleBindingsResponse(typing.TypedDict, total=False): nextPageToken: str rbacrolebindings: _list[RBACRoleBinding] @typing.type_check_only -class ListScopesResponse(typing_extensions.TypedDict, total=False): +class ListScopesResponse(typing.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -892,11 +868,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): authority: Authority - clusterTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] + clusterTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] createTime: str deleteTime: str description: str @@ -904,9 +878,7 @@ class Membership(typing_extensions.TypedDict, total=False): externalId: str labels: dict[str, typing.Any] lastConnectionTime: str - membershipType: typing_extensions.Literal[ - "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" - ] + membershipType: typing.Literal["MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT"] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -914,7 +886,7 @@ class Membership(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipBinding(typing_extensions.TypedDict, total=False): +class MembershipBinding(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -925,13 +897,13 @@ class MembershipBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipBindingLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipBindingLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class MembershipEndpoint(typing_extensions.TypedDict, total=False): +class MembershipEndpoint(typing.TypedDict, total=False): applianceCluster: ApplianceCluster edgeCluster: EdgeCluster gkeCluster: GkeCluster @@ -942,7 +914,7 @@ class MembershipEndpoint(typing_extensions.TypedDict, total=False): onPremCluster: OnPremCluster @typing.type_check_only -class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): +class MembershipFeatureSpec(typing.TypedDict, total=False): cloudbuild: CloudBuildMembershipSpec configmanagement: ConfigManagementMembershipSpec fleetobservability: FleetObservabilityMembershipSpec @@ -954,7 +926,7 @@ class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): workloadcertificate: MembershipSpec @typing.type_check_only -class MembershipFeatureState(typing_extensions.TypedDict, total=False): +class MembershipFeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeMembershipState configmanagement: ConfigManagementMembershipState @@ -968,14 +940,14 @@ class MembershipFeatureState(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityMembershipState @typing.type_check_only -class MembershipSpec(typing_extensions.TypedDict, total=False): - certificateManagement: typing_extensions.Literal[ +class MembershipSpec(typing.TypedDict, total=False): + certificateManagement: typing.Literal[ "CERTIFICATE_MANAGEMENT_UNSPECIFIED", "DISABLED", "ENABLED" ] @typing.type_check_only -class MembershipState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", @@ -985,12 +957,12 @@ class MembershipState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MeteringMembershipState(typing_extensions.TypedDict, total=False): +class MeteringMembershipState(typing.TypedDict, total=False): lastMeasurementTime: str preciseLastMeasuredClusterVcpuCapacity: float @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): cluster: str clusterHash: str kubernetesMetricsPrefix: str @@ -998,19 +970,17 @@ class MonitoringConfig(typing_extensions.TypedDict, total=False): projectId: str @typing.type_check_only -class MultiCloudCluster(typing_extensions.TypedDict, total=False): +class MultiCloudCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class MultiClusterIngressFeatureSpec(typing_extensions.TypedDict, total=False): - billing: typing_extensions.Literal[ - "BILLING_UNSPECIFIED", "PAY_AS_YOU_GO", "ANTHOS_LICENSE" - ] +class MultiClusterIngressFeatureSpec(typing.TypedDict, total=False): + billing: typing.Literal["BILLING_UNSPECIFIED", "PAY_AS_YOU_GO", "ANTHOS_LICENSE"] configMembership: str @typing.type_check_only -class Namespace(typing_extensions.TypedDict, total=False): +class Namespace(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -1022,39 +992,39 @@ class Namespace(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class NamespaceActuationFeatureSpec(typing_extensions.TypedDict, total=False): - actuationMode: typing_extensions.Literal[ +class NamespaceActuationFeatureSpec(typing.TypedDict, total=False): + actuationMode: typing.Literal[ "ACTUATION_MODE_UNSPECIFIED", "ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED", "ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS", ] @typing.type_check_only -class NamespaceActuationFeatureState(typing_extensions.TypedDict, total=False): ... +class NamespaceActuationFeatureState(typing.TypedDict, total=False): ... @typing.type_check_only -class NamespaceActuationMembershipSpec(typing_extensions.TypedDict, total=False): ... +class NamespaceActuationMembershipSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class NamespaceActuationMembershipState(typing_extensions.TypedDict, total=False): ... +class NamespaceActuationMembershipState(typing.TypedDict, total=False): ... @typing.type_check_only -class NamespaceLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class NamespaceLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class OnPremCluster(typing_extensions.TypedDict, total=False): +class OnPremCluster(typing.TypedDict, total=False): adminCluster: bool clusterMissing: bool - clusterType: typing_extensions.Literal[ + clusterType: typing.Literal[ "CLUSTERTYPE_UNSPECIFIED", "BOOTSTRAP", "HYBRID", "STANDALONE", "USER" ] resourceLink: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -1062,7 +1032,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -1072,9 +1042,9 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OperationalState(typing_extensions.TypedDict, total=False): +class OperationalState(typing.TypedDict, total=False): reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "FLEET_FEATURE_DELETED_ERROR", "FLEET_DELETED_ERROR", @@ -1084,42 +1054,40 @@ class OperationalState(typing_extensions.TypedDict, total=False): "NO_CLUSTERS_IN_SEQUENCE", ] ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_CODE_UNSPECIFIED", "ACTIVE", "WARNING", "ERROR", "INITIALIZING" ] stateChangeTime: str @typing.type_check_only -class Origin(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER" - ] +class Origin(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER"] @typing.type_check_only -class PauseRolloutRequest(typing_extensions.TypedDict, total=False): ... +class PauseRolloutRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyBinding(typing_extensions.TypedDict, total=False): +class PolicyBinding(typing.TypedDict, total=False): name: str @typing.type_check_only -class PolicyControllerBundleInstallSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerBundleInstallSpec(typing.TypedDict, total=False): exemptedNamespaces: _list[str] @typing.type_check_only -class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerHubConfig(typing.TypedDict, total=False): auditIntervalSeconds: str constraintViolationLimit: str deploymentConfigs: dict[str, typing.Any] exemptableNamespaces: _list[str] - installSpec: typing_extensions.Literal[ + installSpec: typing.Literal[ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", @@ -1133,15 +1101,15 @@ class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): referentialRulesEnabled: bool @typing.type_check_only -class PolicyControllerMembershipSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerMembershipSpec(typing.TypedDict, total=False): policyControllerHubConfig: PolicyControllerHubConfig version: str @typing.type_check_only -class PolicyControllerMembershipState(typing_extensions.TypedDict, total=False): +class PolicyControllerMembershipState(typing.TypedDict, total=False): componentStates: dict[str, typing.Any] policyContentState: PolicyControllerPolicyContentState - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -1155,17 +1123,17 @@ class PolicyControllerMembershipState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerMonitoringConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerMonitoringConfig(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): +class PolicyControllerOnClusterState(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -1179,53 +1147,47 @@ class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerPolicyContentSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentSpec(typing.TypedDict, total=False): bundles: dict[str, typing.Any] templateLibrary: PolicyControllerTemplateLibraryConfig @typing.type_check_only -class PolicyControllerPolicyContentState(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentState(typing.TypedDict, total=False): bundleStates: dict[str, typing.Any] referentialSyncConfigState: PolicyControllerOnClusterState templateLibraryState: PolicyControllerOnClusterState @typing.type_check_only -class PolicyControllerPolicyControllerDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class PolicyControllerPolicyControllerDeploymentConfig(typing.TypedDict, total=False): containerResources: PolicyControllerResourceRequirements - podAffinity: typing_extensions.Literal[ - "AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY" - ] + podAffinity: typing.Literal["AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY"] podAntiAffinity: bool podTolerations: _list[PolicyControllerToleration] replicaCount: str @typing.type_check_only -class PolicyControllerResourceList(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceList(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class PolicyControllerResourceRequirements(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceRequirements(typing.TypedDict, total=False): limits: PolicyControllerResourceList requests: PolicyControllerResourceList @typing.type_check_only -class PolicyControllerTemplateLibraryConfig(typing_extensions.TypedDict, total=False): - installation: typing_extensions.Literal[ - "INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL" - ] +class PolicyControllerTemplateLibraryConfig(typing.TypedDict, total=False): + installation: typing.Literal["INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL"] @typing.type_check_only -class PolicyControllerToleration(typing_extensions.TypedDict, total=False): +class PolicyControllerToleration(typing.TypedDict, total=False): effect: str key: str operator: str value: str @typing.type_check_only -class RBACRoleBinding(typing_extensions.TypedDict, total=False): +class RBACRoleBinding(typing.TypedDict, total=False): createTime: str deleteTime: str group: str @@ -1238,52 +1200,48 @@ class RBACRoleBinding(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class RBACRoleBindingActuationFeatureSpec(typing_extensions.TypedDict, total=False): +class RBACRoleBindingActuationFeatureSpec(typing.TypedDict, total=False): allowedCustomRoles: _list[str] @typing.type_check_only -class RBACRoleBindingActuationFeatureState( - typing_extensions.TypedDict, total=False -): ... +class RBACRoleBindingActuationFeatureState(typing.TypedDict, total=False): ... @typing.type_check_only -class RBACRoleBindingLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class RBACRoleBindingLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class ResourceManifest(typing_extensions.TypedDict, total=False): +class ResourceManifest(typing.TypedDict, total=False): clusterScoped: bool manifest: str @typing.type_check_only -class ResourceOptions(typing_extensions.TypedDict, total=False): +class ResourceOptions(typing.TypedDict, total=False): connectVersion: str k8sGitVersion: str k8sVersion: str v1beta1Crd: bool @typing.type_check_only -class ResumeRolloutRequest(typing_extensions.TypedDict, total=False): +class ResumeRolloutRequest(typing.TypedDict, total=False): scheduleOffset: str validateOnly: bool @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): +class Role(typing.TypedDict, total=False): customRole: str - predefinedRole: typing_extensions.Literal[ - "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" - ] + predefinedRole: typing.Literal["UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT"] @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): completeTime: str createTime: str deleteTime: str displayName: str etag: str - intent: typing_extensions.Literal[ + intent: typing.Literal[ "ROLLOUT_INTENT_UNSPECIFIED", "REGULAR_UPGRADE", "CONTROL_PLANE_PATCH_ENFORCEMENT", @@ -1294,11 +1252,11 @@ class Rollout(typing_extensions.TypedDict, total=False): name: str rolloutSequence: str stages: _list[RolloutStage] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "CANCELLED", "COMPLETED" ] stateReason: str - stateReasonType: typing_extensions.Literal[ + stateReasonType: typing.Literal[ "STATE_REASON_TYPE_UNSPECIFIED", "PAUSED_BY_USER", "PAUSED_BY_SYSTEM_CONFIG", @@ -1309,15 +1267,15 @@ class Rollout(typing_extensions.TypedDict, total=False): "CANCELLED_INCOMPATIBLE_ROLLOUT_SEQUENCE", "CANCELLED_SUPERSEDED_BY_USER_ROLLOUT", ] - trigger: typing_extensions.Literal["ROLLOUT_TRIGGER_UNSPECIFIED", "USER", "GKE"] + trigger: typing.Literal["ROLLOUT_TRIGGER_UNSPECIFIED", "USER", "GKE"] uid: str updateTime: str versionUpgrade: VersionUpgrade @typing.type_check_only -class RolloutCreationScope(typing_extensions.TypedDict, total=False): +class RolloutCreationScope(typing.TypedDict, total=False): upgradeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE_MINOR", "CONTROL_PLANE_PATCH", @@ -1327,15 +1285,15 @@ class RolloutCreationScope(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RolloutMembershipState(typing_extensions.TypedDict, total=False): +class RolloutMembershipState(typing.TypedDict, total=False): lastUpdateTime: str stageAssignment: int targets: _list[RolloutTarget] @typing.type_check_only -class RolloutSequence(typing_extensions.TypedDict, total=False): +class RolloutSequence(typing.TypedDict, total=False): autoUpgradeConfig: AutoUpgradeConfig - computedReleaseChannel: typing_extensions.Literal[ + computedReleaseChannel: typing.Literal[ "GKE_RELEASE_CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", @@ -1361,24 +1319,24 @@ class RolloutSequence(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RolloutStage(typing_extensions.TypedDict, total=False): +class RolloutStage(typing.TypedDict, total=False): clusterSelector: ClusterSelector endTime: str fleetProjects: _list[str] soakDuration: str stageNumber: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SOAKING", "COMPLETED", "PAUSED" ] @typing.type_check_only -class RolloutTarget(typing_extensions.TypedDict, total=False): +class RolloutTarget(typing.TypedDict, total=False): cluster: str nodePool: str operation: str reason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -1391,7 +1349,7 @@ class RolloutTarget(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): +class Scope(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -1402,26 +1360,24 @@ class Scope(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ScopeFeatureSpec(typing_extensions.TypedDict, total=False): +class ScopeFeatureSpec(typing.TypedDict, total=False): clusterupgrade: ClusterUpgradeScopeSpec @typing.type_check_only -class ScopeFeatureState(typing_extensions.TypedDict, total=False): +class ScopeFeatureState(typing.TypedDict, total=False): clusterupgrade: ClusterUpgradeScopeState state: FeatureState @typing.type_check_only -class ScopeLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScopeLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class SecurityPostureConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE" - ] - vulnerabilityMode: typing_extensions.Literal[ +class SecurityPostureConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE"] + vulnerabilityMode: typing.Literal[ "VULNERABILITY_MODE_UNSPECIFIED", "VULNERABILITY_DISABLED", "VULNERABILITY_BASIC", @@ -1429,21 +1385,21 @@ class SecurityPostureConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshAnalysisMessage(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessage(typing.TypedDict, total=False): args: dict[str, typing.Any] description: str messageBase: ServiceMeshAnalysisMessageBase resourcePaths: _list[str] @typing.type_check_only -class ServiceMeshAnalysisMessageBase(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessageBase(typing.TypedDict, total=False): documentationUrl: str - level: typing_extensions.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] + level: typing.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] type: ServiceMeshType @typing.type_check_only -class ServiceMeshCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ServiceMeshCondition(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", @@ -1504,6 +1460,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_MODERNIZED_SOAKING", "MODERNIZATION_FINALIZED", "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", "MODERNIZATION_COMPATIBLE", "MODERNIZATION_INCOMPATIBLE", "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", @@ -1511,17 +1468,15 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): ] details: str documentationLink: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshControlPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - implementation: typing_extensions.Literal[ + implementation: typing.Literal[ "IMPLEMENTATION_UNSPECIFIED", "ISTIOD", "TRAFFIC_DIRECTOR", "UPDATING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -1534,9 +1489,9 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshDataPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -1549,8 +1504,8 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshFeatureCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ServiceMeshFeatureCondition(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", @@ -1611,6 +1566,7 @@ class ServiceMeshFeatureCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_MODERNIZED_SOAKING", "MODERNIZATION_FINALIZED", "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", "MODERNIZATION_COMPATIBLE", "MODERNIZATION_INCOMPATIBLE", "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", @@ -1618,35 +1574,34 @@ class ServiceMeshFeatureCondition(typing_extensions.TypedDict, total=False): ] details: str documentationLink: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ServiceMeshFeatureSpec(typing_extensions.TypedDict, total=False): - modernizationCompatibility: typing_extensions.Literal[ +class ServiceMeshFeatureSpec(typing.TypedDict, total=False): + modernizationCompatibility: typing.Literal[ "MODERNIZATION_COMPATIBILITY_UNSPECIFIED", "VALIDATION_ENABLED", "VALIDATION_DISABLED", ] + modernizationStrategy: typing.Literal[ + "MODERNIZATION_STRATEGY_UNSPECIFIED", "AUTOMATIC", "DEFERRED" + ] @typing.type_check_only -class ServiceMeshFeatureState(typing_extensions.TypedDict, total=False): +class ServiceMeshFeatureState(typing.TypedDict, total=False): analysisMessages: _list[ServiceMeshAnalysisMessage] conditions: _list[ServiceMeshFeatureCondition] @typing.type_check_only -class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): - configApi: typing_extensions.Literal[ +class ServiceMeshMembershipSpec(typing.TypedDict, total=False): + configApi: typing.Literal[ "CONFIG_API_UNSPECIFIED", "CONFIG_API_ISTIO", "CONFIG_API_GATEWAY" ] - controlPlane: typing_extensions.Literal[ + controlPlane: typing.Literal[ "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - defaultChannel: typing_extensions.Literal[ - "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" - ] - management: typing_extensions.Literal[ + defaultChannel: typing.Literal["CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE"] + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL", @@ -1654,7 +1609,7 @@ class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshMembershipState(typing_extensions.TypedDict, total=False): +class ServiceMeshMembershipState(typing.TypedDict, total=False): analysisMessages: _list[ServiceMeshAnalysisMessage] conditions: _list[ServiceMeshCondition] configApiVersion: str @@ -1662,70 +1617,68 @@ class ServiceMeshMembershipState(typing_extensions.TypedDict, total=False): dataPlaneManagement: ServiceMeshDataPlaneManagement @typing.type_check_only -class ServiceMeshStatusDetails(typing_extensions.TypedDict, total=False): +class ServiceMeshStatusDetails(typing.TypedDict, total=False): code: str details: str @typing.type_check_only -class ServiceMeshType(typing_extensions.TypedDict, total=False): +class ServiceMeshType(typing.TypedDict, total=False): code: str displayName: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Stage(typing_extensions.TypedDict, total=False): +class Stage(typing.TypedDict, total=False): clusterSelector: ClusterSelector fleetProjects: _list[str] soakDuration: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] +class Status(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] description: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TypeMeta(typing_extensions.TypedDict, total=False): +class TypeMeta(typing.TypedDict, total=False): apiVersion: str kind: str @typing.type_check_only -class UpgradeRolloutSequenceRequest(typing_extensions.TypedDict, total=False): +class UpgradeRolloutSequenceRequest(typing.TypedDict, total=False): force: bool - upgradeType: typing_extensions.Literal[ - "UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE", "NODE" - ] + upgradeType: typing.Literal["UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE", "NODE"] version: str @typing.type_check_only -class ValidateCreateMembershipRequest(typing_extensions.TypedDict, total=False): +class ValidateCreateMembershipRequest(typing.TypedDict, total=False): membership: Membership membershipId: str @typing.type_check_only -class ValidateCreateMembershipResponse(typing_extensions.TypedDict, total=False): +class ValidateCreateMembershipResponse(typing.TypedDict, total=False): validationResults: _list[ValidationResult] @typing.type_check_only -class ValidateExclusivityResponse(typing_extensions.TypedDict, total=False): +class ValidateExclusivityResponse(typing.TypedDict, total=False): status: GoogleRpcStatus @typing.type_check_only -class ValidationResult(typing_extensions.TypedDict, total=False): +class ValidationResult(typing.TypedDict, total=False): result: str success: bool - validator: typing_extensions.Literal[ + validator: typing.Literal[ "VALIDATOR_TYPE_UNSPECIFIED", "MEMBERSHIP_ID", "CROSS_PROJECT_PERMISSION", @@ -1733,18 +1686,16 @@ class ValidationResult(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VersionUpgrade(typing_extensions.TypedDict, total=False): +class VersionUpgrade(typing.TypedDict, total=False): desiredVersion: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL"] @typing.type_check_only -class WorkloadIdentityFeatureSpec(typing_extensions.TypedDict, total=False): +class WorkloadIdentityFeatureSpec(typing.TypedDict, total=False): scopeTenancyPool: str @typing.type_check_only -class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityFeatureState(typing.TypedDict, total=False): namespaceStateDetails: dict[str, typing.Any] namespaceStates: dict[str, typing.Any] scopeTenancyWorkloadIdentityPool: str @@ -1752,10 +1703,8 @@ class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): workloadIdentityPoolStateDetails: dict[str, typing.Any] @typing.type_check_only -class WorkloadIdentityIdentityProviderStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityIdentityProviderStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "IDENTITY_PROVIDER_STATE_UNSPECIFIED", "IDENTITY_PROVIDER_STATE_OK", "IDENTITY_PROVIDER_STATE_ERROR", @@ -1763,22 +1712,20 @@ class WorkloadIdentityIdentityProviderStateDetail( description: str @typing.type_check_only -class WorkloadIdentityMembershipState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityMembershipState(typing.TypedDict, total=False): description: str identityProviderStateDetails: dict[str, typing.Any] @typing.type_check_only -class WorkloadIdentityNamespaceStateDetail(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class WorkloadIdentityNamespaceStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "NAMESPACE_STATE_UNSPECIFIED", "NAMESPACE_STATE_OK", "NAMESPACE_STATE_ERROR" ] description: str @typing.type_check_only -class WorkloadIdentityWorkloadIdentityPoolStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityWorkloadIdentityPoolStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", "WORKLOAD_IDENTITY_POOL_STATE_OK", "WORKLOAD_IDENTITY_POOL_STATE_ERROR", diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha2/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha2/resources.pyi index c9961f4f1..dbea682e3 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha2/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha2/schemas.pyi index be8d906db..6a241d754 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha2/schemas.pyi @@ -1,85 +1,83 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplianceCluster(typing_extensions.TypedDict, total=False): +class ApplianceCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Authority(typing_extensions.TypedDict, total=False): +class Authority(typing.TypedDict, total=False): identityProvider: str issuer: str oidcJwks: str workloadIdentityPool: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ConnectAgentResource(typing_extensions.TypedDict, total=False): +class ConnectAgentResource(typing.TypedDict, total=False): manifest: str type: TypeMeta @typing.type_check_only -class EdgeCluster(typing_extensions.TypedDict, total=False): +class EdgeCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): +class GenerateConnectManifestResponse(typing.TypedDict, total=False): manifest: _list[ConnectAgentResource] @typing.type_check_only -class GkeCluster(typing_extensions.TypedDict, total=False): +class GkeCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class InitializeHubRequest(typing_extensions.TypedDict, total=False): ... +class InitializeHubRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class InitializeHubResponse(typing_extensions.TypedDict, total=False): +class InitializeHubResponse(typing.TypedDict, total=False): serviceIdentity: str workloadIdentityPool: str @typing.type_check_only -class KubernetesMetadata(typing_extensions.TypedDict, total=False): +class KubernetesMetadata(typing.TypedDict, total=False): kubernetesApiServerVersion: str memoryMb: int nodeCount: int @@ -88,30 +86,30 @@ class KubernetesMetadata(typing_extensions.TypedDict, total=False): vcpuCount: int @typing.type_check_only -class KubernetesResource(typing_extensions.TypedDict, total=False): +class KubernetesResource(typing.TypedDict, total=False): connectResources: _list[ResourceManifest] membershipCrManifest: str membershipResources: _list[ResourceManifest] resourceOptions: ResourceOptions @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Membership] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -119,14 +117,14 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): authority: Authority createTime: str deleteTime: str description: str endpoint: MembershipEndpoint externalId: str - infrastructureType: typing_extensions.Literal[ + infrastructureType: typing.Literal[ "INFRASTRUCTURE_TYPE_UNSPECIFIED", "ON_PREM", "MULTI_CLOUD" ] labels: dict[str, typing.Any] @@ -138,7 +136,7 @@ class Membership(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipEndpoint(typing_extensions.TypedDict, total=False): +class MembershipEndpoint(typing.TypedDict, total=False): applianceCluster: ApplianceCluster edgeCluster: EdgeCluster gkeCluster: GkeCluster @@ -148,8 +146,8 @@ class MembershipEndpoint(typing_extensions.TypedDict, total=False): onPremCluster: OnPremCluster @typing.type_check_only -class MembershipState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", @@ -159,7 +157,7 @@ class MembershipState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): cluster: str clusterHash: str kubernetesMetricsPrefix: str @@ -167,21 +165,21 @@ class MonitoringConfig(typing_extensions.TypedDict, total=False): projectId: str @typing.type_check_only -class MultiCloudCluster(typing_extensions.TypedDict, total=False): +class MultiCloudCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class OnPremCluster(typing_extensions.TypedDict, total=False): +class OnPremCluster(typing.TypedDict, total=False): adminCluster: bool clusterMissing: bool - clusterType: typing_extensions.Literal[ + clusterType: typing.Literal[ "CLUSTERTYPE_UNSPECIFIED", "BOOTSTRAP", "HYBRID", "STANDALONE", "USER" ] resourceLink: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -189,7 +187,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -199,37 +197,37 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ResourceManifest(typing_extensions.TypedDict, total=False): +class ResourceManifest(typing.TypedDict, total=False): clusterScoped: bool manifest: str @typing.type_check_only -class ResourceOptions(typing_extensions.TypedDict, total=False): +class ResourceOptions(typing.TypedDict, total=False): connectVersion: str k8sVersion: str v1beta1Crd: bool @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TypeMeta(typing_extensions.TypedDict, total=False): +class TypeMeta(typing.TypedDict, total=False): apiVersion: str kind: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi index 1322a1ba6..a4b614f9c 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi index 546c1e4b9..46423e1f8 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppDevExperienceFeatureSpec(typing_extensions.TypedDict, total=False): ... +class AppDevExperienceFeatureSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class AppDevExperienceFeatureState(typing_extensions.TypedDict, total=False): +class AppDevExperienceFeatureState(typing.TypedDict, total=False): networkingInstallSucceeded: Status @typing.type_check_only -class ApplianceCluster(typing_extensions.TypedDict, total=False): +class ApplianceCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Authority(typing_extensions.TypedDict, total=False): +class Authority(typing.TypedDict, total=False): identityProvider: str issuer: str oidcJwks: str @@ -37,97 +35,95 @@ class Authority(typing_extensions.TypedDict, total=False): workloadIdentityPool: str @typing.type_check_only -class AutoUpgradeConfig(typing_extensions.TypedDict, total=False): +class AutoUpgradeConfig(typing.TypedDict, total=False): enforcedRollouts: dict[str, typing.Any] rolloutCreationScope: RolloutCreationScope @typing.type_check_only -class BinaryAuthorizationConfig(typing_extensions.TypedDict, total=False): - evaluationMode: typing_extensions.Literal[ +class BinaryAuthorizationConfig(typing.TypedDict, total=False): + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "DISABLED", "POLICY_BINDINGS" ] policyBindings: _list[PolicyBinding] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelRolloutRequest(typing_extensions.TypedDict, total=False): ... +class CancelRolloutRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClusterSelector(typing_extensions.TypedDict, total=False): +class ClusterSelector(typing.TypedDict, total=False): labelSelector: str @typing.type_check_only -class ClusterUpgradeFleetSpec(typing_extensions.TypedDict, total=False): +class ClusterUpgradeFleetSpec(typing.TypedDict, total=False): gkeUpgradeOverrides: _list[ClusterUpgradeGKEUpgradeOverride] postConditions: ClusterUpgradePostConditions upstreamFleets: _list[str] @typing.type_check_only -class ClusterUpgradeFleetState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeFleetState(typing.TypedDict, total=False): downstreamFleets: _list[str] gkeState: ClusterUpgradeGKEUpgradeFeatureState ignored: dict[str, typing.Any] @typing.type_check_only -class ClusterUpgradeGKEUpgrade(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgrade(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ClusterUpgradeGKEUpgradeFeatureCondition( - typing_extensions.TypedDict, total=False -): +class ClusterUpgradeGKEUpgradeFeatureCondition(typing.TypedDict, total=False): reason: str status: str type: str updateTime: str @typing.type_check_only -class ClusterUpgradeGKEUpgradeFeatureState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeFeatureState(typing.TypedDict, total=False): conditions: _list[ClusterUpgradeGKEUpgradeFeatureCondition] upgradeState: _list[ClusterUpgradeGKEUpgradeState] @typing.type_check_only -class ClusterUpgradeGKEUpgradeOverride(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeOverride(typing.TypedDict, total=False): postConditions: ClusterUpgradePostConditions upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgradeState(typing.TypedDict, total=False): stats: dict[str, typing.Any] status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeIgnoredMembership(typing_extensions.TypedDict, total=False): +class ClusterUpgradeIgnoredMembership(typing.TypedDict, total=False): ignoredTime: str reason: str @typing.type_check_only -class ClusterUpgradeMembershipGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipGKEUpgradeState(typing.TypedDict, total=False): status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeMembershipState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipState(typing.TypedDict, total=False): ignored: ClusterUpgradeIgnoredMembership upgrades: _list[ClusterUpgradeMembershipGKEUpgradeState] @typing.type_check_only -class ClusterUpgradePostConditions(typing_extensions.TypedDict, total=False): +class ClusterUpgradePostConditions(typing.TypedDict, total=False): soaking: str @typing.type_check_only -class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ClusterUpgradeUpgradeStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INELIGIBLE", "PENDING", @@ -140,7 +136,7 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CommonFeatureSpec(typing_extensions.TypedDict, total=False): +class CommonFeatureSpec(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureSpec clusterupgrade: ClusterUpgradeFleetSpec dataplanev2: DataplaneV2FeatureSpec @@ -151,47 +147,48 @@ class CommonFeatureSpec(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityFeatureSpec @typing.type_check_only -class CommonFeatureState(typing_extensions.TypedDict, total=False): +class CommonFeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeFleetState fleetobservability: FleetObservabilityFeatureState rbacrolebindingactuation: RBACRoleBindingActuationFeatureState + servicemesh: ServiceMeshFeatureState state: FeatureState workloadidentity: WorkloadIdentityFeatureState @typing.type_check_only -class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=False): +class CommonFleetDefaultMemberConfigSpec(typing.TypedDict, total=False): configmanagement: ConfigManagementMembershipSpec identityservice: IdentityServiceMembershipSpec mesh: ServiceMeshMembershipSpec policycontroller: PolicyControllerMembershipSpec @typing.type_check_only -class CompliancePostureConfig(typing_extensions.TypedDict, total=False): +class CompliancePostureConfig(typing.TypedDict, total=False): complianceStandards: _list[ComplianceStandard] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class ComplianceStandard(typing_extensions.TypedDict, total=False): +class ComplianceStandard(typing.TypedDict, total=False): standard: str @typing.type_check_only -class ConfigManagementBinauthzConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ConfigManagementBinauthzState(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzState(typing.TypedDict, total=False): version: ConfigManagementBinauthzVersion - webhook: typing_extensions.Literal[ + webhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzVersion(typing.TypedDict, total=False): webhookVersion: str @typing.type_check_only -class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSync(typing.TypedDict, total=False): deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig @@ -202,64 +199,62 @@ class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): stopSyncing: bool @typing.type_check_only -class ConfigManagementConfigSyncDeploymentState( - typing_extensions.TypedDict, total=False -): - admissionWebhook: typing_extensions.Literal[ +class ConfigManagementConfigSyncDeploymentState(typing.TypedDict, total=False): + admissionWebhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gitSync: typing_extensions.Literal[ + gitSync: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - importer: typing_extensions.Literal[ + importer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - monitor: typing_extensions.Literal[ + monitor: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - otelCollector: typing_extensions.Literal[ + otelCollector: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - reconcilerManager: typing_extensions.Literal[ + reconcilerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - resourceGroupControllerManager: typing_extensions.Literal[ + resourceGroupControllerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - rootReconciler: typing_extensions.Literal[ + rootReconciler: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - syncer: typing_extensions.Literal[ + syncer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementConfigSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): - clusterLevelStopSyncingState: typing_extensions.Literal[ +class ConfigManagementConfigSyncState(typing.TypedDict, total=False): + clusterLevelStopSyncingState: typing.Literal[ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", "PENDING", "STOPPED" ] crCount: int deploymentState: ConfigManagementConfigSyncDeploymentState errors: _list[ConfigManagementConfigSyncError] - reposyncCrd: typing_extensions.Literal[ + reposyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - rootsyncCrd: typing_extensions.Literal[ + rootsyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", "CONFIG_SYNC_INSTALLED", @@ -270,7 +265,7 @@ class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): version: ConfigManagementConfigSyncVersion @typing.type_check_only -class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncVersion(typing.TypedDict, total=False): admissionWebhook: str gitSync: str importer: str @@ -282,7 +277,7 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False syncer: str @typing.type_check_only -class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementContainerOverride(typing.TypedDict, total=False): containerName: str cpuLimit: str cpuRequest: str @@ -290,34 +285,32 @@ class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False memoryRequest: str @typing.type_check_only -class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementDeploymentOverride(typing.TypedDict, total=False): containers: _list[ConfigManagementContainerOverride] deploymentName: str deploymentNamespace: str @typing.type_check_only -class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): +class ConfigManagementErrorResource(typing.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind resourceName: str resourceNamespace: str sourcePath: str @typing.type_check_only -class ConfigManagementGatekeeperDeploymentState( - typing_extensions.TypedDict, total=False -): - gatekeeperAudit: typing_extensions.Literal[ +class ConfigManagementGatekeeperDeploymentState(typing.TypedDict, total=False): + gatekeeperAudit: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperControllerManagerState: typing_extensions.Literal[ + gatekeeperControllerManagerState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperMutation: typing_extensions.Literal[ + gatekeeperMutation: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementGitConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str httpsProxy: str policyDir: str @@ -328,62 +321,54 @@ class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementGroupVersionKind(typing_extensions.TypedDict, total=False): +class ConfigManagementGroupVersionKind(typing.TypedDict, total=False): group: str kind: str version: str @typing.type_check_only -class ConfigManagementHierarchyControllerConfig( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerConfig(typing.TypedDict, total=False): enableHierarchicalResourceQuota: bool enablePodTreeLabels: bool enabled: bool @typing.type_check_only -class ConfigManagementHierarchyControllerDeploymentState( - typing_extensions.TypedDict, total=False -): - extension: typing_extensions.Literal[ +class ConfigManagementHierarchyControllerDeploymentState(typing.TypedDict, total=False): + extension: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - hnc: typing_extensions.Literal[ + hnc: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementHierarchyControllerState( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerState(typing.TypedDict, total=False): state: ConfigManagementHierarchyControllerDeploymentState version: ConfigManagementHierarchyControllerVersion @typing.type_check_only -class ConfigManagementHierarchyControllerVersion( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerVersion(typing.TypedDict, total=False): extension: str hnc: str @typing.type_check_only -class ConfigManagementInstallError(typing_extensions.TypedDict, total=False): +class ConfigManagementInstallError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementMembershipSpec(typing_extensions.TypedDict, total=False): +class ConfigManagementMembershipSpec(typing.TypedDict, total=False): binauthz: ConfigManagementBinauthzConfig cluster: str configSync: ConfigManagementConfigSync hierarchyController: ConfigManagementHierarchyControllerConfig - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" ] policyController: ConfigManagementPolicyController version: str @typing.type_check_only -class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): +class ConfigManagementMembershipState(typing.TypedDict, total=False): binauthzState: ConfigManagementBinauthzState clusterName: str configSyncState: ConfigManagementConfigSyncState @@ -394,7 +379,7 @@ class ConfigManagementMembershipState(typing_extensions.TypedDict, total=False): policyControllerState: ConfigManagementPolicyControllerState @typing.type_check_only -class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementOciConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str policyDir: str secretType: str @@ -402,15 +387,15 @@ class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementOperatorState(typing_extensions.TypedDict, total=False): - deploymentState: typing_extensions.Literal[ +class ConfigManagementOperatorState(typing.TypedDict, total=False): + deploymentState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] errors: _list[ConfigManagementInstallError] version: str @typing.type_check_only -class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyController(typing.TypedDict, total=False): auditIntervalSeconds: str enabled: bool exemptableNamespaces: _list[str] @@ -422,41 +407,37 @@ class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class ConfigManagementPolicyControllerMigration( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMigration(typing.TypedDict, total=False): copyTime: str - stage: typing_extensions.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] + stage: typing.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] @typing.type_check_only -class ConfigManagementPolicyControllerMonitoring( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMonitoring(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class ConfigManagementPolicyControllerState(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerState(typing.TypedDict, total=False): deploymentState: ConfigManagementGatekeeperDeploymentState migration: ConfigManagementPolicyControllerMigration version: ConfigManagementPolicyControllerVersion @typing.type_check_only -class ConfigManagementPolicyControllerVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerVersion(typing.TypedDict, total=False): version: str @typing.type_check_only -class ConfigManagementSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementSyncError(typing.TypedDict, total=False): code: str errorMessage: str errorResources: _list[ConfigManagementErrorResource] @typing.type_check_only -class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConfigManagementSyncState(typing.TypedDict, total=False): + code: typing.Literal[ "SYNC_CODE_UNSPECIFIED", "SYNCED", "PENDING", @@ -474,36 +455,36 @@ class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): syncToken: str @typing.type_check_only -class ConnectAgentResource(typing_extensions.TypedDict, total=False): +class ConnectAgentResource(typing.TypedDict, total=False): manifest: str type: TypeMeta @typing.type_check_only -class DataplaneV2FeatureSpec(typing_extensions.TypedDict, total=False): +class DataplaneV2FeatureSpec(typing.TypedDict, total=False): enableEncryption: bool @typing.type_check_only -class DefaultClusterConfig(typing_extensions.TypedDict, total=False): +class DefaultClusterConfig(typing.TypedDict, total=False): binaryAuthorizationConfig: BinaryAuthorizationConfig compliancePostureConfig: CompliancePostureConfig securityPostureConfig: SecurityPostureConfig @typing.type_check_only -class EdgeCluster(typing_extensions.TypedDict, total=False): +class EdgeCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): createTime: str deleteTime: str fleetDefaultMemberConfig: CommonFleetDefaultMemberConfigSpec @@ -520,8 +501,8 @@ class Feature(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FeatureResourceState(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class FeatureResourceState(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLING", "ACTIVE", @@ -531,13 +512,13 @@ class FeatureResourceState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeatureState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] +class FeatureState(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] description: str updateTime: str @typing.type_check_only -class Fleet(typing_extensions.TypedDict, total=False): +class Fleet(typing.TypedDict, total=False): createTime: str defaultClusterConfig: DefaultClusterConfig deleteTime: str @@ -549,87 +530,83 @@ class Fleet(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FleetLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class FleetLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class FleetObservabilityFeatureError(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureError(typing.TypedDict, total=False): code: str description: str @typing.type_check_only -class FleetObservabilityFeatureSpec(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureSpec(typing.TypedDict, total=False): loggingConfig: FleetObservabilityLoggingConfig @typing.type_check_only -class FleetObservabilityFeatureState(typing_extensions.TypedDict, total=False): +class FleetObservabilityFeatureState(typing.TypedDict, total=False): logging: FleetObservabilityFleetObservabilityLoggingState monitoring: FleetObservabilityFleetObservabilityMonitoringState @typing.type_check_only class FleetObservabilityFleetObservabilityBaseFeatureState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "ERROR"] + code: typing.Literal["CODE_UNSPECIFIED", "OK", "ERROR"] errors: _list[FleetObservabilityFeatureError] @typing.type_check_only -class FleetObservabilityFleetObservabilityLoggingState( - typing_extensions.TypedDict, total=False -): +class FleetObservabilityFleetObservabilityLoggingState(typing.TypedDict, total=False): defaultLog: FleetObservabilityFleetObservabilityBaseFeatureState scopeLog: FleetObservabilityFleetObservabilityBaseFeatureState @typing.type_check_only class FleetObservabilityFleetObservabilityMonitoringState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): state: FleetObservabilityFleetObservabilityBaseFeatureState @typing.type_check_only -class FleetObservabilityLoggingConfig(typing_extensions.TypedDict, total=False): +class FleetObservabilityLoggingConfig(typing.TypedDict, total=False): defaultConfig: FleetObservabilityRoutingConfig fleetScopeLogsConfig: FleetObservabilityRoutingConfig @typing.type_check_only -class FleetObservabilityMembershipSpec(typing_extensions.TypedDict, total=False): ... +class FleetObservabilityMembershipSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class FleetObservabilityMembershipState(typing_extensions.TypedDict, total=False): ... +class FleetObservabilityMembershipState(typing.TypedDict, total=False): ... @typing.type_check_only -class FleetObservabilityRoutingConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] +class FleetObservabilityRoutingConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "COPY", "MOVE"] @typing.type_check_only -class ForceCompleteRolloutStageRequest(typing_extensions.TypedDict, total=False): +class ForceCompleteRolloutStageRequest(typing.TypedDict, total=False): stageNumber: int @typing.type_check_only -class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): +class GenerateConnectManifestResponse(typing.TypedDict, total=False): manifest: _list[ConnectAgentResource] @typing.type_check_only -class GenerateMembershipRBACRoleBindingYAMLResponse( - typing_extensions.TypedDict, total=False -): +class GenerateMembershipRBACRoleBindingYAMLResponse(typing.TypedDict, total=False): roleBindingsYaml: str @typing.type_check_only -class GkeCluster(typing_extensions.TypedDict, total=False): +class GkeCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): +class IdentityServiceAuthMethod(typing.TypedDict, total=False): azureadConfig: IdentityServiceAzureADConfig googleConfig: IdentityServiceGoogleConfig ldapConfig: IdentityServiceLdapConfig @@ -639,7 +616,7 @@ class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): samlConfig: IdentityServiceSamlConfig @typing.type_check_only -class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceAzureADConfig(typing.TypedDict, total=False): clientId: str clientSecret: str encryptedClientSecret: str @@ -649,46 +626,46 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): userClaim: str @typing.type_check_only -class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): +class IdentityServiceDiagnosticInterface(typing.TypedDict, total=False): enabled: bool expirationTime: str @typing.type_check_only -class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGoogleConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGroupConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str @typing.type_check_only -class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): +class IdentityServiceIdentityServiceOptions(typing.TypedDict, total=False): diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only -class IdentityServiceLdapConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceLdapConfig(typing.TypedDict, total=False): group: IdentityServiceGroupConfig server: IdentityServiceServerConfig serviceAccount: IdentityServiceServiceAccountConfig user: IdentityServiceUserConfig @typing.type_check_only -class IdentityServiceMembershipSpec(typing_extensions.TypedDict, total=False): +class IdentityServiceMembershipSpec(typing.TypedDict, total=False): authMethods: _list[IdentityServiceAuthMethod] identityServiceOptions: IdentityServiceIdentityServiceOptions @typing.type_check_only -class IdentityServiceMembershipState(typing_extensions.TypedDict, total=False): +class IdentityServiceMembershipState(typing.TypedDict, total=False): failureReason: str installedVersion: str memberConfig: IdentityServiceMembershipSpec - state: typing_extensions.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] + state: typing.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] @typing.type_check_only -class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceOidcConfig(typing.TypedDict, total=False): certificateAuthorityData: str clientId: str clientSecret: str @@ -705,7 +682,7 @@ class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceSamlConfig(typing.TypedDict, total=False): attributeMapping: dict[str, typing.Any] groupPrefix: str groupsAttribute: str @@ -716,30 +693,30 @@ class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceServerConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServerConfig(typing.TypedDict, total=False): certificateAuthorityData: str connectionType: str host: str @typing.type_check_only -class IdentityServiceServiceAccountConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServiceAccountConfig(typing.TypedDict, total=False): simpleBindCredentials: IdentityServiceSimpleBindCredentials @typing.type_check_only -class IdentityServiceSimpleBindCredentials(typing_extensions.TypedDict, total=False): +class IdentityServiceSimpleBindCredentials(typing.TypedDict, total=False): dn: str encryptedPassword: str password: str @typing.type_check_only -class IdentityServiceUserConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceUserConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str loginAttribute: str @typing.type_check_only -class KubernetesMetadata(typing_extensions.TypedDict, total=False): +class KubernetesMetadata(typing.TypedDict, total=False): kubernetesApiServerVersion: str memoryMb: int nodeCount: int @@ -748,89 +725,89 @@ class KubernetesMetadata(typing_extensions.TypedDict, total=False): vcpuCount: int @typing.type_check_only -class KubernetesResource(typing_extensions.TypedDict, total=False): +class KubernetesResource(typing.TypedDict, total=False): connectResources: _list[ResourceManifest] membershipCrManifest: str membershipResources: _list[ResourceManifest] resourceOptions: ResourceOptions @typing.type_check_only -class ListBoundMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListBoundMembershipsResponse(typing.TypedDict, total=False): memberships: _list[Membership] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFeaturesResponse(typing_extensions.TypedDict, total=False): +class ListFeaturesResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Feature] @typing.type_check_only -class ListFleetsResponse(typing_extensions.TypedDict, total=False): +class ListFleetsResponse(typing.TypedDict, total=False): fleets: _list[Fleet] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipBindingsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipBindingsResponse(typing.TypedDict, total=False): membershipBindings: _list[MembershipBinding] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMembershipRBACRoleBindingsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipRBACRoleBindingsResponse(typing.TypedDict, total=False): nextPageToken: str rbacrolebindings: _list[RBACRoleBinding] unreachable: _list[str] @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Membership] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): +class ListPermittedScopesResponse(typing.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] @typing.type_check_only -class ListRolloutSequencesResponse(typing_extensions.TypedDict, total=False): +class ListRolloutSequencesResponse(typing.TypedDict, total=False): nextPageToken: str rolloutSequences: _list[RolloutSequence] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] @typing.type_check_only -class ListScopeNamespacesResponse(typing_extensions.TypedDict, total=False): +class ListScopeNamespacesResponse(typing.TypedDict, total=False): nextPageToken: str scopeNamespaces: _list[Namespace] @typing.type_check_only -class ListScopeRBACRoleBindingsResponse(typing_extensions.TypedDict, total=False): +class ListScopeRBACRoleBindingsResponse(typing.TypedDict, total=False): nextPageToken: str rbacrolebindings: _list[RBACRoleBinding] @typing.type_check_only -class ListScopesResponse(typing_extensions.TypedDict, total=False): +class ListScopesResponse(typing.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -838,11 +815,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): authority: Authority - clusterTier: typing_extensions.Literal[ - "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" - ] + clusterTier: typing.Literal["CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE"] createTime: str deleteTime: str description: str @@ -850,9 +825,7 @@ class Membership(typing_extensions.TypedDict, total=False): externalId: str labels: dict[str, typing.Any] lastConnectionTime: str - membershipType: typing_extensions.Literal[ - "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" - ] + membershipType: typing.Literal["MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT"] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -860,7 +833,7 @@ class Membership(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipBinding(typing_extensions.TypedDict, total=False): +class MembershipBinding(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -871,13 +844,13 @@ class MembershipBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipBindingLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipBindingLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class MembershipEndpoint(typing_extensions.TypedDict, total=False): +class MembershipEndpoint(typing.TypedDict, total=False): applianceCluster: ApplianceCluster edgeCluster: EdgeCluster gkeCluster: GkeCluster @@ -888,7 +861,7 @@ class MembershipEndpoint(typing_extensions.TypedDict, total=False): onPremCluster: OnPremCluster @typing.type_check_only -class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): +class MembershipFeatureSpec(typing.TypedDict, total=False): cloudbuild: MembershipSpec configmanagement: ConfigManagementMembershipSpec fleetobservability: FleetObservabilityMembershipSpec @@ -898,7 +871,7 @@ class MembershipFeatureSpec(typing_extensions.TypedDict, total=False): policycontroller: PolicyControllerMembershipSpec @typing.type_check_only -class MembershipFeatureState(typing_extensions.TypedDict, total=False): +class MembershipFeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceFeatureState clusterupgrade: ClusterUpgradeMembershipState configmanagement: ConfigManagementMembershipState @@ -911,15 +884,15 @@ class MembershipFeatureState(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityMembershipState @typing.type_check_only -class MembershipSpec(typing_extensions.TypedDict, total=False): - securityPolicy: typing_extensions.Literal[ +class MembershipSpec(typing.TypedDict, total=False): + securityPolicy: typing.Literal[ "SECURITY_POLICY_UNSPECIFIED", "NON_PRIVILEGED", "PRIVILEGED" ] version: str @typing.type_check_only -class MembershipState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", @@ -929,12 +902,12 @@ class MembershipState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MeteringMembershipState(typing_extensions.TypedDict, total=False): +class MeteringMembershipState(typing.TypedDict, total=False): lastMeasurementTime: str preciseLastMeasuredClusterVcpuCapacity: float @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): cluster: str clusterHash: str kubernetesMetricsPrefix: str @@ -942,19 +915,17 @@ class MonitoringConfig(typing_extensions.TypedDict, total=False): projectId: str @typing.type_check_only -class MultiCloudCluster(typing_extensions.TypedDict, total=False): +class MultiCloudCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class MultiClusterIngressFeatureSpec(typing_extensions.TypedDict, total=False): - billing: typing_extensions.Literal[ - "BILLING_UNSPECIFIED", "PAY_AS_YOU_GO", "ANTHOS_LICENSE" - ] +class MultiClusterIngressFeatureSpec(typing.TypedDict, total=False): + billing: typing.Literal["BILLING_UNSPECIFIED", "PAY_AS_YOU_GO", "ANTHOS_LICENSE"] configMembership: str @typing.type_check_only -class Namespace(typing_extensions.TypedDict, total=False): +class Namespace(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -966,22 +937,22 @@ class Namespace(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class NamespaceLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class NamespaceLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class OnPremCluster(typing_extensions.TypedDict, total=False): +class OnPremCluster(typing.TypedDict, total=False): adminCluster: bool clusterMissing: bool - clusterType: typing_extensions.Literal[ + clusterType: typing.Literal[ "CLUSTERTYPE_UNSPECIFIED", "BOOTSTRAP", "HYBRID", "STANDALONE", "USER" ] resourceLink: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -989,7 +960,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -999,9 +970,9 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OperationalState(typing_extensions.TypedDict, total=False): +class OperationalState(typing.TypedDict, total=False): reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "FLEET_FEATURE_DELETED_ERROR", "FLEET_DELETED_ERROR", @@ -1011,42 +982,40 @@ class OperationalState(typing_extensions.TypedDict, total=False): "NO_CLUSTERS_IN_SEQUENCE", ] ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_CODE_UNSPECIFIED", "ACTIVE", "WARNING", "ERROR", "INITIALIZING" ] stateChangeTime: str @typing.type_check_only -class Origin(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER" - ] +class Origin(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER"] @typing.type_check_only -class PauseRolloutRequest(typing_extensions.TypedDict, total=False): ... +class PauseRolloutRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyBinding(typing_extensions.TypedDict, total=False): +class PolicyBinding(typing.TypedDict, total=False): name: str @typing.type_check_only -class PolicyControllerBundleInstallSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerBundleInstallSpec(typing.TypedDict, total=False): exemptedNamespaces: _list[str] @typing.type_check_only -class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerHubConfig(typing.TypedDict, total=False): auditIntervalSeconds: str constraintViolationLimit: str deploymentConfigs: dict[str, typing.Any] exemptableNamespaces: _list[str] - installSpec: typing_extensions.Literal[ + installSpec: typing.Literal[ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", @@ -1060,15 +1029,15 @@ class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): referentialRulesEnabled: bool @typing.type_check_only -class PolicyControllerMembershipSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerMembershipSpec(typing.TypedDict, total=False): policyControllerHubConfig: PolicyControllerHubConfig version: str @typing.type_check_only -class PolicyControllerMembershipState(typing_extensions.TypedDict, total=False): +class PolicyControllerMembershipState(typing.TypedDict, total=False): componentStates: dict[str, typing.Any] policyContentState: PolicyControllerPolicyContentState - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -1082,17 +1051,17 @@ class PolicyControllerMembershipState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerMonitoringConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerMonitoringConfig(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): +class PolicyControllerOnClusterState(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -1106,53 +1075,47 @@ class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerPolicyContentSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentSpec(typing.TypedDict, total=False): bundles: dict[str, typing.Any] templateLibrary: PolicyControllerTemplateLibraryConfig @typing.type_check_only -class PolicyControllerPolicyContentState(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentState(typing.TypedDict, total=False): bundleStates: dict[str, typing.Any] referentialSyncConfigState: PolicyControllerOnClusterState templateLibraryState: PolicyControllerOnClusterState @typing.type_check_only -class PolicyControllerPolicyControllerDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class PolicyControllerPolicyControllerDeploymentConfig(typing.TypedDict, total=False): containerResources: PolicyControllerResourceRequirements - podAffinity: typing_extensions.Literal[ - "AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY" - ] + podAffinity: typing.Literal["AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY"] podAntiAffinity: bool podTolerations: _list[PolicyControllerToleration] replicaCount: str @typing.type_check_only -class PolicyControllerResourceList(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceList(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class PolicyControllerResourceRequirements(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceRequirements(typing.TypedDict, total=False): limits: PolicyControllerResourceList requests: PolicyControllerResourceList @typing.type_check_only -class PolicyControllerTemplateLibraryConfig(typing_extensions.TypedDict, total=False): - installation: typing_extensions.Literal[ - "INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL" - ] +class PolicyControllerTemplateLibraryConfig(typing.TypedDict, total=False): + installation: typing.Literal["INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL"] @typing.type_check_only -class PolicyControllerToleration(typing_extensions.TypedDict, total=False): +class PolicyControllerToleration(typing.TypedDict, total=False): effect: str key: str operator: str value: str @typing.type_check_only -class RBACRoleBinding(typing_extensions.TypedDict, total=False): +class RBACRoleBinding(typing.TypedDict, total=False): createTime: str deleteTime: str group: str @@ -1165,52 +1128,48 @@ class RBACRoleBinding(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class RBACRoleBindingActuationFeatureSpec(typing_extensions.TypedDict, total=False): +class RBACRoleBindingActuationFeatureSpec(typing.TypedDict, total=False): allowedCustomRoles: _list[str] @typing.type_check_only -class RBACRoleBindingActuationFeatureState( - typing_extensions.TypedDict, total=False -): ... +class RBACRoleBindingActuationFeatureState(typing.TypedDict, total=False): ... @typing.type_check_only -class RBACRoleBindingLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class RBACRoleBindingLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class ResourceManifest(typing_extensions.TypedDict, total=False): +class ResourceManifest(typing.TypedDict, total=False): clusterScoped: bool manifest: str @typing.type_check_only -class ResourceOptions(typing_extensions.TypedDict, total=False): +class ResourceOptions(typing.TypedDict, total=False): connectVersion: str k8sGitVersion: str k8sVersion: str v1beta1Crd: bool @typing.type_check_only -class ResumeRolloutRequest(typing_extensions.TypedDict, total=False): +class ResumeRolloutRequest(typing.TypedDict, total=False): scheduleOffset: str validateOnly: bool @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): +class Role(typing.TypedDict, total=False): customRole: str - predefinedRole: typing_extensions.Literal[ - "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" - ] + predefinedRole: typing.Literal["UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT"] @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): completeTime: str createTime: str deleteTime: str displayName: str etag: str - intent: typing_extensions.Literal[ + intent: typing.Literal[ "ROLLOUT_INTENT_UNSPECIFIED", "REGULAR_UPGRADE", "CONTROL_PLANE_PATCH_ENFORCEMENT", @@ -1221,11 +1180,11 @@ class Rollout(typing_extensions.TypedDict, total=False): name: str rolloutSequence: str stages: _list[RolloutStage] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "CANCELLED", "COMPLETED" ] stateReason: str - stateReasonType: typing_extensions.Literal[ + stateReasonType: typing.Literal[ "STATE_REASON_TYPE_UNSPECIFIED", "PAUSED_BY_USER", "PAUSED_BY_SYSTEM_CONFIG", @@ -1236,15 +1195,15 @@ class Rollout(typing_extensions.TypedDict, total=False): "CANCELLED_INCOMPATIBLE_ROLLOUT_SEQUENCE", "CANCELLED_SUPERSEDED_BY_USER_ROLLOUT", ] - trigger: typing_extensions.Literal["ROLLOUT_TRIGGER_UNSPECIFIED", "USER", "GKE"] + trigger: typing.Literal["ROLLOUT_TRIGGER_UNSPECIFIED", "USER", "GKE"] uid: str updateTime: str versionUpgrade: VersionUpgrade @typing.type_check_only -class RolloutCreationScope(typing_extensions.TypedDict, total=False): +class RolloutCreationScope(typing.TypedDict, total=False): upgradeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE_MINOR", "CONTROL_PLANE_PATCH", @@ -1254,15 +1213,15 @@ class RolloutCreationScope(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RolloutMembershipState(typing_extensions.TypedDict, total=False): +class RolloutMembershipState(typing.TypedDict, total=False): lastUpdateTime: str stageAssignment: int targets: _list[RolloutTarget] @typing.type_check_only -class RolloutSequence(typing_extensions.TypedDict, total=False): +class RolloutSequence(typing.TypedDict, total=False): autoUpgradeConfig: AutoUpgradeConfig - computedReleaseChannel: typing_extensions.Literal[ + computedReleaseChannel: typing.Literal[ "GKE_RELEASE_CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", @@ -1288,24 +1247,24 @@ class RolloutSequence(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RolloutStage(typing_extensions.TypedDict, total=False): +class RolloutStage(typing.TypedDict, total=False): clusterSelector: ClusterSelector endTime: str fleetProjects: _list[str] soakDuration: str stageNumber: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SOAKING", "COMPLETED", "PAUSED" ] @typing.type_check_only -class RolloutTarget(typing_extensions.TypedDict, total=False): +class RolloutTarget(typing.TypedDict, total=False): cluster: str nodePool: str operation: str reason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -1318,7 +1277,7 @@ class RolloutTarget(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): +class Scope(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -1329,24 +1288,22 @@ class Scope(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ScopeFeatureSpec(typing_extensions.TypedDict, total=False): ... +class ScopeFeatureSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class ScopeFeatureState(typing_extensions.TypedDict, total=False): +class ScopeFeatureState(typing.TypedDict, total=False): state: FeatureState @typing.type_check_only -class ScopeLifecycleState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScopeLifecycleState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] @typing.type_check_only -class SecurityPostureConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE" - ] - vulnerabilityMode: typing_extensions.Literal[ +class SecurityPostureConfig(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "BASIC", "ENTERPRISE"] + vulnerabilityMode: typing.Literal[ "VULNERABILITY_MODE_UNSPECIFIED", "VULNERABILITY_DISABLED", "VULNERABILITY_BASIC", @@ -1354,8 +1311,8 @@ class SecurityPostureConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ServiceMeshCondition(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", @@ -1416,6 +1373,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_MODERNIZED_SOAKING", "MODERNIZATION_FINALIZED", "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", "MODERNIZATION_COMPATIBLE", "MODERNIZATION_INCOMPATIBLE", "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", @@ -1423,17 +1381,15 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): ] details: str documentationLink: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshControlPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - implementation: typing_extensions.Literal[ + implementation: typing.Literal[ "IMPLEMENTATION_UNSPECIFIED", "ISTIOD", "TRAFFIC_DIRECTOR", "UPDATING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -1446,9 +1402,9 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshDataPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -1461,22 +1417,102 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshFeatureSpec(typing_extensions.TypedDict, total=False): - modernizationCompatibility: typing_extensions.Literal[ +class ServiceMeshFeatureCondition(typing.TypedDict, total=False): + code: typing.Literal[ + "CODE_UNSPECIFIED", + "MESH_IAM_PERMISSION_DENIED", + "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", + "CNI_CONFIG_UNSUPPORTED", + "GKE_SANDBOX_UNSUPPORTED", + "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", + "CNI_INSTALLATION_FAILED", + "CNI_POD_UNSCHEDULABLE", + "CLUSTER_HAS_ZERO_NODES", + "CANONICAL_SERVICE_ERROR", + "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", + "VPCSC_GA_SUPPORTED", + "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", + "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", + "CONFIG_APPLY_INTERNAL_ERROR", + "CONFIG_VALIDATION_ERROR", + "CONFIG_VALIDATION_WARNING", + "QUOTA_EXCEEDED_BACKEND_SERVICES", + "QUOTA_EXCEEDED_HEALTH_CHECKS", + "QUOTA_EXCEEDED_HTTP_ROUTES", + "QUOTA_EXCEEDED_TCP_ROUTES", + "QUOTA_EXCEEDED_TLS_ROUTES", + "QUOTA_EXCEEDED_TRAFFIC_POLICIES", + "QUOTA_EXCEEDED_ENDPOINT_POLICIES", + "QUOTA_EXCEEDED_GATEWAYS", + "QUOTA_EXCEEDED_MESHES", + "QUOTA_EXCEEDED_SERVER_TLS_POLICIES", + "QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", + "QUOTA_EXCEEDED_SERVICE_LB_POLICIES", + "QUOTA_EXCEEDED_HTTP_FILTERS", + "QUOTA_EXCEEDED_TCP_FILTERS", + "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", + "CONFIG_APPLY_BLOCKED", + "LEGACY_MC_SECRETS", + "WORKLOAD_IDENTITY_REQUIRED", + "NON_STANDARD_BINARY_USAGE", + "UNSUPPORTED_GATEWAY_CLASS", + "MANAGED_CNI_NOT_ENABLED", + "MISSING_CONTROL_PLANE_CONFIG", + "SHARED_VPC_MISSING_PERMISSIONS", + "REQUIRED_ORG_POLICY_DISABLED", + "MODERNIZATION_INCOMPATIBLE_POD_ANNOTATION", + "MODERNIZATION_INCOMPATIBLE_CONFIG", + "MODERNIZATION_INCOMPATIBLE_GATEWAY_POD_SCALE", + "MODERNIZATION_SCHEDULED", + "MODERNIZATION_IN_PROGRESS", + "MODERNIZATION_COMPLETED", + "MODERNIZATION_ABORTED", + "MODERNIZATION_PREPARING", + "MODERNIZATION_STALLED", + "MODERNIZATION_PREPARED", + "MODERNIZATION_MIGRATING_WORKLOADS", + "MODERNIZATION_ROLLING_BACK_CLUSTER", + "MODERNIZATION_WILL_BE_SCHEDULED", + "MODERNIZATION_MANUAL", + "MODERNIZATION_ELIGIBLE", + "MODERNIZATION_MODERNIZING", + "MODERNIZATION_MODERNIZED_SOAKING", + "MODERNIZATION_FINALIZED", + "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", + "MODERNIZATION_COMPATIBLE", + "MODERNIZATION_INCOMPATIBLE", + "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", + "MODERNIZATION_INCOMPATIBLE_FLEET_QUOTA", + ] + details: str + documentationLink: str + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] + +@typing.type_check_only +class ServiceMeshFeatureSpec(typing.TypedDict, total=False): + modernizationCompatibility: typing.Literal[ "MODERNIZATION_COMPATIBILITY_UNSPECIFIED", "VALIDATION_ENABLED", "VALIDATION_DISABLED", ] + modernizationStrategy: typing.Literal[ + "MODERNIZATION_STRATEGY_UNSPECIFIED", "AUTOMATIC", "DEFERRED" + ] @typing.type_check_only -class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): - configApi: typing_extensions.Literal[ +class ServiceMeshFeatureState(typing.TypedDict, total=False): + conditions: _list[ServiceMeshFeatureCondition] + +@typing.type_check_only +class ServiceMeshMembershipSpec(typing.TypedDict, total=False): + configApi: typing.Literal[ "CONFIG_API_UNSPECIFIED", "CONFIG_API_ISTIO", "CONFIG_API_GATEWAY" ] - controlPlane: typing_extensions.Literal[ + controlPlane: typing.Literal[ "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL", @@ -1484,66 +1520,62 @@ class ServiceMeshMembershipSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshMembershipState(typing_extensions.TypedDict, total=False): +class ServiceMeshMembershipState(typing.TypedDict, total=False): conditions: _list[ServiceMeshCondition] controlPlaneManagement: ServiceMeshControlPlaneManagement dataPlaneManagement: ServiceMeshDataPlaneManagement @typing.type_check_only -class ServiceMeshStatusDetails(typing_extensions.TypedDict, total=False): +class ServiceMeshStatusDetails(typing.TypedDict, total=False): code: str details: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Stage(typing_extensions.TypedDict, total=False): +class Stage(typing.TypedDict, total=False): clusterSelector: ClusterSelector fleetProjects: _list[str] soakDuration: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] +class Status(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] description: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TypeMeta(typing_extensions.TypedDict, total=False): +class TypeMeta(typing.TypedDict, total=False): apiVersion: str kind: str @typing.type_check_only -class UpgradeRolloutSequenceRequest(typing_extensions.TypedDict, total=False): +class UpgradeRolloutSequenceRequest(typing.TypedDict, total=False): force: bool - upgradeType: typing_extensions.Literal[ - "UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE", "NODE" - ] + upgradeType: typing.Literal["UPGRADE_TYPE_UNSPECIFIED", "CONTROL_PLANE", "NODE"] version: str @typing.type_check_only -class VersionUpgrade(typing_extensions.TypedDict, total=False): +class VersionUpgrade(typing.TypedDict, total=False): desiredVersion: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL"] @typing.type_check_only -class WorkloadIdentityFeatureSpec(typing_extensions.TypedDict, total=False): +class WorkloadIdentityFeatureSpec(typing.TypedDict, total=False): scopeTenancyPool: str @typing.type_check_only -class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityFeatureState(typing.TypedDict, total=False): namespaceStateDetails: dict[str, typing.Any] namespaceStates: dict[str, typing.Any] scopeTenancyWorkloadIdentityPool: str @@ -1551,10 +1583,8 @@ class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): workloadIdentityPoolStateDetails: dict[str, typing.Any] @typing.type_check_only -class WorkloadIdentityIdentityProviderStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityIdentityProviderStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "IDENTITY_PROVIDER_STATE_UNSPECIFIED", "IDENTITY_PROVIDER_STATE_OK", "IDENTITY_PROVIDER_STATE_ERROR", @@ -1562,22 +1592,20 @@ class WorkloadIdentityIdentityProviderStateDetail( description: str @typing.type_check_only -class WorkloadIdentityMembershipState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityMembershipState(typing.TypedDict, total=False): description: str identityProviderStateDetails: dict[str, typing.Any] @typing.type_check_only -class WorkloadIdentityNamespaceStateDetail(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class WorkloadIdentityNamespaceStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "NAMESPACE_STATE_UNSPECIFIED", "NAMESPACE_STATE_OK", "NAMESPACE_STATE_ERROR" ] description: str @typing.type_check_only -class WorkloadIdentityWorkloadIdentityPoolStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityWorkloadIdentityPoolStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", "WORKLOAD_IDENTITY_POOL_STATE_OK", "WORKLOAD_IDENTITY_POOL_STATE_ERROR", diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi index 4705d96e0..4c20adbf1 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi index ab606dbf9..b74b1995c 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplianceCluster(typing_extensions.TypedDict, total=False): +class ApplianceCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Authority(typing_extensions.TypedDict, total=False): +class Authority(typing.TypedDict, total=False): identityProvider: str issuer: str oidcJwks: str @@ -30,55 +28,55 @@ class Authority(typing_extensions.TypedDict, total=False): workloadIdentityPool: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ConnectAgentResource(typing_extensions.TypedDict, total=False): +class ConnectAgentResource(typing.TypedDict, total=False): manifest: str type: TypeMeta @typing.type_check_only -class EdgeCluster(typing_extensions.TypedDict, total=False): +class EdgeCluster(typing.TypedDict, total=False): resourceLink: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GenerateConnectManifestResponse(typing_extensions.TypedDict, total=False): +class GenerateConnectManifestResponse(typing.TypedDict, total=False): manifest: _list[ConnectAgentResource] @typing.type_check_only -class GenerateExclusivityManifestResponse(typing_extensions.TypedDict, total=False): +class GenerateExclusivityManifestResponse(typing.TypedDict, total=False): crManifest: str crdManifest: str @typing.type_check_only -class GkeCluster(typing_extensions.TypedDict, total=False): +class GkeCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class KubernetesMetadata(typing_extensions.TypedDict, total=False): +class KubernetesMetadata(typing.TypedDict, total=False): kubernetesApiServerVersion: str memoryMb: int nodeCount: int @@ -87,31 +85,31 @@ class KubernetesMetadata(typing_extensions.TypedDict, total=False): vcpuCount: int @typing.type_check_only -class KubernetesResource(typing_extensions.TypedDict, total=False): +class KubernetesResource(typing.TypedDict, total=False): connectResources: _list[ResourceManifest] membershipCrManifest: str membershipResources: _list[ResourceManifest] resourceOptions: ResourceOptions @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipsResponse(typing_extensions.TypedDict, total=False): +class ListMembershipsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Membership] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -119,21 +117,19 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): authority: Authority createTime: str deleteTime: str description: str endpoint: MembershipEndpoint externalId: str - infrastructureType: typing_extensions.Literal[ + infrastructureType: typing.Literal[ "INFRASTRUCTURE_TYPE_UNSPECIFIED", "ON_PREM", "MULTI_CLOUD" ] labels: dict[str, typing.Any] lastConnectionTime: str - membershipType: typing_extensions.Literal[ - "MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT" - ] + membershipType: typing.Literal["MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT"] monitoringConfig: MonitoringConfig name: str state: MembershipState @@ -141,7 +137,7 @@ class Membership(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MembershipEndpoint(typing_extensions.TypedDict, total=False): +class MembershipEndpoint(typing.TypedDict, total=False): applianceCluster: ApplianceCluster edgeCluster: EdgeCluster gkeCluster: GkeCluster @@ -151,8 +147,8 @@ class MembershipEndpoint(typing_extensions.TypedDict, total=False): onPremCluster: OnPremCluster @typing.type_check_only -class MembershipState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class MembershipState(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "CREATING", "READY", @@ -164,7 +160,7 @@ class MembershipState(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MonitoringConfig(typing_extensions.TypedDict, total=False): +class MonitoringConfig(typing.TypedDict, total=False): cluster: str clusterHash: str kubernetesMetricsPrefix: str @@ -172,21 +168,21 @@ class MonitoringConfig(typing_extensions.TypedDict, total=False): projectId: str @typing.type_check_only -class MultiCloudCluster(typing_extensions.TypedDict, total=False): +class MultiCloudCluster(typing.TypedDict, total=False): clusterMissing: bool resourceLink: str @typing.type_check_only -class OnPremCluster(typing_extensions.TypedDict, total=False): +class OnPremCluster(typing.TypedDict, total=False): adminCluster: bool clusterMissing: bool - clusterType: typing_extensions.Literal[ + clusterType: typing.Literal[ "CLUSTERTYPE_UNSPECIFIED", "BOOTSTRAP", "HYBRID", "STANDALONE", "USER" ] resourceLink: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -194,7 +190,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -204,42 +200,42 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ResourceManifest(typing_extensions.TypedDict, total=False): +class ResourceManifest(typing.TypedDict, total=False): clusterScoped: bool manifest: str @typing.type_check_only -class ResourceOptions(typing_extensions.TypedDict, total=False): +class ResourceOptions(typing.TypedDict, total=False): connectVersion: str k8sGitVersion: str k8sVersion: str v1beta1Crd: bool @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TypeMeta(typing_extensions.TypedDict, total=False): +class TypeMeta(typing.TypedDict, total=False): apiVersion: str kind: str @typing.type_check_only -class ValidateExclusivityResponse(typing_extensions.TypedDict, total=False): +class ValidateExclusivityResponse(typing.TypedDict, total=False): status: GoogleRpcStatus diff --git a/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi index 6da77f83d..0b4054346 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi index 8a63fad1f..32a58947b 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi @@ -1,51 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppDevExperienceState(typing_extensions.TypedDict, total=False): +class AppDevExperienceState(typing.TypedDict, total=False): networkingInstallSucceeded: AppDevExperienceStatus @typing.type_check_only -class AppDevExperienceStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] +class AppDevExperienceStatus(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] description: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudBuildSpec(typing_extensions.TypedDict, total=False): - securityPolicy: typing_extensions.Literal[ +class CloudBuildSpec(typing.TypedDict, total=False): + securityPolicy: typing.Literal[ "SECURITY_POLICY_UNSPECIFIED", "NON_PRIVILEGED", "PRIVILEGED" ] version: str @typing.type_check_only -class ClusterUpgradeGKEUpgrade(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgrade(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ClusterUpgradeIgnoredMembership(typing_extensions.TypedDict, total=False): +class ClusterUpgradeIgnoredMembership(typing.TypedDict, total=False): ignoredTime: str reason: str @typing.type_check_only -class ClusterUpgradeMembershipGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipGKEUpgradeState(typing.TypedDict, total=False): status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeState(typing.TypedDict, total=False): ignored: ClusterUpgradeIgnoredMembership upgrades: _list[ClusterUpgradeMembershipGKEUpgradeState] @typing.type_check_only -class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ClusterUpgradeUpgradeStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INELIGIBLE", "PENDING", @@ -58,22 +56,22 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ConfigManagementBinauthzConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ConfigManagementBinauthzState(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzState(typing.TypedDict, total=False): version: ConfigManagementBinauthzVersion - webhook: typing_extensions.Literal[ + webhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzVersion(typing.TypedDict, total=False): webhookVersion: str @typing.type_check_only -class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSync(typing.TypedDict, total=False): deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig @@ -84,64 +82,62 @@ class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): stopSyncing: bool @typing.type_check_only -class ConfigManagementConfigSyncDeploymentState( - typing_extensions.TypedDict, total=False -): - admissionWebhook: typing_extensions.Literal[ +class ConfigManagementConfigSyncDeploymentState(typing.TypedDict, total=False): + admissionWebhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gitSync: typing_extensions.Literal[ + gitSync: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - importer: typing_extensions.Literal[ + importer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - monitor: typing_extensions.Literal[ + monitor: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - otelCollector: typing_extensions.Literal[ + otelCollector: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - reconcilerManager: typing_extensions.Literal[ + reconcilerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - resourceGroupControllerManager: typing_extensions.Literal[ + resourceGroupControllerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - rootReconciler: typing_extensions.Literal[ + rootReconciler: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - syncer: typing_extensions.Literal[ + syncer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementConfigSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): - clusterLevelStopSyncingState: typing_extensions.Literal[ +class ConfigManagementConfigSyncState(typing.TypedDict, total=False): + clusterLevelStopSyncingState: typing.Literal[ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", "PENDING", "STOPPED" ] crCount: int deploymentState: ConfigManagementConfigSyncDeploymentState errors: _list[ConfigManagementConfigSyncError] - reposyncCrd: typing_extensions.Literal[ + reposyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - rootsyncCrd: typing_extensions.Literal[ + rootsyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", "CONFIG_SYNC_INSTALLED", @@ -152,7 +148,7 @@ class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): version: ConfigManagementConfigSyncVersion @typing.type_check_only -class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncVersion(typing.TypedDict, total=False): admissionWebhook: str gitSync: str importer: str @@ -164,7 +160,7 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False syncer: str @typing.type_check_only -class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementContainerOverride(typing.TypedDict, total=False): containerName: str cpuLimit: str cpuRequest: str @@ -172,34 +168,32 @@ class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False memoryRequest: str @typing.type_check_only -class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementDeploymentOverride(typing.TypedDict, total=False): containers: _list[ConfigManagementContainerOverride] deploymentName: str deploymentNamespace: str @typing.type_check_only -class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): +class ConfigManagementErrorResource(typing.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind resourceName: str resourceNamespace: str sourcePath: str @typing.type_check_only -class ConfigManagementGatekeeperDeploymentState( - typing_extensions.TypedDict, total=False -): - gatekeeperAudit: typing_extensions.Literal[ +class ConfigManagementGatekeeperDeploymentState(typing.TypedDict, total=False): + gatekeeperAudit: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperControllerManagerState: typing_extensions.Literal[ + gatekeeperControllerManagerState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperMutation: typing_extensions.Literal[ + gatekeeperMutation: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementGitConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str httpsProxy: str policyDir: str @@ -210,50 +204,42 @@ class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementGroupVersionKind(typing_extensions.TypedDict, total=False): +class ConfigManagementGroupVersionKind(typing.TypedDict, total=False): group: str kind: str version: str @typing.type_check_only -class ConfigManagementHierarchyControllerConfig( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerConfig(typing.TypedDict, total=False): enableHierarchicalResourceQuota: bool enablePodTreeLabels: bool enabled: bool @typing.type_check_only -class ConfigManagementHierarchyControllerDeploymentState( - typing_extensions.TypedDict, total=False -): - extension: typing_extensions.Literal[ +class ConfigManagementHierarchyControllerDeploymentState(typing.TypedDict, total=False): + extension: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - hnc: typing_extensions.Literal[ + hnc: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementHierarchyControllerState( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerState(typing.TypedDict, total=False): state: ConfigManagementHierarchyControllerDeploymentState version: ConfigManagementHierarchyControllerVersion @typing.type_check_only -class ConfigManagementHierarchyControllerVersion( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerVersion(typing.TypedDict, total=False): extension: str hnc: str @typing.type_check_only -class ConfigManagementInstallError(typing_extensions.TypedDict, total=False): +class ConfigManagementInstallError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementOciConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str policyDir: str secretType: str @@ -261,15 +247,15 @@ class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementOperatorState(typing_extensions.TypedDict, total=False): - deploymentState: typing_extensions.Literal[ +class ConfigManagementOperatorState(typing.TypedDict, total=False): + deploymentState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] errors: _list[ConfigManagementInstallError] version: str @typing.type_check_only -class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyController(typing.TypedDict, total=False): auditIntervalSeconds: str enabled: bool exemptableNamespaces: _list[str] @@ -281,46 +267,42 @@ class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class ConfigManagementPolicyControllerMigration( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMigration(typing.TypedDict, total=False): copyTime: str - stage: typing_extensions.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] + stage: typing.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] @typing.type_check_only -class ConfigManagementPolicyControllerMonitoring( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMonitoring(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class ConfigManagementPolicyControllerState(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerState(typing.TypedDict, total=False): deploymentState: ConfigManagementGatekeeperDeploymentState migration: ConfigManagementPolicyControllerMigration version: ConfigManagementPolicyControllerVersion @typing.type_check_only -class ConfigManagementPolicyControllerVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerVersion(typing.TypedDict, total=False): version: str @typing.type_check_only -class ConfigManagementSpec(typing_extensions.TypedDict, total=False): +class ConfigManagementSpec(typing.TypedDict, total=False): binauthz: ConfigManagementBinauthzConfig cluster: str configSync: ConfigManagementConfigSync hierarchyController: ConfigManagementHierarchyControllerConfig - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" ] policyController: ConfigManagementPolicyController version: str @typing.type_check_only -class ConfigManagementState(typing_extensions.TypedDict, total=False): +class ConfigManagementState(typing.TypedDict, total=False): binauthzState: ConfigManagementBinauthzState clusterName: str configSyncState: ConfigManagementConfigSyncState @@ -331,14 +313,14 @@ class ConfigManagementState(typing_extensions.TypedDict, total=False): policyControllerState: ConfigManagementPolicyControllerState @typing.type_check_only -class ConfigManagementSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementSyncError(typing.TypedDict, total=False): code: str errorMessage: str errorResources: _list[ConfigManagementErrorResource] @typing.type_check_only -class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConfigManagementSyncState(typing.TypedDict, total=False): + code: typing.Literal[ "SYNC_CODE_UNSPECIFIED", "SYNCED", "PENDING", @@ -356,10 +338,10 @@ class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): syncToken: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FeatureSpec(typing_extensions.TypedDict, total=False): +class FeatureSpec(typing.TypedDict, total=False): cloudbuild: CloudBuildSpec configmanagement: ConfigManagementSpec identityservice: IdentityServiceSpec @@ -370,7 +352,7 @@ class FeatureSpec(typing_extensions.TypedDict, total=False): workloadcertificate: WorkloadCertificateSpec @typing.type_check_only -class FeatureState(typing_extensions.TypedDict, total=False): +class FeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceState clusterupgrade: ClusterUpgradeState configmanagement: ConfigManagementState @@ -383,13 +365,13 @@ class FeatureState(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityState @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): +class IdentityServiceAuthMethod(typing.TypedDict, total=False): azureadConfig: IdentityServiceAzureADConfig googleConfig: IdentityServiceGoogleConfig ldapConfig: IdentityServiceLdapConfig @@ -399,7 +381,7 @@ class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): samlConfig: IdentityServiceSamlConfig @typing.type_check_only -class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceAzureADConfig(typing.TypedDict, total=False): clientId: str clientSecret: str encryptedClientSecret: str @@ -409,34 +391,34 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): userClaim: str @typing.type_check_only -class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): +class IdentityServiceDiagnosticInterface(typing.TypedDict, total=False): enabled: bool expirationTime: str @typing.type_check_only -class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGoogleConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGroupConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str @typing.type_check_only -class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): +class IdentityServiceIdentityServiceOptions(typing.TypedDict, total=False): diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only -class IdentityServiceLdapConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceLdapConfig(typing.TypedDict, total=False): group: IdentityServiceGroupConfig server: IdentityServiceServerConfig serviceAccount: IdentityServiceServiceAccountConfig user: IdentityServiceUserConfig @typing.type_check_only -class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceOidcConfig(typing.TypedDict, total=False): certificateAuthorityData: str clientId: str clientSecret: str @@ -453,7 +435,7 @@ class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceSamlConfig(typing.TypedDict, total=False): attributeMapping: dict[str, typing.Any] groupPrefix: str groupsAttribute: str @@ -464,43 +446,43 @@ class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceServerConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServerConfig(typing.TypedDict, total=False): certificateAuthorityData: str connectionType: str host: str @typing.type_check_only -class IdentityServiceServiceAccountConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServiceAccountConfig(typing.TypedDict, total=False): simpleBindCredentials: IdentityServiceSimpleBindCredentials @typing.type_check_only -class IdentityServiceSimpleBindCredentials(typing_extensions.TypedDict, total=False): +class IdentityServiceSimpleBindCredentials(typing.TypedDict, total=False): dn: str encryptedPassword: str password: str @typing.type_check_only -class IdentityServiceSpec(typing_extensions.TypedDict, total=False): +class IdentityServiceSpec(typing.TypedDict, total=False): authMethods: _list[IdentityServiceAuthMethod] identityServiceOptions: IdentityServiceIdentityServiceOptions @typing.type_check_only -class IdentityServiceState(typing_extensions.TypedDict, total=False): +class IdentityServiceState(typing.TypedDict, total=False): failureReason: str installedVersion: str memberConfig: IdentityServiceSpec - state: typing_extensions.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] + state: typing.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] @typing.type_check_only -class IdentityServiceUserConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceUserConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str loginAttribute: str @typing.type_check_only -class LifecycleState(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class LifecycleState(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLING", "ACTIVE", @@ -510,24 +492,24 @@ class LifecycleState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipFeaturesResponse(typing_extensions.TypedDict, total=False): +class ListMembershipFeaturesResponse(typing.TypedDict, total=False): membershipFeatures: _list[MembershipFeature] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -535,7 +517,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MembershipFeature(typing_extensions.TypedDict, total=False): +class MembershipFeature(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -546,12 +528,12 @@ class MembershipFeature(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MeteringState(typing_extensions.TypedDict, total=False): +class MeteringState(typing.TypedDict, total=False): lastMeasurementTime: str preciseLastMeasuredClusterVcpuCapacity: float @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -559,7 +541,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -569,22 +551,20 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Origin(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER" - ] +class Origin(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER"] @typing.type_check_only -class PolicyControllerBundleInstallSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerBundleInstallSpec(typing.TypedDict, total=False): exemptedNamespaces: _list[str] @typing.type_check_only -class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerHubConfig(typing.TypedDict, total=False): auditIntervalSeconds: str constraintViolationLimit: str deploymentConfigs: dict[str, typing.Any] exemptableNamespaces: _list[str] - installSpec: typing_extensions.Literal[ + installSpec: typing.Literal[ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", @@ -598,17 +578,17 @@ class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): referentialRulesEnabled: bool @typing.type_check_only -class PolicyControllerMonitoringConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerMonitoringConfig(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): +class PolicyControllerOnClusterState(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -622,48 +602,44 @@ class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerPolicyContentSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentSpec(typing.TypedDict, total=False): bundles: dict[str, typing.Any] templateLibrary: PolicyControllerTemplateLibraryConfig @typing.type_check_only -class PolicyControllerPolicyContentState(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentState(typing.TypedDict, total=False): bundleStates: dict[str, typing.Any] referentialSyncConfigState: PolicyControllerOnClusterState templateLibraryState: PolicyControllerOnClusterState @typing.type_check_only -class PolicyControllerPolicyControllerDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class PolicyControllerPolicyControllerDeploymentConfig(typing.TypedDict, total=False): containerResources: PolicyControllerResourceRequirements - podAffinity: typing_extensions.Literal[ - "AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY" - ] + podAffinity: typing.Literal["AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY"] podAntiAffinity: bool podTolerations: _list[PolicyControllerToleration] replicaCount: str @typing.type_check_only -class PolicyControllerResourceList(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceList(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class PolicyControllerResourceRequirements(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceRequirements(typing.TypedDict, total=False): limits: PolicyControllerResourceList requests: PolicyControllerResourceList @typing.type_check_only -class PolicyControllerSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerSpec(typing.TypedDict, total=False): policyControllerHubConfig: PolicyControllerHubConfig version: str @typing.type_check_only -class PolicyControllerState(typing_extensions.TypedDict, total=False): +class PolicyControllerState(typing.TypedDict, total=False): componentStates: dict[str, typing.Any] policyContentState: PolicyControllerPolicyContentState - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -677,51 +653,47 @@ class PolicyControllerState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerTemplateLibraryConfig(typing_extensions.TypedDict, total=False): - installation: typing_extensions.Literal[ - "INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL" - ] +class PolicyControllerTemplateLibraryConfig(typing.TypedDict, total=False): + installation: typing.Literal["INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL"] @typing.type_check_only -class PolicyControllerToleration(typing_extensions.TypedDict, total=False): +class PolicyControllerToleration(typing.TypedDict, total=False): effect: str key: str operator: str value: str @typing.type_check_only -class RBACRoleBindingActuationRBACRoleBindingState( - typing_extensions.TypedDict, total=False -): +class RBACRoleBindingActuationRBACRoleBindingState(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ROLE_BINDING_STATE_UNSPECIFIED", "OK", "CUSTOM_ROLE_MISSING_FROM_CLUSTER" ] updateTime: str @typing.type_check_only -class RBACRoleBindingActuationSpec(typing_extensions.TypedDict, total=False): ... +class RBACRoleBindingActuationSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class RBACRoleBindingActuationState(typing_extensions.TypedDict, total=False): +class RBACRoleBindingActuationState(typing.TypedDict, total=False): rbacrolebindingStates: dict[str, typing.Any] @typing.type_check_only -class ServiceMeshAnalysisMessage(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessage(typing.TypedDict, total=False): args: dict[str, typing.Any] description: str messageBase: ServiceMeshAnalysisMessageBase resourcePaths: _list[str] @typing.type_check_only -class ServiceMeshAnalysisMessageBase(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessageBase(typing.TypedDict, total=False): documentationUrl: str - level: typing_extensions.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] + level: typing.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] type: ServiceMeshType @typing.type_check_only -class ServiceMeshCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ServiceMeshCondition(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", @@ -782,6 +754,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_MODERNIZED_SOAKING", "MODERNIZATION_FINALIZED", "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", "MODERNIZATION_COMPATIBLE", "MODERNIZATION_INCOMPATIBLE", "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", @@ -789,17 +762,15 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): ] details: str documentationLink: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshControlPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - implementation: typing_extensions.Literal[ + implementation: typing.Literal[ "IMPLEMENTATION_UNSPECIFIED", "ISTIOD", "TRAFFIC_DIRECTOR", "UPDATING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -812,9 +783,9 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshDataPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -827,17 +798,15 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshSpec(typing_extensions.TypedDict, total=False): - configApi: typing_extensions.Literal[ +class ServiceMeshSpec(typing.TypedDict, total=False): + configApi: typing.Literal[ "CONFIG_API_UNSPECIFIED", "CONFIG_API_ISTIO", "CONFIG_API_GATEWAY" ] - controlPlane: typing_extensions.Literal[ + controlPlane: typing.Literal[ "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - defaultChannel: typing_extensions.Literal[ - "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" - ] - management: typing_extensions.Literal[ + defaultChannel: typing.Literal["CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE"] + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL", @@ -845,7 +814,7 @@ class ServiceMeshSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshState(typing_extensions.TypedDict, total=False): +class ServiceMeshState(typing.TypedDict, total=False): analysisMessages: _list[ServiceMeshAnalysisMessage] conditions: _list[ServiceMeshCondition] configApiVersion: str @@ -853,32 +822,30 @@ class ServiceMeshState(typing_extensions.TypedDict, total=False): dataPlaneManagement: ServiceMeshDataPlaneManagement @typing.type_check_only -class ServiceMeshStatusDetails(typing_extensions.TypedDict, total=False): +class ServiceMeshStatusDetails(typing.TypedDict, total=False): code: str details: str @typing.type_check_only -class ServiceMeshType(typing_extensions.TypedDict, total=False): +class ServiceMeshType(typing.TypedDict, total=False): code: str displayName: str @typing.type_check_only -class State(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] +class State(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] description: str updateTime: str @typing.type_check_only -class WorkloadCertificateSpec(typing_extensions.TypedDict, total=False): - certificateManagement: typing_extensions.Literal[ +class WorkloadCertificateSpec(typing.TypedDict, total=False): + certificateManagement: typing.Literal[ "CERTIFICATE_MANAGEMENT_UNSPECIFIED", "DISABLED", "ENABLED" ] @typing.type_check_only -class WorkloadIdentityIdentityProviderStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityIdentityProviderStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "IDENTITY_PROVIDER_STATE_UNSPECIFIED", "IDENTITY_PROVIDER_STATE_OK", "IDENTITY_PROVIDER_STATE_ERROR", @@ -886,6 +853,6 @@ class WorkloadIdentityIdentityProviderStateDetail( description: str @typing.type_check_only -class WorkloadIdentityState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityState(typing.TypedDict, total=False): description: str identityProviderStateDetails: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi index 6da77f83d..0b4054346 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi index 8a63fad1f..32a58947b 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi @@ -1,51 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppDevExperienceState(typing_extensions.TypedDict, total=False): +class AppDevExperienceState(typing.TypedDict, total=False): networkingInstallSucceeded: AppDevExperienceStatus @typing.type_check_only -class AppDevExperienceStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] +class AppDevExperienceStatus(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] description: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudBuildSpec(typing_extensions.TypedDict, total=False): - securityPolicy: typing_extensions.Literal[ +class CloudBuildSpec(typing.TypedDict, total=False): + securityPolicy: typing.Literal[ "SECURITY_POLICY_UNSPECIFIED", "NON_PRIVILEGED", "PRIVILEGED" ] version: str @typing.type_check_only -class ClusterUpgradeGKEUpgrade(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgrade(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ClusterUpgradeIgnoredMembership(typing_extensions.TypedDict, total=False): +class ClusterUpgradeIgnoredMembership(typing.TypedDict, total=False): ignoredTime: str reason: str @typing.type_check_only -class ClusterUpgradeMembershipGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipGKEUpgradeState(typing.TypedDict, total=False): status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeState(typing.TypedDict, total=False): ignored: ClusterUpgradeIgnoredMembership upgrades: _list[ClusterUpgradeMembershipGKEUpgradeState] @typing.type_check_only -class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ClusterUpgradeUpgradeStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INELIGIBLE", "PENDING", @@ -58,22 +56,22 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ConfigManagementBinauthzConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ConfigManagementBinauthzState(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzState(typing.TypedDict, total=False): version: ConfigManagementBinauthzVersion - webhook: typing_extensions.Literal[ + webhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzVersion(typing.TypedDict, total=False): webhookVersion: str @typing.type_check_only -class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSync(typing.TypedDict, total=False): deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig @@ -84,64 +82,62 @@ class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): stopSyncing: bool @typing.type_check_only -class ConfigManagementConfigSyncDeploymentState( - typing_extensions.TypedDict, total=False -): - admissionWebhook: typing_extensions.Literal[ +class ConfigManagementConfigSyncDeploymentState(typing.TypedDict, total=False): + admissionWebhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gitSync: typing_extensions.Literal[ + gitSync: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - importer: typing_extensions.Literal[ + importer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - monitor: typing_extensions.Literal[ + monitor: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - otelCollector: typing_extensions.Literal[ + otelCollector: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - reconcilerManager: typing_extensions.Literal[ + reconcilerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - resourceGroupControllerManager: typing_extensions.Literal[ + resourceGroupControllerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - rootReconciler: typing_extensions.Literal[ + rootReconciler: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - syncer: typing_extensions.Literal[ + syncer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementConfigSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): - clusterLevelStopSyncingState: typing_extensions.Literal[ +class ConfigManagementConfigSyncState(typing.TypedDict, total=False): + clusterLevelStopSyncingState: typing.Literal[ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", "PENDING", "STOPPED" ] crCount: int deploymentState: ConfigManagementConfigSyncDeploymentState errors: _list[ConfigManagementConfigSyncError] - reposyncCrd: typing_extensions.Literal[ + reposyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - rootsyncCrd: typing_extensions.Literal[ + rootsyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", "CONFIG_SYNC_INSTALLED", @@ -152,7 +148,7 @@ class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): version: ConfigManagementConfigSyncVersion @typing.type_check_only -class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncVersion(typing.TypedDict, total=False): admissionWebhook: str gitSync: str importer: str @@ -164,7 +160,7 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False syncer: str @typing.type_check_only -class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementContainerOverride(typing.TypedDict, total=False): containerName: str cpuLimit: str cpuRequest: str @@ -172,34 +168,32 @@ class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False memoryRequest: str @typing.type_check_only -class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementDeploymentOverride(typing.TypedDict, total=False): containers: _list[ConfigManagementContainerOverride] deploymentName: str deploymentNamespace: str @typing.type_check_only -class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): +class ConfigManagementErrorResource(typing.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind resourceName: str resourceNamespace: str sourcePath: str @typing.type_check_only -class ConfigManagementGatekeeperDeploymentState( - typing_extensions.TypedDict, total=False -): - gatekeeperAudit: typing_extensions.Literal[ +class ConfigManagementGatekeeperDeploymentState(typing.TypedDict, total=False): + gatekeeperAudit: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperControllerManagerState: typing_extensions.Literal[ + gatekeeperControllerManagerState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperMutation: typing_extensions.Literal[ + gatekeeperMutation: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementGitConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str httpsProxy: str policyDir: str @@ -210,50 +204,42 @@ class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementGroupVersionKind(typing_extensions.TypedDict, total=False): +class ConfigManagementGroupVersionKind(typing.TypedDict, total=False): group: str kind: str version: str @typing.type_check_only -class ConfigManagementHierarchyControllerConfig( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerConfig(typing.TypedDict, total=False): enableHierarchicalResourceQuota: bool enablePodTreeLabels: bool enabled: bool @typing.type_check_only -class ConfigManagementHierarchyControllerDeploymentState( - typing_extensions.TypedDict, total=False -): - extension: typing_extensions.Literal[ +class ConfigManagementHierarchyControllerDeploymentState(typing.TypedDict, total=False): + extension: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - hnc: typing_extensions.Literal[ + hnc: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementHierarchyControllerState( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerState(typing.TypedDict, total=False): state: ConfigManagementHierarchyControllerDeploymentState version: ConfigManagementHierarchyControllerVersion @typing.type_check_only -class ConfigManagementHierarchyControllerVersion( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerVersion(typing.TypedDict, total=False): extension: str hnc: str @typing.type_check_only -class ConfigManagementInstallError(typing_extensions.TypedDict, total=False): +class ConfigManagementInstallError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementOciConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str policyDir: str secretType: str @@ -261,15 +247,15 @@ class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementOperatorState(typing_extensions.TypedDict, total=False): - deploymentState: typing_extensions.Literal[ +class ConfigManagementOperatorState(typing.TypedDict, total=False): + deploymentState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] errors: _list[ConfigManagementInstallError] version: str @typing.type_check_only -class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyController(typing.TypedDict, total=False): auditIntervalSeconds: str enabled: bool exemptableNamespaces: _list[str] @@ -281,46 +267,42 @@ class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class ConfigManagementPolicyControllerMigration( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMigration(typing.TypedDict, total=False): copyTime: str - stage: typing_extensions.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] + stage: typing.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] @typing.type_check_only -class ConfigManagementPolicyControllerMonitoring( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMonitoring(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class ConfigManagementPolicyControllerState(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerState(typing.TypedDict, total=False): deploymentState: ConfigManagementGatekeeperDeploymentState migration: ConfigManagementPolicyControllerMigration version: ConfigManagementPolicyControllerVersion @typing.type_check_only -class ConfigManagementPolicyControllerVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerVersion(typing.TypedDict, total=False): version: str @typing.type_check_only -class ConfigManagementSpec(typing_extensions.TypedDict, total=False): +class ConfigManagementSpec(typing.TypedDict, total=False): binauthz: ConfigManagementBinauthzConfig cluster: str configSync: ConfigManagementConfigSync hierarchyController: ConfigManagementHierarchyControllerConfig - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" ] policyController: ConfigManagementPolicyController version: str @typing.type_check_only -class ConfigManagementState(typing_extensions.TypedDict, total=False): +class ConfigManagementState(typing.TypedDict, total=False): binauthzState: ConfigManagementBinauthzState clusterName: str configSyncState: ConfigManagementConfigSyncState @@ -331,14 +313,14 @@ class ConfigManagementState(typing_extensions.TypedDict, total=False): policyControllerState: ConfigManagementPolicyControllerState @typing.type_check_only -class ConfigManagementSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementSyncError(typing.TypedDict, total=False): code: str errorMessage: str errorResources: _list[ConfigManagementErrorResource] @typing.type_check_only -class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConfigManagementSyncState(typing.TypedDict, total=False): + code: typing.Literal[ "SYNC_CODE_UNSPECIFIED", "SYNCED", "PENDING", @@ -356,10 +338,10 @@ class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): syncToken: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FeatureSpec(typing_extensions.TypedDict, total=False): +class FeatureSpec(typing.TypedDict, total=False): cloudbuild: CloudBuildSpec configmanagement: ConfigManagementSpec identityservice: IdentityServiceSpec @@ -370,7 +352,7 @@ class FeatureSpec(typing_extensions.TypedDict, total=False): workloadcertificate: WorkloadCertificateSpec @typing.type_check_only -class FeatureState(typing_extensions.TypedDict, total=False): +class FeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceState clusterupgrade: ClusterUpgradeState configmanagement: ConfigManagementState @@ -383,13 +365,13 @@ class FeatureState(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityState @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): +class IdentityServiceAuthMethod(typing.TypedDict, total=False): azureadConfig: IdentityServiceAzureADConfig googleConfig: IdentityServiceGoogleConfig ldapConfig: IdentityServiceLdapConfig @@ -399,7 +381,7 @@ class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): samlConfig: IdentityServiceSamlConfig @typing.type_check_only -class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceAzureADConfig(typing.TypedDict, total=False): clientId: str clientSecret: str encryptedClientSecret: str @@ -409,34 +391,34 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): userClaim: str @typing.type_check_only -class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): +class IdentityServiceDiagnosticInterface(typing.TypedDict, total=False): enabled: bool expirationTime: str @typing.type_check_only -class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGoogleConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGroupConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str @typing.type_check_only -class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): +class IdentityServiceIdentityServiceOptions(typing.TypedDict, total=False): diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only -class IdentityServiceLdapConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceLdapConfig(typing.TypedDict, total=False): group: IdentityServiceGroupConfig server: IdentityServiceServerConfig serviceAccount: IdentityServiceServiceAccountConfig user: IdentityServiceUserConfig @typing.type_check_only -class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceOidcConfig(typing.TypedDict, total=False): certificateAuthorityData: str clientId: str clientSecret: str @@ -453,7 +435,7 @@ class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceSamlConfig(typing.TypedDict, total=False): attributeMapping: dict[str, typing.Any] groupPrefix: str groupsAttribute: str @@ -464,43 +446,43 @@ class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceServerConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServerConfig(typing.TypedDict, total=False): certificateAuthorityData: str connectionType: str host: str @typing.type_check_only -class IdentityServiceServiceAccountConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServiceAccountConfig(typing.TypedDict, total=False): simpleBindCredentials: IdentityServiceSimpleBindCredentials @typing.type_check_only -class IdentityServiceSimpleBindCredentials(typing_extensions.TypedDict, total=False): +class IdentityServiceSimpleBindCredentials(typing.TypedDict, total=False): dn: str encryptedPassword: str password: str @typing.type_check_only -class IdentityServiceSpec(typing_extensions.TypedDict, total=False): +class IdentityServiceSpec(typing.TypedDict, total=False): authMethods: _list[IdentityServiceAuthMethod] identityServiceOptions: IdentityServiceIdentityServiceOptions @typing.type_check_only -class IdentityServiceState(typing_extensions.TypedDict, total=False): +class IdentityServiceState(typing.TypedDict, total=False): failureReason: str installedVersion: str memberConfig: IdentityServiceSpec - state: typing_extensions.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] + state: typing.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] @typing.type_check_only -class IdentityServiceUserConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceUserConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str loginAttribute: str @typing.type_check_only -class LifecycleState(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class LifecycleState(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLING", "ACTIVE", @@ -510,24 +492,24 @@ class LifecycleState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipFeaturesResponse(typing_extensions.TypedDict, total=False): +class ListMembershipFeaturesResponse(typing.TypedDict, total=False): membershipFeatures: _list[MembershipFeature] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -535,7 +517,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MembershipFeature(typing_extensions.TypedDict, total=False): +class MembershipFeature(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -546,12 +528,12 @@ class MembershipFeature(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MeteringState(typing_extensions.TypedDict, total=False): +class MeteringState(typing.TypedDict, total=False): lastMeasurementTime: str preciseLastMeasuredClusterVcpuCapacity: float @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -559,7 +541,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -569,22 +551,20 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Origin(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER" - ] +class Origin(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER"] @typing.type_check_only -class PolicyControllerBundleInstallSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerBundleInstallSpec(typing.TypedDict, total=False): exemptedNamespaces: _list[str] @typing.type_check_only -class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerHubConfig(typing.TypedDict, total=False): auditIntervalSeconds: str constraintViolationLimit: str deploymentConfigs: dict[str, typing.Any] exemptableNamespaces: _list[str] - installSpec: typing_extensions.Literal[ + installSpec: typing.Literal[ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", @@ -598,17 +578,17 @@ class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): referentialRulesEnabled: bool @typing.type_check_only -class PolicyControllerMonitoringConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerMonitoringConfig(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): +class PolicyControllerOnClusterState(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -622,48 +602,44 @@ class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerPolicyContentSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentSpec(typing.TypedDict, total=False): bundles: dict[str, typing.Any] templateLibrary: PolicyControllerTemplateLibraryConfig @typing.type_check_only -class PolicyControllerPolicyContentState(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentState(typing.TypedDict, total=False): bundleStates: dict[str, typing.Any] referentialSyncConfigState: PolicyControllerOnClusterState templateLibraryState: PolicyControllerOnClusterState @typing.type_check_only -class PolicyControllerPolicyControllerDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class PolicyControllerPolicyControllerDeploymentConfig(typing.TypedDict, total=False): containerResources: PolicyControllerResourceRequirements - podAffinity: typing_extensions.Literal[ - "AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY" - ] + podAffinity: typing.Literal["AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY"] podAntiAffinity: bool podTolerations: _list[PolicyControllerToleration] replicaCount: str @typing.type_check_only -class PolicyControllerResourceList(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceList(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class PolicyControllerResourceRequirements(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceRequirements(typing.TypedDict, total=False): limits: PolicyControllerResourceList requests: PolicyControllerResourceList @typing.type_check_only -class PolicyControllerSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerSpec(typing.TypedDict, total=False): policyControllerHubConfig: PolicyControllerHubConfig version: str @typing.type_check_only -class PolicyControllerState(typing_extensions.TypedDict, total=False): +class PolicyControllerState(typing.TypedDict, total=False): componentStates: dict[str, typing.Any] policyContentState: PolicyControllerPolicyContentState - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -677,51 +653,47 @@ class PolicyControllerState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerTemplateLibraryConfig(typing_extensions.TypedDict, total=False): - installation: typing_extensions.Literal[ - "INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL" - ] +class PolicyControllerTemplateLibraryConfig(typing.TypedDict, total=False): + installation: typing.Literal["INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL"] @typing.type_check_only -class PolicyControllerToleration(typing_extensions.TypedDict, total=False): +class PolicyControllerToleration(typing.TypedDict, total=False): effect: str key: str operator: str value: str @typing.type_check_only -class RBACRoleBindingActuationRBACRoleBindingState( - typing_extensions.TypedDict, total=False -): +class RBACRoleBindingActuationRBACRoleBindingState(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ROLE_BINDING_STATE_UNSPECIFIED", "OK", "CUSTOM_ROLE_MISSING_FROM_CLUSTER" ] updateTime: str @typing.type_check_only -class RBACRoleBindingActuationSpec(typing_extensions.TypedDict, total=False): ... +class RBACRoleBindingActuationSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class RBACRoleBindingActuationState(typing_extensions.TypedDict, total=False): +class RBACRoleBindingActuationState(typing.TypedDict, total=False): rbacrolebindingStates: dict[str, typing.Any] @typing.type_check_only -class ServiceMeshAnalysisMessage(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessage(typing.TypedDict, total=False): args: dict[str, typing.Any] description: str messageBase: ServiceMeshAnalysisMessageBase resourcePaths: _list[str] @typing.type_check_only -class ServiceMeshAnalysisMessageBase(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessageBase(typing.TypedDict, total=False): documentationUrl: str - level: typing_extensions.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] + level: typing.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] type: ServiceMeshType @typing.type_check_only -class ServiceMeshCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ServiceMeshCondition(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", @@ -782,6 +754,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_MODERNIZED_SOAKING", "MODERNIZATION_FINALIZED", "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", "MODERNIZATION_COMPATIBLE", "MODERNIZATION_INCOMPATIBLE", "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", @@ -789,17 +762,15 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): ] details: str documentationLink: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshControlPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - implementation: typing_extensions.Literal[ + implementation: typing.Literal[ "IMPLEMENTATION_UNSPECIFIED", "ISTIOD", "TRAFFIC_DIRECTOR", "UPDATING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -812,9 +783,9 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshDataPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -827,17 +798,15 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshSpec(typing_extensions.TypedDict, total=False): - configApi: typing_extensions.Literal[ +class ServiceMeshSpec(typing.TypedDict, total=False): + configApi: typing.Literal[ "CONFIG_API_UNSPECIFIED", "CONFIG_API_ISTIO", "CONFIG_API_GATEWAY" ] - controlPlane: typing_extensions.Literal[ + controlPlane: typing.Literal[ "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - defaultChannel: typing_extensions.Literal[ - "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" - ] - management: typing_extensions.Literal[ + defaultChannel: typing.Literal["CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE"] + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL", @@ -845,7 +814,7 @@ class ServiceMeshSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshState(typing_extensions.TypedDict, total=False): +class ServiceMeshState(typing.TypedDict, total=False): analysisMessages: _list[ServiceMeshAnalysisMessage] conditions: _list[ServiceMeshCondition] configApiVersion: str @@ -853,32 +822,30 @@ class ServiceMeshState(typing_extensions.TypedDict, total=False): dataPlaneManagement: ServiceMeshDataPlaneManagement @typing.type_check_only -class ServiceMeshStatusDetails(typing_extensions.TypedDict, total=False): +class ServiceMeshStatusDetails(typing.TypedDict, total=False): code: str details: str @typing.type_check_only -class ServiceMeshType(typing_extensions.TypedDict, total=False): +class ServiceMeshType(typing.TypedDict, total=False): code: str displayName: str @typing.type_check_only -class State(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] +class State(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] description: str updateTime: str @typing.type_check_only -class WorkloadCertificateSpec(typing_extensions.TypedDict, total=False): - certificateManagement: typing_extensions.Literal[ +class WorkloadCertificateSpec(typing.TypedDict, total=False): + certificateManagement: typing.Literal[ "CERTIFICATE_MANAGEMENT_UNSPECIFIED", "DISABLED", "ENABLED" ] @typing.type_check_only -class WorkloadIdentityIdentityProviderStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityIdentityProviderStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "IDENTITY_PROVIDER_STATE_UNSPECIFIED", "IDENTITY_PROVIDER_STATE_OK", "IDENTITY_PROVIDER_STATE_ERROR", @@ -886,6 +853,6 @@ class WorkloadIdentityIdentityProviderStateDetail( description: str @typing.type_check_only -class WorkloadIdentityState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityState(typing.TypedDict, total=False): description: str identityProviderStateDetails: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi index 6da77f83d..0b4054346 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi index 8a63fad1f..32a58947b 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi @@ -1,51 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppDevExperienceState(typing_extensions.TypedDict, total=False): +class AppDevExperienceState(typing.TypedDict, total=False): networkingInstallSucceeded: AppDevExperienceStatus @typing.type_check_only -class AppDevExperienceStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] +class AppDevExperienceStatus(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] description: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudBuildSpec(typing_extensions.TypedDict, total=False): - securityPolicy: typing_extensions.Literal[ +class CloudBuildSpec(typing.TypedDict, total=False): + securityPolicy: typing.Literal[ "SECURITY_POLICY_UNSPECIFIED", "NON_PRIVILEGED", "PRIVILEGED" ] version: str @typing.type_check_only -class ClusterUpgradeGKEUpgrade(typing_extensions.TypedDict, total=False): +class ClusterUpgradeGKEUpgrade(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class ClusterUpgradeIgnoredMembership(typing_extensions.TypedDict, total=False): +class ClusterUpgradeIgnoredMembership(typing.TypedDict, total=False): ignoredTime: str reason: str @typing.type_check_only -class ClusterUpgradeMembershipGKEUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeMembershipGKEUpgradeState(typing.TypedDict, total=False): status: ClusterUpgradeUpgradeStatus upgrade: ClusterUpgradeGKEUpgrade @typing.type_check_only -class ClusterUpgradeState(typing_extensions.TypedDict, total=False): +class ClusterUpgradeState(typing.TypedDict, total=False): ignored: ClusterUpgradeIgnoredMembership upgrades: _list[ClusterUpgradeMembershipGKEUpgradeState] @typing.type_check_only -class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ClusterUpgradeUpgradeStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INELIGIBLE", "PENDING", @@ -58,22 +56,22 @@ class ClusterUpgradeUpgradeStatus(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ConfigManagementBinauthzConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ConfigManagementBinauthzState(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzState(typing.TypedDict, total=False): version: ConfigManagementBinauthzVersion - webhook: typing_extensions.Literal[ + webhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementBinauthzVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementBinauthzVersion(typing.TypedDict, total=False): webhookVersion: str @typing.type_check_only -class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSync(typing.TypedDict, total=False): deploymentOverrides: _list[ConfigManagementDeploymentOverride] enabled: bool git: ConfigManagementGitConfig @@ -84,64 +82,62 @@ class ConfigManagementConfigSync(typing_extensions.TypedDict, total=False): stopSyncing: bool @typing.type_check_only -class ConfigManagementConfigSyncDeploymentState( - typing_extensions.TypedDict, total=False -): - admissionWebhook: typing_extensions.Literal[ +class ConfigManagementConfigSyncDeploymentState(typing.TypedDict, total=False): + admissionWebhook: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gitSync: typing_extensions.Literal[ + gitSync: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - importer: typing_extensions.Literal[ + importer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - monitor: typing_extensions.Literal[ + monitor: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - otelCollector: typing_extensions.Literal[ + otelCollector: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - reconcilerManager: typing_extensions.Literal[ + reconcilerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - resourceGroupControllerManager: typing_extensions.Literal[ + resourceGroupControllerManager: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - rootReconciler: typing_extensions.Literal[ + rootReconciler: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - syncer: typing_extensions.Literal[ + syncer: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementConfigSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): - clusterLevelStopSyncingState: typing_extensions.Literal[ +class ConfigManagementConfigSyncState(typing.TypedDict, total=False): + clusterLevelStopSyncingState: typing.Literal[ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", "PENDING", "STOPPED" ] crCount: int deploymentState: ConfigManagementConfigSyncDeploymentState errors: _list[ConfigManagementConfigSyncError] - reposyncCrd: typing_extensions.Literal[ + reposyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - rootsyncCrd: typing_extensions.Literal[ + rootsyncCrd: typing.Literal[ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "TERMINATING", "INSTALLING", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", "CONFIG_SYNC_INSTALLED", @@ -152,7 +148,7 @@ class ConfigManagementConfigSyncState(typing_extensions.TypedDict, total=False): version: ConfigManagementConfigSyncVersion @typing.type_check_only -class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementConfigSyncVersion(typing.TypedDict, total=False): admissionWebhook: str gitSync: str importer: str @@ -164,7 +160,7 @@ class ConfigManagementConfigSyncVersion(typing_extensions.TypedDict, total=False syncer: str @typing.type_check_only -class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementContainerOverride(typing.TypedDict, total=False): containerName: str cpuLimit: str cpuRequest: str @@ -172,34 +168,32 @@ class ConfigManagementContainerOverride(typing_extensions.TypedDict, total=False memoryRequest: str @typing.type_check_only -class ConfigManagementDeploymentOverride(typing_extensions.TypedDict, total=False): +class ConfigManagementDeploymentOverride(typing.TypedDict, total=False): containers: _list[ConfigManagementContainerOverride] deploymentName: str deploymentNamespace: str @typing.type_check_only -class ConfigManagementErrorResource(typing_extensions.TypedDict, total=False): +class ConfigManagementErrorResource(typing.TypedDict, total=False): resourceGvk: ConfigManagementGroupVersionKind resourceName: str resourceNamespace: str sourcePath: str @typing.type_check_only -class ConfigManagementGatekeeperDeploymentState( - typing_extensions.TypedDict, total=False -): - gatekeeperAudit: typing_extensions.Literal[ +class ConfigManagementGatekeeperDeploymentState(typing.TypedDict, total=False): + gatekeeperAudit: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperControllerManagerState: typing_extensions.Literal[ + gatekeeperControllerManagerState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - gatekeeperMutation: typing_extensions.Literal[ + gatekeeperMutation: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementGitConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str httpsProxy: str policyDir: str @@ -210,50 +204,42 @@ class ConfigManagementGitConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementGroupVersionKind(typing_extensions.TypedDict, total=False): +class ConfigManagementGroupVersionKind(typing.TypedDict, total=False): group: str kind: str version: str @typing.type_check_only -class ConfigManagementHierarchyControllerConfig( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerConfig(typing.TypedDict, total=False): enableHierarchicalResourceQuota: bool enablePodTreeLabels: bool enabled: bool @typing.type_check_only -class ConfigManagementHierarchyControllerDeploymentState( - typing_extensions.TypedDict, total=False -): - extension: typing_extensions.Literal[ +class ConfigManagementHierarchyControllerDeploymentState(typing.TypedDict, total=False): + extension: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] - hnc: typing_extensions.Literal[ + hnc: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] @typing.type_check_only -class ConfigManagementHierarchyControllerState( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerState(typing.TypedDict, total=False): state: ConfigManagementHierarchyControllerDeploymentState version: ConfigManagementHierarchyControllerVersion @typing.type_check_only -class ConfigManagementHierarchyControllerVersion( - typing_extensions.TypedDict, total=False -): +class ConfigManagementHierarchyControllerVersion(typing.TypedDict, total=False): extension: str hnc: str @typing.type_check_only -class ConfigManagementInstallError(typing_extensions.TypedDict, total=False): +class ConfigManagementInstallError(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): +class ConfigManagementOciConfig(typing.TypedDict, total=False): gcpServiceAccountEmail: str policyDir: str secretType: str @@ -261,15 +247,15 @@ class ConfigManagementOciConfig(typing_extensions.TypedDict, total=False): syncWaitSecs: str @typing.type_check_only -class ConfigManagementOperatorState(typing_extensions.TypedDict, total=False): - deploymentState: typing_extensions.Literal[ +class ConfigManagementOperatorState(typing.TypedDict, total=False): + deploymentState: typing.Literal[ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", "ERROR", "PENDING" ] errors: _list[ConfigManagementInstallError] version: str @typing.type_check_only -class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyController(typing.TypedDict, total=False): auditIntervalSeconds: str enabled: bool exemptableNamespaces: _list[str] @@ -281,46 +267,42 @@ class ConfigManagementPolicyController(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class ConfigManagementPolicyControllerMigration( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMigration(typing.TypedDict, total=False): copyTime: str - stage: typing_extensions.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] + stage: typing.Literal["STAGE_UNSPECIFIED", "ACM_MANAGED", "POCO_MANAGED"] @typing.type_check_only -class ConfigManagementPolicyControllerMonitoring( - typing_extensions.TypedDict, total=False -): +class ConfigManagementPolicyControllerMonitoring(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class ConfigManagementPolicyControllerState(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerState(typing.TypedDict, total=False): deploymentState: ConfigManagementGatekeeperDeploymentState migration: ConfigManagementPolicyControllerMigration version: ConfigManagementPolicyControllerVersion @typing.type_check_only -class ConfigManagementPolicyControllerVersion(typing_extensions.TypedDict, total=False): +class ConfigManagementPolicyControllerVersion(typing.TypedDict, total=False): version: str @typing.type_check_only -class ConfigManagementSpec(typing_extensions.TypedDict, total=False): +class ConfigManagementSpec(typing.TypedDict, total=False): binauthz: ConfigManagementBinauthzConfig cluster: str configSync: ConfigManagementConfigSync hierarchyController: ConfigManagementHierarchyControllerConfig - management: typing_extensions.Literal[ + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL" ] policyController: ConfigManagementPolicyController version: str @typing.type_check_only -class ConfigManagementState(typing_extensions.TypedDict, total=False): +class ConfigManagementState(typing.TypedDict, total=False): binauthzState: ConfigManagementBinauthzState clusterName: str configSyncState: ConfigManagementConfigSyncState @@ -331,14 +313,14 @@ class ConfigManagementState(typing_extensions.TypedDict, total=False): policyControllerState: ConfigManagementPolicyControllerState @typing.type_check_only -class ConfigManagementSyncError(typing_extensions.TypedDict, total=False): +class ConfigManagementSyncError(typing.TypedDict, total=False): code: str errorMessage: str errorResources: _list[ConfigManagementErrorResource] @typing.type_check_only -class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ConfigManagementSyncState(typing.TypedDict, total=False): + code: typing.Literal[ "SYNC_CODE_UNSPECIFIED", "SYNCED", "PENDING", @@ -356,10 +338,10 @@ class ConfigManagementSyncState(typing_extensions.TypedDict, total=False): syncToken: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FeatureSpec(typing_extensions.TypedDict, total=False): +class FeatureSpec(typing.TypedDict, total=False): cloudbuild: CloudBuildSpec configmanagement: ConfigManagementSpec identityservice: IdentityServiceSpec @@ -370,7 +352,7 @@ class FeatureSpec(typing_extensions.TypedDict, total=False): workloadcertificate: WorkloadCertificateSpec @typing.type_check_only -class FeatureState(typing_extensions.TypedDict, total=False): +class FeatureState(typing.TypedDict, total=False): appdevexperience: AppDevExperienceState clusterupgrade: ClusterUpgradeState configmanagement: ConfigManagementState @@ -383,13 +365,13 @@ class FeatureState(typing_extensions.TypedDict, total=False): workloadidentity: WorkloadIdentityState @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): +class IdentityServiceAuthMethod(typing.TypedDict, total=False): azureadConfig: IdentityServiceAzureADConfig googleConfig: IdentityServiceGoogleConfig ldapConfig: IdentityServiceLdapConfig @@ -399,7 +381,7 @@ class IdentityServiceAuthMethod(typing_extensions.TypedDict, total=False): samlConfig: IdentityServiceSamlConfig @typing.type_check_only -class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceAzureADConfig(typing.TypedDict, total=False): clientId: str clientSecret: str encryptedClientSecret: str @@ -409,34 +391,34 @@ class IdentityServiceAzureADConfig(typing_extensions.TypedDict, total=False): userClaim: str @typing.type_check_only -class IdentityServiceDiagnosticInterface(typing_extensions.TypedDict, total=False): +class IdentityServiceDiagnosticInterface(typing.TypedDict, total=False): enabled: bool expirationTime: str @typing.type_check_only -class IdentityServiceGoogleConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGoogleConfig(typing.TypedDict, total=False): disable: bool @typing.type_check_only -class IdentityServiceGroupConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceGroupConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str @typing.type_check_only -class IdentityServiceIdentityServiceOptions(typing_extensions.TypedDict, total=False): +class IdentityServiceIdentityServiceOptions(typing.TypedDict, total=False): diagnosticInterface: IdentityServiceDiagnosticInterface sessionDuration: str @typing.type_check_only -class IdentityServiceLdapConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceLdapConfig(typing.TypedDict, total=False): group: IdentityServiceGroupConfig server: IdentityServiceServerConfig serviceAccount: IdentityServiceServiceAccountConfig user: IdentityServiceUserConfig @typing.type_check_only -class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceOidcConfig(typing.TypedDict, total=False): certificateAuthorityData: str clientId: str clientSecret: str @@ -453,7 +435,7 @@ class IdentityServiceOidcConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceSamlConfig(typing.TypedDict, total=False): attributeMapping: dict[str, typing.Any] groupPrefix: str groupsAttribute: str @@ -464,43 +446,43 @@ class IdentityServiceSamlConfig(typing_extensions.TypedDict, total=False): userPrefix: str @typing.type_check_only -class IdentityServiceServerConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServerConfig(typing.TypedDict, total=False): certificateAuthorityData: str connectionType: str host: str @typing.type_check_only -class IdentityServiceServiceAccountConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceServiceAccountConfig(typing.TypedDict, total=False): simpleBindCredentials: IdentityServiceSimpleBindCredentials @typing.type_check_only -class IdentityServiceSimpleBindCredentials(typing_extensions.TypedDict, total=False): +class IdentityServiceSimpleBindCredentials(typing.TypedDict, total=False): dn: str encryptedPassword: str password: str @typing.type_check_only -class IdentityServiceSpec(typing_extensions.TypedDict, total=False): +class IdentityServiceSpec(typing.TypedDict, total=False): authMethods: _list[IdentityServiceAuthMethod] identityServiceOptions: IdentityServiceIdentityServiceOptions @typing.type_check_only -class IdentityServiceState(typing_extensions.TypedDict, total=False): +class IdentityServiceState(typing.TypedDict, total=False): failureReason: str installedVersion: str memberConfig: IdentityServiceSpec - state: typing_extensions.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] + state: typing.Literal["DEPLOYMENT_STATE_UNSPECIFIED", "OK", "ERROR"] @typing.type_check_only -class IdentityServiceUserConfig(typing_extensions.TypedDict, total=False): +class IdentityServiceUserConfig(typing.TypedDict, total=False): baseDn: str filter: str idAttribute: str loginAttribute: str @typing.type_check_only -class LifecycleState(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class LifecycleState(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLING", "ACTIVE", @@ -510,24 +492,24 @@ class LifecycleState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMembershipFeaturesResponse(typing_extensions.TypedDict, total=False): +class ListMembershipFeaturesResponse(typing.TypedDict, total=False): membershipFeatures: _list[MembershipFeature] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -535,7 +517,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MembershipFeature(typing_extensions.TypedDict, total=False): +class MembershipFeature(typing.TypedDict, total=False): createTime: str deleteTime: str labels: dict[str, typing.Any] @@ -546,12 +528,12 @@ class MembershipFeature(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MeteringState(typing_extensions.TypedDict, total=False): +class MeteringState(typing.TypedDict, total=False): lastMeasurementTime: str preciseLastMeasuredClusterVcpuCapacity: float @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -559,7 +541,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -569,22 +551,20 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Origin(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER" - ] +class Origin(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "FLEET", "FLEET_OUT_OF_SYNC", "USER"] @typing.type_check_only -class PolicyControllerBundleInstallSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerBundleInstallSpec(typing.TypedDict, total=False): exemptedNamespaces: _list[str] @typing.type_check_only -class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerHubConfig(typing.TypedDict, total=False): auditIntervalSeconds: str constraintViolationLimit: str deploymentConfigs: dict[str, typing.Any] exemptableNamespaces: _list[str] - installSpec: typing_extensions.Literal[ + installSpec: typing.Literal[ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", @@ -598,17 +578,17 @@ class PolicyControllerHubConfig(typing_extensions.TypedDict, total=False): referentialRulesEnabled: bool @typing.type_check_only -class PolicyControllerMonitoringConfig(typing_extensions.TypedDict, total=False): +class PolicyControllerMonitoringConfig(typing.TypedDict, total=False): backends: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONITORING_BACKEND_UNSPECIFIED", "PROMETHEUS", "CLOUD_MONITORING" ] ] @typing.type_check_only -class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): +class PolicyControllerOnClusterState(typing.TypedDict, total=False): details: str - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -622,48 +602,44 @@ class PolicyControllerOnClusterState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerPolicyContentSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentSpec(typing.TypedDict, total=False): bundles: dict[str, typing.Any] templateLibrary: PolicyControllerTemplateLibraryConfig @typing.type_check_only -class PolicyControllerPolicyContentState(typing_extensions.TypedDict, total=False): +class PolicyControllerPolicyContentState(typing.TypedDict, total=False): bundleStates: dict[str, typing.Any] referentialSyncConfigState: PolicyControllerOnClusterState templateLibraryState: PolicyControllerOnClusterState @typing.type_check_only -class PolicyControllerPolicyControllerDeploymentConfig( - typing_extensions.TypedDict, total=False -): +class PolicyControllerPolicyControllerDeploymentConfig(typing.TypedDict, total=False): containerResources: PolicyControllerResourceRequirements - podAffinity: typing_extensions.Literal[ - "AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY" - ] + podAffinity: typing.Literal["AFFINITY_UNSPECIFIED", "NO_AFFINITY", "ANTI_AFFINITY"] podAntiAffinity: bool podTolerations: _list[PolicyControllerToleration] replicaCount: str @typing.type_check_only -class PolicyControllerResourceList(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceList(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class PolicyControllerResourceRequirements(typing_extensions.TypedDict, total=False): +class PolicyControllerResourceRequirements(typing.TypedDict, total=False): limits: PolicyControllerResourceList requests: PolicyControllerResourceList @typing.type_check_only -class PolicyControllerSpec(typing_extensions.TypedDict, total=False): +class PolicyControllerSpec(typing.TypedDict, total=False): policyControllerHubConfig: PolicyControllerHubConfig version: str @typing.type_check_only -class PolicyControllerState(typing_extensions.TypedDict, total=False): +class PolicyControllerState(typing.TypedDict, total=False): componentStates: dict[str, typing.Any] policyContentState: PolicyControllerPolicyContentState - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLING", @@ -677,51 +653,47 @@ class PolicyControllerState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PolicyControllerTemplateLibraryConfig(typing_extensions.TypedDict, total=False): - installation: typing_extensions.Literal[ - "INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL" - ] +class PolicyControllerTemplateLibraryConfig(typing.TypedDict, total=False): + installation: typing.Literal["INSTALLATION_UNSPECIFIED", "NOT_INSTALLED", "ALL"] @typing.type_check_only -class PolicyControllerToleration(typing_extensions.TypedDict, total=False): +class PolicyControllerToleration(typing.TypedDict, total=False): effect: str key: str operator: str value: str @typing.type_check_only -class RBACRoleBindingActuationRBACRoleBindingState( - typing_extensions.TypedDict, total=False -): +class RBACRoleBindingActuationRBACRoleBindingState(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ROLE_BINDING_STATE_UNSPECIFIED", "OK", "CUSTOM_ROLE_MISSING_FROM_CLUSTER" ] updateTime: str @typing.type_check_only -class RBACRoleBindingActuationSpec(typing_extensions.TypedDict, total=False): ... +class RBACRoleBindingActuationSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class RBACRoleBindingActuationState(typing_extensions.TypedDict, total=False): +class RBACRoleBindingActuationState(typing.TypedDict, total=False): rbacrolebindingStates: dict[str, typing.Any] @typing.type_check_only -class ServiceMeshAnalysisMessage(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessage(typing.TypedDict, total=False): args: dict[str, typing.Any] description: str messageBase: ServiceMeshAnalysisMessageBase resourcePaths: _list[str] @typing.type_check_only -class ServiceMeshAnalysisMessageBase(typing_extensions.TypedDict, total=False): +class ServiceMeshAnalysisMessageBase(typing.TypedDict, total=False): documentationUrl: str - level: typing_extensions.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] + level: typing.Literal["LEVEL_UNSPECIFIED", "ERROR", "WARNING", "INFO"] type: ServiceMeshType @typing.type_check_only -class ServiceMeshCondition(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ServiceMeshCondition(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", @@ -782,6 +754,7 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): "MODERNIZATION_MODERNIZED_SOAKING", "MODERNIZATION_FINALIZED", "MODERNIZATION_ROLLING_BACK_FLEET", + "MODERNIZATION_MODERNIZED", "MODERNIZATION_COMPATIBLE", "MODERNIZATION_INCOMPATIBLE", "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE", @@ -789,17 +762,15 @@ class ServiceMeshCondition(typing_extensions.TypedDict, total=False): ] details: str documentationLink: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshControlPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - implementation: typing_extensions.Literal[ + implementation: typing.Literal[ "IMPLEMENTATION_UNSPECIFIED", "ISTIOD", "TRAFFIC_DIRECTOR", "UPDATING" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -812,9 +783,9 @@ class ServiceMeshControlPlaneManagement(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): +class ServiceMeshDataPlaneManagement(typing.TypedDict, total=False): details: _list[ServiceMeshStatusDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "DISABLED", "FAILED_PRECONDITION", @@ -827,17 +798,15 @@ class ServiceMeshDataPlaneManagement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshSpec(typing_extensions.TypedDict, total=False): - configApi: typing_extensions.Literal[ +class ServiceMeshSpec(typing.TypedDict, total=False): + configApi: typing.Literal[ "CONFIG_API_UNSPECIFIED", "CONFIG_API_ISTIO", "CONFIG_API_GATEWAY" ] - controlPlane: typing_extensions.Literal[ + controlPlane: typing.Literal[ "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - defaultChannel: typing_extensions.Literal[ - "CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" - ] - management: typing_extensions.Literal[ + defaultChannel: typing.Literal["CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE"] + management: typing.Literal[ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", "MANAGEMENT_MANUAL", @@ -845,7 +814,7 @@ class ServiceMeshSpec(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceMeshState(typing_extensions.TypedDict, total=False): +class ServiceMeshState(typing.TypedDict, total=False): analysisMessages: _list[ServiceMeshAnalysisMessage] conditions: _list[ServiceMeshCondition] configApiVersion: str @@ -853,32 +822,30 @@ class ServiceMeshState(typing_extensions.TypedDict, total=False): dataPlaneManagement: ServiceMeshDataPlaneManagement @typing.type_check_only -class ServiceMeshStatusDetails(typing_extensions.TypedDict, total=False): +class ServiceMeshStatusDetails(typing.TypedDict, total=False): code: str details: str @typing.type_check_only -class ServiceMeshType(typing_extensions.TypedDict, total=False): +class ServiceMeshType(typing.TypedDict, total=False): code: str displayName: str @typing.type_check_only -class State(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] +class State(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "OK", "WARNING", "ERROR"] description: str updateTime: str @typing.type_check_only -class WorkloadCertificateSpec(typing_extensions.TypedDict, total=False): - certificateManagement: typing_extensions.Literal[ +class WorkloadCertificateSpec(typing.TypedDict, total=False): + certificateManagement: typing.Literal[ "CERTIFICATE_MANAGEMENT_UNSPECIFIED", "DISABLED", "ENABLED" ] @typing.type_check_only -class WorkloadIdentityIdentityProviderStateDetail( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class WorkloadIdentityIdentityProviderStateDetail(typing.TypedDict, total=False): + code: typing.Literal[ "IDENTITY_PROVIDER_STATE_UNSPECIFIED", "IDENTITY_PROVIDER_STATE_OK", "IDENTITY_PROVIDER_STATE_ERROR", @@ -886,6 +853,6 @@ class WorkloadIdentityIdentityProviderStateDetail( description: str @typing.type_check_only -class WorkloadIdentityState(typing_extensions.TypedDict, total=False): +class WorkloadIdentityState(typing.TypedDict, total=False): description: str identityProviderStateDetails: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi index 4fdd599ee..c66718bb4 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -62,9 +61,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, name: str, allowMissing: bool | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> BareMetalAdminClusterHttpRequest: ... @@ -82,9 +79,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): allowMissing: bool | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListBareMetalAdminClustersResponseHttpRequest: ... @@ -190,7 +185,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "NODE_POOL_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -209,7 +204,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "NODE_POOL_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -309,9 +304,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, name: str, allowMissing: bool | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> BareMetalClusterHttpRequest: ... @@ -330,9 +323,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListBareMetalClustersResponseHttpRequest: ... @@ -464,9 +455,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, name: str, allowMissing: bool | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> VmwareAdminClusterHttpRequest: ... @@ -484,9 +473,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): allowMissing: bool | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListVmwareAdminClustersResponseHttpRequest: ... @@ -607,7 +594,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "NODE_POOL_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -626,7 +613,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "NODE_POOL_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -705,9 +692,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, name: str, allowMissing: bool | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> VmwareClusterHttpRequest: ... @@ -726,9 +711,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CLUSTER_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListVmwareClustersResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi index 6c04d8908..5d99fcdfc 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi @@ -1,33 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Authorization(typing_extensions.TypedDict, total=False): +class Authorization(typing.TypedDict, total=False): adminUsers: _list[ClusterUser] @typing.type_check_only -class BareMetalAdminApiServerArgument(typing_extensions.TypedDict, total=False): +class BareMetalAdminApiServerArgument(typing.TypedDict, total=False): argument: str value: str @typing.type_check_only -class BareMetalAdminBgpLbConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminBgpLbConfig(typing.TypedDict, total=False): addressPools: _list[BareMetalAdminLoadBalancerAddressPool] asn: str bgpPeerConfigs: _list[BareMetalAdminBgpPeerConfig] loadBalancerNodePoolConfig: BareMetalAdminLoadBalancerNodePoolConfig @typing.type_check_only -class BareMetalAdminBgpPeerConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminBgpPeerConfig(typing.TypedDict, total=False): asn: str controlPlaneNodes: _list[str] ipAddress: str @typing.type_check_only -class BareMetalAdminCluster(typing_extensions.TypedDict, total=False): +class BareMetalAdminCluster(typing.TypedDict, total=False): annotations: dict[str, typing.Any] bareMetalVersion: str binaryAuthorization: BinaryAuthorization @@ -51,7 +49,7 @@ class BareMetalAdminCluster(typing_extensions.TypedDict, total=False): proxy: BareMetalAdminProxyConfig reconciling: bool securityConfig: BareMetalAdminSecurityConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -67,137 +65,131 @@ class BareMetalAdminCluster(typing_extensions.TypedDict, total=False): validationCheck: ValidationCheck @typing.type_check_only -class BareMetalAdminClusterOperationsConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminClusterOperationsConfig(typing.TypedDict, total=False): enableApplicationLogs: bool @typing.type_check_only -class BareMetalAdminControlPlaneConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminControlPlaneConfig(typing.TypedDict, total=False): apiServerArgs: _list[BareMetalAdminApiServerArgument] controlPlaneNodePoolConfig: BareMetalAdminControlPlaneNodePoolConfig @typing.type_check_only -class BareMetalAdminControlPlaneNodePoolConfig( - typing_extensions.TypedDict, total=False -): +class BareMetalAdminControlPlaneNodePoolConfig(typing.TypedDict, total=False): nodePoolConfig: BareMetalNodePoolConfig @typing.type_check_only -class BareMetalAdminDrainedMachine(typing_extensions.TypedDict, total=False): +class BareMetalAdminDrainedMachine(typing.TypedDict, total=False): nodeIp: str @typing.type_check_only -class BareMetalAdminDrainingMachine(typing_extensions.TypedDict, total=False): +class BareMetalAdminDrainingMachine(typing.TypedDict, total=False): nodeIp: str podCount: int @typing.type_check_only -class BareMetalAdminIslandModeCidrConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminIslandModeCidrConfig(typing.TypedDict, total=False): podAddressCidrBlocks: _list[str] serviceAddressCidrBlocks: _list[str] @typing.type_check_only -class BareMetalAdminLoadBalancerAddressPool(typing_extensions.TypedDict, total=False): +class BareMetalAdminLoadBalancerAddressPool(typing.TypedDict, total=False): addresses: _list[str] avoidBuggyIps: bool manualAssign: bool pool: str @typing.type_check_only -class BareMetalAdminLoadBalancerConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminLoadBalancerConfig(typing.TypedDict, total=False): bgpLbConfig: BareMetalAdminBgpLbConfig manualLbConfig: BareMetalAdminManualLbConfig portConfig: BareMetalAdminPortConfig vipConfig: BareMetalAdminVipConfig @typing.type_check_only -class BareMetalAdminLoadBalancerNodePoolConfig( - typing_extensions.TypedDict, total=False -): +class BareMetalAdminLoadBalancerNodePoolConfig(typing.TypedDict, total=False): nodePoolConfig: BareMetalNodePoolConfig @typing.type_check_only -class BareMetalAdminMachineDrainStatus(typing_extensions.TypedDict, total=False): +class BareMetalAdminMachineDrainStatus(typing.TypedDict, total=False): drainedMachines: _list[BareMetalAdminDrainedMachine] drainingMachines: _list[BareMetalAdminDrainingMachine] @typing.type_check_only -class BareMetalAdminMaintenanceConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminMaintenanceConfig(typing.TypedDict, total=False): maintenanceAddressCidrBlocks: _list[str] @typing.type_check_only -class BareMetalAdminMaintenanceStatus(typing_extensions.TypedDict, total=False): +class BareMetalAdminMaintenanceStatus(typing.TypedDict, total=False): machineDrainStatus: BareMetalAdminMachineDrainStatus @typing.type_check_only -class BareMetalAdminManualLbConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminManualLbConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class BareMetalAdminMultipleNetworkInterfacesConfig( - typing_extensions.TypedDict, total=False -): +class BareMetalAdminMultipleNetworkInterfacesConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class BareMetalAdminNetworkConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminNetworkConfig(typing.TypedDict, total=False): advancedNetworking: bool islandModeCidr: BareMetalAdminIslandModeCidrConfig multipleNetworkInterfacesConfig: BareMetalAdminMultipleNetworkInterfacesConfig @typing.type_check_only -class BareMetalAdminNodeAccessConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminNodeAccessConfig(typing.TypedDict, total=False): loginUser: str @typing.type_check_only -class BareMetalAdminOsEnvironmentConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminOsEnvironmentConfig(typing.TypedDict, total=False): packageRepoExcluded: bool @typing.type_check_only -class BareMetalAdminPortConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminPortConfig(typing.TypedDict, total=False): controlPlaneLoadBalancerPort: int @typing.type_check_only -class BareMetalAdminProxyConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminProxyConfig(typing.TypedDict, total=False): noProxy: _list[str] uri: str @typing.type_check_only -class BareMetalAdminSecurityConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminSecurityConfig(typing.TypedDict, total=False): authorization: Authorization @typing.type_check_only -class BareMetalAdminStorageConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminStorageConfig(typing.TypedDict, total=False): lvpNodeMountsConfig: BareMetalLvpConfig lvpShareConfig: BareMetalLvpShareConfig @typing.type_check_only -class BareMetalAdminVipConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminVipConfig(typing.TypedDict, total=False): controlPlaneVip: str @typing.type_check_only -class BareMetalAdminWorkloadNodeConfig(typing_extensions.TypedDict, total=False): +class BareMetalAdminWorkloadNodeConfig(typing.TypedDict, total=False): maxPodsPerNode: str @typing.type_check_only -class BareMetalApiServerArgument(typing_extensions.TypedDict, total=False): +class BareMetalApiServerArgument(typing.TypedDict, total=False): argument: str value: str @typing.type_check_only -class BareMetalBgpLbConfig(typing_extensions.TypedDict, total=False): +class BareMetalBgpLbConfig(typing.TypedDict, total=False): addressPools: _list[BareMetalLoadBalancerAddressPool] asn: str bgpPeerConfigs: _list[BareMetalBgpPeerConfig] loadBalancerNodePoolConfig: BareMetalLoadBalancerNodePoolConfig @typing.type_check_only -class BareMetalBgpPeerConfig(typing_extensions.TypedDict, total=False): +class BareMetalBgpPeerConfig(typing.TypedDict, total=False): asn: str controlPlaneNodes: _list[str] ipAddress: str @typing.type_check_only -class BareMetalCluster(typing_extensions.TypedDict, total=False): +class BareMetalCluster(typing.TypedDict, total=False): adminClusterMembership: str adminClusterName: str annotations: dict[str, typing.Any] @@ -224,7 +216,7 @@ class BareMetalCluster(typing_extensions.TypedDict, total=False): proxy: BareMetalProxyConfig reconciling: bool securityConfig: BareMetalSecurityConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -241,54 +233,52 @@ class BareMetalCluster(typing_extensions.TypedDict, total=False): validationCheck: ValidationCheck @typing.type_check_only -class BareMetalClusterOperationsConfig(typing_extensions.TypedDict, total=False): +class BareMetalClusterOperationsConfig(typing.TypedDict, total=False): enableApplicationLogs: bool @typing.type_check_only -class BareMetalClusterUpgradePolicy(typing_extensions.TypedDict, total=False): +class BareMetalClusterUpgradePolicy(typing.TypedDict, total=False): pause: bool - policy: typing_extensions.Literal[ - "NODE_POOL_POLICY_UNSPECIFIED", "SERIAL", "CONCURRENT" - ] + policy: typing.Literal["NODE_POOL_POLICY_UNSPECIFIED", "SERIAL", "CONCURRENT"] @typing.type_check_only -class BareMetalControlPlaneConfig(typing_extensions.TypedDict, total=False): +class BareMetalControlPlaneConfig(typing.TypedDict, total=False): apiServerArgs: _list[BareMetalApiServerArgument] controlPlaneNodePoolConfig: BareMetalControlPlaneNodePoolConfig @typing.type_check_only -class BareMetalControlPlaneNodePoolConfig(typing_extensions.TypedDict, total=False): +class BareMetalControlPlaneNodePoolConfig(typing.TypedDict, total=False): nodePoolConfig: BareMetalNodePoolConfig @typing.type_check_only -class BareMetalDrainedMachine(typing_extensions.TypedDict, total=False): +class BareMetalDrainedMachine(typing.TypedDict, total=False): nodeIp: str @typing.type_check_only -class BareMetalDrainingMachine(typing_extensions.TypedDict, total=False): +class BareMetalDrainingMachine(typing.TypedDict, total=False): nodeIp: str podCount: int @typing.type_check_only -class BareMetalIslandModeCidrConfig(typing_extensions.TypedDict, total=False): +class BareMetalIslandModeCidrConfig(typing.TypedDict, total=False): podAddressCidrBlocks: _list[str] serviceAddressCidrBlocks: _list[str] @typing.type_check_only -class BareMetalKubeletConfig(typing_extensions.TypedDict, total=False): +class BareMetalKubeletConfig(typing.TypedDict, total=False): registryBurst: int registryPullQps: int serializeImagePullsDisabled: bool @typing.type_check_only -class BareMetalLoadBalancerAddressPool(typing_extensions.TypedDict, total=False): +class BareMetalLoadBalancerAddressPool(typing.TypedDict, total=False): addresses: _list[str] avoidBuggyIps: bool manualAssign: bool pool: str @typing.type_check_only -class BareMetalLoadBalancerConfig(typing_extensions.TypedDict, total=False): +class BareMetalLoadBalancerConfig(typing.TypedDict, total=False): bgpLbConfig: BareMetalBgpLbConfig manualLbConfig: BareMetalManualLbConfig metalLbConfig: BareMetalMetalLbConfig @@ -296,65 +286,63 @@ class BareMetalLoadBalancerConfig(typing_extensions.TypedDict, total=False): vipConfig: BareMetalVipConfig @typing.type_check_only -class BareMetalLoadBalancerNodePoolConfig(typing_extensions.TypedDict, total=False): +class BareMetalLoadBalancerNodePoolConfig(typing.TypedDict, total=False): nodePoolConfig: BareMetalNodePoolConfig @typing.type_check_only -class BareMetalLvpConfig(typing_extensions.TypedDict, total=False): +class BareMetalLvpConfig(typing.TypedDict, total=False): path: str storageClass: str @typing.type_check_only -class BareMetalLvpShareConfig(typing_extensions.TypedDict, total=False): +class BareMetalLvpShareConfig(typing.TypedDict, total=False): lvpConfig: BareMetalLvpConfig sharedPathPvCount: int @typing.type_check_only -class BareMetalMachineDrainStatus(typing_extensions.TypedDict, total=False): +class BareMetalMachineDrainStatus(typing.TypedDict, total=False): drainedMachines: _list[BareMetalDrainedMachine] drainingMachines: _list[BareMetalDrainingMachine] @typing.type_check_only -class BareMetalMaintenanceConfig(typing_extensions.TypedDict, total=False): +class BareMetalMaintenanceConfig(typing.TypedDict, total=False): maintenanceAddressCidrBlocks: _list[str] @typing.type_check_only -class BareMetalMaintenanceStatus(typing_extensions.TypedDict, total=False): +class BareMetalMaintenanceStatus(typing.TypedDict, total=False): machineDrainStatus: BareMetalMachineDrainStatus @typing.type_check_only -class BareMetalManualLbConfig(typing_extensions.TypedDict, total=False): +class BareMetalManualLbConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class BareMetalMetalLbConfig(typing_extensions.TypedDict, total=False): +class BareMetalMetalLbConfig(typing.TypedDict, total=False): addressPools: _list[BareMetalLoadBalancerAddressPool] loadBalancerNodePoolConfig: BareMetalLoadBalancerNodePoolConfig @typing.type_check_only -class BareMetalMultipleNetworkInterfacesConfig( - typing_extensions.TypedDict, total=False -): +class BareMetalMultipleNetworkInterfacesConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class BareMetalNetworkConfig(typing_extensions.TypedDict, total=False): +class BareMetalNetworkConfig(typing.TypedDict, total=False): advancedNetworking: bool islandModeCidr: BareMetalIslandModeCidrConfig multipleNetworkInterfacesConfig: BareMetalMultipleNetworkInterfacesConfig srIovConfig: BareMetalSrIovConfig @typing.type_check_only -class BareMetalNodeAccessConfig(typing_extensions.TypedDict, total=False): +class BareMetalNodeAccessConfig(typing.TypedDict, total=False): loginUser: str @typing.type_check_only -class BareMetalNodeConfig(typing_extensions.TypedDict, total=False): +class BareMetalNodeConfig(typing.TypedDict, total=False): labels: dict[str, typing.Any] nodeIp: str @typing.type_check_only -class BareMetalNodePool(typing_extensions.TypedDict, total=False): +class BareMetalNodePool(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -363,7 +351,7 @@ class BareMetalNodePool(typing_extensions.TypedDict, total=False): name: str nodePoolConfig: BareMetalNodePoolConfig reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -378,181 +366,179 @@ class BareMetalNodePool(typing_extensions.TypedDict, total=False): upgradePolicy: BareMetalNodePoolUpgradePolicy @typing.type_check_only -class BareMetalNodePoolConfig(typing_extensions.TypedDict, total=False): +class BareMetalNodePoolConfig(typing.TypedDict, total=False): kubeletConfig: BareMetalKubeletConfig labels: dict[str, typing.Any] nodeConfigs: _list[BareMetalNodeConfig] - operatingSystem: typing_extensions.Literal["OPERATING_SYSTEM_UNSPECIFIED", "LINUX"] + operatingSystem: typing.Literal["OPERATING_SYSTEM_UNSPECIFIED", "LINUX"] taints: _list[NodeTaint] @typing.type_check_only -class BareMetalNodePoolUpgradePolicy(typing_extensions.TypedDict, total=False): +class BareMetalNodePoolUpgradePolicy(typing.TypedDict, total=False): parallelUpgradeConfig: BareMetalParallelUpgradeConfig @typing.type_check_only -class BareMetalOsEnvironmentConfig(typing_extensions.TypedDict, total=False): +class BareMetalOsEnvironmentConfig(typing.TypedDict, total=False): packageRepoExcluded: bool @typing.type_check_only -class BareMetalParallelUpgradeConfig(typing_extensions.TypedDict, total=False): +class BareMetalParallelUpgradeConfig(typing.TypedDict, total=False): concurrentNodes: int minimumAvailableNodes: int @typing.type_check_only -class BareMetalPortConfig(typing_extensions.TypedDict, total=False): +class BareMetalPortConfig(typing.TypedDict, total=False): controlPlaneLoadBalancerPort: int @typing.type_check_only -class BareMetalProxyConfig(typing_extensions.TypedDict, total=False): +class BareMetalProxyConfig(typing.TypedDict, total=False): noProxy: _list[str] uri: str @typing.type_check_only -class BareMetalSecurityConfig(typing_extensions.TypedDict, total=False): +class BareMetalSecurityConfig(typing.TypedDict, total=False): authorization: Authorization @typing.type_check_only -class BareMetalSrIovConfig(typing_extensions.TypedDict, total=False): +class BareMetalSrIovConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class BareMetalStorageConfig(typing_extensions.TypedDict, total=False): +class BareMetalStorageConfig(typing.TypedDict, total=False): lvpNodeMountsConfig: BareMetalLvpConfig lvpShareConfig: BareMetalLvpShareConfig @typing.type_check_only -class BareMetalVersionInfo(typing_extensions.TypedDict, total=False): +class BareMetalVersionInfo(typing.TypedDict, total=False): dependencies: _list[UpgradeDependency] hasDependencies: bool version: str @typing.type_check_only -class BareMetalVipConfig(typing_extensions.TypedDict, total=False): +class BareMetalVipConfig(typing.TypedDict, total=False): controlPlaneVip: str ingressVip: str @typing.type_check_only -class BareMetalWorkloadNodeConfig(typing_extensions.TypedDict, total=False): - containerRuntime: typing_extensions.Literal[ - "CONTAINER_RUNTIME_UNSPECIFIED", "CONTAINERD" - ] +class BareMetalWorkloadNodeConfig(typing.TypedDict, total=False): + containerRuntime: typing.Literal["CONTAINER_RUNTIME_UNSPECIFIED", "CONTAINERD"] maxPodsPerNode: str @typing.type_check_only -class BinaryAuthorization(typing_extensions.TypedDict, total=False): - evaluationMode: typing_extensions.Literal[ +class BinaryAuthorization(typing.TypedDict, total=False): + evaluationMode: typing.Literal[ "EVALUATION_MODE_UNSPECIFIED", "DISABLED", "PROJECT_SINGLETON_POLICY_ENFORCE" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClusterUser(typing_extensions.TypedDict, total=False): +class ClusterUser(typing.TypedDict, total=False): username: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnrollBareMetalAdminClusterRequest(typing_extensions.TypedDict, total=False): +class EnrollBareMetalAdminClusterRequest(typing.TypedDict, total=False): bareMetalAdminClusterId: str membership: str @typing.type_check_only -class EnrollBareMetalClusterRequest(typing_extensions.TypedDict, total=False): +class EnrollBareMetalClusterRequest(typing.TypedDict, total=False): adminClusterMembership: str bareMetalClusterId: str localName: str localNamespace: str @typing.type_check_only -class EnrollBareMetalNodePoolRequest(typing_extensions.TypedDict, total=False): +class EnrollBareMetalNodePoolRequest(typing.TypedDict, total=False): bareMetalNodePoolId: str validateOnly: bool @typing.type_check_only -class EnrollVmwareAdminClusterRequest(typing_extensions.TypedDict, total=False): +class EnrollVmwareAdminClusterRequest(typing.TypedDict, total=False): membership: str vmwareAdminClusterId: str @typing.type_check_only -class EnrollVmwareClusterRequest(typing_extensions.TypedDict, total=False): +class EnrollVmwareClusterRequest(typing.TypedDict, total=False): adminClusterMembership: str localName: str validateOnly: bool vmwareClusterId: str @typing.type_check_only -class EnrollVmwareNodePoolRequest(typing_extensions.TypedDict, total=False): +class EnrollVmwareNodePoolRequest(typing.TypedDict, total=False): vmwareNodePoolId: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Fleet(typing_extensions.TypedDict, total=False): +class Fleet(typing.TypedDict, total=False): membership: str @typing.type_check_only -class ListBareMetalAdminClustersResponse(typing_extensions.TypedDict, total=False): +class ListBareMetalAdminClustersResponse(typing.TypedDict, total=False): bareMetalAdminClusters: _list[BareMetalAdminCluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBareMetalClustersResponse(typing_extensions.TypedDict, total=False): +class ListBareMetalClustersResponse(typing.TypedDict, total=False): bareMetalClusters: _list[BareMetalCluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBareMetalNodePoolsResponse(typing_extensions.TypedDict, total=False): +class ListBareMetalNodePoolsResponse(typing.TypedDict, total=False): bareMetalNodePools: _list[BareMetalNodePool] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListVmwareAdminClustersResponse(typing_extensions.TypedDict, total=False): +class ListVmwareAdminClustersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vmwareAdminClusters: _list[VmwareAdminCluster] @typing.type_check_only -class ListVmwareClustersResponse(typing_extensions.TypedDict, total=False): +class ListVmwareClustersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vmwareClusters: _list[VmwareCluster] @typing.type_check_only -class ListVmwareNodePoolsResponse(typing_extensions.TypedDict, total=False): +class ListVmwareNodePoolsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vmwareNodePools: _list[VmwareNodePool] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -560,10 +546,10 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): doubleValue: float intValue: str - metric: typing_extensions.Literal[ + metric: typing.Literal[ "METRIC_ID_UNSPECIFIED", "NODES_TOTAL", "NODES_DRAINING", @@ -582,15 +568,15 @@ class Metric(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class NodeTaint(typing_extensions.TypedDict, total=False): - effect: typing_extensions.Literal[ +class NodeTaint(typing.TypedDict, total=False): + effect: typing.Literal[ "EFFECT_UNSPECIFIED", "NO_SCHEDULE", "PREFER_NO_SCHEDULE", "NO_EXECUTE" ] key: str value: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -598,7 +584,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str controlPlaneDisconnected: bool createTime: str @@ -607,7 +593,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): requestedCancellation: bool statusMessage: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "CREATE", "DELETE", @@ -618,14 +604,14 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OperationProgress(typing_extensions.TypedDict, total=False): +class OperationProgress(typing.TypedDict, total=False): stages: _list[OperationStage] @typing.type_check_only -class OperationStage(typing_extensions.TypedDict, total=False): +class OperationStage(typing.TypedDict, total=False): endTime: str metrics: _list[Metric] - stage: typing_extensions.Literal[ + stage: typing.Literal[ "STAGE_UNSPECIFIED", "PREFLIGHT_CHECK", "CONFIGURE", @@ -634,87 +620,85 @@ class OperationStage(typing_extensions.TypedDict, total=False): "UPDATE", ] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class QueryBareMetalAdminVersionConfigResponse( - typing_extensions.TypedDict, total=False -): +class QueryBareMetalAdminVersionConfigResponse(typing.TypedDict, total=False): versions: _list[BareMetalVersionInfo] @typing.type_check_only -class QueryBareMetalVersionConfigResponse(typing_extensions.TypedDict, total=False): +class QueryBareMetalVersionConfigResponse(typing.TypedDict, total=False): versions: _list[BareMetalVersionInfo] @typing.type_check_only -class QueryVmwareVersionConfigResponse(typing_extensions.TypedDict, total=False): +class QueryVmwareVersionConfigResponse(typing.TypedDict, total=False): versions: _list[VmwareVersionInfo] @typing.type_check_only -class ResourceCondition(typing_extensions.TypedDict, total=False): +class ResourceCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_TRUE", "STATE_FALSE", "STATE_UNKNOWN" ] type: str @typing.type_check_only -class ResourceStatus(typing_extensions.TypedDict, total=False): +class ResourceStatus(typing.TypedDict, total=False): conditions: _list[ResourceCondition] errorMessage: str version: str versions: Versions @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UpgradeDependency(typing_extensions.TypedDict, total=False): +class UpgradeDependency(typing.TypedDict, total=False): currentVersion: str membership: str resourceName: str targetVersion: str @typing.type_check_only -class ValidationCheck(typing_extensions.TypedDict, total=False): - option: typing_extensions.Literal[ +class ValidationCheck(typing.TypedDict, total=False): + option: typing.Literal[ "OPTIONS_UNSPECIFIED", "SKIP_VALIDATION_CHECK_BLOCKING", "SKIP_VALIDATION_ALL" ] - scenario: typing_extensions.Literal["SCENARIO_UNSPECIFIED", "CREATE", "UPDATE"] + scenario: typing.Literal["SCENARIO_UNSPECIFIED", "CREATE", "UPDATE"] status: ValidationCheckStatus @typing.type_check_only -class ValidationCheckResult(typing_extensions.TypedDict, total=False): +class ValidationCheckResult(typing.TypedDict, total=False): category: str description: str details: str reason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNKNOWN", "STATE_FAILURE", "STATE_SKIPPED", @@ -723,39 +707,39 @@ class ValidationCheckResult(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ValidationCheckStatus(typing_extensions.TypedDict, total=False): +class ValidationCheckStatus(typing.TypedDict, total=False): result: _list[ValidationCheckResult] @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): count: str version: str @typing.type_check_only -class Versions(typing_extensions.TypedDict, total=False): +class Versions(typing.TypedDict, total=False): versions: _list[Version] @typing.type_check_only -class VmwareAAGConfig(typing_extensions.TypedDict, total=False): +class VmwareAAGConfig(typing.TypedDict, total=False): aagConfigDisabled: bool @typing.type_check_only -class VmwareAddressPool(typing_extensions.TypedDict, total=False): +class VmwareAddressPool(typing.TypedDict, total=False): addresses: _list[str] avoidBuggyIps: bool manualAssign: bool pool: str @typing.type_check_only -class VmwareAdminAddonNodeConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminAddonNodeConfig(typing.TypedDict, total=False): autoResizeConfig: VmwareAutoResizeConfig @typing.type_check_only -class VmwareAdminAuthorizationConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminAuthorizationConfig(typing.TypedDict, total=False): viewerUsers: _list[ClusterUser] @typing.type_check_only -class VmwareAdminCluster(typing_extensions.TypedDict, total=False): +class VmwareAdminCluster(typing.TypedDict, total=False): addonNode: VmwareAdminAddonNodeConfig annotations: dict[str, typing.Any] antiAffinityGroups: VmwareAAGConfig @@ -780,7 +764,7 @@ class VmwareAdminCluster(typing_extensions.TypedDict, total=False): privateRegistryConfig: VmwareAdminPrivateRegistryConfig proxy: VmwareAdminProxy reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -796,23 +780,23 @@ class VmwareAdminCluster(typing_extensions.TypedDict, total=False): vcenter: VmwareAdminVCenterConfig @typing.type_check_only -class VmwareAdminControlPlaneNodeConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminControlPlaneNodeConfig(typing.TypedDict, total=False): cpus: str memory: str replicas: str @typing.type_check_only -class VmwareAdminF5BigIpConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminF5BigIpConfig(typing.TypedDict, total=False): address: str partition: str snatPool: str @typing.type_check_only -class VmwareAdminHAControlPlaneConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminHAControlPlaneConfig(typing.TypedDict, total=False): controlPlaneIpBlock: VmwareIpBlock @typing.type_check_only -class VmwareAdminLoadBalancerConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminLoadBalancerConfig(typing.TypedDict, total=False): f5Config: VmwareAdminF5BigIpConfig manualLbConfig: VmwareAdminManualLbConfig metalLbConfig: VmwareAdminMetalLbConfig @@ -820,7 +804,7 @@ class VmwareAdminLoadBalancerConfig(typing_extensions.TypedDict, total=False): vipConfig: VmwareAdminVipConfig @typing.type_check_only -class VmwareAdminManualLbConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminManualLbConfig(typing.TypedDict, total=False): addonsNodePort: int controlPlaneNodePort: int ingressHttpNodePort: int @@ -828,11 +812,11 @@ class VmwareAdminManualLbConfig(typing_extensions.TypedDict, total=False): konnectivityServerNodePort: int @typing.type_check_only -class VmwareAdminMetalLbConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminMetalLbConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class VmwareAdminNetworkConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminNetworkConfig(typing.TypedDict, total=False): dhcpIpConfig: VmwareDhcpIpConfig haControlPlaneConfig: VmwareAdminHAControlPlaneConfig hostConfig: VmwareHostConfig @@ -842,21 +826,21 @@ class VmwareAdminNetworkConfig(typing_extensions.TypedDict, total=False): vcenterNetwork: str @typing.type_check_only -class VmwareAdminPreparedSecretsConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminPreparedSecretsConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class VmwareAdminPrivateRegistryConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminPrivateRegistryConfig(typing.TypedDict, total=False): address: str caCert: str @typing.type_check_only -class VmwareAdminProxy(typing_extensions.TypedDict, total=False): +class VmwareAdminProxy(typing.TypedDict, total=False): noProxy: str url: str @typing.type_check_only -class VmwareAdminSeesawConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminSeesawConfig(typing.TypedDict, total=False): enableHa: bool group: str ipBlocks: _list[VmwareIpBlock] @@ -865,7 +849,7 @@ class VmwareAdminSeesawConfig(typing_extensions.TypedDict, total=False): vms: _list[str] @typing.type_check_only -class VmwareAdminVCenterConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminVCenterConfig(typing.TypedDict, total=False): address: str caCertData: str cluster: str @@ -877,25 +861,25 @@ class VmwareAdminVCenterConfig(typing_extensions.TypedDict, total=False): storagePolicyName: str @typing.type_check_only -class VmwareAdminVipConfig(typing_extensions.TypedDict, total=False): +class VmwareAdminVipConfig(typing.TypedDict, total=False): addonsVip: str controlPlaneVip: str @typing.type_check_only -class VmwareAutoRepairConfig(typing_extensions.TypedDict, total=False): +class VmwareAutoRepairConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class VmwareAutoResizeConfig(typing_extensions.TypedDict, total=False): +class VmwareAutoResizeConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class VmwareBundleConfig(typing_extensions.TypedDict, total=False): +class VmwareBundleConfig(typing.TypedDict, total=False): status: ResourceStatus version: str @typing.type_check_only -class VmwareCluster(typing_extensions.TypedDict, total=False): +class VmwareCluster(typing.TypedDict, total=False): adminClusterMembership: str adminClusterName: str annotations: dict[str, typing.Any] @@ -920,7 +904,7 @@ class VmwareCluster(typing_extensions.TypedDict, total=False): networkConfig: VmwareNetworkConfig onPremVersion: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -939,11 +923,11 @@ class VmwareCluster(typing_extensions.TypedDict, total=False): vmTrackingEnabled: bool @typing.type_check_only -class VmwareClusterUpgradePolicy(typing_extensions.TypedDict, total=False): +class VmwareClusterUpgradePolicy(typing.TypedDict, total=False): controlPlaneOnly: bool @typing.type_check_only -class VmwareControlPlaneNodeConfig(typing_extensions.TypedDict, total=False): +class VmwareControlPlaneNodeConfig(typing.TypedDict, total=False): autoResizeConfig: VmwareAutoResizeConfig cpus: str memory: str @@ -951,50 +935,50 @@ class VmwareControlPlaneNodeConfig(typing_extensions.TypedDict, total=False): vsphereConfig: VmwareControlPlaneVsphereConfig @typing.type_check_only -class VmwareControlPlaneV2Config(typing_extensions.TypedDict, total=False): +class VmwareControlPlaneV2Config(typing.TypedDict, total=False): controlPlaneIpBlock: VmwareIpBlock @typing.type_check_only -class VmwareControlPlaneVsphereConfig(typing_extensions.TypedDict, total=False): +class VmwareControlPlaneVsphereConfig(typing.TypedDict, total=False): datastore: str storagePolicyName: str @typing.type_check_only -class VmwareDataplaneV2Config(typing_extensions.TypedDict, total=False): +class VmwareDataplaneV2Config(typing.TypedDict, total=False): advancedNetworking: bool dataplaneV2Enabled: bool forwardMode: str windowsDataplaneV2Enabled: bool @typing.type_check_only -class VmwareDhcpIpConfig(typing_extensions.TypedDict, total=False): +class VmwareDhcpIpConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class VmwareF5BigIpConfig(typing_extensions.TypedDict, total=False): +class VmwareF5BigIpConfig(typing.TypedDict, total=False): address: str partition: str snatPool: str @typing.type_check_only -class VmwareHostConfig(typing_extensions.TypedDict, total=False): +class VmwareHostConfig(typing.TypedDict, total=False): dnsSearchDomains: _list[str] dnsServers: _list[str] ntpServers: _list[str] @typing.type_check_only -class VmwareHostIp(typing_extensions.TypedDict, total=False): +class VmwareHostIp(typing.TypedDict, total=False): hostname: str ip: str @typing.type_check_only -class VmwareIpBlock(typing_extensions.TypedDict, total=False): +class VmwareIpBlock(typing.TypedDict, total=False): gateway: str ips: _list[VmwareHostIp] netmask: str @typing.type_check_only -class VmwareLoadBalancerConfig(typing_extensions.TypedDict, total=False): +class VmwareLoadBalancerConfig(typing.TypedDict, total=False): f5Config: VmwareF5BigIpConfig manualLbConfig: VmwareManualLbConfig metalLbConfig: VmwareMetalLbConfig @@ -1002,18 +986,18 @@ class VmwareLoadBalancerConfig(typing_extensions.TypedDict, total=False): vipConfig: VmwareVipConfig @typing.type_check_only -class VmwareManualLbConfig(typing_extensions.TypedDict, total=False): +class VmwareManualLbConfig(typing.TypedDict, total=False): controlPlaneNodePort: int ingressHttpNodePort: int ingressHttpsNodePort: int konnectivityServerNodePort: int @typing.type_check_only -class VmwareMetalLbConfig(typing_extensions.TypedDict, total=False): +class VmwareMetalLbConfig(typing.TypedDict, total=False): addressPools: _list[VmwareAddressPool] @typing.type_check_only -class VmwareNetworkConfig(typing_extensions.TypedDict, total=False): +class VmwareNetworkConfig(typing.TypedDict, total=False): controlPlaneV2Config: VmwareControlPlaneV2Config dhcpIpConfig: VmwareDhcpIpConfig hostConfig: VmwareHostConfig @@ -1023,7 +1007,7 @@ class VmwareNetworkConfig(typing_extensions.TypedDict, total=False): vcenterNetwork: str @typing.type_check_only -class VmwareNodeConfig(typing_extensions.TypedDict, total=False): +class VmwareNodeConfig(typing.TypedDict, total=False): bootDiskSizeGb: str cpus: str enableLoadBalancer: bool @@ -1036,7 +1020,7 @@ class VmwareNodeConfig(typing_extensions.TypedDict, total=False): vsphereConfig: VmwareVsphereConfig @typing.type_check_only -class VmwareNodePool(typing_extensions.TypedDict, total=False): +class VmwareNodePool(typing.TypedDict, total=False): annotations: dict[str, typing.Any] config: VmwareNodeConfig createTime: str @@ -1047,7 +1031,7 @@ class VmwareNodePool(typing_extensions.TypedDict, total=False): nodePoolAutoscaling: VmwareNodePoolAutoscalingConfig onPremVersion: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "RUNNING", @@ -1061,19 +1045,19 @@ class VmwareNodePool(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class VmwareNodePoolAutoscalingConfig(typing_extensions.TypedDict, total=False): +class VmwareNodePoolAutoscalingConfig(typing.TypedDict, total=False): maxReplicas: int minReplicas: int @typing.type_check_only -class VmwarePlatformConfig(typing_extensions.TypedDict, total=False): +class VmwarePlatformConfig(typing.TypedDict, total=False): bundles: _list[VmwareBundleConfig] platformVersion: str requiredPlatformVersion: str status: ResourceStatus @typing.type_check_only -class VmwareSeesawConfig(typing_extensions.TypedDict, total=False): +class VmwareSeesawConfig(typing.TypedDict, total=False): enableHa: bool group: str ipBlocks: _list[VmwareIpBlock] @@ -1082,15 +1066,15 @@ class VmwareSeesawConfig(typing_extensions.TypedDict, total=False): vms: _list[str] @typing.type_check_only -class VmwareStaticIpConfig(typing_extensions.TypedDict, total=False): +class VmwareStaticIpConfig(typing.TypedDict, total=False): ipBlocks: _list[VmwareIpBlock] @typing.type_check_only -class VmwareStorageConfig(typing_extensions.TypedDict, total=False): +class VmwareStorageConfig(typing.TypedDict, total=False): vsphereCsiDisabled: bool @typing.type_check_only -class VmwareVCenterConfig(typing_extensions.TypedDict, total=False): +class VmwareVCenterConfig(typing.TypedDict, total=False): address: str caCertData: str cluster: str @@ -1101,24 +1085,24 @@ class VmwareVCenterConfig(typing_extensions.TypedDict, total=False): storagePolicyName: str @typing.type_check_only -class VmwareVersionInfo(typing_extensions.TypedDict, total=False): +class VmwareVersionInfo(typing.TypedDict, total=False): dependencies: _list[UpgradeDependency] hasDependencies: bool isInstalled: bool version: str @typing.type_check_only -class VmwareVipConfig(typing_extensions.TypedDict, total=False): +class VmwareVipConfig(typing.TypedDict, total=False): controlPlaneVip: str ingressVip: str @typing.type_check_only -class VmwareVsphereConfig(typing_extensions.TypedDict, total=False): +class VmwareVsphereConfig(typing.TypedDict, total=False): datastore: str hostGroups: _list[str] tags: _list[VmwareVsphereTag] @typing.type_check_only -class VmwareVsphereTag(typing_extensions.TypedDict, total=False): +class VmwareVsphereTag(typing.TypedDict, total=False): category: str tag: str diff --git a/googleapiclient-stubs/_apis/gmail/v1/resources.pyi b/googleapiclient-stubs/_apis/gmail/v1/resources.pyi index d9ddf4f56..a6c0b884e 100644 --- a/googleapiclient-stubs/_apis/gmail/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gmail/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -28,7 +27,7 @@ class GmailResource(googleapiclient.discovery.Resource): *, userId: str, id: str, - format: typing_extensions.Literal["minimal", "full", "raw", "metadata"] + format: typing.Literal["minimal", "full", "raw", "metadata"] | None = ..., **kwargs: typing.Any, ) -> DraftHttpRequest: ... @@ -60,11 +59,11 @@ class GmailResource(googleapiclient.discovery.Resource): self, *, userId: str, - historyTypes: typing_extensions.Literal[ + historyTypes: typing.Literal[ "messageAdded", "messageDeleted", "labelAdded", "labelRemoved" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "messageAdded", "messageDeleted", "labelAdded", "labelRemoved" ] ] @@ -132,7 +131,7 @@ class GmailResource(googleapiclient.discovery.Resource): *, userId: str, id: str, - format: typing_extensions.Literal["minimal", "full", "raw", "metadata"] + format: typing.Literal["minimal", "full", "raw", "metadata"] | None = ..., metadataHeaders: str | _list[str] | None = ..., **kwargs: typing.Any, @@ -143,9 +142,7 @@ class GmailResource(googleapiclient.discovery.Resource): userId: str, body: Message, deleted: bool | None = ..., - internalDateSource: typing_extensions.Literal[ - "receivedTime", "dateHeader" - ] + internalDateSource: typing.Literal["receivedTime", "dateHeader"] | None = ..., neverMarkSpam: bool | None = ..., processForCalendar: bool | None = ..., @@ -157,9 +154,7 @@ class GmailResource(googleapiclient.discovery.Resource): userId: str, body: Message, deleted: bool | None = ..., - internalDateSource: typing_extensions.Literal[ - "receivedTime", "dateHeader" - ] + internalDateSource: typing.Literal["receivedTime", "dateHeader"] | None = ..., **kwargs: typing.Any, ) -> MessageHttpRequest: ... @@ -238,7 +233,12 @@ class GmailResource(googleapiclient.discovery.Resource): @typing.type_check_only class KeypairsResource(googleapiclient.discovery.Resource): def create( - self, *, userId: str, body: CseKeyPair, **kwargs: typing.Any + self, + *, + userId: str, + body: CseKeyPair, + chainValidation: typing.Literal["all", "none"] | None = ..., + **kwargs: typing.Any, ) -> CseKeyPairHttpRequest: ... def disable( self, @@ -448,8 +448,7 @@ class GmailResource(googleapiclient.discovery.Resource): *, userId: str, id: str, - format: typing_extensions.Literal["full", "metadata", "minimal"] - | None = ..., + format: typing.Literal["full", "metadata", "minimal"] | None = ..., metadataHeaders: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> ThreadHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi b/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi index d5ba79e70..9101ff7e3 100644 --- a/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AutoForwarding(typing_extensions.TypedDict, total=False): - disposition: typing_extensions.Literal[ +class AutoForwarding(typing.TypedDict, total=False): + disposition: typing.Literal[ "dispositionUnspecified", "leaveInInbox", "archive", "trash", "markRead" ] emailAddress: str enabled: bool @typing.type_check_only -class BatchDeleteMessagesRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteMessagesRequest(typing.TypedDict, total=False): ids: _list[str] @typing.type_check_only -class BatchModifyMessagesRequest(typing_extensions.TypedDict, total=False): +class BatchModifyMessagesRequest(typing.TypedDict, total=False): addClassificationLabels: _list[ClassificationLabelValue] addLabelIds: _list[str] ids: _list[str] @@ -25,27 +23,25 @@ class BatchModifyMessagesRequest(typing_extensions.TypedDict, total=False): removeLabelIds: _list[str] @typing.type_check_only -class ClassificationLabelFieldValue(typing_extensions.TypedDict, total=False): +class ClassificationLabelFieldValue(typing.TypedDict, total=False): fieldId: str selection: str @typing.type_check_only -class ClassificationLabelValue(typing_extensions.TypedDict, total=False): +class ClassificationLabelValue(typing.TypedDict, total=False): fields: _list[ClassificationLabelFieldValue] labelId: str @typing.type_check_only -class CseIdentity(typing_extensions.TypedDict, total=False): +class CseIdentity(typing.TypedDict, total=False): emailAddress: str primaryKeyPairId: str signAndEncryptKeyPairs: SignAndEncryptKeyPairs @typing.type_check_only -class CseKeyPair(typing_extensions.TypedDict, total=False): +class CseKeyPair(typing.TypedDict, total=False): disableTime: str - enablementState: typing_extensions.Literal[ - "stateUnspecified", "enabled", "disabled" - ] + enablementState: typing.Literal["stateUnspecified", "enabled", "disabled"] keyPairId: str pem: str pkcs7: str @@ -53,42 +49,42 @@ class CseKeyPair(typing_extensions.TypedDict, total=False): subjectEmailAddresses: _list[str] @typing.type_check_only -class CsePrivateKeyMetadata(typing_extensions.TypedDict, total=False): +class CsePrivateKeyMetadata(typing.TypedDict, total=False): hardwareKeyMetadata: HardwareKeyMetadata kaclsKeyMetadata: KaclsKeyMetadata privateKeyMetadataId: str @typing.type_check_only -class Delegate(typing_extensions.TypedDict, total=False): +class Delegate(typing.TypedDict, total=False): delegateEmail: str - verificationStatus: typing_extensions.Literal[ + verificationStatus: typing.Literal[ "verificationStatusUnspecified", "accepted", "pending", "rejected", "expired" ] @typing.type_check_only -class DisableCseKeyPairRequest(typing_extensions.TypedDict, total=False): ... +class DisableCseKeyPairRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Draft(typing_extensions.TypedDict, total=False): +class Draft(typing.TypedDict, total=False): id: str message: Message @typing.type_check_only -class EnableCseKeyPairRequest(typing_extensions.TypedDict, total=False): ... +class EnableCseKeyPairRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): action: FilterAction criteria: FilterCriteria id: str @typing.type_check_only -class FilterAction(typing_extensions.TypedDict, total=False): +class FilterAction(typing.TypedDict, total=False): addLabelIds: _list[str] forward: str removeLabelIds: _list[str] -AlternativeFilterCriteria = typing_extensions.TypedDict( +AlternativeFilterCriteria = typing.TypedDict( "AlternativeFilterCriteria", { "excludeChats": bool, @@ -97,7 +93,7 @@ AlternativeFilterCriteria = typing_extensions.TypedDict( "negatedQuery": str, "query": str, "size": int, - "sizeComparison": typing_extensions.Literal["unspecified", "smaller", "larger"], + "sizeComparison": typing.Literal["unspecified", "smaller", "larger"], "subject": str, "to": str, }, @@ -108,18 +104,18 @@ AlternativeFilterCriteria = typing_extensions.TypedDict( class FilterCriteria(AlternativeFilterCriteria): ... @typing.type_check_only -class ForwardingAddress(typing_extensions.TypedDict, total=False): +class ForwardingAddress(typing.TypedDict, total=False): forwardingEmail: str - verificationStatus: typing_extensions.Literal[ + verificationStatus: typing.Literal[ "verificationStatusUnspecified", "accepted", "pending" ] @typing.type_check_only -class HardwareKeyMetadata(typing_extensions.TypedDict, total=False): +class HardwareKeyMetadata(typing.TypedDict, total=False): description: str @typing.type_check_only -class History(typing_extensions.TypedDict, total=False): +class History(typing.TypedDict, total=False): id: str labelsAdded: _list[HistoryLabelAdded] labelsRemoved: _list[HistoryLabelRemoved] @@ -128,121 +124,119 @@ class History(typing_extensions.TypedDict, total=False): messagesDeleted: _list[HistoryMessageDeleted] @typing.type_check_only -class HistoryLabelAdded(typing_extensions.TypedDict, total=False): +class HistoryLabelAdded(typing.TypedDict, total=False): labelIds: _list[str] message: Message @typing.type_check_only -class HistoryLabelRemoved(typing_extensions.TypedDict, total=False): +class HistoryLabelRemoved(typing.TypedDict, total=False): labelIds: _list[str] message: Message @typing.type_check_only -class HistoryMessageAdded(typing_extensions.TypedDict, total=False): +class HistoryMessageAdded(typing.TypedDict, total=False): message: Message @typing.type_check_only -class HistoryMessageDeleted(typing_extensions.TypedDict, total=False): +class HistoryMessageDeleted(typing.TypedDict, total=False): message: Message @typing.type_check_only -class ImapSettings(typing_extensions.TypedDict, total=False): +class ImapSettings(typing.TypedDict, total=False): autoExpunge: bool enabled: bool - expungeBehavior: typing_extensions.Literal[ + expungeBehavior: typing.Literal[ "expungeBehaviorUnspecified", "archive", "trash", "deleteForever" ] maxFolderSize: int @typing.type_check_only -class KaclsKeyMetadata(typing_extensions.TypedDict, total=False): +class KaclsKeyMetadata(typing.TypedDict, total=False): kaclsData: str kaclsUri: str @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): color: LabelColor id: str - labelListVisibility: typing_extensions.Literal[ - "labelShow", "labelShowIfUnread", "labelHide" - ] - messageListVisibility: typing_extensions.Literal["show", "hide"] + labelListVisibility: typing.Literal["labelShow", "labelShowIfUnread", "labelHide"] + messageListVisibility: typing.Literal["show", "hide"] messagesTotal: int messagesUnread: int name: str threadsTotal: int threadsUnread: int - type: typing_extensions.Literal["system", "user"] + type: typing.Literal["system", "user"] @typing.type_check_only -class LabelColor(typing_extensions.TypedDict, total=False): +class LabelColor(typing.TypedDict, total=False): backgroundColor: str textColor: str @typing.type_check_only -class LanguageSettings(typing_extensions.TypedDict, total=False): +class LanguageSettings(typing.TypedDict, total=False): displayLanguage: str @typing.type_check_only -class ListCseIdentitiesResponse(typing_extensions.TypedDict, total=False): +class ListCseIdentitiesResponse(typing.TypedDict, total=False): cseIdentities: _list[CseIdentity] nextPageToken: str @typing.type_check_only -class ListCseKeyPairsResponse(typing_extensions.TypedDict, total=False): +class ListCseKeyPairsResponse(typing.TypedDict, total=False): cseKeyPairs: _list[CseKeyPair] nextPageToken: str @typing.type_check_only -class ListDelegatesResponse(typing_extensions.TypedDict, total=False): +class ListDelegatesResponse(typing.TypedDict, total=False): delegates: _list[Delegate] @typing.type_check_only -class ListDraftsResponse(typing_extensions.TypedDict, total=False): +class ListDraftsResponse(typing.TypedDict, total=False): drafts: _list[Draft] nextPageToken: str resultSizeEstimate: int @typing.type_check_only -class ListFiltersResponse(typing_extensions.TypedDict, total=False): +class ListFiltersResponse(typing.TypedDict, total=False): filter: _list[Filter] @typing.type_check_only -class ListForwardingAddressesResponse(typing_extensions.TypedDict, total=False): +class ListForwardingAddressesResponse(typing.TypedDict, total=False): forwardingAddresses: _list[ForwardingAddress] @typing.type_check_only -class ListHistoryResponse(typing_extensions.TypedDict, total=False): +class ListHistoryResponse(typing.TypedDict, total=False): history: _list[History] historyId: str nextPageToken: str @typing.type_check_only -class ListLabelsResponse(typing_extensions.TypedDict, total=False): +class ListLabelsResponse(typing.TypedDict, total=False): labels: _list[Label] @typing.type_check_only -class ListMessagesResponse(typing_extensions.TypedDict, total=False): +class ListMessagesResponse(typing.TypedDict, total=False): messages: _list[Message] nextPageToken: str resultSizeEstimate: int @typing.type_check_only -class ListSendAsResponse(typing_extensions.TypedDict, total=False): +class ListSendAsResponse(typing.TypedDict, total=False): sendAs: _list[SendAs] @typing.type_check_only -class ListSmimeInfoResponse(typing_extensions.TypedDict, total=False): +class ListSmimeInfoResponse(typing.TypedDict, total=False): smimeInfo: _list[SmimeInfo] @typing.type_check_only -class ListThreadsResponse(typing_extensions.TypedDict, total=False): +class ListThreadsResponse(typing.TypedDict, total=False): nextPageToken: str resultSizeEstimate: int threads: _list[Thread] @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): classificationLabelValues: _list[ClassificationLabelValue] historyId: str id: str @@ -255,7 +249,7 @@ class Message(typing_extensions.TypedDict, total=False): threadId: str @typing.type_check_only -class MessagePart(typing_extensions.TypedDict, total=False): +class MessagePart(typing.TypedDict, total=False): body: MessagePartBody filename: str headers: _list[MessagePartHeader] @@ -264,49 +258,49 @@ class MessagePart(typing_extensions.TypedDict, total=False): parts: _list[MessagePart] @typing.type_check_only -class MessagePartBody(typing_extensions.TypedDict, total=False): +class MessagePartBody(typing.TypedDict, total=False): attachmentId: str data: str size: int @typing.type_check_only -class MessagePartHeader(typing_extensions.TypedDict, total=False): +class MessagePartHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ModifyMessageRequest(typing_extensions.TypedDict, total=False): +class ModifyMessageRequest(typing.TypedDict, total=False): addClassificationLabels: _list[ClassificationLabelValue] addLabelIds: _list[str] removeClassificationLabelIds: _list[str] removeLabelIds: _list[str] @typing.type_check_only -class ModifyThreadRequest(typing_extensions.TypedDict, total=False): +class ModifyThreadRequest(typing.TypedDict, total=False): addLabelIds: _list[str] removeLabelIds: _list[str] @typing.type_check_only -class ObliterateCseKeyPairRequest(typing_extensions.TypedDict, total=False): ... +class ObliterateCseKeyPairRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PopSettings(typing_extensions.TypedDict, total=False): - accessWindow: typing_extensions.Literal[ +class PopSettings(typing.TypedDict, total=False): + accessWindow: typing.Literal[ "accessWindowUnspecified", "disabled", "fromNowOn", "allMail" ] - disposition: typing_extensions.Literal[ + disposition: typing.Literal[ "dispositionUnspecified", "leaveInInbox", "archive", "trash", "markRead" ] @typing.type_check_only -class Profile(typing_extensions.TypedDict, total=False): +class Profile(typing.TypedDict, total=False): emailAddress: str historyId: str messagesTotal: int threadsTotal: int @typing.type_check_only -class SendAs(typing_extensions.TypedDict, total=False): +class SendAs(typing.TypedDict, total=False): displayName: str isDefault: bool isPrimary: bool @@ -315,17 +309,17 @@ class SendAs(typing_extensions.TypedDict, total=False): signature: str smtpMsa: SmtpMsa treatAsAlias: bool - verificationStatus: typing_extensions.Literal[ + verificationStatus: typing.Literal[ "verificationStatusUnspecified", "accepted", "pending" ] @typing.type_check_only -class SignAndEncryptKeyPairs(typing_extensions.TypedDict, total=False): +class SignAndEncryptKeyPairs(typing.TypedDict, total=False): encryptionKeyPairId: str signingKeyPairId: str @typing.type_check_only -class SmimeInfo(typing_extensions.TypedDict, total=False): +class SmimeInfo(typing.TypedDict, total=False): encryptedKeyPassword: str expiration: str id: str @@ -335,24 +329,22 @@ class SmimeInfo(typing_extensions.TypedDict, total=False): pkcs12: str @typing.type_check_only -class SmtpMsa(typing_extensions.TypedDict, total=False): +class SmtpMsa(typing.TypedDict, total=False): host: str password: str port: int - securityMode: typing_extensions.Literal[ - "securityModeUnspecified", "none", "ssl", "starttls" - ] + securityMode: typing.Literal["securityModeUnspecified", "none", "ssl", "starttls"] username: str @typing.type_check_only -class Thread(typing_extensions.TypedDict, total=False): +class Thread(typing.TypedDict, total=False): historyId: str id: str messages: _list[Message] snippet: str @typing.type_check_only -class VacationSettings(typing_extensions.TypedDict, total=False): +class VacationSettings(typing.TypedDict, total=False): enableAutoReply: bool endTime: str responseBodyHtml: str @@ -363,13 +355,13 @@ class VacationSettings(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class WatchRequest(typing_extensions.TypedDict, total=False): - labelFilterAction: typing_extensions.Literal["include", "exclude"] - labelFilterBehavior: typing_extensions.Literal["include", "exclude"] +class WatchRequest(typing.TypedDict, total=False): + labelFilterAction: typing.Literal["include", "exclude"] + labelFilterBehavior: typing.Literal["include", "exclude"] labelIds: _list[str] topicName: str @typing.type_check_only -class WatchResponse(typing_extensions.TypedDict, total=False): +class WatchResponse(typing.TypedDict, total=False): expiration: str historyId: str diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v1/resources.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v1/resources.pyi index 1d498a3d2..699ef19fd 100644 --- a/googleapiclient-stubs/_apis/gmailpostmastertools/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v1/schemas.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v1/schemas.pyi index 653352ee3..544da2bd8 100644 --- a/googleapiclient-stubs/_apis/gmailpostmastertools/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DeliveryError(typing_extensions.TypedDict, total=False): - errorClass: typing_extensions.Literal[ +class DeliveryError(typing.TypedDict, total=False): + errorClass: typing.Literal[ "DELIVERY_ERROR_CLASS_UNSPECIFIED", "PERMANENT_ERROR", "TEMPORARY_ERROR" ] errorRatio: float - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "DELIVERY_ERROR_TYPE_UNSPECIFIED", "RATE_LIMIT_EXCEEDED", "SUSPECTED_SPAM", @@ -25,42 +23,40 @@ class DeliveryError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): createTime: str name: str - permission: typing_extensions.Literal[ - "PERMISSION_UNSPECIFIED", "OWNER", "READER", "NONE" - ] + permission: typing.Literal["PERMISSION_UNSPECIFIED", "OWNER", "READER", "NONE"] @typing.type_check_only -class FeedbackLoop(typing_extensions.TypedDict, total=False): +class FeedbackLoop(typing.TypedDict, total=False): id: str spamRatio: float @typing.type_check_only -class IpReputation(typing_extensions.TypedDict, total=False): +class IpReputation(typing.TypedDict, total=False): ipCount: str - reputation: typing_extensions.Literal[ + reputation: typing.Literal[ "REPUTATION_CATEGORY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BAD" ] sampleIps: _list[str] @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str @typing.type_check_only -class ListTrafficStatsResponse(typing_extensions.TypedDict, total=False): +class ListTrafficStatsResponse(typing.TypedDict, total=False): nextPageToken: str trafficStats: _list[TrafficStats] @typing.type_check_only -class TrafficStats(typing_extensions.TypedDict, total=False): +class TrafficStats(typing.TypedDict, total=False): deliveryErrors: _list[DeliveryError] dkimSuccessRatio: float dmarcSuccessRatio: float - domainReputation: typing_extensions.Literal[ + domainReputation: typing.Literal[ "REPUTATION_CATEGORY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BAD" ] inboundEncryptionRatio: float diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/resources.pyi index 1d498a3d2..699ef19fd 100644 --- a/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/schemas.pyi index cc017216e..cc0fa2b7e 100644 --- a/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v1beta1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DeliveryError(typing_extensions.TypedDict, total=False): - errorClass: typing_extensions.Literal[ +class DeliveryError(typing.TypedDict, total=False): + errorClass: typing.Literal[ "DELIVERY_ERROR_CLASS_UNSPECIFIED", "PERMANENT_ERROR", "TEMPORARY_ERROR" ] errorRatio: float - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "DELIVERY_ERROR_TYPE_UNSPECIFIED", "RATE_LIMIT_EXCEEDED", "SUSPECTED_SPAM", @@ -25,43 +23,41 @@ class DeliveryError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): createTime: str name: str - permission: typing_extensions.Literal[ - "PERMISSION_UNSPECIFIED", "OWNER", "READER", "NONE" - ] + permission: typing.Literal["PERMISSION_UNSPECIFIED", "OWNER", "READER", "NONE"] @typing.type_check_only -class FeedbackLoop(typing_extensions.TypedDict, total=False): +class FeedbackLoop(typing.TypedDict, total=False): id: str spamRatio: float @typing.type_check_only -class IpReputation(typing_extensions.TypedDict, total=False): +class IpReputation(typing.TypedDict, total=False): ipCount: str numIps: str - reputation: typing_extensions.Literal[ + reputation: typing.Literal[ "REPUTATION_CATEGORY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BAD" ] sampleIps: _list[str] @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str @typing.type_check_only -class ListTrafficStatsResponse(typing_extensions.TypedDict, total=False): +class ListTrafficStatsResponse(typing.TypedDict, total=False): nextPageToken: str trafficStats: _list[TrafficStats] @typing.type_check_only -class TrafficStats(typing_extensions.TypedDict, total=False): +class TrafficStats(typing.TypedDict, total=False): deliveryErrors: _list[DeliveryError] dkimSuccessRatio: float dmarcSuccessRatio: float - domainReputation: typing_extensions.Literal[ + domainReputation: typing.Literal[ "REPUTATION_CATEGORY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BAD" ] inboundEncryptionRatio: float diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi index 6f57fd762..4908e9cae 100644 --- a/googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -79,7 +78,7 @@ class PostmasterToolsResource(googleapiclient.discovery.Resource): self, *, name: str, - verificationMethod: typing_extensions.Literal[ + verificationMethod: typing.Literal[ "DOMAIN_VERIFICATION_METHOD_UNSPECIFIED", "TXT", "CNAME" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi index 75a1e5c0f..b049512bd 100644 --- a/googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BaseMetric(typing_extensions.TypedDict, total=False): - standardMetric: typing_extensions.Literal[ +class BaseMetric(typing.TypedDict, total=False): + standardMetric: typing.Literal[ "STANDARD_METRIC_UNSPECIFIED", "FEEDBACK_LOOP_ID", "FEEDBACK_LOOP_SPAM_RATE", @@ -19,21 +17,21 @@ class BaseMetric(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BatchQueryDomainStatsRequest(typing_extensions.TypedDict, total=False): +class BatchQueryDomainStatsRequest(typing.TypedDict, total=False): requests: _list[QueryDomainStatsRequest] @typing.type_check_only -class BatchQueryDomainStatsResponse(typing_extensions.TypedDict, total=False): +class BatchQueryDomainStatsResponse(typing.TypedDict, total=False): results: _list[BatchQueryDomainStatsResult] @typing.type_check_only -class BatchQueryDomainStatsResult(typing_extensions.TypedDict, total=False): +class BatchQueryDomainStatsResult(typing.TypedDict, total=False): error: Status response: QueryDomainStatsResponse @typing.type_check_only -class ComplianceRowData(typing_extensions.TypedDict, total=False): - requirement: typing_extensions.Literal[ +class ComplianceRowData(typing.TypedDict, total=False): + requirement: typing.Literal[ "COMPLIANCE_REQUIREMENT_UNSPECIFIED", "SPF", "DKIM", @@ -50,42 +48,42 @@ class ComplianceRowData(typing_extensions.TypedDict, total=False): status: ComplianceStatus @typing.type_check_only -class ComplianceStatus(typing_extensions.TypedDict, total=False): - status: typing_extensions.Literal["STATE_UNSPECIFIED", "COMPLIANT", "NEEDS_WORK"] +class ComplianceStatus(typing.TypedDict, total=False): + status: typing.Literal["STATE_UNSPECIFIED", "COMPLIANT", "NEEDS_WORK"] @typing.type_check_only -class CreateDomainRequest(typing_extensions.TypedDict, total=False): +class CreateDomainRequest(typing.TypedDict, total=False): domainId: str @typing.type_check_only -class CreateUserRequest(typing_extensions.TypedDict, total=False): - permission: typing_extensions.Literal[ +class CreateUserRequest(typing.TypedDict, total=False): + permission: typing.Literal[ "PERMISSION_UNSPECIFIED", "READER", "ADMIN", "OWNER", "NONE" ] userId: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateList(typing_extensions.TypedDict, total=False): +class DateList(typing.TypedDict, total=False): dates: _list[Date] @typing.type_check_only -class DateRange(typing_extensions.TypedDict, total=False): +class DateRange(typing.TypedDict, total=False): end: Date start: Date @typing.type_check_only -class DateRanges(typing_extensions.TypedDict, total=False): +class DateRanges(typing.TypedDict, total=False): dateRanges: _list[DateRange] @typing.type_check_only -class DeliverabilityStatusVerdict(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class DeliverabilityStatusVerdict(typing.TypedDict, total=False): + reason: typing.Literal[ "REASON_UNSPECIFIED", "MESSAGE_VOLUME_LOW", "SMTP_ERRORS_HIGH", @@ -98,19 +96,19 @@ class DeliverabilityStatusVerdict(typing_extensions.TypedDict, total=False): state: ComplianceStatus @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): createTime: str lastVerifyTime: str name: str - permission: typing_extensions.Literal[ + permission: typing.Literal[ "PERMISSION_UNSPECIFIED", "READER", "ADMIN", "OWNER", "NONE" ] - verificationState: typing_extensions.Literal[ + verificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "UNVERIFIED", "VERIFIED" ] @typing.type_check_only -class DomainComplianceData(typing_extensions.TypedDict, total=False): +class DomainComplianceData(typing.TypedDict, total=False): deliverabilityStatusVerdict: DeliverabilityStatusVerdict domainId: str honorUnsubscribeVerdict: HonorUnsubscribeVerdict @@ -118,32 +116,32 @@ class DomainComplianceData(typing_extensions.TypedDict, total=False): rowData: _list[ComplianceRowData] @typing.type_check_only -class DomainComplianceStatus(typing_extensions.TypedDict, total=False): +class DomainComplianceStatus(typing.TypedDict, total=False): complianceData: DomainComplianceData name: str subdomainComplianceData: DomainComplianceData @typing.type_check_only -class DomainStat(typing_extensions.TypedDict, total=False): +class DomainStat(typing.TypedDict, total=False): date: Date metric: str name: str value: StatisticValue @typing.type_check_only -class DomainVerificationToken(typing_extensions.TypedDict, total=False): +class DomainVerificationToken(typing.TypedDict, total=False): name: str token: str - verificationMethod: typing_extensions.Literal[ + verificationMethod: typing.Literal[ "DOMAIN_VERIFICATION_METHOD_UNSPECIFIED", "TXT", "CNAME" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HonorUnsubscribeVerdict(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class HonorUnsubscribeVerdict(typing.TypedDict, total=False): + reason: typing.Literal[ "REASON_UNSPECIFIED", "NOT_HONORING", "NOT_HONORING_TOO_FEW_CAMPAIGNS", @@ -152,24 +150,24 @@ class HonorUnsubscribeVerdict(typing_extensions.TypedDict, total=False): status: ComplianceStatus @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class MetricDefinition(typing_extensions.TypedDict, total=False): +class MetricDefinition(typing.TypedDict, total=False): baseMetric: BaseMetric filter: str name: str @typing.type_check_only -class OneClickUnsubscribeVerdict(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class OneClickUnsubscribeVerdict(typing.TypedDict, total=False): + reason: typing.Literal[ "REASON_UNSPECIFIED", "NO_UNSUB_GENERAL", "NO_UNSUB_SPAM_REPORTS", @@ -178,8 +176,8 @@ class OneClickUnsubscribeVerdict(typing_extensions.TypedDict, total=False): status: ComplianceStatus @typing.type_check_only -class QueryDomainStatsRequest(typing_extensions.TypedDict, total=False): - aggregationGranularity: typing_extensions.Literal[ +class QueryDomainStatsRequest(typing.TypedDict, total=False): + aggregationGranularity: typing.Literal[ "AGGREGATION_GRANULARITY_UNSPECIFIED", "DAILY", "OVERALL" ] metricDefinitions: _list[MetricDefinition] @@ -189,12 +187,12 @@ class QueryDomainStatsRequest(typing_extensions.TypedDict, total=False): timeQuery: TimeQuery @typing.type_check_only -class QueryDomainStatsResponse(typing_extensions.TypedDict, total=False): +class QueryDomainStatsResponse(typing.TypedDict, total=False): domainStats: _list[DomainStat] nextPageToken: str @typing.type_check_only -class StatisticValue(typing_extensions.TypedDict, total=False): +class StatisticValue(typing.TypedDict, total=False): doubleValue: float floatValue: float intValue: str @@ -202,35 +200,35 @@ class StatisticValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StringList(typing_extensions.TypedDict, total=False): +class StringList(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class TimeQuery(typing_extensions.TypedDict, total=False): +class TimeQuery(typing.TypedDict, total=False): dateList: DateList dateRanges: DateRanges @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): accessGranter: str createTime: str name: str - permission: typing_extensions.Literal[ + permission: typing.Literal[ "PERMISSION_UNSPECIFIED", "READER", "ADMIN", "OWNER", "NONE" ] user: str @typing.type_check_only -class VerifyDomainRequest(typing_extensions.TypedDict, total=False): - verificationMethod: typing_extensions.Literal[ +class VerifyDomainRequest(typing.TypedDict, total=False): + verificationMethod: typing.Literal[ "DOMAIN_VERIFICATION_METHOD_UNSPECIFIED", "TXT", "CNAME" ] @typing.type_check_only -class VerifyDomainResponse(typing_extensions.TypedDict, total=False): ... +class VerifyDomainResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/groupsmigration/v1/resources.pyi b/googleapiclient-stubs/_apis/groupsmigration/v1/resources.pyi index e5c843625..28e3bc53e 100644 --- a/googleapiclient-stubs/_apis/groupsmigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/groupsmigration/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/groupsmigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/groupsmigration/v1/schemas.pyi index 8fb1a6905..35ade63ce 100644 --- a/googleapiclient-stubs/_apis/groupsmigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/groupsmigration/v1/schemas.pyi @@ -1,10 +1,8 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Groups(typing_extensions.TypedDict, total=False): +class Groups(typing.TypedDict, total=False): kind: str responseCode: str diff --git a/googleapiclient-stubs/_apis/groupssettings/v1/resources.pyi b/googleapiclient-stubs/_apis/groupssettings/v1/resources.pyi index d69117325..cb773c0da 100644 --- a/googleapiclient-stubs/_apis/groupssettings/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/groupssettings/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/groupssettings/v1/schemas.pyi b/googleapiclient-stubs/_apis/groupssettings/v1/schemas.pyi index 4c3ae2331..78327ae8e 100644 --- a/googleapiclient-stubs/_apis/groupssettings/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/groupssettings/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Groups(typing_extensions.TypedDict, total=False): +class Groups(typing.TypedDict, total=False): allowExternalMembers: str allowGoogleCommunication: str allowWebPosting: str diff --git a/googleapiclient-stubs/_apis/health/v4/resources.pyi b/googleapiclient-stubs/_apis/health/v4/resources.pyi index daba203b9..37c85e1f3 100644 --- a/googleapiclient-stubs/_apis/health/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/health/v4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -89,6 +88,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 +255,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 +290,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..6b32912fc 100644 --- a/googleapiclient-stubs/_apis/health/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/health/v4/schemas.pyi @@ -1,58 +1,56 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveEnergyBurned(typing_extensions.TypedDict, total=False): +class ActiveEnergyBurned(typing.TypedDict, total=False): interval: ObservationTimeInterval kcal: float @typing.type_check_only -class ActiveEnergyBurnedRollupValue(typing_extensions.TypedDict, total=False): +class ActiveEnergyBurnedRollupValue(typing.TypedDict, total=False): kcalSum: float @typing.type_check_only -class ActiveMinutes(typing_extensions.TypedDict, total=False): +class ActiveMinutes(typing.TypedDict, total=False): activeMinutesByActivityLevel: _list[ActiveMinutesByActivityLevel] interval: ObservationTimeInterval @typing.type_check_only -class ActiveMinutesByActivityLevel(typing_extensions.TypedDict, total=False): +class ActiveMinutesByActivityLevel(typing.TypedDict, total=False): activeMinutes: str - activityLevel: typing_extensions.Literal[ + activityLevel: typing.Literal[ "ACTIVITY_LEVEL_UNSPECIFIED", "LIGHT", "MODERATE", "VIGOROUS" ] @typing.type_check_only -class ActiveMinutesRollupByActivityLevel(typing_extensions.TypedDict, total=False): +class ActiveMinutesRollupByActivityLevel(typing.TypedDict, total=False): activeMinutesSum: str - activityLevel: typing_extensions.Literal[ + activityLevel: typing.Literal[ "ACTIVITY_LEVEL_UNSPECIFIED", "LIGHT", "MODERATE", "VIGOROUS" ] @typing.type_check_only -class ActiveMinutesRollupValue(typing_extensions.TypedDict, total=False): +class ActiveMinutesRollupValue(typing.TypedDict, total=False): activeMinutesRollupByActivityLevel: _list[ActiveMinutesRollupByActivityLevel] @typing.type_check_only -class ActiveZoneMinutes(typing_extensions.TypedDict, total=False): +class ActiveZoneMinutes(typing.TypedDict, total=False): activeZoneMinutes: str - heartRateZone: typing_extensions.Literal[ + heartRateZone: typing.Literal[ "HEART_RATE_ZONE_UNSPECIFIED", "FAT_BURN", "CARDIO", "PEAK" ] interval: ObservationTimeInterval @typing.type_check_only -class ActiveZoneMinutesRollupValue(typing_extensions.TypedDict, total=False): +class ActiveZoneMinutesRollupValue(typing.TypedDict, total=False): sumInCardioHeartZone: str sumInFatBurnHeartZone: str sumInPeakHeartZone: str @typing.type_check_only -class ActivityLevel(typing_extensions.TypedDict, total=False): - activityLevelType: typing_extensions.Literal[ +class ActivityLevel(typing.TypedDict, total=False): + activityLevelType: typing.Literal[ "ACTIVITY_LEVEL_TYPE_UNSPECIFIED", "SEDENTARY", "LIGHTLY_ACTIVE", @@ -62,8 +60,8 @@ class ActivityLevel(typing_extensions.TypedDict, total=False): interval: ObservationTimeInterval @typing.type_check_only -class ActivityLevelRollupByActivityLevelType(typing_extensions.TypedDict, total=False): - activityLevelType: typing_extensions.Literal[ +class ActivityLevelRollupByActivityLevelType(typing.TypedDict, total=False): + activityLevelType: typing.Literal[ "ACTIVITY_LEVEL_TYPE_UNSPECIFIED", "SEDENTARY", "LIGHTLY_ACTIVE", @@ -73,13 +71,13 @@ class ActivityLevelRollupByActivityLevelType(typing_extensions.TypedDict, total= totalDuration: str @typing.type_check_only -class ActivityLevelRollupValue(typing_extensions.TypedDict, total=False): +class ActivityLevelRollupValue(typing.TypedDict, total=False): activityLevelRollupsByActivityLevelType: _list[ ActivityLevelRollupByActivityLevelType ] @typing.type_check_only -class AlertWindow(typing_extensions.TypedDict, total=False): +class AlertWindow(typing.TypedDict, total=False): civilEndTime: CivilDateTime civilStartTime: CivilDateTime endTime: str @@ -90,42 +88,42 @@ class AlertWindow(typing_extensions.TypedDict, total=False): startUtcOffset: str @typing.type_check_only -class Altitude(typing_extensions.TypedDict, total=False): +class Altitude(typing.TypedDict, total=False): gainMillimeters: str interval: ObservationTimeInterval @typing.type_check_only -class AltitudeRollupValue(typing_extensions.TypedDict, total=False): +class AltitudeRollupValue(typing.TypedDict, total=False): gainMillimetersSum: str @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): googleWebClientId: str packageName: str webClientId: str @typing.type_check_only -class BasalEnergyBurned(typing_extensions.TypedDict, total=False): +class BasalEnergyBurned(typing.TypedDict, total=False): interval: ObservationTimeInterval kcal: float @typing.type_check_only -class BatchDeleteDataPointsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteDataPointsRequest(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class BloodGlucose(typing_extensions.TypedDict, total=False): +class BloodGlucose(typing.TypedDict, total=False): bloodGlucoseMilligramsPerDeciliter: float - mealType: typing_extensions.Literal[ + mealType: typing.Literal[ "MEAL_TYPE_UNSPECIFIED", "BREAKFAST", "LUNCH", "DINNER", "SNACK" ] - measurementSource: typing_extensions.Literal[ + measurementSource: typing.Literal[ "MEASUREMENT_SOURCE_UNSPECIFIED", "SELF_MONITORING_BLOOD_GLUCOSE", "CONTINUOUS_GLUCOSE_MONITORING", "LAB_TEST", ] - measurementTiming: typing_extensions.Literal[ + measurementTiming: typing.Literal[ "MEASUREMENT_TIMING_UNSPECIFIED", "AFTER_MEAL", "BEFORE_MEAL", @@ -136,7 +134,7 @@ class BloodGlucose(typing_extensions.TypedDict, total=False): ] notes: str sampleTime: ObservationSampleTime - specimen: typing_extensions.Literal[ + specimen: typing.Literal[ "SPECIMEN_UNSPECIFIED", "CAPILLARY_BLOOD", "INTERSTITIAL_FLUID", @@ -147,43 +145,43 @@ class BloodGlucose(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BloodGlucoseRollupValue(typing_extensions.TypedDict, total=False): +class BloodGlucoseRollupValue(typing.TypedDict, total=False): bloodGlucoseMilligramsPerDeciliterAvg: float @typing.type_check_only -class BodyFat(typing_extensions.TypedDict, total=False): +class BodyFat(typing.TypedDict, total=False): percentage: float sampleTime: ObservationSampleTime @typing.type_check_only -class BodyFatRollupValue(typing_extensions.TypedDict, total=False): +class BodyFatRollupValue(typing.TypedDict, total=False): bodyFatPercentageAvg: float @typing.type_check_only -class CaloriesInHeartRateZoneRollupValue(typing_extensions.TypedDict, total=False): +class CaloriesInHeartRateZoneRollupValue(typing.TypedDict, total=False): caloriesInHeartRateZones: _list[CaloriesInHeartRateZoneValue] @typing.type_check_only -class CaloriesInHeartRateZoneValue(typing_extensions.TypedDict, total=False): - heartRateZone: typing_extensions.Literal[ +class CaloriesInHeartRateZoneValue(typing.TypedDict, total=False): + heartRateZone: typing.Literal[ "HEART_RATE_ZONE_TYPE_UNSPECIFIED", "LIGHT", "MODERATE", "VIGOROUS", "PEAK" ] kcal: float @typing.type_check_only -class CivilDateTime(typing_extensions.TypedDict, total=False): +class CivilDateTime(typing.TypedDict, total=False): date: Date time: TimeOfDay @typing.type_check_only -class CivilTimeInterval(typing_extensions.TypedDict, total=False): +class CivilTimeInterval(typing.TypedDict, total=False): end: CivilDateTime start: CivilDateTime @typing.type_check_only -class CoreBodyTemperature(typing_extensions.TypedDict, total=False): +class CoreBodyTemperature(typing.TypedDict, total=False): id: str - measurementLocation: typing_extensions.Literal[ + measurementLocation: typing.Literal[ "MEASUREMENT_LOCATION_UNSPECIFIED", "OTHER", "ARMPIT", @@ -207,24 +205,24 @@ class CoreBodyTemperature(typing_extensions.TypedDict, total=False): temperatureCelsius: float @typing.type_check_only -class CoreBodyTemperatureRollupValue(typing_extensions.TypedDict, total=False): +class CoreBodyTemperatureRollupValue(typing.TypedDict, total=False): temperatureCelsiusAvg: float temperatureCelsiusMax: float temperatureCelsiusMin: float @typing.type_check_only -class CreateSubscriberPayload(typing_extensions.TypedDict, total=False): +class CreateSubscriberPayload(typing.TypedDict, total=False): endpointAuthorization: EndpointAuthorization endpointUri: str subscriberConfigs: _list[SubscriberConfig] @typing.type_check_only -class CreateSubscriptionPayload(typing_extensions.TypedDict, total=False): +class CreateSubscriptionPayload(typing.TypedDict, total=False): dataTypes: _list[str] user: str @typing.type_check_only -class DailyHeartRateVariability(typing_extensions.TypedDict, total=False): +class DailyHeartRateVariability(typing.TypedDict, total=False): averageHeartRateVariabilityMilliseconds: float date: Date deepSleepRootMeanSquareOfSuccessiveDifferencesMilliseconds: float @@ -232,12 +230,12 @@ class DailyHeartRateVariability(typing_extensions.TypedDict, total=False): nonRemHeartRateBeatsPerMinute: str @typing.type_check_only -class DailyHeartRateZones(typing_extensions.TypedDict, total=False): +class DailyHeartRateZones(typing.TypedDict, total=False): date: Date heartRateZones: _list[HeartRateZone] @typing.type_check_only -class DailyOxygenSaturation(typing_extensions.TypedDict, total=False): +class DailyOxygenSaturation(typing.TypedDict, total=False): averagePercentage: float date: Date lowerBoundPercentage: float @@ -245,24 +243,24 @@ class DailyOxygenSaturation(typing_extensions.TypedDict, total=False): upperBoundPercentage: float @typing.type_check_only -class DailyRespiratoryRate(typing_extensions.TypedDict, total=False): +class DailyRespiratoryRate(typing.TypedDict, total=False): breathsPerMinute: float date: Date @typing.type_check_only -class DailyRestingHeartRate(typing_extensions.TypedDict, total=False): +class DailyRestingHeartRate(typing.TypedDict, total=False): beatsPerMinute: str dailyRestingHeartRateMetadata: DailyRestingHeartRateMetadata date: Date @typing.type_check_only -class DailyRestingHeartRateMetadata(typing_extensions.TypedDict, total=False): - calculationMethod: typing_extensions.Literal[ +class DailyRestingHeartRateMetadata(typing.TypedDict, total=False): + calculationMethod: typing.Literal[ "CALCULATION_METHOD_UNSPECIFIED", "WITH_SLEEP", "ONLY_WITH_AWAKE_DATA" ] @typing.type_check_only -class DailyRollUpDataPointsRequest(typing_extensions.TypedDict, total=False): +class DailyRollUpDataPointsRequest(typing.TypedDict, total=False): dataSourceFamily: str pageSize: int pageToken: str @@ -270,11 +268,11 @@ class DailyRollUpDataPointsRequest(typing_extensions.TypedDict, total=False): windowSizeDays: int @typing.type_check_only -class DailyRollUpDataPointsResponse(typing_extensions.TypedDict, total=False): +class DailyRollUpDataPointsResponse(typing.TypedDict, total=False): rollupDataPoints: _list[DailyRollupDataPoint] @typing.type_check_only -class DailyRollupDataPoint(typing_extensions.TypedDict, total=False): +class DailyRollupDataPoint(typing.TypedDict, total=False): activeEnergyBurned: ActiveEnergyBurnedRollupValue activeMinutes: ActiveMinutesRollupValue activeZoneMinutes: ActiveZoneMinutesRollupValue @@ -302,15 +300,15 @@ class DailyRollupDataPoint(typing_extensions.TypedDict, total=False): weight: WeightRollupValue @typing.type_check_only -class DailySleepTemperatureDerivations(typing_extensions.TypedDict, total=False): +class DailySleepTemperatureDerivations(typing.TypedDict, total=False): baselineTemperatureCelsius: float date: Date nightlyTemperatureCelsius: float relativeNightlyStddev30dCelsius: float @typing.type_check_only -class DailyVO2Max(typing_extensions.TypedDict, total=False): - cardioFitnessLevel: typing_extensions.Literal[ +class DailyVO2Max(typing.TypedDict, total=False): + cardioFitnessLevel: typing.Literal[ "CARDIO_FITNESS_LEVEL_UNSPECIFIED", "POOR", "FAIR", @@ -325,7 +323,7 @@ class DailyVO2Max(typing_extensions.TypedDict, total=False): vo2MaxCovariance: float @typing.type_check_only -class DataPoint(typing_extensions.TypedDict, total=False): +class DataPoint(typing.TypedDict, total=False): activeEnergyBurned: ActiveEnergyBurned activeMinutes: ActiveMinutes activeZoneMinutes: ActiveZoneMinutes @@ -354,8 +352,11 @@ class DataPoint(typing_extensions.TypedDict, total=False): height: Height hydrationLog: HydrationLog irregularRhythmNotification: IrregularRhythmNotification + menstrualPeriod: MenstrualPeriod + moods: Moods name: str nutritionLog: NutritionLog + ovulationTest: OvulationTest oxygenSaturation: OxygenSaturation respiratoryRateSleepSummary: RespiratoryRateSleepSummary runVo2Max: RunVO2Max @@ -363,15 +364,16 @@ class DataPoint(typing_extensions.TypedDict, total=False): sleep: Sleep steps: Steps swimLengthsData: SwimLengthsData + symptoms: Symptoms timeInHeartRateZone: TimeInHeartRateZone vo2Max: VO2Max weight: Weight @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): +class DataSource(typing.TypedDict, total=False): application: Application device: Device - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "FITBIT", "HEALTH_CONNECT", @@ -382,7 +384,7 @@ class DataSource(typing_extensions.TypedDict, total=False): "GOOGLE_WEB_API", "GOOGLE_PARTNER_INTEGRATION", ] - recordingMethod: typing_extensions.Literal[ + recordingMethod: typing.Literal[ "RECORDING_METHOD_UNSPECIFIED", "MANUAL", "PASSIVELY_MEASURED", @@ -392,13 +394,13 @@ class DataSource(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -410,9 +412,9 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): displayName: str - formFactor: typing_extensions.Literal[ + formFactor: typing.Literal[ "FORM_FACTOR_UNSPECIFIED", "FITNESS_BAND", "WATCH", @@ -427,22 +429,22 @@ class Device(typing_extensions.TypedDict, total=False): manufacturer: str @typing.type_check_only -class Distance(typing_extensions.TypedDict, total=False): +class Distance(typing.TypedDict, total=False): interval: ObservationTimeInterval millimeters: str @typing.type_check_only -class DistanceRollupValue(typing_extensions.TypedDict, total=False): +class DistanceRollupValue(typing.TypedDict, total=False): millimetersSum: str @typing.type_check_only -class Electrocardiogram(typing_extensions.TypedDict, total=False): +class Electrocardiogram(typing.TypedDict, total=False): beatsPerMinuteAvg: str interval: SessionTimeInterval leadNumber: int medicalDeviceInfo: MedicalDeviceInfo millivoltsScalingFactor: int - resultClassification: typing_extensions.Literal[ + resultClassification: typing.Literal[ "RESULT_CLASSIFICATION_UNSPECIFIED", "NORMAL_SINUS_RHYTHM", "ATRIAL_FIBRILLATION", @@ -456,17 +458,17 @@ class Electrocardiogram(typing_extensions.TypedDict, total=False): waveformSamples: _list[int] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndpointAuthorization(typing_extensions.TypedDict, total=False): +class EndpointAuthorization(typing.TypedDict, total=False): secret: str secretSet: bool @typing.type_check_only -class EnergyQuantity(typing_extensions.TypedDict, total=False): +class EnergyQuantity(typing.TypedDict, total=False): kcal: float - userProvidedUnit: typing_extensions.Literal[ + userProvidedUnit: typing.Literal[ "ENERGY_UNIT_UNSPECIFIED", "JOULE", "KILOJOULE", @@ -476,9 +478,9 @@ class EnergyQuantity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EnergyQuantityRollup(typing_extensions.TypedDict, total=False): +class EnergyQuantityRollup(typing.TypedDict, total=False): kcalSum: float - userProvidedUnitLast: typing_extensions.Literal[ + userProvidedUnitLast: typing.Literal[ "ENERGY_UNIT_UNSPECIFIED", "JOULE", "KILOJOULE", @@ -488,13 +490,13 @@ class EnergyQuantityRollup(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Exercise(typing_extensions.TypedDict, total=False): +class Exercise(typing.TypedDict, total=False): activeDuration: str createTime: str displayName: str exerciseEvents: _list[ExerciseEvent] exerciseMetadata: ExerciseMetadata - exerciseType: typing_extensions.Literal[ + exerciseType: typing.Literal[ "EXERCISE_TYPE_UNSPECIFIED", "AEROBIC_WORKOUT", "ARCHERY", @@ -686,10 +688,10 @@ class Exercise(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ExerciseEvent(typing_extensions.TypedDict, total=False): +class ExerciseEvent(typing.TypedDict, total=False): eventTime: str eventUtcOffset: str - exerciseEventType: typing_extensions.Literal[ + exerciseEventType: typing.Literal[ "EXERCISE_EVENT_TYPE_UNSPECIFIED", "START", "STOP", @@ -700,26 +702,26 @@ class ExerciseEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExerciseMetadata(typing_extensions.TypedDict, total=False): +class ExerciseMetadata(typing.TypedDict, total=False): hasGps: bool poolLengthMillimeters: str @typing.type_check_only -class ExportExerciseTcxResponse(typing_extensions.TypedDict, total=False): +class ExportExerciseTcxResponse(typing.TypedDict, total=False): tcxData: str @typing.type_check_only -class Floors(typing_extensions.TypedDict, total=False): +class Floors(typing.TypedDict, total=False): count: str interval: ObservationTimeInterval @typing.type_check_only -class FloorsRollupValue(typing_extensions.TypedDict, total=False): +class FloorsRollupValue(typing.TypedDict, total=False): countSum: str @typing.type_check_only -class Food(typing_extensions.TypedDict, total=False): - accessLevel: typing_extensions.Literal[ +class Food(typing.TypedDict, total=False): + accessLevel: typing.Literal[ "FOOD_ACCESS_LEVEL_UNSPECIFIED", "FOOD_ACCESS_LEVEL_PUBLIC", "FOOD_ACCESS_LEVEL_PRIVATE", @@ -733,7 +735,7 @@ class Food(typing_extensions.TypedDict, total=False): energyMax: EnergyQuantity energyMin: EnergyQuantity languageCode: str - mealType: typing_extensions.Literal[ + mealType: typing.Literal[ "MEAL_TYPE_UNSPECIFIED", "BEFORE_BREAKFAST", "BREAKFAST", @@ -751,12 +753,12 @@ class Food(typing_extensions.TypedDict, total=False): totalFat: WeightQuantity @typing.type_check_only -class FoodMeasurementUnit(typing_extensions.TypedDict, total=False): +class FoodMeasurementUnit(typing.TypedDict, total=False): displayName: str pluralDisplayName: str @typing.type_check_only -class FoodServing(typing_extensions.TypedDict, total=False): +class FoodServing(typing.TypedDict, total=False): amount: float foodMeasurementUnit: str foodMeasurementUnitDisplayName: str @@ -764,40 +766,36 @@ class FoodServing(typing_extensions.TypedDict, total=False): multiplier: float @typing.type_check_only -class GoogleDevicesandservicesHealthV4DataType( - typing_extensions.TypedDict, total=False -): +class GoogleDevicesandservicesHealthV4DataType(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleDevicesandservicesHealthV4User(typing_extensions.TypedDict, total=False): +class GoogleDevicesandservicesHealthV4User(typing.TypedDict, total=False): name: str @typing.type_check_only class GoogleDevicesandservicesHealthV4WebhookNotificationCloudLog( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): httpResponse: HttpResponse @typing.type_check_only -class HeartBeat(typing_extensions.TypedDict, total=False): +class HeartBeat(typing.TypedDict, total=False): beatsPerMinute: int civilTime: CivilDateTime physicalTime: str utcOffset: str @typing.type_check_only -class HeartRate(typing_extensions.TypedDict, total=False): +class HeartRate(typing.TypedDict, total=False): beatsPerMinute: str metadata: HeartRateMetadata sampleTime: ObservationSampleTime @typing.type_check_only -class HeartRateMetadata(typing_extensions.TypedDict, total=False): - motionContext: typing_extensions.Literal[ - "MOTION_CONTEXT_UNSPECIFIED", "ACTIVE", "SEDENTARY" - ] - sensorLocation: typing_extensions.Literal[ +class HeartRateMetadata(typing.TypedDict, total=False): + motionContext: typing.Literal["MOTION_CONTEXT_UNSPECIFIED", "ACTIVE", "SEDENTARY"] + sensorLocation: typing.Literal[ "SENSOR_LOCATION_UNSPECIFIED", "CHEST", "WRIST", @@ -808,105 +806,115 @@ class HeartRateMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HeartRateRollupValue(typing_extensions.TypedDict, total=False): +class HeartRateRollupValue(typing.TypedDict, total=False): beatsPerMinuteAvg: float beatsPerMinuteMax: float beatsPerMinuteMin: float @typing.type_check_only -class HeartRateVariability(typing_extensions.TypedDict, total=False): +class HeartRateVariability(typing.TypedDict, total=False): rootMeanSquareOfSuccessiveDifferencesMilliseconds: float sampleTime: ObservationSampleTime standardDeviationMilliseconds: float @typing.type_check_only -class HeartRateVariabilityPersonalRangeRollupValue( - typing_extensions.TypedDict, total=False -): +class HeartRateVariabilityPersonalRangeRollupValue(typing.TypedDict, total=False): averageHeartRateVariabilityMillisecondsMax: float averageHeartRateVariabilityMillisecondsMin: float @typing.type_check_only -class HeartRateZone(typing_extensions.TypedDict, total=False): - heartRateZoneType: typing_extensions.Literal[ +class HeartRateZone(typing.TypedDict, total=False): + heartRateZoneType: typing.Literal[ "HEART_RATE_ZONE_TYPE_UNSPECIFIED", "LIGHT", "MODERATE", "VIGOROUS", "PEAK" ] maxBeatsPerMinute: str minBeatsPerMinute: str @typing.type_check_only -class Height(typing_extensions.TypedDict, total=False): +class Height(typing.TypedDict, total=False): heightMillimeters: str sampleTime: ObservationSampleTime @typing.type_check_only -class HttpHeader(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): + contentType: str + data: str + extensions: _list[dict[str, typing.Any]] + +@typing.type_check_only +class HttpHeader(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class HttpResponse(typing_extensions.TypedDict, total=False): +class HttpResponse(typing.TypedDict, total=False): body: str headers: _list[HttpHeader] reason: str status: int @typing.type_check_only -class HydrationLog(typing_extensions.TypedDict, total=False): +class HydrationLog(typing.TypedDict, total=False): amountConsumed: VolumeQuantity interval: SessionTimeInterval @typing.type_check_only -class HydrationLogRollupValue(typing_extensions.TypedDict, total=False): +class HydrationLogRollupValue(typing.TypedDict, total=False): amountConsumed: VolumeQuantityRollup @typing.type_check_only -class Identity(typing_extensions.TypedDict, total=False): +class Identity(typing.TypedDict, total=False): healthUserId: str legacyUserId: str name: str @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class IrnProfile(typing_extensions.TypedDict, total=False): +class IrnProfile(typing.TypedDict, total=False): enrollmentStatus: bool name: str onboardingStatus: bool updateTime: str @typing.type_check_only -class IrregularRhythmNotification(typing_extensions.TypedDict, total=False): +class IrregularRhythmNotification(typing.TypedDict, total=False): alertWindows: _list[AlertWindow] interval: SessionTimeInterval medicalDeviceInfo: MedicalDeviceInfo @typing.type_check_only -class ListDataPointsResponse(typing_extensions.TypedDict, total=False): +class ListDataPointsResponse(typing.TypedDict, total=False): dataPoints: _list[DataPoint] nextPageToken: str @typing.type_check_only -class ListPairedDevicesResponse(typing_extensions.TypedDict, total=False): +class ListPairedDevicesResponse(typing.TypedDict, total=False): nextPageToken: str pairedDevices: _list[PairedDevice] @typing.type_check_only -class ListSubscribersResponse(typing_extensions.TypedDict, total=False): +class ListSubscribersResponse(typing.TypedDict, total=False): nextPageToken: str subscribers: _list[Subscriber] totalSize: int @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] @typing.type_check_only -class MedicalDeviceInfo(typing_extensions.TypedDict, total=False): +class ManifestParams(typing.TypedDict, total=False): + embeddedLengthMax: int + passcode: str + recipient: str + +@typing.type_check_only +class MedicalDeviceInfo(typing.TypedDict, total=False): algorithmVersion: str deviceModel: str featureVersion: str @@ -914,7 +922,12 @@ class MedicalDeviceInfo(typing_extensions.TypedDict, total=False): serviceVersion: str @typing.type_check_only -class MetricsSummary(typing_extensions.TypedDict, total=False): +class MenstrualPeriod(typing.TypedDict, total=False): + interval: ObservationTimeInterval + notes: str + +@typing.type_check_only +class MetricsSummary(typing.TypedDict, total=False): activeZoneMinutes: str averageHeartRateBeatsPerMinute: str averagePaceSecondsPerMeter: float @@ -929,7 +942,7 @@ class MetricsSummary(typing_extensions.TypedDict, total=False): totalSwimLengths: float @typing.type_check_only -class MobilityMetrics(typing_extensions.TypedDict, total=False): +class MobilityMetrics(typing.TypedDict, total=False): avgCadenceStepsPerMinute: float avgGroundContactTimeDuration: str avgStrideLengthMillimeters: str @@ -937,8 +950,76 @@ class MobilityMetrics(typing_extensions.TypedDict, total=False): avgVerticalRatio: float @typing.type_check_only -class NutrientQuantity(typing_extensions.TypedDict, total=False): - nutrient: typing_extensions.Literal[ +class Moods(typing.TypedDict, total=False): + moods: _list[ + typing.Literal[ + "MOOD_UNSPECIFIED", + "AMAZED", + "AMUSED", + "ANGRY", + "ANNOYED", + "ANXIOUS", + "HAPPY", + "CONTENT", + "SAD", + "WORRIED", + "FRUSTRATED", + "EXCITED", + "CALM", + "STRESSED", + "ASHAMED", + "BRAVE", + "CONFIDENT", + "DISAPPOINTED", + "DISCOURAGED", + "DISGUSTED", + "DRAINED", + "EMBARRASSED", + "GRATEFUL", + "GUILTY", + "HOPEFUL", + "HOPELESS", + "INDIFFERENT", + "IRRITATED", + "JEALOUS", + "JOYFUL", + "LONELY", + "OVERWHELMED", + "PASSIONATE", + "PEACEFUL", + "PROUD", + "RELIEVED", + "SATISFIED", + "SCARED", + "SURPRISED", + "ENERGIZED", + "FATIGUED", + "VERY_CALM", + "VERY_STRESSED", + "NEUTRAL", + "AFRAID", + "HURTING", + "BORED", + "BITTER", + "ENVIOUS", + "CONFUSED", + "CURIOUS", + "AWESTRUCK", + "INSPIRED", + "LONGING", + "ACCOMPLISHED", + "LOVING", + "COMPASSIONATE", + ] + ] + sampleTime: ObservationSampleTime + valences: _list[ + typing.Literal["VALENCE_UNSPECIFIED", "UNPLEASANT", "BASELINE", "PLEASANT"] + ] + +@typing.type_check_only +class NutrientQuantity(typing.TypedDict, total=False): + nutrient: typing.Literal[ "NUTRIENT_UNSPECIFIED", "BIOTIN", "CAFFEINE", @@ -983,8 +1064,8 @@ class NutrientQuantity(typing_extensions.TypedDict, total=False): quantity: WeightQuantity @typing.type_check_only -class NutrientQuantityRollup(typing_extensions.TypedDict, total=False): - nutrient: typing_extensions.Literal[ +class NutrientQuantityRollup(typing.TypedDict, total=False): + nutrient: typing.Literal[ "NUTRIENT_UNSPECIFIED", "BIOTIN", "CAFFEINE", @@ -1029,13 +1110,13 @@ class NutrientQuantityRollup(typing_extensions.TypedDict, total=False): quantity: WeightQuantityRollup @typing.type_check_only -class NutritionLog(typing_extensions.TypedDict, total=False): +class NutritionLog(typing.TypedDict, total=False): energy: EnergyQuantity energyFromFat: EnergyQuantity food: str foodDisplayName: str interval: SessionTimeInterval - mealType: typing_extensions.Literal[ + mealType: typing.Literal[ "MEAL_TYPE_UNSPECIFIED", "BEFORE_BREAKFAST", "BREAKFAST", @@ -1053,7 +1134,7 @@ class NutritionLog(typing_extensions.TypedDict, total=False): totalFat: WeightQuantity @typing.type_check_only -class NutritionLogRollupValue(typing_extensions.TypedDict, total=False): +class NutritionLogRollupValue(typing.TypedDict, total=False): energy: EnergyQuantityRollup energyFromFat: EnergyQuantityRollup nutrients: _list[NutrientQuantityRollup] @@ -1061,13 +1142,13 @@ class NutritionLogRollupValue(typing_extensions.TypedDict, total=False): totalFat: WeightQuantityRollup @typing.type_check_only -class ObservationSampleTime(typing_extensions.TypedDict, total=False): +class ObservationSampleTime(typing.TypedDict, total=False): civilTime: CivilDateTime physicalTime: str utcOffset: str @typing.type_check_only -class ObservationTimeInterval(typing_extensions.TypedDict, total=False): +class ObservationTimeInterval(typing.TypedDict, total=False): civilEndTime: CivilDateTime civilStartTime: CivilDateTime endTime: str @@ -1076,7 +1157,7 @@ class ObservationTimeInterval(typing_extensions.TypedDict, total=False): startUtcOffset: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1084,22 +1165,34 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OutOfBedSegment(typing_extensions.TypedDict, total=False): +class OutOfBedSegment(typing.TypedDict, total=False): endTime: str endUtcOffset: str startTime: str startUtcOffset: str @typing.type_check_only -class OxygenSaturation(typing_extensions.TypedDict, total=False): +class OvulationTest(typing.TypedDict, total=False): + result: typing.Literal[ + "OVULATION_TEST_RESULT_UNSPECIFIED", + "NEGATIVE", + "LUTEINIZING_HORMONE_SURGE", + "ESTROGEN_SURGE", + "POSITIVE", + "INDETERMINATE", + ] + sampleTime: ObservationSampleTime + +@typing.type_check_only +class OxygenSaturation(typing.TypedDict, total=False): percentage: float sampleTime: ObservationSampleTime @typing.type_check_only -class PairedDevice(typing_extensions.TypedDict, total=False): +class PairedDevice(typing.TypedDict, total=False): batteryLevel: int batteryStatus: str - deviceType: typing_extensions.Literal["DEVICE_TYPE_UNSPECIFIED", "TRACKER", "SCALE"] + deviceType: typing.Literal["DEVICE_TYPE_UNSPECIFIED", "TRACKER", "SCALE"] deviceVersion: str features: _list[str] lastSyncTime: str @@ -1107,7 +1200,7 @@ class PairedDevice(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Profile(typing_extensions.TypedDict, total=False): +class Profile(typing.TypedDict, total=False): age: int autoRunningStrideLengthMm: int autoWalkingStrideLengthMm: int @@ -1117,12 +1210,12 @@ class Profile(typing_extensions.TypedDict, total=False): userConfiguredWalkingStrideLengthMm: int @typing.type_check_only -class ReconcileDataPointsResponse(typing_extensions.TypedDict, total=False): +class ReconcileDataPointsResponse(typing.TypedDict, total=False): dataPoints: _list[ReconciledDataPoint] nextPageToken: str @typing.type_check_only -class ReconciledDataPoint(typing_extensions.TypedDict, total=False): +class ReconciledDataPoint(typing.TypedDict, total=False): activeEnergyBurned: ActiveEnergyBurned activeMinutes: ActiveMinutes activeZoneMinutes: ActiveZoneMinutes @@ -1160,7 +1253,7 @@ class ReconciledDataPoint(typing_extensions.TypedDict, total=False): weight: Weight @typing.type_check_only -class RespiratoryRateSleepSummary(typing_extensions.TypedDict, total=False): +class RespiratoryRateSleepSummary(typing.TypedDict, total=False): deepSleepStats: RespiratoryRateSleepSummaryStatistics fullSleepStats: RespiratoryRateSleepSummaryStatistics lightSleepStats: RespiratoryRateSleepSummaryStatistics @@ -1168,20 +1261,18 @@ class RespiratoryRateSleepSummary(typing_extensions.TypedDict, total=False): sampleTime: ObservationSampleTime @typing.type_check_only -class RespiratoryRateSleepSummaryStatistics(typing_extensions.TypedDict, total=False): +class RespiratoryRateSleepSummaryStatistics(typing.TypedDict, total=False): breathsPerMinute: float signalToNoise: float standardDeviation: float @typing.type_check_only -class RestingHeartRatePersonalRangeRollupValue( - typing_extensions.TypedDict, total=False -): +class RestingHeartRatePersonalRangeRollupValue(typing.TypedDict, total=False): beatsPerMinuteMax: float beatsPerMinuteMin: float @typing.type_check_only -class RollUpDataPointsRequest(typing_extensions.TypedDict, total=False): +class RollUpDataPointsRequest(typing.TypedDict, total=False): dataSourceFamily: str pageSize: int pageToken: str @@ -1189,12 +1280,12 @@ class RollUpDataPointsRequest(typing_extensions.TypedDict, total=False): windowSize: str @typing.type_check_only -class RollUpDataPointsResponse(typing_extensions.TypedDict, total=False): +class RollUpDataPointsResponse(typing.TypedDict, total=False): nextPageToken: str rollupDataPoints: _list[RollupDataPoint] @typing.type_check_only -class RollupDataPoint(typing_extensions.TypedDict, total=False): +class RollupDataPoint(typing.TypedDict, total=False): activeEnergyBurned: ActiveEnergyBurnedRollupValue activeMinutes: ActiveMinutesRollupValue activeZoneMinutes: ActiveZoneMinutesRollupValue @@ -1220,32 +1311,32 @@ class RollupDataPoint(typing_extensions.TypedDict, total=False): weight: WeightRollupValue @typing.type_check_only -class RunVO2Max(typing_extensions.TypedDict, total=False): +class RunVO2Max(typing.TypedDict, total=False): runVo2Max: float sampleTime: ObservationSampleTime @typing.type_check_only -class RunVO2MaxRollupValue(typing_extensions.TypedDict, total=False): +class RunVO2MaxRollupValue(typing.TypedDict, total=False): rateAvg: float rateMax: float rateMin: float @typing.type_check_only -class SedentaryPeriod(typing_extensions.TypedDict, total=False): +class SedentaryPeriod(typing.TypedDict, total=False): interval: ObservationTimeInterval @typing.type_check_only -class SedentaryPeriodRollupValue(typing_extensions.TypedDict, total=False): +class SedentaryPeriodRollupValue(typing.TypedDict, total=False): durationSum: str @typing.type_check_only -class Serving(typing_extensions.TypedDict, total=False): +class Serving(typing.TypedDict, total=False): amount: float foodMeasurementUnit: str foodMeasurementUnitDisplayName: str @typing.type_check_only -class SessionTimeInterval(typing_extensions.TypedDict, total=False): +class SessionTimeInterval(typing.TypedDict, total=False): civilEndTime: CivilDateTime civilStartTime: CivilDateTime endTime: str @@ -1254,46 +1345,46 @@ class SessionTimeInterval(typing_extensions.TypedDict, total=False): startUtcOffset: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): autoStrideEnabled: bool - distanceUnit: typing_extensions.Literal[ + distanceUnit: typing.Literal[ "DISTANCE_UNIT_UNSPECIFIED", "DISTANCE_UNIT_MILES", "DISTANCE_UNIT_KILOMETERS" ] foodLanguageCode: str - glucoseUnit: typing_extensions.Literal[ + glucoseUnit: typing.Literal[ "GLUCOSE_UNIT_UNSPECIFIED", "GLUCOSE_UNIT_MG_DL", "GLUCOSE_UNIT_MMOL_L" ] - heightUnit: typing_extensions.Literal[ + heightUnit: typing.Literal[ "HEIGHT_UNIT_UNSPECIFIED", "HEIGHT_UNIT_INCHES", "HEIGHT_UNIT_CENTIMETERS" ] languageLocale: str name: str - strideLengthRunningType: typing_extensions.Literal[ + strideLengthRunningType: typing.Literal[ "STRIDE_LENGTH_TYPE_UNSPECIFIED", "STRIDE_LENGTH_TYPE_DEFAULT", "STRIDE_LENGTH_TYPE_MANUAL", "STRIDE_LENGTH_TYPE_AUTO", ] - strideLengthWalkingType: typing_extensions.Literal[ + strideLengthWalkingType: typing.Literal[ "STRIDE_LENGTH_TYPE_UNSPECIFIED", "STRIDE_LENGTH_TYPE_DEFAULT", "STRIDE_LENGTH_TYPE_MANUAL", "STRIDE_LENGTH_TYPE_AUTO", ] - swimUnit: typing_extensions.Literal[ + swimUnit: typing.Literal[ "SWIM_UNIT_UNSPECIFIED", "SWIM_UNIT_METERS", "SWIM_UNIT_YARDS" ] - temperatureUnit: typing_extensions.Literal[ + temperatureUnit: typing.Literal[ "TEMPERATURE_UNIT_UNSPECIFIED", "TEMPERATURE_UNIT_CELSIUS", "TEMPERATURE_UNIT_FAHRENHEIT", ] timeZone: str utcOffset: str - waterUnit: typing_extensions.Literal[ + waterUnit: typing.Literal[ "WATER_UNIT_UNSPECIFIED", "WATER_UNIT_ML", "WATER_UNIT_FL_OZ", "WATER_UNIT_CUP" ] - weightUnit: typing_extensions.Literal[ + weightUnit: typing.Literal[ "WEIGHT_UNIT_UNSPECIFIED", "WEIGHT_UNIT_POUNDS", "WEIGHT_UNIT_STONE", @@ -1301,23 +1392,25 @@ class Settings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Sleep(typing_extensions.TypedDict, total=False): +class Sleep(typing.TypedDict, total=False): createTime: str interval: SessionTimeInterval metadata: SleepMetadata outOfBedSegments: _list[OutOfBedSegment] + shortAwakenings: _list[SleepStage] stages: _list[SleepStage] summary: SleepSummary - type: typing_extensions.Literal["SLEEP_TYPE_UNSPECIFIED", "CLASSIC", "STAGES"] + type: typing.Literal["SLEEP_TYPE_UNSPECIFIED", "CLASSIC", "STAGES"] updateTime: str @typing.type_check_only -class SleepMetadata(typing_extensions.TypedDict, total=False): +class SleepMetadata(typing.TypedDict, total=False): externalId: str + mainSleep: bool manuallyEdited: bool nap: bool processed: bool - stagesStatus: typing_extensions.Literal[ + stagesStatus: typing.Literal[ "STAGES_STATE_UNSPECIFIED", "REJECTED_COVERAGE", "REJECTED_MAX_GAP", @@ -1331,13 +1424,13 @@ class SleepMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SleepStage(typing_extensions.TypedDict, total=False): +class SleepStage(typing.TypedDict, total=False): createTime: str endTime: str endUtcOffset: str startTime: str startUtcOffset: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SLEEP_STAGE_TYPE_UNSPECIFIED", "AWAKE", "LIGHT", @@ -1349,7 +1442,7 @@ class SleepStage(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SleepSummary(typing_extensions.TypedDict, total=False): +class SleepSummary(typing.TypedDict, total=False): minutesAfterWakeUp: str minutesAsleep: str minutesAwake: str @@ -1358,22 +1451,22 @@ class SleepSummary(typing_extensions.TypedDict, total=False): stagesSummary: _list[StageSummary] @typing.type_check_only -class SplitSummary(typing_extensions.TypedDict, total=False): +class SplitSummary(typing.TypedDict, total=False): activeDuration: str endTime: str endUtcOffset: str metricsSummary: MetricsSummary - splitType: typing_extensions.Literal[ + splitType: typing.Literal[ "SPLIT_TYPE_UNSPECIFIED", "MANUAL", "DURATION", "DISTANCE", "CALORIES" ] startTime: str startUtcOffset: str @typing.type_check_only -class StageSummary(typing_extensions.TypedDict, total=False): +class StageSummary(typing.TypedDict, total=False): count: str minutes: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SLEEP_STAGE_TYPE_UNSPECIFIED", "AWAKE", "LIGHT", @@ -1384,50 +1477,48 @@ class StageSummary(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Steps(typing_extensions.TypedDict, total=False): +class Steps(typing.TypedDict, total=False): count: str interval: ObservationTimeInterval @typing.type_check_only -class StepsRollupValue(typing_extensions.TypedDict, total=False): +class StepsRollupValue(typing.TypedDict, total=False): countSum: str @typing.type_check_only -class Subscriber(typing_extensions.TypedDict, total=False): +class Subscriber(typing.TypedDict, total=False): createTime: str endpointAuthorization: EndpointAuthorization endpointUri: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UNVERIFIED", "ACTIVE", "INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UNVERIFIED", "ACTIVE", "INACTIVE"] subscriberConfigs: _list[SubscriberConfig] updateTime: str @typing.type_check_only -class SubscriberConfig(typing_extensions.TypedDict, total=False): +class SubscriberConfig(typing.TypedDict, total=False): dataTypes: _list[str] - subscriptionCreatePolicy: typing_extensions.Literal[ + subscriptionCreatePolicy: typing.Literal[ "SUBSCRIPTION_CREATE_POLICY_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): dataTypes: _list[str] name: str user: str @typing.type_check_only -class SwimLengthsData(typing_extensions.TypedDict, total=False): +class SwimLengthsData(typing.TypedDict, total=False): interval: ObservationTimeInterval strokeCount: str - swimStrokeType: typing_extensions.Literal[ + swimStrokeType: typing.Literal[ "SWIM_STROKE_TYPE_UNSPECIFIED", "FREESTYLE", "BACKSTROKE", @@ -1436,53 +1527,91 @@ class SwimLengthsData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SwimLengthsDataRollupValue(typing_extensions.TypedDict, total=False): +class SwimLengthsDataRollupValue(typing.TypedDict, total=False): strokeCountSum: str @typing.type_check_only -class TimeInHeartRateZone(typing_extensions.TypedDict, total=False): - heartRateZoneType: typing_extensions.Literal[ +class Symptoms(typing.TypedDict, total=False): + sampleTime: ObservationSampleTime + symptoms: _list[ + typing.Literal[ + "SYMPTOM_VALUE_UNSPECIFIED", + "CRAMPS", + "HEADACHE", + "TENDER_BREASTS", + "ACNE", + "SICK", + "BLOATED", + "HOT_FLASHES", + "PMS", + "COUGH", + "FEVER", + "DIFFICULTY_BREATHING", + "BACK_PAIN", + "SHAKINESS", + "HUNGER", + "SWEATING", + "ANXIETY", + "THIRST", + "FREQUENT_URINATION", + "BLURRED_VISION", + "OTHER", + "SEX_DRIVE_HIGH", + "SEX_DRIVE_MEDIUM", + "SEX_DRIVE_LOW", + "HEART_PALPITATIONS", + "FAINTING", + "CHEST_PAIN", + "FATIGUE", + "CONFUSION", + "DIZZINESS", + ] + ] + +@typing.type_check_only +class TimeInHeartRateZone(typing.TypedDict, total=False): + heartRateZoneType: typing.Literal[ "HEART_RATE_ZONE_TYPE_UNSPECIFIED", "LIGHT", "MODERATE", "VIGOROUS", "PEAK" ] interval: ObservationTimeInterval @typing.type_check_only -class TimeInHeartRateZoneRollupValue(typing_extensions.TypedDict, total=False): +class TimeInHeartRateZoneRollupValue(typing.TypedDict, total=False): timeInHeartRateZones: _list[TimeInHeartRateZoneValue] @typing.type_check_only -class TimeInHeartRateZoneValue(typing_extensions.TypedDict, total=False): +class TimeInHeartRateZoneValue(typing.TypedDict, total=False): duration: str - heartRateZone: typing_extensions.Literal[ + heartRateZone: typing.Literal[ "HEART_RATE_ZONE_TYPE_UNSPECIFIED", "LIGHT", "MODERATE", "VIGOROUS", "PEAK" ] @typing.type_check_only -class TimeInHeartRateZones(typing_extensions.TypedDict, total=False): +class TimeInHeartRateZones(typing.TypedDict, total=False): lightTime: str moderateTime: str peakTime: str vigorousTime: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class TotalCaloriesRollupValue(typing_extensions.TypedDict, total=False): +class TotalCaloriesRollupValue(typing.TypedDict, total=False): kcalSum: float @typing.type_check_only -class VO2Max(typing_extensions.TypedDict, total=False): - measurementMethod: typing_extensions.Literal[ +class VO2Max(typing.TypedDict, total=False): + measurementMethod: typing.Literal[ "MEASUREMENT_METHOD_UNSPECIFIED", "FITBIT_RUN", "GOOGLE_DEMOGRAPHIC", @@ -1500,9 +1629,9 @@ class VO2Max(typing_extensions.TypedDict, total=False): vo2Max: float @typing.type_check_only -class VolumeQuantity(typing_extensions.TypedDict, total=False): +class VolumeQuantity(typing.TypedDict, total=False): milliliters: float - userProvidedUnit: typing_extensions.Literal[ + userProvidedUnit: typing.Literal[ "VOLUME_UNIT_UNSPECIFIED", "CUP_IMPERIAL", "CUP_US", @@ -1515,9 +1644,9 @@ class VolumeQuantity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VolumeQuantityRollup(typing_extensions.TypedDict, total=False): +class VolumeQuantityRollup(typing.TypedDict, total=False): millilitersSum: float - userProvidedUnitLast: typing_extensions.Literal[ + userProvidedUnitLast: typing.Literal[ "VOLUME_UNIT_UNSPECIFIED", "CUP_IMPERIAL", "CUP_US", @@ -1530,15 +1659,15 @@ class VolumeQuantityRollup(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Weight(typing_extensions.TypedDict, total=False): +class Weight(typing.TypedDict, total=False): notes: str sampleTime: ObservationSampleTime weightGrams: float @typing.type_check_only -class WeightQuantity(typing_extensions.TypedDict, total=False): +class WeightQuantity(typing.TypedDict, total=False): grams: float - userProvidedUnit: typing_extensions.Literal[ + userProvidedUnit: typing.Literal[ "WEIGHT_UNIT_UNSPECIFIED", "GRAM", "KILOGRAM", @@ -1551,9 +1680,9 @@ class WeightQuantity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WeightQuantityRollup(typing_extensions.TypedDict, total=False): +class WeightQuantityRollup(typing.TypedDict, total=False): gramsSum: float - userProvidedUnitLast: typing_extensions.Literal[ + userProvidedUnitLast: typing.Literal[ "WEIGHT_UNIT_UNSPECIFIED", "GRAM", "KILOGRAM", @@ -1566,5 +1695,5 @@ class WeightQuantityRollup(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WeightRollupValue(typing_extensions.TypedDict, total=False): +class WeightRollupValue(typing.TypedDict, total=False): weightGramsAvg: float diff --git a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi index 8fa273950..f5eccaf8a 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -900,7 +899,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "MESSAGE_VIEW_UNSPECIFIED", "RAW_ONLY", "PARSED_ONLY", @@ -926,7 +925,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "MESSAGE_VIEW_UNSPECIFIED", "RAW_ONLY", "PARSED_ONLY", diff --git a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi index 1cc3a6e43..942d8e4ec 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi @@ -1,162 +1,154 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessDeterminationLogConfig(typing_extensions.TypedDict, total=False): - logLevel: typing_extensions.Literal[ - "LOG_LEVEL_UNSPECIFIED", "DISABLED", "MINIMUM", "VERBOSE" - ] +class AccessDeterminationLogConfig(typing.TypedDict, total=False): + logLevel: typing.Literal["LOG_LEVEL_UNSPECIFIED", "DISABLED", "MINIMUM", "VERBOSE"] @typing.type_check_only -class ActivateConsentRequest(typing_extensions.TypedDict, total=False): +class ActivateConsentRequest(typing.TypedDict, total=False): consentArtifact: str expireTime: str ttl: str @typing.type_check_only -class AdminConsents(typing_extensions.TypedDict, total=False): +class AdminConsents(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class AnalyzeEntitiesRequest(typing_extensions.TypedDict, total=False): - alternativeOutputFormat: typing_extensions.Literal[ +class AnalyzeEntitiesRequest(typing.TypedDict, total=False): + alternativeOutputFormat: typing.Literal[ "ALTERNATIVE_OUTPUT_FORMAT_UNSPECIFIED", "FHIR_BUNDLE" ] documentContent: str licensedVocabularies: _list[ - typing_extensions.Literal[ - "LICENSED_VOCABULARY_UNSPECIFIED", "ICD10CM", "SNOMEDCT_US" - ] + typing.Literal["LICENSED_VOCABULARY_UNSPECIFIED", "ICD10CM", "SNOMEDCT_US"] ] @typing.type_check_only -class AnalyzeEntitiesResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesResponse(typing.TypedDict, total=False): entities: _list[Entity] entityMentions: _list[EntityMention] fhirBundle: str relationships: _list[EntityMentionRelationship] @typing.type_check_only -class ApplyAdminConsentsErrorDetail(typing_extensions.TypedDict, total=False): +class ApplyAdminConsentsErrorDetail(typing.TypedDict, total=False): consentErrors: _list[ConsentErrors] existingOperationId: str @typing.type_check_only -class ApplyAdminConsentsRequest(typing_extensions.TypedDict, total=False): +class ApplyAdminConsentsRequest(typing.TypedDict, total=False): newConsentsList: AdminConsents validateOnly: bool @typing.type_check_only -class ApplyAdminConsentsResponse(typing_extensions.TypedDict, total=False): +class ApplyAdminConsentsResponse(typing.TypedDict, total=False): affectedResources: str consentApplySuccess: str failedResources: str @typing.type_check_only -class ApplyConsentsRequest(typing_extensions.TypedDict, total=False): +class ApplyConsentsRequest(typing.TypedDict, total=False): patientScope: PatientScope timeRange: TimeRange validateOnly: bool @typing.type_check_only -class ApplyConsentsResponse(typing_extensions.TypedDict, total=False): +class ApplyConsentsResponse(typing.TypedDict, total=False): affectedResources: str consentApplyFailure: str consentApplySuccess: str failedResources: str @typing.type_check_only -class ArchiveUserDataMappingRequest(typing_extensions.TypedDict, total=False): ... +class ArchiveUserDataMappingRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ArchiveUserDataMappingResponse(typing_extensions.TypedDict, total=False): ... +class ArchiveUserDataMappingResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Attribute(typing_extensions.TypedDict, total=False): +class Attribute(typing.TypedDict, total=False): attributeDefinitionId: str values: _list[str] @typing.type_check_only -class AttributeDefinition(typing_extensions.TypedDict, total=False): +class AttributeDefinition(typing.TypedDict, total=False): allowedValues: _list[str] - category: typing_extensions.Literal["CATEGORY_UNSPECIFIED", "RESOURCE", "REQUEST"] + category: typing.Literal["CATEGORY_UNSPECIFIED", "RESOURCE", "REQUEST"] consentDefaultValues: _list[str] dataMappingDefaultValue: str description: str name: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BlobStorageInfo(typing_extensions.TypedDict, total=False): +class BlobStorageInfo(typing.TypedDict, total=False): sizeBytes: str - storageClass: typing_extensions.Literal[ + storageClass: typing.Literal[ "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] storageClassUpdateTime: str @typing.type_check_only -class BlobStorageSettings(typing_extensions.TypedDict, total=False): - blobStorageClass: typing_extensions.Literal[ +class BlobStorageSettings(typing.TypedDict, total=False): + blobStorageClass: typing.Literal[ "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] @typing.type_check_only -class BulkDeleteResourcesRequest(typing_extensions.TypedDict, total=False): +class BulkDeleteResourcesRequest(typing.TypedDict, total=False): gcsDestination: GoogleCloudHealthcareV1FhirGcsDestination type: str until: str validateOnly: bool - versionConfig: typing_extensions.Literal[ + versionConfig: typing.Literal[ "VERSION_CONFIG_UNSPECIFIED", "ALL", "CURRENT_ONLY", "HISTORY_ONLY" ] @typing.type_check_only -class BulkExportGcsDestination(typing_extensions.TypedDict, total=False): +class BulkExportGcsDestination(typing.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CharacterMaskConfig(typing_extensions.TypedDict, total=False): +class CharacterMaskConfig(typing.TypedDict, total=False): maskingCharacter: str @typing.type_check_only -class CheckDataAccessRequest(typing_extensions.TypedDict, total=False): +class CheckDataAccessRequest(typing.TypedDict, total=False): consentList: ConsentList dataId: str requestAttributes: dict[str, typing.Any] - responseView: typing_extensions.Literal[ - "RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + responseView: typing.Literal["RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class CheckDataAccessResponse(typing_extensions.TypedDict, total=False): +class CheckDataAccessResponse(typing.TypedDict, total=False): consentDetails: dict[str, typing.Any] consented: bool @typing.type_check_only -class Consent(typing_extensions.TypedDict, total=False): +class Consent(typing.TypedDict, total=False): consentArtifact: str expireTime: str metadata: dict[str, typing.Any] @@ -164,20 +156,20 @@ class Consent(typing_extensions.TypedDict, total=False): policies: _list[GoogleCloudHealthcareV1ConsentPolicy] revisionCreateTime: str revisionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "REVOKED", "DRAFT", "REJECTED" ] ttl: str userId: str @typing.type_check_only -class ConsentAccessorScope(typing_extensions.TypedDict, total=False): +class ConsentAccessorScope(typing.TypedDict, total=False): actor: str environment: str purpose: str @typing.type_check_only -class ConsentArtifact(typing_extensions.TypedDict, total=False): +class ConsentArtifact(typing.TypedDict, total=False): consentContentScreenshots: _list[Image] consentContentVersion: str guardianSignature: Signature @@ -188,21 +180,21 @@ class ConsentArtifact(typing_extensions.TypedDict, total=False): witnessSignature: Signature @typing.type_check_only -class ConsentConfig(typing_extensions.TypedDict, total=False): +class ConsentConfig(typing.TypedDict, total=False): accessDeterminationLogConfig: AccessDeterminationLogConfig accessEnforced: bool consentHeaderHandling: ConsentHeaderHandling enforcedAdminConsents: _list[str] - version: typing_extensions.Literal["CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED", "V1"] + version: typing.Literal["CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED", "V1"] @typing.type_check_only -class ConsentErrors(typing_extensions.TypedDict, total=False): +class ConsentErrors(typing.TypedDict, total=False): error: Status name: str @typing.type_check_only -class ConsentEvaluation(typing_extensions.TypedDict, total=False): - evaluationResult: typing_extensions.Literal[ +class ConsentEvaluation(typing.TypedDict, total=False): + evaluationResult: typing.Literal[ "EVALUATION_RESULT_UNSPECIFIED", "NOT_APPLICABLE", "NO_MATCHING_POLICY", @@ -211,33 +203,33 @@ class ConsentEvaluation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConsentHeaderHandling(typing_extensions.TypedDict, total=False): - profile: typing_extensions.Literal[ +class ConsentHeaderHandling(typing.TypedDict, total=False): + profile: typing.Literal[ "SCOPE_PROFILE_UNSPECIFIED", "PERMIT_EMPTY_SCOPE", "REQUIRED_ON_READ" ] @typing.type_check_only -class ConsentList(typing_extensions.TypedDict, total=False): +class ConsentList(typing.TypedDict, total=False): consents: _list[str] @typing.type_check_only -class ConsentStore(typing_extensions.TypedDict, total=False): +class ConsentStore(typing.TypedDict, total=False): defaultConsentTtl: str enableConsentCreateOnUpdate: bool labels: dict[str, typing.Any] name: str @typing.type_check_only -class CreateMessageRequest(typing_extensions.TypedDict, total=False): +class CreateMessageRequest(typing.TypedDict, total=False): message: Message @typing.type_check_only -class CryptoHashConfig(typing_extensions.TypedDict, total=False): +class CryptoHashConfig(typing.TypedDict, total=False): cryptoKey: str kmsWrapped: KmsWrappedCryptoKey @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): encryptionSpec: EncryptionSpec name: str satisfiesPzi: bool @@ -245,17 +237,17 @@ class Dataset(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class DateShiftConfig(typing_extensions.TypedDict, total=False): +class DateShiftConfig(typing.TypedDict, total=False): cryptoKey: str kmsWrapped: KmsWrappedCryptoKey @typing.type_check_only -class DeidentifiedStoreDestination(typing_extensions.TypedDict, total=False): +class DeidentifiedStoreDestination(typing.TypedDict, total=False): config: DeidentifyConfig store: str @typing.type_check_only -class DeidentifyConfig(typing_extensions.TypedDict, total=False): +class DeidentifyConfig(typing.TypedDict, total=False): dicom: DicomConfig fhir: FhirConfig image: ImageConfig @@ -263,20 +255,20 @@ class DeidentifyConfig(typing_extensions.TypedDict, total=False): useRegionalDataProcessing: bool @typing.type_check_only -class DeidentifyDatasetRequest(typing_extensions.TypedDict, total=False): +class DeidentifyDatasetRequest(typing.TypedDict, total=False): config: DeidentifyConfig destinationDataset: str gcsConfigUri: str @typing.type_check_only -class DeidentifyDicomStoreRequest(typing_extensions.TypedDict, total=False): +class DeidentifyDicomStoreRequest(typing.TypedDict, total=False): config: DeidentifyConfig destinationStore: str filterConfig: DicomFilterConfig gcsConfigUri: str @typing.type_check_only -class DeidentifyFhirStoreRequest(typing_extensions.TypedDict, total=False): +class DeidentifyFhirStoreRequest(typing.TypedDict, total=False): config: DeidentifyConfig destinationStore: str gcsConfigUri: str @@ -284,11 +276,11 @@ class DeidentifyFhirStoreRequest(typing_extensions.TypedDict, total=False): skipModifiedResources: bool @typing.type_check_only -class DeidentifySummary(typing_extensions.TypedDict, total=False): ... +class DeidentifySummary(typing.TypedDict, total=False): ... @typing.type_check_only -class DicomConfig(typing_extensions.TypedDict, total=False): - filterProfile: typing_extensions.Literal[ +class DicomConfig(typing.TypedDict, total=False): + filterProfile: typing.Literal[ "TAG_FILTER_PROFILE_UNSPECIFIED", "MINIMAL_KEEP_LIST_PROFILE", "ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE", @@ -300,15 +292,15 @@ class DicomConfig(typing_extensions.TypedDict, total=False): skipIdRedaction: bool @typing.type_check_only -class DicomFilterConfig(typing_extensions.TypedDict, total=False): +class DicomFilterConfig(typing.TypedDict, total=False): resourcePathsGcsUri: str @typing.type_check_only -class DicomNotificationConfig(typing_extensions.TypedDict, total=False): +class DicomNotificationConfig(typing.TypedDict, total=False): pubsubTopic: str @typing.type_check_only -class DicomStore(typing_extensions.TypedDict, total=False): +class DicomStore(typing.TypedDict, total=False): labels: dict[str, typing.Any] name: str notificationConfig: NotificationConfig @@ -316,7 +308,7 @@ class DicomStore(typing_extensions.TypedDict, total=False): streamConfigs: _list[GoogleCloudHealthcareV1DicomStreamConfig] @typing.type_check_only -class DicomStoreMetrics(typing_extensions.TypedDict, total=False): +class DicomStoreMetrics(typing.TypedDict, total=False): blobStorageSizeBytes: str instanceCount: str name: str @@ -325,20 +317,20 @@ class DicomStoreMetrics(typing_extensions.TypedDict, total=False): studyCount: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionSpec(typing_extensions.TypedDict, total=False): +class EncryptionSpec(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): entityId: str preferredTerm: str vocabularyCodes: _list[str] @typing.type_check_only -class EntityMention(typing_extensions.TypedDict, total=False): +class EntityMention(typing.TypedDict, total=False): certaintyAssessment: Feature confidence: float linkedEntities: _list[LinkedEntity] @@ -349,42 +341,40 @@ class EntityMention(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class EntityMentionRelationship(typing_extensions.TypedDict, total=False): +class EntityMentionRelationship(typing.TypedDict, total=False): confidence: float objectId: str subjectId: str @typing.type_check_only -class EvaluateUserConsentsRequest(typing_extensions.TypedDict, total=False): +class EvaluateUserConsentsRequest(typing.TypedDict, total=False): consentList: ConsentList pageSize: int pageToken: str requestAttributes: dict[str, typing.Any] resourceAttributes: dict[str, typing.Any] - responseView: typing_extensions.Literal[ - "RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + responseView: typing.Literal["RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL"] userId: str @typing.type_check_only -class EvaluateUserConsentsResponse(typing_extensions.TypedDict, total=False): +class EvaluateUserConsentsResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[Result] @typing.type_check_only -class ExplainDataAccessConsentInfo(typing_extensions.TypedDict, total=False): +class ExplainDataAccessConsentInfo(typing.TypedDict, total=False): cascadeOrigins: _list[str] consentResource: str enforcementTime: str matchingAccessorScopes: _list[ConsentAccessorScope] patientConsentOwner: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CONSENT_POLICY_TYPE_UNSPECIFIED", "CONSENT_POLICY_TYPE_PATIENT", "CONSENT_POLICY_TYPE_ADMIN", ] variants: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONSENT_VARIANT_UNSPECIFIED", "CONSENT_VARIANT_STANDARD", "CONSENT_VARIANT_CASCADE", @@ -392,9 +382,9 @@ class ExplainDataAccessConsentInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExplainDataAccessConsentScope(typing_extensions.TypedDict, total=False): +class ExplainDataAccessConsentScope(typing.TypedDict, total=False): accessorScope: ConsentAccessorScope - decision: typing_extensions.Literal[ + decision: typing.Literal[ "CONSENT_DECISION_TYPE_UNSPECIFIED", "CONSENT_DECISION_TYPE_PERMIT", "CONSENT_DECISION_TYPE_DENY", @@ -403,20 +393,20 @@ class ExplainDataAccessConsentScope(typing_extensions.TypedDict, total=False): exceptions: _list[ExplainDataAccessConsentScope] @typing.type_check_only -class ExplainDataAccessResponse(typing_extensions.TypedDict, total=False): +class ExplainDataAccessResponse(typing.TypedDict, total=False): consentScopes: _list[ExplainDataAccessConsentScope] warning: str @typing.type_check_only -class ExportDicomDataRequest(typing_extensions.TypedDict, total=False): +class ExportDicomDataRequest(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1DicomBigQueryDestination gcsDestination: GoogleCloudHealthcareV1DicomGcsDestination @typing.type_check_only -class ExportDicomDataResponse(typing_extensions.TypedDict, total=False): ... +class ExportDicomDataResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportMessagesRequest(typing_extensions.TypedDict, total=False): +class ExportMessagesRequest(typing.TypedDict, total=False): endTime: str filter: str gcsDestination: GcsDestination @@ -424,49 +414,49 @@ class ExportMessagesRequest(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ExportMessagesResponse(typing_extensions.TypedDict, total=False): ... +class ExportMessagesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportResourcesRequest(typing_extensions.TypedDict, total=False): +class ExportResourcesRequest(typing.TypedDict, total=False): _since: str _type: str bigqueryDestination: GoogleCloudHealthcareV1FhirBigQueryDestination gcsDestination: GoogleCloudHealthcareV1FhirGcsDestination @typing.type_check_only -class ExportResourcesResponse(typing_extensions.TypedDict, total=False): ... +class ExportResourcesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): confidence: float value: str @typing.type_check_only -class FhirConfig(typing_extensions.TypedDict, total=False): +class FhirConfig(typing.TypedDict, total=False): defaultKeepExtensions: bool fieldMetadataList: _list[FieldMetadata] @typing.type_check_only -class FhirFilter(typing_extensions.TypedDict, total=False): +class FhirFilter(typing.TypedDict, total=False): resources: Resources @typing.type_check_only -class FhirNotificationConfig(typing_extensions.TypedDict, total=False): +class FhirNotificationConfig(typing.TypedDict, total=False): pubsubTopic: str sendFullResource: bool sendPreviousResourceOnDelete: bool @typing.type_check_only -class FhirStore(typing_extensions.TypedDict, total=False): +class FhirStore(typing.TypedDict, total=False): bulkExportGcsDestination: BulkExportGcsDestination - complexDataTypeReferenceParsing: typing_extensions.Literal[ + complexDataTypeReferenceParsing: typing.Literal[ "COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED", "DISABLED", "ENABLED" ] consentConfig: ConsentConfig @@ -480,24 +470,22 @@ class FhirStore(typing_extensions.TypedDict, total=False): notificationConfigs: _list[FhirNotificationConfig] streamConfigs: _list[StreamConfig] validationConfig: ValidationConfig - version: typing_extensions.Literal[ - "VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4", "R5" - ] + version: typing.Literal["VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4", "R5"] @typing.type_check_only -class FhirStoreMetric(typing_extensions.TypedDict, total=False): +class FhirStoreMetric(typing.TypedDict, total=False): count: str resourceType: str structuredStorageSizeBytes: str versionedStorageSizeBytes: str @typing.type_check_only -class FhirStoreMetrics(typing_extensions.TypedDict, total=False): +class FhirStoreMetrics(typing.TypedDict, total=False): metrics: _list[FhirStoreMetric] name: str @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): +class Field(typing.TypedDict, total=False): maxOccurs: int minOccurs: int name: str @@ -505,18 +493,16 @@ class Field(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class FieldMetadata(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class FieldMetadata(typing.TypedDict, total=False): + action: typing.Literal[ "ACTION_UNSPECIFIED", "TRANSFORM", "INSPECT_AND_TRANSFORM", "DO_NOT_TRANSFORM" ] paths: _list[str] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): - contentStructure: typing_extensions.Literal[ - "CONTENT_STRUCTURE_UNSPECIFIED", "MESSAGE_JSON" - ] - messageView: typing_extensions.Literal[ +class GcsDestination(typing.TypedDict, total=False): + contentStructure: typing.Literal["CONTENT_STRUCTURE_UNSPECIFIED", "MESSAGE_JSON"] + messageView: typing.Literal[ "MESSAGE_VIEW_UNSPECIFIED", "RAW_ONLY", "PARSED_ONLY", @@ -527,103 +513,91 @@ class GcsDestination(typing_extensions.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudHealthcareV1ConsentGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1ConsentGcsDestination(typing.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class GoogleCloudHealthcareV1ConsentPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudHealthcareV1ConsentPolicy(typing.TypedDict, total=False): authorizationRule: Expr resourceAttributes: _list[Attribute] @typing.type_check_only class GoogleCloudHealthcareV1DeidentifyDeidentifyDicomStoreSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudHealthcareV1DeidentifyDeidentifyFhirStoreSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudHealthcareV1DicomBigQueryDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1DicomBigQueryDestination(typing.TypedDict, total=False): force: bool includeSourceStore: bool schemaFlattened: SchemaFlattened schemaJson: SchemaJSON tableUri: str - writeDisposition: typing_extensions.Literal[ + writeDisposition: typing.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_EMPTY", "WRITE_TRUNCATE", "WRITE_APPEND" ] @typing.type_check_only -class GoogleCloudHealthcareV1DicomGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1DicomGcsDestination(typing.TypedDict, total=False): mimeType: str uriPrefix: str @typing.type_check_only -class GoogleCloudHealthcareV1DicomGcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudHealthcareV1DicomGcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudHealthcareV1DicomStreamConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1DicomStreamConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1DicomBigQueryDestination @typing.type_check_only -class GoogleCloudHealthcareV1FhirBigQueryDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1FhirBigQueryDestination(typing.TypedDict, total=False): datasetUri: str force: bool schemaConfig: SchemaConfig - writeDisposition: typing_extensions.Literal[ + writeDisposition: typing.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_EMPTY", "WRITE_TRUNCATE", "WRITE_APPEND" ] @typing.type_check_only -class GoogleCloudHealthcareV1FhirGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1FhirGcsDestination(typing.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class GoogleCloudHealthcareV1FhirGcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudHealthcareV1FhirGcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GroupOrSegment(typing_extensions.TypedDict, total=False): +class GroupOrSegment(typing.TypedDict, total=False): group: SchemaGroup segment: SchemaSegment @typing.type_check_only -class Hl7SchemaConfig(typing_extensions.TypedDict, total=False): +class Hl7SchemaConfig(typing.TypedDict, total=False): messageSchemaConfigs: dict[str, typing.Any] version: _list[VersionSource] @typing.type_check_only -class Hl7TypesConfig(typing_extensions.TypedDict, total=False): +class Hl7TypesConfig(typing.TypedDict, total=False): type: _list[Type] version: _list[VersionSource] @typing.type_check_only -class Hl7V2NotificationConfig(typing_extensions.TypedDict, total=False): +class Hl7V2NotificationConfig(typing.TypedDict, total=False): filter: str pubsubTopic: str @typing.type_check_only -class Hl7V2Store(typing_extensions.TypedDict, total=False): +class Hl7V2Store(typing.TypedDict, total=False): labels: dict[str, typing.Any] name: str notificationConfigs: _list[Hl7V2NotificationConfig] @@ -631,30 +605,30 @@ class Hl7V2Store(typing_extensions.TypedDict, total=False): rejectDuplicateMessage: bool @typing.type_check_only -class Hl7V2StoreMetric(typing_extensions.TypedDict, total=False): +class Hl7V2StoreMetric(typing.TypedDict, total=False): count: str messageType: str structuredStorageSizeBytes: str @typing.type_check_only -class Hl7V2StoreMetrics(typing_extensions.TypedDict, total=False): +class Hl7V2StoreMetrics(typing.TypedDict, total=False): metrics: _list[Hl7V2StoreMetric] name: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): gcsUri: str rawBytes: str @typing.type_check_only -class ImageConfig(typing_extensions.TypedDict, total=False): - textRedactionMode: typing_extensions.Literal[ +class ImageConfig(typing.TypedDict, total=False): + textRedactionMode: typing.Literal[ "TEXT_REDACTION_MODE_UNSPECIFIED", "REDACT_ALL_TEXT", "REDACT_SENSITIVE_TEXT", @@ -662,23 +636,23 @@ class ImageConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ImportDicomDataRequest(typing_extensions.TypedDict, total=False): +class ImportDicomDataRequest(typing.TypedDict, total=False): blobStorageSettings: BlobStorageSettings gcsSource: GoogleCloudHealthcareV1DicomGcsSource @typing.type_check_only -class ImportDicomDataResponse(typing_extensions.TypedDict, total=False): ... +class ImportDicomDataResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportMessagesRequest(typing_extensions.TypedDict, total=False): +class ImportMessagesRequest(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class ImportMessagesResponse(typing_extensions.TypedDict, total=False): ... +class ImportMessagesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportResourcesRequest(typing_extensions.TypedDict, total=False): - contentStructure: typing_extensions.Literal[ +class ImportResourcesRequest(typing.TypedDict, total=False): + contentStructure: typing.Literal[ "CONTENT_STRUCTURE_UNSPECIFIED", "BUNDLE", "RESOURCE", @@ -688,10 +662,10 @@ class ImportResourcesRequest(typing_extensions.TypedDict, total=False): gcsSource: GoogleCloudHealthcareV1FhirGcsSource @typing.type_check_only -class ImportResourcesResponse(typing_extensions.TypedDict, total=False): ... +class ImportResourcesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class InfoTypeTransformation(typing_extensions.TypedDict, total=False): +class InfoTypeTransformation(typing.TypedDict, total=False): characterMaskConfig: CharacterMaskConfig cryptoHashConfig: CryptoHashConfig dateShiftConfig: DateShiftConfig @@ -700,91 +674,91 @@ class InfoTypeTransformation(typing_extensions.TypedDict, total=False): replaceWithInfoTypeConfig: ReplaceWithInfoTypeConfig @typing.type_check_only -class IngestMessageRequest(typing_extensions.TypedDict, total=False): +class IngestMessageRequest(typing.TypedDict, total=False): message: Message @typing.type_check_only -class IngestMessageResponse(typing_extensions.TypedDict, total=False): +class IngestMessageResponse(typing.TypedDict, total=False): hl7Ack: str message: Message @typing.type_check_only -class KmsWrappedCryptoKey(typing_extensions.TypedDict, total=False): +class KmsWrappedCryptoKey(typing.TypedDict, total=False): cryptoKey: str wrappedKey: str @typing.type_check_only -class LinkedEntity(typing_extensions.TypedDict, total=False): +class LinkedEntity(typing.TypedDict, total=False): entityId: str @typing.type_check_only -class ListAttributeDefinitionsResponse(typing_extensions.TypedDict, total=False): +class ListAttributeDefinitionsResponse(typing.TypedDict, total=False): attributeDefinitions: _list[AttributeDefinition] nextPageToken: str @typing.type_check_only -class ListConsentArtifactsResponse(typing_extensions.TypedDict, total=False): +class ListConsentArtifactsResponse(typing.TypedDict, total=False): consentArtifacts: _list[ConsentArtifact] nextPageToken: str @typing.type_check_only -class ListConsentRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListConsentRevisionsResponse(typing.TypedDict, total=False): consents: _list[Consent] nextPageToken: str @typing.type_check_only -class ListConsentStoresResponse(typing_extensions.TypedDict, total=False): +class ListConsentStoresResponse(typing.TypedDict, total=False): consentStores: _list[ConsentStore] nextPageToken: str @typing.type_check_only -class ListConsentsResponse(typing_extensions.TypedDict, total=False): +class ListConsentsResponse(typing.TypedDict, total=False): consents: _list[Consent] nextPageToken: str @typing.type_check_only -class ListDatasetsResponse(typing_extensions.TypedDict, total=False): +class ListDatasetsResponse(typing.TypedDict, total=False): datasets: _list[Dataset] nextPageToken: str @typing.type_check_only -class ListDicomStoresResponse(typing_extensions.TypedDict, total=False): +class ListDicomStoresResponse(typing.TypedDict, total=False): dicomStores: _list[DicomStore] nextPageToken: str @typing.type_check_only -class ListFhirStoresResponse(typing_extensions.TypedDict, total=False): +class ListFhirStoresResponse(typing.TypedDict, total=False): fhirStores: _list[FhirStore] nextPageToken: str @typing.type_check_only -class ListHl7V2StoresResponse(typing_extensions.TypedDict, total=False): +class ListHl7V2StoresResponse(typing.TypedDict, total=False): hl7V2Stores: _list[Hl7V2Store] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMessagesResponse(typing_extensions.TypedDict, total=False): +class ListMessagesResponse(typing.TypedDict, total=False): hl7V2Messages: _list[Message] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListUserDataMappingsResponse(typing_extensions.TypedDict, total=False): +class ListUserDataMappingsResponse(typing.TypedDict, total=False): nextPageToken: str userDataMappings: _list[UserDataMapping] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -792,7 +766,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): createTime: str data: str labels: dict[str, typing.Any] @@ -805,12 +779,12 @@ class Message(typing_extensions.TypedDict, total=False): sendTime: str @typing.type_check_only -class NotificationConfig(typing_extensions.TypedDict, total=False): +class NotificationConfig(typing.TypedDict, total=False): pubsubTopic: str sendForBulkImport: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -818,7 +792,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiMethodName: str cancelRequested: bool counter: ProgressCounter @@ -827,34 +801,34 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): logsUrl: str @typing.type_check_only -class ParsedData(typing_extensions.TypedDict, total=False): +class ParsedData(typing.TypedDict, total=False): segments: _list[Segment] @typing.type_check_only -class ParserConfig(typing_extensions.TypedDict, total=False): +class ParserConfig(typing.TypedDict, total=False): allowNullHeader: bool schema: SchemaPackage segmentTerminator: str - version: typing_extensions.Literal["PARSER_VERSION_UNSPECIFIED", "V1", "V2", "V3"] + version: typing.Literal["PARSER_VERSION_UNSPECIFIED", "V1", "V2", "V3"] @typing.type_check_only -class PatientId(typing_extensions.TypedDict, total=False): +class PatientId(typing.TypedDict, total=False): type: str value: str @typing.type_check_only -class PatientScope(typing_extensions.TypedDict, total=False): +class PatientScope(typing.TypedDict, total=False): patientIds: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProgressCounter(typing_extensions.TypedDict, total=False): +class ProgressCounter(typing.TypedDict, total=False): failure: str pending: str secondaryFailure: str @@ -862,51 +836,51 @@ class ProgressCounter(typing_extensions.TypedDict, total=False): success: str @typing.type_check_only -class PubsubDestination(typing_extensions.TypedDict, total=False): +class PubsubDestination(typing.TypedDict, total=False): pubsubTopic: str @typing.type_check_only -class QueryAccessibleDataRequest(typing_extensions.TypedDict, total=False): +class QueryAccessibleDataRequest(typing.TypedDict, total=False): gcsDestination: GoogleCloudHealthcareV1ConsentGcsDestination requestAttributes: dict[str, typing.Any] resourceAttributes: dict[str, typing.Any] @typing.type_check_only -class QueryAccessibleDataResponse(typing_extensions.TypedDict, total=False): +class QueryAccessibleDataResponse(typing.TypedDict, total=False): gcsUris: _list[str] @typing.type_check_only -class RedactConfig(typing_extensions.TypedDict, total=False): ... +class RedactConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class RejectConsentRequest(typing_extensions.TypedDict, total=False): +class RejectConsentRequest(typing.TypedDict, total=False): consentArtifact: str @typing.type_check_only -class ReplaceWithInfoTypeConfig(typing_extensions.TypedDict, total=False): ... +class ReplaceWithInfoTypeConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): resources: _list[str] @typing.type_check_only -class Result(typing_extensions.TypedDict, total=False): +class Result(typing.TypedDict, total=False): consentDetails: dict[str, typing.Any] consented: bool dataId: str @typing.type_check_only -class RevokeConsentRequest(typing_extensions.TypedDict, total=False): +class RevokeConsentRequest(typing.TypedDict, total=False): consentArtifact: str @typing.type_check_only -class RollbackFhirResourceFilteringFields(typing_extensions.TypedDict, total=False): +class RollbackFhirResourceFilteringFields(typing.TypedDict, total=False): metadataFilter: str operationIds: _list[str] @typing.type_check_only -class RollbackFhirResourcesRequest(typing_extensions.TypedDict, total=False): - changeType: typing_extensions.Literal[ +class RollbackFhirResourcesRequest(typing.TypedDict, total=False): + changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "ALL", "CREATE", "UPDATE", "DELETE" ] excludeRollbacks: bool @@ -918,16 +892,16 @@ class RollbackFhirResourcesRequest(typing_extensions.TypedDict, total=False): type: _list[str] @typing.type_check_only -class RollbackFhirResourcesResponse(typing_extensions.TypedDict, total=False): +class RollbackFhirResourcesResponse(typing.TypedDict, total=False): fhirStore: str @typing.type_check_only -class RollbackHL7MessagesFilteringFields(typing_extensions.TypedDict, total=False): +class RollbackHL7MessagesFilteringFields(typing.TypedDict, total=False): operationIds: _list[str] @typing.type_check_only -class RollbackHl7V2MessagesRequest(typing_extensions.TypedDict, total=False): - changeType: typing_extensions.Literal[ +class RollbackHl7V2MessagesRequest(typing.TypedDict, total=False): + changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "ALL", "CREATE", "UPDATE", "DELETE" ] excludeRollbacks: bool @@ -938,22 +912,20 @@ class RollbackHl7V2MessagesRequest(typing_extensions.TypedDict, total=False): rollbackTime: str @typing.type_check_only -class RollbackHl7V2MessagesResponse(typing_extensions.TypedDict, total=False): +class RollbackHl7V2MessagesResponse(typing.TypedDict, total=False): hl7v2Store: str @typing.type_check_only -class SchemaConfig(typing_extensions.TypedDict, total=False): +class SchemaConfig(typing.TypedDict, total=False): lastUpdatedPartitionConfig: TimePartitioning recursiveStructureDepth: str - schemaType: typing_extensions.Literal[ - "SCHEMA_TYPE_UNSPECIFIED", "ANALYTICS", "ANALYTICS_V2" - ] + schemaType: typing.Literal["SCHEMA_TYPE_UNSPECIFIED", "ANALYTICS", "ANALYTICS_V2"] @typing.type_check_only -class SchemaFlattened(typing_extensions.TypedDict, total=False): ... +class SchemaFlattened(typing.TypedDict, total=False): ... @typing.type_check_only -class SchemaGroup(typing_extensions.TypedDict, total=False): +class SchemaGroup(typing.TypedDict, total=False): choice: bool maxOccurs: int members: _list[GroupOrSegment] @@ -961,88 +933,88 @@ class SchemaGroup(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SchemaJSON(typing_extensions.TypedDict, total=False): ... +class SchemaJSON(typing.TypedDict, total=False): ... @typing.type_check_only -class SchemaPackage(typing_extensions.TypedDict, total=False): +class SchemaPackage(typing.TypedDict, total=False): ignoreMinOccurs: bool schemas: _list[Hl7SchemaConfig] - schematizedParsingType: typing_extensions.Literal[ + schematizedParsingType: typing.Literal[ "SCHEMATIZED_PARSING_TYPE_UNSPECIFIED", "SOFT_FAIL", "HARD_FAIL" ] types: _list[Hl7TypesConfig] - unexpectedSegmentHandling: typing_extensions.Literal[ + unexpectedSegmentHandling: typing.Literal[ "UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED", "FAIL", "SKIP", "PARSE" ] @typing.type_check_only -class SchemaSegment(typing_extensions.TypedDict, total=False): +class SchemaSegment(typing.TypedDict, total=False): maxOccurs: int minOccurs: int type: str @typing.type_check_only -class SchematizedData(typing_extensions.TypedDict, total=False): +class SchematizedData(typing.TypedDict, total=False): data: str error: str @typing.type_check_only -class Segment(typing_extensions.TypedDict, total=False): +class Segment(typing.TypedDict, total=False): fields: dict[str, typing.Any] segmentId: str setId: str @typing.type_check_only -class SeriesMetrics(typing_extensions.TypedDict, total=False): +class SeriesMetrics(typing.TypedDict, total=False): blobStorageSizeBytes: str instanceCount: str series: str structuredStorageSizeBytes: str @typing.type_check_only -class SetBlobStorageSettingsRequest(typing_extensions.TypedDict, total=False): +class SetBlobStorageSettingsRequest(typing.TypedDict, total=False): blobStorageSettings: BlobStorageSettings filterConfig: DicomFilterConfig @typing.type_check_only -class SetBlobStorageSettingsResponse(typing_extensions.TypedDict, total=False): ... +class SetBlobStorageSettingsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): image: Image metadata: dict[str, typing.Any] signatureTime: str userId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageInfo(typing_extensions.TypedDict, total=False): +class StorageInfo(typing.TypedDict, total=False): blobStorageInfo: BlobStorageInfo referencedResource: str structuredStorageInfo: StructuredStorageInfo @typing.type_check_only -class StreamConfig(typing_extensions.TypedDict, total=False): +class StreamConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1FhirBigQueryDestination deidentifiedStoreDestination: DeidentifiedStoreDestination resourceTypes: _list[str] @typing.type_check_only -class StructuredStorageInfo(typing_extensions.TypedDict, total=False): +class StructuredStorageInfo(typing.TypedDict, total=False): sizeBytes: str @typing.type_check_only -class StudyMetrics(typing_extensions.TypedDict, total=False): +class StudyMetrics(typing.TypedDict, total=False): blobStorageSizeBytes: str instanceCount: str seriesCount: str @@ -1050,50 +1022,48 @@ class StudyMetrics(typing_extensions.TypedDict, total=False): study: str @typing.type_check_only -class TagFilterList(typing_extensions.TypedDict, total=False): +class TagFilterList(typing.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TextConfig(typing_extensions.TypedDict, total=False): +class TextConfig(typing.TypedDict, total=False): additionalTransformations: _list[InfoTypeTransformation] excludeInfoTypes: _list[str] transformations: _list[InfoTypeTransformation] @typing.type_check_only -class TextSpan(typing_extensions.TypedDict, total=False): +class TextSpan(typing.TypedDict, total=False): beginOffset: int content: str @typing.type_check_only -class TimePartitioning(typing_extensions.TypedDict, total=False): +class TimePartitioning(typing.TypedDict, total=False): expirationMs: str - type: typing_extensions.Literal[ - "PARTITION_TYPE_UNSPECIFIED", "HOUR", "DAY", "MONTH", "YEAR" - ] + type: typing.Literal["PARTITION_TYPE_UNSPECIFIED", "HOUR", "DAY", "MONTH", "YEAR"] @typing.type_check_only -class TimeRange(typing_extensions.TypedDict, total=False): +class TimeRange(typing.TypedDict, total=False): end: str start: str @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): fields: _list[Field] name: str - primitive: typing_extensions.Literal[ + primitive: typing.Literal[ "PRIMITIVE_UNSPECIFIED", "STRING", "VARIES", "UNESCAPED_STRING" ] @typing.type_check_only -class UserDataMapping(typing_extensions.TypedDict, total=False): +class UserDataMapping(typing.TypedDict, total=False): archiveTime: str archived: bool dataId: str @@ -1102,7 +1072,7 @@ class UserDataMapping(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class ValidationConfig(typing_extensions.TypedDict, total=False): +class ValidationConfig(typing.TypedDict, total=False): disableFhirpathValidation: bool disableProfileValidation: bool disableReferenceTypeValidation: bool @@ -1111,6 +1081,6 @@ class ValidationConfig(typing_extensions.TypedDict, total=False): enabledImplementationGuides: _list[str] @typing.type_check_only -class VersionSource(typing_extensions.TypedDict, total=False): +class VersionSource(typing.TypedDict, total=False): mshField: str value: str diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi index 52032cd4f..eb752c2e2 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -997,7 +996,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): *, parent: str, ids: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "MESSAGE_VIEW_UNSPECIFIED", "RAW_ONLY", "PARSED_ONLY", @@ -1022,7 +1021,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "MESSAGE_VIEW_UNSPECIFIED", "RAW_ONLY", "PARSED_ONLY", @@ -1048,7 +1047,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "MESSAGE_VIEW_UNSPECIFIED", "RAW_ONLY", "PARSED_ONLY", diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi index b33b6579c..81358f5f1 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessDeterminationLogConfig(typing_extensions.TypedDict, total=False): - logLevel: typing_extensions.Literal[ - "LOG_LEVEL_UNSPECIFIED", "DISABLED", "MINIMUM", "VERBOSE" - ] +class AccessDeterminationLogConfig(typing.TypedDict, total=False): + logLevel: typing.Literal["LOG_LEVEL_UNSPECIFIED", "DISABLED", "MINIMUM", "VERBOSE"] @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): cleanImageTag: ImageConfig cleanTextTag: CleanTextTag deleteTag: DeleteTag @@ -23,173 +19,169 @@ class Action(typing_extensions.TypedDict, total=False): resetTag: ResetTag @typing.type_check_only -class ActivateConsentRequest(typing_extensions.TypedDict, total=False): +class ActivateConsentRequest(typing.TypedDict, total=False): consentArtifact: str expireTime: str ttl: str @typing.type_check_only -class AdminConsents(typing_extensions.TypedDict, total=False): +class AdminConsents(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class AnalyzeEntitiesRequest(typing_extensions.TypedDict, total=False): - alternativeOutputFormat: typing_extensions.Literal[ +class AnalyzeEntitiesRequest(typing.TypedDict, total=False): + alternativeOutputFormat: typing.Literal[ "ALTERNATIVE_OUTPUT_FORMAT_UNSPECIFIED", "FHIR_BUNDLE" ] documentContent: str licensedVocabularies: _list[ - typing_extensions.Literal[ - "LICENSED_VOCABULARY_UNSPECIFIED", "ICD10CM", "SNOMEDCT_US" - ] + typing.Literal["LICENSED_VOCABULARY_UNSPECIFIED", "ICD10CM", "SNOMEDCT_US"] ] @typing.type_check_only -class AnalyzeEntitiesResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesResponse(typing.TypedDict, total=False): entities: _list[Entity] entityMentions: _list[EntityMention] fhirBundle: str relationships: _list[EntityMentionRelationship] @typing.type_check_only -class ApplyAdminConsentsErrorDetail(typing_extensions.TypedDict, total=False): +class ApplyAdminConsentsErrorDetail(typing.TypedDict, total=False): consentErrors: _list[ConsentErrors] existingOperationId: str @typing.type_check_only -class ApplyAdminConsentsRequest(typing_extensions.TypedDict, total=False): +class ApplyAdminConsentsRequest(typing.TypedDict, total=False): newConsentsList: AdminConsents validateOnly: bool @typing.type_check_only -class ApplyAdminConsentsResponse(typing_extensions.TypedDict, total=False): +class ApplyAdminConsentsResponse(typing.TypedDict, total=False): affectedResources: str consentApplySuccess: str failedResources: str @typing.type_check_only -class ApplyConsentsRequest(typing_extensions.TypedDict, total=False): +class ApplyConsentsRequest(typing.TypedDict, total=False): patientScope: PatientScope timeRange: TimeRange validateOnly: bool @typing.type_check_only -class ApplyConsentsResponse(typing_extensions.TypedDict, total=False): +class ApplyConsentsResponse(typing.TypedDict, total=False): affectedResources: str consentApplyFailure: str consentApplySuccess: str failedResources: str @typing.type_check_only -class ArchiveUserDataMappingRequest(typing_extensions.TypedDict, total=False): ... +class ArchiveUserDataMappingRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ArchiveUserDataMappingResponse(typing_extensions.TypedDict, total=False): ... +class ArchiveUserDataMappingResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Attribute(typing_extensions.TypedDict, total=False): +class Attribute(typing.TypedDict, total=False): attributeDefinitionId: str values: _list[str] @typing.type_check_only -class AttributeDefinition(typing_extensions.TypedDict, total=False): +class AttributeDefinition(typing.TypedDict, total=False): allowedValues: _list[str] - category: typing_extensions.Literal["CATEGORY_UNSPECIFIED", "RESOURCE", "REQUEST"] + category: typing.Literal["CATEGORY_UNSPECIFIED", "RESOURCE", "REQUEST"] consentDefaultValues: _list[str] dataMappingDefaultValue: str description: str name: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BatchGetMessagesResponse(typing_extensions.TypedDict, total=False): +class BatchGetMessagesResponse(typing.TypedDict, total=False): messages: _list[Message] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BlobStorageInfo(typing_extensions.TypedDict, total=False): +class BlobStorageInfo(typing.TypedDict, total=False): sizeBytes: str - storageClass: typing_extensions.Literal[ + storageClass: typing.Literal[ "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] storageClassUpdateTime: str @typing.type_check_only -class BlobStorageSettings(typing_extensions.TypedDict, total=False): - blobStorageClass: typing_extensions.Literal[ +class BlobStorageSettings(typing.TypedDict, total=False): + blobStorageClass: typing.Literal[ "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] @typing.type_check_only -class BulkDeleteResourcesRequest(typing_extensions.TypedDict, total=False): +class BulkDeleteResourcesRequest(typing.TypedDict, total=False): gcsDestination: GoogleCloudHealthcareV1beta1FhirGcsDestination type: str until: str validateOnly: bool - versionConfig: typing_extensions.Literal[ + versionConfig: typing.Literal[ "VERSION_CONFIG_UNSPECIFIED", "ALL", "CURRENT_ONLY", "HISTORY_ONLY" ] @typing.type_check_only -class BulkExportGcsDestination(typing_extensions.TypedDict, total=False): +class BulkExportGcsDestination(typing.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CharacterMaskConfig(typing_extensions.TypedDict, total=False): +class CharacterMaskConfig(typing.TypedDict, total=False): maskingCharacter: str @typing.type_check_only -class CharacterMaskField(typing_extensions.TypedDict, total=False): ... +class CharacterMaskField(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckDataAccessRequest(typing_extensions.TypedDict, total=False): +class CheckDataAccessRequest(typing.TypedDict, total=False): consentList: ConsentList dataId: str requestAttributes: dict[str, typing.Any] - responseView: typing_extensions.Literal[ - "RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + responseView: typing.Literal["RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL"] @typing.type_check_only -class CheckDataAccessResponse(typing_extensions.TypedDict, total=False): +class CheckDataAccessResponse(typing.TypedDict, total=False): consentDetails: dict[str, typing.Any] consented: bool @typing.type_check_only -class CleanDescriptorsOption(typing_extensions.TypedDict, total=False): ... +class CleanDescriptorsOption(typing.TypedDict, total=False): ... @typing.type_check_only -class CleanTextField(typing_extensions.TypedDict, total=False): ... +class CleanTextField(typing.TypedDict, total=False): ... @typing.type_check_only -class CleanTextTag(typing_extensions.TypedDict, total=False): ... +class CleanTextTag(typing.TypedDict, total=False): ... @typing.type_check_only -class ConfigureSearchRequest(typing_extensions.TypedDict, total=False): +class ConfigureSearchRequest(typing.TypedDict, total=False): canonicalUrls: _list[str] validateOnly: bool @typing.type_check_only -class Consent(typing_extensions.TypedDict, total=False): +class Consent(typing.TypedDict, total=False): consentArtifact: str expireTime: str metadata: dict[str, typing.Any] @@ -197,20 +189,20 @@ class Consent(typing_extensions.TypedDict, total=False): policies: _list[GoogleCloudHealthcareV1beta1ConsentPolicy] revisionCreateTime: str revisionId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "REVOKED", "DRAFT", "REJECTED" ] ttl: str userId: str @typing.type_check_only -class ConsentAccessorScope(typing_extensions.TypedDict, total=False): +class ConsentAccessorScope(typing.TypedDict, total=False): actor: str environment: str purpose: str @typing.type_check_only -class ConsentArtifact(typing_extensions.TypedDict, total=False): +class ConsentArtifact(typing.TypedDict, total=False): consentContentScreenshots: _list[Image] consentContentVersion: str guardianSignature: Signature @@ -221,21 +213,21 @@ class ConsentArtifact(typing_extensions.TypedDict, total=False): witnessSignature: Signature @typing.type_check_only -class ConsentConfig(typing_extensions.TypedDict, total=False): +class ConsentConfig(typing.TypedDict, total=False): accessDeterminationLogConfig: AccessDeterminationLogConfig accessEnforced: bool consentHeaderHandling: ConsentHeaderHandling enforcedAdminConsents: _list[str] - version: typing_extensions.Literal["CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED", "V1"] + version: typing.Literal["CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED", "V1"] @typing.type_check_only -class ConsentErrors(typing_extensions.TypedDict, total=False): +class ConsentErrors(typing.TypedDict, total=False): error: Status name: str @typing.type_check_only -class ConsentEvaluation(typing_extensions.TypedDict, total=False): - evaluationResult: typing_extensions.Literal[ +class ConsentEvaluation(typing.TypedDict, total=False): + evaluationResult: typing.Literal[ "EVALUATION_RESULT_UNSPECIFIED", "NOT_APPLICABLE", "NO_MATCHING_POLICY", @@ -244,44 +236,44 @@ class ConsentEvaluation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConsentHeaderHandling(typing_extensions.TypedDict, total=False): - profile: typing_extensions.Literal[ +class ConsentHeaderHandling(typing.TypedDict, total=False): + profile: typing.Literal[ "SCOPE_PROFILE_UNSPECIFIED", "PERMIT_EMPTY_SCOPE", "REQUIRED_ON_READ" ] @typing.type_check_only -class ConsentList(typing_extensions.TypedDict, total=False): +class ConsentList(typing.TypedDict, total=False): consents: _list[str] @typing.type_check_only -class ConsentStore(typing_extensions.TypedDict, total=False): +class ConsentStore(typing.TypedDict, total=False): defaultConsentTtl: str enableConsentCreateOnUpdate: bool labels: dict[str, typing.Any] name: str @typing.type_check_only -class ContextualDeidConfig(typing_extensions.TypedDict, total=False): ... +class ContextualDeidConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateMessageRequest(typing_extensions.TypedDict, total=False): +class CreateMessageRequest(typing.TypedDict, total=False): message: Message @typing.type_check_only -class CryptoHashConfig(typing_extensions.TypedDict, total=False): +class CryptoHashConfig(typing.TypedDict, total=False): cryptoKey: str kmsWrapped: KmsWrappedCryptoKey @typing.type_check_only -class CryptoHashField(typing_extensions.TypedDict, total=False): ... +class CryptoHashField(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomRegex(typing_extensions.TypedDict, total=False): +class CustomRegex(typing.TypedDict, total=False): groupIndexes: _list[int] pattern: str @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): encryptionSpec: EncryptionSpec name: str satisfiesPzi: bool @@ -289,20 +281,20 @@ class Dataset(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class DateShiftConfig(typing_extensions.TypedDict, total=False): +class DateShiftConfig(typing.TypedDict, total=False): cryptoKey: str kmsWrapped: KmsWrappedCryptoKey @typing.type_check_only -class DateShiftField(typing_extensions.TypedDict, total=False): ... +class DateShiftField(typing.TypedDict, total=False): ... @typing.type_check_only -class DeidentifiedStoreDestination(typing_extensions.TypedDict, total=False): +class DeidentifiedStoreDestination(typing.TypedDict, total=False): config: DeidentifyConfig store: str @typing.type_check_only -class DeidentifyConfig(typing_extensions.TypedDict, total=False): +class DeidentifyConfig(typing.TypedDict, total=False): dicom: DicomConfig dicomTagConfig: DicomTagConfig fhir: FhirConfig @@ -313,20 +305,20 @@ class DeidentifyConfig(typing_extensions.TypedDict, total=False): useRegionalDataProcessing: bool @typing.type_check_only -class DeidentifyDatasetRequest(typing_extensions.TypedDict, total=False): +class DeidentifyDatasetRequest(typing.TypedDict, total=False): config: DeidentifyConfig destinationDataset: str gcsConfigUri: str @typing.type_check_only -class DeidentifyDicomStoreRequest(typing_extensions.TypedDict, total=False): +class DeidentifyDicomStoreRequest(typing.TypedDict, total=False): config: DeidentifyConfig destinationStore: str filterConfig: DicomFilterConfig gcsConfigUri: str @typing.type_check_only -class DeidentifyFhirStoreRequest(typing_extensions.TypedDict, total=False): +class DeidentifyFhirStoreRequest(typing.TypedDict, total=False): config: DeidentifyConfig destinationStore: str gcsConfigUri: str @@ -334,18 +326,18 @@ class DeidentifyFhirStoreRequest(typing_extensions.TypedDict, total=False): skipModifiedResources: bool @typing.type_check_only -class DeidentifyOperationMetadata(typing_extensions.TypedDict, total=False): +class DeidentifyOperationMetadata(typing.TypedDict, total=False): fhirOutput: FhirOutput @typing.type_check_only -class DeidentifySummary(typing_extensions.TypedDict, total=False): ... +class DeidentifySummary(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteTag(typing_extensions.TypedDict, total=False): ... +class DeleteTag(typing.TypedDict, total=False): ... @typing.type_check_only -class DicomConfig(typing_extensions.TypedDict, total=False): - filterProfile: typing_extensions.Literal[ +class DicomConfig(typing.TypedDict, total=False): + filterProfile: typing.Literal[ "TAG_FILTER_PROFILE_UNSPECIFIED", "MINIMAL_KEEP_LIST_PROFILE", "ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE", @@ -357,15 +349,15 @@ class DicomConfig(typing_extensions.TypedDict, total=False): skipIdRedaction: bool @typing.type_check_only -class DicomFilterConfig(typing_extensions.TypedDict, total=False): +class DicomFilterConfig(typing.TypedDict, total=False): resourcePathsGcsUri: str @typing.type_check_only -class DicomNotificationConfig(typing_extensions.TypedDict, total=False): +class DicomNotificationConfig(typing.TypedDict, total=False): pubsubTopic: str @typing.type_check_only -class DicomStore(typing_extensions.TypedDict, total=False): +class DicomStore(typing.TypedDict, total=False): labels: dict[str, typing.Any] name: str notificationConfig: NotificationConfig @@ -373,7 +365,7 @@ class DicomStore(typing_extensions.TypedDict, total=False): streamConfigs: _list[GoogleCloudHealthcareV1beta1DicomStreamConfig] @typing.type_check_only -class DicomStoreMetrics(typing_extensions.TypedDict, total=False): +class DicomStoreMetrics(typing.TypedDict, total=False): blobStorageSizeBytes: str instanceCount: str name: str @@ -382,10 +374,10 @@ class DicomStoreMetrics(typing_extensions.TypedDict, total=False): studyCount: str @typing.type_check_only -class DicomTagConfig(typing_extensions.TypedDict, total=False): +class DicomTagConfig(typing.TypedDict, total=False): actions: _list[Action] options: Options - profileType: typing_extensions.Literal[ + profileType: typing.Literal[ "PROFILE_TYPE_UNSPECIFIED", "MINIMAL_KEEP_LIST_PROFILE", "ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE", @@ -394,20 +386,20 @@ class DicomTagConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionSpec(typing_extensions.TypedDict, total=False): +class EncryptionSpec(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): entityId: str preferredTerm: str vocabularyCodes: _list[str] @typing.type_check_only -class EntityMention(typing_extensions.TypedDict, total=False): +class EntityMention(typing.TypedDict, total=False): additionalInfo: _list[Feature] certaintyAssessment: Feature confidence: float @@ -419,42 +411,40 @@ class EntityMention(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class EntityMentionRelationship(typing_extensions.TypedDict, total=False): +class EntityMentionRelationship(typing.TypedDict, total=False): confidence: float objectId: str subjectId: str @typing.type_check_only -class EvaluateUserConsentsRequest(typing_extensions.TypedDict, total=False): +class EvaluateUserConsentsRequest(typing.TypedDict, total=False): consentList: ConsentList pageSize: int pageToken: str requestAttributes: dict[str, typing.Any] resourceAttributes: dict[str, typing.Any] - responseView: typing_extensions.Literal[ - "RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + responseView: typing.Literal["RESPONSE_VIEW_UNSPECIFIED", "BASIC", "FULL"] userId: str @typing.type_check_only -class EvaluateUserConsentsResponse(typing_extensions.TypedDict, total=False): +class EvaluateUserConsentsResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[Result] @typing.type_check_only -class ExplainDataAccessConsentInfo(typing_extensions.TypedDict, total=False): +class ExplainDataAccessConsentInfo(typing.TypedDict, total=False): cascadeOrigins: _list[str] consentResource: str enforcementTime: str matchingAccessorScopes: _list[ConsentAccessorScope] patientConsentOwner: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CONSENT_POLICY_TYPE_UNSPECIFIED", "CONSENT_POLICY_TYPE_PATIENT", "CONSENT_POLICY_TYPE_ADMIN", ] variants: _list[ - typing_extensions.Literal[ + typing.Literal[ "CONSENT_VARIANT_UNSPECIFIED", "CONSENT_VARIANT_STANDARD", "CONSENT_VARIANT_CASCADE", @@ -462,9 +452,9 @@ class ExplainDataAccessConsentInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExplainDataAccessConsentScope(typing_extensions.TypedDict, total=False): +class ExplainDataAccessConsentScope(typing.TypedDict, total=False): accessorScope: ConsentAccessorScope - decision: typing_extensions.Literal[ + decision: typing.Literal[ "CONSENT_DECISION_TYPE_UNSPECIFIED", "CONSENT_DECISION_TYPE_PERMIT", "CONSENT_DECISION_TYPE_DENY", @@ -473,21 +463,21 @@ class ExplainDataAccessConsentScope(typing_extensions.TypedDict, total=False): exceptions: _list[ExplainDataAccessConsentScope] @typing.type_check_only -class ExplainDataAccessResponse(typing_extensions.TypedDict, total=False): +class ExplainDataAccessResponse(typing.TypedDict, total=False): consentScopes: _list[ExplainDataAccessConsentScope] warning: str @typing.type_check_only -class ExportDicomDataRequest(typing_extensions.TypedDict, total=False): +class ExportDicomDataRequest(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1beta1DicomBigQueryDestination filterConfig: DicomFilterConfig gcsDestination: GoogleCloudHealthcareV1beta1DicomGcsDestination @typing.type_check_only -class ExportDicomDataResponse(typing_extensions.TypedDict, total=False): ... +class ExportDicomDataResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportMessagesRequest(typing_extensions.TypedDict, total=False): +class ExportMessagesRequest(typing.TypedDict, total=False): endTime: str filter: str gcsDestination: GcsDestination @@ -495,65 +485,65 @@ class ExportMessagesRequest(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ExportMessagesResponse(typing_extensions.TypedDict, total=False): ... +class ExportMessagesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportResourcesHistoryRequest(typing_extensions.TypedDict, total=False): +class ExportResourcesHistoryRequest(typing.TypedDict, total=False): _since: str _type: str gcsDestination: GoogleCloudHealthcareV1beta1FhirGcsDestination maxResourceVersions: str @typing.type_check_only -class ExportResourcesRequest(typing_extensions.TypedDict, total=False): +class ExportResourcesRequest(typing.TypedDict, total=False): _since: str _type: str bigqueryDestination: GoogleCloudHealthcareV1beta1FhirBigQueryDestination gcsDestination: GoogleCloudHealthcareV1beta1FhirGcsDestination @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): confidence: float value: str @typing.type_check_only -class FhirConfig(typing_extensions.TypedDict, total=False): +class FhirConfig(typing.TypedDict, total=False): defaultKeepExtensions: bool fieldMetadataList: _list[FieldMetadata] @typing.type_check_only -class FhirFieldConfig(typing_extensions.TypedDict, total=False): +class FhirFieldConfig(typing.TypedDict, total=False): fieldMetadataList: _list[GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata] options: GoogleCloudHealthcareV1beta1DeidentifyOptions - profileType: typing_extensions.Literal[ + profileType: typing.Literal[ "PROFILE_TYPE_UNSPECIFIED", "KEEP_ALL", "BASIC", "CLEAN_ALL" ] @typing.type_check_only -class FhirFilter(typing_extensions.TypedDict, total=False): +class FhirFilter(typing.TypedDict, total=False): resources: Resources @typing.type_check_only -class FhirNotificationConfig(typing_extensions.TypedDict, total=False): +class FhirNotificationConfig(typing.TypedDict, total=False): pubsubTopic: str sendFullResource: bool sendPreviousResourceOnDelete: bool @typing.type_check_only -class FhirOutput(typing_extensions.TypedDict, total=False): +class FhirOutput(typing.TypedDict, total=False): fhirStore: str @typing.type_check_only -class FhirStore(typing_extensions.TypedDict, total=False): +class FhirStore(typing.TypedDict, total=False): bulkExportGcsDestination: BulkExportGcsDestination - complexDataTypeReferenceParsing: typing_extensions.Literal[ + complexDataTypeReferenceParsing: typing.Literal[ "COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED", "DISABLED", "ENABLED" ] consentConfig: ConsentConfig @@ -569,24 +559,22 @@ class FhirStore(typing_extensions.TypedDict, total=False): searchConfig: SearchConfig streamConfigs: _list[StreamConfig] validationConfig: ValidationConfig - version: typing_extensions.Literal[ - "VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4", "R5" - ] + version: typing.Literal["VERSION_UNSPECIFIED", "DSTU2", "STU3", "R4", "R5"] @typing.type_check_only -class FhirStoreMetric(typing_extensions.TypedDict, total=False): +class FhirStoreMetric(typing.TypedDict, total=False): count: str resourceType: str structuredStorageSizeBytes: str versionedStorageSizeBytes: str @typing.type_check_only -class FhirStoreMetrics(typing_extensions.TypedDict, total=False): +class FhirStoreMetrics(typing.TypedDict, total=False): metrics: _list[FhirStoreMetric] name: str @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): +class Field(typing.TypedDict, total=False): maxOccurs: int minOccurs: int name: str @@ -594,18 +582,16 @@ class Field(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class FieldMetadata(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class FieldMetadata(typing.TypedDict, total=False): + action: typing.Literal[ "ACTION_UNSPECIFIED", "TRANSFORM", "INSPECT_AND_TRANSFORM", "DO_NOT_TRANSFORM" ] paths: _list[str] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): - contentStructure: typing_extensions.Literal[ - "CONTENT_STRUCTURE_UNSPECIFIED", "MESSAGE_JSON" - ] - messageView: typing_extensions.Literal[ +class GcsDestination(typing.TypedDict, total=False): + contentStructure: typing.Literal["CONTENT_STRUCTURE_UNSPECIFIED", "MESSAGE_JSON"] + messageView: typing.Literal[ "MESSAGE_VIEW_UNSPECIFIED", "RAW_ONLY", "PARSED_ONLY", @@ -616,35 +602,31 @@ class GcsDestination(typing_extensions.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudHealthcareV1beta1ConsentGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1ConsentGcsDestination(typing.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class GoogleCloudHealthcareV1beta1ConsentPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1ConsentPolicy(typing.TypedDict, total=False): authorizationRule: Expr resourceAttributes: _list[Attribute] @typing.type_check_only class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): characterMaskField: CharacterMaskField cleanTextField: CleanTextField @@ -655,9 +637,7 @@ class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata( removeField: RemoveField @typing.type_check_only -class GoogleCloudHealthcareV1beta1DeidentifyOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1DeidentifyOptions(typing.TypedDict, total=False): characterMaskConfig: CharacterMaskConfig contextualDeid: ContextualDeidConfig cryptoHashConfig: CryptoHashConfig @@ -666,7 +646,7 @@ class GoogleCloudHealthcareV1beta1DeidentifyOptions( @typing.type_check_only class GoogleCloudHealthcareV1beta1DicomBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): changeDataCaptureConfig: GoogleCloudHealthcareV1beta1DicomChangeDataCaptureConfig force: bool @@ -674,98 +654,88 @@ class GoogleCloudHealthcareV1beta1DicomBigQueryDestination( schemaFlattened: SchemaFlattened schemaJson: SchemaJSON tableUri: str - writeDisposition: typing_extensions.Literal[ + writeDisposition: typing.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_EMPTY", "WRITE_TRUNCATE", "WRITE_APPEND" ] @typing.type_check_only class GoogleCloudHealthcareV1beta1DicomChangeDataCaptureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudHealthcareV1beta1DicomGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1DicomGcsDestination(typing.TypedDict, total=False): mimeType: str uriPrefix: str @typing.type_check_only -class GoogleCloudHealthcareV1beta1DicomGcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1DicomGcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudHealthcareV1beta1DicomStreamConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1DicomStreamConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1beta1DicomBigQueryDestination @typing.type_check_only class GoogleCloudHealthcareV1beta1FhirBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): changeDataCaptureConfig: GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig datasetUri: str force: bool schemaConfig: SchemaConfig - writeDisposition: typing_extensions.Literal[ + writeDisposition: typing.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_EMPTY", "WRITE_TRUNCATE", "WRITE_APPEND" ] @typing.type_check_only class GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - historyMode: typing_extensions.Literal[ + historyMode: typing.Literal[ "HISTORY_MODE_UNSPECIFIED", "KEEP_LATEST_VERSION", "KEEP_ALL_VERSIONS" ] @typing.type_check_only class GoogleCloudHealthcareV1beta1FhirExportResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudHealthcareV1beta1FhirGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1FhirGcsDestination(typing.TypedDict, total=False): uriPrefix: str @typing.type_check_only -class GoogleCloudHealthcareV1beta1FhirGcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudHealthcareV1beta1FhirGcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only class GoogleCloudHealthcareV1beta1FhirImportResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GroupOrSegment(typing_extensions.TypedDict, total=False): +class GroupOrSegment(typing.TypedDict, total=False): group: SchemaGroup segment: SchemaSegment @typing.type_check_only -class Hl7SchemaConfig(typing_extensions.TypedDict, total=False): +class Hl7SchemaConfig(typing.TypedDict, total=False): messageSchemaConfigs: dict[str, typing.Any] version: _list[VersionSource] @typing.type_check_only -class Hl7TypesConfig(typing_extensions.TypedDict, total=False): +class Hl7TypesConfig(typing.TypedDict, total=False): type: _list[Type] version: _list[VersionSource] @typing.type_check_only -class Hl7V2NotificationConfig(typing_extensions.TypedDict, total=False): +class Hl7V2NotificationConfig(typing.TypedDict, total=False): filter: str pubsubTopic: str @typing.type_check_only -class Hl7V2Store(typing_extensions.TypedDict, total=False): +class Hl7V2Store(typing.TypedDict, total=False): labels: dict[str, typing.Any] name: str notificationConfig: NotificationConfig @@ -774,33 +744,33 @@ class Hl7V2Store(typing_extensions.TypedDict, total=False): rejectDuplicateMessage: bool @typing.type_check_only -class Hl7V2StoreMetric(typing_extensions.TypedDict, total=False): +class Hl7V2StoreMetric(typing.TypedDict, total=False): count: str messageType: str structuredStorageSizeBytes: str @typing.type_check_only -class Hl7V2StoreMetrics(typing_extensions.TypedDict, total=False): +class Hl7V2StoreMetrics(typing.TypedDict, total=False): metrics: _list[Hl7V2StoreMetric] name: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): gcsUri: str rawBytes: str @typing.type_check_only -class ImageConfig(typing_extensions.TypedDict, total=False): +class ImageConfig(typing.TypedDict, total=False): additionalInfoTypes: _list[str] customRegexes: _list[CustomRegex] excludeInfoTypes: _list[str] - textRedactionMode: typing_extensions.Literal[ + textRedactionMode: typing.Literal[ "TEXT_REDACTION_MODE_UNSPECIFIED", "REDACT_ALL_TEXT", "REDACT_SENSITIVE_TEXT", @@ -809,23 +779,23 @@ class ImageConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ImportDicomDataRequest(typing_extensions.TypedDict, total=False): +class ImportDicomDataRequest(typing.TypedDict, total=False): blobStorageSettings: BlobStorageSettings gcsSource: GoogleCloudHealthcareV1beta1DicomGcsSource @typing.type_check_only -class ImportDicomDataResponse(typing_extensions.TypedDict, total=False): ... +class ImportDicomDataResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportMessagesRequest(typing_extensions.TypedDict, total=False): +class ImportMessagesRequest(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class ImportMessagesResponse(typing_extensions.TypedDict, total=False): ... +class ImportMessagesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportResourcesHistoryRequest(typing_extensions.TypedDict, total=False): - contentStructure: typing_extensions.Literal[ +class ImportResourcesHistoryRequest(typing.TypedDict, total=False): + contentStructure: typing.Literal[ "CONTENT_STRUCTURE_UNSPECIFIED", "BUNDLE", "RESOURCE", @@ -836,8 +806,8 @@ class ImportResourcesHistoryRequest(typing_extensions.TypedDict, total=False): maxErrorCount: str @typing.type_check_only -class ImportResourcesRequest(typing_extensions.TypedDict, total=False): - contentStructure: typing_extensions.Literal[ +class ImportResourcesRequest(typing.TypedDict, total=False): + contentStructure: typing.Literal[ "CONTENT_STRUCTURE_UNSPECIFIED", "BUNDLE", "RESOURCE", @@ -847,7 +817,7 @@ class ImportResourcesRequest(typing_extensions.TypedDict, total=False): gcsSource: GoogleCloudHealthcareV1beta1FhirGcsSource @typing.type_check_only -class InfoTypeTransformation(typing_extensions.TypedDict, total=False): +class InfoTypeTransformation(typing.TypedDict, total=False): characterMaskConfig: CharacterMaskConfig cryptoHashConfig: CryptoHashConfig dateShiftConfig: DateShiftConfig @@ -856,100 +826,100 @@ class InfoTypeTransformation(typing_extensions.TypedDict, total=False): replaceWithInfoTypeConfig: ReplaceWithInfoTypeConfig @typing.type_check_only -class IngestMessageRequest(typing_extensions.TypedDict, total=False): +class IngestMessageRequest(typing.TypedDict, total=False): message: Message @typing.type_check_only -class IngestMessageResponse(typing_extensions.TypedDict, total=False): +class IngestMessageResponse(typing.TypedDict, total=False): hl7Ack: str message: Message @typing.type_check_only -class KeepExtensionsConfig(typing_extensions.TypedDict, total=False): ... +class KeepExtensionsConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class KeepField(typing_extensions.TypedDict, total=False): ... +class KeepField(typing.TypedDict, total=False): ... @typing.type_check_only -class KeepTag(typing_extensions.TypedDict, total=False): ... +class KeepTag(typing.TypedDict, total=False): ... @typing.type_check_only -class KmsWrappedCryptoKey(typing_extensions.TypedDict, total=False): +class KmsWrappedCryptoKey(typing.TypedDict, total=False): cryptoKey: str wrappedKey: str @typing.type_check_only -class LinkedEntity(typing_extensions.TypedDict, total=False): +class LinkedEntity(typing.TypedDict, total=False): entityId: str @typing.type_check_only -class ListAttributeDefinitionsResponse(typing_extensions.TypedDict, total=False): +class ListAttributeDefinitionsResponse(typing.TypedDict, total=False): attributeDefinitions: _list[AttributeDefinition] nextPageToken: str @typing.type_check_only -class ListConsentArtifactsResponse(typing_extensions.TypedDict, total=False): +class ListConsentArtifactsResponse(typing.TypedDict, total=False): consentArtifacts: _list[ConsentArtifact] nextPageToken: str @typing.type_check_only -class ListConsentRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListConsentRevisionsResponse(typing.TypedDict, total=False): consents: _list[Consent] nextPageToken: str @typing.type_check_only -class ListConsentStoresResponse(typing_extensions.TypedDict, total=False): +class ListConsentStoresResponse(typing.TypedDict, total=False): consentStores: _list[ConsentStore] nextPageToken: str @typing.type_check_only -class ListConsentsResponse(typing_extensions.TypedDict, total=False): +class ListConsentsResponse(typing.TypedDict, total=False): consents: _list[Consent] nextPageToken: str @typing.type_check_only -class ListDatasetsResponse(typing_extensions.TypedDict, total=False): +class ListDatasetsResponse(typing.TypedDict, total=False): datasets: _list[Dataset] nextPageToken: str @typing.type_check_only -class ListDicomStoresResponse(typing_extensions.TypedDict, total=False): +class ListDicomStoresResponse(typing.TypedDict, total=False): dicomStores: _list[DicomStore] nextPageToken: str @typing.type_check_only -class ListFhirStoresResponse(typing_extensions.TypedDict, total=False): +class ListFhirStoresResponse(typing.TypedDict, total=False): fhirStores: _list[FhirStore] nextPageToken: str @typing.type_check_only -class ListHl7V2StoresResponse(typing_extensions.TypedDict, total=False): +class ListHl7V2StoresResponse(typing.TypedDict, total=False): hl7V2Stores: _list[Hl7V2Store] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMessagesResponse(typing_extensions.TypedDict, total=False): +class ListMessagesResponse(typing.TypedDict, total=False): hl7V2Messages: _list[Message] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListUserDataMappingsResponse(typing_extensions.TypedDict, total=False): +class ListUserDataMappingsResponse(typing.TypedDict, total=False): nextPageToken: str userDataMappings: _list[UserDataMapping] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -957,7 +927,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): createTime: str data: str labels: dict[str, typing.Any] @@ -970,12 +940,12 @@ class Message(typing_extensions.TypedDict, total=False): sendTime: str @typing.type_check_only -class NotificationConfig(typing_extensions.TypedDict, total=False): +class NotificationConfig(typing.TypedDict, total=False): pubsubTopic: str sendForBulkImport: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -983,7 +953,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiMethodName: str cancelRequested: bool counter: ProgressCounter @@ -992,42 +962,40 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): logsUrl: str @typing.type_check_only -class Options(typing_extensions.TypedDict, total=False): +class Options(typing.TypedDict, total=False): cleanDescriptors: CleanDescriptorsOption cleanImage: ImageConfig - primaryIds: typing_extensions.Literal[ - "PRIMARY_IDS_OPTION_UNSPECIFIED", "KEEP", "REGEN" - ] + primaryIds: typing.Literal["PRIMARY_IDS_OPTION_UNSPECIFIED", "KEEP", "REGEN"] @typing.type_check_only -class ParsedData(typing_extensions.TypedDict, total=False): +class ParsedData(typing.TypedDict, total=False): segments: _list[Segment] @typing.type_check_only -class ParserConfig(typing_extensions.TypedDict, total=False): +class ParserConfig(typing.TypedDict, total=False): allowNullHeader: bool schema: SchemaPackage segmentTerminator: str - version: typing_extensions.Literal["PARSER_VERSION_UNSPECIFIED", "V1", "V2", "V3"] + version: typing.Literal["PARSER_VERSION_UNSPECIFIED", "V1", "V2", "V3"] @typing.type_check_only -class PatientId(typing_extensions.TypedDict, total=False): +class PatientId(typing.TypedDict, total=False): type: str value: str @typing.type_check_only -class PatientScope(typing_extensions.TypedDict, total=False): +class PatientScope(typing.TypedDict, total=False): patientIds: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProgressCounter(typing_extensions.TypedDict, total=False): +class ProgressCounter(typing.TypedDict, total=False): failure: str pending: str secondaryFailure: str @@ -1035,66 +1003,66 @@ class ProgressCounter(typing_extensions.TypedDict, total=False): success: str @typing.type_check_only -class PubsubDestination(typing_extensions.TypedDict, total=False): +class PubsubDestination(typing.TypedDict, total=False): pubsubTopic: str @typing.type_check_only -class QueryAccessibleDataRequest(typing_extensions.TypedDict, total=False): +class QueryAccessibleDataRequest(typing.TypedDict, total=False): gcsDestination: GoogleCloudHealthcareV1beta1ConsentGcsDestination requestAttributes: dict[str, typing.Any] resourceAttributes: dict[str, typing.Any] @typing.type_check_only -class QueryAccessibleDataResponse(typing_extensions.TypedDict, total=False): +class QueryAccessibleDataResponse(typing.TypedDict, total=False): gcsUris: _list[str] @typing.type_check_only -class RecurseTag(typing_extensions.TypedDict, total=False): ... +class RecurseTag(typing.TypedDict, total=False): ... @typing.type_check_only -class RedactConfig(typing_extensions.TypedDict, total=False): ... +class RedactConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class RegenUidTag(typing_extensions.TypedDict, total=False): ... +class RegenUidTag(typing.TypedDict, total=False): ... @typing.type_check_only -class RejectConsentRequest(typing_extensions.TypedDict, total=False): +class RejectConsentRequest(typing.TypedDict, total=False): consentArtifact: str @typing.type_check_only -class RemoveField(typing_extensions.TypedDict, total=False): ... +class RemoveField(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveTag(typing_extensions.TypedDict, total=False): ... +class RemoveTag(typing.TypedDict, total=False): ... @typing.type_check_only -class ReplaceWithInfoTypeConfig(typing_extensions.TypedDict, total=False): ... +class ReplaceWithInfoTypeConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class ResetTag(typing_extensions.TypedDict, total=False): ... +class ResetTag(typing.TypedDict, total=False): ... @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): resources: _list[str] @typing.type_check_only -class Result(typing_extensions.TypedDict, total=False): +class Result(typing.TypedDict, total=False): consentDetails: dict[str, typing.Any] consented: bool dataId: str @typing.type_check_only -class RevokeConsentRequest(typing_extensions.TypedDict, total=False): +class RevokeConsentRequest(typing.TypedDict, total=False): consentArtifact: str @typing.type_check_only -class RollbackFhirResourceFilteringFields(typing_extensions.TypedDict, total=False): +class RollbackFhirResourceFilteringFields(typing.TypedDict, total=False): metadataFilter: str operationIds: _list[str] @typing.type_check_only -class RollbackFhirResourcesRequest(typing_extensions.TypedDict, total=False): - changeType: typing_extensions.Literal[ +class RollbackFhirResourcesRequest(typing.TypedDict, total=False): + changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "ALL", "CREATE", "UPDATE", "DELETE" ] excludeRollbacks: bool @@ -1106,16 +1074,16 @@ class RollbackFhirResourcesRequest(typing_extensions.TypedDict, total=False): type: _list[str] @typing.type_check_only -class RollbackFhirResourcesResponse(typing_extensions.TypedDict, total=False): +class RollbackFhirResourcesResponse(typing.TypedDict, total=False): fhirStore: str @typing.type_check_only -class RollbackHL7MessagesFilteringFields(typing_extensions.TypedDict, total=False): +class RollbackHL7MessagesFilteringFields(typing.TypedDict, total=False): operationIds: _list[str] @typing.type_check_only -class RollbackHl7V2MessagesRequest(typing_extensions.TypedDict, total=False): - changeType: typing_extensions.Literal[ +class RollbackHl7V2MessagesRequest(typing.TypedDict, total=False): + changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "ALL", "CREATE", "UPDATE", "DELETE" ] excludeRollbacks: bool @@ -1126,22 +1094,22 @@ class RollbackHl7V2MessagesRequest(typing_extensions.TypedDict, total=False): rollbackTime: str @typing.type_check_only -class RollbackHl7V2MessagesResponse(typing_extensions.TypedDict, total=False): +class RollbackHl7V2MessagesResponse(typing.TypedDict, total=False): hl7v2Store: str @typing.type_check_only -class SchemaConfig(typing_extensions.TypedDict, total=False): +class SchemaConfig(typing.TypedDict, total=False): lastUpdatedPartitionConfig: TimePartitioning recursiveStructureDepth: str - schemaType: typing_extensions.Literal[ + schemaType: typing.Literal[ "SCHEMA_TYPE_UNSPECIFIED", "LOSSLESS", "ANALYTICS", "ANALYTICS_V2" ] @typing.type_check_only -class SchemaFlattened(typing_extensions.TypedDict, total=False): ... +class SchemaFlattened(typing.TypedDict, total=False): ... @typing.type_check_only -class SchemaGroup(typing_extensions.TypedDict, total=False): +class SchemaGroup(typing.TypedDict, total=False): choice: bool maxOccurs: int members: _list[GroupOrSegment] @@ -1149,97 +1117,97 @@ class SchemaGroup(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SchemaJSON(typing_extensions.TypedDict, total=False): ... +class SchemaJSON(typing.TypedDict, total=False): ... @typing.type_check_only -class SchemaPackage(typing_extensions.TypedDict, total=False): +class SchemaPackage(typing.TypedDict, total=False): ignoreMinOccurs: bool schemas: _list[Hl7SchemaConfig] - schematizedParsingType: typing_extensions.Literal[ + schematizedParsingType: typing.Literal[ "SCHEMATIZED_PARSING_TYPE_UNSPECIFIED", "SOFT_FAIL", "HARD_FAIL" ] types: _list[Hl7TypesConfig] - unexpectedSegmentHandling: typing_extensions.Literal[ + unexpectedSegmentHandling: typing.Literal[ "UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED", "FAIL", "SKIP", "PARSE" ] @typing.type_check_only -class SchemaSegment(typing_extensions.TypedDict, total=False): +class SchemaSegment(typing.TypedDict, total=False): maxOccurs: int minOccurs: int type: str @typing.type_check_only -class SchematizedData(typing_extensions.TypedDict, total=False): +class SchematizedData(typing.TypedDict, total=False): data: str error: str @typing.type_check_only -class SearchConfig(typing_extensions.TypedDict, total=False): +class SearchConfig(typing.TypedDict, total=False): searchParameters: _list[SearchParameter] @typing.type_check_only -class SearchParameter(typing_extensions.TypedDict, total=False): +class SearchParameter(typing.TypedDict, total=False): canonicalUrl: str parameter: str @typing.type_check_only -class Segment(typing_extensions.TypedDict, total=False): +class Segment(typing.TypedDict, total=False): fields: dict[str, typing.Any] segmentId: str setId: str @typing.type_check_only -class SeriesMetrics(typing_extensions.TypedDict, total=False): +class SeriesMetrics(typing.TypedDict, total=False): blobStorageSizeBytes: str instanceCount: str series: str structuredStorageSizeBytes: str @typing.type_check_only -class SetBlobStorageSettingsRequest(typing_extensions.TypedDict, total=False): +class SetBlobStorageSettingsRequest(typing.TypedDict, total=False): blobStorageSettings: BlobStorageSettings filterConfig: DicomFilterConfig @typing.type_check_only -class SetBlobStorageSettingsResponse(typing_extensions.TypedDict, total=False): ... +class SetBlobStorageSettingsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): image: Image metadata: dict[str, typing.Any] signatureTime: str userId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageInfo(typing_extensions.TypedDict, total=False): +class StorageInfo(typing.TypedDict, total=False): blobStorageInfo: BlobStorageInfo referencedResource: str structuredStorageInfo: StructuredStorageInfo @typing.type_check_only -class StreamConfig(typing_extensions.TypedDict, total=False): +class StreamConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudHealthcareV1beta1FhirBigQueryDestination deidentifiedStoreDestination: DeidentifiedStoreDestination resourceTypes: _list[str] @typing.type_check_only -class StructuredStorageInfo(typing_extensions.TypedDict, total=False): +class StructuredStorageInfo(typing.TypedDict, total=False): sizeBytes: str @typing.type_check_only -class StudyMetrics(typing_extensions.TypedDict, total=False): +class StudyMetrics(typing.TypedDict, total=False): blobStorageSizeBytes: str instanceCount: str seriesCount: str @@ -1247,57 +1215,55 @@ class StudyMetrics(typing_extensions.TypedDict, total=False): study: str @typing.type_check_only -class TagFilterList(typing_extensions.TypedDict, total=False): +class TagFilterList(typing.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TextConfig(typing_extensions.TypedDict, total=False): +class TextConfig(typing.TypedDict, total=False): additionalTransformations: _list[InfoTypeTransformation] excludeInfoTypes: _list[str] - profileType: typing_extensions.Literal["PROFILE_TYPE_UNSPECIFIED", "EMPTY", "BASIC"] + profileType: typing.Literal["PROFILE_TYPE_UNSPECIFIED", "EMPTY", "BASIC"] transformations: _list[InfoTypeTransformation] @typing.type_check_only -class TextSpan(typing_extensions.TypedDict, total=False): +class TextSpan(typing.TypedDict, total=False): beginOffset: int content: str @typing.type_check_only -class TimePartitioning(typing_extensions.TypedDict, total=False): +class TimePartitioning(typing.TypedDict, total=False): expirationMs: str - type: typing_extensions.Literal[ - "PARTITION_TYPE_UNSPECIFIED", "HOUR", "DAY", "MONTH", "YEAR" - ] + type: typing.Literal["PARTITION_TYPE_UNSPECIFIED", "HOUR", "DAY", "MONTH", "YEAR"] @typing.type_check_only -class TimeRange(typing_extensions.TypedDict, total=False): +class TimeRange(typing.TypedDict, total=False): end: str start: str @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): fields: _list[Field] name: str - primitive: typing_extensions.Literal[ + primitive: typing.Literal[ "PRIMITIVE_UNSPECIFIED", "STRING", "VARIES", "UNESCAPED_STRING" ] @typing.type_check_only -class UpdateSeriesMetadataResponse(typing_extensions.TypedDict, total=False): ... +class UpdateSeriesMetadataResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateStudyMetadataResponse(typing_extensions.TypedDict, total=False): ... +class UpdateStudyMetadataResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class UserDataMapping(typing_extensions.TypedDict, total=False): +class UserDataMapping(typing.TypedDict, total=False): archiveTime: str archived: bool dataId: str @@ -1306,7 +1272,7 @@ class UserDataMapping(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class ValidationConfig(typing_extensions.TypedDict, total=False): +class ValidationConfig(typing.TypedDict, total=False): disableFhirpathValidation: bool disableProfileValidation: bool disableReferenceTypeValidation: bool @@ -1315,6 +1281,6 @@ class ValidationConfig(typing_extensions.TypedDict, total=False): enabledImplementationGuides: _list[str] @typing.type_check_only -class VersionSource(typing_extensions.TypedDict, total=False): +class VersionSource(typing.TypedDict, total=False): mshField: str value: str diff --git a/googleapiclient-stubs/_apis/homegraph/v1/resources.pyi b/googleapiclient-stubs/_apis/homegraph/v1/resources.pyi index 0abc09a71..0115c624a 100644 --- a/googleapiclient-stubs/_apis/homegraph/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/homegraph/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/homegraph/v1/schemas.pyi b/googleapiclient-stubs/_apis/homegraph/v1/schemas.pyi index e9107db4d..c5e076512 100644 --- a/googleapiclient-stubs/_apis/homegraph/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/homegraph/v1/schemas.pyi @@ -1,32 +1,39 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AgentDeviceId(typing_extensions.TypedDict, total=False): +class AgentDeviceId(typing.TypedDict, total=False): id: str @typing.type_check_only -class AgentOtherDeviceId(typing_extensions.TypedDict, total=False): +class AgentOtherDeviceId(typing.TypedDict, total=False): agentId: str deviceId: str @typing.type_check_only -class Component(typing_extensions.TypedDict, total=False): +class CameraEventStreamTrait(typing.TypedDict, total=False): ... + +@typing.type_check_only +class CommonEventDataStruct(typing.TypedDict, total=False): + mediaUrls: MediaUrlsStruct + sessionId: str + trackId: str + +@typing.type_check_only +class Component(typing.TypedDict, total=False): childComponents: _list[Component] deviceTypes: _list[str] id: str traitData: _list[TraitData] @typing.type_check_only -class ComponentTraitUpdates(typing_extensions.TypedDict, total=False): +class ComponentTraitUpdates(typing.TypedDict, total=False): componentId: str traitData: _list[TraitData] @typing.type_check_only -class Device(typing_extensions.TypedDict, total=False): +class Device(typing.TypedDict, total=False): attributes: dict[str, typing.Any] customData: dict[str, typing.Any] deviceInfo: DeviceInfo @@ -41,54 +48,113 @@ class Device(typing_extensions.TypedDict, total=False): willReportState: bool @typing.type_check_only -class DeviceInfo(typing_extensions.TypedDict, total=False): +class DeviceBlameStruct(typing.TypedDict, total=False): + blameType: typing.Literal[ + "DEVICE_BLAME_TYPE_ENUM_UNSPECIFIED", + "LOCK", + "UNLOCK", + "MOTION_DETECTION", + "TOUCH_INTERACTION", + "VOICE_INTERACTION", + ] + +@typing.type_check_only +class DeviceInfo(typing.TypedDict, total=False): hwVersion: str manufacturer: str model: str swVersion: str @typing.type_check_only -class DeviceMetadata(typing_extensions.TypedDict, total=False): +class DeviceMetadata(typing.TypedDict, total=False): traitCommitTimestamps: dict[str, typing.Any] @typing.type_check_only -class DeviceNames(typing_extensions.TypedDict, total=False): +class DeviceNames(typing.TypedDict, total=False): defaultNames: _list[str] name: str nicknames: _list[str] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EventData(typing_extensions.TypedDict, total=False): +class EveUtilityTrait(typing.TypedDict, total=False): + acceptedCommandList: _list[typing.Literal["COMMANDS_UNSPECIFIED"]] + accumulatedControlPoint: str + airPressure: float + altitude: float + childLock: bool + current: float + getConfig: str + holdPosition: bool + lastEventTime: str + loggingControlPoint: str + loggingData: str + loggingMetadata: str + loggingTime: str + motionSensitivity: int + obstructionDetected: bool + openCount: str + rloc16: int + setConfig: str + statusFault: int + voltage: float + watt: float + wattAccumulated: float + weatherTrend: int + +@typing.type_check_only +class EventData(typing.TypedDict, total=False): event: dict[str, typing.Any] eventId: str eventTime: str @typing.type_check_only -class Events(typing_extensions.TypedDict, total=False): +class Events(typing.TypedDict, total=False): componentId: str events: _list[EventData] @typing.type_check_only -class HomeEvents(typing_extensions.TypedDict, total=False): +class HomeEvents(typing.TypedDict, total=False): deviceId: str events: _list[Events] @typing.type_check_only -class HomeTraitPayload(typing_extensions.TypedDict, total=False): +class HomeTraitPayload(typing.TypedDict, total=False): rootComponent: Component @typing.type_check_only -class HomeTraitUpdates(typing_extensions.TypedDict, total=False): +class HomeTraitUpdates(typing.TypedDict, total=False): components: _list[ComponentTraitUpdates] deviceId: str @typing.type_check_only -class QueryRequest(typing_extensions.TypedDict, total=False): +class MediaUrlsStruct(typing.TypedDict, total=False): + dashManifestUrl: str + hlsMasterPlaylistUrl: str + previewUrl: str + thumbnailUrl: str + +@typing.type_check_only +class MotionEvent(typing.TypedDict, total=False): + commonEventData: CommonEventDataStruct + zones: _list[ZoneStruct] + zonesIsEmpty: bool + +@typing.type_check_only +class PartnerPresenceSignalTrait(typing.TypedDict, total=False): ... + +@typing.type_check_only +class PersonEvent(typing.TypedDict, total=False): + commonEventData: CommonEventDataStruct + zones: _list[ZoneStruct] + zonesIsEmpty: bool + +@typing.type_check_only +class QueryRequest(typing.TypedDict, total=False): agentUserId: str - deviceView: typing_extensions.Literal[ + deviceView: typing.Literal[ "DEVICE_VIEW_UNSPECIFIED", "SMART_HOME_TRAIT_ONLY", "HOME_TRAIT_ONLY", @@ -99,33 +165,33 @@ class QueryRequest(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class QueryRequestInput(typing_extensions.TypedDict, total=False): +class QueryRequestInput(typing.TypedDict, total=False): payload: QueryRequestPayload @typing.type_check_only -class QueryRequestPayload(typing_extensions.TypedDict, total=False): +class QueryRequestPayload(typing.TypedDict, total=False): devices: _list[AgentDeviceId] @typing.type_check_only -class QueryResponse(typing_extensions.TypedDict, total=False): +class QueryResponse(typing.TypedDict, total=False): payload: QueryResponsePayload requestId: str @typing.type_check_only -class QueryResponsePayload(typing_extensions.TypedDict, total=False): +class QueryResponsePayload(typing.TypedDict, total=False): deviceMetadata: dict[str, typing.Any] devices: dict[str, typing.Any] homeTraitPayload: dict[str, typing.Any] @typing.type_check_only -class ReportStateAndNotificationDevice(typing_extensions.TypedDict, total=False): +class ReportStateAndNotificationDevice(typing.TypedDict, total=False): homeEvents: _list[HomeEvents] homeTraits: _list[HomeTraitUpdates] notifications: dict[str, typing.Any] states: dict[str, typing.Any] @typing.type_check_only -class ReportStateAndNotificationRequest(typing_extensions.TypedDict, total=False): +class ReportStateAndNotificationRequest(typing.TypedDict, total=False): agentUserId: str eventId: str followUpToken: str @@ -133,10 +199,11 @@ class ReportStateAndNotificationRequest(typing_extensions.TypedDict, total=False requestId: str @typing.type_check_only -class ReportStateAndNotificationResponse(typing_extensions.TypedDict, total=False): +class ReportStateAndNotificationResponse(typing.TypedDict, total=False): + deviceResults: dict[str, typing.Any] requestId: str -AlternativeRequestSyncDevicesRequest = typing_extensions.TypedDict( +AlternativeRequestSyncDevicesRequest = typing.TypedDict( "AlternativeRequestSyncDevicesRequest", { "agentUserId": str, @@ -149,28 +216,70 @@ AlternativeRequestSyncDevicesRequest = typing_extensions.TypedDict( class RequestSyncDevicesRequest(AlternativeRequestSyncDevicesRequest): ... @typing.type_check_only -class RequestSyncDevicesResponse(typing_extensions.TypedDict, total=False): ... +class RequestSyncDevicesResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class Result(typing.TypedDict, total=False): + homeTraitCommitTime: str @typing.type_check_only -class StateAndNotificationPayload(typing_extensions.TypedDict, total=False): +class StateAndNotificationPayload(typing.TypedDict, total=False): devices: ReportStateAndNotificationDevice @typing.type_check_only -class SyncRequest(typing_extensions.TypedDict, total=False): +class StructurePresenceStateChangeEvent(typing.TypedDict, total=False): + presenceState: typing.Literal[ + "STRUCTURE_PRESENCE_STATE_ENUM_UNSPECIFIED", "HOME", "AWAY" + ] + reason: StructurePresenceStateChangeReasonStruct + +@typing.type_check_only +class StructurePresenceStateChangeReasonStruct(typing.TypedDict, total=False): + deviceBlame: DeviceBlameStruct + userBlame: UserBlameStruct + +@typing.type_check_only +class SyncRequest(typing.TypedDict, total=False): agentUserId: str requestId: str @typing.type_check_only -class SyncResponse(typing_extensions.TypedDict, total=False): +class SyncResponse(typing.TypedDict, total=False): payload: SyncResponsePayload requestId: str @typing.type_check_only -class SyncResponsePayload(typing_extensions.TypedDict, total=False): +class SyncResponsePayload(typing.TypedDict, total=False): agentUserId: str devices: _list[Device] @typing.type_check_only -class TraitData(typing_extensions.TypedDict, total=False): +class ThermostatFanControlTrait(typing.TypedDict, total=False): + timerDuration: str + timerEnd: str + timerSpeed: typing.Literal[ + "FAN_SPEED_SETTING_ENUM_UNSPECIFIED", + "FAN_SPEED_SETTING_OFF", + "FAN_SPEED_SETTING_STAGE1", + "FAN_SPEED_SETTING_STAGE2", + "FAN_SPEED_SETTING_STAGE3", + "FAN_SPEED_SETTING_AUTO", + ] + +@typing.type_check_only +class TraitData(typing.TypedDict, total=False): commitTime: str + providerVersionTime: str trait: dict[str, typing.Any] + +@typing.type_check_only +class UserBlameStruct(typing.TypedDict, total=False): + blameType: typing.Literal[ + "USER_BLAME_TYPE_ENUM_UNSPECIFIED", "PHONE_LOCATION", "MANUAL_CHANGE" + ] + userEmail: str + +@typing.type_check_only +class ZoneStruct(typing.TypedDict, total=False): + label: str + zoneId: str diff --git a/googleapiclient-stubs/_apis/hypercomputecluster/v1/resources.pyi b/googleapiclient-stubs/_apis/hypercomputecluster/v1/resources.pyi index 7379dd7f6..4230d1f97 100644 --- a/googleapiclient-stubs/_apis/hypercomputecluster/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/hypercomputecluster/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi b/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi index 4673bbf17..377152d64 100644 --- a/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BootDisk(typing_extensions.TypedDict, total=False): +class BootDisk(typing.TypedDict, total=False): sizeGb: str type: str @typing.type_check_only -class BucketReference(typing_extensions.TypedDict, total=False): +class BucketReference(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckClusterHealth(typing_extensions.TypedDict, total=False): ... +class CheckClusterHealth(typing.TypedDict, total=False): ... @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): computeResources: dict[str, typing.Any] createTime: str description: str @@ -33,151 +31,151 @@ class Cluster(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ComputeInstance(typing_extensions.TypedDict, total=False): +class ComputeInstance(typing.TypedDict, total=False): instance: str @typing.type_check_only -class ComputeInstanceSlurmNodeSet(typing_extensions.TypedDict, total=False): +class ComputeInstanceSlurmNodeSet(typing.TypedDict, total=False): bootDisk: BootDisk labels: dict[str, typing.Any] startupScript: str @typing.type_check_only -class ComputeResource(typing_extensions.TypedDict, total=False): +class ComputeResource(typing.TypedDict, total=False): config: ComputeResourceConfig @typing.type_check_only -class ComputeResourceConfig(typing_extensions.TypedDict, total=False): +class ComputeResourceConfig(typing.TypedDict, total=False): newFlexStartInstances: NewFlexStartInstancesConfig newOnDemandInstances: NewOnDemandInstancesConfig newReservedInstances: NewReservedInstancesConfig newSpotInstances: NewSpotInstancesConfig @typing.type_check_only -class CreateFilestoreInstance(typing_extensions.TypedDict, total=False): +class CreateFilestoreInstance(typing.TypedDict, total=False): filestore: str @typing.type_check_only -class CreateLoginNode(typing_extensions.TypedDict, total=False): ... +class CreateLoginNode(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateLustreInstance(typing_extensions.TypedDict, total=False): +class CreateLustreInstance(typing.TypedDict, total=False): lustre: str @typing.type_check_only -class CreateNetwork(typing_extensions.TypedDict, total=False): +class CreateNetwork(typing.TypedDict, total=False): network: str @typing.type_check_only -class CreateNodeset(typing_extensions.TypedDict, total=False): +class CreateNodeset(typing.TypedDict, total=False): nodesets: _list[str] @typing.type_check_only -class CreateOrchestrator(typing_extensions.TypedDict, total=False): ... +class CreateOrchestrator(typing.TypedDict, total=False): ... @typing.type_check_only -class CreatePartition(typing_extensions.TypedDict, total=False): +class CreatePartition(typing.TypedDict, total=False): partitions: _list[str] @typing.type_check_only -class CreatePrivateServiceAccess(typing_extensions.TypedDict, total=False): ... +class CreatePrivateServiceAccess(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateStorageBucket(typing_extensions.TypedDict, total=False): +class CreateStorageBucket(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class DeleteFilestoreInstance(typing_extensions.TypedDict, total=False): +class DeleteFilestoreInstance(typing.TypedDict, total=False): filestore: str @typing.type_check_only -class DeleteLoginNode(typing_extensions.TypedDict, total=False): ... +class DeleteLoginNode(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteLustreInstance(typing_extensions.TypedDict, total=False): +class DeleteLustreInstance(typing.TypedDict, total=False): lustre: str @typing.type_check_only -class DeleteNetwork(typing_extensions.TypedDict, total=False): +class DeleteNetwork(typing.TypedDict, total=False): network: str @typing.type_check_only -class DeleteNodeset(typing_extensions.TypedDict, total=False): +class DeleteNodeset(typing.TypedDict, total=False): nodesets: _list[str] @typing.type_check_only -class DeleteOrchestrator(typing_extensions.TypedDict, total=False): ... +class DeleteOrchestrator(typing.TypedDict, total=False): ... @typing.type_check_only -class DeletePartition(typing_extensions.TypedDict, total=False): +class DeletePartition(typing.TypedDict, total=False): partitions: _list[str] @typing.type_check_only -class DeletePrivateServiceAccess(typing_extensions.TypedDict, total=False): ... +class DeletePrivateServiceAccess(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteStorageBucket(typing_extensions.TypedDict, total=False): +class DeleteStorageBucket(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExistingBucketConfig(typing_extensions.TypedDict, total=False): +class ExistingBucketConfig(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class ExistingFilestoreConfig(typing_extensions.TypedDict, total=False): +class ExistingFilestoreConfig(typing.TypedDict, total=False): filestore: str @typing.type_check_only -class ExistingLustreConfig(typing_extensions.TypedDict, total=False): +class ExistingLustreConfig(typing.TypedDict, total=False): lustre: str @typing.type_check_only -class ExistingNetworkConfig(typing_extensions.TypedDict, total=False): +class ExistingNetworkConfig(typing.TypedDict, total=False): network: str subnetwork: str @typing.type_check_only -class FileShareConfig(typing_extensions.TypedDict, total=False): +class FileShareConfig(typing.TypedDict, total=False): capacityGb: str fileShare: str @typing.type_check_only -class FilestoreReference(typing_extensions.TypedDict, total=False): +class FilestoreReference(typing.TypedDict, total=False): filestore: str @typing.type_check_only -class GcsAutoclassConfig(typing_extensions.TypedDict, total=False): +class GcsAutoclassConfig(typing.TypedDict, total=False): enabled: bool - terminalStorageClass: typing_extensions.Literal[ + terminalStorageClass: typing.Literal[ "TERMINAL_STORAGE_CLASS_UNSPECIFIED", "NEARLINE", "ARCHIVE" ] @typing.type_check_only -class GcsHierarchicalNamespaceConfig(typing_extensions.TypedDict, total=False): +class GcsHierarchicalNamespaceConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -185,49 +183,54 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LustreReference(typing_extensions.TypedDict, total=False): +class LustreReference(typing.TypedDict, total=False): lustre: str @typing.type_check_only -class NetworkReference(typing_extensions.TypedDict, total=False): +class NetworkReference(typing.TypedDict, total=False): network: str subnetwork: str @typing.type_check_only -class NetworkResource(typing_extensions.TypedDict, total=False): +class NetworkResource(typing.TypedDict, total=False): config: NetworkResourceConfig network: NetworkReference @typing.type_check_only -class NetworkResourceConfig(typing_extensions.TypedDict, total=False): +class NetworkResourceConfig(typing.TypedDict, total=False): existingNetwork: ExistingNetworkConfig newNetwork: NewNetworkConfig @typing.type_check_only -class NewBucketConfig(typing_extensions.TypedDict, total=False): +class NewBucketConfig(typing.TypedDict, total=False): autoclass: GcsAutoclassConfig bucket: str hierarchicalNamespace: GcsHierarchicalNamespaceConfig - storageClass: typing_extensions.Literal[ - "STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" + storageClass: typing.Literal[ + "STORAGE_CLASS_UNSPECIFIED", + "STANDARD", + "NEARLINE", + "COLDLINE", + "ARCHIVE", + "RAPID", ] @typing.type_check_only -class NewFilestoreConfig(typing_extensions.TypedDict, total=False): +class NewFilestoreConfig(typing.TypedDict, total=False): description: str fileShares: _list[FileShareConfig] filestore: str - protocol: typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "NFSV3", "NFSV41"] - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "ZONAL", "REGIONAL"] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "NFSV3", "NFSV41"] + tier: typing.Literal["TIER_UNSPECIFIED", "ZONAL", "REGIONAL"] @typing.type_check_only -class NewFlexStartInstancesConfig(typing_extensions.TypedDict, total=False): +class NewFlexStartInstancesConfig(typing.TypedDict, total=False): machineType: str maxDuration: str zone: str @typing.type_check_only -class NewLustreConfig(typing_extensions.TypedDict, total=False): +class NewLustreConfig(typing.TypedDict, total=False): capacityGb: str description: str filesystem: str @@ -235,29 +238,29 @@ class NewLustreConfig(typing_extensions.TypedDict, total=False): perUnitStorageThroughput: str @typing.type_check_only -class NewNetworkConfig(typing_extensions.TypedDict, total=False): +class NewNetworkConfig(typing.TypedDict, total=False): description: str network: str @typing.type_check_only -class NewOnDemandInstancesConfig(typing_extensions.TypedDict, total=False): +class NewOnDemandInstancesConfig(typing.TypedDict, total=False): machineType: str zone: str @typing.type_check_only -class NewReservedInstancesConfig(typing_extensions.TypedDict, total=False): +class NewReservedInstancesConfig(typing.TypedDict, total=False): reservation: str @typing.type_check_only -class NewSpotInstancesConfig(typing_extensions.TypedDict, total=False): +class NewSpotInstancesConfig(typing.TypedDict, total=False): machineType: str - terminationAction: typing_extensions.Literal[ + terminationAction: typing.Literal[ "TERMINATION_ACTION_UNSPECIFIED", "STOP", "DELETE" ] zone: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -265,7 +268,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -275,11 +278,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OperationProgress(typing_extensions.TypedDict, total=False): +class OperationProgress(typing.TypedDict, total=False): steps: _list[OperationStep] @typing.type_check_only -class OperationStep(typing_extensions.TypedDict, total=False): +class OperationStep(typing.TypedDict, total=False): checkClusterHealth: CheckClusterHealth createFilestoreInstance: CreateFilestoreInstance createLoginNode: CreateLoginNode @@ -299,20 +302,18 @@ class OperationStep(typing_extensions.TypedDict, total=False): deletePartition: DeletePartition deletePrivateServiceAccess: DeletePrivateServiceAccess deleteStorageBucket: DeleteStorageBucket - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "WAITING", "IN_PROGRESS", "DONE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "WAITING", "IN_PROGRESS", "DONE"] updateLoginNode: UpdateLoginNode updateNodeset: UpdateNodeset updateOrchestrator: UpdateOrchestrator updatePartition: UpdatePartition @typing.type_check_only -class Orchestrator(typing_extensions.TypedDict, total=False): +class Orchestrator(typing.TypedDict, total=False): slurm: SlurmOrchestrator @typing.type_check_only -class SlurmLoginNodes(typing_extensions.TypedDict, total=False): +class SlurmLoginNodes(typing.TypedDict, total=False): bootDisk: BootDisk count: str enableOsLogin: bool @@ -325,7 +326,7 @@ class SlurmLoginNodes(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class SlurmNodeSet(typing_extensions.TypedDict, total=False): +class SlurmNodeSet(typing.TypedDict, total=False): computeId: str computeInstance: ComputeInstanceSlurmNodeSet id: str @@ -334,7 +335,7 @@ class SlurmNodeSet(typing_extensions.TypedDict, total=False): storageConfigs: _list[StorageConfig] @typing.type_check_only -class SlurmOrchestrator(typing_extensions.TypedDict, total=False): +class SlurmOrchestrator(typing.TypedDict, total=False): defaultPartition: str epilogBashScripts: _list[str] loginNodes: SlurmLoginNodes @@ -343,30 +344,30 @@ class SlurmOrchestrator(typing_extensions.TypedDict, total=False): prologBashScripts: _list[str] @typing.type_check_only -class SlurmPartition(typing_extensions.TypedDict, total=False): +class SlurmPartition(typing.TypedDict, total=False): id: str nodeSetIds: _list[str] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StorageConfig(typing_extensions.TypedDict, total=False): +class StorageConfig(typing.TypedDict, total=False): id: str localMount: str @typing.type_check_only -class StorageResource(typing_extensions.TypedDict, total=False): +class StorageResource(typing.TypedDict, total=False): bucket: BucketReference config: StorageResourceConfig filestore: FilestoreReference lustre: LustreReference @typing.type_check_only -class StorageResourceConfig(typing_extensions.TypedDict, total=False): +class StorageResourceConfig(typing.TypedDict, total=False): existingBucket: ExistingBucketConfig existingFilestore: ExistingFilestoreConfig existingLustre: ExistingLustreConfig @@ -375,15 +376,15 @@ class StorageResourceConfig(typing_extensions.TypedDict, total=False): newLustre: NewLustreConfig @typing.type_check_only -class UpdateLoginNode(typing_extensions.TypedDict, total=False): ... +class UpdateLoginNode(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateNodeset(typing_extensions.TypedDict, total=False): +class UpdateNodeset(typing.TypedDict, total=False): nodesets: _list[str] @typing.type_check_only -class UpdateOrchestrator(typing_extensions.TypedDict, total=False): ... +class UpdateOrchestrator(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdatePartition(typing_extensions.TypedDict, total=False): +class UpdatePartition(typing.TypedDict, total=False): partitions: _list[str] diff --git a/googleapiclient-stubs/_apis/iam/v1/resources.pyi b/googleapiclient-stubs/_apis/iam/v1/resources.pyi index c782cd1b3..f0205770d 100644 --- a/googleapiclient-stubs/_apis/iam/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -328,7 +327,7 @@ class IamResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., showDeleted: bool | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListRolesResponseHttpRequest: ... def list_next( @@ -840,7 +839,7 @@ class IamResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., showDeleted: bool | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListRolesResponseHttpRequest: ... def list_next( @@ -892,7 +891,7 @@ class IamResource(googleapiclient.discovery.Resource): self, *, name: str, - publicKeyType: typing_extensions.Literal[ + publicKeyType: typing.Literal[ "TYPE_NONE", "TYPE_X509_PEM_FILE", "TYPE_RAW_PUBLIC_KEY" ] | None = ..., @@ -902,11 +901,11 @@ class IamResource(googleapiclient.discovery.Resource): self, *, name: str, - keyTypes: typing_extensions.Literal[ + keyTypes: typing.Literal[ "KEY_TYPE_UNSPECIFIED", "USER_MANAGED", "SYSTEM_MANAGED" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "KEY_TYPE_UNSPECIFIED", "USER_MANAGED", "SYSTEM_MANAGED" ] ] @@ -1017,7 +1016,7 @@ class IamResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., parent: str | None = ..., showDeleted: bool | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListRolesResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi index a701cc696..5d0ad0ca0 100644 --- a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi @@ -1,114 +1,105 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessRestrictions(typing_extensions.TypedDict, total=False): +class AccessRestrictions(typing.TypedDict, total=False): allowedServices: _list[ServiceConfig] disableProgrammaticSignin: bool @typing.type_check_only -class AddAttestationRuleRequest(typing_extensions.TypedDict, total=False): +class AddAttestationRuleRequest(typing.TypedDict, total=False): attestationRule: AttestationRule @typing.type_check_only -class AdminAuditData(typing_extensions.TypedDict, total=False): +class AdminAuditData(typing.TypedDict, total=False): permissionDelta: PermissionDelta @typing.type_check_only -class AttestationRule(typing_extensions.TypedDict, total=False): +class AttestationRule(typing.TypedDict, total=False): googleCloudResource: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditData(typing_extensions.TypedDict, total=False): +class AuditData(typing.TypedDict, total=False): policyDelta: PolicyDelta @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuditableService(typing_extensions.TypedDict, total=False): +class AuditableService(typing.TypedDict, total=False): name: str @typing.type_check_only -class Aws(typing_extensions.TypedDict, total=False): +class Aws(typing.TypedDict, total=False): accountId: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BindingDelta(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class BindingDelta(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] condition: Expr member: str role: str @typing.type_check_only -class CreateRoleRequest(typing_extensions.TypedDict, total=False): +class CreateRoleRequest(typing.TypedDict, total=False): role: Role roleId: str @typing.type_check_only -class CreateServiceAccountKeyRequest(typing_extensions.TypedDict, total=False): - keyAlgorithm: typing_extensions.Literal[ +class CreateServiceAccountKeyRequest(typing.TypedDict, total=False): + keyAlgorithm: typing.Literal[ "KEY_ALG_UNSPECIFIED", "KEY_ALG_RSA_1024", "KEY_ALG_RSA_2048" ] - privateKeyType: typing_extensions.Literal[ + privateKeyType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PKCS12_FILE", "TYPE_GOOGLE_CREDENTIALS_FILE" ] @typing.type_check_only -class CreateServiceAccountRequest(typing_extensions.TypedDict, total=False): +class CreateServiceAccountRequest(typing.TypedDict, total=False): accountId: str serviceAccount: ServiceAccount @typing.type_check_only -class DisableServiceAccountKeyRequest(typing_extensions.TypedDict, total=False): - extendedStatusMessage: str - serviceAccountKeyDisableReason: typing_extensions.Literal[ - "SERVICE_ACCOUNT_KEY_DISABLE_REASON_UNSPECIFIED", - "SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED", - "SERVICE_ACCOUNT_KEY_DISABLE_REASON_EXPOSED", - "SERVICE_ACCOUNT_KEY_DISABLE_REASON_COMPROMISE_DETECTED", - ] +class DisableServiceAccountKeyRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableServiceAccountRequest(typing_extensions.TypedDict, total=False): ... +class DisableServiceAccountRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableServiceAccountKeyRequest(typing_extensions.TypedDict, total=False): ... +class EnableServiceAccountKeyRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableServiceAccountRequest(typing_extensions.TypedDict, total=False): ... +class EnableServiceAccountRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtendedStatus(typing_extensions.TypedDict, total=False): - key: typing_extensions.Literal[ +class ExtendedStatus(typing.TypedDict, total=False): + key: typing.Literal[ "SERVICE_ACCOUNT_KEY_EXTENDED_STATUS_KEY_UNSPECIFIED", "SERVICE_ACCOUNT_KEY_EXTENDED_STATUS_KEY_EXPOSED", "SERVICE_ACCOUNT_KEY_EXTENDED_STATUS_KEY_COMPROMISE_DETECTED", @@ -116,18 +107,18 @@ class ExtendedStatus(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributesType: typing_extensions.Literal[ + attributesType: typing.Literal[ "ATTRIBUTES_TYPE_UNSPECIFIED", "AZURE_AD_GROUPS_MAIL", "AZURE_AD_GROUPS_ID", @@ -142,14 +133,12 @@ class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client( @typing.type_check_only class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str @typing.type_check_only -class GoogleIamAdminV1WorkforcePoolProviderOidc( - typing_extensions.TypedDict, total=False -): +class GoogleIamAdminV1WorkforcePoolProviderOidc(typing.TypedDict, total=False): clientId: str clientSecret: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret issuerUri: str @@ -158,41 +147,37 @@ class GoogleIamAdminV1WorkforcePoolProviderOidc( @typing.type_check_only class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue @typing.type_check_only class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): plainText: str thumbprint: str @typing.type_check_only class GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalScopes: _list[str] - assertionClaimsBehavior: typing_extensions.Literal[ + assertionClaimsBehavior: typing.Literal[ "ASSERTION_CLAIMS_BEHAVIOR_UNSPECIFIED", "MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS", "ONLY_ID_TOKEN_CLAIMS", ] - responseType: typing_extensions.Literal[ - "RESPONSE_TYPE_UNSPECIFIED", "CODE", "ID_TOKEN" - ] + responseType: typing.Literal["RESPONSE_TYPE_UNSPECIFIED", "CODE", "ID_TOKEN"] @typing.type_check_only -class GoogleIamAdminV1WorkforcePoolProviderSaml( - typing_extensions.TypedDict, total=False -): +class GoogleIamAdminV1WorkforcePoolProviderSaml(typing.TypedDict, total=False): idpMetadataXml: str @typing.type_check_only -class InlineCertificateIssuanceConfig(typing_extensions.TypedDict, total=False): +class InlineCertificateIssuanceConfig(typing.TypedDict, total=False): caPools: dict[str, typing.Any] - keyAlgorithm: typing_extensions.Literal[ + keyAlgorithm: typing.Literal[ "KEY_ALGORITHM_UNSPECIFIED", "RSA_2048", "RSA_3072", @@ -205,144 +190,130 @@ class InlineCertificateIssuanceConfig(typing_extensions.TypedDict, total=False): useDefaultSharedCa: bool @typing.type_check_only -class InlineTrustConfig(typing_extensions.TypedDict, total=False): +class InlineTrustConfig(typing.TypedDict, total=False): additionalTrustBundles: dict[str, typing.Any] @typing.type_check_only -class IntermediateCA(typing_extensions.TypedDict, total=False): +class IntermediateCA(typing.TypedDict, total=False): pemCertificate: str @typing.type_check_only -class KeyData(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal["KEY_FORMAT_UNSPECIFIED", "RSA_X509_PEM"] +class KeyData(typing.TypedDict, total=False): + format: typing.Literal["KEY_FORMAT_UNSPECIFIED", "RSA_X509_PEM"] key: str - keySpec: typing_extensions.Literal[ - "KEY_SPEC_UNSPECIFIED", "RSA_2048", "RSA_3072", "RSA_4096" - ] + keySpec: typing.Literal["KEY_SPEC_UNSPECIFIED", "RSA_2048", "RSA_3072", "RSA_4096"] notAfterTime: str notBeforeTime: str @typing.type_check_only -class LintPolicyRequest(typing_extensions.TypedDict, total=False): +class LintPolicyRequest(typing.TypedDict, total=False): condition: Expr fullResourceName: str @typing.type_check_only -class LintPolicyResponse(typing_extensions.TypedDict, total=False): +class LintPolicyResponse(typing.TypedDict, total=False): lintResults: _list[LintResult] @typing.type_check_only -class LintResult(typing_extensions.TypedDict, total=False): +class LintResult(typing.TypedDict, total=False): debugMessage: str fieldName: str - level: typing_extensions.Literal["LEVEL_UNSPECIFIED", "CONDITION"] + level: typing.Literal["LEVEL_UNSPECIFIED", "CONDITION"] locationOffset: int - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "NOTICE", "INFO", "DEPRECATED" ] validationUnitName: str @typing.type_check_only -class ListAttestationRulesResponse(typing_extensions.TypedDict, total=False): +class ListAttestationRulesResponse(typing.TypedDict, total=False): attestationRules: _list[AttestationRule] nextPageToken: str @typing.type_check_only -class ListOauthClientCredentialsResponse(typing_extensions.TypedDict, total=False): +class ListOauthClientCredentialsResponse(typing.TypedDict, total=False): oauthClientCredentials: _list[OauthClientCredential] @typing.type_check_only -class ListOauthClientsResponse(typing_extensions.TypedDict, total=False): +class ListOauthClientsResponse(typing.TypedDict, total=False): nextPageToken: str oauthClients: _list[OauthClient] @typing.type_check_only -class ListRolesResponse(typing_extensions.TypedDict, total=False): +class ListRolesResponse(typing.TypedDict, total=False): nextPageToken: str roles: _list[Role] @typing.type_check_only -class ListServiceAccountKeysResponse(typing_extensions.TypedDict, total=False): +class ListServiceAccountKeysResponse(typing.TypedDict, total=False): keys: _list[ServiceAccountKey] @typing.type_check_only -class ListServiceAccountsResponse(typing_extensions.TypedDict, total=False): +class ListServiceAccountsResponse(typing.TypedDict, total=False): accounts: _list[ServiceAccount] nextPageToken: str @typing.type_check_only -class ListWorkforcePoolProviderKeysResponse(typing_extensions.TypedDict, total=False): +class ListWorkforcePoolProviderKeysResponse(typing.TypedDict, total=False): nextPageToken: str workforcePoolProviderKeys: _list[WorkforcePoolProviderKey] @typing.type_check_only -class ListWorkforcePoolProviderScimTenantsResponse( - typing_extensions.TypedDict, total=False -): +class ListWorkforcePoolProviderScimTenantsResponse(typing.TypedDict, total=False): nextPageToken: str workforcePoolProviderScimTenants: _list[WorkforcePoolProviderScimTenant] @typing.type_check_only -class ListWorkforcePoolProviderScimTokensResponse( - typing_extensions.TypedDict, total=False -): +class ListWorkforcePoolProviderScimTokensResponse(typing.TypedDict, total=False): nextPageToken: str workforcePoolProviderScimTokens: _list[WorkforcePoolProviderScimToken] @typing.type_check_only -class ListWorkforcePoolProvidersResponse(typing_extensions.TypedDict, total=False): +class ListWorkforcePoolProvidersResponse(typing.TypedDict, total=False): nextPageToken: str workforcePoolProviders: _list[WorkforcePoolProvider] @typing.type_check_only -class ListWorkforcePoolsResponse(typing_extensions.TypedDict, total=False): +class ListWorkforcePoolsResponse(typing.TypedDict, total=False): nextPageToken: str workforcePools: _list[WorkforcePool] @typing.type_check_only -class ListWorkloadIdentityPoolManagedIdentitiesResponse( - typing_extensions.TypedDict, total=False -): +class ListWorkloadIdentityPoolManagedIdentitiesResponse(typing.TypedDict, total=False): nextPageToken: str workloadIdentityPoolManagedIdentities: _list[WorkloadIdentityPoolManagedIdentity] @typing.type_check_only -class ListWorkloadIdentityPoolNamespacesResponse( - typing_extensions.TypedDict, total=False -): +class ListWorkloadIdentityPoolNamespacesResponse(typing.TypedDict, total=False): nextPageToken: str workloadIdentityPoolNamespaces: _list[WorkloadIdentityPoolNamespace] @typing.type_check_only -class ListWorkloadIdentityPoolProviderKeysResponse( - typing_extensions.TypedDict, total=False -): +class ListWorkloadIdentityPoolProviderKeysResponse(typing.TypedDict, total=False): nextPageToken: str workloadIdentityPoolProviderKeys: _list[WorkloadIdentityPoolProviderKey] @typing.type_check_only -class ListWorkloadIdentityPoolProvidersResponse( - typing_extensions.TypedDict, total=False -): +class ListWorkloadIdentityPoolProvidersResponse(typing.TypedDict, total=False): nextPageToken: str workloadIdentityPoolProviders: _list[WorkloadIdentityPoolProvider] @typing.type_check_only -class ListWorkloadIdentityPoolsResponse(typing_extensions.TypedDict, total=False): +class ListWorkloadIdentityPoolsResponse(typing.TypedDict, total=False): nextPageToken: str workloadIdentityPools: _list[WorkloadIdentityPool] @typing.type_check_only -class OauthClient(typing_extensions.TypedDict, total=False): +class OauthClient(typing.TypedDict, total=False): allowedGrantTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "GRANT_TYPE_UNSPECIFIED", "AUTHORIZATION_CODE_GRANT", "REFRESH_TOKEN_GRANT" ] ] allowedRedirectUris: _list[str] allowedScopes: _list[str] clientId: str - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "PUBLIC_CLIENT", "CONFIDENTIAL_CLIENT" ] description: str @@ -350,23 +321,23 @@ class OauthClient(typing_extensions.TypedDict, total=False): displayName: str expireTime: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class OauthClientCredential(typing_extensions.TypedDict, total=False): +class OauthClientCredential(typing.TypedDict, total=False): clientSecret: str disabled: bool displayName: str name: str @typing.type_check_only -class Oidc(typing_extensions.TypedDict, total=False): +class Oidc(typing.TypedDict, total=False): allowedAudiences: _list[str] issuerUri: str jwksJson: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -374,7 +345,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -384,103 +355,97 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OwnerService(typing_extensions.TypedDict, total=False): +class OwnerService(typing.TypedDict, total=False): principalSubject: str @typing.type_check_only -class PatchServiceAccountRequest(typing_extensions.TypedDict, total=False): +class PatchServiceAccountRequest(typing.TypedDict, total=False): serviceAccount: ServiceAccount updateMask: str @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): apiDisabled: bool - customRolesSupportLevel: typing_extensions.Literal[ - "SUPPORTED", "TESTING", "NOT_SUPPORTED" - ] + customRolesSupportLevel: typing.Literal["SUPPORTED", "TESTING", "NOT_SUPPORTED"] description: str name: str onlyInPredefinedRoles: bool primaryPermission: str - stage: typing_extensions.Literal["ALPHA", "BETA", "GA", "DEPRECATED"] + stage: typing.Literal["ALPHA", "BETA", "GA", "DEPRECATED"] title: str @typing.type_check_only -class PermissionDelta(typing_extensions.TypedDict, total=False): +class PermissionDelta(typing.TypedDict, total=False): addedPermissions: _list[str] removedPermissions: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyDelta(typing_extensions.TypedDict, total=False): +class PolicyDelta(typing.TypedDict, total=False): bindingDeltas: _list[BindingDelta] @typing.type_check_only -class QueryAuditableServicesRequest(typing_extensions.TypedDict, total=False): +class QueryAuditableServicesRequest(typing.TypedDict, total=False): fullResourceName: str @typing.type_check_only -class QueryAuditableServicesResponse(typing_extensions.TypedDict, total=False): +class QueryAuditableServicesResponse(typing.TypedDict, total=False): services: _list[AuditableService] @typing.type_check_only -class QueryGrantableRolesRequest(typing_extensions.TypedDict, total=False): +class QueryGrantableRolesRequest(typing.TypedDict, total=False): fullResourceName: str pageSize: int pageToken: str - view: typing_extensions.Literal["BASIC", "FULL"] + view: typing.Literal["BASIC", "FULL"] @typing.type_check_only -class QueryGrantableRolesResponse(typing_extensions.TypedDict, total=False): +class QueryGrantableRolesResponse(typing.TypedDict, total=False): nextPageToken: str roles: _list[Role] @typing.type_check_only -class QueryTestablePermissionsRequest(typing_extensions.TypedDict, total=False): +class QueryTestablePermissionsRequest(typing.TypedDict, total=False): fullResourceName: str pageSize: int pageToken: str @typing.type_check_only -class QueryTestablePermissionsResponse(typing_extensions.TypedDict, total=False): +class QueryTestablePermissionsResponse(typing.TypedDict, total=False): nextPageToken: str permissions: _list[Permission] @typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): +class ReconciliationOperationMetadata(typing.TypedDict, total=False): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class RemoveAttestationRuleRequest(typing_extensions.TypedDict, total=False): +class RemoveAttestationRuleRequest(typing.TypedDict, total=False): attestationRule: AttestationRule @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): +class Role(typing.TypedDict, total=False): deleted: bool description: str etag: str includedPermissions: _list[str] name: str - stage: typing_extensions.Literal[ - "ALPHA", "BETA", "GA", "DEPRECATED", "DISABLED", "EAP" - ] + stage: typing.Literal["ALPHA", "BETA", "GA", "DEPRECATED", "DISABLED", "EAP"] title: str @typing.type_check_only -class Saml(typing_extensions.TypedDict, total=False): +class Saml(typing.TypedDict, total=False): idpMetadataXml: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): description: str disabled: bool displayName: str @@ -492,8 +457,8 @@ class ServiceAccount(typing_extensions.TypedDict, total=False): uniqueId: str @typing.type_check_only -class ServiceAccountKey(typing_extensions.TypedDict, total=False): - disableReason: typing_extensions.Literal[ +class ServiceAccountKey(typing.TypedDict, total=False): + disableReason: typing.Literal[ "SERVICE_ACCOUNT_KEY_DISABLE_REASON_UNSPECIFIED", "SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED", "SERVICE_ACCOUNT_KEY_DISABLE_REASON_EXPOSED", @@ -501,18 +466,14 @@ class ServiceAccountKey(typing_extensions.TypedDict, total=False): ] disabled: bool extendedStatus: _list[ExtendedStatus] - keyAlgorithm: typing_extensions.Literal[ + keyAlgorithm: typing.Literal[ "KEY_ALG_UNSPECIFIED", "KEY_ALG_RSA_1024", "KEY_ALG_RSA_2048" ] - keyOrigin: typing_extensions.Literal[ - "ORIGIN_UNSPECIFIED", "USER_PROVIDED", "GOOGLE_PROVIDED" - ] - keyType: typing_extensions.Literal[ - "KEY_TYPE_UNSPECIFIED", "USER_MANAGED", "SYSTEM_MANAGED" - ] + keyOrigin: typing.Literal["ORIGIN_UNSPECIFIED", "USER_PROVIDED", "GOOGLE_PROVIDED"] + keyType: typing.Literal["KEY_TYPE_UNSPECIFIED", "USER_MANAGED", "SYSTEM_MANAGED"] name: str privateKeyData: str - privateKeyType: typing_extensions.Literal[ + privateKeyType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_PKCS12_FILE", "TYPE_GOOGLE_CREDENTIALS_FILE" ] publicKeyData: str @@ -520,124 +481,112 @@ class ServiceAccountKey(typing_extensions.TypedDict, total=False): validBeforeTime: str @typing.type_check_only -class ServiceConfig(typing_extensions.TypedDict, total=False): +class ServiceConfig(typing.TypedDict, total=False): domain: str @typing.type_check_only -class SetAttestationRulesRequest(typing_extensions.TypedDict, total=False): +class SetAttestationRulesRequest(typing.TypedDict, total=False): attestationRules: _list[AttestationRule] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SignBlobRequest(typing_extensions.TypedDict, total=False): +class SignBlobRequest(typing.TypedDict, total=False): bytesToSign: str @typing.type_check_only -class SignBlobResponse(typing_extensions.TypedDict, total=False): +class SignBlobResponse(typing.TypedDict, total=False): keyId: str signature: str @typing.type_check_only -class SignJwtRequest(typing_extensions.TypedDict, total=False): +class SignJwtRequest(typing.TypedDict, total=False): payload: str @typing.type_check_only -class SignJwtResponse(typing_extensions.TypedDict, total=False): +class SignJwtResponse(typing.TypedDict, total=False): keyId: str signedJwt: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TrustAnchor(typing_extensions.TypedDict, total=False): +class TrustAnchor(typing.TypedDict, total=False): pemCertificate: str @typing.type_check_only -class TrustStore(typing_extensions.TypedDict, total=False): +class TrustStore(typing.TypedDict, total=False): intermediateCas: _list[IntermediateCA] trustAnchors: _list[TrustAnchor] trustDefaultSharedCa: bool @typing.type_check_only -class UndeleteOauthClientRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteOauthClientRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteRoleRequest(typing_extensions.TypedDict, total=False): +class UndeleteRoleRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class UndeleteServiceAccountRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteServiceAccountRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteServiceAccountResponse(typing_extensions.TypedDict, total=False): +class UndeleteServiceAccountResponse(typing.TypedDict, total=False): restoredAccount: ServiceAccount @typing.type_check_only -class UndeleteWorkforcePoolProviderKeyRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteWorkforcePoolProviderKeyRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteWorkforcePoolProviderRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteWorkforcePoolProviderRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteWorkforcePoolProviderScimTenantRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteWorkforcePoolProviderScimTenantRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteWorkforcePoolRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteWorkforcePoolRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteWorkforcePoolSubjectRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteWorkforcePoolSubjectRequest(typing.TypedDict, total=False): ... @typing.type_check_only class UndeleteWorkloadIdentityPoolManagedIdentityRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class UndeleteWorkloadIdentityPoolNamespaceRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteWorkloadIdentityPoolNamespaceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteWorkloadIdentityPoolProviderKeyRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteWorkloadIdentityPoolProviderKeyRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteWorkloadIdentityPoolProviderRequest( - typing_extensions.TypedDict, total=False -): ... +class UndeleteWorkloadIdentityPoolProviderRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndeleteWorkloadIdentityPoolRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteWorkloadIdentityPoolRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadServiceAccountKeyRequest(typing_extensions.TypedDict, total=False): +class UploadServiceAccountKeyRequest(typing.TypedDict, total=False): publicKeyData: str @typing.type_check_only -class WorkforcePool(typing_extensions.TypedDict, total=False): +class WorkforcePool(typing.TypedDict, total=False): accessRestrictions: AccessRestrictions description: str disabled: bool @@ -646,10 +595,10 @@ class WorkforcePool(typing_extensions.TypedDict, total=False): name: str parent: str sessionDuration: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class WorkforcePoolProvider(typing_extensions.TypedDict, total=False): +class WorkforcePoolProvider(typing.TypedDict, total=False): attributeCondition: str attributeMapping: dict[str, typing.Any] description: str @@ -666,19 +615,19 @@ class WorkforcePoolProvider(typing_extensions.TypedDict, total=False): name: str oidc: GoogleIamAdminV1WorkforcePoolProviderOidc saml: GoogleIamAdminV1WorkforcePoolProviderSaml - scimUsage: typing_extensions.Literal["SCIM_USAGE_UNSPECIFIED", "ENABLED_FOR_GROUPS"] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + scimUsage: typing.Literal["SCIM_USAGE_UNSPECIFIED", "ENABLED_FOR_GROUPS"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class WorkforcePoolProviderKey(typing_extensions.TypedDict, total=False): +class WorkforcePoolProviderKey(typing.TypedDict, total=False): expireTime: str keyData: KeyData name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] - use: typing_extensions.Literal["KEY_USE_UNSPECIFIED", "ENCRYPTION"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + use: typing.Literal["KEY_USE_UNSPECIFIED", "ENCRYPTION"] @typing.type_check_only -class WorkforcePoolProviderScimTenant(typing_extensions.TypedDict, total=False): +class WorkforcePoolProviderScimTenant(typing.TypedDict, total=False): baseUri: str claimMapping: dict[str, typing.Any] description: str @@ -686,53 +635,51 @@ class WorkforcePoolProviderScimTenant(typing_extensions.TypedDict, total=False): name: str purgeTime: str serviceAgent: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class WorkforcePoolProviderScimToken(typing_extensions.TypedDict, total=False): +class WorkforcePoolProviderScimToken(typing.TypedDict, total=False): displayName: str name: str securityToken: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class WorkloadIdentityPool(typing_extensions.TypedDict, total=False): +class WorkloadIdentityPool(typing.TypedDict, total=False): description: str disabled: bool displayName: str expireTime: str inlineCertificateIssuanceConfig: InlineCertificateIssuanceConfig inlineTrustConfig: InlineTrustConfig - mode: typing_extensions.Literal[ + mode: typing.Literal[ "MODE_UNSPECIFIED", "FEDERATION_ONLY", "TRUST_DOMAIN", "SYSTEM_TRUST_DOMAIN" ] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class WorkloadIdentityPoolManagedIdentity(typing_extensions.TypedDict, total=False): +class WorkloadIdentityPoolManagedIdentity(typing.TypedDict, total=False): description: str disabled: bool expireTime: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class WorkloadIdentityPoolNamespace(typing_extensions.TypedDict, total=False): +class WorkloadIdentityPoolNamespace(typing.TypedDict, total=False): description: str disabled: bool expireTime: str name: str ownerService: OwnerService - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] @typing.type_check_only -class WorkloadIdentityPoolOperationMetadata( - typing_extensions.TypedDict, total=False -): ... +class WorkloadIdentityPoolOperationMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class WorkloadIdentityPoolProvider(typing_extensions.TypedDict, total=False): +class WorkloadIdentityPoolProvider(typing.TypedDict, total=False): attributeCondition: str attributeMapping: dict[str, typing.Any] aws: Aws @@ -743,17 +690,17 @@ class WorkloadIdentityPoolProvider(typing_extensions.TypedDict, total=False): name: str oidc: Oidc saml: Saml - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] x509: X509 @typing.type_check_only -class WorkloadIdentityPoolProviderKey(typing_extensions.TypedDict, total=False): +class WorkloadIdentityPoolProviderKey(typing.TypedDict, total=False): expireTime: str keyData: KeyData name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] - use: typing_extensions.Literal["KEY_USE_UNSPECIFIED", "ENCRYPTION"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + use: typing.Literal["KEY_USE_UNSPECIFIED", "ENCRYPTION"] @typing.type_check_only -class X509(typing_extensions.TypedDict, total=False): +class X509(typing.TypedDict, total=False): trustStore: TrustStore diff --git a/googleapiclient-stubs/_apis/iam/v2/resources.pyi b/googleapiclient-stubs/_apis/iam/v2/resources.pyi index 7cebaffda..79f29237f 100644 --- a/googleapiclient-stubs/_apis/iam/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/iam/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/iam/v2/schemas.pyi b/googleapiclient-stubs/_apis/iam/v2/schemas.pyi index 8eac6fd77..12edff254 100644 --- a/googleapiclient-stubs/_apis/iam/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/iam/v2/schemas.pyi @@ -1,20 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class CloudControl2SharedOperationsReconciliationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudCommonOperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -24,38 +20,36 @@ class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class GoogleIamAdminV1AuditData(typing_extensions.TypedDict, total=False): +class GoogleIamAdminV1AuditData(typing.TypedDict, total=False): permissionDelta: GoogleIamAdminV1AuditDataPermissionDelta @typing.type_check_only -class GoogleIamAdminV1AuditDataPermissionDelta( - typing_extensions.TypedDict, total=False -): +class GoogleIamAdminV1AuditDataPermissionDelta(typing.TypedDict, total=False): addedPermissions: _list[str] removedPermissions: _list[str] @typing.type_check_only -class GoogleIamV1BindingDelta(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleIamV1BindingDelta(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] condition: GoogleTypeExpr member: str role: str @typing.type_check_only -class GoogleIamV1LoggingAuditData(typing_extensions.TypedDict, total=False): +class GoogleIamV1LoggingAuditData(typing.TypedDict, total=False): policyDelta: GoogleIamV1PolicyDelta @typing.type_check_only -class GoogleIamV1PolicyDelta(typing_extensions.TypedDict, total=False): +class GoogleIamV1PolicyDelta(typing.TypedDict, total=False): bindingDeltas: _list[GoogleIamV1BindingDelta] @typing.type_check_only class GoogleIamV1betaWorkloadIdentityPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2DenyRule(typing.TypedDict, total=False): denialCondition: GoogleTypeExpr deniedPermissions: _list[str] deniedPrincipals: _list[str] @@ -63,12 +57,12 @@ class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): exceptionPrincipals: _list[str] @typing.type_check_only -class GoogleIamV2ListPoliciesResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV2ListPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[GoogleIamV2Policy] @typing.type_check_only -class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV2Policy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -81,16 +75,16 @@ class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleIamV2PolicyOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV2PolicyOperationMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class GoogleIamV2PolicyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2PolicyRule(typing.TypedDict, total=False): denyRule: GoogleIamV2DenyRule description: str @typing.type_check_only -class GoogleIamV3OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -100,7 +94,7 @@ class GoogleIamV3OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class GoogleIamV3alphaOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3alphaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -110,7 +104,7 @@ class GoogleIamV3alphaOperationMetadata(typing_extensions.TypedDict, total=False verb: str @typing.type_check_only -class GoogleIamV3betaOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3betaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -120,7 +114,7 @@ class GoogleIamV3betaOperationMetadata(typing_extensions.TypedDict, total=False) verb: str @typing.type_check_only -class GoogleIamV3mainOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3mainOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -130,7 +124,7 @@ class GoogleIamV3mainOperationMetadata(typing_extensions.TypedDict, total=False) verb: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -138,13 +132,13 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/iam/v2beta/resources.pyi b/googleapiclient-stubs/_apis/iam/v2beta/resources.pyi index dfc6bcbce..01f6f2a69 100644 --- a/googleapiclient-stubs/_apis/iam/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/iam/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/iam/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/iam/v2beta/schemas.pyi index cdd924ed8..efc279ec1 100644 --- a/googleapiclient-stubs/_apis/iam/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/iam/v2beta/schemas.pyi @@ -1,20 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class CloudControl2SharedOperationsReconciliationOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudCommonOperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -24,38 +20,36 @@ class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class GoogleIamAdminV1AuditData(typing_extensions.TypedDict, total=False): +class GoogleIamAdminV1AuditData(typing.TypedDict, total=False): permissionDelta: GoogleIamAdminV1AuditDataPermissionDelta @typing.type_check_only -class GoogleIamAdminV1AuditDataPermissionDelta( - typing_extensions.TypedDict, total=False -): +class GoogleIamAdminV1AuditDataPermissionDelta(typing.TypedDict, total=False): addedPermissions: _list[str] removedPermissions: _list[str] @typing.type_check_only -class GoogleIamV1BindingDelta(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleIamV1BindingDelta(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] condition: GoogleTypeExpr member: str role: str @typing.type_check_only -class GoogleIamV1LoggingAuditData(typing_extensions.TypedDict, total=False): +class GoogleIamV1LoggingAuditData(typing.TypedDict, total=False): policyDelta: GoogleIamV1PolicyDelta @typing.type_check_only -class GoogleIamV1PolicyDelta(typing_extensions.TypedDict, total=False): +class GoogleIamV1PolicyDelta(typing.TypedDict, total=False): bindingDeltas: _list[GoogleIamV1BindingDelta] @typing.type_check_only class GoogleIamV1betaWorkloadIdentityPoolOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleIamV2betaDenyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2betaDenyRule(typing.TypedDict, total=False): denialCondition: GoogleTypeExpr deniedPermissions: _list[str] deniedPrincipals: _list[str] @@ -63,12 +57,12 @@ class GoogleIamV2betaDenyRule(typing_extensions.TypedDict, total=False): exceptionPrincipals: _list[str] @typing.type_check_only -class GoogleIamV2betaListPoliciesResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV2betaListPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[GoogleIamV2betaPolicy] @typing.type_check_only -class GoogleIamV2betaPolicy(typing_extensions.TypedDict, total=False): +class GoogleIamV2betaPolicy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -81,16 +75,16 @@ class GoogleIamV2betaPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleIamV2betaPolicyOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV2betaPolicyOperationMetadata(typing.TypedDict, total=False): createTime: str @typing.type_check_only -class GoogleIamV2betaPolicyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2betaPolicyRule(typing.TypedDict, total=False): denyRule: GoogleIamV2betaDenyRule description: str @typing.type_check_only -class GoogleIamV3OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -100,7 +94,7 @@ class GoogleIamV3OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class GoogleIamV3alphaOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3alphaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -110,7 +104,7 @@ class GoogleIamV3alphaOperationMetadata(typing_extensions.TypedDict, total=False verb: str @typing.type_check_only -class GoogleIamV3betaOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3betaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -120,7 +114,7 @@ class GoogleIamV3betaOperationMetadata(typing_extensions.TypedDict, total=False) verb: str @typing.type_check_only -class GoogleIamV3mainOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleIamV3mainOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -130,7 +124,7 @@ class GoogleIamV3mainOperationMetadata(typing_extensions.TypedDict, total=False) verb: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -138,13 +132,13 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi b/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi index 4aaa3377a..2d6848acb 100644 --- a/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/iamcredentials/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi b/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi index ea1d9dcdc..27abb2e54 100644 --- a/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iamcredentials/v1/schemas.pyi @@ -1,62 +1,60 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GenerateAccessTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenRequest(typing.TypedDict, total=False): delegates: _list[str] lifetime: str scope: _list[str] @typing.type_check_only -class GenerateAccessTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenResponse(typing.TypedDict, total=False): accessToken: str expireTime: str @typing.type_check_only -class GenerateIdTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateIdTokenRequest(typing.TypedDict, total=False): audience: str delegates: _list[str] includeEmail: bool organizationNumberIncluded: bool @typing.type_check_only -class GenerateIdTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateIdTokenResponse(typing.TypedDict, total=False): token: str @typing.type_check_only -class ServiceAccountAllowedLocations(typing_extensions.TypedDict, total=False): +class ServiceAccountAllowedLocations(typing.TypedDict, total=False): encodedLocations: str locations: _list[str] @typing.type_check_only -class SignBlobRequest(typing_extensions.TypedDict, total=False): +class SignBlobRequest(typing.TypedDict, total=False): delegates: _list[str] payload: str @typing.type_check_only -class SignBlobResponse(typing_extensions.TypedDict, total=False): +class SignBlobResponse(typing.TypedDict, total=False): keyId: str signedBlob: str @typing.type_check_only -class SignJwtRequest(typing_extensions.TypedDict, total=False): +class SignJwtRequest(typing.TypedDict, total=False): delegates: _list[str] payload: str @typing.type_check_only -class SignJwtResponse(typing_extensions.TypedDict, total=False): +class SignJwtResponse(typing.TypedDict, total=False): keyId: str signedJwt: str @typing.type_check_only -class WorkforcePoolAllowedLocations(typing_extensions.TypedDict, total=False): +class WorkforcePoolAllowedLocations(typing.TypedDict, total=False): encodedLocations: str locations: _list[str] @typing.type_check_only -class WorkloadIdentityPoolAllowedLocations(typing_extensions.TypedDict, total=False): +class WorkloadIdentityPoolAllowedLocations(typing.TypedDict, total=False): encodedLocations: str locations: _list[str] diff --git a/googleapiclient-stubs/_apis/iap/v1/resources.pyi b/googleapiclient-stubs/_apis/iap/v1/resources.pyi index b7becde2c..2e6ee4904 100644 --- a/googleapiclient-stubs/_apis/iap/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/iap/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/iap/v1/schemas.pyi b/googleapiclient-stubs/_apis/iap/v1/schemas.pyi index abc082b9e..ad8e34e76 100644 --- a/googleapiclient-stubs/_apis/iap/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iap/v1/schemas.pyi @@ -1,24 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessDeniedPageSettings(typing_extensions.TypedDict, total=False): +class AccessDeniedPageSettings(typing.TypedDict, total=False): accessDeniedPageUri: str generateTroubleshootingUri: bool remediationTokenGenerationEnabled: bool @typing.type_check_only -class AccessSettings(typing_extensions.TypedDict, total=False): +class AccessSettings(typing.TypedDict, total=False): allowedDomainsSettings: AllowedDomainsSettings corsSettings: CorsSettings gcipSettings: GcipSettings identitySources: _list[ - typing_extensions.Literal[ - "IDENTITY_SOURCE_UNSPECIFIED", "WORKFORCE_IDENTITY_FEDERATION" - ] + typing.Literal["IDENTITY_SOURCE_UNSPECIFIED", "WORKFORCE_IDENTITY_FEDERATION"] ] oauthSettings: OAuthSettings policyDelegationSettings: PolicyDelegationSettings @@ -26,111 +22,109 @@ class AccessSettings(typing_extensions.TypedDict, total=False): workforceIdentitySettings: WorkforceIdentitySettings @typing.type_check_only -class AllowedDomainsSettings(typing_extensions.TypedDict, total=False): +class AllowedDomainsSettings(typing.TypedDict, total=False): domains: _list[str] enable: bool @typing.type_check_only -class ApplicationSettings(typing_extensions.TypedDict, total=False): +class ApplicationSettings(typing.TypedDict, total=False): accessDeniedPageSettings: AccessDeniedPageSettings attributePropagationSettings: AttributePropagationSettings cookieDomain: str csmSettings: CsmSettings @typing.type_check_only -class AttributePropagationSettings(typing_extensions.TypedDict, total=False): +class AttributePropagationSettings(typing.TypedDict, total=False): enable: bool expression: str outputCredentials: _list[ - typing_extensions.Literal[ - "OUTPUT_CREDENTIALS_UNSPECIFIED", "HEADER", "JWT", "RCTOKEN" - ] + typing.Literal["OUTPUT_CREDENTIALS_UNSPECIFIED", "HEADER", "JWT", "RCTOKEN"] ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Brand(typing_extensions.TypedDict, total=False): +class Brand(typing.TypedDict, total=False): applicationTitle: str name: str orgInternalOnly: bool supportEmail: str @typing.type_check_only -class CorsSettings(typing_extensions.TypedDict, total=False): +class CorsSettings(typing.TypedDict, total=False): allowHttpOptions: bool @typing.type_check_only -class CsmSettings(typing_extensions.TypedDict, total=False): +class CsmSettings(typing.TypedDict, total=False): rctokenAud: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GcipSettings(typing_extensions.TypedDict, total=False): +class GcipSettings(typing.TypedDict, total=False): loginPageUri: str tenantIds: _list[str] @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class IapSettings(typing_extensions.TypedDict, total=False): +class IapSettings(typing.TypedDict, total=False): accessSettings: AccessSettings applicationSettings: ApplicationSettings name: str @typing.type_check_only -class IdentityAwareProxyClient(typing_extensions.TypedDict, total=False): +class IdentityAwareProxyClient(typing.TypedDict, total=False): displayName: str name: str secret: str @typing.type_check_only -class ListBrandsResponse(typing_extensions.TypedDict, total=False): +class ListBrandsResponse(typing.TypedDict, total=False): brands: _list[Brand] @typing.type_check_only -class ListIdentityAwareProxyClientsResponse(typing_extensions.TypedDict, total=False): +class ListIdentityAwareProxyClientsResponse(typing.TypedDict, total=False): identityAwareProxyClients: _list[IdentityAwareProxyClient] nextPageToken: str @typing.type_check_only -class ListTunnelDestGroupsResponse(typing_extensions.TypedDict, total=False): +class ListTunnelDestGroupsResponse(typing.TypedDict, total=False): nextPageToken: str tunnelDestGroups: _list[TunnelDestGroup] @typing.type_check_only -class NextStateOfTags(typing_extensions.TypedDict, total=False): +class NextStateOfTags(typing.TypedDict, total=False): tagsFullState: TagsFullState tagsFullStateForChildResource: TagsFullStateForChildResource tagsPartialState: TagsPartialState @typing.type_check_only -class OAuth2(typing_extensions.TypedDict, total=False): +class OAuth2(typing.TypedDict, total=False): clientId: str clientSecret: str clientSecretSha256: str @typing.type_check_only -class OAuthSettings(typing_extensions.TypedDict, total=False): +class OAuthSettings(typing.TypedDict, total=False): clientId: str clientSecret: str clientSecretSha256: str @@ -138,45 +132,41 @@ class OAuthSettings(typing_extensions.TypedDict, total=False): programmaticClients: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyDelegationSettings(typing_extensions.TypedDict, total=False): +class PolicyDelegationSettings(typing.TypedDict, total=False): iamPermission: str iamServiceName: str policyName: PolicyName resource: Resource @typing.type_check_only -class PolicyName(typing_extensions.TypedDict, total=False): +class PolicyName(typing.TypedDict, total=False): id: str region: str type: str @typing.type_check_only -class ReauthSettings(typing_extensions.TypedDict, total=False): +class ReauthSettings(typing.TypedDict, total=False): maxAge: str - method: typing_extensions.Literal[ + method: typing.Literal[ "METHOD_UNSPECIFIED", "LOGIN", "PASSWORD", "SECURE_KEY", "ENROLLED_SECOND_FACTORS", ] - policyType: typing_extensions.Literal[ - "POLICY_TYPE_UNSPECIFIED", "MINIMUM", "DEFAULT" - ] + policyType: typing.Literal["POLICY_TYPE_UNSPECIFIED", "MINIMUM", "DEFAULT"] @typing.type_check_only -class ResetIdentityAwareProxyClientSecretRequest( - typing_extensions.TypedDict, total=False -): ... +class ResetIdentityAwareProxyClientSecretRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): expectedNextState: dict[str, typing.Any] labels: dict[str, typing.Any] locations: _list[str] @@ -186,42 +176,40 @@ class Resource(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class TagsFullState(typing_extensions.TypedDict, total=False): +class TagsFullState(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class TagsFullStateForChildResource(typing_extensions.TypedDict, total=False): +class TagsFullStateForChildResource(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class TagsPartialState(typing_extensions.TypedDict, total=False): +class TagsPartialState(typing.TypedDict, total=False): tagKeysToRemove: _list[str] tagsToUpsert: dict[str, typing.Any] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TunnelDestGroup(typing_extensions.TypedDict, total=False): +class TunnelDestGroup(typing.TypedDict, total=False): cidrs: _list[str] fqdns: _list[str] name: str @typing.type_check_only -class ValidateIapAttributeExpressionResponse( - typing_extensions.TypedDict, total=False -): ... +class ValidateIapAttributeExpressionResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class WorkforceIdentitySettings(typing_extensions.TypedDict, total=False): +class WorkforceIdentitySettings(typing.TypedDict, total=False): oauth2: OAuth2 workforcePools: _list[str] diff --git a/googleapiclient-stubs/_apis/iap/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/iap/v1beta1/resources.pyi index 5bf912468..6b5f20dbd 100644 --- a/googleapiclient-stubs/_apis/iap/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/iap/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/iap/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/iap/v1beta1/schemas.pyi index 79e9ad3df..85cd52ed5 100644 --- a/googleapiclient-stubs/_apis/iap/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iap/v1beta1/schemas.pyi @@ -1,44 +1,42 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/ideahub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/ideahub/v1alpha/resources.pyi index 200bb956f..f4c8cd2b5 100644 --- a/googleapiclient-stubs/_apis/ideahub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/ideahub/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/ideahub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/ideahub/v1alpha/schemas.pyi index c81da6057..e09f549d4 100644 --- a/googleapiclient-stubs/_apis/ideahub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/ideahub/v1alpha/schemas.pyi @@ -1,28 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleSearchIdeahubV1alphaAvailableLocale( - typing_extensions.TypedDict, total=False -): +class GoogleSearchIdeahubV1alphaAvailableLocale(typing.TypedDict, total=False): locale: str name: str @typing.type_check_only -class GoogleSearchIdeahubV1alphaIdea(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1alphaIdea(typing.TypedDict, total=False): name: str text: str topics: _list[GoogleSearchIdeahubV1alphaTopic] @typing.type_check_only -class GoogleSearchIdeahubV1alphaIdeaActivity(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1alphaIdeaActivity(typing.TypedDict, total=False): ideas: _list[str] name: str topics: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "POST_DRAFTED", "POST_PUBLISHED", @@ -32,33 +28,31 @@ class GoogleSearchIdeahubV1alphaIdeaActivity(typing_extensions.TypedDict, total= uri: str @typing.type_check_only -class GoogleSearchIdeahubV1alphaIdeaState(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1alphaIdeaState(typing.TypedDict, total=False): dismissed: bool name: str saved: bool @typing.type_check_only class GoogleSearchIdeahubV1alphaListAvailableLocalesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): availableLocales: _list[GoogleSearchIdeahubV1alphaAvailableLocale] nextPageToken: str @typing.type_check_only -class GoogleSearchIdeahubV1alphaListIdeasResponse( - typing_extensions.TypedDict, total=False -): +class GoogleSearchIdeahubV1alphaListIdeasResponse(typing.TypedDict, total=False): ideas: _list[GoogleSearchIdeahubV1alphaIdea] nextPageToken: str @typing.type_check_only -class GoogleSearchIdeahubV1alphaTopic(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1alphaTopic(typing.TypedDict, total=False): displayName: str mid: str name: str @typing.type_check_only -class GoogleSearchIdeahubV1alphaTopicState(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1alphaTopicState(typing.TypedDict, total=False): dismissed: bool name: str saved: bool diff --git a/googleapiclient-stubs/_apis/ideahub/v1beta/resources.pyi b/googleapiclient-stubs/_apis/ideahub/v1beta/resources.pyi index da06624f1..c02a3fe41 100644 --- a/googleapiclient-stubs/_apis/ideahub/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/ideahub/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/ideahub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/ideahub/v1beta/schemas.pyi index a42095f9a..c2e896c2d 100644 --- a/googleapiclient-stubs/_apis/ideahub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/ideahub/v1beta/schemas.pyi @@ -1,28 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleSearchIdeahubV1betaAvailableLocale( - typing_extensions.TypedDict, total=False -): +class GoogleSearchIdeahubV1betaAvailableLocale(typing.TypedDict, total=False): locale: str name: str @typing.type_check_only -class GoogleSearchIdeahubV1betaIdea(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1betaIdea(typing.TypedDict, total=False): name: str text: str topics: _list[GoogleSearchIdeahubV1betaTopic] @typing.type_check_only -class GoogleSearchIdeahubV1betaIdeaActivity(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1betaIdeaActivity(typing.TypedDict, total=False): ideas: _list[str] name: str topics: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "POST_DRAFTED", "POST_PUBLISHED", @@ -32,33 +28,31 @@ class GoogleSearchIdeahubV1betaIdeaActivity(typing_extensions.TypedDict, total=F uri: str @typing.type_check_only -class GoogleSearchIdeahubV1betaIdeaState(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1betaIdeaState(typing.TypedDict, total=False): dismissed: bool name: str saved: bool @typing.type_check_only class GoogleSearchIdeahubV1betaListAvailableLocalesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): availableLocales: _list[GoogleSearchIdeahubV1betaAvailableLocale] nextPageToken: str @typing.type_check_only -class GoogleSearchIdeahubV1betaListIdeasResponse( - typing_extensions.TypedDict, total=False -): +class GoogleSearchIdeahubV1betaListIdeasResponse(typing.TypedDict, total=False): ideas: _list[GoogleSearchIdeahubV1betaIdea] nextPageToken: str @typing.type_check_only -class GoogleSearchIdeahubV1betaTopic(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1betaTopic(typing.TypedDict, total=False): displayName: str mid: str name: str @typing.type_check_only -class GoogleSearchIdeahubV1betaTopicState(typing_extensions.TypedDict, total=False): +class GoogleSearchIdeahubV1betaTopicState(typing.TypedDict, total=False): dismissed: bool name: str saved: bool diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v1/resources.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v1/resources.pyi index 5adde1fc6..0cc13d3b4 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi index 631295286..a1ba4273b 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v1/schemas.pyi @@ -1,34 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudIdentitytoolkitV1Argon2Parameters( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1Argon2Parameters(typing.TypedDict, total=False): associatedData: str hashLengthBytes: int - hashType: typing_extensions.Literal[ + hashType: typing.Literal[ "HASH_TYPE_UNSPECIFIED", "ARGON2_D", "ARGON2_ID", "ARGON2_I" ] iterations: int memoryCostKib: int parallelism: int - version: typing_extensions.Literal[ - "VERSION_UNSPECIFIED", "VERSION_10", "VERSION_13" - ] + version: typing.Literal["VERSION_UNSPECIFIED", "VERSION_10", "VERSION_13"] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1AutoRetrievalInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1AutoRetrievalInfo(typing.TypedDict, total=False): appSignatureHash: str @typing.type_check_only class GoogleCloudIdentitytoolkitV1BatchDeleteAccountsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): force: bool localIds: _list[str] @@ -36,22 +28,18 @@ class GoogleCloudIdentitytoolkitV1BatchDeleteAccountsRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1BatchDeleteAccountsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleCloudIdentitytoolkitV1BatchDeleteErrorInfo] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1BatchDeleteErrorInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1BatchDeleteErrorInfo(typing.TypedDict, total=False): index: int localId: str message: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1CreateAuthUriRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1CreateAuthUriRequest(typing.TypedDict, total=False): appId: str authFlowType: str context: str @@ -68,9 +56,7 @@ class GoogleCloudIdentitytoolkitV1CreateAuthUriRequest( tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1CreateAuthUriResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1CreateAuthUriResponse(typing.TypedDict, total=False): allProviders: _list[str] authUri: str captchaRequired: bool @@ -83,7 +69,7 @@ class GoogleCloudIdentitytoolkitV1CreateAuthUriResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idToken: str tenantId: str @@ -91,14 +77,12 @@ class GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sessionCookie: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1DeleteAccountRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1DeleteAccountRequest(typing.TypedDict, total=False): delegatedProjectNumber: str idToken: str localId: str @@ -106,32 +90,28 @@ class GoogleCloudIdentitytoolkitV1DeleteAccountRequest( tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1DeleteAccountResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1DeleteAccountResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only class GoogleCloudIdentitytoolkitV1DownloadAccountResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kind: str nextPageToken: str users: _list[GoogleCloudIdentitytoolkitV1UserInfo] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1EmailInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitV1EmailInfo(typing.TypedDict, total=False): emailAddress: str -AlternativeGoogleCloudIdentitytoolkitV1EmailTemplate = typing_extensions.TypedDict( +AlternativeGoogleCloudIdentitytoolkitV1EmailTemplate = typing.TypedDict( "AlternativeGoogleCloudIdentitytoolkitV1EmailTemplate", { "body": str, "customized": bool, "disabled": bool, - "format": typing_extensions.Literal[ - "EMAIL_BODY_FORMAT_UNSPECIFIED", "PLAINTEXT", "HTML" - ], + "format": typing.Literal["EMAIL_BODY_FORMAT_UNSPECIFIED", "PLAINTEXT", "HTML"], "from": str, "fromDisplayName": str, "fromLocalPart": str, @@ -148,21 +128,19 @@ class GoogleCloudIdentitytoolkitV1EmailTemplate( ): ... @typing.type_check_only -class GoogleCloudIdentitytoolkitV1ErrorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitV1ErrorInfo(typing.TypedDict, total=False): index: int message: str @typing.type_check_only class GoogleCloudIdentitytoolkitV1FederatedUserIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): providerId: str rawId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1GetAccountInfoRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1GetAccountInfoRequest(typing.TypedDict, total=False): delegatedProjectNumber: str email: _list[str] federatedUserId: _list[GoogleCloudIdentitytoolkitV1FederatedUserIdentifier] @@ -174,23 +152,19 @@ class GoogleCloudIdentitytoolkitV1GetAccountInfoRequest( tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1GetAccountInfoResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1GetAccountInfoResponse(typing.TypedDict, total=False): kind: str users: _list[GoogleCloudIdentitytoolkitV1UserInfo] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1GetOobCodeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1GetOobCodeRequest(typing.TypedDict, total=False): androidInstallApp: bool androidMinimumVersion: str androidPackageName: str canHandleCodeInApp: bool captchaResp: str challenge: str - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "CLIENT_TYPE_WEB", "CLIENT_TYPE_ANDROID", @@ -204,10 +178,10 @@ class GoogleCloudIdentitytoolkitV1GetOobCodeRequest( idToken: str linkDomain: str newEmail: str - recaptchaVersion: typing_extensions.Literal[ + recaptchaVersion: typing.Literal[ "RECAPTCHA_VERSION_UNSPECIFIED", "RECAPTCHA_ENTERPRISE" ] - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "OOB_REQ_TYPE_UNSPECIFIED", "PASSWORD_RESET", "OLD_EMAIL_AGREE", @@ -224,9 +198,7 @@ class GoogleCloudIdentitytoolkitV1GetOobCodeRequest( userIp: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1GetOobCodeResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1GetOobCodeResponse(typing.TypedDict, total=False): email: str kind: str oobCode: str @@ -234,7 +206,7 @@ class GoogleCloudIdentitytoolkitV1GetOobCodeResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1GetProjectConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPasswordUser: bool apiKey: str @@ -252,7 +224,7 @@ class GoogleCloudIdentitytoolkitV1GetProjectConfigResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): kind: str producerProjectNumber: str @@ -261,16 +233,16 @@ class GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1GetSessionCookiePublicKeysResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keys: _list[GoogleCloudIdentitytoolkitV1OpenIdConnectKey] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1IdpConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitV1IdpConfig(typing.TypedDict, total=False): clientId: str enabled: bool experimentPercent: int - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "MSLIVE", "GOOGLE", @@ -289,7 +261,7 @@ class GoogleCloudIdentitytoolkitV1IdpConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudIdentitytoolkitV1IssueSamlResponseRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idToken: str rpId: str @@ -297,7 +269,7 @@ class GoogleCloudIdentitytoolkitV1IssueSamlResponseRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1IssueSamlResponseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acsEndpoint: str email: str @@ -308,9 +280,7 @@ class GoogleCloudIdentitytoolkitV1IssueSamlResponseResponse( samlResponse: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1MfaEnrollment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1MfaEnrollment(typing.TypedDict, total=False): displayName: str emailInfo: GoogleCloudIdentitytoolkitV1EmailInfo enrolledAt: str @@ -320,18 +290,16 @@ class GoogleCloudIdentitytoolkitV1MfaEnrollment( unobfuscatedPhoneInfo: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1MfaFactor(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitV1MfaFactor(typing.TypedDict, total=False): displayName: str phoneInfo: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1MfaInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitV1MfaInfo(typing.TypedDict, total=False): enrollments: _list[GoogleCloudIdentitytoolkitV1MfaEnrollment] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1OpenIdConnectKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1OpenIdConnectKey(typing.TypedDict, total=False): alg: str e: str kid: str @@ -340,9 +308,7 @@ class GoogleCloudIdentitytoolkitV1OpenIdConnectKey( use: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1ProviderUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1ProviderUserInfo(typing.TypedDict, total=False): displayName: str email: str federatedId: str @@ -353,15 +319,13 @@ class GoogleCloudIdentitytoolkitV1ProviderUserInfo( screenName: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1QueryUserInfoRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1QueryUserInfoRequest(typing.TypedDict, total=False): expression: _list[GoogleCloudIdentitytoolkitV1SqlExpression] limit: str offset: str - order: typing_extensions.Literal["ORDER_UNSPECIFIED", "ASC", "DESC"] + order: typing.Literal["ORDER_UNSPECIFIED", "ASC", "DESC"] returnUserInfo: bool - sortBy: typing_extensions.Literal[ + sortBy: typing.Literal[ "SORT_BY_FIELD_UNSPECIFIED", "USER_ID", "NAME", @@ -372,16 +336,12 @@ class GoogleCloudIdentitytoolkitV1QueryUserInfoRequest( tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1QueryUserInfoResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1QueryUserInfoResponse(typing.TypedDict, total=False): recordsCount: str userInfo: _list[GoogleCloudIdentitytoolkitV1UserInfo] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1ResetPasswordRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1ResetPasswordRequest(typing.TypedDict, total=False): email: str newPassword: str oldPassword: str @@ -389,14 +349,12 @@ class GoogleCloudIdentitytoolkitV1ResetPasswordRequest( tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1ResetPasswordResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1ResetPasswordResponse(typing.TypedDict, total=False): email: str kind: str mfaInfo: GoogleCloudIdentitytoolkitV1MfaEnrollment newEmail: str - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "OOB_REQ_TYPE_UNSPECIFIED", "PASSWORD_RESET", "OLD_EMAIL_AGREE", @@ -410,11 +368,11 @@ class GoogleCloudIdentitytoolkitV1ResetPasswordResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRetrievalInfo: GoogleCloudIdentitytoolkitV1AutoRetrievalInfo captchaResponse: str - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "CLIENT_TYPE_WEB", "CLIENT_TYPE_ANDROID", @@ -425,7 +383,7 @@ class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest( phoneNumber: str playIntegrityToken: str recaptchaToken: str - recaptchaVersion: typing_extensions.Literal[ + recaptchaVersion: typing.Literal[ "RECAPTCHA_VERSION_UNSPECIFIED", "RECAPTCHA_ENTERPRISE" ] safetyNetToken: str @@ -433,21 +391,19 @@ class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SendVerificationCodeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sessionInfo: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1SetAccountInfoRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1SetAccountInfoRequest(typing.TypedDict, total=False): captchaChallenge: str captchaResponse: str createdAt: str customAttributes: str delegatedProjectNumber: str deleteAttribute: _list[ - typing_extensions.Literal[ + typing.Literal[ "USER_ATTRIBUTE_NAME_UNSPECIFIED", "EMAIL", "DISPLAY_NAME", @@ -480,9 +436,7 @@ class GoogleCloudIdentitytoolkitV1SetAccountInfoRequest( validSince: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1SetAccountInfoResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1SetAccountInfoResponse(typing.TypedDict, total=False): displayName: str email: str emailVerified: bool @@ -498,7 +452,7 @@ class GoogleCloudIdentitytoolkitV1SetAccountInfoResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): delegatedProjectNumber: str instanceId: str @@ -508,7 +462,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expiresIn: str idToken: str @@ -518,7 +472,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithEmailLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str idToken: str @@ -527,7 +481,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithEmailLinkRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str expiresIn: str @@ -541,7 +495,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str gamePlayerId: str @@ -556,7 +510,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str expiresIn: str @@ -569,9 +523,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse( teamPlayerId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1SignInWithIdpRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1SignInWithIdpRequest(typing.TypedDict, total=False): autoCreate: bool delegatedProjectNumber: str idToken: str @@ -586,9 +538,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithIdpRequest( tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1SignInWithIdpResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1SignInWithIdpResponse(typing.TypedDict, total=False): context: str dateOfBirth: str displayName: str @@ -631,11 +581,11 @@ class GoogleCloudIdentitytoolkitV1SignInWithIdpResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): captchaChallenge: str captchaResponse: str - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "CLIENT_TYPE_WEB", "CLIENT_TYPE_ANDROID", @@ -647,7 +597,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest( instanceId: str password: str pendingIdToken: str - recaptchaVersion: typing_extensions.Literal[ + recaptchaVersion: typing.Literal[ "RECAPTCHA_VERSION_UNSPECIFIED", "RECAPTCHA_ENTERPRISE" ] returnSecureToken: bool @@ -655,7 +605,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str email: str @@ -675,11 +625,11 @@ class GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithPhoneNumberRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str idToken: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "VERIFY_OP_UNSPECIFIED", "SIGN_UP_OR_IN", "REAUTH", "UPDATE", "LINK" ] phoneNumber: str @@ -690,7 +640,7 @@ class GoogleCloudIdentitytoolkitV1SignInWithPhoneNumberRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV1SignInWithPhoneNumberResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expiresIn: str idToken: str @@ -704,12 +654,10 @@ class GoogleCloudIdentitytoolkitV1SignInWithPhoneNumberResponse( verificationProofExpiresIn: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1SignUpRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1SignUpRequest(typing.TypedDict, total=False): captchaChallenge: str captchaResponse: str - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "CLIENT_TYPE_WEB", "CLIENT_TYPE_ANDROID", @@ -726,16 +674,14 @@ class GoogleCloudIdentitytoolkitV1SignUpRequest( password: str phoneNumber: str photoUrl: str - recaptchaVersion: typing_extensions.Literal[ + recaptchaVersion: typing.Literal[ "RECAPTCHA_VERSION_UNSPECIFIED", "RECAPTCHA_ENTERPRISE" ] targetProjectId: str tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1SignUpResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1SignUpResponse(typing.TypedDict, total=False): displayName: str email: str expiresIn: str @@ -745,22 +691,16 @@ class GoogleCloudIdentitytoolkitV1SignUpResponse( refreshToken: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1SqlExpression( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1SqlExpression(typing.TypedDict, total=False): email: str phoneNumber: str userId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1TotpInfo( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudIdentitytoolkitV1TotpInfo(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudIdentitytoolkitV1UploadAccountRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1UploadAccountRequest(typing.TypedDict, total=False): allowOverwrite: bool argon2Parameters: GoogleCloudIdentitytoolkitV1Argon2Parameters blockSize: int @@ -770,7 +710,7 @@ class GoogleCloudIdentitytoolkitV1UploadAccountRequest( hashAlgorithm: str memoryCost: int parallelization: int - passwordHashOrder: typing_extensions.Literal[ + passwordHashOrder: typing.Literal[ "UNSPECIFIED_ORDER", "SALT_AND_PASSWORD", "PASSWORD_AND_SALT" ] rounds: int @@ -781,14 +721,12 @@ class GoogleCloudIdentitytoolkitV1UploadAccountRequest( users: _list[GoogleCloudIdentitytoolkitV1UserInfo] @typing.type_check_only -class GoogleCloudIdentitytoolkitV1UploadAccountResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1UploadAccountResponse(typing.TypedDict, total=False): error: _list[GoogleCloudIdentitytoolkitV1ErrorInfo] kind: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1UserInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitV1UserInfo(typing.TypedDict, total=False): createdAt: str customAttributes: str customAuth: bool @@ -818,10 +756,8 @@ class GoogleCloudIdentitytoolkitV1UserInfo(typing_extensions.TypedDict, total=Fa version: int @typing.type_check_only -class GoogleCloudIdentitytoolkitV1UserNotification( - typing_extensions.TypedDict, total=False -): - notificationCode: typing_extensions.Literal[ +class GoogleCloudIdentitytoolkitV1UserNotification(typing.TypedDict, total=False): + notificationCode: typing.Literal[ "NOTIFICATION_CODE_UNSPECIFIED", "MISSING_LOWERCASE_CHARACTER", "MISSING_UPPERCASE_CHARACTER", @@ -833,15 +769,13 @@ class GoogleCloudIdentitytoolkitV1UserNotification( notificationMessage: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV1VerifyIosClientRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV1VerifyIosClientRequest(typing.TypedDict, total=False): appToken: str isSandbox: bool @typing.type_check_only class GoogleCloudIdentitytoolkitV1VerifyIosClientResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): receipt: str suggestedTimeout: str diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v2/resources.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v2/resources.pyi index da584a3aa..8495a3ec3 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -440,7 +439,7 @@ class IdentityToolkitResource(googleapiclient.discovery.Resource): def getRecaptchaConfig( self, *, - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "CLIENT_TYPE_WEB", "CLIENT_TYPE_ANDROID", @@ -448,7 +447,7 @@ class IdentityToolkitResource(googleapiclient.discovery.Resource): ] | None = ..., tenantId: str | None = ..., - version: typing_extensions.Literal[ + version: typing.Literal[ "RECAPTCHA_VERSION_UNSPECIFIED", "RECAPTCHA_ENTERPRISE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi index c3c7b265c..407610c39 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v2/schemas.pyi @@ -1,37 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2AllowByDefault( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2AllowByDefault(typing.TypedDict, total=False): disallowedRegions: _list[str] @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2AllowlistOnly( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2AllowlistOnly(typing.TypedDict, total=False): allowedRegions: _list[str] @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Anonymous( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2Anonymous(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig(typing.TypedDict, total=False): bundleIds: _list[str] codeFlowConfig: GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): forwardInboundCredentials: ( GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials @@ -39,36 +29,30 @@ class GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig( triggers: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2ClientConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2ClientConfig(typing.TypedDict, total=False): apiKey: str firebaseSubdomain: str permissions: GoogleCloudIdentitytoolkitAdminV2Permissions @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): permissions: GoogleCloudIdentitytoolkitAdminV2ClientPermissions @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2ClientPermissions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2ClientPermissions(typing.TypedDict, total=False): disabledUserDeletion: bool disabledUserSignup: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig(typing.TypedDict, total=False): keyId: str privateKey: str teamId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Config(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitAdminV2Config(typing.TypedDict, total=False): authorizedDomains: _list[str] autodeleteAnonymousUsers: bool blockingFunctions: GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig @@ -86,13 +70,11 @@ class GoogleCloudIdentitytoolkitAdminV2Config(typing_extensions.TypedDict, total recaptchaConfig: GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig signIn: GoogleCloudIdentitytoolkitAdminV2SignInConfig smsRegionConfig: GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig - subtype: typing_extensions.Literal[ - "SUBTYPE_UNSPECIFIED", "IDENTITY_PLATFORM", "FIREBASE_AUTH" - ] + subtype: typing.Literal["SUBTYPE_UNSPECIFIED", "IDENTITY_PLATFORM", "FIREBASE_AUTH"] @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): containsLowercaseCharacter: bool containsNonAlphanumericCharacter: bool @@ -103,14 +85,14 @@ class GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions( @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str idpId: str @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appleSignInConfig: GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig clientId: str @@ -119,11 +101,9 @@ class GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig( name: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2DnsInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2DnsInfo(typing.TypedDict, total=False): customDomain: str - customDomainState: typing_extensions.Literal[ + customDomainState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "NOT_STARTED", "IN_PROGRESS", @@ -135,24 +115,20 @@ class GoogleCloudIdentitytoolkitAdminV2DnsInfo( useCustomDomain: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Email(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitAdminV2Email(typing.TypedDict, total=False): enabled: bool passwordRequired: bool @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableImprovedEmailPrivacy: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2EmailTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2EmailTemplate(typing.TypedDict, total=False): body: str - bodyFormat: typing_extensions.Literal[ - "BODY_FORMAT_UNSPECIFIED", "PLAIN_TEXT", "HTML" - ] + bodyFormat: typing.Literal["BODY_FORMAT_UNSPECIFIED", "PLAIN_TEXT", "HTML"] customized: bool replyTo: str senderDisplayName: str @@ -161,17 +137,15 @@ class GoogleCloudIdentitytoolkitAdminV2EmailTemplate( @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: bool idToken: bool refreshToken: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2HashConfig( - typing_extensions.TypedDict, total=False -): - algorithm: typing_extensions.Literal[ +class GoogleCloudIdentitytoolkitAdminV2HashConfig(typing.TypedDict, total=False): + algorithm: typing.Literal[ "HASH_ALGORITHM_UNSPECIFIED", "HMAC_SHA256", "HMAC_SHA1", @@ -193,24 +167,18 @@ class GoogleCloudIdentitytoolkitAdminV2HashConfig( signerKey: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2IdpCertificate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2IdpCertificate(typing.TypedDict, total=False): x509Certificate: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2IdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2IdpConfig(typing.TypedDict, total=False): idpCertificates: _list[GoogleCloudIdentitytoolkitAdminV2IdpCertificate] idpEntityId: str signRequest: bool ssoUrl: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig(typing.TypedDict, total=False): displayName: str enabled: bool idpConfig: GoogleCloudIdentitytoolkitAdminV2IdpConfig @@ -218,24 +186,22 @@ class GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig( spConfig: GoogleCloudIdentitytoolkitAdminV2SpConfig @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Inheritance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2Inheritance(typing.TypedDict, total=False): emailSendingConfig: bool @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultSupportedIdpConfigs: _list[ GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig @@ -244,77 +210,65 @@ class GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultSupportedIdps: _list[GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp] nextPageToken: str @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inboundSamlConfigs: _list[GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig] nextPageToken: str @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str oauthIdpConfigs: _list[GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig] @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str tenants: _list[GoogleCloudIdentitytoolkitAdminV2Tenant] @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig( - typing_extensions.TypedDict, total=False -): - domain: typing_extensions.Literal[ +class GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig(typing.TypedDict, total=False): + domain: typing.Literal[ "DOMAIN_UNSPECIFIED", "FIREBASE_DYNAMIC_LINK_DOMAIN", "HOSTING_DOMAIN" ] @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2MonitoringConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2MonitoringConfig(typing.TypedDict, total=False): requestLogging: GoogleCloudIdentitytoolkitAdminV2RequestLogging @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - enabledProviders: _list[ - typing_extensions.Literal["PROVIDER_UNSPECIFIED", "PHONE_SMS"] - ] + enabledProviders: _list[typing.Literal["PROVIDER_UNSPECIFIED", "PHONE_SMS"]] providerConfigs: _list[GoogleCloudIdentitytoolkitAdminV2ProviderConfig] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "DISABLED", "ENABLED", "MANDATORY" - ] + state: typing.Literal["STATE_UNSPECIFIED", "DISABLED", "ENABLED", "MANDATORY"] @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig(typing.TypedDict, total=False): allowTenants: bool defaultTenantLocation: str @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2NotificationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultLocale: str sendEmail: GoogleCloudIdentitytoolkitAdminV2SendEmail sendSms: GoogleCloudIdentitytoolkitAdminV2SendSms @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig(typing.TypedDict, total=False): clientId: str clientSecret: str displayName: str @@ -324,20 +278,18 @@ class GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig( responseType: GoogleCloudIdentitytoolkitAdminV2OAuthResponseType @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2OAuthResponseType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2OAuthResponseType(typing.TypedDict, total=False): code: bool idToken: bool token: bool @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): forceUpgradeOnSignin: bool lastUpdateTime: str - passwordPolicyEnforcementState: typing_extensions.Literal[ + passwordPolicyEnforcementState: typing.Literal[ "PASSWORD_POLICY_ENFORCEMENT_STATE_UNSPECIFIED", "OFF", "ENFORCE" ] passwordPolicyVersions: _list[ @@ -346,49 +298,37 @@ class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig( @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customStrengthOptions: GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions schemaVersion: int @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Permissions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2Permissions(typing.TypedDict, total=False): disabledUserDeletion: bool disabledUserSignup: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2PhoneNumber( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2PhoneNumber(typing.TypedDict, total=False): enabled: bool testPhoneNumbers: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2ProviderConfig( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ - "MFA_STATE_UNSPECIFIED", "DISABLED", "ENABLED", "MANDATORY" - ] +class GoogleCloudIdentitytoolkitAdminV2ProviderConfig(typing.TypedDict, total=False): + state: typing.Literal["MFA_STATE_UNSPECIFIED", "DISABLED", "ENABLED", "MANDATORY"] totpProviderConfig: GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2QuotaConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2QuotaConfig(typing.TypedDict, total=False): signUpQuotaConfig: GoogleCloudIdentitytoolkitAdminV2TemporaryQuota @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig( - typing_extensions.TypedDict, total=False -): - emailPasswordEnforcementState: typing_extensions.Literal[ +class GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig(typing.TypedDict, total=False): + emailPasswordEnforcementState: typing.Literal[ "RECAPTCHA_PROVIDER_ENFORCEMENT_STATE_UNSPECIFIED", "OFF", "AUDIT", "ENFORCE" ] managedRules: _list[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule] - phoneEnforcementState: typing_extensions.Literal[ + phoneEnforcementState: typing.Literal[ "RECAPTCHA_PROVIDER_ENFORCEMENT_STATE_UNSPECIFIED", "OFF", "AUDIT", "ENFORCE" ] recaptchaKeys: _list[GoogleCloudIdentitytoolkitAdminV2RecaptchaKey] @@ -400,57 +340,47 @@ class GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig( useSmsTollFraudProtection: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2RecaptchaKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2RecaptchaKey(typing.TypedDict, total=False): key: str - type: typing_extensions.Literal["CLIENT_TYPE_UNSPECIFIED", "WEB", "IOS", "ANDROID"] + type: typing.Literal["CLIENT_TYPE_UNSPECIFIED", "WEB", "IOS", "ANDROID"] @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal["RECAPTCHA_ACTION_UNSPECIFIED", "BLOCK"] + action: typing.Literal["RECAPTCHA_ACTION_UNSPECIFIED", "BLOCK"] endScore: float @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - action: typing_extensions.Literal["RECAPTCHA_ACTION_UNSPECIFIED", "BLOCK"] + action: typing.Literal["RECAPTCHA_ACTION_UNSPECIFIED", "BLOCK"] startScore: float @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2RequestLogging( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2RequestLogging(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2SendEmail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2SendEmail(typing.TypedDict, total=False): callbackUri: str changeEmailTemplate: GoogleCloudIdentitytoolkitAdminV2EmailTemplate dnsInfo: GoogleCloudIdentitytoolkitAdminV2DnsInfo legacyResetPasswordTemplate: GoogleCloudIdentitytoolkitAdminV2EmailTemplate - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "DEFAULT", "CUSTOM_SMTP"] + method: typing.Literal["METHOD_UNSPECIFIED", "DEFAULT", "CUSTOM_SMTP"] resetPasswordTemplate: GoogleCloudIdentitytoolkitAdminV2EmailTemplate revertSecondFactorAdditionTemplate: GoogleCloudIdentitytoolkitAdminV2EmailTemplate smtp: GoogleCloudIdentitytoolkitAdminV2Smtp verifyEmailTemplate: GoogleCloudIdentitytoolkitAdminV2EmailTemplate @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2SendSms( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2SendSms(typing.TypedDict, total=False): smsTemplate: GoogleCloudIdentitytoolkitAdminV2SmsTemplate useDeviceLocale: bool @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2SignInConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2SignInConfig(typing.TypedDict, total=False): allowDuplicateEmails: bool anonymous: GoogleCloudIdentitytoolkitAdminV2Anonymous email: GoogleCloudIdentitytoolkitAdminV2Email @@ -458,54 +388,42 @@ class GoogleCloudIdentitytoolkitAdminV2SignInConfig( phoneNumber: GoogleCloudIdentitytoolkitAdminV2PhoneNumber @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig(typing.TypedDict, total=False): allowByDefault: GoogleCloudIdentitytoolkitAdminV2AllowByDefault allowlistOnly: GoogleCloudIdentitytoolkitAdminV2AllowlistOnly @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2SmsTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2SmsTemplate(typing.TypedDict, total=False): content: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Smtp(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitAdminV2Smtp(typing.TypedDict, total=False): host: str password: str port: int - securityMode: typing_extensions.Literal[ - "SECURITY_MODE_UNSPECIFIED", "SSL", "START_TLS" - ] + securityMode: typing.Literal["SECURITY_MODE_UNSPECIFIED", "SSL", "START_TLS"] senderEmail: str username: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2SpCertificate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2SpCertificate(typing.TypedDict, total=False): expiresAt: str x509Certificate: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2SpConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2SpConfig(typing.TypedDict, total=False): callbackUri: str spCertificates: _list[GoogleCloudIdentitytoolkitAdminV2SpCertificate] spEntityId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2TemporaryQuota( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2TemporaryQuota(typing.TypedDict, total=False): quota: str quotaDuration: str startTime: str @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Tenant(typing_extensions.TypedDict, total=False): +class GoogleCloudIdentitytoolkitAdminV2Tenant(typing.TypedDict, total=False): allowPasswordSignup: bool autodeleteAnonymousUsers: bool client: GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig @@ -527,27 +445,21 @@ class GoogleCloudIdentitytoolkitAdminV2Tenant(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adjacentIntervals: int @typing.type_check_only -class GoogleCloudIdentitytoolkitAdminV2Trigger( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitAdminV2Trigger(typing.TypedDict, total=False): functionUri: str updateTime: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV2AutoRetrievalInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2AutoRetrievalInfo(typing.TypedDict, total=False): appSignatureHash: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV2CustomStrengthOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2CustomStrengthOptions(typing.TypedDict, total=False): containsLowercaseCharacter: bool containsNonAlphanumericCharacter: bool containsNumericCharacter: bool @@ -557,7 +469,7 @@ class GoogleCloudIdentitytoolkitV2CustomStrengthOptions( @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str idToken: str @@ -569,7 +481,7 @@ class GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idToken: str phoneAuthInfo: GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo @@ -578,7 +490,7 @@ class GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): androidVerificationProof: str code: str @@ -587,7 +499,7 @@ class GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo( @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): androidVerificationProof: str androidVerificationProofExpireTime: str @@ -595,7 +507,7 @@ class GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo( @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mfaEnrollmentId: str mfaPendingCredential: str @@ -605,7 +517,7 @@ class GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idToken: str phoneAuthInfo: GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo @@ -613,38 +525,32 @@ class GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse( @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sessionInfo: str verificationCode: str @typing.type_check_only class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): verificationCode: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV2PasswordPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2PasswordPolicy(typing.TypedDict, total=False): allowedNonAlphanumericCharacters: _list[str] customStrengthOptions: GoogleCloudIdentitytoolkitV2CustomStrengthOptions - enforcementState: typing_extensions.Literal[ - "ENFORCEMENT_STATE_UNSPECIFIED", "OFF", "ENFORCE" - ] + enforcementState: typing.Literal["ENFORCEMENT_STATE_UNSPECIFIED", "OFF", "ENFORCE"] forceUpgradeOnSignin: bool schemaVersion: int @typing.type_check_only -class GoogleCloudIdentitytoolkitV2RecaptchaConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2RecaptchaConfig(typing.TypedDict, total=False): recaptchaEnforcementState: _list[ GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState ] @@ -654,36 +560,34 @@ class GoogleCloudIdentitytoolkitV2RecaptchaConfig( @typing.type_check_only class GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - enforcementState: typing_extensions.Literal[ + enforcementState: typing.Literal[ "ENFORCEMENT_STATE_UNSPECIFIED", "OFF", "AUDIT", "ENFORCE" ] - provider: typing_extensions.Literal[ + provider: typing.Literal[ "RECAPTCHA_PROVIDER_UNSPECIFIED", "EMAIL_PASSWORD_PROVIDER", "PHONE_PROVIDER" ] @typing.type_check_only -class GoogleCloudIdentitytoolkitV2RevokeTokenRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2RevokeTokenRequest(typing.TypedDict, total=False): idToken: str providerId: str redirectUri: str tenantId: str token: str - tokenType: typing_extensions.Literal[ + tokenType: typing.Literal[ "TOKEN_TYPE_UNSPECIFIED", "REFRESH_TOKEN", "ACCESS_TOKEN", "CODE" ] @typing.type_check_only class GoogleCloudIdentitytoolkitV2RevokeTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): idToken: str phoneEnrollmentInfo: GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo @@ -692,18 +596,18 @@ class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest( @typing.type_check_only class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phoneSessionInfo: GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo totpSessionInfo: GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo @typing.type_check_only class GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoRetrievalInfo: GoogleCloudIdentitytoolkitV2AutoRetrievalInfo captchaResponse: str - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "CLIENT_TYPE_UNSPECIFIED", "CLIENT_TYPE_WEB", "CLIENT_TYPE_ANDROID", @@ -714,40 +618,36 @@ class GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo( phoneNumber: str playIntegrityToken: str recaptchaToken: str - recaptchaVersion: typing_extensions.Literal[ + recaptchaVersion: typing.Literal[ "RECAPTCHA_VERSION_UNSPECIFIED", "RECAPTCHA_ENTERPRISE" ] safetyNetToken: str @typing.type_check_only class GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sessionInfo: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV2StartMfaSignInRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2StartMfaSignInRequest(typing.TypedDict, total=False): mfaEnrollmentId: str mfaPendingCredential: str phoneSignInInfo: GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV2StartMfaSignInResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2StartMfaSignInResponse(typing.TypedDict, total=False): phoneResponseInfo: GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo @typing.type_check_only class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finalizeEnrollmentTime: str hashingAlgorithm: str @@ -757,71 +657,67 @@ class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo( verificationCodeLength: int @typing.type_check_only -class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest(typing.TypedDict, total=False): idToken: str mfaEnrollmentId: str tenantId: str @typing.type_check_only -class GoogleCloudIdentitytoolkitV2WithdrawMfaResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIdentitytoolkitV2WithdrawMfaResponse(typing.TypedDict, total=False): idToken: str refreshToken: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetIamPolicyRequest(typing.TypedDict, total=False): options: GoogleIamV1GetPolicyOptions @typing.type_check_only -class GoogleIamV1GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GoogleIamV1GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v3/resources.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v3/resources.pyi index 04e7ee2b9..8677437a1 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/identitytoolkit/v3/schemas.pyi b/googleapiclient-stubs/_apis/identitytoolkit/v3/schemas.pyi index b7179ff80..3925380a2 100644 --- a/googleapiclient-stubs/_apis/identitytoolkit/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/identitytoolkit/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CreateAuthUriResponse(typing_extensions.TypedDict, total=False): +class CreateAuthUriResponse(typing.TypedDict, total=False): allProviders: _list[str] authUri: str captchaRequired: bool @@ -17,17 +15,17 @@ class CreateAuthUriResponse(typing_extensions.TypedDict, total=False): signinMethods: _list[str] @typing.type_check_only -class DeleteAccountResponse(typing_extensions.TypedDict, total=False): +class DeleteAccountResponse(typing.TypedDict, total=False): kind: str @typing.type_check_only -class DownloadAccountResponse(typing_extensions.TypedDict, total=False): +class DownloadAccountResponse(typing.TypedDict, total=False): kind: str nextPageToken: str users: _list[UserInfo] @typing.type_check_only -class EmailLinkSigninResponse(typing_extensions.TypedDict, total=False): +class EmailLinkSigninResponse(typing.TypedDict, total=False): email: str expiresIn: str idToken: str @@ -36,7 +34,7 @@ class EmailLinkSigninResponse(typing_extensions.TypedDict, total=False): localId: str refreshToken: str -AlternativeEmailTemplate = typing_extensions.TypedDict( +AlternativeEmailTemplate = typing.TypedDict( "AlternativeEmailTemplate", { "body": str, @@ -53,26 +51,24 @@ AlternativeEmailTemplate = typing_extensions.TypedDict( class EmailTemplate(AlternativeEmailTemplate): ... @typing.type_check_only -class GetAccountInfoResponse(typing_extensions.TypedDict, total=False): +class GetAccountInfoResponse(typing.TypedDict, total=False): kind: str users: _list[UserInfo] @typing.type_check_only -class GetOobConfirmationCodeResponse(typing_extensions.TypedDict, total=False): +class GetOobConfirmationCodeResponse(typing.TypedDict, total=False): email: str kind: str oobCode: str @typing.type_check_only -class GetRecaptchaParamResponse(typing_extensions.TypedDict, total=False): +class GetRecaptchaParamResponse(typing.TypedDict, total=False): kind: str recaptchaSiteKey: str recaptchaStoken: str @typing.type_check_only -class IdentitytoolkitRelyingpartyCreateAuthUriRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyCreateAuthUriRequest(typing.TypedDict, total=False): appId: str authFlowType: str clientId: str @@ -91,34 +87,26 @@ class IdentitytoolkitRelyingpartyCreateAuthUriRequest( tenantProjectNumber: str @typing.type_check_only -class IdentitytoolkitRelyingpartyDeleteAccountRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyDeleteAccountRequest(typing.TypedDict, total=False): delegatedProjectNumber: str idToken: str localId: str @typing.type_check_only -class IdentitytoolkitRelyingpartyDownloadAccountRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyDownloadAccountRequest(typing.TypedDict, total=False): delegatedProjectNumber: str maxResults: int nextPageToken: str targetProjectId: str @typing.type_check_only -class IdentitytoolkitRelyingpartyEmailLinkSigninRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyEmailLinkSigninRequest(typing.TypedDict, total=False): email: str idToken: str oobCode: str @typing.type_check_only -class IdentitytoolkitRelyingpartyGetAccountInfoRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyGetAccountInfoRequest(typing.TypedDict, total=False): delegatedProjectNumber: str email: _list[str] idToken: str @@ -127,7 +115,7 @@ class IdentitytoolkitRelyingpartyGetAccountInfoRequest( @typing.type_check_only class IdentitytoolkitRelyingpartyGetProjectConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowPasswordUser: bool apiKey: str @@ -146,9 +134,7 @@ class IdentitytoolkitRelyingpartyGetProjectConfigResponse( class IdentitytoolkitRelyingpartyGetPublicKeysResponse(dict[str, typing.Any]): ... @typing.type_check_only -class IdentitytoolkitRelyingpartyResetPasswordRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyResetPasswordRequest(typing.TypedDict, total=False): email: str newPassword: str oldPassword: str @@ -156,7 +142,7 @@ class IdentitytoolkitRelyingpartyResetPasswordRequest( @typing.type_check_only class IdentitytoolkitRelyingpartySendVerificationCodeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): iosReceipt: str iosSecret: str @@ -165,14 +151,12 @@ class IdentitytoolkitRelyingpartySendVerificationCodeRequest( @typing.type_check_only class IdentitytoolkitRelyingpartySendVerificationCodeResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sessionInfo: str @typing.type_check_only -class IdentitytoolkitRelyingpartySetAccountInfoRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartySetAccountInfoRequest(typing.TypedDict, total=False): captchaChallenge: str captchaResponse: str createdAt: str @@ -198,9 +182,7 @@ class IdentitytoolkitRelyingpartySetAccountInfoRequest( validSince: str @typing.type_check_only -class IdentitytoolkitRelyingpartySetProjectConfigRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartySetProjectConfigRequest(typing.TypedDict, total=False): allowPasswordUser: bool apiKey: str authorizedDomains: _list[str] @@ -215,27 +197,21 @@ class IdentitytoolkitRelyingpartySetProjectConfigRequest( @typing.type_check_only class IdentitytoolkitRelyingpartySetProjectConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str @typing.type_check_only -class IdentitytoolkitRelyingpartySignOutUserRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartySignOutUserRequest(typing.TypedDict, total=False): instanceId: str localId: str @typing.type_check_only -class IdentitytoolkitRelyingpartySignOutUserResponse( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartySignOutUserResponse(typing.TypedDict, total=False): localId: str @typing.type_check_only -class IdentitytoolkitRelyingpartySignupNewUserRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartySignupNewUserRequest(typing.TypedDict, total=False): captchaChallenge: str captchaResponse: str disabled: bool @@ -252,9 +228,7 @@ class IdentitytoolkitRelyingpartySignupNewUserRequest( tenantProjectNumber: str @typing.type_check_only -class IdentitytoolkitRelyingpartyUploadAccountRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyUploadAccountRequest(typing.TypedDict, total=False): allowOverwrite: bool blockSize: int cpuMemCost: int @@ -271,9 +245,7 @@ class IdentitytoolkitRelyingpartyUploadAccountRequest( users: _list[UserInfo] @typing.type_check_only -class IdentitytoolkitRelyingpartyVerifyAssertionRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyVerifyAssertionRequest(typing.TypedDict, total=False): autoCreate: bool delegatedProjectNumber: str idToken: str @@ -290,7 +262,7 @@ class IdentitytoolkitRelyingpartyVerifyAssertionRequest( @typing.type_check_only class IdentitytoolkitRelyingpartyVerifyCustomTokenRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): delegatedProjectNumber: str instanceId: str @@ -298,9 +270,7 @@ class IdentitytoolkitRelyingpartyVerifyCustomTokenRequest( token: str @typing.type_check_only -class IdentitytoolkitRelyingpartyVerifyPasswordRequest( - typing_extensions.TypedDict, total=False -): +class IdentitytoolkitRelyingpartyVerifyPasswordRequest(typing.TypedDict, total=False): captchaChallenge: str captchaResponse: str delegatedProjectNumber: str @@ -315,7 +285,7 @@ class IdentitytoolkitRelyingpartyVerifyPasswordRequest( @typing.type_check_only class IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str idToken: str @@ -327,7 +297,7 @@ class IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest( @typing.type_check_only class IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expiresIn: str idToken: str @@ -341,7 +311,7 @@ class IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse( verificationProofExpiresIn: str @typing.type_check_only -class IdpConfig(typing_extensions.TypedDict, total=False): +class IdpConfig(typing.TypedDict, total=False): clientId: str enabled: bool experimentPercent: int @@ -350,7 +320,7 @@ class IdpConfig(typing_extensions.TypedDict, total=False): whitelistedAudiences: _list[str] @typing.type_check_only -class Relyingparty(typing_extensions.TypedDict, total=False): +class Relyingparty(typing.TypedDict, total=False): androidInstallApp: bool androidMinimumVersion: str androidPackageName: str @@ -368,14 +338,14 @@ class Relyingparty(typing_extensions.TypedDict, total=False): userIp: str @typing.type_check_only -class ResetPasswordResponse(typing_extensions.TypedDict, total=False): +class ResetPasswordResponse(typing.TypedDict, total=False): email: str kind: str newEmail: str requestType: str @typing.type_check_only -class SetAccountInfoResponse(typing_extensions.TypedDict, total=False): +class SetAccountInfoResponse(typing.TypedDict, total=False): displayName: str email: str emailVerified: bool @@ -390,7 +360,7 @@ class SetAccountInfoResponse(typing_extensions.TypedDict, total=False): refreshToken: str @typing.type_check_only -class SignupNewUserResponse(typing_extensions.TypedDict, total=False): +class SignupNewUserResponse(typing.TypedDict, total=False): displayName: str email: str expiresIn: str @@ -400,12 +370,12 @@ class SignupNewUserResponse(typing_extensions.TypedDict, total=False): refreshToken: str @typing.type_check_only -class UploadAccountResponse(typing_extensions.TypedDict, total=False): +class UploadAccountResponse(typing.TypedDict, total=False): error: _list[dict[str, typing.Any]] kind: str @typing.type_check_only -class UserInfo(typing_extensions.TypedDict, total=False): +class UserInfo(typing.TypedDict, total=False): createdAt: str customAttributes: str customAuth: bool @@ -427,7 +397,7 @@ class UserInfo(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class VerifyAssertionResponse(typing_extensions.TypedDict, total=False): +class VerifyAssertionResponse(typing.TypedDict, total=False): action: str appInstallationUrl: str appScheme: str @@ -469,7 +439,7 @@ class VerifyAssertionResponse(typing_extensions.TypedDict, total=False): verifiedProvider: _list[str] @typing.type_check_only -class VerifyCustomTokenResponse(typing_extensions.TypedDict, total=False): +class VerifyCustomTokenResponse(typing.TypedDict, total=False): expiresIn: str idToken: str isNewUser: bool @@ -477,7 +447,7 @@ class VerifyCustomTokenResponse(typing_extensions.TypedDict, total=False): refreshToken: str @typing.type_check_only -class VerifyPasswordResponse(typing_extensions.TypedDict, total=False): +class VerifyPasswordResponse(typing.TypedDict, total=False): displayName: str email: str expiresIn: str diff --git a/googleapiclient-stubs/_apis/ids/v1/resources.pyi b/googleapiclient-stubs/_apis/ids/v1/resources.pyi index 62d082b8f..d6b1ccf05 100644 --- a/googleapiclient-stubs/_apis/ids/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ids/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/ids/v1/schemas.pyi b/googleapiclient-stubs/_apis/ids/v1/schemas.pyi index 2dc49b834..2205e6a18 100644 --- a/googleapiclient-stubs/_apis/ids/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ids/v1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): createTime: str description: str endpointForwardingRule: str @@ -21,10 +19,10 @@ class Endpoint(typing_extensions.TypedDict, total=False): network: str satisfiesPzi: bool satisfiesPzs: bool - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] threatExceptions: _list[str] @@ -32,24 +30,24 @@ class Endpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -57,7 +55,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -65,7 +63,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -75,7 +73,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/indexing/v3/resources.pyi b/googleapiclient-stubs/_apis/indexing/v3/resources.pyi index 2817e8558..6302e7896 100644 --- a/googleapiclient-stubs/_apis/indexing/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/indexing/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/indexing/v3/schemas.pyi b/googleapiclient-stubs/_apis/indexing/v3/schemas.pyi index f237fcf4f..5af68b410 100644 --- a/googleapiclient-stubs/_apis/indexing/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/indexing/v3/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class PublishUrlNotificationResponse(typing_extensions.TypedDict, total=False): +class PublishUrlNotificationResponse(typing.TypedDict, total=False): urlNotificationMetadata: UrlNotificationMetadata @typing.type_check_only -class UrlNotification(typing_extensions.TypedDict, total=False): +class UrlNotification(typing.TypedDict, total=False): notifyTime: str - type: typing_extensions.Literal[ + type: typing.Literal[ "URL_NOTIFICATION_TYPE_UNSPECIFIED", "URL_UPDATED", "URL_DELETED" ] url: str @typing.type_check_only -class UrlNotificationMetadata(typing_extensions.TypedDict, total=False): +class UrlNotificationMetadata(typing.TypedDict, total=False): latestRemove: UrlNotification latestUpdate: UrlNotification url: str diff --git a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi index cd9de792c..730df3a69 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -20,9 +19,7 @@ class IntegrationsResource(googleapiclient.discovery.Resource): *, code: str | None = ..., gcpProjectId: str | None = ..., - product: typing_extensions.Literal[ - "UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY" - ] + product: typing.Literal["UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY"] | None = ..., redirectUri: str | None = ..., state: str | None = ..., @@ -411,7 +408,7 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, name: str, - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNSPECIFIED", "JSON", "YAML" ] | None = ..., @@ -494,17 +491,17 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, name: str, - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNSPECIFIED", "JSON", "YAML" ] | None = ..., - files: typing_extensions.Literal[ + files: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", @@ -517,13 +514,13 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, name: str, - files: typing_extensions.Literal[ + files: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", @@ -881,17 +878,17 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, name: str, - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNSPECIFIED", "JSON", "YAML" ] | None = ..., - files: typing_extensions.Literal[ + files: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", @@ -1199,7 +1196,7 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, name: str, - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNSPECIFIED", "JSON", "YAML" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi index c519947eb..c6d915d27 100644 --- a/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CrmlogErrorCode(typing_extensions.TypedDict, total=False): - commonErrorCode: typing_extensions.Literal[ +class CrmlogErrorCode(typing.TypedDict, total=False): + commonErrorCode: typing.Literal[ "COMMON_ERROR_CODE_UNSPECIFIED", "INVALID_CREDENTIALS", "REQUIRED_FIELDS_MISSING", @@ -72,11 +70,9 @@ class CrmlogErrorCode(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam(typing.TypedDict, total=False): allowedCredentialTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CREDENTIAL_TYPE_UNSPECIFIED", "USERNAME_AND_PASSWORD", "API_KEY", @@ -97,14 +93,14 @@ class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam( useServiceAccountInContext: bool @typing.type_check_only -class EnterpriseCrmEventbusProtoAddress(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoAddress(typing.TypedDict, total=False): email: str name: str tokens: _list[EnterpriseCrmEventbusProtoToken] @typing.type_check_only -class EnterpriseCrmEventbusProtoAttributes(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoAttributes(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "EMAIL", "URL", "CURRENCY", "TIMESTAMP", "DOMAIN_NAME" ] defaultValue: EnterpriseCrmEventbusProtoValueType @@ -113,26 +109,26 @@ class EnterpriseCrmEventbusProtoAttributes(typing_extensions.TypedDict, total=Fa logSettings: EnterpriseCrmEventbusProtoLogSettings masked: bool readOnly: bool - searchable: typing_extensions.Literal["UNSPECIFIED", "YES", "NO"] + searchable: typing.Literal["UNSPECIFIED", "YES", "NO"] taskVisibility: _list[str] @typing.type_check_only class EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enumStrings: _list[str] - filterType: typing_extensions.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] + filterType: typing.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] @typing.type_check_only class EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): absolute: str percentage: int @typing.type_check_only -class EnterpriseCrmEventbusProtoBaseFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoBaseFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "NOW_IN_MILLIS", "INT_LIST", @@ -145,16 +141,14 @@ class EnterpriseCrmEventbusProtoBaseFunction(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoBaseValue(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoBaseValue(typing.TypedDict, total=False): baseFunction: EnterpriseCrmEventbusProtoFunction literalValue: EnterpriseCrmEventbusProtoParameterValueType referenceValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoBooleanArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoBooleanArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -171,10 +165,8 @@ class EnterpriseCrmEventbusProtoBooleanArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoBooleanFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoBooleanFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "TO_JSON", "NOT", @@ -189,24 +181,18 @@ class EnterpriseCrmEventbusProtoBooleanFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoBooleanParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoBooleanParameterArray(typing.TypedDict, total=False): booleanValues: _list[bool] @typing.type_check_only -class EnterpriseCrmEventbusProtoBuganizerNotification( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoBuganizerNotification(typing.TypedDict, total=False): assigneeEmailAddress: str componentId: str templateId: str title: str @typing.type_check_only -class EnterpriseCrmEventbusProtoCloudKmsConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCloudKmsConfig(typing.TypedDict, total=False): gcpProjectId: str keyName: str keyRingName: str @@ -215,33 +201,27 @@ class EnterpriseCrmEventbusProtoCloudKmsConfig( serviceAccount: str @typing.type_check_only -class EnterpriseCrmEventbusProtoCloudLoggingDetails( - typing_extensions.TypedDict, total=False -): - cloudLoggingSeverity: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoCloudLoggingDetails(typing.TypedDict, total=False): + cloudLoggingSeverity: typing.Literal[ "CLOUD_LOGGING_SEVERITY_UNSPECIFIED", "INFO", "ERROR", "WARNING" ] enableCloudLogging: bool @typing.type_check_only -class EnterpriseCrmEventbusProtoCloudSchedulerConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCloudSchedulerConfig(typing.TypedDict, total=False): cronTab: str errorMessage: str location: str serviceAccountEmail: str @typing.type_check_only -class EnterpriseCrmEventbusProtoCombinedCondition( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCombinedCondition(typing.TypedDict, total=False): conditions: _list[EnterpriseCrmEventbusProtoCondition] @typing.type_check_only -class EnterpriseCrmEventbusProtoCondition(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoCondition(typing.TypedDict, total=False): eventPropertyKey: str - operator: typing_extensions.Literal[ + operator: typing.Literal[ "UNSET", "EQUALS", "CONTAINS", @@ -255,24 +235,20 @@ class EnterpriseCrmEventbusProtoCondition(typing_extensions.TypedDict, total=Fal value: EnterpriseCrmEventbusProtoValueType @typing.type_check_only -class EnterpriseCrmEventbusProtoConditionResult( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoConditionResult(typing.TypedDict, total=False): currentTaskNumber: str nextTaskNumber: str result: bool @typing.type_check_only class EnterpriseCrmEventbusProtoConditionalFailurePolicies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultFailurePolicy: EnterpriseCrmEventbusProtoFailurePolicy failurePolicies: _list[EnterpriseCrmEventbusProtoFailurePolicy] @typing.type_check_only -class EnterpriseCrmEventbusProtoConnectorsConnection( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoConnectorsConnection(typing.TypedDict, total=False): connectionName: str connectorVersion: str host: str @@ -280,10 +256,10 @@ class EnterpriseCrmEventbusProtoConnectorsConnection( @typing.type_check_only class EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connection: EnterpriseCrmEventbusProtoConnectorsConnection - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "EXECUTE_ACTION", "LIST_ENTITIES", @@ -295,28 +271,24 @@ class EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoCoordinate(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoCoordinate(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class EnterpriseCrmEventbusProtoCustomSuspensionRequest( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCustomSuspensionRequest(typing.TypedDict, total=False): postToQueueWithTriggerIdRequest: ( GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest ) suspensionInfoEventParameterKey: str @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleArray(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoDoubleArray(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoDoubleArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -337,10 +309,8 @@ class EnterpriseCrmEventbusProtoDoubleArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoDoubleFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "TO_JSON", "TO_STRING", @@ -361,35 +331,29 @@ class EnterpriseCrmEventbusProtoDoubleFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoDoubleParameterArray(typing.TypedDict, total=False): doubleValues: _list[float] @typing.type_check_only -class EnterpriseCrmEventbusProtoErrorDetail(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoErrorDetail(typing.TypedDict, total=False): errorCode: CrmlogErrorCode errorMessage: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARN", "INFO"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARN", "INFO"] taskNumber: int @typing.type_check_only -class EnterpriseCrmEventbusProtoEventBusProperties( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventBusProperties(typing.TypedDict, total=False): properties: _list[EnterpriseCrmEventbusProtoPropertyEntry] @typing.type_check_only -class EnterpriseCrmEventbusProtoEventExecutionDetails( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventExecutionDetails(typing.TypedDict, total=False): cancelReason: str eventAttemptStats: _list[ EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats ] eventExecutionSnapshot: _list[EnterpriseCrmEventbusProtoEventExecutionSnapshot] eventExecutionSnapshotsSize: str - eventExecutionState: typing_extensions.Literal[ + eventExecutionState: typing.Literal[ "UNSPECIFIED", "ON_HOLD", "IN_PROCESS", @@ -407,15 +371,13 @@ class EnterpriseCrmEventbusProtoEventExecutionDetails( @typing.type_check_only class EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class EnterpriseCrmEventbusProtoEventExecutionSnapshot( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventExecutionSnapshot(typing.TypedDict, total=False): checkpointTaskNumber: str clientId: str conditionResults: _list[EnterpriseCrmEventbusProtoConditionResult] @@ -434,7 +396,7 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot( @typing.type_check_only class EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ancestorIterationNumbers: _list[str] ancestorTaskNumbers: _list[str] @@ -446,35 +408,29 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMeta taskNumber: str @typing.type_check_only -class EnterpriseCrmEventbusProtoEventParameters( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventParameters(typing.TypedDict, total=False): parameters: _list[EnterpriseCrmEventbusProtoParameterEntry] @typing.type_check_only -class EnterpriseCrmEventbusProtoExecutionTraceInfo( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoExecutionTraceInfo(typing.TypedDict, total=False): parentEventExecutionInfoId: str traceId: str @typing.type_check_only -class EnterpriseCrmEventbusProtoExternalTraffic( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoExternalTraffic(typing.TypedDict, total=False): enableInternalIp: bool gcpProjectId: str gcpProjectNumber: str location: str retryRequestForQuota: bool - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "APIGEE", "SECURITY"] + source: typing.Literal["SOURCE_UNSPECIFIED", "APIGEE", "SECURITY"] @typing.type_check_only -class EnterpriseCrmEventbusProtoFailurePolicy(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoFailurePolicy(typing.TypedDict, total=False): intervalInSeconds: str maxNumRetries: int retryCondition: str - retryStrategy: typing_extensions.Literal[ + retryStrategy: typing.Literal[ "UNSPECIFIED", "IGNORE", "NONE", @@ -486,10 +442,10 @@ class EnterpriseCrmEventbusProtoFailurePolicy(typing_extensions.TypedDict, total ] @typing.type_check_only -class EnterpriseCrmEventbusProtoField(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal["UNSPECIFIED", "OPTIONAL"] +class EnterpriseCrmEventbusProtoField(typing.TypedDict, total=False): + cardinality: typing.Literal["UNSPECIFIED", "OPTIONAL"] defaultValue: EnterpriseCrmEventbusProtoParameterValueType - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -514,18 +470,16 @@ class EnterpriseCrmEventbusProtoField(typing_extensions.TypedDict, total=False): transformExpression: EnterpriseCrmEventbusProtoTransformExpression @typing.type_check_only -class EnterpriseCrmEventbusProtoFieldMappingConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoFieldMappingConfig(typing.TypedDict, total=False): mappedFields: _list[EnterpriseCrmEventbusProtoMappedField] @typing.type_check_only -class EnterpriseCrmEventbusProtoFunction(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoFunction(typing.TypedDict, total=False): functionType: EnterpriseCrmEventbusProtoFunctionType parameters: _list[EnterpriseCrmEventbusProtoTransformExpression] @typing.type_check_only -class EnterpriseCrmEventbusProtoFunctionType(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoFunctionType(typing.TypedDict, total=False): baseFunction: EnterpriseCrmEventbusProtoBaseFunction booleanArrayFunction: EnterpriseCrmEventbusProtoBooleanArrayFunction booleanFunction: EnterpriseCrmEventbusProtoBooleanFunction @@ -540,14 +494,12 @@ class EnterpriseCrmEventbusProtoFunctionType(typing_extensions.TypedDict, total= stringFunction: EnterpriseCrmEventbusProtoStringFunction @typing.type_check_only -class EnterpriseCrmEventbusProtoIntArray(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoIntArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoIntArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoIntArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -568,8 +520,8 @@ class EnterpriseCrmEventbusProtoIntArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoIntFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoIntFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "ADD", "SUBTRACT", @@ -589,14 +541,12 @@ class EnterpriseCrmEventbusProtoIntFunction(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class EnterpriseCrmEventbusProtoIntParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoIntParameterArray(typing.TypedDict, total=False): intValues: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoJsonFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoJsonFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET_PROPERTY", "GET_ELEMENT", @@ -624,21 +574,19 @@ class EnterpriseCrmEventbusProtoJsonFunction(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoLogSettings(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoLogSettings(typing.TypedDict, total=False): logFieldName: str - seedPeriod: typing_extensions.Literal[ - "SEED_PERIOD_UNSPECIFIED", "DAY", "WEEK", "MONTH" - ] - seedScope: typing_extensions.Literal[ + seedPeriod: typing.Literal["SEED_PERIOD_UNSPECIFIED", "DAY", "WEEK", "MONTH"] + seedScope: typing.Literal[ "SEED_SCOPE_UNSPECIFIED", "EVENT_NAME", "TIME_PERIOD", "PARAM_NAME" ] @typing.type_check_only -class EnterpriseCrmEventbusProtoLoopMetadata(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoLoopMetadata(typing.TypedDict, total=False): currentIterationCount: str currentIterationDetail: str errorMsg: str - failureLocation: typing_extensions.Literal[ + failureLocation: typing.Literal[ "UNKNOWN", "SUBWORKFLOW", "PARAM_OVERRIDING", @@ -650,12 +598,12 @@ class EnterpriseCrmEventbusProtoLoopMetadata(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoMappedField(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoMappedField(typing.TypedDict, total=False): inputField: EnterpriseCrmEventbusProtoField outputField: EnterpriseCrmEventbusProtoField @typing.type_check_only -class EnterpriseCrmEventbusProtoNextTask(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoNextTask(typing.TypedDict, total=False): combinedConditions: _list[EnterpriseCrmEventbusProtoCombinedCondition] condition: str description: str @@ -664,22 +612,16 @@ class EnterpriseCrmEventbusProtoNextTask(typing_extensions.TypedDict, total=Fals taskNumber: str @typing.type_check_only -class EnterpriseCrmEventbusProtoNextTeardownTask( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoNextTeardownTask(typing.TypedDict, total=False): name: str @typing.type_check_only -class EnterpriseCrmEventbusProtoNodeIdentifier( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoNodeIdentifier(typing.TypedDict, total=False): elementIdentifier: str - elementType: typing_extensions.Literal[ - "UNKNOWN_TYPE", "TASK_CONFIG", "TRIGGER_CONFIG" - ] + elementType: typing.Literal["UNKNOWN_TYPE", "TASK_CONFIG", "TRIGGER_CONFIG"] @typing.type_check_only -class EnterpriseCrmEventbusProtoNotification(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoNotification(typing.TypedDict, total=False): buganizerNotification: EnterpriseCrmEventbusProtoBuganizerNotification emailAddress: EnterpriseCrmEventbusProtoAddress escalatorQueue: str @@ -687,18 +629,16 @@ class EnterpriseCrmEventbusProtoNotification(typing_extensions.TypedDict, total= request: EnterpriseCrmEventbusProtoCustomSuspensionRequest @typing.type_check_only -class EnterpriseCrmEventbusProtoParamSpecEntryConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParamSpecEntryConfig(typing.TypedDict, total=False): descriptivePhrase: str helpText: str hideDefaultValue: bool - inputDisplayOption: typing_extensions.Literal[ + inputDisplayOption: typing.Literal[ "DEFAULT", "STRING_MULTI_LINE", "NUMBER_SLIDER", "BOOLEAN_TOGGLE" ] isHidden: bool label: str - parameterNameOption: typing_extensions.Literal[ + parameterNameOption: typing.Literal[ "DEFAULT_NOT_PARAMETER_NAME", "IS_PARAMETER_NAME", "KEY_IS_PARAMETER_NAME", @@ -709,14 +649,14 @@ class EnterpriseCrmEventbusProtoParamSpecEntryConfig( @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullName: str path: str @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doubleRange: EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange intRange: EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange @@ -724,37 +664,35 @@ class EnterpriseCrmEventbusProtoParamSpecEntryValidationRule( @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: float min: float @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: str min: str @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclusive: bool regex: str @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterEntry( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterEntry(typing.TypedDict, total=False): key: str masked: bool value: EnterpriseCrmEventbusProtoParameterValueType @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterMap(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoParameterMap(typing.TypedDict, total=False): entries: _list[EnterpriseCrmEventbusProtoParameterMapEntry] - keyType: typing_extensions.Literal[ + keyType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -774,7 +712,7 @@ class EnterpriseCrmEventbusProtoParameterMap(typing_extensions.TypedDict, total= "NON_SERIALIZABLE_OBJECT", "JSON_VALUE", ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -796,23 +734,17 @@ class EnterpriseCrmEventbusProtoParameterMap(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterMapEntry( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterMapEntry(typing.TypedDict, total=False): key: EnterpriseCrmEventbusProtoParameterMapField value: EnterpriseCrmEventbusProtoParameterMapField @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterMapField( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterMapField(typing.TypedDict, total=False): literalValue: EnterpriseCrmEventbusProtoParameterValueType referenceKey: str @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterValueType( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterValueType(typing.TypedDict, total=False): booleanArray: EnterpriseCrmEventbusProtoBooleanParameterArray booleanValue: bool doubleArray: EnterpriseCrmEventbusProtoDoubleParameterArray @@ -826,15 +758,13 @@ class EnterpriseCrmEventbusProtoParameterValueType( stringValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoPropertyEntry(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoPropertyEntry(typing.TypedDict, total=False): key: str value: EnterpriseCrmEventbusProtoValueType @typing.type_check_only -class EnterpriseCrmEventbusProtoProtoArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoProtoArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -851,8 +781,8 @@ class EnterpriseCrmEventbusProtoProtoArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoProtoFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoProtoFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET_STRING_SUBFIELD", "GET_INT_SUBFIELD", @@ -871,15 +801,11 @@ class EnterpriseCrmEventbusProtoProtoFunction(typing_extensions.TypedDict, total ] @typing.type_check_only -class EnterpriseCrmEventbusProtoProtoParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoProtoParameterArray(typing.TypedDict, total=False): protoValues: _list[dict[str, typing.Any]] @typing.type_check_only -class EnterpriseCrmEventbusProtoScatterResponse( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoScatterResponse(typing.TypedDict, total=False): errorMsg: str executionIds: _list[str] isSuccessful: bool @@ -888,19 +814,17 @@ class EnterpriseCrmEventbusProtoScatterResponse( @typing.type_check_only class EnterpriseCrmEventbusProtoSerializedObjectParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoStringArray(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoStringArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoStringArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoStringArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -917,10 +841,8 @@ class EnterpriseCrmEventbusProtoStringArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoStringFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoStringFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "CONCAT", "TO_UPPERCASE", @@ -942,18 +864,16 @@ class EnterpriseCrmEventbusProtoStringFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoStringParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoStringParameterArray(typing.TypedDict, total=False): stringValues: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoSuccessPolicy(typing_extensions.TypedDict, total=False): - finalState: typing_extensions.Literal["UNSPECIFIED", "SUCCEEDED", "SUSPENDED"] +class EnterpriseCrmEventbusProtoSuccessPolicy(typing.TypedDict, total=False): + finalState: typing.Literal["UNSPECIFIED", "SUCCEEDED", "SUSPENDED"] @typing.type_check_only class EnterpriseCrmEventbusProtoSuspensionAuthPermissions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gaiaIdentity: EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity googleGroup: EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity @@ -962,32 +882,26 @@ class EnterpriseCrmEventbusProtoSuspensionAuthPermissions( @typing.type_check_only class EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emailAddress: str gaiaId: str @typing.type_check_only -class EnterpriseCrmEventbusProtoSuspensionConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoSuspensionConfig(typing.TypedDict, total=False): customMessage: str notifications: _list[EnterpriseCrmEventbusProtoNotification] suspensionExpiration: EnterpriseCrmEventbusProtoSuspensionExpiration whoMayResolve: _list[EnterpriseCrmEventbusProtoSuspensionAuthPermissions] @typing.type_check_only -class EnterpriseCrmEventbusProtoSuspensionExpiration( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoSuspensionExpiration(typing.TypedDict, total=False): expireAfterMs: int liftWhenExpired: bool remindAfterMs: int @typing.type_check_only -class EnterpriseCrmEventbusProtoSuspensionResolutionInfo( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoSuspensionResolutionInfo(typing.TypedDict, total=False): audit: EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit clientId: str cloudKmsConfig: EnterpriseCrmEventbusProtoCloudKmsConfig @@ -996,12 +910,8 @@ class EnterpriseCrmEventbusProtoSuspensionResolutionInfo( eventExecutionInfoId: str externalTraffic: EnterpriseCrmEventbusProtoExternalTraffic lastModifiedTimestamp: str - product: typing_extensions.Literal[ - "UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY" - ] - status: typing_extensions.Literal[ - "PENDING_UNSPECIFIED", "REJECTED", "LIFTED", "CANCELED" - ] + product: typing.Literal["UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY"] + status: typing.Literal["PENDING_UNSPECIFIED", "REJECTED", "LIFTED", "CANCELED"] suspensionConfig: EnterpriseCrmEventbusProtoSuspensionConfig suspensionId: str taskNumber: str @@ -1010,23 +920,21 @@ class EnterpriseCrmEventbusProtoSuspensionResolutionInfo( @typing.type_check_only class EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resolvedBy: str resolvedByCpi: str timestamp: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskAlertConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTaskAlertConfig(typing.TypedDict, total=False): aggregationPeriod: str alertDisabled: bool alertName: str clientId: str durationThresholdMs: str errorEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "TASK_ERROR_RATE", "TASK_WARNING_RATE", @@ -1037,21 +945,19 @@ class EnterpriseCrmEventbusProtoTaskAlertConfig( numAggregationPeriods: int onlyFinalAttempt: bool playbookUrl: str - thresholdType: typing_extensions.Literal[ + thresholdType: typing.Literal[ "UNSPECIFIED_THRESHOLD_TYPE", "EXPECTED_MIN", "EXPECTED_MAX" ] thresholdValue: EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue warningEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskExecutionDetails( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTaskExecutionDetails(typing.TypedDict, total=False): skippedOnFailure: bool taskAttemptStats: _list[ EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats ] - taskExecutionState: typing_extensions.Literal[ + taskExecutionState: typing.Literal[ "UNSPECIFIED", "PENDING_EXECUTION", "IN_PROCESS", @@ -1070,16 +976,16 @@ class EnterpriseCrmEventbusProtoTaskExecutionDetails( @typing.type_check_only class EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoTaskMetadata(typing.TypedDict, total=False): activeTaskName: str admins: _list[EnterpriseCrmEventbusProtoTaskMetadataAdmin] - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED_CATEGORY", "CUSTOM", "FLOW_CONTROL", @@ -1092,7 +998,7 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= "TASK_RECOMMENDATIONS", ] codeSearchLink: str - defaultJsonValidationOption: typing_extensions.Literal[ + defaultJsonValidationOption: typing.Literal[ "UNSPECIFIED_JSON_VALIDATION_OPTION", "SKIP", "PRE_EXECUTION", @@ -1103,7 +1009,7 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= description: str descriptiveName: str docMarkdown: str - externalCategory: typing_extensions.Literal[ + externalCategory: typing.Literal[ "UNSPECIFIED_EXTERNAL_CATEGORY", "CORE", "CONNECTORS", @@ -1129,10 +1035,8 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= isDeprecated: bool name: str standaloneExternalDocHtml: str - status: typing_extensions.Literal[ - "UNSPECIFIED_STATUS", "DEFAULT_INACTIVE", "ACTIVE" - ] - system: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED_STATUS", "DEFAULT_INACTIVE", "ACTIVE"] + system: typing.Literal[ "UNSPECIFIED_SYSTEM", "GENERIC", "BUGANIZER", @@ -1148,21 +1052,17 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= tags: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskMetadataAdmin( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTaskMetadataAdmin(typing.TypedDict, total=False): googleGroupEmail: str userEmail: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskUiConfig(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoTaskUiConfig(typing.TypedDict, total=False): taskUiModuleConfigs: _list[EnterpriseCrmEventbusProtoTaskUiModuleConfig] @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskUiModuleConfig( - typing_extensions.TypedDict, total=False -): - moduleId: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoTaskUiModuleConfig(typing.TypedDict, total=False): + moduleId: typing.Literal[ "UNSPECIFIED_TASK_MODULE", "LABEL", "ERROR_HANDLING", @@ -1186,13 +1086,11 @@ class EnterpriseCrmEventbusProtoTaskUiModuleConfig( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoTeardown(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoTeardown(typing.TypedDict, total=False): teardownTaskConfigs: _list[EnterpriseCrmEventbusProtoTeardownTaskConfig] @typing.type_check_only -class EnterpriseCrmEventbusProtoTeardownTaskConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTeardownTaskConfig(typing.TypedDict, total=False): creatorEmail: str name: str nextTeardownTask: EnterpriseCrmEventbusProtoNextTeardownTask @@ -1201,27 +1099,23 @@ class EnterpriseCrmEventbusProtoTeardownTaskConfig( teardownTaskImplementationClassName: str @typing.type_check_only -class EnterpriseCrmEventbusProtoToken(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoToken(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTransformExpression( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTransformExpression(typing.TypedDict, total=False): initialValue: EnterpriseCrmEventbusProtoBaseValue transformationFunctions: _list[EnterpriseCrmEventbusProtoFunction] @typing.type_check_only -class EnterpriseCrmEventbusProtoTriggerCriteria( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTriggerCriteria(typing.TypedDict, total=False): condition: str parameters: EnterpriseCrmEventbusProtoEventParameters triggerCriteriaTaskImplementationClassName: str @typing.type_check_only -class EnterpriseCrmEventbusProtoValueType(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoValueType(typing.TypedDict, total=False): booleanValue: bool doubleArray: EnterpriseCrmEventbusProtoDoubleArray doubleValue: float @@ -1232,16 +1126,14 @@ class EnterpriseCrmEventbusProtoValueType(typing_extensions.TypedDict, total=Fal stringValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoWorkflowAlertConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoWorkflowAlertConfig(typing.TypedDict, total=False): aggregationPeriod: str alertDisabled: bool alertName: str clientId: str durationThresholdMs: str errorEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "EVENT_ERROR_RATE", "EVENT_WARNING_RATE", @@ -1257,14 +1149,14 @@ class EnterpriseCrmEventbusProtoWorkflowAlertConfig( numAggregationPeriods: int onlyFinalAttempt: bool playbookUrl: str - thresholdType: typing_extensions.Literal[ + thresholdType: typing.Literal[ "UNSPECIFIED_THRESHOLD_TYPE", "EXPECTED_MIN", "EXPECTED_MAX" ] thresholdValue: EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue warningEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList @typing.type_check_only -class EnterpriseCrmEventbusStats(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusStats(typing.TypedDict, total=False): dimensions: EnterpriseCrmEventbusStatsDimensions durationInSeconds: float errorRate: float @@ -1272,13 +1164,11 @@ class EnterpriseCrmEventbusStats(typing_extensions.TypedDict, total=False): warningRate: float @typing.type_check_only -class EnterpriseCrmEventbusStatsDimensions(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusStatsDimensions(typing.TypedDict, total=False): clientId: str - enumFilterType: typing_extensions.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] + enumFilterType: typing.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] errorEnumString: str - retryAttempt: typing_extensions.Literal[ - "UNSPECIFIED", "FINAL", "RETRYABLE", "CANCELED" - ] + retryAttempt: typing.Literal["UNSPECIFIED", "FINAL", "RETRYABLE", "CANCELED"] taskName: str taskNumber: str triggerId: str @@ -1288,19 +1178,19 @@ class EnterpriseCrmEventbusStatsDimensions(typing_extensions.TypedDict, total=Fa @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): booleanValues: _list[bool] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doubleValues: _list[float] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cancelReason: str eventAttemptStats: _list[ @@ -1310,7 +1200,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot ] eventExecutionSnapshotsSize: str - eventExecutionState: typing_extensions.Literal[ + eventExecutionState: typing.Literal[ "UNSPECIFIED", "ON_HOLD", "IN_PROCESS", @@ -1328,7 +1218,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str cloudLoggingDetails: EnterpriseCrmEventbusProtoCloudLoggingDetails @@ -1340,7 +1230,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( executionTraceInfo: EnterpriseCrmEventbusProtoExecutionTraceInfo integrationVersionUserLabel: str lastModifiedTime: str - postMethod: typing_extensions.Literal[ + postMethod: typing.Literal[ "UNSPECIFIED", "POST", "POST_TO_QUEUE", @@ -1348,9 +1238,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( "POST_BY_EVENT_CONFIG_ID", "POST_WITH_EVENT_DETAILS", ] - product: typing_extensions.Literal[ - "UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY" - ] + product: typing.Literal["UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY"] replayInfo: EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo requestId: str requestParams: EnterpriseCrmFrontendsEventbusProtoEventParameters @@ -1364,10 +1252,10 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): originalExecutionInfoId: str - replayMode: typing_extensions.Literal[ + replayMode: typing.Literal[ "REPLAY_MODE_UNSPECIFIED", "REPLAY_MODE_FROM_BEGINNING", "REPLAY_MODE_POINT_OF_FAILURE", @@ -1377,7 +1265,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): checkpointTaskNumber: str conditionResults: _list[EnterpriseCrmEventbusProtoConditionResult] @@ -1393,25 +1281,21 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot( taskName: str @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoEventParameters( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoEventParameters(typing.TypedDict, total=False): parameters: _list[EnterpriseCrmFrontendsEventbusProtoParameterEntry] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoIntParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intValues: _list[str] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoParamSpecEntry( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoParamSpecEntry(typing.TypedDict, total=False): className: str collectionElementClassName: str config: EnterpriseCrmEventbusProtoParamSpecEntryConfig - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1442,15 +1326,13 @@ class EnterpriseCrmFrontendsEventbusProtoParamSpecEntry( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: _list[EnterpriseCrmFrontendsEventbusProtoParamSpecEntry] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoParameterEntry( - typing_extensions.TypedDict, total=False -): - dataType: typing_extensions.Literal[ +class EnterpriseCrmFrontendsEventbusProtoParameterEntry(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1475,11 +1357,9 @@ class EnterpriseCrmFrontendsEventbusProtoParameterEntry( value: EnterpriseCrmFrontendsEventbusProtoParameterValueType @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoParameterMap( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoParameterMap(typing.TypedDict, total=False): entries: _list[EnterpriseCrmFrontendsEventbusProtoParameterMapEntry] - keyType: typing_extensions.Literal[ + keyType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1499,7 +1379,7 @@ class EnterpriseCrmFrontendsEventbusProtoParameterMap( "NON_SERIALIZABLE_OBJECT", "JSON_VALUE", ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1522,21 +1402,21 @@ class EnterpriseCrmFrontendsEventbusProtoParameterMap( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParameterMapEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: EnterpriseCrmFrontendsEventbusProtoParameterMapField value: EnterpriseCrmFrontendsEventbusProtoParameterMapField @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParameterMapField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): literalValue: EnterpriseCrmFrontendsEventbusProtoParameterValueType referenceKey: str @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParameterValueType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): booleanArray: EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray booleanValue: bool @@ -1553,13 +1433,13 @@ class EnterpriseCrmFrontendsEventbusProtoParameterValueType( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoProtoParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): protoValues: _list[dict[str, typing.Any]] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoRollbackStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: EnterpriseCrmFrontendsEventbusProtoEventParameters rollbackTaskImplementationClassName: str @@ -1567,20 +1447,18 @@ class EnterpriseCrmFrontendsEventbusProtoRollbackStrategy( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectValue: str @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoStringParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): stringValues: _list[str] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoTaskConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoTaskConfig(typing.TypedDict, total=False): alertConfigs: _list[EnterpriseCrmEventbusProtoTaskAlertConfig] conditionalFailurePolicies: EnterpriseCrmEventbusProtoConditionalFailurePolicies createTime: str @@ -1588,12 +1466,12 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig( description: str disableStrictTypeValidation: bool errorCatcherId: str - externalTaskType: typing_extensions.Literal[ + externalTaskType: typing.Literal[ "EXTERNAL_TASK_TYPE_UNSPECIFIED", "NORMAL_TASK", "ERROR_TASK" ] failurePolicy: EnterpriseCrmEventbusProtoFailurePolicy incomingEdgeCount: int - jsonValidationOption: typing_extensions.Literal[ + jsonValidationOption: typing.Literal[ "UNSPECIFIED_JSON_VALIDATION_OPTION", "SKIP", "PRE_EXECUTION", @@ -1603,7 +1481,7 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig( label: str lastModifiedTime: str nextTasks: _list[EnterpriseCrmEventbusProtoNextTask] - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] parameters: dict[str, typing.Any] @@ -1614,30 +1492,26 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig( successPolicy: EnterpriseCrmEventbusProtoSuccessPolicy synchronousCallFailurePolicy: EnterpriseCrmEventbusProtoFailurePolicy taskEntity: EnterpriseCrmFrontendsEventbusProtoTaskEntity - taskExecutionStrategy: typing_extensions.Literal[ + taskExecutionStrategy: typing.Literal[ "WHEN_ALL_SUCCEED", "WHEN_ANY_SUCCEED", "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" ] taskName: str taskNumber: str taskSpec: str taskTemplateName: str - taskType: typing_extensions.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] + taskType: typing.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoTaskEntity( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoTaskEntity(typing.TypedDict, total=False): disabledForVpcSc: bool metadata: EnterpriseCrmEventbusProtoTaskMetadata paramSpecs: EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage stats: EnterpriseCrmEventbusStats - taskType: typing_extensions.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] + taskType: typing.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] uiConfig: EnterpriseCrmEventbusProtoTaskUiConfig @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoTriggerConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoTriggerConfig(typing.TypedDict, total=False): alertConfig: _list[EnterpriseCrmEventbusProtoWorkflowAlertConfig] cloudSchedulerConfig: EnterpriseCrmEventbusProtoCloudSchedulerConfig description: str @@ -1645,7 +1519,7 @@ class EnterpriseCrmFrontendsEventbusProtoTriggerConfig( errorCatcherId: str inputVariables: EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables label: str - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] outputVariables: EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables @@ -1657,7 +1531,7 @@ class EnterpriseCrmFrontendsEventbusProtoTriggerConfig( triggerId: str triggerName: str triggerNumber: str - triggerType: typing_extensions.Literal[ + triggerType: typing.Literal[ "UNKNOWN", "CLOUD_PUBSUB", "GOOPS", @@ -1678,18 +1552,18 @@ class EnterpriseCrmFrontendsEventbusProtoTriggerConfig( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: EnterpriseCrmEventbusProtoAttributes children: _list[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] containsLargeData: bool - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1711,9 +1585,7 @@ class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( ] defaultValue: EnterpriseCrmFrontendsEventbusProtoParameterValueType description: str - inOutType: typing_extensions.Literal[ - "IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT" - ] + inOutType: typing.Literal["IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT"] isTransient: bool jsonSchema: str key: str @@ -1726,15 +1598,15 @@ class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoWorkflowParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: _list[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1AuthConfig(typing.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] authKey: str - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", @@ -1755,7 +1627,7 @@ class GoogleCloudConnectorsV1AuthConfig(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authCode: str authUri: str @@ -1768,7 +1640,7 @@ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow( @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authCode: str redirectUri: str @@ -1776,52 +1648,46 @@ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged( @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: GoogleCloudConnectorsV1Secret @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer(typing.TypedDict, total=False): clientKey: GoogleCloudConnectorsV1Secret jwtClaims: GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audience: str issuer: str subject: str @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfigSshPublicKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1AuthConfigSshPublicKey(typing.TypedDict, total=False): certType: str sshClientCert: GoogleCloudConnectorsV1Secret sshClientCertPass: GoogleCloudConnectorsV1Secret username: str @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfigUserPassword( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1AuthConfigUserPassword(typing.TypedDict, total=False): password: GoogleCloudConnectorsV1Secret username: str @typing.type_check_only -class GoogleCloudConnectorsV1BillingConfig(typing_extensions.TypedDict, total=False): - billingCategory: typing_extensions.Literal[ +class GoogleCloudConnectorsV1BillingConfig(typing.TypedDict, total=False): + billingCategory: typing.Literal[ "BILLING_CATEGORY_UNSPECIFIED", "GCP_AND_TECHNICAL_CONNECTOR", "NON_GCP_CONNECTOR", ] @typing.type_check_only -class GoogleCloudConnectorsV1ConfigVariable(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ConfigVariable(typing.TypedDict, total=False): boolValue: bool encryptionKeyValue: GoogleCloudConnectorsV1EncryptionKey intValue: str @@ -1830,7 +1696,7 @@ class GoogleCloudConnectorsV1ConfigVariable(typing_extensions.TypedDict, total=F stringValue: str @typing.type_check_only -class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1Connection(typing.TypedDict, total=False): asyncOperationsEnabled: bool authConfig: GoogleCloudConnectorsV1AuthConfig authOverrideEnabled: bool @@ -1839,7 +1705,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False connectionRevision: str connectorVersion: str connectorVersionInfraConfig: GoogleCloudConnectorsV1ConnectorVersionInfraConfig - connectorVersionLaunchStage: typing_extensions.Literal[ + connectorVersionLaunchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", @@ -1853,7 +1719,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False envoyImageLocation: str euaOauthAuthConfig: GoogleCloudConnectorsV1AuthConfig eventingConfig: GoogleCloudConnectorsV1EventingConfig - eventingEnablementType: typing_extensions.Literal[ + eventingEnablementType: typing.Literal[ "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", "EVENTING_AND_CONNECTION", "ONLY_EVENTING", @@ -1872,18 +1738,16 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False serviceDirectory: str sslConfig: GoogleCloudConnectorsV1SslConfig status: GoogleCloudConnectorsV1ConnectionStatus - subscriptionType: typing_extensions.Literal[ - "SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID" - ] + subscriptionType: typing.Literal["SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID"] suspended: bool tlsServiceDirectory: str trafficShapingConfigs: _list[GoogleCloudConnectorsV1TrafficShapingConfig] updateTime: str @typing.type_check_only -class GoogleCloudConnectorsV1ConnectionStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ConnectionStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -1896,14 +1760,12 @@ class GoogleCloudConnectorsV1ConnectionStatus(typing_extensions.TypedDict, total status: str @typing.type_check_only -class GoogleCloudConnectorsV1ConnectorVersionInfraConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1ConnectorVersionInfraConfig(typing.TypedDict, total=False): connectionRatelimitWindowSeconds: str - deploymentModel: typing_extensions.Literal[ + deploymentModel: typing.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "GKE_MST", "CLOUD_RUN_MST" ] - deploymentModelMigrationState: typing_extensions.Literal[ + deploymentModelMigrationState: typing.Literal[ "DEPLOYMENT_MODEL_MIGRATION_STATE_UNSPECIFIED", "IN_PROGRESS", "COMPLETED", @@ -1917,38 +1779,34 @@ class GoogleCloudConnectorsV1ConnectorVersionInfraConfig( resourceLimits: GoogleCloudConnectorsV1ResourceLimits resourceRequests: GoogleCloudConnectorsV1ResourceRequests sharedDeployment: str - tlsMigrationState: typing_extensions.Literal[ + tlsMigrationState: typing.Literal[ "TLS_MIGRATION_STATE_UNSPECIFIED", "TLS_MIGRATION_NOT_STARTED", "TLS_MIGRATION_COMPLETED", ] @typing.type_check_only -class GoogleCloudConnectorsV1Destination(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1Destination(typing.TypedDict, total=False): host: str port: int serviceAttachment: str @typing.type_check_only -class GoogleCloudConnectorsV1DestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1DestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudConnectorsV1Destination] key: str @typing.type_check_only -class GoogleCloudConnectorsV1EncryptionKey(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1EncryptionKey(typing.TypedDict, total=False): kmsKeyName: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED"] @typing.type_check_only -class GoogleCloudConnectorsV1EnrichmentConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1EnrichmentConfig(typing.TypedDict, total=False): appendAcl: bool @typing.type_check_only -class GoogleCloudConnectorsV1EventingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1EventingConfig(typing.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] allowedEventTypes: _list[str] authConfig: GoogleCloudConnectorsV1AuthConfig @@ -1965,15 +1823,13 @@ class GoogleCloudConnectorsV1EventingConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudConnectorsV1EventingConfigDeadLetterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str topic: str @typing.type_check_only -class GoogleCloudConnectorsV1EventingRuntimeData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1EventingRuntimeData(typing.TypedDict, total=False): eventsListenerEndpoint: str eventsListenerPscSa: str status: GoogleCloudConnectorsV1EventingStatus @@ -1982,7 +1838,7 @@ class GoogleCloudConnectorsV1EventingRuntimeData( @typing.type_check_only class GoogleCloudConnectorsV1EventingRuntimeDataWebhookData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] createTime: str @@ -1993,75 +1849,71 @@ class GoogleCloudConnectorsV1EventingRuntimeDataWebhookData( @typing.type_check_only class GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): webhookData: _list[GoogleCloudConnectorsV1EventingRuntimeDataWebhookData] @typing.type_check_only -class GoogleCloudConnectorsV1EventingStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1EventingStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "ERROR", "INGRESS_ENDPOINT_REQUIRED" ] @typing.type_check_only -class GoogleCloudConnectorsV1HPAConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1HPAConfig(typing.TypedDict, total=False): cpuUtilizationThreshold: str memoryUtilizationThreshold: str @typing.type_check_only -class GoogleCloudConnectorsV1LockConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1LockConfig(typing.TypedDict, total=False): locked: bool reason: str @typing.type_check_only -class GoogleCloudConnectorsV1LogConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1LogConfig(typing.TypedDict, total=False): enabled: bool - level: typing_extensions.Literal["LOG_LEVEL_UNSPECIFIED", "ERROR", "INFO", "DEBUG"] + level: typing.Literal["LOG_LEVEL_UNSPECIFIED", "ERROR", "INFO", "DEBUG"] @typing.type_check_only -class GoogleCloudConnectorsV1NodeConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1NodeConfig(typing.TypedDict, total=False): maxNodeCount: int minNodeCount: int @typing.type_check_only -class GoogleCloudConnectorsV1ResourceLimits(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ResourceLimits(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class GoogleCloudConnectorsV1ResourceRequests(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ResourceRequests(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class GoogleCloudConnectorsV1Secret(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1Secret(typing.TypedDict, total=False): secretVersion: str @typing.type_check_only -class GoogleCloudConnectorsV1SslConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1SslConfig(typing.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] - clientCertType: typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] + clientCertType: typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] clientCertificate: GoogleCloudConnectorsV1Secret clientPrivateKey: GoogleCloudConnectorsV1Secret clientPrivateKeyPass: GoogleCloudConnectorsV1Secret privateServerCertificate: GoogleCloudConnectorsV1Secret - serverCertType: typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] - trustModel: typing_extensions.Literal["PUBLIC", "PRIVATE", "INSECURE"] - type: typing_extensions.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] + serverCertType: typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] + trustModel: typing.Literal["PUBLIC", "PRIVATE", "INSECURE"] + type: typing.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] useSsl: bool @typing.type_check_only -class GoogleCloudConnectorsV1TrafficShapingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1TrafficShapingConfig(typing.TypedDict, total=False): duration: str quotaLimit: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAccessToken( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaAccessToken(typing.TypedDict, total=False): accessToken: str accessTokenExpireTime: str refreshToken: str @@ -2069,15 +1921,13 @@ class GoogleCloudIntegrationsV1alphaAccessToken( tokenType: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaApiTriggerResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaApiTriggerResource(typing.TypedDict, total=False): integrationResource: str triggerId: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAssertion(typing_extensions.TypedDict, total=False): - assertionStrategy: typing_extensions.Literal[ +class GoogleCloudIntegrationsV1alphaAssertion(typing.TypedDict, total=False): + assertionStrategy: typing.Literal[ "ASSERTION_STRATEGY_UNSPECIFIED", "ASSERT_SUCCESSFUL_EXECUTION", "ASSERT_FAILED_EXECUTION", @@ -2092,32 +1942,24 @@ class GoogleCloudIntegrationsV1alphaAssertion(typing_extensions.TypedDict, total retryCount: int @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAssertionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaAssertionResult(typing.TypedDict, total=False): assertion: GoogleCloudIntegrationsV1alphaAssertion failureMessage: str - status: typing_extensions.Literal[ - "ASSERTION_STATUS_UNSPECIFIED", "SUCCEEDED", "FAILED" - ] + status: typing.Literal["ASSERTION_STATUS_UNSPECIFIED", "SUCCEEDED", "FAILED"] taskName: str taskNumber: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAttemptStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaAttemptStats(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAuthConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaAuthConfig(typing.TypedDict, total=False): certificateId: str createTime: str creatorEmail: str - credentialType: typing_extensions.Literal[ + credentialType: typing.Literal[ "CREDENTIAL_TYPE_UNSPECIFIED", "USERNAME_AND_PASSWORD", "API_KEY", @@ -2140,7 +1982,7 @@ class GoogleCloudIntegrationsV1alphaAuthConfig( name: str overrideValidTime: str reason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "VALID", "INVALID", @@ -2151,40 +1993,36 @@ class GoogleCloudIntegrationsV1alphaAuthConfig( ] updateTime: str validTime: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "AUTH_CONFIG_VISIBILITY_UNSPECIFIED", "PRIVATE", "CLIENT_VISIBLE" ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAuthToken(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaAuthToken(typing.TypedDict, total=False): token: str type: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaBooleanParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): booleanValues: _list[bool] @typing.type_check_only class GoogleCloudIntegrationsV1alphaCancelExecutionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cancelReason: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaCancelExecutionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isCanceled: bool @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCertificate( - typing_extensions.TypedDict, total=False -): - certificateStatus: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED" - ] +class GoogleCloudIntegrationsV1alphaCertificate(typing.TypedDict, total=False): + certificateStatus: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "EXPIRED"] credentialId: str description: str displayName: str @@ -2196,36 +2034,32 @@ class GoogleCloudIntegrationsV1alphaCertificate( @typing.type_check_only class GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerConfig: GoogleCloudIntegrationsV1alphaCustomerConfig updateMask: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerConfig: GoogleCloudIntegrationsV1alphaCustomerConfig @typing.type_check_only -class GoogleCloudIntegrationsV1alphaClientCertificate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaClientCertificate(typing.TypedDict, total=False): encryptedPrivateKey: str passphrase: str sslCertificate: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaClientConfig( - typing_extensions.TypedDict, total=False -): - billingType: typing_extensions.Literal[ +class GoogleCloudIntegrationsV1alphaClientConfig(typing.TypedDict, total=False): + billingType: typing.Literal[ "BILLING_TYPE_UNSPECIFIED", "BILLING_TYPE_APIGEE_TRIALS", "BILLING_TYPE_APIGEE_SUBSCRIPTION", "BILLING_TYPE_PAYG", ] - clientState: typing_extensions.Literal[ + clientState: typing.Literal[ "CLIENT_STATE_UNSPECIFIED", "CLIENT_STATE_ACTIVE", "CLIENT_STATE_DISABLED" ] cloudKmsConfig: GoogleCloudIntegrationsV1alphaCloudKmsConfig @@ -2244,9 +2078,7 @@ class GoogleCloudIntegrationsV1alphaClientConfig( runAsServiceAccount: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCloudKmsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCloudKmsConfig(typing.TypedDict, total=False): key: str keyVersion: str kmsLocation: str @@ -2254,18 +2086,14 @@ class GoogleCloudIntegrationsV1alphaCloudKmsConfig( kmsRing: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCloudLoggingDetails( - typing_extensions.TypedDict, total=False -): - cloudLoggingSeverity: typing_extensions.Literal[ +class GoogleCloudIntegrationsV1alphaCloudLoggingDetails(typing.TypedDict, total=False): + cloudLoggingSeverity: typing.Literal[ "CLOUD_LOGGING_SEVERITY_UNSPECIFIED", "INFO", "ERROR", "WARNING" ] enableCloudLogging: bool @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCloudSchedulerConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCloudSchedulerConfig(typing.TypedDict, total=False): cronTab: str errorMessage: str location: str @@ -2273,61 +2101,57 @@ class GoogleCloudIntegrationsV1alphaCloudSchedulerConfig( @typing.type_check_only class GoogleCloudIntegrationsV1alphaConditionalFailurePolicies( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultFailurePolicy: GoogleCloudIntegrationsV1alphaFailurePolicy failurePolicies: _list[GoogleCloudIntegrationsV1alphaFailurePolicy] @typing.type_check_only class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actions: _list[str] entities: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCoordinate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCoordinate(typing.TypedDict, total=False): x: int y: int @typing.type_check_only class GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appsScriptProject: str authConfigId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): functionName: str functionRegion: str - gcfApiVersion: typing_extensions.Literal[ + gcfApiVersion: typing.Literal[ "GCF_API_VERSION_UNSPECIFIED", "API_VERSION_V1", "API_VERSION_V2" ] projectId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): triggerUrl: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCredential( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCredential(typing.TypedDict, total=False): authToken: GoogleCloudIntegrationsV1alphaAuthToken - credentialType: typing_extensions.Literal[ + credentialType: typing.Literal[ "CREDENTIAL_TYPE_UNSPECIFIED", "USERNAME_AND_PASSWORD", "API_KEY", @@ -2352,9 +2176,7 @@ class GoogleCloudIntegrationsV1alphaCredential( usernameAndPassword: GoogleCloudIntegrationsV1alphaUsernameAndPassword @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCustomerConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCustomerConfig(typing.TypedDict, total=False): cloudKmsConfig: GoogleCloudIntegrationsV1alphaCloudKmsConfig enableHttpCall: bool enableManagedAiFeatures: bool @@ -2363,56 +2185,52 @@ class GoogleCloudIntegrationsV1alphaCustomerConfig( @typing.type_check_only class GoogleCloudIntegrationsV1alphaDeprovisionClientRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudIntegrationsV1alphaDoubleParameterArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaDoubleParameterArray(typing.TypedDict, total=False): doubleValues: _list[float] @typing.type_check_only class GoogleCloudIntegrationsV1alphaDownloadExecutionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str files: _list[GoogleCloudIntegrationsV1alphaSerializedFile] @typing.type_check_only class GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): files: _list[GoogleCloudIntegrationsV1alphaFile] @typing.type_check_only class GoogleCloudIntegrationsV1alphaDownloadTemplateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regions: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaErrorCatcherConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaErrorCatcherConfig(typing.TypedDict, total=False): description: str errorCatcherId: str errorCatcherNumber: str @@ -2421,22 +2239,18 @@ class GoogleCloudIntegrationsV1alphaErrorCatcherConfig( startErrorTasks: _list[GoogleCloudIntegrationsV1alphaNextTask] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaEventParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaEventParameter(typing.TypedDict, total=False): key: str masked: bool value: GoogleCloudIntegrationsV1alphaValueType @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecuteEventResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaExecuteEventResponse(typing.TypedDict, total=False): executionId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doNotPropagateError: bool executionId: str @@ -2448,7 +2262,7 @@ class GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventParameters: EnterpriseCrmFrontendsEventbusProtoEventParameters executionFailed: bool @@ -2459,46 +2273,44 @@ class GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputParameters: dict[str, typing.Any] @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assertionResults: _list[GoogleCloudIntegrationsV1alphaAssertionResult] executionId: str outputParameters: dict[str, typing.Any] - testExecutionState: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PASSED", "FAILED" - ] + testExecutionState: typing.Literal["STATE_UNSPECIFIED", "PASSED", "FAILED"] @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): executeTestCaseResponses: _list[ GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecution(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaExecution(typing.TypedDict, total=False): cloudKmsKey: str cloudLoggingDetails: GoogleCloudIntegrationsV1alphaCloudLoggingDetails createTime: str directSubExecutions: _list[GoogleCloudIntegrationsV1alphaExecution] eventExecutionDetails: EnterpriseCrmEventbusProtoEventExecutionDetails executionDetails: GoogleCloudIntegrationsV1alphaExecutionDetails - executionMethod: typing_extensions.Literal[ + executionMethod: typing.Literal[ "EXECUTION_METHOD_UNSPECIFIED", "POST", "POST_TO_QUEUE", "SCHEDULE" ] - integrationVersionState: typing_extensions.Literal[ + integrationVersionState: typing.Literal[ "INTEGRATION_STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" ] name: str @@ -2512,13 +2324,11 @@ class GoogleCloudIntegrationsV1alphaExecution(typing_extensions.TypedDict, total updateTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecutionDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaExecutionDetails(typing.TypedDict, total=False): attemptStats: _list[GoogleCloudIntegrationsV1alphaAttemptStats] eventExecutionSnapshotsSize: str executionSnapshots: _list[GoogleCloudIntegrationsV1alphaExecutionSnapshot] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "PROCESSING", @@ -2530,11 +2340,9 @@ class GoogleCloudIntegrationsV1alphaExecutionDetails( ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecutionReplayInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaExecutionReplayInfo(typing.TypedDict, total=False): originalExecutionInfoId: str - replayMode: typing_extensions.Literal[ + replayMode: typing.Literal[ "REPLAY_MODE_UNSPECIFIED", "REPLAY_MODE_FROM_BEGINNING", "REPLAY_MODE_POINT_OF_FAILURE", @@ -2543,9 +2351,7 @@ class GoogleCloudIntegrationsV1alphaExecutionReplayInfo( replayedExecutionInfoIds: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecutionSnapshot( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaExecutionSnapshot(typing.TypedDict, total=False): checkpointTaskNumber: str executionSnapshotMetadata: ( GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata @@ -2555,7 +2361,7 @@ class GoogleCloudIntegrationsV1alphaExecutionSnapshot( @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ancestorIterationNumbers: _list[str] ancestorTaskNumbers: _list[str] @@ -2567,13 +2373,11 @@ class GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata( taskNumber: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaFailurePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaFailurePolicy(typing.TypedDict, total=False): condition: str intervalTime: str maxRetries: int - retryStrategy: typing_extensions.Literal[ + retryStrategy: typing.Literal[ "RETRY_STRATEGY_UNSPECIFIED", "IGNORE", "NONE", @@ -2585,68 +2389,62 @@ class GoogleCloudIntegrationsV1alphaFailurePolicy( ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaFile(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaFile(typing.TypedDict, total=False): integrationConfig: dict[str, typing.Any] integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion - type: typing_extensions.Literal[ + type: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES" ] @typing.type_check_only class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiTriggerResources: _list[GoogleCloudIntegrationsV1alphaApiTriggerResource] - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] @typing.type_check_only class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): openApiSpec: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaGenerateTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaGetClientMetadataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): properties: GoogleCloudIntegrationsV1alphaProjectProperties @typing.type_check_only -class GoogleCloudIntegrationsV1alphaGetClientResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaGetClientResponse(typing.TypedDict, total=False): client: GoogleCloudIntegrationsV1alphaClientConfig @typing.type_check_only class GoogleCloudIntegrationsV1alphaImportTemplateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integration: str subIntegrations: dict[str, typing.Any] @typing.type_check_only class GoogleCloudIntegrationsV1alphaImportTemplateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion subIntegrationVersions: _list[GoogleCloudIntegrationsV1alphaIntegrationVersion] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntParameterArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntParameterArray(typing.TypedDict, total=False): intValues: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntegration( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntegration(typing.TypedDict, total=False): active: bool createTime: str creatorEmail: str @@ -2657,14 +2455,14 @@ class GoogleCloudIntegrationsV1alphaIntegration( @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationAlertConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregationPeriod: str alertThreshold: int disableAlert: bool displayName: str durationThreshold: str - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "EVENT_ERROR_RATE", "EVENT_WARNING_RATE", @@ -2678,31 +2476,29 @@ class GoogleCloudIntegrationsV1alphaIntegrationAlertConfig( "TASK_PERCENTILE_DURATION", ] onlyFinalAttempt: bool - thresholdType: typing_extensions.Literal[ + thresholdType: typing.Literal[ "THRESHOLD_TYPE_UNSPECIFIED", "EXPECTED_MIN", "EXPECTED_MAX" ] thresholdValue: GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): absolute: str percentage: int @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationConfigParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: GoogleCloudIntegrationsV1alphaIntegrationParameter value: GoogleCloudIntegrationsV1alphaValueType @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntegrationParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntegrationParameter(typing.TypedDict, total=False): containsLargeData: bool - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -2725,9 +2521,7 @@ class GoogleCloudIntegrationsV1alphaIntegrationParameter( defaultValue: GoogleCloudIntegrationsV1alphaValueType description: str displayName: str - inputOutputType: typing_extensions.Literal[ - "IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT" - ] + inputOutputType: typing.Literal["IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT"] isTransient: bool jsonSchema: str key: str @@ -2736,14 +2530,12 @@ class GoogleCloudIntegrationsV1alphaIntegrationParameter( searchable: bool @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntegrationVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntegrationVersion(typing.TypedDict, total=False): cloudKmsKey: str cloudLoggingDetails: GoogleCloudIntegrationsV1alphaCloudLoggingDetails createTime: str createdFromTemplate: str - databasePersistencePolicy: typing_extensions.Literal[ + databasePersistencePolicy: typing.Literal[ "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", "DATABASE_PERSISTENCE_DISABLED", "DATABASE_PERSISTENCE_ASYNC", @@ -2759,7 +2551,7 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion( lastModifierEmail: str lockHolder: str name: str - origin: typing_extensions.Literal[ + origin: typing.Literal[ "UNSPECIFIED", "UI", "PIPER_V2", @@ -2770,12 +2562,10 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion( parentTemplateId: str runAsServiceAccount: str snapshotNumber: str - state: typing_extensions.Literal[ + state: typing.Literal[ "INTEGRATION_STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" ] - status: typing_extensions.Literal[ - "UNKNOWN", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" - ] + status: typing.Literal["UNKNOWN", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT"] taskConfigs: _list[GoogleCloudIntegrationsV1alphaTaskConfig] taskConfigsInternal: _list[EnterpriseCrmFrontendsEventbusProtoTaskConfig] teardown: EnterpriseCrmEventbusProtoTeardown @@ -2786,13 +2576,13 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion( @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion key: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaJwt(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaJwt(typing.TypedDict, total=False): jwt: str jwtHeader: str jwtPayload: str @@ -2800,52 +2590,52 @@ class GoogleCloudIntegrationsV1alphaJwt(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudIntegrationsV1alphaLiftSuspensionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suspensionResult: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaLiftSuspensionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventExecutionInfoId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scriptId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scriptId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListAuthConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authConfigs: _list[GoogleCloudIntegrationsV1alphaAuthConfig] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListCertificatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificates: _list[GoogleCloudIntegrationsV1alphaCertificate] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListConnectionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connections: _list[GoogleCloudConnectorsV1Connection] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListExecutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): executionInfos: _list[EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo] executions: _list[GoogleCloudIntegrationsV1alphaExecution] @@ -2853,7 +2643,7 @@ class GoogleCloudIntegrationsV1alphaListExecutionsResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersions: _list[GoogleCloudIntegrationsV1alphaIntegrationVersion] nextPageToken: str @@ -2861,66 +2651,64 @@ class GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaListIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrations: _list[GoogleCloudIntegrationsV1alphaIntegration] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str runtimeActionSchemas: _list[GoogleCloudIntegrationsV1alphaRuntimeActionSchema] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str runtimeEntitySchemas: _list[GoogleCloudIntegrationsV1alphaRuntimeEntitySchema] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sfdcChannels: _list[GoogleCloudIntegrationsV1alphaSfdcChannel] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sfdcInstances: _list[GoogleCloudIntegrationsV1alphaSfdcInstance] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListSuspensionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str suspensions: _list[GoogleCloudIntegrationsV1alphaSuspension] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListTemplatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str templates: _list[GoogleCloudIntegrationsV1alphaTemplate] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListTestCasesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str testCases: _list[GoogleCloudIntegrationsV1alphaTestCase] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaMockConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaMockConfig(typing.TypedDict, total=False): failedExecutions: str - mockStrategy: typing_extensions.Literal[ + mockStrategy: typing.Literal[ "MOCK_STRATEGY_UNSPECIFIED", "NO_MOCK_STRATEGY", "SPECIFIC_MOCK_STRATEGY", @@ -2930,7 +2718,7 @@ class GoogleCloudIntegrationsV1alphaMockConfig( parameters: _list[GoogleCloudIntegrationsV1alphaEventParameter] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaNextTask(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaNextTask(typing.TypedDict, total=False): condition: str description: str displayName: str @@ -2939,7 +2727,7 @@ class GoogleCloudIntegrationsV1alphaNextTask(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: GoogleCloudIntegrationsV1alphaAccessToken applyReauthPolicy: bool @@ -2948,7 +2736,7 @@ class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode( authParams: GoogleCloudIntegrationsV1alphaParameterMap clientId: str clientSecret: str - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "REQUEST_TYPE_UNSPECIFIED", "REQUEST_BODY", "QUERY_PARAMETERS", "ENCODED_HEADER" ] scope: str @@ -2957,12 +2745,12 @@ class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode( @typing.type_check_only class GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: GoogleCloudIntegrationsV1alphaAccessToken clientId: str clientSecret: str - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "REQUEST_TYPE_UNSPECIFIED", "REQUEST_BODY", "QUERY_PARAMETERS", "ENCODED_HEADER" ] scope: str @@ -2971,13 +2759,13 @@ class GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials( @typing.type_check_only class GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: GoogleCloudIntegrationsV1alphaAccessToken clientId: str clientSecret: str password: str - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "REQUEST_TYPE_UNSPECIFIED", "REQUEST_BODY", "QUERY_PARAMETERS", "ENCODED_HEADER" ] scope: str @@ -2986,18 +2774,16 @@ class GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials( username: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaOidcToken(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaOidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str token: str tokenExpireTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaParameterMap( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaParameterMap(typing.TypedDict, total=False): entries: _list[GoogleCloudIntegrationsV1alphaParameterMapEntry] - keyType: typing_extensions.Literal[ + keyType: typing.Literal[ "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -3017,7 +2803,7 @@ class GoogleCloudIntegrationsV1alphaParameterMap( "BYTES", "BYTES_ARRAY", ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -3039,24 +2825,18 @@ class GoogleCloudIntegrationsV1alphaParameterMap( ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaParameterMapEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaParameterMapEntry(typing.TypedDict, total=False): key: GoogleCloudIntegrationsV1alphaParameterMapField value: GoogleCloudIntegrationsV1alphaParameterMapField @typing.type_check_only -class GoogleCloudIntegrationsV1alphaParameterMapField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaParameterMapField(typing.TypedDict, total=False): literalValue: GoogleCloudIntegrationsV1alphaValueType referenceKey: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaProjectProperties( - typing_extensions.TypedDict, total=False -): - billingType: typing_extensions.Literal[ +class GoogleCloudIntegrationsV1alphaProjectProperties(typing.TypedDict, total=False): + billingType: typing.Literal[ "BILLING_TYPE_UNSPECIFIED", "APIGEE_TRIALS", "APIGEE_SUBSCRIPTION", @@ -3064,7 +2844,7 @@ class GoogleCloudIntegrationsV1alphaProjectProperties( "SUBSCRIPTION", "NO_BILLING", ] - ipEnablementState: typing_extensions.Literal[ + ipEnablementState: typing.Literal[ "IP_ENABLEMENT_STATE_UNSPECIFIED", "IP_ENABLEMENT_STATE_STANDALONE", "IP_ENABLEMENT_STATE_APIGEE", @@ -3074,10 +2854,10 @@ class GoogleCloudIntegrationsV1alphaProjectProperties( @typing.type_check_only class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workflows: _list[ - typing_extensions.Literal[ + typing.Literal[ "SAMPLE_INTEGRATIONS_UNSPECIFIED", "SAMPLE_WORKFLOW_ECOM_PROCESSING", "EXECUTE_CONNECTOR_TOOL_WORKFLOW", @@ -3086,12 +2866,12 @@ class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaProvisionClientRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKmsConfig: GoogleCloudIntegrationsV1alphaCloudKmsConfig createSampleWorkflows: bool @@ -3103,27 +2883,27 @@ class GoogleCloudIntegrationsV1alphaProvisionClientRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configParameters: dict[str, typing.Any] @typing.type_check_only class GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): runAsServiceAccount: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaReplayExecutionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): modifiedParameters: dict[str, typing.Any] - replayMode: typing_extensions.Literal[ + replayMode: typing.Literal[ "REPLAY_MODE_UNSPECIFIED", "REPLAY_MODE_FROM_BEGINNING", "REPLAY_MODE_POINT_OF_FAILURE", @@ -3133,7 +2913,7 @@ class GoogleCloudIntegrationsV1alphaReplayExecutionRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaReplayExecutionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): executionId: str outputParameters: dict[str, typing.Any] @@ -3141,34 +2921,30 @@ class GoogleCloudIntegrationsV1alphaReplayExecutionResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suspension: GoogleCloudIntegrationsV1alphaSuspension @typing.type_check_only class GoogleCloudIntegrationsV1alphaResolveSuspensionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudIntegrationsV1alphaRuntimeActionSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaRuntimeActionSchema(typing.TypedDict, total=False): action: str inputSchema: str outputSchema: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaRuntimeEntitySchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaRuntimeEntitySchema(typing.TypedDict, total=False): arrayFieldSchema: str entity: str fieldSchema: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputParameters: dict[str, typing.Any] parameterEntries: _list[EnterpriseCrmFrontendsEventbusProtoParameterEntry] @@ -3180,13 +2956,13 @@ class GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): executionInfoIds: _list[str] @typing.type_check_only class GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrations: _list[ GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchResult @@ -3195,7 +2971,7 @@ class GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str creator: str @@ -3203,38 +2979,34 @@ class GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchR id: str name: str region: str - status: typing_extensions.Literal[ + status: typing.Literal[ "INTEGRATION_STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" ] version: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaSearchTemplatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str templates: _list[GoogleCloudIntegrationsV1alphaTemplate] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSerializedFile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSerializedFile(typing.TypedDict, total=False): content: str - file: typing_extensions.Literal[ + file: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES" ] @typing.type_check_only class GoogleCloudIntegrationsV1alphaServiceAccountCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scope: str serviceAccount: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSfdcChannel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSfdcChannel(typing.TypedDict, total=False): channelTopic: str createTime: str deleteTime: str @@ -3246,9 +3018,7 @@ class GoogleCloudIntegrationsV1alphaSfdcChannel( updateTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSfdcInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSfdcInstance(typing.TypedDict, total=False): authConfigId: _list[str] createTime: str deleteTime: str @@ -3260,29 +3030,19 @@ class GoogleCloudIntegrationsV1alphaSfdcInstance( updateTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaShareTemplateRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaShareTemplateRequest(typing.TypedDict, total=False): resourceNames: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaStringParameterArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaStringParameterArray(typing.TypedDict, total=False): stringValues: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSuccessPolicy( - typing_extensions.TypedDict, total=False -): - finalState: typing_extensions.Literal[ - "FINAL_STATE_UNSPECIFIED", "SUCCEEDED", "SUSPENDED" - ] +class GoogleCloudIntegrationsV1alphaSuccessPolicy(typing.TypedDict, total=False): + finalState: typing.Literal["FINAL_STATE_UNSPECIFIED", "SUCCEEDED", "SUSPENDED"] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSuspension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSuspension(typing.TypedDict, total=False): approvalConfig: GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig audit: GoogleCloudIntegrationsV1alphaSuspensionAudit createTime: str @@ -3290,7 +3050,7 @@ class GoogleCloudIntegrationsV1alphaSuspension( integration: str lastModifyTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "RESOLUTION_STATE_UNSPECIFIED", "PENDING", "REJECTED", "LIFTED" ] suspensionConfig: EnterpriseCrmEventbusProtoSuspensionConfig @@ -3298,7 +3058,7 @@ class GoogleCloudIntegrationsV1alphaSuspension( @typing.type_check_only class GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customMessage: str emailAddresses: _list[str] @@ -3306,60 +3066,56 @@ class GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig( @typing.type_check_only class GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expireTime: str liftWhenExpired: bool remindTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSuspensionAudit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSuspensionAudit(typing.TypedDict, total=False): resolveTime: str resolver: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cloudKmsConfig: GoogleCloudIntegrationsV1alphaCloudKmsConfig @typing.type_check_only class GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableVariableMasking: bool @typing.type_check_only class GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion @typing.type_check_only class GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTaskConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTaskConfig(typing.TypedDict, total=False): conditionalFailurePolicies: GoogleCloudIntegrationsV1alphaConditionalFailurePolicies description: str displayName: str errorCatcherId: str - externalTaskType: typing_extensions.Literal[ + externalTaskType: typing.Literal[ "EXTERNAL_TASK_TYPE_UNSPECIFIED", "NORMAL_TASK", "ERROR_TASK" ] failurePolicy: GoogleCloudIntegrationsV1alphaFailurePolicy - jsonValidationOption: typing_extensions.Literal[ + jsonValidationOption: typing.Literal[ "JSON_VALIDATION_OPTION_UNSPECIFIED", "SKIP", "PRE_EXECUTION", @@ -3367,7 +3123,7 @@ class GoogleCloudIntegrationsV1alphaTaskConfig( "PRE_POST_EXECUTION", ] nextTasks: _list[GoogleCloudIntegrationsV1alphaNextTask] - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] parameters: dict[str, typing.Any] @@ -3375,7 +3131,7 @@ class GoogleCloudIntegrationsV1alphaTaskConfig( successPolicy: GoogleCloudIntegrationsV1alphaSuccessPolicy synchronousCallFailurePolicy: GoogleCloudIntegrationsV1alphaFailurePolicy task: str - taskExecutionStrategy: typing_extensions.Literal[ + taskExecutionStrategy: typing.Literal[ "TASK_EXECUTION_STRATEGY_UNSPECIFIED", "WHEN_ALL_SUCCEED", "WHEN_ANY_SUCCEED", @@ -3385,11 +3141,9 @@ class GoogleCloudIntegrationsV1alphaTaskConfig( taskTemplate: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTaskExecutionDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTaskExecutionDetails(typing.TypedDict, total=False): taskAttemptStats: _list[GoogleCloudIntegrationsV1alphaAttemptStats] - taskExecutionState: typing_extensions.Literal[ + taskExecutionState: typing.Literal[ "TASK_EXECUTION_STATE_UNSPECIFIED", "PENDING_EXECUTION", "IN_PROCESS", @@ -3407,10 +3161,10 @@ class GoogleCloudIntegrationsV1alphaTaskExecutionDetails( taskNumber: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTemplate(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaTemplate(typing.TypedDict, total=False): author: str categories: _list[ - typing_extensions.Literal[ + typing.Literal[ "CATEGORY_UNSPECIFIED", "AI_MACHINE_LEARNING", "BUSINESS_INTELLIGENCE", @@ -3443,31 +3197,25 @@ class GoogleCloudIntegrationsV1alphaTemplate(typing_extensions.TypedDict, total= updateTime: str usageCount: str usageInfo: str - visibility: typing_extensions.Literal[ - "VISIBILITY_UNSPECIFIED", "PRIVATE", "SHARED", "PUBLIC" - ] + visibility: typing.Literal["VISIBILITY_UNSPECIFIED", "PRIVATE", "SHARED", "PUBLIC"] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTemplateBundle( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTemplateBundle(typing.TypedDict, total=False): integrationVersionTemplate: GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate subIntegrationVersionTemplates: _list[ GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTemplateComponent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTemplateComponent(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRIGGER", "TASK", "CONNECTOR"] + type: typing.Literal["TYPE_UNSPECIFIED", "TRIGGER", "TASK", "CONNECTOR"] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTestCase(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaTestCase(typing.TypedDict, total=False): createTime: str creatorEmail: str - databasePersistencePolicy: typing_extensions.Literal[ + databasePersistencePolicy: typing.Literal[ "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", "DATABASE_PERSISTENCE_DISABLED", "DATABASE_PERSISTENCE_ASYNC", @@ -3485,7 +3233,7 @@ class GoogleCloudIntegrationsV1alphaTestCase(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str configParameters: dict[str, typing.Any] @@ -3498,7 +3246,7 @@ class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaTestIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventParameters: EnterpriseCrmFrontendsEventbusProtoEventParameters executionFailed: bool @@ -3507,9 +3255,7 @@ class GoogleCloudIntegrationsV1alphaTestIntegrationsResponse( parameters: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTestTaskConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTestTaskConfig(typing.TypedDict, total=False): assertions: _list[GoogleCloudIntegrationsV1alphaAssertion] mockConfig: GoogleCloudIntegrationsV1alphaMockConfig task: str @@ -3517,22 +3263,18 @@ class GoogleCloudIntegrationsV1alphaTestTaskConfig( taskNumber: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaToggleHttpRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaToggleHttpRequest(typing.TypedDict, total=False): enableHttpCall: bool @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTriggerConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTriggerConfig(typing.TypedDict, total=False): alertConfig: _list[GoogleCloudIntegrationsV1alphaIntegrationAlertConfig] cloudSchedulerConfig: GoogleCloudIntegrationsV1alphaCloudSchedulerConfig description: str errorCatcherId: str inputVariables: GoogleCloudIntegrationsV1alphaTriggerConfigVariables label: str - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] outputVariables: GoogleCloudIntegrationsV1alphaTriggerConfigVariables @@ -3542,7 +3284,7 @@ class GoogleCloudIntegrationsV1alphaTriggerConfig( trigger: str triggerId: str triggerNumber: str - triggerType: typing_extensions.Literal[ + triggerType: typing.Literal[ "TRIGGER_TYPE_UNSPECIFIED", "CRON", "API", @@ -3558,64 +3300,62 @@ class GoogleCloudIntegrationsV1alphaTriggerConfig( @typing.type_check_only class GoogleCloudIntegrationsV1alphaTriggerConfigVariables( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaUnshareTemplateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceNames: _list[str] @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadTemplateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadTemplateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): template: GoogleCloudIntegrationsV1alphaTemplate @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadTestCaseRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadTestCaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): testCase: GoogleCloudIntegrationsV1alphaTestCase @typing.type_check_only -class GoogleCloudIntegrationsV1alphaUseTemplateRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaUseTemplateRequest(typing.TypedDict, total=False): integrationDetails: ( GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails ) @@ -3624,27 +3364,23 @@ class GoogleCloudIntegrationsV1alphaUseTemplateRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integration: str integrationDescription: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaUseTemplateResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaUseTemplateResponse(typing.TypedDict, total=False): integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion subIntegrationVersions: _list[GoogleCloudIntegrationsV1alphaIntegrationVersion] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaUsernameAndPassword( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaUsernameAndPassword(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaValueType(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaValueType(typing.TypedDict, total=False): booleanArray: GoogleCloudIntegrationsV1alphaBooleanParameterArray booleanValue: bool doubleArray: GoogleCloudIntegrationsV1alphaDoubleParameterArray @@ -3657,12 +3393,12 @@ class GoogleCloudIntegrationsV1alphaValueType(typing_extensions.TypedDict, total @typing.type_check_only class GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str ignoreErrorIfNoActiveWorkflow: bool parameters: EnterpriseCrmEventbusProtoEventParameters - priority: typing_extensions.Literal[ + priority: typing.Literal[ "UNSPCIFIED", "SHEDDABLE", "SHEDDABLE_PLUS", "CRITICAL", "CRITICAL_PLUS" ] quotaRetryCount: int @@ -3675,4 +3411,4 @@ class GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest( workflowName: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/integrations/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/integrations/v1alpha/resources.pyi index 88d87ae60..8926fc829 100644 --- a/googleapiclient-stubs/_apis/integrations/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -20,9 +19,7 @@ class IntegrationsResource(googleapiclient.discovery.Resource): *, code: str | None = ..., gcpProjectId: str | None = ..., - product: typing_extensions.Literal[ - "UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY" - ] + product: typing.Literal["UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY"] | None = ..., redirectUri: str | None = ..., state: str | None = ..., @@ -279,17 +276,17 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, name: str, - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNSPECIFIED", "JSON", "YAML" ] | None = ..., - files: typing_extensions.Literal[ + files: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", @@ -610,17 +607,17 @@ class IntegrationsResource(googleapiclient.discovery.Resource): self, *, name: str, - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNSPECIFIED", "JSON", "YAML" ] | None = ..., - files: typing_extensions.Literal[ + files: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES", diff --git a/googleapiclient-stubs/_apis/integrations/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/integrations/v1alpha/schemas.pyi index 957d6bf77..526105512 100644 --- a/googleapiclient-stubs/_apis/integrations/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/integrations/v1alpha/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CrmlogErrorCode(typing_extensions.TypedDict, total=False): - commonErrorCode: typing_extensions.Literal[ +class CrmlogErrorCode(typing.TypedDict, total=False): + commonErrorCode: typing.Literal[ "COMMON_ERROR_CODE_UNSPECIFIED", "INVALID_CREDENTIALS", "REQUIRED_FIELDS_MISSING", @@ -72,11 +70,9 @@ class CrmlogErrorCode(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam(typing.TypedDict, total=False): allowedCredentialTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "CREDENTIAL_TYPE_UNSPECIFIED", "USERNAME_AND_PASSWORD", "API_KEY", @@ -97,14 +93,14 @@ class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam( useServiceAccountInContext: bool @typing.type_check_only -class EnterpriseCrmEventbusProtoAddress(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoAddress(typing.TypedDict, total=False): email: str name: str tokens: _list[EnterpriseCrmEventbusProtoToken] @typing.type_check_only -class EnterpriseCrmEventbusProtoAttributes(typing_extensions.TypedDict, total=False): - dataType: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoAttributes(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "EMAIL", "URL", "CURRENCY", "TIMESTAMP", "DOMAIN_NAME" ] defaultValue: EnterpriseCrmEventbusProtoValueType @@ -113,26 +109,26 @@ class EnterpriseCrmEventbusProtoAttributes(typing_extensions.TypedDict, total=Fa logSettings: EnterpriseCrmEventbusProtoLogSettings masked: bool readOnly: bool - searchable: typing_extensions.Literal["UNSPECIFIED", "YES", "NO"] + searchable: typing.Literal["UNSPECIFIED", "YES", "NO"] taskVisibility: _list[str] @typing.type_check_only class EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enumStrings: _list[str] - filterType: typing_extensions.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] + filterType: typing.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] @typing.type_check_only class EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): absolute: str percentage: int @typing.type_check_only -class EnterpriseCrmEventbusProtoBaseFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoBaseFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "NOW_IN_MILLIS", "INT_LIST", @@ -145,16 +141,14 @@ class EnterpriseCrmEventbusProtoBaseFunction(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoBaseValue(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoBaseValue(typing.TypedDict, total=False): baseFunction: EnterpriseCrmEventbusProtoFunction literalValue: EnterpriseCrmEventbusProtoParameterValueType referenceValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoBooleanArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoBooleanArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -171,10 +165,8 @@ class EnterpriseCrmEventbusProtoBooleanArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoBooleanFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoBooleanFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "TO_JSON", "NOT", @@ -189,24 +181,18 @@ class EnterpriseCrmEventbusProtoBooleanFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoBooleanParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoBooleanParameterArray(typing.TypedDict, total=False): booleanValues: _list[bool] @typing.type_check_only -class EnterpriseCrmEventbusProtoBuganizerNotification( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoBuganizerNotification(typing.TypedDict, total=False): assigneeEmailAddress: str componentId: str templateId: str title: str @typing.type_check_only -class EnterpriseCrmEventbusProtoCloudKmsConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCloudKmsConfig(typing.TypedDict, total=False): gcpProjectId: str keyName: str keyRingName: str @@ -215,24 +201,20 @@ class EnterpriseCrmEventbusProtoCloudKmsConfig( serviceAccount: str @typing.type_check_only -class EnterpriseCrmEventbusProtoCloudSchedulerConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCloudSchedulerConfig(typing.TypedDict, total=False): cronTab: str errorMessage: str location: str serviceAccountEmail: str @typing.type_check_only -class EnterpriseCrmEventbusProtoCombinedCondition( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCombinedCondition(typing.TypedDict, total=False): conditions: _list[EnterpriseCrmEventbusProtoCondition] @typing.type_check_only -class EnterpriseCrmEventbusProtoCondition(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoCondition(typing.TypedDict, total=False): eventPropertyKey: str - operator: typing_extensions.Literal[ + operator: typing.Literal[ "UNSET", "EQUALS", "CONTAINS", @@ -246,27 +228,23 @@ class EnterpriseCrmEventbusProtoCondition(typing_extensions.TypedDict, total=Fal value: EnterpriseCrmEventbusProtoValueType @typing.type_check_only -class EnterpriseCrmEventbusProtoConditionResult( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoConditionResult(typing.TypedDict, total=False): currentTaskNumber: str nextTaskNumber: str result: bool @typing.type_check_only -class EnterpriseCrmEventbusProtoConnectorsConnection( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoConnectorsConnection(typing.TypedDict, total=False): connectionName: str connectorVersion: str serviceName: str @typing.type_check_only class EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connection: EnterpriseCrmEventbusProtoConnectorsConnection - operation: typing_extensions.Literal[ + operation: typing.Literal[ "OPERATION_UNSPECIFIED", "EXECUTE_ACTION", "LIST_ENTITIES", @@ -278,28 +256,24 @@ class EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoCoordinate(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoCoordinate(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class EnterpriseCrmEventbusProtoCustomSuspensionRequest( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoCustomSuspensionRequest(typing.TypedDict, total=False): postToQueueWithTriggerIdRequest: ( GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest ) suspensionInfoEventParameterKey: str @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleArray(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoDoubleArray(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoDoubleArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -320,10 +294,8 @@ class EnterpriseCrmEventbusProtoDoubleArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoDoubleFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "TO_JSON", "TO_STRING", @@ -344,34 +316,28 @@ class EnterpriseCrmEventbusProtoDoubleFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoDoubleParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoDoubleParameterArray(typing.TypedDict, total=False): doubleValues: _list[float] @typing.type_check_only -class EnterpriseCrmEventbusProtoErrorDetail(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoErrorDetail(typing.TypedDict, total=False): errorCode: CrmlogErrorCode errorMessage: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARN", "INFO"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARN", "INFO"] taskNumber: int @typing.type_check_only -class EnterpriseCrmEventbusProtoEventBusProperties( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventBusProperties(typing.TypedDict, total=False): properties: _list[EnterpriseCrmEventbusProtoPropertyEntry] @typing.type_check_only -class EnterpriseCrmEventbusProtoEventExecutionDetails( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventExecutionDetails(typing.TypedDict, total=False): eventAttemptStats: _list[ EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats ] eventExecutionSnapshot: _list[EnterpriseCrmEventbusProtoEventExecutionSnapshot] eventExecutionSnapshotsSize: str - eventExecutionState: typing_extensions.Literal[ + eventExecutionState: typing.Literal[ "UNSPECIFIED", "ON_HOLD", "IN_PROCESS", @@ -389,15 +355,13 @@ class EnterpriseCrmEventbusProtoEventExecutionDetails( @typing.type_check_only class EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class EnterpriseCrmEventbusProtoEventExecutionSnapshot( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventExecutionSnapshot(typing.TypedDict, total=False): checkpointTaskNumber: str conditionResults: _list[EnterpriseCrmEventbusProtoConditionResult] diffParams: EnterpriseCrmEventbusProtoEventParameters @@ -414,7 +378,7 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot( @typing.type_check_only class EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ancestorIterationNumbers: _list[str] ancestorTaskNumbers: _list[str] @@ -426,32 +390,26 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMeta taskNumber: str @typing.type_check_only -class EnterpriseCrmEventbusProtoEventParameters( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoEventParameters(typing.TypedDict, total=False): parameters: _list[EnterpriseCrmEventbusProtoParameterEntry] @typing.type_check_only -class EnterpriseCrmEventbusProtoExecutionTraceInfo( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoExecutionTraceInfo(typing.TypedDict, total=False): parentEventExecutionInfoId: str traceId: str @typing.type_check_only -class EnterpriseCrmEventbusProtoExternalTraffic( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoExternalTraffic(typing.TypedDict, total=False): gcpProjectId: str gcpProjectNumber: str location: str - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "APIGEE", "SECURITY"] + source: typing.Literal["SOURCE_UNSPECIFIED", "APIGEE", "SECURITY"] @typing.type_check_only -class EnterpriseCrmEventbusProtoFailurePolicy(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoFailurePolicy(typing.TypedDict, total=False): intervalInSeconds: str maxNumRetries: int - retryStrategy: typing_extensions.Literal[ + retryStrategy: typing.Literal[ "UNSPECIFIED", "IGNORE", "NONE", @@ -463,10 +421,10 @@ class EnterpriseCrmEventbusProtoFailurePolicy(typing_extensions.TypedDict, total ] @typing.type_check_only -class EnterpriseCrmEventbusProtoField(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal["UNSPECIFIED", "OPTIONAL"] +class EnterpriseCrmEventbusProtoField(typing.TypedDict, total=False): + cardinality: typing.Literal["UNSPECIFIED", "OPTIONAL"] defaultValue: EnterpriseCrmEventbusProtoParameterValueType - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -491,18 +449,16 @@ class EnterpriseCrmEventbusProtoField(typing_extensions.TypedDict, total=False): transformExpression: EnterpriseCrmEventbusProtoTransformExpression @typing.type_check_only -class EnterpriseCrmEventbusProtoFieldMappingConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoFieldMappingConfig(typing.TypedDict, total=False): mappedFields: _list[EnterpriseCrmEventbusProtoMappedField] @typing.type_check_only -class EnterpriseCrmEventbusProtoFunction(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoFunction(typing.TypedDict, total=False): functionType: EnterpriseCrmEventbusProtoFunctionType parameters: _list[EnterpriseCrmEventbusProtoTransformExpression] @typing.type_check_only -class EnterpriseCrmEventbusProtoFunctionType(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoFunctionType(typing.TypedDict, total=False): baseFunction: EnterpriseCrmEventbusProtoBaseFunction booleanArrayFunction: EnterpriseCrmEventbusProtoBooleanArrayFunction booleanFunction: EnterpriseCrmEventbusProtoBooleanFunction @@ -517,14 +473,12 @@ class EnterpriseCrmEventbusProtoFunctionType(typing_extensions.TypedDict, total= stringFunction: EnterpriseCrmEventbusProtoStringFunction @typing.type_check_only -class EnterpriseCrmEventbusProtoIntArray(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoIntArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoIntArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoIntArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -545,8 +499,8 @@ class EnterpriseCrmEventbusProtoIntArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoIntFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoIntFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "ADD", "SUBTRACT", @@ -566,14 +520,12 @@ class EnterpriseCrmEventbusProtoIntFunction(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class EnterpriseCrmEventbusProtoIntParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoIntParameterArray(typing.TypedDict, total=False): intValues: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoJsonFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoJsonFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET_PROPERTY", "GET_ELEMENT", @@ -601,23 +553,21 @@ class EnterpriseCrmEventbusProtoJsonFunction(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoLogSettings(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoLogSettings(typing.TypedDict, total=False): logFieldName: str sanitizeOptions: EnterpriseCrmLoggingGwsSanitizeOptions - seedPeriod: typing_extensions.Literal[ - "SEED_PERIOD_UNSPECIFIED", "DAY", "WEEK", "MONTH" - ] - seedScope: typing_extensions.Literal[ + seedPeriod: typing.Literal["SEED_PERIOD_UNSPECIFIED", "DAY", "WEEK", "MONTH"] + seedScope: typing.Literal[ "SEED_SCOPE_UNSPECIFIED", "EVENT_NAME", "TIME_PERIOD", "PARAM_NAME" ] shorteningLimits: EnterpriseCrmLoggingGwsFieldLimits @typing.type_check_only -class EnterpriseCrmEventbusProtoLoopMetadata(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoLoopMetadata(typing.TypedDict, total=False): currentIterationCount: str currentIterationDetail: str errorMsg: str - failureLocation: typing_extensions.Literal[ + failureLocation: typing.Literal[ "UNKNOWN", "SUBWORKFLOW", "PARAM_OVERRIDING", @@ -629,12 +579,12 @@ class EnterpriseCrmEventbusProtoLoopMetadata(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoMappedField(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoMappedField(typing.TypedDict, total=False): inputField: EnterpriseCrmEventbusProtoField outputField: EnterpriseCrmEventbusProtoField @typing.type_check_only -class EnterpriseCrmEventbusProtoNextTask(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoNextTask(typing.TypedDict, total=False): combinedConditions: _list[EnterpriseCrmEventbusProtoCombinedCondition] condition: str description: str @@ -643,22 +593,16 @@ class EnterpriseCrmEventbusProtoNextTask(typing_extensions.TypedDict, total=Fals taskNumber: str @typing.type_check_only -class EnterpriseCrmEventbusProtoNextTeardownTask( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoNextTeardownTask(typing.TypedDict, total=False): name: str @typing.type_check_only -class EnterpriseCrmEventbusProtoNodeIdentifier( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoNodeIdentifier(typing.TypedDict, total=False): elementIdentifier: str - elementType: typing_extensions.Literal[ - "UNKNOWN_TYPE", "TASK_CONFIG", "TRIGGER_CONFIG" - ] + elementType: typing.Literal["UNKNOWN_TYPE", "TASK_CONFIG", "TRIGGER_CONFIG"] @typing.type_check_only -class EnterpriseCrmEventbusProtoNotification(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoNotification(typing.TypedDict, total=False): buganizerNotification: EnterpriseCrmEventbusProtoBuganizerNotification emailAddress: EnterpriseCrmEventbusProtoAddress escalatorQueue: str @@ -666,18 +610,16 @@ class EnterpriseCrmEventbusProtoNotification(typing_extensions.TypedDict, total= request: EnterpriseCrmEventbusProtoCustomSuspensionRequest @typing.type_check_only -class EnterpriseCrmEventbusProtoParamSpecEntryConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParamSpecEntryConfig(typing.TypedDict, total=False): descriptivePhrase: str helpText: str hideDefaultValue: bool - inputDisplayOption: typing_extensions.Literal[ + inputDisplayOption: typing.Literal[ "DEFAULT", "STRING_MULTI_LINE", "NUMBER_SLIDER", "BOOLEAN_TOGGLE" ] isHidden: bool label: str - parameterNameOption: typing_extensions.Literal[ + parameterNameOption: typing.Literal[ "DEFAULT_NOT_PARAMETER_NAME", "IS_PARAMETER_NAME", "KEY_IS_PARAMETER_NAME", @@ -688,14 +630,14 @@ class EnterpriseCrmEventbusProtoParamSpecEntryConfig( @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fullName: str path: str @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doubleRange: EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange intRange: EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange @@ -703,37 +645,35 @@ class EnterpriseCrmEventbusProtoParamSpecEntryValidationRule( @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: float min: float @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: str min: str @typing.type_check_only class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclusive: bool regex: str @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterEntry( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterEntry(typing.TypedDict, total=False): key: str masked: bool value: EnterpriseCrmEventbusProtoParameterValueType @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterMap(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoParameterMap(typing.TypedDict, total=False): entries: _list[EnterpriseCrmEventbusProtoParameterMapEntry] - keyType: typing_extensions.Literal[ + keyType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -753,7 +693,7 @@ class EnterpriseCrmEventbusProtoParameterMap(typing_extensions.TypedDict, total= "NON_SERIALIZABLE_OBJECT", "JSON_VALUE", ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -775,23 +715,17 @@ class EnterpriseCrmEventbusProtoParameterMap(typing_extensions.TypedDict, total= ] @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterMapEntry( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterMapEntry(typing.TypedDict, total=False): key: EnterpriseCrmEventbusProtoParameterMapField value: EnterpriseCrmEventbusProtoParameterMapField @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterMapField( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterMapField(typing.TypedDict, total=False): literalValue: EnterpriseCrmEventbusProtoParameterValueType referenceKey: str @typing.type_check_only -class EnterpriseCrmEventbusProtoParameterValueType( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoParameterValueType(typing.TypedDict, total=False): booleanArray: EnterpriseCrmEventbusProtoBooleanParameterArray booleanValue: bool doubleArray: EnterpriseCrmEventbusProtoDoubleParameterArray @@ -805,15 +739,13 @@ class EnterpriseCrmEventbusProtoParameterValueType( stringValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoPropertyEntry(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoPropertyEntry(typing.TypedDict, total=False): key: str value: EnterpriseCrmEventbusProtoValueType @typing.type_check_only -class EnterpriseCrmEventbusProtoProtoArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoProtoArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -830,8 +762,8 @@ class EnterpriseCrmEventbusProtoProtoArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoProtoFunction(typing_extensions.TypedDict, total=False): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoProtoFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET_STRING_SUBFIELD", "GET_INT_SUBFIELD", @@ -850,15 +782,11 @@ class EnterpriseCrmEventbusProtoProtoFunction(typing_extensions.TypedDict, total ] @typing.type_check_only -class EnterpriseCrmEventbusProtoProtoParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoProtoParameterArray(typing.TypedDict, total=False): protoValues: _list[dict[str, typing.Any]] @typing.type_check_only -class EnterpriseCrmEventbusProtoScatterResponse( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoScatterResponse(typing.TypedDict, total=False): errorMsg: str executionIds: _list[str] isSuccessful: bool @@ -867,19 +795,17 @@ class EnterpriseCrmEventbusProtoScatterResponse( @typing.type_check_only class EnterpriseCrmEventbusProtoSerializedObjectParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoStringArray(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoStringArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoStringArrayFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoStringArrayFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "GET", "APPEND", @@ -896,10 +822,8 @@ class EnterpriseCrmEventbusProtoStringArrayFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoStringFunction( - typing_extensions.TypedDict, total=False -): - functionName: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoStringFunction(typing.TypedDict, total=False): + functionName: typing.Literal[ "UNSPECIFIED", "CONCAT", "TO_UPPERCASE", @@ -921,18 +845,16 @@ class EnterpriseCrmEventbusProtoStringFunction( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoStringParameterArray( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoStringParameterArray(typing.TypedDict, total=False): stringValues: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoSuccessPolicy(typing_extensions.TypedDict, total=False): - finalState: typing_extensions.Literal["UNSPECIFIED", "SUCCEEDED", "SUSPENDED"] +class EnterpriseCrmEventbusProtoSuccessPolicy(typing.TypedDict, total=False): + finalState: typing.Literal["UNSPECIFIED", "SUCCEEDED", "SUSPENDED"] @typing.type_check_only class EnterpriseCrmEventbusProtoSuspensionAuthPermissions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gaiaIdentity: EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity googleGroup: EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity @@ -941,32 +863,26 @@ class EnterpriseCrmEventbusProtoSuspensionAuthPermissions( @typing.type_check_only class EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emailAddress: str gaiaId: str @typing.type_check_only -class EnterpriseCrmEventbusProtoSuspensionConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoSuspensionConfig(typing.TypedDict, total=False): customMessage: str notifications: _list[EnterpriseCrmEventbusProtoNotification] suspensionExpiration: EnterpriseCrmEventbusProtoSuspensionExpiration whoMayResolve: _list[EnterpriseCrmEventbusProtoSuspensionAuthPermissions] @typing.type_check_only -class EnterpriseCrmEventbusProtoSuspensionExpiration( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoSuspensionExpiration(typing.TypedDict, total=False): expireAfterMs: int liftWhenExpired: bool remindAfterMs: int @typing.type_check_only -class EnterpriseCrmEventbusProtoSuspensionResolutionInfo( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoSuspensionResolutionInfo(typing.TypedDict, total=False): audit: EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit clientId: str cloudKmsConfig: EnterpriseCrmEventbusProtoCloudKmsConfig @@ -975,12 +891,8 @@ class EnterpriseCrmEventbusProtoSuspensionResolutionInfo( eventExecutionInfoId: str externalTraffic: EnterpriseCrmEventbusProtoExternalTraffic lastModifiedTimestamp: str - product: typing_extensions.Literal[ - "UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY" - ] - status: typing_extensions.Literal[ - "PENDING_UNSPECIFIED", "REJECTED", "LIFTED", "CANCELED" - ] + product: typing.Literal["UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY"] + status: typing.Literal["PENDING_UNSPECIFIED", "REJECTED", "LIFTED", "CANCELED"] suspensionConfig: EnterpriseCrmEventbusProtoSuspensionConfig suspensionId: str taskNumber: str @@ -989,23 +901,21 @@ class EnterpriseCrmEventbusProtoSuspensionResolutionInfo( @typing.type_check_only class EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resolvedBy: str resolvedByCpi: str timestamp: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskAlertConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTaskAlertConfig(typing.TypedDict, total=False): aggregationPeriod: str alertDisabled: bool alertName: str clientId: str durationThresholdMs: str errorEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "TASK_ERROR_RATE", "TASK_WARNING_RATE", @@ -1016,20 +926,18 @@ class EnterpriseCrmEventbusProtoTaskAlertConfig( numAggregationPeriods: int onlyFinalAttempt: bool playbookUrl: str - thresholdType: typing_extensions.Literal[ + thresholdType: typing.Literal[ "UNSPECIFIED_THRESHOLD_TYPE", "EXPECTED_MIN", "EXPECTED_MAX" ] thresholdValue: EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue warningEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskExecutionDetails( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTaskExecutionDetails(typing.TypedDict, total=False): taskAttemptStats: _list[ EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats ] - taskExecutionState: typing_extensions.Literal[ + taskExecutionState: typing.Literal[ "UNSPECIFIED", "PENDING_EXECUTION", "IN_PROCESS", @@ -1048,16 +956,16 @@ class EnterpriseCrmEventbusProtoTaskExecutionDetails( @typing.type_check_only class EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoTaskMetadata(typing.TypedDict, total=False): activeTaskName: str admins: _list[EnterpriseCrmEventbusProtoTaskMetadataAdmin] - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED_CATEGORY", "CUSTOM", "FLOW_CONTROL", @@ -1070,7 +978,7 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= "TASK_RECOMMENDATIONS", ] codeSearchLink: str - defaultJsonValidationOption: typing_extensions.Literal[ + defaultJsonValidationOption: typing.Literal[ "UNSPECIFIED_JSON_VALIDATION_OPTION", "SKIP", "PRE_EXECUTION", @@ -1081,7 +989,7 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= description: str descriptiveName: str docMarkdown: str - externalCategory: typing_extensions.Literal[ + externalCategory: typing.Literal[ "UNSPECIFIED_EXTERNAL_CATEGORY", "CORE", "CONNECTORS", @@ -1107,10 +1015,8 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= isDeprecated: bool name: str standaloneExternalDocHtml: str - status: typing_extensions.Literal[ - "UNSPECIFIED_STATUS", "DEFAULT_INACTIVE", "ACTIVE" - ] - system: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED_STATUS", "DEFAULT_INACTIVE", "ACTIVE"] + system: typing.Literal[ "UNSPECIFIED_SYSTEM", "GENERIC", "BUGANIZER", @@ -1126,21 +1032,17 @@ class EnterpriseCrmEventbusProtoTaskMetadata(typing_extensions.TypedDict, total= tags: _list[str] @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskMetadataAdmin( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTaskMetadataAdmin(typing.TypedDict, total=False): googleGroupEmail: str userEmail: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskUiConfig(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoTaskUiConfig(typing.TypedDict, total=False): taskUiModuleConfigs: _list[EnterpriseCrmEventbusProtoTaskUiModuleConfig] @typing.type_check_only -class EnterpriseCrmEventbusProtoTaskUiModuleConfig( - typing_extensions.TypedDict, total=False -): - moduleId: typing_extensions.Literal[ +class EnterpriseCrmEventbusProtoTaskUiModuleConfig(typing.TypedDict, total=False): + moduleId: typing.Literal[ "UNSPECIFIED_TASK_MODULE", "LABEL", "ERROR_HANDLING", @@ -1164,13 +1066,11 @@ class EnterpriseCrmEventbusProtoTaskUiModuleConfig( ] @typing.type_check_only -class EnterpriseCrmEventbusProtoTeardown(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoTeardown(typing.TypedDict, total=False): teardownTaskConfigs: _list[EnterpriseCrmEventbusProtoTeardownTaskConfig] @typing.type_check_only -class EnterpriseCrmEventbusProtoTeardownTaskConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTeardownTaskConfig(typing.TypedDict, total=False): creatorEmail: str name: str nextTeardownTask: EnterpriseCrmEventbusProtoNextTeardownTask @@ -1179,27 +1079,23 @@ class EnterpriseCrmEventbusProtoTeardownTaskConfig( teardownTaskImplementationClassName: str @typing.type_check_only -class EnterpriseCrmEventbusProtoToken(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoToken(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class EnterpriseCrmEventbusProtoTransformExpression( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTransformExpression(typing.TypedDict, total=False): initialValue: EnterpriseCrmEventbusProtoBaseValue transformationFunctions: _list[EnterpriseCrmEventbusProtoFunction] @typing.type_check_only -class EnterpriseCrmEventbusProtoTriggerCriteria( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoTriggerCriteria(typing.TypedDict, total=False): condition: str parameters: EnterpriseCrmEventbusProtoEventParameters triggerCriteriaTaskImplementationClassName: str @typing.type_check_only -class EnterpriseCrmEventbusProtoValueType(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusProtoValueType(typing.TypedDict, total=False): booleanValue: bool doubleArray: EnterpriseCrmEventbusProtoDoubleArray doubleValue: float @@ -1210,16 +1106,14 @@ class EnterpriseCrmEventbusProtoValueType(typing_extensions.TypedDict, total=Fal stringValue: str @typing.type_check_only -class EnterpriseCrmEventbusProtoWorkflowAlertConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmEventbusProtoWorkflowAlertConfig(typing.TypedDict, total=False): aggregationPeriod: str alertDisabled: bool alertName: str clientId: str durationThresholdMs: str errorEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "EVENT_ERROR_RATE", "EVENT_WARNING_RATE", @@ -1235,14 +1129,14 @@ class EnterpriseCrmEventbusProtoWorkflowAlertConfig( numAggregationPeriods: int onlyFinalAttempt: bool playbookUrl: str - thresholdType: typing_extensions.Literal[ + thresholdType: typing.Literal[ "UNSPECIFIED_THRESHOLD_TYPE", "EXPECTED_MIN", "EXPECTED_MAX" ] thresholdValue: EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue warningEnumList: EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList @typing.type_check_only -class EnterpriseCrmEventbusStats(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusStats(typing.TypedDict, total=False): dimensions: EnterpriseCrmEventbusStatsDimensions durationInSeconds: float errorRate: float @@ -1250,13 +1144,11 @@ class EnterpriseCrmEventbusStats(typing_extensions.TypedDict, total=False): warningRate: float @typing.type_check_only -class EnterpriseCrmEventbusStatsDimensions(typing_extensions.TypedDict, total=False): +class EnterpriseCrmEventbusStatsDimensions(typing.TypedDict, total=False): clientId: str - enumFilterType: typing_extensions.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] + enumFilterType: typing.Literal["DEFAULT_INCLUSIVE", "EXCLUSIVE"] errorEnumString: str - retryAttempt: typing_extensions.Literal[ - "UNSPECIFIED", "FINAL", "RETRYABLE", "CANCELED" - ] + retryAttempt: typing.Literal["UNSPECIFIED", "FINAL", "RETRYABLE", "CANCELED"] taskName: str taskNumber: str triggerId: str @@ -1266,19 +1158,19 @@ class EnterpriseCrmEventbusStatsDimensions(typing_extensions.TypedDict, total=Fa @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): booleanValues: _list[bool] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doubleValues: _list[float] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventAttemptStats: _list[ EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats @@ -1287,7 +1179,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot ] eventExecutionSnapshotsSize: str - eventExecutionState: typing_extensions.Literal[ + eventExecutionState: typing.Literal[ "UNSPECIFIED", "ON_HOLD", "IN_PROCESS", @@ -1305,7 +1197,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str createTime: str @@ -1315,7 +1207,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( eventExecutionInfoId: str executionTraceInfo: EnterpriseCrmEventbusProtoExecutionTraceInfo lastModifiedTime: str - postMethod: typing_extensions.Literal[ + postMethod: typing.Literal[ "UNSPECIFIED", "POST", "POST_TO_QUEUE", @@ -1323,9 +1215,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( "POST_BY_EVENT_CONFIG_ID", "POST_WITH_EVENT_DETAILS", ] - product: typing_extensions.Literal[ - "UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY" - ] + product: typing.Literal["UNSPECIFIED_PRODUCT", "IP", "APIGEE", "SECURITY"] requestId: str requestParams: EnterpriseCrmFrontendsEventbusProtoEventParameters responseParams: EnterpriseCrmFrontendsEventbusProtoEventParameters @@ -1338,7 +1228,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): checkpointTaskNumber: str conditionResults: _list[EnterpriseCrmEventbusProtoConditionResult] @@ -1354,25 +1244,21 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot( taskName: str @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoEventParameters( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoEventParameters(typing.TypedDict, total=False): parameters: _list[EnterpriseCrmFrontendsEventbusProtoParameterEntry] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoIntParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intValues: _list[str] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoParamSpecEntry( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoParamSpecEntry(typing.TypedDict, total=False): className: str collectionElementClassName: str config: EnterpriseCrmEventbusProtoParamSpecEntryConfig - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1403,15 +1289,13 @@ class EnterpriseCrmFrontendsEventbusProtoParamSpecEntry( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: _list[EnterpriseCrmFrontendsEventbusProtoParamSpecEntry] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoParameterEntry( - typing_extensions.TypedDict, total=False -): - dataType: typing_extensions.Literal[ +class EnterpriseCrmFrontendsEventbusProtoParameterEntry(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1436,11 +1320,9 @@ class EnterpriseCrmFrontendsEventbusProtoParameterEntry( value: EnterpriseCrmFrontendsEventbusProtoParameterValueType @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoParameterMap( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoParameterMap(typing.TypedDict, total=False): entries: _list[EnterpriseCrmFrontendsEventbusProtoParameterMapEntry] - keyType: typing_extensions.Literal[ + keyType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1460,7 +1342,7 @@ class EnterpriseCrmFrontendsEventbusProtoParameterMap( "NON_SERIALIZABLE_OBJECT", "JSON_VALUE", ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1483,21 +1365,21 @@ class EnterpriseCrmFrontendsEventbusProtoParameterMap( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParameterMapEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: EnterpriseCrmFrontendsEventbusProtoParameterMapField value: EnterpriseCrmFrontendsEventbusProtoParameterMapField @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParameterMapField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): literalValue: EnterpriseCrmFrontendsEventbusProtoParameterValueType referenceKey: str @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoParameterValueType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): booleanArray: EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray booleanValue: bool @@ -1514,13 +1396,13 @@ class EnterpriseCrmFrontendsEventbusProtoParameterValueType( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoProtoParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): protoValues: _list[dict[str, typing.Any]] @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoRollbackStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: EnterpriseCrmFrontendsEventbusProtoEventParameters rollbackTaskImplementationClassName: str @@ -1528,32 +1410,30 @@ class EnterpriseCrmFrontendsEventbusProtoRollbackStrategy( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectValue: str @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoStringParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): stringValues: _list[str] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoTaskConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoTaskConfig(typing.TypedDict, total=False): alertConfigs: _list[EnterpriseCrmEventbusProtoTaskAlertConfig] createTime: str creatorEmail: str description: str disableStrictTypeValidation: bool errorCatcherId: str - externalTaskType: typing_extensions.Literal[ + externalTaskType: typing.Literal[ "EXTERNAL_TASK_TYPE_UNSPECIFIED", "NORMAL_TASK", "ERROR_TASK" ] failurePolicy: EnterpriseCrmEventbusProtoFailurePolicy incomingEdgeCount: int - jsonValidationOption: typing_extensions.Literal[ + jsonValidationOption: typing.Literal[ "UNSPECIFIED_JSON_VALIDATION_OPTION", "SKIP", "PRE_EXECUTION", @@ -1563,7 +1443,7 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig( label: str lastModifiedTime: str nextTasks: _list[EnterpriseCrmEventbusProtoNextTask] - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] parameters: dict[str, typing.Any] @@ -1574,37 +1454,33 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig( successPolicy: EnterpriseCrmEventbusProtoSuccessPolicy synchronousCallFailurePolicy: EnterpriseCrmEventbusProtoFailurePolicy taskEntity: EnterpriseCrmFrontendsEventbusProtoTaskEntity - taskExecutionStrategy: typing_extensions.Literal[ + taskExecutionStrategy: typing.Literal[ "WHEN_ALL_SUCCEED", "WHEN_ANY_SUCCEED", "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" ] taskName: str taskNumber: str taskSpec: str taskTemplateName: str - taskType: typing_extensions.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] + taskType: typing.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoTaskEntity( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoTaskEntity(typing.TypedDict, total=False): disabledForVpcSc: bool metadata: EnterpriseCrmEventbusProtoTaskMetadata paramSpecs: EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage stats: EnterpriseCrmEventbusStats - taskType: typing_extensions.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] + taskType: typing.Literal["TASK", "ASIS_TEMPLATE", "IO_TEMPLATE"] uiConfig: EnterpriseCrmEventbusProtoTaskUiConfig @typing.type_check_only -class EnterpriseCrmFrontendsEventbusProtoTriggerConfig( - typing_extensions.TypedDict, total=False -): +class EnterpriseCrmFrontendsEventbusProtoTriggerConfig(typing.TypedDict, total=False): alertConfig: _list[EnterpriseCrmEventbusProtoWorkflowAlertConfig] cloudSchedulerConfig: EnterpriseCrmEventbusProtoCloudSchedulerConfig description: str enabledClients: _list[str] errorCatcherId: str label: str - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] pauseWorkflowExecutions: bool @@ -1615,7 +1491,7 @@ class EnterpriseCrmFrontendsEventbusProtoTriggerConfig( triggerId: str triggerName: str triggerNumber: str - triggerType: typing_extensions.Literal[ + triggerType: typing.Literal[ "UNKNOWN", "CLOUD_PUBSUB", "GOOPS", @@ -1635,12 +1511,12 @@ class EnterpriseCrmFrontendsEventbusProtoTriggerConfig( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: EnterpriseCrmEventbusProtoAttributes children: _list[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] containsLargeData: bool - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -1662,9 +1538,7 @@ class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( ] defaultValue: EnterpriseCrmFrontendsEventbusProtoParameterValueType description: str - inOutType: typing_extensions.Literal[ - "IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT" - ] + inOutType: typing.Literal["IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT"] isTransient: bool jsonSchema: str key: str @@ -1677,19 +1551,17 @@ class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( @typing.type_check_only class EnterpriseCrmFrontendsEventbusProtoWorkflowParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameters: _list[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] @typing.type_check_only -class EnterpriseCrmLoggingGwsFieldLimits(typing_extensions.TypedDict, total=False): - logAction: typing_extensions.Literal["LOG_ACTION_UNSPECIFIED", "DONT_LOG", "LOG"] - logType: _list[ - typing_extensions.Literal["LOG_TYPE_UNSPECIFIED", "GWS", "GTS", "ALL"] - ] +class EnterpriseCrmLoggingGwsFieldLimits(typing.TypedDict, total=False): + logAction: typing.Literal["LOG_ACTION_UNSPECIFIED", "DONT_LOG", "LOG"] + logType: _list[typing.Literal["LOG_TYPE_UNSPECIFIED", "GWS", "GTS", "ALL"]] maxArraySize: int maxStringLength: int - shortenerType: typing_extensions.Literal[ + shortenerType: typing.Literal[ "SHORTENER_TYPE_UNSPECIFIED", "SHORTEN", "HASH", @@ -1700,15 +1572,13 @@ class EnterpriseCrmLoggingGwsFieldLimits(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class EnterpriseCrmLoggingGwsSanitizeOptions(typing_extensions.TypedDict, total=False): +class EnterpriseCrmLoggingGwsSanitizeOptions(typing.TypedDict, total=False): isAlreadySanitized: bool - logType: _list[ - typing_extensions.Literal["LOG_TYPE_UNSPECIFIED", "GWS", "GTS", "ALL"] - ] - privacy: typing_extensions.Literal[ + logType: _list[typing.Literal["LOG_TYPE_UNSPECIFIED", "GWS", "GTS", "ALL"]] + privacy: typing.Literal[ "PRIVACY_TYPE_UNSPECIFIED", "NOT_PII", "PII", "SPII", "UNSURE" ] - sanitizeType: typing_extensions.Literal[ + sanitizeType: typing.Literal[ "SANITIZE_TYPE_UNSPECIFIED", "SCRUB", "ANONYMIZE", @@ -1719,10 +1589,10 @@ class EnterpriseCrmLoggingGwsSanitizeOptions(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1AuthConfig(typing.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] authKey: str - authType: typing_extensions.Literal[ + authType: typing.Literal[ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", @@ -1739,7 +1609,7 @@ class GoogleCloudConnectorsV1AuthConfig(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authCode: str authUri: str @@ -1752,52 +1622,46 @@ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow( @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str clientSecret: GoogleCloudConnectorsV1Secret @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer(typing.TypedDict, total=False): clientKey: GoogleCloudConnectorsV1Secret jwtClaims: GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims @typing.type_check_only class GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audience: str issuer: str subject: str @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfigSshPublicKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1AuthConfigSshPublicKey(typing.TypedDict, total=False): certType: str sshClientCert: GoogleCloudConnectorsV1Secret sshClientCertPass: GoogleCloudConnectorsV1Secret username: str @typing.type_check_only -class GoogleCloudConnectorsV1AuthConfigUserPassword( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1AuthConfigUserPassword(typing.TypedDict, total=False): password: GoogleCloudConnectorsV1Secret username: str @typing.type_check_only -class GoogleCloudConnectorsV1BillingConfig(typing_extensions.TypedDict, total=False): - billingCategory: typing_extensions.Literal[ +class GoogleCloudConnectorsV1BillingConfig(typing.TypedDict, total=False): + billingCategory: typing.Literal[ "BILLING_CATEGORY_UNSPECIFIED", "GCP_AND_TECHNICAL_CONNECTOR", "NON_GCP_CONNECTOR", ] @typing.type_check_only -class GoogleCloudConnectorsV1ConfigVariable(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ConfigVariable(typing.TypedDict, total=False): boolValue: bool encryptionKeyValue: GoogleCloudConnectorsV1EncryptionKey intValue: str @@ -1806,14 +1670,14 @@ class GoogleCloudConnectorsV1ConfigVariable(typing_extensions.TypedDict, total=F stringValue: str @typing.type_check_only -class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1Connection(typing.TypedDict, total=False): authConfig: GoogleCloudConnectorsV1AuthConfig billingConfig: GoogleCloudConnectorsV1BillingConfig configVariables: _list[GoogleCloudConnectorsV1ConfigVariable] connectionRevision: str connectorVersion: str connectorVersionInfraConfig: GoogleCloudConnectorsV1ConnectorVersionInfraConfig - connectorVersionLaunchStage: typing_extensions.Literal[ + connectorVersionLaunchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", "DEPRECATED", "PRIVATE_PREVIEW" ] createTime: str @@ -1821,7 +1685,7 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False destinationConfigs: _list[GoogleCloudConnectorsV1DestinationConfig] envoyImageLocation: str eventingConfig: GoogleCloudConnectorsV1EventingConfig - eventingEnablementType: typing_extensions.Literal[ + eventingEnablementType: typing.Literal[ "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", "EVENTING_AND_CONNECTION", "ONLY_EVENTING", @@ -1838,16 +1702,14 @@ class GoogleCloudConnectorsV1Connection(typing_extensions.TypedDict, total=False serviceDirectory: str sslConfig: GoogleCloudConnectorsV1SslConfig status: GoogleCloudConnectorsV1ConnectionStatus - subscriptionType: typing_extensions.Literal[ - "SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID" - ] + subscriptionType: typing.Literal["SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", "PAID"] suspended: bool updateTime: str @typing.type_check_only -class GoogleCloudConnectorsV1ConnectionStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ConnectionStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -1860,11 +1722,9 @@ class GoogleCloudConnectorsV1ConnectionStatus(typing_extensions.TypedDict, total status: str @typing.type_check_only -class GoogleCloudConnectorsV1ConnectorVersionInfraConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1ConnectorVersionInfraConfig(typing.TypedDict, total=False): connectionRatelimitWindowSeconds: str - deploymentModel: typing_extensions.Literal[ + deploymentModel: typing.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "GKE_MST", "CLOUD_RUN_MST" ] hpaConfig: GoogleCloudConnectorsV1HPAConfig @@ -1875,27 +1735,23 @@ class GoogleCloudConnectorsV1ConnectorVersionInfraConfig( sharedDeployment: str @typing.type_check_only -class GoogleCloudConnectorsV1Destination(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1Destination(typing.TypedDict, total=False): host: str port: int serviceAttachment: str @typing.type_check_only -class GoogleCloudConnectorsV1DestinationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1DestinationConfig(typing.TypedDict, total=False): destinations: _list[GoogleCloudConnectorsV1Destination] key: str @typing.type_check_only -class GoogleCloudConnectorsV1EncryptionKey(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1EncryptionKey(typing.TypedDict, total=False): kmsKeyName: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED"] @typing.type_check_only -class GoogleCloudConnectorsV1EventingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1EventingConfig(typing.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] authConfig: GoogleCloudConnectorsV1AuthConfig deadLetterConfig: GoogleCloudConnectorsV1EventingConfigDeadLetterConfig @@ -1908,15 +1764,13 @@ class GoogleCloudConnectorsV1EventingConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudConnectorsV1EventingConfigDeadLetterConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str topic: str @typing.type_check_only -class GoogleCloudConnectorsV1EventingRuntimeData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudConnectorsV1EventingRuntimeData(typing.TypedDict, total=False): eventsListenerEndpoint: str eventsListenerPscSa: str status: GoogleCloudConnectorsV1EventingStatus @@ -1924,7 +1778,7 @@ class GoogleCloudConnectorsV1EventingRuntimeData( @typing.type_check_only class GoogleCloudConnectorsV1EventingRuntimeDataWebhookData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] createTime: str @@ -1934,62 +1788,60 @@ class GoogleCloudConnectorsV1EventingRuntimeDataWebhookData( updateTime: str @typing.type_check_only -class GoogleCloudConnectorsV1EventingStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1EventingStatus(typing.TypedDict, total=False): description: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "ERROR", "INGRESS_ENDPOINT_REQUIRED" ] @typing.type_check_only -class GoogleCloudConnectorsV1HPAConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1HPAConfig(typing.TypedDict, total=False): cpuUtilizationThreshold: str memoryUtilizationThreshold: str @typing.type_check_only -class GoogleCloudConnectorsV1LockConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1LockConfig(typing.TypedDict, total=False): locked: bool reason: str @typing.type_check_only -class GoogleCloudConnectorsV1LogConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1LogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudConnectorsV1NodeConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1NodeConfig(typing.TypedDict, total=False): maxNodeCount: int minNodeCount: int @typing.type_check_only -class GoogleCloudConnectorsV1ResourceLimits(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ResourceLimits(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class GoogleCloudConnectorsV1ResourceRequests(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1ResourceRequests(typing.TypedDict, total=False): cpu: str memory: str @typing.type_check_only -class GoogleCloudConnectorsV1Secret(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1Secret(typing.TypedDict, total=False): secretVersion: str @typing.type_check_only -class GoogleCloudConnectorsV1SslConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudConnectorsV1SslConfig(typing.TypedDict, total=False): additionalVariables: _list[GoogleCloudConnectorsV1ConfigVariable] - clientCertType: typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] + clientCertType: typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] clientCertificate: GoogleCloudConnectorsV1Secret clientPrivateKey: GoogleCloudConnectorsV1Secret clientPrivateKeyPass: GoogleCloudConnectorsV1Secret privateServerCertificate: GoogleCloudConnectorsV1Secret - serverCertType: typing_extensions.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] - trustModel: typing_extensions.Literal["PUBLIC", "PRIVATE", "INSECURE"] - type: typing_extensions.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] + serverCertType: typing.Literal["CERT_TYPE_UNSPECIFIED", "PEM"] + trustModel: typing.Literal["PUBLIC", "PRIVATE", "INSECURE"] + type: typing.Literal["SSL_TYPE_UNSPECIFIED", "TLS", "MTLS"] useSsl: bool @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAccessToken( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaAccessToken(typing.TypedDict, total=False): accessToken: str accessTokenExpireTime: str refreshToken: str @@ -1997,20 +1849,16 @@ class GoogleCloudIntegrationsV1alphaAccessToken( tokenType: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAttemptStats( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaAttemptStats(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAuthConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaAuthConfig(typing.TypedDict, total=False): certificateId: str createTime: str creatorEmail: str - credentialType: typing_extensions.Literal[ + credentialType: typing.Literal[ "CREDENTIAL_TYPE_UNSPECIFIED", "USERNAME_AND_PASSWORD", "API_KEY", @@ -2033,7 +1881,7 @@ class GoogleCloudIntegrationsV1alphaAuthConfig( name: str overrideValidTime: str reason: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "VALID", "INVALID", @@ -2044,39 +1892,35 @@ class GoogleCloudIntegrationsV1alphaAuthConfig( ] updateTime: str validTime: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "AUTH_CONFIG_VISIBILITY_UNSPECIFIED", "PRIVATE", "CLIENT_VISIBLE" ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaAuthToken(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaAuthToken(typing.TypedDict, total=False): token: str type: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaBooleanParameterArray( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): booleanValues: _list[bool] @typing.type_check_only class GoogleCloudIntegrationsV1alphaCancelExecutionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaCancelExecutionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isCanceled: bool @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCertificate( - typing_extensions.TypedDict, total=False -): - certificateStatus: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED" - ] +class GoogleCloudIntegrationsV1alphaCertificate(typing.TypedDict, total=False): + certificateStatus: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "EXPIRED"] credentialId: str description: str displayName: str @@ -2087,26 +1931,20 @@ class GoogleCloudIntegrationsV1alphaCertificate( validStartTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaClientCertificate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaClientCertificate(typing.TypedDict, total=False): encryptedPrivateKey: str passphrase: str sslCertificate: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCloudLoggingDetails( - typing_extensions.TypedDict, total=False -): - cloudLoggingSeverity: typing_extensions.Literal[ +class GoogleCloudIntegrationsV1alphaCloudLoggingDetails(typing.TypedDict, total=False): + cloudLoggingSeverity: typing.Literal[ "CLOUD_LOGGING_SEVERITY_UNSPECIFIED", "INFO", "ERROR", "WARNING" ] enableCloudLogging: bool @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCloudSchedulerConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCloudSchedulerConfig(typing.TypedDict, total=False): cronTab: str errorMessage: str location: str @@ -2114,37 +1952,33 @@ class GoogleCloudIntegrationsV1alphaCloudSchedulerConfig( @typing.type_check_only class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actions: _list[str] entities: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCoordinate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCoordinate(typing.TypedDict, total=False): x: int y: int @typing.type_check_only class GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appsScriptProject: str authConfigId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaCredential( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaCredential(typing.TypedDict, total=False): authToken: GoogleCloudIntegrationsV1alphaAuthToken - credentialType: typing_extensions.Literal[ + credentialType: typing.Literal[ "CREDENTIAL_TYPE_UNSPECIFIED", "USERNAME_AND_PASSWORD", "API_KEY", @@ -2169,28 +2003,24 @@ class GoogleCloudIntegrationsV1alphaCredential( usernameAndPassword: GoogleCloudIntegrationsV1alphaUsernameAndPassword @typing.type_check_only -class GoogleCloudIntegrationsV1alphaDoubleParameterArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaDoubleParameterArray(typing.TypedDict, total=False): doubleValues: _list[float] @typing.type_check_only class GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str files: _list[GoogleCloudIntegrationsV1alphaSerializedFile] @typing.type_check_only class GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): regions: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaErrorCatcherConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaErrorCatcherConfig(typing.TypedDict, total=False): description: str errorCatcherId: str errorCatcherNumber: str @@ -2199,22 +2029,18 @@ class GoogleCloudIntegrationsV1alphaErrorCatcherConfig( startErrorTasks: _list[GoogleCloudIntegrationsV1alphaNextTask] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaEventParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaEventParameter(typing.TypedDict, total=False): key: str masked: bool value: GoogleCloudIntegrationsV1alphaValueType @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecuteEventResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaExecuteEventResponse(typing.TypedDict, total=False): executionId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): doNotPropagateError: bool executionId: str @@ -2226,7 +2052,7 @@ class GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventParameters: EnterpriseCrmFrontendsEventbusProtoEventParameters executionFailed: bool @@ -2235,16 +2061,16 @@ class GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse( parameterEntries: _list[EnterpriseCrmFrontendsEventbusProtoParameterEntry] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecution(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaExecution(typing.TypedDict, total=False): cloudLoggingDetails: GoogleCloudIntegrationsV1alphaCloudLoggingDetails createTime: str directSubExecutions: _list[GoogleCloudIntegrationsV1alphaExecution] eventExecutionDetails: EnterpriseCrmEventbusProtoEventExecutionDetails executionDetails: GoogleCloudIntegrationsV1alphaExecutionDetails - executionMethod: typing_extensions.Literal[ + executionMethod: typing.Literal[ "EXECUTION_METHOD_UNSPECIFIED", "POST", "POST_TO_QUEUE", "SCHEDULE" ] - integrationVersionState: typing_extensions.Literal[ + integrationVersionState: typing.Literal[ "INTEGRATION_STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" ] name: str @@ -2257,13 +2083,11 @@ class GoogleCloudIntegrationsV1alphaExecution(typing_extensions.TypedDict, total updateTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecutionDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaExecutionDetails(typing.TypedDict, total=False): attemptStats: _list[GoogleCloudIntegrationsV1alphaAttemptStats] eventExecutionSnapshotsSize: str executionSnapshots: _list[GoogleCloudIntegrationsV1alphaExecutionSnapshot] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "PROCESSING", @@ -2275,9 +2099,7 @@ class GoogleCloudIntegrationsV1alphaExecutionDetails( ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaExecutionSnapshot( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaExecutionSnapshot(typing.TypedDict, total=False): checkpointTaskNumber: str executionSnapshotMetadata: ( GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata @@ -2287,7 +2109,7 @@ class GoogleCloudIntegrationsV1alphaExecutionSnapshot( @typing.type_check_only class GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ancestorIterationNumbers: _list[str] ancestorTaskNumbers: _list[str] @@ -2299,12 +2121,10 @@ class GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata( taskNumber: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaFailurePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaFailurePolicy(typing.TypedDict, total=False): intervalTime: str maxRetries: int - retryStrategy: typing_extensions.Literal[ + retryStrategy: typing.Literal[ "RETRY_STRATEGY_UNSPECIFIED", "IGNORE", "NONE", @@ -2317,20 +2137,16 @@ class GoogleCloudIntegrationsV1alphaFailurePolicy( @typing.type_check_only class GoogleCloudIntegrationsV1alphaGenerateTokenResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): message: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntParameterArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntParameterArray(typing.TypedDict, total=False): intValues: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntegration( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntegration(typing.TypedDict, total=False): active: bool creatorEmail: str description: str @@ -2340,14 +2156,14 @@ class GoogleCloudIntegrationsV1alphaIntegration( @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationAlertConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregationPeriod: str alertThreshold: int disableAlert: bool displayName: str durationThreshold: str - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "EVENT_ERROR_RATE", "EVENT_WARNING_RATE", @@ -2361,31 +2177,29 @@ class GoogleCloudIntegrationsV1alphaIntegrationAlertConfig( "TASK_PERCENTILE_DURATION", ] onlyFinalAttempt: bool - thresholdType: typing_extensions.Literal[ + thresholdType: typing.Literal[ "THRESHOLD_TYPE_UNSPECIFIED", "EXPECTED_MIN", "EXPECTED_MAX" ] thresholdValue: GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): absolute: str percentage: int @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationConfigParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parameter: GoogleCloudIntegrationsV1alphaIntegrationParameter value: GoogleCloudIntegrationsV1alphaValueType @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntegrationParameter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntegrationParameter(typing.TypedDict, total=False): containsLargeData: bool - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -2401,9 +2215,7 @@ class GoogleCloudIntegrationsV1alphaIntegrationParameter( ] defaultValue: GoogleCloudIntegrationsV1alphaValueType displayName: str - inputOutputType: typing_extensions.Literal[ - "IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT" - ] + inputOutputType: typing.Literal["IN_OUT_TYPE_UNSPECIFIED", "IN", "OUT", "IN_OUT"] isTransient: bool jsonSchema: str key: str @@ -2413,10 +2225,10 @@ class GoogleCloudIntegrationsV1alphaIntegrationParameter( @typing.type_check_only class GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str - databasePersistencePolicy: typing_extensions.Literal[ + databasePersistencePolicy: typing.Literal[ "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", "DATABASE_PERSISTENCE_DISABLED", "DATABASE_PERSISTENCE_ASYNC", @@ -2428,9 +2240,7 @@ class GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion( name: str parentIntegrationVersionId: str snapshotNumber: str - status: typing_extensions.Literal[ - "UNKNOWN", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" - ] + status: typing.Literal["UNKNOWN", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT"] taskConfigs: _list[EnterpriseCrmFrontendsEventbusProtoTaskConfig] teardown: EnterpriseCrmEventbusProtoTeardown templateParameters: EnterpriseCrmFrontendsEventbusProtoWorkflowParameters @@ -2439,13 +2249,11 @@ class GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion( userLabel: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaIntegrationVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaIntegrationVersion(typing.TypedDict, total=False): cloudLoggingDetails: GoogleCloudIntegrationsV1alphaCloudLoggingDetails createTime: str createdFromTemplate: str - databasePersistencePolicy: typing_extensions.Literal[ + databasePersistencePolicy: typing.Literal[ "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", "DATABASE_PERSISTENCE_DISABLED", "DATABASE_PERSISTENCE_ASYNC", @@ -2461,7 +2269,7 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion( lastModifierEmail: str lockHolder: str name: str - origin: typing_extensions.Literal[ + origin: typing.Literal[ "UNSPECIFIED", "UI", "PIPER_V2", @@ -2472,12 +2280,10 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion( parentTemplateId: str runAsServiceAccount: str snapshotNumber: str - state: typing_extensions.Literal[ + state: typing.Literal[ "INTEGRATION_STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" ] - status: typing_extensions.Literal[ - "UNKNOWN", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT" - ] + status: typing.Literal["UNKNOWN", "DRAFT", "ACTIVE", "ARCHIVED", "SNAPSHOT"] taskConfigs: _list[GoogleCloudIntegrationsV1alphaTaskConfig] taskConfigsInternal: _list[EnterpriseCrmFrontendsEventbusProtoTaskConfig] teardown: EnterpriseCrmEventbusProtoTeardown @@ -2487,7 +2293,7 @@ class GoogleCloudIntegrationsV1alphaIntegrationVersion( userLabel: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaJwt(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaJwt(typing.TypedDict, total=False): jwt: str jwtHeader: str jwtPayload: str @@ -2495,52 +2301,52 @@ class GoogleCloudIntegrationsV1alphaJwt(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudIntegrationsV1alphaLiftSuspensionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suspensionResult: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaLiftSuspensionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventExecutionInfoId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scriptId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scriptId: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListAuthConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): authConfigs: _list[GoogleCloudIntegrationsV1alphaAuthConfig] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListCertificatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificates: _list[GoogleCloudIntegrationsV1alphaCertificate] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListConnectionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connections: _list[GoogleCloudConnectorsV1Connection] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListExecutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): executionInfos: _list[EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo] executions: _list[GoogleCloudIntegrationsV1alphaExecution] @@ -2548,7 +2354,7 @@ class GoogleCloudIntegrationsV1alphaListExecutionsResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationTemplateVersions: _list[ GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion @@ -2557,7 +2363,7 @@ class GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersions: _list[GoogleCloudIntegrationsV1alphaIntegrationVersion] nextPageToken: str @@ -2565,48 +2371,48 @@ class GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse( @typing.type_check_only class GoogleCloudIntegrationsV1alphaListIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrations: _list[GoogleCloudIntegrationsV1alphaIntegration] nextPageToken: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str runtimeActionSchemas: _list[GoogleCloudIntegrationsV1alphaRuntimeActionSchema] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str runtimeEntitySchemas: _list[GoogleCloudIntegrationsV1alphaRuntimeEntitySchema] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sfdcChannels: _list[GoogleCloudIntegrationsV1alphaSfdcChannel] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str sfdcInstances: _list[GoogleCloudIntegrationsV1alphaSfdcInstance] @typing.type_check_only class GoogleCloudIntegrationsV1alphaListSuspensionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str suspensions: _list[GoogleCloudIntegrationsV1alphaSuspension] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaNextTask(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaNextTask(typing.TypedDict, total=False): condition: str description: str displayName: str @@ -2615,7 +2421,7 @@ class GoogleCloudIntegrationsV1alphaNextTask(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: GoogleCloudIntegrationsV1alphaAccessToken applyReauthPolicy: bool @@ -2624,7 +2430,7 @@ class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode( authParams: GoogleCloudIntegrationsV1alphaParameterMap clientId: str clientSecret: str - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "REQUEST_TYPE_UNSPECIFIED", "REQUEST_BODY", "QUERY_PARAMETERS", "ENCODED_HEADER" ] scope: str @@ -2633,12 +2439,12 @@ class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode( @typing.type_check_only class GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: GoogleCloudIntegrationsV1alphaAccessToken clientId: str clientSecret: str - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "REQUEST_TYPE_UNSPECIFIED", "REQUEST_BODY", "QUERY_PARAMETERS", "ENCODED_HEADER" ] scope: str @@ -2647,13 +2453,13 @@ class GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials( @typing.type_check_only class GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessToken: GoogleCloudIntegrationsV1alphaAccessToken clientId: str clientSecret: str password: str - requestType: typing_extensions.Literal[ + requestType: typing.Literal[ "REQUEST_TYPE_UNSPECIFIED", "REQUEST_BODY", "QUERY_PARAMETERS", "ENCODED_HEADER" ] scope: str @@ -2662,18 +2468,16 @@ class GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials( username: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaOidcToken(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaOidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str token: str tokenExpireTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaParameterMap( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaParameterMap(typing.TypedDict, total=False): entries: _list[GoogleCloudIntegrationsV1alphaParameterMapEntry] - keyType: typing_extensions.Literal[ + keyType: typing.Literal[ "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -2687,7 +2491,7 @@ class GoogleCloudIntegrationsV1alphaParameterMap( "PROTO_VALUE", "PROTO_ARRAY", ] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", "STRING_VALUE", "INT_VALUE", @@ -2703,60 +2507,52 @@ class GoogleCloudIntegrationsV1alphaParameterMap( ] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaParameterMapEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaParameterMapEntry(typing.TypedDict, total=False): key: GoogleCloudIntegrationsV1alphaParameterMapField value: GoogleCloudIntegrationsV1alphaParameterMapField @typing.type_check_only -class GoogleCloudIntegrationsV1alphaParameterMapField( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaParameterMapField(typing.TypedDict, total=False): literalValue: GoogleCloudIntegrationsV1alphaValueType referenceKey: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): configParameters: dict[str, typing.Any] @typing.type_check_only class GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suspension: GoogleCloudIntegrationsV1alphaSuspension @typing.type_check_only class GoogleCloudIntegrationsV1alphaResolveSuspensionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudIntegrationsV1alphaRuntimeActionSchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaRuntimeActionSchema(typing.TypedDict, total=False): action: str inputSchema: str outputSchema: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaRuntimeEntitySchema( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaRuntimeEntitySchema(typing.TypedDict, total=False): arrayFieldSchema: str entity: str fieldSchema: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputParameters: dict[str, typing.Any] parameterEntries: _list[EnterpriseCrmFrontendsEventbusProtoParameterEntry] @@ -2768,30 +2564,26 @@ class GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest( @typing.type_check_only class GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): executionInfoIds: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSerializedFile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSerializedFile(typing.TypedDict, total=False): content: str - file: typing_extensions.Literal[ + file: typing.Literal[ "INTEGRATION_FILE_UNSPECIFIED", "INTEGRATION", "INTEGRATION_CONFIG_VARIABLES" ] @typing.type_check_only class GoogleCloudIntegrationsV1alphaServiceAccountCredentials( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scope: str serviceAccount: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSfdcChannel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSfdcChannel(typing.TypedDict, total=False): channelTopic: str createTime: str deleteTime: str @@ -2803,9 +2595,7 @@ class GoogleCloudIntegrationsV1alphaSfdcChannel( updateTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSfdcInstance( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSfdcInstance(typing.TypedDict, total=False): authConfigId: _list[str] createTime: str deleteTime: str @@ -2817,23 +2607,15 @@ class GoogleCloudIntegrationsV1alphaSfdcInstance( updateTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaStringParameterArray( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaStringParameterArray(typing.TypedDict, total=False): stringValues: _list[str] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSuccessPolicy( - typing_extensions.TypedDict, total=False -): - finalState: typing_extensions.Literal[ - "FINAL_STATE_UNSPECIFIED", "SUCCEEDED", "SUSPENDED" - ] +class GoogleCloudIntegrationsV1alphaSuccessPolicy(typing.TypedDict, total=False): + finalState: typing.Literal["FINAL_STATE_UNSPECIFIED", "SUCCEEDED", "SUSPENDED"] @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSuspension( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSuspension(typing.TypedDict, total=False): approvalConfig: GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig audit: GoogleCloudIntegrationsV1alphaSuspensionAudit createTime: str @@ -2841,7 +2623,7 @@ class GoogleCloudIntegrationsV1alphaSuspension( integration: str lastModifyTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "RESOLUTION_STATE_UNSPECIFIED", "PENDING", "REJECTED", "LIFTED" ] suspensionConfig: EnterpriseCrmEventbusProtoSuspensionConfig @@ -2849,7 +2631,7 @@ class GoogleCloudIntegrationsV1alphaSuspension( @typing.type_check_only class GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customMessage: str emailAddresses: _list[str] @@ -2857,42 +2639,38 @@ class GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig( @typing.type_check_only class GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expireTime: str liftWhenExpired: bool remindTime: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaSuspensionAudit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaSuspensionAudit(typing.TypedDict, total=False): resolveTime: str resolver: str @typing.type_check_only class GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTaskConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTaskConfig(typing.TypedDict, total=False): description: str displayName: str errorCatcherId: str - externalTaskType: typing_extensions.Literal[ + externalTaskType: typing.Literal[ "EXTERNAL_TASK_TYPE_UNSPECIFIED", "NORMAL_TASK", "ERROR_TASK" ] failurePolicy: GoogleCloudIntegrationsV1alphaFailurePolicy - jsonValidationOption: typing_extensions.Literal[ + jsonValidationOption: typing.Literal[ "JSON_VALIDATION_OPTION_UNSPECIFIED", "SKIP", "PRE_EXECUTION", @@ -2900,7 +2678,7 @@ class GoogleCloudIntegrationsV1alphaTaskConfig( "PRE_POST_EXECUTION", ] nextTasks: _list[GoogleCloudIntegrationsV1alphaNextTask] - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] parameters: dict[str, typing.Any] @@ -2908,7 +2686,7 @@ class GoogleCloudIntegrationsV1alphaTaskConfig( successPolicy: GoogleCloudIntegrationsV1alphaSuccessPolicy synchronousCallFailurePolicy: GoogleCloudIntegrationsV1alphaFailurePolicy task: str - taskExecutionStrategy: typing_extensions.Literal[ + taskExecutionStrategy: typing.Literal[ "TASK_EXECUTION_STRATEGY_UNSPECIFIED", "WHEN_ALL_SUCCEED", "WHEN_ANY_SUCCEED", @@ -2918,11 +2696,9 @@ class GoogleCloudIntegrationsV1alphaTaskConfig( taskTemplate: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTaskExecutionDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTaskExecutionDetails(typing.TypedDict, total=False): taskAttemptStats: _list[GoogleCloudIntegrationsV1alphaAttemptStats] - taskExecutionState: typing_extensions.Literal[ + taskExecutionState: typing.Literal[ "TASK_EXECUTION_STATE_UNSPECIFIED", "PENDING_EXECUTION", "IN_PROCESS", @@ -2940,15 +2716,13 @@ class GoogleCloudIntegrationsV1alphaTaskExecutionDetails( taskNumber: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaTriggerConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaTriggerConfig(typing.TypedDict, total=False): alertConfig: _list[GoogleCloudIntegrationsV1alphaIntegrationAlertConfig] cloudSchedulerConfig: GoogleCloudIntegrationsV1alphaCloudSchedulerConfig description: str errorCatcherId: str label: str - nextTasksExecutionPolicy: typing_extensions.Literal[ + nextTasksExecutionPolicy: typing.Literal[ "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", "RUN_ALL_MATCH", "RUN_FIRST_MATCH" ] position: GoogleCloudIntegrationsV1alphaCoordinate @@ -2957,7 +2731,7 @@ class GoogleCloudIntegrationsV1alphaTriggerConfig( trigger: str triggerId: str triggerNumber: str - triggerType: typing_extensions.Literal[ + triggerType: typing.Literal[ "TRIGGER_TYPE_UNSPECIFIED", "CRON", "API", @@ -2971,31 +2745,29 @@ class GoogleCloudIntegrationsV1alphaTriggerConfig( @typing.type_check_only class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): content: str - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "JSON", "YAML"] @typing.type_check_only class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): integrationVersion: GoogleCloudIntegrationsV1alphaIntegrationVersion @typing.type_check_only -class GoogleCloudIntegrationsV1alphaUsernameAndPassword( - typing_extensions.TypedDict, total=False -): +class GoogleCloudIntegrationsV1alphaUsernameAndPassword(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class GoogleCloudIntegrationsV1alphaValueType(typing_extensions.TypedDict, total=False): +class GoogleCloudIntegrationsV1alphaValueType(typing.TypedDict, total=False): booleanArray: GoogleCloudIntegrationsV1alphaBooleanParameterArray booleanValue: bool doubleArray: GoogleCloudIntegrationsV1alphaDoubleParameterArray @@ -3008,12 +2780,12 @@ class GoogleCloudIntegrationsV1alphaValueType(typing_extensions.TypedDict, total @typing.type_check_only class GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str ignoreErrorIfNoActiveWorkflow: bool parameters: EnterpriseCrmEventbusProtoEventParameters - priority: typing_extensions.Literal[ + priority: typing.Literal[ "UNSPCIFIED", "SHEDDABLE", "SHEDDABLE_PLUS", "CRITICAL", "CRITICAL_PLUS" ] quotaRetryCount: int @@ -3026,4 +2798,4 @@ class GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest( workflowName: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/jobs/v2/resources.pyi b/googleapiclient-stubs/_apis/jobs/v2/resources.pyi index cd534d91b..e3171df97 100644 --- a/googleapiclient-stubs/_apis/jobs/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/jobs/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -127,11 +126,9 @@ class CloudTalentSolutionResource(googleapiclient.discovery.Resource): languageCode: str | None = ..., pageSize: int | None = ..., query: str | None = ..., - scope: typing_extensions.Literal[ - "COMPLETION_SCOPE_UNSPECIFIED", "TENANT", "PUBLIC" - ] + scope: typing.Literal["COMPLETION_SCOPE_UNSPECIFIED", "TENANT", "PUBLIC"] | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", "COMBINED" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/jobs/v2/schemas.pyi b/googleapiclient-stubs/_apis/jobs/v2/schemas.pyi index 6cb7292c8..d1b4f0ac5 100644 --- a/googleapiclient-stubs/_apis/jobs/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/jobs/v2/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BatchDeleteJobsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteJobsRequest(typing.TypedDict, total=False): filter: str -AlternativeBucketRange = typing_extensions.TypedDict( +AlternativeBucketRange = typing.TypedDict( "AlternativeBucketRange", { "from": float, @@ -21,33 +19,29 @@ AlternativeBucketRange = typing_extensions.TypedDict( class BucketRange(AlternativeBucketRange): ... @typing.type_check_only -class BucketizedCount(typing_extensions.TypedDict, total=False): +class BucketizedCount(typing.TypedDict, total=False): count: int range: BucketRange @typing.type_check_only -class CommuteInfo(typing_extensions.TypedDict, total=False): +class CommuteInfo(typing.TypedDict, total=False): jobLocation: JobLocation travelDuration: str @typing.type_check_only -class CommutePreference(typing_extensions.TypedDict, total=False): +class CommutePreference(typing.TypedDict, total=False): allowNonStreetLevelAddress: bool departureHourLocal: int - method: typing_extensions.Literal[ - "COMMUTE_METHOD_UNSPECIFIED", "DRIVING", "TRANSIT" - ] - roadTraffic: typing_extensions.Literal[ - "ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR" - ] + method: typing.Literal["COMMUTE_METHOD_UNSPECIFIED", "DRIVING", "TRANSIT"] + roadTraffic: typing.Literal["ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR"] startLocation: LatLng travelTime: str @typing.type_check_only -class Company(typing_extensions.TypedDict, total=False): +class Company(typing.TypedDict, total=False): careerPageLink: str companyInfoSources: _list[CompanyInfoSource] - companySize: typing_extensions.Literal[ + companySize: typing.Literal[ "COMPANY_SIZE_UNSPECIFIED", "MINI", "SMALL", @@ -74,19 +68,19 @@ class Company(typing_extensions.TypedDict, total=False): website: str @typing.type_check_only -class CompanyInfoSource(typing_extensions.TypedDict, total=False): +class CompanyInfoSource(typing.TypedDict, total=False): freebaseMid: str gplusId: str mapsCid: str unknownTypeId: str @typing.type_check_only -class CompensationEntry(typing_extensions.TypedDict, total=False): +class CompensationEntry(typing.TypedDict, total=False): amount: Money description: str expectedUnitsPerYear: float range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_TYPE_UNSPECIFIED", "BASE", "BONUS", @@ -97,7 +91,7 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): "TIPS", "OTHER_COMPENSATION_TYPE", ] - unit: typing_extensions.Literal[ + unit: typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -109,10 +103,10 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationFilter(typing_extensions.TypedDict, total=False): +class CompensationFilter(typing.TypedDict, total=False): includeJobsWithUnspecifiedCompensationRange: bool range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "UNIT_ONLY", "UNIT_AND_AMOUNT", @@ -120,7 +114,7 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): "ANNUALIZED_TOTAL_AMOUNT", ] units: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -133,9 +127,9 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationHistogramRequest(typing_extensions.TypedDict, total=False): +class CompensationHistogramRequest(typing.TypedDict, total=False): bucketingOption: NumericBucketingOption - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", "BASE", "ANNUALIZED_BASE", @@ -143,9 +137,9 @@ class CompensationHistogramRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationHistogramResult(typing_extensions.TypedDict, total=False): +class CompensationHistogramResult(typing.TypedDict, total=False): result: NumericBucketingResult - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", "BASE", "ANNUALIZED_BASE", @@ -153,14 +147,14 @@ class CompensationHistogramResult(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationInfo(typing_extensions.TypedDict, total=False): +class CompensationInfo(typing.TypedDict, total=False): amount: Money annualizedBaseCompensationRange: CompensationRange annualizedTotalCompensationRange: CompensationRange entries: _list[CompensationEntry] max: Money min: Money - type: typing_extensions.Literal[ + type: typing.Literal[ "JOB_COMPENSATION_TYPE_UNSPECIFIED", "HOURLY", "SALARY", @@ -170,82 +164,82 @@ class CompensationInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationRange(typing_extensions.TypedDict, total=False): +class CompensationRange(typing.TypedDict, total=False): max: Money min: Money @typing.type_check_only -class CompleteQueryResponse(typing_extensions.TypedDict, total=False): +class CompleteQueryResponse(typing.TypedDict, total=False): completionResults: _list[CompletionResult] metadata: ResponseMetadata @typing.type_check_only -class CompletionResult(typing_extensions.TypedDict, total=False): +class CompletionResult(typing.TypedDict, total=False): imageUrl: str suggestion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", "COMBINED" ] @typing.type_check_only -class CreateJobRequest(typing_extensions.TypedDict, total=False): +class CreateJobRequest(typing.TypedDict, total=False): disableStreetAddressResolution: bool job: Job processingOptions: JobProcessingOptions @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): filterable: bool longValue: str stringValues: StringValues @typing.type_check_only -class CustomAttributeHistogramRequest(typing_extensions.TypedDict, total=False): +class CustomAttributeHistogramRequest(typing.TypedDict, total=False): key: str longValueHistogramBucketingOption: NumericBucketingOption stringValueHistogram: bool @typing.type_check_only -class CustomAttributeHistogramResult(typing_extensions.TypedDict, total=False): +class CustomAttributeHistogramResult(typing.TypedDict, total=False): key: str longValueHistogramResult: NumericBucketingResult stringValueHistogramResult: dict[str, typing.Any] @typing.type_check_only -class CustomField(typing_extensions.TypedDict, total=False): +class CustomField(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class CustomFieldFilter(typing_extensions.TypedDict, total=False): +class CustomFieldFilter(typing.TypedDict, total=False): queries: _list[str] - type: typing_extensions.Literal["FILTER_TYPE_UNSPECIFIED", "OR", "AND", "NOT"] + type: typing.Literal["FILTER_TYPE_UNSPECIFIED", "OR", "AND", "NOT"] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DeleteJobsByFilterRequest(typing_extensions.TypedDict, total=False): +class DeleteJobsByFilterRequest(typing.TypedDict, total=False): disableFastProcess: bool filter: Filter @typing.type_check_only -class DeviceInfo(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceInfo(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "WEB", "MOBILE_WEB", "ANDROID", "IOS", "BOT", "OTHER" ] id: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExtendedCompensationFilter(typing_extensions.TypedDict, total=False): +class ExtendedCompensationFilter(typing.TypedDict, total=False): compensationRange: ExtendedCompensationInfoCompensationRange compensationUnits: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXTENDED_COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -258,7 +252,7 @@ class ExtendedCompensationFilter(typing_extensions.TypedDict, total=False): ] currency: str includeJobWithUnspecifiedCompensationRange: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "UNIT_ONLY", "UNIT_AND_AMOUNT", @@ -267,7 +261,7 @@ class ExtendedCompensationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExtendedCompensationInfo(typing_extensions.TypedDict, total=False): +class ExtendedCompensationInfo(typing.TypedDict, total=False): annualizedBaseCompensationRange: ExtendedCompensationInfoCompensationRange annualizedBaseCompensationUnspecified: bool annualizedTotalCompensationRange: ExtendedCompensationInfoCompensationRange @@ -276,14 +270,12 @@ class ExtendedCompensationInfo(typing_extensions.TypedDict, total=False): entries: _list[ExtendedCompensationInfoCompensationEntry] @typing.type_check_only -class ExtendedCompensationInfoCompensationEntry( - typing_extensions.TypedDict, total=False -): +class ExtendedCompensationInfoCompensationEntry(typing.TypedDict, total=False): amount: ExtendedCompensationInfoDecimal description: str expectedUnitsPerYear: ExtendedCompensationInfoDecimal range: ExtendedCompensationInfoCompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "EXTENDED_COMPENSATION_TYPE_UNSPECIFIED", "BASE", "BONUS", @@ -294,7 +286,7 @@ class ExtendedCompensationInfoCompensationEntry( "TIPS", "OTHER_COMPENSATION_TYPE", ] - unit: typing_extensions.Literal[ + unit: typing.Literal[ "EXTENDED_COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -307,29 +299,27 @@ class ExtendedCompensationInfoCompensationEntry( unspecified: bool @typing.type_check_only -class ExtendedCompensationInfoCompensationRange( - typing_extensions.TypedDict, total=False -): +class ExtendedCompensationInfoCompensationRange(typing.TypedDict, total=False): max: ExtendedCompensationInfoDecimal min: ExtendedCompensationInfoDecimal @typing.type_check_only -class ExtendedCompensationInfoDecimal(typing_extensions.TypedDict, total=False): +class ExtendedCompensationInfoDecimal(typing.TypedDict, total=False): micros: int units: str @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): requisitionId: str @typing.type_check_only -class GetHistogramRequest(typing_extensions.TypedDict, total=False): +class GetHistogramRequest(typing.TypedDict, total=False): allowBroadening: bool filters: JobFilters query: JobQuery requestMetadata: RequestMetadata searchTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_FIELD_UNSPECIFIED", "COMPANY_ID", "EMPLOYMENT_TYPE", @@ -372,30 +362,24 @@ class GetHistogramRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GetHistogramResponse(typing_extensions.TypedDict, total=False): +class GetHistogramResponse(typing.TypedDict, total=False): metadata: ResponseMetadata results: _list[HistogramResult] @typing.type_check_only -class GoogleCloudTalentV4BatchCreateJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudTalentV4BatchCreateJobsResponse(typing.TypedDict, total=False): jobResults: _list[GoogleCloudTalentV4JobResult] @typing.type_check_only -class GoogleCloudTalentV4BatchDeleteJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudTalentV4BatchDeleteJobsResponse(typing.TypedDict, total=False): jobResults: _list[GoogleCloudTalentV4JobResult] @typing.type_check_only -class GoogleCloudTalentV4BatchOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudTalentV4BatchOperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str failureCount: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -410,13 +394,11 @@ class GoogleCloudTalentV4BatchOperationMetadata( updateTime: str @typing.type_check_only -class GoogleCloudTalentV4BatchUpdateJobsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudTalentV4BatchUpdateJobsResponse(typing.TypedDict, total=False): jobResults: _list[GoogleCloudTalentV4JobResult] @typing.type_check_only -class GoogleCloudTalentV4CompensationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4CompensationInfo(typing.TypedDict, total=False): annualizedBaseCompensationRange: ( GoogleCloudTalentV4CompensationInfoCompensationRange ) @@ -427,13 +409,13 @@ class GoogleCloudTalentV4CompensationInfo(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudTalentV4CompensationInfoCompensationEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): amount: Money description: str expectedUnitsPerYear: float range: GoogleCloudTalentV4CompensationInfoCompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_TYPE_UNSPECIFIED", "BASE", "BONUS", @@ -444,7 +426,7 @@ class GoogleCloudTalentV4CompensationInfoCompensationEntry( "TIPS", "OTHER_COMPENSATION_TYPE", ] - unit: typing_extensions.Literal[ + unit: typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -457,20 +439,20 @@ class GoogleCloudTalentV4CompensationInfoCompensationEntry( @typing.type_check_only class GoogleCloudTalentV4CompensationInfoCompensationRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxCompensation: Money minCompensation: Money @typing.type_check_only -class GoogleCloudTalentV4CustomAttribute(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4CustomAttribute(typing.TypedDict, total=False): filterable: bool keywordSearchable: bool longValues: _list[str] stringValues: _list[str] @typing.type_check_only -class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4Job(typing.TypedDict, total=False): addresses: _list[str] applicationInfo: GoogleCloudTalentV4JobApplicationInfo company: str @@ -478,7 +460,7 @@ class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): compensationInfo: GoogleCloudTalentV4CompensationInfo customAttributes: dict[str, typing.Any] degreeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEGREE_TYPE_UNSPECIFIED", "PRIMARY_EDUCATION", "LOWER_SECONDARY_EDUCATION", @@ -494,7 +476,7 @@ class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): derivedInfo: GoogleCloudTalentV4JobDerivedInfo description: str employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -510,7 +492,7 @@ class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): ] incentives: str jobBenefits: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_BENEFIT_UNSPECIFIED", "CHILD_CARE", "DENTAL", @@ -526,7 +508,7 @@ class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): ] ] jobEndTime: str - jobLevel: typing_extensions.Literal[ + jobLevel: typing.Literal[ "JOB_LEVEL_UNSPECIFIED", "ENTRY_LEVEL", "EXPERIENCED", @@ -540,7 +522,7 @@ class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): postingCreateTime: str postingExpireTime: str postingPublishTime: str - postingRegion: typing_extensions.Literal[ + postingRegion: typing.Literal[ "POSTING_REGION_UNSPECIFIED", "ADMINISTRATIVE_AREA", "NATION", "TELECOMMUTE" ] postingUpdateTime: str @@ -550,7 +532,7 @@ class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): requisitionId: str responsibilities: str title: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSPECIFIED", "ACCOUNT_ONLY", "SHARED_WITH_GOOGLE", @@ -558,15 +540,15 @@ class GoogleCloudTalentV4Job(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleCloudTalentV4JobApplicationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4JobApplicationInfo(typing.TypedDict, total=False): emails: _list[str] instruction: str uris: _list[str] @typing.type_check_only -class GoogleCloudTalentV4JobDerivedInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4JobDerivedInfo(typing.TypedDict, total=False): jobCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -603,23 +585,23 @@ class GoogleCloudTalentV4JobDerivedInfo(typing_extensions.TypedDict, total=False locations: _list[GoogleCloudTalentV4Location] @typing.type_check_only -class GoogleCloudTalentV4JobProcessingOptions(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4JobProcessingOptions(typing.TypedDict, total=False): disableStreetAddressResolution: bool - htmlSanitization: typing_extensions.Literal[ + htmlSanitization: typing.Literal[ "HTML_SANITIZATION_UNSPECIFIED", "HTML_SANITIZATION_DISABLED", "SIMPLE_FORMATTING_ONLY", ] @typing.type_check_only -class GoogleCloudTalentV4JobResult(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4JobResult(typing.TypedDict, total=False): job: GoogleCloudTalentV4Job status: Status @typing.type_check_only -class GoogleCloudTalentV4Location(typing_extensions.TypedDict, total=False): +class GoogleCloudTalentV4Location(typing.TypedDict, total=False): latLng: LatLng - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "LOCATION_TYPE_UNSPECIFIED", "COUNTRY", "ADMINISTRATIVE_AREA", @@ -636,11 +618,11 @@ class GoogleCloudTalentV4Location(typing_extensions.TypedDict, total=False): radiusMiles: float @typing.type_check_only -class HistogramFacets(typing_extensions.TypedDict, total=False): +class HistogramFacets(typing.TypedDict, total=False): compensationHistogramFacets: _list[CompensationHistogramRequest] customAttributeHistogramFacets: _list[CustomAttributeHistogramRequest] simpleHistogramFacets: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_FIELD_UNSPECIFIED", "COMPANY_ID", "EMPLOYMENT_TYPE", @@ -683,8 +665,8 @@ class HistogramFacets(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HistogramResult(typing_extensions.TypedDict, total=False): - searchType: typing_extensions.Literal[ +class HistogramResult(typing.TypedDict, total=False): + searchType: typing.Literal[ "JOB_FIELD_UNSPECIFIED", "COMPANY_ID", "EMPLOYMENT_TYPE", @@ -727,18 +709,18 @@ class HistogramResult(typing_extensions.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class HistogramResults(typing_extensions.TypedDict, total=False): +class HistogramResults(typing.TypedDict, total=False): compensationHistogramResults: _list[CompensationHistogramResult] customAttributeHistogramResults: _list[CustomAttributeHistogramResult] simpleHistogramResults: _list[HistogramResult] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): applicationEmailList: _list[str] applicationInstruction: str applicationUrls: _list[str] benefits: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_BENEFIT_TYPE_UNSPECIFIED", "CHILD_CARE", "DENTAL", @@ -764,7 +746,7 @@ class Job(typing_extensions.TypedDict, total=False): description: str distributorCompanyId: str educationLevels: _list[ - typing_extensions.Literal[ + typing.Literal[ "EDUCATION_LEVEL_UNSPECIFIED", "HIGH_SCHOOL", "ASSOCIATE", @@ -775,7 +757,7 @@ class Job(typing_extensions.TypedDict, total=False): ] ] employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -798,7 +780,7 @@ class Job(typing_extensions.TypedDict, total=False): jobLocations: _list[JobLocation] jobTitle: str languageCode: str - level: typing_extensions.Literal[ + level: typing.Literal[ "JOB_LEVEL_UNSPECIFIED", "ENTRY_LEVEL", "EXPERIENCED", @@ -812,7 +794,7 @@ class Job(typing_extensions.TypedDict, total=False): publishDate: Date qualifications: str referenceUrl: str - region: typing_extensions.Literal[ + region: typing.Literal[ "REGION_UNSPECIFIED", "STATE_WIDE", "NATION_WIDE", "TELECOMMUTE" ] requisitionId: str @@ -820,14 +802,14 @@ class Job(typing_extensions.TypedDict, total=False): startDate: Date unindexedCustomFields: dict[str, typing.Any] updateTime: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "JOB_VISIBILITY_UNSPECIFIED", "PRIVATE", "GOOGLE", "PUBLIC" ] @typing.type_check_only -class JobFilters(typing_extensions.TypedDict, total=False): +class JobFilters(typing.TypedDict, total=False): categories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -869,7 +851,7 @@ class JobFilters(typing_extensions.TypedDict, total=False): customFieldFilters: dict[str, typing.Any] disableSpellCheck: bool employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -886,7 +868,7 @@ class JobFilters(typing_extensions.TypedDict, total=False): extendedCompensationFilter: ExtendedCompensationFilter languageCodes: _list[str] locationFilters: _list[LocationFilter] - publishDateRange: typing_extensions.Literal[ + publishDateRange: typing.Literal[ "DATE_RANGE_UNSPECIFIED", "PAST_24_HOURS", "PAST_WEEK", @@ -898,9 +880,9 @@ class JobFilters(typing_extensions.TypedDict, total=False): tenantJobOnly: bool @typing.type_check_only -class JobLocation(typing_extensions.TypedDict, total=False): +class JobLocation(typing.TypedDict, total=False): latLng: LatLng - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "LOCATION_TYPE_UNSPECIFIED", "COUNTRY", "ADMINISTRATIVE_AREA", @@ -917,18 +899,18 @@ class JobLocation(typing_extensions.TypedDict, total=False): radiusMeters: float @typing.type_check_only -class JobProcessingOptions(typing_extensions.TypedDict, total=False): +class JobProcessingOptions(typing.TypedDict, total=False): disableStreetAddressResolution: bool - htmlSanitization: typing_extensions.Literal[ + htmlSanitization: typing.Literal[ "HTML_SANITIZATION_UNSPECIFIED", "HTML_SANITIZATION_DISABLED", "SIMPLE_FORMATTING_ONLY", ] @typing.type_check_only -class JobQuery(typing_extensions.TypedDict, total=False): +class JobQuery(typing.TypedDict, total=False): categories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -969,7 +951,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): customAttributeFilter: str disableSpellCheck: bool employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -985,7 +967,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): ] languageCodes: _list[str] locationFilters: _list[LocationFilter] - publishDateRange: typing_extensions.Literal[ + publishDateRange: typing.Literal[ "DATE_RANGE_UNSPECIFIED", "PAST_24_HOURS", "PAST_WEEK", @@ -996,31 +978,31 @@ class JobQuery(typing_extensions.TypedDict, total=False): query: str @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ListCompaniesResponse(typing_extensions.TypedDict, total=False): +class ListCompaniesResponse(typing.TypedDict, total=False): companies: _list[Company] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class ListCompanyJobsResponse(typing_extensions.TypedDict, total=False): +class ListCompanyJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] metadata: ResponseMetadata nextPageToken: str totalSize: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class LocationFilter(typing_extensions.TypedDict, total=False): +class LocationFilter(typing.TypedDict, total=False): distanceInMiles: float isTelecommute: bool latLng: LatLng @@ -1028,7 +1010,7 @@ class LocationFilter(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class MatchingJob(typing_extensions.TypedDict, total=False): +class MatchingJob(typing.TypedDict, total=False): commuteInfo: CommuteInfo job: Job jobSummary: str @@ -1036,17 +1018,17 @@ class MatchingJob(typing_extensions.TypedDict, total=False): searchTextSnippet: str @typing.type_check_only -class MendelDebugInput(typing_extensions.TypedDict, total=False): +class MendelDebugInput(typing.TypedDict, total=False): namespacedDebugInput: dict[str, typing.Any] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class NamespacedDebugInput(typing_extensions.TypedDict, total=False): +class NamespacedDebugInput(typing.TypedDict, total=False): absolutelyForcedExpNames: _list[str] absolutelyForcedExpTags: _list[str] absolutelyForcedExps: _list[int] @@ -1063,18 +1045,18 @@ class NamespacedDebugInput(typing_extensions.TypedDict, total=False): forcedRollouts: dict[str, typing.Any] @typing.type_check_only -class NumericBucketingOption(typing_extensions.TypedDict, total=False): +class NumericBucketingOption(typing.TypedDict, total=False): bucketBounds: _list[float] requiresMinMax: bool @typing.type_check_only -class NumericBucketingResult(typing_extensions.TypedDict, total=False): +class NumericBucketingResult(typing.TypedDict, total=False): counts: _list[BucketizedCount] maxValue: float minValue: float @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -1088,16 +1070,16 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class RequestMetadata(typing_extensions.TypedDict, total=False): +class RequestMetadata(typing.TypedDict, total=False): deviceInfo: DeviceInfo domain: str sessionId: str userId: str @typing.type_check_only -class ResponseMetadata(typing_extensions.TypedDict, total=False): +class ResponseMetadata(typing.TypedDict, total=False): experimentIdList: _list[int] - mode: typing_extensions.Literal[ + mode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "JOB_SEARCH", "FEATURED_JOB_SEARCH", @@ -1106,23 +1088,21 @@ class ResponseMetadata(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class SearchJobsRequest(typing_extensions.TypedDict, total=False): +class SearchJobsRequest(typing.TypedDict, total=False): disableRelevanceThresholding: bool enableBroadening: bool enablePreciseResultSize: bool filters: JobFilters histogramFacets: HistogramFacets - jobView: typing_extensions.Literal[ - "JOB_VIEW_UNSPECIFIED", "SMALL", "MINIMAL", "FULL" - ] - mode: typing_extensions.Literal[ + jobView: typing.Literal["JOB_VIEW_UNSPECIFIED", "SMALL", "MINIMAL", "FULL"] + mode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "JOB_SEARCH", "FEATURED_JOB_SEARCH", "EMAIL_ALERT_SEARCH", ] offset: int - orderBy: typing_extensions.Literal[ + orderBy: typing.Literal[ "SORT_BY_UNSPECIFIED", "RELEVANCE_DESC", "PUBLISHED_DATE_DESC", @@ -1138,7 +1118,7 @@ class SearchJobsRequest(typing_extensions.TypedDict, total=False): pageToken: str query: JobQuery requestMetadata: RequestMetadata - sortBy: typing_extensions.Literal[ + sortBy: typing.Literal[ "SORT_BY_UNSPECIFIED", "RELEVANCE_DESC", "PUBLISHED_DATE_DESC", @@ -1152,14 +1132,12 @@ class SearchJobsRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SearchJobsResponse(typing_extensions.TypedDict, total=False): +class SearchJobsResponse(typing.TypedDict, total=False): appliedCommuteFilter: CommutePreference appliedJobLocationFilters: _list[JobLocation] estimatedTotalSize: str histogramResults: HistogramResults - jobView: typing_extensions.Literal[ - "JOB_VIEW_UNSPECIFIED", "SMALL", "MINIMAL", "FULL" - ] + jobView: typing.Literal["JOB_VIEW_UNSPECIFIED", "SMALL", "MINIMAL", "FULL"] matchingJobs: _list[MatchingJob] metadata: ResponseMetadata nextPageToken: str @@ -1168,22 +1146,22 @@ class SearchJobsResponse(typing_extensions.TypedDict, total=False): totalSize: str @typing.type_check_only -class SpellingCorrection(typing_extensions.TypedDict, total=False): +class SpellingCorrection(typing.TypedDict, total=False): corrected: bool correctedText: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StringValues(typing_extensions.TypedDict, total=False): +class StringValues(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class UpdateJobRequest(typing_extensions.TypedDict, total=False): +class UpdateJobRequest(typing.TypedDict, total=False): disableStreetAddressResolution: bool job: Job processingOptions: JobProcessingOptions diff --git a/googleapiclient-stubs/_apis/jobs/v3/resources.pyi b/googleapiclient-stubs/_apis/jobs/v3/resources.pyi index 7a22e91c2..6ccbdbbd0 100644 --- a/googleapiclient-stubs/_apis/jobs/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/jobs/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -69,7 +68,7 @@ class CloudTalentSolutionResource(googleapiclient.discovery.Resource): *, parent: str, filter: str | None = ..., - jobView: typing_extensions.Literal[ + jobView: typing.Literal[ "JOB_VIEW_UNSPECIFIED", "JOB_VIEW_ID_ONLY", "JOB_VIEW_MINIMAL", @@ -115,11 +114,9 @@ class CloudTalentSolutionResource(googleapiclient.discovery.Resource): languageCodes: str | _list[str] | None = ..., pageSize: int | None = ..., query: str | None = ..., - scope: typing_extensions.Literal[ - "COMPLETION_SCOPE_UNSPECIFIED", "TENANT", "PUBLIC" - ] + scope: typing.Literal["COMPLETION_SCOPE_UNSPECIFIED", "TENANT", "PUBLIC"] | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", "COMBINED" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/jobs/v3/schemas.pyi b/googleapiclient-stubs/_apis/jobs/v3/schemas.pyi index 08998ee10..008f6e5f4 100644 --- a/googleapiclient-stubs/_apis/jobs/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/jobs/v3/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplicationInfo(typing_extensions.TypedDict, total=False): +class ApplicationInfo(typing.TypedDict, total=False): emails: _list[str] instruction: str uris: _list[str] @typing.type_check_only -class BatchDeleteJobsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteJobsRequest(typing.TypedDict, total=False): filter: str -AlternativeBucketRange = typing_extensions.TypedDict( +AlternativeBucketRange = typing.TypedDict( "AlternativeBucketRange", { "from": float, @@ -27,12 +25,12 @@ AlternativeBucketRange = typing_extensions.TypedDict( class BucketRange(AlternativeBucketRange): ... @typing.type_check_only -class BucketizedCount(typing_extensions.TypedDict, total=False): +class BucketizedCount(typing.TypedDict, total=False): count: int range: BucketRange @typing.type_check_only -class ClientEvent(typing_extensions.TypedDict, total=False): +class ClientEvent(typing.TypedDict, total=False): createTime: str eventId: str extraInfo: dict[str, typing.Any] @@ -41,25 +39,21 @@ class ClientEvent(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class CommuteFilter(typing_extensions.TypedDict, total=False): +class CommuteFilter(typing.TypedDict, total=False): allowImpreciseAddresses: bool - commuteMethod: typing_extensions.Literal[ - "COMMUTE_METHOD_UNSPECIFIED", "DRIVING", "TRANSIT" - ] + commuteMethod: typing.Literal["COMMUTE_METHOD_UNSPECIFIED", "DRIVING", "TRANSIT"] departureTime: TimeOfDay - roadTraffic: typing_extensions.Literal[ - "ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR" - ] + roadTraffic: typing.Literal["ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR"] startCoordinates: LatLng travelDuration: str @typing.type_check_only -class CommuteInfo(typing_extensions.TypedDict, total=False): +class CommuteInfo(typing.TypedDict, total=False): jobLocation: Location travelDuration: str @typing.type_check_only -class Company(typing_extensions.TypedDict, total=False): +class Company(typing.TypedDict, total=False): careerSiteUri: str derivedInfo: CompanyDerivedInfo displayName: str @@ -70,7 +64,7 @@ class Company(typing_extensions.TypedDict, total=False): imageUri: str keywordSearchableJobCustomAttributes: _list[str] name: str - size: typing_extensions.Literal[ + size: typing.Literal[ "COMPANY_SIZE_UNSPECIFIED", "MINI", "SMALL", @@ -84,16 +78,16 @@ class Company(typing_extensions.TypedDict, total=False): websiteUri: str @typing.type_check_only -class CompanyDerivedInfo(typing_extensions.TypedDict, total=False): +class CompanyDerivedInfo(typing.TypedDict, total=False): headquartersLocation: Location @typing.type_check_only -class CompensationEntry(typing_extensions.TypedDict, total=False): +class CompensationEntry(typing.TypedDict, total=False): amount: Money description: str expectedUnitsPerYear: float range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_TYPE_UNSPECIFIED", "BASE", "BONUS", @@ -104,7 +98,7 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): "TIPS", "OTHER_COMPENSATION_TYPE", ] - unit: typing_extensions.Literal[ + unit: typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -116,10 +110,10 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationFilter(typing_extensions.TypedDict, total=False): +class CompensationFilter(typing.TypedDict, total=False): includeJobsWithUnspecifiedCompensationRange: bool range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "UNIT_ONLY", "UNIT_AND_AMOUNT", @@ -127,7 +121,7 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): "ANNUALIZED_TOTAL_AMOUNT", ] units: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -140,9 +134,9 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationHistogramRequest(typing_extensions.TypedDict, total=False): +class CompensationHistogramRequest(typing.TypedDict, total=False): bucketingOption: NumericBucketingOption - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", "BASE", "ANNUALIZED_BASE", @@ -150,9 +144,9 @@ class CompensationHistogramRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationHistogramResult(typing_extensions.TypedDict, total=False): +class CompensationHistogramResult(typing.TypedDict, total=False): result: NumericBucketingResult - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", "BASE", "ANNUALIZED_BASE", @@ -160,75 +154,75 @@ class CompensationHistogramResult(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationInfo(typing_extensions.TypedDict, total=False): +class CompensationInfo(typing.TypedDict, total=False): annualizedBaseCompensationRange: CompensationRange annualizedTotalCompensationRange: CompensationRange entries: _list[CompensationEntry] @typing.type_check_only -class CompensationRange(typing_extensions.TypedDict, total=False): +class CompensationRange(typing.TypedDict, total=False): maxCompensation: Money minCompensation: Money @typing.type_check_only -class CompleteQueryResponse(typing_extensions.TypedDict, total=False): +class CompleteQueryResponse(typing.TypedDict, total=False): completionResults: _list[CompletionResult] metadata: ResponseMetadata @typing.type_check_only -class CompletionResult(typing_extensions.TypedDict, total=False): +class CompletionResult(typing.TypedDict, total=False): imageUri: str suggestion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", "COMBINED" ] @typing.type_check_only -class CreateClientEventRequest(typing_extensions.TypedDict, total=False): +class CreateClientEventRequest(typing.TypedDict, total=False): clientEvent: ClientEvent @typing.type_check_only -class CreateCompanyRequest(typing_extensions.TypedDict, total=False): +class CreateCompanyRequest(typing.TypedDict, total=False): company: Company @typing.type_check_only -class CreateJobRequest(typing_extensions.TypedDict, total=False): +class CreateJobRequest(typing.TypedDict, total=False): job: Job @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): filterable: bool longValues: _list[str] stringValues: _list[str] @typing.type_check_only -class CustomAttributeHistogramRequest(typing_extensions.TypedDict, total=False): +class CustomAttributeHistogramRequest(typing.TypedDict, total=False): key: str longValueHistogramBucketingOption: NumericBucketingOption stringValueHistogram: bool @typing.type_check_only -class CustomAttributeHistogramResult(typing_extensions.TypedDict, total=False): +class CustomAttributeHistogramResult(typing.TypedDict, total=False): key: str longValueHistogramResult: NumericBucketingResult stringValueHistogramResult: dict[str, typing.Any] @typing.type_check_only -class DeviceInfo(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceInfo(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "WEB", "MOBILE_WEB", "ANDROID", "IOS", "BOT", "OTHER" ] id: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HistogramFacets(typing_extensions.TypedDict, total=False): +class HistogramFacets(typing.TypedDict, total=False): compensationHistogramFacets: _list[CompensationHistogramRequest] customAttributeHistogramFacets: _list[CustomAttributeHistogramRequest] simpleHistogramFacets: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_TYPE_UNSPECIFIED", "COMPANY_ID", "EMPLOYMENT_TYPE", @@ -250,8 +244,8 @@ class HistogramFacets(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HistogramResult(typing_extensions.TypedDict, total=False): - searchType: typing_extensions.Literal[ +class HistogramResult(typing.TypedDict, total=False): + searchType: typing.Literal[ "SEARCH_TYPE_UNSPECIFIED", "COMPANY_ID", "EMPLOYMENT_TYPE", @@ -273,13 +267,13 @@ class HistogramResult(typing_extensions.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class HistogramResults(typing_extensions.TypedDict, total=False): +class HistogramResults(typing.TypedDict, total=False): compensationHistogramResults: _list[CompensationHistogramResult] customAttributeHistogramResults: _list[CustomAttributeHistogramResult] simpleHistogramResults: _list[HistogramResult] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): addresses: _list[str] applicationInfo: ApplicationInfo companyDisplayName: str @@ -287,7 +281,7 @@ class Job(typing_extensions.TypedDict, total=False): compensationInfo: CompensationInfo customAttributes: dict[str, typing.Any] degreeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEGREE_TYPE_UNSPECIFIED", "PRIMARY_EDUCATION", "LOWER_SECONDARY_EDUCATION", @@ -303,7 +297,7 @@ class Job(typing_extensions.TypedDict, total=False): derivedInfo: JobDerivedInfo description: str employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -319,7 +313,7 @@ class Job(typing_extensions.TypedDict, total=False): ] incentives: str jobBenefits: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_BENEFIT_UNSPECIFIED", "CHILD_CARE", "DENTAL", @@ -335,7 +329,7 @@ class Job(typing_extensions.TypedDict, total=False): ] ] jobEndTime: str - jobLevel: typing_extensions.Literal[ + jobLevel: typing.Literal[ "JOB_LEVEL_UNSPECIFIED", "ENTRY_LEVEL", "EXPERIENCED", @@ -349,7 +343,7 @@ class Job(typing_extensions.TypedDict, total=False): postingCreateTime: str postingExpireTime: str postingPublishTime: str - postingRegion: typing_extensions.Literal[ + postingRegion: typing.Literal[ "POSTING_REGION_UNSPECIFIED", "ADMINISTRATIVE_AREA", "NATION", "TELECOMMUTE" ] postingUpdateTime: str @@ -359,7 +353,7 @@ class Job(typing_extensions.TypedDict, total=False): requisitionId: str responsibilities: str title: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSPECIFIED", "ACCOUNT_ONLY", "SHARED_WITH_GOOGLE", @@ -367,9 +361,9 @@ class Job(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class JobDerivedInfo(typing_extensions.TypedDict, total=False): +class JobDerivedInfo(typing.TypedDict, total=False): jobCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -406,9 +400,9 @@ class JobDerivedInfo(typing_extensions.TypedDict, total=False): locations: _list[Location] @typing.type_check_only -class JobEvent(typing_extensions.TypedDict, total=False): +class JobEvent(typing.TypedDict, total=False): jobs: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "JOB_EVENT_TYPE_UNSPECIFIED", "IMPRESSION", "VIEW", @@ -429,7 +423,7 @@ class JobEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class JobQuery(typing_extensions.TypedDict, total=False): +class JobQuery(typing.TypedDict, total=False): commuteFilter: CommuteFilter companyDisplayNames: _list[str] companyNames: _list[str] @@ -437,7 +431,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): customAttributeFilter: str disableSpellCheck: bool employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -452,7 +446,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): ] ] jobCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -493,26 +487,26 @@ class JobQuery(typing_extensions.TypedDict, total=False): queryLanguageCode: str @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ListCompaniesResponse(typing_extensions.TypedDict, total=False): +class ListCompaniesResponse(typing.TypedDict, total=False): companies: _list[Company] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): latLng: LatLng - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "LOCATION_TYPE_UNSPECIFIED", "COUNTRY", "ADMINISTRATIVE_AREA", @@ -529,12 +523,12 @@ class Location(typing_extensions.TypedDict, total=False): radiusInMiles: float @typing.type_check_only -class LocationFilter(typing_extensions.TypedDict, total=False): +class LocationFilter(typing.TypedDict, total=False): address: str distanceInMiles: float latLng: LatLng regionCode: str - telecommutePreference: typing_extensions.Literal[ + telecommutePreference: typing.Literal[ "TELECOMMUTE_PREFERENCE_UNSPECIFIED", "TELECOMMUTE_EXCLUDED", "TELECOMMUTE_ALLOWED", @@ -542,7 +536,7 @@ class LocationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MatchingJob(typing_extensions.TypedDict, total=False): +class MatchingJob(typing.TypedDict, total=False): commuteInfo: CommuteInfo job: Job jobSummary: str @@ -550,24 +544,24 @@ class MatchingJob(typing_extensions.TypedDict, total=False): searchTextSnippet: str @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class NumericBucketingOption(typing_extensions.TypedDict, total=False): +class NumericBucketingOption(typing.TypedDict, total=False): bucketBounds: _list[float] requiresMinMax: bool @typing.type_check_only -class NumericBucketingResult(typing_extensions.TypedDict, total=False): +class NumericBucketingResult(typing.TypedDict, total=False): counts: _list[BucketizedCount] maxValue: float minValue: float @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -581,35 +575,35 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class ProcessingOptions(typing_extensions.TypedDict, total=False): +class ProcessingOptions(typing.TypedDict, total=False): disableStreetAddressResolution: bool - htmlSanitization: typing_extensions.Literal[ + htmlSanitization: typing.Literal[ "HTML_SANITIZATION_UNSPECIFIED", "HTML_SANITIZATION_DISABLED", "SIMPLE_FORMATTING_ONLY", ] @typing.type_check_only -class RequestMetadata(typing_extensions.TypedDict, total=False): +class RequestMetadata(typing.TypedDict, total=False): deviceInfo: DeviceInfo domain: str sessionId: str userId: str @typing.type_check_only -class ResponseMetadata(typing_extensions.TypedDict, total=False): +class ResponseMetadata(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class SearchJobsRequest(typing_extensions.TypedDict, total=False): +class SearchJobsRequest(typing.TypedDict, total=False): disableKeywordMatch: bool - diversificationLevel: typing_extensions.Literal[ + diversificationLevel: typing.Literal[ "DIVERSIFICATION_LEVEL_UNSPECIFIED", "DISABLED", "SIMPLE" ] enableBroadening: bool histogramFacets: HistogramFacets jobQuery: JobQuery - jobView: typing_extensions.Literal[ + jobView: typing.Literal[ "JOB_VIEW_UNSPECIFIED", "JOB_VIEW_ID_ONLY", "JOB_VIEW_MINIMAL", @@ -622,12 +616,12 @@ class SearchJobsRequest(typing_extensions.TypedDict, total=False): pageToken: str requestMetadata: RequestMetadata requirePreciseResultSize: bool - searchMode: typing_extensions.Literal[ + searchMode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "JOB_SEARCH", "FEATURED_JOB_SEARCH" ] @typing.type_check_only -class SearchJobsResponse(typing_extensions.TypedDict, total=False): +class SearchJobsResponse(typing.TypedDict, total=False): broadenedQueryJobsCount: int estimatedTotalSize: int histogramResults: HistogramResults @@ -639,28 +633,28 @@ class SearchJobsResponse(typing_extensions.TypedDict, total=False): totalSize: int @typing.type_check_only -class SpellingCorrection(typing_extensions.TypedDict, total=False): +class SpellingCorrection(typing.TypedDict, total=False): corrected: bool correctedText: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimestampRange(typing_extensions.TypedDict, total=False): +class TimestampRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateCompanyRequest(typing_extensions.TypedDict, total=False): +class UpdateCompanyRequest(typing.TypedDict, total=False): company: Company updateMask: str @typing.type_check_only -class UpdateJobRequest(typing_extensions.TypedDict, total=False): +class UpdateJobRequest(typing.TypedDict, total=False): job: Job updateMask: str diff --git a/googleapiclient-stubs/_apis/jobs/v3p1beta1/resources.pyi b/googleapiclient-stubs/_apis/jobs/v3p1beta1/resources.pyi index 4e5319925..b285e47e5 100644 --- a/googleapiclient-stubs/_apis/jobs/v3p1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/jobs/v3p1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -69,7 +68,7 @@ class CloudTalentSolutionResource(googleapiclient.discovery.Resource): *, parent: str, filter: str | None = ..., - jobView: typing_extensions.Literal[ + jobView: typing.Literal[ "JOB_VIEW_UNSPECIFIED", "JOB_VIEW_ID_ONLY", "JOB_VIEW_MINIMAL", @@ -121,11 +120,9 @@ class CloudTalentSolutionResource(googleapiclient.discovery.Resource): languageCodes: str | _list[str] | None = ..., pageSize: int | None = ..., query: str | None = ..., - scope: typing_extensions.Literal[ - "COMPLETION_SCOPE_UNSPECIFIED", "TENANT", "PUBLIC" - ] + scope: typing.Literal["COMPLETION_SCOPE_UNSPECIFIED", "TENANT", "PUBLIC"] | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", "COMBINED" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/jobs/v3p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/jobs/v3p1beta1/schemas.pyi index a5214bd5f..12cdbbef6 100644 --- a/googleapiclient-stubs/_apis/jobs/v3p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/jobs/v3p1beta1/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplicationInfo(typing_extensions.TypedDict, total=False): +class ApplicationInfo(typing.TypedDict, total=False): emails: _list[str] instruction: str uris: _list[str] @typing.type_check_only -class BatchDeleteJobsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteJobsRequest(typing.TypedDict, total=False): filter: str -AlternativeBucketRange = typing_extensions.TypedDict( +AlternativeBucketRange = typing.TypedDict( "AlternativeBucketRange", { "from": float, @@ -27,12 +25,12 @@ AlternativeBucketRange = typing_extensions.TypedDict( class BucketRange(AlternativeBucketRange): ... @typing.type_check_only -class BucketizedCount(typing_extensions.TypedDict, total=False): +class BucketizedCount(typing.TypedDict, total=False): count: int range: BucketRange @typing.type_check_only -class ClientEvent(typing_extensions.TypedDict, total=False): +class ClientEvent(typing.TypedDict, total=False): createTime: str eventId: str extraInfo: dict[str, typing.Any] @@ -41,25 +39,23 @@ class ClientEvent(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class CommuteFilter(typing_extensions.TypedDict, total=False): +class CommuteFilter(typing.TypedDict, total=False): allowImpreciseAddresses: bool - commuteMethod: typing_extensions.Literal[ + commuteMethod: typing.Literal[ "COMMUTE_METHOD_UNSPECIFIED", "DRIVING", "TRANSIT", "WALKING", "CYCLING" ] departureTime: TimeOfDay - roadTraffic: typing_extensions.Literal[ - "ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR" - ] + roadTraffic: typing.Literal["ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR"] startCoordinates: LatLng travelDuration: str @typing.type_check_only -class CommuteInfo(typing_extensions.TypedDict, total=False): +class CommuteInfo(typing.TypedDict, total=False): jobLocation: Location travelDuration: str @typing.type_check_only -class Company(typing_extensions.TypedDict, total=False): +class Company(typing.TypedDict, total=False): careerSiteUri: str derivedInfo: CompanyDerivedInfo displayName: str @@ -70,7 +66,7 @@ class Company(typing_extensions.TypedDict, total=False): imageUri: str keywordSearchableJobCustomAttributes: _list[str] name: str - size: typing_extensions.Literal[ + size: typing.Literal[ "COMPANY_SIZE_UNSPECIFIED", "MINI", "SMALL", @@ -84,16 +80,16 @@ class Company(typing_extensions.TypedDict, total=False): websiteUri: str @typing.type_check_only -class CompanyDerivedInfo(typing_extensions.TypedDict, total=False): +class CompanyDerivedInfo(typing.TypedDict, total=False): headquartersLocation: Location @typing.type_check_only -class CompensationEntry(typing_extensions.TypedDict, total=False): +class CompensationEntry(typing.TypedDict, total=False): amount: Money description: str expectedUnitsPerYear: float range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_TYPE_UNSPECIFIED", "BASE", "BONUS", @@ -104,7 +100,7 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): "TIPS", "OTHER_COMPENSATION_TYPE", ] - unit: typing_extensions.Literal[ + unit: typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -116,10 +112,10 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationFilter(typing_extensions.TypedDict, total=False): +class CompensationFilter(typing.TypedDict, total=False): includeJobsWithUnspecifiedCompensationRange: bool range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "UNIT_ONLY", "UNIT_AND_AMOUNT", @@ -127,7 +123,7 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): "ANNUALIZED_TOTAL_AMOUNT", ] units: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -140,9 +136,9 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationHistogramRequest(typing_extensions.TypedDict, total=False): +class CompensationHistogramRequest(typing.TypedDict, total=False): bucketingOption: NumericBucketingOption - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", "BASE", "ANNUALIZED_BASE", @@ -150,9 +146,9 @@ class CompensationHistogramRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationHistogramResult(typing_extensions.TypedDict, total=False): +class CompensationHistogramResult(typing.TypedDict, total=False): result: NumericBucketingResult - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", "BASE", "ANNUALIZED_BASE", @@ -160,62 +156,62 @@ class CompensationHistogramResult(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationInfo(typing_extensions.TypedDict, total=False): +class CompensationInfo(typing.TypedDict, total=False): annualizedBaseCompensationRange: CompensationRange annualizedTotalCompensationRange: CompensationRange entries: _list[CompensationEntry] @typing.type_check_only -class CompensationRange(typing_extensions.TypedDict, total=False): +class CompensationRange(typing.TypedDict, total=False): maxCompensation: Money minCompensation: Money @typing.type_check_only -class CompleteQueryResponse(typing_extensions.TypedDict, total=False): +class CompleteQueryResponse(typing.TypedDict, total=False): completionResults: _list[CompletionResult] metadata: ResponseMetadata @typing.type_check_only -class CompletionResult(typing_extensions.TypedDict, total=False): +class CompletionResult(typing.TypedDict, total=False): imageUri: str suggestion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", "COMBINED" ] @typing.type_check_only -class CreateClientEventRequest(typing_extensions.TypedDict, total=False): +class CreateClientEventRequest(typing.TypedDict, total=False): clientEvent: ClientEvent @typing.type_check_only -class CreateCompanyRequest(typing_extensions.TypedDict, total=False): +class CreateCompanyRequest(typing.TypedDict, total=False): company: Company @typing.type_check_only -class CreateJobRequest(typing_extensions.TypedDict, total=False): +class CreateJobRequest(typing.TypedDict, total=False): job: Job @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): filterable: bool longValues: _list[str] stringValues: _list[str] @typing.type_check_only -class CustomAttributeHistogramRequest(typing_extensions.TypedDict, total=False): +class CustomAttributeHistogramRequest(typing.TypedDict, total=False): key: str longValueHistogramBucketingOption: NumericBucketingOption stringValueHistogram: bool @typing.type_check_only -class CustomAttributeHistogramResult(typing_extensions.TypedDict, total=False): +class CustomAttributeHistogramResult(typing.TypedDict, total=False): key: str longValueHistogramResult: NumericBucketingResult stringValueHistogramResult: dict[str, typing.Any] @typing.type_check_only -class CustomRankingInfo(typing_extensions.TypedDict, total=False): - importanceLevel: typing_extensions.Literal[ +class CustomRankingInfo(typing.TypedDict, total=False): + importanceLevel: typing.Literal[ "IMPORTANCE_LEVEL_UNSPECIFIED", "NONE", "LOW", @@ -227,21 +223,21 @@ class CustomRankingInfo(typing_extensions.TypedDict, total=False): rankingExpression: str @typing.type_check_only -class DeviceInfo(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceInfo(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "WEB", "MOBILE_WEB", "ANDROID", "IOS", "BOT", "OTHER" ] id: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HistogramFacets(typing_extensions.TypedDict, total=False): +class HistogramFacets(typing.TypedDict, total=False): compensationHistogramFacets: _list[CompensationHistogramRequest] customAttributeHistogramFacets: _list[CustomAttributeHistogramRequest] simpleHistogramFacets: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_TYPE_UNSPECIFIED", "COMPANY_ID", "EMPLOYMENT_TYPE", @@ -263,17 +259,17 @@ class HistogramFacets(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class HistogramQuery(typing_extensions.TypedDict, total=False): +class HistogramQuery(typing.TypedDict, total=False): histogramQuery: str @typing.type_check_only -class HistogramQueryResult(typing_extensions.TypedDict, total=False): +class HistogramQueryResult(typing.TypedDict, total=False): histogram: dict[str, typing.Any] histogramQuery: str @typing.type_check_only -class HistogramResult(typing_extensions.TypedDict, total=False): - searchType: typing_extensions.Literal[ +class HistogramResult(typing.TypedDict, total=False): + searchType: typing.Literal[ "SEARCH_TYPE_UNSPECIFIED", "COMPANY_ID", "EMPLOYMENT_TYPE", @@ -295,13 +291,13 @@ class HistogramResult(typing_extensions.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class HistogramResults(typing_extensions.TypedDict, total=False): +class HistogramResults(typing.TypedDict, total=False): compensationHistogramResults: _list[CompensationHistogramResult] customAttributeHistogramResults: _list[CustomAttributeHistogramResult] simpleHistogramResults: _list[HistogramResult] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): addresses: _list[str] applicationInfo: ApplicationInfo companyDisplayName: str @@ -309,7 +305,7 @@ class Job(typing_extensions.TypedDict, total=False): compensationInfo: CompensationInfo customAttributes: dict[str, typing.Any] degreeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEGREE_TYPE_UNSPECIFIED", "PRIMARY_EDUCATION", "LOWER_SECONDARY_EDUCATION", @@ -325,7 +321,7 @@ class Job(typing_extensions.TypedDict, total=False): derivedInfo: JobDerivedInfo description: str employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -341,7 +337,7 @@ class Job(typing_extensions.TypedDict, total=False): ] incentives: str jobBenefits: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_BENEFIT_UNSPECIFIED", "CHILD_CARE", "DENTAL", @@ -357,7 +353,7 @@ class Job(typing_extensions.TypedDict, total=False): ] ] jobEndTime: str - jobLevel: typing_extensions.Literal[ + jobLevel: typing.Literal[ "JOB_LEVEL_UNSPECIFIED", "ENTRY_LEVEL", "EXPERIENCED", @@ -371,7 +367,7 @@ class Job(typing_extensions.TypedDict, total=False): postingCreateTime: str postingExpireTime: str postingPublishTime: str - postingRegion: typing_extensions.Literal[ + postingRegion: typing.Literal[ "POSTING_REGION_UNSPECIFIED", "ADMINISTRATIVE_AREA", "NATION", "TELECOMMUTE" ] postingUpdateTime: str @@ -381,7 +377,7 @@ class Job(typing_extensions.TypedDict, total=False): requisitionId: str responsibilities: str title: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSPECIFIED", "ACCOUNT_ONLY", "SHARED_WITH_GOOGLE", @@ -389,9 +385,9 @@ class Job(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class JobDerivedInfo(typing_extensions.TypedDict, total=False): +class JobDerivedInfo(typing.TypedDict, total=False): jobCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -428,9 +424,9 @@ class JobDerivedInfo(typing_extensions.TypedDict, total=False): locations: _list[Location] @typing.type_check_only -class JobEvent(typing_extensions.TypedDict, total=False): +class JobEvent(typing.TypedDict, total=False): jobs: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "JOB_EVENT_TYPE_UNSPECIFIED", "IMPRESSION", "VIEW", @@ -451,7 +447,7 @@ class JobEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class JobQuery(typing_extensions.TypedDict, total=False): +class JobQuery(typing.TypedDict, total=False): commuteFilter: CommuteFilter companyDisplayNames: _list[str] companyNames: _list[str] @@ -459,7 +455,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): customAttributeFilter: str disableSpellCheck: bool employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -475,7 +471,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): ] excludedJobs: _list[str] jobCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -516,26 +512,26 @@ class JobQuery(typing_extensions.TypedDict, total=False): queryLanguageCode: str @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ListCompaniesResponse(typing_extensions.TypedDict, total=False): +class ListCompaniesResponse(typing.TypedDict, total=False): companies: _list[Company] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): latLng: LatLng - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "LOCATION_TYPE_UNSPECIFIED", "COUNTRY", "ADMINISTRATIVE_AREA", @@ -552,12 +548,12 @@ class Location(typing_extensions.TypedDict, total=False): radiusInMiles: float @typing.type_check_only -class LocationFilter(typing_extensions.TypedDict, total=False): +class LocationFilter(typing.TypedDict, total=False): address: str distanceInMiles: float latLng: LatLng regionCode: str - telecommutePreference: typing_extensions.Literal[ + telecommutePreference: typing.Literal[ "TELECOMMUTE_PREFERENCE_UNSPECIFIED", "TELECOMMUTE_EXCLUDED", "TELECOMMUTE_ALLOWED", @@ -565,7 +561,7 @@ class LocationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MatchingJob(typing_extensions.TypedDict, total=False): +class MatchingJob(typing.TypedDict, total=False): commuteInfo: CommuteInfo job: Job jobSummary: str @@ -573,24 +569,24 @@ class MatchingJob(typing_extensions.TypedDict, total=False): searchTextSnippet: str @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class NumericBucketingOption(typing_extensions.TypedDict, total=False): +class NumericBucketingOption(typing.TypedDict, total=False): bucketBounds: _list[float] requiresMinMax: bool @typing.type_check_only -class NumericBucketingResult(typing_extensions.TypedDict, total=False): +class NumericBucketingResult(typing.TypedDict, total=False): counts: _list[BucketizedCount] maxValue: float minValue: float @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -598,7 +594,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -612,37 +608,37 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class ProcessingOptions(typing_extensions.TypedDict, total=False): +class ProcessingOptions(typing.TypedDict, total=False): disableStreetAddressResolution: bool - htmlSanitization: typing_extensions.Literal[ + htmlSanitization: typing.Literal[ "HTML_SANITIZATION_UNSPECIFIED", "HTML_SANITIZATION_DISABLED", "SIMPLE_FORMATTING_ONLY", ] @typing.type_check_only -class RequestMetadata(typing_extensions.TypedDict, total=False): +class RequestMetadata(typing.TypedDict, total=False): deviceInfo: DeviceInfo domain: str sessionId: str userId: str @typing.type_check_only -class ResponseMetadata(typing_extensions.TypedDict, total=False): +class ResponseMetadata(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class SearchJobsRequest(typing_extensions.TypedDict, total=False): +class SearchJobsRequest(typing.TypedDict, total=False): customRankingInfo: CustomRankingInfo disableKeywordMatch: bool - diversificationLevel: typing_extensions.Literal[ + diversificationLevel: typing.Literal[ "DIVERSIFICATION_LEVEL_UNSPECIFIED", "DISABLED", "SIMPLE" ] enableBroadening: bool histogramFacets: HistogramFacets histogramQueries: _list[HistogramQuery] jobQuery: JobQuery - jobView: typing_extensions.Literal[ + jobView: typing.Literal[ "JOB_VIEW_UNSPECIFIED", "JOB_VIEW_ID_ONLY", "JOB_VIEW_MINIMAL", @@ -655,12 +651,12 @@ class SearchJobsRequest(typing_extensions.TypedDict, total=False): pageToken: str requestMetadata: RequestMetadata requirePreciseResultSize: bool - searchMode: typing_extensions.Literal[ + searchMode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "JOB_SEARCH", "FEATURED_JOB_SEARCH" ] @typing.type_check_only -class SearchJobsResponse(typing_extensions.TypedDict, total=False): +class SearchJobsResponse(typing.TypedDict, total=False): broadenedQueryJobsCount: int estimatedTotalSize: int histogramQueryResults: _list[HistogramQueryResult] @@ -673,34 +669,34 @@ class SearchJobsResponse(typing_extensions.TypedDict, total=False): totalSize: int @typing.type_check_only -class SpellingCorrection(typing_extensions.TypedDict, total=False): +class SpellingCorrection(typing.TypedDict, total=False): corrected: bool correctedText: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimestampRange(typing_extensions.TypedDict, total=False): +class TimestampRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateCompanyRequest(typing_extensions.TypedDict, total=False): +class UpdateCompanyRequest(typing.TypedDict, total=False): company: Company updateMask: str @typing.type_check_only -class UpdateJobRequest(typing_extensions.TypedDict, total=False): +class UpdateJobRequest(typing.TypedDict, total=False): job: Job updateMask: str diff --git a/googleapiclient-stubs/_apis/jobs/v4/resources.pyi b/googleapiclient-stubs/_apis/jobs/v4/resources.pyi index b784fe3ef..946919845 100644 --- a/googleapiclient-stubs/_apis/jobs/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/jobs/v4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -98,7 +97,7 @@ class CloudTalentSolutionResource(googleapiclient.discovery.Resource): *, parent: str, filter: str | None = ..., - jobView: typing_extensions.Literal[ + jobView: typing.Literal[ "JOB_VIEW_UNSPECIFIED", "JOB_VIEW_ID_ONLY", "JOB_VIEW_MINIMAL", @@ -148,11 +147,11 @@ class CloudTalentSolutionResource(googleapiclient.discovery.Resource): languageCodes: str | _list[str] | None = ..., pageSize: int | None = ..., query: str | None = ..., - scope: typing_extensions.Literal[ + scope: typing.Literal[ "COMPLETION_SCOPE_UNSPECIFIED", "TENANT", "PUBLIC" ] | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", diff --git a/googleapiclient-stubs/_apis/jobs/v4/schemas.pyi b/googleapiclient-stubs/_apis/jobs/v4/schemas.pyi index 8cb179020..4b8363983 100644 --- a/googleapiclient-stubs/_apis/jobs/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/jobs/v4/schemas.pyi @@ -1,37 +1,35 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplicationInfo(typing_extensions.TypedDict, total=False): +class ApplicationInfo(typing.TypedDict, total=False): emails: _list[str] instruction: str uris: _list[str] @typing.type_check_only -class BatchCreateJobsRequest(typing_extensions.TypedDict, total=False): +class BatchCreateJobsRequest(typing.TypedDict, total=False): jobs: _list[Job] @typing.type_check_only -class BatchCreateJobsResponse(typing_extensions.TypedDict, total=False): +class BatchCreateJobsResponse(typing.TypedDict, total=False): jobResults: _list[JobResult] @typing.type_check_only -class BatchDeleteJobsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteJobsRequest(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class BatchDeleteJobsResponse(typing_extensions.TypedDict, total=False): +class BatchDeleteJobsResponse(typing.TypedDict, total=False): jobResults: _list[JobResult] @typing.type_check_only -class BatchOperationMetadata(typing_extensions.TypedDict, total=False): +class BatchOperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str failureCount: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INITIALIZING", "PROCESSING", @@ -46,16 +44,16 @@ class BatchOperationMetadata(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BatchUpdateJobsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateJobsRequest(typing.TypedDict, total=False): jobs: _list[Job] updateMask: str @typing.type_check_only -class BatchUpdateJobsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateJobsResponse(typing.TypedDict, total=False): jobResults: _list[JobResult] @typing.type_check_only -class ClientEvent(typing_extensions.TypedDict, total=False): +class ClientEvent(typing.TypedDict, total=False): createTime: str eventId: str eventNotes: str @@ -63,9 +61,9 @@ class ClientEvent(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class CommuteFilter(typing_extensions.TypedDict, total=False): +class CommuteFilter(typing.TypedDict, total=False): allowImpreciseAddresses: bool - commuteMethod: typing_extensions.Literal[ + commuteMethod: typing.Literal[ "COMMUTE_METHOD_UNSPECIFIED", "DRIVING", "TRANSIT", @@ -74,19 +72,17 @@ class CommuteFilter(typing_extensions.TypedDict, total=False): "TRANSIT_ACCESSIBLE", ] departureTime: TimeOfDay - roadTraffic: typing_extensions.Literal[ - "ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR" - ] + roadTraffic: typing.Literal["ROAD_TRAFFIC_UNSPECIFIED", "TRAFFIC_FREE", "BUSY_HOUR"] startCoordinates: LatLng travelDuration: str @typing.type_check_only -class CommuteInfo(typing_extensions.TypedDict, total=False): +class CommuteInfo(typing.TypedDict, total=False): jobLocation: Location travelDuration: str @typing.type_check_only -class Company(typing_extensions.TypedDict, total=False): +class Company(typing.TypedDict, total=False): careerSiteUri: str derivedInfo: CompanyDerivedInfo displayName: str @@ -97,7 +93,7 @@ class Company(typing_extensions.TypedDict, total=False): imageUri: str keywordSearchableJobCustomAttributes: _list[str] name: str - size: typing_extensions.Literal[ + size: typing.Literal[ "COMPANY_SIZE_UNSPECIFIED", "MINI", "SMALL", @@ -111,16 +107,16 @@ class Company(typing_extensions.TypedDict, total=False): websiteUri: str @typing.type_check_only -class CompanyDerivedInfo(typing_extensions.TypedDict, total=False): +class CompanyDerivedInfo(typing.TypedDict, total=False): headquartersLocation: Location @typing.type_check_only -class CompensationEntry(typing_extensions.TypedDict, total=False): +class CompensationEntry(typing.TypedDict, total=False): amount: Money description: str expectedUnitsPerYear: float range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPENSATION_TYPE_UNSPECIFIED", "BASE", "BONUS", @@ -131,7 +127,7 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): "TIPS", "OTHER_COMPENSATION_TYPE", ] - unit: typing_extensions.Literal[ + unit: typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -143,10 +139,10 @@ class CompensationEntry(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationFilter(typing_extensions.TypedDict, total=False): +class CompensationFilter(typing.TypedDict, total=False): includeJobsWithUnspecifiedCompensationRange: bool range: CompensationRange - type: typing_extensions.Literal[ + type: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "UNIT_ONLY", "UNIT_AND_AMOUNT", @@ -154,7 +150,7 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): "ANNUALIZED_TOTAL_AMOUNT", ] units: _list[ - typing_extensions.Literal[ + typing.Literal[ "COMPENSATION_UNIT_UNSPECIFIED", "HOURLY", "DAILY", @@ -167,39 +163,39 @@ class CompensationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CompensationInfo(typing_extensions.TypedDict, total=False): +class CompensationInfo(typing.TypedDict, total=False): annualizedBaseCompensationRange: CompensationRange annualizedTotalCompensationRange: CompensationRange entries: _list[CompensationEntry] @typing.type_check_only -class CompensationRange(typing_extensions.TypedDict, total=False): +class CompensationRange(typing.TypedDict, total=False): maxCompensation: Money minCompensation: Money @typing.type_check_only -class CompleteQueryResponse(typing_extensions.TypedDict, total=False): +class CompleteQueryResponse(typing.TypedDict, total=False): completionResults: _list[CompletionResult] metadata: ResponseMetadata @typing.type_check_only -class CompletionResult(typing_extensions.TypedDict, total=False): +class CompletionResult(typing.TypedDict, total=False): imageUri: str suggestion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "COMPLETION_TYPE_UNSPECIFIED", "JOB_TITLE", "COMPANY_NAME", "COMBINED" ] @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): filterable: bool keywordSearchable: bool longValues: _list[str] stringValues: _list[str] @typing.type_check_only -class CustomRankingInfo(typing_extensions.TypedDict, total=False): - importanceLevel: typing_extensions.Literal[ +class CustomRankingInfo(typing.TypedDict, total=False): + importanceLevel: typing.Literal[ "IMPORTANCE_LEVEL_UNSPECIFIED", "NONE", "LOW", @@ -211,26 +207,26 @@ class CustomRankingInfo(typing_extensions.TypedDict, total=False): rankingExpression: str @typing.type_check_only -class DeviceInfo(typing_extensions.TypedDict, total=False): - deviceType: typing_extensions.Literal[ +class DeviceInfo(typing.TypedDict, total=False): + deviceType: typing.Literal[ "DEVICE_TYPE_UNSPECIFIED", "WEB", "MOBILE_WEB", "ANDROID", "IOS", "BOT", "OTHER" ] id: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class HistogramQuery(typing_extensions.TypedDict, total=False): +class HistogramQuery(typing.TypedDict, total=False): histogramQuery: str @typing.type_check_only -class HistogramQueryResult(typing_extensions.TypedDict, total=False): +class HistogramQueryResult(typing.TypedDict, total=False): histogram: dict[str, typing.Any] histogramQuery: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): addresses: _list[str] applicationInfo: ApplicationInfo company: str @@ -238,7 +234,7 @@ class Job(typing_extensions.TypedDict, total=False): compensationInfo: CompensationInfo customAttributes: dict[str, typing.Any] degreeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "DEGREE_TYPE_UNSPECIFIED", "PRIMARY_EDUCATION", "LOWER_SECONDARY_EDUCATION", @@ -254,7 +250,7 @@ class Job(typing_extensions.TypedDict, total=False): derivedInfo: JobDerivedInfo description: str employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -270,7 +266,7 @@ class Job(typing_extensions.TypedDict, total=False): ] incentives: str jobBenefits: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_BENEFIT_UNSPECIFIED", "CHILD_CARE", "DENTAL", @@ -286,7 +282,7 @@ class Job(typing_extensions.TypedDict, total=False): ] ] jobEndTime: str - jobLevel: typing_extensions.Literal[ + jobLevel: typing.Literal[ "JOB_LEVEL_UNSPECIFIED", "ENTRY_LEVEL", "EXPERIENCED", @@ -300,7 +296,7 @@ class Job(typing_extensions.TypedDict, total=False): postingCreateTime: str postingExpireTime: str postingPublishTime: str - postingRegion: typing_extensions.Literal[ + postingRegion: typing.Literal[ "POSTING_REGION_UNSPECIFIED", "ADMINISTRATIVE_AREA", "NATION", "TELECOMMUTE" ] postingUpdateTime: str @@ -310,7 +306,7 @@ class Job(typing_extensions.TypedDict, total=False): requisitionId: str responsibilities: str title: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSPECIFIED", "ACCOUNT_ONLY", "SHARED_WITH_GOOGLE", @@ -318,9 +314,9 @@ class Job(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class JobDerivedInfo(typing_extensions.TypedDict, total=False): +class JobDerivedInfo(typing.TypedDict, total=False): jobCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -357,9 +353,9 @@ class JobDerivedInfo(typing_extensions.TypedDict, total=False): locations: _list[Location] @typing.type_check_only -class JobEvent(typing_extensions.TypedDict, total=False): +class JobEvent(typing.TypedDict, total=False): jobs: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "JOB_EVENT_TYPE_UNSPECIFIED", "IMPRESSION", "VIEW", @@ -379,7 +375,7 @@ class JobEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class JobQuery(typing_extensions.TypedDict, total=False): +class JobQuery(typing.TypedDict, total=False): commuteFilter: CommuteFilter companies: _list[str] companyDisplayNames: _list[str] @@ -387,7 +383,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): customAttributeFilter: str disableSpellCheck: bool employmentTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EMPLOYMENT_TYPE_UNSPECIFIED", "FULL_TIME", "PART_TIME", @@ -403,7 +399,7 @@ class JobQuery(typing_extensions.TypedDict, total=False): ] excludedJobs: _list[str] jobCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "JOB_CATEGORY_UNSPECIFIED", "ACCOUNTING_AND_FINANCE", "ADMINISTRATIVE_AND_OFFICE", @@ -444,37 +440,37 @@ class JobQuery(typing_extensions.TypedDict, total=False): queryLanguageCode: str @typing.type_check_only -class JobResult(typing_extensions.TypedDict, total=False): +class JobResult(typing.TypedDict, total=False): job: Job status: Status @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ListCompaniesResponse(typing_extensions.TypedDict, total=False): +class ListCompaniesResponse(typing.TypedDict, total=False): companies: _list[Company] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] metadata: ResponseMetadata nextPageToken: str @typing.type_check_only -class ListTenantsResponse(typing_extensions.TypedDict, total=False): +class ListTenantsResponse(typing.TypedDict, total=False): metadata: ResponseMetadata nextPageToken: str tenants: _list[Tenant] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): latLng: LatLng - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "LOCATION_TYPE_UNSPECIFIED", "COUNTRY", "ADMINISTRATIVE_AREA", @@ -491,12 +487,12 @@ class Location(typing_extensions.TypedDict, total=False): radiusMiles: float @typing.type_check_only -class LocationFilter(typing_extensions.TypedDict, total=False): +class LocationFilter(typing.TypedDict, total=False): address: str distanceInMiles: float latLng: LatLng regionCode: str - telecommutePreference: typing_extensions.Literal[ + telecommutePreference: typing.Literal[ "TELECOMMUTE_PREFERENCE_UNSPECIFIED", "TELECOMMUTE_EXCLUDED", "TELECOMMUTE_ALLOWED", @@ -504,7 +500,7 @@ class LocationFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MatchingJob(typing_extensions.TypedDict, total=False): +class MatchingJob(typing.TypedDict, total=False): commuteInfo: CommuteInfo job: Job jobSummary: str @@ -512,13 +508,13 @@ class MatchingJob(typing_extensions.TypedDict, total=False): searchTextSnippet: str @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -526,7 +522,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -540,16 +536,16 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class ProcessingOptions(typing_extensions.TypedDict, total=False): +class ProcessingOptions(typing.TypedDict, total=False): disableStreetAddressResolution: bool - htmlSanitization: typing_extensions.Literal[ + htmlSanitization: typing.Literal[ "HTML_SANITIZATION_UNSPECIFIED", "HTML_SANITIZATION_DISABLED", "SIMPLE_FORMATTING_ONLY", ] @typing.type_check_only -class RequestMetadata(typing_extensions.TypedDict, total=False): +class RequestMetadata(typing.TypedDict, total=False): allowMissingIds: bool deviceInfo: DeviceInfo domain: str @@ -557,14 +553,14 @@ class RequestMetadata(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class ResponseMetadata(typing_extensions.TypedDict, total=False): +class ResponseMetadata(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class SearchJobsRequest(typing_extensions.TypedDict, total=False): +class SearchJobsRequest(typing.TypedDict, total=False): customRankingInfo: CustomRankingInfo disableKeywordMatch: bool - diversificationLevel: typing_extensions.Literal[ + diversificationLevel: typing.Literal[ "DIVERSIFICATION_LEVEL_UNSPECIFIED", "DISABLED", "SIMPLE", @@ -576,14 +572,14 @@ class SearchJobsRequest(typing_extensions.TypedDict, total=False): enableBroadening: bool histogramQueries: _list[HistogramQuery] jobQuery: JobQuery - jobView: typing_extensions.Literal[ + jobView: typing.Literal[ "JOB_VIEW_UNSPECIFIED", "JOB_VIEW_ID_ONLY", "JOB_VIEW_MINIMAL", "JOB_VIEW_SMALL", "JOB_VIEW_FULL", ] - keywordMatchMode: typing_extensions.Literal[ + keywordMatchMode: typing.Literal[ "KEYWORD_MATCH_MODE_UNSPECIFIED", "KEYWORD_MATCH_DISABLED", "KEYWORD_MATCH_ALL", @@ -593,16 +589,16 @@ class SearchJobsRequest(typing_extensions.TypedDict, total=False): offset: int orderBy: str pageToken: str - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" ] requestMetadata: RequestMetadata - searchMode: typing_extensions.Literal[ + searchMode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "JOB_SEARCH", "FEATURED_JOB_SEARCH" ] @typing.type_check_only -class SearchJobsResponse(typing_extensions.TypedDict, total=False): +class SearchJobsResponse(typing.TypedDict, total=False): broadenedQueryJobsCount: int histogramQueryResults: _list[HistogramQueryResult] locationFilters: _list[Location] @@ -613,30 +609,30 @@ class SearchJobsResponse(typing_extensions.TypedDict, total=False): totalSize: int @typing.type_check_only -class SpellingCorrection(typing_extensions.TypedDict, total=False): +class SpellingCorrection(typing.TypedDict, total=False): corrected: bool correctedHtml: str correctedText: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tenant(typing_extensions.TypedDict, total=False): +class Tenant(typing.TypedDict, total=False): externalId: str name: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimestampRange(typing_extensions.TypedDict, total=False): +class TimestampRange(typing.TypedDict, total=False): endTime: str startTime: str diff --git a/googleapiclient-stubs/_apis/keep/v1/resources.pyi b/googleapiclient-stubs/_apis/keep/v1/resources.pyi index af6f74ba1..e2b8f4cde 100644 --- a/googleapiclient-stubs/_apis/keep/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/keep/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/keep/v1/schemas.pyi b/googleapiclient-stubs/_apis/keep/v1/schemas.pyi index b3153cc64..608ae0109 100644 --- a/googleapiclient-stubs/_apis/keep/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/keep/v1/schemas.pyi @@ -1,58 +1,56 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Attachment(typing_extensions.TypedDict, total=False): +class Attachment(typing.TypedDict, total=False): mimeType: _list[str] name: str @typing.type_check_only -class BatchCreatePermissionsRequest(typing_extensions.TypedDict, total=False): +class BatchCreatePermissionsRequest(typing.TypedDict, total=False): requests: _list[CreatePermissionRequest] @typing.type_check_only -class BatchCreatePermissionsResponse(typing_extensions.TypedDict, total=False): +class BatchCreatePermissionsResponse(typing.TypedDict, total=False): permissions: _list[Permission] @typing.type_check_only -class BatchDeletePermissionsRequest(typing_extensions.TypedDict, total=False): +class BatchDeletePermissionsRequest(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class CreatePermissionRequest(typing_extensions.TypedDict, total=False): +class CreatePermissionRequest(typing.TypedDict, total=False): parent: str permission: Permission @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Family(typing_extensions.TypedDict, total=False): ... +class Family(typing.TypedDict, total=False): ... @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): email: str @typing.type_check_only -class ListContent(typing_extensions.TypedDict, total=False): +class ListContent(typing.TypedDict, total=False): listItems: _list[ListItem] @typing.type_check_only -class ListItem(typing_extensions.TypedDict, total=False): +class ListItem(typing.TypedDict, total=False): checked: bool childListItems: _list[ListItem] text: TextContent @typing.type_check_only -class ListNotesResponse(typing_extensions.TypedDict, total=False): +class ListNotesResponse(typing.TypedDict, total=False): nextPageToken: str notes: _list[Note] @typing.type_check_only -class Note(typing_extensions.TypedDict, total=False): +class Note(typing.TypedDict, total=False): attachments: _list[Attachment] body: Section createTime: str @@ -64,24 +62,24 @@ class Note(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): deleted: bool email: str family: Family group: Group name: str - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "OWNER", "WRITER"] + role: typing.Literal["ROLE_UNSPECIFIED", "OWNER", "WRITER"] user: User @typing.type_check_only -class Section(typing_extensions.TypedDict, total=False): +class Section(typing.TypedDict, total=False): list: ListContent text: TextContent @typing.type_check_only -class TextContent(typing_extensions.TypedDict, total=False): +class TextContent(typing.TypedDict, total=False): text: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): email: str diff --git a/googleapiclient-stubs/_apis/kgsearch/v1/resources.pyi b/googleapiclient-stubs/_apis/kgsearch/v1/resources.pyi index b150585e2..29f48c2ca 100644 --- a/googleapiclient-stubs/_apis/kgsearch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/kgsearch/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/kgsearch/v1/schemas.pyi b/googleapiclient-stubs/_apis/kgsearch/v1/schemas.pyi index 9bff6be3e..ba9a2e3ad 100644 --- a/googleapiclient-stubs/_apis/kgsearch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/kgsearch/v1/schemas.pyi @@ -1,9 +1,7 @@ import typing -import typing_extensions - _list = list -AlternativeSearchResponse = typing_extensions.TypedDict( +AlternativeSearchResponse = typing.TypedDict( "AlternativeSearchResponse", { "@context": typing.Any, diff --git a/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi b/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi index 851126550..49911a4ad 100644 --- a/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -68,7 +67,7 @@ class KmsinventoryResource(googleapiclient.discovery.Resource): self, *, name: str, - fallbackScope: typing_extensions.Literal[ + fallbackScope: typing.Literal[ "FALLBACK_SCOPE_UNSPECIFIED", "FALLBACK_SCOPE_PROJECT" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi index 215e0fe29..0bdfaabd0 100644 --- a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi @@ -1,20 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudKmsInventoryV1ListCryptoKeysResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudKmsInventoryV1ListCryptoKeysResponse(typing.TypedDict, total=False): cryptoKeys: _list[GoogleCloudKmsV1CryptoKey] nextPageToken: str @typing.type_check_only -class GoogleCloudKmsInventoryV1ProtectedResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudKmsInventoryV1ProtectedResource(typing.TypedDict, total=False): cloudProduct: str createTime: str cryptoKeyVersion: str @@ -27,9 +21,7 @@ class GoogleCloudKmsInventoryV1ProtectedResource( resourceType: str @typing.type_check_only -class GoogleCloudKmsInventoryV1ProtectedResourcesSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudKmsInventoryV1ProtectedResourcesSummary(typing.TypedDict, total=False): cloudProducts: dict[str, typing.Any] locations: dict[str, typing.Any] name: str @@ -40,15 +32,15 @@ class GoogleCloudKmsInventoryV1ProtectedResourcesSummary( @typing.type_check_only class GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str protectedResources: _list[GoogleCloudKmsInventoryV1ProtectedResource] @typing.type_check_only -class GoogleCloudKmsInventoryV1Warning(typing_extensions.TypedDict, total=False): +class GoogleCloudKmsInventoryV1Warning(typing.TypedDict, total=False): displayMessage: str - warningCode: typing_extensions.Literal[ + warningCode: typing.Literal[ "WARNING_CODE_UNSPECIFIED", "INSUFFICIENT_PERMISSIONS_PARTIAL_DATA", "RESOURCE_LIMIT_EXCEEDED_PARTIAL_DATA", @@ -56,7 +48,7 @@ class GoogleCloudKmsInventoryV1Warning(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class GoogleCloudKmsV1CryptoKey(typing_extensions.TypedDict, total=False): +class GoogleCloudKmsV1CryptoKey(typing.TypedDict, total=False): createTime: str cryptoKeyBackend: str destroyScheduledDuration: str @@ -66,7 +58,7 @@ class GoogleCloudKmsV1CryptoKey(typing_extensions.TypedDict, total=False): name: str nextRotationTime: str primary: GoogleCloudKmsV1CryptoKeyVersion - purpose: typing_extensions.Literal[ + purpose: typing.Literal[ "CRYPTO_KEY_PURPOSE_UNSPECIFIED", "ENCRYPT_DECRYPT", "ASYMMETRIC_SIGN", @@ -74,13 +66,14 @@ class GoogleCloudKmsV1CryptoKey(typing_extensions.TypedDict, total=False): "RAW_ENCRYPT_DECRYPT", "MAC", "KEY_ENCAPSULATION", + "AES_WRAPPING", ] rotationPeriod: str versionTemplate: GoogleCloudKmsV1CryptoKeyVersionTemplate @typing.type_check_only -class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class GoogleCloudKmsV1CryptoKeyVersion(typing.TypedDict, total=False): + algorithm: typing.Literal[ "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", @@ -128,6 +121,9 @@ 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", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", ] attestation: GoogleCloudKmsV1KeyOperationAttestation createTime: str @@ -137,11 +133,12 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) externalProtectionLevelOptions: GoogleCloudKmsV1ExternalProtectionLevelOptions generateTime: str generationFailureReason: str + hsmTrusted: bool importFailureReason: str importJob: str importTime: str name: str - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -150,7 +147,7 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) "HSM_SINGLE_TENANT", ] reimportEligible: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED", "PENDING_GENERATION", "ENABLED", @@ -163,12 +160,11 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) "PENDING_EXTERNAL_DESTRUCTION", "EXTERNAL_DESTRUCTION_FAILED", ] + trustedWrappingEnabled: bool @typing.type_check_only -class GoogleCloudKmsV1CryptoKeyVersionTemplate( - typing_extensions.TypedDict, total=False -): - algorithm: typing_extensions.Literal[ +class GoogleCloudKmsV1CryptoKeyVersionTemplate(typing.TypedDict, total=False): + algorithm: typing.Literal[ "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", @@ -216,8 +212,11 @@ class GoogleCloudKmsV1CryptoKeyVersionTemplate( "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", + "KEM_ECDH_P256", + "KEM_ECDH_P384", + "AES_256_KWP", ] - protectionLevel: typing_extensions.Literal[ + protectionLevel: typing.Literal[ "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", @@ -227,18 +226,15 @@ class GoogleCloudKmsV1CryptoKeyVersionTemplate( ] @typing.type_check_only -class GoogleCloudKmsV1ExternalProtectionLevelOptions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudKmsV1ExternalProtectionLevelOptions(typing.TypedDict, total=False): + ekmConnectionBackendOverride: str ekmConnectionKeyPath: str externalKeyUri: str @typing.type_check_only -class GoogleCloudKmsV1KeyAccessJustificationsPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudKmsV1KeyAccessJustificationsPolicy(typing.TypedDict, total=False): allowedAccessReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "CUSTOMER_INITIATED_SUPPORT", "GOOGLE_INITIATED_SERVICE", @@ -255,16 +251,16 @@ class GoogleCloudKmsV1KeyAccessJustificationsPolicy( ] @typing.type_check_only -class GoogleCloudKmsV1KeyOperationAttestation(typing_extensions.TypedDict, total=False): +class GoogleCloudKmsV1KeyOperationAttestation(typing.TypedDict, total=False): certChains: GoogleCloudKmsV1KeyOperationAttestationCertificateChains content: str - format: typing_extensions.Literal[ + format: typing.Literal[ "ATTESTATION_FORMAT_UNSPECIFIED", "CAVIUM_V1_COMPRESSED", "CAVIUM_V2_COMPRESSED" ] @typing.type_check_only class GoogleCloudKmsV1KeyOperationAttestationCertificateChains( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caviumCerts: _list[str] googleCardCerts: _list[str] diff --git a/googleapiclient-stubs/_apis/language/v1/resources.pyi b/googleapiclient-stubs/_apis/language/v1/resources.pyi index 380cf376d..116effdad 100644 --- a/googleapiclient-stubs/_apis/language/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/language/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/language/v1/schemas.pyi b/googleapiclient-stubs/_apis/language/v1/schemas.pyi index 63ccaa6fc..5bfd2e89d 100644 --- a/googleapiclient-stubs/_apis/language/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1/schemas.pyi @@ -1,59 +1,57 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeEntitiesRequest(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeEntitiesResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesResponse(typing.TypedDict, total=False): entities: _list[Entity] language: str @typing.type_check_only -class AnalyzeEntitySentimentRequest(typing_extensions.TypedDict, total=False): +class AnalyzeEntitySentimentRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeEntitySentimentResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitySentimentResponse(typing.TypedDict, total=False): entities: _list[Entity] language: str @typing.type_check_only -class AnalyzeSentimentRequest(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeSentimentResponse(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentResponse(typing.TypedDict, total=False): documentSentiment: Sentiment language: str sentences: _list[Sentence] @typing.type_check_only -class AnalyzeSyntaxRequest(typing_extensions.TypedDict, total=False): +class AnalyzeSyntaxRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeSyntaxResponse(typing_extensions.TypedDict, total=False): +class AnalyzeSyntaxResponse(typing.TypedDict, total=False): language: str sentences: _list[Sentence] tokens: _list[Token] @typing.type_check_only -class AnnotateTextRequest(typing_extensions.TypedDict, total=False): +class AnnotateTextRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] features: AnnotateTextRequestFeatures @typing.type_check_only -class AnnotateTextRequestFeatures(typing_extensions.TypedDict, total=False): +class AnnotateTextRequestFeatures(typing.TypedDict, total=False): classificationModelOptions: ClassificationModelOptions classifyText: bool extractDocumentSentiment: bool @@ -63,7 +61,7 @@ class AnnotateTextRequestFeatures(typing_extensions.TypedDict, total=False): moderateText: bool @typing.type_check_only -class AnnotateTextResponse(typing_extensions.TypedDict, total=False): +class AnnotateTextResponse(typing.TypedDict, total=False): categories: _list[ClassificationCategory] documentSentiment: Sentiment entities: _list[Entity] @@ -73,45 +71,45 @@ class AnnotateTextResponse(typing_extensions.TypedDict, total=False): tokens: _list[Token] @typing.type_check_only -class ClassificationCategory(typing_extensions.TypedDict, total=False): +class ClassificationCategory(typing.TypedDict, total=False): confidence: float name: str @typing.type_check_only -class ClassificationModelOptions(typing_extensions.TypedDict, total=False): +class ClassificationModelOptions(typing.TypedDict, total=False): v1Model: ClassificationModelOptionsV1Model v2Model: ClassificationModelOptionsV2Model @typing.type_check_only -class ClassificationModelOptionsV1Model(typing_extensions.TypedDict, total=False): ... +class ClassificationModelOptionsV1Model(typing.TypedDict, total=False): ... @typing.type_check_only -class ClassificationModelOptionsV2Model(typing_extensions.TypedDict, total=False): - contentCategoriesVersion: typing_extensions.Literal[ +class ClassificationModelOptionsV2Model(typing.TypedDict, total=False): + contentCategoriesVersion: typing.Literal[ "CONTENT_CATEGORIES_VERSION_UNSPECIFIED", "V1", "V2" ] @typing.type_check_only -class ClassifyTextRequest(typing_extensions.TypedDict, total=False): +class ClassifyTextRequest(typing.TypedDict, total=False): classificationModelOptions: ClassificationModelOptions document: Document @typing.type_check_only -class ClassifyTextResponse(typing_extensions.TypedDict, total=False): +class ClassifyTextResponse(typing.TypedDict, total=False): categories: _list[ClassificationCategory] @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class CpuMetric(typing_extensions.TypedDict, total=False): +class CpuMetric(typing.TypedDict, total=False): coreNumber: str coreSec: str - cpuType: typing_extensions.Literal[ + cpuType: typing.Literal[ "UNKNOWN_CPU_TYPE", "A2", "A3", @@ -137,7 +135,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "N2", "N2D", ] - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -450,9 +448,9 @@ class CpuMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class DependencyEdge(typing_extensions.TypedDict, total=False): +class DependencyEdge(typing.TypedDict, total=False): headTokenIndex: int - label: typing_extensions.Literal[ + label: typing.Literal[ "UNKNOWN", "ABBREV", "ACOMP", @@ -539,8 +537,8 @@ class DependencyEdge(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DiskMetric(typing_extensions.TypedDict, total=False): - diskType: typing_extensions.Literal[ +class DiskMetric(typing.TypedDict, total=False): + diskType: typing.Literal[ "UNKNOWN_DISK_TYPE", "REGIONAL_SSD", "REGIONAL_STORAGE", @@ -551,20 +549,20 @@ class DiskMetric(typing_extensions.TypedDict, total=False): gibSec: str @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class Document(typing.TypedDict, total=False): content: str gcsContentUri: str language: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] + type: typing.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): mentions: _list[EntityMention] metadata: dict[str, typing.Any] name: str salience: float sentiment: Sentiment - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "PERSON", "LOCATION", @@ -581,15 +579,15 @@ class Entity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EntityMention(typing_extensions.TypedDict, total=False): +class EntityMention(typing.TypedDict, total=False): sentiment: Sentiment text: TextSpan - type: typing_extensions.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] + type: typing.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] @typing.type_check_only -class GpuMetric(typing_extensions.TypedDict, total=False): +class GpuMetric(typing.TypedDict, total=False): gpuSec: str - gpuType: typing_extensions.Literal[ + gpuType: typing.Literal[ "UNKNOWN_GPU_TYPE", "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", @@ -606,7 +604,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_H200_141GB", "NVIDIA_RTX_PRO_6000", ] - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -919,7 +917,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class InfraUsage(typing_extensions.TypedDict, total=False): +class InfraUsage(typing.TypedDict, total=False): cpuMetrics: _list[CpuMetric] diskMetrics: _list[DiskMetric] gpuMetrics: _list[GpuMetric] @@ -927,19 +925,19 @@ class InfraUsage(typing_extensions.TypedDict, total=False): tpuMetrics: _list[TpuMetric] @typing.type_check_only -class ModerateTextRequest(typing_extensions.TypedDict, total=False): +class ModerateTextRequest(typing.TypedDict, total=False): document: Document @typing.type_check_only -class ModerateTextResponse(typing_extensions.TypedDict, total=False): +class ModerateTextResponse(typing.TypedDict, total=False): moderationCategories: _list[ClassificationCategory] @typing.type_check_only -class PartOfSpeech(typing_extensions.TypedDict, total=False): - aspect: typing_extensions.Literal[ +class PartOfSpeech(typing.TypedDict, total=False): + aspect: typing.Literal[ "ASPECT_UNKNOWN", "PERFECTIVE", "IMPERFECTIVE", "PROGRESSIVE" ] - case: typing_extensions.Literal[ + case: typing.Literal[ "CASE_UNKNOWN", "ACCUSATIVE", "ADVERBIAL", @@ -956,7 +954,7 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "RELATIVE_CASE", "VOCATIVE", ] - form: typing_extensions.Literal[ + form: typing.Literal[ "FORM_UNKNOWN", "ADNOMIAL", "AUXILIARY", @@ -970,10 +968,8 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "ORDER", "SPECIFIC", ] - gender: typing_extensions.Literal[ - "GENDER_UNKNOWN", "FEMININE", "MASCULINE", "NEUTER" - ] - mood: typing_extensions.Literal[ + gender: typing.Literal["GENDER_UNKNOWN", "FEMININE", "MASCULINE", "NEUTER"] + mood: typing.Literal[ "MOOD_UNKNOWN", "CONDITIONAL_MOOD", "IMPERATIVE", @@ -982,15 +978,13 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "JUSSIVE", "SUBJUNCTIVE", ] - number: typing_extensions.Literal["NUMBER_UNKNOWN", "SINGULAR", "PLURAL", "DUAL"] - person: typing_extensions.Literal[ + number: typing.Literal["NUMBER_UNKNOWN", "SINGULAR", "PLURAL", "DUAL"] + person: typing.Literal[ "PERSON_UNKNOWN", "FIRST", "SECOND", "THIRD", "REFLEXIVE_PERSON" ] - proper: typing_extensions.Literal["PROPER_UNKNOWN", "PROPER", "NOT_PROPER"] - reciprocity: typing_extensions.Literal[ - "RECIPROCITY_UNKNOWN", "RECIPROCAL", "NON_RECIPROCAL" - ] - tag: typing_extensions.Literal[ + proper: typing.Literal["PROPER_UNKNOWN", "PROPER", "NOT_PROPER"] + reciprocity: typing.Literal["RECIPROCITY_UNKNOWN", "RECIPROCAL", "NON_RECIPROCAL"] + tag: typing.Literal[ "UNKNOWN", "ADJ", "ADP", @@ -1006,7 +1000,7 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "X", "AFFIX", ] - tense: typing_extensions.Literal[ + tense: typing.Literal[ "TENSE_UNKNOWN", "CONDITIONAL_TENSE", "FUTURE", @@ -1015,12 +1009,12 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "IMPERFECT", "PLUPERFECT", ] - voice: typing_extensions.Literal["VOICE_UNKNOWN", "ACTIVE", "CAUSATIVE", "PASSIVE"] + voice: typing.Literal["VOICE_UNKNOWN", "ACTIVE", "CAUSATIVE", "PASSIVE"] @typing.type_check_only -class RamMetric(typing_extensions.TypedDict, total=False): +class RamMetric(typing.TypedDict, total=False): gibSec: str - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -1331,7 +1325,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "C3D_HIGHMEM_360", ] memories: float - ramType: typing_extensions.Literal[ + ramType: typing.Literal[ "UNKNOWN_RAM_TYPE", "A2", "A3", @@ -1360,37 +1354,37 @@ class RamMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class Sentence(typing_extensions.TypedDict, total=False): +class Sentence(typing.TypedDict, total=False): sentiment: Sentiment text: TextSpan @typing.type_check_only -class Sentiment(typing_extensions.TypedDict, total=False): +class Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TextSpan(typing_extensions.TypedDict, total=False): +class TextSpan(typing.TypedDict, total=False): beginOffset: int content: str @typing.type_check_only -class Token(typing_extensions.TypedDict, total=False): +class Token(typing.TypedDict, total=False): dependencyEdge: DependencyEdge lemma: str partOfSpeech: PartOfSpeech text: TextSpan @typing.type_check_only -class TpuMetric(typing_extensions.TypedDict, total=False): +class TpuMetric(typing.TypedDict, total=False): tpuSec: str - tpuType: typing_extensions.Literal[ + tpuType: typing.Literal[ "UNKNOWN_TPU_TYPE", "TPU_V2_POD", "TPU_V2", @@ -1400,41 +1394,39 @@ class TpuMetric(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSArrayStats(typing_extensions.TypedDict, total=False): +class XPSArrayStats(typing.TypedDict, total=False): commonStats: XPSCommonStats memberStats: XPSDataStats @typing.type_check_only -class XPSBatchPredictResponse(typing_extensions.TypedDict, total=False): +class XPSBatchPredictResponse(typing.TypedDict, total=False): exampleSet: XPSExampleSet @typing.type_check_only -class XPSBoundingBoxMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSBoundingBoxMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSBoundingBoxMetricsEntryConfidenceMetricsEntry] iouThreshold: float meanAveragePrecision: float @typing.type_check_only -class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float precision: float recall: float @typing.type_check_only -class XPSCategoryStats(typing_extensions.TypedDict, total=False): +class XPSCategoryStats(typing.TypedDict, total=False): commonStats: XPSCommonStats topCategoryStats: _list[XPSCategoryStatsSingleCategoryStats] @typing.type_check_only -class XPSCategoryStatsSingleCategoryStats(typing_extensions.TypedDict, total=False): +class XPSCategoryStatsSingleCategoryStats(typing.TypedDict, total=False): count: str value: str @typing.type_check_only -class XPSClassificationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSClassificationEvaluationMetrics(typing.TypedDict, total=False): auPrc: float auRoc: float baseAuPrc: float @@ -1444,20 +1436,20 @@ class XPSClassificationEvaluationMetrics(typing_extensions.TypedDict, total=Fals logLoss: float @typing.type_check_only -class XPSColorMap(typing_extensions.TypedDict, total=False): +class XPSColorMap(typing.TypedDict, total=False): annotationSpecIdToken: str color: Color displayName: str intColor: XPSColorMapIntColor @typing.type_check_only -class XPSColorMapIntColor(typing_extensions.TypedDict, total=False): +class XPSColorMapIntColor(typing.TypedDict, total=False): blue: int green: int red: int @typing.type_check_only -class XPSColumnSpec(typing_extensions.TypedDict, total=False): +class XPSColumnSpec(typing.TypedDict, total=False): columnId: int dataStats: XPSDataStats dataType: XPSDataType @@ -1466,13 +1458,13 @@ class XPSColumnSpec(typing_extensions.TypedDict, total=False): topCorrelatedColumns: _list[XPSColumnSpecCorrelatedColumn] @typing.type_check_only -class XPSColumnSpecCorrelatedColumn(typing_extensions.TypedDict, total=False): +class XPSColumnSpecCorrelatedColumn(typing.TypedDict, total=False): columnId: int correlationStats: XPSCorrelationStats @typing.type_check_only -class XPSColumnSpecForecastingMetadata(typing_extensions.TypedDict, total=False): - columnType: typing_extensions.Literal[ +class XPSColumnSpecForecastingMetadata(typing.TypedDict, total=False): + columnType: typing.Literal[ "COLUMN_TYPE_UNSPECIFIED", "KEY", "KEY_METADATA", @@ -1481,13 +1473,13 @@ class XPSColumnSpecForecastingMetadata(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class XPSCommonStats(typing_extensions.TypedDict, total=False): +class XPSCommonStats(typing.TypedDict, total=False): distinctValueCount: str nullValueCount: str validValueCount: str @typing.type_check_only -class XPSConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float f1ScoreAt1: float @@ -1504,28 +1496,28 @@ class XPSConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): truePositiveCount: str @typing.type_check_only -class XPSConfusionMatrix(typing_extensions.TypedDict, total=False): +class XPSConfusionMatrix(typing.TypedDict, total=False): annotationSpecIdToken: _list[str] category: _list[int] row: _list[XPSConfusionMatrixRow] sentimentLabel: _list[int] @typing.type_check_only -class XPSConfusionMatrixRow(typing_extensions.TypedDict, total=False): +class XPSConfusionMatrixRow(typing.TypedDict, total=False): count: _list[str] exampleCount: _list[int] @typing.type_check_only -class XPSCoreMlFormat(typing_extensions.TypedDict, total=False): ... +class XPSCoreMlFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSCorrelationStats(typing_extensions.TypedDict, total=False): +class XPSCorrelationStats(typing.TypedDict, total=False): cramersV: float @typing.type_check_only -class XPSDataErrors(typing_extensions.TypedDict, total=False): +class XPSDataErrors(typing.TypedDict, total=False): count: int - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "UNSUPPORTED_AUDIO_FORMAT", "FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", @@ -1534,7 +1526,7 @@ class XPSDataErrors(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSDataStats(typing_extensions.TypedDict, total=False): +class XPSDataStats(typing.TypedDict, total=False): arrayStats: XPSArrayStats categoryStats: XPSCategoryStats distinctValueCount: str @@ -1546,13 +1538,13 @@ class XPSDataStats(typing_extensions.TypedDict, total=False): validValueCount: str @typing.type_check_only -class XPSDataType(typing_extensions.TypedDict, total=False): +class XPSDataType(typing.TypedDict, total=False): compatibleDataTypes: _list[XPSDataType] listElementType: XPSDataType nullable: bool structType: XPSStructType timeFormat: str - typeCode: typing_extensions.Literal[ + typeCode: typing.Literal[ "TYPE_CODE_UNSPECIFIED", "FLOAT64", "TIMESTAMP", @@ -1563,19 +1555,19 @@ class XPSDataType(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSDockerFormat(typing_extensions.TypedDict, total=False): - cpuArchitecture: typing_extensions.Literal[ +class XPSDockerFormat(typing.TypedDict, total=False): + cpuArchitecture: typing.Literal[ "CPU_ARCHITECTURE_UNSPECIFIED", "CPU_ARCHITECTURE_X86_64" ] - gpuArchitecture: typing_extensions.Literal[ + gpuArchitecture: typing.Literal[ "GPU_ARCHITECTURE_UNSPECIFIED", "GPU_ARCHITECTURE_NVIDIA" ] @typing.type_check_only -class XPSEdgeTpuTfLiteFormat(typing_extensions.TypedDict, total=False): ... +class XPSEdgeTpuTfLiteFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSEvaluationMetrics(typing.TypedDict, total=False): annotationSpecIdToken: str category: int evaluatedExampleCount: int @@ -1595,20 +1587,20 @@ class XPSEvaluationMetrics(typing_extensions.TypedDict, total=False): videoObjectTrackingEvalMetrics: XPSVideoObjectTrackingEvaluationMetrics @typing.type_check_only -class XPSEvaluationMetricsSet(typing_extensions.TypedDict, total=False): +class XPSEvaluationMetricsSet(typing.TypedDict, total=False): evaluationMetrics: _list[XPSEvaluationMetrics] fileSpec: XPSFileSpec numEvaluationMetrics: str @typing.type_check_only -class XPSExampleSet(typing_extensions.TypedDict, total=False): +class XPSExampleSet(typing.TypedDict, total=False): fileSpec: XPSFileSpec fingerprint: str numExamples: str numInputSources: str @typing.type_check_only -class XPSExportModelOutputConfig(typing_extensions.TypedDict, total=False): +class XPSExportModelOutputConfig(typing.TypedDict, total=False): coreMlFormat: XPSCoreMlFormat dockerFormat: XPSDockerFormat edgeTpuTfLiteFormat: XPSEdgeTpuTfLiteFormat @@ -1620,9 +1612,9 @@ class XPSExportModelOutputConfig(typing_extensions.TypedDict, total=False): tfSavedModelFormat: XPSTfSavedModelFormat @typing.type_check_only -class XPSFileSpec(typing_extensions.TypedDict, total=False): +class XPSFileSpec(typing.TypedDict, total=False): directoryPath: str - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNKNOWN", "FILE_FORMAT_SSTABLE", "FILE_FORMAT_TRANSLATION_RKV", @@ -1634,7 +1626,7 @@ class XPSFileSpec(typing_extensions.TypedDict, total=False): singleFilePath: str @typing.type_check_only -class XPSFloat64Stats(typing_extensions.TypedDict, total=False): +class XPSFloat64Stats(typing.TypedDict, total=False): commonStats: XPSCommonStats histogramBuckets: _list[XPSFloat64StatsHistogramBucket] mean: float @@ -1642,18 +1634,18 @@ class XPSFloat64Stats(typing_extensions.TypedDict, total=False): standardDeviation: float @typing.type_check_only -class XPSFloat64StatsHistogramBucket(typing_extensions.TypedDict, total=False): +class XPSFloat64StatsHistogramBucket(typing.TypedDict, total=False): count: str max: float min: float @typing.type_check_only -class XPSImageClassificationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSImageClassificationTrainResponse(typing.TypedDict, total=False): classCount: str exportModelSpec: XPSImageExportModelSpec modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1663,11 +1655,11 @@ class XPSImageClassificationTrainResponse(typing_extensions.TypedDict, total=Fal trainCostNodeSeconds: str @typing.type_check_only -class XPSImageExportModelSpec(typing_extensions.TypedDict, total=False): +class XPSImageExportModelSpec(typing.TypedDict, total=False): exportModelOutputConfig: _list[XPSExportModelOutputConfig] @typing.type_check_only -class XPSImageModelArtifactSpec(typing_extensions.TypedDict, total=False): +class XPSImageModelArtifactSpec(typing.TypedDict, total=False): checkpointArtifact: XPSModelArtifactItem exportArtifact: _list[XPSModelArtifactItem] labelGcsUri: str @@ -1676,16 +1668,14 @@ class XPSImageModelArtifactSpec(typing_extensions.TypedDict, total=False): tfLiteMetadataGcsUri: str @typing.type_check_only -class XPSImageModelServingSpec(typing_extensions.TypedDict, total=False): +class XPSImageModelServingSpec(typing.TypedDict, total=False): modelThroughputEstimation: _list[XPSImageModelServingSpecModelThroughputEstimation] nodeQps: float tfRuntimeVersion: str @typing.type_check_only -class XPSImageModelServingSpecModelThroughputEstimation( - typing_extensions.TypedDict, total=False -): - computeEngineAcceleratorType: typing_extensions.Literal[ +class XPSImageModelServingSpecModelThroughputEstimation(typing.TypedDict, total=False): + computeEngineAcceleratorType: typing.Literal[ "UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -1707,7 +1697,7 @@ class XPSImageModelServingSpecModelThroughputEstimation( ] latencyInMilliseconds: float nodeQps: float - servomaticPartitionType: typing_extensions.Literal[ + servomaticPartitionType: typing.Literal[ "PARTITION_TYPE_UNSPECIFIED", "PARTITION_ZERO", "PARTITION_REDUCED_HOMING", @@ -1717,21 +1707,19 @@ class XPSImageModelServingSpecModelThroughputEstimation( ] @typing.type_check_only -class XPSImageObjectDetectionEvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class XPSImageObjectDetectionEvaluationMetrics(typing.TypedDict, total=False): boundingBoxMeanAveragePrecision: float boundingBoxMetricsEntries: _list[XPSBoundingBoxMetricsEntry] evaluatedBoundingBoxCount: int @typing.type_check_only -class XPSImageObjectDetectionModelSpec(typing_extensions.TypedDict, total=False): +class XPSImageObjectDetectionModelSpec(typing.TypedDict, total=False): classCount: str exportModelSpec: XPSImageExportModelSpec maxBoundingBoxCount: str modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1740,14 +1728,14 @@ class XPSImageObjectDetectionModelSpec(typing_extensions.TypedDict, total=False) trainCostNodeSeconds: str @typing.type_check_only -class XPSImageSegmentationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSImageSegmentationEvaluationMetrics(typing.TypedDict, total=False): confidenceMetricsEntries: _list[ XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry ] @typing.type_check_only class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float confusionMatrix: XPSConfusionMatrix @@ -1757,12 +1745,12 @@ class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry( recall: float @typing.type_check_only -class XPSImageSegmentationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSImageSegmentationTrainResponse(typing.TypedDict, total=False): colorMaps: _list[XPSColorMap] exportModelSpec: XPSImageExportModelSpec modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1771,11 +1759,11 @@ class XPSImageSegmentationTrainResponse(typing_extensions.TypedDict, total=False trainCostNodeSeconds: str @typing.type_check_only -class XPSIntegratedGradientsAttribution(typing_extensions.TypedDict, total=False): +class XPSIntegratedGradientsAttribution(typing.TypedDict, total=False): stepCount: int @typing.type_check_only -class XPSMetricEntry(typing_extensions.TypedDict, total=False): +class XPSMetricEntry(typing.TypedDict, total=False): argentumMetricId: str doubleValue: float int64Value: str @@ -1783,13 +1771,13 @@ class XPSMetricEntry(typing_extensions.TypedDict, total=False): systemLabels: _list[XPSMetricEntryLabel] @typing.type_check_only -class XPSMetricEntryLabel(typing_extensions.TypedDict, total=False): +class XPSMetricEntryLabel(typing.TypedDict, total=False): labelName: str labelValue: str @typing.type_check_only -class XPSModelArtifactItem(typing_extensions.TypedDict, total=False): - artifactFormat: typing_extensions.Literal[ +class XPSModelArtifactItem(typing.TypedDict, total=False): + artifactFormat: typing.Literal[ "ARTIFACT_FORMAT_UNSPECIFIED", "TF_CHECKPOINT", "TF_SAVED_MODEL", @@ -1801,14 +1789,14 @@ class XPSModelArtifactItem(typing_extensions.TypedDict, total=False): gcsUri: str @typing.type_check_only -class XPSPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSPreprocessResponse(typing.TypedDict, total=False): outputExampleSet: XPSExampleSet speechPreprocessResp: XPSSpeechPreprocessResponse tablesPreprocessResponse: XPSTablesPreprocessResponse translationPreprocessResp: XPSTranslationPreprocessResponse @typing.type_check_only -class XPSRegressionEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSRegressionEvaluationMetrics(typing.TypedDict, total=False): meanAbsoluteError: float meanAbsolutePercentageError: float rSquared: float @@ -1817,61 +1805,53 @@ class XPSRegressionEvaluationMetrics(typing_extensions.TypedDict, total=False): rootMeanSquaredLogError: float @typing.type_check_only -class XPSRegressionMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSRegressionMetricsEntry(typing.TypedDict, total=False): predictedValue: float trueValue: float @typing.type_check_only -class XPSReportingMetrics(typing_extensions.TypedDict, total=False): +class XPSReportingMetrics(typing.TypedDict, total=False): effectiveTrainingDuration: str metricEntries: _list[XPSMetricEntry] @typing.type_check_only -class XPSResponseExplanationMetadata(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationMetadata(typing.TypedDict, total=False): inputs: dict[str, typing.Any] outputs: dict[str, typing.Any] @typing.type_check_only -class XPSResponseExplanationMetadataInputMetadata( - typing_extensions.TypedDict, total=False -): +class XPSResponseExplanationMetadataInputMetadata(typing.TypedDict, total=False): inputTensorName: str - modality: typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "NUMERIC", "IMAGE", "CATEGORICAL" - ] + modality: typing.Literal["MODALITY_UNSPECIFIED", "NUMERIC", "IMAGE", "CATEGORICAL"] visualizationConfig: XPSVisualization @typing.type_check_only -class XPSResponseExplanationMetadataOutputMetadata( - typing_extensions.TypedDict, total=False -): +class XPSResponseExplanationMetadataOutputMetadata(typing.TypedDict, total=False): outputTensorName: str @typing.type_check_only -class XPSResponseExplanationParameters(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationParameters(typing.TypedDict, total=False): integratedGradientsAttribution: XPSIntegratedGradientsAttribution xraiAttribution: XPSXraiAttribution @typing.type_check_only -class XPSResponseExplanationSpec(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationSpec(typing.TypedDict, total=False): explanationType: str metadata: XPSResponseExplanationMetadata parameters: XPSResponseExplanationParameters @typing.type_check_only -class XPSRow(typing_extensions.TypedDict, total=False): +class XPSRow(typing.TypedDict, total=False): columnIds: _list[int] values: _list[typing.Any] @typing.type_check_only -class XPSSpeechEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSSpeechEvaluationMetrics(typing.TypedDict, total=False): subModelEvaluationMetrics: _list[XPSSpeechEvaluationMetricsSubModelEvaluationMetric] @typing.type_check_only -class XPSSpeechEvaluationMetricsSubModelEvaluationMetric( - typing_extensions.TypedDict, total=False -): - biasingModelType: typing_extensions.Literal[ +class XPSSpeechEvaluationMetricsSubModelEvaluationMetric(typing.TypedDict, total=False): + biasingModelType: typing.Literal[ "BIASING_MODEL_TYPE_UNSPECIFIED", "COMMAND_AND_SEARCH", "PHONE_CALL", @@ -1888,14 +1868,14 @@ class XPSSpeechEvaluationMetricsSubModelEvaluationMetric( wer: float @typing.type_check_only -class XPSSpeechModelSpec(typing_extensions.TypedDict, total=False): +class XPSSpeechModelSpec(typing.TypedDict, total=False): datasetId: str language: str subModelSpecs: _list[XPSSpeechModelSpecSubModelSpec] @typing.type_check_only -class XPSSpeechModelSpecSubModelSpec(typing_extensions.TypedDict, total=False): - biasingModelType: typing_extensions.Literal[ +class XPSSpeechModelSpecSubModelSpec(typing.TypedDict, total=False): + biasingModelType: typing.Literal[ "BIASING_MODEL_TYPE_UNSPECIFIED", "COMMAND_AND_SEARCH", "PHONE_CALL", @@ -1907,14 +1887,14 @@ class XPSSpeechModelSpecSubModelSpec(typing_extensions.TypedDict, total=False): isEnhancedModel: bool @typing.type_check_only -class XPSSpeechPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSSpeechPreprocessResponse(typing.TypedDict, total=False): cnsTestDataPath: str cnsTrainDataPath: str prebuiltModelEvaluationMetrics: XPSSpeechEvaluationMetrics speechPreprocessStats: XPSSpeechPreprocessStats @typing.type_check_only -class XPSSpeechPreprocessStats(typing_extensions.TypedDict, total=False): +class XPSSpeechPreprocessStats(typing.TypedDict, total=False): dataErrors: _list[XPSDataErrors] numHumanLabeledExamples: int numLogsExamples: int @@ -1927,26 +1907,26 @@ class XPSSpeechPreprocessStats(typing_extensions.TypedDict, total=False): trainWordsCount: int @typing.type_check_only -class XPSStringStats(typing_extensions.TypedDict, total=False): +class XPSStringStats(typing.TypedDict, total=False): commonStats: XPSCommonStats topUnigramStats: _list[XPSStringStatsUnigramStats] @typing.type_check_only -class XPSStringStatsUnigramStats(typing_extensions.TypedDict, total=False): +class XPSStringStatsUnigramStats(typing.TypedDict, total=False): count: str value: str @typing.type_check_only -class XPSStructStats(typing_extensions.TypedDict, total=False): +class XPSStructStats(typing.TypedDict, total=False): commonStats: XPSCommonStats fieldStats: dict[str, typing.Any] @typing.type_check_only -class XPSStructType(typing_extensions.TypedDict, total=False): +class XPSStructType(typing.TypedDict, total=False): fields: dict[str, typing.Any] @typing.type_check_only -class XPSTableSpec(typing_extensions.TypedDict, total=False): +class XPSTableSpec(typing.TypedDict, total=False): columnSpecs: dict[str, typing.Any] importedDataSizeInBytes: str rowCount: str @@ -1954,13 +1934,11 @@ class XPSTableSpec(typing_extensions.TypedDict, total=False): validRowCount: str @typing.type_check_only -class XPSTablesClassificationMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesClassificationMetrics(typing.TypedDict, total=False): curveMetrics: _list[XPSTablesClassificationMetricsCurveMetrics] @typing.type_check_only -class XPSTablesClassificationMetricsCurveMetrics( - typing_extensions.TypedDict, total=False -): +class XPSTablesClassificationMetricsCurveMetrics(typing.TypedDict, total=False): aucPr: float aucRoc: float confidenceMetricsEntries: _list[XPSTablesConfidenceMetricsEntry] @@ -1969,7 +1947,7 @@ class XPSTablesClassificationMetricsCurveMetrics( value: str @typing.type_check_only -class XPSTablesConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSTablesConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float falseNegativeCount: str @@ -1982,7 +1960,7 @@ class XPSTablesConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): truePositiveRate: float @typing.type_check_only -class XPSTablesDatasetMetadata(typing_extensions.TypedDict, total=False): +class XPSTablesDatasetMetadata(typing.TypedDict, total=False): mlUseColumnId: int primaryTableSpec: XPSTableSpec targetColumnCorrelations: dict[str, typing.Any] @@ -1990,38 +1968,36 @@ class XPSTablesDatasetMetadata(typing_extensions.TypedDict, total=False): weightColumnId: int @typing.type_check_only -class XPSTablesEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesEvaluationMetrics(typing.TypedDict, total=False): classificationMetrics: XPSTablesClassificationMetrics regressionMetrics: XPSTablesRegressionMetrics @typing.type_check_only -class XPSTablesModelColumnInfo(typing_extensions.TypedDict, total=False): +class XPSTablesModelColumnInfo(typing.TypedDict, total=False): columnId: int featureImportance: float @typing.type_check_only -class XPSTablesModelStructure(typing_extensions.TypedDict, total=False): +class XPSTablesModelStructure(typing.TypedDict, total=False): modelParameters: _list[XPSTablesModelStructureModelParameters] @typing.type_check_only -class XPSTablesModelStructureModelParameters(typing_extensions.TypedDict, total=False): +class XPSTablesModelStructureModelParameters(typing.TypedDict, total=False): hyperparameters: _list[XPSTablesModelStructureModelParametersParameter] @typing.type_check_only -class XPSTablesModelStructureModelParametersParameter( - typing_extensions.TypedDict, total=False -): +class XPSTablesModelStructureModelParametersParameter(typing.TypedDict, total=False): floatValue: float intValue: str name: str stringValue: str @typing.type_check_only -class XPSTablesPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSTablesPreprocessResponse(typing.TypedDict, total=False): tablesDatasetMetadata: XPSTablesDatasetMetadata @typing.type_check_only -class XPSTablesRegressionMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesRegressionMetrics(typing.TypedDict, total=False): meanAbsoluteError: float meanAbsolutePercentageError: float rSquared: float @@ -2030,15 +2006,15 @@ class XPSTablesRegressionMetrics(typing_extensions.TypedDict, total=False): rootMeanSquaredLogError: float @typing.type_check_only -class XPSTablesTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTablesTrainResponse(typing.TypedDict, total=False): modelStructure: XPSTablesModelStructure predictionSampleRows: _list[XPSRow] tablesModelColumnInfo: _list[XPSTablesModelColumnInfo] trainCostMilliNodeHours: str @typing.type_check_only -class XPSTablesTrainingOperationMetadata(typing_extensions.TypedDict, total=False): - createModelStage: typing_extensions.Literal[ +class XPSTablesTrainingOperationMetadata(typing.TypedDict, total=False): + createModelStage: typing.Literal[ "CREATE_MODEL_STAGE_UNSPECIFIED", "DATA_PREPROCESSING", "TRAINING", @@ -2052,10 +2028,10 @@ class XPSTablesTrainingOperationMetadata(typing_extensions.TypedDict, total=Fals trainingStartTime: str @typing.type_check_only -class XPSTextComponentModel(typing_extensions.TypedDict, total=False): +class XPSTextComponentModel(typing.TypedDict, total=False): batchPredictionModelGcsUri: str onlinePredictionModelGcsUri: str - partition: typing_extensions.Literal[ + partition: typing.Literal[ "PARTITION_TYPE_UNSPECIFIED", "PARTITION_ZERO", "PARTITION_REDUCED_HOMING", @@ -2066,7 +2042,7 @@ class XPSTextComponentModel(typing_extensions.TypedDict, total=False): servingArtifact: XPSModelArtifactItem servoModelName: str submodelName: str - submodelType: typing_extensions.Literal[ + submodelType: typing.Literal[ "TEXT_MODEL_TYPE_UNSPECIFIED", "TEXT_MODEL_TYPE_DEFAULT", "TEXT_MODEL_TYPE_META_ARCHITECT", @@ -2085,14 +2061,14 @@ class XPSTextComponentModel(typing_extensions.TypedDict, total=False): versionNumber: str @typing.type_check_only -class XPSTextExtractionEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTextExtractionEvaluationMetrics(typing.TypedDict, total=False): bestF1ConfidenceMetrics: XPSConfidenceMetricsEntry confidenceMetricsEntries: _list[XPSConfidenceMetricsEntry] confusionMatrix: XPSConfusionMatrix perLabelConfidenceMetrics: dict[str, typing.Any] @typing.type_check_only -class XPSTextSentimentEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTextSentimentEvaluationMetrics(typing.TypedDict, total=False): confusionMatrix: XPSConfusionMatrix f1Score: float linearKappa: float @@ -2103,33 +2079,33 @@ class XPSTextSentimentEvaluationMetrics(typing_extensions.TypedDict, total=False recall: float @typing.type_check_only -class XPSTextToSpeechTrainResponse(typing_extensions.TypedDict, total=False): ... +class XPSTextToSpeechTrainResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTextTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTextTrainResponse(typing.TypedDict, total=False): componentModel: _list[XPSTextComponentModel] @typing.type_check_only -class XPSTfJsFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfJsFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTfLiteFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfLiteFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTfSavedModelFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfSavedModelFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTimestampStats(typing_extensions.TypedDict, total=False): +class XPSTimestampStats(typing.TypedDict, total=False): commonStats: XPSCommonStats granularStats: dict[str, typing.Any] medianTimestampNanos: str @typing.type_check_only -class XPSTimestampStatsGranularStats(typing_extensions.TypedDict, total=False): +class XPSTimestampStatsGranularStats(typing.TypedDict, total=False): buckets: dict[str, typing.Any] @typing.type_check_only -class XPSTrackMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSTrackMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSTrackMetricsEntryConfidenceMetricsEntry] iouThreshold: float meanBoundingBoxIou: float @@ -2137,9 +2113,7 @@ class XPSTrackMetricsEntry(typing_extensions.TypedDict, total=False): meanTrackingAveragePrecision: float @typing.type_check_only -class XPSTrackMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSTrackMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): boundingBoxIou: float confidenceThreshold: float mismatchRate: float @@ -2147,7 +2121,7 @@ class XPSTrackMetricsEntryConfidenceMetricsEntry( trackingRecall: float @typing.type_check_only -class XPSTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTrainResponse(typing.TypedDict, total=False): deployedModelSizeBytes: str errorAnalysisConfigs: _list[XPSVisionErrorAnalysisConfig] evaluatedExampleSet: XPSExampleSet @@ -2167,76 +2141,72 @@ class XPSTrainResponse(typing_extensions.TypedDict, total=False): videoObjectTrackingTrainResp: XPSVideoObjectTrackingTrainResponse @typing.type_check_only -class XPSTrainingObjectivePoint(typing_extensions.TypedDict, total=False): +class XPSTrainingObjectivePoint(typing.TypedDict, total=False): createTime: str value: float @typing.type_check_only -class XPSTranslationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTranslationEvaluationMetrics(typing.TypedDict, total=False): baseBleuScore: float bleuScore: float @typing.type_check_only -class XPSTranslationPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSTranslationPreprocessResponse(typing.TypedDict, total=False): parsedExampleCount: str validExampleCount: str @typing.type_check_only -class XPSTranslationTrainResponse(typing_extensions.TypedDict, total=False): - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "LEGACY", "CURRENT"] +class XPSTranslationTrainResponse(typing.TypedDict, total=False): + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "LEGACY", "CURRENT"] @typing.type_check_only -class XPSTuningTrial(typing_extensions.TypedDict, total=False): +class XPSTuningTrial(typing.TypedDict, total=False): modelStructure: XPSTablesModelStructure trainingObjectivePoint: XPSTrainingObjectivePoint @typing.type_check_only -class XPSVideoActionMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSVideoActionMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSVideoActionMetricsEntryConfidenceMetricsEntry] meanAveragePrecision: float precisionWindowLength: str @typing.type_check_only -class XPSVideoActionMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSVideoActionMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float precision: float recall: float @typing.type_check_only -class XPSVideoActionRecognitionEvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class XPSVideoActionRecognitionEvaluationMetrics(typing.TypedDict, total=False): evaluatedActionCount: int videoActionMetricsEntries: _list[XPSVideoActionMetricsEntry] @typing.type_check_only -class XPSVideoActionRecognitionTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoActionRecognitionTrainResponse(typing.TypedDict, total=False): modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoBatchPredictOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVideoBatchPredictOperationMetadata(typing.TypedDict, total=False): outputExamples: _list[str] @typing.type_check_only -class XPSVideoClassificationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoClassificationTrainResponse(typing.TypedDict, total=False): modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoExportModelSpec(typing_extensions.TypedDict, total=False): +class XPSVideoExportModelSpec(typing.TypedDict, total=False): exportModelOutputConfig: _list[XPSExportModelOutputConfig] @typing.type_check_only -class XPSVideoModelArtifactSpec(typing_extensions.TypedDict, total=False): +class XPSVideoModelArtifactSpec(typing.TypedDict, total=False): exportArtifact: _list[XPSModelArtifactItem] servingArtifact: XPSModelArtifactItem @typing.type_check_only -class XPSVideoObjectTrackingEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSVideoObjectTrackingEvaluationMetrics(typing.TypedDict, total=False): boundingBoxMeanAveragePrecision: float boundingBoxMetricsEntries: _list[XPSBoundingBoxMetricsEntry] evaluatedBoundingboxCount: int @@ -2248,19 +2218,19 @@ class XPSVideoObjectTrackingEvaluationMetrics(typing_extensions.TypedDict, total trackMetricsEntries: _list[XPSTrackMetricsEntry] @typing.type_check_only -class XPSVideoObjectTrackingTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoObjectTrackingTrainResponse(typing.TypedDict, total=False): exportModelSpec: XPSVideoExportModelSpec modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoTrainingOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVideoTrainingOperationMetadata(typing.TypedDict, total=False): trainCostMilliNodeHour: str @typing.type_check_only -class XPSVisionErrorAnalysisConfig(typing_extensions.TypedDict, total=False): +class XPSVisionErrorAnalysisConfig(typing.TypedDict, total=False): exampleCount: int - queryType: typing_extensions.Literal[ + queryType: typing.Literal[ "QUERY_TYPE_UNSPECIFIED", "QUERY_TYPE_ALL_SIMILAR", "QUERY_TYPE_SAME_CLASS_SIMILAR", @@ -2268,14 +2238,14 @@ class XPSVisionErrorAnalysisConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSVisionTrainingOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVisionTrainingOperationMetadata(typing.TypedDict, total=False): explanationUsage: InfraUsage @typing.type_check_only -class XPSVisualization(typing_extensions.TypedDict, total=False): +class XPSVisualization(typing.TypedDict, total=False): clipPercentLowerbound: float clipPercentUpperbound: float - colorMap: typing_extensions.Literal[ + colorMap: typing.Literal[ "COLOR_MAP_UNSPECIFIED", "PINK_GREEN", "VIRIDIS", @@ -2284,16 +2254,14 @@ class XPSVisualization(typing_extensions.TypedDict, total=False): "RED_GREEN", "PINK_WHITE_GREEN", ] - overlayType: typing_extensions.Literal[ + overlayType: typing.Literal[ "OVERLAY_TYPE_UNSPECIFIED", "NONE", "ORIGINAL", "GRAYSCALE", "MASK_BLACK" ] - polarity: typing_extensions.Literal[ - "POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH" - ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] + polarity: typing.Literal["POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH"] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] @typing.type_check_only -class XPSXpsOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSXpsOperationMetadata(typing.TypedDict, total=False): exampleCount: str reportingMetrics: XPSReportingMetrics tablesTrainingOperationMetadata: XPSTablesTrainingOperationMetadata @@ -2302,5 +2270,5 @@ class XPSXpsOperationMetadata(typing_extensions.TypedDict, total=False): visionTrainingOperationMetadata: XPSVisionTrainingOperationMetadata @typing.type_check_only -class XPSXraiAttribution(typing_extensions.TypedDict, total=False): +class XPSXraiAttribution(typing.TypedDict, total=False): stepCount: int diff --git a/googleapiclient-stubs/_apis/language/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/language/v1beta1/resources.pyi index 8ee003185..9559ccecc 100644 --- a/googleapiclient-stubs/_apis/language/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/language/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/language/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/language/v1beta1/schemas.pyi index 027088a80..437d55668 100644 --- a/googleapiclient-stubs/_apis/language/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1beta1/schemas.pyi @@ -1,49 +1,47 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeEntitiesRequest(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeEntitiesResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesResponse(typing.TypedDict, total=False): entities: _list[Entity] language: str @typing.type_check_only -class AnalyzeSentimentRequest(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeSentimentResponse(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentResponse(typing.TypedDict, total=False): documentSentiment: Sentiment language: str sentences: _list[Sentence] @typing.type_check_only -class AnalyzeSyntaxRequest(typing_extensions.TypedDict, total=False): +class AnalyzeSyntaxRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeSyntaxResponse(typing_extensions.TypedDict, total=False): +class AnalyzeSyntaxResponse(typing.TypedDict, total=False): language: str sentences: _list[Sentence] tokens: _list[Token] @typing.type_check_only -class AnnotateTextRequest(typing_extensions.TypedDict, total=False): +class AnnotateTextRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] features: Features @typing.type_check_only -class AnnotateTextResponse(typing_extensions.TypedDict, total=False): +class AnnotateTextResponse(typing.TypedDict, total=False): documentSentiment: Sentiment entities: _list[Entity] language: str @@ -51,9 +49,9 @@ class AnnotateTextResponse(typing_extensions.TypedDict, total=False): tokens: _list[Token] @typing.type_check_only -class DependencyEdge(typing_extensions.TypedDict, total=False): +class DependencyEdge(typing.TypedDict, total=False): headTokenIndex: int - label: typing_extensions.Literal[ + label: typing.Literal[ "UNKNOWN", "ABBREV", "ACOMP", @@ -140,19 +138,19 @@ class DependencyEdge(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class Document(typing.TypedDict, total=False): content: str gcsContentUri: str language: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] + type: typing.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): mentions: _list[EntityMention] metadata: dict[str, typing.Any] name: str salience: float - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "PERSON", "LOCATION", @@ -164,22 +162,22 @@ class Entity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EntityMention(typing_extensions.TypedDict, total=False): +class EntityMention(typing.TypedDict, total=False): text: TextSpan - type: typing_extensions.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] + type: typing.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] @typing.type_check_only -class Features(typing_extensions.TypedDict, total=False): +class Features(typing.TypedDict, total=False): extractDocumentSentiment: bool extractEntities: bool extractSyntax: bool @typing.type_check_only -class PartOfSpeech(typing_extensions.TypedDict, total=False): - aspect: typing_extensions.Literal[ +class PartOfSpeech(typing.TypedDict, total=False): + aspect: typing.Literal[ "ASPECT_UNKNOWN", "PERFECTIVE", "IMPERFECTIVE", "PROGRESSIVE" ] - case: typing_extensions.Literal[ + case: typing.Literal[ "CASE_UNKNOWN", "ACCUSATIVE", "ADVERBIAL", @@ -196,7 +194,7 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "RELATIVE_CASE", "VOCATIVE", ] - form: typing_extensions.Literal[ + form: typing.Literal[ "FORM_UNKNOWN", "ADNOMIAL", "AUXILIARY", @@ -210,10 +208,8 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "ORDER", "SPECIFIC", ] - gender: typing_extensions.Literal[ - "GENDER_UNKNOWN", "FEMININE", "MASCULINE", "NEUTER" - ] - mood: typing_extensions.Literal[ + gender: typing.Literal["GENDER_UNKNOWN", "FEMININE", "MASCULINE", "NEUTER"] + mood: typing.Literal[ "MOOD_UNKNOWN", "CONDITIONAL_MOOD", "IMPERATIVE", @@ -222,15 +218,13 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "JUSSIVE", "SUBJUNCTIVE", ] - number: typing_extensions.Literal["NUMBER_UNKNOWN", "SINGULAR", "PLURAL", "DUAL"] - person: typing_extensions.Literal[ + number: typing.Literal["NUMBER_UNKNOWN", "SINGULAR", "PLURAL", "DUAL"] + person: typing.Literal[ "PERSON_UNKNOWN", "FIRST", "SECOND", "THIRD", "REFLEXIVE_PERSON" ] - proper: typing_extensions.Literal["PROPER_UNKNOWN", "PROPER", "NOT_PROPER"] - reciprocity: typing_extensions.Literal[ - "RECIPROCITY_UNKNOWN", "RECIPROCAL", "NON_RECIPROCAL" - ] - tag: typing_extensions.Literal[ + proper: typing.Literal["PROPER_UNKNOWN", "PROPER", "NOT_PROPER"] + reciprocity: typing.Literal["RECIPROCITY_UNKNOWN", "RECIPROCAL", "NON_RECIPROCAL"] + tag: typing.Literal[ "UNKNOWN", "ADJ", "ADP", @@ -246,7 +240,7 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "X", "AFFIX", ] - tense: typing_extensions.Literal[ + tense: typing.Literal[ "TENSE_UNKNOWN", "CONDITIONAL_TENSE", "FUTURE", @@ -255,32 +249,32 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "IMPERFECT", "PLUPERFECT", ] - voice: typing_extensions.Literal["VOICE_UNKNOWN", "ACTIVE", "CAUSATIVE", "PASSIVE"] + voice: typing.Literal["VOICE_UNKNOWN", "ACTIVE", "CAUSATIVE", "PASSIVE"] @typing.type_check_only -class Sentence(typing_extensions.TypedDict, total=False): +class Sentence(typing.TypedDict, total=False): sentiment: Sentiment text: TextSpan @typing.type_check_only -class Sentiment(typing_extensions.TypedDict, total=False): +class Sentiment(typing.TypedDict, total=False): magnitude: float polarity: float score: float @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TextSpan(typing_extensions.TypedDict, total=False): +class TextSpan(typing.TypedDict, total=False): beginOffset: int content: str @typing.type_check_only -class Token(typing_extensions.TypedDict, total=False): +class Token(typing.TypedDict, total=False): dependencyEdge: DependencyEdge lemma: str partOfSpeech: PartOfSpeech diff --git a/googleapiclient-stubs/_apis/language/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/language/v1beta2/resources.pyi index 380cf376d..116effdad 100644 --- a/googleapiclient-stubs/_apis/language/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/language/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi index 1d476039c..39c7f9a1f 100644 --- a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi @@ -1,59 +1,57 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeEntitiesRequest(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeEntitiesResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesResponse(typing.TypedDict, total=False): entities: _list[Entity] language: str @typing.type_check_only -class AnalyzeEntitySentimentRequest(typing_extensions.TypedDict, total=False): +class AnalyzeEntitySentimentRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeEntitySentimentResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitySentimentResponse(typing.TypedDict, total=False): entities: _list[Entity] language: str @typing.type_check_only -class AnalyzeSentimentRequest(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeSentimentResponse(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentResponse(typing.TypedDict, total=False): documentSentiment: Sentiment language: str sentences: _list[Sentence] @typing.type_check_only -class AnalyzeSyntaxRequest(typing_extensions.TypedDict, total=False): +class AnalyzeSyntaxRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeSyntaxResponse(typing_extensions.TypedDict, total=False): +class AnalyzeSyntaxResponse(typing.TypedDict, total=False): language: str sentences: _list[Sentence] tokens: _list[Token] @typing.type_check_only -class AnnotateTextRequest(typing_extensions.TypedDict, total=False): +class AnnotateTextRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] features: AnnotateTextRequestFeatures @typing.type_check_only -class AnnotateTextRequestFeatures(typing_extensions.TypedDict, total=False): +class AnnotateTextRequestFeatures(typing.TypedDict, total=False): classificationModelOptions: ClassificationModelOptions classifyText: bool extractDocumentSentiment: bool @@ -63,7 +61,7 @@ class AnnotateTextRequestFeatures(typing_extensions.TypedDict, total=False): moderateText: bool @typing.type_check_only -class AnnotateTextResponse(typing_extensions.TypedDict, total=False): +class AnnotateTextResponse(typing.TypedDict, total=False): categories: _list[ClassificationCategory] documentSentiment: Sentiment entities: _list[Entity] @@ -73,45 +71,45 @@ class AnnotateTextResponse(typing_extensions.TypedDict, total=False): tokens: _list[Token] @typing.type_check_only -class ClassificationCategory(typing_extensions.TypedDict, total=False): +class ClassificationCategory(typing.TypedDict, total=False): confidence: float name: str @typing.type_check_only -class ClassificationModelOptions(typing_extensions.TypedDict, total=False): +class ClassificationModelOptions(typing.TypedDict, total=False): v1Model: ClassificationModelOptionsV1Model v2Model: ClassificationModelOptionsV2Model @typing.type_check_only -class ClassificationModelOptionsV1Model(typing_extensions.TypedDict, total=False): ... +class ClassificationModelOptionsV1Model(typing.TypedDict, total=False): ... @typing.type_check_only -class ClassificationModelOptionsV2Model(typing_extensions.TypedDict, total=False): - contentCategoriesVersion: typing_extensions.Literal[ +class ClassificationModelOptionsV2Model(typing.TypedDict, total=False): + contentCategoriesVersion: typing.Literal[ "CONTENT_CATEGORIES_VERSION_UNSPECIFIED", "V1", "V2" ] @typing.type_check_only -class ClassifyTextRequest(typing_extensions.TypedDict, total=False): +class ClassifyTextRequest(typing.TypedDict, total=False): classificationModelOptions: ClassificationModelOptions document: Document @typing.type_check_only -class ClassifyTextResponse(typing_extensions.TypedDict, total=False): +class ClassifyTextResponse(typing.TypedDict, total=False): categories: _list[ClassificationCategory] @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class CpuMetric(typing_extensions.TypedDict, total=False): +class CpuMetric(typing.TypedDict, total=False): coreNumber: str coreSec: str - cpuType: typing_extensions.Literal[ + cpuType: typing.Literal[ "UNKNOWN_CPU_TYPE", "A2", "A3", @@ -137,7 +135,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "N2", "N2D", ] - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -450,9 +448,9 @@ class CpuMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class DependencyEdge(typing_extensions.TypedDict, total=False): +class DependencyEdge(typing.TypedDict, total=False): headTokenIndex: int - label: typing_extensions.Literal[ + label: typing.Literal[ "UNKNOWN", "ABBREV", "ACOMP", @@ -539,8 +537,8 @@ class DependencyEdge(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DiskMetric(typing_extensions.TypedDict, total=False): - diskType: typing_extensions.Literal[ +class DiskMetric(typing.TypedDict, total=False): + diskType: typing.Literal[ "UNKNOWN_DISK_TYPE", "REGIONAL_SSD", "REGIONAL_STORAGE", @@ -551,24 +549,24 @@ class DiskMetric(typing_extensions.TypedDict, total=False): gibSec: str @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): - boilerplateHandling: typing_extensions.Literal[ +class Document(typing.TypedDict, total=False): + boilerplateHandling: typing.Literal[ "BOILERPLATE_HANDLING_UNSPECIFIED", "SKIP_BOILERPLATE", "KEEP_BOILERPLATE" ] content: str gcsContentUri: str language: str referenceWebUri: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] + type: typing.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): mentions: _list[EntityMention] metadata: dict[str, typing.Any] name: str salience: float sentiment: Sentiment - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "PERSON", "LOCATION", @@ -585,15 +583,15 @@ class Entity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EntityMention(typing_extensions.TypedDict, total=False): +class EntityMention(typing.TypedDict, total=False): sentiment: Sentiment text: TextSpan - type: typing_extensions.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] + type: typing.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] @typing.type_check_only -class GpuMetric(typing_extensions.TypedDict, total=False): +class GpuMetric(typing.TypedDict, total=False): gpuSec: str - gpuType: typing_extensions.Literal[ + gpuType: typing.Literal[ "UNKNOWN_GPU_TYPE", "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", @@ -610,7 +608,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_H200_141GB", "NVIDIA_RTX_PRO_6000", ] - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -923,7 +921,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class InfraUsage(typing_extensions.TypedDict, total=False): +class InfraUsage(typing.TypedDict, total=False): cpuMetrics: _list[CpuMetric] diskMetrics: _list[DiskMetric] gpuMetrics: _list[GpuMetric] @@ -931,19 +929,19 @@ class InfraUsage(typing_extensions.TypedDict, total=False): tpuMetrics: _list[TpuMetric] @typing.type_check_only -class ModerateTextRequest(typing_extensions.TypedDict, total=False): +class ModerateTextRequest(typing.TypedDict, total=False): document: Document @typing.type_check_only -class ModerateTextResponse(typing_extensions.TypedDict, total=False): +class ModerateTextResponse(typing.TypedDict, total=False): moderationCategories: _list[ClassificationCategory] @typing.type_check_only -class PartOfSpeech(typing_extensions.TypedDict, total=False): - aspect: typing_extensions.Literal[ +class PartOfSpeech(typing.TypedDict, total=False): + aspect: typing.Literal[ "ASPECT_UNKNOWN", "PERFECTIVE", "IMPERFECTIVE", "PROGRESSIVE" ] - case: typing_extensions.Literal[ + case: typing.Literal[ "CASE_UNKNOWN", "ACCUSATIVE", "ADVERBIAL", @@ -960,7 +958,7 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "RELATIVE_CASE", "VOCATIVE", ] - form: typing_extensions.Literal[ + form: typing.Literal[ "FORM_UNKNOWN", "ADNOMIAL", "AUXILIARY", @@ -974,10 +972,8 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "ORDER", "SPECIFIC", ] - gender: typing_extensions.Literal[ - "GENDER_UNKNOWN", "FEMININE", "MASCULINE", "NEUTER" - ] - mood: typing_extensions.Literal[ + gender: typing.Literal["GENDER_UNKNOWN", "FEMININE", "MASCULINE", "NEUTER"] + mood: typing.Literal[ "MOOD_UNKNOWN", "CONDITIONAL_MOOD", "IMPERATIVE", @@ -986,15 +982,13 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "JUSSIVE", "SUBJUNCTIVE", ] - number: typing_extensions.Literal["NUMBER_UNKNOWN", "SINGULAR", "PLURAL", "DUAL"] - person: typing_extensions.Literal[ + number: typing.Literal["NUMBER_UNKNOWN", "SINGULAR", "PLURAL", "DUAL"] + person: typing.Literal[ "PERSON_UNKNOWN", "FIRST", "SECOND", "THIRD", "REFLEXIVE_PERSON" ] - proper: typing_extensions.Literal["PROPER_UNKNOWN", "PROPER", "NOT_PROPER"] - reciprocity: typing_extensions.Literal[ - "RECIPROCITY_UNKNOWN", "RECIPROCAL", "NON_RECIPROCAL" - ] - tag: typing_extensions.Literal[ + proper: typing.Literal["PROPER_UNKNOWN", "PROPER", "NOT_PROPER"] + reciprocity: typing.Literal["RECIPROCITY_UNKNOWN", "RECIPROCAL", "NON_RECIPROCAL"] + tag: typing.Literal[ "UNKNOWN", "ADJ", "ADP", @@ -1010,7 +1004,7 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "X", "AFFIX", ] - tense: typing_extensions.Literal[ + tense: typing.Literal[ "TENSE_UNKNOWN", "CONDITIONAL_TENSE", "FUTURE", @@ -1019,12 +1013,12 @@ class PartOfSpeech(typing_extensions.TypedDict, total=False): "IMPERFECT", "PLUPERFECT", ] - voice: typing_extensions.Literal["VOICE_UNKNOWN", "ACTIVE", "CAUSATIVE", "PASSIVE"] + voice: typing.Literal["VOICE_UNKNOWN", "ACTIVE", "CAUSATIVE", "PASSIVE"] @typing.type_check_only -class RamMetric(typing_extensions.TypedDict, total=False): +class RamMetric(typing.TypedDict, total=False): gibSec: str - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -1335,7 +1329,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "C3D_HIGHMEM_360", ] memories: float - ramType: typing_extensions.Literal[ + ramType: typing.Literal[ "UNKNOWN_RAM_TYPE", "A2", "A3", @@ -1364,37 +1358,37 @@ class RamMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class Sentence(typing_extensions.TypedDict, total=False): +class Sentence(typing.TypedDict, total=False): sentiment: Sentiment text: TextSpan @typing.type_check_only -class Sentiment(typing_extensions.TypedDict, total=False): +class Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TextSpan(typing_extensions.TypedDict, total=False): +class TextSpan(typing.TypedDict, total=False): beginOffset: int content: str @typing.type_check_only -class Token(typing_extensions.TypedDict, total=False): +class Token(typing.TypedDict, total=False): dependencyEdge: DependencyEdge lemma: str partOfSpeech: PartOfSpeech text: TextSpan @typing.type_check_only -class TpuMetric(typing_extensions.TypedDict, total=False): +class TpuMetric(typing.TypedDict, total=False): tpuSec: str - tpuType: typing_extensions.Literal[ + tpuType: typing.Literal[ "UNKNOWN_TPU_TYPE", "TPU_V2_POD", "TPU_V2", @@ -1404,41 +1398,39 @@ class TpuMetric(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSArrayStats(typing_extensions.TypedDict, total=False): +class XPSArrayStats(typing.TypedDict, total=False): commonStats: XPSCommonStats memberStats: XPSDataStats @typing.type_check_only -class XPSBatchPredictResponse(typing_extensions.TypedDict, total=False): +class XPSBatchPredictResponse(typing.TypedDict, total=False): exampleSet: XPSExampleSet @typing.type_check_only -class XPSBoundingBoxMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSBoundingBoxMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSBoundingBoxMetricsEntryConfidenceMetricsEntry] iouThreshold: float meanAveragePrecision: float @typing.type_check_only -class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float precision: float recall: float @typing.type_check_only -class XPSCategoryStats(typing_extensions.TypedDict, total=False): +class XPSCategoryStats(typing.TypedDict, total=False): commonStats: XPSCommonStats topCategoryStats: _list[XPSCategoryStatsSingleCategoryStats] @typing.type_check_only -class XPSCategoryStatsSingleCategoryStats(typing_extensions.TypedDict, total=False): +class XPSCategoryStatsSingleCategoryStats(typing.TypedDict, total=False): count: str value: str @typing.type_check_only -class XPSClassificationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSClassificationEvaluationMetrics(typing.TypedDict, total=False): auPrc: float auRoc: float baseAuPrc: float @@ -1448,20 +1440,20 @@ class XPSClassificationEvaluationMetrics(typing_extensions.TypedDict, total=Fals logLoss: float @typing.type_check_only -class XPSColorMap(typing_extensions.TypedDict, total=False): +class XPSColorMap(typing.TypedDict, total=False): annotationSpecIdToken: str color: Color displayName: str intColor: XPSColorMapIntColor @typing.type_check_only -class XPSColorMapIntColor(typing_extensions.TypedDict, total=False): +class XPSColorMapIntColor(typing.TypedDict, total=False): blue: int green: int red: int @typing.type_check_only -class XPSColumnSpec(typing_extensions.TypedDict, total=False): +class XPSColumnSpec(typing.TypedDict, total=False): columnId: int dataStats: XPSDataStats dataType: XPSDataType @@ -1470,13 +1462,13 @@ class XPSColumnSpec(typing_extensions.TypedDict, total=False): topCorrelatedColumns: _list[XPSColumnSpecCorrelatedColumn] @typing.type_check_only -class XPSColumnSpecCorrelatedColumn(typing_extensions.TypedDict, total=False): +class XPSColumnSpecCorrelatedColumn(typing.TypedDict, total=False): columnId: int correlationStats: XPSCorrelationStats @typing.type_check_only -class XPSColumnSpecForecastingMetadata(typing_extensions.TypedDict, total=False): - columnType: typing_extensions.Literal[ +class XPSColumnSpecForecastingMetadata(typing.TypedDict, total=False): + columnType: typing.Literal[ "COLUMN_TYPE_UNSPECIFIED", "KEY", "KEY_METADATA", @@ -1485,13 +1477,13 @@ class XPSColumnSpecForecastingMetadata(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class XPSCommonStats(typing_extensions.TypedDict, total=False): +class XPSCommonStats(typing.TypedDict, total=False): distinctValueCount: str nullValueCount: str validValueCount: str @typing.type_check_only -class XPSConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float f1ScoreAt1: float @@ -1508,28 +1500,28 @@ class XPSConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): truePositiveCount: str @typing.type_check_only -class XPSConfusionMatrix(typing_extensions.TypedDict, total=False): +class XPSConfusionMatrix(typing.TypedDict, total=False): annotationSpecIdToken: _list[str] category: _list[int] row: _list[XPSConfusionMatrixRow] sentimentLabel: _list[int] @typing.type_check_only -class XPSConfusionMatrixRow(typing_extensions.TypedDict, total=False): +class XPSConfusionMatrixRow(typing.TypedDict, total=False): count: _list[str] exampleCount: _list[int] @typing.type_check_only -class XPSCoreMlFormat(typing_extensions.TypedDict, total=False): ... +class XPSCoreMlFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSCorrelationStats(typing_extensions.TypedDict, total=False): +class XPSCorrelationStats(typing.TypedDict, total=False): cramersV: float @typing.type_check_only -class XPSDataErrors(typing_extensions.TypedDict, total=False): +class XPSDataErrors(typing.TypedDict, total=False): count: int - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "UNSUPPORTED_AUDIO_FORMAT", "FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", @@ -1538,7 +1530,7 @@ class XPSDataErrors(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSDataStats(typing_extensions.TypedDict, total=False): +class XPSDataStats(typing.TypedDict, total=False): arrayStats: XPSArrayStats categoryStats: XPSCategoryStats distinctValueCount: str @@ -1550,13 +1542,13 @@ class XPSDataStats(typing_extensions.TypedDict, total=False): validValueCount: str @typing.type_check_only -class XPSDataType(typing_extensions.TypedDict, total=False): +class XPSDataType(typing.TypedDict, total=False): compatibleDataTypes: _list[XPSDataType] listElementType: XPSDataType nullable: bool structType: XPSStructType timeFormat: str - typeCode: typing_extensions.Literal[ + typeCode: typing.Literal[ "TYPE_CODE_UNSPECIFIED", "FLOAT64", "TIMESTAMP", @@ -1567,19 +1559,19 @@ class XPSDataType(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSDockerFormat(typing_extensions.TypedDict, total=False): - cpuArchitecture: typing_extensions.Literal[ +class XPSDockerFormat(typing.TypedDict, total=False): + cpuArchitecture: typing.Literal[ "CPU_ARCHITECTURE_UNSPECIFIED", "CPU_ARCHITECTURE_X86_64" ] - gpuArchitecture: typing_extensions.Literal[ + gpuArchitecture: typing.Literal[ "GPU_ARCHITECTURE_UNSPECIFIED", "GPU_ARCHITECTURE_NVIDIA" ] @typing.type_check_only -class XPSEdgeTpuTfLiteFormat(typing_extensions.TypedDict, total=False): ... +class XPSEdgeTpuTfLiteFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSEvaluationMetrics(typing.TypedDict, total=False): annotationSpecIdToken: str category: int evaluatedExampleCount: int @@ -1599,20 +1591,20 @@ class XPSEvaluationMetrics(typing_extensions.TypedDict, total=False): videoObjectTrackingEvalMetrics: XPSVideoObjectTrackingEvaluationMetrics @typing.type_check_only -class XPSEvaluationMetricsSet(typing_extensions.TypedDict, total=False): +class XPSEvaluationMetricsSet(typing.TypedDict, total=False): evaluationMetrics: _list[XPSEvaluationMetrics] fileSpec: XPSFileSpec numEvaluationMetrics: str @typing.type_check_only -class XPSExampleSet(typing_extensions.TypedDict, total=False): +class XPSExampleSet(typing.TypedDict, total=False): fileSpec: XPSFileSpec fingerprint: str numExamples: str numInputSources: str @typing.type_check_only -class XPSExportModelOutputConfig(typing_extensions.TypedDict, total=False): +class XPSExportModelOutputConfig(typing.TypedDict, total=False): coreMlFormat: XPSCoreMlFormat dockerFormat: XPSDockerFormat edgeTpuTfLiteFormat: XPSEdgeTpuTfLiteFormat @@ -1624,9 +1616,9 @@ class XPSExportModelOutputConfig(typing_extensions.TypedDict, total=False): tfSavedModelFormat: XPSTfSavedModelFormat @typing.type_check_only -class XPSFileSpec(typing_extensions.TypedDict, total=False): +class XPSFileSpec(typing.TypedDict, total=False): directoryPath: str - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNKNOWN", "FILE_FORMAT_SSTABLE", "FILE_FORMAT_TRANSLATION_RKV", @@ -1638,7 +1630,7 @@ class XPSFileSpec(typing_extensions.TypedDict, total=False): singleFilePath: str @typing.type_check_only -class XPSFloat64Stats(typing_extensions.TypedDict, total=False): +class XPSFloat64Stats(typing.TypedDict, total=False): commonStats: XPSCommonStats histogramBuckets: _list[XPSFloat64StatsHistogramBucket] mean: float @@ -1646,18 +1638,18 @@ class XPSFloat64Stats(typing_extensions.TypedDict, total=False): standardDeviation: float @typing.type_check_only -class XPSFloat64StatsHistogramBucket(typing_extensions.TypedDict, total=False): +class XPSFloat64StatsHistogramBucket(typing.TypedDict, total=False): count: str max: float min: float @typing.type_check_only -class XPSImageClassificationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSImageClassificationTrainResponse(typing.TypedDict, total=False): classCount: str exportModelSpec: XPSImageExportModelSpec modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1667,11 +1659,11 @@ class XPSImageClassificationTrainResponse(typing_extensions.TypedDict, total=Fal trainCostNodeSeconds: str @typing.type_check_only -class XPSImageExportModelSpec(typing_extensions.TypedDict, total=False): +class XPSImageExportModelSpec(typing.TypedDict, total=False): exportModelOutputConfig: _list[XPSExportModelOutputConfig] @typing.type_check_only -class XPSImageModelArtifactSpec(typing_extensions.TypedDict, total=False): +class XPSImageModelArtifactSpec(typing.TypedDict, total=False): checkpointArtifact: XPSModelArtifactItem exportArtifact: _list[XPSModelArtifactItem] labelGcsUri: str @@ -1680,16 +1672,14 @@ class XPSImageModelArtifactSpec(typing_extensions.TypedDict, total=False): tfLiteMetadataGcsUri: str @typing.type_check_only -class XPSImageModelServingSpec(typing_extensions.TypedDict, total=False): +class XPSImageModelServingSpec(typing.TypedDict, total=False): modelThroughputEstimation: _list[XPSImageModelServingSpecModelThroughputEstimation] nodeQps: float tfRuntimeVersion: str @typing.type_check_only -class XPSImageModelServingSpecModelThroughputEstimation( - typing_extensions.TypedDict, total=False -): - computeEngineAcceleratorType: typing_extensions.Literal[ +class XPSImageModelServingSpecModelThroughputEstimation(typing.TypedDict, total=False): + computeEngineAcceleratorType: typing.Literal[ "UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -1711,7 +1701,7 @@ class XPSImageModelServingSpecModelThroughputEstimation( ] latencyInMilliseconds: float nodeQps: float - servomaticPartitionType: typing_extensions.Literal[ + servomaticPartitionType: typing.Literal[ "PARTITION_TYPE_UNSPECIFIED", "PARTITION_ZERO", "PARTITION_REDUCED_HOMING", @@ -1721,21 +1711,19 @@ class XPSImageModelServingSpecModelThroughputEstimation( ] @typing.type_check_only -class XPSImageObjectDetectionEvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class XPSImageObjectDetectionEvaluationMetrics(typing.TypedDict, total=False): boundingBoxMeanAveragePrecision: float boundingBoxMetricsEntries: _list[XPSBoundingBoxMetricsEntry] evaluatedBoundingBoxCount: int @typing.type_check_only -class XPSImageObjectDetectionModelSpec(typing_extensions.TypedDict, total=False): +class XPSImageObjectDetectionModelSpec(typing.TypedDict, total=False): classCount: str exportModelSpec: XPSImageExportModelSpec maxBoundingBoxCount: str modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1744,14 +1732,14 @@ class XPSImageObjectDetectionModelSpec(typing_extensions.TypedDict, total=False) trainCostNodeSeconds: str @typing.type_check_only -class XPSImageSegmentationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSImageSegmentationEvaluationMetrics(typing.TypedDict, total=False): confidenceMetricsEntries: _list[ XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry ] @typing.type_check_only class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float confusionMatrix: XPSConfusionMatrix @@ -1761,12 +1749,12 @@ class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry( recall: float @typing.type_check_only -class XPSImageSegmentationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSImageSegmentationTrainResponse(typing.TypedDict, total=False): colorMaps: _list[XPSColorMap] exportModelSpec: XPSImageExportModelSpec modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1775,11 +1763,11 @@ class XPSImageSegmentationTrainResponse(typing_extensions.TypedDict, total=False trainCostNodeSeconds: str @typing.type_check_only -class XPSIntegratedGradientsAttribution(typing_extensions.TypedDict, total=False): +class XPSIntegratedGradientsAttribution(typing.TypedDict, total=False): stepCount: int @typing.type_check_only -class XPSMetricEntry(typing_extensions.TypedDict, total=False): +class XPSMetricEntry(typing.TypedDict, total=False): argentumMetricId: str doubleValue: float int64Value: str @@ -1787,13 +1775,13 @@ class XPSMetricEntry(typing_extensions.TypedDict, total=False): systemLabels: _list[XPSMetricEntryLabel] @typing.type_check_only -class XPSMetricEntryLabel(typing_extensions.TypedDict, total=False): +class XPSMetricEntryLabel(typing.TypedDict, total=False): labelName: str labelValue: str @typing.type_check_only -class XPSModelArtifactItem(typing_extensions.TypedDict, total=False): - artifactFormat: typing_extensions.Literal[ +class XPSModelArtifactItem(typing.TypedDict, total=False): + artifactFormat: typing.Literal[ "ARTIFACT_FORMAT_UNSPECIFIED", "TF_CHECKPOINT", "TF_SAVED_MODEL", @@ -1805,14 +1793,14 @@ class XPSModelArtifactItem(typing_extensions.TypedDict, total=False): gcsUri: str @typing.type_check_only -class XPSPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSPreprocessResponse(typing.TypedDict, total=False): outputExampleSet: XPSExampleSet speechPreprocessResp: XPSSpeechPreprocessResponse tablesPreprocessResponse: XPSTablesPreprocessResponse translationPreprocessResp: XPSTranslationPreprocessResponse @typing.type_check_only -class XPSRegressionEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSRegressionEvaluationMetrics(typing.TypedDict, total=False): meanAbsoluteError: float meanAbsolutePercentageError: float rSquared: float @@ -1821,61 +1809,53 @@ class XPSRegressionEvaluationMetrics(typing_extensions.TypedDict, total=False): rootMeanSquaredLogError: float @typing.type_check_only -class XPSRegressionMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSRegressionMetricsEntry(typing.TypedDict, total=False): predictedValue: float trueValue: float @typing.type_check_only -class XPSReportingMetrics(typing_extensions.TypedDict, total=False): +class XPSReportingMetrics(typing.TypedDict, total=False): effectiveTrainingDuration: str metricEntries: _list[XPSMetricEntry] @typing.type_check_only -class XPSResponseExplanationMetadata(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationMetadata(typing.TypedDict, total=False): inputs: dict[str, typing.Any] outputs: dict[str, typing.Any] @typing.type_check_only -class XPSResponseExplanationMetadataInputMetadata( - typing_extensions.TypedDict, total=False -): +class XPSResponseExplanationMetadataInputMetadata(typing.TypedDict, total=False): inputTensorName: str - modality: typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "NUMERIC", "IMAGE", "CATEGORICAL" - ] + modality: typing.Literal["MODALITY_UNSPECIFIED", "NUMERIC", "IMAGE", "CATEGORICAL"] visualizationConfig: XPSVisualization @typing.type_check_only -class XPSResponseExplanationMetadataOutputMetadata( - typing_extensions.TypedDict, total=False -): +class XPSResponseExplanationMetadataOutputMetadata(typing.TypedDict, total=False): outputTensorName: str @typing.type_check_only -class XPSResponseExplanationParameters(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationParameters(typing.TypedDict, total=False): integratedGradientsAttribution: XPSIntegratedGradientsAttribution xraiAttribution: XPSXraiAttribution @typing.type_check_only -class XPSResponseExplanationSpec(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationSpec(typing.TypedDict, total=False): explanationType: str metadata: XPSResponseExplanationMetadata parameters: XPSResponseExplanationParameters @typing.type_check_only -class XPSRow(typing_extensions.TypedDict, total=False): +class XPSRow(typing.TypedDict, total=False): columnIds: _list[int] values: _list[typing.Any] @typing.type_check_only -class XPSSpeechEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSSpeechEvaluationMetrics(typing.TypedDict, total=False): subModelEvaluationMetrics: _list[XPSSpeechEvaluationMetricsSubModelEvaluationMetric] @typing.type_check_only -class XPSSpeechEvaluationMetricsSubModelEvaluationMetric( - typing_extensions.TypedDict, total=False -): - biasingModelType: typing_extensions.Literal[ +class XPSSpeechEvaluationMetricsSubModelEvaluationMetric(typing.TypedDict, total=False): + biasingModelType: typing.Literal[ "BIASING_MODEL_TYPE_UNSPECIFIED", "COMMAND_AND_SEARCH", "PHONE_CALL", @@ -1892,14 +1872,14 @@ class XPSSpeechEvaluationMetricsSubModelEvaluationMetric( wer: float @typing.type_check_only -class XPSSpeechModelSpec(typing_extensions.TypedDict, total=False): +class XPSSpeechModelSpec(typing.TypedDict, total=False): datasetId: str language: str subModelSpecs: _list[XPSSpeechModelSpecSubModelSpec] @typing.type_check_only -class XPSSpeechModelSpecSubModelSpec(typing_extensions.TypedDict, total=False): - biasingModelType: typing_extensions.Literal[ +class XPSSpeechModelSpecSubModelSpec(typing.TypedDict, total=False): + biasingModelType: typing.Literal[ "BIASING_MODEL_TYPE_UNSPECIFIED", "COMMAND_AND_SEARCH", "PHONE_CALL", @@ -1911,14 +1891,14 @@ class XPSSpeechModelSpecSubModelSpec(typing_extensions.TypedDict, total=False): isEnhancedModel: bool @typing.type_check_only -class XPSSpeechPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSSpeechPreprocessResponse(typing.TypedDict, total=False): cnsTestDataPath: str cnsTrainDataPath: str prebuiltModelEvaluationMetrics: XPSSpeechEvaluationMetrics speechPreprocessStats: XPSSpeechPreprocessStats @typing.type_check_only -class XPSSpeechPreprocessStats(typing_extensions.TypedDict, total=False): +class XPSSpeechPreprocessStats(typing.TypedDict, total=False): dataErrors: _list[XPSDataErrors] numHumanLabeledExamples: int numLogsExamples: int @@ -1931,26 +1911,26 @@ class XPSSpeechPreprocessStats(typing_extensions.TypedDict, total=False): trainWordsCount: int @typing.type_check_only -class XPSStringStats(typing_extensions.TypedDict, total=False): +class XPSStringStats(typing.TypedDict, total=False): commonStats: XPSCommonStats topUnigramStats: _list[XPSStringStatsUnigramStats] @typing.type_check_only -class XPSStringStatsUnigramStats(typing_extensions.TypedDict, total=False): +class XPSStringStatsUnigramStats(typing.TypedDict, total=False): count: str value: str @typing.type_check_only -class XPSStructStats(typing_extensions.TypedDict, total=False): +class XPSStructStats(typing.TypedDict, total=False): commonStats: XPSCommonStats fieldStats: dict[str, typing.Any] @typing.type_check_only -class XPSStructType(typing_extensions.TypedDict, total=False): +class XPSStructType(typing.TypedDict, total=False): fields: dict[str, typing.Any] @typing.type_check_only -class XPSTableSpec(typing_extensions.TypedDict, total=False): +class XPSTableSpec(typing.TypedDict, total=False): columnSpecs: dict[str, typing.Any] importedDataSizeInBytes: str rowCount: str @@ -1958,13 +1938,11 @@ class XPSTableSpec(typing_extensions.TypedDict, total=False): validRowCount: str @typing.type_check_only -class XPSTablesClassificationMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesClassificationMetrics(typing.TypedDict, total=False): curveMetrics: _list[XPSTablesClassificationMetricsCurveMetrics] @typing.type_check_only -class XPSTablesClassificationMetricsCurveMetrics( - typing_extensions.TypedDict, total=False -): +class XPSTablesClassificationMetricsCurveMetrics(typing.TypedDict, total=False): aucPr: float aucRoc: float confidenceMetricsEntries: _list[XPSTablesConfidenceMetricsEntry] @@ -1973,7 +1951,7 @@ class XPSTablesClassificationMetricsCurveMetrics( value: str @typing.type_check_only -class XPSTablesConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSTablesConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float falseNegativeCount: str @@ -1986,7 +1964,7 @@ class XPSTablesConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): truePositiveRate: float @typing.type_check_only -class XPSTablesDatasetMetadata(typing_extensions.TypedDict, total=False): +class XPSTablesDatasetMetadata(typing.TypedDict, total=False): mlUseColumnId: int primaryTableSpec: XPSTableSpec targetColumnCorrelations: dict[str, typing.Any] @@ -1994,38 +1972,36 @@ class XPSTablesDatasetMetadata(typing_extensions.TypedDict, total=False): weightColumnId: int @typing.type_check_only -class XPSTablesEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesEvaluationMetrics(typing.TypedDict, total=False): classificationMetrics: XPSTablesClassificationMetrics regressionMetrics: XPSTablesRegressionMetrics @typing.type_check_only -class XPSTablesModelColumnInfo(typing_extensions.TypedDict, total=False): +class XPSTablesModelColumnInfo(typing.TypedDict, total=False): columnId: int featureImportance: float @typing.type_check_only -class XPSTablesModelStructure(typing_extensions.TypedDict, total=False): +class XPSTablesModelStructure(typing.TypedDict, total=False): modelParameters: _list[XPSTablesModelStructureModelParameters] @typing.type_check_only -class XPSTablesModelStructureModelParameters(typing_extensions.TypedDict, total=False): +class XPSTablesModelStructureModelParameters(typing.TypedDict, total=False): hyperparameters: _list[XPSTablesModelStructureModelParametersParameter] @typing.type_check_only -class XPSTablesModelStructureModelParametersParameter( - typing_extensions.TypedDict, total=False -): +class XPSTablesModelStructureModelParametersParameter(typing.TypedDict, total=False): floatValue: float intValue: str name: str stringValue: str @typing.type_check_only -class XPSTablesPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSTablesPreprocessResponse(typing.TypedDict, total=False): tablesDatasetMetadata: XPSTablesDatasetMetadata @typing.type_check_only -class XPSTablesRegressionMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesRegressionMetrics(typing.TypedDict, total=False): meanAbsoluteError: float meanAbsolutePercentageError: float rSquared: float @@ -2034,15 +2010,15 @@ class XPSTablesRegressionMetrics(typing_extensions.TypedDict, total=False): rootMeanSquaredLogError: float @typing.type_check_only -class XPSTablesTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTablesTrainResponse(typing.TypedDict, total=False): modelStructure: XPSTablesModelStructure predictionSampleRows: _list[XPSRow] tablesModelColumnInfo: _list[XPSTablesModelColumnInfo] trainCostMilliNodeHours: str @typing.type_check_only -class XPSTablesTrainingOperationMetadata(typing_extensions.TypedDict, total=False): - createModelStage: typing_extensions.Literal[ +class XPSTablesTrainingOperationMetadata(typing.TypedDict, total=False): + createModelStage: typing.Literal[ "CREATE_MODEL_STAGE_UNSPECIFIED", "DATA_PREPROCESSING", "TRAINING", @@ -2056,10 +2032,10 @@ class XPSTablesTrainingOperationMetadata(typing_extensions.TypedDict, total=Fals trainingStartTime: str @typing.type_check_only -class XPSTextComponentModel(typing_extensions.TypedDict, total=False): +class XPSTextComponentModel(typing.TypedDict, total=False): batchPredictionModelGcsUri: str onlinePredictionModelGcsUri: str - partition: typing_extensions.Literal[ + partition: typing.Literal[ "PARTITION_TYPE_UNSPECIFIED", "PARTITION_ZERO", "PARTITION_REDUCED_HOMING", @@ -2070,7 +2046,7 @@ class XPSTextComponentModel(typing_extensions.TypedDict, total=False): servingArtifact: XPSModelArtifactItem servoModelName: str submodelName: str - submodelType: typing_extensions.Literal[ + submodelType: typing.Literal[ "TEXT_MODEL_TYPE_UNSPECIFIED", "TEXT_MODEL_TYPE_DEFAULT", "TEXT_MODEL_TYPE_META_ARCHITECT", @@ -2089,14 +2065,14 @@ class XPSTextComponentModel(typing_extensions.TypedDict, total=False): versionNumber: str @typing.type_check_only -class XPSTextExtractionEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTextExtractionEvaluationMetrics(typing.TypedDict, total=False): bestF1ConfidenceMetrics: XPSConfidenceMetricsEntry confidenceMetricsEntries: _list[XPSConfidenceMetricsEntry] confusionMatrix: XPSConfusionMatrix perLabelConfidenceMetrics: dict[str, typing.Any] @typing.type_check_only -class XPSTextSentimentEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTextSentimentEvaluationMetrics(typing.TypedDict, total=False): confusionMatrix: XPSConfusionMatrix f1Score: float linearKappa: float @@ -2107,33 +2083,33 @@ class XPSTextSentimentEvaluationMetrics(typing_extensions.TypedDict, total=False recall: float @typing.type_check_only -class XPSTextToSpeechTrainResponse(typing_extensions.TypedDict, total=False): ... +class XPSTextToSpeechTrainResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTextTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTextTrainResponse(typing.TypedDict, total=False): componentModel: _list[XPSTextComponentModel] @typing.type_check_only -class XPSTfJsFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfJsFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTfLiteFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfLiteFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTfSavedModelFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfSavedModelFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTimestampStats(typing_extensions.TypedDict, total=False): +class XPSTimestampStats(typing.TypedDict, total=False): commonStats: XPSCommonStats granularStats: dict[str, typing.Any] medianTimestampNanos: str @typing.type_check_only -class XPSTimestampStatsGranularStats(typing_extensions.TypedDict, total=False): +class XPSTimestampStatsGranularStats(typing.TypedDict, total=False): buckets: dict[str, typing.Any] @typing.type_check_only -class XPSTrackMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSTrackMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSTrackMetricsEntryConfidenceMetricsEntry] iouThreshold: float meanBoundingBoxIou: float @@ -2141,9 +2117,7 @@ class XPSTrackMetricsEntry(typing_extensions.TypedDict, total=False): meanTrackingAveragePrecision: float @typing.type_check_only -class XPSTrackMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSTrackMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): boundingBoxIou: float confidenceThreshold: float mismatchRate: float @@ -2151,7 +2125,7 @@ class XPSTrackMetricsEntryConfidenceMetricsEntry( trackingRecall: float @typing.type_check_only -class XPSTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTrainResponse(typing.TypedDict, total=False): deployedModelSizeBytes: str errorAnalysisConfigs: _list[XPSVisionErrorAnalysisConfig] evaluatedExampleSet: XPSExampleSet @@ -2171,76 +2145,72 @@ class XPSTrainResponse(typing_extensions.TypedDict, total=False): videoObjectTrackingTrainResp: XPSVideoObjectTrackingTrainResponse @typing.type_check_only -class XPSTrainingObjectivePoint(typing_extensions.TypedDict, total=False): +class XPSTrainingObjectivePoint(typing.TypedDict, total=False): createTime: str value: float @typing.type_check_only -class XPSTranslationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTranslationEvaluationMetrics(typing.TypedDict, total=False): baseBleuScore: float bleuScore: float @typing.type_check_only -class XPSTranslationPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSTranslationPreprocessResponse(typing.TypedDict, total=False): parsedExampleCount: str validExampleCount: str @typing.type_check_only -class XPSTranslationTrainResponse(typing_extensions.TypedDict, total=False): - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "LEGACY", "CURRENT"] +class XPSTranslationTrainResponse(typing.TypedDict, total=False): + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "LEGACY", "CURRENT"] @typing.type_check_only -class XPSTuningTrial(typing_extensions.TypedDict, total=False): +class XPSTuningTrial(typing.TypedDict, total=False): modelStructure: XPSTablesModelStructure trainingObjectivePoint: XPSTrainingObjectivePoint @typing.type_check_only -class XPSVideoActionMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSVideoActionMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSVideoActionMetricsEntryConfidenceMetricsEntry] meanAveragePrecision: float precisionWindowLength: str @typing.type_check_only -class XPSVideoActionMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSVideoActionMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float precision: float recall: float @typing.type_check_only -class XPSVideoActionRecognitionEvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class XPSVideoActionRecognitionEvaluationMetrics(typing.TypedDict, total=False): evaluatedActionCount: int videoActionMetricsEntries: _list[XPSVideoActionMetricsEntry] @typing.type_check_only -class XPSVideoActionRecognitionTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoActionRecognitionTrainResponse(typing.TypedDict, total=False): modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoBatchPredictOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVideoBatchPredictOperationMetadata(typing.TypedDict, total=False): outputExamples: _list[str] @typing.type_check_only -class XPSVideoClassificationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoClassificationTrainResponse(typing.TypedDict, total=False): modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoExportModelSpec(typing_extensions.TypedDict, total=False): +class XPSVideoExportModelSpec(typing.TypedDict, total=False): exportModelOutputConfig: _list[XPSExportModelOutputConfig] @typing.type_check_only -class XPSVideoModelArtifactSpec(typing_extensions.TypedDict, total=False): +class XPSVideoModelArtifactSpec(typing.TypedDict, total=False): exportArtifact: _list[XPSModelArtifactItem] servingArtifact: XPSModelArtifactItem @typing.type_check_only -class XPSVideoObjectTrackingEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSVideoObjectTrackingEvaluationMetrics(typing.TypedDict, total=False): boundingBoxMeanAveragePrecision: float boundingBoxMetricsEntries: _list[XPSBoundingBoxMetricsEntry] evaluatedBoundingboxCount: int @@ -2252,19 +2222,19 @@ class XPSVideoObjectTrackingEvaluationMetrics(typing_extensions.TypedDict, total trackMetricsEntries: _list[XPSTrackMetricsEntry] @typing.type_check_only -class XPSVideoObjectTrackingTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoObjectTrackingTrainResponse(typing.TypedDict, total=False): exportModelSpec: XPSVideoExportModelSpec modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoTrainingOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVideoTrainingOperationMetadata(typing.TypedDict, total=False): trainCostMilliNodeHour: str @typing.type_check_only -class XPSVisionErrorAnalysisConfig(typing_extensions.TypedDict, total=False): +class XPSVisionErrorAnalysisConfig(typing.TypedDict, total=False): exampleCount: int - queryType: typing_extensions.Literal[ + queryType: typing.Literal[ "QUERY_TYPE_UNSPECIFIED", "QUERY_TYPE_ALL_SIMILAR", "QUERY_TYPE_SAME_CLASS_SIMILAR", @@ -2272,14 +2242,14 @@ class XPSVisionErrorAnalysisConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSVisionTrainingOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVisionTrainingOperationMetadata(typing.TypedDict, total=False): explanationUsage: InfraUsage @typing.type_check_only -class XPSVisualization(typing_extensions.TypedDict, total=False): +class XPSVisualization(typing.TypedDict, total=False): clipPercentLowerbound: float clipPercentUpperbound: float - colorMap: typing_extensions.Literal[ + colorMap: typing.Literal[ "COLOR_MAP_UNSPECIFIED", "PINK_GREEN", "VIRIDIS", @@ -2288,16 +2258,14 @@ class XPSVisualization(typing_extensions.TypedDict, total=False): "RED_GREEN", "PINK_WHITE_GREEN", ] - overlayType: typing_extensions.Literal[ + overlayType: typing.Literal[ "OVERLAY_TYPE_UNSPECIFIED", "NONE", "ORIGINAL", "GRAYSCALE", "MASK_BLACK" ] - polarity: typing_extensions.Literal[ - "POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH" - ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] + polarity: typing.Literal["POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH"] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] @typing.type_check_only -class XPSXpsOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSXpsOperationMetadata(typing.TypedDict, total=False): exampleCount: str reportingMetrics: XPSReportingMetrics tablesTrainingOperationMetadata: XPSTablesTrainingOperationMetadata @@ -2306,5 +2274,5 @@ class XPSXpsOperationMetadata(typing_extensions.TypedDict, total=False): visionTrainingOperationMetadata: XPSVisionTrainingOperationMetadata @typing.type_check_only -class XPSXraiAttribution(typing_extensions.TypedDict, total=False): +class XPSXraiAttribution(typing.TypedDict, total=False): stepCount: int diff --git a/googleapiclient-stubs/_apis/language/v2/resources.pyi b/googleapiclient-stubs/_apis/language/v2/resources.pyi index 87c51e426..59d5db905 100644 --- a/googleapiclient-stubs/_apis/language/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/language/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/language/v2/schemas.pyi b/googleapiclient-stubs/_apis/language/v2/schemas.pyi index c41644e2e..dc104d430 100644 --- a/googleapiclient-stubs/_apis/language/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v2/schemas.pyi @@ -1,47 +1,45 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyzeEntitiesRequest(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeEntitiesResponse(typing_extensions.TypedDict, total=False): +class AnalyzeEntitiesResponse(typing.TypedDict, total=False): entities: _list[Entity] languageCode: str languageSupported: bool @typing.type_check_only -class AnalyzeSentimentRequest(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] @typing.type_check_only -class AnalyzeSentimentResponse(typing_extensions.TypedDict, total=False): +class AnalyzeSentimentResponse(typing.TypedDict, total=False): documentSentiment: Sentiment languageCode: str languageSupported: bool sentences: _list[Sentence] @typing.type_check_only -class AnnotateTextRequest(typing_extensions.TypedDict, total=False): +class AnnotateTextRequest(typing.TypedDict, total=False): document: Document - encodingType: typing_extensions.Literal["NONE", "UTF8", "UTF16", "UTF32"] + encodingType: typing.Literal["NONE", "UTF8", "UTF16", "UTF32"] features: AnnotateTextRequestFeatures @typing.type_check_only -class AnnotateTextRequestFeatures(typing_extensions.TypedDict, total=False): +class AnnotateTextRequestFeatures(typing.TypedDict, total=False): classifyText: bool extractDocumentSentiment: bool extractEntities: bool moderateText: bool @typing.type_check_only -class AnnotateTextResponse(typing_extensions.TypedDict, total=False): +class AnnotateTextResponse(typing.TypedDict, total=False): categories: _list[ClassificationCategory] documentSentiment: Sentiment entities: _list[Entity] @@ -51,33 +49,33 @@ class AnnotateTextResponse(typing_extensions.TypedDict, total=False): sentences: _list[Sentence] @typing.type_check_only -class ClassificationCategory(typing_extensions.TypedDict, total=False): +class ClassificationCategory(typing.TypedDict, total=False): confidence: float name: str severity: float @typing.type_check_only -class ClassifyTextRequest(typing_extensions.TypedDict, total=False): +class ClassifyTextRequest(typing.TypedDict, total=False): document: Document @typing.type_check_only -class ClassifyTextResponse(typing_extensions.TypedDict, total=False): +class ClassifyTextResponse(typing.TypedDict, total=False): categories: _list[ClassificationCategory] languageCode: str languageSupported: bool @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class CpuMetric(typing_extensions.TypedDict, total=False): +class CpuMetric(typing.TypedDict, total=False): coreNumber: str coreSec: str - cpuType: typing_extensions.Literal[ + cpuType: typing.Literal[ "UNKNOWN_CPU_TYPE", "A2", "A3", @@ -103,7 +101,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "N2", "N2D", ] - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -416,8 +414,8 @@ class CpuMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class DiskMetric(typing_extensions.TypedDict, total=False): - diskType: typing_extensions.Literal[ +class DiskMetric(typing.TypedDict, total=False): + diskType: typing.Literal[ "UNKNOWN_DISK_TYPE", "REGIONAL_SSD", "REGIONAL_STORAGE", @@ -428,19 +426,19 @@ class DiskMetric(typing_extensions.TypedDict, total=False): gibSec: str @typing.type_check_only -class Document(typing_extensions.TypedDict, total=False): +class Document(typing.TypedDict, total=False): content: str gcsContentUri: str languageCode: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] + type: typing.Literal["TYPE_UNSPECIFIED", "PLAIN_TEXT", "HTML"] @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): mentions: _list[EntityMention] metadata: dict[str, typing.Any] name: str sentiment: Sentiment - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "PERSON", "LOCATION", @@ -457,16 +455,16 @@ class Entity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EntityMention(typing_extensions.TypedDict, total=False): +class EntityMention(typing.TypedDict, total=False): probability: float sentiment: Sentiment text: TextSpan - type: typing_extensions.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] + type: typing.Literal["TYPE_UNKNOWN", "PROPER", "COMMON"] @typing.type_check_only -class GpuMetric(typing_extensions.TypedDict, total=False): +class GpuMetric(typing.TypedDict, total=False): gpuSec: str - gpuType: typing_extensions.Literal[ + gpuType: typing.Literal[ "UNKNOWN_GPU_TYPE", "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", @@ -483,7 +481,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "NVIDIA_H200_141GB", "NVIDIA_RTX_PRO_6000", ] - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -796,7 +794,7 @@ class GpuMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class InfraUsage(typing_extensions.TypedDict, total=False): +class InfraUsage(typing.TypedDict, total=False): cpuMetrics: _list[CpuMetric] diskMetrics: _list[DiskMetric] gpuMetrics: _list[GpuMetric] @@ -804,22 +802,22 @@ class InfraUsage(typing_extensions.TypedDict, total=False): tpuMetrics: _list[TpuMetric] @typing.type_check_only -class ModerateTextRequest(typing_extensions.TypedDict, total=False): +class ModerateTextRequest(typing.TypedDict, total=False): document: Document - modelVersion: typing_extensions.Literal[ + modelVersion: typing.Literal[ "MODEL_VERSION_UNSPECIFIED", "MODEL_VERSION_1", "MODEL_VERSION_2" ] @typing.type_check_only -class ModerateTextResponse(typing_extensions.TypedDict, total=False): +class ModerateTextResponse(typing.TypedDict, total=False): languageCode: str languageSupported: bool moderationCategories: _list[ClassificationCategory] @typing.type_check_only -class RamMetric(typing_extensions.TypedDict, total=False): +class RamMetric(typing.TypedDict, total=False): gibSec: str - machineSpec: typing_extensions.Literal[ + machineSpec: typing.Literal[ "UNKNOWN_MACHINE_SPEC", "N1_STANDARD_2", "N1_STANDARD_4", @@ -1130,7 +1128,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "C3D_HIGHMEM_360", ] memories: float - ramType: typing_extensions.Literal[ + ramType: typing.Literal[ "UNKNOWN_RAM_TYPE", "A2", "A3", @@ -1159,30 +1157,30 @@ class RamMetric(typing_extensions.TypedDict, total=False): trackingLabels: dict[str, typing.Any] @typing.type_check_only -class Sentence(typing_extensions.TypedDict, total=False): +class Sentence(typing.TypedDict, total=False): sentiment: Sentiment text: TextSpan @typing.type_check_only -class Sentiment(typing_extensions.TypedDict, total=False): +class Sentiment(typing.TypedDict, total=False): magnitude: float score: float @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TextSpan(typing_extensions.TypedDict, total=False): +class TextSpan(typing.TypedDict, total=False): beginOffset: int content: str @typing.type_check_only -class TpuMetric(typing_extensions.TypedDict, total=False): +class TpuMetric(typing.TypedDict, total=False): tpuSec: str - tpuType: typing_extensions.Literal[ + tpuType: typing.Literal[ "UNKNOWN_TPU_TYPE", "TPU_V2_POD", "TPU_V2", @@ -1192,41 +1190,39 @@ class TpuMetric(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSArrayStats(typing_extensions.TypedDict, total=False): +class XPSArrayStats(typing.TypedDict, total=False): commonStats: XPSCommonStats memberStats: XPSDataStats @typing.type_check_only -class XPSBatchPredictResponse(typing_extensions.TypedDict, total=False): +class XPSBatchPredictResponse(typing.TypedDict, total=False): exampleSet: XPSExampleSet @typing.type_check_only -class XPSBoundingBoxMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSBoundingBoxMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSBoundingBoxMetricsEntryConfidenceMetricsEntry] iouThreshold: float meanAveragePrecision: float @typing.type_check_only -class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float precision: float recall: float @typing.type_check_only -class XPSCategoryStats(typing_extensions.TypedDict, total=False): +class XPSCategoryStats(typing.TypedDict, total=False): commonStats: XPSCommonStats topCategoryStats: _list[XPSCategoryStatsSingleCategoryStats] @typing.type_check_only -class XPSCategoryStatsSingleCategoryStats(typing_extensions.TypedDict, total=False): +class XPSCategoryStatsSingleCategoryStats(typing.TypedDict, total=False): count: str value: str @typing.type_check_only -class XPSClassificationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSClassificationEvaluationMetrics(typing.TypedDict, total=False): auPrc: float auRoc: float baseAuPrc: float @@ -1236,20 +1232,20 @@ class XPSClassificationEvaluationMetrics(typing_extensions.TypedDict, total=Fals logLoss: float @typing.type_check_only -class XPSColorMap(typing_extensions.TypedDict, total=False): +class XPSColorMap(typing.TypedDict, total=False): annotationSpecIdToken: str color: Color displayName: str intColor: XPSColorMapIntColor @typing.type_check_only -class XPSColorMapIntColor(typing_extensions.TypedDict, total=False): +class XPSColorMapIntColor(typing.TypedDict, total=False): blue: int green: int red: int @typing.type_check_only -class XPSColumnSpec(typing_extensions.TypedDict, total=False): +class XPSColumnSpec(typing.TypedDict, total=False): columnId: int dataStats: XPSDataStats dataType: XPSDataType @@ -1258,13 +1254,13 @@ class XPSColumnSpec(typing_extensions.TypedDict, total=False): topCorrelatedColumns: _list[XPSColumnSpecCorrelatedColumn] @typing.type_check_only -class XPSColumnSpecCorrelatedColumn(typing_extensions.TypedDict, total=False): +class XPSColumnSpecCorrelatedColumn(typing.TypedDict, total=False): columnId: int correlationStats: XPSCorrelationStats @typing.type_check_only -class XPSColumnSpecForecastingMetadata(typing_extensions.TypedDict, total=False): - columnType: typing_extensions.Literal[ +class XPSColumnSpecForecastingMetadata(typing.TypedDict, total=False): + columnType: typing.Literal[ "COLUMN_TYPE_UNSPECIFIED", "KEY", "KEY_METADATA", @@ -1273,13 +1269,13 @@ class XPSColumnSpecForecastingMetadata(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class XPSCommonStats(typing_extensions.TypedDict, total=False): +class XPSCommonStats(typing.TypedDict, total=False): distinctValueCount: str nullValueCount: str validValueCount: str @typing.type_check_only -class XPSConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float f1ScoreAt1: float @@ -1296,28 +1292,28 @@ class XPSConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): truePositiveCount: str @typing.type_check_only -class XPSConfusionMatrix(typing_extensions.TypedDict, total=False): +class XPSConfusionMatrix(typing.TypedDict, total=False): annotationSpecIdToken: _list[str] category: _list[int] row: _list[XPSConfusionMatrixRow] sentimentLabel: _list[int] @typing.type_check_only -class XPSConfusionMatrixRow(typing_extensions.TypedDict, total=False): +class XPSConfusionMatrixRow(typing.TypedDict, total=False): count: _list[str] exampleCount: _list[int] @typing.type_check_only -class XPSCoreMlFormat(typing_extensions.TypedDict, total=False): ... +class XPSCoreMlFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSCorrelationStats(typing_extensions.TypedDict, total=False): +class XPSCorrelationStats(typing.TypedDict, total=False): cramersV: float @typing.type_check_only -class XPSDataErrors(typing_extensions.TypedDict, total=False): +class XPSDataErrors(typing.TypedDict, total=False): count: int - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "UNSUPPORTED_AUDIO_FORMAT", "FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", @@ -1326,7 +1322,7 @@ class XPSDataErrors(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSDataStats(typing_extensions.TypedDict, total=False): +class XPSDataStats(typing.TypedDict, total=False): arrayStats: XPSArrayStats categoryStats: XPSCategoryStats distinctValueCount: str @@ -1338,13 +1334,13 @@ class XPSDataStats(typing_extensions.TypedDict, total=False): validValueCount: str @typing.type_check_only -class XPSDataType(typing_extensions.TypedDict, total=False): +class XPSDataType(typing.TypedDict, total=False): compatibleDataTypes: _list[XPSDataType] listElementType: XPSDataType nullable: bool structType: XPSStructType timeFormat: str - typeCode: typing_extensions.Literal[ + typeCode: typing.Literal[ "TYPE_CODE_UNSPECIFIED", "FLOAT64", "TIMESTAMP", @@ -1355,19 +1351,19 @@ class XPSDataType(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSDockerFormat(typing_extensions.TypedDict, total=False): - cpuArchitecture: typing_extensions.Literal[ +class XPSDockerFormat(typing.TypedDict, total=False): + cpuArchitecture: typing.Literal[ "CPU_ARCHITECTURE_UNSPECIFIED", "CPU_ARCHITECTURE_X86_64" ] - gpuArchitecture: typing_extensions.Literal[ + gpuArchitecture: typing.Literal[ "GPU_ARCHITECTURE_UNSPECIFIED", "GPU_ARCHITECTURE_NVIDIA" ] @typing.type_check_only -class XPSEdgeTpuTfLiteFormat(typing_extensions.TypedDict, total=False): ... +class XPSEdgeTpuTfLiteFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSEvaluationMetrics(typing.TypedDict, total=False): annotationSpecIdToken: str category: int evaluatedExampleCount: int @@ -1387,20 +1383,20 @@ class XPSEvaluationMetrics(typing_extensions.TypedDict, total=False): videoObjectTrackingEvalMetrics: XPSVideoObjectTrackingEvaluationMetrics @typing.type_check_only -class XPSEvaluationMetricsSet(typing_extensions.TypedDict, total=False): +class XPSEvaluationMetricsSet(typing.TypedDict, total=False): evaluationMetrics: _list[XPSEvaluationMetrics] fileSpec: XPSFileSpec numEvaluationMetrics: str @typing.type_check_only -class XPSExampleSet(typing_extensions.TypedDict, total=False): +class XPSExampleSet(typing.TypedDict, total=False): fileSpec: XPSFileSpec fingerprint: str numExamples: str numInputSources: str @typing.type_check_only -class XPSExportModelOutputConfig(typing_extensions.TypedDict, total=False): +class XPSExportModelOutputConfig(typing.TypedDict, total=False): coreMlFormat: XPSCoreMlFormat dockerFormat: XPSDockerFormat edgeTpuTfLiteFormat: XPSEdgeTpuTfLiteFormat @@ -1412,9 +1408,9 @@ class XPSExportModelOutputConfig(typing_extensions.TypedDict, total=False): tfSavedModelFormat: XPSTfSavedModelFormat @typing.type_check_only -class XPSFileSpec(typing_extensions.TypedDict, total=False): +class XPSFileSpec(typing.TypedDict, total=False): directoryPath: str - fileFormat: typing_extensions.Literal[ + fileFormat: typing.Literal[ "FILE_FORMAT_UNKNOWN", "FILE_FORMAT_SSTABLE", "FILE_FORMAT_TRANSLATION_RKV", @@ -1426,7 +1422,7 @@ class XPSFileSpec(typing_extensions.TypedDict, total=False): singleFilePath: str @typing.type_check_only -class XPSFloat64Stats(typing_extensions.TypedDict, total=False): +class XPSFloat64Stats(typing.TypedDict, total=False): commonStats: XPSCommonStats histogramBuckets: _list[XPSFloat64StatsHistogramBucket] mean: float @@ -1434,18 +1430,18 @@ class XPSFloat64Stats(typing_extensions.TypedDict, total=False): standardDeviation: float @typing.type_check_only -class XPSFloat64StatsHistogramBucket(typing_extensions.TypedDict, total=False): +class XPSFloat64StatsHistogramBucket(typing.TypedDict, total=False): count: str max: float min: float @typing.type_check_only -class XPSImageClassificationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSImageClassificationTrainResponse(typing.TypedDict, total=False): classCount: str exportModelSpec: XPSImageExportModelSpec modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1455,11 +1451,11 @@ class XPSImageClassificationTrainResponse(typing_extensions.TypedDict, total=Fal trainCostNodeSeconds: str @typing.type_check_only -class XPSImageExportModelSpec(typing_extensions.TypedDict, total=False): +class XPSImageExportModelSpec(typing.TypedDict, total=False): exportModelOutputConfig: _list[XPSExportModelOutputConfig] @typing.type_check_only -class XPSImageModelArtifactSpec(typing_extensions.TypedDict, total=False): +class XPSImageModelArtifactSpec(typing.TypedDict, total=False): checkpointArtifact: XPSModelArtifactItem exportArtifact: _list[XPSModelArtifactItem] labelGcsUri: str @@ -1468,16 +1464,14 @@ class XPSImageModelArtifactSpec(typing_extensions.TypedDict, total=False): tfLiteMetadataGcsUri: str @typing.type_check_only -class XPSImageModelServingSpec(typing_extensions.TypedDict, total=False): +class XPSImageModelServingSpec(typing.TypedDict, total=False): modelThroughputEstimation: _list[XPSImageModelServingSpecModelThroughputEstimation] nodeQps: float tfRuntimeVersion: str @typing.type_check_only -class XPSImageModelServingSpecModelThroughputEstimation( - typing_extensions.TypedDict, total=False -): - computeEngineAcceleratorType: typing_extensions.Literal[ +class XPSImageModelServingSpecModelThroughputEstimation(typing.TypedDict, total=False): + computeEngineAcceleratorType: typing.Literal[ "UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -1499,7 +1493,7 @@ class XPSImageModelServingSpecModelThroughputEstimation( ] latencyInMilliseconds: float nodeQps: float - servomaticPartitionType: typing_extensions.Literal[ + servomaticPartitionType: typing.Literal[ "PARTITION_TYPE_UNSPECIFIED", "PARTITION_ZERO", "PARTITION_REDUCED_HOMING", @@ -1509,21 +1503,19 @@ class XPSImageModelServingSpecModelThroughputEstimation( ] @typing.type_check_only -class XPSImageObjectDetectionEvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class XPSImageObjectDetectionEvaluationMetrics(typing.TypedDict, total=False): boundingBoxMeanAveragePrecision: float boundingBoxMetricsEntries: _list[XPSBoundingBoxMetricsEntry] evaluatedBoundingBoxCount: int @typing.type_check_only -class XPSImageObjectDetectionModelSpec(typing_extensions.TypedDict, total=False): +class XPSImageObjectDetectionModelSpec(typing.TypedDict, total=False): classCount: str exportModelSpec: XPSImageExportModelSpec maxBoundingBoxCount: str modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1532,14 +1524,14 @@ class XPSImageObjectDetectionModelSpec(typing_extensions.TypedDict, total=False) trainCostNodeSeconds: str @typing.type_check_only -class XPSImageSegmentationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSImageSegmentationEvaluationMetrics(typing.TypedDict, total=False): confidenceMetricsEntries: _list[ XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry ] @typing.type_check_only class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidenceThreshold: float confusionMatrix: XPSConfusionMatrix @@ -1549,12 +1541,12 @@ class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry( recall: float @typing.type_check_only -class XPSImageSegmentationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSImageSegmentationTrainResponse(typing.TypedDict, total=False): colorMaps: _list[XPSColorMap] exportModelSpec: XPSImageExportModelSpec modelArtifactSpec: XPSImageModelArtifactSpec modelServingSpec: XPSImageModelServingSpec - stopReason: typing_extensions.Literal[ + stopReason: typing.Literal[ "TRAIN_STOP_REASON_UNSPECIFIED", "TRAIN_STOP_REASON_BUDGET_REACHED", "TRAIN_STOP_REASON_MODEL_CONVERGED", @@ -1563,11 +1555,11 @@ class XPSImageSegmentationTrainResponse(typing_extensions.TypedDict, total=False trainCostNodeSeconds: str @typing.type_check_only -class XPSIntegratedGradientsAttribution(typing_extensions.TypedDict, total=False): +class XPSIntegratedGradientsAttribution(typing.TypedDict, total=False): stepCount: int @typing.type_check_only -class XPSMetricEntry(typing_extensions.TypedDict, total=False): +class XPSMetricEntry(typing.TypedDict, total=False): argentumMetricId: str doubleValue: float int64Value: str @@ -1575,13 +1567,13 @@ class XPSMetricEntry(typing_extensions.TypedDict, total=False): systemLabels: _list[XPSMetricEntryLabel] @typing.type_check_only -class XPSMetricEntryLabel(typing_extensions.TypedDict, total=False): +class XPSMetricEntryLabel(typing.TypedDict, total=False): labelName: str labelValue: str @typing.type_check_only -class XPSModelArtifactItem(typing_extensions.TypedDict, total=False): - artifactFormat: typing_extensions.Literal[ +class XPSModelArtifactItem(typing.TypedDict, total=False): + artifactFormat: typing.Literal[ "ARTIFACT_FORMAT_UNSPECIFIED", "TF_CHECKPOINT", "TF_SAVED_MODEL", @@ -1593,14 +1585,14 @@ class XPSModelArtifactItem(typing_extensions.TypedDict, total=False): gcsUri: str @typing.type_check_only -class XPSPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSPreprocessResponse(typing.TypedDict, total=False): outputExampleSet: XPSExampleSet speechPreprocessResp: XPSSpeechPreprocessResponse tablesPreprocessResponse: XPSTablesPreprocessResponse translationPreprocessResp: XPSTranslationPreprocessResponse @typing.type_check_only -class XPSRegressionEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSRegressionEvaluationMetrics(typing.TypedDict, total=False): meanAbsoluteError: float meanAbsolutePercentageError: float rSquared: float @@ -1609,61 +1601,53 @@ class XPSRegressionEvaluationMetrics(typing_extensions.TypedDict, total=False): rootMeanSquaredLogError: float @typing.type_check_only -class XPSRegressionMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSRegressionMetricsEntry(typing.TypedDict, total=False): predictedValue: float trueValue: float @typing.type_check_only -class XPSReportingMetrics(typing_extensions.TypedDict, total=False): +class XPSReportingMetrics(typing.TypedDict, total=False): effectiveTrainingDuration: str metricEntries: _list[XPSMetricEntry] @typing.type_check_only -class XPSResponseExplanationMetadata(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationMetadata(typing.TypedDict, total=False): inputs: dict[str, typing.Any] outputs: dict[str, typing.Any] @typing.type_check_only -class XPSResponseExplanationMetadataInputMetadata( - typing_extensions.TypedDict, total=False -): +class XPSResponseExplanationMetadataInputMetadata(typing.TypedDict, total=False): inputTensorName: str - modality: typing_extensions.Literal[ - "MODALITY_UNSPECIFIED", "NUMERIC", "IMAGE", "CATEGORICAL" - ] + modality: typing.Literal["MODALITY_UNSPECIFIED", "NUMERIC", "IMAGE", "CATEGORICAL"] visualizationConfig: XPSVisualization @typing.type_check_only -class XPSResponseExplanationMetadataOutputMetadata( - typing_extensions.TypedDict, total=False -): +class XPSResponseExplanationMetadataOutputMetadata(typing.TypedDict, total=False): outputTensorName: str @typing.type_check_only -class XPSResponseExplanationParameters(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationParameters(typing.TypedDict, total=False): integratedGradientsAttribution: XPSIntegratedGradientsAttribution xraiAttribution: XPSXraiAttribution @typing.type_check_only -class XPSResponseExplanationSpec(typing_extensions.TypedDict, total=False): +class XPSResponseExplanationSpec(typing.TypedDict, total=False): explanationType: str metadata: XPSResponseExplanationMetadata parameters: XPSResponseExplanationParameters @typing.type_check_only -class XPSRow(typing_extensions.TypedDict, total=False): +class XPSRow(typing.TypedDict, total=False): columnIds: _list[int] values: _list[typing.Any] @typing.type_check_only -class XPSSpeechEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSSpeechEvaluationMetrics(typing.TypedDict, total=False): subModelEvaluationMetrics: _list[XPSSpeechEvaluationMetricsSubModelEvaluationMetric] @typing.type_check_only -class XPSSpeechEvaluationMetricsSubModelEvaluationMetric( - typing_extensions.TypedDict, total=False -): - biasingModelType: typing_extensions.Literal[ +class XPSSpeechEvaluationMetricsSubModelEvaluationMetric(typing.TypedDict, total=False): + biasingModelType: typing.Literal[ "BIASING_MODEL_TYPE_UNSPECIFIED", "COMMAND_AND_SEARCH", "PHONE_CALL", @@ -1680,14 +1664,14 @@ class XPSSpeechEvaluationMetricsSubModelEvaluationMetric( wer: float @typing.type_check_only -class XPSSpeechModelSpec(typing_extensions.TypedDict, total=False): +class XPSSpeechModelSpec(typing.TypedDict, total=False): datasetId: str language: str subModelSpecs: _list[XPSSpeechModelSpecSubModelSpec] @typing.type_check_only -class XPSSpeechModelSpecSubModelSpec(typing_extensions.TypedDict, total=False): - biasingModelType: typing_extensions.Literal[ +class XPSSpeechModelSpecSubModelSpec(typing.TypedDict, total=False): + biasingModelType: typing.Literal[ "BIASING_MODEL_TYPE_UNSPECIFIED", "COMMAND_AND_SEARCH", "PHONE_CALL", @@ -1699,14 +1683,14 @@ class XPSSpeechModelSpecSubModelSpec(typing_extensions.TypedDict, total=False): isEnhancedModel: bool @typing.type_check_only -class XPSSpeechPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSSpeechPreprocessResponse(typing.TypedDict, total=False): cnsTestDataPath: str cnsTrainDataPath: str prebuiltModelEvaluationMetrics: XPSSpeechEvaluationMetrics speechPreprocessStats: XPSSpeechPreprocessStats @typing.type_check_only -class XPSSpeechPreprocessStats(typing_extensions.TypedDict, total=False): +class XPSSpeechPreprocessStats(typing.TypedDict, total=False): dataErrors: _list[XPSDataErrors] numHumanLabeledExamples: int numLogsExamples: int @@ -1719,26 +1703,26 @@ class XPSSpeechPreprocessStats(typing_extensions.TypedDict, total=False): trainWordsCount: int @typing.type_check_only -class XPSStringStats(typing_extensions.TypedDict, total=False): +class XPSStringStats(typing.TypedDict, total=False): commonStats: XPSCommonStats topUnigramStats: _list[XPSStringStatsUnigramStats] @typing.type_check_only -class XPSStringStatsUnigramStats(typing_extensions.TypedDict, total=False): +class XPSStringStatsUnigramStats(typing.TypedDict, total=False): count: str value: str @typing.type_check_only -class XPSStructStats(typing_extensions.TypedDict, total=False): +class XPSStructStats(typing.TypedDict, total=False): commonStats: XPSCommonStats fieldStats: dict[str, typing.Any] @typing.type_check_only -class XPSStructType(typing_extensions.TypedDict, total=False): +class XPSStructType(typing.TypedDict, total=False): fields: dict[str, typing.Any] @typing.type_check_only -class XPSTableSpec(typing_extensions.TypedDict, total=False): +class XPSTableSpec(typing.TypedDict, total=False): columnSpecs: dict[str, typing.Any] importedDataSizeInBytes: str rowCount: str @@ -1746,13 +1730,11 @@ class XPSTableSpec(typing_extensions.TypedDict, total=False): validRowCount: str @typing.type_check_only -class XPSTablesClassificationMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesClassificationMetrics(typing.TypedDict, total=False): curveMetrics: _list[XPSTablesClassificationMetricsCurveMetrics] @typing.type_check_only -class XPSTablesClassificationMetricsCurveMetrics( - typing_extensions.TypedDict, total=False -): +class XPSTablesClassificationMetricsCurveMetrics(typing.TypedDict, total=False): aucPr: float aucRoc: float confidenceMetricsEntries: _list[XPSTablesConfidenceMetricsEntry] @@ -1761,7 +1743,7 @@ class XPSTablesClassificationMetricsCurveMetrics( value: str @typing.type_check_only -class XPSTablesConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSTablesConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float falseNegativeCount: str @@ -1774,7 +1756,7 @@ class XPSTablesConfidenceMetricsEntry(typing_extensions.TypedDict, total=False): truePositiveRate: float @typing.type_check_only -class XPSTablesDatasetMetadata(typing_extensions.TypedDict, total=False): +class XPSTablesDatasetMetadata(typing.TypedDict, total=False): mlUseColumnId: int primaryTableSpec: XPSTableSpec targetColumnCorrelations: dict[str, typing.Any] @@ -1782,38 +1764,36 @@ class XPSTablesDatasetMetadata(typing_extensions.TypedDict, total=False): weightColumnId: int @typing.type_check_only -class XPSTablesEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesEvaluationMetrics(typing.TypedDict, total=False): classificationMetrics: XPSTablesClassificationMetrics regressionMetrics: XPSTablesRegressionMetrics @typing.type_check_only -class XPSTablesModelColumnInfo(typing_extensions.TypedDict, total=False): +class XPSTablesModelColumnInfo(typing.TypedDict, total=False): columnId: int featureImportance: float @typing.type_check_only -class XPSTablesModelStructure(typing_extensions.TypedDict, total=False): +class XPSTablesModelStructure(typing.TypedDict, total=False): modelParameters: _list[XPSTablesModelStructureModelParameters] @typing.type_check_only -class XPSTablesModelStructureModelParameters(typing_extensions.TypedDict, total=False): +class XPSTablesModelStructureModelParameters(typing.TypedDict, total=False): hyperparameters: _list[XPSTablesModelStructureModelParametersParameter] @typing.type_check_only -class XPSTablesModelStructureModelParametersParameter( - typing_extensions.TypedDict, total=False -): +class XPSTablesModelStructureModelParametersParameter(typing.TypedDict, total=False): floatValue: float intValue: str name: str stringValue: str @typing.type_check_only -class XPSTablesPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSTablesPreprocessResponse(typing.TypedDict, total=False): tablesDatasetMetadata: XPSTablesDatasetMetadata @typing.type_check_only -class XPSTablesRegressionMetrics(typing_extensions.TypedDict, total=False): +class XPSTablesRegressionMetrics(typing.TypedDict, total=False): meanAbsoluteError: float meanAbsolutePercentageError: float rSquared: float @@ -1822,15 +1802,15 @@ class XPSTablesRegressionMetrics(typing_extensions.TypedDict, total=False): rootMeanSquaredLogError: float @typing.type_check_only -class XPSTablesTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTablesTrainResponse(typing.TypedDict, total=False): modelStructure: XPSTablesModelStructure predictionSampleRows: _list[XPSRow] tablesModelColumnInfo: _list[XPSTablesModelColumnInfo] trainCostMilliNodeHours: str @typing.type_check_only -class XPSTablesTrainingOperationMetadata(typing_extensions.TypedDict, total=False): - createModelStage: typing_extensions.Literal[ +class XPSTablesTrainingOperationMetadata(typing.TypedDict, total=False): + createModelStage: typing.Literal[ "CREATE_MODEL_STAGE_UNSPECIFIED", "DATA_PREPROCESSING", "TRAINING", @@ -1844,10 +1824,10 @@ class XPSTablesTrainingOperationMetadata(typing_extensions.TypedDict, total=Fals trainingStartTime: str @typing.type_check_only -class XPSTextComponentModel(typing_extensions.TypedDict, total=False): +class XPSTextComponentModel(typing.TypedDict, total=False): batchPredictionModelGcsUri: str onlinePredictionModelGcsUri: str - partition: typing_extensions.Literal[ + partition: typing.Literal[ "PARTITION_TYPE_UNSPECIFIED", "PARTITION_ZERO", "PARTITION_REDUCED_HOMING", @@ -1858,7 +1838,7 @@ class XPSTextComponentModel(typing_extensions.TypedDict, total=False): servingArtifact: XPSModelArtifactItem servoModelName: str submodelName: str - submodelType: typing_extensions.Literal[ + submodelType: typing.Literal[ "TEXT_MODEL_TYPE_UNSPECIFIED", "TEXT_MODEL_TYPE_DEFAULT", "TEXT_MODEL_TYPE_META_ARCHITECT", @@ -1877,14 +1857,14 @@ class XPSTextComponentModel(typing_extensions.TypedDict, total=False): versionNumber: str @typing.type_check_only -class XPSTextExtractionEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTextExtractionEvaluationMetrics(typing.TypedDict, total=False): bestF1ConfidenceMetrics: XPSConfidenceMetricsEntry confidenceMetricsEntries: _list[XPSConfidenceMetricsEntry] confusionMatrix: XPSConfusionMatrix perLabelConfidenceMetrics: dict[str, typing.Any] @typing.type_check_only -class XPSTextSentimentEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTextSentimentEvaluationMetrics(typing.TypedDict, total=False): confusionMatrix: XPSConfusionMatrix f1Score: float linearKappa: float @@ -1895,33 +1875,33 @@ class XPSTextSentimentEvaluationMetrics(typing_extensions.TypedDict, total=False recall: float @typing.type_check_only -class XPSTextToSpeechTrainResponse(typing_extensions.TypedDict, total=False): ... +class XPSTextToSpeechTrainResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTextTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTextTrainResponse(typing.TypedDict, total=False): componentModel: _list[XPSTextComponentModel] @typing.type_check_only -class XPSTfJsFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfJsFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTfLiteFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfLiteFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTfSavedModelFormat(typing_extensions.TypedDict, total=False): ... +class XPSTfSavedModelFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class XPSTimestampStats(typing_extensions.TypedDict, total=False): +class XPSTimestampStats(typing.TypedDict, total=False): commonStats: XPSCommonStats granularStats: dict[str, typing.Any] medianTimestampNanos: str @typing.type_check_only -class XPSTimestampStatsGranularStats(typing_extensions.TypedDict, total=False): +class XPSTimestampStatsGranularStats(typing.TypedDict, total=False): buckets: dict[str, typing.Any] @typing.type_check_only -class XPSTrackMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSTrackMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSTrackMetricsEntryConfidenceMetricsEntry] iouThreshold: float meanBoundingBoxIou: float @@ -1929,9 +1909,7 @@ class XPSTrackMetricsEntry(typing_extensions.TypedDict, total=False): meanTrackingAveragePrecision: float @typing.type_check_only -class XPSTrackMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSTrackMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): boundingBoxIou: float confidenceThreshold: float mismatchRate: float @@ -1939,7 +1917,7 @@ class XPSTrackMetricsEntryConfidenceMetricsEntry( trackingRecall: float @typing.type_check_only -class XPSTrainResponse(typing_extensions.TypedDict, total=False): +class XPSTrainResponse(typing.TypedDict, total=False): deployedModelSizeBytes: str errorAnalysisConfigs: _list[XPSVisionErrorAnalysisConfig] evaluatedExampleSet: XPSExampleSet @@ -1959,76 +1937,72 @@ class XPSTrainResponse(typing_extensions.TypedDict, total=False): videoObjectTrackingTrainResp: XPSVideoObjectTrackingTrainResponse @typing.type_check_only -class XPSTrainingObjectivePoint(typing_extensions.TypedDict, total=False): +class XPSTrainingObjectivePoint(typing.TypedDict, total=False): createTime: str value: float @typing.type_check_only -class XPSTranslationEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSTranslationEvaluationMetrics(typing.TypedDict, total=False): baseBleuScore: float bleuScore: float @typing.type_check_only -class XPSTranslationPreprocessResponse(typing_extensions.TypedDict, total=False): +class XPSTranslationPreprocessResponse(typing.TypedDict, total=False): parsedExampleCount: str validExampleCount: str @typing.type_check_only -class XPSTranslationTrainResponse(typing_extensions.TypedDict, total=False): - modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "LEGACY", "CURRENT"] +class XPSTranslationTrainResponse(typing.TypedDict, total=False): + modelType: typing.Literal["MODEL_TYPE_UNSPECIFIED", "LEGACY", "CURRENT"] @typing.type_check_only -class XPSTuningTrial(typing_extensions.TypedDict, total=False): +class XPSTuningTrial(typing.TypedDict, total=False): modelStructure: XPSTablesModelStructure trainingObjectivePoint: XPSTrainingObjectivePoint @typing.type_check_only -class XPSVideoActionMetricsEntry(typing_extensions.TypedDict, total=False): +class XPSVideoActionMetricsEntry(typing.TypedDict, total=False): confidenceMetricsEntries: _list[XPSVideoActionMetricsEntryConfidenceMetricsEntry] meanAveragePrecision: float precisionWindowLength: str @typing.type_check_only -class XPSVideoActionMetricsEntryConfidenceMetricsEntry( - typing_extensions.TypedDict, total=False -): +class XPSVideoActionMetricsEntryConfidenceMetricsEntry(typing.TypedDict, total=False): confidenceThreshold: float f1Score: float precision: float recall: float @typing.type_check_only -class XPSVideoActionRecognitionEvaluationMetrics( - typing_extensions.TypedDict, total=False -): +class XPSVideoActionRecognitionEvaluationMetrics(typing.TypedDict, total=False): evaluatedActionCount: int videoActionMetricsEntries: _list[XPSVideoActionMetricsEntry] @typing.type_check_only -class XPSVideoActionRecognitionTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoActionRecognitionTrainResponse(typing.TypedDict, total=False): modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoBatchPredictOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVideoBatchPredictOperationMetadata(typing.TypedDict, total=False): outputExamples: _list[str] @typing.type_check_only -class XPSVideoClassificationTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoClassificationTrainResponse(typing.TypedDict, total=False): modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoExportModelSpec(typing_extensions.TypedDict, total=False): +class XPSVideoExportModelSpec(typing.TypedDict, total=False): exportModelOutputConfig: _list[XPSExportModelOutputConfig] @typing.type_check_only -class XPSVideoModelArtifactSpec(typing_extensions.TypedDict, total=False): +class XPSVideoModelArtifactSpec(typing.TypedDict, total=False): exportArtifact: _list[XPSModelArtifactItem] servingArtifact: XPSModelArtifactItem @typing.type_check_only -class XPSVideoObjectTrackingEvaluationMetrics(typing_extensions.TypedDict, total=False): +class XPSVideoObjectTrackingEvaluationMetrics(typing.TypedDict, total=False): boundingBoxMeanAveragePrecision: float boundingBoxMetricsEntries: _list[XPSBoundingBoxMetricsEntry] evaluatedBoundingboxCount: int @@ -2040,19 +2014,19 @@ class XPSVideoObjectTrackingEvaluationMetrics(typing_extensions.TypedDict, total trackMetricsEntries: _list[XPSTrackMetricsEntry] @typing.type_check_only -class XPSVideoObjectTrackingTrainResponse(typing_extensions.TypedDict, total=False): +class XPSVideoObjectTrackingTrainResponse(typing.TypedDict, total=False): exportModelSpec: XPSVideoExportModelSpec modelArtifactSpec: XPSVideoModelArtifactSpec trainCostNodeSeconds: str @typing.type_check_only -class XPSVideoTrainingOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVideoTrainingOperationMetadata(typing.TypedDict, total=False): trainCostMilliNodeHour: str @typing.type_check_only -class XPSVisionErrorAnalysisConfig(typing_extensions.TypedDict, total=False): +class XPSVisionErrorAnalysisConfig(typing.TypedDict, total=False): exampleCount: int - queryType: typing_extensions.Literal[ + queryType: typing.Literal[ "QUERY_TYPE_UNSPECIFIED", "QUERY_TYPE_ALL_SIMILAR", "QUERY_TYPE_SAME_CLASS_SIMILAR", @@ -2060,14 +2034,14 @@ class XPSVisionErrorAnalysisConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class XPSVisionTrainingOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSVisionTrainingOperationMetadata(typing.TypedDict, total=False): explanationUsage: InfraUsage @typing.type_check_only -class XPSVisualization(typing_extensions.TypedDict, total=False): +class XPSVisualization(typing.TypedDict, total=False): clipPercentLowerbound: float clipPercentUpperbound: float - colorMap: typing_extensions.Literal[ + colorMap: typing.Literal[ "COLOR_MAP_UNSPECIFIED", "PINK_GREEN", "VIRIDIS", @@ -2076,16 +2050,14 @@ class XPSVisualization(typing_extensions.TypedDict, total=False): "RED_GREEN", "PINK_WHITE_GREEN", ] - overlayType: typing_extensions.Literal[ + overlayType: typing.Literal[ "OVERLAY_TYPE_UNSPECIFIED", "NONE", "ORIGINAL", "GRAYSCALE", "MASK_BLACK" ] - polarity: typing_extensions.Literal[ - "POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH" - ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] + polarity: typing.Literal["POLARITY_UNSPECIFIED", "POSITIVE", "NEGATIVE", "BOTH"] + type: typing.Literal["TYPE_UNSPECIFIED", "PIXELS", "OUTLINES"] @typing.type_check_only -class XPSXpsOperationMetadata(typing_extensions.TypedDict, total=False): +class XPSXpsOperationMetadata(typing.TypedDict, total=False): exampleCount: str reportingMetrics: XPSReportingMetrics tablesTrainingOperationMetadata: XPSTablesTrainingOperationMetadata @@ -2094,5 +2066,5 @@ class XPSXpsOperationMetadata(typing_extensions.TypedDict, total=False): visionTrainingOperationMetadata: XPSVisionTrainingOperationMetadata @typing.type_check_only -class XPSXraiAttribution(typing_extensions.TypedDict, total=False): +class XPSXraiAttribution(typing.TypedDict, total=False): stepCount: int diff --git a/googleapiclient-stubs/_apis/libraryagent/v1/resources.pyi b/googleapiclient-stubs/_apis/libraryagent/v1/resources.pyi index 8f1739f4d..6ea551b71 100644 --- a/googleapiclient-stubs/_apis/libraryagent/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/libraryagent/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/libraryagent/v1/schemas.pyi b/googleapiclient-stubs/_apis/libraryagent/v1/schemas.pyi index f40a801b4..21e76d05c 100644 --- a/googleapiclient-stubs/_apis/libraryagent/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/libraryagent/v1/schemas.pyi @@ -1,31 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleExampleLibraryagentV1Book(typing_extensions.TypedDict, total=False): +class GoogleExampleLibraryagentV1Book(typing.TypedDict, total=False): author: str name: str read: bool title: str @typing.type_check_only -class GoogleExampleLibraryagentV1ListBooksResponse( - typing_extensions.TypedDict, total=False -): +class GoogleExampleLibraryagentV1ListBooksResponse(typing.TypedDict, total=False): books: _list[GoogleExampleLibraryagentV1Book] nextPageToken: str @typing.type_check_only -class GoogleExampleLibraryagentV1ListShelvesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleExampleLibraryagentV1ListShelvesResponse(typing.TypedDict, total=False): nextPageToken: str shelves: _list[GoogleExampleLibraryagentV1Shelf] @typing.type_check_only -class GoogleExampleLibraryagentV1Shelf(typing_extensions.TypedDict, total=False): +class GoogleExampleLibraryagentV1Shelf(typing.TypedDict, total=False): name: str theme: str diff --git a/googleapiclient-stubs/_apis/licensing/v1/resources.pyi b/googleapiclient-stubs/_apis/licensing/v1/resources.pyi index 1ab1313ee..9affc1b03 100644 --- a/googleapiclient-stubs/_apis/licensing/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/licensing/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/licensing/v1/schemas.pyi b/googleapiclient-stubs/_apis/licensing/v1/schemas.pyi index dca0cc279..0178879b4 100644 --- a/googleapiclient-stubs/_apis/licensing/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/licensing/v1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class LicenseAssignment(typing_extensions.TypedDict, total=False): +class LicenseAssignment(typing.TypedDict, total=False): etags: str kind: str productId: str @@ -19,11 +17,11 @@ class LicenseAssignment(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class LicenseAssignmentInsert(typing_extensions.TypedDict, total=False): +class LicenseAssignmentInsert(typing.TypedDict, total=False): userId: str @typing.type_check_only -class LicenseAssignmentList(typing_extensions.TypedDict, total=False): +class LicenseAssignmentList(typing.TypedDict, total=False): etag: str items: _list[LicenseAssignment] kind: str diff --git a/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi b/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi index 4e0e499ae..5a880a303 100644 --- a/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/lifesciences/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/lifesciences/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/lifesciences/v2beta/schemas.pyi index 2e68eb0e0..577d62428 100644 --- a/googleapiclient-stubs/_apis/lifesciences/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/lifesciences/v2beta/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): +class Accelerator(typing.TypedDict, total=False): count: str type: str @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): alwaysRun: bool blockExternalNetwork: bool commands: _list[str] @@ -33,41 +31,41 @@ class Action(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ContainerKilledEvent(typing_extensions.TypedDict, total=False): +class ContainerKilledEvent(typing.TypedDict, total=False): actionId: int @typing.type_check_only -class ContainerStartedEvent(typing_extensions.TypedDict, total=False): +class ContainerStartedEvent(typing.TypedDict, total=False): actionId: int ipAddress: str portMappings: dict[str, typing.Any] @typing.type_check_only -class ContainerStoppedEvent(typing_extensions.TypedDict, total=False): +class ContainerStoppedEvent(typing.TypedDict, total=False): actionId: int exitStatus: int stderr: str @typing.type_check_only -class DelayedEvent(typing_extensions.TypedDict, total=False): +class DelayedEvent(typing.TypedDict, total=False): cause: str metrics: _list[str] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): name: str sizeGb: int sourceImage: str type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): containerKilled: ContainerKilledEvent containerStarted: ContainerStartedEvent containerStopped: ContainerStoppedEvent @@ -82,13 +80,13 @@ class Event(typing_extensions.TypedDict, total=False): workerReleased: WorkerReleasedEvent @typing.type_check_only -class ExistingDisk(typing_extensions.TypedDict, total=False): +class ExistingDisk(typing.TypedDict, total=False): disk: str @typing.type_check_only -class FailedEvent(typing_extensions.TypedDict, total=False): +class FailedEvent(typing.TypedDict, total=False): cause: str - code: typing_extensions.Literal[ + code: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -109,17 +107,17 @@ class FailedEvent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -127,7 +125,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): createTime: str endTime: str events: _list[Event] @@ -137,23 +135,23 @@ class Metadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class Mount(typing_extensions.TypedDict, total=False): +class Mount(typing.TypedDict, total=False): disk: str path: str readOnly: bool @typing.type_check_only -class NFSMount(typing_extensions.TypedDict, total=False): +class NFSMount(typing.TypedDict, total=False): target: str @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): network: str subnetwork: str usePrivateAddress: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -161,13 +159,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PersistentDisk(typing_extensions.TypedDict, total=False): +class PersistentDisk(typing.TypedDict, total=False): sizeGb: int sourceImage: str type: str @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): actions: _list[Action] encryptedEnvironment: Secret environment: dict[str, typing.Any] @@ -175,51 +173,51 @@ class Pipeline(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class PullStartedEvent(typing_extensions.TypedDict, total=False): +class PullStartedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class PullStoppedEvent(typing_extensions.TypedDict, total=False): +class PullStoppedEvent(typing.TypedDict, total=False): imageUri: str @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): regions: _list[str] virtualMachine: VirtualMachine zones: _list[str] @typing.type_check_only -class RunPipelineRequest(typing_extensions.TypedDict, total=False): +class RunPipelineRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] pipeline: Pipeline pubSubTopic: str @typing.type_check_only -class RunPipelineResponse(typing_extensions.TypedDict, total=False): ... +class RunPipelineResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): cipherText: str keyName: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class UnexpectedExitStatusEvent(typing_extensions.TypedDict, total=False): +class UnexpectedExitStatusEvent(typing.TypedDict, total=False): actionId: int exitStatus: int @typing.type_check_only -class VirtualMachine(typing_extensions.TypedDict, total=False): +class VirtualMachine(typing.TypedDict, total=False): accelerators: _list[Accelerator] bootDiskSizeGb: int bootImage: str @@ -237,19 +235,19 @@ class VirtualMachine(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): existingDisk: ExistingDisk nfsMount: NFSMount persistentDisk: PersistentDisk volume: str @typing.type_check_only -class WorkerAssignedEvent(typing_extensions.TypedDict, total=False): +class WorkerAssignedEvent(typing.TypedDict, total=False): instance: str machineType: str zone: str @typing.type_check_only -class WorkerReleasedEvent(typing_extensions.TypedDict, total=False): +class WorkerReleasedEvent(typing.TypedDict, total=False): instance: str zone: str diff --git a/googleapiclient-stubs/_apis/localservices/v1/resources.pyi b/googleapiclient-stubs/_apis/localservices/v1/resources.pyi index 3a836c01d..39bfa40ca 100644 --- a/googleapiclient-stubs/_apis/localservices/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/localservices/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/localservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/localservices/v1/schemas.pyi index f020891ba..548e87d49 100644 --- a/googleapiclient-stubs/_apis/localservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/localservices/v1/schemas.pyi @@ -1,13 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleAdsHomeservicesLocalservicesV1AccountReport( - typing_extensions.TypedDict, total=False -): +class GoogleAdsHomeservicesLocalservicesV1AccountReport(typing.TypedDict, total=False): accountId: str aggregatorInfo: GoogleAdsHomeservicesLocalservicesV1AggregatorInfo averageFiveStarRating: float @@ -27,15 +23,11 @@ class GoogleAdsHomeservicesLocalservicesV1AccountReport( totalReview: int @typing.type_check_only -class GoogleAdsHomeservicesLocalservicesV1AggregatorInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsHomeservicesLocalservicesV1AggregatorInfo(typing.TypedDict, total=False): aggregatorProviderId: str @typing.type_check_only -class GoogleAdsHomeservicesLocalservicesV1BookingLead( - typing_extensions.TypedDict, total=False -): +class GoogleAdsHomeservicesLocalservicesV1BookingLead(typing.TypedDict, total=False): bookingAppointmentTimestamp: str consumerEmail: str consumerPhoneNumber: str @@ -44,15 +36,13 @@ class GoogleAdsHomeservicesLocalservicesV1BookingLead( @typing.type_check_only class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountId: str aggregatorInfo: GoogleAdsHomeservicesLocalservicesV1AggregatorInfo bookingLead: GoogleAdsHomeservicesLocalservicesV1BookingLead businessName: str - chargeStatus: typing_extensions.Literal[ - "CHARGE_STATUS_UNSPECIFIED", "CHARGED", "NOT_CHARGED" - ] + chargeStatus: typing.Literal["CHARGE_STATUS_UNSPECIFIED", "CHARGED", "NOT_CHARGED"] currencyCode: str disputeStatus: str geo: str @@ -61,7 +51,7 @@ class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport( leadCreationTimestamp: str leadId: str leadPrice: float - leadType: typing_extensions.Literal[ + leadType: typing.Literal[ "LEAD_TYPE_UNSPECIFIED", "MESSAGE", "PHONE_CALL", "BOOKING" ] messageLead: GoogleAdsHomeservicesLocalservicesV1MessageLead @@ -69,37 +59,33 @@ class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport( timezone: GoogleTypeTimeZone @typing.type_check_only -class GoogleAdsHomeservicesLocalservicesV1MessageLead( - typing_extensions.TypedDict, total=False -): +class GoogleAdsHomeservicesLocalservicesV1MessageLead(typing.TypedDict, total=False): consumerPhoneNumber: str customerName: str jobType: str postalCode: str @typing.type_check_only -class GoogleAdsHomeservicesLocalservicesV1PhoneLead( - typing_extensions.TypedDict, total=False -): +class GoogleAdsHomeservicesLocalservicesV1PhoneLead(typing.TypedDict, total=False): chargedCallTimestamp: str chargedConnectedCallDurationSeconds: str consumerPhoneNumber: str @typing.type_check_only class GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountReports: _list[GoogleAdsHomeservicesLocalservicesV1AccountReport] nextPageToken: str @typing.type_check_only class GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detailedLeadReports: _list[GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport] nextPageToken: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/logging/v2/resources.pyi b/googleapiclient-stubs/_apis/logging/v2/resources.pyi index f87d8b62d..bca839bab 100644 --- a/googleapiclient-stubs/_apis/logging/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi index 347f1b492..a8fecda95 100644 --- a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi @@ -1,54 +1,52 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AppHub(typing_extensions.TypedDict, total=False): +class AppHub(typing.TypedDict, total=False): application: AppHubApplication service: AppHubService workload: AppHubWorkload @typing.type_check_only -class AppHubApplication(typing_extensions.TypedDict, total=False): +class AppHubApplication(typing.TypedDict, total=False): container: str id: str location: str @typing.type_check_only -class AppHubService(typing_extensions.TypedDict, total=False): +class AppHubService(typing.TypedDict, total=False): criticalityType: str environmentType: str id: str @typing.type_check_only -class AppHubWorkload(typing_extensions.TypedDict, total=False): +class AppHubWorkload(typing.TypedDict, total=False): criticalityType: str environmentType: str id: str @typing.type_check_only -class BigQueryDataset(typing_extensions.TypedDict, total=False): +class BigQueryDataset(typing.TypedDict, total=False): datasetId: str @typing.type_check_only -class BigQueryOptions(typing_extensions.TypedDict, total=False): +class BigQueryOptions(typing.TypedDict, total=False): usePartitionedTables: bool usesTimestampColumnPartitioning: bool @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BucketMetadata(typing_extensions.TypedDict, total=False): +class BucketMetadata(typing.TypedDict, total=False): createBucketRequest: CreateBucketRequest endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "OPERATION_STATE_SCHEDULED", "OPERATION_STATE_WAITING_FOR_PERMISSIONS", @@ -61,23 +59,23 @@ class BucketMetadata(typing_extensions.TypedDict, total=False): updateBucketRequest: UpdateBucketRequest @typing.type_check_only -class BucketOptions(typing_extensions.TypedDict, total=False): +class BucketOptions(typing.TypedDict, total=False): explicitBuckets: Explicit exponentialBuckets: Exponential linearBuckets: Linear @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CmekSettings(typing_extensions.TypedDict, total=False): +class CmekSettings(typing.TypedDict, total=False): kmsKeyName: str kmsKeyVersionName: str name: str serviceAccountId: str @typing.type_check_only -class CopyLogEntriesMetadata(typing_extensions.TypedDict, total=False): +class CopyLogEntriesMetadata(typing.TypedDict, total=False): cancellationRequested: bool destination: str endTime: str @@ -85,7 +83,7 @@ class CopyLogEntriesMetadata(typing_extensions.TypedDict, total=False): request: CopyLogEntriesRequest source: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "OPERATION_STATE_SCHEDULED", "OPERATION_STATE_WAITING_FOR_PERMISSIONS", @@ -99,61 +97,59 @@ class CopyLogEntriesMetadata(typing_extensions.TypedDict, total=False): writerIdentity: str @typing.type_check_only -class CopyLogEntriesRequest(typing_extensions.TypedDict, total=False): +class CopyLogEntriesRequest(typing.TypedDict, total=False): destination: str filter: str name: str @typing.type_check_only -class CopyLogEntriesResponse(typing_extensions.TypedDict, total=False): +class CopyLogEntriesResponse(typing.TypedDict, total=False): logEntriesCopiedCount: str @typing.type_check_only -class CreateBucketRequest(typing_extensions.TypedDict, total=False): +class CreateBucketRequest(typing.TypedDict, total=False): bucket: LogBucket bucketId: str parent: str @typing.type_check_only -class CreateLinkRequest(typing_extensions.TypedDict, total=False): +class CreateLinkRequest(typing.TypedDict, total=False): link: Link linkId: str parent: str @typing.type_check_only -class DefaultSinkConfig(typing_extensions.TypedDict, total=False): +class DefaultSinkConfig(typing.TypedDict, total=False): exclusions: _list[LogExclusion] filter: str - mode: typing_extensions.Literal[ - "FILTER_WRITE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE" - ] + mode: typing.Literal["FILTER_WRITE_MODE_UNSPECIFIED", "APPEND", "OVERWRITE"] @typing.type_check_only -class DeleteLinkRequest(typing_extensions.TypedDict, total=False): +class DeleteLinkRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Explicit(typing_extensions.TypedDict, total=False): +class Explicit(typing.TypedDict, total=False): bounds: _list[float] @typing.type_check_only -class Exponential(typing_extensions.TypedDict, total=False): +class Exponential(typing.TypedDict, total=False): growthFactor: float numFiniteBuckets: int scale: float @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FieldSource(typing_extensions.TypedDict, total=False): +class FieldSource(typing.TypedDict, total=False): aliasRef: str columnType: str field: str @@ -162,8 +158,8 @@ class FieldSource(typing_extensions.TypedDict, total=False): projectedField: ProjectedField @typing.type_check_only -class FilterExpression(typing_extensions.TypedDict, total=False): - comparator: typing_extensions.Literal[ +class FilterExpression(typing.TypedDict, total=False): + comparator: typing.Literal[ "COMPARATOR_UNSPECIFIED", "EQUALS", "MATCHES_REGEXP", @@ -181,28 +177,26 @@ class FilterExpression(typing_extensions.TypedDict, total=False): literalValue: typing.Any @typing.type_check_only -class FilterPredicate(typing_extensions.TypedDict, total=False): +class FilterPredicate(typing.TypedDict, total=False): childPredicates: _list[FilterPredicate] leafPredicate: FilterExpression - operatorType: typing_extensions.Literal[ - "OPERATOR_TYPE_UNSPECIFIED", "AND", "OR", "LEAF" - ] + operatorType: typing.Literal["OPERATOR_TYPE_UNSPECIFIED", "AND", "OR", "LEAF"] @typing.type_check_only -class FunctionApplication(typing_extensions.TypedDict, total=False): +class FunctionApplication(typing.TypedDict, total=False): parameters: _list[typing.Any] type: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class HttpRequest(typing_extensions.TypedDict, total=False): +class HttpRequest(typing.TypedDict, total=False): cacheFillBytes: str cacheHit: bool cacheLookup: bool @@ -220,31 +214,31 @@ class HttpRequest(typing_extensions.TypedDict, total=False): userAgent: str @typing.type_check_only -class IndexConfig(typing_extensions.TypedDict, total=False): +class IndexConfig(typing.TypedDict, total=False): createTime: str fieldPath: str - type: typing_extensions.Literal[ + type: typing.Literal[ "INDEX_TYPE_UNSPECIFIED", "INDEX_TYPE_STRING", "INDEX_TYPE_INTEGER" ] @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class Linear(typing_extensions.TypedDict, total=False): +class Linear(typing.TypedDict, total=False): numFiniteBuckets: int offset: float width: float @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): bigqueryDataset: BigQueryDataset createTime: str description: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED", @@ -255,12 +249,12 @@ class Link(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LinkMetadata(typing_extensions.TypedDict, total=False): +class LinkMetadata(typing.TypedDict, total=False): createLinkRequest: CreateLinkRequest deleteLinkRequest: DeleteLinkRequest endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "OPERATION_STATE_SCHEDULED", "OPERATION_STATE_WAITING_FOR_PERMISSIONS", @@ -272,27 +266,27 @@ class LinkMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListBucketsResponse(typing_extensions.TypedDict, total=False): +class ListBucketsResponse(typing.TypedDict, total=False): buckets: _list[LogBucket] nextPageToken: str @typing.type_check_only -class ListExclusionsResponse(typing_extensions.TypedDict, total=False): +class ListExclusionsResponse(typing.TypedDict, total=False): exclusions: _list[LogExclusion] nextPageToken: str @typing.type_check_only -class ListLinksResponse(typing_extensions.TypedDict, total=False): +class ListLinksResponse(typing.TypedDict, total=False): links: _list[Link] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListLogEntriesRequest(typing_extensions.TypedDict, total=False): +class ListLogEntriesRequest(typing.TypedDict, total=False): filter: str orderBy: str pageSize: int @@ -301,62 +295,60 @@ class ListLogEntriesRequest(typing_extensions.TypedDict, total=False): resourceNames: _list[str] @typing.type_check_only -class ListLogEntriesResponse(typing_extensions.TypedDict, total=False): +class ListLogEntriesResponse(typing.TypedDict, total=False): entries: _list[LogEntry] nextPageToken: str @typing.type_check_only -class ListLogMetricsResponse(typing_extensions.TypedDict, total=False): +class ListLogMetricsResponse(typing.TypedDict, total=False): metrics: _list[LogMetric] nextPageToken: str @typing.type_check_only -class ListLogScopesResponse(typing_extensions.TypedDict, total=False): +class ListLogScopesResponse(typing.TypedDict, total=False): logScopes: _list[LogScope] nextPageToken: str @typing.type_check_only -class ListLogsResponse(typing_extensions.TypedDict, total=False): +class ListLogsResponse(typing.TypedDict, total=False): logNames: _list[str] nextPageToken: str @typing.type_check_only -class ListMonitoredResourceDescriptorsResponse( - typing_extensions.TypedDict, total=False -): +class ListMonitoredResourceDescriptorsResponse(typing.TypedDict, total=False): nextPageToken: str resourceDescriptors: _list[MonitoredResourceDescriptor] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRecentQueriesResponse(typing_extensions.TypedDict, total=False): +class ListRecentQueriesResponse(typing.TypedDict, total=False): nextPageToken: str recentQueries: _list[RecentQuery] unreachable: _list[str] @typing.type_check_only -class ListSavedQueriesResponse(typing_extensions.TypedDict, total=False): +class ListSavedQueriesResponse(typing.TypedDict, total=False): nextPageToken: str savedQueries: _list[SavedQuery] unreachable: _list[str] @typing.type_check_only -class ListSinksResponse(typing_extensions.TypedDict, total=False): +class ListSinksResponse(typing.TypedDict, total=False): nextPageToken: str sinks: _list[LogSink] @typing.type_check_only -class ListViewsResponse(typing_extensions.TypedDict, total=False): +class ListViewsResponse(typing.TypedDict, total=False): nextPageToken: str views: _list[LogView] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -364,17 +356,17 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): logAnalyticsEnabled: bool @typing.type_check_only -class LogBucket(typing_extensions.TypedDict, total=False): +class LogBucket(typing.TypedDict, total=False): analyticsEnabled: bool cmekSettings: CmekSettings createTime: str description: str indexConfigs: _list[IndexConfig] - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", "DELETE_REQUESTED", @@ -389,7 +381,7 @@ class LogBucket(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class LogEntry(typing_extensions.TypedDict, total=False): +class LogEntry(typing.TypedDict, total=False): apphub: AppHub apphubDestination: AppHub apphubSource: AppHub @@ -405,7 +397,7 @@ class LogEntry(typing_extensions.TypedDict, total=False): protoPayload: dict[str, typing.Any] receiveTimestamp: str resource: MonitoredResource - severity: typing_extensions.Literal[ + severity: typing.Literal[ "DEFAULT", "DEBUG", "INFO", @@ -425,24 +417,24 @@ class LogEntry(typing_extensions.TypedDict, total=False): traceSampled: bool @typing.type_check_only -class LogEntryOperation(typing_extensions.TypedDict, total=False): +class LogEntryOperation(typing.TypedDict, total=False): first: bool id: str last: bool producer: str @typing.type_check_only -class LogEntrySourceLocation(typing_extensions.TypedDict, total=False): +class LogEntrySourceLocation(typing.TypedDict, total=False): file: str function: str line: str @typing.type_check_only -class LogErrorGroup(typing_extensions.TypedDict, total=False): +class LogErrorGroup(typing.TypedDict, total=False): id: str @typing.type_check_only -class LogExclusion(typing_extensions.TypedDict, total=False): +class LogExclusion(typing.TypedDict, total=False): createTime: str description: str disabled: bool @@ -451,9 +443,9 @@ class LogExclusion(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class LogLine(typing_extensions.TypedDict, total=False): +class LogLine(typing.TypedDict, total=False): logMessage: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "DEFAULT", "DEBUG", "INFO", @@ -468,7 +460,7 @@ class LogLine(typing_extensions.TypedDict, total=False): time: str @typing.type_check_only -class LogMetric(typing_extensions.TypedDict, total=False): +class LogMetric(typing.TypedDict, total=False): bucketName: str bucketOptions: BucketOptions createTime: str @@ -481,10 +473,10 @@ class LogMetric(typing_extensions.TypedDict, total=False): resourceName: str updateTime: str valueExtractor: str - version: typing_extensions.Literal["V2", "V1"] + version: typing.Literal["V2", "V1"] @typing.type_check_only -class LogScope(typing_extensions.TypedDict, total=False): +class LogScope(typing.TypedDict, total=False): createTime: str description: str name: str @@ -492,7 +484,7 @@ class LogScope(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class LogSink(typing_extensions.TypedDict, total=False): +class LogSink(typing.TypedDict, total=False): bigqueryOptions: BigQueryOptions createTime: str description: str @@ -503,21 +495,19 @@ class LogSink(typing_extensions.TypedDict, total=False): includeChildren: bool interceptChildren: bool name: str - outputVersionFormat: typing_extensions.Literal[ - "VERSION_FORMAT_UNSPECIFIED", "V2", "V1" - ] + outputVersionFormat: typing.Literal["VERSION_FORMAT_UNSPECIFIED", "V2", "V1"] resourceName: str updateTime: str writerIdentity: str @typing.type_check_only -class LogSplit(typing_extensions.TypedDict, total=False): +class LogSplit(typing.TypedDict, total=False): index: int totalSplits: int uid: str @typing.type_check_only -class LogView(typing_extensions.TypedDict, total=False): +class LogView(typing.TypedDict, total=False): createTime: str description: str filter: str @@ -525,18 +515,18 @@ class LogView(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class LoggingQuery(typing_extensions.TypedDict, total=False): +class LoggingQuery(typing.TypedDict, total=False): filter: str summaryFieldEnd: int summaryFieldStart: int summaryFields: _list[SummaryField] @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -547,14 +537,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -565,9 +555,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -579,7 +569,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -588,16 +578,16 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MonitoredResource(typing_extensions.TypedDict, total=False): +class MonitoredResource(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -611,12 +601,12 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class MonitoredResourceMetadata(typing_extensions.TypedDict, total=False): +class MonitoredResourceMetadata(typing.TypedDict, total=False): systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -624,22 +614,22 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OpsAnalyticsQuery(typing_extensions.TypedDict, total=False): +class OpsAnalyticsQuery(typing.TypedDict, total=False): queryBuilder: QueryBuilderConfig sqlQueryText: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProjectedField(typing_extensions.TypedDict, total=False): +class ProjectedField(typing.TypedDict, total=False): alias: str cast: str field: str - operation: typing_extensions.Literal[ + operation: typing.Literal[ "FIELD_OPERATION_UNSPECIFIED", "NO_SETTING", "GROUP_BY", "AGGREGATE" ] regexExtraction: str @@ -648,7 +638,7 @@ class ProjectedField(typing_extensions.TypedDict, total=False): virtualField: VirtualField @typing.type_check_only -class QueryBuilderConfig(typing_extensions.TypedDict, total=False): +class QueryBuilderConfig(typing.TypedDict, total=False): fieldSources: _list[FieldSource] filter: FilterPredicate limit: str @@ -657,14 +647,14 @@ class QueryBuilderConfig(typing_extensions.TypedDict, total=False): searchTerm: str @typing.type_check_only -class RecentQuery(typing_extensions.TypedDict, total=False): +class RecentQuery(typing.TypedDict, total=False): lastRunTime: str loggingQuery: LoggingQuery name: str opsAnalyticsQuery: OpsAnalyticsQuery @typing.type_check_only -class RequestLog(typing_extensions.TypedDict, total=False): +class RequestLog(typing.TypedDict, total=False): appEngineRelease: str appId: str cost: float @@ -701,7 +691,7 @@ class RequestLog(typing_extensions.TypedDict, total=False): wasLoadingRequest: bool @typing.type_check_only -class SavedQuery(typing_extensions.TypedDict, total=False): +class SavedQuery(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -709,15 +699,15 @@ class SavedQuery(typing_extensions.TypedDict, total=False): name: str opsAnalyticsQuery: OpsAnalyticsQuery updateTime: str - visibility: typing_extensions.Literal["VISIBILITY_UNSPECIFIED", "PRIVATE", "SHARED"] + visibility: typing.Literal["VISIBILITY_UNSPECIFIED", "PRIVATE", "SHARED"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): defaultSinkConfig: DefaultSinkConfig disableDefaultSink: bool kmsKeyName: str @@ -727,9 +717,9 @@ class Settings(typing_extensions.TypedDict, total=False): storageLocation: str @typing.type_check_only -class SortOrderParameter(typing_extensions.TypedDict, total=False): +class SortOrderParameter(typing.TypedDict, total=False): fieldSource: FieldSource - sortOrderDirection: typing_extensions.Literal[ + sortOrderDirection: typing.Literal[ "SORT_ORDER_UNSPECIFIED", "SORT_ORDER_NONE", "SORT_ORDER_ASCENDING", @@ -737,70 +727,66 @@ class SortOrderParameter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SourceLocation(typing_extensions.TypedDict, total=False): +class SourceLocation(typing.TypedDict, total=False): file: str functionName: str line: str @typing.type_check_only -class SourceReference(typing_extensions.TypedDict, total=False): +class SourceReference(typing.TypedDict, total=False): repository: str revisionId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SummaryField(typing_extensions.TypedDict, total=False): +class SummaryField(typing.TypedDict, total=False): field: str @typing.type_check_only -class SuppressionInfo(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ - "REASON_UNSPECIFIED", "RATE_LIMIT", "NOT_CONSUMED" - ] +class SuppressionInfo(typing.TypedDict, total=False): + reason: typing.Literal["REASON_UNSPECIFIED", "RATE_LIMIT", "NOT_CONSUMED"] suppressedCount: int @typing.type_check_only -class TailLogEntriesRequest(typing_extensions.TypedDict, total=False): +class TailLogEntriesRequest(typing.TypedDict, total=False): bufferWindow: str filter: str resourceNames: _list[str] @typing.type_check_only -class TailLogEntriesResponse(typing_extensions.TypedDict, total=False): +class TailLogEntriesResponse(typing.TypedDict, total=False): entries: _list[LogEntry] suppressionInfo: _list[SuppressionInfo] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UndeleteBucketRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteBucketRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateBucketRequest(typing_extensions.TypedDict, total=False): +class UpdateBucketRequest(typing.TypedDict, total=False): bucket: LogBucket name: str updateMask: str @typing.type_check_only -class VirtualField(typing_extensions.TypedDict, total=False): +class VirtualField(typing.TypedDict, total=False): underlyingFieldSources: _list[FieldSource] - virtualFieldType: typing_extensions.Literal[ - "VIRTUAL_FIELD_TYPE_UNSPECIFIED", "COALESCE" - ] + virtualFieldType: typing.Literal["VIRTUAL_FIELD_TYPE_UNSPECIFIED", "COALESCE"] @typing.type_check_only -class WriteLogEntriesRequest(typing_extensions.TypedDict, total=False): +class WriteLogEntriesRequest(typing.TypedDict, total=False): dryRun: bool entries: _list[LogEntry] labels: dict[str, typing.Any] @@ -809,4 +795,4 @@ class WriteLogEntriesRequest(typing_extensions.TypedDict, total=False): resource: MonitoredResource @typing.type_check_only -class WriteLogEntriesResponse(typing_extensions.TypedDict, total=False): ... +class WriteLogEntriesResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/looker/v1/resources.pyi b/googleapiclient-stubs/_apis/looker/v1/resources.pyi index 637d86b09..7f1de3d8c 100644 --- a/googleapiclient-stubs/_apis/looker/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi index a0bdd0398..37b41b1d7 100644 --- a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdminSettings(typing_extensions.TypedDict, total=False): +class AdminSettings(typing.TypedDict, total=False): allowedEmailDomains: _list[str] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ControlledEgressConfig(typing_extensions.TypedDict, total=False): +class ControlledEgressConfig(typing.TypedDict, total=False): egressFqdns: _list[str] marketplaceEnabled: bool webProxyIps: _list[str] @typing.type_check_only -class CustomDomain(typing_extensions.TypedDict, total=False): +class CustomDomain(typing.TypedDict, total=False): domain: str - state: typing_extensions.Literal[ + state: typing.Literal[ "CUSTOM_DOMAIN_STATE_UNSPECIFIED", "UNVERIFIED", "VERIFIED", @@ -31,75 +29,72 @@ class CustomDomain(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str kmsKeyNameVersion: str - kmsKeyState: typing_extensions.Literal[ - "KMS_KEY_STATE_UNSPECIFIED", "VALID", "REVOKED" - ] + kmsKeyState: typing.Literal["KMS_KEY_STATE_UNSPECIFIED", "VALID", "REVOKED"] @typing.type_check_only -class ExportEncryptionConfig(typing_extensions.TypedDict, total=False): +class ExportEncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class ExportInstanceRequest(typing_extensions.TypedDict, total=False): +class ExportInstanceRequest(typing.TypedDict, total=False): encryptionConfig: ExportEncryptionConfig gcsUri: str @typing.type_check_only -class ExportMetadata(typing_extensions.TypedDict, total=False): +class ExportMetadata(typing.TypedDict, total=False): + esaSourceDatasetId: str exportEncryptionKey: ExportMetadataEncryptionKey filePaths: _list[str] lookerEncryptionKey: str lookerInstance: str lookerPlatformEdition: str lookerVersion: str - source: typing_extensions.Literal[ - "SOURCE_UNSPECIFIED", "LOOKER_CORE", "LOOKER_ORIGINAL" - ] + source: typing.Literal["SOURCE_UNSPECIFIED", "LOOKER_CORE", "LOOKER_ORIGINAL"] @typing.type_check_only -class ExportMetadataEncryptionKey(typing_extensions.TypedDict, total=False): +class ExportMetadataEncryptionKey(typing.TypedDict, total=False): cmek: str version: str @typing.type_check_only -class ImportInstanceRequest(typing_extensions.TypedDict, total=False): +class ImportInstanceRequest(typing.TypedDict, total=False): gcsUri: str @typing.type_check_only -class IngressIpAllowlistConfig(typing_extensions.TypedDict, total=False): +class IngressIpAllowlistConfig(typing.TypedDict, total=False): allowlistRules: _list[IngressIpAllowlistRule] enabled: bool googleServicesEnabled: bool @typing.type_check_only -class IngressIpAllowlistRule(typing_extensions.TypedDict, total=False): +class IngressIpAllowlistRule(typing.TypedDict, total=False): description: str ipRange: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): acceleratedSecurityPatchEnabled: bool adminSettings: AdminSettings catalogIntegrationOptOut: bool - classType: typing_extensions.Literal["CLASS_TYPE_UNSPECIFIED", "R1", "P1"] + classType: typing.Literal["CLASS_TYPE_UNSPECIFIED", "R1", "P1"] consumerNetwork: str controlledEgressConfig: ControlledEgressConfig controlledEgressEnabled: bool @@ -122,7 +117,7 @@ class Instance(typing_extensions.TypedDict, total=False): name: str oauthConfig: OAuthConfig periodicExportConfig: PeriodicExportConfig - platformEdition: typing_extensions.Literal[ + platformEdition: typing.Literal[ "PLATFORM_EDITION_UNSPECIFIED", "LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", @@ -140,19 +135,19 @@ class Instance(typing_extensions.TypedDict, total=False): pscConfig: PscConfig pscEnabled: bool publicIpEnabled: bool - releaseChannel: typing_extensions.Literal[ + releaseChannel: typing.Literal[ "RELEASE_CHANNEL_UNSPECIFIED", "RAPID", "REGULAR", "STABLE" ] reservedRange: str satisfiesPzi: bool satisfiesPzs: bool - softDeleteReason: typing_extensions.Literal[ + softDeleteReason: typing.Literal[ "SOFT_DELETE_REASON_UNSPECIFIED", "BILLING_ACCOUNT_ISSUE", "TRIAL_EXPIRED", "CUSTOMER_REQUEST", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -168,40 +163,40 @@ class Instance(typing_extensions.TypedDict, total=False): userMetadata: UserMetadata @typing.type_check_only -class InstanceBackup(typing_extensions.TypedDict, total=False): +class InstanceBackup(typing.TypedDict, total=False): createTime: str encryptionConfig: EncryptionConfig expireTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED" ] @typing.type_check_only -class ListInstanceBackupsResponse(typing_extensions.TypedDict, total=False): +class ListInstanceBackupsResponse(typing.TypedDict, total=False): instanceBackups: _list[InstanceBackup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -209,13 +204,13 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class MaintenanceWindow(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -228,13 +223,13 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class OAuthConfig(typing_extensions.TypedDict, total=False): +class OAuthConfig(typing.TypedDict, total=False): clientId: str clientSecret: str sharedOauthClientEnabled: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -242,7 +237,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -252,27 +247,27 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PeriodicExportConfig(typing_extensions.TypedDict, total=False): +class PeriodicExportConfig(typing.TypedDict, total=False): gcsUri: str kmsKey: str startTime: TimeOfDay @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): allowedVpcs: _list[str] lookerServiceAttachmentUri: str serviceAttachments: _list[ServiceAttachment] @typing.type_check_only -class RestartInstanceRequest(typing_extensions.TypedDict, total=False): ... +class RestartInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): +class RestoreInstanceRequest(typing.TypedDict, total=False): backup: str @typing.type_check_only -class ServiceAttachment(typing_extensions.TypedDict, total=False): - connectionStatus: typing_extensions.Literal[ +class ServiceAttachment(typing.TypedDict, total=False): + connectionStatus: typing.Literal[ "UNKNOWN", "ACCEPTED", "PENDING", "REJECTED", "NEEDS_ATTENTION", "CLOSED" ] failureReason: str @@ -281,23 +276,23 @@ class ServiceAttachment(typing_extensions.TypedDict, total=False): targetServiceAttachmentUri: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class UndeleteInstanceRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UserMetadata(typing_extensions.TypedDict, total=False): +class UserMetadata(typing.TypedDict, total=False): additionalDeveloperUserCount: int additionalStandardUserCount: int additionalViewerUserCount: int diff --git a/googleapiclient-stubs/_apis/managedidentities/v1/resources.pyi b/googleapiclient-stubs/_apis/managedidentities/v1/resources.pyi index d474156ae..ce791b604 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi b/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi index c71723a86..0abfb5119 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi @@ -1,36 +1,34 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AttachTrustRequest(typing_extensions.TypedDict, total=False): +class AttachTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING" ] statusMessage: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ON_DEMAND", "SCHEDULED"] + type: typing.Literal["TYPE_UNSPECIFIED", "ON_DEMAND", "SCHEDULED"] updateTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Certificate(typing_extensions.TypedDict, total=False): +class Certificate(typing.TypedDict, total=False): expireTime: str issuingCertificate: Certificate subject: str @@ -38,41 +36,41 @@ class Certificate(typing_extensions.TypedDict, total=False): thumbprint: str @typing.type_check_only -class CheckMigrationPermissionRequest(typing_extensions.TypedDict, total=False): ... +class CheckMigrationPermissionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckMigrationPermissionResponse(typing_extensions.TypedDict, total=False): +class CheckMigrationPermissionResponse(typing.TypedDict, total=False): onpremDomains: _list[OnPremDomainSIDDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DISABLED", "ENABLED", "NEEDS_MAINTENANCE" ] @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class DetachTrustRequest(typing_extensions.TypedDict, total=False): +class DetachTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class DisableMigrationRequest(typing_extensions.TypedDict, total=False): ... +class DisableMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): admin: str auditLogsEnabled: bool authorizedNetworks: _list[str] @@ -82,7 +80,7 @@ class Domain(typing_extensions.TypedDict, total=False): locations: _list[str] name: str reservedIpRange: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -97,39 +95,37 @@ class Domain(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DomainJoinMachineRequest(typing_extensions.TypedDict, total=False): +class DomainJoinMachineRequest(typing.TypedDict, total=False): force: bool ouName: str vmIdToken: str @typing.type_check_only -class DomainJoinMachineResponse(typing_extensions.TypedDict, total=False): +class DomainJoinMachineResponse(typing.TypedDict, total=False): domainJoinBlob: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableMigrationRequest(typing_extensions.TypedDict, total=False): +class EnableMigrationRequest(typing.TypedDict, total=False): migratingDomains: _list[OnPremDomainDetails] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtendSchemaRequest(typing_extensions.TypedDict, total=False): +class ExtendSchemaRequest(typing.TypedDict, total=False): description: str fileContents: str gcsPath: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -138,9 +134,7 @@ class GoogleCloudManagedidentitiesV1OpMetadata( verb: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1alpha1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1alpha1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -149,9 +143,7 @@ class GoogleCloudManagedidentitiesV1alpha1OpMetadata( verb: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1beta1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1beta1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -161,7 +153,7 @@ class GoogleCloudManagedidentitiesV1beta1OpMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consumerDefinedName: str consumerProjectNumber: str @@ -182,7 +174,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( slmInstanceTemplate: str sloMetadata: GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -196,7 +188,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canReschedule: bool endTime: str @@ -206,7 +198,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclude: bool isRollback: bool @@ -214,7 +206,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str nodeId: str @@ -224,33 +216,33 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibilities: dict[str, typing.Any] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceType: str resourceUrl: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligible: bool reason: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nodes: _list[GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata] perSliEligibility: ( @@ -259,53 +251,51 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( tier: str @typing.type_check_only -class LDAPSSettings(typing_extensions.TypedDict, total=False): +class LDAPSSettings(typing.TypedDict, total=False): certificate: Certificate certificatePassword: str certificatePfx: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UPDATING", "ACTIVE", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UPDATING", "ACTIVE", "FAILED"] updateTime: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPeeringsResponse(typing_extensions.TypedDict, total=False): +class ListPeeringsResponse(typing.TypedDict, total=False): nextPageToken: str peerings: _list[Peering] unreachable: _list[str] @typing.type_check_only -class ListSqlIntegrationsResponse(typing_extensions.TypedDict, total=False): +class ListSqlIntegrationsResponse(typing.TypedDict, total=False): nextPageToken: str sqlIntegrations: _list[SqlIntegration] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -313,34 +303,34 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class OnPremDomainDetails(typing_extensions.TypedDict, total=False): +class OnPremDomainDetails(typing.TypedDict, total=False): disableSidFiltering: bool domainName: str @typing.type_check_only -class OnPremDomainSIDDetails(typing_extensions.TypedDict, total=False): +class OnPremDomainSIDDetails(typing.TypedDict, total=False): name: str - sidFilteringState: typing_extensions.Literal[ + sidFilteringState: typing.Literal[ "SID_FILTERING_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -348,7 +338,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -358,43 +348,43 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Peering(typing_extensions.TypedDict, total=False): +class Peering(typing.TypedDict, total=False): authorizedNetwork: str createTime: str domainResource: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CONNECTED", "DISCONNECTED", "DELETING" ] statusMessage: str updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ReconfigureTrustRequest(typing_extensions.TypedDict, total=False): +class ReconfigureTrustRequest(typing.TypedDict, total=False): targetDnsIpAddresses: _list[str] targetDomainName: str @typing.type_check_only -class ResetAdminPasswordRequest(typing_extensions.TypedDict, total=False): ... +class ResetAdminPasswordRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResetAdminPasswordResponse(typing_extensions.TypedDict, total=False): +class ResetAdminPasswordResponse(typing.TypedDict, total=False): password: str @typing.type_check_only -class RestoreDomainRequest(typing_extensions.TypedDict, total=False): +class RestoreDomainRequest(typing.TypedDict, total=False): backupId: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -408,46 +398,44 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class SqlIntegration(typing_extensions.TypedDict, total=False): +class SqlIntegration(typing.TypedDict, total=False): createTime: str name: str sqlInstance: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "DELETING", "READY" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "DELETING", "READY"] updateTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class Trust(typing_extensions.TypedDict, total=False): +class Trust(typing.TypedDict, total=False): createTime: str lastTrustHeartbeatTime: str selectiveAuthentication: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", @@ -458,25 +446,25 @@ class Trust(typing_extensions.TypedDict, total=False): stateDescription: str targetDnsIpAddresses: _list[str] targetDomainName: str - trustDirection: typing_extensions.Literal[ + trustDirection: typing.Literal[ "TRUST_DIRECTION_UNSPECIFIED", "INBOUND", "OUTBOUND", "BIDIRECTIONAL" ] trustHandshakeSecret: str - trustType: typing_extensions.Literal["TRUST_TYPE_UNSPECIFIED", "FOREST", "EXTERNAL"] + trustType: typing.Literal["TRUST_TYPE_UNSPECIFIED", "FOREST", "EXTERNAL"] updateTime: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class ValidateTrustRequest(typing_extensions.TypedDict, total=False): +class ValidateTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] diff --git a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi index 76379f8fd..053ff1a7c 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi index b545963e8..408ab0f97 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi @@ -1,39 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AttachTrustRequest(typing_extensions.TypedDict, total=False): +class AttachTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING" ] statusMessage: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "ON_DEMAND", "SCHEDULED", "SCHEMA_EXTENSION" ] updateTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Certificate(typing_extensions.TypedDict, total=False): +class Certificate(typing.TypedDict, total=False): expireTime: str issuingCertificate: Certificate subject: str @@ -41,41 +39,41 @@ class Certificate(typing_extensions.TypedDict, total=False): thumbprint: str @typing.type_check_only -class CheckMigrationPermissionRequest(typing_extensions.TypedDict, total=False): ... +class CheckMigrationPermissionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckMigrationPermissionResponse(typing_extensions.TypedDict, total=False): +class CheckMigrationPermissionResponse(typing.TypedDict, total=False): onpremDomains: _list[OnPremDomainSIDDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DISABLED", "ENABLED", "NEEDS_MAINTENANCE" ] @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class DetachTrustRequest(typing_extensions.TypedDict, total=False): +class DetachTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class DisableMigrationRequest(typing_extensions.TypedDict, total=False): ... +class DisableMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): auditLogsEnabled: bool authorizedNetworks: _list[str] createTime: str @@ -85,7 +83,7 @@ class Domain(typing_extensions.TypedDict, total=False): managedIdentitiesAdminName: str name: str reservedIpRange: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -100,40 +98,38 @@ class Domain(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DomainJoinMachineRequest(typing_extensions.TypedDict, total=False): +class DomainJoinMachineRequest(typing.TypedDict, total=False): force: bool ouName: str vmIdToken: str @typing.type_check_only -class DomainJoinMachineResponse(typing_extensions.TypedDict, total=False): +class DomainJoinMachineResponse(typing.TypedDict, total=False): domainJoinBlob: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableMigrationRequest(typing_extensions.TypedDict, total=False): +class EnableMigrationRequest(typing.TypedDict, total=False): enableDuration: str migratingDomains: _list[OnPremDomainDetails] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtendSchemaRequest(typing_extensions.TypedDict, total=False): +class ExtendSchemaRequest(typing.TypedDict, total=False): description: str fileContents: str gcsPath: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -142,9 +138,7 @@ class GoogleCloudManagedidentitiesV1OpMetadata( verb: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1alpha1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1alpha1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -153,9 +147,7 @@ class GoogleCloudManagedidentitiesV1alpha1OpMetadata( verb: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1beta1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1beta1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -165,7 +157,7 @@ class GoogleCloudManagedidentitiesV1beta1OpMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consumerDefinedName: str consumerProjectNumber: str @@ -186,7 +178,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( slmInstanceTemplate: str sloMetadata: GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -200,7 +192,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canReschedule: bool endTime: str @@ -210,7 +202,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclude: bool isRollback: bool @@ -218,7 +210,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str nodeId: str @@ -228,33 +220,33 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibilities: dict[str, typing.Any] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceType: str resourceUrl: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligible: bool reason: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nodes: _list[GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata] perSliEligibility: ( @@ -263,53 +255,51 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( tier: str @typing.type_check_only -class LDAPSSettings(typing_extensions.TypedDict, total=False): +class LDAPSSettings(typing.TypedDict, total=False): certificate: Certificate certificatePassword: str certificatePfx: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UPDATING", "ACTIVE", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UPDATING", "ACTIVE", "FAILED"] updateTime: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPeeringsResponse(typing_extensions.TypedDict, total=False): +class ListPeeringsResponse(typing.TypedDict, total=False): nextPageToken: str peerings: _list[Peering] unreachable: _list[str] @typing.type_check_only -class ListSQLIntegrationsResponse(typing_extensions.TypedDict, total=False): +class ListSQLIntegrationsResponse(typing.TypedDict, total=False): nextPageToken: str sqlIntegrations: _list[SQLIntegration] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -317,34 +307,34 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class OnPremDomainDetails(typing_extensions.TypedDict, total=False): +class OnPremDomainDetails(typing.TypedDict, total=False): disableSidFiltering: bool domainName: str @typing.type_check_only -class OnPremDomainSIDDetails(typing_extensions.TypedDict, total=False): +class OnPremDomainSIDDetails(typing.TypedDict, total=False): name: str - sidFilteringState: typing_extensions.Literal[ + sidFilteringState: typing.Literal[ "SID_FILTERING_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -352,7 +342,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -362,52 +352,50 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Peering(typing_extensions.TypedDict, total=False): +class Peering(typing.TypedDict, total=False): authorizedNetwork: str createTime: str domainResource: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CONNECTED", "DISCONNECTED", "DELETING" ] statusMessage: str updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ReconfigureTrustRequest(typing_extensions.TypedDict, total=False): +class ReconfigureTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class ResetAdminPasswordRequest(typing_extensions.TypedDict, total=False): ... +class ResetAdminPasswordRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResetAdminPasswordResponse(typing_extensions.TypedDict, total=False): +class ResetAdminPasswordResponse(typing.TypedDict, total=False): password: str @typing.type_check_only -class RestoreDomainRequest(typing_extensions.TypedDict, total=False): +class RestoreDomainRequest(typing.TypedDict, total=False): backupId: str @typing.type_check_only -class SQLIntegration(typing_extensions.TypedDict, total=False): +class SQLIntegration(typing.TypedDict, total=False): createTime: str name: str sqlInstance: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "DELETING", "READY" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "DELETING", "READY"] updateTime: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -421,36 +409,36 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class Trust(typing_extensions.TypedDict, total=False): +class Trust(typing.TypedDict, total=False): createTime: str lastKnownTrustConnectedHeartbeatTime: str selectiveAuthentication: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", @@ -461,25 +449,25 @@ class Trust(typing_extensions.TypedDict, total=False): stateDescription: str targetDnsIpAddresses: _list[str] targetDomainName: str - trustDirection: typing_extensions.Literal[ + trustDirection: typing.Literal[ "TRUST_DIRECTION_UNSPECIFIED", "INBOUND", "OUTBOUND", "BIDIRECTIONAL" ] trustHandshakeSecret: str - trustType: typing_extensions.Literal["TRUST_TYPE_UNSPECIFIED", "FOREST", "EXTERNAL"] + trustType: typing.Literal["TRUST_TYPE_UNSPECIFIED", "FOREST", "EXTERNAL"] updateTime: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class ValidateTrustRequest(typing_extensions.TypedDict, total=False): +class ValidateTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] diff --git a/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi index d474156ae..ce791b604 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi index d17eba6f2..e3fc402f4 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi @@ -1,39 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AttachTrustRequest(typing_extensions.TypedDict, total=False): +class AttachTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "DELETING" ] statusMessage: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "ON_DEMAND", "SCHEDULED", "SCHEMA_EXTENSION" ] updateTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Certificate(typing_extensions.TypedDict, total=False): +class Certificate(typing.TypedDict, total=False): expireTime: str issuingCertificate: Certificate subject: str @@ -41,41 +39,41 @@ class Certificate(typing_extensions.TypedDict, total=False): thumbprint: str @typing.type_check_only -class CheckMigrationPermissionRequest(typing_extensions.TypedDict, total=False): ... +class CheckMigrationPermissionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckMigrationPermissionResponse(typing_extensions.TypedDict, total=False): +class CheckMigrationPermissionResponse(typing.TypedDict, total=False): onpremDomains: _list[OnPremDomainSIDDetails] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "DISABLED", "ENABLED", "NEEDS_MAINTENANCE" ] @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class DetachTrustRequest(typing_extensions.TypedDict, total=False): +class DetachTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class DisableMigrationRequest(typing_extensions.TypedDict, total=False): ... +class DisableMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Domain(typing_extensions.TypedDict, total=False): +class Domain(typing.TypedDict, total=False): admin: str auditLogsEnabled: bool authorizedNetworks: _list[str] @@ -85,7 +83,7 @@ class Domain(typing_extensions.TypedDict, total=False): locations: _list[str] name: str reservedIpRange: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -100,40 +98,38 @@ class Domain(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DomainJoinMachineRequest(typing_extensions.TypedDict, total=False): +class DomainJoinMachineRequest(typing.TypedDict, total=False): force: bool ouName: str vmIdToken: str @typing.type_check_only -class DomainJoinMachineResponse(typing_extensions.TypedDict, total=False): +class DomainJoinMachineResponse(typing.TypedDict, total=False): domainJoinBlob: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableMigrationRequest(typing_extensions.TypedDict, total=False): +class EnableMigrationRequest(typing.TypedDict, total=False): enableDuration: str migratingDomains: _list[OnPremDomainDetails] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtendSchemaRequest(typing_extensions.TypedDict, total=False): +class ExtendSchemaRequest(typing.TypedDict, total=False): description: str fileContents: str gcsPath: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -142,9 +138,7 @@ class GoogleCloudManagedidentitiesV1OpMetadata( verb: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1alpha1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1alpha1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -153,9 +147,7 @@ class GoogleCloudManagedidentitiesV1alpha1OpMetadata( verb: str @typing.type_check_only -class GoogleCloudManagedidentitiesV1beta1OpMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudManagedidentitiesV1beta1OpMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -165,7 +157,7 @@ class GoogleCloudManagedidentitiesV1beta1OpMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consumerDefinedName: str consumerProjectNumber: str @@ -186,7 +178,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( slmInstanceTemplate: str sloMetadata: GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -200,7 +192,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canReschedule: bool endTime: str @@ -210,7 +202,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclude: bool isRollback: bool @@ -218,7 +210,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str nodeId: str @@ -228,33 +220,33 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibilities: dict[str, typing.Any] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceType: str resourceUrl: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligible: bool reason: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nodes: _list[GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata] perSliEligibility: ( @@ -263,53 +255,51 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( tier: str @typing.type_check_only -class LDAPSSettings(typing_extensions.TypedDict, total=False): +class LDAPSSettings(typing.TypedDict, total=False): certificate: Certificate certificatePassword: str certificatePfx: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UPDATING", "ACTIVE", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UPDATING", "ACTIVE", "FAILED"] updateTime: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDomainsResponse(typing_extensions.TypedDict, total=False): +class ListDomainsResponse(typing.TypedDict, total=False): domains: _list[Domain] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPeeringsResponse(typing_extensions.TypedDict, total=False): +class ListPeeringsResponse(typing.TypedDict, total=False): nextPageToken: str peerings: _list[Peering] unreachable: _list[str] @typing.type_check_only -class ListSqlIntegrationsResponse(typing_extensions.TypedDict, total=False): +class ListSqlIntegrationsResponse(typing.TypedDict, total=False): nextPageToken: str sqlIntegrations: _list[SqlIntegration] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -317,34 +307,34 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class OnPremDomainDetails(typing_extensions.TypedDict, total=False): +class OnPremDomainDetails(typing.TypedDict, total=False): disableSidFiltering: bool domainName: str @typing.type_check_only -class OnPremDomainSIDDetails(typing_extensions.TypedDict, total=False): +class OnPremDomainSIDDetails(typing.TypedDict, total=False): name: str - sidFilteringState: typing_extensions.Literal[ + sidFilteringState: typing.Literal[ "SID_FILTERING_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -352,7 +342,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -362,43 +352,43 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Peering(typing_extensions.TypedDict, total=False): +class Peering(typing.TypedDict, total=False): authorizedNetwork: str createTime: str domainResource: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "CONNECTED", "DISCONNECTED", "DELETING" ] statusMessage: str updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ReconfigureTrustRequest(typing_extensions.TypedDict, total=False): +class ReconfigureTrustRequest(typing.TypedDict, total=False): targetDnsIpAddresses: _list[str] targetDomainName: str @typing.type_check_only -class ResetAdminPasswordRequest(typing_extensions.TypedDict, total=False): ... +class ResetAdminPasswordRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResetAdminPasswordResponse(typing_extensions.TypedDict, total=False): +class ResetAdminPasswordResponse(typing.TypedDict, total=False): password: str @typing.type_check_only -class RestoreDomainRequest(typing_extensions.TypedDict, total=False): +class RestoreDomainRequest(typing.TypedDict, total=False): backupId: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -412,46 +402,44 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class SqlIntegration(typing_extensions.TypedDict, total=False): +class SqlIntegration(typing.TypedDict, total=False): createTime: str name: str sqlInstance: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "DELETING", "READY" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "DELETING", "READY"] updateTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class Trust(typing_extensions.TypedDict, total=False): +class Trust(typing.TypedDict, total=False): createTime: str lastTrustHeartbeatTime: str selectiveAuthentication: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", @@ -462,25 +450,25 @@ class Trust(typing_extensions.TypedDict, total=False): stateDescription: str targetDnsIpAddresses: _list[str] targetDomainName: str - trustDirection: typing_extensions.Literal[ + trustDirection: typing.Literal[ "TRUST_DIRECTION_UNSPECIFIED", "INBOUND", "OUTBOUND", "BIDIRECTIONAL" ] trustHandshakeSecret: str - trustType: typing_extensions.Literal["TRUST_TYPE_UNSPECIFIED", "FOREST", "EXTERNAL"] + trustType: typing.Literal["TRUST_TYPE_UNSPECIFIED", "FOREST", "EXTERNAL"] updateTime: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class ValidateTrustRequest(typing_extensions.TypedDict, total=False): +class ValidateTrustRequest(typing.TypedDict, total=False): trust: Trust @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi index 65ccb7326..aba866733 100644 --- a/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -78,7 +77,7 @@ class ManagedKafkaResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CONSUMER_GROUP_VIEW_UNSPECIFIED", "CONSUMER_GROUP_VIEW_BASIC", "CONSUMER_GROUP_VIEW_FULL", @@ -158,7 +157,7 @@ class ManagedKafkaResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CLUSTER_VIEW_UNSPECIFIED", "CLUSTER_VIEW_BASIC", "CLUSTER_VIEW_FULL", @@ -703,7 +702,7 @@ class ManagedKafkaResource(googleapiclient.discovery.Resource): self, *, parent: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "SCHEMA_REGISTRY_VIEW_UNSPECIFIED", "SCHEMA_REGISTRY_VIEW_BASIC", "SCHEMA_REGISTRY_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi index 0dbf6639d..b468ea4c2 100644 --- a/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi @@ -1,15 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): networkConfigs: _list[NetworkConfig] @typing.type_check_only -class Acl(typing_extensions.TypedDict, total=False): +class Acl(typing.TypedDict, total=False): aclEntries: _list[AclEntry] etag: str name: str @@ -18,51 +16,49 @@ class Acl(typing_extensions.TypedDict, total=False): resourceType: str @typing.type_check_only -class AclEntry(typing_extensions.TypedDict, total=False): +class AclEntry(typing.TypedDict, total=False): host: str operation: str permissionType: str principal: str @typing.type_check_only -class AddAclEntryResponse(typing_extensions.TypedDict, total=False): +class AddAclEntryResponse(typing.TypedDict, total=False): acl: Acl aclCreated: bool @typing.type_check_only -class BrokerDetails(typing_extensions.TypedDict, total=False): +class BrokerDetails(typing.TypedDict, total=False): brokerIndex: str nodeId: str rack: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CapacityConfig(typing_extensions.TypedDict, total=False): +class CapacityConfig(typing.TypedDict, total=False): memoryBytes: str vcpuCount: str @typing.type_check_only -class CertificateAuthorityServiceConfig(typing_extensions.TypedDict, total=False): +class CertificateAuthorityServiceConfig(typing.TypedDict, total=False): caPool: str @typing.type_check_only -class CheckCompatibilityRequest(typing_extensions.TypedDict, total=False): +class CheckCompatibilityRequest(typing.TypedDict, total=False): references: _list[SchemaReference] schema: str - schemaType: typing_extensions.Literal[ - "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" - ] + schemaType: typing.Literal["SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF"] verbose: bool @typing.type_check_only -class CheckCompatibilityResponse(typing_extensions.TypedDict, total=False): +class CheckCompatibilityResponse(typing.TypedDict, total=False): is_compatible: bool messages: _list[str] @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): brokerDetails: _list[BrokerDetails] capacityConfig: CapacityConfig createTime: str @@ -73,7 +69,7 @@ class Cluster(typing_extensions.TypedDict, total=False): rebalanceConfig: RebalanceConfig satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] tlsConfig: TlsConfig @@ -81,11 +77,11 @@ class Cluster(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ConnectAccessConfig(typing_extensions.TypedDict, total=False): +class ConnectAccessConfig(typing.TypedDict, total=False): networkConfigs: _list[ConnectNetworkConfig] @typing.type_check_only -class ConnectCluster(typing_extensions.TypedDict, total=False): +class ConnectCluster(typing.TypedDict, total=False): capacityConfig: CapacityConfig config: dict[str, typing.Any] createTime: str @@ -95,27 +91,27 @@ class ConnectCluster(typing_extensions.TypedDict, total=False): name: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "DETACHED" ] updateTime: str @typing.type_check_only -class ConnectGcpConfig(typing_extensions.TypedDict, total=False): +class ConnectGcpConfig(typing.TypedDict, total=False): accessConfig: ConnectAccessConfig secretPaths: _list[str] @typing.type_check_only -class ConnectNetworkConfig(typing_extensions.TypedDict, total=False): +class ConnectNetworkConfig(typing.TypedDict, total=False): additionalSubnets: _list[str] dnsDomainNames: _list[str] primarySubnet: str @typing.type_check_only -class Connector(typing_extensions.TypedDict, total=False): +class Connector(typing.TypedDict, total=False): configs: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "UNASSIGNED", "RUNNING", @@ -127,107 +123,105 @@ class Connector(typing_extensions.TypedDict, total=False): taskRestartPolicy: TaskRetryPolicy @typing.type_check_only -class ConsumerGroup(typing_extensions.TypedDict, total=False): +class ConsumerGroup(typing.TypedDict, total=False): name: str topics: dict[str, typing.Any] @typing.type_check_only -class ConsumerPartitionMetadata(typing_extensions.TypedDict, total=False): +class ConsumerPartitionMetadata(typing.TypedDict, total=False): metadata: str offset: str @typing.type_check_only -class ConsumerTopicMetadata(typing_extensions.TypedDict, total=False): +class ConsumerTopicMetadata(typing.TypedDict, total=False): partitions: dict[str, typing.Any] @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): name: str subjects: _list[str] @typing.type_check_only -class CreateSchemaRegistryRequest(typing_extensions.TypedDict, total=False): +class CreateSchemaRegistryRequest(typing.TypedDict, total=False): schemaRegistry: SchemaRegistry schemaRegistryId: str @typing.type_check_only -class CreateVersionRequest(typing_extensions.TypedDict, total=False): +class CreateVersionRequest(typing.TypedDict, total=False): id: int normalize: bool references: _list[SchemaReference] schema: str - schemaType: typing_extensions.Literal[ - "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" - ] + schemaType: typing.Literal["SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF"] version: int @typing.type_check_only -class CreateVersionResponse(typing_extensions.TypedDict, total=False): +class CreateVersionResponse(typing.TypedDict, total=False): id: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GcpConfig(typing_extensions.TypedDict, total=False): +class GcpConfig(typing.TypedDict, total=False): accessConfig: AccessConfig kmsKey: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class ListAclsResponse(typing_extensions.TypedDict, total=False): +class ListAclsResponse(typing.TypedDict, total=False): acls: _list[Acl] nextPageToken: str @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConnectClustersResponse(typing_extensions.TypedDict, total=False): +class ListConnectClustersResponse(typing.TypedDict, total=False): connectClusters: _list[ConnectCluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorsResponse(typing.TypedDict, total=False): connectors: _list[Connector] nextPageToken: str @typing.type_check_only -class ListConsumerGroupsResponse(typing_extensions.TypedDict, total=False): +class ListConsumerGroupsResponse(typing.TypedDict, total=False): consumerGroups: _list[ConsumerGroup] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSchemaRegistriesResponse(typing_extensions.TypedDict, total=False): +class ListSchemaRegistriesResponse(typing.TypedDict, total=False): schemaRegistries: _list[SchemaRegistry] @typing.type_check_only -class ListTopicsResponse(typing_extensions.TypedDict, total=False): +class ListTopicsResponse(typing.TypedDict, total=False): nextPageToken: str topics: _list[Topic] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -235,21 +229,19 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LookupVersionRequest(typing_extensions.TypedDict, total=False): +class LookupVersionRequest(typing.TypedDict, total=False): deleted: bool normalize: bool references: _list[SchemaReference] schema: str - schemaType: typing_extensions.Literal[ - "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" - ] + schemaType: typing.Literal["SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF"] @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): subnet: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -257,7 +249,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -267,46 +259,44 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseConnectorRequest(typing_extensions.TypedDict, total=False): ... +class PauseConnectorRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PauseConnectorResponse(typing_extensions.TypedDict, total=False): ... +class PauseConnectorResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RebalanceConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ +class RebalanceConfig(typing.TypedDict, total=False): + mode: typing.Literal[ "MODE_UNSPECIFIED", "NO_REBALANCE", "AUTO_REBALANCE_ON_SCALE_UP" ] @typing.type_check_only -class RemoveAclEntryResponse(typing_extensions.TypedDict, total=False): +class RemoveAclEntryResponse(typing.TypedDict, total=False): acl: Acl aclDeleted: bool @typing.type_check_only -class RestartConnectorRequest(typing_extensions.TypedDict, total=False): ... +class RestartConnectorRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RestartConnectorResponse(typing_extensions.TypedDict, total=False): ... +class RestartConnectorResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ResumeConnectorRequest(typing_extensions.TypedDict, total=False): ... +class ResumeConnectorRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResumeConnectorResponse(typing_extensions.TypedDict, total=False): ... +class ResumeConnectorResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): references: _list[SchemaReference] schema: str - schemaType: typing_extensions.Literal[ - "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" - ] + schemaType: typing.Literal["SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF"] @typing.type_check_only -class SchemaConfig(typing_extensions.TypedDict, total=False): +class SchemaConfig(typing.TypedDict, total=False): alias: str - compatibility: typing_extensions.Literal[ + compatibility: typing.Literal[ "NONE", "BACKWARD", "BACKWARD_TRANSITIVE", @@ -318,77 +308,75 @@ class SchemaConfig(typing_extensions.TypedDict, total=False): normalize: bool @typing.type_check_only -class SchemaMode(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["NONE", "READONLY", "READWRITE", "IMPORT"] +class SchemaMode(typing.TypedDict, total=False): + mode: typing.Literal["NONE", "READONLY", "READWRITE", "IMPORT"] @typing.type_check_only -class SchemaReference(typing_extensions.TypedDict, total=False): +class SchemaReference(typing.TypedDict, total=False): name: str subject: str version: int @typing.type_check_only -class SchemaRegistry(typing_extensions.TypedDict, total=False): +class SchemaRegistry(typing.TypedDict, total=False): contexts: _list[str] name: str @typing.type_check_only -class SchemaSubject(typing_extensions.TypedDict, total=False): +class SchemaSubject(typing.TypedDict, total=False): name: str versions: _list[str] @typing.type_check_only -class SchemaVersion(typing_extensions.TypedDict, total=False): +class SchemaVersion(typing.TypedDict, total=False): id: int references: _list[SchemaReference] schema: str - schemaType: typing_extensions.Literal[ - "SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF" - ] + schemaType: typing.Literal["SCHEMA_TYPE_UNSPECIFIED", "AVRO", "JSON", "PROTOBUF"] subject: str version: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopConnectorRequest(typing_extensions.TypedDict, total=False): ... +class StopConnectorRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopConnectorResponse(typing_extensions.TypedDict, total=False): ... +class StopConnectorResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class TaskRetryPolicy(typing_extensions.TypedDict, total=False): +class TaskRetryPolicy(typing.TypedDict, total=False): maximumBackoff: str minimumBackoff: str taskRetryDisabled: bool @typing.type_check_only -class TlsConfig(typing_extensions.TypedDict, total=False): +class TlsConfig(typing.TypedDict, total=False): sslPrincipalMappingRules: str trustConfig: TrustConfig @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): configs: dict[str, typing.Any] name: str partitionCount: int replicationFactor: int @typing.type_check_only -class TrustConfig(typing_extensions.TypedDict, total=False): +class TrustConfig(typing.TypedDict, total=False): casConfigs: _list[CertificateAuthorityServiceConfig] @typing.type_check_only -class UpdateOptions(typing_extensions.TypedDict, total=False): +class UpdateOptions(typing.TypedDict, total=False): allowBrokerDownscaleOnClusterUpscale: bool @typing.type_check_only -class UpdateSchemaConfigRequest(typing_extensions.TypedDict, total=False): - compatibility: typing_extensions.Literal[ +class UpdateSchemaConfigRequest(typing.TypedDict, total=False): + compatibility: typing.Literal[ "NONE", "BACKWARD", "BACKWARD_TRANSITIVE", @@ -400,5 +388,5 @@ class UpdateSchemaConfigRequest(typing_extensions.TypedDict, total=False): normalize: bool @typing.type_check_only -class UpdateSchemaModeRequest(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["NONE", "READONLY", "READWRITE", "IMPORT"] +class UpdateSchemaModeRequest(typing.TypedDict, total=False): + mode: typing.Literal["NONE", "READONLY", "READWRITE", "IMPORT"] diff --git a/googleapiclient-stubs/_apis/manufacturers/v1/resources.pyi b/googleapiclient-stubs/_apis/manufacturers/v1/resources.pyi index f9f642d85..a56dc9b89 100644 --- a/googleapiclient-stubs/_apis/manufacturers/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/manufacturers/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -59,11 +58,11 @@ class ManufacturerCenterResource(googleapiclient.discovery.Resource): *, parent: str, name: str, - include: typing_extensions.Literal[ + include: typing.Literal[ "UNKNOWN", "ATTRIBUTES", "ISSUES", "DESTINATION_STATUSES" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "UNKNOWN", "ATTRIBUTES", "ISSUES", "DESTINATION_STATUSES" ] ] @@ -74,11 +73,11 @@ class ManufacturerCenterResource(googleapiclient.discovery.Resource): self, *, parent: str, - include: typing_extensions.Literal[ + include: typing.Literal[ "UNKNOWN", "ATTRIBUTES", "ISSUES", "DESTINATION_STATUSES" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "UNKNOWN", "ATTRIBUTES", "ISSUES", "DESTINATION_STATUSES" ] ] diff --git a/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi b/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi index 86664037c..1db30b038 100644 --- a/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/manufacturers/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): additionalImageLink: _list[Image] ageGroup: str brand: str @@ -50,12 +48,12 @@ class Attributes(typing_extensions.TypedDict, total=False): virtualModelLink: str @typing.type_check_only -class Capacity(typing_extensions.TypedDict, total=False): +class Capacity(typing.TypedDict, total=False): unit: str value: str @typing.type_check_only -class Certification(typing_extensions.TypedDict, total=False): +class Certification(typing.TypedDict, total=False): authority: str code: str link: str @@ -65,36 +63,34 @@ class Certification(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Count(typing_extensions.TypedDict, total=False): +class Count(typing.TypedDict, total=False): unit: str value: str @typing.type_check_only -class DestinationStatus(typing_extensions.TypedDict, total=False): +class DestinationStatus(typing.TypedDict, total=False): approvedCountries: _list[str] destination: str disapprovedCountries: _list[str] pendingCountries: _list[str] - status: typing_extensions.Literal["UNKNOWN", "ACTIVE", "PENDING", "DISAPPROVED"] + status: typing.Literal["UNKNOWN", "ACTIVE", "PENDING", "DISAPPROVED"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FeatureDescription(typing_extensions.TypedDict, total=False): +class FeatureDescription(typing.TypedDict, total=False): headline: str image: Image text: str @typing.type_check_only -class FloatUnit(typing_extensions.TypedDict, total=False): +class FloatUnit(typing.TypedDict, total=False): amount: float unit: str @typing.type_check_only -class GoogleShoppingManufacturersV1ProductCertification( - typing_extensions.TypedDict, total=False -): +class GoogleShoppingManufacturersV1ProductCertification(typing.TypedDict, total=False): authority: str code: str link: str @@ -104,7 +100,7 @@ class GoogleShoppingManufacturersV1ProductCertification( value: str @typing.type_check_only -class Grocery(typing_extensions.TypedDict, total=False): +class Grocery(typing.TypedDict, total=False): activeIngredients: str alcoholByVolume: float allergens: str @@ -116,9 +112,9 @@ class Grocery(typing_extensions.TypedDict, total=False): storageInstructions: str @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): imageUrl: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "PENDING_PROCESSING", "PENDING_CRAWL", @@ -133,36 +129,34 @@ class Image(typing_extensions.TypedDict, total=False): "HOSTLOADED", "HTTP_404", ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "CRAWLED", "UPLOADED"] + type: typing.Literal["TYPE_UNSPECIFIED", "CRAWLED", "UPLOADED"] @typing.type_check_only -class Issue(typing_extensions.TypedDict, total=False): +class Issue(typing.TypedDict, total=False): applicableCountries: _list[str] attribute: str description: str destination: str - resolution: typing_extensions.Literal[ + resolution: typing.Literal[ "RESOLUTION_UNSPECIFIED", "USER_ACTION", "PENDING_PROCESSING" ] - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] timestamp: str title: str type: str @typing.type_check_only -class ListProductCertificationsResponse(typing_extensions.TypedDict, total=False): +class ListProductCertificationsResponse(typing.TypedDict, total=False): nextPageToken: str productCertifications: _list[ProductCertification] @typing.type_check_only -class ListProductsResponse(typing_extensions.TypedDict, total=False): +class ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] @typing.type_check_only -class Nutrition(typing_extensions.TypedDict, total=False): +class Nutrition(typing.TypedDict, total=False): addedSugars: FloatUnit addedSugarsDailyPercentage: float calcium: FloatUnit @@ -208,12 +202,12 @@ class Nutrition(typing_extensions.TypedDict, total=False): voluntaryNutritionFact: _list[VoluntaryNutritionFact] @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amount: str currency: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): attributes: Attributes contentLanguage: str destinationStatuses: _list[DestinationStatus] @@ -225,7 +219,7 @@ class Product(typing_extensions.TypedDict, total=False): targetCountry: str @typing.type_check_only -class ProductCertification(typing_extensions.TypedDict, total=False): +class ProductCertification(typing.TypedDict, total=False): brand: str certification: _list[Certification] countryCode: _list[str] @@ -238,13 +232,13 @@ class ProductCertification(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ProductDetail(typing_extensions.TypedDict, total=False): +class ProductDetail(typing.TypedDict, total=False): attributeName: str attributeValue: str sectionName: str @typing.type_check_only -class VoluntaryNutritionFact(typing_extensions.TypedDict, total=False): +class VoluntaryNutritionFact(typing.TypedDict, total=False): dailyPercentage: float name: str value: FloatUnit diff --git a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi index 897885fa6..b02587fac 100644 --- a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi index bf91756a1..34f1dbb97 100644 --- a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnalyticsAccountLink(typing_extensions.TypedDict, total=False): +class AnalyticsAccountLink(typing.TypedDict, total=False): analyticsAccount: str displayName: str - linkVerificationState: typing_extensions.Literal[ + linkVerificationState: typing.Literal[ "LINK_VERIFICATION_STATE_UNSPECIFIED", "LINK_VERIFICATION_STATE_VERIFIED", "LINK_VERIFICATION_STATE_NOT_VERIFIED", @@ -16,69 +14,69 @@ class AnalyticsAccountLink(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class BillInfo(typing_extensions.TypedDict, total=False): +class BillInfo(typing.TypedDict, total=False): baseFee: Money eventFee: Money priceProtectionCredit: Money total: Money @typing.type_check_only -class ClientData(typing_extensions.TypedDict, total=False): +class ClientData(typing.TypedDict, total=False): endDate: Date organization: Organization startDate: Date @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FindSalesPartnerManagedClientsRequest(typing_extensions.TypedDict, total=False): +class FindSalesPartnerManagedClientsRequest(typing.TypedDict, total=False): isActive: bool @typing.type_check_only -class FindSalesPartnerManagedClientsResponse(typing_extensions.TypedDict, total=False): +class FindSalesPartnerManagedClientsResponse(typing.TypedDict, total=False): clientData: _list[ClientData] @typing.type_check_only -class ListAnalyticsAccountLinksResponse(typing_extensions.TypedDict, total=False): +class ListAnalyticsAccountLinksResponse(typing.TypedDict, total=False): analyticsAccountLinks: _list[AnalyticsAccountLink] nextPageToken: str @typing.type_check_only -class ListOrganizationsResponse(typing_extensions.TypedDict, total=False): +class ListOrganizationsResponse(typing.TypedDict, total=False): nextPageToken: str organizations: _list[Organization] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class Organization(typing_extensions.TypedDict, total=False): +class Organization(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class PropertyUsage(typing_extensions.TypedDict, total=False): +class PropertyUsage(typing.TypedDict, total=False): accountId: str billableEventCount: str displayName: str property: str - propertyType: typing_extensions.Literal[ + propertyType: typing.Literal[ "ANALYTICS_PROPERTY_TYPE_UNSPECIFIED", "ANALYTICS_PROPERTY_TYPE_ORDINARY", "ANALYTICS_PROPERTY_TYPE_SUBPROPERTY", "ANALYTICS_PROPERTY_TYPE_ROLLUP", ] - serviceLevel: typing_extensions.Literal[ + serviceLevel: typing.Literal[ "ANALYTICS_SERVICE_LEVEL_UNSPECIFIED", "ANALYTICS_SERVICE_LEVEL_STANDARD", "ANALYTICS_SERVICE_LEVEL_360", @@ -86,22 +84,22 @@ class PropertyUsage(typing_extensions.TypedDict, total=False): totalEventCount: str @typing.type_check_only -class ReportPropertyUsageRequest(typing_extensions.TypedDict, total=False): +class ReportPropertyUsageRequest(typing.TypedDict, total=False): month: str @typing.type_check_only -class ReportPropertyUsageResponse(typing_extensions.TypedDict, total=False): +class ReportPropertyUsageResponse(typing.TypedDict, total=False): billInfo: BillInfo propertyUsages: _list[PropertyUsage] @typing.type_check_only -class SetPropertyServiceLevelRequest(typing_extensions.TypedDict, total=False): +class SetPropertyServiceLevelRequest(typing.TypedDict, total=False): analyticsProperty: str - serviceLevel: typing_extensions.Literal[ + serviceLevel: typing.Literal[ "ANALYTICS_SERVICE_LEVEL_UNSPECIFIED", "ANALYTICS_SERVICE_LEVEL_STANDARD", "ANALYTICS_SERVICE_LEVEL_360", ] @typing.type_check_only -class SetPropertyServiceLevelResponse(typing_extensions.TypedDict, total=False): ... +class SetPropertyServiceLevelResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/meet/v2/resources.pyi b/googleapiclient-stubs/_apis/meet/v2/resources.pyi index 25d79c9fb..b8a516fe0 100644 --- a/googleapiclient-stubs/_apis/meet/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/meet/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/meet/v2/schemas.pyi b/googleapiclient-stubs/_apis/meet/v2/schemas.pyi index 464483aae..4ab591afc 100644 --- a/googleapiclient-stubs/_apis/meet/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/meet/v2/schemas.pyi @@ -1,25 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveConference(typing_extensions.TypedDict, total=False): +class ActiveConference(typing.TypedDict, total=False): conferenceRecord: str @typing.type_check_only -class AnonymousUser(typing_extensions.TypedDict, total=False): +class AnonymousUser(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class ArtifactConfig(typing_extensions.TypedDict, total=False): +class ArtifactConfig(typing.TypedDict, total=False): recordingConfig: RecordingConfig smartNotesConfig: SmartNotesConfig transcriptionConfig: TranscriptionConfig @typing.type_check_only -class ConferenceRecord(typing_extensions.TypedDict, total=False): +class ConferenceRecord(typing.TypedDict, total=False): endTime: str expireTime: str name: str @@ -27,79 +25,79 @@ class ConferenceRecord(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DocsDestination(typing_extensions.TypedDict, total=False): +class DocsDestination(typing.TypedDict, total=False): document: str exportUri: str @typing.type_check_only -class DriveDestination(typing_extensions.TypedDict, total=False): +class DriveDestination(typing.TypedDict, total=False): exportUri: str file: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndActiveConferenceRequest(typing_extensions.TypedDict, total=False): ... +class EndActiveConferenceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GatewaySipAccess(typing_extensions.TypedDict, total=False): +class GatewaySipAccess(typing.TypedDict, total=False): sipAccessCode: str uri: str @typing.type_check_only -class ListConferenceRecordsResponse(typing_extensions.TypedDict, total=False): +class ListConferenceRecordsResponse(typing.TypedDict, total=False): conferenceRecords: _list[ConferenceRecord] nextPageToken: str @typing.type_check_only -class ListParticipantSessionsResponse(typing_extensions.TypedDict, total=False): +class ListParticipantSessionsResponse(typing.TypedDict, total=False): nextPageToken: str participantSessions: _list[ParticipantSession] @typing.type_check_only -class ListParticipantsResponse(typing_extensions.TypedDict, total=False): +class ListParticipantsResponse(typing.TypedDict, total=False): nextPageToken: str participants: _list[Participant] totalSize: int @typing.type_check_only -class ListRecordingsResponse(typing_extensions.TypedDict, total=False): +class ListRecordingsResponse(typing.TypedDict, total=False): nextPageToken: str recordings: _list[Recording] @typing.type_check_only -class ListSmartNotesResponse(typing_extensions.TypedDict, total=False): +class ListSmartNotesResponse(typing.TypedDict, total=False): nextPageToken: str smartNotes: _list[SmartNote] @typing.type_check_only -class ListTranscriptEntriesResponse(typing_extensions.TypedDict, total=False): +class ListTranscriptEntriesResponse(typing.TypedDict, total=False): nextPageToken: str transcriptEntries: _list[TranscriptEntry] @typing.type_check_only -class ListTranscriptsResponse(typing_extensions.TypedDict, total=False): +class ListTranscriptsResponse(typing.TypedDict, total=False): nextPageToken: str transcripts: _list[Transcript] @typing.type_check_only -class ModerationRestrictions(typing_extensions.TypedDict, total=False): - chatRestriction: typing_extensions.Literal[ +class ModerationRestrictions(typing.TypedDict, total=False): + chatRestriction: typing.Literal[ "RESTRICTION_TYPE_UNSPECIFIED", "HOSTS_ONLY", "NO_RESTRICTION" ] - defaultJoinAsViewerType: typing_extensions.Literal[ + defaultJoinAsViewerType: typing.Literal[ "DEFAULT_JOIN_AS_VIEWER_TYPE_UNSPECIFIED", "ON", "OFF" ] - presentRestriction: typing_extensions.Literal[ + presentRestriction: typing.Literal[ "RESTRICTION_TYPE_UNSPECIFIED", "HOSTS_ONLY", "NO_RESTRICTION" ] - reactionRestriction: typing_extensions.Literal[ + reactionRestriction: typing.Literal[ "RESTRICTION_TYPE_UNSPECIFIED", "HOSTS_ONLY", "NO_RESTRICTION" ] @typing.type_check_only -class Participant(typing_extensions.TypedDict, total=False): +class Participant(typing.TypedDict, total=False): anonymousUser: AnonymousUser earliestStartTime: str latestEndTime: str @@ -108,61 +106,57 @@ class Participant(typing_extensions.TypedDict, total=False): signedinUser: SignedinUser @typing.type_check_only -class ParticipantSession(typing_extensions.TypedDict, total=False): +class ParticipantSession(typing.TypedDict, total=False): endTime: str name: str startTime: str @typing.type_check_only -class PhoneAccess(typing_extensions.TypedDict, total=False): +class PhoneAccess(typing.TypedDict, total=False): languageCode: str phoneNumber: str pin: str regionCode: str @typing.type_check_only -class PhoneUser(typing_extensions.TypedDict, total=False): +class PhoneUser(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class Recording(typing_extensions.TypedDict, total=False): +class Recording(typing.TypedDict, total=False): driveDestination: DriveDestination endTime: str name: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STARTED", "ENDED", "FILE_GENERATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STARTED", "ENDED", "FILE_GENERATED"] @typing.type_check_only -class RecordingConfig(typing_extensions.TypedDict, total=False): - autoRecordingGeneration: typing_extensions.Literal[ +class RecordingConfig(typing.TypedDict, total=False): + autoRecordingGeneration: typing.Literal[ "AUTO_GENERATION_TYPE_UNSPECIFIED", "ON", "OFF" ] @typing.type_check_only -class SignedinUser(typing_extensions.TypedDict, total=False): +class SignedinUser(typing.TypedDict, total=False): displayName: str user: str @typing.type_check_only -class SmartNote(typing_extensions.TypedDict, total=False): +class SmartNote(typing.TypedDict, total=False): docsDestination: DocsDestination endTime: str name: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STARTED", "ENDED", "FILE_GENERATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STARTED", "ENDED", "FILE_GENERATED"] @typing.type_check_only -class SmartNotesConfig(typing_extensions.TypedDict, total=False): - autoSmartNotesGeneration: typing_extensions.Literal[ +class SmartNotesConfig(typing.TypedDict, total=False): + autoSmartNotesGeneration: typing.Literal[ "AUTO_GENERATION_TYPE_UNSPECIFIED", "ON", "OFF" ] @typing.type_check_only -class Space(typing_extensions.TypedDict, total=False): +class Space(typing.TypedDict, total=False): activeConference: ActiveConference config: SpaceConfig gatewaySipAccess: _list[GatewaySipAccess] @@ -172,34 +166,32 @@ class Space(typing_extensions.TypedDict, total=False): phoneAccess: _list[PhoneAccess] @typing.type_check_only -class SpaceConfig(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal[ +class SpaceConfig(typing.TypedDict, total=False): + accessType: typing.Literal[ "ACCESS_TYPE_UNSPECIFIED", "OPEN", "TRUSTED", "RESTRICTED" ] artifactConfig: ArtifactConfig - attendanceReportGenerationType: typing_extensions.Literal[ + attendanceReportGenerationType: typing.Literal[ "ATTENDANCE_REPORT_GENERATION_TYPE_UNSPECIFIED", "GENERATE_REPORT", "DO_NOT_GENERATE", ] - entryPointAccess: typing_extensions.Literal[ + entryPointAccess: typing.Literal[ "ENTRY_POINT_ACCESS_UNSPECIFIED", "ALL", "CREATOR_APP_ONLY" ] - moderation: typing_extensions.Literal["MODERATION_UNSPECIFIED", "OFF", "ON"] + moderation: typing.Literal["MODERATION_UNSPECIFIED", "OFF", "ON"] moderationRestrictions: ModerationRestrictions @typing.type_check_only -class Transcript(typing_extensions.TypedDict, total=False): +class Transcript(typing.TypedDict, total=False): docsDestination: DocsDestination endTime: str name: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STARTED", "ENDED", "FILE_GENERATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STARTED", "ENDED", "FILE_GENERATED"] @typing.type_check_only -class TranscriptEntry(typing_extensions.TypedDict, total=False): +class TranscriptEntry(typing.TypedDict, total=False): endTime: str languageCode: str name: str @@ -208,7 +200,7 @@ class TranscriptEntry(typing_extensions.TypedDict, total=False): text: str @typing.type_check_only -class TranscriptionConfig(typing_extensions.TypedDict, total=False): - autoTranscriptionGeneration: typing_extensions.Literal[ +class TranscriptionConfig(typing.TypedDict, total=False): + autoTranscriptionGeneration: typing.Literal[ "AUTO_GENERATION_TYPE_UNSPECIFIED", "ON", "OFF" ] diff --git a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi index d50ba045d..0eef82869 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi index 68b727477..2de9a83f2 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi @@ -1,60 +1,58 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplyParametersRequest(typing_extensions.TypedDict, total=False): +class ApplyParametersRequest(typing.TypedDict, total=False): applyAll: bool nodeIds: _list[str] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GetTagsRequest(typing_extensions.TypedDict, total=False): +class GetTagsRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class GetTagsResponse(typing_extensions.TypedDict, total=False): +class GetTagsResponse(typing.TypedDict, total=False): etag: str name: str tags: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMemcacheV1LocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMemcacheV1LocationMetadata(typing.TypedDict, total=False): availableZones: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMemcacheV1MaintenancePolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudMemcacheV1MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str updateTime: str weeklyMaintenanceWindow: _list[WeeklyMaintenanceWindow] @typing.type_check_only -class GoogleCloudMemcacheV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMemcacheV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -64,19 +62,17 @@ class GoogleCloudMemcacheV1OperationMetadata(typing_extensions.TypedDict, total= verb: str @typing.type_check_only -class GoogleCloudMemcacheV1UpgradeInstanceRequest( - typing_extensions.TypedDict, total=False -): - memcacheVersion: typing_extensions.Literal[ +class GoogleCloudMemcacheV1UpgradeInstanceRequest(typing.TypedDict, total=False): + memcacheVersion: typing.Literal[ "MEMCACHE_VERSION_UNSPECIFIED", "MEMCACHE_1_5", "MEMCACHE_1_6_15" ] @typing.type_check_only -class GoogleCloudMemcacheV1ZoneMetadata(typing_extensions.TypedDict, total=False): ... +class GoogleCloudMemcacheV1ZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consumerDefinedName: str consumerProjectNumber: str @@ -97,7 +93,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( slmInstanceTemplate: str sloMetadata: GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -111,7 +107,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canReschedule: bool endTime: str @@ -121,7 +117,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclude: bool isRollback: bool @@ -129,7 +125,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str nodeId: str @@ -139,33 +135,33 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibilities: dict[str, typing.Any] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceType: str resourceUrl: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligible: bool reason: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nodes: _list[GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata] perSliEligibility: ( @@ -174,7 +170,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( tier: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): authorizedNetwork: str availableMaintenanceVersions: _list[str] createTime: str @@ -188,7 +184,7 @@ class Instance(typing_extensions.TypedDict, total=False): maintenanceVersion: str memcacheFullVersion: str memcacheNodes: _list[Node] - memcacheVersion: typing_extensions.Literal[ + memcacheVersion: typing.Literal[ "MEMCACHE_VERSION_UNSPECIFIED", "MEMCACHE_1_5", "MEMCACHE_1_6_15" ] name: str @@ -198,7 +194,7 @@ class Instance(typing_extensions.TypedDict, total=False): reservedIpRangeId: _list[str] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -211,29 +207,29 @@ class Instance(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class InstanceMessage(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "ZONE_DISTRIBUTION_UNBALANCED"] +class InstanceMessage(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "ZONE_DISTRIBUTION_UNBALANCED"] message: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -241,57 +237,57 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): availableZones: dict[str, typing.Any] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): endTime: str scheduleDeadlineTime: str startTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class MemcacheParameters(typing_extensions.TypedDict, total=False): +class MemcacheParameters(typing.TypedDict, total=False): id: str params: dict[str, typing.Any] @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): host: str memcacheFullVersion: str - memcacheVersion: typing_extensions.Literal[ + memcacheVersion: typing.Literal[ "MEMCACHE_VERSION_UNSPECIFIED", "MEMCACHE_1_5", "MEMCACHE_1_6_15" ] nodeId: str parameters: MemcacheParameters port: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] zone: str @typing.type_check_only -class NodeConfig(typing_extensions.TypedDict, total=False): +class NodeConfig(typing.TypedDict, total=False): cpuCount: int memorySizeMb: int @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -299,7 +295,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -309,8 +305,8 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class RescheduleMaintenanceRequest(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", @@ -319,8 +315,8 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): scheduleTime: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -334,51 +330,51 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class SetTagsRequest(typing_extensions.TypedDict, total=False): +class SetTagsRequest(typing.TypedDict, total=False): etag: str name: str requestId: str tags: dict[str, typing.Any] @typing.type_check_only -class SetTagsResponse(typing_extensions.TypedDict, total=False): +class SetTagsResponse(typing.TypedDict, total=False): etag: str name: str tags: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class UpdateParametersRequest(typing_extensions.TypedDict, total=False): +class UpdateParametersRequest(typing.TypedDict, total=False): parameters: MemcacheParameters updateMask: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] @typing.type_check_only -class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class WeeklyMaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -392,4 +388,4 @@ class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class ZoneMetadata(typing_extensions.TypedDict, total=False): ... +class ZoneMetadata(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi index a85b6587d..4947bae65 100644 --- a/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi index 34d7da556..bd509561c 100644 --- a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi @@ -1,71 +1,63 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApplyParametersRequest(typing_extensions.TypedDict, total=False): +class ApplyParametersRequest(typing.TypedDict, total=False): applyAll: bool nodeIds: _list[str] @typing.type_check_only -class ApplySoftwareUpdateRequest(typing_extensions.TypedDict, total=False): +class ApplySoftwareUpdateRequest(typing.TypedDict, total=False): applyAll: bool nodeIds: _list[str] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DailyCycle(typing_extensions.TypedDict, total=False): +class DailyCycle(typing.TypedDict, total=False): duration: str startTime: TimeOfDay @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GetTagsRequest(typing_extensions.TypedDict, total=False): +class GetTagsRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class GetTagsResponse(typing_extensions.TypedDict, total=False): +class GetTagsResponse(typing.TypedDict, total=False): etag: str name: str tags: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMemcacheV1beta2LocationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMemcacheV1beta2LocationMetadata(typing.TypedDict, total=False): availableZones: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMemcacheV1beta2MaintenancePolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMemcacheV1beta2MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str updateTime: str weeklyMaintenanceWindow: _list[WeeklyMaintenanceWindow] @typing.type_check_only -class GoogleCloudMemcacheV1beta2OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMemcacheV1beta2OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -75,21 +67,17 @@ class GoogleCloudMemcacheV1beta2OperationMetadata( verb: str @typing.type_check_only -class GoogleCloudMemcacheV1beta2UpgradeInstanceRequest( - typing_extensions.TypedDict, total=False -): - memcacheVersion: typing_extensions.Literal[ +class GoogleCloudMemcacheV1beta2UpgradeInstanceRequest(typing.TypedDict, total=False): + memcacheVersion: typing.Literal[ "MEMCACHE_VERSION_UNSPECIFIED", "MEMCACHE_1_5", "MEMCACHE_1_6_15" ] @typing.type_check_only -class GoogleCloudMemcacheV1beta2ZoneMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudMemcacheV1beta2ZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1Instance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consumerDefinedName: str consumerProjectNumber: str @@ -110,7 +98,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( slmInstanceTemplate: str sloMetadata: GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata softwareVersions: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -124,7 +112,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canReschedule: bool endTime: str @@ -134,7 +122,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclude: bool isRollback: bool @@ -142,7 +130,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): location: str nodeId: str @@ -152,33 +140,33 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibilities: dict[str, typing.Any] @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceType: str resourceUrl: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligible: bool reason: str @typing.type_check_only class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nodes: _list[GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata] perSliEligibility: ( @@ -187,7 +175,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( tier: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): authorizedNetwork: str availableMaintenanceVersions: _list[str] createTime: str @@ -201,7 +189,7 @@ class Instance(typing_extensions.TypedDict, total=False): maintenanceVersion: str memcacheFullVersion: str memcacheNodes: _list[Node] - memcacheVersion: typing_extensions.Literal[ + memcacheVersion: typing.Literal[ "MEMCACHE_VERSION_UNSPECIFIED", "MEMCACHE_1_5", "MEMCACHE_1_6_15" ] name: str @@ -211,7 +199,7 @@ class Instance(typing_extensions.TypedDict, total=False): reservedIpRangeId: _list[str] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -225,29 +213,29 @@ class Instance(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class InstanceMessage(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["CODE_UNSPECIFIED", "ZONE_DISTRIBUTION_UNBALANCED"] +class InstanceMessage(typing.TypedDict, total=False): + code: typing.Literal["CODE_UNSPECIFIED", "ZONE_DISTRIBUTION_UNBALANCED"] message: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[Instance] unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -255,58 +243,58 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): availableZones: dict[str, typing.Any] @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] + state: typing.Literal["STATE_UNSPECIFIED", "READY", "DELETING"] updatePolicy: UpdatePolicy updateTime: str @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): endTime: str scheduleDeadlineTime: str startTime: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): dailyCycle: DailyCycle weeklyCycle: WeeklyCycle @typing.type_check_only -class MemcacheParameters(typing_extensions.TypedDict, total=False): +class MemcacheParameters(typing.TypedDict, total=False): id: str params: dict[str, typing.Any] @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): host: str memcacheFullVersion: str - memcacheVersion: typing_extensions.Literal[ + memcacheVersion: typing.Literal[ "MEMCACHE_VERSION_UNSPECIFIED", "MEMCACHE_1_5", "MEMCACHE_1_6_15" ] nodeId: str parameters: MemcacheParameters port: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "UPDATING" ] updateAvailable: bool zone: str @typing.type_check_only -class NodeConfig(typing_extensions.TypedDict, total=False): +class NodeConfig(typing.TypedDict, total=False): cpuCount: int memorySizeMb: int @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -314,7 +302,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -324,8 +312,8 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class RescheduleMaintenanceRequest(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", @@ -334,8 +322,8 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): scheduleTime: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class Schedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -349,51 +337,51 @@ class Schedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class SetTagsRequest(typing_extensions.TypedDict, total=False): +class SetTagsRequest(typing.TypedDict, total=False): etag: str name: str requestId: str tags: dict[str, typing.Any] @typing.type_check_only -class SetTagsResponse(typing_extensions.TypedDict, total=False): +class SetTagsResponse(typing.TypedDict, total=False): etag: str name: str tags: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class UpdateParametersRequest(typing_extensions.TypedDict, total=False): +class UpdateParametersRequest(typing.TypedDict, total=False): parameters: MemcacheParameters updateMask: str @typing.type_check_only -class UpdatePolicy(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class UpdatePolicy(typing.TypedDict, total=False): + channel: typing.Literal[ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", "LATER", "WEEK1", "WEEK2", "WEEK5" ] denyMaintenancePeriods: _list[DenyMaintenancePeriod] window: MaintenanceWindow @typing.type_check_only -class WeeklyCycle(typing_extensions.TypedDict, total=False): +class WeeklyCycle(typing.TypedDict, total=False): schedule: _list[Schedule] @typing.type_check_only -class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class WeeklyMaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -407,4 +395,4 @@ class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class ZoneMetadata(typing_extensions.TypedDict, total=False): ... +class ZoneMetadata(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi index c5cb4bdca..84498b477 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -553,9 +552,7 @@ class MerchantResource(googleapiclient.discovery.Resource): def retrieveLatest( self, *, - kind: typing_extensions.Literal[ - "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" - ] + kind: typing.Literal["TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER"] | None = ..., regionCode: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi index 0afa2c695..592397251 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi @@ -1,28 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class About(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class About(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class AcceptTermsOfServiceResponse(typing_extensions.TypedDict, total=False): +class AcceptTermsOfServiceResponse(typing.TypedDict, total=False): termsOfServiceAgreementState: TermsOfServiceAgreementState @typing.type_check_only -class Accepted(typing_extensions.TypedDict, total=False): +class Accepted(typing.TypedDict, total=False): acceptedBy: str termsOfService: str validUntil: Date @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountId: str accountName: str adultContent: bool @@ -32,31 +30,29 @@ class Account(typing_extensions.TypedDict, total=False): timeZone: TimeZone @typing.type_check_only -class AccountAggregation(typing_extensions.TypedDict, total=False): ... +class AccountAggregation(typing.TypedDict, total=False): ... @typing.type_check_only -class AccountIssue(typing_extensions.TypedDict, total=False): +class AccountIssue(typing.TypedDict, total=False): detail: str documentationUri: str impactedDestinations: _list[ImpactedDestination] name: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION"] title: str @typing.type_check_only -class AccountManagement(typing_extensions.TypedDict, total=False): ... +class AccountManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class AccountRelationship(typing_extensions.TypedDict, total=False): +class AccountRelationship(typing.TypedDict, total=False): accountIdAlias: str name: str provider: str providerDisplayName: str @typing.type_check_only -class AccountService(typing_extensions.TypedDict, total=False): +class AccountService(typing.TypedDict, total=False): accountAggregation: AccountAggregation accountManagement: AccountManagement campaignsManagement: CampaignsManagement @@ -64,16 +60,14 @@ class AccountService(typing_extensions.TypedDict, total=False): externalAccountId: str handshake: Handshake localListingManagement: LocalListingManagement - mutability: typing_extensions.Literal[ - "MUTABILITY_UNSPECIFIED", "MUTABLE", "IMMUTABLE" - ] + mutability: typing.Literal["MUTABILITY_UNSPECIFIED", "MUTABLE", "IMMUTABLE"] name: str productsManagement: ProductsManagement provider: str providerDisplayName: str @typing.type_check_only -class AddAccountService(typing_extensions.TypedDict, total=False): +class AddAccountService(typing.TypedDict, total=False): accountAggregation: AccountAggregation accountManagement: AccountManagement campaignsManagement: CampaignsManagement @@ -83,13 +77,13 @@ class AddAccountService(typing_extensions.TypedDict, total=False): provider: str @typing.type_check_only -class AddUser(typing_extensions.TypedDict, total=False): +class AddUser(typing.TypedDict, total=False): user: User userId: str verificationMailSettings: VerificationMailSettings @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): administrativeArea: str city: str postalCode: str @@ -97,28 +91,28 @@ class Address(typing_extensions.TypedDict, total=False): streetAddress: str @typing.type_check_only -class ApproveAccountServiceRequest(typing_extensions.TypedDict, total=False): ... +class ApproveAccountServiceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AutofeedSettings(typing_extensions.TypedDict, total=False): +class AutofeedSettings(typing.TypedDict, total=False): eligible: bool enableProducts: bool name: str @typing.type_check_only -class AutomaticImageImprovements(typing_extensions.TypedDict, total=False): +class AutomaticImageImprovements(typing.TypedDict, total=False): accountImageImprovementsSettings: ImageImprovementsAccountLevelSettings effectiveAllowAutomaticImageImprovements: bool @typing.type_check_only -class AutomaticImprovements(typing_extensions.TypedDict, total=False): +class AutomaticImprovements(typing.TypedDict, total=False): imageImprovements: AutomaticImageImprovements itemUpdates: AutomaticItemUpdates name: str shippingImprovements: AutomaticShippingImprovements @typing.type_check_only -class AutomaticItemUpdates(typing_extensions.TypedDict, total=False): +class AutomaticItemUpdates(typing.TypedDict, total=False): accountItemUpdatesSettings: ItemUpdatesAccountLevelSettings effectiveAllowAvailabilityUpdates: bool effectiveAllowConditionUpdates: bool @@ -126,33 +120,33 @@ class AutomaticItemUpdates(typing_extensions.TypedDict, total=False): effectiveAllowStrictAvailabilityUpdates: bool @typing.type_check_only -class AutomaticShippingImprovements(typing_extensions.TypedDict, total=False): +class AutomaticShippingImprovements(typing.TypedDict, total=False): allowShippingImprovements: bool @typing.type_check_only -class BatchCreateRegionsRequest(typing_extensions.TypedDict, total=False): +class BatchCreateRegionsRequest(typing.TypedDict, total=False): requests: _list[CreateRegionRequest] @typing.type_check_only -class BatchCreateRegionsResponse(typing_extensions.TypedDict, total=False): +class BatchCreateRegionsResponse(typing.TypedDict, total=False): regions: _list[Region] @typing.type_check_only -class BatchDeleteRegionsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteRegionsRequest(typing.TypedDict, total=False): requests: _list[DeleteRegionRequest] @typing.type_check_only -class BatchUpdateRegionsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateRegionsRequest(typing.TypedDict, total=False): requests: _list[UpdateRegionRequest] @typing.type_check_only -class BatchUpdateRegionsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateRegionsResponse(typing.TypedDict, total=False): regions: _list[Region] @typing.type_check_only -class BusinessDayConfig(typing_extensions.TypedDict, total=False): +class BusinessDayConfig(typing.TypedDict, total=False): businessDays: _list[ - typing_extensions.Literal[ + typing.Literal[ "WEEKDAY_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -165,11 +159,11 @@ class BusinessDayConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BusinessIdentity(typing_extensions.TypedDict, total=False): +class BusinessIdentity(typing.TypedDict, total=False): blackOwned: IdentityAttribute latinoOwned: IdentityAttribute name: str - promotionsConsent: typing_extensions.Literal[ + promotionsConsent: typing.Literal[ "PROMOTIONS_CONSENT_UNSPECIFIED", "PROMOTIONS_CONSENT_GIVEN", "PROMOTIONS_CONSENT_DENIED", @@ -179,23 +173,23 @@ class BusinessIdentity(typing_extensions.TypedDict, total=False): womenOwned: IdentityAttribute @typing.type_check_only -class BusinessInfo(typing_extensions.TypedDict, total=False): +class BusinessInfo(typing.TypedDict, total=False): address: PostalAddress customerService: CustomerService koreanBusinessRegistrationNumber: str name: str phone: PhoneNumber - phoneVerificationState: typing_extensions.Literal[ + phoneVerificationState: typing.Literal[ "PHONE_VERIFICATION_STATE_UNSPECIFIED", "PHONE_VERIFICATION_STATE_VERIFIED", "PHONE_VERIFICATION_STATE_UNVERIFIED", ] @typing.type_check_only -class CampaignsManagement(typing_extensions.TypedDict, total=False): ... +class CampaignsManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class CarrierRate(typing_extensions.TypedDict, total=False): +class CarrierRate(typing.TypedDict, total=False): carrier: str carrierService: str flatAdjustment: Price @@ -204,16 +198,16 @@ class CarrierRate(typing_extensions.TypedDict, total=False): percentageAdjustment: str @typing.type_check_only -class CheckoutSettings(typing_extensions.TypedDict, total=False): - effectiveEnrollmentState: typing_extensions.Literal[ +class CheckoutSettings(typing.TypedDict, total=False): + effectiveEnrollmentState: typing.Literal[ "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPTED_OUT" ] - effectiveReviewState: typing_extensions.Literal[ + effectiveReviewState: typing.Literal[ "CHECKOUT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", "DISAPPROVED" ] effectiveUriSettings: UriSettings eligibleDestinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -229,65 +223,65 @@ class CheckoutSettings(typing_extensions.TypedDict, total=False): "LOCAL_CLOUD_RETAIL", ] ] - enrollmentState: typing_extensions.Literal[ + enrollmentState: typing.Literal[ "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPTED_OUT" ] name: str - reviewState: typing_extensions.Literal[ + reviewState: typing.Literal[ "CHECKOUT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", "DISAPPROVED" ] uriSettings: UriSettings @typing.type_check_only -class ClaimHomepageRequest(typing_extensions.TypedDict, total=False): +class ClaimHomepageRequest(typing.TypedDict, total=False): overwrite: bool @typing.type_check_only -class ComparisonShopping(typing_extensions.TypedDict, total=False): ... +class ComparisonShopping(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateAndConfigureAccountRequest(typing_extensions.TypedDict, total=False): +class CreateAndConfigureAccountRequest(typing.TypedDict, total=False): account: Account service: _list[AddAccountService] setAlias: _list[SetAliasForRelationship] user: _list[AddUser] @typing.type_check_only -class CreateRegionRequest(typing_extensions.TypedDict, total=False): +class CreateRegionRequest(typing.TypedDict, total=False): parent: str region: Region regionId: str @typing.type_check_only -class CustomerService(typing_extensions.TypedDict, total=False): +class CustomerService(typing.TypedDict, total=False): email: str phone: PhoneNumber uri: str @typing.type_check_only -class CutoffConfig(typing_extensions.TypedDict, total=False): +class CutoffConfig(typing.TypedDict, total=False): localCutoffTime: LocalCutoffTime noDeliveryPostCutoff: bool storeCloseOffsetHours: str @typing.type_check_only -class CutoffTime(typing_extensions.TypedDict, total=False): +class CutoffTime(typing.TypedDict, total=False): hour: int minute: int timeZone: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DeleteRegionRequest(typing_extensions.TypedDict, total=False): +class DeleteRegionRequest(typing.TypedDict, total=False): name: str @typing.type_check_only -class DeliveryTime(typing_extensions.TypedDict, total=False): +class DeliveryTime(typing.TypedDict, total=False): cutoffTime: CutoffTime handlingBusinessDayConfig: BusinessDayConfig maxHandlingDays: int @@ -299,61 +293,61 @@ class DeliveryTime(typing_extensions.TypedDict, total=False): warehouseBasedDeliveryTimes: _list[WarehouseBasedDeliveryTime] @typing.type_check_only -class DeveloperRegistration(typing_extensions.TypedDict, total=False): +class DeveloperRegistration(typing.TypedDict, total=False): gcpIds: _list[str] name: str @typing.type_check_only -class DisableProgramRequest(typing_extensions.TypedDict, total=False): ... +class DisableProgramRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Distance(typing_extensions.TypedDict, total=False): - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "MILES", "KILOMETERS"] +class Distance(typing.TypedDict, total=False): + unit: typing.Literal["UNIT_UNSPECIFIED", "MILES", "KILOMETERS"] value: str @typing.type_check_only -class EmailPreferences(typing_extensions.TypedDict, total=False): +class EmailPreferences(typing.TypedDict, total=False): name: str - newsAndTips: typing_extensions.Literal[ + newsAndTips: typing.Literal[ "OPT_IN_STATE_UNSPECIFIED", "OPTED_OUT", "OPTED_IN", "UNCONFIRMED" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableProgramRequest(typing_extensions.TypedDict, total=False): ... +class EnableProgramRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FindLfpProvidersResponse(typing_extensions.TypedDict, total=False): +class FindLfpProvidersResponse(typing.TypedDict, total=False): lfpProviders: _list[LfpProvider] nextPageToken: str @typing.type_check_only -class GbpAccount(typing_extensions.TypedDict, total=False): +class GbpAccount(typing.TypedDict, total=False): gbpAccountId: str gbpAccountName: str listingCount: str name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "USER", "BUSINESS_ACCOUNT"] + type: typing.Literal["TYPE_UNSPECIFIED", "USER", "BUSINESS_ACCOUNT"] @typing.type_check_only -class GeoTargetArea(typing_extensions.TypedDict, total=False): +class GeoTargetArea(typing.TypedDict, total=False): geotargetCriteriaIds: _list[str] @typing.type_check_only -class GetAccountForGcpRegistrationResponse(typing_extensions.TypedDict, total=False): +class GetAccountForGcpRegistrationResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class Handshake(typing_extensions.TypedDict, total=False): - actor: typing_extensions.Literal["ACTOR_UNSPECIFIED", "ACCOUNT", "OTHER_PARTY"] - approvalState: typing_extensions.Literal[ +class Handshake(typing.TypedDict, total=False): + actor: typing.Literal["ACTOR_UNSPECIFIED", "ACCOUNT", "OTHER_PARTY"] + approvalState: typing.Literal[ "APPROVAL_STATE_UNSPECIFIED", "PENDING", "WAITING", "ESTABLISHED", "REJECTED" ] @typing.type_check_only -class Headers(typing_extensions.TypedDict, total=False): +class Headers(typing.TypedDict, total=False): locations: _list[LocationIdSet] numberOfItems: _list[str] postalCodeGroupNames: _list[str] @@ -361,34 +355,32 @@ class Headers(typing_extensions.TypedDict, total=False): weights: _list[Weight] @typing.type_check_only -class Homepage(typing_extensions.TypedDict, total=False): +class Homepage(typing.TypedDict, total=False): claimed: bool name: str uri: str @typing.type_check_only -class IdentityAttribute(typing_extensions.TypedDict, total=False): - identityDeclaration: typing_extensions.Literal[ +class IdentityAttribute(typing.TypedDict, total=False): + identityDeclaration: typing.Literal[ "IDENTITY_DECLARATION_UNSPECIFIED", "SELF_IDENTIFIES_AS", "DOES_NOT_SELF_IDENTIFY_AS", ] @typing.type_check_only -class ImageImprovementsAccountLevelSettings(typing_extensions.TypedDict, total=False): +class ImageImprovementsAccountLevelSettings(typing.TypedDict, total=False): allowAutomaticImageImprovements: bool @typing.type_check_only -class Impact(typing_extensions.TypedDict, total=False): +class Impact(typing.TypedDict, total=False): regionCode: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION"] @typing.type_check_only -class ImpactedDestination(typing_extensions.TypedDict, total=False): +class ImpactedDestination(typing.TypedDict, total=False): impacts: _list[Impact] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -412,20 +404,20 @@ class ImpactedDestination(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InStock(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class InStock(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class InventoryVerification(typing_extensions.TypedDict, total=False): +class InventoryVerification(typing.TypedDict, total=False): contact: str contactEmail: str - contactState: typing_extensions.Literal[ + contactState: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTION_REQUIRED", "INACTIVE", @@ -435,134 +427,134 @@ class InventoryVerification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ItemUpdatesAccountLevelSettings(typing_extensions.TypedDict, total=False): +class ItemUpdatesAccountLevelSettings(typing.TypedDict, total=False): allowAvailabilityUpdates: bool allowConditionUpdates: bool allowPriceUpdates: bool allowStrictAvailabilityUpdates: bool @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LfpLink(typing_extensions.TypedDict, total=False): +class LfpLink(typing.TypedDict, total=False): externalAccountId: str lfpProvider: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] @typing.type_check_only -class LfpProvider(typing_extensions.TypedDict, total=False): +class LfpProvider(typing.TypedDict, total=False): displayName: str name: str regionCode: str @typing.type_check_only -class LinkGbpAccountRequest(typing_extensions.TypedDict, total=False): +class LinkGbpAccountRequest(typing.TypedDict, total=False): gbpEmail: str @typing.type_check_only -class LinkGbpAccountResponse(typing_extensions.TypedDict, total=False): +class LinkGbpAccountResponse(typing.TypedDict, total=False): response: Empty @typing.type_check_only -class LinkLfpProviderRequest(typing_extensions.TypedDict, total=False): +class LinkLfpProviderRequest(typing.TypedDict, total=False): externalAccountId: str @typing.type_check_only -class LinkLfpProviderResponse(typing_extensions.TypedDict, total=False): +class LinkLfpProviderResponse(typing.TypedDict, total=False): response: Empty @typing.type_check_only -class ListAccountIssuesResponse(typing_extensions.TypedDict, total=False): +class ListAccountIssuesResponse(typing.TypedDict, total=False): accountIssues: _list[AccountIssue] nextPageToken: str @typing.type_check_only -class ListAccountRelationshipsResponse(typing_extensions.TypedDict, total=False): +class ListAccountRelationshipsResponse(typing.TypedDict, total=False): accountRelationships: _list[AccountRelationship] nextPageToken: str @typing.type_check_only -class ListAccountServicesResponse(typing_extensions.TypedDict, total=False): +class ListAccountServicesResponse(typing.TypedDict, total=False): accountServices: _list[AccountService] nextPageToken: str @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListGbpAccountsResponse(typing_extensions.TypedDict, total=False): +class ListGbpAccountsResponse(typing.TypedDict, total=False): gbpAccounts: _list[GbpAccount] nextPageToken: str @typing.type_check_only -class ListOmnichannelSettingsResponse(typing_extensions.TypedDict, total=False): +class ListOmnichannelSettingsResponse(typing.TypedDict, total=False): nextPageToken: str omnichannelSettings: _list[OmnichannelSetting] @typing.type_check_only -class ListOnlineReturnPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListOnlineReturnPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str onlineReturnPolicies: _list[OnlineReturnPolicy] @typing.type_check_only -class ListProgramsResponse(typing_extensions.TypedDict, total=False): +class ListProgramsResponse(typing.TypedDict, total=False): nextPageToken: str programs: _list[Program] @typing.type_check_only -class ListRegionsResponse(typing_extensions.TypedDict, total=False): +class ListRegionsResponse(typing.TypedDict, total=False): nextPageToken: str regions: _list[Region] @typing.type_check_only -class ListSubAccountsResponse(typing_extensions.TypedDict, total=False): +class ListSubAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class LocalCutoffTime(typing_extensions.TypedDict, total=False): +class LocalCutoffTime(typing.TypedDict, total=False): hour: str minute: str @typing.type_check_only -class LocalListingManagement(typing_extensions.TypedDict, total=False): ... +class LocalListingManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class LocationIdSet(typing_extensions.TypedDict, total=False): +class LocationIdSet(typing.TypedDict, total=False): locationIds: _list[str] @typing.type_check_only -class LoyaltyProgram(typing_extensions.TypedDict, total=False): +class LoyaltyProgram(typing.TypedDict, total=False): loyaltyProgramTiers: _list[LoyaltyProgramTiers] programLabel: str @typing.type_check_only -class LoyaltyProgramTiers(typing_extensions.TypedDict, total=False): +class LoyaltyProgramTiers(typing.TypedDict, total=False): tierLabel: str @typing.type_check_only -class MinimumOrderValueTable(typing_extensions.TypedDict, total=False): +class MinimumOrderValueTable(typing.TypedDict, total=False): storeCodeSetWithMovs: _list[StoreCodeSetWithMov] @typing.type_check_only -class OmnichannelSetting(typing_extensions.TypedDict, total=False): +class OmnichannelSetting(typing.TypedDict, total=False): about: About inStock: InStock inventoryVerification: InventoryVerification lfpLink: LfpLink - lsfType: typing_extensions.Literal[ + lsfType: typing.Literal[ "LSF_TYPE_UNSPECIFIED", "GHLSF", "MHLSF_BASIC", "MHLSF_FULL" ] name: str @@ -571,35 +563,31 @@ class OmnichannelSetting(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class OnDisplayToOrder(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class OnDisplayToOrder(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class OnlineReturnPolicy(typing_extensions.TypedDict, total=False): +class OnlineReturnPolicy(typing.TypedDict, total=False): acceptDefectiveOnly: bool acceptExchange: bool countries: _list[str] - itemConditions: _list[ - typing_extensions.Literal["ITEM_CONDITION_UNSPECIFIED", "NEW", "USED"] - ] + itemConditions: _list[typing.Literal["ITEM_CONDITION_UNSPECIFIED", "NEW", "USED"]] label: str name: str policy: Policy processRefundDays: int restockingFee: RestockingFee - returnLabelSource: typing_extensions.Literal[ + returnLabelSource: typing.Literal[ "RETURN_LABEL_SOURCE_UNSPECIFIED", "DOWNLOAD_AND_PRINT", "IN_THE_PACKAGE", "CUSTOMER_RESPONSIBILITY", ] returnMethods: _list[ - typing_extensions.Literal[ - "RETURN_METHOD_UNSPECIFIED", "BY_MAIL", "IN_STORE", "AT_A_KIOSK" - ] + typing.Literal["RETURN_METHOD_UNSPECIFIED", "BY_MAIL", "IN_STORE", "AT_A_KIOSK"] ] returnPolicyId: str returnPolicyUri: str @@ -607,22 +595,22 @@ class OnlineReturnPolicy(typing_extensions.TypedDict, total=False): seasonalOverrides: _list[SeasonalOverride] @typing.type_check_only -class PhoneNumber(typing_extensions.TypedDict, total=False): +class PhoneNumber(typing.TypedDict, total=False): e164Number: str extension: str shortCode: ShortCode @typing.type_check_only -class Pickup(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class Pickup(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): days: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "NUMBER_OF_DAYS_AFTER_DELIVERY", "NO_RETURNS", @@ -630,7 +618,7 @@ class Policy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -644,26 +632,26 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class PostalCodeArea(typing_extensions.TypedDict, total=False): +class PostalCodeArea(typing.TypedDict, total=False): postalCodes: _list[PostalCodeRange] regionCode: str @typing.type_check_only -class PostalCodeRange(typing_extensions.TypedDict, total=False): +class PostalCodeRange(typing.TypedDict, total=False): begin: str end: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -687,48 +675,42 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ProductsManagement(typing_extensions.TypedDict, total=False): ... +class ProductsManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class Program(typing_extensions.TypedDict, total=False): +class Program(typing.TypedDict, total=False): activeRegionCodes: _list[str] documentationUri: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_ELIGIBLE", "ELIGIBLE", "ENABLED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NOT_ELIGIBLE", "ELIGIBLE", "ENABLED"] unmetRequirements: _list[Requirement] @typing.type_check_only -class ProposeAccountServiceRequest(typing_extensions.TypedDict, total=False): +class ProposeAccountServiceRequest(typing.TypedDict, total=False): accountService: AccountService provider: str @typing.type_check_only -class RadiusArea(typing_extensions.TypedDict, total=False): +class RadiusArea(typing.TypedDict, total=False): latLng: LatLng radius: float - radiusUnits: typing_extensions.Literal[ - "RADIUS_UNITS_UNSPECIFIED", "MILES", "KILOMETERS" - ] + radiusUnits: typing.Literal["RADIUS_UNITS_UNSPECIFIED", "MILES", "KILOMETERS"] regionCode: str @typing.type_check_only -class RateGroup(typing_extensions.TypedDict, total=False): +class RateGroup(typing.TypedDict, total=False): applicableShippingLabels: _list[str] carrierRates: _list[CarrierRate] mainTable: Table @@ -737,7 +719,7 @@ class RateGroup(typing_extensions.TypedDict, total=False): subtables: _list[Table] @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): displayName: str geotargetArea: GeoTargetArea name: str @@ -747,48 +729,46 @@ class Region(typing_extensions.TypedDict, total=False): shippingEligible: bool @typing.type_check_only -class RegisterGcpRequest(typing_extensions.TypedDict, total=False): +class RegisterGcpRequest(typing.TypedDict, total=False): developerEmail: str @typing.type_check_only -class RejectAccountServiceRequest(typing_extensions.TypedDict, total=False): ... +class RejectAccountServiceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RequestInventoryVerificationRequest(typing_extensions.TypedDict, total=False): ... +class RequestInventoryVerificationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RequestInventoryVerificationResponse(typing_extensions.TypedDict, total=False): +class RequestInventoryVerificationResponse(typing.TypedDict, total=False): omnichannelSetting: OmnichannelSetting @typing.type_check_only -class Required(typing_extensions.TypedDict, total=False): +class Required(typing.TypedDict, total=False): termsOfService: str tosFileUri: str @typing.type_check_only -class Requirement(typing_extensions.TypedDict, total=False): +class Requirement(typing.TypedDict, total=False): affectedRegionCodes: _list[str] documentationUri: str title: str @typing.type_check_only -class RestockingFee(typing_extensions.TypedDict, total=False): +class RestockingFee(typing.TypedDict, total=False): fixedFee: Price microPercent: int @typing.type_check_only -class ReturnShippingFee(typing_extensions.TypedDict, total=False): +class ReturnShippingFee(typing.TypedDict, total=False): fixedFee: Price - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE"] @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): cells: _list[Value] @typing.type_check_only -class SeasonalOverride(typing_extensions.TypedDict, total=False): +class SeasonalOverride(typing.TypedDict, total=False): endDate: Date label: str returnDays: int @@ -796,7 +776,7 @@ class SeasonalOverride(typing_extensions.TypedDict, total=False): startDate: Date @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): active: bool currencyCode: str deliveryCountries: _list[str] @@ -806,109 +786,107 @@ class Service(typing_extensions.TypedDict, total=False): minimumOrderValueTable: MinimumOrderValueTable rateGroups: _list[RateGroup] serviceName: str - shipmentType: typing_extensions.Literal[ + shipmentType: typing.Literal[ "SHIPMENT_TYPE_UNSPECIFIED", "DELIVERY", "LOCAL_DELIVERY", "COLLECTION_POINT" ] storeConfig: StoreConfig @typing.type_check_only -class SetAliasForRelationship(typing_extensions.TypedDict, total=False): +class SetAliasForRelationship(typing.TypedDict, total=False): accountIdAlias: str provider: str @typing.type_check_only -class ShippingSettings(typing_extensions.TypedDict, total=False): +class ShippingSettings(typing.TypedDict, total=False): etag: str name: str services: _list[Service] warehouses: _list[Warehouse] @typing.type_check_only -class ShortCode(typing_extensions.TypedDict, total=False): +class ShortCode(typing.TypedDict, total=False): number: str regionCode: str @typing.type_check_only -class StoreCodeSetWithMov(typing_extensions.TypedDict, total=False): +class StoreCodeSetWithMov(typing.TypedDict, total=False): storeCodes: _list[str] value: Price @typing.type_check_only -class StoreConfig(typing_extensions.TypedDict, total=False): +class StoreConfig(typing.TypedDict, total=False): cutoffConfig: CutoffConfig serviceRadius: Distance storeCodes: _list[str] - storeServiceType: typing_extensions.Literal[ + storeServiceType: typing.Literal[ "STORE_SERVICE_TYPE_UNSPECIFIED", "ALL_STORES", "SELECTED_STORES" ] @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columnHeaders: Headers name: str rowHeaders: Headers rows: _list[Row] @typing.type_check_only -class TermsOfService(typing_extensions.TypedDict, total=False): +class TermsOfService(typing.TypedDict, total=False): external: bool fileUri: str - kind: typing_extensions.Literal[ - "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" - ] + kind: typing.Literal["TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER"] name: str regionCode: str @typing.type_check_only -class TermsOfServiceAgreementState(typing_extensions.TypedDict, total=False): +class TermsOfServiceAgreementState(typing.TypedDict, total=False): accepted: Accepted name: str regionCode: str required: Required - termsOfServiceKind: typing_extensions.Literal[ + termsOfServiceKind: typing.Literal[ "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" ] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class TransitTable(typing_extensions.TypedDict, total=False): +class TransitTable(typing.TypedDict, total=False): postalCodeGroupNames: _list[str] rows: _list[TransitTimeRow] transitTimeLabels: _list[str] @typing.type_check_only -class TransitTimeRow(typing_extensions.TypedDict, total=False): +class TransitTimeRow(typing.TypedDict, total=False): values: _list[TransitTimeValue] @typing.type_check_only -class TransitTimeValue(typing_extensions.TypedDict, total=False): +class TransitTimeValue(typing.TypedDict, total=False): maxTransitDays: int minTransitDays: int @typing.type_check_only -class UnclaimHomepageRequest(typing_extensions.TypedDict, total=False): ... +class UnclaimHomepageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UnregisterGcpRequest(typing_extensions.TypedDict, total=False): ... +class UnregisterGcpRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateRegionRequest(typing_extensions.TypedDict, total=False): +class UpdateRegionRequest(typing.TypedDict, total=False): region: Region updateMask: str @typing.type_check_only -class UriSettings(typing_extensions.TypedDict, total=False): +class UriSettings(typing.TypedDict, total=False): cartUriTemplate: str checkoutUriTemplate: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): accessRights: _list[ - typing_extensions.Literal[ + typing.Literal[ "ACCESS_RIGHT_UNSPECIFIED", "STANDARD", "READ_ONLY", @@ -918,10 +896,10 @@ class User(typing_extensions.TypedDict, total=False): ] ] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "VERIFIED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "VERIFIED"] @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): carrierRate: str flatRate: Price noShipping: bool @@ -929,18 +907,18 @@ class Value(typing_extensions.TypedDict, total=False): subtable: str @typing.type_check_only -class VerificationMailSettings(typing_extensions.TypedDict, total=False): - verificationMailMode: typing_extensions.Literal[ +class VerificationMailSettings(typing.TypedDict, total=False): + verificationMailMode: typing.Literal[ "VERIFICATION_MAIL_MODE_UNSPECIFIED", "SEND_VERIFICATION_MAIL", "SUPPRESS_VERIFICATION_MAIL", ] @typing.type_check_only -class VerifySelfRequest(typing_extensions.TypedDict, total=False): ... +class VerifySelfRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Warehouse(typing_extensions.TypedDict, total=False): +class Warehouse(typing.TypedDict, total=False): businessDayConfig: BusinessDayConfig cutoffTime: WarehouseCutoffTime handlingDays: str @@ -948,17 +926,17 @@ class Warehouse(typing_extensions.TypedDict, total=False): shippingAddress: Address @typing.type_check_only -class WarehouseBasedDeliveryTime(typing_extensions.TypedDict, total=False): +class WarehouseBasedDeliveryTime(typing.TypedDict, total=False): carrier: str carrierService: str warehouse: str @typing.type_check_only -class WarehouseCutoffTime(typing_extensions.TypedDict, total=False): +class WarehouseCutoffTime(typing.TypedDict, total=False): hour: int minute: int @typing.type_check_only -class Weight(typing_extensions.TypedDict, total=False): +class Weight(typing.TypedDict, total=False): amountMicros: str - unit: typing_extensions.Literal["WEIGHT_UNIT_UNSPECIFIED", "POUND", "KILOGRAM"] + unit: typing.Literal["WEIGHT_UNIT_UNSPECIFIED", "POUND", "KILOGRAM"] diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi index 37e52ab9f..9bda06d56 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -540,9 +539,7 @@ class MerchantResource(googleapiclient.discovery.Resource): def retrieveLatest( self, *, - kind: typing_extensions.Literal[ - "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" - ] + kind: typing.Literal["TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER"] | None = ..., regionCode: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi index 0b97c6b32..cb44e4d66 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi @@ -1,28 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class About(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class About(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class AcceptTermsOfServiceResponse(typing_extensions.TypedDict, total=False): +class AcceptTermsOfServiceResponse(typing.TypedDict, total=False): termsOfServiceAgreementState: TermsOfServiceAgreementState @typing.type_check_only -class Accepted(typing_extensions.TypedDict, total=False): +class Accepted(typing.TypedDict, total=False): acceptedBy: str termsOfService: str validUntil: Date @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountId: str accountName: str adultContent: bool @@ -32,31 +30,29 @@ class Account(typing_extensions.TypedDict, total=False): timeZone: TimeZone @typing.type_check_only -class AccountAggregation(typing_extensions.TypedDict, total=False): ... +class AccountAggregation(typing.TypedDict, total=False): ... @typing.type_check_only -class AccountIssue(typing_extensions.TypedDict, total=False): +class AccountIssue(typing.TypedDict, total=False): detail: str documentationUri: str impactedDestinations: _list[ImpactedDestination] name: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION"] title: str @typing.type_check_only -class AccountManagement(typing_extensions.TypedDict, total=False): ... +class AccountManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class AccountRelationship(typing_extensions.TypedDict, total=False): +class AccountRelationship(typing.TypedDict, total=False): accountIdAlias: str name: str provider: str providerDisplayName: str @typing.type_check_only -class AccountService(typing_extensions.TypedDict, total=False): +class AccountService(typing.TypedDict, total=False): accountAggregation: AccountAggregation accountManagement: AccountManagement campaignsManagement: CampaignsManagement @@ -64,16 +60,14 @@ class AccountService(typing_extensions.TypedDict, total=False): externalAccountId: str handshake: Handshake localListingManagement: LocalListingManagement - mutability: typing_extensions.Literal[ - "MUTABILITY_UNSPECIFIED", "MUTABLE", "IMMUTABLE" - ] + mutability: typing.Literal["MUTABILITY_UNSPECIFIED", "MUTABLE", "IMMUTABLE"] name: str productsManagement: ProductsManagement provider: str providerDisplayName: str @typing.type_check_only -class AddAccountService(typing_extensions.TypedDict, total=False): +class AddAccountService(typing.TypedDict, total=False): accountAggregation: AccountAggregation accountManagement: AccountManagement campaignsManagement: CampaignsManagement @@ -83,13 +77,13 @@ class AddAccountService(typing_extensions.TypedDict, total=False): provider: str @typing.type_check_only -class AddUser(typing_extensions.TypedDict, total=False): +class AddUser(typing.TypedDict, total=False): user: User userId: str verificationMailSettings: VerificationMailSettings @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): administrativeArea: str city: str postalCode: str @@ -97,28 +91,28 @@ class Address(typing_extensions.TypedDict, total=False): streetAddress: str @typing.type_check_only -class ApproveAccountServiceRequest(typing_extensions.TypedDict, total=False): ... +class ApproveAccountServiceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AutofeedSettings(typing_extensions.TypedDict, total=False): +class AutofeedSettings(typing.TypedDict, total=False): eligible: bool enableProducts: bool name: str @typing.type_check_only -class AutomaticImageImprovements(typing_extensions.TypedDict, total=False): +class AutomaticImageImprovements(typing.TypedDict, total=False): accountImageImprovementsSettings: ImageImprovementsAccountLevelSettings effectiveAllowAutomaticImageImprovements: bool @typing.type_check_only -class AutomaticImprovements(typing_extensions.TypedDict, total=False): +class AutomaticImprovements(typing.TypedDict, total=False): imageImprovements: AutomaticImageImprovements itemUpdates: AutomaticItemUpdates name: str shippingImprovements: AutomaticShippingImprovements @typing.type_check_only -class AutomaticItemUpdates(typing_extensions.TypedDict, total=False): +class AutomaticItemUpdates(typing.TypedDict, total=False): accountItemUpdatesSettings: ItemUpdatesAccountLevelSettings effectiveAllowAvailabilityUpdates: bool effectiveAllowConditionUpdates: bool @@ -126,13 +120,13 @@ class AutomaticItemUpdates(typing_extensions.TypedDict, total=False): effectiveAllowStrictAvailabilityUpdates: bool @typing.type_check_only -class AutomaticShippingImprovements(typing_extensions.TypedDict, total=False): +class AutomaticShippingImprovements(typing.TypedDict, total=False): allowShippingImprovements: bool @typing.type_check_only -class BusinessDayConfig(typing_extensions.TypedDict, total=False): +class BusinessDayConfig(typing.TypedDict, total=False): businessDays: _list[ - typing_extensions.Literal[ + typing.Literal[ "WEEKDAY_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -145,11 +139,11 @@ class BusinessDayConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BusinessIdentity(typing_extensions.TypedDict, total=False): +class BusinessIdentity(typing.TypedDict, total=False): blackOwned: IdentityAttribute latinoOwned: IdentityAttribute name: str - promotionsConsent: typing_extensions.Literal[ + promotionsConsent: typing.Literal[ "PROMOTIONS_CONSENT_UNSPECIFIED", "PROMOTIONS_CONSENT_GIVEN", "PROMOTIONS_CONSENT_DENIED", @@ -159,23 +153,23 @@ class BusinessIdentity(typing_extensions.TypedDict, total=False): womenOwned: IdentityAttribute @typing.type_check_only -class BusinessInfo(typing_extensions.TypedDict, total=False): +class BusinessInfo(typing.TypedDict, total=False): address: PostalAddress customerService: CustomerService koreanBusinessRegistrationNumber: str name: str phone: PhoneNumber - phoneVerificationState: typing_extensions.Literal[ + phoneVerificationState: typing.Literal[ "PHONE_VERIFICATION_STATE_UNSPECIFIED", "PHONE_VERIFICATION_STATE_VERIFIED", "PHONE_VERIFICATION_STATE_UNVERIFIED", ] @typing.type_check_only -class CampaignsManagement(typing_extensions.TypedDict, total=False): ... +class CampaignsManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class CarrierRate(typing_extensions.TypedDict, total=False): +class CarrierRate(typing.TypedDict, total=False): carrier: str carrierService: str flatAdjustment: Price @@ -184,16 +178,16 @@ class CarrierRate(typing_extensions.TypedDict, total=False): percentageAdjustment: str @typing.type_check_only -class CheckoutSettings(typing_extensions.TypedDict, total=False): - effectiveEnrollmentState: typing_extensions.Literal[ +class CheckoutSettings(typing.TypedDict, total=False): + effectiveEnrollmentState: typing.Literal[ "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPTED_OUT" ] - effectiveReviewState: typing_extensions.Literal[ + effectiveReviewState: typing.Literal[ "CHECKOUT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", "DISAPPROVED" ] effectiveUriSettings: UriSettings eligibleDestinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -209,24 +203,24 @@ class CheckoutSettings(typing_extensions.TypedDict, total=False): "LOCAL_CLOUD_RETAIL", ] ] - enrollmentState: typing_extensions.Literal[ + enrollmentState: typing.Literal[ "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", "INACTIVE", "ENROLLED", "OPTED_OUT" ] name: str - reviewState: typing_extensions.Literal[ + reviewState: typing.Literal[ "CHECKOUT_REVIEW_STATE_UNSPECIFIED", "IN_REVIEW", "APPROVED", "DISAPPROVED" ] uriSettings: UriSettings @typing.type_check_only -class ClaimHomepageRequest(typing_extensions.TypedDict, total=False): +class ClaimHomepageRequest(typing.TypedDict, total=False): overwrite: bool @typing.type_check_only -class ComparisonShopping(typing_extensions.TypedDict, total=False): ... +class ComparisonShopping(typing.TypedDict, total=False): ... @typing.type_check_only -class CreateAndConfigureAccountRequest(typing_extensions.TypedDict, total=False): +class CreateAndConfigureAccountRequest(typing.TypedDict, total=False): account: Account service: _list[AddAccountService] setAlias: _list[SetAliasForRelationship] @@ -234,37 +228,37 @@ class CreateAndConfigureAccountRequest(typing_extensions.TypedDict, total=False) users: _list[CreateUserRequest] @typing.type_check_only -class CreateUserRequest(typing_extensions.TypedDict, total=False): +class CreateUserRequest(typing.TypedDict, total=False): parent: str user: User userId: str @typing.type_check_only -class CustomerService(typing_extensions.TypedDict, total=False): +class CustomerService(typing.TypedDict, total=False): email: str phone: PhoneNumber uri: str @typing.type_check_only -class CutoffConfig(typing_extensions.TypedDict, total=False): +class CutoffConfig(typing.TypedDict, total=False): localCutoffTime: LocalCutoffTime noDeliveryPostCutoff: bool storeCloseOffsetHours: str @typing.type_check_only -class CutoffTime(typing_extensions.TypedDict, total=False): +class CutoffTime(typing.TypedDict, total=False): hour: int minute: int timeZone: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DeliveryTime(typing_extensions.TypedDict, total=False): +class DeliveryTime(typing.TypedDict, total=False): cutoffTime: CutoffTime handlingBusinessDayConfig: BusinessDayConfig maxHandlingDays: int @@ -276,61 +270,61 @@ class DeliveryTime(typing_extensions.TypedDict, total=False): warehouseBasedDeliveryTimes: _list[WarehouseBasedDeliveryTime] @typing.type_check_only -class DeveloperRegistration(typing_extensions.TypedDict, total=False): +class DeveloperRegistration(typing.TypedDict, total=False): gcpIds: _list[str] name: str @typing.type_check_only -class DisableProgramRequest(typing_extensions.TypedDict, total=False): ... +class DisableProgramRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Distance(typing_extensions.TypedDict, total=False): - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "MILES", "KILOMETERS"] +class Distance(typing.TypedDict, total=False): + unit: typing.Literal["UNIT_UNSPECIFIED", "MILES", "KILOMETERS"] value: str @typing.type_check_only -class EmailPreferences(typing_extensions.TypedDict, total=False): +class EmailPreferences(typing.TypedDict, total=False): name: str - newsAndTips: typing_extensions.Literal[ + newsAndTips: typing.Literal[ "OPT_IN_STATE_UNSPECIFIED", "OPTED_OUT", "OPTED_IN", "UNCONFIRMED" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableProgramRequest(typing_extensions.TypedDict, total=False): ... +class EnableProgramRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FindLfpProvidersResponse(typing_extensions.TypedDict, total=False): +class FindLfpProvidersResponse(typing.TypedDict, total=False): lfpProviders: _list[LfpProvider] nextPageToken: str @typing.type_check_only -class GbpAccount(typing_extensions.TypedDict, total=False): +class GbpAccount(typing.TypedDict, total=False): gbpAccountId: str gbpAccountName: str listingCount: str name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "USER", "BUSINESS_ACCOUNT"] + type: typing.Literal["TYPE_UNSPECIFIED", "USER", "BUSINESS_ACCOUNT"] @typing.type_check_only -class GeoTargetArea(typing_extensions.TypedDict, total=False): +class GeoTargetArea(typing.TypedDict, total=False): geotargetCriteriaIds: _list[str] @typing.type_check_only -class GetAccountForGcpRegistrationResponse(typing_extensions.TypedDict, total=False): +class GetAccountForGcpRegistrationResponse(typing.TypedDict, total=False): name: str @typing.type_check_only -class Handshake(typing_extensions.TypedDict, total=False): - actor: typing_extensions.Literal["ACTOR_UNSPECIFIED", "ACCOUNT", "OTHER_PARTY"] - approvalState: typing_extensions.Literal[ +class Handshake(typing.TypedDict, total=False): + actor: typing.Literal["ACTOR_UNSPECIFIED", "ACCOUNT", "OTHER_PARTY"] + approvalState: typing.Literal[ "APPROVAL_STATE_UNSPECIFIED", "PENDING", "WAITING", "ESTABLISHED", "REJECTED" ] @typing.type_check_only -class Headers(typing_extensions.TypedDict, total=False): +class Headers(typing.TypedDict, total=False): locations: _list[LocationIdSet] numberOfItems: _list[str] postalCodeGroupNames: _list[str] @@ -338,34 +332,32 @@ class Headers(typing_extensions.TypedDict, total=False): weights: _list[Weight] @typing.type_check_only -class Homepage(typing_extensions.TypedDict, total=False): +class Homepage(typing.TypedDict, total=False): claimed: bool name: str uri: str @typing.type_check_only -class IdentityAttribute(typing_extensions.TypedDict, total=False): - identityDeclaration: typing_extensions.Literal[ +class IdentityAttribute(typing.TypedDict, total=False): + identityDeclaration: typing.Literal[ "IDENTITY_DECLARATION_UNSPECIFIED", "SELF_IDENTIFIES_AS", "DOES_NOT_SELF_IDENTIFY_AS", ] @typing.type_check_only -class ImageImprovementsAccountLevelSettings(typing_extensions.TypedDict, total=False): +class ImageImprovementsAccountLevelSettings(typing.TypedDict, total=False): allowAutomaticImageImprovements: bool @typing.type_check_only -class Impact(typing_extensions.TypedDict, total=False): +class Impact(typing.TypedDict, total=False): regionCode: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "SUGGESTION"] @typing.type_check_only -class ImpactedDestination(typing_extensions.TypedDict, total=False): +class ImpactedDestination(typing.TypedDict, total=False): impacts: _list[Impact] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -389,20 +381,20 @@ class ImpactedDestination(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InStock(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class InStock(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class InventoryVerification(typing_extensions.TypedDict, total=False): +class InventoryVerification(typing.TypedDict, total=False): contact: str contactEmail: str - contactState: typing_extensions.Literal[ + contactState: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTION_REQUIRED", "INACTIVE", @@ -412,134 +404,134 @@ class InventoryVerification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ItemUpdatesAccountLevelSettings(typing_extensions.TypedDict, total=False): +class ItemUpdatesAccountLevelSettings(typing.TypedDict, total=False): allowAvailabilityUpdates: bool allowConditionUpdates: bool allowPriceUpdates: bool allowStrictAvailabilityUpdates: bool @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LfpLink(typing_extensions.TypedDict, total=False): +class LfpLink(typing.TypedDict, total=False): externalAccountId: str lfpProvider: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] @typing.type_check_only -class LfpProvider(typing_extensions.TypedDict, total=False): +class LfpProvider(typing.TypedDict, total=False): displayName: str name: str regionCode: str @typing.type_check_only -class LinkGbpAccountRequest(typing_extensions.TypedDict, total=False): +class LinkGbpAccountRequest(typing.TypedDict, total=False): gbpEmail: str @typing.type_check_only -class LinkGbpAccountResponse(typing_extensions.TypedDict, total=False): +class LinkGbpAccountResponse(typing.TypedDict, total=False): response: Empty @typing.type_check_only -class LinkLfpProviderRequest(typing_extensions.TypedDict, total=False): +class LinkLfpProviderRequest(typing.TypedDict, total=False): externalAccountId: str @typing.type_check_only -class LinkLfpProviderResponse(typing_extensions.TypedDict, total=False): +class LinkLfpProviderResponse(typing.TypedDict, total=False): response: Empty @typing.type_check_only -class ListAccountIssuesResponse(typing_extensions.TypedDict, total=False): +class ListAccountIssuesResponse(typing.TypedDict, total=False): accountIssues: _list[AccountIssue] nextPageToken: str @typing.type_check_only -class ListAccountRelationshipsResponse(typing_extensions.TypedDict, total=False): +class ListAccountRelationshipsResponse(typing.TypedDict, total=False): accountRelationships: _list[AccountRelationship] nextPageToken: str @typing.type_check_only -class ListAccountServicesResponse(typing_extensions.TypedDict, total=False): +class ListAccountServicesResponse(typing.TypedDict, total=False): accountServices: _list[AccountService] nextPageToken: str @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListGbpAccountsResponse(typing_extensions.TypedDict, total=False): +class ListGbpAccountsResponse(typing.TypedDict, total=False): gbpAccounts: _list[GbpAccount] nextPageToken: str @typing.type_check_only -class ListOmnichannelSettingsResponse(typing_extensions.TypedDict, total=False): +class ListOmnichannelSettingsResponse(typing.TypedDict, total=False): nextPageToken: str omnichannelSettings: _list[OmnichannelSetting] @typing.type_check_only -class ListOnlineReturnPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListOnlineReturnPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str onlineReturnPolicies: _list[OnlineReturnPolicy] @typing.type_check_only -class ListProgramsResponse(typing_extensions.TypedDict, total=False): +class ListProgramsResponse(typing.TypedDict, total=False): nextPageToken: str programs: _list[Program] @typing.type_check_only -class ListRegionsResponse(typing_extensions.TypedDict, total=False): +class ListRegionsResponse(typing.TypedDict, total=False): nextPageToken: str regions: _list[Region] @typing.type_check_only -class ListSubAccountsResponse(typing_extensions.TypedDict, total=False): +class ListSubAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListUsersResponse(typing_extensions.TypedDict, total=False): +class ListUsersResponse(typing.TypedDict, total=False): nextPageToken: str users: _list[User] @typing.type_check_only -class LocalCutoffTime(typing_extensions.TypedDict, total=False): +class LocalCutoffTime(typing.TypedDict, total=False): hour: str minute: str @typing.type_check_only -class LocalListingManagement(typing_extensions.TypedDict, total=False): ... +class LocalListingManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class LocationIdSet(typing_extensions.TypedDict, total=False): +class LocationIdSet(typing.TypedDict, total=False): locationIds: _list[str] @typing.type_check_only -class LoyaltyProgram(typing_extensions.TypedDict, total=False): +class LoyaltyProgram(typing.TypedDict, total=False): loyaltyProgramTiers: _list[LoyaltyProgramTiers] programLabel: str @typing.type_check_only -class LoyaltyProgramTiers(typing_extensions.TypedDict, total=False): +class LoyaltyProgramTiers(typing.TypedDict, total=False): tierLabel: str @typing.type_check_only -class MinimumOrderValueTable(typing_extensions.TypedDict, total=False): +class MinimumOrderValueTable(typing.TypedDict, total=False): storeCodeSetWithMovs: _list[StoreCodeSetWithMov] @typing.type_check_only -class OmnichannelSetting(typing_extensions.TypedDict, total=False): +class OmnichannelSetting(typing.TypedDict, total=False): about: About inStock: InStock inventoryVerification: InventoryVerification lfpLink: LfpLink - lsfType: typing_extensions.Literal[ + lsfType: typing.Literal[ "LSF_TYPE_UNSPECIFIED", "GHLSF", "MHLSF_BASIC", "MHLSF_FULL" ] name: str @@ -548,35 +540,31 @@ class OmnichannelSetting(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class OnDisplayToOrder(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class OnDisplayToOrder(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class OnlineReturnPolicy(typing_extensions.TypedDict, total=False): +class OnlineReturnPolicy(typing.TypedDict, total=False): acceptDefectiveOnly: bool acceptExchange: bool countries: _list[str] - itemConditions: _list[ - typing_extensions.Literal["ITEM_CONDITION_UNSPECIFIED", "NEW", "USED"] - ] + itemConditions: _list[typing.Literal["ITEM_CONDITION_UNSPECIFIED", "NEW", "USED"]] label: str name: str policy: Policy processRefundDays: int restockingFee: RestockingFee - returnLabelSource: typing_extensions.Literal[ + returnLabelSource: typing.Literal[ "RETURN_LABEL_SOURCE_UNSPECIFIED", "DOWNLOAD_AND_PRINT", "IN_THE_PACKAGE", "CUSTOMER_RESPONSIBILITY", ] returnMethods: _list[ - typing_extensions.Literal[ - "RETURN_METHOD_UNSPECIFIED", "BY_MAIL", "IN_STORE", "AT_A_KIOSK" - ] + typing.Literal["RETURN_METHOD_UNSPECIFIED", "BY_MAIL", "IN_STORE", "AT_A_KIOSK"] ] returnPolicyId: str returnPolicyUri: str @@ -584,22 +572,22 @@ class OnlineReturnPolicy(typing_extensions.TypedDict, total=False): seasonalOverrides: _list[SeasonalOverride] @typing.type_check_only -class PhoneNumber(typing_extensions.TypedDict, total=False): +class PhoneNumber(typing.TypedDict, total=False): e164Number: str extension: str shortCode: ShortCode @typing.type_check_only -class Pickup(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class Pickup(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", "RUNNING", "ACTION_REQUIRED" ] uri: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): days: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "NUMBER_OF_DAYS_AFTER_DELIVERY", "NO_RETURNS", @@ -607,7 +595,7 @@ class Policy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -621,26 +609,26 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class PostalCodeArea(typing_extensions.TypedDict, total=False): +class PostalCodeArea(typing.TypedDict, total=False): postalCodes: _list[PostalCodeRange] regionCode: str @typing.type_check_only -class PostalCodeRange(typing_extensions.TypedDict, total=False): +class PostalCodeRange(typing.TypedDict, total=False): begin: str end: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -664,48 +652,42 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ProductsManagement(typing_extensions.TypedDict, total=False): ... +class ProductsManagement(typing.TypedDict, total=False): ... @typing.type_check_only -class Program(typing_extensions.TypedDict, total=False): +class Program(typing.TypedDict, total=False): activeRegionCodes: _list[str] documentationUri: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "NOT_ELIGIBLE", "ELIGIBLE", "ENABLED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "NOT_ELIGIBLE", "ELIGIBLE", "ENABLED"] unmetRequirements: _list[Requirement] @typing.type_check_only -class ProposeAccountServiceRequest(typing_extensions.TypedDict, total=False): +class ProposeAccountServiceRequest(typing.TypedDict, total=False): accountService: AccountService provider: str @typing.type_check_only -class RadiusArea(typing_extensions.TypedDict, total=False): +class RadiusArea(typing.TypedDict, total=False): latLng: LatLng radius: float - radiusUnits: typing_extensions.Literal[ - "RADIUS_UNITS_UNSPECIFIED", "MILES", "KILOMETERS" - ] + radiusUnits: typing.Literal["RADIUS_UNITS_UNSPECIFIED", "MILES", "KILOMETERS"] regionCode: str @typing.type_check_only -class RateGroup(typing_extensions.TypedDict, total=False): +class RateGroup(typing.TypedDict, total=False): applicableShippingLabels: _list[str] carrierRates: _list[CarrierRate] mainTable: Table @@ -714,7 +696,7 @@ class RateGroup(typing_extensions.TypedDict, total=False): subtables: _list[Table] @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): displayName: str geotargetArea: GeoTargetArea name: str @@ -724,48 +706,46 @@ class Region(typing_extensions.TypedDict, total=False): shippingEligible: bool @typing.type_check_only -class RegisterGcpRequest(typing_extensions.TypedDict, total=False): +class RegisterGcpRequest(typing.TypedDict, total=False): developerEmail: str @typing.type_check_only -class RejectAccountServiceRequest(typing_extensions.TypedDict, total=False): ... +class RejectAccountServiceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RequestInventoryVerificationRequest(typing_extensions.TypedDict, total=False): ... +class RequestInventoryVerificationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RequestInventoryVerificationResponse(typing_extensions.TypedDict, total=False): +class RequestInventoryVerificationResponse(typing.TypedDict, total=False): omnichannelSetting: OmnichannelSetting @typing.type_check_only -class Required(typing_extensions.TypedDict, total=False): +class Required(typing.TypedDict, total=False): termsOfService: str tosFileUri: str @typing.type_check_only -class Requirement(typing_extensions.TypedDict, total=False): +class Requirement(typing.TypedDict, total=False): affectedRegionCodes: _list[str] documentationUri: str title: str @typing.type_check_only -class RestockingFee(typing_extensions.TypedDict, total=False): +class RestockingFee(typing.TypedDict, total=False): fixedFee: Price microPercent: int @typing.type_check_only -class ReturnShippingFee(typing_extensions.TypedDict, total=False): +class ReturnShippingFee(typing.TypedDict, total=False): fixedFee: Price - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE"] @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): cells: _list[Value] @typing.type_check_only -class SeasonalOverride(typing_extensions.TypedDict, total=False): +class SeasonalOverride(typing.TypedDict, total=False): endDate: Date label: str returnDays: int @@ -773,7 +753,7 @@ class SeasonalOverride(typing_extensions.TypedDict, total=False): startDate: Date @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): active: bool currencyCode: str deliveryCountries: _list[str] @@ -783,104 +763,102 @@ class Service(typing_extensions.TypedDict, total=False): minimumOrderValueTable: MinimumOrderValueTable rateGroups: _list[RateGroup] serviceName: str - shipmentType: typing_extensions.Literal[ + shipmentType: typing.Literal[ "SHIPMENT_TYPE_UNSPECIFIED", "DELIVERY", "LOCAL_DELIVERY", "COLLECTION_POINT" ] storeConfig: StoreConfig @typing.type_check_only -class SetAliasForRelationship(typing_extensions.TypedDict, total=False): +class SetAliasForRelationship(typing.TypedDict, total=False): accountIdAlias: str provider: str @typing.type_check_only -class ShippingSettings(typing_extensions.TypedDict, total=False): +class ShippingSettings(typing.TypedDict, total=False): etag: str name: str services: _list[Service] warehouses: _list[Warehouse] @typing.type_check_only -class ShortCode(typing_extensions.TypedDict, total=False): +class ShortCode(typing.TypedDict, total=False): number: str regionCode: str @typing.type_check_only -class StoreCodeSetWithMov(typing_extensions.TypedDict, total=False): +class StoreCodeSetWithMov(typing.TypedDict, total=False): storeCodes: _list[str] value: Price @typing.type_check_only -class StoreConfig(typing_extensions.TypedDict, total=False): +class StoreConfig(typing.TypedDict, total=False): cutoffConfig: CutoffConfig serviceRadius: Distance storeCodes: _list[str] - storeServiceType: typing_extensions.Literal[ + storeServiceType: typing.Literal[ "STORE_SERVICE_TYPE_UNSPECIFIED", "ALL_STORES", "SELECTED_STORES" ] @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columnHeaders: Headers name: str rowHeaders: Headers rows: _list[Row] @typing.type_check_only -class TermsOfService(typing_extensions.TypedDict, total=False): +class TermsOfService(typing.TypedDict, total=False): external: bool fileUri: str - kind: typing_extensions.Literal[ - "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" - ] + kind: typing.Literal["TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER"] name: str regionCode: str @typing.type_check_only -class TermsOfServiceAgreementState(typing_extensions.TypedDict, total=False): +class TermsOfServiceAgreementState(typing.TypedDict, total=False): accepted: Accepted name: str regionCode: str required: Required - termsOfServiceKind: typing_extensions.Literal[ + termsOfServiceKind: typing.Literal[ "TERMS_OF_SERVICE_KIND_UNSPECIFIED", "MERCHANT_CENTER" ] @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class TransitTable(typing_extensions.TypedDict, total=False): +class TransitTable(typing.TypedDict, total=False): postalCodeGroupNames: _list[str] rows: _list[TransitTimeRow] transitTimeLabels: _list[str] @typing.type_check_only -class TransitTimeRow(typing_extensions.TypedDict, total=False): +class TransitTimeRow(typing.TypedDict, total=False): values: _list[TransitTimeValue] @typing.type_check_only -class TransitTimeValue(typing_extensions.TypedDict, total=False): +class TransitTimeValue(typing.TypedDict, total=False): maxTransitDays: int minTransitDays: int @typing.type_check_only -class UnclaimHomepageRequest(typing_extensions.TypedDict, total=False): ... +class UnclaimHomepageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UnregisterGcpRequest(typing_extensions.TypedDict, total=False): ... +class UnregisterGcpRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UriSettings(typing_extensions.TypedDict, total=False): +class UriSettings(typing.TypedDict, total=False): cartUriTemplate: str checkoutUriTemplate: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): accessRights: _list[ - typing_extensions.Literal[ + typing.Literal[ "ACCESS_RIGHT_UNSPECIFIED", "STANDARD", "READ_ONLY", @@ -890,10 +868,10 @@ class User(typing_extensions.TypedDict, total=False): ] ] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "VERIFIED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "VERIFIED"] @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): carrierRate: str flatRate: Price noShipping: bool @@ -901,18 +879,18 @@ class Value(typing_extensions.TypedDict, total=False): subtable: str @typing.type_check_only -class VerificationMailSettings(typing_extensions.TypedDict, total=False): - verificationMailMode: typing_extensions.Literal[ +class VerificationMailSettings(typing.TypedDict, total=False): + verificationMailMode: typing.Literal[ "VERIFICATION_MAIL_MODE_UNSPECIFIED", "SEND_VERIFICATION_MAIL", "SUPPRESS_VERIFICATION_MAIL", ] @typing.type_check_only -class VerifySelfRequest(typing_extensions.TypedDict, total=False): ... +class VerifySelfRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Warehouse(typing_extensions.TypedDict, total=False): +class Warehouse(typing.TypedDict, total=False): businessDayConfig: BusinessDayConfig cutoffTime: WarehouseCutoffTime handlingDays: str @@ -920,17 +898,17 @@ class Warehouse(typing_extensions.TypedDict, total=False): shippingAddress: Address @typing.type_check_only -class WarehouseBasedDeliveryTime(typing_extensions.TypedDict, total=False): +class WarehouseBasedDeliveryTime(typing.TypedDict, total=False): carrier: str carrierService: str warehouse: str @typing.type_check_only -class WarehouseCutoffTime(typing_extensions.TypedDict, total=False): +class WarehouseCutoffTime(typing.TypedDict, total=False): hour: int minute: int @typing.type_check_only -class Weight(typing_extensions.TypedDict, total=False): +class Weight(typing.TypedDict, total=False): amountMicros: str - unit: typing_extensions.Literal["WEIGHT_UNIT_UNSPECIFIED", "POUND", "KILOGRAM"] + unit: typing.Literal["WEIGHT_UNIT_UNSPECIFIED", "POUND", "KILOGRAM"] diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/resources.pyi index f13056f2f..1e7f47de3 100644 --- a/googleapiclient-stubs/_apis/merchantapi/conversions_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/schemas.pyi index bf20c7a31..10cc7bb26 100644 --- a/googleapiclient-stubs/_apis/merchantapi/conversions_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AttributionSettings(typing_extensions.TypedDict, total=False): +class AttributionSettings(typing.TypedDict, total=False): attributionLookbackWindowDays: int - attributionModel: typing_extensions.Literal[ + attributionModel: typing.Literal[ "ATTRIBUTION_MODEL_UNSPECIFIED", "CROSS_CHANNEL_LAST_CLICK", "ADS_PREFERRED_LAST_CLICK", @@ -20,50 +18,48 @@ class AttributionSettings(typing_extensions.TypedDict, total=False): conversionType: _list[ConversionType] @typing.type_check_only -class ConversionSource(typing_extensions.TypedDict, total=False): - controller: typing_extensions.Literal[ +class ConversionSource(typing.TypedDict, total=False): + controller: typing.Literal[ "CONTROLLER_UNSPECIFIED", "MERCHANT", "YOUTUBE_AFFILIATES" ] expireTime: str googleAnalyticsLink: GoogleAnalyticsLink merchantCenterDestination: MerchantCenterDestination name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "PENDING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "PENDING"] @typing.type_check_only -class ConversionType(typing_extensions.TypedDict, total=False): +class ConversionType(typing.TypedDict, total=False): name: str report: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAnalyticsLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsLink(typing.TypedDict, total=False): attributionSettings: AttributionSettings property: str propertyId: str @typing.type_check_only -class ListConversionSourcesResponse(typing_extensions.TypedDict, total=False): +class ListConversionSourcesResponse(typing.TypedDict, total=False): conversionSources: _list[ConversionSource] nextPageToken: str @typing.type_check_only -class MerchantCenterDestination(typing_extensions.TypedDict, total=False): +class MerchantCenterDestination(typing.TypedDict, total=False): attributionSettings: AttributionSettings currencyCode: str destination: str displayName: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -87,18 +83,16 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class UndeleteConversionSourceRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteConversionSourceRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/resources.pyi index f13056f2f..1e7f47de3 100644 --- a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi index bf20c7a31..10cc7bb26 100644 --- a/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/conversions_v1beta/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AttributionSettings(typing_extensions.TypedDict, total=False): +class AttributionSettings(typing.TypedDict, total=False): attributionLookbackWindowDays: int - attributionModel: typing_extensions.Literal[ + attributionModel: typing.Literal[ "ATTRIBUTION_MODEL_UNSPECIFIED", "CROSS_CHANNEL_LAST_CLICK", "ADS_PREFERRED_LAST_CLICK", @@ -20,50 +18,48 @@ class AttributionSettings(typing_extensions.TypedDict, total=False): conversionType: _list[ConversionType] @typing.type_check_only -class ConversionSource(typing_extensions.TypedDict, total=False): - controller: typing_extensions.Literal[ +class ConversionSource(typing.TypedDict, total=False): + controller: typing.Literal[ "CONTROLLER_UNSPECIFIED", "MERCHANT", "YOUTUBE_AFFILIATES" ] expireTime: str googleAnalyticsLink: GoogleAnalyticsLink merchantCenterDestination: MerchantCenterDestination name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "PENDING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED", "PENDING"] @typing.type_check_only -class ConversionType(typing_extensions.TypedDict, total=False): +class ConversionType(typing.TypedDict, total=False): name: str report: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAnalyticsLink(typing_extensions.TypedDict, total=False): +class GoogleAnalyticsLink(typing.TypedDict, total=False): attributionSettings: AttributionSettings property: str propertyId: str @typing.type_check_only -class ListConversionSourcesResponse(typing_extensions.TypedDict, total=False): +class ListConversionSourcesResponse(typing.TypedDict, total=False): conversionSources: _list[ConversionSource] nextPageToken: str @typing.type_check_only -class MerchantCenterDestination(typing_extensions.TypedDict, total=False): +class MerchantCenterDestination(typing.TypedDict, total=False): attributionSettings: AttributionSettings currencyCode: str destination: str displayName: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -87,18 +83,16 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class UndeleteConversionSourceRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteConversionSourceRequest(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/resources.pyi index bee9a5d0c..a96d7fd82 100644 --- a/googleapiclient-stubs/_apis/merchantapi/datasources_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/schemas.pyi index ee7342b34..2b12f3086 100644 --- a/googleapiclient-stubs/_apis/merchantapi/datasources_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): +class DataSource(typing.TypedDict, total=False): dataSourceId: str displayName: str fileInput: FileInput - input: typing_extensions.Literal[ - "INPUT_UNSPECIFIED", "API", "FILE", "UI", "AUTOFEED" - ] + input: typing.Literal["INPUT_UNSPECIFIED", "API", "FILE", "UI", "AUTOFEED"] localInventoryDataSource: LocalInventoryDataSource merchantReviewDataSource: MerchantReviewDataSource name: str @@ -22,18 +18,18 @@ class DataSource(typing_extensions.TypedDict, total=False): supplementalProductDataSource: SupplementalProductDataSource @typing.type_check_only -class DataSourceReference(typing_extensions.TypedDict, total=False): +class DataSourceReference(typing.TypedDict, total=False): primaryDataSourceName: str self: bool supplementalDataSourceName: str @typing.type_check_only -class DefaultRule(typing_extensions.TypedDict, total=False): +class DefaultRule(typing.TypedDict, total=False): takeFromDataSources: _list[DataSourceReference] @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): - destination: typing_extensions.Literal[ +class Destination(typing.TypedDict, total=False): + destination: typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -48,18 +44,18 @@ class Destination(typing_extensions.TypedDict, total=False): "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchDataSourceRequest(typing_extensions.TypedDict, total=False): ... +class FetchDataSourceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchSettings(typing_extensions.TypedDict, total=False): +class FetchSettings(typing.TypedDict, total=False): dayOfMonth: int - dayOfWeek: typing_extensions.Literal[ + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -71,7 +67,7 @@ class FetchSettings(typing_extensions.TypedDict, total=False): ] enabled: bool fetchUri: str - frequency: typing_extensions.Literal[ + frequency: typing.Literal[ "FREQUENCY_UNSPECIFIED", "FREQUENCY_DAILY", "FREQUENCY_WEEKLY", @@ -83,50 +79,50 @@ class FetchSettings(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class FileInput(typing_extensions.TypedDict, total=False): +class FileInput(typing.TypedDict, total=False): fetchSettings: FetchSettings - fileInputType: typing_extensions.Literal[ + fileInputType: typing.Literal[ "FILE_INPUT_TYPE_UNSPECIFIED", "UPLOAD", "FETCH", "GOOGLE_SHEETS" ] fileName: str @typing.type_check_only -class FileUpload(typing_extensions.TypedDict, total=False): +class FileUpload(typing.TypedDict, total=False): dataSourceId: str issues: _list[Issue] itemsCreated: str itemsTotal: str itemsUpdated: str name: str - processingState: typing_extensions.Literal[ + processingState: typing.Literal[ "PROCESSING_STATE_UNSPECIFIED", "FAILED", "IN_PROGRESS", "SUCCEEDED" ] uploadTime: str @typing.type_check_only -class Issue(typing_extensions.TypedDict, total=False): +class Issue(typing.TypedDict, total=False): code: str count: str description: str documentationUri: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] title: str @typing.type_check_only -class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): +class ListDataSourcesResponse(typing.TypedDict, total=False): dataSources: _list[DataSource] nextPageToken: str @typing.type_check_only -class LocalInventoryDataSource(typing_extensions.TypedDict, total=False): +class LocalInventoryDataSource(typing.TypedDict, total=False): contentLanguage: str feedLabel: str @typing.type_check_only -class MerchantReviewDataSource(typing_extensions.TypedDict, total=False): ... +class MerchantReviewDataSource(typing.TypedDict, total=False): ... @typing.type_check_only -class PrimaryProductDataSource(typing_extensions.TypedDict, total=False): +class PrimaryProductDataSource(typing.TypedDict, total=False): contentLanguage: str countries: _list[str] defaultRule: DefaultRule @@ -135,11 +131,11 @@ class PrimaryProductDataSource(typing_extensions.TypedDict, total=False): legacyLocal: bool @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -163,40 +159,38 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductReviewDataSource(typing_extensions.TypedDict, total=False): ... +class ProductReviewDataSource(typing.TypedDict, total=False): ... @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class PromotionDataSource(typing_extensions.TypedDict, total=False): +class PromotionDataSource(typing.TypedDict, total=False): contentLanguage: str targetCountry: str @typing.type_check_only -class RegionalInventoryDataSource(typing_extensions.TypedDict, total=False): +class RegionalInventoryDataSource(typing.TypedDict, total=False): contentLanguage: str feedLabel: str @typing.type_check_only -class SupplementalProductDataSource(typing_extensions.TypedDict, total=False): +class SupplementalProductDataSource(typing.TypedDict, total=False): contentLanguage: str feedLabel: str referencingPrimaryDataSources: _list[DataSourceReference] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi index bee9a5d0c..a96d7fd82 100644 --- a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi index 874e91add..0feffa506 100644 --- a/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/datasources_v1beta/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): +class DataSource(typing.TypedDict, total=False): dataSourceId: str displayName: str fileInput: FileInput - input: typing_extensions.Literal[ - "INPUT_UNSPECIFIED", "API", "FILE", "UI", "AUTOFEED" - ] + input: typing.Literal["INPUT_UNSPECIFIED", "API", "FILE", "UI", "AUTOFEED"] localInventoryDataSource: LocalInventoryDataSource merchantReviewDataSource: MerchantReviewDataSource name: str @@ -22,18 +18,18 @@ class DataSource(typing_extensions.TypedDict, total=False): supplementalProductDataSource: SupplementalProductDataSource @typing.type_check_only -class DataSourceReference(typing_extensions.TypedDict, total=False): +class DataSourceReference(typing.TypedDict, total=False): primaryDataSourceName: str self: bool supplementalDataSourceName: str @typing.type_check_only -class DefaultRule(typing_extensions.TypedDict, total=False): +class DefaultRule(typing.TypedDict, total=False): takeFromDataSources: _list[DataSourceReference] @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): - destination: typing_extensions.Literal[ +class Destination(typing.TypedDict, total=False): + destination: typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -48,18 +44,18 @@ class Destination(typing_extensions.TypedDict, total=False): "CLOUD_RETAIL", "LOCAL_CLOUD_RETAIL", ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchDataSourceRequest(typing_extensions.TypedDict, total=False): ... +class FetchDataSourceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchSettings(typing_extensions.TypedDict, total=False): +class FetchSettings(typing.TypedDict, total=False): dayOfMonth: int - dayOfWeek: typing_extensions.Literal[ + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -71,7 +67,7 @@ class FetchSettings(typing_extensions.TypedDict, total=False): ] enabled: bool fetchUri: str - frequency: typing_extensions.Literal[ + frequency: typing.Literal[ "FREQUENCY_UNSPECIFIED", "FREQUENCY_DAILY", "FREQUENCY_WEEKLY", @@ -83,51 +79,51 @@ class FetchSettings(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class FileInput(typing_extensions.TypedDict, total=False): +class FileInput(typing.TypedDict, total=False): fetchSettings: FetchSettings - fileInputType: typing_extensions.Literal[ + fileInputType: typing.Literal[ "FILE_INPUT_TYPE_UNSPECIFIED", "UPLOAD", "FETCH", "GOOGLE_SHEETS" ] fileName: str @typing.type_check_only -class FileUpload(typing_extensions.TypedDict, total=False): +class FileUpload(typing.TypedDict, total=False): dataSourceId: str issues: _list[Issue] itemsCreated: str itemsTotal: str itemsUpdated: str name: str - processingState: typing_extensions.Literal[ + processingState: typing.Literal[ "PROCESSING_STATE_UNSPECIFIED", "FAILED", "IN_PROGRESS", "SUCCEEDED" ] uploadTime: str @typing.type_check_only -class Issue(typing_extensions.TypedDict, total=False): +class Issue(typing.TypedDict, total=False): code: str count: str description: str documentationUri: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] title: str @typing.type_check_only -class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): +class ListDataSourcesResponse(typing.TypedDict, total=False): dataSources: _list[DataSource] nextPageToken: str @typing.type_check_only -class LocalInventoryDataSource(typing_extensions.TypedDict, total=False): +class LocalInventoryDataSource(typing.TypedDict, total=False): contentLanguage: str feedLabel: str @typing.type_check_only -class MerchantReviewDataSource(typing_extensions.TypedDict, total=False): ... +class MerchantReviewDataSource(typing.TypedDict, total=False): ... @typing.type_check_only -class PrimaryProductDataSource(typing_extensions.TypedDict, total=False): - channel: typing_extensions.Literal[ +class PrimaryProductDataSource(typing.TypedDict, total=False): + channel: typing.Literal[ "CHANNEL_UNSPECIFIED", "ONLINE_PRODUCTS", "LOCAL_PRODUCTS", "PRODUCTS" ] contentLanguage: str @@ -137,11 +133,11 @@ class PrimaryProductDataSource(typing_extensions.TypedDict, total=False): feedLabel: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -165,40 +161,38 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductReviewDataSource(typing_extensions.TypedDict, total=False): ... +class ProductReviewDataSource(typing.TypedDict, total=False): ... @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class PromotionDataSource(typing_extensions.TypedDict, total=False): +class PromotionDataSource(typing.TypedDict, total=False): contentLanguage: str targetCountry: str @typing.type_check_only -class RegionalInventoryDataSource(typing_extensions.TypedDict, total=False): +class RegionalInventoryDataSource(typing.TypedDict, total=False): contentLanguage: str feedLabel: str @typing.type_check_only -class SupplementalProductDataSource(typing_extensions.TypedDict, total=False): +class SupplementalProductDataSource(typing.TypedDict, total=False): contentLanguage: str feedLabel: str referencingPrimaryDataSources: _list[DataSourceReference] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/resources.pyi index 1338adfee..7383cae2a 100644 --- a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi index cc47ad4e4..dce16062b 100644 --- a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi @@ -1,19 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class CustomAttribute(typing.TypedDict, total=False): + groupValues: _list[CustomAttribute] + name: str + value: str @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Empty(typing.TypedDict, total=False): ... + +@typing.type_check_only +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class InventoryLoyaltyProgram(typing_extensions.TypedDict, total=False): +class InventoryLoyaltyProgram(typing.TypedDict, total=False): cashbackForFutureUse: Price loyaltyPoints: str memberPriceEffectiveInterval: Interval @@ -23,17 +27,17 @@ class InventoryLoyaltyProgram(typing_extensions.TypedDict, total=False): tierLabel: str @typing.type_check_only -class ListLocalInventoriesResponse(typing_extensions.TypedDict, total=False): +class ListLocalInventoriesResponse(typing.TypedDict, total=False): localInventories: _list[LocalInventory] nextPageToken: str @typing.type_check_only -class ListRegionalInventoriesResponse(typing_extensions.TypedDict, total=False): +class ListRegionalInventoriesResponse(typing.TypedDict, total=False): nextPageToken: str regionalInventories: _list[RegionalInventory] @typing.type_check_only -class LocalInventory(typing_extensions.TypedDict, total=False): +class LocalInventory(typing.TypedDict, total=False): account: str base64EncodedName: str localInventoryAttributes: LocalInventoryAttributes @@ -41,21 +45,22 @@ class LocalInventory(typing_extensions.TypedDict, total=False): storeCode: str @typing.type_check_only -class LocalInventoryAttributes(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class LocalInventoryAttributes(typing.TypedDict, total=False): + availability: typing.Literal[ "LOCAL_INVENTORY_AVAILABILITY_UNSPECIFIED", "IN_STOCK", "LIMITED_AVAILABILITY", "ON_DISPLAY_TO_ORDER", "OUT_OF_STOCK", ] + customAttributes: _list[CustomAttribute] instoreProductLocation: str localShippingLabel: str loyaltyPrograms: _list[InventoryLoyaltyProgram] - pickupMethod: typing_extensions.Literal[ + pickupMethod: typing.Literal[ "PICKUP_METHOD_UNSPECIFIED", "BUY", "RESERVE", "SHIP_TO_STORE", "NOT_SUPPORTED" ] - pickupSla: typing_extensions.Literal[ + pickupSla: typing.Literal[ "PICKUP_SLA_UNSPECIFIED", "SAME_DAY", "NEXT_DAY", @@ -73,16 +78,16 @@ class LocalInventoryAttributes(typing_extensions.TypedDict, total=False): salePriceEffectiveDate: Interval @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -106,21 +111,19 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class RegionalInventory(typing_extensions.TypedDict, total=False): +class RegionalInventory(typing.TypedDict, total=False): account: str base64EncodedName: str name: str @@ -128,8 +131,8 @@ class RegionalInventory(typing_extensions.TypedDict, total=False): regionalInventoryAttributes: RegionalInventoryAttributes @typing.type_check_only -class RegionalInventoryAttributes(typing_extensions.TypedDict, total=False): - availability: typing_extensions.Literal[ +class RegionalInventoryAttributes(typing.TypedDict, total=False): + availability: typing.Literal[ "REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK" ] loyaltyPrograms: _list[InventoryLoyaltyProgram] diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/resources.pyi index 1338adfee..7383cae2a 100644 --- a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi index bbcbb4316..32778cfaf 100644 --- a/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1beta/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ListLocalInventoriesResponse(typing_extensions.TypedDict, total=False): +class ListLocalInventoriesResponse(typing.TypedDict, total=False): localInventories: _list[LocalInventory] nextPageToken: str @typing.type_check_only -class ListRegionalInventoriesResponse(typing_extensions.TypedDict, total=False): +class ListRegionalInventoriesResponse(typing.TypedDict, total=False): nextPageToken: str regionalInventories: _list[RegionalInventory] @typing.type_check_only -class LocalInventory(typing_extensions.TypedDict, total=False): +class LocalInventory(typing.TypedDict, total=False): account: str availability: str base64EncodedName: str @@ -45,16 +43,16 @@ class LocalInventory(typing_extensions.TypedDict, total=False): storeCode: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -78,21 +76,19 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class RegionalInventory(typing_extensions.TypedDict, total=False): +class RegionalInventory(typing.TypedDict, total=False): account: str availability: str base64EncodedName: str diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/resources.pyi index 00b281153..b59a2d0be 100644 --- a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/schemas.pyi index 51f81c206..a4732d3d9 100644 --- a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): builtinSimpleAction: BuiltInSimpleAction builtinUserInputAction: BuiltInUserInputAction buttonLabel: str @@ -14,7 +12,7 @@ class Action(typing_extensions.TypedDict, total=False): reasons: _list[Reason] @typing.type_check_only -class ActionFlow(typing_extensions.TypedDict, total=False): +class ActionFlow(typing.TypedDict, total=False): dialogButtonLabel: str dialogCallout: Callout dialogMessage: TextWithTooltip @@ -24,21 +22,21 @@ class ActionFlow(typing_extensions.TypedDict, total=False): label: str @typing.type_check_only -class ActionInput(typing_extensions.TypedDict, total=False): +class ActionInput(typing.TypedDict, total=False): actionFlowId: str inputValues: _list[InputValue] @typing.type_check_only -class AdditionalContent(typing_extensions.TypedDict, total=False): +class AdditionalContent(typing.TypedDict, total=False): paragraphs: _list[str] title: str @typing.type_check_only -class AggregateProductStatus(typing_extensions.TypedDict, total=False): +class AggregateProductStatus(typing.TypedDict, total=False): country: str itemLevelIssues: _list[ItemLevelIssue] name: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -63,15 +61,15 @@ class AggregateProductStatus(typing_extensions.TypedDict, total=False): stats: Stats @typing.type_check_only -class Breakdown(typing_extensions.TypedDict, total=False): +class Breakdown(typing.TypedDict, total=False): details: _list[str] regions: _list[Region] @typing.type_check_only -class BuiltInSimpleAction(typing_extensions.TypedDict, total=False): +class BuiltInSimpleAction(typing.TypedDict, total=False): additionalContent: AdditionalContent attributeCode: str - type: typing_extensions.Literal[ + type: typing.Literal[ "BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", "VERIFY_PHONE", "CLAIM_WEBSITE", @@ -85,41 +83,41 @@ class BuiltInSimpleAction(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BuiltInUserInputAction(typing_extensions.TypedDict, total=False): +class BuiltInUserInputAction(typing.TypedDict, total=False): actionContext: str flows: _list[ActionFlow] @typing.type_check_only -class Callout(typing_extensions.TypedDict, total=False): +class Callout(typing.TypedDict, total=False): fullMessage: TextWithTooltip - styleHint: typing_extensions.Literal[ + styleHint: typing.Literal[ "CALLOUT_STYLE_HINT_UNSPECIFIED", "ERROR", "WARNING", "INFO" ] @typing.type_check_only -class CheckboxInput(typing_extensions.TypedDict, total=False): ... +class CheckboxInput(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckboxInputValue(typing_extensions.TypedDict, total=False): +class CheckboxInputValue(typing.TypedDict, total=False): value: bool @typing.type_check_only -class ChoiceInput(typing_extensions.TypedDict, total=False): +class ChoiceInput(typing.TypedDict, total=False): options: _list[ChoiceInputOption] @typing.type_check_only -class ChoiceInputOption(typing_extensions.TypedDict, total=False): +class ChoiceInputOption(typing.TypedDict, total=False): additionalInput: InputField id: str label: TextWithTooltip @typing.type_check_only -class ChoiceInputValue(typing_extensions.TypedDict, total=False): +class ChoiceInputValue(typing.TypedDict, total=False): choiceInputOptionId: str @typing.type_check_only -class ExternalAction(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ExternalAction(typing.TypedDict, total=False): + type: typing.Literal[ "EXTERNAL_ACTION_TYPE_UNSPECIFIED", "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", @@ -130,15 +128,13 @@ class ExternalAction(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Impact(typing_extensions.TypedDict, total=False): +class Impact(typing.TypedDict, total=False): breakdowns: _list[Breakdown] message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class InputField(typing_extensions.TypedDict, total=False): +class InputField(typing.TypedDict, total=False): checkboxInput: CheckboxInput choiceInput: ChoiceInput id: str @@ -147,38 +143,38 @@ class InputField(typing_extensions.TypedDict, total=False): textInput: TextInput @typing.type_check_only -class InputValue(typing_extensions.TypedDict, total=False): +class InputValue(typing.TypedDict, total=False): checkboxInputValue: CheckboxInputValue choiceInputValue: ChoiceInputValue inputFieldId: str textInputValue: TextInputValue @typing.type_check_only -class ItemLevelIssue(typing_extensions.TypedDict, total=False): +class ItemLevelIssue(typing.TypedDict, total=False): attribute: str code: str description: str detail: str documentationUri: str productCount: str - resolution: typing_extensions.Literal[ + resolution: typing.Literal[ "RESOLUTION_UNSPECIFIED", "MERCHANT_ACTION", "PENDING_PROCESSING" ] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" ] @typing.type_check_only -class ListAggregateProductStatusesResponse(typing_extensions.TypedDict, total=False): +class ListAggregateProductStatusesResponse(typing.TypedDict, total=False): aggregateProductStatuses: _list[AggregateProductStatus] nextPageToken: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -202,51 +198,47 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class Reason(typing_extensions.TypedDict, total=False): +class Reason(typing.TypedDict, total=False): action: Action detail: str message: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): code: str name: str @typing.type_check_only -class RenderAccountIssuesResponse(typing_extensions.TypedDict, total=False): +class RenderAccountIssuesResponse(typing.TypedDict, total=False): renderedIssues: _list[RenderedIssue] @typing.type_check_only -class RenderIssuesRequestPayload(typing_extensions.TypedDict, total=False): - contentOption: typing_extensions.Literal[ - "CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML" - ] - userInputActionOption: typing_extensions.Literal[ +class RenderIssuesRequestPayload(typing.TypedDict, total=False): + contentOption: typing.Literal["CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML"] + userInputActionOption: typing.Literal[ "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", "REDIRECT_TO_MERCHANT_CENTER", "BUILT_IN_USER_INPUT_ACTIONS", ] @typing.type_check_only -class RenderProductIssuesResponse(typing_extensions.TypedDict, total=False): +class RenderProductIssuesResponse(typing.TypedDict, total=False): renderedIssues: _list[RenderedIssue] @typing.type_check_only -class RenderedIssue(typing_extensions.TypedDict, total=False): +class RenderedIssue(typing.TypedDict, total=False): actions: _list[Action] impact: Impact prerenderedContent: str @@ -254,38 +246,38 @@ class RenderedIssue(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Stats(typing_extensions.TypedDict, total=False): +class Stats(typing.TypedDict, total=False): activeCount: str disapprovedCount: str expiringCount: str pendingCount: str @typing.type_check_only -class TextInput(typing_extensions.TypedDict, total=False): +class TextInput(typing.TypedDict, total=False): additionalInfo: TextWithTooltip ariaLabel: str formatInfo: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TEXT_INPUT_TYPE_UNSPECIFIED", "GENERIC_SHORT_TEXT", "GENERIC_LONG_TEXT" ] @typing.type_check_only -class TextInputValue(typing_extensions.TypedDict, total=False): +class TextInputValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class TextWithTooltip(typing_extensions.TypedDict, total=False): +class TextWithTooltip(typing.TypedDict, total=False): simpleTooltipValue: str simpleValue: str - tooltipIconStyle: typing_extensions.Literal[ + tooltipIconStyle: typing.Literal[ "TOOLTIP_ICON_STYLE_UNSPECIFIED", "INFO", "QUESTION" ] @typing.type_check_only -class TriggerActionPayload(typing_extensions.TypedDict, total=False): +class TriggerActionPayload(typing.TypedDict, total=False): actionContext: str actionInput: ActionInput @typing.type_check_only -class TriggerActionResponse(typing_extensions.TypedDict, total=False): +class TriggerActionResponse(typing.TypedDict, total=False): message: str diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/resources.pyi index 00b281153..b59a2d0be 100644 --- a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi index 51f81c206..a4732d3d9 100644 --- a/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/issueresolution_v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Action(typing_extensions.TypedDict, total=False): +class Action(typing.TypedDict, total=False): builtinSimpleAction: BuiltInSimpleAction builtinUserInputAction: BuiltInUserInputAction buttonLabel: str @@ -14,7 +12,7 @@ class Action(typing_extensions.TypedDict, total=False): reasons: _list[Reason] @typing.type_check_only -class ActionFlow(typing_extensions.TypedDict, total=False): +class ActionFlow(typing.TypedDict, total=False): dialogButtonLabel: str dialogCallout: Callout dialogMessage: TextWithTooltip @@ -24,21 +22,21 @@ class ActionFlow(typing_extensions.TypedDict, total=False): label: str @typing.type_check_only -class ActionInput(typing_extensions.TypedDict, total=False): +class ActionInput(typing.TypedDict, total=False): actionFlowId: str inputValues: _list[InputValue] @typing.type_check_only -class AdditionalContent(typing_extensions.TypedDict, total=False): +class AdditionalContent(typing.TypedDict, total=False): paragraphs: _list[str] title: str @typing.type_check_only -class AggregateProductStatus(typing_extensions.TypedDict, total=False): +class AggregateProductStatus(typing.TypedDict, total=False): country: str itemLevelIssues: _list[ItemLevelIssue] name: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -63,15 +61,15 @@ class AggregateProductStatus(typing_extensions.TypedDict, total=False): stats: Stats @typing.type_check_only -class Breakdown(typing_extensions.TypedDict, total=False): +class Breakdown(typing.TypedDict, total=False): details: _list[str] regions: _list[Region] @typing.type_check_only -class BuiltInSimpleAction(typing_extensions.TypedDict, total=False): +class BuiltInSimpleAction(typing.TypedDict, total=False): additionalContent: AdditionalContent attributeCode: str - type: typing_extensions.Literal[ + type: typing.Literal[ "BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", "VERIFY_PHONE", "CLAIM_WEBSITE", @@ -85,41 +83,41 @@ class BuiltInSimpleAction(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BuiltInUserInputAction(typing_extensions.TypedDict, total=False): +class BuiltInUserInputAction(typing.TypedDict, total=False): actionContext: str flows: _list[ActionFlow] @typing.type_check_only -class Callout(typing_extensions.TypedDict, total=False): +class Callout(typing.TypedDict, total=False): fullMessage: TextWithTooltip - styleHint: typing_extensions.Literal[ + styleHint: typing.Literal[ "CALLOUT_STYLE_HINT_UNSPECIFIED", "ERROR", "WARNING", "INFO" ] @typing.type_check_only -class CheckboxInput(typing_extensions.TypedDict, total=False): ... +class CheckboxInput(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckboxInputValue(typing_extensions.TypedDict, total=False): +class CheckboxInputValue(typing.TypedDict, total=False): value: bool @typing.type_check_only -class ChoiceInput(typing_extensions.TypedDict, total=False): +class ChoiceInput(typing.TypedDict, total=False): options: _list[ChoiceInputOption] @typing.type_check_only -class ChoiceInputOption(typing_extensions.TypedDict, total=False): +class ChoiceInputOption(typing.TypedDict, total=False): additionalInput: InputField id: str label: TextWithTooltip @typing.type_check_only -class ChoiceInputValue(typing_extensions.TypedDict, total=False): +class ChoiceInputValue(typing.TypedDict, total=False): choiceInputOptionId: str @typing.type_check_only -class ExternalAction(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ExternalAction(typing.TypedDict, total=False): + type: typing.Literal[ "EXTERNAL_ACTION_TYPE_UNSPECIFIED", "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", @@ -130,15 +128,13 @@ class ExternalAction(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Impact(typing_extensions.TypedDict, total=False): +class Impact(typing.TypedDict, total=False): breakdowns: _list[Breakdown] message: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class InputField(typing_extensions.TypedDict, total=False): +class InputField(typing.TypedDict, total=False): checkboxInput: CheckboxInput choiceInput: ChoiceInput id: str @@ -147,38 +143,38 @@ class InputField(typing_extensions.TypedDict, total=False): textInput: TextInput @typing.type_check_only -class InputValue(typing_extensions.TypedDict, total=False): +class InputValue(typing.TypedDict, total=False): checkboxInputValue: CheckboxInputValue choiceInputValue: ChoiceInputValue inputFieldId: str textInputValue: TextInputValue @typing.type_check_only -class ItemLevelIssue(typing_extensions.TypedDict, total=False): +class ItemLevelIssue(typing.TypedDict, total=False): attribute: str code: str description: str detail: str documentationUri: str productCount: str - resolution: typing_extensions.Literal[ + resolution: typing.Literal[ "RESOLUTION_UNSPECIFIED", "MERCHANT_ACTION", "PENDING_PROCESSING" ] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" ] @typing.type_check_only -class ListAggregateProductStatusesResponse(typing_extensions.TypedDict, total=False): +class ListAggregateProductStatusesResponse(typing.TypedDict, total=False): aggregateProductStatuses: _list[AggregateProductStatus] nextPageToken: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -202,51 +198,47 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class Reason(typing_extensions.TypedDict, total=False): +class Reason(typing.TypedDict, total=False): action: Action detail: str message: str @typing.type_check_only -class Region(typing_extensions.TypedDict, total=False): +class Region(typing.TypedDict, total=False): code: str name: str @typing.type_check_only -class RenderAccountIssuesResponse(typing_extensions.TypedDict, total=False): +class RenderAccountIssuesResponse(typing.TypedDict, total=False): renderedIssues: _list[RenderedIssue] @typing.type_check_only -class RenderIssuesRequestPayload(typing_extensions.TypedDict, total=False): - contentOption: typing_extensions.Literal[ - "CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML" - ] - userInputActionOption: typing_extensions.Literal[ +class RenderIssuesRequestPayload(typing.TypedDict, total=False): + contentOption: typing.Literal["CONTENT_OPTION_UNSPECIFIED", "PRE_RENDERED_HTML"] + userInputActionOption: typing.Literal[ "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", "REDIRECT_TO_MERCHANT_CENTER", "BUILT_IN_USER_INPUT_ACTIONS", ] @typing.type_check_only -class RenderProductIssuesResponse(typing_extensions.TypedDict, total=False): +class RenderProductIssuesResponse(typing.TypedDict, total=False): renderedIssues: _list[RenderedIssue] @typing.type_check_only -class RenderedIssue(typing_extensions.TypedDict, total=False): +class RenderedIssue(typing.TypedDict, total=False): actions: _list[Action] impact: Impact prerenderedContent: str @@ -254,38 +246,38 @@ class RenderedIssue(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Stats(typing_extensions.TypedDict, total=False): +class Stats(typing.TypedDict, total=False): activeCount: str disapprovedCount: str expiringCount: str pendingCount: str @typing.type_check_only -class TextInput(typing_extensions.TypedDict, total=False): +class TextInput(typing.TypedDict, total=False): additionalInfo: TextWithTooltip ariaLabel: str formatInfo: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TEXT_INPUT_TYPE_UNSPECIFIED", "GENERIC_SHORT_TEXT", "GENERIC_LONG_TEXT" ] @typing.type_check_only -class TextInputValue(typing_extensions.TypedDict, total=False): +class TextInputValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class TextWithTooltip(typing_extensions.TypedDict, total=False): +class TextWithTooltip(typing.TypedDict, total=False): simpleTooltipValue: str simpleValue: str - tooltipIconStyle: typing_extensions.Literal[ + tooltipIconStyle: typing.Literal[ "TOOLTIP_ICON_STYLE_UNSPECIFIED", "INFO", "QUESTION" ] @typing.type_check_only -class TriggerActionPayload(typing_extensions.TypedDict, total=False): +class TriggerActionPayload(typing.TypedDict, total=False): actionContext: str actionInput: ActionInput @typing.type_check_only -class TriggerActionResponse(typing_extensions.TypedDict, total=False): +class TriggerActionResponse(typing.TypedDict, total=False): message: str diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/resources.pyi index 41d884f79..4c3dfc771 100644 --- a/googleapiclient-stubs/_apis/merchantapi/lfp_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/schemas.pyi index 7f1e2c469..4510a7204 100644 --- a/googleapiclient-stubs/_apis/merchantapi/lfp_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1/schemas.pyi @@ -1,32 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CountrySettings(typing_extensions.TypedDict, total=False): +class CountrySettings(typing.TypedDict, total=False): freeLocalListingsEnabled: bool - instockServingVerificationState: typing_extensions.Literal[ + instockServingVerificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "VERIFICATION_STATE_NOT_APPROVED", "VERIFICATION_STATE_IN_PROGRESS", "VERIFICATION_STATE_APPROVED", ] - inventoryVerificationState: typing_extensions.Literal[ + inventoryVerificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "VERIFICATION_STATE_NOT_APPROVED", "VERIFICATION_STATE_IN_PROGRESS", "VERIFICATION_STATE_APPROVED", ] localInventoryAdsEnabled: bool - pickupServingVerificationState: typing_extensions.Literal[ + pickupServingVerificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "VERIFICATION_STATE_NOT_APPROVED", "VERIFICATION_STATE_IN_PROGRESS", "VERIFICATION_STATE_APPROVED", ] - productPageType: typing_extensions.Literal[ + productPageType: typing.Literal[ "PRODUCT_PAGE_TYPE_UNSPECIFIED", "GOOGLE_HOSTED", "MERCHANT_HOSTED", @@ -35,17 +33,17 @@ class CountrySettings(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class InventoryStats(typing_extensions.TypedDict, total=False): +class InventoryStats(typing.TypedDict, total=False): submittedEntries: str submittedInStockEntries: str submittedProducts: str unsubmittedEntries: str @typing.type_check_only -class LfpInventory(typing_extensions.TypedDict, total=False): +class LfpInventory(typing.TypedDict, total=False): availability: str collectionTime: str contentLanguage: str @@ -62,7 +60,7 @@ class LfpInventory(typing_extensions.TypedDict, total=False): targetAccount: str @typing.type_check_only -class LfpMerchantState(typing_extensions.TypedDict, total=False): +class LfpMerchantState(typing.TypedDict, total=False): countrySettings: _list[CountrySettings] inventoryStats: InventoryStats linkedGbps: str @@ -70,7 +68,7 @@ class LfpMerchantState(typing_extensions.TypedDict, total=False): storeStates: _list[LfpStoreState] @typing.type_check_only -class LfpSale(typing_extensions.TypedDict, total=False): +class LfpSale(typing.TypedDict, total=False): contentLanguage: str feedLabel: str gtin: str @@ -85,9 +83,9 @@ class LfpSale(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class LfpStore(typing_extensions.TypedDict, total=False): +class LfpStore(typing.TypedDict, total=False): gcidCategory: _list[str] - matchingState: typing_extensions.Literal[ + matchingState: typing.Literal[ "STORE_MATCHING_STATE_UNSPECIFIED", "STORE_MATCHING_STATE_MATCHED", "STORE_MATCHING_STATE_FAILED", @@ -103,8 +101,8 @@ class LfpStore(typing_extensions.TypedDict, total=False): websiteUri: str @typing.type_check_only -class LfpStoreState(typing_extensions.TypedDict, total=False): - matchingState: typing_extensions.Literal[ +class LfpStoreState(typing.TypedDict, total=False): + matchingState: typing.Literal[ "STORE_MATCHING_STATE_UNSPECIFIED", "STORE_MATCHING_STATE_MATCHED", "STORE_MATCHING_STATE_FAILED", @@ -113,21 +111,21 @@ class LfpStoreState(typing_extensions.TypedDict, total=False): storeCode: str @typing.type_check_only -class ListLfpStoresResponse(typing_extensions.TypedDict, total=False): +class ListLfpStoresResponse(typing.TypedDict, total=False): lfpStores: _list[LfpStore] nextPageToken: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -151,15 +149,13 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/resources.pyi index 41d884f79..4c3dfc771 100644 --- a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi index 7f1e2c469..4510a7204 100644 --- a/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/lfp_v1beta/schemas.pyi @@ -1,32 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CountrySettings(typing_extensions.TypedDict, total=False): +class CountrySettings(typing.TypedDict, total=False): freeLocalListingsEnabled: bool - instockServingVerificationState: typing_extensions.Literal[ + instockServingVerificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "VERIFICATION_STATE_NOT_APPROVED", "VERIFICATION_STATE_IN_PROGRESS", "VERIFICATION_STATE_APPROVED", ] - inventoryVerificationState: typing_extensions.Literal[ + inventoryVerificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "VERIFICATION_STATE_NOT_APPROVED", "VERIFICATION_STATE_IN_PROGRESS", "VERIFICATION_STATE_APPROVED", ] localInventoryAdsEnabled: bool - pickupServingVerificationState: typing_extensions.Literal[ + pickupServingVerificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "VERIFICATION_STATE_NOT_APPROVED", "VERIFICATION_STATE_IN_PROGRESS", "VERIFICATION_STATE_APPROVED", ] - productPageType: typing_extensions.Literal[ + productPageType: typing.Literal[ "PRODUCT_PAGE_TYPE_UNSPECIFIED", "GOOGLE_HOSTED", "MERCHANT_HOSTED", @@ -35,17 +33,17 @@ class CountrySettings(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class InventoryStats(typing_extensions.TypedDict, total=False): +class InventoryStats(typing.TypedDict, total=False): submittedEntries: str submittedInStockEntries: str submittedProducts: str unsubmittedEntries: str @typing.type_check_only -class LfpInventory(typing_extensions.TypedDict, total=False): +class LfpInventory(typing.TypedDict, total=False): availability: str collectionTime: str contentLanguage: str @@ -62,7 +60,7 @@ class LfpInventory(typing_extensions.TypedDict, total=False): targetAccount: str @typing.type_check_only -class LfpMerchantState(typing_extensions.TypedDict, total=False): +class LfpMerchantState(typing.TypedDict, total=False): countrySettings: _list[CountrySettings] inventoryStats: InventoryStats linkedGbps: str @@ -70,7 +68,7 @@ class LfpMerchantState(typing_extensions.TypedDict, total=False): storeStates: _list[LfpStoreState] @typing.type_check_only -class LfpSale(typing_extensions.TypedDict, total=False): +class LfpSale(typing.TypedDict, total=False): contentLanguage: str feedLabel: str gtin: str @@ -85,9 +83,9 @@ class LfpSale(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class LfpStore(typing_extensions.TypedDict, total=False): +class LfpStore(typing.TypedDict, total=False): gcidCategory: _list[str] - matchingState: typing_extensions.Literal[ + matchingState: typing.Literal[ "STORE_MATCHING_STATE_UNSPECIFIED", "STORE_MATCHING_STATE_MATCHED", "STORE_MATCHING_STATE_FAILED", @@ -103,8 +101,8 @@ class LfpStore(typing_extensions.TypedDict, total=False): websiteUri: str @typing.type_check_only -class LfpStoreState(typing_extensions.TypedDict, total=False): - matchingState: typing_extensions.Literal[ +class LfpStoreState(typing.TypedDict, total=False): + matchingState: typing.Literal[ "STORE_MATCHING_STATE_UNSPECIFIED", "STORE_MATCHING_STATE_MATCHED", "STORE_MATCHING_STATE_FAILED", @@ -113,21 +111,21 @@ class LfpStoreState(typing_extensions.TypedDict, total=False): storeCode: str @typing.type_check_only -class ListLfpStoresResponse(typing_extensions.TypedDict, total=False): +class ListLfpStoresResponse(typing.TypedDict, total=False): lfpStores: _list[LfpStore] nextPageToken: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -151,15 +149,13 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] diff --git a/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/__init__.pyi b/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/resources.pyi new file mode 100644 index 000000000..f2b6638de --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/resources.pyi @@ -0,0 +1,49 @@ +import collections.abc +import typing + +import httplib2 + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class MerchantResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LoyaltyCustomersResource(googleapiclient.discovery.Resource): + def manage( + self, + *, + parent: str, + body: ManageLoyaltyCustomerMatchRequest, + **kwargs: typing.Any, + ) -> ManageLoyaltyCustomerMatchResponseHttpRequest: ... + + def loyaltyCustomers(self) -> LoyaltyCustomersResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def accounts(self) -> AccountsResource: ... + +@typing.type_check_only +class ManageLoyaltyCustomerMatchResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ManageLoyaltyCustomerMatchResponse: ... diff --git a/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/schemas.pyi new file mode 100644 index 000000000..c77af0fd4 --- /dev/null +++ b/googleapiclient-stubs/_apis/merchantapi/loyaltycustomers_v1/schemas.pyi @@ -0,0 +1,82 @@ +import typing + +_list = list + +@typing.type_check_only +class AddressInfo(typing.TypedDict, total=False): + city: str + familyName: str + givenName: str + postalCode: str + regionCode: str + state: str + +@typing.type_check_only +class LoyaltyCustomer(typing.TypedDict, total=False): + loyaltyTier: typing.Literal[ + "LOYALTY_TIER_UNSPECIFIED", + "TIER1", + "TIER2", + "TIER3", + "TIER4", + "TIER5", + "TIER6", + "TIER7", + "NON_MEMBER", + ] + pointBalance: str + userIdentifier: UserIdentifier + +@typing.type_check_only +class ManageLoyaltyCustomerMatchRequest(typing.TypedDict, total=False): + loyaltyCustomer: LoyaltyCustomer + +@typing.type_check_only +class ManageLoyaltyCustomerMatchResponse(typing.TypedDict, total=False): + loyaltyCustomer: LoyaltyCustomer + +@typing.type_check_only +class ProductChange(typing.TypedDict, total=False): + newValue: str + oldValue: str + regionCode: str + reportingContext: typing.Literal[ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LISTINGS_UCP_CHECKOUT", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT", + ] + +@typing.type_check_only +class ProductStatusChangeMessage(typing.TypedDict, total=False): + account: str + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + changes: _list[ProductChange] + eventTime: str + expirationTime: str + managingAccount: str + resource: str + resourceId: str + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] + +@typing.type_check_only +class UserIdentifier(typing.TypedDict, total=False): + address: AddressInfo + emailAddress: str + phoneNumber: str diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/resources.pyi index 6a422f35f..a4a641b87 100644 --- a/googleapiclient-stubs/_apis/merchantapi/notifications_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/schemas.pyi index b91081584..92b63dbd2 100644 --- a/googleapiclient-stubs/_apis/merchantapi/notifications_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1/schemas.pyi @@ -1,33 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListNotificationSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListNotificationSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str notificationSubscriptions: _list[NotificationSubscription] @typing.type_check_only -class NotificationSubscription(typing_extensions.TypedDict, total=False): +class NotificationSubscription(typing.TypedDict, total=False): allManagedAccounts: bool callBackUri: str name: str - registeredEvent: typing_extensions.Literal[ - "NOTIFICATION_EVENT_TYPE_UNSPECIFIED", "PRODUCT_STATUS_CHANGE" + registeredEvent: typing.Literal[ + "NOTIFICATION_EVENT_TYPE_UNSPECIFIED", + "PRODUCT_STATUS_CHANGE", + "ACCOUNT_SERVICE_CHANGE", ] targetAccount: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -51,15 +51,13 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/resources.pyi index 6a422f35f..a4a641b87 100644 --- a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi index b91081584..92b63dbd2 100644 --- a/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/notifications_v1beta/schemas.pyi @@ -1,33 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListNotificationSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListNotificationSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str notificationSubscriptions: _list[NotificationSubscription] @typing.type_check_only -class NotificationSubscription(typing_extensions.TypedDict, total=False): +class NotificationSubscription(typing.TypedDict, total=False): allManagedAccounts: bool callBackUri: str name: str - registeredEvent: typing_extensions.Literal[ - "NOTIFICATION_EVENT_TYPE_UNSPECIFIED", "PRODUCT_STATUS_CHANGE" + registeredEvent: typing.Literal[ + "NOTIFICATION_EVENT_TYPE_UNSPECIFIED", + "PRODUCT_STATUS_CHANGE", + "ACCOUNT_SERVICE_CHANGE", ] targetAccount: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -51,15 +51,13 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/resources.pyi index 1f9f1f57e..578339ab5 100644 --- a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi index 36c562055..0bdf4d0a8 100644 --- a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -17,7 +15,7 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class LineItemDetails(typing_extensions.TypedDict, total=False): +class LineItemDetails(typing.TypedDict, total=False): brand: str gtins: _list[str] lineItemId: str @@ -27,7 +25,7 @@ class LineItemDetails(typing_extensions.TypedDict, total=False): quantity: str @typing.type_check_only -class OrderTrackingSignal(typing_extensions.TypedDict, total=False): +class OrderTrackingSignal(typing.TypedDict, total=False): customerShippingFee: Price deliveryPostalCode: str deliveryRegionCode: str @@ -40,16 +38,16 @@ class OrderTrackingSignal(typing_extensions.TypedDict, total=False): shippingInfo: _list[ShippingInfo] @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -73,27 +71,25 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ShipmentLineItemMapping(typing_extensions.TypedDict, total=False): +class ShipmentLineItemMapping(typing.TypedDict, total=False): lineItemId: str quantity: str shipmentId: str @typing.type_check_only -class ShippingInfo(typing_extensions.TypedDict, total=False): +class ShippingInfo(typing.TypedDict, total=False): actualDeliveryTime: DateTime carrier: str carrierService: str @@ -103,12 +99,10 @@ class ShippingInfo(typing_extensions.TypedDict, total=False): originRegionCode: str shipmentId: str shippedTime: DateTime - shippingStatus: typing_extensions.Literal[ - "SHIPPING_STATE_UNSPECIFIED", "SHIPPED", "DELIVERED" - ] + shippingStatus: typing.Literal["SHIPPING_STATE_UNSPECIFIED", "SHIPPED", "DELIVERED"] trackingId: str @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi index 1f9f1f57e..578339ab5 100644 --- a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi index 8ba90430f..9cfca3f8d 100644 --- a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -17,7 +15,7 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class LineItemDetails(typing_extensions.TypedDict, total=False): +class LineItemDetails(typing.TypedDict, total=False): brand: str gtin: str gtins: _list[str] @@ -28,7 +26,7 @@ class LineItemDetails(typing_extensions.TypedDict, total=False): quantity: str @typing.type_check_only -class OrderTrackingSignal(typing_extensions.TypedDict, total=False): +class OrderTrackingSignal(typing.TypedDict, total=False): customerShippingFee: Price deliveryPostalCode: str deliveryRegionCode: str @@ -41,16 +39,16 @@ class OrderTrackingSignal(typing_extensions.TypedDict, total=False): shippingInfo: _list[ShippingInfo] @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -74,27 +72,25 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ShipmentLineItemMapping(typing_extensions.TypedDict, total=False): +class ShipmentLineItemMapping(typing.TypedDict, total=False): lineItemId: str quantity: str shipmentId: str @typing.type_check_only -class ShippingInfo(typing_extensions.TypedDict, total=False): +class ShippingInfo(typing.TypedDict, total=False): actualDeliveryTime: DateTime carrier: str carrierService: str @@ -104,12 +100,10 @@ class ShippingInfo(typing_extensions.TypedDict, total=False): originRegionCode: str shipmentId: str shippedTime: DateTime - shippingStatus: typing_extensions.Literal[ - "SHIPPING_STATE_UNSPECIFIED", "SHIPPED", "DELIVERED" - ] + shippingStatus: typing.Literal["SHIPPING_STATE_UNSPECIFIED", "SHIPPED", "DELIVERED"] trackingId: str @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1/resources.pyi index 8f100c9a7..50fac77de 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi index 0175d35c5..c0ac3afda 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AutomatedDiscounts(typing_extensions.TypedDict, total=False): +class AutomatedDiscounts(typing.TypedDict, total=False): gadPrice: Price priorPrice: Price priorPriceProgressive: Price @typing.type_check_only -class CarrierShipping(typing_extensions.TypedDict, total=False): - carrierPrice: typing_extensions.Literal[ +class CarrierShipping(typing.TypedDict, total=False): + carrierPrice: typing.Literal[ "CARRIER_PRICE_OPTION_UNSPECIFIED", "AUSTRALIA_POST_REGULAR", "AUSTRALIA_POST_EXPRESS", @@ -78,7 +76,7 @@ class CarrierShipping(typing_extensions.TypedDict, total=False): ] carrierPriceFlatAdjustment: Price carrierPricePercentageAdjustment: float - carrierTransitTime: typing_extensions.Literal[ + carrierTransitTime: typing.Literal[ "CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED", "DHL_PAKET", "DHL_PACKCHEN", @@ -131,7 +129,7 @@ class CarrierShipping(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): +class CloudExportAdditionalProperties(typing.TypedDict, total=False): boolValue: bool floatValue: _list[float] intValue: _list[str] @@ -142,22 +140,22 @@ class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): unitCode: str @typing.type_check_only -class Co2Emissions(typing_extensions.TypedDict, total=False): - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "GPERKM"] +class Co2Emissions(typing.TypedDict, total=False): + unit: typing.Literal["UNIT_UNSPECIFIED", "GPERKM"] value: str @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class DestinationStatus(typing_extensions.TypedDict, total=False): +class DestinationStatus(typing.TypedDict, total=False): approvedCountries: _list[str] disapprovedCountries: _list[str] pendingCountries: _list[str] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -181,7 +179,7 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DisplayAddress(typing_extensions.TypedDict, total=False): +class DisplayAddress(typing.TypedDict, total=False): city: str postalCode: str region: str @@ -189,44 +187,44 @@ class DisplayAddress(typing_extensions.TypedDict, total=False): streetNumber: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnergyConsumption(typing_extensions.TypedDict, total=False): - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "KWHPER100KM"] +class EnergyConsumption(typing.TypedDict, total=False): + unit: typing.Literal["UNIT_UNSPECIFIED", "KWHPER100KM"] value: float @typing.type_check_only -class FreeShippingThreshold(typing_extensions.TypedDict, total=False): +class FreeShippingThreshold(typing.TypedDict, total=False): country: str priceThreshold: Price @typing.type_check_only -class FuelConsumption(typing_extensions.TypedDict, total=False): - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "LPER100KM", "KGPER100KM"] +class FuelConsumption(typing.TypedDict, total=False): + unit: typing.Literal["UNIT_UNSPECIFIED", "LPER100KM", "KGPER100KM"] value: float @typing.type_check_only -class HandlingCutoffTime(typing_extensions.TypedDict, total=False): +class HandlingCutoffTime(typing.TypedDict, total=False): country: str cutoffTime: str cutoffTimezone: str disableDeliveryAfterCutoff: bool @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ItemLevelIssue(typing_extensions.TypedDict, total=False): +class ItemLevelIssue(typing.TypedDict, total=False): applicableCountries: _list[str] attribute: str code: str description: str detail: str documentation: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -249,23 +247,29 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_CHECKOUT", ] resolution: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" ] @typing.type_check_only -class ListProductsResponse(typing_extensions.TypedDict, total=False): +class LeaseTerm(typing.TypedDict, total=False): + durationUnit: typing.Literal["DURATION_UNIT_UNSPECIFIED", "MONTHS", "WEEKS"] + durationValue: str + type: typing.Literal["LEASE_TERM_TYPE_UNSPECIFIED", "FIXED_TERM"] + +@typing.type_check_only +class ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] @typing.type_check_only -class LoyaltyPoints(typing_extensions.TypedDict, total=False): +class LoyaltyPoints(typing.TypedDict, total=False): name: str pointsValue: str ratio: float @typing.type_check_only -class LoyaltyProgram(typing_extensions.TypedDict, total=False): +class LoyaltyProgram(typing.TypedDict, total=False): cashbackForFutureUse: Price loyaltyPoints: str memberPriceEffectiveDate: Interval @@ -275,31 +279,29 @@ class LoyaltyProgram(typing_extensions.TypedDict, total=False): tierLabel: str @typing.type_check_only -class Mileage(typing_extensions.TypedDict, total=False): - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "MILES", "KM"] +class Mileage(typing.TypedDict, total=False): + unit: typing.Literal["UNIT_UNSPECIFIED", "MILES", "KM"] value: str @typing.type_check_only -class PetPolicy(typing_extensions.TypedDict, total=False): +class PetPolicy(typing.TypedDict, total=False): petTypes: _list[ - typing_extensions.Literal[ - "PET_TYPE_UNSPECIFIED", "CATS", "LARGE_DOGS", "SMALL_DOGS" - ] + typing.Literal["PET_TYPE_UNSPECIFIED", "CATS", "LARGE_DOGS", "SMALL_DOGS"] ] petsAllowed: bool @typing.type_check_only -class PickupCost(typing_extensions.TypedDict, total=False): +class PickupCost(typing.TypedDict, total=False): flatRate: Price freeThreshold: Price @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): archived: bool automatedDiscounts: AutomatedDiscounts base64EncodedName: str @@ -315,17 +317,17 @@ class Product(typing_extensions.TypedDict, total=False): versionNumber: str @typing.type_check_only -class ProductAttributes(typing_extensions.TypedDict, total=False): +class ProductAttributes(typing.TypedDict, total=False): additionalImageLinks: _list[str] adsGrouping: str adsLabels: _list[str] adsRedirect: str adult: bool - ageGroup: typing_extensions.Literal[ + ageGroup: typing.Literal[ "AGE_GROUP_UNSPECIFIED", "ADULT", "KIDS", "TODDLER", "INFANT", "NEWBORN" ] amenityFeature: _list[ - typing_extensions.Literal[ + typing.Literal[ "AMENITY_FEATURE_UNSPECIFIED", "BALCONY", "BASEMENT", @@ -364,7 +366,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): ] ] autoPricingMinPrice: Price - availability: typing_extensions.Literal[ + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", @@ -373,7 +375,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "BACKORDER", ] availabilityDate: str - bodyStyle: typing_extensions.Literal[ + bodyStyle: typing.Literal[ "VEHICLE_BODY_STYLE_UNSPECIFIED", "ATV_SPORT", "ATV_TOURING", @@ -415,9 +417,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): cloudExportAdditionalProperties: _list[CloudExportAdditionalProperties] co2Emissions: Co2Emissions color: str - condition: typing_extensions.Literal[ - "CONDITION_UNSPECIFIED", "NEW", "USED", "REFURBISHED" - ] + condition: typing.Literal["CONDITION_UNSPECIFIED", "NEW", "USED", "REFURBISHED"] costOfGoodsSold: Price customLabel0: str customLabel1: str @@ -435,7 +435,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): displayAdsValue: float documentLinks: _list[str] electricRange: Mileage - emissionsStandard: typing_extensions.Literal[ + emissionsStandard: typing.Literal[ "EMISSIONS_STANDARD_UNSPECIFIED", "ZERO_EMISSIONS", "EURO1", @@ -451,7 +451,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "EURO6E", ] energyConsumption: EnergyConsumption - energyEfficiencyClass: typing_extensions.Literal[ + energyEfficiencyClass: typing.Literal[ "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", "APPP", "APP", @@ -464,7 +464,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "F", "G", ] - engine: typing_extensions.Literal[ + engine: typing.Literal[ "ENGINE_TYPE_UNSPECIFIED", "GASOLINE", "DIESEL", @@ -477,7 +477,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "OTHER", ] excludedDestinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -498,14 +498,14 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): freeShippingThreshold: _list[FreeShippingThreshold] fuelConsumption: FuelConsumption fuelConsumptionDischargedBattery: FuelConsumption - gender: typing_extensions.Literal["GENDER_UNSPECIFIED", "MALE", "FEMALE", "UNISEX"] + gender: typing.Literal["GENDER_UNSPECIFIED", "MALE", "FEMALE", "UNISEX"] googleProductCategory: str gtins: _list[str] handlingCutoffTimes: _list[HandlingCutoffTime] identifierExists: bool imageLink: str includedDestinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -526,6 +526,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): itemGroupId: str itemGroupTitle: str latitude: float + leaseTerm: LeaseTerm lifestyleImageLinks: _list[str] link: str linkTemplate: str @@ -533,7 +534,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): loyaltyPoints: LoyaltyPoints loyaltyPrograms: _list[LoyaltyProgram] material: str - maxEnergyEfficiencyClass: typing_extensions.Literal[ + maxEnergyEfficiencyClass: typing.Literal[ "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", "APPP", "APP", @@ -549,7 +550,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): maxHandlingTime: str maximumRetailPrice: Price mileage: Mileage - minEnergyEfficiencyClass: typing_extensions.Literal[ + minEnergyEfficiencyClass: typing.Literal[ "ENERGY_EFFICIENCY_CLASS_UNSPECIFIED", "APPP", "APP", @@ -574,13 +575,13 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): numberOfBedrooms: float numberOfUnits: str pattern: str - pause: typing_extensions.Literal["PAUSE_UNSPECIFIED", "ADS", "ALL"] + pause: typing.Literal["PAUSE_UNSPECIFIED", "ADS", "ALL"] petPolicy: PetPolicy pickupCost: PickupCost - pickupMethod: typing_extensions.Literal[ + pickupMethod: typing.Literal[ "PICKUP_METHOD_UNSPECIFIED", "NOT_SUPPORTED", "BUY", "RESERVE", "SHIP_TO_STORE" ] - pickupSla: typing_extensions.Literal[ + pickupSla: typing.Literal[ "PICKUP_SLA_UNSPECIFIED", "SAME_DAY", "NEXT_DAY", @@ -603,7 +604,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): productWidth: ProductDimension promotionIds: _list[str] propertyName: str - propertyType: typing_extensions.Literal[ + propertyType: typing.Literal[ "PROPERTY_TYPE_UNSPECIFIED", "APARTMENT", "CONDO", @@ -618,6 +619,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): questionsAndAnswers: _list[QuestionAndAnswer] relatedProducts: _list[RelatedProduct] returnPolicyLabel: str + returns: _list[Returns] salePrice: Price salePriceEffectiveDate: Interval sellOnGoogleQuantity: str @@ -632,7 +634,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): shoppingAdsExcludedCountries: _list[str] shortTitle: str size: str - sizeSystem: typing_extensions.Literal[ + sizeSystem: typing.Literal[ "SIZE_SYSTEM_UNSPECIFIED", "AU", "BR", @@ -647,7 +649,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "US", ] sizeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SIZE_TYPE_UNSPECIFIED", "REGULAR", "PETITE", @@ -657,7 +659,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): "PLUS", ] ] - specialtyHousingType: typing_extensions.Literal[ + specialtyHousingType: typing.Literal[ "SPECIALTY_HOUSING_TYPE_UNSPECIFIED", "CORPORATE", "LOW_INCOME", @@ -677,7 +679,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): unitPricingBaseMeasure: UnitPricingBaseMeasure unitPricingMeasure: UnitPricingMeasure utilitiesIncluded: _list[ - typing_extensions.Literal[ + typing.Literal[ "UTILITIES_INCLUDED_UNSPECIFIED", "ELECTRICITY", "GAS", @@ -691,7 +693,7 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): vehicleExpenses: Price vehicleMandatoryInspectionIncluded: bool vehicleMsrp: Price - vehiclePriceType: typing_extensions.Literal[ + vehiclePriceType: typing.Literal[ "VEHICLE_PRICE_TYPE_UNSPECIFIED", "ALL_IN_PRICE", "DRIVE_AWAY_PRICE", @@ -706,12 +708,12 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): year: str @typing.type_check_only -class ProductCertification(typing_extensions.TypedDict, total=False): - certificationAuthority: typing_extensions.Literal[ +class ProductCertification(typing.TypedDict, total=False): + certificationAuthority: typing.Literal[ "CERTIFICATION_AUTHORITY_UNSPECIFIED", "ADEME", "BMWK", "EPA", "EC" ] certificationCode: str - certificationName: typing_extensions.Literal[ + certificationName: typing.Literal[ "CERTIFICATION_NAME_UNSPECIFIED", "ENERGY_STAR", "ENERGY_STAR_MOST_EFFICIENT", @@ -723,11 +725,11 @@ class ProductCertification(typing_extensions.TypedDict, total=False): certificationValue: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -751,25 +753,25 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductDetail(typing_extensions.TypedDict, total=False): +class ProductDetail(typing.TypedDict, total=False): attributeName: str attributeValue: str sectionName: str @typing.type_check_only -class ProductDimension(typing_extensions.TypedDict, total=False): +class ProductDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductFee(typing_extensions.TypedDict, total=False): +class ProductFee(typing.TypedDict, total=False): amount: Price - type: typing_extensions.Literal[ + type: typing.Literal[ "FEE_TYPE_UNSPECIFIED", "ADMIN_FEE", "APPLICATION_FEE", "SECURITY_DEPOSIT" ] @typing.type_check_only -class ProductInput(typing_extensions.TypedDict, total=False): +class ProductInput(typing.TypedDict, total=False): base64EncodedName: str base64EncodedProduct: str contentLanguage: str @@ -783,25 +785,23 @@ class ProductInput(typing_extensions.TypedDict, total=False): versionNumber: str @typing.type_check_only -class ProductInstallment(typing_extensions.TypedDict, total=False): +class ProductInstallment(typing.TypedDict, total=False): amount: Price annualPercentageRate: float - creditType: typing_extensions.Literal["CREDIT_TYPE_UNSPECIFIED", "FINANCE", "LEASE"] + creditType: typing.Literal["CREDIT_TYPE_UNSPECIFIED", "FINANCE", "LEASE"] downpayment: Price months: str totalAmount: Price @typing.type_check_only -class ProductMinimumOrderValue(typing_extensions.TypedDict, total=False): +class ProductMinimumOrderValue(typing.TypedDict, total=False): country: str price: Price service: str - surface: typing_extensions.Literal[ - "SURFACE_UNSPECIFIED", "ONLINE", "LOCAL", "ONLINE_LOCAL" - ] + surface: typing.Literal["SURFACE_UNSPECIFIED", "ONLINE", "LOCAL", "ONLINE_LOCAL"] @typing.type_check_only -class ProductStatus(typing_extensions.TypedDict, total=False): +class ProductStatus(typing.TypedDict, total=False): creationDate: str destinationStatuses: _list[DestinationStatus] googleExpirationDate: str @@ -809,42 +809,38 @@ class ProductStatus(typing_extensions.TypedDict, total=False): lastUpdateDate: str @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ProductSustainabilityIncentive(typing_extensions.TypedDict, total=False): +class ProductSustainabilityIncentive(typing.TypedDict, total=False): amount: Price percentage: float - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "EV_TAX_CREDIT", "EV_PRICE_DISCOUNT" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "EV_TAX_CREDIT", "EV_PRICE_DISCOUNT"] @typing.type_check_only -class ProductWeight(typing_extensions.TypedDict, total=False): +class ProductWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class QuestionAndAnswer(typing_extensions.TypedDict, total=False): +class QuestionAndAnswer(typing.TypedDict, total=False): answer: str question: str @typing.type_check_only -class RelatedProduct(typing_extensions.TypedDict, total=False): +class RelatedProduct(typing.TypedDict, total=False): id: str - idType: typing_extensions.Literal["ID_TYPE_UNSPECIFIED", "GTIN", "ID"] - relationshipType: typing_extensions.Literal[ + idType: typing.Literal["ID_TYPE_UNSPECIFIED", "GTIN", "ID"] + relationshipType: typing.Literal[ "RELATIONSHIP_TYPE_UNSPECIFIED", "PART_OF_SET", "REQUIRED_PART", @@ -855,7 +851,46 @@ class RelatedProduct(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Shipping(typing_extensions.TypedDict, total=False): +class Returns(typing.TypedDict, total=False): + countries: _list[str] + itemConditions: _list[ + typing.Literal[ + "ITEM_CONDITION_UNSPECIFIED", "NEW", "LIKE_NEW", "USED", "DEFECTIVE_ONLY" + ] + ] + methods: _list[ + typing.Literal[ + "RETURN_METHOD_UNSPECIFIED", + "BY_MAIL", + "IN_STORE", + "AT_A_KIOSK", + "DROP_OFF_LOCATION", + ] + ] + outcomes: _list[ + typing.Literal[ + "RETURN_OUTCOME_UNSPECIFIED", "REFUND", "EXCHANGE", "STORE_CREDIT" + ] + ] + policyUrl: str + restockingFee: Price + restockingPercentageFee: float + shippingFee: Price + shippingFeeType: typing.Literal[ + "RETURN_SHIPPING_FEE_TYPE_UNSPECIFIED", + "CUSTOMER_RESPONSIBILITY", + "DEDUCTED_FROM_REFUND", + ] + windowDays: str + windowType: typing.Literal[ + "RETURN_WINDOW_TYPE_UNSPECIFIED", + "FINITE_RETURN_WINDOW", + "NO_RETURNS", + "LIFETIME", + ] + +@typing.type_check_only +class Shipping(typing.TypedDict, total=False): country: str handlingCutoffTime: str handlingCutoffTimezone: str @@ -873,63 +908,61 @@ class Shipping(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class ShippingBusinessDaysConfig(typing_extensions.TypedDict, total=False): +class ShippingBusinessDaysConfig(typing.TypedDict, total=False): businessDays: str country: str @typing.type_check_only -class ShippingDimension(typing_extensions.TypedDict, total=False): +class ShippingDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ShippingWeight(typing_extensions.TypedDict, total=False): +class ShippingWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class StructuredDescription(typing_extensions.TypedDict, total=False): +class StructuredDescription(typing.TypedDict, total=False): content: str - digitalSourceType: typing_extensions.Literal[ + digitalSourceType: typing.Literal[ "DIGITAL_SOURCE_TYPE_UNSPECIFIED", "TRAINED_ALGORITHMIC_MEDIA", "DEFAULT" ] @typing.type_check_only -class StructuredTitle(typing_extensions.TypedDict, total=False): +class StructuredTitle(typing.TypedDict, total=False): content: str - digitalSourceType: typing_extensions.Literal[ + digitalSourceType: typing.Literal[ "DIGITAL_SOURCE_TYPE_UNSPECIFIED", "TRAINED_ALGORITHMIC_MEDIA", "DEFAULT" ] @typing.type_check_only -class SubscriptionCost(typing_extensions.TypedDict, total=False): +class SubscriptionCost(typing.TypedDict, total=False): amount: Price - period: typing_extensions.Literal[ - "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR", "WEEK" - ] + period: typing.Literal["SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR", "WEEK"] periodLength: str @typing.type_check_only -class UnitArea(typing_extensions.TypedDict, total=False): - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "SQM", "SQFT"] +class UnitArea(typing.TypedDict, total=False): + unit: typing.Literal["UNIT_UNSPECIFIED", "SQM", "SQFT"] value: float @typing.type_check_only -class UnitPricingBaseMeasure(typing_extensions.TypedDict, total=False): +class UnitPricingBaseMeasure(typing.TypedDict, total=False): unit: str value: str @typing.type_check_only -class UnitPricingMeasure(typing_extensions.TypedDict, total=False): +class UnitPricingMeasure(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class VariantOption(typing_extensions.TypedDict, total=False): +class VariantOption(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class Warranty(typing_extensions.TypedDict, total=False): +class Warranty(typing.TypedDict, total=False): duration: str mileage: Mileage diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/resources.pyi index 8f100c9a7..50fac77de 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi index 33a6a78e9..4e46a58f7 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): additionalImageLinks: _list[str] adsGrouping: str adsLabels: _list[str] @@ -103,20 +101,20 @@ class Attributes(typing_extensions.TypedDict, total=False): virtualModelLink: str @typing.type_check_only -class AutomatedDiscounts(typing_extensions.TypedDict, total=False): +class AutomatedDiscounts(typing.TypedDict, total=False): gadPrice: Price priorPrice: Price priorPriceProgressive: Price @typing.type_check_only -class Certification(typing_extensions.TypedDict, total=False): +class Certification(typing.TypedDict, total=False): certificationAuthority: str certificationCode: str certificationName: str certificationValue: str @typing.type_check_only -class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): +class CloudExportAdditionalProperties(typing.TypedDict, total=False): boolValue: bool floatValue: _list[float] intValue: _list[str] @@ -127,17 +125,17 @@ class CloudExportAdditionalProperties(typing_extensions.TypedDict, total=False): unitCode: str @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class DestinationStatus(typing_extensions.TypedDict, total=False): +class DestinationStatus(typing.TypedDict, total=False): approvedCountries: _list[str] disapprovedCountries: _list[str] pendingCountries: _list[str] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -161,34 +159,34 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FreeShippingThreshold(typing_extensions.TypedDict, total=False): +class FreeShippingThreshold(typing.TypedDict, total=False): country: str priceThreshold: Price @typing.type_check_only -class Installment(typing_extensions.TypedDict, total=False): +class Installment(typing.TypedDict, total=False): amount: Price creditType: str downpayment: Price months: str @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ItemLevelIssue(typing_extensions.TypedDict, total=False): +class ItemLevelIssue(typing.TypedDict, total=False): applicableCountries: _list[str] attribute: str code: str description: str detail: str documentation: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -211,23 +209,23 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_CHECKOUT", ] resolution: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" ] @typing.type_check_only -class ListProductsResponse(typing_extensions.TypedDict, total=False): +class ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] @typing.type_check_only -class LoyaltyPoints(typing_extensions.TypedDict, total=False): +class LoyaltyPoints(typing.TypedDict, total=False): name: str pointsValue: str ratio: float @typing.type_check_only -class LoyaltyProgram(typing_extensions.TypedDict, total=False): +class LoyaltyProgram(typing.TypedDict, total=False): cashbackForFutureUse: Price loyaltyPoints: str memberPriceEffectiveDate: Interval @@ -237,17 +235,17 @@ class LoyaltyProgram(typing_extensions.TypedDict, total=False): tierLabel: str @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): archived: bool attributes: Attributes automatedDiscounts: AutomatedDiscounts base64EncodedName: str - channel: typing_extensions.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] + channel: typing.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] contentLanguage: str customAttributes: _list[CustomAttribute] dataSource: str @@ -258,11 +256,11 @@ class Product(typing_extensions.TypedDict, total=False): versionNumber: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -286,22 +284,22 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductDetail(typing_extensions.TypedDict, total=False): +class ProductDetail(typing.TypedDict, total=False): attributeName: str attributeValue: str sectionName: str @typing.type_check_only -class ProductDimension(typing_extensions.TypedDict, total=False): +class ProductDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ProductInput(typing_extensions.TypedDict, total=False): +class ProductInput(typing.TypedDict, total=False): attributes: Attributes base64EncodedName: str base64EncodedProduct: str - channel: typing_extensions.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] + channel: typing.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] contentLanguage: str customAttributes: _list[CustomAttribute] feedLabel: str @@ -311,7 +309,7 @@ class ProductInput(typing_extensions.TypedDict, total=False): versionNumber: str @typing.type_check_only -class ProductStatus(typing_extensions.TypedDict, total=False): +class ProductStatus(typing.TypedDict, total=False): creationDate: str destinationStatuses: _list[DestinationStatus] googleExpirationDate: str @@ -319,44 +317,40 @@ class ProductStatus(typing_extensions.TypedDict, total=False): lastUpdateDate: str @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ProductStructuredDescription(typing_extensions.TypedDict, total=False): +class ProductStructuredDescription(typing.TypedDict, total=False): content: str digitalSourceType: str @typing.type_check_only -class ProductStructuredTitle(typing_extensions.TypedDict, total=False): +class ProductStructuredTitle(typing.TypedDict, total=False): content: str digitalSourceType: str @typing.type_check_only -class ProductSustainabilityIncentive(typing_extensions.TypedDict, total=False): +class ProductSustainabilityIncentive(typing.TypedDict, total=False): amount: Price percentage: float - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "EV_TAX_CREDIT", "EV_PRICE_DISCOUNT" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "EV_TAX_CREDIT", "EV_PRICE_DISCOUNT"] @typing.type_check_only -class ProductWeight(typing_extensions.TypedDict, total=False): +class ProductWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class Shipping(typing_extensions.TypedDict, total=False): +class Shipping(typing.TypedDict, total=False): country: str handlingCutoffTime: str handlingCutoffTimezone: str @@ -374,25 +368,23 @@ class Shipping(typing_extensions.TypedDict, total=False): service: str @typing.type_check_only -class ShippingDimension(typing_extensions.TypedDict, total=False): +class ShippingDimension(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class ShippingWeight(typing_extensions.TypedDict, total=False): +class ShippingWeight(typing.TypedDict, total=False): unit: str value: float @typing.type_check_only -class SubscriptionCost(typing_extensions.TypedDict, total=False): +class SubscriptionCost(typing.TypedDict, total=False): amount: Price - period: typing_extensions.Literal[ - "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR", "WEEK" - ] + period: typing.Literal["SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR", "WEEK"] periodLength: str @typing.type_check_only -class Tax(typing_extensions.TypedDict, total=False): +class Tax(typing.TypedDict, total=False): country: str locationId: str postalCode: str @@ -401,11 +393,11 @@ class Tax(typing_extensions.TypedDict, total=False): taxShip: bool @typing.type_check_only -class UnitPricingBaseMeasure(typing_extensions.TypedDict, total=False): +class UnitPricingBaseMeasure(typing.TypedDict, total=False): unit: str value: str @typing.type_check_only -class UnitPricingMeasure(typing_extensions.TypedDict, total=False): +class UnitPricingMeasure(typing.TypedDict, total=False): unit: str value: float diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/resources.pyi index 1b45193a6..17880aea4 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi index ef3a8ffed..5d10f0e1a 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): - audience: typing_extensions.Literal[ - "AUDIENCE_UNSPECIFIED", "NEW_CUSTOMERS", "LOCATION" - ] +class Attributes(typing.TypedDict, total=False): + audience: typing.Literal["AUDIENCE_UNSPECIFIED", "NEW_CUSTOMERS", "LOCATION"] brandExclusion: _list[str] brandInclusion: _list[str] - couponValueType: typing_extensions.Literal[ + couponValueType: typing.Literal[ "COUPON_VALUE_TYPE_UNSPECIFIED", "MONEY_OFF", "PERCENT_OFF", @@ -29,7 +25,7 @@ class Attributes(typing_extensions.TypedDict, total=False): "PERCENT_OFF_RANGE", ] customRedemptionRestriction: str - eventApplicability: typing_extensions.Literal[ + eventApplicability: typing.Literal[ "EVENT_APPLICABILITY_UNSPECIFIED", "SITEWIDE", "SPECIFIC_CATEGORIES" ] freeGiftDescription: str @@ -53,17 +49,15 @@ class Attributes(typing_extensions.TypedDict, total=False): minimumPurchaseAmount: Price minimumPurchaseQuantity: str moneyOffAmount: Price - offerType: typing_extensions.Literal[ - "OFFER_TYPE_UNSPECIFIED", "NO_CODE", "GENERIC_CODE" - ] + offerType: typing.Literal["OFFER_TYPE_UNSPECIFIED", "NO_CODE", "GENERIC_CODE"] percentOff: str - productApplicability: typing_extensions.Literal[ + productApplicability: typing.Literal[ "PRODUCT_APPLICABILITY_UNSPECIFIED", "ALL_PRODUCTS", "SPECIFIC_PRODUCTS" ] productTypeExclusion: _list[str] productTypeInclusion: _list[str] promotionDestinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -82,7 +76,7 @@ class Attributes(typing_extensions.TypedDict, total=False): promotionDisplayTimePeriod: Interval promotionEffectiveTimePeriod: Interval promotionUrl: str - redemptionRestriction: typing_extensions.Literal[ + redemptionRestriction: typing.Literal[ "REDEMPTION_RESTRICTION_UNSPECIFIED", "SUBSCRIBE", "FIRST_ORDER", @@ -91,21 +85,21 @@ class Attributes(typing_extensions.TypedDict, total=False): "CUSTOM", ] regionIdInclusion: _list[str] - storeApplicability: typing_extensions.Literal[ + storeApplicability: typing.Literal[ "STORE_APPLICABILITY_UNSPECIFIED", "ALL_STORES", "SPECIFIC_STORES" ] storeCodesExclusion: _list[str] storeCodesInclusion: _list[str] @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class DestinationStatus(typing_extensions.TypedDict, total=False): - reportingContext: typing_extensions.Literal[ +class DestinationStatus(typing.TypedDict, total=False): + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -127,7 +121,7 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): "MERCHANT_REVIEWS", "YOUTUBE_CHECKOUT", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATE_UNSPECIFIED", "IN_REVIEW", "REJECTED", @@ -138,24 +132,24 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InsertPromotionRequest(typing_extensions.TypedDict, total=False): +class InsertPromotionRequest(typing.TypedDict, total=False): dataSource: str promotion: Promotion @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ItemLevelIssue(typing_extensions.TypedDict, total=False): +class ItemLevelIssue(typing.TypedDict, total=False): applicableCountries: _list[str] attribute: str code: str description: str detail: str documentation: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -178,26 +172,26 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_CHECKOUT", ] resolution: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" ] @typing.type_check_only -class ListPromotionsResponse(typing_extensions.TypedDict, total=False): +class ListPromotionsResponse(typing.TypedDict, total=False): nextPageToken: str promotions: _list[Promotion] @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -221,21 +215,19 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class Promotion(typing_extensions.TypedDict, total=False): +class Promotion(typing.TypedDict, total=False): attributes: Attributes contentLanguage: str customAttributes: _list[CustomAttribute] @@ -244,15 +236,13 @@ class Promotion(typing_extensions.TypedDict, total=False): promotionId: str promotionStatus: PromotionStatus redemptionChannel: _list[ - typing_extensions.Literal[ - "REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE" - ] + typing.Literal["REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE"] ] targetCountry: str versionNumber: str @typing.type_check_only -class PromotionStatus(typing_extensions.TypedDict, total=False): +class PromotionStatus(typing.TypedDict, total=False): creationDate: str destinationStatuses: _list[DestinationStatus] itemLevelIssues: _list[ItemLevelIssue] diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/resources.pyi index 1b45193a6..17880aea4 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi index ef3a8ffed..5d10f0e1a 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi @@ -1,17 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): - audience: typing_extensions.Literal[ - "AUDIENCE_UNSPECIFIED", "NEW_CUSTOMERS", "LOCATION" - ] +class Attributes(typing.TypedDict, total=False): + audience: typing.Literal["AUDIENCE_UNSPECIFIED", "NEW_CUSTOMERS", "LOCATION"] brandExclusion: _list[str] brandInclusion: _list[str] - couponValueType: typing_extensions.Literal[ + couponValueType: typing.Literal[ "COUPON_VALUE_TYPE_UNSPECIFIED", "MONEY_OFF", "PERCENT_OFF", @@ -29,7 +25,7 @@ class Attributes(typing_extensions.TypedDict, total=False): "PERCENT_OFF_RANGE", ] customRedemptionRestriction: str - eventApplicability: typing_extensions.Literal[ + eventApplicability: typing.Literal[ "EVENT_APPLICABILITY_UNSPECIFIED", "SITEWIDE", "SPECIFIC_CATEGORIES" ] freeGiftDescription: str @@ -53,17 +49,15 @@ class Attributes(typing_extensions.TypedDict, total=False): minimumPurchaseAmount: Price minimumPurchaseQuantity: str moneyOffAmount: Price - offerType: typing_extensions.Literal[ - "OFFER_TYPE_UNSPECIFIED", "NO_CODE", "GENERIC_CODE" - ] + offerType: typing.Literal["OFFER_TYPE_UNSPECIFIED", "NO_CODE", "GENERIC_CODE"] percentOff: str - productApplicability: typing_extensions.Literal[ + productApplicability: typing.Literal[ "PRODUCT_APPLICABILITY_UNSPECIFIED", "ALL_PRODUCTS", "SPECIFIC_PRODUCTS" ] productTypeExclusion: _list[str] productTypeInclusion: _list[str] promotionDestinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "DESTINATION_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISPLAY_ADS", @@ -82,7 +76,7 @@ class Attributes(typing_extensions.TypedDict, total=False): promotionDisplayTimePeriod: Interval promotionEffectiveTimePeriod: Interval promotionUrl: str - redemptionRestriction: typing_extensions.Literal[ + redemptionRestriction: typing.Literal[ "REDEMPTION_RESTRICTION_UNSPECIFIED", "SUBSCRIBE", "FIRST_ORDER", @@ -91,21 +85,21 @@ class Attributes(typing_extensions.TypedDict, total=False): "CUSTOM", ] regionIdInclusion: _list[str] - storeApplicability: typing_extensions.Literal[ + storeApplicability: typing.Literal[ "STORE_APPLICABILITY_UNSPECIFIED", "ALL_STORES", "SPECIFIC_STORES" ] storeCodesExclusion: _list[str] storeCodesInclusion: _list[str] @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class DestinationStatus(typing_extensions.TypedDict, total=False): - reportingContext: typing_extensions.Literal[ +class DestinationStatus(typing.TypedDict, total=False): + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -127,7 +121,7 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): "MERCHANT_REVIEWS", "YOUTUBE_CHECKOUT", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATE_UNSPECIFIED", "IN_REVIEW", "REJECTED", @@ -138,24 +132,24 @@ class DestinationStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InsertPromotionRequest(typing_extensions.TypedDict, total=False): +class InsertPromotionRequest(typing.TypedDict, total=False): dataSource: str promotion: Promotion @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ItemLevelIssue(typing_extensions.TypedDict, total=False): +class ItemLevelIssue(typing.TypedDict, total=False): applicableCountries: _list[str] attribute: str code: str description: str detail: str documentation: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -178,26 +172,26 @@ class ItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_CHECKOUT", ] resolution: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DEMOTED", "DISAPPROVED" ] @typing.type_check_only -class ListPromotionsResponse(typing_extensions.TypedDict, total=False): +class ListPromotionsResponse(typing.TypedDict, total=False): nextPageToken: str promotions: _list[Promotion] @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -221,21 +215,19 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class Promotion(typing_extensions.TypedDict, total=False): +class Promotion(typing.TypedDict, total=False): attributes: Attributes contentLanguage: str customAttributes: _list[CustomAttribute] @@ -244,15 +236,13 @@ class Promotion(typing_extensions.TypedDict, total=False): promotionId: str promotionStatus: PromotionStatus redemptionChannel: _list[ - typing_extensions.Literal[ - "REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE" - ] + typing.Literal["REDEMPTION_CHANNEL_UNSPECIFIED", "IN_STORE", "ONLINE"] ] targetCountry: str versionNumber: str @typing.type_check_only -class PromotionStatus(typing_extensions.TypedDict, total=False): +class PromotionStatus(typing.TypedDict, total=False): creationDate: str destinationStatuses: _list[DestinationStatus] itemLevelIssues: _list[ItemLevelIssue] diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi index a05072327..3d0f62f75 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi index a44883755..7ba2b4405 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi @@ -1,37 +1,35 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccountLimit(typing_extensions.TypedDict, total=False): +class AccountLimit(typing.TypedDict, total=False): name: str products: ProductLimit @typing.type_check_only -class ListAccountLimitsResponse(typing_extensions.TypedDict, total=False): +class ListAccountLimitsResponse(typing.TypedDict, total=False): accountLimits: _list[AccountLimit] nextPageToken: str @typing.type_check_only -class ListQuotaGroupsResponse(typing_extensions.TypedDict, total=False): +class ListQuotaGroupsResponse(typing.TypedDict, total=False): nextPageToken: str quotaGroups: _list[QuotaGroup] @typing.type_check_only -class MethodDetails(typing_extensions.TypedDict, total=False): +class MethodDetails(typing.TypedDict, total=False): method: str path: str subapi: str version: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -55,26 +53,24 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductLimit(typing_extensions.TypedDict, total=False): +class ProductLimit(typing.TypedDict, total=False): limit: str - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "ADS_NON_EEA", "ADS_EEA"] + scope: typing.Literal["SCOPE_UNSPECIFIED", "ADS_NON_EEA", "ADS_EEA"] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class QuotaGroup(typing_extensions.TypedDict, total=False): +class QuotaGroup(typing.TypedDict, total=False): methodDetails: _list[MethodDetails] name: str quotaLimit: str diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/resources.pyi index fc256e114..e417a0615 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi index 4b99793e2..d8e4c02fe 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1beta/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ListQuotaGroupsResponse(typing_extensions.TypedDict, total=False): +class ListQuotaGroupsResponse(typing.TypedDict, total=False): nextPageToken: str quotaGroups: _list[QuotaGroup] @typing.type_check_only -class MethodDetails(typing_extensions.TypedDict, total=False): +class MethodDetails(typing.TypedDict, total=False): method: str path: str subapi: str version: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -45,21 +43,19 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class QuotaGroup(typing_extensions.TypedDict, total=False): +class QuotaGroup(typing.TypedDict, total=False): methodDetails: _list[MethodDetails] name: str quotaLimit: str diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1/resources.pyi index 4112936f9..07813db52 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reports_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1/schemas.pyi index b3ed34ee6..5d8b4afe0 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reports_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BestSellersBrandView(typing_extensions.TypedDict, total=False): +class BestSellersBrandView(typing.TypedDict, total=False): brand: str previousRank: str - previousRelativeDemand: typing_extensions.Literal[ + previousRelativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -17,7 +15,7 @@ class BestSellersBrandView(typing_extensions.TypedDict, total=False): "VERY_HIGH", ] rank: str - relativeDemand: typing_extensions.Literal[ + relativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -25,20 +23,20 @@ class BestSellersBrandView(typing_extensions.TypedDict, total=False): "HIGH", "VERY_HIGH", ] - relativeDemandChange: typing_extensions.Literal[ + relativeDemandChange: typing.Literal[ "RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", "SINKER", "FLAT", "RISER" ] reportCategoryId: str reportCountryCode: str reportDate: Date - reportGranularity: typing_extensions.Literal[ + reportGranularity: typing.Literal[ "REPORT_GRANULARITY_ENUM_UNSPECIFIED", "WEEKLY", "MONTHLY" ] @typing.type_check_only -class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): +class BestSellersProductClusterView(typing.TypedDict, total=False): brand: str - brandInventoryStatus: typing_extensions.Literal[ + brandInventoryStatus: typing.Literal[ "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" ] categoryL1: str @@ -46,11 +44,11 @@ class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): categoryL3: str categoryL4: str categoryL5: str - inventoryStatus: typing_extensions.Literal[ + inventoryStatus: typing.Literal[ "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" ] previousRank: str - previousRelativeDemand: typing_extensions.Literal[ + previousRelativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -59,7 +57,7 @@ class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): "VERY_HIGH", ] rank: str - relativeDemand: typing_extensions.Literal[ + relativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -67,31 +65,31 @@ class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): "HIGH", "VERY_HIGH", ] - relativeDemandChange: typing_extensions.Literal[ + relativeDemandChange: typing.Literal[ "RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", "SINKER", "FLAT", "RISER" ] reportCategoryId: str reportCountryCode: str reportDate: Date - reportGranularity: typing_extensions.Literal[ + reportGranularity: typing.Literal[ "REPORT_GRANULARITY_ENUM_UNSPECIFIED", "WEEKLY", "MONTHLY" ] title: str variantGtins: _list[str] @typing.type_check_only -class CompetitiveVisibilityBenchmarkView(typing_extensions.TypedDict, total=False): +class CompetitiveVisibilityBenchmarkView(typing.TypedDict, total=False): categoryBenchmarkVisibilityTrend: float date: Date reportCategoryId: str reportCountryCode: str - trafficSource: typing_extensions.Literal[ + trafficSource: typing.Literal[ "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" ] yourDomainVisibilityTrend: float @typing.type_check_only -class CompetitiveVisibilityCompetitorView(typing_extensions.TypedDict, total=False): +class CompetitiveVisibilityCompetitorView(typing.TypedDict, total=False): adsOrganicRatio: float date: Date domain: str @@ -102,12 +100,12 @@ class CompetitiveVisibilityCompetitorView(typing_extensions.TypedDict, total=Fal relativeVisibility: float reportCategoryId: str reportCountryCode: str - trafficSource: typing_extensions.Literal[ + trafficSource: typing.Literal[ "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" ] @typing.type_check_only -class CompetitiveVisibilityTopMerchantView(typing_extensions.TypedDict, total=False): +class CompetitiveVisibilityTopMerchantView(typing.TypedDict, total=False): adsOrganicRatio: float date: Date domain: str @@ -117,21 +115,21 @@ class CompetitiveVisibilityTopMerchantView(typing_extensions.TypedDict, total=Fa rank: str reportCategoryId: str reportCountryCode: str - trafficSource: typing_extensions.Literal[ + trafficSource: typing.Literal[ "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class IssueSeverityPerReportingContext(typing_extensions.TypedDict, total=False): +class IssueSeverityPerReportingContext(typing.TypedDict, total=False): demotedCountries: _list[str] disapprovedCountries: _list[str] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -155,27 +153,27 @@ class IssueSeverityPerReportingContext(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class ItemIssue(typing_extensions.TypedDict, total=False): - resolution: typing_extensions.Literal[ +class ItemIssue(typing.TypedDict, total=False): + resolution: typing.Literal[ "ITEM_ISSUE_RESOLUTION_UNSPECIFIED", "MERCHANT_ACTION", "PENDING_PROCESSING" ] severity: ItemIssueSeverity type: ItemIssueType @typing.type_check_only -class ItemIssueSeverity(typing_extensions.TypedDict, total=False): - aggregatedSeverity: typing_extensions.Literal[ +class ItemIssueSeverity(typing.TypedDict, total=False): + aggregatedSeverity: typing.Literal[ "AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED", "DISAPPROVED", "DEMOTED", "PENDING" ] severityPerReportingContext: _list[IssueSeverityPerReportingContext] @typing.type_check_only -class ItemIssueType(typing_extensions.TypedDict, total=False): +class ItemIssueType(typing.TypedDict, total=False): canonicalAttribute: str code: str @typing.type_check_only -class NonProductPerformanceView(typing_extensions.TypedDict, total=False): +class NonProductPerformanceView(typing.TypedDict, total=False): clickThroughRate: float clicks: str date: Date @@ -183,12 +181,12 @@ class NonProductPerformanceView(typing_extensions.TypedDict, total=False): week: Date @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class PriceCompetitivenessProductView(typing_extensions.TypedDict, total=False): +class PriceCompetitivenessProductView(typing.TypedDict, total=False): benchmarkPrice: Price brand: str categoryL1: str @@ -208,16 +206,14 @@ class PriceCompetitivenessProductView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PriceInsightsProductView(typing_extensions.TypedDict, total=False): +class PriceInsightsProductView(typing.TypedDict, total=False): brand: str categoryL1: str categoryL2: str categoryL3: str categoryL4: str categoryL5: str - effectiveness: typing_extensions.Literal[ - "EFFECTIVENESS_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" - ] + effectiveness: typing.Literal["EFFECTIVENESS_UNSPECIFIED", "LOW", "MEDIUM", "HIGH"] id: str offerId: str predictedClicksChangeFraction: float @@ -233,11 +229,11 @@ class PriceInsightsProductView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -261,7 +257,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductPerformanceView(typing_extensions.TypedDict, total=False): +class ProductPerformanceView(typing.TypedDict, total=False): brand: str categoryL1: str categoryL2: str @@ -281,7 +277,7 @@ class ProductPerformanceView(typing_extensions.TypedDict, total=False): customerCountryCode: str date: Date impressions: str - marketingMethod: typing_extensions.Literal[ + marketingMethod: typing.Literal[ "MARKETING_METHOD_ENUM_UNSPECIFIED", "ORGANIC", "ADS" ] offerId: str @@ -290,29 +286,27 @@ class ProductPerformanceView(typing_extensions.TypedDict, total=False): productTypeL3: str productTypeL4: str productTypeL5: str - storeType: typing_extensions.Literal[ + storeType: typing.Literal[ "STORE_TYPE_ENUM_UNSPECIFIED", "ONLINE_STORE", "LOCAL_STORES" ] title: str week: Date @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ProductView(typing_extensions.TypedDict, total=False): - aggregatedReportingContextStatus: typing_extensions.Literal[ +class ProductView(typing.TypedDict, total=False): + aggregatedReportingContextStatus: typing.Literal[ "AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED", "NOT_ELIGIBLE_OR_DISAPPROVED", "PENDING", @@ -326,8 +320,8 @@ class ProductView(typing_extensions.TypedDict, total=False): categoryL3: str categoryL4: str categoryL5: str - channel: typing_extensions.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] - clickPotential: typing_extensions.Literal[ + channel: typing.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] + clickPotential: typing.Literal[ "CLICK_POTENTIAL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] clickPotentialRank: str @@ -347,7 +341,7 @@ class ProductView(typing_extensions.TypedDict, total=False): productTypeL3: str productTypeL4: str productTypeL5: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -375,7 +369,7 @@ class ProductView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ReportRow(typing_extensions.TypedDict, total=False): +class ReportRow(typing.TypedDict, total=False): bestSellersBrandView: BestSellersBrandView bestSellersProductClusterView: BestSellersProductClusterView competitiveVisibilityBenchmarkView: CompetitiveVisibilityBenchmarkView @@ -388,22 +382,22 @@ class ReportRow(typing_extensions.TypedDict, total=False): productView: ProductView @typing.type_check_only -class SearchRequest(typing_extensions.TypedDict, total=False): +class SearchRequest(typing.TypedDict, total=False): pageSize: int pageToken: str query: str @typing.type_check_only -class SearchResponse(typing_extensions.TypedDict, total=False): +class SearchResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[ReportRow] @typing.type_check_only -class StatusPerReportingContext(typing_extensions.TypedDict, total=False): +class StatusPerReportingContext(typing.TypedDict, total=False): approvedCountries: _list[str] disapprovedCountries: _list[str] pendingCountries: _list[str] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/resources.pyi index 4112936f9..07813db52 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi index b3ed34ee6..5d8b4afe0 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reports_v1beta/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BestSellersBrandView(typing_extensions.TypedDict, total=False): +class BestSellersBrandView(typing.TypedDict, total=False): brand: str previousRank: str - previousRelativeDemand: typing_extensions.Literal[ + previousRelativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -17,7 +15,7 @@ class BestSellersBrandView(typing_extensions.TypedDict, total=False): "VERY_HIGH", ] rank: str - relativeDemand: typing_extensions.Literal[ + relativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -25,20 +23,20 @@ class BestSellersBrandView(typing_extensions.TypedDict, total=False): "HIGH", "VERY_HIGH", ] - relativeDemandChange: typing_extensions.Literal[ + relativeDemandChange: typing.Literal[ "RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", "SINKER", "FLAT", "RISER" ] reportCategoryId: str reportCountryCode: str reportDate: Date - reportGranularity: typing_extensions.Literal[ + reportGranularity: typing.Literal[ "REPORT_GRANULARITY_ENUM_UNSPECIFIED", "WEEKLY", "MONTHLY" ] @typing.type_check_only -class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): +class BestSellersProductClusterView(typing.TypedDict, total=False): brand: str - brandInventoryStatus: typing_extensions.Literal[ + brandInventoryStatus: typing.Literal[ "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" ] categoryL1: str @@ -46,11 +44,11 @@ class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): categoryL3: str categoryL4: str categoryL5: str - inventoryStatus: typing_extensions.Literal[ + inventoryStatus: typing.Literal[ "INVENTORY_STATUS_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "NOT_IN_INVENTORY" ] previousRank: str - previousRelativeDemand: typing_extensions.Literal[ + previousRelativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -59,7 +57,7 @@ class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): "VERY_HIGH", ] rank: str - relativeDemand: typing_extensions.Literal[ + relativeDemand: typing.Literal[ "RELATIVE_DEMAND_ENUM_UNSPECIFIED", "VERY_LOW", "LOW", @@ -67,31 +65,31 @@ class BestSellersProductClusterView(typing_extensions.TypedDict, total=False): "HIGH", "VERY_HIGH", ] - relativeDemandChange: typing_extensions.Literal[ + relativeDemandChange: typing.Literal[ "RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", "SINKER", "FLAT", "RISER" ] reportCategoryId: str reportCountryCode: str reportDate: Date - reportGranularity: typing_extensions.Literal[ + reportGranularity: typing.Literal[ "REPORT_GRANULARITY_ENUM_UNSPECIFIED", "WEEKLY", "MONTHLY" ] title: str variantGtins: _list[str] @typing.type_check_only -class CompetitiveVisibilityBenchmarkView(typing_extensions.TypedDict, total=False): +class CompetitiveVisibilityBenchmarkView(typing.TypedDict, total=False): categoryBenchmarkVisibilityTrend: float date: Date reportCategoryId: str reportCountryCode: str - trafficSource: typing_extensions.Literal[ + trafficSource: typing.Literal[ "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" ] yourDomainVisibilityTrend: float @typing.type_check_only -class CompetitiveVisibilityCompetitorView(typing_extensions.TypedDict, total=False): +class CompetitiveVisibilityCompetitorView(typing.TypedDict, total=False): adsOrganicRatio: float date: Date domain: str @@ -102,12 +100,12 @@ class CompetitiveVisibilityCompetitorView(typing_extensions.TypedDict, total=Fal relativeVisibility: float reportCategoryId: str reportCountryCode: str - trafficSource: typing_extensions.Literal[ + trafficSource: typing.Literal[ "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" ] @typing.type_check_only -class CompetitiveVisibilityTopMerchantView(typing_extensions.TypedDict, total=False): +class CompetitiveVisibilityTopMerchantView(typing.TypedDict, total=False): adsOrganicRatio: float date: Date domain: str @@ -117,21 +115,21 @@ class CompetitiveVisibilityTopMerchantView(typing_extensions.TypedDict, total=Fa rank: str reportCategoryId: str reportCountryCode: str - trafficSource: typing_extensions.Literal[ + trafficSource: typing.Literal[ "TRAFFIC_SOURCE_ENUM_UNSPECIFIED", "ORGANIC", "ADS", "ALL" ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class IssueSeverityPerReportingContext(typing_extensions.TypedDict, total=False): +class IssueSeverityPerReportingContext(typing.TypedDict, total=False): demotedCountries: _list[str] disapprovedCountries: _list[str] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -155,27 +153,27 @@ class IssueSeverityPerReportingContext(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class ItemIssue(typing_extensions.TypedDict, total=False): - resolution: typing_extensions.Literal[ +class ItemIssue(typing.TypedDict, total=False): + resolution: typing.Literal[ "ITEM_ISSUE_RESOLUTION_UNSPECIFIED", "MERCHANT_ACTION", "PENDING_PROCESSING" ] severity: ItemIssueSeverity type: ItemIssueType @typing.type_check_only -class ItemIssueSeverity(typing_extensions.TypedDict, total=False): - aggregatedSeverity: typing_extensions.Literal[ +class ItemIssueSeverity(typing.TypedDict, total=False): + aggregatedSeverity: typing.Literal[ "AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED", "DISAPPROVED", "DEMOTED", "PENDING" ] severityPerReportingContext: _list[IssueSeverityPerReportingContext] @typing.type_check_only -class ItemIssueType(typing_extensions.TypedDict, total=False): +class ItemIssueType(typing.TypedDict, total=False): canonicalAttribute: str code: str @typing.type_check_only -class NonProductPerformanceView(typing_extensions.TypedDict, total=False): +class NonProductPerformanceView(typing.TypedDict, total=False): clickThroughRate: float clicks: str date: Date @@ -183,12 +181,12 @@ class NonProductPerformanceView(typing_extensions.TypedDict, total=False): week: Date @typing.type_check_only -class Price(typing_extensions.TypedDict, total=False): +class Price(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class PriceCompetitivenessProductView(typing_extensions.TypedDict, total=False): +class PriceCompetitivenessProductView(typing.TypedDict, total=False): benchmarkPrice: Price brand: str categoryL1: str @@ -208,16 +206,14 @@ class PriceCompetitivenessProductView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PriceInsightsProductView(typing_extensions.TypedDict, total=False): +class PriceInsightsProductView(typing.TypedDict, total=False): brand: str categoryL1: str categoryL2: str categoryL3: str categoryL4: str categoryL5: str - effectiveness: typing_extensions.Literal[ - "EFFECTIVENESS_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" - ] + effectiveness: typing.Literal["EFFECTIVENESS_UNSPECIFIED", "LOW", "MEDIUM", "HIGH"] id: str offerId: str predictedClicksChangeFraction: float @@ -233,11 +229,11 @@ class PriceInsightsProductView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -261,7 +257,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductPerformanceView(typing_extensions.TypedDict, total=False): +class ProductPerformanceView(typing.TypedDict, total=False): brand: str categoryL1: str categoryL2: str @@ -281,7 +277,7 @@ class ProductPerformanceView(typing_extensions.TypedDict, total=False): customerCountryCode: str date: Date impressions: str - marketingMethod: typing_extensions.Literal[ + marketingMethod: typing.Literal[ "MARKETING_METHOD_ENUM_UNSPECIFIED", "ORGANIC", "ADS" ] offerId: str @@ -290,29 +286,27 @@ class ProductPerformanceView(typing_extensions.TypedDict, total=False): productTypeL3: str productTypeL4: str productTypeL5: str - storeType: typing_extensions.Literal[ + storeType: typing.Literal[ "STORE_TYPE_ENUM_UNSPECIFIED", "ONLINE_STORE", "LOCAL_STORES" ] title: str week: Date @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ProductView(typing_extensions.TypedDict, total=False): - aggregatedReportingContextStatus: typing_extensions.Literal[ +class ProductView(typing.TypedDict, total=False): + aggregatedReportingContextStatus: typing.Literal[ "AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED", "NOT_ELIGIBLE_OR_DISAPPROVED", "PENDING", @@ -326,8 +320,8 @@ class ProductView(typing_extensions.TypedDict, total=False): categoryL3: str categoryL4: str categoryL5: str - channel: typing_extensions.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] - clickPotential: typing_extensions.Literal[ + channel: typing.Literal["CHANNEL_ENUM_UNSPECIFIED", "ONLINE", "LOCAL"] + clickPotential: typing.Literal[ "CLICK_POTENTIAL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] clickPotentialRank: str @@ -347,7 +341,7 @@ class ProductView(typing_extensions.TypedDict, total=False): productTypeL3: str productTypeL4: str productTypeL5: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -375,7 +369,7 @@ class ProductView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ReportRow(typing_extensions.TypedDict, total=False): +class ReportRow(typing.TypedDict, total=False): bestSellersBrandView: BestSellersBrandView bestSellersProductClusterView: BestSellersProductClusterView competitiveVisibilityBenchmarkView: CompetitiveVisibilityBenchmarkView @@ -388,22 +382,22 @@ class ReportRow(typing_extensions.TypedDict, total=False): productView: ProductView @typing.type_check_only -class SearchRequest(typing_extensions.TypedDict, total=False): +class SearchRequest(typing.TypedDict, total=False): pageSize: int pageToken: str query: str @typing.type_check_only -class SearchResponse(typing_extensions.TypedDict, total=False): +class SearchResponse(typing.TypedDict, total=False): nextPageToken: str results: _list[ReportRow] @typing.type_check_only -class StatusPerReportingContext(typing_extensions.TypedDict, total=False): +class StatusPerReportingContext(typing.TypedDict, total=False): approvedCountries: _list[str] disapprovedCountries: _list[str] pendingCountries: _list[str] - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", diff --git a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/resources.pyi index d4d2d8ac5..189f60b37 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi index f349e53dc..d75303df9 100644 --- a/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/reviews_v1beta/schemas.pyi @@ -1,30 +1,28 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CustomAttribute(typing_extensions.TypedDict, total=False): +class CustomAttribute(typing.TypedDict, total=False): groupValues: _list[CustomAttribute] name: str value: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListMerchantReviewsResponse(typing_extensions.TypedDict, total=False): +class ListMerchantReviewsResponse(typing.TypedDict, total=False): merchantReviews: _list[MerchantReview] nextPageToken: str @typing.type_check_only -class ListProductReviewsResponse(typing_extensions.TypedDict, total=False): +class ListProductReviewsResponse(typing.TypedDict, total=False): nextPageToken: str productReviews: _list[ProductReview] @typing.type_check_only -class MerchantReview(typing_extensions.TypedDict, total=False): +class MerchantReview(typing.TypedDict, total=False): customAttributes: _list[CustomAttribute] dataSource: str merchantReviewAttributes: MerchantReviewAttributes @@ -33,8 +31,8 @@ class MerchantReview(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MerchantReviewAttributes(typing_extensions.TypedDict, total=False): - collectionMethod: typing_extensions.Literal[ +class MerchantReviewAttributes(typing.TypedDict, total=False): + collectionMethod: typing.Literal[ "COLLECTION_METHOD_UNSPECIFIED", "MERCHANT_UNSOLICITED", "POINT_OF_SALE", @@ -57,8 +55,8 @@ class MerchantReviewAttributes(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class MerchantReviewDestinationStatus(typing_extensions.TypedDict, total=False): - reportingContext: typing_extensions.Literal[ +class MerchantReviewDestinationStatus(typing.TypedDict, total=False): + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -82,13 +80,13 @@ class MerchantReviewDestinationStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MerchantReviewItemLevelIssue(typing_extensions.TypedDict, total=False): +class MerchantReviewItemLevelIssue(typing.TypedDict, total=False): attribute: str code: str description: str detail: str documentation: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -111,23 +109,21 @@ class MerchantReviewItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_CHECKOUT", ] resolution: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DISAPPROVED" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DISAPPROVED"] @typing.type_check_only -class MerchantReviewStatus(typing_extensions.TypedDict, total=False): +class MerchantReviewStatus(typing.TypedDict, total=False): createTime: str destinationStatuses: _list[MerchantReviewDestinationStatus] itemLevelIssues: _list[MerchantReviewItemLevelIssue] lastUpdateTime: str @typing.type_check_only -class ProductChange(typing_extensions.TypedDict, total=False): +class ProductChange(typing.TypedDict, total=False): newValue: str oldValue: str regionCode: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -151,7 +147,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductReview(typing_extensions.TypedDict, total=False): +class ProductReview(typing.TypedDict, total=False): customAttributes: _list[CustomAttribute] dataSource: str name: str @@ -160,11 +156,11 @@ class ProductReview(typing_extensions.TypedDict, total=False): productReviewStatus: ProductReviewStatus @typing.type_check_only -class ProductReviewAttributes(typing_extensions.TypedDict, total=False): +class ProductReviewAttributes(typing.TypedDict, total=False): aggregatorName: str asins: _list[str] brands: _list[str] - collectionMethod: typing_extensions.Literal[ + collectionMethod: typing.Literal[ "COLLECTION_METHOD_UNSPECIFIED", "UNSOLICITED", "POST_FULFILLMENT" ] cons: _list[str] @@ -196,8 +192,8 @@ class ProductReviewAttributes(typing_extensions.TypedDict, total=False): transactionId: str @typing.type_check_only -class ProductReviewDestinationStatus(typing_extensions.TypedDict, total=False): - reportingContext: typing_extensions.Literal[ +class ProductReviewDestinationStatus(typing.TypedDict, total=False): + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -221,13 +217,13 @@ class ProductReviewDestinationStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ProductReviewItemLevelIssue(typing_extensions.TypedDict, total=False): +class ProductReviewItemLevelIssue(typing.TypedDict, total=False): attribute: str code: str description: str detail: str documentation: str - reportingContext: typing_extensions.Literal[ + reportingContext: typing.Literal[ "REPORTING_CONTEXT_ENUM_UNSPECIFIED", "SHOPPING_ADS", "DISCOVERY_ADS", @@ -250,32 +246,28 @@ class ProductReviewItemLevelIssue(typing_extensions.TypedDict, total=False): "YOUTUBE_CHECKOUT", ] resolution: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DISAPPROVED" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "NOT_IMPACTED", "DISAPPROVED"] @typing.type_check_only -class ProductReviewStatus(typing_extensions.TypedDict, total=False): +class ProductReviewStatus(typing.TypedDict, total=False): createTime: str destinationStatuses: _list[ProductReviewDestinationStatus] itemLevelIssues: _list[ProductReviewItemLevelIssue] lastUpdateTime: str @typing.type_check_only -class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): +class ProductStatusChangeMessage(typing.TypedDict, total=False): account: str - attribute: typing_extensions.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] + attribute: typing.Literal["ATTRIBUTE_UNSPECIFIED", "STATUS"] changes: _list[ProductChange] eventTime: str expirationTime: str managingAccount: str resource: str resourceId: str - resourceType: typing_extensions.Literal[ - "RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE" - ] + resourceType: typing.Literal["RESOURCE_UNSPECIFIED", "PRODUCT", "ACCOUNT_SERVICE"] @typing.type_check_only -class ReviewLink(typing_extensions.TypedDict, total=False): +class ReviewLink(typing.TypedDict, total=False): link: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SINGLETON", "GROUP"] + type: typing.Literal["TYPE_UNSPECIFIED", "SINGLETON", "GROUP"] diff --git a/googleapiclient-stubs/_apis/metastore/v1/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1/resources.pyi index 618b07518..b2701b964 100644 --- a/googleapiclient-stubs/_apis/metastore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi index a379cca36..989cb8eaa 100644 --- a/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1/schemas.pyi @@ -1,82 +1,78 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AlterMetadataResourceLocationRequest(typing_extensions.TypedDict, total=False): +class AlterMetadataResourceLocationRequest(typing.TypedDict, total=False): locationUri: str resourceName: str @typing.type_check_only -class AlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False -): ... +class AlterMetadataResourceLocationResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AlterTablePropertiesRequest(typing_extensions.TypedDict, total=False): +class AlterTablePropertiesRequest(typing.TypedDict, total=False): properties: dict[str, typing.Any] tableName: str updateMask: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutoscalingConfig(typing_extensions.TypedDict, total=False): +class AutoscalingConfig(typing.TypedDict, total=False): autoscalingEnabled: bool autoscalingFactor: float limitConfig: LimitConfig @typing.type_check_only -class AuxiliaryVersionConfig(typing_extensions.TypedDict, total=False): +class AuxiliaryVersionConfig(typing.TypedDict, total=False): configOverrides: dict[str, typing.Any] networkConfig: NetworkConfig version: str @typing.type_check_only -class BackendMetastore(typing_extensions.TypedDict, total=False): - metastoreType: typing_extensions.Literal[ +class BackendMetastore(typing.TypedDict, total=False): + metastoreType: typing.Literal[ "METASTORE_TYPE_UNSPECIFIED", "BIGQUERY", "DATAPROC_METASTORE" ] name: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): createTime: str description: str endTime: str name: str restoringServices: _list[str] serviceRevision: Service - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED", "RESTORING" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelMigrationRequest(typing_extensions.TypedDict, total=False): ... +class CancelMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CdcConfig(typing_extensions.TypedDict, total=False): +class CdcConfig(typing.TypedDict, total=False): bucket: str password: str reverseProxySubnet: str @@ -86,7 +82,7 @@ class CdcConfig(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class CloudSQLConnectionConfig(typing_extensions.TypedDict, total=False): +class CloudSQLConnectionConfig(typing.TypedDict, total=False): hiveDatabaseName: str instanceConnectionName: str ipAddress: str @@ -97,68 +93,68 @@ class CloudSQLConnectionConfig(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class CloudSQLMigrationConfig(typing_extensions.TypedDict, total=False): +class CloudSQLMigrationConfig(typing.TypedDict, total=False): cdcConfig: CdcConfig cloudSqlConnectionConfig: CloudSQLConnectionConfig @typing.type_check_only -class CompleteMigrationRequest(typing_extensions.TypedDict, total=False): ... +class CompleteMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Consumer(typing_extensions.TypedDict, total=False): +class Consumer(typing.TypedDict, total=False): endpointLocation: str endpointUri: str subnetwork: str @typing.type_check_only -class CustomRegionMetadata(typing_extensions.TypedDict, total=False): +class CustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class DataCatalogConfig(typing_extensions.TypedDict, total=False): +class DataCatalogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DatabaseDump(typing_extensions.TypedDict, total=False): - databaseType: typing_extensions.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL"] +class DatabaseDump(typing.TypedDict, total=False): + databaseType: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL"] gcsUri: str sourceDatabase: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + type: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class ErrorDetails(typing_extensions.TypedDict, total=False): +class ErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class ExportMetadataRequest(typing_extensions.TypedDict, total=False): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class ExportMetadataRequest(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsFolder: str requestId: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Federation(typing_extensions.TypedDict, total=False): +class Federation(typing.TypedDict, total=False): backendMetastores: dict[str, typing.Any] createTime: str endpointUri: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "ERROR" ] stateMessage: str @@ -168,83 +164,79 @@ class Federation(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class HiveMetastoreConfig(typing_extensions.TypedDict, total=False): +class HiveMetastoreConfig(typing.TypedDict, total=False): auxiliaryVersions: dict[str, typing.Any] configOverrides: dict[str, typing.Any] - endpointProtocol: typing_extensions.Literal[ - "ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC" - ] + endpointProtocol: typing.Literal["ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC"] kerberosConfig: KerberosConfig version: str @typing.type_check_only -class HiveMetastoreVersion(typing_extensions.TypedDict, total=False): +class HiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class KerberosConfig(typing_extensions.TypedDict, total=False): +class KerberosConfig(typing.TypedDict, total=False): keytab: Secret krb5ConfigGcsUri: str principal: str @typing.type_check_only -class LatestBackup(typing_extensions.TypedDict, total=False): +class LatestBackup(typing.TypedDict, total=False): backupId: str duration: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED"] @typing.type_check_only -class LimitConfig(typing_extensions.TypedDict, total=False): +class LimitConfig(typing.TypedDict, total=False): maxScalingFactor: float minScalingFactor: float @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFederationsResponse(typing_extensions.TypedDict, total=False): +class ListFederationsResponse(typing.TypedDict, total=False): federations: _list[Federation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMetadataImportsResponse(typing_extensions.TypedDict, total=False): +class ListMetadataImportsResponse(typing.TypedDict, total=False): metadataImports: _list[MetadataImport] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMigrationExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListMigrationExecutionsResponse(typing.TypedDict, total=False): migrationExecutions: _list[MigrationExecution] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -252,14 +244,14 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[CustomRegionMetadata] multiRegionMetadata: MultiRegionMetadata supportedHiveMetastoreVersions: _list[HiveMetastoreVersion] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class MaintenanceWindow(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -272,47 +264,47 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): hourOfDay: int @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class MetadataExport(typing_extensions.TypedDict, total=False): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class MetadataExport(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsUri: str endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ] @typing.type_check_only -class MetadataImport(typing_extensions.TypedDict, total=False): +class MetadataImport(typing.TypedDict, total=False): createTime: str databaseDump: DatabaseDump description: str endTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "UPDATING", "FAILED" ] updateTime: str @typing.type_check_only -class MetadataIntegration(typing_extensions.TypedDict, total=False): +class MetadataIntegration(typing.TypedDict, total=False): dataCatalogConfig: DataCatalogConfig @typing.type_check_only -class MetadataManagementActivity(typing_extensions.TypedDict, total=False): +class MetadataManagementActivity(typing.TypedDict, total=False): metadataExports: _list[MetadataExport] restores: _list[Restore] @typing.type_check_only -class MigrationExecution(typing_extensions.TypedDict, total=False): +class MigrationExecution(typing.TypedDict, total=False): cloudSqlMigrationConfig: CloudSQLMigrationConfig createTime: str endTime: str name: str - phase: typing_extensions.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] - state: typing_extensions.Literal[ + phase: typing.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "RUNNING", @@ -322,30 +314,31 @@ class MigrationExecution(typing_extensions.TypedDict, total=False): "FAILED", "CANCELLED", "DELETING", + "ROLLED_BACK", ] stateMessage: str @typing.type_check_only -class MoveTableToDatabaseRequest(typing_extensions.TypedDict, total=False): +class MoveTableToDatabaseRequest(typing.TypedDict, total=False): dbName: str destinationDbName: str tableName: str @typing.type_check_only -class MoveTableToDatabaseResponse(typing_extensions.TypedDict, total=False): ... +class MoveTableToDatabaseResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MultiRegionMetadata(typing_extensions.TypedDict, total=False): +class MultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): consumers: _list[Consumer] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -353,7 +346,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -363,45 +356,43 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class QueryMetadataRequest(typing_extensions.TypedDict, total=False): +class QueryMetadataRequest(typing.TypedDict, total=False): query: str @typing.type_check_only -class QueryMetadataResponse(typing_extensions.TypedDict, total=False): +class QueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only -class Restore(typing_extensions.TypedDict, total=False): +class Restore(typing.TypedDict, total=False): backup: str backupLocation: str details: str endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ] - type: typing_extensions.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] + type: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class RestoreServiceRequest(typing_extensions.TypedDict, total=False): +class RestoreServiceRequest(typing.TypedDict, total=False): backup: str backupLocation: str requestId: str - restoreType: typing_extensions.Literal[ - "RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY" - ] + restoreType: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class ScalingConfig(typing_extensions.TypedDict, total=False): +class ScalingConfig(typing.TypedDict, total=False): autoscalingConfig: AutoscalingConfig - instanceSize: typing_extensions.Literal[ + instanceSize: typing.Literal[ "INSTANCE_SIZE_UNSPECIFIED", "EXTRA_SMALL", "SMALL", @@ -412,7 +403,7 @@ class ScalingConfig(typing_extensions.TypedDict, total=False): scalingFactor: float @typing.type_check_only -class ScheduledBackup(typing_extensions.TypedDict, total=False): +class ScheduledBackup(typing.TypedDict, total=False): backupLocation: str cronSchedule: str enabled: bool @@ -421,16 +412,14 @@ class ScheduledBackup(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): cloudSecret: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): artifactGcsUri: str createTime: str - databaseType: typing_extensions.Literal[ - "DATABASE_TYPE_UNSPECIFIED", "MYSQL", "SPANNER" - ] + databaseType: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL", "SPANNER"] deletionProtection: bool encryptionConfig: EncryptionConfig endpointUri: str @@ -443,12 +432,10 @@ class Service(typing_extensions.TypedDict, total=False): network: str networkConfig: NetworkConfig port: int - releaseChannel: typing_extensions.Literal[ - "RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "STABLE" - ] + releaseChannel: typing.Literal["RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "STABLE"] scalingConfig: ScalingConfig scheduledBackup: ScheduledBackup - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -459,32 +446,33 @@ class Service(typing_extensions.TypedDict, total=False): "ERROR", "AUTOSCALING", "MIGRATING", + "PROXY", ] stateMessage: str tags: dict[str, typing.Any] telemetryConfig: TelemetryConfig - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] + tier: typing.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] uid: str updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StartMigrationRequest(typing_extensions.TypedDict, total=False): +class StartMigrationRequest(typing.TypedDict, total=False): migrationExecution: MigrationExecution requestId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str @@ -492,13 +480,13 @@ class StatusProto(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class TelemetryConfig(typing_extensions.TypedDict, total=False): - logFormat: typing_extensions.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] +class TelemetryConfig(typing.TypedDict, total=False): + logFormat: typing.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi index 8eb8c7d1c..f11ed38e7 100644 --- a/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi index b9e2bd99e..82e1eaf39 100644 --- a/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1alpha/schemas.pyi @@ -1,86 +1,112 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AlterMetadataResourceLocationRequest(typing_extensions.TypedDict, total=False): +class AlterMetadataResourceLocationRequest(typing.TypedDict, total=False): locationUri: str resourceName: str @typing.type_check_only -class AlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False -): ... +class AlterMetadataResourceLocationResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AlterTablePropertiesRequest(typing_extensions.TypedDict, total=False): +class AlterTablePropertiesRequest(typing.TypedDict, total=False): properties: dict[str, typing.Any] tableName: str updateMask: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutoscalingConfig(typing_extensions.TypedDict, total=False): +class AutoscalingConfig(typing.TypedDict, total=False): autoscalingEnabled: bool autoscalingFactor: float limitConfig: LimitConfig @typing.type_check_only -class AuxiliaryVersionConfig(typing_extensions.TypedDict, total=False): +class AuxiliaryVersionConfig(typing.TypedDict, total=False): configOverrides: dict[str, typing.Any] networkConfig: NetworkConfig version: str @typing.type_check_only -class BackendMetastore(typing_extensions.TypedDict, total=False): - metastoreType: typing_extensions.Literal[ +class BackendMetastore(typing.TypedDict, total=False): + metastoreType: typing.Literal[ "METASTORE_TYPE_UNSPECIFIED", "DATAPLEX", "BIGQUERY", "DATAPROC_METASTORE" ] name: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class BackfillStatus(typing.TypedDict, total=False): + migrationSummary: MigrationSummary + reportPath: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + +@typing.type_check_only +class Backup(typing.TypedDict, total=False): createTime: str description: str endTime: str name: str restoringServices: _list[str] serviceRevision: Service - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED", "RESTORING" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class BigLakeMetastoreMigrationConfig(typing.TypedDict, total=False): + backfillStatus: BackfillStatus + conflictPolicy: typing.Literal["CONFLICT_POLICY_UNSPECIFIED", "SKIP", "OVERWRITE"] + dryRun: bool + hiveConfig: HiveConfig + icebergConfig: IcebergConfig + mode: typing.Literal["MIGRATION_MODE_UNSPECIFIED", "BACKFILL"] + reportPath: str + +@typing.type_check_only +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelMigrationRequest(typing_extensions.TypedDict, total=False): ... +class CancelMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelMigrationResponse(typing_extensions.TypedDict, total=False): +class CancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CdcConfig(typing_extensions.TypedDict, total=False): +class CatalogReport(typing.TypedDict, total=False): + catalog: str + catalogType: typing.Literal["CATALOG_TYPE_UNSPECIFIED", "HIVE", "ICEBERG"] + databaseReports: dict[str, typing.Any] + +@typing.type_check_only +class CatalogSummary(typing.TypedDict, total=False): + catalog: str + catalogType: typing.Literal["CATALOG_TYPE_UNSPECIFIED", "HIVE", "ICEBERG"] + databaseSummaries: _list[DatabaseSummary] + +@typing.type_check_only +class CdcConfig(typing.TypedDict, total=False): bucket: str password: str reverseProxySubnet: str @@ -90,7 +116,7 @@ class CdcConfig(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class CloudSQLConnectionConfig(typing_extensions.TypedDict, total=False): +class CloudSQLConnectionConfig(typing.TypedDict, total=False): hiveDatabaseName: str instanceConnectionName: str ipAddress: str @@ -101,82 +127,112 @@ class CloudSQLConnectionConfig(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class CloudSQLMigrationConfig(typing_extensions.TypedDict, total=False): +class CloudSQLMigrationConfig(typing.TypedDict, total=False): cdcConfig: CdcConfig cloudSqlConnectionConfig: CloudSQLConnectionConfig @typing.type_check_only -class CompleteMigrationRequest(typing_extensions.TypedDict, total=False): ... +class CompleteMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CompleteMigrationResponse(typing_extensions.TypedDict, total=False): +class CompleteMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only -class Consumer(typing_extensions.TypedDict, total=False): +class Consumer(typing.TypedDict, total=False): endpointLocation: str endpointUri: str subnetwork: str @typing.type_check_only -class CustomRegionConfig(typing_extensions.TypedDict, total=False): +class CustomRegionConfig(typing.TypedDict, total=False): readOnlyRegions: _list[str] readWriteRegions: _list[str] @typing.type_check_only -class CustomRegionMetadata(typing_extensions.TypedDict, total=False): +class CustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class DataCatalogConfig(typing_extensions.TypedDict, total=False): +class DataCatalogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DatabaseDump(typing_extensions.TypedDict, total=False): - databaseType: typing_extensions.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL"] +class DatabaseDump(typing.TypedDict, total=False): + databaseType: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL"] gcsUri: str sourceDatabase: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + type: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + +@typing.type_check_only +class DatabaseReport(typing.TypedDict, total=False): + database: str + executionPlan: ExecutionPlan + executionResult: ExecutionResult + tableReports: dict[str, typing.Any] + +@typing.type_check_only +class DatabaseSummary(typing.TypedDict, total=False): + database: str + planAction: typing.Literal[ + "ACTION_UNSPECIFIED", "CREATE", "UPDATE", "SKIP", "DEPENDENCY_FAILURE", "ERROR" + ] + resultStatus: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] + tableSummary: TableSummary @typing.type_check_only -class DataplexConfig(typing_extensions.TypedDict, total=False): +class DataplexConfig(typing.TypedDict, total=False): lakeResources: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKey: str kmsKeys: _list[str] @typing.type_check_only -class ErrorDetails(typing_extensions.TypedDict, total=False): +class ErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class ExportMetadataRequest(typing_extensions.TypedDict, total=False): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class ExecutionPlan(typing.TypedDict, total=False): + action: typing.Literal[ + "ACTION_UNSPECIFIED", "CREATE", "UPDATE", "SKIP", "DEPENDENCY_FAILURE", "ERROR" + ] + diffs: dict[str, typing.Any] + reason: str + +@typing.type_check_only +class ExecutionResult(typing.TypedDict, total=False): + errorMessage: str + remediation: str + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] + +@typing.type_check_only +class ExportMetadataRequest(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsFolder: str requestId: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Federation(typing_extensions.TypedDict, total=False): +class Federation(typing.TypedDict, total=False): backendMetastores: dict[str, typing.Any] createTime: str endpointUri: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "ERROR" ] stateMessage: str @@ -186,87 +242,93 @@ class Federation(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class HiveMetastoreConfig(typing_extensions.TypedDict, total=False): +class HiveConfig(typing.TypedDict, total=False): + catalog: str + databases: _list[str] + +@typing.type_check_only +class HiveMetastoreConfig(typing.TypedDict, total=False): auxiliaryVersions: dict[str, typing.Any] configOverrides: dict[str, typing.Any] - endpointProtocol: typing_extensions.Literal[ - "ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC" - ] + endpointProtocol: typing.Literal["ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC"] kerberosConfig: KerberosConfig version: str @typing.type_check_only -class HiveMetastoreVersion(typing_extensions.TypedDict, total=False): +class HiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class KerberosConfig(typing_extensions.TypedDict, total=False): +class IcebergConfig(typing.TypedDict, total=False): + catalog: str + namespaces: _list[str] + +@typing.type_check_only +class KerberosConfig(typing.TypedDict, total=False): keytab: Secret krb5ConfigGcsUri: str principal: str @typing.type_check_only -class Lake(typing_extensions.TypedDict, total=False): +class Lake(typing.TypedDict, total=False): name: str @typing.type_check_only -class LatestBackup(typing_extensions.TypedDict, total=False): +class LatestBackup(typing.TypedDict, total=False): backupId: str duration: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED"] @typing.type_check_only -class LimitConfig(typing_extensions.TypedDict, total=False): +class LimitConfig(typing.TypedDict, total=False): maxScalingFactor: float minScalingFactor: float @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFederationsResponse(typing_extensions.TypedDict, total=False): +class ListFederationsResponse(typing.TypedDict, total=False): federations: _list[Federation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMetadataImportsResponse(typing_extensions.TypedDict, total=False): +class ListMetadataImportsResponse(typing.TypedDict, total=False): metadataImports: _list[MetadataImport] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMigrationExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListMigrationExecutionsResponse(typing.TypedDict, total=False): migrationExecutions: _list[MigrationExecution] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -274,14 +336,14 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[CustomRegionMetadata] multiRegionMetadata: MultiRegionMetadata supportedHiveMetastoreVersions: _list[HiveMetastoreVersion] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class MaintenanceWindow(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -294,48 +356,49 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): hourOfDay: int @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class MetadataExport(typing_extensions.TypedDict, total=False): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class MetadataExport(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsUri: str endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ] @typing.type_check_only -class MetadataImport(typing_extensions.TypedDict, total=False): +class MetadataImport(typing.TypedDict, total=False): createTime: str databaseDump: DatabaseDump description: str endTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "UPDATING", "FAILED" ] updateTime: str @typing.type_check_only -class MetadataIntegration(typing_extensions.TypedDict, total=False): +class MetadataIntegration(typing.TypedDict, total=False): dataCatalogConfig: DataCatalogConfig dataplexConfig: DataplexConfig @typing.type_check_only -class MetadataManagementActivity(typing_extensions.TypedDict, total=False): +class MetadataManagementActivity(typing.TypedDict, total=False): metadataExports: _list[MetadataExport] restores: _list[Restore] @typing.type_check_only -class MigrationExecution(typing_extensions.TypedDict, total=False): +class MigrationExecution(typing.TypedDict, total=False): + biglakeMetastoreMigrationConfig: BigLakeMetastoreMigrationConfig cloudSqlMigrationConfig: CloudSQLMigrationConfig createTime: str endTime: str name: str - phase: typing_extensions.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] - state: typing_extensions.Literal[ + phase: typing.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "RUNNING", @@ -345,36 +408,49 @@ class MigrationExecution(typing_extensions.TypedDict, total=False): "FAILED", "CANCELLED", "DELETING", + "ROLLED_BACK", ] stateMessage: str @typing.type_check_only -class MoveTableToDatabaseRequest(typing_extensions.TypedDict, total=False): +class MigrationReport(typing.TypedDict, total=False): + catalogReports: _list[CatalogReport] + summary: MigrationSummary + +@typing.type_check_only +class MigrationSummary(typing.TypedDict, total=False): + catalogSummaries: _list[CatalogSummary] + createTime: str + dryRun: bool + service: str + +@typing.type_check_only +class MoveTableToDatabaseRequest(typing.TypedDict, total=False): dbName: str destinationDbName: str tableName: str @typing.type_check_only -class MoveTableToDatabaseResponse(typing_extensions.TypedDict, total=False): ... +class MoveTableToDatabaseResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MultiRegionConfig(typing_extensions.TypedDict, total=False): +class MultiRegionConfig(typing.TypedDict, total=False): certificates: _list[RootCACertificate] customRegionConfig: CustomRegionConfig @typing.type_check_only -class MultiRegionMetadata(typing_extensions.TypedDict, total=False): +class MultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): consumers: _list[Consumer] customRoutesEnabled: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -382,7 +458,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -392,58 +468,64 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class PartitionReport(typing.TypedDict, total=False): + partitionFailedCount: str + partitionSuccessCount: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "SUCCEEDED", "PARTIALLY_SUCCEEDED", "FAILED" + ] + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class QueryMetadataRequest(typing_extensions.TypedDict, total=False): +class QueryMetadataRequest(typing.TypedDict, total=False): query: str @typing.type_check_only -class QueryMetadataResponse(typing_extensions.TypedDict, total=False): +class QueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only -class RemoveIamPolicyRequest(typing_extensions.TypedDict, total=False): +class RemoveIamPolicyRequest(typing.TypedDict, total=False): asynchronous: bool @typing.type_check_only -class RemoveIamPolicyResponse(typing_extensions.TypedDict, total=False): +class RemoveIamPolicyResponse(typing.TypedDict, total=False): success: bool @typing.type_check_only -class Restore(typing_extensions.TypedDict, total=False): +class Restore(typing.TypedDict, total=False): backup: str backupLocation: str details: str endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ] - type: typing_extensions.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] + type: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class RestoreServiceRequest(typing_extensions.TypedDict, total=False): +class RestoreServiceRequest(typing.TypedDict, total=False): backup: str backupLocation: str requestId: str - restoreType: typing_extensions.Literal[ - "RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY" - ] + restoreType: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class RootCACertificate(typing_extensions.TypedDict, total=False): +class RootCACertificate(typing.TypedDict, total=False): certificate: str expirationTime: str @typing.type_check_only -class ScalingConfig(typing_extensions.TypedDict, total=False): +class ScalingConfig(typing.TypedDict, total=False): autoscalingConfig: AutoscalingConfig - instanceSize: typing_extensions.Literal[ + instanceSize: typing.Literal[ "INSTANCE_SIZE_UNSPECIFIED", "EXTRA_SMALL", "SMALL", @@ -454,7 +536,7 @@ class ScalingConfig(typing_extensions.TypedDict, total=False): scalingFactor: float @typing.type_check_only -class ScheduledBackup(typing_extensions.TypedDict, total=False): +class ScheduledBackup(typing.TypedDict, total=False): backupLocation: str cronSchedule: str enabled: bool @@ -463,16 +545,14 @@ class ScheduledBackup(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): cloudSecret: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): artifactGcsUri: str createTime: str - databaseType: typing_extensions.Literal[ - "DATABASE_TYPE_UNSPECIFIED", "MYSQL", "SPANNER" - ] + databaseType: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL", "SPANNER"] deletionProtection: bool encryptionConfig: EncryptionConfig endpointUri: str @@ -486,12 +566,10 @@ class Service(typing_extensions.TypedDict, total=False): network: str networkConfig: NetworkConfig port: int - releaseChannel: typing_extensions.Literal[ - "RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "STABLE" - ] + releaseChannel: typing.Literal["RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "STABLE"] scalingConfig: ScalingConfig scheduledBackup: ScheduledBackup - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -502,32 +580,33 @@ class Service(typing_extensions.TypedDict, total=False): "ERROR", "AUTOSCALING", "MIGRATING", + "PROXY", ] stateMessage: str tags: dict[str, typing.Any] telemetryConfig: TelemetryConfig - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] + tier: typing.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] uid: str updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StartMigrationRequest(typing_extensions.TypedDict, total=False): +class StartMigrationRequest(typing.TypedDict, total=False): migrationExecution: MigrationExecution requestId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str @@ -535,13 +614,34 @@ class StatusProto(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class TelemetryConfig(typing_extensions.TypedDict, total=False): - logFormat: typing_extensions.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] +class TableReport(typing.TypedDict, total=False): + executionPlan: ExecutionPlan + executionResult: ExecutionResult + partitionDiscoveredCount: str + partitionReport: PartitionReport + table: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TableSummary(typing.TypedDict, total=False): + partitionDiscoveredCount: str + partitionFailedCount: str + partitionSuccessCount: str + planCounts: dict[str, typing.Any] + resultCounts: dict[str, typing.Any] + +@typing.type_check_only +class TelemetryConfig(typing.TypedDict, total=False): + logFormat: typing.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] + +@typing.type_check_only +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] + +@typing.type_check_only +class ValueDiff(typing.TypedDict, total=False): + sourceValue: str + targetValue: str diff --git a/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi b/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi index 8eb8c7d1c..f11ed38e7 100644 --- a/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi index b9e2bd99e..82e1eaf39 100644 --- a/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v1beta/schemas.pyi @@ -1,86 +1,112 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AlterMetadataResourceLocationRequest(typing_extensions.TypedDict, total=False): +class AlterMetadataResourceLocationRequest(typing.TypedDict, total=False): locationUri: str resourceName: str @typing.type_check_only -class AlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False -): ... +class AlterMetadataResourceLocationResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AlterTablePropertiesRequest(typing_extensions.TypedDict, total=False): +class AlterTablePropertiesRequest(typing.TypedDict, total=False): properties: dict[str, typing.Any] tableName: str updateMask: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutoscalingConfig(typing_extensions.TypedDict, total=False): +class AutoscalingConfig(typing.TypedDict, total=False): autoscalingEnabled: bool autoscalingFactor: float limitConfig: LimitConfig @typing.type_check_only -class AuxiliaryVersionConfig(typing_extensions.TypedDict, total=False): +class AuxiliaryVersionConfig(typing.TypedDict, total=False): configOverrides: dict[str, typing.Any] networkConfig: NetworkConfig version: str @typing.type_check_only -class BackendMetastore(typing_extensions.TypedDict, total=False): - metastoreType: typing_extensions.Literal[ +class BackendMetastore(typing.TypedDict, total=False): + metastoreType: typing.Literal[ "METASTORE_TYPE_UNSPECIFIED", "DATAPLEX", "BIGQUERY", "DATAPROC_METASTORE" ] name: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class BackfillStatus(typing.TypedDict, total=False): + migrationSummary: MigrationSummary + reportPath: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" + ] + +@typing.type_check_only +class Backup(typing.TypedDict, total=False): createTime: str description: str endTime: str name: str restoringServices: _list[str] serviceRevision: Service - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED", "RESTORING" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class BigLakeMetastoreMigrationConfig(typing.TypedDict, total=False): + backfillStatus: BackfillStatus + conflictPolicy: typing.Literal["CONFLICT_POLICY_UNSPECIFIED", "SKIP", "OVERWRITE"] + dryRun: bool + hiveConfig: HiveConfig + icebergConfig: IcebergConfig + mode: typing.Literal["MIGRATION_MODE_UNSPECIFIED", "BACKFILL"] + reportPath: str + +@typing.type_check_only +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelMigrationRequest(typing_extensions.TypedDict, total=False): ... +class CancelMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelMigrationResponse(typing_extensions.TypedDict, total=False): +class CancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CdcConfig(typing_extensions.TypedDict, total=False): +class CatalogReport(typing.TypedDict, total=False): + catalog: str + catalogType: typing.Literal["CATALOG_TYPE_UNSPECIFIED", "HIVE", "ICEBERG"] + databaseReports: dict[str, typing.Any] + +@typing.type_check_only +class CatalogSummary(typing.TypedDict, total=False): + catalog: str + catalogType: typing.Literal["CATALOG_TYPE_UNSPECIFIED", "HIVE", "ICEBERG"] + databaseSummaries: _list[DatabaseSummary] + +@typing.type_check_only +class CdcConfig(typing.TypedDict, total=False): bucket: str password: str reverseProxySubnet: str @@ -90,7 +116,7 @@ class CdcConfig(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class CloudSQLConnectionConfig(typing_extensions.TypedDict, total=False): +class CloudSQLConnectionConfig(typing.TypedDict, total=False): hiveDatabaseName: str instanceConnectionName: str ipAddress: str @@ -101,82 +127,112 @@ class CloudSQLConnectionConfig(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class CloudSQLMigrationConfig(typing_extensions.TypedDict, total=False): +class CloudSQLMigrationConfig(typing.TypedDict, total=False): cdcConfig: CdcConfig cloudSqlConnectionConfig: CloudSQLConnectionConfig @typing.type_check_only -class CompleteMigrationRequest(typing_extensions.TypedDict, total=False): ... +class CompleteMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CompleteMigrationResponse(typing_extensions.TypedDict, total=False): +class CompleteMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only -class Consumer(typing_extensions.TypedDict, total=False): +class Consumer(typing.TypedDict, total=False): endpointLocation: str endpointUri: str subnetwork: str @typing.type_check_only -class CustomRegionConfig(typing_extensions.TypedDict, total=False): +class CustomRegionConfig(typing.TypedDict, total=False): readOnlyRegions: _list[str] readWriteRegions: _list[str] @typing.type_check_only -class CustomRegionMetadata(typing_extensions.TypedDict, total=False): +class CustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class DataCatalogConfig(typing_extensions.TypedDict, total=False): +class DataCatalogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class DatabaseDump(typing_extensions.TypedDict, total=False): - databaseType: typing_extensions.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL"] +class DatabaseDump(typing.TypedDict, total=False): + databaseType: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL"] gcsUri: str sourceDatabase: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + type: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + +@typing.type_check_only +class DatabaseReport(typing.TypedDict, total=False): + database: str + executionPlan: ExecutionPlan + executionResult: ExecutionResult + tableReports: dict[str, typing.Any] + +@typing.type_check_only +class DatabaseSummary(typing.TypedDict, total=False): + database: str + planAction: typing.Literal[ + "ACTION_UNSPECIFIED", "CREATE", "UPDATE", "SKIP", "DEPENDENCY_FAILURE", "ERROR" + ] + resultStatus: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] + tableSummary: TableSummary @typing.type_check_only -class DataplexConfig(typing_extensions.TypedDict, total=False): +class DataplexConfig(typing.TypedDict, total=False): lakeResources: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKey: str kmsKeys: _list[str] @typing.type_check_only -class ErrorDetails(typing_extensions.TypedDict, total=False): +class ErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class ExportMetadataRequest(typing_extensions.TypedDict, total=False): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class ExecutionPlan(typing.TypedDict, total=False): + action: typing.Literal[ + "ACTION_UNSPECIFIED", "CREATE", "UPDATE", "SKIP", "DEPENDENCY_FAILURE", "ERROR" + ] + diffs: dict[str, typing.Any] + reason: str + +@typing.type_check_only +class ExecutionResult(typing.TypedDict, total=False): + errorMessage: str + remediation: str + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED"] + +@typing.type_check_only +class ExportMetadataRequest(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsFolder: str requestId: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Federation(typing_extensions.TypedDict, total=False): +class Federation(typing.TypedDict, total=False): backendMetastores: dict[str, typing.Any] createTime: str endpointUri: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "ERROR" ] stateMessage: str @@ -186,87 +242,93 @@ class Federation(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class HiveMetastoreConfig(typing_extensions.TypedDict, total=False): +class HiveConfig(typing.TypedDict, total=False): + catalog: str + databases: _list[str] + +@typing.type_check_only +class HiveMetastoreConfig(typing.TypedDict, total=False): auxiliaryVersions: dict[str, typing.Any] configOverrides: dict[str, typing.Any] - endpointProtocol: typing_extensions.Literal[ - "ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC" - ] + endpointProtocol: typing.Literal["ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC"] kerberosConfig: KerberosConfig version: str @typing.type_check_only -class HiveMetastoreVersion(typing_extensions.TypedDict, total=False): +class HiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class KerberosConfig(typing_extensions.TypedDict, total=False): +class IcebergConfig(typing.TypedDict, total=False): + catalog: str + namespaces: _list[str] + +@typing.type_check_only +class KerberosConfig(typing.TypedDict, total=False): keytab: Secret krb5ConfigGcsUri: str principal: str @typing.type_check_only -class Lake(typing_extensions.TypedDict, total=False): +class Lake(typing.TypedDict, total=False): name: str @typing.type_check_only -class LatestBackup(typing_extensions.TypedDict, total=False): +class LatestBackup(typing.TypedDict, total=False): backupId: str duration: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED"] @typing.type_check_only -class LimitConfig(typing_extensions.TypedDict, total=False): +class LimitConfig(typing.TypedDict, total=False): maxScalingFactor: float minScalingFactor: float @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFederationsResponse(typing_extensions.TypedDict, total=False): +class ListFederationsResponse(typing.TypedDict, total=False): federations: _list[Federation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMetadataImportsResponse(typing_extensions.TypedDict, total=False): +class ListMetadataImportsResponse(typing.TypedDict, total=False): metadataImports: _list[MetadataImport] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMigrationExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListMigrationExecutionsResponse(typing.TypedDict, total=False): migrationExecutions: _list[MigrationExecution] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -274,14 +336,14 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[CustomRegionMetadata] multiRegionMetadata: MultiRegionMetadata supportedHiveMetastoreVersions: _list[HiveMetastoreVersion] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class MaintenanceWindow(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -294,48 +356,49 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): hourOfDay: int @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class MetadataExport(typing_extensions.TypedDict, total=False): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class MetadataExport(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsUri: str endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ] @typing.type_check_only -class MetadataImport(typing_extensions.TypedDict, total=False): +class MetadataImport(typing.TypedDict, total=False): createTime: str databaseDump: DatabaseDump description: str endTime: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "UPDATING", "FAILED" ] updateTime: str @typing.type_check_only -class MetadataIntegration(typing_extensions.TypedDict, total=False): +class MetadataIntegration(typing.TypedDict, total=False): dataCatalogConfig: DataCatalogConfig dataplexConfig: DataplexConfig @typing.type_check_only -class MetadataManagementActivity(typing_extensions.TypedDict, total=False): +class MetadataManagementActivity(typing.TypedDict, total=False): metadataExports: _list[MetadataExport] restores: _list[Restore] @typing.type_check_only -class MigrationExecution(typing_extensions.TypedDict, total=False): +class MigrationExecution(typing.TypedDict, total=False): + biglakeMetastoreMigrationConfig: BigLakeMetastoreMigrationConfig cloudSqlMigrationConfig: CloudSQLMigrationConfig createTime: str endTime: str name: str - phase: typing_extensions.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] - state: typing_extensions.Literal[ + phase: typing.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "RUNNING", @@ -345,36 +408,49 @@ class MigrationExecution(typing_extensions.TypedDict, total=False): "FAILED", "CANCELLED", "DELETING", + "ROLLED_BACK", ] stateMessage: str @typing.type_check_only -class MoveTableToDatabaseRequest(typing_extensions.TypedDict, total=False): +class MigrationReport(typing.TypedDict, total=False): + catalogReports: _list[CatalogReport] + summary: MigrationSummary + +@typing.type_check_only +class MigrationSummary(typing.TypedDict, total=False): + catalogSummaries: _list[CatalogSummary] + createTime: str + dryRun: bool + service: str + +@typing.type_check_only +class MoveTableToDatabaseRequest(typing.TypedDict, total=False): dbName: str destinationDbName: str tableName: str @typing.type_check_only -class MoveTableToDatabaseResponse(typing_extensions.TypedDict, total=False): ... +class MoveTableToDatabaseResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class MultiRegionConfig(typing_extensions.TypedDict, total=False): +class MultiRegionConfig(typing.TypedDict, total=False): certificates: _list[RootCACertificate] customRegionConfig: CustomRegionConfig @typing.type_check_only -class MultiRegionMetadata(typing_extensions.TypedDict, total=False): +class MultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): consumers: _list[Consumer] customRoutesEnabled: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -382,7 +458,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -392,58 +468,64 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class PartitionReport(typing.TypedDict, total=False): + partitionFailedCount: str + partitionSuccessCount: str + state: typing.Literal[ + "STATE_UNSPECIFIED", "SUCCEEDED", "PARTIALLY_SUCCEEDED", "FAILED" + ] + +@typing.type_check_only +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class QueryMetadataRequest(typing_extensions.TypedDict, total=False): +class QueryMetadataRequest(typing.TypedDict, total=False): query: str @typing.type_check_only -class QueryMetadataResponse(typing_extensions.TypedDict, total=False): +class QueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only -class RemoveIamPolicyRequest(typing_extensions.TypedDict, total=False): +class RemoveIamPolicyRequest(typing.TypedDict, total=False): asynchronous: bool @typing.type_check_only -class RemoveIamPolicyResponse(typing_extensions.TypedDict, total=False): +class RemoveIamPolicyResponse(typing.TypedDict, total=False): success: bool @typing.type_check_only -class Restore(typing_extensions.TypedDict, total=False): +class Restore(typing.TypedDict, total=False): backup: str backupLocation: str details: str endTime: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ] - type: typing_extensions.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] + type: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class RestoreServiceRequest(typing_extensions.TypedDict, total=False): +class RestoreServiceRequest(typing.TypedDict, total=False): backup: str backupLocation: str requestId: str - restoreType: typing_extensions.Literal[ - "RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY" - ] + restoreType: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class RootCACertificate(typing_extensions.TypedDict, total=False): +class RootCACertificate(typing.TypedDict, total=False): certificate: str expirationTime: str @typing.type_check_only -class ScalingConfig(typing_extensions.TypedDict, total=False): +class ScalingConfig(typing.TypedDict, total=False): autoscalingConfig: AutoscalingConfig - instanceSize: typing_extensions.Literal[ + instanceSize: typing.Literal[ "INSTANCE_SIZE_UNSPECIFIED", "EXTRA_SMALL", "SMALL", @@ -454,7 +536,7 @@ class ScalingConfig(typing_extensions.TypedDict, total=False): scalingFactor: float @typing.type_check_only -class ScheduledBackup(typing_extensions.TypedDict, total=False): +class ScheduledBackup(typing.TypedDict, total=False): backupLocation: str cronSchedule: str enabled: bool @@ -463,16 +545,14 @@ class ScheduledBackup(typing_extensions.TypedDict, total=False): timeZone: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): cloudSecret: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): artifactGcsUri: str createTime: str - databaseType: typing_extensions.Literal[ - "DATABASE_TYPE_UNSPECIFIED", "MYSQL", "SPANNER" - ] + databaseType: typing.Literal["DATABASE_TYPE_UNSPECIFIED", "MYSQL", "SPANNER"] deletionProtection: bool encryptionConfig: EncryptionConfig endpointUri: str @@ -486,12 +566,10 @@ class Service(typing_extensions.TypedDict, total=False): network: str networkConfig: NetworkConfig port: int - releaseChannel: typing_extensions.Literal[ - "RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "STABLE" - ] + releaseChannel: typing.Literal["RELEASE_CHANNEL_UNSPECIFIED", "CANARY", "STABLE"] scalingConfig: ScalingConfig scheduledBackup: ScheduledBackup - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -502,32 +580,33 @@ class Service(typing_extensions.TypedDict, total=False): "ERROR", "AUTOSCALING", "MIGRATING", + "PROXY", ] stateMessage: str tags: dict[str, typing.Any] telemetryConfig: TelemetryConfig - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] + tier: typing.Literal["TIER_UNSPECIFIED", "DEVELOPER", "ENTERPRISE"] uid: str updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StartMigrationRequest(typing_extensions.TypedDict, total=False): +class StartMigrationRequest(typing.TypedDict, total=False): migrationExecution: MigrationExecution requestId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str @@ -535,13 +614,34 @@ class StatusProto(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class TelemetryConfig(typing_extensions.TypedDict, total=False): - logFormat: typing_extensions.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] +class TableReport(typing.TypedDict, total=False): + executionPlan: ExecutionPlan + executionResult: ExecutionResult + partitionDiscoveredCount: str + partitionReport: PartitionReport + table: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TableSummary(typing.TypedDict, total=False): + partitionDiscoveredCount: str + partitionFailedCount: str + partitionSuccessCount: str + planCounts: dict[str, typing.Any] + resultCounts: dict[str, typing.Any] + +@typing.type_check_only +class TelemetryConfig(typing.TypedDict, total=False): + logFormat: typing.Literal["LOG_FORMAT_UNSPECIFIED", "LEGACY", "JSON"] + +@typing.type_check_only +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] + +@typing.type_check_only +class ValueDiff(typing.TypedDict, total=False): + sourceValue: str + targetValue: str diff --git a/googleapiclient-stubs/_apis/metastore/v2/resources.pyi b/googleapiclient-stubs/_apis/metastore/v2/resources.pyi index 84119c2d4..8313766bc 100644 --- a/googleapiclient-stubs/_apis/metastore/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi index 04bd81e68..661c3ade2 100644 --- a/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2/schemas.pyi @@ -1,54 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1CustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1CustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1ErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1ErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1HiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1HiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1LocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1LocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1CustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1MultiRegionMetadata supportedHiveMetastoreVersions: _list[GoogleCloudMetastoreV1HiveMetastoreVersion] @typing.type_check_only class GoogleCloudMetastoreV1MoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1MultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1MultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -58,51 +50,41 @@ class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total verb: str @typing.type_check_only -class GoogleCloudMetastoreV1QueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1QueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1alphaCancelMigrationResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaCancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only class GoogleCloudMetastoreV1alphaCompleteMigrationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecution: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaCustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaCustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1alphaErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1alphaHiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaHiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaLocationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaLocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1alphaCustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1alphaMultiRegionMetadata supportedHiveMetastoreVersions: _list[ @@ -111,21 +93,17 @@ class GoogleCloudMetastoreV1alphaLocationMetadata( @typing.type_check_only class GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1alphaMultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaMultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -135,51 +113,41 @@ class GoogleCloudMetastoreV1alphaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaQueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaQueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1betaCancelMigrationResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaCancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only class GoogleCloudMetastoreV1betaCompleteMigrationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecution: str @typing.type_check_only -class GoogleCloudMetastoreV1betaCustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaCustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1betaErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1betaErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1betaHiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaHiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1betaLocationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaLocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1betaCustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1betaMultiRegionMetadata supportedHiveMetastoreVersions: _list[ @@ -188,21 +156,17 @@ class GoogleCloudMetastoreV1betaLocationMetadata( @typing.type_check_only class GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1betaMultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaMultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1betaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -212,154 +176,122 @@ class GoogleCloudMetastoreV1betaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudMetastoreV1betaQueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaQueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationUri: str resourceName: str @typing.type_check_only -class GoogleCloudMetastoreV2AlterTablePropertiesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2AlterTablePropertiesRequest(typing.TypedDict, total=False): properties: dict[str, typing.Any] tableName: str updateMask: str @typing.type_check_only -class GoogleCloudMetastoreV2AuxiliaryVersionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2AuxiliaryVersionConfig(typing.TypedDict, total=False): configOverrides: dict[str, typing.Any] endpoints: _list[GoogleCloudMetastoreV2Endpoint] version: str @typing.type_check_only -class GoogleCloudMetastoreV2Backup(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2Backup(typing.TypedDict, total=False): createTime: str description: str endTime: str name: str restoringServices: _list[str] serviceRevision: GoogleCloudMetastoreV2Service - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED", "RESTORING" ] @typing.type_check_only -class GoogleCloudMetastoreV2DataCatalogConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2DataCatalogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudMetastoreV2DatabaseDump(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2DatabaseDump(typing.TypedDict, total=False): gcsUri: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + type: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] @typing.type_check_only -class GoogleCloudMetastoreV2EncryptionConfig( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudMetastoreV2EncryptionConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudMetastoreV2Endpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2Endpoint(typing.TypedDict, total=False): endpointUri: str region: str @typing.type_check_only -class GoogleCloudMetastoreV2ExportMetadataRequest( - typing_extensions.TypedDict, total=False -): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class GoogleCloudMetastoreV2ExportMetadataRequest(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsFolder: str requestId: str @typing.type_check_only -class GoogleCloudMetastoreV2HiveMetastoreConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2HiveMetastoreConfig(typing.TypedDict, total=False): auxiliaryVersions: dict[str, typing.Any] configOverrides: dict[str, typing.Any] - endpointProtocol: typing_extensions.Literal[ - "ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC" - ] + endpointProtocol: typing.Literal["ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC"] version: str @typing.type_check_only -class GoogleCloudMetastoreV2ImportMetadataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2ImportMetadataRequest(typing.TypedDict, total=False): databaseDump: GoogleCloudMetastoreV2DatabaseDump description: str requestId: str @typing.type_check_only -class GoogleCloudMetastoreV2LatestBackup(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2LatestBackup(typing.TypedDict, total=False): backupId: str duration: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudMetastoreV2ListBackupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2ListBackupsResponse(typing.TypedDict, total=False): backups: _list[GoogleCloudMetastoreV2Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class GoogleCloudMetastoreV2ListServicesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[GoogleCloudMetastoreV2Service] unreachable: _list[str] @typing.type_check_only -class GoogleCloudMetastoreV2MetadataIntegration( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2MetadataIntegration(typing.TypedDict, total=False): dataCatalogConfig: GoogleCloudMetastoreV2DataCatalogConfig @typing.type_check_only -class GoogleCloudMetastoreV2MoveTableToDatabaseRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2MoveTableToDatabaseRequest(typing.TypedDict, total=False): dbName: str destinationDbName: str tableName: str @typing.type_check_only -class GoogleCloudMetastoreV2QueryMetadataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2QueryMetadataRequest(typing.TypedDict, total=False): query: str @typing.type_check_only -class GoogleCloudMetastoreV2RestoreServiceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2RestoreServiceRequest(typing.TypedDict, total=False): backup: str backupLocation: str requestId: str - restoreType: typing_extensions.Literal[ - "RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY" - ] + restoreType: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class GoogleCloudMetastoreV2ScalingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2ScalingConfig(typing.TypedDict, total=False): scalingFactor: int @typing.type_check_only -class GoogleCloudMetastoreV2ScheduledBackup(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2ScheduledBackup(typing.TypedDict, total=False): backupLocation: str cronSchedule: str enabled: bool @@ -368,7 +300,7 @@ class GoogleCloudMetastoreV2ScheduledBackup(typing_extensions.TypedDict, total=F timeZone: str @typing.type_check_only -class GoogleCloudMetastoreV2Service(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2Service(typing.TypedDict, total=False): createTime: str encryptionConfig: GoogleCloudMetastoreV2EncryptionConfig endpoints: _list[GoogleCloudMetastoreV2Endpoint] @@ -378,7 +310,7 @@ class GoogleCloudMetastoreV2Service(typing_extensions.TypedDict, total=False): name: str scalingConfig: GoogleCloudMetastoreV2ScalingConfig scheduledBackup: GoogleCloudMetastoreV2ScheduledBackup - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -394,7 +326,7 @@ class GoogleCloudMetastoreV2Service(typing_extensions.TypedDict, total=False): warehouseGcsUri: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -402,7 +334,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/metastore/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/metastore/v2alpha/resources.pyi index bd075bc0c..f8d5362a9 100644 --- a/googleapiclient-stubs/_apis/metastore/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi index c33fbe1e3..612612d1a 100644 --- a/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2alpha/schemas.pyi @@ -1,54 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1CustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1CustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1ErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1ErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1HiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1HiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1LocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1LocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1CustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1MultiRegionMetadata supportedHiveMetastoreVersions: _list[GoogleCloudMetastoreV1HiveMetastoreVersion] @typing.type_check_only class GoogleCloudMetastoreV1MoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1MultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1MultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -58,51 +50,41 @@ class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total verb: str @typing.type_check_only -class GoogleCloudMetastoreV1QueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1QueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1alphaCancelMigrationResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaCancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only class GoogleCloudMetastoreV1alphaCompleteMigrationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecution: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaCustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaCustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1alphaErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1alphaHiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaHiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaLocationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaLocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1alphaCustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1alphaMultiRegionMetadata supportedHiveMetastoreVersions: _list[ @@ -111,21 +93,17 @@ class GoogleCloudMetastoreV1alphaLocationMetadata( @typing.type_check_only class GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1alphaMultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaMultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -135,51 +113,41 @@ class GoogleCloudMetastoreV1alphaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaQueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaQueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1betaCancelMigrationResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaCancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only class GoogleCloudMetastoreV1betaCompleteMigrationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecution: str @typing.type_check_only -class GoogleCloudMetastoreV1betaCustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaCustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1betaErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1betaErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1betaHiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaHiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1betaLocationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaLocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1betaCustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1betaMultiRegionMetadata supportedHiveMetastoreVersions: _list[ @@ -188,21 +156,17 @@ class GoogleCloudMetastoreV1betaLocationMetadata( @typing.type_check_only class GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1betaMultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaMultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1betaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -212,61 +176,55 @@ class GoogleCloudMetastoreV1betaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudMetastoreV1betaQueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaQueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV2alphaAlterMetadataResourceLocationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationUri: str resourceName: str @typing.type_check_only class GoogleCloudMetastoreV2alphaAlterTablePropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): properties: dict[str, typing.Any] tableName: str updateMask: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaAutoscalingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaAutoscalingConfig(typing.TypedDict, total=False): autoscalingEnabled: bool autoscalingFactor: int limitConfig: GoogleCloudMetastoreV2alphaLimitConfig @typing.type_check_only -class GoogleCloudMetastoreV2alphaAuxiliaryVersionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaAuxiliaryVersionConfig(typing.TypedDict, total=False): configOverrides: dict[str, typing.Any] endpoints: _list[GoogleCloudMetastoreV2alphaEndpoint] version: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaBackup(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2alphaBackup(typing.TypedDict, total=False): createTime: str description: str endTime: str name: str restoringServices: _list[str] serviceRevision: GoogleCloudMetastoreV2alphaService - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED", "RESTORING" ] @typing.type_check_only class GoogleCloudMetastoreV2alphaCancelMigrationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV2alphaCdcConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2alphaCdcConfig(typing.TypedDict, total=False): bucket: str password: str reverseProxySubnet: str @@ -277,7 +235,7 @@ class GoogleCloudMetastoreV2alphaCdcConfig(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudMetastoreV2alphaCloudSQLConnectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hiveDatabaseName: str instanceConnectionName: str @@ -289,119 +247,95 @@ class GoogleCloudMetastoreV2alphaCloudSQLConnectionConfig( username: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaCloudSQLMigrationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaCloudSQLMigrationConfig(typing.TypedDict, total=False): cdcConfig: GoogleCloudMetastoreV2alphaCdcConfig cloudSqlConnectionConfig: GoogleCloudMetastoreV2alphaCloudSQLConnectionConfig @typing.type_check_only class GoogleCloudMetastoreV2alphaCompleteMigrationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV2alphaDataCatalogConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaDataCatalogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudMetastoreV2alphaDatabaseDump(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2alphaDatabaseDump(typing.TypedDict, total=False): gcsUri: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + type: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] @typing.type_check_only -class GoogleCloudMetastoreV2alphaEncryptionConfig( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudMetastoreV2alphaEncryptionConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudMetastoreV2alphaEndpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2alphaEndpoint(typing.TypedDict, total=False): endpointUri: str region: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaExportMetadataRequest( - typing_extensions.TypedDict, total=False -): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class GoogleCloudMetastoreV2alphaExportMetadataRequest(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsFolder: str requestId: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaHiveMetastoreConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaHiveMetastoreConfig(typing.TypedDict, total=False): auxiliaryVersions: dict[str, typing.Any] configOverrides: dict[str, typing.Any] - endpointProtocol: typing_extensions.Literal[ - "ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC" - ] + endpointProtocol: typing.Literal["ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC"] version: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaImportMetadataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaImportMetadataRequest(typing.TypedDict, total=False): databaseDump: GoogleCloudMetastoreV2alphaDatabaseDump description: str requestId: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaLatestBackup(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2alphaLatestBackup(typing.TypedDict, total=False): backupId: str duration: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudMetastoreV2alphaLimitConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2alphaLimitConfig(typing.TypedDict, total=False): maxScalingFactor: int minScalingFactor: int @typing.type_check_only -class GoogleCloudMetastoreV2alphaListBackupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaListBackupsResponse(typing.TypedDict, total=False): backups: _list[GoogleCloudMetastoreV2alphaBackup] nextPageToken: str unreachable: _list[str] @typing.type_check_only class GoogleCloudMetastoreV2alphaListMigrationExecutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecutions: _list[GoogleCloudMetastoreV2alphaMigrationExecution] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class GoogleCloudMetastoreV2alphaListServicesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[GoogleCloudMetastoreV2alphaService] unreachable: _list[str] @typing.type_check_only -class GoogleCloudMetastoreV2alphaMetadataIntegration( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaMetadataIntegration(typing.TypedDict, total=False): dataCatalogConfig: GoogleCloudMetastoreV2alphaDataCatalogConfig @typing.type_check_only -class GoogleCloudMetastoreV2alphaMigrationExecution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaMigrationExecution(typing.TypedDict, total=False): cloudSqlMigrationConfig: GoogleCloudMetastoreV2alphaCloudSQLMigrationConfig createTime: str endTime: str name: str - phase: typing_extensions.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] - state: typing_extensions.Literal[ + phase: typing.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "RUNNING", @@ -416,52 +350,38 @@ class GoogleCloudMetastoreV2alphaMigrationExecution( @typing.type_check_only class GoogleCloudMetastoreV2alphaMoveTableToDatabaseRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dbName: str destinationDbName: str tableName: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaQueryMetadataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaQueryMetadataRequest(typing.TypedDict, total=False): query: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest(typing.TypedDict, total=False): asynchronous: bool @typing.type_check_only -class GoogleCloudMetastoreV2alphaRemoveIamPolicyResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaRemoveIamPolicyResponse(typing.TypedDict, total=False): success: bool @typing.type_check_only -class GoogleCloudMetastoreV2alphaRestoreServiceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaRestoreServiceRequest(typing.TypedDict, total=False): backup: str backupLocation: str requestId: str - restoreType: typing_extensions.Literal[ - "RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY" - ] + restoreType: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class GoogleCloudMetastoreV2alphaScalingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaScalingConfig(typing.TypedDict, total=False): autoscalingConfig: GoogleCloudMetastoreV2alphaAutoscalingConfig scalingFactor: int @typing.type_check_only -class GoogleCloudMetastoreV2alphaScheduledBackup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaScheduledBackup(typing.TypedDict, total=False): backupLocation: str cronSchedule: str enabled: bool @@ -470,7 +390,7 @@ class GoogleCloudMetastoreV2alphaScheduledBackup( timeZone: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaService(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2alphaService(typing.TypedDict, total=False): createTime: str encryptionConfig: GoogleCloudMetastoreV2alphaEncryptionConfig endpoints: _list[GoogleCloudMetastoreV2alphaEndpoint] @@ -480,7 +400,7 @@ class GoogleCloudMetastoreV2alphaService(typing_extensions.TypedDict, total=Fals name: str scalingConfig: GoogleCloudMetastoreV2alphaScalingConfig scheduledBackup: GoogleCloudMetastoreV2alphaScheduledBackup - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -497,14 +417,12 @@ class GoogleCloudMetastoreV2alphaService(typing_extensions.TypedDict, total=Fals warehouseGcsUri: str @typing.type_check_only -class GoogleCloudMetastoreV2alphaStartMigrationRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2alphaStartMigrationRequest(typing.TypedDict, total=False): migrationExecution: GoogleCloudMetastoreV2alphaMigrationExecution requestId: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -512,7 +430,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/metastore/v2beta/resources.pyi b/googleapiclient-stubs/_apis/metastore/v2beta/resources.pyi index f45811480..62959b561 100644 --- a/googleapiclient-stubs/_apis/metastore/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi index 27afac940..116845c69 100644 --- a/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/metastore/v2beta/schemas.pyi @@ -1,54 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1CustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1CustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1ErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1ErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1HiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1HiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1LocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1LocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1CustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1MultiRegionMetadata supportedHiveMetastoreVersions: _list[GoogleCloudMetastoreV1HiveMetastoreVersion] @typing.type_check_only class GoogleCloudMetastoreV1MoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1MultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1MultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -58,51 +50,41 @@ class GoogleCloudMetastoreV1OperationMetadata(typing_extensions.TypedDict, total verb: str @typing.type_check_only -class GoogleCloudMetastoreV1QueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1QueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1alphaCancelMigrationResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaCancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only class GoogleCloudMetastoreV1alphaCompleteMigrationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecution: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaCustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaCustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1alphaErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1alphaHiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaHiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaLocationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaLocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1alphaCustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1alphaMultiRegionMetadata supportedHiveMetastoreVersions: _list[ @@ -111,21 +93,17 @@ class GoogleCloudMetastoreV1alphaLocationMetadata( @typing.type_check_only class GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1alphaMultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaMultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -135,51 +113,41 @@ class GoogleCloudMetastoreV1alphaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudMetastoreV1alphaQueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1alphaQueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1betaCancelMigrationResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaCancelMigrationResponse(typing.TypedDict, total=False): migrationExecution: str @typing.type_check_only class GoogleCloudMetastoreV1betaCompleteMigrationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecution: str @typing.type_check_only -class GoogleCloudMetastoreV1betaCustomRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaCustomRegionMetadata(typing.TypedDict, total=False): optionalReadOnlyRegions: _list[str] requiredReadWriteRegions: _list[str] witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1betaErrorDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV1betaErrorDetails(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMetastoreV1betaHiveMetastoreVersion( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaHiveMetastoreVersion(typing.TypedDict, total=False): isDefault: bool version: str @typing.type_check_only -class GoogleCloudMetastoreV1betaLocationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaLocationMetadata(typing.TypedDict, total=False): customRegionMetadata: _list[GoogleCloudMetastoreV1betaCustomRegionMetadata] multiRegionMetadata: GoogleCloudMetastoreV1betaMultiRegionMetadata supportedHiveMetastoreVersions: _list[ @@ -188,21 +156,17 @@ class GoogleCloudMetastoreV1betaLocationMetadata( @typing.type_check_only class GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV1betaMultiRegionMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaMultiRegionMetadata(typing.TypedDict, total=False): constituentRegions: _list[str] continent: str witnessRegion: str @typing.type_check_only -class GoogleCloudMetastoreV1betaOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaOperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -212,61 +176,55 @@ class GoogleCloudMetastoreV1betaOperationMetadata( verb: str @typing.type_check_only -class GoogleCloudMetastoreV1betaQueryMetadataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV1betaQueryMetadataResponse(typing.TypedDict, total=False): resultManifestUri: str @typing.type_check_only class GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationUri: str resourceName: str @typing.type_check_only class GoogleCloudMetastoreV2betaAlterTablePropertiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): properties: dict[str, typing.Any] tableName: str updateMask: str @typing.type_check_only -class GoogleCloudMetastoreV2betaAutoscalingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaAutoscalingConfig(typing.TypedDict, total=False): autoscalingEnabled: bool autoscalingFactor: int limitConfig: GoogleCloudMetastoreV2betaLimitConfig @typing.type_check_only -class GoogleCloudMetastoreV2betaAuxiliaryVersionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaAuxiliaryVersionConfig(typing.TypedDict, total=False): configOverrides: dict[str, typing.Any] endpoints: _list[GoogleCloudMetastoreV2betaEndpoint] version: str @typing.type_check_only -class GoogleCloudMetastoreV2betaBackup(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaBackup(typing.TypedDict, total=False): createTime: str description: str endTime: str name: str restoringServices: _list[str] serviceRevision: GoogleCloudMetastoreV2betaService - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", "ACTIVE", "FAILED", "RESTORING" ] @typing.type_check_only class GoogleCloudMetastoreV2betaCancelMigrationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV2betaCdcConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaCdcConfig(typing.TypedDict, total=False): bucket: str password: str reverseProxySubnet: str @@ -276,9 +234,7 @@ class GoogleCloudMetastoreV2betaCdcConfig(typing_extensions.TypedDict, total=Fal vpcNetwork: str @typing.type_check_only -class GoogleCloudMetastoreV2betaCloudSQLConnectionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaCloudSQLConnectionConfig(typing.TypedDict, total=False): hiveDatabaseName: str instanceConnectionName: str ipAddress: str @@ -289,119 +245,95 @@ class GoogleCloudMetastoreV2betaCloudSQLConnectionConfig( username: str @typing.type_check_only -class GoogleCloudMetastoreV2betaCloudSQLMigrationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaCloudSQLMigrationConfig(typing.TypedDict, total=False): cdcConfig: GoogleCloudMetastoreV2betaCdcConfig cloudSqlConnectionConfig: GoogleCloudMetastoreV2betaCloudSQLConnectionConfig @typing.type_check_only class GoogleCloudMetastoreV2betaCompleteMigrationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudMetastoreV2betaDataCatalogConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaDataCatalogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class GoogleCloudMetastoreV2betaDatabaseDump(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaDatabaseDump(typing.TypedDict, total=False): gcsUri: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] + type: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] @typing.type_check_only -class GoogleCloudMetastoreV2betaEncryptionConfig( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudMetastoreV2betaEncryptionConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudMetastoreV2betaEndpoint(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaEndpoint(typing.TypedDict, total=False): endpointUri: str region: str @typing.type_check_only -class GoogleCloudMetastoreV2betaExportMetadataRequest( - typing_extensions.TypedDict, total=False -): - databaseDumpType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] +class GoogleCloudMetastoreV2betaExportMetadataRequest(typing.TypedDict, total=False): + databaseDumpType: typing.Literal["TYPE_UNSPECIFIED", "MYSQL", "AVRO"] destinationGcsFolder: str requestId: str @typing.type_check_only -class GoogleCloudMetastoreV2betaHiveMetastoreConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaHiveMetastoreConfig(typing.TypedDict, total=False): auxiliaryVersions: dict[str, typing.Any] configOverrides: dict[str, typing.Any] - endpointProtocol: typing_extensions.Literal[ - "ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC" - ] + endpointProtocol: typing.Literal["ENDPOINT_PROTOCOL_UNSPECIFIED", "THRIFT", "GRPC"] version: str @typing.type_check_only -class GoogleCloudMetastoreV2betaImportMetadataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaImportMetadataRequest(typing.TypedDict, total=False): databaseDump: GoogleCloudMetastoreV2betaDatabaseDump description: str requestId: str @typing.type_check_only -class GoogleCloudMetastoreV2betaLatestBackup(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaLatestBackup(typing.TypedDict, total=False): backupId: str duration: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED"] @typing.type_check_only -class GoogleCloudMetastoreV2betaLimitConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaLimitConfig(typing.TypedDict, total=False): maxScalingFactor: int minScalingFactor: int @typing.type_check_only -class GoogleCloudMetastoreV2betaListBackupsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaListBackupsResponse(typing.TypedDict, total=False): backups: _list[GoogleCloudMetastoreV2betaBackup] nextPageToken: str unreachable: _list[str] @typing.type_check_only class GoogleCloudMetastoreV2betaListMigrationExecutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): migrationExecutions: _list[GoogleCloudMetastoreV2betaMigrationExecution] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class GoogleCloudMetastoreV2betaListServicesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[GoogleCloudMetastoreV2betaService] unreachable: _list[str] @typing.type_check_only -class GoogleCloudMetastoreV2betaMetadataIntegration( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaMetadataIntegration(typing.TypedDict, total=False): dataCatalogConfig: GoogleCloudMetastoreV2betaDataCatalogConfig @typing.type_check_only -class GoogleCloudMetastoreV2betaMigrationExecution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaMigrationExecution(typing.TypedDict, total=False): cloudSqlMigrationConfig: GoogleCloudMetastoreV2betaCloudSQLMigrationConfig createTime: str endTime: str name: str - phase: typing_extensions.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] - state: typing_extensions.Literal[ + phase: typing.Literal["PHASE_UNSPECIFIED", "REPLICATION", "CUTOVER"] + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "RUNNING", @@ -416,50 +348,38 @@ class GoogleCloudMetastoreV2betaMigrationExecution( @typing.type_check_only class GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dbName: str destinationDbName: str tableName: str @typing.type_check_only -class GoogleCloudMetastoreV2betaQueryMetadataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaQueryMetadataRequest(typing.TypedDict, total=False): query: str @typing.type_check_only -class GoogleCloudMetastoreV2betaRemoveIamPolicyRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaRemoveIamPolicyRequest(typing.TypedDict, total=False): asynchronous: bool @typing.type_check_only -class GoogleCloudMetastoreV2betaRemoveIamPolicyResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaRemoveIamPolicyResponse(typing.TypedDict, total=False): success: bool @typing.type_check_only -class GoogleCloudMetastoreV2betaRestoreServiceRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaRestoreServiceRequest(typing.TypedDict, total=False): backup: str backupLocation: str requestId: str - restoreType: typing_extensions.Literal[ - "RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY" - ] + restoreType: typing.Literal["RESTORE_TYPE_UNSPECIFIED", "FULL", "METADATA_ONLY"] @typing.type_check_only -class GoogleCloudMetastoreV2betaScalingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaScalingConfig(typing.TypedDict, total=False): autoscalingConfig: GoogleCloudMetastoreV2betaAutoscalingConfig scalingFactor: int @typing.type_check_only -class GoogleCloudMetastoreV2betaScheduledBackup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaScheduledBackup(typing.TypedDict, total=False): backupLocation: str cronSchedule: str enabled: bool @@ -468,7 +388,7 @@ class GoogleCloudMetastoreV2betaScheduledBackup( timeZone: str @typing.type_check_only -class GoogleCloudMetastoreV2betaService(typing_extensions.TypedDict, total=False): +class GoogleCloudMetastoreV2betaService(typing.TypedDict, total=False): createTime: str encryptionConfig: GoogleCloudMetastoreV2betaEncryptionConfig endpoints: _list[GoogleCloudMetastoreV2betaEndpoint] @@ -478,7 +398,7 @@ class GoogleCloudMetastoreV2betaService(typing_extensions.TypedDict, total=False name: str scalingConfig: GoogleCloudMetastoreV2betaScalingConfig scheduledBackup: GoogleCloudMetastoreV2betaScheduledBackup - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -495,14 +415,12 @@ class GoogleCloudMetastoreV2betaService(typing_extensions.TypedDict, total=False warehouseGcsUri: str @typing.type_check_only -class GoogleCloudMetastoreV2betaStartMigrationRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMetastoreV2betaStartMigrationRequest(typing.TypedDict, total=False): migrationExecution: GoogleCloudMetastoreV2betaMigrationExecution requestId: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -510,7 +428,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi index 4ccccb4c4..81a4d9da4 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -51,7 +50,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ASSET_VIEW_UNSPECIFIED", "ASSET_VIEW_BASIC", "ASSET_VIEW_FULL", @@ -71,7 +70,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., showHidden: bool | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ASSET_VIEW_UNSPECIFIED", "ASSET_VIEW_BASIC", "ASSET_VIEW_FULL", @@ -316,7 +315,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "IMPORT_JOB_VIEW_UNSPECIFIED", "IMPORT_JOB_VIEW_BASIC", "IMPORT_JOB_VIEW_FULL", @@ -332,7 +331,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "IMPORT_JOB_VIEW_UNSPECIFIED", "IMPORT_JOB_VIEW_BASIC", "IMPORT_JOB_VIEW_FULL", @@ -487,7 +486,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "REPORT_VIEW_UNSPECIFIED", "REPORT_VIEW_BASIC", "REPORT_VIEW_FULL", @@ -504,7 +503,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "REPORT_VIEW_UNSPECIFIED", "REPORT_VIEW_BASIC", "REPORT_VIEW_FULL", @@ -564,7 +563,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ERROR_FRAME_VIEW_UNSPECIFIED", "ERROR_FRAME_VIEW_BASIC", "ERROR_FRAME_VIEW_FULL", @@ -578,7 +577,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ERROR_FRAME_VIEW_UNSPECIFIED", "ERROR_FRAME_VIEW_BASIC", "ERROR_FRAME_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi index 4fb3968e0..d1da07cdd 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddAssetsToGroupRequest(typing_extensions.TypedDict, total=False): +class AddAssetsToGroupRequest(typing.TypedDict, total=False): allowExisting: bool assets: AssetList requestId: str @typing.type_check_only -class AggregateAssetsValuesRequest(typing_extensions.TypedDict, total=False): +class AggregateAssetsValuesRequest(typing.TypedDict, total=False): aggregations: _list[Aggregation] filter: str showHidden: bool @typing.type_check_only -class AggregateAssetsValuesResponse(typing_extensions.TypedDict, total=False): +class AggregateAssetsValuesResponse(typing.TypedDict, total=False): results: _list[AggregationResult] @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): count: AggregationCount field: str frequency: AggregationFrequency @@ -29,17 +27,17 @@ class Aggregation(typing_extensions.TypedDict, total=False): sum: AggregationSum @typing.type_check_only -class AggregationCount(typing_extensions.TypedDict, total=False): ... +class AggregationCount(typing.TypedDict, total=False): ... @typing.type_check_only -class AggregationFrequency(typing_extensions.TypedDict, total=False): ... +class AggregationFrequency(typing.TypedDict, total=False): ... @typing.type_check_only -class AggregationHistogram(typing_extensions.TypedDict, total=False): +class AggregationHistogram(typing.TypedDict, total=False): lowerBounds: _list[float] @typing.type_check_only -class AggregationResult(typing_extensions.TypedDict, total=False): +class AggregationResult(typing.TypedDict, total=False): count: AggregationResultCount field: str frequency: AggregationResultFrequency @@ -47,32 +45,32 @@ class AggregationResult(typing_extensions.TypedDict, total=False): sum: AggregationResultSum @typing.type_check_only -class AggregationResultCount(typing_extensions.TypedDict, total=False): +class AggregationResultCount(typing.TypedDict, total=False): value: str @typing.type_check_only -class AggregationResultFrequency(typing_extensions.TypedDict, total=False): +class AggregationResultFrequency(typing.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class AggregationResultHistogram(typing_extensions.TypedDict, total=False): +class AggregationResultHistogram(typing.TypedDict, total=False): buckets: _list[AggregationResultHistogramBucket] @typing.type_check_only -class AggregationResultHistogramBucket(typing_extensions.TypedDict, total=False): +class AggregationResultHistogramBucket(typing.TypedDict, total=False): count: str lowerBound: float upperBound: float @typing.type_check_only -class AggregationResultSum(typing_extensions.TypedDict, total=False): +class AggregationResultSum(typing.TypedDict, total=False): value: float @typing.type_check_only -class AggregationSum(typing_extensions.TypedDict, total=False): ... +class AggregationSum(typing.TypedDict, total=False): ... @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): assignedGroups: _list[str] attributes: dict[str, typing.Any] createTime: str @@ -91,9 +89,9 @@ class Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AssetFrame(typing_extensions.TypedDict, total=False): +class AssetFrame(typing.TypedDict, total=False): attributes: dict[str, typing.Any] - collectionType: typing_extensions.Literal[ + collectionType: typing.Literal[ "SOURCE_TYPE_UNKNOWN", "SOURCE_TYPE_UPLOAD", "SOURCE_TYPE_GUEST_OS_SCAN", @@ -110,15 +108,15 @@ class AssetFrame(typing_extensions.TypedDict, total=False): traceToken: str @typing.type_check_only -class AssetList(typing_extensions.TypedDict, total=False): +class AssetList(typing.TypedDict, total=False): assetIds: _list[str] @typing.type_check_only -class AssetPerformanceData(typing_extensions.TypedDict, total=False): +class AssetPerformanceData(typing.TypedDict, total=False): dailyResourceUsageAggregations: _list[DailyResourceUsageAggregation] @typing.type_check_only -class AssetsExportJob(typing_extensions.TypedDict, total=False): +class AssetsExportJob(typing.TypedDict, total=False): condition: AssetsExportJobExportCondition createTime: str inventory: AssetsExportJobInventory @@ -132,7 +130,7 @@ class AssetsExportJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AssetsExportJobExecution(typing_extensions.TypedDict, total=False): +class AssetsExportJobExecution(typing.TypedDict, total=False): endTime: str executionId: str expireTime: str @@ -141,28 +139,28 @@ class AssetsExportJobExecution(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class AssetsExportJobExecutionResult(typing_extensions.TypedDict, total=False): +class AssetsExportJobExecutionResult(typing.TypedDict, total=False): error: Status outputFiles: OutputFileList signedUris: SignedUris @typing.type_check_only -class AssetsExportJobExportCondition(typing_extensions.TypedDict, total=False): +class AssetsExportJobExportCondition(typing.TypedDict, total=False): filter: str @typing.type_check_only -class AssetsExportJobInventory(typing_extensions.TypedDict, total=False): ... +class AssetsExportJobInventory(typing.TypedDict, total=False): ... @typing.type_check_only -class AssetsExportJobNetworkDependencies(typing_extensions.TypedDict, total=False): ... +class AssetsExportJobNetworkDependencies(typing.TypedDict, total=False): ... @typing.type_check_only -class AssetsExportJobPerformanceData(typing_extensions.TypedDict, total=False): +class AssetsExportJobPerformanceData(typing.TypedDict, total=False): maxDays: int @typing.type_check_only -class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class AwsEc2PlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -171,11 +169,11 @@ class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): machineTypeLabel: str @typing.type_check_only -class AwsRds(typing_extensions.TypedDict, total=False): ... +class AwsRds(typing.TypedDict, total=False): ... @typing.type_check_only -class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class AzureVmPlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -185,21 +183,21 @@ class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): provisioningState: str @typing.type_check_only -class BatchDeleteAssetsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteAssetsRequest(typing.TypedDict, total=False): allowMissing: bool cascadingRules: _list[CascadingRule] names: _list[str] @typing.type_check_only -class BatchUpdateAssetsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateAssetsRequest(typing.TypedDict, total=False): requests: _list[UpdateAssetRequest] @typing.type_check_only -class BatchUpdateAssetsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] @typing.type_check_only -class BiosDetails(typing_extensions.TypedDict, total=False): +class BiosDetails(typing.TypedDict, total=False): biosName: str id: str manufacturer: str @@ -208,28 +206,28 @@ class BiosDetails(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CascadeLogicalDBsRule(typing_extensions.TypedDict, total=False): ... +class CascadeLogicalDBsRule(typing.TypedDict, total=False): ... @typing.type_check_only -class CascadingRule(typing_extensions.TypedDict, total=False): +class CascadingRule(typing.TypedDict, total=False): cascadeLogicalDbs: CascadeLogicalDBsRule @typing.type_check_only -class ComputeEngineMigrationTarget(typing_extensions.TypedDict, total=False): +class ComputeEngineMigrationTarget(typing.TypedDict, total=False): shape: ComputeEngineShapeDescriptor @typing.type_check_only -class ComputeEnginePreferences(typing_extensions.TypedDict, total=False): - licenseType: typing_extensions.Literal[ +class ComputeEnginePreferences(typing.TypedDict, total=False): + licenseType: typing.Literal[ "LICENSE_TYPE_UNSPECIFIED", "LICENSE_TYPE_DEFAULT", "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE", ] machinePreferences: MachinePreferences - persistentDiskType: typing_extensions.Literal[ + persistentDiskType: typing.Literal[ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", "PERSISTENT_DISK_TYPE_BALANCED", @@ -237,7 +235,7 @@ class ComputeEnginePreferences(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ComputeEngineShapeDescriptor(typing_extensions.TypedDict, total=False): +class ComputeEngineShapeDescriptor(typing.TypedDict, total=False): logicalCoreCount: int machineType: str memoryMb: int @@ -246,9 +244,9 @@ class ComputeEngineShapeDescriptor(typing_extensions.TypedDict, total=False): storage: _list[ComputeStorageDescriptor] @typing.type_check_only -class ComputeStorageDescriptor(typing_extensions.TypedDict, total=False): +class ComputeStorageDescriptor(typing.TypedDict, total=False): sizeGb: int - type: typing_extensions.Literal[ + type: typing.Literal[ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", "PERSISTENT_DISK_TYPE_BALANCED", @@ -256,17 +254,17 @@ class ComputeStorageDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CpuUsageSample(typing_extensions.TypedDict, total=False): +class CpuUsageSample(typing.TypedDict, total=False): utilizedPercentage: float @typing.type_check_only -class CsvOutputFile(typing_extensions.TypedDict, total=False): +class CsvOutputFile(typing.TypedDict, total=False): columnsCount: int rowCount: int signedUri: SignedUri @typing.type_check_only -class DailyResourceUsageAggregation(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregation(typing.TypedDict, total=False): cpu: DailyResourceUsageAggregationCPU date: Date disk: DailyResourceUsageAggregationDisk @@ -274,33 +272,33 @@ class DailyResourceUsageAggregation(typing_extensions.TypedDict, total=False): network: DailyResourceUsageAggregationNetwork @typing.type_check_only -class DailyResourceUsageAggregationCPU(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationCPU(typing.TypedDict, total=False): utilizationPercentage: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationDisk(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationDisk(typing.TypedDict, total=False): iops: DailyResourceUsageAggregationStats readIops: DailyResourceUsageAggregationStats writeIops: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationMemory(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationMemory(typing.TypedDict, total=False): utilizationPercentage: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationNetwork(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationNetwork(typing.TypedDict, total=False): egressBps: DailyResourceUsageAggregationStats ingressBps: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationStats(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationStats(typing.TypedDict, total=False): average: float median: float ninteyFifthPercentile: float peak: float @typing.type_check_only -class DatabaseDeploymentDetails(typing_extensions.TypedDict, total=False): +class DatabaseDeploymentDetails(typing.TypedDict, total=False): aggregatedStats: DatabaseDeploymentDetailsAggregatedStats awsRds: AwsRds edition: str @@ -313,13 +311,11 @@ class DatabaseDeploymentDetails(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class DatabaseDeploymentDetailsAggregatedStats( - typing_extensions.TypedDict, total=False -): +class DatabaseDeploymentDetailsAggregatedStats(typing.TypedDict, total=False): databaseCount: int @typing.type_check_only -class DatabaseDeploymentTopology(typing_extensions.TypedDict, total=False): +class DatabaseDeploymentTopology(typing.TypedDict, total=False): coreCount: int coreLimit: int diskAllocatedBytes: str @@ -331,34 +327,32 @@ class DatabaseDeploymentTopology(typing_extensions.TypedDict, total=False): physicalCoreLimit: int @typing.type_check_only -class DatabaseDetails(typing_extensions.TypedDict, total=False): +class DatabaseDetails(typing.TypedDict, total=False): allocatedStorageBytes: str databaseName: str parentDatabaseDeployment: DatabaseDetailsParentDatabaseDeployment schemas: _list[DatabaseSchema] @typing.type_check_only -class DatabaseDetailsParentDatabaseDeployment(typing_extensions.TypedDict, total=False): +class DatabaseDetailsParentDatabaseDeployment(typing.TypedDict, total=False): generatedId: str manualUniqueId: str @typing.type_check_only -class DatabaseInstance(typing_extensions.TypedDict, total=False): +class DatabaseInstance(typing.TypedDict, total=False): instanceName: str network: DatabaseInstanceNetwork - role: typing_extensions.Literal[ - "ROLE_UNSPECIFIED", "PRIMARY", "SECONDARY", "ARBITER" - ] + role: typing.Literal["ROLE_UNSPECIFIED", "PRIMARY", "SECONDARY", "ARBITER"] @typing.type_check_only -class DatabaseInstanceNetwork(typing_extensions.TypedDict, total=False): +class DatabaseInstanceNetwork(typing.TypedDict, total=False): hostNames: _list[str] ipAddresses: _list[str] primaryMacAddress: str @typing.type_check_only -class DatabaseObjects(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class DatabaseObjects(typing.TypedDict, total=False): + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "TABLE", "INDEX", @@ -370,7 +364,7 @@ class DatabaseObjects(typing_extensions.TypedDict, total=False): count: str @typing.type_check_only -class DatabaseSchema(typing_extensions.TypedDict, total=False): +class DatabaseSchema(typing.TypedDict, total=False): mysql: MySqlSchemaDetails objects: _list[DatabaseObjects] postgresql: PostgreSqlSchemaDetails @@ -379,13 +373,13 @@ class DatabaseSchema(typing_extensions.TypedDict, total=False): tablesSizeBytes: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DiscoveryClient(typing_extensions.TypedDict, total=False): +class DiscoveryClient(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -397,7 +391,7 @@ class DiscoveryClient(typing_extensions.TypedDict, total=False): serviceAccount: str signalsEndpoint: str source: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "OFFLINE", "DEGRADED", "EXPIRED" ] ttl: str @@ -405,13 +399,13 @@ class DiscoveryClient(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class DiskEntry(typing_extensions.TypedDict, total=False): +class DiskEntry(typing.TypedDict, total=False): capacityBytes: str diskLabel: str diskLabelType: str freeBytes: str hwAddress: str - interfaceType: typing_extensions.Literal[ + interfaceType: typing.Literal[ "INTERFACE_TYPE_UNSPECIFIED", "IDE", "SATA", @@ -425,11 +419,11 @@ class DiskEntry(typing_extensions.TypedDict, total=False): vmware: VmwareDiskConfig @typing.type_check_only -class DiskEntryList(typing_extensions.TypedDict, total=False): +class DiskEntryList(typing.TypedDict, total=False): entries: _list[DiskEntry] @typing.type_check_only -class DiskPartition(typing_extensions.TypedDict, total=False): +class DiskPartition(typing.TypedDict, total=False): capacityBytes: str fileSystem: str freeBytes: str @@ -439,61 +433,61 @@ class DiskPartition(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class DiskPartitionDetails(typing_extensions.TypedDict, total=False): +class DiskPartitionDetails(typing.TypedDict, total=False): freeSpaceBytes: str partitions: DiskPartitionList totalCapacityBytes: str @typing.type_check_only -class DiskPartitionList(typing_extensions.TypedDict, total=False): +class DiskPartitionList(typing.TypedDict, total=False): entries: _list[DiskPartition] @typing.type_check_only -class DiskUsageSample(typing_extensions.TypedDict, total=False): +class DiskUsageSample(typing.TypedDict, total=False): averageIops: float averageReadIops: float averageWriteIops: float @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorFrame(typing_extensions.TypedDict, total=False): +class ErrorFrame(typing.TypedDict, total=False): ingestionTime: str name: str originalFrame: AssetFrame violations: _list[FrameViolationEntry] @typing.type_check_only -class ExecutionReport(typing_extensions.TypedDict, total=False): +class ExecutionReport(typing.TypedDict, total=False): executionErrors: ValidationReport framesReported: int totalRowsCount: int @typing.type_check_only -class FileValidationReport(typing_extensions.TypedDict, total=False): +class FileValidationReport(typing.TypedDict, total=False): fileErrors: _list[ImportError] fileName: str partialReport: bool rowErrors: _list[ImportRowError] @typing.type_check_only -class FitDescriptor(typing_extensions.TypedDict, total=False): - fitLevel: typing_extensions.Literal[ +class FitDescriptor(typing.TypedDict, total=False): + fitLevel: typing.Literal[ "FIT_LEVEL_UNSPECIFIED", "FIT", "NO_FIT", "REQUIRES_EFFORT" ] @typing.type_check_only -class FrameViolationEntry(typing_extensions.TypedDict, total=False): +class FrameViolationEntry(typing.TypedDict, total=False): field: str violation: str @typing.type_check_only -class Frames(typing_extensions.TypedDict, total=False): +class Frames(typing.TypedDict, total=False): framesData: _list[AssetFrame] @typing.type_check_only -class FstabEntry(typing_extensions.TypedDict, total=False): +class FstabEntry(typing.TypedDict, total=False): file: str freq: int mntops: str @@ -502,18 +496,18 @@ class FstabEntry(typing_extensions.TypedDict, total=False): vfstype: str @typing.type_check_only -class FstabEntryList(typing_extensions.TypedDict, total=False): +class FstabEntryList(typing.TypedDict, total=False): entries: _list[FstabEntry] @typing.type_check_only -class GenericInsight(typing_extensions.TypedDict, total=False): +class GenericInsight(typing.TypedDict, total=False): additionalInformation: _list[str] defaultMessage: str messageId: str @typing.type_check_only -class GenericPlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class GenericPlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -521,7 +515,7 @@ class GenericPlatformDetails(typing_extensions.TypedDict, total=False): location: str @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -530,12 +524,12 @@ class Group(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuestConfigDetails(typing_extensions.TypedDict, total=False): +class GuestConfigDetails(typing.TypedDict, total=False): fstab: FstabEntryList hosts: HostsEntryList issue: str nfsExports: NfsExportList - selinuxMode: typing_extensions.Literal[ + selinuxMode: typing.Literal[ "SE_LINUX_MODE_UNSPECIFIED", "SE_LINUX_MODE_DISABLED", "SE_LINUX_MODE_PERMISSIVE", @@ -543,7 +537,7 @@ class GuestConfigDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GuestInstalledApplication(typing_extensions.TypedDict, total=False): +class GuestInstalledApplication(typing.TypedDict, total=False): applicationName: str installTime: str licenses: _list[str] @@ -552,13 +546,13 @@ class GuestInstalledApplication(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class GuestInstalledApplicationList(typing_extensions.TypedDict, total=False): +class GuestInstalledApplicationList(typing.TypedDict, total=False): entries: _list[GuestInstalledApplication] @typing.type_check_only -class GuestOsDetails(typing_extensions.TypedDict, total=False): +class GuestOsDetails(typing.TypedDict, total=False): config: GuestConfigDetails - family: typing_extensions.Literal[ + family: typing.Literal[ "OS_FAMILY_UNKNOWN", "OS_FAMILY_WINDOWS", "OS_FAMILY_LINUX", "OS_FAMILY_UNIX" ] osName: str @@ -566,7 +560,7 @@ class GuestOsDetails(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class GuestRuntimeDetails(typing_extensions.TypedDict, total=False): +class GuestRuntimeDetails(typing.TypedDict, total=False): domain: str installedApps: GuestInstalledApplicationList lastBootTime: str @@ -577,19 +571,19 @@ class GuestRuntimeDetails(typing_extensions.TypedDict, total=False): services: RunningServiceList @typing.type_check_only -class HostsEntry(typing_extensions.TypedDict, total=False): +class HostsEntry(typing.TypedDict, total=False): hostNames: _list[str] ip: str @typing.type_check_only -class HostsEntryList(typing_extensions.TypedDict, total=False): +class HostsEntryList(typing.TypedDict, total=False): entries: _list[HostsEntry] @typing.type_check_only -class ImportDataFile(typing_extensions.TypedDict, total=False): +class ImportDataFile(typing.TypedDict, total=False): createTime: str displayName: str - format: typing_extensions.Literal[ + format: typing.Literal[ "IMPORT_JOB_FORMAT_UNSPECIFIED", "IMPORT_JOB_FORMAT_RVTOOLS_XLSX", "IMPORT_JOB_FORMAT_RVTOOLS_CSV", @@ -599,18 +593,16 @@ class ImportDataFile(typing_extensions.TypedDict, total=False): "IMPORT_JOB_FORMAT_DATABASE_ZIP", ] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE"] uploadFileInfo: UploadFileInfo @typing.type_check_only -class ImportError(typing_extensions.TypedDict, total=False): +class ImportError(typing.TypedDict, total=False): errorDetails: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ImportJob(typing_extensions.TypedDict, total=False): +class ImportJob(typing.TypedDict, total=False): assetSource: str completeTime: str createTime: str @@ -618,7 +610,7 @@ class ImportJob(typing_extensions.TypedDict, total=False): executionReport: ExecutionReport labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "IMPORT_JOB_STATE_UNSPECIFIED", "IMPORT_JOB_STATE_PENDING", "IMPORT_JOB_STATE_RUNNING", @@ -632,7 +624,7 @@ class ImportJob(typing_extensions.TypedDict, total=False): validationReport: ValidationReport @typing.type_check_only -class ImportRowError(typing_extensions.TypedDict, total=False): +class ImportRowError(typing.TypedDict, total=False): archiveError: ImportRowErrorArchiveErrorDetails assetTitle: str csvError: ImportRowErrorCsvErrorDetails @@ -643,112 +635,112 @@ class ImportRowError(typing_extensions.TypedDict, total=False): xlsxError: ImportRowErrorXlsxErrorDetails @typing.type_check_only -class ImportRowErrorArchiveErrorDetails(typing_extensions.TypedDict, total=False): +class ImportRowErrorArchiveErrorDetails(typing.TypedDict, total=False): csvError: ImportRowErrorCsvErrorDetails filePath: str @typing.type_check_only -class ImportRowErrorCsvErrorDetails(typing_extensions.TypedDict, total=False): +class ImportRowErrorCsvErrorDetails(typing.TypedDict, total=False): rowNumber: int @typing.type_check_only -class ImportRowErrorXlsxErrorDetails(typing_extensions.TypedDict, total=False): +class ImportRowErrorXlsxErrorDetails(typing.TypedDict, total=False): rowNumber: int sheet: str @typing.type_check_only -class Insight(typing_extensions.TypedDict, total=False): +class Insight(typing.TypedDict, total=False): genericInsight: GenericInsight migrationInsight: MigrationInsight @typing.type_check_only -class InsightList(typing_extensions.TypedDict, total=False): +class InsightList(typing.TypedDict, total=False): insights: _list[Insight] updateTime: str @typing.type_check_only -class ListAssetsExportJobsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsExportJobsResponse(typing.TypedDict, total=False): assetsExportJobs: _list[AssetsExportJob] nextPageToken: str @typing.type_check_only -class ListAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveryClientsResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveryClientsResponse(typing.TypedDict, total=False): discoveryClients: _list[DiscoveryClient] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListErrorFramesResponse(typing_extensions.TypedDict, total=False): +class ListErrorFramesResponse(typing.TypedDict, total=False): errorFrames: _list[ErrorFrame] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImportDataFilesResponse(typing_extensions.TypedDict, total=False): +class ListImportDataFilesResponse(typing.TypedDict, total=False): importDataFiles: _list[ImportDataFile] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImportJobsResponse(typing_extensions.TypedDict, total=False): +class ListImportJobsResponse(typing.TypedDict, total=False): importJobs: _list[ImportJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPreferenceSetsResponse(typing_extensions.TypedDict, total=False): +class ListPreferenceSetsResponse(typing.TypedDict, total=False): nextPageToken: str preferenceSets: _list[PreferenceSet] unreachable: _list[str] @typing.type_check_only -class ListRelationsResponse(typing_extensions.TypedDict, total=False): +class ListRelationsResponse(typing.TypedDict, total=False): nextPageToken: str relations: _list[Relation] @typing.type_check_only -class ListReportConfigsResponse(typing_extensions.TypedDict, total=False): +class ListReportConfigsResponse(typing.TypedDict, total=False): nextPageToken: str reportConfigs: _list[ReportConfig] unreachable: _list[str] @typing.type_check_only -class ListReportsResponse(typing_extensions.TypedDict, total=False): +class ListReportsResponse(typing.TypedDict, total=False): nextPageToken: str reports: _list[Report] unreachable: _list[str] @typing.type_check_only -class ListSourcesResponse(typing_extensions.TypedDict, total=False): +class ListSourcesResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[Source] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -756,21 +748,21 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MachineArchitectureDetails(typing_extensions.TypedDict, total=False): +class MachineArchitectureDetails(typing.TypedDict, total=False): bios: BiosDetails cpuArchitecture: str cpuManufacturer: str cpuName: str cpuSocketCount: int cpuThreadCount: int - firmwareType: typing_extensions.Literal["FIRMWARE_TYPE_UNSPECIFIED", "BIOS", "EFI"] - hyperthreading: typing_extensions.Literal[ + firmwareType: typing.Literal["FIRMWARE_TYPE_UNSPECIFIED", "BIOS", "EFI"] + hyperthreading: typing.Literal[ "CPU_HYPER_THREADING_UNSPECIFIED", "DISABLED", "ENABLED" ] vendor: str @typing.type_check_only -class MachineDetails(typing_extensions.TypedDict, total=False): +class MachineDetails(typing.TypedDict, total=False): architecture: MachineArchitectureDetails coreCount: int createTime: str @@ -781,7 +773,7 @@ class MachineDetails(typing_extensions.TypedDict, total=False): memoryMb: int network: MachineNetworkDetails platform: PlatformDetails - powerState: typing_extensions.Literal[ + powerState: typing.Literal[ "POWER_STATE_UNSPECIFIED", "PENDING", "ACTIVE", @@ -793,13 +785,13 @@ class MachineDetails(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class MachineDiskDetails(typing_extensions.TypedDict, total=False): +class MachineDiskDetails(typing.TypedDict, total=False): disks: DiskEntryList totalCapacityBytes: str totalFreeBytes: str @typing.type_check_only -class MachineNetworkDetails(typing_extensions.TypedDict, total=False): +class MachineNetworkDetails(typing.TypedDict, total=False): adapters: NetworkAdapterList defaultGateway: str primaryIpAddress: str @@ -807,48 +799,48 @@ class MachineNetworkDetails(typing_extensions.TypedDict, total=False): publicIpAddress: str @typing.type_check_only -class MachinePreferences(typing_extensions.TypedDict, total=False): +class MachinePreferences(typing.TypedDict, total=False): allowedMachineSeries: _list[MachineSeries] @typing.type_check_only -class MachineSeries(typing_extensions.TypedDict, total=False): +class MachineSeries(typing.TypedDict, total=False): code: str @typing.type_check_only -class MemoryUsageSample(typing_extensions.TypedDict, total=False): +class MemoryUsageSample(typing.TypedDict, total=False): utilizedPercentage: float @typing.type_check_only -class MigrationInsight(typing_extensions.TypedDict, total=False): +class MigrationInsight(typing.TypedDict, total=False): computeEngineTarget: ComputeEngineMigrationTarget fit: FitDescriptor @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class MySqlPlugin(typing_extensions.TypedDict, total=False): +class MySqlPlugin(typing.TypedDict, total=False): enabled: bool plugin: str version: str @typing.type_check_only -class MySqlProperty(typing_extensions.TypedDict, total=False): +class MySqlProperty(typing.TypedDict, total=False): enabled: bool numericValue: str property: str @typing.type_check_only -class MySqlSchemaDetails(typing_extensions.TypedDict, total=False): +class MySqlSchemaDetails(typing.TypedDict, total=False): storageEngines: _list[MySqlStorageEngineDetails] @typing.type_check_only -class MySqlStorageEngineDetails(typing_extensions.TypedDict, total=False): +class MySqlStorageEngineDetails(typing.TypedDict, total=False): encryptedTableCount: int - engine: typing_extensions.Literal[ + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "INNODB", "MYISAM", @@ -865,31 +857,31 @@ class MySqlStorageEngineDetails(typing_extensions.TypedDict, total=False): tableCount: int @typing.type_check_only -class MySqlVariable(typing_extensions.TypedDict, total=False): +class MySqlVariable(typing.TypedDict, total=False): category: str value: str variable: str @typing.type_check_only -class MysqlDatabaseDeployment(typing_extensions.TypedDict, total=False): +class MysqlDatabaseDeployment(typing.TypedDict, total=False): plugins: _list[MySqlPlugin] properties: _list[MySqlProperty] resourceGroupsCount: int variables: _list[MySqlVariable] @typing.type_check_only -class NetworkAdapterDetails(typing_extensions.TypedDict, total=False): +class NetworkAdapterDetails(typing.TypedDict, total=False): adapterType: str addresses: NetworkAddressList macAddress: str @typing.type_check_only -class NetworkAdapterList(typing_extensions.TypedDict, total=False): +class NetworkAdapterList(typing.TypedDict, total=False): entries: _list[NetworkAdapterDetails] @typing.type_check_only -class NetworkAddress(typing_extensions.TypedDict, total=False): - assignment: typing_extensions.Literal[ +class NetworkAddress(typing.TypedDict, total=False): + assignment: typing.Literal[ "ADDRESS_ASSIGNMENT_UNSPECIFIED", "ADDRESS_ASSIGNMENT_STATIC", "ADDRESS_ASSIGNMENT_DHCP", @@ -900,11 +892,11 @@ class NetworkAddress(typing_extensions.TypedDict, total=False): subnetMask: str @typing.type_check_only -class NetworkAddressList(typing_extensions.TypedDict, total=False): +class NetworkAddressList(typing.TypedDict, total=False): entries: _list[NetworkAddress] @typing.type_check_only -class NetworkConnection(typing_extensions.TypedDict, total=False): +class NetworkConnection(typing.TypedDict, total=False): localIpAddress: str localPort: int pid: str @@ -912,41 +904,41 @@ class NetworkConnection(typing_extensions.TypedDict, total=False): protocol: str remoteIpAddress: str remotePort: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "OPENING", "OPEN", "LISTEN", "CLOSING", "CLOSED" ] @typing.type_check_only -class NetworkConnectionList(typing_extensions.TypedDict, total=False): +class NetworkConnectionList(typing.TypedDict, total=False): entries: _list[NetworkConnection] @typing.type_check_only -class NetworkUsageSample(typing_extensions.TypedDict, total=False): +class NetworkUsageSample(typing.TypedDict, total=False): averageEgressBps: float averageIngressBps: float @typing.type_check_only -class NfsExport(typing_extensions.TypedDict, total=False): +class NfsExport(typing.TypedDict, total=False): exportDirectory: str hosts: _list[str] @typing.type_check_only -class NfsExportList(typing_extensions.TypedDict, total=False): +class NfsExportList(typing.TypedDict, total=False): entries: _list[NfsExport] @typing.type_check_only -class OpenFileDetails(typing_extensions.TypedDict, total=False): +class OpenFileDetails(typing.TypedDict, total=False): command: str filePath: str fileType: str user: str @typing.type_check_only -class OpenFileList(typing_extensions.TypedDict, total=False): +class OpenFileList(typing.TypedDict, total=False): entries: _list[OpenFileDetails] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -954,7 +946,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -964,17 +956,17 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OutputFile(typing_extensions.TypedDict, total=False): +class OutputFile(typing.TypedDict, total=False): csvOutputFile: CsvOutputFile fileSizeBytes: str xlsxOutputFile: XlsxOutputFile @typing.type_check_only -class OutputFileList(typing_extensions.TypedDict, total=False): +class OutputFileList(typing.TypedDict, total=False): entries: _list[OutputFile] @typing.type_check_only -class PerformanceSample(typing_extensions.TypedDict, total=False): +class PerformanceSample(typing.TypedDict, total=False): cpu: CpuUsageSample disk: DiskUsageSample memory: MemoryUsageSample @@ -982,8 +974,8 @@ class PerformanceSample(typing_extensions.TypedDict, total=False): sampleTime: str @typing.type_check_only -class PhysicalPlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class PhysicalPlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -991,7 +983,7 @@ class PhysicalPlatformDetails(typing_extensions.TypedDict, total=False): location: str @typing.type_check_only -class PlatformDetails(typing_extensions.TypedDict, total=False): +class PlatformDetails(typing.TypedDict, total=False): awsEc2Details: AwsEc2PlatformDetails azureVmDetails: AzureVmPlatformDetails genericDetails: GenericPlatformDetails @@ -999,28 +991,28 @@ class PlatformDetails(typing_extensions.TypedDict, total=False): vmwareDetails: VmwarePlatformDetails @typing.type_check_only -class PostgreSqlDatabaseDeployment(typing_extensions.TypedDict, total=False): +class PostgreSqlDatabaseDeployment(typing.TypedDict, total=False): properties: _list[PostgreSqlProperty] settings: _list[PostgreSqlSetting] @typing.type_check_only -class PostgreSqlExtension(typing_extensions.TypedDict, total=False): +class PostgreSqlExtension(typing.TypedDict, total=False): extension: str version: str @typing.type_check_only -class PostgreSqlProperty(typing_extensions.TypedDict, total=False): +class PostgreSqlProperty(typing.TypedDict, total=False): enabled: bool numericValue: str property: str @typing.type_check_only -class PostgreSqlSchemaDetails(typing_extensions.TypedDict, total=False): +class PostgreSqlSchemaDetails(typing.TypedDict, total=False): foreignTablesCount: int postgresqlExtensions: _list[PostgreSqlExtension] @typing.type_check_only -class PostgreSqlSetting(typing_extensions.TypedDict, total=False): +class PostgreSqlSetting(typing.TypedDict, total=False): boolValue: bool intValue: str realValue: float @@ -1030,7 +1022,7 @@ class PostgreSqlSetting(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class PreferenceSet(typing_extensions.TypedDict, total=False): +class PreferenceSet(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1039,43 +1031,41 @@ class PreferenceSet(typing_extensions.TypedDict, total=False): virtualMachinePreferences: VirtualMachinePreferences @typing.type_check_only -class RegionPreferences(typing_extensions.TypedDict, total=False): +class RegionPreferences(typing.TypedDict, total=False): preferredRegions: _list[str] @typing.type_check_only -class Relation(typing_extensions.TypedDict, total=False): +class Relation(typing.TypedDict, total=False): createTime: str dstAsset: str name: str srcAsset: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "LOGICAL_DATABASE", "DATABASE_DEPLOYMENT_HOSTING_SERVER" ] @typing.type_check_only -class RemoveAssetsFromGroupRequest(typing_extensions.TypedDict, total=False): +class RemoveAssetsFromGroupRequest(typing.TypedDict, total=False): allowMissing: bool assets: AssetList requestId: str @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", "FAILED"] summary: ReportSummary - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TOTAL_COST_OF_OWNERSHIP"] + type: typing.Literal["TYPE_UNSPECIFIED", "TOTAL_COST_OF_OWNERSHIP"] updateTime: str @typing.type_check_only -class ReportAssetFramesResponse(typing_extensions.TypedDict, total=False): ... +class ReportAssetFramesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ReportConfig(typing_extensions.TypedDict, total=False): +class ReportConfig(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1084,19 +1074,17 @@ class ReportConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ReportConfigGroupPreferenceSetAssignment( - typing_extensions.TypedDict, total=False -): +class ReportConfigGroupPreferenceSetAssignment(typing.TypedDict, total=False): group: str preferenceSet: str @typing.type_check_only -class ReportSummary(typing_extensions.TypedDict, total=False): +class ReportSummary(typing.TypedDict, total=False): allAssetsStats: ReportSummaryAssetAggregateStats groupFindings: _list[ReportSummaryGroupFinding] @typing.type_check_only -class ReportSummaryAssetAggregateStats(typing_extensions.TypedDict, total=False): +class ReportSummaryAssetAggregateStats(typing.TypedDict, total=False): coreCountHistogram: ReportSummaryHistogramChartData memoryBytesHistogram: ReportSummaryHistogramChartData memoryUtilizationChart: ReportSummaryUtilizationChartData @@ -1110,19 +1098,19 @@ class ReportSummaryAssetAggregateStats(typing_extensions.TypedDict, total=False) totalStorageBytes: str @typing.type_check_only -class ReportSummaryChartData(typing_extensions.TypedDict, total=False): +class ReportSummaryChartData(typing.TypedDict, total=False): dataPoints: _list[ReportSummaryChartDataDataPoint] @typing.type_check_only -class ReportSummaryChartDataDataPoint(typing_extensions.TypedDict, total=False): +class ReportSummaryChartDataDataPoint(typing.TypedDict, total=False): label: str value: float @typing.type_check_only -class ReportSummaryComputeEngineFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryComputeEngineFinding(typing.TypedDict, total=False): allocatedAssetCount: str allocatedDiskTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", "PERSISTENT_DISK_TYPE_BALANCED", @@ -1133,7 +1121,7 @@ class ReportSummaryComputeEngineFinding(typing_extensions.TypedDict, total=False machineSeriesAllocations: _list[ReportSummaryMachineSeriesAllocation] @typing.type_check_only -class ReportSummaryGroupFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryGroupFinding(typing.TypedDict, total=False): assetAggregateStats: ReportSummaryAssetAggregateStats description: str displayName: str @@ -1141,7 +1129,7 @@ class ReportSummaryGroupFinding(typing_extensions.TypedDict, total=False): preferenceSetFindings: _list[ReportSummaryGroupPreferenceSetFinding] @typing.type_check_only -class ReportSummaryGroupPreferenceSetFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryGroupPreferenceSetFinding(typing.TypedDict, total=False): computeEngineFinding: ReportSummaryComputeEngineFinding description: str displayName: str @@ -1156,67 +1144,67 @@ class ReportSummaryGroupPreferenceSetFinding(typing_extensions.TypedDict, total= vmwareEngineFinding: ReportSummaryVmwareEngineFinding @typing.type_check_only -class ReportSummaryHistogramChartData(typing_extensions.TypedDict, total=False): +class ReportSummaryHistogramChartData(typing.TypedDict, total=False): buckets: _list[ReportSummaryHistogramChartDataBucket] @typing.type_check_only -class ReportSummaryHistogramChartDataBucket(typing_extensions.TypedDict, total=False): +class ReportSummaryHistogramChartDataBucket(typing.TypedDict, total=False): count: str lowerBound: str upperBound: str @typing.type_check_only -class ReportSummaryMachineSeriesAllocation(typing_extensions.TypedDict, total=False): +class ReportSummaryMachineSeriesAllocation(typing.TypedDict, total=False): allocatedAssetCount: str machineSeries: MachineSeries @typing.type_check_only -class ReportSummarySoleTenantFinding(typing_extensions.TypedDict, total=False): +class ReportSummarySoleTenantFinding(typing.TypedDict, total=False): allocatedAssetCount: str allocatedRegions: _list[str] nodeAllocations: _list[ReportSummarySoleTenantNodeAllocation] @typing.type_check_only -class ReportSummarySoleTenantNodeAllocation(typing_extensions.TypedDict, total=False): +class ReportSummarySoleTenantNodeAllocation(typing.TypedDict, total=False): allocatedAssetCount: str node: SoleTenantNodeType nodeCount: str @typing.type_check_only -class ReportSummaryUtilizationChartData(typing_extensions.TypedDict, total=False): +class ReportSummaryUtilizationChartData(typing.TypedDict, total=False): free: str used: str @typing.type_check_only -class ReportSummaryVmwareEngineFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryVmwareEngineFinding(typing.TypedDict, total=False): allocatedAssetCount: str allocatedRegions: _list[str] nodeAllocations: _list[ReportSummaryVmwareNodeAllocation] @typing.type_check_only -class ReportSummaryVmwareNode(typing_extensions.TypedDict, total=False): +class ReportSummaryVmwareNode(typing.TypedDict, total=False): code: str @typing.type_check_only -class ReportSummaryVmwareNodeAllocation(typing_extensions.TypedDict, total=False): +class ReportSummaryVmwareNodeAllocation(typing.TypedDict, total=False): allocatedAssetCount: str nodeCount: str vmwareNode: ReportSummaryVmwareNode @typing.type_check_only -class RunAssetsExportJobRequest(typing_extensions.TypedDict, total=False): +class RunAssetsExportJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RunAssetsExportJobResponse(typing_extensions.TypedDict, total=False): +class RunAssetsExportJobResponse(typing.TypedDict, total=False): assetsExportJobExecution: AssetsExportJobExecution @typing.type_check_only -class RunImportJobRequest(typing_extensions.TypedDict, total=False): +class RunImportJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RunningProcess(typing_extensions.TypedDict, total=False): +class RunningProcess(typing.TypedDict, total=False): attributes: dict[str, typing.Any] cmdline: str exePath: str @@ -1224,63 +1212,63 @@ class RunningProcess(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class RunningProcessList(typing_extensions.TypedDict, total=False): +class RunningProcessList(typing.TypedDict, total=False): entries: _list[RunningProcess] @typing.type_check_only -class RunningService(typing_extensions.TypedDict, total=False): +class RunningService(typing.TypedDict, total=False): cmdline: str exePath: str pid: str serviceName: str - startMode: typing_extensions.Literal[ + startMode: typing.Literal[ "START_MODE_UNSPECIFIED", "BOOT", "SYSTEM", "AUTO", "MANUAL", "DISABLED" ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "STOPPED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "STOPPED"] @typing.type_check_only -class RunningServiceList(typing_extensions.TypedDict, total=False): +class RunningServiceList(typing.TypedDict, total=False): entries: _list[RunningService] @typing.type_check_only -class RuntimeNetworkInfo(typing_extensions.TypedDict, total=False): +class RuntimeNetworkInfo(typing.TypedDict, total=False): connections: NetworkConnectionList scanTime: str @typing.type_check_only -class SendDiscoveryClientHeartbeatRequest(typing_extensions.TypedDict, total=False): +class SendDiscoveryClientHeartbeatRequest(typing.TypedDict, total=False): errors: _list[Status] version: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): disableCloudLogging: bool name: str preferenceSet: str @typing.type_check_only -class SignedUri(typing_extensions.TypedDict, total=False): +class SignedUri(typing.TypedDict, total=False): file: str uri: str @typing.type_check_only -class SignedUriDestination(typing_extensions.TypedDict, total=False): - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "CSV", "XLSX"] +class SignedUriDestination(typing.TypedDict, total=False): + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "CSV", "XLSX"] @typing.type_check_only -class SignedUris(typing_extensions.TypedDict, total=False): +class SignedUris(typing.TypedDict, total=False): signedUris: _list[SignedUri] @typing.type_check_only -class SoleTenancyPreferences(typing_extensions.TypedDict, total=False): - commitmentPlan: typing_extensions.Literal[ +class SoleTenancyPreferences(typing.TypedDict, total=False): + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "ON_DEMAND", "COMMITMENT_1_YEAR", "COMMITMENT_3_YEAR", ] cpuOvercommitRatio: float - hostMaintenancePolicy: typing_extensions.Literal[ + hostMaintenancePolicy: typing.Literal[ "HOST_MAINTENANCE_POLICY_UNSPECIFIED", "HOST_MAINTENANCE_POLICY_DEFAULT", "HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE", @@ -1289,11 +1277,11 @@ class SoleTenancyPreferences(typing_extensions.TypedDict, total=False): nodeTypes: _list[SoleTenantNodeType] @typing.type_check_only -class SoleTenantNodeType(typing_extensions.TypedDict, total=False): +class SoleTenantNodeType(typing.TypedDict, total=False): nodeName: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1302,10 +1290,8 @@ class Source(typing_extensions.TypedDict, total=False): name: str pendingFrameCount: int priority: int - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "DELETING", "INVALID" - ] - type: typing_extensions.Literal[ + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETING", "INVALID"] + type: typing.Literal[ "SOURCE_TYPE_UNKNOWN", "SOURCE_TYPE_UPLOAD", "SOURCE_TYPE_GUEST_OS_SCAN", @@ -1316,61 +1302,61 @@ class Source(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SqlServerDatabaseDeployment(typing_extensions.TypedDict, total=False): +class SqlServerDatabaseDeployment(typing.TypedDict, total=False): features: _list[SqlServerFeature] serverFlags: _list[SqlServerServerFlag] traceFlags: _list[SqlServerTraceFlag] @typing.type_check_only -class SqlServerFeature(typing_extensions.TypedDict, total=False): +class SqlServerFeature(typing.TypedDict, total=False): enabled: bool featureName: str @typing.type_check_only -class SqlServerSchemaDetails(typing_extensions.TypedDict, total=False): +class SqlServerSchemaDetails(typing.TypedDict, total=False): clrObjectCount: int @typing.type_check_only -class SqlServerServerFlag(typing_extensions.TypedDict, total=False): +class SqlServerServerFlag(typing.TypedDict, total=False): serverFlagName: str value: str valueInUse: str @typing.type_check_only -class SqlServerTraceFlag(typing_extensions.TypedDict, total=False): - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "OFF", "GLOBAL", "SESSION"] +class SqlServerTraceFlag(typing.TypedDict, total=False): + scope: typing.Literal["SCOPE_UNSPECIFIED", "OFF", "GLOBAL", "SESSION"] traceFlagName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class UpdateAssetRequest(typing_extensions.TypedDict, total=False): +class UpdateAssetRequest(typing.TypedDict, total=False): asset: Asset requestId: str updateMask: str @typing.type_check_only -class UploadFileInfo(typing_extensions.TypedDict, total=False): +class UploadFileInfo(typing.TypedDict, total=False): headers: dict[str, typing.Any] signedUri: str uriExpirationTime: str @typing.type_check_only -class ValidateImportJobRequest(typing_extensions.TypedDict, total=False): +class ValidateImportJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class ValidationReport(typing_extensions.TypedDict, total=False): +class ValidationReport(typing.TypedDict, total=False): fileValidations: _list[FileValidationReport] jobErrors: _list[ImportError] @typing.type_check_only -class VirtualMachinePreferences(typing_extensions.TypedDict, total=False): - commitmentPlan: typing_extensions.Literal[ +class VirtualMachinePreferences(typing.TypedDict, total=False): + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "COMMITMENT_PLAN_NONE", "COMMITMENT_PLAN_ONE_YEAR", @@ -1378,14 +1364,14 @@ class VirtualMachinePreferences(typing_extensions.TypedDict, total=False): ] computeEnginePreferences: ComputeEnginePreferences regionPreferences: RegionPreferences - sizingOptimizationStrategy: typing_extensions.Literal[ + sizingOptimizationStrategy: typing.Literal[ "SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED", "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE", "SIZING_OPTIMIZATION_STRATEGY_MODERATE", "SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE", ] soleTenancyPreferences: SoleTenancyPreferences - targetProduct: typing_extensions.Literal[ + targetProduct: typing.Literal[ "COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED", "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE", "COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE", @@ -1394,8 +1380,8 @@ class VirtualMachinePreferences(typing_extensions.TypedDict, total=False): vmwareEnginePreferences: VmwareEnginePreferences @typing.type_check_only -class VmwareDiskConfig(typing_extensions.TypedDict, total=False): - backingType: typing_extensions.Literal[ +class VmwareDiskConfig(typing.TypedDict, total=False): + backingType: typing.Literal[ "BACKING_TYPE_UNSPECIFIED", "BACKING_TYPE_FLAT_V1", "BACKING_TYPE_FLAT_V2", @@ -1406,13 +1392,13 @@ class VmwareDiskConfig(typing_extensions.TypedDict, total=False): "BACKING_TYPE_SESPARSE_V1", "BACKING_TYPE_SESPARSE_V2", ] - rdmCompatibility: typing_extensions.Literal[ + rdmCompatibility: typing.Literal[ "RDM_COMPATIBILITY_UNSPECIFIED", "PHYSICAL_COMPATIBILITY", "VIRTUAL_COMPATIBILITY", ] shared: bool - vmdkMode: typing_extensions.Literal[ + vmdkMode: typing.Literal[ "VMDK_MODE_UNSPECIFIED", "DEPENDENT", "INDEPENDENT_PERSISTENT", @@ -1420,8 +1406,8 @@ class VmwareDiskConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VmwareEnginePreferences(typing_extensions.TypedDict, total=False): - commitmentPlan: typing_extensions.Literal[ +class VmwareEnginePreferences(typing.TypedDict, total=False): + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "ON_DEMAND", "COMMITMENT_1_YEAR_MONTHLY_PAYMENTS", @@ -1434,8 +1420,8 @@ class VmwareEnginePreferences(typing_extensions.TypedDict, total=False): storageDeduplicationCompressionRatio: float @typing.type_check_only -class VmwarePlatformDetails(typing_extensions.TypedDict, total=False): - esxHyperthreading: typing_extensions.Literal[ +class VmwarePlatformDetails(typing.TypedDict, total=False): + esxHyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -1448,5 +1434,5 @@ class VmwarePlatformDetails(typing_extensions.TypedDict, total=False): vcenterVmId: str @typing.type_check_only -class XlsxOutputFile(typing_extensions.TypedDict, total=False): +class XlsxOutputFile(typing.TypedDict, total=False): signedUri: SignedUri diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi index 64d105698..2d2fffaed 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -51,7 +50,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ASSET_VIEW_UNSPECIFIED", "ASSET_VIEW_BASIC", "ASSET_VIEW_FULL", @@ -69,7 +68,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., showHidden: bool | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ASSET_VIEW_UNSPECIFIED", "ASSET_VIEW_BASIC", "ASSET_VIEW_FULL", @@ -312,7 +311,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "IMPORT_JOB_VIEW_UNSPECIFIED", "IMPORT_JOB_VIEW_BASIC", "IMPORT_JOB_VIEW_FULL", @@ -328,7 +327,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "IMPORT_JOB_VIEW_UNSPECIFIED", "IMPORT_JOB_VIEW_BASIC", "IMPORT_JOB_VIEW_FULL", @@ -525,7 +524,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "REPORT_VIEW_UNSPECIFIED", "REPORT_VIEW_BASIC", "REPORT_VIEW_FULL", @@ -542,7 +541,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "REPORT_VIEW_UNSPECIFIED", "REPORT_VIEW_BASIC", "REPORT_VIEW_FULL", @@ -603,7 +602,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "ERROR_FRAME_VIEW_UNSPECIFIED", "ERROR_FRAME_VIEW_BASIC", "ERROR_FRAME_VIEW_FULL", @@ -617,7 +616,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "ERROR_FRAME_VIEW_UNSPECIFIED", "ERROR_FRAME_VIEW_BASIC", "ERROR_FRAME_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi index ea380e4f9..506169a06 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddAssetsToGroupRequest(typing_extensions.TypedDict, total=False): +class AddAssetsToGroupRequest(typing.TypedDict, total=False): allowExisting: bool assets: AssetList requestId: str @typing.type_check_only -class AggregateAssetsValuesRequest(typing_extensions.TypedDict, total=False): +class AggregateAssetsValuesRequest(typing.TypedDict, total=False): aggregations: _list[Aggregation] filter: str showHidden: bool @typing.type_check_only -class AggregateAssetsValuesResponse(typing_extensions.TypedDict, total=False): +class AggregateAssetsValuesResponse(typing.TypedDict, total=False): results: _list[AggregationResult] @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): count: AggregationCount field: str frequency: AggregationFrequency @@ -29,17 +27,17 @@ class Aggregation(typing_extensions.TypedDict, total=False): sum: AggregationSum @typing.type_check_only -class AggregationCount(typing_extensions.TypedDict, total=False): ... +class AggregationCount(typing.TypedDict, total=False): ... @typing.type_check_only -class AggregationFrequency(typing_extensions.TypedDict, total=False): ... +class AggregationFrequency(typing.TypedDict, total=False): ... @typing.type_check_only -class AggregationHistogram(typing_extensions.TypedDict, total=False): +class AggregationHistogram(typing.TypedDict, total=False): lowerBounds: _list[float] @typing.type_check_only -class AggregationResult(typing_extensions.TypedDict, total=False): +class AggregationResult(typing.TypedDict, total=False): count: AggregationResultCount field: str frequency: AggregationResultFrequency @@ -47,32 +45,32 @@ class AggregationResult(typing_extensions.TypedDict, total=False): sum: AggregationResultSum @typing.type_check_only -class AggregationResultCount(typing_extensions.TypedDict, total=False): +class AggregationResultCount(typing.TypedDict, total=False): value: str @typing.type_check_only -class AggregationResultFrequency(typing_extensions.TypedDict, total=False): +class AggregationResultFrequency(typing.TypedDict, total=False): values: dict[str, typing.Any] @typing.type_check_only -class AggregationResultHistogram(typing_extensions.TypedDict, total=False): +class AggregationResultHistogram(typing.TypedDict, total=False): buckets: _list[AggregationResultHistogramBucket] @typing.type_check_only -class AggregationResultHistogramBucket(typing_extensions.TypedDict, total=False): +class AggregationResultHistogramBucket(typing.TypedDict, total=False): count: str lowerBound: float upperBound: float @typing.type_check_only -class AggregationResultSum(typing_extensions.TypedDict, total=False): +class AggregationResultSum(typing.TypedDict, total=False): value: float @typing.type_check_only -class AggregationSum(typing_extensions.TypedDict, total=False): ... +class AggregationSum(typing.TypedDict, total=False): ... @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): assignedGroups: _list[str] attributes: dict[str, typing.Any] awsApiGatewayRestApiDetails: AwsApiGatewayRestApiDetails @@ -123,7 +121,7 @@ class Asset(typing_extensions.TypedDict, total=False): virtualMachineDetails: VirtualMachineDetails @typing.type_check_only -class AssetFrame(typing_extensions.TypedDict, total=False): +class AssetFrame(typing.TypedDict, total=False): attributes: dict[str, typing.Any] awsApiGatewayRestApiDetails: AwsApiGatewayRestApiDetails awsAppSyncGraphqlApiDetails: AwsAppSyncGraphqlApiDetails @@ -154,7 +152,7 @@ class AssetFrame(typing_extensions.TypedDict, total=False): awsS3BucketDetails: AwsS3BucketDetails awsSnsTopicDetails: AwsSnsTopicDetails awsVpcDetails: AwsVpcDetails - collectionType: typing_extensions.Literal[ + collectionType: typing.Literal[ "SOURCE_TYPE_UNKNOWN", "SOURCE_TYPE_UPLOAD", "SOURCE_TYPE_GUEST_OS_SCAN", @@ -174,15 +172,15 @@ class AssetFrame(typing_extensions.TypedDict, total=False): virtualMachineDetails: VirtualMachineDetails @typing.type_check_only -class AssetList(typing_extensions.TypedDict, total=False): +class AssetList(typing.TypedDict, total=False): assetIds: _list[str] @typing.type_check_only -class AssetPerformanceData(typing_extensions.TypedDict, total=False): +class AssetPerformanceData(typing.TypedDict, total=False): dailyResourceUsageAggregations: _list[DailyResourceUsageAggregation] @typing.type_check_only -class AssetsExportJob(typing_extensions.TypedDict, total=False): +class AssetsExportJob(typing.TypedDict, total=False): condition: AssetsExportJobExportCondition createTime: str inventory: AssetsExportJobInventory @@ -196,7 +194,7 @@ class AssetsExportJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AssetsExportJobExecution(typing_extensions.TypedDict, total=False): +class AssetsExportJobExecution(typing.TypedDict, total=False): endTime: str executionId: str expireTime: str @@ -205,55 +203,55 @@ class AssetsExportJobExecution(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class AssetsExportJobExecutionResult(typing_extensions.TypedDict, total=False): +class AssetsExportJobExecutionResult(typing.TypedDict, total=False): error: Status outputFiles: OutputFileList signedUris: SignedUris @typing.type_check_only -class AssetsExportJobExportCondition(typing_extensions.TypedDict, total=False): +class AssetsExportJobExportCondition(typing.TypedDict, total=False): filter: str @typing.type_check_only -class AssetsExportJobInventory(typing_extensions.TypedDict, total=False): ... +class AssetsExportJobInventory(typing.TypedDict, total=False): ... @typing.type_check_only -class AssetsExportJobNetworkDependencies(typing_extensions.TypedDict, total=False): ... +class AssetsExportJobNetworkDependencies(typing.TypedDict, total=False): ... @typing.type_check_only -class AssetsExportJobPerformanceData(typing_extensions.TypedDict, total=False): +class AssetsExportJobPerformanceData(typing.TypedDict, total=False): maxDays: int @typing.type_check_only -class AwsApiGatewayRestApiDetails(typing_extensions.TypedDict, total=False): ... +class AwsApiGatewayRestApiDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsAppSyncGraphqlApiDetails(typing_extensions.TypedDict, total=False): ... +class AwsAppSyncGraphqlApiDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsApplicationLoadBalancerDetails(typing_extensions.TypedDict, total=False): ... +class AwsApplicationLoadBalancerDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsAthenaWorkGroupDetails(typing_extensions.TypedDict, total=False): ... +class AwsAthenaWorkGroupDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsAutoscalingGroupDetails(typing_extensions.TypedDict, total=False): ... +class AwsAutoscalingGroupDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsBatchComputeEnvironmentDetails(typing_extensions.TypedDict, total=False): ... +class AwsBatchComputeEnvironmentDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsCloudFrontDistributionDetails(typing_extensions.TypedDict, total=False): ... +class AwsCloudFrontDistributionDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsDynamoDBTableDetails(typing_extensions.TypedDict, total=False): ... +class AwsDynamoDBTableDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsEbsVolumeDetails(typing_extensions.TypedDict, total=False): ... +class AwsEbsVolumeDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class AwsEc2PlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -262,79 +260,77 @@ class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): machineTypeLabel: str @typing.type_check_only -class AwsEcrRepositoryDetails(typing_extensions.TypedDict, total=False): ... +class AwsEcrRepositoryDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsEcsClusterDetails(typing_extensions.TypedDict, total=False): ... +class AwsEcsClusterDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsEfsFileSystemDetails(typing_extensions.TypedDict, total=False): ... +class AwsEfsFileSystemDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsEksClusterDetails(typing_extensions.TypedDict, total=False): ... +class AwsEksClusterDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsElastiCacheClusterDetails(typing_extensions.TypedDict, total=False): ... +class AwsElastiCacheClusterDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsElasticIpAddressDetails(typing_extensions.TypedDict, total=False): ... +class AwsElasticIpAddressDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsElasticNetworkInterfaceDetails(typing_extensions.TypedDict, total=False): ... +class AwsElasticNetworkInterfaceDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsElbLoadBalancerDetails(typing_extensions.TypedDict, total=False): ... +class AwsElbLoadBalancerDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsEmrClusterDetails(typing_extensions.TypedDict, total=False): ... +class AwsEmrClusterDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsFirehoseDetails(typing_extensions.TypedDict, total=False): ... +class AwsFirehoseDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsGlueJobDetails(typing_extensions.TypedDict, total=False): ... +class AwsGlueJobDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsInternetGatewayDetails(typing_extensions.TypedDict, total=False): ... +class AwsInternetGatewayDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsKinesisStreamDetails(typing_extensions.TypedDict, total=False): ... +class AwsKinesisStreamDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsLambdaFunctionDetails(typing_extensions.TypedDict, total=False): ... +class AwsLambdaFunctionDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsNatGatewayDetails(typing_extensions.TypedDict, total=False): ... +class AwsNatGatewayDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsRds(typing_extensions.TypedDict, total=False): ... +class AwsRds(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsRedshiftDetails(typing_extensions.TypedDict, total=False): ... +class AwsRedshiftDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsRoute53HostedZoneDetails(typing_extensions.TypedDict, total=False): ... +class AwsRoute53HostedZoneDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsS3BucketDetails(typing_extensions.TypedDict, total=False): +class AwsS3BucketDetails(typing.TypedDict, total=False): objectsMetadata: AwsS3BucketDetailsObjectsMetadata storageClasses: _list[AwsS3BucketDetailsStorageClass] versioning: AwsS3BucketDetailsVersioning @typing.type_check_only -class AwsS3BucketDetailsObjectsMetadata(typing_extensions.TypedDict, total=False): +class AwsS3BucketDetailsObjectsMetadata(typing.TypedDict, total=False): totalObjects: AwsS3BucketDetailsObjectsMetadataTotalObjects @typing.type_check_only -class AwsS3BucketDetailsObjectsMetadataTotalObjects( - typing_extensions.TypedDict, total=False -): +class AwsS3BucketDetailsObjectsMetadataTotalObjects(typing.TypedDict, total=False): value: int @typing.type_check_only -class AwsS3BucketDetailsStorageClass(typing_extensions.TypedDict, total=False): +class AwsS3BucketDetailsStorageClass(typing.TypedDict, total=False): totalBytes: str - type: typing_extensions.Literal[ + type: typing.Literal[ "STORAGE_CLASS_TYPE_UNSPECIFIED", "STANDARD", "INTELLIGENT_TIERING", @@ -348,18 +344,18 @@ class AwsS3BucketDetailsStorageClass(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AwsS3BucketDetailsVersioning(typing_extensions.TypedDict, total=False): +class AwsS3BucketDetailsVersioning(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class AwsSnsTopicDetails(typing_extensions.TypedDict, total=False): ... +class AwsSnsTopicDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsVpcDetails(typing_extensions.TypedDict, total=False): ... +class AwsVpcDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class AzureVmPlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -369,21 +365,21 @@ class AzureVmPlatformDetails(typing_extensions.TypedDict, total=False): provisioningState: str @typing.type_check_only -class BatchDeleteAssetsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteAssetsRequest(typing.TypedDict, total=False): allowMissing: bool cascadingRules: _list[CascadingRule] names: _list[str] @typing.type_check_only -class BatchUpdateAssetsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateAssetsRequest(typing.TypedDict, total=False): requests: _list[UpdateAssetRequest] @typing.type_check_only -class BatchUpdateAssetsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] @typing.type_check_only -class BiosDetails(typing_extensions.TypedDict, total=False): +class BiosDetails(typing.TypedDict, total=False): biosManufacturer: str biosName: str biosReleaseDate: str @@ -395,25 +391,25 @@ class BiosDetails(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CascadeLogicalDBsRule(typing_extensions.TypedDict, total=False): ... +class CascadeLogicalDBsRule(typing.TypedDict, total=False): ... @typing.type_check_only -class CascadingRule(typing_extensions.TypedDict, total=False): +class CascadingRule(typing.TypedDict, total=False): cascadeLogicalDbs: CascadeLogicalDBsRule @typing.type_check_only -class CloudDatabaseMigrationTarget(typing_extensions.TypedDict, total=False): +class CloudDatabaseMigrationTarget(typing.TypedDict, total=False): cloudSqlForMysqlShape: CloudSqlForMySqlShape cloudSqlForPostgresqlShape: CloudSqlForPostgreSqlShape cloudSqlShape: CloudSqlForSqlServerShape @typing.type_check_only -class CloudSqlForMySqlShape(typing_extensions.TypedDict, total=False): +class CloudSqlForMySqlShape(typing.TypedDict, total=False): backupStorageGb: int - edition: typing_extensions.Literal[ + edition: typing.Literal[ "CLOUD_SQL_EDITION_UNSPECIFIED", "CLOUD_SQL_EDITION_ENTERPRISE", "CLOUD_SQL_EDITION_ENTERPRISE_PLUS", @@ -422,22 +418,22 @@ class CloudSqlForMySqlShape(typing_extensions.TypedDict, total=False): logicalCoreCount: int memoryMb: int storage: ComputeStorageDescriptor - version: typing_extensions.Literal[ + version: typing.Literal[ "MY_SQL_VERSION_UNSPECIFIED", "MY_SQL_VERSION_5_6", "MY_SQL_VERSION_5_7", "MY_SQL_VERSION_8_0", ] - zoneAvailability: typing_extensions.Literal[ + zoneAvailability: typing.Literal[ "CLOUD_SQL_ZONE_AVAILABILITY_UNSPECIFIED", "CLOUD_SQL_ZONE_AVAILABILITY_ZONAL", "CLOUD_SQL_ZONE_AVAILABILITY_REGIONAL", ] @typing.type_check_only -class CloudSqlForPostgreSqlShape(typing_extensions.TypedDict, total=False): +class CloudSqlForPostgreSqlShape(typing.TypedDict, total=False): backupStorageGb: int - edition: typing_extensions.Literal[ + edition: typing.Literal[ "CLOUD_SQL_EDITION_UNSPECIFIED", "CLOUD_SQL_EDITION_ENTERPRISE", "CLOUD_SQL_EDITION_ENTERPRISE_PLUS", @@ -446,7 +442,7 @@ class CloudSqlForPostgreSqlShape(typing_extensions.TypedDict, total=False): logicalCoreCount: int memoryMb: int storage: ComputeStorageDescriptor - version: typing_extensions.Literal[ + version: typing.Literal[ "POSTGRESQL_VERSION_UNSPECIFIED", "POSTGRESQL_VERSION_9_6", "POSTGRESQL_VERSION_10", @@ -456,16 +452,16 @@ class CloudSqlForPostgreSqlShape(typing_extensions.TypedDict, total=False): "POSTGRESQL_VERSION_14", "POSTGRESQL_VERSION_15", ] - zoneAvailability: typing_extensions.Literal[ + zoneAvailability: typing.Literal[ "CLOUD_SQL_ZONE_AVAILABILITY_UNSPECIFIED", "CLOUD_SQL_ZONE_AVAILABILITY_ZONAL", "CLOUD_SQL_ZONE_AVAILABILITY_REGIONAL", ] @typing.type_check_only -class CloudSqlForSqlServerShape(typing_extensions.TypedDict, total=False): +class CloudSqlForSqlServerShape(typing.TypedDict, total=False): backupStorageGb: int - edition: typing_extensions.Literal[ + edition: typing.Literal[ "CLOUD_SQL_EDITION_UNSPECIFIED", "CLOUD_SQL_EDITION_ENTERPRISE", "CLOUD_SQL_EDITION_ENTERPRISE_PLUS", @@ -475,7 +471,7 @@ class CloudSqlForSqlServerShape(typing_extensions.TypedDict, total=False): memoryMb: int smtEnabled: bool storage: ComputeStorageDescriptor - version: typing_extensions.Literal[ + version: typing.Literal[ "SQL_SERVER_VERSION_UNSPECIFIED", "SQL_SERVER_VERSION_2017_EXPRESS", "SQL_SERVER_VERSION_2017_WEB", @@ -490,32 +486,32 @@ class CloudSqlForSqlServerShape(typing_extensions.TypedDict, total=False): "SQL_SERVER_VERSION_2022_STANDARD", "SQL_SERVER_VERSION_2022_ENTERPRISE", ] - zoneAvailability: typing_extensions.Literal[ + zoneAvailability: typing.Literal[ "CLOUD_SQL_ZONE_AVAILABILITY_UNSPECIFIED", "CLOUD_SQL_ZONE_AVAILABILITY_ZONAL", "CLOUD_SQL_ZONE_AVAILABILITY_REGIONAL", ] @typing.type_check_only -class ComputeEngineMigrationTarget(typing_extensions.TypedDict, total=False): +class ComputeEngineMigrationTarget(typing.TypedDict, total=False): shape: ComputeEngineShapeDescriptor @typing.type_check_only -class ComputeEnginePreferences(typing_extensions.TypedDict, total=False): - licenseType: typing_extensions.Literal[ +class ComputeEnginePreferences(typing.TypedDict, total=False): + licenseType: typing.Literal[ "LICENSE_TYPE_UNSPECIFIED", "LICENSE_TYPE_DEFAULT", "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE", ] machinePreferences: MachinePreferences - multithreading: typing_extensions.Literal[ + multithreading: typing.Literal[ "MULTITHREADING_UNSPECIFIED", "MULTITHREADING_DISABLED", "MULTITHREADING_ENABLED", "MULTITHREADING_DISABLED_WITH_COMPENSATION", ] osPricingPreferences: OperatingSystemPricingPreferences - persistentDiskType: typing_extensions.Literal[ + persistentDiskType: typing.Literal[ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", "PERSISTENT_DISK_TYPE_BALANCED", @@ -523,7 +519,7 @@ class ComputeEnginePreferences(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ComputeEngineShapeDescriptor(typing_extensions.TypedDict, total=False): +class ComputeEngineShapeDescriptor(typing.TypedDict, total=False): logicalCoreCount: int machineType: str memoryMb: int @@ -533,14 +529,12 @@ class ComputeEngineShapeDescriptor(typing_extensions.TypedDict, total=False): storage: _list[ComputeStorageDescriptor] @typing.type_check_only -class ComputeEngineSoleTenantMigrationTarget( - typing_extensions.TypedDict, total=False -): ... +class ComputeEngineSoleTenantMigrationTarget(typing.TypedDict, total=False): ... @typing.type_check_only -class ComputeStorageDescriptor(typing_extensions.TypedDict, total=False): +class ComputeStorageDescriptor(typing.TypedDict, total=False): sizeGb: int - type: typing_extensions.Literal[ + type: typing.Literal[ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", "PERSISTENT_DISK_TYPE_BALANCED", @@ -548,17 +542,17 @@ class ComputeStorageDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CpuUsageSample(typing_extensions.TypedDict, total=False): +class CpuUsageSample(typing.TypedDict, total=False): utilizedPercentage: float @typing.type_check_only -class CsvOutputFile(typing_extensions.TypedDict, total=False): +class CsvOutputFile(typing.TypedDict, total=False): columnsCount: int rowCount: int signedUri: SignedUri @typing.type_check_only -class DailyResourceUsageAggregation(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregation(typing.TypedDict, total=False): cpu: DailyResourceUsageAggregationCPU date: Date disk: DailyResourceUsageAggregationDisk @@ -566,33 +560,33 @@ class DailyResourceUsageAggregation(typing_extensions.TypedDict, total=False): network: DailyResourceUsageAggregationNetwork @typing.type_check_only -class DailyResourceUsageAggregationCPU(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationCPU(typing.TypedDict, total=False): utilizationPercentage: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationDisk(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationDisk(typing.TypedDict, total=False): iops: DailyResourceUsageAggregationStats readIops: DailyResourceUsageAggregationStats writeIops: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationMemory(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationMemory(typing.TypedDict, total=False): utilizationPercentage: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationNetwork(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationNetwork(typing.TypedDict, total=False): egressBps: DailyResourceUsageAggregationStats ingressBps: DailyResourceUsageAggregationStats @typing.type_check_only -class DailyResourceUsageAggregationStats(typing_extensions.TypedDict, total=False): +class DailyResourceUsageAggregationStats(typing.TypedDict, total=False): average: float median: float ninteyFifthPercentile: float peak: float @typing.type_check_only -class DatabaseDeploymentDetails(typing_extensions.TypedDict, total=False): +class DatabaseDeploymentDetails(typing.TypedDict, total=False): aggregatedStats: DatabaseDeploymentDetailsAggregatedStats awsRds: AwsRds edition: str @@ -605,13 +599,11 @@ class DatabaseDeploymentDetails(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class DatabaseDeploymentDetailsAggregatedStats( - typing_extensions.TypedDict, total=False -): +class DatabaseDeploymentDetailsAggregatedStats(typing.TypedDict, total=False): databaseCount: int @typing.type_check_only -class DatabaseDeploymentTopology(typing_extensions.TypedDict, total=False): +class DatabaseDeploymentTopology(typing.TypedDict, total=False): coreCount: int coreLimit: int diskAllocatedBytes: str @@ -623,34 +615,32 @@ class DatabaseDeploymentTopology(typing_extensions.TypedDict, total=False): physicalCoreLimit: int @typing.type_check_only -class DatabaseDetails(typing_extensions.TypedDict, total=False): +class DatabaseDetails(typing.TypedDict, total=False): allocatedStorageBytes: str databaseName: str parentDatabaseDeployment: DatabaseDetailsParentDatabaseDeployment schemas: _list[DatabaseSchema] @typing.type_check_only -class DatabaseDetailsParentDatabaseDeployment(typing_extensions.TypedDict, total=False): +class DatabaseDetailsParentDatabaseDeployment(typing.TypedDict, total=False): generatedId: str manualUniqueId: str @typing.type_check_only -class DatabaseInstance(typing_extensions.TypedDict, total=False): +class DatabaseInstance(typing.TypedDict, total=False): instanceName: str network: DatabaseInstanceNetwork - role: typing_extensions.Literal[ - "ROLE_UNSPECIFIED", "PRIMARY", "SECONDARY", "ARBITER" - ] + role: typing.Literal["ROLE_UNSPECIFIED", "PRIMARY", "SECONDARY", "ARBITER"] @typing.type_check_only -class DatabaseInstanceNetwork(typing_extensions.TypedDict, total=False): +class DatabaseInstanceNetwork(typing.TypedDict, total=False): hostNames: _list[str] ipAddresses: _list[str] primaryMacAddress: str @typing.type_check_only -class DatabaseObjects(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class DatabaseObjects(typing.TypedDict, total=False): + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "TABLE", "INDEX", @@ -662,15 +652,15 @@ class DatabaseObjects(typing_extensions.TypedDict, total=False): count: str @typing.type_check_only -class DatabasePreferences(typing_extensions.TypedDict, total=False): +class DatabasePreferences(typing.TypedDict, total=False): mssqlToCloudSqlForSqlServerPreferences: DatabasePreferencesCloudSqlSqlServer mysqlToCloudSqlForMysqlPreferences: DatabasePreferencesCloudSqlMySql postgresqlToCloudSqlForPostgresqlPreferences: DatabasePreferencesCloudSqlPostgreSql @typing.type_check_only -class DatabasePreferencesCloudSqlCommon(typing_extensions.TypedDict, total=False): +class DatabasePreferencesCloudSqlCommon(typing.TypedDict, total=False): backup: DatabasePreferencesCloudSqlCommonBackup - commitmentPlan: typing_extensions.Literal[ + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "COMMITMENT_PLAN_NONE", "COMMITMENT_PLAN_ONE_YEAR", @@ -678,54 +668,54 @@ class DatabasePreferencesCloudSqlCommon(typing_extensions.TypedDict, total=False "COMMITMENT_PLAN_FLEXIBLE_ONE_YEAR", "COMMITMENT_PLAN_FLEXIBLE_THREE_YEARS", ] - edition: typing_extensions.Literal[ + edition: typing.Literal[ "CLOUD_SQL_EDITION_UNSPECIFIED", "CLOUD_SQL_EDITION_ENTERPRISE", "CLOUD_SQL_EDITION_ENTERPRISE_PLUS", ] - persistentDiskType: typing_extensions.Literal[ + persistentDiskType: typing.Literal[ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", "PERSISTENT_DISK_TYPE_BALANCED", "PERSISTENT_DISK_TYPE_SSD", ] - sizingOptimizationStrategy: typing_extensions.Literal[ + sizingOptimizationStrategy: typing.Literal[ "SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED", "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE", "SIZING_OPTIMIZATION_STRATEGY_MODERATE", "SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE", "SIZING_OPTIMIZATION_STRATEGY_CUSTOM", ] - zoneAvailability: typing_extensions.Literal[ + zoneAvailability: typing.Literal[ "CLOUD_SQL_ZONE_AVAILABILITY_UNSPECIFIED", "CLOUD_SQL_ZONE_AVAILABILITY_ZONAL", "CLOUD_SQL_ZONE_AVAILABILITY_REGIONAL", ] @typing.type_check_only -class DatabasePreferencesCloudSqlCommonBackup(typing_extensions.TypedDict, total=False): - backupMode: typing_extensions.Literal[ +class DatabasePreferencesCloudSqlCommonBackup(typing.TypedDict, total=False): + backupMode: typing.Literal[ "BACKUP_MODE_UNSPECIFIED", "BACKUP_MODE_DISABLED", "BACKUP_MODE_ENABLED" ] @typing.type_check_only -class DatabasePreferencesCloudSqlMySql(typing_extensions.TypedDict, total=False): +class DatabasePreferencesCloudSqlMySql(typing.TypedDict, total=False): common: DatabasePreferencesCloudSqlCommon @typing.type_check_only -class DatabasePreferencesCloudSqlPostgreSql(typing_extensions.TypedDict, total=False): +class DatabasePreferencesCloudSqlPostgreSql(typing.TypedDict, total=False): common: DatabasePreferencesCloudSqlCommon @typing.type_check_only -class DatabasePreferencesCloudSqlSqlServer(typing_extensions.TypedDict, total=False): +class DatabasePreferencesCloudSqlSqlServer(typing.TypedDict, total=False): common: DatabasePreferencesCloudSqlCommon - multithreading: typing_extensions.Literal[ + multithreading: typing.Literal[ "MULTITHREADING_UNSPECIFIED", "MULTITHREADING_DISABLED", "MULTITHREADING_ENABLED", "MULTITHREADING_DISABLED_WITH_COMPENSATION", ] - versionType: typing_extensions.Literal[ + versionType: typing.Literal[ "VERSION_TYPE_UNSPECIFIED", "VERSION_TYPE_AUTO", "VERSION_TYPE_EXPRESS", @@ -735,7 +725,7 @@ class DatabasePreferencesCloudSqlSqlServer(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class DatabaseSchema(typing_extensions.TypedDict, total=False): +class DatabaseSchema(typing.TypedDict, total=False): mysql: MySqlSchemaDetails objects: _list[DatabaseObjects] postgresql: PostgreSqlSchemaDetails @@ -744,13 +734,13 @@ class DatabaseSchema(typing_extensions.TypedDict, total=False): tablesSizeBytes: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -762,12 +752,12 @@ class DateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class DetectedSoftware(typing_extensions.TypedDict, total=False): +class DetectedSoftware(typing.TypedDict, total=False): softwareFamily: str softwareName: str @typing.type_check_only -class DiscoveryClient(typing_extensions.TypedDict, total=False): +class DiscoveryClient(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -780,7 +770,7 @@ class DiscoveryClient(typing_extensions.TypedDict, total=False): serviceAccount: str signalsEndpoint: str source: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "OFFLINE", "DEGRADED", "EXPIRED" ] ttl: str @@ -788,14 +778,12 @@ class DiscoveryClient(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class DiscoveryClientDiscoveryClientRecommendedVersion( - typing_extensions.TypedDict, total=False -): +class DiscoveryClientDiscoveryClientRecommendedVersion(typing.TypedDict, total=False): uri: str version: str @typing.type_check_only -class DiskEntry(typing_extensions.TypedDict, total=False): +class DiskEntry(typing.TypedDict, total=False): capacityBytes: str diskLabel: str diskLabelType: str @@ -808,11 +796,11 @@ class DiskEntry(typing_extensions.TypedDict, total=False): totalFreeBytes: str @typing.type_check_only -class DiskEntryList(typing_extensions.TypedDict, total=False): +class DiskEntryList(typing.TypedDict, total=False): entries: _list[DiskEntry] @typing.type_check_only -class DiskPartition(typing_extensions.TypedDict, total=False): +class DiskPartition(typing.TypedDict, total=False): capacityBytes: str fileSystem: str freeBytes: str @@ -822,68 +810,68 @@ class DiskPartition(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class DiskPartitionDetails(typing_extensions.TypedDict, total=False): +class DiskPartitionDetails(typing.TypedDict, total=False): freeSpaceBytes: str partitions: DiskPartitionList totalCapacityBytes: str @typing.type_check_only -class DiskPartitionList(typing_extensions.TypedDict, total=False): +class DiskPartitionList(typing.TypedDict, total=False): entries: _list[DiskPartition] @typing.type_check_only -class DiskUsageSample(typing_extensions.TypedDict, total=False): +class DiskUsageSample(typing.TypedDict, total=False): averageIops: float averageReadIops: float averageWriteIops: float @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorFrame(typing_extensions.TypedDict, total=False): +class ErrorFrame(typing.TypedDict, total=False): ingestionTime: str name: str originalFrame: AssetFrame violations: _list[FrameViolationEntry] @typing.type_check_only -class EstimatedUsage(typing_extensions.TypedDict, total=False): +class EstimatedUsage(typing.TypedDict, total=False): estimatedCpuPercentage: float estimatedDiskPercentage: float estimatedMemoryPercentage: float @typing.type_check_only -class ExecutionReport(typing_extensions.TypedDict, total=False): +class ExecutionReport(typing.TypedDict, total=False): executionErrors: ValidationReport framesReported: int jobErrors: _list[ImportError] totalRowsCount: int @typing.type_check_only -class FileValidationReport(typing_extensions.TypedDict, total=False): +class FileValidationReport(typing.TypedDict, total=False): fileErrors: _list[ImportError] fileName: str partialReport: bool rowErrors: _list[ImportRowError] @typing.type_check_only -class FitDescriptor(typing_extensions.TypedDict, total=False): - fitLevel: typing_extensions.Literal[ +class FitDescriptor(typing.TypedDict, total=False): + fitLevel: typing.Literal[ "FIT_LEVEL_UNSPECIFIED", "FIT", "NO_FIT", "REQUIRES_EFFORT" ] @typing.type_check_only -class FrameViolationEntry(typing_extensions.TypedDict, total=False): +class FrameViolationEntry(typing.TypedDict, total=False): field: str violation: str @typing.type_check_only -class Frames(typing_extensions.TypedDict, total=False): +class Frames(typing.TypedDict, total=False): framesData: _list[AssetFrame] @typing.type_check_only -class FstabEntry(typing_extensions.TypedDict, total=False): +class FstabEntry(typing.TypedDict, total=False): file: str freq: int mntops: str @@ -892,12 +880,12 @@ class FstabEntry(typing_extensions.TypedDict, total=False): vfstype: str @typing.type_check_only -class FstabEntryList(typing_extensions.TypedDict, total=False): +class FstabEntryList(typing.TypedDict, total=False): entries: _list[FstabEntry] @typing.type_check_only -class GCSPayloadInfo(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal[ +class GCSPayloadInfo(typing.TypedDict, total=False): + format: typing.Literal[ "IMPORT_JOB_FORMAT_UNSPECIFIED", "IMPORT_JOB_FORMAT_CMDB", "IMPORT_JOB_FORMAT_RVTOOLS_XLSX", @@ -910,14 +898,14 @@ class GCSPayloadInfo(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class GenericInsight(typing_extensions.TypedDict, total=False): +class GenericInsight(typing.TypedDict, total=False): additionalInformation: _list[str] defaultMessage: str messageId: str @typing.type_check_only -class GenericPlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class GenericPlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -925,12 +913,10 @@ class GenericPlatformDetails(typing_extensions.TypedDict, total=False): location: str @typing.type_check_only -class GoogleKubernetesEngineMigrationTarget( - typing_extensions.TypedDict, total=False -): ... +class GoogleKubernetesEngineMigrationTarget(typing.TypedDict, total=False): ... @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -939,13 +925,13 @@ class Group(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GuestConfigDetails(typing_extensions.TypedDict, total=False): +class GuestConfigDetails(typing.TypedDict, total=False): fstab: FstabEntryList hosts: HostsEntryList issue: str nfsExports: NfsExportList selinux: Selinux - selinuxMode: typing_extensions.Literal[ + selinuxMode: typing.Literal[ "SE_LINUX_MODE_UNSPECIFIED", "SE_LINUX_MODE_DISABLED", "SE_LINUX_MODE_PERMISSIVE", @@ -953,7 +939,7 @@ class GuestConfigDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GuestInstalledApplication(typing_extensions.TypedDict, total=False): +class GuestInstalledApplication(typing.TypedDict, total=False): applicationName: str installTime: str licenses: _list[str] @@ -964,13 +950,13 @@ class GuestInstalledApplication(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class GuestInstalledApplicationList(typing_extensions.TypedDict, total=False): +class GuestInstalledApplicationList(typing.TypedDict, total=False): entries: _list[GuestInstalledApplication] @typing.type_check_only -class GuestOsDetails(typing_extensions.TypedDict, total=False): +class GuestOsDetails(typing.TypedDict, total=False): config: GuestConfigDetails - family: typing_extensions.Literal[ + family: typing.Literal[ "OS_FAMILY_UNKNOWN", "OS_FAMILY_WINDOWS", "OS_FAMILY_LINUX", "OS_FAMILY_UNIX" ] osName: str @@ -978,7 +964,7 @@ class GuestOsDetails(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class GuestRuntimeDetails(typing_extensions.TypedDict, total=False): +class GuestRuntimeDetails(typing.TypedDict, total=False): domain: str installedApps: GuestInstalledApplicationList lastBootTime: str @@ -990,7 +976,7 @@ class GuestRuntimeDetails(typing_extensions.TypedDict, total=False): services: RunningServiceList @typing.type_check_only -class HostingProviderDetails(typing_extensions.TypedDict, total=False): +class HostingProviderDetails(typing.TypedDict, total=False): aws: HostingProviderDetailsAws createTime: str displayName: str @@ -998,23 +984,23 @@ class HostingProviderDetails(typing_extensions.TypedDict, total=False): originalId: str @typing.type_check_only -class HostingProviderDetailsAws(typing_extensions.TypedDict, total=False): +class HostingProviderDetailsAws(typing.TypedDict, total=False): owningAccountId: str @typing.type_check_only -class HostsEntry(typing_extensions.TypedDict, total=False): +class HostsEntry(typing.TypedDict, total=False): hostNames: _list[str] ip: str @typing.type_check_only -class HostsEntryList(typing_extensions.TypedDict, total=False): +class HostsEntryList(typing.TypedDict, total=False): entries: _list[HostsEntry] @typing.type_check_only -class ImportDataFile(typing_extensions.TypedDict, total=False): +class ImportDataFile(typing.TypedDict, total=False): createTime: str displayName: str - format: typing_extensions.Literal[ + format: typing.Literal[ "IMPORT_JOB_FORMAT_UNSPECIFIED", "IMPORT_JOB_FORMAT_CMDB", "IMPORT_JOB_FORMAT_RVTOOLS_XLSX", @@ -1025,18 +1011,16 @@ class ImportDataFile(typing_extensions.TypedDict, total=False): "IMPORT_JOB_FORMAT_DATABASE_ZIP", ] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE"] uploadFileInfo: UploadFileInfo @typing.type_check_only -class ImportError(typing_extensions.TypedDict, total=False): +class ImportError(typing.TypedDict, total=False): errorDetails: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] @typing.type_check_only -class ImportJob(typing_extensions.TypedDict, total=False): +class ImportJob(typing.TypedDict, total=False): assetSource: str completeTime: str createTime: str @@ -1046,7 +1030,7 @@ class ImportJob(typing_extensions.TypedDict, total=False): inlinePayload: InlinePayloadInfo labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "IMPORT_JOB_STATE_UNSPECIFIED", "IMPORT_JOB_STATE_PENDING", "IMPORT_JOB_STATE_RUNNING", @@ -1060,7 +1044,7 @@ class ImportJob(typing_extensions.TypedDict, total=False): validationReport: ValidationReport @typing.type_check_only -class ImportRowError(typing_extensions.TypedDict, total=False): +class ImportRowError(typing.TypedDict, total=False): archiveError: ImportRowErrorArchiveErrorDetails assetTitle: str csvError: ImportRowErrorCsvErrorDetails @@ -1071,22 +1055,22 @@ class ImportRowError(typing_extensions.TypedDict, total=False): xlsxError: ImportRowErrorXlsxErrorDetails @typing.type_check_only -class ImportRowErrorArchiveErrorDetails(typing_extensions.TypedDict, total=False): +class ImportRowErrorArchiveErrorDetails(typing.TypedDict, total=False): csvError: ImportRowErrorCsvErrorDetails filePath: str @typing.type_check_only -class ImportRowErrorCsvErrorDetails(typing_extensions.TypedDict, total=False): +class ImportRowErrorCsvErrorDetails(typing.TypedDict, total=False): rowNumber: int @typing.type_check_only -class ImportRowErrorXlsxErrorDetails(typing_extensions.TypedDict, total=False): +class ImportRowErrorXlsxErrorDetails(typing.TypedDict, total=False): rowNumber: int sheet: str @typing.type_check_only -class InlinePayloadInfo(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal[ +class InlinePayloadInfo(typing.TypedDict, total=False): + format: typing.Literal[ "IMPORT_JOB_FORMAT_UNSPECIFIED", "IMPORT_JOB_FORMAT_CMDB", "IMPORT_JOB_FORMAT_RVTOOLS_XLSX", @@ -1099,121 +1083,121 @@ class InlinePayloadInfo(typing_extensions.TypedDict, total=False): payload: _list[PayloadFile] @typing.type_check_only -class Insight(typing_extensions.TypedDict, total=False): +class Insight(typing.TypedDict, total=False): genericInsight: GenericInsight migrationInsight: MigrationInsight softwareInsight: SoftwareInsight @typing.type_check_only -class InsightList(typing_extensions.TypedDict, total=False): +class InsightList(typing.TypedDict, total=False): insights: _list[Insight] updateTime: str @typing.type_check_only -class Issue(typing_extensions.TypedDict, total=False): +class Issue(typing.TypedDict, total=False): compatibilityIssue: IssueCompatibilityIssue description: str issueCode: str @typing.type_check_only -class IssueCompatibilityIssue(typing_extensions.TypedDict, total=False): +class IssueCompatibilityIssue(typing.TypedDict, total=False): associatedObject: str - associatedObjectType: typing_extensions.Literal[ + associatedObjectType: typing.Literal[ "OBJECT_TYPE_UNSPECIFIED", "DATABASE_DEPLOYMENT", "DATABASE", "SCHEMA" ] associatedValue: str - category: typing_extensions.Literal[ + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "DATABASE_FLAG", "DATABASE_FEATURE" ] @typing.type_check_only -class ListAssetsExportJobsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsExportJobsResponse(typing.TypedDict, total=False): assetsExportJobs: _list[AssetsExportJob] nextPageToken: str @typing.type_check_only -class ListAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveryClientsResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveryClientsResponse(typing.TypedDict, total=False): discoveryClients: _list[DiscoveryClient] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListErrorFramesResponse(typing_extensions.TypedDict, total=False): +class ListErrorFramesResponse(typing.TypedDict, total=False): errorFrames: _list[ErrorFrame] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImportDataFilesResponse(typing_extensions.TypedDict, total=False): +class ListImportDataFilesResponse(typing.TypedDict, total=False): importDataFiles: _list[ImportDataFile] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImportJobsResponse(typing_extensions.TypedDict, total=False): +class ListImportJobsResponse(typing.TypedDict, total=False): importJobs: _list[ImportJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPreferenceSetsResponse(typing_extensions.TypedDict, total=False): +class ListPreferenceSetsResponse(typing.TypedDict, total=False): nextPageToken: str preferenceSets: _list[PreferenceSet] unreachable: _list[str] @typing.type_check_only -class ListRelationsResponse(typing_extensions.TypedDict, total=False): +class ListRelationsResponse(typing.TypedDict, total=False): nextPageToken: str relations: _list[Relation] @typing.type_check_only -class ListReportConfigsResponse(typing_extensions.TypedDict, total=False): +class ListReportConfigsResponse(typing.TypedDict, total=False): nextPageToken: str reportConfigs: _list[ReportConfig] unreachable: _list[str] @typing.type_check_only -class ListReportExportJobsResponse(typing_extensions.TypedDict, total=False): +class ListReportExportJobsResponse(typing.TypedDict, total=False): nextPageToken: str reportExportJobs: _list[ReportExportJob] @typing.type_check_only -class ListReportsResponse(typing_extensions.TypedDict, total=False): +class ListReportsResponse(typing.TypedDict, total=False): nextPageToken: str reports: _list[Report] unreachable: _list[str] @typing.type_check_only -class ListSourcesResponse(typing_extensions.TypedDict, total=False): +class ListSourcesResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[Source] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -1221,20 +1205,20 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MachineArchitectureDetails(typing_extensions.TypedDict, total=False): +class MachineArchitectureDetails(typing.TypedDict, total=False): bios: BiosDetails cpuArchitecture: str cpuManufacturer: str cpuName: str cpuSocketCount: int - firmwareType: typing_extensions.Literal["FIRMWARE_TYPE_UNSPECIFIED", "BIOS", "EFI"] - hyperthreading: typing_extensions.Literal[ + firmwareType: typing.Literal["FIRMWARE_TYPE_UNSPECIFIED", "BIOS", "EFI"] + hyperthreading: typing.Literal[ "CPU_HYPER_THREADING_UNSPECIFIED", "DISABLED", "ENABLED" ] vendor: str @typing.type_check_only -class MachineDetails(typing_extensions.TypedDict, total=False): +class MachineDetails(typing.TypedDict, total=False): architecture: MachineArchitectureDetails coreCount: int createTime: str @@ -1245,7 +1229,7 @@ class MachineDetails(typing_extensions.TypedDict, total=False): memoryMb: int network: MachineNetworkDetails platform: PlatformDetails - powerState: typing_extensions.Literal[ + powerState: typing.Literal[ "POWER_STATE_UNSPECIFIED", "PENDING", "ACTIVE", @@ -1257,14 +1241,14 @@ class MachineDetails(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class MachineDiskDetails(typing_extensions.TypedDict, total=False): +class MachineDiskDetails(typing.TypedDict, total=False): disks: DiskEntryList rawScanResult: str totalCapacityBytes: str totalFreeBytes: str @typing.type_check_only -class MachineNetworkDetails(typing_extensions.TypedDict, total=False): +class MachineNetworkDetails(typing.TypedDict, total=False): defaultGateway: str networkAdapters: NetworkAdapterList primaryIpAddress: str @@ -1272,19 +1256,19 @@ class MachineNetworkDetails(typing_extensions.TypedDict, total=False): publicIpAddress: str @typing.type_check_only -class MachinePreferences(typing_extensions.TypedDict, total=False): +class MachinePreferences(typing.TypedDict, total=False): allowedMachineSeries: _list[MachineSeries] @typing.type_check_only -class MachineSeries(typing_extensions.TypedDict, total=False): +class MachineSeries(typing.TypedDict, total=False): code: str @typing.type_check_only -class MemoryUsageSample(typing_extensions.TypedDict, total=False): +class MemoryUsageSample(typing.TypedDict, total=False): utilizedPercentage: float @typing.type_check_only -class MigrationInsight(typing_extensions.TypedDict, total=False): +class MigrationInsight(typing.TypedDict, total=False): cloudDatabaseTarget: CloudDatabaseMigrationTarget computeEngineSoleTenantTarget: ComputeEngineSoleTenantMigrationTarget computeEngineTarget: ComputeEngineMigrationTarget @@ -1294,31 +1278,31 @@ class MigrationInsight(typing_extensions.TypedDict, total=False): vmwareEngineTarget: VmwareEngineMigrationTarget @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class MySqlPlugin(typing_extensions.TypedDict, total=False): +class MySqlPlugin(typing.TypedDict, total=False): enabled: bool plugin: str version: str @typing.type_check_only -class MySqlProperty(typing_extensions.TypedDict, total=False): +class MySqlProperty(typing.TypedDict, total=False): enabled: bool numericValue: str property: str @typing.type_check_only -class MySqlSchemaDetails(typing_extensions.TypedDict, total=False): +class MySqlSchemaDetails(typing.TypedDict, total=False): storageEngines: _list[MySqlStorageEngineDetails] @typing.type_check_only -class MySqlStorageEngineDetails(typing_extensions.TypedDict, total=False): +class MySqlStorageEngineDetails(typing.TypedDict, total=False): encryptedTableCount: int - engine: typing_extensions.Literal[ + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "INNODB", "MYISAM", @@ -1335,32 +1319,32 @@ class MySqlStorageEngineDetails(typing_extensions.TypedDict, total=False): tableCount: int @typing.type_check_only -class MySqlVariable(typing_extensions.TypedDict, total=False): +class MySqlVariable(typing.TypedDict, total=False): category: str value: str variable: str @typing.type_check_only -class MysqlDatabaseDeployment(typing_extensions.TypedDict, total=False): +class MysqlDatabaseDeployment(typing.TypedDict, total=False): plugins: _list[MySqlPlugin] properties: _list[MySqlProperty] resourceGroupsCount: int variables: _list[MySqlVariable] @typing.type_check_only -class NetworkAdapterDetails(typing_extensions.TypedDict, total=False): +class NetworkAdapterDetails(typing.TypedDict, total=False): adapterType: str addresses: NetworkAddressList macAddress: str @typing.type_check_only -class NetworkAdapterList(typing_extensions.TypedDict, total=False): +class NetworkAdapterList(typing.TypedDict, total=False): entries: _list[NetworkAdapterDetails] networkAdapters: _list[NetworkAdapterDetails] @typing.type_check_only -class NetworkAddress(typing_extensions.TypedDict, total=False): - assignment: typing_extensions.Literal[ +class NetworkAddress(typing.TypedDict, total=False): + assignment: typing.Literal[ "ADDRESS_ASSIGNMENT_UNSPECIFIED", "ADDRESS_ASSIGNMENT_STATIC", "ADDRESS_ASSIGNMENT_DHCP", @@ -1371,12 +1355,12 @@ class NetworkAddress(typing_extensions.TypedDict, total=False): subnetMask: str @typing.type_check_only -class NetworkAddressList(typing_extensions.TypedDict, total=False): +class NetworkAddressList(typing.TypedDict, total=False): addresses: _list[NetworkAddress] entries: _list[NetworkAddress] @typing.type_check_only -class NetworkConnection(typing_extensions.TypedDict, total=False): +class NetworkConnection(typing.TypedDict, total=False): localIpAddress: str localPort: int pid: str @@ -1387,36 +1371,36 @@ class NetworkConnection(typing_extensions.TypedDict, total=False): state: str @typing.type_check_only -class NetworkConnectionList(typing_extensions.TypedDict, total=False): +class NetworkConnectionList(typing.TypedDict, total=False): entries: _list[NetworkConnection] @typing.type_check_only -class NetworkUsageSample(typing_extensions.TypedDict, total=False): +class NetworkUsageSample(typing.TypedDict, total=False): averageEgressBps: float averageIngressBps: float @typing.type_check_only -class NfsExport(typing_extensions.TypedDict, total=False): +class NfsExport(typing.TypedDict, total=False): exportDirectory: str hosts: _list[str] @typing.type_check_only -class NfsExportList(typing_extensions.TypedDict, total=False): +class NfsExportList(typing.TypedDict, total=False): entries: _list[NfsExport] @typing.type_check_only -class OpenFileDetails(typing_extensions.TypedDict, total=False): +class OpenFileDetails(typing.TypedDict, total=False): command: str filePath: str fileType: str user: str @typing.type_check_only -class OpenFileList(typing_extensions.TypedDict, total=False): +class OpenFileList(typing.TypedDict, total=False): entries: _list[OpenFileDetails] @typing.type_check_only -class OperatingSystemPricingPreferences(typing_extensions.TypedDict, total=False): +class OperatingSystemPricingPreferences(typing.TypedDict, total=False): rhel: OperatingSystemPricingPreferencesOperatingSystemPricing sles: OperatingSystemPricingPreferencesOperatingSystemPricing slesForSap: OperatingSystemPricingPreferencesOperatingSystemPricing @@ -1424,22 +1408,22 @@ class OperatingSystemPricingPreferences(typing_extensions.TypedDict, total=False @typing.type_check_only class OperatingSystemPricingPreferencesOperatingSystemPricing( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - commitmentPlan: typing_extensions.Literal[ + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "COMMITMENT_PLAN_ON_DEMAND", "COMMITMENT_PLAN_1_YEAR", "COMMITMENT_PLAN_3_YEAR", ] - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "LICENSE_TYPE_UNSPECIFIED", "LICENSE_TYPE_DEFAULT", "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE", ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1447,7 +1431,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -1457,22 +1441,22 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OutputFile(typing_extensions.TypedDict, total=False): +class OutputFile(typing.TypedDict, total=False): csvOutputFile: CsvOutputFile fileSizeBytes: str xlsxOutputFile: XlsxOutputFile @typing.type_check_only -class OutputFileList(typing_extensions.TypedDict, total=False): +class OutputFileList(typing.TypedDict, total=False): entries: _list[OutputFile] @typing.type_check_only -class PayloadFile(typing_extensions.TypedDict, total=False): +class PayloadFile(typing.TypedDict, total=False): data: str name: str @typing.type_check_only -class PerformanceSample(typing_extensions.TypedDict, total=False): +class PerformanceSample(typing.TypedDict, total=False): cpu: CpuUsageSample disk: DiskUsageSample memory: MemoryUsageSample @@ -1480,8 +1464,8 @@ class PerformanceSample(typing_extensions.TypedDict, total=False): sampleTime: str @typing.type_check_only -class PhysicalPlatformDetails(typing_extensions.TypedDict, total=False): - hyperthreading: typing_extensions.Literal[ +class PhysicalPlatformDetails(typing.TypedDict, total=False): + hyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -1489,7 +1473,7 @@ class PhysicalPlatformDetails(typing_extensions.TypedDict, total=False): location: str @typing.type_check_only -class PlatformDetails(typing_extensions.TypedDict, total=False): +class PlatformDetails(typing.TypedDict, total=False): awsEc2Details: AwsEc2PlatformDetails azureVmDetails: AzureVmPlatformDetails genericDetails: GenericPlatformDetails @@ -1497,28 +1481,28 @@ class PlatformDetails(typing_extensions.TypedDict, total=False): vmwareDetails: VmwarePlatformDetails @typing.type_check_only -class PostgreSqlDatabaseDeployment(typing_extensions.TypedDict, total=False): +class PostgreSqlDatabaseDeployment(typing.TypedDict, total=False): properties: _list[PostgreSqlProperty] settings: _list[PostgreSqlSetting] @typing.type_check_only -class PostgreSqlExtension(typing_extensions.TypedDict, total=False): +class PostgreSqlExtension(typing.TypedDict, total=False): extension: str version: str @typing.type_check_only -class PostgreSqlProperty(typing_extensions.TypedDict, total=False): +class PostgreSqlProperty(typing.TypedDict, total=False): enabled: bool numericValue: str property: str @typing.type_check_only -class PostgreSqlSchemaDetails(typing_extensions.TypedDict, total=False): +class PostgreSqlSchemaDetails(typing.TypedDict, total=False): foreignTablesCount: int postgresqlExtensions: _list[PostgreSqlExtension] @typing.type_check_only -class PostgreSqlSetting(typing_extensions.TypedDict, total=False): +class PostgreSqlSetting(typing.TypedDict, total=False): boolValue: bool intValue: str realValue: float @@ -1528,7 +1512,7 @@ class PostgreSqlSetting(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class PreferenceSet(typing_extensions.TypedDict, total=False): +class PreferenceSet(typing.TypedDict, total=False): createTime: str databasePreferences: DatabasePreferences description: str @@ -1539,43 +1523,41 @@ class PreferenceSet(typing_extensions.TypedDict, total=False): virtualMachinePreferences: VirtualMachinePreferences @typing.type_check_only -class RegionPreferences(typing_extensions.TypedDict, total=False): +class RegionPreferences(typing.TypedDict, total=False): preferredRegions: _list[str] @typing.type_check_only -class Relation(typing_extensions.TypedDict, total=False): +class Relation(typing.TypedDict, total=False): createTime: str dstAsset: str name: str srcAsset: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "LOGICAL_DATABASE", "DATABASE_DEPLOYMENT_HOSTING_SERVER" ] @typing.type_check_only -class RemoveAssetsFromGroupRequest(typing_extensions.TypedDict, total=False): +class RemoveAssetsFromGroupRequest(typing.TypedDict, total=False): allowMissing: bool assets: AssetList requestId: str @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "SUCCEEDED", "FAILED"] summary: ReportSummary - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TOTAL_COST_OF_OWNERSHIP"] + type: typing.Literal["TYPE_UNSPECIFIED", "TOTAL_COST_OF_OWNERSHIP"] updateTime: str @typing.type_check_only -class ReportAssetFramesResponse(typing_extensions.TypedDict, total=False): ... +class ReportAssetFramesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ReportConfig(typing_extensions.TypedDict, total=False): +class ReportConfig(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1584,14 +1566,12 @@ class ReportConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ReportConfigGroupPreferenceSetAssignment( - typing_extensions.TypedDict, total=False -): +class ReportConfigGroupPreferenceSetAssignment(typing.TypedDict, total=False): group: str preferenceSet: str @typing.type_check_only -class ReportExportExecution(typing_extensions.TypedDict, total=False): +class ReportExportExecution(typing.TypedDict, total=False): endTime: str executionId: str expireTime: str @@ -1600,26 +1580,26 @@ class ReportExportExecution(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ReportExportExecutionResult(typing_extensions.TypedDict, total=False): +class ReportExportExecutionResult(typing.TypedDict, total=False): error: Status outputFiles: OutputFileList signedUris: SignedUris @typing.type_check_only -class ReportExportJob(typing_extensions.TypedDict, total=False): +class ReportExportJob(typing.TypedDict, total=False): name: str recentExecutions: _list[ReportExportExecution] signedUriDestination: SignedUriDestination @typing.type_check_only -class ReportSummary(typing_extensions.TypedDict, total=False): +class ReportSummary(typing.TypedDict, total=False): allAssetsStats: ReportSummaryAssetAggregateStats databaseStats: ReportSummaryAssetAggregateStats groupFindings: _list[ReportSummaryGroupFinding] virtualMachineStats: ReportSummaryAssetAggregateStats @typing.type_check_only -class ReportSummaryAssetAggregateStats(typing_extensions.TypedDict, total=False): +class ReportSummaryAssetAggregateStats(typing.TypedDict, total=False): assetAge: ReportSummaryChartData coreCountHistogram: ReportSummaryHistogramChartData databaseTypes: ReportSummaryChartData @@ -1639,32 +1619,30 @@ class ReportSummaryAssetAggregateStats(typing_extensions.TypedDict, total=False) @typing.type_check_only class ReportSummaryAssetAggregateStatsEstimatedUsageStats( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): totalAssetsUsingEstimatedUsage: str totalVirtualMachinesUsingEstimatedUsage: str @typing.type_check_only -class ReportSummaryChartData(typing_extensions.TypedDict, total=False): +class ReportSummaryChartData(typing.TypedDict, total=False): dataPoints: _list[ReportSummaryChartDataDataPoint] @typing.type_check_only -class ReportSummaryChartDataDataPoint(typing_extensions.TypedDict, total=False): +class ReportSummaryChartDataDataPoint(typing.TypedDict, total=False): label: str value: float @typing.type_check_only -class ReportSummaryDatabaseFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryDatabaseFinding(typing.TypedDict, total=False): allocatedAssetCount: str totalAssets: str @typing.type_check_only -class ReportSummaryGroupFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryGroupFinding(typing.TypedDict, total=False): assetAggregateStats: ReportSummaryAssetAggregateStats - assetType: typing_extensions.Literal[ - "ASSET_TYPE_UNSPECIFIED", "VIRTUAL_MACHINE", "DATABASE" - ] - databaseType: typing_extensions.Literal[ + assetType: typing.Literal["ASSET_TYPE_UNSPECIFIED", "VIRTUAL_MACHINE", "DATABASE"] + databaseType: typing.Literal[ "DATABASE_TYPE_UNSPECIFIED", "SQL_SERVER", "MYSQL", "POSTGRES" ] description: str @@ -1674,7 +1652,7 @@ class ReportSummaryGroupFinding(typing_extensions.TypedDict, total=False): preferenceSetFindings: _list[ReportSummaryGroupPreferenceSetFinding] @typing.type_check_only -class ReportSummaryGroupPreferenceSetFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryGroupPreferenceSetFinding(typing.TypedDict, total=False): databaseFinding: ReportSummaryDatabaseFinding description: str displayName: str @@ -1698,20 +1676,20 @@ class ReportSummaryGroupPreferenceSetFinding(typing_extensions.TypedDict, total= vmwareEngineFinding: ReportSummaryVMWareEngineFinding @typing.type_check_only -class ReportSummaryHistogramChartData(typing_extensions.TypedDict, total=False): +class ReportSummaryHistogramChartData(typing.TypedDict, total=False): buckets: _list[ReportSummaryHistogramChartDataBucket] @typing.type_check_only -class ReportSummaryHistogramChartDataBucket(typing_extensions.TypedDict, total=False): +class ReportSummaryHistogramChartDataBucket(typing.TypedDict, total=False): count: str lowerBound: str upperBound: str @typing.type_check_only -class ReportSummaryMachineFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryMachineFinding(typing.TypedDict, total=False): allocatedAssetCount: str allocatedDiskTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", "PERSISTENT_DISK_TYPE_BALANCED", @@ -1722,69 +1700,69 @@ class ReportSummaryMachineFinding(typing_extensions.TypedDict, total=False): machineSeriesAllocations: _list[ReportSummaryMachineSeriesAllocation] @typing.type_check_only -class ReportSummaryMachineSeriesAllocation(typing_extensions.TypedDict, total=False): +class ReportSummaryMachineSeriesAllocation(typing.TypedDict, total=False): allocatedAssetCount: str machineSeries: MachineSeries @typing.type_check_only -class ReportSummarySoleTenantFinding(typing_extensions.TypedDict, total=False): +class ReportSummarySoleTenantFinding(typing.TypedDict, total=False): allocatedAssetCount: str allocatedRegions: _list[str] nodeAllocations: _list[ReportSummarySoleTenantNodeAllocation] @typing.type_check_only -class ReportSummarySoleTenantNodeAllocation(typing_extensions.TypedDict, total=False): +class ReportSummarySoleTenantNodeAllocation(typing.TypedDict, total=False): allocatedAssetCount: str node: SoleTenantNodeType nodeCount: str @typing.type_check_only -class ReportSummaryUtilizationChartData(typing_extensions.TypedDict, total=False): +class ReportSummaryUtilizationChartData(typing.TypedDict, total=False): free: str used: str @typing.type_check_only -class ReportSummaryVMWareEngineFinding(typing_extensions.TypedDict, total=False): +class ReportSummaryVMWareEngineFinding(typing.TypedDict, total=False): allocatedAssetCount: str allocatedRegions: _list[str] nodeAllocations: _list[ReportSummaryVMWareNodeAllocation] @typing.type_check_only -class ReportSummaryVMWareNode(typing_extensions.TypedDict, total=False): +class ReportSummaryVMWareNode(typing.TypedDict, total=False): code: str @typing.type_check_only -class ReportSummaryVMWareNodeAllocation(typing_extensions.TypedDict, total=False): +class ReportSummaryVMWareNodeAllocation(typing.TypedDict, total=False): allocatedAssetCount: str nodeCount: str vmwareNode: ReportSummaryVMWareNode @typing.type_check_only -class ResourceLocation(typing_extensions.TypedDict, total=False): +class ResourceLocation(typing.TypedDict, total=False): region: str @typing.type_check_only -class RunAssetsExportJobRequest(typing_extensions.TypedDict, total=False): +class RunAssetsExportJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RunAssetsExportJobResponse(typing_extensions.TypedDict, total=False): +class RunAssetsExportJobResponse(typing.TypedDict, total=False): assetsExportJobExecution: AssetsExportJobExecution @typing.type_check_only -class RunImportJobRequest(typing_extensions.TypedDict, total=False): +class RunImportJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RunReportExportJobRequest(typing_extensions.TypedDict, total=False): +class RunReportExportJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RunReportExportJobResponse(typing_extensions.TypedDict, total=False): +class RunReportExportJobResponse(typing.TypedDict, total=False): reportExportExecution: ReportExportExecution @typing.type_check_only -class RunningProcess(typing_extensions.TypedDict, total=False): +class RunningProcess(typing.TypedDict, total=False): attributes: dict[str, typing.Any] cmdline: str exePath: str @@ -1792,12 +1770,12 @@ class RunningProcess(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class RunningProcessList(typing_extensions.TypedDict, total=False): +class RunningProcessList(typing.TypedDict, total=False): entries: _list[RunningProcess] processes: _list[RunningProcess] @typing.type_check_only -class RunningService(typing_extensions.TypedDict, total=False): +class RunningService(typing.TypedDict, total=False): cmdline: str exePath: str name: str @@ -1808,12 +1786,12 @@ class RunningService(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class RunningServiceList(typing_extensions.TypedDict, total=False): +class RunningServiceList(typing.TypedDict, total=False): entries: _list[RunningService] services: _list[RunningService] @typing.type_check_only -class RuntimeNetworkInfo(typing_extensions.TypedDict, total=False): +class RuntimeNetworkInfo(typing.TypedDict, total=False): connections: NetworkConnectionList netstat: str netstatTime: DateTime @@ -1821,42 +1799,42 @@ class RuntimeNetworkInfo(typing_extensions.TypedDict, total=False): scanTime: str @typing.type_check_only -class Selinux(typing_extensions.TypedDict, total=False): +class Selinux(typing.TypedDict, total=False): enabled: bool mode: str @typing.type_check_only -class SendDiscoveryClientHeartbeatRequest(typing_extensions.TypedDict, total=False): +class SendDiscoveryClientHeartbeatRequest(typing.TypedDict, total=False): errors: _list[Status] version: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): customerConsentForGoogleSalesToAccessMigrationCenter: bool disableCloudLogging: bool name: str preferenceSet: str @typing.type_check_only -class SignedUri(typing_extensions.TypedDict, total=False): +class SignedUri(typing.TypedDict, total=False): file: str uri: str @typing.type_check_only -class SignedUriDestination(typing_extensions.TypedDict, total=False): - fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "CSV", "XLSX"] +class SignedUriDestination(typing.TypedDict, total=False): + fileFormat: typing.Literal["FILE_FORMAT_UNSPECIFIED", "CSV", "XLSX"] @typing.type_check_only -class SignedUris(typing_extensions.TypedDict, total=False): +class SignedUris(typing.TypedDict, total=False): signedUris: _list[SignedUri] @typing.type_check_only -class SoftwareInsight(typing_extensions.TypedDict, total=False): +class SoftwareInsight(typing.TypedDict, total=False): detectedSoftware: DetectedSoftware @typing.type_check_only -class SoleTenancyPreferences(typing_extensions.TypedDict, total=False): - commitmentPlan: typing_extensions.Literal[ +class SoleTenancyPreferences(typing.TypedDict, total=False): + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "ON_DEMAND", "COMMITMENT_1_YEAR", @@ -1865,7 +1843,7 @@ class SoleTenancyPreferences(typing_extensions.TypedDict, total=False): "COMMITMENT_FLEXIBLE_3_YEAR", ] cpuOvercommitRatio: float - hostMaintenancePolicy: typing_extensions.Literal[ + hostMaintenancePolicy: typing.Literal[ "HOST_MAINTENANCE_POLICY_UNSPECIFIED", "HOST_MAINTENANCE_POLICY_DEFAULT", "HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE", @@ -1875,11 +1853,11 @@ class SoleTenancyPreferences(typing_extensions.TypedDict, total=False): osPricingPreferences: OperatingSystemPricingPreferences @typing.type_check_only -class SoleTenantNodeType(typing_extensions.TypedDict, total=False): +class SoleTenantNodeType(typing.TypedDict, total=False): nodeName: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -1888,10 +1866,8 @@ class Source(typing_extensions.TypedDict, total=False): name: str pendingFrameCount: int priority: int - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "DELETING", "INVALID" - ] - type: typing_extensions.Literal[ + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETING", "INVALID"] + type: typing.Literal[ "SOURCE_TYPE_UNKNOWN", "SOURCE_TYPE_UPLOAD", "SOURCE_TYPE_GUEST_OS_SCAN", @@ -1902,79 +1878,79 @@ class Source(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SqlServerDatabaseDeployment(typing_extensions.TypedDict, total=False): +class SqlServerDatabaseDeployment(typing.TypedDict, total=False): features: _list[SqlServerFeature] serverFlags: _list[SqlServerServerFlag] traceFlags: _list[SqlServerTraceFlag] @typing.type_check_only -class SqlServerFeature(typing_extensions.TypedDict, total=False): +class SqlServerFeature(typing.TypedDict, total=False): enabled: bool featureName: str @typing.type_check_only -class SqlServerSchemaDetails(typing_extensions.TypedDict, total=False): +class SqlServerSchemaDetails(typing.TypedDict, total=False): clrObjectCount: int @typing.type_check_only -class SqlServerServerFlag(typing_extensions.TypedDict, total=False): +class SqlServerServerFlag(typing.TypedDict, total=False): serverFlagName: str value: str valueInUse: str @typing.type_check_only -class SqlServerTraceFlag(typing_extensions.TypedDict, total=False): - scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "OFF", "GLOBAL", "SESSION"] +class SqlServerTraceFlag(typing.TypedDict, total=False): + scope: typing.Literal["SCOPE_UNSPECIFIED", "OFF", "GLOBAL", "SESSION"] traceFlagName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class UpdateAssetRequest(typing_extensions.TypedDict, total=False): +class UpdateAssetRequest(typing.TypedDict, total=False): asset: Asset requestId: str updateMask: str @typing.type_check_only -class UploadFileInfo(typing_extensions.TypedDict, total=False): +class UploadFileInfo(typing.TypedDict, total=False): headers: dict[str, typing.Any] signedUri: str uriExpirationTime: str @typing.type_check_only -class VMwareEngineMachinePreferences(typing_extensions.TypedDict, total=False): +class VMwareEngineMachinePreferences(typing.TypedDict, total=False): allowedMachineSeries: _list[MachineSeries] - protectedNodes: typing_extensions.Literal[ + protectedNodes: typing.Literal[ "PROTECTED_NODES_UNSPECIFIED", "PROTECTED_NODES_ENABLED", "PROTECTED_NODES_DISABLED", ] - storageOnlyNodes: typing_extensions.Literal[ + storageOnlyNodes: typing.Literal[ "STORAGE_ONLY_NODES_UNSPECIFIED", "STORAGE_ONLY_NODES_ENABLED", "STORAGE_ONLY_NODES_DISABLED", ] @typing.type_check_only -class ValidateImportJobRequest(typing_extensions.TypedDict, total=False): +class ValidateImportJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class ValidationReport(typing_extensions.TypedDict, total=False): +class ValidationReport(typing.TypedDict, total=False): fileValidations: _list[FileValidationReport] jobErrors: _list[ImportError] @typing.type_check_only -class VirtualMachineArchitectureDetails(typing_extensions.TypedDict, total=False): +class VirtualMachineArchitectureDetails(typing.TypedDict, total=False): bios: BiosDetails cpuArchitecture: str cpuManufacturer: str @@ -1982,7 +1958,7 @@ class VirtualMachineArchitectureDetails(typing_extensions.TypedDict, total=False cpuSocketCount: int cpuThreadCount: int firmware: str - hyperthreading: typing_extensions.Literal[ + hyperthreading: typing.Literal[ "HYPER_THREADING_UNSPECIFIED", "HYPER_THREADING_DISABLED", "HYPER_THREADING_ENABLED", @@ -1990,13 +1966,13 @@ class VirtualMachineArchitectureDetails(typing_extensions.TypedDict, total=False vendor: str @typing.type_check_only -class VirtualMachineDetails(typing_extensions.TypedDict, total=False): +class VirtualMachineDetails(typing.TypedDict, total=False): coreCount: int createTime: str diskPartitions: DiskPartitionDetails guestOs: GuestOsDetails memoryMb: int - osFamily: typing_extensions.Literal[ + osFamily: typing.Literal[ "OS_FAMILY_UNKNOWN", "OS_FAMILY_WINDOWS", "OS_FAMILY_LINUX", "OS_FAMILY_UNIX" ] osName: str @@ -2013,14 +1989,14 @@ class VirtualMachineDetails(typing_extensions.TypedDict, total=False): vmUuid: str @typing.type_check_only -class VirtualMachineDiskDetails(typing_extensions.TypedDict, total=False): +class VirtualMachineDiskDetails(typing.TypedDict, total=False): disks: DiskEntryList hddTotalCapacityBytes: str hddTotalFreeBytes: str lsblkJson: str @typing.type_check_only -class VirtualMachineNetworkDetails(typing_extensions.TypedDict, total=False): +class VirtualMachineNetworkDetails(typing.TypedDict, total=False): defaultGw: str networkAdapters: NetworkAdapterList primaryIpAddress: str @@ -2028,8 +2004,8 @@ class VirtualMachineNetworkDetails(typing_extensions.TypedDict, total=False): publicIpAddress: str @typing.type_check_only -class VirtualMachinePreferences(typing_extensions.TypedDict, total=False): - commitmentPlan: typing_extensions.Literal[ +class VirtualMachinePreferences(typing.TypedDict, total=False): + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "COMMITMENT_PLAN_NONE", "COMMITMENT_PLAN_ONE_YEAR", @@ -2044,7 +2020,7 @@ class VirtualMachinePreferences(typing_extensions.TypedDict, total=False): sizingOptimizationCustomParameters: ( VirtualMachinePreferencesSizingOptimizationCustomParameters ) - sizingOptimizationStrategy: typing_extensions.Literal[ + sizingOptimizationStrategy: typing.Literal[ "SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED", "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE", "SIZING_OPTIMIZATION_STRATEGY_MODERATE", @@ -2052,7 +2028,7 @@ class VirtualMachinePreferences(typing_extensions.TypedDict, total=False): "SIZING_OPTIMIZATION_STRATEGY_CUSTOM", ] soleTenancyPreferences: SoleTenancyPreferences - targetProduct: typing_extensions.Literal[ + targetProduct: typing.Literal[ "COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED", "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE", "COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE", @@ -2061,16 +2037,14 @@ class VirtualMachinePreferences(typing_extensions.TypedDict, total=False): vmwareEnginePreferences: VmwareEnginePreferences @typing.type_check_only -class VirtualMachinePreferencesNetworkCostParameters( - typing_extensions.TypedDict, total=False -): +class VirtualMachinePreferencesNetworkCostParameters(typing.TypedDict, total=False): estimatedEgressTrafficPercentage: int @typing.type_check_only class VirtualMachinePreferencesSizingOptimizationCustomParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregationMethod: typing_extensions.Literal[ + aggregationMethod: typing.Literal[ "AGGREGATION_METHOD_UNSPECIFIED", "AGGREGATION_METHOD_AVERAGE", "AGGREGATION_METHOD_MEDIAN", @@ -2082,11 +2056,11 @@ class VirtualMachinePreferencesSizingOptimizationCustomParameters( storageMultiplier: float @typing.type_check_only -class VmwareEngineMigrationTarget(typing_extensions.TypedDict, total=False): ... +class VmwareEngineMigrationTarget(typing.TypedDict, total=False): ... @typing.type_check_only -class VmwareEnginePreferences(typing_extensions.TypedDict, total=False): - commitmentPlan: typing_extensions.Literal[ +class VmwareEnginePreferences(typing.TypedDict, total=False): + commitmentPlan: typing.Literal[ "COMMITMENT_PLAN_UNSPECIFIED", "ON_DEMAND", "COMMITMENT_1_YEAR_MONTHLY_PAYMENTS", @@ -2100,7 +2074,7 @@ class VmwareEnginePreferences(typing_extensions.TypedDict, total=False): licenseDiscountPercentage: float machinePreferences: VMwareEngineMachinePreferences memoryOvercommitRatio: float - serviceType: typing_extensions.Literal[ + serviceType: typing.Literal[ "SERVICE_TYPE_UNSPECIFIED", "SERVICE_TYPE_FULLY_LICENSED", "SERVICE_TYPE_PORTABLE_LICENSE", @@ -2108,8 +2082,8 @@ class VmwareEnginePreferences(typing_extensions.TypedDict, total=False): storageDeduplicationCompressionRatio: float @typing.type_check_only -class VmwarePlatformDetails(typing_extensions.TypedDict, total=False): - esxHyperthreading: typing_extensions.Literal[ +class VmwarePlatformDetails(typing.TypedDict, total=False): + esxHyperthreading: typing.Literal[ "HYPERTHREADING_STATUS_UNSPECIFIED", "HYPERTHREADING_STATUS_DISABLED", "HYPERTHREADING_STATUS_ENABLED", @@ -2122,5 +2096,5 @@ class VmwarePlatformDetails(typing_extensions.TypedDict, total=False): vcenterVmId: str @typing.type_check_only -class XlsxOutputFile(typing_extensions.TypedDict, total=False): +class XlsxOutputFile(typing.TypedDict, total=False): signedUri: SignedUri diff --git a/googleapiclient-stubs/_apis/ml/v1/resources.pyi b/googleapiclient-stubs/_apis/ml/v1/resources.pyi index 852c507e9..fa54b822f 100644 --- a/googleapiclient-stubs/_apis/ml/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ml/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/ml/v1/schemas.pyi b/googleapiclient-stubs/_apis/ml/v1/schemas.pyi index 8d9b4766a..df2e20d37 100644 --- a/googleapiclient-stubs/_apis/ml/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ml/v1/schemas.pyi @@ -1,92 +1,88 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleApi__HttpBody(typing_extensions.TypedDict, total=False): +class GoogleApi__HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useElapsedTime: bool @typing.type_check_only class GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useElapsedTime: bool @typing.type_check_only class GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): objectiveValue: float trainingStep: str @typing.type_check_only -class GoogleCloudMlV1_Measurement_Metric(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1_Measurement_Metric(typing.TypedDict, total=False): metric: str value: float @typing.type_check_only class GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[float] @typing.type_check_only class GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxValue: float minValue: float @typing.type_check_only class GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxValue: str minValue: str @typing.type_check_only class GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only class GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[float] @typing.type_check_only class GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): values: _list[str] @typing.type_check_only -class GoogleCloudMlV1_StudyConfig_MetricSpec(typing_extensions.TypedDict, total=False): - goal: typing_extensions.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] +class GoogleCloudMlV1_StudyConfig_MetricSpec(typing.TypedDict, total=False): + goal: typing.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] metric: str @typing.type_check_only -class GoogleCloudMlV1_StudyConfig_ParameterSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMlV1_StudyConfig_ParameterSpec(typing.TypedDict, total=False): categoricalValueSpec: GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec childParameterSpecs: _list[GoogleCloudMlV1_StudyConfig_ParameterSpec] discreteValueSpec: GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec @@ -100,27 +96,27 @@ class GoogleCloudMlV1_StudyConfig_ParameterSpec( GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec ) parentIntValues: GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec - scaleType: typing_extensions.Literal[ + scaleType: typing.Literal[ "SCALE_TYPE_UNSPECIFIED", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", "UNIT_REVERSE_LOG_SCALE", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "PARAMETER_TYPE_UNSPECIFIED", "DOUBLE", "INTEGER", "CATEGORICAL", "DISCRETE" ] @typing.type_check_only -class GoogleCloudMlV1_Trial_Parameter(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1_Trial_Parameter(typing.TypedDict, total=False): floatValue: float intValue: str parameter: str stringValue: str @typing.type_check_only -class GoogleCloudMlV1__AcceleratorConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__AcceleratorConfig(typing.TypedDict, total=False): count: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -136,21 +132,17 @@ class GoogleCloudMlV1__AcceleratorConfig(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class GoogleCloudMlV1__AddTrialMeasurementRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMlV1__AddTrialMeasurementRequest(typing.TypedDict, total=False): measurement: GoogleCloudMlV1__Measurement @typing.type_check_only -class GoogleCloudMlV1__AutoScaling(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__AutoScaling(typing.TypedDict, total=False): maxNodes: int metrics: _list[GoogleCloudMlV1__MetricSpec] minNodes: int @typing.type_check_only -class GoogleCloudMlV1__AutomatedStoppingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMlV1__AutomatedStoppingConfig(typing.TypedDict, total=False): decayCurveStoppingConfig: ( GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig ) @@ -159,19 +151,19 @@ class GoogleCloudMlV1__AutomatedStoppingConfig( ) @typing.type_check_only -class GoogleCloudMlV1__BuiltInAlgorithmOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__BuiltInAlgorithmOutput(typing.TypedDict, total=False): framework: str modelPath: str pythonVersion: str runtimeVersion: str @typing.type_check_only -class GoogleCloudMlV1__CancelJobRequest(typing_extensions.TypedDict, total=False): ... +class GoogleCloudMlV1__CancelJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudMlV1__Capability(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Capability(typing.TypedDict, total=False): availableAccelerators: _list[ - typing_extensions.Literal[ + typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -186,13 +178,13 @@ class GoogleCloudMlV1__Capability(typing_extensions.TypedDict, total=False): "TPU_V4_POD", ] ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TRAINING", "BATCH_PREDICTION", "ONLINE_PREDICTION" ] @typing.type_check_only class GoogleCloudMlV1__CheckTrialEarlyStoppingStateMetatdata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str study: str @@ -200,33 +192,33 @@ class GoogleCloudMlV1__CheckTrialEarlyStoppingStateMetatdata( @typing.type_check_only class GoogleCloudMlV1__CheckTrialEarlyStoppingStateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudMlV1__CheckTrialEarlyStoppingStateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str shouldStop: bool startTime: str @typing.type_check_only -class GoogleCloudMlV1__CompleteTrialRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__CompleteTrialRequest(typing.TypedDict, total=False): finalMeasurement: GoogleCloudMlV1__Measurement infeasibleReason: str trialInfeasible: bool @typing.type_check_only -class GoogleCloudMlV1__Config(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Config(typing.TypedDict, total=False): tpuServiceAccount: str @typing.type_check_only -class GoogleCloudMlV1__ContainerPort(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ContainerPort(typing.TypedDict, total=False): containerPort: int @typing.type_check_only -class GoogleCloudMlV1__ContainerSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ContainerSpec(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: _list[GoogleCloudMlV1__EnvVar] @@ -234,37 +226,37 @@ class GoogleCloudMlV1__ContainerSpec(typing_extensions.TypedDict, total=False): ports: _list[GoogleCloudMlV1__ContainerPort] @typing.type_check_only -class GoogleCloudMlV1__DiskConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__DiskConfig(typing.TypedDict, total=False): bootDiskSizeGb: int bootDiskType: str @typing.type_check_only -class GoogleCloudMlV1__EncryptionConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class GoogleCloudMlV1__EnvVar(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__EnvVar(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudMlV1__ExplainRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ExplainRequest(typing.TypedDict, total=False): httpBody: GoogleApi__HttpBody @typing.type_check_only -class GoogleCloudMlV1__ExplanationConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ExplanationConfig(typing.TypedDict, total=False): integratedGradientsAttribution: GoogleCloudMlV1__IntegratedGradientsAttribution sampledShapleyAttribution: GoogleCloudMlV1__SampledShapleyAttribution xraiAttribution: GoogleCloudMlV1__XraiAttribution @typing.type_check_only -class GoogleCloudMlV1__GetConfigResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__GetConfigResponse(typing.TypedDict, total=False): config: GoogleCloudMlV1__Config serviceAccount: str serviceAccountProject: str @typing.type_check_only -class GoogleCloudMlV1__HyperparameterOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__HyperparameterOutput(typing.TypedDict, total=False): allMetrics: _list[GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] builtInAlgorithmOutput: GoogleCloudMlV1__BuiltInAlgorithmOutput endTime: str @@ -272,7 +264,7 @@ class GoogleCloudMlV1__HyperparameterOutput(typing_extensions.TypedDict, total=F hyperparameters: dict[str, typing.Any] isTrialStoppedEarly: bool startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "PREPARING", @@ -286,12 +278,10 @@ class GoogleCloudMlV1__HyperparameterOutput(typing_extensions.TypedDict, total=F webAccessUris: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMlV1__HyperparameterSpec(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ - "ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH" - ] +class GoogleCloudMlV1__HyperparameterSpec(typing.TypedDict, total=False): + algorithm: typing.Literal["ALGORITHM_UNSPECIFIED", "GRID_SEARCH", "RANDOM_SEARCH"] enableTrialEarlyStopping: bool - goal: typing_extensions.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] + goal: typing.Literal["GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE"] hyperparameterMetricTag: str maxFailedTrials: int maxParallelTrials: int @@ -300,13 +290,11 @@ class GoogleCloudMlV1__HyperparameterSpec(typing_extensions.TypedDict, total=Fal resumePreviousJobId: str @typing.type_check_only -class GoogleCloudMlV1__IntegratedGradientsAttribution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMlV1__IntegratedGradientsAttribution(typing.TypedDict, total=False): numIntegralSteps: int @typing.type_check_only -class GoogleCloudMlV1__Job(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Job(typing.TypedDict, total=False): createTime: str endTime: str errorMessage: str @@ -317,7 +305,7 @@ class GoogleCloudMlV1__Job(typing_extensions.TypedDict, total=False): predictionInput: GoogleCloudMlV1__PredictionInput predictionOutput: GoogleCloudMlV1__PredictionOutput startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "PREPARING", @@ -331,68 +319,62 @@ class GoogleCloudMlV1__Job(typing_extensions.TypedDict, total=False): trainingOutput: GoogleCloudMlV1__TrainingOutput @typing.type_check_only -class GoogleCloudMlV1__ListJobsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ListJobsResponse(typing.TypedDict, total=False): jobs: _list[GoogleCloudMlV1__Job] nextPageToken: str @typing.type_check_only -class GoogleCloudMlV1__ListLocationsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudMlV1__Location] nextPageToken: str @typing.type_check_only -class GoogleCloudMlV1__ListModelsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ListModelsResponse(typing.TypedDict, total=False): models: _list[GoogleCloudMlV1__Model] nextPageToken: str @typing.type_check_only -class GoogleCloudMlV1__ListOptimalTrialsRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudMlV1__ListOptimalTrialsRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudMlV1__ListOptimalTrialsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMlV1__ListOptimalTrialsResponse(typing.TypedDict, total=False): trials: _list[GoogleCloudMlV1__Trial] @typing.type_check_only -class GoogleCloudMlV1__ListStudiesResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ListStudiesResponse(typing.TypedDict, total=False): studies: _list[GoogleCloudMlV1__Study] @typing.type_check_only -class GoogleCloudMlV1__ListTrialsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ListTrialsResponse(typing.TypedDict, total=False): trials: _list[GoogleCloudMlV1__Trial] @typing.type_check_only -class GoogleCloudMlV1__ListVersionsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[GoogleCloudMlV1__Version] @typing.type_check_only -class GoogleCloudMlV1__Location(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Location(typing.TypedDict, total=False): capabilities: _list[GoogleCloudMlV1__Capability] name: str @typing.type_check_only -class GoogleCloudMlV1__ManualScaling(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ManualScaling(typing.TypedDict, total=False): nodes: int @typing.type_check_only -class GoogleCloudMlV1__Measurement(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Measurement(typing.TypedDict, total=False): elapsedTime: str metrics: _list[GoogleCloudMlV1_Measurement_Metric] stepCount: str @typing.type_check_only -class GoogleCloudMlV1__MetricSpec(typing_extensions.TypedDict, total=False): - name: typing_extensions.Literal[ - "METRIC_NAME_UNSPECIFIED", "CPU_USAGE", "GPU_DUTY_CYCLE" - ] +class GoogleCloudMlV1__MetricSpec(typing.TypedDict, total=False): + name: typing.Literal["METRIC_NAME_UNSPECIFIED", "CPU_USAGE", "GPU_DUTY_CYCLE"] target: int @typing.type_check_only -class GoogleCloudMlV1__Model(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Model(typing.TypedDict, total=False): defaultVersion: GoogleCloudMlV1__Version description: str etag: str @@ -403,13 +385,13 @@ class GoogleCloudMlV1__Model(typing_extensions.TypedDict, total=False): regions: _list[str] @typing.type_check_only -class GoogleCloudMlV1__OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str isCancellationRequested: bool labels: dict[str, typing.Any] modelName: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "CREATE_VERSION", "DELETE_VERSION", @@ -423,33 +405,33 @@ class GoogleCloudMlV1__OperationMetadata(typing_extensions.TypedDict, total=Fals version: GoogleCloudMlV1__Version @typing.type_check_only -class GoogleCloudMlV1__ParameterSpec(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ParameterSpec(typing.TypedDict, total=False): categoricalValues: _list[str] discreteValues: _list[float] maxValue: float minValue: float parameterName: str - scaleType: typing_extensions.Literal[ + scaleType: typing.Literal[ "NONE", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", "UNIT_REVERSE_LOG_SCALE" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "PARAMETER_TYPE_UNSPECIFIED", "DOUBLE", "INTEGER", "CATEGORICAL", "DISCRETE" ] @typing.type_check_only -class GoogleCloudMlV1__PredictRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__PredictRequest(typing.TypedDict, total=False): httpBody: GoogleApi__HttpBody @typing.type_check_only -class GoogleCloudMlV1__PredictionInput(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__PredictionInput(typing.TypedDict, total=False): batchSize: str - dataFormat: typing_extensions.Literal[ + dataFormat: typing.Literal[ "DATA_FORMAT_UNSPECIFIED", "JSON", "TEXT", "TF_RECORD", "TF_RECORD_GZIP", "CSV" ] inputPaths: _list[str] maxWorkerCount: str modelName: str - outputDataFormat: typing_extensions.Literal[ + outputDataFormat: typing.Literal[ "DATA_FORMAT_UNSPECIFIED", "JSON", "TEXT", "TF_RECORD", "TF_RECORD_GZIP", "CSV" ] outputPath: str @@ -460,14 +442,14 @@ class GoogleCloudMlV1__PredictionInput(typing_extensions.TypedDict, total=False) versionName: str @typing.type_check_only -class GoogleCloudMlV1__PredictionOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__PredictionOutput(typing.TypedDict, total=False): errorCount: str nodeHours: float outputPath: str predictionCount: str @typing.type_check_only -class GoogleCloudMlV1__ReplicaConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__ReplicaConfig(typing.TypedDict, total=False): acceleratorConfig: GoogleCloudMlV1__AcceleratorConfig containerArgs: _list[str] containerCommand: _list[str] @@ -476,48 +458,42 @@ class GoogleCloudMlV1__ReplicaConfig(typing_extensions.TypedDict, total=False): tpuTfVersion: str @typing.type_check_only -class GoogleCloudMlV1__RequestLoggingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__RequestLoggingConfig(typing.TypedDict, total=False): bigqueryTableName: str samplingPercentage: float @typing.type_check_only -class GoogleCloudMlV1__RouteMap(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__RouteMap(typing.TypedDict, total=False): health: str predict: str @typing.type_check_only -class GoogleCloudMlV1__SampledShapleyAttribution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudMlV1__SampledShapleyAttribution(typing.TypedDict, total=False): numPaths: int @typing.type_check_only -class GoogleCloudMlV1__Scheduling(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Scheduling(typing.TypedDict, total=False): maxRunningTime: str maxWaitTime: str priority: int @typing.type_check_only -class GoogleCloudMlV1__SetDefaultVersionRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudMlV1__SetDefaultVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudMlV1__StopTrialRequest(typing_extensions.TypedDict, total=False): ... +class GoogleCloudMlV1__StopTrialRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudMlV1__Study(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Study(typing.TypedDict, total=False): createTime: str inactiveReason: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED"] studyConfig: GoogleCloudMlV1__StudyConfig @typing.type_check_only -class GoogleCloudMlV1__StudyConfig(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class GoogleCloudMlV1__StudyConfig(typing.TypedDict, total=False): + algorithm: typing.Literal[ "ALGORITHM_UNSPECIFIED", "GAUSSIAN_PROCESS_BANDIT", "GRID_SEARCH", @@ -528,28 +504,26 @@ class GoogleCloudMlV1__StudyConfig(typing_extensions.TypedDict, total=False): parameters: _list[GoogleCloudMlV1_StudyConfig_ParameterSpec] @typing.type_check_only -class GoogleCloudMlV1__SuggestTrialsMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__SuggestTrialsMetadata(typing.TypedDict, total=False): clientId: str createTime: str study: str suggestionCount: int @typing.type_check_only -class GoogleCloudMlV1__SuggestTrialsRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__SuggestTrialsRequest(typing.TypedDict, total=False): clientId: str suggestionCount: int @typing.type_check_only -class GoogleCloudMlV1__SuggestTrialsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__SuggestTrialsResponse(typing.TypedDict, total=False): endTime: str startTime: str - studyState: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED" - ] + studyState: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "COMPLETED"] trials: _list[GoogleCloudMlV1__Trial] @typing.type_check_only -class GoogleCloudMlV1__TrainingInput(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__TrainingInput(typing.TypedDict, total=False): args: _list[str] enableWebAccess: bool encryptionConfig: GoogleCloudMlV1__EncryptionConfig @@ -569,7 +543,7 @@ class GoogleCloudMlV1__TrainingInput(typing_extensions.TypedDict, total=False): pythonVersion: str region: str runtimeVersion: str - scaleTier: typing_extensions.Literal[ + scaleTier: typing.Literal[ "BASIC", "STANDARD_1", "PREMIUM_1", "BASIC_GPU", "BASIC_TPU", "CUSTOM" ] scheduling: GoogleCloudMlV1__Scheduling @@ -580,7 +554,7 @@ class GoogleCloudMlV1__TrainingInput(typing_extensions.TypedDict, total=False): workerType: str @typing.type_check_only -class GoogleCloudMlV1__TrainingOutput(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__TrainingOutput(typing.TypedDict, total=False): builtInAlgorithmOutput: GoogleCloudMlV1__BuiltInAlgorithmOutput completedTrialCount: str consumedMLUnits: float @@ -591,7 +565,7 @@ class GoogleCloudMlV1__TrainingOutput(typing_extensions.TypedDict, total=False): webAccessUris: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudMlV1__Trial(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Trial(typing.TypedDict, total=False): clientId: str endTime: str finalMeasurement: GoogleCloudMlV1__Measurement @@ -600,13 +574,13 @@ class GoogleCloudMlV1__Trial(typing_extensions.TypedDict, total=False): name: str parameters: _list[GoogleCloudMlV1_Trial_Parameter] startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "REQUESTED", "ACTIVE", "COMPLETED", "STOPPING" ] trialInfeasible: bool @typing.type_check_only -class GoogleCloudMlV1__Version(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__Version(typing.TypedDict, total=False): acceleratorConfig: GoogleCloudMlV1__AcceleratorConfig autoScaling: GoogleCloudMlV1__AutoScaling container: GoogleCloudMlV1__ContainerSpec @@ -616,7 +590,7 @@ class GoogleCloudMlV1__Version(typing_extensions.TypedDict, total=False): errorMessage: str etag: str explanationConfig: GoogleCloudMlV1__ExplanationConfig - framework: typing_extensions.Literal[ + framework: typing.Literal[ "FRAMEWORK_UNSPECIFIED", "TENSORFLOW", "SCIKIT_LEARN", "XGBOOST" ] isDefault: bool @@ -634,62 +608,60 @@ class GoogleCloudMlV1__Version(typing_extensions.TypedDict, total=False): routes: GoogleCloudMlV1__RouteMap runtimeVersion: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "UNKNOWN", "READY", "CREATING", "FAILED", "DELETING", "UPDATING" ] @typing.type_check_only -class GoogleCloudMlV1__XraiAttribution(typing_extensions.TypedDict, total=False): +class GoogleCloudMlV1__XraiAttribution(typing.TypedDict, total=False): numIntegralSteps: int @typing.type_check_only -class GoogleIamV1__AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1__AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1__AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1__AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1__AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1__Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1__Binding(typing.TypedDict, total=False): condition: GoogleType__Expr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1__Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1__Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1__AuditConfig] bindings: _list[GoogleIamV1__Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1__SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1__SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1__Policy updateMask: str @typing.type_check_only -class GoogleIamV1__TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1__TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1__TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1__TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunning__ListOperationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleLongrunning__ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunning__Operation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunning__Operation(typing_extensions.TypedDict, total=False): +class GoogleLongrunning__Operation(typing.TypedDict, total=False): done: bool error: GoogleRpc__Status metadata: dict[str, typing.Any] @@ -697,16 +669,16 @@ class GoogleLongrunning__Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobuf__Empty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobuf__Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpc__Status(typing_extensions.TypedDict, total=False): +class GoogleRpc__Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleType__Expr(typing_extensions.TypedDict, total=False): +class GoogleType__Expr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/monitoring/v1/resources.pyi b/googleapiclient-stubs/_apis/monitoring/v1/resources.pyi index ead4bdb0b..d68f42f48 100644 --- a/googleapiclient-stubs/_apis/monitoring/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi index 4c8c2653a..c6fd35f4e 100644 --- a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): alignmentPeriod: str - crossSeriesReducer: typing_extensions.Literal[ + crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -24,7 +22,7 @@ class Aggregation(typing_extensions.TypedDict, total=False): "REDUCE_PERCENTILE_05", ] groupByFields: _list[str] - perSeriesAligner: typing_extensions.Literal[ + perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -47,25 +45,25 @@ class Aggregation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AggregationFunction(typing_extensions.TypedDict, total=False): +class AggregationFunction(typing.TypedDict, total=False): parameters: _list[Parameter] type: str @typing.type_check_only -class AlertChart(typing_extensions.TypedDict, total=False): +class AlertChart(typing.TypedDict, total=False): name: str @typing.type_check_only -class Axis(typing_extensions.TypedDict, total=False): +class Axis(typing.TypedDict, total=False): label: str - scale: typing_extensions.Literal["SCALE_UNSPECIFIED", "LINEAR", "LOG10"] + scale: typing.Literal["SCALE_UNSPECIFIED", "LINEAR", "LOG10"] @typing.type_check_only -class Breakdown(typing_extensions.TypedDict, total=False): +class Breakdown(typing.TypedDict, total=False): aggregationFunction: AggregationFunction column: str limit: int - sortOrder: typing_extensions.Literal[ + sortOrder: typing.Literal[ "SORT_ORDER_UNSPECIFIED", "SORT_ORDER_NONE", "SORT_ORDER_ASCENDING", @@ -73,37 +71,35 @@ class Breakdown(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ChartOptions(typing_extensions.TypedDict, total=False): +class ChartOptions(typing.TypedDict, total=False): displayHorizontal: bool - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "COLOR", "X_RAY", "STATS"] + mode: typing.Literal["MODE_UNSPECIFIED", "COLOR", "X_RAY", "STATS"] @typing.type_check_only -class CollapsibleGroup(typing_extensions.TypedDict, total=False): +class CollapsibleGroup(typing.TypedDict, total=False): collapsed: bool @typing.type_check_only -class Column(typing_extensions.TypedDict, total=False): +class Column(typing.TypedDict, total=False): weight: str widgets: _list[Widget] @typing.type_check_only -class ColumnLayout(typing_extensions.TypedDict, total=False): +class ColumnLayout(typing.TypedDict, total=False): columns: _list[Column] @typing.type_check_only -class ColumnSettings(typing_extensions.TypedDict, total=False): - alignment: typing_extensions.Literal[ - "CELL_ALIGNMENT_UNSPECIFIED", "LEFT", "CENTER", "RIGHT" - ] +class ColumnSettings(typing.TypedDict, total=False): + alignment: typing.Literal["CELL_ALIGNMENT_UNSPECIFIED", "LEFT", "CENTER", "RIGHT"] column: str displayName: str thresholds: _list[Threshold] visible: bool @typing.type_check_only -class ColumnSortingOptions(typing_extensions.TypedDict, total=False): +class ColumnSortingOptions(typing.TypedDict, total=False): column: str - direction: typing_extensions.Literal[ + direction: typing.Literal[ "SORT_ORDER_UNSPECIFIED", "SORT_ORDER_NONE", "SORT_ORDER_ASCENDING", @@ -111,7 +107,7 @@ class ColumnSortingOptions(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Dashboard(typing_extensions.TypedDict, total=False): +class Dashboard(typing.TypedDict, total=False): annotations: DashboardAnnotations columnLayout: ColumnLayout dashboardFilters: _list[DashboardFilter] @@ -124,13 +120,13 @@ class Dashboard(typing_extensions.TypedDict, total=False): rowLayout: RowLayout @typing.type_check_only -class DashboardAnnotations(typing_extensions.TypedDict, total=False): +class DashboardAnnotations(typing.TypedDict, total=False): defaultResourceNames: _list[str] eventAnnotations: _list[EventAnnotation] @typing.type_check_only -class DashboardFilter(typing_extensions.TypedDict, total=False): - filterType: typing_extensions.Literal[ +class DashboardFilter(typing.TypedDict, total=False): + filterType: typing.Literal[ "FILTER_TYPE_UNSPECIFIED", "RESOURCE_LABEL", "METRIC_LABEL", @@ -145,33 +141,31 @@ class DashboardFilter(typing_extensions.TypedDict, total=False): stringValue: str templateVariable: str timeSeriesQuery: TimeSeriesQuery - valueType: typing_extensions.Literal[ - "VALUE_TYPE_UNSPECIFIED", "STRING", "STRING_ARRAY" - ] + valueType: typing.Literal["VALUE_TYPE_UNSPECIFIED", "STRING", "STRING_ARRAY"] @typing.type_check_only -class DataSet(typing_extensions.TypedDict, total=False): +class DataSet(typing.TypedDict, total=False): breakdowns: _list[Breakdown] dimensions: _list[Dimension] legendTemplate: str measures: _list[Measure] minAlignmentPeriod: str - plotType: typing_extensions.Literal[ + plotType: typing.Literal[ "PLOT_TYPE_UNSPECIFIED", "LINE", "STACKED_AREA", "STACKED_BAR", "HEATMAP" ] sort: _list[ColumnSortingOptions] - targetAxis: typing_extensions.Literal["TARGET_AXIS_UNSPECIFIED", "Y1", "Y2"] + targetAxis: typing.Literal["TARGET_AXIS_UNSPECIFIED", "Y1", "Y2"] timeSeriesQuery: TimeSeriesQuery @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): column: str columnType: str floatBinSize: float maxBinCount: int numericBinSize: int sortColumn: str - sortOrder: typing_extensions.Literal[ + sortOrder: typing.Literal[ "SORT_ORDER_UNSPECIFIED", "SORT_ORDER_NONE", "SORT_ORDER_ASCENDING", @@ -182,23 +176,23 @@ class Dimension(typing_extensions.TypedDict, total=False): xMin: float @typing.type_check_only -class DroppedLabels(typing_extensions.TypedDict, total=False): +class DroppedLabels(typing.TypedDict, total=False): label: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorReportingPanel(typing_extensions.TypedDict, total=False): +class ErrorReportingPanel(typing.TypedDict, total=False): projectNames: _list[str] services: _list[str] versions: _list[str] @typing.type_check_only -class EventAnnotation(typing_extensions.TypedDict, total=False): +class EventAnnotation(typing.TypedDict, total=False): displayName: str enabled: bool - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "GKE_WORKLOAD_DEPLOYMENT", "GKE_POD_CRASH", @@ -226,13 +220,15 @@ 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] @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -240,7 +236,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -269,81 +265,79 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FilterControl(typing_extensions.TypedDict, total=False): +class FilterControl(typing.TypedDict, total=False): templateVariable: str @typing.type_check_only -class GaugeView(typing_extensions.TypedDict, total=False): +class GaugeView(typing.TypedDict, total=False): lowerBound: float upperBound: float @typing.type_check_only -class GridLayout(typing_extensions.TypedDict, total=False): +class GridLayout(typing.TypedDict, total=False): columns: str widgets: _list[Widget] @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class IncidentList(typing_extensions.TypedDict, total=False): +class IncidentList(typing.TypedDict, total=False): monitoredResources: _list[MonitoredResource] policyNames: _list[str] @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ListDashboardsResponse(typing_extensions.TypedDict, total=False): +class ListDashboardsResponse(typing.TypedDict, total=False): dashboards: _list[Dashboard] nextPageToken: str @typing.type_check_only -class ListMetricsScopesByMonitoredProjectResponse( - typing_extensions.TypedDict, total=False -): +class ListMetricsScopesByMonitoredProjectResponse(typing.TypedDict, total=False): metricsScopes: _list[MetricsScope] @typing.type_check_only -class LogsPanel(typing_extensions.TypedDict, total=False): +class LogsPanel(typing.TypedDict, total=False): filter: str resourceNames: _list[str] @typing.type_check_only -class Measure(typing_extensions.TypedDict, total=False): +class Measure(typing.TypedDict, total=False): aggregationFunction: AggregationFunction column: str @typing.type_check_only -class MetricsScope(typing_extensions.TypedDict, total=False): +class MetricsScope(typing.TypedDict, total=False): createTime: str monitoredProjects: _list[MonitoredProject] name: str updateTime: str @typing.type_check_only -class MonitoredProject(typing_extensions.TypedDict, total=False): +class MonitoredProject(typing.TypedDict, total=False): createTime: str isTombstoned: bool name: str @typing.type_check_only -class MonitoredResource(typing_extensions.TypedDict, total=False): +class MonitoredResource(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class MosaicLayout(typing_extensions.TypedDict, total=False): +class MosaicLayout(typing.TypedDict, total=False): columns: int tiles: _list[Tile] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -351,33 +345,33 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class OpsAnalyticsQuery(typing_extensions.TypedDict, total=False): +class OpsAnalyticsQuery(typing.TypedDict, total=False): sql: str @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class Parameter(typing_extensions.TypedDict, total=False): +class Parameter(typing.TypedDict, total=False): doubleValue: float intValue: str @typing.type_check_only -class PickTimeSeriesFilter(typing_extensions.TypedDict, total=False): - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "TOP", "BOTTOM"] +class PickTimeSeriesFilter(typing.TypedDict, total=False): + direction: typing.Literal["DIRECTION_UNSPECIFIED", "TOP", "BOTTOM"] interval: Interval numTimeSeries: int - rankingMethod: typing_extensions.Literal[ + rankingMethod: typing.Literal[ "METHOD_UNSPECIFIED", "METHOD_MEAN", "METHOD_MAX", @@ -387,13 +381,13 @@ class PickTimeSeriesFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PieChart(typing_extensions.TypedDict, total=False): - chartType: typing_extensions.Literal["PIE_CHART_TYPE_UNSPECIFIED", "PIE", "DONUT"] +class PieChart(typing.TypedDict, total=False): + chartType: typing.Literal["PIE_CHART_TYPE_UNSPECIFIED", "PIE", "DONUT"] dataSets: _list[PieChartDataSet] showLabels: bool @typing.type_check_only -class PieChartDataSet(typing_extensions.TypedDict, total=False): +class PieChartDataSet(typing.TypedDict, total=False): dimensions: _list[Dimension] measures: _list[Measure] minAlignmentPeriod: str @@ -401,25 +395,25 @@ class PieChartDataSet(typing_extensions.TypedDict, total=False): timeSeriesQuery: TimeSeriesQuery @typing.type_check_only -class QueryExemplarsRequest(typing_extensions.TypedDict, total=False): +class QueryExemplarsRequest(typing.TypedDict, total=False): end: str query: str start: str @typing.type_check_only -class QueryInstantRequest(typing_extensions.TypedDict, total=False): +class QueryInstantRequest(typing.TypedDict, total=False): query: str time: str timeout: str @typing.type_check_only -class QueryLabelsRequest(typing_extensions.TypedDict, total=False): +class QueryLabelsRequest(typing.TypedDict, total=False): end: str match: str start: str @typing.type_check_only -class QueryRangeRequest(typing_extensions.TypedDict, total=False): +class QueryRangeRequest(typing.TypedDict, total=False): end: str query: str start: str @@ -427,26 +421,26 @@ class QueryRangeRequest(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class QuerySeriesRequest(typing_extensions.TypedDict, total=False): +class QuerySeriesRequest(typing.TypedDict, total=False): end: str start: str @typing.type_check_only -class RatioPart(typing_extensions.TypedDict, total=False): +class RatioPart(typing.TypedDict, total=False): aggregation: Aggregation filter: str @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): weight: str widgets: _list[Widget] @typing.type_check_only -class RowLayout(typing_extensions.TypedDict, total=False): +class RowLayout(typing.TypedDict, total=False): rows: _list[Row] @typing.type_check_only -class Scorecard(typing_extensions.TypedDict, total=False): +class Scorecard(typing.TypedDict, total=False): blankView: Empty breakdowns: _list[Breakdown] dimensions: _list[Dimension] @@ -457,31 +451,29 @@ class Scorecard(typing_extensions.TypedDict, total=False): timeSeriesQuery: TimeSeriesQuery @typing.type_check_only -class SectionHeader(typing_extensions.TypedDict, total=False): +class SectionHeader(typing.TypedDict, total=False): dividerBelow: bool subtitle: str @typing.type_check_only -class SingleViewGroup(typing_extensions.TypedDict, total=False): - displayType: typing_extensions.Literal[ - "DISPLAY_TYPE_UNSPECIFIED", "DROPDOWN", "TAB" - ] +class SingleViewGroup(typing.TypedDict, total=False): + displayType: typing.Literal["DISPLAY_TYPE_UNSPECIFIED", "DROPDOWN", "TAB"] @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SpanAttributeFilter(typing_extensions.TypedDict, total=False): +class SpanAttributeFilter(typing.TypedDict, total=False): key: str value: _list[str] @typing.type_check_only -class SpanContext(typing_extensions.TypedDict, total=False): +class SpanContext(typing.TypedDict, total=False): spanName: str @typing.type_check_only -class SpanFilters(typing_extensions.TypedDict, total=False): +class SpanFilters(typing.TypedDict, total=False): apphubServices: _list[str] apphubWorkloads: _list[str] applicationIds: _list[str] @@ -495,56 +487,54 @@ class SpanFilters(typing_extensions.TypedDict, total=False): status: _list[str] @typing.type_check_only -class SparkChartView(typing_extensions.TypedDict, total=False): +class SparkChartView(typing.TypedDict, total=False): minAlignmentPeriod: str - sparkChartType: typing_extensions.Literal[ + sparkChartType: typing.Literal[ "SPARK_CHART_TYPE_UNSPECIFIED", "SPARK_LINE", "SPARK_BAR" ] @typing.type_check_only -class StatisticalTimeSeriesFilter(typing_extensions.TypedDict, total=False): +class StatisticalTimeSeriesFilter(typing.TypedDict, total=False): numTimeSeries: int - rankingMethod: typing_extensions.Literal[ - "METHOD_UNSPECIFIED", "METHOD_CLUSTER_OUTLIER" - ] + rankingMethod: typing.Literal["METHOD_UNSPECIFIED", "METHOD_CLUSTER_OUTLIER"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StringArray(typing_extensions.TypedDict, total=False): +class StringArray(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class TableDataSet(typing_extensions.TypedDict, total=False): +class TableDataSet(typing.TypedDict, total=False): minAlignmentPeriod: str tableDisplayOptions: TableDisplayOptions tableTemplate: str timeSeriesQuery: TimeSeriesQuery @typing.type_check_only -class TableDisplayOptions(typing_extensions.TypedDict, total=False): +class TableDisplayOptions(typing.TypedDict, total=False): shownColumns: _list[str] @typing.type_check_only -class TemplateVariableCondition(typing_extensions.TypedDict, total=False): - comparator: typing_extensions.Literal["COMPARATOR_UNSPECIFIED", "REGEX_FULL_MATCH"] +class TemplateVariableCondition(typing.TypedDict, total=False): + comparator: typing.Literal["COMPARATOR_UNSPECIFIED", "REGEX_FULL_MATCH"] templateVariable: str templateVariableValue: str @typing.type_check_only -class Text(typing_extensions.TypedDict, total=False): +class Text(typing.TypedDict, total=False): content: str - format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "MARKDOWN", "RAW"] + format: typing.Literal["FORMAT_UNSPECIFIED", "MARKDOWN", "RAW"] style: TextStyle @typing.type_check_only -class TextStyle(typing_extensions.TypedDict, total=False): +class TextStyle(typing.TypedDict, total=False): backgroundColor: str - fontSize: typing_extensions.Literal[ + fontSize: typing.Literal[ "FONT_SIZE_UNSPECIFIED", "FS_EXTRA_SMALL", "FS_SMALL", @@ -552,10 +542,10 @@ class TextStyle(typing_extensions.TypedDict, total=False): "FS_LARGE", "FS_EXTRA_LARGE", ] - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGNMENT_UNSPECIFIED", "H_LEFT", "H_CENTER", "H_RIGHT" ] - padding: typing_extensions.Literal[ + padding: typing.Literal[ "PADDING_SIZE_UNSPECIFIED", "P_EXTRA_SMALL", "P_SMALL", @@ -563,7 +553,7 @@ class TextStyle(typing_extensions.TypedDict, total=False): "P_LARGE", "P_EXTRA_LARGE", ] - pointerLocation: typing_extensions.Literal[ + pointerLocation: typing.Literal[ "POINTER_LOCATION_UNSPECIFIED", "PL_TOP", "PL_RIGHT", @@ -579,20 +569,20 @@ class TextStyle(typing_extensions.TypedDict, total=False): "PL_LEFT_TOP", ] textColor: str - verticalAlignment: typing_extensions.Literal[ + verticalAlignment: typing.Literal[ "VERTICAL_ALIGNMENT_UNSPECIFIED", "V_TOP", "V_CENTER", "V_BOTTOM" ] @typing.type_check_only -class Threshold(typing_extensions.TypedDict, total=False): - color: typing_extensions.Literal["COLOR_UNSPECIFIED", "YELLOW", "RED"] - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "ABOVE", "BELOW"] +class Threshold(typing.TypedDict, total=False): + color: typing.Literal["COLOR_UNSPECIFIED", "YELLOW", "RED"] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "ABOVE", "BELOW"] label: str - targetAxis: typing_extensions.Literal["TARGET_AXIS_UNSPECIFIED", "Y1", "Y2"] + targetAxis: typing.Literal["TARGET_AXIS_UNSPECIFIED", "Y1", "Y2"] value: float @typing.type_check_only -class Tile(typing_extensions.TypedDict, total=False): +class Tile(typing.TypedDict, total=False): height: int widget: Widget width: int @@ -600,7 +590,7 @@ class Tile(typing_extensions.TypedDict, total=False): yPos: int @typing.type_check_only -class TimeSeriesFilter(typing_extensions.TypedDict, total=False): +class TimeSeriesFilter(typing.TypedDict, total=False): aggregation: Aggregation filter: str pickTimeSeriesFilter: PickTimeSeriesFilter @@ -608,7 +598,7 @@ class TimeSeriesFilter(typing_extensions.TypedDict, total=False): statisticalTimeSeriesFilter: StatisticalTimeSeriesFilter @typing.type_check_only -class TimeSeriesFilterRatio(typing_extensions.TypedDict, total=False): +class TimeSeriesFilterRatio(typing.TypedDict, total=False): denominator: RatioPart numerator: RatioPart pickTimeSeriesFilter: PickTimeSeriesFilter @@ -616,7 +606,7 @@ class TimeSeriesFilterRatio(typing_extensions.TypedDict, total=False): statisticalTimeSeriesFilter: StatisticalTimeSeriesFilter @typing.type_check_only -class TimeSeriesQuery(typing_extensions.TypedDict, total=False): +class TimeSeriesQuery(typing.TypedDict, total=False): opsAnalyticsQuery: OpsAnalyticsQuery outputFullDuration: bool prometheusQuery: str @@ -627,17 +617,17 @@ class TimeSeriesQuery(typing_extensions.TypedDict, total=False): unitOverride: str @typing.type_check_only -class TimeSeriesTable(typing_extensions.TypedDict, total=False): +class TimeSeriesTable(typing.TypedDict, total=False): columnSettings: _list[ColumnSettings] dataSets: _list[TableDataSet] - metricVisualization: typing_extensions.Literal[ + metricVisualization: typing.Literal[ "METRIC_VISUALIZATION_UNSPECIFIED", "NUMBER", "BAR" ] @typing.type_check_only -class TraceQuery(typing_extensions.TypedDict, total=False): +class TraceQuery(typing.TypedDict, total=False): resourceContainer: str - spanDataValue: typing_extensions.Literal[ + spanDataValue: typing.Literal[ "SPAN_DATA_VALUE_UNSPECIFIED", "SPAN_COUNT", "SPAN_DURATION", @@ -646,34 +636,32 @@ class TraceQuery(typing_extensions.TypedDict, total=False): spanFilters: SpanFilters @typing.type_check_only -class Treemap(typing_extensions.TypedDict, total=False): +class Treemap(typing.TypedDict, total=False): dataSets: _list[TreemapDataSet] treemapHierarchy: _list[str] @typing.type_check_only -class TreemapDataSet(typing_extensions.TypedDict, total=False): +class TreemapDataSet(typing.TypedDict, total=False): breakdowns: _list[Breakdown] measures: _list[Measure] timeSeriesQuery: TimeSeriesQuery @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class VisibilityCondition(typing_extensions.TypedDict, total=False): +class VisibilityCondition(typing.TypedDict, total=False): templateVariableCondition: TemplateVariableCondition @typing.type_check_only -class Widget(typing_extensions.TypedDict, total=False): +class Widget(typing.TypedDict, total=False): alertChart: AlertChart blank: Empty collapsibleGroup: CollapsibleGroup @@ -694,7 +682,7 @@ class Widget(typing_extensions.TypedDict, total=False): xyChart: XyChart @typing.type_check_only -class XyChart(typing_extensions.TypedDict, total=False): +class XyChart(typing.TypedDict, total=False): chartOptions: ChartOptions dataSets: _list[DataSet] thresholds: _list[Threshold] diff --git a/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi b/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi index 7cede7a0f..71fb543e2 100644 --- a/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -22,7 +21,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): *, name: str, aggregation_alignmentPeriod: str | None = ..., - aggregation_crossSeriesReducer: typing_extensions.Literal[ + aggregation_crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -40,7 +39,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): ] | None = ..., aggregation_groupByFields: str | _list[str] | None = ..., - aggregation_perSeriesAligner: typing_extensions.Literal[ + aggregation_perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -69,7 +68,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., secondaryAggregation_alignmentPeriod: str | None = ..., - secondaryAggregation_crossSeriesReducer: typing_extensions.Literal[ + secondaryAggregation_crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -87,7 +86,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): ] | None = ..., secondaryAggregation_groupByFields: str | _list[str] | None = ..., - secondaryAggregation_perSeriesAligner: typing_extensions.Literal[ + secondaryAggregation_perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -109,7 +108,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): "ALIGN_PERCENT_CHANGE", ] | None = ..., - view: typing_extensions.Literal["FULL", "HEADERS"] | None = ..., + view: typing.Literal["FULL", "HEADERS"] | None = ..., **kwargs: typing.Any, ) -> ListTimeSeriesResponseHttpRequest: ... def list_next( @@ -129,7 +128,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): *, name: str, aggregation_alignmentPeriod: str | None = ..., - aggregation_crossSeriesReducer: typing_extensions.Literal[ + aggregation_crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -147,7 +146,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): ] | None = ..., aggregation_groupByFields: str | _list[str] | None = ..., - aggregation_perSeriesAligner: typing_extensions.Literal[ + aggregation_perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -176,7 +175,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., secondaryAggregation_alignmentPeriod: str | None = ..., - secondaryAggregation_crossSeriesReducer: typing_extensions.Literal[ + secondaryAggregation_crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -194,7 +193,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): ] | None = ..., secondaryAggregation_groupByFields: str | _list[str] | None = ..., - secondaryAggregation_perSeriesAligner: typing_extensions.Literal[ + secondaryAggregation_perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -216,7 +215,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): "ALIGN_PERCENT_CHANGE", ] | None = ..., - view: typing_extensions.Literal["FULL", "HEADERS"] | None = ..., + view: typing.Literal["FULL", "HEADERS"] | None = ..., **kwargs: typing.Any, ) -> ListTimeSeriesResponseHttpRequest: ... def list_next( @@ -518,7 +517,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): *, name: str, aggregation_alignmentPeriod: str | None = ..., - aggregation_crossSeriesReducer: typing_extensions.Literal[ + aggregation_crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -536,7 +535,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): ] | None = ..., aggregation_groupByFields: str | _list[str] | None = ..., - aggregation_perSeriesAligner: typing_extensions.Literal[ + aggregation_perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -565,7 +564,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., secondaryAggregation_alignmentPeriod: str | None = ..., - secondaryAggregation_crossSeriesReducer: typing_extensions.Literal[ + secondaryAggregation_crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -583,7 +582,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): ] | None = ..., secondaryAggregation_groupByFields: str | _list[str] | None = ..., - secondaryAggregation_perSeriesAligner: typing_extensions.Literal[ + secondaryAggregation_perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -605,7 +604,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): "ALIGN_PERCENT_CHANGE", ] | None = ..., - view: typing_extensions.Literal["FULL", "HEADERS"] | None = ..., + view: typing.Literal["FULL", "HEADERS"] | None = ..., **kwargs: typing.Any, ) -> ListTimeSeriesResponseHttpRequest: ... def list_next( @@ -691,7 +690,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "FULL", "EXPLICIT"] + view: typing.Literal["VIEW_UNSPECIFIED", "FULL", "EXPLICIT"] | None = ..., **kwargs: typing.Any, ) -> ServiceLevelObjectiveHttpRequest: ... @@ -702,7 +701,7 @@ class MonitoringResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "FULL", "EXPLICIT"] + view: typing.Literal["VIEW_UNSPECIFIED", "FULL", "EXPLICIT"] | None = ..., **kwargs: typing.Any, ) -> ListServiceLevelObjectivesResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi index ad651b709..ed5df61a8 100644 --- a/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v3/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregation(typing_extensions.TypedDict, total=False): +class Aggregation(typing.TypedDict, total=False): alignmentPeriod: str - crossSeriesReducer: typing_extensions.Literal[ + crossSeriesReducer: typing.Literal[ "REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", @@ -24,7 +22,7 @@ class Aggregation(typing_extensions.TypedDict, total=False): "REDUCE_PERCENTILE_05", ] groupByFields: _list[str] - perSeriesAligner: typing_extensions.Literal[ + perSeriesAligner: typing.Literal[ "ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", @@ -47,7 +45,7 @@ class Aggregation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Alert(typing_extensions.TypedDict, total=False): +class Alert(typing.TypedDict, total=False): closeTime: str log: LogMetadata metadata: MonitoredResourceMetadata @@ -56,12 +54,12 @@ class Alert(typing_extensions.TypedDict, total=False): openTime: str policy: PolicySnapshot resource: MonitoredResource - state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED"] + state: typing.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED"] @typing.type_check_only -class AlertPolicy(typing_extensions.TypedDict, total=False): +class AlertPolicy(typing.TypedDict, total=False): alertStrategy: AlertStrategy - combiner: typing_extensions.Literal[ + combiner: typing.Literal[ "COMBINE_UNSPECIFIED", "AND", "OR", "AND_WITH_MATCHING_RESOURCE" ] conditions: _list[Condition] @@ -72,40 +70,38 @@ class AlertPolicy(typing_extensions.TypedDict, total=False): mutationRecord: MutationRecord name: str notificationChannels: _list[str] - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "WARNING" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "WARNING"] userLabels: dict[str, typing.Any] validity: Status @typing.type_check_only -class AlertStrategy(typing_extensions.TypedDict, total=False): +class AlertStrategy(typing.TypedDict, total=False): autoClose: str notificationChannelStrategy: _list[NotificationChannelStrategy] notificationPrompts: _list[ - typing_extensions.Literal["NOTIFICATION_PROMPT_UNSPECIFIED", "OPENED", "CLOSED"] + typing.Literal["NOTIFICATION_PROMPT_UNSPECIFIED", "OPENED", "CLOSED"] ] notificationRateLimit: NotificationRateLimit @typing.type_check_only -class AppEngine(typing_extensions.TypedDict, total=False): +class AppEngine(typing.TypedDict, total=False): moduleId: str @typing.type_check_only -class AvailabilityCriteria(typing_extensions.TypedDict, total=False): ... +class AvailabilityCriteria(typing.TypedDict, total=False): ... @typing.type_check_only -class BasicAuthentication(typing_extensions.TypedDict, total=False): +class BasicAuthentication(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class BasicService(typing_extensions.TypedDict, total=False): +class BasicService(typing.TypedDict, total=False): serviceLabels: dict[str, typing.Any] serviceType: str @typing.type_check_only -class BasicSli(typing_extensions.TypedDict, total=False): +class BasicSli(typing.TypedDict, total=False): availability: AvailabilityCriteria latency: LatencyCriteria location: _list[str] @@ -113,38 +109,38 @@ class BasicSli(typing_extensions.TypedDict, total=False): version: _list[str] @typing.type_check_only -class BooleanTest(typing_extensions.TypedDict, total=False): +class BooleanTest(typing.TypedDict, total=False): column: str @typing.type_check_only -class BucketOptions(typing_extensions.TypedDict, total=False): +class BucketOptions(typing.TypedDict, total=False): explicitBuckets: Explicit exponentialBuckets: Exponential linearBuckets: Linear @typing.type_check_only -class CloudEndpoints(typing_extensions.TypedDict, total=False): +class CloudEndpoints(typing.TypedDict, total=False): service: str @typing.type_check_only -class CloudFunctionV2Target(typing_extensions.TypedDict, total=False): +class CloudFunctionV2Target(typing.TypedDict, total=False): cloudRunRevision: MonitoredResource name: str @typing.type_check_only -class CloudRun(typing_extensions.TypedDict, total=False): +class CloudRun(typing.TypedDict, total=False): location: str serviceName: str @typing.type_check_only -class ClusterIstio(typing_extensions.TypedDict, total=False): +class ClusterIstio(typing.TypedDict, total=False): clusterName: str location: str serviceName: str serviceNamespace: str @typing.type_check_only -class CollectdPayload(typing_extensions.TypedDict, total=False): +class CollectdPayload(typing.TypedDict, total=False): endTime: str metadata: dict[str, typing.Any] plugin: str @@ -155,26 +151,26 @@ class CollectdPayload(typing_extensions.TypedDict, total=False): values: _list[CollectdValue] @typing.type_check_only -class CollectdPayloadError(typing_extensions.TypedDict, total=False): +class CollectdPayloadError(typing.TypedDict, total=False): error: Status index: int valueErrors: _list[CollectdValueError] @typing.type_check_only -class CollectdValue(typing_extensions.TypedDict, total=False): +class CollectdValue(typing.TypedDict, total=False): dataSourceName: str - dataSourceType: typing_extensions.Literal[ + dataSourceType: typing.Literal[ "UNSPECIFIED_DATA_SOURCE_TYPE", "GAUGE", "COUNTER", "DERIVE", "ABSOLUTE" ] value: TypedValue @typing.type_check_only -class CollectdValueError(typing_extensions.TypedDict, total=False): +class CollectdValueError(typing.TypedDict, total=False): error: Status index: int @typing.type_check_only -class Condition(typing_extensions.TypedDict, total=False): +class Condition(typing.TypedDict, total=False): conditionAbsent: MetricAbsence conditionMatchedLog: LogMatch conditionMonitoringQueryLanguage: MonitoringQueryLanguageCondition @@ -185,10 +181,10 @@ class Condition(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ContentMatcher(typing_extensions.TypedDict, total=False): +class ContentMatcher(typing.TypedDict, total=False): content: str jsonPathMatcher: JsonPathMatcher - matcher: typing_extensions.Literal[ + matcher: typing.Literal[ "CONTENT_MATCHER_OPTION_UNSPECIFIED", "CONTAINS_STRING", "NOT_CONTAINS_STRING", @@ -199,41 +195,41 @@ class ContentMatcher(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreateCollectdTimeSeriesRequest(typing_extensions.TypedDict, total=False): +class CreateCollectdTimeSeriesRequest(typing.TypedDict, total=False): collectdPayloads: _list[CollectdPayload] collectdVersion: str resource: MonitoredResource @typing.type_check_only -class CreateCollectdTimeSeriesResponse(typing_extensions.TypedDict, total=False): +class CreateCollectdTimeSeriesResponse(typing.TypedDict, total=False): payloadErrors: _list[CollectdPayloadError] summary: CreateTimeSeriesSummary @typing.type_check_only -class CreateTimeSeriesRequest(typing_extensions.TypedDict, total=False): +class CreateTimeSeriesRequest(typing.TypedDict, total=False): timeSeries: _list[TimeSeries] @typing.type_check_only -class CreateTimeSeriesSummary(typing_extensions.TypedDict, total=False): +class CreateTimeSeriesSummary(typing.TypedDict, total=False): errors: _list[Error] successPointCount: int totalPointCount: int @typing.type_check_only -class Criteria(typing_extensions.TypedDict, total=False): +class Criteria(typing.TypedDict, total=False): filter: str policies: _list[str] @typing.type_check_only -class Custom(typing_extensions.TypedDict, total=False): ... +class Custom(typing.TypedDict, total=False): ... @typing.type_check_only -class Daily(typing_extensions.TypedDict, total=False): +class Daily(typing.TypedDict, total=False): executionTime: TimeOfDay periodicity: int @typing.type_check_only -class Distribution(typing_extensions.TypedDict, total=False): +class Distribution(typing.TypedDict, total=False): bucketCounts: _list[str] bucketOptions: BucketOptions count: str @@ -243,48 +239,48 @@ class Distribution(typing_extensions.TypedDict, total=False): sumOfSquaredDeviation: float @typing.type_check_only -class DistributionCut(typing_extensions.TypedDict, total=False): +class DistributionCut(typing.TypedDict, total=False): distributionFilter: str range: GoogleMonitoringV3Range @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): content: str links: _list[Link] mimeType: str subject: str @typing.type_check_only -class DroppedLabels(typing_extensions.TypedDict, total=False): +class DroppedLabels(typing.TypedDict, total=False): label: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): pointCount: int status: Status @typing.type_check_only -class Exemplar(typing_extensions.TypedDict, total=False): +class Exemplar(typing.TypedDict, total=False): attachments: _list[dict[str, typing.Any]] timestamp: str value: float @typing.type_check_only -class Explicit(typing_extensions.TypedDict, total=False): +class Explicit(typing.TypedDict, total=False): bounds: _list[float] @typing.type_check_only -class Exponential(typing_extensions.TypedDict, total=False): +class Exponential(typing.TypedDict, total=False): growthFactor: float numFiniteBuckets: int scale: float @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -292,7 +288,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -321,31 +317,27 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class ForecastOptions(typing_extensions.TypedDict, total=False): +class ForecastOptions(typing.TypedDict, total=False): forecastHorizon: str @typing.type_check_only -class GetNotificationChannelVerificationCodeRequest( - typing_extensions.TypedDict, total=False -): +class GetNotificationChannelVerificationCodeRequest(typing.TypedDict, total=False): expireTime: str @typing.type_check_only -class GetNotificationChannelVerificationCodeResponse( - typing_extensions.TypedDict, total=False -): +class GetNotificationChannelVerificationCodeResponse(typing.TypedDict, total=False): code: str expireTime: str @typing.type_check_only -class GkeNamespace(typing_extensions.TypedDict, total=False): +class GkeNamespace(typing.TypedDict, total=False): clusterName: str location: str namespaceName: str projectId: str @typing.type_check_only -class GkeService(typing_extensions.TypedDict, total=False): +class GkeService(typing.TypedDict, total=False): clusterName: str location: str namespaceName: str @@ -353,7 +345,7 @@ class GkeService(typing_extensions.TypedDict, total=False): serviceName: str @typing.type_check_only -class GkeWorkload(typing_extensions.TypedDict, total=False): +class GkeWorkload(typing.TypedDict, total=False): clusterName: str location: str namespaceName: str @@ -362,12 +354,12 @@ class GkeWorkload(typing_extensions.TypedDict, total=False): topLevelControllerType: str @typing.type_check_only -class GoogleMonitoringV3Range(typing_extensions.TypedDict, total=False): +class GoogleMonitoringV3Range(typing.TypedDict, total=False): max: float min: float @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): displayName: str filter: str isCluster: bool @@ -375,143 +367,137 @@ class Group(typing_extensions.TypedDict, total=False): parentName: str @typing.type_check_only -class Hourly(typing_extensions.TypedDict, total=False): +class Hourly(typing.TypedDict, total=False): minuteOffset: int periodicity: int @typing.type_check_only -class HttpCheck(typing_extensions.TypedDict, total=False): +class HttpCheck(typing.TypedDict, total=False): acceptedResponseStatusCodes: _list[ResponseStatusCode] authInfo: BasicAuthentication body: str - contentType: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "URL_ENCODED", "USER_PROVIDED" - ] + contentType: typing.Literal["TYPE_UNSPECIFIED", "URL_ENCODED", "USER_PROVIDED"] customContentType: str headers: dict[str, typing.Any] maskHeaders: bool path: str pingConfig: PingConfig port: int - requestMethod: typing_extensions.Literal["METHOD_UNSPECIFIED", "GET", "POST"] + requestMethod: typing.Literal["METHOD_UNSPECIFIED", "GET", "POST"] serviceAgentAuthentication: ServiceAgentAuthentication useSsl: bool validateSsl: bool @typing.type_check_only -class InternalChecker(typing_extensions.TypedDict, total=False): +class InternalChecker(typing.TypedDict, total=False): displayName: str gcpZone: str name: str network: str peerProjectId: str - state: typing_extensions.Literal["UNSPECIFIED", "CREATING", "RUNNING"] + state: typing.Literal["UNSPECIFIED", "CREATING", "RUNNING"] @typing.type_check_only -class IstioCanonicalService(typing_extensions.TypedDict, total=False): +class IstioCanonicalService(typing.TypedDict, total=False): canonicalService: str canonicalServiceNamespace: str meshUid: str @typing.type_check_only -class JsonPathMatcher(typing_extensions.TypedDict, total=False): - jsonMatcher: typing_extensions.Literal[ +class JsonPathMatcher(typing.TypedDict, total=False): + jsonMatcher: typing.Literal[ "JSON_PATH_MATCHER_OPTION_UNSPECIFIED", "EXACT_MATCH", "REGEX_MATCH" ] jsonPath: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class LabelValue(typing_extensions.TypedDict, total=False): +class LabelValue(typing.TypedDict, total=False): boolValue: bool int64Value: str stringValue: str @typing.type_check_only -class LatencyCriteria(typing_extensions.TypedDict, total=False): +class LatencyCriteria(typing.TypedDict, total=False): threshold: str @typing.type_check_only -class Linear(typing_extensions.TypedDict, total=False): +class Linear(typing.TypedDict, total=False): numFiniteBuckets: int offset: float width: float @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): displayName: str url: str @typing.type_check_only -class ListAlertPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAlertPoliciesResponse(typing.TypedDict, total=False): alertPolicies: _list[AlertPolicy] nextPageToken: str totalSize: int @typing.type_check_only -class ListAlertsResponse(typing_extensions.TypedDict, total=False): +class ListAlertsResponse(typing.TypedDict, total=False): alerts: _list[Alert] nextPageToken: str totalSize: int @typing.type_check_only -class ListGroupMembersResponse(typing_extensions.TypedDict, total=False): +class ListGroupMembersResponse(typing.TypedDict, total=False): members: _list[MonitoredResource] nextPageToken: str totalSize: int @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): group: _list[Group] nextPageToken: str @typing.type_check_only -class ListMetricDescriptorsResponse(typing_extensions.TypedDict, total=False): +class ListMetricDescriptorsResponse(typing.TypedDict, total=False): metricDescriptors: _list[MetricDescriptor] nextPageToken: str @typing.type_check_only -class ListMonitoredResourceDescriptorsResponse( - typing_extensions.TypedDict, total=False -): +class ListMonitoredResourceDescriptorsResponse(typing.TypedDict, total=False): nextPageToken: str resourceDescriptors: _list[MonitoredResourceDescriptor] @typing.type_check_only -class ListNotificationChannelDescriptorsResponse( - typing_extensions.TypedDict, total=False -): +class ListNotificationChannelDescriptorsResponse(typing.TypedDict, total=False): channelDescriptors: _list[NotificationChannelDescriptor] nextPageToken: str @typing.type_check_only -class ListNotificationChannelsResponse(typing_extensions.TypedDict, total=False): +class ListNotificationChannelsResponse(typing.TypedDict, total=False): nextPageToken: str notificationChannels: _list[NotificationChannel] totalSize: int @typing.type_check_only -class ListServiceLevelObjectivesResponse(typing_extensions.TypedDict, total=False): +class ListServiceLevelObjectivesResponse(typing.TypedDict, total=False): nextPageToken: str serviceLevelObjectives: _list[ServiceLevelObjective] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class ListSnoozesResponse(typing_extensions.TypedDict, total=False): +class ListSnoozesResponse(typing.TypedDict, total=False): nextPageToken: str snoozes: _list[Snooze] @typing.type_check_only -class ListTimeSeriesResponse(typing_extensions.TypedDict, total=False): +class ListTimeSeriesResponse(typing.TypedDict, total=False): executionErrors: _list[Status] nextPageToken: str timeSeries: _list[TimeSeries] @@ -519,49 +505,49 @@ class ListTimeSeriesResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListUptimeCheckConfigsResponse(typing_extensions.TypedDict, total=False): +class ListUptimeCheckConfigsResponse(typing.TypedDict, total=False): nextPageToken: str totalSize: int uptimeCheckConfigs: _list[UptimeCheckConfig] @typing.type_check_only -class ListUptimeCheckIpsResponse(typing_extensions.TypedDict, total=False): +class ListUptimeCheckIpsResponse(typing.TypedDict, total=False): nextPageToken: str uptimeCheckIps: _list[UptimeCheckIp] @typing.type_check_only -class LogMatch(typing_extensions.TypedDict, total=False): +class LogMatch(typing.TypedDict, total=False): filter: str labelExtractors: dict[str, typing.Any] @typing.type_check_only -class LogMetadata(typing_extensions.TypedDict, total=False): +class LogMetadata(typing.TypedDict, total=False): extractedLabels: dict[str, typing.Any] @typing.type_check_only -class MeshIstio(typing_extensions.TypedDict, total=False): +class MeshIstio(typing.TypedDict, total=False): meshUid: str serviceName: str serviceNamespace: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): +class Metric(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class MetricAbsence(typing_extensions.TypedDict, total=False): +class MetricAbsence(typing.TypedDict, total=False): aggregations: _list[Aggregation] duration: str filter: str trigger: Trigger @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -572,14 +558,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -590,9 +576,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -604,7 +590,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -613,14 +599,14 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRange(typing_extensions.TypedDict, total=False): +class MetricRange(typing.TypedDict, total=False): range: GoogleMonitoringV3Range timeSeries: str @typing.type_check_only -class MetricThreshold(typing_extensions.TypedDict, total=False): +class MetricThreshold(typing.TypedDict, total=False): aggregations: _list[Aggregation] - comparison: typing_extensions.Literal[ + comparison: typing.Literal[ "COMPARISON_UNSPECIFIED", "COMPARISON_GT", "COMPARISON_GE", @@ -632,7 +618,7 @@ class MetricThreshold(typing_extensions.TypedDict, total=False): denominatorAggregations: _list[Aggregation] denominatorFilter: str duration: str - evaluationMissingData: typing_extensions.Literal[ + evaluationMissingData: typing.Literal[ "EVALUATION_MISSING_DATA_UNSPECIFIED", "EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", @@ -644,20 +630,20 @@ class MetricThreshold(typing_extensions.TypedDict, total=False): trigger: Trigger @typing.type_check_only -class Minutes(typing_extensions.TypedDict, total=False): +class Minutes(typing.TypedDict, total=False): periodicity: int @typing.type_check_only -class MonitoredResource(typing_extensions.TypedDict, total=False): +class MonitoredResource(typing.TypedDict, total=False): labels: dict[str, typing.Any] type: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -671,14 +657,14 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class MonitoredResourceMetadata(typing_extensions.TypedDict, total=False): +class MonitoredResourceMetadata(typing.TypedDict, total=False): systemLabels: dict[str, typing.Any] userLabels: dict[str, typing.Any] @typing.type_check_only -class MonitoringQueryLanguageCondition(typing_extensions.TypedDict, total=False): +class MonitoringQueryLanguageCondition(typing.TypedDict, total=False): duration: str - evaluationMissingData: typing_extensions.Literal[ + evaluationMissingData: typing.Literal[ "EVALUATION_MISSING_DATA_UNSPECIFIED", "EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", @@ -688,12 +674,12 @@ class MonitoringQueryLanguageCondition(typing_extensions.TypedDict, total=False) trigger: Trigger @typing.type_check_only -class MutationRecord(typing_extensions.TypedDict, total=False): +class MutationRecord(typing.TypedDict, total=False): mutateTime: str mutatedBy: str @typing.type_check_only -class NotificationChannel(typing_extensions.TypedDict, total=False): +class NotificationChannel(typing.TypedDict, total=False): creationRecord: MutationRecord description: str displayName: str @@ -703,16 +689,16 @@ class NotificationChannel(typing_extensions.TypedDict, total=False): name: str type: str userLabels: dict[str, typing.Any] - verificationStatus: typing_extensions.Literal[ + verificationStatus: typing.Literal[ "VERIFICATION_STATUS_UNSPECIFIED", "UNVERIFIED", "VERIFIED" ] @typing.type_check_only -class NotificationChannelDescriptor(typing_extensions.TypedDict, total=False): +class NotificationChannelDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -724,65 +710,63 @@ class NotificationChannelDescriptor(typing_extensions.TypedDict, total=False): ] name: str supportedTiers: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_TIER_UNSPECIFIED", "SERVICE_TIER_BASIC", "SERVICE_TIER_PREMIUM" ] ] type: str @typing.type_check_only -class NotificationChannelStrategy(typing_extensions.TypedDict, total=False): +class NotificationChannelStrategy(typing.TypedDict, total=False): notificationChannelNames: _list[str] renotifyInterval: str @typing.type_check_only -class NotificationRateLimit(typing_extensions.TypedDict, total=False): +class NotificationRateLimit(typing.TypedDict, total=False): period: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class PerformanceThreshold(typing_extensions.TypedDict, total=False): +class PerformanceThreshold(typing.TypedDict, total=False): basicSliPerformance: BasicSli performance: RequestBasedSli threshold: float @typing.type_check_only -class PingConfig(typing_extensions.TypedDict, total=False): +class PingConfig(typing.TypedDict, total=False): pingsCount: int @typing.type_check_only -class Point(typing_extensions.TypedDict, total=False): +class Point(typing.TypedDict, total=False): interval: TimeInterval value: TypedValue @typing.type_check_only -class PointData(typing_extensions.TypedDict, total=False): +class PointData(typing.TypedDict, total=False): timeInterval: TimeInterval values: _list[TypedValue] @typing.type_check_only -class PolicySnapshot(typing_extensions.TypedDict, total=False): +class PolicySnapshot(typing.TypedDict, total=False): displayName: str name: str - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "WARNING" - ] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "ERROR", "WARNING"] userLabels: dict[str, typing.Any] @typing.type_check_only -class PrometheusQueryLanguageCondition(typing_extensions.TypedDict, total=False): +class PrometheusQueryLanguageCondition(typing.TypedDict, total=False): alertRule: str disableMetricValidation: bool duration: str @@ -792,38 +776,38 @@ class PrometheusQueryLanguageCondition(typing_extensions.TypedDict, total=False) ruleGroup: str @typing.type_check_only -class QueryTimeSeriesRequest(typing_extensions.TypedDict, total=False): +class QueryTimeSeriesRequest(typing.TypedDict, total=False): pageSize: int pageToken: str query: str @typing.type_check_only -class QueryTimeSeriesResponse(typing_extensions.TypedDict, total=False): +class QueryTimeSeriesResponse(typing.TypedDict, total=False): nextPageToken: str partialErrors: _list[Status] timeSeriesData: _list[TimeSeriesData] timeSeriesDescriptor: TimeSeriesDescriptor @typing.type_check_only -class Range(typing_extensions.TypedDict, total=False): +class Range(typing.TypedDict, total=False): max: float min: float @typing.type_check_only -class RequestBasedSli(typing_extensions.TypedDict, total=False): +class RequestBasedSli(typing.TypedDict, total=False): distributionCut: DistributionCut goodTotalRatio: TimeSeriesRatio @typing.type_check_only -class ResourceGroup(typing_extensions.TypedDict, total=False): +class ResourceGroup(typing.TypedDict, total=False): groupId: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "INSTANCE", "AWS_ELB_LOAD_BALANCER" ] @typing.type_check_only -class ResponseStatusCode(typing_extensions.TypedDict, total=False): - statusClass: typing_extensions.Literal[ +class ResponseStatusCode(typing.TypedDict, total=False): + statusClass: typing.Literal[ "STATUS_CLASS_UNSPECIFIED", "STATUS_CLASS_1XX", "STATUS_CLASS_2XX", @@ -835,8 +819,8 @@ class ResponseStatusCode(typing_extensions.TypedDict, total=False): statusValue: int @typing.type_check_only -class RowCountTest(typing_extensions.TypedDict, total=False): - comparison: typing_extensions.Literal[ +class RowCountTest(typing.TypedDict, total=False): + comparison: typing.Literal[ "COMPARISON_UNSPECIFIED", "COMPARISON_GT", "COMPARISON_GE", @@ -848,12 +832,10 @@ class RowCountTest(typing_extensions.TypedDict, total=False): threshold: str @typing.type_check_only -class SendNotificationChannelVerificationCodeRequest( - typing_extensions.TypedDict, total=False -): ... +class SendNotificationChannelVerificationCodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): appEngine: AppEngine basicService: BasicService cloudEndpoints: CloudEndpoints @@ -871,20 +853,18 @@ class Service(typing_extensions.TypedDict, total=False): userLabels: dict[str, typing.Any] @typing.type_check_only -class ServiceAgentAuthentication(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED", "OIDC_TOKEN" - ] +class ServiceAgentAuthentication(typing.TypedDict, total=False): + type: typing.Literal["SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED", "OIDC_TOKEN"] @typing.type_check_only -class ServiceLevelIndicator(typing_extensions.TypedDict, total=False): +class ServiceLevelIndicator(typing.TypedDict, total=False): basicSli: BasicSli requestBased: RequestBasedSli windowsBased: WindowsBasedSli @typing.type_check_only -class ServiceLevelObjective(typing_extensions.TypedDict, total=False): - calendarPeriod: typing_extensions.Literal[ +class ServiceLevelObjective(typing.TypedDict, total=False): + calendarPeriod: typing.Literal[ "CALENDAR_PERIOD_UNSPECIFIED", "DAY", "WEEK", @@ -902,22 +882,22 @@ class ServiceLevelObjective(typing_extensions.TypedDict, total=False): userLabels: dict[str, typing.Any] @typing.type_check_only -class Snooze(typing_extensions.TypedDict, total=False): +class Snooze(typing.TypedDict, total=False): criteria: Criteria displayName: str interval: TimeInterval name: str @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SpanContext(typing_extensions.TypedDict, total=False): +class SpanContext(typing.TypedDict, total=False): spanName: str @typing.type_check_only -class SqlCondition(typing_extensions.TypedDict, total=False): +class SqlCondition(typing.TypedDict, total=False): booleanTest: BooleanTest daily: Daily hourly: Hourly @@ -926,48 +906,48 @@ class SqlCondition(typing_extensions.TypedDict, total=False): rowCountTest: RowCountTest @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SyntheticMonitorTarget(typing_extensions.TypedDict, total=False): +class SyntheticMonitorTarget(typing.TypedDict, total=False): cloudFunctionV2: CloudFunctionV2Target @typing.type_check_only -class TcpCheck(typing_extensions.TypedDict, total=False): +class TcpCheck(typing.TypedDict, total=False): pingConfig: PingConfig port: int @typing.type_check_only -class Telemetry(typing_extensions.TypedDict, total=False): +class Telemetry(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class TimeInterval(typing_extensions.TypedDict, total=False): +class TimeInterval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeSeries(typing_extensions.TypedDict, total=False): +class TimeSeries(typing.TypedDict, total=False): description: str metadata: MonitoredResourceMetadata metric: Metric - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] points: _list[Point] resource: MonitoredResource unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -978,40 +958,38 @@ class TimeSeries(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TimeSeriesData(typing_extensions.TypedDict, total=False): +class TimeSeriesData(typing.TypedDict, total=False): labelValues: _list[LabelValue] pointData: _list[PointData] @typing.type_check_only -class TimeSeriesDescriptor(typing_extensions.TypedDict, total=False): +class TimeSeriesDescriptor(typing.TypedDict, total=False): labelDescriptors: _list[LabelDescriptor] pointDescriptors: _list[ValueDescriptor] @typing.type_check_only -class TimeSeriesRatio(typing_extensions.TypedDict, total=False): +class TimeSeriesRatio(typing.TypedDict, total=False): badServiceFilter: str goodServiceFilter: str totalServiceFilter: str @typing.type_check_only -class Trigger(typing_extensions.TypedDict, total=False): +class Trigger(typing.TypedDict, total=False): count: int percent: float @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class TypedValue(typing_extensions.TypedDict, total=False): +class TypedValue(typing.TypedDict, total=False): boolValue: bool distributionValue: Distribution doubleValue: float @@ -1019,8 +997,8 @@ class TypedValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class UptimeCheckConfig(typing_extensions.TypedDict, total=False): - checkerType: typing_extensions.Literal[ +class UptimeCheckConfig(typing.TypedDict, total=False): + checkerType: typing.Literal[ "CHECKER_TYPE_UNSPECIFIED", "STATIC_IP_CHECKERS", "VPC_CHECKERS" ] contentMatchers: _list[ContentMatcher] @@ -1035,7 +1013,7 @@ class UptimeCheckConfig(typing_extensions.TypedDict, total=False): period: str resourceGroup: ResourceGroup selectedRegions: _list[ - typing_extensions.Literal[ + typing.Literal[ "REGION_UNSPECIFIED", "USA", "EUROPE", @@ -1052,10 +1030,10 @@ class UptimeCheckConfig(typing_extensions.TypedDict, total=False): userLabels: dict[str, typing.Any] @typing.type_check_only -class UptimeCheckIp(typing_extensions.TypedDict, total=False): +class UptimeCheckIp(typing.TypedDict, total=False): ipAddress: str location: str - region: typing_extensions.Literal[ + region: typing.Literal[ "REGION_UNSPECIFIED", "USA", "EUROPE", @@ -1067,13 +1045,13 @@ class UptimeCheckIp(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ValueDescriptor(typing_extensions.TypedDict, total=False): +class ValueDescriptor(typing.TypedDict, total=False): key: str - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -1084,11 +1062,11 @@ class ValueDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VerifyNotificationChannelRequest(typing_extensions.TypedDict, total=False): +class VerifyNotificationChannelRequest(typing.TypedDict, total=False): code: str @typing.type_check_only -class WindowsBasedSli(typing_extensions.TypedDict, total=False): +class WindowsBasedSli(typing.TypedDict, total=False): goodBadMetricFilter: str goodTotalRatioThreshold: PerformanceThreshold metricMeanInRange: MetricRange diff --git a/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/resources.pyi index b641659c8..4c68f4e92 100644 --- a/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/schemas.pyi index a40c167a2..76fba26b3 100644 --- a/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessaccountmanagement/v1/schemas.pyi @@ -1,95 +1,93 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceptInvitationRequest(typing_extensions.TypedDict, total=False): ... +class AcceptInvitationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountName: str accountNumber: str name: str organizationInfo: OrganizationInfo - permissionLevel: typing_extensions.Literal[ + permissionLevel: typing.Literal[ "PERMISSION_LEVEL_UNSPECIFIED", "OWNER_LEVEL", "MEMBER_LEVEL" ] primaryOwner: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ACCOUNT_ROLE_UNSPECIFIED", "PRIMARY_OWNER", "OWNER", "MANAGER", "SITE_MANAGER" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCOUNT_TYPE_UNSPECIFIED", "PERSONAL", "LOCATION_GROUP", "USER_GROUP", "ORGANIZATION", ] - verificationState: typing_extensions.Literal[ + verificationState: typing.Literal[ "VERIFICATION_STATE_UNSPECIFIED", "VERIFIED", "UNVERIFIED", "VERIFICATION_REQUESTED", ] - vettedState: typing_extensions.Literal[ + vettedState: typing.Literal[ "VETTED_STATE_UNSPECIFIED", "NOT_VETTED", "VETTED", "INVALID" ] @typing.type_check_only -class Admin(typing_extensions.TypedDict, total=False): +class Admin(typing.TypedDict, total=False): account: str admin: str name: str pendingInvitation: bool - role: typing_extensions.Literal[ + role: typing.Literal[ "ADMIN_ROLE_UNSPECIFIED", "PRIMARY_OWNER", "OWNER", "MANAGER", "SITE_MANAGER" ] @typing.type_check_only -class DeclineInvitationRequest(typing_extensions.TypedDict, total=False): ... +class DeclineInvitationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Invitation(typing_extensions.TypedDict, total=False): +class Invitation(typing.TypedDict, total=False): name: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ADMIN_ROLE_UNSPECIFIED", "PRIMARY_OWNER", "OWNER", "MANAGER", "SITE_MANAGER" ] targetAccount: Account targetLocation: TargetLocation - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_TYPE_UNSPECIFIED", "ACCOUNTS_ONLY", "LOCATIONS_ONLY" ] @typing.type_check_only -class ListAccountAdminsResponse(typing_extensions.TypedDict, total=False): +class ListAccountAdminsResponse(typing.TypedDict, total=False): accountAdmins: _list[Admin] @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] nextPageToken: str @typing.type_check_only -class ListInvitationsResponse(typing_extensions.TypedDict, total=False): +class ListInvitationsResponse(typing.TypedDict, total=False): invitations: _list[Invitation] @typing.type_check_only -class ListLocationAdminsResponse(typing_extensions.TypedDict, total=False): +class ListLocationAdminsResponse(typing.TypedDict, total=False): admins: _list[Admin] @typing.type_check_only -class OrganizationInfo(typing_extensions.TypedDict, total=False): +class OrganizationInfo(typing.TypedDict, total=False): address: PostalAddress phoneNumber: str registeredDomain: str @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -103,11 +101,11 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class TargetLocation(typing_extensions.TypedDict, total=False): +class TargetLocation(typing.TypedDict, total=False): address: str locationName: str placeId: str @typing.type_check_only -class TransferLocationRequest(typing_extensions.TypedDict, total=False): +class TransferLocationRequest(typing.TypedDict, total=False): destinationAccount: str diff --git a/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/resources.pyi index b777bdabc..8170a1b24 100644 --- a/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/schemas.pyi index ed9834688..6753bd529 100644 --- a/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessbusinesscalls/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AggregateMetrics(typing_extensions.TypedDict, total=False): +class AggregateMetrics(typing.TypedDict, total=False): answeredCallsCount: int endDate: Date hourlyMetrics: _list[HourlyMetrics] @@ -14,38 +12,36 @@ class AggregateMetrics(typing_extensions.TypedDict, total=False): weekdayMetrics: _list[WeekDayMetrics] @typing.type_check_only -class BusinessCallsInsights(typing_extensions.TypedDict, total=False): +class BusinessCallsInsights(typing.TypedDict, total=False): aggregateMetrics: AggregateMetrics - metricType: typing_extensions.Literal["METRIC_TYPE_UNSPECIFIED", "AGGREGATE_COUNT"] + metricType: typing.Literal["METRIC_TYPE_UNSPECIFIED", "AGGREGATE_COUNT"] name: str @typing.type_check_only -class BusinessCallsSettings(typing_extensions.TypedDict, total=False): - callsState: typing_extensions.Literal[ - "CALLS_STATE_UNSPECIFIED", "ENABLED", "DISABLED" - ] +class BusinessCallsSettings(typing.TypedDict, total=False): + callsState: typing.Literal["CALLS_STATE_UNSPECIFIED", "ENABLED", "DISABLED"] consentTime: str name: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class HourlyMetrics(typing_extensions.TypedDict, total=False): +class HourlyMetrics(typing.TypedDict, total=False): hour: int missedCallsCount: int @typing.type_check_only -class ListBusinessCallsInsightsResponse(typing_extensions.TypedDict, total=False): +class ListBusinessCallsInsightsResponse(typing.TypedDict, total=False): businessCallsInsights: _list[BusinessCallsInsights] nextPageToken: str @typing.type_check_only -class WeekDayMetrics(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class WeekDayMetrics(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", diff --git a/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/resources.pyi index 2d0304e2c..9fd191401 100644 --- a/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -73,9 +72,7 @@ class MyBusinessBusinessInformationResource(googleapiclient.discovery.Resource): languageCode: str | None = ..., names: str | _list[str] | None = ..., regionCode: str | None = ..., - view: typing_extensions.Literal[ - "CATEGORY_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CATEGORY_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> BatchGetCategoriesResponseHttpRequest: ... @@ -87,9 +84,7 @@ class MyBusinessBusinessInformationResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., regionCode: str | None = ..., - view: typing_extensions.Literal[ - "CATEGORY_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["CATEGORY_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListCategoriesResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi index a9d9986ef..9264a72e8 100644 --- a/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessbusinessinformation/v1/schemas.pyi @@ -1,136 +1,134 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdWordsLocationExtensions(typing_extensions.TypedDict, total=False): +class AdWordsLocationExtensions(typing.TypedDict, total=False): adPhone: str @typing.type_check_only -class Attribute(typing_extensions.TypedDict, total=False): +class Attribute(typing.TypedDict, total=False): name: str repeatedEnumValue: RepeatedEnumAttributeValue uriValues: _list[UriAttributeValue] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", "BOOL", "ENUM", "URL", "REPEATED_ENUM" ] values: _list[typing.Any] @typing.type_check_only -class AttributeMetadata(typing_extensions.TypedDict, total=False): +class AttributeMetadata(typing.TypedDict, total=False): deprecated: bool displayName: str groupDisplayName: str parent: str repeatable: bool valueMetadata: _list[AttributeValueMetadata] - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", "BOOL", "ENUM", "URL", "REPEATED_ENUM" ] @typing.type_check_only -class AttributeValueMetadata(typing_extensions.TypedDict, total=False): +class AttributeValueMetadata(typing.TypedDict, total=False): displayName: str value: typing.Any @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): attributes: _list[Attribute] name: str @typing.type_check_only -class BatchGetCategoriesResponse(typing_extensions.TypedDict, total=False): +class BatchGetCategoriesResponse(typing.TypedDict, total=False): categories: _list[Category] @typing.type_check_only -class BusinessHours(typing_extensions.TypedDict, total=False): +class BusinessHours(typing.TypedDict, total=False): periods: _list[TimePeriod] @typing.type_check_only -class Categories(typing_extensions.TypedDict, total=False): +class Categories(typing.TypedDict, total=False): additionalCategories: _list[Category] primaryCategory: Category @typing.type_check_only -class Category(typing_extensions.TypedDict, total=False): +class Category(typing.TypedDict, total=False): displayName: str moreHoursTypes: _list[MoreHoursType] name: str serviceTypes: _list[ServiceType] @typing.type_check_only -class Chain(typing_extensions.TypedDict, total=False): +class Chain(typing.TypedDict, total=False): chainNames: _list[ChainName] locationCount: int name: str websites: _list[ChainUri] @typing.type_check_only -class ChainName(typing_extensions.TypedDict, total=False): +class ChainName(typing.TypedDict, total=False): displayName: str languageCode: str @typing.type_check_only -class ChainUri(typing_extensions.TypedDict, total=False): +class ChainUri(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FreeFormServiceItem(typing_extensions.TypedDict, total=False): +class FreeFormServiceItem(typing.TypedDict, total=False): category: str label: Label @typing.type_check_only -class GoogleLocation(typing_extensions.TypedDict, total=False): +class GoogleLocation(typing.TypedDict, total=False): location: Location name: str requestAdminRightsUri: str @typing.type_check_only -class GoogleUpdatedLocation(typing_extensions.TypedDict, total=False): +class GoogleUpdatedLocation(typing.TypedDict, total=False): diffMask: str location: Location pendingMask: str @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): description: str displayName: str languageCode: str @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class ListAttributeMetadataResponse(typing_extensions.TypedDict, total=False): +class ListAttributeMetadataResponse(typing.TypedDict, total=False): attributeMetadata: _list[AttributeMetadata] nextPageToken: str @typing.type_check_only -class ListCategoriesResponse(typing_extensions.TypedDict, total=False): +class ListCategoriesResponse(typing.TypedDict, total=False): categories: _list[Category] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str totalSize: int @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): adWordsLocationExtensions: AdWordsLocationExtensions categories: Categories labels: _list[str] @@ -153,7 +151,7 @@ class Location(typing_extensions.TypedDict, total=False): websiteUri: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): canDelete: bool canHaveBusinessCalls: bool canHaveFoodMenus: bool @@ -171,27 +169,27 @@ class Metadata(typing_extensions.TypedDict, total=False): placeId: str @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class MoreHours(typing_extensions.TypedDict, total=False): +class MoreHours(typing.TypedDict, total=False): hoursTypeId: str periods: _list[TimePeriod] @typing.type_check_only -class MoreHoursType(typing_extensions.TypedDict, total=False): +class MoreHoursType(typing.TypedDict, total=False): displayName: str hoursTypeId: str localizedDisplayName: str @typing.type_check_only -class OpenInfo(typing_extensions.TypedDict, total=False): +class OpenInfo(typing.TypedDict, total=False): canReopen: bool openingDate: Date - status: typing_extensions.Literal[ + status: typing.Literal[ "OPEN_FOR_BUSINESS_UNSPECIFIED", "OPEN", "CLOSED_PERMANENTLY", @@ -199,21 +197,21 @@ class OpenInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PhoneNumbers(typing_extensions.TypedDict, total=False): +class PhoneNumbers(typing.TypedDict, total=False): additionalPhones: _list[str] primaryPhone: str @typing.type_check_only -class PlaceInfo(typing_extensions.TypedDict, total=False): +class PlaceInfo(typing.TypedDict, total=False): placeId: str placeName: str @typing.type_check_only -class Places(typing_extensions.TypedDict, total=False): +class Places(typing.TypedDict, total=False): placeInfos: _list[PlaceInfo] @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -227,44 +225,44 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class Profile(typing_extensions.TypedDict, total=False): +class Profile(typing.TypedDict, total=False): description: str @typing.type_check_only -class RelationshipData(typing_extensions.TypedDict, total=False): +class RelationshipData(typing.TypedDict, total=False): childrenLocations: _list[RelevantLocation] parentChain: str parentLocation: RelevantLocation @typing.type_check_only -class RelevantLocation(typing_extensions.TypedDict, total=False): +class RelevantLocation(typing.TypedDict, total=False): placeId: str - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "DEPARTMENT_OF", "INDEPENDENT_ESTABLISHMENT_IN" ] @typing.type_check_only -class RepeatedEnumAttributeValue(typing_extensions.TypedDict, total=False): +class RepeatedEnumAttributeValue(typing.TypedDict, total=False): setValues: _list[str] unsetValues: _list[str] @typing.type_check_only -class SearchChainsResponse(typing_extensions.TypedDict, total=False): +class SearchChainsResponse(typing.TypedDict, total=False): chains: _list[Chain] @typing.type_check_only -class SearchGoogleLocationsRequest(typing_extensions.TypedDict, total=False): +class SearchGoogleLocationsRequest(typing.TypedDict, total=False): location: Location pageSize: int query: str @typing.type_check_only -class SearchGoogleLocationsResponse(typing_extensions.TypedDict, total=False): +class SearchGoogleLocationsResponse(typing.TypedDict, total=False): googleLocations: _list[GoogleLocation] @typing.type_check_only -class ServiceAreaBusiness(typing_extensions.TypedDict, total=False): - businessType: typing_extensions.Literal[ +class ServiceAreaBusiness(typing.TypedDict, total=False): + businessType: typing.Literal[ "BUSINESS_TYPE_UNSPECIFIED", "CUSTOMER_LOCATION_ONLY", "CUSTOMER_AND_BUSINESS_LOCATION", @@ -273,18 +271,18 @@ class ServiceAreaBusiness(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class ServiceItem(typing_extensions.TypedDict, total=False): +class ServiceItem(typing.TypedDict, total=False): freeFormServiceItem: FreeFormServiceItem price: Money structuredServiceItem: StructuredServiceItem @typing.type_check_only -class ServiceType(typing_extensions.TypedDict, total=False): +class ServiceType(typing.TypedDict, total=False): displayName: str serviceTypeId: str @typing.type_check_only -class SpecialHourPeriod(typing_extensions.TypedDict, total=False): +class SpecialHourPeriod(typing.TypedDict, total=False): closeTime: TimeOfDay closed: bool endDate: Date @@ -292,24 +290,24 @@ class SpecialHourPeriod(typing_extensions.TypedDict, total=False): startDate: Date @typing.type_check_only -class SpecialHours(typing_extensions.TypedDict, total=False): +class SpecialHours(typing.TypedDict, total=False): specialHourPeriods: _list[SpecialHourPeriod] @typing.type_check_only -class StructuredServiceItem(typing_extensions.TypedDict, total=False): +class StructuredServiceItem(typing.TypedDict, total=False): description: str serviceTypeId: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimePeriod(typing_extensions.TypedDict, total=False): - closeDay: typing_extensions.Literal[ +class TimePeriod(typing.TypedDict, total=False): + closeDay: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -320,7 +318,7 @@ class TimePeriod(typing_extensions.TypedDict, total=False): "SUNDAY", ] closeTime: TimeOfDay - openDay: typing_extensions.Literal[ + openDay: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -333,5 +331,5 @@ class TimePeriod(typing_extensions.TypedDict, total=False): openTime: TimeOfDay @typing.type_check_only -class UriAttributeValue(typing_extensions.TypedDict, total=False): +class UriAttributeValue(typing.TypedDict, total=False): uri: str diff --git a/googleapiclient-stubs/_apis/mybusinesslodging/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinesslodging/v1/resources.pyi index 4e88922e9..69ba0fb55 100644 --- a/googleapiclient-stubs/_apis/mybusinesslodging/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinesslodging/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/mybusinesslodging/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinesslodging/v1/schemas.pyi index 5761350c5..732c18a58 100644 --- a/googleapiclient-stubs/_apis/mybusinesslodging/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinesslodging/v1/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accessibility(typing_extensions.TypedDict, total=False): +class Accessibility(typing.TypedDict, total=False): mobilityAccessible: bool mobilityAccessibleElevator: bool - mobilityAccessibleElevatorException: typing_extensions.Literal[ + mobilityAccessibleElevatorException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] - mobilityAccessibleException: typing_extensions.Literal[ + mobilityAccessibleException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] mobilityAccessibleParking: bool - mobilityAccessibleParkingException: typing_extensions.Literal[ + mobilityAccessibleParkingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] mobilityAccessiblePool: bool - mobilityAccessiblePoolException: typing_extensions.Literal[ + mobilityAccessiblePoolException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -36,121 +34,121 @@ class Accessibility(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Activities(typing_extensions.TypedDict, total=False): +class Activities(typing.TypedDict, total=False): beachAccess: bool - beachAccessException: typing_extensions.Literal[ + beachAccessException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] beachFront: bool - beachFrontException: typing_extensions.Literal[ + beachFrontException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] bicycleRental: bool - bicycleRentalException: typing_extensions.Literal[ + bicycleRentalException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] boutiqueStores: bool - boutiqueStoresException: typing_extensions.Literal[ + boutiqueStoresException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] casino: bool - casinoException: typing_extensions.Literal[ + casinoException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeBicycleRental: bool - freeBicycleRentalException: typing_extensions.Literal[ + freeBicycleRentalException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeWatercraftRental: bool - freeWatercraftRentalException: typing_extensions.Literal[ + freeWatercraftRentalException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] gameRoom: bool - gameRoomException: typing_extensions.Literal[ + gameRoomException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] golf: bool - golfException: typing_extensions.Literal[ + golfException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] horsebackRiding: bool - horsebackRidingException: typing_extensions.Literal[ + horsebackRidingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] nightclub: bool - nightclubException: typing_extensions.Literal[ + nightclubException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] privateBeach: bool - privateBeachException: typing_extensions.Literal[ + privateBeachException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] scuba: bool - scubaException: typing_extensions.Literal[ + scubaException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] snorkeling: bool - snorkelingException: typing_extensions.Literal[ + snorkelingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] tennis: bool - tennisException: typing_extensions.Literal[ + tennisException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] waterSkiing: bool - waterSkiingException: typing_extensions.Literal[ + waterSkiingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] watercraftRental: bool - watercraftRentalException: typing_extensions.Literal[ + watercraftRentalException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -158,9 +156,9 @@ class Activities(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Business(typing_extensions.TypedDict, total=False): +class Business(typing.TypedDict, total=False): businessCenter: bool - businessCenterException: typing_extensions.Literal[ + businessCenterException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -168,13 +166,13 @@ class Business(typing_extensions.TypedDict, total=False): ] meetingRooms: bool meetingRoomsCount: int - meetingRoomsCountException: typing_extensions.Literal[ + meetingRoomsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] - meetingRoomsException: typing_extensions.Literal[ + meetingRoomsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -182,30 +180,30 @@ class Business(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Connectivity(typing_extensions.TypedDict, total=False): +class Connectivity(typing.TypedDict, total=False): freeWifi: bool - freeWifiException: typing_extensions.Literal[ + freeWifiException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] publicAreaWifiAvailable: bool - publicAreaWifiAvailableException: typing_extensions.Literal[ + publicAreaWifiAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] publicInternetTerminal: bool - publicInternetTerminalException: typing_extensions.Literal[ + publicInternetTerminalException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] wifiAvailable: bool - wifiAvailableException: typing_extensions.Literal[ + wifiAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -213,15 +211,15 @@ class Connectivity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EcoCertification(typing_extensions.TypedDict, total=False): +class EcoCertification(typing.TypedDict, total=False): awarded: bool - awardedException: typing_extensions.Literal[ + awardedException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] - ecoCertificate: typing_extensions.Literal[ + ecoCertificate: typing.Literal[ "ECO_CERTIFICATE_UNSPECIFIED", "ISO14001", "ISO50001", @@ -253,51 +251,51 @@ class EcoCertification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EnergyEfficiency(typing_extensions.TypedDict, total=False): +class EnergyEfficiency(typing.TypedDict, total=False): carbonFreeEnergySources: bool - carbonFreeEnergySourcesException: typing_extensions.Literal[ + carbonFreeEnergySourcesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] energyConservationProgram: bool - energyConservationProgramException: typing_extensions.Literal[ + energyConservationProgramException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] energyEfficientHeatingAndCoolingSystems: bool - energyEfficientHeatingAndCoolingSystemsException: typing_extensions.Literal[ + energyEfficientHeatingAndCoolingSystemsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] energyEfficientLighting: bool - energyEfficientLightingException: typing_extensions.Literal[ + energyEfficientLightingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] energySavingThermostats: bool - energySavingThermostatsException: typing_extensions.Literal[ + energySavingThermostatsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] greenBuildingDesign: bool - greenBuildingDesignException: typing_extensions.Literal[ + greenBuildingDesignException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] independentOrganizationAuditsEnergyUse: bool - independentOrganizationAuditsEnergyUseException: typing_extensions.Literal[ + independentOrganizationAuditsEnergyUseException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -305,44 +303,44 @@ class EnergyEfficiency(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class EnhancedCleaning(typing_extensions.TypedDict, total=False): +class EnhancedCleaning(typing.TypedDict, total=False): commercialGradeDisinfectantCleaning: bool - commercialGradeDisinfectantCleaningException: typing_extensions.Literal[ + commercialGradeDisinfectantCleaningException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] commonAreasEnhancedCleaning: bool - commonAreasEnhancedCleaningException: typing_extensions.Literal[ + commonAreasEnhancedCleaningException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] employeesTrainedCleaningProcedures: bool - employeesTrainedCleaningProceduresException: typing_extensions.Literal[ + employeesTrainedCleaningProceduresException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] employeesTrainedThoroughHandWashing: bool - employeesTrainedThoroughHandWashingException: typing_extensions.Literal[ + employeesTrainedThoroughHandWashingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] employeesWearProtectiveEquipment: bool - employeesWearProtectiveEquipmentException: typing_extensions.Literal[ + employeesWearProtectiveEquipmentException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] guestRoomsEnhancedCleaning: bool - guestRoomsEnhancedCleaningException: typing_extensions.Literal[ + guestRoomsEnhancedCleaningException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -350,30 +348,30 @@ class EnhancedCleaning(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Families(typing_extensions.TypedDict, total=False): +class Families(typing.TypedDict, total=False): babysitting: bool - babysittingException: typing_extensions.Literal[ + babysittingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] kidsActivities: bool - kidsActivitiesException: typing_extensions.Literal[ + kidsActivitiesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] kidsClub: bool - kidsClubException: typing_extensions.Literal[ + kidsClubException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] kidsFriendly: bool - kidsFriendlyException: typing_extensions.Literal[ + kidsFriendlyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -381,86 +379,86 @@ class Families(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FoodAndDrink(typing_extensions.TypedDict, total=False): +class FoodAndDrink(typing.TypedDict, total=False): bar: bool - barException: typing_extensions.Literal[ + barException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] breakfastAvailable: bool - breakfastAvailableException: typing_extensions.Literal[ + breakfastAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] breakfastBuffet: bool - breakfastBuffetException: typing_extensions.Literal[ + breakfastBuffetException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] buffet: bool - buffetException: typing_extensions.Literal[ + buffetException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] dinnerBuffet: bool - dinnerBuffetException: typing_extensions.Literal[ + dinnerBuffetException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeBreakfast: bool - freeBreakfastException: typing_extensions.Literal[ + freeBreakfastException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] restaurant: bool - restaurantException: typing_extensions.Literal[ + restaurantException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] restaurantsCount: int - restaurantsCountException: typing_extensions.Literal[ + restaurantsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] roomService: bool - roomServiceException: typing_extensions.Literal[ + roomServiceException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] tableService: bool - tableServiceException: typing_extensions.Literal[ + tableServiceException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] twentyFourHourRoomService: bool - twentyFourHourRoomServiceException: typing_extensions.Literal[ + twentyFourHourRoomServiceException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] vendingMachine: bool - vendingMachineException: typing_extensions.Literal[ + vendingMachineException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -468,72 +466,70 @@ class FoodAndDrink(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GetGoogleUpdatedLodgingResponse(typing_extensions.TypedDict, total=False): +class GetGoogleUpdatedLodgingResponse(typing.TypedDict, total=False): diffMask: str lodging: Lodging @typing.type_check_only -class GuestUnitFeatures(typing_extensions.TypedDict, total=False): +class GuestUnitFeatures(typing.TypedDict, total=False): bungalowOrVilla: bool - bungalowOrVillaException: typing_extensions.Literal[ + bungalowOrVillaException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] connectingUnitAvailable: bool - connectingUnitAvailableException: typing_extensions.Literal[ + connectingUnitAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] executiveFloor: bool - executiveFloorException: typing_extensions.Literal[ + executiveFloorException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] maxAdultOccupantsCount: int - maxAdultOccupantsCountException: typing_extensions.Literal[ + maxAdultOccupantsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] maxChildOccupantsCount: int - maxChildOccupantsCountException: typing_extensions.Literal[ + maxChildOccupantsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] maxOccupantsCount: int - maxOccupantsCountException: typing_extensions.Literal[ + maxOccupantsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] privateHome: bool - privateHomeException: typing_extensions.Literal[ + privateHomeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] suite: bool - suiteException: typing_extensions.Literal[ + suiteException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] - tier: typing_extensions.Literal[ - "UNIT_TIER_UNSPECIFIED", "STANDARD_UNIT", "DELUXE_UNIT" - ] - tierException: typing_extensions.Literal[ + tier: typing.Literal["UNIT_TIER_UNSPECIFIED", "STANDARD_UNIT", "DELUXE_UNIT"] + tierException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -543,13 +539,13 @@ class GuestUnitFeatures(typing_extensions.TypedDict, total=False): views: ViewsFromUnit @typing.type_check_only -class GuestUnitType(typing_extensions.TypedDict, total=False): +class GuestUnitType(typing.TypedDict, total=False): codes: _list[str] features: GuestUnitFeatures label: str @typing.type_check_only -class HealthAndSafety(typing_extensions.TypedDict, total=False): +class HealthAndSafety(typing.TypedDict, total=False): enhancedCleaning: EnhancedCleaning increasedFoodSafety: IncreasedFoodSafety minimizedContact: MinimizedContact @@ -557,23 +553,23 @@ class HealthAndSafety(typing_extensions.TypedDict, total=False): physicalDistancing: PhysicalDistancing @typing.type_check_only -class Housekeeping(typing_extensions.TypedDict, total=False): +class Housekeeping(typing.TypedDict, total=False): dailyHousekeeping: bool - dailyHousekeepingException: typing_extensions.Literal[ + dailyHousekeepingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] housekeepingAvailable: bool - housekeepingAvailableException: typing_extensions.Literal[ + housekeepingAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] turndownService: bool - turndownServiceException: typing_extensions.Literal[ + turndownServiceException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -581,37 +577,37 @@ class Housekeeping(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IncreasedFoodSafety(typing_extensions.TypedDict, total=False): +class IncreasedFoodSafety(typing.TypedDict, total=False): diningAreasAdditionalSanitation: bool - diningAreasAdditionalSanitationException: typing_extensions.Literal[ + diningAreasAdditionalSanitationException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] disposableFlatware: bool - disposableFlatwareException: typing_extensions.Literal[ + disposableFlatwareException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] foodPreparationAndServingAdditionalSafety: bool - foodPreparationAndServingAdditionalSafetyException: typing_extensions.Literal[ + foodPreparationAndServingAdditionalSafetyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] individualPackagedMeals: bool - individualPackagedMealsException: typing_extensions.Literal[ + individualPackagedMealsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] singleUseFoodMenus: bool - singleUseFoodMenusException: typing_extensions.Literal[ + singleUseFoodMenusException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -619,10 +615,10 @@ class IncreasedFoodSafety(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LanguageSpoken(typing_extensions.TypedDict, total=False): +class LanguageSpoken(typing.TypedDict, total=False): languageCode: str spoken: bool - spokenException: typing_extensions.Literal[ + spokenException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -630,7 +626,7 @@ class LanguageSpoken(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LivingArea(typing_extensions.TypedDict, total=False): +class LivingArea(typing.TypedDict, total=False): accessibility: LivingAreaAccessibility eating: LivingAreaEating features: LivingAreaFeatures @@ -638,58 +634,58 @@ class LivingArea(typing_extensions.TypedDict, total=False): sleeping: LivingAreaSleeping @typing.type_check_only -class LivingAreaAccessibility(typing_extensions.TypedDict, total=False): +class LivingAreaAccessibility(typing.TypedDict, total=False): adaCompliantUnit: bool - adaCompliantUnitException: typing_extensions.Literal[ + adaCompliantUnitException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] hearingAccessibleDoorbell: bool - hearingAccessibleDoorbellException: typing_extensions.Literal[ + hearingAccessibleDoorbellException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] hearingAccessibleFireAlarm: bool - hearingAccessibleFireAlarmException: typing_extensions.Literal[ + hearingAccessibleFireAlarmException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] hearingAccessibleUnit: bool - hearingAccessibleUnitException: typing_extensions.Literal[ + hearingAccessibleUnitException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] mobilityAccessibleBathtub: bool - mobilityAccessibleBathtubException: typing_extensions.Literal[ + mobilityAccessibleBathtubException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] mobilityAccessibleShower: bool - mobilityAccessibleShowerException: typing_extensions.Literal[ + mobilityAccessibleShowerException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] mobilityAccessibleToilet: bool - mobilityAccessibleToiletException: typing_extensions.Literal[ + mobilityAccessibleToiletException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] mobilityAccessibleUnit: bool - mobilityAccessibleUnitException: typing_extensions.Literal[ + mobilityAccessibleUnitException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -697,114 +693,114 @@ class LivingAreaAccessibility(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LivingAreaEating(typing_extensions.TypedDict, total=False): +class LivingAreaEating(typing.TypedDict, total=False): coffeeMaker: bool - coffeeMakerException: typing_extensions.Literal[ + coffeeMakerException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] cookware: bool - cookwareException: typing_extensions.Literal[ + cookwareException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] dishwasher: bool - dishwasherException: typing_extensions.Literal[ + dishwasherException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] indoorGrill: bool - indoorGrillException: typing_extensions.Literal[ + indoorGrillException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] kettle: bool - kettleException: typing_extensions.Literal[ + kettleException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] kitchenAvailable: bool - kitchenAvailableException: typing_extensions.Literal[ + kitchenAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] microwave: bool - microwaveException: typing_extensions.Literal[ + microwaveException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] minibar: bool - minibarException: typing_extensions.Literal[ + minibarException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] outdoorGrill: bool - outdoorGrillException: typing_extensions.Literal[ + outdoorGrillException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] oven: bool - ovenException: typing_extensions.Literal[ + ovenException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] refrigerator: bool - refrigeratorException: typing_extensions.Literal[ + refrigeratorException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] sink: bool - sinkException: typing_extensions.Literal[ + sinkException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] snackbar: bool - snackbarException: typing_extensions.Literal[ + snackbarException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] stove: bool - stoveException: typing_extensions.Literal[ + stoveException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] teaStation: bool - teaStationException: typing_extensions.Literal[ + teaStationException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] toaster: bool - toasterException: typing_extensions.Literal[ + toasterException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -812,107 +808,107 @@ class LivingAreaEating(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LivingAreaFeatures(typing_extensions.TypedDict, total=False): +class LivingAreaFeatures(typing.TypedDict, total=False): airConditioning: bool - airConditioningException: typing_extensions.Literal[ + airConditioningException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] bathtub: bool - bathtubException: typing_extensions.Literal[ + bathtubException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] bidet: bool - bidetException: typing_extensions.Literal[ + bidetException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] dryer: bool - dryerException: typing_extensions.Literal[ + dryerException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] electronicRoomKey: bool - electronicRoomKeyException: typing_extensions.Literal[ + electronicRoomKeyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] fireplace: bool - fireplaceException: typing_extensions.Literal[ + fireplaceException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] hairdryer: bool - hairdryerException: typing_extensions.Literal[ + hairdryerException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] heating: bool - heatingException: typing_extensions.Literal[ + heatingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] inunitSafe: bool - inunitSafeException: typing_extensions.Literal[ + inunitSafeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] inunitWifiAvailable: bool - inunitWifiAvailableException: typing_extensions.Literal[ + inunitWifiAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] ironingEquipment: bool - ironingEquipmentException: typing_extensions.Literal[ + ironingEquipmentException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] payPerViewMovies: bool - payPerViewMoviesException: typing_extensions.Literal[ + payPerViewMoviesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] privateBathroom: bool - privateBathroomException: typing_extensions.Literal[ + privateBathroomException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] shower: bool - showerException: typing_extensions.Literal[ + showerException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] toilet: bool - toiletException: typing_extensions.Literal[ + toiletException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -920,34 +916,34 @@ class LivingAreaFeatures(typing_extensions.TypedDict, total=False): ] tv: bool tvCasting: bool - tvCastingException: typing_extensions.Literal[ + tvCastingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] - tvException: typing_extensions.Literal[ + tvException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] tvStreaming: bool - tvStreamingException: typing_extensions.Literal[ + tvStreamingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] universalPowerAdapters: bool - universalPowerAdaptersException: typing_extensions.Literal[ + universalPowerAdaptersException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] washer: bool - washerException: typing_extensions.Literal[ + washerException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -955,44 +951,44 @@ class LivingAreaFeatures(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LivingAreaLayout(typing_extensions.TypedDict, total=False): +class LivingAreaLayout(typing.TypedDict, total=False): balcony: bool - balconyException: typing_extensions.Literal[ + balconyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] livingAreaSqMeters: float - livingAreaSqMetersException: typing_extensions.Literal[ + livingAreaSqMetersException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] loft: bool - loftException: typing_extensions.Literal[ + loftException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] nonSmoking: bool - nonSmokingException: typing_extensions.Literal[ + nonSmokingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] patio: bool - patioException: typing_extensions.Literal[ + patioException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] stairs: bool - stairsException: typing_extensions.Literal[ + stairsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1000,100 +996,100 @@ class LivingAreaLayout(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LivingAreaSleeping(typing_extensions.TypedDict, total=False): +class LivingAreaSleeping(typing.TypedDict, total=False): bedsCount: int - bedsCountException: typing_extensions.Literal[ + bedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] bunkBedsCount: int - bunkBedsCountException: typing_extensions.Literal[ + bunkBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] cribsCount: int - cribsCountException: typing_extensions.Literal[ + cribsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] doubleBedsCount: int - doubleBedsCountException: typing_extensions.Literal[ + doubleBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] featherPillows: bool - featherPillowsException: typing_extensions.Literal[ + featherPillowsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] hypoallergenicBedding: bool - hypoallergenicBeddingException: typing_extensions.Literal[ + hypoallergenicBeddingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] kingBedsCount: int - kingBedsCountException: typing_extensions.Literal[ + kingBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] memoryFoamPillows: bool - memoryFoamPillowsException: typing_extensions.Literal[ + memoryFoamPillowsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] otherBedsCount: int - otherBedsCountException: typing_extensions.Literal[ + otherBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] queenBedsCount: int - queenBedsCountException: typing_extensions.Literal[ + queenBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] rollAwayBedsCount: int - rollAwayBedsCountException: typing_extensions.Literal[ + rollAwayBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] singleOrTwinBedsCount: int - singleOrTwinBedsCountException: typing_extensions.Literal[ + singleOrTwinBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] sofaBedsCount: int - sofaBedsCountException: typing_extensions.Literal[ + sofaBedsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] syntheticPillows: bool - syntheticPillowsException: typing_extensions.Literal[ + syntheticPillowsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1101,7 +1097,7 @@ class LivingAreaSleeping(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Lodging(typing_extensions.TypedDict, total=False): +class Lodging(typing.TypedDict, total=False): accessibility: Accessibility activities: Activities allUnits: GuestUnitFeatures @@ -1127,55 +1123,55 @@ class Lodging(typing_extensions.TypedDict, total=False): wellness: Wellness @typing.type_check_only -class LodgingMetadata(typing_extensions.TypedDict, total=False): +class LodgingMetadata(typing.TypedDict, total=False): updateTime: str @typing.type_check_only -class MinimizedContact(typing_extensions.TypedDict, total=False): +class MinimizedContact(typing.TypedDict, total=False): contactlessCheckinCheckout: bool - contactlessCheckinCheckoutException: typing_extensions.Literal[ + contactlessCheckinCheckoutException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] digitalGuestRoomKeys: bool - digitalGuestRoomKeysException: typing_extensions.Literal[ + digitalGuestRoomKeysException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] housekeepingScheduledRequestOnly: bool - housekeepingScheduledRequestOnlyException: typing_extensions.Literal[ + housekeepingScheduledRequestOnlyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] noHighTouchItemsCommonAreas: bool - noHighTouchItemsCommonAreasException: typing_extensions.Literal[ + noHighTouchItemsCommonAreasException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] noHighTouchItemsGuestRooms: bool - noHighTouchItemsGuestRoomsException: typing_extensions.Literal[ + noHighTouchItemsGuestRoomsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] plasticKeycardsDisinfected: bool - plasticKeycardsDisinfectedException: typing_extensions.Literal[ + plasticKeycardsDisinfectedException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] roomBookingsBuffer: bool - roomBookingsBufferException: typing_extensions.Literal[ + roomBookingsBufferException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1183,51 +1179,51 @@ class MinimizedContact(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Parking(typing_extensions.TypedDict, total=False): +class Parking(typing.TypedDict, total=False): electricCarChargingStations: bool - electricCarChargingStationsException: typing_extensions.Literal[ + electricCarChargingStationsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeParking: bool - freeParkingException: typing_extensions.Literal[ + freeParkingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeSelfParking: bool - freeSelfParkingException: typing_extensions.Literal[ + freeSelfParkingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeValetParking: bool - freeValetParkingException: typing_extensions.Literal[ + freeValetParkingException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] parkingAvailable: bool - parkingAvailableException: typing_extensions.Literal[ + parkingAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] selfParkingAvailable: bool - selfParkingAvailableException: typing_extensions.Literal[ + selfParkingAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] valetParkingAvailable: bool - valetParkingAvailableException: typing_extensions.Literal[ + valetParkingAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1235,37 +1231,37 @@ class Parking(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PaymentOptions(typing_extensions.TypedDict, total=False): +class PaymentOptions(typing.TypedDict, total=False): cash: bool - cashException: typing_extensions.Literal[ + cashException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] cheque: bool - chequeException: typing_extensions.Literal[ + chequeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] creditCard: bool - creditCardException: typing_extensions.Literal[ + creditCardException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] debitCard: bool - debitCardException: typing_extensions.Literal[ + debitCardException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] mobileNfc: bool - mobileNfcException: typing_extensions.Literal[ + mobileNfcException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1273,30 +1269,30 @@ class PaymentOptions(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PersonalProtection(typing_extensions.TypedDict, total=False): +class PersonalProtection(typing.TypedDict, total=False): commonAreasOfferSanitizingItems: bool - commonAreasOfferSanitizingItemsException: typing_extensions.Literal[ + commonAreasOfferSanitizingItemsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] faceMaskRequired: bool - faceMaskRequiredException: typing_extensions.Literal[ + faceMaskRequiredException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] guestRoomHygieneKitsAvailable: bool - guestRoomHygieneKitsAvailableException: typing_extensions.Literal[ + guestRoomHygieneKitsAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] protectiveEquipmentAvailable: bool - protectiveEquipmentAvailableException: typing_extensions.Literal[ + protectiveEquipmentAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1304,30 +1300,30 @@ class PersonalProtection(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Pets(typing_extensions.TypedDict, total=False): +class Pets(typing.TypedDict, total=False): catsAllowed: bool - catsAllowedException: typing_extensions.Literal[ + catsAllowedException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] dogsAllowed: bool - dogsAllowedException: typing_extensions.Literal[ + dogsAllowedException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] petsAllowed: bool - petsAllowedException: typing_extensions.Literal[ + petsAllowedException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] petsAllowedFree: bool - petsAllowedFreeException: typing_extensions.Literal[ + petsAllowedFreeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1335,37 +1331,37 @@ class Pets(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PhysicalDistancing(typing_extensions.TypedDict, total=False): +class PhysicalDistancing(typing.TypedDict, total=False): commonAreasPhysicalDistancingArranged: bool - commonAreasPhysicalDistancingArrangedException: typing_extensions.Literal[ + commonAreasPhysicalDistancingArrangedException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] physicalDistancingRequired: bool - physicalDistancingRequiredException: typing_extensions.Literal[ + physicalDistancingRequiredException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] safetyDividers: bool - safetyDividersException: typing_extensions.Literal[ + safetyDividersException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] sharedAreasLimitedOccupancy: bool - sharedAreasLimitedOccupancyException: typing_extensions.Literal[ + sharedAreasLimitedOccupancyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] wellnessAreasHavePrivateSpaces: bool - wellnessAreasHavePrivateSpacesException: typing_extensions.Literal[ + wellnessAreasHavePrivateSpacesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1373,51 +1369,51 @@ class PhysicalDistancing(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Policies(typing_extensions.TypedDict, total=False): +class Policies(typing.TypedDict, total=False): allInclusiveAvailable: bool - allInclusiveAvailableException: typing_extensions.Literal[ + allInclusiveAvailableException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] allInclusiveOnly: bool - allInclusiveOnlyException: typing_extensions.Literal[ + allInclusiveOnlyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] checkinTime: TimeOfDay - checkinTimeException: typing_extensions.Literal[ + checkinTimeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] checkoutTime: TimeOfDay - checkoutTimeException: typing_extensions.Literal[ + checkoutTimeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] kidsStayFree: bool - kidsStayFreeException: typing_extensions.Literal[ + kidsStayFreeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] maxChildAge: int - maxChildAgeException: typing_extensions.Literal[ + maxChildAgeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] maxKidsStayFreeCount: int - maxKidsStayFreeCountException: typing_extensions.Literal[ + maxKidsStayFreeCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1425,7 +1421,7 @@ class Policies(typing_extensions.TypedDict, total=False): ] paymentOptions: PaymentOptions smokeFreeProperty: bool - smokeFreePropertyException: typing_extensions.Literal[ + smokeFreePropertyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1433,100 +1429,100 @@ class Policies(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Pools(typing_extensions.TypedDict, total=False): +class Pools(typing.TypedDict, total=False): adultPool: bool - adultPoolException: typing_extensions.Literal[ + adultPoolException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] hotTub: bool - hotTubException: typing_extensions.Literal[ + hotTubException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] indoorPool: bool - indoorPoolException: typing_extensions.Literal[ + indoorPoolException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] indoorPoolsCount: int - indoorPoolsCountException: typing_extensions.Literal[ + indoorPoolsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] lazyRiver: bool - lazyRiverException: typing_extensions.Literal[ + lazyRiverException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] lifeguard: bool - lifeguardException: typing_extensions.Literal[ + lifeguardException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] outdoorPool: bool - outdoorPoolException: typing_extensions.Literal[ + outdoorPoolException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] outdoorPoolsCount: int - outdoorPoolsCountException: typing_extensions.Literal[ + outdoorPoolsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] pool: bool - poolException: typing_extensions.Literal[ + poolException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] poolsCount: int - poolsCountException: typing_extensions.Literal[ + poolsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] wadingPool: bool - wadingPoolException: typing_extensions.Literal[ + wadingPoolException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] waterPark: bool - waterParkException: typing_extensions.Literal[ + waterParkException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] waterslide: bool - waterslideException: typing_extensions.Literal[ + waterslideException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] wavePool: bool - wavePoolException: typing_extensions.Literal[ + wavePoolException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1534,30 +1530,30 @@ class Pools(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Property(typing_extensions.TypedDict, total=False): +class Property(typing.TypedDict, total=False): builtYear: int - builtYearException: typing_extensions.Literal[ + builtYearException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] floorsCount: int - floorsCountException: typing_extensions.Literal[ + floorsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] lastRenovatedYear: int - lastRenovatedYearException: typing_extensions.Literal[ + lastRenovatedYearException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] roomsCount: int - roomsCountException: typing_extensions.Literal[ + roomsCountException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1565,58 +1561,58 @@ class Property(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Services(typing_extensions.TypedDict, total=False): +class Services(typing.TypedDict, total=False): baggageStorage: bool - baggageStorageException: typing_extensions.Literal[ + baggageStorageException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] concierge: bool - conciergeException: typing_extensions.Literal[ + conciergeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] convenienceStore: bool - convenienceStoreException: typing_extensions.Literal[ + convenienceStoreException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] currencyExchange: bool - currencyExchangeException: typing_extensions.Literal[ + currencyExchangeException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] elevator: bool - elevatorException: typing_extensions.Literal[ + elevatorException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] frontDesk: bool - frontDeskException: typing_extensions.Literal[ + frontDeskException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] fullServiceLaundry: bool - fullServiceLaundryException: typing_extensions.Literal[ + fullServiceLaundryException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] giftShop: bool - giftShopException: typing_extensions.Literal[ + giftShopException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1624,28 +1620,28 @@ class Services(typing_extensions.TypedDict, total=False): ] languagesSpoken: _list[LanguageSpoken] selfServiceLaundry: bool - selfServiceLaundryException: typing_extensions.Literal[ + selfServiceLaundryException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] socialHour: bool - socialHourException: typing_extensions.Literal[ + socialHourException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] twentyFourHourFrontDesk: bool - twentyFourHourFrontDeskException: typing_extensions.Literal[ + twentyFourHourFrontDeskException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] wakeUpCalls: bool - wakeUpCallsException: typing_extensions.Literal[ + wakeUpCallsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1653,7 +1649,7 @@ class Services(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Sustainability(typing_extensions.TypedDict, total=False): +class Sustainability(typing.TypedDict, total=False): energyEfficiency: EnergyEfficiency sustainabilityCertifications: SustainabilityCertifications sustainableSourcing: SustainableSourcing @@ -1661,8 +1657,8 @@ class Sustainability(typing_extensions.TypedDict, total=False): waterConservation: WaterConservation @typing.type_check_only -class SustainabilityCertifications(typing_extensions.TypedDict, total=False): - breeamCertification: typing_extensions.Literal[ +class SustainabilityCertifications(typing.TypedDict, total=False): + breeamCertification: typing.Literal[ "BREEAM_CERTIFICATION_UNSPECIFIED", "NO_BREEAM_CERTIFICATION", "BREEAM_PASS", @@ -1671,14 +1667,14 @@ class SustainabilityCertifications(typing_extensions.TypedDict, total=False): "BREEAM_EXCELLENT", "BREEAM_OUTSTANDING", ] - breeamCertificationException: typing_extensions.Literal[ + breeamCertificationException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] ecoCertifications: _list[EcoCertification] - leedCertification: typing_extensions.Literal[ + leedCertification: typing.Literal[ "LEED_CERTIFICATION_UNSPECIFIED", "NO_LEED_CERTIFICATION", "LEED_CERTIFIED", @@ -1686,7 +1682,7 @@ class SustainabilityCertifications(typing_extensions.TypedDict, total=False): "LEED_GOLD", "LEED_PLATINUM", ] - leedCertificationException: typing_extensions.Literal[ + leedCertificationException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1694,58 +1690,58 @@ class SustainabilityCertifications(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SustainableSourcing(typing_extensions.TypedDict, total=False): +class SustainableSourcing(typing.TypedDict, total=False): ecoFriendlyToiletries: bool - ecoFriendlyToiletriesException: typing_extensions.Literal[ + ecoFriendlyToiletriesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] locallySourcedFoodAndBeverages: bool - locallySourcedFoodAndBeveragesException: typing_extensions.Literal[ + locallySourcedFoodAndBeveragesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] organicCageFreeEggs: bool - organicCageFreeEggsException: typing_extensions.Literal[ + organicCageFreeEggsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] organicFoodAndBeverages: bool - organicFoodAndBeveragesException: typing_extensions.Literal[ + organicFoodAndBeveragesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] responsiblePurchasingPolicy: bool - responsiblePurchasingPolicyException: typing_extensions.Literal[ + responsiblePurchasingPolicyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] responsiblySourcesSeafood: bool - responsiblySourcesSeafoodException: typing_extensions.Literal[ + responsiblySourcesSeafoodException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] veganMeals: bool - veganMealsException: typing_extensions.Literal[ + veganMealsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] vegetarianMeals: bool - vegetarianMealsException: typing_extensions.Literal[ + vegetarianMealsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1753,58 +1749,58 @@ class SustainableSourcing(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class Transportation(typing_extensions.TypedDict, total=False): +class Transportation(typing.TypedDict, total=False): airportShuttle: bool - airportShuttleException: typing_extensions.Literal[ + airportShuttleException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] carRentalOnProperty: bool - carRentalOnPropertyException: typing_extensions.Literal[ + carRentalOnPropertyException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeAirportShuttle: bool - freeAirportShuttleException: typing_extensions.Literal[ + freeAirportShuttleException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freePrivateCarService: bool - freePrivateCarServiceException: typing_extensions.Literal[ + freePrivateCarServiceException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] localShuttle: bool - localShuttleException: typing_extensions.Literal[ + localShuttleException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] privateCarService: bool - privateCarServiceException: typing_extensions.Literal[ + privateCarServiceException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] transfer: bool - transferException: typing_extensions.Literal[ + transferException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1812,58 +1808,58 @@ class Transportation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ViewsFromUnit(typing_extensions.TypedDict, total=False): +class ViewsFromUnit(typing.TypedDict, total=False): beachView: bool - beachViewException: typing_extensions.Literal[ + beachViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] cityView: bool - cityViewException: typing_extensions.Literal[ + cityViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] gardenView: bool - gardenViewException: typing_extensions.Literal[ + gardenViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] lakeView: bool - lakeViewException: typing_extensions.Literal[ + lakeViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] landmarkView: bool - landmarkViewException: typing_extensions.Literal[ + landmarkViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] oceanView: bool - oceanViewException: typing_extensions.Literal[ + oceanViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] poolView: bool - poolViewException: typing_extensions.Literal[ + poolViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] valleyView: bool - valleyViewException: typing_extensions.Literal[ + valleyViewException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1871,114 +1867,114 @@ class ViewsFromUnit(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WasteReduction(typing_extensions.TypedDict, total=False): +class WasteReduction(typing.TypedDict, total=False): compostableFoodContainersAndCutlery: bool - compostableFoodContainersAndCutleryException: typing_extensions.Literal[ + compostableFoodContainersAndCutleryException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] compostsExcessFood: bool - compostsExcessFoodException: typing_extensions.Literal[ + compostsExcessFoodException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] donatesExcessFood: bool - donatesExcessFoodException: typing_extensions.Literal[ + donatesExcessFoodException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] foodWasteReductionProgram: bool - foodWasteReductionProgramException: typing_extensions.Literal[ + foodWasteReductionProgramException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] noSingleUsePlasticStraws: bool - noSingleUsePlasticStrawsException: typing_extensions.Literal[ + noSingleUsePlasticStrawsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] noSingleUsePlasticWaterBottles: bool - noSingleUsePlasticWaterBottlesException: typing_extensions.Literal[ + noSingleUsePlasticWaterBottlesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] noStyrofoamFoodContainers: bool - noStyrofoamFoodContainersException: typing_extensions.Literal[ + noStyrofoamFoodContainersException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] recyclingProgram: bool - recyclingProgramException: typing_extensions.Literal[ + recyclingProgramException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] refillableToiletryContainers: bool - refillableToiletryContainersException: typing_extensions.Literal[ + refillableToiletryContainersException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] safelyDisposesBatteries: bool - safelyDisposesBatteriesException: typing_extensions.Literal[ + safelyDisposesBatteriesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] safelyDisposesElectronics: bool - safelyDisposesElectronicsException: typing_extensions.Literal[ + safelyDisposesElectronicsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] safelyDisposesLightbulbs: bool - safelyDisposesLightbulbsException: typing_extensions.Literal[ + safelyDisposesLightbulbsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] safelyHandlesHazardousSubstances: bool - safelyHandlesHazardousSubstancesException: typing_extensions.Literal[ + safelyHandlesHazardousSubstancesException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] soapDonationProgram: bool - soapDonationProgramException: typing_extensions.Literal[ + soapDonationProgramException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] toiletryDonationProgram: bool - toiletryDonationProgramException: typing_extensions.Literal[ + toiletryDonationProgramException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] waterBottleFillingStations: bool - waterBottleFillingStationsException: typing_extensions.Literal[ + waterBottleFillingStationsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -1986,44 +1982,44 @@ class WasteReduction(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WaterConservation(typing_extensions.TypedDict, total=False): +class WaterConservation(typing.TypedDict, total=False): independentOrganizationAuditsWaterUse: bool - independentOrganizationAuditsWaterUseException: typing_extensions.Literal[ + independentOrganizationAuditsWaterUseException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] linenReuseProgram: bool - linenReuseProgramException: typing_extensions.Literal[ + linenReuseProgramException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] towelReuseProgram: bool - towelReuseProgramException: typing_extensions.Literal[ + towelReuseProgramException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] waterSavingShowers: bool - waterSavingShowersException: typing_extensions.Literal[ + waterSavingShowersException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] waterSavingSinks: bool - waterSavingSinksException: typing_extensions.Literal[ + waterSavingSinksException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] waterSavingToilets: bool - waterSavingToiletsException: typing_extensions.Literal[ + waterSavingToiletsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", @@ -2031,79 +2027,79 @@ class WaterConservation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Wellness(typing_extensions.TypedDict, total=False): +class Wellness(typing.TypedDict, total=False): doctorOnCall: bool - doctorOnCallException: typing_extensions.Literal[ + doctorOnCallException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] ellipticalMachine: bool - ellipticalMachineException: typing_extensions.Literal[ + ellipticalMachineException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] fitnessCenter: bool - fitnessCenterException: typing_extensions.Literal[ + fitnessCenterException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeFitnessCenter: bool - freeFitnessCenterException: typing_extensions.Literal[ + freeFitnessCenterException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] freeWeights: bool - freeWeightsException: typing_extensions.Literal[ + freeWeightsException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] massage: bool - massageException: typing_extensions.Literal[ + massageException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] salon: bool - salonException: typing_extensions.Literal[ + salonException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] sauna: bool - saunaException: typing_extensions.Literal[ + saunaException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] spa: bool - spaException: typing_extensions.Literal[ + spaException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] treadmill: bool - treadmillException: typing_extensions.Literal[ + treadmillException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", "DEPENDENT_ON_DAY_OF_WEEK", ] weightMachine: bool - weightMachineException: typing_extensions.Literal[ + weightMachineException: typing.Literal[ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", "DEPENDENT_ON_SEASON", diff --git a/googleapiclient-stubs/_apis/mybusinessnotifications/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessnotifications/v1/resources.pyi index f6f8af0f9..9a86fc7e1 100644 --- a/googleapiclient-stubs/_apis/mybusinessnotifications/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessnotifications/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/mybusinessnotifications/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessnotifications/v1/schemas.pyi index a05a38339..36069b765 100644 --- a/googleapiclient-stubs/_apis/mybusinessnotifications/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessnotifications/v1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class NotificationSetting(typing_extensions.TypedDict, total=False): +class NotificationSetting(typing.TypedDict, total=False): name: str notificationTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "NOTIFICATION_TYPE_UNSPECIFIED", "GOOGLE_UPDATE", "NEW_REVIEW", diff --git a/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/resources.pyi index bc77e6d36..b097340d0 100644 --- a/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi index 13c792e0f..fc59af0e6 100644 --- a/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListPlaceActionLinksResponse(typing_extensions.TypedDict, total=False): +class ListPlaceActionLinksResponse(typing.TypedDict, total=False): nextPageToken: str placeActionLinks: _list[PlaceActionLink] @typing.type_check_only -class ListPlaceActionTypeMetadataResponse(typing_extensions.TypedDict, total=False): +class ListPlaceActionTypeMetadataResponse(typing.TypedDict, total=False): nextPageToken: str placeActionTypeMetadata: _list[PlaceActionTypeMetadata] @typing.type_check_only -class PlaceActionLink(typing_extensions.TypedDict, total=False): +class PlaceActionLink(typing.TypedDict, total=False): createTime: str isEditable: bool isPreferred: bool name: str - placeActionType: typing_extensions.Literal[ + placeActionType: typing.Literal[ "PLACE_ACTION_TYPE_UNSPECIFIED", "APPOINTMENT", "ONLINE_APPOINTMENT", @@ -34,16 +32,16 @@ class PlaceActionLink(typing_extensions.TypedDict, total=False): "SHOP_ONLINE", "SOLOPRENEUR_APPOINTMENT", ] - providerType: typing_extensions.Literal[ + providerType: typing.Literal[ "PROVIDER_TYPE_UNSPECIFIED", "MERCHANT", "AGGREGATOR_3P" ] updateTime: str uri: str @typing.type_check_only -class PlaceActionTypeMetadata(typing_extensions.TypedDict, total=False): +class PlaceActionTypeMetadata(typing.TypedDict, total=False): displayName: str - placeActionType: typing_extensions.Literal[ + placeActionType: typing.Literal[ "PLACE_ACTION_TYPE_UNSPECIFIED", "APPOINTMENT", "ONLINE_APPOINTMENT", diff --git a/googleapiclient-stubs/_apis/mybusinessqanda/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessqanda/v1/resources.pyi index c89939d3f..09a0905b9 100644 --- a/googleapiclient-stubs/_apis/mybusinessqanda/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessqanda/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/mybusinessqanda/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessqanda/v1/schemas.pyi index 01369aa6d..53e619863 100644 --- a/googleapiclient-stubs/_apis/mybusinessqanda/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessqanda/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Answer(typing_extensions.TypedDict, total=False): +class Answer(typing.TypedDict, total=False): author: Author createTime: str name: str @@ -14,30 +12,30 @@ class Answer(typing_extensions.TypedDict, total=False): upvoteCount: int @typing.type_check_only -class Author(typing_extensions.TypedDict, total=False): +class Author(typing.TypedDict, total=False): displayName: str profilePhotoUri: str - type: typing_extensions.Literal[ + type: typing.Literal[ "AUTHOR_TYPE_UNSPECIFIED", "REGULAR_USER", "LOCAL_GUIDE", "MERCHANT" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListAnswersResponse(typing_extensions.TypedDict, total=False): +class ListAnswersResponse(typing.TypedDict, total=False): answers: _list[Answer] nextPageToken: str totalSize: int @typing.type_check_only -class ListQuestionsResponse(typing_extensions.TypedDict, total=False): +class ListQuestionsResponse(typing.TypedDict, total=False): nextPageToken: str questions: _list[Question] totalSize: int @typing.type_check_only -class Question(typing_extensions.TypedDict, total=False): +class Question(typing.TypedDict, total=False): author: Author createTime: str name: str @@ -48,5 +46,5 @@ class Question(typing_extensions.TypedDict, total=False): upvoteCount: int @typing.type_check_only -class UpsertAnswerRequest(typing_extensions.TypedDict, total=False): +class UpsertAnswerRequest(typing.TypedDict, total=False): answer: Answer diff --git a/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi b/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi index 6058fef65..d8f365f80 100644 --- a/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/mybusinessverifications/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi index fd83543fb..df64f89cb 100644 --- a/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessverifications/v1/schemas.pyi @@ -1,64 +1,60 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddressVerificationData(typing_extensions.TypedDict, total=False): +class AddressVerificationData(typing.TypedDict, total=False): address: PostalAddress business: str expectedDeliveryDaysRegion: int @typing.type_check_only -class CompleteVerificationRequest(typing_extensions.TypedDict, total=False): +class CompleteVerificationRequest(typing.TypedDict, total=False): pin: str @typing.type_check_only -class CompleteVerificationResponse(typing_extensions.TypedDict, total=False): +class CompleteVerificationResponse(typing.TypedDict, total=False): verification: Verification @typing.type_check_only -class ComplyWithGuidelines(typing_extensions.TypedDict, total=False): - recommendationReason: typing_extensions.Literal[ +class ComplyWithGuidelines(typing.TypedDict, total=False): + recommendationReason: typing.Literal[ "RECOMMENDATION_REASON_UNSPECIFIED", "BUSINESS_LOCATION_SUSPENDED", "BUSINESS_LOCATION_DISABLED", ] @typing.type_check_only -class EmailVerificationData(typing_extensions.TypedDict, total=False): +class EmailVerificationData(typing.TypedDict, total=False): domain: str isUserNameEditable: bool user: str @typing.type_check_only -class FetchVerificationOptionsRequest(typing_extensions.TypedDict, total=False): +class FetchVerificationOptionsRequest(typing.TypedDict, total=False): context: ServiceBusinessContext languageCode: str @typing.type_check_only -class FetchVerificationOptionsResponse(typing_extensions.TypedDict, total=False): +class FetchVerificationOptionsResponse(typing.TypedDict, total=False): options: _list[VerificationOption] @typing.type_check_only -class GenerateInstantVerificationTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateInstantVerificationTokenRequest(typing.TypedDict, total=False): locationId: str @typing.type_check_only -class GenerateInstantVerificationTokenResponse( - typing_extensions.TypedDict, total=False -): +class GenerateInstantVerificationTokenResponse(typing.TypedDict, total=False): instantVerificationToken: str - result: typing_extensions.Literal["RESULT_UNSPECIFIED", "SUCCEEDED", "FAILED"] + result: typing.Literal["RESULT_UNSPECIFIED", "SUCCEEDED", "FAILED"] @typing.type_check_only -class ListVerificationsResponse(typing_extensions.TypedDict, total=False): +class ListVerificationsResponse(typing.TypedDict, total=False): nextPageToken: str verifications: _list[Verification] @typing.type_check_only -class PostalAddress(typing_extensions.TypedDict, total=False): +class PostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -72,17 +68,17 @@ class PostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class ResolveOwnershipConflict(typing_extensions.TypedDict, total=False): ... +class ResolveOwnershipConflict(typing.TypedDict, total=False): ... @typing.type_check_only -class ServiceBusinessContext(typing_extensions.TypedDict, total=False): +class ServiceBusinessContext(typing.TypedDict, total=False): address: PostalAddress @typing.type_check_only -class Verification(typing_extensions.TypedDict, total=False): +class Verification(typing.TypedDict, total=False): announcement: str createTime: str - method: typing_extensions.Literal[ + method: typing.Literal[ "VERIFICATION_METHOD_UNSPECIFIED", "ADDRESS", "EMAIL", @@ -92,17 +88,15 @@ class Verification(typing_extensions.TypedDict, total=False): "TRUSTED_PARTNER", ] name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "COMPLETED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "COMPLETED", "FAILED"] @typing.type_check_only -class VerificationOption(typing_extensions.TypedDict, total=False): +class VerificationOption(typing.TypedDict, total=False): addressData: AddressVerificationData announcement: str emailData: EmailVerificationData phoneNumber: str - verificationMethod: typing_extensions.Literal[ + verificationMethod: typing.Literal[ "VERIFICATION_METHOD_UNSPECIFIED", "ADDRESS", "EMAIL", @@ -113,20 +107,20 @@ class VerificationOption(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VerificationToken(typing_extensions.TypedDict, total=False): +class VerificationToken(typing.TypedDict, total=False): tokenString: str @typing.type_check_only -class Verify(typing_extensions.TypedDict, total=False): +class Verify(typing.TypedDict, total=False): hasPendingVerification: bool @typing.type_check_only -class VerifyLocationRequest(typing_extensions.TypedDict, total=False): +class VerifyLocationRequest(typing.TypedDict, total=False): context: ServiceBusinessContext emailAddress: str languageCode: str mailerContact: str - method: typing_extensions.Literal[ + method: typing.Literal[ "VERIFICATION_METHOD_UNSPECIFIED", "ADDRESS", "EMAIL", @@ -140,11 +134,11 @@ class VerifyLocationRequest(typing_extensions.TypedDict, total=False): trustedPartnerToken: str @typing.type_check_only -class VerifyLocationResponse(typing_extensions.TypedDict, total=False): +class VerifyLocationResponse(typing.TypedDict, total=False): verification: Verification @typing.type_check_only -class VoiceOfMerchantState(typing_extensions.TypedDict, total=False): +class VoiceOfMerchantState(typing.TypedDict, total=False): complyWithGuidelines: ComplyWithGuidelines hasBusinessAuthority: bool hasVoiceOfMerchant: bool @@ -153,4 +147,4 @@ class VoiceOfMerchantState(typing_extensions.TypedDict, total=False): waitForVoiceOfMerchant: WaitForVoiceOfMerchant @typing.type_check_only -class WaitForVoiceOfMerchant(typing_extensions.TypedDict, total=False): ... +class WaitForVoiceOfMerchant(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi index 951e2448f..d96245417 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -588,6 +587,9 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> VolumeHttpRequest: ... + def getSplitStatus( + self, *, name: str, **kwargs: typing.Any + ) -> SplitStatusHttpRequest: ... def list( self, *, @@ -621,6 +623,9 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): def revert( self, *, name: str, body: RevertVolumeRequest, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def startSplit( + self, *, name: str, body: StartSplitRequest, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def quotaRules(self) -> QuotaRulesResource: ... def replications(self) -> ReplicationsResource: ... def snapshots(self) -> SnapshotsResource: ... @@ -908,6 +913,14 @@ class SnapshotHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Snapshot: ... +@typing.type_check_only +class SplitStatusHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SplitStatus: ... + @typing.type_check_only class StoragePoolHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi index fcfb281b0..defb9e9d6 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveDirectory(typing_extensions.TypedDict, total=False): +class ActiveDirectory(typing.TypedDict, total=False): administrators: _list[str] aesEncryption: bool backupOperators: _list[str] @@ -25,7 +23,7 @@ class ActiveDirectory(typing_extensions.TypedDict, total=False): password: str securityOperators: _list[str] site: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -39,9 +37,9 @@ class ActiveDirectory(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): backupRegion: str - backupType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MANUAL", "SCHEDULED"] + backupType: typing.Literal["TYPE_UNSPECIFIED", "MANUAL", "SCHEDULED"] chainStorageBytes: str createTime: str description: str @@ -53,7 +51,7 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzs: bool sourceSnapshot: str sourceVolume: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPLOADING", @@ -66,14 +64,14 @@ class Backup(typing_extensions.TypedDict, total=False): volumeUsageBytes: str @typing.type_check_only -class BackupConfig(typing_extensions.TypedDict, total=False): +class BackupConfig(typing.TypedDict, total=False): backupChainBytes: str backupPolicies: _list[str] backupVault: str scheduledBackupEnabled: bool @typing.type_check_only -class BackupPolicy(typing_extensions.TypedDict, total=False): +class BackupPolicy(typing.TypedDict, total=False): assignedVolumeCount: int createTime: str dailyBackupLimit: int @@ -82,13 +80,13 @@ class BackupPolicy(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] monthlyBackupLimit: int name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] weeklyBackupLimit: int @typing.type_check_only -class BackupRetentionPolicy(typing_extensions.TypedDict, total=False): +class BackupRetentionPolicy(typing.TypedDict, total=False): backupMinimumEnforcedRetentionDays: int dailyBackupImmutable: bool manualBackupImmutable: bool @@ -96,22 +94,22 @@ class BackupRetentionPolicy(typing_extensions.TypedDict, total=False): weeklyBackupImmutable: bool @typing.type_check_only -class BackupSource(typing_extensions.TypedDict, total=False): +class BackupSource(typing.TypedDict, total=False): backup: str fileList: _list[str] @typing.type_check_only -class BackupVault(typing_extensions.TypedDict, total=False): +class BackupVault(typing.TypedDict, total=False): backupRegion: str backupRetentionPolicy: BackupRetentionPolicy - backupVaultType: typing_extensions.Literal[ + backupVaultType: typing.Literal[ "BACKUP_VAULT_TYPE_UNSPECIFIED", "IN_REGION", "CROSS_REGION" ] backupsCryptoKeyVersion: str createTime: str description: str destinationBackupVault: str - encryptionState: typing_extensions.Literal[ + encryptionState: typing.Literal[ "ENCRYPTION_STATE_UNSPECIFIED", "ENCRYPTION_STATE_PENDING", "ENCRYPTION_STATE_COMPLETED", @@ -123,22 +121,22 @@ class BackupVault(typing_extensions.TypedDict, total=False): name: str sourceBackupVault: str sourceRegion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] @typing.type_check_only -class BlockDevice(typing_extensions.TypedDict, total=False): +class BlockDevice(typing.TypedDict, total=False): hostGroups: _list[str] identifier: str name: str - osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + osType: typing.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] sizeGib: str @typing.type_check_only -class CacheConfig(typing_extensions.TypedDict, total=False): +class CacheConfig(typing.TypedDict, total=False): cachePrePopulate: CachePrePopulate - cachePrePopulateState: typing_extensions.Literal[ + cachePrePopulateState: typing.Literal[ "CACHE_PRE_POPULATE_STATE_UNSPECIFIED", "NOT_NEEDED", "IN_PROGRESS", @@ -149,9 +147,9 @@ class CacheConfig(typing_extensions.TypedDict, total=False): writebackEnabled: bool @typing.type_check_only -class CacheParameters(typing_extensions.TypedDict, total=False): +class CacheParameters(typing.TypedDict, total=False): cacheConfig: CacheConfig - cacheState: typing_extensions.Literal[ + cacheState: typing.Literal[ "CACHE_STATE_UNSPECIFIED", "PENDING_CLUSTER_PEERING", "PENDING_SVM_PEERING", @@ -169,28 +167,34 @@ class CacheParameters(typing_extensions.TypedDict, total=False): stateDetails: str @typing.type_check_only -class CachePrePopulate(typing_extensions.TypedDict, total=False): +class CachePrePopulate(typing.TypedDict, total=False): excludePathList: _list[str] pathList: _list[str] recursion: bool @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloneDetails(typing_extensions.TypedDict, total=False): +class CloneDetails(typing.TypedDict, total=False): sharedSpaceGib: str sourceSnapshot: str sourceVolume: str + splitState: typing.Literal[ + "SPLIT_STATE_UNSPECIFIED", + "SPLIT_STATE_NOT_SPLITTING", + "SPLIT_STATE_IN_PROGRESS", + "SPLIT_STATE_FAILED", + ] @typing.type_check_only -class DailySchedule(typing_extensions.TypedDict, total=False): +class DailySchedule(typing.TypedDict, total=False): hour: float minute: float snapshotsToKeep: float @typing.type_check_only -class DestinationVolumeParameters(typing_extensions.TypedDict, total=False): +class DestinationVolumeParameters(typing.TypedDict, total=False): description: str shareName: str storagePool: str @@ -198,73 +202,73 @@ class DestinationVolumeParameters(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class EncryptVolumesRequest(typing_extensions.TypedDict, total=False): ... +class EncryptVolumesRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EstablishPeeringRequest(typing_extensions.TypedDict, total=False): +class EstablishPeeringRequest(typing.TypedDict, total=False): peerClusterName: str peerIpAddresses: _list[str] peerSvmName: str peerVolumeName: str @typing.type_check_only -class EstablishVolumePeeringRequest(typing_extensions.TypedDict, total=False): +class EstablishVolumePeeringRequest(typing.TypedDict, total=False): peerClusterName: str peerIpAddresses: _list[str] peerSvmName: str peerVolumeName: str @typing.type_check_only -class ExecuteOntapDeleteResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapDeleteResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapGetResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapGetResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPatchRequest(typing_extensions.TypedDict, total=False): +class ExecuteOntapPatchRequest(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPatchResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapPatchResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPostRequest(typing_extensions.TypedDict, total=False): +class ExecuteOntapPostRequest(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPostResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapPostResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExportPolicy(typing_extensions.TypedDict, total=False): +class ExportPolicy(typing.TypedDict, total=False): rules: _list[SimpleExportPolicyRule] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class HostGroup(typing_extensions.TypedDict, total=False): +class HostGroup(typing.TypedDict, total=False): createTime: str description: str hosts: _list[str] labels: dict[str, typing.Any] name: str - osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] - state: typing_extensions.Literal[ + osType: typing.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "UPDATING", "DELETING", "DISABLED" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ISCSI_INITIATOR"] + type: typing.Literal["TYPE_UNSPECIFIED", "ISCSI_INITIATOR"] @typing.type_check_only -class HourlySchedule(typing_extensions.TypedDict, total=False): +class HourlySchedule(typing.TypedDict, total=False): minute: float snapshotsToKeep: float @typing.type_check_only -class HybridPeeringDetails(typing_extensions.TypedDict, total=False): +class HybridPeeringDetails(typing.TypedDict, total=False): command: str commandExpiryTime: str passphrase: str @@ -274,10 +278,10 @@ class HybridPeeringDetails(typing_extensions.TypedDict, total=False): subnetIp: str @typing.type_check_only -class HybridReplicationParameters(typing_extensions.TypedDict, total=False): +class HybridReplicationParameters(typing.TypedDict, total=False): clusterLocation: str description: str - hybridReplicationType: typing_extensions.Literal[ + hybridReplicationType: typing.Literal[ "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED", "MIGRATION", "CONTINUOUS_REPLICATION", @@ -291,12 +295,12 @@ class HybridReplicationParameters(typing_extensions.TypedDict, total=False): peerSvmName: str peerVolumeName: str replication: str - replicationSchedule: typing_extensions.Literal[ + replicationSchedule: typing.Literal[ "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED", "EVERY_10_MINUTES", "HOURLY", "DAILY" ] @typing.type_check_only -class KmsConfig(typing_extensions.TypedDict, total=False): +class KmsConfig(typing.TypedDict, total=False): createTime: str cryptoKeyName: str description: str @@ -304,7 +308,7 @@ class KmsConfig(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -321,94 +325,94 @@ class KmsConfig(typing_extensions.TypedDict, total=False): stateDetails: str @typing.type_check_only -class LargeCapacityConfig(typing_extensions.TypedDict, total=False): +class LargeCapacityConfig(typing.TypedDict, total=False): constituentCount: int @typing.type_check_only -class ListActiveDirectoriesResponse(typing_extensions.TypedDict, total=False): +class ListActiveDirectoriesResponse(typing.TypedDict, total=False): activeDirectories: _list[ActiveDirectory] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupConfigsResponse(typing_extensions.TypedDict, total=False): +class ListBackupConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] volumeBackupConfigs: _list[VolumeBackupConfig] @typing.type_check_only -class ListBackupPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListBackupPoliciesResponse(typing.TypedDict, total=False): backupPolicies: _list[BackupPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupVaultsResponse(typing_extensions.TypedDict, total=False): +class ListBackupVaultsResponse(typing.TypedDict, total=False): backupVaults: _list[BackupVault] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListHostGroupsResponse(typing_extensions.TypedDict, total=False): +class ListHostGroupsResponse(typing.TypedDict, total=False): hostGroups: _list[HostGroup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListKmsConfigsResponse(typing_extensions.TypedDict, total=False): +class ListKmsConfigsResponse(typing.TypedDict, total=False): kmsConfigs: _list[KmsConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListQuotaRulesResponse(typing_extensions.TypedDict, total=False): +class ListQuotaRulesResponse(typing.TypedDict, total=False): nextPageToken: str quotaRules: _list[QuotaRule] unreachable: _list[str] @typing.type_check_only -class ListReplicationsResponse(typing_extensions.TypedDict, total=False): +class ListReplicationsResponse(typing.TypedDict, total=False): nextPageToken: str replications: _list[Replication] unreachable: _list[str] @typing.type_check_only -class ListSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListSnapshotsResponse(typing.TypedDict, total=False): nextPageToken: str snapshots: _list[Snapshot] unreachable: _list[str] @typing.type_check_only -class ListStoragePoolsResponse(typing_extensions.TypedDict, total=False): +class ListStoragePoolsResponse(typing.TypedDict, total=False): nextPageToken: str storagePools: _list[StoragePool] unreachable: _list[str] @typing.type_check_only -class ListVolumesResponse(typing_extensions.TypedDict, total=False): +class ListVolumesResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] volumes: _list[Volume] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -416,52 +420,53 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): + flexPerformanceTier: typing.Literal["FLEX_PERFORMANCE_TIER_UNSPECIFIED", "LIMITED"] hasOntapProxy: bool hasVcp: bool supportedFlexPerformance: _list[ - typing_extensions.Literal[ + typing.Literal[ "FLEX_PERFORMANCE_UNSPECIFIED", "FLEX_PERFORMANCE_DEFAULT", "FLEX_PERFORMANCE_CUSTOM", ] ] supportedServiceLevels: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" ] ] @typing.type_check_only -class MonthlySchedule(typing_extensions.TypedDict, total=False): +class MonthlySchedule(typing.TypedDict, total=False): daysOfMonth: str hour: float minute: float snapshotsToKeep: float @typing.type_check_only -class MountOption(typing_extensions.TypedDict, total=False): +class MountOption(typing.TypedDict, total=False): export: str exportFull: str instructions: str ipAddress: str - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI", "NVME" ] @typing.type_check_only -class OntapSource(typing_extensions.TypedDict, total=False): +class OntapSource(typing.TypedDict, total=False): snapshotUuid: str storagePool: str volumeUuid: str @typing.type_check_only -class OntapVolumeTarget(typing_extensions.TypedDict, total=False): +class OntapVolumeTarget(typing.TypedDict, total=False): restoreDestinationPath: str volumeUuid: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -469,7 +474,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -479,18 +484,18 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class QuotaRule(typing_extensions.TypedDict, total=False): +class QuotaRule(typing.TypedDict, total=False): createTime: str description: str diskLimitMib: int labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", "DELETING", "READY", "ERROR" ] stateDetails: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "INDIVIDUAL_USER_QUOTA", "INDIVIDUAL_GROUP_QUOTA", @@ -499,7 +504,7 @@ class QuotaRule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Replication(typing_extensions.TypedDict, total=False): +class Replication(typing.TypedDict, total=False): clusterLocation: str createTime: str description: str @@ -507,7 +512,7 @@ class Replication(typing_extensions.TypedDict, total=False): destinationVolumeParameters: DestinationVolumeParameters healthy: bool hybridPeeringDetails: HybridPeeringDetails - hybridReplicationType: typing_extensions.Literal[ + hybridReplicationType: typing.Literal[ "HYBRID_REPLICATION_TYPE_UNSPECIFIED", "MIGRATION", "CONTINUOUS_REPLICATION", @@ -516,7 +521,7 @@ class Replication(typing_extensions.TypedDict, total=False): ] hybridReplicationUserCommands: UserCommands labels: dict[str, typing.Any] - mirrorState: typing_extensions.Literal[ + mirrorState: typing.Literal[ "MIRROR_STATE_UNSPECIFIED", "PREPARING", "MIRRORED", @@ -528,14 +533,12 @@ class Replication(typing_extensions.TypedDict, total=False): "PENDING_PEERING", ] name: str - replicationSchedule: typing_extensions.Literal[ + replicationSchedule: typing.Literal[ "REPLICATION_SCHEDULE_UNSPECIFIED", "EVERY_10_MINUTES", "HOURLY", "DAILY" ] - role: typing_extensions.Literal[ - "REPLICATION_ROLE_UNSPECIFIED", "SOURCE", "DESTINATION" - ] + role: typing.Literal["REPLICATION_ROLE_UNSPECIFIED", "SOURCE", "DESTINATION"] sourceVolume: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -551,34 +554,34 @@ class Replication(typing_extensions.TypedDict, total=False): transferStats: TransferStats @typing.type_check_only -class RestoreBackupFilesRequest(typing_extensions.TypedDict, total=False): +class RestoreBackupFilesRequest(typing.TypedDict, total=False): backup: str fileList: _list[str] restoreDestinationPath: str @typing.type_check_only -class RestoreParameters(typing_extensions.TypedDict, total=False): +class RestoreParameters(typing.TypedDict, total=False): sourceBackup: str sourceSnapshot: str @typing.type_check_only -class RestoreVolumeRequest(typing_extensions.TypedDict, total=False): +class RestoreVolumeRequest(typing.TypedDict, total=False): backupSource: BackupSource ontapVolumeTarget: OntapVolumeTarget @typing.type_check_only -class ResumeReplicationRequest(typing_extensions.TypedDict, total=False): ... +class ResumeReplicationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ReverseReplicationDirectionRequest(typing_extensions.TypedDict, total=False): ... +class ReverseReplicationDirectionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RevertVolumeRequest(typing_extensions.TypedDict, total=False): +class RevertVolumeRequest(typing.TypedDict, total=False): snapshotId: str @typing.type_check_only -class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal[ +class SimpleExportPolicyRule(typing.TypedDict, total=False): + accessType: typing.Literal[ "ACCESS_TYPE_UNSPECIFIED", "READ_ONLY", "READ_WRITE", "READ_NONE" ] allowedClients: str @@ -592,17 +595,17 @@ class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): kerberos5pReadWrite: bool nfsv3: bool nfsv4: bool - squashMode: typing_extensions.Literal[ + squashMode: typing.Literal[ "SQUASH_MODE_UNSPECIFIED", "NO_ROOT_SQUASH", "ROOT_SQUASH", "ALL_SQUASH" ] @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -615,7 +618,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): usedBytes: float @typing.type_check_only -class SnapshotPolicy(typing_extensions.TypedDict, total=False): +class SnapshotPolicy(typing.TypedDict, total=False): dailySchedule: DailySchedule enabled: bool hourlySchedule: HourlySchedule @@ -623,17 +626,31 @@ class SnapshotPolicy(typing_extensions.TypedDict, total=False): weeklySchedule: WeeklySchedule @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class SplitStatus(typing.TypedDict, total=False): + progressPercent: int + splitState: typing.Literal[ + "SPLIT_STATE_UNSPECIFIED", + "SPLIT_STATE_NOT_SPLITTING", + "SPLIT_STATE_IN_PROGRESS", + "SPLIT_STATE_FAILED", + ] + stateDetails: str + +@typing.type_check_only +class StartSplitRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopReplicationRequest(typing_extensions.TypedDict, total=False): +class StopReplicationRequest(typing.TypedDict, total=False): force: bool @typing.type_check_only -class StoragePool(typing_extensions.TypedDict, total=False): +class StoragePool(typing.TypedDict, total=False): activeDirectory: str allowAutoTiering: bool availableThroughputMibps: float @@ -643,7 +660,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): customPerformanceEnabled: bool description: str enableHotTierAutoResize: bool - encryptionType: typing_extensions.Literal[ + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "SERVICE_MANAGED", "CLOUD_KMS" ] globalAccessAllowed: bool @@ -652,21 +669,21 @@ class StoragePool(typing_extensions.TypedDict, total=False): kmsConfig: str labels: dict[str, typing.Any] ldapEnabled: bool - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DEFAULT", "ONTAP"] + mode: typing.Literal["MODE_UNSPECIFIED", "DEFAULT", "ONTAP"] name: str network: str psaRange: str - qosType: typing_extensions.Literal["QOS_TYPE_UNSPECIFIED", "AUTO", "MANUAL"] + qosType: typing.Literal["QOS_TYPE_UNSPECIFIED", "AUTO", "MANUAL"] replicaZone: str satisfiesPzi: bool satisfiesPzs: bool - scaleType: typing_extensions.Literal[ + scaleType: typing.Literal[ "SCALE_TYPE_UNSPECIFIED", "SCALE_TYPE_DEFAULT", "SCALE_TYPE_SCALEOUT" ] - serviceLevel: typing_extensions.Literal[ + serviceLevel: typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -679,27 +696,25 @@ class StoragePool(typing_extensions.TypedDict, total=False): stateDetails: str totalIops: str totalThroughputMibps: str - type: typing_extensions.Literal["STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", "UNIFIED"] + type: typing.Literal["STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", "UNIFIED"] volumeCapacityGib: str volumeCount: int zone: str @typing.type_check_only -class SwitchActiveReplicaZoneRequest(typing_extensions.TypedDict, total=False): ... +class SwitchActiveReplicaZoneRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SyncReplicationRequest(typing_extensions.TypedDict, total=False): ... +class SyncReplicationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class TieringPolicy(typing_extensions.TypedDict, total=False): +class TieringPolicy(typing.TypedDict, total=False): coolingThresholdDays: int hotTierBypassModeEnabled: bool - tierAction: typing_extensions.Literal[ - "TIER_ACTION_UNSPECIFIED", "ENABLED", "PAUSED" - ] + tierAction: typing.Literal["TIER_ACTION_UNSPECIFIED", "ENABLED", "PAUSED"] @typing.type_check_only -class TransferStats(typing_extensions.TypedDict, total=False): +class TransferStats(typing.TypedDict, total=False): lagDuration: str lastTransferBytes: str lastTransferDuration: str @@ -710,32 +725,32 @@ class TransferStats(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UpdateBackupConfigRequest(typing_extensions.TypedDict, total=False): +class UpdateBackupConfigRequest(typing.TypedDict, total=False): backupConfig: BackupConfig updateMask: str volumeUuid: str @typing.type_check_only -class UserCommands(typing_extensions.TypedDict, total=False): +class UserCommands(typing.TypedDict, total=False): commands: _list[str] @typing.type_check_only -class ValidateDirectoryServiceRequest(typing_extensions.TypedDict, total=False): - directoryServiceType: typing_extensions.Literal[ +class ValidateDirectoryServiceRequest(typing.TypedDict, total=False): + directoryServiceType: typing.Literal[ "DIRECTORY_SERVICE_TYPE_UNSPECIFIED", "ACTIVE_DIRECTORY" ] @typing.type_check_only -class VerifyKmsConfigRequest(typing_extensions.TypedDict, total=False): ... +class VerifyKmsConfigRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class VerifyKmsConfigResponse(typing_extensions.TypedDict, total=False): +class VerifyKmsConfigResponse(typing.TypedDict, total=False): healthError: str healthy: bool instructions: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): activeDirectory: str backupConfig: BackupConfig blockDevices: _list[BlockDevice] @@ -745,7 +760,7 @@ class Volume(typing_extensions.TypedDict, total=False): coldTierSizeGib: str createTime: str description: str - encryptionType: typing_extensions.Literal[ + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "SERVICE_MANAGED", "CLOUD_KMS" ] exportPolicy: ExportPolicy @@ -763,25 +778,21 @@ class Volume(typing_extensions.TypedDict, total=False): name: str network: str protocols: _list[ - typing_extensions.Literal[ + typing.Literal[ "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI", "NVME" ] ] psaRange: str replicaZone: str restoreParameters: RestoreParameters - restrictedActions: _list[ - typing_extensions.Literal["RESTRICTED_ACTION_UNSPECIFIED", "DELETE"] - ] - securityStyle: typing_extensions.Literal[ - "SECURITY_STYLE_UNSPECIFIED", "NTFS", "UNIX" - ] - serviceLevel: typing_extensions.Literal[ + restrictedActions: _list[typing.Literal["RESTRICTED_ACTION_UNSPECIFIED", "DELETE"]] + securityStyle: typing.Literal["SECURITY_STYLE_UNSPECIFIED", "NTFS", "UNIX"] + serviceLevel: typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" ] shareName: str smbSettings: _list[ - typing_extensions.Literal[ + typing.Literal[ "SMB_SETTINGS_UNSPECIFIED", "ENCRYPT_DATA", "BROWSABLE", @@ -797,7 +808,7 @@ class Volume(typing_extensions.TypedDict, total=False): snapReserve: float snapshotDirectory: bool snapshotPolicy: SnapshotPolicy - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -818,12 +829,12 @@ class Volume(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class VolumeBackupConfig(typing_extensions.TypedDict, total=False): +class VolumeBackupConfig(typing.TypedDict, total=False): backupConfig: BackupConfig volumeUuid: str @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): +class WeeklySchedule(typing.TypedDict, total=False): day: str hour: float minute: float diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi index 84c6ae7b5..d96245417 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi index 8fcd256f0..7e840f153 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveDirectory(typing_extensions.TypedDict, total=False): +class ActiveDirectory(typing.TypedDict, total=False): administrators: _list[str] aesEncryption: bool backupOperators: _list[str] @@ -25,7 +23,7 @@ class ActiveDirectory(typing_extensions.TypedDict, total=False): password: str securityOperators: _list[str] site: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -39,9 +37,9 @@ class ActiveDirectory(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): backupRegion: str - backupType: typing_extensions.Literal["TYPE_UNSPECIFIED", "MANUAL", "SCHEDULED"] + backupType: typing.Literal["TYPE_UNSPECIFIED", "MANUAL", "SCHEDULED"] chainStorageBytes: str createTime: str description: str @@ -53,7 +51,7 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzs: bool sourceSnapshot: str sourceVolume: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPLOADING", @@ -66,14 +64,14 @@ class Backup(typing_extensions.TypedDict, total=False): volumeUsageBytes: str @typing.type_check_only -class BackupConfig(typing_extensions.TypedDict, total=False): +class BackupConfig(typing.TypedDict, total=False): backupChainBytes: str backupPolicies: _list[str] backupVault: str scheduledBackupEnabled: bool @typing.type_check_only -class BackupPolicy(typing_extensions.TypedDict, total=False): +class BackupPolicy(typing.TypedDict, total=False): assignedVolumeCount: int createTime: str dailyBackupLimit: int @@ -82,13 +80,13 @@ class BackupPolicy(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] monthlyBackupLimit: int name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] weeklyBackupLimit: int @typing.type_check_only -class BackupRetentionPolicy(typing_extensions.TypedDict, total=False): +class BackupRetentionPolicy(typing.TypedDict, total=False): backupMinimumEnforcedRetentionDays: int dailyBackupImmutable: bool manualBackupImmutable: bool @@ -96,15 +94,15 @@ class BackupRetentionPolicy(typing_extensions.TypedDict, total=False): weeklyBackupImmutable: bool @typing.type_check_only -class BackupSource(typing_extensions.TypedDict, total=False): +class BackupSource(typing.TypedDict, total=False): backup: str fileList: _list[str] @typing.type_check_only -class BackupVault(typing_extensions.TypedDict, total=False): +class BackupVault(typing.TypedDict, total=False): backupRegion: str backupRetentionPolicy: BackupRetentionPolicy - backupVaultType: typing_extensions.Literal[ + backupVaultType: typing.Literal[ "BACKUP_VAULT_TYPE_UNSPECIFIED", "IN_REGION", "CROSS_REGION" ] backupsCryptoKeyVersion: str @@ -112,7 +110,7 @@ class BackupVault(typing_extensions.TypedDict, total=False): crossProjectVault: bool description: str destinationBackupVault: str - encryptionState: typing_extensions.Literal[ + encryptionState: typing.Literal[ "ENCRYPTION_STATE_UNSPECIFIED", "ENCRYPTION_STATE_PENDING", "ENCRYPTION_STATE_COMPLETED", @@ -124,22 +122,22 @@ class BackupVault(typing_extensions.TypedDict, total=False): name: str sourceBackupVault: str sourceRegion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] @typing.type_check_only -class BlockDevice(typing_extensions.TypedDict, total=False): +class BlockDevice(typing.TypedDict, total=False): hostGroups: _list[str] identifier: str name: str - osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + osType: typing.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] sizeGib: str @typing.type_check_only -class CacheConfig(typing_extensions.TypedDict, total=False): +class CacheConfig(typing.TypedDict, total=False): cachePrePopulate: CachePrePopulate - cachePrePopulateState: typing_extensions.Literal[ + cachePrePopulateState: typing.Literal[ "CACHE_PRE_POPULATE_STATE_UNSPECIFIED", "NOT_NEEDED", "IN_PROGRESS", @@ -150,9 +148,9 @@ class CacheConfig(typing_extensions.TypedDict, total=False): writebackEnabled: bool @typing.type_check_only -class CacheParameters(typing_extensions.TypedDict, total=False): +class CacheParameters(typing.TypedDict, total=False): cacheConfig: CacheConfig - cacheState: typing_extensions.Literal[ + cacheState: typing.Literal[ "CACHE_STATE_UNSPECIFIED", "PENDING_CLUSTER_PEERING", "PENDING_SVM_PEERING", @@ -170,20 +168,20 @@ class CacheParameters(typing_extensions.TypedDict, total=False): stateDetails: str @typing.type_check_only -class CachePrePopulate(typing_extensions.TypedDict, total=False): +class CachePrePopulate(typing.TypedDict, total=False): excludePathList: _list[str] pathList: _list[str] recursion: bool @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloneDetails(typing_extensions.TypedDict, total=False): +class CloneDetails(typing.TypedDict, total=False): sharedSpaceGib: str sourceSnapshot: str sourceVolume: str - splitState: typing_extensions.Literal[ + splitState: typing.Literal[ "SPLIT_STATE_UNSPECIFIED", "SPLIT_STATE_NOT_SPLITTING", "SPLIT_STATE_IN_PROGRESS", @@ -191,13 +189,13 @@ class CloneDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DailySchedule(typing_extensions.TypedDict, total=False): +class DailySchedule(typing.TypedDict, total=False): hour: float minute: float snapshotsToKeep: float @typing.type_check_only -class DestinationVolumeParameters(typing_extensions.TypedDict, total=False): +class DestinationVolumeParameters(typing.TypedDict, total=False): description: str shareName: str storagePool: str @@ -205,73 +203,73 @@ class DestinationVolumeParameters(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class EncryptVolumesRequest(typing_extensions.TypedDict, total=False): ... +class EncryptVolumesRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EstablishPeeringRequest(typing_extensions.TypedDict, total=False): +class EstablishPeeringRequest(typing.TypedDict, total=False): peerClusterName: str peerIpAddresses: _list[str] peerSvmName: str peerVolumeName: str @typing.type_check_only -class EstablishVolumePeeringRequest(typing_extensions.TypedDict, total=False): +class EstablishVolumePeeringRequest(typing.TypedDict, total=False): peerClusterName: str peerIpAddresses: _list[str] peerSvmName: str peerVolumeName: str @typing.type_check_only -class ExecuteOntapDeleteResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapDeleteResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapGetResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapGetResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPatchRequest(typing_extensions.TypedDict, total=False): +class ExecuteOntapPatchRequest(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPatchResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapPatchResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPostRequest(typing_extensions.TypedDict, total=False): +class ExecuteOntapPostRequest(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExecuteOntapPostResponse(typing_extensions.TypedDict, total=False): +class ExecuteOntapPostResponse(typing.TypedDict, total=False): body: dict[str, typing.Any] @typing.type_check_only -class ExportPolicy(typing_extensions.TypedDict, total=False): +class ExportPolicy(typing.TypedDict, total=False): rules: _list[SimpleExportPolicyRule] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class HostGroup(typing_extensions.TypedDict, total=False): +class HostGroup(typing.TypedDict, total=False): createTime: str description: str hosts: _list[str] labels: dict[str, typing.Any] name: str - osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] - state: typing_extensions.Literal[ + osType: typing.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", "UPDATING", "DELETING", "DISABLED" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ISCSI_INITIATOR"] + type: typing.Literal["TYPE_UNSPECIFIED", "ISCSI_INITIATOR"] @typing.type_check_only -class HourlySchedule(typing_extensions.TypedDict, total=False): +class HourlySchedule(typing.TypedDict, total=False): minute: float snapshotsToKeep: float @typing.type_check_only -class HybridPeeringDetails(typing_extensions.TypedDict, total=False): +class HybridPeeringDetails(typing.TypedDict, total=False): command: str commandExpiryTime: str passphrase: str @@ -281,10 +279,10 @@ class HybridPeeringDetails(typing_extensions.TypedDict, total=False): subnetIp: str @typing.type_check_only -class HybridReplicationParameters(typing_extensions.TypedDict, total=False): +class HybridReplicationParameters(typing.TypedDict, total=False): clusterLocation: str description: str - hybridReplicationType: typing_extensions.Literal[ + hybridReplicationType: typing.Literal[ "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED", "MIGRATION", "CONTINUOUS_REPLICATION", @@ -298,12 +296,12 @@ class HybridReplicationParameters(typing_extensions.TypedDict, total=False): peerSvmName: str peerVolumeName: str replication: str - replicationSchedule: typing_extensions.Literal[ + replicationSchedule: typing.Literal[ "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED", "EVERY_10_MINUTES", "HOURLY", "DAILY" ] @typing.type_check_only -class KmsConfig(typing_extensions.TypedDict, total=False): +class KmsConfig(typing.TypedDict, total=False): createTime: str cryptoKeyName: str description: str @@ -311,7 +309,7 @@ class KmsConfig(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -328,94 +326,94 @@ class KmsConfig(typing_extensions.TypedDict, total=False): stateDetails: str @typing.type_check_only -class LargeCapacityConfig(typing_extensions.TypedDict, total=False): +class LargeCapacityConfig(typing.TypedDict, total=False): constituentCount: int @typing.type_check_only -class ListActiveDirectoriesResponse(typing_extensions.TypedDict, total=False): +class ListActiveDirectoriesResponse(typing.TypedDict, total=False): activeDirectories: _list[ActiveDirectory] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupConfigsResponse(typing_extensions.TypedDict, total=False): +class ListBackupConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] volumeBackupConfigs: _list[VolumeBackupConfig] @typing.type_check_only -class ListBackupPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListBackupPoliciesResponse(typing.TypedDict, total=False): backupPolicies: _list[BackupPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupVaultsResponse(typing_extensions.TypedDict, total=False): +class ListBackupVaultsResponse(typing.TypedDict, total=False): backupVaults: _list[BackupVault] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListHostGroupsResponse(typing_extensions.TypedDict, total=False): +class ListHostGroupsResponse(typing.TypedDict, total=False): hostGroups: _list[HostGroup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListKmsConfigsResponse(typing_extensions.TypedDict, total=False): +class ListKmsConfigsResponse(typing.TypedDict, total=False): kmsConfigs: _list[KmsConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListQuotaRulesResponse(typing_extensions.TypedDict, total=False): +class ListQuotaRulesResponse(typing.TypedDict, total=False): nextPageToken: str quotaRules: _list[QuotaRule] unreachable: _list[str] @typing.type_check_only -class ListReplicationsResponse(typing_extensions.TypedDict, total=False): +class ListReplicationsResponse(typing.TypedDict, total=False): nextPageToken: str replications: _list[Replication] unreachable: _list[str] @typing.type_check_only -class ListSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListSnapshotsResponse(typing.TypedDict, total=False): nextPageToken: str snapshots: _list[Snapshot] unreachable: _list[str] @typing.type_check_only -class ListStoragePoolsResponse(typing_extensions.TypedDict, total=False): +class ListStoragePoolsResponse(typing.TypedDict, total=False): nextPageToken: str storagePools: _list[StoragePool] unreachable: _list[str] @typing.type_check_only -class ListVolumesResponse(typing_extensions.TypedDict, total=False): +class ListVolumesResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] volumes: _list[Volume] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -423,52 +421,53 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): + flexPerformanceTier: typing.Literal["FLEX_PERFORMANCE_TIER_UNSPECIFIED", "LIMITED"] hasOntapProxy: bool hasVcp: bool supportedFlexPerformance: _list[ - typing_extensions.Literal[ + typing.Literal[ "FLEX_PERFORMANCE_UNSPECIFIED", "FLEX_PERFORMANCE_DEFAULT", "FLEX_PERFORMANCE_CUSTOM", ] ] supportedServiceLevels: _list[ - typing_extensions.Literal[ + typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" ] ] @typing.type_check_only -class MonthlySchedule(typing_extensions.TypedDict, total=False): +class MonthlySchedule(typing.TypedDict, total=False): daysOfMonth: str hour: float minute: float snapshotsToKeep: float @typing.type_check_only -class MountOption(typing_extensions.TypedDict, total=False): +class MountOption(typing.TypedDict, total=False): export: str exportFull: str instructions: str ipAddress: str - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI", "NVME" ] @typing.type_check_only -class OntapSource(typing_extensions.TypedDict, total=False): +class OntapSource(typing.TypedDict, total=False): snapshotUuid: str storagePool: str volumeUuid: str @typing.type_check_only -class OntapVolumeTarget(typing_extensions.TypedDict, total=False): +class OntapVolumeTarget(typing.TypedDict, total=False): restoreDestinationPath: str volumeUuid: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -476,7 +475,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -486,18 +485,18 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class QuotaRule(typing_extensions.TypedDict, total=False): +class QuotaRule(typing.TypedDict, total=False): createTime: str description: str diskLimitMib: int labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "UPDATING", "DELETING", "READY", "ERROR" ] stateDetails: str target: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "INDIVIDUAL_USER_QUOTA", "INDIVIDUAL_GROUP_QUOTA", @@ -506,7 +505,7 @@ class QuotaRule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Replication(typing_extensions.TypedDict, total=False): +class Replication(typing.TypedDict, total=False): clusterLocation: str createTime: str description: str @@ -514,7 +513,7 @@ class Replication(typing_extensions.TypedDict, total=False): destinationVolumeParameters: DestinationVolumeParameters healthy: bool hybridPeeringDetails: HybridPeeringDetails - hybridReplicationType: typing_extensions.Literal[ + hybridReplicationType: typing.Literal[ "HYBRID_REPLICATION_TYPE_UNSPECIFIED", "MIGRATION", "CONTINUOUS_REPLICATION", @@ -523,7 +522,7 @@ class Replication(typing_extensions.TypedDict, total=False): ] hybridReplicationUserCommands: UserCommands labels: dict[str, typing.Any] - mirrorState: typing_extensions.Literal[ + mirrorState: typing.Literal[ "MIRROR_STATE_UNSPECIFIED", "PREPARING", "MIRRORED", @@ -535,14 +534,12 @@ class Replication(typing_extensions.TypedDict, total=False): "PENDING_PEERING", ] name: str - replicationSchedule: typing_extensions.Literal[ + replicationSchedule: typing.Literal[ "REPLICATION_SCHEDULE_UNSPECIFIED", "EVERY_10_MINUTES", "HOURLY", "DAILY" ] - role: typing_extensions.Literal[ - "REPLICATION_ROLE_UNSPECIFIED", "SOURCE", "DESTINATION" - ] + role: typing.Literal["REPLICATION_ROLE_UNSPECIFIED", "SOURCE", "DESTINATION"] sourceVolume: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -558,34 +555,34 @@ class Replication(typing_extensions.TypedDict, total=False): transferStats: TransferStats @typing.type_check_only -class RestoreBackupFilesRequest(typing_extensions.TypedDict, total=False): +class RestoreBackupFilesRequest(typing.TypedDict, total=False): backup: str fileList: _list[str] restoreDestinationPath: str @typing.type_check_only -class RestoreParameters(typing_extensions.TypedDict, total=False): +class RestoreParameters(typing.TypedDict, total=False): sourceBackup: str sourceSnapshot: str @typing.type_check_only -class RestoreVolumeRequest(typing_extensions.TypedDict, total=False): +class RestoreVolumeRequest(typing.TypedDict, total=False): backupSource: BackupSource ontapVolumeTarget: OntapVolumeTarget @typing.type_check_only -class ResumeReplicationRequest(typing_extensions.TypedDict, total=False): ... +class ResumeReplicationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ReverseReplicationDirectionRequest(typing_extensions.TypedDict, total=False): ... +class ReverseReplicationDirectionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RevertVolumeRequest(typing_extensions.TypedDict, total=False): +class RevertVolumeRequest(typing.TypedDict, total=False): snapshotId: str @typing.type_check_only -class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal[ +class SimpleExportPolicyRule(typing.TypedDict, total=False): + accessType: typing.Literal[ "ACCESS_TYPE_UNSPECIFIED", "READ_ONLY", "READ_WRITE", "READ_NONE" ] allowedClients: str @@ -599,17 +596,17 @@ class SimpleExportPolicyRule(typing_extensions.TypedDict, total=False): kerberos5pReadWrite: bool nfsv3: bool nfsv4: bool - squashMode: typing_extensions.Literal[ + squashMode: typing.Literal[ "SQUASH_MODE_UNSPECIFIED", "NO_ROOT_SQUASH", "ROOT_SQUASH", "ALL_SQUASH" ] @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -622,7 +619,7 @@ class Snapshot(typing_extensions.TypedDict, total=False): usedBytes: float @typing.type_check_only -class SnapshotPolicy(typing_extensions.TypedDict, total=False): +class SnapshotPolicy(typing.TypedDict, total=False): dailySchedule: DailySchedule enabled: bool hourlySchedule: HourlySchedule @@ -630,9 +627,9 @@ class SnapshotPolicy(typing_extensions.TypedDict, total=False): weeklySchedule: WeeklySchedule @typing.type_check_only -class SplitStatus(typing_extensions.TypedDict, total=False): +class SplitStatus(typing.TypedDict, total=False): progressPercent: int - splitState: typing_extensions.Literal[ + splitState: typing.Literal[ "SPLIT_STATE_UNSPECIFIED", "SPLIT_STATE_NOT_SPLITTING", "SPLIT_STATE_IN_PROGRESS", @@ -641,20 +638,20 @@ class SplitStatus(typing_extensions.TypedDict, total=False): stateDetails: str @typing.type_check_only -class StartSplitRequest(typing_extensions.TypedDict, total=False): ... +class StartSplitRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopReplicationRequest(typing_extensions.TypedDict, total=False): +class StopReplicationRequest(typing.TypedDict, total=False): force: bool @typing.type_check_only -class StoragePool(typing_extensions.TypedDict, total=False): +class StoragePool(typing.TypedDict, total=False): activeDirectory: str allowAutoTiering: bool availableThroughputMibps: float @@ -664,7 +661,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): customPerformanceEnabled: bool description: str enableHotTierAutoResize: bool - encryptionType: typing_extensions.Literal[ + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "SERVICE_MANAGED", "CLOUD_KMS" ] globalAccessAllowed: bool @@ -673,24 +670,24 @@ class StoragePool(typing_extensions.TypedDict, total=False): kmsConfig: str labels: dict[str, typing.Any] ldapEnabled: bool - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DEFAULT", "ONTAP"] + mode: typing.Literal["MODE_UNSPECIFIED", "DEFAULT", "ONTAP"] name: str network: str psaRange: str - qosType: typing_extensions.Literal["QOS_TYPE_UNSPECIFIED", "AUTO", "MANUAL"] + qosType: typing.Literal["QOS_TYPE_UNSPECIFIED", "AUTO", "MANUAL"] replicaZone: str satisfiesPzi: bool satisfiesPzs: bool - scaleTier: typing_extensions.Literal[ + scaleTier: typing.Literal[ "SCALE_TIER_UNSPECIFIED", "SCALE_TIER_STANDARD", "SCALE_TIER_ENTERPRISE" ] - scaleType: typing_extensions.Literal[ + scaleType: typing.Literal[ "SCALE_TYPE_UNSPECIFIED", "SCALE_TYPE_DEFAULT", "SCALE_TYPE_SCALEOUT" ] - serviceLevel: typing_extensions.Literal[ + serviceLevel: typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -703,27 +700,25 @@ class StoragePool(typing_extensions.TypedDict, total=False): stateDetails: str totalIops: str totalThroughputMibps: str - type: typing_extensions.Literal["STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", "UNIFIED"] + type: typing.Literal["STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", "UNIFIED"] volumeCapacityGib: str volumeCount: int zone: str @typing.type_check_only -class SwitchActiveReplicaZoneRequest(typing_extensions.TypedDict, total=False): ... +class SwitchActiveReplicaZoneRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SyncReplicationRequest(typing_extensions.TypedDict, total=False): ... +class SyncReplicationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class TieringPolicy(typing_extensions.TypedDict, total=False): +class TieringPolicy(typing.TypedDict, total=False): coolingThresholdDays: int hotTierBypassModeEnabled: bool - tierAction: typing_extensions.Literal[ - "TIER_ACTION_UNSPECIFIED", "ENABLED", "PAUSED" - ] + tierAction: typing.Literal["TIER_ACTION_UNSPECIFIED", "ENABLED", "PAUSED"] @typing.type_check_only -class TransferStats(typing_extensions.TypedDict, total=False): +class TransferStats(typing.TypedDict, total=False): lagDuration: str lastTransferBytes: str lastTransferDuration: str @@ -734,32 +729,32 @@ class TransferStats(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UpdateBackupConfigRequest(typing_extensions.TypedDict, total=False): +class UpdateBackupConfigRequest(typing.TypedDict, total=False): backupConfig: BackupConfig updateMask: str volumeUuid: str @typing.type_check_only -class UserCommands(typing_extensions.TypedDict, total=False): +class UserCommands(typing.TypedDict, total=False): commands: _list[str] @typing.type_check_only -class ValidateDirectoryServiceRequest(typing_extensions.TypedDict, total=False): - directoryServiceType: typing_extensions.Literal[ +class ValidateDirectoryServiceRequest(typing.TypedDict, total=False): + directoryServiceType: typing.Literal[ "DIRECTORY_SERVICE_TYPE_UNSPECIFIED", "ACTIVE_DIRECTORY" ] @typing.type_check_only -class VerifyKmsConfigRequest(typing_extensions.TypedDict, total=False): ... +class VerifyKmsConfigRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class VerifyKmsConfigResponse(typing_extensions.TypedDict, total=False): +class VerifyKmsConfigResponse(typing.TypedDict, total=False): healthError: str healthy: bool instructions: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): activeDirectory: str backupConfig: BackupConfig blockDevices: _list[BlockDevice] @@ -769,7 +764,7 @@ class Volume(typing_extensions.TypedDict, total=False): coldTierSizeGib: str createTime: str description: str - encryptionType: typing_extensions.Literal[ + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "SERVICE_MANAGED", "CLOUD_KMS" ] exportPolicy: ExportPolicy @@ -787,25 +782,21 @@ class Volume(typing_extensions.TypedDict, total=False): name: str network: str protocols: _list[ - typing_extensions.Literal[ + typing.Literal[ "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI", "NVME" ] ] psaRange: str replicaZone: str restoreParameters: RestoreParameters - restrictedActions: _list[ - typing_extensions.Literal["RESTRICTED_ACTION_UNSPECIFIED", "DELETE"] - ] - securityStyle: typing_extensions.Literal[ - "SECURITY_STYLE_UNSPECIFIED", "NTFS", "UNIX" - ] - serviceLevel: typing_extensions.Literal[ + restrictedActions: _list[typing.Literal["RESTRICTED_ACTION_UNSPECIFIED", "DELETE"]] + securityStyle: typing.Literal["SECURITY_STYLE_UNSPECIFIED", "NTFS", "UNIX"] + serviceLevel: typing.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" ] shareName: str smbSettings: _list[ - typing_extensions.Literal[ + typing.Literal[ "SMB_SETTINGS_UNSPECIFIED", "ENCRYPT_DATA", "BROWSABLE", @@ -821,7 +812,7 @@ class Volume(typing_extensions.TypedDict, total=False): snapReserve: float snapshotDirectory: bool snapshotPolicy: SnapshotPolicy - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", @@ -842,12 +833,12 @@ class Volume(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class VolumeBackupConfig(typing_extensions.TypedDict, total=False): +class VolumeBackupConfig(typing.TypedDict, total=False): backupConfig: BackupConfig volumeUuid: str @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): +class WeeklySchedule(typing.TypedDict, total=False): day: str hour: float minute: float diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi index b90ff149c..4a9506bd1 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -25,7 +24,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): parent: str, body: AutomatedDnsRecord, automatedDnsRecordId: str | None = ..., - insertMode: typing_extensions.Literal[ + insertMode: typing.Literal[ "INSERT_MODE_UNSPECIFIED", "FAIL_IF_EXISTS", "OVERWRITE" ] | None = ..., @@ -36,7 +35,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): self, *, name: str, - deleteMode: typing_extensions.Literal[ + deleteMode: typing.Literal[ "DELETE_MODE_UNSPECIFIED", "DEPROGRAM", "SKIP_DEPROGRAMMING" ] | None = ..., @@ -225,7 +224,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., spokeLocations: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "SPOKE_VIEW_UNSPECIFIED", "BASIC", "DETAILED" ] | None = ..., @@ -574,6 +573,44 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PscAuthorizationPoliciesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: PscAuthorizationPolicy, + pscAuthorizationPolicyId: str | None = ..., + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str | None = ..., + requestId: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> PscAuthorizationPolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str | None = ..., + orderBy: str | None = ..., + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListPscAuthorizationPoliciesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListPscAuthorizationPoliciesResponseHttpRequest, + previous_response: ListPscAuthorizationPoliciesResponse, + ) -> ListPscAuthorizationPoliciesResponseHttpRequest | None: ... + @typing.type_check_only class RegionalEndpointsResource(googleapiclient.discovery.Resource): def create( @@ -725,7 +762,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): parent: str, body: ServiceConnectionPolicy, autoSubnetworkConfig_allocRangeSpace: str | _list[str] | None = ..., - autoSubnetworkConfig_ipStack: typing_extensions.Literal[ + autoSubnetworkConfig_ipStack: typing.Literal[ "SUBNET_IP_STACK_UNSPECIFIED", "IPV4_ONLY", "IPV6_ONLY", @@ -735,7 +772,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): autoSubnetworkConfig_prefixLength: int | None = ..., requestId: str | None = ..., serviceConnectionPolicyId: str | None = ..., - subnetworkMode: typing_extensions.Literal[ + subnetworkMode: typing.Literal[ "SUBNETWORK_MODE_UNSPECIFIED", "USER_PROVIDED", "AUTO_CREATED" ] | None = ..., @@ -1014,6 +1051,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): self, ) -> MulticloudDataTransferSupportedServicesResource: ... def operations(self) -> OperationsResource: ... + def pscAuthorizationPolicies(self) -> PscAuthorizationPoliciesResource: ... def regionalEndpoints(self) -> RegionalEndpointsResource: ... def remoteTransportProfiles(self) -> RemoteTransportProfilesResource: ... def serviceClasses(self) -> ServiceClassesResource: ... @@ -1215,6 +1253,14 @@ class ListPolicyBasedRoutesResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ListPolicyBasedRoutesResponse: ... +@typing.type_check_only +class ListPscAuthorizationPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListPscAuthorizationPoliciesResponse: ... + @typing.type_check_only class ListRegionalEndpointsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1339,6 +1385,14 @@ class PolicyBasedRouteHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> PolicyBasedRoute: ... +@typing.type_check_only +class PscAuthorizationPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PscAuthorizationPolicy: ... + @typing.type_check_only class QueryHubStatusResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi index de290a411..bd5289022 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceptHubSpokeRequest(typing_extensions.TypedDict, total=False): +class AcceptHubSpokeRequest(typing.TypedDict, total=False): requestId: str spokeUri: str @typing.type_check_only -class AcceptHubSpokeResponse(typing_extensions.TypedDict, total=False): +class AcceptHubSpokeResponse(typing.TypedDict, total=False): spoke: Spoke @typing.type_check_only -class AcceptSpokeUpdateRequest(typing_extensions.TypedDict, total=False): +class AcceptSpokeUpdateRequest(typing.TypedDict, total=False): requestId: str spokeEtag: str spokeUri: str @typing.type_check_only -class AllocationOptions(typing_extensions.TypedDict, total=False): - allocationStrategy: typing_extensions.Literal[ +class AllocationOptions(typing.TypedDict, total=False): + allocationStrategy: typing.Literal[ "ALLOCATION_STRATEGY_UNSPECIFIED", "RANDOM", "FIRST_AVAILABLE", @@ -31,23 +29,23 @@ class AllocationOptions(typing_extensions.TypedDict, total=False): firstAvailableRangesLookupSize: int @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutoAccept(typing_extensions.TypedDict, total=False): +class AutoAccept(typing.TypedDict, total=False): autoAcceptProjects: _list[str] @typing.type_check_only -class AutoCreatedSubnetworkInfo(typing_extensions.TypedDict, total=False): +class AutoCreatedSubnetworkInfo(typing.TypedDict, total=False): delinked: bool internalRange: str internalRangeRef: str @@ -55,16 +53,16 @@ class AutoCreatedSubnetworkInfo(typing_extensions.TypedDict, total=False): subnetworkRef: str @typing.type_check_only -class AutomatedDnsCreationSpec(typing_extensions.TypedDict, total=False): +class AutomatedDnsCreationSpec(typing.TypedDict, total=False): dnsSuffix: str hostname: str ttl: str @typing.type_check_only -class AutomatedDnsRecord(typing_extensions.TypedDict, total=False): +class AutomatedDnsRecord(typing.TypedDict, total=False): consumerNetwork: str createTime: str - creationMode: typing_extensions.Literal[ + creationMode: typing.Literal[ "CREATION_MODE_UNSPECIFIED", "CONSUMER_API", "SERVICE_CONNECTION_MAP" ] currentConfig: Config @@ -77,11 +75,9 @@ class AutomatedDnsRecord(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str originalConfig: Config - recordType: typing_extensions.Literal[ - "RECORD_TYPE_UNSPECIFIED", "A", "AAAA", "TXT", "CNAME" - ] + recordType: typing.Literal["RECORD_TYPE_UNSPECIFIED", "A", "AAAA", "TXT", "CNAME"] serviceClass: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROGRAMMED", "FAILED_DEPROGRAMMING", @@ -92,24 +88,22 @@ class AutomatedDnsRecord(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CheckConsumerConfigRequest(typing_extensions.TypedDict, total=False): +class CheckConsumerConfigRequest(typing.TypedDict, total=False): consumerNetwork: str endpointProject: str - requestedIpVersion: typing_extensions.Literal[ - "IP_VERSION_UNSPECIFIED", "IPV4", "IPV6" - ] + requestedIpVersion: typing.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] serviceClass: str @typing.type_check_only -class CheckConsumerConfigResponse(typing_extensions.TypedDict, total=False): +class CheckConsumerConfigResponse(typing.TypedDict, total=False): errors: _list[ - typing_extensions.Literal[ + typing.Literal[ "ERROR_UNSPECIFIED", "NETWORK_PROJECT_INVALID", "NETWORK_PROJECT_APIS_NOT_ENABLED", @@ -124,21 +118,21 @@ class CheckConsumerConfigResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): rrdatas: _list[str] ttl: str @typing.type_check_only -class ConsumerPscConfig(typing_extensions.TypedDict, total=False): +class ConsumerPscConfig(typing.TypedDict, total=False): consumerInstanceProject: str disableGlobalAccess: bool - ipVersion: typing_extensions.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] + ipVersion: typing.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] network: str producerInstanceId: str producerInstanceMetadata: dict[str, typing.Any] project: str serviceAttachmentIpAddressMap: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "VALID", "CONNECTION_POLICY_MISSING", @@ -147,11 +141,11 @@ class ConsumerPscConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConsumerPscConnection(typing_extensions.TypedDict, total=False): +class ConsumerPscConnection(typing.TypedDict, total=False): dnsAutomationStatus: DnsAutomationStatus error: GoogleRpcStatus errorInfo: GoogleRpcErrorInfo - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "CONNECTION_ERROR_TYPE_UNSPECIFIED", "ERROR_INTERNAL", "ERROR_CONSUMER_SIDE", @@ -160,7 +154,7 @@ class ConsumerPscConnection(typing_extensions.TypedDict, total=False): forwardingRule: str gceOperation: str ip: str - ipVersion: typing_extensions.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] + ipVersion: typing.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] network: str producerInstanceId: str producerInstanceMetadata: dict[str, typing.Any] @@ -168,7 +162,7 @@ class ConsumerPscConnection(typing_extensions.TypedDict, total=False): pscConnectionId: str selectedSubnetwork: str serviceAttachmentUri: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", @@ -179,7 +173,7 @@ class ConsumerPscConnection(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): createTime: str description: str endpoints: _list[DestinationEndpoint] @@ -192,17 +186,17 @@ class Destination(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DestinationEndpoint(typing_extensions.TypedDict, total=False): +class DestinationEndpoint(typing.TypedDict, total=False): asn: str csp: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "VALID", "INVALID"] + state: typing.Literal["STATE_UNSPECIFIED", "VALID", "INVALID"] updateTime: str @typing.type_check_only -class DnsAutomationStatus(typing_extensions.TypedDict, total=False): +class DnsAutomationStatus(typing.TypedDict, total=False): error: GoogleRpcStatus fqdn: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING_CREATE", "ACTIVE", @@ -212,27 +206,25 @@ class DnsAutomationStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Filter(typing_extensions.TypedDict, total=False): +class Filter(typing.TypedDict, total=False): destRange: str ipProtocol: str - protocolVersion: typing_extensions.Literal[ - "PROTOCOL_VERSION_UNSPECIFIED", "IPV4", "IPV6" - ] + protocolVersion: typing.Literal["PROTOCOL_VERSION_UNSPECIFIED", "IPV4", "IPV6"] srcRange: str @typing.type_check_only -class Gateway(typing_extensions.TypedDict, total=False): - capacity: typing_extensions.Literal[ +class Gateway(typing.TypedDict, total=False): + capacity: typing.Literal[ "GATEWAY_CAPACITY_UNSPECIFIED", "CAPACITY_1_GBPS", "CAPACITY_10_GBPS" ] cloudRouters: _list[str] @@ -240,15 +232,15 @@ class Gateway(typing_extensions.TypedDict, total=False): sacAttachment: str @typing.type_check_only -class GatewayAdvertisedRoute(typing_extensions.TypedDict, total=False): +class GatewayAdvertisedRoute(typing.TypedDict, total=False): createTime: str description: str ipRange: str labels: dict[str, typing.Any] name: str priority: int - recipient: typing_extensions.Literal["RECIPIENT_UNSPECIFIED", "ADVERTISE_TO_HUB"] - state: typing_extensions.Literal[ + recipient: typing.Literal["RECIPIENT_UNSPECIFIED", "ADVERTISE_TO_HUB"] + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -264,18 +256,16 @@ class GatewayAdvertisedRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -283,26 +273,26 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcErrorInfo(typing_extensions.TypedDict, total=False): +class GoogleRpcErrorInfo(typing.TypedDict, total=False): domain: str metadata: dict[str, typing.Any] reason: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): autoAccept: AutoAccept createTime: str description: str labels: dict[str, typing.Any] name: str routeTable: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -318,20 +308,20 @@ class Group(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Hub(typing_extensions.TypedDict, total=False): +class Hub(typing.TypedDict, total=False): createTime: str description: str exportPsc: bool labels: dict[str, typing.Any] name: str - policyMode: typing_extensions.Literal["POLICY_MODE_UNSPECIFIED", "PRESET"] - presetTopology: typing_extensions.Literal[ + policyMode: typing.Literal["POLICY_MODE_UNSPECIFIED", "PRESET"] + presetTopology: typing.Literal[ "PRESET_TOPOLOGY_UNSPECIFIED", "MESH", "STAR", "HYBRID_INSPECTION" ] routeTables: _list[str] routingVpcs: _list[RoutingVPC] spokeSummary: SpokeSummary - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -347,17 +337,17 @@ class Hub(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class HubStatusEntry(typing_extensions.TypedDict, total=False): +class HubStatusEntry(typing.TypedDict, total=False): count: int groupBy: str pscPropagationStatus: PscPropagationStatus @typing.type_check_only -class InterconnectAttachment(typing_extensions.TypedDict, total=False): +class InterconnectAttachment(typing.TypedDict, total=False): region: str @typing.type_check_only -class InternalRange(typing_extensions.TypedDict, total=False): +class InternalRange(typing.TypedDict, total=False): allocationOptions: AllocationOptions createTime: str description: str @@ -369,29 +359,27 @@ class InternalRange(typing_extensions.TypedDict, total=False): name: str network: str overlaps: _list[ - typing_extensions.Literal[ + typing.Literal[ "OVERLAP_UNSPECIFIED", "OVERLAP_ROUTE_RANGE", "OVERLAP_EXISTING_SUBNET_RANGE", ] ] - peering: typing_extensions.Literal[ - "PEERING_UNSPECIFIED", "FOR_SELF", "FOR_PEER", "NOT_SHARED" - ] + peering: typing.Literal["PEERING_UNSPECIFIED", "FOR_SELF", "FOR_PEER", "NOT_SHARED"] prefixLength: int targetCidrRange: _list[str] updateTime: str - usage: typing_extensions.Literal[ + usage: typing.Literal[ "USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC", "FOR_MIGRATION" ] users: _list[str] @typing.type_check_only -class IpRangeReservation(typing_extensions.TypedDict, total=False): +class IpRangeReservation(typing.TypedDict, total=False): ipRange: str @typing.type_check_only -class LinkedInterconnectAttachments(typing_extensions.TypedDict, total=False): +class LinkedInterconnectAttachments(typing.TypedDict, total=False): excludeExportRanges: _list[str] excludeImportRanges: _list[str] includeExportRanges: _list[str] @@ -401,7 +389,7 @@ class LinkedInterconnectAttachments(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class LinkedProducerVpcNetwork(typing_extensions.TypedDict, total=False): +class LinkedProducerVpcNetwork(typing.TypedDict, total=False): excludeExportRanges: _list[str] includeExportRanges: _list[str] network: str @@ -412,7 +400,7 @@ class LinkedProducerVpcNetwork(typing_extensions.TypedDict, total=False): serviceConsumerVpcSpoke: str @typing.type_check_only -class LinkedRouterApplianceInstances(typing_extensions.TypedDict, total=False): +class LinkedRouterApplianceInstances(typing.TypedDict, total=False): excludeExportRanges: _list[str] excludeImportRanges: _list[str] includeExportRanges: _list[str] @@ -422,7 +410,7 @@ class LinkedRouterApplianceInstances(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class LinkedVpcNetwork(typing_extensions.TypedDict, total=False): +class LinkedVpcNetwork(typing.TypedDict, total=False): excludeExportRanges: _list[str] includeExportRanges: _list[str] producerVpcSpokes: _list[str] @@ -431,7 +419,7 @@ class LinkedVpcNetwork(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class LinkedVpnTunnels(typing_extensions.TypedDict, total=False): +class LinkedVpnTunnels(typing.TypedDict, total=False): excludeExportRanges: _list[str] excludeImportRanges: _list[str] includeExportRanges: _list[str] @@ -441,63 +429,61 @@ class LinkedVpnTunnels(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class ListAutomatedDnsRecordsResponse(typing_extensions.TypedDict, total=False): +class ListAutomatedDnsRecordsResponse(typing.TypedDict, total=False): automatedDnsRecords: _list[AutomatedDnsRecord] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDestinationsResponse(typing_extensions.TypedDict, total=False): +class ListDestinationsResponse(typing.TypedDict, total=False): destinations: _list[Destination] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewayAdvertisedRoutesResponse(typing_extensions.TypedDict, total=False): +class ListGatewayAdvertisedRoutesResponse(typing.TypedDict, total=False): gatewayAdvertisedRoutes: _list[GatewayAdvertisedRoute] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListHubSpokesResponse(typing_extensions.TypedDict, total=False): +class ListHubSpokesResponse(typing.TypedDict, total=False): nextPageToken: str spokes: _list[Spoke] unreachable: _list[str] @typing.type_check_only -class ListHubsResponse(typing_extensions.TypedDict, total=False): +class ListHubsResponse(typing.TypedDict, total=False): hubs: _list[Hub] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInternalRangesResponse(typing_extensions.TypedDict, total=False): +class ListInternalRangesResponse(typing.TypedDict, total=False): internalRanges: _list[InternalRange] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMulticloudDataTransferConfigsResponse( - typing_extensions.TypedDict, total=False -): +class ListMulticloudDataTransferConfigsResponse(typing.TypedDict, total=False): multicloudDataTransferConfigs: _list[MulticloudDataTransferConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only class ListMulticloudDataTransferSupportedServicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): multicloudDataTransferSupportedServices: _list[ MulticloudDataTransferSupportedService @@ -505,73 +491,79 @@ class ListMulticloudDataTransferSupportedServicesResponse( nextPageToken: str @typing.type_check_only -class ListPolicyBasedRoutesResponse(typing_extensions.TypedDict, total=False): +class ListPolicyBasedRoutesResponse(typing.TypedDict, total=False): nextPageToken: str policyBasedRoutes: _list[PolicyBasedRoute] unreachable: _list[str] @typing.type_check_only -class ListRegionalEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListPscAuthorizationPoliciesResponse(typing.TypedDict, total=False): + nextPageToken: str + pscAuthorizationPolicies: _list[PscAuthorizationPolicy] + unreachable: _list[str] + +@typing.type_check_only +class ListRegionalEndpointsResponse(typing.TypedDict, total=False): nextPageToken: str regionalEndpoints: _list[RegionalEndpoint] unreachable: _list[str] @typing.type_check_only -class ListRemoteTransportProfilesResponse(typing_extensions.TypedDict, total=False): +class ListRemoteTransportProfilesResponse(typing.TypedDict, total=False): nextPageToken: str remoteTransportProfiles: _list[RemoteTransportProfile] unreachable: _list[str] @typing.type_check_only -class ListRouteTablesResponse(typing_extensions.TypedDict, total=False): +class ListRouteTablesResponse(typing.TypedDict, total=False): nextPageToken: str routeTables: _list[RouteTable] unreachable: _list[str] @typing.type_check_only -class ListRoutesResponse(typing_extensions.TypedDict, total=False): +class ListRoutesResponse(typing.TypedDict, total=False): nextPageToken: str routes: _list[Route] unreachable: _list[str] @typing.type_check_only -class ListServiceClassesResponse(typing_extensions.TypedDict, total=False): +class ListServiceClassesResponse(typing.TypedDict, total=False): nextPageToken: str serviceClasses: _list[ServiceClass] unreachable: _list[str] @typing.type_check_only -class ListServiceConnectionMapsResponse(typing_extensions.TypedDict, total=False): +class ListServiceConnectionMapsResponse(typing.TypedDict, total=False): nextPageToken: str serviceConnectionMaps: _list[ServiceConnectionMap] unreachable: _list[str] @typing.type_check_only -class ListServiceConnectionPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListServiceConnectionPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str serviceConnectionPolicies: _list[ServiceConnectionPolicy] unreachable: _list[str] @typing.type_check_only -class ListServiceConnectionTokensResponse(typing_extensions.TypedDict, total=False): +class ListServiceConnectionTokensResponse(typing.TypedDict, total=False): nextPageToken: str serviceConnectionTokens: _list[ServiceConnectionToken] unreachable: _list[str] @typing.type_check_only -class ListSpokesResponse(typing_extensions.TypedDict, total=False): +class ListSpokesResponse(typing.TypedDict, total=False): nextPageToken: str spokes: _list[Spoke] unreachable: _list[str] @typing.type_check_only -class ListTransportsResponse(typing_extensions.TypedDict, total=False): +class ListTransportsResponse(typing.TypedDict, total=False): nextPageToken: str transports: _list[Transport] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -579,9 +571,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): locationFeatures: _list[ - typing_extensions.Literal[ + typing.Literal[ "LOCATION_FEATURE_UNSPECIFIED", "SITE_TO_CLOUD_SPOKES", "SITE_TO_SITE_SPOKES", @@ -591,12 +583,12 @@ class LocationMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Migration(typing_extensions.TypedDict, total=False): +class Migration(typing.TypedDict, total=False): source: str target: str @typing.type_check_only -class MulticloudDataTransferConfig(typing_extensions.TypedDict, total=False): +class MulticloudDataTransferConfig(typing.TypedDict, total=False): createTime: str description: str destinationsActiveCount: int @@ -609,39 +601,39 @@ class MulticloudDataTransferConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MulticloudDataTransferSupportedService(typing_extensions.TypedDict, total=False): +class MulticloudDataTransferSupportedService(typing.TypedDict, total=False): name: str serviceConfigs: _list[ServiceConfig] @typing.type_check_only -class NextHopInterconnectAttachment(typing_extensions.TypedDict, total=False): +class NextHopInterconnectAttachment(typing.TypedDict, total=False): siteToSiteDataTransfer: bool uri: str vpcNetwork: str @typing.type_check_only -class NextHopRouterApplianceInstance(typing_extensions.TypedDict, total=False): +class NextHopRouterApplianceInstance(typing.TypedDict, total=False): siteToSiteDataTransfer: bool uri: str vpcNetwork: str @typing.type_check_only -class NextHopSpoke(typing_extensions.TypedDict, total=False): +class NextHopSpoke(typing.TypedDict, total=False): siteToSiteDataTransfer: bool uri: str @typing.type_check_only -class NextHopVPNTunnel(typing_extensions.TypedDict, total=False): +class NextHopVPNTunnel(typing.TypedDict, total=False): siteToSiteDataTransfer: bool uri: str vpcNetwork: str @typing.type_check_only -class NextHopVpcNetwork(typing_extensions.TypedDict, total=False): +class NextHopVpcNetwork(typing.TypedDict, total=False): uri: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -651,14 +643,14 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyBasedRoute(typing_extensions.TypedDict, total=False): +class PolicyBasedRoute(typing.TypedDict, total=False): createTime: str description: str filter: Filter @@ -668,9 +660,7 @@ class PolicyBasedRoute(typing_extensions.TypedDict, total=False): name: str network: str nextHopIlbIp: str - nextHopOtherRoutes: typing_extensions.Literal[ - "OTHER_ROUTES_UNSPECIFIED", "DEFAULT_ROUTING" - ] + nextHopOtherRoutes: typing.Literal["OTHER_ROUTES_UNSPECIFIED", "DEFAULT_ROUTING"] priority: int selfLink: str updateTime: str @@ -678,40 +668,56 @@ class PolicyBasedRoute(typing_extensions.TypedDict, total=False): warnings: _list[Warnings] @typing.type_check_only -class ProducerPscConfig(typing_extensions.TypedDict, total=False): +class ProducerPscConfig(typing.TypedDict, total=False): automatedDnsCreationSpec: AutomatedDnsCreationSpec serviceAttachmentUri: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscAuthorizationPolicy(typing.TypedDict, total=False): + authorizationMode: typing.Literal[ + "AUTHORIZATION_MODE_UNSPECIFIED", + "AUTHORIZATION_MODE_TRANSITIVE_TO_SERVICE_ATTACHMENT", + ] + authorizedClientResources: _list[str] + createTime: str + description: str + etag: str + labels: dict[str, typing.Any] + name: str + targetResourceUri: str + uid: str + updateTime: str + +@typing.type_check_only +class PscConfig(typing.TypedDict, total=False): allowedGoogleProducersResourceHierarchyLevel: _list[str] limit: str - producerInstanceLocation: typing_extensions.Literal[ + producerInstanceLocation: typing.Literal[ "PRODUCER_INSTANCE_LOCATION_UNSPECIFIED", "CUSTOM_RESOURCE_HIERARCHY_LEVELS" ] subnetworks: _list[str] @typing.type_check_only -class PscConnection(typing_extensions.TypedDict, total=False): +class PscConnection(typing.TypedDict, total=False): consumerAddress: str consumerForwardingRule: str consumerTargetProject: str error: GoogleRpcStatus errorInfo: GoogleRpcErrorInfo - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "CONNECTION_ERROR_TYPE_UNSPECIFIED", "ERROR_INTERNAL", "ERROR_CONSUMER_SIDE", "ERROR_PRODUCER_SIDE", ] gceOperation: str - ipVersion: typing_extensions.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] + ipVersion: typing.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] producerInstanceId: str producerInstanceMetadata: dict[str, typing.Any] pscConnectionId: str selectedSubnetwork: str serviceClass: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "FAILED", @@ -722,8 +728,8 @@ class PscConnection(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PscPropagationStatus(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class PscPropagationStatus(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "READY", "PROPAGATING", @@ -740,15 +746,13 @@ class PscPropagationStatus(typing_extensions.TypedDict, total=False): targetSpoke: str @typing.type_check_only -class QueryHubStatusResponse(typing_extensions.TypedDict, total=False): +class QueryHubStatusResponse(typing.TypedDict, total=False): hubStatusEntries: _list[HubStatusEntry] nextPageToken: str @typing.type_check_only -class RegionalEndpoint(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal[ - "ACCESS_TYPE_UNSPECIFIED", "GLOBAL", "REGIONAL" - ] +class RegionalEndpoint(typing.TypedDict, total=False): + accessType: typing.Literal["ACCESS_TYPE_UNSPECIFIED", "GLOBAL", "REGIONAL"] address: str createTime: str description: str @@ -762,27 +766,27 @@ class RegionalEndpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RejectHubSpokeRequest(typing_extensions.TypedDict, total=False): +class RejectHubSpokeRequest(typing.TypedDict, total=False): details: str requestId: str spokeUri: str @typing.type_check_only -class RejectHubSpokeResponse(typing_extensions.TypedDict, total=False): +class RejectHubSpokeResponse(typing.TypedDict, total=False): spoke: Spoke @typing.type_check_only -class RejectSpokeUpdateRequest(typing_extensions.TypedDict, total=False): +class RejectSpokeUpdateRequest(typing.TypedDict, total=False): details: str requestId: str spokeEtag: str spokeUri: str @typing.type_check_only -class RemoteTransportProfile(typing_extensions.TypedDict, total=False): +class RemoteTransportProfile(typing.TypedDict, total=False): description: str displayName: str - flow: typing_extensions.Literal[ + flow: typing.Literal[ "KEY_PROVISIONING_FLOW_UNSPECIFIED", "INPUT_ONLY", "OUTPUT_ONLY", @@ -790,14 +794,12 @@ class RemoteTransportProfile(typing_extensions.TypedDict, total=False): ] labels: dict[str, typing.Any] name: str - orderState: typing_extensions.Literal["STATE_UNSPECIFIED", "CLOSED", "OPEN"] + orderState: typing.Literal["STATE_UNSPECIFIED", "CLOSED", "OPEN"] provider: str providerSite: str - sla: typing_extensions.Literal[ - "SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED", "HIGH", "MAXIMUM" - ] + sla: typing.Literal["SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED", "HIGH", "MAXIMUM"] supportedBandwidths: _list[ - typing_extensions.Literal[ + typing.Literal[ "BANDWIDTH_UNSPECIFIED", "BPS_50M", "BPS_100M", @@ -816,7 +818,7 @@ class RemoteTransportProfile(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): createTime: str description: str ipCidrRange: str @@ -830,7 +832,7 @@ class Route(typing_extensions.TypedDict, total=False): nextHopVpnTunnel: NextHopVPNTunnel priority: str spoke: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -842,7 +844,7 @@ class Route(typing_extensions.TypedDict, total=False): "OBSOLETE", "FAILED", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ROUTE_TYPE_UNSPECIFIED", "VPC_PRIMARY_SUBNET", "VPC_SECONDARY_SUBNET", @@ -852,12 +854,12 @@ class Route(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RouteTable(typing_extensions.TypedDict, total=False): +class RouteTable(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -873,17 +875,17 @@ class RouteTable(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RouterApplianceInstance(typing_extensions.TypedDict, total=False): +class RouterApplianceInstance(typing.TypedDict, total=False): ipAddress: str virtualMachine: str @typing.type_check_only -class RoutingVPC(typing_extensions.TypedDict, total=False): +class RoutingVPC(typing.TypedDict, total=False): requiredForNewSiteToSiteDataTransferSpokes: bool uri: str @typing.type_check_only -class ServiceClass(typing_extensions.TypedDict, total=False): +class ServiceClass(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -893,8 +895,8 @@ class ServiceClass(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceConfig(typing_extensions.TypedDict, total=False): - eligibilityCriteria: typing_extensions.Literal[ +class ServiceConfig(typing.TypedDict, total=False): + eligibilityCriteria: typing.Literal[ "ELIGIBILITY_CRITERIA_UNSPECIFIED", "NETWORK_SERVICE_TIER_PREMIUM_ONLY", "NETWORK_SERVICE_TIER_STANDARD_ONLY", @@ -903,13 +905,13 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): supportEndTime: str @typing.type_check_only -class ServiceConnectionMap(typing_extensions.TypedDict, total=False): +class ServiceConnectionMap(typing.TypedDict, total=False): consumerPscConfigs: _list[ConsumerPscConfig] consumerPscConnections: _list[ConsumerPscConnection] createTime: str description: str etag: str - infrastructure: typing_extensions.Literal["INFRASTRUCTURE_UNSPECIFIED", "PSC"] + infrastructure: typing.Literal["INFRASTRUCTURE_UNSPECIFIED", "PSC"] labels: dict[str, typing.Any] name: str producerPscConfigs: _list[ProducerPscConfig] @@ -919,12 +921,12 @@ class ServiceConnectionMap(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceConnectionPolicy(typing_extensions.TypedDict, total=False): +class ServiceConnectionPolicy(typing.TypedDict, total=False): autoCreatedSubnetInfo: AutoCreatedSubnetworkInfo createTime: str description: str etag: str - infrastructure: typing_extensions.Literal["INFRASTRUCTURE_UNSPECIFIED", "PSC"] + infrastructure: typing.Literal["INFRASTRUCTURE_UNSPECIFIED", "PSC"] labels: dict[str, typing.Any] name: str network: str @@ -934,7 +936,7 @@ class ServiceConnectionPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceConnectionToken(typing_extensions.TypedDict, total=False): +class ServiceConnectionToken(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -946,12 +948,12 @@ class ServiceConnectionToken(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Spoke(typing_extensions.TypedDict, total=False): +class Spoke(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -967,7 +969,7 @@ class Spoke(typing_extensions.TypedDict, total=False): linkedVpnTunnels: LinkedVpnTunnels name: str reasons: _list[StateReason] - spokeType: typing_extensions.Literal[ + spokeType: typing.Literal[ "SPOKE_TYPE_UNSPECIFIED", "VPN_TUNNEL", "INTERCONNECT_ATTACHMENT", @@ -976,7 +978,7 @@ class Spoke(typing_extensions.TypedDict, total=False): "GATEWAY", "PRODUCER_VPC_NETWORK", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -992,9 +994,9 @@ class Spoke(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SpokeStateCount(typing_extensions.TypedDict, total=False): +class SpokeStateCount(typing.TypedDict, total=False): count: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -1008,9 +1010,9 @@ class SpokeStateCount(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SpokeStateReasonCount(typing_extensions.TypedDict, total=False): +class SpokeStateReasonCount(typing.TypedDict, total=False): count: str - stateReasonCode: typing_extensions.Literal[ + stateReasonCode: typing.Literal[ "CODE_UNSPECIFIED", "PENDING_REVIEW", "REJECTED", @@ -1022,15 +1024,15 @@ class SpokeStateReasonCount(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SpokeSummary(typing_extensions.TypedDict, total=False): +class SpokeSummary(typing.TypedDict, total=False): spokeStateCounts: _list[SpokeStateCount] spokeStateReasonCounts: _list[SpokeStateReasonCount] spokeTypeCounts: _list[SpokeTypeCount] @typing.type_check_only -class SpokeTypeCount(typing_extensions.TypedDict, total=False): +class SpokeTypeCount(typing.TypedDict, total=False): count: str - spokeType: typing_extensions.Literal[ + spokeType: typing.Literal[ "SPOKE_TYPE_UNSPECIFIED", "VPN_TUNNEL", "INTERCONNECT_ATTACHMENT", @@ -1041,15 +1043,15 @@ class SpokeTypeCount(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class StateMetadata(typing_extensions.TypedDict, total=False): +class StateMetadata(typing.TypedDict, total=False): effectiveTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ADDING", "ACTIVE", "DELETING", "SUSPENDING", "SUSPENDED" ] @typing.type_check_only -class StateReason(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class StateReason(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "PENDING_REVIEW", "REJECTED", @@ -1063,21 +1065,21 @@ class StateReason(typing_extensions.TypedDict, total=False): userDetails: str @typing.type_check_only -class StateTimeline(typing_extensions.TypedDict, total=False): +class StateTimeline(typing.TypedDict, total=False): states: _list[StateMetadata] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Transport(typing_extensions.TypedDict, total=False): +class Transport(typing.TypedDict, total=False): advertisedRoutes: _list[str] - bandwidth: typing_extensions.Literal[ + bandwidth: typing.Literal[ "BANDWIDTH_UNSPECIFIED", "BPS_50M", "BPS_100M", @@ -1104,10 +1106,8 @@ class Transport(typing_extensions.TypedDict, total=False): providedActivationKey: str remoteAccountId: str remoteProfile: str - stackType: typing_extensions.Literal[ - "STACK_TYPE_UNSPECIFIED", "IPV4_ONLY", "IPV4_IPV6" - ] - state: typing_extensions.Literal[ + stackType: typing.Literal["STACK_TYPE_UNSPECIFIED", "IPV4_ONLY", "IPV4_IPV6"] + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "PENDING_CONFIG", @@ -1119,12 +1119,12 @@ class Transport(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class VirtualMachine(typing_extensions.TypedDict, total=False): +class VirtualMachine(typing.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class Warnings(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class Warnings(typing.TypedDict, total=False): + code: typing.Literal[ "WARNING_UNSPECIFIED", "RESOURCE_NOT_ACTIVE", "RESOURCE_BEING_MODIFIED" ] data: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi index 978b7c87b..8772a2f97 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi index 1ad4a3c1d..178b7181f 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1alpha1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AllocationOptions(typing_extensions.TypedDict, total=False): - allocationStrategy: typing_extensions.Literal[ +class AllocationOptions(typing.TypedDict, total=False): + allocationStrategy: typing.Literal[ "ALLOCATION_STRATEGY_UNSPECIFIED", "RANDOM", "FIRST_AVAILABLE", @@ -16,46 +14,44 @@ class AllocationOptions(typing_extensions.TypedDict, total=False): firstAvailableRangesLookupSize: int @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -63,26 +59,26 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Hub(typing_extensions.TypedDict, total=False): +class Hub(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] name: str spokes: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED" ] uniqueId: str updateTime: str @typing.type_check_only -class InternalRange(typing_extensions.TypedDict, total=False): +class InternalRange(typing.TypedDict, total=False): allocationOptions: AllocationOptions createTime: str description: str @@ -94,51 +90,49 @@ class InternalRange(typing_extensions.TypedDict, total=False): name: str network: str overlaps: _list[ - typing_extensions.Literal[ + typing.Literal[ "OVERLAP_UNSPECIFIED", "OVERLAP_ROUTE_RANGE", "OVERLAP_EXISTING_SUBNET_RANGE", ] ] - peering: typing_extensions.Literal[ - "PEERING_UNSPECIFIED", "FOR_SELF", "FOR_PEER", "NOT_SHARED" - ] + peering: typing.Literal["PEERING_UNSPECIFIED", "FOR_SELF", "FOR_PEER", "NOT_SHARED"] prefixLength: int - rangeStatus: typing_extensions.Literal[ - "RANGE_STATUS_UNSPECIFIED", "ACTIVE", "OBSOLETE" + rangeStatus: typing.Literal[ + "RANGE_STATUS_UNSPECIFIED", "ACTIVE", "OBSOLETE", "CREATING", "DELETING" ] targetCidrRange: _list[str] updateTime: str - usage: typing_extensions.Literal[ + usage: typing.Literal[ "USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC", "FOR_MIGRATION" ] users: _list[str] @typing.type_check_only -class ListHubsResponse(typing_extensions.TypedDict, total=False): +class ListHubsResponse(typing.TypedDict, total=False): hubs: _list[Hub] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInternalRangesResponse(typing_extensions.TypedDict, total=False): +class ListInternalRangesResponse(typing.TypedDict, total=False): internalRanges: _list[InternalRange] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListSpokesResponse(typing_extensions.TypedDict, total=False): +class ListSpokesResponse(typing.TypedDict, total=False): nextPageToken: str spokes: _list[Spoke] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -146,12 +140,12 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Migration(typing_extensions.TypedDict, total=False): +class Migration(typing.TypedDict, total=False): source: str target: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -161,25 +155,25 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RouterApplianceInstance(typing_extensions.TypedDict, total=False): +class RouterApplianceInstance(typing.TypedDict, total=False): ipAddress: str networkInterface: str virtualMachine: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Spoke(typing_extensions.TypedDict, total=False): +class Spoke(typing.TypedDict, total=False): createTime: str description: str hub: str @@ -188,16 +182,16 @@ class Spoke(typing_extensions.TypedDict, total=False): linkedRouterApplianceInstances: _list[RouterApplianceInstance] linkedVpnTunnels: _list[str] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED" ] uniqueId: str updateTime: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi index b6efe4543..3ec75d8e6 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -234,7 +233,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): *, parent: str, hostname: str | None = ..., - monitoringPointType: typing_extensions.Literal[ + monitoringPointType: typing.Literal[ "MONITORING_POINT_TYPE_UNSPECIFIED", "CONTAINER", "KVM", diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi index 2d6ff7dfb..196339c6e 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbortInfo(typing_extensions.TypedDict, total=False): - cause: typing_extensions.Literal[ +class AbortInfo(typing.TypedDict, total=False): + cause: typing.Literal[ "CAUSE_UNSPECIFIED", "UNKNOWN_NETWORK", "UNKNOWN_PROJECT", @@ -58,68 +56,68 @@ class AbortInfo(typing_extensions.TypedDict, total=False): resourceUri: str @typing.type_check_only -class AppEngineVersionEndpoint(typing_extensions.TypedDict, total=False): +class AppEngineVersionEndpoint(typing.TypedDict, total=False): uri: str @typing.type_check_only -class AppEngineVersionInfo(typing_extensions.TypedDict, total=False): +class AppEngineVersionInfo(typing.TypedDict, total=False): displayName: str environment: str runtime: str uri: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudFunctionEndpoint(typing_extensions.TypedDict, total=False): +class CloudFunctionEndpoint(typing.TypedDict, total=False): uri: str @typing.type_check_only -class CloudFunctionInfo(typing_extensions.TypedDict, total=False): +class CloudFunctionInfo(typing.TypedDict, total=False): displayName: str location: str uri: str versionId: str @typing.type_check_only -class CloudRunJobInfo(typing_extensions.TypedDict, total=False): +class CloudRunJobInfo(typing.TypedDict, total=False): displayName: str location: str uri: str @typing.type_check_only -class CloudRunRevisionEndpoint(typing_extensions.TypedDict, total=False): +class CloudRunRevisionEndpoint(typing.TypedDict, total=False): serviceUri: str uri: str @typing.type_check_only -class CloudRunRevisionInfo(typing_extensions.TypedDict, total=False): +class CloudRunRevisionInfo(typing.TypedDict, total=False): displayName: str location: str serviceUri: str uri: str @typing.type_check_only -class CloudSQLInstanceInfo(typing_extensions.TypedDict, total=False): +class CloudSQLInstanceInfo(typing.TypedDict, total=False): displayName: str externalIp: str internalIp: str @@ -128,7 +126,7 @@ class CloudSQLInstanceInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ConnectivityTest(typing_extensions.TypedDict, total=False): +class ConnectivityTest(typing.TypedDict, total=False): bypassFirewallChecks: bool createTime: str description: str @@ -146,8 +144,8 @@ class ConnectivityTest(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeliverInfo(typing_extensions.TypedDict, total=False): - googleServiceType: typing_extensions.Literal[ +class DeliverInfo(typing.TypedDict, total=False): + googleServiceType: typing.Literal[ "GOOGLE_SERVICE_TYPE_UNSPECIFIED", "IAP", "GFE_PROXY_OR_HEALTH_CHECK_PROBER", @@ -159,7 +157,7 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): pscGoogleApiTarget: str resourceUri: str storageBucket: str - target: typing_extensions.Literal[ + target: typing.Literal[ "TARGET_UNSPECIFIED", "INSTANCE", "INTERNET", @@ -185,7 +183,7 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DirectVpcEgressConnectionInfo(typing_extensions.TypedDict, total=False): +class DirectVpcEgressConnectionInfo(typing.TypedDict, total=False): networkUri: str region: str selectedIpAddress: str @@ -193,8 +191,8 @@ class DirectVpcEgressConnectionInfo(typing_extensions.TypedDict, total=False): subnetworkUri: str @typing.type_check_only -class DropInfo(typing_extensions.TypedDict, total=False): - cause: typing_extensions.Literal[ +class DropInfo(typing.TypedDict, total=False): + cause: typing.Literal[ "CAUSE_UNSPECIFIED", "UNKNOWN_EXTERNAL_ADDRESS", "FOREIGN_IP_DISALLOWED", @@ -287,6 +285,8 @@ class DropInfo(typing_extensions.TypedDict, total=False): "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", "NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION", "PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED", + "PRIVATE_NAT_SOURCE_IP_IN_EXCLUDED_RANGE", + "PRIVATE_NAT_SOURCE_IP_IS_A_LINK_LOCAL_IP_IN_GKE", "PSC_PORT_MAPPING_PORT_MISMATCH", "PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED", "UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", @@ -314,12 +314,12 @@ class DropInfo(typing_extensions.TypedDict, total=False): sourceIp: str @typing.type_check_only -class EdgeLocation(typing_extensions.TypedDict, total=False): +class EdgeLocation(typing.TypedDict, total=False): metropolitanArea: str @typing.type_check_only -class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class EffectiveVpcFlowLogsConfig(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "AGGREGATION_INTERVAL_UNSPECIFIED", "INTERVAL_5_SEC", "INTERVAL_30_SEC", @@ -328,7 +328,7 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): "INTERVAL_10_MIN", "INTERVAL_15_MIN", ] - crossProjectMetadata: typing_extensions.Literal[ + crossProjectMetadata: typing.Literal[ "CROSS_PROJECT_METADATA_UNSPECIFIED", "CROSS_PROJECT_METADATA_ENABLED", "CROSS_PROJECT_METADATA_DISABLED", @@ -336,7 +336,7 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): filterExpr: str flowSampling: float interconnectAttachment: str - metadata: typing_extensions.Literal[ + metadata: typing.Literal[ "METADATA_UNSPECIFIED", "INCLUDE_ALL_METADATA", "EXCLUDE_ALL_METADATA", @@ -345,7 +345,7 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): metadataFields: _list[str] name: str network: str - scope: typing_extensions.Literal[ + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "SUBNET", "COMPUTE_API_SUBNET", @@ -354,15 +354,15 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): "INTERCONNECT_ATTACHMENT", "ORGANIZATION", ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] subnet: str vpnTunnel: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): appEngineVersion: AppEngineVersionEndpoint cloudFunction: CloudFunctionEndpoint cloudRunJob: str @@ -370,7 +370,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): cloudSqlInstance: str dmsPrivateConnection: str forwardingRule: str - forwardingRuleTarget: typing_extensions.Literal[ + forwardingRuleTarget: typing.Literal[ "FORWARDING_RULE_TARGET_UNSPECIFIED", "INSTANCE", "LOAD_BALANCER", @@ -383,7 +383,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): instance: str ipAddress: str loadBalancerId: str - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "LOAD_BALANCER_TYPE_UNSPECIFIED", "HTTPS_ADVANCED_LOAD_BALANCER", "HTTPS_LOAD_BALANCER", @@ -397,7 +397,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): "TCP_UDP_INTERNAL_LOAD_BALANCER", ] network: str - networkType: typing_extensions.Literal[ + networkType: typing.Literal[ "NETWORK_TYPE_UNSPECIFIED", "GCP_NETWORK", "NON_GCP_NETWORK", "INTERNET" ] port: int @@ -406,7 +406,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): redisInstance: str @typing.type_check_only -class EndpointInfo(typing_extensions.TypedDict, total=False): +class EndpointInfo(typing.TypedDict, total=False): destinationIp: str destinationNetworkUri: str destinationPort: int @@ -417,18 +417,18 @@ class EndpointInfo(typing_extensions.TypedDict, total=False): sourcePort: int @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FirewallInfo(typing_extensions.TypedDict, total=False): +class FirewallInfo(typing.TypedDict, total=False): action: str direction: str displayName: str - firewallRuleType: typing_extensions.Literal[ + firewallRuleType: typing.Literal[ "FIREWALL_RULE_TYPE_UNSPECIFIED", "HIERARCHICAL_FIREWALL_POLICY_RULE", "VPC_FIREWALL_RULE", @@ -449,16 +449,16 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): priority: int targetServiceAccounts: _list[str] targetTags: _list[str] - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_TYPE_UNSPECIFIED", "INSTANCES", "INTERNAL_MANAGED_LB" ] uri: str @typing.type_check_only -class ForwardInfo(typing_extensions.TypedDict, total=False): +class ForwardInfo(typing.TypedDict, total=False): ipAddress: str resourceUri: str - target: typing_extensions.Literal[ + target: typing.Literal[ "TARGET_UNSPECIFIED", "PEERING_VPC", "VPN_GATEWAY", @@ -473,8 +473,15 @@ class ForwardInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ForwardingRuleInfo(typing_extensions.TypedDict, total=False): +class ForwardingRuleInfo(typing.TypedDict, total=False): displayName: str + envoyHealthCheckFirewallsConfigState: typing.Literal[ + "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", + "FIREWALLS_CONFIGURED", + "FIREWALLS_PARTIALLY_CONFIGURED", + "FIREWALLS_NOT_CONFIGURED", + "FIREWALLS_UNSUPPORTED", + ] loadBalancerName: str matchedPortRange: str matchedProtocol: str @@ -487,7 +494,7 @@ class ForwardingRuleInfo(typing_extensions.TypedDict, total=False): vip: str @typing.type_check_only -class GKEMasterInfo(typing_extensions.TypedDict, total=False): +class GKEMasterInfo(typing.TypedDict, total=False): clusterNetworkUri: str clusterUri: str dnsEndpoint: str @@ -495,28 +502,28 @@ class GKEMasterInfo(typing_extensions.TypedDict, total=False): internalIp: str @typing.type_check_only -class GenerateMonitoringPointConfigResponse(typing_extensions.TypedDict, total=False): +class GenerateMonitoringPointConfigResponse(typing.TypedDict, total=False): config: dict[str, typing.Any] @typing.type_check_only -class GenerateProviderAccessTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateProviderAccessTokenResponse(typing.TypedDict, total=False): providerAccessToken: str @typing.type_check_only -class GeoLocation(typing_extensions.TypedDict, total=False): +class GeoLocation(typing.TypedDict, total=False): formattedAddress: str regionCode: str @typing.type_check_only -class GkeNetworkPolicyInfo(typing_extensions.TypedDict, total=False): +class GkeNetworkPolicyInfo(typing.TypedDict, total=False): action: str direction: str displayName: str uri: str @typing.type_check_only -class GkeNetworkPolicySkippedInfo(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class GkeNetworkPolicySkippedInfo(typing.TypedDict, total=False): + reason: typing.Literal[ "REASON_UNSPECIFIED", "NETWORK_POLICY_DISABLED", "INGRESS_SOURCE_ON_SAME_NODE", @@ -526,14 +533,14 @@ class GkeNetworkPolicySkippedInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GkePodInfo(typing_extensions.TypedDict, total=False): +class GkePodInfo(typing.TypedDict, total=False): ipAddress: str networkUri: str podUri: str @typing.type_check_only -class GoogleServiceInfo(typing_extensions.TypedDict, total=False): - googleServiceType: typing_extensions.Literal[ +class GoogleServiceInfo(typing.TypedDict, total=False): + googleServiceType: typing.Literal[ "GOOGLE_SERVICE_TYPE_UNSPECIFIED", "IAP", "GFE_PROXY_OR_HEALTH_CHECK_PROBER", @@ -546,7 +553,7 @@ class GoogleServiceInfo(typing_extensions.TypedDict, total=False): sourceIp: str @typing.type_check_only -class Host(typing_extensions.TypedDict, total=False): +class Host(typing.TypedDict, total=False): cloudInstanceId: str cloudProjectId: str cloudProvider: str @@ -556,19 +563,19 @@ class Host(typing_extensions.TypedDict, total=False): os: str @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class HybridSubnetInfo(typing_extensions.TypedDict, total=False): +class HybridSubnetInfo(typing.TypedDict, total=False): displayName: str region: str uri: str @typing.type_check_only -class InstanceInfo(typing_extensions.TypedDict, total=False): +class InstanceInfo(typing.TypedDict, total=False): displayName: str externalIp: str interface: str @@ -578,25 +585,25 @@ class InstanceInfo(typing_extensions.TypedDict, total=False): pscNetworkAttachmentUri: str running: bool serviceAccount: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] + status: typing.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] uri: str @typing.type_check_only -class InterconnectAttachmentInfo(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentInfo(typing.TypedDict, total=False): cloudRouterUri: str displayName: str interconnectUri: str l2AttachmentMatchedIpAddress: str region: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "DEDICATED", "PARTNER", "PARTNER_PROVIDER", "L2_DEDICATED" ] uri: str @typing.type_check_only -class IpMasqueradingSkippedInfo(typing_extensions.TypedDict, total=False): +class IpMasqueradingSkippedInfo(typing.TypedDict, total=False): nonMasqueradeRange: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNSPECIFIED", "DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE", "DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE", @@ -608,72 +615,72 @@ class IpMasqueradingSkippedInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LatencyDistribution(typing_extensions.TypedDict, total=False): +class LatencyDistribution(typing.TypedDict, total=False): latencyPercentiles: _list[LatencyPercentile] @typing.type_check_only -class LatencyPercentile(typing_extensions.TypedDict, total=False): +class LatencyPercentile(typing.TypedDict, total=False): latencyMicros: str percent: int @typing.type_check_only -class ListConnectivityTestsResponse(typing_extensions.TypedDict, total=False): +class ListConnectivityTestsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[ConnectivityTest] unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMonitoringPointsResponse(typing_extensions.TypedDict, total=False): +class ListMonitoringPointsResponse(typing.TypedDict, total=False): monitoringPoints: _list[MonitoringPoint] nextPageToken: str @typing.type_check_only -class ListNetworkMonitoringProvidersResponse(typing_extensions.TypedDict, total=False): +class ListNetworkMonitoringProvidersResponse(typing.TypedDict, total=False): networkMonitoringProviders: _list[NetworkMonitoringProvider] nextPageToken: str @typing.type_check_only -class ListNetworkPathsResponse(typing_extensions.TypedDict, total=False): +class ListNetworkPathsResponse(typing.TypedDict, total=False): networkPaths: _list[NetworkPath] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): +class ListVpcFlowLogsConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vpcFlowLogsConfigs: _list[VpcFlowLogsConfig] @typing.type_check_only -class ListWebPathsResponse(typing_extensions.TypedDict, total=False): +class ListWebPathsResponse(typing.TypedDict, total=False): nextPageToken: str webPaths: _list[WebPath] @typing.type_check_only -class LoadBalancerBackend(typing_extensions.TypedDict, total=False): +class LoadBalancerBackend(typing.TypedDict, total=False): displayName: str healthCheckAllowingFirewallRules: _list[str] healthCheckBlockingFirewallRules: _list[str] - healthCheckFirewallState: typing_extensions.Literal[ + healthCheckFirewallState: typing.Literal[ "HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED", "CONFIGURED", "MISCONFIGURED" ] uri: str @typing.type_check_only -class LoadBalancerBackendInfo(typing_extensions.TypedDict, total=False): +class LoadBalancerBackendInfo(typing.TypedDict, total=False): backendBucketUri: str backendServiceUri: str - healthCheckFirewallsConfigState: typing_extensions.Literal[ + healthCheckFirewallsConfigState: typing.Literal[ "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", "FIREWALLS_CONFIGURED", "FIREWALLS_PARTIALLY_CONFIGURED", @@ -689,14 +696,14 @@ class LoadBalancerBackendInfo(typing_extensions.TypedDict, total=False): pscServiceAttachmentUri: str @typing.type_check_only -class LoadBalancerInfo(typing_extensions.TypedDict, total=False): - backendType: typing_extensions.Literal[ +class LoadBalancerInfo(typing.TypedDict, total=False): + backendType: typing.Literal[ "BACKEND_TYPE_UNSPECIFIED", "BACKEND_SERVICE", "TARGET_POOL", "TARGET_INSTANCE" ] backendUri: str backends: _list[LoadBalancerBackend] healthCheckUri: str - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "LOAD_BALANCER_TYPE_UNSPECIFIED", "INTERNAL_TCP_UDP", "NETWORK_TCP_UDP", @@ -706,7 +713,7 @@ class LoadBalancerInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -714,18 +721,18 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MonitoringPoint(typing_extensions.TypedDict, total=False): +class MonitoringPoint(typing.TypedDict, total=False): autoGeoLocationEnabled: bool - connectionStatus: typing_extensions.Literal[ + connectionStatus: typing.Literal[ "CONNECTION_STATUS_UNSPECIFIED", "ONLINE", "OFFLINE" ] createTime: str - deploymentType: typing_extensions.Literal[ + deploymentType: typing.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "DOCKER", "PODMAN", "HELM" ] displayName: str errors: _list[ - typing_extensions.Literal[ + typing.Literal[ "ERROR_CODE_UNSPECIFIED", "NTP_ERROR", "UPGRADE_ERROR", "DOWNLOAD_FAILED" ] ] @@ -740,14 +747,14 @@ class MonitoringPoint(typing_extensions.TypedDict, total=False): type: str updateTime: str upgradeAvailable: bool - upgradeType: typing_extensions.Literal[ + upgradeType: typing.Literal[ "UPGRADE_TYPE_UNSPECIFIED", "MANUAL", "MANAGED", "SCHEDULED", "AUTO", "EXTERNAL" ] version: str @typing.type_check_only -class NatInfo(typing_extensions.TypedDict, total=False): - cloudNatGatewayType: typing_extensions.Literal[ +class NatInfo(typing.TypedDict, total=False): + cloudNatGatewayType: typing.Literal[ "CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED", "PUBLIC_NAT44", "PUBLIC_NAT64", @@ -767,7 +774,8 @@ class NatInfo(typing_extensions.TypedDict, total=False): oldSourcePort: int protocol: str routerUri: str - type: typing_extensions.Literal[ + ruleNumber: int + type: typing.Literal[ "TYPE_UNSPECIFIED", "INTERNAL_TO_EXTERNAL", "EXTERNAL_TO_INTERNAL", @@ -777,7 +785,7 @@ class NatInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NetworkInfo(typing_extensions.TypedDict, total=False): +class NetworkInfo(typing.TypedDict, total=False): displayName: str matchedIpRange: str matchedSubnetUri: str @@ -785,7 +793,7 @@ class NetworkInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): adapterDescription: str cidr: str interfaceName: str @@ -795,13 +803,13 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): vlanId: str @typing.type_check_only -class NetworkMonitoringProvider(typing_extensions.TypedDict, total=False): +class NetworkMonitoringProvider(typing.TypedDict, total=False): createTime: str errors: _list[str] name: str - providerType: typing_extensions.Literal["PROVIDER_TYPE_UNSPECIFIED", "EXTERNAL"] + providerType: typing.Literal["PROVIDER_TYPE_UNSPECIFIED", "EXTERNAL"] providerUri: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVATING", "ACTIVE", @@ -813,7 +821,7 @@ class NetworkMonitoringProvider(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class NetworkPath(typing_extensions.TypedDict, total=False): +class NetworkPath(typing.TypedDict, total=False): createTime: str destination: str destinationGeoLocation: GeoLocation @@ -823,7 +831,7 @@ class NetworkPath(typing_extensions.TypedDict, total=False): monitoringEnabled: bool monitoringPolicyDisplayName: str monitoringPolicyId: str - monitoringStatus: typing_extensions.Literal[ + monitoringStatus: typing.Literal[ "MONITORING_STATUS_UNSPECIFIED", "MONITORING", "POLICY_MISMATCH", @@ -831,7 +839,7 @@ class NetworkPath(typing_extensions.TypedDict, total=False): "DISABLED", ] name: str - networkProtocol: typing_extensions.Literal[ + networkProtocol: typing.Literal[ "NETWORK_PROTOCOL_UNSPECIFIED", "ICMP", "UDP", "TCP" ] providerTags: _list[ProviderTag] @@ -840,11 +848,11 @@ class NetworkPath(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class NgfwPacketInspectionInfo(typing_extensions.TypedDict, total=False): +class NgfwPacketInspectionInfo(typing.TypedDict, total=False): securityProfileGroupUri: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -852,7 +860,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -862,19 +870,19 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrivateConnectionInfo(typing_extensions.TypedDict, total=False): +class PrivateConnectionInfo(typing.TypedDict, total=False): uri: str @typing.type_check_only -class ProbingDetails(typing_extensions.TypedDict, total=False): - abortCause: typing_extensions.Literal[ +class ProbingDetails(typing.TypedDict, total=False): + abortCause: typing.Literal[ "PROBING_ABORT_CAUSE_UNSPECIFIED", "PERMISSION_DENIED", "NO_SOURCE_LOCATION" ] destinationEgressLocation: EdgeLocation @@ -883,7 +891,7 @@ class ProbingDetails(typing_extensions.TypedDict, total=False): error: Status probedAllDevices: bool probingLatency: LatencyDistribution - result: typing_extensions.Literal[ + result: typing.Literal[ "PROBING_RESULT_UNSPECIFIED", "REACHABLE", "UNREACHABLE", @@ -895,9 +903,9 @@ class ProbingDetails(typing_extensions.TypedDict, total=False): verifyTime: str @typing.type_check_only -class ProviderTag(typing_extensions.TypedDict, total=False): +class ProviderTag(typing.TypedDict, total=False): category: str - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "NETWORK_PATH", "WEB_PATH", @@ -909,7 +917,7 @@ class ProviderTag(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class ProxyConnectionInfo(typing_extensions.TypedDict, total=False): +class ProxyConnectionInfo(typing.TypedDict, total=False): networkUri: str newDestinationIp: str newDestinationPort: int @@ -923,22 +931,22 @@ class ProxyConnectionInfo(typing_extensions.TypedDict, total=False): subnetUri: str @typing.type_check_only -class QueryOrgVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): +class QueryOrgVpcFlowLogsConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vpcFlowLogsConfigs: _list[VpcFlowLogsConfig] @typing.type_check_only -class ReachabilityDetails(typing_extensions.TypedDict, total=False): +class ReachabilityDetails(typing.TypedDict, total=False): error: Status - result: typing_extensions.Literal[ + result: typing.Literal[ "RESULT_UNSPECIFIED", "REACHABLE", "UNREACHABLE", "AMBIGUOUS", "UNDETERMINED" ] traces: _list[Trace] verifyTime: str @typing.type_check_only -class RedisClusterInfo(typing_extensions.TypedDict, total=False): +class RedisClusterInfo(typing.TypedDict, total=False): discoveryEndpointIpAddress: str displayName: str location: str @@ -947,7 +955,7 @@ class RedisClusterInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class RedisInstanceInfo(typing_extensions.TypedDict, total=False): +class RedisInstanceInfo(typing.TypedDict, total=False): displayName: str networkUri: str primaryEndpointIp: str @@ -956,10 +964,10 @@ class RedisInstanceInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class RerunConnectivityTestRequest(typing_extensions.TypedDict, total=False): ... +class RerunConnectivityTestRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RouteInfo(typing_extensions.TypedDict, total=False): +class RouteInfo(typing.TypedDict, total=False): advertisedRouteNextHopUri: str advertisedRouteSourceRouterUri: str destIpRange: str @@ -972,7 +980,7 @@ class RouteInfo(typing_extensions.TypedDict, total=False): networkUri: str nextHop: str nextHopNetworkUri: str - nextHopType: typing_extensions.Literal[ + nextHopType: typing.Literal[ "NEXT_HOP_TYPE_UNSPECIFIED", "NEXT_HOP_IP", "NEXT_HOP_INSTANCE", @@ -994,10 +1002,8 @@ class RouteInfo(typing_extensions.TypedDict, total=False): priority: int protocols: _list[str] region: str - routeScope: typing_extensions.Literal[ - "ROUTE_SCOPE_UNSPECIFIED", "NETWORK", "NCC_HUB" - ] - routeType: typing_extensions.Literal[ + routeScope: typing.Literal["ROUTE_SCOPE_UNSPECIFIED", "NETWORK", "NCC_HUB"] + routeType: typing.Literal[ "ROUTE_TYPE_UNSPECIFIED", "SUBNET", "STATIC", @@ -1013,30 +1019,30 @@ class RouteInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ServerlessExternalConnectionInfo(typing_extensions.TypedDict, total=False): +class ServerlessExternalConnectionInfo(typing.TypedDict, total=False): selectedIpAddress: str @typing.type_check_only -class ServerlessNegInfo(typing_extensions.TypedDict, total=False): +class ServerlessNegInfo(typing.TypedDict, total=False): negUri: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class ShowEffectiveFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): +class ShowEffectiveFlowLogsConfigsResponse(typing.TypedDict, total=False): effectiveFlowLogsConfigs: _list[EffectiveVpcFlowLogsConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class SingleEdgeResponse(typing_extensions.TypedDict, total=False): +class SingleEdgeResponse(typing.TypedDict, total=False): destinationEgressLocation: EdgeLocation destinationRouter: str probingLatency: LatencyDistribution - result: typing_extensions.Literal[ + result: typing.Literal[ "PROBING_RESULT_UNSPECIFIED", "REACHABLE", "UNREACHABLE", @@ -1047,13 +1053,13 @@ class SingleEdgeResponse(typing_extensions.TypedDict, total=False): successfulProbeCount: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): abort: AbortInfo appEngineVersion: AppEngineVersionInfo causesDrop: bool @@ -1092,7 +1098,7 @@ class Step(typing_extensions.TypedDict, total=False): route: RouteInfo serverlessExternalConnection: ServerlessExternalConnectionInfo serverlessNeg: ServerlessNegInfo - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "START_FROM_INSTANCE", "START_FROM_INTERNET", @@ -1149,32 +1155,32 @@ class Step(typing_extensions.TypedDict, total=False): vpnTunnel: VpnTunnelInfo @typing.type_check_only -class StorageBucketInfo(typing_extensions.TypedDict, total=False): +class StorageBucketInfo(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Trace(typing_extensions.TypedDict, total=False): +class Trace(typing.TypedDict, total=False): endpointInfo: EndpointInfo forwardTraceId: int steps: _list[Step] @typing.type_check_only -class VpcConnectorInfo(typing_extensions.TypedDict, total=False): +class VpcConnectorInfo(typing.TypedDict, total=False): displayName: str location: str uri: str @typing.type_check_only -class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class VpcFlowLogsConfig(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "AGGREGATION_INTERVAL_UNSPECIFIED", "INTERVAL_5_SEC", "INTERVAL_30_SEC", @@ -1184,7 +1190,7 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): "INTERVAL_15_MIN", ] createTime: str - crossProjectMetadata: typing_extensions.Literal[ + crossProjectMetadata: typing.Literal[ "CROSS_PROJECT_METADATA_UNSPECIFIED", "CROSS_PROJECT_METADATA_ENABLED", "CROSS_PROJECT_METADATA_DISABLED", @@ -1194,7 +1200,7 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): flowSampling: float interconnectAttachment: str labels: dict[str, typing.Any] - metadata: typing_extensions.Literal[ + metadata: typing.Literal[ "METADATA_UNSPECIFIED", "INCLUDE_ALL_METADATA", "EXCLUDE_ALL_METADATA", @@ -1203,9 +1209,9 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): metadataFields: _list[str] name: str network: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] subnet: str - targetResourceState: typing_extensions.Literal[ + targetResourceState: typing.Literal[ "TARGET_RESOURCE_STATE_UNSPECIFIED", "TARGET_RESOURCE_EXISTS", "TARGET_RESOURCE_DOES_NOT_EXIST", @@ -1214,7 +1220,7 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): vpnTunnel: str @typing.type_check_only -class VpnGatewayInfo(typing_extensions.TypedDict, total=False): +class VpnGatewayInfo(typing.TypedDict, total=False): displayName: str ipAddress: str networkUri: str @@ -1223,13 +1229,13 @@ class VpnGatewayInfo(typing_extensions.TypedDict, total=False): vpnTunnelUri: str @typing.type_check_only -class VpnTunnelInfo(typing_extensions.TypedDict, total=False): +class VpnTunnelInfo(typing.TypedDict, total=False): displayName: str networkUri: str region: str remoteGateway: str remoteGatewayIp: str - routingType: typing_extensions.Literal[ + routingType: typing.Literal[ "ROUTING_TYPE_UNSPECIFIED", "ROUTE_BASED", "POLICY_BASED", "DYNAMIC" ] sourceGateway: str @@ -1237,7 +1243,7 @@ class VpnTunnelInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class WebPath(typing_extensions.TypedDict, total=False): +class WebPath(typing.TypedDict, total=False): createTime: str destination: str destinationGeoLocation: GeoLocation @@ -1246,7 +1252,7 @@ class WebPath(typing_extensions.TypedDict, total=False): monitoringEnabled: bool monitoringPolicyDisplayName: str monitoringPolicyId: str - monitoringStatus: typing_extensions.Literal[ + monitoringStatus: typing.Literal[ "MONITORING_STATUS_UNSPECIFIED", "MONITORING", "POLICY_MISMATCH", @@ -1259,6 +1265,4 @@ class WebPath(typing_extensions.TypedDict, total=False): relatedNetworkPathId: str sourceMonitoringPointId: str updateTime: str - workflowType: typing_extensions.Literal[ - "WORKFLOW_TYPE_UNSPECIFIED", "BROWSER", "HTTP" - ] + workflowType: typing.Literal["WORKFLOW_TYPE_UNSPECIFIED", "BROWSER", "HTTP"] diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi index fe02d2919..daff45770 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi index 71692a371..b781a7f43 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbortInfo(typing_extensions.TypedDict, total=False): - cause: typing_extensions.Literal[ +class AbortInfo(typing.TypedDict, total=False): + cause: typing.Literal[ "CAUSE_UNSPECIFIED", "UNKNOWN_NETWORK", "UNKNOWN_PROJECT", @@ -58,68 +56,68 @@ class AbortInfo(typing_extensions.TypedDict, total=False): resourceUri: str @typing.type_check_only -class AppEngineVersionEndpoint(typing_extensions.TypedDict, total=False): +class AppEngineVersionEndpoint(typing.TypedDict, total=False): uri: str @typing.type_check_only -class AppEngineVersionInfo(typing_extensions.TypedDict, total=False): +class AppEngineVersionInfo(typing.TypedDict, total=False): displayName: str environment: str runtime: str uri: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudFunctionEndpoint(typing_extensions.TypedDict, total=False): +class CloudFunctionEndpoint(typing.TypedDict, total=False): uri: str @typing.type_check_only -class CloudFunctionInfo(typing_extensions.TypedDict, total=False): +class CloudFunctionInfo(typing.TypedDict, total=False): displayName: str location: str uri: str versionId: str @typing.type_check_only -class CloudRunJobInfo(typing_extensions.TypedDict, total=False): +class CloudRunJobInfo(typing.TypedDict, total=False): displayName: str location: str uri: str @typing.type_check_only -class CloudRunRevisionEndpoint(typing_extensions.TypedDict, total=False): +class CloudRunRevisionEndpoint(typing.TypedDict, total=False): serviceUri: str uri: str @typing.type_check_only -class CloudRunRevisionInfo(typing_extensions.TypedDict, total=False): +class CloudRunRevisionInfo(typing.TypedDict, total=False): displayName: str location: str serviceUri: str uri: str @typing.type_check_only -class CloudSQLInstanceInfo(typing_extensions.TypedDict, total=False): +class CloudSQLInstanceInfo(typing.TypedDict, total=False): displayName: str externalIp: str internalIp: str @@ -128,7 +126,7 @@ class CloudSQLInstanceInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ConnectivityTest(typing_extensions.TypedDict, total=False): +class ConnectivityTest(typing.TypedDict, total=False): bypassFirewallChecks: bool createTime: str description: str @@ -146,8 +144,8 @@ class ConnectivityTest(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DeliverInfo(typing_extensions.TypedDict, total=False): - googleServiceType: typing_extensions.Literal[ +class DeliverInfo(typing.TypedDict, total=False): + googleServiceType: typing.Literal[ "GOOGLE_SERVICE_TYPE_UNSPECIFIED", "IAP", "GFE_PROXY_OR_HEALTH_CHECK_PROBER", @@ -159,7 +157,7 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): pscGoogleApiTarget: str resourceUri: str storageBucket: str - target: typing_extensions.Literal[ + target: typing.Literal[ "TARGET_UNSPECIFIED", "INSTANCE", "INTERNET", @@ -185,7 +183,7 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DirectVpcEgressConnectionInfo(typing_extensions.TypedDict, total=False): +class DirectVpcEgressConnectionInfo(typing.TypedDict, total=False): networkUri: str region: str selectedIpAddress: str @@ -193,8 +191,8 @@ class DirectVpcEgressConnectionInfo(typing_extensions.TypedDict, total=False): subnetworkUri: str @typing.type_check_only -class DropInfo(typing_extensions.TypedDict, total=False): - cause: typing_extensions.Literal[ +class DropInfo(typing.TypedDict, total=False): + cause: typing.Literal[ "CAUSE_UNSPECIFIED", "UNKNOWN_EXTERNAL_ADDRESS", "FOREIGN_IP_DISALLOWED", @@ -287,6 +285,8 @@ class DropInfo(typing_extensions.TypedDict, total=False): "NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", "NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION", "PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED", + "PRIVATE_NAT_SOURCE_IP_IN_EXCLUDED_RANGE", + "PRIVATE_NAT_SOURCE_IP_IS_A_LINK_LOCAL_IP_IN_GKE", "PSC_PORT_MAPPING_PORT_MISMATCH", "PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED", "UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", @@ -314,12 +314,12 @@ class DropInfo(typing_extensions.TypedDict, total=False): sourceIp: str @typing.type_check_only -class EdgeLocation(typing_extensions.TypedDict, total=False): +class EdgeLocation(typing.TypedDict, total=False): metropolitanArea: str @typing.type_check_only -class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class EffectiveVpcFlowLogsConfig(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "AGGREGATION_INTERVAL_UNSPECIFIED", "INTERVAL_5_SEC", "INTERVAL_30_SEC", @@ -328,7 +328,7 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): "INTERVAL_10_MIN", "INTERVAL_15_MIN", ] - crossProjectMetadata: typing_extensions.Literal[ + crossProjectMetadata: typing.Literal[ "CROSS_PROJECT_METADATA_UNSPECIFIED", "CROSS_PROJECT_METADATA_ENABLED", "CROSS_PROJECT_METADATA_DISABLED", @@ -336,7 +336,7 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): filterExpr: str flowSampling: float interconnectAttachment: str - metadata: typing_extensions.Literal[ + metadata: typing.Literal[ "METADATA_UNSPECIFIED", "INCLUDE_ALL_METADATA", "EXCLUDE_ALL_METADATA", @@ -345,7 +345,7 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): metadataFields: _list[str] name: str network: str - scope: typing_extensions.Literal[ + scope: typing.Literal[ "SCOPE_UNSPECIFIED", "SUBNET", "COMPUTE_API_SUBNET", @@ -354,15 +354,15 @@ class EffectiveVpcFlowLogsConfig(typing_extensions.TypedDict, total=False): "INTERCONNECT_ATTACHMENT", "ORGANIZATION", ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] subnet: str vpnTunnel: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): appEngineVersion: AppEngineVersionEndpoint cloudFunction: CloudFunctionEndpoint cloudRunJob: str @@ -371,7 +371,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): datastreamPrivateConnection: str dmsPrivateConnection: str forwardingRule: str - forwardingRuleTarget: typing_extensions.Literal[ + forwardingRuleTarget: typing.Literal[ "FORWARDING_RULE_TARGET_UNSPECIFIED", "INSTANCE", "LOAD_BALANCER", @@ -384,7 +384,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): instance: str ipAddress: str loadBalancerId: str - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "LOAD_BALANCER_TYPE_UNSPECIFIED", "HTTPS_ADVANCED_LOAD_BALANCER", "HTTPS_LOAD_BALANCER", @@ -398,7 +398,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): "TCP_UDP_INTERNAL_LOAD_BALANCER", ] network: str - networkType: typing_extensions.Literal[ + networkType: typing.Literal[ "NETWORK_TYPE_UNSPECIFIED", "GCP_NETWORK", "NON_GCP_NETWORK", "INTERNET" ] port: int @@ -407,7 +407,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): redisInstance: str @typing.type_check_only -class EndpointInfo(typing_extensions.TypedDict, total=False): +class EndpointInfo(typing.TypedDict, total=False): destinationIp: str destinationNetworkUri: str destinationPort: int @@ -418,18 +418,18 @@ class EndpointInfo(typing_extensions.TypedDict, total=False): sourcePort: int @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FirewallInfo(typing_extensions.TypedDict, total=False): +class FirewallInfo(typing.TypedDict, total=False): action: str direction: str displayName: str - firewallRuleType: typing_extensions.Literal[ + firewallRuleType: typing.Literal[ "FIREWALL_RULE_TYPE_UNSPECIFIED", "HIERARCHICAL_FIREWALL_POLICY_RULE", "VPC_FIREWALL_RULE", @@ -450,16 +450,16 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): priority: int targetServiceAccounts: _list[str] targetTags: _list[str] - targetType: typing_extensions.Literal[ + targetType: typing.Literal[ "TARGET_TYPE_UNSPECIFIED", "INSTANCES", "INTERNAL_MANAGED_LB" ] uri: str @typing.type_check_only -class ForwardInfo(typing_extensions.TypedDict, total=False): +class ForwardInfo(typing.TypedDict, total=False): ipAddress: str resourceUri: str - target: typing_extensions.Literal[ + target: typing.Literal[ "TARGET_UNSPECIFIED", "PEERING_VPC", "VPN_GATEWAY", @@ -474,8 +474,15 @@ class ForwardInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ForwardingRuleInfo(typing_extensions.TypedDict, total=False): +class ForwardingRuleInfo(typing.TypedDict, total=False): displayName: str + envoyHealthCheckFirewallsConfigState: typing.Literal[ + "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", + "FIREWALLS_CONFIGURED", + "FIREWALLS_PARTIALLY_CONFIGURED", + "FIREWALLS_NOT_CONFIGURED", + "FIREWALLS_UNSUPPORTED", + ] loadBalancerName: str matchedPortRange: str matchedProtocol: str @@ -488,7 +495,7 @@ class ForwardingRuleInfo(typing_extensions.TypedDict, total=False): vip: str @typing.type_check_only -class GKEMasterInfo(typing_extensions.TypedDict, total=False): +class GKEMasterInfo(typing.TypedDict, total=False): clusterNetworkUri: str clusterUri: str dnsEndpoint: str @@ -496,15 +503,15 @@ class GKEMasterInfo(typing_extensions.TypedDict, total=False): internalIp: str @typing.type_check_only -class GkeNetworkPolicyInfo(typing_extensions.TypedDict, total=False): +class GkeNetworkPolicyInfo(typing.TypedDict, total=False): action: str direction: str displayName: str uri: str @typing.type_check_only -class GkeNetworkPolicySkippedInfo(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class GkeNetworkPolicySkippedInfo(typing.TypedDict, total=False): + reason: typing.Literal[ "REASON_UNSPECIFIED", "NETWORK_POLICY_DISABLED", "INGRESS_SOURCE_ON_SAME_NODE", @@ -514,14 +521,14 @@ class GkeNetworkPolicySkippedInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GkePodInfo(typing_extensions.TypedDict, total=False): +class GkePodInfo(typing.TypedDict, total=False): ipAddress: str networkUri: str podUri: str @typing.type_check_only -class GoogleServiceInfo(typing_extensions.TypedDict, total=False): - googleServiceType: typing_extensions.Literal[ +class GoogleServiceInfo(typing.TypedDict, total=False): + googleServiceType: typing.Literal[ "GOOGLE_SERVICE_TYPE_UNSPECIFIED", "IAP", "GFE_PROXY_OR_HEALTH_CHECK_PROBER", @@ -534,13 +541,13 @@ class GoogleServiceInfo(typing_extensions.TypedDict, total=False): sourceIp: str @typing.type_check_only -class HybridSubnetInfo(typing_extensions.TypedDict, total=False): +class HybridSubnetInfo(typing.TypedDict, total=False): displayName: str region: str uri: str @typing.type_check_only -class InstanceInfo(typing_extensions.TypedDict, total=False): +class InstanceInfo(typing.TypedDict, total=False): displayName: str externalIp: str interface: str @@ -550,25 +557,25 @@ class InstanceInfo(typing_extensions.TypedDict, total=False): pscNetworkAttachmentUri: str running: bool serviceAccount: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] + status: typing.Literal["STATUS_UNSPECIFIED", "RUNNING", "NOT_RUNNING"] uri: str @typing.type_check_only -class InterconnectAttachmentInfo(typing_extensions.TypedDict, total=False): +class InterconnectAttachmentInfo(typing.TypedDict, total=False): cloudRouterUri: str displayName: str interconnectUri: str l2AttachmentMatchedIpAddress: str region: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "DEDICATED", "PARTNER", "PARTNER_PROVIDER", "L2_DEDICATED" ] uri: str @typing.type_check_only -class IpMasqueradingSkippedInfo(typing_extensions.TypedDict, total=False): +class IpMasqueradingSkippedInfo(typing.TypedDict, total=False): nonMasqueradeRange: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNSPECIFIED", "DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE", "DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE", @@ -580,52 +587,52 @@ class IpMasqueradingSkippedInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LatencyDistribution(typing_extensions.TypedDict, total=False): +class LatencyDistribution(typing.TypedDict, total=False): latencyPercentiles: _list[LatencyPercentile] @typing.type_check_only -class LatencyPercentile(typing_extensions.TypedDict, total=False): +class LatencyPercentile(typing.TypedDict, total=False): latencyMicros: str percent: int @typing.type_check_only -class ListConnectivityTestsResponse(typing_extensions.TypedDict, total=False): +class ListConnectivityTestsResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[ConnectivityTest] unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): +class ListVpcFlowLogsConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vpcFlowLogsConfigs: _list[VpcFlowLogsConfig] @typing.type_check_only -class LoadBalancerBackend(typing_extensions.TypedDict, total=False): +class LoadBalancerBackend(typing.TypedDict, total=False): displayName: str healthCheckAllowingFirewallRules: _list[str] healthCheckBlockingFirewallRules: _list[str] - healthCheckFirewallState: typing_extensions.Literal[ + healthCheckFirewallState: typing.Literal[ "HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED", "CONFIGURED", "MISCONFIGURED" ] uri: str @typing.type_check_only -class LoadBalancerBackendInfo(typing_extensions.TypedDict, total=False): +class LoadBalancerBackendInfo(typing.TypedDict, total=False): backendBucketUri: str backendServiceUri: str - healthCheckFirewallsConfigState: typing_extensions.Literal[ + healthCheckFirewallsConfigState: typing.Literal[ "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", "FIREWALLS_CONFIGURED", "FIREWALLS_PARTIALLY_CONFIGURED", @@ -641,14 +648,14 @@ class LoadBalancerBackendInfo(typing_extensions.TypedDict, total=False): pscServiceAttachmentUri: str @typing.type_check_only -class LoadBalancerInfo(typing_extensions.TypedDict, total=False): - backendType: typing_extensions.Literal[ +class LoadBalancerInfo(typing.TypedDict, total=False): + backendType: typing.Literal[ "BACKEND_TYPE_UNSPECIFIED", "BACKEND_SERVICE", "TARGET_POOL", "TARGET_INSTANCE" ] backendUri: str backends: _list[LoadBalancerBackend] healthCheckUri: str - loadBalancerType: typing_extensions.Literal[ + loadBalancerType: typing.Literal[ "LOAD_BALANCER_TYPE_UNSPECIFIED", "INTERNAL_TCP_UDP", "NETWORK_TCP_UDP", @@ -658,7 +665,7 @@ class LoadBalancerInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -666,8 +673,8 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class NatInfo(typing_extensions.TypedDict, total=False): - cloudNatGatewayType: typing_extensions.Literal[ +class NatInfo(typing.TypedDict, total=False): + cloudNatGatewayType: typing.Literal[ "CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED", "PUBLIC_NAT44", "PUBLIC_NAT64", @@ -687,7 +694,8 @@ class NatInfo(typing_extensions.TypedDict, total=False): oldSourcePort: int protocol: str routerUri: str - type: typing_extensions.Literal[ + ruleNumber: int + type: typing.Literal[ "TYPE_UNSPECIFIED", "INTERNAL_TO_EXTERNAL", "EXTERNAL_TO_INTERNAL", @@ -697,7 +705,7 @@ class NatInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NetworkInfo(typing_extensions.TypedDict, total=False): +class NetworkInfo(typing.TypedDict, total=False): displayName: str matchedIpRange: str matchedSubnetUri: str @@ -705,11 +713,11 @@ class NetworkInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class NgfwPacketInspectionInfo(typing_extensions.TypedDict, total=False): +class NgfwPacketInspectionInfo(typing.TypedDict, total=False): securityProfileGroupUri: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -717,7 +725,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -727,19 +735,19 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrivateConnectionInfo(typing_extensions.TypedDict, total=False): +class PrivateConnectionInfo(typing.TypedDict, total=False): uri: str @typing.type_check_only -class ProbingDetails(typing_extensions.TypedDict, total=False): - abortCause: typing_extensions.Literal[ +class ProbingDetails(typing.TypedDict, total=False): + abortCause: typing.Literal[ "PROBING_ABORT_CAUSE_UNSPECIFIED", "PERMISSION_DENIED", "NO_SOURCE_LOCATION" ] destinationEgressLocation: EdgeLocation @@ -748,7 +756,7 @@ class ProbingDetails(typing_extensions.TypedDict, total=False): error: Status probedAllDevices: bool probingLatency: LatencyDistribution - result: typing_extensions.Literal[ + result: typing.Literal[ "PROBING_RESULT_UNSPECIFIED", "REACHABLE", "UNREACHABLE", @@ -760,7 +768,7 @@ class ProbingDetails(typing_extensions.TypedDict, total=False): verifyTime: str @typing.type_check_only -class ProxyConnectionInfo(typing_extensions.TypedDict, total=False): +class ProxyConnectionInfo(typing.TypedDict, total=False): networkUri: str newDestinationIp: str newDestinationPort: int @@ -774,22 +782,22 @@ class ProxyConnectionInfo(typing_extensions.TypedDict, total=False): subnetUri: str @typing.type_check_only -class QueryOrgVpcFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): +class QueryOrgVpcFlowLogsConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vpcFlowLogsConfigs: _list[VpcFlowLogsConfig] @typing.type_check_only -class ReachabilityDetails(typing_extensions.TypedDict, total=False): +class ReachabilityDetails(typing.TypedDict, total=False): error: Status - result: typing_extensions.Literal[ + result: typing.Literal[ "RESULT_UNSPECIFIED", "REACHABLE", "UNREACHABLE", "AMBIGUOUS", "UNDETERMINED" ] traces: _list[Trace] verifyTime: str @typing.type_check_only -class RedisClusterInfo(typing_extensions.TypedDict, total=False): +class RedisClusterInfo(typing.TypedDict, total=False): discoveryEndpointIpAddress: str displayName: str location: str @@ -798,7 +806,7 @@ class RedisClusterInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class RedisInstanceInfo(typing_extensions.TypedDict, total=False): +class RedisInstanceInfo(typing.TypedDict, total=False): displayName: str networkUri: str primaryEndpointIp: str @@ -807,10 +815,10 @@ class RedisInstanceInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class RerunConnectivityTestRequest(typing_extensions.TypedDict, total=False): ... +class RerunConnectivityTestRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RouteInfo(typing_extensions.TypedDict, total=False): +class RouteInfo(typing.TypedDict, total=False): advertisedRouteNextHopUri: str advertisedRouteSourceRouterUri: str destIpRange: str @@ -823,7 +831,7 @@ class RouteInfo(typing_extensions.TypedDict, total=False): networkUri: str nextHop: str nextHopNetworkUri: str - nextHopType: typing_extensions.Literal[ + nextHopType: typing.Literal[ "NEXT_HOP_TYPE_UNSPECIFIED", "NEXT_HOP_IP", "NEXT_HOP_INSTANCE", @@ -845,10 +853,8 @@ class RouteInfo(typing_extensions.TypedDict, total=False): priority: int protocols: _list[str] region: str - routeScope: typing_extensions.Literal[ - "ROUTE_SCOPE_UNSPECIFIED", "NETWORK", "NCC_HUB" - ] - routeType: typing_extensions.Literal[ + routeScope: typing.Literal["ROUTE_SCOPE_UNSPECIFIED", "NETWORK", "NCC_HUB"] + routeType: typing.Literal[ "ROUTE_TYPE_UNSPECIFIED", "SUBNET", "STATIC", @@ -864,30 +870,30 @@ class RouteInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ServerlessExternalConnectionInfo(typing_extensions.TypedDict, total=False): +class ServerlessExternalConnectionInfo(typing.TypedDict, total=False): selectedIpAddress: str @typing.type_check_only -class ServerlessNegInfo(typing_extensions.TypedDict, total=False): +class ServerlessNegInfo(typing.TypedDict, total=False): negUri: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class ShowEffectiveFlowLogsConfigsResponse(typing_extensions.TypedDict, total=False): +class ShowEffectiveFlowLogsConfigsResponse(typing.TypedDict, total=False): effectiveFlowLogsConfigs: _list[EffectiveVpcFlowLogsConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class SingleEdgeResponse(typing_extensions.TypedDict, total=False): +class SingleEdgeResponse(typing.TypedDict, total=False): destinationEgressLocation: EdgeLocation destinationRouter: str probingLatency: LatencyDistribution - result: typing_extensions.Literal[ + result: typing.Literal[ "PROBING_RESULT_UNSPECIFIED", "REACHABLE", "UNREACHABLE", @@ -898,13 +904,13 @@ class SingleEdgeResponse(typing_extensions.TypedDict, total=False): successfulProbeCount: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): abort: AbortInfo appEngineVersion: AppEngineVersionInfo causesDrop: bool @@ -943,7 +949,7 @@ class Step(typing_extensions.TypedDict, total=False): route: RouteInfo serverlessExternalConnection: ServerlessExternalConnectionInfo serverlessNeg: ServerlessNegInfo - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "START_FROM_INSTANCE", "START_FROM_INTERNET", @@ -1000,32 +1006,32 @@ class Step(typing_extensions.TypedDict, total=False): vpnTunnel: VpnTunnelInfo @typing.type_check_only -class StorageBucketInfo(typing_extensions.TypedDict, total=False): +class StorageBucketInfo(typing.TypedDict, total=False): bucket: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Trace(typing_extensions.TypedDict, total=False): +class Trace(typing.TypedDict, total=False): endpointInfo: EndpointInfo forwardTraceId: int steps: _list[Step] @typing.type_check_only -class VpcConnectorInfo(typing_extensions.TypedDict, total=False): +class VpcConnectorInfo(typing.TypedDict, total=False): displayName: str location: str uri: str @typing.type_check_only -class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): - aggregationInterval: typing_extensions.Literal[ +class VpcFlowLogsConfig(typing.TypedDict, total=False): + aggregationInterval: typing.Literal[ "AGGREGATION_INTERVAL_UNSPECIFIED", "INTERVAL_5_SEC", "INTERVAL_30_SEC", @@ -1035,7 +1041,7 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): "INTERVAL_15_MIN", ] createTime: str - crossProjectMetadata: typing_extensions.Literal[ + crossProjectMetadata: typing.Literal[ "CROSS_PROJECT_METADATA_UNSPECIFIED", "CROSS_PROJECT_METADATA_ENABLED", "CROSS_PROJECT_METADATA_DISABLED", @@ -1045,7 +1051,7 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): flowSampling: float interconnectAttachment: str labels: dict[str, typing.Any] - metadata: typing_extensions.Literal[ + metadata: typing.Literal[ "METADATA_UNSPECIFIED", "INCLUDE_ALL_METADATA", "EXCLUDE_ALL_METADATA", @@ -1054,9 +1060,9 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): metadataFields: _list[str] name: str network: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED"] subnet: str - targetResourceState: typing_extensions.Literal[ + targetResourceState: typing.Literal[ "TARGET_RESOURCE_STATE_UNSPECIFIED", "TARGET_RESOURCE_EXISTS", "TARGET_RESOURCE_DOES_NOT_EXIST", @@ -1065,7 +1071,7 @@ class VpcFlowLogsConfig(typing_extensions.TypedDict, total=False): vpnTunnel: str @typing.type_check_only -class VpnGatewayInfo(typing_extensions.TypedDict, total=False): +class VpnGatewayInfo(typing.TypedDict, total=False): displayName: str ipAddress: str networkUri: str @@ -1074,13 +1080,13 @@ class VpnGatewayInfo(typing_extensions.TypedDict, total=False): vpnTunnelUri: str @typing.type_check_only -class VpnTunnelInfo(typing_extensions.TypedDict, total=False): +class VpnTunnelInfo(typing.TypedDict, total=False): displayName: str networkUri: str region: str remoteGateway: str remoteGatewayIp: str - routingType: typing_extensions.Literal[ + routingType: typing.Literal[ "ROUTING_TYPE_UNSPECIFIED", "ROUTE_BASED", "POLICY_BASED", "DYNAMIC" ] sourceGateway: str diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi index a3a69a519..93f16f2d8 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -112,6 +111,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): body: FirewallEndpoint, firewallEndpointId: str | None = ..., requestId: str | None = ..., + validateOnly: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( @@ -706,6 +706,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): body: FirewallEndpoint, firewallEndpointId: str | None = ..., requestId: str | None = ..., + validateOnly: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi index ae31ff4e4..2104f4163 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi @@ -1,41 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddAddressGroupItemsRequest(typing_extensions.TypedDict, total=False): +class AddAddressGroupItemsRequest(typing.TypedDict, total=False): items: _list[str] requestId: str @typing.type_check_only -class AddressGroup(typing_extensions.TypedDict, total=False): +class AddressGroup(typing.TypedDict, total=False): capacity: int createTime: str description: str items: _list[str] labels: dict[str, typing.Any] name: str - purpose: _list[ - typing_extensions.Literal["PURPOSE_UNSPECIFIED", "DEFAULT", "CLOUD_ARMOR"] - ] + purpose: _list[typing.Literal["PURPOSE_UNSPECIFIED", "DEFAULT", "CLOUD_ARMOR"]] selfLink: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "IPV4", "IPV6"] + type: typing.Literal["TYPE_UNSPECIFIED", "IPV4", "IPV6"] updateTime: str @typing.type_check_only -class AntivirusOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class AntivirusOverride(typing.TypedDict, total=False): + action: typing.Literal[ "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" ] - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "PROTOCOL_UNSPECIFIED", "SMTP", "SMB", "POP3", "IMAP", "HTTP2", "HTTP", "FTP" ] @typing.type_check_only -class AuthorizationPolicy(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] +class AuthorizationPolicy(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] createTime: str description: str labels: dict[str, typing.Any] @@ -44,10 +40,8 @@ class AuthorizationPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AuthzPolicy(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ - "AUTHZ_ACTION_UNSPECIFIED", "ALLOW", "DENY", "CUSTOM" - ] +class AuthzPolicy(typing.TypedDict, total=False): + action: typing.Literal["AUTHZ_ACTION_UNSPECIFIED", "ALLOW", "DENY", "CUSTOM"] createTime: str customProvider: AuthzPolicyCustomProvider description: str @@ -55,13 +49,13 @@ class AuthzPolicy(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str networkRules: _list[AuthzPolicyAuthzRule] - policyProfile: typing_extensions.Literal[ + policyProfile: typing.Literal[ "POLICY_PROFILE_UNSPECIFIED", "REQUEST_AUTHZ", "CONTENT_AUTHZ" ] target: AuthzPolicyTarget updateTime: str -AlternativeAuthzPolicyAuthzRule = typing_extensions.TypedDict( +AlternativeAuthzPolicyAuthzRule = typing.TypedDict( "AlternativeAuthzPolicyAuthzRule", { "from": AuthzPolicyAuthzRuleFrom, @@ -75,30 +69,30 @@ AlternativeAuthzPolicyAuthzRule = typing_extensions.TypedDict( class AuthzPolicyAuthzRule(AlternativeAuthzPolicyAuthzRule): ... @typing.type_check_only -class AuthzPolicyAuthzRuleFrom(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleFrom(typing.TypedDict, total=False): notSources: _list[AuthzPolicyAuthzRuleFromRequestSource] sources: _list[AuthzPolicyAuthzRuleFromRequestSource] @typing.type_check_only -class AuthzPolicyAuthzRuleFromRequestSource(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleFromRequestSource(typing.TypedDict, total=False): ipBlocks: _list[AuthzPolicyAuthzRuleIpBlock] principals: _list[AuthzPolicyAuthzRulePrincipal] resources: _list[AuthzPolicyAuthzRuleRequestResource] @typing.type_check_only -class AuthzPolicyAuthzRuleHeaderMatch(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleHeaderMatch(typing.TypedDict, total=False): name: str value: AuthzPolicyAuthzRuleStringMatch @typing.type_check_only -class AuthzPolicyAuthzRuleIpBlock(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleIpBlock(typing.TypedDict, total=False): length: int prefix: str @typing.type_check_only -class AuthzPolicyAuthzRulePrincipal(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRulePrincipal(typing.TypedDict, total=False): principal: AuthzPolicyAuthzRuleStringMatch - principalSelector: typing_extensions.Literal[ + principalSelector: typing.Literal[ "PRINCIPAL_SELECTOR_UNSPECIFIED", "CLIENT_CERT_URI_SAN", "CLIENT_CERT_DNS_NAME_SAN", @@ -106,18 +100,16 @@ class AuthzPolicyAuthzRulePrincipal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AuthzPolicyAuthzRuleRequestResource(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleRequestResource(typing.TypedDict, total=False): iamServiceAccount: AuthzPolicyAuthzRuleStringMatch tagValueIdSet: AuthzPolicyAuthzRuleRequestResourceTagValueIdSet @typing.type_check_only -class AuthzPolicyAuthzRuleRequestResourceTagValueIdSet( - typing_extensions.TypedDict, total=False -): +class AuthzPolicyAuthzRuleRequestResourceTagValueIdSet(typing.TypedDict, total=False): ids: _list[str] @typing.type_check_only -class AuthzPolicyAuthzRuleStringMatch(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleStringMatch(typing.TypedDict, total=False): contains: str exact: str ignoreCase: bool @@ -125,12 +117,12 @@ class AuthzPolicyAuthzRuleStringMatch(typing_extensions.TypedDict, total=False): suffix: str @typing.type_check_only -class AuthzPolicyAuthzRuleTo(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleTo(typing.TypedDict, total=False): notOperations: _list[AuthzPolicyAuthzRuleToRequestOperation] operations: _list[AuthzPolicyAuthzRuleToRequestOperation] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperation(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleToRequestOperation(typing.TypedDict, total=False): headerSet: AuthzPolicyAuthzRuleToRequestOperationHeaderSet hosts: _list[AuthzPolicyAuthzRuleStringMatch] mcp: AuthzPolicyAuthzRuleToRequestOperationMCP @@ -139,16 +131,12 @@ class AuthzPolicyAuthzRuleToRequestOperation(typing_extensions.TypedDict, total= snis: _list[AuthzPolicyAuthzRuleStringMatch] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperationHeaderSet( - typing_extensions.TypedDict, total=False -): +class AuthzPolicyAuthzRuleToRequestOperationHeaderSet(typing.TypedDict, total=False): headers: _list[AuthzPolicyAuthzRuleHeaderMatch] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperationMCP( - typing_extensions.TypedDict, total=False -): - baseProtocolMethodsOption: typing_extensions.Literal[ +class AuthzPolicyAuthzRuleToRequestOperationMCP(typing.TypedDict, total=False): + baseProtocolMethodsOption: typing.Literal[ "BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED", "SKIP_BASE_PROTOCOL_METHODS", "MATCH_BASE_PROTOCOL_METHODS", @@ -156,27 +144,25 @@ class AuthzPolicyAuthzRuleToRequestOperationMCP( methods: _list[AuthzPolicyAuthzRuleToRequestOperationMCPMethod] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperationMCPMethod( - typing_extensions.TypedDict, total=False -): +class AuthzPolicyAuthzRuleToRequestOperationMCPMethod(typing.TypedDict, total=False): name: str params: _list[AuthzPolicyAuthzRuleStringMatch] @typing.type_check_only -class AuthzPolicyCustomProvider(typing_extensions.TypedDict, total=False): +class AuthzPolicyCustomProvider(typing.TypedDict, total=False): authzExtension: AuthzPolicyCustomProviderAuthzExtension cloudIap: AuthzPolicyCustomProviderCloudIap @typing.type_check_only -class AuthzPolicyCustomProviderAuthzExtension(typing_extensions.TypedDict, total=False): +class AuthzPolicyCustomProviderAuthzExtension(typing.TypedDict, total=False): resources: _list[str] @typing.type_check_only -class AuthzPolicyCustomProviderCloudIap(typing_extensions.TypedDict, total=False): ... +class AuthzPolicyCustomProviderCloudIap(typing.TypedDict, total=False): ... @typing.type_check_only -class AuthzPolicyTarget(typing_extensions.TypedDict, total=False): - loadBalancingScheme: typing_extensions.Literal[ +class AuthzPolicyTarget(typing.TypedDict, total=False): + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED", @@ -185,7 +171,7 @@ class AuthzPolicyTarget(typing_extensions.TypedDict, total=False): resources: _list[str] @typing.type_check_only -class BackendAuthenticationConfig(typing_extensions.TypedDict, total=False): +class BackendAuthenticationConfig(typing.TypedDict, total=False): clientCertificate: str createTime: str description: str @@ -194,19 +180,19 @@ class BackendAuthenticationConfig(typing_extensions.TypedDict, total=False): name: str trustConfig: str updateTime: str - wellKnownRoots: typing_extensions.Literal[ + wellKnownRoots: typing.Literal[ "WELL_KNOWN_ROOTS_UNSPECIFIED", "NONE", "PUBLIC_ROOTS" ] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CertificateProviderInstance(typing_extensions.TypedDict, total=False): +class CertificateProviderInstance(typing.TypedDict, total=False): pluginInstance: str @typing.type_check_only -class ClientTlsPolicy(typing_extensions.TypedDict, total=False): +class ClientTlsPolicy(typing.TypedDict, total=False): clientCertificate: GoogleCloudNetworksecurityV1CertificateProvider createTime: str description: str @@ -217,46 +203,46 @@ class ClientTlsPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CloneAddressGroupItemsRequest(typing_extensions.TypedDict, total=False): +class CloneAddressGroupItemsRequest(typing.TypedDict, total=False): requestId: str sourceAddressGroup: str @typing.type_check_only -class CustomInterceptProfile(typing_extensions.TypedDict, total=False): +class CustomInterceptProfile(typing.TypedDict, total=False): interceptEndpointGroup: str @typing.type_check_only -class CustomMirroringProfile(typing_extensions.TypedDict, total=False): +class CustomMirroringProfile(typing.TypedDict, total=False): mirroringEndpointGroup: str @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): hosts: _list[str] httpHeaderMatch: HttpHeaderMatch methods: _list[str] ports: _list[int] @typing.type_check_only -class DnsThreatDetector(typing_extensions.TypedDict, total=False): +class DnsThreatDetector(typing.TypedDict, total=False): createTime: str excludedNetworks: _list[str] labels: dict[str, typing.Any] name: str - provider: typing_extensions.Literal["PROVIDER_UNSPECIFIED", "INFOBLOX"] + provider: typing.Literal["PROVIDER_UNSPECIFIED", "INFOBLOX"] updateTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FirewallEndpoint(typing_extensions.TypedDict, total=False): +class FirewallEndpoint(typing.TypedDict, total=False): associatedNetworks: _list[str] associations: _list[FirewallEndpointAssociationReference] billingProjectId: str @@ -268,13 +254,13 @@ class FirewallEndpoint(typing_extensions.TypedDict, total=False): reconciling: bool satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" ] updateTime: str @typing.type_check_only -class FirewallEndpointAssociation(typing_extensions.TypedDict, total=False): +class FirewallEndpointAssociation(typing.TypedDict, total=False): createTime: str disabled: bool firewallEndpoint: str @@ -282,23 +268,23 @@ class FirewallEndpointAssociation(typing_extensions.TypedDict, total=False): name: str network: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE", "ORPHAN" ] tlsInspectionPolicy: str updateTime: str @typing.type_check_only -class FirewallEndpointAssociationReference(typing_extensions.TypedDict, total=False): +class FirewallEndpointAssociationReference(typing.TypedDict, total=False): name: str network: str @typing.type_check_only -class FirewallEndpointEndpointSettings(typing_extensions.TypedDict, total=False): +class FirewallEndpointEndpointSettings(typing.TypedDict, total=False): jumboFramesEnabled: bool @typing.type_check_only -class GatewaySecurityPolicy(typing_extensions.TypedDict, total=False): +class GatewaySecurityPolicy(typing.TypedDict, total=False): createTime: str description: str name: str @@ -306,11 +292,9 @@ class GatewaySecurityPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GatewaySecurityPolicyRule(typing_extensions.TypedDict, total=False): +class GatewaySecurityPolicyRule(typing.TypedDict, total=False): applicationMatcher: str - basicProfile: typing_extensions.Literal[ - "BASIC_PROFILE_UNSPECIFIED", "ALLOW", "DENY" - ] + basicProfile: typing.Literal["BASIC_PROFILE_UNSPECIFIED", "ALLOW", "DENY"] createTime: str description: str enabled: bool @@ -321,63 +305,59 @@ class GatewaySecurityPolicyRule(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudNetworksecurityV1CertificateProvider( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNetworksecurityV1CertificateProvider(typing.TypedDict, total=False): certificateProviderInstance: CertificateProviderInstance grpcEndpoint: GoogleCloudNetworksecurityV1GrpcEndpoint @typing.type_check_only -class GoogleCloudNetworksecurityV1GrpcEndpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNetworksecurityV1GrpcEndpoint(typing.TypedDict, total=False): targetUri: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class HttpHeaderMatch(typing_extensions.TypedDict, total=False): +class HttpHeaderMatch(typing.TypedDict, total=False): headerName: str regexMatch: str @typing.type_check_only -class InterceptDeployment(typing_extensions.TypedDict, total=False): +class InterceptDeployment(typing.TypedDict, total=False): createTime: str description: str forwardingRule: str @@ -385,7 +365,7 @@ class InterceptDeployment(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -396,7 +376,7 @@ class InterceptDeployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InterceptDeploymentGroup(typing_extensions.TypedDict, total=False): +class InterceptDeploymentGroup(typing.TypedDict, total=False): connectedEndpointGroups: _list[InterceptDeploymentGroupConnectedEndpointGroup] createTime: str description: str @@ -406,21 +386,17 @@ class InterceptDeploymentGroup(typing_extensions.TypedDict, total=False): nestedDeployments: _list[InterceptDeploymentGroupDeployment] network: str reconciling: bool - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING"] updateTime: str @typing.type_check_only -class InterceptDeploymentGroupConnectedEndpointGroup( - typing_extensions.TypedDict, total=False -): +class InterceptDeploymentGroupConnectedEndpointGroup(typing.TypedDict, total=False): name: str @typing.type_check_only -class InterceptDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): +class InterceptDeploymentGroupDeployment(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -430,7 +406,7 @@ class InterceptDeploymentGroupDeployment(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): +class InterceptEndpointGroup(typing.TypedDict, total=False): associations: _list[InterceptEndpointGroupAssociationDetails] connectedDeploymentGroup: InterceptEndpointGroupConnectedDeploymentGroup createTime: str @@ -439,7 +415,7 @@ class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CLOSED", @@ -451,7 +427,7 @@ class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False): +class InterceptEndpointGroupAssociation(typing.TypedDict, total=False): createTime: str interceptEndpointGroup: str labels: dict[str, typing.Any] @@ -461,7 +437,7 @@ class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False network: str networkCookie: int reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -473,12 +449,10 @@ class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class InterceptEndpointGroupAssociationDetails( - typing_extensions.TypedDict, total=False -): +class InterceptEndpointGroupAssociationDetails(typing.TypedDict, total=False): name: str network: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -489,26 +463,22 @@ class InterceptEndpointGroupAssociationDetails( ] @typing.type_check_only -class InterceptEndpointGroupAssociationLocationDetails( - typing_extensions.TypedDict, total=False -): +class InterceptEndpointGroupAssociationLocationDetails(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class InterceptEndpointGroupConnectedDeploymentGroup( - typing_extensions.TypedDict, total=False -): +class InterceptEndpointGroupConnectedDeploymentGroup(typing.TypedDict, total=False): locations: _list[InterceptLocation] name: str @typing.type_check_only -class InterceptLocation(typing_extensions.TypedDict, total=False): +class InterceptLocation(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class ListAddressGroupReferencesResponse(typing_extensions.TypedDict, total=False): +class ListAddressGroupReferencesResponse(typing.TypedDict, total=False): addressGroupReferences: _list[ ListAddressGroupReferencesResponseAddressGroupReference ] @@ -516,173 +486,165 @@ class ListAddressGroupReferencesResponse(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ListAddressGroupReferencesResponseAddressGroupReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firewallPolicy: str rulePriority: int securityPolicy: str @typing.type_check_only -class ListAddressGroupsResponse(typing_extensions.TypedDict, total=False): +class ListAddressGroupsResponse(typing.TypedDict, total=False): addressGroups: _list[AddressGroup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAuthorizationPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizationPoliciesResponse(typing.TypedDict, total=False): authorizationPolicies: _list[AuthorizationPolicy] nextPageToken: str @typing.type_check_only -class ListAuthzPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAuthzPoliciesResponse(typing.TypedDict, total=False): authzPolicies: _list[AuthzPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackendAuthenticationConfigsResponse( - typing_extensions.TypedDict, total=False -): +class ListBackendAuthenticationConfigsResponse(typing.TypedDict, total=False): backendAuthenticationConfigs: _list[BackendAuthenticationConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClientTlsPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListClientTlsPoliciesResponse(typing.TypedDict, total=False): clientTlsPolicies: _list[ClientTlsPolicy] nextPageToken: str @typing.type_check_only -class ListDnsThreatDetectorsResponse(typing_extensions.TypedDict, total=False): +class ListDnsThreatDetectorsResponse(typing.TypedDict, total=False): dnsThreatDetectors: _list[DnsThreatDetector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFirewallEndpointAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class ListFirewallEndpointAssociationsResponse(typing.TypedDict, total=False): firewallEndpointAssociations: _list[FirewallEndpointAssociation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFirewallEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListFirewallEndpointsResponse(typing.TypedDict, total=False): firewallEndpoints: _list[FirewallEndpoint] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewaySecurityPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListGatewaySecurityPoliciesResponse(typing.TypedDict, total=False): gatewaySecurityPolicies: _list[GatewaySecurityPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewaySecurityPolicyRulesResponse(typing_extensions.TypedDict, total=False): +class ListGatewaySecurityPolicyRulesResponse(typing.TypedDict, total=False): gatewaySecurityPolicyRules: _list[GatewaySecurityPolicyRule] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInterceptDeploymentGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInterceptDeploymentGroupsResponse(typing.TypedDict, total=False): interceptDeploymentGroups: _list[InterceptDeploymentGroup] nextPageToken: str @typing.type_check_only -class ListInterceptDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListInterceptDeploymentsResponse(typing.TypedDict, total=False): interceptDeployments: _list[InterceptDeployment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInterceptEndpointGroupAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class ListInterceptEndpointGroupAssociationsResponse(typing.TypedDict, total=False): interceptEndpointGroupAssociations: _list[InterceptEndpointGroupAssociation] nextPageToken: str @typing.type_check_only -class ListInterceptEndpointGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInterceptEndpointGroupsResponse(typing.TypedDict, total=False): interceptEndpointGroups: _list[InterceptEndpointGroup] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMirroringDeploymentGroupsResponse(typing_extensions.TypedDict, total=False): +class ListMirroringDeploymentGroupsResponse(typing.TypedDict, total=False): mirroringDeploymentGroups: _list[MirroringDeploymentGroup] nextPageToken: str @typing.type_check_only -class ListMirroringDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListMirroringDeploymentsResponse(typing.TypedDict, total=False): mirroringDeployments: _list[MirroringDeployment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMirroringEndpointGroupAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class ListMirroringEndpointGroupAssociationsResponse(typing.TypedDict, total=False): mirroringEndpointGroupAssociations: _list[MirroringEndpointGroupAssociation] nextPageToken: str @typing.type_check_only -class ListMirroringEndpointGroupsResponse(typing_extensions.TypedDict, total=False): +class ListMirroringEndpointGroupsResponse(typing.TypedDict, total=False): mirroringEndpointGroups: _list[MirroringEndpointGroup] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSACAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListSACAttachmentsResponse(typing.TypedDict, total=False): nextPageToken: str sacAttachments: _list[SACAttachment] unreachable: _list[str] @typing.type_check_only -class ListSACRealmsResponse(typing_extensions.TypedDict, total=False): +class ListSACRealmsResponse(typing.TypedDict, total=False): nextPageToken: str sacRealms: _list[SACRealm] unreachable: _list[str] @typing.type_check_only -class ListSecurityProfileGroupsResponse(typing_extensions.TypedDict, total=False): +class ListSecurityProfileGroupsResponse(typing.TypedDict, total=False): nextPageToken: str securityProfileGroups: _list[SecurityProfileGroup] @typing.type_check_only -class ListSecurityProfilesResponse(typing_extensions.TypedDict, total=False): +class ListSecurityProfilesResponse(typing.TypedDict, total=False): nextPageToken: str securityProfiles: _list[SecurityProfile] @typing.type_check_only -class ListServerTlsPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListServerTlsPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str serverTlsPolicies: _list[ServerTlsPolicy] unreachable: _list[str] @typing.type_check_only -class ListTlsInspectionPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListTlsInspectionPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str tlsInspectionPolicies: _list[TlsInspectionPolicy] unreachable: _list[str] @typing.type_check_only -class ListUrlListsResponse(typing_extensions.TypedDict, total=False): +class ListUrlListsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] urlLists: _list[UrlList] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -690,9 +652,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MTLSPolicy(typing_extensions.TypedDict, total=False): +class MTLSPolicy(typing.TypedDict, total=False): clientValidationCa: _list[ValidationCA] - clientValidationMode: typing_extensions.Literal[ + clientValidationMode: typing.Literal[ "CLIENT_VALIDATION_MODE_UNSPECIFIED", "ALLOW_INVALID_OR_MISSING_CLIENT_CERT", "REJECT_INVALID", @@ -700,7 +662,7 @@ class MTLSPolicy(typing_extensions.TypedDict, total=False): clientValidationTrustConfig: str @typing.type_check_only -class MirroringDeployment(typing_extensions.TypedDict, total=False): +class MirroringDeployment(typing.TypedDict, total=False): createTime: str description: str forwardingRule: str @@ -708,7 +670,7 @@ class MirroringDeployment(typing_extensions.TypedDict, total=False): mirroringDeploymentGroup: str name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -719,7 +681,7 @@ class MirroringDeployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): +class MirroringDeploymentGroup(typing.TypedDict, total=False): connectedEndpointGroups: _list[MirroringDeploymentGroupConnectedEndpointGroup] createTime: str description: str @@ -729,21 +691,19 @@ class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): nestedDeployments: _list[MirroringDeploymentGroupDeployment] network: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "CLOSED" ] updateTime: str @typing.type_check_only -class MirroringDeploymentGroupConnectedEndpointGroup( - typing_extensions.TypedDict, total=False -): +class MirroringDeploymentGroupConnectedEndpointGroup(typing.TypedDict, total=False): name: str @typing.type_check_only -class MirroringDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): +class MirroringDeploymentGroupDeployment(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -753,7 +713,7 @@ class MirroringDeploymentGroupDeployment(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): +class MirroringEndpointGroup(typing.TypedDict, total=False): associations: _list[MirroringEndpointGroupAssociationDetails] connectedDeploymentGroups: _list[MirroringEndpointGroupConnectedDeploymentGroup] createTime: str @@ -762,7 +722,7 @@ class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): mirroringDeploymentGroup: str name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CLOSED", @@ -771,11 +731,11 @@ class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): "OUT_OF_SYNC", "DELETE_FAILED", ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DIRECT"] + type: typing.Literal["TYPE_UNSPECIFIED", "DIRECT"] updateTime: str @typing.type_check_only -class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False): +class MirroringEndpointGroupAssociation(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] locations: _list[MirroringLocation] @@ -785,7 +745,7 @@ class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False network: str networkCookie: int reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -797,12 +757,10 @@ class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class MirroringEndpointGroupAssociationDetails( - typing_extensions.TypedDict, total=False -): +class MirroringEndpointGroupAssociationDetails(typing.TypedDict, total=False): name: str network: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -813,26 +771,22 @@ class MirroringEndpointGroupAssociationDetails( ] @typing.type_check_only -class MirroringEndpointGroupAssociationLocationDetails( - typing_extensions.TypedDict, total=False -): +class MirroringEndpointGroupAssociationLocationDetails(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class MirroringEndpointGroupConnectedDeploymentGroup( - typing_extensions.TypedDict, total=False -): +class MirroringEndpointGroupConnectedDeploymentGroup(typing.TypedDict, total=False): locations: _list[MirroringLocation] name: str @typing.type_check_only -class MirroringLocation(typing_extensions.TypedDict, total=False): +class MirroringLocation(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -840,7 +794,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -850,23 +804,23 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class RemoveAddressGroupItemsRequest(typing_extensions.TypedDict, total=False): +class RemoveAddressGroupItemsRequest(typing.TypedDict, total=False): items: _list[str] requestId: str @typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): +class Rule(typing.TypedDict, total=False): destinations: _list[Destination] sources: _list[Source] @typing.type_check_only -class SACAttachment(typing_extensions.TypedDict, total=False): +class SACAttachment(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] name: str nccGateway: str sacRealm: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING_PARTNER_ATTACHMENT", "PARTNER_ATTACHED", @@ -875,15 +829,15 @@ class SACAttachment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SACRealm(typing_extensions.TypedDict, total=False): +class SACRealm(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] name: str pairingKey: SACRealmPairingKey - securityService: typing_extensions.Literal[ + securityService: typing.Literal[ "SECURITY_SERVICE_UNSPECIFIED", "PALO_ALTO_PRISMA_ACCESS" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING_PARTNER_ATTACHMENT", "PARTNER_ATTACHED", @@ -893,12 +847,12 @@ class SACRealm(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SACRealmPairingKey(typing_extensions.TypedDict, total=False): +class SACRealmPairingKey(typing.TypedDict, total=False): expireTime: str key: str @typing.type_check_only -class SecurityProfile(typing_extensions.TypedDict, total=False): +class SecurityProfile(typing.TypedDict, total=False): createTime: str customInterceptProfile: CustomInterceptProfile customMirroringProfile: CustomMirroringProfile @@ -907,7 +861,7 @@ class SecurityProfile(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str threatPreventionProfile: ThreatPreventionProfile - type: typing_extensions.Literal[ + type: typing.Literal[ "PROFILE_TYPE_UNSPECIFIED", "THREAT_PREVENTION", "CUSTOM_MIRRORING", @@ -918,7 +872,7 @@ class SecurityProfile(typing_extensions.TypedDict, total=False): urlFilteringProfile: UrlFilteringProfile @typing.type_check_only -class SecurityProfileGroup(typing_extensions.TypedDict, total=False): +class SecurityProfileGroup(typing.TypedDict, total=False): createTime: str customInterceptProfile: str customMirroringProfile: str @@ -932,7 +886,7 @@ class SecurityProfileGroup(typing_extensions.TypedDict, total=False): urlFilteringProfile: str @typing.type_check_only -class ServerTlsPolicy(typing_extensions.TypedDict, total=False): +class ServerTlsPolicy(typing.TypedDict, total=False): allowOpen: bool createTime: str description: str @@ -943,32 +897,32 @@ class ServerTlsPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SeverityOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class SeverityOverride(typing.TypedDict, total=False): + action: typing.Literal[ "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" ] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): ipBlocks: _list[str] principals: _list[str] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class ThreatOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class ThreatOverride(typing.TypedDict, total=False): + action: typing.Literal[ "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" ] threatId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "UNKNOWN", "VULNERABILITY", @@ -978,23 +932,23 @@ class ThreatOverride(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ThreatPreventionProfile(typing_extensions.TypedDict, total=False): +class ThreatPreventionProfile(typing.TypedDict, total=False): antivirusOverrides: _list[AntivirusOverride] severityOverrides: _list[SeverityOverride] threatOverrides: _list[ThreatOverride] @typing.type_check_only -class TlsInspectionPolicy(typing_extensions.TypedDict, total=False): +class TlsInspectionPolicy(typing.TypedDict, total=False): caPool: str createTime: str customTlsFeatures: _list[str] description: str excludePublicCaSet: bool - minTlsVersion: typing_extensions.Literal[ + minTlsVersion: typing.Literal[ "TLS_VERSION_UNSPECIFIED", "TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3" ] name: str - tlsFeatureProfile: typing_extensions.Literal[ + tlsFeatureProfile: typing.Literal[ "PROFILE_UNSPECIFIED", "PROFILE_COMPATIBLE", "PROFILE_MODERN", @@ -1005,19 +959,17 @@ class TlsInspectionPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UrlFilter(typing_extensions.TypedDict, total=False): - filteringAction: typing_extensions.Literal[ - "URL_FILTERING_ACTION_UNSPECIFIED", "ALLOW", "DENY" - ] +class UrlFilter(typing.TypedDict, total=False): + filteringAction: typing.Literal["URL_FILTERING_ACTION_UNSPECIFIED", "ALLOW", "DENY"] priority: int urls: _list[str] @typing.type_check_only -class UrlFilteringProfile(typing_extensions.TypedDict, total=False): +class UrlFilteringProfile(typing.TypedDict, total=False): urlFilters: _list[UrlFilter] @typing.type_check_only -class UrlList(typing_extensions.TypedDict, total=False): +class UrlList(typing.TypedDict, total=False): createTime: str description: str name: str @@ -1025,6 +977,6 @@ class UrlList(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ValidationCA(typing_extensions.TypedDict, total=False): +class ValidationCA(typing.TypedDict, total=False): certificateProviderInstance: CertificateProviderInstance grpcEndpoint: GoogleCloudNetworksecurityV1GrpcEndpoint diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi index 4ec03b5d2..053a1d771 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -143,6 +142,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): body: FirewallEndpoint, firewallEndpointId: str | None = ..., requestId: str | None = ..., + validateOnly: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( @@ -771,6 +771,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): body: FirewallEndpoint, firewallEndpointId: str | None = ..., requestId: str | None = ..., + validateOnly: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( @@ -1310,6 +1311,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): self, *, name: str, + ignorePartnerDeletionErrors: bool | None = ..., requestId: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi index 9105db237..9c857b21e 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi @@ -1,41 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddAddressGroupItemsRequest(typing_extensions.TypedDict, total=False): +class AddAddressGroupItemsRequest(typing.TypedDict, total=False): items: _list[str] requestId: str @typing.type_check_only -class AddressGroup(typing_extensions.TypedDict, total=False): +class AddressGroup(typing.TypedDict, total=False): capacity: int createTime: str description: str items: _list[str] labels: dict[str, typing.Any] name: str - purpose: _list[ - typing_extensions.Literal["PURPOSE_UNSPECIFIED", "DEFAULT", "CLOUD_ARMOR"] - ] + purpose: _list[typing.Literal["PURPOSE_UNSPECIFIED", "DEFAULT", "CLOUD_ARMOR"]] selfLink: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "IPV4", "IPV6"] + type: typing.Literal["TYPE_UNSPECIFIED", "IPV4", "IPV6"] updateTime: str @typing.type_check_only -class AntivirusOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class AntivirusOverride(typing.TypedDict, total=False): + action: typing.Literal[ "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" ] - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "PROTOCOL_UNSPECIFIED", "SMTP", "SMB", "POP3", "IMAP", "HTTP2", "HTTP", "FTP" ] @typing.type_check_only -class AuthorizationPolicy(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] +class AuthorizationPolicy(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] createTime: str description: str labels: dict[str, typing.Any] @@ -44,10 +40,8 @@ class AuthorizationPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AuthzPolicy(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ - "AUTHZ_ACTION_UNSPECIFIED", "ALLOW", "DENY", "CUSTOM" - ] +class AuthzPolicy(typing.TypedDict, total=False): + action: typing.Literal["AUTHZ_ACTION_UNSPECIFIED", "ALLOW", "DENY", "CUSTOM"] createTime: str customProvider: AuthzPolicyCustomProvider description: str @@ -55,13 +49,13 @@ class AuthzPolicy(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str networkRules: _list[AuthzPolicyAuthzRule] - policyProfile: typing_extensions.Literal[ + policyProfile: typing.Literal[ "POLICY_PROFILE_UNSPECIFIED", "REQUEST_AUTHZ", "CONTENT_AUTHZ" ] target: AuthzPolicyTarget updateTime: str -AlternativeAuthzPolicyAuthzRule = typing_extensions.TypedDict( +AlternativeAuthzPolicyAuthzRule = typing.TypedDict( "AlternativeAuthzPolicyAuthzRule", { "from": AuthzPolicyAuthzRuleFrom, @@ -75,30 +69,30 @@ AlternativeAuthzPolicyAuthzRule = typing_extensions.TypedDict( class AuthzPolicyAuthzRule(AlternativeAuthzPolicyAuthzRule): ... @typing.type_check_only -class AuthzPolicyAuthzRuleFrom(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleFrom(typing.TypedDict, total=False): notSources: _list[AuthzPolicyAuthzRuleFromRequestSource] sources: _list[AuthzPolicyAuthzRuleFromRequestSource] @typing.type_check_only -class AuthzPolicyAuthzRuleFromRequestSource(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleFromRequestSource(typing.TypedDict, total=False): ipBlocks: _list[AuthzPolicyAuthzRuleIpBlock] principals: _list[AuthzPolicyAuthzRulePrincipal] resources: _list[AuthzPolicyAuthzRuleRequestResource] @typing.type_check_only -class AuthzPolicyAuthzRuleHeaderMatch(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleHeaderMatch(typing.TypedDict, total=False): name: str value: AuthzPolicyAuthzRuleStringMatch @typing.type_check_only -class AuthzPolicyAuthzRuleIpBlock(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleIpBlock(typing.TypedDict, total=False): length: int prefix: str @typing.type_check_only -class AuthzPolicyAuthzRulePrincipal(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRulePrincipal(typing.TypedDict, total=False): principal: AuthzPolicyAuthzRuleStringMatch - principalSelector: typing_extensions.Literal[ + principalSelector: typing.Literal[ "PRINCIPAL_SELECTOR_UNSPECIFIED", "CLIENT_CERT_URI_SAN", "CLIENT_CERT_DNS_NAME_SAN", @@ -106,18 +100,16 @@ class AuthzPolicyAuthzRulePrincipal(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AuthzPolicyAuthzRuleRequestResource(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleRequestResource(typing.TypedDict, total=False): iamServiceAccount: AuthzPolicyAuthzRuleStringMatch tagValueIdSet: AuthzPolicyAuthzRuleRequestResourceTagValueIdSet @typing.type_check_only -class AuthzPolicyAuthzRuleRequestResourceTagValueIdSet( - typing_extensions.TypedDict, total=False -): +class AuthzPolicyAuthzRuleRequestResourceTagValueIdSet(typing.TypedDict, total=False): ids: _list[str] @typing.type_check_only -class AuthzPolicyAuthzRuleStringMatch(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleStringMatch(typing.TypedDict, total=False): contains: str exact: str ignoreCase: bool @@ -125,12 +117,12 @@ class AuthzPolicyAuthzRuleStringMatch(typing_extensions.TypedDict, total=False): suffix: str @typing.type_check_only -class AuthzPolicyAuthzRuleTo(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleTo(typing.TypedDict, total=False): notOperations: _list[AuthzPolicyAuthzRuleToRequestOperation] operations: _list[AuthzPolicyAuthzRuleToRequestOperation] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperation(typing_extensions.TypedDict, total=False): +class AuthzPolicyAuthzRuleToRequestOperation(typing.TypedDict, total=False): headerSet: AuthzPolicyAuthzRuleToRequestOperationHeaderSet hosts: _list[AuthzPolicyAuthzRuleStringMatch] mcp: AuthzPolicyAuthzRuleToRequestOperationMCP @@ -139,16 +131,12 @@ class AuthzPolicyAuthzRuleToRequestOperation(typing_extensions.TypedDict, total= snis: _list[AuthzPolicyAuthzRuleStringMatch] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperationHeaderSet( - typing_extensions.TypedDict, total=False -): +class AuthzPolicyAuthzRuleToRequestOperationHeaderSet(typing.TypedDict, total=False): headers: _list[AuthzPolicyAuthzRuleHeaderMatch] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperationMCP( - typing_extensions.TypedDict, total=False -): - baseProtocolMethodsOption: typing_extensions.Literal[ +class AuthzPolicyAuthzRuleToRequestOperationMCP(typing.TypedDict, total=False): + baseProtocolMethodsOption: typing.Literal[ "BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED", "SKIP_BASE_PROTOCOL_METHODS", "MATCH_BASE_PROTOCOL_METHODS", @@ -156,27 +144,25 @@ class AuthzPolicyAuthzRuleToRequestOperationMCP( methods: _list[AuthzPolicyAuthzRuleToRequestOperationMCPMethod] @typing.type_check_only -class AuthzPolicyAuthzRuleToRequestOperationMCPMethod( - typing_extensions.TypedDict, total=False -): +class AuthzPolicyAuthzRuleToRequestOperationMCPMethod(typing.TypedDict, total=False): name: str params: _list[AuthzPolicyAuthzRuleStringMatch] @typing.type_check_only -class AuthzPolicyCustomProvider(typing_extensions.TypedDict, total=False): +class AuthzPolicyCustomProvider(typing.TypedDict, total=False): authzExtension: AuthzPolicyCustomProviderAuthzExtension cloudIap: AuthzPolicyCustomProviderCloudIap @typing.type_check_only -class AuthzPolicyCustomProviderAuthzExtension(typing_extensions.TypedDict, total=False): +class AuthzPolicyCustomProviderAuthzExtension(typing.TypedDict, total=False): resources: _list[str] @typing.type_check_only -class AuthzPolicyCustomProviderCloudIap(typing_extensions.TypedDict, total=False): ... +class AuthzPolicyCustomProviderCloudIap(typing.TypedDict, total=False): ... @typing.type_check_only -class AuthzPolicyTarget(typing_extensions.TypedDict, total=False): - loadBalancingScheme: typing_extensions.Literal[ +class AuthzPolicyTarget(typing.TypedDict, total=False): + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED", @@ -185,7 +171,7 @@ class AuthzPolicyTarget(typing_extensions.TypedDict, total=False): resources: _list[str] @typing.type_check_only -class BackendAuthenticationConfig(typing_extensions.TypedDict, total=False): +class BackendAuthenticationConfig(typing.TypedDict, total=False): clientCertificate: str createTime: str description: str @@ -194,19 +180,19 @@ class BackendAuthenticationConfig(typing_extensions.TypedDict, total=False): name: str trustConfig: str updateTime: str - wellKnownRoots: typing_extensions.Literal[ + wellKnownRoots: typing.Literal[ "WELL_KNOWN_ROOTS_UNSPECIFIED", "NONE", "PUBLIC_ROOTS" ] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CertificateProviderInstance(typing_extensions.TypedDict, total=False): +class CertificateProviderInstance(typing.TypedDict, total=False): pluginInstance: str @typing.type_check_only -class ClientTlsPolicy(typing_extensions.TypedDict, total=False): +class ClientTlsPolicy(typing.TypedDict, total=False): clientCertificate: GoogleCloudNetworksecurityV1beta1CertificateProvider createTime: str description: str @@ -217,46 +203,46 @@ class ClientTlsPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CloneAddressGroupItemsRequest(typing_extensions.TypedDict, total=False): +class CloneAddressGroupItemsRequest(typing.TypedDict, total=False): requestId: str sourceAddressGroup: str @typing.type_check_only -class CustomInterceptProfile(typing_extensions.TypedDict, total=False): +class CustomInterceptProfile(typing.TypedDict, total=False): interceptEndpointGroup: str @typing.type_check_only -class CustomMirroringProfile(typing_extensions.TypedDict, total=False): +class CustomMirroringProfile(typing.TypedDict, total=False): mirroringEndpointGroup: str @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): hosts: _list[str] httpHeaderMatch: HttpHeaderMatch methods: _list[str] ports: _list[int] @typing.type_check_only -class DnsThreatDetector(typing_extensions.TypedDict, total=False): +class DnsThreatDetector(typing.TypedDict, total=False): createTime: str excludedNetworks: _list[str] labels: dict[str, typing.Any] name: str - provider: typing_extensions.Literal["PROVIDER_UNSPECIFIED", "INFOBLOX"] + provider: typing.Literal["PROVIDER_UNSPECIFIED", "INFOBLOX"] updateTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FirewallEndpoint(typing_extensions.TypedDict, total=False): +class FirewallEndpoint(typing.TypedDict, total=False): associatedNetworks: _list[str] associations: _list[FirewallEndpointAssociationReference] billingProjectId: str @@ -268,14 +254,14 @@ class FirewallEndpoint(typing_extensions.TypedDict, total=False): reconciling: bool satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE" ] updateTime: str wildfireSettings: FirewallEndpointWildfireSettings @typing.type_check_only -class FirewallEndpointAssociation(typing_extensions.TypedDict, total=False): +class FirewallEndpointAssociation(typing.TypedDict, total=False): createTime: str disabled: bool firewallEndpoint: str @@ -283,20 +269,20 @@ class FirewallEndpointAssociation(typing_extensions.TypedDict, total=False): name: str network: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "INACTIVE", "ORPHAN" ] tlsInspectionPolicy: str updateTime: str @typing.type_check_only -class FirewallEndpointAssociationReference(typing_extensions.TypedDict, total=False): +class FirewallEndpointAssociationReference(typing.TypedDict, total=False): name: str network: str @typing.type_check_only -class FirewallEndpointEndpointSettings(typing_extensions.TypedDict, total=False): - contentCloudRegion: typing_extensions.Literal[ +class FirewallEndpointEndpointSettings(typing.TypedDict, total=False): + contentCloudRegion: typing.Literal[ "CONTENT_CLOUD_REGION_UNSPECIFIED", "US_CENTRAL", "APAC", @@ -320,16 +306,16 @@ class FirewallEndpointEndpointSettings(typing_extensions.TypedDict, total=False) jumboFramesEnabled: bool @typing.type_check_only -class FirewallEndpointWildfireSettings(typing_extensions.TypedDict, total=False): +class FirewallEndpointWildfireSettings(typing.TypedDict, total=False): enabled: bool wildfireInlineCloudAnalysisSettings: ( FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings ) wildfireRealtimeLookupDuration: str - wildfireRealtimeLookupTimeoutAction: typing_extensions.Literal[ + wildfireRealtimeLookupTimeoutAction: typing.Literal[ "WILDFIRE_REALTIME_SIGNATURE_LOOKUP_TIMEOUT_ACTION_UNSPECIFIED", "ALLOW", "DENY" ] - wildfireRegion: typing_extensions.Literal[ + wildfireRegion: typing.Literal[ "WILDFIRE_REGION_UNSPECIFIED", "CANADA", "UNITED_STATES", @@ -353,16 +339,16 @@ class FirewallEndpointWildfireSettings(typing_extensions.TypedDict, total=False) @typing.type_check_only class FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxAnalysisDuration: str submissionTimeoutLoggingDisabled: bool - timeoutAction: typing_extensions.Literal[ + timeoutAction: typing.Literal[ "WILDFIRE_INLINE_CLOUD_ANALYSIS_TIMEOUT_ACTION_UNSPECIFIED", "ALLOW", "DENY" ] @typing.type_check_only -class GatewaySecurityPolicy(typing_extensions.TypedDict, total=False): +class GatewaySecurityPolicy(typing.TypedDict, total=False): createTime: str description: str name: str @@ -370,11 +356,9 @@ class GatewaySecurityPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GatewaySecurityPolicyRule(typing_extensions.TypedDict, total=False): +class GatewaySecurityPolicyRule(typing.TypedDict, total=False): applicationMatcher: str - basicProfile: typing_extensions.Literal[ - "BASIC_PROFILE_UNSPECIFIED", "ALLOW", "DENY" - ] + basicProfile: typing.Literal["BASIC_PROFILE_UNSPECIFIED", "ALLOW", "DENY"] createTime: str description: str enabled: bool @@ -386,62 +370,60 @@ class GatewaySecurityPolicyRule(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudNetworksecurityV1beta1CertificateProvider( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificateProviderInstance: CertificateProviderInstance grpcEndpoint: GoogleCloudNetworksecurityV1beta1GrpcEndpoint @typing.type_check_only -class GoogleCloudNetworksecurityV1beta1GrpcEndpoint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudNetworksecurityV1beta1GrpcEndpoint(typing.TypedDict, total=False): targetUri: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class HttpHeaderMatch(typing_extensions.TypedDict, total=False): +class HttpHeaderMatch(typing.TypedDict, total=False): headerName: str regexMatch: str @typing.type_check_only -class InterceptDeployment(typing_extensions.TypedDict, total=False): +class InterceptDeployment(typing.TypedDict, total=False): createTime: str description: str forwardingRule: str @@ -449,7 +431,7 @@ class InterceptDeployment(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -460,7 +442,7 @@ class InterceptDeployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InterceptDeploymentGroup(typing_extensions.TypedDict, total=False): +class InterceptDeploymentGroup(typing.TypedDict, total=False): connectedEndpointGroups: _list[InterceptDeploymentGroupConnectedEndpointGroup] createTime: str description: str @@ -470,21 +452,17 @@ class InterceptDeploymentGroup(typing_extensions.TypedDict, total=False): nestedDeployments: _list[InterceptDeploymentGroupDeployment] network: str reconciling: bool - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING"] updateTime: str @typing.type_check_only -class InterceptDeploymentGroupConnectedEndpointGroup( - typing_extensions.TypedDict, total=False -): +class InterceptDeploymentGroupConnectedEndpointGroup(typing.TypedDict, total=False): name: str @typing.type_check_only -class InterceptDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): +class InterceptDeploymentGroupDeployment(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -494,7 +472,7 @@ class InterceptDeploymentGroupDeployment(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): +class InterceptEndpointGroup(typing.TypedDict, total=False): associations: _list[InterceptEndpointGroupAssociationDetails] connectedDeploymentGroup: InterceptEndpointGroupConnectedDeploymentGroup createTime: str @@ -503,7 +481,7 @@ class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CLOSED", @@ -515,7 +493,7 @@ class InterceptEndpointGroup(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False): +class InterceptEndpointGroupAssociation(typing.TypedDict, total=False): createTime: str interceptEndpointGroup: str labels: dict[str, typing.Any] @@ -525,7 +503,7 @@ class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False network: str networkCookie: int reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -537,12 +515,10 @@ class InterceptEndpointGroupAssociation(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class InterceptEndpointGroupAssociationDetails( - typing_extensions.TypedDict, total=False -): +class InterceptEndpointGroupAssociationDetails(typing.TypedDict, total=False): name: str network: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -553,26 +529,22 @@ class InterceptEndpointGroupAssociationDetails( ] @typing.type_check_only -class InterceptEndpointGroupAssociationLocationDetails( - typing_extensions.TypedDict, total=False -): +class InterceptEndpointGroupAssociationLocationDetails(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class InterceptEndpointGroupConnectedDeploymentGroup( - typing_extensions.TypedDict, total=False -): +class InterceptEndpointGroupConnectedDeploymentGroup(typing.TypedDict, total=False): locations: _list[InterceptLocation] name: str @typing.type_check_only -class InterceptLocation(typing_extensions.TypedDict, total=False): +class InterceptLocation(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class ListAddressGroupReferencesResponse(typing_extensions.TypedDict, total=False): +class ListAddressGroupReferencesResponse(typing.TypedDict, total=False): addressGroupReferences: _list[ ListAddressGroupReferencesResponseAddressGroupReference ] @@ -580,181 +552,171 @@ class ListAddressGroupReferencesResponse(typing_extensions.TypedDict, total=Fals @typing.type_check_only class ListAddressGroupReferencesResponseAddressGroupReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firewallPolicy: str rulePriority: int securityPolicy: str @typing.type_check_only -class ListAddressGroupsResponse(typing_extensions.TypedDict, total=False): +class ListAddressGroupsResponse(typing.TypedDict, total=False): addressGroups: _list[AddressGroup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAuthorizationPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizationPoliciesResponse(typing.TypedDict, total=False): authorizationPolicies: _list[AuthorizationPolicy] nextPageToken: str @typing.type_check_only -class ListAuthzPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAuthzPoliciesResponse(typing.TypedDict, total=False): authzPolicies: _list[AuthzPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackendAuthenticationConfigsResponse( - typing_extensions.TypedDict, total=False -): +class ListBackendAuthenticationConfigsResponse(typing.TypedDict, total=False): backendAuthenticationConfigs: _list[BackendAuthenticationConfig] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClientTlsPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListClientTlsPoliciesResponse(typing.TypedDict, total=False): clientTlsPolicies: _list[ClientTlsPolicy] nextPageToken: str @typing.type_check_only -class ListDnsThreatDetectorsResponse(typing_extensions.TypedDict, total=False): +class ListDnsThreatDetectorsResponse(typing.TypedDict, total=False): dnsThreatDetectors: _list[DnsThreatDetector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFirewallEndpointAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class ListFirewallEndpointAssociationsResponse(typing.TypedDict, total=False): firewallEndpointAssociations: _list[FirewallEndpointAssociation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFirewallEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListFirewallEndpointsResponse(typing.TypedDict, total=False): firewallEndpoints: _list[FirewallEndpoint] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewaySecurityPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListGatewaySecurityPoliciesResponse(typing.TypedDict, total=False): gatewaySecurityPolicies: _list[GatewaySecurityPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewaySecurityPolicyRulesResponse(typing_extensions.TypedDict, total=False): +class ListGatewaySecurityPolicyRulesResponse(typing.TypedDict, total=False): gatewaySecurityPolicyRules: _list[GatewaySecurityPolicyRule] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInterceptDeploymentGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInterceptDeploymentGroupsResponse(typing.TypedDict, total=False): interceptDeploymentGroups: _list[InterceptDeploymentGroup] nextPageToken: str @typing.type_check_only -class ListInterceptDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListInterceptDeploymentsResponse(typing.TypedDict, total=False): interceptDeployments: _list[InterceptDeployment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInterceptEndpointGroupAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class ListInterceptEndpointGroupAssociationsResponse(typing.TypedDict, total=False): interceptEndpointGroupAssociations: _list[InterceptEndpointGroupAssociation] nextPageToken: str @typing.type_check_only -class ListInterceptEndpointGroupsResponse(typing_extensions.TypedDict, total=False): +class ListInterceptEndpointGroupsResponse(typing.TypedDict, total=False): interceptEndpointGroups: _list[InterceptEndpointGroup] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMirroringDeploymentGroupsResponse(typing_extensions.TypedDict, total=False): +class ListMirroringDeploymentGroupsResponse(typing.TypedDict, total=False): mirroringDeploymentGroups: _list[MirroringDeploymentGroup] nextPageToken: str @typing.type_check_only -class ListMirroringDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListMirroringDeploymentsResponse(typing.TypedDict, total=False): mirroringDeployments: _list[MirroringDeployment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMirroringEndpointGroupAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class ListMirroringEndpointGroupAssociationsResponse(typing.TypedDict, total=False): mirroringEndpointGroupAssociations: _list[MirroringEndpointGroupAssociation] nextPageToken: str @typing.type_check_only -class ListMirroringEndpointGroupsResponse(typing_extensions.TypedDict, total=False): +class ListMirroringEndpointGroupsResponse(typing.TypedDict, total=False): mirroringEndpointGroups: _list[MirroringEndpointGroup] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSACAttachmentsResponse(typing_extensions.TypedDict, total=False): +class ListSACAttachmentsResponse(typing.TypedDict, total=False): nextPageToken: str sacAttachments: _list[SACAttachment] unreachable: _list[str] @typing.type_check_only -class ListSACRealmsResponse(typing_extensions.TypedDict, total=False): +class ListSACRealmsResponse(typing.TypedDict, total=False): nextPageToken: str sacRealms: _list[SACRealm] unreachable: _list[str] @typing.type_check_only -class ListSecurityProfileGroupsResponse(typing_extensions.TypedDict, total=False): +class ListSecurityProfileGroupsResponse(typing.TypedDict, total=False): nextPageToken: str securityProfileGroups: _list[SecurityProfileGroup] @typing.type_check_only -class ListSecurityProfilesResponse(typing_extensions.TypedDict, total=False): +class ListSecurityProfilesResponse(typing.TypedDict, total=False): nextPageToken: str securityProfiles: _list[SecurityProfile] @typing.type_check_only -class ListServerTlsPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListServerTlsPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str serverTlsPolicies: _list[ServerTlsPolicy] unreachable: _list[str] @typing.type_check_only -class ListTlsInspectionPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListTlsInspectionPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str tlsInspectionPolicies: _list[TlsInspectionPolicy] unreachable: _list[str] @typing.type_check_only -class ListUrlListsResponse(typing_extensions.TypedDict, total=False): +class ListUrlListsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] urlLists: _list[UrlList] @typing.type_check_only -class ListWildfireVerdictChangeRequestsResponse( - typing_extensions.TypedDict, total=False -): +class ListWildfireVerdictChangeRequestsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] wildfireVerdictChangeRequests: _list[WildfireVerdictChangeRequest] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -762,9 +724,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MTLSPolicy(typing_extensions.TypedDict, total=False): +class MTLSPolicy(typing.TypedDict, total=False): clientValidationCa: _list[ValidationCA] - clientValidationMode: typing_extensions.Literal[ + clientValidationMode: typing.Literal[ "CLIENT_VALIDATION_MODE_UNSPECIFIED", "ALLOW_INVALID_OR_MISSING_CLIENT_CERT", "REJECT_INVALID", @@ -772,7 +734,7 @@ class MTLSPolicy(typing_extensions.TypedDict, total=False): clientValidationTrustConfig: str @typing.type_check_only -class MirroringDeployment(typing_extensions.TypedDict, total=False): +class MirroringDeployment(typing.TypedDict, total=False): createTime: str description: str forwardingRule: str @@ -780,7 +742,7 @@ class MirroringDeployment(typing_extensions.TypedDict, total=False): mirroringDeploymentGroup: str name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -791,7 +753,7 @@ class MirroringDeployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): +class MirroringDeploymentGroup(typing.TypedDict, total=False): connectedEndpointGroups: _list[MirroringDeploymentGroupConnectedEndpointGroup] createTime: str description: str @@ -801,21 +763,19 @@ class MirroringDeploymentGroup(typing_extensions.TypedDict, total=False): nestedDeployments: _list[MirroringDeploymentGroupDeployment] network: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING", "CLOSED" ] updateTime: str @typing.type_check_only -class MirroringDeploymentGroupConnectedEndpointGroup( - typing_extensions.TypedDict, total=False -): +class MirroringDeploymentGroupConnectedEndpointGroup(typing.TypedDict, total=False): name: str @typing.type_check_only -class MirroringDeploymentGroupDeployment(typing_extensions.TypedDict, total=False): +class MirroringDeploymentGroupDeployment(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -825,7 +785,7 @@ class MirroringDeploymentGroupDeployment(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): +class MirroringEndpointGroup(typing.TypedDict, total=False): associations: _list[MirroringEndpointGroupAssociationDetails] connectedDeploymentGroups: _list[MirroringEndpointGroupConnectedDeploymentGroup] createTime: str @@ -834,7 +794,7 @@ class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): mirroringDeploymentGroup: str name: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CLOSED", @@ -843,11 +803,11 @@ class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): "OUT_OF_SYNC", "DELETE_FAILED", ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DIRECT"] + type: typing.Literal["TYPE_UNSPECIFIED", "DIRECT"] updateTime: str @typing.type_check_only -class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False): +class MirroringEndpointGroupAssociation(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] locations: _list[MirroringLocation] @@ -857,7 +817,7 @@ class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False network: str networkCookie: int reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -869,12 +829,10 @@ class MirroringEndpointGroupAssociation(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class MirroringEndpointGroupAssociationDetails( - typing_extensions.TypedDict, total=False -): +class MirroringEndpointGroupAssociationDetails(typing.TypedDict, total=False): name: str network: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -885,26 +843,22 @@ class MirroringEndpointGroupAssociationDetails( ] @typing.type_check_only -class MirroringEndpointGroupAssociationLocationDetails( - typing_extensions.TypedDict, total=False -): +class MirroringEndpointGroupAssociationLocationDetails(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class MirroringEndpointGroupConnectedDeploymentGroup( - typing_extensions.TypedDict, total=False -): +class MirroringEndpointGroupConnectedDeploymentGroup(typing.TypedDict, total=False): locations: _list[MirroringLocation] name: str @typing.type_check_only -class MirroringLocation(typing_extensions.TypedDict, total=False): +class MirroringLocation(typing.TypedDict, total=False): location: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "OUT_OF_SYNC"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -912,7 +866,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -922,24 +876,24 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class RemoveAddressGroupItemsRequest(typing_extensions.TypedDict, total=False): +class RemoveAddressGroupItemsRequest(typing.TypedDict, total=False): items: _list[str] requestId: str @typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): +class Rule(typing.TypedDict, total=False): destinations: _list[Destination] sources: _list[Source] @typing.type_check_only -class SACAttachment(typing_extensions.TypedDict, total=False): +class SACAttachment(typing.TypedDict, total=False): country: str createTime: str labels: dict[str, typing.Any] name: str nccGateway: str sacRealm: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING_PARTNER_ATTACHMENT", "PARTNER_ATTACHED", @@ -950,22 +904,20 @@ class SACAttachment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SACAttachmentSACAttachmentSymantecOptions( - typing_extensions.TypedDict, total=False -): +class SACAttachmentSACAttachmentSymantecOptions(typing.TypedDict, total=False): symantecLocationName: str symantecSite: str @typing.type_check_only -class SACRealm(typing_extensions.TypedDict, total=False): +class SACRealm(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] name: str pairingKey: SACRealmPairingKey - securityService: typing_extensions.Literal[ + securityService: typing.Literal[ "SECURITY_SERVICE_UNSPECIFIED", "PALO_ALTO_PRISMA_ACCESS", "SYMANTEC_CLOUD_SWG" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING_PARTNER_ATTACHMENT", "PARTNER_ATTACHED", @@ -976,15 +928,15 @@ class SACRealm(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SACRealmPairingKey(typing_extensions.TypedDict, total=False): +class SACRealmPairingKey(typing.TypedDict, total=False): expireTime: str key: str @typing.type_check_only -class SACRealmSACRealmSymantecOptions(typing_extensions.TypedDict, total=False): +class SACRealmSACRealmSymantecOptions(typing.TypedDict, total=False): availableSymantecSites: _list[str] secretPath: str - symantecConnectionState: typing_extensions.Literal[ + symantecConnectionState: typing.Literal[ "SYMANTEC_CONNECTION_STATE_UNSPECIFIED", "SUCCEEDED", "READ_SECRET_FAILED", @@ -993,7 +945,7 @@ class SACRealmSACRealmSymantecOptions(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SecurityProfile(typing_extensions.TypedDict, total=False): +class SecurityProfile(typing.TypedDict, total=False): createTime: str customInterceptProfile: CustomInterceptProfile customMirroringProfile: CustomMirroringProfile @@ -1002,7 +954,7 @@ class SecurityProfile(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str threatPreventionProfile: ThreatPreventionProfile - type: typing_extensions.Literal[ + type: typing.Literal[ "PROFILE_TYPE_UNSPECIFIED", "THREAT_PREVENTION", "CUSTOM_MIRRORING", @@ -1015,7 +967,7 @@ class SecurityProfile(typing_extensions.TypedDict, total=False): wildfireAnalysisProfile: WildfireAnalysisProfile @typing.type_check_only -class SecurityProfileGroup(typing_extensions.TypedDict, total=False): +class SecurityProfileGroup(typing.TypedDict, total=False): createTime: str customInterceptProfile: str customMirroringProfile: str @@ -1030,7 +982,7 @@ class SecurityProfileGroup(typing_extensions.TypedDict, total=False): wildfireAnalysisProfile: str @typing.type_check_only -class ServerTlsPolicy(typing_extensions.TypedDict, total=False): +class ServerTlsPolicy(typing.TypedDict, total=False): allowOpen: bool createTime: str description: str @@ -1041,32 +993,32 @@ class ServerTlsPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SeverityOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class SeverityOverride(typing.TypedDict, total=False): + action: typing.Literal[ "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" ] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): ipBlocks: _list[str] principals: _list[str] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class ThreatOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class ThreatOverride(typing.TypedDict, total=False): + action: typing.Literal[ "THREAT_ACTION_UNSPECIFIED", "DEFAULT_ACTION", "ALLOW", "ALERT", "DENY" ] threatId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "UNKNOWN", "VULNERABILITY", @@ -1076,23 +1028,23 @@ class ThreatOverride(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ThreatPreventionProfile(typing_extensions.TypedDict, total=False): +class ThreatPreventionProfile(typing.TypedDict, total=False): antivirusOverrides: _list[AntivirusOverride] severityOverrides: _list[SeverityOverride] threatOverrides: _list[ThreatOverride] @typing.type_check_only -class TlsInspectionPolicy(typing_extensions.TypedDict, total=False): +class TlsInspectionPolicy(typing.TypedDict, total=False): caPool: str createTime: str customTlsFeatures: _list[str] description: str excludePublicCaSet: bool - minTlsVersion: typing_extensions.Literal[ + minTlsVersion: typing.Literal[ "TLS_VERSION_UNSPECIFIED", "TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3" ] name: str - tlsFeatureProfile: typing_extensions.Literal[ + tlsFeatureProfile: typing.Literal[ "PROFILE_UNSPECIFIED", "PROFILE_COMPATIBLE", "PROFILE_MODERN", @@ -1103,19 +1055,17 @@ class TlsInspectionPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UrlFilter(typing_extensions.TypedDict, total=False): - filteringAction: typing_extensions.Literal[ - "URL_FILTERING_ACTION_UNSPECIFIED", "ALLOW", "DENY" - ] +class UrlFilter(typing.TypedDict, total=False): + filteringAction: typing.Literal["URL_FILTERING_ACTION_UNSPECIFIED", "ALLOW", "DENY"] priority: int urls: _list[str] @typing.type_check_only -class UrlFilteringProfile(typing_extensions.TypedDict, total=False): +class UrlFilteringProfile(typing.TypedDict, total=False): urlFilters: _list[UrlFilter] @typing.type_check_only -class UrlList(typing_extensions.TypedDict, total=False): +class UrlList(typing.TypedDict, total=False): createTime: str description: str name: str @@ -1123,12 +1073,12 @@ class UrlList(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ValidationCA(typing_extensions.TypedDict, total=False): +class ValidationCA(typing.TypedDict, total=False): certificateProviderInstance: CertificateProviderInstance grpcEndpoint: GoogleCloudNetworksecurityV1beta1GrpcEndpoint @typing.type_check_only -class WildfireAnalysisProfile(typing_extensions.TypedDict, total=False): +class WildfireAnalysisProfile(typing.TypedDict, total=False): wildfireInlineCloudAnalysisRules: _list[WildfireInlineCloudAnalysisRule] wildfireInlineMlOverrides: _list[WildfireInlineMlOverride] wildfireInlineMlSetting: WildfireInlineMlSettings @@ -1139,39 +1089,35 @@ class WildfireAnalysisProfile(typing_extensions.TypedDict, total=False): wildfireThreatOverrides: _list[WildfireThreatOverride] @typing.type_check_only -class WildfireInlineCloudAnalysisRule(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class WildfireInlineCloudAnalysisRule(typing.TypedDict, total=False): + action: typing.Literal[ "WILDFIRE_INLINE_CLOUD_ANALYSIS_ACTION_UNSPECIFIED", "ALLOW", "DENY", "ALERT" ] customFileTypes: WildfireInlineCloudAnalysisRuleCustomFileTypes - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "UPLOAD", "DOWNLOAD", "BOTH" - ] - fileSelectionMode: typing_extensions.Literal[ + direction: typing.Literal["DIRECTION_UNSPECIFIED", "UPLOAD", "DOWNLOAD", "BOTH"] + fileSelectionMode: typing.Literal[ "FILE_SELECTION_MODE_UNSPECIFIED", "ALL_FILE_TYPES", "CUSTOM_FILE_TYPES" ] @typing.type_check_only -class WildfireInlineCloudAnalysisRuleCustomFileTypes( - typing_extensions.TypedDict, total=False -): - fileTypes: _list[typing_extensions.Literal["FILE_TYPE_UNSPECIFIED", "PE"]] +class WildfireInlineCloudAnalysisRuleCustomFileTypes(typing.TypedDict, total=False): + fileTypes: _list[typing.Literal["FILE_TYPE_UNSPECIFIED", "PE"]] @typing.type_check_only -class WildfireInlineMlFileException(typing_extensions.TypedDict, total=False): +class WildfireInlineMlFileException(typing.TypedDict, total=False): filename: str partialHash: str @typing.type_check_only -class WildfireInlineMlOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class WildfireInlineMlOverride(typing.TypedDict, total=False): + action: typing.Literal[ "WILDFIRE_THREAT_ACTION_UNSPECIFIED", "WILDFIRE_DEFAULT_ACTION", "WILDFIRE_ALLOW", "WILDFIRE_ALERT", "WILDFIRE_DENY", ] - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "WILDFIRE_PROTOCOL_UNSPECIFIED", "WILDFIRE_SMTP", "WILDFIRE_SMB", @@ -1183,16 +1129,14 @@ class WildfireInlineMlOverride(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WildfireInlineMlSettings(typing_extensions.TypedDict, total=False): +class WildfireInlineMlSettings(typing.TypedDict, total=False): fileExceptions: _list[WildfireInlineMlFileException] inlineMlConfigs: _list[WildfireInlineMlSettingsInlineMlConfig] @typing.type_check_only -class WildfireInlineMlSettingsInlineMlConfig(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ - "INLINE_ML_ACTION_UNSPECIFIED", "DISABLE", "ALERT", "ENABLE" - ] - fileType: typing_extensions.Literal[ +class WildfireInlineMlSettingsInlineMlConfig(typing.TypedDict, total=False): + action: typing.Literal["INLINE_ML_ACTION_UNSPECIFIED", "DISABLE", "ALERT", "ENABLE"] + fileType: typing.Literal[ "INLINE_ML_CONFIG_UNSPECIFIED", "WINDOWS_EXECUTABLE", "POWERSHELL_SCRIPT1", @@ -1205,15 +1149,15 @@ class WildfireInlineMlSettingsInlineMlConfig(typing_extensions.TypedDict, total= ] @typing.type_check_only -class WildfireOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class WildfireOverride(typing.TypedDict, total=False): + action: typing.Literal[ "WILDFIRE_THREAT_ACTION_UNSPECIFIED", "WILDFIRE_DEFAULT_ACTION", "WILDFIRE_ALLOW", "WILDFIRE_ALERT", "WILDFIRE_DENY", ] - protocol: typing_extensions.Literal[ + protocol: typing.Literal[ "WILDFIRE_PROTOCOL_UNSPECIFIED", "WILDFIRE_SMTP", "WILDFIRE_SMB", @@ -1225,19 +1169,17 @@ class WildfireOverride(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WildfireSubmissionRule(typing_extensions.TypedDict, total=False): +class WildfireSubmissionRule(typing.TypedDict, total=False): customFileTypes: WildfireSubmissionRuleCustomFileTypes - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "UPLOAD", "DOWNLOAD", "BOTH" - ] - fileSelectionMode: typing_extensions.Literal[ + direction: typing.Literal["DIRECTION_UNSPECIFIED", "UPLOAD", "DOWNLOAD", "BOTH"] + fileSelectionMode: typing.Literal[ "FILE_SELECTION_MODE_UNSPECIFIED", "ALL_FILE_TYPES", "CUSTOM_FILE_TYPES" ] @typing.type_check_only -class WildfireSubmissionRuleCustomFileTypes(typing_extensions.TypedDict, total=False): +class WildfireSubmissionRuleCustomFileTypes(typing.TypedDict, total=False): fileTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "FILE_TYPE_UNSPECIFIED", "APK", "ARCHIVE", @@ -1253,8 +1195,8 @@ class WildfireSubmissionRuleCustomFileTypes(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class WildfireThreatOverride(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class WildfireThreatOverride(typing.TypedDict, total=False): + action: typing.Literal[ "WILDFIRE_THREAT_ACTION_UNSPECIFIED", "WILDFIRE_DEFAULT_ACTION", "WILDFIRE_ALLOW", @@ -1264,25 +1206,25 @@ class WildfireThreatOverride(typing_extensions.TypedDict, total=False): threatId: str @typing.type_check_only -class WildfireVerdictChangeRequest(typing_extensions.TypedDict, total=False): +class WildfireVerdictChangeRequest(typing.TypedDict, total=False): comment: str createTime: str fileName: str fileType: str - finalVerdict: typing_extensions.Literal[ + finalVerdict: typing.Literal[ "WILDFIRE_SAMPLE_VERDICT_UNKNOWN", "BENIGN", "MALWARE", "GRAYWARE", "PHISHING" ] name: str - newVerdict: typing_extensions.Literal[ + newVerdict: typing.Literal[ "WILDFIRE_SAMPLE_VERDICT_UNKNOWN", "BENIGN", "MALWARE", "GRAYWARE", "PHISHING" ] - oldVerdict: typing_extensions.Literal[ + oldVerdict: typing.Literal[ "WILDFIRE_SAMPLE_VERDICT_UNKNOWN", "BENIGN", "MALWARE", "GRAYWARE", "PHISHING" ] resolutionTime: str sha256: str sourceRegion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "VERDICT_CHANGE_REQUEST_STATE_UNSPECIFIED", "OPEN", "CLOSED", "PENDING" ] updateTime: str diff --git a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi index a2bc5902a..c1399c585 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -17,6 +16,47 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentConnectivityTemplatesResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: AgentConnectivityTemplate, + agentConnectivityTemplateId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str | None = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AgentConnectivityTemplateHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ListAgentConnectivityTemplatesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAgentConnectivityTemplatesResponseHttpRequest, + previous_response: ListAgentConnectivityTemplatesResponse, + ) -> ListAgentConnectivityTemplatesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AgentConnectivityTemplate, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class AgentGatewaysResource(googleapiclient.discovery.Resource): def create( @@ -213,6 +253,44 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class ExtensionBindingsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ExtensionBinding, + extensionBindingId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str | None = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ExtensionBindingHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListExtensionBindingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExtensionBindingsResponseHttpRequest, + previous_response: ListExtensionBindingsResponse, + ) -> ListExtensionBindingsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ExtensionBinding, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class GatewaysResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -677,6 +755,36 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class ProducerExtensionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ProducerExtension, + producerExtensionId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str | None = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ProducerExtensionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListProducerExtensionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListProducerExtensionsResponseHttpRequest, + previous_response: ListProducerExtensionsResponse, + ) -> ListProducerExtensionsResponseHttpRequest | None: ... + @typing.type_check_only class ServiceBindingsResource(googleapiclient.discovery.Resource): def create( @@ -878,7 +986,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "WASM_PLUGIN_VIEW_UNSPECIFIED", "WASM_PLUGIN_VIEW_BASIC", "WASM_PLUGIN_VIEW_FULL", @@ -927,12 +1035,16 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def agentConnectivityTemplates( + self, + ) -> AgentConnectivityTemplatesResource: ... def agentGateways(self) -> AgentGatewaysResource: ... def authzExtensions(self) -> AuthzExtensionsResource: ... def edgeCacheKeysets(self) -> EdgeCacheKeysetsResource: ... def edgeCacheOrigins(self) -> EdgeCacheOriginsResource: ... def edgeCacheServices(self) -> EdgeCacheServicesResource: ... def endpointPolicies(self) -> EndpointPoliciesResource: ... + def extensionBindings(self) -> ExtensionBindingsResource: ... def gateways(self) -> GatewaysResource: ... def grpcRoutes(self) -> GrpcRoutesResource: ... def httpRoutes(self) -> HttpRoutesResource: ... @@ -947,6 +1059,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): self, ) -> MulticastGroupConsumerActivationsResource: ... def operations(self) -> OperationsResource: ... + def producerExtensions(self) -> ProducerExtensionsResource: ... def serviceBindings(self) -> ServiceBindingsResource: ... def serviceLbPolicies(self) -> ServiceLbPoliciesResource: ... def tcpRoutes(self) -> TcpRoutesResource: ... @@ -969,6 +1082,14 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class AgentConnectivityTemplateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AgentConnectivityTemplate: ... + @typing.type_check_only class AgentGatewayHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1001,6 +1122,14 @@ class EndpointPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> EndpointPolicy: ... +@typing.type_check_only +class ExtensionBindingHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExtensionBinding: ... + @typing.type_check_only class GatewayHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1057,6 +1186,16 @@ class LbTrafficExtensionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LbTrafficExtension: ... +@typing.type_check_only +class ListAgentConnectivityTemplatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAgentConnectivityTemplatesResponse: ... + @typing.type_check_only class ListAgentGatewaysResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1081,6 +1220,14 @@ class ListEndpointPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListEndpointPoliciesResponse: ... +@typing.type_check_only +class ListExtensionBindingsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExtensionBindingsResponse: ... + @typing.type_check_only class ListGatewayRouteViewsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1189,6 +1336,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListProducerExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListProducerExtensionsResponse: ... + @typing.type_check_only class ListServiceBindingsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1293,6 +1448,14 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Policy: ... +@typing.type_check_only +class ProducerExtensionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ProducerExtension: ... + @typing.type_check_only class ServiceBindingHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi index ec8d2b10e..b5db74d76 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi @@ -1,11 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AgentGateway(typing_extensions.TypedDict, total=False): +class AgentConnectivityTemplate(typing.TypedDict, total=False): + accessPath: typing.Literal[ + "ACCESS_PATH_UNSPECIFIED", "CLIENT_TO_AGENT", "AGENT_TO_ANYWHERE" + ] + accessTypes: _list[typing.Literal["ACCESS_TYPE_UNSPECIFIED", "PUBLIC", "PRIVATE"]] + agentCompute: typing.Literal[ + "AGENT_COMPUTE_UNSPECIFIED", "GKE", "CLOUD_RUN", "BORG" + ] + createTime: str + deploymentModel: typing.Literal[ + "DEPLOYMENT_MODEL_UNSPECIFIED", "CENTRALIZED", "AMBIENT" + ] + description: str + egressNetworkConfig: EgressNetworkConfig + etag: str + labels: dict[str, typing.Any] + name: str + updateTime: str + +@typing.type_check_only +class AgentGateway(typing.TypedDict, total=False): + agentConnectivityTemplate: str agentGatewayCard: AgentGatewayAgentGatewayOutputCard createTime: str description: str @@ -14,65 +33,57 @@ class AgentGateway(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str networkConfig: AgentGatewayNetworkConfig - protocols: _list[typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "MCP"]] + protocols: _list[typing.Literal["PROTOCOL_UNSPECIFIED", "MCP"]] registries: _list[str] selfManaged: AgentGatewaySelfManaged updateTime: str @typing.type_check_only -class AgentGatewayAgentGatewayOutputCard(typing_extensions.TypedDict, total=False): +class AgentGatewayAgentGatewayOutputCard(typing.TypedDict, total=False): mtlsEndpoint: str rootCertificates: _list[str] serviceExtensionsServiceAccount: str @typing.type_check_only -class AgentGatewayGoogleManaged(typing_extensions.TypedDict, total=False): - governedAccessPath: typing_extensions.Literal[ +class AgentGatewayGoogleManaged(typing.TypedDict, total=False): + governedAccessPath: typing.Literal[ "GOVERNED_ACCESS_PATH_UNSPECIFIED", "AGENT_TO_ANYWHERE", "CLIENT_TO_AGENT" ] @typing.type_check_only -class AgentGatewayNetworkConfig(typing_extensions.TypedDict, total=False): +class AgentGatewayNetworkConfig(typing.TypedDict, total=False): dnsPeeringConfig: AgentGatewayNetworkConfigDnsPeeringConfig egress: AgentGatewayNetworkConfigEgress @typing.type_check_only -class AgentGatewayNetworkConfigDnsPeeringConfig( - typing_extensions.TypedDict, total=False -): +class AgentGatewayNetworkConfigDnsPeeringConfig(typing.TypedDict, total=False): domains: _list[str] targetNetwork: str targetProject: str @typing.type_check_only -class AgentGatewayNetworkConfigEgress(typing_extensions.TypedDict, total=False): +class AgentGatewayNetworkConfigEgress(typing.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): +class AgentGatewaySelfManaged(typing.TypedDict, total=False): resourceUri: str + resourceUris: _list[str] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthzExtension(typing_extensions.TypedDict, total=False): +class AuthzExtension(typing.TypedDict, total=False): authority: str createTime: str description: str @@ -80,7 +91,7 @@ class AuthzExtension(typing_extensions.TypedDict, total=False): forwardAttributes: _list[str] forwardHeaders: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] metadata: dict[str, typing.Any] @@ -88,42 +99,54 @@ class AuthzExtension(typing_extensions.TypedDict, total=False): service: str timeout: str updateTime: str - wireFormat: typing_extensions.Literal[ + wireFormat: typing.Literal[ "WIRE_FORMAT_UNSPECIFIED", "EXT_PROC_GRPC", "EXT_AUTHZ_GRPC" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class DnsPeeringConfig(typing.TypedDict, total=False): + domain: str + targetNetwork: str + +@typing.type_check_only +class EgressNetworkConfig(typing.TypedDict, total=False): + dnsPeeringConfig: DnsPeeringConfig + networkAttachment: str + trustConfig: str + vpcEgress: typing.Literal[ + "VPC_EGRESS_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_RANGES_ONLY" + ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndpointMatcher(typing_extensions.TypedDict, total=False): +class EndpointMatcher(typing.TypedDict, total=False): metadataLabelMatcher: EndpointMatcherMetadataLabelMatcher @typing.type_check_only -class EndpointMatcherMetadataLabelMatcher(typing_extensions.TypedDict, total=False): - metadataLabelMatchCriteria: typing_extensions.Literal[ +class EndpointMatcherMetadataLabelMatcher(typing.TypedDict, total=False): + metadataLabelMatchCriteria: typing.Literal[ "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED", "MATCH_ANY", "MATCH_ALL" ] metadataLabels: _list[EndpointMatcherMetadataLabelMatcherMetadataLabels] @typing.type_check_only -class EndpointMatcherMetadataLabelMatcherMetadataLabels( - typing_extensions.TypedDict, total=False -): +class EndpointMatcherMetadataLabelMatcherMetadataLabels(typing.TypedDict, total=False): labelName: str labelValue: str @typing.type_check_only -class EndpointPolicy(typing_extensions.TypedDict, total=False): +class EndpointPolicy(typing.TypedDict, total=False): authorizationPolicy: str clientTlsPolicy: str createTime: str @@ -133,26 +156,88 @@ class EndpointPolicy(typing_extensions.TypedDict, total=False): name: str serverTlsPolicy: str trafficPortSelector: TrafficPortSelector - type: typing_extensions.Literal[ + type: typing.Literal[ "ENDPOINT_POLICY_TYPE_UNSPECIFIED", "SIDECAR_PROXY", "GRPC_SERVER" ] updateTime: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtensionChain(typing_extensions.TypedDict, total=False): +class ExtensionBinding(typing.TypedDict, total=False): + createTime: str + description: str + etag: str + failOpen: bool + labels: dict[str, typing.Any] + matchConditions: _list[ExtensionBindingMatchCondition] + name: str + priority: int + producerExtension: str + producerMetadata: dict[str, typing.Any] + target: ExtensionBindingTarget + updateTime: str + +@typing.type_check_only +class ExtensionBindingMatchCondition(typing.TypedDict, total=False): + to: ExtensionBindingMatchConditionTo + +@typing.type_check_only +class ExtensionBindingMatchConditionHeaderMatch(typing.TypedDict, total=False): + name: str + value: ExtensionBindingMatchConditionStringMatch + +@typing.type_check_only +class ExtensionBindingMatchConditionStringMatch(typing.TypedDict, total=False): + contains: str + exact: str + ignoreCase: bool + prefix: str + suffix: str + +@typing.type_check_only +class ExtensionBindingMatchConditionTo(typing.TypedDict, total=False): + destination: ExtensionBindingMatchConditionToDestination + notDestination: ExtensionBindingMatchConditionToDestination + +@typing.type_check_only +class ExtensionBindingMatchConditionToDestination(typing.TypedDict, total=False): + headerSet: ExtensionBindingMatchConditionToDestinationHeaderSet + hosts: _list[ExtensionBindingMatchConditionStringMatch] + paths: _list[ExtensionBindingMatchConditionStringMatch] + resources: _list[ExtensionBindingMatchConditionStringMatch] + +@typing.type_check_only +class ExtensionBindingMatchConditionToDestinationHeaderSet( + typing.TypedDict, total=False +): + headers: _list[ExtensionBindingMatchConditionHeaderMatch] + +@typing.type_check_only +class ExtensionBindingTarget(typing.TypedDict, total=False): + resources: _list[str] + scope: ExtensionBindingTargetScope + +@typing.type_check_only +class ExtensionBindingTargetScope(typing.TypedDict, total=False): + parent: str + resourceTypes: _list[ + typing.Literal["RESOURCE_TYPE_UNSPECIFIED", "AI_APPLICATION", "AGENT_GATEWAY"] + ] + +@typing.type_check_only +class ExtensionChain(typing.TypedDict, total=False): extensions: _list[ExtensionChainExtension] matchCondition: ExtensionChainMatchCondition name: str @typing.type_check_only -class ExtensionChainExtension(typing_extensions.TypedDict, total=False): +class ExtensionChainExtension(typing.TypedDict, total=False): authority: str failOpen: bool forwardAttributes: _list[str] @@ -160,19 +245,19 @@ class ExtensionChainExtension(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str observabilityMode: bool - requestBodySendMode: typing_extensions.Literal[ + requestBodySendMode: typing.Literal[ "BODY_SEND_MODE_UNSPECIFIED", "BODY_SEND_MODE_STREAMED", "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", ] - responseBodySendMode: typing_extensions.Literal[ + responseBodySendMode: typing.Literal[ "BODY_SEND_MODE_UNSPECIFIED", "BODY_SEND_MODE_STREAMED", "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", ] service: str supportedEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "REQUEST_HEADERS", "REQUEST_BODY", @@ -185,40 +270,34 @@ class ExtensionChainExtension(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class ExtensionChainMatchCondition(typing_extensions.TypedDict, total=False): +class ExtensionChainMatchCondition(typing.TypedDict, total=False): celExpression: str @typing.type_check_only -class Gateway(typing_extensions.TypedDict, total=False): +class Gateway(typing.TypedDict, total=False): addresses: _list[str] allPorts: bool allowGlobalAccess: bool certificateUrls: _list[str] createTime: str description: str - envoyHeaders: typing_extensions.Literal[ - "ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS" - ] + envoyHeaders: typing.Literal["ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS"] gatewaySecurityPolicy: str - ipVersion: typing_extensions.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] + ipVersion: typing.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] labels: dict[str, typing.Any] name: str network: str ports: _list[int] - routingMode: typing_extensions.Literal[ - "EXPLICIT_ROUTING_MODE", "NEXT_HOP_ROUTING_MODE" - ] + routingMode: typing.Literal["EXPLICIT_ROUTING_MODE", "NEXT_HOP_ROUTING_MODE"] scope: str selfLink: str serverTlsPolicy: str subnetwork: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "OPEN_MESH", "SECURE_WEB_GATEWAY" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "OPEN_MESH", "SECURE_WEB_GATEWAY"] updateTime: str @typing.type_check_only -class GatewayRouteView(typing_extensions.TypedDict, total=False): +class GatewayRouteView(typing.TypedDict, total=False): name: str routeId: str routeLocation: str @@ -226,7 +305,7 @@ class GatewayRouteView(typing_extensions.TypedDict, total=False): routeType: str @typing.type_check_only -class GrpcRoute(typing_extensions.TypedDict, total=False): +class GrpcRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -239,45 +318,45 @@ class GrpcRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GrpcRouteDestination(typing_extensions.TypedDict, total=False): +class GrpcRouteDestination(typing.TypedDict, total=False): serviceName: str weight: int @typing.type_check_only -class GrpcRouteFaultInjectionPolicy(typing_extensions.TypedDict, total=False): +class GrpcRouteFaultInjectionPolicy(typing.TypedDict, total=False): abort: GrpcRouteFaultInjectionPolicyAbort delay: GrpcRouteFaultInjectionPolicyDelay @typing.type_check_only -class GrpcRouteFaultInjectionPolicyAbort(typing_extensions.TypedDict, total=False): +class GrpcRouteFaultInjectionPolicyAbort(typing.TypedDict, total=False): httpStatus: int percentage: int @typing.type_check_only -class GrpcRouteFaultInjectionPolicyDelay(typing_extensions.TypedDict, total=False): +class GrpcRouteFaultInjectionPolicyDelay(typing.TypedDict, total=False): fixedDelay: str percentage: int @typing.type_check_only -class GrpcRouteHeaderMatch(typing_extensions.TypedDict, total=False): +class GrpcRouteHeaderMatch(typing.TypedDict, total=False): key: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] value: str @typing.type_check_only -class GrpcRouteMethodMatch(typing_extensions.TypedDict, total=False): +class GrpcRouteMethodMatch(typing.TypedDict, total=False): caseSensitive: bool grpcMethod: str grpcService: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] @typing.type_check_only -class GrpcRouteRetryPolicy(typing_extensions.TypedDict, total=False): +class GrpcRouteRetryPolicy(typing.TypedDict, total=False): numRetries: int retryConditions: _list[str] @typing.type_check_only -class GrpcRouteRouteAction(typing_extensions.TypedDict, total=False): +class GrpcRouteRouteAction(typing.TypedDict, total=False): destinations: _list[GrpcRouteDestination] faultInjectionPolicy: GrpcRouteFaultInjectionPolicy idleTimeout: str @@ -286,21 +365,21 @@ class GrpcRouteRouteAction(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class GrpcRouteRouteMatch(typing_extensions.TypedDict, total=False): +class GrpcRouteRouteMatch(typing.TypedDict, total=False): headers: _list[GrpcRouteHeaderMatch] method: GrpcRouteMethodMatch @typing.type_check_only -class GrpcRouteRouteRule(typing_extensions.TypedDict, total=False): +class GrpcRouteRouteRule(typing.TypedDict, total=False): action: GrpcRouteRouteAction matches: _list[GrpcRouteRouteMatch] @typing.type_check_only -class GrpcRouteStatefulSessionAffinityPolicy(typing_extensions.TypedDict, total=False): +class GrpcRouteStatefulSessionAffinityPolicy(typing.TypedDict, total=False): cookieTtl: str @typing.type_check_only -class HttpRoute(typing_extensions.TypedDict, total=False): +class HttpRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -313,7 +392,7 @@ class HttpRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class HttpRouteCorsPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteCorsPolicy(typing.TypedDict, total=False): allowCredentials: bool allowHeaders: _list[str] allowMethods: _list[str] @@ -324,29 +403,29 @@ class HttpRouteCorsPolicy(typing_extensions.TypedDict, total=False): maxAge: str @typing.type_check_only -class HttpRouteDestination(typing_extensions.TypedDict, total=False): +class HttpRouteDestination(typing.TypedDict, total=False): requestHeaderModifier: HttpRouteHeaderModifier responseHeaderModifier: HttpRouteHeaderModifier serviceName: str weight: int @typing.type_check_only -class HttpRouteFaultInjectionPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteFaultInjectionPolicy(typing.TypedDict, total=False): abort: HttpRouteFaultInjectionPolicyAbort delay: HttpRouteFaultInjectionPolicyDelay @typing.type_check_only -class HttpRouteFaultInjectionPolicyAbort(typing_extensions.TypedDict, total=False): +class HttpRouteFaultInjectionPolicyAbort(typing.TypedDict, total=False): httpStatus: int percentage: int @typing.type_check_only -class HttpRouteFaultInjectionPolicyDelay(typing_extensions.TypedDict, total=False): +class HttpRouteFaultInjectionPolicyDelay(typing.TypedDict, total=False): fixedDelay: str percentage: int @typing.type_check_only -class HttpRouteHeaderMatch(typing_extensions.TypedDict, total=False): +class HttpRouteHeaderMatch(typing.TypedDict, total=False): exactMatch: str header: str invertMatch: bool @@ -357,37 +436,37 @@ class HttpRouteHeaderMatch(typing_extensions.TypedDict, total=False): suffixMatch: str @typing.type_check_only -class HttpRouteHeaderMatchIntegerRange(typing_extensions.TypedDict, total=False): +class HttpRouteHeaderMatchIntegerRange(typing.TypedDict, total=False): end: int start: int @typing.type_check_only -class HttpRouteHeaderModifier(typing_extensions.TypedDict, total=False): +class HttpRouteHeaderModifier(typing.TypedDict, total=False): add: dict[str, typing.Any] remove: _list[str] set: dict[str, typing.Any] @typing.type_check_only -class HttpRouteHttpDirectResponse(typing_extensions.TypedDict, total=False): +class HttpRouteHttpDirectResponse(typing.TypedDict, total=False): bytesBody: str status: int stringBody: str @typing.type_check_only -class HttpRouteQueryParameterMatch(typing_extensions.TypedDict, total=False): +class HttpRouteQueryParameterMatch(typing.TypedDict, total=False): exactMatch: str presentMatch: bool queryParameter: str regexMatch: str @typing.type_check_only -class HttpRouteRedirect(typing_extensions.TypedDict, total=False): +class HttpRouteRedirect(typing.TypedDict, total=False): hostRedirect: str httpsRedirect: bool pathRedirect: str portRedirect: int prefixRewrite: str - responseCode: typing_extensions.Literal[ + responseCode: typing.Literal[ "RESPONSE_CODE_UNSPECIFIED", "MOVED_PERMANENTLY_DEFAULT", "FOUND", @@ -398,18 +477,18 @@ class HttpRouteRedirect(typing_extensions.TypedDict, total=False): stripQuery: bool @typing.type_check_only -class HttpRouteRequestMirrorPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteRequestMirrorPolicy(typing.TypedDict, total=False): destination: HttpRouteDestination mirrorPercent: float @typing.type_check_only -class HttpRouteRetryPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteRetryPolicy(typing.TypedDict, total=False): numRetries: int perTryTimeout: str retryConditions: _list[str] @typing.type_check_only -class HttpRouteRouteAction(typing_extensions.TypedDict, total=False): +class HttpRouteRouteAction(typing.TypedDict, total=False): corsPolicy: HttpRouteCorsPolicy destinations: _list[HttpRouteDestination] directResponse: HttpRouteHttpDirectResponse @@ -425,7 +504,7 @@ class HttpRouteRouteAction(typing_extensions.TypedDict, total=False): urlRewrite: HttpRouteURLRewrite @typing.type_check_only -class HttpRouteRouteMatch(typing_extensions.TypedDict, total=False): +class HttpRouteRouteMatch(typing.TypedDict, total=False): fullPathMatch: str headers: _list[HttpRouteHeaderMatch] ignoreCase: bool @@ -434,40 +513,40 @@ class HttpRouteRouteMatch(typing_extensions.TypedDict, total=False): regexMatch: str @typing.type_check_only -class HttpRouteRouteRule(typing_extensions.TypedDict, total=False): +class HttpRouteRouteRule(typing.TypedDict, total=False): action: HttpRouteRouteAction matches: _list[HttpRouteRouteMatch] @typing.type_check_only -class HttpRouteStatefulSessionAffinityPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteStatefulSessionAffinityPolicy(typing.TypedDict, total=False): cookieTtl: str @typing.type_check_only -class HttpRouteURLRewrite(typing_extensions.TypedDict, total=False): +class HttpRouteURLRewrite(typing.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str @typing.type_check_only -class LbEdgeExtension(typing_extensions.TypedDict, total=False): +class LbEdgeExtension(typing.TypedDict, total=False): createTime: str description: str extensionChains: _list[ExtensionChain] forwardingRules: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] name: str updateTime: str @typing.type_check_only -class LbRouteExtension(typing_extensions.TypedDict, total=False): +class LbRouteExtension(typing.TypedDict, total=False): createTime: str description: str extensionChains: _list[ExtensionChain] forwardingRules: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] metadata: dict[str, typing.Any] @@ -475,13 +554,13 @@ class LbRouteExtension(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class LbTrafficExtension(typing_extensions.TypedDict, total=False): +class LbTrafficExtension(typing.TypedDict, total=False): createTime: str description: str extensionChains: _list[ExtensionChain] forwardingRules: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] metadata: dict[str, typing.Any] @@ -489,142 +568,156 @@ class LbTrafficExtension(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListAgentGatewaysResponse(typing_extensions.TypedDict, total=False): +class ListAgentConnectivityTemplatesResponse(typing.TypedDict, total=False): + agentConnectivityTemplates: _list[AgentConnectivityTemplate] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAgentGatewaysResponse(typing.TypedDict, total=False): agentGateways: _list[AgentGateway] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAuthzExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListAuthzExtensionsResponse(typing.TypedDict, total=False): authzExtensions: _list[AuthzExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEndpointPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListEndpointPoliciesResponse(typing.TypedDict, total=False): endpointPolicies: _list[EndpointPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewayRouteViewsResponse(typing_extensions.TypedDict, total=False): +class ListExtensionBindingsResponse(typing.TypedDict, total=False): + extensionBindings: _list[ExtensionBinding] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListGatewayRouteViewsResponse(typing.TypedDict, total=False): gatewayRouteViews: _list[GatewayRouteView] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewaysResponse(typing_extensions.TypedDict, total=False): +class ListGatewaysResponse(typing.TypedDict, total=False): gateways: _list[Gateway] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGrpcRoutesResponse(typing_extensions.TypedDict, total=False): +class ListGrpcRoutesResponse(typing.TypedDict, total=False): grpcRoutes: _list[GrpcRoute] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListHttpRoutesResponse(typing_extensions.TypedDict, total=False): +class ListHttpRoutesResponse(typing.TypedDict, total=False): httpRoutes: _list[HttpRoute] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLbEdgeExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListLbEdgeExtensionsResponse(typing.TypedDict, total=False): lbEdgeExtensions: _list[LbEdgeExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLbRouteExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListLbRouteExtensionsResponse(typing.TypedDict, total=False): lbRouteExtensions: _list[LbRouteExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLbTrafficExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListLbTrafficExtensionsResponse(typing.TypedDict, total=False): lbTrafficExtensions: _list[LbTrafficExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMeshRouteViewsResponse(typing_extensions.TypedDict, total=False): +class ListMeshRouteViewsResponse(typing.TypedDict, total=False): meshRouteViews: _list[MeshRouteView] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMeshesResponse(typing_extensions.TypedDict, total=False): +class ListMeshesResponse(typing.TypedDict, total=False): meshes: _list[Mesh] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMulticastConsumerAssociationsResponse( - typing_extensions.TypedDict, total=False -): +class ListMulticastConsumerAssociationsResponse(typing.TypedDict, total=False): multicastConsumerAssociations: _list[MulticastConsumerAssociation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMulticastGroupConsumerActivationsResponse( - typing_extensions.TypedDict, total=False -): +class ListMulticastGroupConsumerActivationsResponse(typing.TypedDict, total=False): multicastGroupConsumerActivations: _list[MulticastGroupConsumerActivation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServiceBindingsResponse(typing_extensions.TypedDict, total=False): +class ListProducerExtensionsResponse(typing.TypedDict, total=False): + nextPageToken: str + producerExtensions: _list[ProducerExtension] + unreachable: _list[str] + +@typing.type_check_only +class ListServiceBindingsResponse(typing.TypedDict, total=False): nextPageToken: str serviceBindings: _list[ServiceBinding] unreachable: _list[str] @typing.type_check_only -class ListServiceLbPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListServiceLbPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str serviceLbPolicies: _list[ServiceLbPolicy] unreachable: _list[str] @typing.type_check_only -class ListTcpRoutesResponse(typing_extensions.TypedDict, total=False): +class ListTcpRoutesResponse(typing.TypedDict, total=False): nextPageToken: str tcpRoutes: _list[TcpRoute] unreachable: _list[str] @typing.type_check_only -class ListTlsRoutesResponse(typing_extensions.TypedDict, total=False): +class ListTlsRoutesResponse(typing.TypedDict, total=False): nextPageToken: str tlsRoutes: _list[TlsRoute] unreachable: _list[str] @typing.type_check_only -class ListWasmPluginVersionsResponse(typing_extensions.TypedDict, total=False): +class ListWasmPluginVersionsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] wasmPluginVersions: _list[WasmPluginVersion] @typing.type_check_only -class ListWasmPluginsResponse(typing_extensions.TypedDict, total=False): +class ListWasmPluginsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] wasmPlugins: _list[WasmPlugin] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -632,8 +725,8 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): - logSeverity: typing_extensions.Literal[ +class LoggingConfig(typing.TypedDict, total=False): + logSeverity: typing.Literal[ "LOG_SEVERITY_UNSPECIFIED", "NONE", "DEBUG", @@ -647,12 +740,10 @@ class LoggingConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Mesh(typing_extensions.TypedDict, total=False): +class Mesh(typing.TypedDict, total=False): createTime: str description: str - envoyHeaders: typing_extensions.Literal[ - "ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS" - ] + envoyHeaders: typing.Literal["ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS"] interceptionPort: int labels: dict[str, typing.Any] name: str @@ -660,7 +751,7 @@ class Mesh(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MeshRouteView(typing_extensions.TypedDict, total=False): +class MeshRouteView(typing.TypedDict, total=False): name: str routeId: str routeLocation: str @@ -668,7 +759,7 @@ class MeshRouteView(typing_extensions.TypedDict, total=False): routeType: str @typing.type_check_only -class MulticastConsumerAssociation(typing_extensions.TypedDict, total=False): +class MulticastConsumerAssociation(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] @@ -676,7 +767,7 @@ class MulticastConsumerAssociation(typing_extensions.TypedDict, total=False): name: str network: str placementPolicy: str - resourceState: typing_extensions.Literal[ + resourceState: typing.Literal[ "CONSUMER_RESOURCE_STATE_UNSPECIFIED", "ACTIVE", "OBSOLETE" ] state: MulticastResourceState @@ -684,7 +775,7 @@ class MulticastConsumerAssociation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MulticastGroupConsumerActivation(typing_extensions.TypedDict, total=False): +class MulticastGroupConsumerActivation(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] @@ -693,7 +784,7 @@ class MulticastGroupConsumerActivation(typing_extensions.TypedDict, total=False) multicastGroup: str multicastGroupRangeActivation: str name: str - resourceState: typing_extensions.Literal[ + resourceState: typing.Literal[ "CONSUMER_RESOURCE_STATE_UNSPECIFIED", "ACTIVE", "OBSOLETE" ] state: MulticastResourceState @@ -701,12 +792,12 @@ class MulticastGroupConsumerActivation(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class MulticastLogConfig(typing_extensions.TypedDict, total=False): +class MulticastLogConfig(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class MulticastResourceState(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class MulticastResourceState(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_ENUM_UNSPECIFIED", "CREATING", "ACTIVE", @@ -719,7 +810,7 @@ class MulticastResourceState(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -727,7 +818,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -737,18 +828,46 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RetryFilterPerRouteConfig(typing_extensions.TypedDict, total=False): +class ProducerExtension(typing.TypedDict, total=False): + createTime: str + description: str + etag: str + extensionSettings: ProducerExtensionExtensionSettings + labels: dict[str, typing.Any] + name: str + phase: typing.Literal["PHASE_UNSPECIFIED", "TRAFFIC", "AUTHZ"] + updateTime: str + +@typing.type_check_only +class ProducerExtensionExtensionSettings(typing.TypedDict, total=False): + authority: str + observabilityMode: bool + service: str + supportedEvents: _list[ + typing.Literal[ + "EVENT_TYPE_UNSPECIFIED", + "REQUEST_HEADERS", + "REQUEST_BODY", + "RESPONSE_HEADERS", + "RESPONSE_BODY", + "REQUEST_TRAILERS", + "RESPONSE_TRAILERS", + ] + ] + +@typing.type_check_only +class RetryFilterPerRouteConfig(typing.TypedDict, total=False): cryptoKeyName: str @typing.type_check_only -class ServiceBinding(typing_extensions.TypedDict, total=False): +class ServiceBinding(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] @@ -758,14 +877,14 @@ class ServiceBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceLbPolicy(typing_extensions.TypedDict, total=False): +class ServiceLbPolicy(typing.TypedDict, total=False): autoCapacityDrain: ServiceLbPolicyAutoCapacityDrain createTime: str description: str failoverConfig: ServiceLbPolicyFailoverConfig isolationConfig: ServiceLbPolicyIsolationConfig labels: dict[str, typing.Any] - loadBalancingAlgorithm: typing_extensions.Literal[ + loadBalancingAlgorithm: typing.Literal[ "LOAD_BALANCING_ALGORITHM_UNSPECIFIED", "SPRAY_TO_WORLD", "SPRAY_TO_REGION", @@ -776,35 +895,31 @@ class ServiceLbPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceLbPolicyAutoCapacityDrain(typing_extensions.TypedDict, total=False): +class ServiceLbPolicyAutoCapacityDrain(typing.TypedDict, total=False): enable: bool @typing.type_check_only -class ServiceLbPolicyFailoverConfig(typing_extensions.TypedDict, total=False): +class ServiceLbPolicyFailoverConfig(typing.TypedDict, total=False): failoverHealthThreshold: int @typing.type_check_only -class ServiceLbPolicyIsolationConfig(typing_extensions.TypedDict, total=False): - isolationGranularity: typing_extensions.Literal[ - "ISOLATION_GRANULARITY_UNSPECIFIED", "REGION" - ] - isolationMode: typing_extensions.Literal[ - "ISOLATION_MODE_UNSPECIFIED", "NEAREST", "STRICT" - ] +class ServiceLbPolicyIsolationConfig(typing.TypedDict, total=False): + isolationGranularity: typing.Literal["ISOLATION_GRANULARITY_UNSPECIFIED", "REGION"] + isolationMode: typing.Literal["ISOLATION_MODE_UNSPECIFIED", "NEAREST", "STRICT"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TcpRoute(typing_extensions.TypedDict, total=False): +class TcpRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -816,36 +931,36 @@ class TcpRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TcpRouteRouteAction(typing_extensions.TypedDict, total=False): +class TcpRouteRouteAction(typing.TypedDict, total=False): destinations: _list[TcpRouteRouteDestination] idleTimeout: str originalDestination: bool @typing.type_check_only -class TcpRouteRouteDestination(typing_extensions.TypedDict, total=False): +class TcpRouteRouteDestination(typing.TypedDict, total=False): serviceName: str weight: int @typing.type_check_only -class TcpRouteRouteMatch(typing_extensions.TypedDict, total=False): +class TcpRouteRouteMatch(typing.TypedDict, total=False): address: str port: str @typing.type_check_only -class TcpRouteRouteRule(typing_extensions.TypedDict, total=False): +class TcpRouteRouteRule(typing.TypedDict, total=False): action: TcpRouteRouteAction matches: _list[TcpRouteRouteMatch] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TlsRoute(typing_extensions.TypedDict, total=False): +class TlsRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -858,31 +973,31 @@ class TlsRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TlsRouteRouteAction(typing_extensions.TypedDict, total=False): +class TlsRouteRouteAction(typing.TypedDict, total=False): destinations: _list[TlsRouteRouteDestination] idleTimeout: str @typing.type_check_only -class TlsRouteRouteDestination(typing_extensions.TypedDict, total=False): +class TlsRouteRouteDestination(typing.TypedDict, total=False): serviceName: str weight: int @typing.type_check_only -class TlsRouteRouteMatch(typing_extensions.TypedDict, total=False): +class TlsRouteRouteMatch(typing.TypedDict, total=False): alpn: _list[str] sniHost: _list[str] @typing.type_check_only -class TlsRouteRouteRule(typing_extensions.TypedDict, total=False): +class TlsRouteRouteRule(typing.TypedDict, total=False): action: TlsRouteRouteAction matches: _list[TlsRouteRouteMatch] @typing.type_check_only -class TrafficPortSelector(typing_extensions.TypedDict, total=False): +class TrafficPortSelector(typing.TypedDict, total=False): ports: _list[str] @typing.type_check_only -class WasmPlugin(typing_extensions.TypedDict, total=False): +class WasmPlugin(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] @@ -894,19 +1009,19 @@ class WasmPlugin(typing_extensions.TypedDict, total=False): versions: dict[str, typing.Any] @typing.type_check_only -class WasmPluginLogConfig(typing_extensions.TypedDict, total=False): +class WasmPluginLogConfig(typing.TypedDict, total=False): enable: bool - minLogLevel: typing_extensions.Literal[ + minLogLevel: typing.Literal[ "LOG_LEVEL_UNSPECIFIED", "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "CRITICAL" ] sampleRate: float @typing.type_check_only -class WasmPluginUsedBy(typing_extensions.TypedDict, total=False): +class WasmPluginUsedBy(typing.TypedDict, total=False): name: str @typing.type_check_only -class WasmPluginVersion(typing_extensions.TypedDict, total=False): +class WasmPluginVersion(typing.TypedDict, total=False): createTime: str description: str imageDigest: str @@ -919,7 +1034,7 @@ class WasmPluginVersion(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class WasmPluginVersionDetails(typing_extensions.TypedDict, total=False): +class WasmPluginVersionDetails(typing.TypedDict, total=False): createTime: str description: str imageDigest: str diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi index 509fd4238..269596ba2 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -17,6 +16,47 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentConnectivityTemplatesResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: AgentConnectivityTemplate, + agentConnectivityTemplateId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str | None = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AgentConnectivityTemplateHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + returnPartialSuccess: bool | None = ..., + **kwargs: typing.Any, + ) -> ListAgentConnectivityTemplatesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAgentConnectivityTemplatesResponseHttpRequest, + previous_response: ListAgentConnectivityTemplatesResponse, + ) -> ListAgentConnectivityTemplatesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: AgentConnectivityTemplate, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class AgentGatewaysResource(googleapiclient.discovery.Resource): def create( @@ -141,6 +181,44 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class ExtensionBindingsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ExtensionBinding, + extensionBindingId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str | None = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ExtensionBindingHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListExtensionBindingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExtensionBindingsResponseHttpRequest, + previous_response: ListExtensionBindingsResponse, + ) -> ListExtensionBindingsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ExtensionBinding, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class GatewaysResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -553,6 +631,36 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class ProducerExtensionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ProducerExtension, + producerExtensionId: str | None = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str | None = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ProducerExtensionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListProducerExtensionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListProducerExtensionsResponseHttpRequest, + previous_response: ListProducerExtensionsResponse, + ) -> ListProducerExtensionsResponseHttpRequest | None: ... + @typing.type_check_only class ServiceBindingsResource(googleapiclient.discovery.Resource): def create( @@ -754,7 +862,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "WASM_PLUGIN_VIEW_UNSPECIFIED", "WASM_PLUGIN_VIEW_BASIC", "WASM_PLUGIN_VIEW_FULL", @@ -803,9 +911,13 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def agentConnectivityTemplates( + self, + ) -> AgentConnectivityTemplatesResource: ... def agentGateways(self) -> AgentGatewaysResource: ... def authzExtensions(self) -> AuthzExtensionsResource: ... def endpointPolicies(self) -> EndpointPoliciesResource: ... + def extensionBindings(self) -> ExtensionBindingsResource: ... def gateways(self) -> GatewaysResource: ... def grpcRoutes(self) -> GrpcRoutesResource: ... def httpRoutes(self) -> HttpRoutesResource: ... @@ -815,6 +927,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): def lbTrafficExtensions(self) -> LbTrafficExtensionsResource: ... def meshes(self) -> MeshesResource: ... def operations(self) -> OperationsResource: ... + def producerExtensions(self) -> ProducerExtensionsResource: ... def serviceBindings(self) -> ServiceBindingsResource: ... def serviceLbPolicies(self) -> ServiceLbPoliciesResource: ... def tcpRoutes(self) -> TcpRoutesResource: ... @@ -837,6 +950,14 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class AgentConnectivityTemplateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AgentConnectivityTemplate: ... + @typing.type_check_only class AgentGatewayHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -869,6 +990,14 @@ class EndpointPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> EndpointPolicy: ... +@typing.type_check_only +class ExtensionBindingHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExtensionBinding: ... + @typing.type_check_only class GatewayHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -933,6 +1062,16 @@ class LbTrafficExtensionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LbTrafficExtension: ... +@typing.type_check_only +class ListAgentConnectivityTemplatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAgentConnectivityTemplatesResponse: ... + @typing.type_check_only class ListAgentGatewaysResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -957,6 +1096,14 @@ class ListEndpointPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListEndpointPoliciesResponse: ... +@typing.type_check_only +class ListExtensionBindingsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExtensionBindingsResponse: ... + @typing.type_check_only class ListGatewayRouteViewsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1053,6 +1200,14 @@ class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListOperationsResponse: ... +@typing.type_check_only +class ListProducerExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListProducerExtensionsResponse: ... + @typing.type_check_only class ListServiceBindingsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1133,6 +1288,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class ProducerExtensionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ProducerExtension: ... + @typing.type_check_only class ServiceBindingHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index bf19e7f4e..6ce231d61 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -1,11 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AgentGateway(typing_extensions.TypedDict, total=False): +class AgentConnectivityTemplate(typing.TypedDict, total=False): + accessPath: typing.Literal[ + "ACCESS_PATH_UNSPECIFIED", "CLIENT_TO_AGENT", "AGENT_TO_ANYWHERE" + ] + accessTypes: _list[typing.Literal["ACCESS_TYPE_UNSPECIFIED", "PUBLIC", "PRIVATE"]] + agentCompute: typing.Literal[ + "AGENT_COMPUTE_UNSPECIFIED", "GKE", "CLOUD_RUN", "BORG" + ] + createTime: str + deploymentModel: typing.Literal[ + "DEPLOYMENT_MODEL_UNSPECIFIED", "CENTRALIZED", "AMBIENT" + ] + description: str + egressNetworkConfig: EgressNetworkConfig + etag: str + labels: dict[str, typing.Any] + name: str + updateTime: str + +@typing.type_check_only +class AgentGateway(typing.TypedDict, total=False): + agentConnectivityTemplate: str agentGatewayCard: AgentGatewayAgentGatewayOutputCard createTime: str description: str @@ -14,53 +33,45 @@ class AgentGateway(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str networkConfig: AgentGatewayNetworkConfig - protocols: _list[typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "MCP"]] + protocols: _list[typing.Literal["PROTOCOL_UNSPECIFIED", "MCP"]] registries: _list[str] selfManaged: AgentGatewaySelfManaged updateTime: str @typing.type_check_only -class AgentGatewayAgentGatewayOutputCard(typing_extensions.TypedDict, total=False): +class AgentGatewayAgentGatewayOutputCard(typing.TypedDict, total=False): mtlsEndpoint: str rootCertificates: _list[str] serviceExtensionsServiceAccount: str @typing.type_check_only -class AgentGatewayGoogleManaged(typing_extensions.TypedDict, total=False): - governedAccessPath: typing_extensions.Literal[ +class AgentGatewayGoogleManaged(typing.TypedDict, total=False): + governedAccessPath: typing.Literal[ "GOVERNED_ACCESS_PATH_UNSPECIFIED", "AGENT_TO_ANYWHERE", "CLIENT_TO_AGENT" ] @typing.type_check_only -class AgentGatewayNetworkConfig(typing_extensions.TypedDict, total=False): +class AgentGatewayNetworkConfig(typing.TypedDict, total=False): dnsPeeringConfig: AgentGatewayNetworkConfigDnsPeeringConfig egress: AgentGatewayNetworkConfigEgress @typing.type_check_only -class AgentGatewayNetworkConfigDnsPeeringConfig( - typing_extensions.TypedDict, total=False -): +class AgentGatewayNetworkConfigDnsPeeringConfig(typing.TypedDict, total=False): domains: _list[str] targetNetwork: str targetProject: str @typing.type_check_only -class AgentGatewayNetworkConfigEgress(typing_extensions.TypedDict, total=False): +class AgentGatewayNetworkConfigEgress(typing.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): +class AgentGatewaySelfManaged(typing.TypedDict, total=False): resourceUri: str + resourceUris: _list[str] @typing.type_check_only -class AuthzExtension(typing_extensions.TypedDict, total=False): +class AuthzExtension(typing.TypedDict, total=False): authority: str createTime: str description: str @@ -68,7 +79,7 @@ class AuthzExtension(typing_extensions.TypedDict, total=False): forwardAttributes: _list[str] forwardHeaders: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] metadata: dict[str, typing.Any] @@ -76,22 +87,36 @@ class AuthzExtension(typing_extensions.TypedDict, total=False): service: str timeout: str updateTime: str - wireFormat: typing_extensions.Literal[ + wireFormat: typing.Literal[ "WIRE_FORMAT_UNSPECIFIED", "EXT_PROC_GRPC", "EXT_AUTHZ_GRPC" ] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class DnsPeeringConfig(typing.TypedDict, total=False): + domain: str + targetNetwork: str + +@typing.type_check_only +class EgressNetworkConfig(typing.TypedDict, total=False): + dnsPeeringConfig: DnsPeeringConfig + networkAttachment: str + trustConfig: str + vpcEgress: typing.Literal[ + "VPC_EGRESS_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_RANGES_ONLY" + ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndpointMatcher(typing_extensions.TypedDict, total=False): +class EndpointMatcher(typing.TypedDict, total=False): metadataLabelMatcher: MetadataLabelMatcher @typing.type_check_only -class EndpointPolicy(typing_extensions.TypedDict, total=False): +class EndpointPolicy(typing.TypedDict, total=False): authorizationPolicy: str clientTlsPolicy: str createTime: str @@ -102,19 +127,81 @@ class EndpointPolicy(typing_extensions.TypedDict, total=False): securityPolicy: str serverTlsPolicy: str trafficPortSelector: TrafficPortSelector - type: typing_extensions.Literal[ + type: typing.Literal[ "ENDPOINT_POLICY_TYPE_UNSPECIFIED", "SIDECAR_PROXY", "GRPC_SERVER" ] updateTime: str @typing.type_check_only -class ExtensionChain(typing_extensions.TypedDict, total=False): +class ExtensionBinding(typing.TypedDict, total=False): + createTime: str + description: str + etag: str + failOpen: bool + labels: dict[str, typing.Any] + matchConditions: _list[ExtensionBindingMatchCondition] + name: str + priority: int + producerExtension: str + producerMetadata: dict[str, typing.Any] + target: ExtensionBindingTarget + updateTime: str + +@typing.type_check_only +class ExtensionBindingMatchCondition(typing.TypedDict, total=False): + to: ExtensionBindingMatchConditionTo + +@typing.type_check_only +class ExtensionBindingMatchConditionHeaderMatch(typing.TypedDict, total=False): + name: str + value: ExtensionBindingMatchConditionStringMatch + +@typing.type_check_only +class ExtensionBindingMatchConditionStringMatch(typing.TypedDict, total=False): + contains: str + exact: str + ignoreCase: bool + prefix: str + suffix: str + +@typing.type_check_only +class ExtensionBindingMatchConditionTo(typing.TypedDict, total=False): + destination: ExtensionBindingMatchConditionToDestination + notDestination: ExtensionBindingMatchConditionToDestination + +@typing.type_check_only +class ExtensionBindingMatchConditionToDestination(typing.TypedDict, total=False): + headerSet: ExtensionBindingMatchConditionToDestinationHeaderSet + hosts: _list[ExtensionBindingMatchConditionStringMatch] + paths: _list[ExtensionBindingMatchConditionStringMatch] + resources: _list[ExtensionBindingMatchConditionStringMatch] + +@typing.type_check_only +class ExtensionBindingMatchConditionToDestinationHeaderSet( + typing.TypedDict, total=False +): + headers: _list[ExtensionBindingMatchConditionHeaderMatch] + +@typing.type_check_only +class ExtensionBindingTarget(typing.TypedDict, total=False): + resources: _list[str] + scope: ExtensionBindingTargetScope + +@typing.type_check_only +class ExtensionBindingTargetScope(typing.TypedDict, total=False): + parent: str + resourceTypes: _list[ + typing.Literal["RESOURCE_TYPE_UNSPECIFIED", "AI_APPLICATION", "AGENT_GATEWAY"] + ] + +@typing.type_check_only +class ExtensionChain(typing.TypedDict, total=False): extensions: _list[ExtensionChainExtension] matchCondition: ExtensionChainMatchCondition name: str @typing.type_check_only -class ExtensionChainExtension(typing_extensions.TypedDict, total=False): +class ExtensionChainExtension(typing.TypedDict, total=False): allowDynamicForwarding: bool authority: str failOpen: bool @@ -123,19 +210,19 @@ class ExtensionChainExtension(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str observabilityMode: bool - requestBodySendMode: typing_extensions.Literal[ + requestBodySendMode: typing.Literal[ "BODY_SEND_MODE_UNSPECIFIED", "BODY_SEND_MODE_STREAMED", "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", ] - responseBodySendMode: typing_extensions.Literal[ + responseBodySendMode: typing.Literal[ "BODY_SEND_MODE_UNSPECIFIED", "BODY_SEND_MODE_STREAMED", "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", ] service: str supportedEvents: _list[ - typing_extensions.Literal[ + typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "REQUEST_HEADERS", "REQUEST_BODY", @@ -148,40 +235,34 @@ class ExtensionChainExtension(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class ExtensionChainMatchCondition(typing_extensions.TypedDict, total=False): +class ExtensionChainMatchCondition(typing.TypedDict, total=False): celExpression: str @typing.type_check_only -class Gateway(typing_extensions.TypedDict, total=False): +class Gateway(typing.TypedDict, total=False): addresses: _list[str] allPorts: bool allowGlobalAccess: bool certificateUrls: _list[str] createTime: str description: str - envoyHeaders: typing_extensions.Literal[ - "ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS" - ] + envoyHeaders: typing.Literal["ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS"] gatewaySecurityPolicy: str - ipVersion: typing_extensions.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] + ipVersion: typing.Literal["IP_VERSION_UNSPECIFIED", "IPV4", "IPV6"] labels: dict[str, typing.Any] name: str network: str ports: _list[int] - routingMode: typing_extensions.Literal[ - "EXPLICIT_ROUTING_MODE", "NEXT_HOP_ROUTING_MODE" - ] + routingMode: typing.Literal["EXPLICIT_ROUTING_MODE", "NEXT_HOP_ROUTING_MODE"] scope: str selfLink: str serverTlsPolicy: str subnetwork: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "OPEN_MESH", "SECURE_WEB_GATEWAY" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "OPEN_MESH", "SECURE_WEB_GATEWAY"] updateTime: str @typing.type_check_only -class GatewayRouteView(typing_extensions.TypedDict, total=False): +class GatewayRouteView(typing.TypedDict, total=False): name: str routeId: str routeLocation: str @@ -189,7 +270,7 @@ class GatewayRouteView(typing_extensions.TypedDict, total=False): routeType: str @typing.type_check_only -class GrpcRoute(typing_extensions.TypedDict, total=False): +class GrpcRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -202,45 +283,45 @@ class GrpcRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GrpcRouteDestination(typing_extensions.TypedDict, total=False): +class GrpcRouteDestination(typing.TypedDict, total=False): serviceName: str weight: int @typing.type_check_only -class GrpcRouteFaultInjectionPolicy(typing_extensions.TypedDict, total=False): +class GrpcRouteFaultInjectionPolicy(typing.TypedDict, total=False): abort: GrpcRouteFaultInjectionPolicyAbort delay: GrpcRouteFaultInjectionPolicyDelay @typing.type_check_only -class GrpcRouteFaultInjectionPolicyAbort(typing_extensions.TypedDict, total=False): +class GrpcRouteFaultInjectionPolicyAbort(typing.TypedDict, total=False): httpStatus: int percentage: int @typing.type_check_only -class GrpcRouteFaultInjectionPolicyDelay(typing_extensions.TypedDict, total=False): +class GrpcRouteFaultInjectionPolicyDelay(typing.TypedDict, total=False): fixedDelay: str percentage: int @typing.type_check_only -class GrpcRouteHeaderMatch(typing_extensions.TypedDict, total=False): +class GrpcRouteHeaderMatch(typing.TypedDict, total=False): key: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] value: str @typing.type_check_only -class GrpcRouteMethodMatch(typing_extensions.TypedDict, total=False): +class GrpcRouteMethodMatch(typing.TypedDict, total=False): caseSensitive: bool grpcMethod: str grpcService: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] + type: typing.Literal["TYPE_UNSPECIFIED", "EXACT", "REGULAR_EXPRESSION"] @typing.type_check_only -class GrpcRouteRetryPolicy(typing_extensions.TypedDict, total=False): +class GrpcRouteRetryPolicy(typing.TypedDict, total=False): numRetries: int retryConditions: _list[str] @typing.type_check_only -class GrpcRouteRouteAction(typing_extensions.TypedDict, total=False): +class GrpcRouteRouteAction(typing.TypedDict, total=False): destinations: _list[GrpcRouteDestination] faultInjectionPolicy: GrpcRouteFaultInjectionPolicy idleTimeout: str @@ -249,21 +330,21 @@ class GrpcRouteRouteAction(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class GrpcRouteRouteMatch(typing_extensions.TypedDict, total=False): +class GrpcRouteRouteMatch(typing.TypedDict, total=False): headers: _list[GrpcRouteHeaderMatch] method: GrpcRouteMethodMatch @typing.type_check_only -class GrpcRouteRouteRule(typing_extensions.TypedDict, total=False): +class GrpcRouteRouteRule(typing.TypedDict, total=False): action: GrpcRouteRouteAction matches: _list[GrpcRouteRouteMatch] @typing.type_check_only -class GrpcRouteStatefulSessionAffinityPolicy(typing_extensions.TypedDict, total=False): +class GrpcRouteStatefulSessionAffinityPolicy(typing.TypedDict, total=False): cookieTtl: str @typing.type_check_only -class HttpRoute(typing_extensions.TypedDict, total=False): +class HttpRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -276,7 +357,7 @@ class HttpRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class HttpRouteCorsPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteCorsPolicy(typing.TypedDict, total=False): allowCredentials: bool allowHeaders: _list[str] allowMethods: _list[str] @@ -287,29 +368,29 @@ class HttpRouteCorsPolicy(typing_extensions.TypedDict, total=False): maxAge: str @typing.type_check_only -class HttpRouteDestination(typing_extensions.TypedDict, total=False): +class HttpRouteDestination(typing.TypedDict, total=False): requestHeaderModifier: HttpRouteHeaderModifier responseHeaderModifier: HttpRouteHeaderModifier serviceName: str weight: int @typing.type_check_only -class HttpRouteFaultInjectionPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteFaultInjectionPolicy(typing.TypedDict, total=False): abort: HttpRouteFaultInjectionPolicyAbort delay: HttpRouteFaultInjectionPolicyDelay @typing.type_check_only -class HttpRouteFaultInjectionPolicyAbort(typing_extensions.TypedDict, total=False): +class HttpRouteFaultInjectionPolicyAbort(typing.TypedDict, total=False): httpStatus: int percentage: int @typing.type_check_only -class HttpRouteFaultInjectionPolicyDelay(typing_extensions.TypedDict, total=False): +class HttpRouteFaultInjectionPolicyDelay(typing.TypedDict, total=False): fixedDelay: str percentage: int @typing.type_check_only -class HttpRouteHeaderMatch(typing_extensions.TypedDict, total=False): +class HttpRouteHeaderMatch(typing.TypedDict, total=False): exactMatch: str header: str invertMatch: bool @@ -320,37 +401,37 @@ class HttpRouteHeaderMatch(typing_extensions.TypedDict, total=False): suffixMatch: str @typing.type_check_only -class HttpRouteHeaderMatchIntegerRange(typing_extensions.TypedDict, total=False): +class HttpRouteHeaderMatchIntegerRange(typing.TypedDict, total=False): end: int start: int @typing.type_check_only -class HttpRouteHeaderModifier(typing_extensions.TypedDict, total=False): +class HttpRouteHeaderModifier(typing.TypedDict, total=False): add: dict[str, typing.Any] remove: _list[str] set: dict[str, typing.Any] @typing.type_check_only -class HttpRouteHttpDirectResponse(typing_extensions.TypedDict, total=False): +class HttpRouteHttpDirectResponse(typing.TypedDict, total=False): bytesBody: str status: int stringBody: str @typing.type_check_only -class HttpRouteQueryParameterMatch(typing_extensions.TypedDict, total=False): +class HttpRouteQueryParameterMatch(typing.TypedDict, total=False): exactMatch: str presentMatch: bool queryParameter: str regexMatch: str @typing.type_check_only -class HttpRouteRedirect(typing_extensions.TypedDict, total=False): +class HttpRouteRedirect(typing.TypedDict, total=False): hostRedirect: str httpsRedirect: bool pathRedirect: str portRedirect: int prefixRewrite: str - responseCode: typing_extensions.Literal[ + responseCode: typing.Literal[ "RESPONSE_CODE_UNSPECIFIED", "MOVED_PERMANENTLY_DEFAULT", "FOUND", @@ -361,18 +442,18 @@ class HttpRouteRedirect(typing_extensions.TypedDict, total=False): stripQuery: bool @typing.type_check_only -class HttpRouteRequestMirrorPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteRequestMirrorPolicy(typing.TypedDict, total=False): destination: HttpRouteDestination mirrorPercent: float @typing.type_check_only -class HttpRouteRetryPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteRetryPolicy(typing.TypedDict, total=False): numRetries: int perTryTimeout: str retryConditions: _list[str] @typing.type_check_only -class HttpRouteRouteAction(typing_extensions.TypedDict, total=False): +class HttpRouteRouteAction(typing.TypedDict, total=False): corsPolicy: HttpRouteCorsPolicy destinations: _list[HttpRouteDestination] directResponse: HttpRouteHttpDirectResponse @@ -388,7 +469,7 @@ class HttpRouteRouteAction(typing_extensions.TypedDict, total=False): urlRewrite: HttpRouteURLRewrite @typing.type_check_only -class HttpRouteRouteMatch(typing_extensions.TypedDict, total=False): +class HttpRouteRouteMatch(typing.TypedDict, total=False): fullPathMatch: str headers: _list[HttpRouteHeaderMatch] ignoreCase: bool @@ -397,40 +478,40 @@ class HttpRouteRouteMatch(typing_extensions.TypedDict, total=False): regexMatch: str @typing.type_check_only -class HttpRouteRouteRule(typing_extensions.TypedDict, total=False): +class HttpRouteRouteRule(typing.TypedDict, total=False): action: HttpRouteRouteAction matches: _list[HttpRouteRouteMatch] @typing.type_check_only -class HttpRouteStatefulSessionAffinityPolicy(typing_extensions.TypedDict, total=False): +class HttpRouteStatefulSessionAffinityPolicy(typing.TypedDict, total=False): cookieTtl: str @typing.type_check_only -class HttpRouteURLRewrite(typing_extensions.TypedDict, total=False): +class HttpRouteURLRewrite(typing.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str @typing.type_check_only -class LbEdgeExtension(typing_extensions.TypedDict, total=False): +class LbEdgeExtension(typing.TypedDict, total=False): createTime: str description: str extensionChains: _list[ExtensionChain] forwardingRules: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] name: str updateTime: str @typing.type_check_only -class LbRouteExtension(typing_extensions.TypedDict, total=False): +class LbRouteExtension(typing.TypedDict, total=False): createTime: str description: str extensionChains: _list[ExtensionChain] forwardingRules: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] metadata: dict[str, typing.Any] @@ -438,12 +519,12 @@ class LbRouteExtension(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class LbTcpExtension(typing_extensions.TypedDict, total=False): +class LbTcpExtension(typing.TypedDict, total=False): createTime: str description: str extensionChains: _list[ExtensionChain] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] name: str @@ -451,13 +532,13 @@ class LbTcpExtension(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class LbTrafficExtension(typing_extensions.TypedDict, total=False): +class LbTrafficExtension(typing.TypedDict, total=False): createTime: str description: str extensionChains: _list[ExtensionChain] forwardingRules: _list[str] labels: dict[str, typing.Any] - loadBalancingScheme: typing_extensions.Literal[ + loadBalancingScheme: typing.Literal[ "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" ] metadata: dict[str, typing.Any] @@ -465,132 +546,150 @@ class LbTrafficExtension(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListAgentGatewaysResponse(typing_extensions.TypedDict, total=False): +class ListAgentConnectivityTemplatesResponse(typing.TypedDict, total=False): + agentConnectivityTemplates: _list[AgentConnectivityTemplate] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAgentGatewaysResponse(typing.TypedDict, total=False): agentGateways: _list[AgentGateway] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAuthzExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListAuthzExtensionsResponse(typing.TypedDict, total=False): authzExtensions: _list[AuthzExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListEndpointPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListEndpointPoliciesResponse(typing.TypedDict, total=False): endpointPolicies: _list[EndpointPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewayRouteViewsResponse(typing_extensions.TypedDict, total=False): +class ListExtensionBindingsResponse(typing.TypedDict, total=False): + extensionBindings: _list[ExtensionBinding] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListGatewayRouteViewsResponse(typing.TypedDict, total=False): gatewayRouteViews: _list[GatewayRouteView] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGatewaysResponse(typing_extensions.TypedDict, total=False): +class ListGatewaysResponse(typing.TypedDict, total=False): gateways: _list[Gateway] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGrpcRoutesResponse(typing_extensions.TypedDict, total=False): +class ListGrpcRoutesResponse(typing.TypedDict, total=False): grpcRoutes: _list[GrpcRoute] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListHttpRoutesResponse(typing_extensions.TypedDict, total=False): +class ListHttpRoutesResponse(typing.TypedDict, total=False): httpRoutes: _list[HttpRoute] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLbEdgeExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListLbEdgeExtensionsResponse(typing.TypedDict, total=False): lbEdgeExtensions: _list[LbEdgeExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLbRouteExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListLbRouteExtensionsResponse(typing.TypedDict, total=False): lbRouteExtensions: _list[LbRouteExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLbTcpExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListLbTcpExtensionsResponse(typing.TypedDict, total=False): lbTcpExtensions: _list[LbTcpExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLbTrafficExtensionsResponse(typing_extensions.TypedDict, total=False): +class ListLbTrafficExtensionsResponse(typing.TypedDict, total=False): lbTrafficExtensions: _list[LbTrafficExtension] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMeshRouteViewsResponse(typing_extensions.TypedDict, total=False): +class ListMeshRouteViewsResponse(typing.TypedDict, total=False): meshRouteViews: _list[MeshRouteView] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListMeshesResponse(typing_extensions.TypedDict, total=False): +class ListMeshesResponse(typing.TypedDict, total=False): meshes: _list[Mesh] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServiceBindingsResponse(typing_extensions.TypedDict, total=False): +class ListProducerExtensionsResponse(typing.TypedDict, total=False): + nextPageToken: str + producerExtensions: _list[ProducerExtension] + unreachable: _list[str] + +@typing.type_check_only +class ListServiceBindingsResponse(typing.TypedDict, total=False): nextPageToken: str serviceBindings: _list[ServiceBinding] unreachable: _list[str] @typing.type_check_only -class ListServiceLbPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListServiceLbPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str serviceLbPolicies: _list[ServiceLbPolicy] unreachable: _list[str] @typing.type_check_only -class ListTcpRoutesResponse(typing_extensions.TypedDict, total=False): +class ListTcpRoutesResponse(typing.TypedDict, total=False): nextPageToken: str tcpRoutes: _list[TcpRoute] unreachable: _list[str] @typing.type_check_only -class ListTlsRoutesResponse(typing_extensions.TypedDict, total=False): +class ListTlsRoutesResponse(typing.TypedDict, total=False): nextPageToken: str tlsRoutes: _list[TlsRoute] unreachable: _list[str] @typing.type_check_only -class ListWasmPluginVersionsResponse(typing_extensions.TypedDict, total=False): +class ListWasmPluginVersionsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] wasmPluginVersions: _list[WasmPluginVersion] @typing.type_check_only -class ListWasmPluginsResponse(typing_extensions.TypedDict, total=False): +class ListWasmPluginsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] wasmPlugins: _list[WasmPlugin] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -598,8 +697,8 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): - logSeverity: typing_extensions.Literal[ +class LoggingConfig(typing.TypedDict, total=False): + logSeverity: typing.Literal[ "LOG_SEVERITY_UNSPECIFIED", "NONE", "DEBUG", @@ -613,12 +712,10 @@ class LoggingConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Mesh(typing_extensions.TypedDict, total=False): +class Mesh(typing.TypedDict, total=False): createTime: str description: str - envoyHeaders: typing_extensions.Literal[ - "ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS" - ] + envoyHeaders: typing.Literal["ENVOY_HEADERS_UNSPECIFIED", "NONE", "DEBUG_HEADERS"] interceptionPort: int labels: dict[str, typing.Any] name: str @@ -626,7 +723,7 @@ class Mesh(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class MeshRouteView(typing_extensions.TypedDict, total=False): +class MeshRouteView(typing.TypedDict, total=False): name: str routeId: str routeLocation: str @@ -634,19 +731,19 @@ class MeshRouteView(typing_extensions.TypedDict, total=False): routeType: str @typing.type_check_only -class MetadataLabelMatcher(typing_extensions.TypedDict, total=False): - metadataLabelMatchCriteria: typing_extensions.Literal[ +class MetadataLabelMatcher(typing.TypedDict, total=False): + metadataLabelMatchCriteria: typing.Literal[ "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED", "MATCH_ANY", "MATCH_ALL" ] metadataLabels: _list[MetadataLabels] @typing.type_check_only -class MetadataLabels(typing_extensions.TypedDict, total=False): +class MetadataLabels(typing.TypedDict, total=False): labelName: str labelValue: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -654,7 +751,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -664,11 +761,39 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class RetryFilterPerRouteConfig(typing_extensions.TypedDict, total=False): +class ProducerExtension(typing.TypedDict, total=False): + createTime: str + description: str + etag: str + extensionSettings: ProducerExtensionExtensionSettings + labels: dict[str, typing.Any] + name: str + phase: typing.Literal["PHASE_UNSPECIFIED", "TRAFFIC", "AUTHZ"] + updateTime: str + +@typing.type_check_only +class ProducerExtensionExtensionSettings(typing.TypedDict, total=False): + authority: str + observabilityMode: bool + service: str + supportedEvents: _list[ + typing.Literal[ + "EVENT_TYPE_UNSPECIFIED", + "REQUEST_HEADERS", + "REQUEST_BODY", + "RESPONSE_HEADERS", + "RESPONSE_BODY", + "REQUEST_TRAILERS", + "RESPONSE_TRAILERS", + ] + ] + +@typing.type_check_only +class RetryFilterPerRouteConfig(typing.TypedDict, total=False): cryptoKeyName: str @typing.type_check_only -class ServiceBinding(typing_extensions.TypedDict, total=False): +class ServiceBinding(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] @@ -678,14 +803,14 @@ class ServiceBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceLbPolicy(typing_extensions.TypedDict, total=False): +class ServiceLbPolicy(typing.TypedDict, total=False): autoCapacityDrain: ServiceLbPolicyAutoCapacityDrain createTime: str description: str failoverConfig: ServiceLbPolicyFailoverConfig isolationConfig: ServiceLbPolicyIsolationConfig labels: dict[str, typing.Any] - loadBalancingAlgorithm: typing_extensions.Literal[ + loadBalancingAlgorithm: typing.Literal[ "LOAD_BALANCING_ALGORITHM_UNSPECIFIED", "SPRAY_TO_WORLD", "SPRAY_TO_REGION", @@ -696,30 +821,26 @@ class ServiceLbPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ServiceLbPolicyAutoCapacityDrain(typing_extensions.TypedDict, total=False): +class ServiceLbPolicyAutoCapacityDrain(typing.TypedDict, total=False): enable: bool @typing.type_check_only -class ServiceLbPolicyFailoverConfig(typing_extensions.TypedDict, total=False): +class ServiceLbPolicyFailoverConfig(typing.TypedDict, total=False): failoverHealthThreshold: int @typing.type_check_only -class ServiceLbPolicyIsolationConfig(typing_extensions.TypedDict, total=False): - isolationGranularity: typing_extensions.Literal[ - "ISOLATION_GRANULARITY_UNSPECIFIED", "REGION" - ] - isolationMode: typing_extensions.Literal[ - "ISOLATION_MODE_UNSPECIFIED", "NEAREST", "STRICT" - ] +class ServiceLbPolicyIsolationConfig(typing.TypedDict, total=False): + isolationGranularity: typing.Literal["ISOLATION_GRANULARITY_UNSPECIFIED", "REGION"] + isolationMode: typing.Literal["ISOLATION_MODE_UNSPECIFIED", "NEAREST", "STRICT"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TcpRoute(typing_extensions.TypedDict, total=False): +class TcpRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -731,28 +852,28 @@ class TcpRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TcpRouteRouteAction(typing_extensions.TypedDict, total=False): +class TcpRouteRouteAction(typing.TypedDict, total=False): destinations: _list[TcpRouteRouteDestination] idleTimeout: str originalDestination: bool @typing.type_check_only -class TcpRouteRouteDestination(typing_extensions.TypedDict, total=False): +class TcpRouteRouteDestination(typing.TypedDict, total=False): serviceName: str weight: int @typing.type_check_only -class TcpRouteRouteMatch(typing_extensions.TypedDict, total=False): +class TcpRouteRouteMatch(typing.TypedDict, total=False): address: str port: str @typing.type_check_only -class TcpRouteRouteRule(typing_extensions.TypedDict, total=False): +class TcpRouteRouteRule(typing.TypedDict, total=False): action: TcpRouteRouteAction matches: _list[TcpRouteRouteMatch] @typing.type_check_only -class TlsRoute(typing_extensions.TypedDict, total=False): +class TlsRoute(typing.TypedDict, total=False): createTime: str description: str gateways: _list[str] @@ -765,31 +886,31 @@ class TlsRoute(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TlsRouteRouteAction(typing_extensions.TypedDict, total=False): +class TlsRouteRouteAction(typing.TypedDict, total=False): destinations: _list[TlsRouteRouteDestination] idleTimeout: str @typing.type_check_only -class TlsRouteRouteDestination(typing_extensions.TypedDict, total=False): +class TlsRouteRouteDestination(typing.TypedDict, total=False): serviceName: str weight: int @typing.type_check_only -class TlsRouteRouteMatch(typing_extensions.TypedDict, total=False): +class TlsRouteRouteMatch(typing.TypedDict, total=False): alpn: _list[str] sniHost: _list[str] @typing.type_check_only -class TlsRouteRouteRule(typing_extensions.TypedDict, total=False): +class TlsRouteRouteRule(typing.TypedDict, total=False): action: TlsRouteRouteAction matches: _list[TlsRouteRouteMatch] @typing.type_check_only -class TrafficPortSelector(typing_extensions.TypedDict, total=False): +class TrafficPortSelector(typing.TypedDict, total=False): ports: _list[str] @typing.type_check_only -class WasmPlugin(typing_extensions.TypedDict, total=False): +class WasmPlugin(typing.TypedDict, total=False): createTime: str description: str kmsKeyName: str @@ -803,19 +924,19 @@ class WasmPlugin(typing_extensions.TypedDict, total=False): versions: dict[str, typing.Any] @typing.type_check_only -class WasmPluginLogConfig(typing_extensions.TypedDict, total=False): +class WasmPluginLogConfig(typing.TypedDict, total=False): enable: bool - minLogLevel: typing_extensions.Literal[ + minLogLevel: typing.Literal[ "LOG_LEVEL_UNSPECIFIED", "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "CRITICAL" ] sampleRate: float @typing.type_check_only -class WasmPluginUsedBy(typing_extensions.TypedDict, total=False): +class WasmPluginUsedBy(typing.TypedDict, total=False): name: str @typing.type_check_only -class WasmPluginVersion(typing_extensions.TypedDict, total=False): +class WasmPluginVersion(typing.TypedDict, total=False): createTime: str description: str imageDigest: str @@ -828,7 +949,7 @@ class WasmPluginVersion(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class WasmPluginVersionDetails(typing_extensions.TypedDict, total=False): +class WasmPluginVersionDetails(typing.TypedDict, total=False): createTime: str description: str imageDigest: str diff --git a/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi b/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi index 476b7dde7..2665fcdac 100644 --- a/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -116,7 +115,7 @@ class AIPlatformNotebooksResource(googleapiclient.discovery.Resource): self, *, notebookInstance: str, - type: typing_extensions.Literal[ + type: typing.Literal[ "UPGRADE_TYPE_UNSPECIFIED", "UPGRADE_FRAMEWORK", "UPGRADE_OS", diff --git a/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi index c96dc313d..c6c3b3f76 100644 --- a/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v1/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): coreCount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -27,38 +25,38 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BootImage(typing_extensions.TypedDict, total=False): ... +class BootImage(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ContainerImage(typing_extensions.TypedDict, total=False): +class ContainerImage(typing.TypedDict, total=False): repository: str tag: str @typing.type_check_only -class DataprocParameters(typing_extensions.TypedDict, total=False): +class DataprocParameters(typing.TypedDict, total=False): cluster: str @typing.type_check_only -class DiagnoseInstanceRequest(typing_extensions.TypedDict, total=False): +class DiagnoseInstanceRequest(typing.TypedDict, total=False): diagnosticConfig: DiagnosticConfig timeoutMinutes: int @typing.type_check_only -class DiagnoseRuntimeRequest(typing_extensions.TypedDict, total=False): +class DiagnoseRuntimeRequest(typing.TypedDict, total=False): diagnosticConfig: DiagnosticConfig timeoutMinutes: int @typing.type_check_only -class DiagnosticConfig(typing_extensions.TypedDict, total=False): +class DiagnosticConfig(typing.TypedDict, total=False): copyHomeFilesFlagEnabled: bool gcsBucket: str packetCaptureFlagEnabled: bool @@ -66,7 +64,7 @@ class DiagnosticConfig(typing_extensions.TypedDict, total=False): repairFlagEnabled: bool @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): autoDelete: bool boot: bool deviceName: str @@ -81,14 +79,14 @@ class Disk(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): containerImage: ContainerImage createTime: str description: str @@ -98,15 +96,15 @@ class Environment(typing_extensions.TypedDict, total=False): vmImage: VmImage @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): details: dict[str, typing.Any] reportTime: str - type: typing_extensions.Literal[ + type: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "IDLE", "HEARTBEAT", "HEALTH", "MAINTENANCE" ] @typing.type_check_only -class Execution(typing_extensions.TypedDict, total=False): +class Execution(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -114,7 +112,7 @@ class Execution(typing_extensions.TypedDict, total=False): jobUri: str name: str outputNotebookFile: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "PREPARING", @@ -129,19 +127,19 @@ class Execution(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ExecutionTemplate(typing_extensions.TypedDict, total=False): +class ExecutionTemplate(typing.TypedDict, total=False): acceleratorConfig: SchedulerAcceleratorConfig containerImageUri: str dataprocParameters: DataprocParameters inputNotebookFile: str - jobType: typing_extensions.Literal["JOB_TYPE_UNSPECIFIED", "VERTEX_AI", "DATAPROC"] + jobType: typing.Literal["JOB_TYPE_UNSPECIFIED", "VERTEX_AI", "DATAPROC"] kernelSpec: str labels: dict[str, typing.Any] masterType: str outputNotebookFolder: str parameters: str paramsYamlFile: str - scaleTier: typing_extensions.Literal[ + scaleTier: typing.Literal[ "SCALE_TIER_UNSPECIFIED", "BASIC", "STANDARD_1", @@ -155,16 +153,16 @@ class ExecutionTemplate(typing_extensions.TypedDict, total=False): vertexAiParameters: VertexAIParameters @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetInstanceHealthResponse(typing_extensions.TypedDict, total=False): +class GetInstanceHealthResponse(typing.TypedDict, total=False): healthInfo: dict[str, typing.Any] - healthState: typing_extensions.Literal[ + healthState: typing.Literal[ "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -173,14 +171,14 @@ class GetInstanceHealthResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GuestOsFeature(typing_extensions.TypedDict, total=False): +class GuestOsFeature(typing.TypedDict, total=False): type: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): acceleratorConfig: AcceleratorConfig bootDiskSizeGb: str - bootDiskType: typing_extensions.Literal[ + bootDiskType: typing.Literal[ "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME" ] canIpForward: bool @@ -189,12 +187,10 @@ class Instance(typing_extensions.TypedDict, total=False): creator: str customGpuDriverPath: str dataDiskSizeGb: str - dataDiskType: typing_extensions.Literal[ + dataDiskType: typing.Literal[ "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME" ] - diskEncryption: typing_extensions.Literal[ - "DISK_ENCRYPTION_UNSPECIFIED", "GMEK", "CMEK" - ] + diskEncryption: typing.Literal["DISK_ENCRYPTION_UNSPECIFIED", "GMEK", "CMEK"] disks: _list[Disk] installGpuDriver: bool instanceMigrationEligibility: InstanceMigrationEligibility @@ -206,7 +202,7 @@ class Instance(typing_extensions.TypedDict, total=False): migrated: bool name: str network: str - nicType: typing_extensions.Literal["UNSPECIFIED_NIC_TYPE", "VIRTIO_NET", "GVNIC"] + nicType: typing.Literal["UNSPECIFIED_NIC_TYPE", "VIRTIO_NET", "GVNIC"] noProxyAccess: bool noPublicIp: bool noRemoveDataDisk: bool @@ -216,7 +212,7 @@ class Instance(typing_extensions.TypedDict, total=False): serviceAccount: str serviceAccountScopes: _list[str] shieldedInstanceConfig: ShieldedInstanceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "PROVISIONING", @@ -237,15 +233,15 @@ class Instance(typing_extensions.TypedDict, total=False): vmImage: VmImage @typing.type_check_only -class InstanceConfig(typing_extensions.TypedDict, total=False): +class InstanceConfig(typing.TypedDict, total=False): enableHealthMonitoring: bool notebookUpgradeSchedule: str @typing.type_check_only -class InstanceMigrationEligibility(typing_extensions.TypedDict, total=False): - errors: _list[typing_extensions.Literal["ERROR_UNSPECIFIED", "DATAPROC_HUB"]] +class InstanceMigrationEligibility(typing.TypedDict, total=False): + errors: _list[typing.Literal["ERROR_UNSPECIFIED", "DATAPROC_HUB"]] warnings: _list[ - typing_extensions.Literal[ + typing.Literal[ "WARNING_UNSPECIFIED", "UNSUPPORTED_MACHINE_TYPE", "UNSUPPORTED_ACCELERATOR_TYPE", @@ -257,55 +253,55 @@ class InstanceMigrationEligibility(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IsInstanceUpgradeableResponse(typing_extensions.TypedDict, total=False): +class IsInstanceUpgradeableResponse(typing.TypedDict, total=False): upgradeImage: str upgradeInfo: str upgradeVersion: str upgradeable: bool @typing.type_check_only -class ListEnvironmentsResponse(typing_extensions.TypedDict, total=False): +class ListEnvironmentsResponse(typing.TypedDict, total=False): environments: _list[Environment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[Execution] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRuntimesResponse(typing_extensions.TypedDict, total=False): +class ListRuntimesResponse(typing.TypedDict, total=False): nextPageToken: str runtimes: _list[Runtime] unreachable: _list[str] @typing.type_check_only -class ListSchedulesResponse(typing_extensions.TypedDict, total=False): +class ListSchedulesResponse(typing.TypedDict, total=False): nextPageToken: str schedules: _list[Schedule] unreachable: _list[str] @typing.type_check_only -class LocalDisk(typing_extensions.TypedDict, total=False): +class LocalDisk(typing.TypedDict, total=False): autoDelete: bool boot: bool deviceName: str @@ -320,17 +316,17 @@ class LocalDisk(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class LocalDiskInitializeParams(typing_extensions.TypedDict, total=False): +class LocalDiskInitializeParams(typing.TypedDict, total=False): description: str diskName: str diskSizeGb: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME" ] labels: dict[str, typing.Any] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -338,17 +334,17 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MigrateInstanceRequest(typing_extensions.TypedDict, total=False): - postStartupScriptOption: typing_extensions.Literal[ +class MigrateInstanceRequest(typing.TypedDict, total=False): + postStartupScriptOption: typing.Literal[ "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", "POST_STARTUP_SCRIPT_OPTION_SKIP", "POST_STARTUP_SCRIPT_OPTION_RERUN", ] @typing.type_check_only -class MigrateRuntimeRequest(typing_extensions.TypedDict, total=False): +class MigrateRuntimeRequest(typing.TypedDict, total=False): network: str - postStartupScriptOption: typing_extensions.Literal[ + postStartupScriptOption: typing.Literal[ "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", "POST_STARTUP_SCRIPT_OPTION_SKIP", "POST_STARTUP_SCRIPT_OPTION_RERUN", @@ -358,7 +354,7 @@ class MigrateRuntimeRequest(typing_extensions.TypedDict, total=False): subnet: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -366,7 +362,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -377,63 +373,63 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RefreshRuntimeTokenInternalRequest(typing_extensions.TypedDict, total=False): +class RefreshRuntimeTokenInternalRequest(typing.TypedDict, total=False): vmId: str @typing.type_check_only -class RefreshRuntimeTokenInternalResponse(typing_extensions.TypedDict, total=False): +class RefreshRuntimeTokenInternalResponse(typing.TypedDict, total=False): accessToken: str expireTime: str @typing.type_check_only -class RegisterInstanceRequest(typing_extensions.TypedDict, total=False): +class RegisterInstanceRequest(typing.TypedDict, total=False): instanceId: str @typing.type_check_only -class ReportInstanceEventRequest(typing_extensions.TypedDict, total=False): +class ReportInstanceEventRequest(typing.TypedDict, total=False): event: Event vmId: str @typing.type_check_only -class ReportInstanceInfoRequest(typing_extensions.TypedDict, total=False): +class ReportInstanceInfoRequest(typing.TypedDict, total=False): metadata: dict[str, typing.Any] vmId: str @typing.type_check_only -class ReportRuntimeEventRequest(typing_extensions.TypedDict, total=False): +class ReportRuntimeEventRequest(typing.TypedDict, total=False): event: Event vmId: str @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" ] key: str values: _list[str] @typing.type_check_only -class ResetInstanceRequest(typing_extensions.TypedDict, total=False): ... +class ResetInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResetRuntimeRequest(typing_extensions.TypedDict, total=False): +class ResetRuntimeRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RollbackInstanceRequest(typing_extensions.TypedDict, total=False): +class RollbackInstanceRequest(typing.TypedDict, total=False): targetSnapshot: str @typing.type_check_only -class Runtime(typing_extensions.TypedDict, total=False): +class Runtime(typing.TypedDict, total=False): accessConfig: RuntimeAccessConfig createTime: str - healthState: typing_extensions.Literal[ + healthState: typing.Literal[ "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -446,7 +442,7 @@ class Runtime(typing_extensions.TypedDict, total=False): name: str runtimeMigrationEligibility: RuntimeMigrationEligibility softwareConfig: RuntimeSoftwareConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "PROVISIONING", @@ -461,9 +457,9 @@ class Runtime(typing_extensions.TypedDict, total=False): virtualMachine: VirtualMachine @typing.type_check_only -class RuntimeAcceleratorConfig(typing_extensions.TypedDict, total=False): +class RuntimeAcceleratorConfig(typing.TypedDict, total=False): coreCount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -480,26 +476,26 @@ class RuntimeAcceleratorConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RuntimeAccessConfig(typing_extensions.TypedDict, total=False): - accessType: typing_extensions.Literal[ +class RuntimeAccessConfig(typing.TypedDict, total=False): + accessType: typing.Literal[ "RUNTIME_ACCESS_TYPE_UNSPECIFIED", "SINGLE_USER", "SERVICE_ACCOUNT" ] proxyUri: str runtimeOwner: str @typing.type_check_only -class RuntimeGuestOsFeature(typing_extensions.TypedDict, total=False): +class RuntimeGuestOsFeature(typing.TypedDict, total=False): type: str @typing.type_check_only -class RuntimeMetrics(typing_extensions.TypedDict, total=False): +class RuntimeMetrics(typing.TypedDict, total=False): systemMetrics: dict[str, typing.Any] @typing.type_check_only -class RuntimeMigrationEligibility(typing_extensions.TypedDict, total=False): - errors: _list[typing_extensions.Literal["ERROR_UNSPECIFIED", "CUSTOM_CONTAINER"]] +class RuntimeMigrationEligibility(typing.TypedDict, total=False): + errors: _list[typing.Literal["ERROR_UNSPECIFIED", "CUSTOM_CONTAINER"]] warnings: _list[ - typing_extensions.Literal[ + typing.Literal[ "WARNING_UNSPECIFIED", "UNSUPPORTED_ACCELERATOR_TYPE", "UNSUPPORTED_OS", @@ -511,13 +507,13 @@ class RuntimeMigrationEligibility(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RuntimeShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class RuntimeShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class RuntimeSoftwareConfig(typing_extensions.TypedDict, total=False): +class RuntimeSoftwareConfig(typing.TypedDict, total=False): customGpuDriverPath: str disableTerminal: bool enableHealthMonitoring: bool @@ -528,7 +524,7 @@ class RuntimeSoftwareConfig(typing_extensions.TypedDict, total=False): mixerDisabled: bool notebookUpgradeSchedule: str postStartupScript: str - postStartupScriptBehavior: typing_extensions.Literal[ + postStartupScriptBehavior: typing.Literal[ "POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", "RUN_EVERY_START", "DOWNLOAD_AND_RUN_EVERY_START", @@ -537,7 +533,7 @@ class RuntimeSoftwareConfig(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): createTime: str cronSchedule: str description: str @@ -545,7 +541,7 @@ class Schedule(typing_extensions.TypedDict, total=False): executionTemplate: ExecutionTemplate name: str recentExecutions: _list[Execution] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "PAUSED", @@ -558,9 +554,9 @@ class Schedule(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SchedulerAcceleratorConfig(typing_extensions.TypedDict, total=False): +class SchedulerAcceleratorConfig(typing.TypedDict, total=False): coreCount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -573,13 +569,13 @@ class SchedulerAcceleratorConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class SetInstanceAcceleratorRequest(typing_extensions.TypedDict, total=False): +class SetInstanceAcceleratorRequest(typing.TypedDict, total=False): coreCount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_K80", "NVIDIA_TESLA_P100", @@ -599,90 +595,88 @@ class SetInstanceAcceleratorRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SetInstanceLabelsRequest(typing_extensions.TypedDict, total=False): +class SetInstanceLabelsRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class SetInstanceMachineTypeRequest(typing_extensions.TypedDict, total=False): +class SetInstanceMachineTypeRequest(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class StartInstanceRequest(typing_extensions.TypedDict, total=False): ... +class StartInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StartRuntimeRequest(typing_extensions.TypedDict, total=False): +class StartRuntimeRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopInstanceRequest(typing_extensions.TypedDict, total=False): ... +class StopInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopRuntimeRequest(typing_extensions.TypedDict, total=False): +class StopRuntimeRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class SwitchRuntimeRequest(typing_extensions.TypedDict, total=False): +class SwitchRuntimeRequest(typing.TypedDict, total=False): acceleratorConfig: RuntimeAcceleratorConfig machineType: str requestId: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TriggerScheduleRequest(typing_extensions.TypedDict, total=False): ... +class TriggerScheduleRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateInstanceConfigRequest(typing_extensions.TypedDict, total=False): +class UpdateInstanceConfigRequest(typing.TypedDict, total=False): config: InstanceConfig @typing.type_check_only -class UpdateInstanceMetadataItemsRequest(typing_extensions.TypedDict, total=False): +class UpdateInstanceMetadataItemsRequest(typing.TypedDict, total=False): items: dict[str, typing.Any] @typing.type_check_only -class UpdateInstanceMetadataItemsResponse(typing_extensions.TypedDict, total=False): +class UpdateInstanceMetadataItemsResponse(typing.TypedDict, total=False): items: dict[str, typing.Any] @typing.type_check_only -class UpdateShieldedInstanceConfigRequest(typing_extensions.TypedDict, total=False): +class UpdateShieldedInstanceConfigRequest(typing.TypedDict, total=False): shieldedInstanceConfig: ShieldedInstanceConfig @typing.type_check_only -class UpgradeHistoryEntry(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "UPGRADE", "ROLLBACK"] +class UpgradeHistoryEntry(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "UPGRADE", "ROLLBACK"] containerImage: str createTime: str framework: str snapshot: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STARTED", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STARTED", "SUCCEEDED", "FAILED"] targetImage: str targetVersion: str version: str vmImage: str @typing.type_check_only -class UpgradeInstanceInternalRequest(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class UpgradeInstanceInternalRequest(typing.TypedDict, total=False): + type: typing.Literal[ "UPGRADE_TYPE_UNSPECIFIED", "UPGRADE_FRAMEWORK", "UPGRADE_OS", @@ -692,8 +686,8 @@ class UpgradeInstanceInternalRequest(typing_extensions.TypedDict, total=False): vmId: str @typing.type_check_only -class UpgradeInstanceRequest(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class UpgradeInstanceRequest(typing.TypedDict, total=False): + type: typing.Literal[ "UPGRADE_TYPE_UNSPECIFIED", "UPGRADE_FRAMEWORK", "UPGRADE_OS", @@ -702,22 +696,22 @@ class UpgradeInstanceRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpgradeRuntimeRequest(typing_extensions.TypedDict, total=False): +class UpgradeRuntimeRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class VertexAIParameters(typing_extensions.TypedDict, total=False): +class VertexAIParameters(typing.TypedDict, total=False): env: dict[str, typing.Any] network: str @typing.type_check_only -class VirtualMachine(typing_extensions.TypedDict, total=False): +class VirtualMachine(typing.TypedDict, total=False): instanceId: str instanceName: str virtualMachineConfig: VirtualMachineConfig @typing.type_check_only -class VirtualMachineConfig(typing_extensions.TypedDict, total=False): +class VirtualMachineConfig(typing.TypedDict, total=False): acceleratorConfig: RuntimeAcceleratorConfig bootImage: BootImage containerImages: _list[ContainerImage] @@ -729,7 +723,7 @@ class VirtualMachineConfig(typing_extensions.TypedDict, total=False): machineType: str metadata: dict[str, typing.Any] network: str - nicType: typing_extensions.Literal["UNSPECIFIED_NIC_TYPE", "VIRTIO_NET", "GVNIC"] + nicType: typing.Literal["UNSPECIFIED_NIC_TYPE", "VIRTIO_NET", "GVNIC"] reservedIpRange: str shieldedInstanceConfig: RuntimeShieldedInstanceConfig subnet: str @@ -737,7 +731,7 @@ class VirtualMachineConfig(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class VmImage(typing_extensions.TypedDict, total=False): +class VmImage(typing.TypedDict, total=False): imageFamily: str imageName: str project: str diff --git a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi index d199afb5a..4163c73a5 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi index b8e43954b..7244b0fdc 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi @@ -1,13 +1,11 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): coreCount: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", @@ -27,22 +25,20 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): externalIp: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BootDisk(typing_extensions.TypedDict, total=False): - diskEncryption: typing_extensions.Literal[ - "DISK_ENCRYPTION_UNSPECIFIED", "GMEK", "CMEK" - ] +class BootDisk(typing.TypedDict, total=False): + diskEncryption: typing.Literal["DISK_ENCRYPTION_UNSPECIFIED", "GMEK", "CMEK"] diskSizeGb: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", @@ -57,50 +53,48 @@ class BootDisk(typing_extensions.TypedDict, total=False): kmsKey: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CheckAuthorizationRequest(typing_extensions.TypedDict, total=False): +class CheckAuthorizationRequest(typing.TypedDict, total=False): authorizationDetails: dict[str, typing.Any] @typing.type_check_only -class CheckAuthorizationResponse(typing_extensions.TypedDict, total=False): +class CheckAuthorizationResponse(typing.TypedDict, total=False): createTime: str oauth_uri: str success: bool @typing.type_check_only -class CheckInstanceUpgradabilityResponse(typing_extensions.TypedDict, total=False): +class CheckInstanceUpgradabilityResponse(typing.TypedDict, total=False): upgradeImage: str upgradeInfo: str upgradeVersion: str upgradeable: bool @typing.type_check_only -class ConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): - confidentialInstanceType: typing_extensions.Literal[ +class ConfidentialInstanceConfig(typing.TypedDict, total=False): + confidentialInstanceType: typing.Literal[ "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV" ] @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): +class Config(typing.TypedDict, total=False): availableImages: _list[ImageRelease] defaultValues: DefaultValues disableWorkbenchLegacyCreation: bool supportedValues: SupportedValues @typing.type_check_only -class ContainerImage(typing_extensions.TypedDict, total=False): +class ContainerImage(typing.TypedDict, total=False): repository: str tag: str @typing.type_check_only -class DataDisk(typing_extensions.TypedDict, total=False): - diskEncryption: typing_extensions.Literal[ - "DISK_ENCRYPTION_UNSPECIFIED", "GMEK", "CMEK" - ] +class DataDisk(typing.TypedDict, total=False): + diskEncryption: typing.Literal["DISK_ENCRYPTION_UNSPECIFIED", "GMEK", "CMEK"] diskSizeGb: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", @@ -116,16 +110,16 @@ class DataDisk(typing_extensions.TypedDict, total=False): resourcePolicies: _list[str] @typing.type_check_only -class DefaultValues(typing_extensions.TypedDict, total=False): +class DefaultValues(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class DiagnoseInstanceRequest(typing_extensions.TypedDict, total=False): +class DiagnoseInstanceRequest(typing.TypedDict, total=False): diagnosticConfig: DiagnosticConfig timeoutMinutes: int @typing.type_check_only -class DiagnosticConfig(typing_extensions.TypedDict, total=False): +class DiagnosticConfig(typing.TypedDict, total=False): enableCopyHomeFilesFlag: bool enablePacketCaptureFlag: bool enableRepairFlag: bool @@ -133,13 +127,13 @@ class DiagnosticConfig(typing_extensions.TypedDict, total=False): relativePath: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): details: dict[str, typing.Any] reportTime: str - type: typing_extensions.Literal[ + type: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "IDLE", "HEARTBEAT", @@ -149,19 +143,19 @@ class Event(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GPUDriverConfig(typing_extensions.TypedDict, total=False): +class GPUDriverConfig(typing.TypedDict, total=False): customGpuDriverPath: str enableGpuDriver: bool @typing.type_check_only -class GceSetup(typing_extensions.TypedDict, total=False): +class GceSetup(typing.TypedDict, total=False): acceleratorConfigs: _list[AcceleratorConfig] bootDisk: BootDisk confidentialInstanceConfig: ConfidentialInstanceConfig @@ -182,25 +176,25 @@ class GceSetup(typing_extensions.TypedDict, total=False): vmImage: VmImage @typing.type_check_only -class GenerateAccessTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenRequest(typing.TypedDict, total=False): vmToken: str @typing.type_check_only -class GenerateAccessTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenResponse(typing.TypedDict, total=False): access_token: str expires_in: int scope: str token_type: str @typing.type_check_only -class ImageRelease(typing_extensions.TypedDict, total=False): +class ImageRelease(typing.TypedDict, total=False): description: str imageFamily: str imageName: str releaseName: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): createTime: str creator: str disableProxyAccess: bool @@ -209,7 +203,7 @@ class Instance(typing_extensions.TypedDict, total=False): enableThirdPartyIdentity: bool gceSetup: GceSetup healthInfo: dict[str, typing.Any] - healthState: typing_extensions.Literal[ + healthState: typing.Literal[ "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -223,7 +217,7 @@ class Instance(typing_extensions.TypedDict, total=False): proxyUri: str satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTING", "PROVISIONING", @@ -241,24 +235,24 @@ class Instance(typing_extensions.TypedDict, total=False): upgradeHistory: _list[UpgradeHistoryEntry] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -266,14 +260,14 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): accessConfigs: _list[AccessConfig] network: str - nicType: typing_extensions.Literal["NIC_TYPE_UNSPECIFIED", "VIRTIO_NET", "GVNIC"] + nicType: typing.Literal["NIC_TYPE_UNSPECIFIED", "VIRTIO_NET", "GVNIC"] subnet: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -281,7 +275,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -292,19 +286,19 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ReportInstanceInfoSystemRequest(typing_extensions.TypedDict, total=False): +class ReportInstanceInfoSystemRequest(typing.TypedDict, total=False): event: Event vmId: str @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "RESERVATION_UNSPECIFIED", "RESERVATION_NONE", "RESERVATION_ANY", @@ -314,91 +308,89 @@ class ReservationAffinity(typing_extensions.TypedDict, total=False): values: _list[str] @typing.type_check_only -class ResetInstanceRequest(typing_extensions.TypedDict, total=False): ... +class ResetInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ResizeDiskRequest(typing_extensions.TypedDict, total=False): +class ResizeDiskRequest(typing.TypedDict, total=False): bootDisk: BootDisk dataDisk: DataDisk @typing.type_check_only -class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): +class RestoreInstanceRequest(typing.TypedDict, total=False): snapshot: Snapshot @typing.type_check_only -class RollbackInstanceRequest(typing_extensions.TypedDict, total=False): +class RollbackInstanceRequest(typing.TypedDict, total=False): revisionId: str targetSnapshot: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): projectId: str snapshotId: str @typing.type_check_only -class StartInstanceRequest(typing_extensions.TypedDict, total=False): ... +class StartInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopInstanceRequest(typing_extensions.TypedDict, total=False): ... +class StopInstanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SupportedValues(typing_extensions.TypedDict, total=False): +class SupportedValues(typing.TypedDict, total=False): acceleratorTypes: _list[str] machineTypes: _list[str] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UpgradeHistoryEntry(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "UPGRADE", "ROLLBACK"] +class UpgradeHistoryEntry(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "UPGRADE", "ROLLBACK"] containerImage: str createTime: str framework: str snapshot: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "STARTED", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "STARTED", "SUCCEEDED", "FAILED"] targetVersion: str version: str vmImage: str @typing.type_check_only -class UpgradeInstanceRequest(typing_extensions.TypedDict, total=False): +class UpgradeInstanceRequest(typing.TypedDict, total=False): imageFamily: str @typing.type_check_only -class UpgradeInstanceSystemRequest(typing_extensions.TypedDict, total=False): +class UpgradeInstanceSystemRequest(typing.TypedDict, total=False): vmId: str @typing.type_check_only -class VmImage(typing_extensions.TypedDict, total=False): +class VmImage(typing.TypedDict, total=False): family: str name: str project: str diff --git a/googleapiclient-stubs/_apis/oauth2/v2/resources.pyi b/googleapiclient-stubs/_apis/oauth2/v2/resources.pyi index 1279d2168..b4b620e4e 100644 --- a/googleapiclient-stubs/_apis/oauth2/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/oauth2/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -30,7 +29,7 @@ class Oauth2Resource(googleapiclient.discovery.Resource): self, *, access_token: str | None = ..., - alt: typing_extensions.Literal["json"] | None = ..., + alt: typing.Literal["json"] | None = ..., fields: str | None = ..., id_token: str | None = ..., key: str | None = ..., diff --git a/googleapiclient-stubs/_apis/oauth2/v2/schemas.pyi b/googleapiclient-stubs/_apis/oauth2/v2/schemas.pyi index 99473cce9..cbaabb9de 100644 --- a/googleapiclient-stubs/_apis/oauth2/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/oauth2/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Tokeninfo(typing_extensions.TypedDict, total=False): +class Tokeninfo(typing.TypedDict, total=False): audience: str email: str expires_in: int @@ -15,7 +13,7 @@ class Tokeninfo(typing_extensions.TypedDict, total=False): verified_email: bool @typing.type_check_only -class Userinfo(typing_extensions.TypedDict, total=False): +class Userinfo(typing.TypedDict, total=False): email: str family_name: str gender: str diff --git a/googleapiclient-stubs/_apis/observability/v1/resources.pyi b/googleapiclient-stubs/_apis/observability/v1/resources.pyi index 0759bfa39..6ca6becf2 100644 --- a/googleapiclient-stubs/_apis/observability/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/observability/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/observability/v1/schemas.pyi b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi index ac649a373..2e86b863e 100644 --- a/googleapiclient-stubs/_apis/observability/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Bucket(typing_extensions.TypedDict, total=False): +class Bucket(typing.TypedDict, total=False): cmekSettings: CmekSettings createTime: str deleteTime: str @@ -16,16 +14,16 @@ class Bucket(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CmekSettings(typing_extensions.TypedDict, total=False): +class CmekSettings(typing.TypedDict, total=False): kmsKey: str kmsKeyVersion: str serviceAccountId: str @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): createTime: str deleteTime: str description: str @@ -34,53 +32,53 @@ class Dataset(typing_extensions.TypedDict, total=False): purgeTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): createTime: str description: str displayName: str name: str @typing.type_check_only -class ListBucketsResponse(typing_extensions.TypedDict, total=False): +class ListBucketsResponse(typing.TypedDict, total=False): buckets: _list[Bucket] nextPageToken: str @typing.type_check_only -class ListDatasetsResponse(typing_extensions.TypedDict, total=False): +class ListDatasetsResponse(typing.TypedDict, total=False): datasets: _list[Dataset] nextPageToken: str @typing.type_check_only -class ListLinksResponse(typing_extensions.TypedDict, total=False): +class ListLinksResponse(typing.TypedDict, total=False): links: _list[Link] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTraceScopesResponse(typing_extensions.TypedDict, total=False): +class ListTraceScopesResponse(typing.TypedDict, total=False): nextPageToken: str traceScopes: _list[TraceScope] @typing.type_check_only -class ListViewsResponse(typing_extensions.TypedDict, total=False): +class ListViewsResponse(typing.TypedDict, total=False): nextPageToken: str views: _list[View] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -88,7 +86,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -96,7 +94,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -106,27 +104,27 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): +class Scope(typing.TypedDict, total=False): logScope: str name: str traceScope: str updateTime: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): defaultStorageLocation: str kmsKeyName: str name: str serviceAccountId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TraceScope(typing_extensions.TypedDict, total=False): +class TraceScope(typing.TypedDict, total=False): createTime: str description: str name: str @@ -134,7 +132,7 @@ class TraceScope(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class View(typing_extensions.TypedDict, total=False): +class View(typing.TypedDict, total=False): createTime: str description: str displayName: str diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi index d0da4a9ab..6489a396c 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi index 89a21c732..3665eaaec 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi @@ -1,87 +1,86 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): +class AISkillAnalysisOccurrence(typing.TypedDict, total=False): findings: _list[Finding] - maxSeverity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + perScannerVerdict: PerScannerVerdict skillName: str @typing.type_check_only -class AliasContext(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] +class AliasContext(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] name: str @typing.type_check_only -class AnalysisCompleted(typing_extensions.TypedDict, total=False): +class AnalysisCompleted(typing.TypedDict, total=False): analysisType: _list[str] @typing.type_check_only -class AnalyzePackagesMetadata(typing_extensions.TypedDict, total=False): +class AnalyzePackagesMetadata(typing.TypedDict, total=False): createTime: str resourceUri: str @typing.type_check_only -class AnalyzePackagesMetadataV1(typing_extensions.TypedDict, total=False): +class AnalyzePackagesMetadataV1(typing.TypedDict, total=False): createTime: str resourceUri: str @typing.type_check_only -class AnalyzePackagesRequestV1(typing_extensions.TypedDict, total=False): +class AnalyzePackagesRequestV1(typing.TypedDict, total=False): includeOsvData: bool packages: _list[PackageData] resourceUri: str @typing.type_check_only -class AnalyzePackagesResponse(typing_extensions.TypedDict, total=False): +class AnalyzePackagesResponse(typing.TypedDict, total=False): scan: str @typing.type_check_only -class AnalyzePackagesResponseV1(typing_extensions.TypedDict, total=False): +class AnalyzePackagesResponseV1(typing.TypedDict, total=False): scan: str @typing.type_check_only -class Artifact(typing_extensions.TypedDict, total=False): +class Artifact(typing.TypedDict, total=False): checksum: str id: str names: _list[str] @typing.type_check_only -class AttestationOccurrence(typing_extensions.TypedDict, total=False): +class AttestationOccurrence(typing.TypedDict, total=False): jwts: _list[Jwt] serializedPayload: str signatures: _list[Signature] @typing.type_check_only -class BaseImage(typing_extensions.TypedDict, total=False): +class BaseImage(typing.TypedDict, total=False): layerCount: int name: str registry: str repository: str @typing.type_check_only -class BinarySourceInfo(typing_extensions.TypedDict, total=False): +class BinarySourceInfo(typing.TypedDict, total=False): binaryVersion: PackageVersion sourceVersion: PackageVersion @typing.type_check_only -class BuildDefinition(typing_extensions.TypedDict, total=False): +class BuildDefinition(typing.TypedDict, total=False): buildType: str externalParameters: dict[str, typing.Any] internalParameters: dict[str, typing.Any] resolvedDependencies: _list[ResourceDescriptor] @typing.type_check_only -class BuildMetadata(typing_extensions.TypedDict, total=False): +class BuildMetadata(typing.TypedDict, total=False): finishedOn: str invocationId: str startedOn: str @typing.type_check_only -class BuildOccurrence(typing_extensions.TypedDict, total=False): +class BuildOccurrence(typing.TypedDict, total=False): inTotoSlsaProvenanceV1: InTotoSlsaProvenanceV1 intotoProvenance: InTotoProvenance intotoStatement: InTotoStatement @@ -89,7 +88,7 @@ class BuildOccurrence(typing_extensions.TypedDict, total=False): provenanceBytes: str @typing.type_check_only -class BuildProvenance(typing_extensions.TypedDict, total=False): +class BuildProvenance(typing.TypedDict, total=False): buildOptions: dict[str, typing.Any] builderVersion: str builtArtifacts: _list[Artifact] @@ -105,40 +104,40 @@ class BuildProvenance(typing_extensions.TypedDict, total=False): triggerId: str @typing.type_check_only -class BuilderConfig(typing_extensions.TypedDict, total=False): +class BuilderConfig(typing.TypedDict, total=False): id: str @typing.type_check_only -class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): +class CISAKnownExploitedVulnerabilities(typing.TypedDict, total=False): knownRansomwareCampaignUse: str @typing.type_check_only -class CVSS(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSS(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", "ATTACK_COMPLEXITY_MEDIUM", ] - attackRequirements: typing_extensions.Literal[ + attackRequirements: typing.Literal[ "ATTACK_REQUIREMENTS_UNSPECIFIED", "ATTACK_REQUIREMENTS_NONE", "ATTACK_REQUIREMENTS_PRESENT", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - authentication: typing_extensions.Literal[ + authentication: typing.Literal[ "AUTHENTICATION_UNSPECIFIED", "AUTHENTICATION_MULTIPLE", "AUTHENTICATION_SINGLE", "AUTHENTICATION_NONE", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -147,7 +146,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_COMPLETE", ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -155,7 +154,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - exploitMaturity: typing_extensions.Literal[ + exploitMaturity: typing.Literal[ "EXPLOIT_MATURITY_UNSPECIFIED", "EXPLOIT_MATURITY_NOT_DEFINED", "EXPLOIT_MATURITY_ATTACKED", @@ -164,7 +163,7 @@ class CVSS(typing_extensions.TypedDict, total=False): ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -172,16 +171,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - subsequentSystemAvailabilityImpact: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + subsequentSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -189,7 +186,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemConfidentialityImpact: typing_extensions.Literal[ + subsequentSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -197,7 +194,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemIntegrityImpact: typing_extensions.Literal[ + subsequentSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -205,14 +202,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - userInteraction: typing_extensions.Literal[ + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", "USER_INTERACTION_PASSIVE", "USER_INTERACTION_ACTIVE", ] - vulnerableSystemAvailabilityImpact: typing_extensions.Literal[ + vulnerableSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -220,7 +217,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemConfidentialityImpact: typing_extensions.Literal[ + vulnerableSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -228,7 +225,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemIntegrityImpact: typing_extensions.Literal[ + vulnerableSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -238,18 +235,18 @@ class CVSS(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Category(typing_extensions.TypedDict, total=False): +class Category(typing.TypedDict, total=False): categoryId: str name: str @typing.type_check_only -class CloudRepoSourceContext(typing_extensions.TypedDict, total=False): +class CloudRepoSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext repoId: RepoId revisionId: str @typing.type_check_only -class Command(typing_extensions.TypedDict, total=False): +class Command(typing.TypedDict, total=False): args: _list[str] dir: str env: _list[str] @@ -258,43 +255,43 @@ class Command(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class Completeness(typing_extensions.TypedDict, total=False): +class Completeness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class ComplianceOccurrence(typing_extensions.TypedDict, total=False): +class ComplianceOccurrence(typing.TypedDict, total=False): nonComplianceReason: str nonCompliantFiles: _list[NonCompliantFile] version: ComplianceVersion @typing.type_check_only -class ComplianceVersion(typing_extensions.TypedDict, total=False): +class ComplianceVersion(typing.TypedDict, total=False): benchmarkDocument: str cpeUri: str version: str @typing.type_check_only -class DSSEAttestationOccurrence(typing_extensions.TypedDict, total=False): +class DSSEAttestationOccurrence(typing.TypedDict, total=False): envelope: Envelope statement: InTotoStatement @typing.type_check_only -class DeploymentOccurrence(typing_extensions.TypedDict, total=False): +class DeploymentOccurrence(typing.TypedDict, total=False): address: str config: str deployTime: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] resourceUri: _list[str] undeployTime: str userEmail: str @typing.type_check_only -class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): +class DiscoveryOccurrence(typing.TypedDict, total=False): analysisCompleted: AnalysisCompleted analysisError: _list[Status] - analysisStatus: typing_extensions.Literal[ + analysisStatus: typing.Literal[ "ANALYSIS_STATUS_UNSPECIFIED", "PENDING", "SCANNING", @@ -305,7 +302,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): ] analysisStatusError: Status archiveTime: str - continuousAnalysis: typing_extensions.Literal[ + continuousAnalysis: typing.Literal[ "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str @@ -315,87 +312,87 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): sbomStatus: SBOMStatus @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Envelope(typing_extensions.TypedDict, total=False): +class Envelope(typing.TypedDict, total=False): payload: str payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class EnvelopeSignature(typing_extensions.TypedDict, total=False): +class EnvelopeSignature(typing.TypedDict, total=False): keyid: str sig: str @typing.type_check_only -class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): +class ExploitPredictionScoringSystem(typing.TypedDict, total=False): percentile: float score: float @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class FileLocation(typing_extensions.TypedDict, total=False): +class FileLocation(typing.TypedDict, total=False): filePath: str layerDetails: LayerDetails lineNumber: int @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): category: str details: str location: FindingLocation - scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + scanner: typing.Literal[ + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] @typing.type_check_only -class FindingLocation(typing_extensions.TypedDict, total=False): +class FindingLocation(typing.TypedDict, total=False): filePath: str lineNumber: str @typing.type_check_only -class Fingerprint(typing_extensions.TypedDict, total=False): +class Fingerprint(typing.TypedDict, total=False): v1Name: str v2Blob: _list[str] v2Name: str @typing.type_check_only -class GerritSourceContext(typing_extensions.TypedDict, total=False): +class GerritSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext gerritProject: str hostUri: str revisionId: str @typing.type_check_only -class GitSourceContext(typing_extensions.TypedDict, total=False): +class GitSourceContext(typing.TypedDict, total=False): revisionId: str url: str @typing.type_check_only -class GrafeasV1BaseImage(typing_extensions.TypedDict, total=False): +class GrafeasV1BaseImage(typing.TypedDict, total=False): layerCount: int name: str registry: str repository: str @typing.type_check_only -class GrafeasV1FileLocation(typing_extensions.TypedDict, total=False): +class GrafeasV1FileLocation(typing.TypedDict, total=False): filePath: str layerDetails: GrafeasV1LayerDetails lineNumber: int @typing.type_check_only -class GrafeasV1LayerDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1LayerDetails(typing.TypedDict, total=False): baseImages: _list[GrafeasV1BaseImage] chainId: str command: str @@ -403,46 +400,34 @@ class GrafeasV1LayerDetails(typing_extensions.TypedDict, total=False): index: int @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder(typing.TypedDict, total=False): id: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness(typing.TypedDict, total=False): environment: bool materials: bool parameters: bool @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource(typing.TypedDict, total=False): digest: dict[str, typing.Any] entryPoint: str uri: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation(typing.TypedDict, total=False): configSource: GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource environment: dict[str, typing.Any] parameters: dict[str, typing.Any] @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial(typing.TypedDict, total=False): digest: dict[str, typing.Any] uri: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -450,38 +435,38 @@ class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata( reproducible: bool @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): +class Hash(typing.TypedDict, total=False): type: str value: str @typing.type_check_only -class Identity(typing_extensions.TypedDict, total=False): +class Identity(typing.TypedDict, total=False): revision: int updateId: str @typing.type_check_only -class ImageOccurrence(typing_extensions.TypedDict, total=False): +class ImageOccurrence(typing.TypedDict, total=False): baseResourceUrl: str distance: int fingerprint: Fingerprint layerInfo: _list[Layer] @typing.type_check_only -class InTotoProvenance(typing_extensions.TypedDict, total=False): +class InTotoProvenance(typing.TypedDict, total=False): builderConfig: BuilderConfig materials: _list[str] metadata: Metadata recipe: Recipe @typing.type_check_only -class InTotoSlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class InTotoSlsaProvenanceV1(typing.TypedDict, total=False): _type: str predicate: SlsaProvenanceV1 predicateType: str subject: _list[Subject] @typing.type_check_only -class InTotoStatement(typing_extensions.TypedDict, total=False): +class InTotoStatement(typing.TypedDict, total=False): _type: str predicateType: str provenance: InTotoProvenance @@ -490,17 +475,15 @@ class InTotoStatement(typing_extensions.TypedDict, total=False): subject: _list[Subject] @typing.type_check_only -class IngestionSource(typing_extensions.TypedDict, total=False): +class IngestionSource(typing.TypedDict, total=False): attachmentUri: str resourceUrl: str - source: typing_extensions.Literal[ - "SOURCE_UNSPECIFIED", "DOCKER_IMAGE", "SBOM_ATTACHMENT" - ] + source: typing.Literal["SOURCE_UNSPECIFIED", "DOCKER_IMAGE", "SBOM_ATTACHMENT"] @typing.type_check_only -class Justification(typing_extensions.TypedDict, total=False): +class Justification(typing.TypedDict, total=False): details: str - justificationType: typing_extensions.Literal[ + justificationType: typing.Literal[ "JUSTIFICATION_TYPE_UNSPECIFIED", "COMPONENT_NOT_PRESENT", "VULNERABLE_CODE_NOT_PRESENT", @@ -510,21 +493,21 @@ class Justification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Jwt(typing_extensions.TypedDict, total=False): +class Jwt(typing.TypedDict, total=False): compactJwt: str @typing.type_check_only -class LanguagePackageDependency(typing_extensions.TypedDict, total=False): +class LanguagePackageDependency(typing.TypedDict, total=False): package: str version: str @typing.type_check_only -class Layer(typing_extensions.TypedDict, total=False): +class Layer(typing.TypedDict, total=False): arguments: str directive: str @typing.type_check_only -class LayerDetails(typing_extensions.TypedDict, total=False): +class LayerDetails(typing.TypedDict, total=False): baseImages: _list[BaseImage] chainId: str command: str @@ -532,41 +515,56 @@ class LayerDetails(typing_extensions.TypedDict, total=False): index: int @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): comments: str expression: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListVulnerabilitiesResponseV1(typing_extensions.TypedDict, total=False): +class ListVulnerabilitiesResponseV1(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): cpeUri: str path: str version: Version @typing.type_check_only -class Maintainer(typing_extensions.TypedDict, total=False): +class Maintainer(typing.TypedDict, total=False): email: str kind: str name: str url: str @typing.type_check_only -class Material(typing_extensions.TypedDict, total=False): +class MaliciousContentLLMResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MaliciousContentStaticResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MalwareScanResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] + +@typing.type_check_only +class Material(typing.TypedDict, total=False): digest: dict[str, typing.Any] uri: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -574,13 +572,13 @@ class Metadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class NonCompliantFile(typing_extensions.TypedDict, total=False): +class NonCompliantFile(typing.TypedDict, total=False): displayCommand: str path: str reason: str @typing.type_check_only -class Occurrence(typing_extensions.TypedDict, total=False): +class Occurrence(typing.TypedDict, total=False): advisoryPublishTime: str aiSkillAnalysis: AISkillAnalysisOccurrence attestation: AttestationOccurrence @@ -592,7 +590,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): dsseAttestation: DSSEAttestationOccurrence envelope: Envelope image: ImageOccurrence - kind: typing_extensions.Literal[ + kind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -621,7 +619,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): vulnerability: VulnerabilityOccurrence @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -629,7 +627,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PackageData(typing_extensions.TypedDict, total=False): +class PackageData(typing.TypedDict, total=False): architecture: str binarySourceInfo: _list[BinarySourceInfo] binaryVersion: PackageVersion @@ -644,7 +642,7 @@ class PackageData(typing_extensions.TypedDict, total=False): os: str osVersion: str package: str - packageType: typing_extensions.Literal[ + packageType: typing.Literal[ "PACKAGE_TYPE_UNSPECIFIED", "OS", "MAVEN", @@ -664,11 +662,11 @@ class PackageData(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PackageIssue(typing_extensions.TypedDict, total=False): +class PackageIssue(typing.TypedDict, total=False): affectedCpeUri: str affectedPackage: str affectedVersion: Version - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] fileLocation: _list[GrafeasV1FileLocation] @@ -679,8 +677,8 @@ class PackageIssue(typing_extensions.TypedDict, total=False): packageType: str @typing.type_check_only -class PackageOccurrence(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class PackageOccurrence(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str license: License location: _list[Location] @@ -689,24 +687,31 @@ class PackageOccurrence(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class PackageVersion(typing_extensions.TypedDict, total=False): +class PackageVersion(typing.TypedDict, total=False): licenses: _list[str] name: str version: str @typing.type_check_only -class ProjectRepoId(typing_extensions.TypedDict, total=False): +class PerScannerVerdict(typing.TypedDict, total=False): + maliciousContentLlmResult: MaliciousContentLLMResult + maliciousContentStaticResult: MaliciousContentStaticResult + malwareScan: MalwareScanResult + workspacePolicy: WorkspacePolicyResult + +@typing.type_check_only +class ProjectRepoId(typing.TypedDict, total=False): projectId: str repoName: str @typing.type_check_only -class ProvenanceBuilder(typing_extensions.TypedDict, total=False): +class ProvenanceBuilder(typing.TypedDict, total=False): builderDependencies: _list[ResourceDescriptor] id: str version: dict[str, typing.Any] @typing.type_check_only -class Recipe(typing_extensions.TypedDict, total=False): +class Recipe(typing.TypedDict, total=False): arguments: _list[dict[str, typing.Any]] definedInMaterial: str entryPoint: str @@ -714,14 +719,14 @@ class Recipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RelatedUrl(typing_extensions.TypedDict, total=False): +class RelatedUrl(typing.TypedDict, total=False): label: str url: str @typing.type_check_only -class Remediation(typing_extensions.TypedDict, total=False): +class Remediation(typing.TypedDict, total=False): details: str - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "MITIGATION", "NO_FIX_PLANNED", @@ -732,12 +737,12 @@ class Remediation(typing_extensions.TypedDict, total=False): remediationUri: RelatedUrl @typing.type_check_only -class RepoId(typing_extensions.TypedDict, total=False): +class RepoId(typing.TypedDict, total=False): projectRepoId: ProjectRepoId uid: str @typing.type_check_only -class ResourceDescriptor(typing_extensions.TypedDict, total=False): +class ResourceDescriptor(typing.TypedDict, total=False): annotations: dict[str, typing.Any] content: str digest: dict[str, typing.Any] @@ -747,50 +752,48 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Risk(typing_extensions.TypedDict, total=False): +class Risk(typing.TypedDict, total=False): cisaKev: CISAKnownExploitedVulnerabilities epss: ExploitPredictionScoringSystem @typing.type_check_only -class RunDetails(typing_extensions.TypedDict, total=False): +class RunDetails(typing.TypedDict, total=False): builder: ProvenanceBuilder byproducts: _list[ResourceDescriptor] metadata: BuildMetadata @typing.type_check_only -class SBOMReferenceOccurrence(typing_extensions.TypedDict, total=False): +class SBOMReferenceOccurrence(typing.TypedDict, total=False): payload: SbomReferenceIntotoPayload payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class SBOMStatus(typing_extensions.TypedDict, total=False): +class SBOMStatus(typing.TypedDict, total=False): error: str - sbomState: typing_extensions.Literal[ - "SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE" - ] + sbomState: typing.Literal["SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE"] @typing.type_check_only -class SbomReferenceIntotoPayload(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPayload(typing.TypedDict, total=False): _type: str predicate: SbomReferenceIntotoPredicate predicateType: str subject: _list[Subject] @typing.type_check_only -class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPredicate(typing.TypedDict, total=False): digest: dict[str, typing.Any] location: str mimeType: str referrerId: str @typing.type_check_only -class SecretLocation(typing_extensions.TypedDict, total=False): +class SecretLocation(typing.TypedDict, total=False): fileLocation: GrafeasV1FileLocation @typing.type_check_only -class SecretOccurrence(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ +class SecretOccurrence(typing.TypedDict, total=False): + kind: typing.Literal[ "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", @@ -819,30 +822,28 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): statuses: _list[SecretStatus] @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): message: str - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID"] updateTime: str @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): publicKeyId: str signature: str @typing.type_check_only -class SlsaBuilder(typing_extensions.TypedDict, total=False): +class SlsaBuilder(typing.TypedDict, total=False): id: str @typing.type_check_only -class SlsaCompleteness(typing_extensions.TypedDict, total=False): +class SlsaCompleteness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class SlsaMetadata(typing_extensions.TypedDict, total=False): +class SlsaMetadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -850,19 +851,19 @@ class SlsaMetadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class SlsaProvenance(typing_extensions.TypedDict, total=False): +class SlsaProvenance(typing.TypedDict, total=False): builder: SlsaBuilder materials: _list[Material] metadata: SlsaMetadata recipe: SlsaRecipe @typing.type_check_only -class SlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class SlsaProvenanceV1(typing.TypedDict, total=False): buildDefinition: BuildDefinition runDetails: RunDetails @typing.type_check_only -class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): +class SlsaProvenanceZeroTwo(typing.TypedDict, total=False): buildConfig: dict[str, typing.Any] buildType: str builder: GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder @@ -871,7 +872,7 @@ class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): metadata: GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata @typing.type_check_only -class SlsaRecipe(typing_extensions.TypedDict, total=False): +class SlsaRecipe(typing.TypedDict, total=False): arguments: dict[str, typing.Any] definedInMaterial: str entryPoint: str @@ -879,78 +880,76 @@ class SlsaRecipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): additionalContexts: _list[SourceContext] artifactStorageSourceUri: str context: SourceContext fileHashes: dict[str, typing.Any] @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): cloudRepo: CloudRepoSourceContext gerrit: GerritSourceContext git: GitSourceContext labels: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): +class Subject(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class UpgradeDistribution(typing_extensions.TypedDict, total=False): +class UpgradeDistribution(typing.TypedDict, total=False): classification: str cpeUri: str cve: _list[str] severity: str @typing.type_check_only -class UpgradeOccurrence(typing_extensions.TypedDict, total=False): +class UpgradeOccurrence(typing.TypedDict, total=False): distribution: UpgradeDistribution package: str parsedVersion: Version windowsUpdate: WindowsUpdate @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): epoch: int fullName: str inclusive: bool - kind: typing_extensions.Literal[ - "VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM" - ] + kind: typing.Literal["VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM"] name: str revision: str @typing.type_check_only -class VexAssessment(typing_extensions.TypedDict, total=False): +class VexAssessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification noteName: str relatedUris: _list[RelatedUrl] remediations: _list[Remediation] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): +class VulnerabilityOccurrence(typing.TypedDict, total=False): cvssScore: float cvssV2: CVSS cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] cvssv3: CVSS - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] extraDetails: str @@ -959,7 +958,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): packageIssue: _list[PackageIssue] relatedUrls: _list[RelatedUrl] risk: Risk - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] shortDescription: str @@ -967,7 +966,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): vexAssessment: VexAssessment @typing.type_check_only -class WindowsUpdate(typing_extensions.TypedDict, total=False): +class WindowsUpdate(typing.TypedDict, total=False): categories: _list[Category] description: str identity: Identity @@ -975,3 +974,8 @@ class WindowsUpdate(typing_extensions.TypedDict, total=False): lastPublishedTimestamp: str supportUrl: str title: str + +@typing.type_check_only +class WorkspacePolicyResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi index c6613551c..d9a777143 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi index a1f427f02..648e089c0 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi @@ -1,86 +1,85 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AISkillAnalysisOccurrence(typing_extensions.TypedDict, total=False): +class AISkillAnalysisOccurrence(typing.TypedDict, total=False): findings: _list[Finding] - maxSeverity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + perScannerVerdict: PerScannerVerdict skillName: str @typing.type_check_only -class AliasContext(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] +class AliasContext(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "FIXED", "MOVABLE", "OTHER"] name: str @typing.type_check_only -class AnalysisCompleted(typing_extensions.TypedDict, total=False): +class AnalysisCompleted(typing.TypedDict, total=False): analysisType: _list[str] @typing.type_check_only -class AnalyzePackagesMetadata(typing_extensions.TypedDict, total=False): +class AnalyzePackagesMetadata(typing.TypedDict, total=False): createTime: str resourceUri: str @typing.type_check_only -class AnalyzePackagesMetadataV1(typing_extensions.TypedDict, total=False): +class AnalyzePackagesMetadataV1(typing.TypedDict, total=False): createTime: str resourceUri: str @typing.type_check_only -class AnalyzePackagesRequest(typing_extensions.TypedDict, total=False): +class AnalyzePackagesRequest(typing.TypedDict, total=False): packages: _list[PackageData] resourceUri: str @typing.type_check_only -class AnalyzePackagesResponse(typing_extensions.TypedDict, total=False): +class AnalyzePackagesResponse(typing.TypedDict, total=False): scan: str @typing.type_check_only -class AnalyzePackagesResponseV1(typing_extensions.TypedDict, total=False): +class AnalyzePackagesResponseV1(typing.TypedDict, total=False): scan: str @typing.type_check_only -class Artifact(typing_extensions.TypedDict, total=False): +class Artifact(typing.TypedDict, total=False): checksum: str id: str names: _list[str] @typing.type_check_only -class AttestationOccurrence(typing_extensions.TypedDict, total=False): +class AttestationOccurrence(typing.TypedDict, total=False): jwts: _list[Jwt] serializedPayload: str signatures: _list[Signature] @typing.type_check_only -class BaseImage(typing_extensions.TypedDict, total=False): +class BaseImage(typing.TypedDict, total=False): layerCount: int name: str registry: str repository: str @typing.type_check_only -class BinarySourceInfo(typing_extensions.TypedDict, total=False): +class BinarySourceInfo(typing.TypedDict, total=False): binaryVersion: PackageVersion sourceVersion: PackageVersion @typing.type_check_only -class BuildDefinition(typing_extensions.TypedDict, total=False): +class BuildDefinition(typing.TypedDict, total=False): buildType: str externalParameters: dict[str, typing.Any] internalParameters: dict[str, typing.Any] resolvedDependencies: _list[ResourceDescriptor] @typing.type_check_only -class BuildMetadata(typing_extensions.TypedDict, total=False): +class BuildMetadata(typing.TypedDict, total=False): finishedOn: str invocationId: str startedOn: str @typing.type_check_only -class BuildOccurrence(typing_extensions.TypedDict, total=False): +class BuildOccurrence(typing.TypedDict, total=False): inTotoSlsaProvenanceV1: InTotoSlsaProvenanceV1 intotoProvenance: InTotoProvenance intotoStatement: InTotoStatement @@ -88,7 +87,7 @@ class BuildOccurrence(typing_extensions.TypedDict, total=False): provenanceBytes: str @typing.type_check_only -class BuildProvenance(typing_extensions.TypedDict, total=False): +class BuildProvenance(typing.TypedDict, total=False): buildOptions: dict[str, typing.Any] builderVersion: str builtArtifacts: _list[Artifact] @@ -104,40 +103,40 @@ class BuildProvenance(typing_extensions.TypedDict, total=False): triggerId: str @typing.type_check_only -class BuilderConfig(typing_extensions.TypedDict, total=False): +class BuilderConfig(typing.TypedDict, total=False): id: str @typing.type_check_only -class CISAKnownExploitedVulnerabilities(typing_extensions.TypedDict, total=False): +class CISAKnownExploitedVulnerabilities(typing.TypedDict, total=False): knownRansomwareCampaignUse: str @typing.type_check_only -class CVSS(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSS(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", "ATTACK_COMPLEXITY_MEDIUM", ] - attackRequirements: typing_extensions.Literal[ + attackRequirements: typing.Literal[ "ATTACK_REQUIREMENTS_UNSPECIFIED", "ATTACK_REQUIREMENTS_NONE", "ATTACK_REQUIREMENTS_PRESENT", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - authentication: typing_extensions.Literal[ + authentication: typing.Literal[ "AUTHENTICATION_UNSPECIFIED", "AUTHENTICATION_MULTIPLE", "AUTHENTICATION_SINGLE", "AUTHENTICATION_NONE", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -146,7 +145,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_COMPLETE", ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -154,7 +153,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - exploitMaturity: typing_extensions.Literal[ + exploitMaturity: typing.Literal[ "EXPLOIT_MATURITY_UNSPECIFIED", "EXPLOIT_MATURITY_NOT_DEFINED", "EXPLOIT_MATURITY_ATTACKED", @@ -163,7 +162,7 @@ class CVSS(typing_extensions.TypedDict, total=False): ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -171,16 +170,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - subsequentSystemAvailabilityImpact: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + subsequentSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -188,7 +185,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemConfidentialityImpact: typing_extensions.Literal[ + subsequentSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -196,7 +193,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - subsequentSystemIntegrityImpact: typing_extensions.Literal[ + subsequentSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -204,14 +201,14 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - userInteraction: typing_extensions.Literal[ + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", "USER_INTERACTION_PASSIVE", "USER_INTERACTION_ACTIVE", ] - vulnerableSystemAvailabilityImpact: typing_extensions.Literal[ + vulnerableSystemAvailabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -219,7 +216,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemConfidentialityImpact: typing_extensions.Literal[ + vulnerableSystemConfidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -227,7 +224,7 @@ class CVSS(typing_extensions.TypedDict, total=False): "IMPACT_PARTIAL", "IMPACT_COMPLETE", ] - vulnerableSystemIntegrityImpact: typing_extensions.Literal[ + vulnerableSystemIntegrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", @@ -237,18 +234,18 @@ class CVSS(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Category(typing_extensions.TypedDict, total=False): +class Category(typing.TypedDict, total=False): categoryId: str name: str @typing.type_check_only -class CloudRepoSourceContext(typing_extensions.TypedDict, total=False): +class CloudRepoSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext repoId: RepoId revisionId: str @typing.type_check_only -class Command(typing_extensions.TypedDict, total=False): +class Command(typing.TypedDict, total=False): args: _list[str] dir: str env: _list[str] @@ -257,43 +254,43 @@ class Command(typing_extensions.TypedDict, total=False): waitFor: _list[str] @typing.type_check_only -class Completeness(typing_extensions.TypedDict, total=False): +class Completeness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class ComplianceOccurrence(typing_extensions.TypedDict, total=False): +class ComplianceOccurrence(typing.TypedDict, total=False): nonComplianceReason: str nonCompliantFiles: _list[NonCompliantFile] version: ComplianceVersion @typing.type_check_only -class ComplianceVersion(typing_extensions.TypedDict, total=False): +class ComplianceVersion(typing.TypedDict, total=False): benchmarkDocument: str cpeUri: str version: str @typing.type_check_only -class DSSEAttestationOccurrence(typing_extensions.TypedDict, total=False): +class DSSEAttestationOccurrence(typing.TypedDict, total=False): envelope: Envelope statement: InTotoStatement @typing.type_check_only -class DeploymentOccurrence(typing_extensions.TypedDict, total=False): +class DeploymentOccurrence(typing.TypedDict, total=False): address: str config: str deployTime: str - platform: typing_extensions.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] + platform: typing.Literal["PLATFORM_UNSPECIFIED", "GKE", "FLEX", "CUSTOM"] resourceUri: _list[str] undeployTime: str userEmail: str @typing.type_check_only -class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): +class DiscoveryOccurrence(typing.TypedDict, total=False): analysisCompleted: AnalysisCompleted analysisError: _list[Status] - analysisStatus: typing_extensions.Literal[ + analysisStatus: typing.Literal[ "ANALYSIS_STATUS_UNSPECIFIED", "PENDING", "SCANNING", @@ -304,7 +301,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): ] analysisStatusError: Status archiveTime: str - continuousAnalysis: typing_extensions.Literal[ + continuousAnalysis: typing.Literal[ "CONTINUOUS_ANALYSIS_UNSPECIFIED", "ACTIVE", "INACTIVE" ] cpe: str @@ -314,87 +311,87 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): sbomStatus: SBOMStatus @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Envelope(typing_extensions.TypedDict, total=False): +class Envelope(typing.TypedDict, total=False): payload: str payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class EnvelopeSignature(typing_extensions.TypedDict, total=False): +class EnvelopeSignature(typing.TypedDict, total=False): keyid: str sig: str @typing.type_check_only -class ExploitPredictionScoringSystem(typing_extensions.TypedDict, total=False): +class ExploitPredictionScoringSystem(typing.TypedDict, total=False): percentile: float score: float @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class FileHashes(typing_extensions.TypedDict, total=False): +class FileHashes(typing.TypedDict, total=False): fileHash: _list[Hash] @typing.type_check_only -class FileLocation(typing_extensions.TypedDict, total=False): +class FileLocation(typing.TypedDict, total=False): filePath: str layerDetails: LayerDetails lineNumber: int @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): category: str details: str location: FindingLocation - scanner: typing_extensions.Literal[ - "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY" + scanner: typing.Literal[ + "SCANNER_UNSPECIFIED", "STATIC", "LLM", "WS_POLICY", "GOOGLE_ANTIVIRUS" ] - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] @typing.type_check_only -class FindingLocation(typing_extensions.TypedDict, total=False): +class FindingLocation(typing.TypedDict, total=False): filePath: str lineNumber: str @typing.type_check_only -class Fingerprint(typing_extensions.TypedDict, total=False): +class Fingerprint(typing.TypedDict, total=False): v1Name: str v2Blob: _list[str] v2Name: str @typing.type_check_only -class GerritSourceContext(typing_extensions.TypedDict, total=False): +class GerritSourceContext(typing.TypedDict, total=False): aliasContext: AliasContext gerritProject: str hostUri: str revisionId: str @typing.type_check_only -class GitSourceContext(typing_extensions.TypedDict, total=False): +class GitSourceContext(typing.TypedDict, total=False): revisionId: str url: str @typing.type_check_only -class GrafeasV1BaseImage(typing_extensions.TypedDict, total=False): +class GrafeasV1BaseImage(typing.TypedDict, total=False): layerCount: int name: str registry: str repository: str @typing.type_check_only -class GrafeasV1FileLocation(typing_extensions.TypedDict, total=False): +class GrafeasV1FileLocation(typing.TypedDict, total=False): filePath: str layerDetails: GrafeasV1LayerDetails lineNumber: int @typing.type_check_only -class GrafeasV1LayerDetails(typing_extensions.TypedDict, total=False): +class GrafeasV1LayerDetails(typing.TypedDict, total=False): baseImages: _list[GrafeasV1BaseImage] chainId: str command: str @@ -402,46 +399,34 @@ class GrafeasV1LayerDetails(typing_extensions.TypedDict, total=False): index: int @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder(typing.TypedDict, total=False): id: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness(typing.TypedDict, total=False): environment: bool materials: bool parameters: bool @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource(typing.TypedDict, total=False): digest: dict[str, typing.Any] entryPoint: str uri: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation(typing.TypedDict, total=False): configSource: GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource environment: dict[str, typing.Any] parameters: dict[str, typing.Any] @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial(typing.TypedDict, total=False): digest: dict[str, typing.Any] uri: str @typing.type_check_only -class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata( - typing_extensions.TypedDict, total=False -): +class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -449,38 +434,38 @@ class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata( reproducible: bool @typing.type_check_only -class Hash(typing_extensions.TypedDict, total=False): +class Hash(typing.TypedDict, total=False): type: str value: str @typing.type_check_only -class Identity(typing_extensions.TypedDict, total=False): +class Identity(typing.TypedDict, total=False): revision: int updateId: str @typing.type_check_only -class ImageOccurrence(typing_extensions.TypedDict, total=False): +class ImageOccurrence(typing.TypedDict, total=False): baseResourceUrl: str distance: int fingerprint: Fingerprint layerInfo: _list[Layer] @typing.type_check_only -class InTotoProvenance(typing_extensions.TypedDict, total=False): +class InTotoProvenance(typing.TypedDict, total=False): builderConfig: BuilderConfig materials: _list[str] metadata: Metadata recipe: Recipe @typing.type_check_only -class InTotoSlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class InTotoSlsaProvenanceV1(typing.TypedDict, total=False): _type: str predicate: SlsaProvenanceV1 predicateType: str subject: _list[Subject] @typing.type_check_only -class InTotoStatement(typing_extensions.TypedDict, total=False): +class InTotoStatement(typing.TypedDict, total=False): _type: str predicateType: str provenance: InTotoProvenance @@ -489,17 +474,15 @@ class InTotoStatement(typing_extensions.TypedDict, total=False): subject: _list[Subject] @typing.type_check_only -class IngestionSource(typing_extensions.TypedDict, total=False): +class IngestionSource(typing.TypedDict, total=False): attachmentUri: str resourceUrl: str - source: typing_extensions.Literal[ - "SOURCE_UNSPECIFIED", "DOCKER_IMAGE", "SBOM_ATTACHMENT" - ] + source: typing.Literal["SOURCE_UNSPECIFIED", "DOCKER_IMAGE", "SBOM_ATTACHMENT"] @typing.type_check_only -class Justification(typing_extensions.TypedDict, total=False): +class Justification(typing.TypedDict, total=False): details: str - justificationType: typing_extensions.Literal[ + justificationType: typing.Literal[ "JUSTIFICATION_TYPE_UNSPECIFIED", "COMPONENT_NOT_PRESENT", "VULNERABLE_CODE_NOT_PRESENT", @@ -509,21 +492,21 @@ class Justification(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Jwt(typing_extensions.TypedDict, total=False): +class Jwt(typing.TypedDict, total=False): compactJwt: str @typing.type_check_only -class LanguagePackageDependency(typing_extensions.TypedDict, total=False): +class LanguagePackageDependency(typing.TypedDict, total=False): package: str version: str @typing.type_check_only -class Layer(typing_extensions.TypedDict, total=False): +class Layer(typing.TypedDict, total=False): arguments: str directive: str @typing.type_check_only -class LayerDetails(typing_extensions.TypedDict, total=False): +class LayerDetails(typing.TypedDict, total=False): baseImages: _list[BaseImage] chainId: str command: str @@ -531,41 +514,56 @@ class LayerDetails(typing_extensions.TypedDict, total=False): index: int @typing.type_check_only -class License(typing_extensions.TypedDict, total=False): +class License(typing.TypedDict, total=False): comments: str expression: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListVulnerabilitiesResponse(typing_extensions.TypedDict, total=False): +class ListVulnerabilitiesResponse(typing.TypedDict, total=False): nextPageToken: str occurrences: _list[Occurrence] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): cpeUri: str path: str version: Version @typing.type_check_only -class Maintainer(typing_extensions.TypedDict, total=False): +class Maintainer(typing.TypedDict, total=False): email: str kind: str name: str url: str @typing.type_check_only -class Material(typing_extensions.TypedDict, total=False): +class MaliciousContentLLMResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MaliciousContentStaticResult(typing.TypedDict, total=False): + maxSeverity: typing.Literal["SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH"] + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + +@typing.type_check_only +class MalwareScanResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] + +@typing.type_check_only +class Material(typing.TypedDict, total=False): digest: dict[str, typing.Any] uri: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -573,13 +571,13 @@ class Metadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class NonCompliantFile(typing_extensions.TypedDict, total=False): +class NonCompliantFile(typing.TypedDict, total=False): displayCommand: str path: str reason: str @typing.type_check_only -class Occurrence(typing_extensions.TypedDict, total=False): +class Occurrence(typing.TypedDict, total=False): advisoryPublishTime: str aiSkillAnalysis: AISkillAnalysisOccurrence attestation: AttestationOccurrence @@ -591,7 +589,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): dsseAttestation: DSSEAttestationOccurrence envelope: Envelope image: ImageOccurrence - kind: typing_extensions.Literal[ + kind: typing.Literal[ "NOTE_KIND_UNSPECIFIED", "VULNERABILITY", "BUILD", @@ -620,7 +618,7 @@ class Occurrence(typing_extensions.TypedDict, total=False): vulnerability: VulnerabilityOccurrence @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -628,7 +626,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PackageData(typing_extensions.TypedDict, total=False): +class PackageData(typing.TypedDict, total=False): architecture: str binarySourceInfo: _list[BinarySourceInfo] binaryVersion: PackageVersion @@ -643,7 +641,7 @@ class PackageData(typing_extensions.TypedDict, total=False): os: str osVersion: str package: str - packageType: typing_extensions.Literal[ + packageType: typing.Literal[ "PACKAGE_TYPE_UNSPECIFIED", "OS", "MAVEN", @@ -663,11 +661,11 @@ class PackageData(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PackageIssue(typing_extensions.TypedDict, total=False): +class PackageIssue(typing.TypedDict, total=False): affectedCpeUri: str affectedPackage: str affectedVersion: Version - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] fileLocation: _list[GrafeasV1FileLocation] @@ -678,8 +676,8 @@ class PackageIssue(typing_extensions.TypedDict, total=False): packageType: str @typing.type_check_only -class PackageOccurrence(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] +class PackageOccurrence(typing.TypedDict, total=False): + architecture: typing.Literal["ARCHITECTURE_UNSPECIFIED", "X86", "X64"] cpeUri: str license: License location: _list[Location] @@ -688,24 +686,31 @@ class PackageOccurrence(typing_extensions.TypedDict, total=False): version: Version @typing.type_check_only -class PackageVersion(typing_extensions.TypedDict, total=False): +class PackageVersion(typing.TypedDict, total=False): licenses: _list[str] name: str version: str @typing.type_check_only -class ProjectRepoId(typing_extensions.TypedDict, total=False): +class PerScannerVerdict(typing.TypedDict, total=False): + maliciousContentLlmResult: MaliciousContentLLMResult + maliciousContentStaticResult: MaliciousContentStaticResult + malwareScan: MalwareScanResult + workspacePolicy: WorkspacePolicyResult + +@typing.type_check_only +class ProjectRepoId(typing.TypedDict, total=False): projectId: str repoName: str @typing.type_check_only -class ProvenanceBuilder(typing_extensions.TypedDict, total=False): +class ProvenanceBuilder(typing.TypedDict, total=False): builderDependencies: _list[ResourceDescriptor] id: str version: dict[str, typing.Any] @typing.type_check_only -class Recipe(typing_extensions.TypedDict, total=False): +class Recipe(typing.TypedDict, total=False): arguments: _list[dict[str, typing.Any]] definedInMaterial: str entryPoint: str @@ -713,14 +718,14 @@ class Recipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class RelatedUrl(typing_extensions.TypedDict, total=False): +class RelatedUrl(typing.TypedDict, total=False): label: str url: str @typing.type_check_only -class Remediation(typing_extensions.TypedDict, total=False): +class Remediation(typing.TypedDict, total=False): details: str - remediationType: typing_extensions.Literal[ + remediationType: typing.Literal[ "REMEDIATION_TYPE_UNSPECIFIED", "MITIGATION", "NO_FIX_PLANNED", @@ -731,12 +736,12 @@ class Remediation(typing_extensions.TypedDict, total=False): remediationUri: RelatedUrl @typing.type_check_only -class RepoId(typing_extensions.TypedDict, total=False): +class RepoId(typing.TypedDict, total=False): projectRepoId: ProjectRepoId uid: str @typing.type_check_only -class ResourceDescriptor(typing_extensions.TypedDict, total=False): +class ResourceDescriptor(typing.TypedDict, total=False): annotations: dict[str, typing.Any] content: str digest: dict[str, typing.Any] @@ -746,50 +751,48 @@ class ResourceDescriptor(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Risk(typing_extensions.TypedDict, total=False): +class Risk(typing.TypedDict, total=False): cisaKev: CISAKnownExploitedVulnerabilities epss: ExploitPredictionScoringSystem @typing.type_check_only -class RunDetails(typing_extensions.TypedDict, total=False): +class RunDetails(typing.TypedDict, total=False): builder: ProvenanceBuilder byproducts: _list[ResourceDescriptor] metadata: BuildMetadata @typing.type_check_only -class SBOMReferenceOccurrence(typing_extensions.TypedDict, total=False): +class SBOMReferenceOccurrence(typing.TypedDict, total=False): payload: SbomReferenceIntotoPayload payloadType: str signatures: _list[EnvelopeSignature] @typing.type_check_only -class SBOMStatus(typing_extensions.TypedDict, total=False): +class SBOMStatus(typing.TypedDict, total=False): error: str - sbomState: typing_extensions.Literal[ - "SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE" - ] + sbomState: typing.Literal["SBOM_STATE_UNSPECIFIED", "PENDING", "COMPLETE"] @typing.type_check_only -class SbomReferenceIntotoPayload(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPayload(typing.TypedDict, total=False): _type: str predicate: SbomReferenceIntotoPredicate predicateType: str subject: _list[Subject] @typing.type_check_only -class SbomReferenceIntotoPredicate(typing_extensions.TypedDict, total=False): +class SbomReferenceIntotoPredicate(typing.TypedDict, total=False): digest: dict[str, typing.Any] location: str mimeType: str referrerId: str @typing.type_check_only -class SecretLocation(typing_extensions.TypedDict, total=False): +class SecretLocation(typing.TypedDict, total=False): fileLocation: GrafeasV1FileLocation @typing.type_check_only -class SecretOccurrence(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ +class SecretOccurrence(typing.TypedDict, total=False): + kind: typing.Literal[ "SECRET_KIND_UNSPECIFIED", "SECRET_KIND_UNKNOWN", "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", @@ -818,30 +821,28 @@ class SecretOccurrence(typing_extensions.TypedDict, total=False): statuses: _list[SecretStatus] @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): message: str - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "UNKNOWN", "VALID", "INVALID"] updateTime: str @typing.type_check_only -class Signature(typing_extensions.TypedDict, total=False): +class Signature(typing.TypedDict, total=False): publicKeyId: str signature: str @typing.type_check_only -class SlsaBuilder(typing_extensions.TypedDict, total=False): +class SlsaBuilder(typing.TypedDict, total=False): id: str @typing.type_check_only -class SlsaCompleteness(typing_extensions.TypedDict, total=False): +class SlsaCompleteness(typing.TypedDict, total=False): arguments: bool environment: bool materials: bool @typing.type_check_only -class SlsaMetadata(typing_extensions.TypedDict, total=False): +class SlsaMetadata(typing.TypedDict, total=False): buildFinishedOn: str buildInvocationId: str buildStartedOn: str @@ -849,19 +850,19 @@ class SlsaMetadata(typing_extensions.TypedDict, total=False): reproducible: bool @typing.type_check_only -class SlsaProvenance(typing_extensions.TypedDict, total=False): +class SlsaProvenance(typing.TypedDict, total=False): builder: SlsaBuilder materials: _list[Material] metadata: SlsaMetadata recipe: SlsaRecipe @typing.type_check_only -class SlsaProvenanceV1(typing_extensions.TypedDict, total=False): +class SlsaProvenanceV1(typing.TypedDict, total=False): buildDefinition: BuildDefinition runDetails: RunDetails @typing.type_check_only -class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): +class SlsaProvenanceZeroTwo(typing.TypedDict, total=False): buildConfig: dict[str, typing.Any] buildType: str builder: GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder @@ -870,7 +871,7 @@ class SlsaProvenanceZeroTwo(typing_extensions.TypedDict, total=False): metadata: GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata @typing.type_check_only -class SlsaRecipe(typing_extensions.TypedDict, total=False): +class SlsaRecipe(typing.TypedDict, total=False): arguments: dict[str, typing.Any] definedInMaterial: str entryPoint: str @@ -878,78 +879,76 @@ class SlsaRecipe(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): additionalContexts: _list[SourceContext] artifactStorageSourceUri: str context: SourceContext fileHashes: dict[str, typing.Any] @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): cloudRepo: CloudRepoSourceContext gerrit: GerritSourceContext git: GitSourceContext labels: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): +class Subject(typing.TypedDict, total=False): digest: dict[str, typing.Any] name: str @typing.type_check_only -class UpgradeDistribution(typing_extensions.TypedDict, total=False): +class UpgradeDistribution(typing.TypedDict, total=False): classification: str cpeUri: str cve: _list[str] severity: str @typing.type_check_only -class UpgradeOccurrence(typing_extensions.TypedDict, total=False): +class UpgradeOccurrence(typing.TypedDict, total=False): distribution: UpgradeDistribution package: str parsedVersion: Version windowsUpdate: WindowsUpdate @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): epoch: int fullName: str inclusive: bool - kind: typing_extensions.Literal[ - "VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM" - ] + kind: typing.Literal["VERSION_KIND_UNSPECIFIED", "NORMAL", "MINIMUM", "MAXIMUM"] name: str revision: str @typing.type_check_only -class VexAssessment(typing_extensions.TypedDict, total=False): +class VexAssessment(typing.TypedDict, total=False): cve: str impacts: _list[str] justification: Justification noteName: str relatedUris: _list[RelatedUrl] remediations: _list[Remediation] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "AFFECTED", "NOT_AFFECTED", "FIXED", "UNDER_INVESTIGATION" ] vulnerabilityId: str @typing.type_check_only -class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): +class VulnerabilityOccurrence(typing.TypedDict, total=False): cvssScore: float cvssV2: CVSS cvssV4: CVSS - cvssVersion: typing_extensions.Literal[ + cvssVersion: typing.Literal[ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", "CVSS_VERSION_3", "CVSS_VERSION_4" ] cvssv3: CVSS - effectiveSeverity: typing_extensions.Literal[ + effectiveSeverity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] extraDetails: str @@ -958,7 +957,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): packageIssue: _list[PackageIssue] relatedUrls: _list[RelatedUrl] risk: Risk - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "MINIMAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] shortDescription: str @@ -966,7 +965,7 @@ class VulnerabilityOccurrence(typing_extensions.TypedDict, total=False): vexAssessment: VexAssessment @typing.type_check_only -class WindowsUpdate(typing_extensions.TypedDict, total=False): +class WindowsUpdate(typing.TypedDict, total=False): categories: _list[Category] description: str identity: Identity @@ -974,3 +973,8 @@ class WindowsUpdate(typing_extensions.TypedDict, total=False): lastPublishedTimestamp: str supportUrl: str title: str + +@typing.type_check_only +class WorkspacePolicyResult(typing.TypedDict, total=False): + scanStatus: typing.Literal["SCAN_STATUS_UNSPECIFIED", "PERFORMED", "NOT_PERFORMED"] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASSED", "FAILED"] diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi index ae3eba48d..34944fece 100644 --- a/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi index 98ce3be2e..50cd3c1ef 100644 --- a/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/oracledatabase/v1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AllConnectionStrings(typing_extensions.TypedDict, total=False): +class AllConnectionStrings(typing.TypedDict, total=False): high: str low: str medium: str @typing.type_check_only -class AmazonS3IcebergStorage(typing_extensions.TypedDict, total=False): +class AmazonS3IcebergStorage(typing.TypedDict, total=False): accessKeyId: str bucket: str endpoint: str region: str - schemeType: typing_extensions.Literal["SCHEME_TYPE_UNSPECIFIED", "S3", "S3A"] + schemeType: typing.Literal["SCHEME_TYPE_UNSPECIFIED", "S3", "S3A"] secretAccessKeySecret: str @typing.type_check_only -class AutonomousDatabase(typing_extensions.TypedDict, total=False): +class AutonomousDatabase(typing.TypedDict, total=False): adminPassword: str adminPasswordSecretVersion: str cidr: str @@ -39,12 +37,12 @@ class AutonomousDatabase(typing_extensions.TypedDict, total=False): sourceConfig: SourceConfig @typing.type_check_only -class AutonomousDatabaseApex(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseApex(typing.TypedDict, total=False): apexVersion: str ordsVersion: str @typing.type_check_only -class AutonomousDatabaseBackup(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseBackup(typing.TypedDict, total=False): autonomousDatabase: str displayName: str labels: dict[str, typing.Any] @@ -52,7 +50,7 @@ class AutonomousDatabaseBackup(typing_extensions.TypedDict, total=False): properties: AutonomousDatabaseBackupProperties @typing.type_check_only -class AutonomousDatabaseBackupProperties(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseBackupProperties(typing.TypedDict, total=False): availableTillTime: str compartmentId: str databaseSizeTb: float @@ -66,7 +64,7 @@ class AutonomousDatabaseBackupProperties(typing_extensions.TypedDict, total=Fals kmsKeyId: str kmsKeyVersionId: str lifecycleDetails: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -79,21 +77,19 @@ class AutonomousDatabaseBackupProperties(typing_extensions.TypedDict, total=Fals retentionPeriodDays: int sizeTb: float startTime: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "INCREMENTAL", "FULL", "LONG_TERM" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "INCREMENTAL", "FULL", "LONG_TERM"] vaultId: str @typing.type_check_only -class AutonomousDatabaseCharacterSet(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseCharacterSet(typing.TypedDict, total=False): characterSet: str - characterSetType: typing_extensions.Literal[ + characterSetType: typing.Literal[ "CHARACTER_SET_TYPE_UNSPECIFIED", "DATABASE", "NATIONAL" ] name: str @typing.type_check_only -class AutonomousDatabaseConnectionStrings(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseConnectionStrings(typing.TypedDict, total=False): allConnectionStrings: AllConnectionStrings dedicated: str high: str @@ -102,7 +98,7 @@ class AutonomousDatabaseConnectionStrings(typing_extensions.TypedDict, total=Fal profiles: _list[DatabaseConnectionStringProfile] @typing.type_check_only -class AutonomousDatabaseConnectionUrls(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseConnectionUrls(typing.TypedDict, total=False): apexUri: str databaseTransformsUri: str graphStudioUri: str @@ -113,7 +109,7 @@ class AutonomousDatabaseConnectionUrls(typing_extensions.TypedDict, total=False) sqlDevWebUri: str @typing.type_check_only -class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseProperties(typing.TypedDict, total=False): actualUsedDataStorageSizeTb: float allocatedStorageSizeTb: float allowlistedIps: _list[str] @@ -129,7 +125,7 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): cpuCoreCount: int customerContacts: _list[CustomerContact] dataGuardRoleChangedTime: str - dataSafeState: typing_extensions.Literal[ + dataSafeState: typing.Literal[ "DATA_SAFE_STATE_UNSPECIFIED", "REGISTERING", "REGISTERED", @@ -139,7 +135,7 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): ] dataStorageSizeGb: int dataStorageSizeTb: int - databaseManagementState: typing_extensions.Literal[ + databaseManagementState: typing.Literal[ "DATABASE_MANAGEMENT_STATE_UNSPECIFIED", "ENABLING", "ENABLED", @@ -148,13 +144,11 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): "FAILED_ENABLING", "FAILED_DISABLING", ] - dbEdition: typing_extensions.Literal[ + dbEdition: typing.Literal[ "DATABASE_EDITION_UNSPECIFIED", "STANDARD_EDITION", "ENTERPRISE_EDITION" ] dbVersion: str - dbWorkload: typing_extensions.Literal[ - "DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX" - ] + dbWorkload: typing.Literal["DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX"] disasterRecoveryRoleChangedTime: str encryptionKey: EncryptionKey encryptionKeyHistoryEntries: _list[EncryptionKeyHistoryEntry] @@ -162,14 +156,14 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): isAutoScalingEnabled: bool isLocalDataGuardEnabled: bool isStorageAutoScalingEnabled: bool - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "LICENSE_TYPE_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" ] lifecycleDetails: str localAdgAutoFailoverMaxDataLossLimit: int localAdgAutoFailoverMaxDataLossLimitDuration: int localDataGuardEnabled: bool - localDisasterRecoveryType: typing_extensions.Literal[ + localDisasterRecoveryType: typing.Literal[ "LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED", "ADG", "BACKUP_BASED", @@ -178,7 +172,7 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): localStandbyDb: AutonomousDatabaseStandbySummary maintenanceBeginTime: str maintenanceEndTime: str - maintenanceScheduleType: typing_extensions.Literal[ + maintenanceScheduleType: typing.Literal[ "MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED", "EARLY", "REGULAR" ] memoryPerOracleComputeUnitGbs: int @@ -188,10 +182,8 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): nextLongTermBackupTime: str ociUrl: str ocid: str - openMode: typing_extensions.Literal[ - "OPEN_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE" - ] - operationsInsightsState: typing_extensions.Literal[ + openMode: typing.Literal["OPEN_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] + operationsInsightsState: typing.Literal[ "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED", "ENABLING", "ENABLED", @@ -201,20 +193,20 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): "FAILED_DISABLING", ] peerDbIds: _list[str] - permissionLevel: typing_extensions.Literal[ + permissionLevel: typing.Literal[ "PERMISSION_LEVEL_UNSPECIFIED", "RESTRICTED", "UNRESTRICTED" ] privateEndpoint: str privateEndpointIp: str privateEndpointLabel: str refreshableClone: bool - refreshableMode: typing_extensions.Literal[ + refreshableMode: typing.Literal[ "REFRESHABLE_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - refreshableState: typing_extensions.Literal[ + refreshableState: typing.Literal[ "REFRESHABLE_STATE_UNSPECIFIED", "REFRESHING", "NOT_REFRESHING" ] - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "PRIMARY", "STANDBY", @@ -226,7 +218,7 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): secretId: str serviceAgentEmail: str sqlWebDeveloperUrl: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -256,21 +248,21 @@ class AutonomousDatabaseProperties(typing_extensions.TypedDict, total=False): vaultId: str @typing.type_check_only -class AutonomousDatabaseRefreshableClone(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseRefreshableClone(typing.TypedDict, total=False): name: str region: str @typing.type_check_only -class AutonomousDatabaseRefreshableClones(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseRefreshableClones(typing.TypedDict, total=False): autonomousDatabaseRefreshableClones: _list[AutonomousDatabaseRefreshableClone] @typing.type_check_only -class AutonomousDatabaseStandbySummary(typing_extensions.TypedDict, total=False): +class AutonomousDatabaseStandbySummary(typing.TypedDict, total=False): dataGuardRoleChangedTime: str disasterRecoveryRoleChangedTime: str lagTimeDuration: str lifecycleDetails: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -296,24 +288,22 @@ class AutonomousDatabaseStandbySummary(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class AutonomousDbVersion(typing_extensions.TypedDict, total=False): - dbWorkload: typing_extensions.Literal[ - "DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX" - ] +class AutonomousDbVersion(typing.TypedDict, total=False): + dbWorkload: typing.Literal["DB_WORKLOAD_UNSPECIFIED", "OLTP", "DW", "AJD", "APEX"] name: str version: str workloadUri: str @typing.type_check_only -class AzureDataLakeStorageIcebergStorage(typing_extensions.TypedDict, total=False): +class AzureDataLakeStorageIcebergStorage(typing.TypedDict, total=False): accountKeySecret: str azureAccount: str container: str endpoint: str @typing.type_check_only -class BackupDestinationDetails(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class BackupDestinationDetails(typing.TypedDict, total=False): + type: typing.Literal[ "BACKUP_DESTINATION_TYPE_UNSPECIFIED", "NFS", "RECOVERY_APPLIANCE", @@ -323,17 +313,17 @@ class BackupDestinationDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudAccountDetails(typing_extensions.TypedDict, total=False): +class CloudAccountDetails(typing.TypedDict, total=False): accountCreationUri: str cloudAccount: str cloudAccountHomeRegion: str linkExistingAccountUri: str @typing.type_check_only -class CloudExadataInfrastructure(typing_extensions.TypedDict, total=False): +class CloudExadataInfrastructure(typing.TypedDict, total=False): createTime: str displayName: str entitlementId: str @@ -343,12 +333,12 @@ class CloudExadataInfrastructure(typing_extensions.TypedDict, total=False): properties: CloudExadataInfrastructureProperties @typing.type_check_only -class CloudExadataInfrastructureProperties(typing_extensions.TypedDict, total=False): +class CloudExadataInfrastructureProperties(typing.TypedDict, total=False): activatedStorageCount: int additionalStorageCount: int availableStorageSizeGb: int computeCount: int - computeModel: typing_extensions.Literal[ + computeModel: typing.Literal[ "COMPUTE_MODEL_UNSPECIFIED", "COMPUTE_MODEL_ECPU", "COMPUTE_MODEL_OCPU" ] cpuCount: int @@ -372,7 +362,7 @@ class CloudExadataInfrastructureProperties(typing_extensions.TypedDict, total=Fa ociUrl: str ocid: str shape: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -388,7 +378,7 @@ class CloudExadataInfrastructureProperties(typing_extensions.TypedDict, total=Fa totalStorageSizeGb: int @typing.type_check_only -class CloudVmCluster(typing_extensions.TypedDict, total=False): +class CloudVmCluster(typing.TypedDict, total=False): backupOdbSubnet: str backupSubnetCidr: str cidr: str @@ -406,10 +396,10 @@ class CloudVmCluster(typing_extensions.TypedDict, total=False): properties: CloudVmClusterProperties @typing.type_check_only -class CloudVmClusterProperties(typing_extensions.TypedDict, total=False): +class CloudVmClusterProperties(typing.TypedDict, total=False): clusterName: str compartmentId: str - computeModel: typing_extensions.Literal[ + computeModel: typing.Literal[ "COMPUTE_MODEL_UNSPECIFIED", "COMPUTE_MODEL_ECPU", "COMPUTE_MODEL_OCPU" ] cpuCoreCount: int @@ -417,15 +407,13 @@ class CloudVmClusterProperties(typing_extensions.TypedDict, total=False): dbNodeStorageSizeGb: int dbServerOcids: _list[str] diagnosticsDataCollectionOptions: DataCollectionOptions - diskRedundancy: typing_extensions.Literal[ - "DISK_REDUNDANCY_UNSPECIFIED", "HIGH", "NORMAL" - ] + diskRedundancy: typing.Literal["DISK_REDUNDANCY_UNSPECIFIED", "HIGH", "NORMAL"] dnsListenerIp: str domain: str giVersion: str hostname: str hostnamePrefix: str - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "LICENSE_TYPE_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" ] localBackupEnabled: bool @@ -442,7 +430,7 @@ class CloudVmClusterProperties(typing_extensions.TypedDict, total=False): shape: str sparseDiskgroupEnabled: bool sshPublicKeys: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -452,43 +440,52 @@ class CloudVmClusterProperties(typing_extensions.TypedDict, total=False): "FAILED", "MAINTENANCE_IN_PROGRESS", ] - storageManagementType: typing_extensions.Literal[ + storageManagementType: typing.Literal[ "STORAGE_MANAGEMENT_TYPE_UNSPECIFIED", "ASM", "EXASCALE" ] storageSizeGb: int systemVersion: str timeZone: TimeZone + vmBackupStorageType: typing.Literal[ + "VM_BACKUP_STORAGE_TYPE_UNSPECIFIED", + "VM_BACKUP_STORAGE_TYPE_LOCAL", + "VM_BACKUP_STORAGE_TYPE_EXASCALE", + ] + vmFileSystemStorageType: typing.Literal[ + "VM_FILE_SYSTEM_STORAGE_TYPE_UNSPECIFIED", + "VM_FILE_SYSTEM_STORAGE_TYPE_LOCAL", + "VM_FILE_SYSTEM_STORAGE_TYPE_EXASCALE", + ] @typing.type_check_only -class ConfigureExascaleCloudExadataInfrastructureRequest( - typing_extensions.TypedDict, total=False -): +class ConfigureExascaleCloudExadataInfrastructureRequest(typing.TypedDict, total=False): requestId: str totalStorageSizeGb: int + totalVmStorageSizeGb: int @typing.type_check_only -class CustomerContact(typing_extensions.TypedDict, total=False): +class CustomerContact(typing.TypedDict, total=False): email: str @typing.type_check_only -class DataCollectionOptions(typing_extensions.TypedDict, total=False): +class DataCollectionOptions(typing.TypedDict, total=False): diagnosticsEventsEnabled: bool healthMonitoringEnabled: bool incidentLogsEnabled: bool @typing.type_check_only -class DataCollectionOptionsCommon(typing_extensions.TypedDict, total=False): +class DataCollectionOptionsCommon(typing.TypedDict, total=False): isDiagnosticsEventsEnabled: bool isHealthMonitoringEnabled: bool isIncidentLogsEnabled: bool @typing.type_check_only -class DataCollectionOptionsDbSystem(typing_extensions.TypedDict, total=False): +class DataCollectionOptionsDbSystem(typing.TypedDict, total=False): isDiagnosticsEventsEnabled: bool isIncidentLogsEnabled: bool @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): adminPassword: str adminPasswordSecretVersion: str characterSet: str @@ -501,7 +498,7 @@ class Database(typing_extensions.TypedDict, total=False): name: str ncharacterSet: str ociUrl: str - opsInsightsStatus: typing_extensions.Literal[ + opsInsightsStatus: typing.Literal[ "OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED", "ENABLING", "ENABLED", @@ -517,36 +514,34 @@ class Database(typing_extensions.TypedDict, total=False): tdeWalletPasswordSecretVersion: str @typing.type_check_only -class DatabaseCharacterSet(typing_extensions.TypedDict, total=False): +class DatabaseCharacterSet(typing.TypedDict, total=False): characterSet: str - characterSetType: typing_extensions.Literal[ + characterSetType: typing.Literal[ "CHARACTER_SET_TYPE_UNSPECIFIED", "DATABASE", "NATIONAL" ] name: str @typing.type_check_only -class DatabaseConnectionStringProfile(typing_extensions.TypedDict, total=False): - consumerGroup: typing_extensions.Literal[ +class DatabaseConnectionStringProfile(typing.TypedDict, total=False): + consumerGroup: typing.Literal[ "CONSUMER_GROUP_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "TP", "TPURGENT" ] displayName: str - hostFormat: typing_extensions.Literal["HOST_FORMAT_UNSPECIFIED", "FQDN", "IP"] + hostFormat: typing.Literal["HOST_FORMAT_UNSPECIFIED", "FQDN", "IP"] isRegional: bool - protocol: typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "TCP", "TCPS"] - sessionMode: typing_extensions.Literal[ - "SESSION_MODE_UNSPECIFIED", "DIRECT", "INDIRECT" - ] - syntaxFormat: typing_extensions.Literal[ + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "TCP", "TCPS"] + sessionMode: typing.Literal["SESSION_MODE_UNSPECIFIED", "DIRECT", "INDIRECT"] + syntaxFormat: typing.Literal[ "SYNTAX_FORMAT_UNSPECIFIED", "LONG", "EZCONNECT", "EZCONNECTPLUS" ] - tlsAuthentication: typing_extensions.Literal[ + tlsAuthentication: typing.Literal[ "TLS_AUTHENTICATION_UNSPECIFIED", "SERVER", "MUTUAL" ] value: str @typing.type_check_only -class DatabaseManagementConfig(typing_extensions.TypedDict, total=False): - managementState: typing_extensions.Literal[ +class DatabaseManagementConfig(typing.TypedDict, total=False): + managementState: typing.Literal[ "MANAGEMENT_STATE_UNSPECIFIED", "ENABLING", "ENABLED", @@ -557,16 +552,14 @@ class DatabaseManagementConfig(typing_extensions.TypedDict, total=False): "FAILED_DISABLING", "FAILED_UPDATING", ] - managementType: typing_extensions.Literal[ - "MANAGEMENT_TYPE_UNSPECIFIED", "BASIC", "ADVANCED" - ] + managementType: typing.Literal["MANAGEMENT_TYPE_UNSPECIFIED", "BASIC", "ADVANCED"] @typing.type_check_only -class DatabaseProperties(typing_extensions.TypedDict, total=False): +class DatabaseProperties(typing.TypedDict, total=False): databaseManagementConfig: DatabaseManagementConfig dbBackupConfig: DbBackupConfig dbVersion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DATABASE_LIFECYCLE_STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -581,9 +574,9 @@ class DatabaseProperties(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DbBackupConfig(typing_extensions.TypedDict, total=False): +class DbBackupConfig(typing.TypedDict, total=False): autoBackupEnabled: bool - autoFullBackupDay: typing_extensions.Literal[ + autoFullBackupDay: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -593,7 +586,7 @@ class DbBackupConfig(typing_extensions.TypedDict, total=False): "SATURDAY", "SUNDAY", ] - autoFullBackupWindow: typing_extensions.Literal[ + autoFullBackupWindow: typing.Literal[ "BACKUP_WINDOW_UNSPECIFIED", "SLOT_ONE", "SLOT_TWO", @@ -608,7 +601,7 @@ class DbBackupConfig(typing_extensions.TypedDict, total=False): "SLOT_ELEVEN", "SLOT_TWELVE", ] - autoIncrementalBackupWindow: typing_extensions.Literal[ + autoIncrementalBackupWindow: typing.Literal[ "BACKUP_WINDOW_UNSPECIFIED", "SLOT_ONE", "SLOT_TWO", @@ -623,7 +616,7 @@ class DbBackupConfig(typing_extensions.TypedDict, total=False): "SLOT_ELEVEN", "SLOT_TWELVE", ] - backupDeletionPolicy: typing_extensions.Literal[ + backupDeletionPolicy: typing.Literal[ "BACKUP_DELETION_POLICY_UNSPECIFIED", "DELETE_IMMEDIATELY", "DELETE_AFTER_RETENTION_PERIOD", @@ -632,19 +625,19 @@ class DbBackupConfig(typing_extensions.TypedDict, total=False): retentionPeriodDays: int @typing.type_check_only -class DbHome(typing_extensions.TypedDict, total=False): +class DbHome(typing.TypedDict, total=False): database: Database dbVersion: str displayName: str isUnifiedAuditingEnabled: bool @typing.type_check_only -class DbNode(typing_extensions.TypedDict, total=False): +class DbNode(typing.TypedDict, total=False): name: str properties: DbNodeProperties @typing.type_check_only -class DbNodeProperties(typing_extensions.TypedDict, total=False): +class DbNodeProperties(typing.TypedDict, total=False): createTime: str dbNodeStorageSizeGb: int dbServerOcid: str @@ -652,7 +645,7 @@ class DbNodeProperties(typing_extensions.TypedDict, total=False): memorySizeGb: int ocid: str ocpuCount: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -667,13 +660,13 @@ class DbNodeProperties(typing_extensions.TypedDict, total=False): totalCpuCoreCount: int @typing.type_check_only -class DbServer(typing_extensions.TypedDict, total=False): +class DbServer(typing.TypedDict, total=False): displayName: str name: str properties: DbServerProperties @typing.type_check_only -class DbServerProperties(typing_extensions.TypedDict, total=False): +class DbServerProperties(typing.TypedDict, total=False): dbNodeIds: _list[str] dbNodeStorageSizeGb: int maxDbNodeStorageSizeGb: int @@ -682,7 +675,7 @@ class DbServerProperties(typing_extensions.TypedDict, total=False): memorySizeGb: int ocid: str ocpuCount: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "AVAILABLE", @@ -693,7 +686,7 @@ class DbServerProperties(typing_extensions.TypedDict, total=False): vmCount: int @typing.type_check_only -class DbSystem(typing_extensions.TypedDict, total=False): +class DbSystem(typing.TypedDict, total=False): createTime: str displayName: str entitlementId: str @@ -706,32 +699,28 @@ class DbSystem(typing_extensions.TypedDict, total=False): properties: DbSystemProperties @typing.type_check_only -class DbSystemInitialStorageSize(typing_extensions.TypedDict, total=False): +class DbSystemInitialStorageSize(typing.TypedDict, total=False): name: str properties: DbSystemInitialStorageSizeProperties @typing.type_check_only -class DbSystemInitialStorageSizeProperties(typing_extensions.TypedDict, total=False): +class DbSystemInitialStorageSizeProperties(typing.TypedDict, total=False): launchFromBackupStorageSizeDetails: _list[StorageSizeDetails] - shapeType: typing_extensions.Literal["SHAPE_TYPE_UNSPECIFIED", "STANDARD_X86"] - storageManagement: typing_extensions.Literal[ - "STORAGE_MANAGEMENT_UNSPECIFIED", "ASM", "LVM" - ] + shapeType: typing.Literal["SHAPE_TYPE_UNSPECIFIED", "STANDARD_X86"] + storageManagement: typing.Literal["STORAGE_MANAGEMENT_UNSPECIFIED", "ASM", "LVM"] storageSizeDetails: _list[StorageSizeDetails] @typing.type_check_only -class DbSystemOptions(typing_extensions.TypedDict, total=False): - storageManagement: typing_extensions.Literal[ - "STORAGE_MANAGEMENT_UNSPECIFIED", "ASM", "LVM" - ] +class DbSystemOptions(typing.TypedDict, total=False): + storageManagement: typing.Literal["STORAGE_MANAGEMENT_UNSPECIFIED", "ASM", "LVM"] @typing.type_check_only -class DbSystemProperties(typing_extensions.TypedDict, total=False): +class DbSystemProperties(typing.TypedDict, total=False): computeCount: int - computeModel: typing_extensions.Literal["COMPUTE_MODEL_UNSPECIFIED", "ECPU", "OCPU"] + computeModel: typing.Literal["COMPUTE_MODEL_UNSPECIFIED", "ECPU", "OCPU"] dataCollectionOptions: DataCollectionOptionsDbSystem dataStorageSizeGb: int - databaseEdition: typing_extensions.Literal[ + databaseEdition: typing.Literal[ "DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED", "STANDARD_EDITION", "ENTERPRISE_EDITION", @@ -743,10 +732,10 @@ class DbSystemProperties(typing_extensions.TypedDict, total=False): hostname: str hostnamePrefix: str initialDataStorageSizeGb: int - licenseModel: typing_extensions.Literal[ + licenseModel: typing.Literal[ "LICENSE_MODEL_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" ] - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -769,10 +758,12 @@ class DbSystemProperties(typing_extensions.TypedDict, total=False): timeZone: TimeZone @typing.type_check_only -class DbSystemShape(typing_extensions.TypedDict, total=False): +class DbSystemShape(typing.TypedDict, total=False): + availableCoreCount: int availableCoreCountPerNode: int availableDataStorageTb: int availableMemoryPerNodeGb: int + coreCountIncrement: int maxNodeCount: int maxStorageCount: int minCoreCountPerNode: int @@ -780,16 +771,17 @@ class DbSystemShape(typing_extensions.TypedDict, total=False): minMemoryPerNodeGb: int minNodeCount: int minStorageCount: int + minimumCoreCount: int name: str shape: str @typing.type_check_only -class DbVersion(typing_extensions.TypedDict, total=False): +class DbVersion(typing.TypedDict, total=False): name: str properties: DbVersionProperties @typing.type_check_only -class DbVersionProperties(typing_extensions.TypedDict, total=False): +class DbVersionProperties(typing.TypedDict, total=False): isLatestForMajorVersion: bool isPreviewDbVersion: bool isUpgradeSupported: bool @@ -797,41 +789,39 @@ class DbVersionProperties(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class DefinedTagValue(typing_extensions.TypedDict, total=False): +class DefinedTagValue(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class DeploymentDiagnosticData(typing_extensions.TypedDict, total=False): +class DeploymentDiagnosticData(typing.TypedDict, total=False): bucket: str diagnosticEndTime: str diagnosticStartTime: str - diagnosticState: typing_extensions.Literal[ + diagnosticState: typing.Literal[ "DIAGNOSTIC_STATE_UNSPECIFIED", "IN_PROGRESS", "SUCCEEDED", "FAILED" ] namespace: str object: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionKey(typing_extensions.TypedDict, total=False): +class EncryptionKey(typing.TypedDict, total=False): kmsKey: str - provider: typing_extensions.Literal[ - "PROVIDER_UNSPECIFIED", "GOOGLE_MANAGED", "ORACLE_MANAGED" - ] + provider: typing.Literal["PROVIDER_UNSPECIFIED", "GOOGLE_MANAGED", "ORACLE_MANAGED"] @typing.type_check_only -class EncryptionKeyHistoryEntry(typing_extensions.TypedDict, total=False): +class EncryptionKeyHistoryEntry(typing.TypedDict, total=False): activationTime: str encryptionKey: EncryptionKey @typing.type_check_only -class Entitlement(typing_extensions.TypedDict, total=False): +class Entitlement(typing.TypedDict, total=False): cloudAccountDetails: CloudAccountDetails entitlementId: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACCOUNT_NOT_LINKED", "ACCOUNT_NOT_ACTIVE", @@ -841,12 +831,13 @@ class Entitlement(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExadbVmCluster(typing_extensions.TypedDict, total=False): +class ExadbVmCluster(typing.TypedDict, total=False): backupOdbSubnet: str createTime: str displayName: str entitlementId: str gcpOracleZone: str + identityConnector: IdentityConnector labels: dict[str, typing.Any] name: str odbNetwork: str @@ -854,7 +845,7 @@ class ExadbVmCluster(typing_extensions.TypedDict, total=False): properties: ExadbVmClusterProperties @typing.type_check_only -class ExadbVmClusterProperties(typing_extensions.TypedDict, total=False): +class ExadbVmClusterProperties(typing.TypedDict, total=False): additionalEcpuCountPerNode: int clusterName: str dataCollectionOptions: DataCollectionOptionsCommon @@ -864,10 +855,10 @@ class ExadbVmClusterProperties(typing_extensions.TypedDict, total=False): gridImageId: str hostname: str hostnamePrefix: str - licenseModel: typing_extensions.Literal[ + licenseModel: typing.Literal[ "LICENSE_MODEL_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" ] - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "EXADB_VM_CLUSTER_LIFECYCLE_STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -881,7 +872,7 @@ class ExadbVmClusterProperties(typing_extensions.TypedDict, total=False): nodeCount: int ociUri: str scanListenerPortTcp: int - shapeAttribute: typing_extensions.Literal[ + shapeAttribute: typing.Literal[ "SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE" ] sshPublicKeys: _list[str] @@ -889,21 +880,23 @@ class ExadbVmClusterProperties(typing_extensions.TypedDict, total=False): vmFileSystemStorage: ExadbVmClusterStorageDetails @typing.type_check_only -class ExadbVmClusterStorageDetails(typing_extensions.TypedDict, total=False): +class ExadbVmClusterStorageDetails(typing.TypedDict, total=False): sizeInGbsPerNode: int @typing.type_check_only -class ExascaleConfig(typing_extensions.TypedDict, total=False): +class ExascaleConfig(typing.TypedDict, total=False): availableStorageSizeGb: int + availableVmStorageSizeGb: int totalStorageSizeGb: int + totalVmStorageSizeGb: int @typing.type_check_only -class ExascaleDbStorageDetails(typing_extensions.TypedDict, total=False): +class ExascaleDbStorageDetails(typing.TypedDict, total=False): availableSizeGbs: int totalSizeGbs: int @typing.type_check_only -class ExascaleDbStorageVault(typing_extensions.TypedDict, total=False): +class ExascaleDbStorageVault(typing.TypedDict, total=False): createTime: str displayName: str entitlementId: str @@ -914,23 +907,19 @@ class ExascaleDbStorageVault(typing_extensions.TypedDict, total=False): properties: ExascaleDbStorageVaultProperties @typing.type_check_only -class ExascaleDbStorageVaultProperties(typing_extensions.TypedDict, total=False): +class ExascaleDbStorageVaultProperties(typing.TypedDict, total=False): additionalFlashCachePercent: int attachedShapeAttributes: _list[ - typing_extensions.Literal[ - "SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE" - ] + typing.Literal["SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE"] ] availableShapeAttributes: _list[ - typing_extensions.Literal[ - "SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE" - ] + typing.Literal["SHAPE_ATTRIBUTE_UNSPECIFIED", "SMART_STORAGE", "BLOCK_STORAGE"] ] description: str exascaleDbStorageDetails: ExascaleDbStorageDetails ociUri: str ocid: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -944,34 +933,30 @@ class ExascaleDbStorageVaultProperties(typing_extensions.TypedDict, total=False) vmClusterIds: _list[str] @typing.type_check_only -class FailoverAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): +class FailoverAutonomousDatabaseRequest(typing.TypedDict, total=False): peerAutonomousDatabase: str @typing.type_check_only -class GenerateAutonomousDatabaseWalletRequest(typing_extensions.TypedDict, total=False): +class GenerateAutonomousDatabaseWalletRequest(typing.TypedDict, total=False): isRegional: bool password: str - type: typing_extensions.Literal["GENERATE_TYPE_UNSPECIFIED", "ALL", "SINGLE"] + type: typing.Literal["GENERATE_TYPE_UNSPECIFIED", "ALL", "SINGLE"] @typing.type_check_only -class GenerateAutonomousDatabaseWalletResponse( - typing_extensions.TypedDict, total=False -): +class GenerateAutonomousDatabaseWalletResponse(typing.TypedDict, total=False): archiveContent: str @typing.type_check_only -class GiVersion(typing_extensions.TypedDict, total=False): +class GiVersion(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class GlueIcebergCatalog(typing_extensions.TypedDict, total=False): +class GlueIcebergCatalog(typing.TypedDict, total=False): glueId: str @typing.type_check_only -class GoldengateAmazonKinesisConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateAmazonKinesisConnectionProperties(typing.TypedDict, total=False): accessKeyId: str awsRegion: str endpoint: str @@ -979,9 +964,7 @@ class GoldengateAmazonKinesisConnectionProperties( technologyType: str @typing.type_check_only -class GoldengateAmazonRedshiftConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateAmazonRedshiftConnectionProperties(typing.TypedDict, total=False): connectionUrl: str password: str passwordSecretVersion: str @@ -989,7 +972,7 @@ class GoldengateAmazonRedshiftConnectionProperties( username: str @typing.type_check_only -class GoldengateAmazonS3ConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateAmazonS3ConnectionProperties(typing.TypedDict, total=False): accessKeyId: str endpoint: str region: str @@ -997,12 +980,10 @@ class GoldengateAmazonS3ConnectionProperties(typing_extensions.TypedDict, total= technologyType: str @typing.type_check_only -class GoldengateAzureDataLakeStorageConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateAzureDataLakeStorageConnectionProperties(typing.TypedDict, total=False): account: str accountKeySecret: str - authenticationType: typing_extensions.Literal[ + authenticationType: typing.Literal[ "AUTHENTICATION_TYPE_UNSPECIFIED", "SHARED_KEY", "SHARED_ACCESS_SIGNATURE", @@ -1018,7 +999,7 @@ class GoldengateAzureDataLakeStorageConnectionProperties( @typing.type_check_only class GoldengateAzureSynapseAnalyticsConnectionProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): connectionString: str password: str @@ -1027,18 +1008,18 @@ class GoldengateAzureSynapseAnalyticsConnectionProperties( username: str @typing.type_check_only -class GoldengateBackupSchedule(typing_extensions.TypedDict, total=False): +class GoldengateBackupSchedule(typing.TypedDict, total=False): backupScheduledTime: str bucket: str compartmentId: str - frequencyBackupScheduled: typing_extensions.Literal[ + frequencyBackupScheduled: typing.Literal[ "FREQUENCY_BACKUP_SCHEDULED_UNSPECIFIED", "DAILY", "WEEKLY", "MONTHLY" ] metadataOnly: bool namespace: str @typing.type_check_only -class GoldengateConnection(typing_extensions.TypedDict, total=False): +class GoldengateConnection(typing.TypedDict, total=False): createTime: str entitlementId: str gcpOracleZone: str @@ -1050,7 +1031,7 @@ class GoldengateConnection(typing_extensions.TypedDict, total=False): properties: GoldengateConnectionProperties @typing.type_check_only -class GoldengateConnectionAssignment(typing_extensions.TypedDict, total=False): +class GoldengateConnectionAssignment(typing.TypedDict, total=False): createTime: str displayName: str entitlementId: str @@ -1059,19 +1040,17 @@ class GoldengateConnectionAssignment(typing_extensions.TypedDict, total=False): properties: GoldengateConnectionAssignmentProperties @typing.type_check_only -class GoldengateConnectionAssignmentProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateConnectionAssignmentProperties(typing.TypedDict, total=False): alias: str goldengateConnection: str goldengateDeployment: str ocid: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "FAILED", "UPDATING", "DELETING" ] @typing.type_check_only -class GoldengateConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateConnectionProperties(typing.TypedDict, total=False): amazonKinesisConnectionProperties: GoldengateAmazonKinesisConnectionProperties amazonRedshiftConnectionProperties: GoldengateAmazonRedshiftConnectionProperties amazonS3ConnectionProperties: GoldengateAmazonS3ConnectionProperties @@ -1081,7 +1060,7 @@ class GoldengateConnectionProperties(typing_extensions.TypedDict, total=False): azureSynapseAnalyticsConnectionProperties: ( GoldengateAzureSynapseAnalyticsConnectionProperties ) - connectionType: typing_extensions.Literal[ + connectionType: typing.Literal[ "GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED", "GOLDENGATE", "KAFKA", @@ -1136,7 +1115,7 @@ class GoldengateConnectionProperties(typing_extensions.TypedDict, total=False): GoldengateKafkaSchemaRegistryConnectionProperties ) lifecycleDetails: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "GOLDENGATE_CONNECTION_LIFECYCLE_STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -1160,7 +1139,7 @@ class GoldengateConnectionProperties(typing_extensions.TypedDict, total=False): oracleNosqlConnectionProperties: GoldengateOracleNosqlConnectionProperties postgresqlConnectionProperties: GoldengatePostgresqlConnectionProperties redisConnectionProperties: GoldengateRedisConnectionProperties - routingMethod: typing_extensions.Literal[ + routingMethod: typing.Literal[ "GOLDENGATE_CONNECTION_ROUTING_METHOD_UNSPECIFIED", "SHARED_DEPLOYMENT_ENDPOINT", "DEDICATED_ENDPOINT", @@ -1169,8 +1148,8 @@ class GoldengateConnectionProperties(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoldengateConnectionType(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class GoldengateConnectionType(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "GOLDENGATE", "KAFKA", @@ -1206,10 +1185,8 @@ class GoldengateConnectionType(typing_extensions.TypedDict, total=False): technologyTypes: _list[str] @typing.type_check_only -class GoldengateDatabricksConnectionProperties( - typing_extensions.TypedDict, total=False -): - authenticationType: typing_extensions.Literal[ +class GoldengateDatabricksConnectionProperties(typing.TypedDict, total=False): + authenticationType: typing.Literal[ "DATABRICKS_AUTHENTICATION_TYPE_UNSPECIFIED", "PERSONAL_ACCESS_TOKEN", "OAUTH_M2M", @@ -1223,14 +1200,14 @@ class GoldengateDatabricksConnectionProperties( technologyType: str @typing.type_check_only -class GoldengateDb2ConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateDb2ConnectionProperties(typing.TypedDict, total=False): additionalAttributes: _list[NameValuePair] database: str host: str password: str passwordSecretVersion: str port: int - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "DB2_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS" ] sslClientKeystashFile: str @@ -1240,7 +1217,7 @@ class GoldengateDb2ConnectionProperties(typing_extensions.TypedDict, total=False username: str @typing.type_check_only -class GoldengateDeployment(typing_extensions.TypedDict, total=False): +class GoldengateDeployment(typing.TypedDict, total=False): createTime: str displayName: str entitlementId: str @@ -1253,16 +1230,16 @@ class GoldengateDeployment(typing_extensions.TypedDict, total=False): properties: GoldengateDeploymentProperties @typing.type_check_only -class GoldengateDeploymentEnvironment(typing_extensions.TypedDict, total=False): +class GoldengateDeploymentEnvironment(typing.TypedDict, total=False): autoScalingEnabled: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "DEPLOYMENT_CATEGORY_UNSPECIFIED", "DATA_REPLICATION_CATEGORY", "DATA_TRANSFORMS_CATEGORY", ] defaultCpuCoreCount: int displayName: str - environmentType: typing_extensions.Literal[ + environmentType: typing.Literal[ "DEPLOYMENT_ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT_OR_TESTING", @@ -1275,17 +1252,17 @@ class GoldengateDeploymentEnvironment(typing_extensions.TypedDict, total=False): storageUsageLimitGbPerCpuCore: int @typing.type_check_only -class GoldengateDeploymentLock(typing_extensions.TypedDict, total=False): +class GoldengateDeploymentLock(typing.TypedDict, total=False): compartmentId: str createTime: str message: str relatedResourceId: str - type: typing_extensions.Literal["LOCK_TYPE_UNSPECIFIED", "FULL", "DELETE"] + type: typing.Literal["LOCK_TYPE_UNSPECIFIED", "FULL", "DELETE"] @typing.type_check_only -class GoldengateDeploymentProperties(typing_extensions.TypedDict, total=False): +class GoldengateDeploymentProperties(typing.TypedDict, total=False): backupSchedule: GoldengateBackupSchedule - category: typing_extensions.Literal[ + category: typing.Literal[ "GOLDENGATE_DEPLOYMENT_CATEGORY_UNSPECIFIED", "DATA_REPLICATION", "DATA_TRANSFORMS", @@ -1293,7 +1270,7 @@ class GoldengateDeploymentProperties(typing_extensions.TypedDict, total=False): cpuCoreCount: int deploymentBackupId: str deploymentDiagnosticData: DeploymentDiagnosticData - deploymentRole: typing_extensions.Literal[ + deploymentRole: typing.Literal[ "GOLDENGATE_DEPLOYMENT_ROLE_TYPE_UNSPECIFIED", "PRIMARY", "STANDBY" ] deploymentType: str @@ -1308,11 +1285,11 @@ class GoldengateDeploymentProperties(typing_extensions.TypedDict, total=False): isPublic: bool isStorageUtilizationLimitExceeded: bool lastBackupScheduleTime: str - licenseModel: typing_extensions.Literal[ + licenseModel: typing.Literal[ "LICENSE_MODEL_UNSPECIFIED", "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" ] lifecycleDetails: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "GOLDENGATE_DEPLOYMENT_LIFECYCLE_STATE_UNSPECIFIED", "CREATING", "UPDATING", @@ -1328,7 +1305,7 @@ class GoldengateDeploymentProperties(typing_extensions.TypedDict, total=False): "SUCCEEDED", "WAITING", ] - lifecycleSubState: typing_extensions.Literal[ + lifecycleSubState: typing.Literal[ "GOLDENGATE_DEPLOYMENT_LIFECYCLE_SUB_STATE_UNSPECIFIED", "RECOVERING", "STARTING", @@ -1345,7 +1322,7 @@ class GoldengateDeploymentProperties(typing_extensions.TypedDict, total=False): maintenanceConfig: GoldengateMaintenanceConfig maintenanceWindow: GoldengateMaintenanceWindow nextBackupScheduleTime: str - nextMaintenanceActionType: typing_extensions.Literal[ + nextMaintenanceActionType: typing.Literal[ "NEXT_MAINTENANCE_ACTION_TYPE_UNSPECIFIED", "UPGRADE" ] nextMaintenanceDescription: str @@ -1363,15 +1340,15 @@ class GoldengateDeploymentProperties(typing_extensions.TypedDict, total=False): upgradeRequiredTime: str @typing.type_check_only -class GoldengateDeploymentType(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GoldengateDeploymentType(typing.TypedDict, total=False): + category: typing.Literal[ "DEPLOYMENT_CATEGORY_UNSPECIFIED", "DATA_REPLICATION_CATEGORY", "DATA_TRANSFORMS_CATEGORY", ] connectionTypes: _list[str] defaultUsername: str - deploymentType: typing_extensions.Literal[ + deploymentType: typing.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "OGG", "DATABASE_ORACLE", @@ -1393,14 +1370,14 @@ class GoldengateDeploymentType(typing_extensions.TypedDict, total=False): targetTechnologies: _list[str] @typing.type_check_only -class GoldengateDeploymentVersion(typing_extensions.TypedDict, total=False): +class GoldengateDeploymentVersion(typing.TypedDict, total=False): name: str ocid: str properties: GoldengateDeploymentVersionProperties @typing.type_check_only -class GoldengateDeploymentVersionProperties(typing_extensions.TypedDict, total=False): - deploymentType: typing_extensions.Literal[ +class GoldengateDeploymentVersionProperties(typing.TypedDict, total=False): + deploymentType: typing.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "OGG", "DATABASE_ORACLE", @@ -1415,23 +1392,21 @@ class GoldengateDeploymentVersionProperties(typing_extensions.TypedDict, total=F ] oggVersion: str releaseTime: str - releaseType: typing_extensions.Literal[ + releaseType: typing.Literal[ "DEPLOYMENT_RELEASE_TYPE_UNSPECIFIED", "MAJOR", "BUNDLE", "MINOR" ] securityFix: bool supportEndTime: str @typing.type_check_only -class GoldengateElasticsearchConnectionProperties( - typing_extensions.TypedDict, total=False -): - authenticationType: typing_extensions.Literal[ +class GoldengateElasticsearchConnectionProperties(typing.TypedDict, total=False): + authenticationType: typing.Literal[ "ELASTICSEARCH_AUTHENTICATION_TYPE_UNSPECIFIED", "NONE", "BASIC" ] fingerprint: str password: str passwordSecretVersion: str - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "ELASTICSEARCH_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS" ] servers: str @@ -1439,14 +1414,12 @@ class GoldengateElasticsearchConnectionProperties( username: str @typing.type_check_only -class GoldengateGenericConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateGenericConnectionProperties(typing.TypedDict, total=False): host: str technologyType: str @typing.type_check_only -class GoldengateGoldengateConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateGoldengateConnectionProperties(typing.TypedDict, total=False): goldengateDeploymentId: str host: str password: str @@ -1456,49 +1429,41 @@ class GoldengateGoldengateConnectionProperties( username: str @typing.type_check_only -class GoldengateGoogleBigQueryConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateGoogleBigQueryConnectionProperties(typing.TypedDict, total=False): serviceAccountKeyFile: str technologyType: str @typing.type_check_only -class GoldengateGoogleCloudStorageConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateGoogleCloudStorageConnectionProperties(typing.TypedDict, total=False): serviceAccountKeyFile: str technologyType: str @typing.type_check_only -class GoldengateGooglePubsubConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateGooglePubsubConnectionProperties(typing.TypedDict, total=False): serviceAccountKeyFile: str technologyType: str @typing.type_check_only -class GoldengateGroupToRolesMapping(typing_extensions.TypedDict, total=False): +class GoldengateGroupToRolesMapping(typing.TypedDict, total=False): administratorGroupId: str operatorGroupId: str securityGroupId: str userGroupId: str @typing.type_check_only -class GoldengateHdfsConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateHdfsConnectionProperties(typing.TypedDict, total=False): coreSiteXml: str technologyType: str @typing.type_check_only -class GoldengateIcebergConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateIcebergConnectionProperties(typing.TypedDict, total=False): catalog: IcebergCatalog storage: IcebergStorage technologyType: str @typing.type_check_only -class GoldengateJavaMessageServiceConnectionProperties( - typing_extensions.TypedDict, total=False -): - authenticationType: typing_extensions.Literal[ +class GoldengateJavaMessageServiceConnectionProperties(typing.TypedDict, total=False): + authenticationType: typing.Literal[ "JMS_AUTHENTICATION_TYPE_UNSPECIFIED", "NONE", "BASIC" ] connectionFactory: str @@ -1513,7 +1478,7 @@ class GoldengateJavaMessageServiceConnectionProperties( keyStorePasswordSecretVersion: str password: str passwordSecretVersion: str - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "JMS_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS", "MTLS" ] sslKeyPassword: str @@ -1526,7 +1491,7 @@ class GoldengateJavaMessageServiceConnectionProperties( username: str @typing.type_check_only -class GoldengateKafkaConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateKafkaConnectionProperties(typing.TypedDict, total=False): bootstrapServers: _list[KafkaBootstrapServer] clusterId: str consumerPropertiesFile: str @@ -1536,7 +1501,7 @@ class GoldengateKafkaConnectionProperties(typing_extensions.TypedDict, total=Fal password: str passwordSecretVersion: str producerPropertiesFile: str - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "KAFKA_SECURITY_PROTOCOL_UNSPECIFIED", "SSL", "SASL_SSL", @@ -1554,10 +1519,8 @@ class GoldengateKafkaConnectionProperties(typing_extensions.TypedDict, total=Fal username: str @typing.type_check_only -class GoldengateKafkaSchemaRegistryConnectionProperties( - typing_extensions.TypedDict, total=False -): - authenticationType: typing_extensions.Literal[ +class GoldengateKafkaSchemaRegistryConnectionProperties(typing.TypedDict, total=False): + authenticationType: typing.Literal[ "AUTHENTICATION_TYPE_UNSPECIFIED", "NONE", "BASIC", "MUTUAL" ] keyStoreFile: str @@ -1575,7 +1538,7 @@ class GoldengateKafkaSchemaRegistryConnectionProperties( username: str @typing.type_check_only -class GoldengateMaintenanceConfig(typing_extensions.TypedDict, total=False): +class GoldengateMaintenanceConfig(typing.TypedDict, total=False): bundleReleaseUpgradePeriodDays: int interimReleaseUpgradePeriodDays: int isInterimReleaseAutoUpgradeEnabled: bool @@ -1583,8 +1546,8 @@ class GoldengateMaintenanceConfig(typing_extensions.TypedDict, total=False): securityPatchUpgradePeriodDays: int @typing.type_check_only -class GoldengateMaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class GoldengateMaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1597,9 +1560,7 @@ class GoldengateMaintenanceWindow(typing_extensions.TypedDict, total=False): startHour: int @typing.type_check_only -class GoldengateMicrosoftFabricConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateMicrosoftFabricConnectionProperties(typing.TypedDict, total=False): clientId: str clientSecret: str endpoint: str @@ -1607,16 +1568,14 @@ class GoldengateMicrosoftFabricConnectionProperties( tenantId: str @typing.type_check_only -class GoldengateMicrosoftSqlserverConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateMicrosoftSqlserverConnectionProperties(typing.TypedDict, total=False): additionalAttributes: _list[NameValuePair] database: str host: str password: str passwordSecretVersion: str port: int - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "MICROSOFT_SQLSERVER_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS" ] serverCertificateValidationRequired: bool @@ -1625,12 +1584,12 @@ class GoldengateMicrosoftSqlserverConnectionProperties( username: str @typing.type_check_only -class GoldengateMongodbConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateMongodbConnectionProperties(typing.TypedDict, total=False): connectionString: str databaseId: str password: str passwordSecretVersion: str - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "MONGODB_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS", "MTLS" ] technologyType: str @@ -1641,7 +1600,7 @@ class GoldengateMongodbConnectionProperties(typing_extensions.TypedDict, total=F username: str @typing.type_check_only -class GoldengateMysqlConnectionProperties(typing_extensions.TypedDict, total=False): +class GoldengateMysqlConnectionProperties(typing.TypedDict, total=False): additionalAttributes: _list[NameValuePair] database: str dbSystemId: str @@ -1649,14 +1608,14 @@ class GoldengateMysqlConnectionProperties(typing_extensions.TypedDict, total=Fal password: str passwordSecretVersion: str port: int - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "MYSQL_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS", "MTLS" ] sslCaFile: str sslCertFile: str sslCrlFile: str sslKeyFile: str - sslMode: typing_extensions.Literal[ + sslMode: typing.Literal[ "SSL_MODE_UNSPECIFIED", "DISABLED", "PREFERRED", @@ -1668,9 +1627,7 @@ class GoldengateMysqlConnectionProperties(typing_extensions.TypedDict, total=Fal username: str @typing.type_check_only -class GoldengateOciObjectStorageConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateOciObjectStorageConnectionProperties(typing.TypedDict, total=False): privateKeyFile: str privateKeyPassphraseSecret: str publicKeyFingerprint: str @@ -1681,14 +1638,12 @@ class GoldengateOciObjectStorageConnectionProperties( userId: str @typing.type_check_only -class GoldengateOggDeployment(typing_extensions.TypedDict, total=False): +class GoldengateOggDeployment(typing.TypedDict, total=False): adminPassword: str adminPasswordSecretVersion: str adminUsername: str certificate: str - credentialStore: typing_extensions.Literal[ - "CREDENTIAL_STORE_UNSPECIFIED", "GOLDENGATE", "IAM" - ] + credentialStore: typing.Literal["CREDENTIAL_STORE_UNSPECIFIED", "GOLDENGATE", "IAM"] deployment: str groupRolesMapping: GoldengateGroupToRolesMapping identityDomainId: str @@ -1696,9 +1651,7 @@ class GoldengateOggDeployment(typing_extensions.TypedDict, total=False): passwordSecretId: str @typing.type_check_only -class GoldengateOracleAIDataPlatformConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateOracleAIDataPlatformConnectionProperties(typing.TypedDict, total=False): connectionUrl: str privateKeyFile: str privateKeyPassphraseSecret: str @@ -1710,25 +1663,21 @@ class GoldengateOracleAIDataPlatformConnectionProperties( userId: str @typing.type_check_only -class GoldengateOracleConnectionProperties(typing_extensions.TypedDict, total=False): - authenticationMode: typing_extensions.Literal[ +class GoldengateOracleConnectionProperties(typing.TypedDict, total=False): + authenticationMode: typing.Literal[ "ORACLE_AUTHENTICATION_MODE_UNSPECIFIED", "TLS", "MTLS" ] connectionString: str gcpOracleDatabaseId: str password: str passwordSecretVersion: str - sessionMode: typing_extensions.Literal[ - "SESSION_MODE_UNSPECIFIED", "DIRECT", "REDIRECT" - ] + sessionMode: typing.Literal["SESSION_MODE_UNSPECIFIED", "DIRECT", "REDIRECT"] technologyType: str username: str walletFile: str @typing.type_check_only -class GoldengateOracleNosqlConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengateOracleNosqlConnectionProperties(typing.TypedDict, total=False): privateKeyFile: str privateKeyPassphraseSecret: str publicKeyFingerprint: str @@ -1739,14 +1688,12 @@ class GoldengateOracleNosqlConnectionProperties( userId: str @typing.type_check_only -class GoldengatePlacement(typing_extensions.TypedDict, total=False): +class GoldengatePlacement(typing.TypedDict, total=False): availabilityDomain: str faultDomain: str @typing.type_check_only -class GoldengatePostgresqlConnectionProperties( - typing_extensions.TypedDict, total=False -): +class GoldengatePostgresqlConnectionProperties(typing.TypedDict, total=False): additionalAttributes: _list[NameValuePair] database: str dbSystemId: str @@ -1754,14 +1701,14 @@ class GoldengatePostgresqlConnectionProperties( password: str passwordSecretVersion: str port: int - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "POSTGRESQL_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS", "MTLS" ] sslCaFile: str sslCertFile: str sslCrlFile: str sslKeyFile: str - sslMode: typing_extensions.Literal[ + sslMode: typing.Literal[ "POSTGRESQL_SSL_MODE_UNSPECIFIED", "PREFER", "REQUIRE", @@ -1772,8 +1719,8 @@ class GoldengatePostgresqlConnectionProperties( username: str @typing.type_check_only -class GoldengateRedisConnectionProperties(typing_extensions.TypedDict, total=False): - authenticationType: typing_extensions.Literal[ +class GoldengateRedisConnectionProperties(typing.TypedDict, total=False): + authenticationType: typing.Literal[ "REDIS_AUTHENTICATION_TYPE_UNSPECIFIED", "NONE", "BASIC" ] keyStoreFile: str @@ -1782,7 +1729,7 @@ class GoldengateRedisConnectionProperties(typing_extensions.TypedDict, total=Fal password: str passwordSecretVersion: str redisClusterId: str - securityProtocol: typing_extensions.Literal[ + securityProtocol: typing.Literal[ "REDIS_SECURITY_PROTOCOL_UNSPECIFIED", "PLAIN", "TLS", "MTLS" ] servers: str @@ -1793,8 +1740,8 @@ class GoldengateRedisConnectionProperties(typing_extensions.TypedDict, total=Fal username: str @typing.type_check_only -class GoldengateSnowflakeConnectionProperties(typing_extensions.TypedDict, total=False): - authenticationType: typing_extensions.Literal[ +class GoldengateSnowflakeConnectionProperties(typing.TypedDict, total=False): + authenticationType: typing.Literal[ "AUTHENTICATION_TYPE_UNSPECIFIED", "BASIC", "KEY_PAIR" ] connectionUrl: str @@ -1806,14 +1753,14 @@ class GoldengateSnowflakeConnectionProperties(typing_extensions.TypedDict, total username: str @typing.type_check_only -class GoogleCloudStorageIcebergStorage(typing_extensions.TypedDict, total=False): +class GoogleCloudStorageIcebergStorage(typing.TypedDict, total=False): bucket: str projectId: str serviceAccountKeyFile: str @typing.type_check_only -class IcebergCatalog(typing_extensions.TypedDict, total=False): - catalogType: typing_extensions.Literal[ +class IcebergCatalog(typing.TypedDict, total=False): + catalogType: typing.Literal[ "CATALOG_TYPE_UNSPECIFIED", "GLUE", "HADOOP", "NESSIE", "POLARIS", "REST" ] glueIcebergCatalog: GlueIcebergCatalog @@ -1822,11 +1769,11 @@ class IcebergCatalog(typing_extensions.TypedDict, total=False): restIcebergCatalog: RestIcebergCatalog @typing.type_check_only -class IcebergStorage(typing_extensions.TypedDict, total=False): +class IcebergStorage(typing.TypedDict, total=False): amazonS3IcebergStorage: AmazonS3IcebergStorage azureDataLakeStorageIcebergStorage: AzureDataLakeStorageIcebergStorage googleCloudStorageIcebergStorage: GoogleCloudStorageIcebergStorage - storageType: typing_extensions.Literal[ + storageType: typing.Literal[ "STORAGE_TYPE_UNSPECIFIED", "AMAZON_S3", "GOOGLE_CLOUD_STORAGE", @@ -1834,8 +1781,8 @@ class IcebergStorage(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IdentityConnector(typing_extensions.TypedDict, total=False): - connectionState: typing_extensions.Literal[ +class IdentityConnector(typing.TypedDict, total=False): + connectionState: typing.Literal[ "CONNECTION_STATE_UNSPECIFIED", "CONNECTED", "PARTIALLY_CONNECTED", @@ -1845,196 +1792,188 @@ class IdentityConnector(typing_extensions.TypedDict, total=False): serviceAgentEmail: str @typing.type_check_only -class IngressIp(typing_extensions.TypedDict, total=False): +class IngressIp(typing.TypedDict, total=False): ingressIpAddress: str @typing.type_check_only -class KafkaBootstrapServer(typing_extensions.TypedDict, total=False): +class KafkaBootstrapServer(typing.TypedDict, total=False): host: str port: int privateIpAddress: str @typing.type_check_only -class ListAutonomousDatabaseBackupsResponse(typing_extensions.TypedDict, total=False): +class ListAutonomousDatabaseBackupsResponse(typing.TypedDict, total=False): autonomousDatabaseBackups: _list[AutonomousDatabaseBackup] nextPageToken: str @typing.type_check_only -class ListAutonomousDatabaseCharacterSetsResponse( - typing_extensions.TypedDict, total=False -): +class ListAutonomousDatabaseCharacterSetsResponse(typing.TypedDict, total=False): autonomousDatabaseCharacterSets: _list[AutonomousDatabaseCharacterSet] nextPageToken: str @typing.type_check_only -class ListAutonomousDatabasesResponse(typing_extensions.TypedDict, total=False): +class ListAutonomousDatabasesResponse(typing.TypedDict, total=False): autonomousDatabases: _list[AutonomousDatabase] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAutonomousDbVersionsResponse(typing_extensions.TypedDict, total=False): +class ListAutonomousDbVersionsResponse(typing.TypedDict, total=False): autonomousDbVersions: _list[AutonomousDbVersion] nextPageToken: str @typing.type_check_only -class ListCloudExadataInfrastructuresResponse(typing_extensions.TypedDict, total=False): +class ListCloudExadataInfrastructuresResponse(typing.TypedDict, total=False): cloudExadataInfrastructures: _list[CloudExadataInfrastructure] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCloudVmClustersResponse(typing_extensions.TypedDict, total=False): +class ListCloudVmClustersResponse(typing.TypedDict, total=False): cloudVmClusters: _list[CloudVmCluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDatabaseCharacterSetsResponse(typing_extensions.TypedDict, total=False): +class ListDatabaseCharacterSetsResponse(typing.TypedDict, total=False): databaseCharacterSets: _list[DatabaseCharacterSet] nextPageToken: str @typing.type_check_only -class ListDatabasesResponse(typing_extensions.TypedDict, total=False): +class ListDatabasesResponse(typing.TypedDict, total=False): databases: _list[Database] nextPageToken: str @typing.type_check_only -class ListDbNodesResponse(typing_extensions.TypedDict, total=False): +class ListDbNodesResponse(typing.TypedDict, total=False): dbNodes: _list[DbNode] nextPageToken: str @typing.type_check_only -class ListDbServersResponse(typing_extensions.TypedDict, total=False): +class ListDbServersResponse(typing.TypedDict, total=False): dbServers: _list[DbServer] nextPageToken: str @typing.type_check_only -class ListDbSystemInitialStorageSizesResponse(typing_extensions.TypedDict, total=False): +class ListDbSystemInitialStorageSizesResponse(typing.TypedDict, total=False): dbSystemInitialStorageSizes: _list[DbSystemInitialStorageSize] nextPageToken: str @typing.type_check_only -class ListDbSystemShapesResponse(typing_extensions.TypedDict, total=False): +class ListDbSystemShapesResponse(typing.TypedDict, total=False): dbSystemShapes: _list[DbSystemShape] nextPageToken: str @typing.type_check_only -class ListDbSystemsResponse(typing_extensions.TypedDict, total=False): +class ListDbSystemsResponse(typing.TypedDict, total=False): dbSystems: _list[DbSystem] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDbVersionsResponse(typing_extensions.TypedDict, total=False): +class ListDbVersionsResponse(typing.TypedDict, total=False): dbVersions: _list[DbVersion] nextPageToken: str @typing.type_check_only -class ListEntitlementsResponse(typing_extensions.TypedDict, total=False): +class ListEntitlementsResponse(typing.TypedDict, total=False): entitlements: _list[Entitlement] nextPageToken: str @typing.type_check_only -class ListExadbVmClustersResponse(typing_extensions.TypedDict, total=False): +class ListExadbVmClustersResponse(typing.TypedDict, total=False): exadbVmClusters: _list[ExadbVmCluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListExascaleDbStorageVaultsResponse(typing_extensions.TypedDict, total=False): +class ListExascaleDbStorageVaultsResponse(typing.TypedDict, total=False): exascaleDbStorageVaults: _list[ExascaleDbStorageVault] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGiVersionsResponse(typing_extensions.TypedDict, total=False): +class ListGiVersionsResponse(typing.TypedDict, total=False): giVersions: _list[GiVersion] nextPageToken: str @typing.type_check_only -class ListGoldengateConnectionAssignmentsResponse( - typing_extensions.TypedDict, total=False -): +class ListGoldengateConnectionAssignmentsResponse(typing.TypedDict, total=False): goldengateConnectionAssignments: _list[GoldengateConnectionAssignment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGoldengateConnectionTypesResponse(typing_extensions.TypedDict, total=False): +class ListGoldengateConnectionTypesResponse(typing.TypedDict, total=False): goldengateConnectionTypes: _list[GoldengateConnectionType] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGoldengateConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListGoldengateConnectionsResponse(typing.TypedDict, total=False): goldengateConnections: _list[GoldengateConnection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGoldengateDeploymentEnvironmentsResponse( - typing_extensions.TypedDict, total=False -): +class ListGoldengateDeploymentEnvironmentsResponse(typing.TypedDict, total=False): goldengateDeploymentEnvironments: _list[GoldengateDeploymentEnvironment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGoldengateDeploymentTypesResponse(typing_extensions.TypedDict, total=False): +class ListGoldengateDeploymentTypesResponse(typing.TypedDict, total=False): goldengateDeploymentTypes: _list[GoldengateDeploymentType] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGoldengateDeploymentVersionsResponse( - typing_extensions.TypedDict, total=False -): +class ListGoldengateDeploymentVersionsResponse(typing.TypedDict, total=False): goldengateDeploymentVersions: _list[GoldengateDeploymentVersion] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGoldengateDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListGoldengateDeploymentsResponse(typing.TypedDict, total=False): goldengateDeployments: _list[GoldengateDeployment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMinorVersionsResponse(typing_extensions.TypedDict, total=False): +class ListMinorVersionsResponse(typing.TypedDict, total=False): minorVersions: _list[MinorVersion] nextPageToken: str @typing.type_check_only -class ListOdbNetworksResponse(typing_extensions.TypedDict, total=False): +class ListOdbNetworksResponse(typing.TypedDict, total=False): nextPageToken: str odbNetworks: _list[OdbNetwork] unreachable: _list[str] @typing.type_check_only -class ListOdbSubnetsResponse(typing_extensions.TypedDict, total=False): +class ListOdbSubnetsResponse(typing.TypedDict, total=False): nextPageToken: str odbSubnets: _list[OdbSubnet] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPluggableDatabasesResponse(typing_extensions.TypedDict, total=False): +class ListPluggableDatabasesResponse(typing.TypedDict, total=False): nextPageToken: str pluggableDatabases: _list[PluggableDatabase] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -2042,14 +1981,14 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): +class LocationMetadata(typing.TypedDict, total=False): gcpOracleZones: _list[str] @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): customActionTimeoutMins: int daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -2064,7 +2003,7 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): isCustomActionTimeoutEnabled: bool leadTimeWeek: int months: _list[ - typing_extensions.Literal[ + typing.Literal[ "MONTH_UNSPECIFIED", "JANUARY", "FEBRUARY", @@ -2080,10 +2019,8 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): "DECEMBER", ] ] - patchingMode: typing_extensions.Literal[ - "PATCHING_MODE_UNSPECIFIED", "ROLLING", "NON_ROLLING" - ] - preference: typing_extensions.Literal[ + patchingMode: typing.Literal["PATCHING_MODE_UNSPECIFIED", "ROLLING", "NON_ROLLING"] + preference: typing.Literal[ "MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED", "CUSTOM_PREFERENCE", "NO_PREFERENCE", @@ -2091,48 +2028,46 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): weeksOfMonth: _list[int] @typing.type_check_only -class MinorVersion(typing_extensions.TypedDict, total=False): +class MinorVersion(typing.TypedDict, total=False): gridImageId: str name: str version: str @typing.type_check_only -class NameValuePair(typing_extensions.TypedDict, total=False): +class NameValuePair(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class NessieIcebergCatalog(typing_extensions.TypedDict, total=False): +class NessieIcebergCatalog(typing.TypedDict, total=False): branch: str uri: str @typing.type_check_only -class OdbNetwork(typing_extensions.TypedDict, total=False): +class OdbNetwork(typing.TypedDict, total=False): createTime: str entitlementId: str gcpOracleZone: str labels: dict[str, typing.Any] name: str network: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", "TERMINATING", "FAILED" ] @typing.type_check_only -class OdbSubnet(typing_extensions.TypedDict, total=False): +class OdbSubnet(typing.TypedDict, total=False): cidrRange: str createTime: str labels: dict[str, typing.Any] name: str - purpose: typing_extensions.Literal[ - "PURPOSE_UNSPECIFIED", "CLIENT_SUBNET", "BACKUP_SUBNET" - ] - state: typing_extensions.Literal[ + purpose: typing.Literal["PURPOSE_UNSPECIFIED", "CLIENT_SUBNET", "BACKUP_SUBNET"] + state: typing.Literal[ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", "TERMINATING", "FAILED" ] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -2140,7 +2075,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -2151,22 +2086,22 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PluggableDatabase(typing_extensions.TypedDict, total=False): +class PluggableDatabase(typing.TypedDict, total=False): createTime: str name: str ociUrl: str properties: PluggableDatabaseProperties @typing.type_check_only -class PluggableDatabaseConnectionStrings(typing_extensions.TypedDict, total=False): +class PluggableDatabaseConnectionStrings(typing.TypedDict, total=False): allConnectionStrings: dict[str, typing.Any] pdbDefault: str pdbIpDefault: str @typing.type_check_only -class PluggableDatabaseNodeLevelDetails(typing_extensions.TypedDict, total=False): +class PluggableDatabaseNodeLevelDetails(typing.TypedDict, total=False): nodeName: str - openMode: typing_extensions.Literal[ + openMode: typing.Literal[ "PLUGGABLE_DATABASE_OPEN_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE", @@ -2176,7 +2111,7 @@ class PluggableDatabaseNodeLevelDetails(typing_extensions.TypedDict, total=False pluggableDatabaseId: str @typing.type_check_only -class PluggableDatabaseProperties(typing_extensions.TypedDict, total=False): +class PluggableDatabaseProperties(typing.TypedDict, total=False): compartmentId: str connectionStrings: PluggableDatabaseConnectionStrings containerDatabaseOcid: str @@ -2185,7 +2120,7 @@ class PluggableDatabaseProperties(typing_extensions.TypedDict, total=False): freeformTags: dict[str, typing.Any] isRestricted: bool lifecycleDetails: str - lifecycleState: typing_extensions.Literal[ + lifecycleState: typing.Literal[ "PLUGGABLE_DATABASE_LIFECYCLE_STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", @@ -2202,7 +2137,7 @@ class PluggableDatabaseProperties(typing_extensions.TypedDict, total=False): "DISABLED", ] ocid: str - operationsInsightsState: typing_extensions.Literal[ + operationsInsightsState: typing.Literal[ "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED", "ENABLING", "ENABLED", @@ -2215,7 +2150,7 @@ class PluggableDatabaseProperties(typing_extensions.TypedDict, total=False): pdbNodeLevelDetails: _list[PluggableDatabaseNodeLevelDetails] @typing.type_check_only -class PolarisIcebergCatalog(typing_extensions.TypedDict, total=False): +class PolarisIcebergCatalog(typing.TypedDict, total=False): clientId: str clientSecret: str polarisCatalog: str @@ -2223,31 +2158,29 @@ class PolarisIcebergCatalog(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class RefreshAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): +class RefreshAutonomousDatabaseRequest(typing.TypedDict, total=False): refreshCutoffTime: str @typing.type_check_only -class RemoveVirtualMachineExadbVmClusterRequest( - typing_extensions.TypedDict, total=False -): +class RemoveVirtualMachineExadbVmClusterRequest(typing.TypedDict, total=False): hostnames: _list[str] requestId: str @typing.type_check_only -class RestIcebergCatalog(typing_extensions.TypedDict, total=False): +class RestIcebergCatalog(typing.TypedDict, total=False): properties: str uri: str @typing.type_check_only -class RestartAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... +class RestartAutonomousDatabaseRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RestoreAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): +class RestoreAutonomousDatabaseRequest(typing.TypedDict, total=False): restoreTime: str @typing.type_check_only -class ScheduledOperationDetails(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class ScheduledOperationDetails(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -2261,7 +2194,7 @@ class ScheduledOperationDetails(typing_extensions.TypedDict, total=False): stopTime: TimeOfDay @typing.type_check_only -class SourceConfig(typing_extensions.TypedDict, total=False): +class SourceConfig(typing.TypedDict, total=False): autoRefreshFrequencySeconds: int autoRefreshPointLagSeconds: int autoRefreshStartTime: str @@ -2269,11 +2202,11 @@ class SourceConfig(typing_extensions.TypedDict, total=False): autonomousDatabase: str autonomousDatabaseBackup: str backupTime: str - cloneType: typing_extensions.Literal["CLONE_TYPE_UNSPECIFIED", "FULL", "METADATA"] - refreshableMode: typing_extensions.Literal[ + cloneType: typing.Literal["CLONE_TYPE_UNSPECIFIED", "FULL", "METADATA"] + refreshableMode: typing.Literal[ "REFRESHABLE_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] - sourceType: typing_extensions.Literal[ + sourceType: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "CLONE_DATABASE", "CROSS_REGION_DISASTER_RECOVERY", @@ -2284,63 +2217,59 @@ class SourceConfig(typing_extensions.TypedDict, total=False): useLatestAvailableBackup: bool @typing.type_check_only -class StartAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... +class StartAutonomousDatabaseRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StartGoldengateDeploymentRequest(typing_extensions.TypedDict, total=False): ... +class StartGoldengateDeploymentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): ... +class StopAutonomousDatabaseRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopGoldengateDeploymentRequest(typing_extensions.TypedDict, total=False): ... +class StopGoldengateDeploymentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StorageSizeDetails(typing_extensions.TypedDict, total=False): +class StorageSizeDetails(typing.TypedDict, total=False): dataStorageSizeInGbs: int recoStorageSizeInGbs: int @typing.type_check_only -class SwitchoverAutonomousDatabaseRequest(typing_extensions.TypedDict, total=False): +class SwitchoverAutonomousDatabaseRequest(typing.TypedDict, total=False): peerAutonomousDatabase: str @typing.type_check_only -class TestConnectionAssignmentError(typing_extensions.TypedDict, total=False): +class TestConnectionAssignmentError(typing.TypedDict, total=False): action: str code: str issue: str message: str @typing.type_check_only -class TestGoldengateConnectionAssignmentRequest( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["TEST_TYPE_UNSPECIFIED", "DEFAULT"] +class TestGoldengateConnectionAssignmentRequest(typing.TypedDict, total=False): + type: typing.Literal["TEST_TYPE_UNSPECIFIED", "DEFAULT"] @typing.type_check_only -class TestGoldengateConnectionAssignmentResponse( - typing_extensions.TypedDict, total=False -): +class TestGoldengateConnectionAssignmentResponse(typing.TypedDict, total=False): error: TestConnectionAssignmentError errors: _list[TestConnectionAssignmentError] - resultType: typing_extensions.Literal[ + resultType: typing.Literal[ "RESULT_TYPE_UNSPECIFIED", "SUCCEEDED", "FAILED", "TIMED_OUT" ] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/orgpolicy/v2/resources.pyi b/googleapiclient-stubs/_apis/orgpolicy/v2/resources.pyi index 643c4b778..093cbfc3b 100644 --- a/googleapiclient-stubs/_apis/orgpolicy/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/orgpolicy/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi b/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi index a8e3d191a..e9d53dd9c 100644 --- a/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/orgpolicy/v2/schemas.pyi @@ -1,22 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudOrgpolicyV2AlternatePolicySpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2AlternatePolicySpec(typing.TypedDict, total=False): launch: str spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2Constraint(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2Constraint(typing.TypedDict, total=False): booleanConstraint: GoogleCloudOrgpolicyV2ConstraintBooleanConstraint - constraintDefault: typing_extensions.Literal[ - "CONSTRAINT_DEFAULT_UNSPECIFIED", "ALLOW", "DENY" - ] + constraintDefault: typing.Literal["CONSTRAINT_DEFAULT_UNSPECIFIED", "ALLOW", "DENY"] description: str displayName: str equivalentConstraint: str @@ -26,21 +20,19 @@ class GoogleCloudOrgpolicyV2Constraint(typing_extensions.TypedDict, total=False) supportsSimulation: bool @typing.type_check_only -class GoogleCloudOrgpolicyV2ConstraintBooleanConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2ConstraintBooleanConstraint(typing.TypedDict, total=False): customConstraintDefinition: ( GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition ) @typing.type_check_only class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - actionType: typing_extensions.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] + actionType: typing.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] condition: str methodTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", @@ -54,37 +46,35 @@ class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition( @typing.type_check_only class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): defaultValue: typing.Any - item: typing_extensions.Literal["TYPE_UNSPECIFIED", "LIST", "STRING", "BOOLEAN"] + item: typing.Literal["TYPE_UNSPECIFIED", "LIST", "STRING", "BOOLEAN"] metadata: ( GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata ) - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "LIST", "STRING", "BOOLEAN"] + type: typing.Literal["TYPE_UNSPECIFIED", "LIST", "STRING", "BOOLEAN"] validValuesExpr: str @typing.type_check_only class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str @typing.type_check_only -class GoogleCloudOrgpolicyV2ConstraintListConstraint( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2ConstraintListConstraint(typing.TypedDict, total=False): supportsIn: bool supportsUnder: bool @typing.type_check_only -class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV2CustomConstraint(typing.TypedDict, total=False): + actionType: typing.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] condition: str description: str displayName: str methodTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", @@ -98,28 +88,24 @@ class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2ListConstraintsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2ListConstraintsResponse(typing.TypedDict, total=False): constraints: _list[GoogleCloudOrgpolicyV2Constraint] nextPageToken: str @typing.type_check_only class GoogleCloudOrgpolicyV2ListCustomConstraintsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customConstraints: _list[GoogleCloudOrgpolicyV2CustomConstraint] nextPageToken: str @typing.type_check_only -class GoogleCloudOrgpolicyV2ListPoliciesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2ListPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str policies: _list[GoogleCloudOrgpolicyV2Policy] @typing.type_check_only -class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2Policy(typing.TypedDict, total=False): alternate: GoogleCloudOrgpolicyV2AlternatePolicySpec dryRunSpec: GoogleCloudOrgpolicyV2PolicySpec etag: str @@ -127,7 +113,7 @@ class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2PolicySpec(typing.TypedDict, total=False): etag: str inheritFromParent: bool reset: bool @@ -135,9 +121,7 @@ class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2PolicySpecPolicyRule(typing.TypedDict, total=False): allowAll: bool condition: GoogleTypeExpr denyAll: bool @@ -147,16 +131,16 @@ class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( @typing.type_check_only class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi index f57527b7c..8cdf3e848 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -39,7 +38,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "INVENTORY_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -52,7 +51,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "INVENTORY_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi index 8ec6ed3b7..5c2c02afb 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi @@ -1,87 +1,83 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AptSettings(typing_extensions.TypedDict, total=False): +class AptSettings(typing.TypedDict, total=False): excludes: _list[str] exclusivePackages: _list[str] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DIST", "UPGRADE"] + type: typing.Literal["TYPE_UNSPECIFIED", "DIST", "UPGRADE"] @typing.type_check_only -class CVSSv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSSv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelPatchJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelPatchJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecStep(typing_extensions.TypedDict, total=False): +class ExecStep(typing.TypedDict, total=False): linuxExecStepConfig: ExecStepConfig windowsExecStepConfig: ExecStepConfig @typing.type_check_only -class ExecStepConfig(typing_extensions.TypedDict, total=False): +class ExecStepConfig(typing.TypedDict, total=False): allowedSuccessCodes: _list[int] gcsObject: GcsObject - interpreter: typing_extensions.Literal[ + interpreter: typing.Literal[ "INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL" ] localPath: str @typing.type_check_only -class ExecutePatchJobRequest(typing_extensions.TypedDict, total=False): +class ExecutePatchJobRequest(typing.TypedDict, total=False): description: str displayName: str dryRun: bool @@ -91,29 +87,27 @@ class ExecutePatchJobRequest(typing_extensions.TypedDict, total=False): rollout: PatchRollout @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): fixed: int percent: int @typing.type_check_only -class GcsObject(typing_extensions.TypedDict, total=False): +class GcsObject(typing.TypedDict, total=False): bucket: str generationNumber: str object: str @typing.type_check_only -class GooSettings(typing_extensions.TypedDict, total=False): ... +class GooSettings(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -123,9 +117,7 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( rolloutUpdateTime: str @typing.type_check_only -class GoogleCloudOsconfigV2__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -135,9 +127,7 @@ class GoogleCloudOsconfigV2__OperationMetadata( verb: str @typing.type_check_only -class GoogleCloudOsconfigV2beta__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -147,26 +137,24 @@ class GoogleCloudOsconfigV2beta__OperationMetadata( verb: str @typing.type_check_only -class Inventory(typing_extensions.TypedDict, total=False): +class Inventory(typing.TypedDict, total=False): items: dict[str, typing.Any] name: str osInfo: InventoryOsInfo updateTime: str @typing.type_check_only -class InventoryItem(typing_extensions.TypedDict, total=False): +class InventoryItem(typing.TypedDict, total=False): availablePackage: InventorySoftwarePackage createTime: str id: str installedPackage: InventorySoftwarePackage - originType: typing_extensions.Literal["ORIGIN_TYPE_UNSPECIFIED", "INVENTORY_REPORT"] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "INSTALLED_PACKAGE", "AVAILABLE_PACKAGE" - ] + originType: typing.Literal["ORIGIN_TYPE_UNSPECIFIED", "INVENTORY_REPORT"] + type: typing.Literal["TYPE_UNSPECIFIED", "INSTALLED_PACKAGE", "AVAILABLE_PACKAGE"] updateTime: str @typing.type_check_only -class InventoryOsInfo(typing_extensions.TypedDict, total=False): +class InventoryOsInfo(typing.TypedDict, total=False): architecture: str hostname: str kernelRelease: str @@ -177,7 +165,7 @@ class InventoryOsInfo(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class InventorySoftwarePackage(typing_extensions.TypedDict, total=False): +class InventorySoftwarePackage(typing.TypedDict, total=False): aptPackage: InventoryVersionedPackage cosPackage: InventoryVersionedPackage googetPackage: InventoryVersionedPackage @@ -189,13 +177,13 @@ class InventorySoftwarePackage(typing_extensions.TypedDict, total=False): zypperPatch: InventoryZypperPatch @typing.type_check_only -class InventoryVersionedPackage(typing_extensions.TypedDict, total=False): +class InventoryVersionedPackage(typing.TypedDict, total=False): architecture: str packageName: str version: str @typing.type_check_only -class InventoryWindowsApplication(typing_extensions.TypedDict, total=False): +class InventoryWindowsApplication(typing.TypedDict, total=False): displayName: str displayVersion: str helpLink: str @@ -203,16 +191,14 @@ class InventoryWindowsApplication(typing_extensions.TypedDict, total=False): publisher: str @typing.type_check_only -class InventoryWindowsQuickFixEngineeringPackage( - typing_extensions.TypedDict, total=False -): +class InventoryWindowsQuickFixEngineeringPackage(typing.TypedDict, total=False): caption: str description: str hotFixId: str installTime: str @typing.type_check_only -class InventoryWindowsUpdatePackage(typing_extensions.TypedDict, total=False): +class InventoryWindowsUpdatePackage(typing.TypedDict, total=False): categories: _list[InventoryWindowsUpdatePackageWindowsUpdateCategory] description: str kbArticleIds: _list[str] @@ -224,77 +210,75 @@ class InventoryWindowsUpdatePackage(typing_extensions.TypedDict, total=False): updateId: str @typing.type_check_only -class InventoryWindowsUpdatePackageWindowsUpdateCategory( - typing_extensions.TypedDict, total=False -): +class InventoryWindowsUpdatePackageWindowsUpdateCategory(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class InventoryZypperPatch(typing_extensions.TypedDict, total=False): +class InventoryZypperPatch(typing.TypedDict, total=False): category: str patchName: str severity: str summary: str @typing.type_check_only -class ListInventoriesResponse(typing_extensions.TypedDict, total=False): +class ListInventoriesResponse(typing.TypedDict, total=False): inventories: _list[Inventory] nextPageToken: str @typing.type_check_only -class ListOSPolicyAssignmentReportsResponse(typing_extensions.TypedDict, total=False): +class ListOSPolicyAssignmentReportsResponse(typing.TypedDict, total=False): nextPageToken: str osPolicyAssignmentReports: _list[OSPolicyAssignmentReport] @typing.type_check_only -class ListOSPolicyAssignmentRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListOSPolicyAssignmentRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] @typing.type_check_only -class ListOSPolicyAssignmentsResponse(typing_extensions.TypedDict, total=False): +class ListOSPolicyAssignmentsResponse(typing.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] @typing.type_check_only -class ListPatchDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListPatchDeploymentsResponse(typing.TypedDict, total=False): nextPageToken: str patchDeployments: _list[PatchDeployment] @typing.type_check_only -class ListPatchJobInstanceDetailsResponse(typing_extensions.TypedDict, total=False): +class ListPatchJobInstanceDetailsResponse(typing.TypedDict, total=False): nextPageToken: str patchJobInstanceDetails: _list[PatchJobInstanceDetails] @typing.type_check_only -class ListPatchJobsResponse(typing_extensions.TypedDict, total=False): +class ListPatchJobsResponse(typing.TypedDict, total=False): nextPageToken: str patchJobs: _list[PatchJob] @typing.type_check_only -class ListVulnerabilityReportsResponse(typing_extensions.TypedDict, total=False): +class ListVulnerabilityReportsResponse(typing.TypedDict, total=False): nextPageToken: str vulnerabilityReports: _list[VulnerabilityReport] @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class MonthlySchedule(typing_extensions.TypedDict, total=False): +class MonthlySchedule(typing.TypedDict, total=False): monthDay: int weekDayOfMonth: WeekDayOfMonth @typing.type_check_only -class OSPolicy(typing_extensions.TypedDict, total=False): +class OSPolicy(typing.TypedDict, total=False): allowNoResourceGroupMatch: bool description: str id: str - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] + mode: typing.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] resourceGroups: _list[OSPolicyResourceGroup] @typing.type_check_only -class OSPolicyAssignment(typing_extensions.TypedDict, total=False): +class OSPolicyAssignment(typing.TypedDict, total=False): baseline: bool deleted: bool description: str @@ -306,7 +290,7 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): revisionCreateTime: str revisionId: str rollout: OSPolicyAssignmentRollout - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -316,31 +300,27 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class OSPolicyAssignmentInstanceFilter(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentInstanceFilter(typing.TypedDict, total=False): all: bool exclusionLabels: _list[OSPolicyAssignmentLabelSet] inclusionLabels: _list[OSPolicyAssignmentLabelSet] inventories: _list[OSPolicyAssignmentInstanceFilterInventory] @typing.type_check_only -class OSPolicyAssignmentInstanceFilterInventory( - typing_extensions.TypedDict, total=False -): +class OSPolicyAssignmentInstanceFilterInventory(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyAssignmentLabelSet(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentLabelSet(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=False): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] +class OSPolicyAssignmentOperationMetadata(typing.TypedDict, total=False): + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -350,7 +330,7 @@ class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=Fal rolloutUpdateTime: str @typing.type_check_only -class OSPolicyAssignmentReport(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentReport(typing.TypedDict, total=False): instance: str lastRunId: str name: str @@ -359,10 +339,8 @@ class OSPolicyAssignmentReport(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class OSPolicyAssignmentReportOSPolicyCompliance( - typing_extensions.TypedDict, total=False -): - complianceState: typing_extensions.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] +class OSPolicyAssignmentReportOSPolicyCompliance(typing.TypedDict, total=False): + complianceState: typing.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] complianceStateReason: str osPolicyId: str osPolicyResourceCompliances: _list[ @@ -371,9 +349,9 @@ class OSPolicyAssignmentReportOSPolicyCompliance( @typing.type_check_only class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - complianceState: typing_extensions.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] + complianceState: typing.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] complianceStateReason: str configSteps: _list[ OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep @@ -383,16 +361,16 @@ class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance( @typing.type_check_only class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enforcementOutput: str @typing.type_check_only class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorMessage: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "VALIDATION", "DESIRED_STATE_CHECK", @@ -401,17 +379,17 @@ class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPoli ] @typing.type_check_only -class OSPolicyAssignmentRollout(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentRollout(typing.TypedDict, total=False): disruptionBudget: FixedOrPercent minWaitDuration: str @typing.type_check_only -class OSPolicyInventoryFilter(typing_extensions.TypedDict, total=False): +class OSPolicyInventoryFilter(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyResource(typing_extensions.TypedDict, total=False): +class OSPolicyResource(typing.TypedDict, total=False): exec: OSPolicyResourceExecResource file: OSPolicyResourceFileResource id: str @@ -419,60 +397,58 @@ class OSPolicyResource(typing_extensions.TypedDict, total=False): repository: OSPolicyResourceRepositoryResource @typing.type_check_only -class OSPolicyResourceExecResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResource(typing.TypedDict, total=False): enforce: OSPolicyResourceExecResourceExec validate: OSPolicyResourceExecResourceExec @typing.type_check_only -class OSPolicyResourceExecResourceExec(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResourceExec(typing.TypedDict, total=False): args: _list[str] file: OSPolicyResourceFile - interpreter: typing_extensions.Literal[ + interpreter: typing.Literal[ "INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL" ] outputFilePath: str script: str @typing.type_check_only -class OSPolicyResourceFile(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFile(typing.TypedDict, total=False): allowInsecure: bool gcs: OSPolicyResourceFileGcs localPath: str remote: OSPolicyResourceFileRemote @typing.type_check_only -class OSPolicyResourceFileGcs(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileGcs(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class OSPolicyResourceFileRemote(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileRemote(typing.TypedDict, total=False): sha256Checksum: str uri: str @typing.type_check_only -class OSPolicyResourceFileResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileResource(typing.TypedDict, total=False): content: str file: OSPolicyResourceFile path: str permissions: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DESIRED_STATE_UNSPECIFIED", "PRESENT", "ABSENT", "CONTENTS_MATCH" ] @typing.type_check_only -class OSPolicyResourceGroup(typing_extensions.TypedDict, total=False): +class OSPolicyResourceGroup(typing.TypedDict, total=False): inventoryFilters: _list[OSPolicyInventoryFilter] resources: _list[OSPolicyResource] @typing.type_check_only -class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResource(typing.TypedDict, total=False): apt: OSPolicyResourcePackageResourceAPT deb: OSPolicyResourcePackageResourceDeb - desiredState: typing_extensions.Literal[ - "DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED" - ] + desiredState: typing.Literal["DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED"] googet: OSPolicyResourcePackageResourceGooGet msi: OSPolicyResourcePackageResourceMSI rpm: OSPolicyResourcePackageResourceRPM @@ -480,84 +456,76 @@ class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): zypper: OSPolicyResourcePackageResourceZypper @typing.type_check_only -class OSPolicyResourcePackageResourceAPT(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceAPT(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceDeb(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceDeb(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceGooGet(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceGooGet(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceMSI(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceMSI(typing.TypedDict, total=False): properties: _list[str] source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceRPM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceRPM(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceYUM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceYUM(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceZypper(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceZypper(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourceRepositoryResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceRepositoryResource(typing.TypedDict, total=False): apt: OSPolicyResourceRepositoryResourceAptRepository goo: OSPolicyResourceRepositoryResourceGooRepository yum: OSPolicyResourceRepositoryResourceYumRepository zypper: OSPolicyResourceRepositoryResourceZypperRepository @typing.type_check_only -class OSPolicyResourceRepositoryResourceAptRepository( - typing_extensions.TypedDict, total=False -): - archiveType: typing_extensions.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] +class OSPolicyResourceRepositoryResourceAptRepository(typing.TypedDict, total=False): + archiveType: typing.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] components: _list[str] distribution: str gpgKey: str uri: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceGooRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceGooRepository(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceYumRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceYumRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceZypperRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceZypperRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class OneTimeSchedule(typing_extensions.TypedDict, total=False): +class OneTimeSchedule(typing.TypedDict, total=False): executeTime: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -565,13 +533,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PatchConfig(typing_extensions.TypedDict, total=False): +class PatchConfig(typing.TypedDict, total=False): apt: AptSettings goo: GooSettings migInstancesAllowed: bool postStep: ExecStep preStep: ExecStep - rebootConfig: typing_extensions.Literal[ + rebootConfig: typing.Literal[ "REBOOT_CONFIG_UNSPECIFIED", "DEFAULT", "ALWAYS", "NEVER" ] skipUnpatchableVms: bool @@ -580,7 +548,7 @@ class PatchConfig(typing_extensions.TypedDict, total=False): zypper: ZypperSettings @typing.type_check_only -class PatchDeployment(typing_extensions.TypedDict, total=False): +class PatchDeployment(typing.TypedDict, total=False): createTime: str description: str duration: str @@ -591,11 +559,11 @@ class PatchDeployment(typing_extensions.TypedDict, total=False): patchConfig: PatchConfig recurringSchedule: RecurringSchedule rollout: PatchRollout - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED"] updateTime: str @typing.type_check_only -class PatchInstanceFilter(typing_extensions.TypedDict, total=False): +class PatchInstanceFilter(typing.TypedDict, total=False): all: bool groupLabels: _list[PatchInstanceFilterGroupLabel] instanceNamePrefixes: _list[str] @@ -603,11 +571,11 @@ class PatchInstanceFilter(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class PatchInstanceFilterGroupLabel(typing_extensions.TypedDict, total=False): +class PatchInstanceFilterGroupLabel(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class PatchJob(typing_extensions.TypedDict, total=False): +class PatchJob(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -621,7 +589,7 @@ class PatchJob(typing_extensions.TypedDict, total=False): patchDeployment: str percentComplete: float rollout: PatchRollout - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTED", "INSTANCE_LOOKUP", @@ -635,12 +603,12 @@ class PatchJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PatchJobInstanceDetails(typing_extensions.TypedDict, total=False): +class PatchJobInstanceDetails(typing.TypedDict, total=False): attemptCount: str failureReason: str instanceSystemId: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PATCH_STATE_UNSPECIFIED", "PENDING", "INACTIVE", @@ -661,7 +629,7 @@ class PatchJobInstanceDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PatchJobInstanceDetailsSummary(typing_extensions.TypedDict, total=False): +class PatchJobInstanceDetailsSummary(typing.TypedDict, total=False): ackedInstanceCount: str applyingPatchesInstanceCount: str downloadingPatchesInstanceCount: str @@ -680,28 +648,24 @@ class PatchJobInstanceDetailsSummary(typing_extensions.TypedDict, total=False): timedOutInstanceCount: str @typing.type_check_only -class PatchRollout(typing_extensions.TypedDict, total=False): +class PatchRollout(typing.TypedDict, total=False): disruptionBudget: FixedOrPercent - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "ZONE_BY_ZONE", "CONCURRENT_ZONES" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "ZONE_BY_ZONE", "CONCURRENT_ZONES"] @typing.type_check_only -class PausePatchDeploymentRequest(typing_extensions.TypedDict, total=False): ... +class PausePatchDeploymentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ProjectFeatureSettings(typing_extensions.TypedDict, total=False): +class ProjectFeatureSettings(typing.TypedDict, total=False): name: str - patchAndConfigFeatureSet: typing_extensions.Literal[ + patchAndConfigFeatureSet: typing.Literal[ "PATCH_AND_CONFIG_FEATURE_SET_UNSPECIFIED", "OSCONFIG_B", "OSCONFIG_C" ] @typing.type_check_only -class RecurringSchedule(typing_extensions.TypedDict, total=False): +class RecurringSchedule(typing.TypedDict, total=False): endTime: str - frequency: typing_extensions.Literal[ - "FREQUENCY_UNSPECIFIED", "WEEKLY", "MONTHLY", "DAILY" - ] + frequency: typing.Literal["FREQUENCY_UNSPECIFIED", "WEEKLY", "MONTHLY", "DAILY"] lastExecuteTime: str monthly: MonthlySchedule nextExecuteTime: str @@ -711,16 +675,16 @@ class RecurringSchedule(typing_extensions.TypedDict, total=False): weekly: WeeklySchedule @typing.type_check_only -class ResumePatchDeploymentRequest(typing_extensions.TypedDict, total=False): ... +class ResumePatchDeploymentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str @@ -728,20 +692,20 @@ class StatusProto(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class VulnerabilityReport(typing_extensions.TypedDict, total=False): - highestUpgradableCveSeverity: typing_extensions.Literal[ +class VulnerabilityReport(typing.TypedDict, total=False): + highestUpgradableCveSeverity: typing.Literal[ "VULNERABILITY_SEVERITY_LEVEL_UNSPECIFIED", "NONE", "MINIMAL", @@ -755,7 +719,7 @@ class VulnerabilityReport(typing_extensions.TypedDict, total=False): vulnerabilities: _list[VulnerabilityReportVulnerability] @typing.type_check_only -class VulnerabilityReportVulnerability(typing_extensions.TypedDict, total=False): +class VulnerabilityReportVulnerability(typing.TypedDict, total=False): availableInventoryItemIds: _list[str] createTime: str details: VulnerabilityReportVulnerabilityDetails @@ -764,7 +728,7 @@ class VulnerabilityReportVulnerability(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class VulnerabilityReportVulnerabilityDetails(typing_extensions.TypedDict, total=False): +class VulnerabilityReportVulnerabilityDetails(typing.TypedDict, total=False): cve: str cvssV2Score: float cvssV3: CVSSv3 @@ -773,22 +737,20 @@ class VulnerabilityReportVulnerabilityDetails(typing_extensions.TypedDict, total severity: str @typing.type_check_only -class VulnerabilityReportVulnerabilityDetailsReference( - typing_extensions.TypedDict, total=False -): +class VulnerabilityReportVulnerabilityDetailsReference(typing.TypedDict, total=False): source: str url: str @typing.type_check_only -class VulnerabilityReportVulnerabilityItem(typing_extensions.TypedDict, total=False): +class VulnerabilityReportVulnerabilityItem(typing.TypedDict, total=False): availableInventoryItemId: str fixedCpeUri: str installedInventoryItemId: str upstreamFix: str @typing.type_check_only -class WeekDayOfMonth(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class WeekDayOfMonth(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -802,8 +764,8 @@ class WeekDayOfMonth(typing_extensions.TypedDict, total=False): weekOrdinal: int @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class WeeklySchedule(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -815,9 +777,9 @@ class WeeklySchedule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WindowsUpdateSettings(typing_extensions.TypedDict, total=False): +class WindowsUpdateSettings(typing.TypedDict, total=False): classifications: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLASSIFICATION_UNSPECIFIED", "CRITICAL", "SECURITY", @@ -834,14 +796,14 @@ class WindowsUpdateSettings(typing_extensions.TypedDict, total=False): exclusivePatches: _list[str] @typing.type_check_only -class YumSettings(typing_extensions.TypedDict, total=False): +class YumSettings(typing.TypedDict, total=False): excludes: _list[str] exclusivePackages: _list[str] minimal: bool security: bool @typing.type_check_only -class ZypperSettings(typing_extensions.TypedDict, total=False): +class ZypperSettings(typing.TypedDict, total=False): categories: _list[str] excludes: _list[str] exclusivePatches: _list[str] diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi index 3b8029924..eec18fd5b 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -47,7 +46,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "INVENTORY_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -60,7 +59,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "INVENTORY_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi index 443aee33f..405b2a3bf 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi @@ -1,77 +1,71 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CVSSv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class CVSSv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] exploitabilityScore: float impactScore: float - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): fixed: int percent: int @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -81,9 +75,7 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( rolloutUpdateTime: str @typing.type_check_only -class GoogleCloudOsconfigV2__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -93,9 +85,7 @@ class GoogleCloudOsconfigV2__OperationMetadata( verb: str @typing.type_check_only -class GoogleCloudOsconfigV2beta__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -105,7 +95,7 @@ class GoogleCloudOsconfigV2beta__OperationMetadata( verb: str @typing.type_check_only -class InstanceOSPoliciesCompliance(typing_extensions.TypedDict, total=False): +class InstanceOSPoliciesCompliance(typing.TypedDict, total=False): detailedState: str detailedStateReason: str instance: str @@ -113,7 +103,7 @@ class InstanceOSPoliciesCompliance(typing_extensions.TypedDict, total=False): lastComplianceRunId: str name: str osPolicyCompliances: _list[InstanceOSPoliciesComplianceOSPolicyCompliance] - state: typing_extensions.Literal[ + state: typing.Literal[ "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED", "COMPLIANT", "NON_COMPLIANT", @@ -122,13 +112,11 @@ class InstanceOSPoliciesCompliance(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class InstanceOSPoliciesComplianceOSPolicyCompliance( - typing_extensions.TypedDict, total=False -): +class InstanceOSPoliciesComplianceOSPolicyCompliance(typing.TypedDict, total=False): osPolicyAssignment: str osPolicyId: str osPolicyResourceCompliances: _list[OSPolicyResourceCompliance] - state: typing_extensions.Literal[ + state: typing.Literal[ "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED", "COMPLIANT", "NON_COMPLIANT", @@ -137,26 +125,24 @@ class InstanceOSPoliciesComplianceOSPolicyCompliance( ] @typing.type_check_only -class Inventory(typing_extensions.TypedDict, total=False): +class Inventory(typing.TypedDict, total=False): items: dict[str, typing.Any] name: str osInfo: InventoryOsInfo updateTime: str @typing.type_check_only -class InventoryItem(typing_extensions.TypedDict, total=False): +class InventoryItem(typing.TypedDict, total=False): availablePackage: InventorySoftwarePackage createTime: str id: str installedPackage: InventorySoftwarePackage - originType: typing_extensions.Literal["ORIGIN_TYPE_UNSPECIFIED", "INVENTORY_REPORT"] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "INSTALLED_PACKAGE", "AVAILABLE_PACKAGE" - ] + originType: typing.Literal["ORIGIN_TYPE_UNSPECIFIED", "INVENTORY_REPORT"] + type: typing.Literal["TYPE_UNSPECIFIED", "INSTALLED_PACKAGE", "AVAILABLE_PACKAGE"] updateTime: str @typing.type_check_only -class InventoryOsInfo(typing_extensions.TypedDict, total=False): +class InventoryOsInfo(typing.TypedDict, total=False): architecture: str hostname: str kernelRelease: str @@ -167,7 +153,7 @@ class InventoryOsInfo(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class InventorySoftwarePackage(typing_extensions.TypedDict, total=False): +class InventorySoftwarePackage(typing.TypedDict, total=False): aptPackage: InventoryVersionedPackage cosPackage: InventoryVersionedPackage googetPackage: InventoryVersionedPackage @@ -179,13 +165,13 @@ class InventorySoftwarePackage(typing_extensions.TypedDict, total=False): zypperPatch: InventoryZypperPatch @typing.type_check_only -class InventoryVersionedPackage(typing_extensions.TypedDict, total=False): +class InventoryVersionedPackage(typing.TypedDict, total=False): architecture: str packageName: str version: str @typing.type_check_only -class InventoryWindowsApplication(typing_extensions.TypedDict, total=False): +class InventoryWindowsApplication(typing.TypedDict, total=False): displayName: str displayVersion: str helpLink: str @@ -193,16 +179,14 @@ class InventoryWindowsApplication(typing_extensions.TypedDict, total=False): publisher: str @typing.type_check_only -class InventoryWindowsQuickFixEngineeringPackage( - typing_extensions.TypedDict, total=False -): +class InventoryWindowsQuickFixEngineeringPackage(typing.TypedDict, total=False): caption: str description: str hotFixId: str installTime: str @typing.type_check_only -class InventoryWindowsUpdatePackage(typing_extensions.TypedDict, total=False): +class InventoryWindowsUpdatePackage(typing.TypedDict, total=False): categories: _list[InventoryWindowsUpdatePackageWindowsUpdateCategory] description: str kbArticleIds: _list[str] @@ -214,64 +198,60 @@ class InventoryWindowsUpdatePackage(typing_extensions.TypedDict, total=False): updateId: str @typing.type_check_only -class InventoryWindowsUpdatePackageWindowsUpdateCategory( - typing_extensions.TypedDict, total=False -): +class InventoryWindowsUpdatePackageWindowsUpdateCategory(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class InventoryZypperPatch(typing_extensions.TypedDict, total=False): +class InventoryZypperPatch(typing.TypedDict, total=False): category: str patchName: str severity: str summary: str @typing.type_check_only -class ListInstanceOSPoliciesCompliancesResponse( - typing_extensions.TypedDict, total=False -): +class ListInstanceOSPoliciesCompliancesResponse(typing.TypedDict, total=False): instanceOsPoliciesCompliances: _list[InstanceOSPoliciesCompliance] nextPageToken: str @typing.type_check_only -class ListInventoriesResponse(typing_extensions.TypedDict, total=False): +class ListInventoriesResponse(typing.TypedDict, total=False): inventories: _list[Inventory] nextPageToken: str @typing.type_check_only -class ListOSPolicyAssignmentReportsResponse(typing_extensions.TypedDict, total=False): +class ListOSPolicyAssignmentReportsResponse(typing.TypedDict, total=False): nextPageToken: str osPolicyAssignmentReports: _list[OSPolicyAssignmentReport] @typing.type_check_only -class ListOSPolicyAssignmentRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListOSPolicyAssignmentRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] @typing.type_check_only -class ListOSPolicyAssignmentsResponse(typing_extensions.TypedDict, total=False): +class ListOSPolicyAssignmentsResponse(typing.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] @typing.type_check_only -class ListVulnerabilityReportsResponse(typing_extensions.TypedDict, total=False): +class ListVulnerabilityReportsResponse(typing.TypedDict, total=False): nextPageToken: str vulnerabilityReports: _list[VulnerabilityReport] @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class OSPolicy(typing_extensions.TypedDict, total=False): +class OSPolicy(typing.TypedDict, total=False): allowNoResourceGroupMatch: bool description: str id: str - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] + mode: typing.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] resourceGroups: _list[OSPolicyResourceGroup] @typing.type_check_only -class OSPolicyAssignment(typing_extensions.TypedDict, total=False): +class OSPolicyAssignment(typing.TypedDict, total=False): baseline: bool deleted: bool description: str @@ -283,7 +263,7 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): revisionCreateTime: str revisionId: str rollout: OSPolicyAssignmentRollout - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -293,7 +273,7 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class OSPolicyAssignmentInstanceFilter(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentInstanceFilter(typing.TypedDict, total=False): all: bool exclusionLabels: _list[OSPolicyAssignmentLabelSet] inclusionLabels: _list[OSPolicyAssignmentLabelSet] @@ -301,24 +281,20 @@ class OSPolicyAssignmentInstanceFilter(typing_extensions.TypedDict, total=False) osShortNames: _list[str] @typing.type_check_only -class OSPolicyAssignmentInstanceFilterInventory( - typing_extensions.TypedDict, total=False -): +class OSPolicyAssignmentInstanceFilterInventory(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyAssignmentLabelSet(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentLabelSet(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=False): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] +class OSPolicyAssignmentOperationMetadata(typing.TypedDict, total=False): + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -328,7 +304,7 @@ class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=Fal rolloutUpdateTime: str @typing.type_check_only -class OSPolicyAssignmentReport(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentReport(typing.TypedDict, total=False): instance: str lastRunId: str name: str @@ -337,10 +313,8 @@ class OSPolicyAssignmentReport(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class OSPolicyAssignmentReportOSPolicyCompliance( - typing_extensions.TypedDict, total=False -): - complianceState: typing_extensions.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] +class OSPolicyAssignmentReportOSPolicyCompliance(typing.TypedDict, total=False): + complianceState: typing.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] complianceStateReason: str osPolicyId: str osPolicyResourceCompliances: _list[ @@ -349,9 +323,9 @@ class OSPolicyAssignmentReportOSPolicyCompliance( @typing.type_check_only class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - complianceState: typing_extensions.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] + complianceState: typing.Literal["UNKNOWN", "COMPLIANT", "NON_COMPLIANT"] complianceStateReason: str configSteps: _list[ OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep @@ -361,16 +335,16 @@ class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance( @typing.type_check_only class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enforcementOutput: str @typing.type_check_only class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorMessage: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "VALIDATION", "DESIRED_STATE_CHECK", @@ -379,22 +353,22 @@ class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPoli ] @typing.type_check_only -class OSPolicyAssignmentRollout(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentRollout(typing.TypedDict, total=False): disruptionBudget: FixedOrPercent minWaitDuration: str @typing.type_check_only -class OSPolicyInventoryFilter(typing_extensions.TypedDict, total=False): +class OSPolicyInventoryFilter(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyOSFilter(typing_extensions.TypedDict, total=False): +class OSPolicyOSFilter(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyResource(typing_extensions.TypedDict, total=False): +class OSPolicyResource(typing.TypedDict, total=False): exec: OSPolicyResourceExecResource file: OSPolicyResourceFileResource id: str @@ -402,11 +376,11 @@ class OSPolicyResource(typing_extensions.TypedDict, total=False): repository: OSPolicyResourceRepositoryResource @typing.type_check_only -class OSPolicyResourceCompliance(typing_extensions.TypedDict, total=False): +class OSPolicyResourceCompliance(typing.TypedDict, total=False): configSteps: _list[OSPolicyResourceConfigStep] execResourceOutput: OSPolicyResourceComplianceExecResourceOutput osPolicyResourceId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED", "COMPLIANT", "NON_COMPLIANT", @@ -415,16 +389,14 @@ class OSPolicyResourceCompliance(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class OSPolicyResourceComplianceExecResourceOutput( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceComplianceExecResourceOutput(typing.TypedDict, total=False): enforcementOutput: str @typing.type_check_only -class OSPolicyResourceConfigStep(typing_extensions.TypedDict, total=False): +class OSPolicyResourceConfigStep(typing.TypedDict, total=False): errorMessage: str - outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "SUCCEEDED", "FAILED"] - type: typing_extensions.Literal[ + outcome: typing.Literal["OUTCOME_UNSPECIFIED", "SUCCEEDED", "FAILED"] + type: typing.Literal[ "TYPE_UNSPECIFIED", "VALIDATION", "DESIRED_STATE_CHECK", @@ -433,61 +405,59 @@ class OSPolicyResourceConfigStep(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class OSPolicyResourceExecResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResource(typing.TypedDict, total=False): enforce: OSPolicyResourceExecResourceExec validate: OSPolicyResourceExecResourceExec @typing.type_check_only -class OSPolicyResourceExecResourceExec(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResourceExec(typing.TypedDict, total=False): args: _list[str] file: OSPolicyResourceFile - interpreter: typing_extensions.Literal[ + interpreter: typing.Literal[ "INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL" ] outputFilePath: str script: str @typing.type_check_only -class OSPolicyResourceFile(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFile(typing.TypedDict, total=False): allowInsecure: bool gcs: OSPolicyResourceFileGcs localPath: str remote: OSPolicyResourceFileRemote @typing.type_check_only -class OSPolicyResourceFileGcs(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileGcs(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class OSPolicyResourceFileRemote(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileRemote(typing.TypedDict, total=False): sha256Checksum: str uri: str @typing.type_check_only -class OSPolicyResourceFileResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileResource(typing.TypedDict, total=False): content: str file: OSPolicyResourceFile path: str permissions: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DESIRED_STATE_UNSPECIFIED", "PRESENT", "ABSENT", "CONTENTS_MATCH" ] @typing.type_check_only -class OSPolicyResourceGroup(typing_extensions.TypedDict, total=False): +class OSPolicyResourceGroup(typing.TypedDict, total=False): inventoryFilters: _list[OSPolicyInventoryFilter] osFilter: OSPolicyOSFilter resources: _list[OSPolicyResource] @typing.type_check_only -class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResource(typing.TypedDict, total=False): apt: OSPolicyResourcePackageResourceAPT deb: OSPolicyResourcePackageResourceDeb - desiredState: typing_extensions.Literal[ - "DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED" - ] + desiredState: typing.Literal["DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED"] googet: OSPolicyResourcePackageResourceGooGet msi: OSPolicyResourcePackageResourceMSI rpm: OSPolicyResourcePackageResourceRPM @@ -495,80 +465,72 @@ class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): zypper: OSPolicyResourcePackageResourceZypper @typing.type_check_only -class OSPolicyResourcePackageResourceAPT(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceAPT(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceDeb(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceDeb(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceGooGet(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceGooGet(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceMSI(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceMSI(typing.TypedDict, total=False): properties: _list[str] source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceRPM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceRPM(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceYUM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceYUM(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceZypper(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceZypper(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourceRepositoryResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceRepositoryResource(typing.TypedDict, total=False): apt: OSPolicyResourceRepositoryResourceAptRepository goo: OSPolicyResourceRepositoryResourceGooRepository yum: OSPolicyResourceRepositoryResourceYumRepository zypper: OSPolicyResourceRepositoryResourceZypperRepository @typing.type_check_only -class OSPolicyResourceRepositoryResourceAptRepository( - typing_extensions.TypedDict, total=False -): - archiveType: typing_extensions.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] +class OSPolicyResourceRepositoryResourceAptRepository(typing.TypedDict, total=False): + archiveType: typing.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] components: _list[str] distribution: str gpgKey: str uri: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceGooRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceGooRepository(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceYumRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceYumRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceZypperRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceZypperRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -576,13 +538,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str @@ -590,8 +552,8 @@ class StatusProto(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class VulnerabilityReport(typing_extensions.TypedDict, total=False): - highestUpgradableCveSeverity: typing_extensions.Literal[ +class VulnerabilityReport(typing.TypedDict, total=False): + highestUpgradableCveSeverity: typing.Literal[ "VULNERABILITY_SEVERITY_LEVEL_UNSPECIFIED", "NONE", "MINIMAL", @@ -605,7 +567,7 @@ class VulnerabilityReport(typing_extensions.TypedDict, total=False): vulnerabilities: _list[VulnerabilityReportVulnerability] @typing.type_check_only -class VulnerabilityReportVulnerability(typing_extensions.TypedDict, total=False): +class VulnerabilityReportVulnerability(typing.TypedDict, total=False): availableInventoryItemIds: _list[str] createTime: str details: VulnerabilityReportVulnerabilityDetails @@ -614,7 +576,7 @@ class VulnerabilityReportVulnerability(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class VulnerabilityReportVulnerabilityDetails(typing_extensions.TypedDict, total=False): +class VulnerabilityReportVulnerabilityDetails(typing.TypedDict, total=False): cve: str cvssV2Score: float cvssV3: CVSSv3 @@ -623,14 +585,12 @@ class VulnerabilityReportVulnerabilityDetails(typing_extensions.TypedDict, total severity: str @typing.type_check_only -class VulnerabilityReportVulnerabilityDetailsReference( - typing_extensions.TypedDict, total=False -): +class VulnerabilityReportVulnerabilityDetailsReference(typing.TypedDict, total=False): source: str url: str @typing.type_check_only -class VulnerabilityReportVulnerabilityItem(typing_extensions.TypedDict, total=False): +class VulnerabilityReportVulnerabilityItem(typing.TypedDict, total=False): availableInventoryItemId: str fixedCpeUri: str installedInventoryItemId: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1beta/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v1beta/resources.pyi index ed4f72775..b886bd375 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi index 5bb1eec21..ab41aa41c 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi @@ -1,25 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AptRepository(typing_extensions.TypedDict, total=False): - archiveType: typing_extensions.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] +class AptRepository(typing.TypedDict, total=False): + archiveType: typing.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] components: _list[str] distribution: str gpgKey: str uri: str @typing.type_check_only -class AptSettings(typing_extensions.TypedDict, total=False): +class AptSettings(typing.TypedDict, total=False): excludes: _list[str] exclusivePackages: _list[str] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DIST", "UPGRADE"] + type: typing.Literal["TYPE_UNSPECIFIED", "DIST", "UPGRADE"] @typing.type_check_only -class Assignment(typing_extensions.TypedDict, total=False): +class Assignment(typing.TypedDict, total=False): groupLabels: _list[AssignmentGroupLabel] instanceNamePrefixes: _list[str] instances: _list[str] @@ -27,62 +25,58 @@ class Assignment(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class AssignmentGroupLabel(typing_extensions.TypedDict, total=False): +class AssignmentGroupLabel(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class AssignmentOsType(typing_extensions.TypedDict, total=False): +class AssignmentOsType(typing.TypedDict, total=False): osArchitecture: str osShortName: str osVersion: str @typing.type_check_only -class CancelPatchJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelPatchJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EffectiveGuestPolicy(typing_extensions.TypedDict, total=False): +class EffectiveGuestPolicy(typing.TypedDict, total=False): packageRepositories: _list[EffectiveGuestPolicySourcedPackageRepository] packages: _list[EffectiveGuestPolicySourcedPackage] softwareRecipes: _list[EffectiveGuestPolicySourcedSoftwareRecipe] @typing.type_check_only -class EffectiveGuestPolicySourcedPackage(typing_extensions.TypedDict, total=False): +class EffectiveGuestPolicySourcedPackage(typing.TypedDict, total=False): package: Package source: str @typing.type_check_only -class EffectiveGuestPolicySourcedPackageRepository( - typing_extensions.TypedDict, total=False -): +class EffectiveGuestPolicySourcedPackageRepository(typing.TypedDict, total=False): packageRepository: PackageRepository source: str @typing.type_check_only -class EffectiveGuestPolicySourcedSoftwareRecipe( - typing_extensions.TypedDict, total=False -): +class EffectiveGuestPolicySourcedSoftwareRecipe(typing.TypedDict, total=False): softwareRecipe: SoftwareRecipe source: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecStep(typing_extensions.TypedDict, total=False): +class ExecStep(typing.TypedDict, total=False): linuxExecStepConfig: ExecStepConfig windowsExecStepConfig: ExecStepConfig @typing.type_check_only -class ExecStepConfig(typing_extensions.TypedDict, total=False): +class ExecStepConfig(typing.TypedDict, total=False): allowedSuccessCodes: _list[int] gcsObject: GcsObject - interpreter: typing_extensions.Literal[ + interpreter: typing.Literal[ "INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL" ] localPath: str @typing.type_check_only -class ExecutePatchJobRequest(typing_extensions.TypedDict, total=False): +class ExecutePatchJobRequest(typing.TypedDict, total=False): description: str displayName: str dryRun: bool @@ -92,34 +86,32 @@ class ExecutePatchJobRequest(typing_extensions.TypedDict, total=False): rollout: PatchRollout @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): fixed: int percent: int @typing.type_check_only -class GcsObject(typing_extensions.TypedDict, total=False): +class GcsObject(typing.TypedDict, total=False): bucket: str generationNumber: str object: str @typing.type_check_only -class GooRepository(typing_extensions.TypedDict, total=False): +class GooRepository(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class GooSettings(typing_extensions.TypedDict, total=False): ... +class GooSettings(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -129,9 +121,7 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( rolloutUpdateTime: str @typing.type_check_only -class GoogleCloudOsconfigV2__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -141,9 +131,7 @@ class GoogleCloudOsconfigV2__OperationMetadata( verb: str @typing.type_check_only -class GoogleCloudOsconfigV2beta__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -153,7 +141,7 @@ class GoogleCloudOsconfigV2beta__OperationMetadata( verb: str @typing.type_check_only -class GuestPolicy(typing_extensions.TypedDict, total=False): +class GuestPolicy(typing.TypedDict, total=False): assignment: Assignment createTime: str description: str @@ -165,47 +153,45 @@ class GuestPolicy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListGuestPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListGuestPoliciesResponse(typing.TypedDict, total=False): guestPolicies: _list[GuestPolicy] nextPageToken: str @typing.type_check_only -class ListPatchDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListPatchDeploymentsResponse(typing.TypedDict, total=False): nextPageToken: str patchDeployments: _list[PatchDeployment] @typing.type_check_only -class ListPatchJobInstanceDetailsResponse(typing_extensions.TypedDict, total=False): +class ListPatchJobInstanceDetailsResponse(typing.TypedDict, total=False): nextPageToken: str patchJobInstanceDetails: _list[PatchJobInstanceDetails] @typing.type_check_only -class ListPatchJobsResponse(typing_extensions.TypedDict, total=False): +class ListPatchJobsResponse(typing.TypedDict, total=False): nextPageToken: str patchJobs: _list[PatchJob] @typing.type_check_only -class LookupEffectiveGuestPolicyRequest(typing_extensions.TypedDict, total=False): +class LookupEffectiveGuestPolicyRequest(typing.TypedDict, total=False): osArchitecture: str osShortName: str osVersion: str @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class MonthlySchedule(typing_extensions.TypedDict, total=False): +class MonthlySchedule(typing.TypedDict, total=False): monthDay: int weekDayOfMonth: WeekDayOfMonth @typing.type_check_only -class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=False): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] +class OSPolicyAssignmentOperationMetadata(typing.TypedDict, total=False): + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -215,34 +201,32 @@ class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=Fal rolloutUpdateTime: str @typing.type_check_only -class OneTimeSchedule(typing_extensions.TypedDict, total=False): +class OneTimeSchedule(typing.TypedDict, total=False): executeTime: str @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): - desiredState: typing_extensions.Literal[ +class Package(typing.TypedDict, total=False): + desiredState: typing.Literal[ "DESIRED_STATE_UNSPECIFIED", "INSTALLED", "UPDATED", "REMOVED" ] - manager: typing_extensions.Literal[ - "MANAGER_UNSPECIFIED", "ANY", "APT", "YUM", "ZYPPER", "GOO" - ] + manager: typing.Literal["MANAGER_UNSPECIFIED", "ANY", "APT", "YUM", "ZYPPER", "GOO"] name: str @typing.type_check_only -class PackageRepository(typing_extensions.TypedDict, total=False): +class PackageRepository(typing.TypedDict, total=False): apt: AptRepository goo: GooRepository yum: YumRepository zypper: ZypperRepository @typing.type_check_only -class PatchConfig(typing_extensions.TypedDict, total=False): +class PatchConfig(typing.TypedDict, total=False): apt: AptSettings goo: GooSettings migInstancesAllowed: bool postStep: ExecStep preStep: ExecStep - rebootConfig: typing_extensions.Literal[ + rebootConfig: typing.Literal[ "REBOOT_CONFIG_UNSPECIFIED", "DEFAULT", "ALWAYS", "NEVER" ] skipUnpatchableVms: bool @@ -251,7 +235,7 @@ class PatchConfig(typing_extensions.TypedDict, total=False): zypper: ZypperSettings @typing.type_check_only -class PatchDeployment(typing_extensions.TypedDict, total=False): +class PatchDeployment(typing.TypedDict, total=False): createTime: str description: str duration: str @@ -262,11 +246,11 @@ class PatchDeployment(typing_extensions.TypedDict, total=False): patchConfig: PatchConfig recurringSchedule: RecurringSchedule rollout: PatchRollout - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "PAUSED"] updateTime: str @typing.type_check_only -class PatchInstanceFilter(typing_extensions.TypedDict, total=False): +class PatchInstanceFilter(typing.TypedDict, total=False): all: bool groupLabels: _list[PatchInstanceFilterGroupLabel] instanceNamePrefixes: _list[str] @@ -274,11 +258,11 @@ class PatchInstanceFilter(typing_extensions.TypedDict, total=False): zones: _list[str] @typing.type_check_only -class PatchInstanceFilterGroupLabel(typing_extensions.TypedDict, total=False): +class PatchInstanceFilterGroupLabel(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class PatchJob(typing_extensions.TypedDict, total=False): +class PatchJob(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -292,7 +276,7 @@ class PatchJob(typing_extensions.TypedDict, total=False): patchDeployment: str percentComplete: float rollout: PatchRollout - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STARTED", "INSTANCE_LOOKUP", @@ -306,12 +290,12 @@ class PatchJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PatchJobInstanceDetails(typing_extensions.TypedDict, total=False): +class PatchJobInstanceDetails(typing.TypedDict, total=False): attemptCount: str failureReason: str instanceSystemId: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PATCH_STATE_UNSPECIFIED", "PENDING", "INACTIVE", @@ -332,7 +316,7 @@ class PatchJobInstanceDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PatchJobInstanceDetailsSummary(typing_extensions.TypedDict, total=False): +class PatchJobInstanceDetailsSummary(typing.TypedDict, total=False): ackedInstanceCount: str applyingPatchesInstanceCount: str downloadingPatchesInstanceCount: str @@ -351,21 +335,17 @@ class PatchJobInstanceDetailsSummary(typing_extensions.TypedDict, total=False): timedOutInstanceCount: str @typing.type_check_only -class PatchRollout(typing_extensions.TypedDict, total=False): +class PatchRollout(typing.TypedDict, total=False): disruptionBudget: FixedOrPercent - mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "ZONE_BY_ZONE", "CONCURRENT_ZONES" - ] + mode: typing.Literal["MODE_UNSPECIFIED", "ZONE_BY_ZONE", "CONCURRENT_ZONES"] @typing.type_check_only -class PausePatchDeploymentRequest(typing_extensions.TypedDict, total=False): ... +class PausePatchDeploymentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RecurringSchedule(typing_extensions.TypedDict, total=False): +class RecurringSchedule(typing.TypedDict, total=False): endTime: str - frequency: typing_extensions.Literal[ - "FREQUENCY_UNSPECIFIED", "WEEKLY", "MONTHLY", "DAILY" - ] + frequency: typing.Literal["FREQUENCY_UNSPECIFIED", "WEEKLY", "MONTHLY", "DAILY"] lastExecuteTime: str monthly: MonthlySchedule nextExecuteTime: str @@ -375,12 +355,12 @@ class RecurringSchedule(typing_extensions.TypedDict, total=False): weekly: WeeklySchedule @typing.type_check_only -class ResumePatchDeploymentRequest(typing_extensions.TypedDict, total=False): ... +class ResumePatchDeploymentRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SoftwareRecipe(typing_extensions.TypedDict, total=False): +class SoftwareRecipe(typing.TypedDict, total=False): artifacts: _list[SoftwareRecipeArtifact] - desiredState: typing_extensions.Literal[ + desiredState: typing.Literal[ "DESIRED_STATE_UNSPECIFIED", "INSTALLED", "UPDATED", "REMOVED" ] installSteps: _list[SoftwareRecipeStep] @@ -389,25 +369,25 @@ class SoftwareRecipe(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class SoftwareRecipeArtifact(typing_extensions.TypedDict, total=False): +class SoftwareRecipeArtifact(typing.TypedDict, total=False): allowInsecure: bool gcs: SoftwareRecipeArtifactGcs id: str remote: SoftwareRecipeArtifactRemote @typing.type_check_only -class SoftwareRecipeArtifactGcs(typing_extensions.TypedDict, total=False): +class SoftwareRecipeArtifactGcs(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class SoftwareRecipeArtifactRemote(typing_extensions.TypedDict, total=False): +class SoftwareRecipeArtifactRemote(typing.TypedDict, total=False): checksum: str uri: str @typing.type_check_only -class SoftwareRecipeStep(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStep(typing.TypedDict, total=False): archiveExtraction: SoftwareRecipeStepExtractArchive dpkgInstallation: SoftwareRecipeStepInstallDpkg fileCopy: SoftwareRecipeStepCopyFile @@ -417,24 +397,24 @@ class SoftwareRecipeStep(typing_extensions.TypedDict, total=False): scriptRun: SoftwareRecipeStepRunScript @typing.type_check_only -class SoftwareRecipeStepCopyFile(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStepCopyFile(typing.TypedDict, total=False): artifactId: str destination: str overwrite: bool permissions: str @typing.type_check_only -class SoftwareRecipeStepExecFile(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStepExecFile(typing.TypedDict, total=False): allowedExitCodes: _list[int] args: _list[str] artifactId: str localPath: str @typing.type_check_only -class SoftwareRecipeStepExtractArchive(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStepExtractArchive(typing.TypedDict, total=False): artifactId: str destination: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ARCHIVE_TYPE_UNSPECIFIED", "TAR", "TAR_GZIP", @@ -445,29 +425,27 @@ class SoftwareRecipeStepExtractArchive(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class SoftwareRecipeStepInstallDpkg(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStepInstallDpkg(typing.TypedDict, total=False): artifactId: str @typing.type_check_only -class SoftwareRecipeStepInstallMsi(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStepInstallMsi(typing.TypedDict, total=False): allowedExitCodes: _list[int] artifactId: str flags: _list[str] @typing.type_check_only -class SoftwareRecipeStepInstallRpm(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStepInstallRpm(typing.TypedDict, total=False): artifactId: str @typing.type_check_only -class SoftwareRecipeStepRunScript(typing_extensions.TypedDict, total=False): +class SoftwareRecipeStepRunScript(typing.TypedDict, total=False): allowedExitCodes: _list[int] - interpreter: typing_extensions.Literal[ - "INTERPRETER_UNSPECIFIED", "SHELL", "POWERSHELL" - ] + interpreter: typing.Literal["INTERPRETER_UNSPECIFIED", "SHELL", "POWERSHELL"] script: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str @@ -475,20 +453,20 @@ class StatusProto(typing_extensions.TypedDict, total=False): space: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeZone(typing_extensions.TypedDict, total=False): +class TimeZone(typing.TypedDict, total=False): id: str version: str @typing.type_check_only -class WeekDayOfMonth(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class WeekDayOfMonth(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -502,8 +480,8 @@ class WeekDayOfMonth(typing_extensions.TypedDict, total=False): weekOrdinal: int @typing.type_check_only -class WeeklySchedule(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class WeeklySchedule(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -515,9 +493,9 @@ class WeeklySchedule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WindowsUpdateSettings(typing_extensions.TypedDict, total=False): +class WindowsUpdateSettings(typing.TypedDict, total=False): classifications: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLASSIFICATION_UNSPECIFIED", "CRITICAL", "SECURITY", @@ -534,28 +512,28 @@ class WindowsUpdateSettings(typing_extensions.TypedDict, total=False): exclusivePatches: _list[str] @typing.type_check_only -class YumRepository(typing_extensions.TypedDict, total=False): +class YumRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class YumSettings(typing_extensions.TypedDict, total=False): +class YumSettings(typing.TypedDict, total=False): excludes: _list[str] exclusivePackages: _list[str] minimal: bool security: bool @typing.type_check_only -class ZypperRepository(typing_extensions.TypedDict, total=False): +class ZypperRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class ZypperSettings(typing_extensions.TypedDict, total=False): +class ZypperSettings(typing.TypedDict, total=False): categories: _list[str] excludes: _list[str] exclusivePatches: _list[str] diff --git a/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi index 242636c63..3584bc822 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi index 8af4d29ac..70221b517 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi @@ -1,30 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): fixed: int percent: int @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -35,21 +31,19 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( @typing.type_check_only class GoogleCloudOsconfigV2_OrchestrationScope_LocationSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includedLocations: _list[str] @typing.type_check_only class GoogleCloudOsconfigV2_OrchestrationScope_ResourceHierarchySelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includedFolders: _list[str] includedProjects: _list[str] @typing.type_check_only -class GoogleCloudOsconfigV2_OrchestrationScope_Selector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2_OrchestrationScope_Selector(typing.TypedDict, total=False): locationSelector: GoogleCloudOsconfigV2_OrchestrationScope_LocationSelector resourceHierarchySelector: ( GoogleCloudOsconfigV2_OrchestrationScope_ResourceHierarchySelector @@ -57,7 +51,7 @@ class GoogleCloudOsconfigV2_OrchestrationScope_Selector( @typing.type_check_only class GoogleCloudOsconfigV2_PolicyOrchestrator_IterationState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status failedActions: str @@ -66,29 +60,27 @@ class GoogleCloudOsconfigV2_PolicyOrchestrator_IterationState( performedActions: str progress: float startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED", "UNKNOWN" ] @typing.type_check_only class GoogleCloudOsconfigV2_PolicyOrchestrator_OrchestrationState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentIterationState: GoogleCloudOsconfigV2_PolicyOrchestrator_IterationState previousIterationState: GoogleCloudOsconfigV2_PolicyOrchestrator_IterationState @typing.type_check_only class GoogleCloudOsconfigV2__ListPolicyOrchestratorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str policyOrchestrators: _list[GoogleCloudOsconfigV2__PolicyOrchestrator] unreachable: _list[str] @typing.type_check_only -class GoogleCloudOsconfigV2__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -98,22 +90,16 @@ class GoogleCloudOsconfigV2__OperationMetadata( verb: str @typing.type_check_only -class GoogleCloudOsconfigV2__OrchestratedResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__OrchestratedResource(typing.TypedDict, total=False): id: str osPolicyAssignmentV1Payload: OSPolicyAssignment @typing.type_check_only -class GoogleCloudOsconfigV2__OrchestrationScope( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__OrchestrationScope(typing.TypedDict, total=False): selectors: _list[GoogleCloudOsconfigV2_OrchestrationScope_Selector] @typing.type_check_only -class GoogleCloudOsconfigV2__PolicyOrchestrator( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__PolicyOrchestrator(typing.TypedDict, total=False): action: str createTime: str description: str @@ -128,9 +114,7 @@ class GoogleCloudOsconfigV2__PolicyOrchestrator( updateTime: str @typing.type_check_only -class GoogleCloudOsconfigV2beta__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -140,24 +124,24 @@ class GoogleCloudOsconfigV2beta__OperationMetadata( verb: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class OSPolicy(typing_extensions.TypedDict, total=False): +class OSPolicy(typing.TypedDict, total=False): allowNoResourceGroupMatch: bool description: str id: str - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] + mode: typing.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] resourceGroups: _list[OSPolicyResourceGroup] @typing.type_check_only -class OSPolicyAssignment(typing_extensions.TypedDict, total=False): +class OSPolicyAssignment(typing.TypedDict, total=False): baseline: bool deleted: bool description: str @@ -169,7 +153,7 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): revisionCreateTime: str revisionId: str rollout: OSPolicyAssignmentRollout - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -179,31 +163,27 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class OSPolicyAssignmentInstanceFilter(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentInstanceFilter(typing.TypedDict, total=False): all: bool exclusionLabels: _list[OSPolicyAssignmentLabelSet] inclusionLabels: _list[OSPolicyAssignmentLabelSet] inventories: _list[OSPolicyAssignmentInstanceFilterInventory] @typing.type_check_only -class OSPolicyAssignmentInstanceFilterInventory( - typing_extensions.TypedDict, total=False -): +class OSPolicyAssignmentInstanceFilterInventory(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyAssignmentLabelSet(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentLabelSet(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=False): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] +class OSPolicyAssignmentOperationMetadata(typing.TypedDict, total=False): + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -213,17 +193,17 @@ class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=Fal rolloutUpdateTime: str @typing.type_check_only -class OSPolicyAssignmentRollout(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentRollout(typing.TypedDict, total=False): disruptionBudget: FixedOrPercent minWaitDuration: str @typing.type_check_only -class OSPolicyInventoryFilter(typing_extensions.TypedDict, total=False): +class OSPolicyInventoryFilter(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyResource(typing_extensions.TypedDict, total=False): +class OSPolicyResource(typing.TypedDict, total=False): exec: OSPolicyResourceExecResource file: OSPolicyResourceFileResource id: str @@ -231,60 +211,58 @@ class OSPolicyResource(typing_extensions.TypedDict, total=False): repository: OSPolicyResourceRepositoryResource @typing.type_check_only -class OSPolicyResourceExecResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResource(typing.TypedDict, total=False): enforce: OSPolicyResourceExecResourceExec validate: OSPolicyResourceExecResourceExec @typing.type_check_only -class OSPolicyResourceExecResourceExec(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResourceExec(typing.TypedDict, total=False): args: _list[str] file: OSPolicyResourceFile - interpreter: typing_extensions.Literal[ + interpreter: typing.Literal[ "INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL" ] outputFilePath: str script: str @typing.type_check_only -class OSPolicyResourceFile(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFile(typing.TypedDict, total=False): allowInsecure: bool gcs: OSPolicyResourceFileGcs localPath: str remote: OSPolicyResourceFileRemote @typing.type_check_only -class OSPolicyResourceFileGcs(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileGcs(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class OSPolicyResourceFileRemote(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileRemote(typing.TypedDict, total=False): sha256Checksum: str uri: str @typing.type_check_only -class OSPolicyResourceFileResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileResource(typing.TypedDict, total=False): content: str file: OSPolicyResourceFile path: str permissions: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DESIRED_STATE_UNSPECIFIED", "PRESENT", "ABSENT", "CONTENTS_MATCH" ] @typing.type_check_only -class OSPolicyResourceGroup(typing_extensions.TypedDict, total=False): +class OSPolicyResourceGroup(typing.TypedDict, total=False): inventoryFilters: _list[OSPolicyInventoryFilter] resources: _list[OSPolicyResource] @typing.type_check_only -class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResource(typing.TypedDict, total=False): apt: OSPolicyResourcePackageResourceAPT deb: OSPolicyResourcePackageResourceDeb - desiredState: typing_extensions.Literal[ - "DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED" - ] + desiredState: typing.Literal["DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED"] googet: OSPolicyResourcePackageResourceGooGet msi: OSPolicyResourcePackageResourceMSI rpm: OSPolicyResourcePackageResourceRPM @@ -292,80 +270,72 @@ class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): zypper: OSPolicyResourcePackageResourceZypper @typing.type_check_only -class OSPolicyResourcePackageResourceAPT(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceAPT(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceDeb(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceDeb(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceGooGet(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceGooGet(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceMSI(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceMSI(typing.TypedDict, total=False): properties: _list[str] source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceRPM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceRPM(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceYUM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceYUM(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceZypper(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceZypper(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourceRepositoryResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceRepositoryResource(typing.TypedDict, total=False): apt: OSPolicyResourceRepositoryResourceAptRepository goo: OSPolicyResourceRepositoryResourceGooRepository yum: OSPolicyResourceRepositoryResourceYumRepository zypper: OSPolicyResourceRepositoryResourceZypperRepository @typing.type_check_only -class OSPolicyResourceRepositoryResourceAptRepository( - typing_extensions.TypedDict, total=False -): - archiveType: typing_extensions.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] +class OSPolicyResourceRepositoryResourceAptRepository(typing.TypedDict, total=False): + archiveType: typing.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] components: _list[str] distribution: str gpgKey: str uri: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceGooRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceGooRepository(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceYumRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceYumRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceZypperRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceZypperRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -373,13 +343,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str diff --git a/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi index aa1c50e17..92fd30e0b 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi index 17234b06e..121a29798 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi @@ -1,30 +1,26 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FixedOrPercent(typing_extensions.TypedDict, total=False): +class FixedOrPercent(typing.TypedDict, total=False): fixed: int percent: int @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -34,9 +30,7 @@ class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( rolloutUpdateTime: str @typing.type_check_only -class GoogleCloudOsconfigV2__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -47,20 +41,20 @@ class GoogleCloudOsconfigV2__OperationMetadata( @typing.type_check_only class GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includedLocations: _list[str] @typing.type_check_only class GoogleCloudOsconfigV2beta_OrchestrationScope_ResourceHierarchySelector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includedFolders: _list[str] includedProjects: _list[str] @typing.type_check_only class GoogleCloudOsconfigV2beta_OrchestrationScope_Selector( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationSelector: GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector resourceHierarchySelector: ( @@ -69,7 +63,7 @@ class GoogleCloudOsconfigV2beta_OrchestrationScope_Selector( @typing.type_check_only class GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: Status failedActions: str @@ -78,29 +72,27 @@ class GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState( performedActions: str progress: float startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED", "UNKNOWN" ] @typing.type_check_only class GoogleCloudOsconfigV2beta_PolicyOrchestrator_OrchestrationState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentIterationState: GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState previousIterationState: GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState @typing.type_check_only class GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str policyOrchestrators: _list[GoogleCloudOsconfigV2beta__PolicyOrchestrator] unreachable: _list[str] @typing.type_check_only -class GoogleCloudOsconfigV2beta__OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -110,22 +102,16 @@ class GoogleCloudOsconfigV2beta__OperationMetadata( verb: str @typing.type_check_only -class GoogleCloudOsconfigV2beta__OrchestratedResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__OrchestratedResource(typing.TypedDict, total=False): id: str osPolicyAssignmentV1Payload: OSPolicyAssignment @typing.type_check_only -class GoogleCloudOsconfigV2beta__OrchestrationScope( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__OrchestrationScope(typing.TypedDict, total=False): selectors: _list[GoogleCloudOsconfigV2beta_OrchestrationScope_Selector] @typing.type_check_only -class GoogleCloudOsconfigV2beta__PolicyOrchestrator( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOsconfigV2beta__PolicyOrchestrator(typing.TypedDict, total=False): action: str createTime: str description: str @@ -140,24 +126,24 @@ class GoogleCloudOsconfigV2beta__PolicyOrchestrator( updateTime: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class MessageSet(typing_extensions.TypedDict, total=False): ... +class MessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class OSPolicy(typing_extensions.TypedDict, total=False): +class OSPolicy(typing.TypedDict, total=False): allowNoResourceGroupMatch: bool description: str id: str - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] + mode: typing.Literal["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"] resourceGroups: _list[OSPolicyResourceGroup] @typing.type_check_only -class OSPolicyAssignment(typing_extensions.TypedDict, total=False): +class OSPolicyAssignment(typing.TypedDict, total=False): baseline: bool deleted: bool description: str @@ -169,7 +155,7 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): revisionCreateTime: str revisionId: str rollout: OSPolicyAssignmentRollout - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -179,31 +165,27 @@ class OSPolicyAssignment(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class OSPolicyAssignmentInstanceFilter(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentInstanceFilter(typing.TypedDict, total=False): all: bool exclusionLabels: _list[OSPolicyAssignmentLabelSet] inclusionLabels: _list[OSPolicyAssignmentLabelSet] inventories: _list[OSPolicyAssignmentInstanceFilterInventory] @typing.type_check_only -class OSPolicyAssignmentInstanceFilterInventory( - typing_extensions.TypedDict, total=False -): +class OSPolicyAssignmentInstanceFilterInventory(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyAssignmentLabelSet(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentLabelSet(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=False): - apiMethod: typing_extensions.Literal[ - "API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] +class OSPolicyAssignmentOperationMetadata(typing.TypedDict, total=False): + apiMethod: typing.Literal["API_METHOD_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] osPolicyAssignment: str rolloutStartTime: str - rolloutState: typing_extensions.Literal[ + rolloutState: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "IN_PROGRESS", "CANCELLING", @@ -213,17 +195,17 @@ class OSPolicyAssignmentOperationMetadata(typing_extensions.TypedDict, total=Fal rolloutUpdateTime: str @typing.type_check_only -class OSPolicyAssignmentRollout(typing_extensions.TypedDict, total=False): +class OSPolicyAssignmentRollout(typing.TypedDict, total=False): disruptionBudget: FixedOrPercent minWaitDuration: str @typing.type_check_only -class OSPolicyInventoryFilter(typing_extensions.TypedDict, total=False): +class OSPolicyInventoryFilter(typing.TypedDict, total=False): osShortName: str osVersion: str @typing.type_check_only -class OSPolicyResource(typing_extensions.TypedDict, total=False): +class OSPolicyResource(typing.TypedDict, total=False): exec: OSPolicyResourceExecResource file: OSPolicyResourceFileResource id: str @@ -231,60 +213,58 @@ class OSPolicyResource(typing_extensions.TypedDict, total=False): repository: OSPolicyResourceRepositoryResource @typing.type_check_only -class OSPolicyResourceExecResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResource(typing.TypedDict, total=False): enforce: OSPolicyResourceExecResourceExec validate: OSPolicyResourceExecResourceExec @typing.type_check_only -class OSPolicyResourceExecResourceExec(typing_extensions.TypedDict, total=False): +class OSPolicyResourceExecResourceExec(typing.TypedDict, total=False): args: _list[str] file: OSPolicyResourceFile - interpreter: typing_extensions.Literal[ + interpreter: typing.Literal[ "INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL" ] outputFilePath: str script: str @typing.type_check_only -class OSPolicyResourceFile(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFile(typing.TypedDict, total=False): allowInsecure: bool gcs: OSPolicyResourceFileGcs localPath: str remote: OSPolicyResourceFileRemote @typing.type_check_only -class OSPolicyResourceFileGcs(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileGcs(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class OSPolicyResourceFileRemote(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileRemote(typing.TypedDict, total=False): sha256Checksum: str uri: str @typing.type_check_only -class OSPolicyResourceFileResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceFileResource(typing.TypedDict, total=False): content: str file: OSPolicyResourceFile path: str permissions: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DESIRED_STATE_UNSPECIFIED", "PRESENT", "ABSENT", "CONTENTS_MATCH" ] @typing.type_check_only -class OSPolicyResourceGroup(typing_extensions.TypedDict, total=False): +class OSPolicyResourceGroup(typing.TypedDict, total=False): inventoryFilters: _list[OSPolicyInventoryFilter] resources: _list[OSPolicyResource] @typing.type_check_only -class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResource(typing.TypedDict, total=False): apt: OSPolicyResourcePackageResourceAPT deb: OSPolicyResourcePackageResourceDeb - desiredState: typing_extensions.Literal[ - "DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED" - ] + desiredState: typing.Literal["DESIRED_STATE_UNSPECIFIED", "INSTALLED", "REMOVED"] googet: OSPolicyResourcePackageResourceGooGet msi: OSPolicyResourcePackageResourceMSI rpm: OSPolicyResourcePackageResourceRPM @@ -292,80 +272,72 @@ class OSPolicyResourcePackageResource(typing_extensions.TypedDict, total=False): zypper: OSPolicyResourcePackageResourceZypper @typing.type_check_only -class OSPolicyResourcePackageResourceAPT(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceAPT(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceDeb(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceDeb(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceGooGet(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceGooGet(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceMSI(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceMSI(typing.TypedDict, total=False): properties: _list[str] source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceRPM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceRPM(typing.TypedDict, total=False): pullDeps: bool source: OSPolicyResourceFile @typing.type_check_only -class OSPolicyResourcePackageResourceYUM(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceYUM(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourcePackageResourceZypper(typing_extensions.TypedDict, total=False): +class OSPolicyResourcePackageResourceZypper(typing.TypedDict, total=False): name: str @typing.type_check_only -class OSPolicyResourceRepositoryResource(typing_extensions.TypedDict, total=False): +class OSPolicyResourceRepositoryResource(typing.TypedDict, total=False): apt: OSPolicyResourceRepositoryResourceAptRepository goo: OSPolicyResourceRepositoryResourceGooRepository yum: OSPolicyResourceRepositoryResourceYumRepository zypper: OSPolicyResourceRepositoryResourceZypperRepository @typing.type_check_only -class OSPolicyResourceRepositoryResourceAptRepository( - typing_extensions.TypedDict, total=False -): - archiveType: typing_extensions.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] +class OSPolicyResourceRepositoryResourceAptRepository(typing.TypedDict, total=False): + archiveType: typing.Literal["ARCHIVE_TYPE_UNSPECIFIED", "DEB", "DEB_SRC"] components: _list[str] distribution: str gpgKey: str uri: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceGooRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceGooRepository(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceYumRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceYumRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class OSPolicyResourceRepositoryResourceZypperRepository( - typing_extensions.TypedDict, total=False -): +class OSPolicyResourceRepositoryResourceZypperRepository(typing.TypedDict, total=False): baseUrl: str displayName: str gpgKeys: _list[str] id: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -373,13 +345,13 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StatusProto(typing_extensions.TypedDict, total=False): +class StatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str diff --git a/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi b/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi index 8310e3822..84987ff81 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi b/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi index e1e714e57..f1417f629 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi @@ -1,31 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportSshPublicKeyResponse(typing_extensions.TypedDict, total=False): +class ImportSshPublicKeyResponse(typing.TypedDict, total=False): details: str loginProfile: LoginProfile @typing.type_check_only -class LoginProfile(typing_extensions.TypedDict, total=False): +class LoginProfile(typing.TypedDict, total=False): name: str posixAccounts: _list[PosixAccount] sshPublicKeys: dict[str, typing.Any] @typing.type_check_only -class PosixAccount(typing_extensions.TypedDict, total=False): +class PosixAccount(typing.TypedDict, total=False): accountId: str gecos: str gid: str homeDirectory: str name: str - operatingSystemType: typing_extensions.Literal[ + operatingSystemType: typing.Literal[ "OPERATING_SYSTEM_TYPE_UNSPECIFIED", "LINUX", "WINDOWS" ] primary: bool @@ -35,11 +33,11 @@ class PosixAccount(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class ProvisionPosixAccountRequest(typing_extensions.TypedDict, total=False): +class ProvisionPosixAccountRequest(typing.TypedDict, total=False): regions: _list[str] @typing.type_check_only -class SignSshPublicKeyRequest(typing_extensions.TypedDict, total=False): +class SignSshPublicKeyRequest(typing.TypedDict, total=False): appEngineInstance: str cloudRunResource: str computeInstance: str @@ -47,11 +45,11 @@ class SignSshPublicKeyRequest(typing_extensions.TypedDict, total=False): sshPublicKey: str @typing.type_check_only -class SignSshPublicKeyResponse(typing_extensions.TypedDict, total=False): +class SignSshPublicKeyResponse(typing.TypedDict, total=False): signedSshPublicKey: str @typing.type_check_only -class SshPublicKey(typing_extensions.TypedDict, total=False): +class SshPublicKey(typing.TypedDict, total=False): expirationTimeUsec: str fingerprint: str key: str diff --git a/googleapiclient-stubs/_apis/oslogin/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/oslogin/v1alpha/resources.pyi index 2d4b33bdf..e80bc8aaf 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -55,7 +54,7 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): self, *, name: str, - operatingSystemType: typing_extensions.Literal[ + operatingSystemType: typing.Literal[ "OPERATING_SYSTEM_TYPE_UNSPECIFIED", "LINUX", "WINDOWS" ] | None = ..., @@ -95,13 +94,13 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): self, *, name: str, - operatingSystemType: typing_extensions.Literal[ + operatingSystemType: typing.Literal[ "OPERATING_SYSTEM_TYPE_UNSPECIFIED", "LINUX", "WINDOWS" ] | None = ..., projectId: str | None = ..., systemId: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "LOGIN_PROFILE_VIEW_UNSPECIFIED", "BASIC", "SECURITY_KEY" ] | None = ..., @@ -114,7 +113,7 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): body: SshPublicKey, projectId: str | None = ..., regions: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "LOGIN_PROFILE_VIEW_UNSPECIFIED", "BASIC", "SECURITY_KEY" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi index ac73aa481..05c26f1fe 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1alpha/schemas.pyi @@ -1,15 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appEngineInstance: str cloudRunResource: str @@ -19,30 +17,30 @@ class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest( @typing.type_check_only class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): signedSshPublicKey: str @typing.type_check_only -class ImportSshPublicKeyResponse(typing_extensions.TypedDict, total=False): +class ImportSshPublicKeyResponse(typing.TypedDict, total=False): details: str loginProfile: LoginProfile @typing.type_check_only -class LoginProfile(typing_extensions.TypedDict, total=False): +class LoginProfile(typing.TypedDict, total=False): name: str posixAccounts: _list[PosixAccount] securityKeys: _list[SecurityKey] sshPublicKeys: dict[str, typing.Any] @typing.type_check_only -class PosixAccount(typing_extensions.TypedDict, total=False): +class PosixAccount(typing.TypedDict, total=False): accountId: str gecos: str gid: str homeDirectory: str name: str - operatingSystemType: typing_extensions.Literal[ + operatingSystemType: typing.Literal[ "OPERATING_SYSTEM_TYPE_UNSPECIFIED", "LINUX", "WINDOWS" ] primary: bool @@ -52,11 +50,11 @@ class PosixAccount(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class ProvisionPosixAccountRequest(typing_extensions.TypedDict, total=False): +class ProvisionPosixAccountRequest(typing.TypedDict, total=False): regions: _list[str] @typing.type_check_only -class SecurityKey(typing_extensions.TypedDict, total=False): +class SecurityKey(typing.TypedDict, total=False): deviceNickname: str privateKey: str publicKey: str @@ -64,24 +62,24 @@ class SecurityKey(typing_extensions.TypedDict, total=False): webAuthn: WebAuthn @typing.type_check_only -class SignSshPublicKeyRequest(typing_extensions.TypedDict, total=False): +class SignSshPublicKeyRequest(typing.TypedDict, total=False): sshPublicKey: str @typing.type_check_only -class SignSshPublicKeyResponse(typing_extensions.TypedDict, total=False): +class SignSshPublicKeyResponse(typing.TypedDict, total=False): signedSshPublicKey: str @typing.type_check_only -class SshPublicKey(typing_extensions.TypedDict, total=False): +class SshPublicKey(typing.TypedDict, total=False): expirationTimeUsec: str fingerprint: str key: str name: str @typing.type_check_only -class UniversalTwoFactor(typing_extensions.TypedDict, total=False): +class UniversalTwoFactor(typing.TypedDict, total=False): appId: str @typing.type_check_only -class WebAuthn(typing_extensions.TypedDict, total=False): +class WebAuthn(typing.TypedDict, total=False): rpId: str diff --git a/googleapiclient-stubs/_apis/oslogin/v1beta/resources.pyi b/googleapiclient-stubs/_apis/oslogin/v1beta/resources.pyi index 151654fd4..1ebd396d0 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -90,7 +89,7 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): name: str, projectId: str | None = ..., systemId: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "LOGIN_PROFILE_VIEW_UNSPECIFIED", "BASIC", "SECURITY_KEY" ] | None = ..., @@ -103,7 +102,7 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): body: SshPublicKey, projectId: str | None = ..., regions: str | _list[str] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "LOGIN_PROFILE_VIEW_UNSPECIFIED", "BASIC", "SECURITY_KEY" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi index a3f664ac4..f54319c58 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1beta/schemas.pyi @@ -1,15 +1,13 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appEngineInstance: str cloudRunResource: str @@ -19,30 +17,30 @@ class GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest( @typing.type_check_only class GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): signedSshPublicKey: str @typing.type_check_only -class ImportSshPublicKeyResponse(typing_extensions.TypedDict, total=False): +class ImportSshPublicKeyResponse(typing.TypedDict, total=False): details: str loginProfile: LoginProfile @typing.type_check_only -class LoginProfile(typing_extensions.TypedDict, total=False): +class LoginProfile(typing.TypedDict, total=False): name: str posixAccounts: _list[PosixAccount] securityKeys: _list[SecurityKey] sshPublicKeys: dict[str, typing.Any] @typing.type_check_only -class PosixAccount(typing_extensions.TypedDict, total=False): +class PosixAccount(typing.TypedDict, total=False): accountId: str gecos: str gid: str homeDirectory: str name: str - operatingSystemType: typing_extensions.Literal[ + operatingSystemType: typing.Literal[ "OPERATING_SYSTEM_TYPE_UNSPECIFIED", "LINUX", "WINDOWS" ] primary: bool @@ -52,11 +50,11 @@ class PosixAccount(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class ProvisionPosixAccountRequest(typing_extensions.TypedDict, total=False): +class ProvisionPosixAccountRequest(typing.TypedDict, total=False): regions: _list[str] @typing.type_check_only -class SecurityKey(typing_extensions.TypedDict, total=False): +class SecurityKey(typing.TypedDict, total=False): deviceNickname: str privateKey: str publicKey: str @@ -64,24 +62,24 @@ class SecurityKey(typing_extensions.TypedDict, total=False): webAuthn: WebAuthn @typing.type_check_only -class SignSshPublicKeyRequest(typing_extensions.TypedDict, total=False): +class SignSshPublicKeyRequest(typing.TypedDict, total=False): sshPublicKey: str @typing.type_check_only -class SignSshPublicKeyResponse(typing_extensions.TypedDict, total=False): +class SignSshPublicKeyResponse(typing.TypedDict, total=False): signedSshPublicKey: str @typing.type_check_only -class SshPublicKey(typing_extensions.TypedDict, total=False): +class SshPublicKey(typing.TypedDict, total=False): expirationTimeUsec: str fingerprint: str key: str name: str @typing.type_check_only -class UniversalTwoFactor(typing_extensions.TypedDict, total=False): +class UniversalTwoFactor(typing.TypedDict, total=False): appId: str @typing.type_check_only -class WebAuthn(typing_extensions.TypedDict, total=False): +class WebAuthn(typing.TypedDict, total=False): rpId: str diff --git a/googleapiclient-stubs/_apis/pagespeedonline/v5/resources.pyi b/googleapiclient-stubs/_apis/pagespeedonline/v5/resources.pyi index bb27b3cf3..52ac4bd2c 100644 --- a/googleapiclient-stubs/_apis/pagespeedonline/v5/resources.pyi +++ b/googleapiclient-stubs/_apis/pagespeedonline/v5/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -20,7 +19,7 @@ class PagespeedInsightsResource(googleapiclient.discovery.Resource): *, url: str, captchaToken: str | None = ..., - category: typing_extensions.Literal[ + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "ACCESSIBILITY", "BEST_PRACTICES", @@ -30,7 +29,7 @@ class PagespeedInsightsResource(googleapiclient.discovery.Resource): "AGENTIC_BROWSING", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "CATEGORY_UNSPECIFIED", "ACCESSIBILITY", "BEST_PRACTICES", @@ -42,9 +41,7 @@ class PagespeedInsightsResource(googleapiclient.discovery.Resource): ] | None = ..., locale: str | None = ..., - strategy: typing_extensions.Literal[ - "STRATEGY_UNSPECIFIED", "DESKTOP", "MOBILE" - ] + strategy: typing.Literal["STRATEGY_UNSPECIFIED", "DESKTOP", "MOBILE"] | None = ..., utm_campaign: str | None = ..., utm_source: str | None = ..., diff --git a/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi b/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi index 1124be078..00621cc59 100644 --- a/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/pagespeedonline/v5/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditRefs(typing_extensions.TypedDict, total=False): +class AuditRefs(typing.TypedDict, total=False): acronym: str group: str id: str @@ -13,12 +11,12 @@ class AuditRefs(typing_extensions.TypedDict, total=False): weight: float @typing.type_check_only -class Bucket(typing_extensions.TypedDict, total=False): +class Bucket(typing.TypedDict, total=False): max: int min: int proportion: float -AlternativeCategories = typing_extensions.TypedDict( +AlternativeCategories = typing.TypedDict( "AlternativeCategories", { "accessibility": LighthouseCategoryV5, @@ -35,12 +33,12 @@ AlternativeCategories = typing_extensions.TypedDict( class Categories(AlternativeCategories): ... @typing.type_check_only -class CategoryGroupV5(typing_extensions.TypedDict, total=False): +class CategoryGroupV5(typing.TypedDict, total=False): description: str title: str @typing.type_check_only -class ConfigSettings(typing_extensions.TypedDict, total=False): +class ConfigSettings(typing.TypedDict, total=False): channel: str emulatedFormFactor: str formFactor: str @@ -48,18 +46,18 @@ class ConfigSettings(typing_extensions.TypedDict, total=False): onlyCategories: typing.Any @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): benchmarkIndex: float credits: dict[str, typing.Any] hostUserAgent: str networkUserAgent: str @typing.type_check_only -class I18n(typing_extensions.TypedDict, total=False): +class I18n(typing.TypedDict, total=False): rendererFormattedStrings: RendererFormattedStrings @typing.type_check_only -class LhrEntity(typing_extensions.TypedDict, total=False): +class LhrEntity(typing.TypedDict, total=False): category: str homepage: str isFirstParty: bool @@ -68,7 +66,7 @@ class LhrEntity(typing_extensions.TypedDict, total=False): origins: _list[str] @typing.type_check_only -class LighthouseAuditResultV5(typing_extensions.TypedDict, total=False): +class LighthouseAuditResultV5(typing.TypedDict, total=False): description: str details: dict[str, typing.Any] displayValue: str @@ -84,9 +82,9 @@ class LighthouseAuditResultV5(typing_extensions.TypedDict, total=False): warnings: typing.Any @typing.type_check_only -class LighthouseCategoryV5(typing_extensions.TypedDict, total=False): +class LighthouseCategoryV5(typing.TypedDict, total=False): auditRefs: _list[AuditRefs] - categoryScoreDisplayMode: typing_extensions.Literal[ + categoryScoreDisplayMode: typing.Literal[ "CATEGORY_SCORE_DISPLAY_MODE_UNSPECIFIED", "GAUGE", "FRACTION" ] description: str @@ -96,7 +94,7 @@ class LighthouseCategoryV5(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class LighthouseResultV5(typing_extensions.TypedDict, total=False): +class LighthouseResultV5(typing.TypedDict, total=False): audits: dict[str, typing.Any] categories: Categories categoryGroups: dict[str, typing.Any] @@ -118,7 +116,7 @@ class LighthouseResultV5(typing_extensions.TypedDict, total=False): userAgent: str @typing.type_check_only -class MetricSavings(typing_extensions.TypedDict, total=False): +class MetricSavings(typing.TypedDict, total=False): CLS: float FCP: float INP: float @@ -126,7 +124,7 @@ class MetricSavings(typing_extensions.TypedDict, total=False): TBT: float @typing.type_check_only -class PagespeedApiLoadingExperienceV5(typing_extensions.TypedDict, total=False): +class PagespeedApiLoadingExperienceV5(typing.TypedDict, total=False): id: str initial_url: str metrics: dict[str, typing.Any] @@ -134,7 +132,7 @@ class PagespeedApiLoadingExperienceV5(typing_extensions.TypedDict, total=False): overall_category: str @typing.type_check_only -class PagespeedApiPagespeedResponseV5(typing_extensions.TypedDict, total=False): +class PagespeedApiPagespeedResponseV5(typing.TypedDict, total=False): analysisUTCTimestamp: str captchaResult: str id: str @@ -145,12 +143,12 @@ class PagespeedApiPagespeedResponseV5(typing_extensions.TypedDict, total=False): version: PagespeedVersion @typing.type_check_only -class PagespeedVersion(typing_extensions.TypedDict, total=False): +class PagespeedVersion(typing.TypedDict, total=False): major: str minor: str @typing.type_check_only -class RendererFormattedStrings(typing_extensions.TypedDict, total=False): +class RendererFormattedStrings(typing.TypedDict, total=False): auditGroupExpandTooltip: str calculatorLink: str crcInitialNavigation: str @@ -201,23 +199,23 @@ class RendererFormattedStrings(typing_extensions.TypedDict, total=False): warningHeader: str @typing.type_check_only -class RuntimeError(typing_extensions.TypedDict, total=False): +class RuntimeError(typing.TypedDict, total=False): code: str message: str @typing.type_check_only -class StackPack(typing_extensions.TypedDict, total=False): +class StackPack(typing.TypedDict, total=False): descriptions: dict[str, typing.Any] iconDataURL: str id: str title: str @typing.type_check_only -class Timing(typing_extensions.TypedDict, total=False): +class Timing(typing.TypedDict, total=False): total: float @typing.type_check_only -class UserPageLoadMetricV5(typing_extensions.TypedDict, total=False): +class UserPageLoadMetricV5(typing.TypedDict, total=False): category: str distributions: _list[Bucket] formFactor: str diff --git a/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi b/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi index 6b89dd3af..5d5c31127 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi b/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi index e22b14f69..4771f9d94 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DestinationGcsBucket(typing_extensions.TypedDict, total=False): +class DestinationGcsBucket(typing.TypedDict, total=False): uri: str @typing.type_check_only -class DestinationParallelstore(typing_extensions.TypedDict, total=False): +class DestinationParallelstore(typing.TypedDict, total=False): path: str @typing.type_check_only -class ExportDataRequest(typing_extensions.TypedDict, total=False): +class ExportDataRequest(typing.TypedDict, total=False): destinationGcsBucket: DestinationGcsBucket metadataOptions: TransferMetadataOptions requestId: str @@ -24,10 +22,10 @@ class ExportDataRequest(typing_extensions.TypedDict, total=False): sourceParallelstore: SourceParallelstore @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportDataRequest(typing_extensions.TypedDict, total=False): +class ImportDataRequest(typing.TypedDict, total=False): destinationParallelstore: DestinationParallelstore metadataOptions: TransferMetadataOptions requestId: str @@ -35,23 +33,23 @@ class ImportDataRequest(typing_extensions.TypedDict, total=False): sourceGcsBucket: SourceGcsBucket @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): accessPoints: _list[str] capacityGib: str createTime: str daosVersion: str - deploymentType: typing_extensions.Literal[ + deploymentType: typing.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT" ] description: str - directoryStripeLevel: typing_extensions.Literal[ + directoryStripeLevel: typing.Literal[ "DIRECTORY_STRIPE_LEVEL_UNSPECIFIED", "DIRECTORY_STRIPE_LEVEL_MIN", "DIRECTORY_STRIPE_LEVEL_BALANCED", "DIRECTORY_STRIPE_LEVEL_MAX", ] effectiveReservedIpRange: str - fileStripeLevel: typing_extensions.Literal[ + fileStripeLevel: typing.Literal[ "FILE_STRIPE_LEVEL_UNSPECIFIED", "FILE_STRIPE_LEVEL_MIN", "FILE_STRIPE_LEVEL_BALANCED", @@ -61,7 +59,7 @@ class Instance(typing_extensions.TypedDict, total=False): name: str network: str reservedIpRange: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -73,24 +71,24 @@ class Instance(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -98,7 +96,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -106,7 +104,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -116,28 +114,26 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): +class ReconciliationOperationMetadata(typing.TypedDict, total=False): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class SourceGcsBucket(typing_extensions.TypedDict, total=False): +class SourceGcsBucket(typing.TypedDict, total=False): uri: str @typing.type_check_only -class SourceParallelstore(typing_extensions.TypedDict, total=False): +class SourceParallelstore(typing.TypedDict, total=False): path: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TransferMetadataOptions(typing_extensions.TypedDict, total=False): - gid: typing_extensions.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER_PRESERVE"] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] - uid: typing_extensions.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER_PRESERVE"] +class TransferMetadataOptions(typing.TypedDict, total=False): + gid: typing.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER_PRESERVE"] + mode: typing.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] + uid: typing.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER_PRESERVE"] diff --git a/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi b/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi index 454baef37..e21b0c01b 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi index 1347df216..106d326ea 100644 --- a/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/parallelstore/v1beta/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DestinationGcsBucket(typing_extensions.TypedDict, total=False): +class DestinationGcsBucket(typing.TypedDict, total=False): uri: str @typing.type_check_only -class DestinationParallelstore(typing_extensions.TypedDict, total=False): +class DestinationParallelstore(typing.TypedDict, total=False): path: str @typing.type_check_only -class ExportDataRequest(typing_extensions.TypedDict, total=False): +class ExportDataRequest(typing.TypedDict, total=False): destinationGcsBucket: DestinationGcsBucket metadataOptions: TransferMetadataOptions requestId: str @@ -21,10 +19,10 @@ class ExportDataRequest(typing_extensions.TypedDict, total=False): sourceParallelstore: SourceParallelstore @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportDataRequest(typing_extensions.TypedDict, total=False): +class ImportDataRequest(typing.TypedDict, total=False): destinationParallelstore: DestinationParallelstore metadataOptions: TransferMetadataOptions requestId: str @@ -32,23 +30,23 @@ class ImportDataRequest(typing_extensions.TypedDict, total=False): sourceGcsBucket: SourceGcsBucket @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): accessPoints: _list[str] capacityGib: str createTime: str daosVersion: str - deploymentType: typing_extensions.Literal[ + deploymentType: typing.Literal[ "DEPLOYMENT_TYPE_UNSPECIFIED", "SCRATCH", "PERSISTENT" ] description: str - directoryStripeLevel: typing_extensions.Literal[ + directoryStripeLevel: typing.Literal[ "DIRECTORY_STRIPE_LEVEL_UNSPECIFIED", "DIRECTORY_STRIPE_LEVEL_MIN", "DIRECTORY_STRIPE_LEVEL_BALANCED", "DIRECTORY_STRIPE_LEVEL_MAX", ] effectiveReservedIpRange: str - fileStripeLevel: typing_extensions.Literal[ + fileStripeLevel: typing.Literal[ "FILE_STRIPE_LEVEL_UNSPECIFIED", "FILE_STRIPE_LEVEL_MIN", "FILE_STRIPE_LEVEL_BALANCED", @@ -58,7 +56,7 @@ class Instance(typing_extensions.TypedDict, total=False): name: str network: str reservedIpRange: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -70,24 +68,24 @@ class Instance(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -95,7 +93,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -103,7 +101,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -113,28 +111,26 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): +class ReconciliationOperationMetadata(typing.TypedDict, total=False): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class SourceGcsBucket(typing_extensions.TypedDict, total=False): +class SourceGcsBucket(typing.TypedDict, total=False): uri: str @typing.type_check_only -class SourceParallelstore(typing_extensions.TypedDict, total=False): +class SourceParallelstore(typing.TypedDict, total=False): path: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TransferMetadataOptions(typing_extensions.TypedDict, total=False): - gid: typing_extensions.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER_PRESERVE"] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] - uid: typing_extensions.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER_PRESERVE"] +class TransferMetadataOptions(typing.TypedDict, total=False): + gid: typing.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER_PRESERVE"] + mode: typing.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] + uid: typing.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER_PRESERVE"] diff --git a/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi b/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi index 752a41939..b6029a70b 100644 --- a/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/parametermanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -41,9 +40,7 @@ class ParameterManagerResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ParameterVersionHttpRequest: ... @@ -120,6 +117,111 @@ 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.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 +241,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 +291,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 +338,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..15ef896b5 100644 --- a/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/parametermanager/v1/schemas.pyi @@ -1,31 +1,41 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListParameterVersionsResponse(typing_extensions.TypedDict, total=False): +class ListParameterVersionsResponse(typing.TypedDict, total=False): nextPageToken: str parameterVersions: _list[ParameterVersion] unreachable: _list[str] @typing.type_check_only -class ListParametersResponse(typing_extensions.TypedDict, total=False): +class ListParametersResponse(typing.TypedDict, total=False): nextPageToken: str parameters: _list[Parameter] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class ListTemplateVersionsResponse(typing.TypedDict, total=False): + nextPageToken: str + templateVersions: _list[TemplateVersion] + unreachable: _list[str] + +@typing.type_check_only +class ListTemplatesResponse(typing.TypedDict, total=False): + nextPageToken: str + templates: _list[Template] + unreachable: _list[str] + +@typing.type_check_only +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -33,9 +43,9 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Parameter(typing_extensions.TypedDict, total=False): +class Parameter(typing.TypedDict, total=False): createTime: str - format: typing_extensions.Literal[ + format: typing.Literal[ "PARAMETER_FORMAT_UNSPECIFIED", "UNFORMATTED", "YAML", "JSON" ] kmsKey: str @@ -45,7 +55,7 @@ class Parameter(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ParameterVersion(typing_extensions.TypedDict, total=False): +class ParameterVersion(typing.TypedDict, total=False): createTime: str disabled: bool kmsKeyVersion: str @@ -54,16 +64,48 @@ class ParameterVersion(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ParameterVersionPayload(typing_extensions.TypedDict, total=False): +class ParameterVersionPayload(typing.TypedDict, total=False): data: str @typing.type_check_only -class RenderParameterVersionResponse(typing_extensions.TypedDict, total=False): +class RenderParameterVersionResponse(typing.TypedDict, total=False): parameterVersion: str payload: ParameterVersionPayload renderedPayload: str @typing.type_check_only -class ResourcePolicyMember(typing_extensions.TypedDict, total=False): +class RenderTemplateVersionResponse(typing.TypedDict, total=False): + parameterVersion: str + payload: TemplateVersionPayload + renderedPayload: str + templateFormat: typing.Literal[ + "TEMPLATE_FORMAT_UNSPECIFIED", "TEMPLATE_FORMAT_YAML", "TEMPLATE_FORMAT_JSON" + ] + templateVersion: str + +@typing.type_check_only +class ResourcePolicyMember(typing.TypedDict, total=False): iamPolicyNamePrincipal: str iamPolicyUidPrincipal: str + +@typing.type_check_only +class Template(typing.TypedDict, total=False): + createTime: str + format: typing.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.TypedDict, total=False): + createTime: str + disabled: bool + name: str + payload: TemplateVersionPayload + updateTime: str + +@typing.type_check_only +class TemplateVersionPayload(typing.TypedDict, total=False): + data: str diff --git a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi index 821ea0af8..d8671c783 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -112,7 +111,7 @@ class PaymentsResellerSubscriptionResource(googleapiclient.discovery.Resource): parent: str, body: Subscription, cycleOptions_initialCycleDuration_count: int | None = ..., - cycleOptions_initialCycleDuration_unit: typing_extensions.Literal[ + cycleOptions_initialCycleDuration_unit: typing.Literal[ "UNIT_UNSPECIFIED", "MONTH", "DAY", "HOUR" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi index d83c4f8f0..1cee22306 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Amount(typing_extensions.TypedDict, total=False): +class Amount(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only -class CancelSubscriptionRequest(typing_extensions.TypedDict, total=False): +class CancelSubscriptionRequest(typing.TypedDict, total=False): cancelImmediately: bool - cancellationReason: typing_extensions.Literal[ + cancellationReason: typing.Literal[ "CANCELLATION_REASON_UNSPECIFIED", "CANCELLATION_REASON_FRAUD", "CANCELLATION_REASON_REMORSE", @@ -28,102 +26,102 @@ class CancelSubscriptionRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CancelSubscriptionResponse(typing_extensions.TypedDict, total=False): +class CancelSubscriptionResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class CreateSubscriptionIntent(typing_extensions.TypedDict, total=False): +class CreateSubscriptionIntent(typing.TypedDict, total=False): cycleOptions: CycleOptions parent: str subscription: Subscription subscriptionId: str @typing.type_check_only -class CycleOptions(typing_extensions.TypedDict, total=False): +class CycleOptions(typing.TypedDict, total=False): initialCycleDuration: Duration @typing.type_check_only -class Duration(typing_extensions.TypedDict, total=False): +class Duration(typing.TypedDict, total=False): count: int - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "MONTH", "DAY", "HOUR"] + unit: typing.Literal["UNIT_UNSPECIFIED", "MONTH", "DAY", "HOUR"] @typing.type_check_only -class EntitleSubscriptionIntent(typing_extensions.TypedDict, total=False): +class EntitleSubscriptionIntent(typing.TypedDict, total=False): name: str @typing.type_check_only -class EntitleSubscriptionRequest(typing_extensions.TypedDict, total=False): +class EntitleSubscriptionRequest(typing.TypedDict, total=False): lineItemEntitlementDetails: _list[ EntitleSubscriptionRequestLineItemEntitlementDetails ] @typing.type_check_only class EntitleSubscriptionRequestLineItemEntitlementDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lineItemIndex: int products: _list[str] @typing.type_check_only -class EntitleSubscriptionResponse(typing_extensions.TypedDict, total=False): +class EntitleSubscriptionResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class ExtendSubscriptionRequest(typing_extensions.TypedDict, total=False): +class ExtendSubscriptionRequest(typing.TypedDict, total=False): extension: Extension requestId: str @typing.type_check_only -class ExtendSubscriptionResponse(typing_extensions.TypedDict, total=False): +class ExtendSubscriptionResponse(typing.TypedDict, total=False): cycleEndTime: str freeTrialEndTime: str renewalTime: str @typing.type_check_only -class Extension(typing_extensions.TypedDict, total=False): +class Extension(typing.TypedDict, total=False): duration: Duration partnerUserToken: str @typing.type_check_only -class FindEligiblePromotionsRequest(typing_extensions.TypedDict, total=False): +class FindEligiblePromotionsRequest(typing.TypedDict, total=False): filter: str pageSize: int pageToken: str @typing.type_check_only -class FindEligiblePromotionsResponse(typing_extensions.TypedDict, total=False): +class FindEligiblePromotionsResponse(typing.TypedDict, total=False): nextPageToken: str promotions: _list[Promotion] @typing.type_check_only -class FiniteBillingCycleDetails(typing_extensions.TypedDict, total=False): +class FiniteBillingCycleDetails(typing.TypedDict, total=False): billingCycleCountLimit: str @typing.type_check_only -class GenerateUserSessionRequest(typing_extensions.TypedDict, total=False): +class GenerateUserSessionRequest(typing.TypedDict, total=False): intentPayload: IntentPayload @typing.type_check_only -class GenerateUserSessionResponse(typing_extensions.TypedDict, total=False): +class GenerateUserSessionResponse(typing.TypedDict, total=False): userSession: UserSession @typing.type_check_only -class GoogleHomePayload(typing_extensions.TypedDict, total=False): +class GoogleHomePayload(typing.TypedDict, total=False): attachedToGoogleStructure: bool googleStructureId: str partnerStructureId: str @typing.type_check_only -class GoogleOnePayload(typing_extensions.TypedDict, total=False): +class GoogleOnePayload(typing.TypedDict, total=False): campaigns: _list[str] - offering: typing_extensions.Literal[ + offering: typing.Literal[ "OFFERING_UNSPECIFIED", "OFFERING_VAS_BUNDLE", "OFFERING_VAS_STANDALONE", "OFFERING_HARD_BUNDLE", "OFFERING_SOFT_BUNDLE", ] - salesChannel: typing_extensions.Literal[ + salesChannel: typing.Literal[ "CHANNEL_UNSPECIFIED", "CHANNEL_RETAIL", "CHANNEL_ONLINE_WEB", @@ -133,42 +131,42 @@ class GoogleOnePayload(typing_extensions.TypedDict, total=False): storeId: str @typing.type_check_only -class GoogleTypeLocalizedText(typing_extensions.TypedDict, total=False): +class GoogleTypeLocalizedText(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only -class IntentPayload(typing_extensions.TypedDict, total=False): +class IntentPayload(typing.TypedDict, total=False): createIntent: CreateSubscriptionIntent entitleIntent: EntitleSubscriptionIntent intentOptions: IntentPayloadIntentOptions @typing.type_check_only -class IntentPayloadIntentOptions(typing_extensions.TypedDict, total=False): +class IntentPayloadIntentOptions(typing.TypedDict, total=False): enableOfferOverride: bool @typing.type_check_only -class ListProductsResponse(typing_extensions.TypedDict, total=False): +class ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] @typing.type_check_only -class ListPromotionsResponse(typing_extensions.TypedDict, total=False): +class ListPromotionsResponse(typing.TypedDict, total=False): nextPageToken: str promotions: _list[Promotion] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): postalCode: str regionCode: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): bundleDetails: ProductBundleDetails finiteBillingCycleDetails: FiniteBillingCycleDetails name: str priceConfigs: _list[ProductPriceConfig] - productType: typing_extensions.Literal[ + productType: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_SUBSCRIPTION", "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION", @@ -178,37 +176,37 @@ class Product(typing_extensions.TypedDict, total=False): titles: _list[GoogleTypeLocalizedText] @typing.type_check_only -class ProductBundleDetails(typing_extensions.TypedDict, total=False): +class ProductBundleDetails(typing.TypedDict, total=False): bundleElements: _list[ProductBundleDetailsBundleElement] - entitlementMode: typing_extensions.Literal[ + entitlementMode: typing.Literal[ "ENTITLEMENT_MODE_UNSPECIFIED", "ENTITLEMENT_MODE_FULL", "ENTITLEMENT_MODE_INCREMENTAL", ] @typing.type_check_only -class ProductBundleDetailsBundleElement(typing_extensions.TypedDict, total=False): +class ProductBundleDetailsBundleElement(typing.TypedDict, total=False): product: str @typing.type_check_only -class ProductPayload(typing_extensions.TypedDict, total=False): +class ProductPayload(typing.TypedDict, total=False): googleHomePayload: GoogleHomePayload googleOnePayload: GoogleOnePayload youtubePayload: YoutubePayload @typing.type_check_only -class ProductPriceConfig(typing_extensions.TypedDict, total=False): +class ProductPriceConfig(typing.TypedDict, total=False): amount: Amount regionCode: str @typing.type_check_only -class Promotion(typing_extensions.TypedDict, total=False): +class Promotion(typing.TypedDict, total=False): applicableProducts: _list[str] endTime: str freeTrialDuration: Duration introductoryPricingDetails: PromotionIntroductoryPricingDetails name: str - promotionType: typing_extensions.Literal[ + promotionType: typing.Literal[ "PROMOTION_TYPE_UNSPECIFIED", "PROMOTION_TYPE_FREE_TRIAL", "PROMOTION_TYPE_INTRODUCTORY_PRICING", @@ -218,14 +216,14 @@ class Promotion(typing_extensions.TypedDict, total=False): titles: _list[GoogleTypeLocalizedText] @typing.type_check_only -class PromotionIntroductoryPricingDetails(typing_extensions.TypedDict, total=False): +class PromotionIntroductoryPricingDetails(typing.TypedDict, total=False): introductoryPricingSpecs: _list[ PromotionIntroductoryPricingDetailsIntroductoryPricingSpec ] @typing.type_check_only class PromotionIntroductoryPricingDetailsIntroductoryPricingSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): discountAmount: Amount discountRatioMicros: str @@ -233,9 +231,9 @@ class PromotionIntroductoryPricingDetailsIntroductoryPricingSpec( regionCode: str @typing.type_check_only -class ResumeSubscriptionRequest(typing_extensions.TypedDict, total=False): +class ResumeSubscriptionRequest(typing.TypedDict, total=False): cycleOptions: CycleOptions - resumeMode: typing_extensions.Literal[ + resumeMode: typing.Literal[ "RESUME_MODE_UNSPECIFIED", "RESUME_MODE_CYCLE_OPTIONS", "RESUME_MODE_RESTORE_EXISTING_BILLING_SCHEDULE", @@ -243,16 +241,16 @@ class ResumeSubscriptionRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ResumeSubscriptionResponse(typing_extensions.TypedDict, total=False): +class ResumeSubscriptionResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class ServicePeriod(typing_extensions.TypedDict, total=False): +class ServicePeriod(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): cancellationDetails: SubscriptionCancellationDetails createTime: str cycleEndTime: str @@ -262,7 +260,7 @@ class Subscription(typing_extensions.TypedDict, total=False): migrationDetails: SubscriptionMigrationDetails name: str partnerUserToken: str - processingState: typing_extensions.Literal[ + processingState: typing.Literal[ "PROCESSING_STATE_UNSPECIFIED", "PROCESSING_STATE_CANCELLING", "PROCESSING_STATE_RECURRING", @@ -276,7 +274,7 @@ class Subscription(typing_extensions.TypedDict, total=False): redirectUri: str renewalTime: str serviceLocation: Location - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_CREATED", "STATE_ACTIVE", @@ -289,8 +287,8 @@ class Subscription(typing_extensions.TypedDict, total=False): upgradeDowngradeDetails: SubscriptionUpgradeDowngradeDetails @typing.type_check_only -class SubscriptionCancellationDetails(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class SubscriptionCancellationDetails(typing.TypedDict, total=False): + reason: typing.Literal[ "CANCELLATION_REASON_UNSPECIFIED", "CANCELLATION_REASON_FRAUD", "CANCELLATION_REASON_REMORSE", @@ -306,7 +304,7 @@ class SubscriptionCancellationDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SubscriptionLineItem(typing_extensions.TypedDict, total=False): +class SubscriptionLineItem(typing.TypedDict, total=False): amount: Amount bundleDetails: SubscriptionLineItemBundleDetails description: str @@ -318,12 +316,12 @@ class SubscriptionLineItem(typing_extensions.TypedDict, total=False): oneTimeRecurrenceDetails: SubscriptionLineItemOneTimeRecurrenceDetails product: str productPayload: ProductPayload - recurrenceType: typing_extensions.Literal[ + recurrenceType: typing.Literal[ "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED", "LINE_ITEM_RECURRENCE_TYPE_PERIODIC", "LINE_ITEM_RECURRENCE_TYPE_ONE_TIME", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "LINE_ITEM_STATE_UNSPECIFIED", "LINE_ITEM_STATE_ACTIVE", "LINE_ITEM_STATE_INACTIVE", @@ -335,40 +333,38 @@ class SubscriptionLineItem(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SubscriptionLineItemBundleDetails(typing_extensions.TypedDict, total=False): +class SubscriptionLineItemBundleDetails(typing.TypedDict, total=False): bundleElementDetails: _list[SubscriptionLineItemBundleDetailsBundleElementDetails] @typing.type_check_only class SubscriptionLineItemBundleDetailsBundleElementDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): product: str userAccountLinkedTime: str @typing.type_check_only -class SubscriptionLineItemOneTimeRecurrenceDetails( - typing_extensions.TypedDict, total=False -): +class SubscriptionLineItemOneTimeRecurrenceDetails(typing.TypedDict, total=False): servicePeriod: ServicePeriod @typing.type_check_only -class SubscriptionMigrationDetails(typing_extensions.TypedDict, total=False): +class SubscriptionMigrationDetails(typing.TypedDict, total=False): migratedSubscriptionId: str @typing.type_check_only -class SubscriptionPromotionSpec(typing_extensions.TypedDict, total=False): +class SubscriptionPromotionSpec(typing.TypedDict, total=False): freeTrialDuration: Duration introductoryPricingDetails: PromotionIntroductoryPricingDetails promotion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PROMOTION_TYPE_UNSPECIFIED", "PROMOTION_TYPE_FREE_TRIAL", "PROMOTION_TYPE_INTRODUCTORY_PRICING", ] @typing.type_check_only -class SubscriptionUpgradeDowngradeDetails(typing_extensions.TypedDict, total=False): - billingCycleSpec: typing_extensions.Literal[ +class SubscriptionUpgradeDowngradeDetails(typing.TypedDict, total=False): + billingCycleSpec: typing.Literal[ "BILLING_CYCLE_SPEC_UNSPECIFIED", "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION", "BILLING_CYCLE_SPEC_START_IMMEDIATELY", @@ -377,34 +373,34 @@ class SubscriptionUpgradeDowngradeDetails(typing_extensions.TypedDict, total=Fal previousSubscriptionId: str @typing.type_check_only -class SuspendSubscriptionRequest(typing_extensions.TypedDict, total=False): - suspendMode: typing_extensions.Literal[ +class SuspendSubscriptionRequest(typing.TypedDict, total=False): + suspendMode: typing.Literal[ "SUSPEND_MODE_UNSPECIFIED", "SUSPEND_MODE_CANCEL_AFTER_GRACE_PERIOD", "SUSPEND_MODE_CANCEL_AFTER_RETENTION_PERIOD", ] @typing.type_check_only -class SuspendSubscriptionResponse(typing_extensions.TypedDict, total=False): +class SuspendSubscriptionResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class UndoCancelSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +class UndoCancelSubscriptionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UndoCancelSubscriptionResponse(typing_extensions.TypedDict, total=False): +class UndoCancelSubscriptionResponse(typing.TypedDict, total=False): subscription: Subscription @typing.type_check_only -class UserSession(typing_extensions.TypedDict, total=False): +class UserSession(typing.TypedDict, total=False): expireTime: str token: str @typing.type_check_only -class YoutubePayload(typing_extensions.TypedDict, total=False): +class YoutubePayload(typing.TypedDict, total=False): accessEndTime: str partnerEligibilityIds: _list[str] - partnerPlanType: typing_extensions.Literal[ + partnerPlanType: typing.Literal[ "PARTNER_PLAN_TYPE_UNSPECIFIED", "PARTNER_PLAN_TYPE_STANDALONE", "PARTNER_PLAN_TYPE_HARD_BUNDLE", diff --git a/googleapiclient-stubs/_apis/people/v1/resources.pyi b/googleapiclient-stubs/_apis/people/v1/resources.pyi index 12b71e76e..92360fc3e 100644 --- a/googleapiclient-stubs/_apis/people/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/people/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -90,7 +89,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., readMask: str | None = ..., requestSyncToken: bool | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -98,7 +97,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -137,14 +136,14 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): personFields: str | None = ..., requestMask_includeField: str | None = ..., requestSyncToken: bool | None = ..., - sortOrder: typing_extensions.Literal[ + sortOrder: typing.Literal[ "LAST_MODIFIED_ASCENDING", "LAST_MODIFIED_DESCENDING", "FIRST_NAME_ASCENDING", "LAST_NAME_ASCENDING", ] | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -152,7 +151,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -184,7 +183,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): *, body: Person, personFields: str | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -192,7 +191,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -211,7 +210,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): *, resourceName: str, personFields: str | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -219,7 +218,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -236,7 +235,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): resourceName: str, personFields: str | None = ..., requestMask_includeField: str | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -244,7 +243,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -261,7 +260,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): personFields: str | None = ..., requestMask_includeField: str | None = ..., resourceNames: str | _list[str] | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -269,7 +268,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -283,12 +282,12 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): def listDirectoryPeople( self, *, - mergeSources: typing_extensions.Literal[ + mergeSources: typing.Literal[ "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT", ] @@ -298,13 +297,13 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., readMask: str | None = ..., requestSyncToken: bool | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "DIRECTORY_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT", "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DIRECTORY_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT", "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE", @@ -325,7 +324,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., query: str | None = ..., readMask: str | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -333,7 +332,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -347,12 +346,12 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): def searchDirectoryPeople( self, *, - mergeSources: typing_extensions.Literal[ + mergeSources: typing.Literal[ "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT", ] @@ -362,13 +361,13 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): pageToken: str | None = ..., query: str | None = ..., readMask: str | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "DIRECTORY_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT", "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "DIRECTORY_SOURCE_TYPE_UNSPECIFIED", "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT", "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE", @@ -388,7 +387,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): resourceName: str, body: Person, personFields: str | None = ..., - sources: typing_extensions.Literal[ + sources: typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -396,7 +395,7 @@ class PeopleServiceResource(googleapiclient.discovery.Resource): "READ_SOURCE_TYPE_OTHER_CONTACT", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", diff --git a/googleapiclient-stubs/_apis/people/v1/schemas.pyi b/googleapiclient-stubs/_apis/people/v1/schemas.pyi index 00ea9e5e6..3c3aa1b10 100644 --- a/googleapiclient-stubs/_apis/people/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/people/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): city: str country: str countryCode: str @@ -20,8 +18,8 @@ class Address(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class AgeRangeType(typing_extensions.TypedDict, total=False): - ageRange: typing_extensions.Literal[ +class AgeRangeType(typing.TypedDict, total=False): + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "LESS_THAN_EIGHTEEN", "EIGHTEEN_TO_TWENTY", @@ -30,11 +28,11 @@ class AgeRangeType(typing_extensions.TypedDict, total=False): metadata: FieldMetadata @typing.type_check_only -class BatchCreateContactsRequest(typing_extensions.TypedDict, total=False): +class BatchCreateContactsRequest(typing.TypedDict, total=False): contacts: _list[ContactToCreate] readMask: str sources: _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -44,23 +42,23 @@ class BatchCreateContactsRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BatchCreateContactsResponse(typing_extensions.TypedDict, total=False): +class BatchCreateContactsResponse(typing.TypedDict, total=False): createdPeople: _list[PersonResponse] @typing.type_check_only -class BatchDeleteContactsRequest(typing_extensions.TypedDict, total=False): +class BatchDeleteContactsRequest(typing.TypedDict, total=False): resourceNames: _list[str] @typing.type_check_only -class BatchGetContactGroupsResponse(typing_extensions.TypedDict, total=False): +class BatchGetContactGroupsResponse(typing.TypedDict, total=False): responses: _list[ContactGroupResponse] @typing.type_check_only -class BatchUpdateContactsRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateContactsRequest(typing.TypedDict, total=False): contacts: dict[str, typing.Any] readMask: str sources: _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -71,47 +69,45 @@ class BatchUpdateContactsRequest(typing_extensions.TypedDict, total=False): updateMask: str @typing.type_check_only -class BatchUpdateContactsResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateContactsResponse(typing.TypedDict, total=False): updateResult: dict[str, typing.Any] @typing.type_check_only -class Biography(typing_extensions.TypedDict, total=False): - contentType: typing_extensions.Literal[ - "CONTENT_TYPE_UNSPECIFIED", "TEXT_PLAIN", "TEXT_HTML" - ] +class Biography(typing.TypedDict, total=False): + contentType: typing.Literal["CONTENT_TYPE_UNSPECIFIED", "TEXT_PLAIN", "TEXT_HTML"] metadata: FieldMetadata value: str @typing.type_check_only -class Birthday(typing_extensions.TypedDict, total=False): +class Birthday(typing.TypedDict, total=False): date: Date metadata: FieldMetadata text: str @typing.type_check_only -class BraggingRights(typing_extensions.TypedDict, total=False): +class BraggingRights(typing.TypedDict, total=False): metadata: FieldMetadata value: str @typing.type_check_only -class CalendarUrl(typing_extensions.TypedDict, total=False): +class CalendarUrl(typing.TypedDict, total=False): formattedType: str metadata: FieldMetadata type: str url: str @typing.type_check_only -class ClientData(typing_extensions.TypedDict, total=False): +class ClientData(typing.TypedDict, total=False): key: str metadata: FieldMetadata value: str @typing.type_check_only -class ContactGroup(typing_extensions.TypedDict, total=False): +class ContactGroup(typing.TypedDict, total=False): clientData: _list[GroupClientData] etag: str formattedName: str - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "GROUP_TYPE_UNSPECIFIED", "USER_CONTACT_GROUP", "SYSTEM_CONTACT_GROUP" ] memberCount: int @@ -121,33 +117,31 @@ class ContactGroup(typing_extensions.TypedDict, total=False): resourceName: str @typing.type_check_only -class ContactGroupMembership(typing_extensions.TypedDict, total=False): +class ContactGroupMembership(typing.TypedDict, total=False): contactGroupId: str contactGroupResourceName: str @typing.type_check_only -class ContactGroupMetadata(typing_extensions.TypedDict, total=False): +class ContactGroupMetadata(typing.TypedDict, total=False): deleted: bool updateTime: str @typing.type_check_only -class ContactGroupResponse(typing_extensions.TypedDict, total=False): +class ContactGroupResponse(typing.TypedDict, total=False): contactGroup: ContactGroup requestedResourceName: str status: Status @typing.type_check_only -class ContactToCreate(typing_extensions.TypedDict, total=False): +class ContactToCreate(typing.TypedDict, total=False): contactPerson: Person @typing.type_check_only -class CopyOtherContactToMyContactsGroupRequest( - typing_extensions.TypedDict, total=False -): +class CopyOtherContactToMyContactsGroupRequest(typing.TypedDict, total=False): copyMask: str readMask: str sources: _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -157,32 +151,32 @@ class CopyOtherContactToMyContactsGroupRequest( ] @typing.type_check_only -class CoverPhoto(typing_extensions.TypedDict, total=False): +class CoverPhoto(typing.TypedDict, total=False): default: bool metadata: FieldMetadata url: str @typing.type_check_only -class CreateContactGroupRequest(typing_extensions.TypedDict, total=False): +class CreateContactGroupRequest(typing.TypedDict, total=False): contactGroup: ContactGroup readGroupFields: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DeleteContactPhotoResponse(typing_extensions.TypedDict, total=False): +class DeleteContactPhotoResponse(typing.TypedDict, total=False): person: Person @typing.type_check_only -class DomainMembership(typing_extensions.TypedDict, total=False): +class DomainMembership(typing.TypedDict, total=False): inViewerDomain: bool @typing.type_check_only -class EmailAddress(typing_extensions.TypedDict, total=False): +class EmailAddress(typing.TypedDict, total=False): displayName: str formattedType: str metadata: FieldMetadata @@ -190,52 +184,52 @@ class EmailAddress(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Event(typing_extensions.TypedDict, total=False): +class Event(typing.TypedDict, total=False): date: Date formattedType: str metadata: FieldMetadata type: str @typing.type_check_only -class ExternalId(typing_extensions.TypedDict, total=False): +class ExternalId(typing.TypedDict, total=False): formattedType: str metadata: FieldMetadata type: str value: str @typing.type_check_only -class FieldMetadata(typing_extensions.TypedDict, total=False): +class FieldMetadata(typing.TypedDict, total=False): primary: bool source: Source sourcePrimary: bool verified: bool @typing.type_check_only -class FileAs(typing_extensions.TypedDict, total=False): +class FileAs(typing.TypedDict, total=False): metadata: FieldMetadata value: str @typing.type_check_only -class Gender(typing_extensions.TypedDict, total=False): +class Gender(typing.TypedDict, total=False): addressMeAs: str formattedValue: str metadata: FieldMetadata value: str @typing.type_check_only -class GetPeopleResponse(typing_extensions.TypedDict, total=False): +class GetPeopleResponse(typing.TypedDict, total=False): responses: _list[PersonResponse] @typing.type_check_only -class GroupClientData(typing_extensions.TypedDict, total=False): +class GroupClientData(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class ImClient(typing_extensions.TypedDict, total=False): +class ImClient(typing.TypedDict, total=False): formattedProtocol: str formattedType: str metadata: FieldMetadata @@ -244,12 +238,12 @@ class ImClient(typing_extensions.TypedDict, total=False): username: str @typing.type_check_only -class Interest(typing_extensions.TypedDict, total=False): +class Interest(typing.TypedDict, total=False): metadata: FieldMetadata value: str @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Person] nextPageToken: str nextSyncToken: str @@ -257,32 +251,32 @@ class ListConnectionsResponse(typing_extensions.TypedDict, total=False): totalPeople: int @typing.type_check_only -class ListContactGroupsResponse(typing_extensions.TypedDict, total=False): +class ListContactGroupsResponse(typing.TypedDict, total=False): contactGroups: _list[ContactGroup] nextPageToken: str nextSyncToken: str totalItems: int @typing.type_check_only -class ListDirectoryPeopleResponse(typing_extensions.TypedDict, total=False): +class ListDirectoryPeopleResponse(typing.TypedDict, total=False): nextPageToken: str nextSyncToken: str people: _list[Person] @typing.type_check_only -class ListOtherContactsResponse(typing_extensions.TypedDict, total=False): +class ListOtherContactsResponse(typing.TypedDict, total=False): nextPageToken: str nextSyncToken: str otherContacts: _list[Person] totalSize: int @typing.type_check_only -class Locale(typing_extensions.TypedDict, total=False): +class Locale(typing.TypedDict, total=False): metadata: FieldMetadata value: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): buildingId: str current: bool deskCode: str @@ -293,16 +287,16 @@ class Location(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): contactGroupMembership: ContactGroupMembership domainMembership: DomainMembership metadata: FieldMetadata @typing.type_check_only -class MiscKeyword(typing_extensions.TypedDict, total=False): +class MiscKeyword(typing.TypedDict, total=False): formattedType: str metadata: FieldMetadata - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "OUTLOOK_BILLING_INFORMATION", "OUTLOOK_DIRECTORY_SERVER", @@ -319,17 +313,17 @@ class MiscKeyword(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class ModifyContactGroupMembersRequest(typing_extensions.TypedDict, total=False): +class ModifyContactGroupMembersRequest(typing.TypedDict, total=False): resourceNamesToAdd: _list[str] resourceNamesToRemove: _list[str] @typing.type_check_only -class ModifyContactGroupMembersResponse(typing_extensions.TypedDict, total=False): +class ModifyContactGroupMembersResponse(typing.TypedDict, total=False): canNotRemoveLastContactGroupResourceNames: _list[str] notFoundResourceNames: _list[str] @typing.type_check_only -class Name(typing_extensions.TypedDict, total=False): +class Name(typing.TypedDict, total=False): displayName: str displayNameLastFirst: str familyName: str @@ -347,9 +341,9 @@ class Name(typing_extensions.TypedDict, total=False): unstructuredName: str @typing.type_check_only -class Nickname(typing_extensions.TypedDict, total=False): +class Nickname(typing.TypedDict, total=False): metadata: FieldMetadata - type: typing_extensions.Literal[ + type: typing.Literal[ "DEFAULT", "MAIDEN_NAME", "INITIALS", @@ -361,12 +355,12 @@ class Nickname(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Occupation(typing_extensions.TypedDict, total=False): +class Occupation(typing.TypedDict, total=False): metadata: FieldMetadata value: str @typing.type_check_only -class Organization(typing_extensions.TypedDict, total=False): +class Organization(typing.TypedDict, total=False): costCenter: str current: bool department: str @@ -385,9 +379,9 @@ class Organization(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Person(typing_extensions.TypedDict, total=False): +class Person(typing.TypedDict, total=False): addresses: _list[Address] - ageRange: typing_extensions.Literal[ + ageRange: typing.Literal[ "AGE_RANGE_UNSPECIFIED", "LESS_THAN_EIGHTEEN", "EIGHTEEN_TO_TWENTY", @@ -431,22 +425,22 @@ class Person(typing_extensions.TypedDict, total=False): userDefined: _list[UserDefined] @typing.type_check_only -class PersonMetadata(typing_extensions.TypedDict, total=False): +class PersonMetadata(typing.TypedDict, total=False): deleted: bool linkedPeopleResourceNames: _list[str] - objectType: typing_extensions.Literal["OBJECT_TYPE_UNSPECIFIED", "PERSON", "PAGE"] + objectType: typing.Literal["OBJECT_TYPE_UNSPECIFIED", "PERSON", "PAGE"] previousResourceNames: _list[str] sources: _list[Source] @typing.type_check_only -class PersonResponse(typing_extensions.TypedDict, total=False): +class PersonResponse(typing.TypedDict, total=False): httpStatusCode: int person: Person requestedResourceName: str status: Status @typing.type_check_only -class PhoneNumber(typing_extensions.TypedDict, total=False): +class PhoneNumber(typing.TypedDict, total=False): canonicalForm: str formattedType: str metadata: FieldMetadata @@ -454,77 +448,77 @@ class PhoneNumber(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Photo(typing_extensions.TypedDict, total=False): +class Photo(typing.TypedDict, total=False): default: bool metadata: FieldMetadata url: str @typing.type_check_only -class ProfileMetadata(typing_extensions.TypedDict, total=False): - objectType: typing_extensions.Literal["OBJECT_TYPE_UNSPECIFIED", "PERSON", "PAGE"] +class ProfileMetadata(typing.TypedDict, total=False): + objectType: typing.Literal["OBJECT_TYPE_UNSPECIFIED", "PERSON", "PAGE"] userTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "USER_TYPE_UNKNOWN", "GOOGLE_USER", "GPLUS_USER", "GOOGLE_APPS_USER" ] ] @typing.type_check_only -class Relation(typing_extensions.TypedDict, total=False): +class Relation(typing.TypedDict, total=False): formattedType: str metadata: FieldMetadata person: str type: str @typing.type_check_only -class RelationshipInterest(typing_extensions.TypedDict, total=False): +class RelationshipInterest(typing.TypedDict, total=False): formattedValue: str metadata: FieldMetadata value: str @typing.type_check_only -class RelationshipStatus(typing_extensions.TypedDict, total=False): +class RelationshipStatus(typing.TypedDict, total=False): formattedValue: str metadata: FieldMetadata value: str @typing.type_check_only -class Residence(typing_extensions.TypedDict, total=False): +class Residence(typing.TypedDict, total=False): current: bool metadata: FieldMetadata value: str @typing.type_check_only -class SearchDirectoryPeopleResponse(typing_extensions.TypedDict, total=False): +class SearchDirectoryPeopleResponse(typing.TypedDict, total=False): nextPageToken: str people: _list[Person] totalSize: int @typing.type_check_only -class SearchResponse(typing_extensions.TypedDict, total=False): +class SearchResponse(typing.TypedDict, total=False): results: _list[SearchResult] @typing.type_check_only -class SearchResult(typing_extensions.TypedDict, total=False): +class SearchResult(typing.TypedDict, total=False): person: Person @typing.type_check_only -class SipAddress(typing_extensions.TypedDict, total=False): +class SipAddress(typing.TypedDict, total=False): formattedType: str metadata: FieldMetadata type: str value: str @typing.type_check_only -class Skill(typing_extensions.TypedDict, total=False): +class Skill(typing.TypedDict, total=False): metadata: FieldMetadata value: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): etag: str id: str profileMetadata: ProfileMetadata - type: typing_extensions.Literal[ + type: typing.Literal[ "SOURCE_TYPE_UNSPECIFIED", "ACCOUNT", "PROFILE", @@ -536,28 +530,28 @@ class Source(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tagline(typing_extensions.TypedDict, total=False): +class Tagline(typing.TypedDict, total=False): metadata: FieldMetadata value: str @typing.type_check_only -class UpdateContactGroupRequest(typing_extensions.TypedDict, total=False): +class UpdateContactGroupRequest(typing.TypedDict, total=False): contactGroup: ContactGroup readGroupFields: str updateGroupFields: str @typing.type_check_only -class UpdateContactPhotoRequest(typing_extensions.TypedDict, total=False): +class UpdateContactPhotoRequest(typing.TypedDict, total=False): personFields: str photoBytes: str sources: _list[ - typing_extensions.Literal[ + typing.Literal[ "READ_SOURCE_TYPE_UNSPECIFIED", "READ_SOURCE_TYPE_PROFILE", "READ_SOURCE_TYPE_CONTACT", @@ -567,18 +561,18 @@ class UpdateContactPhotoRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UpdateContactPhotoResponse(typing_extensions.TypedDict, total=False): +class UpdateContactPhotoResponse(typing.TypedDict, total=False): person: Person @typing.type_check_only -class Url(typing_extensions.TypedDict, total=False): +class Url(typing.TypedDict, total=False): formattedType: str metadata: FieldMetadata type: str value: str @typing.type_check_only -class UserDefined(typing_extensions.TypedDict, total=False): +class UserDefined(typing.TypedDict, total=False): key: str metadata: FieldMetadata value: str diff --git a/googleapiclient-stubs/_apis/places/v1/resources.pyi b/googleapiclient-stubs/_apis/places/v1/resources.pyi index b94a0cce7..820cb6fe2 100644 --- a/googleapiclient-stubs/_apis/places/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/places/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/places/v1/schemas.pyi b/googleapiclient-stubs/_apis/places/v1/schemas.pyi index 07525dc3f..4d09ed057 100644 --- a/googleapiclient-stubs/_apis/places/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/places/v1/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleGeoTypeViewport(typing_extensions.TypedDict, total=False): +class GoogleGeoTypeViewport(typing.TypedDict, total=False): high: GoogleTypeLatLng low: GoogleTypeLatLng @typing.type_check_only -class GoogleMapsPlacesV1AddressDescriptor(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1AddressDescriptor(typing.TypedDict, total=False): areas: _list[GoogleMapsPlacesV1AddressDescriptorArea] landmarks: _list[GoogleMapsPlacesV1AddressDescriptorLandmark] @typing.type_check_only -class GoogleMapsPlacesV1AddressDescriptorArea(typing_extensions.TypedDict, total=False): - containment: typing_extensions.Literal[ +class GoogleMapsPlacesV1AddressDescriptorArea(typing.TypedDict, total=False): + containment: typing.Literal[ "CONTAINMENT_UNSPECIFIED", "WITHIN", "OUTSKIRTS", "NEAR" ] displayName: GoogleTypeLocalizedText @@ -24,13 +22,11 @@ class GoogleMapsPlacesV1AddressDescriptorArea(typing_extensions.TypedDict, total placeId: str @typing.type_check_only -class GoogleMapsPlacesV1AddressDescriptorLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1AddressDescriptorLandmark(typing.TypedDict, total=False): displayName: GoogleTypeLocalizedText name: str placeId: str - spatialRelationship: typing_extensions.Literal[ + spatialRelationship: typing.Literal[ "NEAR", "WITHIN", "BESIDE", @@ -44,15 +40,13 @@ class GoogleMapsPlacesV1AddressDescriptorLandmark( types: _list[str] @typing.type_check_only -class GoogleMapsPlacesV1AuthorAttribution(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1AuthorAttribution(typing.TypedDict, total=False): displayName: str photoUri: str uri: str @typing.type_check_only -class GoogleMapsPlacesV1AutocompletePlacesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1AutocompletePlacesRequest(typing.TypedDict, total=False): includeFutureOpeningBusinesses: bool includePureServiceAreaBusinesses: bool includeQueryPredictions: bool @@ -69,27 +63,25 @@ class GoogleMapsPlacesV1AutocompletePlacesRequest( @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): circle: GoogleMapsPlacesV1Circle rectangle: GoogleGeoTypeViewport @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): circle: GoogleMapsPlacesV1Circle rectangle: GoogleGeoTypeViewport @typing.type_check_only -class GoogleMapsPlacesV1AutocompletePlacesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1AutocompletePlacesResponse(typing.TypedDict, total=False): suggestions: _list[GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion] @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): placePrediction: ( GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction @@ -100,14 +92,14 @@ class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion( @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): matches: _list[GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange] text: str @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distanceMeters: int place: str @@ -120,7 +112,7 @@ class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction( @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): structuredFormat: ( GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat @@ -129,38 +121,36 @@ class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction( @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endOffset: int startOffset: int @typing.type_check_only class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mainText: GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText secondaryText: GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText @typing.type_check_only -class GoogleMapsPlacesV1Circle(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1Circle(typing.TypedDict, total=False): center: GoogleTypeLatLng radius: float @typing.type_check_only -class GoogleMapsPlacesV1ContentBlock(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1ContentBlock(typing.TypedDict, total=False): content: GoogleTypeLocalizedText referencedPlaces: _list[str] @typing.type_check_only -class GoogleMapsPlacesV1ContextualContent(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1ContextualContent(typing.TypedDict, total=False): justifications: _list[GoogleMapsPlacesV1ContextualContentJustification] photos: _list[GoogleMapsPlacesV1Photo] reviews: _list[GoogleMapsPlacesV1Review] @typing.type_check_only -class GoogleMapsPlacesV1ContextualContentJustification( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1ContextualContentJustification(typing.TypedDict, total=False): businessAvailabilityAttributesJustification: GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification reviewJustification: ( GoogleMapsPlacesV1ContextualContentJustificationReviewJustification @@ -168,7 +158,7 @@ class GoogleMapsPlacesV1ContextualContentJustification( @typing.type_check_only class GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): delivery: bool dineIn: bool @@ -176,14 +166,14 @@ class GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttrib @typing.type_check_only class GoogleMapsPlacesV1ContextualContentJustificationReviewJustification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): highlightedText: GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText review: GoogleMapsPlacesV1Review @typing.type_check_only class GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): highlightedTextRanges: _list[ GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange @@ -192,26 +182,26 @@ class GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlig @typing.type_check_only class GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endIndex: int startIndex: int @typing.type_check_only -class GoogleMapsPlacesV1EVChargeOptions(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1EVChargeOptions(typing.TypedDict, total=False): connectorAggregation: _list[GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation] connectorCount: int @typing.type_check_only class GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): availabilityLastUpdateTime: str availableCount: int count: int maxChargeRateKw: float outOfServiceCount: int - type: typing_extensions.Literal[ + type: typing.Literal[ "EV_CONNECTOR_TYPE_UNSPECIFIED", "EV_CONNECTOR_TYPE_OTHER", "EV_CONNECTOR_TYPE_J1772", @@ -226,13 +216,13 @@ class GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation( ] @typing.type_check_only -class GoogleMapsPlacesV1FuelOptions(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1FuelOptions(typing.TypedDict, total=False): fuelPrices: _list[GoogleMapsPlacesV1FuelOptionsFuelPrice] @typing.type_check_only -class GoogleMapsPlacesV1FuelOptionsFuelPrice(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1FuelOptionsFuelPrice(typing.TypedDict, total=False): price: GoogleTypeMoney - type: typing_extensions.Literal[ + type: typing.Literal[ "FUEL_TYPE_UNSPECIFIED", "DIESEL", "DIESEL_PLUS", @@ -258,7 +248,7 @@ class GoogleMapsPlacesV1FuelOptionsFuelPrice(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleMapsPlacesV1Photo(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1Photo(typing.TypedDict, total=False): authorAttributions: _list[GoogleMapsPlacesV1AuthorAttribution] flagContentUri: str googleMapsUri: str @@ -267,19 +257,19 @@ class GoogleMapsPlacesV1Photo(typing_extensions.TypedDict, total=False): widthPx: int @typing.type_check_only -class GoogleMapsPlacesV1PhotoMedia(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PhotoMedia(typing.TypedDict, total=False): name: str photoUri: str @typing.type_check_only -class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1Place(typing.TypedDict, total=False): accessibilityOptions: GoogleMapsPlacesV1PlaceAccessibilityOptions addressComponents: _list[GoogleMapsPlacesV1PlaceAddressComponent] addressDescriptor: GoogleMapsPlacesV1AddressDescriptor adrFormatAddress: str allowsDogs: bool attributions: _list[GoogleMapsPlacesV1PlaceAttribution] - businessStatus: typing_extensions.Literal[ + businessStatus: typing.Literal[ "BUSINESS_STATUS_UNSPECIFIED", "OPERATIONAL", "CLOSED_TEMPORARILY", @@ -295,6 +285,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): dineIn: bool displayName: GoogleTypeLocalizedText editorialSummary: GoogleTypeLocalizedText + entrances: _list[GoogleMapsPlacesV1PlaceEntrance] evChargeAmenitySummary: GoogleMapsPlacesV1PlaceEvChargeAmenitySummary evChargeOptions: GoogleMapsPlacesV1EVChargeOptions formattedAddress: str @@ -317,6 +308,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): movedPlaceId: str name: str nationalPhoneNumber: str + navigationPoints: _list[GoogleMapsPlacesV1PlaceNavigationPoint] neighborhoodSummary: GoogleMapsPlacesV1PlaceNeighborhoodSummary openingDate: GoogleTypeDate outdoorSeating: bool @@ -325,7 +317,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): photos: _list[GoogleMapsPlacesV1Photo] plusCode: GoogleMapsPlacesV1PlacePlusCode postalAddress: GoogleTypePostalAddress - priceLevel: typing_extensions.Literal[ + priceLevel: typing.Literal[ "PRICE_LEVEL_UNSPECIFIED", "PRICE_LEVEL_FREE", "PRICE_LEVEL_INEXPENSIVE", @@ -366,56 +358,53 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): websiteUri: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceAccessibilityOptions( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceAccessibilityOptions(typing.TypedDict, total=False): wheelchairAccessibleEntrance: bool wheelchairAccessibleParking: bool wheelchairAccessibleRestroom: bool wheelchairAccessibleSeating: bool @typing.type_check_only -class GoogleMapsPlacesV1PlaceAddressComponent(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceAddressComponent(typing.TypedDict, total=False): languageCode: str longText: str shortText: str types: _list[str] @typing.type_check_only -class GoogleMapsPlacesV1PlaceAttribution(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceAttribution(typing.TypedDict, total=False): provider: str providerUri: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceConsumerAlert(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceConsumerAlert(typing.TypedDict, total=False): details: GoogleMapsPlacesV1PlaceConsumerAlertDetails languageCode: str overview: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceConsumerAlertDetails( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceConsumerAlertDetails(typing.TypedDict, total=False): aboutLink: GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink description: str title: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink(typing.TypedDict, total=False): title: str uri: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceContainingPlace(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceContainingPlace(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceEntrance(typing.TypedDict, total=False): + location: GoogleTypeLatLng + tags: _list[typing.Literal["TAG_UNSPECIFIED", "PREFERRED"]] + +@typing.type_check_only +class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary(typing.TypedDict, total=False): coffee: GoogleMapsPlacesV1ContentBlock disclosureText: GoogleTypeLocalizedText flagContentUri: str @@ -424,15 +413,13 @@ class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary( store: GoogleMapsPlacesV1ContentBlock @typing.type_check_only -class GoogleMapsPlacesV1PlaceGenerativeSummary( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceGenerativeSummary(typing.TypedDict, total=False): disclosureText: GoogleTypeLocalizedText overview: GoogleTypeLocalizedText overviewFlagContentUri: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceGoogleMapsLinks(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceGoogleMapsLinks(typing.TypedDict, total=False): directionsUri: str photosUri: str placeUri: str @@ -440,21 +427,27 @@ class GoogleMapsPlacesV1PlaceGoogleMapsLinks(typing_extensions.TypedDict, total= writeAReviewUri: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceNeighborhoodSummary( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceNavigationPoint(typing.TypedDict, total=False): + displayName: GoogleTypeLocalizedText + location: GoogleTypeLatLng + navigationPointToken: str + travelModes: _list[typing.Literal["TRAVEL_MODE_UNSPECIFIED", "DRIVE", "WALK"]] + usages: _list[typing.Literal["USAGE_UNSPECIFIED", "DROPOFF", "PICKUP", "PARKING"]] + +@typing.type_check_only +class GoogleMapsPlacesV1PlaceNeighborhoodSummary(typing.TypedDict, total=False): description: GoogleMapsPlacesV1ContentBlock disclosureText: GoogleTypeLocalizedText flagContentUri: str overview: GoogleMapsPlacesV1ContentBlock @typing.type_check_only -class GoogleMapsPlacesV1PlaceOpeningHours(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceOpeningHours(typing.TypedDict, total=False): nextCloseTime: str nextOpenTime: str openNow: bool periods: _list[GoogleMapsPlacesV1PlaceOpeningHoursPeriod] - secondaryHoursType: typing_extensions.Literal[ + secondaryHoursType: typing.Literal[ "SECONDARY_HOURS_TYPE_UNSPECIFIED", "DRIVE_THROUGH", "HAPPY_HOUR", @@ -474,16 +467,12 @@ class GoogleMapsPlacesV1PlaceOpeningHours(typing_extensions.TypedDict, total=Fal weekdayDescriptions: _list[str] @typing.type_check_only -class GoogleMapsPlacesV1PlaceOpeningHoursPeriod( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceOpeningHoursPeriod(typing.TypedDict, total=False): close: GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint open: GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint @typing.type_check_only -class GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint(typing.TypedDict, total=False): date: GoogleTypeDate day: int hour: int @@ -491,13 +480,11 @@ class GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint( truncated: bool @typing.type_check_only -class GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay(typing.TypedDict, total=False): date: GoogleTypeDate @typing.type_check_only -class GoogleMapsPlacesV1PlaceParkingOptions(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceParkingOptions(typing.TypedDict, total=False): freeGarageParking: bool freeParkingLot: bool freeStreetParking: bool @@ -507,40 +494,40 @@ class GoogleMapsPlacesV1PlaceParkingOptions(typing_extensions.TypedDict, total=F valetParking: bool @typing.type_check_only -class GoogleMapsPlacesV1PlacePaymentOptions(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlacePaymentOptions(typing.TypedDict, total=False): acceptsCashOnly: bool acceptsCreditCards: bool acceptsDebitCards: bool acceptsNfc: bool @typing.type_check_only -class GoogleMapsPlacesV1PlacePlusCode(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlacePlusCode(typing.TypedDict, total=False): compoundCode: str globalCode: str @typing.type_check_only -class GoogleMapsPlacesV1PlaceReviewSummary(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceReviewSummary(typing.TypedDict, total=False): disclosureText: GoogleTypeLocalizedText flagContentUri: str reviewsUri: str text: GoogleTypeLocalizedText @typing.type_check_only -class GoogleMapsPlacesV1PlaceSubDestination(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PlaceSubDestination(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleMapsPlacesV1Polyline(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1Polyline(typing.TypedDict, total=False): encodedPolyline: str @typing.type_check_only -class GoogleMapsPlacesV1PriceRange(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1PriceRange(typing.TypedDict, total=False): endPrice: GoogleTypeMoney startPrice: GoogleTypeMoney @typing.type_check_only -class GoogleMapsPlacesV1Review(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1Review(typing.TypedDict, total=False): authorAttribution: GoogleMapsPlacesV1AuthorAttribution flagContentUri: str googleMapsUri: str @@ -553,38 +540,38 @@ class GoogleMapsPlacesV1Review(typing_extensions.TypedDict, total=False): visitDate: GoogleTypeDate @typing.type_check_only -class GoogleMapsPlacesV1RouteModifiers(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1RouteModifiers(typing.TypedDict, total=False): avoidFerries: bool avoidHighways: bool avoidIndoor: bool avoidTolls: bool @typing.type_check_only -class GoogleMapsPlacesV1RoutingParameters(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1RoutingParameters(typing.TypedDict, total=False): origin: GoogleTypeLatLng routeModifiers: GoogleMapsPlacesV1RouteModifiers - routingPreference: typing_extensions.Literal[ + routingPreference: typing.Literal[ "ROUTING_PREFERENCE_UNSPECIFIED", "TRAFFIC_UNAWARE", "TRAFFIC_AWARE", "TRAFFIC_AWARE_OPTIMAL", ] - travelMode: typing_extensions.Literal[ + travelMode: typing.Literal[ "TRAVEL_MODE_UNSPECIFIED", "DRIVE", "BICYCLE", "WALK", "TWO_WHEELER" ] @typing.type_check_only -class GoogleMapsPlacesV1RoutingSummary(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1RoutingSummary(typing.TypedDict, total=False): directionsUri: str legs: _list[GoogleMapsPlacesV1RoutingSummaryLeg] @typing.type_check_only -class GoogleMapsPlacesV1RoutingSummaryLeg(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1RoutingSummaryLeg(typing.TypedDict, total=False): distanceMeters: int duration: str @typing.type_check_only -class GoogleMapsPlacesV1SearchNearbyRequest(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1SearchNearbyRequest(typing.TypedDict, total=False): excludedPrimaryTypes: _list[str] excludedTypes: _list[str] includeFutureOpeningBusinesses: bool @@ -593,7 +580,7 @@ class GoogleMapsPlacesV1SearchNearbyRequest(typing_extensions.TypedDict, total=F languageCode: str locationRestriction: GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction maxResultCount: int - rankPreference: typing_extensions.Literal[ + rankPreference: typing.Literal[ "RANK_PREFERENCE_UNSPECIFIED", "DISTANCE", "POPULARITY" ] regionCode: str @@ -601,17 +588,17 @@ class GoogleMapsPlacesV1SearchNearbyRequest(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): circle: GoogleMapsPlacesV1Circle @typing.type_check_only -class GoogleMapsPlacesV1SearchNearbyResponse(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1SearchNearbyResponse(typing.TypedDict, total=False): places: _list[GoogleMapsPlacesV1Place] routingSummaries: _list[GoogleMapsPlacesV1RoutingSummary] @typing.type_check_only -class GoogleMapsPlacesV1SearchTextRequest(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1SearchTextRequest(typing.TypedDict, total=False): evOptions: GoogleMapsPlacesV1SearchTextRequestEVOptions includeFutureOpeningBusinesses: bool includePureServiceAreaBusinesses: bool @@ -625,7 +612,7 @@ class GoogleMapsPlacesV1SearchTextRequest(typing_extensions.TypedDict, total=Fal pageSize: int pageToken: str priceLevels: _list[ - typing_extensions.Literal[ + typing.Literal[ "PRICE_LEVEL_UNSPECIFIED", "PRICE_LEVEL_FREE", "PRICE_LEVEL_INEXPENSIVE", @@ -634,7 +621,7 @@ class GoogleMapsPlacesV1SearchTextRequest(typing_extensions.TypedDict, total=Fal "PRICE_LEVEL_VERY_EXPENSIVE", ] ] - rankPreference: typing_extensions.Literal[ + rankPreference: typing.Literal[ "RANK_PREFERENCE_UNSPECIFIED", "DISTANCE", "RELEVANCE" ] regionCode: str @@ -646,11 +633,9 @@ class GoogleMapsPlacesV1SearchTextRequest(typing_extensions.TypedDict, total=Fal textQuery: str @typing.type_check_only -class GoogleMapsPlacesV1SearchTextRequestEVOptions( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1SearchTextRequestEVOptions(typing.TypedDict, total=False): connectorTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EV_CONNECTOR_TYPE_UNSPECIFIED", "EV_CONNECTOR_TYPE_OTHER", "EV_CONNECTOR_TYPE_J1772", @@ -667,26 +652,24 @@ class GoogleMapsPlacesV1SearchTextRequestEVOptions( minimumChargingRateKw: float @typing.type_check_only -class GoogleMapsPlacesV1SearchTextRequestLocationBias( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlacesV1SearchTextRequestLocationBias(typing.TypedDict, total=False): circle: GoogleMapsPlacesV1Circle rectangle: GoogleGeoTypeViewport @typing.type_check_only class GoogleMapsPlacesV1SearchTextRequestLocationRestriction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rectangle: GoogleGeoTypeViewport @typing.type_check_only class GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): polyline: GoogleMapsPlacesV1Polyline @typing.type_check_only -class GoogleMapsPlacesV1SearchTextResponse(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1SearchTextResponse(typing.TypedDict, total=False): contextualContents: _list[GoogleMapsPlacesV1ContextualContent] nextPageToken: str places: _list[GoogleMapsPlacesV1Place] @@ -694,7 +677,7 @@ class GoogleMapsPlacesV1SearchTextResponse(typing_extensions.TypedDict, total=Fa searchUri: str @typing.type_check_only -class GoogleMapsPlacesV1TransitAgency(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1TransitAgency(typing.TypedDict, total=False): displayName: GoogleTypeLocalizedText fareUrl: str icon: GoogleMapsPlacesV1TransitIcon @@ -702,12 +685,12 @@ class GoogleMapsPlacesV1TransitAgency(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class GoogleMapsPlacesV1TransitIcon(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1TransitIcon(typing.TypedDict, total=False): nameIncluded: bool url: str @typing.type_check_only -class GoogleMapsPlacesV1TransitLine(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1TransitLine(typing.TypedDict, total=False): backgroundColor: str displayName: GoogleTypeLocalizedText icon: GoogleMapsPlacesV1TransitIcon @@ -716,7 +699,7 @@ class GoogleMapsPlacesV1TransitLine(typing_extensions.TypedDict, total=False): textColor: str url: str vehicleIcon: GoogleMapsPlacesV1TransitIcon - vehicleType: typing_extensions.Literal[ + vehicleType: typing.Literal[ "VEHICLE_TYPE_UNSPECIFIED", "RAIL", "METRO_RAIL", @@ -742,13 +725,13 @@ class GoogleMapsPlacesV1TransitLine(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleMapsPlacesV1TransitStation(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1TransitStation(typing.TypedDict, total=False): agencies: _list[GoogleMapsPlacesV1TransitAgency] displayName: GoogleTypeLocalizedText stops: _list[GoogleMapsPlacesV1TransitStop] @typing.type_check_only -class GoogleMapsPlacesV1TransitStop(typing_extensions.TypedDict, total=False): +class GoogleMapsPlacesV1TransitStop(typing.TypedDict, total=False): displayName: GoogleTypeLocalizedText id: str location: GoogleTypeLatLng @@ -758,29 +741,29 @@ class GoogleMapsPlacesV1TransitStop(typing_extensions.TypedDict, total=False): wheelchairAccessibleEntrance: bool @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class GoogleTypeLocalizedText(typing_extensions.TypedDict, total=False): +class GoogleTypeLocalizedText(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): +class GoogleTypePostalAddress(typing.TypedDict, total=False): addressLines: _list[str] administrativeArea: str languageCode: str @@ -794,6 +777,6 @@ class GoogleTypePostalAddress(typing_extensions.TypedDict, total=False): sublocality: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/playablelocations/v3/resources.pyi b/googleapiclient-stubs/_apis/playablelocations/v3/resources.pyi index d9f05e0a1..3db6333f8 100644 --- a/googleapiclient-stubs/_apis/playablelocations/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/playablelocations/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/playablelocations/v3/schemas.pyi b/googleapiclient-stubs/_apis/playablelocations/v3/schemas.pyi index fbf5f59a3..e9b5286dc 100644 --- a/googleapiclient-stubs/_apis/playablelocations/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/playablelocations/v3/schemas.pyi @@ -1,33 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleMapsPlayablelocationsV3Impression(typing_extensions.TypedDict, total=False): +class GoogleMapsPlayablelocationsV3Impression(typing.TypedDict, total=False): gameObjectType: int - impressionType: typing_extensions.Literal[ + impressionType: typing.Literal[ "IMPRESSION_TYPE_UNSPECIFIED", "PRESENTED", "INTERACTED" ] locationName: str @typing.type_check_only -class GoogleMapsPlayablelocationsV3LogImpressionsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlayablelocationsV3LogImpressionsRequest(typing.TypedDict, total=False): clientInfo: GoogleMapsUnityClientInfo impressions: _list[GoogleMapsPlayablelocationsV3Impression] requestId: str @typing.type_check_only class GoogleMapsPlayablelocationsV3LogImpressionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleMapsPlayablelocationsV3LogPlayerReportsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientInfo: GoogleMapsUnityClientInfo playerReports: _list[GoogleMapsPlayablelocationsV3PlayerReport] @@ -35,18 +31,16 @@ class GoogleMapsPlayablelocationsV3LogPlayerReportsRequest( @typing.type_check_only class GoogleMapsPlayablelocationsV3LogPlayerReportsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleMapsPlayablelocationsV3PlayerReport( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlayablelocationsV3PlayerReport(typing.TypedDict, total=False): languageCode: str locationName: str reasonDetails: str reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "BAD_LOCATION_REASON_UNSPECIFIED", "OTHER", "NOT_PEDESTRIAN_ACCESSIBLE", @@ -57,30 +51,24 @@ class GoogleMapsPlayablelocationsV3PlayerReport( ] @typing.type_check_only -class GoogleMapsPlayablelocationsV3SampleAreaFilter( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlayablelocationsV3SampleAreaFilter(typing.TypedDict, total=False): s2CellId: str @typing.type_check_only -class GoogleMapsPlayablelocationsV3SampleCriterion( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlayablelocationsV3SampleCriterion(typing.TypedDict, total=False): fieldsToReturn: str filter: GoogleMapsPlayablelocationsV3SampleFilter gameObjectType: int @typing.type_check_only -class GoogleMapsPlayablelocationsV3SampleFilter( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlayablelocationsV3SampleFilter(typing.TypedDict, total=False): includedTypes: _list[str] maxLocationCount: int spacing: GoogleMapsPlayablelocationsV3SampleSpacingOptions @typing.type_check_only class GoogleMapsPlayablelocationsV3SamplePlayableLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): centerPoint: GoogleTypeLatLng name: str @@ -91,35 +79,31 @@ class GoogleMapsPlayablelocationsV3SamplePlayableLocation( @typing.type_check_only class GoogleMapsPlayablelocationsV3SamplePlayableLocationList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locations: _list[GoogleMapsPlayablelocationsV3SamplePlayableLocation] @typing.type_check_only class GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): areaFilter: GoogleMapsPlayablelocationsV3SampleAreaFilter criteria: _list[GoogleMapsPlayablelocationsV3SampleCriterion] @typing.type_check_only class GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationsPerGameObjectType: dict[str, typing.Any] ttl: str @typing.type_check_only -class GoogleMapsPlayablelocationsV3SampleSpacingOptions( - typing_extensions.TypedDict, total=False -): +class GoogleMapsPlayablelocationsV3SampleSpacingOptions(typing.TypedDict, total=False): minSpacingMeters: float - pointType: typing_extensions.Literal[ - "POINT_TYPE_UNSPECIFIED", "CENTER_POINT", "SNAPPED_POINT" - ] + pointType: typing.Literal["POINT_TYPE_UNSPECIFIED", "CENTER_POINT", "SNAPPED_POINT"] @typing.type_check_only -class GoogleMapsUnityClientInfo(typing_extensions.TypedDict, total=False): +class GoogleMapsUnityClientInfo(typing.TypedDict, total=False): apiClient: str applicationId: str applicationVersion: str @@ -127,7 +111,7 @@ class GoogleMapsUnityClientInfo(typing_extensions.TypedDict, total=False): languageCode: str operatingSystem: str operatingSystemBuild: str - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "EDITOR", "MAC_OS", @@ -139,6 +123,6 @@ class GoogleMapsUnityClientInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleTypeLatLng(typing_extensions.TypedDict, total=False): +class GoogleTypeLatLng(typing.TypedDict, total=False): latitude: float longitude: float diff --git a/googleapiclient-stubs/_apis/playcustomapp/v1/resources.pyi b/googleapiclient-stubs/_apis/playcustomapp/v1/resources.pyi index 82837d5b3..6bfe9b4b6 100644 --- a/googleapiclient-stubs/_apis/playcustomapp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/playcustomapp/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/playcustomapp/v1/schemas.pyi b/googleapiclient-stubs/_apis/playcustomapp/v1/schemas.pyi index 30e1a0f2f..32c79e77c 100644 --- a/googleapiclient-stubs/_apis/playcustomapp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playcustomapp/v1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CustomApp(typing_extensions.TypedDict, total=False): +class CustomApp(typing.TypedDict, total=False): languageCode: str organizations: _list[Organization] packageName: str title: str @typing.type_check_only -class Organization(typing_extensions.TypedDict, total=False): +class Organization(typing.TypedDict, total=False): organizationId: str organizationName: str diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi index 5823f26fb..53cba5c58 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -57,6 +56,27 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): @typing.type_check_only class VitalsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnonrssandswapmemoryusageResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GooglePlayDeveloperReportingV1alpha1AnonRssAndSwapMemoryUsageMetricSetHttpRequest: ... + def query( + self, + *, + name: str, + body: GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetRequest, + **kwargs: typing.Any, + ) -> GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest: ... + def query_next( + self, + previous_request: GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest, + previous_response: GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetResponse, + ) -> ( + GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest + | None + ): ... + @typing.type_check_only class AnrrateResource(googleapiclient.discovery.Resource): def get( @@ -78,6 +98,27 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class BitmapmemoryusageResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GooglePlayDeveloperReportingV1alpha1BitmapMemoryUsageMetricSetHttpRequest: ... + def query( + self, + *, + name: str, + body: GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetRequest, + **kwargs: typing.Any, + ) -> GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetResponseHttpRequest: ... + def query_next( + self, + previous_request: GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetResponseHttpRequest, + previous_response: GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetResponse, + ) -> ( + GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetResponseHttpRequest + | None + ): ... + @typing.type_check_only class CrashrateResource(googleapiclient.discovery.Resource): def get( @@ -317,7 +358,9 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): | None ): ... + def anonrssandswapmemoryusage(self) -> AnonrssandswapmemoryusageResource: ... def anrrate(self) -> AnrrateResource: ... + def bitmapmemoryusage(self) -> BitmapmemoryusageResource: ... def crashrate(self) -> CrashrateResource: ... def errors(self) -> ErrorsResource: ... def excessivewakeuprate(self) -> ExcessivewakeuprateResource: ... @@ -344,6 +387,16 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): def apps(self) -> AppsResource: ... def vitals(self) -> VitalsResource: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1AnonRssAndSwapMemoryUsageMetricSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1alpha1AnonRssAndSwapMemoryUsageMetricSet: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1AnrRateMetricSetHttpRequest( googleapiclient.http.HttpRequest @@ -354,6 +407,16 @@ class GooglePlayDeveloperReportingV1alpha1AnrRateMetricSetHttpRequest( num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1BitmapMemoryUsageMetricSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1alpha1BitmapMemoryUsageMetricSet: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1CrashRateMetricSetHttpRequest( googleapiclient.http.HttpRequest @@ -404,6 +467,16 @@ class GooglePlayDeveloperReportingV1alpha1LmkRateMetricSetHttpRequest( num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetResponse: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest @@ -414,6 +487,18 @@ class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponseHttpReque num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ( + GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetResponse + ): ... + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi index b6d322059..7f91ed677 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi @@ -1,71 +1,88 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1Anomaly( - typing_extensions.TypedDict, total=False -): +class ApiservingMcpMcpToolVisibility(typing.TypedDict, total=False): + fieldVisibility: _list[ApiservingMcpMcpToolVisibilityFieldVisibility] + visibilityEnforcementStrategy: typing.Literal[ + "VISIBILITY_ENFORCEMENT_STRATEGY_UNSPECIFIED", "COMBINE", "OVERRIDE" + ] + visibilityRestriction: str + +@typing.type_check_only +class ApiservingMcpMcpToolVisibilityFieldVisibility(typing.TypedDict, total=False): + restriction: str + selector: str + +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1Anomaly(typing.TypedDict, total=False): dimensions: _list[GooglePlayDeveloperReportingV1alpha1DimensionValue] metric: GooglePlayDeveloperReportingV1alpha1MetricValue metricSet: str name: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1AnonRssAndSwapMemoryUsageMetricSet( + typing.TypedDict, total=False +): + freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo + name: str + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1App(typing_extensions.TypedDict, total=False): +class GooglePlayDeveloperReportingV1alpha1App(typing.TypedDict, total=False): displayName: str name: str packageName: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1AppVersion( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1AppVersion(typing.TypedDict, total=False): versionCode: str +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1BitmapMemoryUsageMetricSet( + typing.TypedDict, total=False +): + freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo + name: str + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1DecimalConfidenceInterval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lowerBound: GoogleTypeDecimal upperBound: GoogleTypeDecimal @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1DeviceId( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1DeviceId(typing.TypedDict, total=False): buildBrand: str buildDevice: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1DeviceModelSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceId: GooglePlayDeveloperReportingV1alpha1DeviceId deviceUri: str marketingName: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1DimensionValue( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1DimensionValue(typing.TypedDict, total=False): dimension: str int64Value: str stringValue: str @@ -73,15 +90,13 @@ class GooglePlayDeveloperReportingV1alpha1DimensionValue( @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1ErrorIssue( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1ErrorIssue(typing.TypedDict, total=False): annotations: _list[GooglePlayDeveloperReportingV1alpha1IssueAnnotation] cause: str distinctUsers: str @@ -96,14 +111,12 @@ class GooglePlayDeveloperReportingV1alpha1ErrorIssue( location: str name: str sampleErrorReports: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "APPLICATION_NOT_RESPONDING", "CRASH", "NON_FATAL" ] @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1ErrorReport( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1ErrorReport(typing.TypedDict, total=False): appVersion: GooglePlayDeveloperReportingV1alpha1AppVersion deviceModel: GooglePlayDeveloperReportingV1alpha1DeviceModelSummary eventTime: str @@ -111,36 +124,34 @@ class GooglePlayDeveloperReportingV1alpha1ErrorReport( name: str osVersion: GooglePlayDeveloperReportingV1alpha1OsVersion reportText: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "APPLICATION_NOT_RESPONDING", "CRASH", "NON_FATAL" ] vcsInformation: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1FreshnessInfo( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1FreshnessInfo(typing.TypedDict, total=False): freshnesses: _list[GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregationPeriod: typing_extensions.Literal[ + aggregationPeriod: typing.Literal[ "AGGREGATION_PERIOD_UNSPECIFIED", "HOURLY", "DAILY", "FULL_RANGE" ] latestEndTime: GoogleTypeDateTime @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1IssueAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): body: str category: str @@ -148,22 +159,20 @@ class GooglePlayDeveloperReportingV1alpha1IssueAnnotation( @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): anomalies: _list[GooglePlayDeveloperReportingV1alpha1Anomaly] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1MetricValue( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1MetricValue(typing.TypedDict, total=False): decimalValue: GoogleTypeDecimal decimalValueConfidenceInterval: ( GooglePlayDeveloperReportingV1alpha1DecimalConfidenceInterval @@ -171,10 +180,8 @@ class GooglePlayDeveloperReportingV1alpha1MetricValue( metric: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1MetricsRow( - typing_extensions.TypedDict, total=False -): - aggregationPeriod: typing_extensions.Literal[ +class GooglePlayDeveloperReportingV1alpha1MetricsRow(typing.TypedDict, total=False): + aggregationPeriod: typing.Literal[ "AGGREGATION_PERIOD_UNSPECIFIED", "HOURLY", "DAILY", "FULL_RANGE" ] dimensions: _list[GooglePlayDeveloperReportingV1alpha1DimensionValue] @@ -182,14 +189,33 @@ class GooglePlayDeveloperReportingV1alpha1MetricsRow( startTime: GoogleTypeDateTime @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1OsVersion( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1OsVersion(typing.TypedDict, total=False): apiLevel: str +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetRequest( + typing.TypedDict, total=False +): + dimensions: _list[str] + filter: str + metrics: _list[str] + pageSize: int + pageToken: str + timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec + userCohort: typing.Literal[ + "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" + ] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryAnonRssAndSwapMemoryUsageMetricSetResponse( + typing.TypedDict, total=False +): + nextPageToken: str + rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -197,20 +223,41 @@ class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False +): + nextPageToken: str + rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetRequest( + typing.TypedDict, total=False +): + dimensions: _list[str] + filter: str + metrics: _list[str] + pageSize: int + pageToken: str + timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec + userCohort: typing.Literal[ + "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" + ] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1alpha1QueryBitmapMemoryUsageMetricSetResponse( + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -218,20 +265,20 @@ class GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -242,14 +289,14 @@ class GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest( @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -257,20 +304,20 @@ class GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetReque pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -278,20 +325,20 @@ class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -299,20 +346,20 @@ class GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -320,20 +367,20 @@ class GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -341,92 +388,86 @@ class GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetric pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1alpha1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1alpha1MetricsRow] @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1Release( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1Release(typing.TypedDict, total=False): displayName: str versionCodes: _list[str] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GooglePlayDeveloperReportingV1alpha1Track] @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apps: _list[GooglePlayDeveloperReportingV1alpha1App] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorIssues: _list[GooglePlayDeveloperReportingV1alpha1ErrorIssue] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorReports: _list[GooglePlayDeveloperReportingV1alpha1ErrorReport] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1alpha1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1TimelineSpec( - typing_extensions.TypedDict, total=False -): - aggregationPeriod: typing_extensions.Literal[ +class GooglePlayDeveloperReportingV1alpha1TimelineSpec(typing.TypedDict, total=False): + aggregationPeriod: typing.Literal[ "AGGREGATION_PERIOD_UNSPECIFIED", "HOURLY", "DAILY", "FULL_RANGE" ] endTime: GoogleTypeDateTime startTime: GoogleTypeDateTime @typing.type_check_only -class GooglePlayDeveloperReportingV1alpha1Track( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1alpha1Track(typing.TypedDict, total=False): displayName: str servingReleases: _list[GooglePlayDeveloperReportingV1alpha1Release] type: str @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -438,10 +479,10 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeDecimal(typing_extensions.TypedDict, total=False): +class GoogleTypeDecimal(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi index 58ded3e72..cc4511d8f 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -57,6 +56,27 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): @typing.type_check_only class VitalsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnonrssandswapmemoryusageResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GooglePlayDeveloperReportingV1beta1AnonRssAndSwapMemoryUsageMetricSetHttpRequest: ... + def query( + self, + *, + name: str, + body: GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetRequest, + **kwargs: typing.Any, + ) -> GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest: ... + def query_next( + self, + previous_request: GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest, + previous_response: GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetResponse, + ) -> ( + GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest + | None + ): ... + @typing.type_check_only class AnrrateResource(googleapiclient.discovery.Resource): def get( @@ -78,6 +98,29 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class BitmapmemoryusageResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GooglePlayDeveloperReportingV1beta1BitmapMemoryUsageMetricSetHttpRequest + ): ... + def query( + self, + *, + name: str, + body: GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetRequest, + **kwargs: typing.Any, + ) -> GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetResponseHttpRequest: ... + def query_next( + self, + previous_request: GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetResponseHttpRequest, + previous_response: GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetResponse, + ) -> ( + GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetResponseHttpRequest + | None + ): ... + @typing.type_check_only class CrashrateResource(googleapiclient.discovery.Resource): def get( @@ -319,7 +362,9 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): | None ): ... + def anonrssandswapmemoryusage(self) -> AnonrssandswapmemoryusageResource: ... def anrrate(self) -> AnrrateResource: ... + def bitmapmemoryusage(self) -> BitmapmemoryusageResource: ... def crashrate(self) -> CrashrateResource: ... def errors(self) -> ErrorsResource: ... def excessivewakeuprate(self) -> ExcessivewakeuprateResource: ... @@ -346,6 +391,16 @@ class PlaydeveloperreportingResource(googleapiclient.discovery.Resource): def apps(self) -> AppsResource: ... def vitals(self) -> VitalsResource: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1AnonRssAndSwapMemoryUsageMetricSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1beta1AnonRssAndSwapMemoryUsageMetricSet: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1AnrRateMetricSetHttpRequest( googleapiclient.http.HttpRequest @@ -356,6 +411,16 @@ class GooglePlayDeveloperReportingV1beta1AnrRateMetricSetHttpRequest( num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1beta1AnrRateMetricSet: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1BitmapMemoryUsageMetricSetHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1beta1BitmapMemoryUsageMetricSet: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1CrashRateMetricSetHttpRequest( googleapiclient.http.HttpRequest @@ -406,6 +471,16 @@ class GooglePlayDeveloperReportingV1beta1LmkRateMetricSetHttpRequest( num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1beta1LmkRateMetricSet: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetResponse: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest @@ -416,6 +491,16 @@ class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponseHttpReques num_retries: int = 0, ) -> GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse: ... +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetResponse: ... + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi index d0f1cd382..5396478c0 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1beta1/schemas.pyi @@ -1,71 +1,88 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1Anomaly( - typing_extensions.TypedDict, total=False -): +class ApiservingMcpMcpToolVisibility(typing.TypedDict, total=False): + fieldVisibility: _list[ApiservingMcpMcpToolVisibilityFieldVisibility] + visibilityEnforcementStrategy: typing.Literal[ + "VISIBILITY_ENFORCEMENT_STRATEGY_UNSPECIFIED", "COMBINE", "OVERRIDE" + ] + visibilityRestriction: str + +@typing.type_check_only +class ApiservingMcpMcpToolVisibilityFieldVisibility(typing.TypedDict, total=False): + restriction: str + selector: str + +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1Anomaly(typing.TypedDict, total=False): dimensions: _list[GooglePlayDeveloperReportingV1beta1DimensionValue] metric: GooglePlayDeveloperReportingV1beta1MetricValue metricSet: str name: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1AnonRssAndSwapMemoryUsageMetricSet( + typing.TypedDict, total=False +): + freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo + name: str + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1AnrRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1App(typing_extensions.TypedDict, total=False): +class GooglePlayDeveloperReportingV1beta1App(typing.TypedDict, total=False): displayName: str name: str packageName: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1AppVersion( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1AppVersion(typing.TypedDict, total=False): versionCode: str +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1BitmapMemoryUsageMetricSet( + typing.TypedDict, total=False +): + freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo + name: str + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1CrashRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lowerBound: GoogleTypeDecimal upperBound: GoogleTypeDecimal @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1DeviceId( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1DeviceId(typing.TypedDict, total=False): buildBrand: str buildDevice: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1DeviceModelSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceId: GooglePlayDeveloperReportingV1beta1DeviceId deviceUri: str marketingName: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1DimensionValue( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1DimensionValue(typing.TypedDict, total=False): dimension: str int64Value: str stringValue: str @@ -73,15 +90,13 @@ class GooglePlayDeveloperReportingV1beta1DimensionValue( @typing.type_check_only class GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1ErrorIssue( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1ErrorIssue(typing.TypedDict, total=False): annotations: _list[GooglePlayDeveloperReportingV1beta1IssueAnnotation] cause: str distinctUsers: str @@ -96,14 +111,12 @@ class GooglePlayDeveloperReportingV1beta1ErrorIssue( location: str name: str sampleErrorReports: _list[str] - type: typing_extensions.Literal[ + type: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "APPLICATION_NOT_RESPONDING", "CRASH", "NON_FATAL" ] @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1ErrorReport( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1ErrorReport(typing.TypedDict, total=False): appVersion: GooglePlayDeveloperReportingV1beta1AppVersion deviceModel: GooglePlayDeveloperReportingV1beta1DeviceModelSummary eventTime: str @@ -111,59 +124,53 @@ class GooglePlayDeveloperReportingV1beta1ErrorReport( name: str osVersion: GooglePlayDeveloperReportingV1beta1OsVersion reportText: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "APPLICATION_NOT_RESPONDING", "CRASH", "NON_FATAL" ] vcsInformation: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1FreshnessInfo( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1FreshnessInfo(typing.TypedDict, total=False): freshnesses: _list[GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregationPeriod: typing_extensions.Literal[ + aggregationPeriod: typing.Literal[ "AGGREGATION_PERIOD_UNSPECIFIED", "HOURLY", "DAILY", "FULL_RANGE" ] latestEndTime: GoogleTypeDateTime @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1IssueAnnotation( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1IssueAnnotation(typing.TypedDict, total=False): body: str category: str title: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): anomalies: _list[GooglePlayDeveloperReportingV1beta1Anomaly] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1LmkRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1MetricValue( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1MetricValue(typing.TypedDict, total=False): decimalValue: GoogleTypeDecimal decimalValueConfidenceInterval: ( GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval @@ -171,10 +178,8 @@ class GooglePlayDeveloperReportingV1beta1MetricValue( metric: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1MetricsRow( - typing_extensions.TypedDict, total=False -): - aggregationPeriod: typing_extensions.Literal[ +class GooglePlayDeveloperReportingV1beta1MetricsRow(typing.TypedDict, total=False): + aggregationPeriod: typing.Literal[ "AGGREGATION_PERIOD_UNSPECIFIED", "HOURLY", "DAILY", "FULL_RANGE" ] dimensions: _list[GooglePlayDeveloperReportingV1beta1DimensionValue] @@ -182,14 +187,33 @@ class GooglePlayDeveloperReportingV1beta1MetricsRow( startTime: GoogleTypeDateTime @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1OsVersion( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1OsVersion(typing.TypedDict, total=False): apiLevel: str +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetRequest( + typing.TypedDict, total=False +): + dimensions: _list[str] + filter: str + metrics: _list[str] + pageSize: int + pageToken: str + timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec + userCohort: typing.Literal[ + "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" + ] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryAnonRssAndSwapMemoryUsageMetricSetResponse( + typing.TypedDict, total=False +): + nextPageToken: str + rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] + @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -197,20 +221,41 @@ class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False +): + nextPageToken: str + rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetRequest( + typing.TypedDict, total=False +): + dimensions: _list[str] + filter: str + metrics: _list[str] + pageSize: int + pageToken: str + timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec + userCohort: typing.Literal[ + "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" + ] + +@typing.type_check_only +class GooglePlayDeveloperReportingV1beta1QueryBitmapMemoryUsageMetricSetResponse( + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -218,20 +263,20 @@ class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -242,14 +287,14 @@ class GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest( @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -257,20 +302,20 @@ class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetReques pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -278,20 +323,20 @@ class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -299,20 +344,20 @@ class GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -320,20 +365,20 @@ class GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest( pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[str] filter: str @@ -341,92 +386,86 @@ class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricS pageSize: int pageToken: str timelineSpec: GooglePlayDeveloperReportingV1beta1TimelineSpec - userCohort: typing_extensions.Literal[ + userCohort: typing.Literal[ "USER_COHORT_UNSPECIFIED", "OS_PUBLIC", "OS_BETA", "APP_TESTERS" ] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str rows: _list[GooglePlayDeveloperReportingV1beta1MetricsRow] @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1Release( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1Release(typing.TypedDict, total=False): displayName: str versionCodes: _list[str] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GooglePlayDeveloperReportingV1beta1Track] @typing.type_check_only class GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apps: _list[GooglePlayDeveloperReportingV1beta1App] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorIssues: _list[GooglePlayDeveloperReportingV1beta1ErrorIssue] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorReports: _list[GooglePlayDeveloperReportingV1beta1ErrorReport] nextPageToken: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only class GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freshnessInfo: GooglePlayDeveloperReportingV1beta1FreshnessInfo name: str @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1TimelineSpec( - typing_extensions.TypedDict, total=False -): - aggregationPeriod: typing_extensions.Literal[ +class GooglePlayDeveloperReportingV1beta1TimelineSpec(typing.TypedDict, total=False): + aggregationPeriod: typing.Literal[ "AGGREGATION_PERIOD_UNSPECIFIED", "HOURLY", "DAILY", "FULL_RANGE" ] endTime: GoogleTypeDateTime startTime: GoogleTypeDateTime @typing.type_check_only -class GooglePlayDeveloperReportingV1beta1Track( - typing_extensions.TypedDict, total=False -): +class GooglePlayDeveloperReportingV1beta1Track(typing.TypedDict, total=False): displayName: str servingReleases: _list[GooglePlayDeveloperReportingV1beta1Release] type: str @typing.type_check_only -class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): +class GoogleTypeDateTime(typing.TypedDict, total=False): day: int hours: int minutes: int @@ -438,10 +477,10 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): year: int @typing.type_check_only -class GoogleTypeDecimal(typing_extensions.TypedDict, total=False): +class GoogleTypeDecimal(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): +class GoogleTypeTimeZone(typing.TypedDict, total=False): id: str version: str diff --git a/googleapiclient-stubs/_apis/playgrouping/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/playgrouping/v1alpha1/resources.pyi index 96f802da8..2c738674d 100644 --- a/googleapiclient-stubs/_apis/playgrouping/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/playgrouping/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/playgrouping/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/playgrouping/v1alpha1/schemas.pyi index 8975c1b89..6f57d73ad 100644 --- a/googleapiclient-stubs/_apis/playgrouping/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playgrouping/v1alpha1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CreateOrUpdateTagsRequest(typing_extensions.TypedDict, total=False): +class CreateOrUpdateTagsRequest(typing.TypedDict, total=False): tags: _list[Tag] @typing.type_check_only -class CreateOrUpdateTagsResponse(typing_extensions.TypedDict, total=False): +class CreateOrUpdateTagsResponse(typing.TypedDict, total=False): tags: _list[Tag] @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): booleanValue: bool int64Value: str key: str @@ -21,8 +19,8 @@ class Tag(typing_extensions.TypedDict, total=False): timeValue: str @typing.type_check_only -class VerifyTokenRequest(typing_extensions.TypedDict, total=False): +class VerifyTokenRequest(typing.TypedDict, total=False): persona: str @typing.type_check_only -class VerifyTokenResponse(typing_extensions.TypedDict, total=False): ... +class VerifyTokenResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi b/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi index 626b63519..62a83f1fb 100644 --- a/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/playintegrity/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi b/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi index f8df28261..e199890ee 100644 --- a/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playintegrity/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccountActivity(typing_extensions.TypedDict, total=False): - activityLevel: typing_extensions.Literal[ +class AccountActivity(typing.TypedDict, total=False): + activityLevel: typing.Literal[ "ACTIVITY_LEVEL_UNSPECIFIED", "UNEVALUATED", "UNUSUAL", @@ -16,16 +14,16 @@ class AccountActivity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AccountDetails(typing_extensions.TypedDict, total=False): +class AccountDetails(typing.TypedDict, total=False): accountActivity: AccountActivity - appLicensingVerdict: typing_extensions.Literal[ + appLicensingVerdict: typing.Literal[ "UNKNOWN", "LICENSED", "UNLICENSED", "UNEVALUATED" ] @typing.type_check_only -class AppAccessRiskVerdict(typing_extensions.TypedDict, total=False): +class AppAccessRiskVerdict(typing.TypedDict, total=False): appsDetected: _list[ - typing_extensions.Literal[ + typing.Literal[ "APPS_DETECTED_UNSPECIFIED", "KNOWN_INSTALLED", "KNOWN_CAPTURING", @@ -39,8 +37,8 @@ class AppAccessRiskVerdict(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AppIntegrity(typing_extensions.TypedDict, total=False): - appRecognitionVerdict: typing_extensions.Literal[ +class AppIntegrity(typing.TypedDict, total=False): + appRecognitionVerdict: typing.Literal[ "UNKNOWN", "PLAY_RECOGNIZED", "UNRECOGNIZED_VERSION", "UNEVALUATED" ] certificateSha256Digest: _list[str] @@ -48,31 +46,31 @@ class AppIntegrity(typing_extensions.TypedDict, total=False): versionCode: str @typing.type_check_only -class DecodeIntegrityTokenRequest(typing_extensions.TypedDict, total=False): +class DecodeIntegrityTokenRequest(typing.TypedDict, total=False): integrityToken: str @typing.type_check_only -class DecodeIntegrityTokenResponse(typing_extensions.TypedDict, total=False): +class DecodeIntegrityTokenResponse(typing.TypedDict, total=False): tokenPayloadExternal: TokenPayloadExternal @typing.type_check_only -class DecodePcIntegrityTokenRequest(typing_extensions.TypedDict, total=False): +class DecodePcIntegrityTokenRequest(typing.TypedDict, total=False): integrityToken: str @typing.type_check_only -class DecodePcIntegrityTokenResponse(typing_extensions.TypedDict, total=False): +class DecodePcIntegrityTokenResponse(typing.TypedDict, total=False): tokenPayloadExternal: PcTokenPayloadExternal @typing.type_check_only -class DeviceAttributes(typing_extensions.TypedDict, total=False): +class DeviceAttributes(typing.TypedDict, total=False): sdkVersion: int @typing.type_check_only -class DeviceIntegrity(typing_extensions.TypedDict, total=False): +class DeviceIntegrity(typing.TypedDict, total=False): deviceAttributes: DeviceAttributes deviceRecall: DeviceRecall deviceRecognitionVerdict: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNKNOWN", "MEETS_BASIC_INTEGRITY", "MEETS_DEVICE_INTEGRITY", @@ -81,7 +79,7 @@ class DeviceIntegrity(typing_extensions.TypedDict, total=False): ] ] legacyDeviceRecognitionVerdict: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNKNOWN", "MEETS_BASIC_INTEGRITY", "MEETS_DEVICE_INTEGRITY", @@ -92,14 +90,14 @@ class DeviceIntegrity(typing_extensions.TypedDict, total=False): recentDeviceActivity: RecentDeviceActivity @typing.type_check_only -class DeviceRecall(typing_extensions.TypedDict, total=False): +class DeviceRecall(typing.TypedDict, total=False): values: Values writeDates: WriteDates @typing.type_check_only -class EnvironmentDetails(typing_extensions.TypedDict, total=False): +class EnvironmentDetails(typing.TypedDict, total=False): appAccessRiskVerdict: AppAccessRiskVerdict - playProtectVerdict: typing_extensions.Literal[ + playProtectVerdict: typing.Literal[ "PLAY_PROTECT_VERDICT_UNSPECIFIED", "UNEVALUATED", "NO_ISSUES", @@ -110,39 +108,37 @@ class EnvironmentDetails(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PcAccountDetails(typing_extensions.TypedDict, total=False): - appLicensingVerdict: typing_extensions.Literal[ +class PcAccountDetails(typing.TypedDict, total=False): + appLicensingVerdict: typing.Literal[ "UNKNOWN", "LICENSED", "UNLICENSED", "UNEVALUATED" ] @typing.type_check_only -class PcDeviceIntegrity(typing_extensions.TypedDict, total=False): +class PcDeviceIntegrity(typing.TypedDict, total=False): deviceRecognitionVerdict: _list[ - typing_extensions.Literal[ - "DEVICE_RECOGNITION_VERDICT_UNSPECIFIED", "MEETS_PC_INTEGRITY" - ] + typing.Literal["DEVICE_RECOGNITION_VERDICT_UNSPECIFIED", "MEETS_PC_INTEGRITY"] ] @typing.type_check_only -class PcRequestDetails(typing_extensions.TypedDict, total=False): +class PcRequestDetails(typing.TypedDict, total=False): requestHash: str requestPackageName: str requestTime: str @typing.type_check_only -class PcTestingDetails(typing_extensions.TypedDict, total=False): +class PcTestingDetails(typing.TypedDict, total=False): isTestingResponse: bool @typing.type_check_only -class PcTokenPayloadExternal(typing_extensions.TypedDict, total=False): +class PcTokenPayloadExternal(typing.TypedDict, total=False): accountDetails: PcAccountDetails deviceIntegrity: PcDeviceIntegrity requestDetails: PcRequestDetails testingDetails: PcTestingDetails @typing.type_check_only -class RecentDeviceActivity(typing_extensions.TypedDict, total=False): - deviceActivityLevel: typing_extensions.Literal[ +class RecentDeviceActivity(typing.TypedDict, total=False): + deviceActivityLevel: typing.Literal[ "DEVICE_ACTIVITY_LEVEL_UNSPECIFIED", "UNEVALUATED", "LEVEL_1", @@ -152,18 +148,18 @@ class RecentDeviceActivity(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RequestDetails(typing_extensions.TypedDict, total=False): +class RequestDetails(typing.TypedDict, total=False): nonce: str requestHash: str requestPackageName: str timestampMillis: str @typing.type_check_only -class TestingDetails(typing_extensions.TypedDict, total=False): +class TestingDetails(typing.TypedDict, total=False): isTestingResponse: bool @typing.type_check_only -class TokenPayloadExternal(typing_extensions.TypedDict, total=False): +class TokenPayloadExternal(typing.TypedDict, total=False): accountDetails: AccountDetails appIntegrity: AppIntegrity deviceIntegrity: DeviceIntegrity @@ -172,21 +168,21 @@ class TokenPayloadExternal(typing_extensions.TypedDict, total=False): testingDetails: TestingDetails @typing.type_check_only -class Values(typing_extensions.TypedDict, total=False): +class Values(typing.TypedDict, total=False): bitFirst: bool bitSecond: bool bitThird: bool @typing.type_check_only -class WriteDates(typing_extensions.TypedDict, total=False): +class WriteDates(typing.TypedDict, total=False): yyyymmFirst: int yyyymmSecond: int yyyymmThird: int @typing.type_check_only -class WriteDeviceRecallRequest(typing_extensions.TypedDict, total=False): +class WriteDeviceRecallRequest(typing.TypedDict, total=False): integrityToken: str newValues: Values @typing.type_check_only -class WriteDeviceRecallResponse(typing_extensions.TypedDict, total=False): ... +class WriteDeviceRecallResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/policyanalyzer/v1/resources.pyi b/googleapiclient-stubs/_apis/policyanalyzer/v1/resources.pyi index 3017cbd7f..054c730f5 100644 --- a/googleapiclient-stubs/_apis/policyanalyzer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/policyanalyzer/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policyanalyzer/v1/schemas.pyi b/googleapiclient-stubs/_apis/policyanalyzer/v1/schemas.pyi index 13baff906..d299d71e5 100644 --- a/googleapiclient-stubs/_apis/policyanalyzer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/policyanalyzer/v1/schemas.pyi @@ -1,26 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudPolicyanalyzerV1Activity(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicyanalyzerV1Activity(typing.TypedDict, total=False): activity: dict[str, typing.Any] activityType: str fullResourceName: str observationPeriod: GoogleCloudPolicyanalyzerV1ObservationPeriod @typing.type_check_only -class GoogleCloudPolicyanalyzerV1ObservationPeriod( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicyanalyzerV1ObservationPeriod(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudPolicyanalyzerV1QueryActivityResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicyanalyzerV1QueryActivityResponse(typing.TypedDict, total=False): activities: _list[GoogleCloudPolicyanalyzerV1Activity] nextPageToken: str diff --git a/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/resources.pyi index a2054c6f4..ed1eb89f2 100644 --- a/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/schemas.pyi index e0a229f48..282c3870c 100644 --- a/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/policyanalyzer/v1beta1/schemas.pyi @@ -1,28 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudPolicyanalyzerV1beta1Activity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicyanalyzerV1beta1Activity(typing.TypedDict, total=False): activity: dict[str, typing.Any] activityType: str fullResourceName: str observationPeriod: GoogleCloudPolicyanalyzerV1beta1ObservationPeriod @typing.type_check_only -class GoogleCloudPolicyanalyzerV1beta1ObservationPeriod( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicyanalyzerV1beta1ObservationPeriod(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only class GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activities: _list[GoogleCloudPolicyanalyzerV1beta1Activity] nextPageToken: str diff --git a/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi index 810900d41..853190bf1 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi index 1aeac7f95..98f4e5b93 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1/schemas.pyi @@ -1,24 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudOrgpolicyV2AlternatePolicySpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2AlternatePolicySpec(typing.TypedDict, total=False): launch: str spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV2CustomConstraint(typing.TypedDict, total=False): + actionType: typing.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] condition: str description: str displayName: str methodTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", @@ -32,7 +28,7 @@ class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2Policy(typing.TypedDict, total=False): alternate: GoogleCloudOrgpolicyV2AlternatePolicySpec dryRunSpec: GoogleCloudOrgpolicyV2PolicySpec etag: str @@ -40,7 +36,7 @@ class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2PolicySpec(typing.TypedDict, total=False): etag: str inheritFromParent: bool reset: bool @@ -48,9 +44,7 @@ class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2PolicySpecPolicyRule(typing.TypedDict, total=False): allowAll: bool condition: GoogleTypeExpr denyAll: bool @@ -60,16 +54,14 @@ class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( @typing.type_check_only class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class GoogleCloudPolicysimulatorV1AccessStateDiff( - typing_extensions.TypedDict, total=False -): - accessChange: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1AccessStateDiff(typing.TypedDict, total=False): + accessChange: typing.Literal[ "ACCESS_CHANGE_TYPE_UNSPECIFIED", "NO_CHANGE", "UNKNOWN_CHANGE", @@ -82,16 +74,14 @@ class GoogleCloudPolicysimulatorV1AccessStateDiff( simulated: GoogleCloudPolicysimulatorV1ExplainedAccess @typing.type_check_only -class GoogleCloudPolicysimulatorV1AccessTuple(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1AccessTuple(typing.TypedDict, total=False): fullResourceName: str permission: str principal: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1BindingExplanation( - typing_extensions.TypedDict, total=False -): - access: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1BindingExplanation(typing.TypedDict, total=False): + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -100,40 +90,34 @@ class GoogleCloudPolicysimulatorV1BindingExplanation( ] condition: GoogleTypeExpr memberships: dict[str, typing.Any] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] role: str - rolePermission: typing_extensions.Literal[ + rolePermission: typing.Literal[ "ROLE_PERMISSION_UNSPECIFIED", "ROLE_PERMISSION_INCLUDED", "ROLE_PERMISSION_NOT_INCLUDED", "ROLE_PERMISSION_UNKNOWN_INFO_DENIED", ] - rolePermissionRelevance: typing_extensions.Literal[ + rolePermissionRelevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" ] @typing.type_check_only class GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_UNSPECIFIED", "MEMBERSHIP_INCLUDED", "MEMBERSHIP_NOT_INCLUDED", "MEMBERSHIP_UNKNOWN_INFO_DENIED", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ExplainedAccess( - typing_extensions.TypedDict, total=False -): - accessState: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1ExplainedAccess(typing.TypedDict, total=False): + accessState: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -144,10 +128,8 @@ class GoogleCloudPolicysimulatorV1ExplainedAccess( policies: _list[GoogleCloudPolicysimulatorV1ExplainedPolicy] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ExplainedPolicy( - typing_extensions.TypedDict, total=False -): - access: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1ExplainedPolicy(typing.TypedDict, total=False): + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -157,13 +139,11 @@ class GoogleCloudPolicysimulatorV1ExplainedPolicy( bindingExplanations: _list[GoogleCloudPolicysimulatorV1BindingExplanation] fullResourceName: str policy: GoogleIamV1Policy - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only class GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str orgPolicyViolationsPreviews: _list[ @@ -172,22 +152,20 @@ class GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse( @typing.type_check_only class GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str orgPolicyViolations: _list[GoogleCloudPolicysimulatorV1OrgPolicyViolation] @typing.type_check_only class GoogleCloudPolicysimulatorV1ListReplayResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str replayResults: _list[GoogleCloudPolicysimulatorV1ReplayResult] @typing.type_check_only -class GoogleCloudPolicysimulatorV1OrgPolicyOverlay( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1OrgPolicyOverlay(typing.TypedDict, total=False): customConstraints: _list[ GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay ] @@ -195,22 +173,20 @@ class GoogleCloudPolicysimulatorV1OrgPolicyOverlay( @typing.type_check_only class GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customConstraint: GoogleCloudOrgpolicyV2CustomConstraint customConstraintParent: str @typing.type_check_only class GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: GoogleCloudOrgpolicyV2Policy policyParent: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1OrgPolicyViolation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1OrgPolicyViolation(typing.TypedDict, total=False): customConstraint: GoogleCloudOrgpolicyV2CustomConstraint error: GoogleRpcStatus name: str @@ -218,14 +194,14 @@ class GoogleCloudPolicysimulatorV1OrgPolicyViolation( @typing.type_check_only class GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str customConstraints: _list[str] name: str overlay: GoogleCloudPolicysimulatorV1OrgPolicyOverlay resourceCounts: GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -236,7 +212,7 @@ class GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview( @typing.type_check_only class GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compliant: int errors: int @@ -245,35 +221,31 @@ class GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts( unenforced: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1Replay(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1Replay(typing.TypedDict, total=False): config: GoogleCloudPolicysimulatorV1ReplayConfig name: str resultsSummary: GoogleCloudPolicysimulatorV1ReplayResultsSummary - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayConfig( - typing_extensions.TypedDict, total=False -): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] +class GoogleCloudPolicysimulatorV1ReplayConfig(typing.TypedDict, total=False): + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] policyOverlay: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayDiff(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1ReplayDiff(typing.TypedDict, total=False): accessDiff: GoogleCloudPolicysimulatorV1AccessStateDiff @typing.type_check_only class GoogleCloudPolicysimulatorV1ReplayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): startTime: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1ReplayResult(typing.TypedDict, total=False): accessTuple: GoogleCloudPolicysimulatorV1AccessTuple diff: GoogleCloudPolicysimulatorV1ReplayDiff error: GoogleRpcStatus @@ -282,9 +254,7 @@ class GoogleCloudPolicysimulatorV1ReplayResult( parent: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayResultsSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1ReplayResultsSummary(typing.TypedDict, total=False): differenceCount: int errorCount: int logCount: int @@ -293,23 +263,21 @@ class GoogleCloudPolicysimulatorV1ReplayResultsSummary( unchangedCount: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1ResourceContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1ResourceContext(typing.TypedDict, total=False): ancestors: _list[str] assetType: str resource: str @typing.type_check_only class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestTime: str resourcesFound: int resourcesPending: int resourcesScanned: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -319,14 +287,14 @@ class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationM @typing.type_check_only class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestTime: str resourcesFound: int resourcesPending: int resourcesScanned: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -335,9 +303,7 @@ class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperatio ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay(typing.TypedDict, total=False): customConstraints: _list[ GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay ] @@ -345,21 +311,21 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customConstraint: GoogleCloudOrgpolicyV2CustomConstraint customConstraintParent: str @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: GoogleCloudOrgpolicyV2Policy policyParent: str @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str customConstraints: _list[str] @@ -368,7 +334,7 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( resourceCounts: ( GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts ) - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -379,7 +345,7 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compliant: int errors: int @@ -388,38 +354,38 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts( unenforced: int @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -427,19 +393,19 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi index f01927f6a..cfdc2116b 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi index afe4c3970..9cecbfa4c 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1alpha/schemas.pyi @@ -1,24 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudOrgpolicyV2AlternatePolicySpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2AlternatePolicySpec(typing.TypedDict, total=False): launch: str spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV2CustomConstraint(typing.TypedDict, total=False): + actionType: typing.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] condition: str description: str displayName: str methodTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", @@ -32,7 +28,7 @@ class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2Policy(typing.TypedDict, total=False): alternate: GoogleCloudOrgpolicyV2AlternatePolicySpec dryRunSpec: GoogleCloudOrgpolicyV2PolicySpec etag: str @@ -40,7 +36,7 @@ class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2PolicySpec(typing.TypedDict, total=False): etag: str inheritFromParent: bool reset: bool @@ -48,9 +44,7 @@ class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2PolicySpecPolicyRule(typing.TypedDict, total=False): allowAll: bool condition: GoogleTypeExpr denyAll: bool @@ -60,37 +54,33 @@ class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( @typing.type_check_only class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class GoogleCloudPolicysimulatorV1Replay(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1Replay(typing.TypedDict, total=False): config: GoogleCloudPolicysimulatorV1ReplayConfig name: str resultsSummary: GoogleCloudPolicysimulatorV1ReplayResultsSummary - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayConfig( - typing_extensions.TypedDict, total=False -): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] +class GoogleCloudPolicysimulatorV1ReplayConfig(typing.TypedDict, total=False): + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] policyOverlay: dict[str, typing.Any] @typing.type_check_only class GoogleCloudPolicysimulatorV1ReplayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): startTime: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayResultsSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1ReplayResultsSummary(typing.TypedDict, total=False): differenceCount: int errorCount: int logCount: int @@ -100,14 +90,14 @@ class GoogleCloudPolicysimulatorV1ReplayResultsSummary( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestTime: str resourcesFound: int resourcesPending: int resourcesScanned: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -117,14 +107,14 @@ class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationM @typing.type_check_only class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestTime: str resourcesFound: int resourcesPending: int resourcesScanned: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -133,9 +123,7 @@ class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperatio ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay(typing.TypedDict, total=False): customConstraints: _list[ GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay ] @@ -143,21 +131,21 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customConstraint: GoogleCloudOrgpolicyV2CustomConstraint customConstraintParent: str @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: GoogleCloudOrgpolicyV2Policy policyParent: str @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str customConstraints: _list[str] @@ -166,7 +154,7 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( resourceCounts: ( GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts ) - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -177,7 +165,7 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compliant: int errors: int @@ -186,38 +174,38 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts( unenforced: int @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -225,19 +213,19 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi index 6644d6f2e..9eaf68ee5 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi index 5436be259..05d0db007 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta/schemas.pyi @@ -1,24 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudOrgpolicyV2AlternatePolicySpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2AlternatePolicySpec(typing.TypedDict, total=False): launch: str spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudOrgpolicyV2CustomConstraint(typing.TypedDict, total=False): + actionType: typing.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] condition: str description: str displayName: str methodTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", @@ -32,7 +28,7 @@ class GoogleCloudOrgpolicyV2CustomConstraint(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2Policy(typing.TypedDict, total=False): alternate: GoogleCloudOrgpolicyV2AlternatePolicySpec dryRunSpec: GoogleCloudOrgpolicyV2PolicySpec etag: str @@ -40,7 +36,7 @@ class GoogleCloudOrgpolicyV2Policy(typing_extensions.TypedDict, total=False): spec: GoogleCloudOrgpolicyV2PolicySpec @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False): +class GoogleCloudOrgpolicyV2PolicySpec(typing.TypedDict, total=False): etag: str inheritFromParent: bool reset: bool @@ -48,9 +44,7 @@ class GoogleCloudOrgpolicyV2PolicySpec(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( - typing_extensions.TypedDict, total=False -): +class GoogleCloudOrgpolicyV2PolicySpecPolicyRule(typing.TypedDict, total=False): allowAll: bool condition: GoogleTypeExpr denyAll: bool @@ -60,37 +54,33 @@ class GoogleCloudOrgpolicyV2PolicySpecPolicyRule( @typing.type_check_only class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class GoogleCloudPolicysimulatorV1Replay(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1Replay(typing.TypedDict, total=False): config: GoogleCloudPolicysimulatorV1ReplayConfig name: str resultsSummary: GoogleCloudPolicysimulatorV1ReplayResultsSummary - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayConfig( - typing_extensions.TypedDict, total=False -): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] +class GoogleCloudPolicysimulatorV1ReplayConfig(typing.TypedDict, total=False): + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] policyOverlay: dict[str, typing.Any] @typing.type_check_only class GoogleCloudPolicysimulatorV1ReplayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): startTime: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayResultsSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1ReplayResultsSummary(typing.TypedDict, total=False): differenceCount: int errorCount: int logCount: int @@ -99,10 +89,8 @@ class GoogleCloudPolicysimulatorV1ReplayResultsSummary( unchangedCount: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaAccessStateDiff( - typing_extensions.TypedDict, total=False -): - accessChange: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1betaAccessStateDiff(typing.TypedDict, total=False): + accessChange: typing.Literal[ "ACCESS_CHANGE_TYPE_UNSPECIFIED", "NO_CHANGE", "UNKNOWN_CHANGE", @@ -115,18 +103,14 @@ class GoogleCloudPolicysimulatorV1betaAccessStateDiff( simulated: GoogleCloudPolicysimulatorV1betaExplainedAccess @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaAccessTuple( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaAccessTuple(typing.TypedDict, total=False): fullResourceName: str permission: str principal: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaBindingExplanation( - typing_extensions.TypedDict, total=False -): - access: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1betaBindingExplanation(typing.TypedDict, total=False): + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -135,45 +119,41 @@ class GoogleCloudPolicysimulatorV1betaBindingExplanation( ] condition: GoogleTypeExpr memberships: dict[str, typing.Any] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] role: str - rolePermission: typing_extensions.Literal[ + rolePermission: typing.Literal[ "ROLE_PERMISSION_UNSPECIFIED", "ROLE_PERMISSION_INCLUDED", "ROLE_PERMISSION_NOT_INCLUDED", "ROLE_PERMISSION_UNKNOWN_INFO_DENIED", ] - rolePermissionRelevance: typing_extensions.Literal[ + rolePermissionRelevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" ] @typing.type_check_only class GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_UNSPECIFIED", "MEMBERSHIP_INCLUDED", "MEMBERSHIP_NOT_INCLUDED", "MEMBERSHIP_UNKNOWN_INFO_DENIED", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestTime: str resourcesFound: int resourcesPending: int resourcesScanned: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -182,10 +162,8 @@ class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationM ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaExplainedAccess( - typing_extensions.TypedDict, total=False -): - accessState: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1betaExplainedAccess(typing.TypedDict, total=False): + accessState: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -196,10 +174,8 @@ class GoogleCloudPolicysimulatorV1betaExplainedAccess( policies: _list[GoogleCloudPolicysimulatorV1betaExplainedPolicy] @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaExplainedPolicy( - typing_extensions.TypedDict, total=False -): - access: typing_extensions.Literal[ +class GoogleCloudPolicysimulatorV1betaExplainedPolicy(typing.TypedDict, total=False): + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -209,20 +185,18 @@ class GoogleCloudPolicysimulatorV1betaExplainedPolicy( bindingExplanations: _list[GoogleCloudPolicysimulatorV1betaBindingExplanation] fullResourceName: str policy: GoogleIamV1Policy - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requestTime: str resourcesFound: int resourcesPending: int resourcesScanned: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -232,7 +206,7 @@ class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperatio @typing.type_check_only class GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsPreviewsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str orgPolicyViolationsPreviews: _list[ @@ -241,29 +215,27 @@ class GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsPreviewsResponse( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str orgPolicyViolations: _list[GoogleCloudPolicysimulatorV1betaOrgPolicyViolation] @typing.type_check_only class GoogleCloudPolicysimulatorV1betaListReplayResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str replayResults: _list[GoogleCloudPolicysimulatorV1betaReplayResult] @typing.type_check_only class GoogleCloudPolicysimulatorV1betaListReplaysResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str replays: _list[GoogleCloudPolicysimulatorV1betaReplay] @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay(typing.TypedDict, total=False): customConstraints: _list[ GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay ] @@ -271,22 +243,20 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customConstraint: GoogleCloudOrgpolicyV2CustomConstraint customConstraintParent: str @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policy: GoogleCloudOrgpolicyV2Policy policyParent: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaOrgPolicyViolation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaOrgPolicyViolation(typing.TypedDict, total=False): customConstraint: GoogleCloudOrgpolicyV2CustomConstraint error: GoogleRpcStatus name: str @@ -294,7 +264,7 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolation( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str customConstraints: _list[str] @@ -303,7 +273,7 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( resourceCounts: ( GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts ) - state: typing_extensions.Literal[ + state: typing.Literal[ "PREVIEW_STATE_UNSPECIFIED", "PREVIEW_PENDING", "PREVIEW_RUNNING", @@ -314,7 +284,7 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): compliant: int errors: int @@ -323,31 +293,25 @@ class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts( unenforced: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaReplay(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1betaReplay(typing.TypedDict, total=False): config: GoogleCloudPolicysimulatorV1betaReplayConfig name: str resultsSummary: GoogleCloudPolicysimulatorV1betaReplayResultsSummary - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaReplayConfig( - typing_extensions.TypedDict, total=False -): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] +class GoogleCloudPolicysimulatorV1betaReplayConfig(typing.TypedDict, total=False): + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] policyOverlay: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaReplayDiff( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaReplayDiff(typing.TypedDict, total=False): accessDiff: GoogleCloudPolicysimulatorV1betaAccessStateDiff @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaReplayResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaReplayResult(typing.TypedDict, total=False): accessTuple: GoogleCloudPolicysimulatorV1betaAccessTuple diff: GoogleCloudPolicysimulatorV1betaReplayDiff error: GoogleRpcStatus @@ -357,7 +321,7 @@ class GoogleCloudPolicysimulatorV1betaReplayResult( @typing.type_check_only class GoogleCloudPolicysimulatorV1betaReplayResultsSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): differenceCount: int errorCount: int @@ -367,46 +331,44 @@ class GoogleCloudPolicysimulatorV1betaReplayResultsSummary( unchangedCount: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1betaResourceContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1betaResourceContext(typing.TypedDict, total=False): ancestors: _list[str] assetType: str resource: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -414,19 +376,19 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/policysimulator/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta1/resources.pyi index 2cb5b48cd..a8701c436 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policysimulator/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/policysimulator/v1beta1/schemas.pyi index 19e8e513c..43b71ecaa 100644 --- a/googleapiclient-stubs/_apis/policysimulator/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/policysimulator/v1beta1/schemas.pyi @@ -1,35 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudPolicysimulatorV1Replay(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1Replay(typing.TypedDict, total=False): config: GoogleCloudPolicysimulatorV1ReplayConfig name: str resultsSummary: GoogleCloudPolicysimulatorV1ReplayResultsSummary - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayConfig( - typing_extensions.TypedDict, total=False -): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] +class GoogleCloudPolicysimulatorV1ReplayConfig(typing.TypedDict, total=False): + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] policyOverlay: dict[str, typing.Any] @typing.type_check_only class GoogleCloudPolicysimulatorV1ReplayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): startTime: str @typing.type_check_only -class GoogleCloudPolicysimulatorV1ReplayResultsSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicysimulatorV1ReplayResultsSummary(typing.TypedDict, total=False): differenceCount: int errorCount: int logCount: int @@ -38,30 +32,28 @@ class GoogleCloudPolicysimulatorV1ReplayResultsSummary( unchangedCount: int @typing.type_check_only -class GoogleCloudPolicysimulatorV1beta1Replay(typing_extensions.TypedDict, total=False): +class GoogleCloudPolicysimulatorV1beta1Replay(typing.TypedDict, total=False): config: GoogleCloudPolicysimulatorV1beta1ReplayConfig name: str resultsSummary: GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudPolicysimulatorV1beta1ReplayConfig( - typing_extensions.TypedDict, total=False -): - logSource: typing_extensions.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] +class GoogleCloudPolicysimulatorV1beta1ReplayConfig(typing.TypedDict, total=False): + logSource: typing.Literal["LOG_SOURCE_UNSPECIFIED", "RECENT_ACCESSES"] policyOverlay: dict[str, typing.Any] @typing.type_check_only class GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): startTime: str @typing.type_check_only class GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): differenceCount: int errorCount: int @@ -71,37 +63,37 @@ class GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary( unchangedCount: int @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -109,19 +101,19 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v1/resources.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v1/resources.pyi index 464a52470..684f122f7 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v1/schemas.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v1/schemas.pyi index b20c97ccc..cb758cbab 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v1/schemas.pyi @@ -1,22 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudPolicytroubleshooterV1AccessTuple( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicytroubleshooterV1AccessTuple(typing.TypedDict, total=False): fullResourceName: str permission: str principal: str @typing.type_check_only class GoogleCloudPolicytroubleshooterV1BindingExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - access: typing_extensions.Literal[ + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -25,40 +21,34 @@ class GoogleCloudPolicytroubleshooterV1BindingExplanation( ] condition: GoogleTypeExpr memberships: dict[str, typing.Any] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] role: str - rolePermission: typing_extensions.Literal[ + rolePermission: typing.Literal[ "ROLE_PERMISSION_UNSPECIFIED", "ROLE_PERMISSION_INCLUDED", "ROLE_PERMISSION_NOT_INCLUDED", "ROLE_PERMISSION_UNKNOWN_INFO_DENIED", ] - rolePermissionRelevance: typing_extensions.Literal[ + rolePermissionRelevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" ] @typing.type_check_only class GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_UNSPECIFIED", "MEMBERSHIP_INCLUDED", "MEMBERSHIP_NOT_INCLUDED", "MEMBERSHIP_UNKNOWN_INFO_DENIED", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only -class GoogleCloudPolicytroubleshooterV1ExplainedPolicy( - typing_extensions.TypedDict, total=False -): - access: typing_extensions.Literal[ +class GoogleCloudPolicytroubleshooterV1ExplainedPolicy(typing.TypedDict, total=False): + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -68,21 +58,19 @@ class GoogleCloudPolicytroubleshooterV1ExplainedPolicy( bindingExplanations: _list[GoogleCloudPolicytroubleshooterV1BindingExplanation] fullResourceName: str policy: GoogleIamV1Policy - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only class GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTuple: GoogleCloudPolicytroubleshooterV1AccessTuple @typing.type_check_only class GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - access: typing_extensions.Literal[ + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -93,38 +81,38 @@ class GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse( explainedPolicies: _list[GoogleCloudPolicytroubleshooterV1ExplainedPolicy] @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/resources.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/resources.pyi index 011cbdfd7..6c9222930 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/schemas.pyi index d78a2d84e..0c43e833c 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v1beta/schemas.pyi @@ -1,22 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudPolicytroubleshooterV1betaAccessTuple( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicytroubleshooterV1betaAccessTuple(typing.TypedDict, total=False): fullResourceName: str permission: str principal: str @typing.type_check_only class GoogleCloudPolicytroubleshooterV1betaBindingExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - access: typing_extensions.Literal[ + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -25,40 +21,36 @@ class GoogleCloudPolicytroubleshooterV1betaBindingExplanation( ] condition: GoogleTypeExpr memberships: dict[str, typing.Any] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] role: str - rolePermission: typing_extensions.Literal[ + rolePermission: typing.Literal[ "ROLE_PERMISSION_UNSPECIFIED", "ROLE_PERMISSION_INCLUDED", "ROLE_PERMISSION_NOT_INCLUDED", "ROLE_PERMISSION_UNKNOWN_INFO_DENIED", ] - rolePermissionRelevance: typing_extensions.Literal[ + rolePermissionRelevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" ] @typing.type_check_only class GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_UNSPECIFIED", "MEMBERSHIP_INCLUDED", "MEMBERSHIP_NOT_INCLUDED", "MEMBERSHIP_UNKNOWN_INFO_DENIED", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only class GoogleCloudPolicytroubleshooterV1betaExplainedPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - access: typing_extensions.Literal[ + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -68,21 +60,19 @@ class GoogleCloudPolicytroubleshooterV1betaExplainedPolicy( bindingExplanations: _list[GoogleCloudPolicytroubleshooterV1betaBindingExplanation] fullResourceName: str policy: GoogleIamV1Policy - relevance: typing_extensions.Literal[ - "HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH" - ] + relevance: typing.Literal["HEURISTIC_RELEVANCE_UNSPECIFIED", "NORMAL", "HIGH"] @typing.type_check_only class GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTuple: GoogleCloudPolicytroubleshooterV1betaAccessTuple @typing.type_check_only class GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - access: typing_extensions.Literal[ + access: typing.Literal[ "ACCESS_STATE_UNSPECIFIED", "GRANTED", "NOT_GRANTED", @@ -92,32 +82,32 @@ class GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse( explainedPolicies: _list[GoogleCloudPolicytroubleshooterV1betaExplainedPolicy] @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3/resources.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3/resources.pyi index 9e5600d50..59f231e84 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3/schemas.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3/schemas.pyi index 9d749b29b..77b288c26 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3/schemas.pyi @@ -1,13 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudPolicytroubleshooterIamV3AccessTuple( - typing_extensions.TypedDict, total=False -): +class GoogleCloudPolicytroubleshooterIamV3AccessTuple(typing.TypedDict, total=False): conditionContext: GoogleCloudPolicytroubleshooterIamV3ConditionContext fullResourceName: str permission: str @@ -16,9 +12,9 @@ class GoogleCloudPolicytroubleshooterIamV3AccessTuple( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowAccessState: typing_extensions.Literal[ + allowAccessState: typing.Literal[ "ALLOW_ACCESS_STATE_UNSPECIFIED", "ALLOW_ACCESS_STATE_GRANTED", "ALLOW_ACCESS_STATE_NOT_GRANTED", @@ -29,19 +25,19 @@ class GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanation( condition: GoogleTypeExpr conditionExplanation: GoogleCloudPolicytroubleshooterIamV3ConditionExplanation memberships: dict[str, typing.Any] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", ] role: str - rolePermission: typing_extensions.Literal[ + rolePermission: typing.Literal[ "ROLE_PERMISSION_INCLUSION_STATE_UNSPECIFIED", "ROLE_PERMISSION_INCLUDED", "ROLE_PERMISSION_NOT_INCLUDED", "ROLE_PERMISSION_UNKNOWN_INFO", ] - rolePermissionRelevance: typing_extensions.Literal[ + rolePermissionRelevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -49,16 +45,16 @@ class GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanationAnnotatedAllowMembership( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", "MEMBERSHIP_MATCHED", "MEMBERSHIP_NOT_MATCHED", "MEMBERSHIP_UNKNOWN_INFO", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -66,9 +62,9 @@ class GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanationAnnotatedAllowM @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowAccessState: typing_extensions.Literal[ + allowAccessState: typing.Literal[ "ALLOW_ACCESS_STATE_UNSPECIFIED", "ALLOW_ACCESS_STATE_GRANTED", "ALLOW_ACCESS_STATE_NOT_GRANTED", @@ -76,7 +72,7 @@ class GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation( "ALLOW_ACCESS_STATE_UNKNOWN_INFO", ] explainedPolicies: _list[GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -84,7 +80,7 @@ class GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ConditionContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destination: GoogleCloudPolicytroubleshooterIamV3ConditionContextPeer effectiveTags: _list[ @@ -95,7 +91,7 @@ class GoogleCloudPolicytroubleshooterIamV3ConditionContext( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ConditionContextEffectiveTag( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inherited: bool namespacedTagKey: str @@ -106,20 +102,20 @@ class GoogleCloudPolicytroubleshooterIamV3ConditionContextEffectiveTag( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ConditionContextPeer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ip: str port: str @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ConditionContextRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): receiveTime: str @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ConditionContextResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str service: str @@ -127,7 +123,7 @@ class GoogleCloudPolicytroubleshooterIamV3ConditionContextResource( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ConditionExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleRpcStatus] evaluationStates: _list[ @@ -137,7 +133,7 @@ class GoogleCloudPolicytroubleshooterIamV3ConditionExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ConditionExplanationEvaluationState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): end: int errors: _list[GoogleRpcStatus] @@ -146,9 +142,9 @@ class GoogleCloudPolicytroubleshooterIamV3ConditionExplanationEvaluationState( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -157,7 +153,7 @@ class GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation( ] explainedResources: _list[GoogleCloudPolicytroubleshooterIamV3ExplainedDenyResource] permissionDeniable: bool - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -165,7 +161,7 @@ class GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): combinedDeniedPermission: GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching combinedDeniedPrincipal: GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching @@ -175,7 +171,7 @@ class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation( conditionExplanation: GoogleCloudPolicytroubleshooterIamV3ConditionExplanation deniedPermissions: dict[str, typing.Any] deniedPrincipals: dict[str, typing.Any] - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -184,7 +180,7 @@ class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation( ] exceptionPermissions: dict[str, typing.Any] exceptionPrincipals: dict[str, typing.Any] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -192,16 +188,16 @@ class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", "MEMBERSHIP_MATCHED", "MEMBERSHIP_NOT_MATCHED", "MEMBERSHIP_UNKNOWN_INFO", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -209,14 +205,14 @@ class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrinci @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - permissionMatchingState: typing_extensions.Literal[ + permissionMatchingState: typing.Literal[ "PERMISSION_PATTERN_MATCHING_STATE_UNSPECIFIED", "PERMISSION_PATTERN_MATCHED", "PERMISSION_PATTERN_NOT_MATCHED", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -224,9 +220,9 @@ class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermission @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowAccessState: typing_extensions.Literal[ + allowAccessState: typing.Literal[ "ALLOW_ACCESS_STATE_UNSPECIFIED", "ALLOW_ACCESS_STATE_GRANTED", "ALLOW_ACCESS_STATE_NOT_GRANTED", @@ -238,7 +234,7 @@ class GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy( ] fullResourceName: str policy: GoogleIamV1Policy - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -246,9 +242,9 @@ class GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -256,7 +252,7 @@ class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyPolicy( "DENY_ACCESS_STATE_UNKNOWN_INFO", ] policy: GoogleIamV2Policy - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -265,9 +261,9 @@ class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyPolicy( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -276,7 +272,7 @@ class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyResource( ] explainedPolicies: _list[GoogleCloudPolicytroubleshooterIamV3ExplainedDenyPolicy] fullResourceName: str - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -284,18 +280,18 @@ class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyResource( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTuple: GoogleCloudPolicytroubleshooterIamV3AccessTuple @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTuple: GoogleCloudPolicytroubleshooterIamV3AccessTuple allowPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation denyPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation - overallAccessState: typing_extensions.Literal[ + overallAccessState: typing.Literal[ "OVERALL_ACCESS_STATE_UNSPECIFIED", "CAN_ACCESS", "CANNOT_ACCESS", @@ -304,32 +300,32 @@ class GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponse( ] @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2DenyRule(typing.TypedDict, total=False): denialCondition: GoogleTypeExpr deniedPermissions: _list[str] deniedPrincipals: _list[str] @@ -337,7 +333,7 @@ class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): exceptionPrincipals: _list[str] @typing.type_check_only -class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV2Policy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -350,18 +346,18 @@ class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleIamV2PolicyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2PolicyRule(typing.TypedDict, total=False): denyRule: GoogleIamV2DenyRule description: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/resources.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/resources.pyi index ce2d6a0f1..ecfcd8918 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/resources.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/schemas.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/schemas.pyi index c4494b41b..854fecc79 100644 --- a/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaAccessContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str parent: str @@ -15,7 +13,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaAccessContext( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaAccessTuple( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionContext: GoogleCloudPolicytroubleshooterIamV3betaConditionContext fullResourceName: str @@ -25,9 +23,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaAccessTuple( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowAccessState: typing_extensions.Literal[ + allowAccessState: typing.Literal[ "ALLOW_ACCESS_STATE_UNSPECIFIED", "ALLOW_ACCESS_STATE_GRANTED", "ALLOW_ACCESS_STATE_NOT_GRANTED", @@ -38,19 +36,19 @@ class GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanation( condition: GoogleTypeExpr conditionExplanation: GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation memberships: dict[str, typing.Any] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", ] role: str - rolePermission: typing_extensions.Literal[ + rolePermission: typing.Literal[ "ROLE_PERMISSION_INCLUSION_STATE_UNSPECIFIED", "ROLE_PERMISSION_INCLUDED", "ROLE_PERMISSION_NOT_INCLUDED", "ROLE_PERMISSION_UNKNOWN_INFO", ] - rolePermissionRelevance: typing_extensions.Literal[ + rolePermissionRelevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -58,16 +56,16 @@ class GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanationAnnotatedAllowMembership( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", "MEMBERSHIP_MATCHED", "MEMBERSHIP_NOT_MATCHED", "MEMBERSHIP_UNKNOWN_INFO", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -75,9 +73,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanationAnnotatedAl @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaAllowPolicyExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowAccessState: typing_extensions.Literal[ + allowAccessState: typing.Literal[ "ALLOW_ACCESS_STATE_UNSPECIFIED", "ALLOW_ACCESS_STATE_GRANTED", "ALLOW_ACCESS_STATE_NOT_GRANTED", @@ -87,7 +85,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaAllowPolicyExplanation( explainedPolicies: _list[ GoogleCloudPolicytroubleshooterIamV3betaExplainedAllowPolicy ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -95,7 +93,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaAllowPolicyExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaConditionContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destination: GoogleCloudPolicytroubleshooterIamV3betaConditionContextPeer effectiveTags: _list[ @@ -106,7 +104,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaConditionContext( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaConditionContextEffectiveTag( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inherited: bool namespacedTagKey: str @@ -117,20 +115,20 @@ class GoogleCloudPolicytroubleshooterIamV3betaConditionContextEffectiveTag( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaConditionContextPeer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ip: str port: str @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaConditionContextRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): receiveTime: str @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaConditionContextResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str service: str @@ -138,7 +136,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaConditionContextResource( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleRpcStatus] evaluationStates: _list[ @@ -148,7 +146,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaConditionExplanationEvaluationState( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): end: int errors: _list[GoogleRpcStatus] @@ -157,9 +155,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaConditionExplanationEvaluationStat @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaDenyPolicyExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -170,7 +168,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaDenyPolicyExplanation( GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyResource ] permissionDeniable: bool - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -178,7 +176,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaDenyPolicyExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): combinedDeniedPermission: GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedPermissionMatching combinedDeniedPrincipal: GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedDenyPrincipalMatching @@ -188,7 +186,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanation( conditionExplanation: GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation deniedPermissions: dict[str, typing.Any] deniedPrincipals: dict[str, typing.Any] - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -197,7 +195,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanation( ] exceptionPermissions: dict[str, typing.Any] exceptionPrincipals: dict[str, typing.Any] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -205,16 +203,16 @@ class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedDenyPrincipalMatching( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - membership: typing_extensions.Literal[ + membership: typing.Literal[ "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", "MEMBERSHIP_MATCHED", "MEMBERSHIP_NOT_MATCHED", "MEMBERSHIP_UNKNOWN_INFO", "MEMBERSHIP_UNKNOWN_UNSUPPORTED", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -222,14 +220,14 @@ class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedDenyPr @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedPermissionMatching( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - permissionMatchingState: typing_extensions.Literal[ + permissionMatchingState: typing.Literal[ "PERMISSION_PATTERN_MATCHING_STATE_UNSPECIFIED", "PERMISSION_PATTERN_MATCHED", "PERMISSION_PATTERN_NOT_MATCHED", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -237,9 +235,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedPermis @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedAllowPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - allowAccessState: typing_extensions.Literal[ + allowAccessState: typing.Literal[ "ALLOW_ACCESS_STATE_UNSPECIFIED", "ALLOW_ACCESS_STATE_GRANTED", "ALLOW_ACCESS_STATE_NOT_GRANTED", @@ -251,7 +249,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedAllowPolicy( ] fullResourceName: str policy: GoogleIamV1Policy - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -259,9 +257,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedAllowPolicy( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -269,7 +267,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyPolicy( "DENY_ACCESS_STATE_UNKNOWN_INFO", ] policy: GoogleIamV2Policy - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -278,9 +276,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyPolicy( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - denyAccessState: typing_extensions.Literal[ + denyAccessState: typing.Literal[ "DENY_ACCESS_STATE_UNSPECIFIED", "DENY_ACCESS_STATE_DENIED", "DENY_ACCESS_STATE_NOT_DENIED", @@ -291,7 +289,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyResource( GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyPolicy ] fullResourceName: str - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -299,9 +297,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyResource( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABBindingAndPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - bindingAndPolicyAccessState: typing_extensions.Literal[ + bindingAndPolicyAccessState: typing.Literal[ "PAB_ACCESS_STATE_UNSPECIFIED", "PAB_ACCESS_STATE_ALLOWED", "PAB_ACCESS_STATE_NOT_ALLOWED", @@ -312,7 +310,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABBindingAndPolicy( explainedPolicyBinding: ( GoogleCloudPolicytroubleshooterIamV3betaExplainedPolicyBinding ) - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -320,11 +318,11 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABBindingAndPolicy( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explainedRules: _list[GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRule] policy: GoogleIamV3PrincipalAccessBoundaryPolicy - policyAccessState: typing_extensions.Literal[ + policyAccessState: typing.Literal[ "PAB_ACCESS_STATE_UNSPECIFIED", "PAB_ACCESS_STATE_ALLOWED", "PAB_ACCESS_STATE_NOT_ALLOWED", @@ -332,7 +330,7 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicy( "PAB_ACCESS_STATE_UNKNOWN_INFO", ] policyVersion: GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicyVersion - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -340,9 +338,9 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicy( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicyVersion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - enforcementState: typing_extensions.Literal[ + enforcementState: typing.Literal[ "PAB_POLICY_ENFORCEMENT_STATE_UNSPECIFIED", "PAB_POLICY_ENFORCEMENT_STATE_ENFORCED", "PAB_POLICY_ENFORCEMENT_STATE_NOT_ENFORCED", @@ -351,31 +349,31 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicyVersion( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - combinedResourceInclusionState: typing_extensions.Literal[ + combinedResourceInclusionState: typing.Literal[ "RESOURCE_INCLUSION_STATE_UNSPECIFIED", "RESOURCE_INCLUSION_STATE_INCLUDED", "RESOURCE_INCLUSION_STATE_NOT_INCLUDED", "RESOURCE_INCLUSION_STATE_UNKNOWN_INFO", "RESOURCE_INCLUSION_STATE_UNKNOWN_UNSUPPORTED", ] - combinedResourceRelevance: typing_extensions.Literal[ + combinedResourceRelevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", ] - effect: typing_extensions.Literal["EFFECT_UNSPECIFIED", "ALLOW", "DENY"] + effect: typing.Literal["EFFECT_UNSPECIFIED", "ALLOW", "DENY"] explainedResources: _list[ GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRuleExplainedResource ] pabUnsupportedFeatures: _list[str] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", ] - ruleAccessState: typing_extensions.Literal[ + ruleAccessState: typing.Literal[ "PAB_ACCESS_STATE_UNSPECIFIED", "PAB_ACCESS_STATE_ALLOWED", "PAB_ACCESS_STATE_NOT_ALLOWED", @@ -385,15 +383,15 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRule( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRuleExplainedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", ] resource: str - resourceInclusionState: typing_extensions.Literal[ + resourceInclusionState: typing.Literal[ "RESOURCE_INCLUSION_STATE_UNSPECIFIED", "RESOURCE_INCLUSION_STATE_INCLUDED", "RESOURCE_INCLUSION_STATE_NOT_INCLUDED", @@ -403,16 +401,16 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRuleExplainedResource( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaExplainedPolicyBinding( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditionExplanation: GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation policyBinding: GoogleIamV3PolicyBinding - policyBindingState: typing_extensions.Literal[ + policyBindingState: typing.Literal[ "POLICY_BINDING_STATE_UNSPECIFIED", "POLICY_BINDING_STATE_ENFORCED", "POLICY_BINDING_STATE_NOT_ENFORCED", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -420,19 +418,19 @@ class GoogleCloudPolicytroubleshooterIamV3betaExplainedPolicyBinding( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaPABPolicyExplanation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explainedBindingsAndPolicies: _list[ GoogleCloudPolicytroubleshooterIamV3betaExplainedPABBindingAndPolicy ] - principalAccessBoundaryAccessState: typing_extensions.Literal[ + principalAccessBoundaryAccessState: typing.Literal[ "PAB_ACCESS_STATE_UNSPECIFIED", "PAB_ACCESS_STATE_ALLOWED", "PAB_ACCESS_STATE_NOT_ALLOWED", "PAB_ACCESS_STATE_NOT_ENFORCED", "PAB_ACCESS_STATE_UNKNOWN_INFO", ] - relevance: typing_extensions.Literal[ + relevance: typing.Literal[ "HEURISTIC_RELEVANCE_UNSPECIFIED", "HEURISTIC_RELEVANCE_NORMAL", "HEURISTIC_RELEVANCE_HIGH", @@ -440,20 +438,20 @@ class GoogleCloudPolicytroubleshooterIamV3betaPABPolicyExplanation( @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyErrorRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorInfoId: str @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyErrorResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessContext: GoogleCloudPolicytroubleshooterIamV3betaAccessContext allowPolicyExplanation: ( GoogleCloudPolicytroubleshooterIamV3betaAllowPolicyExplanation ) denyPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3betaDenyPolicyExplanation - overallAccessState: typing_extensions.Literal[ + overallAccessState: typing.Literal[ "OVERALL_ACCESS_STATE_UNSPECIFIED", "OVERALL_ACCESS_STATE_CAN_ACCESS", "OVERALL_ACCESS_STATE_CANNOT_ACCESS", @@ -464,20 +462,20 @@ class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyErrorResponse @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTuple: GoogleCloudPolicytroubleshooterIamV3betaAccessTuple @typing.type_check_only class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessTuple: GoogleCloudPolicytroubleshooterIamV3betaAccessTuple allowPolicyExplanation: ( GoogleCloudPolicytroubleshooterIamV3betaAllowPolicyExplanation ) denyPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3betaDenyPolicyExplanation - overallAccessState: typing_extensions.Literal[ + overallAccessState: typing.Literal[ "OVERALL_ACCESS_STATE_UNSPECIFIED", "CAN_ACCESS", "CANNOT_ACCESS", @@ -487,32 +485,32 @@ class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyResponse( pabPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3betaPABPolicyExplanation @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2DenyRule(typing.TypedDict, total=False): denialCondition: GoogleTypeExpr deniedPermissions: _list[str] deniedPrincipals: _list[str] @@ -520,7 +518,7 @@ class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): exceptionPrincipals: _list[str] @typing.type_check_only -class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV2Policy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -533,12 +531,12 @@ class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleIamV2PolicyRule(typing_extensions.TypedDict, total=False): +class GoogleIamV2PolicyRule(typing.TypedDict, total=False): denyRule: GoogleIamV2DenyRule description: str @typing.type_check_only -class GoogleIamV3PolicyBinding(typing_extensions.TypedDict, total=False): +class GoogleIamV3PolicyBinding(typing.TypedDict, total=False): annotations: dict[str, typing.Any] condition: GoogleTypeExpr createTime: str @@ -546,7 +544,7 @@ class GoogleIamV3PolicyBinding(typing_extensions.TypedDict, total=False): etag: str name: str policy: str - policyKind: typing_extensions.Literal[ + policyKind: typing.Literal[ "POLICY_KIND_UNSPECIFIED", "PRINCIPAL_ACCESS_BOUNDARY", "ACCESS" ] policyUid: str @@ -555,14 +553,12 @@ class GoogleIamV3PolicyBinding(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleIamV3PolicyBindingTarget(typing_extensions.TypedDict, total=False): +class GoogleIamV3PolicyBindingTarget(typing.TypedDict, total=False): principalSet: str resource: str @typing.type_check_only -class GoogleIamV3PrincipalAccessBoundaryPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleIamV3PrincipalAccessBoundaryPolicy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str details: GoogleIamV3PrincipalAccessBoundaryPolicyDetails @@ -573,37 +569,33 @@ class GoogleIamV3PrincipalAccessBoundaryPolicy( updateTime: str @typing.type_check_only -class GoogleIamV3PrincipalAccessBoundaryPolicyDetails( - typing_extensions.TypedDict, total=False -): +class GoogleIamV3PrincipalAccessBoundaryPolicyDetails(typing.TypedDict, total=False): enforcementVersion: str rules: _list[GoogleIamV3PrincipalAccessBoundaryPolicyRule] @typing.type_check_only -class GoogleIamV3PrincipalAccessBoundaryPolicyRule( - typing_extensions.TypedDict, total=False -): +class GoogleIamV3PrincipalAccessBoundaryPolicyRule(typing.TypedDict, total=False): description: str - effect: typing_extensions.Literal["EFFECT_UNSPECIFIED", "ALLOW", "DENY"] + effect: typing.Literal["EFFECT_UNSPECIFIED", "ALLOW", "DENY"] excludedResources: _list[str] operation: GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation resources: _list[str] @typing.type_check_only class GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): excludedPermissions: _list[str] permissions: _list[str] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/pollen/v1/resources.pyi b/googleapiclient-stubs/_apis/pollen/v1/resources.pyi index 65b09a8fb..5ad5e0005 100644 --- a/googleapiclient-stubs/_apis/pollen/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/pollen/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -40,7 +39,7 @@ class PollenResource(googleapiclient.discovery.Resource): def lookupHeatmapTile( self, *, - mapType: typing_extensions.Literal[ + mapType: typing.Literal[ "MAP_TYPE_UNSPECIFIED", "TREE_UPI", "GRASS_UPI", "WEED_UPI" ], zoom: int, diff --git a/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi b/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi index e23f794e6..4717a22a9 100644 --- a/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/pollen/v1/schemas.pyi @@ -1,51 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DayInfo(typing_extensions.TypedDict, total=False): +class DayInfo(typing.TypedDict, total=False): date: Date plantInfo: _list[PlantInfo] pollenTypeInfo: _list[PollenTypeInfo] @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class IndexInfo(typing_extensions.TypedDict, total=False): +class IndexInfo(typing.TypedDict, total=False): category: str - code: typing_extensions.Literal["INDEX_UNSPECIFIED", "UPI"] + code: typing.Literal["INDEX_UNSPECIFIED", "UPI"] color: Color displayName: str indexDescription: str value: int @typing.type_check_only -class LookupForecastResponse(typing_extensions.TypedDict, total=False): +class LookupForecastResponse(typing.TypedDict, total=False): dailyInfo: _list[DayInfo] nextPageToken: str regionCode: str @typing.type_check_only -class PlantDescription(typing_extensions.TypedDict, total=False): +class PlantDescription(typing.TypedDict, total=False): crossReaction: str family: str picture: str @@ -53,11 +51,11 @@ class PlantDescription(typing_extensions.TypedDict, total=False): season: str specialColors: str specialShapes: str - type: typing_extensions.Literal["POLLEN_TYPE_UNSPECIFIED", "GRASS", "TREE", "WEED"] + type: typing.Literal["POLLEN_TYPE_UNSPECIFIED", "GRASS", "TREE", "WEED"] @typing.type_check_only -class PlantInfo(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class PlantInfo(typing.TypedDict, total=False): + code: typing.Literal[ "PLANT_UNSPECIFIED", "ALDER", "ASH", @@ -83,8 +81,8 @@ class PlantInfo(typing_extensions.TypedDict, total=False): plantDescription: PlantDescription @typing.type_check_only -class PollenTypeInfo(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal["POLLEN_TYPE_UNSPECIFIED", "GRASS", "TREE", "WEED"] +class PollenTypeInfo(typing.TypedDict, total=False): + code: typing.Literal["POLLEN_TYPE_UNSPECIFIED", "GRASS", "TREE", "WEED"] displayName: str healthRecommendations: _list[str] inSeason: bool diff --git a/googleapiclient-stubs/_apis/poly/v1/resources.pyi b/googleapiclient-stubs/_apis/poly/v1/resources.pyi index d20a8f6b7..410b69431 100644 --- a/googleapiclient-stubs/_apis/poly/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/poly/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -23,7 +22,7 @@ class PolyServiceResource(googleapiclient.discovery.Resource): curated: bool | None = ..., format: str | None = ..., keywords: str | None = ..., - maxComplexity: typing_extensions.Literal[ + maxComplexity: typing.Literal[ "COMPLEXITY_UNSPECIFIED", "COMPLEX", "MEDIUM", "SIMPLE" ] | None = ..., @@ -50,7 +49,7 @@ class PolyServiceResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSPECIFIED", "PUBLISHED", "PRIVATE" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/poly/v1/schemas.pyi b/googleapiclient-stubs/_apis/poly/v1/schemas.pyi index fd6ab9602..2e7c41d0e 100644 --- a/googleapiclient-stubs/_apis/poly/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/poly/v1/schemas.pyi @@ -1,33 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): authorName: str createTime: str description: str displayName: str formats: _list[Format] isCurated: bool - license: typing_extensions.Literal[ - "UNKNOWN", "CREATIVE_COMMONS_BY", "ALL_RIGHTS_RESERVED" - ] + license: typing.Literal["UNKNOWN", "CREATIVE_COMMONS_BY", "ALL_RIGHTS_RESERVED"] metadata: str name: str presentationParams: PresentationParams remixInfo: RemixInfo thumbnail: File updateTime: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "VISIBILITY_UNSPECIFIED", "PRIVATE", "UNLISTED", "PUBLIC" ] @typing.type_check_only -class AssetImportMessage(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class AssetImportMessage(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "NO_IMPORTABLE_FILE", "EMPTY_MODEL", @@ -44,51 +40,51 @@ class AssetImportMessage(typing_extensions.TypedDict, total=False): objParseError: ObjParseError @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): contentType: str relativePath: str url: str @typing.type_check_only -class Format(typing_extensions.TypedDict, total=False): +class Format(typing.TypedDict, total=False): formatComplexity: FormatComplexity formatType: str resources: _list[File] root: File @typing.type_check_only -class FormatComplexity(typing_extensions.TypedDict, total=False): +class FormatComplexity(typing.TypedDict, total=False): lodHint: int triangleCount: str @typing.type_check_only -class ImageError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ImageError(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INVALID_IMAGE", "IMAGE_TOO_BIG", "WRONG_IMAGE_TYPE" ] filePath: str @typing.type_check_only -class ListAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] nextPageToken: str totalSize: int @typing.type_check_only -class ListLikedAssetsResponse(typing_extensions.TypedDict, total=False): +class ListLikedAssetsResponse(typing.TypedDict, total=False): assets: _list[Asset] nextPageToken: str totalSize: int @typing.type_check_only -class ListUserAssetsResponse(typing_extensions.TypedDict, total=False): +class ListUserAssetsResponse(typing.TypedDict, total=False): nextPageToken: str totalSize: int userAssets: _list[UserAsset] @typing.type_check_only -class ObjParseError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ObjParseError(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INCONSISTENT_VERTEX_REFS", "INVALID_COMMAND", @@ -123,29 +119,29 @@ class ObjParseError(typing_extensions.TypedDict, total=False): startIndex: int @typing.type_check_only -class PresentationParams(typing_extensions.TypedDict, total=False): +class PresentationParams(typing.TypedDict, total=False): backgroundColor: str - colorSpace: typing_extensions.Literal["UNKNOWN", "LINEAR", "GAMMA"] + colorSpace: typing.Literal["UNKNOWN", "LINEAR", "GAMMA"] orientingRotation: Quaternion @typing.type_check_only -class Quaternion(typing_extensions.TypedDict, total=False): +class Quaternion(typing.TypedDict, total=False): w: float x: float y: float z: float @typing.type_check_only -class RemixInfo(typing_extensions.TypedDict, total=False): +class RemixInfo(typing.TypedDict, total=False): sourceAsset: _list[str] @typing.type_check_only -class StartAssetImportResponse(typing_extensions.TypedDict, total=False): +class StartAssetImportResponse(typing.TypedDict, total=False): assetId: str assetImportId: str assetImportMessages: _list[AssetImportMessage] publishUrl: str @typing.type_check_only -class UserAsset(typing_extensions.TypedDict, total=False): +class UserAsset(typing.TypedDict, total=False): asset: Asset diff --git a/googleapiclient-stubs/_apis/privateca/v1/resources.pyi b/googleapiclient-stubs/_apis/privateca/v1/resources.pyi index 7e53ca092..c63890cba 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi index 0ed0ebd92..cdf868d32 100644 --- a/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessUrls(typing_extensions.TypedDict, total=False): +class AccessUrls(typing.TypedDict, total=False): caCertificateAccessUrl: str crlAccessUrls: _list[str] @typing.type_check_only -class ActivateCertificateAuthorityRequest(typing_extensions.TypedDict, total=False): +class ActivateCertificateAuthorityRequest(typing.TypedDict, total=False): pemCaCertificate: str requestId: str subordinateConfig: SubordinateConfig @typing.type_check_only -class AllowedKeyType(typing_extensions.TypedDict, total=False): +class AllowedKeyType(typing.TypedDict, total=False): ellipticCurve: EcKeyType rsa: RsaKeyType @typing.type_check_only -class AttributeTypeAndValue(typing_extensions.TypedDict, total=False): +class AttributeTypeAndValue(typing.TypedDict, total=False): objectId: ObjectId - type: typing_extensions.Literal[ + type: typing.Literal[ "ATTRIBUTE_TYPE_UNSPECIFIED", "COMMON_NAME", "COUNTRY_CODE", @@ -37,46 +35,46 @@ class AttributeTypeAndValue(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CaOptions(typing_extensions.TypedDict, total=False): +class CaOptions(typing.TypedDict, total=False): isCa: bool maxIssuerPathLength: int @typing.type_check_only -class CaPool(typing_extensions.TypedDict, total=False): +class CaPool(typing.TypedDict, total=False): encryptionSpec: EncryptionSpec issuancePolicy: IssuancePolicy labels: dict[str, typing.Any] name: str publishingOptions: PublishingOptions - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "ENTERPRISE", "DEVOPS"] + tier: typing.Literal["TIER_UNSPECIFIED", "ENTERPRISE", "DEVOPS"] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CertChain(typing_extensions.TypedDict, total=False): +class CertChain(typing.TypedDict, total=False): certificates: _list[str] @typing.type_check_only -class Certificate(typing_extensions.TypedDict, total=False): +class Certificate(typing.TypedDict, total=False): certificateDescription: CertificateDescription certificateTemplate: str config: CertificateConfig @@ -90,7 +88,7 @@ class Certificate(typing_extensions.TypedDict, total=False): pemCsr: str requestedNotBeforeTime: str revocationDetails: RevocationDetails - subjectMode: typing_extensions.Literal[ + subjectMode: typing.Literal[ "SUBJECT_REQUEST_MODE_UNSPECIFIED", "DEFAULT", "RDN_SEQUENCE", @@ -99,7 +97,7 @@ class Certificate(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CertificateAuthority(typing_extensions.TypedDict, total=False): +class CertificateAuthority(typing.TypedDict, total=False): accessUrls: AccessUrls caCertificateDescriptions: _list[CertificateDescription] config: CertificateConfig @@ -114,7 +112,7 @@ class CertificateAuthority(typing_extensions.TypedDict, total=False): pemCaCertificates: _list[str] satisfiesPzi: bool satisfiesPzs: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ENABLED", "DISABLED", @@ -123,24 +121,24 @@ class CertificateAuthority(typing_extensions.TypedDict, total=False): "DELETED", ] subordinateConfig: SubordinateConfig - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "ENTERPRISE", "DEVOPS"] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SELF_SIGNED", "SUBORDINATE"] + tier: typing.Literal["TIER_UNSPECIFIED", "ENTERPRISE", "DEVOPS"] + type: typing.Literal["TYPE_UNSPECIFIED", "SELF_SIGNED", "SUBORDINATE"] updateTime: str userDefinedAccessUrls: UserDefinedAccessUrls @typing.type_check_only -class CertificateConfig(typing_extensions.TypedDict, total=False): +class CertificateConfig(typing.TypedDict, total=False): publicKey: PublicKey subjectConfig: SubjectConfig subjectKeyId: CertificateConfigKeyId x509Config: X509Parameters @typing.type_check_only -class CertificateConfigKeyId(typing_extensions.TypedDict, total=False): +class CertificateConfigKeyId(typing.TypedDict, total=False): keyId: str @typing.type_check_only -class CertificateDescription(typing_extensions.TypedDict, total=False): +class CertificateDescription(typing.TypedDict, total=False): aiaIssuingCertificateUrls: _list[str] authorityKeyId: KeyId certFingerprint: CertificateFingerprint @@ -152,10 +150,10 @@ class CertificateDescription(typing_extensions.TypedDict, total=False): x509Description: X509Parameters @typing.type_check_only -class CertificateExtensionConstraints(typing_extensions.TypedDict, total=False): +class CertificateExtensionConstraints(typing.TypedDict, total=False): additionalExtensions: _list[ObjectId] knownExtensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED", "BASE_KEY_USAGE", "EXTENDED_KEY_USAGE", @@ -167,17 +165,17 @@ class CertificateExtensionConstraints(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CertificateFingerprint(typing_extensions.TypedDict, total=False): +class CertificateFingerprint(typing.TypedDict, total=False): sha256Hash: str @typing.type_check_only -class CertificateIdentityConstraints(typing_extensions.TypedDict, total=False): +class CertificateIdentityConstraints(typing.TypedDict, total=False): allowSubjectAltNamesPassthrough: bool allowSubjectPassthrough: bool celExpression: Expr @typing.type_check_only -class CertificateRevocationList(typing_extensions.TypedDict, total=False): +class CertificateRevocationList(typing.TypedDict, total=False): accessUrl: str createTime: str labels: dict[str, typing.Any] @@ -186,11 +184,11 @@ class CertificateRevocationList(typing_extensions.TypedDict, total=False): revisionId: str revokedCertificates: _list[RevokedCertificate] sequenceNumber: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUPERSEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUPERSEDED"] updateTime: str @typing.type_check_only -class CertificateTemplate(typing_extensions.TypedDict, total=False): +class CertificateTemplate(typing.TypedDict, total=False): createTime: str description: str identityConstraints: CertificateIdentityConstraints @@ -202,36 +200,36 @@ class CertificateTemplate(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DisableCertificateAuthorityRequest(typing_extensions.TypedDict, total=False): +class DisableCertificateAuthorityRequest(typing.TypedDict, total=False): ignoreDependentResources: bool requestId: str @typing.type_check_only -class EcKeyType(typing_extensions.TypedDict, total=False): - signatureAlgorithm: typing_extensions.Literal[ +class EcKeyType(typing.TypedDict, total=False): + signatureAlgorithm: typing.Literal[ "EC_SIGNATURE_ALGORITHM_UNSPECIFIED", "ECDSA_P256", "ECDSA_P384", "EDDSA_25519" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableCertificateAuthorityRequest(typing_extensions.TypedDict, total=False): +class EnableCertificateAuthorityRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class EncryptionSpec(typing_extensions.TypedDict, total=False): +class EncryptionSpec(typing.TypedDict, total=False): cloudKmsKey: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtendedKeyUsageOptions(typing_extensions.TypedDict, total=False): +class ExtendedKeyUsageOptions(typing.TypedDict, total=False): clientAuth: bool codeSigning: bool emailProtection: bool @@ -240,24 +238,24 @@ class ExtendedKeyUsageOptions(typing_extensions.TypedDict, total=False): timeStamping: bool @typing.type_check_only -class FetchCaCertsRequest(typing_extensions.TypedDict, total=False): +class FetchCaCertsRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class FetchCaCertsResponse(typing_extensions.TypedDict, total=False): +class FetchCaCertsResponse(typing.TypedDict, total=False): caCerts: _list[CertChain] @typing.type_check_only -class FetchCertificateAuthorityCsrResponse(typing_extensions.TypedDict, total=False): +class FetchCertificateAuthorityCsrResponse(typing.TypedDict, total=False): pemCsr: str @typing.type_check_only -class IssuanceModes(typing_extensions.TypedDict, total=False): +class IssuanceModes(typing.TypedDict, total=False): allowConfigBasedIssuance: bool allowCsrBasedIssuance: bool @typing.type_check_only -class IssuancePolicy(typing_extensions.TypedDict, total=False): +class IssuancePolicy(typing.TypedDict, total=False): allowRequesterSpecifiedNotBeforeTime: bool allowedIssuanceModes: IssuanceModes allowedKeyTypes: _list[AllowedKeyType] @@ -268,17 +266,17 @@ class IssuancePolicy(typing_extensions.TypedDict, total=False): passthroughExtensions: CertificateExtensionConstraints @typing.type_check_only -class KeyId(typing_extensions.TypedDict, total=False): +class KeyId(typing.TypedDict, total=False): keyId: str @typing.type_check_only -class KeyUsage(typing_extensions.TypedDict, total=False): +class KeyUsage(typing.TypedDict, total=False): baseKeyUsage: KeyUsageOptions extendedKeyUsage: ExtendedKeyUsageOptions unknownExtendedKeyUsages: _list[ObjectId] @typing.type_check_only -class KeyUsageOptions(typing_extensions.TypedDict, total=False): +class KeyUsageOptions(typing.TypedDict, total=False): certSign: bool contentCommitment: bool crlSign: bool @@ -290,8 +288,8 @@ class KeyUsageOptions(typing_extensions.TypedDict, total=False): keyEncipherment: bool @typing.type_check_only -class KeyVersionSpec(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal[ +class KeyVersionSpec(typing.TypedDict, total=False): + algorithm: typing.Literal[ "SIGN_HASH_ALGORITHM_UNSPECIFIED", "RSA_PSS_2048_SHA256", "RSA_PSS_3072_SHA256", @@ -305,48 +303,48 @@ class KeyVersionSpec(typing_extensions.TypedDict, total=False): cloudKmsKeyVersion: str @typing.type_check_only -class ListCaPoolsResponse(typing_extensions.TypedDict, total=False): +class ListCaPoolsResponse(typing.TypedDict, total=False): caPools: _list[CaPool] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCertificateAuthoritiesResponse(typing_extensions.TypedDict, total=False): +class ListCertificateAuthoritiesResponse(typing.TypedDict, total=False): certificateAuthorities: _list[CertificateAuthority] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCertificateRevocationListsResponse(typing_extensions.TypedDict, total=False): +class ListCertificateRevocationListsResponse(typing.TypedDict, total=False): certificateRevocationLists: _list[CertificateRevocationList] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCertificateTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListCertificateTemplatesResponse(typing.TypedDict, total=False): certificateTemplates: _list[CertificateTemplate] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCertificatesResponse(typing_extensions.TypedDict, total=False): +class ListCertificatesResponse(typing.TypedDict, total=False): certificates: _list[Certificate] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -354,7 +352,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class NameConstraints(typing_extensions.TypedDict, total=False): +class NameConstraints(typing.TypedDict, total=False): critical: bool excludedDnsNames: _list[str] excludedEmailAddresses: _list[str] @@ -366,11 +364,11 @@ class NameConstraints(typing_extensions.TypedDict, total=False): permittedUris: _list[str] @typing.type_check_only -class ObjectId(typing_extensions.TypedDict, total=False): +class ObjectId(typing.TypedDict, total=False): objectIdPath: _list[int] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -378,7 +376,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -388,32 +386,30 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PublicKey(typing_extensions.TypedDict, total=False): - format: typing_extensions.Literal["KEY_FORMAT_UNSPECIFIED", "PEM"] +class PublicKey(typing.TypedDict, total=False): + format: typing.Literal["KEY_FORMAT_UNSPECIFIED", "PEM"] key: str @typing.type_check_only -class PublishingOptions(typing_extensions.TypedDict, total=False): - encodingFormat: typing_extensions.Literal[ - "ENCODING_FORMAT_UNSPECIFIED", "PEM", "DER" - ] +class PublishingOptions(typing.TypedDict, total=False): + encodingFormat: typing.Literal["ENCODING_FORMAT_UNSPECIFIED", "PEM", "DER"] publishCaCert: bool publishCrl: bool @typing.type_check_only -class RelativeDistinguishedName(typing_extensions.TypedDict, total=False): +class RelativeDistinguishedName(typing.TypedDict, total=False): attributes: _list[AttributeTypeAndValue] @typing.type_check_only -class RevocationDetails(typing_extensions.TypedDict, total=False): - revocationState: typing_extensions.Literal[ +class RevocationDetails(typing.TypedDict, total=False): + revocationState: typing.Literal[ "REVOCATION_REASON_UNSPECIFIED", "KEY_COMPROMISE", "CERTIFICATE_AUTHORITY_COMPROMISE", @@ -427,8 +423,8 @@ class RevocationDetails(typing_extensions.TypedDict, total=False): revocationTime: str @typing.type_check_only -class RevokeCertificateRequest(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class RevokeCertificateRequest(typing.TypedDict, total=False): + reason: typing.Literal[ "REVOCATION_REASON_UNSPECIFIED", "KEY_COMPROMISE", "CERTIFICATE_AUTHORITY_COMPROMISE", @@ -442,10 +438,10 @@ class RevokeCertificateRequest(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class RevokedCertificate(typing_extensions.TypedDict, total=False): +class RevokedCertificate(typing.TypedDict, total=False): certificate: str hexSerialNumber: str - revocationReason: typing_extensions.Literal[ + revocationReason: typing.Literal[ "REVOCATION_REASON_UNSPECIFIED", "KEY_COMPROMISE", "CERTIFICATE_AUTHORITY_COMPROMISE", @@ -458,23 +454,23 @@ class RevokedCertificate(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RsaKeyType(typing_extensions.TypedDict, total=False): +class RsaKeyType(typing.TypedDict, total=False): maxModulusSize: str minModulusSize: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): +class Subject(typing.TypedDict, total=False): commonName: str countryCode: str locality: str @@ -486,7 +482,7 @@ class Subject(typing_extensions.TypedDict, total=False): streetAddress: str @typing.type_check_only -class SubjectAltNames(typing_extensions.TypedDict, total=False): +class SubjectAltNames(typing.TypedDict, total=False): customSans: _list[X509Extension] dnsNames: _list[str] emailAddresses: _list[str] @@ -494,12 +490,12 @@ class SubjectAltNames(typing_extensions.TypedDict, total=False): uris: _list[str] @typing.type_check_only -class SubjectConfig(typing_extensions.TypedDict, total=False): +class SubjectConfig(typing.TypedDict, total=False): subject: Subject subjectAltName: SubjectAltNames @typing.type_check_only -class SubjectDescription(typing_extensions.TypedDict, total=False): +class SubjectDescription(typing.TypedDict, total=False): hexSerialNumber: str lifetime: str notAfterTime: str @@ -508,39 +504,39 @@ class SubjectDescription(typing_extensions.TypedDict, total=False): subjectAltName: SubjectAltNames @typing.type_check_only -class SubordinateConfig(typing_extensions.TypedDict, total=False): +class SubordinateConfig(typing.TypedDict, total=False): certificateAuthority: str pemIssuerChain: SubordinateConfigChain @typing.type_check_only -class SubordinateConfigChain(typing_extensions.TypedDict, total=False): +class SubordinateConfigChain(typing.TypedDict, total=False): pemCertificates: _list[str] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UndeleteCertificateAuthorityRequest(typing_extensions.TypedDict, total=False): +class UndeleteCertificateAuthorityRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class UserDefinedAccessUrls(typing_extensions.TypedDict, total=False): +class UserDefinedAccessUrls(typing.TypedDict, total=False): aiaIssuingCertificateUrls: _list[str] crlAccessUrls: _list[str] @typing.type_check_only -class X509Extension(typing_extensions.TypedDict, total=False): +class X509Extension(typing.TypedDict, total=False): critical: bool objectId: ObjectId value: str @typing.type_check_only -class X509Parameters(typing_extensions.TypedDict, total=False): +class X509Parameters(typing.TypedDict, total=False): additionalExtensions: _list[X509Extension] aiaOcspServers: _list[str] caOptions: CaOptions diff --git a/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi index 573789b97..f742a4637 100644 --- a/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi index 2e980ab99..3178b1351 100644 --- a/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/privateca/v1beta1/schemas.pyi @@ -1,53 +1,51 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -55,7 +53,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -63,27 +61,27 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/resources.pyi index 16e2a29d4..ce8305d3e 100644 --- a/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/schemas.pyi index 6d09455ee..56d923c31 100644 --- a/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/prod_tt_sasportal/v1alpha1/schemas.pyi @@ -1,44 +1,42 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class SasPortalAssignment(typing_extensions.TypedDict, total=False): +class SasPortalAssignment(typing.TypedDict, total=False): members: _list[str] role: str @typing.type_check_only -class SasPortalChannelWithScore(typing_extensions.TypedDict, total=False): +class SasPortalChannelWithScore(typing.TypedDict, total=False): frequencyRange: SasPortalFrequencyRange score: float @typing.type_check_only -class SasPortalCreateSignedDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalCreateSignedDeviceRequest(typing.TypedDict, total=False): encodedDevice: str installerId: str @typing.type_check_only -class SasPortalCustomer(typing_extensions.TypedDict, total=False): +class SasPortalCustomer(typing.TypedDict, total=False): displayName: str name: str sasUserIds: _list[str] @typing.type_check_only -class SasPortalDeployment(typing_extensions.TypedDict, total=False): +class SasPortalDeployment(typing.TypedDict, total=False): displayName: str frns: _list[str] name: str sasUserIds: _list[str] @typing.type_check_only -class SasPortalDeploymentAssociation(typing_extensions.TypedDict, total=False): +class SasPortalDeploymentAssociation(typing.TypedDict, total=False): gcpProjectId: str userId: str @typing.type_check_only -class SasPortalDevice(typing_extensions.TypedDict, total=False): +class SasPortalDevice(typing.TypedDict, total=False): activeConfig: SasPortalDeviceConfig currentChannels: _list[SasPortalChannelWithScore] deviceMetadata: SasPortalDeviceMetadata @@ -49,13 +47,13 @@ class SasPortalDevice(typing_extensions.TypedDict, total=False): name: str preloadedConfig: SasPortalDeviceConfig serialNumber: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DEVICE_STATE_UNSPECIFIED", "RESERVED", "REGISTERED", "DEREGISTERED" ] @typing.type_check_only -class SasPortalDeviceAirInterface(typing_extensions.TypedDict, total=False): - radioTechnology: typing_extensions.Literal[ +class SasPortalDeviceAirInterface(typing.TypedDict, total=False): + radioTechnology: typing.Literal[ "RADIO_TECHNOLOGY_UNSPECIFIED", "E_UTRA", "CAMBIUM_NETWORKS", @@ -70,31 +68,29 @@ class SasPortalDeviceAirInterface(typing_extensions.TypedDict, total=False): supportedSpec: str @typing.type_check_only -class SasPortalDeviceConfig(typing_extensions.TypedDict, total=False): +class SasPortalDeviceConfig(typing.TypedDict, total=False): airInterface: SasPortalDeviceAirInterface callSign: str - category: typing_extensions.Literal[ + category: typing.Literal[ "DEVICE_CATEGORY_UNSPECIFIED", "DEVICE_CATEGORY_A", "DEVICE_CATEGORY_B" ] installationParams: SasPortalInstallationParams isSigned: bool measurementCapabilities: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEASUREMENT_CAPABILITY_UNSPECIFIED", "MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITH_GRANT", "MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITHOUT_GRANT", ] ] model: SasPortalDeviceModel - state: typing_extensions.Literal[ - "DEVICE_CONFIG_STATE_UNSPECIFIED", "DRAFT", "FINAL" - ] + state: typing.Literal["DEVICE_CONFIG_STATE_UNSPECIFIED", "DRAFT", "FINAL"] updateTime: str userId: str @typing.type_check_only -class SasPortalDeviceGrant(typing_extensions.TypedDict, total=False): - channelType: typing_extensions.Literal[ +class SasPortalDeviceGrant(typing.TypedDict, total=False): + channelType: typing.Literal[ "CHANNEL_TYPE_UNSPECIFIED", "CHANNEL_TYPE_GAA", "CHANNEL_TYPE_PAL" ] expireTime: str @@ -103,7 +99,7 @@ class SasPortalDeviceGrant(typing_extensions.TypedDict, total=False): lastHeartbeatTransmitExpireTime: str maxEirp: float moveList: _list[SasPortalDpaMoveList] - state: typing_extensions.Literal[ + state: typing.Literal[ "GRANT_STATE_UNSPECIFIED", "GRANT_STATE_GRANTED", "GRANT_STATE_TERMINATED", @@ -114,7 +110,7 @@ class SasPortalDeviceGrant(typing_extensions.TypedDict, total=False): suspensionReason: _list[str] @typing.type_check_only -class SasPortalDeviceMetadata(typing_extensions.TypedDict, total=False): +class SasPortalDeviceMetadata(typing.TypedDict, total=False): antennaModel: str commonChannelGroup: str interferenceCoordinationGroup: str @@ -122,7 +118,7 @@ class SasPortalDeviceMetadata(typing_extensions.TypedDict, total=False): nrqzValidation: SasPortalNrqzValidation @typing.type_check_only -class SasPortalDeviceModel(typing_extensions.TypedDict, total=False): +class SasPortalDeviceModel(typing.TypedDict, total=False): firmwareVersion: str hardwareVersion: str name: str @@ -130,36 +126,36 @@ class SasPortalDeviceModel(typing_extensions.TypedDict, total=False): vendor: str @typing.type_check_only -class SasPortalDpaMoveList(typing_extensions.TypedDict, total=False): +class SasPortalDpaMoveList(typing.TypedDict, total=False): dpaId: str frequencyRange: SasPortalFrequencyRange @typing.type_check_only -class SasPortalEmpty(typing_extensions.TypedDict, total=False): ... +class SasPortalEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalFrequencyRange(typing_extensions.TypedDict, total=False): +class SasPortalFrequencyRange(typing.TypedDict, total=False): highFrequencyMhz: float lowFrequencyMhz: float @typing.type_check_only -class SasPortalGcpProjectDeployment(typing_extensions.TypedDict, total=False): +class SasPortalGcpProjectDeployment(typing.TypedDict, total=False): deployment: SasPortalDeployment hasEnabledAnalytics: bool @typing.type_check_only -class SasPortalGenerateSecretRequest(typing_extensions.TypedDict, total=False): ... +class SasPortalGenerateSecretRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalGenerateSecretResponse(typing_extensions.TypedDict, total=False): +class SasPortalGenerateSecretResponse(typing.TypedDict, total=False): secret: str @typing.type_check_only -class SasPortalGetPolicyRequest(typing_extensions.TypedDict, total=False): +class SasPortalGetPolicyRequest(typing.TypedDict, total=False): resource: str @typing.type_check_only -class SasPortalInstallationParams(typing_extensions.TypedDict, total=False): +class SasPortalInstallationParams(typing.TypedDict, total=False): antennaAzimuth: int antennaBeamwidth: int antennaDowntilt: int @@ -168,7 +164,7 @@ class SasPortalInstallationParams(typing_extensions.TypedDict, total=False): cpeCbsdIndication: bool eirpCapability: int height: float - heightType: typing_extensions.Literal[ + heightType: typing.Literal[ "HEIGHT_TYPE_UNSPECIFIED", "HEIGHT_TYPE_AGL", "HEIGHT_TYPE_AMSL" ] horizontalAccuracy: float @@ -178,40 +174,36 @@ class SasPortalInstallationParams(typing_extensions.TypedDict, total=False): verticalAccuracy: float @typing.type_check_only -class SasPortalListCustomersResponse(typing_extensions.TypedDict, total=False): +class SasPortalListCustomersResponse(typing.TypedDict, total=False): customers: _list[SasPortalCustomer] nextPageToken: str @typing.type_check_only -class SasPortalListDeploymentsResponse(typing_extensions.TypedDict, total=False): +class SasPortalListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[SasPortalDeployment] nextPageToken: str @typing.type_check_only -class SasPortalListDevicesResponse(typing_extensions.TypedDict, total=False): +class SasPortalListDevicesResponse(typing.TypedDict, total=False): devices: _list[SasPortalDevice] nextPageToken: str @typing.type_check_only -class SasPortalListGcpProjectDeploymentsResponse( - typing_extensions.TypedDict, total=False -): +class SasPortalListGcpProjectDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[SasPortalGcpProjectDeployment] @typing.type_check_only -class SasPortalListLegacyOrganizationsResponse( - typing_extensions.TypedDict, total=False -): +class SasPortalListLegacyOrganizationsResponse(typing.TypedDict, total=False): organizations: _list[SasPortalOrganization] @typing.type_check_only -class SasPortalListNodesResponse(typing_extensions.TypedDict, total=False): +class SasPortalListNodesResponse(typing.TypedDict, total=False): nextPageToken: str nodes: _list[SasPortalNode] @typing.type_check_only -class SasPortalMigrateOrganizationMetadata(typing_extensions.TypedDict, total=False): - operationState: typing_extensions.Literal[ +class SasPortalMigrateOrganizationMetadata(typing.TypedDict, total=False): + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "OPERATION_STATE_PENDING", "OPERATION_STATE_RUNNING", @@ -220,41 +212,41 @@ class SasPortalMigrateOrganizationMetadata(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class SasPortalMigrateOrganizationRequest(typing_extensions.TypedDict, total=False): +class SasPortalMigrateOrganizationRequest(typing.TypedDict, total=False): organizationId: str @typing.type_check_only -class SasPortalMigrateOrganizationResponse(typing_extensions.TypedDict, total=False): +class SasPortalMigrateOrganizationResponse(typing.TypedDict, total=False): deploymentAssociation: _list[SasPortalDeploymentAssociation] @typing.type_check_only -class SasPortalMoveDeploymentRequest(typing_extensions.TypedDict, total=False): +class SasPortalMoveDeploymentRequest(typing.TypedDict, total=False): destination: str @typing.type_check_only -class SasPortalMoveDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalMoveDeviceRequest(typing.TypedDict, total=False): destination: str @typing.type_check_only -class SasPortalMoveNodeRequest(typing_extensions.TypedDict, total=False): +class SasPortalMoveNodeRequest(typing.TypedDict, total=False): destination: str @typing.type_check_only -class SasPortalNode(typing_extensions.TypedDict, total=False): +class SasPortalNode(typing.TypedDict, total=False): displayName: str name: str sasUserIds: _list[str] @typing.type_check_only -class SasPortalNrqzValidation(typing_extensions.TypedDict, total=False): +class SasPortalNrqzValidation(typing.TypedDict, total=False): caseId: str cpiId: str latitude: float longitude: float - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "FINAL"] + state: typing.Literal["STATE_UNSPECIFIED", "DRAFT", "FINAL"] @typing.type_check_only -class SasPortalOperation(typing_extensions.TypedDict, total=False): +class SasPortalOperation(typing.TypedDict, total=False): done: bool error: SasPortalStatus metadata: dict[str, typing.Any] @@ -262,70 +254,70 @@ class SasPortalOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class SasPortalOrganization(typing_extensions.TypedDict, total=False): +class SasPortalOrganization(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class SasPortalPolicy(typing_extensions.TypedDict, total=False): +class SasPortalPolicy(typing.TypedDict, total=False): assignments: _list[SasPortalAssignment] etag: str @typing.type_check_only -class SasPortalProvisionDeploymentRequest(typing_extensions.TypedDict, total=False): +class SasPortalProvisionDeploymentRequest(typing.TypedDict, total=False): newDeploymentDisplayName: str newOrganizationDisplayName: str organizationId: str @typing.type_check_only -class SasPortalProvisionDeploymentResponse(typing_extensions.TypedDict, total=False): +class SasPortalProvisionDeploymentResponse(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class SasPortalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class SasPortalSetPolicyRequest(typing.TypedDict, total=False): disableNotification: bool policy: SasPortalPolicy resource: str @typing.type_check_only -class SasPortalSetupSasAnalyticsMetadata(typing_extensions.TypedDict, total=False): ... +class SasPortalSetupSasAnalyticsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalSetupSasAnalyticsRequest(typing_extensions.TypedDict, total=False): +class SasPortalSetupSasAnalyticsRequest(typing.TypedDict, total=False): userId: str @typing.type_check_only -class SasPortalSetupSasAnalyticsResponse(typing_extensions.TypedDict, total=False): ... +class SasPortalSetupSasAnalyticsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalSignDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalSignDeviceRequest(typing.TypedDict, total=False): device: SasPortalDevice @typing.type_check_only -class SasPortalStatus(typing_extensions.TypedDict, total=False): +class SasPortalStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SasPortalTestPermissionsRequest(typing_extensions.TypedDict, total=False): +class SasPortalTestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] resource: str @typing.type_check_only -class SasPortalTestPermissionsResponse(typing_extensions.TypedDict, total=False): +class SasPortalTestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class SasPortalUpdateSignedDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalUpdateSignedDeviceRequest(typing.TypedDict, total=False): encodedDevice: str installerId: str @typing.type_check_only -class SasPortalValidateInstallerRequest(typing_extensions.TypedDict, total=False): +class SasPortalValidateInstallerRequest(typing.TypedDict, total=False): encodedSecret: str installerId: str secret: str @typing.type_check_only -class SasPortalValidateInstallerResponse(typing_extensions.TypedDict, total=False): ... +class SasPortalValidateInstallerResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/publicca/v1/resources.pyi b/googleapiclient-stubs/_apis/publicca/v1/resources.pyi index d9e884222..9a96e3a3c 100644 --- a/googleapiclient-stubs/_apis/publicca/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/publicca/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/publicca/v1/schemas.pyi b/googleapiclient-stubs/_apis/publicca/v1/schemas.pyi index 73f866c6b..0aa5b18f8 100644 --- a/googleapiclient-stubs/_apis/publicca/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/publicca/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ExternalAccountKey(typing_extensions.TypedDict, total=False): +class ExternalAccountKey(typing.TypedDict, total=False): b64MacKey: str keyId: str name: str diff --git a/googleapiclient-stubs/_apis/publicca/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/publicca/v1alpha1/resources.pyi index d9e884222..9a96e3a3c 100644 --- a/googleapiclient-stubs/_apis/publicca/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/publicca/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/publicca/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/publicca/v1alpha1/schemas.pyi index 73f866c6b..0aa5b18f8 100644 --- a/googleapiclient-stubs/_apis/publicca/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/publicca/v1alpha1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ExternalAccountKey(typing_extensions.TypedDict, total=False): +class ExternalAccountKey(typing.TypedDict, total=False): b64MacKey: str keyId: str name: str diff --git a/googleapiclient-stubs/_apis/publicca/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/publicca/v1beta1/resources.pyi index d9e884222..9a96e3a3c 100644 --- a/googleapiclient-stubs/_apis/publicca/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/publicca/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/publicca/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/publicca/v1beta1/schemas.pyi index 73f866c6b..0aa5b18f8 100644 --- a/googleapiclient-stubs/_apis/publicca/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/publicca/v1beta1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ExternalAccountKey(typing_extensions.TypedDict, total=False): +class ExternalAccountKey(typing.TypedDict, total=False): b64MacKey: str keyId: str name: str diff --git a/googleapiclient-stubs/_apis/pubsub/v1/resources.pyi b/googleapiclient-stubs/_apis/pubsub/v1/resources.pyi index 8ccb42f05..e87ea5e06 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -38,9 +37,7 @@ class PubsubResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "SCHEMA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["SCHEMA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> SchemaHttpRequest: ... @@ -57,9 +54,7 @@ class PubsubResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "SCHEMA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["SCHEMA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListSchemasResponseHttpRequest: ... @@ -74,9 +69,7 @@ class PubsubResource(googleapiclient.discovery.Resource): name: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "SCHEMA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["SCHEMA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListSchemaRevisionsResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi b/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi index bc1abc14e..1ea4920a1 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi @@ -1,38 +1,36 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AIInference(typing_extensions.TypedDict, total=False): +class AIInference(typing.TypedDict, total=False): endpoint: str serviceAccountEmail: str unstructuredInference: UnstructuredInference @typing.type_check_only -class AcknowledgeRequest(typing_extensions.TypedDict, total=False): +class AcknowledgeRequest(typing.TypedDict, total=False): ackIds: _list[str] @typing.type_check_only -class AnalyticsHubSubscriptionInfo(typing_extensions.TypedDict, total=False): +class AnalyticsHubSubscriptionInfo(typing.TypedDict, total=False): listing: str subscription: str @typing.type_check_only -class AvroConfig(typing_extensions.TypedDict, total=False): +class AvroConfig(typing.TypedDict, total=False): useTopicSchema: bool writeMetadata: bool @typing.type_check_only -class AvroFormat(typing_extensions.TypedDict, total=False): ... +class AvroFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class AwsKinesis(typing_extensions.TypedDict, total=False): +class AwsKinesis(typing.TypedDict, total=False): awsRoleArn: str consumerArn: str gcpServiceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "KINESIS_PERMISSION_DENIED", @@ -44,11 +42,11 @@ class AwsKinesis(typing_extensions.TypedDict, total=False): streamArn: str @typing.type_check_only -class AwsMsk(typing_extensions.TypedDict, total=False): +class AwsMsk(typing.TypedDict, total=False): awsRoleArn: str clusterArn: str gcpServiceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "MSK_PERMISSION_DENIED", @@ -60,13 +58,13 @@ class AwsMsk(typing_extensions.TypedDict, total=False): topic: str @typing.type_check_only -class AzureEventHubs(typing_extensions.TypedDict, total=False): +class AzureEventHubs(typing.TypedDict, total=False): clientId: str eventHub: str gcpServiceAccount: str namespace: str resourceGroup: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "EVENT_HUBS_PERMISSION_DENIED", @@ -81,10 +79,10 @@ class AzureEventHubs(typing_extensions.TypedDict, total=False): tenantId: str @typing.type_check_only -class BigQueryConfig(typing_extensions.TypedDict, total=False): +class BigQueryConfig(typing.TypedDict, total=False): dropUnknownFields: bool serviceAccountEmail: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "PERMISSION_DENIED", @@ -99,10 +97,10 @@ class BigQueryConfig(typing_extensions.TypedDict, total=False): writeMetadata: bool @typing.type_check_only -class BigtableConfig(typing_extensions.TypedDict, total=False): +class BigtableConfig(typing.TypedDict, total=False): appProfileId: str serviceAccountEmail: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "NOT_FOUND", @@ -116,19 +114,19 @@ class BigtableConfig(typing_extensions.TypedDict, total=False): writeMetadata: bool @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CloudStorage(typing_extensions.TypedDict, total=False): +class CloudStorage(typing.TypedDict, total=False): avroFormat: AvroFormat bucket: str matchGlob: str minimumObjectCreateTime: str pubsubAvroFormat: PubSubAvroFormat - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CLOUD_STORAGE_PERMISSION_DENIED", @@ -140,7 +138,7 @@ class CloudStorage(typing_extensions.TypedDict, total=False): textFormat: TextFormat @typing.type_check_only -class CloudStorageConfig(typing_extensions.TypedDict, total=False): +class CloudStorageConfig(typing.TypedDict, total=False): avroConfig: AvroConfig bucket: str filenameDatetimeFormat: str @@ -150,7 +148,7 @@ class CloudStorageConfig(typing_extensions.TypedDict, total=False): maxDuration: str maxMessages: str serviceAccountEmail: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "PERMISSION_DENIED", @@ -162,25 +160,23 @@ class CloudStorageConfig(typing_extensions.TypedDict, total=False): textConfig: TextConfig @typing.type_check_only -class CommitSchemaRequest(typing_extensions.TypedDict, total=False): +class CommitSchemaRequest(typing.TypedDict, total=False): schema: Schema @typing.type_check_only -class Compression(typing_extensions.TypedDict, total=False): - compressionAlgorithm: typing_extensions.Literal[ - "COMPRESSION_ALGORITHM_UNSPECIFIED", "ZLIB" - ] - compressionMode: typing_extensions.Literal[ +class Compression(typing.TypedDict, total=False): + compressionAlgorithm: typing.Literal["COMPRESSION_ALGORITHM_UNSPECIFIED", "ZLIB"] + compressionMode: typing.Literal[ "COMPRESSION_MODE_UNSPECIFIED", "COMPRESS", "DECOMPRESS" ] @typing.type_check_only -class ConfluentCloud(typing_extensions.TypedDict, total=False): +class ConfluentCloud(typing.TypedDict, total=False): bootstrapServer: str clusterId: str gcpServiceAccount: str identityPoolId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CONFLUENT_CLOUD_PERMISSION_DENIED", @@ -193,35 +189,35 @@ class ConfluentCloud(typing_extensions.TypedDict, total=False): topic: str @typing.type_check_only -class CreateSnapshotRequest(typing_extensions.TypedDict, total=False): +class CreateSnapshotRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] subscription: str tags: dict[str, typing.Any] @typing.type_check_only -class DeadLetterPolicy(typing_extensions.TypedDict, total=False): +class DeadLetterPolicy(typing.TypedDict, total=False): deadLetterTopic: str maxDeliveryAttempts: int @typing.type_check_only -class DetachSubscriptionResponse(typing_extensions.TypedDict, total=False): ... +class DetachSubscriptionResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExpirationPolicy(typing_extensions.TypedDict, total=False): +class ExpirationPolicy(typing.TypedDict, total=False): ttl: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class IngestionDataSourceSettings(typing_extensions.TypedDict, total=False): +class IngestionDataSourceSettings(typing.TypedDict, total=False): awsKinesis: AwsKinesis awsMsk: AwsMsk azureEventHubs: AzureEventHubs @@ -230,52 +226,52 @@ class IngestionDataSourceSettings(typing_extensions.TypedDict, total=False): platformLogsSettings: PlatformLogsSettings @typing.type_check_only -class JavaScriptUDF(typing_extensions.TypedDict, total=False): +class JavaScriptUDF(typing.TypedDict, total=False): code: str functionName: str @typing.type_check_only -class ListSchemaRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListSchemaRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str schemas: _list[Schema] @typing.type_check_only -class ListSchemasResponse(typing_extensions.TypedDict, total=False): +class ListSchemasResponse(typing.TypedDict, total=False): nextPageToken: str schemas: _list[Schema] @typing.type_check_only -class ListSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListSnapshotsResponse(typing.TypedDict, total=False): nextPageToken: str snapshots: _list[Snapshot] @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] @typing.type_check_only -class ListTopicSnapshotsResponse(typing_extensions.TypedDict, total=False): +class ListTopicSnapshotsResponse(typing.TypedDict, total=False): nextPageToken: str snapshots: _list[str] @typing.type_check_only -class ListTopicSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListTopicSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[str] @typing.type_check_only -class ListTopicsResponse(typing_extensions.TypedDict, total=False): +class ListTopicsResponse(typing.TypedDict, total=False): nextPageToken: str topics: _list[Topic] @typing.type_check_only -class MessageStoragePolicy(typing_extensions.TypedDict, total=False): +class MessageStoragePolicy(typing.TypedDict, total=False): allowedPersistenceRegions: _list[str] enforceInTransit: bool @typing.type_check_only -class MessageTransform(typing_extensions.TypedDict, total=False): +class MessageTransform(typing.TypedDict, total=False): aiInference: AIInference compression: Compression disabled: bool @@ -283,48 +279,48 @@ class MessageTransform(typing_extensions.TypedDict, total=False): javascriptUdf: JavaScriptUDF @typing.type_check_only -class ModifyAckDeadlineRequest(typing_extensions.TypedDict, total=False): +class ModifyAckDeadlineRequest(typing.TypedDict, total=False): ackDeadlineSeconds: int ackIds: _list[str] @typing.type_check_only -class ModifyPushConfigRequest(typing_extensions.TypedDict, total=False): +class ModifyPushConfigRequest(typing.TypedDict, total=False): pushConfig: PushConfig @typing.type_check_only -class NoWrapper(typing_extensions.TypedDict, total=False): +class NoWrapper(typing.TypedDict, total=False): writeMetadata: bool @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class PlatformLogsSettings(typing_extensions.TypedDict, total=False): - severity: typing_extensions.Literal[ +class PlatformLogsSettings(typing.TypedDict, total=False): + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "DISABLED", "DEBUG", "INFO", "WARNING", "ERROR" ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PubSubAvroFormat(typing_extensions.TypedDict, total=False): ... +class PubSubAvroFormat(typing.TypedDict, total=False): ... @typing.type_check_only -class PublishRequest(typing_extensions.TypedDict, total=False): +class PublishRequest(typing.TypedDict, total=False): messages: _list[PubsubMessage] @typing.type_check_only -class PublishResponse(typing_extensions.TypedDict, total=False): +class PublishResponse(typing.TypedDict, total=False): messageIds: _list[str] @typing.type_check_only -class PubsubMessage(typing_extensions.TypedDict, total=False): +class PubsubMessage(typing.TypedDict, total=False): attributes: dict[str, typing.Any] data: str messageId: str @@ -332,19 +328,19 @@ class PubsubMessage(typing_extensions.TypedDict, total=False): publishTime: str @typing.type_check_only -class PubsubWrapper(typing_extensions.TypedDict, total=False): ... +class PubsubWrapper(typing.TypedDict, total=False): ... @typing.type_check_only -class PullRequest(typing_extensions.TypedDict, total=False): +class PullRequest(typing.TypedDict, total=False): maxMessages: int returnImmediately: bool @typing.type_check_only -class PullResponse(typing_extensions.TypedDict, total=False): +class PullResponse(typing.TypedDict, total=False): receivedMessages: _list[ReceivedMessage] @typing.type_check_only -class PushConfig(typing_extensions.TypedDict, total=False): +class PushConfig(typing.TypedDict, total=False): attributes: dict[str, typing.Any] noWrapper: NoWrapper oidcToken: OidcToken @@ -352,56 +348,56 @@ class PushConfig(typing_extensions.TypedDict, total=False): pushEndpoint: str @typing.type_check_only -class ReceivedMessage(typing_extensions.TypedDict, total=False): +class ReceivedMessage(typing.TypedDict, total=False): ackId: str deliveryAttempt: int message: PubsubMessage @typing.type_check_only -class RetryPolicy(typing_extensions.TypedDict, total=False): +class RetryPolicy(typing.TypedDict, total=False): maximumBackoff: str minimumBackoff: str @typing.type_check_only -class RollbackSchemaRequest(typing_extensions.TypedDict, total=False): +class RollbackSchemaRequest(typing.TypedDict, total=False): revisionId: str @typing.type_check_only -class Schema(typing_extensions.TypedDict, total=False): +class Schema(typing.TypedDict, total=False): definition: str name: str revisionCreateTime: str revisionId: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "PROTOCOL_BUFFER", "AVRO"] + type: typing.Literal["TYPE_UNSPECIFIED", "PROTOCOL_BUFFER", "AVRO"] @typing.type_check_only -class SchemaSettings(typing_extensions.TypedDict, total=False): - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "JSON", "BINARY"] +class SchemaSettings(typing.TypedDict, total=False): + encoding: typing.Literal["ENCODING_UNSPECIFIED", "JSON", "BINARY"] firstRevisionId: str lastRevisionId: str schema: str @typing.type_check_only -class SeekRequest(typing_extensions.TypedDict, total=False): +class SeekRequest(typing.TypedDict, total=False): snapshot: str time: str @typing.type_check_only -class SeekResponse(typing_extensions.TypedDict, total=False): ... +class SeekResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Snapshot(typing_extensions.TypedDict, total=False): +class Snapshot(typing.TypedDict, total=False): expireTime: str labels: dict[str, typing.Any] name: str topic: str @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): ackDeadlineSeconds: int analyticsHubSubscriptionInfo: AnalyticsHubSubscriptionInfo bigqueryConfig: BigQueryConfig @@ -420,28 +416,28 @@ class Subscription(typing_extensions.TypedDict, total=False): pushConfig: PushConfig retainAckedMessages: bool retryPolicy: RetryPolicy - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOURCE_ERROR"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOURCE_ERROR"] tags: dict[str, typing.Any] topic: str topicMessageRetentionDuration: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TextConfig(typing_extensions.TypedDict, total=False): ... +class TextConfig(typing.TypedDict, total=False): ... @typing.type_check_only -class TextFormat(typing_extensions.TypedDict, total=False): +class TextFormat(typing.TypedDict, total=False): delimiter: str @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): ingestionDataSourceSettings: IngestionDataSourceSettings kmsKeyName: str labels: dict[str, typing.Any] @@ -451,43 +447,41 @@ class Topic(typing_extensions.TypedDict, total=False): name: str satisfiesPzs: bool schemaSettings: SchemaSettings - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "INGESTION_RESOURCE_ERROR" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INGESTION_RESOURCE_ERROR"] tags: dict[str, typing.Any] @typing.type_check_only -class UnstructuredInference(typing_extensions.TypedDict, total=False): +class UnstructuredInference(typing.TypedDict, total=False): parameters: dict[str, typing.Any] @typing.type_check_only -class UpdateSnapshotRequest(typing_extensions.TypedDict, total=False): +class UpdateSnapshotRequest(typing.TypedDict, total=False): snapshot: Snapshot updateMask: str @typing.type_check_only -class UpdateSubscriptionRequest(typing_extensions.TypedDict, total=False): +class UpdateSubscriptionRequest(typing.TypedDict, total=False): subscription: Subscription updateMask: str @typing.type_check_only -class UpdateTopicRequest(typing_extensions.TypedDict, total=False): +class UpdateTopicRequest(typing.TypedDict, total=False): topic: Topic updateMask: str @typing.type_check_only -class ValidateMessageRequest(typing_extensions.TypedDict, total=False): - encoding: typing_extensions.Literal["ENCODING_UNSPECIFIED", "JSON", "BINARY"] +class ValidateMessageRequest(typing.TypedDict, total=False): + encoding: typing.Literal["ENCODING_UNSPECIFIED", "JSON", "BINARY"] message: str name: str schema: Schema @typing.type_check_only -class ValidateMessageResponse(typing_extensions.TypedDict, total=False): ... +class ValidateMessageResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ValidateSchemaRequest(typing_extensions.TypedDict, total=False): +class ValidateSchemaRequest(typing.TypedDict, total=False): schema: Schema @typing.type_check_only -class ValidateSchemaResponse(typing_extensions.TypedDict, total=False): ... +class ValidateSchemaResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/pubsub/v1beta1a/resources.pyi b/googleapiclient-stubs/_apis/pubsub/v1beta1a/resources.pyi index 412f5b476..07879bf96 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1beta1a/resources.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1beta1a/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/pubsub/v1beta1a/schemas.pyi b/googleapiclient-stubs/_apis/pubsub/v1beta1a/schemas.pyi index 8c82f98fc..dba81c3d3 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1beta1a/schemas.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1beta1a/schemas.pyi @@ -1,104 +1,102 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcknowledgeRequest(typing_extensions.TypedDict, total=False): +class AcknowledgeRequest(typing.TypedDict, total=False): ackId: _list[str] subscription: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): key: str numValue: str strValue: str @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscription: _list[Subscription] @typing.type_check_only -class ListTopicsResponse(typing_extensions.TypedDict, total=False): +class ListTopicsResponse(typing.TypedDict, total=False): nextPageToken: str topic: _list[Topic] @typing.type_check_only -class ModifyAckDeadlineRequest(typing_extensions.TypedDict, total=False): +class ModifyAckDeadlineRequest(typing.TypedDict, total=False): ackDeadlineSeconds: int ackId: str ackIds: _list[str] subscription: str @typing.type_check_only -class ModifyPushConfigRequest(typing_extensions.TypedDict, total=False): +class ModifyPushConfigRequest(typing.TypedDict, total=False): pushConfig: PushConfig subscription: str @typing.type_check_only -class PublishBatchRequest(typing_extensions.TypedDict, total=False): +class PublishBatchRequest(typing.TypedDict, total=False): messages: _list[PubsubMessage] topic: str @typing.type_check_only -class PublishBatchResponse(typing_extensions.TypedDict, total=False): +class PublishBatchResponse(typing.TypedDict, total=False): messageIds: _list[str] @typing.type_check_only -class PublishRequest(typing_extensions.TypedDict, total=False): +class PublishRequest(typing.TypedDict, total=False): message: PubsubMessage topic: str @typing.type_check_only -class PubsubEvent(typing_extensions.TypedDict, total=False): +class PubsubEvent(typing.TypedDict, total=False): deleted: bool message: PubsubMessage subscription: str truncated: bool @typing.type_check_only -class PubsubMessage(typing_extensions.TypedDict, total=False): +class PubsubMessage(typing.TypedDict, total=False): data: str label: _list[Label] messageId: str publishTime: str @typing.type_check_only -class PullBatchRequest(typing_extensions.TypedDict, total=False): +class PullBatchRequest(typing.TypedDict, total=False): maxEvents: int returnImmediately: bool subscription: str @typing.type_check_only -class PullBatchResponse(typing_extensions.TypedDict, total=False): +class PullBatchResponse(typing.TypedDict, total=False): pullResponses: _list[PullResponse] @typing.type_check_only -class PullRequest(typing_extensions.TypedDict, total=False): +class PullRequest(typing.TypedDict, total=False): returnImmediately: bool subscription: str @typing.type_check_only -class PullResponse(typing_extensions.TypedDict, total=False): +class PullResponse(typing.TypedDict, total=False): ackId: str pubsubEvent: PubsubEvent @typing.type_check_only -class PushConfig(typing_extensions.TypedDict, total=False): +class PushConfig(typing.TypedDict, total=False): pushEndpoint: str @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): ackDeadlineSeconds: int name: str pushConfig: PushConfig topic: str @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): name: str diff --git a/googleapiclient-stubs/_apis/pubsub/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/pubsub/v1beta2/resources.pyi index f3f1f1375..253d2d14c 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/pubsub/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/pubsub/v1beta2/schemas.pyi index ad9391823..11d3c9c8b 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1beta2/schemas.pyi @@ -1,119 +1,117 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcknowledgeRequest(typing_extensions.TypedDict, total=False): +class AcknowledgeRequest(typing.TypedDict, total=False): ackIds: _list[str] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] @typing.type_check_only -class ListTopicSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListTopicSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[str] @typing.type_check_only -class ListTopicsResponse(typing_extensions.TypedDict, total=False): +class ListTopicsResponse(typing.TypedDict, total=False): nextPageToken: str topics: _list[Topic] @typing.type_check_only -class ModifyAckDeadlineRequest(typing_extensions.TypedDict, total=False): +class ModifyAckDeadlineRequest(typing.TypedDict, total=False): ackDeadlineSeconds: int ackId: str ackIds: _list[str] @typing.type_check_only -class ModifyPushConfigRequest(typing_extensions.TypedDict, total=False): +class ModifyPushConfigRequest(typing.TypedDict, total=False): pushConfig: PushConfig @typing.type_check_only -class OidcToken(typing_extensions.TypedDict, total=False): +class OidcToken(typing.TypedDict, total=False): audience: str serviceAccountEmail: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PublishRequest(typing_extensions.TypedDict, total=False): +class PublishRequest(typing.TypedDict, total=False): messages: _list[PubsubMessage] @typing.type_check_only -class PublishResponse(typing_extensions.TypedDict, total=False): +class PublishResponse(typing.TypedDict, total=False): messageIds: _list[str] @typing.type_check_only -class PubsubMessage(typing_extensions.TypedDict, total=False): +class PubsubMessage(typing.TypedDict, total=False): attributes: dict[str, typing.Any] data: str messageId: str publishTime: str @typing.type_check_only -class PullRequest(typing_extensions.TypedDict, total=False): +class PullRequest(typing.TypedDict, total=False): maxMessages: int returnImmediately: bool @typing.type_check_only -class PullResponse(typing_extensions.TypedDict, total=False): +class PullResponse(typing.TypedDict, total=False): receivedMessages: _list[ReceivedMessage] @typing.type_check_only -class PushConfig(typing_extensions.TypedDict, total=False): +class PushConfig(typing.TypedDict, total=False): attributes: dict[str, typing.Any] oidcToken: OidcToken pushEndpoint: str @typing.type_check_only -class ReceivedMessage(typing_extensions.TypedDict, total=False): +class ReceivedMessage(typing.TypedDict, total=False): ackId: str message: PubsubMessage @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): ackDeadlineSeconds: int name: str pushConfig: PushConfig topic: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): name: str diff --git a/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi b/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi index ba366b04a..b8bd4eba4 100644 --- a/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/pubsublite/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi b/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi index 843054fb9..861e209cb 100644 --- a/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/pubsublite/v1/schemas.pyi @@ -1,119 +1,117 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Capacity(typing_extensions.TypedDict, total=False): +class Capacity(typing.TypedDict, total=False): publishMibPerSec: int subscribeMibPerSec: int @typing.type_check_only -class CommitCursorRequest(typing_extensions.TypedDict, total=False): +class CommitCursorRequest(typing.TypedDict, total=False): cursor: Cursor partition: str @typing.type_check_only -class CommitCursorResponse(typing_extensions.TypedDict, total=False): ... +class CommitCursorResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class ComputeHeadCursorRequest(typing_extensions.TypedDict, total=False): +class ComputeHeadCursorRequest(typing.TypedDict, total=False): partition: str @typing.type_check_only -class ComputeHeadCursorResponse(typing_extensions.TypedDict, total=False): +class ComputeHeadCursorResponse(typing.TypedDict, total=False): headCursor: Cursor @typing.type_check_only -class ComputeMessageStatsRequest(typing_extensions.TypedDict, total=False): +class ComputeMessageStatsRequest(typing.TypedDict, total=False): endCursor: Cursor partition: str startCursor: Cursor @typing.type_check_only -class ComputeMessageStatsResponse(typing_extensions.TypedDict, total=False): +class ComputeMessageStatsResponse(typing.TypedDict, total=False): messageBytes: str messageCount: str minimumEventTime: str minimumPublishTime: str @typing.type_check_only -class ComputeTimeCursorRequest(typing_extensions.TypedDict, total=False): +class ComputeTimeCursorRequest(typing.TypedDict, total=False): partition: str target: TimeTarget @typing.type_check_only -class ComputeTimeCursorResponse(typing_extensions.TypedDict, total=False): +class ComputeTimeCursorResponse(typing.TypedDict, total=False): cursor: Cursor @typing.type_check_only -class Cursor(typing_extensions.TypedDict, total=False): +class Cursor(typing.TypedDict, total=False): offset: str @typing.type_check_only -class DeliveryConfig(typing_extensions.TypedDict, total=False): - deliveryRequirement: typing_extensions.Literal[ +class DeliveryConfig(typing.TypedDict, total=False): + deliveryRequirement: typing.Literal[ "DELIVERY_REQUIREMENT_UNSPECIFIED", "DELIVER_IMMEDIATELY", "DELIVER_AFTER_STORED", ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExportConfig(typing_extensions.TypedDict, total=False): - currentState: typing_extensions.Literal[ +class ExportConfig(typing.TypedDict, total=False): + currentState: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "PERMISSION_DENIED", "NOT_FOUND" ] deadLetterTopic: str - desiredState: typing_extensions.Literal[ + desiredState: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "PAUSED", "PERMISSION_DENIED", "NOT_FOUND" ] pubsubConfig: PubSubConfig @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPartitionCursorsResponse(typing_extensions.TypedDict, total=False): +class ListPartitionCursorsResponse(typing.TypedDict, total=False): nextPageToken: str partitionCursors: _list[PartitionCursor] @typing.type_check_only -class ListReservationTopicsResponse(typing_extensions.TypedDict, total=False): +class ListReservationTopicsResponse(typing.TypedDict, total=False): nextPageToken: str topics: _list[str] @typing.type_check_only -class ListReservationsResponse(typing_extensions.TypedDict, total=False): +class ListReservationsResponse(typing.TypedDict, total=False): nextPageToken: str reservations: _list[Reservation] @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] @typing.type_check_only -class ListTopicSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListTopicSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[str] @typing.type_check_only -class ListTopicsResponse(typing_extensions.TypedDict, total=False): +class ListTopicsResponse(typing.TypedDict, total=False): nextPageToken: str topics: _list[Topic] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -121,74 +119,74 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str target: str verb: str @typing.type_check_only -class PartitionConfig(typing_extensions.TypedDict, total=False): +class PartitionConfig(typing.TypedDict, total=False): capacity: Capacity count: str scale: int @typing.type_check_only -class PartitionCursor(typing_extensions.TypedDict, total=False): +class PartitionCursor(typing.TypedDict, total=False): cursor: Cursor partition: str @typing.type_check_only -class PubSubConfig(typing_extensions.TypedDict, total=False): +class PubSubConfig(typing.TypedDict, total=False): topic: str @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): name: str throughputCapacity: str @typing.type_check_only -class ReservationConfig(typing_extensions.TypedDict, total=False): +class ReservationConfig(typing.TypedDict, total=False): throughputReservation: str @typing.type_check_only -class RetentionConfig(typing_extensions.TypedDict, total=False): +class RetentionConfig(typing.TypedDict, total=False): perPartitionBytes: str period: str @typing.type_check_only -class SeekSubscriptionRequest(typing_extensions.TypedDict, total=False): - namedTarget: typing_extensions.Literal["NAMED_TARGET_UNSPECIFIED", "TAIL", "HEAD"] +class SeekSubscriptionRequest(typing.TypedDict, total=False): + namedTarget: typing.Literal["NAMED_TARGET_UNSPECIFIED", "TAIL", "HEAD"] timeTarget: TimeTarget @typing.type_check_only -class SeekSubscriptionResponse(typing_extensions.TypedDict, total=False): ... +class SeekSubscriptionResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): deliveryConfig: DeliveryConfig exportConfig: ExportConfig name: str topic: str @typing.type_check_only -class TimeTarget(typing_extensions.TypedDict, total=False): +class TimeTarget(typing.TypedDict, total=False): eventTime: str publishTime: str @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): name: str partitionConfig: PartitionConfig reservationConfig: ReservationConfig retentionConfig: RetentionConfig @typing.type_check_only -class TopicPartitions(typing_extensions.TypedDict, total=False): +class TopicPartitions(typing.TypedDict, total=False): partitionCount: str diff --git a/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi b/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi index c223ef431..997ca2e1c 100644 --- a/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/schemas.pyi b/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/schemas.pyi index b73581c5d..b4040815f 100644 --- a/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/rapidmigrationassessment/v1/schemas.pyi @@ -1,24 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Annotation(typing_extensions.TypedDict, total=False): +class Annotation(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_LEGACY_EXPORT_CONSENT", "TYPE_QWIKLAB" ] updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Collector(typing_extensions.TypedDict, total=False): +class Collector(typing.TypedDict, total=False): bucket: str clientVersion: str collectionDays: int @@ -31,7 +29,7 @@ class Collector(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_INITIALIZING", "STATE_READY_TO_USE", @@ -46,30 +44,30 @@ class Collector(typing_extensions.TypedDict, total=False): vsphereScan: VSphereScan @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GuestOsScan(typing_extensions.TypedDict, total=False): +class GuestOsScan(typing.TypedDict, total=False): coreSource: str @typing.type_check_only -class ListCollectorsResponse(typing_extensions.TypedDict, total=False): +class ListCollectorsResponse(typing.TypedDict, total=False): collectors: _list[Collector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -77,7 +75,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -85,7 +83,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -95,23 +93,23 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseCollectorRequest(typing_extensions.TypedDict, total=False): +class PauseCollectorRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class RegisterCollectorRequest(typing_extensions.TypedDict, total=False): +class RegisterCollectorRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class ResumeCollectorRequest(typing_extensions.TypedDict, total=False): +class ResumeCollectorRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class VSphereScan(typing_extensions.TypedDict, total=False): +class VSphereScan(typing.TypedDict, total=False): coreSource: str diff --git a/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/resources.pyi b/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/resources.pyi index 7af377c32..ded9b632d 100644 --- a/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi b/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi index a29abcfae..167f1dfa1 100644 --- a/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/readerrevenuesubscriptionlinking/v1/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DeleteReaderResponse(typing_extensions.TypedDict, total=False): ... +class DeleteReaderResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Entitlement(typing_extensions.TypedDict, total=False): +class Entitlement(typing.TypedDict, total=False): detail: str expireTime: str productId: str subscriptionToken: str @typing.type_check_only -class Reader(typing_extensions.TypedDict, total=False): +class Reader(typing.TypedDict, total=False): createTime: str name: str originatingPublicationId: str @@ -23,6 +21,6 @@ class Reader(typing_extensions.TypedDict, total=False): publicationId: str @typing.type_check_only -class ReaderEntitlements(typing_extensions.TypedDict, total=False): +class ReaderEntitlements(typing.TypedDict, total=False): entitlements: _list[Entitlement] name: str diff --git a/googleapiclient-stubs/_apis/realtimebidding/v1/resources.pyi b/googleapiclient-stubs/_apis/realtimebidding/v1/resources.pyi index c8d94f430..2264cdb65 100644 --- a/googleapiclient-stubs/_apis/realtimebidding/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/realtimebidding/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -24,7 +23,7 @@ class RealTimeBiddingResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CREATIVE_VIEW_UNSPECIFIED", "SERVING_DECISION_ONLY", "FULL" ] | None = ..., @@ -219,7 +218,7 @@ class RealTimeBiddingResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "CREATIVE_VIEW_UNSPECIFIED", "SERVING_DECISION_ONLY", "FULL" ] | None = ..., @@ -232,7 +231,7 @@ class RealTimeBiddingResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "CREATIVE_VIEW_UNSPECIFIED", "SERVING_DECISION_ONLY", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi b/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi index a348a3050..a3e662725 100644 --- a/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/realtimebidding/v1/schemas.pyi @@ -1,71 +1,67 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActivatePretargetingConfigRequest(typing_extensions.TypedDict, total=False): ... +class ActivatePretargetingConfigRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class AdTechnologyProviders(typing_extensions.TypedDict, total=False): +class AdTechnologyProviders(typing.TypedDict, total=False): detectedGvlIds: _list[str] detectedProviderIds: _list[str] unidentifiedProviderDomains: _list[str] @typing.type_check_only -class AddTargetedAppsRequest(typing_extensions.TypedDict, total=False): +class AddTargetedAppsRequest(typing.TypedDict, total=False): appIds: _list[str] - targetingMode: typing_extensions.Literal[ + targetingMode: typing.Literal[ "TARGETING_MODE_UNSPECIFIED", "INCLUSIVE", "EXCLUSIVE" ] @typing.type_check_only -class AddTargetedPublishersRequest(typing_extensions.TypedDict, total=False): +class AddTargetedPublishersRequest(typing.TypedDict, total=False): publisherIds: _list[str] - targetingMode: typing_extensions.Literal[ + targetingMode: typing.Literal[ "TARGETING_MODE_UNSPECIFIED", "INCLUSIVE", "EXCLUSIVE" ] @typing.type_check_only -class AddTargetedSitesRequest(typing_extensions.TypedDict, total=False): +class AddTargetedSitesRequest(typing.TypedDict, total=False): sites: _list[str] - targetingMode: typing_extensions.Literal[ + targetingMode: typing.Literal[ "TARGETING_MODE_UNSPECIFIED", "INCLUSIVE", "EXCLUSIVE" ] @typing.type_check_only -class AdvertiserAndBrand(typing_extensions.TypedDict, total=False): +class AdvertiserAndBrand(typing.TypedDict, total=False): advertiserId: str advertiserName: str brandId: str brandName: str @typing.type_check_only -class AppTargeting(typing_extensions.TypedDict, total=False): +class AppTargeting(typing.TypedDict, total=False): mobileAppCategoryTargeting: NumericTargetingDimension mobileAppTargeting: StringTargetingDimension @typing.type_check_only -class BatchApprovePublisherConnectionsRequest(typing_extensions.TypedDict, total=False): +class BatchApprovePublisherConnectionsRequest(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class BatchApprovePublisherConnectionsResponse( - typing_extensions.TypedDict, total=False -): +class BatchApprovePublisherConnectionsResponse(typing.TypedDict, total=False): publisherConnections: _list[PublisherConnection] @typing.type_check_only -class BatchRejectPublisherConnectionsRequest(typing_extensions.TypedDict, total=False): +class BatchRejectPublisherConnectionsRequest(typing.TypedDict, total=False): names: _list[str] @typing.type_check_only -class BatchRejectPublisherConnectionsResponse(typing_extensions.TypedDict, total=False): +class BatchRejectPublisherConnectionsResponse(typing.TypedDict, total=False): publisherConnections: _list[PublisherConnection] @typing.type_check_only -class Bidder(typing_extensions.TypedDict, total=False): +class Bidder(typing.TypedDict, total=False): bypassNonguaranteedDealsPretargeting: bool cookieMatchingNetworkId: str cookieMatchingUrl: str @@ -73,7 +69,7 @@ class Bidder(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Buyer(typing_extensions.TypedDict, total=False): +class Buyer(typing.TypedDict, total=False): activeCreativeCount: str bidder: str billingIds: _list[str] @@ -82,23 +78,23 @@ class Buyer(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class CloseUserListRequest(typing_extensions.TypedDict, total=False): ... +class CloseUserListRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Creative(typing_extensions.TypedDict, total=False): +class Creative(typing.TypedDict, total=False): accountId: str adChoicesDestinationUrl: str advertiserName: str agencyId: str apiUpdateTime: str - creativeFormat: typing_extensions.Literal[ + creativeFormat: typing.Literal[ "CREATIVE_FORMAT_UNSPECIFIED", "HTML", "VIDEO", "NATIVE" ] creativeId: str creativeServingDecision: CreativeServingDecision dealIds: _list[str] declaredAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ATTRIBUTE_UNSPECIFIED", "IMAGE_RICH_MEDIA", "ADOBE_FLASH_FLV", @@ -142,7 +138,7 @@ class Creative(typing_extensions.TypedDict, total=False): ] declaredClickThroughUrls: _list[str] declaredRestrictedCategories: _list[ - typing_extensions.Literal["RESTRICTED_CATEGORY_UNSPECIFIED", "ALCOHOL"] + typing.Literal["RESTRICTED_CATEGORY_UNSPECIFIED", "ALCOHOL"] ] declaredVendorIds: _list[int] html: HtmlContent @@ -151,24 +147,24 @@ class Creative(typing_extensions.TypedDict, total=False): native: NativeContent renderUrl: str restrictedCategories: _list[ - typing_extensions.Literal["RESTRICTED_CATEGORY_UNSPECIFIED", "ALCOHOL"] + typing.Literal["RESTRICTED_CATEGORY_UNSPECIFIED", "ALCOHOL"] ] version: int video: VideoContent @typing.type_check_only -class CreativeDimensions(typing_extensions.TypedDict, total=False): +class CreativeDimensions(typing.TypedDict, total=False): height: str width: str @typing.type_check_only -class CreativeServingDecision(typing_extensions.TypedDict, total=False): +class CreativeServingDecision(typing.TypedDict, total=False): adTechnologyProviders: AdTechnologyProviders chinaPolicyCompliance: PolicyCompliance dealsPolicyCompliance: PolicyCompliance detectedAdvertisers: _list[AdvertiserAndBrand] detectedAttributes: _list[ - typing_extensions.Literal[ + typing.Literal[ "ATTRIBUTE_UNSPECIFIED", "IMAGE_RICH_MEDIA", "ADOBE_FLASH_FLV", @@ -211,7 +207,7 @@ class CreativeServingDecision(typing_extensions.TypedDict, total=False): ] ] detectedCategories: _list[str] - detectedCategoriesTaxonomy: typing_extensions.Literal[ + detectedCategoriesTaxonomy: typing.Literal[ "AD_CATEGORY_TAXONOMY_UNSPECIFIED", "GOOGLE_AD_CATEGORY_TAXONOMY", "IAB_CONTENT_1_0", @@ -228,16 +224,16 @@ class CreativeServingDecision(typing_extensions.TypedDict, total=False): russiaPolicyCompliance: PolicyCompliance @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DestinationNotCrawlableEvidence(typing_extensions.TypedDict, total=False): +class DestinationNotCrawlableEvidence(typing.TypedDict, total=False): crawlTime: str crawledUrl: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNSPECIFIED", "UNREACHABLE_ROBOTS", "TIMEOUT_ROBOTS", @@ -246,27 +242,25 @@ class DestinationNotCrawlableEvidence(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DestinationNotWorkingEvidence(typing_extensions.TypedDict, total=False): - dnsError: typing_extensions.Literal[ +class DestinationNotWorkingEvidence(typing.TypedDict, total=False): + dnsError: typing.Literal[ "DNS_ERROR_UNSPECIFIED", "ERROR_DNS", "GOOGLE_CRAWLER_DNS_ISSUE" ] expandedUrl: str httpError: int - invalidPage: typing_extensions.Literal[ - "INVALID_PAGE_UNSPECIFIED", "EMPTY_OR_ERROR_PAGE" - ] + invalidPage: typing.Literal["INVALID_PAGE_UNSPECIFIED", "EMPTY_OR_ERROR_PAGE"] lastCheckTime: str - platform: typing_extensions.Literal[ + platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "PERSONAL_COMPUTER", "ANDROID", "IOS" ] - redirectionError: typing_extensions.Literal[ + redirectionError: typing.Literal[ "REDIRECTION_ERROR_UNSPECIFIED", "TOO_MANY_REDIRECTS", "INVALID_REDIRECT", "EMPTY_REDIRECT", "REDIRECT_ERROR_UNKNOWN", ] - urlRejected: typing_extensions.Literal[ + urlRejected: typing.Literal[ "URL_REJECTED_UNSPECIFIED", "BAD_REQUEST", "MALFORMED_URL", @@ -274,103 +268,103 @@ class DestinationNotWorkingEvidence(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DestinationUrlEvidence(typing_extensions.TypedDict, total=False): +class DestinationUrlEvidence(typing.TypedDict, total=False): destinationUrl: str @typing.type_check_only -class DomainCallEvidence(typing_extensions.TypedDict, total=False): +class DomainCallEvidence(typing.TypedDict, total=False): topHttpCallDomains: _list[DomainCalls] totalHttpCallCount: int @typing.type_check_only -class DomainCalls(typing_extensions.TypedDict, total=False): +class DomainCalls(typing.TypedDict, total=False): domain: str httpCallCount: int @typing.type_check_only -class DownloadSizeEvidence(typing_extensions.TypedDict, total=False): +class DownloadSizeEvidence(typing.TypedDict, total=False): topUrlDownloadSizeBreakdowns: _list[UrlDownloadSize] totalDownloadSizeKb: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): - bidProtocol: typing_extensions.Literal[ +class Endpoint(typing.TypedDict, total=False): + bidProtocol: typing.Literal[ "BID_PROTOCOL_UNSPECIFIED", "GOOGLE_RTB", "OPENRTB_JSON", "OPENRTB_PROTOBUF" ] maximumQps: str name: str - tradingLocation: typing_extensions.Literal[ + tradingLocation: typing.Literal[ "TRADING_LOCATION_UNSPECIFIED", "US_WEST", "US_EAST", "EUROPE", "ASIA" ] url: str @typing.type_check_only -class GetRemarketingTagResponse(typing_extensions.TypedDict, total=False): +class GetRemarketingTagResponse(typing.TypedDict, total=False): snippet: str @typing.type_check_only -class HtmlContent(typing_extensions.TypedDict, total=False): +class HtmlContent(typing.TypedDict, total=False): height: int snippet: str width: int @typing.type_check_only -class HttpCallEvidence(typing_extensions.TypedDict, total=False): +class HttpCallEvidence(typing.TypedDict, total=False): urls: _list[str] @typing.type_check_only -class HttpCookieEvidence(typing_extensions.TypedDict, total=False): +class HttpCookieEvidence(typing.TypedDict, total=False): cookieNames: _list[str] maxCookieCount: int @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): height: int url: str width: int @typing.type_check_only -class ListBiddersResponse(typing_extensions.TypedDict, total=False): +class ListBiddersResponse(typing.TypedDict, total=False): bidders: _list[Bidder] nextPageToken: str @typing.type_check_only -class ListBuyersResponse(typing_extensions.TypedDict, total=False): +class ListBuyersResponse(typing.TypedDict, total=False): buyers: _list[Buyer] nextPageToken: str @typing.type_check_only -class ListCreativesResponse(typing_extensions.TypedDict, total=False): +class ListCreativesResponse(typing.TypedDict, total=False): creatives: _list[Creative] nextPageToken: str @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str @typing.type_check_only -class ListPretargetingConfigsResponse(typing_extensions.TypedDict, total=False): +class ListPretargetingConfigsResponse(typing.TypedDict, total=False): nextPageToken: str pretargetingConfigs: _list[PretargetingConfig] @typing.type_check_only -class ListPublisherConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListPublisherConnectionsResponse(typing.TypedDict, total=False): nextPageToken: str publisherConnections: _list[PublisherConnection] @typing.type_check_only -class ListUserListsResponse(typing_extensions.TypedDict, total=False): +class ListUserListsResponse(typing.TypedDict, total=False): nextPageToken: str userLists: _list[UserList] @typing.type_check_only -class MediaFile(typing_extensions.TypedDict, total=False): +class MediaFile(typing.TypedDict, total=False): bitrate: str - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "VIDEO_MIME_TYPE_UNSPECIFIED", "MIME_VIDEO_XFLV", "MIME_VIDEO_WEBM", @@ -392,7 +386,7 @@ class MediaFile(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NativeContent(typing_extensions.TypedDict, total=False): +class NativeContent(typing.TypedDict, total=False): advertiserName: str appIcon: Image body: str @@ -408,16 +402,16 @@ class NativeContent(typing_extensions.TypedDict, total=False): videoVastXml: str @typing.type_check_only -class NumericTargetingDimension(typing_extensions.TypedDict, total=False): +class NumericTargetingDimension(typing.TypedDict, total=False): excludedIds: _list[str] includedIds: _list[str] @typing.type_check_only -class OpenUserListRequest(typing_extensions.TypedDict, total=False): ... +class OpenUserListRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PolicyCompliance(typing_extensions.TypedDict, total=False): - status: typing_extensions.Literal[ +class PolicyCompliance(typing.TypedDict, total=False): + status: typing.Literal[ "STATUS_UNSPECIFIED", "PENDING_REVIEW", "DISAPPROVED", @@ -427,14 +421,14 @@ class PolicyCompliance(typing_extensions.TypedDict, total=False): topics: _list[PolicyTopicEntry] @typing.type_check_only -class PolicyTopicEntry(typing_extensions.TypedDict, total=False): +class PolicyTopicEntry(typing.TypedDict, total=False): evidences: _list[PolicyTopicEvidence] helpCenterUrl: str missingCertificate: bool policyTopic: str @typing.type_check_only -class PolicyTopicEvidence(typing_extensions.TypedDict, total=False): +class PolicyTopicEvidence(typing.TypedDict, total=False): destinationNotCrawlable: DestinationNotCrawlableEvidence destinationNotWorking: DestinationNotWorkingEvidence destinationUrl: DestinationUrlEvidence @@ -444,9 +438,9 @@ class PolicyTopicEvidence(typing_extensions.TypedDict, total=False): httpCookie: HttpCookieEvidence @typing.type_check_only -class PretargetingConfig(typing_extensions.TypedDict, total=False): +class PretargetingConfig(typing.TypedDict, total=False): allowedUserTargetingModes: _list[ - typing_extensions.Literal[ + typing.Literal[ "USER_TARGETING_MODE_UNSPECIFIED", "REMARKETING_ADS", "INTEREST_BASED_TARGETING", @@ -458,18 +452,14 @@ class PretargetingConfig(typing_extensions.TypedDict, total=False): excludedContentLabelIds: _list[str] geoTargeting: NumericTargetingDimension includedCreativeDimensions: _list[CreativeDimensions] - includedEnvironments: _list[ - typing_extensions.Literal["ENVIRONMENT_UNSPECIFIED", "APP", "WEB"] - ] + includedEnvironments: _list[typing.Literal["ENVIRONMENT_UNSPECIFIED", "APP", "WEB"]] includedFormats: _list[ - typing_extensions.Literal[ - "CREATIVE_FORMAT_UNSPECIFIED", "HTML", "VAST", "NATIVE" - ] + typing.Literal["CREATIVE_FORMAT_UNSPECIFIED", "HTML", "VAST", "NATIVE"] ] includedLanguages: _list[str] includedMobileOperatingSystemIds: _list[str] includedPlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_UNSPECIFIED", "PERSONAL_COMPUTER", "PHONE", @@ -478,7 +468,7 @@ class PretargetingConfig(typing_extensions.TypedDict, total=False): ] ] includedUserIdTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "USER_ID_TYPE_UNSPECIFIED", "HOSTED_MATCH_DATA", "GOOGLE_COOKIE", @@ -487,7 +477,7 @@ class PretargetingConfig(typing_extensions.TypedDict, total=False): "PUBLISHER_FIRST_PARTY_ID", ] ] - interstitialTargeting: typing_extensions.Literal[ + interstitialTargeting: typing.Literal[ "INTERSTITIAL_TARGETING_UNSPECIFIED", "ONLY_INTERSTITIAL_REQUESTS", "ONLY_NON_INTERSTITIAL_REQUESTS", @@ -497,54 +487,52 @@ class PretargetingConfig(typing_extensions.TypedDict, total=False): minimumViewabilityDecile: int name: str publisherTargeting: StringTargetingDimension - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED"] userListTargeting: NumericTargetingDimension verticalTargeting: NumericTargetingDimension webTargeting: StringTargetingDimension @typing.type_check_only -class PublisherConnection(typing_extensions.TypedDict, total=False): - biddingState: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "REJECTED", "APPROVED" - ] +class PublisherConnection(typing.TypedDict, total=False): + biddingState: typing.Literal["STATE_UNSPECIFIED", "PENDING", "REJECTED", "APPROVED"] createTime: str displayName: str name: str - publisherPlatform: typing_extensions.Literal[ + publisherPlatform: typing.Literal[ "PUBLISHER_PLATFORM_UNSPECIFIED", "GOOGLE_AD_MANAGER", "ADMOB" ] @typing.type_check_only -class RemoveTargetedAppsRequest(typing_extensions.TypedDict, total=False): +class RemoveTargetedAppsRequest(typing.TypedDict, total=False): appIds: _list[str] @typing.type_check_only -class RemoveTargetedPublishersRequest(typing_extensions.TypedDict, total=False): +class RemoveTargetedPublishersRequest(typing.TypedDict, total=False): publisherIds: _list[str] @typing.type_check_only -class RemoveTargetedSitesRequest(typing_extensions.TypedDict, total=False): +class RemoveTargetedSitesRequest(typing.TypedDict, total=False): sites: _list[str] @typing.type_check_only -class StringTargetingDimension(typing_extensions.TypedDict, total=False): - targetingMode: typing_extensions.Literal[ +class StringTargetingDimension(typing.TypedDict, total=False): + targetingMode: typing.Literal[ "TARGETING_MODE_UNSPECIFIED", "INCLUSIVE", "EXCLUSIVE" ] values: _list[str] @typing.type_check_only -class SuspendPretargetingConfigRequest(typing_extensions.TypedDict, total=False): ... +class SuspendPretargetingConfigRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UrlDownloadSize(typing_extensions.TypedDict, total=False): +class UrlDownloadSize(typing.TypedDict, total=False): downloadSizeKb: int normalizedUrl: str @typing.type_check_only -class UrlRestriction(typing_extensions.TypedDict, total=False): +class UrlRestriction(typing.TypedDict, total=False): endDate: Date - restrictionType: typing_extensions.Literal[ + restrictionType: typing.Literal[ "RESTRICTION_TYPE_UNSPECIFIED", "CONTAINS", "EQUALS", @@ -559,28 +547,28 @@ class UrlRestriction(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class UserList(typing_extensions.TypedDict, total=False): +class UserList(typing.TypedDict, total=False): description: str displayName: str membershipDurationDays: str name: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "OPEN", "CLOSED"] + status: typing.Literal["STATUS_UNSPECIFIED", "OPEN", "CLOSED"] urlRestriction: UrlRestriction @typing.type_check_only -class VideoContent(typing_extensions.TypedDict, total=False): +class VideoContent(typing.TypedDict, total=False): videoMetadata: VideoMetadata videoUrl: str videoVastXml: str @typing.type_check_only -class VideoMetadata(typing_extensions.TypedDict, total=False): +class VideoMetadata(typing.TypedDict, total=False): duration: str isValidVast: bool isVpaid: bool mediaFiles: _list[MediaFile] skipOffset: str - vastVersion: typing_extensions.Literal[ + vastVersion: typing.Literal[ "VAST_VERSION_UNSPECIFIED", "VAST_VERSION_1_0", "VAST_VERSION_2_0", @@ -589,9 +577,9 @@ class VideoMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class WatchCreativesRequest(typing_extensions.TypedDict, total=False): ... +class WatchCreativesRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class WatchCreativesResponse(typing_extensions.TypedDict, total=False): +class WatchCreativesResponse(typing.TypedDict, total=False): subscription: str topic: str diff --git a/googleapiclient-stubs/_apis/realtimebidding/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/realtimebidding/v1alpha/resources.pyi index f315eae2a..5fda4ce3b 100644 --- a/googleapiclient-stubs/_apis/realtimebidding/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/realtimebidding/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/realtimebidding/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/realtimebidding/v1alpha/schemas.pyi index da6ca4fa8..af9d958f0 100644 --- a/googleapiclient-stubs/_apis/realtimebidding/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/realtimebidding/v1alpha/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActivateBiddingFunctionRequest(typing_extensions.TypedDict, total=False): ... +class ActivateBiddingFunctionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ArchiveBiddingFunctionRequest(typing_extensions.TypedDict, total=False): ... +class ArchiveBiddingFunctionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class BiddingFunction(typing_extensions.TypedDict, total=False): +class BiddingFunction(typing.TypedDict, total=False): biddingFunction: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED"] - type: typing_extensions.Literal[ + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ARCHIVED"] + type: typing.Literal[ "FUNCTION_TYPE_UNSPECIFIED", "TURTLEDOVE_SIMULATION_BIDDING_FUNCTION", "FLEDGE_BIDDING_FUNCTION", ] @typing.type_check_only -class ListBiddingFunctionsResponse(typing_extensions.TypedDict, total=False): +class ListBiddingFunctionsResponse(typing.TypedDict, total=False): biddingFunctions: _list[BiddingFunction] nextPageToken: str diff --git a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi index 58728881c..2a5bc203b 100644 --- a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -108,6 +107,9 @@ class RecaptchaEnterpriseResource(googleapiclient.discovery.Resource): def getMetrics( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudRecaptchaenterpriseV1MetricsHttpRequest: ... + def getPolicy( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudRecaptchaenterpriseV1PolicyHttpRequest: ... def list( self, *, @@ -164,6 +166,14 @@ class RecaptchaEnterpriseResource(googleapiclient.discovery.Resource): def retrieveLegacySecretKey( self, *, key: str, **kwargs: typing.Any ) -> GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponseHttpRequest: ... + def updatePolicy( + self, + *, + name: str, + body: GoogleCloudRecaptchaenterpriseV1Policy, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRecaptchaenterpriseV1PolicyHttpRequest: ... @typing.type_check_only class RelatedaccountgroupmembershipsResource( @@ -354,6 +364,16 @@ class GoogleCloudRecaptchaenterpriseV1MetricsHttpRequest( num_retries: int = 0, ) -> GoogleCloudRecaptchaenterpriseV1Metrics: ... +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1PolicyHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRecaptchaenterpriseV1Policy: ... + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi index 2a994c10f..0aa7ad340 100644 --- a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountTakeoverVerdict: ( GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTakeoverVerdict ) labels: _list[ - typing_extensions.Literal[ + typing.Literal[ "ACCOUNT_DEFENDER_LABEL_UNSPECIFIED", "PROFILE_MATCH", "SUSPICIOUS_LOGIN_ACTIVITY", @@ -23,9 +21,9 @@ class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - reason: typing_extensions.Literal[ + reason: typing.Literal[ "RISK_REASON_UNSPECIFIED", "CLIENT_HISTORICAL_BOT_ACTIVITY", "ACCOUNT_IN_LARGE_RELATED_GROUP", @@ -35,7 +33,7 @@ class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTakeoverVerdict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): risk: float riskReasons: _list[ @@ -47,19 +45,23 @@ class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTakeoverVe @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason( - typing_extensions.TypedDict, total=False -): - reason: typing_extensions.Literal[ - "TRUST_REASON_UNSPECIFIED", "PROFILE_MATCH", "ACCOUNT_HISTORY_REPUTABLE" + typing.TypedDict, total=False +): + reason: typing.Literal[ + "TRUST_REASON_UNSPECIFIED", + "PROFILE_MATCH", + "ACCOUNT_HISTORY_REPUTABLE", + "IDENTITY_GLOBAL_ACTIVITY_REPUTABLE", + "IDENTITY_HISTORY_REPUTABLE", ] @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endpoints: _list[GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo] languageCode: str - latestVerificationResult: typing_extensions.Literal[ + latestVerificationResult: typing.Literal[ "RESULT_UNSPECIFIED", "SUCCESS_USER_VERIFIED", "ERROR_USER_NOT_VERIFIED", @@ -75,29 +77,27 @@ class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipOverrideData: GoogleCloudRecaptchaenterpriseV1IpOverrideData @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings(typing.TypedDict, total=False): allowAllPackageNames: bool allowedPackageNames: _list[str] supportNonGoogleAppStoreDistribution: bool @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountId: str - annotation: typing_extensions.Literal[ + annotation: typing.Literal[ "ANNOTATION_UNSPECIFIED", "LEGITIMATE", "FRAUDULENT", @@ -107,7 +107,7 @@ class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest( hashedAccountId: str phoneAuthenticationEvent: GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "REASON_UNSPECIFIED", "CHARGEBACK", "CHARGEBACK_FRAUD", @@ -129,21 +129,17 @@ class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1AppleDeveloperId( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1AppleDeveloperId(typing.TypedDict, total=False): keyId: str privateKey: str teamId: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1Assessment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1Assessment(typing.TypedDict, total=False): accountDefenderAssessment: GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment accountVerification: GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo assessmentEnvironment: GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment @@ -153,6 +149,7 @@ class GoogleCloudRecaptchaenterpriseV1Assessment( fraudSignals: GoogleCloudRecaptchaenterpriseV1FraudSignals name: str phoneFraudAssessment: GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment + policyEvaluation: GoogleCloudRecaptchaenterpriseV1PolicyEvaluation privatePasswordLeakVerification: ( GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification ) @@ -161,30 +158,63 @@ class GoogleCloudRecaptchaenterpriseV1Assessment( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): client: str version: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1Bot(typing_extensions.TypedDict, total=False): - botType: typing_extensions.Literal[ +class GoogleCloudRecaptchaenterpriseV1Bot(typing.TypedDict, total=False): + botType: typing.Literal[ "BOT_TYPE_UNSPECIFIED", "AI_AGENT", "CONTENT_SCRAPER", "SEARCH_INDEXER" ] name: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics(typing.TypedDict, total=False): failedCount: str nocaptchaCount: str pageloadCount: str passedCount: str +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ChallengeRule(typing.TypedDict, total=False): + challenge: GoogleCloudRecaptchaenterpriseV1ChallengeRuleChallengeOutcome + condition: str + noChallenge: GoogleCloudRecaptchaenterpriseV1ChallengeRuleNoChallengeOutcome + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ChallengeRuleChallengeOutcome( + typing.TypedDict, total=False +): + difficulty: typing.Literal[ + "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED", "USABILITY", "BALANCE", "SECURITY" + ] + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ChallengeRuleEvaluation( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ChallengeRuleGroup(typing.TypedDict, total=False): + actions: _list[str] + challengeRules: _list[GoogleCloudRecaptchaenterpriseV1ChallengeRule] + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ChallengeRuleNoChallengeOutcome( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ClientSettings(typing.TypedDict, total=False): + allowAllDomains: bool + allowedDomains: _list[str] + protectedEndpointGroup: GoogleCloudRecaptchaenterpriseV1ProtectedEndpointGroup + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emailAddress: str lastVerificationTime: str @@ -192,11 +222,11 @@ class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo( requestToken: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1Event(typing_extensions.TypedDict, total=False): +class GoogleCloudRecaptchaenterpriseV1Event(typing.TypedDict, total=False): expectedAction: str express: bool firewallPolicyEvaluation: bool - fraudPrevention: typing_extensions.Literal[ + fraudPrevention: typing.Literal[ "FRAUD_PREVENTION_UNSPECIFIED", "ENABLED", "DISABLED" ] hashedAccountId: str @@ -214,13 +244,11 @@ class GoogleCloudRecaptchaenterpriseV1Event(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1FirewallAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1FirewallAction(typing.TypedDict, total=False): allow: GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction block: GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction includeRecaptchaScript: ( @@ -232,41 +260,39 @@ class GoogleCloudRecaptchaenterpriseV1FirewallAction( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): path: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1FirewallPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1FirewallPolicy(typing.TypedDict, total=False): actions: _list[GoogleCloudRecaptchaenterpriseV1FirewallAction] condition: str description: str @@ -275,14 +301,14 @@ class GoogleCloudRecaptchaenterpriseV1FirewallPolicy( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpcStatus firewallPolicy: GoogleCloudRecaptchaenterpriseV1FirewallPolicy @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): behavioralTrustVerdict: ( GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict @@ -300,21 +326,21 @@ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trust: float @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): risk: float @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - reason: typing_extensions.Literal[ + reason: typing.Literal[ "REASON_UNSPECIFIED", "HIGH_TRANSACTION_VELOCITY", "EXCESSIVE_ENUMERATION_PATTERN", @@ -325,51 +351,45 @@ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): risk: float @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1FraudSignals( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1FraudSignals(typing.TypedDict, total=False): cardSignals: GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals userSignals: GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cardLabels: _list[ - typing_extensions.Literal[ + typing.Literal[ "CARD_LABEL_UNSPECIFIED", "PREPAID", "VIRTUAL", "UNEXPECTED_LOCATION" ] ] @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activeDaysLowerBound: int syntheticRisk: float @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1IOSKeySettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1IOSKeySettings(typing.TypedDict, total=False): allowAllBundleIds: bool allowedBundleIds: _list[str] appleDeveloperId: GoogleCloudRecaptchaenterpriseV1AppleDeveloperId @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1IpOverrideData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1IpOverrideData(typing.TypedDict, total=False): ip: str - overrideType: typing_extensions.Literal["OVERRIDE_TYPE_UNSPECIFIED", "ALLOW"] + overrideType: typing.Literal["OVERRIDE_TYPE_UNSPECIFIED", "ALLOW"] @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1Key(typing_extensions.TypedDict, total=False): +class GoogleCloudRecaptchaenterpriseV1Key(typing.TypedDict, total=False): androidSettings: GoogleCloudRecaptchaenterpriseV1AndroidKeySettings createTime: str displayName: str @@ -378,33 +398,32 @@ class GoogleCloudRecaptchaenterpriseV1Key(typing_extensions.TypedDict, total=Fal labels: dict[str, typing.Any] name: str testingOptions: GoogleCloudRecaptchaenterpriseV1TestingOptions + universalSettings: GoogleCloudRecaptchaenterpriseV1UniversalKeySettings wafSettings: GoogleCloudRecaptchaenterpriseV1WafSettings webSettings: GoogleCloudRecaptchaenterpriseV1WebKeySettings @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): firewallPolicies: _list[GoogleCloudRecaptchaenterpriseV1FirewallPolicy] nextPageToken: str @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipOverrides: _list[GoogleCloudRecaptchaenterpriseV1IpOverrideData] nextPageToken: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1ListKeysResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1ListKeysResponse(typing.TypedDict, total=False): keys: _list[GoogleCloudRecaptchaenterpriseV1Key] nextPageToken: str @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str relatedAccountGroupMemberships: _list[ @@ -413,55 +432,74 @@ class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str relatedAccountGroups: _list[GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup] @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1Metrics(typing_extensions.TypedDict, total=False): +class GoogleCloudRecaptchaenterpriseV1Metrics(typing.TypedDict, total=False): challengeMetrics: _list[GoogleCloudRecaptchaenterpriseV1ChallengeMetrics] name: str scoreMetrics: _list[GoogleCloudRecaptchaenterpriseV1ScoreMetrics] startTime: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest(typing.TypedDict, total=False): skipBillingCheck: bool @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventTime: str phoneNumber: str @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): smsTollFraudVerdict: GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1Policy(typing.TypedDict, total=False): + challengeRuleGroups: _list[GoogleCloudRecaptchaenterpriseV1ChallengeRuleGroup] + clientSettings: GoogleCloudRecaptchaenterpriseV1ClientSettings + name: str + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1PolicyEvaluation(typing.TypedDict, total=False): + challengeRuleEvaluation: GoogleCloudRecaptchaenterpriseV1ChallengeRuleEvaluation + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): encryptedLeakMatchPrefixes: _list[str] encryptedUserCredentialsHash: str lookupHashPrefix: str reencryptedUserCredentialsHash: str +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ProtectedEndpoint(typing.TypedDict, total=False): + action: str + path: str + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1ProtectedEndpointGroup( + typing.TypedDict, total=False +): + protectedEndpoints: _list[GoogleCloudRecaptchaenterpriseV1ProtectedEndpoint] + @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountId: str hashedAccountId: str @@ -469,42 +507,41 @@ class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ipOverrideData: GoogleCloudRecaptchaenterpriseV1IpOverrideData @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): legacySecretKey: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1RiskAnalysis( - typing_extensions.TypedDict, total=False -): - challenge: typing_extensions.Literal[ - "CHALLENGE_UNSPECIFIED", "NOCAPTCHA", "PASSED", "FAILED" - ] +class GoogleCloudRecaptchaenterpriseV1RiskAnalysis(typing.TypedDict, total=False): + challenge: typing.Literal["CHALLENGE_UNSPECIFIED", "NOCAPTCHA", "PASSED", "FAILED"] extendedVerdictReasons: _list[str] + lastChallengeType: typing.Literal[ + "CHALLENGE_TYPE_UNSPECIFIED", "CHALLENGE_TYPE_VISUAL", "CHALLENGE_TYPE_AUDIO" + ] reasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLASSIFICATION_REASON_UNSPECIFIED", "AUTOMATION", "UNEXPECTED_ENVIRONMENT", @@ -519,21 +556,17 @@ class GoogleCloudRecaptchaenterpriseV1RiskAnalysis( verifiedBots: _list[GoogleCloudRecaptchaenterpriseV1Bot] @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1ScoreDistribution( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1ScoreDistribution(typing.TypedDict, total=False): scoreBuckets: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1ScoreMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1ScoreMetrics(typing.TypedDict, total=False): actionMetrics: dict[str, typing.Any] overallMetrics: GoogleCloudRecaptchaenterpriseV1ScoreDistribution @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountId: str hashedAccountId: str @@ -542,7 +575,7 @@ class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsReques @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str relatedAccountGroupMemberships: _list[ @@ -551,33 +584,27 @@ class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRespon @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): reasons: _list[ - typing_extensions.Literal[ - "SMS_TOLL_FRAUD_REASON_UNSPECIFIED", "INVALID_PHONE_NUMBER" - ] + typing.Literal["SMS_TOLL_FRAUD_REASON_UNSPECIFIED", "INVALID_PHONE_NUMBER"] ] risk: float @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1TestingOptions( - typing_extensions.TypedDict, total=False -): - testingChallenge: typing_extensions.Literal[ +class GoogleCloudRecaptchaenterpriseV1TestingOptions(typing.TypedDict, total=False): + testingChallenge: typing.Literal[ "TESTING_CHALLENGE_UNSPECIFIED", "NOCAPTCHA", "UNSOLVABLE_CHALLENGE" ] testingScore: float @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1TokenProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1TokenProperties(typing.TypedDict, total=False): action: str androidPackageName: str createTime: str hostname: str - invalidReason: typing_extensions.Literal[ + invalidReason: typing.Literal[ "INVALID_REASON_UNSPECIFIED", "UNKNOWN_INVALID_REASON", "MALFORMED", @@ -593,9 +620,7 @@ class GoogleCloudRecaptchaenterpriseV1TokenProperties( valid: bool @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1TransactionData( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1TransactionData(typing.TypedDict, total=False): billingAddress: GoogleCloudRecaptchaenterpriseV1TransactionDataAddress cardBin: str cardLastFour: str @@ -612,7 +637,7 @@ class GoogleCloudRecaptchaenterpriseV1TransactionData( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1TransactionDataAddress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: _list[str] administrativeArea: str @@ -623,7 +648,7 @@ class GoogleCloudRecaptchaenterpriseV1TransactionDataAddress( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): avsResponseCode: str cvvResponseCode: str @@ -632,7 +657,7 @@ class GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1TransactionDataItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): merchantAccountId: str name: str @@ -641,7 +666,7 @@ class GoogleCloudRecaptchaenterpriseV1TransactionDataItem( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1TransactionDataUser( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountId: str creationMs: str @@ -651,11 +676,9 @@ class GoogleCloudRecaptchaenterpriseV1TransactionDataUser( phoneVerified: bool @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1TransactionEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1TransactionEvent(typing.TypedDict, total=False): eventTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "TRANSACTION_EVENT_TYPE_UNSPECIFIED", "MERCHANT_APPROVE", "MERCHANT_DENY", @@ -680,46 +703,45 @@ class GoogleCloudRecaptchaenterpriseV1TransactionEvent( value: float @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1UserId(typing_extensions.TypedDict, total=False): +class GoogleCloudRecaptchaenterpriseV1UniversalKeySettings( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudRecaptchaenterpriseV1UserId(typing.TypedDict, total=False): email: str phoneNumber: str username: str @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1UserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1UserInfo(typing.TypedDict, total=False): accountId: str createAccountTime: str userIds: _list[GoogleCloudRecaptchaenterpriseV1UserId] @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1WafSettings( - typing_extensions.TypedDict, total=False -): - wafFeature: typing_extensions.Literal[ +class GoogleCloudRecaptchaenterpriseV1WafSettings(typing.TypedDict, total=False): + wafFeature: typing.Literal[ "WAF_FEATURE_UNSPECIFIED", "CHALLENGE_PAGE", "SESSION_TOKEN", "ACTION_TOKEN", "EXPRESS", ] - wafService: typing_extensions.Literal[ + wafService: typing.Literal[ "WAF_SERVICE_UNSPECIFIED", "CA", "FASTLY", "CLOUDFLARE", "AKAMAI" ] @typing.type_check_only -class GoogleCloudRecaptchaenterpriseV1WebKeySettings( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecaptchaenterpriseV1WebKeySettings(typing.TypedDict, total=False): allowAllDomains: bool allowAmpTraffic: bool allowedDomains: _list[str] - challengeSecurityPreference: typing_extensions.Literal[ + challengeSecurityPreference: typing.Literal[ "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED", "USABILITY", "BALANCE", "SECURITY" ] challengeSettings: GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings - integrationType: typing_extensions.Literal[ + integrationType: typing.Literal[ "INTEGRATION_TYPE_UNSPECIFIED", "SCORE", "CHECKBOX", @@ -729,22 +751,22 @@ class GoogleCloudRecaptchaenterpriseV1WebKeySettings( @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): scoreThreshold: float @typing.type_check_only class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionSettings: dict[str, typing.Any] defaultSettings: GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi index fa44cb15b..dcfa0b83d 100644 --- a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi index 058a12542..6abdb3c6e 100644 --- a/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recommendationengine/v1beta1/schemas.pyi @@ -1,40 +1,38 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only class GoogleCloudRecommendationengineV1alphaRejoinCatalogMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecommendationengineV1alphaRejoinCatalogResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRecommendationengineV1alphaTuningMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendationModel: str @typing.type_check_only class GoogleCloudRecommendationengineV1alphaTuningResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecommendationengineV1beta1BigQuerySource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataSchema: str datasetId: str @@ -43,9 +41,7 @@ class GoogleCloudRecommendationengineV1beta1BigQuerySource( tableId: str @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1Catalog( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1Catalog(typing.TypedDict, total=False): catalogItemLevelConfig: GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig defaultEventStoreId: str displayName: str @@ -53,14 +49,12 @@ class GoogleCloudRecommendationengineV1beta1Catalog( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1CatalogInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalogItems: _list[GoogleCloudRecommendationengineV1beta1CatalogItem] @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1CatalogItem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1CatalogItem(typing.TypedDict, total=False): categoryHierarchies: _list[ GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy ] @@ -75,33 +69,31 @@ class GoogleCloudRecommendationengineV1beta1CatalogItem( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categories: _list[str] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - eventItemLevel: typing_extensions.Literal[ + eventItemLevel: typing.Literal[ "CATALOG_ITEM_LEVEL_UNSPECIFIED", "VARIANT", "MASTER" ] - predictItemLevel: typing_extensions.Literal[ + predictItemLevel: typing.Literal[ "CATALOG_ITEM_LEVEL_UNSPECIFIED", "VARIANT", "MASTER" ] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): predictionApiKeyRegistration: ( GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration ) @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1EventDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1EventDetail(typing.TypedDict, total=False): eventAttributes: GoogleCloudRecommendationengineV1beta1FeatureMap experimentIds: _list[str] pageViewId: str @@ -110,42 +102,36 @@ class GoogleCloudRecommendationengineV1beta1EventDetail( uri: str @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1FeatureMap( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1FeatureMap(typing.TypedDict, total=False): categoricalFeatures: dict[str, typing.Any] numericalFeatures: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1FeatureMapFloatList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: _list[float] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1FeatureMapStringList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: _list[str] @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1GcsSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1GcsSource(typing.TypedDict, total=False): inputUris: _list[str] jsonSchema: str @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1Image( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1Image(typing.TypedDict, total=False): height: int uri: str width: int @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorsConfig: GoogleCloudRecommendationengineV1beta1ImportErrorsConfig inputConfig: GoogleCloudRecommendationengineV1beta1InputConfig @@ -154,20 +140,20 @@ class GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRecommendationengineV1beta1ImportErrorsConfig @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ImportErrorsConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): gcsPrefix: str @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ImportMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str failureCount: str @@ -178,7 +164,7 @@ class GoogleCloudRecommendationengineV1beta1ImportMetadata( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorsConfig: GoogleCloudRecommendationengineV1beta1ImportErrorsConfig inputConfig: GoogleCloudRecommendationengineV1beta1InputConfig @@ -186,16 +172,14 @@ class GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ImportUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRecommendationengineV1beta1ImportErrorsConfig importSummary: GoogleCloudRecommendationengineV1beta1UserEventImportSummary @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1InputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1InputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRecommendationengineV1beta1BigQuerySource catalogInlineSource: GoogleCloudRecommendationengineV1beta1CatalogInlineSource gcsSource: GoogleCloudRecommendationengineV1beta1GcsSource @@ -203,21 +187,21 @@ class GoogleCloudRecommendationengineV1beta1InputConfig( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalogItems: _list[GoogleCloudRecommendationengineV1beta1CatalogItem] nextPageToken: str @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ListCatalogsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalogs: _list[GoogleCloudRecommendationengineV1beta1Catalog] nextPageToken: str @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str predictionApiKeyRegistrations: _list[ @@ -226,14 +210,14 @@ class GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsRes @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ListUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str userEvents: _list[GoogleCloudRecommendationengineV1beta1UserEvent] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PredictRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dryRun: bool filter: str @@ -245,7 +229,7 @@ class GoogleCloudRecommendationengineV1beta1PredictRequest( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PredictResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dryRun: bool itemsMissingInCatalog: _list[str] @@ -258,20 +242,20 @@ class GoogleCloudRecommendationengineV1beta1PredictResponse( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str itemMetadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): apiKey: str @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ProductCatalogItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): availableQuantity: str canonicalProductUri: str @@ -280,27 +264,27 @@ class GoogleCloudRecommendationengineV1beta1ProductCatalogItem( exactPrice: GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice images: _list[GoogleCloudRecommendationengineV1beta1Image] priceRange: GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange - stockState: typing_extensions.Literal[ + stockState: typing.Literal[ "STOCK_STATE_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" ] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayPrice: float originalPrice: float @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): max: float min: float @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ProductDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): availableQuantity: int currencyCode: str @@ -309,13 +293,13 @@ class GoogleCloudRecommendationengineV1beta1ProductDetail( itemAttributes: GoogleCloudRecommendationengineV1beta1FeatureMap originalPrice: float quantity: int - stockState: typing_extensions.Literal[ + stockState: typing.Literal[ "STOCK_STATE_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" ] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1ProductEventDetail( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cartId: str listId: str @@ -328,7 +312,7 @@ class GoogleCloudRecommendationengineV1beta1ProductEventDetail( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PurchaseTransaction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costs: dict[str, typing.Any] currencyCode: str @@ -338,50 +322,48 @@ class GoogleCloudRecommendationengineV1beta1PurchaseTransaction( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PurgeUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str operationName: str @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str force: bool @typing.type_check_only class GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): purgedEventsCount: str userEventsSample: _list[GoogleCloudRecommendationengineV1beta1UserEvent] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1RejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - userEventRejoinScope: typing_extensions.Literal[ + userEventRejoinScope: typing.Literal[ "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", "JOINED_EVENTS", "UNJOINED_EVENTS" ] @typing.type_check_only class GoogleCloudRecommendationengineV1beta1RejoinUserEventsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rejoinedUserEventsCount: str @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1UserEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1UserEvent(typing.TypedDict, total=False): eventDetail: GoogleCloudRecommendationengineV1beta1EventDetail - eventSource: typing_extensions.Literal[ + eventSource: typing.Literal[ "EVENT_SOURCE_UNSPECIFIED", "AUTOML", "ECOMMERCE", "BATCH_UPLOAD" ] eventTime: str @@ -391,21 +373,19 @@ class GoogleCloudRecommendationengineV1beta1UserEvent( @typing.type_check_only class GoogleCloudRecommendationengineV1beta1UserEventImportSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only class GoogleCloudRecommendationengineV1beta1UserEventInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userEvents: _list[GoogleCloudRecommendationengineV1beta1UserEvent] @typing.type_check_only -class GoogleCloudRecommendationengineV1beta1UserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommendationengineV1beta1UserInfo(typing.TypedDict, total=False): directUserRequest: bool ipAddress: str userAgent: str @@ -413,13 +393,13 @@ class GoogleCloudRecommendationengineV1beta1UserInfo( visitorId: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -427,10 +407,10 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/recommender/v1/resources.pyi b/googleapiclient-stubs/_apis/recommender/v1/resources.pyi index 36b7a2811..a38aabee7 100644 --- a/googleapiclient-stubs/_apis/recommender/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/recommender/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi b/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi index b9351996f..c40486216 100644 --- a/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudRecommenderV1CostProjection(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1CostProjection(typing.TypedDict, total=False): cost: GoogleTypeMoney costInLocalCurrency: GoogleTypeMoney duration: str @typing.type_check_only -class GoogleCloudRecommenderV1Impact(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GoogleCloudRecommenderV1Impact(typing.TypedDict, total=False): + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "COST", "SECURITY", @@ -28,11 +26,11 @@ class GoogleCloudRecommenderV1Impact(typing_extensions.TypedDict, total=False): sustainabilityProjection: GoogleCloudRecommenderV1SustainabilityProjection @typing.type_check_only -class GoogleCloudRecommenderV1Insight(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1Insight(typing.TypedDict, total=False): associatedRecommendations: _list[ GoogleCloudRecommenderV1InsightRecommendationReference ] - category: typing_extensions.Literal[ + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "COST", "SECURITY", @@ -48,7 +46,7 @@ class GoogleCloudRecommenderV1Insight(typing_extensions.TypedDict, total=False): lastRefreshTime: str name: str observationPeriod: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] stateInfo: GoogleCloudRecommenderV1InsightStateInfo @@ -56,23 +54,17 @@ class GoogleCloudRecommenderV1Insight(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRecommenderV1InsightRecommendationReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendation: str @typing.type_check_only -class GoogleCloudRecommenderV1InsightStateInfo( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "ACCEPTED", "DISMISSED" - ] +class GoogleCloudRecommenderV1InsightStateInfo(typing.TypedDict, total=False): + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ACCEPTED", "DISMISSED"] stateMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1InsightTypeConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1InsightTypeConfig(typing.TypedDict, total=False): annotations: dict[str, typing.Any] displayName: str etag: str @@ -83,60 +75,56 @@ class GoogleCloudRecommenderV1InsightTypeConfig( @typing.type_check_only class GoogleCloudRecommenderV1InsightTypeGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): params: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1ListInsightsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1ListInsightsResponse(typing.TypedDict, total=False): insights: _list[GoogleCloudRecommenderV1Insight] nextPageToken: str @typing.type_check_only class GoogleCloudRecommenderV1ListRecommendationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str recommendations: _list[GoogleCloudRecommenderV1Recommendation] @typing.type_check_only -class GoogleCloudRecommenderV1MarkInsightAcceptedRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1MarkInsightAcceptedRequest(typing.TypedDict, total=False): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1MarkRecommendationClaimedRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1MarkRecommendationDismissedRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str @typing.type_check_only class GoogleCloudRecommenderV1MarkRecommendationFailedRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1MarkRecommendationSucceededRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1Operation(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1Operation(typing.TypedDict, total=False): action: str path: str pathFilters: dict[str, typing.Any] @@ -149,11 +137,11 @@ class GoogleCloudRecommenderV1Operation(typing_extensions.TypedDict, total=False valueMatcher: GoogleCloudRecommenderV1ValueMatcher @typing.type_check_only -class GoogleCloudRecommenderV1OperationGroup(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1OperationGroup(typing.TypedDict, total=False): operations: _list[GoogleCloudRecommenderV1Operation] @typing.type_check_only -class GoogleCloudRecommenderV1Recommendation(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1Recommendation(typing.TypedDict, total=False): additionalImpact: _list[GoogleCloudRecommenderV1Impact] associatedInsights: _list[GoogleCloudRecommenderV1RecommendationInsightReference] content: GoogleCloudRecommenderV1RecommendationContent @@ -162,38 +150,32 @@ class GoogleCloudRecommenderV1Recommendation(typing_extensions.TypedDict, total= lastRefreshTime: str name: str primaryImpact: GoogleCloudRecommenderV1Impact - priority: typing_extensions.Literal["PRIORITY_UNSPECIFIED", "P4", "P3", "P2", "P1"] + priority: typing.Literal["PRIORITY_UNSPECIFIED", "P4", "P3", "P2", "P1"] recommenderSubtype: str stateInfo: GoogleCloudRecommenderV1RecommendationStateInfo targetResources: _list[str] xorGroupId: str @typing.type_check_only -class GoogleCloudRecommenderV1RecommendationContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1RecommendationContent(typing.TypedDict, total=False): operationGroups: _list[GoogleCloudRecommenderV1OperationGroup] overview: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1RecommendationInsightReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): insight: str @typing.type_check_only -class GoogleCloudRecommenderV1RecommendationStateInfo( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ +class GoogleCloudRecommenderV1RecommendationStateInfo(typing.TypedDict, total=False): + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CLAIMED", "SUCCEEDED", "FAILED", "DISMISSED" ] stateMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1RecommenderConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1RecommenderConfig(typing.TypedDict, total=False): annotations: dict[str, typing.Any] displayName: str etag: str @@ -204,40 +186,34 @@ class GoogleCloudRecommenderV1RecommenderConfig( @typing.type_check_only class GoogleCloudRecommenderV1RecommenderGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): params: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1ReliabilityProjection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1ReliabilityProjection(typing.TypedDict, total=False): details: dict[str, typing.Any] risks: _list[ - typing_extensions.Literal[ + typing.Literal[ "RISK_TYPE_UNSPECIFIED", "SERVICE_DISRUPTION", "DATA_LOSS", "ACCESS_DENY" ] ] @typing.type_check_only -class GoogleCloudRecommenderV1SecurityProjection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1SecurityProjection(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1SustainabilityProjection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1SustainabilityProjection(typing.TypedDict, total=False): duration: str kgCO2e: float @typing.type_check_only -class GoogleCloudRecommenderV1ValueMatcher(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1ValueMatcher(typing.TypedDict, total=False): matchesPattern: str @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str diff --git a/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi index 0bc3f3ce7..e413c0205 100644 --- a/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/recommender/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi index 7773c5598..7557b6701 100644 --- a/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi @@ -1,18 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudLocationListLocationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudLocationListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -20,19 +16,17 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudRecommenderV1beta1CostProjection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1CostProjection(typing.TypedDict, total=False): cost: GoogleTypeMoney costInLocalCurrency: GoogleTypeMoney duration: str - pricingType: typing_extensions.Literal[ + pricingType: typing.Literal[ "PRICING_TYPE_UNSPECIFIED", "LIST_PRICE", "CUSTOM_PRICE" ] @typing.type_check_only -class GoogleCloudRecommenderV1beta1Impact(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GoogleCloudRecommenderV1beta1Impact(typing.TypedDict, total=False): + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "COST", "SECURITY", @@ -48,11 +42,11 @@ class GoogleCloudRecommenderV1beta1Impact(typing_extensions.TypedDict, total=Fal sustainabilityProjection: GoogleCloudRecommenderV1beta1SustainabilityProjection @typing.type_check_only -class GoogleCloudRecommenderV1beta1Insight(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1beta1Insight(typing.TypedDict, total=False): associatedRecommendations: _list[ GoogleCloudRecommenderV1beta1InsightRecommendationReference ] - category: typing_extensions.Literal[ + category: typing.Literal[ "CATEGORY_UNSPECIFIED", "COST", "SECURITY", @@ -68,7 +62,7 @@ class GoogleCloudRecommenderV1beta1Insight(typing_extensions.TypedDict, total=Fa lastRefreshTime: str name: str observationPeriod: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] stateInfo: GoogleCloudRecommenderV1beta1InsightStateInfo @@ -76,29 +70,21 @@ class GoogleCloudRecommenderV1beta1Insight(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudRecommenderV1beta1InsightRecommendationReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendation: str @typing.type_check_only -class GoogleCloudRecommenderV1beta1InsightStateInfo( - typing_extensions.TypedDict, total=False -): - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "ACCEPTED", "DISMISSED" - ] +class GoogleCloudRecommenderV1beta1InsightStateInfo(typing.TypedDict, total=False): + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "ACCEPTED", "DISMISSED"] stateMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1beta1InsightType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1InsightType(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudRecommenderV1beta1InsightTypeConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1InsightTypeConfig(typing.TypedDict, total=False): annotations: dict[str, typing.Any] displayName: str etag: str @@ -111,74 +97,72 @@ class GoogleCloudRecommenderV1beta1InsightTypeConfig( @typing.type_check_only class GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): params: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1beta1ListInsightTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): insightTypes: _list[GoogleCloudRecommenderV1beta1InsightType] nextPageToken: str @typing.type_check_only -class GoogleCloudRecommenderV1beta1ListInsightsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1ListInsightsResponse(typing.TypedDict, total=False): insights: _list[GoogleCloudRecommenderV1beta1Insight] nextPageToken: str @typing.type_check_only class GoogleCloudRecommenderV1beta1ListRecommendationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str recommendations: _list[GoogleCloudRecommenderV1beta1Recommendation] @typing.type_check_only class GoogleCloudRecommenderV1beta1ListRecommendersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str recommenders: _list[GoogleCloudRecommenderV1beta1RecommenderType] @typing.type_check_only class GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str @typing.type_check_only class GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): etag: str stateMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1beta1Operation(typing_extensions.TypedDict, total=False): +class GoogleCloudRecommenderV1beta1Operation(typing.TypedDict, total=False): action: str path: str pathFilters: dict[str, typing.Any] @@ -191,15 +175,11 @@ class GoogleCloudRecommenderV1beta1Operation(typing_extensions.TypedDict, total= valueMatcher: GoogleCloudRecommenderV1beta1ValueMatcher @typing.type_check_only -class GoogleCloudRecommenderV1beta1OperationGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1OperationGroup(typing.TypedDict, total=False): operations: _list[GoogleCloudRecommenderV1beta1Operation] @typing.type_check_only -class GoogleCloudRecommenderV1beta1Recommendation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1Recommendation(typing.TypedDict, total=False): additionalImpact: _list[GoogleCloudRecommenderV1beta1Impact] associatedInsights: _list[ GoogleCloudRecommenderV1beta1RecommendationInsightReference @@ -210,38 +190,34 @@ class GoogleCloudRecommenderV1beta1Recommendation( lastRefreshTime: str name: str primaryImpact: GoogleCloudRecommenderV1beta1Impact - priority: typing_extensions.Literal["PRIORITY_UNSPECIFIED", "P4", "P3", "P2", "P1"] + priority: typing.Literal["PRIORITY_UNSPECIFIED", "P4", "P3", "P2", "P1"] recommenderSubtype: str stateInfo: GoogleCloudRecommenderV1beta1RecommendationStateInfo targetResources: _list[str] xorGroupId: str @typing.type_check_only -class GoogleCloudRecommenderV1beta1RecommendationContent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1RecommendationContent(typing.TypedDict, total=False): operationGroups: _list[GoogleCloudRecommenderV1beta1OperationGroup] overview: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1beta1RecommendationInsightReference( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): insight: str @typing.type_check_only class GoogleCloudRecommenderV1beta1RecommendationStateInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CLAIMED", "SUCCEEDED", "FAILED", "DISMISSED" ] stateMetadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1beta1RecommenderConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1RecommenderConfig(typing.TypedDict, total=False): annotations: dict[str, typing.Any] displayName: str etag: str @@ -254,48 +230,40 @@ class GoogleCloudRecommenderV1beta1RecommenderConfig( @typing.type_check_only class GoogleCloudRecommenderV1beta1RecommenderGenerationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): params: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRecommenderV1beta1RecommenderType( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1RecommenderType(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudRecommenderV1beta1ReliabilityProjection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1ReliabilityProjection(typing.TypedDict, total=False): details: dict[str, typing.Any] risks: _list[ - typing_extensions.Literal[ + typing.Literal[ "RISK_TYPE_UNSPECIFIED", "SERVICE_DISRUPTION", "DATA_LOSS", "ACCESS_DENY" ] ] @typing.type_check_only -class GoogleCloudRecommenderV1beta1SecurityProjection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1SecurityProjection(typing.TypedDict, total=False): details: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRecommenderV1beta1SustainabilityProjection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str kgCO2e: float @typing.type_check_only -class GoogleCloudRecommenderV1beta1ValueMatcher( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRecommenderV1beta1ValueMatcher(typing.TypedDict, total=False): matchesPattern: str @typing.type_check_only -class GoogleTypeMoney(typing_extensions.TypedDict, total=False): +class GoogleTypeMoney(typing.TypedDict, total=False): currencyCode: str nanos: int units: str diff --git a/googleapiclient-stubs/_apis/redis/v1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1/resources.pyi index 9fc29a910..ce5ca454d 100644 --- a/googleapiclient-stubs/_apis/redis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -19,6 +18,25 @@ class CloudRedisResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class AclPoliciesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AclPolicyRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAclPolicyRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAclPolicyRevisionsResponseHttpRequest, + previous_response: ListAclPolicyRevisionsResponse, + ) -> ListAclPolicyRevisionsResponseHttpRequest | None: ... + def create( self, *, @@ -61,6 +79,7 @@ class CloudRedisResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def revisions(self) -> RevisionsResource: ... @typing.type_check_only class BackupCollectionsResource(googleapiclient.discovery.Resource): @@ -395,6 +414,14 @@ class AclPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AclPolicy: ... +@typing.type_check_only +class AclPolicyRevisionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AclPolicyRevision: ... + @typing.type_check_only class AuthTokenHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -467,6 +494,14 @@ class ListAclPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListAclPoliciesResponse: ... +@typing.type_check_only +class ListAclPolicyRevisionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAclPolicyRevisionsResponse: ... + @typing.type_check_only class ListAuthTokensResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index bf607dcb8..13a433f41 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -1,59 +1,76 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AOFConfig(typing_extensions.TypedDict, total=False): - appendFsync: typing_extensions.Literal[ - "APPEND_FSYNC_UNSPECIFIED", "NO", "EVERYSEC", "ALWAYS" - ] +class AOFConfig(typing.TypedDict, total=False): + appendFsync: typing.Literal["APPEND_FSYNC_UNSPECIFIED", "NO", "EVERYSEC", "ALWAYS"] @typing.type_check_only -class AclPolicy(typing_extensions.TypedDict, total=False): +class AclPolicy(typing.TypedDict, total=False): + clusterAclPolicyAttachments: _list[ClusterAclPolicyAttachment] + createTime: str etag: str name: str rules: _list[AclRule] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "UPDATING", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "UPDATING", "DELETING"] + updateTime: str version: str @typing.type_check_only -class AclRule(typing_extensions.TypedDict, total=False): +class AclPolicyInfo(typing.TypedDict, total=False): + aclPolicyRevisionStatuses: _list[AclPolicyRevisionStatus] + appliedAclPolicy: str + appliedAclPolicyRevision: str + appliedAclPolicyRevisionNumber: str + +@typing.type_check_only +class AclPolicyRevision(typing.TypedDict, total=False): + attachedClusters: _list[str] + createTime: str + name: str + revisionNumber: str + snapshot: AclPolicy + +@typing.type_check_only +class AclPolicyRevisionStatus(typing.TypedDict, total=False): + aclPolicyRevision: str + aclPolicyRevisionNumber: str + errorMessage: str + state: typing.Literal["STATE_UNSPECIFIED", "APPLYING", "APPLIED", "FAILED"] + +@typing.type_check_only +class AclRule(typing.TypedDict, total=False): rule: str username: str @typing.type_check_only -class AddAuthTokenRequest(typing_extensions.TypedDict, total=False): +class AddAuthTokenRequest(typing.TypedDict, total=False): authToken: AuthToken @typing.type_check_only -class AddTokenAuthUserRequest(typing_extensions.TypedDict, total=False): +class AddTokenAuthUserRequest(typing.TypedDict, total=False): tokenAuthUser: str @typing.type_check_only -class AuthToken(typing_extensions.TypedDict, total=False): +class AuthToken(typing.TypedDict, total=False): createTime: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING"] token: str @typing.type_check_only -class AutomatedBackupConfig(typing_extensions.TypedDict, total=False): - automatedBackupMode: typing_extensions.Literal[ +class AutomatedBackupConfig(typing.TypedDict, total=False): + automatedBackupMode: typing.Literal[ "AUTOMATED_BACKUP_MODE_UNSPECIFIED", "DISABLED", "ENABLED" ] fixedFrequencySchedule: FixedFrequencySchedule retention: str @typing.type_check_only -class AvailabilityConfiguration(typing_extensions.TypedDict, total=False): +class AvailabilityConfiguration(typing.TypedDict, total=False): automaticFailoverRoutingConfigured: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", @@ -65,11 +82,9 @@ class AvailabilityConfiguration(typing_extensions.TypedDict, total=False): promotableReplicaConfigured: bool @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): backupFiles: _list[BackupFile] - backupType: typing_extensions.Literal[ - "BACKUP_TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED" - ] + backupType: typing.Literal["BACKUP_TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED"] cluster: str clusterUid: str createTime: str @@ -77,7 +92,7 @@ class Backup(typing_extensions.TypedDict, total=False): engineVersion: str expireTime: str name: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "NODE_TYPE_UNSPECIFIED", "REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", @@ -89,19 +104,19 @@ class Backup(typing_extensions.TypedDict, total=False): ] replicaCount: int shardCount: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "SUSPENDED" ] totalSizeBytes: str uid: str @typing.type_check_only -class BackupClusterRequest(typing_extensions.TypedDict, total=False): +class BackupClusterRequest(typing.TypedDict, total=False): backupId: str ttl: str @typing.type_check_only -class BackupCollection(typing_extensions.TypedDict, total=False): +class BackupCollection(typing.TypedDict, total=False): cluster: str clusterUid: str createTime: str @@ -113,17 +128,17 @@ class BackupCollection(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class BackupConfiguration(typing_extensions.TypedDict, total=False): +class BackupConfiguration(typing.TypedDict, total=False): automatedBackupEnabled: bool backupRetentionSettings: RetentionSettings pointInTimeRecoveryEnabled: bool @typing.type_check_only -class BackupDRConfiguration(typing_extensions.TypedDict, total=False): +class BackupDRConfiguration(typing.TypedDict, total=False): backupdrManaged: bool @typing.type_check_only -class BackupDRMetadata(typing_extensions.TypedDict, total=False): +class BackupDRMetadata(typing.TypedDict, total=False): backupConfiguration: BackupConfiguration backupRun: BackupRun backupdrConfiguration: BackupDRConfiguration @@ -132,34 +147,35 @@ class BackupDRMetadata(typing_extensions.TypedDict, total=False): resourceId: DatabaseResourceId @typing.type_check_only -class BackupFile(typing_extensions.TypedDict, total=False): +class BackupFile(typing.TypedDict, total=False): createTime: str fileName: str sizeBytes: str @typing.type_check_only -class BackupRun(typing_extensions.TypedDict, total=False): +class BackupRun(typing.TypedDict, total=False): endTime: str error: OperationError startTime: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] + status: typing.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] @typing.type_check_only -class CertChain(typing_extensions.TypedDict, total=False): +class CertChain(typing.TypedDict, total=False): certificates: _list[str] @typing.type_check_only -class CertificateAuthority(typing_extensions.TypedDict, total=False): +class CertificateAuthority(typing.TypedDict, total=False): managedServerCa: ManagedCertificateAuthority name: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): aclPolicy: str aclPolicyInSync: bool + aclPolicyInfo: AclPolicyInfo allowFewerZonesDeployment: bool asyncClusterEndpointsDeletionEnabled: bool - authorizationMode: typing_extensions.Literal[ + authorizationMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED", @@ -183,7 +199,7 @@ class Cluster(typing_extensions.TypedDict, total=False): maintenanceVersion: str managedBackupSource: ManagedBackupSource name: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "NODE_TYPE_UNSPECIFIED", "REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", @@ -204,7 +220,7 @@ class Cluster(typing_extensions.TypedDict, total=False): rotateServerCertificate: bool satisfiesPzi: bool satisfiesPzs: bool - serverCaMode: typing_extensions.Literal[ + serverCaMode: typing.Literal[ "SERVER_CA_MODE_UNSPECIFIED", "SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA", "SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA", @@ -214,11 +230,11 @@ class Cluster(typing_extensions.TypedDict, total=False): shardCount: int simulateMaintenanceEvent: bool sizeGb: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING" ] stateInfo: StateInfo - transitEncryptionMode: typing_extensions.Literal[ + transitEncryptionMode: typing.Literal[ "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", "TRANSIT_ENCRYPTION_MODE_DISABLED", "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION", @@ -227,31 +243,34 @@ class Cluster(typing_extensions.TypedDict, total=False): zoneDistributionConfig: ZoneDistributionConfig @typing.type_check_only -class ClusterEndpoint(typing_extensions.TypedDict, total=False): +class ClusterAclPolicyAttachment(typing.TypedDict, total=False): + aclPolicyRevisionStatuses: _list[AclPolicyRevisionStatus] + cluster: str + +@typing.type_check_only +class ClusterEndpoint(typing.TypedDict, total=False): connections: _list[ConnectionDetail] @typing.type_check_only -class ClusterMaintenancePolicy(typing_extensions.TypedDict, total=False): +class ClusterMaintenancePolicy(typing.TypedDict, total=False): createTime: str updateTime: str weeklyMaintenanceWindow: _list[ClusterWeeklyMaintenanceWindow] @typing.type_check_only -class ClusterMaintenanceSchedule(typing_extensions.TypedDict, total=False): +class ClusterMaintenanceSchedule(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ClusterPersistenceConfig(typing_extensions.TypedDict, total=False): +class ClusterPersistenceConfig(typing.TypedDict, total=False): aofConfig: AOFConfig - mode: typing_extensions.Literal[ - "PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB", "AOF" - ] + mode: typing.Literal["PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB", "AOF"] rdbConfig: RDBConfig @typing.type_check_only -class ClusterWeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ClusterWeeklyMaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -264,17 +283,17 @@ class ClusterWeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class Compliance(typing_extensions.TypedDict, total=False): +class Compliance(typing.TypedDict, total=False): standard: str version: str @typing.type_check_only -class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): +class ConfigBasedSignalData(typing.TypedDict, total=False): fullResourceName: str lastRefreshTime: str resourceId: DatabaseResourceId signalBoolValue: bool - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -289,13 +308,13 @@ class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionDetail(typing_extensions.TypedDict, total=False): +class ConnectionDetail(typing.TypedDict, total=False): pscAutoConnection: PscAutoConnection pscConnection: PscConnection @typing.type_check_only -class CrossClusterReplicationConfig(typing_extensions.TypedDict, total=False): - clusterRole: typing_extensions.Literal[ +class CrossClusterReplicationConfig(typing.TypedDict, total=False): + clusterRole: typing.Literal[ "CLUSTER_ROLE_UNSPECIFIED", "NONE", "PRIMARY", "SECONDARY" ] membership: Membership @@ -304,16 +323,16 @@ class CrossClusterReplicationConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CustomMetadataData(typing_extensions.TypedDict, total=False): +class CustomMetadataData(typing.TypedDict, total=False): internalResourceMetadata: _list[InternalResourceMetadata] @typing.type_check_only -class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): +class DatabaseResourceFeed(typing.TypedDict, total=False): backupdrMetadata: BackupDRMetadata configBasedSignalData: ConfigBasedSignalData databaseResourceSignalData: DatabaseResourceSignalData feedTimestamp: str - feedType: typing_extensions.Literal[ + feedType: typing.Literal[ "FEEDTYPE_UNSPECIFIED", "RESOURCE_METADATA", "OBSERVABILITY_DATA", @@ -331,7 +350,7 @@ class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): skipIngestion: bool @typing.type_check_only -class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False): +class DatabaseResourceHealthSignalData(typing.TypedDict, total=False): additionalMetadata: dict[str, typing.Any] compliance: _list[Compliance] description: str @@ -339,7 +358,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) externalUri: str location: str name: str - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -350,7 +369,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) ] resourceContainer: str resourceName: str - signalClass: typing_extensions.Literal[ + signalClass: typing.Literal[ "CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -359,10 +378,10 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "ERROR", ] signalId: str - signalSeverity: typing_extensions.Literal[ + signalSeverity: typing.Literal[ "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -472,12 +491,13 @@ 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"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @typing.type_check_only -class DatabaseResourceId(typing_extensions.TypedDict, total=False): - provider: typing_extensions.Literal[ +class DatabaseResourceId(typing.TypedDict, total=False): + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -491,14 +511,14 @@ class DatabaseResourceId(typing_extensions.TypedDict, total=False): uniqueId: str @typing.type_check_only -class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): +class DatabaseResourceMetadata(typing.TypedDict, total=False): additionalMetadata: dict[str, typing.Any] availabilityConfiguration: AvailabilityConfiguration backupConfiguration: BackupConfiguration backupRun: BackupRun backupdrConfiguration: BackupDRConfiguration creationTime: str - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -508,14 +528,14 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "STOPPED", ] customMetadata: CustomMetadataData - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS", "EDITION_STANDARD", ] entitlements: _list[Entitlement] - expectedState: typing_extensions.Literal[ + expectedState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -526,7 +546,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): ] gcbdrConfiguration: GCBDRConfiguration id: DatabaseResourceId - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "SUB_RESOURCE_TYPE_UNSPECIFIED", "PRIMARY", @@ -549,7 +569,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): machineConfiguration: MachineConfiguration maintenanceInfo: ResourceMaintenanceInfo modes: _list[ - typing_extensions.Literal[ + typing.Literal[ "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", @@ -564,7 +584,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): resourceContainer: str resourceFlags: _list[ResourceFlags] resourceName: str - suspensionReason: typing_extensions.Literal[ + suspensionReason: typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "WIPEOUT_HIDE_EVENT", "WIPEOUT_PURGE_EVENT", @@ -579,19 +599,17 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class DatabaseResourceRecommendationSignalData( - typing_extensions.TypedDict, total=False -): +class DatabaseResourceRecommendationSignalData(typing.TypedDict, total=False): additionalMetadata: dict[str, typing.Any] lastRefreshTime: str - recommendationState: typing_extensions.Literal[ + recommendationState: typing.Literal[ "UNSPECIFIED", "ACTIVE", "CLAIMED", "SUCCEEDED", "FAILED", "DISMISSED" ] recommender: str recommenderId: str recommenderSubtype: str resourceName: str - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -701,10 +719,11 @@ 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 -class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): +class DatabaseResourceSignalData(typing.TypedDict, total=False): backupRun: BackupRun fullResourceName: str lastRefreshTime: str @@ -712,10 +731,10 @@ class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): resourceId: DatabaseResourceId signalBoolValue: bool signalMetadataList: _list[SignalMetadata] - signalState: typing_extensions.Literal[ + signalState: typing.Literal[ "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -730,26 +749,26 @@ class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DiscoveryEndpoint(typing_extensions.TypedDict, total=False): +class DiscoveryEndpoint(typing.TypedDict, total=False): address: str port: int pscConfig: PscConfig @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class EncryptionInfo(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION" ] - kmsKeyPrimaryState: typing_extensions.Literal[ + kmsKeyPrimaryState: typing.Literal[ "KMS_KEY_STATE_UNSPECIFIED", "ENABLED", "PERMISSION_DENIED", @@ -764,54 +783,54 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): lastUpdateTime: str @typing.type_check_only -class Entitlement(typing_extensions.TypedDict, total=False): - entitlementState: typing_extensions.Literal[ +class Entitlement(typing.TypedDict, total=False): + entitlementState: typing.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" ] @typing.type_check_only -class ExportBackupRequest(typing_extensions.TypedDict, total=False): +class ExportBackupRequest(typing.TypedDict, total=False): gcsBucket: str @typing.type_check_only -class ExportInstanceRequest(typing_extensions.TypedDict, total=False): +class ExportInstanceRequest(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): - dataProtectionMode: typing_extensions.Literal[ +class FailoverInstanceRequest(typing.TypedDict, total=False): + dataProtectionMode: typing.Literal[ "DATA_PROTECTION_MODE_UNSPECIFIED", "LIMITED_DATA_LOSS", "FORCE_DATA_LOSS" ] @typing.type_check_only -class FixedFrequencySchedule(typing_extensions.TypedDict, total=False): +class FixedFrequencySchedule(typing.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class GCBDRConfiguration(typing_extensions.TypedDict, total=False): +class GCBDRConfiguration(typing.TypedDict, total=False): gcbdrManaged: bool @typing.type_check_only -class GcsBackupSource(typing_extensions.TypedDict, total=False): +class GcsBackupSource(typing.TypedDict, total=False): uris: _list[str] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudRedisV1LocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRedisV1LocationMetadata(typing.TypedDict, total=False): availableZones: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRedisV1OperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRedisV1OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -821,23 +840,23 @@ class GoogleCloudRedisV1OperationMetadata(typing_extensions.TypedDict, total=Fal verb: str @typing.type_check_only -class GoogleCloudRedisV1ZoneMetadata(typing_extensions.TypedDict, total=False): ... +class GoogleCloudRedisV1ZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportInstanceRequest(typing_extensions.TypedDict, total=False): +class ImportInstanceRequest(typing.TypedDict, total=False): inputConfig: InputConfig @typing.type_check_only -class InputConfig(typing_extensions.TypedDict, total=False): +class InputConfig(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): alternativeLocationId: str authEnabled: bool authorizedNetwork: str availableMaintenanceVersions: _list[str] - connectMode: typing_extensions.Literal[ + connectMode: typing.Literal[ "CONNECT_MODE_UNSPECIFIED", "DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS" ] createTime: str @@ -858,7 +877,7 @@ class Instance(typing_extensions.TypedDict, total=False): port: int readEndpoint: str readEndpointPort: int - readReplicasMode: typing_extensions.Literal[ + readReplicasMode: typing.Literal[ "READ_REPLICAS_MODE_UNSPECIFIED", "READ_REPLICAS_DISABLED", "READ_REPLICAS_ENABLED", @@ -871,7 +890,7 @@ class Instance(typing_extensions.TypedDict, total=False): satisfiesPzs: bool secondaryIpRange: str serverCaCerts: _list[TlsCertificate] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -884,22 +903,20 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str suspensionReasons: _list[ - typing_extensions.Literal[ - "SUSPENSION_REASON_UNSPECIFIED", "CUSTOMER_MANAGED_KEY_ISSUE" - ] + typing.Literal["SUSPENSION_REASON_UNSPECIFIED", "CUSTOMER_MANAGED_KEY_ISSUE"] ] tags: dict[str, typing.Any] - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "BASIC", "STANDARD_HA"] - transitEncryptionMode: typing_extensions.Literal[ + tier: typing.Literal["TIER_UNSPECIFIED", "BASIC", "STANDARD_HA"] + transitEncryptionMode: typing.Literal[ "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", "SERVER_AUTHENTICATION", "DISABLED" ] @typing.type_check_only -class InstanceAuthString(typing_extensions.TypedDict, total=False): +class InstanceAuthString(typing.TypedDict, total=False): authString: str @typing.type_check_only -class InternalResourceMetadata(typing_extensions.TypedDict, total=False): +class InternalResourceMetadata(typing.TypedDict, total=False): backupConfiguration: BackupConfiguration backupRun: BackupRun isDeletionProtectionEnabled: bool @@ -908,65 +925,71 @@ class InternalResourceMetadata(typing_extensions.TypedDict, total=False): resourceName: str @typing.type_check_only -class IpAddress(typing_extensions.TypedDict, total=False): +class IpAddress(typing.TypedDict, total=False): privateIp: str publicIp: str @typing.type_check_only -class ListAclPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAclPoliciesResponse(typing.TypedDict, total=False): aclPolicies: _list[AclPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAuthTokensResponse(typing_extensions.TypedDict, total=False): +class ListAclPolicyRevisionsResponse(typing.TypedDict, total=False): + aclPolicyRevisions: _list[AclPolicyRevision] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthTokensResponse(typing.TypedDict, total=False): authTokens: _list[AuthToken] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupCollectionsResponse(typing_extensions.TypedDict, total=False): +class ListBackupCollectionsResponse(typing.TypedDict, total=False): backupCollections: _list[BackupCollection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTokenAuthUsersResponse(typing_extensions.TypedDict, total=False): +class ListTokenAuthUsersResponse(typing.TypedDict, total=False): nextPageToken: str tokenAuthUsers: _list[TokenAuthUser] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -974,7 +997,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MachineConfiguration(typing_extensions.TypedDict, total=False): +class MachineConfiguration(typing.TypedDict, total=False): baselineSlots: str cpuCount: int maxReservationSlots: str @@ -983,43 +1006,43 @@ class MachineConfiguration(typing_extensions.TypedDict, total=False): vcpuCount: float @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str updateTime: str weeklyMaintenanceWindow: _list[WeeklyMaintenanceWindow] @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): canReschedule: bool endTime: str scheduleDeadlineTime: str startTime: str @typing.type_check_only -class ManagedBackupSource(typing_extensions.TypedDict, total=False): +class ManagedBackupSource(typing.TypedDict, total=False): backup: str @typing.type_check_only -class ManagedCertificateAuthority(typing_extensions.TypedDict, total=False): +class ManagedCertificateAuthority(typing.TypedDict, total=False): caCerts: _list[CertChain] @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): primaryCluster: RemoteCluster secondaryClusters: _list[RemoteCluster] @typing.type_check_only -class NodeInfo(typing_extensions.TypedDict, total=False): +class NodeInfo(typing.TypedDict, total=False): id: str zone: str @typing.type_check_only -class ObservabilityMetricData(typing_extensions.TypedDict, total=False): - aggregationType: typing_extensions.Literal[ +class ObservabilityMetricData(typing.TypedDict, total=False): + aggregationType: typing.Literal[ "AGGREGATION_TYPE_UNSPECIFIED", "PEAK", "P99", "P95", "CURRENT" ] - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "CPU_UTILIZATION", "MEMORY_UTILIZATION", @@ -1035,7 +1058,7 @@ class ObservabilityMetricData(typing_extensions.TypedDict, total=False): value: TypedValue @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1043,9 +1066,9 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationError(typing_extensions.TypedDict, total=False): +class OperationError(typing.TypedDict, total=False): code: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "OPERATION_ERROR_TYPE_UNSPECIFIED", "KMS_KEY_ERROR", "DATABASE_ERROR", @@ -1057,7 +1080,7 @@ class OperationError(typing_extensions.TypedDict, total=False): message: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -1067,16 +1090,14 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class PersistenceConfig(typing_extensions.TypedDict, total=False): - persistenceMode: typing_extensions.Literal[ - "PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB" - ] +class PersistenceConfig(typing.TypedDict, total=False): + persistenceMode: typing.Literal["PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB"] rdbNextSnapshotTime: str - rdbSnapshotPeriod: typing_extensions.Literal[ + rdbSnapshotPeriod: typing.Literal[ "SNAPSHOT_PERIOD_UNSPECIFIED", "ONE_HOUR", "SIX_HOURS", @@ -1086,8 +1107,8 @@ class PersistenceConfig(typing_extensions.TypedDict, total=False): rdbSnapshotStartTime: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class Product(typing.TypedDict, total=False): + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "ENGINE_MYSQL", "MYSQL", @@ -1110,7 +1131,7 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_ADB_SERVERLESS_ORACLE", ] minorVersion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", "CLOUD_SQL", @@ -1130,9 +1151,9 @@ class Product(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PscAutoConnection(typing_extensions.TypedDict, total=False): +class PscAutoConnection(typing.TypedDict, total=False): address: str - connectionType: typing_extensions.Literal[ + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "CONNECTION_TYPE_DISCOVERY", "CONNECTION_TYPE_PRIMARY", @@ -1142,7 +1163,7 @@ class PscAutoConnection(typing_extensions.TypedDict, total=False): network: str projectId: str pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "PSC_CONNECTION_STATUS_UNSPECIFIED", "PSC_CONNECTION_STATUS_ACTIVE", "PSC_CONNECTION_STATUS_NOT_FOUND", @@ -1150,13 +1171,13 @@ class PscAutoConnection(typing_extensions.TypedDict, total=False): serviceAttachment: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): network: str @typing.type_check_only -class PscConnection(typing_extensions.TypedDict, total=False): +class PscConnection(typing.TypedDict, total=False): address: str - connectionType: typing_extensions.Literal[ + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "CONNECTION_TYPE_DISCOVERY", "CONNECTION_TYPE_PRIMARY", @@ -1167,7 +1188,7 @@ class PscConnection(typing_extensions.TypedDict, total=False): port: int projectId: str pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "PSC_CONNECTION_STATUS_UNSPECIFIED", "PSC_CONNECTION_STATUS_ACTIVE", "PSC_CONNECTION_STATUS_NOT_FOUND", @@ -1175,8 +1196,8 @@ class PscConnection(typing_extensions.TypedDict, total=False): serviceAttachment: str @typing.type_check_only -class PscServiceAttachment(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class PscServiceAttachment(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "CONNECTION_TYPE_DISCOVERY", "CONNECTION_TYPE_PRIMARY", @@ -1185,8 +1206,8 @@ class PscServiceAttachment(typing_extensions.TypedDict, total=False): serviceAttachment: str @typing.type_check_only -class RDBConfig(typing_extensions.TypedDict, total=False): - rdbSnapshotPeriod: typing_extensions.Literal[ +class RDBConfig(typing.TypedDict, total=False): + rdbSnapshotPeriod: typing.Literal[ "SNAPSHOT_PERIOD_UNSPECIFIED", "ONE_HOUR", "SIX_HOURS", @@ -1196,35 +1217,33 @@ class RDBConfig(typing_extensions.TypedDict, total=False): rdbSnapshotStartTime: str @typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): +class ReconciliationOperationMetadata(typing.TypedDict, total=False): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class RegionalCertChain(typing_extensions.TypedDict, total=False): +class RegionalCertChain(typing.TypedDict, total=False): certificates: _list[str] @typing.type_check_only -class RegionalManagedCertificateAuthority(typing_extensions.TypedDict, total=False): +class RegionalManagedCertificateAuthority(typing.TypedDict, total=False): caCerts: _list[RegionalCertChain] @typing.type_check_only -class RemoteCluster(typing_extensions.TypedDict, total=False): +class RemoteCluster(typing.TypedDict, total=False): cluster: str uid: str @typing.type_check_only -class RescheduleClusterMaintenanceRequest(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class RescheduleClusterMaintenanceRequest(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "SPECIFIC_TIME" ] scheduleTime: str @typing.type_check_only -class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class RescheduleMaintenanceRequest(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", @@ -1233,23 +1252,23 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): scheduleTime: str @typing.type_check_only -class ResourceFlags(typing_extensions.TypedDict, total=False): +class ResourceFlags(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): +class ResourceMaintenanceDenySchedule(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): +class ResourceMaintenanceInfo(typing.TypedDict, total=False): currentVersionReleaseDate: Date denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] isInstanceStopped: bool maintenanceSchedule: ResourceMaintenanceSchedule - maintenanceState: typing_extensions.Literal[ + maintenanceState: typing.Literal[ "MAINTENANCE_STATE_UNSPECIFIED", "CREATING", "READY", @@ -1263,8 +1282,8 @@ class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ResourceMaintenanceSchedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1274,16 +1293,14 @@ class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): "SATURDAY", "SUNDAY", ] - phase: typing_extensions.Literal[ - "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" - ] + phase: typing.Literal["PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5"] time: TimeOfDay @typing.type_check_only -class RetentionSettings(typing_extensions.TypedDict, total=False): +class RetentionSettings(typing.TypedDict, total=False): durationBasedRetention: str quantityBasedRetention: int - retentionUnit: typing_extensions.Literal[ + retentionUnit: typing.Literal[ "RETENTION_UNIT_UNSPECIFIED", "COUNT", "TIME", @@ -1294,38 +1311,38 @@ class RetentionSettings(typing_extensions.TypedDict, total=False): timestampBasedRetentionTime: str @typing.type_check_only -class SharedRegionalCertificateAuthority(typing_extensions.TypedDict, total=False): +class SharedRegionalCertificateAuthority(typing.TypedDict, total=False): managedServerCa: RegionalManagedCertificateAuthority name: str @typing.type_check_only -class SignalMetadata(typing_extensions.TypedDict, total=False): +class SignalMetadata(typing.TypedDict, total=False): backupRun: BackupRun signalBoolValue: bool @typing.type_check_only -class StateInfo(typing_extensions.TypedDict, total=False): +class StateInfo(typing.TypedDict, total=False): updateInfo: UpdateInfo @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tags(typing_extensions.TypedDict, total=False): +class Tags(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TlsCertificate(typing_extensions.TypedDict, total=False): +class TlsCertificate(typing.TypedDict, total=False): cert: str createTime: str expireTime: str @@ -1333,27 +1350,27 @@ class TlsCertificate(typing_extensions.TypedDict, total=False): sha1Fingerprint: str @typing.type_check_only -class TokenAuthUser(typing_extensions.TypedDict, total=False): +class TokenAuthUser(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "UPDATING", "DELETING" ] @typing.type_check_only -class TypedValue(typing_extensions.TypedDict, total=False): +class TypedValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float int64Value: str stringValue: str @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateInfo(typing_extensions.TypedDict, total=False): - targetNodeType: typing_extensions.Literal[ +class UpdateInfo(typing.TypedDict, total=False): + targetNodeType: typing.Literal[ "NODE_TYPE_UNSPECIFIED", "REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", @@ -1367,16 +1384,16 @@ class UpdateInfo(typing_extensions.TypedDict, total=False): targetShardCount: int @typing.type_check_only -class UpgradeInstanceRequest(typing_extensions.TypedDict, total=False): +class UpgradeInstanceRequest(typing.TypedDict, total=False): redisVersion: str @typing.type_check_only -class UserLabels(typing_extensions.TypedDict, total=False): +class UserLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class WeeklyMaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1390,8 +1407,8 @@ class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class ZoneDistributionConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ +class ZoneDistributionConfig(typing.TypedDict, total=False): + mode: typing.Literal[ "ZONE_DISTRIBUTION_MODE_UNSPECIFIED", "MULTI_ZONE", "SINGLE_ZONE" ] zone: str diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi index 9fc29a910..ce5ca454d 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -19,6 +18,25 @@ class CloudRedisResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class AclPoliciesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AclPolicyRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> ListAclPolicyRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAclPolicyRevisionsResponseHttpRequest, + previous_response: ListAclPolicyRevisionsResponse, + ) -> ListAclPolicyRevisionsResponseHttpRequest | None: ... + def create( self, *, @@ -61,6 +79,7 @@ class CloudRedisResource(googleapiclient.discovery.Resource): updateMask: str | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def revisions(self) -> RevisionsResource: ... @typing.type_check_only class BackupCollectionsResource(googleapiclient.discovery.Resource): @@ -395,6 +414,14 @@ class AclPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AclPolicy: ... +@typing.type_check_only +class AclPolicyRevisionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AclPolicyRevision: ... + @typing.type_check_only class AuthTokenHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -467,6 +494,14 @@ class ListAclPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListAclPoliciesResponse: ... +@typing.type_check_only +class ListAclPolicyRevisionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAclPolicyRevisionsResponse: ... + @typing.type_check_only class ListAuthTokensResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index bbe2dcaff..b40b18060 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -1,59 +1,76 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AOFConfig(typing_extensions.TypedDict, total=False): - appendFsync: typing_extensions.Literal[ - "APPEND_FSYNC_UNSPECIFIED", "NO", "EVERYSEC", "ALWAYS" - ] +class AOFConfig(typing.TypedDict, total=False): + appendFsync: typing.Literal["APPEND_FSYNC_UNSPECIFIED", "NO", "EVERYSEC", "ALWAYS"] @typing.type_check_only -class AclPolicy(typing_extensions.TypedDict, total=False): +class AclPolicy(typing.TypedDict, total=False): + clusterAclPolicyAttachments: _list[ClusterAclPolicyAttachment] + createTime: str etag: str name: str rules: _list[AclRule] - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "UPDATING", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "UPDATING", "DELETING"] + updateTime: str version: str @typing.type_check_only -class AclRule(typing_extensions.TypedDict, total=False): +class AclPolicyInfo(typing.TypedDict, total=False): + aclPolicyRevisionStatuses: _list[AclPolicyRevisionStatus] + appliedAclPolicy: str + appliedAclPolicyRevision: str + appliedAclPolicyRevisionNumber: str + +@typing.type_check_only +class AclPolicyRevision(typing.TypedDict, total=False): + attachedClusters: _list[str] + createTime: str + name: str + revisionNumber: str + snapshot: AclPolicy + +@typing.type_check_only +class AclPolicyRevisionStatus(typing.TypedDict, total=False): + aclPolicyRevision: str + aclPolicyRevisionNumber: str + errorMessage: str + state: typing.Literal["STATE_UNSPECIFIED", "APPLYING", "APPLIED", "FAILED"] + +@typing.type_check_only +class AclRule(typing.TypedDict, total=False): rule: str username: str @typing.type_check_only -class AddAuthTokenRequest(typing_extensions.TypedDict, total=False): +class AddAuthTokenRequest(typing.TypedDict, total=False): authToken: AuthToken @typing.type_check_only -class AddTokenAuthUserRequest(typing_extensions.TypedDict, total=False): +class AddTokenAuthUserRequest(typing.TypedDict, total=False): tokenAuthUser: str @typing.type_check_only -class AuthToken(typing_extensions.TypedDict, total=False): +class AuthToken(typing.TypedDict, total=False): createTime: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING", "DELETING"] token: str @typing.type_check_only -class AutomatedBackupConfig(typing_extensions.TypedDict, total=False): - automatedBackupMode: typing_extensions.Literal[ +class AutomatedBackupConfig(typing.TypedDict, total=False): + automatedBackupMode: typing.Literal[ "AUTOMATED_BACKUP_MODE_UNSPECIFIED", "DISABLED", "ENABLED" ] fixedFrequencySchedule: FixedFrequencySchedule retention: str @typing.type_check_only -class AvailabilityConfiguration(typing_extensions.TypedDict, total=False): +class AvailabilityConfiguration(typing.TypedDict, total=False): automaticFailoverRoutingConfigured: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL", @@ -65,11 +82,9 @@ class AvailabilityConfiguration(typing_extensions.TypedDict, total=False): promotableReplicaConfigured: bool @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): backupFiles: _list[BackupFile] - backupType: typing_extensions.Literal[ - "BACKUP_TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED" - ] + backupType: typing.Literal["BACKUP_TYPE_UNSPECIFIED", "ON_DEMAND", "AUTOMATED"] cluster: str clusterUid: str createTime: str @@ -77,7 +92,7 @@ class Backup(typing_extensions.TypedDict, total=False): engineVersion: str expireTime: str name: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "NODE_TYPE_UNSPECIFIED", "REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", @@ -89,19 +104,19 @@ class Backup(typing_extensions.TypedDict, total=False): ] replicaCount: int shardCount: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "SUSPENDED" ] totalSizeBytes: str uid: str @typing.type_check_only -class BackupClusterRequest(typing_extensions.TypedDict, total=False): +class BackupClusterRequest(typing.TypedDict, total=False): backupId: str ttl: str @typing.type_check_only -class BackupCollection(typing_extensions.TypedDict, total=False): +class BackupCollection(typing.TypedDict, total=False): cluster: str clusterUid: str createTime: str @@ -113,17 +128,17 @@ class BackupCollection(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class BackupConfiguration(typing_extensions.TypedDict, total=False): +class BackupConfiguration(typing.TypedDict, total=False): automatedBackupEnabled: bool backupRetentionSettings: RetentionSettings pointInTimeRecoveryEnabled: bool @typing.type_check_only -class BackupDRConfiguration(typing_extensions.TypedDict, total=False): +class BackupDRConfiguration(typing.TypedDict, total=False): backupdrManaged: bool @typing.type_check_only -class BackupDRMetadata(typing_extensions.TypedDict, total=False): +class BackupDRMetadata(typing.TypedDict, total=False): backupConfiguration: BackupConfiguration backupRun: BackupRun backupdrConfiguration: BackupDRConfiguration @@ -132,34 +147,35 @@ class BackupDRMetadata(typing_extensions.TypedDict, total=False): resourceId: DatabaseResourceId @typing.type_check_only -class BackupFile(typing_extensions.TypedDict, total=False): +class BackupFile(typing.TypedDict, total=False): createTime: str fileName: str sizeBytes: str @typing.type_check_only -class BackupRun(typing_extensions.TypedDict, total=False): +class BackupRun(typing.TypedDict, total=False): endTime: str error: OperationError startTime: str - status: typing_extensions.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] + status: typing.Literal["STATUS_UNSPECIFIED", "SUCCESSFUL", "FAILED"] @typing.type_check_only -class CertChain(typing_extensions.TypedDict, total=False): +class CertChain(typing.TypedDict, total=False): certificates: _list[str] @typing.type_check_only -class CertificateAuthority(typing_extensions.TypedDict, total=False): +class CertificateAuthority(typing.TypedDict, total=False): managedServerCa: ManagedCertificateAuthority name: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): aclPolicy: str aclPolicyInSync: bool + aclPolicyInfo: AclPolicyInfo allowFewerZonesDeployment: bool asyncClusterEndpointsDeletionEnabled: bool - authorizationMode: typing_extensions.Literal[ + authorizationMode: typing.Literal[ "AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED", @@ -183,7 +199,7 @@ class Cluster(typing_extensions.TypedDict, total=False): maintenanceVersion: str managedBackupSource: ManagedBackupSource name: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "NODE_TYPE_UNSPECIFIED", "REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", @@ -204,7 +220,7 @@ class Cluster(typing_extensions.TypedDict, total=False): rotateServerCertificate: bool satisfiesPzi: bool satisfiesPzs: bool - serverCaMode: typing_extensions.Literal[ + serverCaMode: typing.Literal[ "SERVER_CA_MODE_UNSPECIFIED", "SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA", "SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA", @@ -214,11 +230,11 @@ class Cluster(typing_extensions.TypedDict, total=False): shardCount: int simulateMaintenanceEvent: bool sizeGb: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING" ] stateInfo: StateInfo - transitEncryptionMode: typing_extensions.Literal[ + transitEncryptionMode: typing.Literal[ "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", "TRANSIT_ENCRYPTION_MODE_DISABLED", "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION", @@ -227,31 +243,34 @@ class Cluster(typing_extensions.TypedDict, total=False): zoneDistributionConfig: ZoneDistributionConfig @typing.type_check_only -class ClusterEndpoint(typing_extensions.TypedDict, total=False): +class ClusterAclPolicyAttachment(typing.TypedDict, total=False): + aclPolicyRevisionStatuses: _list[AclPolicyRevisionStatus] + cluster: str + +@typing.type_check_only +class ClusterEndpoint(typing.TypedDict, total=False): connections: _list[ConnectionDetail] @typing.type_check_only -class ClusterMaintenancePolicy(typing_extensions.TypedDict, total=False): +class ClusterMaintenancePolicy(typing.TypedDict, total=False): createTime: str updateTime: str weeklyMaintenanceWindow: _list[ClusterWeeklyMaintenanceWindow] @typing.type_check_only -class ClusterMaintenanceSchedule(typing_extensions.TypedDict, total=False): +class ClusterMaintenanceSchedule(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ClusterPersistenceConfig(typing_extensions.TypedDict, total=False): +class ClusterPersistenceConfig(typing.TypedDict, total=False): aofConfig: AOFConfig - mode: typing_extensions.Literal[ - "PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB", "AOF" - ] + mode: typing.Literal["PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB", "AOF"] rdbConfig: RDBConfig @typing.type_check_only -class ClusterWeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ClusterWeeklyMaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -264,17 +283,17 @@ class ClusterWeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class Compliance(typing_extensions.TypedDict, total=False): +class Compliance(typing.TypedDict, total=False): standard: str version: str @typing.type_check_only -class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): +class ConfigBasedSignalData(typing.TypedDict, total=False): fullResourceName: str lastRefreshTime: str resourceId: DatabaseResourceId signalBoolValue: bool - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -289,13 +308,13 @@ class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionDetail(typing_extensions.TypedDict, total=False): +class ConnectionDetail(typing.TypedDict, total=False): pscAutoConnection: PscAutoConnection pscConnection: PscConnection @typing.type_check_only -class CrossClusterReplicationConfig(typing_extensions.TypedDict, total=False): - clusterRole: typing_extensions.Literal[ +class CrossClusterReplicationConfig(typing.TypedDict, total=False): + clusterRole: typing.Literal[ "CLUSTER_ROLE_UNSPECIFIED", "NONE", "PRIMARY", "SECONDARY" ] membership: Membership @@ -304,16 +323,16 @@ class CrossClusterReplicationConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CustomMetadataData(typing_extensions.TypedDict, total=False): +class CustomMetadataData(typing.TypedDict, total=False): internalResourceMetadata: _list[InternalResourceMetadata] @typing.type_check_only -class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): +class DatabaseResourceFeed(typing.TypedDict, total=False): backupdrMetadata: BackupDRMetadata configBasedSignalData: ConfigBasedSignalData databaseResourceSignalData: DatabaseResourceSignalData feedTimestamp: str - feedType: typing_extensions.Literal[ + feedType: typing.Literal[ "FEEDTYPE_UNSPECIFIED", "RESOURCE_METADATA", "OBSERVABILITY_DATA", @@ -331,7 +350,7 @@ class DatabaseResourceFeed(typing_extensions.TypedDict, total=False): skipIngestion: bool @typing.type_check_only -class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False): +class DatabaseResourceHealthSignalData(typing.TypedDict, total=False): additionalMetadata: dict[str, typing.Any] compliance: _list[Compliance] description: str @@ -339,7 +358,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) externalUri: str location: str name: str - provider: typing_extensions.Literal[ + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -350,7 +369,7 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) ] resourceContainer: str resourceName: str - signalClass: typing_extensions.Literal[ + signalClass: typing.Literal[ "CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -359,10 +378,10 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "ERROR", ] signalId: str - signalSeverity: typing_extensions.Literal[ + signalSeverity: typing.Literal[ "SIGNAL_SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -472,12 +491,13 @@ 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"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @typing.type_check_only -class DatabaseResourceId(typing_extensions.TypedDict, total=False): - provider: typing_extensions.Literal[ +class DatabaseResourceId(typing.TypedDict, total=False): + provider: typing.Literal[ "PROVIDER_UNSPECIFIED", "GCP", "AWS", @@ -491,14 +511,14 @@ class DatabaseResourceId(typing_extensions.TypedDict, total=False): uniqueId: str @typing.type_check_only -class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): +class DatabaseResourceMetadata(typing.TypedDict, total=False): additionalMetadata: dict[str, typing.Any] availabilityConfiguration: AvailabilityConfiguration backupConfiguration: BackupConfiguration backupRun: BackupRun backupdrConfiguration: BackupDRConfiguration creationTime: str - currentState: typing_extensions.Literal[ + currentState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -508,14 +528,14 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "STOPPED", ] customMetadata: CustomMetadataData - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "EDITION_ENTERPRISE", "EDITION_ENTERPRISE_PLUS", "EDITION_STANDARD", ] entitlements: _list[Entitlement] - expectedState: typing_extensions.Literal[ + expectedState: typing.Literal[ "STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", @@ -526,7 +546,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): ] gcbdrConfiguration: GCBDRConfiguration id: DatabaseResourceId - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "SUB_RESOURCE_TYPE_UNSPECIFIED", "PRIMARY", @@ -549,7 +569,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): machineConfiguration: MachineConfiguration maintenanceInfo: ResourceMaintenanceInfo modes: _list[ - typing_extensions.Literal[ + typing.Literal[ "MODE_UNSPECIFIED", "MODE_NATIVE", "MODE_MONGODB_COMPATIBLE", @@ -564,7 +584,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): resourceContainer: str resourceFlags: _list[ResourceFlags] resourceName: str - suspensionReason: typing_extensions.Literal[ + suspensionReason: typing.Literal[ "SUSPENSION_REASON_UNSPECIFIED", "WIPEOUT_HIDE_EVENT", "WIPEOUT_PURGE_EVENT", @@ -579,19 +599,17 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class DatabaseResourceRecommendationSignalData( - typing_extensions.TypedDict, total=False -): +class DatabaseResourceRecommendationSignalData(typing.TypedDict, total=False): additionalMetadata: dict[str, typing.Any] lastRefreshTime: str - recommendationState: typing_extensions.Literal[ + recommendationState: typing.Literal[ "UNSPECIFIED", "ACTIVE", "CLAIMED", "SUCCEEDED", "FAILED", "DISMISSED" ] recommender: str recommenderId: str recommenderSubtype: str resourceName: str - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", @@ -701,10 +719,11 @@ 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 -class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): +class DatabaseResourceSignalData(typing.TypedDict, total=False): backupRun: BackupRun fullResourceName: str lastRefreshTime: str @@ -712,10 +731,10 @@ class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): resourceId: DatabaseResourceId signalBoolValue: bool signalMetadataList: _list[SignalMetadata] - signalState: typing_extensions.Literal[ + signalState: typing.Literal[ "SIGNAL_STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DISMISSED" ] - signalType: typing_extensions.Literal[ + signalType: typing.Literal[ "SIGNAL_TYPE_UNSPECIFIED", "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", @@ -730,26 +749,26 @@ class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DiscoveryEndpoint(typing_extensions.TypedDict, total=False): +class DiscoveryEndpoint(typing.TypedDict, total=False): address: str port: int pscConfig: PscConfig @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class EncryptionInfo(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION" ] - kmsKeyPrimaryState: typing_extensions.Literal[ + kmsKeyPrimaryState: typing.Literal[ "KMS_KEY_STATE_UNSPECIFIED", "ENABLED", "PERMISSION_DENIED", @@ -764,50 +783,50 @@ class EncryptionInfo(typing_extensions.TypedDict, total=False): lastUpdateTime: str @typing.type_check_only -class Entitlement(typing_extensions.TypedDict, total=False): - entitlementState: typing_extensions.Literal[ +class Entitlement(typing.TypedDict, total=False): + entitlementState: typing.Literal[ "ENTITLEMENT_STATE_UNSPECIFIED", "ENTITLED", "REVOKED" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "ENTITLEMENT_TYPE_UNSPECIFIED", "GEMINI", "NATIVE", "GCA_STANDARD" ] @typing.type_check_only -class ExportBackupRequest(typing_extensions.TypedDict, total=False): +class ExportBackupRequest(typing.TypedDict, total=False): gcsBucket: str @typing.type_check_only -class ExportInstanceRequest(typing_extensions.TypedDict, total=False): +class ExportInstanceRequest(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class FailoverInstanceRequest(typing_extensions.TypedDict, total=False): - dataProtectionMode: typing_extensions.Literal[ +class FailoverInstanceRequest(typing.TypedDict, total=False): + dataProtectionMode: typing.Literal[ "DATA_PROTECTION_MODE_UNSPECIFIED", "LIMITED_DATA_LOSS", "FORCE_DATA_LOSS" ] @typing.type_check_only -class FixedFrequencySchedule(typing_extensions.TypedDict, total=False): +class FixedFrequencySchedule(typing.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class GCBDRConfiguration(typing_extensions.TypedDict, total=False): +class GCBDRConfiguration(typing.TypedDict, total=False): gcbdrManaged: bool @typing.type_check_only -class GcsBackupSource(typing_extensions.TypedDict, total=False): +class GcsBackupSource(typing.TypedDict, total=False): uris: _list[str] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudCommonOperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -817,27 +836,27 @@ class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=Fals verb: str @typing.type_check_only -class GoogleCloudRedisV1beta1LocationMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRedisV1beta1LocationMetadata(typing.TypedDict, total=False): availableZones: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRedisV1beta1ZoneMetadata(typing_extensions.TypedDict, total=False): ... +class GoogleCloudRedisV1beta1ZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportInstanceRequest(typing_extensions.TypedDict, total=False): +class ImportInstanceRequest(typing.TypedDict, total=False): inputConfig: InputConfig @typing.type_check_only -class InputConfig(typing_extensions.TypedDict, total=False): +class InputConfig(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): alternativeLocationId: str authEnabled: bool authorizedNetwork: str availableMaintenanceVersions: _list[str] - connectMode: typing_extensions.Literal[ + connectMode: typing.Literal[ "CONNECT_MODE_UNSPECIFIED", "DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS" ] createTime: str @@ -858,7 +877,7 @@ class Instance(typing_extensions.TypedDict, total=False): port: int readEndpoint: str readEndpointPort: int - readReplicasMode: typing_extensions.Literal[ + readReplicasMode: typing.Literal[ "READ_REPLICAS_MODE_UNSPECIFIED", "READ_REPLICAS_DISABLED", "READ_REPLICAS_ENABLED", @@ -871,7 +890,7 @@ class Instance(typing_extensions.TypedDict, total=False): satisfiesPzs: bool secondaryIpRange: str serverCaCerts: _list[TlsCertificate] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -884,22 +903,20 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str suspensionReasons: _list[ - typing_extensions.Literal[ - "SUSPENSION_REASON_UNSPECIFIED", "CUSTOMER_MANAGED_KEY_ISSUE" - ] + typing.Literal["SUSPENSION_REASON_UNSPECIFIED", "CUSTOMER_MANAGED_KEY_ISSUE"] ] tags: dict[str, typing.Any] - tier: typing_extensions.Literal["TIER_UNSPECIFIED", "BASIC", "STANDARD_HA"] - transitEncryptionMode: typing_extensions.Literal[ + tier: typing.Literal["TIER_UNSPECIFIED", "BASIC", "STANDARD_HA"] + transitEncryptionMode: typing.Literal[ "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", "SERVER_AUTHENTICATION", "DISABLED" ] @typing.type_check_only -class InstanceAuthString(typing_extensions.TypedDict, total=False): +class InstanceAuthString(typing.TypedDict, total=False): authString: str @typing.type_check_only -class InternalResourceMetadata(typing_extensions.TypedDict, total=False): +class InternalResourceMetadata(typing.TypedDict, total=False): backupConfiguration: BackupConfiguration backupRun: BackupRun isDeletionProtectionEnabled: bool @@ -908,65 +925,71 @@ class InternalResourceMetadata(typing_extensions.TypedDict, total=False): resourceName: str @typing.type_check_only -class IpAddress(typing_extensions.TypedDict, total=False): +class IpAddress(typing.TypedDict, total=False): privateIp: str publicIp: str @typing.type_check_only -class ListAclPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListAclPoliciesResponse(typing.TypedDict, total=False): aclPolicies: _list[AclPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListAuthTokensResponse(typing_extensions.TypedDict, total=False): +class ListAclPolicyRevisionsResponse(typing.TypedDict, total=False): + aclPolicyRevisions: _list[AclPolicyRevision] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListAuthTokensResponse(typing.TypedDict, total=False): authTokens: _list[AuthToken] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupCollectionsResponse(typing_extensions.TypedDict, total=False): +class ListBackupCollectionsResponse(typing.TypedDict, total=False): backupCollections: _list[BackupCollection] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTokenAuthUsersResponse(typing_extensions.TypedDict, total=False): +class ListTokenAuthUsersResponse(typing.TypedDict, total=False): nextPageToken: str tokenAuthUsers: _list[TokenAuthUser] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -974,7 +997,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MachineConfiguration(typing_extensions.TypedDict, total=False): +class MachineConfiguration(typing.TypedDict, total=False): baselineSlots: str cpuCount: int maxReservationSlots: str @@ -983,43 +1006,43 @@ class MachineConfiguration(typing_extensions.TypedDict, total=False): vcpuCount: float @typing.type_check_only -class MaintenancePolicy(typing_extensions.TypedDict, total=False): +class MaintenancePolicy(typing.TypedDict, total=False): createTime: str description: str updateTime: str weeklyMaintenanceWindow: _list[WeeklyMaintenanceWindow] @typing.type_check_only -class MaintenanceSchedule(typing_extensions.TypedDict, total=False): +class MaintenanceSchedule(typing.TypedDict, total=False): canReschedule: bool endTime: str scheduleDeadlineTime: str startTime: str @typing.type_check_only -class ManagedBackupSource(typing_extensions.TypedDict, total=False): +class ManagedBackupSource(typing.TypedDict, total=False): backup: str @typing.type_check_only -class ManagedCertificateAuthority(typing_extensions.TypedDict, total=False): +class ManagedCertificateAuthority(typing.TypedDict, total=False): caCerts: _list[CertChain] @typing.type_check_only -class Membership(typing_extensions.TypedDict, total=False): +class Membership(typing.TypedDict, total=False): primaryCluster: RemoteCluster secondaryClusters: _list[RemoteCluster] @typing.type_check_only -class NodeInfo(typing_extensions.TypedDict, total=False): +class NodeInfo(typing.TypedDict, total=False): id: str zone: str @typing.type_check_only -class ObservabilityMetricData(typing_extensions.TypedDict, total=False): - aggregationType: typing_extensions.Literal[ +class ObservabilityMetricData(typing.TypedDict, total=False): + aggregationType: typing.Literal[ "AGGREGATION_TYPE_UNSPECIFIED", "PEAK", "P99", "P95", "CURRENT" ] - metricType: typing_extensions.Literal[ + metricType: typing.Literal[ "METRIC_TYPE_UNSPECIFIED", "CPU_UTILIZATION", "MEMORY_UTILIZATION", @@ -1035,7 +1058,7 @@ class ObservabilityMetricData(typing_extensions.TypedDict, total=False): value: TypedValue @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -1043,9 +1066,9 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationError(typing_extensions.TypedDict, total=False): +class OperationError(typing.TypedDict, total=False): code: str - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "OPERATION_ERROR_TYPE_UNSPECIFIED", "KMS_KEY_ERROR", "DATABASE_ERROR", @@ -1057,7 +1080,7 @@ class OperationError(typing_extensions.TypedDict, total=False): message: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -1067,16 +1090,14 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class PersistenceConfig(typing_extensions.TypedDict, total=False): - persistenceMode: typing_extensions.Literal[ - "PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB" - ] +class PersistenceConfig(typing.TypedDict, total=False): + persistenceMode: typing.Literal["PERSISTENCE_MODE_UNSPECIFIED", "DISABLED", "RDB"] rdbNextSnapshotTime: str - rdbSnapshotPeriod: typing_extensions.Literal[ + rdbSnapshotPeriod: typing.Literal[ "SNAPSHOT_PERIOD_UNSPECIFIED", "ONE_HOUR", "SIX_HOURS", @@ -1086,8 +1107,8 @@ class PersistenceConfig(typing_extensions.TypedDict, total=False): rdbSnapshotStartTime: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): - engine: typing_extensions.Literal[ +class Product(typing.TypedDict, total=False): + engine: typing.Literal[ "ENGINE_UNSPECIFIED", "ENGINE_MYSQL", "MYSQL", @@ -1110,7 +1131,7 @@ class Product(typing_extensions.TypedDict, total=False): "ENGINE_ADB_SERVERLESS_ORACLE", ] minorVersion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "PRODUCT_TYPE_UNSPECIFIED", "PRODUCT_TYPE_CLOUD_SQL", "CLOUD_SQL", @@ -1130,9 +1151,9 @@ class Product(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class PscAutoConnection(typing_extensions.TypedDict, total=False): +class PscAutoConnection(typing.TypedDict, total=False): address: str - connectionType: typing_extensions.Literal[ + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "CONNECTION_TYPE_DISCOVERY", "CONNECTION_TYPE_PRIMARY", @@ -1142,7 +1163,7 @@ class PscAutoConnection(typing_extensions.TypedDict, total=False): network: str projectId: str pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "PSC_CONNECTION_STATUS_UNSPECIFIED", "PSC_CONNECTION_STATUS_ACTIVE", "PSC_CONNECTION_STATUS_NOT_FOUND", @@ -1150,13 +1171,13 @@ class PscAutoConnection(typing_extensions.TypedDict, total=False): serviceAttachment: str @typing.type_check_only -class PscConfig(typing_extensions.TypedDict, total=False): +class PscConfig(typing.TypedDict, total=False): network: str @typing.type_check_only -class PscConnection(typing_extensions.TypedDict, total=False): +class PscConnection(typing.TypedDict, total=False): address: str - connectionType: typing_extensions.Literal[ + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "CONNECTION_TYPE_DISCOVERY", "CONNECTION_TYPE_PRIMARY", @@ -1167,7 +1188,7 @@ class PscConnection(typing_extensions.TypedDict, total=False): port: int projectId: str pscConnectionId: str - pscConnectionStatus: typing_extensions.Literal[ + pscConnectionStatus: typing.Literal[ "PSC_CONNECTION_STATUS_UNSPECIFIED", "PSC_CONNECTION_STATUS_ACTIVE", "PSC_CONNECTION_STATUS_NOT_FOUND", @@ -1175,8 +1196,8 @@ class PscConnection(typing_extensions.TypedDict, total=False): serviceAttachment: str @typing.type_check_only -class PscServiceAttachment(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class PscServiceAttachment(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "CONNECTION_TYPE_DISCOVERY", "CONNECTION_TYPE_PRIMARY", @@ -1185,8 +1206,8 @@ class PscServiceAttachment(typing_extensions.TypedDict, total=False): serviceAttachment: str @typing.type_check_only -class RDBConfig(typing_extensions.TypedDict, total=False): - rdbSnapshotPeriod: typing_extensions.Literal[ +class RDBConfig(typing.TypedDict, total=False): + rdbSnapshotPeriod: typing.Literal[ "SNAPSHOT_PERIOD_UNSPECIFIED", "ONE_HOUR", "SIX_HOURS", @@ -1196,35 +1217,33 @@ class RDBConfig(typing_extensions.TypedDict, total=False): rdbSnapshotStartTime: str @typing.type_check_only -class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): +class ReconciliationOperationMetadata(typing.TypedDict, total=False): deleteResource: bool - exclusiveAction: typing_extensions.Literal[ - "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" - ] + exclusiveAction: typing.Literal["UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY"] @typing.type_check_only -class RegionalCertChain(typing_extensions.TypedDict, total=False): +class RegionalCertChain(typing.TypedDict, total=False): certificates: _list[str] @typing.type_check_only -class RegionalManagedCertificateAuthority(typing_extensions.TypedDict, total=False): +class RegionalManagedCertificateAuthority(typing.TypedDict, total=False): caCerts: _list[RegionalCertChain] @typing.type_check_only -class RemoteCluster(typing_extensions.TypedDict, total=False): +class RemoteCluster(typing.TypedDict, total=False): cluster: str uid: str @typing.type_check_only -class RescheduleClusterMaintenanceRequest(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class RescheduleClusterMaintenanceRequest(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "SPECIFIC_TIME" ] scheduleTime: str @typing.type_check_only -class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class RescheduleMaintenanceRequest(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", @@ -1233,23 +1252,23 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): scheduleTime: str @typing.type_check_only -class ResourceFlags(typing_extensions.TypedDict, total=False): +class ResourceFlags(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): +class ResourceMaintenanceDenySchedule(typing.TypedDict, total=False): endDate: Date startDate: Date time: TimeOfDay @typing.type_check_only -class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): +class ResourceMaintenanceInfo(typing.TypedDict, total=False): currentVersionReleaseDate: Date denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] isInstanceStopped: bool maintenanceSchedule: ResourceMaintenanceSchedule - maintenanceState: typing_extensions.Literal[ + maintenanceState: typing.Literal[ "MAINTENANCE_STATE_UNSPECIFIED", "CREATING", "READY", @@ -1263,8 +1282,8 @@ class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class ResourceMaintenanceSchedule(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1274,16 +1293,14 @@ class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): "SATURDAY", "SUNDAY", ] - phase: typing_extensions.Literal[ - "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" - ] + phase: typing.Literal["PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5"] time: TimeOfDay @typing.type_check_only -class RetentionSettings(typing_extensions.TypedDict, total=False): +class RetentionSettings(typing.TypedDict, total=False): durationBasedRetention: str quantityBasedRetention: int - retentionUnit: typing_extensions.Literal[ + retentionUnit: typing.Literal[ "RETENTION_UNIT_UNSPECIFIED", "COUNT", "TIME", @@ -1294,38 +1311,38 @@ class RetentionSettings(typing_extensions.TypedDict, total=False): timestampBasedRetentionTime: str @typing.type_check_only -class SharedRegionalCertificateAuthority(typing_extensions.TypedDict, total=False): +class SharedRegionalCertificateAuthority(typing.TypedDict, total=False): managedServerCa: RegionalManagedCertificateAuthority name: str @typing.type_check_only -class SignalMetadata(typing_extensions.TypedDict, total=False): +class SignalMetadata(typing.TypedDict, total=False): backupRun: BackupRun signalBoolValue: bool @typing.type_check_only -class StateInfo(typing_extensions.TypedDict, total=False): +class StateInfo(typing.TypedDict, total=False): updateInfo: UpdateInfo @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tags(typing_extensions.TypedDict, total=False): +class Tags(typing.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TlsCertificate(typing_extensions.TypedDict, total=False): +class TlsCertificate(typing.TypedDict, total=False): cert: str createTime: str expireTime: str @@ -1333,27 +1350,27 @@ class TlsCertificate(typing_extensions.TypedDict, total=False): sha1Fingerprint: str @typing.type_check_only -class TokenAuthUser(typing_extensions.TypedDict, total=False): +class TokenAuthUser(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "UPDATING", "DELETING" ] @typing.type_check_only -class TypedValue(typing_extensions.TypedDict, total=False): +class TypedValue(typing.TypedDict, total=False): boolValue: bool doubleValue: float int64Value: str stringValue: str @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class UpdateInfo(typing_extensions.TypedDict, total=False): - targetNodeType: typing_extensions.Literal[ +class UpdateInfo(typing.TypedDict, total=False): + targetNodeType: typing.Literal[ "NODE_TYPE_UNSPECIFIED", "REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", @@ -1367,16 +1384,16 @@ class UpdateInfo(typing_extensions.TypedDict, total=False): targetShardCount: int @typing.type_check_only -class UpgradeInstanceRequest(typing_extensions.TypedDict, total=False): +class UpgradeInstanceRequest(typing.TypedDict, total=False): redisVersion: str @typing.type_check_only -class UserLabels(typing_extensions.TypedDict, total=False): +class UserLabels(typing.TypedDict, total=False): labels: dict[str, typing.Any] @typing.type_check_only -class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): - day: typing_extensions.Literal[ +class WeeklyMaintenanceWindow(typing.TypedDict, total=False): + day: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -1390,8 +1407,8 @@ class WeeklyMaintenanceWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class ZoneDistributionConfig(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal[ +class ZoneDistributionConfig(typing.TypedDict, total=False): + mode: typing.Literal[ "ZONE_DISTRIBUTION_MODE_UNSPECIFIED", "MULTI_ZONE", "SINGLE_ZONE" ] zone: str diff --git a/googleapiclient-stubs/_apis/remotebuildexecution/v1/resources.pyi b/googleapiclient-stubs/_apis/remotebuildexecution/v1/resources.pyi index 71abfcc92..6c198d713 100644 --- a/googleapiclient-stubs/_apis/remotebuildexecution/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/remotebuildexecution/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/remotebuildexecution/v1/schemas.pyi b/googleapiclient-stubs/_apis/remotebuildexecution/v1/schemas.pyi index a823df98a..1c7ea7726 100644 --- a/googleapiclient-stubs/_apis/remotebuildexecution/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/remotebuildexecution/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BuildBazelRemoteExecutionV2Action(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Action(typing.TypedDict, total=False): commandDigest: BuildBazelRemoteExecutionV2Digest doNotCache: bool inputRootDigest: BuildBazelRemoteExecutionV2Digest @@ -14,7 +12,7 @@ class BuildBazelRemoteExecutionV2Action(typing_extensions.TypedDict, total=False timeout: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ActionResult(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2ActionResult(typing.TypedDict, total=False): executionMetadata: BuildBazelRemoteExecutionV2ExecutedActionMetadata exitCode: int outputDirectories: _list[BuildBazelRemoteExecutionV2OutputDirectory] @@ -28,7 +26,7 @@ class BuildBazelRemoteExecutionV2ActionResult(typing_extensions.TypedDict, total stdoutRaw: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Command(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Command(typing.TypedDict, total=False): arguments: _list[str] environmentVariables: _list[BuildBazelRemoteExecutionV2CommandEnvironmentVariable] outputDirectories: _list[str] @@ -40,45 +38,39 @@ class BuildBazelRemoteExecutionV2Command(typing_extensions.TypedDict, total=Fals @typing.type_check_only class BuildBazelRemoteExecutionV2CommandEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Digest(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Digest(typing.TypedDict, total=False): hash: str sizeBytes: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Directory(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Directory(typing.TypedDict, total=False): directories: _list[BuildBazelRemoteExecutionV2DirectoryNode] files: _list[BuildBazelRemoteExecutionV2FileNode] nodeProperties: BuildBazelRemoteExecutionV2NodeProperties symlinks: _list[BuildBazelRemoteExecutionV2SymlinkNode] @typing.type_check_only -class BuildBazelRemoteExecutionV2DirectoryNode( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2DirectoryNode(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest name: str @typing.type_check_only class BuildBazelRemoteExecutionV2ExecuteOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionDigest: BuildBazelRemoteExecutionV2Digest - stage: typing_extensions.Literal[ - "UNKNOWN", "CACHE_CHECK", "QUEUED", "EXECUTING", "COMPLETED" - ] + stage: typing.Literal["UNKNOWN", "CACHE_CHECK", "QUEUED", "EXECUTING", "COMPLETED"] stderrStreamName: str stdoutStreamName: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecuteResponse( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecuteResponse(typing.TypedDict, total=False): cachedResult: bool message: str result: BuildBazelRemoteExecutionV2ActionResult @@ -86,9 +78,7 @@ class BuildBazelRemoteExecutionV2ExecuteResponse( status: GoogleRpcStatus @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecutedActionMetadata( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecutedActionMetadata(typing.TypedDict, total=False): auxiliaryMetadata: _list[dict[str, typing.Any]] executionCompletedTimestamp: str executionStartTimestamp: str @@ -102,39 +92,35 @@ class BuildBazelRemoteExecutionV2ExecutedActionMetadata( workerStartTimestamp: str @typing.type_check_only -class BuildBazelRemoteExecutionV2FileNode(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2FileNode(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest isExecutable: bool name: str nodeProperties: BuildBazelRemoteExecutionV2NodeProperties @typing.type_check_only -class BuildBazelRemoteExecutionV2LogFile(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2LogFile(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest humanReadable: bool @typing.type_check_only -class BuildBazelRemoteExecutionV2NodeProperties( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2NodeProperties(typing.TypedDict, total=False): mtime: str properties: _list[BuildBazelRemoteExecutionV2NodeProperty] unixMode: int @typing.type_check_only -class BuildBazelRemoteExecutionV2NodeProperty(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2NodeProperty(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputDirectory( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2OutputDirectory(typing.TypedDict, total=False): path: str treeDigest: BuildBazelRemoteExecutionV2Digest @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputFile(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2OutputFile(typing.TypedDict, total=False): contents: str digest: BuildBazelRemoteExecutionV2Digest isExecutable: bool @@ -142,28 +128,22 @@ class BuildBazelRemoteExecutionV2OutputFile(typing_extensions.TypedDict, total=F path: str @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputSymlink( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2OutputSymlink(typing.TypedDict, total=False): nodeProperties: BuildBazelRemoteExecutionV2NodeProperties path: str target: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Platform(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Platform(typing.TypedDict, total=False): properties: _list[BuildBazelRemoteExecutionV2PlatformProperty] @typing.type_check_only -class BuildBazelRemoteExecutionV2PlatformProperty( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2PlatformProperty(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2RequestMetadata( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2RequestMetadata(typing.TypedDict, total=False): actionId: str actionMnemonic: str configurationId: str @@ -173,29 +153,27 @@ class BuildBazelRemoteExecutionV2RequestMetadata( toolInvocationId: str @typing.type_check_only -class BuildBazelRemoteExecutionV2SymlinkNode(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2SymlinkNode(typing.TypedDict, total=False): name: str nodeProperties: BuildBazelRemoteExecutionV2NodeProperties target: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ToolDetails(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2ToolDetails(typing.TypedDict, total=False): toolName: str toolVersion: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Tree(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Tree(typing.TypedDict, total=False): children: _list[BuildBazelRemoteExecutionV2Directory] root: BuildBazelRemoteExecutionV2Directory @typing.type_check_only -class GoogleBytestreamMedia(typing_extensions.TypedDict, total=False): +class GoogleBytestreamMedia(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandDurations( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotCommandDurations(typing.TypedDict, total=False): casRelease: str cmWaitForAssignment: str dockerPrep: str @@ -211,16 +189,14 @@ class GoogleDevtoolsRemotebuildbotCommandDurations( uploadStartTime: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandEvents( - typing_extensions.TypedDict, total=False -): - cmUsage: typing_extensions.Literal["CONFIG_NONE", "CONFIG_MATCH", "CONFIG_MISMATCH"] +class GoogleDevtoolsRemotebuildbotCommandEvents(typing.TypedDict, total=False): + cmUsage: typing.Literal["CONFIG_NONE", "CONFIG_MATCH", "CONFIG_MISMATCH"] dockerCacheHit: bool dockerImageName: str inputCacheMiss: float numErrors: str numWarnings: str - outputLocation: typing_extensions.Literal[ + outputLocation: typing.Literal[ "LOCATION_UNDEFINED", "LOCATION_NONE", "LOCATION_EXEC_ROOT_RELATIVE", @@ -232,10 +208,8 @@ class GoogleDevtoolsRemotebuildbotCommandEvents( usedAsyncContainer: bool @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandStatus( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class GoogleDevtoolsRemotebuildbotCommandStatus(typing.TypedDict, total=False): + code: typing.Literal[ "OK", "INVALID_ARGUMENT", "DEADLINE_EXCEEDED", @@ -283,18 +257,14 @@ class GoogleDevtoolsRemotebuildbotCommandStatus( message: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsage( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsage(typing.TypedDict, total=False): cpuUsedPercent: float diskUsage: GoogleDevtoolsRemotebuildbotResourceUsageStat memoryUsage: GoogleDevtoolsRemotebuildbotResourceUsageStat totalDiskIoStats: GoogleDevtoolsRemotebuildbotResourceUsageIOStats @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsageIOStats( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsageIOStats(typing.TypedDict, total=False): readBytesCount: str readCount: str readTimeMs: str @@ -303,29 +273,27 @@ class GoogleDevtoolsRemotebuildbotResourceUsageIOStats( writeTimeMs: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsageStat( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsageStat(typing.TypedDict, total=False): total: str used: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorCount: str acceleratorType: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSize: str minSize: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance instanceId: str @@ -333,7 +301,7 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str poolId: str @@ -341,19 +309,19 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): containerImageSources: ( GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature @@ -369,71 +337,65 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy( dockerSiblingContainers: ( GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature ) - linuxIsolation: typing_extensions.Literal[ - "LINUX_ISOLATION_UNSPECIFIED", "GVISOR", "OFF" - ] + linuxIsolation: typing.Literal["LINUX_ISOLATION_UNSPECIFIED", "GVISOR", "OFF"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] - policy: typing_extensions.Literal[ - "POLICY_UNSPECIFIED", "ALLOWED", "FORBIDDEN", "RESTRICTED" - ] + policy: typing.Literal["POLICY_UNSPECIFIED", "ALLOWED", "FORBIDDEN", "RESTRICTED"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featurePolicy: GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy location: str loggingEnabled: bool name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "RUNNING", "INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "RUNNING", "INACTIVE"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str parent: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workerPools: _list[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance loggingEnabled: bool @@ -442,14 +404,14 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updateMask: str workerPool: GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accelerator: GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig diskSizeGb: str @@ -465,49 +427,41 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoscale: GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale channel: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "UPDATING", "DELETING", "INACTIVE" ] workerConfig: GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig workerCount: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2AdminTemp( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2AdminTemp(typing.TypedDict, total=False): arg: str - command: typing_extensions.Literal[ + command: typing.Literal[ "UNSPECIFIED", "BOT_UPDATE", "BOT_RESTART", "BOT_TERMINATE", "HOST_RESTART" ] @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Blob(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsRemoteworkersV1test2Blob(typing.TypedDict, total=False): contents: str digest: GoogleDevtoolsRemoteworkersV1test2Digest @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandOutputs( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandOutputs(typing.TypedDict, total=False): exitCode: int outputs: GoogleDevtoolsRemoteworkersV1test2Digest @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandOverhead( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandOverhead(typing.TypedDict, total=False): duration: str overhead: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandResult( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandResult(typing.TypedDict, total=False): duration: str exitCode: int metadata: _list[dict[str, typing.Any]] @@ -516,16 +470,14 @@ class GoogleDevtoolsRemoteworkersV1test2CommandResult( status: GoogleRpcStatus @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandTask( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandTask(typing.TypedDict, total=False): expectedOutputs: GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs inputs: GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs timeouts: GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): arguments: _list[str] environmentVariables: _list[ @@ -537,14 +489,14 @@ class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs( @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): directories: _list[str] files: _list[str] @@ -553,54 +505,46 @@ class GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs( @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): execution: str idle: str shutdown: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Digest( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2Digest(typing.TypedDict, total=False): hash: str sizeBytes: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Directory( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2Directory(typing.TypedDict, total=False): directories: _list[GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata] files: _list[GoogleDevtoolsRemoteworkersV1test2FileMetadata] @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digest: GoogleDevtoolsRemoteworkersV1test2Digest path: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2FileMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2FileMetadata(typing.TypedDict, total=False): contents: str digest: GoogleDevtoolsRemoteworkersV1test2Digest isExecutable: bool path: str @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -608,10 +552,10 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/resources.pyi index 29de05bf5..19eef286c 100644 --- a/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/schemas.pyi index e15d57b34..265852771 100644 --- a/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/remotebuildexecution/v1alpha/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BuildBazelRemoteExecutionV2Action(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Action(typing.TypedDict, total=False): commandDigest: BuildBazelRemoteExecutionV2Digest doNotCache: bool inputRootDigest: BuildBazelRemoteExecutionV2Digest @@ -14,7 +12,7 @@ class BuildBazelRemoteExecutionV2Action(typing_extensions.TypedDict, total=False timeout: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ActionResult(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2ActionResult(typing.TypedDict, total=False): executionMetadata: BuildBazelRemoteExecutionV2ExecutedActionMetadata exitCode: int outputDirectories: _list[BuildBazelRemoteExecutionV2OutputDirectory] @@ -28,7 +26,7 @@ class BuildBazelRemoteExecutionV2ActionResult(typing_extensions.TypedDict, total stdoutRaw: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Command(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Command(typing.TypedDict, total=False): arguments: _list[str] environmentVariables: _list[BuildBazelRemoteExecutionV2CommandEnvironmentVariable] outputDirectories: _list[str] @@ -40,45 +38,39 @@ class BuildBazelRemoteExecutionV2Command(typing_extensions.TypedDict, total=Fals @typing.type_check_only class BuildBazelRemoteExecutionV2CommandEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Digest(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Digest(typing.TypedDict, total=False): hash: str sizeBytes: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Directory(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Directory(typing.TypedDict, total=False): directories: _list[BuildBazelRemoteExecutionV2DirectoryNode] files: _list[BuildBazelRemoteExecutionV2FileNode] nodeProperties: BuildBazelRemoteExecutionV2NodeProperties symlinks: _list[BuildBazelRemoteExecutionV2SymlinkNode] @typing.type_check_only -class BuildBazelRemoteExecutionV2DirectoryNode( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2DirectoryNode(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest name: str @typing.type_check_only class BuildBazelRemoteExecutionV2ExecuteOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionDigest: BuildBazelRemoteExecutionV2Digest - stage: typing_extensions.Literal[ - "UNKNOWN", "CACHE_CHECK", "QUEUED", "EXECUTING", "COMPLETED" - ] + stage: typing.Literal["UNKNOWN", "CACHE_CHECK", "QUEUED", "EXECUTING", "COMPLETED"] stderrStreamName: str stdoutStreamName: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecuteResponse( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecuteResponse(typing.TypedDict, total=False): cachedResult: bool message: str result: BuildBazelRemoteExecutionV2ActionResult @@ -86,9 +78,7 @@ class BuildBazelRemoteExecutionV2ExecuteResponse( status: GoogleRpcStatus @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecutedActionMetadata( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecutedActionMetadata(typing.TypedDict, total=False): auxiliaryMetadata: _list[dict[str, typing.Any]] executionCompletedTimestamp: str executionStartTimestamp: str @@ -102,39 +92,35 @@ class BuildBazelRemoteExecutionV2ExecutedActionMetadata( workerStartTimestamp: str @typing.type_check_only -class BuildBazelRemoteExecutionV2FileNode(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2FileNode(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest isExecutable: bool name: str nodeProperties: BuildBazelRemoteExecutionV2NodeProperties @typing.type_check_only -class BuildBazelRemoteExecutionV2LogFile(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2LogFile(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest humanReadable: bool @typing.type_check_only -class BuildBazelRemoteExecutionV2NodeProperties( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2NodeProperties(typing.TypedDict, total=False): mtime: str properties: _list[BuildBazelRemoteExecutionV2NodeProperty] unixMode: int @typing.type_check_only -class BuildBazelRemoteExecutionV2NodeProperty(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2NodeProperty(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputDirectory( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2OutputDirectory(typing.TypedDict, total=False): path: str treeDigest: BuildBazelRemoteExecutionV2Digest @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputFile(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2OutputFile(typing.TypedDict, total=False): contents: str digest: BuildBazelRemoteExecutionV2Digest isExecutable: bool @@ -142,28 +128,22 @@ class BuildBazelRemoteExecutionV2OutputFile(typing_extensions.TypedDict, total=F path: str @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputSymlink( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2OutputSymlink(typing.TypedDict, total=False): nodeProperties: BuildBazelRemoteExecutionV2NodeProperties path: str target: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Platform(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Platform(typing.TypedDict, total=False): properties: _list[BuildBazelRemoteExecutionV2PlatformProperty] @typing.type_check_only -class BuildBazelRemoteExecutionV2PlatformProperty( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2PlatformProperty(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2RequestMetadata( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2RequestMetadata(typing.TypedDict, total=False): actionId: str actionMnemonic: str configurationId: str @@ -173,25 +153,23 @@ class BuildBazelRemoteExecutionV2RequestMetadata( toolInvocationId: str @typing.type_check_only -class BuildBazelRemoteExecutionV2SymlinkNode(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2SymlinkNode(typing.TypedDict, total=False): name: str nodeProperties: BuildBazelRemoteExecutionV2NodeProperties target: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ToolDetails(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2ToolDetails(typing.TypedDict, total=False): toolName: str toolVersion: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Tree(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Tree(typing.TypedDict, total=False): children: _list[BuildBazelRemoteExecutionV2Directory] root: BuildBazelRemoteExecutionV2Directory @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandDurations( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotCommandDurations(typing.TypedDict, total=False): casRelease: str cmWaitForAssignment: str dockerPrep: str @@ -207,16 +185,14 @@ class GoogleDevtoolsRemotebuildbotCommandDurations( uploadStartTime: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandEvents( - typing_extensions.TypedDict, total=False -): - cmUsage: typing_extensions.Literal["CONFIG_NONE", "CONFIG_MATCH", "CONFIG_MISMATCH"] +class GoogleDevtoolsRemotebuildbotCommandEvents(typing.TypedDict, total=False): + cmUsage: typing.Literal["CONFIG_NONE", "CONFIG_MATCH", "CONFIG_MISMATCH"] dockerCacheHit: bool dockerImageName: str inputCacheMiss: float numErrors: str numWarnings: str - outputLocation: typing_extensions.Literal[ + outputLocation: typing.Literal[ "LOCATION_UNDEFINED", "LOCATION_NONE", "LOCATION_EXEC_ROOT_RELATIVE", @@ -228,10 +204,8 @@ class GoogleDevtoolsRemotebuildbotCommandEvents( usedAsyncContainer: bool @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandStatus( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class GoogleDevtoolsRemotebuildbotCommandStatus(typing.TypedDict, total=False): + code: typing.Literal[ "OK", "INVALID_ARGUMENT", "DEADLINE_EXCEEDED", @@ -279,18 +253,14 @@ class GoogleDevtoolsRemotebuildbotCommandStatus( message: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsage( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsage(typing.TypedDict, total=False): cpuUsedPercent: float diskUsage: GoogleDevtoolsRemotebuildbotResourceUsageStat memoryUsage: GoogleDevtoolsRemotebuildbotResourceUsageStat totalDiskIoStats: GoogleDevtoolsRemotebuildbotResourceUsageIOStats @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsageIOStats( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsageIOStats(typing.TypedDict, total=False): readBytesCount: str readCount: str readTimeMs: str @@ -299,29 +269,27 @@ class GoogleDevtoolsRemotebuildbotResourceUsageIOStats( writeTimeMs: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsageStat( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsageStat(typing.TypedDict, total=False): total: str used: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorCount: str acceleratorType: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSize: str minSize: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance instanceId: str @@ -329,7 +297,7 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str poolId: str @@ -337,19 +305,19 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): containerImageSources: ( GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature @@ -365,71 +333,65 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy( dockerSiblingContainers: ( GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature ) - linuxIsolation: typing_extensions.Literal[ - "LINUX_ISOLATION_UNSPECIFIED", "GVISOR", "OFF" - ] + linuxIsolation: typing.Literal["LINUX_ISOLATION_UNSPECIFIED", "GVISOR", "OFF"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] - policy: typing_extensions.Literal[ - "POLICY_UNSPECIFIED", "ALLOWED", "FORBIDDEN", "RESTRICTED" - ] + policy: typing.Literal["POLICY_UNSPECIFIED", "ALLOWED", "FORBIDDEN", "RESTRICTED"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featurePolicy: GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy location: str loggingEnabled: bool name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "RUNNING", "INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "RUNNING", "INACTIVE"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str parent: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workerPools: _list[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance loggingEnabled: bool @@ -438,14 +400,14 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updateMask: str workerPool: GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accelerator: GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig diskSizeGb: str @@ -461,49 +423,41 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoscale: GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale channel: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "UPDATING", "DELETING", "INACTIVE" ] workerConfig: GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig workerCount: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2AdminTemp( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2AdminTemp(typing.TypedDict, total=False): arg: str - command: typing_extensions.Literal[ + command: typing.Literal[ "UNSPECIFIED", "BOT_UPDATE", "BOT_RESTART", "BOT_TERMINATE", "HOST_RESTART" ] @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Blob(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsRemoteworkersV1test2Blob(typing.TypedDict, total=False): contents: str digest: GoogleDevtoolsRemoteworkersV1test2Digest @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandOutputs( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandOutputs(typing.TypedDict, total=False): exitCode: int outputs: GoogleDevtoolsRemoteworkersV1test2Digest @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandOverhead( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandOverhead(typing.TypedDict, total=False): duration: str overhead: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandResult( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandResult(typing.TypedDict, total=False): duration: str exitCode: int metadata: _list[dict[str, typing.Any]] @@ -512,16 +466,14 @@ class GoogleDevtoolsRemoteworkersV1test2CommandResult( status: GoogleRpcStatus @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandTask( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandTask(typing.TypedDict, total=False): expectedOutputs: GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs inputs: GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs timeouts: GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): arguments: _list[str] environmentVariables: _list[ @@ -533,14 +485,14 @@ class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs( @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): directories: _list[str] files: _list[str] @@ -549,44 +501,38 @@ class GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs( @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): execution: str idle: str shutdown: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Digest( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2Digest(typing.TypedDict, total=False): hash: str sizeBytes: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Directory( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2Directory(typing.TypedDict, total=False): directories: _list[GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata] files: _list[GoogleDevtoolsRemoteworkersV1test2FileMetadata] @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digest: GoogleDevtoolsRemoteworkersV1test2Digest path: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2FileMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2FileMetadata(typing.TypedDict, total=False): contents: str digest: GoogleDevtoolsRemoteworkersV1test2Digest isExecutable: bool path: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -594,7 +540,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/remotebuildexecution/v2/resources.pyi b/googleapiclient-stubs/_apis/remotebuildexecution/v2/resources.pyi index 40558ceb0..67a8ee114 100644 --- a/googleapiclient-stubs/_apis/remotebuildexecution/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/remotebuildexecution/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/remotebuildexecution/v2/schemas.pyi b/googleapiclient-stubs/_apis/remotebuildexecution/v2/schemas.pyi index 6b489cb90..0e25f0bae 100644 --- a/googleapiclient-stubs/_apis/remotebuildexecution/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/remotebuildexecution/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BuildBazelRemoteExecutionV2Action(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Action(typing.TypedDict, total=False): commandDigest: BuildBazelRemoteExecutionV2Digest doNotCache: bool inputRootDigest: BuildBazelRemoteExecutionV2Digest @@ -15,12 +13,12 @@ class BuildBazelRemoteExecutionV2Action(typing_extensions.TypedDict, total=False @typing.type_check_only class BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updateEnabled: bool @typing.type_check_only -class BuildBazelRemoteExecutionV2ActionResult(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2ActionResult(typing.TypedDict, total=False): executionMetadata: BuildBazelRemoteExecutionV2ExecutedActionMetadata exitCode: int outputDirectories: _list[BuildBazelRemoteExecutionV2OutputDirectory] @@ -34,72 +32,62 @@ class BuildBazelRemoteExecutionV2ActionResult(typing_extensions.TypedDict, total stdoutRaw: str @typing.type_check_only -class BuildBazelRemoteExecutionV2BatchReadBlobsRequest( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2BatchReadBlobsRequest(typing.TypedDict, total=False): digests: _list[BuildBazelRemoteExecutionV2Digest] @typing.type_check_only -class BuildBazelRemoteExecutionV2BatchReadBlobsResponse( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2BatchReadBlobsResponse(typing.TypedDict, total=False): responses: _list[BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse] @typing.type_check_only class BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str digest: BuildBazelRemoteExecutionV2Digest status: GoogleRpcStatus @typing.type_check_only -class BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest(typing.TypedDict, total=False): requests: _list[BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest] @typing.type_check_only class BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): data: str digest: BuildBazelRemoteExecutionV2Digest @typing.type_check_only class BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse] @typing.type_check_only class BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digest: BuildBazelRemoteExecutionV2Digest status: GoogleRpcStatus @typing.type_check_only -class BuildBazelRemoteExecutionV2CacheCapabilities( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2CacheCapabilities(typing.TypedDict, total=False): actionCacheUpdateCapabilities: ( BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities ) cachePriorityCapabilities: BuildBazelRemoteExecutionV2PriorityCapabilities digestFunction: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNKNOWN", "SHA256", "SHA1", "MD5", "VSO", "SHA384", "SHA512", "MURMUR3" ] ] maxBatchTotalSizeBytes: str - supportedCompressor: _list[typing_extensions.Literal["IDENTITY", "ZSTD"]] - symlinkAbsolutePathStrategy: typing_extensions.Literal[ - "UNKNOWN", "DISALLOWED", "ALLOWED" - ] + supportedCompressor: _list[typing.Literal["IDENTITY", "ZSTD"]] + symlinkAbsolutePathStrategy: typing.Literal["UNKNOWN", "DISALLOWED", "ALLOWED"] @typing.type_check_only -class BuildBazelRemoteExecutionV2Command(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Command(typing.TypedDict, total=False): arguments: _list[str] environmentVariables: _list[BuildBazelRemoteExecutionV2CommandEnvironmentVariable] outputDirectories: _list[str] @@ -111,54 +99,46 @@ class BuildBazelRemoteExecutionV2Command(typing_extensions.TypedDict, total=Fals @typing.type_check_only class BuildBazelRemoteExecutionV2CommandEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Digest(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Digest(typing.TypedDict, total=False): hash: str sizeBytes: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Directory(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Directory(typing.TypedDict, total=False): directories: _list[BuildBazelRemoteExecutionV2DirectoryNode] files: _list[BuildBazelRemoteExecutionV2FileNode] nodeProperties: BuildBazelRemoteExecutionV2NodeProperties symlinks: _list[BuildBazelRemoteExecutionV2SymlinkNode] @typing.type_check_only -class BuildBazelRemoteExecutionV2DirectoryNode( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2DirectoryNode(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest name: str @typing.type_check_only class BuildBazelRemoteExecutionV2ExecuteOperationMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionDigest: BuildBazelRemoteExecutionV2Digest - stage: typing_extensions.Literal[ - "UNKNOWN", "CACHE_CHECK", "QUEUED", "EXECUTING", "COMPLETED" - ] + stage: typing.Literal["UNKNOWN", "CACHE_CHECK", "QUEUED", "EXECUTING", "COMPLETED"] stderrStreamName: str stdoutStreamName: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecuteRequest( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecuteRequest(typing.TypedDict, total=False): actionDigest: BuildBazelRemoteExecutionV2Digest executionPolicy: BuildBazelRemoteExecutionV2ExecutionPolicy resultsCachePolicy: BuildBazelRemoteExecutionV2ResultsCachePolicy skipCacheLookup: bool @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecuteResponse( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecuteResponse(typing.TypedDict, total=False): cachedResult: bool message: str result: BuildBazelRemoteExecutionV2ActionResult @@ -166,9 +146,7 @@ class BuildBazelRemoteExecutionV2ExecuteResponse( status: GoogleRpcStatus @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecutedActionMetadata( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecutedActionMetadata(typing.TypedDict, total=False): auxiliaryMetadata: _list[dict[str, typing.Any]] executionCompletedTimestamp: str executionStartTimestamp: str @@ -182,10 +160,8 @@ class BuildBazelRemoteExecutionV2ExecutedActionMetadata( workerStartTimestamp: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecutionCapabilities( - typing_extensions.TypedDict, total=False -): - digestFunction: typing_extensions.Literal[ +class BuildBazelRemoteExecutionV2ExecutionCapabilities(typing.TypedDict, total=False): + digestFunction: typing.Literal[ "UNKNOWN", "SHA256", "SHA1", "MD5", "VSO", "SHA384", "SHA512", "MURMUR3" ] execEnabled: bool @@ -193,64 +169,54 @@ class BuildBazelRemoteExecutionV2ExecutionCapabilities( supportedNodeProperties: _list[str] @typing.type_check_only -class BuildBazelRemoteExecutionV2ExecutionPolicy( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ExecutionPolicy(typing.TypedDict, total=False): priority: int @typing.type_check_only -class BuildBazelRemoteExecutionV2FileNode(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2FileNode(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest isExecutable: bool name: str nodeProperties: BuildBazelRemoteExecutionV2NodeProperties @typing.type_check_only -class BuildBazelRemoteExecutionV2FindMissingBlobsRequest( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2FindMissingBlobsRequest(typing.TypedDict, total=False): blobDigests: _list[BuildBazelRemoteExecutionV2Digest] @typing.type_check_only class BuildBazelRemoteExecutionV2FindMissingBlobsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): missingBlobDigests: _list[BuildBazelRemoteExecutionV2Digest] @typing.type_check_only -class BuildBazelRemoteExecutionV2GetTreeResponse( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2GetTreeResponse(typing.TypedDict, total=False): directories: _list[BuildBazelRemoteExecutionV2Directory] nextPageToken: str @typing.type_check_only -class BuildBazelRemoteExecutionV2LogFile(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2LogFile(typing.TypedDict, total=False): digest: BuildBazelRemoteExecutionV2Digest humanReadable: bool @typing.type_check_only -class BuildBazelRemoteExecutionV2NodeProperties( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2NodeProperties(typing.TypedDict, total=False): mtime: str properties: _list[BuildBazelRemoteExecutionV2NodeProperty] unixMode: int @typing.type_check_only -class BuildBazelRemoteExecutionV2NodeProperty(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2NodeProperty(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputDirectory( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2OutputDirectory(typing.TypedDict, total=False): path: str treeDigest: BuildBazelRemoteExecutionV2Digest @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputFile(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2OutputFile(typing.TypedDict, total=False): contents: str digest: BuildBazelRemoteExecutionV2Digest isExecutable: bool @@ -258,41 +224,33 @@ class BuildBazelRemoteExecutionV2OutputFile(typing_extensions.TypedDict, total=F path: str @typing.type_check_only -class BuildBazelRemoteExecutionV2OutputSymlink( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2OutputSymlink(typing.TypedDict, total=False): nodeProperties: BuildBazelRemoteExecutionV2NodeProperties path: str target: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Platform(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Platform(typing.TypedDict, total=False): properties: _list[BuildBazelRemoteExecutionV2PlatformProperty] @typing.type_check_only -class BuildBazelRemoteExecutionV2PlatformProperty( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2PlatformProperty(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class BuildBazelRemoteExecutionV2PriorityCapabilities( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2PriorityCapabilities(typing.TypedDict, total=False): priorities: _list[BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange] @typing.type_check_only class BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxPriority: int minPriority: int @typing.type_check_only -class BuildBazelRemoteExecutionV2RequestMetadata( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2RequestMetadata(typing.TypedDict, total=False): actionId: str actionMnemonic: str configurationId: str @@ -302,15 +260,11 @@ class BuildBazelRemoteExecutionV2RequestMetadata( toolInvocationId: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ResultsCachePolicy( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ResultsCachePolicy(typing.TypedDict, total=False): priority: int @typing.type_check_only -class BuildBazelRemoteExecutionV2ServerCapabilities( - typing_extensions.TypedDict, total=False -): +class BuildBazelRemoteExecutionV2ServerCapabilities(typing.TypedDict, total=False): cacheCapabilities: BuildBazelRemoteExecutionV2CacheCapabilities deprecatedApiVersion: BuildBazelSemverSemVer executionCapabilities: BuildBazelRemoteExecutionV2ExecutionCapabilities @@ -318,37 +272,35 @@ class BuildBazelRemoteExecutionV2ServerCapabilities( lowApiVersion: BuildBazelSemverSemVer @typing.type_check_only -class BuildBazelRemoteExecutionV2SymlinkNode(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2SymlinkNode(typing.TypedDict, total=False): name: str nodeProperties: BuildBazelRemoteExecutionV2NodeProperties target: str @typing.type_check_only -class BuildBazelRemoteExecutionV2ToolDetails(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2ToolDetails(typing.TypedDict, total=False): toolName: str toolVersion: str @typing.type_check_only -class BuildBazelRemoteExecutionV2Tree(typing_extensions.TypedDict, total=False): +class BuildBazelRemoteExecutionV2Tree(typing.TypedDict, total=False): children: _list[BuildBazelRemoteExecutionV2Directory] root: BuildBazelRemoteExecutionV2Directory @typing.type_check_only class BuildBazelRemoteExecutionV2WaitExecutionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class BuildBazelSemverSemVer(typing_extensions.TypedDict, total=False): +class BuildBazelSemverSemVer(typing.TypedDict, total=False): major: int minor: int patch: int prerelease: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandDurations( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotCommandDurations(typing.TypedDict, total=False): casRelease: str cmWaitForAssignment: str dockerPrep: str @@ -364,16 +316,14 @@ class GoogleDevtoolsRemotebuildbotCommandDurations( uploadStartTime: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandEvents( - typing_extensions.TypedDict, total=False -): - cmUsage: typing_extensions.Literal["CONFIG_NONE", "CONFIG_MATCH", "CONFIG_MISMATCH"] +class GoogleDevtoolsRemotebuildbotCommandEvents(typing.TypedDict, total=False): + cmUsage: typing.Literal["CONFIG_NONE", "CONFIG_MATCH", "CONFIG_MISMATCH"] dockerCacheHit: bool dockerImageName: str inputCacheMiss: float numErrors: str numWarnings: str - outputLocation: typing_extensions.Literal[ + outputLocation: typing.Literal[ "LOCATION_UNDEFINED", "LOCATION_NONE", "LOCATION_EXEC_ROOT_RELATIVE", @@ -385,10 +335,8 @@ class GoogleDevtoolsRemotebuildbotCommandEvents( usedAsyncContainer: bool @typing.type_check_only -class GoogleDevtoolsRemotebuildbotCommandStatus( - typing_extensions.TypedDict, total=False -): - code: typing_extensions.Literal[ +class GoogleDevtoolsRemotebuildbotCommandStatus(typing.TypedDict, total=False): + code: typing.Literal[ "OK", "INVALID_ARGUMENT", "DEADLINE_EXCEEDED", @@ -436,18 +384,14 @@ class GoogleDevtoolsRemotebuildbotCommandStatus( message: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsage( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsage(typing.TypedDict, total=False): cpuUsedPercent: float diskUsage: GoogleDevtoolsRemotebuildbotResourceUsageStat memoryUsage: GoogleDevtoolsRemotebuildbotResourceUsageStat totalDiskIoStats: GoogleDevtoolsRemotebuildbotResourceUsageIOStats @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsageIOStats( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsageIOStats(typing.TypedDict, total=False): readBytesCount: str readCount: str readTimeMs: str @@ -456,29 +400,27 @@ class GoogleDevtoolsRemotebuildbotResourceUsageIOStats( writeTimeMs: str @typing.type_check_only -class GoogleDevtoolsRemotebuildbotResourceUsageStat( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemotebuildbotResourceUsageStat(typing.TypedDict, total=False): total: str used: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceleratorCount: str acceleratorType: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxSize: str minSize: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance instanceId: str @@ -486,7 +428,7 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str poolId: str @@ -494,19 +436,19 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): containerImageSources: ( GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature @@ -522,71 +464,65 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy( dockerSiblingContainers: ( GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature ) - linuxIsolation: typing_extensions.Literal[ - "LINUX_ISOLATION_UNSPECIFIED", "GVISOR", "OFF" - ] + linuxIsolation: typing.Literal["LINUX_ISOLATION_UNSPECIFIED", "GVISOR", "OFF"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowedValues: _list[str] - policy: typing_extensions.Literal[ - "POLICY_UNSPECIFIED", "ALLOWED", "FORBIDDEN", "RESTRICTED" - ] + policy: typing.Literal["POLICY_UNSPECIFIED", "ALLOWED", "FORBIDDEN", "RESTRICTED"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): featurePolicy: GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy location: str loggingEnabled: bool name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "RUNNING", "INACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "RUNNING", "INACTIVE"] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): parent: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instances: _list[GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str parent: str @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): workerPools: _list[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool] @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): instance: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance loggingEnabled: bool @@ -595,14 +531,14 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updateMask: str workerPool: GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accelerator: GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig diskSizeGb: str @@ -618,49 +554,41 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig( @typing.type_check_only class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): autoscale: GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale channel: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "RUNNING", "UPDATING", "DELETING", "INACTIVE" ] workerConfig: GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig workerCount: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2AdminTemp( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2AdminTemp(typing.TypedDict, total=False): arg: str - command: typing_extensions.Literal[ + command: typing.Literal[ "UNSPECIFIED", "BOT_UPDATE", "BOT_RESTART", "BOT_TERMINATE", "HOST_RESTART" ] @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Blob(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsRemoteworkersV1test2Blob(typing.TypedDict, total=False): contents: str digest: GoogleDevtoolsRemoteworkersV1test2Digest @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandOutputs( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandOutputs(typing.TypedDict, total=False): exitCode: int outputs: GoogleDevtoolsRemoteworkersV1test2Digest @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandOverhead( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandOverhead(typing.TypedDict, total=False): duration: str overhead: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandResult( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandResult(typing.TypedDict, total=False): duration: str exitCode: int metadata: _list[dict[str, typing.Any]] @@ -669,16 +597,14 @@ class GoogleDevtoolsRemoteworkersV1test2CommandResult( status: GoogleRpcStatus @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2CommandTask( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2CommandTask(typing.TypedDict, total=False): expectedOutputs: GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs inputs: GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs timeouts: GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): arguments: _list[str] environmentVariables: _list[ @@ -690,14 +616,14 @@ class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs( @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str value: str @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): directories: _list[str] files: _list[str] @@ -706,44 +632,38 @@ class GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs( @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): execution: str idle: str shutdown: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Digest( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2Digest(typing.TypedDict, total=False): hash: str sizeBytes: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2Directory( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2Directory(typing.TypedDict, total=False): directories: _list[GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata] files: _list[GoogleDevtoolsRemoteworkersV1test2FileMetadata] @typing.type_check_only class GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): digest: GoogleDevtoolsRemoteworkersV1test2Digest path: str @typing.type_check_only -class GoogleDevtoolsRemoteworkersV1test2FileMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsRemoteworkersV1test2FileMetadata(typing.TypedDict, total=False): contents: str digest: GoogleDevtoolsRemoteworkersV1test2Digest isExecutable: bool path: str @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -751,7 +671,7 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/reseller/v1/resources.pyi b/googleapiclient-stubs/_apis/reseller/v1/resources.pyi index e02a07238..05c8548bb 100644 --- a/googleapiclient-stubs/_apis/reseller/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/reseller/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -78,7 +77,7 @@ class ResellerResource(googleapiclient.discovery.Resource): *, customerId: str, subscriptionId: str, - deletionType: typing_extensions.Literal[ + deletionType: typing.Literal[ "deletion_type_undefined", "cancel", "transfer_to_direct" ], **kwargs: typing.Any, @@ -91,8 +90,7 @@ class ResellerResource(googleapiclient.discovery.Resource): *, customerId: str, body: Subscription, - action: typing_extensions.Literal["actionUnspecified", "buy", "switch"] - | None = ..., + action: typing.Literal["actionUnspecified", "buy", "switch"] | None = ..., customerAuthToken: str | None = ..., sourceSkuId: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/reseller/v1/schemas.pyi b/googleapiclient-stubs/_apis/reseller/v1/schemas.pyi index efa964bdb..60d116fbe 100644 --- a/googleapiclient-stubs/_apis/reseller/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/reseller/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): addressLine1: str addressLine2: str addressLine3: str @@ -18,7 +16,7 @@ class Address(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class ChangePlanRequest(typing_extensions.TypedDict, total=False): +class ChangePlanRequest(typing.TypedDict, total=False): dealCode: str kind: str planName: str @@ -26,12 +24,12 @@ class ChangePlanRequest(typing_extensions.TypedDict, total=False): seats: Seats @typing.type_check_only -class Customer(typing_extensions.TypedDict, total=False): +class Customer(typing.TypedDict, total=False): alternateEmail: str customerDomain: str customerDomainVerified: bool customerId: str - customerType: typing_extensions.Literal["customerTypeUnspecified", "domain", "team"] + customerType: typing.Literal["customerTypeUnspecified", "domain", "team"] kind: str phoneNumber: str postalAddress: Address @@ -39,32 +37,32 @@ class Customer(typing_extensions.TypedDict, total=False): resourceUiUrl: str @typing.type_check_only -class PrimaryAdmin(typing_extensions.TypedDict, total=False): +class PrimaryAdmin(typing.TypedDict, total=False): primaryEmail: str @typing.type_check_only -class RenewalSettings(typing_extensions.TypedDict, total=False): +class RenewalSettings(typing.TypedDict, total=False): kind: str renewalType: str @typing.type_check_only -class ResellernotifyGetwatchdetailsResponse(typing_extensions.TypedDict, total=False): +class ResellernotifyGetwatchdetailsResponse(typing.TypedDict, total=False): serviceAccountEmailAddresses: _list[str] topicName: str @typing.type_check_only -class ResellernotifyResource(typing_extensions.TypedDict, total=False): +class ResellernotifyResource(typing.TypedDict, total=False): topicName: str @typing.type_check_only -class Seats(typing_extensions.TypedDict, total=False): +class Seats(typing.TypedDict, total=False): kind: str licensedNumberOfSeats: int maximumNumberOfSeats: int numberOfSeats: int @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): billingMethod: str creationTime: str customerDomain: str @@ -85,7 +83,7 @@ class Subscription(typing_extensions.TypedDict, total=False): trialSettings: dict[str, typing.Any] @typing.type_check_only -class Subscriptions(typing_extensions.TypedDict, total=False): +class Subscriptions(typing.TypedDict, total=False): kind: str nextPageToken: str subscriptions: _list[Subscription] diff --git a/googleapiclient-stubs/_apis/resourcesettings/v1/resources.pyi b/googleapiclient-stubs/_apis/resourcesettings/v1/resources.pyi index 276b113fa..4ad36dcc1 100644 --- a/googleapiclient-stubs/_apis/resourcesettings/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/resourcesettings/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -21,7 +20,7 @@ class ResourceSettingsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "SETTING_VIEW_UNSPECIFIED", "SETTING_VIEW_BASIC", "SETTING_VIEW_EFFECTIVE_VALUE", @@ -36,7 +35,7 @@ class ResourceSettingsResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "SETTING_VIEW_UNSPECIFIED", "SETTING_VIEW_BASIC", "SETTING_VIEW_EFFECTIVE_VALUE", @@ -70,7 +69,7 @@ class ResourceSettingsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "SETTING_VIEW_UNSPECIFIED", "SETTING_VIEW_BASIC", "SETTING_VIEW_EFFECTIVE_VALUE", @@ -85,7 +84,7 @@ class ResourceSettingsResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "SETTING_VIEW_UNSPECIFIED", "SETTING_VIEW_BASIC", "SETTING_VIEW_EFFECTIVE_VALUE", @@ -119,7 +118,7 @@ class ResourceSettingsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "SETTING_VIEW_UNSPECIFIED", "SETTING_VIEW_BASIC", "SETTING_VIEW_EFFECTIVE_VALUE", @@ -134,7 +133,7 @@ class ResourceSettingsResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "SETTING_VIEW_UNSPECIFIED", "SETTING_VIEW_BASIC", "SETTING_VIEW_EFFECTIVE_VALUE", diff --git a/googleapiclient-stubs/_apis/resourcesettings/v1/schemas.pyi b/googleapiclient-stubs/_apis/resourcesettings/v1/schemas.pyi index bbdfb1c3e..0057cf46f 100644 --- a/googleapiclient-stubs/_apis/resourcesettings/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/resourcesettings/v1/schemas.pyi @@ -1,18 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudResourcesettingsV1ListSettingsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudResourcesettingsV1ListSettingsResponse(typing.TypedDict, total=False): nextPageToken: str settings: _list[GoogleCloudResourcesettingsV1Setting] @typing.type_check_only -class GoogleCloudResourcesettingsV1Setting(typing_extensions.TypedDict, total=False): +class GoogleCloudResourcesettingsV1Setting(typing.TypedDict, total=False): effectiveValue: GoogleCloudResourcesettingsV1Value etag: str localValue: GoogleCloudResourcesettingsV1Value @@ -20,10 +16,8 @@ class GoogleCloudResourcesettingsV1Setting(typing_extensions.TypedDict, total=Fa name: str @typing.type_check_only -class GoogleCloudResourcesettingsV1SettingMetadata( - typing_extensions.TypedDict, total=False -): - dataType: typing_extensions.Literal[ +class GoogleCloudResourcesettingsV1SettingMetadata(typing.TypedDict, total=False): + dataType: typing.Literal[ "DATA_TYPE_UNSPECIFIED", "BOOLEAN", "STRING", @@ -38,7 +32,7 @@ class GoogleCloudResourcesettingsV1SettingMetadata( readOnly: bool @typing.type_check_only -class GoogleCloudResourcesettingsV1Value(typing_extensions.TypedDict, total=False): +class GoogleCloudResourcesettingsV1Value(typing.TypedDict, total=False): booleanValue: bool durationValue: str enumValue: GoogleCloudResourcesettingsV1ValueEnumValue @@ -47,19 +41,13 @@ class GoogleCloudResourcesettingsV1Value(typing_extensions.TypedDict, total=Fals stringValue: str @typing.type_check_only -class GoogleCloudResourcesettingsV1ValueEnumValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudResourcesettingsV1ValueEnumValue(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleCloudResourcesettingsV1ValueStringMap( - typing_extensions.TypedDict, total=False -): +class GoogleCloudResourcesettingsV1ValueStringMap(typing.TypedDict, total=False): mappings: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudResourcesettingsV1ValueStringSet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudResourcesettingsV1ValueStringSet(typing.TypedDict, total=False): values: _list[str] diff --git a/googleapiclient-stubs/_apis/retail/v2/resources.pyi b/googleapiclient-stubs/_apis/retail/v2/resources.pyi index 95006328f..6ded15460 100644 --- a/googleapiclient-stubs/_apis/retail/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/retail/v2/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2/schemas.pyi index 48b28572d..2238f0816 100644 --- a/googleapiclient-stubs/_apis/retail/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleCloudRetailLoggingErrorContext(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingErrorContext(typing.TypedDict, total=False): httpRequest: GoogleCloudRetailLoggingHttpRequestContext reportLocation: GoogleCloudRetailLoggingSourceLocation @typing.type_check_only -class GoogleCloudRetailLoggingErrorLog(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingErrorLog(typing.TypedDict, total=False): context: GoogleCloudRetailLoggingErrorContext importPayload: GoogleCloudRetailLoggingImportErrorContext message: str @@ -26,15 +24,11 @@ class GoogleCloudRetailLoggingErrorLog(typing_extensions.TypedDict, total=False) status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudRetailLoggingHttpRequestContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailLoggingHttpRequestContext(typing.TypedDict, total=False): responseStatusCode: int @typing.type_check_only -class GoogleCloudRetailLoggingImportErrorContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailLoggingImportErrorContext(typing.TypedDict, total=False): catalogItem: str gcsPath: str lineNumber: str @@ -43,32 +37,28 @@ class GoogleCloudRetailLoggingImportErrorContext( userEvent: str @typing.type_check_only -class GoogleCloudRetailLoggingServiceContext(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingServiceContext(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudRetailLoggingSourceLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingSourceLocation(typing.TypedDict, total=False): functionName: str @typing.type_check_only -class GoogleCloudRetailV2AddCatalogAttributeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2AddCatalogAttributeRequest(typing.TypedDict, total=False): catalogAttribute: GoogleCloudRetailV2CatalogAttribute @typing.type_check_only -class GoogleCloudRetailV2AddControlRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2AddControlRequest(typing.TypedDict, total=False): controlId: str @typing.type_check_only class GoogleCloudRetailV2AddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2AddFulfillmentPlacesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2AddFulfillmentPlacesRequest(typing.TypedDict, total=False): addTime: str allowMissing: bool placeIds: _list[str] @@ -76,31 +66,25 @@ class GoogleCloudRetailV2AddFulfillmentPlacesRequest( @typing.type_check_only class GoogleCloudRetailV2AddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2AddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2AddLocalInventoriesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2AddLocalInventoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2AddLocalInventoriesRequest(typing.TypedDict, total=False): addMask: str addTime: str allowMissing: bool localInventories: _list[GoogleCloudRetailV2LocalInventory] @typing.type_check_only -class GoogleCloudRetailV2AddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2AddLocalInventoriesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2AttributesConfig(typing_extensions.TypedDict, total=False): - attributeConfigLevel: typing_extensions.Literal[ +class GoogleCloudRetailV2AttributesConfig(typing.TypedDict, total=False): + attributeConfigLevel: typing.Literal[ "ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED", "PRODUCT_LEVEL_ATTRIBUTE_CONFIG", "CATALOG_LEVEL_ATTRIBUTE_CONFIG", @@ -109,29 +93,29 @@ class GoogleCloudRetailV2AttributesConfig(typing_extensions.TypedDict, total=Fal name: str @typing.type_check_only -class GoogleCloudRetailV2Audience(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Audience(typing.TypedDict, total=False): ageGroups: _list[str] genders: _list[str] @typing.type_check_only class GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest] @typing.type_check_only class GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfigs: _list[GoogleCloudRetailV2GenerativeQuestionConfig] @typing.type_check_only -class GoogleCloudRetailV2BigQueryOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2BigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudRetailV2BigQuerySource(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2BigQuerySource(typing.TypedDict, total=False): dataSchema: str datasetId: str gcsStagingDir: str @@ -140,41 +124,39 @@ class GoogleCloudRetailV2BigQuerySource(typing_extensions.TypedDict, total=False tableId: str @typing.type_check_only -class GoogleCloudRetailV2Catalog(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Catalog(typing.TypedDict, total=False): displayName: str name: str productLevelConfig: GoogleCloudRetailV2ProductLevelConfig @typing.type_check_only -class GoogleCloudRetailV2CatalogAttribute(typing_extensions.TypedDict, total=False): - dynamicFacetableOption: typing_extensions.Literal[ +class GoogleCloudRetailV2CatalogAttribute(typing.TypedDict, total=False): + dynamicFacetableOption: typing.Literal[ "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", "DYNAMIC_FACETABLE_ENABLED", "DYNAMIC_FACETABLE_DISABLED", ] - exactSearchableOption: typing_extensions.Literal[ + exactSearchableOption: typing.Literal[ "EXACT_SEARCHABLE_OPTION_UNSPECIFIED", "EXACT_SEARCHABLE_ENABLED", "EXACT_SEARCHABLE_DISABLED", ] facetConfig: GoogleCloudRetailV2CatalogAttributeFacetConfig inUse: bool - indexableOption: typing_extensions.Literal[ + indexableOption: typing.Literal[ "INDEXABLE_OPTION_UNSPECIFIED", "INDEXABLE_ENABLED", "INDEXABLE_DISABLED" ] key: str - retrievableOption: typing_extensions.Literal[ + retrievableOption: typing.Literal[ "RETRIEVABLE_OPTION_UNSPECIFIED", "RETRIEVABLE_ENABLED", "RETRIEVABLE_DISABLED" ] - searchableOption: typing_extensions.Literal[ + searchableOption: typing.Literal[ "SEARCHABLE_OPTION_UNSPECIFIED", "SEARCHABLE_ENABLED", "SEARCHABLE_DISABLED" ] - type: typing_extensions.Literal["UNKNOWN", "TEXTUAL", "NUMERICAL"] + type: typing.Literal["UNKNOWN", "TEXTUAL", "NUMERICAL"] @typing.type_check_only -class GoogleCloudRetailV2CatalogAttributeFacetConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2CatalogAttributeFacetConfig(typing.TypedDict, total=False): facetIntervals: _list[GoogleCloudRetailV2Interval] ignoredFacetValues: _list[ GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues @@ -187,7 +169,7 @@ class GoogleCloudRetailV2CatalogAttributeFacetConfig( @typing.type_check_only class GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @@ -195,28 +177,26 @@ class GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues( @typing.type_check_only class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mergedFacetKey: str @typing.type_check_only class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mergedValue: str values: _list[str] @typing.type_check_only class GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facetValues: _list[str] rerankFacet: bool @typing.type_check_only -class GoogleCloudRetailV2CollectUserEventRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2CollectUserEventRequest(typing.TypedDict, total=False): ets: str prebuiltRule: str rawJson: str @@ -224,14 +204,12 @@ class GoogleCloudRetailV2CollectUserEventRequest( userEvent: str @typing.type_check_only -class GoogleCloudRetailV2ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ColorInfo(typing.TypedDict, total=False): colorFamilies: _list[str] colors: _list[str] @typing.type_check_only -class GoogleCloudRetailV2CompleteQueryResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2CompleteQueryResponse(typing.TypedDict, total=False): attributeResults: dict[str, typing.Any] attributionToken: str completionResults: _list[GoogleCloudRetailV2CompleteQueryResponseCompletionResult] @@ -241,25 +219,25 @@ class GoogleCloudRetailV2CompleteQueryResponse( @typing.type_check_only class GoogleCloudRetailV2CompleteQueryResponseAttributeResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[str] @typing.type_check_only class GoogleCloudRetailV2CompleteQueryResponseCompletionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: dict[str, typing.Any] suggestion: str @typing.type_check_only class GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSearch: str @typing.type_check_only -class GoogleCloudRetailV2CompletionConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2CompletionConfig(typing.TypedDict, total=False): allowlistInputConfig: GoogleCloudRetailV2CompletionDataInputConfig autoLearning: bool denylistInputConfig: GoogleCloudRetailV2CompletionDataInputConfig @@ -273,48 +251,46 @@ class GoogleCloudRetailV2CompletionConfig(typing_extensions.TypedDict, total=Fal suggestionsInputConfig: GoogleCloudRetailV2CompletionDataInputConfig @typing.type_check_only -class GoogleCloudRetailV2CompletionDataInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2CompletionDataInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2BigQuerySource @typing.type_check_only -class GoogleCloudRetailV2CompletionDetail(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2CompletionDetail(typing.TypedDict, total=False): completionAttributionToken: str selectedPosition: int selectedSuggestion: str @typing.type_check_only -class GoogleCloudRetailV2Condition(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Condition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudRetailV2ConditionTimeRange] pageCategories: _list[str] queryTerms: _list[GoogleCloudRetailV2ConditionQueryTerm] @typing.type_check_only -class GoogleCloudRetailV2ConditionQueryTerm(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudRetailV2ConditionTimeRange(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudRetailV2Control(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Control(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] displayName: str name: str rule: GoogleCloudRetailV2Rule searchSolutionUseCase: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", "SEARCH_SOLUTION_USE_CASE_SEARCH", "SEARCH_SOLUTION_USE_CASE_BROWSE", ] ] solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -323,16 +299,14 @@ class GoogleCloudRetailV2Control(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchCustomizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalog: str intentClassificationConfig: GoogleCloudRetailV2IntentClassificationConfig retailerDisplayName: str @typing.type_check_only -class GoogleCloudRetailV2ConversationalSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ConversationalSearchRequest(typing.TypedDict, total=False): branch: str conversationId: str conversationalFilteringSpec: ( @@ -348,9 +322,9 @@ class GoogleCloudRetailV2ConversationalSearchRequest( @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - conversationalFilteringMode: typing_extensions.Literal[ + conversationalFilteringMode: typing.Literal[ "MODE_UNSPECIFIED", "DISABLED", "ENABLED", "CONVERSATIONAL_FILTER_ONLY" ] enableConversationalFiltering: bool @@ -358,7 +332,7 @@ class GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec( @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchRequestSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudRetailV2SearchRequestBoostSpec canonicalFilter: str @@ -367,7 +341,7 @@ class GoogleCloudRetailV2ConversationalSearchRequestSearchParams( @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchRequestUserAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectedAnswer: ( GoogleCloudRetailV2ConversationalSearchRequestUserAnswerSelectedAnswer @@ -376,14 +350,12 @@ class GoogleCloudRetailV2ConversationalSearchRequestUserAnswer( @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchRequestUserAnswerSelectedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2ProductAttributeValue @typing.type_check_only -class GoogleCloudRetailV2ConversationalSearchResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ConversationalSearchResponse(typing.TypedDict, total=False): conversationId: str conversationalFilteringResult: ( GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResult @@ -391,25 +363,25 @@ class GoogleCloudRetailV2ConversationalSearchResponse( conversationalTextResponse: str followupQuestion: GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion refinedSearch: _list[GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] userQueryTypes: _list[str] @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalFilter: GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResultAdditionalFilter followupQuestion: GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResultAdditionalFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2ProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followupQuestion: str suggestedAnswers: _list[ @@ -418,85 +390,79 @@ class GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion( @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestionSuggestedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2ProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only -class GoogleCloudRetailV2CreateModelMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2CreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2CustomAttribute(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2CustomAttribute(typing.TypedDict, total=False): indexable: bool numbers: _list[float] searchable: bool text: _list[str] @typing.type_check_only -class GoogleCloudRetailV2DoubleList(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2DoubleList(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudRetailV2ExperimentInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ExperimentInfo(typing.TypedDict, total=False): experiment: str servingConfigExperiment: GoogleCloudRetailV2ExperimentInfoServingConfigExperiment @typing.type_check_only class GoogleCloudRetailV2ExperimentInfoServingConfigExperiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experimentServingConfig: str originalServingConfig: str @typing.type_check_only -class GoogleCloudRetailV2ExportAnalyticsMetricsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ExportAnalyticsMetricsRequest(typing.TypedDict, total=False): filter: str outputConfig: GoogleCloudRetailV2OutputConfig @typing.type_check_only -class GoogleCloudRetailV2ExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ExportAnalyticsMetricsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ExportErrorsConfig outputResult: GoogleCloudRetailV2OutputResult @typing.type_check_only -class GoogleCloudRetailV2ExportErrorsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2ExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2FulfillmentInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2FulfillmentInfo(typing.TypedDict, total=False): placeIds: _list[str] type: str @typing.type_check_only -class GoogleCloudRetailV2GcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2GcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class GoogleCloudRetailV2GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2GcsSource(typing.TypedDict, total=False): dataSchema: str inputUris: _list[str] @typing.type_check_only -class GoogleCloudRetailV2GenerativeQuestionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2GenerativeQuestionConfig(typing.TypedDict, total=False): allowedInConversation: bool catalog: str exampleValues: _list[str] @@ -507,45 +473,39 @@ class GoogleCloudRetailV2GenerativeQuestionConfig( @typing.type_check_only class GoogleCloudRetailV2GenerativeQuestionsFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalog: str featureEnabled: bool minimumProducts: int @typing.type_check_only -class GoogleCloudRetailV2GetDefaultBranchResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2GetDefaultBranchResponse(typing.TypedDict, total=False): branch: str note: str setTime: str @typing.type_check_only -class GoogleCloudRetailV2Image(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Image(typing.TypedDict, total=False): height: int uri: str width: int @typing.type_check_only -class GoogleCloudRetailV2ImportCompletionDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportCompletionDataRequest(typing.TypedDict, total=False): inputConfig: GoogleCloudRetailV2CompletionDataInputConfig notificationPubsubTopic: str @typing.type_check_only -class GoogleCloudRetailV2ImportCompletionDataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportCompletionDataResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2ImportErrorsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2ImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -554,44 +514,34 @@ class GoogleCloudRetailV2ImportMetadata(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudRetailV2ImportProductsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportProductsRequest(typing.TypedDict, total=False): errorsConfig: GoogleCloudRetailV2ImportErrorsConfig inputConfig: GoogleCloudRetailV2ProductInputConfig notificationPubsubTopic: str - reconciliationMode: typing_extensions.Literal[ + reconciliationMode: typing.Literal[ "RECONCILIATION_MODE_UNSPECIFIED", "INCREMENTAL", "FULL" ] requestId: str updateMask: str @typing.type_check_only -class GoogleCloudRetailV2ImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2ImportUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportUserEventsRequest(typing.TypedDict, total=False): errorsConfig: GoogleCloudRetailV2ImportErrorsConfig inputConfig: GoogleCloudRetailV2UserEventInputConfig @typing.type_check_only -class GoogleCloudRetailV2ImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ImportErrorsConfig importSummary: GoogleCloudRetailV2UserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2IntentClassificationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2IntentClassificationConfig(typing.TypedDict, total=False): blocklistKeywords: _list[str] disabledIntentTypes: _list[str] example: _list[GoogleCloudRetailV2IntentClassificationConfigExample] @@ -600,7 +550,7 @@ class GoogleCloudRetailV2IntentClassificationConfig( @typing.type_check_only class GoogleCloudRetailV2IntentClassificationConfigExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classifiedPositive: bool intentType: str @@ -609,77 +559,71 @@ class GoogleCloudRetailV2IntentClassificationConfigExample( @typing.type_check_only class GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentType: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS"] query: str @typing.type_check_only class GoogleCloudRetailV2IntentClassificationConfigInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineForceIntents: _list[ GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent ] @typing.type_check_only -class GoogleCloudRetailV2Interval(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Interval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudRetailV2ListCatalogsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ListCatalogsResponse(typing.TypedDict, total=False): catalogs: _list[GoogleCloudRetailV2Catalog] nextPageToken: str @typing.type_check_only -class GoogleCloudRetailV2ListControlsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ListControlsResponse(typing.TypedDict, total=False): controls: _list[GoogleCloudRetailV2Control] nextPageToken: str @typing.type_check_only class GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfigs: _list[GoogleCloudRetailV2GenerativeQuestionConfig] @typing.type_check_only -class GoogleCloudRetailV2ListModelsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ListModelsResponse(typing.TypedDict, total=False): models: _list[GoogleCloudRetailV2Model] nextPageToken: str @typing.type_check_only -class GoogleCloudRetailV2ListProductsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[GoogleCloudRetailV2Product] @typing.type_check_only -class GoogleCloudRetailV2ListServingConfigsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ListServingConfigsResponse(typing.TypedDict, total=False): nextPageToken: str servingConfigs: _list[GoogleCloudRetailV2ServingConfig] @typing.type_check_only -class GoogleCloudRetailV2LocalInventory(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2LocalInventory(typing.TypedDict, total=False): attributes: dict[str, typing.Any] fulfillmentTypes: _list[str] placeId: str priceInfo: GoogleCloudRetailV2PriceInfo @typing.type_check_only -class GoogleCloudRetailV2Model(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Model(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -688,73 +632,63 @@ class GoogleCloudRetailV2Model(typing_extensions.TypedDict, total=False): modelFeaturesConfig: GoogleCloudRetailV2ModelModelFeaturesConfig name: str optimizationObjective: str - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2ModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2ModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only -class GoogleCloudRetailV2ModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2OutputConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudRetailV2OutputConfigBigQueryDestination gcsDestination: GoogleCloudRetailV2OutputConfigGcsDestination @typing.type_check_only -class GoogleCloudRetailV2OutputConfigBigQueryDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2OutputConfigBigQueryDestination(typing.TypedDict, total=False): datasetId: str tableIdPrefix: str tableType: str @typing.type_check_only -class GoogleCloudRetailV2OutputConfigGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2OutputConfigGcsDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleCloudRetailV2OutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2OutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2BigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2GcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2PanelInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PanelInfo(typing.TypedDict, total=False): attributionToken: str displayName: str panelId: str @@ -763,23 +697,19 @@ class GoogleCloudRetailV2PanelInfo(typing_extensions.TypedDict, total=False): totalPanels: int @typing.type_check_only -class GoogleCloudRetailV2PauseModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2PauseModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2PinControlMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PinControlMetadata(typing.TypedDict, total=False): allMatchedPins: dict[str, typing.Any] droppedPins: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRetailV2PinControlMetadataProductPins( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PinControlMetadataProductPins(typing.TypedDict, total=False): productId: _list[str] @typing.type_check_only -class GoogleCloudRetailV2PredictRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PredictRequest(typing.TypedDict, total=False): filter: str labels: dict[str, typing.Any] pageSize: int @@ -789,21 +719,19 @@ class GoogleCloudRetailV2PredictRequest(typing_extensions.TypedDict, total=False validateOnly: bool @typing.type_check_only -class GoogleCloudRetailV2PredictResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PredictResponse(typing.TypedDict, total=False): attributionToken: str missingIds: _list[str] results: _list[GoogleCloudRetailV2PredictResponsePredictionResult] validateOnly: bool @typing.type_check_only -class GoogleCloudRetailV2PredictResponsePredictionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PredictResponsePredictionResult(typing.TypedDict, total=False): id: str metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRetailV2PriceInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PriceInfo(typing.TypedDict, total=False): cost: float currencyCode: str originalPrice: float @@ -813,15 +741,15 @@ class GoogleCloudRetailV2PriceInfo(typing_extensions.TypedDict, total=False): priceRange: GoogleCloudRetailV2PriceInfoPriceRange @typing.type_check_only -class GoogleCloudRetailV2PriceInfoPriceRange(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PriceInfoPriceRange(typing.TypedDict, total=False): originalPrice: GoogleCloudRetailV2Interval price: GoogleCloudRetailV2Interval @typing.type_check_only -class GoogleCloudRetailV2Product(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Product(typing.TypedDict, total=False): attributes: dict[str, typing.Any] audience: GoogleCloudRetailV2Audience - availability: typing_extensions.Literal[ + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" ] availableQuantity: int @@ -852,52 +780,46 @@ class GoogleCloudRetailV2Product(typing_extensions.TypedDict, total=False): tags: _list[str] title: str ttl: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "PRIMARY", "VARIANT", "COLLECTION" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "PRIMARY", "VARIANT", "COLLECTION"] uri: str variants: _list[GoogleCloudRetailV2Product] @typing.type_check_only -class GoogleCloudRetailV2ProductAttributeInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ProductAttributeInterval(typing.TypedDict, total=False): interval: GoogleCloudRetailV2Interval name: str @typing.type_check_only -class GoogleCloudRetailV2ProductAttributeValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ProductAttributeValue(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudRetailV2ProductDetail(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ProductDetail(typing.TypedDict, total=False): product: GoogleCloudRetailV2Product quantity: int @typing.type_check_only -class GoogleCloudRetailV2ProductInlineSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ProductInlineSource(typing.TypedDict, total=False): products: _list[GoogleCloudRetailV2Product] @typing.type_check_only -class GoogleCloudRetailV2ProductInputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ProductInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2BigQuerySource gcsSource: GoogleCloudRetailV2GcsSource productInlineSource: GoogleCloudRetailV2ProductInlineSource @typing.type_check_only -class GoogleCloudRetailV2ProductLevelConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ProductLevelConfig(typing.TypedDict, total=False): ingestionProductType: str merchantCenterProductIdField: str @typing.type_check_only -class GoogleCloudRetailV2Promotion(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Promotion(typing.TypedDict, total=False): promotionId: str @typing.type_check_only -class GoogleCloudRetailV2PurchaseTransaction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PurchaseTransaction(typing.TypedDict, total=False): cost: float currencyCode: str id: str @@ -905,86 +827,68 @@ class GoogleCloudRetailV2PurchaseTransaction(typing_extensions.TypedDict, total= tax: float @typing.type_check_only -class GoogleCloudRetailV2PurgeMetadata(typing_extensions.TypedDict, total=False): ... +class GoogleCloudRetailV2PurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2PurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2PurgeProductsRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2PurgeProductsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudRetailV2PurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2PurgeUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeUserEventsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudRetailV2PurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2Rating(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Rating(typing.TypedDict, total=False): averageRating: float ratingCount: int ratingHistogram: _list[int] @typing.type_check_only -class GoogleCloudRetailV2RejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2RejoinUserEventsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2RejoinUserEventsRequest( - typing_extensions.TypedDict, total=False -): - userEventRejoinScope: typing_extensions.Literal[ +class GoogleCloudRetailV2RejoinUserEventsRequest(typing.TypedDict, total=False): + userEventRejoinScope: typing.Literal[ "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", "JOINED_EVENTS", "UNJOINED_EVENTS" ] @typing.type_check_only -class GoogleCloudRetailV2RejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2RemoveCatalogAttributeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RemoveCatalogAttributeRequest(typing.TypedDict, total=False): key: str @typing.type_check_only -class GoogleCloudRetailV2RemoveControlRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2RemoveControlRequest(typing.TypedDict, total=False): controlId: str @typing.type_check_only class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2RemoveFulfillmentPlacesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RemoveFulfillmentPlacesRequest(typing.TypedDict, total=False): allowMissing: bool placeIds: _list[str] removeTime: str @@ -992,41 +896,35 @@ class GoogleCloudRetailV2RemoveFulfillmentPlacesRequest( @typing.type_check_only class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2RemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2RemoveLocalInventoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RemoveLocalInventoriesRequest(typing.TypedDict, total=False): allowMissing: bool placeIds: _list[str] removeTime: str @typing.type_check_only class GoogleCloudRetailV2RemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2ReplaceCatalogAttributeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ReplaceCatalogAttributeRequest(typing.TypedDict, total=False): catalogAttribute: GoogleCloudRetailV2CatalogAttribute updateMask: str @typing.type_check_only -class GoogleCloudRetailV2ResumeModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2ResumeModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2Rule(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Rule(typing.TypedDict, total=False): boostAction: GoogleCloudRetailV2RuleBoostAction condition: GoogleCloudRetailV2Condition doNotAssociateAction: GoogleCloudRetailV2RuleDoNotAssociateAction @@ -1041,80 +939,68 @@ class GoogleCloudRetailV2Rule(typing_extensions.TypedDict, total=False): twowaySynonymsAction: GoogleCloudRetailV2RuleTwowaySynonymsAction @typing.type_check_only -class GoogleCloudRetailV2RuleBoostAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2RuleBoostAction(typing.TypedDict, total=False): boost: float productsFilter: str @typing.type_check_only -class GoogleCloudRetailV2RuleDoNotAssociateAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RuleDoNotAssociateAction(typing.TypedDict, total=False): doNotAssociateTerms: _list[str] queryTerms: _list[str] terms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2RuleFilterAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2RuleFilterAction(typing.TypedDict, total=False): filter: str @typing.type_check_only -class GoogleCloudRetailV2RuleForceReturnFacetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RuleForceReturnFacetAction(typing.TypedDict, total=False): facetPositionAdjustments: _list[ GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment ] @typing.type_check_only class GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeName: str position: int @typing.type_check_only -class GoogleCloudRetailV2RuleIgnoreAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2RuleIgnoreAction(typing.TypedDict, total=False): ignoreTerms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2RuleOnewaySynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RuleOnewaySynonymsAction(typing.TypedDict, total=False): onewayTerms: _list[str] queryTerms: _list[str] synonyms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2RulePinAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2RulePinAction(typing.TypedDict, total=False): pinMap: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRetailV2RuleRedirectAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2RuleRedirectAction(typing.TypedDict, total=False): redirectUri: str @typing.type_check_only -class GoogleCloudRetailV2RuleRemoveFacetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RuleRemoveFacetAction(typing.TypedDict, total=False): attributeNames: _list[str] @typing.type_check_only -class GoogleCloudRetailV2RuleReplacementAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RuleReplacementAction(typing.TypedDict, total=False): queryTerms: _list[str] replacementTerm: str term: str @typing.type_check_only -class GoogleCloudRetailV2RuleTwowaySynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RuleTwowaySynonymsAction(typing.TypedDict, total=False): synonyms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2SafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GoogleCloudRetailV2SafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -1122,10 +1008,8 @@ class GoogleCloudRetailV2SafetySetting(typing_extensions.TypedDict, total=False) "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - method: typing_extensions.Literal[ - "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" - ] - threshold: typing_extensions.Literal[ + method: typing.Literal["HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY"] + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -1135,7 +1019,7 @@ class GoogleCloudRetailV2SafetySetting(typing_extensions.TypedDict, total=False) ] @typing.type_check_only -class GoogleCloudRetailV2SearchRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2SearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudRetailV2SearchRequestBoostSpec branch: str canonicalFilter: str @@ -1156,7 +1040,7 @@ class GoogleCloudRetailV2SearchRequest(typing_extensions.TypedDict, total=False) query: str queryExpansionSpec: GoogleCloudRetailV2SearchRequestQueryExpansionSpec regionCode: str - searchMode: typing_extensions.Literal[ + searchMode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2SearchRequestSpellCorrectionSpec @@ -1167,9 +1051,7 @@ class GoogleCloudRetailV2SearchRequest(typing_extensions.TypedDict, total=False) visitorId: str @typing.type_check_only -class GoogleCloudRetailV2SearchRequestBoostSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2SearchRequestBoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[ GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec ] @@ -1177,14 +1059,14 @@ class GoogleCloudRetailV2SearchRequestBoostSpec( @typing.type_check_only class GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float condition: str @typing.type_check_only class GoogleCloudRetailV2SearchRequestConversationalSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str followupConversationRequested: bool @@ -1192,7 +1074,7 @@ class GoogleCloudRetailV2SearchRequestConversationalSearchSpec( @typing.type_check_only class GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectedAnswer: ( GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer @@ -1201,30 +1083,24 @@ class GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer( @typing.type_check_only class GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2ProductAttributeValue productAttributeValues: _list[GoogleCloudRetailV2ProductAttributeValue] @typing.type_check_only -class GoogleCloudRetailV2SearchRequestDynamicFacetSpec( - typing_extensions.TypedDict, total=False -): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +class GoogleCloudRetailV2SearchRequestDynamicFacetSpec(typing.TypedDict, total=False): + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleCloudRetailV2SearchRequestFacetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2SearchRequestFacetSpec(typing.TypedDict, total=False): enableDynamicPosition: bool excludedFilterKeys: _list[str] facetKey: GoogleCloudRetailV2SearchRequestFacetSpecFacetKey limit: int @typing.type_check_only -class GoogleCloudRetailV2SearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2SearchRequestFacetSpecFacetKey(typing.TypedDict, total=False): caseInsensitive: bool contains: _list[str] intervals: _list[GoogleCloudRetailV2Interval] @@ -1237,32 +1113,28 @@ class GoogleCloudRetailV2SearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudRetailV2SearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only -class GoogleCloudRetailV2SearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False -): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] +class GoogleCloudRetailV2SearchRequestQueryExpansionSpec(typing.TypedDict, total=False): + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudRetailV2SearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only -class GoogleCloudRetailV2SearchRequestTileNavigationSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2SearchRequestTileNavigationSpec(typing.TypedDict, total=False): appliedTiles: _list[GoogleCloudRetailV2Tile] tileNavigationRequested: bool @typing.type_check_only -class GoogleCloudRetailV2SearchResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2SearchResponse(typing.TypedDict, total=False): appliedControls: _list[str] attributionToken: str conversationalSearchResult: ( @@ -1284,7 +1156,7 @@ class GoogleCloudRetailV2SearchResponse(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudRetailV2SearchResponseConversationalSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalFilter: ( GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter @@ -1301,26 +1173,24 @@ class GoogleCloudRetailV2SearchResponseConversationalSearchResult( @typing.type_check_only class GoogleCloudRetailV2SearchResponseConversationalSearchResultAdditionalFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2ProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2SearchResponseConversationalSearchResultSuggestedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2ProductAttributeValue @typing.type_check_only -class GoogleCloudRetailV2SearchResponseFacet(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2SearchResponseFacet(typing.TypedDict, total=False): dynamicFacet: bool key: str values: _list[GoogleCloudRetailV2SearchResponseFacetFacetValue] @typing.type_check_only -class GoogleCloudRetailV2SearchResponseFacetFacetValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2SearchResponseFacetFacetValue(typing.TypedDict, total=False): count: str interval: GoogleCloudRetailV2Interval maxValue: float @@ -1329,15 +1199,13 @@ class GoogleCloudRetailV2SearchResponseFacetFacetValue( @typing.type_check_only class GoogleCloudRetailV2SearchResponseQueryExpansionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedQuery: bool pinnedResultCount: str @typing.type_check_only -class GoogleCloudRetailV2SearchResponseSearchResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2SearchResponseSearchResult(typing.TypedDict, total=False): id: str matchingVariantCount: int matchingVariantFields: dict[str, typing.Any] @@ -1348,16 +1216,16 @@ class GoogleCloudRetailV2SearchResponseSearchResult( @typing.type_check_only class GoogleCloudRetailV2SearchResponseTileNavigationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tiles: _list[GoogleCloudRetailV2Tile] @typing.type_check_only -class GoogleCloudRetailV2ServingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ServingConfig(typing.TypedDict, total=False): boostControlIds: _list[str] displayName: str diversityLevel: str - diversityType: typing_extensions.Literal[ + diversityType: typing.Literal[ "DIVERSITY_TYPE_UNSPECIFIED", "RULE_BASED_DIVERSITY", "DATA_DRIVEN_DIVERSITY" ] doNotAssociateControlIds: _list[str] @@ -1375,7 +1243,7 @@ class GoogleCloudRetailV2ServingConfig(typing_extensions.TypedDict, total=False) redirectControlIds: _list[str] replacementControlIds: _list[str] solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1384,61 +1252,53 @@ class GoogleCloudRetailV2ServingConfig(typing_extensions.TypedDict, total=False) twowaySynonymsControlIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2SetDefaultBranchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2SetDefaultBranchRequest(typing.TypedDict, total=False): branchId: str force: bool note: str @typing.type_check_only -class GoogleCloudRetailV2SetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2SetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2SetInventoryRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2SetInventoryRequest(typing.TypedDict, total=False): allowMissing: bool inventory: GoogleCloudRetailV2Product setMask: str setTime: str @typing.type_check_only -class GoogleCloudRetailV2SetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2SetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2StringList(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2StringList(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudRetailV2Tile(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Tile(typing.TypedDict, total=False): productAttributeInterval: GoogleCloudRetailV2ProductAttributeInterval productAttributeValue: GoogleCloudRetailV2ProductAttributeValue representativeProductId: str @typing.type_check_only -class GoogleCloudRetailV2TuneModelMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2TuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2TuneModelRequest(typing_extensions.TypedDict, total=False): ... +class GoogleCloudRetailV2TuneModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2TuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2TuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfig: GoogleCloudRetailV2GenerativeQuestionConfig updateMask: str @typing.type_check_only -class GoogleCloudRetailV2UserEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2UserEvent(typing.TypedDict, total=False): attributes: dict[str, typing.Any] attributionToken: str cartId: str @@ -1463,26 +1323,22 @@ class GoogleCloudRetailV2UserEvent(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class GoogleCloudRetailV2UserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2UserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2UserEventInlineSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2UserEventInlineSource(typing.TypedDict, total=False): userEvents: _list[GoogleCloudRetailV2UserEvent] @typing.type_check_only -class GoogleCloudRetailV2UserEventInputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2UserEventInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2BigQuerySource gcsSource: GoogleCloudRetailV2GcsSource userEventInlineSource: GoogleCloudRetailV2UserEventInlineSource @typing.type_check_only -class GoogleCloudRetailV2UserInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2UserInfo(typing.TypedDict, total=False): directUserRequest: bool ipAddress: str userAgent: str @@ -1490,54 +1346,46 @@ class GoogleCloudRetailV2UserInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaBigQueryOutputResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaBigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaCreateModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2alphaEnrollSolutionMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaEnrollSolutionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaEnrollSolutionResponse( - typing_extensions.TypedDict, total=False -): - enrolledSolution: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaEnrollSolutionResponse(typing.TypedDict, total=False): + enrolledSolution: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1545,57 +1393,49 @@ class GoogleCloudRetailV2alphaEnrollSolutionResponse( @typing.type_check_only class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaExportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2alphaExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaExportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaExportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaGcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaGcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only class GoogleCloudRetailV2alphaImportCompletionDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2alphaImportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2alphaImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -1605,24 +1445,18 @@ class GoogleCloudRetailV2alphaImportMetadata(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2alphaImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig importSummary: GoogleCloudRetailV2alphaUserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2alphaMerchantCenterAccountLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaMerchantCenterAccountLink(typing.TypedDict, total=False): branchId: str feedFilters: _list[ GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter @@ -1634,24 +1468,22 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLink( name: str projectId: str source: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] @typing.type_check_only class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataSourceId: str primaryFeedId: str primaryFeedName: str @typing.type_check_only -class GoogleCloudRetailV2alphaModel(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaModel(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -1661,48 +1493,44 @@ class GoogleCloudRetailV2alphaModel(typing_extensions.TypedDict, total=False): name: str optimizationObjective: str pageOptimizationConfig: GoogleCloudRetailV2alphaModelPageOptimizationConfig - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2alphaModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2alphaModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageOptimizationEventType: str panels: _list[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel] - restriction: typing_extensions.Literal[ + restriction: typing.Literal[ "RESTRICTION_UNSPECIFIED", "NO_RESTRICTION", "UNIQUE_SERVING_CONFIG_RESTRICTION", @@ -1712,208 +1540,174 @@ class GoogleCloudRetailV2alphaModelPageOptimizationConfig( @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): servingConfigId: str @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidates: _list[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate] defaultCandidate: GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate displayName: str @typing.type_check_only -class GoogleCloudRetailV2alphaModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaOutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2alphaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2alphaGcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaPurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only class GoogleCloudRetailV2alphaRejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaRejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaSetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaSetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaSetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaSetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudRetailV2alphaTransformedUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceEventsCount: str transformedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2alphaTuneModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaTuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2alphaTuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaTuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaUserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaUserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaAddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaAddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaBigQueryOutputResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaBigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudRetailV2betaCreateModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaCreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaExportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2betaExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaExportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaExportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaGcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaGcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only class GoogleCloudRetailV2betaImportCompletionDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2betaImportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2betaImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -1922,28 +1716,22 @@ class GoogleCloudRetailV2betaImportMetadata(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2betaImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig importSummary: GoogleCloudRetailV2betaUserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2betaModel(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaModel(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -1952,146 +1740,120 @@ class GoogleCloudRetailV2betaModel(typing_extensions.TypedDict, total=False): modelFeaturesConfig: GoogleCloudRetailV2betaModelModelFeaturesConfig name: str optimizationObjective: str - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2betaModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2betaModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only -class GoogleCloudRetailV2betaModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaOutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2betaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2betaGcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2betaPurgeMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaPurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaPurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaPurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only class GoogleCloudRetailV2betaRejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaRejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaSetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaSetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaSetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaSetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaTuneModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaTuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2betaTuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaTuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaUserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaUserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2099,16 +1861,16 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi index 2a271b617..749b56838 100644 --- a/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -179,7 +178,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BRANCH_VIEW_UNSPECIFIED", "BRANCH_VIEW_BASIC", "BRANCH_VIEW_FULL", @@ -191,7 +190,7 @@ class CloudRetailResource(googleapiclient.discovery.Resource): self, *, parent: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "BRANCH_VIEW_UNSPECIFIED", "BRANCH_VIEW_BASIC", "BRANCH_VIEW_FULL", diff --git a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi index 9d815b1f5..90c5f77ac 100644 --- a/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2alpha/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleCloudRetailLoggingErrorContext(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingErrorContext(typing.TypedDict, total=False): httpRequest: GoogleCloudRetailLoggingHttpRequestContext reportLocation: GoogleCloudRetailLoggingSourceLocation @typing.type_check_only -class GoogleCloudRetailLoggingErrorLog(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingErrorLog(typing.TypedDict, total=False): context: GoogleCloudRetailLoggingErrorContext importPayload: GoogleCloudRetailLoggingImportErrorContext message: str @@ -26,15 +24,11 @@ class GoogleCloudRetailLoggingErrorLog(typing_extensions.TypedDict, total=False) status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudRetailLoggingHttpRequestContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailLoggingHttpRequestContext(typing.TypedDict, total=False): responseStatusCode: int @typing.type_check_only -class GoogleCloudRetailLoggingImportErrorContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailLoggingImportErrorContext(typing.TypedDict, total=False): catalogItem: str gcsPath: str lineNumber: str @@ -43,75 +37,67 @@ class GoogleCloudRetailLoggingImportErrorContext( userEvent: str @typing.type_check_only -class GoogleCloudRetailLoggingServiceContext(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingServiceContext(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudRetailLoggingSourceLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingSourceLocation(typing.TypedDict, total=False): functionName: str @typing.type_check_only class GoogleCloudRetailV2AddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2AddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2AddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2AddLocalInventoriesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2AddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2AddLocalInventoriesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2BigQueryOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2BigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudRetailV2CreateModelMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2CreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2ExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ExportAnalyticsMetricsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ExportErrorsConfig outputResult: GoogleCloudRetailV2OutputResult @typing.type_check_only -class GoogleCloudRetailV2ExportErrorsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2ExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2GcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2GcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class GoogleCloudRetailV2ImportCompletionDataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportCompletionDataResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2ImportErrorsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2ImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -120,28 +106,22 @@ class GoogleCloudRetailV2ImportMetadata(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudRetailV2ImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2ImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ImportErrorsConfig importSummary: GoogleCloudRetailV2UserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2Model(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Model(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -150,159 +130,129 @@ class GoogleCloudRetailV2Model(typing_extensions.TypedDict, total=False): modelFeaturesConfig: GoogleCloudRetailV2ModelModelFeaturesConfig name: str optimizationObjective: str - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2ModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2ModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only -class GoogleCloudRetailV2ModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2OutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2OutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2BigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2GcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2PurgeMetadata(typing_extensions.TypedDict, total=False): ... +class GoogleCloudRetailV2PurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2PurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2PurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2PurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2RejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2RejoinUserEventsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2RejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2RemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2RemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2SetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2SetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2SetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2SetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2TuneModelMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2TuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2TuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2TuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2UserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2UserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2alphaAcceptTermsRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaAcceptTermsRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaAddCatalogAttributeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaAddCatalogAttributeRequest(typing.TypedDict, total=False): catalogAttribute: GoogleCloudRetailV2alphaCatalogAttribute @typing.type_check_only -class GoogleCloudRetailV2alphaAddControlRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaAddControlRequest(typing.TypedDict, total=False): controlId: str @typing.type_check_only class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): addTime: str allowMissing: bool @@ -311,18 +261,16 @@ class GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest( @typing.type_check_only class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaAddLocalInventoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaAddLocalInventoriesRequest(typing.TypedDict, total=False): addMask: str addTime: str allowMissing: bool @@ -330,35 +278,29 @@ class GoogleCloudRetailV2alphaAddLocalInventoriesRequest( @typing.type_check_only class GoogleCloudRetailV2alphaAddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaAlertConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaAlertConfig(typing.TypedDict, total=False): alertPolicies: _list[GoogleCloudRetailV2alphaAlertConfigAlertPolicy] name: str @typing.type_check_only -class GoogleCloudRetailV2alphaAlertConfigAlertPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaAlertConfigAlertPolicy(typing.TypedDict, total=False): alertGroup: str - enrollStatus: typing_extensions.Literal[ - "ENROLL_STATUS_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollStatus: typing.Literal["ENROLL_STATUS_UNSPECIFIED", "ENROLLED", "DECLINED"] recipients: _list[GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient] @typing.type_check_only class GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emailAddress: str @typing.type_check_only -class GoogleCloudRetailV2alphaAttributesConfig( - typing_extensions.TypedDict, total=False -): - attributeConfigLevel: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaAttributesConfig(typing.TypedDict, total=False): + attributeConfigLevel: typing.Literal[ "ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED", "PRODUCT_LEVEL_ATTRIBUTE_CONFIG", "CATALOG_LEVEL_ATTRIBUTE_CONFIG", @@ -367,44 +309,42 @@ class GoogleCloudRetailV2alphaAttributesConfig( name: str @typing.type_check_only -class GoogleCloudRetailV2alphaAudience(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaAudience(typing.TypedDict, total=False): ageGroups: _list[str] genders: _list[str] @typing.type_check_only class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeKeys: _list[str] @typing.type_check_only class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deletedCatalogAttributes: _list[str] resetCatalogAttributes: _list[str] @typing.type_check_only class GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest] @typing.type_check_only class GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfigs: _list[GoogleCloudRetailV2alphaGenerativeQuestionConfig] @typing.type_check_only -class GoogleCloudRetailV2alphaBigQueryOutputResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaBigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudRetailV2alphaBigQuerySource(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaBigQuerySource(typing.TypedDict, total=False): dataSchema: str datasetId: str gcsStagingDir: str @@ -413,7 +353,7 @@ class GoogleCloudRetailV2alphaBigQuerySource(typing_extensions.TypedDict, total= tableId: str @typing.type_check_only -class GoogleCloudRetailV2alphaBranch(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaBranch(typing.TypedDict, total=False): displayName: str isDefault: bool lastProductImportTime: str @@ -423,17 +363,15 @@ class GoogleCloudRetailV2alphaBranch(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRetailV2alphaBranchProductCountStatistic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): counts: dict[str, typing.Any] - scope: typing_extensions.Literal[ + scope: typing.Literal[ "PRODUCT_COUNT_SCOPE_UNSPECIFIED", "ALL_PRODUCTS", "LAST_24_HOUR_UPDATE" ] @typing.type_check_only -class GoogleCloudRetailV2alphaBranchQualityMetric( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaBranchQualityMetric(typing.TypedDict, total=False): qualifiedProductCount: int requirementKey: str suggestedQualityPercentThreshold: float @@ -441,48 +379,46 @@ class GoogleCloudRetailV2alphaBranchQualityMetric( unqualifiedSampleProducts: _list[GoogleCloudRetailV2alphaProduct] @typing.type_check_only -class GoogleCloudRetailV2alphaCatalog(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaCatalog(typing.TypedDict, total=False): displayName: str merchantCenterLinkingConfig: GoogleCloudRetailV2alphaMerchantCenterLinkingConfig name: str productLevelConfig: GoogleCloudRetailV2alphaProductLevelConfig @typing.type_check_only -class GoogleCloudRetailV2alphaCatalogAttribute( - typing_extensions.TypedDict, total=False -): - dynamicFacetableOption: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaCatalogAttribute(typing.TypedDict, total=False): + dynamicFacetableOption: typing.Literal[ "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", "DYNAMIC_FACETABLE_ENABLED", "DYNAMIC_FACETABLE_DISABLED", ] - exactSearchableOption: typing_extensions.Literal[ + exactSearchableOption: typing.Literal[ "EXACT_SEARCHABLE_OPTION_UNSPECIFIED", "EXACT_SEARCHABLE_ENABLED", "EXACT_SEARCHABLE_DISABLED", ] facetConfig: GoogleCloudRetailV2alphaCatalogAttributeFacetConfig inUse: bool - indexableOption: typing_extensions.Literal[ + indexableOption: typing.Literal[ "INDEXABLE_OPTION_UNSPECIFIED", "INDEXABLE_ENABLED", "INDEXABLE_DISABLED" ] key: str - recommendationsFilteringOption: typing_extensions.Literal[ + recommendationsFilteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", ] - retrievableOption: typing_extensions.Literal[ + retrievableOption: typing.Literal[ "RETRIEVABLE_OPTION_UNSPECIFIED", "RETRIEVABLE_ENABLED", "RETRIEVABLE_DISABLED" ] - searchableOption: typing_extensions.Literal[ + searchableOption: typing.Literal[ "SEARCHABLE_OPTION_UNSPECIFIED", "SEARCHABLE_ENABLED", "SEARCHABLE_DISABLED" ] - type: typing_extensions.Literal["UNKNOWN", "TEXTUAL", "NUMERICAL"] + type: typing.Literal["UNKNOWN", "TEXTUAL", "NUMERICAL"] @typing.type_check_only class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facetIntervals: _list[GoogleCloudRetailV2alphaInterval] ignoredFacetValues: _list[ @@ -496,7 +432,7 @@ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig( @typing.type_check_only class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @@ -504,28 +440,26 @@ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues( @typing.type_check_only class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mergedFacetKey: str @typing.type_check_only class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mergedValue: str values: _list[str] @typing.type_check_only class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facetValues: _list[str] rerankFacet: bool @typing.type_check_only -class GoogleCloudRetailV2alphaCollectUserEventRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCollectUserEventRequest(typing.TypedDict, total=False): ets: str prebuiltRule: str rawJson: str @@ -533,14 +467,12 @@ class GoogleCloudRetailV2alphaCollectUserEventRequest( userEvent: str @typing.type_check_only -class GoogleCloudRetailV2alphaColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaColorInfo(typing.TypedDict, total=False): colorFamilies: _list[str] colors: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaCompleteQueryResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCompleteQueryResponse(typing.TypedDict, total=False): attributeResults: dict[str, typing.Any] attributionToken: str completionResults: _list[ @@ -552,29 +484,36 @@ class GoogleCloudRetailV2alphaCompleteQueryResponse( @typing.type_check_only class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[str] @typing.type_check_only class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): + agentPrompts: _list[ + GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResultAgentPrompt + ] attributes: dict[str, typing.Any] facets: _list[GoogleCloudRetailV2alphaSearchResponseFacet] suggestion: str totalProductCount: int +@typing.type_check_only +class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResultAgentPrompt( + typing.TypedDict, total=False +): + prompt: str + @typing.type_check_only class GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSearch: str @typing.type_check_only -class GoogleCloudRetailV2alphaCompletionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCompletionConfig(typing.TypedDict, total=False): allowlistInputConfig: GoogleCloudRetailV2alphaCompletionDataInputConfig autoLearning: bool denylistInputConfig: GoogleCloudRetailV2alphaCompletionDataInputConfig @@ -588,54 +527,46 @@ class GoogleCloudRetailV2alphaCompletionConfig( suggestionsInputConfig: GoogleCloudRetailV2alphaCompletionDataInputConfig @typing.type_check_only -class GoogleCloudRetailV2alphaCompletionDataInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCompletionDataInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2alphaBigQuerySource @typing.type_check_only -class GoogleCloudRetailV2alphaCompletionDetail( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCompletionDetail(typing.TypedDict, total=False): completionAttributionToken: str selectedPosition: int selectedSuggestion: str @typing.type_check_only -class GoogleCloudRetailV2alphaCondition(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudRetailV2alphaConditionTimeRange] pageCategories: _list[str] queryTerms: _list[GoogleCloudRetailV2alphaConditionQueryTerm] @typing.type_check_only -class GoogleCloudRetailV2alphaConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudRetailV2alphaConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaControl(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] displayName: str name: str rule: GoogleCloudRetailV2alphaRule searchSolutionUseCase: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", "SEARCH_SOLUTION_USE_CASE_SEARCH", "SEARCH_SOLUTION_USE_CASE_BROWSE", ] ] solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -644,7 +575,7 @@ class GoogleCloudRetailV2alphaControl(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalog: str intentClassificationConfig: GoogleCloudRetailV2alphaIntentClassificationConfig @@ -652,7 +583,7 @@ class GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig( @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): branch: str conversationId: str @@ -669,9 +600,9 @@ class GoogleCloudRetailV2alphaConversationalSearchRequest( @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - conversationalFilteringMode: typing_extensions.Literal[ + conversationalFilteringMode: typing.Literal[ "MODE_UNSPECIFIED", "DISABLED", "ENABLED", "CONVERSATIONAL_FILTER_ONLY" ] enableConversationalFiltering: bool @@ -679,7 +610,7 @@ class GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFiltering @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudRetailV2alphaSearchRequestBoostSpec canonicalFilter: str @@ -688,7 +619,7 @@ class GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams( @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectedAnswer: ( GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswerSelectedAnswer @@ -697,13 +628,13 @@ class GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer( @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswerSelectedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str conversationalFilteringResult: GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult @@ -714,12 +645,12 @@ class GoogleCloudRetailV2alphaConversationalSearchResponse( refinedSearch: _list[ GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] userQueryTypes: _list[str] @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalFilter: GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResultAdditionalFilter followupQuestion: ( @@ -728,13 +659,13 @@ class GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilterin @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResultAdditionalFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followupQuestion: str suggestedAnswers: _list[ @@ -743,67 +674,59 @@ class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion( @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaCreateModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2alphaCustomAttribute(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaCustomAttribute(typing.TypedDict, total=False): indexable: bool numbers: _list[float] searchable: bool text: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaDoubleList(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaDoubleList(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudRetailV2alphaEnrollSolutionMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaEnrollSolutionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaEnrollSolutionRequest( - typing_extensions.TypedDict, total=False -): - solution: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaEnrollSolutionRequest(typing.TypedDict, total=False): + solution: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", ] @typing.type_check_only -class GoogleCloudRetailV2alphaEnrollSolutionResponse( - typing_extensions.TypedDict, total=False -): - enrolledSolution: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaEnrollSolutionResponse(typing.TypedDict, total=False): + enrolledSolution: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", ] @typing.type_check_only -class GoogleCloudRetailV2alphaExperimentInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaExperimentInfo(typing.TypedDict, total=False): experiment: str servingConfigExperiment: ( GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment @@ -811,85 +734,73 @@ class GoogleCloudRetailV2alphaExperimentInfo(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experimentServingConfig: str originalServingConfig: str @typing.type_check_only class GoogleCloudRetailV2alphaExportAnalyticsMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str outputConfig: GoogleCloudRetailV2alphaOutputConfig @typing.type_check_only class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaExportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2alphaExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaExportProductsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportProductsRequest(typing.TypedDict, total=False): filter: str outputConfig: GoogleCloudRetailV2alphaOutputConfig @typing.type_check_only -class GoogleCloudRetailV2alphaExportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaExportUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportUserEventsRequest(typing.TypedDict, total=False): filter: str outputConfig: GoogleCloudRetailV2alphaOutputConfig @typing.type_check_only -class GoogleCloudRetailV2alphaExportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaFulfillmentInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaFulfillmentInfo(typing.TypedDict, total=False): placeIds: _list[str] type: str @typing.type_check_only -class GoogleCloudRetailV2alphaGcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaGcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class GoogleCloudRetailV2alphaGcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaGcsSource(typing.TypedDict, total=False): dataSchema: str inputUris: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaGenerativeQuestionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaGenerativeQuestionConfig(typing.TypedDict, total=False): allowedInConversation: bool catalog: str exampleValues: _list[str] @@ -900,47 +811,43 @@ class GoogleCloudRetailV2alphaGenerativeQuestionConfig( @typing.type_check_only class GoogleCloudRetailV2alphaGenerativeQuestionsFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalog: str featureEnabled: bool minimumProducts: int @typing.type_check_only -class GoogleCloudRetailV2alphaGetDefaultBranchResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaGetDefaultBranchResponse(typing.TypedDict, total=False): branch: str note: str setTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaImage(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaImage(typing.TypedDict, total=False): height: int uri: str width: int @typing.type_check_only class GoogleCloudRetailV2alphaImportCompletionDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inputConfig: GoogleCloudRetailV2alphaCompletionDataInputConfig notificationPubsubTopic: str @typing.type_check_only class GoogleCloudRetailV2alphaImportCompletionDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2alphaImportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2alphaImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -950,13 +857,11 @@ class GoogleCloudRetailV2alphaImportMetadata(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaImportProductsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportProductsRequest(typing.TypedDict, total=False): errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig inputConfig: GoogleCloudRetailV2alphaProductInputConfig notificationPubsubTopic: str - reconciliationMode: typing_extensions.Literal[ + reconciliationMode: typing.Literal[ "RECONCILIATION_MODE_UNSPECIFIED", "INCREMENTAL", "FULL" ] requestId: str @@ -964,31 +869,23 @@ class GoogleCloudRetailV2alphaImportProductsRequest( updateMask: str @typing.type_check_only -class GoogleCloudRetailV2alphaImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2alphaImportUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportUserEventsRequest(typing.TypedDict, total=False): errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig inputConfig: GoogleCloudRetailV2alphaUserEventInputConfig @typing.type_check_only -class GoogleCloudRetailV2alphaImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig importSummary: GoogleCloudRetailV2alphaUserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2alphaIntentClassificationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaIntentClassificationConfig(typing.TypedDict, total=False): blocklistKeywords: _list[str] disabledIntentTypes: _list[str] example: _list[GoogleCloudRetailV2alphaIntentClassificationConfigExample] @@ -997,7 +894,7 @@ class GoogleCloudRetailV2alphaIntentClassificationConfig( @typing.type_check_only class GoogleCloudRetailV2alphaIntentClassificationConfigExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classifiedPositive: bool intentType: str @@ -1006,55 +903,47 @@ class GoogleCloudRetailV2alphaIntentClassificationConfigExample( @typing.type_check_only class GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentType: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS"] query: str @typing.type_check_only class GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineForceIntents: _list[ GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent ] @typing.type_check_only -class GoogleCloudRetailV2alphaInterval(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudRetailV2alphaListBranchesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaListBranchesResponse(typing.TypedDict, total=False): branches: _list[GoogleCloudRetailV2alphaBranch] @typing.type_check_only -class GoogleCloudRetailV2alphaListCatalogsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaListCatalogsResponse(typing.TypedDict, total=False): catalogs: _list[GoogleCloudRetailV2alphaCatalog] nextPageToken: str @typing.type_check_only -class GoogleCloudRetailV2alphaListControlsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaListControlsResponse(typing.TypedDict, total=False): controls: _list[GoogleCloudRetailV2alphaControl] nextPageToken: str @typing.type_check_only class GoogleCloudRetailV2alphaListEnrolledSolutionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enrolledSolutions: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1063,42 +952,36 @@ class GoogleCloudRetailV2alphaListEnrolledSolutionsResponse( @typing.type_check_only class GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfigs: _list[GoogleCloudRetailV2alphaGenerativeQuestionConfig] @typing.type_check_only class GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): merchantCenterAccountLinks: _list[GoogleCloudRetailV2alphaMerchantCenterAccountLink] @typing.type_check_only -class GoogleCloudRetailV2alphaListModelsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaListModelsResponse(typing.TypedDict, total=False): models: _list[GoogleCloudRetailV2alphaModel] nextPageToken: str @typing.type_check_only -class GoogleCloudRetailV2alphaListProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[GoogleCloudRetailV2alphaProduct] totalSize: int @typing.type_check_only -class GoogleCloudRetailV2alphaListServingConfigsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaListServingConfigsResponse(typing.TypedDict, total=False): nextPageToken: str servingConfigs: _list[GoogleCloudRetailV2alphaServingConfig] @typing.type_check_only -class GoogleCloudRetailV2alphaLocalInventory(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaLocalInventory(typing.TypedDict, total=False): attributes: dict[str, typing.Any] - availability: typing_extensions.Literal[ + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" ] fulfillmentTypes: _list[str] @@ -1106,7 +989,7 @@ class GoogleCloudRetailV2alphaLocalInventory(typing_extensions.TypedDict, total= priceInfo: GoogleCloudRetailV2alphaPriceInfo @typing.type_check_only -class GoogleCloudRetailV2alphaLoggingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaLoggingConfig(typing.TypedDict, total=False): defaultLogGenerationRule: GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule name: str serviceLogGenerationRules: _list[ @@ -1115,10 +998,10 @@ class GoogleCloudRetailV2alphaLoggingConfig(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): infoLogSampleRate: float - loggingLevel: typing_extensions.Literal[ + loggingLevel: typing.Literal[ "LOGGING_LEVEL_UNSPECIFIED", "LOGGING_DISABLED", "LOG_ERRORS_AND_ABOVE", @@ -1128,15 +1011,13 @@ class GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule( @typing.type_check_only class GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): logGenerationRule: GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule serviceName: str @typing.type_check_only -class GoogleCloudRetailV2alphaMerchantCenterAccountLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaMerchantCenterAccountLink(typing.TypedDict, total=False): branchId: str feedFilters: _list[ GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter @@ -1148,28 +1029,24 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLink( name: str projectId: str source: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] @typing.type_check_only class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataSourceId: str primaryFeedId: str primaryFeedName: str @typing.type_check_only -class GoogleCloudRetailV2alphaMerchantCenterFeedFilter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaMerchantCenterFeedFilter(typing.TypedDict, total=False): dataSourceId: str primaryFeedId: str primaryFeedName: str @typing.type_check_only -class GoogleCloudRetailV2alphaMerchantCenterLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaMerchantCenterLink(typing.TypedDict, total=False): branchId: str destinations: _list[str] feeds: _list[GoogleCloudRetailV2alphaMerchantCenterFeedFilter] @@ -1179,18 +1056,16 @@ class GoogleCloudRetailV2alphaMerchantCenterLink( @typing.type_check_only class GoogleCloudRetailV2alphaMerchantCenterLinkingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): links: _list[GoogleCloudRetailV2alphaMerchantCenterLink] @typing.type_check_only -class GoogleCloudRetailV2alphaModel(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaModel(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -1200,48 +1075,44 @@ class GoogleCloudRetailV2alphaModel(typing_extensions.TypedDict, total=False): name: str optimizationObjective: str pageOptimizationConfig: GoogleCloudRetailV2alphaModelPageOptimizationConfig - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2alphaModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2alphaModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageOptimizationEventType: str panels: _list[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel] - restriction: typing_extensions.Literal[ + restriction: typing.Literal[ "RESTRICTION_UNSPECIFIED", "NO_RESTRICTION", "UNIQUE_SERVING_CONFIG_RESTRICTION", @@ -1251,50 +1122,46 @@ class GoogleCloudRetailV2alphaModelPageOptimizationConfig( @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): servingConfigId: str @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidates: _list[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate] defaultCandidate: GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate displayName: str @typing.type_check_only -class GoogleCloudRetailV2alphaModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaOutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaOutputConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudRetailV2alphaOutputConfigBigQueryDestination gcsDestination: GoogleCloudRetailV2alphaOutputConfigGcsDestination @typing.type_check_only class GoogleCloudRetailV2alphaOutputConfigBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetId: str tableIdPrefix: str tableType: str @typing.type_check_only -class GoogleCloudRetailV2alphaOutputConfigGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaOutputConfigGcsDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleCloudRetailV2alphaOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaOutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2alphaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2alphaGcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2alphaPanelInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaPanelInfo(typing.TypedDict, total=False): attributionToken: str displayName: str panelId: str @@ -1303,25 +1170,21 @@ class GoogleCloudRetailV2alphaPanelInfo(typing_extensions.TypedDict, total=False totalPanels: int @typing.type_check_only -class GoogleCloudRetailV2alphaPauseModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaPauseModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaPinControlMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPinControlMetadata(typing.TypedDict, total=False): allMatchedPins: dict[str, typing.Any] droppedPins: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRetailV2alphaPinControlMetadataProductPins( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productId: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaPredictRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaPredictRequest(typing.TypedDict, total=False): filter: str labels: dict[str, typing.Any] pageSize: int @@ -1331,7 +1194,7 @@ class GoogleCloudRetailV2alphaPredictRequest(typing_extensions.TypedDict, total= validateOnly: bool @typing.type_check_only -class GoogleCloudRetailV2alphaPredictResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaPredictResponse(typing.TypedDict, total=False): attributionToken: str missingIds: _list[str] results: _list[GoogleCloudRetailV2alphaPredictResponsePredictionResult] @@ -1339,13 +1202,13 @@ class GoogleCloudRetailV2alphaPredictResponse(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudRetailV2alphaPredictResponsePredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRetailV2alphaPriceInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaPriceInfo(typing.TypedDict, total=False): cost: float currencyCode: str originalPrice: float @@ -1355,17 +1218,15 @@ class GoogleCloudRetailV2alphaPriceInfo(typing_extensions.TypedDict, total=False priceRange: GoogleCloudRetailV2alphaPriceInfoPriceRange @typing.type_check_only -class GoogleCloudRetailV2alphaPriceInfoPriceRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPriceInfoPriceRange(typing.TypedDict, total=False): originalPrice: GoogleCloudRetailV2alphaInterval price: GoogleCloudRetailV2alphaInterval @typing.type_check_only -class GoogleCloudRetailV2alphaProduct(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaProduct(typing.TypedDict, total=False): attributes: dict[str, typing.Any] audience: GoogleCloudRetailV2alphaAudience - availability: typing_extensions.Literal[ + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" ] availableQuantity: int @@ -1396,56 +1257,44 @@ class GoogleCloudRetailV2alphaProduct(typing_extensions.TypedDict, total=False): tags: _list[str] title: str ttl: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "PRIMARY", "VARIANT", "COLLECTION" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "PRIMARY", "VARIANT", "COLLECTION"] uri: str variants: _list[GoogleCloudRetailV2alphaProduct] @typing.type_check_only -class GoogleCloudRetailV2alphaProductAttributeInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaProductAttributeInterval(typing.TypedDict, total=False): interval: GoogleCloudRetailV2alphaInterval name: str @typing.type_check_only -class GoogleCloudRetailV2alphaProductAttributeValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaProductAttributeValue(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudRetailV2alphaProductDetail(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaProductDetail(typing.TypedDict, total=False): product: GoogleCloudRetailV2alphaProduct quantity: int @typing.type_check_only -class GoogleCloudRetailV2alphaProductInlineSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaProductInlineSource(typing.TypedDict, total=False): products: _list[GoogleCloudRetailV2alphaProduct] @typing.type_check_only -class GoogleCloudRetailV2alphaProductInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaProductInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2alphaBigQuerySource gcsSource: GoogleCloudRetailV2alphaGcsSource productInlineSource: GoogleCloudRetailV2alphaProductInlineSource @typing.type_check_only -class GoogleCloudRetailV2alphaProductLevelConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaProductLevelConfig(typing.TypedDict, total=False): ingestionProductType: str merchantCenterProductIdField: str @typing.type_check_only -class GoogleCloudRetailV2alphaProject(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaProject(typing.TypedDict, total=False): enrolledSolutions: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1454,13 +1303,11 @@ class GoogleCloudRetailV2alphaProject(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudRetailV2alphaPromotion(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaPromotion(typing.TypedDict, total=False): promotionId: str @typing.type_check_only -class GoogleCloudRetailV2alphaPurchaseTransaction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurchaseTransaction(typing.TypedDict, total=False): cost: float currencyCode: str id: str @@ -1468,91 +1315,73 @@ class GoogleCloudRetailV2alphaPurchaseTransaction( tax: float @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaPurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeProductsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeProductsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeUserEventsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2alphaRating(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaRating(typing.TypedDict, total=False): averageRating: float ratingCount: int ratingHistogram: _list[int] @typing.type_check_only class GoogleCloudRetailV2alphaRejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaRejoinUserEventsRequest( - typing_extensions.TypedDict, total=False -): - userEventRejoinScope: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaRejoinUserEventsRequest(typing.TypedDict, total=False): + userEventRejoinScope: typing.Literal[ "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", "JOINED_EVENTS", "UNJOINED_EVENTS" ] @typing.type_check_only -class GoogleCloudRetailV2alphaRejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str @typing.type_check_only -class GoogleCloudRetailV2alphaRemoveControlRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRemoveControlRequest(typing.TypedDict, total=False): controlId: str @typing.type_check_only class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMissing: bool placeIds: _list[str] @@ -1561,17 +1390,17 @@ class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest( @typing.type_check_only class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveLocalInventoriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMissing: bool placeIds: _list[str] @@ -1579,23 +1408,21 @@ class GoogleCloudRetailV2alphaRemoveLocalInventoriesRequest( @typing.type_check_only class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalogAttribute: GoogleCloudRetailV2alphaCatalogAttribute updateMask: str @typing.type_check_only -class GoogleCloudRetailV2alphaResumeModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaResumeModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaRule(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaRule(typing.TypedDict, total=False): boostAction: GoogleCloudRetailV2alphaRuleBoostAction condition: GoogleCloudRetailV2alphaCondition doNotAssociateAction: GoogleCloudRetailV2alphaRuleDoNotAssociateAction @@ -1610,86 +1437,68 @@ class GoogleCloudRetailV2alphaRule(typing_extensions.TypedDict, total=False): twowaySynonymsAction: GoogleCloudRetailV2alphaRuleTwowaySynonymsAction @typing.type_check_only -class GoogleCloudRetailV2alphaRuleBoostAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaRuleBoostAction(typing.TypedDict, total=False): boost: float productsFilter: str @typing.type_check_only -class GoogleCloudRetailV2alphaRuleDoNotAssociateAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleDoNotAssociateAction(typing.TypedDict, total=False): doNotAssociateTerms: _list[str] queryTerms: _list[str] terms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaRuleFilterAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleFilterAction(typing.TypedDict, total=False): filter: str @typing.type_check_only -class GoogleCloudRetailV2alphaRuleForceReturnFacetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleForceReturnFacetAction(typing.TypedDict, total=False): facetPositionAdjustments: _list[ GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment ] @typing.type_check_only class GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeName: str position: int @typing.type_check_only -class GoogleCloudRetailV2alphaRuleIgnoreAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleIgnoreAction(typing.TypedDict, total=False): ignoreTerms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaRuleOnewaySynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleOnewaySynonymsAction(typing.TypedDict, total=False): onewayTerms: _list[str] queryTerms: _list[str] synonyms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaRulePinAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaRulePinAction(typing.TypedDict, total=False): pinMap: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRetailV2alphaRuleRedirectAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleRedirectAction(typing.TypedDict, total=False): redirectUri: str @typing.type_check_only -class GoogleCloudRetailV2alphaRuleRemoveFacetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleRemoveFacetAction(typing.TypedDict, total=False): attributeNames: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaRuleReplacementAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleReplacementAction(typing.TypedDict, total=False): queryTerms: _list[str] replacementTerm: str term: str @typing.type_check_only -class GoogleCloudRetailV2alphaRuleTwowaySynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRuleTwowaySynonymsAction(typing.TypedDict, total=False): synonyms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaSafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaSafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -1697,10 +1506,8 @@ class GoogleCloudRetailV2alphaSafetySetting(typing_extensions.TypedDict, total=F "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - method: typing_extensions.Literal[ - "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" - ] - threshold: typing_extensions.Literal[ + method: typing.Literal["HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY"] + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -1710,18 +1517,20 @@ class GoogleCloudRetailV2alphaSafetySetting(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudRetailV2alphaSearchRequestBoostSpec branch: str canonicalFilter: str conversationalSearchSpec: ( GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec ) + dynamicControls: _list[GoogleCloudRetailV2alphaControl] dynamicFacetSpec: GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec entity: str experimentId: str facetSpecs: _list[GoogleCloudRetailV2alphaSearchRequestFacetSpec] filter: str + ignoredControlIds: _list[str] labels: dict[str, typing.Any] languageCode: str offset: int @@ -1734,10 +1543,10 @@ class GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=F query: str queryExpansionSpec: GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec regionCode: str - relevanceThreshold: typing_extensions.Literal[ + relevanceThreshold: typing.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "LOWEST" ] - searchMode: typing_extensions.Literal[ + searchMode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec @@ -1748,9 +1557,7 @@ class GoogleCloudRetailV2alphaSearchRequest(typing_extensions.TypedDict, total=F visitorId: str @typing.type_check_only -class GoogleCloudRetailV2alphaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaSearchRequestBoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[ GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec ] @@ -1758,14 +1565,14 @@ class GoogleCloudRetailV2alphaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float condition: str @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str followupConversationRequested: bool @@ -1773,28 +1580,26 @@ class GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec( @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectedAnswer: GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer textAnswer: str @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue productAttributeValues: _list[GoogleCloudRetailV2alphaProductAttributeValue] @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleCloudRetailV2alphaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaSearchRequestFacetSpec(typing.TypedDict, total=False): enableDynamicPosition: bool excludedFilterKeys: _list[str] facetKey: GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey @@ -1802,7 +1607,7 @@ class GoogleCloudRetailV2alphaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -1816,32 +1621,32 @@ class GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only class GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appliedTiles: _list[GoogleCloudRetailV2alphaTile] tileNavigationRequested: bool @typing.type_check_only -class GoogleCloudRetailV2alphaSearchResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaSearchResponse(typing.TypedDict, total=False): appliedControls: _list[str] attributionToken: str conversationalSearchResult: ( @@ -1863,7 +1668,7 @@ class GoogleCloudRetailV2alphaSearchResponse(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalFilter: ( GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter @@ -1880,27 +1685,25 @@ class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult( @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue @typing.type_check_only -class GoogleCloudRetailV2alphaSearchResponseFacet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaSearchResponseFacet(typing.TypedDict, total=False): dynamicFacet: bool key: str values: _list[GoogleCloudRetailV2alphaSearchResponseFacetFacetValue] @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponseFacetFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str interval: GoogleCloudRetailV2alphaInterval @@ -1910,15 +1713,13 @@ class GoogleCloudRetailV2alphaSearchResponseFacetFacetValue( @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedQuery: bool pinnedResultCount: str @typing.type_check_only -class GoogleCloudRetailV2alphaSearchResponseSearchResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaSearchResponseSearchResult(typing.TypedDict, total=False): id: str matchingVariantCount: int matchingVariantFields: dict[str, typing.Any] @@ -1929,16 +1730,16 @@ class GoogleCloudRetailV2alphaSearchResponseSearchResult( @typing.type_check_only class GoogleCloudRetailV2alphaSearchResponseTileNavigationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tiles: _list[GoogleCloudRetailV2alphaTile] @typing.type_check_only -class GoogleCloudRetailV2alphaServingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaServingConfig(typing.TypedDict, total=False): boostControlIds: _list[str] displayName: str diversityLevel: str - diversityType: typing_extensions.Literal[ + diversityType: typing.Literal[ "DIVERSITY_TYPE_UNSPECIFIED", "RULE_BASED_DIVERSITY", "DATA_DRIVEN_DIVERSITY" ] doNotAssociateControlIds: _list[str] @@ -1956,7 +1757,7 @@ class GoogleCloudRetailV2alphaServingConfig(typing_extensions.TypedDict, total=F redirectControlIds: _list[str] replacementControlIds: _list[str] solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -1965,74 +1766,60 @@ class GoogleCloudRetailV2alphaServingConfig(typing_extensions.TypedDict, total=F twowaySynonymsControlIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaSetDefaultBranchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaSetDefaultBranchRequest(typing.TypedDict, total=False): branchId: str force: bool note: str @typing.type_check_only -class GoogleCloudRetailV2alphaSetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaSetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaSetInventoryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaSetInventoryRequest(typing.TypedDict, total=False): allowMissing: bool inventory: GoogleCloudRetailV2alphaProduct setMask: str setTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaSetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaSetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaStringList(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaStringList(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaTile(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaTile(typing.TypedDict, total=False): productAttributeInterval: GoogleCloudRetailV2alphaProductAttributeInterval productAttributeValue: GoogleCloudRetailV2alphaProductAttributeValue representativeProductId: str @typing.type_check_only class GoogleCloudRetailV2alphaTransformedUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceEventsCount: str transformedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2alphaTuneModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaTuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2alphaTuneModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaTuneModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaTuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaTuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfig: GoogleCloudRetailV2alphaGenerativeQuestionConfig updateMask: str @typing.type_check_only -class GoogleCloudRetailV2alphaUserEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaUserEvent(typing.TypedDict, total=False): attributes: dict[str, typing.Any] attributionToken: str cartId: str @@ -2057,28 +1844,22 @@ class GoogleCloudRetailV2alphaUserEvent(typing_extensions.TypedDict, total=False visitorId: str @typing.type_check_only -class GoogleCloudRetailV2alphaUserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaUserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2alphaUserEventInlineSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaUserEventInlineSource(typing.TypedDict, total=False): userEvents: _list[GoogleCloudRetailV2alphaUserEvent] @typing.type_check_only -class GoogleCloudRetailV2alphaUserEventInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaUserEventInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2alphaBigQuerySource gcsSource: GoogleCloudRetailV2alphaGcsSource userEventInlineSource: GoogleCloudRetailV2alphaUserEventInlineSource @typing.type_check_only -class GoogleCloudRetailV2alphaUserInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaUserInfo(typing.TypedDict, total=False): directUserRequest: bool ipAddress: str userAgent: str @@ -2086,90 +1867,78 @@ class GoogleCloudRetailV2alphaUserInfo(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaAddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaAddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaBigQueryOutputResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaBigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudRetailV2betaCreateModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaCreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaExportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2betaExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaExportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaExportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaGcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaGcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only class GoogleCloudRetailV2betaImportCompletionDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2betaImportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2betaImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -2178,28 +1947,22 @@ class GoogleCloudRetailV2betaImportMetadata(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2betaImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig importSummary: GoogleCloudRetailV2betaUserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2betaModel(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaModel(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -2208,146 +1971,120 @@ class GoogleCloudRetailV2betaModel(typing_extensions.TypedDict, total=False): modelFeaturesConfig: GoogleCloudRetailV2betaModelModelFeaturesConfig name: str optimizationObjective: str - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2betaModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2betaModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only -class GoogleCloudRetailV2betaModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaOutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2betaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2betaGcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2betaPurgeMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaPurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaPurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaPurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only class GoogleCloudRetailV2betaRejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaRejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaSetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaSetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaSetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaSetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaTuneModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaTuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2betaTuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaTuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaUserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaUserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2355,16 +2092,16 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi b/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi index 10f55b23f..ac69b6efd 100644 --- a/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/retail/v2beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi index d7323e674..0bfa04507 100644 --- a/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/retail/v2beta/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleApiHttpBody(typing_extensions.TypedDict, total=False): +class GoogleApiHttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class GoogleCloudRetailLoggingErrorContext(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingErrorContext(typing.TypedDict, total=False): httpRequest: GoogleCloudRetailLoggingHttpRequestContext reportLocation: GoogleCloudRetailLoggingSourceLocation @typing.type_check_only -class GoogleCloudRetailLoggingErrorLog(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingErrorLog(typing.TypedDict, total=False): context: GoogleCloudRetailLoggingErrorContext importPayload: GoogleCloudRetailLoggingImportErrorContext message: str @@ -26,15 +24,11 @@ class GoogleCloudRetailLoggingErrorLog(typing_extensions.TypedDict, total=False) status: GoogleRpcStatus @typing.type_check_only -class GoogleCloudRetailLoggingHttpRequestContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailLoggingHttpRequestContext(typing.TypedDict, total=False): responseStatusCode: int @typing.type_check_only -class GoogleCloudRetailLoggingImportErrorContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailLoggingImportErrorContext(typing.TypedDict, total=False): catalogItem: str gcsPath: str lineNumber: str @@ -43,75 +37,67 @@ class GoogleCloudRetailLoggingImportErrorContext( userEvent: str @typing.type_check_only -class GoogleCloudRetailLoggingServiceContext(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingServiceContext(typing.TypedDict, total=False): service: str @typing.type_check_only -class GoogleCloudRetailLoggingSourceLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailLoggingSourceLocation(typing.TypedDict, total=False): functionName: str @typing.type_check_only class GoogleCloudRetailV2AddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2AddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2AddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2AddLocalInventoriesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2AddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2AddLocalInventoriesResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2BigQueryOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2BigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudRetailV2CreateModelMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2CreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2ExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ExportAnalyticsMetricsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ExportErrorsConfig outputResult: GoogleCloudRetailV2OutputResult @typing.type_check_only -class GoogleCloudRetailV2ExportErrorsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2ExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2GcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2GcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class GoogleCloudRetailV2ImportCompletionDataResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportCompletionDataResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2ImportErrorsConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2ImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2ImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -120,28 +106,22 @@ class GoogleCloudRetailV2ImportMetadata(typing_extensions.TypedDict, total=False updateTime: str @typing.type_check_only -class GoogleCloudRetailV2ImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2ImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2ImportErrorsConfig importSummary: GoogleCloudRetailV2UserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2Model(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2Model(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -150,184 +130,152 @@ class GoogleCloudRetailV2Model(typing_extensions.TypedDict, total=False): modelFeaturesConfig: GoogleCloudRetailV2ModelModelFeaturesConfig name: str optimizationObjective: str - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2ModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2ModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only -class GoogleCloudRetailV2ModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2ModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2OutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2OutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2BigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2GcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2PurgeMetadata(typing_extensions.TypedDict, total=False): ... +class GoogleCloudRetailV2PurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2PurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2PurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2PurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2PurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2RejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2RejoinUserEventsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2RejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2RejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2RemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2RemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2SetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2SetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2SetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2SetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2TuneModelMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2TuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2TuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2TuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2UserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2UserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaAddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaBigQueryOutputResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaBigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaCreateModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaCreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2alphaEnrollSolutionMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaEnrollSolutionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaEnrollSolutionResponse( - typing_extensions.TypedDict, total=False -): - enrolledSolution: typing_extensions.Literal[ +class GoogleCloudRetailV2alphaEnrollSolutionResponse(typing.TypedDict, total=False): + enrolledSolution: typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -335,57 +283,49 @@ class GoogleCloudRetailV2alphaEnrollSolutionResponse( @typing.type_check_only class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaExportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2alphaExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaExportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaExportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaExportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaExportErrorsConfig outputResult: GoogleCloudRetailV2alphaOutputResult @typing.type_check_only -class GoogleCloudRetailV2alphaGcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaGcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only class GoogleCloudRetailV2alphaImportCompletionDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2alphaImportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2alphaImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -395,24 +335,18 @@ class GoogleCloudRetailV2alphaImportMetadata(typing_extensions.TypedDict, total= updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2alphaImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2alphaImportErrorsConfig importSummary: GoogleCloudRetailV2alphaUserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2alphaMerchantCenterAccountLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaMerchantCenterAccountLink(typing.TypedDict, total=False): branchId: str feedFilters: _list[ GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter @@ -424,24 +358,22 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLink( name: str projectId: str source: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "ACTIVE", "FAILED"] @typing.type_check_only class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataSourceId: str primaryFeedId: str primaryFeedName: str @typing.type_check_only -class GoogleCloudRetailV2alphaModel(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaModel(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -451,48 +383,44 @@ class GoogleCloudRetailV2alphaModel(typing_extensions.TypedDict, total=False): name: str optimizationObjective: str pageOptimizationConfig: GoogleCloudRetailV2alphaModelPageOptimizationConfig - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2alphaModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2alphaModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageOptimizationEventType: str panels: _list[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel] - restriction: typing_extensions.Literal[ + restriction: typing.Literal[ "RESTRICTION_UNSPECIFIED", "NO_RESTRICTION", "UNIQUE_SERVING_CONFIG_RESTRICTION", @@ -502,143 +430,115 @@ class GoogleCloudRetailV2alphaModelPageOptimizationConfig( @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): servingConfigId: str @typing.type_check_only class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): candidates: _list[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate] defaultCandidate: GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate displayName: str @typing.type_check_only -class GoogleCloudRetailV2alphaModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2alphaOutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2alphaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2alphaGcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaPurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2alphaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaPurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only class GoogleCloudRetailV2alphaRejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaRejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaRejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2alphaSetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaSetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaSetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaSetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudRetailV2alphaTransformedUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sourceEventsCount: str transformedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2alphaTuneModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaTuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2alphaTuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2alphaTuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2alphaUserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2alphaUserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2betaAddCatalogAttributeRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaAddCatalogAttributeRequest(typing.TypedDict, total=False): catalogAttribute: GoogleCloudRetailV2betaCatalogAttribute @typing.type_check_only -class GoogleCloudRetailV2betaAddControlRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaAddControlRequest(typing.TypedDict, total=False): controlId: str @typing.type_check_only class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaAddFulfillmentPlacesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaAddFulfillmentPlacesRequest(typing.TypedDict, total=False): addTime: str allowMissing: bool placeIds: _list[str] @@ -646,18 +546,16 @@ class GoogleCloudRetailV2betaAddFulfillmentPlacesRequest( @typing.type_check_only class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaAddLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaAddLocalInventoriesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaAddLocalInventoriesRequest(typing.TypedDict, total=False): addMask: str addTime: str allowMissing: bool @@ -665,33 +563,29 @@ class GoogleCloudRetailV2betaAddLocalInventoriesRequest( @typing.type_check_only class GoogleCloudRetailV2betaAddLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaAlertConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaAlertConfig(typing.TypedDict, total=False): alertPolicies: _list[GoogleCloudRetailV2betaAlertConfigAlertPolicy] name: str @typing.type_check_only -class GoogleCloudRetailV2betaAlertConfigAlertPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaAlertConfigAlertPolicy(typing.TypedDict, total=False): alertGroup: str - enrollStatus: typing_extensions.Literal[ - "ENROLL_STATUS_UNSPECIFIED", "ENROLLED", "DECLINED" - ] + enrollStatus: typing.Literal["ENROLL_STATUS_UNSPECIFIED", "ENROLLED", "DECLINED"] recipients: _list[GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient] @typing.type_check_only class GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): emailAddress: str @typing.type_check_only -class GoogleCloudRetailV2betaAttributesConfig(typing_extensions.TypedDict, total=False): - attributeConfigLevel: typing_extensions.Literal[ +class GoogleCloudRetailV2betaAttributesConfig(typing.TypedDict, total=False): + attributeConfigLevel: typing.Literal[ "ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED", "PRODUCT_LEVEL_ATTRIBUTE_CONFIG", "CATALOG_LEVEL_ATTRIBUTE_CONFIG", @@ -700,44 +594,42 @@ class GoogleCloudRetailV2betaAttributesConfig(typing_extensions.TypedDict, total name: str @typing.type_check_only -class GoogleCloudRetailV2betaAudience(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaAudience(typing.TypedDict, total=False): ageGroups: _list[str] genders: _list[str] @typing.type_check_only class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeKeys: _list[str] @typing.type_check_only class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deletedCatalogAttributes: _list[str] resetCatalogAttributes: _list[str] @typing.type_check_only class GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): requests: _list[GoogleCloudRetailV2betaUpdateGenerativeQuestionConfigRequest] @typing.type_check_only class GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfigs: _list[GoogleCloudRetailV2betaGenerativeQuestionConfig] @typing.type_check_only -class GoogleCloudRetailV2betaBigQueryOutputResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaBigQueryOutputResult(typing.TypedDict, total=False): datasetId: str tableId: str @typing.type_check_only -class GoogleCloudRetailV2betaBigQuerySource(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaBigQuerySource(typing.TypedDict, total=False): dataSchema: str datasetId: str gcsStagingDir: str @@ -746,47 +638,45 @@ class GoogleCloudRetailV2betaBigQuerySource(typing_extensions.TypedDict, total=F tableId: str @typing.type_check_only -class GoogleCloudRetailV2betaCatalog(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaCatalog(typing.TypedDict, total=False): displayName: str merchantCenterLinkingConfig: GoogleCloudRetailV2betaMerchantCenterLinkingConfig name: str productLevelConfig: GoogleCloudRetailV2betaProductLevelConfig @typing.type_check_only -class GoogleCloudRetailV2betaCatalogAttribute(typing_extensions.TypedDict, total=False): - dynamicFacetableOption: typing_extensions.Literal[ +class GoogleCloudRetailV2betaCatalogAttribute(typing.TypedDict, total=False): + dynamicFacetableOption: typing.Literal[ "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", "DYNAMIC_FACETABLE_ENABLED", "DYNAMIC_FACETABLE_DISABLED", ] - exactSearchableOption: typing_extensions.Literal[ + exactSearchableOption: typing.Literal[ "EXACT_SEARCHABLE_OPTION_UNSPECIFIED", "EXACT_SEARCHABLE_ENABLED", "EXACT_SEARCHABLE_DISABLED", ] facetConfig: GoogleCloudRetailV2betaCatalogAttributeFacetConfig inUse: bool - indexableOption: typing_extensions.Literal[ + indexableOption: typing.Literal[ "INDEXABLE_OPTION_UNSPECIFIED", "INDEXABLE_ENABLED", "INDEXABLE_DISABLED" ] key: str - recommendationsFilteringOption: typing_extensions.Literal[ + recommendationsFilteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", ] - retrievableOption: typing_extensions.Literal[ + retrievableOption: typing.Literal[ "RETRIEVABLE_OPTION_UNSPECIFIED", "RETRIEVABLE_ENABLED", "RETRIEVABLE_DISABLED" ] - searchableOption: typing_extensions.Literal[ + searchableOption: typing.Literal[ "SEARCHABLE_OPTION_UNSPECIFIED", "SEARCHABLE_ENABLED", "SEARCHABLE_DISABLED" ] - type: typing_extensions.Literal["UNKNOWN", "TEXTUAL", "NUMERICAL"] + type: typing.Literal["UNKNOWN", "TEXTUAL", "NUMERICAL"] @typing.type_check_only -class GoogleCloudRetailV2betaCatalogAttributeFacetConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaCatalogAttributeFacetConfig(typing.TypedDict, total=False): facetIntervals: _list[GoogleCloudRetailV2betaInterval] ignoredFacetValues: _list[ GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues @@ -799,7 +689,7 @@ class GoogleCloudRetailV2betaCatalogAttributeFacetConfig( @typing.type_check_only class GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endTime: str startTime: str @@ -807,28 +697,26 @@ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues( @typing.type_check_only class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mergedFacetKey: str @typing.type_check_only class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mergedValue: str values: _list[str] @typing.type_check_only class GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): facetValues: _list[str] rerankFacet: bool @typing.type_check_only -class GoogleCloudRetailV2betaCollectUserEventRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaCollectUserEventRequest(typing.TypedDict, total=False): ets: str prebuiltRule: str rawJson: str @@ -836,14 +724,12 @@ class GoogleCloudRetailV2betaCollectUserEventRequest( userEvent: str @typing.type_check_only -class GoogleCloudRetailV2betaColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaColorInfo(typing.TypedDict, total=False): colorFamilies: _list[str] colors: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaCompleteQueryResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaCompleteQueryResponse(typing.TypedDict, total=False): attributeResults: dict[str, typing.Any] attributionToken: str completionResults: _list[ @@ -855,25 +741,25 @@ class GoogleCloudRetailV2betaCompleteQueryResponse( @typing.type_check_only class GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[str] @typing.type_check_only class GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: dict[str, typing.Any] suggestion: str @typing.type_check_only class GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recentSearch: str @typing.type_check_only -class GoogleCloudRetailV2betaCompletionConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaCompletionConfig(typing.TypedDict, total=False): allowlistInputConfig: GoogleCloudRetailV2betaCompletionDataInputConfig autoLearning: bool denylistInputConfig: GoogleCloudRetailV2betaCompletionDataInputConfig @@ -887,52 +773,46 @@ class GoogleCloudRetailV2betaCompletionConfig(typing_extensions.TypedDict, total suggestionsInputConfig: GoogleCloudRetailV2betaCompletionDataInputConfig @typing.type_check_only -class GoogleCloudRetailV2betaCompletionDataInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaCompletionDataInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2betaBigQuerySource @typing.type_check_only -class GoogleCloudRetailV2betaCompletionDetail(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaCompletionDetail(typing.TypedDict, total=False): completionAttributionToken: str selectedPosition: int selectedSuggestion: str @typing.type_check_only -class GoogleCloudRetailV2betaCondition(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaCondition(typing.TypedDict, total=False): activeTimeRange: _list[GoogleCloudRetailV2betaConditionTimeRange] pageCategories: _list[str] queryTerms: _list[GoogleCloudRetailV2betaConditionQueryTerm] @typing.type_check_only -class GoogleCloudRetailV2betaConditionQueryTerm( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaConditionQueryTerm(typing.TypedDict, total=False): fullMatch: bool value: str @typing.type_check_only -class GoogleCloudRetailV2betaConditionTimeRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaConditionTimeRange(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleCloudRetailV2betaControl(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaControl(typing.TypedDict, total=False): associatedServingConfigIds: _list[str] displayName: str name: str rule: GoogleCloudRetailV2betaRule searchSolutionUseCase: _list[ - typing_extensions.Literal[ + typing.Literal[ "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", "SEARCH_SOLUTION_USE_CASE_SEARCH", "SEARCH_SOLUTION_USE_CASE_BROWSE", ] ] solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -941,16 +821,14 @@ class GoogleCloudRetailV2betaControl(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchCustomizationConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalog: str intentClassificationConfig: GoogleCloudRetailV2betaIntentClassificationConfig retailerDisplayName: str @typing.type_check_only -class GoogleCloudRetailV2betaConversationalSearchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaConversationalSearchRequest(typing.TypedDict, total=False): branch: str conversationId: str conversationalFilteringSpec: ( @@ -966,9 +844,9 @@ class GoogleCloudRetailV2betaConversationalSearchRequest( @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchRequestConversationalFilteringSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - conversationalFilteringMode: typing_extensions.Literal[ + conversationalFilteringMode: typing.Literal[ "MODE_UNSPECIFIED", "DISABLED", "ENABLED", "CONVERSATIONAL_FILTER_ONLY" ] enableConversationalFiltering: bool @@ -976,7 +854,7 @@ class GoogleCloudRetailV2betaConversationalSearchRequestConversationalFilteringS @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchRequestSearchParams( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boostSpec: GoogleCloudRetailV2betaSearchRequestBoostSpec canonicalFilter: str @@ -985,7 +863,7 @@ class GoogleCloudRetailV2betaConversationalSearchRequestSearchParams( @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchRequestUserAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectedAnswer: ( GoogleCloudRetailV2betaConversationalSearchRequestUserAnswerSelectedAnswer @@ -994,13 +872,13 @@ class GoogleCloudRetailV2betaConversationalSearchRequestUserAnswer( @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchRequestUserAnswerSelectedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str conversationalFilteringResult: ( @@ -1013,12 +891,12 @@ class GoogleCloudRetailV2betaConversationalSearchResponse( refinedSearch: _list[ GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] + state: typing.Literal["STATE_UNSPECIFIED", "STREAMING", "SUCCEEDED"] userQueryTypes: _list[str] @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalFilter: GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResultAdditionalFilter followupQuestion: ( @@ -1027,13 +905,13 @@ class GoogleCloudRetailV2betaConversationalSearchResponseConversationalFiltering @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResultAdditionalFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): followupQuestion: str suggestedAnswers: _list[ @@ -1042,35 +920,33 @@ class GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion( @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestionSuggestedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): query: str @typing.type_check_only -class GoogleCloudRetailV2betaCreateModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaCreateModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2betaCustomAttribute(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaCustomAttribute(typing.TypedDict, total=False): indexable: bool numbers: _list[float] searchable: bool text: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaDoubleList(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaDoubleList(typing.TypedDict, total=False): values: _list[float] @typing.type_check_only -class GoogleCloudRetailV2betaExperimentInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaExperimentInfo(typing.TypedDict, total=False): experiment: str servingConfigExperiment: ( GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment @@ -1078,85 +954,73 @@ class GoogleCloudRetailV2betaExperimentInfo(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experimentServingConfig: str originalServingConfig: str @typing.type_check_only class GoogleCloudRetailV2betaExportAnalyticsMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): filter: str outputConfig: GoogleCloudRetailV2betaOutputConfig @typing.type_check_only class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaExportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2betaExportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaExportMetadata(typing.TypedDict, total=False): createTime: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaExportProductsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportProductsRequest(typing.TypedDict, total=False): filter: str outputConfig: GoogleCloudRetailV2betaOutputConfig @typing.type_check_only -class GoogleCloudRetailV2betaExportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaExportUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportUserEventsRequest(typing.TypedDict, total=False): filter: str outputConfig: GoogleCloudRetailV2betaOutputConfig @typing.type_check_only -class GoogleCloudRetailV2betaExportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaExportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaExportErrorsConfig outputResult: GoogleCloudRetailV2betaOutputResult @typing.type_check_only -class GoogleCloudRetailV2betaFulfillmentInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaFulfillmentInfo(typing.TypedDict, total=False): placeIds: _list[str] type: str @typing.type_check_only -class GoogleCloudRetailV2betaGcsOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaGcsOutputResult(typing.TypedDict, total=False): outputUri: str @typing.type_check_only -class GoogleCloudRetailV2betaGcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaGcsSource(typing.TypedDict, total=False): dataSchema: str inputUris: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaGenerativeQuestionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaGenerativeQuestionConfig(typing.TypedDict, total=False): allowedInConversation: bool catalog: str exampleValues: _list[str] @@ -1167,47 +1031,41 @@ class GoogleCloudRetailV2betaGenerativeQuestionConfig( @typing.type_check_only class GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalog: str featureEnabled: bool minimumProducts: int @typing.type_check_only -class GoogleCloudRetailV2betaGetDefaultBranchResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaGetDefaultBranchResponse(typing.TypedDict, total=False): branch: str note: str setTime: str @typing.type_check_only -class GoogleCloudRetailV2betaImage(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaImage(typing.TypedDict, total=False): height: int uri: str width: int @typing.type_check_only -class GoogleCloudRetailV2betaImportCompletionDataRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportCompletionDataRequest(typing.TypedDict, total=False): inputConfig: GoogleCloudRetailV2betaCompletionDataInputConfig notificationPubsubTopic: str @typing.type_check_only class GoogleCloudRetailV2betaImportCompletionDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errorSamples: _list[GoogleRpcStatus] @typing.type_check_only -class GoogleCloudRetailV2betaImportErrorsConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportErrorsConfig(typing.TypedDict, total=False): gcsPrefix: str @typing.type_check_only -class GoogleCloudRetailV2betaImportMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaImportMetadata(typing.TypedDict, total=False): createTime: str failureCount: str notificationPubsubTopic: str @@ -1216,44 +1074,34 @@ class GoogleCloudRetailV2betaImportMetadata(typing_extensions.TypedDict, total=F updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaImportProductsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportProductsRequest(typing.TypedDict, total=False): errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig inputConfig: GoogleCloudRetailV2betaProductInputConfig notificationPubsubTopic: str - reconciliationMode: typing_extensions.Literal[ + reconciliationMode: typing.Literal[ "RECONCILIATION_MODE_UNSPECIFIED", "INCREMENTAL", "FULL" ] requestId: str updateMask: str @typing.type_check_only -class GoogleCloudRetailV2betaImportProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportProductsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig @typing.type_check_only -class GoogleCloudRetailV2betaImportUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportUserEventsRequest(typing.TypedDict, total=False): errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig inputConfig: GoogleCloudRetailV2betaUserEventInputConfig @typing.type_check_only -class GoogleCloudRetailV2betaImportUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaImportUserEventsResponse(typing.TypedDict, total=False): errorSamples: _list[GoogleRpcStatus] errorsConfig: GoogleCloudRetailV2betaImportErrorsConfig importSummary: GoogleCloudRetailV2betaUserEventImportSummary @typing.type_check_only -class GoogleCloudRetailV2betaIntentClassificationConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaIntentClassificationConfig(typing.TypedDict, total=False): blocklistKeywords: _list[str] disabledIntentTypes: _list[str] example: _list[GoogleCloudRetailV2betaIntentClassificationConfigExample] @@ -1262,7 +1110,7 @@ class GoogleCloudRetailV2betaIntentClassificationConfig( @typing.type_check_only class GoogleCloudRetailV2betaIntentClassificationConfigExample( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): classifiedPositive: bool intentType: str @@ -1271,89 +1119,73 @@ class GoogleCloudRetailV2betaIntentClassificationConfigExample( @typing.type_check_only class GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): intentType: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "EXACT_MATCH", "CONTAINS"] query: str @typing.type_check_only class GoogleCloudRetailV2betaIntentClassificationConfigInlineSource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): inlineForceIntents: _list[ GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent ] @typing.type_check_only -class GoogleCloudRetailV2betaInterval(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaInterval(typing.TypedDict, total=False): exclusiveMaximum: float exclusiveMinimum: float maximum: float minimum: float @typing.type_check_only -class GoogleCloudRetailV2betaListCatalogsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaListCatalogsResponse(typing.TypedDict, total=False): catalogs: _list[GoogleCloudRetailV2betaCatalog] nextPageToken: str @typing.type_check_only -class GoogleCloudRetailV2betaListControlsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaListControlsResponse(typing.TypedDict, total=False): controls: _list[GoogleCloudRetailV2betaControl] nextPageToken: str @typing.type_check_only class GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfigs: _list[GoogleCloudRetailV2betaGenerativeQuestionConfig] @typing.type_check_only -class GoogleCloudRetailV2betaListModelsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaListModelsResponse(typing.TypedDict, total=False): models: _list[GoogleCloudRetailV2betaModel] nextPageToken: str @typing.type_check_only -class GoogleCloudRetailV2betaListProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[GoogleCloudRetailV2betaProduct] @typing.type_check_only -class GoogleCloudRetailV2betaListServingConfigsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaListServingConfigsResponse(typing.TypedDict, total=False): nextPageToken: str servingConfigs: _list[GoogleCloudRetailV2betaServingConfig] @typing.type_check_only -class GoogleCloudRetailV2betaLocalInventory(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaLocalInventory(typing.TypedDict, total=False): attributes: dict[str, typing.Any] fulfillmentTypes: _list[str] placeId: str priceInfo: GoogleCloudRetailV2betaPriceInfo @typing.type_check_only -class GoogleCloudRetailV2betaMerchantCenterFeedFilter( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaMerchantCenterFeedFilter(typing.TypedDict, total=False): dataSourceId: str primaryFeedId: str primaryFeedName: str @typing.type_check_only -class GoogleCloudRetailV2betaMerchantCenterLink( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaMerchantCenterLink(typing.TypedDict, total=False): branchId: str destinations: _list[str] feeds: _list[GoogleCloudRetailV2betaMerchantCenterFeedFilter] @@ -1362,19 +1194,15 @@ class GoogleCloudRetailV2betaMerchantCenterLink( regionCode: str @typing.type_check_only -class GoogleCloudRetailV2betaMerchantCenterLinkingConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaMerchantCenterLinkingConfig(typing.TypedDict, total=False): links: _list[GoogleCloudRetailV2betaMerchantCenterLink] @typing.type_check_only -class GoogleCloudRetailV2betaModel(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaModel(typing.TypedDict, total=False): createTime: str - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "DATA_OK", "DATA_ERROR"] displayName: str - filteringOption: typing_extensions.Literal[ + filteringOption: typing.Literal[ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", "RECOMMENDATIONS_FILTERING_DISABLED", "RECOMMENDATIONS_FILTERING_ENABLED", @@ -1383,73 +1211,65 @@ class GoogleCloudRetailV2betaModel(typing_extensions.TypedDict, total=False): modelFeaturesConfig: GoogleCloudRetailV2betaModelModelFeaturesConfig name: str optimizationObjective: str - periodicTuningState: typing_extensions.Literal[ + periodicTuningState: typing.Literal[ "PERIODIC_TUNING_STATE_UNSPECIFIED", "PERIODIC_TUNING_DISABLED", "ALL_TUNING_DISABLED", "PERIODIC_TUNING_ENABLED", ] servingConfigLists: _list[GoogleCloudRetailV2betaModelServingConfigList] - servingState: typing_extensions.Literal[ + servingState: typing.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - trainingState: typing_extensions.Literal[ - "TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING" - ] + trainingState: typing.Literal["TRAINING_STATE_UNSPECIFIED", "PAUSED", "TRAINING"] tuningOperation: str type: str updateTime: str @typing.type_check_only class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - contextProductsType: typing_extensions.Literal[ + contextProductsType: typing.Literal[ "CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", "SINGLE_CONTEXT_PRODUCT", "MULTIPLE_CONTEXT_PRODUCTS", ] @typing.type_check_only -class GoogleCloudRetailV2betaModelModelFeaturesConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaModelModelFeaturesConfig(typing.TypedDict, total=False): frequentlyBoughtTogetherConfig: ( GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig ) @typing.type_check_only -class GoogleCloudRetailV2betaModelServingConfigList( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaModelServingConfigList(typing.TypedDict, total=False): servingConfigIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaOutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaOutputConfig(typing.TypedDict, total=False): bigqueryDestination: GoogleCloudRetailV2betaOutputConfigBigQueryDestination gcsDestination: GoogleCloudRetailV2betaOutputConfigGcsDestination @typing.type_check_only class GoogleCloudRetailV2betaOutputConfigBigQueryDestination( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): datasetId: str tableIdPrefix: str tableType: str @typing.type_check_only -class GoogleCloudRetailV2betaOutputConfigGcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaOutputConfigGcsDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GoogleCloudRetailV2betaOutputResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaOutputResult(typing.TypedDict, total=False): bigqueryResult: _list[GoogleCloudRetailV2betaBigQueryOutputResult] gcsResult: _list[GoogleCloudRetailV2betaGcsOutputResult] @typing.type_check_only -class GoogleCloudRetailV2betaPanelInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaPanelInfo(typing.TypedDict, total=False): attributionToken: str displayName: str panelId: str @@ -1458,25 +1278,21 @@ class GoogleCloudRetailV2betaPanelInfo(typing_extensions.TypedDict, total=False) totalPanels: int @typing.type_check_only -class GoogleCloudRetailV2betaPauseModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaPauseModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaPinControlMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPinControlMetadata(typing.TypedDict, total=False): allMatchedPins: dict[str, typing.Any] droppedPins: dict[str, typing.Any] @typing.type_check_only class GoogleCloudRetailV2betaPinControlMetadataProductPins( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productId: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaPredictRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaPredictRequest(typing.TypedDict, total=False): filter: str labels: dict[str, typing.Any] pageSize: int @@ -1486,7 +1302,7 @@ class GoogleCloudRetailV2betaPredictRequest(typing_extensions.TypedDict, total=F validateOnly: bool @typing.type_check_only -class GoogleCloudRetailV2betaPredictResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaPredictResponse(typing.TypedDict, total=False): attributionToken: str missingIds: _list[str] results: _list[GoogleCloudRetailV2betaPredictResponsePredictionResult] @@ -1494,13 +1310,13 @@ class GoogleCloudRetailV2betaPredictResponse(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudRetailV2betaPredictResponsePredictionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str metadata: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRetailV2betaPriceInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaPriceInfo(typing.TypedDict, total=False): cost: float currencyCode: str originalPrice: float @@ -1510,17 +1326,15 @@ class GoogleCloudRetailV2betaPriceInfo(typing_extensions.TypedDict, total=False) priceRange: GoogleCloudRetailV2betaPriceInfoPriceRange @typing.type_check_only -class GoogleCloudRetailV2betaPriceInfoPriceRange( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPriceInfoPriceRange(typing.TypedDict, total=False): originalPrice: GoogleCloudRetailV2betaInterval price: GoogleCloudRetailV2betaInterval @typing.type_check_only -class GoogleCloudRetailV2betaProduct(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaProduct(typing.TypedDict, total=False): attributes: dict[str, typing.Any] audience: GoogleCloudRetailV2betaAudience - availability: typing_extensions.Literal[ + availability: typing.Literal[ "AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK", "PREORDER", "BACKORDER" ] availableQuantity: int @@ -1551,60 +1365,46 @@ class GoogleCloudRetailV2betaProduct(typing_extensions.TypedDict, total=False): tags: _list[str] title: str ttl: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "PRIMARY", "VARIANT", "COLLECTION" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "PRIMARY", "VARIANT", "COLLECTION"] uri: str variants: _list[GoogleCloudRetailV2betaProduct] @typing.type_check_only -class GoogleCloudRetailV2betaProductAttributeInterval( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaProductAttributeInterval(typing.TypedDict, total=False): interval: GoogleCloudRetailV2betaInterval name: str @typing.type_check_only -class GoogleCloudRetailV2betaProductAttributeValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaProductAttributeValue(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudRetailV2betaProductDetail(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaProductDetail(typing.TypedDict, total=False): product: GoogleCloudRetailV2betaProduct quantity: int @typing.type_check_only -class GoogleCloudRetailV2betaProductInlineSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaProductInlineSource(typing.TypedDict, total=False): products: _list[GoogleCloudRetailV2betaProduct] @typing.type_check_only -class GoogleCloudRetailV2betaProductInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaProductInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2betaBigQuerySource gcsSource: GoogleCloudRetailV2betaGcsSource productInlineSource: GoogleCloudRetailV2betaProductInlineSource @typing.type_check_only -class GoogleCloudRetailV2betaProductLevelConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaProductLevelConfig(typing.TypedDict, total=False): ingestionProductType: str merchantCenterProductIdField: str @typing.type_check_only -class GoogleCloudRetailV2betaPromotion(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaPromotion(typing.TypedDict, total=False): promotionId: str @typing.type_check_only -class GoogleCloudRetailV2betaPurchaseTransaction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurchaseTransaction(typing.TypedDict, total=False): cost: float currencyCode: str id: str @@ -1612,91 +1412,73 @@ class GoogleCloudRetailV2betaPurchaseTransaction( tax: float @typing.type_check_only -class GoogleCloudRetailV2betaPurgeMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaPurgeMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaPurgeProductsMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeProductsMetadata(typing.TypedDict, total=False): createTime: str failureCount: str successCount: str updateTime: str @typing.type_check_only -class GoogleCloudRetailV2betaPurgeProductsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeProductsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudRetailV2betaPurgeProductsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeProductsResponse(typing.TypedDict, total=False): purgeCount: str purgeSample: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaPurgeUserEventsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeUserEventsRequest(typing.TypedDict, total=False): filter: str force: bool @typing.type_check_only -class GoogleCloudRetailV2betaPurgeUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaPurgeUserEventsResponse(typing.TypedDict, total=False): purgedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2betaRating(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaRating(typing.TypedDict, total=False): averageRating: float ratingCount: int ratingHistogram: _list[int] @typing.type_check_only class GoogleCloudRetailV2betaRejoinUserEventsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudRetailV2betaRejoinUserEventsRequest( - typing_extensions.TypedDict, total=False -): - userEventRejoinScope: typing_extensions.Literal[ +class GoogleCloudRetailV2betaRejoinUserEventsRequest(typing.TypedDict, total=False): + userEventRejoinScope: typing.Literal[ "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", "JOINED_EVENTS", "UNJOINED_EVENTS" ] @typing.type_check_only -class GoogleCloudRetailV2betaRejoinUserEventsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRejoinUserEventsResponse(typing.TypedDict, total=False): rejoinedUserEventsCount: str @typing.type_check_only class GoogleCloudRetailV2betaRemoveCatalogAttributeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str @typing.type_check_only -class GoogleCloudRetailV2betaRemoveControlRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRemoveControlRequest(typing.TypedDict, total=False): controlId: str @typing.type_check_only class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMissing: bool placeIds: _list[str] @@ -1705,17 +1487,17 @@ class GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest( @typing.type_check_only class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaRemoveLocalInventoriesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowMissing: bool placeIds: _list[str] @@ -1723,23 +1505,21 @@ class GoogleCloudRetailV2betaRemoveLocalInventoriesRequest( @typing.type_check_only class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): catalogAttribute: GoogleCloudRetailV2betaCatalogAttribute updateMask: str @typing.type_check_only -class GoogleCloudRetailV2betaResumeModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaResumeModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaRule(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaRule(typing.TypedDict, total=False): boostAction: GoogleCloudRetailV2betaRuleBoostAction condition: GoogleCloudRetailV2betaCondition doNotAssociateAction: GoogleCloudRetailV2betaRuleDoNotAssociateAction @@ -1754,82 +1534,68 @@ class GoogleCloudRetailV2betaRule(typing_extensions.TypedDict, total=False): twowaySynonymsAction: GoogleCloudRetailV2betaRuleTwowaySynonymsAction @typing.type_check_only -class GoogleCloudRetailV2betaRuleBoostAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaRuleBoostAction(typing.TypedDict, total=False): boost: float productsFilter: str @typing.type_check_only -class GoogleCloudRetailV2betaRuleDoNotAssociateAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRuleDoNotAssociateAction(typing.TypedDict, total=False): doNotAssociateTerms: _list[str] queryTerms: _list[str] terms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaRuleFilterAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaRuleFilterAction(typing.TypedDict, total=False): filter: str @typing.type_check_only -class GoogleCloudRetailV2betaRuleForceReturnFacetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRuleForceReturnFacetAction(typing.TypedDict, total=False): facetPositionAdjustments: _list[ GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment ] @typing.type_check_only class GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeName: str position: int @typing.type_check_only -class GoogleCloudRetailV2betaRuleIgnoreAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaRuleIgnoreAction(typing.TypedDict, total=False): ignoreTerms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaRuleOnewaySynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRuleOnewaySynonymsAction(typing.TypedDict, total=False): onewayTerms: _list[str] queryTerms: _list[str] synonyms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaRulePinAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaRulePinAction(typing.TypedDict, total=False): pinMap: dict[str, typing.Any] @typing.type_check_only -class GoogleCloudRetailV2betaRuleRedirectAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRuleRedirectAction(typing.TypedDict, total=False): redirectUri: str @typing.type_check_only -class GoogleCloudRetailV2betaRuleRemoveFacetAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRuleRemoveFacetAction(typing.TypedDict, total=False): attributeNames: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaRuleReplacementAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRuleReplacementAction(typing.TypedDict, total=False): queryTerms: _list[str] replacementTerm: str term: str @typing.type_check_only -class GoogleCloudRetailV2betaRuleTwowaySynonymsAction( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaRuleTwowaySynonymsAction(typing.TypedDict, total=False): synonyms: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaSafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class GoogleCloudRetailV2betaSafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", @@ -1837,10 +1603,8 @@ class GoogleCloudRetailV2betaSafetySetting(typing_extensions.TypedDict, total=Fa "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_CIVIC_INTEGRITY", ] - method: typing_extensions.Literal[ - "HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY" - ] - threshold: typing_extensions.Literal[ + method: typing.Literal["HARM_BLOCK_METHOD_UNSPECIFIED", "SEVERITY", "PROBABILITY"] + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -1850,7 +1614,7 @@ class GoogleCloudRetailV2betaSafetySetting(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleCloudRetailV2betaSearchRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaSearchRequest(typing.TypedDict, total=False): boostSpec: GoogleCloudRetailV2betaSearchRequestBoostSpec branch: str canonicalFilter: str @@ -1873,7 +1637,7 @@ class GoogleCloudRetailV2betaSearchRequest(typing_extensions.TypedDict, total=Fa query: str queryExpansionSpec: GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec regionCode: str - searchMode: typing_extensions.Literal[ + searchMode: typing.Literal[ "SEARCH_MODE_UNSPECIFIED", "PRODUCT_SEARCH_ONLY", "FACETED_SEARCH_ONLY" ] spellCorrectionSpec: GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec @@ -1884,9 +1648,7 @@ class GoogleCloudRetailV2betaSearchRequest(typing_extensions.TypedDict, total=Fa visitorId: str @typing.type_check_only -class GoogleCloudRetailV2betaSearchRequestBoostSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaSearchRequestBoostSpec(typing.TypedDict, total=False): conditionBoostSpecs: _list[ GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec ] @@ -1894,14 +1656,14 @@ class GoogleCloudRetailV2betaSearchRequestBoostSpec( @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boost: float condition: str @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestConversationalSearchSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversationId: str followupConversationRequested: bool @@ -1909,28 +1671,26 @@ class GoogleCloudRetailV2betaSearchRequestConversationalSearchSpec( @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): selectedAnswer: GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer textAnswer: str @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue productAttributeValues: _list[GoogleCloudRetailV2betaProductAttributeValue] @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleCloudRetailV2betaSearchRequestFacetSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaSearchRequestFacetSpec(typing.TypedDict, total=False): enableDynamicPosition: bool excludedFilterKeys: _list[str] facetKey: GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey @@ -1938,7 +1698,7 @@ class GoogleCloudRetailV2betaSearchRequestFacetSpec( @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseInsensitive: bool contains: _list[str] @@ -1952,32 +1712,32 @@ class GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey( @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestPersonalizationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] + mode: typing.Literal["MODE_UNSPECIFIED", "AUTO", "DISABLED"] @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] + condition: typing.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] + mode: typing.Literal["MODE_UNSPECIFIED", "SUGGESTION_ONLY", "AUTO"] @typing.type_check_only class GoogleCloudRetailV2betaSearchRequestTileNavigationSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appliedTiles: _list[GoogleCloudRetailV2betaTile] tileNavigationRequested: bool @typing.type_check_only -class GoogleCloudRetailV2betaSearchResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaSearchResponse(typing.TypedDict, total=False): appliedControls: _list[str] attributionToken: str conversationalSearchResult: ( @@ -1999,7 +1759,7 @@ class GoogleCloudRetailV2betaSearchResponse(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudRetailV2betaSearchResponseConversationalSearchResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalFilter: ( GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter @@ -2016,27 +1776,25 @@ class GoogleCloudRetailV2betaSearchResponseConversationalSearchResult( @typing.type_check_only class GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue @typing.type_check_only class GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue @typing.type_check_only -class GoogleCloudRetailV2betaSearchResponseFacet( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaSearchResponseFacet(typing.TypedDict, total=False): dynamicFacet: bool key: str values: _list[GoogleCloudRetailV2betaSearchResponseFacetFacetValue] @typing.type_check_only class GoogleCloudRetailV2betaSearchResponseFacetFacetValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): count: str interval: GoogleCloudRetailV2betaInterval @@ -2046,15 +1804,13 @@ class GoogleCloudRetailV2betaSearchResponseFacetFacetValue( @typing.type_check_only class GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedQuery: bool pinnedResultCount: str @typing.type_check_only -class GoogleCloudRetailV2betaSearchResponseSearchResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaSearchResponseSearchResult(typing.TypedDict, total=False): id: str matchingVariantCount: int matchingVariantFields: dict[str, typing.Any] @@ -2065,16 +1821,16 @@ class GoogleCloudRetailV2betaSearchResponseSearchResult( @typing.type_check_only class GoogleCloudRetailV2betaSearchResponseTileNavigationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tiles: _list[GoogleCloudRetailV2betaTile] @typing.type_check_only -class GoogleCloudRetailV2betaServingConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaServingConfig(typing.TypedDict, total=False): boostControlIds: _list[str] displayName: str diversityLevel: str - diversityType: typing_extensions.Literal[ + diversityType: typing.Literal[ "DIVERSITY_TYPE_UNSPECIFIED", "RULE_BASED_DIVERSITY", "DATA_DRIVEN_DIVERSITY" ] doNotAssociateControlIds: _list[str] @@ -2092,7 +1848,7 @@ class GoogleCloudRetailV2betaServingConfig(typing_extensions.TypedDict, total=Fa redirectControlIds: _list[str] replacementControlIds: _list[str] solutionTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "SOLUTION_TYPE_UNSPECIFIED", "SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", @@ -2101,67 +1857,53 @@ class GoogleCloudRetailV2betaServingConfig(typing_extensions.TypedDict, total=Fa twowaySynonymsControlIds: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaSetDefaultBranchRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaSetDefaultBranchRequest(typing.TypedDict, total=False): branchId: str force: bool note: str @typing.type_check_only -class GoogleCloudRetailV2betaSetInventoryMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaSetInventoryMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaSetInventoryRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaSetInventoryRequest(typing.TypedDict, total=False): allowMissing: bool inventory: GoogleCloudRetailV2betaProduct setMask: str setTime: str @typing.type_check_only -class GoogleCloudRetailV2betaSetInventoryResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaSetInventoryResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaStringList(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaStringList(typing.TypedDict, total=False): values: _list[str] @typing.type_check_only -class GoogleCloudRetailV2betaTile(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaTile(typing.TypedDict, total=False): productAttributeInterval: GoogleCloudRetailV2betaProductAttributeInterval productAttributeValue: GoogleCloudRetailV2betaProductAttributeValue representativeProductId: str @typing.type_check_only -class GoogleCloudRetailV2betaTuneModelMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaTuneModelMetadata(typing.TypedDict, total=False): model: str @typing.type_check_only -class GoogleCloudRetailV2betaTuneModelRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaTuneModelRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRetailV2betaTuneModelResponse( - typing_extensions.TypedDict, total=False -): ... +class GoogleCloudRetailV2betaTuneModelResponse(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudRetailV2betaUpdateGenerativeQuestionConfigRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): generativeQuestionConfig: GoogleCloudRetailV2betaGenerativeQuestionConfig updateMask: str @typing.type_check_only -class GoogleCloudRetailV2betaUserEvent(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaUserEvent(typing.TypedDict, total=False): attributes: dict[str, typing.Any] attributionToken: str cartId: str @@ -2186,41 +1928,35 @@ class GoogleCloudRetailV2betaUserEvent(typing_extensions.TypedDict, total=False) visitorId: str @typing.type_check_only -class GoogleCloudRetailV2betaUserEventImportSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaUserEventImportSummary(typing.TypedDict, total=False): joinedEventsCount: str unjoinedEventsCount: str @typing.type_check_only -class GoogleCloudRetailV2betaUserEventInlineSource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaUserEventInlineSource(typing.TypedDict, total=False): userEvents: _list[GoogleCloudRetailV2betaUserEvent] @typing.type_check_only -class GoogleCloudRetailV2betaUserEventInputConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRetailV2betaUserEventInputConfig(typing.TypedDict, total=False): bigQuerySource: GoogleCloudRetailV2betaBigQuerySource gcsSource: GoogleCloudRetailV2betaGcsSource userEventInlineSource: GoogleCloudRetailV2betaUserEventInlineSource @typing.type_check_only -class GoogleCloudRetailV2betaUserInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRetailV2betaUserInfo(typing.TypedDict, total=False): directUserRequest: bool ipAddress: str userAgent: str userId: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -2228,16 +1964,16 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeDate(typing_extensions.TypedDict, total=False): +class GoogleTypeDate(typing.TypedDict, total=False): day: int month: int year: int diff --git a/googleapiclient-stubs/_apis/run/v1/resources.pyi b/googleapiclient-stubs/_apis/run/v1/resources.pyi index 86b02fa5b..daa69ce93 100644 --- a/googleapiclient-stubs/_apis/run/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/run/v1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1/schemas.pyi index 5ec31467f..bc218b27f 100644 --- a/googleapiclient-stubs/_apis/run/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1/schemas.pyi @@ -1,67 +1,65 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Addressable(typing_extensions.TypedDict, total=False): +class Addressable(typing.TypedDict, total=False): url: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthorizedDomain(typing_extensions.TypedDict, total=False): +class AuthorizedDomain(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CSIVolumeSource(typing_extensions.TypedDict, total=False): +class CSIVolumeSource(typing.TypedDict, total=False): driver: str readOnly: bool volumeAttributes: dict[str, typing.Any] @typing.type_check_only -class CancelExecutionRequest(typing_extensions.TypedDict, total=False): ... +class CancelExecutionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ConfigMapEnvSource(typing_extensions.TypedDict, total=False): +class ConfigMapEnvSource(typing.TypedDict, total=False): localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class ConfigMapKeySelector(typing_extensions.TypedDict, total=False): +class ConfigMapKeySelector(typing.TypedDict, total=False): key: str localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class ConfigMapVolumeSource(typing_extensions.TypedDict, total=False): +class ConfigMapVolumeSource(typing.TypedDict, total=False): defaultMode: int items: _list[KeyToPath] name: str optional: bool @typing.type_check_only -class Configuration(typing_extensions.TypedDict, total=False): +class Configuration(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -69,18 +67,18 @@ class Configuration(typing_extensions.TypedDict, total=False): status: ConfigurationStatus @typing.type_check_only -class ConfigurationSpec(typing_extensions.TypedDict, total=False): +class ConfigurationSpec(typing.TypedDict, total=False): template: RevisionTemplate @typing.type_check_only -class ConfigurationStatus(typing_extensions.TypedDict, total=False): +class ConfigurationStatus(typing.TypedDict, total=False): conditions: _list[GoogleCloudRunV1Condition] latestCreatedRevisionName: str latestReadyRevisionName: str observedGeneration: int @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: _list[EnvVar] @@ -101,20 +99,20 @@ class Container(typing_extensions.TypedDict, total=False): workingDir: str @typing.type_check_only -class ContainerOverride(typing_extensions.TypedDict, total=False): +class ContainerOverride(typing.TypedDict, total=False): args: _list[str] clearArgs: bool env: _list[EnvVar] name: str @typing.type_check_only -class ContainerPort(typing_extensions.TypedDict, total=False): +class ContainerPort(typing.TypedDict, total=False): containerPort: int name: str protocol: str @typing.type_check_only -class DomainMapping(typing_extensions.TypedDict, total=False): +class DomainMapping(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -122,15 +120,13 @@ class DomainMapping(typing_extensions.TypedDict, total=False): status: DomainMappingStatus @typing.type_check_only -class DomainMappingSpec(typing_extensions.TypedDict, total=False): - certificateMode: typing_extensions.Literal[ - "CERTIFICATE_MODE_UNSPECIFIED", "NONE", "AUTOMATIC" - ] +class DomainMappingSpec(typing.TypedDict, total=False): + certificateMode: typing.Literal["CERTIFICATE_MODE_UNSPECIFIED", "NONE", "AUTOMATIC"] forceOverride: bool routeName: str @typing.type_check_only -class DomainMappingStatus(typing_extensions.TypedDict, total=False): +class DomainMappingStatus(typing.TypedDict, total=False): conditions: _list[GoogleCloudRunV1Condition] mappedRouteName: str observedGeneration: int @@ -138,36 +134,36 @@ class DomainMappingStatus(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EmptyDirVolumeSource(typing_extensions.TypedDict, total=False): +class EmptyDirVolumeSource(typing.TypedDict, total=False): medium: str sizeLimit: str @typing.type_check_only -class EnvFromSource(typing_extensions.TypedDict, total=False): +class EnvFromSource(typing.TypedDict, total=False): configMapRef: ConfigMapEnvSource prefix: str secretRef: SecretEnvSource @typing.type_check_only -class EnvVar(typing_extensions.TypedDict, total=False): +class EnvVar(typing.TypedDict, total=False): name: str value: str valueFrom: EnvVarSource @typing.type_check_only -class EnvVarSource(typing_extensions.TypedDict, total=False): +class EnvVarSource(typing.TypedDict, total=False): configMapKeyRef: ConfigMapKeySelector secretKeyRef: SecretKeySelector @typing.type_check_only -class ExecAction(typing_extensions.TypedDict, total=False): +class ExecAction(typing.TypedDict, total=False): command: _list[str] @typing.type_check_only -class Execution(typing_extensions.TypedDict, total=False): +class Execution(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -175,8 +171,8 @@ class Execution(typing_extensions.TypedDict, total=False): status: ExecutionStatus @typing.type_check_only -class ExecutionReference(typing_extensions.TypedDict, total=False): - completionStatus: typing_extensions.Literal[ +class ExecutionReference(typing.TypedDict, total=False): + completionStatus: typing.Literal[ "COMPLETION_STATUS_UNSPECIFIED", "EXECUTION_SUCCEEDED", "EXECUTION_FAILED", @@ -190,13 +186,13 @@ class ExecutionReference(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ExecutionSpec(typing_extensions.TypedDict, total=False): +class ExecutionSpec(typing.TypedDict, total=False): parallelism: int taskCount: int template: TaskTemplateSpec @typing.type_check_only -class ExecutionStatus(typing_extensions.TypedDict, total=False): +class ExecutionStatus(typing.TypedDict, total=False): cancelledCount: int completionTime: str conditions: _list[GoogleCloudRunV1Condition] @@ -209,24 +205,24 @@ class ExecutionStatus(typing_extensions.TypedDict, total=False): succeededCount: int @typing.type_check_only -class ExecutionTemplateSpec(typing_extensions.TypedDict, total=False): +class ExecutionTemplateSpec(typing.TypedDict, total=False): metadata: ObjectMeta spec: ExecutionSpec @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GRPCAction(typing_extensions.TypedDict, total=False): +class GRPCAction(typing.TypedDict, total=False): port: int service: str @typing.type_check_only -class GoogleCloudRunV1Condition(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV1Condition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str @@ -235,31 +231,25 @@ class GoogleCloudRunV1Condition(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ApprovalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ApprovalConfig(typing.TypedDict, total=False): approvalRequired: bool @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ApprovalResult( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ApprovalResult(typing.TypedDict, total=False): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ArtifactObjects( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ArtifactObjects(typing.TypedDict, total=False): location: str paths: _list[str] timing: GoogleDevtoolsCloudbuildV1TimeSpan @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Artifacts(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Artifacts(typing.TypedDict, total=False): genericArtifacts: _list[GoogleDevtoolsCloudbuildV1GenericArtifact] goModules: _list[GoogleDevtoolsCloudbuildV1GoModule] images: _list[str] @@ -270,7 +260,7 @@ class GoogleDevtoolsCloudbuildV1Artifacts(typing_extensions.TypedDict, total=Fal pythonPackages: _list[GoogleDevtoolsCloudbuildV1PythonPackage] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Build(typing.TypedDict, total=False): approval: GoogleDevtoolsCloudbuildV1BuildApproval artifacts: GoogleDevtoolsCloudbuildV1Artifacts availableSecrets: GoogleDevtoolsCloudbuildV1Secrets @@ -294,7 +284,7 @@ class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): source: GoogleDevtoolsCloudbuildV1Source sourceProvenance: GoogleDevtoolsCloudbuildV1SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -315,23 +305,21 @@ class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): warnings: _list[GoogleDevtoolsCloudbuildV1Warning] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildApproval(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuildApproval(typing.TypedDict, total=False): config: GoogleDevtoolsCloudbuildV1ApprovalConfig result: GoogleDevtoolsCloudbuildV1ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1BuildOperationMetadata(typing.TypedDict, total=False): build: GoogleDevtoolsCloudbuildV1Build @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuildOptions(typing.TypedDict, total=False): automapSubstitutions: bool - defaultLogsBucketBehavior: typing_extensions.Literal[ + defaultLogsBucketBehavior: typing.Literal[ "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", "REGIONAL_USER_OWNED_BUCKET", "LEGACY_BUCKET", @@ -340,10 +328,8 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= dynamicSubstitutions: bool enableStructuredLogging: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -351,7 +337,7 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", @@ -362,19 +348,19 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= ] pool: GoogleDevtoolsCloudbuildV1PoolOption pubsubTopic: str - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal[ + typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] ] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[GoogleDevtoolsCloudbuildV1Volume] workerPool: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -389,7 +375,7 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal results: _list[GoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -407,47 +393,41 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal waitFor: _list[str] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildStepResults( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1BuildStepResults(typing.TypedDict, total=False): results: dict[str, typing.Any] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuiltImage(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuiltImage(typing.TypedDict, total=False): artifactRegistryPackage: str digest: str name: str - ociMediaType: typing_extensions.Literal[ + ociMediaType: typing.Literal[ "OCI_MEDIA_TYPE_UNSPECIFIED", "IMAGE_MANIFEST", "IMAGE_INDEX" ] pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ConnectedRepository( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ConnectedRepository(typing.TypedDict, total=False): dir: str repository: str revision: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Dependency(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Dependency(typing.TypedDict, total=False): empty: bool genericArtifact: GoogleDevtoolsCloudbuildV1GenericArtifactDependency gitSource: GoogleDevtoolsCloudbuildV1GitSourceDependency @typing.type_check_only -class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig(typing.TypedDict, total=False): dir: str gitRepositoryLink: str revision: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1FailureInfo(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1FailureInfo(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -458,37 +438,33 @@ class GoogleDevtoolsCloudbuildV1FailureInfo(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1FileHashes(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1FileHashes(typing.TypedDict, total=False): fileHash: _list[GoogleDevtoolsCloudbuildV1Hash] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GenericArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1GenericArtifact(typing.TypedDict, total=False): folder: str registryPath: str @typing.type_check_only class GoogleDevtoolsCloudbuildV1GenericArtifactDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destPath: str resource: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitConfig(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1GitConfig(typing.TypedDict, total=False): http: GoogleDevtoolsCloudbuildV1HttpConfig @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitSource(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1GitSource(typing.TypedDict, total=False): dir: str revision: str url: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitSourceDependency( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1GitSourceDependency(typing.TypedDict, total=False): depth: str destPath: str recurseSubmodules: bool @@ -496,14 +472,12 @@ class GoogleDevtoolsCloudbuildV1GitSourceDependency( revision: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitSourceRepository( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1GitSourceRepository(typing.TypedDict, total=False): developerConnect: str url: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GoModule(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1GoModule(typing.TypedDict, total=False): modulePath: str moduleVersion: str repositoryLocation: str @@ -512,23 +486,23 @@ class GoogleDevtoolsCloudbuildV1GoModule(typing_extensions.TypedDict, total=Fals sourcePath: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class GoogleDevtoolsCloudbuildV1Hash(typing.TypedDict, total=False): + type: typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1HttpConfig(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1HttpConfig(typing.TypedDict, total=False): proxySecretVersionName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1InlineSecret(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1InlineSecret(typing.TypedDict, total=False): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1MavenArtifact(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1MavenArtifact(typing.TypedDict, total=False): artifactId: str deployFolder: str groupId: str @@ -537,27 +511,27 @@ class GoogleDevtoolsCloudbuildV1MavenArtifact(typing_extensions.TypedDict, total version: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1NpmPackage(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1NpmPackage(typing.TypedDict, total=False): packagePath: str repository: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Oci(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Oci(typing.TypedDict, total=False): file: str registryPath: str tags: _list[str] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1PoolOption(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1PoolOption(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1PythonPackage(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1PythonPackage(typing.TypedDict, total=False): paths: _list[str] repository: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1RepoSource(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -568,7 +542,7 @@ class GoogleDevtoolsCloudbuildV1RepoSource(typing_extensions.TypedDict, total=Fa tagName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: GoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] @@ -583,24 +557,22 @@ class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False pythonPackages: _list[GoogleDevtoolsCloudbuildV1UploadedPythonPackage] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Secret(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1SecretManagerSecret( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1SecretManagerSecret(typing.TypedDict, total=False): env: str versionName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Secrets(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Secrets(typing.TypedDict, total=False): inline: _list[GoogleDevtoolsCloudbuildV1InlineSecret] secretManager: _list[GoogleDevtoolsCloudbuildV1SecretManagerSecret] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Source(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Source(typing.TypedDict, total=False): connectedRepository: GoogleDevtoolsCloudbuildV1ConnectedRepository developerConnectConfig: GoogleDevtoolsCloudbuildV1DeveloperConnectConfig gitSource: GoogleDevtoolsCloudbuildV1GitSource @@ -609,9 +581,7 @@ class GoogleDevtoolsCloudbuildV1Source(typing_extensions.TypedDict, total=False) storageSourceManifest: GoogleDevtoolsCloudbuildV1StorageSourceManifest @typing.type_check_only -class GoogleDevtoolsCloudbuildV1SourceProvenance( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1SourceProvenance(typing.TypedDict, total=False): fileHashes: dict[str, typing.Any] resolvedConnectedRepository: GoogleDevtoolsCloudbuildV1ConnectedRepository resolvedGitSource: GoogleDevtoolsCloudbuildV1GitSource @@ -620,37 +590,31 @@ class GoogleDevtoolsCloudbuildV1SourceProvenance( resolvedStorageSourceManifest: GoogleDevtoolsCloudbuildV1StorageSourceManifest @typing.type_check_only -class GoogleDevtoolsCloudbuildV1StepResult(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1StepResult(typing.TypedDict, total=False): attestationContent: str attestationType: str name: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1StorageSource(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str - sourceFetcher: typing_extensions.Literal[ - "SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER" - ] + sourceFetcher: typing.Literal["SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER"] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1StorageSourceManifest( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1StorageSourceManifest(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1TimeSpan(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact(typing.TypedDict, total=False): artifactFingerprint: GoogleDevtoolsCloudbuildV1FileHashes artifactRegistryPackage: str fileHashes: dict[str, typing.Any] @@ -658,61 +622,51 @@ class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact( uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedGoModule( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedGoModule(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedNpmPackage( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedNpmPackage(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedPythonPackage( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedPythonPackage(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Volume(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Warning(typing_extensions.TypedDict, total=False): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] +class GoogleDevtoolsCloudbuildV1Warning(typing.TypedDict, total=False): + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -720,17 +674,17 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleLongrunningWaitOperationRequest(typing_extensions.TypedDict, total=False): +class GoogleLongrunningWaitOperationRequest(typing.TypedDict, total=False): timeout: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class HTTPGetAction(typing_extensions.TypedDict, total=False): +class HTTPGetAction(typing.TypedDict, total=False): host: str httpHeaders: _list[HTTPHeader] path: str @@ -738,12 +692,12 @@ class HTTPGetAction(typing_extensions.TypedDict, total=False): scheme: str @typing.type_check_only -class HTTPHeader(typing_extensions.TypedDict, total=False): +class HTTPHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -751,7 +705,7 @@ class Instance(typing_extensions.TypedDict, total=False): status: InstanceStatus @typing.type_check_only -class InstanceSpec(typing_extensions.TypedDict, total=False): +class InstanceSpec(typing.TypedDict, total=False): containers: _list[Container] nodeSelector: dict[str, typing.Any] restartPolicy: str @@ -759,20 +713,20 @@ class InstanceSpec(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class InstanceSplit(typing_extensions.TypedDict, total=False): +class InstanceSplit(typing.TypedDict, total=False): latestRevision: bool percent: int revisionName: str @typing.type_check_only -class InstanceStatus(typing_extensions.TypedDict, total=False): +class InstanceStatus(typing.TypedDict, total=False): conditions: _list[GoogleCloudRunV1Condition] logUri: str observedGeneration: int urls: _list[str] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -780,31 +734,31 @@ class Job(typing_extensions.TypedDict, total=False): status: JobStatus @typing.type_check_only -class JobSpec(typing_extensions.TypedDict, total=False): +class JobSpec(typing.TypedDict, total=False): runExecutionToken: str startExecutionToken: str template: ExecutionTemplateSpec @typing.type_check_only -class JobStatus(typing_extensions.TypedDict, total=False): +class JobStatus(typing.TypedDict, total=False): conditions: _list[GoogleCloudRunV1Condition] executionCount: int latestCreatedExecution: ExecutionReference observedGeneration: int @typing.type_check_only -class KeyToPath(typing_extensions.TypedDict, total=False): +class KeyToPath(typing.TypedDict, total=False): key: str mode: int path: str @typing.type_check_only -class ListAuthorizedDomainsResponse(typing_extensions.TypedDict, total=False): +class ListAuthorizedDomainsResponse(typing.TypedDict, total=False): domains: _list[AuthorizedDomain] nextPageToken: str @typing.type_check_only -class ListConfigurationsResponse(typing_extensions.TypedDict, total=False): +class ListConfigurationsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Configuration] kind: str @@ -812,7 +766,7 @@ class ListConfigurationsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListDomainMappingsResponse(typing_extensions.TypedDict, total=False): +class ListDomainMappingsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[DomainMapping] kind: str @@ -820,7 +774,7 @@ class ListDomainMappingsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListExecutionsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Execution] kind: str @@ -828,7 +782,7 @@ class ListExecutionsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Instance] kind: str @@ -836,7 +790,7 @@ class ListInstancesResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Job] kind: str @@ -844,11 +798,11 @@ class ListJobsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str -AlternativeListMeta = typing_extensions.TypedDict( +AlternativeListMeta = typing.TypedDict( "AlternativeListMeta", { "continue": str, @@ -862,7 +816,7 @@ AlternativeListMeta = typing_extensions.TypedDict( class ListMeta(AlternativeListMeta): ... @typing.type_check_only -class ListRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListRevisionsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Revision] kind: str @@ -870,7 +824,7 @@ class ListRevisionsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListRoutesResponse(typing_extensions.TypedDict, total=False): +class ListRoutesResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Route] kind: str @@ -878,7 +832,7 @@ class ListRoutesResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Service] kind: str @@ -886,7 +840,7 @@ class ListServicesResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListTasksResponse(typing_extensions.TypedDict, total=False): +class ListTasksResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Task] kind: str @@ -894,7 +848,7 @@ class ListTasksResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): +class ListWorkerPoolsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[WorkerPool] kind: str @@ -902,11 +856,11 @@ class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): unreachable: _list[str] @typing.type_check_only -class LocalObjectReference(typing_extensions.TypedDict, total=False): +class LocalObjectReference(typing.TypedDict, total=False): name: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -914,13 +868,13 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class NFSVolumeSource(typing_extensions.TypedDict, total=False): +class NFSVolumeSource(typing.TypedDict, total=False): path: str readOnly: bool server: str @typing.type_check_only -class ObjectMeta(typing_extensions.TypedDict, total=False): +class ObjectMeta(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clusterName: str creationTimestamp: str @@ -938,13 +892,13 @@ class ObjectMeta(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class Overrides(typing_extensions.TypedDict, total=False): +class Overrides(typing.TypedDict, total=False): containerOverrides: _list[ContainerOverride] taskCount: int timeoutSeconds: int @typing.type_check_only -class OwnerReference(typing_extensions.TypedDict, total=False): +class OwnerReference(typing.TypedDict, total=False): apiVersion: str blockOwnerDeletion: bool controller: bool @@ -953,14 +907,14 @@ class OwnerReference(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Probe(typing_extensions.TypedDict, total=False): +class Probe(typing.TypedDict, total=False): exec: ExecAction failureThreshold: int grpc: GRPCAction @@ -972,18 +926,18 @@ class Probe(typing_extensions.TypedDict, total=False): timeoutSeconds: int @typing.type_check_only -class ResourceRecord(typing_extensions.TypedDict, total=False): +class ResourceRecord(typing.TypedDict, total=False): name: str rrdata: str - type: typing_extensions.Literal["RECORD_TYPE_UNSPECIFIED", "A", "AAAA", "CNAME"] + type: typing.Literal["RECORD_TYPE_UNSPECIFIED", "A", "AAAA", "CNAME"] @typing.type_check_only -class ResourceRequirements(typing_extensions.TypedDict, total=False): +class ResourceRequirements(typing.TypedDict, total=False): limits: dict[str, typing.Any] requests: dict[str, typing.Any] @typing.type_check_only -class Revision(typing_extensions.TypedDict, total=False): +class Revision(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -991,7 +945,7 @@ class Revision(typing_extensions.TypedDict, total=False): status: RevisionStatus @typing.type_check_only -class RevisionSpec(typing_extensions.TypedDict, total=False): +class RevisionSpec(typing.TypedDict, total=False): containerConcurrency: int containers: _list[Container] enableServiceLinks: bool @@ -1003,7 +957,7 @@ class RevisionSpec(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class RevisionStatus(typing_extensions.TypedDict, total=False): +class RevisionStatus(typing.TypedDict, total=False): conditions: _list[GoogleCloudRunV1Condition] desiredReplicas: int imageDigest: str @@ -1012,12 +966,12 @@ class RevisionStatus(typing_extensions.TypedDict, total=False): serviceName: str @typing.type_check_only -class RevisionTemplate(typing_extensions.TypedDict, total=False): +class RevisionTemplate(typing.TypedDict, total=False): metadata: ObjectMeta spec: RevisionSpec @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -1025,11 +979,11 @@ class Route(typing_extensions.TypedDict, total=False): status: RouteStatus @typing.type_check_only -class RouteSpec(typing_extensions.TypedDict, total=False): +class RouteSpec(typing.TypedDict, total=False): traffic: _list[TrafficTarget] @typing.type_check_only -class RouteStatus(typing_extensions.TypedDict, total=False): +class RouteStatus(typing.TypedDict, total=False): address: Addressable conditions: _list[GoogleCloudRunV1Condition] observedGeneration: int @@ -1037,35 +991,35 @@ class RouteStatus(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class RunJobRequest(typing_extensions.TypedDict, total=False): +class RunJobRequest(typing.TypedDict, total=False): overrides: Overrides @typing.type_check_only -class SecretEnvSource(typing_extensions.TypedDict, total=False): +class SecretEnvSource(typing.TypedDict, total=False): localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class SecretKeySelector(typing_extensions.TypedDict, total=False): +class SecretKeySelector(typing.TypedDict, total=False): key: str localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class SecretVolumeSource(typing_extensions.TypedDict, total=False): +class SecretVolumeSource(typing.TypedDict, total=False): defaultMode: int items: _list[KeyToPath] optional: bool secretName: str @typing.type_check_only -class SecurityContext(typing_extensions.TypedDict, total=False): +class SecurityContext(typing.TypedDict, total=False): runAsUser: int @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -1073,12 +1027,12 @@ class Service(typing_extensions.TypedDict, total=False): status: ServiceStatus @typing.type_check_only -class ServiceSpec(typing_extensions.TypedDict, total=False): +class ServiceSpec(typing.TypedDict, total=False): template: RevisionTemplate traffic: _list[TrafficTarget] @typing.type_check_only -class ServiceStatus(typing_extensions.TypedDict, total=False): +class ServiceStatus(typing.TypedDict, total=False): address: Addressable conditions: _list[GoogleCloudRunV1Condition] latestCreatedRevisionName: str @@ -1088,16 +1042,16 @@ class ServiceStatus(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StartInstanceRequest(typing_extensions.TypedDict, total=False): +class StartInstanceRequest(typing.TypedDict, total=False): dryRun: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: StatusDetails message: str @@ -1106,13 +1060,13 @@ class Status(typing_extensions.TypedDict, total=False): status: str @typing.type_check_only -class StatusCause(typing_extensions.TypedDict, total=False): +class StatusCause(typing.TypedDict, total=False): field: str message: str reason: str @typing.type_check_only -class StatusDetails(typing_extensions.TypedDict, total=False): +class StatusDetails(typing.TypedDict, total=False): causes: _list[StatusCause] group: str kind: str @@ -1121,16 +1075,16 @@ class StatusDetails(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class StopInstanceRequest(typing_extensions.TypedDict, total=False): +class StopInstanceRequest(typing.TypedDict, total=False): dryRun: str @typing.type_check_only -class TCPSocketAction(typing_extensions.TypedDict, total=False): +class TCPSocketAction(typing.TypedDict, total=False): host: str port: int @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -1138,13 +1092,13 @@ class Task(typing_extensions.TypedDict, total=False): status: TaskStatus @typing.type_check_only -class TaskAttemptResult(typing_extensions.TypedDict, total=False): +class TaskAttemptResult(typing.TypedDict, total=False): exitCode: int status: GoogleRpcStatus termSignal: int @typing.type_check_only -class TaskSpec(typing_extensions.TypedDict, total=False): +class TaskSpec(typing.TypedDict, total=False): containers: _list[Container] maxRetries: int nodeSelector: dict[str, typing.Any] @@ -1153,7 +1107,7 @@ class TaskSpec(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class TaskStatus(typing_extensions.TypedDict, total=False): +class TaskStatus(typing.TypedDict, total=False): completionTime: str conditions: _list[GoogleCloudRunV1Condition] index: int @@ -1164,19 +1118,19 @@ class TaskStatus(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class TaskTemplateSpec(typing_extensions.TypedDict, total=False): +class TaskTemplateSpec(typing.TypedDict, total=False): spec: TaskSpec @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TrafficTarget(typing_extensions.TypedDict, total=False): +class TrafficTarget(typing.TypedDict, total=False): configurationName: str latestRevision: bool percent: int @@ -1185,7 +1139,7 @@ class TrafficTarget(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): configMap: ConfigMapVolumeSource csi: CSIVolumeSource emptyDir: EmptyDirVolumeSource @@ -1194,14 +1148,14 @@ class Volume(typing_extensions.TypedDict, total=False): secret: SecretVolumeSource @typing.type_check_only -class VolumeMount(typing_extensions.TypedDict, total=False): +class VolumeMount(typing.TypedDict, total=False): mountPath: str name: str readOnly: bool subPath: str @typing.type_check_only -class WorkerPool(typing_extensions.TypedDict, total=False): +class WorkerPool(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -1209,12 +1163,12 @@ class WorkerPool(typing_extensions.TypedDict, total=False): status: WorkerPoolStatus @typing.type_check_only -class WorkerPoolSpec(typing_extensions.TypedDict, total=False): +class WorkerPoolSpec(typing.TypedDict, total=False): instanceSplits: _list[InstanceSplit] template: RevisionTemplate @typing.type_check_only -class WorkerPoolStatus(typing_extensions.TypedDict, total=False): +class WorkerPoolStatus(typing.TypedDict, total=False): conditions: _list[GoogleCloudRunV1Condition] instanceSplits: _list[InstanceSplit] latestCreatedRevisionName: str diff --git a/googleapiclient-stubs/_apis/run/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/run/v1alpha1/resources.pyi index 26914abdc..d72f12fac 100644 --- a/googleapiclient-stubs/_apis/run/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/run/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1alpha1/schemas.pyi index c874db99a..a52fd6d74 100644 --- a/googleapiclient-stubs/_apis/run/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1alpha1/schemas.pyi @@ -1,31 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ConfigMapEnvSource(typing_extensions.TypedDict, total=False): +class ConfigMapEnvSource(typing.TypedDict, total=False): localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class ConfigMapKeySelector(typing_extensions.TypedDict, total=False): +class ConfigMapKeySelector(typing.TypedDict, total=False): key: str localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class ConfigMapVolumeSource(typing_extensions.TypedDict, total=False): +class ConfigMapVolumeSource(typing.TypedDict, total=False): defaultMode: int items: _list[KeyToPath] name: str optional: bool @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: _list[EnvVar] @@ -45,65 +43,65 @@ class Container(typing_extensions.TypedDict, total=False): workingDir: str @typing.type_check_only -class ContainerPort(typing_extensions.TypedDict, total=False): +class ContainerPort(typing.TypedDict, total=False): containerPort: int name: str protocol: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvFromSource(typing_extensions.TypedDict, total=False): +class EnvFromSource(typing.TypedDict, total=False): configMapRef: ConfigMapEnvSource prefix: str secretRef: SecretEnvSource @typing.type_check_only -class EnvVar(typing_extensions.TypedDict, total=False): +class EnvVar(typing.TypedDict, total=False): name: str value: str valueFrom: EnvVarSource @typing.type_check_only -class EnvVarSource(typing_extensions.TypedDict, total=False): +class EnvVarSource(typing.TypedDict, total=False): configMapKeyRef: ConfigMapKeySelector secretKeyRef: SecretKeySelector @typing.type_check_only -class ExecAction(typing_extensions.TypedDict, total=False): +class ExecAction(typing.TypedDict, total=False): command: _list[str] @typing.type_check_only -class GRPCAction(typing_extensions.TypedDict, total=False): +class GRPCAction(typing.TypedDict, total=False): port: int service: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class HTTPGetAction(typing_extensions.TypedDict, total=False): +class HTTPGetAction(typing.TypedDict, total=False): host: str httpHeaders: _list[HTTPHeader] path: str scheme: str @typing.type_check_only -class HTTPHeader(typing_extensions.TypedDict, total=False): +class HTTPHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class InstanceAttemptResult(typing_extensions.TypedDict, total=False): +class InstanceAttemptResult(typing.TypedDict, total=False): exitCode: int status: GoogleRpcStatus @typing.type_check_only -class InstanceSpec(typing_extensions.TypedDict, total=False): +class InstanceSpec(typing.TypedDict, total=False): activeDeadlineSeconds: str containers: _list[Container] restartPolicy: str @@ -112,7 +110,7 @@ class InstanceSpec(typing_extensions.TypedDict, total=False): volumes: _list[Volume] @typing.type_check_only -class InstanceStatus(typing_extensions.TypedDict, total=False): +class InstanceStatus(typing.TypedDict, total=False): completionTime: str failed: int index: int @@ -123,11 +121,11 @@ class InstanceStatus(typing_extensions.TypedDict, total=False): succeeded: int @typing.type_check_only -class InstanceTemplateSpec(typing_extensions.TypedDict, total=False): +class InstanceTemplateSpec(typing.TypedDict, total=False): spec: InstanceSpec @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta @@ -135,7 +133,7 @@ class Job(typing_extensions.TypedDict, total=False): status: JobStatus @typing.type_check_only -class JobCondition(typing_extensions.TypedDict, total=False): +class JobCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str @@ -144,7 +142,7 @@ class JobCondition(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class JobSpec(typing_extensions.TypedDict, total=False): +class JobSpec(typing.TypedDict, total=False): activeDeadlineSeconds: str backoffLimit: int completions: int @@ -153,7 +151,7 @@ class JobSpec(typing_extensions.TypedDict, total=False): ttlSecondsAfterFinished: int @typing.type_check_only -class JobStatus(typing_extensions.TypedDict, total=False): +class JobStatus(typing.TypedDict, total=False): active: int completionTime: str conditions: _list[JobCondition] @@ -165,13 +163,13 @@ class JobStatus(typing_extensions.TypedDict, total=False): succeeded: int @typing.type_check_only -class KeyToPath(typing_extensions.TypedDict, total=False): +class KeyToPath(typing.TypedDict, total=False): key: str mode: int path: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[Job] kind: str @@ -179,7 +177,7 @@ class ListJobsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] -AlternativeListMeta = typing_extensions.TypedDict( +AlternativeListMeta = typing.TypedDict( "AlternativeListMeta", { "continue": str, @@ -193,11 +191,11 @@ AlternativeListMeta = typing_extensions.TypedDict( class ListMeta(AlternativeListMeta): ... @typing.type_check_only -class LocalObjectReference(typing_extensions.TypedDict, total=False): +class LocalObjectReference(typing.TypedDict, total=False): name: str @typing.type_check_only -class ObjectMeta(typing_extensions.TypedDict, total=False): +class ObjectMeta(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clusterName: str creationTimestamp: str @@ -215,7 +213,7 @@ class ObjectMeta(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class OwnerReference(typing_extensions.TypedDict, total=False): +class OwnerReference(typing.TypedDict, total=False): apiVersion: str blockOwnerDeletion: bool controller: bool @@ -224,7 +222,7 @@ class OwnerReference(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class Probe(typing_extensions.TypedDict, total=False): +class Probe(typing.TypedDict, total=False): exec: ExecAction failureThreshold: int grpc: GRPCAction @@ -236,47 +234,47 @@ class Probe(typing_extensions.TypedDict, total=False): timeoutSeconds: int @typing.type_check_only -class ResourceRequirements(typing_extensions.TypedDict, total=False): +class ResourceRequirements(typing.TypedDict, total=False): limits: dict[str, typing.Any] requests: dict[str, typing.Any] @typing.type_check_only -class SecretEnvSource(typing_extensions.TypedDict, total=False): +class SecretEnvSource(typing.TypedDict, total=False): localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class SecretKeySelector(typing_extensions.TypedDict, total=False): +class SecretKeySelector(typing.TypedDict, total=False): key: str localObjectReference: LocalObjectReference name: str optional: bool @typing.type_check_only -class SecretVolumeSource(typing_extensions.TypedDict, total=False): +class SecretVolumeSource(typing.TypedDict, total=False): defaultMode: int items: _list[KeyToPath] optional: bool secretName: str @typing.type_check_only -class SecurityContext(typing_extensions.TypedDict, total=False): +class SecurityContext(typing.TypedDict, total=False): runAsUser: int @typing.type_check_only -class TCPSocketAction(typing_extensions.TypedDict, total=False): +class TCPSocketAction(typing.TypedDict, total=False): host: str port: int @typing.type_check_only -class Volume(typing_extensions.TypedDict, total=False): +class Volume(typing.TypedDict, total=False): configMap: ConfigMapVolumeSource name: str secret: SecretVolumeSource @typing.type_check_only -class VolumeMount(typing_extensions.TypedDict, total=False): +class VolumeMount(typing.TypedDict, total=False): mountPath: str name: str readOnly: bool diff --git a/googleapiclient-stubs/_apis/run/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/run/v1beta1/resources.pyi index 0cce3c880..b0c643ba1 100644 --- a/googleapiclient-stubs/_apis/run/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/run/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1beta1/schemas.pyi index e63a85bea..a71c9e201 100644 --- a/googleapiclient-stubs/_apis/run/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1beta1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CustomResourceColumnDefinition(typing_extensions.TypedDict, total=False): +class CustomResourceColumnDefinition(typing.TypedDict, total=False): description: str format: str jsonPath: str @@ -14,14 +12,14 @@ class CustomResourceColumnDefinition(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class CustomResourceDefinition(typing_extensions.TypedDict, total=False): +class CustomResourceDefinition(typing.TypedDict, total=False): apiVersion: str kind: str metadata: ObjectMeta spec: CustomResourceDefinitionSpec @typing.type_check_only -class CustomResourceDefinitionNames(typing_extensions.TypedDict, total=False): +class CustomResourceDefinitionNames(typing.TypedDict, total=False): categories: _list[str] kind: str listKind: str @@ -30,7 +28,7 @@ class CustomResourceDefinitionNames(typing_extensions.TypedDict, total=False): singular: str @typing.type_check_only -class CustomResourceDefinitionSpec(typing_extensions.TypedDict, total=False): +class CustomResourceDefinitionSpec(typing.TypedDict, total=False): additionalPrinterColumns: _list[CustomResourceColumnDefinition] group: str names: CustomResourceDefinitionNames @@ -41,39 +39,39 @@ class CustomResourceDefinitionSpec(typing_extensions.TypedDict, total=False): versions: _list[CustomResourceDefinitionVersion] @typing.type_check_only -class CustomResourceDefinitionVersion(typing_extensions.TypedDict, total=False): +class CustomResourceDefinitionVersion(typing.TypedDict, total=False): name: str served: bool storage: bool @typing.type_check_only -class CustomResourceSubresourceScale(typing_extensions.TypedDict, total=False): +class CustomResourceSubresourceScale(typing.TypedDict, total=False): labelSelectorPath: str specReplicasPath: str statusReplicasPath: str @typing.type_check_only -class CustomResourceSubresourceStatus(typing_extensions.TypedDict, total=False): ... +class CustomResourceSubresourceStatus(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomResourceSubresources(typing_extensions.TypedDict, total=False): +class CustomResourceSubresources(typing.TypedDict, total=False): scale: CustomResourceSubresourceScale status: CustomResourceSubresourceStatus @typing.type_check_only -class CustomResourceValidation(typing_extensions.TypedDict, total=False): +class CustomResourceValidation(typing.TypedDict, total=False): openAPIV3Schema: JSONSchemaProps @typing.type_check_only -class ExternalDocumentation(typing_extensions.TypedDict, total=False): +class ExternalDocumentation(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class JSON(typing_extensions.TypedDict, total=False): +class JSON(typing.TypedDict, total=False): raw: str -AlternativeJSONSchemaProps = typing_extensions.TypedDict( +AlternativeJSONSchemaProps = typing.TypedDict( "AlternativeJSONSchemaProps", { "additionalItems": JSONSchemaPropsOrBool, @@ -120,29 +118,29 @@ AlternativeJSONSchemaProps = typing_extensions.TypedDict( class JSONSchemaProps(AlternativeJSONSchemaProps): ... @typing.type_check_only -class JSONSchemaPropsOrArray(typing_extensions.TypedDict, total=False): +class JSONSchemaPropsOrArray(typing.TypedDict, total=False): jsonSchemas: _list[JSONSchemaProps] schema: JSONSchemaProps @typing.type_check_only -class JSONSchemaPropsOrBool(typing_extensions.TypedDict, total=False): +class JSONSchemaPropsOrBool(typing.TypedDict, total=False): allows: bool schema: JSONSchemaProps @typing.type_check_only -class JSONSchemaPropsOrStringArray(typing_extensions.TypedDict, total=False): +class JSONSchemaPropsOrStringArray(typing.TypedDict, total=False): property: _list[str] schema: JSONSchemaProps @typing.type_check_only -class ListCustomResourceDefinitionsResponse(typing_extensions.TypedDict, total=False): +class ListCustomResourceDefinitionsResponse(typing.TypedDict, total=False): apiVersion: str items: _list[CustomResourceDefinition] kind: str metadata: ListMeta unreachable: _list[str] -AlternativeListMeta = typing_extensions.TypedDict( +AlternativeListMeta = typing.TypedDict( "AlternativeListMeta", { "continue": str, @@ -156,7 +154,7 @@ AlternativeListMeta = typing_extensions.TypedDict( class ListMeta(AlternativeListMeta): ... @typing.type_check_only -class ObjectMeta(typing_extensions.TypedDict, total=False): +class ObjectMeta(typing.TypedDict, total=False): annotations: dict[str, typing.Any] clusterName: str creationTimestamp: str @@ -174,7 +172,7 @@ class ObjectMeta(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class OwnerReference(typing_extensions.TypedDict, total=False): +class OwnerReference(typing.TypedDict, total=False): apiVersion: str blockOwnerDeletion: bool controller: bool diff --git a/googleapiclient-stubs/_apis/run/v2/resources.pyi b/googleapiclient-stubs/_apis/run/v2/resources.pyi index 4a4ea28fc..0546075a7 100644 --- a/googleapiclient-stubs/_apis/run/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -375,6 +374,16 @@ class CloudRunResource(googleapiclient.discovery.Resource): ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def revisions(self) -> RevisionsResource: ... + @typing.type_check_only + class SourceUploadsResource(googleapiclient.discovery.Resource): + def upload( + self, + *, + parent: str, + body: GoogleCloudRunV2UploadSourceRequest, + **kwargs: typing.Any, + ) -> GoogleCloudRunV2UploadSourceResponseHttpRequest: ... + @typing.type_check_only class WorkerPoolsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -494,6 +503,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): def jobs(self) -> JobsResource: ... def operations(self) -> OperationsResource: ... def services(self) -> ServicesResource: ... + def sourceUploads(self) -> SourceUploadsResource: ... def workerPools(self) -> WorkerPoolsResource: ... def locations(self) -> LocationsResource: ... @@ -656,6 +666,14 @@ class GoogleCloudRunV2TaskHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleCloudRunV2Task: ... +@typing.type_check_only +class GoogleCloudRunV2UploadSourceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRunV2UploadSourceResponse: ... + @typing.type_check_only class GoogleCloudRunV2WorkerPoolHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/run/v2/schemas.pyi b/googleapiclient-stubs/_apis/run/v2/schemas.pyi index 86c05b2df..08f017fa2 100644 --- a/googleapiclient-stubs/_apis/run/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v2/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudRunV2BinaryAuthorization(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2BinaryAuthorization(typing.TypedDict, total=False): breakglassJustification: str policy: str useDefault: bool @typing.type_check_only -class GoogleCloudRunV2BuildConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2BuildConfig(typing.TypedDict, total=False): baseImage: str enableAutomaticUpdates: bool environmentVariables: dict[str, typing.Any] @@ -23,12 +21,12 @@ class GoogleCloudRunV2BuildConfig(typing_extensions.TypedDict, total=False): workerPool: str @typing.type_check_only -class GoogleCloudRunV2BuildInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2BuildInfo(typing.TypedDict, total=False): functionTarget: str sourceLocation: str @typing.type_check_only -class GoogleCloudRunV2BuildpacksBuild(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2BuildpacksBuild(typing.TypedDict, total=False): baseImage: str cacheImageUri: str enableAutomaticUpdates: bool @@ -38,23 +36,23 @@ class GoogleCloudRunV2BuildpacksBuild(typing_extensions.TypedDict, total=False): runtime: str @typing.type_check_only -class GoogleCloudRunV2CancelExecutionRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2CancelExecutionRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class GoogleCloudRunV2CloudSqlInstance(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2CloudSqlInstance(typing.TypedDict, total=False): instances: _list[str] @typing.type_check_only -class GoogleCloudRunV2CloudStorageSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2CloudStorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): - executionReason: typing_extensions.Literal[ +class GoogleCloudRunV2Condition(typing.TypedDict, total=False): + executionReason: typing.Literal[ "EXECUTION_REASON_UNDEFINED", "JOB_STATUS_SERVICE_POLLING_ERROR", "NON_ZERO_EXIT_CODE", @@ -63,9 +61,16 @@ class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): "DELETED", "DELAYED_START_PENDING", ] + instanceReason: typing.Literal[ + "INSTANCE_REASON_UNSPECIFIED", + "INSTANCE_DELETED", + "INSTANCE_STOPPED", + "INSTANCE_STOPPING", + "INSTANCE_NON_ZERO_EXIT_CODE", + ] lastTransitionTime: str message: str - reason: typing_extensions.Literal[ + reason: typing.Literal[ "COMMON_REASON_UNDEFINED", "UNKNOWN", "REVISION_FAILED", @@ -83,7 +88,7 @@ class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): "INTERNAL", "VPC_NETWORK_NOT_FOUND", ] - revisionReason: typing_extensions.Literal[ + revisionReason: typing.Literal[ "REVISION_REASON_UNDEFINED", "PENDING", "RESERVE", @@ -98,10 +103,8 @@ class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): "HEALTH_CHECK_SKIPPED", "MIN_INSTANCES_WARMING", ] - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO" - ] - state: typing_extensions.Literal[ + severity: typing.Literal["SEVERITY_UNSPECIFIED", "ERROR", "WARNING", "INFO"] + state: typing.Literal[ "STATE_UNSPECIFIED", "CONDITION_PENDING", "CONDITION_RECONCILING", @@ -111,7 +114,7 @@ class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class GoogleCloudRunV2Container(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Container(typing.TypedDict, total=False): args: _list[str] baseImageUri: str buildInfo: GoogleCloudRunV2BuildInfo @@ -131,42 +134,42 @@ class GoogleCloudRunV2Container(typing_extensions.TypedDict, total=False): workingDir: str @typing.type_check_only -class GoogleCloudRunV2ContainerOverride(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ContainerOverride(typing.TypedDict, total=False): args: _list[str] clearArgs: bool env: _list[GoogleCloudRunV2EnvVar] name: str @typing.type_check_only -class GoogleCloudRunV2ContainerPort(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ContainerPort(typing.TypedDict, total=False): containerPort: int name: str @typing.type_check_only -class GoogleCloudRunV2ContainerStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ContainerStatus(typing.TypedDict, total=False): imageDigest: str name: str @typing.type_check_only -class GoogleCloudRunV2DockerBuild(typing_extensions.TypedDict, total=False): ... +class GoogleCloudRunV2DockerBuild(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudRunV2EmptyDirVolumeSource(typing_extensions.TypedDict, total=False): - medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "MEMORY", "DISK"] +class GoogleCloudRunV2EmptyDirVolumeSource(typing.TypedDict, total=False): + medium: typing.Literal["MEDIUM_UNSPECIFIED", "MEMORY", "DISK"] sizeLimit: str @typing.type_check_only -class GoogleCloudRunV2EnvVar(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2EnvVar(typing.TypedDict, total=False): name: str value: str valueSource: GoogleCloudRunV2EnvVarSource @typing.type_check_only -class GoogleCloudRunV2EnvVarSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2EnvVarSource(typing.TypedDict, total=False): secretKeyRef: GoogleCloudRunV2SecretKeySelector @typing.type_check_only -class GoogleCloudRunV2Execution(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Execution(typing.TypedDict, total=False): annotations: dict[str, typing.Any] cancelledCount: int client: str @@ -182,7 +185,7 @@ class GoogleCloudRunV2Execution(typing_extensions.TypedDict, total=False): generation: str job: str labels: dict[str, typing.Any] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -208,8 +211,8 @@ class GoogleCloudRunV2Execution(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudRunV2ExecutionReference(typing_extensions.TypedDict, total=False): - completionStatus: typing_extensions.Literal[ +class GoogleCloudRunV2ExecutionReference(typing.TypedDict, total=False): + completionStatus: typing.Literal[ "COMPLETION_STATUS_UNSPECIFIED", "EXECUTION_SUCCEEDED", "EXECUTION_FAILED", @@ -223,7 +226,7 @@ class GoogleCloudRunV2ExecutionReference(typing_extensions.TypedDict, total=Fals name: str @typing.type_check_only -class GoogleCloudRunV2ExecutionTemplate(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ExecutionTemplate(typing.TypedDict, total=False): annotations: dict[str, typing.Any] client: str clientVersion: str @@ -233,46 +236,46 @@ class GoogleCloudRunV2ExecutionTemplate(typing_extensions.TypedDict, total=False template: GoogleCloudRunV2TaskTemplate @typing.type_check_only -class GoogleCloudRunV2ExportImageRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ExportImageRequest(typing.TypedDict, total=False): destinationRepo: str @typing.type_check_only -class GoogleCloudRunV2ExportImageResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ExportImageResponse(typing.TypedDict, total=False): operationId: str @typing.type_check_only -class GoogleCloudRunV2ExportStatusResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ExportStatusResponse(typing.TypedDict, total=False): imageExportStatuses: _list[GoogleCloudRunV2ImageExportStatus] operationId: str - operationState: typing_extensions.Literal[ + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "IN_PROGRESS", "FINISHED" ] @typing.type_check_only -class GoogleCloudRunV2GCSVolumeSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2GCSVolumeSource(typing.TypedDict, total=False): bucket: str mountOptions: _list[str] readOnly: bool @typing.type_check_only -class GoogleCloudRunV2GRPCAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2GRPCAction(typing.TypedDict, total=False): port: int service: str @typing.type_check_only -class GoogleCloudRunV2HTTPGetAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2HTTPGetAction(typing.TypedDict, total=False): httpHeaders: _list[GoogleCloudRunV2HTTPHeader] path: str port: int @typing.type_check_only -class GoogleCloudRunV2HTTPHeader(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2HTTPHeader(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudRunV2ImageExportStatus(typing_extensions.TypedDict, total=False): - exportJobState: typing_extensions.Literal[ +class GoogleCloudRunV2ImageExportStatus(typing.TypedDict, total=False): + exportJobState: typing.Literal[ "EXPORT_JOB_STATE_UNSPECIFIED", "IN_PROGRESS", "FINISHED" ] exportedImageDigest: str @@ -280,11 +283,11 @@ class GoogleCloudRunV2ImageExportStatus(typing_extensions.TypedDict, total=False tag: str @typing.type_check_only -class GoogleCloudRunV2InlinedSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2InlinedSource(typing.TypedDict, total=False): sources: _list[GoogleCloudRunV2SourceFile] @typing.type_check_only -class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Instance(typing.TypedDict, total=False): annotations: dict[str, typing.Any] binaryAuthorization: GoogleCloudRunV2BinaryAuthorization client: str @@ -298,7 +301,7 @@ class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): deleteTime: str description: str encryptionKey: str - encryptionKeyRevocationAction: typing_extensions.Literal[ + encryptionKeyRevocationAction: typing.Literal[ "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", "PREVENT_NEW", "SHUTDOWN" ] encryptionKeyShutdownDuration: str @@ -307,7 +310,7 @@ class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): generation: str gpuZonalRedundancyDisabled: bool iapEnabled: bool - ingress: typing_extensions.Literal[ + ingress: typing.Literal[ "INGRESS_TRAFFIC_UNSPECIFIED", "INGRESS_TRAFFIC_ALL", "INGRESS_TRAFFIC_INTERNAL_ONLY", @@ -317,7 +320,7 @@ class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): invokerIamDisabled: bool labels: dict[str, typing.Any] lastModifier: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -332,7 +335,7 @@ class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): nodeSelector: GoogleCloudRunV2NodeSelector observedGeneration: str reconciling: bool - restartPolicy: typing_extensions.Literal[ + restartPolicy: typing.Literal[ "RESTART_POLICY_UNSPECIFIED", "ALWAYS", "ON_FAILURE", "NEVER" ] satisfiesPzs: bool @@ -345,27 +348,27 @@ class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): vpcAccess: GoogleCloudRunV2VpcAccess @typing.type_check_only -class GoogleCloudRunV2InstanceSplit(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2InstanceSplit(typing.TypedDict, total=False): percent: int revision: str - type: typing_extensions.Literal[ + type: typing.Literal[ "INSTANCE_SPLIT_ALLOCATION_TYPE_UNSPECIFIED", "INSTANCE_SPLIT_ALLOCATION_TYPE_LATEST", "INSTANCE_SPLIT_ALLOCATION_TYPE_REVISION", ] @typing.type_check_only -class GoogleCloudRunV2InstanceSplitStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2InstanceSplitStatus(typing.TypedDict, total=False): percent: int revision: str - type: typing_extensions.Literal[ + type: typing.Literal[ "INSTANCE_SPLIT_ALLOCATION_TYPE_UNSPECIFIED", "INSTANCE_SPLIT_ALLOCATION_TYPE_LATEST", "INSTANCE_SPLIT_ALLOCATION_TYPE_REVISION", ] @typing.type_check_only -class GoogleCloudRunV2Job(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Job(typing.TypedDict, total=False): annotations: dict[str, typing.Any] binaryAuthorization: GoogleCloudRunV2BinaryAuthorization client: str @@ -381,7 +384,7 @@ class GoogleCloudRunV2Job(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] lastModifier: str latestCreatedExecution: GoogleCloudRunV2ExecutionReference - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -403,74 +406,74 @@ class GoogleCloudRunV2Job(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudRunV2ListExecutionsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[GoogleCloudRunV2Execution] nextPageToken: str @typing.type_check_only -class GoogleCloudRunV2ListInstancesResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ListInstancesResponse(typing.TypedDict, total=False): instances: _list[GoogleCloudRunV2Instance] nextPageToken: str @typing.type_check_only -class GoogleCloudRunV2ListJobsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ListJobsResponse(typing.TypedDict, total=False): jobs: _list[GoogleCloudRunV2Job] nextPageToken: str @typing.type_check_only -class GoogleCloudRunV2ListRevisionsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ListRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str revisions: _list[GoogleCloudRunV2Revision] @typing.type_check_only -class GoogleCloudRunV2ListServicesResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[GoogleCloudRunV2Service] unreachable: _list[str] @typing.type_check_only -class GoogleCloudRunV2ListTasksResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ListTasksResponse(typing.TypedDict, total=False): nextPageToken: str tasks: _list[GoogleCloudRunV2Task] @typing.type_check_only -class GoogleCloudRunV2ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ListWorkerPoolsResponse(typing.TypedDict, total=False): nextPageToken: str workerPools: _list[GoogleCloudRunV2WorkerPool] @typing.type_check_only -class GoogleCloudRunV2Metadata(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Metadata(typing.TypedDict, total=False): metadata: str @typing.type_check_only -class GoogleCloudRunV2MultiRegionSettings(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2MultiRegionSettings(typing.TypedDict, total=False): multiRegionId: str regions: _list[str] @typing.type_check_only -class GoogleCloudRunV2NFSVolumeSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2NFSVolumeSource(typing.TypedDict, total=False): path: str readOnly: bool server: str @typing.type_check_only -class GoogleCloudRunV2NetworkInterface(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2NetworkInterface(typing.TypedDict, total=False): network: str subnetwork: str tags: _list[str] @typing.type_check_only -class GoogleCloudRunV2NodeSelector(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2NodeSelector(typing.TypedDict, total=False): accelerator: str @typing.type_check_only -class GoogleCloudRunV2Overrides(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Overrides(typing.TypedDict, total=False): containerOverrides: _list[GoogleCloudRunV2ContainerOverride] taskCount: int timeout: str @typing.type_check_only -class GoogleCloudRunV2Probe(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Probe(typing.TypedDict, total=False): failureThreshold: int grpc: GoogleCloudRunV2GRPCAction httpGet: GoogleCloudRunV2HTTPGetAction @@ -480,13 +483,13 @@ class GoogleCloudRunV2Probe(typing_extensions.TypedDict, total=False): timeoutSeconds: int @typing.type_check_only -class GoogleCloudRunV2ResourceRequirements(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ResourceRequirements(typing.TypedDict, total=False): cpuIdle: bool limits: dict[str, typing.Any] startupCpuBoost: bool @typing.type_check_only -class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Revision(typing.TypedDict, total=False): annotations: dict[str, typing.Any] client: str clientVersion: str @@ -496,12 +499,12 @@ class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): creator: str deleteTime: str encryptionKey: str - encryptionKeyRevocationAction: typing_extensions.Literal[ + encryptionKeyRevocationAction: typing.Literal[ "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", "PREVENT_NEW", "SHUTDOWN" ] encryptionKeyShutdownDuration: str etag: str - executionEnvironment: typing_extensions.Literal[ + executionEnvironment: typing.Literal[ "EXECUTION_ENVIRONMENT_UNSPECIFIED", "EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2", @@ -510,7 +513,7 @@ class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): generation: str gpuZonalRedundancyDisabled: bool labels: dict[str, typing.Any] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -540,28 +543,28 @@ class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): vpcAccess: GoogleCloudRunV2VpcAccess @typing.type_check_only -class GoogleCloudRunV2RevisionScaling(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2RevisionScaling(typing.TypedDict, total=False): concurrencyUtilization: float cpuUtilization: float maxInstanceCount: int minInstanceCount: int @typing.type_check_only -class GoogleCloudRunV2RevisionScalingStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2RevisionScalingStatus(typing.TypedDict, total=False): desiredMinInstanceCount: int @typing.type_check_only -class GoogleCloudRunV2RevisionTemplate(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2RevisionTemplate(typing.TypedDict, total=False): annotations: dict[str, typing.Any] client: str clientVersion: str containers: _list[GoogleCloudRunV2Container] encryptionKey: str - encryptionKeyRevocationAction: typing_extensions.Literal[ + encryptionKeyRevocationAction: typing.Literal[ "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", "PREVENT_NEW", "SHUTDOWN" ] encryptionKeyShutdownDuration: str - executionEnvironment: typing_extensions.Literal[ + executionEnvironment: typing.Literal[ "EXECUTION_ENVIRONMENT_UNSPECIFIED", "EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2", @@ -581,24 +584,24 @@ class GoogleCloudRunV2RevisionTemplate(typing_extensions.TypedDict, total=False) vpcAccess: GoogleCloudRunV2VpcAccess @typing.type_check_only -class GoogleCloudRunV2RunJobRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2RunJobRequest(typing.TypedDict, total=False): etag: str overrides: GoogleCloudRunV2Overrides validateOnly: bool @typing.type_check_only -class GoogleCloudRunV2SecretKeySelector(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2SecretKeySelector(typing.TypedDict, total=False): secret: str version: str @typing.type_check_only -class GoogleCloudRunV2SecretVolumeSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2SecretVolumeSource(typing.TypedDict, total=False): defaultMode: int items: _list[GoogleCloudRunV2VersionToPath] secret: str @typing.type_check_only -class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Service(typing.TypedDict, total=False): annotations: dict[str, typing.Any] binaryAuthorization: GoogleCloudRunV2BinaryAuthorization buildConfig: GoogleCloudRunV2BuildConfig @@ -615,7 +618,7 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): expireTime: str generation: str iapEnabled: bool - ingress: typing_extensions.Literal[ + ingress: typing.Literal[ "INGRESS_TRAFFIC_UNSPECIFIED", "INGRESS_TRAFFIC_ALL", "INGRESS_TRAFFIC_INTERNAL_ONLY", @@ -627,7 +630,7 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): lastModifier: str latestCreatedRevision: str latestReadyRevision: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -643,6 +646,7 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): reconciling: bool satisfiesPzs: bool scaling: GoogleCloudRunV2ServiceScaling + sshEnabled: bool template: GoogleCloudRunV2RevisionTemplate terminalCondition: GoogleCloudRunV2Condition threatDetectionEnabled: bool @@ -654,52 +658,50 @@ class GoogleCloudRunV2Service(typing_extensions.TypedDict, total=False): urls: _list[str] @typing.type_check_only -class GoogleCloudRunV2ServiceMesh(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ServiceMesh(typing.TypedDict, total=False): mesh: str @typing.type_check_only -class GoogleCloudRunV2ServiceScaling(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2ServiceScaling(typing.TypedDict, total=False): manualInstanceCount: int maxInstanceCount: int minInstanceCount: int - scalingMode: typing_extensions.Literal[ - "SCALING_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" - ] + scalingMode: typing.Literal["SCALING_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL"] @typing.type_check_only -class GoogleCloudRunV2SourceCode(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2SourceCode(typing.TypedDict, total=False): cloudStorageSource: GoogleCloudRunV2CloudStorageSource inlinedSource: GoogleCloudRunV2InlinedSource @typing.type_check_only -class GoogleCloudRunV2SourceFile(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2SourceFile(typing.TypedDict, total=False): content: str filename: str @typing.type_check_only -class GoogleCloudRunV2StartInstanceRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2StartInstanceRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class GoogleCloudRunV2StopInstanceRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2StopInstanceRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class GoogleCloudRunV2StorageSource(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class GoogleCloudRunV2SubmitBuildRequest(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2SubmitBuildRequest(typing.TypedDict, total=False): buildpackBuild: GoogleCloudRunV2BuildpacksBuild client: str dockerBuild: GoogleCloudRunV2DockerBuild imageUri: str machineType: str - releaseTrack: typing_extensions.Literal[ + releaseTrack: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -715,17 +717,17 @@ class GoogleCloudRunV2SubmitBuildRequest(typing_extensions.TypedDict, total=Fals workerPool: str @typing.type_check_only -class GoogleCloudRunV2SubmitBuildResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2SubmitBuildResponse(typing.TypedDict, total=False): baseImageUri: str baseImageWarning: str buildOperation: GoogleLongrunningOperation @typing.type_check_only -class GoogleCloudRunV2TCPSocketAction(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2TCPSocketAction(typing.TypedDict, total=False): port: int @typing.type_check_only -class GoogleCloudRunV2Task(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Task(typing.TypedDict, total=False): annotations: dict[str, typing.Any] completionTime: str conditions: _list[GoogleCloudRunV2Condition] @@ -735,7 +737,7 @@ class GoogleCloudRunV2Task(typing_extensions.TypedDict, total=False): encryptionKey: str etag: str execution: str - executionEnvironment: typing_extensions.Literal[ + executionEnvironment: typing.Literal[ "EXECUTION_ENVIRONMENT_UNSPECIFIED", "EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2", @@ -765,16 +767,16 @@ class GoogleCloudRunV2Task(typing_extensions.TypedDict, total=False): vpcAccess: GoogleCloudRunV2VpcAccess @typing.type_check_only -class GoogleCloudRunV2TaskAttemptResult(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2TaskAttemptResult(typing.TypedDict, total=False): exitCode: int status: GoogleRpcStatus termSignal: int @typing.type_check_only -class GoogleCloudRunV2TaskTemplate(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2TaskTemplate(typing.TypedDict, total=False): containers: _list[GoogleCloudRunV2Container] encryptionKey: str - executionEnvironment: typing_extensions.Literal[ + executionEnvironment: typing.Literal[ "EXECUTION_ENVIRONMENT_UNSPECIFIED", "EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2", @@ -788,22 +790,22 @@ class GoogleCloudRunV2TaskTemplate(typing_extensions.TypedDict, total=False): vpcAccess: GoogleCloudRunV2VpcAccess @typing.type_check_only -class GoogleCloudRunV2TrafficTarget(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2TrafficTarget(typing.TypedDict, total=False): percent: int revision: str tag: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED", "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION", ] @typing.type_check_only -class GoogleCloudRunV2TrafficTargetStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2TrafficTargetStatus(typing.TypedDict, total=False): percent: int revision: str tag: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED", "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION", @@ -811,13 +813,21 @@ class GoogleCloudRunV2TrafficTargetStatus(typing_extensions.TypedDict, total=Fal uri: str @typing.type_check_only -class GoogleCloudRunV2VersionToPath(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2UploadSourceRequest(typing.TypedDict, total=False): + service: str + +@typing.type_check_only +class GoogleCloudRunV2UploadSourceResponse(typing.TypedDict, total=False): + cloudStorageSource: GoogleCloudRunV2CloudStorageSource + +@typing.type_check_only +class GoogleCloudRunV2VersionToPath(typing.TypedDict, total=False): mode: int path: str version: str @typing.type_check_only -class GoogleCloudRunV2Volume(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2Volume(typing.TypedDict, total=False): cloudSqlInstance: GoogleCloudRunV2CloudSqlInstance emptyDir: GoogleCloudRunV2EmptyDirVolumeSource gcs: GoogleCloudRunV2GCSVolumeSource @@ -826,21 +836,21 @@ class GoogleCloudRunV2Volume(typing_extensions.TypedDict, total=False): secret: GoogleCloudRunV2SecretVolumeSource @typing.type_check_only -class GoogleCloudRunV2VolumeMount(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2VolumeMount(typing.TypedDict, total=False): mountPath: str name: str subPath: str @typing.type_check_only -class GoogleCloudRunV2VpcAccess(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2VpcAccess(typing.TypedDict, total=False): connector: str - egress: typing_extensions.Literal[ + egress: typing.Literal[ "VPC_EGRESS_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_RANGES_ONLY" ] networkInterfaces: _list[GoogleCloudRunV2NetworkInterface] @typing.type_check_only -class GoogleCloudRunV2WorkerPool(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2WorkerPool(typing.TypedDict, total=False): annotations: dict[str, typing.Any] binaryAuthorization: GoogleCloudRunV2BinaryAuthorization client: str @@ -860,7 +870,7 @@ class GoogleCloudRunV2WorkerPool(typing_extensions.TypedDict, total=False): lastModifier: str latestCreatedRevision: str latestReadyRevision: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -882,15 +892,13 @@ class GoogleCloudRunV2WorkerPool(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class GoogleCloudRunV2WorkerPoolRevisionTemplate( - typing_extensions.TypedDict, total=False -): +class GoogleCloudRunV2WorkerPoolRevisionTemplate(typing.TypedDict, total=False): annotations: dict[str, typing.Any] client: str clientVersion: str containers: _list[GoogleCloudRunV2Container] encryptionKey: str - encryptionKeyRevocationAction: typing_extensions.Literal[ + encryptionKeyRevocationAction: typing.Literal[ "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", "PREVENT_NEW", "SHUTDOWN" ] encryptionKeyShutdownDuration: str @@ -904,35 +912,29 @@ class GoogleCloudRunV2WorkerPoolRevisionTemplate( vpcAccess: GoogleCloudRunV2VpcAccess @typing.type_check_only -class GoogleCloudRunV2WorkerPoolScaling(typing_extensions.TypedDict, total=False): +class GoogleCloudRunV2WorkerPoolScaling(typing.TypedDict, total=False): manualInstanceCount: int @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ApprovalConfig( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ApprovalConfig(typing.TypedDict, total=False): approvalRequired: bool @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ApprovalResult( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ApprovalResult(typing.TypedDict, total=False): approvalTime: str approverAccount: str comment: str - decision: typing_extensions.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] + decision: typing.Literal["DECISION_UNSPECIFIED", "APPROVED", "REJECTED"] url: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ArtifactObjects( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ArtifactObjects(typing.TypedDict, total=False): location: str paths: _list[str] timing: GoogleDevtoolsCloudbuildV1TimeSpan @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Artifacts(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Artifacts(typing.TypedDict, total=False): genericArtifacts: _list[GoogleDevtoolsCloudbuildV1GenericArtifact] goModules: _list[GoogleDevtoolsCloudbuildV1GoModule] images: _list[str] @@ -943,7 +945,7 @@ class GoogleDevtoolsCloudbuildV1Artifacts(typing_extensions.TypedDict, total=Fal pythonPackages: _list[GoogleDevtoolsCloudbuildV1PythonPackage] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Build(typing.TypedDict, total=False): approval: GoogleDevtoolsCloudbuildV1BuildApproval artifacts: GoogleDevtoolsCloudbuildV1Artifacts availableSecrets: GoogleDevtoolsCloudbuildV1Secrets @@ -967,7 +969,7 @@ class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): source: GoogleDevtoolsCloudbuildV1Source sourceProvenance: GoogleDevtoolsCloudbuildV1SourceProvenance startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -988,23 +990,21 @@ class GoogleDevtoolsCloudbuildV1Build(typing_extensions.TypedDict, total=False): warnings: _list[GoogleDevtoolsCloudbuildV1Warning] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildApproval(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuildApproval(typing.TypedDict, total=False): config: GoogleDevtoolsCloudbuildV1ApprovalConfig result: GoogleDevtoolsCloudbuildV1ApprovalResult - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "APPROVED", "REJECTED", "CANCELLED" ] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1BuildOperationMetadata(typing.TypedDict, total=False): build: GoogleDevtoolsCloudbuildV1Build @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuildOptions(typing.TypedDict, total=False): automapSubstitutions: bool - defaultLogsBucketBehavior: typing_extensions.Literal[ + defaultLogsBucketBehavior: typing.Literal[ "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", "REGIONAL_USER_OWNED_BUCKET", "LEGACY_BUCKET", @@ -1013,10 +1013,8 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= dynamicSubstitutions: bool enableStructuredLogging: bool env: _list[str] - logStreamingOption: typing_extensions.Literal[ - "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF" - ] - logging: typing_extensions.Literal[ + logStreamingOption: typing.Literal["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] + logging: typing.Literal[ "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", @@ -1024,7 +1022,7 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= "CLOUD_LOGGING_ONLY", "NONE", ] - machineType: typing_extensions.Literal[ + machineType: typing.Literal[ "UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", @@ -1035,19 +1033,19 @@ class GoogleDevtoolsCloudbuildV1BuildOptions(typing_extensions.TypedDict, total= ] pool: GoogleDevtoolsCloudbuildV1PoolOption pubsubTopic: str - requestedVerifyOption: typing_extensions.Literal["NOT_VERIFIED", "VERIFIED"] + requestedVerifyOption: typing.Literal["NOT_VERIFIED", "VERIFIED"] secretEnv: _list[str] sourceProvenanceHash: _list[ - typing_extensions.Literal[ + typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] ] - substitutionOption: typing_extensions.Literal["MUST_MATCH", "ALLOW_LOOSE"] + substitutionOption: typing.Literal["MUST_MATCH", "ALLOW_LOOSE"] volumes: _list[GoogleDevtoolsCloudbuildV1Volume] workerPool: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuildStep(typing.TypedDict, total=False): allowExitCodes: _list[int] allowFailure: bool args: _list[str] @@ -1062,7 +1060,7 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal results: _list[GoogleDevtoolsCloudbuildV1StepResult] script: str secretEnv: _list[str] - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNKNOWN", "PENDING", "QUEUED", @@ -1080,47 +1078,41 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal waitFor: _list[str] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuildStepResults( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1BuildStepResults(typing.TypedDict, total=False): results: dict[str, typing.Any] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1BuiltImage(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1BuiltImage(typing.TypedDict, total=False): artifactRegistryPackage: str digest: str name: str - ociMediaType: typing_extensions.Literal[ + ociMediaType: typing.Literal[ "OCI_MEDIA_TYPE_UNSPECIFIED", "IMAGE_MANIFEST", "IMAGE_INDEX" ] pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan @typing.type_check_only -class GoogleDevtoolsCloudbuildV1ConnectedRepository( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1ConnectedRepository(typing.TypedDict, total=False): dir: str repository: str revision: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Dependency(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Dependency(typing.TypedDict, total=False): empty: bool genericArtifact: GoogleDevtoolsCloudbuildV1GenericArtifactDependency gitSource: GoogleDevtoolsCloudbuildV1GitSourceDependency @typing.type_check_only -class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig(typing.TypedDict, total=False): dir: str gitRepositoryLink: str revision: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1FailureInfo(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1FailureInfo(typing.TypedDict, total=False): detail: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FAILURE_TYPE_UNSPECIFIED", "PUSH_FAILED", "PUSH_IMAGE_NOT_FOUND", @@ -1131,37 +1123,33 @@ class GoogleDevtoolsCloudbuildV1FailureInfo(typing_extensions.TypedDict, total=F ] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1FileHashes(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1FileHashes(typing.TypedDict, total=False): fileHash: _list[GoogleDevtoolsCloudbuildV1Hash] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GenericArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1GenericArtifact(typing.TypedDict, total=False): folder: str registryPath: str @typing.type_check_only class GoogleDevtoolsCloudbuildV1GenericArtifactDependency( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destPath: str resource: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitConfig(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1GitConfig(typing.TypedDict, total=False): http: GoogleDevtoolsCloudbuildV1HttpConfig @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitSource(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1GitSource(typing.TypedDict, total=False): dir: str revision: str url: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitSourceDependency( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1GitSourceDependency(typing.TypedDict, total=False): depth: str destPath: str recurseSubmodules: bool @@ -1169,14 +1157,12 @@ class GoogleDevtoolsCloudbuildV1GitSourceDependency( revision: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GitSourceRepository( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1GitSourceRepository(typing.TypedDict, total=False): developerConnect: str url: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1GoModule(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1GoModule(typing.TypedDict, total=False): modulePath: str moduleVersion: str repositoryLocation: str @@ -1185,23 +1171,23 @@ class GoogleDevtoolsCloudbuildV1GoModule(typing_extensions.TypedDict, total=Fals sourcePath: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class GoogleDevtoolsCloudbuildV1Hash(typing.TypedDict, total=False): + type: typing.Literal[ "NONE", "SHA256", "MD5", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1HttpConfig(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1HttpConfig(typing.TypedDict, total=False): proxySecretVersionName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1InlineSecret(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1InlineSecret(typing.TypedDict, total=False): envMap: dict[str, typing.Any] kmsKeyName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1MavenArtifact(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1MavenArtifact(typing.TypedDict, total=False): artifactId: str deployFolder: str groupId: str @@ -1210,27 +1196,27 @@ class GoogleDevtoolsCloudbuildV1MavenArtifact(typing_extensions.TypedDict, total version: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1NpmPackage(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1NpmPackage(typing.TypedDict, total=False): packagePath: str repository: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Oci(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Oci(typing.TypedDict, total=False): file: str registryPath: str tags: _list[str] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1PoolOption(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1PoolOption(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1PythonPackage(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1PythonPackage(typing.TypedDict, total=False): paths: _list[str] repository: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1RepoSource(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1RepoSource(typing.TypedDict, total=False): branchName: str commitSha: str dir: str @@ -1241,7 +1227,7 @@ class GoogleDevtoolsCloudbuildV1RepoSource(typing_extensions.TypedDict, total=Fa tagName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Results(typing.TypedDict, total=False): artifactManifest: str artifactTiming: GoogleDevtoolsCloudbuildV1TimeSpan buildStepImages: _list[str] @@ -1256,24 +1242,22 @@ class GoogleDevtoolsCloudbuildV1Results(typing_extensions.TypedDict, total=False pythonPackages: _list[GoogleDevtoolsCloudbuildV1UploadedPythonPackage] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Secret(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Secret(typing.TypedDict, total=False): kmsKeyName: str secretEnv: dict[str, typing.Any] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1SecretManagerSecret( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1SecretManagerSecret(typing.TypedDict, total=False): env: str versionName: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Secrets(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Secrets(typing.TypedDict, total=False): inline: _list[GoogleDevtoolsCloudbuildV1InlineSecret] secretManager: _list[GoogleDevtoolsCloudbuildV1SecretManagerSecret] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Source(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Source(typing.TypedDict, total=False): connectedRepository: GoogleDevtoolsCloudbuildV1ConnectedRepository developerConnectConfig: GoogleDevtoolsCloudbuildV1DeveloperConnectConfig gitSource: GoogleDevtoolsCloudbuildV1GitSource @@ -1282,9 +1266,7 @@ class GoogleDevtoolsCloudbuildV1Source(typing_extensions.TypedDict, total=False) storageSourceManifest: GoogleDevtoolsCloudbuildV1StorageSourceManifest @typing.type_check_only -class GoogleDevtoolsCloudbuildV1SourceProvenance( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1SourceProvenance(typing.TypedDict, total=False): fileHashes: dict[str, typing.Any] resolvedConnectedRepository: GoogleDevtoolsCloudbuildV1ConnectedRepository resolvedGitSource: GoogleDevtoolsCloudbuildV1GitSource @@ -1293,37 +1275,31 @@ class GoogleDevtoolsCloudbuildV1SourceProvenance( resolvedStorageSourceManifest: GoogleDevtoolsCloudbuildV1StorageSourceManifest @typing.type_check_only -class GoogleDevtoolsCloudbuildV1StepResult(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1StepResult(typing.TypedDict, total=False): attestationContent: str attestationType: str name: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1StorageSource(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1StorageSource(typing.TypedDict, total=False): bucket: str generation: str object: str - sourceFetcher: typing_extensions.Literal[ - "SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER" - ] + sourceFetcher: typing.Literal["SOURCE_FETCHER_UNSPECIFIED", "GSUTIL", "GCS_FETCHER"] @typing.type_check_only -class GoogleDevtoolsCloudbuildV1StorageSourceManifest( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1StorageSourceManifest(typing.TypedDict, total=False): bucket: str generation: str object: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1TimeSpan(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1TimeSpan(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact(typing.TypedDict, total=False): artifactFingerprint: GoogleDevtoolsCloudbuildV1FileHashes artifactRegistryPackage: str fileHashes: dict[str, typing.Any] @@ -1331,99 +1307,89 @@ class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact( uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedGoModule( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedGoModule(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedNpmPackage( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedNpmPackage(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1UploadedPythonPackage( - typing_extensions.TypedDict, total=False -): +class GoogleDevtoolsCloudbuildV1UploadedPythonPackage(typing.TypedDict, total=False): artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Volume(typing_extensions.TypedDict, total=False): +class GoogleDevtoolsCloudbuildV1Volume(typing.TypedDict, total=False): name: str path: str @typing.type_check_only -class GoogleDevtoolsCloudbuildV1Warning(typing_extensions.TypedDict, total=False): - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT" - ] +class GoogleDevtoolsCloudbuildV1Warning(typing.TypedDict, total=False): + priority: typing.Literal["PRIORITY_UNSPECIFIED", "INFO", "WARNING", "ALERT"] text: str @typing.type_check_only -class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] service: str @typing.type_check_only -class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): +class GoogleIamV1AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): +class GoogleIamV1Policy(typing.TypedDict, total=False): auditConfigs: _list[GoogleIamV1AuditConfig] bindings: _list[GoogleIamV1Binding] etag: str version: int @typing.type_check_only -class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1SetIamPolicyRequest(typing.TypedDict, total=False): policy: GoogleIamV1Policy updateMask: str @typing.type_check_only -class GoogleIamV1TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleIamV1TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class GoogleIamV1TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -1431,30 +1397,30 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleLongrunningWaitOperationRequest(typing_extensions.TypedDict, total=False): +class GoogleLongrunningWaitOperationRequest(typing.TypedDict, total=False): timeout: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Proto2BridgeMessageSet(typing_extensions.TypedDict, total=False): ... +class Proto2BridgeMessageSet(typing.TypedDict, total=False): ... @typing.type_check_only -class UtilStatusProto(typing_extensions.TypedDict, total=False): +class UtilStatusProto(typing.TypedDict, total=False): canonicalCode: int code: int message: str diff --git a/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi b/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi index 85b43679c..2f85dea5c 100644 --- a/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi b/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi index e51759321..38b1f461f 100644 --- a/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi @@ -1,23 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -25,7 +23,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/resources.pyi index a304df2f5..5b99c6bfe 100644 --- a/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/schemas.pyi index ab4661d26..b0ba393ce 100644 --- a/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/runtimeconfig/v1beta1/schemas.pyi @@ -1,51 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Cardinality(typing_extensions.TypedDict, total=False): +class Cardinality(typing.TypedDict, total=False): number: int path: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EndCondition(typing_extensions.TypedDict, total=False): +class EndCondition(typing.TypedDict, total=False): cardinality: Cardinality @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListConfigsResponse(typing_extensions.TypedDict, total=False): +class ListConfigsResponse(typing.TypedDict, total=False): configs: _list[RuntimeConfig] nextPageToken: str @typing.type_check_only -class ListVariablesResponse(typing_extensions.TypedDict, total=False): +class ListVariablesResponse(typing.TypedDict, total=False): nextPageToken: str variables: _list[Variable] @typing.type_check_only -class ListWaitersResponse(typing_extensions.TypedDict, total=False): +class ListWaitersResponse(typing.TypedDict, total=False): nextPageToken: str waiters: _list[Waiter] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -53,44 +51,44 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class RuntimeConfig(typing_extensions.TypedDict, total=False): +class RuntimeConfig(typing.TypedDict, total=False): description: str name: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Variable(typing_extensions.TypedDict, total=False): +class Variable(typing.TypedDict, total=False): name: str - state: typing_extensions.Literal["VARIABLE_STATE_UNSPECIFIED", "UPDATED", "DELETED"] + state: typing.Literal["VARIABLE_STATE_UNSPECIFIED", "UPDATED", "DELETED"] text: str updateTime: str value: str @typing.type_check_only -class Waiter(typing_extensions.TypedDict, total=False): +class Waiter(typing.TypedDict, total=False): createTime: str done: bool error: Status @@ -100,5 +98,5 @@ class Waiter(typing_extensions.TypedDict, total=False): timeout: str @typing.type_check_only -class WatchVariableRequest(typing_extensions.TypedDict, total=False): +class WatchVariableRequest(typing.TypedDict, total=False): newerThan: str diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1/resources.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1/resources.pyi index 22d90ff9d..f1737f171 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi index 678bb59c8..970474bda 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1/schemas.pyi @@ -1,51 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregate(typing_extensions.TypedDict, total=False): +class Aggregate(typing.TypedDict, total=False): count: int group: str @typing.type_check_only -class Blueprint(typing_extensions.TypedDict, total=False): +class Blueprint(typing.TypedDict, total=False): engine: str package: str version: str @typing.type_check_only -class Decimal(typing_extensions.TypedDict, total=False): +class Decimal(typing.TypedDict, total=False): value: str @typing.type_check_only -class Dependency(typing_extensions.TypedDict, total=False): +class Dependency(typing.TypedDict, total=False): alias: str unitKind: str @typing.type_check_only -class Deprovision(typing_extensions.TypedDict, total=False): ... +class Deprovision(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorBudget(typing_extensions.TypedDict, total=False): +class ErrorBudget(typing.TypedDict, total=False): allowedCount: int allowedPercentage: int @typing.type_check_only -class FlagUpdate(typing_extensions.TypedDict, total=False): +class FlagUpdate(typing.TypedDict, total=False): flagRelease: str @typing.type_check_only -class FromMapping(typing_extensions.TypedDict, total=False): +class FromMapping(typing.TypedDict, total=False): dependency: str outputVariable: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -53,73 +51,73 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class ListReleasesResponse(typing_extensions.TypedDict, total=False): +class ListReleasesResponse(typing.TypedDict, total=False): nextPageToken: str releases: _list[Release] unreachable: _list[str] @typing.type_check_only -class ListRolloutKindsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutKindsResponse(typing.TypedDict, total=False): nextPageToken: str rolloutKinds: _list[RolloutKind] unreachable: _list[str] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] unreachable: _list[str] @typing.type_check_only -class ListSaasResponse(typing_extensions.TypedDict, total=False): +class ListSaasResponse(typing.TypedDict, total=False): nextPageToken: str saas: _list[Saas] unreachable: _list[str] @typing.type_check_only -class ListTenantsResponse(typing_extensions.TypedDict, total=False): +class ListTenantsResponse(typing.TypedDict, total=False): nextPageToken: str tenants: _list[Tenant] unreachable: _list[str] @typing.type_check_only -class ListUnitKindsResponse(typing_extensions.TypedDict, total=False): +class ListUnitKindsResponse(typing.TypedDict, total=False): nextPageToken: str unitKinds: _list[UnitKind] unreachable: _list[str] @typing.type_check_only -class ListUnitOperationsResponse(typing_extensions.TypedDict, total=False): +class ListUnitOperationsResponse(typing.TypedDict, total=False): nextPageToken: str unitOperations: _list[UnitOperation] unreachable: _list[str] @typing.type_check_only -class ListUnitsResponse(typing_extensions.TypedDict, total=False): +class ListUnitsResponse(typing.TypedDict, total=False): nextPageToken: str units: _list[Unit] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): name: str @typing.type_check_only -class MaintenanceSettings(typing_extensions.TypedDict, total=False): +class MaintenanceSettings(typing.TypedDict, total=False): pinnedUntilTime: str @typing.type_check_only -class Provision(typing_extensions.TypedDict, total=False): +class Provision(typing.TypedDict, total=False): inputVariables: _list[UnitVariable] release: str @typing.type_check_only -class Release(typing_extensions.TypedDict, total=False): +class Release(typing.TypedDict, total=False): annotations: dict[str, typing.Any] blueprint: Blueprint createTime: str @@ -135,11 +133,11 @@ class Release(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ReleaseRequirements(typing_extensions.TypedDict, total=False): +class ReleaseRequirements(typing.TypedDict, total=False): upgradeableFromReleases: _list[str] @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): annotations: dict[str, typing.Any] control: RolloutControl createTime: str @@ -156,7 +154,7 @@ class Rollout(typing_extensions.TypedDict, total=False): rolloutOrchestrationStrategy: str rootRollout: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "ROLLOUT_STATE_RUNNING", "ROLLOUT_STATE_PAUSED", @@ -176,8 +174,8 @@ class Rollout(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RolloutControl(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class RolloutControl(typing.TypedDict, total=False): + action: typing.Literal[ "ROLLOUT_ACTION_UNSPECIFIED", "ROLLOUT_ACTION_RUN", "ROLLOUT_ACTION_PAUSE", @@ -186,7 +184,7 @@ class RolloutControl(typing_extensions.TypedDict, total=False): runParams: RunRolloutActionParams @typing.type_check_only -class RolloutKind(typing_extensions.TypedDict, total=False): +class RolloutKind(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str errorBudget: ErrorBudget @@ -199,23 +197,23 @@ class RolloutKind(typing_extensions.TypedDict, total=False): unitKind: str unitUpdatePacing: UnitUpdatePacing updateTime: str - updateUnitKindStrategy: typing_extensions.Literal[ + updateUnitKindStrategy: typing.Literal[ "UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED", "UPDATE_UNIT_KIND_STRATEGY_ON_START", "UPDATE_UNIT_KIND_STRATEGY_NEVER", ] @typing.type_check_only -class RolloutStats(typing_extensions.TypedDict, total=False): +class RolloutStats(typing.TypedDict, total=False): estimatedTotalUnitCount: str operationsByState: _list[Aggregate] @typing.type_check_only -class RunRolloutActionParams(typing_extensions.TypedDict, total=False): +class RunRolloutActionParams(typing.TypedDict, total=False): retryFailedOperations: bool @typing.type_check_only -class Saas(typing_extensions.TypedDict, total=False): +class Saas(typing.TypedDict, total=False): annotations: dict[str, typing.Any] conditions: _list[SaasCondition] createTime: str @@ -224,36 +222,34 @@ class Saas(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] locations: _list[Location] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_TYPE_UNSPECIFIED", "STATE_ACTIVE", "STATE_RUNNING", "STATE_FAILED" ] uid: str updateTime: str @typing.type_check_only -class SaasCondition(typing_extensions.TypedDict, total=False): +class SaasCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" ] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_READY", "TYPE_SYNCHRONIZED" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_READY", "TYPE_SYNCHRONIZED"] @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tenant(typing_extensions.TypedDict, total=False): +class Tenant(typing.TypedDict, total=False): annotations: dict[str, typing.Any] consumerResource: str createTime: str @@ -265,13 +261,13 @@ class Tenant(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ToMapping(typing_extensions.TypedDict, total=False): +class ToMapping(typing.TypedDict, total=False): dependency: str ignoreForLookup: bool inputVariable: str @typing.type_check_only -class Unit(typing_extensions.TypedDict, total=False): +class Unit(typing.TypedDict, total=False): annotations: dict[str, typing.Any] conditions: _list[UnitCondition] createTime: str @@ -282,7 +278,7 @@ class Unit(typing_extensions.TypedDict, total=False): inputVariables: _list[UnitVariable] labels: dict[str, typing.Any] maintenance: MaintenanceSettings - managementMode: typing_extensions.Literal[ + managementMode: typing.Literal[ "MANAGEMENT_MODE_UNSPECIFIED", "MANAGEMENT_MODE_USER", "MANAGEMENT_MODE_SYSTEM" ] name: str @@ -293,7 +289,7 @@ class Unit(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool scheduledOperations: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "UNIT_STATE_UNSPECIFIED", "UNIT_STATE_NOT_PROVISIONED", "UNIT_STATE_PROVISIONING", @@ -303,7 +299,7 @@ class Unit(typing_extensions.TypedDict, total=False): "UNIT_STATE_ERROR", ] systemCleanupAt: str - systemManagedState: typing_extensions.Literal[ + systemManagedState: typing.Literal[ "SYSTEM_MANAGED_STATE_UNSPECIFIED", "SYSTEM_MANAGED_STATE_ACTIVE", "SYSTEM_MANAGED_STATE_INACTIVE", @@ -315,14 +311,14 @@ class Unit(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UnitCondition(typing_extensions.TypedDict, total=False): +class UnitCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_READY", "TYPE_UPDATING", @@ -334,14 +330,14 @@ class UnitCondition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UnitDependency(typing_extensions.TypedDict, total=False): +class UnitDependency(typing.TypedDict, total=False): alias: str unit: str @typing.type_check_only -class UnitKind(typing_extensions.TypedDict, total=False): +class UnitKind(typing.TypedDict, total=False): annotations: dict[str, typing.Any] - boundaryType: typing_extensions.Literal[ + boundaryType: typing.Literal[ "BOUNDARY_TYPE_UNSPECIFIED", "BOUNDARY_TYPE_TENANT_PROJECT", "BOUNDARY_TYPE_MANAGED_PROJECT", @@ -360,7 +356,7 @@ class UnitKind(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UnitOperation(typing_extensions.TypedDict, total=False): +class UnitOperation(typing.TypedDict, total=False): annotations: dict[str, typing.Any] cancel: bool conditions: _list[UnitOperationCondition] @@ -368,7 +364,7 @@ class UnitOperation(typing_extensions.TypedDict, total=False): deleteTime: str deprovision: Deprovision engineState: str - errorCategory: typing_extensions.Literal[ + errorCategory: typing.Literal[ "UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED", "NOT_APPLICABLE", "FATAL", @@ -384,7 +380,7 @@ class UnitOperation(typing_extensions.TypedDict, total=False): provision: Provision rollout: str schedule: Schedule - state: typing_extensions.Literal[ + state: typing.Literal[ "UNIT_OPERATION_STATE_UNKNOWN", "UNIT_OPERATION_STATE_PENDING", "UNIT_OPERATION_STATE_SCHEDULED", @@ -399,14 +395,14 @@ class UnitOperation(typing_extensions.TypedDict, total=False): upgrade: Upgrade @typing.type_check_only -class UnitOperationCondition(typing_extensions.TypedDict, total=False): +class UnitOperationCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_SCHEDULED", "TYPE_RUNNING", @@ -418,24 +414,22 @@ class UnitOperationCondition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UnitUpdatePacing(typing_extensions.TypedDict, total=False): +class UnitUpdatePacing(typing.TypedDict, total=False): maxConcurrentOperationsCount: int maxConcurrentOperationsPercent: Decimal @typing.type_check_only -class UnitVariable(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "STRING", "INT", "BOOL", "STRUCT", "LIST" - ] +class UnitVariable(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "STRING", "INT", "BOOL", "STRUCT", "LIST"] value: str variable: str @typing.type_check_only -class Upgrade(typing_extensions.TypedDict, total=False): +class Upgrade(typing.TypedDict, total=False): inputVariables: _list[UnitVariable] release: str -AlternativeVariableMapping = typing_extensions.TypedDict( +AlternativeVariableMapping = typing.TypedDict( "AlternativeVariableMapping", { "from": FromMapping, diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi index 5ed5c528d..c4131ea68 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi index 9348e0ebf..be9b9cd15 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi @@ -1,71 +1,69 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Aggregate(typing_extensions.TypedDict, total=False): +class Aggregate(typing.TypedDict, total=False): count: int group: str @typing.type_check_only -class Allocation(typing_extensions.TypedDict, total=False): +class Allocation(typing.TypedDict, total=False): description: str id: str randomizedOn: str slots: _list[AllocationSlot] @typing.type_check_only -class AllocationSlot(typing_extensions.TypedDict, total=False): +class AllocationSlot(typing.TypedDict, total=False): variant: str weight: int @typing.type_check_only -class AppParams(typing_extensions.TypedDict, total=False): +class AppParams(typing.TypedDict, total=False): group: str scope: Scope @typing.type_check_only -class Blueprint(typing_extensions.TypedDict, total=False): +class Blueprint(typing.TypedDict, total=False): engine: str package: str version: str @typing.type_check_only -class ComponentRef(typing_extensions.TypedDict, total=False): +class ComponentRef(typing.TypedDict, total=False): component: str compositeRef: CompositeRef revision: str @typing.type_check_only -class CompositeRef(typing_extensions.TypedDict, total=False): +class CompositeRef(typing.TypedDict, total=False): applicationTemplate: str revision: str syncOperation: str @typing.type_check_only -class Decimal(typing_extensions.TypedDict, total=False): +class Decimal(typing.TypedDict, total=False): value: str @typing.type_check_only -class Dependency(typing_extensions.TypedDict, total=False): +class Dependency(typing.TypedDict, total=False): alias: str unitKind: str @typing.type_check_only -class Deprovision(typing_extensions.TypedDict, total=False): ... +class Deprovision(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorBudget(typing_extensions.TypedDict, total=False): +class ErrorBudget(typing.TypedDict, total=False): allowedCount: int allowedPercentage: int @typing.type_check_only -class EvaluationRule(typing_extensions.TypedDict, total=False): +class EvaluationRule(typing.TypedDict, total=False): allocationId: str condition: str id: str @@ -73,7 +71,7 @@ class EvaluationRule(typing_extensions.TypedDict, total=False): variantId: str @typing.type_check_only -class EvaluationSpec(typing_extensions.TypedDict, total=False): +class EvaluationSpec(typing.TypedDict, total=False): allocations: _list[Allocation] attributes: _list[str] defaultTarget: str @@ -81,14 +79,14 @@ class EvaluationSpec(typing_extensions.TypedDict, total=False): variants: _list[Variant] @typing.type_check_only -class Flag(typing_extensions.TypedDict, total=False): +class Flag(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str description: str etag: str evaluationSpec: EvaluationSpec flagSet: str - flagValueType: typing_extensions.Literal[ + flagValueType: typing.Literal[ "FLAG_VALUE_TYPE_UNSPECIFIED", "FLAG_VALUE_TYPE_BOOLEAN", "FLAG_VALUE_TYPE_INTEGER", @@ -98,7 +96,7 @@ class Flag(typing_extensions.TypedDict, total=False): key: str labels: dict[str, typing.Any] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "FLAG_STATE_UNSPECIFIED", "FLAG_STATE_IN_DEVELOPMENT", "FLAG_STATE_ACTIVE", @@ -108,7 +106,7 @@ class Flag(typing_extensions.TypedDict, total=False): uid: str unitKind: str updateTime: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "FLAG_VALUE_TYPE_UNSPECIFIED", "FLAG_VALUE_TYPE_BOOL", "FLAG_VALUE_TYPE_INT", @@ -118,9 +116,9 @@ class Flag(typing_extensions.TypedDict, total=False): variants: _list[FlagVariant] @typing.type_check_only -class FlagAttribute(typing_extensions.TypedDict, total=False): +class FlagAttribute(typing.TypedDict, total=False): annotations: dict[str, typing.Any] - attributeValueType: typing_extensions.Literal[ + attributeValueType: typing.Literal[ "FLAG_ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", "FLAG_ATTRIBUTE_VALUE_TYPE_BOOLEAN", "FLAG_ATTRIBUTE_VALUE_TYPE_INTEGER", @@ -134,7 +132,7 @@ class FlagAttribute(typing_extensions.TypedDict, total=False): name: str uid: str updateTime: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "FLAG_ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", "BOOLEAN", "INTEGER", @@ -143,7 +141,7 @@ class FlagAttribute(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FlagRelease(typing_extensions.TypedDict, total=False): +class FlagRelease(typing.TypedDict, total=False): allFlags: bool allFlagsRelease: bool annotations: dict[str, typing.Any] @@ -162,7 +160,7 @@ class FlagRelease(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FlagRevision(typing_extensions.TypedDict, total=False): +class FlagRevision(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -175,19 +173,19 @@ class FlagRevision(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class FlagRevisionList(typing_extensions.TypedDict, total=False): +class FlagRevisionList(typing.TypedDict, total=False): revisions: _list[str] @typing.type_check_only -class FlagSetList(typing_extensions.TypedDict, total=False): +class FlagSetList(typing.TypedDict, total=False): sets: _list[str] @typing.type_check_only -class FlagUpdate(typing_extensions.TypedDict, total=False): +class FlagUpdate(typing.TypedDict, total=False): flagRelease: str @typing.type_check_only -class FlagVariant(typing_extensions.TypedDict, total=False): +class FlagVariant(typing.TypedDict, total=False): booleanValue: bool description: str doubleValue: float @@ -197,12 +195,12 @@ class FlagVariant(typing_extensions.TypedDict, total=False): trackingId: str @typing.type_check_only -class FromMapping(typing_extensions.TypedDict, total=False): +class FromMapping(typing.TypedDict, total=False): dependency: str outputVariable: str @typing.type_check_only -class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): +class GoogleCloudLocationLocation(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -210,115 +208,115 @@ class GoogleCloudLocationLocation(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class ListFlagAttributesResponse(typing_extensions.TypedDict, total=False): +class ListFlagAttributesResponse(typing.TypedDict, total=False): flagAttributes: _list[FlagAttribute] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFlagReleasesResponse(typing_extensions.TypedDict, total=False): +class ListFlagReleasesResponse(typing.TypedDict, total=False): flagReleases: _list[FlagRelease] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFlagRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListFlagRevisionsResponse(typing.TypedDict, total=False): flagRevisions: _list[FlagRevision] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListFlagsResponse(typing_extensions.TypedDict, total=False): +class ListFlagsResponse(typing.TypedDict, total=False): flags: _list[Flag] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[GoogleCloudLocationLocation] nextPageToken: str @typing.type_check_only -class ListReleasesResponse(typing_extensions.TypedDict, total=False): +class ListReleasesResponse(typing.TypedDict, total=False): nextPageToken: str releases: _list[Release] unreachable: _list[str] @typing.type_check_only -class ListRolloutKindsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutKindsResponse(typing.TypedDict, total=False): nextPageToken: str rolloutKinds: _list[RolloutKind] unreachable: _list[str] @typing.type_check_only -class ListRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] unreachable: _list[str] @typing.type_check_only -class ListSaasReleasesResponse(typing_extensions.TypedDict, total=False): +class ListSaasReleasesResponse(typing.TypedDict, total=False): nextPageToken: str saasReleases: _list[SaasRelease] unreachable: _list[str] @typing.type_check_only -class ListSaasResponse(typing_extensions.TypedDict, total=False): +class ListSaasResponse(typing.TypedDict, total=False): nextPageToken: str saas: _list[Saas] unreachable: _list[str] @typing.type_check_only -class ListTenantsResponse(typing_extensions.TypedDict, total=False): +class ListTenantsResponse(typing.TypedDict, total=False): nextPageToken: str tenants: _list[Tenant] unreachable: _list[str] @typing.type_check_only -class ListUnitGroupOperationsResponse(typing_extensions.TypedDict, total=False): +class ListUnitGroupOperationsResponse(typing.TypedDict, total=False): nextPageToken: str unitGroupOperations: _list[UnitGroupOperation] unreachable: _list[str] @typing.type_check_only -class ListUnitGroupsResponse(typing_extensions.TypedDict, total=False): +class ListUnitGroupsResponse(typing.TypedDict, total=False): nextPageToken: str unitGroups: _list[UnitGroup] unreachable: _list[str] @typing.type_check_only -class ListUnitKindsResponse(typing_extensions.TypedDict, total=False): +class ListUnitKindsResponse(typing.TypedDict, total=False): nextPageToken: str unitKinds: _list[UnitKind] unreachable: _list[str] @typing.type_check_only -class ListUnitOperationsResponse(typing_extensions.TypedDict, total=False): +class ListUnitOperationsResponse(typing.TypedDict, total=False): nextPageToken: str unitOperations: _list[UnitOperation] unreachable: _list[str] @typing.type_check_only -class ListUnitsResponse(typing_extensions.TypedDict, total=False): +class ListUnitsResponse(typing.TypedDict, total=False): nextPageToken: str units: _list[Unit] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): name: str @typing.type_check_only -class MaintenanceSettings(typing_extensions.TypedDict, total=False): +class MaintenanceSettings(typing.TypedDict, total=False): pinnedUntilTime: str @typing.type_check_only -class Provision(typing_extensions.TypedDict, total=False): +class Provision(typing.TypedDict, total=False): inputVariables: _list[UnitVariable] release: str @typing.type_check_only -class Release(typing_extensions.TypedDict, total=False): +class Release(typing.TypedDict, total=False): annotations: dict[str, typing.Any] applicationTemplateComponent: ComponentRef blueprint: Blueprint @@ -335,11 +333,11 @@ class Release(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ReleaseRequirements(typing_extensions.TypedDict, total=False): +class ReleaseRequirements(typing.TypedDict, total=False): upgradeableFromReleases: _list[str] @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): annotations: dict[str, typing.Any] control: RolloutControl createTime: str @@ -356,7 +354,7 @@ class Rollout(typing_extensions.TypedDict, total=False): rolloutOrchestrationStrategy: str rootRollout: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "ROLLOUT_STATE_UNSPECIFIED", "ROLLOUT_STATE_RUNNING", "ROLLOUT_STATE_PAUSED", @@ -376,8 +374,8 @@ class Rollout(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class RolloutControl(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ +class RolloutControl(typing.TypedDict, total=False): + action: typing.Literal[ "ROLLOUT_ACTION_UNSPECIFIED", "ROLLOUT_ACTION_RUN", "ROLLOUT_ACTION_PAUSE", @@ -386,7 +384,7 @@ class RolloutControl(typing_extensions.TypedDict, total=False): runParams: RunRolloutActionParams @typing.type_check_only -class RolloutKind(typing_extensions.TypedDict, total=False): +class RolloutKind(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str errorBudget: ErrorBudget @@ -399,23 +397,23 @@ class RolloutKind(typing_extensions.TypedDict, total=False): unitKind: str unitUpdatePacing: UnitUpdatePacing updateTime: str - updateUnitKindStrategy: typing_extensions.Literal[ + updateUnitKindStrategy: typing.Literal[ "UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED", "UPDATE_UNIT_KIND_STRATEGY_ON_START", "UPDATE_UNIT_KIND_STRATEGY_NEVER", ] @typing.type_check_only -class RolloutStats(typing_extensions.TypedDict, total=False): +class RolloutStats(typing.TypedDict, total=False): estimatedTotalUnitCount: str operationsByState: _list[Aggregate] @typing.type_check_only -class RunRolloutActionParams(typing_extensions.TypedDict, total=False): +class RunRolloutActionParams(typing.TypedDict, total=False): retryFailedOperations: bool @typing.type_check_only -class Saas(typing_extensions.TypedDict, total=False): +class Saas(typing.TypedDict, total=False): annotations: dict[str, typing.Any] applicationTemplate: CompositeRef blueprintRepo: str @@ -426,26 +424,24 @@ class Saas(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] locations: _list[Location] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_TYPE_UNSPECIFIED", "STATE_ACTIVE", "STATE_RUNNING", "STATE_FAILED" ] uid: str updateTime: str @typing.type_check_only -class SaasCondition(typing_extensions.TypedDict, total=False): +class SaasCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" ] - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_READY", "TYPE_SYNCHRONIZED" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_READY", "TYPE_SYNCHRONIZED"] @typing.type_check_only -class SaasRelease(typing_extensions.TypedDict, total=False): +class SaasRelease(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -455,21 +451,21 @@ class SaasRelease(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class Scope(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TYPE_REGIONAL", "TYPE_GLOBAL"] +class Scope(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_REGIONAL", "TYPE_GLOBAL"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tenant(typing_extensions.TypedDict, total=False): +class Tenant(typing.TypedDict, total=False): annotations: dict[str, typing.Any] consumerResource: str createTime: str @@ -481,13 +477,13 @@ class Tenant(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ToMapping(typing_extensions.TypedDict, total=False): +class ToMapping(typing.TypedDict, total=False): dependency: str ignoreForLookup: bool inputVariable: str @typing.type_check_only -class Unit(typing_extensions.TypedDict, total=False): +class Unit(typing.TypedDict, total=False): annotations: dict[str, typing.Any] application: str conditions: _list[UnitCondition] @@ -500,7 +496,7 @@ class Unit(typing_extensions.TypedDict, total=False): inputVariables: _list[UnitVariable] labels: dict[str, typing.Any] maintenance: MaintenanceSettings - managementMode: typing_extensions.Literal[ + managementMode: typing.Literal[ "MANAGEMENT_MODE_UNSPECIFIED", "MANAGEMENT_MODE_USER", "MANAGEMENT_MODE_SYSTEM" ] name: str @@ -511,7 +507,7 @@ class Unit(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool scheduledOperations: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "UNIT_STATE_UNSPECIFIED", "UNIT_STATE_NOT_PROVISIONED", "UNIT_STATE_PROVISIONING", @@ -521,7 +517,7 @@ class Unit(typing_extensions.TypedDict, total=False): "UNIT_STATE_ERROR", ] systemCleanupAt: str - systemManagedState: typing_extensions.Literal[ + systemManagedState: typing.Literal[ "SYSTEM_MANAGED_STATE_UNSPECIFIED", "SYSTEM_MANAGED_STATE_ACTIVE", "SYSTEM_MANAGED_STATE_INACTIVE", @@ -534,14 +530,14 @@ class Unit(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UnitCondition(typing_extensions.TypedDict, total=False): +class UnitCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_READY", "TYPE_UPDATING", @@ -553,12 +549,12 @@ class UnitCondition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UnitDependency(typing_extensions.TypedDict, total=False): +class UnitDependency(typing.TypedDict, total=False): alias: str unit: str @typing.type_check_only -class UnitGroup(typing_extensions.TypedDict, total=False): +class UnitGroup(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -568,7 +564,7 @@ class UnitGroup(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UnitGroupOperation(typing_extensions.TypedDict, total=False): +class UnitGroupOperation(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str etag: str @@ -578,11 +574,11 @@ class UnitGroupOperation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UnitKind(typing_extensions.TypedDict, total=False): +class UnitKind(typing.TypedDict, total=False): annotations: dict[str, typing.Any] appParams: AppParams applicationTemplateComponent: ComponentRef - boundaryType: typing_extensions.Literal[ + boundaryType: typing.Literal[ "BOUNDARY_TYPE_UNSPECIFIED", "BOUNDARY_TYPE_TENANT_PROJECT", "BOUNDARY_TYPE_MANAGED_PROJECT", @@ -601,7 +597,7 @@ class UnitKind(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UnitOperation(typing_extensions.TypedDict, total=False): +class UnitOperation(typing.TypedDict, total=False): annotations: dict[str, typing.Any] cancel: bool conditions: _list[UnitOperationCondition] @@ -609,7 +605,7 @@ class UnitOperation(typing_extensions.TypedDict, total=False): deleteTime: str deprovision: Deprovision engineState: str - errorCategory: typing_extensions.Literal[ + errorCategory: typing.Literal[ "UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED", "NOT_APPLICABLE", "FATAL", @@ -625,7 +621,7 @@ class UnitOperation(typing_extensions.TypedDict, total=False): provision: Provision rollout: str schedule: Schedule - state: typing_extensions.Literal[ + state: typing.Literal[ "UNIT_OPERATION_STATE_UNKNOWN", "UNIT_OPERATION_STATE_PENDING", "UNIT_OPERATION_STATE_SCHEDULED", @@ -640,14 +636,14 @@ class UnitOperation(typing_extensions.TypedDict, total=False): upgrade: Upgrade @typing.type_check_only -class UnitOperationCondition(typing_extensions.TypedDict, total=False): +class UnitOperationCondition(typing.TypedDict, total=False): lastTransitionTime: str message: str reason: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "STATUS_UNKNOWN", "STATUS_TRUE", "STATUS_FALSE" ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_SCHEDULED", "TYPE_RUNNING", @@ -659,24 +655,22 @@ class UnitOperationCondition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UnitUpdatePacing(typing_extensions.TypedDict, total=False): +class UnitUpdatePacing(typing.TypedDict, total=False): maxConcurrentOperationsCount: int maxConcurrentOperationsPercent: Decimal @typing.type_check_only -class UnitVariable(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "STRING", "INT", "BOOL", "STRUCT", "LIST" - ] +class UnitVariable(typing.TypedDict, total=False): + type: typing.Literal["TYPE_UNSPECIFIED", "STRING", "INT", "BOOL", "STRUCT", "LIST"] value: str variable: str @typing.type_check_only -class Upgrade(typing_extensions.TypedDict, total=False): +class Upgrade(typing.TypedDict, total=False): inputVariables: _list[UnitVariable] release: str -AlternativeVariableMapping = typing_extensions.TypedDict( +AlternativeVariableMapping = typing.TypedDict( "AlternativeVariableMapping", { "from": FromMapping, @@ -690,7 +684,7 @@ AlternativeVariableMapping = typing_extensions.TypedDict( class VariableMapping(AlternativeVariableMapping): ... @typing.type_check_only -class Variant(typing_extensions.TypedDict, total=False): +class Variant(typing.TypedDict, total=False): boolValue: bool doubleValue: float intValue: str diff --git a/googleapiclient-stubs/_apis/safebrowsing/v4/resources.pyi b/googleapiclient-stubs/_apis/safebrowsing/v4/resources.pyi index b42f0a9d9..0516e5e58 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/safebrowsing/v4/schemas.pyi b/googleapiclient-stubs/_apis/safebrowsing/v4/schemas.pyi index 856c0acf6..0f2714c38 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v4/schemas.pyi @@ -1,24 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleSecuritySafebrowsingV4Checksum(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4Checksum(typing.TypedDict, total=False): sha256: str @typing.type_check_only -class GoogleSecuritySafebrowsingV4ClientInfo(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4ClientInfo(typing.TypedDict, total=False): clientId: str clientVersion: str @typing.type_check_only class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): client: GoogleSecuritySafebrowsingV4ClientInfo listUpdateRequests: _list[ @@ -27,10 +25,10 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest( @typing.type_check_only class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): constraints: GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints - platformType: typing_extensions.Literal[ + platformType: typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "WINDOWS", "LINUX", @@ -42,7 +40,7 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest "CHROME", ] state: str - threatEntryType: typing_extensions.Literal[ + threatEntryType: typing.Literal[ "THREAT_ENTRY_TYPE_UNSPECIFIED", "URL", "EXECUTABLE", @@ -51,7 +49,7 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest "FILENAME", "CERT", ] - threatType: typing_extensions.Literal[ + threatType: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -74,7 +72,7 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest @typing.type_check_only class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceLocation: str language: str @@ -82,12 +80,12 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest maxUpdateEntries: int region: str supportedCompressions: _list[ - typing_extensions.Literal["COMPRESSION_TYPE_UNSPECIFIED", "RAW", "RICE"] + typing.Literal["COMPRESSION_TYPE_UNSPECIFIED", "RAW", "RICE"] ] @typing.type_check_only class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): listUpdateResponses: _list[ GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse @@ -96,12 +94,12 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse( @typing.type_check_only class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additions: _list[GoogleSecuritySafebrowsingV4ThreatEntrySet] checksum: GoogleSecuritySafebrowsingV4Checksum newClientState: str - platformType: typing_extensions.Literal[ + platformType: typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "WINDOWS", "LINUX", @@ -113,10 +111,10 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateRespon "CHROME", ] removals: _list[GoogleSecuritySafebrowsingV4ThreatEntrySet] - responseType: typing_extensions.Literal[ + responseType: typing.Literal[ "RESPONSE_TYPE_UNSPECIFIED", "PARTIAL_UPDATE", "FULL_UPDATE" ] - threatEntryType: typing_extensions.Literal[ + threatEntryType: typing.Literal[ "THREAT_ENTRY_TYPE_UNSPECIFIED", "URL", "EXECUTABLE", @@ -125,7 +123,7 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateRespon "FILENAME", "CERT", ] - threatType: typing_extensions.Literal[ + threatType: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -147,95 +145,83 @@ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateRespon ] @typing.type_check_only -class GoogleSecuritySafebrowsingV4FindFullHashesRequest( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV4FindFullHashesRequest(typing.TypedDict, total=False): apiClient: GoogleSecuritySafebrowsingV4ClientInfo client: GoogleSecuritySafebrowsingV4ClientInfo clientStates: _list[str] threatInfo: GoogleSecuritySafebrowsingV4ThreatInfo @typing.type_check_only -class GoogleSecuritySafebrowsingV4FindFullHashesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV4FindFullHashesResponse(typing.TypedDict, total=False): matches: _list[GoogleSecuritySafebrowsingV4ThreatMatch] minimumWaitDuration: str negativeCacheDuration: str @typing.type_check_only class GoogleSecuritySafebrowsingV4FindThreatMatchesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): client: GoogleSecuritySafebrowsingV4ClientInfo threatInfo: GoogleSecuritySafebrowsingV4ThreatInfo @typing.type_check_only class GoogleSecuritySafebrowsingV4FindThreatMatchesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): matches: _list[GoogleSecuritySafebrowsingV4ThreatMatch] @typing.type_check_only class GoogleSecuritySafebrowsingV4ListThreatListsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): threatLists: _list[GoogleSecuritySafebrowsingV4ThreatListDescriptor] @typing.type_check_only -class GoogleSecuritySafebrowsingV4RawHashes(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4RawHashes(typing.TypedDict, total=False): prefixSize: int rawHashes: str @typing.type_check_only -class GoogleSecuritySafebrowsingV4RawIndices(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4RawIndices(typing.TypedDict, total=False): indices: _list[int] @typing.type_check_only -class GoogleSecuritySafebrowsingV4RiceDeltaEncoding( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV4RiceDeltaEncoding(typing.TypedDict, total=False): encodedData: str firstValue: str numEntries: int riceParameter: int @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatEntry(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4ThreatEntry(typing.TypedDict, total=False): digest: str hash: str url: str @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatEntryMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV4ThreatEntryMetadata(typing.TypedDict, total=False): entries: _list[GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry] @typing.type_check_only class GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatEntrySet( - typing_extensions.TypedDict, total=False -): - compressionType: typing_extensions.Literal[ - "COMPRESSION_TYPE_UNSPECIFIED", "RAW", "RICE" - ] +class GoogleSecuritySafebrowsingV4ThreatEntrySet(typing.TypedDict, total=False): + compressionType: typing.Literal["COMPRESSION_TYPE_UNSPECIFIED", "RAW", "RICE"] rawHashes: GoogleSecuritySafebrowsingV4RawHashes rawIndices: GoogleSecuritySafebrowsingV4RawIndices riceHashes: GoogleSecuritySafebrowsingV4RiceDeltaEncoding riceIndices: GoogleSecuritySafebrowsingV4RiceDeltaEncoding @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatHit(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4ThreatHit(typing.TypedDict, total=False): clientInfo: GoogleSecuritySafebrowsingV4ClientInfo entry: GoogleSecuritySafebrowsingV4ThreatEntry - platformType: typing_extensions.Literal[ + platformType: typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "WINDOWS", "LINUX", @@ -247,7 +233,7 @@ class GoogleSecuritySafebrowsingV4ThreatHit(typing_extensions.TypedDict, total=F "CHROME", ] resources: _list[GoogleSecuritySafebrowsingV4ThreatHitThreatSource] - threatType: typing_extensions.Literal[ + threatType: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -270,12 +256,10 @@ class GoogleSecuritySafebrowsingV4ThreatHit(typing_extensions.TypedDict, total=F userInfo: GoogleSecuritySafebrowsingV4ThreatHitUserInfo @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatHitThreatSource( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV4ThreatHitThreatSource(typing.TypedDict, total=False): referrer: str remoteIp: str - type: typing_extensions.Literal[ + type: typing.Literal[ "THREAT_SOURCE_TYPE_UNSPECIFIED", "MATCHING_URL", "TAB_URL", @@ -285,16 +269,14 @@ class GoogleSecuritySafebrowsingV4ThreatHitThreatSource( url: str @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatHitUserInfo( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV4ThreatHitUserInfo(typing.TypedDict, total=False): regionCode: str userId: str @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatInfo(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4ThreatInfo(typing.TypedDict, total=False): platformTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "WINDOWS", "LINUX", @@ -308,7 +290,7 @@ class GoogleSecuritySafebrowsingV4ThreatInfo(typing_extensions.TypedDict, total= ] threatEntries: _list[GoogleSecuritySafebrowsingV4ThreatEntry] threatEntryTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_ENTRY_TYPE_UNSPECIFIED", "URL", "EXECUTABLE", @@ -319,7 +301,7 @@ class GoogleSecuritySafebrowsingV4ThreatInfo(typing_extensions.TypedDict, total= ] ] threatTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -342,10 +324,8 @@ class GoogleSecuritySafebrowsingV4ThreatInfo(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatListDescriptor( - typing_extensions.TypedDict, total=False -): - platformType: typing_extensions.Literal[ +class GoogleSecuritySafebrowsingV4ThreatListDescriptor(typing.TypedDict, total=False): + platformType: typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "WINDOWS", "LINUX", @@ -356,7 +336,7 @@ class GoogleSecuritySafebrowsingV4ThreatListDescriptor( "ALL_PLATFORMS", "CHROME", ] - threatEntryType: typing_extensions.Literal[ + threatEntryType: typing.Literal[ "THREAT_ENTRY_TYPE_UNSPECIFIED", "URL", "EXECUTABLE", @@ -365,7 +345,7 @@ class GoogleSecuritySafebrowsingV4ThreatListDescriptor( "FILENAME", "CERT", ] - threatType: typing_extensions.Literal[ + threatType: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -387,9 +367,9 @@ class GoogleSecuritySafebrowsingV4ThreatListDescriptor( ] @typing.type_check_only -class GoogleSecuritySafebrowsingV4ThreatMatch(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV4ThreatMatch(typing.TypedDict, total=False): cacheDuration: str - platformType: typing_extensions.Literal[ + platformType: typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "WINDOWS", "LINUX", @@ -402,7 +382,7 @@ class GoogleSecuritySafebrowsingV4ThreatMatch(typing_extensions.TypedDict, total ] threat: GoogleSecuritySafebrowsingV4ThreatEntry threatEntryMetadata: GoogleSecuritySafebrowsingV4ThreatEntryMetadata - threatEntryType: typing_extensions.Literal[ + threatEntryType: typing.Literal[ "THREAT_ENTRY_TYPE_UNSPECIFIED", "URL", "EXECUTABLE", @@ -411,7 +391,7 @@ class GoogleSecuritySafebrowsingV4ThreatMatch(typing_extensions.TypedDict, total "FILENAME", "CERT", ] - threatType: typing_extensions.Literal[ + threatType: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", diff --git a/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi b/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi index 9f3ed0a6c..c873ce311 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi b/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi index 85740977f..607ff3b22 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi @@ -1,30 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleSecuritySafebrowsingV5BatchGetHashListsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hashLists: _list[GoogleSecuritySafebrowsingV5HashList] @typing.type_check_only -class GoogleSecuritySafebrowsingV5FullHash(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV5FullHash(typing.TypedDict, total=False): fullHash: str fullHashDetails: _list[GoogleSecuritySafebrowsingV5FullHashFullHashDetail] @typing.type_check_only -class GoogleSecuritySafebrowsingV5FullHashFullHashDetail( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5FullHashFullHashDetail(typing.TypedDict, total=False): attributes: _list[ - typing_extensions.Literal[ - "THREAT_ATTRIBUTE_UNSPECIFIED", "CANARY", "FRAME_ONLY" - ] + typing.Literal["THREAT_ATTRIBUTE_UNSPECIFIED", "CANARY", "FRAME_ONLY"] ] - threatType: typing_extensions.Literal[ + threatType: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -33,7 +27,7 @@ class GoogleSecuritySafebrowsingV5FullHashFullHashDetail( ] @typing.type_check_only -class GoogleSecuritySafebrowsingV5HashList(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV5HashList(typing.TypedDict, total=False): additionsEightBytes: GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit additionsFourBytes: GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit additionsSixteenBytes: GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit @@ -47,11 +41,9 @@ class GoogleSecuritySafebrowsingV5HashList(typing_extensions.TypedDict, total=Fa version: str @typing.type_check_only -class GoogleSecuritySafebrowsingV5HashListMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5HashListMetadata(typing.TypedDict, total=False): description: str - hashLength: typing_extensions.Literal[ + hashLength: typing.Literal[ "HASH_LENGTH_UNSPECIFIED", "FOUR_BYTES", "EIGHT_BYTES", @@ -59,12 +51,12 @@ class GoogleSecuritySafebrowsingV5HashListMetadata( "THIRTY_TWO_BYTES", ] likelySafeTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "LIKELY_SAFE_TYPE_UNSPECIFIED", "GENERAL_BROWSING", "CSD", "DOWNLOAD" ] ] threatTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -74,16 +66,12 @@ class GoogleSecuritySafebrowsingV5HashListMetadata( ] @typing.type_check_only -class GoogleSecuritySafebrowsingV5ListHashListsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5ListHashListsResponse(typing.TypedDict, total=False): hashLists: _list[GoogleSecuritySafebrowsingV5HashList] nextPageToken: str @typing.type_check_only -class GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit(typing.TypedDict, total=False): encodedData: str entriesCount: int firstValueHi: str @@ -91,9 +79,7 @@ class GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit( riceParameter: int @typing.type_check_only -class GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit(typing.TypedDict, total=False): encodedData: str entriesCount: int firstValueFirstPart: str @@ -103,41 +89,33 @@ class GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit( riceParameter: int @typing.type_check_only -class GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit(typing.TypedDict, total=False): encodedData: str entriesCount: int firstValue: int riceParameter: int @typing.type_check_only -class GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit(typing.TypedDict, total=False): encodedData: str entriesCount: int firstValue: str riceParameter: int @typing.type_check_only -class GoogleSecuritySafebrowsingV5SearchHashesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5SearchHashesResponse(typing.TypedDict, total=False): cacheDuration: str fullHashes: _list[GoogleSecuritySafebrowsingV5FullHash] @typing.type_check_only -class GoogleSecuritySafebrowsingV5SearchUrlsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleSecuritySafebrowsingV5SearchUrlsResponse(typing.TypedDict, total=False): cacheDuration: str threats: _list[GoogleSecuritySafebrowsingV5ThreatUrl] @typing.type_check_only -class GoogleSecuritySafebrowsingV5ThreatUrl(typing_extensions.TypedDict, total=False): +class GoogleSecuritySafebrowsingV5ThreatUrl(typing.TypedDict, total=False): threatTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", diff --git a/googleapiclient-stubs/_apis/sasportal/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/sasportal/v1alpha1/resources.pyi index b32ebe5d2..c111add39 100644 --- a/googleapiclient-stubs/_apis/sasportal/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/sasportal/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/sasportal/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/sasportal/v1alpha1/schemas.pyi index 6d09455ee..56d923c31 100644 --- a/googleapiclient-stubs/_apis/sasportal/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sasportal/v1alpha1/schemas.pyi @@ -1,44 +1,42 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class SasPortalAssignment(typing_extensions.TypedDict, total=False): +class SasPortalAssignment(typing.TypedDict, total=False): members: _list[str] role: str @typing.type_check_only -class SasPortalChannelWithScore(typing_extensions.TypedDict, total=False): +class SasPortalChannelWithScore(typing.TypedDict, total=False): frequencyRange: SasPortalFrequencyRange score: float @typing.type_check_only -class SasPortalCreateSignedDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalCreateSignedDeviceRequest(typing.TypedDict, total=False): encodedDevice: str installerId: str @typing.type_check_only -class SasPortalCustomer(typing_extensions.TypedDict, total=False): +class SasPortalCustomer(typing.TypedDict, total=False): displayName: str name: str sasUserIds: _list[str] @typing.type_check_only -class SasPortalDeployment(typing_extensions.TypedDict, total=False): +class SasPortalDeployment(typing.TypedDict, total=False): displayName: str frns: _list[str] name: str sasUserIds: _list[str] @typing.type_check_only -class SasPortalDeploymentAssociation(typing_extensions.TypedDict, total=False): +class SasPortalDeploymentAssociation(typing.TypedDict, total=False): gcpProjectId: str userId: str @typing.type_check_only -class SasPortalDevice(typing_extensions.TypedDict, total=False): +class SasPortalDevice(typing.TypedDict, total=False): activeConfig: SasPortalDeviceConfig currentChannels: _list[SasPortalChannelWithScore] deviceMetadata: SasPortalDeviceMetadata @@ -49,13 +47,13 @@ class SasPortalDevice(typing_extensions.TypedDict, total=False): name: str preloadedConfig: SasPortalDeviceConfig serialNumber: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DEVICE_STATE_UNSPECIFIED", "RESERVED", "REGISTERED", "DEREGISTERED" ] @typing.type_check_only -class SasPortalDeviceAirInterface(typing_extensions.TypedDict, total=False): - radioTechnology: typing_extensions.Literal[ +class SasPortalDeviceAirInterface(typing.TypedDict, total=False): + radioTechnology: typing.Literal[ "RADIO_TECHNOLOGY_UNSPECIFIED", "E_UTRA", "CAMBIUM_NETWORKS", @@ -70,31 +68,29 @@ class SasPortalDeviceAirInterface(typing_extensions.TypedDict, total=False): supportedSpec: str @typing.type_check_only -class SasPortalDeviceConfig(typing_extensions.TypedDict, total=False): +class SasPortalDeviceConfig(typing.TypedDict, total=False): airInterface: SasPortalDeviceAirInterface callSign: str - category: typing_extensions.Literal[ + category: typing.Literal[ "DEVICE_CATEGORY_UNSPECIFIED", "DEVICE_CATEGORY_A", "DEVICE_CATEGORY_B" ] installationParams: SasPortalInstallationParams isSigned: bool measurementCapabilities: _list[ - typing_extensions.Literal[ + typing.Literal[ "MEASUREMENT_CAPABILITY_UNSPECIFIED", "MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITH_GRANT", "MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITHOUT_GRANT", ] ] model: SasPortalDeviceModel - state: typing_extensions.Literal[ - "DEVICE_CONFIG_STATE_UNSPECIFIED", "DRAFT", "FINAL" - ] + state: typing.Literal["DEVICE_CONFIG_STATE_UNSPECIFIED", "DRAFT", "FINAL"] updateTime: str userId: str @typing.type_check_only -class SasPortalDeviceGrant(typing_extensions.TypedDict, total=False): - channelType: typing_extensions.Literal[ +class SasPortalDeviceGrant(typing.TypedDict, total=False): + channelType: typing.Literal[ "CHANNEL_TYPE_UNSPECIFIED", "CHANNEL_TYPE_GAA", "CHANNEL_TYPE_PAL" ] expireTime: str @@ -103,7 +99,7 @@ class SasPortalDeviceGrant(typing_extensions.TypedDict, total=False): lastHeartbeatTransmitExpireTime: str maxEirp: float moveList: _list[SasPortalDpaMoveList] - state: typing_extensions.Literal[ + state: typing.Literal[ "GRANT_STATE_UNSPECIFIED", "GRANT_STATE_GRANTED", "GRANT_STATE_TERMINATED", @@ -114,7 +110,7 @@ class SasPortalDeviceGrant(typing_extensions.TypedDict, total=False): suspensionReason: _list[str] @typing.type_check_only -class SasPortalDeviceMetadata(typing_extensions.TypedDict, total=False): +class SasPortalDeviceMetadata(typing.TypedDict, total=False): antennaModel: str commonChannelGroup: str interferenceCoordinationGroup: str @@ -122,7 +118,7 @@ class SasPortalDeviceMetadata(typing_extensions.TypedDict, total=False): nrqzValidation: SasPortalNrqzValidation @typing.type_check_only -class SasPortalDeviceModel(typing_extensions.TypedDict, total=False): +class SasPortalDeviceModel(typing.TypedDict, total=False): firmwareVersion: str hardwareVersion: str name: str @@ -130,36 +126,36 @@ class SasPortalDeviceModel(typing_extensions.TypedDict, total=False): vendor: str @typing.type_check_only -class SasPortalDpaMoveList(typing_extensions.TypedDict, total=False): +class SasPortalDpaMoveList(typing.TypedDict, total=False): dpaId: str frequencyRange: SasPortalFrequencyRange @typing.type_check_only -class SasPortalEmpty(typing_extensions.TypedDict, total=False): ... +class SasPortalEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalFrequencyRange(typing_extensions.TypedDict, total=False): +class SasPortalFrequencyRange(typing.TypedDict, total=False): highFrequencyMhz: float lowFrequencyMhz: float @typing.type_check_only -class SasPortalGcpProjectDeployment(typing_extensions.TypedDict, total=False): +class SasPortalGcpProjectDeployment(typing.TypedDict, total=False): deployment: SasPortalDeployment hasEnabledAnalytics: bool @typing.type_check_only -class SasPortalGenerateSecretRequest(typing_extensions.TypedDict, total=False): ... +class SasPortalGenerateSecretRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalGenerateSecretResponse(typing_extensions.TypedDict, total=False): +class SasPortalGenerateSecretResponse(typing.TypedDict, total=False): secret: str @typing.type_check_only -class SasPortalGetPolicyRequest(typing_extensions.TypedDict, total=False): +class SasPortalGetPolicyRequest(typing.TypedDict, total=False): resource: str @typing.type_check_only -class SasPortalInstallationParams(typing_extensions.TypedDict, total=False): +class SasPortalInstallationParams(typing.TypedDict, total=False): antennaAzimuth: int antennaBeamwidth: int antennaDowntilt: int @@ -168,7 +164,7 @@ class SasPortalInstallationParams(typing_extensions.TypedDict, total=False): cpeCbsdIndication: bool eirpCapability: int height: float - heightType: typing_extensions.Literal[ + heightType: typing.Literal[ "HEIGHT_TYPE_UNSPECIFIED", "HEIGHT_TYPE_AGL", "HEIGHT_TYPE_AMSL" ] horizontalAccuracy: float @@ -178,40 +174,36 @@ class SasPortalInstallationParams(typing_extensions.TypedDict, total=False): verticalAccuracy: float @typing.type_check_only -class SasPortalListCustomersResponse(typing_extensions.TypedDict, total=False): +class SasPortalListCustomersResponse(typing.TypedDict, total=False): customers: _list[SasPortalCustomer] nextPageToken: str @typing.type_check_only -class SasPortalListDeploymentsResponse(typing_extensions.TypedDict, total=False): +class SasPortalListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[SasPortalDeployment] nextPageToken: str @typing.type_check_only -class SasPortalListDevicesResponse(typing_extensions.TypedDict, total=False): +class SasPortalListDevicesResponse(typing.TypedDict, total=False): devices: _list[SasPortalDevice] nextPageToken: str @typing.type_check_only -class SasPortalListGcpProjectDeploymentsResponse( - typing_extensions.TypedDict, total=False -): +class SasPortalListGcpProjectDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[SasPortalGcpProjectDeployment] @typing.type_check_only -class SasPortalListLegacyOrganizationsResponse( - typing_extensions.TypedDict, total=False -): +class SasPortalListLegacyOrganizationsResponse(typing.TypedDict, total=False): organizations: _list[SasPortalOrganization] @typing.type_check_only -class SasPortalListNodesResponse(typing_extensions.TypedDict, total=False): +class SasPortalListNodesResponse(typing.TypedDict, total=False): nextPageToken: str nodes: _list[SasPortalNode] @typing.type_check_only -class SasPortalMigrateOrganizationMetadata(typing_extensions.TypedDict, total=False): - operationState: typing_extensions.Literal[ +class SasPortalMigrateOrganizationMetadata(typing.TypedDict, total=False): + operationState: typing.Literal[ "OPERATION_STATE_UNSPECIFIED", "OPERATION_STATE_PENDING", "OPERATION_STATE_RUNNING", @@ -220,41 +212,41 @@ class SasPortalMigrateOrganizationMetadata(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class SasPortalMigrateOrganizationRequest(typing_extensions.TypedDict, total=False): +class SasPortalMigrateOrganizationRequest(typing.TypedDict, total=False): organizationId: str @typing.type_check_only -class SasPortalMigrateOrganizationResponse(typing_extensions.TypedDict, total=False): +class SasPortalMigrateOrganizationResponse(typing.TypedDict, total=False): deploymentAssociation: _list[SasPortalDeploymentAssociation] @typing.type_check_only -class SasPortalMoveDeploymentRequest(typing_extensions.TypedDict, total=False): +class SasPortalMoveDeploymentRequest(typing.TypedDict, total=False): destination: str @typing.type_check_only -class SasPortalMoveDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalMoveDeviceRequest(typing.TypedDict, total=False): destination: str @typing.type_check_only -class SasPortalMoveNodeRequest(typing_extensions.TypedDict, total=False): +class SasPortalMoveNodeRequest(typing.TypedDict, total=False): destination: str @typing.type_check_only -class SasPortalNode(typing_extensions.TypedDict, total=False): +class SasPortalNode(typing.TypedDict, total=False): displayName: str name: str sasUserIds: _list[str] @typing.type_check_only -class SasPortalNrqzValidation(typing_extensions.TypedDict, total=False): +class SasPortalNrqzValidation(typing.TypedDict, total=False): caseId: str cpiId: str latitude: float longitude: float - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "FINAL"] + state: typing.Literal["STATE_UNSPECIFIED", "DRAFT", "FINAL"] @typing.type_check_only -class SasPortalOperation(typing_extensions.TypedDict, total=False): +class SasPortalOperation(typing.TypedDict, total=False): done: bool error: SasPortalStatus metadata: dict[str, typing.Any] @@ -262,70 +254,70 @@ class SasPortalOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class SasPortalOrganization(typing_extensions.TypedDict, total=False): +class SasPortalOrganization(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class SasPortalPolicy(typing_extensions.TypedDict, total=False): +class SasPortalPolicy(typing.TypedDict, total=False): assignments: _list[SasPortalAssignment] etag: str @typing.type_check_only -class SasPortalProvisionDeploymentRequest(typing_extensions.TypedDict, total=False): +class SasPortalProvisionDeploymentRequest(typing.TypedDict, total=False): newDeploymentDisplayName: str newOrganizationDisplayName: str organizationId: str @typing.type_check_only -class SasPortalProvisionDeploymentResponse(typing_extensions.TypedDict, total=False): +class SasPortalProvisionDeploymentResponse(typing.TypedDict, total=False): errorMessage: str @typing.type_check_only -class SasPortalSetPolicyRequest(typing_extensions.TypedDict, total=False): +class SasPortalSetPolicyRequest(typing.TypedDict, total=False): disableNotification: bool policy: SasPortalPolicy resource: str @typing.type_check_only -class SasPortalSetupSasAnalyticsMetadata(typing_extensions.TypedDict, total=False): ... +class SasPortalSetupSasAnalyticsMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalSetupSasAnalyticsRequest(typing_extensions.TypedDict, total=False): +class SasPortalSetupSasAnalyticsRequest(typing.TypedDict, total=False): userId: str @typing.type_check_only -class SasPortalSetupSasAnalyticsResponse(typing_extensions.TypedDict, total=False): ... +class SasPortalSetupSasAnalyticsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SasPortalSignDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalSignDeviceRequest(typing.TypedDict, total=False): device: SasPortalDevice @typing.type_check_only -class SasPortalStatus(typing_extensions.TypedDict, total=False): +class SasPortalStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SasPortalTestPermissionsRequest(typing_extensions.TypedDict, total=False): +class SasPortalTestPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] resource: str @typing.type_check_only -class SasPortalTestPermissionsResponse(typing_extensions.TypedDict, total=False): +class SasPortalTestPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class SasPortalUpdateSignedDeviceRequest(typing_extensions.TypedDict, total=False): +class SasPortalUpdateSignedDeviceRequest(typing.TypedDict, total=False): encodedDevice: str installerId: str @typing.type_check_only -class SasPortalValidateInstallerRequest(typing_extensions.TypedDict, total=False): +class SasPortalValidateInstallerRequest(typing.TypedDict, total=False): encodedSecret: str installerId: str secret: str @typing.type_check_only -class SasPortalValidateInstallerResponse(typing_extensions.TypedDict, total=False): ... +class SasPortalValidateInstallerResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/script/v1/resources.pyi b/googleapiclient-stubs/_apis/script/v1/resources.pyi index ea1cfbeb0..849dff0ed 100644 --- a/googleapiclient-stubs/_apis/script/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/script/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -26,7 +25,7 @@ class ScriptResource(googleapiclient.discovery.Resource): userProcessFilter_projectName: str | None = ..., userProcessFilter_scriptId: str | None = ..., userProcessFilter_startTime: str | None = ..., - userProcessFilter_statuses: typing_extensions.Literal[ + userProcessFilter_statuses: typing.Literal[ "PROCESS_STATUS_UNSPECIFIED", "RUNNING", "PAUSED", @@ -39,7 +38,7 @@ class ScriptResource(googleapiclient.discovery.Resource): "EXECUTION_DISABLED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PROCESS_STATUS_UNSPECIFIED", "RUNNING", "PAUSED", @@ -53,7 +52,7 @@ class ScriptResource(googleapiclient.discovery.Resource): ] ] | None = ..., - userProcessFilter_types: typing_extensions.Literal[ + userProcessFilter_types: typing.Literal[ "PROCESS_TYPE_UNSPECIFIED", "ADD_ON", "EXECUTION_API", @@ -66,7 +65,7 @@ class ScriptResource(googleapiclient.discovery.Resource): "BATCH_TASK", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PROCESS_TYPE_UNSPECIFIED", "ADD_ON", "EXECUTION_API", @@ -80,11 +79,11 @@ class ScriptResource(googleapiclient.discovery.Resource): ] ] | None = ..., - userProcessFilter_userAccessLevels: typing_extensions.Literal[ + userProcessFilter_userAccessLevels: typing.Literal[ "USER_ACCESS_LEVEL_UNSPECIFIED", "NONE", "READ", "WRITE", "OWNER" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "USER_ACCESS_LEVEL_UNSPECIFIED", "NONE", "READ", "WRITE", "OWNER" ] ] @@ -106,7 +105,7 @@ class ScriptResource(googleapiclient.discovery.Resource): scriptProcessFilter_endTime: str | None = ..., scriptProcessFilter_functionName: str | None = ..., scriptProcessFilter_startTime: str | None = ..., - scriptProcessFilter_statuses: typing_extensions.Literal[ + scriptProcessFilter_statuses: typing.Literal[ "PROCESS_STATUS_UNSPECIFIED", "RUNNING", "PAUSED", @@ -119,7 +118,7 @@ class ScriptResource(googleapiclient.discovery.Resource): "EXECUTION_DISABLED", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PROCESS_STATUS_UNSPECIFIED", "RUNNING", "PAUSED", @@ -133,7 +132,7 @@ class ScriptResource(googleapiclient.discovery.Resource): ] ] | None = ..., - scriptProcessFilter_types: typing_extensions.Literal[ + scriptProcessFilter_types: typing.Literal[ "PROCESS_TYPE_UNSPECIFIED", "ADD_ON", "EXECUTION_API", @@ -146,7 +145,7 @@ class ScriptResource(googleapiclient.discovery.Resource): "BATCH_TASK", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "PROCESS_TYPE_UNSPECIFIED", "ADD_ON", "EXECUTION_API", @@ -160,11 +159,11 @@ class ScriptResource(googleapiclient.discovery.Resource): ] ] | None = ..., - scriptProcessFilter_userAccessLevels: typing_extensions.Literal[ + scriptProcessFilter_userAccessLevels: typing.Literal[ "USER_ACCESS_LEVEL_UNSPECIFIED", "NONE", "READ", "WRITE", "OWNER" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "USER_ACCESS_LEVEL_UNSPECIFIED", "NONE", "READ", "WRITE", "OWNER" ] ] @@ -250,7 +249,7 @@ class ScriptResource(googleapiclient.discovery.Resource): *, scriptId: str, metricsFilter_deploymentId: str | None = ..., - metricsGranularity: typing_extensions.Literal[ + metricsGranularity: typing.Literal[ "UNSPECIFIED_GRANULARITY", "WEEKLY", "DAILY" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/script/v1/schemas.pyi b/googleapiclient-stubs/_apis/script/v1/schemas.pyi index 2a5b67973..912940f64 100644 --- a/googleapiclient-stubs/_apis/script/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/script/v1/schemas.pyi @@ -1,77 +1,73 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Content(typing_extensions.TypedDict, total=False): +class Content(typing.TypedDict, total=False): files: _list[File] scriptId: str @typing.type_check_only -class CreateProjectRequest(typing_extensions.TypedDict, total=False): +class CreateProjectRequest(typing.TypedDict, total=False): parentId: str title: str @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): deploymentConfig: DeploymentConfig deploymentId: str entryPoints: _list[EntryPoint] updateTime: str @typing.type_check_only -class DeploymentConfig(typing_extensions.TypedDict, total=False): +class DeploymentConfig(typing.TypedDict, total=False): description: str manifestFileName: str scriptId: str versionNumber: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EntryPoint(typing_extensions.TypedDict, total=False): +class EntryPoint(typing.TypedDict, total=False): addOn: GoogleAppsScriptTypeAddOnEntryPoint - entryPointType: typing_extensions.Literal[ + entryPointType: typing.Literal[ "ENTRY_POINT_TYPE_UNSPECIFIED", "WEB_APP", "EXECUTION_API", "ADD_ON" ] executionApi: GoogleAppsScriptTypeExecutionApiEntryPoint webApp: GoogleAppsScriptTypeWebAppEntryPoint @typing.type_check_only -class ExecutionError(typing_extensions.TypedDict, total=False): +class ExecutionError(typing.TypedDict, total=False): errorMessage: str errorType: str scriptStackTraceElements: _list[ScriptStackTraceElement] @typing.type_check_only -class ExecutionRequest(typing_extensions.TypedDict, total=False): +class ExecutionRequest(typing.TypedDict, total=False): devMode: bool function: str parameters: _list[typing.Any] sessionState: str @typing.type_check_only -class ExecutionResponse(typing_extensions.TypedDict, total=False): +class ExecutionResponse(typing.TypedDict, total=False): result: typing.Any @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): createTime: str functionSet: GoogleAppsScriptTypeFunctionSet lastModifyUser: GoogleAppsScriptTypeUser name: str source: str - type: typing_extensions.Literal[ - "ENUM_TYPE_UNSPECIFIED", "SERVER_JS", "HTML", "JSON" - ] + type: typing.Literal["ENUM_TYPE_UNSPECIFIED", "SERVER_JS", "HTML", "JSON"] updateTime: str @typing.type_check_only -class GoogleAppsScriptTypeAddOnEntryPoint(typing_extensions.TypedDict, total=False): - addOnType: typing_extensions.Literal["UNKNOWN_ADDON_TYPE", "GMAIL", "DATA_STUDIO"] +class GoogleAppsScriptTypeAddOnEntryPoint(typing.TypedDict, total=False): + addOnType: typing.Literal["UNKNOWN_ADDON_TYPE", "GMAIL", "DATA_STUDIO"] description: str helpUrl: str postInstallTipUrl: str @@ -79,31 +75,29 @@ class GoogleAppsScriptTypeAddOnEntryPoint(typing_extensions.TypedDict, total=Fal title: str @typing.type_check_only -class GoogleAppsScriptTypeExecutionApiConfig(typing_extensions.TypedDict, total=False): - access: typing_extensions.Literal[ +class GoogleAppsScriptTypeExecutionApiConfig(typing.TypedDict, total=False): + access: typing.Literal[ "UNKNOWN_ACCESS", "MYSELF", "DOMAIN", "ANYONE", "ANYONE_ANONYMOUS" ] @typing.type_check_only -class GoogleAppsScriptTypeExecutionApiEntryPoint( - typing_extensions.TypedDict, total=False -): +class GoogleAppsScriptTypeExecutionApiEntryPoint(typing.TypedDict, total=False): entryPointConfig: GoogleAppsScriptTypeExecutionApiConfig @typing.type_check_only -class GoogleAppsScriptTypeFunction(typing_extensions.TypedDict, total=False): +class GoogleAppsScriptTypeFunction(typing.TypedDict, total=False): name: str parameters: _list[str] @typing.type_check_only -class GoogleAppsScriptTypeFunctionSet(typing_extensions.TypedDict, total=False): +class GoogleAppsScriptTypeFunctionSet(typing.TypedDict, total=False): values: _list[GoogleAppsScriptTypeFunction] @typing.type_check_only -class GoogleAppsScriptTypeProcess(typing_extensions.TypedDict, total=False): +class GoogleAppsScriptTypeProcess(typing.TypedDict, total=False): duration: str functionName: str - processStatus: typing_extensions.Literal[ + processStatus: typing.Literal[ "PROCESS_STATUS_UNSPECIFIED", "RUNNING", "PAUSED", @@ -115,7 +109,7 @@ class GoogleAppsScriptTypeProcess(typing_extensions.TypedDict, total=False): "DELAYED", "EXECUTION_DISABLED", ] - processType: typing_extensions.Literal[ + processType: typing.Literal[ "PROCESS_TYPE_UNSPECIFIED", "ADD_ON", "EXECUTION_API", @@ -128,75 +122,73 @@ class GoogleAppsScriptTypeProcess(typing_extensions.TypedDict, total=False): "BATCH_TASK", ] projectName: str - runtimeVersion: typing_extensions.Literal[ + runtimeVersion: typing.Literal[ "RUNTIME_VERSION_UNSPECIFIED", "DEPRECATED_ES5", "V8" ] startTime: str - userAccessLevel: typing_extensions.Literal[ + userAccessLevel: typing.Literal[ "USER_ACCESS_LEVEL_UNSPECIFIED", "NONE", "READ", "WRITE", "OWNER" ] @typing.type_check_only -class GoogleAppsScriptTypeUser(typing_extensions.TypedDict, total=False): +class GoogleAppsScriptTypeUser(typing.TypedDict, total=False): domain: str email: str name: str photoUrl: str @typing.type_check_only -class GoogleAppsScriptTypeWebAppConfig(typing_extensions.TypedDict, total=False): - access: typing_extensions.Literal[ +class GoogleAppsScriptTypeWebAppConfig(typing.TypedDict, total=False): + access: typing.Literal[ "UNKNOWN_ACCESS", "MYSELF", "DOMAIN", "ANYONE", "ANYONE_ANONYMOUS" ] - executeAs: typing_extensions.Literal[ - "UNKNOWN_EXECUTE_AS", "USER_ACCESSING", "USER_DEPLOYING" - ] + executeAs: typing.Literal["UNKNOWN_EXECUTE_AS", "USER_ACCESSING", "USER_DEPLOYING"] @typing.type_check_only -class GoogleAppsScriptTypeWebAppEntryPoint(typing_extensions.TypedDict, total=False): +class GoogleAppsScriptTypeWebAppEntryPoint(typing.TypedDict, total=False): entryPointConfig: GoogleAppsScriptTypeWebAppConfig url: str @typing.type_check_only -class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str @typing.type_check_only -class ListScriptProcessesResponse(typing_extensions.TypedDict, total=False): +class ListScriptProcessesResponse(typing.TypedDict, total=False): nextPageToken: str processes: _list[GoogleAppsScriptTypeProcess] @typing.type_check_only -class ListUserProcessesResponse(typing_extensions.TypedDict, total=False): +class ListUserProcessesResponse(typing.TypedDict, total=False): nextPageToken: str processes: _list[GoogleAppsScriptTypeProcess] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class Metrics(typing_extensions.TypedDict, total=False): +class Metrics(typing.TypedDict, total=False): activeUsers: _list[MetricsValue] failedExecutions: _list[MetricsValue] totalExecutions: _list[MetricsValue] @typing.type_check_only -class MetricsValue(typing_extensions.TypedDict, total=False): +class MetricsValue(typing.TypedDict, total=False): endTime: str startTime: str value: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status response: dict[str, typing.Any] @typing.type_check_only -class Project(typing_extensions.TypedDict, total=False): +class Project(typing.TypedDict, total=False): createTime: str creator: GoogleAppsScriptTypeUser lastModifyUser: GoogleAppsScriptTypeUser @@ -206,22 +198,22 @@ class Project(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ScriptStackTraceElement(typing_extensions.TypedDict, total=False): +class ScriptStackTraceElement(typing.TypedDict, total=False): function: str lineNumber: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class UpdateDeploymentRequest(typing_extensions.TypedDict, total=False): +class UpdateDeploymentRequest(typing.TypedDict, total=False): deploymentConfig: DeploymentConfig @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): createTime: str description: str scriptId: str diff --git a/googleapiclient-stubs/_apis/searchads360/v0/resources.pyi b/googleapiclient-stubs/_apis/searchads360/v0/resources.pyi index da3605388..516bfb017 100644 --- a/googleapiclient-stubs/_apis/searchads360/v0/resources.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v0/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi index ee89a42e0..5b283b22d 100644 --- a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi @@ -1,14 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleAdsSearchads360V0Common__AdScheduleInfo( - typing_extensions.TypedDict, total=False -): - dayOfWeek: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Common__AdScheduleInfo(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MONDAY", @@ -20,25 +16,21 @@ class GoogleAdsSearchads360V0Common__AdScheduleInfo( "SUNDAY", ] endHour: int - endMinute: typing_extensions.Literal[ + endMinute: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ZERO", "FIFTEEN", "THIRTY", "FORTY_FIVE" ] startHour: int - startMinute: typing_extensions.Literal[ + startMinute: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ZERO", "FIFTEEN", "THIRTY", "FORTY_FIVE" ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__AdTextAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__AdTextAsset(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__AgeRangeInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Common__AgeRangeInfo(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AGE_RANGE_18_24", @@ -52,17 +44,15 @@ class GoogleAdsSearchads360V0Common__AgeRangeInfo( @typing.type_check_only class GoogleAdsSearchads360V0Common__AssetInteractionTarget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str interactionOnThisAsset: bool @typing.type_check_only -class GoogleAdsSearchads360V0Common__AssetUsage( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__AssetUsage(typing.TypedDict, total=False): asset: str - servedAssetFieldType: typing_extensions.Literal[ + servedAssetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE_1", @@ -103,24 +93,20 @@ class GoogleAdsSearchads360V0Common__AssetUsage( ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__AudienceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__AudienceInfo(typing.TypedDict, total=False): audience: str @typing.type_check_only class GoogleAdsSearchads360V0Common__BusinessProfileLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: _list[str] listingId: str storeCode: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__CallToActionAsset( - typing_extensions.TypedDict, total=False -): - callToAction: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Common__CallToActionAsset(typing.TypedDict, total=False): + callToAction: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEARN_MORE", @@ -143,52 +129,38 @@ class GoogleAdsSearchads360V0Common__CallToActionAsset( ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__CustomParameter( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__CustomParameter(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__DeviceInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Common__DeviceInfo(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV", "OTHER" ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__EnhancedCpc( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V0Common__EnhancedCpc(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAdsSearchads360V0Common__FinalAppUrl( - typing_extensions.TypedDict, total=False -): - osType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "IOS", "ANDROID"] +class GoogleAdsSearchads360V0Common__FinalAppUrl(typing.TypedDict, total=False): + osType: typing.Literal["UNSPECIFIED", "UNKNOWN", "IOS", "ANDROID"] url: str @typing.type_check_only class GoogleAdsSearchads360V0Common__FrequencyCapEntry( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAdsSearchads360V0Common__GenderInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "MALE", "FEMALE", "UNDETERMINED" - ] +class GoogleAdsSearchads360V0Common__GenderInfo(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "MALE", "FEMALE", "UNDETERMINED"] @typing.type_check_only -class GoogleAdsSearchads360V0Common__ImageAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__ImageAsset(typing.TypedDict, total=False): fileSize: str fullSize: GoogleAdsSearchads360V0Common__ImageDimension - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "IMAGE_JPEG", @@ -206,90 +178,68 @@ class GoogleAdsSearchads360V0Common__ImageAsset( ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__ImageDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__ImageDimension(typing.TypedDict, total=False): heightPixels: str url: str widthPixels: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__Keyword(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Common__Keyword(typing.TypedDict, total=False): adGroupCriterion: str info: GoogleAdsSearchads360V0Common__KeywordInfo @typing.type_check_only -class GoogleAdsSearchads360V0Common__KeywordInfo( - typing_extensions.TypedDict, total=False -): - matchType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD" - ] +class GoogleAdsSearchads360V0Common__KeywordInfo(typing.TypedDict, total=False): + matchType: typing.Literal["UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD"] text: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__LanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__LanguageInfo(typing.TypedDict, total=False): languageConstant: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__ListingGroupInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "SUBDIVISION", "UNIT"] +class GoogleAdsSearchads360V0Common__ListingGroupInfo(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "SUBDIVISION", "UNIT"] @typing.type_check_only -class GoogleAdsSearchads360V0Common__LocationGroupInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__LocationGroupInfo(typing.TypedDict, total=False): feedItemSets: _list[str] geoTargetConstants: _list[str] radius: str - radiusUnits: typing_extensions.Literal[ + radiusUnits: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "METERS", "MILES", "MILLI_MILES" ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__LocationInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__LocationInfo(typing.TypedDict, total=False): geoTargetConstant: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__ManualCpa( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V0Common__ManualCpa(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAdsSearchads360V0Common__ManualCpc( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__ManualCpc(typing.TypedDict, total=False): enhancedCpcEnabled: bool @typing.type_check_only -class GoogleAdsSearchads360V0Common__ManualCpm( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V0Common__ManualCpm(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleAdsSearchads360V0Common__MaximizeConversionValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str cpcBidFloorMicros: str targetRoas: float @typing.type_check_only -class GoogleAdsSearchads360V0Common__MaximizeConversions( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__MaximizeConversions(typing.TypedDict, total=False): cpcBidCeilingMicros: str cpcBidFloorMicros: str targetCpaMicros: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Common__Metrics(typing.TypedDict, total=False): absoluteTopImpressionPercentage: float allConversions: float allConversionsByConversionDate: float @@ -353,19 +303,19 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= generalInvalidClicks: str grossProfitMargin: float grossProfitMicros: str - historicalCreativeQualityScore: typing_extensions.Literal[ + historicalCreativeQualityScore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] - historicalLandingPageQualityScore: typing_extensions.Literal[ + historicalLandingPageQualityScore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] historicalQualityScore: str - historicalSearchPredictedCtr: typing_extensions.Literal[ + historicalSearchPredictedCtr: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] impressions: str interactionEventTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICK", "ENGAGEMENT", "VIDEO_VIEW", "NONE" ] ] @@ -402,30 +352,26 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= visits: float @typing.type_check_only -class GoogleAdsSearchads360V0Common__MobileAppAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__MobileAppAsset(typing.TypedDict, total=False): appId: str - appStore: typing_extensions.Literal[ + appStore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_APP_STORE" ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__PercentCpc( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__PercentCpc(typing.TypedDict, total=False): cpcBidCeilingMicros: str enhancedCpcEnabled: bool @typing.type_check_only class GoogleAdsSearchads360V0Common__RealTimeBiddingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): optIn: bool @typing.type_check_only class GoogleAdsSearchads360V0Common__SearchAds360ExpandedDynamicSearchAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str description1: str @@ -433,7 +379,7 @@ class GoogleAdsSearchads360V0Common__SearchAds360ExpandedDynamicSearchAdInfo( @typing.type_check_only class GoogleAdsSearchads360V0Common__SearchAds360ExpandedTextAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str description1: str @@ -446,12 +392,12 @@ class GoogleAdsSearchads360V0Common__SearchAds360ExpandedTextAdInfo( @typing.type_check_only class GoogleAdsSearchads360V0Common__SearchAds360ProductAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V0Common__SearchAds360ResponsiveSearchAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str descriptions: _list[GoogleAdsSearchads360V0Common__AdTextAsset] @@ -461,7 +407,7 @@ class GoogleAdsSearchads360V0Common__SearchAds360ResponsiveSearchAdInfo( @typing.type_check_only class GoogleAdsSearchads360V0Common__SearchAds360TextAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str description1: str @@ -471,15 +417,15 @@ class GoogleAdsSearchads360V0Common__SearchAds360TextAdInfo( headline: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total=False): - adFormatType: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Common__Segments(typing.TypedDict, total=False): + adFormatType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VERTICAL_ADS_PROMOTION", "VERTICAL_ADS_BOOKING_LINK", "TEXT", ] - adNetworkType: typing_extensions.Literal[ + adNetworkType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -491,7 +437,7 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total ] assetInteractionTarget: GoogleAdsSearchads360V0Common__AssetInteractionTarget conversionAction: str - conversionActionCategory: typing_extensions.Literal[ + conversionActionCategory: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEFAULT", @@ -520,7 +466,7 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total conversionActionName: str conversionCustomDimensions: _list[GoogleAdsSearchads360V0Common__Value] date: str - dayOfWeek: typing_extensions.Literal[ + dayOfWeek: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MONDAY", @@ -531,7 +477,7 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total "SATURDAY", "SUNDAY", ] - device: typing_extensions.Literal[ + device: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV", "OTHER" ] geoTargetCity: str @@ -548,13 +494,11 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total productBiddingCategoryLevel4: str productBiddingCategoryLevel5: str productBrand: str - productChannel: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL" - ] - productChannelExclusivity: typing_extensions.Literal[ + productChannel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] + productChannelExclusivity: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SINGLE_CHANNEL", "MULTI_CHANNEL" ] - productCondition: typing_extensions.Literal[ + productCondition: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OLD", "NEW", "REFURBISHED", "USED" ] productCountry: str @@ -571,7 +515,7 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total productSoldBiddingCategoryLevel4: str productSoldBiddingCategoryLevel5: str productSoldBrand: str - productSoldCondition: typing_extensions.Literal[ + productSoldCondition: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OLD", "NEW", "REFURBISHED", "USED" ] productSoldCustomAttribute0: str @@ -603,7 +547,7 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total verticalAdsListingCountry: str verticalAdsListingRegion: str verticalAdsPartnerAccount: str - verticalAdsVertical: typing_extensions.Literal[ + verticalAdsVertical: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HOTELS", @@ -617,24 +561,40 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total year: int @typing.type_check_only -class GoogleAdsSearchads360V0Common__TargetCpa( - typing_extensions.TypedDict, total=False +class GoogleAdsSearchads360V0Common__SyntheticContentAttestation( + typing.TypedDict, total=False ): + source: typing.Literal[ + "UNSPECIFIED", + "UNKNOWN", + "ADVERTISER_ATTESTED", + "GOOGLE_GENERATED_ADVERTISER_REVIEWED", + "GOOGLE_GENERATED_FULLY_AUTOMATED", + ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOT_SYNTHETIC", "IS_SYNTHETIC"] + +@typing.type_check_only +class GoogleAdsSearchads360V0Common__SyntheticContentInfo( + typing.TypedDict, total=False +): + advertiserAttestation: GoogleAdsSearchads360V0Common__SyntheticContentAttestation + systemAttestation: GoogleAdsSearchads360V0Common__SyntheticContentAttestation + +@typing.type_check_only +class GoogleAdsSearchads360V0Common__TargetCpa(typing.TypedDict, total=False): cpcBidCeilingMicros: str cpcBidFloorMicros: str targetCpaMicros: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__TargetCpm( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V0Common__TargetCpm(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleAdsSearchads360V0Common__TargetImpressionShare( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str - location: typing_extensions.Literal[ + location: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ANYWHERE_ON_PAGE", @@ -644,17 +604,13 @@ class GoogleAdsSearchads360V0Common__TargetImpressionShare( locationFractionMicros: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__TargetOutrankShare( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__TargetOutrankShare(typing.TypedDict, total=False): cpcBidCeilingMicros: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__TargetRestriction( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__TargetRestriction(typing.TypedDict, total=False): bidOnly: bool - targetingDimension: typing_extensions.Literal[ + targetingDimension: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -668,46 +624,34 @@ class GoogleAdsSearchads360V0Common__TargetRestriction( ] @typing.type_check_only -class GoogleAdsSearchads360V0Common__TargetRoas( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__TargetRoas(typing.TypedDict, total=False): cpcBidCeilingMicros: str cpcBidFloorMicros: str targetRoas: float @typing.type_check_only -class GoogleAdsSearchads360V0Common__TargetSpend( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__TargetSpend(typing.TypedDict, total=False): cpcBidCeilingMicros: str targetSpendMicros: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__TargetingSetting( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__TargetingSetting(typing.TypedDict, total=False): targetRestrictions: _list[GoogleAdsSearchads360V0Common__TargetRestriction] @typing.type_check_only -class GoogleAdsSearchads360V0Common__TextAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__TextAsset(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__TextLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__TextLabel(typing.TypedDict, total=False): backgroundColor: str description: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__UnifiedCallAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__UnifiedCallAsset(typing.TypedDict, total=False): adScheduleTargets: _list[GoogleAdsSearchads360V0Common__AdScheduleInfo] callConversionAction: str - callConversionReportingState: typing_extensions.Literal[ + callConversionReportingState: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISABLED", @@ -723,9 +667,7 @@ class GoogleAdsSearchads360V0Common__UnifiedCallAsset( useSearcherTimeZone: bool @typing.type_check_only -class GoogleAdsSearchads360V0Common__UnifiedCalloutAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__UnifiedCalloutAsset(typing.TypedDict, total=False): adScheduleTargets: _list[GoogleAdsSearchads360V0Common__AdScheduleInfo] calloutText: str endDate: str @@ -734,26 +676,26 @@ class GoogleAdsSearchads360V0Common__UnifiedCalloutAsset( @typing.type_check_only class GoogleAdsSearchads360V0Common__UnifiedLocationAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessProfileLocations: _list[ GoogleAdsSearchads360V0Common__BusinessProfileLocation ] - locationOwnershipType: typing_extensions.Literal[ + locationOwnershipType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUSINESS_OWNER", "AFFILIATE" ] placeId: str @typing.type_check_only class GoogleAdsSearchads360V0Common__UnifiedPageFeedAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: _list[str] pageUrl: str @typing.type_check_only class GoogleAdsSearchads360V0Common__UnifiedSitelinkAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adScheduleTargets: _list[GoogleAdsSearchads360V0Common__AdScheduleInfo] description1: str @@ -766,13 +708,11 @@ class GoogleAdsSearchads360V0Common__UnifiedSitelinkAsset( useSearcherTimeZone: bool @typing.type_check_only -class GoogleAdsSearchads360V0Common__UserListInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__UserListInfo(typing.TypedDict, total=False): userList: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__Value(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Common__Value(typing.TypedDict, total=False): booleanValue: bool doubleValue: float floatValue: float @@ -781,10 +721,10 @@ class GoogleAdsSearchads360V0Common__Value(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleAdsSearchads360V0Common__WebpageConditionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): argument: str - operand: typing_extensions.Literal[ + operand: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "URL", @@ -793,35 +733,29 @@ class GoogleAdsSearchads360V0Common__WebpageConditionInfo( "PAGE_CONTENT", "CUSTOM_LABEL", ] - operator: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "EQUALS", "CONTAINS"] + operator: typing.Literal["UNSPECIFIED", "UNKNOWN", "EQUALS", "CONTAINS"] @typing.type_check_only -class GoogleAdsSearchads360V0Common__WebpageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__WebpageInfo(typing.TypedDict, total=False): conditions: _list[GoogleAdsSearchads360V0Common__WebpageConditionInfo] coveragePercentage: float criterionName: str @typing.type_check_only -class GoogleAdsSearchads360V0Common__YoutubeVideoAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Common__YoutubeVideoAsset(typing.TypedDict, total=False): youtubeVideoId: str youtubeVideoTitle: str @typing.type_check_only class GoogleAdsSearchads360V0Errors_ErrorLocation_FieldPathElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str index: int @typing.type_check_only -class GoogleAdsSearchads360V0Errors__ErrorCode( - typing_extensions.TypedDict, total=False -): - authenticationError: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Errors__ErrorCode(typing.TypedDict, total=False): + authenticationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AUTHENTICATION_ERROR", @@ -843,7 +777,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "TWO_STEP_VERIFICATION_NOT_ENROLLED", "ADVANCED_PROTECTION_NOT_ENROLLED", ] - authorizationError: typing_extensions.Literal[ + authorizationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "USER_PERMISSION_DENIED", @@ -858,7 +792,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "ACCESS_DENIED_FOR_ACCOUNT_TYPE", "METRIC_ACCESS_DENIED", ] - conversionCustomVariableError: typing_extensions.Literal[ + conversionCustomVariableError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -872,13 +806,13 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "INVALID_DIMENSION", "INCOMPATIBLE_WITH_SELECTED_RESOURCE", ] - customColumnError: typing_extensions.Literal[ + customColumnError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOM_COLUMN_NOT_FOUND", "CUSTOM_COLUMN_NOT_AVAILABLE", ] - dateError: typing_extensions.Literal[ + dateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_FIELD_VALUES_IN_DATE", @@ -892,7 +826,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE", "DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL", ] - dateRangeError: typing_extensions.Literal[ + dateRangeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_DATE", @@ -900,17 +834,18 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "CANNOT_SET_DATE_TO_PAST", "AFTER_MAXIMUM_ALLOWABLE_DATE", "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED", + "REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED", ] - distinctError: typing_extensions.Literal[ + distinctError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ELEMENT", "DUPLICATE_TYPE" ] - headerError: typing_extensions.Literal[ + headerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_USER_SELECTED_CUSTOMER_ID", "INVALID_LOGIN_CUSTOMER_ID", ] - internalError: typing_extensions.Literal[ + internalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INTERNAL_ERROR", @@ -918,10 +853,10 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "TRANSIENT_ERROR", "DEADLINE_EXCEEDED", ] - invalidParameterError: typing_extensions.Literal[ + invalidParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_CURRENCY_CODE" ] - queryError: typing_extensions.Literal[ + queryError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "QUERY_ERROR", @@ -981,10 +916,10 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "FILTER_HAS_TOO_MANY_VALUES", "REQUIRED_SEGMENT_FIELD_MISSING", ] - quotaError: typing_extensions.Literal[ + quotaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_EXHAUSTED", "RESOURCE_TEMPORARILY_EXHAUSTED" ] - requestError: typing_extensions.Literal[ + requestError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_NAME_MISSING", @@ -1013,7 +948,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "RPC_DEADLINE_TOO_SHORT", "PRODUCT_NOT_SUPPORTED", ] - sizeLimitError: typing_extensions.Literal[ + sizeLimitError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUEST_SIZE_LIMIT_EXCEEDED", @@ -1021,34 +956,24 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( ] @typing.type_check_only -class GoogleAdsSearchads360V0Errors__ErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__ErrorDetails(typing.TypedDict, total=False): quotaErrorDetails: GoogleAdsSearchads360V0Errors__QuotaErrorDetails unpublishedErrorCode: str @typing.type_check_only -class GoogleAdsSearchads360V0Errors__ErrorLocation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__ErrorLocation(typing.TypedDict, total=False): fieldPathElements: _list[ GoogleAdsSearchads360V0Errors_ErrorLocation_FieldPathElement ] @typing.type_check_only -class GoogleAdsSearchads360V0Errors__QuotaErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__QuotaErrorDetails(typing.TypedDict, total=False): rateName: str - rateScope: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER" - ] + rateScope: typing.Literal["UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER"] retryDelay: str @typing.type_check_only -class GoogleAdsSearchads360V0Errors__SearchAds360Error( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__SearchAds360Error(typing.TypedDict, total=False): details: GoogleAdsSearchads360V0Errors__ErrorDetails errorCode: GoogleAdsSearchads360V0Errors__ErrorCode location: GoogleAdsSearchads360V0Errors__ErrorLocation @@ -1056,37 +981,35 @@ class GoogleAdsSearchads360V0Errors__SearchAds360Error( trigger: GoogleAdsSearchads360V0Common__Value @typing.type_check_only -class GoogleAdsSearchads360V0Errors__SearchAds360Failure( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__SearchAds360Failure(typing.TypedDict, total=False): errors: _list[GoogleAdsSearchads360V0Errors__SearchAds360Error] requestId: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_MaximizeConversionValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetRoas: float @typing.type_check_only class GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_MaximizeConversions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetCpa: str targetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_TargetCpa( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_TargetImpressionShare( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str - location: typing_extensions.Literal[ + location: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ANYWHERE_ON_PAGE", @@ -1097,32 +1020,32 @@ class GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_TargetImpressio @typing.type_check_only class GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_TargetRoas( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetRoas: float @typing.type_check_only class GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_TargetSpend( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str targetSpendMicros: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_AdGroupCriterion_PositionEstimates( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): topOfPageCpcMicros: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_AdGroupCriterion_QualityInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qualityScore: int @typing.type_check_only class GoogleAdsSearchads360V0Resources_Campaign_DynamicSearchAdsSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): domainName: str languageCode: str @@ -1130,18 +1053,18 @@ class GoogleAdsSearchads360V0Resources_Campaign_DynamicSearchAdsSetting( @typing.type_check_only class GoogleAdsSearchads360V0Resources_Campaign_GeoTargetTypeSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - negativeGeoTargetType: typing_extensions.Literal[ + negativeGeoTargetType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PRESENCE_OR_INTEREST", "PRESENCE" ] - positiveGeoTargetType: typing_extensions.Literal[ + positiveGeoTargetType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PRESENCE_OR_INTEREST", "SEARCH_INTEREST", "PRESENCE" ] @typing.type_check_only class GoogleAdsSearchads360V0Resources_Campaign_NetworkSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetContentNetwork: bool targetGoogleSearch: bool @@ -1150,10 +1073,10 @@ class GoogleAdsSearchads360V0Resources_Campaign_NetworkSettings( @typing.type_check_only class GoogleAdsSearchads360V0Resources_Campaign_OptimizationGoalSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): optimizationGoalTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CALL_CLICKS", @@ -1164,13 +1087,13 @@ class GoogleAdsSearchads360V0Resources_Campaign_OptimizationGoalSetting( @typing.type_check_only class GoogleAdsSearchads360V0Resources_Campaign_SelectiveOptimization( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionActions: _list[str] @typing.type_check_only class GoogleAdsSearchads360V0Resources_Campaign_ShoppingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignPriority: int enableLocal: bool @@ -1181,15 +1104,15 @@ class GoogleAdsSearchads360V0Resources_Campaign_ShoppingSetting( @typing.type_check_only class GoogleAdsSearchads360V0Resources_Campaign_TrackingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trackingUrl: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_ConversionAction_AttributionModelSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionModel: typing_extensions.Literal[ + attributionModel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXTERNAL", @@ -1200,13 +1123,13 @@ class GoogleAdsSearchads360V0Resources_ConversionAction_AttributionModelSettings "GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED", "GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN", ] - dataDrivenModelStatus: typing_extensions.Literal[ + dataDrivenModelStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AVAILABLE", "STALE", "EXPIRED", "NEVER_GENERATED" ] @typing.type_check_only class GoogleAdsSearchads360V0Resources_ConversionAction_FloodlightSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activityGroupTag: str activityId: str @@ -1214,7 +1137,7 @@ class GoogleAdsSearchads360V0Resources_ConversionAction_FloodlightSettings( @typing.type_check_only class GoogleAdsSearchads360V0Resources_ConversionAction_ValueSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alwaysUseDefaultValue: bool defaultCurrencyCode: str @@ -1222,71 +1145,69 @@ class GoogleAdsSearchads360V0Resources_ConversionAction_ValueSettings( @typing.type_check_only class GoogleAdsSearchads360V0Resources_ConversionCustomVariable_FloodlightConversionCustomVariableInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - floodlightVariableDataType: typing_extensions.Literal[ + floodlightVariableDataType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NUMBER", "STRING" ] - floodlightVariableType: typing_extensions.Literal[ + floodlightVariableType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DIMENSION", "METRIC", "UNSET" ] @typing.type_check_only class GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductBiddingCategory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str - level: typing_extensions.Literal[ + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] @typing.type_check_only class GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductBrand( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductChannel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - channel: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] + channel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] @typing.type_check_only class GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED" - ] + condition: typing.Literal["UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED"] @typing.type_check_only class GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductCustomAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - index: typing_extensions.Literal[ + index: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INDEX0", "INDEX1", "INDEX2", "INDEX3", "INDEX4" ] value: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductItemId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only class GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - level: typing_extensions.Literal[ + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] value: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__AccessibleBiddingStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str maximizeConversionValue: GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_MaximizeConversionValue @@ -1303,7 +1224,7 @@ class GoogleAdsSearchads360V0Resources__AccessibleBiddingStrategy( ) targetRoas: GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_TargetRoas targetSpend: GoogleAdsSearchads360V0Resources_AccessibleBiddingStrategy_TargetSpend - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COMMISSION", @@ -1326,7 +1247,7 @@ class GoogleAdsSearchads360V0Resources__AccessibleBiddingStrategy( ] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Ad(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Resources__Ad(typing.TypedDict, total=False): displayUrl: str expandedDynamicSearchAd: ( GoogleAdsSearchads360V0Common__SearchAds360ExpandedDynamicSearchAdInfo @@ -1343,9 +1264,10 @@ class GoogleAdsSearchads360V0Resources__Ad(typing_extensions.TypedDict, total=Fa responsiveSearchAd: ( GoogleAdsSearchads360V0Common__SearchAds360ResponsiveSearchAdInfo ) + syntheticContentInfo: GoogleAdsSearchads360V0Common__SyntheticContentInfo textAd: GoogleAdsSearchads360V0Common__SearchAds360TextAdInfo trackingUrlTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TEXT_AD", @@ -1381,10 +1303,8 @@ class GoogleAdsSearchads360V0Resources__Ad(typing_extensions.TypedDict, total=Fa ] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AdGroup( - typing_extensions.TypedDict, total=False -): - adRotationMode: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Resources__AdGroup(typing.TypedDict, total=False): + adRotationMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTIMIZE", "ROTATE_FOREVER" ] cpcBidMicros: str @@ -1392,7 +1312,7 @@ class GoogleAdsSearchads360V0Resources__AdGroup( effectiveLabels: _list[str] endDate: str engineId: str - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_ELIGIBLE", @@ -1413,12 +1333,10 @@ class GoogleAdsSearchads360V0Resources__AdGroup( name: str resourceName: str startDate: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] targetingSetting: GoogleAdsSearchads360V0Common__TargetingSetting trackingUrlTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH_STANDARD", @@ -1441,14 +1359,12 @@ class GoogleAdsSearchads360V0Resources__AdGroup( ] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AdGroupAd( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AdGroupAd(typing.TypedDict, total=False): ad: GoogleAdsSearchads360V0Resources__Ad creationTime: str effectiveLabels: _list[str] engineId: str - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_AD_ELIGIBLE", @@ -1472,13 +1388,11 @@ class GoogleAdsSearchads360V0Resources__AdGroupAd( labels: _list[str] lastModifiedTime: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupAd: str label: str @@ -1486,52 +1400,42 @@ class GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AdGroupAdLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AdGroupAdLabel(typing.TypedDict, total=False): adGroupAd: str label: str ownerCustomerId: str resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AdGroupAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AdGroupAsset(typing.TypedDict, total=False): adGroup: str asset: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AdGroupAssetSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AdGroupAssetSet(typing.TypedDict, total=False): adGroup: str assetSet: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V0Resources__AdGroupAudienceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__AdGroupBidModifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bidModifier: float device: GoogleAdsSearchads360V0Common__DeviceInfo resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AdGroupCriterion( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AdGroupCriterion(typing.TypedDict, total=False): adGroup: str ageRange: GoogleAdsSearchads360V0Common__AgeRangeInfo bidModifier: float @@ -1541,7 +1445,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterion( effectiveCpcBidMicros: str effectiveLabels: _list[str] engineId: str - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_CRITERION_ELIGIBLE", @@ -1579,11 +1483,9 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterion( ) qualityInfo: GoogleAdsSearchads360V0Resources_AdGroupCriterion_QualityInfo resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] trackingUrlTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -1631,7 +1533,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterion( @typing.type_check_only class GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCriterion: str label: str @@ -1640,7 +1542,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel( @typing.type_check_only class GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCriterion: str label: str @@ -1649,7 +1551,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel( @typing.type_check_only class GoogleAdsSearchads360V0Resources__AdGroupEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str label: str @@ -1657,27 +1559,23 @@ class GoogleAdsSearchads360V0Resources__AdGroupEffectiveLabel( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AdGroupLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AdGroupLabel(typing.TypedDict, total=False): adGroup: str label: str ownerCustomerId: str resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AgeRangeView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AgeRangeView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Asset(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Resources__Asset(typing.TypedDict, total=False): callAsset: GoogleAdsSearchads360V0Common__UnifiedCallAsset callToActionAsset: GoogleAdsSearchads360V0Common__CallToActionAsset calloutAsset: GoogleAdsSearchads360V0Common__UnifiedCalloutAsset creationTime: str - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SERVING", @@ -1698,7 +1596,7 @@ class GoogleAdsSearchads360V0Resources__Asset(typing_extensions.TypedDict, total pageFeedAsset: GoogleAdsSearchads360V0Common__UnifiedPageFeedAsset resourceName: str sitelinkAsset: GoogleAdsSearchads360V0Common__UnifiedSitelinkAsset - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", @@ -1706,9 +1604,10 @@ class GoogleAdsSearchads360V0Resources__Asset(typing_extensions.TypedDict, total "ARCHIVED", "PENDING_SYSTEM_GENERATED", ] + syntheticContentInfo: GoogleAdsSearchads360V0Common__SyntheticContentInfo textAsset: GoogleAdsSearchads360V0Common__TextAsset trackingUrlTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YOUTUBE_VIDEO", @@ -1743,10 +1642,8 @@ class GoogleAdsSearchads360V0Resources__Asset(typing_extensions.TypedDict, total youtubeVideoAsset: GoogleAdsSearchads360V0Common__YoutubeVideoAsset @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AssetGroup( - typing_extensions.TypedDict, total=False -): - adStrength: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Resources__AssetGroup(typing.TypedDict, total=False): + adStrength: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -1764,17 +1661,13 @@ class GoogleAdsSearchads360V0Resources__AssetGroup( path1: str path2: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AssetGroupAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AssetGroupAsset(typing.TypedDict, total=False): asset: str assetGroup: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -1809,19 +1702,17 @@ class GoogleAdsSearchads360V0Resources__AssetGroupAsset( "CALL_TO_ACTION", ] resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only class GoogleAdsSearchads360V0Resources__AssetGroupAssetCombinationData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetCombinationServedAssets: _list[GoogleAdsSearchads360V0Common__AssetUsage] @typing.type_check_only class GoogleAdsSearchads360V0Resources__AssetGroupListingGroupFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroup: str caseValue: GoogleAdsSearchads360V0Resources__ListingGroupFilterDimension @@ -1829,22 +1720,20 @@ class GoogleAdsSearchads360V0Resources__AssetGroupListingGroupFilter( parentListingGroupFilter: str path: GoogleAdsSearchads360V0Resources__ListingGroupFilterDimensionPath resourceName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SUBDIVISION", "UNIT_INCLUDED", "UNIT_EXCLUDED" ] - vertical: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "SHOPPING"] + vertical: typing.Literal["UNSPECIFIED", "UNKNOWN", "SHOPPING"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AssetGroupSignal( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AssetGroupSignal(typing.TypedDict, total=False): assetGroup: str audience: GoogleAdsSearchads360V0Common__AudienceInfo resourceName: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__AssetGroupTopCombinationView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroupTopCombinations: _list[ GoogleAdsSearchads360V0Resources__AssetGroupAssetCombinationData @@ -1852,34 +1741,26 @@ class GoogleAdsSearchads360V0Resources__AssetGroupTopCombinationView( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AssetSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AssetSet(typing.TypedDict, total=False): id: str resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__AssetSetAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__AssetSetAsset(typing.TypedDict, total=False): asset: str assetSet: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Audience( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__Audience(typing.TypedDict, total=False): description: str id: str name: str resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__BiddingStrategy( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__BiddingStrategy(typing.TypedDict, total=False): campaignCount: str currencyCode: str effectiveCurrencyCode: str @@ -1890,13 +1771,13 @@ class GoogleAdsSearchads360V0Resources__BiddingStrategy( name: str nonRemovedCampaignCount: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] targetCpa: GoogleAdsSearchads360V0Common__TargetCpa targetImpressionShare: GoogleAdsSearchads360V0Common__TargetImpressionShare targetOutrankShare: GoogleAdsSearchads360V0Common__TargetOutrankShare targetRoas: GoogleAdsSearchads360V0Common__TargetRoas targetSpend: GoogleAdsSearchads360V0Common__TargetSpend - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COMMISSION", @@ -1919,11 +1800,9 @@ class GoogleAdsSearchads360V0Resources__BiddingStrategy( ] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Campaign( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__Campaign(typing.TypedDict, total=False): accessibleBiddingStrategy: str - adServingOptimizationStatus: typing_extensions.Literal[ + adServingOptimizationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTIMIZE", @@ -1932,7 +1811,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( "ROTATE_INDEFINITELY", "UNAVAILABLE", ] - advertisingChannelSubType: typing_extensions.Literal[ + advertisingChannelSubType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH_MOBILE_APP", @@ -1956,7 +1835,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( "TRAVEL_ACTIVITIES", "SOCIAL_FACEBOOK_TRACKING_ONLY", ] - advertisingChannelType: typing_extensions.Literal[ + advertisingChannelType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -1974,7 +1853,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( "SOCIAL", ] biddingStrategy: str - biddingStrategySystemStatus: typing_extensions.Literal[ + biddingStrategySystemStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", @@ -2003,7 +1882,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( "MULTIPLE_MISCONFIGURED", "MULTIPLE", ] - biddingStrategyType: typing_extensions.Literal[ + biddingStrategyType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COMMISSION", @@ -2034,7 +1913,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( endDate: str engineId: str excludedParentAssetFieldTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -2070,7 +1949,7 @@ class GoogleAdsSearchads360V0Resources__Campaign( ] ] feedTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PAGE_FEED", @@ -2113,14 +1992,12 @@ class GoogleAdsSearchads360V0Resources__Campaign( selectiveOptimization: ( GoogleAdsSearchads360V0Resources_Campaign_SelectiveOptimization ) - servingStatus: typing_extensions.Literal[ + servingStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SERVING", "NONE", "ENDED", "PENDING", "SUSPENDED" ] shoppingSetting: GoogleAdsSearchads360V0Resources_Campaign_ShoppingSetting startDate: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] targetCpa: GoogleAdsSearchads360V0Common__TargetCpa targetCpm: GoogleAdsSearchads360V0Common__TargetCpm targetImpressionShare: GoogleAdsSearchads360V0Common__TargetImpressionShare @@ -2132,47 +2009,37 @@ class GoogleAdsSearchads360V0Resources__Campaign( urlExpansionOptOut: bool @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CampaignAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CampaignAsset(typing.TypedDict, total=False): asset: str campaign: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CampaignAssetSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CampaignAssetSet(typing.TypedDict, total=False): assetSet: str campaign: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V0Resources__CampaignAudienceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CampaignBudget( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CampaignBudget(typing.TypedDict, total=False): amountMicros: str - deliveryMethod: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "STANDARD", "ACCELERATED" - ] - period: typing_extensions.Literal[ + deliveryMethod: typing.Literal["UNSPECIFIED", "UNKNOWN", "STANDARD", "ACCELERATED"] + period: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DAILY", "FIXED_DAILY", "CUSTOM_PERIOD" ] resourceName: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__CampaignCriterion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ageRange: GoogleAdsSearchads360V0Common__AgeRangeInfo bidModifier: float @@ -2187,10 +2054,8 @@ class GoogleAdsSearchads360V0Resources__CampaignCriterion( locationGroup: GoogleAdsSearchads360V0Common__LocationGroupInfo negative: bool resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] - type: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -2237,7 +2102,7 @@ class GoogleAdsSearchads360V0Resources__CampaignCriterion( @typing.type_check_only class GoogleAdsSearchads360V0Resources__CampaignEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str label: str @@ -2245,9 +2110,7 @@ class GoogleAdsSearchads360V0Resources__CampaignEffectiveLabel( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CampaignLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CampaignLabel(typing.TypedDict, total=False): campaign: str label: str ownerCustomerId: str @@ -2255,17 +2118,15 @@ class GoogleAdsSearchads360V0Resources__CampaignLabel( @typing.type_check_only class GoogleAdsSearchads360V0Resources__CartDataSalesView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Conversion( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__Conversion(typing.TypedDict, total=False): adId: str advertiserConversionId: str - assetFieldType: typing_extensions.Literal[ + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -2300,9 +2161,7 @@ class GoogleAdsSearchads360V0Resources__Conversion( "CALL_TO_ACTION", ] assetId: str - attributionType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "VISIT", "CRITERION_AD" - ] + attributionType: typing.Literal["UNSPECIFIED", "UNKNOWN", "VISIT", "CRITERION_AD"] clickId: str conversionDateTime: str conversionLastModifiedDateTime: str @@ -2314,26 +2173,22 @@ class GoogleAdsSearchads360V0Resources__Conversion( floodlightOriginalRevenue: str id: str merchantId: str - productChannel: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL" - ] + productChannel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] productCountryCode: str productId: str productLanguageCode: str productStoreId: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] visitId: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__ConversionAction( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__ConversionAction(typing.TypedDict, total=False): appId: str attributionModelSettings: ( GoogleAdsSearchads360V0Resources_ConversionAction_AttributionModelSettings ) - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEFAULT", @@ -2371,10 +2226,8 @@ class GoogleAdsSearchads360V0Resources__ConversionAction( ownerCustomer: str primaryForGoal: bool resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "HIDDEN" - ] - type: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "HIDDEN"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_CALL", @@ -2422,9 +2275,9 @@ class GoogleAdsSearchads360V0Resources__ConversionAction( @typing.type_check_only class GoogleAdsSearchads360V0Resources__ConversionCustomVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - cardinality: typing_extensions.Literal[ + cardinality: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_ALL_LIMITS", @@ -2433,26 +2286,24 @@ class GoogleAdsSearchads360V0Resources__ConversionCustomVariable( "EXCEEDS_STATS_LIMIT", ] customColumnIds: _list[str] - family: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "STANDARD", "FLOODLIGHT" - ] + family: typing.Literal["UNSPECIFIED", "UNKNOWN", "STANDARD", "FLOODLIGHT"] floodlightConversionCustomVariableInfo: GoogleAdsSearchads360V0Resources_ConversionCustomVariable_FloodlightConversionCustomVariableInfo id: str name: str ownerCustomer: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTIVATION_NEEDED", "ENABLED", "PAUSED" ] tag: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__ConversionTrackingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptedCustomerDataTerms: bool conversionTrackingId: str - conversionTrackingStatus: typing_extensions.Literal[ + conversionTrackingStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_CONVERSION_TRACKED", @@ -2466,9 +2317,7 @@ class GoogleAdsSearchads360V0Resources__ConversionTrackingSetting( googleAdsCrossAccountConversionTrackingId: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CustomColumn( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CustomColumn(typing.TypedDict, total=False): description: str id: str name: str @@ -2476,7 +2325,7 @@ class GoogleAdsSearchads360V0Resources__CustomColumn( referencedSystemColumns: _list[str] referencesAttributes: bool referencesMetrics: bool - renderType: typing_extensions.Literal[ + renderType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NUMBER", @@ -2487,15 +2336,13 @@ class GoogleAdsSearchads360V0Resources__CustomColumn( "DATE", ] resourceName: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STRING", "INT64", "DOUBLE", "BOOLEAN", "DATE" ] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Customer( - typing_extensions.TypedDict, total=False -): - accountLevel: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Resources__Customer(typing.TypedDict, total=False): + accountLevel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLIENT_ACCOUNT_FACEBOOK", @@ -2507,10 +2354,10 @@ class GoogleAdsSearchads360V0Resources__Customer( "SUB_MANAGER", "ASSOCIATE_MANAGER", ] - accountStatus: typing_extensions.Literal[ + accountStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "SUSPENDED", "REMOVED", "DRAFT" ] - accountType: typing_extensions.Literal[ + accountType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BAIDU", @@ -2542,7 +2389,7 @@ class GoogleAdsSearchads360V0Resources__Customer( managerDescriptiveName: str managerId: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "CANCELED", "SUSPENDED", "CLOSED" ] subManagerDescriptiveName: str @@ -2551,28 +2398,20 @@ class GoogleAdsSearchads360V0Resources__Customer( trackingUrlTemplate: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CustomerAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CustomerAsset(typing.TypedDict, total=False): asset: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CustomerAssetSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CustomerAssetSet(typing.TypedDict, total=False): assetSet: str customer: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__CustomerClient( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__CustomerClient(typing.TypedDict, total=False): appliedLabels: _list[str] clientCustomer: str currencyCode: str @@ -2582,7 +2421,7 @@ class GoogleAdsSearchads360V0Resources__CustomerClient( level: str manager: bool resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "CANCELED", "SUSPENDED", "CLOSED" ] testAccount: bool @@ -2590,19 +2429,19 @@ class GoogleAdsSearchads360V0Resources__CustomerClient( @typing.type_check_only class GoogleAdsSearchads360V0Resources__CustomerManagerLink( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): managerCustomer: str managerLinkId: str resourceName: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTIVE", "INACTIVE", "PENDING", "REFUSED", "CANCELED" ] @typing.type_check_only class GoogleAdsSearchads360V0Resources__DoubleClickCampaignManagerSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertiserId: str networkId: str @@ -2610,20 +2449,18 @@ class GoogleAdsSearchads360V0Resources__DoubleClickCampaignManagerSetting( @typing.type_check_only class GoogleAdsSearchads360V0Resources__DynamicSearchAdsSearchTermView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): landingPage: str resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__GenderView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__GenderView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__GeoTargetConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canonicalName: str countryCode: str @@ -2631,29 +2468,23 @@ class GoogleAdsSearchads360V0Resources__GeoTargetConstant( name: str parentGeoTarget: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVAL_PLANNED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVAL_PLANNED"] targetType: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__KeywordView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__KeywordView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Label(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Resources__Label(typing.TypedDict, total=False): id: str name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] textLabel: GoogleAdsSearchads360V0Common__TextLabel @typing.type_check_only -class GoogleAdsSearchads360V0Resources__LanguageConstant( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__LanguageConstant(typing.TypedDict, total=False): code: str id: str name: str @@ -2662,7 +2493,7 @@ class GoogleAdsSearchads360V0Resources__LanguageConstant( @typing.type_check_only class GoogleAdsSearchads360V0Resources__ListingGroupFilterDimension( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productBiddingCategory: GoogleAdsSearchads360V0Resources_ListingGroupFilterDimension_ProductBiddingCategory productBrand: ( @@ -2684,46 +2515,42 @@ class GoogleAdsSearchads360V0Resources__ListingGroupFilterDimension( @typing.type_check_only class GoogleAdsSearchads360V0Resources__ListingGroupFilterDimensionPath( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[GoogleAdsSearchads360V0Resources__ListingGroupFilterDimension] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__LocationView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__LocationView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__ProductBiddingCategoryConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str id: str languageCode: str - level: typing_extensions.Literal[ + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] localizedName: str productBiddingCategoryConstantParent: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ACTIVE", "OBSOLETE"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ACTIVE", "OBSOLETE"] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__ProductGroupView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__ProductGroupView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V0Resources__SearchAds360Field( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeResources: _list[str] - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE", "ATTRIBUTE", "SEGMENT", "METRIC" ] - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BOOLEAN", @@ -2752,18 +2579,16 @@ class GoogleAdsSearchads360V0Resources__SearchAds360Field( @typing.type_check_only class GoogleAdsSearchads360V0Resources__ShoppingPerformanceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__UserList( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__UserList(typing.TypedDict, total=False): id: str name: str resourceName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REMARKETING", @@ -2775,17 +2600,15 @@ class GoogleAdsSearchads360V0Resources__UserList( ] @typing.type_check_only -class GoogleAdsSearchads360V0Resources__UserLocationView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__UserLocationView(typing.TypedDict, total=False): countryCriterionId: str resourceName: str targetingLocation: bool @typing.type_check_only -class GoogleAdsSearchads360V0Resources__Visit(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Resources__Visit(typing.TypedDict, total=False): adId: str - assetFieldType: typing_extensions.Literal[ + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -2824,9 +2647,7 @@ class GoogleAdsSearchads360V0Resources__Visit(typing_extensions.TypedDict, total criterionId: str id: str merchantId: str - productChannel: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL" - ] + productChannel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] productCountryCode: str productId: str productLanguageCode: str @@ -2835,28 +2656,26 @@ class GoogleAdsSearchads360V0Resources__Visit(typing_extensions.TypedDict, total visitDateTime: str @typing.type_check_only -class GoogleAdsSearchads360V0Resources__WebpageView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Resources__WebpageView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V0Services__ConversionCustomDimensionHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleAdsSearchads360V0Services__ConversionCustomMetricHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleAdsSearchads360V0Services__CustomColumnHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @@ -2864,34 +2683,32 @@ class GoogleAdsSearchads360V0Services__CustomColumnHeader( @typing.type_check_only class GoogleAdsSearchads360V0Services__ListAccessibleCustomersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceNames: _list[str] @typing.type_check_only class GoogleAdsSearchads360V0Services__ListCustomColumnsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customColumns: _list[GoogleAdsSearchads360V0Resources__CustomColumn] @typing.type_check_only class GoogleAdsSearchads360V0Services__RawEventConversionDimensionHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleAdsSearchads360V0Services__RawEventConversionMetricHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only -class GoogleAdsSearchads360V0Services__SearchAds360Row( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Services__SearchAds360Row(typing.TypedDict, total=False): accessibleBiddingStrategy: ( GoogleAdsSearchads360V0Resources__AccessibleBiddingStrategy ) @@ -2966,7 +2783,7 @@ class GoogleAdsSearchads360V0Services__SearchAds360Row( @typing.type_check_only class GoogleAdsSearchads360V0Services__SearchSearchAds360FieldsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @@ -2974,7 +2791,7 @@ class GoogleAdsSearchads360V0Services__SearchSearchAds360FieldsRequest( @typing.type_check_only class GoogleAdsSearchads360V0Services__SearchSearchAds360FieldsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str results: _list[GoogleAdsSearchads360V0Resources__SearchAds360Field] @@ -2982,13 +2799,13 @@ class GoogleAdsSearchads360V0Services__SearchSearchAds360FieldsResponse( @typing.type_check_only class GoogleAdsSearchads360V0Services__SearchSearchAds360Request( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str query: str returnTotalResultsCount: bool - summaryRowSetting: typing_extensions.Literal[ + summaryRowSetting: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_SUMMARY_ROW", @@ -2999,7 +2816,7 @@ class GoogleAdsSearchads360V0Services__SearchSearchAds360Request( @typing.type_check_only class GoogleAdsSearchads360V0Services__SearchSearchAds360Response( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionCustomDimensionHeaders: _list[ GoogleAdsSearchads360V0Services__ConversionCustomDimensionHeader @@ -3022,13 +2839,13 @@ class GoogleAdsSearchads360V0Services__SearchSearchAds360Response( @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCriterion: str @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraintList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countries: _list[ GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraint @@ -3037,15 +2854,15 @@ class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraintList @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_ResellerConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationMismatch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): urlTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISPLAY_URL", @@ -3058,12 +2875,10 @@ class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationMismatch( @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationNotWorking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - device: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "DESKTOP", "ANDROID", "IOS" - ] - dnsErrorType: typing_extensions.Literal[ + device: typing.Literal["UNSPECIFIED", "UNKNOWN", "DESKTOP", "ANDROID", "IOS"] + dnsErrorType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HOSTNAME_NOT_FOUND", "GOOGLE_CRAWLER_DNS_ISSUE" ] expandedUrl: str @@ -3072,25 +2887,25 @@ class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationNotWorking( @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationTextList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationTexts: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_TextList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): texts: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_WebsiteList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): websites: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Common__PolicyTopicConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificateDomainMismatchInCountryList: ( GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraintList @@ -3106,13 +2921,11 @@ class GoogleAdsSearchads360V23Common__PolicyTopicConstraint( ) @typing.type_check_only -class GoogleAdsSearchads360V23Common__PolicyTopicEntry( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PolicyTopicEntry(typing.TypedDict, total=False): constraints: _list[GoogleAdsSearchads360V23Common__PolicyTopicConstraint] evidences: _list[GoogleAdsSearchads360V23Common__PolicyTopicEvidence] topic: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PROHIBITED", @@ -3125,7 +2938,7 @@ class GoogleAdsSearchads360V23Common__PolicyTopicEntry( @typing.type_check_only class GoogleAdsSearchads360V23Common__PolicyTopicEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationMismatch: ( GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationMismatch @@ -3141,14 +2954,12 @@ class GoogleAdsSearchads360V23Common__PolicyTopicEvidence( websiteList: GoogleAdsSearchads360V23Common_PolicyTopicEvidence_WebsiteList @typing.type_check_only -class GoogleAdsSearchads360V23Common__PolicyViolationKey( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PolicyViolationKey(typing.TypedDict, total=False): policyName: str violatingText: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__Value(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Common__Value(typing.TypedDict, total=False): booleanValue: bool doubleValue: float floatValue: float @@ -3157,14 +2968,14 @@ class GoogleAdsSearchads360V23Common__Value(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleAdsSearchads360V23Errors_ErrorLocation_FieldPathElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str index: int @typing.type_check_only class GoogleAdsSearchads360V23Errors__BudgetPerDayMinimumErrorDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetPerDayMinimumMicros: str currencyCode: str @@ -3174,10 +2985,8 @@ class GoogleAdsSearchads360V23Errors__BudgetPerDayMinimumErrorDetails( minimumBudgetTotalAmountMicros: str @typing.type_check_only -class GoogleAdsSearchads360V23Errors__ErrorCode( - typing_extensions.TypedDict, total=False -): - accessInvitationError: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Errors__ErrorCode(typing.TypedDict, total=False): + accessInvitationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_EMAIL_ADDRESS", @@ -3189,7 +2998,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "PENDING_INVITATIONS_LIMIT_EXCEEDED", "EMAIL_DOMAIN_POLICY_VIOLATED", ] - accountBudgetProposalError: typing_extensions.Literal[ + accountBudgetProposalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FIELD_MASK_NOT_ALLOWED", @@ -3219,10 +3028,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_MASTER_SERVICE_AGREEMENT", "CANCELED_BILLING_SETUP", ] - accountLinkError: typing_extensions.Literal[ + accountLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_STATUS", "PERMISSION_DENIED" ] - adCustomizerError: typing_extensions.Literal[ + adCustomizerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COUNTDOWN_INVALID_DATE_FORMAT", @@ -3231,7 +3040,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "COUNTDOWN_INVALID_START_DAYS_BEFORE", "UNKNOWN_USER_LIST", ] - adError: typing_extensions.Literal[ + adError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE", @@ -3388,7 +3197,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS", "INVALID_YOUTUBE_VIDEO_ASSET_ID_FOR_VIDEO_ADS_SEQUENCING", ] - adGroupAdError: typing_extensions.Literal[ + adGroupAdError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_AD_LABEL_DOES_NOT_EXIST", @@ -3404,16 +3213,16 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_UPDATE_DEPRECATED_ADS", "AD_SHARING_NOT_ALLOWED", ] - adGroupBidModifierError: typing_extensions.Literal[ + adGroupBidModifierError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CRITERION_ID_NOT_SUPPORTED", "CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER", ] - adGroupCriterionCustomizerError: typing_extensions.Literal[ + adGroupCriterionCustomizerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CRITERION_IS_NOT_KEYWORD" ] - adGroupCriterionError: typing_extensions.Literal[ + adGroupCriterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST", @@ -3445,8 +3254,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE", "FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE", ] - adGroupCustomizerError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - adGroupError: typing_extensions.Literal[ + adGroupCustomizerError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + adGroupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ADGROUP_NAME", @@ -3473,7 +3282,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "VERTICAL_ADS_FORMAT_SETTING_NOT_SUPPORTED_FOR_CAMPAIGNS_WITHOUT_AI_MAX", "VERTICAL_ADS_FORMAT_SETTING_NOT_SUPPORTED_FOR_CAMPAIGNS_WITHOUT_ENABLED_TRAVEL_FEED", ] - adGroupFeedError: typing_extensions.Literal[ + adGroupFeedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", @@ -3484,21 +3293,21 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", "NO_EXISTING_LOCATION_CUSTOMER_FEED", ] - adParameterError: typing_extensions.Literal[ + adParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_CRITERION_MUST_BE_KEYWORD", "INVALID_INSERTION_TEXT_FORMAT", ] - adSharingError: typing_extensions.Literal[ + adSharingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_ALREADY_CONTAINS_AD", "INCOMPATIBLE_AD_UNDER_AD_GROUP", "CANNOT_SHARE_INACTIVE_AD", ] - adxError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "UNSUPPORTED_FEATURE"] - assetError: typing_extensions.Literal[ + adxError: typing.Literal["UNSPECIFIED", "UNKNOWN", "UNSUPPORTED_FEATURE"] + assetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE", @@ -3546,7 +3355,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "PROMOTION_QR_CODE_INVALID_FORMAT", "CUSTOMER_NOT_ON_ALLOWLIST_FOR_MESSAGE_ASSETS", ] - assetGenerationError: typing_extensions.Literal[ + assetGenerationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_ASSETS_GENERATED", @@ -3585,7 +3394,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CONTEXT_AD_GROUP_AD_NOT_FOUND", "CONTEXT_CAMPAIGN_NOT_FOUND", ] - assetGroupAssetError: typing_extensions.Literal[ + assetGroupAssetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_RESOURCE", @@ -3593,7 +3402,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "AD_CUSTOMIZER_NOT_SUPPORTED", "HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN", ] - assetGroupError: typing_extensions.Literal[ + assetGroupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -3613,7 +3422,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "AD_CUSTOMIZER_NOT_SUPPORTED", "CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN", ] - assetGroupListingGroupFilterError: typing_extensions.Literal[ + assetGroupListingGroupFilterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TREE_TOO_DEEP", @@ -3640,14 +3449,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MULTIPLE_OPERATIONS_ON_ONE_NODE", "TREE_WAS_INVALID_BEFORE_MUTATION", ] - assetGroupSignalError: typing_extensions.Literal[ + assetGroupSignalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_MANY_WORDS", "SEARCH_THEME_POLICY_VIOLATION", "AUDIENCE_WITH_WRONG_ASSET_GROUP_ID", ] - assetLinkError: typing_extensions.Literal[ + assetLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PINNING_UNSUPPORTED", @@ -3676,7 +3485,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL", "BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL", ] - assetSetAssetError: typing_extensions.Literal[ + assetSetAssetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_ASSET_TYPE", @@ -3684,7 +3493,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_EXTERNAL_KEY", "PARENT_LINKAGE_DOES_NOT_EXIST", ] - assetSetError: typing_extensions.Literal[ + assetSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ASSET_SET_NAME", @@ -3699,7 +3508,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "OAUTH_INFO_MISSING", "CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST", ] - assetSetLinkError: typing_extensions.Literal[ + assetSetLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE", @@ -3708,7 +3517,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_ASSET_SET_LINK", "ASSET_SET_LINK_CANNOT_BE_REMOVED", ] - audienceError: typing_extensions.Literal[ + audienceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NAME_ALREADY_IN_USE", @@ -3722,12 +3531,12 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MISSING_ASSET_GROUP_ID", "CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE", ] - audienceInsightsError: typing_extensions.Literal[ + audienceInsightsError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS", ] - authenticationError: typing_extensions.Literal[ + authenticationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AUTHENTICATION_ERROR", @@ -3754,7 +3563,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN", "DEVELOPER_TOKEN_INVALID", ] - authorizationError: typing_extensions.Literal[ + authorizationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "USER_PERMISSION_DENIED", @@ -3773,8 +3582,11 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "METRIC_ACCESS_DENIED", "CLOUD_PROJECT_NOT_UNDER_ORGANIZATION", "ACTION_NOT_PERMITTED_FOR_SUSPENDED_ACCOUNT", + "SEARCH_ADS360_OTHER_ENGINE_MUTATE_DENIED", + "SEARCH_ADS360_MUTATE_ALLOWLIST_DENIED", + "SEARCH_ADS360_MUTATE_FIELD_DENIED", ] - automaticallyCreatedAssetRemovalError: typing_extensions.Literal[ + automaticallyCreatedAssetRemovalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_DOES_NOT_EXIST", @@ -3783,7 +3595,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ASSET_FIELD_TYPE_DOES_NOT_MATCH", "NOT_AN_AUTOMATICALLY_CREATED_ASSET", ] - batchJobError: typing_extensions.Literal[ + batchJobError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING", @@ -3798,10 +3610,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "REQUEST_TOO_LARGE", "CAMPAIGN_AND_CAMPAIGN_ASSET_TRANSACTION_FAILURE", ] - benchmarksError: typing_extensions.Literal[ + benchmarksError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MAX_QUERY_COMPLEXITY_EXCEEDED" ] - biddingError: typing_extensions.Literal[ + biddingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED", @@ -3830,7 +3642,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS", "TARGET_ROAS_TOLERANCE_PERCENT_MILLIS_MUST_BE_INTEGER", ] - biddingStrategyError: typing_extensions.Literal[ + biddingStrategyError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -3839,7 +3651,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BIDDING_STRATEGY_NOT_SUPPORTED", "INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE", ] - billingSetupError: typing_extensions.Literal[ + billingSetupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_USE_EXISTING_AND_NEW_ACCOUNT", @@ -3863,7 +3675,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FUTURE_START_TIME_PROHIBITED", "TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT", ] - brandGuidelinesMigrationError: typing_extensions.Literal[ + brandGuidelinesMigrationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BRAND_GUIDELINES_ALREADY_ENABLED", @@ -3873,7 +3685,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTED", "TOO_MANY_ENABLE_OPERATIONS", ] - campaignBudgetError: typing_extensions.Literal[ + campaignBudgetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BUDGET_CANNOT_BE_SHARED", @@ -3897,13 +3709,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD", "BUDGET_BELOW_PER_DAY_MINIMUM", ] - campaignConversionGoalError: typing_extensions.Literal[ + campaignConversionGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN", "CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN", ] - campaignCriterionError: typing_extensions.Literal[ + campaignCriterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONCRETE_TYPE_REQUIRED", @@ -3934,8 +3746,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONS", "INVALID_VIDEO_LINEUP_ID", ] - campaignCustomizerError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - campaignDraftError: typing_extensions.Literal[ + campaignCustomizerError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + campaignDraftError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_DRAFT_NAME", @@ -3949,7 +3761,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED", "LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY", ] - campaignError: typing_extensions.Literal[ + campaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_TARGET_CONTENT_NETWORK", @@ -4053,7 +3865,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DURATION_TOO_LONG_FOR_TOTAL_BUDGET", "END_DATE_TIME_REQUIRED_FOR_TOTAL_BUDGET", ] - campaignExperimentError: typing_extensions.Literal[ + campaignExperimentError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -4067,7 +3879,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION", "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS", ] - campaignFeedError: typing_extensions.Literal[ + campaignFeedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", @@ -4079,7 +3891,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_EXISTING_LOCATION_CUSTOMER_FEED", "LEGACY_FEED_TYPE_READ_ONLY", ] - campaignGoalConfigError: typing_extensions.Literal[ + campaignGoalConfigError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOAL_NOT_FOUND", @@ -4088,8 +3900,12 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "HIGH_LIFETIME_VALUE_LESS_THAN_OR_EQUAL_TO_VALUE", "CUSTOMER_LIFECYCLE_OPTIMIZATION_CAMPAIGN_TYPE_NOT_SUPPORTED", "CUSTOMER_NOT_ALLOWLISTED_FOR_RETENTION_ONLY", + "CAMPAIGN_OVERRIDE_VALUES_SET_FOR_NEW_CUSTOMER_ACQUISITION_TARGET_SPECIFIC_OPTION", + "CAMPAIGN_OVERRIDE_HIGH_LIFETIME_VALUE_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE", + "CANNOT_USE_INCOMPATIBLE_CLO_GOALS", + "LOYALTY_RETENTION_GOAL_INVALID_MODE", ] - campaignLifecycleGoalError: typing_extensions.Literal[ + campaignLifecycleGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_MISSING", @@ -4104,10 +3920,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION", "CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION", ] - campaignSharedSetError: typing_extensions.Literal[ + campaignSharedSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SHARED_SET_ACCESS_DENIED" ] - changeEventError: typing_extensions.Literal[ + changeEventError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "START_DATE_TOO_OLD", @@ -4116,7 +3932,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "LIMIT_NOT_SPECIFIED", "INVALID_LIMIT_CLAUSE", ] - changeStatusError: typing_extensions.Literal[ + changeStatusError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "START_DATE_TOO_OLD", @@ -4125,19 +3941,17 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "LIMIT_NOT_SPECIFIED", "INVALID_LIMIT_CLAUSE", ] - clickViewError: typing_extensions.Literal[ + clickViewError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXPECTED_FILTER_ON_A_SINGLE_DAY", "DATE_TOO_OLD" ] - collectionSizeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "TOO_FEW", "TOO_MANY" - ] - contextError: typing_extensions.Literal[ + collectionSizeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "TOO_FEW", "TOO_MANY"] + contextError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPERATION_NOT_PERMITTED_FOR_CONTEXT", "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE", ] - conversionActionError: typing_extensions.Literal[ + conversionActionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -4152,7 +3966,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "UPDATE_NOT_SUPPORTED", "CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS", ] - conversionAdjustmentUploadError: typing_extensions.Literal[ + conversionAdjustmentUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_RECENT_CONVERSION_ACTION", @@ -4181,10 +3995,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_CONVERSION_ACTION_FOUND", "INVALID_CONVERSION_ACTION_TYPE", ] - conversionCustomVariableError: typing_extensions.Literal[ + conversionCustomVariableError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", "DUPLICATE_TAG", "RESERVED_TAG" ] - conversionGoalCampaignConfigError: typing_extensions.Literal[ + conversionGoalCampaignConfigError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN", @@ -4194,7 +4008,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED", "PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES", ] - conversionUploadError: typing_extensions.Literal[ + conversionUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_MANY_CONVERSIONS_IN_REQUEST", @@ -4242,7 +4056,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_CONVERSION_ACTION_FOUND", "INVALID_CONVERSION_ACTION_TYPE", ] - conversionValueRuleError: typing_extensions.Literal[ + conversionValueRuleError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_GEO_TARGET_CONSTANT", @@ -4259,7 +4073,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_ADD_RULE_WITH_STATUS_REMOVED", "NO_DAY_OF_WEEK_SELECTED", ] - conversionValueRuleSetError: typing_extensions.Literal[ + conversionValueRuleSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONFLICTING_VALUE_RULE_CONDITIONS", @@ -4277,10 +4091,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "UNSUPPORTED_CONVERSION_ACTION_CATEGORIES", "DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE", ] - countryCodeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_COUNTRY_CODE" - ] - criterionError: typing_extensions.Literal[ + countryCodeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_COUNTRY_CODE"] + criterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONCRETE_TYPE_REQUIRED", @@ -4448,13 +4260,11 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "VERTICAL_ADS_ITEM_GROUP_RULE_LIST_NOT_SUPPORTED_FOR_CAMPAIGNS_WITHOUT_AI_MAX", "VERTICAL_ADS_ITEM_GROUP_RULE_NOT_SUPPORTED_FOR_THE_VERTICAL_TYPE", ] - currencyCodeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "UNSUPPORTED" - ] - currencyError: typing_extensions.Literal[ + currencyCodeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "UNSUPPORTED"] + currencyError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT" ] - customAudienceError: typing_extensions.Literal[ + customAudienceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NAME_ALREADY_USED", @@ -4466,13 +4276,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "POLICY_VIOLATION", "INVALID_TYPE_CHANGE", ] - customColumnError: typing_extensions.Literal[ + customColumnError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOM_COLUMN_NOT_FOUND", "CUSTOM_COLUMN_NOT_AVAILABLE", ] - customConversionGoalError: typing_extensions.Literal[ + customConversionGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_CONVERSION_ACTION", @@ -4482,7 +4292,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_CONVERSION_ACTION_LIST", "NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL", ] - customInterestError: typing_extensions.Literal[ + customInterestError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NAME_ALREADY_USED", @@ -4493,7 +4303,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_REMOVE_WHILE_IN_USE", "CANNOT_CHANGE_TYPE", ] - customerClientLinkError: typing_extensions.Literal[ + customerClientLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLIENT_ALREADY_INVITED_BY_THIS_MANAGER", @@ -4505,8 +4315,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER", "CLIENT_HAS_TOO_MANY_MANAGERS", ] - customerCustomizerError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - customerError: typing_extensions.Literal[ + customerCustomizerError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + customerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STATUS_CHANGE_DISALLOWED", @@ -4514,7 +4324,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CREATION_DENIED_FOR_POLICY_VIOLATION", "CREATION_DENIED_INELIGIBLE_MCC", ] - customerFeedError: typing_extensions.Literal[ + customerFeedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", @@ -4525,7 +4335,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", "PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED", ] - customerLifecycleGoalError: typing_extensions.Literal[ + customerLifecycleGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_ACQUISITION_VALUE_MISSING", @@ -4536,7 +4346,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_EXISTING_USER_LIST", "INVALID_HIGH_LIFETIME_VALUE_USER_LIST", ] - customerManagerLinkError: typing_extensions.Literal[ + customerManagerLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_PENDING_INVITE", @@ -4549,7 +4359,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_CHILD_FOUND", "TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS", ] - customerSkAdNetworkConversionValueSchemaError: typing_extensions.Literal[ + customerSkAdNetworkConversionValueSchemaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_LINK_ID", @@ -4559,7 +4369,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_EVENT_COUNTER", "INVALID_EVENT_NAME", ] - customerUserAccessError: typing_extensions.Literal[ + customerUserAccessError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_USER_ID", @@ -4568,10 +4378,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "LAST_ADMIN_USER_OF_SERVING_CUSTOMER", "LAST_ADMIN_USER_OF_MANAGER", ] - customizerAttributeError: typing_extensions.Literal[ + customizerAttributeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME" ] - dataLinkError: typing_extensions.Literal[ + dataLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YOUTUBE_CHANNEL_ID_INVALID", @@ -4582,14 +4392,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_UPDATE_STATUS", "INVALID_RESOURCE_NAME", ] - databaseError: typing_extensions.Literal[ + databaseError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONCURRENT_MODIFICATION", "DATA_CONSTRAINT_VIOLATION", "REQUEST_TOO_LARGE", ] - dateError: typing_extensions.Literal[ + dateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_FIELD_VALUES_IN_DATE", @@ -4605,7 +4415,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DATE_RANGE_ERROR_START_TIME_MUST_BE_THE_START_OF_A_DAY", "DATE_RANGE_ERROR_END_TIME_MUST_BE_THE_END_OF_A_DAY", ] - dateRangeError: typing_extensions.Literal[ + dateRangeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_DATE", @@ -4613,14 +4423,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_SET_DATE_TO_PAST", "AFTER_MAXIMUM_ALLOWABLE_DATE", "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED", + "REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED", ] - distinctError: typing_extensions.Literal[ + distinctError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ELEMENT", "DUPLICATE_TYPE" ] - enumError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENUM_VALUE_NOT_PERMITTED" - ] - experimentArmError: typing_extensions.Literal[ + enumError: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENUM_VALUE_NOT_PERMITTED"] + experimentArmError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED", @@ -4638,7 +4447,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS", "TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE", ] - experimentError: typing_extensions.Literal[ + experimentError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_SET_START_DATE_IN_PAST", @@ -4672,7 +4481,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_DURATION_FOR_AN_EXPERIMENT", "MISSING_EU_POLITICAL_ADVERTISING_SELF_DECLARATION", ] - extensionFeedItemError: typing_extensions.Literal[ + extensionFeedItemError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VALUE_OUT_OF_RANGE", @@ -4721,7 +4530,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CONCRETE_EXTENSION_TYPE_REQUIRED", "SCHEDULE_END_NOT_AFTER_START", ] - extensionSettingError: typing_extensions.Literal[ + extensionSettingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXTENSIONS_REQUIRED", @@ -4790,14 +4599,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EXTENSION_SETTING_UPDATE_IS_A_NOOP", "DISALLOWED_TEXT", ] - feedAttributeReferenceError: typing_extensions.Literal[ + feedAttributeReferenceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_REFERENCE_REMOVED_FEED", "INVALID_FEED_NAME", "INVALID_FEED_ATTRIBUTE_NAME", ] - feedError: typing_extensions.Literal[ + feedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ATTRIBUTE_NAMES_NOT_UNIQUE", @@ -4824,7 +4633,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS", "LEGACY_EXTENSION_TYPE_READ_ONLY", ] - feedItemError: typing_extensions.Literal[ + feedItemError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING", @@ -4838,7 +4647,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE", "LEGACY_FEED_TYPE_READ_ONLY", ] - feedItemSetError: typing_extensions.Literal[ + feedItemSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ITEM_SET_REMOVED", @@ -4849,13 +4658,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE", "DYNAMIC_FILTER_INVALID_CHAIN_IDS", ] - feedItemSetLinkError: typing_extensions.Literal[ + feedItemSetLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ID_MISMATCH", "NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET", ] - feedItemTargetError: typing_extensions.Literal[ + feedItemTargetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MUST_SET_TARGET_ONEOF_ON_CREATE", @@ -4867,7 +4676,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_AD_SCHEDULE", "DUPLICATE_KEYWORD", ] - feedItemValidationError: typing_extensions.Literal[ + feedItemValidationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STRING_TOO_SHORT", @@ -4976,7 +4785,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "IMAGE_ERROR_CONSTRAINTS_VIOLATED", "IMAGE_ERROR_SERVER_ERROR", ] - feedMappingError: typing_extensions.Literal[ + feedMappingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_PLACEHOLDER_FIELD", @@ -4998,7 +4807,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD", "LEGACY_FEED_TYPE_READ_ONLY", ] - fieldError: typing_extensions.Literal[ + fieldError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUIRED", @@ -5010,7 +4819,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BLOCKED_VALUE", "FIELD_CAN_ONLY_BE_CLEARED", ] - fieldMaskError: typing_extensions.Literal[ + fieldMaskError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FIELD_MASK_MISSING", @@ -5018,7 +4827,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FIELD_NOT_FOUND", "FIELD_HAS_SUBFIELDS", ] - finalUrlExpansionAssetViewError: typing_extensions.Literal[ + finalUrlExpansionAssetViewError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MISSING_REQUIRED_FILTER", @@ -5030,7 +4839,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_SELECT_BOTH_AD_GROUP_AND_ASSET_GROUP", "CANNOT_FILTER_BY_BOTH_AD_GROUP_AND_ASSET_GROUP", ] - functionError: typing_extensions.Literal[ + functionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_FUNCTION_FORMAT", @@ -5050,7 +4859,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA", "INVALID_ATTRIBUTE_NAME", ] - functionParsingError: typing_extensions.Literal[ + functionParsingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_MORE_INPUT", @@ -5065,7 +4874,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_OPERANDS", "TOO_MANY_OPERANDS", ] - geoTargetConstantSuggestionError: typing_extensions.Literal[ + geoTargetConstantSuggestionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LOCATION_NAME_SIZE_LIMIT", @@ -5073,7 +4882,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_COUNTRY_CODE", "REQUEST_PARAMETERS_UNSET", ] - goalError: typing_extensions.Literal[ + goalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RETENTION_GOAL_ALREADY_EXISTS", @@ -5081,21 +4890,21 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "HIGH_LIFETIME_VALUE_LESS_THAN_OR_EQUAL_TO_VALUE", "CUSTOMER_LIFECYCLE_OPTIMIZATION_ACCOUNT_TYPE_NOT_ALLOWED", ] - headerError: typing_extensions.Literal[ + headerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_LOGIN_CUSTOMER_ID", "INVALID_LINKED_CUSTOMER_ID", ] - idError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "NOT_FOUND"] - identityVerificationError: typing_extensions.Literal[ + idError: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOT_FOUND"] + identityVerificationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_EFFECTIVE_BILLING", "BILLING_NOT_ON_MONTHLY_INVOICING", "VERIFICATION_ALREADY_STARTED", ] - imageError: typing_extensions.Literal[ + imageError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_IMAGE", @@ -5138,10 +4947,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "IMAGE_CONSTRAINTS_VIOLATED", "FORMAT_NOT_ALLOWED", ] - incentiveError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_INCENTIVE_ID" - ] - internalError: typing_extensions.Literal[ + incentiveError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_INCENTIVE_ID"] + internalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INTERNAL_ERROR", @@ -5149,10 +4956,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "TRANSIENT_ERROR", "DEADLINE_EXCEEDED", ] - invalidParameterError: typing_extensions.Literal[ + invalidParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_CURRENCY_CODE" ] - invoiceError: typing_extensions.Literal[ + invoiceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YEAR_MONTH_TOO_OLD", @@ -5161,10 +4968,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BILLING_SETUP_NOT_ON_MONTHLY_INVOICING", "NON_SERVING_CUSTOMER", ] - keywordPlanAdGroupError: typing_extensions.Literal[ + keywordPlanAdGroupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_NAME", "DUPLICATE_NAME" ] - keywordPlanAdGroupKeywordError: typing_extensions.Literal[ + keywordPlanAdGroupKeywordError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_KEYWORD_MATCH_TYPE", @@ -5176,7 +4983,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NEGATIVE_KEYWORD_HAS_CPC_BID", "NEW_BMM_KEYWORDS_NOT_ALLOWED", ] - keywordPlanCampaignError: typing_extensions.Literal[ + keywordPlanCampaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_NAME", @@ -5186,10 +4993,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MAX_GEOS_EXCEEDED", "MAX_LANGUAGES_EXCEEDED", ] - keywordPlanCampaignKeywordError: typing_extensions.Literal[ + keywordPlanCampaignKeywordError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_KEYWORD_IS_POSITIVE" ] - keywordPlanError: typing_extensions.Literal[ + keywordPlanError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BID_MULTIPLIER_OUT_OF_RANGE", @@ -5207,10 +5014,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_FORECAST_DATE_RANGE", "INVALID_NAME", ] - keywordPlanIdeaError: typing_extensions.Literal[ + keywordPlanIdeaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "URL_CRAWL_ERROR", "INVALID_VALUE" ] - labelError: typing_extensions.Literal[ + labelError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_APPLY_INACTIVE_LABEL", @@ -5223,13 +5030,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_ATTACH_LABEL_TO_DRAFT", "CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER", ] - languageCodeError: typing_extensions.Literal[ + languageCodeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LANGUAGE_CODE_NOT_FOUND", "INVALID_LANGUAGE_CODE" ] - listOperationError: typing_extensions.Literal[ + listOperationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUIRED_FIELD_MISSING", "DUPLICATE_VALUES" ] - managerLinkError: typing_extensions.Literal[ + managerLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING", @@ -5252,7 +5059,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CUSTOMER_CANNOT_MANAGE_SELF", "CREATING_ENABLED_LINK_NOT_ALLOWED", ] - mediaBundleError: typing_extensions.Literal[ + mediaBundleError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BAD_REQUEST", @@ -5278,7 +5085,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT", "CUSTOM_EXIT_NOT_ALLOWED", ] - mediaFileError: typing_extensions.Literal[ + mediaFileError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_CREATE_STANDARD_ICON", @@ -5305,7 +5112,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION", "YOU_TUBE_VIDEO_NOT_FOUND", ] - mediaUploadError: typing_extensions.Literal[ + mediaUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FILE_TOO_BIG", @@ -5343,13 +5150,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API", "DIMENSIONS_NOT_ALLOWED", ] - merchantCenterError: typing_extensions.Literal[ + merchantCenterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MERCHANT_ID_CANNOT_BE_ACCESSED", "CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX", ] - multiplierError: typing_extensions.Literal[ + multiplierError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MULTIPLIER_TOO_HIGH", @@ -5365,7 +5172,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER", "MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH", ] - mutateError: typing_extensions.Literal[ + mutateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_NOT_FOUND", @@ -5379,19 +5186,19 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "RESOURCE_READ_ONLY", "EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED", ] - newResourceCreationError: typing_extensions.Literal[ + newResourceCreationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_SET_ID_FOR_CREATE", "DUPLICATE_TEMP_IDS", "TEMP_ID_RESOURCE_HAD_ERRORS", ] - notAllowlistedError: typing_extensions.Literal[ + notAllowlistedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE" ] - notEmptyError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "EMPTY_LIST"] - nullError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "NULL_CONTENT"] - offlineUserDataJobError: typing_extensions.Literal[ + notEmptyError: typing.Literal["UNSPECIFIED", "UNKNOWN", "EMPTY_LIST"] + nullError: typing.Literal["UNSPECIFIED", "UNKNOWN", "NULL_CONTENT"] + offlineUserDataJobError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_USER_LIST_ID", @@ -5434,7 +5241,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED", "OPERATION_LEVEL_CONSENT_PROVIDED", ] - operationAccessDeniedError: typing_extensions.Literal[ + operationAccessDeniedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTION_NOT_PERMITTED", @@ -5448,29 +5255,25 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE", "MUTATE_NOT_PERMITTED_FOR_CUSTOMER", ] - operatorError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "OPERATOR_NOT_SUPPORTED" - ] - partialFailureError: typing_extensions.Literal[ + operatorError: typing.Literal["UNSPECIFIED", "UNKNOWN", "OPERATOR_NOT_SUPPORTED"] + partialFailureError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PARTIAL_FAILURE_MODE_REQUIRED" ] - paymentsAccountError: typing_extensions.Literal[ + paymentsAccountError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_SUPPORTED_FOR_MANAGER_CUSTOMER" ] - policyFindingError: typing_extensions.Literal[ + policyFindingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "POLICY_FINDING", "POLICY_TOPIC_NOT_FOUND" ] - policyValidationParameterError: typing_extensions.Literal[ + policyValidationParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS", "UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS", "CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS", ] - policyViolationError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "POLICY_ERROR" - ] - productLinkError: typing_extensions.Literal[ + policyViolationError: typing.Literal["UNSPECIFIED", "UNKNOWN", "POLICY_ERROR"] + productLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_OPERATION", @@ -5478,7 +5281,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVITATION_EXISTS", "LINK_EXISTS", ] - productLinkInvitationError: typing_extensions.Literal[ + productLinkInvitationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_STATUS", @@ -5486,7 +5289,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_INVITATION_REQUIRED", "CUSTOMER_NOT_PERMITTED_TO_CREATE_INVITATION", ] - queryError: typing_extensions.Literal[ + queryError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "QUERY_ERROR", @@ -5547,7 +5350,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FILTER_HAS_TOO_MANY_VALUES", "REQUIRED_SEGMENT_FIELD_MISSING", ] - quotaError: typing_extensions.Literal[ + quotaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_EXHAUSTED", @@ -5557,17 +5360,15 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EXCESSIVE_LONG_TERM_QUERY_RESOURCE_CONSUMPTION", "PAYMENTS_PROFILE_ACTIVATION_RATE_LIMIT_EXCEEDED", ] - rangeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "TOO_LOW", "TOO_HIGH" - ] - reachPlanError: typing_extensions.Literal[ + rangeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "TOO_LOW", "TOO_HIGH"] + reachPlanError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_FORECASTABLE_MISSING_RATE", "NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY", "NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED", ] - recommendationError: typing_extensions.Literal[ + recommendationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUDGET_AMOUNT_TOO_SMALL", @@ -5605,11 +5406,9 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_WITH_CHANNEL_TYPE_SEARCH_AND_BIDDING_STRATEGY_TYPE_TARGET_IMPRESSION_SHARE_REQUIRES_TARGET_IMPRESSION_SHARE_INFO", "MERCHANT_CENTER_ACCOUNT_ID_NOT_SUPPORTED_ADVERTISING_CHANNEL_TYPE", ] - recommendationSubscriptionError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - regionCodeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_REGION_CODE" - ] - requestError: typing_extensions.Literal[ + recommendationSubscriptionError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + regionCodeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_REGION_CODE"] + requestError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_NAME_MISSING", @@ -5639,10 +5438,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "UNSUPPORTED_VERSION", "CLOUD_PROJECT_NOT_FOUND", ] - resourceAccessDeniedError: typing_extensions.Literal[ + resourceAccessDeniedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WRITE_ACCESS_DENIED" ] - resourceCountLimitExceededError: typing_extensions.Literal[ + resourceCountLimitExceededError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACCOUNT_LIMIT", @@ -5655,7 +5454,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "RESPONSE_ROW_LIMIT_EXCEEDED", "RESOURCE_LIMIT", ] - searchTermInsightError: typing_extensions.Literal[ + searchTermInsightError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FILTERING_NOT_ALLOWED_WITH_SEGMENTS", @@ -5665,7 +5464,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SORTING_NOT_ALLOWED_WITH_SEGMENTS", "SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS", ] - settingError: typing_extensions.Literal[ + settingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SETTING_TYPE_IS_NOT_AVAILABLE", @@ -5681,16 +5480,16 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN", "BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING", ] - shareablePreviewError: typing_extensions.Literal[ + shareablePreviewError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_MANY_ASSET_GROUPS_IN_REQUEST", "ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER", ] - sharedCriterionError: typing_extensions.Literal[ + sharedCriterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE" ] - sharedSetError: typing_extensions.Literal[ + sharedSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE", @@ -5698,20 +5497,20 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SHARED_SET_REMOVED", "SHARED_SET_IN_USE", ] - shoppingProductError: typing_extensions.Literal[ + shoppingProductError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MISSING_CAMPAIGN_FILTER", "MISSING_AD_GROUP_FILTER", "UNSUPPORTED_DATE_SEGMENTATION", ] - sizeLimitError: typing_extensions.Literal[ + sizeLimitError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUEST_SIZE_LIMIT_EXCEEDED", "RESPONSE_SIZE_LIMIT_EXCEEDED", ] - smartCampaignError: typing_extensions.Literal[ + smartCampaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_BUSINESS_LOCATION_ID", @@ -5722,13 +5521,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_DETERMINE_SUGGESTION_LOCALE", "FINAL_URL_NOT_CRAWLABLE", ] - stringFormatError: typing_extensions.Literal[ + stringFormatError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT" ] - stringLengthError: typing_extensions.Literal[ + stringLengthError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EMPTY", "TOO_SHORT", "TOO_LONG" ] - thirdPartyAppAnalyticsLinkError: typing_extensions.Literal[ + thirdPartyAppAnalyticsLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_ANALYTICS_PROVIDER_ID", @@ -5736,10 +5535,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MOBILE_APP_IS_NOT_ENABLED", "CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK", ] - timeZoneError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_TIME_ZONE" - ] - urlFieldError: typing_extensions.Literal[ + timeZoneError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_TIME_ZONE"] + urlFieldError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_TRACKING_URL_TEMPLATE", @@ -5797,14 +5594,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "VALUE_TRACK_PARAMETER_NOT_SUPPORTED", "UNSUPPORTED_APP_STORE", ] - userDataError: typing_extensions.Literal[ + userDataError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED", "TOO_MANY_USER_IDENTIFIERS", "USER_LIST_NOT_APPLICABLE", ] - userListCustomerTypeError: typing_extensions.Literal[ + userListCustomerTypeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONFLICTING_CUSTOMER_TYPES", @@ -5813,7 +5610,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CONVERSION_TRACKING_NOT_ENABLED_OR_NOT_MCC_MANAGER_ACCOUNT", "TOO_MANY_USER_LISTS_FOR_THE_CUSTOMER_TYPE", ] - userListError: typing_extensions.Literal[ + userListError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED", @@ -5859,10 +5656,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA", "ACCOUNT_SETTING_TYPE_NOT_ALLOWED", ] - videoCampaignError: typing_extensions.Literal[ + videoCampaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MUTATE_REQUIRES_RESERVATION" ] - youtubeVideoRegistrationError: typing_extensions.Literal[ + youtubeVideoRegistrationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VIDEO_NOT_FOUND", @@ -5871,9 +5668,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( ] @typing.type_check_only -class GoogleAdsSearchads360V23Errors__ErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__ErrorDetails(typing.TypedDict, total=False): budgetPerDayMinimumErrorDetails: ( GoogleAdsSearchads360V23Errors__BudgetPerDayMinimumErrorDetails ) @@ -5884,22 +5679,20 @@ class GoogleAdsSearchads360V23Errors__ErrorDetails( unpublishedErrorCode: str @typing.type_check_only -class GoogleAdsSearchads360V23Errors__ErrorLocation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__ErrorLocation(typing.TypedDict, total=False): fieldPathElements: _list[ GoogleAdsSearchads360V23Errors_ErrorLocation_FieldPathElement ] @typing.type_check_only class GoogleAdsSearchads360V23Errors__PolicyFindingDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyTopicEntries: _list[GoogleAdsSearchads360V23Common__PolicyTopicEntry] @typing.type_check_only class GoogleAdsSearchads360V23Errors__PolicyViolationDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalPolicyDescription: str externalPolicyName: str @@ -5907,24 +5700,20 @@ class GoogleAdsSearchads360V23Errors__PolicyViolationDetails( key: GoogleAdsSearchads360V23Common__PolicyViolationKey @typing.type_check_only -class GoogleAdsSearchads360V23Errors__QuotaErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__QuotaErrorDetails(typing.TypedDict, total=False): rateName: str - rateScope: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER" - ] + rateScope: typing.Literal["UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER"] retryDelay: str @typing.type_check_only class GoogleAdsSearchads360V23Errors__ResourceCountDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enclosingId: str enclosingResource: str existingCount: int limit: int - limitType: typing_extensions.Literal[ + limitType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGNS_PER_CUSTOMER", @@ -6077,9 +5866,7 @@ class GoogleAdsSearchads360V23Errors__ResourceCountDetails( ] @typing.type_check_only -class GoogleAdsSearchads360V23Errors__SearchAds360Error( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__SearchAds360Error(typing.TypedDict, total=False): details: GoogleAdsSearchads360V23Errors__ErrorDetails errorCode: GoogleAdsSearchads360V23Errors__ErrorCode location: GoogleAdsSearchads360V23Errors__ErrorLocation @@ -6088,14 +5875,14 @@ class GoogleAdsSearchads360V23Errors__SearchAds360Error( @typing.type_check_only class GoogleAdsSearchads360V23Errors__SearchAds360Failure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleAdsSearchads360V23Errors__SearchAds360Error] requestId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_BatchJob_BatchJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completionDateTime: str creationDateTime: str @@ -6107,9 +5894,9 @@ class GoogleAdsSearchads360V23Resources_BatchJob_BatchJobMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineUserDataJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchRateRange: typing_extensions.Literal[ + matchRateRange: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MATCH_RANGE_LESS_THAN_20", @@ -6125,12 +5912,12 @@ class GoogleAdsSearchads360V23Resources__OfflineUserDataJobMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Services__PromoteExperimentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experiment: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ScheduleExperimentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experiment: str diff --git a/googleapiclient-stubs/_apis/searchads360/v23/resources.pyi b/googleapiclient-stubs/_apis/searchads360/v23/resources.pyi index e0efd5812..939f03e1f 100644 --- a/googleapiclient-stubs/_apis/searchads360/v23/resources.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v23/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -333,7 +332,7 @@ class SA360Resource(googleapiclient.discovery.Resource): resourceName: str, pageSize: int | None = ..., pageToken: str | None = ..., - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] | None = ..., @@ -909,7 +908,7 @@ class SA360Resource(googleapiclient.discovery.Resource): customerId: str, billingSetup: str | None = ..., includeGranularLevelInvoiceDetails: bool | None = ..., - issueMonth: typing_extensions.Literal[ + issueMonth: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "JANUARY", @@ -1164,6 +1163,16 @@ class SA360Resource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class SearchAds360CampaignsResource(googleapiclient.discovery.Resource): + def mutate( + self, + *, + customerId: str, + body: GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignsRequest, + **kwargs: typing.Any, + ) -> GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignsResponseHttpRequest: ... + @typing.type_check_only class SharedCriteriaResource(googleapiclient.discovery.Resource): def mutate( @@ -1410,6 +1419,31 @@ class SA360Resource(googleapiclient.discovery.Resource): ) -> ( GoogleAdsSearchads360V23Services__SuggestTravelAssetsResponseHttpRequest ): ... + def uploadCallConversions( + self, + *, + customerId: str, + body: GoogleAdsSearchads360V23Services__UploadCallConversionsRequest, + **kwargs: typing.Any, + ) -> ( + GoogleAdsSearchads360V23Services__UploadCallConversionsResponseHttpRequest + ): ... + def uploadClickConversions( + self, + *, + customerId: str, + body: GoogleAdsSearchads360V23Services__UploadClickConversionsRequest, + **kwargs: typing.Any, + ) -> ( + GoogleAdsSearchads360V23Services__UploadClickConversionsResponseHttpRequest + ): ... + def uploadConversionAdjustments( + self, + *, + customerId: str, + body: GoogleAdsSearchads360V23Services__UploadConversionAdjustmentsRequest, + **kwargs: typing.Any, + ) -> GoogleAdsSearchads360V23Services__UploadConversionAdjustmentsResponseHttpRequest: ... def uploadUserData( self, *, @@ -1519,6 +1553,7 @@ class SA360Resource(googleapiclient.discovery.Resource): def recommendations(self) -> RecommendationsResource: ... def remarketingActions(self) -> RemarketingActionsResource: ... def searchAds360(self) -> SearchAds360Resource: ... + def searchAds360Campaigns(self) -> SearchAds360CampaignsResource: ... def sharedCriteria(self) -> SharedCriteriaResource: ... def sharedSets(self) -> SharedSetsResource: ... def smartCampaignSettings(self) -> SmartCampaignSettingsResource: ... @@ -1545,8 +1580,7 @@ class SA360Resource(googleapiclient.discovery.Resource): countryCode: str | None = ..., email: str | None = ..., languageCode: str | None = ..., - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ACQUISITION"] - | None = ..., + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "ACQUISITION"] | None = ..., **kwargs: typing.Any, ) -> GoogleAdsSearchads360V23Services__FetchIncentiveResponseHttpRequest: ... @@ -2938,6 +2972,16 @@ class GoogleAdsSearchads360V23Services__MutateRemarketingActionsResponseHttpRequ num_retries: int = 0, ) -> GoogleAdsSearchads360V23Services__MutateRemarketingActionsResponse: ... +@typing.type_check_only +class GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignsResponse: ... + @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSearchAds360ResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3160,6 +3204,36 @@ class GoogleAdsSearchads360V23Services__UpdateProductLinkInvitationResponseHttpR num_retries: int = 0, ) -> GoogleAdsSearchads360V23Services__UpdateProductLinkInvitationResponse: ... +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadCallConversionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAdsSearchads360V23Services__UploadCallConversionsResponse: ... + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadClickConversionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAdsSearchads360V23Services__UploadClickConversionsResponse: ... + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadConversionAdjustmentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleAdsSearchads360V23Services__UploadConversionAdjustmentsResponse: ... + @typing.type_check_only class GoogleAdsSearchads360V23Services__UploadUserDataResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/searchads360/v23/schemas.pyi b/googleapiclient-stubs/_apis/searchads360/v23/schemas.pyi index 4c87ea675..15d03add3 100644 --- a/googleapiclient-stubs/_apis/searchads360/v23/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v23/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleAdsSearchads360V0Common__Value(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V0Common__Value(typing.TypedDict, total=False): booleanValue: bool doubleValue: float floatValue: float @@ -14,16 +12,14 @@ class GoogleAdsSearchads360V0Common__Value(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleAdsSearchads360V0Errors_ErrorLocation_FieldPathElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str index: int @typing.type_check_only -class GoogleAdsSearchads360V0Errors__ErrorCode( - typing_extensions.TypedDict, total=False -): - authenticationError: typing_extensions.Literal[ +class GoogleAdsSearchads360V0Errors__ErrorCode(typing.TypedDict, total=False): + authenticationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AUTHENTICATION_ERROR", @@ -45,7 +41,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "TWO_STEP_VERIFICATION_NOT_ENROLLED", "ADVANCED_PROTECTION_NOT_ENROLLED", ] - authorizationError: typing_extensions.Literal[ + authorizationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "USER_PERMISSION_DENIED", @@ -60,7 +56,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "ACCESS_DENIED_FOR_ACCOUNT_TYPE", "METRIC_ACCESS_DENIED", ] - conversionCustomVariableError: typing_extensions.Literal[ + conversionCustomVariableError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -74,13 +70,13 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "INVALID_DIMENSION", "INCOMPATIBLE_WITH_SELECTED_RESOURCE", ] - customColumnError: typing_extensions.Literal[ + customColumnError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOM_COLUMN_NOT_FOUND", "CUSTOM_COLUMN_NOT_AVAILABLE", ] - dateError: typing_extensions.Literal[ + dateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_FIELD_VALUES_IN_DATE", @@ -94,7 +90,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE", "DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL", ] - dateRangeError: typing_extensions.Literal[ + dateRangeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_DATE", @@ -102,17 +98,18 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "CANNOT_SET_DATE_TO_PAST", "AFTER_MAXIMUM_ALLOWABLE_DATE", "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED", + "REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED", ] - distinctError: typing_extensions.Literal[ + distinctError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ELEMENT", "DUPLICATE_TYPE" ] - headerError: typing_extensions.Literal[ + headerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_USER_SELECTED_CUSTOMER_ID", "INVALID_LOGIN_CUSTOMER_ID", ] - internalError: typing_extensions.Literal[ + internalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INTERNAL_ERROR", @@ -120,10 +117,10 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "TRANSIENT_ERROR", "DEADLINE_EXCEEDED", ] - invalidParameterError: typing_extensions.Literal[ + invalidParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_CURRENCY_CODE" ] - queryError: typing_extensions.Literal[ + queryError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "QUERY_ERROR", @@ -183,10 +180,10 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "FILTER_HAS_TOO_MANY_VALUES", "REQUIRED_SEGMENT_FIELD_MISSING", ] - quotaError: typing_extensions.Literal[ + quotaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_EXHAUSTED", "RESOURCE_TEMPORARILY_EXHAUSTED" ] - requestError: typing_extensions.Literal[ + requestError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_NAME_MISSING", @@ -215,7 +212,7 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( "RPC_DEADLINE_TOO_SHORT", "PRODUCT_NOT_SUPPORTED", ] - sizeLimitError: typing_extensions.Literal[ + sizeLimitError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUEST_SIZE_LIMIT_EXCEEDED", @@ -223,34 +220,24 @@ class GoogleAdsSearchads360V0Errors__ErrorCode( ] @typing.type_check_only -class GoogleAdsSearchads360V0Errors__ErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__ErrorDetails(typing.TypedDict, total=False): quotaErrorDetails: GoogleAdsSearchads360V0Errors__QuotaErrorDetails unpublishedErrorCode: str @typing.type_check_only -class GoogleAdsSearchads360V0Errors__ErrorLocation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__ErrorLocation(typing.TypedDict, total=False): fieldPathElements: _list[ GoogleAdsSearchads360V0Errors_ErrorLocation_FieldPathElement ] @typing.type_check_only -class GoogleAdsSearchads360V0Errors__QuotaErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__QuotaErrorDetails(typing.TypedDict, total=False): rateName: str - rateScope: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER" - ] + rateScope: typing.Literal["UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER"] retryDelay: str @typing.type_check_only -class GoogleAdsSearchads360V0Errors__SearchAds360Error( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__SearchAds360Error(typing.TypedDict, total=False): details: GoogleAdsSearchads360V0Errors__ErrorDetails errorCode: GoogleAdsSearchads360V0Errors__ErrorCode location: GoogleAdsSearchads360V0Errors__ErrorLocation @@ -258,17 +245,36 @@ class GoogleAdsSearchads360V0Errors__SearchAds360Error( trigger: GoogleAdsSearchads360V0Common__Value @typing.type_check_only -class GoogleAdsSearchads360V0Errors__SearchAds360Failure( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V0Errors__SearchAds360Failure(typing.TypedDict, total=False): errors: _list[GoogleAdsSearchads360V0Errors__SearchAds360Error] requestId: str +@typing.type_check_only +class GoogleAdsSearchads360V23Common_CampaignGoalSettings_CampaignLoyaltyRetentionGoalSettings( + typing.TypedDict, total=False +): + enableBidAdjustmentsForLoyaltyMembers: bool + showTargetedLoyaltyMemberBenefitsInPla: bool + valueSettingsOverride: ( + GoogleAdsSearchads360V23Common__CustomerLifecycleOptimizationValueSettings + ) + +@typing.type_check_only +class GoogleAdsSearchads360V23Common_CampaignGoalSettings_CampaignNewCustomerAcquisitionGoalSettings( + typing.TypedDict, total=False +): + targetOption: typing.Literal[ + "UNSPECIFIED", "UNKNOWN", "TARGET_ALL", "TARGET_SPECIFIC" + ] + valueSettingsOverride: ( + GoogleAdsSearchads360V23Common__CustomerLifecycleOptimizationValueSettings + ) + @typing.type_check_only class GoogleAdsSearchads360V23Common_CampaignGoalSettings_CampaignRetentionGoalSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - targetOption: typing_extensions.Literal[ + targetOption: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TARGET_ALL", "TARGET_SPECIFIC" ] valueSettingsOverride: ( @@ -277,7 +283,7 @@ class GoogleAdsSearchads360V23Common_CampaignGoalSettings_CampaignRetentionGoalS @typing.type_check_only class GoogleAdsSearchads360V23Common_GoalSetting_RetentionGoal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): valueSettings: ( GoogleAdsSearchads360V23Common__CustomerLifecycleOptimizationValueSettings @@ -285,7 +291,7 @@ class GoogleAdsSearchads360V23Common_GoalSetting_RetentionGoal( @typing.type_check_only class GoogleAdsSearchads360V23Common_LineupAttributeMetadata_SampleChannel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str youtubeChannel: GoogleAdsSearchads360V23Common__YouTubeChannelInfo @@ -295,13 +301,13 @@ class GoogleAdsSearchads360V23Common_LineupAttributeMetadata_SampleChannel( @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCriterion: str @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraintList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countries: _list[ GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraint @@ -310,15 +316,15 @@ class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraintList @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicConstraint_ResellerConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationMismatch( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): urlTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISPLAY_URL", @@ -331,12 +337,10 @@ class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationMismatch( @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationNotWorking( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - device: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "DESKTOP", "ANDROID", "IOS" - ] - dnsErrorType: typing_extensions.Literal[ + device: typing.Literal["UNSPECIFIED", "UNKNOWN", "DESKTOP", "ANDROID", "IOS"] + dnsErrorType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HOSTNAME_NOT_FOUND", "GOOGLE_CRAWLER_DNS_ISSUE" ] expandedUrl: str @@ -345,63 +349,53 @@ class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationNotWorking( @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationTextList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationTexts: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_TextList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): texts: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Common_PolicyTopicEvidence_WebsiteList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): websites: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ActivityCityInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ActivityCityInfo(typing.TypedDict, total=False): value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ActivityCountryInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ActivityIdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ActivityIdInfo(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ActivityRatingInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ActivityRatingInfo(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ActivityStateInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ActivityStateInfo(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AdAppDeepLinkAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AdAppDeepLinkAsset(typing.TypedDict, total=False): asset: str @typing.type_check_only class GoogleAdsSearchads360V23Common__AdAssetPolicySummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - approvalStatus: typing_extensions.Literal[ + approvalStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISAPPROVED", @@ -410,7 +404,7 @@ class GoogleAdsSearchads360V23Common__AdAssetPolicySummary( "AREA_OF_INTEREST_ONLY", ] policyTopicEntries: _list[GoogleAdsSearchads360V23Common__PolicyTopicEntry] - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REVIEW_IN_PROGRESS", @@ -421,33 +415,27 @@ class GoogleAdsSearchads360V23Common__AdAssetPolicySummary( @typing.type_check_only class GoogleAdsSearchads360V23Common__AdCallToActionAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str @typing.type_check_only class GoogleAdsSearchads360V23Common__AdDemandGenCarouselCardAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AdImageAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AdImageAsset(typing.TypedDict, total=False): asset: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AdMediaBundleAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AdMediaBundleAsset(typing.TypedDict, total=False): asset: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AdScheduleInfo( - typing_extensions.TypedDict, total=False -): - dayOfWeek: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__AdScheduleInfo(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MONDAY", @@ -459,19 +447,17 @@ class GoogleAdsSearchads360V23Common__AdScheduleInfo( "SUNDAY", ] endHour: int - endMinute: typing_extensions.Literal[ + endMinute: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ZERO", "FIFTEEN", "THIRTY", "FORTY_FIVE" ] startHour: int - startMinute: typing_extensions.Literal[ + startMinute: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ZERO", "FIFTEEN", "THIRTY", "FORTY_FIVE" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AdTextAsset( - typing_extensions.TypedDict, total=False -): - assetPerformanceLabel: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__AdTextAsset(typing.TypedDict, total=False): + assetPerformanceLabel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -481,7 +467,7 @@ class GoogleAdsSearchads360V23Common__AdTextAsset( "BEST", "NOT_APPLICABLE", ] - pinnedField: typing_extensions.Literal[ + pinnedField: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE_1", @@ -524,39 +510,33 @@ class GoogleAdsSearchads360V23Common__AdTextAsset( text: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AdVideoAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AdVideoAsset(typing.TypedDict, total=False): adVideoAssetInfo: GoogleAdsSearchads360V23Common__AdVideoAssetInfo asset: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AdVideoAssetInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AdVideoAssetInfo(typing.TypedDict, total=False): adVideoAssetFeatureControl: ( GoogleAdsSearchads360V23Common__AdVideoAssetLinkFeatureControl ) @typing.type_check_only class GoogleAdsSearchads360V23Common__AdVideoAssetLinkFeatureControl( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowYoutubeComments: bool @typing.type_check_only class GoogleAdsSearchads360V23Common__AdditionalApplicationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationId: str - applicationInstance: typing_extensions.Literal[ + applicationInstance: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEVELOPMENT_AND_TESTING", "PRODUCTION" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AddressInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AddressInfo(typing.TypedDict, total=False): cityName: str countryCode: str postalCode: str @@ -566,17 +546,13 @@ class GoogleAdsSearchads360V23Common__AddressInfo( streetAddress2: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AgeDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AgeDimension(typing.TypedDict, total=False): ageRanges: _list[GoogleAdsSearchads360V23Common__AgeSegment] includeUndetermined: bool @typing.type_check_only -class GoogleAdsSearchads360V23Common__AgeRangeInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__AgeRangeInfo(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AGE_RANGE_18_24", @@ -589,16 +565,12 @@ class GoogleAdsSearchads360V23Common__AgeRangeInfo( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AgeSegment( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AgeSegment(typing.TypedDict, total=False): maxAge: int minAge: int @typing.type_check_only -class GoogleAdsSearchads360V23Common__AppAdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AppAdInfo(typing.TypedDict, total=False): appDeepLink: GoogleAdsSearchads360V23Common__AdAppDeepLinkAsset descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] headlines: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @@ -608,14 +580,12 @@ class GoogleAdsSearchads360V23Common__AppAdInfo( youtubeVideos: _list[GoogleAdsSearchads360V23Common__AdVideoAsset] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AppDeepLinkAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AppDeepLinkAsset(typing.TypedDict, total=False): appDeepLinkUri: str @typing.type_check_only class GoogleAdsSearchads360V23Common__AppEngagementAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] headlines: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @@ -624,13 +594,13 @@ class GoogleAdsSearchads360V23Common__AppEngagementAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__AppPaymentModelInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "PAID"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "PAID"] @typing.type_check_only class GoogleAdsSearchads360V23Common__AppPreRegistrationAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] headlines: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @@ -638,11 +608,9 @@ class GoogleAdsSearchads360V23Common__AppPreRegistrationAdInfo( youtubeVideos: _list[GoogleAdsSearchads360V23Common__AdVideoAsset] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AssetDisapproved( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AssetDisapproved(typing.TypedDict, total=False): offlineEvaluationErrorReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PRICE_ASSET_DESCRIPTION_REPEATS_ROW_HEADER", @@ -657,17 +625,17 @@ class GoogleAdsSearchads360V23Common__AssetDisapproved( @typing.type_check_only class GoogleAdsSearchads360V23Common__AssetInteractionTarget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str interactionOnThisAsset: bool @typing.type_check_only class GoogleAdsSearchads360V23Common__AssetLinkPrimaryStatusDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetDisapproved: GoogleAdsSearchads360V23Common__AssetDisapproved - reason: typing_extensions.Literal[ + reason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ASSET_LINK_PAUSED", @@ -676,7 +644,7 @@ class GoogleAdsSearchads360V23Common__AssetLinkPrimaryStatusDetails( "ASSET_UNDER_REVIEW", "ASSET_APPROVED_LABELED", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -688,11 +656,9 @@ class GoogleAdsSearchads360V23Common__AssetLinkPrimaryStatusDetails( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AssetUsage( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AssetUsage(typing.TypedDict, total=False): asset: str - servedAssetFieldType: typing_extensions.Literal[ + servedAssetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE_1", @@ -733,9 +699,7 @@ class GoogleAdsSearchads360V23Common__AssetUsage( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AudienceDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AudienceDimension(typing.TypedDict, total=False): age: GoogleAdsSearchads360V23Common__AgeDimension audienceSegments: GoogleAdsSearchads360V23Common__AudienceSegmentDimension gender: GoogleAdsSearchads360V23Common__GenderDimension @@ -744,19 +708,17 @@ class GoogleAdsSearchads360V23Common__AudienceDimension( @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceExclusionDimension( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclusions: _list[GoogleAdsSearchads360V23Common__ExclusionSegment] @typing.type_check_only -class GoogleAdsSearchads360V23Common__AudienceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AudienceInfo(typing.TypedDict, total=False): audience: str @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceInsightsAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ageRange: GoogleAdsSearchads360V23Common__AgeRangeInfo category: GoogleAdsSearchads360V23Common__AudienceInsightsCategory @@ -774,10 +736,10 @@ class GoogleAdsSearchads360V23Common__AudienceInsightsAttribute( @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attribute: GoogleAdsSearchads360V23Common__AudienceInsightsAttribute - dimension: typing_extensions.Literal[ + dimension: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CATEGORY", @@ -818,32 +780,30 @@ class GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadataGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadata] @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceInsightsCategory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceInsightsEntity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): knowledgeGraphMachineId: str @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceInsightsLineup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lineupId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__AudienceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__AudienceSegment(typing.TypedDict, total=False): customAudience: GoogleAdsSearchads360V23Common__CustomAudienceSegment detailedDemographic: GoogleAdsSearchads360V23Common__DetailedDemographicSegment lifeEvent: GoogleAdsSearchads360V23Common__LifeEventSegment @@ -852,29 +812,25 @@ class GoogleAdsSearchads360V23Common__AudienceSegment( @typing.type_check_only class GoogleAdsSearchads360V23Common__AudienceSegmentDimension( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleAdsSearchads360V23Common__AudienceSegment] @typing.type_check_only -class GoogleAdsSearchads360V23Common__BasicUserListInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__BasicUserListInfo(typing.TypedDict, total=False): actions: _list[GoogleAdsSearchads360V23Common__UserListActionInfo] @typing.type_check_only class GoogleAdsSearchads360V23Common__BookOnGoogleAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAdsSearchads360V23Common__BrandInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__BrandInfo(typing.TypedDict, total=False): displayName: str entityId: str primaryUrl: str - rejectionReason: typing_extensions.Literal[ + rejectionReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXISTING_BRAND", @@ -882,7 +838,7 @@ class GoogleAdsSearchads360V23Common__BrandInfo( "INCORRECT_INFORMATION", "NOT_A_BRAND", ] - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", @@ -894,14 +850,12 @@ class GoogleAdsSearchads360V23Common__BrandInfo( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__BrandListInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__BrandListInfo(typing.TypedDict, total=False): sharedSet: str @typing.type_check_only class GoogleAdsSearchads360V23Common__BudgetSimulationPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddableConversions: float biddableConversionsValue: float @@ -915,19 +869,19 @@ class GoogleAdsSearchads360V23Common__BudgetSimulationPoint( @typing.type_check_only class GoogleAdsSearchads360V23Common__BudgetSimulationPointList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): points: _list[GoogleAdsSearchads360V23Common__BudgetSimulationPoint] @typing.type_check_only class GoogleAdsSearchads360V23Common__BusinessMessageAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callToAction: GoogleAdsSearchads360V23Common__BusinessMessageCallToActionInfo facebookMessengerInfo: ( GoogleAdsSearchads360V23Common__FacebookMessengerBusinessMessageInfo ) - messageProvider: typing_extensions.Literal[ + messageProvider: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WHATSAPP", "FACEBOOK_MESSENGER", "ZALO" ] starterMessage: str @@ -936,10 +890,10 @@ class GoogleAdsSearchads360V23Common__BusinessMessageAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__BusinessMessageCallToActionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callToActionDescription: str - callToActionSelection: typing_extensions.Literal[ + callToActionSelection: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPLY_NOW", @@ -954,14 +908,14 @@ class GoogleAdsSearchads360V23Common__BusinessMessageCallToActionInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__BusinessProfileBusinessNameFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessName: str - filterType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "EXACT"] + filterType: typing.Literal["UNSPECIFIED", "UNKNOWN", "EXACT"] @typing.type_check_only class GoogleAdsSearchads360V23Common__BusinessProfileLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: _list[str] listingId: str @@ -969,7 +923,7 @@ class GoogleAdsSearchads360V23Common__BusinessProfileLocation( @typing.type_check_only class GoogleAdsSearchads360V23Common__BusinessProfileLocationGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dynamicBusinessProfileLocationGroupFilter: ( GoogleAdsSearchads360V23Common__DynamicBusinessProfileLocationGroupFilter @@ -977,7 +931,7 @@ class GoogleAdsSearchads360V23Common__BusinessProfileLocationGroup( @typing.type_check_only class GoogleAdsSearchads360V23Common__BusinessProfileLocationSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessAccountId: str businessNameFilter: str @@ -987,12 +941,10 @@ class GoogleAdsSearchads360V23Common__BusinessProfileLocationSet( listingIdFilters: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__CallAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CallAsset(typing.TypedDict, total=False): adScheduleTargets: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] callConversionAction: str - callConversionReportingState: typing_extensions.Literal[ + callConversionReportingState: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISABLED", @@ -1003,11 +955,9 @@ class GoogleAdsSearchads360V23Common__CallAsset( phoneNumber: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__CallFeedItem( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CallFeedItem(typing.TypedDict, total=False): callConversionAction: str - callConversionReportingState: typing_extensions.Literal[ + callConversionReportingState: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISABLED", @@ -1020,10 +970,8 @@ class GoogleAdsSearchads360V23Common__CallFeedItem( phoneNumber: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__CallToActionAsset( - typing_extensions.TypedDict, total=False -): - callToAction: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__CallToActionAsset(typing.TypedDict, total=False): + callToAction: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEARN_MORE", @@ -1046,25 +994,21 @@ class GoogleAdsSearchads360V23Common__CallToActionAsset( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__CalloutAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CalloutAsset(typing.TypedDict, total=False): adScheduleTargets: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] calloutText: str endDate: str startDate: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__CalloutFeedItem( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CalloutFeedItem(typing.TypedDict, total=False): calloutText: str @typing.type_check_only class GoogleAdsSearchads360V23Common__CampaignThirdPartyBrandLiftIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - brandLiftIntegrationPartner: typing_extensions.Literal[ + brandLiftIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KANTAR_MILLWARD_BROWN", @@ -1079,9 +1023,9 @@ class GoogleAdsSearchads360V23Common__CampaignThirdPartyBrandLiftIntegrationPart @typing.type_check_only class GoogleAdsSearchads360V23Common__CampaignThirdPartyBrandSafetyIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - brandSafetyIntegrationPartner: typing_extensions.Literal[ + brandSafetyIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DOUBLE_VERIFY", "INTEGRAL_AD_SCIENCE", "ZEFR" ] brandSafetyIntegrationPartnerData: ( @@ -1090,7 +1034,7 @@ class GoogleAdsSearchads360V23Common__CampaignThirdPartyBrandSafetyIntegrationPa @typing.type_check_only class GoogleAdsSearchads360V23Common__CampaignThirdPartyIntegrationPartners( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): brandLiftIntegrationPartners: _list[ GoogleAdsSearchads360V23Common__CampaignThirdPartyBrandLiftIntegrationPartner @@ -1107,9 +1051,9 @@ class GoogleAdsSearchads360V23Common__CampaignThirdPartyIntegrationPartners( @typing.type_check_only class GoogleAdsSearchads360V23Common__CampaignThirdPartyReachIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - reachIntegrationPartner: typing_extensions.Literal[ + reachIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NIELSEN", @@ -1129,10 +1073,10 @@ class GoogleAdsSearchads360V23Common__CampaignThirdPartyReachIntegrationPartner( @typing.type_check_only class GoogleAdsSearchads360V23Common__CampaignThirdPartyViewabilityIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): shareCost: bool - viewabilityIntegrationPartner: typing_extensions.Literal[ + viewabilityIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DOUBLE_VERIFY", "INTEGRAL_AD_SCIENCE" ] viewabilityIntegrationPartnerData: ( @@ -1140,37 +1084,27 @@ class GoogleAdsSearchads360V23Common__CampaignThirdPartyViewabilityIntegrationPa ) @typing.type_check_only -class GoogleAdsSearchads360V23Common__CarrierInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CarrierInfo(typing.TypedDict, total=False): carrierConstant: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ChainFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ChainFilter(typing.TypedDict, total=False): chainId: str locationAttributes: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ChainLocationGroup( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ChainLocationGroup(typing.TypedDict, total=False): dynamicChainLocationGroupFilters: _list[GoogleAdsSearchads360V23Common__ChainFilter] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ChainSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ChainSet(typing.TypedDict, total=False): chains: _list[GoogleAdsSearchads360V23Common__ChainFilter] - relationshipType: typing_extensions.Literal[ + relationshipType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AUTO_DEALERS", "GENERAL_RETAILERS" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ClickLocation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ClickLocation(typing.TypedDict, total=False): city: str country: str metro: str @@ -1179,37 +1113,27 @@ class GoogleAdsSearchads360V23Common__ClickLocation( @typing.type_check_only class GoogleAdsSearchads360V23Common__CombinedAudienceInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): combinedAudience: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__Commission( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__Commission(typing.TypedDict, total=False): commissionRateMicros: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ConceptGroup( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ConceptGroup(typing.TypedDict, total=False): name: str - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "BRAND", "OTHER_BRANDS", "NON_BRAND" - ] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "BRAND", "OTHER_BRANDS", "NON_BRAND"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__Consent(typing_extensions.TypedDict, total=False): - adPersonalization: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "GRANTED", "DENIED" - ] - adUserData: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "GRANTED", "DENIED"] +class GoogleAdsSearchads360V23Common__Consent(typing.TypedDict, total=False): + adPersonalization: typing.Literal["UNSPECIFIED", "UNKNOWN", "GRANTED", "DENIED"] + adUserData: typing.Literal["UNSPECIFIED", "UNKNOWN", "GRANTED", "DENIED"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ContentLabelInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__ContentLabelInfo(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEXUALLY_SUGGESTIVE", @@ -1241,7 +1165,7 @@ class GoogleAdsSearchads360V23Common__ContentLabelInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__CpcBidSimulationPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddableConversions: float biddableConversionsValue: float @@ -1255,13 +1179,13 @@ class GoogleAdsSearchads360V23Common__CpcBidSimulationPoint( @typing.type_check_only class GoogleAdsSearchads360V23Common__CpcBidSimulationPointList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): points: _list[GoogleAdsSearchads360V23Common__CpcBidSimulationPoint] @typing.type_check_only class GoogleAdsSearchads360V23Common__CpvBidSimulationPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMicros: str cpvBidMicros: str @@ -1270,23 +1194,23 @@ class GoogleAdsSearchads360V23Common__CpvBidSimulationPoint( @typing.type_check_only class GoogleAdsSearchads360V23Common__CpvBidSimulationPointList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): points: _list[GoogleAdsSearchads360V23Common__CpvBidSimulationPoint] @typing.type_check_only class GoogleAdsSearchads360V23Common__CriterionCategoryAvailability( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channel: GoogleAdsSearchads360V23Common__CriterionCategoryChannelAvailability locale: _list[GoogleAdsSearchads360V23Common__CriterionCategoryLocaleAvailability] @typing.type_check_only class GoogleAdsSearchads360V23Common__CriterionCategoryChannelAvailability( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertisingChannelSubType: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH_MOBILE_APP", @@ -1310,7 +1234,7 @@ class GoogleAdsSearchads360V23Common__CriterionCategoryChannelAvailability( "SOCIAL_FACEBOOK_TRACKING_ONLY", ] ] - advertisingChannelType: typing_extensions.Literal[ + advertisingChannelType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -1327,7 +1251,7 @@ class GoogleAdsSearchads360V23Common__CriterionCategoryChannelAvailability( "DEMAND_GEN", "SOCIAL", ] - availabilityMode: typing_extensions.Literal[ + availabilityMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ALL_CHANNELS", @@ -1338,9 +1262,9 @@ class GoogleAdsSearchads360V23Common__CriterionCategoryChannelAvailability( @typing.type_check_only class GoogleAdsSearchads360V23Common__CriterionCategoryLocaleAvailability( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - availabilityMode: typing_extensions.Literal[ + availabilityMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ALL_LOCALES", @@ -1353,10 +1277,10 @@ class GoogleAdsSearchads360V23Common__CriterionCategoryLocaleAvailability( @typing.type_check_only class GoogleAdsSearchads360V23Common__CrmBasedUserListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appId: str - dataSourceType: typing_extensions.Literal[ + dataSourceType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FIRST_PARTY", @@ -1364,61 +1288,53 @@ class GoogleAdsSearchads360V23Common__CrmBasedUserListInfo( "THIRD_PARTY_VOTER_FILE", "THIRD_PARTY_PARTNER_DATA", ] - uploadKeyType: typing_extensions.Literal[ + uploadKeyType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONTACT_INFO", "CRM_ID", "MOBILE_ADVERTISING_ID" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__CustomAffinityInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CustomAffinityInfo(typing.TypedDict, total=False): customAffinity: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__CustomAudienceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CustomAudienceInfo(typing.TypedDict, total=False): customAudience: str @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomAudienceSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customAudience: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__CustomIntentInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CustomIntentInfo(typing.TypedDict, total=False): customIntent: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__CustomParameter( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CustomParameter(typing.TypedDict, total=False): key: str value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomerLifecycleOptimizationValueSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): additionalHighLifetimeValue: float additionalValue: float @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomerMatchUserListMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): consent: GoogleAdsSearchads360V23Common__Consent userList: str @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomerThirdPartyBrandLiftIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowShareCost: bool - brandLiftIntegrationPartner: typing_extensions.Literal[ + brandLiftIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KANTAR_MILLWARD_BROWN", @@ -1429,15 +1345,15 @@ class GoogleAdsSearchads360V23Common__CustomerThirdPartyBrandLiftIntegrationPart @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomerThirdPartyBrandSafetyIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - brandSafetyIntegrationPartner: typing_extensions.Literal[ + brandSafetyIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DOUBLE_VERIFY", "INTEGRAL_AD_SCIENCE", "ZEFR" ] @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomerThirdPartyIntegrationPartners( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): brandLiftIntegrationPartners: _list[ GoogleAdsSearchads360V23Common__CustomerThirdPartyBrandLiftIntegrationPartner @@ -1454,10 +1370,10 @@ class GoogleAdsSearchads360V23Common__CustomerThirdPartyIntegrationPartners( @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomerThirdPartyReachIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowShareCost: bool - reachIntegrationPartner: typing_extensions.Literal[ + reachIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NIELSEN", @@ -1473,32 +1389,26 @@ class GoogleAdsSearchads360V23Common__CustomerThirdPartyReachIntegrationPartner( @typing.type_check_only class GoogleAdsSearchads360V23Common__CustomerThirdPartyViewabilityIntegrationPartner( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): allowShareCost: bool - viewabilityIntegrationPartner: typing_extensions.Literal[ + viewabilityIntegrationPartner: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DOUBLE_VERIFY", "INTEGRAL_AD_SCIENCE" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__CustomizerValue( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__CustomizerValue(typing.TypedDict, total=False): stringValue: str - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "TEXT", "NUMBER", "PRICE", "PERCENT" - ] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "TEXT", "NUMBER", "PRICE", "PERCENT"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__DateRange( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__DateRange(typing.TypedDict, total=False): endDate: str startDate: str @typing.type_check_only class GoogleAdsSearchads360V23Common__DemandGenCarouselAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessName: str callToActionText: str @@ -1509,7 +1419,7 @@ class GoogleAdsSearchads360V23Common__DemandGenCarouselAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__DemandGenCarouselCardAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callToActionText: str headline: str @@ -1519,7 +1429,7 @@ class GoogleAdsSearchads360V23Common__DemandGenCarouselCardAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__DemandGenMultiAssetAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessName: str callToActionText: str @@ -1533,7 +1443,7 @@ class GoogleAdsSearchads360V23Common__DemandGenMultiAssetAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__DemandGenProductAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): breadcrumb1: str breadcrumb2: str @@ -1545,7 +1455,7 @@ class GoogleAdsSearchads360V23Common__DemandGenProductAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__DemandGenVideoResponsiveAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): breadcrumb1: str breadcrumb2: str @@ -1560,23 +1470,21 @@ class GoogleAdsSearchads360V23Common__DemandGenVideoResponsiveAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__DetailedDemographicSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detailedDemographic: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__DeviceInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__DeviceInfo(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV", "OTHER" ] @typing.type_check_only class GoogleAdsSearchads360V23Common__DisplayUploadAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - displayUploadProductType: typing_extensions.Literal[ + displayUploadProductType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HTML5_UPLOAD_AD", @@ -1594,7 +1502,7 @@ class GoogleAdsSearchads360V23Common__DisplayUploadAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__DynamicBusinessProfileLocationGroupFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessNameFilter: ( GoogleAdsSearchads360V23Common__BusinessProfileBusinessNameFilter @@ -1603,9 +1511,7 @@ class GoogleAdsSearchads360V23Common__DynamicBusinessProfileLocationGroupFilter( listingIdFilters: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__DynamicCustomAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__DynamicCustomAsset(typing.TypedDict, total=False): androidAppLink: str contextualKeywords: _list[str] formattedPrice: str @@ -1626,7 +1532,7 @@ class GoogleAdsSearchads360V23Common__DynamicCustomAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__DynamicEducationAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str androidAppLink: str @@ -1645,7 +1551,7 @@ class GoogleAdsSearchads360V23Common__DynamicEducationAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__DynamicFlightsAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): androidAppLink: str customMapping: str @@ -1665,7 +1571,7 @@ class GoogleAdsSearchads360V23Common__DynamicFlightsAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__DynamicHotelsAndRentalsAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str androidAppLink: str @@ -1686,9 +1592,7 @@ class GoogleAdsSearchads360V23Common__DynamicHotelsAndRentalsAsset( starRating: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__DynamicJobsAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__DynamicJobsAsset(typing.TypedDict, total=False): address: str androidAppLink: str contextualKeywords: _list[str] @@ -1705,9 +1609,7 @@ class GoogleAdsSearchads360V23Common__DynamicJobsAsset( similarJobIds: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__DynamicLocalAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__DynamicLocalAsset(typing.TypedDict, total=False): address: str androidAppLink: str category: str @@ -1727,7 +1629,7 @@ class GoogleAdsSearchads360V23Common__DynamicLocalAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__DynamicRealEstateAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str androidAppLink: str @@ -1746,9 +1648,7 @@ class GoogleAdsSearchads360V23Common__DynamicRealEstateAsset( similarListingIds: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__DynamicTravelAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__DynamicTravelAsset(typing.TypedDict, total=False): androidAppLink: str category: str contextualKeywords: _list[str] @@ -1768,41 +1668,31 @@ class GoogleAdsSearchads360V23Common__DynamicTravelAsset( title: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__EnhancedCpc( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V23Common__EnhancedCpc(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAdsSearchads360V23Common__EventAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__EventAttribute(typing.TypedDict, total=False): event: str eventDateTime: str itemAttribute: _list[GoogleAdsSearchads360V23Common__EventItemAttribute] @typing.type_check_only -class GoogleAdsSearchads360V23Common__EventItemAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__EventItemAttribute(typing.TypedDict, total=False): itemId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ExclusionSegment( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ExclusionSegment(typing.TypedDict, total=False): userList: GoogleAdsSearchads360V23Common__UserListSegment @typing.type_check_only class GoogleAdsSearchads360V23Common__ExpandedDynamicSearchAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str description2: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ExpandedTextAdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ExpandedTextAdInfo(typing.TypedDict, total=False): description: str description2: str headlinePart1: str @@ -1813,126 +1703,100 @@ class GoogleAdsSearchads360V23Common__ExpandedTextAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__ExtendedDemographicInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): extendedDemographicId: str @typing.type_check_only class GoogleAdsSearchads360V23Common__FacebookMessengerBusinessMessageInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageName: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__FinalAppUrl( - typing_extensions.TypedDict, total=False -): - osType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "IOS", "ANDROID"] +class GoogleAdsSearchads360V23Common__FinalAppUrl(typing.TypedDict, total=False): + osType: typing.Literal["UNSPECIFIED", "UNKNOWN", "IOS", "ANDROID"] url: str @typing.type_check_only class GoogleAdsSearchads360V23Common__FlexibleRuleOperandInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lookbackWindowDays: str rule: GoogleAdsSearchads360V23Common__UserListRuleInfo @typing.type_check_only class GoogleAdsSearchads360V23Common__FlexibleRuleUserListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exclusiveOperands: _list[GoogleAdsSearchads360V23Common__FlexibleRuleOperandInfo] inclusiveOperands: _list[GoogleAdsSearchads360V23Common__FlexibleRuleOperandInfo] - inclusiveRuleOperator: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "AND", "OR" - ] + inclusiveRuleOperator: typing.Literal["UNSPECIFIED", "UNKNOWN", "AND", "OR"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__FrequencyCapEntry( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__FrequencyCapEntry(typing.TypedDict, total=False): cap: int key: GoogleAdsSearchads360V23Common__FrequencyCapKey @typing.type_check_only -class GoogleAdsSearchads360V23Common__FrequencyCapKey( - typing_extensions.TypedDict, total=False -): - eventType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "IMPRESSION", "VIDEO_VIEW" - ] - level: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__FrequencyCapKey(typing.TypedDict, total=False): + eventType: typing.Literal["UNSPECIFIED", "UNKNOWN", "IMPRESSION", "VIDEO_VIEW"] + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_AD", "AD_GROUP", "CAMPAIGN" ] timeLength: int - timeUnit: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "DAY", "WEEK", "MONTH" - ] + timeUnit: typing.Literal["UNSPECIFIED", "UNKNOWN", "DAY", "WEEK", "MONTH"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__GenderDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__GenderDimension(typing.TypedDict, total=False): genders: _list[ - typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "MALE", "FEMALE", "UNDETERMINED" - ] + typing.Literal["UNSPECIFIED", "UNKNOWN", "MALE", "FEMALE", "UNDETERMINED"] ] includeUndetermined: bool @typing.type_check_only -class GoogleAdsSearchads360V23Common__GenderInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "MALE", "FEMALE", "UNDETERMINED" - ] +class GoogleAdsSearchads360V23Common__GenderInfo(typing.TypedDict, total=False): + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "MALE", "FEMALE", "UNDETERMINED"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__GeoPointInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__GeoPointInfo(typing.TypedDict, total=False): latitudeInMicroDegrees: int longitudeInMicroDegrees: int @typing.type_check_only class GoogleAdsSearchads360V23Common__HistoricalMetricsOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAverageCpc: bool yearMonthRange: GoogleAdsSearchads360V23Common__YearMonthRange @typing.type_check_only -class GoogleAdsSearchads360V23Common__HotelAdInfo( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V23Common__HotelAdInfo(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleAdsSearchads360V23Common__HotelAdvanceBookingWindowInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxDays: str minDays: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__HotelCalloutAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__HotelCalloutAsset(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only class GoogleAdsSearchads360V23Common__HotelCheckInDateRangeInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endDate: str startDate: str @typing.type_check_only class GoogleAdsSearchads360V23Common__HotelCheckInDayInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dayOfWeek: typing_extensions.Literal[ + dayOfWeek: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MONDAY", @@ -1945,65 +1809,53 @@ class GoogleAdsSearchads360V23Common__HotelCheckInDayInfo( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__HotelCityInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__HotelCityInfo(typing.TypedDict, total=False): cityCriterion: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__HotelClassInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__HotelClassInfo(typing.TypedDict, total=False): value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__HotelCountryRegionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryRegionCriterion: str @typing.type_check_only class GoogleAdsSearchads360V23Common__HotelDateSelectionTypeInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "DEFAULT_SELECTION", "USER_SELECTED" - ] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "DEFAULT_SELECTION", "USER_SELECTED"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__HotelIdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__HotelIdInfo(typing.TypedDict, total=False): value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__HotelLengthOfStayInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxNights: str minNights: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__HotelPropertyAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__HotelPropertyAsset(typing.TypedDict, total=False): hotelAddress: str hotelName: str placeId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__HotelStateInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__HotelStateInfo(typing.TypedDict, total=False): stateCriterion: str @typing.type_check_only class GoogleAdsSearchads360V23Common__HouseholdIncomeDimension( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeUndetermined: bool incomeRanges: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INCOME_RANGE_0_50", @@ -2017,14 +1869,12 @@ class GoogleAdsSearchads360V23Common__HouseholdIncomeDimension( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ImageAdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ImageAdInfo(typing.TypedDict, total=False): adIdToCopyImageFrom: str data: str imageAsset: GoogleAdsSearchads360V23Common__AdImageAsset imageUrl: str - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "IMAGE_JPEG", @@ -2048,13 +1898,11 @@ class GoogleAdsSearchads360V23Common__ImageAdInfo( previewPixelWidth: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ImageAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ImageAsset(typing.TypedDict, total=False): data: str fileSize: str fullSize: GoogleAdsSearchads360V23Common__ImageDimension - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "IMAGE_JPEG", @@ -2072,18 +1920,14 @@ class GoogleAdsSearchads360V23Common__ImageAsset( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ImageDimension( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ImageDimension(typing.TypedDict, total=False): heightPixels: str url: str widthPixels: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__IncomeRangeInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__IncomeRangeInfo(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INCOME_RANGE_0_50", @@ -2097,20 +1941,16 @@ class GoogleAdsSearchads360V23Common__IncomeRangeInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__InteractionTypeInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "CALLS"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "CALLS"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__IpBlockInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__IpBlockInfo(typing.TypedDict, total=False): ipAddress: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ItemAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ItemAttribute(typing.TypedDict, total=False): countryCode: str itemId: str languageCode: str @@ -2118,82 +1958,68 @@ class GoogleAdsSearchads360V23Common__ItemAttribute( quantity: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__Keyword(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Common__Keyword(typing.TypedDict, total=False): adGroupCriterion: str info: GoogleAdsSearchads360V23Common__KeywordInfo @typing.type_check_only -class GoogleAdsSearchads360V23Common__KeywordAnnotations( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__KeywordAnnotations(typing.TypedDict, total=False): concepts: _list[GoogleAdsSearchads360V23Common__KeywordConcept] @typing.type_check_only -class GoogleAdsSearchads360V23Common__KeywordConcept( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__KeywordConcept(typing.TypedDict, total=False): conceptGroup: GoogleAdsSearchads360V23Common__ConceptGroup name: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__KeywordInfo( - typing_extensions.TypedDict, total=False -): - matchType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD" - ] +class GoogleAdsSearchads360V23Common__KeywordInfo(typing.TypedDict, total=False): + matchType: typing.Literal["UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD"] text: str @typing.type_check_only class GoogleAdsSearchads360V23Common__KeywordPlanAggregateMetricResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceSearches: _list[GoogleAdsSearchads360V23Common__KeywordPlanDeviceSearches] @typing.type_check_only class GoogleAdsSearchads360V23Common__KeywordPlanAggregateMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - aggregateMetricTypes: _list[ - typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "DEVICE"] - ] + aggregateMetricTypes: _list[typing.Literal["UNSPECIFIED", "UNKNOWN", "DEVICE"]] @typing.type_check_only class GoogleAdsSearchads360V23Common__KeywordPlanDeviceSearches( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - device: typing_extensions.Literal[ + device: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV", "OTHER" ] searchCount: str @typing.type_check_only class GoogleAdsSearchads360V23Common__KeywordPlanHistoricalMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageCpcMicros: str avgMonthlySearches: str - competition: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "LOW", "MEDIUM", "HIGH" - ] + competition: typing.Literal["UNSPECIFIED", "UNKNOWN", "LOW", "MEDIUM", "HIGH"] competitionIndex: str highTopOfPageBidMicros: str lowTopOfPageBidMicros: str monthlySearchVolumes: _list[GoogleAdsSearchads360V23Common__MonthlySearchVolume] @typing.type_check_only -class GoogleAdsSearchads360V23Common__KeywordThemeInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__KeywordThemeInfo(typing.TypedDict, total=False): freeFormKeywordTheme: str keywordThemeConstant: str @typing.type_check_only class GoogleAdsSearchads360V23Common__KnowledgeGraphAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entityCapabilities: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONTENT_TRENDING_INSIGHTS", "CREATOR_ATTRIBUTE" ] ] @@ -2202,19 +2028,15 @@ class GoogleAdsSearchads360V23Common__KnowledgeGraphAttributeMetadata( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__LanguageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LanguageInfo(typing.TypedDict, total=False): languageConstant: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__LeadFormAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LeadFormAsset(typing.TypedDict, total=False): backgroundImageAsset: str businessName: str callToActionDescription: str - callToActionType: typing_extensions.Literal[ + callToActionType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEARN_MORE", @@ -2238,12 +2060,10 @@ class GoogleAdsSearchads360V23Common__LeadFormAsset( ] deliveryMethods: _list[GoogleAdsSearchads360V23Common__LeadFormDeliveryMethod] description: str - desiredIntent: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "LOW_INTENT", "HIGH_INTENT" - ] + desiredIntent: typing.Literal["UNSPECIFIED", "UNKNOWN", "LOW_INTENT", "HIGH_INTENT"] fields: _list[GoogleAdsSearchads360V23Common__LeadFormField] headline: str - postSubmitCallToActionType: typing_extensions.Literal[ + postSubmitCallToActionType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VISIT_SITE", "DOWNLOAD", "LEARN_MORE", "SHOP_NOW" ] postSubmitDescription: str @@ -2252,7 +2072,7 @@ class GoogleAdsSearchads360V23Common__LeadFormAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__LeadFormCustomQuestionField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customQuestionText: str hasLocationAnswer: bool @@ -2260,16 +2080,14 @@ class GoogleAdsSearchads360V23Common__LeadFormCustomQuestionField( @typing.type_check_only class GoogleAdsSearchads360V23Common__LeadFormDeliveryMethod( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): webhook: GoogleAdsSearchads360V23Common__WebhookDelivery @typing.type_check_only -class GoogleAdsSearchads360V23Common__LeadFormField( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LeadFormField(typing.TypedDict, total=False): hasLocationAnswer: bool - inputType: typing_extensions.Literal[ + inputType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FULL_NAME", @@ -2393,16 +2211,16 @@ class GoogleAdsSearchads360V23Common__LeadFormField( @typing.type_check_only class GoogleAdsSearchads360V23Common__LeadFormSingleChoiceAnswers( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): answers: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Common__LegacyAppInstallAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appId: str - appStore: typing_extensions.Literal[ + appStore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPLE_APP_STORE", @@ -2417,14 +2235,14 @@ class GoogleAdsSearchads360V23Common__LegacyAppInstallAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__LegacyResponsiveDisplayAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accentColor: str allowFlexibleColor: bool businessName: str callToActionText: str description: str - formatSetting: typing_extensions.Literal[ + formatSetting: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ALL_FORMATS", "NON_NATIVE", "NATIVE" ] logoImage: str @@ -2438,27 +2256,23 @@ class GoogleAdsSearchads360V23Common__LegacyResponsiveDisplayAdInfo( squareMarketingImage: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__LifeEventInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LifeEventInfo(typing.TypedDict, total=False): lifeEventId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__LifeEventSegment( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LifeEventSegment(typing.TypedDict, total=False): lifeEvent: str @typing.type_check_only class GoogleAdsSearchads360V23Common__LifecycleGoalValueSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): highLifetimeValue: float value: float @typing.type_check_only class GoogleAdsSearchads360V23Common__LineupAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelCountLowerBound: str channelCountUpperBound: str @@ -2470,7 +2284,7 @@ class GoogleAdsSearchads360V23Common__LineupAttributeMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Common__ListingDimensionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activityCity: GoogleAdsSearchads360V23Common__ActivityCityInfo activityCountry: GoogleAdsSearchads360V23Common__ActivityCountryInfo @@ -2500,29 +2314,23 @@ class GoogleAdsSearchads360V23Common__ListingDimensionInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__ListingDimensionPath( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[GoogleAdsSearchads360V23Common__ListingDimensionInfo] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ListingGroupInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ListingGroupInfo(typing.TypedDict, total=False): caseValue: GoogleAdsSearchads360V23Common__ListingDimensionInfo parentAdGroupCriterion: str path: GoogleAdsSearchads360V23Common__ListingDimensionPath - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "SUBDIVISION", "UNIT"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "SUBDIVISION", "UNIT"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ListingScopeInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ListingScopeInfo(typing.TypedDict, total=False): dimensions: _list[GoogleAdsSearchads360V23Common__ListingDimensionInfo] @typing.type_check_only -class GoogleAdsSearchads360V23Common__LocalAdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LocalAdInfo(typing.TypedDict, total=False): callToActions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] headlines: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @@ -2533,125 +2341,103 @@ class GoogleAdsSearchads360V23Common__LocalAdInfo( videos: _list[GoogleAdsSearchads360V23Common__AdVideoAsset] @typing.type_check_only -class GoogleAdsSearchads360V23Common__LocalServiceIdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LocalServiceIdInfo(typing.TypedDict, total=False): serviceId: str @typing.type_check_only class GoogleAdsSearchads360V23Common__LocalServicesDocumentReadOnly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentUrl: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__LocationAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LocationAsset(typing.TypedDict, total=False): businessProfileLocations: _list[ GoogleAdsSearchads360V23Common__BusinessProfileLocation ] - locationOwnershipType: typing_extensions.Literal[ + locationOwnershipType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUSINESS_OWNER", "AFFILIATE" ] placeId: str @typing.type_check_only class GoogleAdsSearchads360V23Common__LocationAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryLocation: GoogleAdsSearchads360V23Common__LocationInfo @typing.type_check_only -class GoogleAdsSearchads360V23Common__LocationGroupInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LocationGroupInfo(typing.TypedDict, total=False): enableCustomerLevelLocationAssetSet: bool feedItemSets: _list[str] geoTargetConstants: _list[str] locationGroupAssetSets: _list[str] radius: str - radiusUnits: typing_extensions.Literal[ + radiusUnits: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "METERS", "MILES", "MILLI_MILES" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__LocationInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LocationInfo(typing.TypedDict, total=False): geoTargetConstant: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__LocationSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__LocationSet(typing.TypedDict, total=False): businessProfileLocationSet: ( GoogleAdsSearchads360V23Common__BusinessProfileLocationSet ) chainLocationSet: GoogleAdsSearchads360V23Common__ChainSet - locationOwnershipType: typing_extensions.Literal[ + locationOwnershipType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUSINESS_OWNER", "AFFILIATE" ] mapsLocationSet: GoogleAdsSearchads360V23Common__MapsLocationSet @typing.type_check_only class GoogleAdsSearchads360V23Common__LogicalUserListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): rules: _list[GoogleAdsSearchads360V23Common__UserListLogicalRuleInfo] @typing.type_check_only class GoogleAdsSearchads360V23Common__LogicalUserListOperandInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userList: str @typing.type_check_only class GoogleAdsSearchads360V23Common__LookalikeUserListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCodes: _list[str] - expansionLevel: typing_extensions.Literal[ + expansionLevel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NARROW", "BALANCED", "BROAD" ] seedUserListIds: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ManualCpa( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V23Common__ManualCpa(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAdsSearchads360V23Common__ManualCpc( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ManualCpc(typing.TypedDict, total=False): enhancedCpcEnabled: bool @typing.type_check_only -class GoogleAdsSearchads360V23Common__ManualCpm( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V23Common__ManualCpm(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAdsSearchads360V23Common__ManualCpv( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V23Common__ManualCpv(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAdsSearchads360V23Common__MapsLocationInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__MapsLocationInfo(typing.TypedDict, total=False): placeId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__MapsLocationSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__MapsLocationSet(typing.TypedDict, total=False): mapsLocations: _list[GoogleAdsSearchads360V23Common__MapsLocationInfo] @typing.type_check_only class GoogleAdsSearchads360V23Common__MaximizeConversionValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str cpcBidFloorMicros: str @@ -2660,23 +2446,19 @@ class GoogleAdsSearchads360V23Common__MaximizeConversionValue( @typing.type_check_only class GoogleAdsSearchads360V23Common__MaximizeConversions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str cpcBidFloorMicros: str targetCpaMicros: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__MediaBundleAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__MediaBundleAsset(typing.TypedDict, total=False): data: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__MetricGoal( - typing_extensions.TypedDict, total=False -): - direction: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__MetricGoal(typing.TypedDict, total=False): + direction: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_CHANGE", @@ -2685,7 +2467,7 @@ class GoogleAdsSearchads360V23Common__MetricGoal( "NO_CHANGE_OR_INCREASE", "NO_CHANGE_OR_DECREASE", ] - metric: typing_extensions.Literal[ + metric: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICKS", @@ -2704,7 +2486,7 @@ class GoogleAdsSearchads360V23Common__MetricGoal( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__Metrics(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Common__Metrics(typing.TypedDict, total=False): absoluteTopImpressionPercentage: float allConversions: float allConversionsByConversionDate: float @@ -2768,19 +2550,19 @@ class GoogleAdsSearchads360V23Common__Metrics(typing_extensions.TypedDict, total generalInvalidClicks: str grossProfitMargin: float grossProfitMicros: str - historicalCreativeQualityScore: typing_extensions.Literal[ + historicalCreativeQualityScore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] - historicalLandingPageQualityScore: typing_extensions.Literal[ + historicalLandingPageQualityScore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] historicalQualityScore: str - historicalSearchPredictedCtr: typing_extensions.Literal[ + historicalSearchPredictedCtr: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] impressions: str interactionEventTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICK", "ENGAGEMENT", "VIDEO_VIEW", "NONE" ] ] @@ -2817,11 +2599,9 @@ class GoogleAdsSearchads360V23Common__Metrics(typing_extensions.TypedDict, total visits: float @typing.type_check_only -class GoogleAdsSearchads360V23Common__MobileAppAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__MobileAppAsset(typing.TypedDict, total=False): appId: str - appStore: typing_extensions.Literal[ + appStore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_APP_STORE" ] endDate: str @@ -2830,33 +2610,31 @@ class GoogleAdsSearchads360V23Common__MobileAppAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__MobileAppCategoryInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mobileAppCategoryConstant: str @typing.type_check_only class GoogleAdsSearchads360V23Common__MobileApplicationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appId: str name: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__MobileDeviceInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__MobileDeviceInfo(typing.TypedDict, total=False): mobileDeviceConstant: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__Money(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Common__Money(typing.TypedDict, total=False): amountMicros: str currencyCode: str @typing.type_check_only class GoogleAdsSearchads360V23Common__MonthlySearchVolume( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - month: typing_extensions.Literal[ + month: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "JANUARY", @@ -2877,13 +2655,13 @@ class GoogleAdsSearchads360V23Common__MonthlySearchVolume( @typing.type_check_only class GoogleAdsSearchads360V23Common__NegativeKeywordListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sharedSet: str @typing.type_check_only class GoogleAdsSearchads360V23Common__OfflineUserAddressInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): city: str countryCode: str @@ -2895,46 +2673,40 @@ class GoogleAdsSearchads360V23Common__OfflineUserAddressInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__OperatingSystemVersionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operatingSystemVersionConstant: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__PageFeedAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PageFeedAsset(typing.TypedDict, total=False): labels: _list[str] pageUrl: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ParentalStatusDimension( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeUndetermined: bool parentalStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PARENT", "NOT_A_PARENT", "UNDETERMINED" ] ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ParentalStatusInfo( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__ParentalStatusInfo(typing.TypedDict, total=False): + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PARENT", "NOT_A_PARENT", "UNDETERMINED" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__PercentCpc( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PercentCpc(typing.TypedDict, total=False): cpcBidCeilingMicros: str enhancedCpcEnabled: bool @typing.type_check_only class GoogleAdsSearchads360V23Common__PercentCpcBidSimulationPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddableConversions: float biddableConversionsValue: float @@ -2946,27 +2718,21 @@ class GoogleAdsSearchads360V23Common__PercentCpcBidSimulationPoint( @typing.type_check_only class GoogleAdsSearchads360V23Common__PercentCpcBidSimulationPointList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): points: _list[GoogleAdsSearchads360V23Common__PercentCpcBidSimulationPoint] @typing.type_check_only -class GoogleAdsSearchads360V23Common__PlacementInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PlacementInfo(typing.TypedDict, total=False): url: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__PlacementListInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PlacementListInfo(typing.TypedDict, total=False): sharedSet: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__PolicySummary( - typing_extensions.TypedDict, total=False -): - approvalStatus: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__PolicySummary(typing.TypedDict, total=False): + approvalStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISAPPROVED", @@ -2975,7 +2741,7 @@ class GoogleAdsSearchads360V23Common__PolicySummary( "AREA_OF_INTEREST_ONLY", ] policyTopicEntries: _list[GoogleAdsSearchads360V23Common__PolicyTopicEntry] - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REVIEW_IN_PROGRESS", @@ -2986,7 +2752,7 @@ class GoogleAdsSearchads360V23Common__PolicySummary( @typing.type_check_only class GoogleAdsSearchads360V23Common__PolicyTopicConstraint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): certificateDomainMismatchInCountryList: ( GoogleAdsSearchads360V23Common_PolicyTopicConstraint_CountryConstraintList @@ -3002,13 +2768,11 @@ class GoogleAdsSearchads360V23Common__PolicyTopicConstraint( ) @typing.type_check_only -class GoogleAdsSearchads360V23Common__PolicyTopicEntry( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PolicyTopicEntry(typing.TypedDict, total=False): constraints: _list[GoogleAdsSearchads360V23Common__PolicyTopicConstraint] evidences: _list[GoogleAdsSearchads360V23Common__PolicyTopicEvidence] topic: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PROHIBITED", @@ -3021,7 +2785,7 @@ class GoogleAdsSearchads360V23Common__PolicyTopicEntry( @typing.type_check_only class GoogleAdsSearchads360V23Common__PolicyTopicEvidence( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): destinationMismatch: ( GoogleAdsSearchads360V23Common_PolicyTopicEvidence_DestinationMismatch @@ -3038,28 +2802,22 @@ class GoogleAdsSearchads360V23Common__PolicyTopicEvidence( @typing.type_check_only class GoogleAdsSearchads360V23Common__PolicyValidationParameter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exemptPolicyViolationKeys: _list[GoogleAdsSearchads360V23Common__PolicyViolationKey] ignorablePolicyTopics: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__PolicyViolationKey( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PolicyViolationKey(typing.TypedDict, total=False): policyName: str violatingText: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__PriceAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PriceAsset(typing.TypedDict, total=False): languageCode: str priceOfferings: _list[GoogleAdsSearchads360V23Common__PriceOffering] - priceQualifier: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "FROM", "UP_TO", "AVERAGE" - ] - type: typing_extensions.Literal[ + priceQualifier: typing.Literal["UNSPECIFIED", "UNKNOWN", "FROM", "UP_TO", "AVERAGE"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BRANDS", @@ -3074,15 +2832,13 @@ class GoogleAdsSearchads360V23Common__PriceAsset( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__PriceOffering( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PriceOffering(typing.TypedDict, total=False): description: str finalMobileUrl: str finalUrl: str header: str price: GoogleAdsSearchads360V23Common__Money - unit: typing_extensions.Literal[ + unit: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PER_HOUR", @@ -3094,100 +2850,86 @@ class GoogleAdsSearchads360V23Common__PriceOffering( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ProductBrandInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ProductBrandInfo(typing.TypedDict, total=False): value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ProductCategoryInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str - level: typing_extensions.Literal[ + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] @typing.type_check_only class GoogleAdsSearchads360V23Common__ProductChannelExclusivityInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - channelExclusivity: typing_extensions.Literal[ + channelExclusivity: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SINGLE_CHANNEL", "MULTI_CHANNEL" ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__ProductChannelInfo( - typing_extensions.TypedDict, total=False -): - channel: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] +class GoogleAdsSearchads360V23Common__ProductChannelInfo(typing.TypedDict, total=False): + channel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] @typing.type_check_only class GoogleAdsSearchads360V23Common__ProductConditionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED" - ] + condition: typing.Literal["UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED"] @typing.type_check_only class GoogleAdsSearchads360V23Common__ProductCustomAttributeInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - index: typing_extensions.Literal[ + index: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INDEX0", "INDEX1", "INDEX2", "INDEX3", "INDEX4" ] value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ProductGroupingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ProductItemIdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ProductItemIdInfo(typing.TypedDict, total=False): value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ProductLabelsInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ProductLabelsInfo(typing.TypedDict, total=False): value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ProductLegacyConditionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ProductTypeFullInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ProductTypeInfo( - typing_extensions.TypedDict, total=False -): - level: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__ProductTypeInfo(typing.TypedDict, total=False): + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__PromotionAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__PromotionAsset(typing.TypedDict, total=False): adScheduleTargets: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] - discountModifier: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "UP_TO"] + discountModifier: typing.Literal["UNSPECIFIED", "UNKNOWN", "UP_TO"] endDate: str languageCode: str moneyAmountOff: GoogleAdsSearchads360V23Common__Money - occasion: typing_extensions.Literal[ + occasion: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEW_YEARS", @@ -3242,10 +2984,10 @@ class GoogleAdsSearchads360V23Common__PromotionAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__PromotionBarcodeInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): barcodeContent: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AZTEC", @@ -3262,37 +3004,33 @@ class GoogleAdsSearchads360V23Common__PromotionBarcodeInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__PromotionQrCodeInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): qrCodeContent: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ProximityInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ProximityInfo(typing.TypedDict, total=False): address: GoogleAdsSearchads360V23Common__AddressInfo geoPoint: GoogleAdsSearchads360V23Common__GeoPointInfo radius: float - radiusUnits: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "MILES", "KILOMETERS" - ] + radiusUnits: typing.Literal["UNSPECIFIED", "UNKNOWN", "MILES", "KILOMETERS"] @typing.type_check_only class GoogleAdsSearchads360V23Common__RealTimeBiddingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): optIn: bool @typing.type_check_only class GoogleAdsSearchads360V23Common__ResponsiveDisplayAdControlSpec( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableAssetEnhancements: bool enableAutogenVideo: bool @typing.type_check_only class GoogleAdsSearchads360V23Common__ResponsiveDisplayAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accentColor: str allowFlexibleColor: bool @@ -3300,7 +3038,7 @@ class GoogleAdsSearchads360V23Common__ResponsiveDisplayAdInfo( callToActionText: str controlSpec: GoogleAdsSearchads360V23Common__ResponsiveDisplayAdControlSpec descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] - formatSetting: typing_extensions.Literal[ + formatSetting: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ALL_FORMATS", "NON_NATIVE", "NATIVE" ] headlines: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @@ -3316,7 +3054,7 @@ class GoogleAdsSearchads360V23Common__ResponsiveDisplayAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__ResponsiveSearchAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] headlines: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @@ -3325,16 +3063,16 @@ class GoogleAdsSearchads360V23Common__ResponsiveSearchAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__RuleBasedUserListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): flexibleRuleUserList: GoogleAdsSearchads360V23Common__FlexibleRuleUserListInfo - prepopulationStatus: typing_extensions.Literal[ + prepopulationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUESTED", "FINISHED", "FAILED" ] @typing.type_check_only class GoogleAdsSearchads360V23Common__SearchAds360ExpandedDynamicSearchAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str description1: str @@ -3342,7 +3080,7 @@ class GoogleAdsSearchads360V23Common__SearchAds360ExpandedDynamicSearchAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__SearchAds360ExpandedTextAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str description1: str @@ -3355,12 +3093,12 @@ class GoogleAdsSearchads360V23Common__SearchAds360ExpandedTextAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__SearchAds360ProductAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Common__SearchAds360ResponsiveSearchAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @@ -3370,7 +3108,7 @@ class GoogleAdsSearchads360V23Common__SearchAds360ResponsiveSearchAdInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__SearchAds360TextAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adTrackingId: str description1: str @@ -3380,16 +3118,12 @@ class GoogleAdsSearchads360V23Common__SearchAds360TextAdInfo( headline: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__SearchThemeInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__SearchThemeInfo(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__Segments( - typing_extensions.TypedDict, total=False -): - adFormatType: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__Segments(typing.TypedDict, total=False): + adFormatType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OTHER", @@ -3407,7 +3141,7 @@ class GoogleAdsSearchads360V23Common__Segments( "VERTICAL_ADS_BOOKING_LINK", "TEXT", ] - adNetworkType: typing_extensions.Literal[ + adNetworkType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -3423,7 +3157,7 @@ class GoogleAdsSearchads360V23Common__Segments( ] assetInteractionTarget: GoogleAdsSearchads360V23Common__AssetInteractionTarget conversionAction: str - conversionActionCategory: typing_extensions.Literal[ + conversionActionCategory: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEFAULT", @@ -3451,7 +3185,7 @@ class GoogleAdsSearchads360V23Common__Segments( conversionActionName: str conversionCustomDimensions: _list[GoogleAdsSearchads360V23Common__Value] date: str - dayOfWeek: typing_extensions.Literal[ + dayOfWeek: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MONDAY", @@ -3462,7 +3196,7 @@ class GoogleAdsSearchads360V23Common__Segments( "SATURDAY", "SUNDAY", ] - device: typing_extensions.Literal[ + device: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV", "OTHER" ] geoTargetCity: str @@ -3472,6 +3206,9 @@ class GoogleAdsSearchads360V23Common__Segments( geoTargetRegion: str hour: int keyword: GoogleAdsSearchads360V23Common__Keyword + mobileDevicePlatform: typing.Literal[ + "UNSPECIFIED", "UNKNOWN", "ANDROID", "IOS", "OTHER_MOBILE", "DESKTOP" + ] month: str productBiddingCategoryLevel1: str productBiddingCategoryLevel2: str @@ -3479,13 +3216,11 @@ class GoogleAdsSearchads360V23Common__Segments( productBiddingCategoryLevel4: str productBiddingCategoryLevel5: str productBrand: str - productChannel: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL" - ] - productChannelExclusivity: typing_extensions.Literal[ + productChannel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] + productChannelExclusivity: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SINGLE_CHANNEL", "MULTI_CHANNEL" ] - productCondition: typing_extensions.Literal[ + productCondition: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED" ] productCountry: str @@ -3502,7 +3237,7 @@ class GoogleAdsSearchads360V23Common__Segments( productSoldBiddingCategoryLevel4: str productSoldBiddingCategoryLevel5: str productSoldBrand: str - productSoldCondition: typing_extensions.Literal[ + productSoldCondition: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED" ] productSoldCustomAttribute0: str @@ -3534,7 +3269,7 @@ class GoogleAdsSearchads360V23Common__Segments( verticalAdsListingCountry: str verticalAdsListingRegion: str verticalAdsPartnerAccount: str - verticalAdsVertical: typing_extensions.Literal[ + verticalAdsVertical: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HOTELS", @@ -3549,36 +3284,32 @@ class GoogleAdsSearchads360V23Common__Segments( @typing.type_check_only class GoogleAdsSearchads360V23Common__ShoppingComparisonListingAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): headline: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__ShoppingLoyalty( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__ShoppingLoyalty(typing.TypedDict, total=False): loyaltyTier: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ShoppingProductAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Common__ShoppingSmartAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Common__SimilarUserListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): seedUserList: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__SitelinkAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__SitelinkAsset(typing.TypedDict, total=False): adScheduleTargets: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] description1: str description2: str @@ -3587,9 +3318,7 @@ class GoogleAdsSearchads360V23Common__SitelinkAsset( startDate: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__SitelinkFeedItem( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__SitelinkFeedItem(typing.TypedDict, total=False): finalMobileUrls: _list[str] finalUrlSuffix: str finalUrls: _list[str] @@ -3601,21 +3330,17 @@ class GoogleAdsSearchads360V23Common__SitelinkFeedItem( @typing.type_check_only class GoogleAdsSearchads360V23Common__SmartCampaignAdInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): descriptions: _list[GoogleAdsSearchads360V23Common__AdTextAsset] headlines: _list[GoogleAdsSearchads360V23Common__AdTextAsset] @typing.type_check_only -class GoogleAdsSearchads360V23Common__StoreAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__StoreAttribute(typing.TypedDict, total=False): storeCode: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__StoreSalesMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__StoreSalesMetadata(typing.TypedDict, total=False): customKey: str loyaltyFraction: float thirdPartyMetadata: GoogleAdsSearchads360V23Common__StoreSalesThirdPartyMetadata @@ -3623,7 +3348,7 @@ class GoogleAdsSearchads360V23Common__StoreSalesMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Common__StoreSalesThirdPartyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertiserUploadDateTime: str bridgeMapVersionId: str @@ -3634,19 +3359,37 @@ class GoogleAdsSearchads360V23Common__StoreSalesThirdPartyMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Common__StructuredSnippetAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): header: str values: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Common__TagSnippet( - typing_extensions.TypedDict, total=False +class GoogleAdsSearchads360V23Common__SyntheticContentAttestation( + typing.TypedDict, total=False ): + source: typing.Literal[ + "UNSPECIFIED", + "UNKNOWN", + "ADVERTISER_ATTESTED", + "GOOGLE_GENERATED_ADVERTISER_REVIEWED", + "GOOGLE_GENERATED_FULLY_AUTOMATED", + ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOT_SYNTHETIC", "IS_SYNTHETIC"] + +@typing.type_check_only +class GoogleAdsSearchads360V23Common__SyntheticContentInfo( + typing.TypedDict, total=False +): + advertiserAttestation: GoogleAdsSearchads360V23Common__SyntheticContentAttestation + systemAttestation: GoogleAdsSearchads360V23Common__SyntheticContentAttestation + +@typing.type_check_only +class GoogleAdsSearchads360V23Common__TagSnippet(typing.TypedDict, total=False): eventSnippet: str globalSiteTag: str - pageFormat: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "HTML", "AMP"] - type: typing_extensions.Literal[ + pageFormat: typing.Literal["UNSPECIFIED", "UNKNOWN", "HTML", "AMP"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBPAGE", @@ -3656,16 +3399,14 @@ class GoogleAdsSearchads360V23Common__TagSnippet( ] @typing.type_check_only -class GoogleAdsSearchads360V23Common__TargetCpa( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TargetCpa(typing.TypedDict, total=False): cpcBidCeilingMicros: str cpcBidFloorMicros: str targetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetCpaSimulationPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appInstalls: float biddableConversions: float @@ -3682,27 +3423,23 @@ class GoogleAdsSearchads360V23Common__TargetCpaSimulationPoint( @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetCpaSimulationPointList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): points: _list[GoogleAdsSearchads360V23Common__TargetCpaSimulationPoint] @typing.type_check_only -class GoogleAdsSearchads360V23Common__TargetCpc( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TargetCpc(typing.TypedDict, total=False): targetCpcMicros: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__TargetCpm( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V23Common__TargetCpm(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetImpressionShare( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str - location: typing_extensions.Literal[ + location: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ANYWHERE_ON_PAGE", @@ -3713,7 +3450,7 @@ class GoogleAdsSearchads360V23Common__TargetImpressionShare( @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetImpressionShareSimulationPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): absoluteTopImpressions: str biddableConversions: float @@ -3728,16 +3465,14 @@ class GoogleAdsSearchads360V23Common__TargetImpressionShareSimulationPoint( @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetImpressionShareSimulationPointList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): points: _list[GoogleAdsSearchads360V23Common__TargetImpressionShareSimulationPoint] @typing.type_check_only -class GoogleAdsSearchads360V23Common__TargetRestriction( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TargetRestriction(typing.TypedDict, total=False): bidOnly: bool - targetingDimension: typing_extensions.Literal[ + targetingDimension: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -3752,15 +3487,13 @@ class GoogleAdsSearchads360V23Common__TargetRestriction( @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetRestrictionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - operator: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ADD", "REMOVE"] + operator: typing.Literal["UNSPECIFIED", "UNKNOWN", "ADD", "REMOVE"] value: GoogleAdsSearchads360V23Common__TargetRestriction @typing.type_check_only -class GoogleAdsSearchads360V23Common__TargetRoas( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TargetRoas(typing.TypedDict, total=False): cpcBidCeilingMicros: str cpcBidFloorMicros: str targetRoas: float @@ -3768,7 +3501,7 @@ class GoogleAdsSearchads360V23Common__TargetRoas( @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetRoasSimulationPoint( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddableConversions: float biddableConversionsValue: float @@ -3781,64 +3514,52 @@ class GoogleAdsSearchads360V23Common__TargetRoasSimulationPoint( @typing.type_check_only class GoogleAdsSearchads360V23Common__TargetRoasSimulationPointList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): points: _list[GoogleAdsSearchads360V23Common__TargetRoasSimulationPoint] @typing.type_check_only -class GoogleAdsSearchads360V23Common__TargetSpend( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TargetSpend(typing.TypedDict, total=False): cpcBidCeilingMicros: str targetSpendMicros: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__TargetingSetting( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TargetingSetting(typing.TypedDict, total=False): targetRestrictionOperations: _list[ GoogleAdsSearchads360V23Common__TargetRestrictionOperation ] targetRestrictions: _list[GoogleAdsSearchads360V23Common__TargetRestriction] @typing.type_check_only -class GoogleAdsSearchads360V23Common__TextAdInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TextAdInfo(typing.TypedDict, total=False): description1: str description2: str headline: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__TextAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TextAsset(typing.TypedDict, total=False): text: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__TextLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TextLabel(typing.TypedDict, total=False): backgroundColor: str description: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ThirdPartyIntegrationPartnerData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientId: str thirdPartyPlacementId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__TopicInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__TopicInfo(typing.TypedDict, total=False): path: _list[str] topicConstant: str @typing.type_check_only class GoogleAdsSearchads360V23Common__TransactionAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionAction: str currencyCode: str @@ -3850,17 +3571,13 @@ class GoogleAdsSearchads360V23Common__TransactionAttribute( transactionDateTime: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__TravelAdInfo( - typing_extensions.TypedDict, total=False -): ... +class GoogleAdsSearchads360V23Common__TravelAdInfo(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleAdsSearchads360V23Common__UnifiedCallAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UnifiedCallAsset(typing.TypedDict, total=False): adScheduleTargets: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] callConversionAction: str - callConversionReportingState: typing_extensions.Literal[ + callConversionReportingState: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISABLED", @@ -3877,7 +3594,7 @@ class GoogleAdsSearchads360V23Common__UnifiedCallAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__UnifiedCalloutAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adScheduleTargets: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] calloutText: str @@ -3887,26 +3604,26 @@ class GoogleAdsSearchads360V23Common__UnifiedCalloutAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__UnifiedLocationAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessProfileLocations: _list[ GoogleAdsSearchads360V23Common__BusinessProfileLocation ] - locationOwnershipType: typing_extensions.Literal[ + locationOwnershipType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUSINESS_OWNER", "AFFILIATE" ] placeId: str @typing.type_check_only class GoogleAdsSearchads360V23Common__UnifiedPageFeedAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: _list[str] pageUrl: str @typing.type_check_only class GoogleAdsSearchads360V23Common__UnifiedSitelinkAsset( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adScheduleTargets: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] description1: str @@ -3920,22 +3637,18 @@ class GoogleAdsSearchads360V23Common__UnifiedSitelinkAsset( @typing.type_check_only class GoogleAdsSearchads360V23Common__UnknownListingDimensionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleAdsSearchads360V23Common__UrlCollection( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UrlCollection(typing.TypedDict, total=False): finalMobileUrls: _list[str] finalUrls: _list[str] trackingUrlTemplate: str urlCollectionId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserAttribute(typing.TypedDict, total=False): acquisitionDateTime: str averagePurchaseCount: int averagePurchaseValueMicros: str @@ -3948,57 +3661,49 @@ class GoogleAdsSearchads360V23Common__UserAttribute( shoppingLoyalty: GoogleAdsSearchads360V23Common__ShoppingLoyalty @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserData( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserData(typing.TypedDict, total=False): consent: GoogleAdsSearchads360V23Common__Consent transactionAttribute: GoogleAdsSearchads360V23Common__TransactionAttribute userAttribute: GoogleAdsSearchads360V23Common__UserAttribute userIdentifiers: _list[GoogleAdsSearchads360V23Common__UserIdentifier] @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserIdentifier( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserIdentifier(typing.TypedDict, total=False): addressInfo: GoogleAdsSearchads360V23Common__OfflineUserAddressInfo hashedEmail: str hashedPhoneNumber: str mobileId: str thirdPartyUserId: str - userIdentifierSource: typing_extensions.Literal[ + userIdentifierSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FIRST_PARTY", "THIRD_PARTY" ] @typing.type_check_only class GoogleAdsSearchads360V23Common__UserInterestAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userInterestDescription: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserInterestInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserInterestInfo(typing.TypedDict, total=False): userInterestCategory: str @typing.type_check_only class GoogleAdsSearchads360V23Common__UserInterestSegment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userInterestCategory: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserListActionInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserListActionInfo(typing.TypedDict, total=False): conversionAction: str remarketingAction: str @typing.type_check_only class GoogleAdsSearchads360V23Common__UserListAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - userListType: typing_extensions.Literal[ + userListType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REMARKETING", @@ -4012,32 +3717,30 @@ class GoogleAdsSearchads360V23Common__UserListAttributeMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Common__UserListDateRuleItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): offsetInDays: str - operator: typing_extensions.Literal[ + operator: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EQUALS", "NOT_EQUALS", "BEFORE", "AFTER" ] value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserListInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserListInfo(typing.TypedDict, total=False): userList: str @typing.type_check_only class GoogleAdsSearchads360V23Common__UserListLogicalRuleInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - operator: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ALL", "ANY", "NONE"] + operator: typing.Literal["UNSPECIFIED", "UNKNOWN", "ALL", "ANY", "NONE"] ruleOperands: _list[GoogleAdsSearchads360V23Common__LogicalUserListOperandInfo] @typing.type_check_only class GoogleAdsSearchads360V23Common__UserListNumberRuleItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - operator: typing_extensions.Literal[ + operator: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GREATER_THAN", @@ -4050,23 +3753,19 @@ class GoogleAdsSearchads360V23Common__UserListNumberRuleItemInfo( value: float @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserListRuleInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserListRuleInfo(typing.TypedDict, total=False): ruleItemGroups: _list[GoogleAdsSearchads360V23Common__UserListRuleItemGroupInfo] - ruleType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "AND_OF_ORS", "OR_OF_ANDS" - ] + ruleType: typing.Literal["UNSPECIFIED", "UNKNOWN", "AND_OF_ORS", "OR_OF_ANDS"] @typing.type_check_only class GoogleAdsSearchads360V23Common__UserListRuleItemGroupInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ruleItems: _list[GoogleAdsSearchads360V23Common__UserListRuleItemInfo] @typing.type_check_only class GoogleAdsSearchads360V23Common__UserListRuleItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dateRuleItem: GoogleAdsSearchads360V23Common__UserListDateRuleItemInfo name: str @@ -4074,16 +3773,14 @@ class GoogleAdsSearchads360V23Common__UserListRuleItemInfo( stringRuleItem: GoogleAdsSearchads360V23Common__UserListStringRuleItemInfo @typing.type_check_only -class GoogleAdsSearchads360V23Common__UserListSegment( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__UserListSegment(typing.TypedDict, total=False): userList: str @typing.type_check_only class GoogleAdsSearchads360V23Common__UserListStringRuleItemInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - operator: typing_extensions.Literal[ + operator: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONTAINS", @@ -4098,7 +3795,7 @@ class GoogleAdsSearchads360V23Common__UserListStringRuleItemInfo( value: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__Value(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Common__Value(typing.TypedDict, total=False): booleanValue: bool doubleValue: float floatValue: float @@ -4107,7 +3804,7 @@ class GoogleAdsSearchads360V23Common__Value(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleAdsSearchads360V23Common__VerticalAdsItemGroupRuleInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cityCriterionId: str countryCriterionId: str @@ -4117,30 +3814,26 @@ class GoogleAdsSearchads360V23Common__VerticalAdsItemGroupRuleInfo( @typing.type_check_only class GoogleAdsSearchads360V23Common__VerticalAdsItemGroupRuleListInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sharedSet: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__VideoLineupInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__VideoLineupInfo(typing.TypedDict, total=False): videoLineupId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__WebhookDelivery( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__WebhookDelivery(typing.TypedDict, total=False): advertiserWebhookUrl: str googleSecret: str payloadSchemaVersion: str @typing.type_check_only class GoogleAdsSearchads360V23Common__WebpageConditionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): argument: str - operand: typing_extensions.Literal[ + operand: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "URL", @@ -4149,41 +3842,33 @@ class GoogleAdsSearchads360V23Common__WebpageConditionInfo( "PAGE_CONTENT", "CUSTOM_LABEL", ] - operator: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "EQUALS", "CONTAINS"] + operator: typing.Literal["UNSPECIFIED", "UNKNOWN", "EQUALS", "CONTAINS"] @typing.type_check_only -class GoogleAdsSearchads360V23Common__WebpageInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__WebpageInfo(typing.TypedDict, total=False): conditions: _list[GoogleAdsSearchads360V23Common__WebpageConditionInfo] coveragePercentage: float criterionName: str sample: GoogleAdsSearchads360V23Common__WebpageSampleInfo @typing.type_check_only -class GoogleAdsSearchads360V23Common__WebpageListInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__WebpageListInfo(typing.TypedDict, total=False): sharedSet: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__WebpageSampleInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__WebpageSampleInfo(typing.TypedDict, total=False): sampleUrls: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Common__WhatsappBusinessMessageInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str phoneNumber: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__YearMonth( - typing_extensions.TypedDict, total=False -): - month: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Common__YearMonth(typing.TypedDict, total=False): + month: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "JANUARY", @@ -4202,68 +3887,60 @@ class GoogleAdsSearchads360V23Common__YearMonth( year: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__YearMonthRange( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__YearMonthRange(typing.TypedDict, total=False): end: GoogleAdsSearchads360V23Common__YearMonth start: GoogleAdsSearchads360V23Common__YearMonth @typing.type_check_only class GoogleAdsSearchads360V23Common__YouTubeChannelAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): subscriberCount: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__YouTubeChannelInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__YouTubeChannelInfo(typing.TypedDict, total=False): channelId: str @typing.type_check_only class GoogleAdsSearchads360V23Common__YouTubeVideoAttributeMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): commentsCount: str likesCount: str publishDate: str thumbnailUrl: str videoProperties: _list[ - typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "LIVE_STREAM", "SHORTS"] + typing.Literal["UNSPECIFIED", "UNKNOWN", "LIVE_STREAM", "SHORTS"] ] videoUrl: str viewsCount: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__YouTubeVideoInfo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__YouTubeVideoInfo(typing.TypedDict, total=False): videoId: str @typing.type_check_only -class GoogleAdsSearchads360V23Common__YoutubeVideoAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Common__YoutubeVideoAsset(typing.TypedDict, total=False): youtubeVideoId: str youtubeVideoTitle: str @typing.type_check_only class GoogleAdsSearchads360V23Common__ZaloBusinessMessageInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customName: str oaId: str @typing.type_check_only class GoogleAdsSearchads360V23Errors_ErrorLocation_FieldPathElement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldName: str index: int @typing.type_check_only class GoogleAdsSearchads360V23Errors__BudgetPerDayMinimumErrorDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetPerDayMinimumMicros: str currencyCode: str @@ -4273,10 +3950,8 @@ class GoogleAdsSearchads360V23Errors__BudgetPerDayMinimumErrorDetails( minimumBudgetTotalAmountMicros: str @typing.type_check_only -class GoogleAdsSearchads360V23Errors__ErrorCode( - typing_extensions.TypedDict, total=False -): - accessInvitationError: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Errors__ErrorCode(typing.TypedDict, total=False): + accessInvitationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_EMAIL_ADDRESS", @@ -4288,7 +3963,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "PENDING_INVITATIONS_LIMIT_EXCEEDED", "EMAIL_DOMAIN_POLICY_VIOLATED", ] - accountBudgetProposalError: typing_extensions.Literal[ + accountBudgetProposalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FIELD_MASK_NOT_ALLOWED", @@ -4318,10 +3993,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_MASTER_SERVICE_AGREEMENT", "CANCELED_BILLING_SETUP", ] - accountLinkError: typing_extensions.Literal[ + accountLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_STATUS", "PERMISSION_DENIED" ] - adCustomizerError: typing_extensions.Literal[ + adCustomizerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COUNTDOWN_INVALID_DATE_FORMAT", @@ -4330,7 +4005,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "COUNTDOWN_INVALID_START_DAYS_BEFORE", "UNKNOWN_USER_LIST", ] - adError: typing_extensions.Literal[ + adError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE", @@ -4487,7 +4162,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS", "INVALID_YOUTUBE_VIDEO_ASSET_ID_FOR_VIDEO_ADS_SEQUENCING", ] - adGroupAdError: typing_extensions.Literal[ + adGroupAdError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_AD_LABEL_DOES_NOT_EXIST", @@ -4503,16 +4178,16 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_UPDATE_DEPRECATED_ADS", "AD_SHARING_NOT_ALLOWED", ] - adGroupBidModifierError: typing_extensions.Literal[ + adGroupBidModifierError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CRITERION_ID_NOT_SUPPORTED", "CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER", ] - adGroupCriterionCustomizerError: typing_extensions.Literal[ + adGroupCriterionCustomizerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CRITERION_IS_NOT_KEYWORD" ] - adGroupCriterionError: typing_extensions.Literal[ + adGroupCriterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST", @@ -4544,8 +4219,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE", "FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE", ] - adGroupCustomizerError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - adGroupError: typing_extensions.Literal[ + adGroupCustomizerError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + adGroupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ADGROUP_NAME", @@ -4572,7 +4247,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "VERTICAL_ADS_FORMAT_SETTING_NOT_SUPPORTED_FOR_CAMPAIGNS_WITHOUT_AI_MAX", "VERTICAL_ADS_FORMAT_SETTING_NOT_SUPPORTED_FOR_CAMPAIGNS_WITHOUT_ENABLED_TRAVEL_FEED", ] - adGroupFeedError: typing_extensions.Literal[ + adGroupFeedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", @@ -4583,21 +4258,21 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", "NO_EXISTING_LOCATION_CUSTOMER_FEED", ] - adParameterError: typing_extensions.Literal[ + adParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_CRITERION_MUST_BE_KEYWORD", "INVALID_INSERTION_TEXT_FORMAT", ] - adSharingError: typing_extensions.Literal[ + adSharingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_ALREADY_CONTAINS_AD", "INCOMPATIBLE_AD_UNDER_AD_GROUP", "CANNOT_SHARE_INACTIVE_AD", ] - adxError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "UNSUPPORTED_FEATURE"] - assetError: typing_extensions.Literal[ + adxError: typing.Literal["UNSPECIFIED", "UNKNOWN", "UNSUPPORTED_FEATURE"] + assetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE", @@ -4645,7 +4320,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "PROMOTION_QR_CODE_INVALID_FORMAT", "CUSTOMER_NOT_ON_ALLOWLIST_FOR_MESSAGE_ASSETS", ] - assetGenerationError: typing_extensions.Literal[ + assetGenerationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_ASSETS_GENERATED", @@ -4684,7 +4359,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CONTEXT_AD_GROUP_AD_NOT_FOUND", "CONTEXT_CAMPAIGN_NOT_FOUND", ] - assetGroupAssetError: typing_extensions.Literal[ + assetGroupAssetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_RESOURCE", @@ -4692,7 +4367,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "AD_CUSTOMIZER_NOT_SUPPORTED", "HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN", ] - assetGroupError: typing_extensions.Literal[ + assetGroupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -4712,7 +4387,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "AD_CUSTOMIZER_NOT_SUPPORTED", "CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN", ] - assetGroupListingGroupFilterError: typing_extensions.Literal[ + assetGroupListingGroupFilterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TREE_TOO_DEEP", @@ -4739,14 +4414,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MULTIPLE_OPERATIONS_ON_ONE_NODE", "TREE_WAS_INVALID_BEFORE_MUTATION", ] - assetGroupSignalError: typing_extensions.Literal[ + assetGroupSignalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_MANY_WORDS", "SEARCH_THEME_POLICY_VIOLATION", "AUDIENCE_WITH_WRONG_ASSET_GROUP_ID", ] - assetLinkError: typing_extensions.Literal[ + assetLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PINNING_UNSUPPORTED", @@ -4775,7 +4450,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL", "BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL", ] - assetSetAssetError: typing_extensions.Literal[ + assetSetAssetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_ASSET_TYPE", @@ -4783,7 +4458,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_EXTERNAL_KEY", "PARENT_LINKAGE_DOES_NOT_EXIST", ] - assetSetError: typing_extensions.Literal[ + assetSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ASSET_SET_NAME", @@ -4798,7 +4473,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "OAUTH_INFO_MISSING", "CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST", ] - assetSetLinkError: typing_extensions.Literal[ + assetSetLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE", @@ -4807,7 +4482,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_ASSET_SET_LINK", "ASSET_SET_LINK_CANNOT_BE_REMOVED", ] - audienceError: typing_extensions.Literal[ + audienceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NAME_ALREADY_IN_USE", @@ -4821,12 +4496,12 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MISSING_ASSET_GROUP_ID", "CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE", ] - audienceInsightsError: typing_extensions.Literal[ + audienceInsightsError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS", ] - authenticationError: typing_extensions.Literal[ + authenticationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AUTHENTICATION_ERROR", @@ -4853,7 +4528,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN", "DEVELOPER_TOKEN_INVALID", ] - authorizationError: typing_extensions.Literal[ + authorizationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "USER_PERMISSION_DENIED", @@ -4872,8 +4547,11 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "METRIC_ACCESS_DENIED", "CLOUD_PROJECT_NOT_UNDER_ORGANIZATION", "ACTION_NOT_PERMITTED_FOR_SUSPENDED_ACCOUNT", + "SEARCH_ADS360_OTHER_ENGINE_MUTATE_DENIED", + "SEARCH_ADS360_MUTATE_ALLOWLIST_DENIED", + "SEARCH_ADS360_MUTATE_FIELD_DENIED", ] - automaticallyCreatedAssetRemovalError: typing_extensions.Literal[ + automaticallyCreatedAssetRemovalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_DOES_NOT_EXIST", @@ -4882,7 +4560,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ASSET_FIELD_TYPE_DOES_NOT_MATCH", "NOT_AN_AUTOMATICALLY_CREATED_ASSET", ] - batchJobError: typing_extensions.Literal[ + batchJobError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING", @@ -4897,10 +4575,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "REQUEST_TOO_LARGE", "CAMPAIGN_AND_CAMPAIGN_ASSET_TRANSACTION_FAILURE", ] - benchmarksError: typing_extensions.Literal[ + benchmarksError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MAX_QUERY_COMPLEXITY_EXCEEDED" ] - biddingError: typing_extensions.Literal[ + biddingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED", @@ -4929,7 +4607,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS", "TARGET_ROAS_TOLERANCE_PERCENT_MILLIS_MUST_BE_INTEGER", ] - biddingStrategyError: typing_extensions.Literal[ + biddingStrategyError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -4938,7 +4616,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BIDDING_STRATEGY_NOT_SUPPORTED", "INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE", ] - billingSetupError: typing_extensions.Literal[ + billingSetupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_USE_EXISTING_AND_NEW_ACCOUNT", @@ -4962,7 +4640,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FUTURE_START_TIME_PROHIBITED", "TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT", ] - brandGuidelinesMigrationError: typing_extensions.Literal[ + brandGuidelinesMigrationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BRAND_GUIDELINES_ALREADY_ENABLED", @@ -4972,7 +4650,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTED", "TOO_MANY_ENABLE_OPERATIONS", ] - campaignBudgetError: typing_extensions.Literal[ + campaignBudgetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BUDGET_CANNOT_BE_SHARED", @@ -4996,13 +4674,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD", "BUDGET_BELOW_PER_DAY_MINIMUM", ] - campaignConversionGoalError: typing_extensions.Literal[ + campaignConversionGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN", "CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN", ] - campaignCriterionError: typing_extensions.Literal[ + campaignCriterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONCRETE_TYPE_REQUIRED", @@ -5033,8 +4711,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_REMOVE_ALL_LOCATIONS_DUE_TO_TOO_MANY_COUNTRY_EXCLUSIONS", "INVALID_VIDEO_LINEUP_ID", ] - campaignCustomizerError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - campaignDraftError: typing_extensions.Literal[ + campaignCustomizerError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + campaignDraftError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_DRAFT_NAME", @@ -5048,7 +4726,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED", "LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY", ] - campaignError: typing_extensions.Literal[ + campaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_TARGET_CONTENT_NETWORK", @@ -5152,7 +4830,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DURATION_TOO_LONG_FOR_TOTAL_BUDGET", "END_DATE_TIME_REQUIRED_FOR_TOTAL_BUDGET", ] - campaignExperimentError: typing_extensions.Literal[ + campaignExperimentError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -5166,7 +4844,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION", "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS", ] - campaignFeedError: typing_extensions.Literal[ + campaignFeedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", @@ -5178,7 +4856,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_EXISTING_LOCATION_CUSTOMER_FEED", "LEGACY_FEED_TYPE_READ_ONLY", ] - campaignGoalConfigError: typing_extensions.Literal[ + campaignGoalConfigError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOAL_NOT_FOUND", @@ -5187,8 +4865,12 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "HIGH_LIFETIME_VALUE_LESS_THAN_OR_EQUAL_TO_VALUE", "CUSTOMER_LIFECYCLE_OPTIMIZATION_CAMPAIGN_TYPE_NOT_SUPPORTED", "CUSTOMER_NOT_ALLOWLISTED_FOR_RETENTION_ONLY", + "CAMPAIGN_OVERRIDE_VALUES_SET_FOR_NEW_CUSTOMER_ACQUISITION_TARGET_SPECIFIC_OPTION", + "CAMPAIGN_OVERRIDE_HIGH_LIFETIME_VALUE_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE", + "CANNOT_USE_INCOMPATIBLE_CLO_GOALS", + "LOYALTY_RETENTION_GOAL_INVALID_MODE", ] - campaignLifecycleGoalError: typing_extensions.Literal[ + campaignLifecycleGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_MISSING", @@ -5203,10 +4885,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION", "CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION", ] - campaignSharedSetError: typing_extensions.Literal[ + campaignSharedSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SHARED_SET_ACCESS_DENIED" ] - changeEventError: typing_extensions.Literal[ + changeEventError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "START_DATE_TOO_OLD", @@ -5215,7 +4897,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "LIMIT_NOT_SPECIFIED", "INVALID_LIMIT_CLAUSE", ] - changeStatusError: typing_extensions.Literal[ + changeStatusError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "START_DATE_TOO_OLD", @@ -5224,19 +4906,17 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "LIMIT_NOT_SPECIFIED", "INVALID_LIMIT_CLAUSE", ] - clickViewError: typing_extensions.Literal[ + clickViewError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXPECTED_FILTER_ON_A_SINGLE_DAY", "DATE_TOO_OLD" ] - collectionSizeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "TOO_FEW", "TOO_MANY" - ] - contextError: typing_extensions.Literal[ + collectionSizeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "TOO_FEW", "TOO_MANY"] + contextError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPERATION_NOT_PERMITTED_FOR_CONTEXT", "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE", ] - conversionActionError: typing_extensions.Literal[ + conversionActionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", @@ -5251,7 +4931,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "UPDATE_NOT_SUPPORTED", "CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS", ] - conversionAdjustmentUploadError: typing_extensions.Literal[ + conversionAdjustmentUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_RECENT_CONVERSION_ACTION", @@ -5280,10 +4960,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_CONVERSION_ACTION_FOUND", "INVALID_CONVERSION_ACTION_TYPE", ] - conversionCustomVariableError: typing_extensions.Literal[ + conversionCustomVariableError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_NAME", "DUPLICATE_TAG", "RESERVED_TAG" ] - conversionGoalCampaignConfigError: typing_extensions.Literal[ + conversionGoalCampaignConfigError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN", @@ -5293,7 +4973,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED", "PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES", ] - conversionUploadError: typing_extensions.Literal[ + conversionUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_MANY_CONVERSIONS_IN_REQUEST", @@ -5341,7 +5021,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_CONVERSION_ACTION_FOUND", "INVALID_CONVERSION_ACTION_TYPE", ] - conversionValueRuleError: typing_extensions.Literal[ + conversionValueRuleError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_GEO_TARGET_CONSTANT", @@ -5358,7 +5038,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_ADD_RULE_WITH_STATUS_REMOVED", "NO_DAY_OF_WEEK_SELECTED", ] - conversionValueRuleSetError: typing_extensions.Literal[ + conversionValueRuleSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONFLICTING_VALUE_RULE_CONDITIONS", @@ -5376,10 +5056,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "UNSUPPORTED_CONVERSION_ACTION_CATEGORIES", "DIMENSION_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE", ] - countryCodeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_COUNTRY_CODE" - ] - criterionError: typing_extensions.Literal[ + countryCodeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_COUNTRY_CODE"] + criterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONCRETE_TYPE_REQUIRED", @@ -5547,13 +5225,11 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "VERTICAL_ADS_ITEM_GROUP_RULE_LIST_NOT_SUPPORTED_FOR_CAMPAIGNS_WITHOUT_AI_MAX", "VERTICAL_ADS_ITEM_GROUP_RULE_NOT_SUPPORTED_FOR_THE_VERTICAL_TYPE", ] - currencyCodeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "UNSUPPORTED" - ] - currencyError: typing_extensions.Literal[ + currencyCodeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "UNSUPPORTED"] + currencyError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT" ] - customAudienceError: typing_extensions.Literal[ + customAudienceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NAME_ALREADY_USED", @@ -5565,13 +5241,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "POLICY_VIOLATION", "INVALID_TYPE_CHANGE", ] - customColumnError: typing_extensions.Literal[ + customColumnError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOM_COLUMN_NOT_FOUND", "CUSTOM_COLUMN_NOT_AVAILABLE", ] - customConversionGoalError: typing_extensions.Literal[ + customConversionGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_CONVERSION_ACTION", @@ -5581,7 +5257,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_CONVERSION_ACTION_LIST", "NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL", ] - customInterestError: typing_extensions.Literal[ + customInterestError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NAME_ALREADY_USED", @@ -5592,7 +5268,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_REMOVE_WHILE_IN_USE", "CANNOT_CHANGE_TYPE", ] - customerClientLinkError: typing_extensions.Literal[ + customerClientLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLIENT_ALREADY_INVITED_BY_THIS_MANAGER", @@ -5604,8 +5280,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER", "CLIENT_HAS_TOO_MANY_MANAGERS", ] - customerCustomizerError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - customerError: typing_extensions.Literal[ + customerCustomizerError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + customerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STATUS_CHANGE_DISALLOWED", @@ -5613,7 +5289,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CREATION_DENIED_FOR_POLICY_VIOLATION", "CREATION_DENIED_INELIGIBLE_MCC", ] - customerFeedError: typing_extensions.Literal[ + customerFeedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", @@ -5624,7 +5300,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", "PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED", ] - customerLifecycleGoalError: typing_extensions.Literal[ + customerLifecycleGoalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_ACQUISITION_VALUE_MISSING", @@ -5635,7 +5311,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_EXISTING_USER_LIST", "INVALID_HIGH_LIFETIME_VALUE_USER_LIST", ] - customerManagerLinkError: typing_extensions.Literal[ + customerManagerLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_PENDING_INVITE", @@ -5648,7 +5324,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_CHILD_FOUND", "TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS", ] - customerSkAdNetworkConversionValueSchemaError: typing_extensions.Literal[ + customerSkAdNetworkConversionValueSchemaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_LINK_ID", @@ -5658,7 +5334,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_EVENT_COUNTER", "INVALID_EVENT_NAME", ] - customerUserAccessError: typing_extensions.Literal[ + customerUserAccessError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_USER_ID", @@ -5667,10 +5343,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "LAST_ADMIN_USER_OF_SERVING_CUSTOMER", "LAST_ADMIN_USER_OF_MANAGER", ] - customizerAttributeError: typing_extensions.Literal[ + customizerAttributeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME" ] - dataLinkError: typing_extensions.Literal[ + dataLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YOUTUBE_CHANNEL_ID_INVALID", @@ -5681,14 +5357,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_UPDATE_STATUS", "INVALID_RESOURCE_NAME", ] - databaseError: typing_extensions.Literal[ + databaseError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONCURRENT_MODIFICATION", "DATA_CONSTRAINT_VIOLATION", "REQUEST_TOO_LARGE", ] - dateError: typing_extensions.Literal[ + dateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_FIELD_VALUES_IN_DATE", @@ -5704,7 +5380,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DATE_RANGE_ERROR_START_TIME_MUST_BE_THE_START_OF_A_DAY", "DATE_RANGE_ERROR_END_TIME_MUST_BE_THE_END_OF_A_DAY", ] - dateRangeError: typing_extensions.Literal[ + dateRangeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_DATE", @@ -5712,14 +5388,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_SET_DATE_TO_PAST", "AFTER_MAXIMUM_ALLOWABLE_DATE", "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED", + "REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED", ] - distinctError: typing_extensions.Literal[ + distinctError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ELEMENT", "DUPLICATE_TYPE" ] - enumError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENUM_VALUE_NOT_PERMITTED" - ] - experimentArmError: typing_extensions.Literal[ + enumError: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENUM_VALUE_NOT_PERMITTED"] + experimentArmError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED", @@ -5737,7 +5412,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS", "TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE", ] - experimentError: typing_extensions.Literal[ + experimentError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_SET_START_DATE_IN_PAST", @@ -5771,7 +5446,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_DURATION_FOR_AN_EXPERIMENT", "MISSING_EU_POLITICAL_ADVERTISING_SELF_DECLARATION", ] - extensionFeedItemError: typing_extensions.Literal[ + extensionFeedItemError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VALUE_OUT_OF_RANGE", @@ -5820,7 +5495,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CONCRETE_EXTENSION_TYPE_REQUIRED", "SCHEDULE_END_NOT_AFTER_START", ] - extensionSettingError: typing_extensions.Literal[ + extensionSettingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXTENSIONS_REQUIRED", @@ -5889,14 +5564,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EXTENSION_SETTING_UPDATE_IS_A_NOOP", "DISALLOWED_TEXT", ] - feedAttributeReferenceError: typing_extensions.Literal[ + feedAttributeReferenceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_REFERENCE_REMOVED_FEED", "INVALID_FEED_NAME", "INVALID_FEED_ATTRIBUTE_NAME", ] - feedError: typing_extensions.Literal[ + feedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ATTRIBUTE_NAMES_NOT_UNIQUE", @@ -5923,7 +5598,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS", "LEGACY_EXTENSION_TYPE_READ_ONLY", ] - feedItemError: typing_extensions.Literal[ + feedItemError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING", @@ -5937,7 +5612,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE", "LEGACY_FEED_TYPE_READ_ONLY", ] - feedItemSetError: typing_extensions.Literal[ + feedItemSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ITEM_SET_REMOVED", @@ -5948,13 +5623,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE", "DYNAMIC_FILTER_INVALID_CHAIN_IDS", ] - feedItemSetLinkError: typing_extensions.Literal[ + feedItemSetLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FEED_ID_MISMATCH", "NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET", ] - feedItemTargetError: typing_extensions.Literal[ + feedItemTargetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MUST_SET_TARGET_ONEOF_ON_CREATE", @@ -5966,7 +5641,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "DUPLICATE_AD_SCHEDULE", "DUPLICATE_KEYWORD", ] - feedItemValidationError: typing_extensions.Literal[ + feedItemValidationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STRING_TOO_SHORT", @@ -6075,7 +5750,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "IMAGE_ERROR_CONSTRAINTS_VIOLATED", "IMAGE_ERROR_SERVER_ERROR", ] - feedMappingError: typing_extensions.Literal[ + feedMappingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_PLACEHOLDER_FIELD", @@ -6097,7 +5772,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD", "LEGACY_FEED_TYPE_READ_ONLY", ] - fieldError: typing_extensions.Literal[ + fieldError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUIRED", @@ -6109,7 +5784,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BLOCKED_VALUE", "FIELD_CAN_ONLY_BE_CLEARED", ] - fieldMaskError: typing_extensions.Literal[ + fieldMaskError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FIELD_MASK_MISSING", @@ -6117,7 +5792,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FIELD_NOT_FOUND", "FIELD_HAS_SUBFIELDS", ] - finalUrlExpansionAssetViewError: typing_extensions.Literal[ + finalUrlExpansionAssetViewError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MISSING_REQUIRED_FILTER", @@ -6129,7 +5804,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_SELECT_BOTH_AD_GROUP_AND_ASSET_GROUP", "CANNOT_FILTER_BY_BOTH_AD_GROUP_AND_ASSET_GROUP", ] - functionError: typing_extensions.Literal[ + functionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_FUNCTION_FORMAT", @@ -6149,7 +5824,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA", "INVALID_ATTRIBUTE_NAME", ] - functionParsingError: typing_extensions.Literal[ + functionParsingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_MORE_INPUT", @@ -6164,7 +5839,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_OPERANDS", "TOO_MANY_OPERANDS", ] - geoTargetConstantSuggestionError: typing_extensions.Literal[ + geoTargetConstantSuggestionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LOCATION_NAME_SIZE_LIMIT", @@ -6172,7 +5847,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_COUNTRY_CODE", "REQUEST_PARAMETERS_UNSET", ] - goalError: typing_extensions.Literal[ + goalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RETENTION_GOAL_ALREADY_EXISTS", @@ -6180,21 +5855,21 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "HIGH_LIFETIME_VALUE_LESS_THAN_OR_EQUAL_TO_VALUE", "CUSTOMER_LIFECYCLE_OPTIMIZATION_ACCOUNT_TYPE_NOT_ALLOWED", ] - headerError: typing_extensions.Literal[ + headerError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_LOGIN_CUSTOMER_ID", "INVALID_LINKED_CUSTOMER_ID", ] - idError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "NOT_FOUND"] - identityVerificationError: typing_extensions.Literal[ + idError: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOT_FOUND"] + identityVerificationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NO_EFFECTIVE_BILLING", "BILLING_NOT_ON_MONTHLY_INVOICING", "VERIFICATION_ALREADY_STARTED", ] - imageError: typing_extensions.Literal[ + imageError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_IMAGE", @@ -6237,10 +5912,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "IMAGE_CONSTRAINTS_VIOLATED", "FORMAT_NOT_ALLOWED", ] - incentiveError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_INCENTIVE_ID" - ] - internalError: typing_extensions.Literal[ + incentiveError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_INCENTIVE_ID"] + internalError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INTERNAL_ERROR", @@ -6248,10 +5921,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "TRANSIENT_ERROR", "DEADLINE_EXCEEDED", ] - invalidParameterError: typing_extensions.Literal[ + invalidParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_CURRENCY_CODE" ] - invoiceError: typing_extensions.Literal[ + invoiceError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YEAR_MONTH_TOO_OLD", @@ -6260,10 +5933,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BILLING_SETUP_NOT_ON_MONTHLY_INVOICING", "NON_SERVING_CUSTOMER", ] - keywordPlanAdGroupError: typing_extensions.Literal[ + keywordPlanAdGroupError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_NAME", "DUPLICATE_NAME" ] - keywordPlanAdGroupKeywordError: typing_extensions.Literal[ + keywordPlanAdGroupKeywordError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_KEYWORD_MATCH_TYPE", @@ -6275,7 +5948,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NEGATIVE_KEYWORD_HAS_CPC_BID", "NEW_BMM_KEYWORDS_NOT_ALLOWED", ] - keywordPlanCampaignError: typing_extensions.Literal[ + keywordPlanCampaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_NAME", @@ -6285,10 +5958,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MAX_GEOS_EXCEEDED", "MAX_LANGUAGES_EXCEEDED", ] - keywordPlanCampaignKeywordError: typing_extensions.Literal[ + keywordPlanCampaignKeywordError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_KEYWORD_IS_POSITIVE" ] - keywordPlanError: typing_extensions.Literal[ + keywordPlanError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BID_MULTIPLIER_OUT_OF_RANGE", @@ -6306,10 +5979,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVALID_FORECAST_DATE_RANGE", "INVALID_NAME", ] - keywordPlanIdeaError: typing_extensions.Literal[ + keywordPlanIdeaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "URL_CRAWL_ERROR", "INVALID_VALUE" ] - labelError: typing_extensions.Literal[ + labelError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_APPLY_INACTIVE_LABEL", @@ -6322,13 +5995,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_ATTACH_LABEL_TO_DRAFT", "CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER", ] - languageCodeError: typing_extensions.Literal[ + languageCodeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LANGUAGE_CODE_NOT_FOUND", "INVALID_LANGUAGE_CODE" ] - listOperationError: typing_extensions.Literal[ + listOperationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUIRED_FIELD_MISSING", "DUPLICATE_VALUES" ] - managerLinkError: typing_extensions.Literal[ + managerLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING", @@ -6351,7 +6024,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CUSTOMER_CANNOT_MANAGE_SELF", "CREATING_ENABLED_LINK_NOT_ALLOWED", ] - mediaBundleError: typing_extensions.Literal[ + mediaBundleError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BAD_REQUEST", @@ -6377,7 +6050,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT", "CUSTOM_EXIT_NOT_ALLOWED", ] - mediaFileError: typing_extensions.Literal[ + mediaFileError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_CREATE_STANDARD_ICON", @@ -6404,7 +6077,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION", "YOU_TUBE_VIDEO_NOT_FOUND", ] - mediaUploadError: typing_extensions.Literal[ + mediaUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FILE_TOO_BIG", @@ -6442,13 +6115,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API", "DIMENSIONS_NOT_ALLOWED", ] - merchantCenterError: typing_extensions.Literal[ + merchantCenterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MERCHANT_ID_CANNOT_BE_ACCESSED", "CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX", ] - multiplierError: typing_extensions.Literal[ + multiplierError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MULTIPLIER_TOO_HIGH", @@ -6464,7 +6137,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER", "MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH", ] - mutateError: typing_extensions.Literal[ + mutateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_NOT_FOUND", @@ -6478,19 +6151,19 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "RESOURCE_READ_ONLY", "EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED", ] - newResourceCreationError: typing_extensions.Literal[ + newResourceCreationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CANNOT_SET_ID_FOR_CREATE", "DUPLICATE_TEMP_IDS", "TEMP_ID_RESOURCE_HAD_ERRORS", ] - notAllowlistedError: typing_extensions.Literal[ + notAllowlistedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE" ] - notEmptyError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "EMPTY_LIST"] - nullError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "NULL_CONTENT"] - offlineUserDataJobError: typing_extensions.Literal[ + notEmptyError: typing.Literal["UNSPECIFIED", "UNKNOWN", "EMPTY_LIST"] + nullError: typing.Literal["UNSPECIFIED", "UNKNOWN", "NULL_CONTENT"] + offlineUserDataJobError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_USER_LIST_ID", @@ -6533,7 +6206,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED", "OPERATION_LEVEL_CONSENT_PROVIDED", ] - operationAccessDeniedError: typing_extensions.Literal[ + operationAccessDeniedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTION_NOT_PERMITTED", @@ -6547,29 +6220,25 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE", "MUTATE_NOT_PERMITTED_FOR_CUSTOMER", ] - operatorError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "OPERATOR_NOT_SUPPORTED" - ] - partialFailureError: typing_extensions.Literal[ + operatorError: typing.Literal["UNSPECIFIED", "UNKNOWN", "OPERATOR_NOT_SUPPORTED"] + partialFailureError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PARTIAL_FAILURE_MODE_REQUIRED" ] - paymentsAccountError: typing_extensions.Literal[ + paymentsAccountError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_SUPPORTED_FOR_MANAGER_CUSTOMER" ] - policyFindingError: typing_extensions.Literal[ + policyFindingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "POLICY_FINDING", "POLICY_TOPIC_NOT_FOUND" ] - policyValidationParameterError: typing_extensions.Literal[ + policyValidationParameterError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS", "UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS", "CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS", ] - policyViolationError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "POLICY_ERROR" - ] - productLinkError: typing_extensions.Literal[ + policyViolationError: typing.Literal["UNSPECIFIED", "UNKNOWN", "POLICY_ERROR"] + productLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_OPERATION", @@ -6577,7 +6246,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "INVITATION_EXISTS", "LINK_EXISTS", ] - productLinkInvitationError: typing_extensions.Literal[ + productLinkInvitationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_STATUS", @@ -6585,7 +6254,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "NO_INVITATION_REQUIRED", "CUSTOMER_NOT_PERMITTED_TO_CREATE_INVITATION", ] - queryError: typing_extensions.Literal[ + queryError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "QUERY_ERROR", @@ -6646,7 +6315,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "FILTER_HAS_TOO_MANY_VALUES", "REQUIRED_SEGMENT_FIELD_MISSING", ] - quotaError: typing_extensions.Literal[ + quotaError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_EXHAUSTED", @@ -6656,17 +6325,15 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "EXCESSIVE_LONG_TERM_QUERY_RESOURCE_CONSUMPTION", "PAYMENTS_PROFILE_ACTIVATION_RATE_LIMIT_EXCEEDED", ] - rangeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "TOO_LOW", "TOO_HIGH" - ] - reachPlanError: typing_extensions.Literal[ + rangeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "TOO_LOW", "TOO_HIGH"] + reachPlanError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_FORECASTABLE_MISSING_RATE", "NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY", "NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED", ] - recommendationError: typing_extensions.Literal[ + recommendationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUDGET_AMOUNT_TOO_SMALL", @@ -6704,11 +6371,9 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_WITH_CHANNEL_TYPE_SEARCH_AND_BIDDING_STRATEGY_TYPE_TARGET_IMPRESSION_SHARE_REQUIRES_TARGET_IMPRESSION_SHARE_INFO", "MERCHANT_CENTER_ACCOUNT_ID_NOT_SUPPORTED_ADVERTISING_CHANNEL_TYPE", ] - recommendationSubscriptionError: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN"] - regionCodeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_REGION_CODE" - ] - requestError: typing_extensions.Literal[ + recommendationSubscriptionError: typing.Literal["UNSPECIFIED", "UNKNOWN"] + regionCodeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_REGION_CODE"] + requestError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_NAME_MISSING", @@ -6738,10 +6403,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "UNSUPPORTED_VERSION", "CLOUD_PROJECT_NOT_FOUND", ] - resourceAccessDeniedError: typing_extensions.Literal[ + resourceAccessDeniedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WRITE_ACCESS_DENIED" ] - resourceCountLimitExceededError: typing_extensions.Literal[ + resourceCountLimitExceededError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACCOUNT_LIMIT", @@ -6754,7 +6419,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "RESPONSE_ROW_LIMIT_EXCEEDED", "RESOURCE_LIMIT", ] - searchTermInsightError: typing_extensions.Literal[ + searchTermInsightError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FILTERING_NOT_ALLOWED_WITH_SEGMENTS", @@ -6764,7 +6429,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SORTING_NOT_ALLOWED_WITH_SEGMENTS", "SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS", ] - settingError: typing_extensions.Literal[ + settingError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SETTING_TYPE_IS_NOT_AVAILABLE", @@ -6780,16 +6445,16 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN", "BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING", ] - shareablePreviewError: typing_extensions.Literal[ + shareablePreviewError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_MANY_ASSET_GROUPS_IN_REQUEST", "ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER", ] - sharedCriterionError: typing_extensions.Literal[ + sharedCriterionError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE" ] - sharedSetError: typing_extensions.Literal[ + sharedSetError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE", @@ -6797,20 +6462,20 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "SHARED_SET_REMOVED", "SHARED_SET_IN_USE", ] - shoppingProductError: typing_extensions.Literal[ + shoppingProductError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MISSING_CAMPAIGN_FILTER", "MISSING_AD_GROUP_FILTER", "UNSUPPORTED_DATE_SEGMENTATION", ] - sizeLimitError: typing_extensions.Literal[ + sizeLimitError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUEST_SIZE_LIMIT_EXCEEDED", "RESPONSE_SIZE_LIMIT_EXCEEDED", ] - smartCampaignError: typing_extensions.Literal[ + smartCampaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_BUSINESS_LOCATION_ID", @@ -6821,13 +6486,13 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CANNOT_DETERMINE_SUGGESTION_LOCALE", "FINAL_URL_NOT_CRAWLABLE", ] - stringFormatError: typing_extensions.Literal[ + stringFormatError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT" ] - stringLengthError: typing_extensions.Literal[ + stringLengthError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EMPTY", "TOO_SHORT", "TOO_LONG" ] - thirdPartyAppAnalyticsLinkError: typing_extensions.Literal[ + thirdPartyAppAnalyticsLinkError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_ANALYTICS_PROVIDER_ID", @@ -6835,10 +6500,8 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "MOBILE_APP_IS_NOT_ENABLED", "CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK", ] - timeZoneError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INVALID_TIME_ZONE" - ] - urlFieldError: typing_extensions.Literal[ + timeZoneError: typing.Literal["UNSPECIFIED", "UNKNOWN", "INVALID_TIME_ZONE"] + urlFieldError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_TRACKING_URL_TEMPLATE", @@ -6896,14 +6559,14 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "VALUE_TRACK_PARAMETER_NOT_SUPPORTED", "UNSUPPORTED_APP_STORE", ] - userDataError: typing_extensions.Literal[ + userDataError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED", "TOO_MANY_USER_IDENTIFIERS", "USER_LIST_NOT_APPLICABLE", ] - userListCustomerTypeError: typing_extensions.Literal[ + userListCustomerTypeError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONFLICTING_CUSTOMER_TYPES", @@ -6912,7 +6575,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "CONVERSION_TRACKING_NOT_ENABLED_OR_NOT_MCC_MANAGER_ACCOUNT", "TOO_MANY_USER_LISTS_FOR_THE_CUSTOMER_TYPE", ] - userListError: typing_extensions.Literal[ + userListError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED", @@ -6958,10 +6621,10 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( "ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA", "ACCOUNT_SETTING_TYPE_NOT_ALLOWED", ] - videoCampaignError: typing_extensions.Literal[ + videoCampaignError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MUTATE_REQUIRES_RESERVATION" ] - youtubeVideoRegistrationError: typing_extensions.Literal[ + youtubeVideoRegistrationError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VIDEO_NOT_FOUND", @@ -6970,9 +6633,7 @@ class GoogleAdsSearchads360V23Errors__ErrorCode( ] @typing.type_check_only -class GoogleAdsSearchads360V23Errors__ErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__ErrorDetails(typing.TypedDict, total=False): budgetPerDayMinimumErrorDetails: ( GoogleAdsSearchads360V23Errors__BudgetPerDayMinimumErrorDetails ) @@ -6983,22 +6644,20 @@ class GoogleAdsSearchads360V23Errors__ErrorDetails( unpublishedErrorCode: str @typing.type_check_only -class GoogleAdsSearchads360V23Errors__ErrorLocation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__ErrorLocation(typing.TypedDict, total=False): fieldPathElements: _list[ GoogleAdsSearchads360V23Errors_ErrorLocation_FieldPathElement ] @typing.type_check_only class GoogleAdsSearchads360V23Errors__PolicyFindingDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): policyTopicEntries: _list[GoogleAdsSearchads360V23Common__PolicyTopicEntry] @typing.type_check_only class GoogleAdsSearchads360V23Errors__PolicyViolationDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): externalPolicyDescription: str externalPolicyName: str @@ -7006,24 +6665,20 @@ class GoogleAdsSearchads360V23Errors__PolicyViolationDetails( key: GoogleAdsSearchads360V23Common__PolicyViolationKey @typing.type_check_only -class GoogleAdsSearchads360V23Errors__QuotaErrorDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__QuotaErrorDetails(typing.TypedDict, total=False): rateName: str - rateScope: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER" - ] + rateScope: typing.Literal["UNSPECIFIED", "UNKNOWN", "ACCOUNT", "DEVELOPER"] retryDelay: str @typing.type_check_only class GoogleAdsSearchads360V23Errors__ResourceCountDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enclosingId: str enclosingResource: str existingCount: int limit: int - limitType: typing_extensions.Literal[ + limitType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGNS_PER_CUSTOMER", @@ -7176,9 +6831,7 @@ class GoogleAdsSearchads360V23Errors__ResourceCountDetails( ] @typing.type_check_only -class GoogleAdsSearchads360V23Errors__SearchAds360Error( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Errors__SearchAds360Error(typing.TypedDict, total=False): details: GoogleAdsSearchads360V23Errors__ErrorDetails errorCode: GoogleAdsSearchads360V23Errors__ErrorCode location: GoogleAdsSearchads360V23Errors__ErrorLocation @@ -7187,35 +6840,35 @@ class GoogleAdsSearchads360V23Errors__SearchAds360Error( @typing.type_check_only class GoogleAdsSearchads360V23Errors__SearchAds360Failure( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleAdsSearchads360V23Errors__SearchAds360Error] requestId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_MaximizeConversionValue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetRoas: float @typing.type_check_only class GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_MaximizeConversions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetCpa( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetImpressionShare( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str - location: typing_extensions.Literal[ + location: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ANYWHERE_ON_PAGE", @@ -7226,38 +6879,38 @@ class GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetImpressi @typing.type_check_only class GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetRoas( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetRoas: float @typing.type_check_only class GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetSpend( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidCeilingMicros: str targetSpendMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_AccountBudget_PendingAccountBudgetProposal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountBudgetProposal: str creationDateTime: str endDateTime: str - endTimeType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] + endTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] name: str notes: str - proposalType: typing_extensions.Literal[ + proposalType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CREATE", "UPDATE", "END", "REMOVE" ] purchaseOrderNumber: str spendingLimitMicros: str - spendingLimitType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "INFINITE"] + spendingLimitType: typing.Literal["UNSPECIFIED", "UNKNOWN", "INFINITE"] startDateTime: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroupCriterion_PositionEstimates( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): estimatedAddClicksAtFirstPositionCpc: str estimatedAddCostAtFirstPositionCpc: str @@ -7267,22 +6920,22 @@ class GoogleAdsSearchads360V23Resources_AdGroupCriterion_PositionEstimates( @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroupCriterion_QualityInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - creativeQualityScore: typing_extensions.Literal[ + creativeQualityScore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] - postClickQualityScore: typing_extensions.Literal[ + postClickQualityScore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] qualityScore: int - searchPredictedCtr: typing_extensions.Literal[ + searchPredictedCtr: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroupDemandGenAdGroupSettingsDemandGenChannelControls_DemandGenSelectedChannels( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): discover: bool display: bool @@ -7293,37 +6946,37 @@ class GoogleAdsSearchads360V23Resources_AdGroupDemandGenAdGroupSettingsDemandGen @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroupDemandGenAdGroupSettings_DemandGenChannelControls( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - channelConfig: typing_extensions.Literal[ + channelConfig: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CHANNEL_STRATEGY", "SELECTED_CHANNELS" ] - channelStrategy: typing_extensions.Literal[ + channelStrategy: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ALL_CHANNELS", "ALL_OWNED_AND_OPERATED_CHANNELS" ] selectedChannels: GoogleAdsSearchads360V23Resources_AdGroupDemandGenAdGroupSettingsDemandGenChannelControls_DemandGenSelectedChannels @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroup_AiMaxAdGroupSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableSearchTermMatching: bool @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroup_AudienceSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useAudienceGrouped: bool @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroup_DemandGenAdGroupSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelControls: GoogleAdsSearchads360V23Resources_AdGroupDemandGenAdGroupSettings_DemandGenChannelControls @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdGroup_VerticalAdsFormatSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disableTextAds: bool enableBookingLinks: bool @@ -7331,10 +6984,10 @@ class GoogleAdsSearchads360V23Resources_AdGroup_VerticalAdsFormatSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources_AdStrengthActionItem_AddAssetDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetCount: int - assetFieldType: typing_extensions.Literal[ + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -7371,27 +7024,27 @@ class GoogleAdsSearchads360V23Resources_AdStrengthActionItem_AddAssetDetails( "LONG_DESCRIPTION", "CALL_TO_ACTION", ] - videoAspectRatioRequirement: typing_extensions.Literal[ + videoAspectRatioRequirement: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HORIZONTAL", "SQUARE", "VERTICAL" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_AssetSet_HotelPropertyData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hotelCenterId: str partnerName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_AssetSet_MerchantCenterFeed( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedLabel: str merchantId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_BatchJob_BatchJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): completionDateTime: str creationDateTime: str @@ -7403,7 +7056,7 @@ class GoogleAdsSearchads360V23Resources_BatchJob_BatchJobMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Resources_BillingSetup_PaymentsAccountInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): paymentsAccountId: str paymentsAccountName: str @@ -7413,28 +7066,28 @@ class GoogleAdsSearchads360V23Resources_BillingSetup_PaymentsAccountInfo( @typing.type_check_only class GoogleAdsSearchads360V23Resources_CampaignPmaxCampaignSettings_BrandTargetingOverrides( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ignoreExclusionsForShoppingAds: bool @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_AiMaxSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - bundlingRequired: typing_extensions.Literal[ + bundlingRequired: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_REQUIRED", "REQUIRED" ] enableAiMax: bool @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_AppCampaignSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appId: str - appStore: typing_extensions.Literal[ + appStore: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_APP_STORE" ] - biddingStrategyGoalType: typing_extensions.Literal[ + biddingStrategyGoalType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTIMIZE_INSTALLS_TARGET_INSTALL_COST", @@ -7449,18 +7102,19 @@ class GoogleAdsSearchads360V23Resources_Campaign_AppCampaignSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_AssetAutomationSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - assetAutomationStatus: typing_extensions.Literal[ + assetAutomationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTED_IN", "OPTED_OUT" ] - assetAutomationType: typing_extensions.Literal[ + assetAutomationType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TEXT_ASSET_AUTOMATION", "GENERATE_VERTICAL_YOUTUBE_VIDEOS", "GENERATE_SHORTER_YOUTUBE_VIDEOS", "GENERATE_LANDING_PAGE_PREVIEW", + "GENERATE_LANDING_PAGE_TEXT", "GENERATE_ENHANCED_YOUTUBE_VIDEOS", "GENERATE_IMAGE_ENHANCEMENT", "GENERATE_IMAGE_EXTRACTION", @@ -7471,13 +7125,13 @@ class GoogleAdsSearchads360V23Resources_Campaign_AssetAutomationSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_AudienceSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): useAudienceGrouped: bool @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_BrandGuidelines( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accentColor: str mainColor: str @@ -7485,7 +7139,7 @@ class GoogleAdsSearchads360V23Resources_Campaign_BrandGuidelines( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_CategoryBid( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str manualCpaBidMicros: str @@ -7493,13 +7147,13 @@ class GoogleAdsSearchads360V23Resources_Campaign_CategoryBid( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_DemandGenCampaignSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): upgradedTargeting: bool @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_DynamicSearchAdsSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): domainName: str languageCode: str @@ -7507,38 +7161,38 @@ class GoogleAdsSearchads360V23Resources_Campaign_DynamicSearchAdsSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_GeoTargetTypeSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - negativeGeoTargetType: typing_extensions.Literal[ + negativeGeoTargetType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PRESENCE_OR_INTEREST", "PRESENCE" ] - positiveGeoTargetType: typing_extensions.Literal[ + positiveGeoTargetType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PRESENCE_OR_INTEREST", "SEARCH_INTEREST", "PRESENCE" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_HotelSettingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hotelCenterId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_LocalCampaignSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - locationSourceType: typing_extensions.Literal[ + locationSourceType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_MY_BUSINESS", "AFFILIATE" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_LocalServicesCampaignSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryBids: _list[GoogleAdsSearchads360V23Resources_Campaign_CategoryBid] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_NetworkSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetContentNetwork: bool targetGoogleSearch: bool @@ -7549,10 +7203,10 @@ class GoogleAdsSearchads360V23Resources_Campaign_NetworkSettings( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_OptimizationGoalSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): optimizationGoalTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CALL_CLICKS", @@ -7563,11 +7217,11 @@ class GoogleAdsSearchads360V23Resources_Campaign_OptimizationGoalSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_PerformanceMaxUpgrade( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): performanceMaxCampaign: str preUpgradeCampaign: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UPGRADE_IN_PROGRESS", @@ -7578,19 +7232,19 @@ class GoogleAdsSearchads360V23Resources_Campaign_PerformanceMaxUpgrade( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_PmaxCampaignSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): brandTargetingOverrides: GoogleAdsSearchads360V23Resources_CampaignPmaxCampaignSettings_BrandTargetingOverrides @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_SelectiveOptimization( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionActions: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_ShoppingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertisingPartnerIds: _list[str] campaignPriority: int @@ -7602,24 +7256,24 @@ class GoogleAdsSearchads360V23Resources_Campaign_ShoppingSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_TrackingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): trackingUrl: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_TravelCampaignSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): travelAccountId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Campaign_VanityPharma( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - vanityPharmaDisplayUrlMode: typing_extensions.Literal[ + vanityPharmaDisplayUrlMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MANUFACTURER_WEBSITE_URL", "WEBSITE_DESCRIPTION" ] - vanityPharmaText: typing_extensions.Literal[ + vanityPharmaText: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PRESCRIPTION_TREATMENT_WEBSITE_EN", @@ -7638,7 +7292,7 @@ class GoogleAdsSearchads360V23Resources_Campaign_VanityPharma( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ChangeEvent_ChangedResource( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ad: GoogleAdsSearchads360V23Resources__Ad adGroup: GoogleAdsSearchads360V23Resources__AdGroup @@ -7658,9 +7312,9 @@ class GoogleAdsSearchads360V23Resources_ChangeEvent_ChangedResource( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionAction_AttributionModelSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attributionModel: typing_extensions.Literal[ + attributionModel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXTERNAL", @@ -7671,13 +7325,13 @@ class GoogleAdsSearchads360V23Resources_ConversionAction_AttributionModelSetting "GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED", "GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN", ] - dataDrivenModelStatus: typing_extensions.Literal[ + dataDrivenModelStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AVAILABLE", "STALE", "EXPIRED", "NEVER_GENERATED" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionAction_FirebaseSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventName: str projectId: str @@ -7686,7 +7340,7 @@ class GoogleAdsSearchads360V23Resources_ConversionAction_FirebaseSettings( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionAction_FloodlightSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): activityGroupTag: str activityId: str @@ -7694,7 +7348,7 @@ class GoogleAdsSearchads360V23Resources_ConversionAction_FloodlightSettings( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionAction_GoogleAnalytics4Settings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventName: str propertyId: str @@ -7702,14 +7356,14 @@ class GoogleAdsSearchads360V23Resources_ConversionAction_GoogleAnalytics4Setting @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionAction_ThirdPartyAppAnalyticsSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventName: str providerName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionAction_ValueSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alwaysUseDefaultValue: bool defaultCurrencyCode: str @@ -7717,64 +7371,60 @@ class GoogleAdsSearchads360V23Resources_ConversionAction_ValueSettings( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionCustomVariable_FloodlightConversionCustomVariableInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - floodlightVariableDataType: typing_extensions.Literal[ + floodlightVariableDataType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NUMBER", "STRING" ] - floodlightVariableType: typing_extensions.Literal[ + floodlightVariableType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DIMENSION", "METRIC", "UNSET" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - operation: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ADD", "MULTIPLY", "SET" - ] + operation: typing.Literal["UNSPECIFIED", "UNKNOWN", "ADD", "MULTIPLY", "SET"] value: float @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleAudienceCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userInterests: _list[str] userLists: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleDeviceCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): deviceTypes: _list[ - typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "MOBILE", "DESKTOP", "TABLET" - ] + typing.Literal["UNSPECIFIED", "UNKNOWN", "MOBILE", "DESKTOP", "TABLET"] ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleGeoLocationCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - excludedGeoMatchType: typing_extensions.Literal[ + excludedGeoMatchType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ANY", "LOCATION_OF_PRESENCE" ] excludedGeoTargetConstants: _list[str] - geoMatchType: typing_extensions.Literal[ + geoMatchType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ANY", "LOCATION_OF_PRESENCE" ] geoTargetConstants: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryAdvanceBookingWindow( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxDays: int minDays: int @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advanceBookingWindow: GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryAdvanceBookingWindow travelLength: GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryTravelLength @@ -7782,14 +7432,14 @@ class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryCo @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryTravelLength( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxNights: int minNights: int @typing.type_check_only class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryTravelStartDay( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): friday: bool monday: bool @@ -7801,21 +7451,21 @@ class GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryTr @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent_EventOccurrenceRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxEventCount: str minEventCount: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent_RevenueRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxEventRevenue: float minEventRevenue: float @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_CoarseGrainedConversionValueMappings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): highConversionValueMapping: GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_ConversionValueMapping lowConversionValueMapping: GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_ConversionValueMapping @@ -7823,7 +7473,7 @@ class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchema @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_ConversionValueMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mappedEvents: _list[ GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_Event @@ -7833,7 +7483,7 @@ class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchema @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_Event( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currencyCode: str eventCounter: str @@ -7844,17 +7494,17 @@ class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchema @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_FineGrainedConversionValueMappings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionValueMapping: GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_ConversionValueMapping fineGrainedConversionValue: int @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_PostbackMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): coarseGrainedConversionValueMappings: GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema_CoarseGrainedConversionValueMappings - lockWindowCoarseConversionValue: typing_extensions.Literal[ + lockWindowCoarseConversionValue: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNAVAILABLE", "LOW", "MEDIUM", "HIGH", "NONE" ] lockWindowEvent: str @@ -7863,7 +7513,7 @@ class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchema @typing.type_check_only class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appId: str fineGrainedConversionValueMappings: _list[ @@ -7876,10 +7526,10 @@ class GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchema @typing.type_check_only class GoogleAdsSearchads360V23Resources_ExperimentArm_AssetGroupAssetInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -7919,7 +7569,7 @@ class GoogleAdsSearchads360V23Resources_ExperimentArm_AssetGroupAssetInfo( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ExperimentArm_AssetGroupInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroup: str assetGroupAssets: _list[ @@ -7928,7 +7578,7 @@ class GoogleAdsSearchads360V23Resources_ExperimentArm_AssetGroupInfo( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Invoice_AccountBudgetSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountBudget: str accountBudgetName: str @@ -7950,7 +7600,7 @@ class GoogleAdsSearchads360V23Resources_Invoice_AccountBudgetSummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Invoice_AccountSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adjustmentSummaries: _list[ GoogleAdsSearchads360V23Resources_Invoice_AdjustmentSummary @@ -7980,19 +7630,19 @@ class GoogleAdsSearchads360V23Resources_Invoice_AccountSummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Invoice_AdjustmentSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adjustmentDescription: str amountMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Invoice_CampaignSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): amountMicros: str campaignDescription: str quantity: str - unitOfMeasure: typing_extensions.Literal[ + unitOfMeasure: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICKS", @@ -8011,12 +7661,12 @@ class GoogleAdsSearchads360V23Resources_Invoice_CampaignSummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Invoice_InvalidActivitySummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): amountMicros: str originalAccountBudgetName: str originalInvoiceId: str - originalMonthOfService: typing_extensions.Literal[ + originalMonthOfService: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "JANUARY", @@ -8037,10 +7687,10 @@ class GoogleAdsSearchads360V23Resources_Invoice_InvalidActivitySummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Invoice_RegulatoryCostSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): amountMicros: str - regulatoryFeeType: typing_extensions.Literal[ + regulatoryFeeType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AUSTRIA_DST_FEE", @@ -8057,60 +7707,58 @@ class GoogleAdsSearchads360V23Resources_Invoice_RegulatoryCostSummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductBrand( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductCategory( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str - level: typing_extensions.Literal[ + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductChannel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - channel: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] + channel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - condition: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED" - ] + condition: typing.Literal["UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductCustomAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - index: typing_extensions.Literal[ + index: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INDEX0", "INDEX1", "INDEX2", "INDEX3", "INDEX4" ] value: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductItemId( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): value: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - level: typing_extensions.Literal[ + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] value: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_Webpage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conditions: _list[ GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_WebpageCondition @@ -8118,14 +7766,14 @@ class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_Webpage( @typing.type_check_only class GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_WebpageCondition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customLabel: str urlContains: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_ProductCategoryConstant_ProductCategoryLocalization( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str regionCode: str @@ -8133,23 +7781,23 @@ class GoogleAdsSearchads360V23Resources_ProductCategoryConstant_ProductCategoryL @typing.type_check_only class GoogleAdsSearchads360V23Resources_RecommendationCampaignBudgetRecommendation_CampaignBudgetRecommendationOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetAmountMicros: str impact: GoogleAdsSearchads360V23Resources_Recommendation_RecommendationImpact @typing.type_check_only class GoogleAdsSearchads360V23Resources_RecommendationKeywordRecommendation_SearchTerm( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): estimatedWeeklySearchCount: str text: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_RecommendationTargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - goal: typing_extensions.Literal[ + goal: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SAME_COST", @@ -8163,26 +7811,26 @@ class GoogleAdsSearchads360V23Resources_RecommendationTargetCpaOptInRecommendati @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_AccountInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerId: str descriptiveName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_CallAssetRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_CalloutAssetRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendedCampaignCalloutAssets: _list[GoogleAdsSearchads360V23Resources__Asset] recommendedCustomerCalloutAssets: _list[GoogleAdsSearchads360V23Resources__Asset] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_CampaignBudget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentAmountMicros: str newStartDate: str @@ -8190,7 +7838,7 @@ class GoogleAdsSearchads360V23Resources_Recommendation_CampaignBudget( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_CampaignBudgetRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetOptions: _list[ GoogleAdsSearchads360V23Resources_RecommendationCampaignBudgetRecommendation_CampaignBudgetRecommendationOption @@ -8200,45 +7848,45 @@ class GoogleAdsSearchads360V23Resources_Recommendation_CampaignBudgetRecommendat @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_CustomAudienceOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywords: _list[GoogleAdsSearchads360V23Common__KeywordInfo] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_DisplayExpansionOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_DynamicImageExtensionOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_EnhancedCpcOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ForecastingSetTargetCpaRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBudget: GoogleAdsSearchads360V23Resources_Recommendation_CampaignBudget recommendedTargetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ForecastingSetTargetRoasRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBudget: GoogleAdsSearchads360V23Resources_Recommendation_CampaignBudget recommendedTargetRoas: float @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ImproveDemandGenAdStrengthRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ad: str - adStrength: typing_extensions.Literal[ + adStrength: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -8252,14 +7900,14 @@ class GoogleAdsSearchads360V23Resources_Recommendation_ImproveDemandGenAdStrengt @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ImproveGoogleTagCoverageRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ImprovePerformanceMaxAdStrengthRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adStrength: typing_extensions.Literal[ + adStrength: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -8273,16 +7921,16 @@ class GoogleAdsSearchads360V23Resources_Recommendation_ImprovePerformanceMaxAdSt @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_KeywordMatchTypeRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keyword: GoogleAdsSearchads360V23Common__KeywordInfo - recommendedMatchType: typing_extensions.Literal[ + recommendedMatchType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_KeywordRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keyword: GoogleAdsSearchads360V23Common__KeywordInfo recommendedCpcBidMicros: str @@ -8292,12 +7940,12 @@ class GoogleAdsSearchads360V23Resources_Recommendation_KeywordRecommendation( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_LeadFormAssetRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_LowerTargetRoasRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetAdjustment: ( GoogleAdsSearchads360V23Resources_Recommendation_TargetAdjustmentInfo @@ -8305,24 +7953,24 @@ class GoogleAdsSearchads360V23Resources_Recommendation_LowerTargetRoasRecommenda @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_MaximizeClicksOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendedBudgetAmountMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_MaximizeConversionValueOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_MaximizeConversionsOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendedBudgetAmountMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_MerchantInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str multiClient: bool @@ -8330,13 +7978,13 @@ class GoogleAdsSearchads360V23Resources_Recommendation_MerchantInfo( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applyLink: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_MoveUnusedBudgetRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetRecommendation: ( GoogleAdsSearchads360V23Resources_Recommendation_CampaignBudgetRecommendation @@ -8345,31 +7993,31 @@ class GoogleAdsSearchads360V23Resources_Recommendation_MoveUnusedBudgetRecommend @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_OptimizeAdRotationRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_PerformanceMaxFinalUrlOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_PerformanceMaxOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_RaiseTargetCpaBidTooLowRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageTargetCpaMicros: str recommendedTargetMultiplier: float @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_RaiseTargetCpaRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - appBiddingGoal: typing_extensions.Literal[ + appBiddingGoal: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME", @@ -8386,7 +8034,7 @@ class GoogleAdsSearchads360V23Resources_Recommendation_RaiseTargetCpaRecommendat @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_RecommendationImpact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baseMetrics: GoogleAdsSearchads360V23Resources_Recommendation_RecommendationMetrics potentialMetrics: ( @@ -8395,7 +8043,7 @@ class GoogleAdsSearchads360V23Resources_Recommendation_RecommendationImpact( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_RecommendationMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clicks: float conversions: float @@ -8406,7 +8054,7 @@ class GoogleAdsSearchads360V23Resources_Recommendation_RecommendationMetrics( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_RefreshCustomerMatchListRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): daysSinceLastRefresh: str ownerAccount: GoogleAdsSearchads360V23Resources_Recommendation_AccountInfo @@ -8419,36 +8067,36 @@ class GoogleAdsSearchads360V23Resources_Recommendation_RefreshCustomerMatchListR @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ResponsiveSearchAdAssetRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentAd: GoogleAdsSearchads360V23Resources__Ad recommendedAssets: GoogleAdsSearchads360V23Resources__Ad @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ResponsiveSearchAdImproveAdStrengthRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentAd: GoogleAdsSearchads360V23Resources__Ad recommendedAd: GoogleAdsSearchads360V23Resources__Ad @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ResponsiveSearchAdRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ad: GoogleAdsSearchads360V23Resources__Ad @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_SearchPartnersOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingAddProductsToCampaignRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedLabel: str merchant: GoogleAdsSearchads360V23Resources_Recommendation_MerchantInfo - reason: typing_extensions.Literal[ + reason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS", @@ -8459,7 +8107,7 @@ class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingAddProductsToCamp @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingFixDisapprovedProductsRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): disapprovedProductsCount: str feedLabel: str @@ -8468,21 +8116,21 @@ class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingFixDisapprovedPro @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingMerchantCenterAccountSuspensionRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedLabel: str merchant: GoogleAdsSearchads360V23Resources_Recommendation_MerchantInfo @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedLabel: str merchant: GoogleAdsSearchads360V23Resources_Recommendation_MerchantInfo @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingOfferAttributeRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): demotedOffersCount: str feedLabel: str @@ -8491,7 +8139,7 @@ class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingOfferAttributeRec @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingTargetAllOffersRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): feedLabel: str merchant: GoogleAdsSearchads360V23Resources_Recommendation_MerchantInfo @@ -8499,14 +8147,14 @@ class GoogleAdsSearchads360V23Resources_Recommendation_ShoppingTargetAllOffersRe @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_SitelinkAssetRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendedCampaignSitelinkAssets: _list[GoogleAdsSearchads360V23Resources__Asset] recommendedCustomerSitelinkAssets: _list[GoogleAdsSearchads360V23Resources__Asset] @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_TargetAdjustmentInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentAverageTargetMicros: str recommendedTargetMultiplier: float @@ -8514,7 +8162,7 @@ class GoogleAdsSearchads360V23Resources_Recommendation_TargetAdjustmentInfo( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_TargetCpaOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): options: _list[ GoogleAdsSearchads360V23Resources_RecommendationTargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption @@ -8523,14 +8171,14 @@ class GoogleAdsSearchads360V23Resources_Recommendation_TargetCpaOptInRecommendat @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_TargetRoasOptInRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendedTargetRoas: float requiredCampaignBudgetAmountMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_TextAdRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ad: GoogleAdsSearchads360V23Resources__Ad autoApplyDate: str @@ -8538,19 +8186,19 @@ class GoogleAdsSearchads360V23Resources_Recommendation_TextAdRecommendation( @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_UpgradeLocalCampaignToPerformanceMaxRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): merchantId: str salesCountryCode: str @typing.type_check_only class GoogleAdsSearchads360V23Resources_Recommendation_UseBroadMatchKeywordRecommendation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignKeywordsCount: str campaignUsesSharedBudget: bool @@ -8560,9 +8208,9 @@ class GoogleAdsSearchads360V23Resources_Recommendation_UseBroadMatchKeywordRecom @typing.type_check_only class GoogleAdsSearchads360V23Resources_ShoppingProduct_ProductIssue( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adsSeverity: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "WARNING", "ERROR"] + adsSeverity: typing.Literal["UNSPECIFIED", "UNKNOWN", "WARNING", "ERROR"] affectedRegions: _list[str] attributeName: str description: str @@ -8572,20 +8220,20 @@ class GoogleAdsSearchads360V23Resources_ShoppingProduct_ProductIssue( @typing.type_check_only class GoogleAdsSearchads360V23Resources_SmartCampaignSetting_AdOptimizedBusinessProfileSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeLeadForm: bool @typing.type_check_only class GoogleAdsSearchads360V23Resources_SmartCampaignSetting_PhoneNumber( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str phoneNumber: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__AccessibleBiddingStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str maximizeConversionValue: GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_MaximizeConversionValue @@ -8600,7 +8248,7 @@ class GoogleAdsSearchads360V23Resources__AccessibleBiddingStrategy( targetImpressionShare: GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetImpressionShare targetRoas: GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetRoas targetSpend: GoogleAdsSearchads360V23Resources_AccessibleBiddingStrategy_TargetSpend - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COMMISSION", @@ -8624,22 +8272,14 @@ class GoogleAdsSearchads360V23Resources__AccessibleBiddingStrategy( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AccountBudget( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AccountBudget(typing.TypedDict, total=False): adjustedSpendingLimitMicros: str - adjustedSpendingLimitType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INFINITE" - ] + adjustedSpendingLimitType: typing.Literal["UNSPECIFIED", "UNKNOWN", "INFINITE"] amountServedMicros: str approvedEndDateTime: str - approvedEndTimeType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER" - ] + approvedEndTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] approvedSpendingLimitMicros: str - approvedSpendingLimitType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INFINITE" - ] + approvedSpendingLimitType: typing.Literal["UNSPECIFIED", "UNKNOWN", "INFINITE"] approvedStartDateTime: str billingSetup: str id: str @@ -8649,59 +8289,43 @@ class GoogleAdsSearchads360V23Resources__AccountBudget( GoogleAdsSearchads360V23Resources_AccountBudget_PendingAccountBudgetProposal ) proposedEndDateTime: str - proposedEndTimeType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER" - ] + proposedEndTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] proposedSpendingLimitMicros: str - proposedSpendingLimitType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INFINITE" - ] + proposedSpendingLimitType: typing.Literal["UNSPECIFIED", "UNKNOWN", "INFINITE"] proposedStartDateTime: str purchaseOrderNumber: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "PENDING", "APPROVED", "CANCELLED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "PENDING", "APPROVED", "CANCELLED"] totalAdjustmentsMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__AccountBudgetProposal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountBudget: str approvalDateTime: str approvedEndDateTime: str - approvedEndTimeType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER" - ] + approvedEndTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] approvedSpendingLimitMicros: str - approvedSpendingLimitType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INFINITE" - ] + approvedSpendingLimitType: typing.Literal["UNSPECIFIED", "UNKNOWN", "INFINITE"] approvedStartDateTime: str billingSetup: str creationDateTime: str id: str - proposalType: typing_extensions.Literal[ + proposalType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CREATE", "UPDATE", "END", "REMOVE" ] proposedEndDateTime: str - proposedEndTimeType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER" - ] + proposedEndTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] proposedName: str proposedNotes: str proposedPurchaseOrderNumber: str proposedSpendingLimitMicros: str - proposedSpendingLimitType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INFINITE" - ] + proposedSpendingLimitType: typing.Literal["UNSPECIFIED", "UNKNOWN", "INFINITE"] proposedStartDateTime: str - proposedStartTimeType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER" - ] + proposedStartTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -8712,12 +8336,10 @@ class GoogleAdsSearchads360V23Resources__AccountBudgetProposal( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AccountLink( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AccountLink(typing.TypedDict, total=False): accountLinkId: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", @@ -8730,12 +8352,10 @@ class GoogleAdsSearchads360V23Resources__AccountLink( thirdPartyAppAnalytics: ( GoogleAdsSearchads360V23Resources__ThirdPartyAppAnalyticsLinkIdentifier ) - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "THIRD_PARTY_APP_ANALYTICS" - ] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "THIRD_PARTY_APP_ANALYTICS"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Ad(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Resources__Ad(typing.TypedDict, total=False): addedByGoogleAds: bool appAd: GoogleAdsSearchads360V23Common__AppAdInfo appEngagementAd: GoogleAdsSearchads360V23Common__AppEngagementAdInfo @@ -8746,7 +8366,7 @@ class GoogleAdsSearchads360V23Resources__Ad(typing_extensions.TypedDict, total=F demandGenVideoResponsiveAd: ( GoogleAdsSearchads360V23Common__DemandGenVideoResponsiveAdInfo ) - devicePreference: typing_extensions.Literal[ + devicePreference: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV", "OTHER" ] displayUploadAd: GoogleAdsSearchads360V23Common__DisplayUploadAdInfo @@ -8786,13 +8406,14 @@ class GoogleAdsSearchads360V23Resources__Ad(typing_extensions.TypedDict, total=F shoppingProductAd: GoogleAdsSearchads360V23Common__ShoppingProductAdInfo shoppingSmartAd: GoogleAdsSearchads360V23Common__ShoppingSmartAdInfo smartCampaignAd: GoogleAdsSearchads360V23Common__SmartCampaignAdInfo - systemManagedResourceSource: typing_extensions.Literal[ + syntheticContentInfo: GoogleAdsSearchads360V23Common__SyntheticContentInfo + systemManagedResourceSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_VARIATIONS" ] textAd: GoogleAdsSearchads360V23Common__TextAdInfo trackingUrlTemplate: str travelAd: GoogleAdsSearchads360V23Common__TravelAdInfo - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TEXT_AD", @@ -8831,10 +8452,8 @@ class GoogleAdsSearchads360V23Resources__Ad(typing_extensions.TypedDict, total=F urlCustomParameters: _list[GoogleAdsSearchads360V23Common__CustomParameter] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdGroup( - typing_extensions.TypedDict, total=False -): - adRotationMode: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Resources__AdGroup(typing.TypedDict, total=False): + adRotationMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTIMIZE", "ROTATE_FOREVER" ] aiMaxAdGroupSetting: GoogleAdsSearchads360V23Resources_AdGroup_AiMaxAdGroupSetting @@ -8848,7 +8467,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( demandGenAdGroupSettings: ( GoogleAdsSearchads360V23Resources_AdGroup_DemandGenAdGroupSettings ) - displayCustomBidDimension: typing_extensions.Literal[ + displayCustomBidDimension: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -8863,7 +8482,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( effectiveCpcBidMicros: str effectiveLabels: _list[str] effectiveTargetCpaMicros: str - effectiveTargetCpaSource: typing_extensions.Literal[ + effectiveTargetCpaSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BIDDING_STRATEGY", @@ -8871,7 +8490,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( "AD_GROUP_CRITERION", ] effectiveTargetCpc: str - effectiveTargetCpcSource: typing_extensions.Literal[ + effectiveTargetCpcSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BIDDING_STRATEGY", @@ -8879,7 +8498,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( "AD_GROUP_CRITERION", ] effectiveTargetRoas: float - effectiveTargetRoasSource: typing_extensions.Literal[ + effectiveTargetRoasSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BIDDING_STRATEGY", @@ -8888,7 +8507,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( ] endDate: str engineId: str - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_ELIGIBLE", @@ -8903,7 +8522,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( ] excludeDemographicExpansion: bool excludedParentAssetFieldTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -8942,7 +8561,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( ] ] excludedParentAssetSetTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PAGE_FEED", @@ -8972,7 +8591,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( name: str optimizedTargetingEnabled: bool percentCpcBidMicros: str - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -8983,7 +8602,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( "LIMITED", ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_REMOVED", @@ -9006,9 +8625,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( ] resourceName: str startDate: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] targetCpaMicros: str targetCpcMicros: str targetCpmMicros: str @@ -9016,7 +8633,7 @@ class GoogleAdsSearchads360V23Resources__AdGroup( targetRoas: float targetingSetting: GoogleAdsSearchads360V23Common__TargetingSetting trackingUrlTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH_STANDARD", @@ -9042,16 +8659,14 @@ class GoogleAdsSearchads360V23Resources__AdGroup( ) @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdGroupAd( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AdGroupAd(typing.TypedDict, total=False): actionItems: _list[str] ad: GoogleAdsSearchads360V23Resources__Ad adGroup: str adGroupAdAssetAutomationSettings: _list[ GoogleAdsSearchads360V23Resources__AdGroupAdAssetAutomationSetting ] - adStrength: typing_extensions.Literal[ + adStrength: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -9064,7 +8679,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAd( creationTime: str effectiveLabels: _list[str] engineId: str - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_AD_ELIGIBLE", @@ -9088,7 +8703,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAd( labels: _list[str] lastModifiedTime: str policySummary: GoogleAdsSearchads360V23Resources__AdGroupAdPolicySummary - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -9099,7 +8714,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAd( "NOT_ELIGIBLE", ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_REMOVED", @@ -9120,24 +8735,23 @@ class GoogleAdsSearchads360V23Resources__AdGroupAd( ] ] resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupAdAssetAutomationSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - assetAutomationStatus: typing_extensions.Literal[ + assetAutomationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTED_IN", "OPTED_OUT" ] - assetAutomationType: typing_extensions.Literal[ + assetAutomationType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TEXT_ASSET_AUTOMATION", "GENERATE_VERTICAL_YOUTUBE_VIDEOS", "GENERATE_SHORTER_YOUTUBE_VIDEOS", "GENERATE_LANDING_PAGE_PREVIEW", + "GENERATE_LANDING_PAGE_TEXT", "GENERATE_ENHANCED_YOUTUBE_VIDEOS", "GENERATE_IMAGE_ENHANCEMENT", "GENERATE_IMAGE_EXTRACTION", @@ -9148,7 +8762,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdAssetAutomationSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupAdAssetCombinationView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enabled: bool resourceName: str @@ -9156,9 +8770,9 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdAssetCombinationView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupAdAssetPolicySummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - approvalStatus: typing_extensions.Literal[ + approvalStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISAPPROVED", @@ -9167,7 +8781,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdAssetPolicySummary( "AREA_OF_INTEREST_ONLY", ] policyTopicEntries: _list[GoogleAdsSearchads360V23Common__PolicyTopicEntry] - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REVIEW_IN_PROGRESS", @@ -9178,12 +8792,12 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdAssetPolicySummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupAdAssetView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupAd: str asset: str enabled: bool - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -9220,7 +8834,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdAssetView( "LONG_DESCRIPTION", "CALL_TO_ACTION", ] - performanceLabel: typing_extensions.Literal[ + performanceLabel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -9230,7 +8844,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdAssetView( "BEST", "NOT_APPLICABLE", ] - pinnedField: typing_extensions.Literal[ + pinnedField: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE_1", @@ -9271,13 +8885,13 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdAssetView( ] policySummary: GoogleAdsSearchads360V23Resources__AdGroupAdAssetPolicySummary resourceName: str - source: typing_extensions.Literal[ + source: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "AUTOMATICALLY_CREATED" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupAdEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupAd: str label: str @@ -9285,9 +8899,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdEffectiveLabel( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdGroupAdLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AdGroupAdLabel(typing.TypedDict, total=False): adGroupAd: str label: str ownerCustomerId: str @@ -9295,9 +8907,9 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdLabel( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupAdPolicySummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - approvalStatus: typing_extensions.Literal[ + approvalStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISAPPROVED", @@ -9306,7 +8918,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdPolicySummary( "AREA_OF_INTEREST_ONLY", ] policyTopicEntries: _list[GoogleAdsSearchads360V23Common__PolicyTopicEntry] - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REVIEW_IN_PROGRESS", @@ -9316,12 +8928,10 @@ class GoogleAdsSearchads360V23Resources__AdGroupAdPolicySummary( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdGroupAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AdGroupAsset(typing.TypedDict, total=False): adGroup: str asset: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -9358,7 +8968,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAsset( "LONG_DESCRIPTION", "CALL_TO_ACTION", ] - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -9372,7 +8982,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupAsset( GoogleAdsSearchads360V23Common__AssetLinkPrimaryStatusDetails ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ASSET_LINK_PAUSED", @@ -9383,38 +8993,32 @@ class GoogleAdsSearchads360V23Resources__AdGroupAsset( ] ] resourceName: str - source: typing_extensions.Literal[ + source: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "AUTOMATICALLY_CREATED" ] - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdGroupAssetSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AdGroupAssetSet(typing.TypedDict, total=False): adGroup: str assetSet: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupAudienceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupBidModifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str baseAdGroup: str bidModifier: float - bidModifierSource: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "CAMPAIGN", "AD_GROUP" - ] + bidModifierSource: typing.Literal["UNSPECIFIED", "UNKNOWN", "CAMPAIGN", "AD_GROUP"] criterionId: str device: GoogleAdsSearchads360V23Common__DeviceInfo hotelAdvanceBookingWindow: ( @@ -9428,12 +9032,12 @@ class GoogleAdsSearchads360V23Resources__AdGroupBidModifier( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupCriterion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str ageRange: GoogleAdsSearchads360V23Common__AgeRangeInfo appPaymentModel: GoogleAdsSearchads360V23Common__AppPaymentModelInfo - approvalStatus: typing_extensions.Literal[ + approvalStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPROVED", @@ -9456,7 +9060,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( disapprovalReasons: _list[str] displayName: str effectiveCpcBidMicros: str - effectiveCpcBidSource: typing_extensions.Literal[ + effectiveCpcBidSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BIDDING_STRATEGY", @@ -9464,7 +9068,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( "AD_GROUP_CRITERION", ] effectiveCpmBidMicros: str - effectiveCpmBidSource: typing_extensions.Literal[ + effectiveCpmBidSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BIDDING_STRATEGY", @@ -9472,7 +9076,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( "AD_GROUP_CRITERION", ] effectiveCpvBidMicros: str - effectiveCpvBidSource: typing_extensions.Literal[ + effectiveCpvBidSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BIDDING_STRATEGY", @@ -9481,7 +9085,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( ] effectiveLabels: _list[str] effectivePercentCpcBidMicros: str - effectivePercentCpcBidSource: typing_extensions.Literal[ + effectivePercentCpcBidSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BIDDING_STRATEGY", @@ -9489,7 +9093,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( "AD_GROUP_CRITERION", ] engineId: str - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP_CRITERION_ELIGIBLE", @@ -9534,7 +9138,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( positionEstimates: ( GoogleAdsSearchads360V23Resources_AdGroupCriterion_PositionEstimates ) - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -9544,7 +9148,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( "NOT_ELIGIBLE", ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_PENDING", @@ -9569,15 +9173,13 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( ] qualityInfo: GoogleAdsSearchads360V23Resources_AdGroupCriterion_QualityInfo resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] - systemServingStatus: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] + systemServingStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", "RARELY_SERVED" ] topic: GoogleAdsSearchads360V23Common__TopicInfo trackingUrlTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -9639,17 +9241,17 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterion( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupCriterionCustomizer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCriterion: str customizerAttribute: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] value: GoogleAdsSearchads360V23Common__CustomizerValue @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupCriterionEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCriterion: str label: str @@ -9658,7 +9260,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterionEffectiveLabel( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupCriterionLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCriterion: str label: str @@ -9667,13 +9269,13 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterionLabel( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupCriterionSimulation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupId: str cpcBidPointList: GoogleAdsSearchads360V23Common__CpcBidSimulationPointList criterionId: str endDate: str - modificationMethod: typing_extensions.Literal[ + modificationMethod: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNIFORM", "DEFAULT", "SCALING" ] percentCpcBidPointList: ( @@ -9681,7 +9283,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterionSimulation( ) resourceName: str startDate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CPC_BID", @@ -9696,17 +9298,17 @@ class GoogleAdsSearchads360V23Resources__AdGroupCriterionSimulation( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupCustomizer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str customizerAttribute: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] value: GoogleAdsSearchads360V23Common__CustomizerValue @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str label: str @@ -9714,9 +9316,7 @@ class GoogleAdsSearchads360V23Resources__AdGroupEffectiveLabel( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdGroupLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AdGroupLabel(typing.TypedDict, total=False): adGroup: str label: str ownerCustomerId: str @@ -9724,20 +9324,20 @@ class GoogleAdsSearchads360V23Resources__AdGroupLabel( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdGroupSimulation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupId: str cpcBidPointList: GoogleAdsSearchads360V23Common__CpcBidSimulationPointList cpvBidPointList: GoogleAdsSearchads360V23Common__CpvBidSimulationPointList endDate: str - modificationMethod: typing_extensions.Literal[ + modificationMethod: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNIFORM", "DEFAULT", "SCALING" ] resourceName: str startDate: str targetCpaPointList: GoogleAdsSearchads360V23Common__TargetCpaSimulationPointList targetRoasPointList: GoogleAdsSearchads360V23Common__TargetRoasSimulationPointList - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CPC_BID", @@ -9751,50 +9351,44 @@ class GoogleAdsSearchads360V23Resources__AdGroupSimulation( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdParameter( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AdParameter(typing.TypedDict, total=False): adGroupCriterion: str insertionText: str parameterIndex: str resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AdScheduleView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AdScheduleView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdStrengthActionItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - actionItemType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ADD_ASSET"] + actionItemType: typing.Literal["UNSPECIFIED", "UNKNOWN", "ADD_ASSET"] addAssetDetails: ( GoogleAdsSearchads360V23Resources_AdStrengthActionItem_AddAssetDetails ) @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdvertisingPartnerIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__AdvertisingPartnerLinkInvitationIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AgeRangeView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AgeRangeView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__AiMaxSearchTermAdCombinationView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str headline: str @@ -9804,14 +9398,14 @@ class GoogleAdsSearchads360V23Resources__AiMaxSearchTermAdCombinationView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AndroidPrivacySharedKeyGoogleAdGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupId: str androidPrivacyInteractionDate: str - androidPrivacyInteractionType: typing_extensions.Literal[ + androidPrivacyInteractionType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICK", "ENGAGED_VIEW", "VIEW" ] - androidPrivacyNetworkType: typing_extensions.Literal[ + androidPrivacyNetworkType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", "DISPLAY", "YOUTUBE" ] campaignId: str @@ -9820,10 +9414,10 @@ class GoogleAdsSearchads360V23Resources__AndroidPrivacySharedKeyGoogleAdGroup( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AndroidPrivacySharedKeyGoogleCampaign( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): androidPrivacyInteractionDate: str - androidPrivacyInteractionType: typing_extensions.Literal[ + androidPrivacyInteractionType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICK", "ENGAGED_VIEW", "VIEW" ] campaignId: str @@ -9832,13 +9426,13 @@ class GoogleAdsSearchads360V23Resources__AndroidPrivacySharedKeyGoogleCampaign( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AndroidPrivacySharedKeyGoogleNetworkType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): androidPrivacyInteractionDate: str - androidPrivacyInteractionType: typing_extensions.Literal[ + androidPrivacyInteractionType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICK", "ENGAGED_VIEW", "VIEW" ] - androidPrivacyNetworkType: typing_extensions.Literal[ + androidPrivacyNetworkType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", "DISPLAY", "YOUTUBE" ] campaignId: str @@ -9846,9 +9440,7 @@ class GoogleAdsSearchads360V23Resources__AndroidPrivacySharedKeyGoogleNetworkTyp sharedNetworkTypeKey: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Asset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Asset(typing.TypedDict, total=False): appDeepLinkAsset: GoogleAdsSearchads360V23Common__AppDeepLinkAsset bookOnGoogleAsset: GoogleAdsSearchads360V23Common__BookOnGoogleAsset businessMessageAsset: GoogleAdsSearchads360V23Common__BusinessMessageAsset @@ -9869,7 +9461,7 @@ class GoogleAdsSearchads360V23Resources__Asset( dynamicLocalAsset: GoogleAdsSearchads360V23Common__DynamicLocalAsset dynamicRealEstateAsset: GoogleAdsSearchads360V23Common__DynamicRealEstateAsset dynamicTravelAsset: GoogleAdsSearchads360V23Common__DynamicTravelAsset - engineStatus: typing_extensions.Literal[ + engineStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SERVING", @@ -9894,7 +9486,7 @@ class GoogleAdsSearchads360V23Resources__Asset( mediaBundleAsset: GoogleAdsSearchads360V23Common__MediaBundleAsset mobileAppAsset: GoogleAdsSearchads360V23Common__MobileAppAsset name: str - orientation: typing_extensions.Literal[ + orientation: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LANDSCAPE", "PORTRAIT", "SQUARE" ] pageFeedAsset: GoogleAdsSearchads360V23Common__PageFeedAsset @@ -9908,10 +9500,10 @@ class GoogleAdsSearchads360V23Resources__Asset( searchAds360PageFeedAsset: GoogleAdsSearchads360V23Common__UnifiedPageFeedAsset searchAds360SitelinkAsset: GoogleAdsSearchads360V23Common__UnifiedSitelinkAsset sitelinkAsset: GoogleAdsSearchads360V23Common__SitelinkAsset - source: typing_extensions.Literal[ + source: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "AUTOMATICALLY_CREATED" ] - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", @@ -9920,9 +9512,10 @@ class GoogleAdsSearchads360V23Resources__Asset( "PENDING_SYSTEM_GENERATED", ] structuredSnippetAsset: GoogleAdsSearchads360V23Common__StructuredSnippetAsset + syntheticContentInfo: GoogleAdsSearchads360V23Common__SyntheticContentInfo textAsset: GoogleAdsSearchads360V23Common__TextAsset trackingUrlTemplate: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YOUTUBE_VIDEO", @@ -9959,18 +9552,16 @@ class GoogleAdsSearchads360V23Resources__Asset( youtubeVideoAsset: GoogleAdsSearchads360V23Common__YoutubeVideoAsset @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AssetCoverage( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AssetCoverage(typing.TypedDict, total=False): adStrengthActionItems: _list[ GoogleAdsSearchads360V23Resources__AdStrengthActionItem ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetFieldTypePolicySummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - assetFieldType: typing_extensions.Literal[ + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -10007,16 +9598,16 @@ class GoogleAdsSearchads360V23Resources__AssetFieldTypePolicySummary( "LONG_DESCRIPTION", "CALL_TO_ACTION", ] - assetSource: typing_extensions.Literal[ + assetSource: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "AUTOMATICALLY_CREATED" ] policySummaryInfo: GoogleAdsSearchads360V23Resources__AssetPolicySummary @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetFieldTypeView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -10056,10 +9647,8 @@ class GoogleAdsSearchads360V23Resources__AssetFieldTypeView( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AssetGroup( - typing_extensions.TypedDict, total=False -): - adStrength: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Resources__AssetGroup(typing.TypedDict, total=False): + adStrength: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", @@ -10077,7 +9666,7 @@ class GoogleAdsSearchads360V23Resources__AssetGroup( name: str path1: str path2: str - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -10088,7 +9677,7 @@ class GoogleAdsSearchads360V23Resources__AssetGroup( "PENDING", ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ASSET_GROUP_PAUSED", @@ -10103,17 +9692,13 @@ class GoogleAdsSearchads360V23Resources__AssetGroup( ] ] resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AssetGroupAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AssetGroupAsset(typing.TypedDict, total=False): asset: str assetGroup: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -10151,7 +9736,7 @@ class GoogleAdsSearchads360V23Resources__AssetGroupAsset( "CALL_TO_ACTION", ] policySummary: GoogleAdsSearchads360V23Common__PolicySummary - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -10165,7 +9750,7 @@ class GoogleAdsSearchads360V23Resources__AssetGroupAsset( GoogleAdsSearchads360V23Common__AssetLinkPrimaryStatusDetails ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ASSET_LINK_PAUSED", @@ -10176,39 +9761,35 @@ class GoogleAdsSearchads360V23Resources__AssetGroupAsset( ] ] resourceName: str - source: typing_extensions.Literal[ + source: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "AUTOMATICALLY_CREATED" ] - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetGroupAssetCombinationData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetCombinationServedAssets: _list[GoogleAdsSearchads360V23Common__AssetUsage] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetGroupListingGroupFilter( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroup: str caseValue: GoogleAdsSearchads360V23Resources__ListingGroupFilterDimension id: str - listingSource: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "SHOPPING", "WEBPAGE" - ] + listingSource: typing.Literal["UNSPECIFIED", "UNKNOWN", "SHOPPING", "WEBPAGE"] parentListingGroupFilter: str path: GoogleAdsSearchads360V23Resources__ListingGroupFilterDimensionPath resourceName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SUBDIVISION", "UNIT_INCLUDED", "UNIT_EXCLUDED" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetGroupProductGroupView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroup: str assetGroupListingGroupFilter: str @@ -10216,9 +9797,9 @@ class GoogleAdsSearchads360V23Resources__AssetGroupProductGroupView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetGroupSignal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - approvalStatus: typing_extensions.Literal[ + approvalStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPROVED", "LIMITED", "DISAPPROVED", "UNDER_REVIEW" ] assetGroup: str @@ -10229,7 +9810,7 @@ class GoogleAdsSearchads360V23Resources__AssetGroupSignal( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetGroupTopCombinationView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroupTopCombinations: _list[ GoogleAdsSearchads360V23Resources__AssetGroupAssetCombinationData @@ -10238,9 +9819,9 @@ class GoogleAdsSearchads360V23Resources__AssetGroupTopCombinationView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetPolicySummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - approvalStatus: typing_extensions.Literal[ + approvalStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISAPPROVED", @@ -10249,7 +9830,7 @@ class GoogleAdsSearchads360V23Resources__AssetPolicySummary( "AREA_OF_INTEREST_ONLY", ] policyTopicEntries: _list[GoogleAdsSearchads360V23Common__PolicyTopicEntry] - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REVIEW_IN_PROGRESS", @@ -10259,9 +9840,7 @@ class GoogleAdsSearchads360V23Resources__AssetPolicySummary( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AssetSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AssetSet(typing.TypedDict, total=False): businessProfileLocationGroup: ( GoogleAdsSearchads360V23Common__BusinessProfileLocationGroup ) @@ -10273,8 +9852,8 @@ class GoogleAdsSearchads360V23Resources__AssetSet( merchantCenterFeed: GoogleAdsSearchads360V23Resources_AssetSet_MerchantCenterFeed name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] - type: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PAGE_FEED", @@ -10296,19 +9875,17 @@ class GoogleAdsSearchads360V23Resources__AssetSet( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__AssetSetAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__AssetSetAsset(typing.TypedDict, total=False): asset: str assetSet: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__AssetSetTypeView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - assetSetType: typing_extensions.Literal[ + assetSetType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PAGE_FEED", @@ -10331,9 +9908,7 @@ class GoogleAdsSearchads360V23Resources__AssetSetTypeView( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Audience( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Audience(typing.TypedDict, total=False): assetGroup: str description: str dimensions: _list[GoogleAdsSearchads360V23Common__AudienceDimension] @@ -10341,37 +9916,31 @@ class GoogleAdsSearchads360V23Resources__Audience( id: str name: str resourceName: str - scope: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "CUSTOMER", "ASSET_GROUP" - ] - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + scope: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER", "ASSET_GROUP"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__BackgroundCheckVerificationArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): caseUrl: str finalAdjudicationDateTime: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__BatchJob( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__BatchJob(typing.TypedDict, total=False): id: str longRunningOperation: str metadata: GoogleAdsSearchads360V23Resources_BatchJob_BatchJobMetadata nextAddSequenceToken: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "PENDING", "RUNNING", "DONE" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "PENDING", "RUNNING", "DONE"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__BiddingDataExclusion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertisingChannelTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -10393,7 +9962,7 @@ class GoogleAdsSearchads360V23Resources__BiddingDataExclusion( dataExclusionId: str description: str devices: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", @@ -10406,18 +9975,16 @@ class GoogleAdsSearchads360V23Resources__BiddingDataExclusion( endDateTime: str name: str resourceName: str - scope: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN", "CHANNEL" - ] + scope: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN", "CHANNEL"] startDateTime: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__BiddingSeasonalityAdjustment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertisingChannelTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -10439,7 +10006,7 @@ class GoogleAdsSearchads360V23Resources__BiddingSeasonalityAdjustment( conversionRateModifier: float description: str devices: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MOBILE", @@ -10452,17 +10019,13 @@ class GoogleAdsSearchads360V23Resources__BiddingSeasonalityAdjustment( endDateTime: str name: str resourceName: str - scope: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN", "CHANNEL" - ] + scope: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN", "CHANNEL"] seasonalityAdjustmentId: str startDateTime: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__BiddingStrategy( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__BiddingStrategy(typing.TypedDict, total=False): alignedCampaignBudgetId: str campaignCount: str currencyCode: str @@ -10474,12 +10037,12 @@ class GoogleAdsSearchads360V23Resources__BiddingStrategy( name: str nonRemovedCampaignCount: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] targetCpa: GoogleAdsSearchads360V23Common__TargetCpa targetImpressionShare: GoogleAdsSearchads360V23Common__TargetImpressionShare targetRoas: GoogleAdsSearchads360V23Common__TargetRoas targetSpend: GoogleAdsSearchads360V23Common__TargetSpend - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COMMISSION", @@ -10504,18 +10067,18 @@ class GoogleAdsSearchads360V23Resources__BiddingStrategy( @typing.type_check_only class GoogleAdsSearchads360V23Resources__BiddingStrategySimulation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddingStrategyId: str endDate: str - modificationMethod: typing_extensions.Literal[ + modificationMethod: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNIFORM", "DEFAULT", "SCALING" ] resourceName: str startDate: str targetCpaPointList: GoogleAdsSearchads360V23Common__TargetCpaSimulationPointList targetRoasPointList: GoogleAdsSearchads360V23Common__TargetRoasSimulationPointList - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CPC_BID", @@ -10529,11 +10092,9 @@ class GoogleAdsSearchads360V23Resources__BiddingStrategySimulation( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__BillingSetup( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__BillingSetup(typing.TypedDict, total=False): endDateTime: str - endTimeType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] + endTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] id: str paymentsAccount: str paymentsAccountInfo: ( @@ -10541,24 +10102,22 @@ class GoogleAdsSearchads360V23Resources__BillingSetup( ) resourceName: str startDateTime: str - startTimeType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] - status: typing_extensions.Literal[ + startTimeType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NOW", "FOREVER"] + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", "APPROVED_HELD", "APPROVED", "CANCELLED" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__BusinessRegistrationCheckVerificationArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): checkId: str registrationDocument: ( GoogleAdsSearchads360V23Resources__BusinessRegistrationDocument ) registrationNumber: GoogleAdsSearchads360V23Resources__BusinessRegistrationNumber - registrationType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NUMBER", "DOCUMENT" - ] - rejectionReason: typing_extensions.Literal[ + registrationType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NUMBER", "DOCUMENT"] + rejectionReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUSINESS_NAME_MISMATCH", @@ -10574,33 +10133,29 @@ class GoogleAdsSearchads360V23Resources__BusinessRegistrationCheckVerificationAr @typing.type_check_only class GoogleAdsSearchads360V23Resources__BusinessRegistrationDocument( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): documentReadonly: GoogleAdsSearchads360V23Common__LocalServicesDocumentReadOnly @typing.type_check_only class GoogleAdsSearchads360V23Resources__BusinessRegistrationNumber( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): number: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__CallReportingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callConversionAction: str callConversionReportingEnabled: bool callReportingEnabled: bool @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CallView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CallView(typing.TypedDict, total=False): callDurationSeconds: str - callStatus: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "MISSED", "RECEIVED" - ] - callTrackingDisplayLocation: typing_extensions.Literal[ + callStatus: typing.Literal["UNSPECIFIED", "UNKNOWN", "MISSED", "RECEIVED"] + callTrackingDisplayLocation: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD", "LANDING_PAGE" ] callerAreaCode: str @@ -10608,16 +10163,14 @@ class GoogleAdsSearchads360V23Resources__CallView( endCallDateTime: str resourceName: str startCallDateTime: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MANUALLY_DIALED", "HIGH_END_MOBILE_SEARCH" ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Campaign( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Campaign(typing.TypedDict, total=False): accessibleBiddingStrategy: str - adServingOptimizationStatus: typing_extensions.Literal[ + adServingOptimizationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OPTIMIZE", @@ -10626,7 +10179,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( "ROTATE_INDEFINITELY", "UNAVAILABLE", ] - advertisingChannelSubType: typing_extensions.Literal[ + advertisingChannelSubType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH_MOBILE_APP", @@ -10649,7 +10202,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( "TRAVEL_ACTIVITIES", "SOCIAL_FACEBOOK_TRACKING_ONLY", ] - advertisingChannelType: typing_extensions.Literal[ + advertisingChannelType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -10674,7 +10227,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( audienceSetting: GoogleAdsSearchads360V23Resources_Campaign_AudienceSetting baseCampaign: str biddingStrategy: str - biddingStrategySystemStatus: typing_extensions.Literal[ + biddingStrategySystemStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", @@ -10703,7 +10256,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( "MULTIPLE_MISCONFIGURED", "MULTIPLE", ] - biddingStrategyType: typing_extensions.Literal[ + biddingStrategyType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COMMISSION", @@ -10730,7 +10283,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( campaignBudget: str campaignGroup: str commission: GoogleAdsSearchads360V23Common__Commission - containsEuPoliticalAdvertising: typing_extensions.Literal[ + containsEuPoliticalAdvertising: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", @@ -10746,7 +10299,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( endDateTime: str engineId: str excludedParentAssetFieldTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -10785,7 +10338,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( ] ] excludedParentAssetSetTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PAGE_FEED", @@ -10806,11 +10359,11 @@ class GoogleAdsSearchads360V23Resources__Campaign( "TRAVEL_FEED", ] ] - experimentType: typing_extensions.Literal[ + experimentType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BASE", "DRAFT", "EXPERIMENT" ] feedTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PAGE_FEED", @@ -10839,10 +10392,10 @@ class GoogleAdsSearchads360V23Resources__Campaign( hotelPropertyAssetSet: str hotelSetting: GoogleAdsSearchads360V23Resources_Campaign_HotelSettingInfo id: str - keywordMatchType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "BROAD"] + keywordMatchType: typing.Literal["UNSPECIFIED", "UNKNOWN", "BROAD"] labels: _list[str] lastModifiedTime: str - listingType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "VEHICLES"] + listingType: typing.Literal["UNSPECIFIED", "UNKNOWN", "VEHICLES"] localCampaignSetting: ( GoogleAdsSearchads360V23Resources_Campaign_LocalCampaignSetting ) @@ -10862,7 +10415,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( GoogleAdsSearchads360V23Resources_Campaign_OptimizationGoalSetting ) optimizationScore: float - paymentMode: typing_extensions.Literal[ + paymentMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLICKS", @@ -10877,7 +10430,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( pmaxCampaignSettings: ( GoogleAdsSearchads360V23Resources_Campaign_PmaxCampaignSettings ) - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -10891,7 +10444,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( "NOT_ELIGIBLE", ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_REMOVED", @@ -10939,20 +10492,18 @@ class GoogleAdsSearchads360V23Resources__Campaign( selectiveOptimization: ( GoogleAdsSearchads360V23Resources_Campaign_SelectiveOptimization ) - selectiveOptimizationMode: typing_extensions.Literal[ + selectiveOptimizationMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNCONSTRAINED", "MATCHES_SEARCH_ADS360_EFFECTIVE_CAMPAIGN_LEVEL_CONFIG", ] - servingStatus: typing_extensions.Literal[ + servingStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SERVING", "NONE", "ENDED", "PENDING", "SUSPENDED" ] shoppingSetting: GoogleAdsSearchads360V23Resources_Campaign_ShoppingSetting startDateTime: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] targetCpa: GoogleAdsSearchads360V23Common__TargetCpa targetCpc: GoogleAdsSearchads360V23Common__TargetCpc targetCpm: GoogleAdsSearchads360V23Common__TargetCpm @@ -10970,7 +10521,7 @@ class GoogleAdsSearchads360V23Resources__Campaign( ) urlCustomParameters: _list[GoogleAdsSearchads360V23Common__CustomParameter] vanityPharma: GoogleAdsSearchads360V23Resources_Campaign_VanityPharma - videoBrandSafetySuitability: typing_extensions.Literal[ + videoBrandSafetySuitability: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXPANDED_INVENTORY", @@ -10979,12 +10530,10 @@ class GoogleAdsSearchads360V23Resources__Campaign( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CampaignAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CampaignAsset(typing.TypedDict, total=False): asset: str campaign: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -11021,7 +10570,7 @@ class GoogleAdsSearchads360V23Resources__CampaignAsset( "LONG_DESCRIPTION", "CALL_TO_ACTION", ] - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -11035,7 +10584,7 @@ class GoogleAdsSearchads360V23Resources__CampaignAsset( GoogleAdsSearchads360V23Common__AssetLinkPrimaryStatusDetails ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ASSET_LINK_PAUSED", @@ -11046,31 +10595,29 @@ class GoogleAdsSearchads360V23Resources__CampaignAsset( ] ] resourceName: str - source: typing_extensions.Literal[ + source: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "AUTOMATICALLY_CREATED" ] - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignAssetSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetSet: str campaign: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignAudienceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignBidModifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bidModifier: float campaign: str @@ -11079,21 +10626,15 @@ class GoogleAdsSearchads360V23Resources__CampaignBidModifier( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CampaignBudget( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CampaignBudget(typing.TypedDict, total=False): alignedBiddingStrategyId: str amountMicros: str - deliveryMethod: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "STANDARD", "ACCELERATED" - ] + deliveryMethod: typing.Literal["UNSPECIFIED", "UNKNOWN", "STANDARD", "ACCELERATED"] explicitlyShared: bool hasRecommendedBudget: bool id: str name: str - period: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "DAILY", "CUSTOM_PERIOD" - ] + period: typing.Literal["UNSPECIFIED", "UNKNOWN", "DAILY", "CUSTOM_PERIOD"] recommendedBudgetAmountMicros: str recommendedBudgetEstimatedChangeWeeklyClicks: str recommendedBudgetEstimatedChangeWeeklyCostMicros: str @@ -11101,9 +10642,9 @@ class GoogleAdsSearchads360V23Resources__CampaignBudget( recommendedBudgetEstimatedChangeWeeklyViews: str referenceCount: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] totalAmountMicros: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STANDARD", @@ -11114,11 +10655,11 @@ class GoogleAdsSearchads360V23Resources__CampaignBudget( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignConversionGoal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddable: bool campaign: str - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEFAULT", @@ -11143,7 +10684,7 @@ class GoogleAdsSearchads360V23Resources__CampaignConversionGoal( "QUALIFIED_LEAD", "CONVERTED_LEAD", ] - origin: typing_extensions.Literal[ + origin: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -11159,7 +10700,7 @@ class GoogleAdsSearchads360V23Resources__CampaignConversionGoal( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignCriterion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adSchedule: GoogleAdsSearchads360V23Common__AdScheduleInfo ageRange: GoogleAdsSearchads360V23Common__AgeRangeInfo @@ -11194,11 +10735,9 @@ class GoogleAdsSearchads360V23Resources__CampaignCriterion( placement: GoogleAdsSearchads360V23Common__PlacementInfo proximity: GoogleAdsSearchads360V23Common__ProximityInfo resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED"] topic: GoogleAdsSearchads360V23Common__TopicInfo - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -11257,18 +10796,16 @@ class GoogleAdsSearchads360V23Resources__CampaignCriterion( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignCustomizer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str customizerAttribute: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] value: GoogleAdsSearchads360V23Common__CustomizerValue @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CampaignDraft( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CampaignDraft(typing.TypedDict, total=False): baseCampaign: str draftCampaign: str draftId: str @@ -11276,7 +10813,7 @@ class GoogleAdsSearchads360V23Resources__CampaignDraft( longRunningOperation: str name: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PROPOSED", @@ -11288,7 +10825,7 @@ class GoogleAdsSearchads360V23Resources__CampaignDraft( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignEffectiveLabel( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str label: str @@ -11297,27 +10834,25 @@ class GoogleAdsSearchads360V23Resources__CampaignEffectiveLabel( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignGoalConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str + campaignLoyaltyRetentionSettings: GoogleAdsSearchads360V23Common_CampaignGoalSettings_CampaignLoyaltyRetentionGoalSettings + campaignNewCustomerAcquisitionSettings: GoogleAdsSearchads360V23Common_CampaignGoalSettings_CampaignNewCustomerAcquisitionGoalSettings campaignRetentionSettings: GoogleAdsSearchads360V23Common_CampaignGoalSettings_CampaignRetentionGoalSettings goal: str - goalType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER_RETENTION"] + goalType: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER_RETENTION"] resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CampaignGroup( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CampaignGroup(typing.TypedDict, total=False): id: str name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CampaignLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CampaignLabel(typing.TypedDict, total=False): campaign: str label: str ownerCustomerId: str @@ -11325,7 +10860,7 @@ class GoogleAdsSearchads360V23Resources__CampaignLabel( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignLifecycleGoal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str customerAcquisitionGoalSettings: ( @@ -11335,7 +10870,7 @@ class GoogleAdsSearchads360V23Resources__CampaignLifecycleGoal( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignSearchTermInsight( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignId: str categoryLabel: str @@ -11344,7 +10879,7 @@ class GoogleAdsSearchads360V23Resources__CampaignSearchTermInsight( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignSearchTermView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str resourceName: str @@ -11352,22 +10887,22 @@ class GoogleAdsSearchads360V23Resources__CampaignSearchTermView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignSharedSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str resourceName: str sharedSet: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CampaignSimulation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetPointList: GoogleAdsSearchads360V23Common__BudgetSimulationPointList campaignId: str cpcBidPointList: GoogleAdsSearchads360V23Common__CpcBidSimulationPointList endDate: str - modificationMethod: typing_extensions.Literal[ + modificationMethod: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "UNIFORM", "DEFAULT", "SCALING" ] resourceName: str @@ -11377,7 +10912,7 @@ class GoogleAdsSearchads360V23Resources__CampaignSimulation( GoogleAdsSearchads360V23Common__TargetImpressionShareSimulationPointList ) targetRoasPointList: GoogleAdsSearchads360V23Common__TargetRoasSimulationPointList - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CPC_BID", @@ -11391,9 +10926,7 @@ class GoogleAdsSearchads360V23Resources__CampaignSimulation( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CarrierConstant( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CarrierConstant(typing.TypedDict, total=False): countryCode: str id: str name: str @@ -11401,20 +10934,18 @@ class GoogleAdsSearchads360V23Resources__CarrierConstant( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CartDataSalesView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__ChangeEvent( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__ChangeEvent(typing.TypedDict, total=False): adGroup: str asset: str campaign: str changeDateTime: str changeResourceName: str - changeResourceType: typing_extensions.Literal[ + changeResourceType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD", @@ -11438,7 +10969,7 @@ class GoogleAdsSearchads360V23Resources__ChangeEvent( "CAMPAIGN_ASSET_SET", ] changedFields: str - clientType: typing_extensions.Literal[ + clientType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_ADS_WEB_CLIENT", @@ -11457,16 +10988,14 @@ class GoogleAdsSearchads360V23Resources__ChangeEvent( ] newResource: GoogleAdsSearchads360V23Resources_ChangeEvent_ChangedResource oldResource: GoogleAdsSearchads360V23Resources_ChangeEvent_ChangedResource - resourceChangeOperation: typing_extensions.Literal[ + resourceChangeOperation: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CREATE", "UPDATE", "REMOVE" ] resourceName: str userEmail: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__ChangeStatus( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__ChangeStatus(typing.TypedDict, total=False): adGroup: str adGroupAd: str adGroupAsset: str @@ -11485,10 +11014,10 @@ class GoogleAdsSearchads360V23Resources__ChangeStatus( customerAsset: str lastChangeDateTime: str resourceName: str - resourceStatus: typing_extensions.Literal[ + resourceStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADDED", "CHANGED", "REMOVED" ] - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_GROUP", @@ -11516,9 +11045,7 @@ class GoogleAdsSearchads360V23Resources__ChangeStatus( sharedSet: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__ClickView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__ClickView(typing.TypedDict, total=False): adGroupAd: str areaOfInterest: GoogleAdsSearchads360V23Common__ClickLocation campaignLocationTarget: str @@ -11532,35 +11059,31 @@ class GoogleAdsSearchads360V23Resources__ClickView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CombinedAudience( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: str id: str name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__ContactDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__ContactDetails(typing.TypedDict, total=False): consumerName: str email: str phoneNumber: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ContentCriterionView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Conversion( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Conversion(typing.TypedDict, total=False): adId: str advertiserConversionId: str - assetFieldType: typing_extensions.Literal[ + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -11598,9 +11121,7 @@ class GoogleAdsSearchads360V23Resources__Conversion( "CALL_TO_ACTION", ] assetId: str - attributionType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "VISIT", "CRITERION_AD" - ] + attributionType: typing.Literal["UNSPECIFIED", "UNKNOWN", "VISIT", "CRITERION_AD"] clickId: str conversionDateTime: str conversionLastModifiedDateTime: str @@ -11612,26 +11133,24 @@ class GoogleAdsSearchads360V23Resources__Conversion( floodlightOriginalRevenue: str id: str merchantId: str - productChannel: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL" - ] + productChannel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] productCountryCode: str productId: str productLanguageCode: str productStoreId: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] visitId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ConversionAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appId: str attributionModelSettings: ( GoogleAdsSearchads360V23Resources_ConversionAction_AttributionModelSettings ) - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEFAULT", @@ -11657,7 +11176,7 @@ class GoogleAdsSearchads360V23Resources__ConversionAction( "CONVERTED_LEAD", ] clickThroughLookbackWindowDays: str - countingType: typing_extensions.Literal[ + countingType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ONE_PER_CLICK", "MANY_PER_CLICK" ] creationTime: str @@ -11673,11 +11192,11 @@ class GoogleAdsSearchads360V23Resources__ConversionAction( id: str includeInClientAccountConversionsMetric: bool includeInConversionsMetric: bool - mobileAppVendor: typing_extensions.Literal[ + mobileAppVendor: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_APP_STORE" ] name: str - origin: typing_extensions.Literal[ + origin: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -11692,12 +11211,10 @@ class GoogleAdsSearchads360V23Resources__ConversionAction( phoneCallDurationSeconds: str primaryForGoal: bool resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "HIDDEN" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "HIDDEN"] tagSnippets: _list[GoogleAdsSearchads360V23Common__TagSnippet] thirdPartyAppAnalyticsSettings: GoogleAdsSearchads360V23Resources_ConversionAction_ThirdPartyAppAnalyticsSettings - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AD_CALL", @@ -11746,9 +11263,9 @@ class GoogleAdsSearchads360V23Resources__ConversionAction( @typing.type_check_only class GoogleAdsSearchads360V23Resources__ConversionCustomVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - cardinality: typing_extensions.Literal[ + cardinality: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_ALL_LIMITS", @@ -11757,41 +11274,37 @@ class GoogleAdsSearchads360V23Resources__ConversionCustomVariable( "EXCEEDS_STATS_LIMIT", ] customColumnIds: _list[str] - family: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "STANDARD", "FLOODLIGHT" - ] + family: typing.Literal["UNSPECIFIED", "UNKNOWN", "STANDARD", "FLOODLIGHT"] floodlightConversionCustomVariableInfo: GoogleAdsSearchads360V23Resources_ConversionCustomVariable_FloodlightConversionCustomVariableInfo id: str name: str ownerCustomer: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTIVATION_NEEDED", "ENABLED", "PAUSED" ] tag: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ConversionGoalCampaignConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str customConversionGoal: str - goalConfigLevel: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN" - ] + goalConfigLevel: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN"] resourceName: str searchAds360CustomConversionGoal: str - searchAds360GoalConfigLevel: typing_extensions.Literal[ + searchAds360GoalConfigLevel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__ConversionTrackingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptedCustomerDataTerms: bool conversionTrackingId: str - conversionTrackingStatus: typing_extensions.Literal[ + conversionTrackingStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_CONVERSION_TRACKED", @@ -11806,7 +11319,7 @@ class GoogleAdsSearchads360V23Resources__ConversionTrackingSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources__ConversionValueRule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): action: GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleAction audienceCondition: ( @@ -11820,20 +11333,16 @@ class GoogleAdsSearchads360V23Resources__ConversionValueRule( itineraryCondition: GoogleAdsSearchads360V23Resources_ConversionValueRule_ValueRuleItineraryCondition ownerCustomer: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__ConversionValueRuleSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - attachmentType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN" - ] + attachmentType: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN"] campaign: str conversionActionCategories: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEFAULT", @@ -11861,7 +11370,7 @@ class GoogleAdsSearchads360V23Resources__ConversionValueRuleSet( ] conversionValueRules: _list[str] dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GEO_LOCATION", @@ -11874,22 +11383,16 @@ class GoogleAdsSearchads360V23Resources__ConversionValueRuleSet( id: str ownerCustomer: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CreditDetails( - typing_extensions.TypedDict, total=False -): - creditState: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "PENDING", "CREDITED" - ] +class GoogleAdsSearchads360V23Resources__CreditDetails(typing.TypedDict, total=False): + creditState: typing.Literal["UNSPECIFIED", "UNKNOWN", "PENDING", "CREDITED"] creditStateLastUpdateDateTime: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__CurrencyConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billableUnitMicros: str code: str @@ -11898,35 +11401,31 @@ class GoogleAdsSearchads360V23Resources__CurrencyConstant( symbol: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CustomAudience( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CustomAudience(typing.TypedDict, total=False): description: str id: str members: _list[GoogleAdsSearchads360V23Resources__CustomAudienceMember] name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] - type: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AUTO", "INTEREST", "PURCHASE_INTENT", "SEARCH" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomAudienceMember( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): app: str keyword: str - memberType: typing_extensions.Literal[ + memberType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", "URL", "PLACE_CATEGORY", "APP" ] placeCategory: str url: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CustomColumn( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CustomColumn(typing.TypedDict, total=False): description: str id: str name: str @@ -11934,7 +11433,7 @@ class GoogleAdsSearchads360V23Resources__CustomColumn( referencedSystemColumns: _list[str] referencesAttributes: bool referencesMetrics: bool - renderType: typing_extensions.Literal[ + renderType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NUMBER", @@ -11945,53 +11444,47 @@ class GoogleAdsSearchads360V23Resources__CustomColumn( "DATE", ] resourceName: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STRING", "INT64", "DOUBLE", "BOOLEAN", "DATE" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomConversionGoal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionActions: _list[str] id: str name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CustomInterest( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CustomInterest(typing.TypedDict, total=False): description: str id: str members: _list[GoogleAdsSearchads360V23Resources__CustomInterestMember] name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "CUSTOM_AFFINITY", "CUSTOM_INTENT" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOM_AFFINITY", "CUSTOM_INTENT"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomInterestMember( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - memberType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "KEYWORD", "URL"] + memberType: typing.Literal["UNSPECIFIED", "UNKNOWN", "KEYWORD", "URL"] parameter: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomLeadFormSubmissionField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): fieldValue: str questionText: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Customer( - typing_extensions.TypedDict, total=False -): - accountLevel: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Resources__Customer(typing.TypedDict, total=False): + accountLevel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CLIENT_ACCOUNT_FACEBOOK", @@ -12003,10 +11496,10 @@ class GoogleAdsSearchads360V23Resources__Customer( "SUB_MANAGER", "ASSOCIATE_MANAGER", ] - accountStatus: typing_extensions.Literal[ + accountStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "SUSPENDED", "REMOVED", "DRAFT" ] - accountType: typing_extensions.Literal[ + accountType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BAIDU", @@ -12022,7 +11515,7 @@ class GoogleAdsSearchads360V23Resources__Customer( associateManagerId: str autoTaggingEnabled: bool callReportingSetting: GoogleAdsSearchads360V23Resources__CallReportingSetting - containsEuPoliticalAdvertising: typing_extensions.Literal[ + containsEuPoliticalAdvertising: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CONTAINS_EU_POLITICAL_ADVERTISING", @@ -12056,7 +11549,7 @@ class GoogleAdsSearchads360V23Resources__Customer( optimizationScore: float optimizationScoreWeight: float payPerConversionEligibilityFailureReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_ENOUGH_CONVERSIONS", @@ -12070,7 +11563,7 @@ class GoogleAdsSearchads360V23Resources__Customer( ] remarketingSetting: GoogleAdsSearchads360V23Resources__RemarketingSetting resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "CANCELED", "SUSPENDED", "CLOSED" ] subManagerDescriptiveName: str @@ -12078,7 +11571,7 @@ class GoogleAdsSearchads360V23Resources__Customer( testAccount: bool timeZone: str trackingUrlTemplate: str - videoBrandSafetySuitability: typing_extensions.Literal[ + videoBrandSafetySuitability: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXPANDED_INVENTORY", @@ -12089,9 +11582,9 @@ class GoogleAdsSearchads360V23Resources__Customer( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerAcquisitionGoalSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - optimizationMode: typing_extensions.Literal[ + optimizationMode: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TARGET_ALL_EQUALLY", @@ -12102,16 +11595,14 @@ class GoogleAdsSearchads360V23Resources__CustomerAcquisitionGoalSettings( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerAgreementSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): acceptedLeadFormTerms: bool @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CustomerAsset( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CustomerAsset(typing.TypedDict, total=False): asset: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -12148,7 +11639,7 @@ class GoogleAdsSearchads360V23Resources__CustomerAsset( "LONG_DESCRIPTION", "CALL_TO_ACTION", ] - primaryStatus: typing_extensions.Literal[ + primaryStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", @@ -12162,7 +11653,7 @@ class GoogleAdsSearchads360V23Resources__CustomerAsset( GoogleAdsSearchads360V23Common__AssetLinkPrimaryStatusDetails ] primaryStatusReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ASSET_LINK_PAUSED", @@ -12173,26 +11664,22 @@ class GoogleAdsSearchads360V23Resources__CustomerAsset( ] ] resourceName: str - source: typing_extensions.Literal[ + source: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "AUTOMATICALLY_CREATED" ] - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerAssetSet( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetSet: str customer: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CustomerClient( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CustomerClient(typing.TypedDict, total=False): appliedLabels: _list[str] clientCustomer: str currencyCode: str @@ -12202,7 +11689,7 @@ class GoogleAdsSearchads360V23Resources__CustomerClient( level: str manager: bool resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "CANCELED", "SUSPENDED", "CLOSED" ] testAccount: bool @@ -12210,22 +11697,22 @@ class GoogleAdsSearchads360V23Resources__CustomerClient( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerClientLink( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clientCustomer: str hidden: bool managerLinkId: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTIVE", "INACTIVE", "PENDING", "REFUSED", "CANCELED" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerConversionGoal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddable: bool - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DEFAULT", @@ -12250,7 +11737,7 @@ class GoogleAdsSearchads360V23Resources__CustomerConversionGoal( "QUALIFIED_LEAD", "CONVERTED_LEAD", ] - origin: typing_extensions.Literal[ + origin: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -12265,24 +11752,22 @@ class GoogleAdsSearchads360V23Resources__CustomerConversionGoal( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerCustomizer( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customizerAttribute: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] value: GoogleAdsSearchads360V23Common__CustomizerValue @typing.type_check_only -class GoogleAdsSearchads360V23Resources__CustomerLabel( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__CustomerLabel(typing.TypedDict, total=False): customer: str label: str resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerLifecycleGoal( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerAcquisitionGoalValueSettings: ( GoogleAdsSearchads360V23Common__LifecycleGoalValueSettings @@ -12292,19 +11777,19 @@ class GoogleAdsSearchads360V23Resources__CustomerLifecycleGoal( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerManagerLink( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): managerCustomer: str managerLinkId: str resourceName: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACTIVE", "INACTIVE", "PENDING", "REFUSED", "CANCELED" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerNegativeCriterion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): contentLabel: GoogleAdsSearchads360V23Common__ContentLabelInfo id: str @@ -12315,7 +11800,7 @@ class GoogleAdsSearchads360V23Resources__CustomerNegativeCriterion( placement: GoogleAdsSearchads360V23Common__PlacementInfo placementList: GoogleAdsSearchads360V23Common__PlacementListInfo resourceName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -12369,7 +11854,7 @@ class GoogleAdsSearchads360V23Resources__CustomerNegativeCriterion( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerSearchTermInsight( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryLabel: str id: str @@ -12377,17 +11862,17 @@ class GoogleAdsSearchads360V23Resources__CustomerSearchTermInsight( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerSkAdNetworkConversionValueSchema( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str schema: GoogleAdsSearchads360V23Resources_CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerUserAccess( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accessCreationDateTime: str - accessRole: typing_extensions.Literal[ + accessRole: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADMIN", "STANDARD", "READ_ONLY", "EMAIL_ONLY" ] emailAddress: str @@ -12397,39 +11882,35 @@ class GoogleAdsSearchads360V23Resources__CustomerUserAccess( @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomerUserAccessInvitation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - accessRole: typing_extensions.Literal[ + accessRole: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADMIN", "STANDARD", "READ_ONLY", "EMAIL_ONLY" ] creationDateTime: str emailAddress: str invitationId: str - invitationStatus: typing_extensions.Literal[ + invitationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", "DECLINED", "EXPIRED" ] resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__CustomizerAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "TEXT", "NUMBER", "PRICE", "PERCENT" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "TEXT", "NUMBER", "PRICE", "PERCENT"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__DataLink( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__DataLink(typing.TypedDict, total=False): dataLinkId: str productLinkId: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUESTED", @@ -12439,22 +11920,22 @@ class GoogleAdsSearchads360V23Resources__DataLink( "REVOKED", "REJECTED", ] - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "VIDEO"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "VIDEO"] youtubeVideo: GoogleAdsSearchads360V23Resources__YoutubeVideoIdentifier @typing.type_check_only class GoogleAdsSearchads360V23Resources__DataPartnerIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataPartnerId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__DetailContentSuitabilityPlacementView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str placement: str - placementType: typing_extensions.Literal[ + placementType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -12469,12 +11950,12 @@ class GoogleAdsSearchads360V23Resources__DetailContentSuitabilityPlacementView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__DetailPlacementView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str groupPlacementTargetUrl: str placement: str - placementType: typing_extensions.Literal[ + placementType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -12489,7 +11970,7 @@ class GoogleAdsSearchads360V23Resources__DetailPlacementView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__DetailedDemographic( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): availabilities: _list[GoogleAdsSearchads360V23Common__CriterionCategoryAvailability] id: str @@ -12500,15 +11981,13 @@ class GoogleAdsSearchads360V23Resources__DetailedDemographic( @typing.type_check_only class GoogleAdsSearchads360V23Resources__DisplayKeywordView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__DistanceView( - typing_extensions.TypedDict, total=False -): - distanceBucket: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Resources__DistanceView(typing.TypedDict, total=False): + distanceBucket: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WITHIN_700M", @@ -12544,7 +12023,7 @@ class GoogleAdsSearchads360V23Resources__DistanceView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__DoubleClickCampaignManagerSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertiserId: str networkId: str @@ -12552,7 +12031,7 @@ class GoogleAdsSearchads360V23Resources__DoubleClickCampaignManagerSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources__DynamicSearchAdsSearchTermView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hasMatchingKeyword: bool hasNegativeKeyword: bool @@ -12565,22 +12044,20 @@ class GoogleAdsSearchads360V23Resources__DynamicSearchAdsSearchTermView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__ExpandedLandingPageView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expandedFinalUrl: str resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Experiment( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Experiment(typing.TypedDict, total=False): description: str endDate: str experimentId: str goals: _list[GoogleAdsSearchads360V23Common__MetricGoal] longRunningOperation: str name: str - promoteStatus: typing_extensions.Literal[ + promoteStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_STARTED", @@ -12591,7 +12068,7 @@ class GoogleAdsSearchads360V23Resources__Experiment( ] resourceName: str startDate: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", @@ -12604,7 +12081,7 @@ class GoogleAdsSearchads360V23Resources__Experiment( ] suffix: str syncEnabled: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISPLAY_AND_VIDEO_360", @@ -12620,9 +12097,7 @@ class GoogleAdsSearchads360V23Resources__Experiment( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__ExperimentArm( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__ExperimentArm(typing.TypedDict, total=False): assetGroups: _list[GoogleAdsSearchads360V23Resources_ExperimentArm_AssetGroupInfo] campaigns: _list[str] control: bool @@ -12633,21 +12108,19 @@ class GoogleAdsSearchads360V23Resources__ExperimentArm( trafficSplit: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Fellowship( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Fellowship(typing.TypedDict, total=False): completionYear: int institutionName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__FinalUrlExpansionAssetView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str asset: str assetGroup: str campaign: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -12686,19 +12159,15 @@ class GoogleAdsSearchads360V23Resources__FinalUrlExpansionAssetView( ] finalUrl: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED", "PAUSED"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__GenderView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__GenderView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__GeoTargetConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): canonicalName: str countryCode: str @@ -12706,26 +12175,22 @@ class GoogleAdsSearchads360V23Resources__GeoTargetConstant( name: str parentGeoTarget: str resourceName: str - status: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVAL_PLANNED" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVAL_PLANNED"] targetType: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__GeographicView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__GeographicView(typing.TypedDict, total=False): countryCriterionId: str - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AREA_OF_INTEREST", "LOCATION_OF_PRESENCE" ] resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Goal(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Resources__Goal(typing.TypedDict, total=False): goalId: str - goalType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER_RETENTION"] - optimizationEligibility: typing_extensions.Literal[ + goalType: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER_RETENTION"] + optimizationEligibility: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ELIGIBLE", "INELIGIBLE" ] ownerCustomer: str @@ -12734,17 +12199,17 @@ class GoogleAdsSearchads360V23Resources__Goal(typing_extensions.TypedDict, total @typing.type_check_only class GoogleAdsSearchads360V23Resources__GoogleAdsIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__GranularInsuranceStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str geoCriterionId: str - verificationStatus: typing_extensions.Literal[ + verificationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEEDS_REVIEW", @@ -12758,11 +12223,11 @@ class GoogleAdsSearchads360V23Resources__GranularInsuranceStatus( @typing.type_check_only class GoogleAdsSearchads360V23Resources__GranularLicenseStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str geoCriterionId: str - verificationStatus: typing_extensions.Literal[ + verificationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEEDS_REVIEW", @@ -12776,11 +12241,11 @@ class GoogleAdsSearchads360V23Resources__GranularLicenseStatus( @typing.type_check_only class GoogleAdsSearchads360V23Resources__GroupContentSuitabilityPlacementView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str placement: str - placementType: typing_extensions.Literal[ + placementType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -12795,11 +12260,11 @@ class GoogleAdsSearchads360V23Resources__GroupContentSuitabilityPlacementView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__GroupPlacementView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str placement: str - placementType: typing_extensions.Literal[ + placementType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -12814,25 +12279,23 @@ class GoogleAdsSearchads360V23Resources__GroupPlacementView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__HotelCenterLinkInvitationIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hotelCenterId: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__HotelGroupView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__HotelGroupView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__HotelPerformanceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__HotelReconciliation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): billed: bool campaign: str @@ -12844,7 +12307,7 @@ class GoogleAdsSearchads360V23Resources__HotelReconciliation( orderId: str reconciledValueMicros: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESERVATION_ENABLED", @@ -12854,21 +12317,19 @@ class GoogleAdsSearchads360V23Resources__HotelReconciliation( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__IncomeRangeView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__IncomeRangeView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__InsuranceVerificationArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): amountMicros: str expirationDateTime: str insuranceDocumentReadonly: ( GoogleAdsSearchads360V23Common__LocalServicesDocumentReadOnly ) - rejectionReason: typing_extensions.Literal[ + rejectionReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUSINESS_NAME_MISMATCH", @@ -12888,9 +12349,7 @@ class GoogleAdsSearchads360V23Resources__InsuranceVerificationArtifact( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Invoice( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Invoice(typing.TypedDict, total=False): accountBudgetSummaries: _list[ GoogleAdsSearchads360V23Resources_Invoice_AccountBudgetSummary ] @@ -12919,12 +12378,10 @@ class GoogleAdsSearchads360V23Resources__Invoice( subtotalAmountMicros: str taxAmountMicros: str totalAmountMicros: str - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "CREDIT_MEMO", "INVOICE"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "CREDIT_MEMO", "INVOICE"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__KeywordPlan( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__KeywordPlan(typing.TypedDict, total=False): forecastPeriod: GoogleAdsSearchads360V23Resources__KeywordPlanForecastPeriod id: str name: str @@ -12932,7 +12389,7 @@ class GoogleAdsSearchads360V23Resources__KeywordPlan( @typing.type_check_only class GoogleAdsSearchads360V23Resources__KeywordPlanAdGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidMicros: str id: str @@ -12942,27 +12399,25 @@ class GoogleAdsSearchads360V23Resources__KeywordPlanAdGroup( @typing.type_check_only class GoogleAdsSearchads360V23Resources__KeywordPlanAdGroupKeyword( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidMicros: str id: str keywordPlanAdGroup: str - matchType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD" - ] + matchType: typing.Literal["UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD"] negative: bool resourceName: str text: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__KeywordPlanCampaign( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): cpcBidMicros: str geoTargets: _list[GoogleAdsSearchads360V23Resources__KeywordPlanGeoTarget] id: str keywordPlan: str - keywordPlanNetwork: typing_extensions.Literal[ + keywordPlanNetwork: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_SEARCH", "GOOGLE_SEARCH_AND_PARTNERS" ] languageConstants: _list[str] @@ -12971,35 +12426,33 @@ class GoogleAdsSearchads360V23Resources__KeywordPlanCampaign( @typing.type_check_only class GoogleAdsSearchads360V23Resources__KeywordPlanCampaignKeyword( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str keywordPlanCampaign: str - matchType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD" - ] + matchType: typing.Literal["UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD"] negative: bool resourceName: str text: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__KeywordPlanForecastPeriod( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dateInterval: typing_extensions.Literal[ + dateInterval: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEXT_WEEK", "NEXT_MONTH", "NEXT_QUARTER" ] dateRange: GoogleAdsSearchads360V23Common__DateRange @typing.type_check_only class GoogleAdsSearchads360V23Resources__KeywordPlanGeoTarget( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): geoTargetConstant: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__KeywordThemeConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str displayName: str @@ -13007,31 +12460,25 @@ class GoogleAdsSearchads360V23Resources__KeywordThemeConstant( resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__KeywordView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__KeywordView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Label( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Label(typing.TypedDict, total=False): id: str name: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] textLabel: GoogleAdsSearchads360V23Common__TextLabel @typing.type_check_only -class GoogleAdsSearchads360V23Resources__LandingPageView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__LandingPageView(typing.TypedDict, total=False): resourceName: str unexpandedFinalUrl: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__LanguageConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): code: str id: str @@ -13041,7 +12488,7 @@ class GoogleAdsSearchads360V23Resources__LanguageConstant( @typing.type_check_only class GoogleAdsSearchads360V23Resources__LeadFormSubmissionData( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str adGroupAd: str @@ -13060,9 +12507,9 @@ class GoogleAdsSearchads360V23Resources__LeadFormSubmissionData( @typing.type_check_only class GoogleAdsSearchads360V23Resources__LeadFormSubmissionField( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FULL_NAME", @@ -13186,7 +12633,7 @@ class GoogleAdsSearchads360V23Resources__LeadFormSubmissionField( @typing.type_check_only class GoogleAdsSearchads360V23Resources__LicenseVerificationArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): expirationDateTime: str licenseDocumentReadonly: ( @@ -13196,7 +12643,7 @@ class GoogleAdsSearchads360V23Resources__LicenseVerificationArtifact( licenseType: str licenseeFirstName: str licenseeLastName: str - rejectionReason: typing_extensions.Literal[ + rejectionReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BUSINESS_NAME_MISMATCH", @@ -13209,9 +12656,7 @@ class GoogleAdsSearchads360V23Resources__LicenseVerificationArtifact( ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__LifeEvent( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__LifeEvent(typing.TypedDict, total=False): availabilities: _list[GoogleAdsSearchads360V23Common__CriterionCategoryAvailability] id: str launchedToAll: bool @@ -13221,7 +12666,7 @@ class GoogleAdsSearchads360V23Resources__LifeEvent( @typing.type_check_only class GoogleAdsSearchads360V23Resources__ListingGroupFilterDimension( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productBrand: ( GoogleAdsSearchads360V23Resources_ListingGroupFilterDimension_ProductBrand @@ -13246,13 +12691,13 @@ class GoogleAdsSearchads360V23Resources__ListingGroupFilterDimension( @typing.type_check_only class GoogleAdsSearchads360V23Resources__ListingGroupFilterDimensionPath( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[GoogleAdsSearchads360V23Resources__ListingGroupFilterDimension] @typing.type_check_only class GoogleAdsSearchads360V23Resources__LocalServicesEmployee( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryIds: _list[str] creationDateTime: str @@ -13267,16 +12712,14 @@ class GoogleAdsSearchads360V23Resources__LocalServicesEmployee( nationalProviderIdNumber: str residencies: _list[GoogleAdsSearchads360V23Resources__Residency] resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "BUSINESS_OWNER", "EMPLOYEE" - ] + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "BUSINESS_OWNER", "EMPLOYEE"] universityDegrees: _list[GoogleAdsSearchads360V23Resources__UniversityDegree] yearStartedPracticing: int @typing.type_check_only class GoogleAdsSearchads360V23Resources__LocalServicesLead( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str contactDetails: GoogleAdsSearchads360V23Resources__ContactDetails @@ -13285,7 +12728,7 @@ class GoogleAdsSearchads360V23Resources__LocalServicesLead( id: str leadCharged: bool leadFeedbackSubmitted: bool - leadStatus: typing_extensions.Literal[ + leadStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEW", @@ -13297,7 +12740,7 @@ class GoogleAdsSearchads360V23Resources__LocalServicesLead( "CONSUMER_DECLINED", "WIPED_OUT", ] - leadType: typing_extensions.Literal[ + leadType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MESSAGE", "PHONE_CALL", "BOOKING" ] locale: str @@ -13307,9 +12750,9 @@ class GoogleAdsSearchads360V23Resources__LocalServicesLead( @typing.type_check_only class GoogleAdsSearchads360V23Resources__LocalServicesLeadConversation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - conversationChannel: typing_extensions.Literal[ + conversationChannel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EMAIL", @@ -13324,15 +12767,13 @@ class GoogleAdsSearchads360V23Resources__LocalServicesLeadConversation( id: str lead: str messageDetails: GoogleAdsSearchads360V23Resources__MessageDetails - participantType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ADVERTISER", "CONSUMER" - ] + participantType: typing.Literal["UNSPECIFIED", "UNKNOWN", "ADVERTISER", "CONSUMER"] phoneCallDetails: GoogleAdsSearchads360V23Resources__PhoneCallDetails resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__LocalServicesSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): granularInsuranceStatuses: _list[ GoogleAdsSearchads360V23Resources__GranularInsuranceStatus @@ -13343,9 +12784,9 @@ class GoogleAdsSearchads360V23Resources__LocalServicesSettings( @typing.type_check_only class GoogleAdsSearchads360V23Resources__LocalServicesVerificationArtifact( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - artifactType: typing_extensions.Literal[ + artifactType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BACKGROUND_CHECK", @@ -13368,7 +12809,7 @@ class GoogleAdsSearchads360V23Resources__LocalServicesVerificationArtifact( GoogleAdsSearchads360V23Resources__LicenseVerificationArtifact ) resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PASSED", @@ -13380,51 +12821,43 @@ class GoogleAdsSearchads360V23Resources__LocalServicesVerificationArtifact( @typing.type_check_only class GoogleAdsSearchads360V23Resources__LocationInterestView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__LocationView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__LocationView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ManagedPlacementView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__MatchedLocationInterestView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__MediaAudio( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__MediaAudio(typing.TypedDict, total=False): adDurationMillis: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__MediaBundle( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__MediaBundle(typing.TypedDict, total=False): data: str url: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__MediaFile( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__MediaFile(typing.TypedDict, total=False): audio: GoogleAdsSearchads360V23Resources__MediaAudio fileSize: str id: str image: GoogleAdsSearchads360V23Resources__MediaImage mediaBundle: GoogleAdsSearchads360V23Resources__MediaBundle - mimeType: typing_extensions.Literal[ + mimeType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "IMAGE_JPEG", @@ -13443,7 +12876,7 @@ class GoogleAdsSearchads360V23Resources__MediaFile( name: str resourceName: str sourceUrl: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "IMAGE", @@ -13456,17 +12889,13 @@ class GoogleAdsSearchads360V23Resources__MediaFile( video: GoogleAdsSearchads360V23Resources__MediaVideo @typing.type_check_only -class GoogleAdsSearchads360V23Resources__MediaImage( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__MediaImage(typing.TypedDict, total=False): data: str fullSizeImageUrl: str previewSizeImageUrl: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__MediaVideo( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__MediaVideo(typing.TypedDict, total=False): adDurationMillis: str advertisingIdCode: str isciCode: str @@ -13474,26 +12903,24 @@ class GoogleAdsSearchads360V23Resources__MediaVideo( @typing.type_check_only class GoogleAdsSearchads360V23Resources__MerchantCenterIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): merchantCenterId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__MerchantCenterLinkInvitationIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): merchantCenterId: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__MessageDetails( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__MessageDetails(typing.TypedDict, total=False): attachmentUrls: _list[str] text: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__MobileAppCategoryConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: int name: str @@ -13501,35 +12928,33 @@ class GoogleAdsSearchads360V23Resources__MobileAppCategoryConstant( @typing.type_check_only class GoogleAdsSearchads360V23Resources__MobileDeviceConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str manufacturerName: str name: str operatingSystemName: str resourceName: str - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "MOBILE", "TABLET"] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Note(typing_extensions.TypedDict, total=False): +class GoogleAdsSearchads360V23Resources__Note(typing.TypedDict, total=False): description: str editDateTime: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineConversionAlert( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleAdsSearchads360V23Resources__OfflineConversionError errorPercentage: float @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineConversionError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - collectionSizeError: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "TOO_FEW", "TOO_MANY" - ] - conversionAdjustmentUploadError: typing_extensions.Literal[ + collectionSizeError: typing.Literal["UNSPECIFIED", "UNKNOWN", "TOO_FEW", "TOO_MANY"] + conversionAdjustmentUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_RECENT_CONVERSION_ACTION", @@ -13558,7 +12983,7 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionError( "NO_CONVERSION_ACTION_FOUND", "INVALID_CONVERSION_ACTION_TYPE", ] - conversionUploadError: typing_extensions.Literal[ + conversionUploadError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "TOO_MANY_CONVERSIONS_IN_REQUEST", @@ -13606,7 +13031,7 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionError( "NO_CONVERSION_ACTION_FOUND", "INVALID_CONVERSION_ACTION_TYPE", ] - dateError: typing_extensions.Literal[ + dateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INVALID_FIELD_VALUES_IN_DATE", @@ -13622,10 +13047,10 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionError( "DATE_RANGE_ERROR_START_TIME_MUST_BE_THE_START_OF_A_DAY", "DATE_RANGE_ERROR_END_TIME_MUST_BE_THE_END_OF_A_DAY", ] - distinctError: typing_extensions.Literal[ + distinctError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DUPLICATE_ELEMENT", "DUPLICATE_TYPE" ] - fieldError: typing_extensions.Literal[ + fieldError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUIRED", @@ -13637,7 +13062,7 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionError( "BLOCKED_VALUE", "FIELD_CAN_ONLY_BE_CLEARED", ] - mutateError: typing_extensions.Literal[ + mutateError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE_NOT_FOUND", @@ -13651,19 +13076,19 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionError( "RESOURCE_READ_ONLY", "EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED", ] - notAllowlistedError: typing_extensions.Literal[ + notAllowlistedError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE" ] - stringFormatError: typing_extensions.Literal[ + stringFormatError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT" ] - stringLengthError: typing_extensions.Literal[ + stringLengthError: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EMPTY", "TOO_SHORT", "TOO_LONG" ] @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineConversionSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): failedCount: str jobId: str @@ -13673,10 +13098,10 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionSummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineConversionUploadClientSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alerts: _list[GoogleAdsSearchads360V23Resources__OfflineConversionAlert] - client: typing_extensions.Literal[ + client: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_ADS_API", @@ -13689,7 +13114,7 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionUploadClientSummary( pendingEventCount: str pendingRate: float resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXCELLENT", @@ -13703,10 +13128,10 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionUploadClientSummary( @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineConversionUploadConversionActionSummary( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alerts: _list[GoogleAdsSearchads360V23Resources__OfflineConversionAlert] - client: typing_extensions.Literal[ + client: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_ADS_API", @@ -13720,7 +13145,7 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionUploadConversionAction lastUploadDateTime: str pendingEventCount: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXCELLENT", @@ -13733,13 +13158,13 @@ class GoogleAdsSearchads360V23Resources__OfflineConversionUploadConversionAction @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineUserDataJob( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerMatchUserListMetadata: ( GoogleAdsSearchads360V23Common__CustomerMatchUserListMetadata ) externalId: str - failureReason: typing_extensions.Literal[ + failureReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INSUFFICIENT_MATCHED_TRANSACTIONS", @@ -13751,11 +13176,11 @@ class GoogleAdsSearchads360V23Resources__OfflineUserDataJob( id: str operationMetadata: GoogleAdsSearchads360V23Resources__OfflineUserDataJobMetadata resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING", "RUNNING", "SUCCESS", "FAILED" ] storeSalesMetadata: GoogleAdsSearchads360V23Common__StoreSalesMetadata - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "STORE_SALES_UPLOAD_FIRST_PARTY", @@ -13766,9 +13191,9 @@ class GoogleAdsSearchads360V23Resources__OfflineUserDataJob( @typing.type_check_only class GoogleAdsSearchads360V23Resources__OfflineUserDataJobMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - matchRateRange: typing_extensions.Literal[ + matchRateRange: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "MATCH_RANGE_LESS_THAN_20", @@ -13784,11 +13209,11 @@ class GoogleAdsSearchads360V23Resources__OfflineUserDataJobMetadata( @typing.type_check_only class GoogleAdsSearchads360V23Resources__OperatingSystemVersionConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str - operatorType: typing_extensions.Literal[ + operatorType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EQUALS_TO", "GREATER_THAN_EQUALS_TO" ] osMajorVersion: int @@ -13797,21 +13222,19 @@ class GoogleAdsSearchads360V23Resources__OperatingSystemVersionConstant( @typing.type_check_only class GoogleAdsSearchads360V23Resources__PaidOrganicSearchTermView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str searchTerm: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ParentalStatusView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__PaymentsAccount( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__PaymentsAccount(typing.TypedDict, total=False): currencyCode: str name: str payingManagerCustomer: str @@ -13821,9 +13244,7 @@ class GoogleAdsSearchads360V23Resources__PaymentsAccount( secondaryPaymentsProfileId: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__PerStoreView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__PerStoreView(typing.TypedDict, total=False): address1: str address2: str businessName: str @@ -13837,11 +13258,11 @@ class GoogleAdsSearchads360V23Resources__PerStoreView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__PerformanceMaxPlacementView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str placement: str - placementType: typing_extensions.Literal[ + placementType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "WEBSITE", @@ -13856,17 +13277,17 @@ class GoogleAdsSearchads360V23Resources__PerformanceMaxPlacementView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__PhoneCallDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callDurationMillis: str callRecordingUrl: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ProductCategoryConstant( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryId: str - level: typing_extensions.Literal[ + level: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEVEL1", "LEVEL2", "LEVEL3", "LEVEL4", "LEVEL5" ] localizations: _list[ @@ -13874,25 +13295,23 @@ class GoogleAdsSearchads360V23Resources__ProductCategoryConstant( ] productCategoryConstantParent: str resourceName: str - state: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "OBSOLETE"] + state: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "OBSOLETE"] @typing.type_check_only class GoogleAdsSearchads360V23Resources__ProductGroupView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__ProductLink( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__ProductLink(typing.TypedDict, total=False): advertisingPartner: GoogleAdsSearchads360V23Resources__AdvertisingPartnerIdentifier dataPartner: GoogleAdsSearchads360V23Resources__DataPartnerIdentifier googleAds: GoogleAdsSearchads360V23Resources__GoogleAdsIdentifier merchantCenter: GoogleAdsSearchads360V23Resources__MerchantCenterIdentifier productLinkId: str resourceName: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DATA_PARTNER", @@ -13904,7 +13323,7 @@ class GoogleAdsSearchads360V23Resources__ProductLink( @typing.type_check_only class GoogleAdsSearchads360V23Resources__ProductLinkInvitation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): advertisingPartner: ( GoogleAdsSearchads360V23Resources__AdvertisingPartnerLinkInvitationIdentifier @@ -13915,7 +13334,7 @@ class GoogleAdsSearchads360V23Resources__ProductLinkInvitation( ) productLinkInvitationId: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACCEPTED", @@ -13925,7 +13344,7 @@ class GoogleAdsSearchads360V23Resources__ProductLinkInvitation( "REJECTED", "EXPIRED", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DATA_PARTNER", @@ -13937,7 +13356,7 @@ class GoogleAdsSearchads360V23Resources__ProductLinkInvitation( @typing.type_check_only class GoogleAdsSearchads360V23Resources__QualifyingQuestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locale: str qualifyingQuestionId: str @@ -13945,9 +13364,7 @@ class GoogleAdsSearchads360V23Resources__QualifyingQuestion( text: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Recommendation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Recommendation(typing.TypedDict, total=False): adGroup: str callAssetRecommendation: ( GoogleAdsSearchads360V23Resources_Recommendation_CallAssetRecommendation @@ -14038,7 +13455,7 @@ class GoogleAdsSearchads360V23Resources__Recommendation( textAdRecommendation: ( GoogleAdsSearchads360V23Resources_Recommendation_TextAdRecommendation ) - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BUDGET", @@ -14102,13 +13519,13 @@ class GoogleAdsSearchads360V23Resources__Recommendation( @typing.type_check_only class GoogleAdsSearchads360V23Resources__RecommendationSubscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): createDateTime: str modifyDateTime: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED"] - type: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BUDGET", @@ -14169,7 +13586,7 @@ class GoogleAdsSearchads360V23Resources__RecommendationSubscription( @typing.type_check_only class GoogleAdsSearchads360V23Resources__RemarketingAction( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @@ -14178,35 +13595,33 @@ class GoogleAdsSearchads360V23Resources__RemarketingAction( @typing.type_check_only class GoogleAdsSearchads360V23Resources__RemarketingSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): googleGlobalSiteTag: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Residency( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Residency(typing.TypedDict, total=False): completionYear: int institutionName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__SearchAds360Campaign( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - productAttributionFilterType: typing_extensions.Literal[ + productAttributionFilterType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "INHERIT", "MANUAL", "AUTO_BRAND" ] resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__SearchAds360Field( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeResources: _list[str] - category: typing_extensions.Literal[ + category: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "RESOURCE", "ATTRIBUTE", "SEGMENT", "METRIC" ] - dataType: typing_extensions.Literal[ + dataType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "BOOLEAN", @@ -14234,20 +13649,16 @@ class GoogleAdsSearchads360V23Resources__SearchAds360Field( typeUrl: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__SearchTermView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__SearchTermView(typing.TypedDict, total=False): adGroup: str resourceName: str searchTerm: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADDED", "EXCLUDED", "ADDED_EXCLUDED", "NONE" ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__SharedCriterion( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__SharedCriterion(typing.TypedDict, total=False): brand: GoogleAdsSearchads360V23Common__BrandInfo criterionId: str keyword: GoogleAdsSearchads360V23Common__KeywordInfo @@ -14257,7 +13668,7 @@ class GoogleAdsSearchads360V23Resources__SharedCriterion( placement: GoogleAdsSearchads360V23Common__PlacementInfo resourceName: str sharedSet: str - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "KEYWORD", @@ -14314,16 +13725,14 @@ class GoogleAdsSearchads360V23Resources__SharedCriterion( youtubeVideo: GoogleAdsSearchads360V23Common__YouTubeVideoInfo @typing.type_check_only -class GoogleAdsSearchads360V23Resources__SharedSet( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__SharedSet(typing.TypedDict, total=False): id: str memberCount: str name: str referenceCount: str resourceName: str - status: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] - type: typing_extensions.Literal[ + status: typing.Literal["UNSPECIFIED", "UNKNOWN", "ENABLED", "REMOVED"] + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NEGATIVE_KEYWORDS", @@ -14333,7 +13742,7 @@ class GoogleAdsSearchads360V23Resources__SharedSet( "WEBPAGES", "VERTICAL_ADS_ITEM_GROUP_RULE_LIST", ] - verticalAdsItemVerticalType: typing_extensions.Literal[ + verticalAdsItemVerticalType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HOTELS", @@ -14346,16 +13755,14 @@ class GoogleAdsSearchads360V23Resources__SharedSet( @typing.type_check_only class GoogleAdsSearchads360V23Resources__ShoppingPerformanceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__ShoppingProduct( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__ShoppingProduct(typing.TypedDict, total=False): adGroup: str - availability: typing_extensions.Literal[ + availability: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "IN_STOCK", "OUT_OF_STOCK", "PREORDER" ] brand: str @@ -14365,13 +13772,11 @@ class GoogleAdsSearchads360V23Resources__ShoppingProduct( categoryLevel3: str categoryLevel4: str categoryLevel5: str - channel: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] - channelExclusivity: typing_extensions.Literal[ + channel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] + channelExclusivity: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SINGLE_CHANNEL", "MULTI_CHANNEL" ] - condition: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED" - ] + condition: typing.Literal["UNSPECIFIED", "UNKNOWN", "NEW", "REFURBISHED", "USED"] currencyCode: str customAttribute0: str customAttribute1: str @@ -14393,7 +13798,7 @@ class GoogleAdsSearchads360V23Resources__ShoppingProduct( productTypeLevel4: str productTypeLevel5: str resourceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_ELIGIBLE", "ELIGIBLE_LIMITED", "ELIGIBLE" ] targetCountries: _list[str] @@ -14401,7 +13806,7 @@ class GoogleAdsSearchads360V23Resources__ShoppingProduct( @typing.type_check_only class GoogleAdsSearchads360V23Resources__SmartCampaignSearchTermView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str resourceName: str @@ -14409,7 +13814,7 @@ class GoogleAdsSearchads360V23Resources__SmartCampaignSearchTermView( @typing.type_check_only class GoogleAdsSearchads360V23Resources__SmartCampaignSetting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adOptimizedBusinessProfileSetting: GoogleAdsSearchads360V23Resources_SmartCampaignSetting_AdOptimizedBusinessProfileSetting advertisingLanguageCode: str @@ -14422,71 +13827,65 @@ class GoogleAdsSearchads360V23Resources__SmartCampaignSetting( @typing.type_check_only class GoogleAdsSearchads360V23Resources__TargetingExpansionView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ThirdPartyAppAnalyticsLink( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str shareableLinkId: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__ThirdPartyAppAnalyticsLinkIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appAnalyticsProviderId: str appId: str - appVendor: typing_extensions.Literal[ + appVendor: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "APPLE_APP_STORE", "GOOGLE_APP_STORE" ] @typing.type_check_only -class GoogleAdsSearchads360V23Resources__TopicConstant( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__TopicConstant(typing.TypedDict, total=False): id: str path: _list[str] resourceName: str topicConstantParent: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__TopicView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__TopicView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__TravelActivityGroupView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__TravelActivityPerformanceView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__UniversityDegree( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): degree: str graduationYear: int institutionName: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__UserInterest( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__UserInterest(typing.TypedDict, total=False): availabilities: _list[GoogleAdsSearchads360V23Common__CriterionCategoryAvailability] launchedToAll: bool name: str resourceName: str - taxonomyType: typing_extensions.Literal[ + taxonomyType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AFFINITY", @@ -14499,10 +13898,8 @@ class GoogleAdsSearchads360V23Resources__UserInterest( userInterestParent: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__UserList( - typing_extensions.TypedDict, total=False -): - accessReason: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Resources__UserList(typing.TypedDict, total=False): + accessReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OWNED", @@ -14511,11 +13908,11 @@ class GoogleAdsSearchads360V23Resources__UserList( "SUBSCRIBED", "AFFILIATED", ] - accountUserListStatus: typing_extensions.Literal[ + accountUserListStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ENABLED", "DISABLED" ] basicUserList: GoogleAdsSearchads360V23Common__BasicUserListInfo - closingReason: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "UNUSED"] + closingReason: typing.Literal["UNSPECIFIED", "UNKNOWN", "UNUSED"] crmBasedUserList: GoogleAdsSearchads360V23Common__CrmBasedUserListInfo description: str eligibleForDisplay: bool @@ -14526,9 +13923,7 @@ class GoogleAdsSearchads360V23Resources__UserList( lookalikeUserList: GoogleAdsSearchads360V23Common__LookalikeUserListInfo matchRatePercentage: int membershipLifeSpan: str - membershipStatus: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "OPEN", "CLOSED" - ] + membershipStatus: typing.Literal["UNSPECIFIED", "UNKNOWN", "OPEN", "CLOSED"] name: str readOnly: bool resourceName: str @@ -14536,7 +13931,7 @@ class GoogleAdsSearchads360V23Resources__UserList( similarUserList: GoogleAdsSearchads360V23Common__SimilarUserListInfo sizeForDisplay: str sizeForSearch: str - sizeRangeForDisplay: typing_extensions.Literal[ + sizeRangeForDisplay: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LESS_THAN_FIVE_HUNDRED", @@ -14556,7 +13951,7 @@ class GoogleAdsSearchads360V23Resources__UserList( "THIRTY_MILLION_TO_FIFTY_MILLION", "OVER_FIFTY_MILLION", ] - sizeRangeForSearch: typing_extensions.Literal[ + sizeRangeForSearch: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LESS_THAN_FIVE_HUNDRED", @@ -14576,7 +13971,7 @@ class GoogleAdsSearchads360V23Resources__UserList( "THIRTY_MILLION_TO_FIFTY_MILLION", "OVER_FIFTY_MILLION", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REMARKETING", @@ -14590,9 +13985,9 @@ class GoogleAdsSearchads360V23Resources__UserList( @typing.type_check_only class GoogleAdsSearchads360V23Resources__UserListCustomerType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - customerTypeCategory: typing_extensions.Literal[ + customerTypeCategory: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ALL_CUSTOMERS", @@ -14617,16 +14012,14 @@ class GoogleAdsSearchads360V23Resources__UserListCustomerType( @typing.type_check_only class GoogleAdsSearchads360V23Resources__UserLocationView( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCriterionId: str resourceName: str targetingLocation: bool @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Video( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Video(typing.TypedDict, total=False): channelId: str durationMillis: str id: str @@ -14634,19 +14027,15 @@ class GoogleAdsSearchads360V23Resources__Video( title: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__VideoCustomer( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__VideoCustomer(typing.TypedDict, total=False): thirdPartyIntegrationPartners: ( GoogleAdsSearchads360V23Common__CustomerThirdPartyIntegrationPartners ) @typing.type_check_only -class GoogleAdsSearchads360V23Resources__Visit( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__Visit(typing.TypedDict, total=False): adId: str - assetFieldType: typing_extensions.Literal[ + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -14688,9 +14077,7 @@ class GoogleAdsSearchads360V23Resources__Visit( criterionId: str id: str merchantId: str - productChannel: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL" - ] + productChannel: typing.Literal["UNSPECIFIED", "UNKNOWN", "ONLINE", "LOCAL"] productCountryCode: str productId: str productLanguageCode: str @@ -14699,170 +14086,166 @@ class GoogleAdsSearchads360V23Resources__Visit( visitDateTime: str @typing.type_check_only -class GoogleAdsSearchads360V23Resources__WebpageView( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Resources__WebpageView(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Resources__YoutubeVideoIdentifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): channelId: str videoId: str @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_AdAssetApplyParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): existingAssets: _list[str] newAssets: _list[GoogleAdsSearchads360V23Resources__Asset] - scope: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN"] + scope: typing.Literal["UNSPECIFIED", "UNKNOWN", "CUSTOMER", "CAMPAIGN"] @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_CallAssetParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adAssetApplyParameters: GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_AdAssetApplyParameters @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_CallExtensionParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callExtensions: _list[GoogleAdsSearchads360V23Common__CallFeedItem] @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_CalloutAssetParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adAssetApplyParameters: GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_AdAssetApplyParameters @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_CalloutExtensionParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): calloutExtensions: _list[GoogleAdsSearchads360V23Common__CalloutFeedItem] @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_CampaignBudgetParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newBudgetAmountMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_ForecastingSetTargetCpaParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBudgetAmountMicros: str targetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_ForecastingSetTargetRoasParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBudgetAmountMicros: str targetRoas: float @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_KeywordParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: str cpcBidMicros: str - matchType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD" - ] + matchType: typing.Literal["UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD"] @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_LeadFormAssetParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adAssetApplyParameters: GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_AdAssetApplyParameters setSubmitLeadFormAssetCampaignGoal: bool @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_LowerTargetRoasParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetRoasMultiplier: float @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_MoveUnusedBudgetParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): budgetMicrosToMove: str @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_RaiseTargetCpaBidTooLowParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetMultiplier: float @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_RaiseTargetCpaParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetCpaMultiplier: float @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_ResponsiveSearchAdAssetParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updatedAd: GoogleAdsSearchads360V23Resources__Ad @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_ResponsiveSearchAdImproveAdStrengthParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): updatedAd: GoogleAdsSearchads360V23Resources__Ad @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_ResponsiveSearchAdParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ad: GoogleAdsSearchads360V23Resources__Ad @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_SitelinkAssetParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adAssetApplyParameters: GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_AdAssetApplyParameters @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_SitelinkExtensionParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sitelinkExtensions: _list[GoogleAdsSearchads360V23Common__SitelinkFeedItem] @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_TargetCpaOptInParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newCampaignBudgetAmountMicros: str targetCpaMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_TargetRoasOptInParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newCampaignBudgetAmountMicros: str targetRoas: float @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_TextAdParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ad: GoogleAdsSearchads360V23Resources__Ad @typing.type_check_only class GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_UseBroadMatchKeywordParameters( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newBudgetAmountMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Services_CampaignToForecast_CampaignBiddingStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): manualCpcBiddingStrategy: GoogleAdsSearchads360V23Services__ManualCpcBiddingStrategy maximizeClicksBiddingStrategy: ( @@ -14872,23 +14255,29 @@ class GoogleAdsSearchads360V23Services_CampaignToForecast_CampaignBiddingStrateg GoogleAdsSearchads360V23Services__MaximizeConversionsBiddingStrategy ) +@typing.type_check_only +class GoogleAdsSearchads360V23Services_CartData_Item(typing.TypedDict, total=False): + productId: str + quantity: int + unitPrice: float + @typing.type_check_only class GoogleAdsSearchads360V23Services_DismissRecommendationRequest_DismissRecommendationOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services_DismissRecommendationResponse_DismissRecommendationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_AdGroupInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - adGroupType: typing_extensions.Literal[ + adGroupType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH_STANDARD", @@ -14912,7 +14301,7 @@ class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_AdGroupInf @typing.type_check_only class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_AssetGroupInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): description: _list[str] finalUrl: str @@ -14920,9 +14309,9 @@ class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_AssetGroup @typing.type_check_only class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_BiddingInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - biddingStrategyType: typing_extensions.Literal[ + biddingStrategyType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "COMMISSION", @@ -14950,22 +14339,22 @@ class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_BiddingInf @typing.type_check_only class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_BudgetInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): currentBudget: str @typing.type_check_only class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_SeedInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordSeeds: _list[str] urlSeed: str @typing.type_check_only class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_TargetImpressionShareInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - location: typing_extensions.Literal[ + location: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ANYWHERE_ON_PAGE", @@ -14977,88 +14366,86 @@ class GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_TargetImpr @typing.type_check_only class GoogleAdsSearchads360V23Services_IncentiveRequirement_Spend( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): awardAmount: GoogleType__Money requiredAmount: GoogleType__Money @typing.type_check_only class GoogleAdsSearchads360V23Services_Incentive_Requirement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): spend: GoogleAdsSearchads360V23Services_IncentiveRequirement_Spend @typing.type_check_only class GoogleAdsSearchads360V23Services_MetricAttributes_Attribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: str @typing.type_check_only class GoogleAdsSearchads360V23Services_ProductFilter_MarketingObjectiveList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): marketingObjectives: _list[ - typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "AWARENESS", "CONSIDERATION", "ACTION" - ] + typing.Literal["UNSPECIFIED", "UNKNOWN", "AWARENESS", "CONSIDERATION", "ACTION"] ] @typing.type_check_only class GoogleAdsSearchads360V23Services_ProductFilter_ProductList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productCodes: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Services_SmartCampaignSuggestionInfo_BusinessContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessName: str @typing.type_check_only class GoogleAdsSearchads360V23Services_SmartCampaignSuggestionInfo_LocationList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locations: _list[GoogleAdsSearchads360V23Common__LocationInfo] @typing.type_check_only class GoogleAdsSearchads360V23Services_SuggestGeoTargetConstantsRequest_GeoTargets( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): geoTargetConstants: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Services_SuggestGeoTargetConstantsRequest_LocationNames( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): names: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Services_SuggestKeywordThemesResponse_KeywordTheme( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): freeFormKeywordTheme: str keywordThemeConstant: GoogleAdsSearchads360V23Resources__KeywordThemeConstant @typing.type_check_only class GoogleAdsSearchads360V23Services_SuggestSmartCampaignBudgetOptionsResponse_BudgetOption( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dailyAmountMicros: str metrics: GoogleAdsSearchads360V23Services_SuggestSmartCampaignBudgetOptionsResponse_Metrics @typing.type_check_only class GoogleAdsSearchads360V23Services_SuggestSmartCampaignBudgetOptionsResponse_Metrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): maxDailyClicks: str minDailyClicks: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AccountBudgetProposalOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AccountBudgetProposal remove: str @@ -15066,7 +14453,7 @@ class GoogleAdsSearchads360V23Services__AccountBudgetProposalOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AccountLinkOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): remove: str update: GoogleAdsSearchads360V23Resources__AccountLink @@ -15074,14 +14461,14 @@ class GoogleAdsSearchads360V23Services__AccountLinkOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupAdLabelOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupAdLabel remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupAdOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupAd policyValidationParameter: GoogleAdsSearchads360V23Common__PolicyValidationParameter @@ -15091,7 +14478,7 @@ class GoogleAdsSearchads360V23Services__AdGroupAdOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupAssetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupAsset remove: str @@ -15100,14 +14487,14 @@ class GoogleAdsSearchads360V23Services__AdGroupAssetOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupAssetSetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupAssetSet remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupBidModifierOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupBidModifier remove: str @@ -15116,21 +14503,21 @@ class GoogleAdsSearchads360V23Services__AdGroupBidModifierOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupCriterionCustomizerOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupCriterionCustomizer remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupCriterionLabelOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupCriterionLabel remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupCriterionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupCriterion exemptPolicyViolationKeys: _list[GoogleAdsSearchads360V23Common__PolicyViolationKey] @@ -15140,50 +14527,46 @@ class GoogleAdsSearchads360V23Services__AdGroupCriterionOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupCustomizerOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupCustomizer remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupKeywordSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordText: str suggestedAdGroup: str suggestedCampaign: str suggestedKeywordText: str - suggestedMatchType: typing_extensions.Literal[ + suggestedMatchType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "EXACT", "PHRASE", "BROAD" ] @typing.type_check_only class GoogleAdsSearchads360V23Services__AdGroupLabelOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdGroupLabel remove: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__AdGroupOperation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__AdGroupOperation(typing.TypedDict, total=False): create: GoogleAdsSearchads360V23Resources__AdGroup remove: str update: GoogleAdsSearchads360V23Resources__AdGroup updateMask: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__AdOperation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__AdOperation(typing.TypedDict, total=False): policyValidationParameter: GoogleAdsSearchads360V23Common__PolicyValidationParameter update: GoogleAdsSearchads360V23Resources__Ad updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AdParameterOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AdParameter remove: str @@ -15192,21 +14575,21 @@ class GoogleAdsSearchads360V23Services__AdParameterOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AddBatchJobOperationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mutateOperations: _list[GoogleAdsSearchads360V23Services__MutateOperation] sequenceToken: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AddBatchJobOperationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextSequenceToken: str totalOperations: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AddOfflineUserDataJobOperationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enablePartialFailure: bool enableWarnings: bool @@ -15215,14 +14598,14 @@ class GoogleAdsSearchads360V23Services__AddOfflineUserDataJobOperationsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__AddOfflineUserDataJobOperationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status warning: GoogleRpc__Status @typing.type_check_only class GoogleAdsSearchads360V23Services__AdvancedProductTargeting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): surfaceTargetingSettings: GoogleAdsSearchads360V23Services__SurfaceTargeting targetFrequencySettings: GoogleAdsSearchads360V23Services__TargetFrequencySettings @@ -15230,32 +14613,32 @@ class GoogleAdsSearchads360V23Services__AdvancedProductTargeting( @typing.type_check_only class GoogleAdsSearchads360V23Services__AppendLeadConversationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversations: _list[GoogleAdsSearchads360V23Services__Conversation] @typing.type_check_only class GoogleAdsSearchads360V23Services__AppendLeadConversationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleAdsSearchads360V23Services__ConversationOrError] @typing.type_check_only class GoogleAdsSearchads360V23Services__ApplyIncentiveRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ApplyIncentiveResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): couponCode: str creationTime: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ApplyRecommendationOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): callAsset: GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_CallAssetParameters callExtension: GoogleAdsSearchads360V23Services_ApplyRecommendationOperation_CallExtensionParameters @@ -15289,27 +14672,27 @@ class GoogleAdsSearchads360V23Services__ApplyRecommendationOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__ApplyRecommendationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__ApplyRecommendationOperation] partialFailure: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__ApplyRecommendationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__ApplyRecommendationResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__ApplyRecommendationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AssetGroupAssetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AssetGroupAsset remove: str @@ -15318,7 +14701,7 @@ class GoogleAdsSearchads360V23Services__AssetGroupAssetOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AssetGroupListingGroupFilterOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AssetGroupListingGroupFilter remove: str @@ -15327,7 +14710,7 @@ class GoogleAdsSearchads360V23Services__AssetGroupListingGroupFilterOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AssetGroupOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AssetGroup remove: str @@ -15336,30 +14719,28 @@ class GoogleAdsSearchads360V23Services__AssetGroupOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AssetGroupSignalOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AssetGroupSignal exemptPolicyViolationKeys: _list[GoogleAdsSearchads360V23Common__PolicyViolationKey] remove: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__AssetOperation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__AssetOperation(typing.TypedDict, total=False): create: GoogleAdsSearchads360V23Resources__Asset update: GoogleAdsSearchads360V23Resources__Asset updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AssetSetAssetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AssetSetAsset remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AssetSetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__AssetSet remove: str @@ -15368,10 +14749,10 @@ class GoogleAdsSearchads360V23Services__AssetSetOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AssetsWithFieldType( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str - assetFieldType: typing_extensions.Literal[ + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -15411,14 +14792,14 @@ class GoogleAdsSearchads360V23Services__AssetsWithFieldType( @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceCompositionAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeMetadata: GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadata metrics: GoogleAdsSearchads360V23Services__AudienceCompositionMetrics @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceCompositionAttributeCluster( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleAdsSearchads360V23Services__AudienceCompositionAttribute] clusterDisplayName: str @@ -15426,7 +14807,7 @@ class GoogleAdsSearchads360V23Services__AudienceCompositionAttributeCluster( @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceCompositionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audienceShare: float baselineAudienceShare: float @@ -15435,12 +14816,12 @@ class GoogleAdsSearchads360V23Services__AudienceCompositionMetrics( @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceCompositionSection( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): clusteredAttributes: _list[ GoogleAdsSearchads360V23Services__AudienceCompositionAttributeCluster ] - dimension: typing_extensions.Literal[ + dimension: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CATEGORY", @@ -15464,10 +14845,10 @@ class GoogleAdsSearchads360V23Services__AudienceCompositionSection( @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceInsightsDimensions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CATEGORY", @@ -15491,7 +14872,7 @@ class GoogleAdsSearchads360V23Services__AudienceInsightsDimensions( @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__Audience update: GoogleAdsSearchads360V23Resources__Audience @@ -15499,36 +14880,34 @@ class GoogleAdsSearchads360V23Services__AudienceOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceOverlapItem( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributeMetadata: GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadata potentialYoutubeReachIntersection: str @typing.type_check_only class GoogleAdsSearchads360V23Services__AudienceTargeting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userInterest: _list[GoogleAdsSearchads360V23Common__UserInterestInfo] userLists: _list[GoogleAdsSearchads360V23Common__UserListInfo] @typing.type_check_only class GoogleAdsSearchads360V23Services__BatchJobOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__BatchJob remove: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__BatchJobResult( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__BatchJobResult(typing.TypedDict, total=False): mutateOperationResponse: GoogleAdsSearchads360V23Services__MutateOperationResponse operationIndex: str status: GoogleRpc__Status @typing.type_check_only class GoogleAdsSearchads360V23Services__BenchmarksLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): locationInfo: GoogleAdsSearchads360V23Common__LocationInfo locationName: str @@ -15536,39 +14915,33 @@ class GoogleAdsSearchads360V23Services__BenchmarksLocation( @typing.type_check_only class GoogleAdsSearchads360V23Services__BenchmarksProductMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - marketingObjective: typing_extensions.Literal[ + marketingObjective: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AWARENESS", "CONSIDERATION", "ACTION" ] productCode: str productName: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__BenchmarksSource( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__BenchmarksSource(typing.TypedDict, total=False): industryVerticalId: str @typing.type_check_only class GoogleAdsSearchads360V23Services__BenchmarksSourceMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - benchmarksSourceType: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "INDUSTRY_VERTICAL" - ] + benchmarksSourceType: typing.Literal["UNSPECIFIED", "UNKNOWN", "INDUSTRY_VERTICAL"] industryVerticalInfo: GoogleAdsSearchads360V23Services__IndustryVerticalInfo @typing.type_check_only -class GoogleAdsSearchads360V23Services__BiddableKeyword( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__BiddableKeyword(typing.TypedDict, total=False): keyword: GoogleAdsSearchads360V23Common__KeywordInfo maxCpcBidMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Services__BiddingDataExclusionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__BiddingDataExclusion remove: str @@ -15577,7 +14950,7 @@ class GoogleAdsSearchads360V23Services__BiddingDataExclusionOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__BiddingSeasonalityAdjustmentOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__BiddingSeasonalityAdjustment remove: str @@ -15586,7 +14959,7 @@ class GoogleAdsSearchads360V23Services__BiddingSeasonalityAdjustmentOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__BiddingStrategyOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__BiddingStrategy remove: str @@ -15595,22 +14968,42 @@ class GoogleAdsSearchads360V23Services__BiddingStrategyOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__BillingSetupOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__BillingSetup remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__BrandCampaignAssets( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessNameAsset: str landscapeLogoAsset: _list[str] logoAsset: _list[str] +@typing.type_check_only +class GoogleAdsSearchads360V23Services__CallConversion(typing.TypedDict, total=False): + callStartDateTime: str + callerId: str + consent: GoogleAdsSearchads360V23Common__Consent + conversionAction: str + conversionDateTime: str + conversionValue: float + currencyCode: str + customVariables: _list[GoogleAdsSearchads360V23Services__CustomVariable] + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__CallConversionResult( + typing.TypedDict, total=False +): + callStartDateTime: str + callerId: str + conversionAction: str + conversionDateTime: str + @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignAssetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignAsset remove: str @@ -15619,14 +15012,14 @@ class GoogleAdsSearchads360V23Services__CampaignAssetOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignAssetSetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignAssetSet remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignBidModifierOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignBidModifier remove: str @@ -15635,14 +15028,14 @@ class GoogleAdsSearchads360V23Services__CampaignBidModifierOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignBudgetMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBudget: str experimentCampaign: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignBudgetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignBudget remove: str @@ -15651,14 +15044,14 @@ class GoogleAdsSearchads360V23Services__CampaignBudgetOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignConversionGoalOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__CampaignConversionGoal updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignCriterionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignCriterion remove: str @@ -15667,14 +15060,14 @@ class GoogleAdsSearchads360V23Services__CampaignCriterionOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignCustomizerOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignCustomizer remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignDraftOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignDraft remove: str @@ -15682,15 +15075,13 @@ class GoogleAdsSearchads360V23Services__CampaignDraftOperation( updateMask: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__CampaignDuration( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__CampaignDuration(typing.TypedDict, total=False): dateRange: GoogleAdsSearchads360V23Common__DateRange durationInDays: int @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignGoalConfigOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignGoalConfig remove: str @@ -15699,7 +15090,7 @@ class GoogleAdsSearchads360V23Services__CampaignGoalConfigOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignGroupOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignGroup remove: str @@ -15708,14 +15099,14 @@ class GoogleAdsSearchads360V23Services__CampaignGroupOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignLabelOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignLabel remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignLifecycleGoalOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignLifecycleGoal update: GoogleAdsSearchads360V23Resources__CampaignLifecycleGoal @@ -15723,7 +15114,7 @@ class GoogleAdsSearchads360V23Services__CampaignLifecycleGoalOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__Campaign remove: str @@ -15732,14 +15123,14 @@ class GoogleAdsSearchads360V23Services__CampaignOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignSharedSetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CampaignSharedSet remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CampaignToForecast( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroups: _list[GoogleAdsSearchads360V23Services__ForecastAdGroup] biddingStrategy: ( @@ -15747,90 +15138,157 @@ class GoogleAdsSearchads360V23Services__CampaignToForecast( ) conversionRate: float geoModifiers: _list[GoogleAdsSearchads360V23Services__CriterionBidModifier] - keywordPlanNetwork: typing_extensions.Literal[ + keywordPlanNetwork: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_SEARCH", "GOOGLE_SEARCH_AND_PARTNERS" ] languageConstants: _list[str] negativeKeywords: _list[GoogleAdsSearchads360V23Common__KeywordInfo] +@typing.type_check_only +class GoogleAdsSearchads360V23Services__CartData(typing.TypedDict, total=False): + feedCountryCode: str + feedLanguageCode: str + items: _list[GoogleAdsSearchads360V23Services_CartData_Item] + localTransactionCost: float + merchantId: str + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__ClickConversion(typing.TypedDict, total=False): + cartData: GoogleAdsSearchads360V23Services__CartData + consent: GoogleAdsSearchads360V23Common__Consent + conversionAction: str + conversionDateTime: str + conversionEnvironment: typing.Literal["UNSPECIFIED", "UNKNOWN", "APP", "WEB"] + conversionValue: float + currencyCode: str + customVariables: _list[GoogleAdsSearchads360V23Services__CustomVariable] + customerType: typing.Literal["UNSPECIFIED", "UNKNOWN", "NEW", "RETURNING"] + externalAttributionData: GoogleAdsSearchads360V23Services__ExternalAttributionData + gbraid: str + gclid: str + orderId: str + sessionAttributesEncoded: str + sessionAttributesKeyValuePairs: ( + GoogleAdsSearchads360V23Services__SessionAttributesKeyValuePairs + ) + userIdentifiers: _list[GoogleAdsSearchads360V23Common__UserIdentifier] + userIpAddress: str + wbraid: str + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__ClickConversionResult( + typing.TypedDict, total=False +): + conversionAction: str + conversionDateTime: str + gbraid: str + gclid: str + userIdentifiers: _list[GoogleAdsSearchads360V23Common__UserIdentifier] + wbraid: str + @typing.type_check_only class GoogleAdsSearchads360V23Services__ConfigureCampaignLifecycleGoalsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__CampaignLifecycleGoalOperation validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__ConfigureCampaignLifecycleGoalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__ConfigureCampaignLifecycleGoalsResult @typing.type_check_only class GoogleAdsSearchads360V23Services__ConfigureCampaignLifecycleGoalsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ConfigureCustomerLifecycleGoalsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__CustomerLifecycleGoalOperation validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__ConfigureCustomerLifecycleGoalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__ConfigureCustomerLifecycleGoalsResult @typing.type_check_only class GoogleAdsSearchads360V23Services__ConfigureCustomerLifecycleGoalsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__Conversation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__Conversation(typing.TypedDict, total=False): localServicesLead: str text: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversationOrError( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): localServicesLeadConversation: str partialFailureError: GoogleRpc__Status @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionActionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__ConversionAction remove: str update: GoogleAdsSearchads360V23Resources__ConversionAction updateMask: str +@typing.type_check_only +class GoogleAdsSearchads360V23Services__ConversionAdjustment( + typing.TypedDict, total=False +): + adjustmentDateTime: str + adjustmentType: typing.Literal[ + "UNSPECIFIED", "UNKNOWN", "RETRACTION", "RESTATEMENT", "ENHANCEMENT" + ] + conversionAction: str + gclidDateTimePair: GoogleAdsSearchads360V23Services__GclidDateTimePair + orderId: str + restatementValue: GoogleAdsSearchads360V23Services__RestatementValue + userAgent: str + userIdentifiers: _list[GoogleAdsSearchads360V23Common__UserIdentifier] + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__ConversionAdjustmentResult( + typing.TypedDict, total=False +): + adjustmentDateTime: str + adjustmentType: typing.Literal[ + "UNSPECIFIED", "UNKNOWN", "RETRACTION", "RESTATEMENT", "ENHANCEMENT" + ] + conversionAction: str + gclidDateTimePair: GoogleAdsSearchads360V23Services__GclidDateTimePair + orderId: str + @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionCustomDimensionHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionCustomMetricHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionCustomVariableOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__ConversionCustomVariable update: GoogleAdsSearchads360V23Resources__ConversionCustomVariable @@ -15838,17 +15296,17 @@ class GoogleAdsSearchads360V23Services__ConversionCustomVariableOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionGoalCampaignConfigOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__ConversionGoalCampaignConfig updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionRateSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionRate: float - conversionRateModel: typing_extensions.Literal[ + conversionRateModel: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CUSTOMER_HISTORY", @@ -15861,7 +15319,7 @@ class GoogleAdsSearchads360V23Services__ConversionRateSuggestion( @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionValueRuleOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__ConversionValueRule remove: str @@ -15870,7 +15328,7 @@ class GoogleAdsSearchads360V23Services__ConversionValueRuleOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__ConversionValueRuleSetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__ConversionValueRuleSet remove: str @@ -15879,21 +15337,21 @@ class GoogleAdsSearchads360V23Services__ConversionValueRuleSetOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateAccountLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): accountLink: GoogleAdsSearchads360V23Resources__AccountLink @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateAccountLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateCustomerClientRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - accessRole: typing_extensions.Literal[ + accessRole: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADMIN", "STANDARD", "READ_ONLY", "EMAIL_ONLY" ] customerClient: GoogleAdsSearchads360V23Resources__Customer @@ -15902,26 +15360,26 @@ class GoogleAdsSearchads360V23Services__CreateCustomerClientRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateCustomerClientResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): invitationLink: str resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateDataLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataLink: GoogleAdsSearchads360V23Resources__DataLink @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateDataLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateOfflineUserDataJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableMatchRateRangePreview: bool job: GoogleAdsSearchads360V23Resources__OfflineUserDataJob @@ -15929,44 +15387,44 @@ class GoogleAdsSearchads360V23Services__CreateOfflineUserDataJobRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateOfflineUserDataJobResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateProductLinkInvitationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productLinkInvitation: GoogleAdsSearchads360V23Resources__ProductLinkInvitation @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateProductLinkInvitationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateProductLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productLink: GoogleAdsSearchads360V23Resources__ProductLink @typing.type_check_only class GoogleAdsSearchads360V23Services__CreateProductLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CriterionBidModifier( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bidModifier: float geoTargetConstant: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomAudienceOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomAudience remove: str @@ -15975,7 +15433,7 @@ class GoogleAdsSearchads360V23Services__CustomAudienceOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomColumnHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @@ -15983,7 +15441,7 @@ class GoogleAdsSearchads360V23Services__CustomColumnHeader( @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomConversionGoalOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomConversionGoal remove: str @@ -15992,15 +15450,20 @@ class GoogleAdsSearchads360V23Services__CustomConversionGoalOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomInterestOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomInterest update: GoogleAdsSearchads360V23Resources__CustomInterest updateMask: str +@typing.type_check_only +class GoogleAdsSearchads360V23Services__CustomVariable(typing.TypedDict, total=False): + conversionCustomVariable: str + value: str + @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerAssetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerAsset remove: str @@ -16009,14 +15472,14 @@ class GoogleAdsSearchads360V23Services__CustomerAssetOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerAssetSetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerAssetSet remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerClientLinkOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerClientLink update: GoogleAdsSearchads360V23Resources__CustomerClientLink @@ -16024,28 +15487,28 @@ class GoogleAdsSearchads360V23Services__CustomerClientLinkOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerConversionGoalOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__CustomerConversionGoal updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerCustomizerOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerCustomizer remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerLabelOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerLabel remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerLifecycleGoalOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerLifecycleGoal update: GoogleAdsSearchads360V23Resources__CustomerLifecycleGoal @@ -16053,41 +15516,41 @@ class GoogleAdsSearchads360V23Services__CustomerLifecycleGoalOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerManagerLinkOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__CustomerManagerLink updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerNegativeCriterionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerNegativeCriterion remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__Customer updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerSkAdNetworkConversionValueSchemaOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__CustomerSkAdNetworkConversionValueSchema @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerUserAccessInvitationOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomerUserAccessInvitation remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomerUserAccessOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): remove: str update: GoogleAdsSearchads360V23Resources__CustomerUserAccess @@ -16095,25 +15558,23 @@ class GoogleAdsSearchads360V23Services__CustomerUserAccessOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__CustomizerAttributeOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__CustomizerAttribute remove: str updateMask: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__CyoIncentives( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__CyoIncentives(typing.TypedDict, total=False): highOffer: GoogleAdsSearchads360V23Services__Incentive lowOffer: GoogleAdsSearchads360V23Services__Incentive mediumOffer: GoogleAdsSearchads360V23Services__Incentive @typing.type_check_only class GoogleAdsSearchads360V23Services__DimensionOverlapResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dimension: typing_extensions.Literal[ + dimension: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CATEGORY", @@ -16137,7 +15598,7 @@ class GoogleAdsSearchads360V23Services__DimensionOverlapResult( @typing.type_check_only class GoogleAdsSearchads360V23Services__DismissRecommendationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services_DismissRecommendationRequest_DismissRecommendationOperation @@ -16146,7 +15607,7 @@ class GoogleAdsSearchads360V23Services__DismissRecommendationRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__DismissRecommendationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -16155,7 +15616,7 @@ class GoogleAdsSearchads360V23Services__DismissRecommendationResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__EffectiveFrequencyBreakdown( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveCoviewReach: str effectiveFrequency: int @@ -16165,14 +15626,12 @@ class GoogleAdsSearchads360V23Services__EffectiveFrequencyBreakdown( @typing.type_check_only class GoogleAdsSearchads360V23Services__EffectiveFrequencyLimit( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveFrequencyBreakdownLimit: int @typing.type_check_only -class GoogleAdsSearchads360V23Services__EnableOperation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__EnableOperation(typing.TypedDict, total=False): accentColor: str autoPopulateBrandAssets: bool brandAssets: GoogleAdsSearchads360V23Services__BrandCampaignAssets @@ -16183,32 +15642,30 @@ class GoogleAdsSearchads360V23Services__EnableOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__EnablePMaxBrandGuidelinesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__EnableOperation] @typing.type_check_only class GoogleAdsSearchads360V23Services__EnablePMaxBrandGuidelinesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleAdsSearchads360V23Services__EnablementResult] @typing.type_check_only -class GoogleAdsSearchads360V23Services__EnablementResult( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__EnablementResult(typing.TypedDict, total=False): campaign: str enablementError: GoogleRpc__Status @typing.type_check_only class GoogleAdsSearchads360V23Services__EndExperimentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__ExperimentArmOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__ExperimentArm remove: str @@ -16217,23 +15674,28 @@ class GoogleAdsSearchads360V23Services__ExperimentArmOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__ExperimentOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__Experiment remove: str update: GoogleAdsSearchads360V23Resources__Experiment updateMask: str +@typing.type_check_only +class GoogleAdsSearchads360V23Services__ExternalAttributionData( + typing.TypedDict, total=False +): + externalAttributionCredit: float + externalAttributionModel: str + @typing.type_check_only class GoogleAdsSearchads360V23Services__FetchIncentiveResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): incentiveOffer: GoogleAdsSearchads360V23Services__IncentiveOffer @typing.type_check_only -class GoogleAdsSearchads360V23Services__Forecast( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__Forecast(typing.TypedDict, total=False): conversions: float effectiveFrequencyBreakdowns: _list[ GoogleAdsSearchads360V23Services__EffectiveFrequencyBreakdown @@ -16250,38 +15712,39 @@ class GoogleAdsSearchads360V23Services__Forecast( viewableImpressions: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__ForecastAdGroup( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__ForecastAdGroup(typing.TypedDict, total=False): biddableKeywords: _list[GoogleAdsSearchads360V23Services__BiddableKeyword] maxCpcBidMicros: str negativeKeywords: _list[GoogleAdsSearchads360V23Common__KeywordInfo] @typing.type_check_only class GoogleAdsSearchads360V23Services__ForecastMetricOptions( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeCoview: bool @typing.type_check_only -class GoogleAdsSearchads360V23Services__FrequencyCap( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__FrequencyCap(typing.TypedDict, total=False): impressions: int - timeUnit: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "DAY", "WEEK", "MONTH" - ] + timeUnit: typing.Literal["UNSPECIFIED", "UNKNOWN", "DAY", "WEEK", "MONTH"] + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__GclidDateTimePair( + typing.TypedDict, total=False +): + conversionDateTime: str + gclid: str @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAdGroupThemesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroups: _list[str] keywords: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAdGroupThemesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupKeywordSuggestions: _list[ GoogleAdsSearchads360V23Services__AdGroupKeywordSuggestion @@ -16290,14 +15753,14 @@ class GoogleAdsSearchads360V23Services__GenerateAdGroupThemesResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAudienceCompositionInsightsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audience: GoogleAdsSearchads360V23Services__InsightsAudience baselineAudience: GoogleAdsSearchads360V23Services__InsightsAudience customerInsightsGroup: str dataMonth: str dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CATEGORY", @@ -16322,13 +15785,13 @@ class GoogleAdsSearchads360V23Services__GenerateAudienceCompositionInsightsReque @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAudienceCompositionInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sections: _list[GoogleAdsSearchads360V23Services__AudienceCompositionSection] @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAudienceDefinitionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audienceDescription: GoogleAdsSearchads360V23Services__InsightsAudienceDescription customerInsightsGroup: str @@ -16336,7 +15799,7 @@ class GoogleAdsSearchads360V23Services__GenerateAudienceDefinitionRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAudienceDefinitionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): highRelevanceAttributes: _list[ GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadata @@ -16347,12 +15810,12 @@ class GoogleAdsSearchads360V23Services__GenerateAudienceDefinitionResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAudienceOverlapInsightsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryLocation: GoogleAdsSearchads360V23Common__LocationInfo customerInsightsGroup: str dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CATEGORY", @@ -16378,7 +15841,7 @@ class GoogleAdsSearchads360V23Services__GenerateAudienceOverlapInsightsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateAudienceOverlapInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dimensionResults: _list[GoogleAdsSearchads360V23Services__DimensionOverlapResult] primaryAttributeMetadata: ( @@ -16387,7 +15850,7 @@ class GoogleAdsSearchads360V23Services__GenerateAudienceOverlapInsightsResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateBenchmarksMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo benchmarksSource: GoogleAdsSearchads360V23Services__BenchmarksSource @@ -16399,14 +15862,14 @@ class GoogleAdsSearchads360V23Services__GenerateBenchmarksMetricsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateBenchmarksMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageBenchmarksMetrics: GoogleAdsSearchads360V23Services__Metrics customerMetrics: GoogleAdsSearchads360V23Services__Metrics @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateConversionRatesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerId: str customerReachGroup: str @@ -16414,7 +15877,7 @@ class GoogleAdsSearchads360V23Services__GenerateConversionRatesRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateConversionRatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionRateSuggestions: _list[ GoogleAdsSearchads360V23Services__ConversionRateSuggestion @@ -16422,7 +15885,7 @@ class GoogleAdsSearchads360V23Services__GenerateConversionRatesResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateInsightsFinderReportRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): baselineAudience: GoogleAdsSearchads360V23Services__InsightsAudience customerInsightsGroup: str @@ -16431,13 +15894,13 @@ class GoogleAdsSearchads360V23Services__GenerateInsightsFinderReportRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateInsightsFinderReportResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): savedReportUrl: str @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordForecastMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: GoogleAdsSearchads360V23Services__CampaignToForecast currencyCode: str @@ -16445,19 +15908,19 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordForecastMetricsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordForecastMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignForecastMetrics: GoogleAdsSearchads360V23Services__KeywordForecastMetrics @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordHistoricalMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregateMetrics: GoogleAdsSearchads360V23Common__KeywordPlanAggregateMetrics geoTargetConstants: _list[str] historicalMetricsOptions: GoogleAdsSearchads360V23Common__HistoricalMetricsOptions includeAdultKeywords: bool - keywordPlanNetwork: typing_extensions.Literal[ + keywordPlanNetwork: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_SEARCH", "GOOGLE_SEARCH_AND_PARTNERS" ] keywords: _list[str] @@ -16465,7 +15928,7 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordHistoricalMetricsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordHistoricalMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregateMetricResults: ( GoogleAdsSearchads360V23Common__KeywordPlanAggregateMetricResults @@ -16476,7 +15939,7 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordHistoricalMetricsResponse @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordHistoricalMetricsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): closeVariants: _list[str] keywordMetrics: GoogleAdsSearchads360V23Common__KeywordPlanHistoricalMetrics @@ -16484,7 +15947,7 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordHistoricalMetricsResult( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordIdeaResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregateMetricResults: ( GoogleAdsSearchads360V23Common__KeywordPlanAggregateMetricResults @@ -16495,7 +15958,7 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordIdeaResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordIdeaResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): closeVariants: _list[str] keywordAnnotations: GoogleAdsSearchads360V23Common__KeywordAnnotations @@ -16504,7 +15967,7 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordIdeaResult( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateKeywordIdeasRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): aggregateMetrics: GoogleAdsSearchads360V23Common__KeywordPlanAggregateMetrics geoTargetConstants: _list[str] @@ -16512,9 +15975,9 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordIdeasRequest( includeAdultKeywords: bool keywordAndUrlSeed: GoogleAdsSearchads360V23Services__KeywordAndUrlSeed keywordAnnotation: _list[ - typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "KEYWORD_CONCEPT"] + typing.Literal["UNSPECIFIED", "UNKNOWN", "KEYWORD_CONCEPT"] ] - keywordPlanNetwork: typing_extensions.Literal[ + keywordPlanNetwork: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "GOOGLE_SEARCH", "GOOGLE_SEARCH_AND_PARTNERS" ] keywordSeed: GoogleAdsSearchads360V23Services__KeywordSeed @@ -16526,7 +15989,7 @@ class GoogleAdsSearchads360V23Services__GenerateKeywordIdeasRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateReachForecastRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignDuration: GoogleAdsSearchads360V23Services__CampaignDuration cookieFrequencyCap: int @@ -16542,19 +16005,19 @@ class GoogleAdsSearchads360V23Services__GenerateReachForecastRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateReachForecastResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): onTargetAudienceMetrics: GoogleAdsSearchads360V23Services__OnTargetAudienceMetrics reachCurve: GoogleAdsSearchads360V23Services__ReachCurve @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateRecommendationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupInfo: _list[ GoogleAdsSearchads360V23Services_GenerateRecommendationsRequest_AdGroupInfo ] - advertisingChannelType: typing_extensions.Literal[ + advertisingChannelType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SEARCH", @@ -16583,7 +16046,7 @@ class GoogleAdsSearchads360V23Services__GenerateRecommendationsRequest( campaignCallAssetCount: int campaignImageAssetCount: int campaignSitelinkCount: int - conversionTrackingStatus: typing_extensions.Literal[ + conversionTrackingStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "NOT_CONVERSION_TRACKED", @@ -16598,7 +16061,7 @@ class GoogleAdsSearchads360V23Services__GenerateRecommendationsRequest( negativeLocationsIds: _list[str] positiveLocationsIds: _list[str] recommendationTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CAMPAIGN_BUDGET", @@ -16663,13 +16126,13 @@ class GoogleAdsSearchads360V23Services__GenerateRecommendationsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateRecommendationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendations: _list[GoogleAdsSearchads360V23Resources__Recommendation] @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateSuggestedTargetingInsightsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audienceDefinition: GoogleAdsSearchads360V23Services__InsightsAudienceDefinition audienceDescription: GoogleAdsSearchads360V23Services__InsightsAudienceDescription @@ -16678,13 +16141,13 @@ class GoogleAdsSearchads360V23Services__GenerateSuggestedTargetingInsightsReques @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateSuggestedTargetingInsightsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleAdsSearchads360V23Services__TargetingSuggestionMetrics] @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateTargetingSuggestionMetricsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audiences: _list[GoogleAdsSearchads360V23Services__InsightsAudience] customerInsightsGroup: str @@ -16692,13 +16155,13 @@ class GoogleAdsSearchads360V23Services__GenerateTargetingSuggestionMetricsReques @typing.type_check_only class GoogleAdsSearchads360V23Services__GenerateTargetingSuggestionMetricsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestions: _list[GoogleAdsSearchads360V23Services__TargetingSuggestionMetrics] @typing.type_check_only class GoogleAdsSearchads360V23Services__GeoTargetConstantSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): geoTargetConstant: GoogleAdsSearchads360V23Resources__GeoTargetConstant geoTargetConstantParents: _list[ @@ -16710,13 +16173,13 @@ class GoogleAdsSearchads360V23Services__GeoTargetConstantSuggestion( @typing.type_check_only class GoogleAdsSearchads360V23Services__GetIdentityVerificationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityVerification: _list[GoogleAdsSearchads360V23Services__IdentityVerification] @typing.type_check_only class GoogleAdsSearchads360V23Services__GetSmartCampaignStatusResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eligibleDetails: GoogleAdsSearchads360V23Services__SmartCampaignEligibleDetails endedDetails: GoogleAdsSearchads360V23Services__SmartCampaignEndedDetails @@ -16725,7 +16188,7 @@ class GoogleAdsSearchads360V23Services__GetSmartCampaignStatusResponse( ) pausedDetails: GoogleAdsSearchads360V23Services__SmartCampaignPausedDetails removedDetails: GoogleAdsSearchads360V23Services__SmartCampaignRemovedDetails - smartCampaignStatus: typing_extensions.Literal[ + smartCampaignStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PAUSED", @@ -16737,16 +16200,14 @@ class GoogleAdsSearchads360V23Services__GetSmartCampaignStatusResponse( ] @typing.type_check_only -class GoogleAdsSearchads360V23Services__GoalOperation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__GoalOperation(typing.TypedDict, total=False): create: GoogleAdsSearchads360V23Resources__Goal update: GoogleAdsSearchads360V23Resources__Goal updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__GraduateExperimentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBudgetMappings: _list[ GoogleAdsSearchads360V23Services__CampaignBudgetMapping @@ -16755,9 +16216,9 @@ class GoogleAdsSearchads360V23Services__GraduateExperimentRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__HotelAssetSuggestion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - callToAction: typing_extensions.Literal[ + callToAction: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "LEARN_MORE", @@ -16782,16 +16243,14 @@ class GoogleAdsSearchads360V23Services__HotelAssetSuggestion( hotelName: str imageAssets: _list[GoogleAdsSearchads360V23Services__HotelImageAsset] placeId: str - status: typing_extensions.Literal[ + status: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SUCCESS", "HOTEL_NOT_FOUND", "INVALID_PLACE_ID" ] textAssets: _list[GoogleAdsSearchads360V23Services__HotelTextAsset] @typing.type_check_only -class GoogleAdsSearchads360V23Services__HotelImageAsset( - typing_extensions.TypedDict, total=False -): - assetFieldType: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Services__HotelImageAsset(typing.TypedDict, total=False): + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -16831,10 +16290,8 @@ class GoogleAdsSearchads360V23Services__HotelImageAsset( uri: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__HotelTextAsset( - typing_extensions.TypedDict, total=False -): - assetFieldType: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Services__HotelTextAsset(typing.TypedDict, total=False): + assetFieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -16875,23 +16332,23 @@ class GoogleAdsSearchads360V23Services__HotelTextAsset( @typing.type_check_only class GoogleAdsSearchads360V23Services__IdentityVerification( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identityVerificationRequirement: ( GoogleAdsSearchads360V23Services__IdentityVerificationRequirement ) - verificationProgram: typing_extensions.Literal[ + verificationProgram: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER_IDENTITY_VERIFICATION" ] verificationProgress: GoogleAdsSearchads360V23Services__IdentityVerificationProgress @typing.type_check_only class GoogleAdsSearchads360V23Services__IdentityVerificationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): actionUrl: str invitationLinkExpirationTime: str - programStatus: typing_extensions.Literal[ + programStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PENDING_USER_ACTION", @@ -16902,42 +16359,34 @@ class GoogleAdsSearchads360V23Services__IdentityVerificationProgress( @typing.type_check_only class GoogleAdsSearchads360V23Services__IdentityVerificationRequirement( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): verificationCompletionDeadlineTime: str verificationStartDeadlineTime: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__Incentive( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__Incentive(typing.TypedDict, total=False): incentiveId: str incentiveTermsAndConditionsUrl: str requirement: GoogleAdsSearchads360V23Services_Incentive_Requirement - type: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "ACQUISITION"] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "ACQUISITION"] @typing.type_check_only -class GoogleAdsSearchads360V23Services__IncentiveOffer( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__IncentiveOffer(typing.TypedDict, total=False): consolidatedTermsAndConditionsUrl: str cyoIncentives: GoogleAdsSearchads360V23Services__CyoIncentives - type: typing_extensions.Literal[ - "UNSPECIFIED", "UNKNOWN", "NO_INCENTIVE", "CYO_INCENTIVE" - ] + type: typing.Literal["UNSPECIFIED", "UNKNOWN", "NO_INCENTIVE", "CYO_INCENTIVE"] @typing.type_check_only class GoogleAdsSearchads360V23Services__IndustryVerticalInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): industryVerticalId: str industryVerticalName: str parentIndustryVerticalId: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__InsightsAudience( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__InsightsAudience(typing.TypedDict, total=False): ageRanges: _list[GoogleAdsSearchads360V23Common__AgeRangeInfo] countryLocations: _list[GoogleAdsSearchads360V23Common__LocationInfo] gender: GoogleAdsSearchads360V23Common__GenderInfo @@ -16952,13 +16401,13 @@ class GoogleAdsSearchads360V23Services__InsightsAudience( @typing.type_check_only class GoogleAdsSearchads360V23Services__InsightsAudienceAttributeGroup( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleAdsSearchads360V23Common__AudienceInsightsAttribute] @typing.type_check_only class GoogleAdsSearchads360V23Services__InsightsAudienceDefinition( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audience: GoogleAdsSearchads360V23Services__InsightsAudience baselineAudience: GoogleAdsSearchads360V23Services__InsightsAudience @@ -16966,25 +16415,25 @@ class GoogleAdsSearchads360V23Services__InsightsAudienceDefinition( @typing.type_check_only class GoogleAdsSearchads360V23Services__InsightsAudienceDescription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audienceDescription: str audienceDimensions: GoogleAdsSearchads360V23Services__AudienceInsightsDimensions countryLocations: _list[GoogleAdsSearchads360V23Common__LocationInfo] - marketingObjective: typing_extensions.Literal[ + marketingObjective: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AWARENESS", "CONSIDERATION", "RESEARCH" ] @typing.type_check_only class GoogleAdsSearchads360V23Services__KeywordAndUrlSeed( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywords: _list[str] url: str @typing.type_check_only class GoogleAdsSearchads360V23Services__KeywordForecastMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageCpaMicros: str averageCpcMicros: str @@ -16997,7 +16446,7 @@ class GoogleAdsSearchads360V23Services__KeywordForecastMetrics( @typing.type_check_only class GoogleAdsSearchads360V23Services__KeywordPlanAdGroupKeywordOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__KeywordPlanAdGroupKeyword remove: str @@ -17006,7 +16455,7 @@ class GoogleAdsSearchads360V23Services__KeywordPlanAdGroupKeywordOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__KeywordPlanAdGroupOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__KeywordPlanAdGroup remove: str @@ -17015,7 +16464,7 @@ class GoogleAdsSearchads360V23Services__KeywordPlanAdGroupOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__KeywordPlanCampaignKeywordOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__KeywordPlanCampaignKeyword remove: str @@ -17024,7 +16473,7 @@ class GoogleAdsSearchads360V23Services__KeywordPlanCampaignKeywordOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__KeywordPlanCampaignOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__KeywordPlanCampaign remove: str @@ -17033,7 +16482,7 @@ class GoogleAdsSearchads360V23Services__KeywordPlanCampaignOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__KeywordPlanOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__KeywordPlan remove: str @@ -17041,15 +16490,11 @@ class GoogleAdsSearchads360V23Services__KeywordPlanOperation( updateMask: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__KeywordSeed( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__KeywordSeed(typing.TypedDict, total=False): keywords: _list[str] @typing.type_check_only -class GoogleAdsSearchads360V23Services__LabelOperation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__LabelOperation(typing.TypedDict, total=False): create: GoogleAdsSearchads360V23Resources__Label remove: str update: GoogleAdsSearchads360V23Resources__Label @@ -17057,17 +16502,17 @@ class GoogleAdsSearchads360V23Services__LabelOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__ListAccessibleCustomersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceNames: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListAudienceInsightsAttributesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerInsightsGroup: str dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "CATEGORY", @@ -17095,50 +16540,50 @@ class GoogleAdsSearchads360V23Services__ListAudienceInsightsAttributesRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__ListAudienceInsightsAttributesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleAdsSearchads360V23Common__AudienceInsightsAttributeMetadata] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBatchJobResultsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str results: _list[GoogleAdsSearchads360V23Services__BatchJobResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksAvailableDatesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksAvailableDatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): supportedDates: GoogleAdsSearchads360V23Common__DateRange @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksLocationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksLocationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): benchmarksLocations: _list[GoogleAdsSearchads360V23Services__BenchmarksLocation] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksProductsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksProductsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): benchmarksProducts: _list[ GoogleAdsSearchads360V23Services__BenchmarksProductMetadata @@ -17146,99 +16591,99 @@ class GoogleAdsSearchads360V23Services__ListBenchmarksProductsResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksSourcesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): applicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo benchmarksSources: _list[ - typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "INDUSTRY_VERTICAL"] + typing.Literal["UNSPECIFIED", "UNKNOWN", "INDUSTRY_VERTICAL"] ] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListBenchmarksSourcesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): benchmarksSources: _list[GoogleAdsSearchads360V23Services__BenchmarksSourceMetadata] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListCampaignDraftAsyncErrorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleRpc__Status] nextPageToken: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ListCustomColumnsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customColumns: _list[GoogleAdsSearchads360V23Resources__CustomColumn] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListExperimentAsyncErrorsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): errors: _list[GoogleRpc__Status] nextPageToken: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ListInsightsEligibleDatesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): insightsApplicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__ListInsightsEligibleDatesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataMonths: _list[str] lastThirtyDays: GoogleAdsSearchads360V23Common__DateRange @typing.type_check_only class GoogleAdsSearchads360V23Services__ListInvoicesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): invoices: _list[GoogleAdsSearchads360V23Resources__Invoice] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPaymentsAccountsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): paymentsAccounts: _list[GoogleAdsSearchads360V23Resources__PaymentsAccount] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableLocationsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): reachApplicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableLocationsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): plannableLocations: _list[GoogleAdsSearchads360V23Services__PlannableLocation] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableProductsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): plannableLocationId: str reachApplicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableProductsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): productMetadata: _list[GoogleAdsSearchads360V23Services__ProductMetadata] @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableUserInterestsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerId: str nameQuery: str pathQuery: str reachApplicationInfo: GoogleAdsSearchads360V23Common__AdditionalApplicationInfo userInterestTaxonomyTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AFFINITY", @@ -17251,7 +16696,7 @@ class GoogleAdsSearchads360V23Services__ListPlannableUserInterestsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableUserInterestsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): plannableUserInterests: _list[ GoogleAdsSearchads360V23Services__PlannableUserInterest @@ -17259,7 +16704,7 @@ class GoogleAdsSearchads360V23Services__ListPlannableUserInterestsResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableUserListsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerId: str customerReachGroup: str @@ -17267,46 +16712,42 @@ class GoogleAdsSearchads360V23Services__ListPlannableUserListsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__ListPlannableUserListsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): plannableUserLists: _list[GoogleAdsSearchads360V23Services__PlannableUserList] @typing.type_check_only class GoogleAdsSearchads360V23Services__ManualCpcBiddingStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dailyBudgetMicros: str maxCpcBidMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MaximizeClicksBiddingStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dailyTargetSpendMicros: str maxCpcBidCeilingMicros: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MaximizeConversionsBiddingStrategy( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dailyTargetSpendMicros: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__MetricAttributes( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__MetricAttributes(typing.TypedDict, total=False): attributes: _list[GoogleAdsSearchads360V23Services_MetricAttributes_Attribute] name: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__Metrics( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__Metrics(typing.TypedDict, total=False): averageRateMetrics: GoogleAdsSearchads360V23Services__RateMetrics @typing.type_check_only class GoogleAdsSearchads360V23Services__MoveManagerLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): newManager: str previousCustomerManagerLink: str @@ -17314,32 +16755,32 @@ class GoogleAdsSearchads360V23Services__MoveManagerLinkRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MoveManagerLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAccountBudgetProposalRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__AccountBudgetProposalOperation validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAccountBudgetProposalResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateAccountBudgetProposalResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAccountBudgetProposalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAccountLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__AccountLinkOperation partialFailure: bool @@ -17347,26 +16788,26 @@ class GoogleAdsSearchads360V23Services__MutateAccountLinkRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAccountLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status result: GoogleAdsSearchads360V23Services__MutateAccountLinkResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAccountLinkResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAdLabelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAdLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupAdLabelOperation] partialFailure: bool @@ -17374,132 +16815,132 @@ class GoogleAdsSearchads360V23Services__MutateAdGroupAdLabelsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAdLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupAdLabelResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAdResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupAd: GoogleAdsSearchads360V23Resources__AdGroupAd resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAdsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupAdOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAdsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupAdResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAssetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupAsset: GoogleAdsSearchads360V23Resources__AdGroupAsset resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAssetSetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupAssetSet: GoogleAdsSearchads360V23Resources__AdGroupAssetSet resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAssetSetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupAssetSetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAssetSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupAssetSetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupAssetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupAssetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupAssetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupBidModifierResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupBidModifier: GoogleAdsSearchads360V23Resources__AdGroupBidModifier resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupBidModifiersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupBidModifierOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupBidModifiersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupBidModifierResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriteriaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupCriterionOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriteriaResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupCriterionResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionCustomizerResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCriterionCustomizer: ( GoogleAdsSearchads360V23Resources__AdGroupCriterionCustomizer @@ -17508,20 +16949,20 @@ class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionCustomizerResult( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionCustomizersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__AdGroupCriterionCustomizerOperation ] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionCustomizersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -17530,13 +16971,13 @@ class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionCustomizersRespons @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionLabelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupCriterionLabelOperation] partialFailure: bool @@ -17544,52 +16985,52 @@ class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionLabelsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupCriterionLabelResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCriterionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCriterion: GoogleAdsSearchads360V23Resources__AdGroupCriterion resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCustomizerResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupCustomizer: GoogleAdsSearchads360V23Resources__AdGroupCustomizer resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCustomizersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupCustomizerOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupCustomizersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupCustomizerResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupLabelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupLabelOperation] partialFailure: bool @@ -17597,95 +17038,91 @@ class GoogleAdsSearchads360V23Services__MutateAdGroupLabelsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupLabelResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroup: GoogleAdsSearchads360V23Resources__AdGroup resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdGroupOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdGroupResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdParameterResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adParameter: GoogleAdsSearchads360V23Resources__AdParameter resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdParametersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AdParameterOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdParametersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdParameterResult] @typing.type_check_only -class GoogleAdsSearchads360V23Services__MutateAdResult( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__MutateAdResult(typing.TypedDict, total=False): ad: GoogleAdsSearchads360V23Resources__Ad resourceName: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__MutateAdsRequest( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__MutateAdsRequest(typing.TypedDict, total=False): operations: _list[GoogleAdsSearchads360V23Services__AdOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAdsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAdResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupAssetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AssetGroupAssetOperation] partialFailure: bool @@ -17693,14 +17130,14 @@ class GoogleAdsSearchads360V23Services__MutateAssetGroupAssetsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupAssetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAssetGroupAssetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupListingGroupFilterResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroupListingGroupFilter: ( GoogleAdsSearchads360V23Resources__AssetGroupListingGroupFilter @@ -17709,19 +17146,19 @@ class GoogleAdsSearchads360V23Services__MutateAssetGroupListingGroupFilterResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupListingGroupFiltersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__AssetGroupListingGroupFilterOperation ] - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupListingGroupFiltersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[ GoogleAdsSearchads360V23Services__MutateAssetGroupListingGroupFilterResult @@ -17729,208 +17166,208 @@ class GoogleAdsSearchads360V23Services__MutateAssetGroupListingGroupFiltersRespo @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupSignalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetGroupSignal: GoogleAdsSearchads360V23Resources__AssetGroupSignal resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupSignalsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AssetGroupSignalOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupSignalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAssetGroupSignalResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AssetGroupOperation] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAssetGroupResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: GoogleAdsSearchads360V23Resources__Asset resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetSetAssetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetSetAsset: GoogleAdsSearchads360V23Resources__AssetSetAsset resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetSetAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AssetSetAssetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetSetAssetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAssetSetAssetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetSetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetSet: GoogleAdsSearchads360V23Resources__AssetSet resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetSetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AssetSetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAssetSetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AssetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAssetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAssetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAudienceResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audience: GoogleAdsSearchads360V23Resources__Audience resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAudiencesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__AudienceOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateAudiencesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateAudienceResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBatchJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__BatchJobOperation @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBatchJobResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateBatchJobResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBatchJobResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingDataExclusionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__BiddingDataExclusionOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingDataExclusionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateBiddingDataExclusionsResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingDataExclusionsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddingDataExclusion: GoogleAdsSearchads360V23Resources__BiddingDataExclusion resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingSeasonalityAdjustmentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__BiddingSeasonalityAdjustmentOperation ] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingSeasonalityAdjustmentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -17939,7 +17376,7 @@ class GoogleAdsSearchads360V23Services__MutateBiddingSeasonalityAdjustmentsRespo @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingSeasonalityAdjustmentsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddingSeasonalityAdjustment: ( GoogleAdsSearchads360V23Resources__BiddingSeasonalityAdjustment @@ -17948,250 +17385,250 @@ class GoogleAdsSearchads360V23Services__MutateBiddingSeasonalityAdjustmentsResul @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingStrategiesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__BiddingStrategyOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingStrategiesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateBiddingStrategyResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBiddingStrategyResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): biddingStrategy: GoogleAdsSearchads360V23Resources__BiddingStrategy resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBillingSetupRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__BillingSetupOperation @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBillingSetupResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateBillingSetupResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateBillingSetupResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignAssetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignAsset: GoogleAdsSearchads360V23Resources__CampaignAsset resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignAssetSetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignAssetSet: GoogleAdsSearchads360V23Resources__CampaignAssetSet resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignAssetSetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignAssetSetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignAssetSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignAssetSetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignAssetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignAssetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignAssetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignBidModifierResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBidModifier: GoogleAdsSearchads360V23Resources__CampaignBidModifier resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignBidModifiersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignBidModifierOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignBidModifiersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignBidModifierResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignBudgetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignBudget: GoogleAdsSearchads360V23Resources__CampaignBudget resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignBudgetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignBudgetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignBudgetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignBudgetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignConversionGoalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignConversionGoalsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignConversionGoalOperation] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignConversionGoalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleAdsSearchads360V23Services__MutateCampaignConversionGoalResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignCriteriaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignCriterionOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignCriteriaResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignCriterionResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignCriterionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignCriterion: GoogleAdsSearchads360V23Resources__CampaignCriterion resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignCustomizerResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignCustomizer: GoogleAdsSearchads360V23Resources__CampaignCustomizer resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignCustomizersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignCustomizerOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignCustomizersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignCustomizerResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignDraftResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignDraft: GoogleAdsSearchads360V23Resources__CampaignDraft resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignDraftsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignDraftOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignDraftsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignDraftResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignGoalConfigResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignGoalConfigsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignGoalConfigOperation] partialFailure: bool @@ -18199,45 +17636,45 @@ class GoogleAdsSearchads360V23Services__MutateCampaignGoalConfigsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignGoalConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignGoalConfigResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignGroupResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignGroup: GoogleAdsSearchads360V23Resources__CampaignGroup resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignGroupsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignGroupOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignGroupResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignLabelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignLabelOperation] partialFailure: bool @@ -18245,89 +17682,89 @@ class GoogleAdsSearchads360V23Services__MutateCampaignLabelsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignLabelResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: GoogleAdsSearchads360V23Resources__Campaign resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignSharedSetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaignSharedSet: GoogleAdsSearchads360V23Resources__CampaignSharedSet resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignSharedSetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignSharedSetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignSharedSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignSharedSetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CampaignOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCampaignsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCampaignResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionActionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionAction: GoogleAdsSearchads360V23Resources__ConversionAction resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionActionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__ConversionActionOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionActionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateConversionActionResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionCustomVariableResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionCustomVariable: ( GoogleAdsSearchads360V23Resources__ConversionCustomVariable @@ -18336,20 +17773,20 @@ class GoogleAdsSearchads360V23Services__MutateConversionCustomVariableResult( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionCustomVariablesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__ConversionCustomVariableOperation ] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionCustomVariablesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -18358,7 +17795,7 @@ class GoogleAdsSearchads360V23Services__MutateConversionCustomVariablesResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionGoalCampaignConfigResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionGoalCampaignConfig: ( GoogleAdsSearchads360V23Resources__ConversionGoalCampaignConfig @@ -18367,19 +17804,19 @@ class GoogleAdsSearchads360V23Services__MutateConversionGoalCampaignConfigResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionGoalCampaignConfigsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__ConversionGoalCampaignConfigOperation ] - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionGoalCampaignConfigsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[ GoogleAdsSearchads360V23Services__MutateConversionGoalCampaignConfigResult @@ -18387,237 +17824,237 @@ class GoogleAdsSearchads360V23Services__MutateConversionGoalCampaignConfigsRespo @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionValueRuleResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionValueRule: GoogleAdsSearchads360V23Resources__ConversionValueRule resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionValueRuleSetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionValueRuleSet: GoogleAdsSearchads360V23Resources__ConversionValueRuleSet resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionValueRuleSetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__ConversionValueRuleSetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionValueRuleSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateConversionValueRuleSetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionValueRulesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__ConversionValueRuleOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateConversionValueRulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateConversionValueRuleResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomAudienceResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomAudiencesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomAudienceOperation] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomAudiencesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleAdsSearchads360V23Services__MutateCustomAudienceResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomConversionGoalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customConversionGoal: GoogleAdsSearchads360V23Resources__CustomConversionGoal resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomConversionGoalsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomConversionGoalOperation] - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomConversionGoalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleAdsSearchads360V23Services__MutateCustomConversionGoalResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomInterestResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomInterestsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomInterestOperation] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomInterestsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleAdsSearchads360V23Services__MutateCustomInterestResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerAssetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerAsset: GoogleAdsSearchads360V23Resources__CustomerAsset resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerAssetSetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerAssetSet: GoogleAdsSearchads360V23Resources__CustomerAssetSet resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerAssetSetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomerAssetSetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerAssetSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCustomerAssetSetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomerAssetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerAssetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCustomerAssetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerClientLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__CustomerClientLinkOperation validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerClientLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateCustomerClientLinkResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerClientLinkResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerConversionGoalResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerConversionGoalsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomerConversionGoalOperation] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerConversionGoalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleAdsSearchads360V23Services__MutateCustomerConversionGoalResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerCustomizerResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerCustomizer: GoogleAdsSearchads360V23Resources__CustomerCustomizer resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerCustomizersRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomerCustomizerOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerCustomizersResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCustomerCustomizerResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerLabelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomerLabelOperation] partialFailure: bool @@ -18625,46 +18062,46 @@ class GoogleAdsSearchads360V23Services__MutateCustomerLabelsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCustomerLabelResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerManagerLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomerManagerLinkOperation] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerManagerLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: _list[GoogleAdsSearchads360V23Services__MutateCustomerManagerLinkResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerManagerLinkResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerNegativeCriteriaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__CustomerNegativeCriterionOperation ] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerNegativeCriteriaResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -18673,7 +18110,7 @@ class GoogleAdsSearchads360V23Services__MutateCustomerNegativeCriteriaResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerNegativeCriteriaResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerNegativeCriterion: ( GoogleAdsSearchads360V23Resources__CustomerNegativeCriterion @@ -18682,30 +18119,30 @@ class GoogleAdsSearchads360V23Services__MutateCustomerNegativeCriteriaResult( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__CustomerOperation - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateCustomerResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customer: GoogleAdsSearchads360V23Resources__Customer resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerSkAdNetworkConversionValueSchemaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): enableWarnings: bool operation: GoogleAdsSearchads360V23Services__CustomerSkAdNetworkConversionValueSchemaOperation @@ -18713,113 +18150,113 @@ class GoogleAdsSearchads360V23Services__MutateCustomerSkAdNetworkConversionValue @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerSkAdNetworkConversionValueSchemaResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateCustomerSkAdNetworkConversionValueSchemaResult warning: GoogleRpc__Status @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerSkAdNetworkConversionValueSchemaResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): appId: str resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerUserAccessInvitationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__CustomerUserAccessInvitationOperation @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerUserAccessInvitationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateCustomerUserAccessInvitationResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerUserAccessInvitationResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerUserAccessRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operation: GoogleAdsSearchads360V23Services__CustomerUserAccessOperation @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerUserAccessResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: GoogleAdsSearchads360V23Services__MutateCustomerUserAccessResult @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomerUserAccessResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomizerAttributeResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customizerAttribute: GoogleAdsSearchads360V23Resources__CustomizerAttribute resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomizerAttributesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__CustomizerAttributeOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateCustomizerAttributesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateCustomizerAttributeResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateExperimentArmResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experimentArm: GoogleAdsSearchads360V23Resources__ExperimentArm resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateExperimentArmsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__ExperimentArmOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateExperimentArmsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateExperimentArmResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateExperimentResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateExperimentsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__ExperimentOperation] partialFailure: bool @@ -18827,20 +18264,18 @@ class GoogleAdsSearchads360V23Services__MutateExperimentsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateExperimentsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateExperimentResult] @typing.type_check_only -class GoogleAdsSearchads360V23Services__MutateGoalResult( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__MutateGoalResult(typing.TypedDict, total=False): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateGoalsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__GoalOperation] partialFailure: bool @@ -18848,20 +18283,20 @@ class GoogleAdsSearchads360V23Services__MutateGoalsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateGoalsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateGoalResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupKeywordResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupKeywordsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__KeywordPlanAdGroupKeywordOperation @@ -18871,7 +18306,7 @@ class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupKeywordsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupKeywordsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -18880,13 +18315,13 @@ class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupKeywordsResponse @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__KeywordPlanAdGroupOperation] partialFailure: bool @@ -18894,20 +18329,20 @@ class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateKeywordPlanAdGroupResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignKeywordResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignKeywordsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__KeywordPlanCampaignKeywordOperation @@ -18917,7 +18352,7 @@ class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignKeywordsRequest @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignKeywordsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -18926,13 +18361,13 @@ class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignKeywordsRespons @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__KeywordPlanCampaignOperation] partialFailure: bool @@ -18940,14 +18375,14 @@ class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateKeywordPlanCampaignResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlansRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__KeywordPlanOperation] partialFailure: bool @@ -18955,46 +18390,44 @@ class GoogleAdsSearchads360V23Services__MutateKeywordPlansRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlansResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateKeywordPlansResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateKeywordPlansResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateLabelResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): label: GoogleAdsSearchads360V23Resources__Label resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateLabelsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__LabelOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateLabelsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateLabelResult] @typing.type_check_only -class GoogleAdsSearchads360V23Services__MutateOperation( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__MutateOperation(typing.TypedDict, total=False): adGroupAdLabelOperation: GoogleAdsSearchads360V23Services__AdGroupAdLabelOperation adGroupAdOperation: GoogleAdsSearchads360V23Services__AdGroupAdOperation adGroupAssetOperation: GoogleAdsSearchads360V23Services__AdGroupAssetOperation @@ -19127,7 +18560,7 @@ class GoogleAdsSearchads360V23Services__MutateOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateOperationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adGroupAdLabelResult: GoogleAdsSearchads360V23Services__MutateAdGroupAdLabelResult adGroupAdResult: GoogleAdsSearchads360V23Services__MutateAdGroupAdResult @@ -19261,20 +18694,20 @@ class GoogleAdsSearchads360V23Services__MutateOperationResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateRecommendationSubscriptionRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__RecommendationSubscriptionOperation ] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateRecommendationSubscriptionResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[ @@ -19283,7 +18716,7 @@ class GoogleAdsSearchads360V23Services__MutateRecommendationSubscriptionResponse @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateRecommendationSubscriptionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): recommendationSubscription: ( GoogleAdsSearchads360V23Resources__RecommendationSubscription @@ -19292,13 +18725,13 @@ class GoogleAdsSearchads360V23Services__MutateRecommendationSubscriptionResult( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateRemarketingActionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateRemarketingActionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__RemarketingActionOperation] partialFailure: bool @@ -19306,32 +18739,49 @@ class GoogleAdsSearchads360V23Services__MutateRemarketingActionsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateRemarketingActionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateRemarketingActionResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str searchAds360Campaign: GoogleAdsSearchads360V23Resources__SearchAds360Campaign +@typing.type_check_only +class GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignsRequest( + typing.TypedDict, total=False +): + operations: _list[GoogleAdsSearchads360V23Services__SearchAds360CampaignOperation] + partialFailure: bool + responseContentType: typing.Literal[ + "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" + ] + validateOnly: bool + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignsResponse( + typing.TypedDict, total=False +): + results: _list[GoogleAdsSearchads360V23Services__MutateSearchAds360CampaignResult] + @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSearchAds360Request( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mutateOperations: _list[GoogleAdsSearchads360V23Services__MutateOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSearchAds360Response( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): mutateOperationResponses: _list[ GoogleAdsSearchads360V23Services__MutateOperationResponse @@ -19340,88 +18790,88 @@ class GoogleAdsSearchads360V23Services__MutateSearchAds360Response( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSharedCriteriaRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__SharedCriterionOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSharedCriteriaResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateSharedCriterionResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSharedCriterionResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str sharedCriterion: GoogleAdsSearchads360V23Resources__SharedCriterion @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSharedSetResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str sharedSet: GoogleAdsSearchads360V23Resources__SharedSet @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSharedSetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__SharedSetOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSharedSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateSharedSetResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSmartCampaignSettingResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str smartCampaignSetting: GoogleAdsSearchads360V23Resources__SmartCampaignSetting @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSmartCampaignSettingsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__SmartCampaignSettingOperation] partialFailure: bool - responseContentType: typing_extensions.Literal[ + responseContentType: typing.Literal[ "UNSPECIFIED", "RESOURCE_NAME_ONLY", "MUTABLE_RESOURCE" ] validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateSmartCampaignSettingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateSmartCampaignSettingResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateUserListCustomerTypeResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateUserListCustomerTypesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__UserListCustomerTypeOperation] partialFailure: bool @@ -19429,20 +18879,20 @@ class GoogleAdsSearchads360V23Services__MutateUserListCustomerTypesRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateUserListCustomerTypesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateUserListCustomerTypeResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateUserListResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateUserListsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[GoogleAdsSearchads360V23Services__UserListOperation] partialFailure: bool @@ -19450,14 +18900,14 @@ class GoogleAdsSearchads360V23Services__MutateUserListsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__MutateUserListsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status results: _list[GoogleAdsSearchads360V23Services__MutateUserListResult] @typing.type_check_only class GoogleAdsSearchads360V23Services__OfflineUserDataJobOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Common__UserData remove: GoogleAdsSearchads360V23Common__UserData @@ -19465,14 +18915,14 @@ class GoogleAdsSearchads360V23Services__OfflineUserDataJobOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__OnTargetAudienceMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): censusAudienceSize: str youtubeAudienceSize: str @typing.type_check_only class GoogleAdsSearchads360V23Services__PlannableLocation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str id: str @@ -19482,10 +18932,10 @@ class GoogleAdsSearchads360V23Services__PlannableLocation( @typing.type_check_only class GoogleAdsSearchads360V23Services__PlannableTargeting( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ageRanges: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AGE_RANGE_18_24", @@ -19519,7 +18969,7 @@ class GoogleAdsSearchads360V23Services__PlannableTargeting( devices: _list[GoogleAdsSearchads360V23Common__DeviceInfo] genders: _list[GoogleAdsSearchads360V23Common__GenderInfo] networks: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YOUTUBE", @@ -19532,12 +18982,12 @@ class GoogleAdsSearchads360V23Services__PlannableTargeting( @typing.type_check_only class GoogleAdsSearchads360V23Services__PlannableUserInterest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): userInterest: GoogleAdsSearchads360V23Common__UserInterestInfo userInterestDisplayName: str userInterestPath: str - userInterestType: typing_extensions.Literal[ + userInterestType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AFFINITY", @@ -19549,17 +18999,17 @@ class GoogleAdsSearchads360V23Services__PlannableUserInterest( @typing.type_check_only class GoogleAdsSearchads360V23Services__PlannableUserList( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str - plannableStatus: typing_extensions.Literal[ + plannableStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "PLANNABLE", "UNPLANNABLE" ] plannableUserListMetadata: ( GoogleAdsSearchads360V23Services__PlannableUserListMetadata ) userListInfo: GoogleAdsSearchads360V23Common__UserListInfo - userListType: typing_extensions.Literal[ + userListType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REMARKETING", @@ -19573,9 +19023,9 @@ class GoogleAdsSearchads360V23Services__PlannableUserList( @typing.type_check_only class GoogleAdsSearchads360V23Services__PlannableUserListMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - userListCrmDataSourceType: typing_extensions.Literal[ + userListCrmDataSourceType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "FIRST_PARTY", @@ -19585,9 +19035,7 @@ class GoogleAdsSearchads360V23Services__PlannableUserListMetadata( ] @typing.type_check_only -class GoogleAdsSearchads360V23Services__PlannedProduct( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__PlannedProduct(typing.TypedDict, total=False): advancedProductTargeting: GoogleAdsSearchads360V23Services__AdvancedProductTargeting budgetMicros: str conversionRate: float @@ -19595,7 +19043,7 @@ class GoogleAdsSearchads360V23Services__PlannedProduct( @typing.type_check_only class GoogleAdsSearchads360V23Services__PlannedProductForecast( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): averageFrequency: float conversions: float @@ -19612,52 +19060,48 @@ class GoogleAdsSearchads360V23Services__PlannedProductForecast( @typing.type_check_only class GoogleAdsSearchads360V23Services__PlannedProductReachForecast( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): costMicros: str plannableProductCode: str plannedProductForecast: GoogleAdsSearchads360V23Services__PlannedProductForecast @typing.type_check_only -class GoogleAdsSearchads360V23Services__ProductFilter( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__ProductFilter(typing.TypedDict, total=False): marketingObjectiveList: ( GoogleAdsSearchads360V23Services_ProductFilter_MarketingObjectiveList ) productList: GoogleAdsSearchads360V23Services_ProductFilter_ProductList @typing.type_check_only -class GoogleAdsSearchads360V23Services__ProductMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__ProductMetadata(typing.TypedDict, total=False): plannableProductCode: str plannableProductName: str plannableTargeting: GoogleAdsSearchads360V23Services__PlannableTargeting @typing.type_check_only class GoogleAdsSearchads360V23Services__PromoteCampaignDraftRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__PromoteExperimentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experiment: str @typing.type_check_only class GoogleAdsSearchads360V23Services__PromoteExperimentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__ProvideLeadFeedbackRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - surveyAnswer: typing_extensions.Literal[ + surveyAnswer: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "VERY_SATISFIED", @@ -19671,9 +19115,9 @@ class GoogleAdsSearchads360V23Services__ProvideLeadFeedbackRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__ProvideLeadFeedbackResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - creditIssuanceDecision: typing_extensions.Literal[ + creditIssuanceDecision: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "SUCCESS_NOT_REACHED_THRESHOLD", @@ -19683,9 +19127,7 @@ class GoogleAdsSearchads360V23Services__ProvideLeadFeedbackResponse( ] @typing.type_check_only -class GoogleAdsSearchads360V23Services__RateMetrics( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__RateMetrics(typing.TypedDict, total=False): activeViewViewability: float averageActiveViewCpm: float averageCpc: float @@ -19704,28 +19146,24 @@ class GoogleAdsSearchads360V23Services__RateMetrics( @typing.type_check_only class GoogleAdsSearchads360V23Services__RawEventConversionDimensionHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleAdsSearchads360V23Services__RawEventConversionMetricHeader( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__ReachCurve( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__ReachCurve(typing.TypedDict, total=False): reachForecasts: _list[GoogleAdsSearchads360V23Services__ReachForecast] @typing.type_check_only -class GoogleAdsSearchads360V23Services__ReachForecast( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__ReachForecast(typing.TypedDict, total=False): costMicros: str forecast: GoogleAdsSearchads360V23Services__Forecast plannedProductReachForecasts: _list[ @@ -19734,7 +19172,7 @@ class GoogleAdsSearchads360V23Services__ReachForecast( @typing.type_check_only class GoogleAdsSearchads360V23Services__RecommendationSubscriptionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__RecommendationSubscription update: GoogleAdsSearchads360V23Resources__RecommendationSubscription @@ -19742,17 +19180,17 @@ class GoogleAdsSearchads360V23Services__RecommendationSubscriptionOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__RegenerateShareableLinkIdRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Services__RegenerateShareableLinkIdResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Services__RemarketingActionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__RemarketingAction update: GoogleAdsSearchads360V23Resources__RemarketingAction @@ -19760,17 +19198,17 @@ class GoogleAdsSearchads360V23Services__RemarketingActionOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveAutomaticallyCreatedAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): assetsWithFieldType: _list[GoogleAdsSearchads360V23Services__AssetsWithFieldType] @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveCampaignAutomaticallyCreatedAssetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): asset: str campaign: str - fieldType: typing_extensions.Literal[ + fieldType: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "HEADLINE", @@ -19810,7 +19248,7 @@ class GoogleAdsSearchads360V23Services__RemoveCampaignAutomaticallyCreatedAssetO @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveCampaignAutomaticallyCreatedAssetRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): operations: _list[ GoogleAdsSearchads360V23Services__RemoveCampaignAutomaticallyCreatedAssetOperation @@ -19819,81 +19257,84 @@ class GoogleAdsSearchads360V23Services__RemoveCampaignAutomaticallyCreatedAssetR @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveCampaignAutomaticallyCreatedAssetResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): partialFailureError: GoogleRpc__Status @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveDataLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveDataLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveProductLinkInvitationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveProductLinkInvitationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveProductLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__RemoveProductLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str +@typing.type_check_only +class GoogleAdsSearchads360V23Services__RestatementValue(typing.TypedDict, total=False): + adjustedValue: float + currencyCode: str + @typing.type_check_only class GoogleAdsSearchads360V23Services__RunBatchJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleAdsSearchads360V23Services__RunOfflineUserDataJobRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__ScheduleExperimentMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): experiment: str @typing.type_check_only class GoogleAdsSearchads360V23Services__ScheduleExperimentRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): validateOnly: bool @typing.type_check_only class GoogleAdsSearchads360V23Services__SearchAds360CampaignOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__SearchAds360Campaign updateMask: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__SearchAds360Row( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__SearchAds360Row(typing.TypedDict, total=False): accessibleBiddingStrategy: ( GoogleAdsSearchads360V23Resources__AccessibleBiddingStrategy ) @@ -20158,7 +19599,7 @@ class GoogleAdsSearchads360V23Services__SearchAds360Row( @typing.type_check_only class GoogleAdsSearchads360V23Services__SearchSearchAds360FieldsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @@ -20166,7 +19607,7 @@ class GoogleAdsSearchads360V23Services__SearchSearchAds360FieldsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__SearchSearchAds360FieldsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str results: _list[GoogleAdsSearchads360V23Resources__SearchAds360Field] @@ -20174,7 +19615,7 @@ class GoogleAdsSearchads360V23Services__SearchSearchAds360FieldsResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__SearchSearchAds360Request( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pageSize: int pageToken: str @@ -20184,7 +19625,7 @@ class GoogleAdsSearchads360V23Services__SearchSearchAds360Request( @typing.type_check_only class GoogleAdsSearchads360V23Services__SearchSearchAds360Response( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): conversionCustomDimensionHeaders: _list[ GoogleAdsSearchads360V23Services__ConversionCustomDimensionHeader @@ -20208,23 +19649,34 @@ class GoogleAdsSearchads360V23Services__SearchSearchAds360Response( totalResultsCount: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__SearchSettings( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__SearchSettings(typing.TypedDict, total=False): omitResults: bool returnSummaryRow: bool returnTotalResultsCount: bool +@typing.type_check_only +class GoogleAdsSearchads360V23Services__SessionAttributeKeyValuePair( + typing.TypedDict, total=False +): + sessionAttributeKey: str + sessionAttributeValue: str + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__SessionAttributesKeyValuePairs( + typing.TypedDict, total=False +): + keyValuePairs: _list[GoogleAdsSearchads360V23Services__SessionAttributeKeyValuePair] + @typing.type_check_only class GoogleAdsSearchads360V23Services__SharedCriterionOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__SharedCriterion remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__SharedSetOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__SharedSet remove: str @@ -20232,29 +19684,27 @@ class GoogleAdsSearchads360V23Services__SharedSetOperation( updateMask: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__SiteSeed( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__SiteSeed(typing.TypedDict, total=False): site: str @typing.type_check_only class GoogleAdsSearchads360V23Services__SmartCampaignEligibleDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endDateTime: str lastImpressionDateTime: str @typing.type_check_only class GoogleAdsSearchads360V23Services__SmartCampaignEndedDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): endDateTime: str @typing.type_check_only class GoogleAdsSearchads360V23Services__SmartCampaignNotEligibleDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - notEligibleReason: typing_extensions.Literal[ + notEligibleReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACCOUNT_ISSUE", @@ -20265,26 +19715,26 @@ class GoogleAdsSearchads360V23Services__SmartCampaignNotEligibleDetails( @typing.type_check_only class GoogleAdsSearchads360V23Services__SmartCampaignPausedDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): pausedDateTime: str @typing.type_check_only class GoogleAdsSearchads360V23Services__SmartCampaignRemovedDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): removedDateTime: str @typing.type_check_only class GoogleAdsSearchads360V23Services__SmartCampaignSettingOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): update: GoogleAdsSearchads360V23Resources__SmartCampaignSetting updateMask: str @typing.type_check_only class GoogleAdsSearchads360V23Services__SmartCampaignSuggestionInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adSchedules: _list[GoogleAdsSearchads360V23Common__AdScheduleInfo] businessContext: ( @@ -20301,15 +19751,15 @@ class GoogleAdsSearchads360V23Services__SmartCampaignSuggestionInfo( @typing.type_check_only class GoogleAdsSearchads360V23Services__StartIdentityVerificationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - verificationProgram: typing_extensions.Literal[ + verificationProgram: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ADVERTISER_IDENTITY_VERIFICATION" ] @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestGeoTargetConstantsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str geoTargets: ( @@ -20322,7 +19772,7 @@ class GoogleAdsSearchads360V23Services__SuggestGeoTargetConstantsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestGeoTargetConstantsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): geoTargetConstantSuggestions: _list[ GoogleAdsSearchads360V23Services__GeoTargetConstantSuggestion @@ -20330,7 +19780,7 @@ class GoogleAdsSearchads360V23Services__SuggestGeoTargetConstantsResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestKeywordThemeConstantsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): countryCode: str languageCode: str @@ -20338,7 +19788,7 @@ class GoogleAdsSearchads360V23Services__SuggestKeywordThemeConstantsRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestKeywordThemeConstantsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordThemeConstants: _list[ GoogleAdsSearchads360V23Resources__KeywordThemeConstant @@ -20346,13 +19796,13 @@ class GoogleAdsSearchads360V23Services__SuggestKeywordThemeConstantsResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestKeywordThemesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestionInfo: GoogleAdsSearchads360V23Services__SmartCampaignSuggestionInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestKeywordThemesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): keywordThemes: _list[ GoogleAdsSearchads360V23Services_SuggestKeywordThemesResponse_KeywordTheme @@ -20360,26 +19810,26 @@ class GoogleAdsSearchads360V23Services__SuggestKeywordThemesResponse( @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestSmartCampaignAdRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): suggestionInfo: GoogleAdsSearchads360V23Services__SmartCampaignSuggestionInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestSmartCampaignAdResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): adInfo: GoogleAdsSearchads360V23Common__SmartCampaignAdInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestSmartCampaignBudgetOptionsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): campaign: str suggestionInfo: GoogleAdsSearchads360V23Services__SmartCampaignSuggestionInfo @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestSmartCampaignBudgetOptionsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): high: GoogleAdsSearchads360V23Services_SuggestSmartCampaignBudgetOptionsResponse_BudgetOption low: GoogleAdsSearchads360V23Services_SuggestSmartCampaignBudgetOptionsResponse_BudgetOption @@ -20387,23 +19837,21 @@ class GoogleAdsSearchads360V23Services__SuggestSmartCampaignBudgetOptionsRespons @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestTravelAssetsRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageOption: str placeIds: _list[str] @typing.type_check_only class GoogleAdsSearchads360V23Services__SuggestTravelAssetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): hotelAssetSuggestions: _list[GoogleAdsSearchads360V23Services__HotelAssetSuggestion] @typing.type_check_only -class GoogleAdsSearchads360V23Services__SurfaceTargeting( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__SurfaceTargeting(typing.TypedDict, total=False): surfaces: _list[ - typing_extensions.Literal[ + typing.Literal[ "UNSPECIFIED", "UNKNOWN", "DISCOVER_FEED", @@ -20418,7 +19866,7 @@ class GoogleAdsSearchads360V23Services__SurfaceTargeting( @typing.type_check_only class GoogleAdsSearchads360V23Services__SurfaceTargetingCombinations( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): availableTargetingCombinations: _list[ GoogleAdsSearchads360V23Services__SurfaceTargeting @@ -20427,10 +19875,10 @@ class GoogleAdsSearchads360V23Services__SurfaceTargetingCombinations( @typing.type_check_only class GoogleAdsSearchads360V23Services__SurveyDissatisfied( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): otherReasonComment: str - surveyDissatisfiedReason: typing_extensions.Literal[ + surveyDissatisfiedReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OTHER_DISSATISFIED_REASON", @@ -20443,11 +19891,9 @@ class GoogleAdsSearchads360V23Services__SurveyDissatisfied( ] @typing.type_check_only -class GoogleAdsSearchads360V23Services__SurveySatisfied( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__SurveySatisfied(typing.TypedDict, total=False): otherReasonComment: str - surveySatisfiedReason: typing_extensions.Literal[ + surveySatisfiedReason: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "OTHER_SATISFIED_REASON", @@ -20459,16 +19905,14 @@ class GoogleAdsSearchads360V23Services__SurveySatisfied( @typing.type_check_only class GoogleAdsSearchads360V23Services__TargetFrequencySettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): targetFrequency: int - timeUnit: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "WEEKLY", "MONTHLY"] + timeUnit: typing.Literal["UNSPECIFIED", "UNKNOWN", "WEEKLY", "MONTHLY"] @typing.type_check_only -class GoogleAdsSearchads360V23Services__Targeting( - typing_extensions.TypedDict, total=False -): - ageRange: typing_extensions.Literal[ +class GoogleAdsSearchads360V23Services__Targeting(typing.TypedDict, total=False): + ageRange: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "AGE_RANGE_18_24", @@ -20501,7 +19945,7 @@ class GoogleAdsSearchads360V23Services__Targeting( audienceTargeting: GoogleAdsSearchads360V23Services__AudienceTargeting devices: _list[GoogleAdsSearchads360V23Common__DeviceInfo] genders: _list[GoogleAdsSearchads360V23Common__GenderInfo] - network: typing_extensions.Literal[ + network: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "YOUTUBE", @@ -20513,7 +19957,7 @@ class GoogleAdsSearchads360V23Services__Targeting( @typing.type_check_only class GoogleAdsSearchads360V23Services__TargetingSuggestionMetrics( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ageRanges: _list[GoogleAdsSearchads360V23Common__AgeRangeInfo] coverage: float @@ -20527,17 +19971,15 @@ class GoogleAdsSearchads360V23Services__TargetingSuggestionMetrics( ] @typing.type_check_only -class GoogleAdsSearchads360V23Services__UnusableAdGroup( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__UnusableAdGroup(typing.TypedDict, total=False): adGroup: str campaign: str @typing.type_check_only class GoogleAdsSearchads360V23Services__UpdateDataLinkRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - dataLinkStatus: typing_extensions.Literal[ + dataLinkStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "REQUESTED", @@ -20551,15 +19993,15 @@ class GoogleAdsSearchads360V23Services__UpdateDataLinkRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__UpdateDataLinkResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__UpdateProductLinkInvitationRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - productLinkInvitationStatus: typing_extensions.Literal[ + productLinkInvitationStatus: typing.Literal[ "UNSPECIFIED", "UNKNOWN", "ACCEPTED", @@ -20573,13 +20015,62 @@ class GoogleAdsSearchads360V23Services__UpdateProductLinkInvitationRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__UpdateProductLinkInvitationResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): resourceName: str +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadCallConversionsRequest( + typing.TypedDict, total=False +): + conversions: _list[GoogleAdsSearchads360V23Services__CallConversion] + partialFailure: bool + validateOnly: bool + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadCallConversionsResponse( + typing.TypedDict, total=False +): + partialFailureError: GoogleRpc__Status + results: _list[GoogleAdsSearchads360V23Services__CallConversionResult] + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadClickConversionsRequest( + typing.TypedDict, total=False +): + conversions: _list[GoogleAdsSearchads360V23Services__ClickConversion] + jobId: int + partialFailure: bool + validateOnly: bool + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadClickConversionsResponse( + typing.TypedDict, total=False +): + jobId: str + partialFailureError: GoogleRpc__Status + results: _list[GoogleAdsSearchads360V23Services__ClickConversionResult] + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadConversionAdjustmentsRequest( + typing.TypedDict, total=False +): + conversionAdjustments: _list[GoogleAdsSearchads360V23Services__ConversionAdjustment] + jobId: int + partialFailure: bool + validateOnly: bool + +@typing.type_check_only +class GoogleAdsSearchads360V23Services__UploadConversionAdjustmentsResponse( + typing.TypedDict, total=False +): + jobId: str + partialFailureError: GoogleRpc__Status + results: _list[GoogleAdsSearchads360V23Services__ConversionAdjustmentResult] + @typing.type_check_only class GoogleAdsSearchads360V23Services__UploadUserDataRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): customerMatchUserListMetadata: ( GoogleAdsSearchads360V23Common__CustomerMatchUserListMetadata @@ -20588,34 +20079,32 @@ class GoogleAdsSearchads360V23Services__UploadUserDataRequest( @typing.type_check_only class GoogleAdsSearchads360V23Services__UploadUserDataResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): receivedOperationsCount: int uploadDateTime: str @typing.type_check_only -class GoogleAdsSearchads360V23Services__UrlSeed( - typing_extensions.TypedDict, total=False -): +class GoogleAdsSearchads360V23Services__UrlSeed(typing.TypedDict, total=False): url: str @typing.type_check_only class GoogleAdsSearchads360V23Services__UserDataOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Common__UserData remove: GoogleAdsSearchads360V23Common__UserData @typing.type_check_only class GoogleAdsSearchads360V23Services__UserListCustomerTypeOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__UserListCustomerType remove: str @typing.type_check_only class GoogleAdsSearchads360V23Services__UserListOperation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): create: GoogleAdsSearchads360V23Resources__UserList remove: str @@ -20624,19 +20113,19 @@ class GoogleAdsSearchads360V23Services__UserListOperation( @typing.type_check_only class GoogleAdsSearchads360V23Services__YouTubeSelectLineUp( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lineupId: str lineupName: str @typing.type_check_only class GoogleAdsSearchads360V23Services__YouTubeSelectSettings( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lineupId: str @typing.type_check_only -class GoogleLongrunning__Operation(typing_extensions.TypedDict, total=False): +class GoogleLongrunning__Operation(typing.TypedDict, total=False): done: bool error: GoogleRpc__Status metadata: dict[str, typing.Any] @@ -20644,16 +20133,16 @@ class GoogleLongrunning__Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobuf__Empty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobuf__Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpc__Status(typing_extensions.TypedDict, total=False): +class GoogleRpc__Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class GoogleType__Money(typing_extensions.TypedDict, total=False): +class GoogleType__Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str diff --git a/googleapiclient-stubs/_apis/searchconsole/v1/resources.pyi b/googleapiclient-stubs/_apis/searchconsole/v1/resources.pyi index 9279ff41d..f58dd90d1 100644 --- a/googleapiclient-stubs/_apis/searchconsole/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/searchconsole/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi b/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi index d26d01e02..eb9138106 100644 --- a/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchconsole/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AmpInspectionResult(typing_extensions.TypedDict, total=False): - ampIndexStatusVerdict: typing_extensions.Literal[ +class AmpInspectionResult(typing.TypedDict, total=False): + ampIndexStatusVerdict: typing.Literal[ "VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL" ] ampUrl: str - indexingState: typing_extensions.Literal[ + indexingState: typing.Literal[ "AMP_INDEXING_STATE_UNSPECIFIED", "AMP_INDEXING_ALLOWED", "BLOCKED_DUE_TO_NOINDEX", @@ -18,7 +16,7 @@ class AmpInspectionResult(typing_extensions.TypedDict, total=False): ] issues: _list[AmpIssue] lastCrawlTime: str - pageFetchState: typing_extensions.Literal[ + pageFetchState: typing.Literal[ "PAGE_FETCH_STATE_UNSPECIFIED", "SUCCESSFUL", "SOFT_404", @@ -32,20 +30,18 @@ class AmpInspectionResult(typing_extensions.TypedDict, total=False): "INTERNAL_CRAWL_ERROR", "INVALID_URL", ] - robotsTxtState: typing_extensions.Literal[ + robotsTxtState: typing.Literal[ "ROBOTS_TXT_STATE_UNSPECIFIED", "ALLOWED", "DISALLOWED" ] - verdict: typing_extensions.Literal[ - "VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL" - ] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL"] @typing.type_check_only -class AmpIssue(typing_extensions.TypedDict, total=False): +class AmpIssue(typing.TypedDict, total=False): issueMessage: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] @typing.type_check_only -class ApiDataRow(typing_extensions.TypedDict, total=False): +class ApiDataRow(typing.TypedDict, total=False): clicks: float ctr: float impressions: float @@ -53,12 +49,10 @@ class ApiDataRow(typing_extensions.TypedDict, total=False): position: float @typing.type_check_only -class ApiDimensionFilter(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal[ - "QUERY", "PAGE", "COUNTRY", "DEVICE", "SEARCH_APPEARANCE" - ] +class ApiDimensionFilter(typing.TypedDict, total=False): + dimension: typing.Literal["QUERY", "PAGE", "COUNTRY", "DEVICE", "SEARCH_APPEARANCE"] expression: str - operator: typing_extensions.Literal[ + operator: typing.Literal[ "EQUALS", "NOT_EQUALS", "CONTAINS", @@ -68,32 +62,30 @@ class ApiDimensionFilter(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ApiDimensionFilterGroup(typing_extensions.TypedDict, total=False): +class ApiDimensionFilterGroup(typing.TypedDict, total=False): filters: _list[ApiDimensionFilter] - groupType: typing_extensions.Literal["AND"] + groupType: typing.Literal["AND"] @typing.type_check_only -class BlockedResource(typing_extensions.TypedDict, total=False): +class BlockedResource(typing.TypedDict, total=False): url: str @typing.type_check_only -class DetectedItems(typing_extensions.TypedDict, total=False): +class DetectedItems(typing.TypedDict, total=False): items: _list[Item] richResultType: str @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): data: str mimeType: str @typing.type_check_only -class IndexStatusInspectionResult(typing_extensions.TypedDict, total=False): +class IndexStatusInspectionResult(typing.TypedDict, total=False): coverageState: str - crawledAs: typing_extensions.Literal[ - "CRAWLING_USER_AGENT_UNSPECIFIED", "DESKTOP", "MOBILE" - ] + crawledAs: typing.Literal["CRAWLING_USER_AGENT_UNSPECIFIED", "DESKTOP", "MOBILE"] googleCanonical: str - indexingState: typing_extensions.Literal[ + indexingState: typing.Literal[ "INDEXING_STATE_UNSPECIFIED", "INDEXING_ALLOWED", "BLOCKED_BY_META_TAG", @@ -101,7 +93,7 @@ class IndexStatusInspectionResult(typing_extensions.TypedDict, total=False): "BLOCKED_BY_ROBOTS_TXT", ] lastCrawlTime: str - pageFetchState: typing_extensions.Literal[ + pageFetchState: typing.Literal[ "PAGE_FETCH_STATE_UNSPECIFIED", "SUCCESSFUL", "SOFT_404", @@ -116,38 +108,36 @@ class IndexStatusInspectionResult(typing_extensions.TypedDict, total=False): "INVALID_URL", ] referringUrls: _list[str] - robotsTxtState: typing_extensions.Literal[ + robotsTxtState: typing.Literal[ "ROBOTS_TXT_STATE_UNSPECIFIED", "ALLOWED", "DISALLOWED" ] sitemap: _list[str] userCanonical: str - verdict: typing_extensions.Literal[ - "VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL" - ] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL"] @typing.type_check_only -class InspectUrlIndexRequest(typing_extensions.TypedDict, total=False): +class InspectUrlIndexRequest(typing.TypedDict, total=False): inspectionUrl: str languageCode: str siteUrl: str @typing.type_check_only -class InspectUrlIndexResponse(typing_extensions.TypedDict, total=False): +class InspectUrlIndexResponse(typing.TypedDict, total=False): inspectionResult: UrlInspectionResult @typing.type_check_only -class Item(typing_extensions.TypedDict, total=False): +class Item(typing.TypedDict, total=False): issues: _list[RichResultsIssue] name: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): firstIncompleteDate: str firstIncompleteHour: str @typing.type_check_only -class MobileFriendlyIssue(typing_extensions.TypedDict, total=False): - rule: typing_extensions.Literal[ +class MobileFriendlyIssue(typing.TypedDict, total=False): + rule: typing.Literal[ "MOBILE_FRIENDLY_RULE_UNSPECIFIED", "USES_INCOMPATIBLE_PLUGINS", "CONFIGURE_VIEWPORT", @@ -158,15 +148,13 @@ class MobileFriendlyIssue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MobileUsabilityInspectionResult(typing_extensions.TypedDict, total=False): +class MobileUsabilityInspectionResult(typing.TypedDict, total=False): issues: _list[MobileUsabilityIssue] - verdict: typing_extensions.Literal[ - "VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL" - ] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL"] @typing.type_check_only -class MobileUsabilityIssue(typing_extensions.TypedDict, total=False): - issueType: typing_extensions.Literal[ +class MobileUsabilityIssue(typing.TypedDict, total=False): + issueType: typing.Literal[ "MOBILE_USABILITY_ISSUE_TYPE_UNSPECIFIED", "USES_INCOMPATIBLE_PLUGINS", "CONFIGURE_VIEWPORT", @@ -176,32 +164,30 @@ class MobileUsabilityIssue(typing_extensions.TypedDict, total=False): "TAP_TARGETS_TOO_CLOSE", ] message: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] @typing.type_check_only -class ResourceIssue(typing_extensions.TypedDict, total=False): +class ResourceIssue(typing.TypedDict, total=False): blockedResource: BlockedResource @typing.type_check_only -class RichResultsInspectionResult(typing_extensions.TypedDict, total=False): +class RichResultsInspectionResult(typing.TypedDict, total=False): detectedItems: _list[DetectedItems] - verdict: typing_extensions.Literal[ - "VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL" - ] + verdict: typing.Literal["VERDICT_UNSPECIFIED", "PASS", "PARTIAL", "FAIL", "NEUTRAL"] @typing.type_check_only -class RichResultsIssue(typing_extensions.TypedDict, total=False): +class RichResultsIssue(typing.TypedDict, total=False): issueMessage: str - severity: typing_extensions.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] + severity: typing.Literal["SEVERITY_UNSPECIFIED", "WARNING", "ERROR"] @typing.type_check_only -class RunMobileFriendlyTestRequest(typing_extensions.TypedDict, total=False): +class RunMobileFriendlyTestRequest(typing.TypedDict, total=False): requestScreenshot: bool url: str @typing.type_check_only -class RunMobileFriendlyTestResponse(typing_extensions.TypedDict, total=False): - mobileFriendliness: typing_extensions.Literal[ +class RunMobileFriendlyTestResponse(typing.TypedDict, total=False): + mobileFriendliness: typing.Literal[ "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED", "MOBILE_FRIENDLY", "NOT_MOBILE_FRIENDLY", @@ -212,55 +198,51 @@ class RunMobileFriendlyTestResponse(typing_extensions.TypedDict, total=False): testStatus: TestStatus @typing.type_check_only -class SearchAnalyticsQueryRequest(typing_extensions.TypedDict, total=False): - aggregationType: typing_extensions.Literal[ +class SearchAnalyticsQueryRequest(typing.TypedDict, total=False): + aggregationType: typing.Literal[ "AUTO", "BY_PROPERTY", "BY_PAGE", "BY_NEWS_SHOWCASE_PANEL" ] - dataState: typing_extensions.Literal[ - "DATA_STATE_UNSPECIFIED", "FINAL", "ALL", "HOURLY_ALL" - ] + dataState: typing.Literal["DATA_STATE_UNSPECIFIED", "FINAL", "ALL", "HOURLY_ALL"] dimensionFilterGroups: _list[ApiDimensionFilterGroup] dimensions: _list[ - typing_extensions.Literal[ + typing.Literal[ "DATE", "QUERY", "PAGE", "COUNTRY", "DEVICE", "SEARCH_APPEARANCE", "HOUR" ] ] endDate: str rowLimit: int - searchType: typing_extensions.Literal[ + searchType: typing.Literal[ "WEB", "IMAGE", "VIDEO", "NEWS", "DISCOVER", "GOOGLE_NEWS" ] startDate: str startRow: int - type: typing_extensions.Literal[ - "WEB", "IMAGE", "VIDEO", "NEWS", "DISCOVER", "GOOGLE_NEWS" - ] + type: typing.Literal["WEB", "IMAGE", "VIDEO", "NEWS", "DISCOVER", "GOOGLE_NEWS"] @typing.type_check_only -class SearchAnalyticsQueryResponse(typing_extensions.TypedDict, total=False): +class SearchAnalyticsQueryResponse(typing.TypedDict, total=False): metadata: Metadata - responseAggregationType: typing_extensions.Literal[ + responseAggregationType: typing.Literal[ "AUTO", "BY_PROPERTY", "BY_PAGE", "BY_NEWS_SHOWCASE_PANEL" ] rows: _list[ApiDataRow] @typing.type_check_only -class SitemapsListResponse(typing_extensions.TypedDict, total=False): +class SitemapsListResponse(typing.TypedDict, total=False): sitemap: _list[WmxSitemap] @typing.type_check_only -class SitesListResponse(typing_extensions.TypedDict, total=False): +class SitesListResponse(typing.TypedDict, total=False): siteEntry: _list[WmxSite] @typing.type_check_only -class TestStatus(typing_extensions.TypedDict, total=False): +class TestStatus(typing.TypedDict, total=False): details: str - status: typing_extensions.Literal[ + status: typing.Literal[ "TEST_STATUS_UNSPECIFIED", "COMPLETE", "INTERNAL_ERROR", "PAGE_UNREACHABLE" ] @typing.type_check_only -class UrlInspectionResult(typing_extensions.TypedDict, total=False): +class UrlInspectionResult(typing.TypedDict, total=False): ampResult: AmpInspectionResult indexStatusResult: IndexStatusInspectionResult inspectionResultLink: str @@ -268,8 +250,8 @@ class UrlInspectionResult(typing_extensions.TypedDict, total=False): richResultsResult: RichResultsInspectionResult @typing.type_check_only -class WmxSite(typing_extensions.TypedDict, total=False): - permissionLevel: typing_extensions.Literal[ +class WmxSite(typing.TypedDict, total=False): + permissionLevel: typing.Literal[ "SITE_PERMISSION_LEVEL_UNSPECIFIED", "SITE_OWNER", "SITE_FULL_USER", @@ -279,7 +261,7 @@ class WmxSite(typing_extensions.TypedDict, total=False): siteUrl: str @typing.type_check_only -class WmxSitemap(typing_extensions.TypedDict, total=False): +class WmxSitemap(typing.TypedDict, total=False): contents: _list[WmxSitemapContent] errors: str isPending: bool @@ -287,7 +269,7 @@ class WmxSitemap(typing_extensions.TypedDict, total=False): lastDownloaded: str lastSubmitted: str path: str - type: typing_extensions.Literal[ + type: typing.Literal[ "NOT_SITEMAP", "URL_LIST", "SITEMAP", @@ -299,10 +281,10 @@ class WmxSitemap(typing_extensions.TypedDict, total=False): warnings: str @typing.type_check_only -class WmxSitemapContent(typing_extensions.TypedDict, total=False): +class WmxSitemapContent(typing.TypedDict, total=False): indexed: str submitted: str - type: typing_extensions.Literal[ + type: typing.Literal[ "WEB", "IMAGE", "VIDEO", diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi index fe1c68f34..aaacdb25d 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -81,6 +80,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 +119,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 +226,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 +263,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..253b511aa 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi @@ -1,93 +1,101 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessSecretVersionResponse(typing_extensions.TypedDict, total=False): +class AccessSecretVersionResponse(typing.TypedDict, total=False): name: str payload: SecretPayload @typing.type_check_only -class AddSecretVersionRequest(typing_extensions.TypedDict, total=False): +class AddSecretVersionRequest(typing.TypedDict, total=False): payload: SecretPayload @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Automatic(typing_extensions.TypedDict, total=False): +class Automatic(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryption @typing.type_check_only -class AutomaticStatus(typing_extensions.TypedDict, total=False): +class AutomaticStatus(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryptionStatus @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CustomerManagedEncryption(typing_extensions.TypedDict, total=False): +class CloudSQLSingleUserCredentials(typing.TypedDict, total=False): + instanceId: str + password: str + username: str + +@typing.type_check_only +class CustomerManagedEncryption(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class CustomerManagedEncryptionStatus(typing_extensions.TypedDict, total=False): +class CustomerManagedEncryptionStatus(typing.TypedDict, total=False): kmsKeyVersionName: str @typing.type_check_only -class DestroySecretVersionRequest(typing_extensions.TypedDict, total=False): +class DestroySecretVersionRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class DisableSecretVersionRequest(typing_extensions.TypedDict, total=False): +class DisableSecretVersionRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableSecretVersionRequest(typing_extensions.TypedDict, total=False): +class EnableManagedRotationRequest(typing.TypedDict, total=False): + cloudSqlSingleUserCredentials: CloudSQLSingleUserCredentials + +@typing.type_check_only +class EnableSecretVersionRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListSecretVersionsResponse(typing_extensions.TypedDict, total=False): +class ListSecretVersionsResponse(typing.TypedDict, total=False): nextPageToken: str totalSize: int versions: _list[SecretVersion] @typing.type_check_only -class ListSecretsResponse(typing_extensions.TypedDict, total=False): +class ListSecretsResponse(typing.TypedDict, total=False): nextPageToken: str secrets: _list[Secret] totalSize: int @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -95,7 +103,12 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class ManagedRotationStatus(typing.TypedDict, total=False): + error: Status + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + +@typing.type_check_only +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -103,7 +116,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -114,45 +127,54 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Progress(typing_extensions.TypedDict, total=False): +class Progress(typing.TypedDict, total=False): completedVersionCount: int failedVersionCount: int totalVersionCount: int @typing.type_check_only -class Replica(typing_extensions.TypedDict, total=False): +class Replica(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryption location: str @typing.type_check_only -class ReplicaStatus(typing_extensions.TypedDict, total=False): +class ReplicaStatus(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryptionStatus location: str @typing.type_check_only -class Replication(typing_extensions.TypedDict, total=False): +class Replication(typing.TypedDict, total=False): automatic: Automatic userManaged: UserManaged @typing.type_check_only -class ReplicationStatus(typing_extensions.TypedDict, total=False): +class ReplicationStatus(typing.TypedDict, total=False): automatic: AutomaticStatus userManaged: UserManagedStatus @typing.type_check_only -class Rotation(typing_extensions.TypedDict, total=False): +class ResourcePolicyMember(typing.TypedDict, total=False): + iamPolicyNamePrincipal: str + iamPolicyUidPrincipal: str + +@typing.type_check_only +class RotateSecretRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class Rotation(typing.TypedDict, total=False): + managedRotationStatus: ManagedRotationStatus nextRotationTime: str rotationPeriod: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str customerManagedEncryption: CustomerManagedEncryption @@ -160,8 +182,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.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 @@ -169,12 +200,12 @@ class Secret(typing_extensions.TypedDict, total=False): versionDestroyTtl: str @typing.type_check_only -class SecretPayload(typing_extensions.TypedDict, total=False): +class SecretPayload(typing.TypedDict, total=False): data: str dataCrc32c: str @typing.type_check_only -class SecretVersion(typing_extensions.TypedDict, total=False): +class SecretVersion(typing.TypedDict, total=False): clientSpecifiedPayloadChecksum: bool createTime: str customerManagedEncryption: CustomerManagedEncryptionStatus @@ -183,37 +214,35 @@ class SecretVersion(typing_extensions.TypedDict, total=False): name: str replicationStatus: ReplicationStatus scheduledDestroyTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DESTROYED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DESTROYED"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): name: str @typing.type_check_only -class UserManaged(typing_extensions.TypedDict, total=False): +class UserManaged(typing.TypedDict, total=False): replicas: _list[Replica] @typing.type_check_only -class UserManagedStatus(typing_extensions.TypedDict, total=False): +class UserManagedStatus(typing.TypedDict, total=False): replicas: _list[ReplicaStatus] diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi index c79cc54de..ede91794a 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi index 13b5e05d2..57805d49f 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi @@ -1,77 +1,75 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessSecretVersionResponse(typing_extensions.TypedDict, total=False): +class AccessSecretVersionResponse(typing.TypedDict, total=False): name: str payload: SecretPayload @typing.type_check_only -class AddSecretVersionRequest(typing_extensions.TypedDict, total=False): +class AddSecretVersionRequest(typing.TypedDict, total=False): payload: SecretPayload @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Automatic(typing_extensions.TypedDict, total=False): ... +class Automatic(typing.TypedDict, total=False): ... @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class DestroySecretVersionRequest(typing_extensions.TypedDict, total=False): ... +class DestroySecretVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableSecretVersionRequest(typing_extensions.TypedDict, total=False): ... +class DisableSecretVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableSecretVersionRequest(typing_extensions.TypedDict, total=False): ... +class EnableSecretVersionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListSecretVersionsResponse(typing_extensions.TypedDict, total=False): +class ListSecretVersionsResponse(typing.TypedDict, total=False): nextPageToken: str totalSize: int versions: _list[SecretVersion] @typing.type_check_only -class ListSecretsResponse(typing_extensions.TypedDict, total=False): +class ListSecretsResponse(typing.TypedDict, total=False): nextPageToken: str secrets: _list[Secret] totalSize: int @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -79,7 +77,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -87,7 +85,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -98,29 +96,34 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Progress(typing_extensions.TypedDict, total=False): +class Progress(typing.TypedDict, total=False): completedVersionCount: int failedVersionCount: int totalVersionCount: int @typing.type_check_only -class Replica(typing_extensions.TypedDict, total=False): +class Replica(typing.TypedDict, total=False): location: str @typing.type_check_only -class Replication(typing_extensions.TypedDict, total=False): +class Replication(typing.TypedDict, total=False): automatic: Automatic userManaged: UserManaged @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class ResourcePolicyMember(typing.TypedDict, total=False): + iamPolicyNamePrincipal: str + iamPolicyUidPrincipal: str + +@typing.type_check_only +class Secret(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] name: str @@ -128,37 +131,35 @@ class Secret(typing_extensions.TypedDict, total=False): tags: dict[str, typing.Any] @typing.type_check_only -class SecretPayload(typing_extensions.TypedDict, total=False): +class SecretPayload(typing.TypedDict, total=False): data: str @typing.type_check_only -class SecretVersion(typing_extensions.TypedDict, total=False): +class SecretVersion(typing.TypedDict, total=False): createTime: str destroyTime: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DESTROYED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DESTROYED"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UserManaged(typing_extensions.TypedDict, total=False): +class UserManaged(typing.TypedDict, total=False): replicas: _list[Replica] diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi index fe1c68f34..3949a6be6 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi index 4ad112141..f0f3ab180 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi @@ -1,93 +1,91 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessSecretVersionResponse(typing_extensions.TypedDict, total=False): +class AccessSecretVersionResponse(typing.TypedDict, total=False): name: str payload: SecretPayload @typing.type_check_only -class AddSecretVersionRequest(typing_extensions.TypedDict, total=False): +class AddSecretVersionRequest(typing.TypedDict, total=False): payload: SecretPayload @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Automatic(typing_extensions.TypedDict, total=False): +class Automatic(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryption @typing.type_check_only -class AutomaticStatus(typing_extensions.TypedDict, total=False): +class AutomaticStatus(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryptionStatus @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CustomerManagedEncryption(typing_extensions.TypedDict, total=False): +class CustomerManagedEncryption(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class CustomerManagedEncryptionStatus(typing_extensions.TypedDict, total=False): +class CustomerManagedEncryptionStatus(typing.TypedDict, total=False): kmsKeyVersionName: str @typing.type_check_only -class DestroySecretVersionRequest(typing_extensions.TypedDict, total=False): +class DestroySecretVersionRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class DisableSecretVersionRequest(typing_extensions.TypedDict, total=False): +class DisableSecretVersionRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableSecretVersionRequest(typing_extensions.TypedDict, total=False): +class EnableSecretVersionRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListSecretVersionsResponse(typing_extensions.TypedDict, total=False): +class ListSecretVersionsResponse(typing.TypedDict, total=False): nextPageToken: str totalSize: int versions: _list[SecretVersion] @typing.type_check_only -class ListSecretsResponse(typing_extensions.TypedDict, total=False): +class ListSecretsResponse(typing.TypedDict, total=False): nextPageToken: str secrets: _list[Secret] totalSize: int @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -95,7 +93,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -103,7 +101,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -114,45 +112,50 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Progress(typing_extensions.TypedDict, total=False): +class Progress(typing.TypedDict, total=False): completedVersionCount: int failedVersionCount: int totalVersionCount: int @typing.type_check_only -class Replica(typing_extensions.TypedDict, total=False): +class Replica(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryption location: str @typing.type_check_only -class ReplicaStatus(typing_extensions.TypedDict, total=False): +class ReplicaStatus(typing.TypedDict, total=False): customerManagedEncryption: CustomerManagedEncryptionStatus location: str @typing.type_check_only -class Replication(typing_extensions.TypedDict, total=False): +class Replication(typing.TypedDict, total=False): automatic: Automatic userManaged: UserManaged @typing.type_check_only -class ReplicationStatus(typing_extensions.TypedDict, total=False): +class ReplicationStatus(typing.TypedDict, total=False): automatic: AutomaticStatus userManaged: UserManagedStatus @typing.type_check_only -class Rotation(typing_extensions.TypedDict, total=False): +class ResourcePolicyMember(typing.TypedDict, total=False): + iamPolicyNamePrincipal: str + iamPolicyUidPrincipal: str + +@typing.type_check_only +class Rotation(typing.TypedDict, total=False): nextRotationTime: str rotationPeriod: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str customerManagedEncryption: CustomerManagedEncryption @@ -169,12 +172,12 @@ class Secret(typing_extensions.TypedDict, total=False): versionDestroyTtl: str @typing.type_check_only -class SecretPayload(typing_extensions.TypedDict, total=False): +class SecretPayload(typing.TypedDict, total=False): data: str dataCrc32c: str @typing.type_check_only -class SecretVersion(typing_extensions.TypedDict, total=False): +class SecretVersion(typing.TypedDict, total=False): clientSpecifiedPayloadChecksum: bool createTime: str customerManagedEncryption: CustomerManagedEncryptionStatus @@ -183,37 +186,35 @@ class SecretVersion(typing_extensions.TypedDict, total=False): name: str replicationStatus: ReplicationStatus scheduledDestroyTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DESTROYED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DESTROYED"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Topic(typing_extensions.TypedDict, total=False): +class Topic(typing.TypedDict, total=False): name: str @typing.type_check_only -class UserManaged(typing_extensions.TypedDict, total=False): +class UserManaged(typing.TypedDict, total=False): replicas: _list[Replica] @typing.type_check_only -class UserManagedStatus(typing_extensions.TypedDict, total=False): +class UserManagedStatus(typing.TypedDict, total=False): replicas: _list[ReplicaStatus] diff --git a/googleapiclient-stubs/_apis/securesourcemanager/v1/resources.pyi b/googleapiclient-stubs/_apis/securesourcemanager/v1/resources.pyi index a7abee3b6..a8c86f17f 100644 --- a/googleapiclient-stubs/_apis/securesourcemanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/securesourcemanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/securesourcemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/securesourcemanager/v1/schemas.pyi index 1aee9c587..da9da22a8 100644 --- a/googleapiclient-stubs/_apis/securesourcemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securesourcemanager/v1/schemas.pyi @@ -1,38 +1,36 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class BatchCreatePullRequestCommentsRequest(typing_extensions.TypedDict, total=False): +class BatchCreatePullRequestCommentsRequest(typing.TypedDict, total=False): requests: _list[CreatePullRequestCommentRequest] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Branch(typing_extensions.TypedDict, total=False): +class Branch(typing.TypedDict, total=False): ref: str sha: str @typing.type_check_only -class BranchRule(typing_extensions.TypedDict, total=False): +class BranchRule(typing.TypedDict, total=False): allowStaleReviews: bool annotations: dict[str, typing.Any] createTime: str @@ -50,21 +48,21 @@ class BranchRule(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Check(typing_extensions.TypedDict, total=False): +class Check(typing.TypedDict, total=False): context: str @typing.type_check_only -class CloseIssueRequest(typing_extensions.TypedDict, total=False): +class CloseIssueRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class ClosePullRequestRequest(typing_extensions.TypedDict, total=False): ... +class ClosePullRequestRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Code(typing_extensions.TypedDict, total=False): +class Code(typing.TypedDict, total=False): body: str effectiveCommitSha: str effectiveRootComment: str @@ -73,48 +71,46 @@ class Code(typing_extensions.TypedDict, total=False): resolved: bool @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): body: str @typing.type_check_only -class CreatePullRequestCommentRequest(typing_extensions.TypedDict, total=False): +class CreatePullRequestCommentRequest(typing.TypedDict, total=False): parent: str pullRequestComment: PullRequestComment @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class FetchBlobResponse(typing_extensions.TypedDict, total=False): +class FetchBlobResponse(typing.TypedDict, total=False): content: str sha: str @typing.type_check_only -class FetchTreeResponse(typing_extensions.TypedDict, total=False): +class FetchTreeResponse(typing.TypedDict, total=False): nextPageToken: str treeEntries: _list[TreeEntry] @typing.type_check_only -class FileDiff(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ - "ACTION_UNSPECIFIED", "ADDED", "MODIFIED", "DELETED" - ] +class FileDiff(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADDED", "MODIFIED", "DELETED"] name: str patch: str sha: str @typing.type_check_only -class Hook(typing_extensions.TypedDict, total=False): +class Hook(typing.TypedDict, total=False): createTime: str disabled: bool - events: _list[typing_extensions.Literal["UNSPECIFIED", "PUSH", "PULL_REQUEST"]] + events: _list[typing.Literal["UNSPECIFIED", "PUSH", "PULL_REQUEST"]] name: str pushOption: PushOption sensitiveQueryString: str @@ -123,112 +119,112 @@ class Hook(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class HostConfig(typing_extensions.TypedDict, total=False): +class HostConfig(typing.TypedDict, total=False): api: str gitHttp: str gitSsh: str html: str @typing.type_check_only -class InitialConfig(typing_extensions.TypedDict, total=False): +class InitialConfig(typing.TypedDict, total=False): defaultBranch: str gitignores: _list[str] license: str readme: str @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): createTime: str hostConfig: HostConfig kmsKey: str labels: dict[str, typing.Any] name: str privateConfig: PrivateConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "PAUSED", "UNKNOWN" ] - stateNote: typing_extensions.Literal[ + stateNote: typing.Literal[ "STATE_NOTE_UNSPECIFIED", "PAUSED_CMEK_UNAVAILABLE", "INSTANCE_RESUMING" ] updateTime: str workforceIdentityFederationConfig: WorkforceIdentityFederationConfig @typing.type_check_only -class Issue(typing_extensions.TypedDict, total=False): +class Issue(typing.TypedDict, total=False): body: str closeTime: str createTime: str etag: str name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED"] + state: typing.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED"] title: str updateTime: str @typing.type_check_only -class IssueComment(typing_extensions.TypedDict, total=False): +class IssueComment(typing.TypedDict, total=False): body: str createTime: str name: str updateTime: str @typing.type_check_only -class ListBranchRulesResponse(typing_extensions.TypedDict, total=False): +class ListBranchRulesResponse(typing.TypedDict, total=False): branchRules: _list[BranchRule] nextPageToken: str @typing.type_check_only -class ListHooksResponse(typing_extensions.TypedDict, total=False): +class ListHooksResponse(typing.TypedDict, total=False): hooks: _list[Hook] nextPageToken: str @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListIssueCommentsResponse(typing_extensions.TypedDict, total=False): +class ListIssueCommentsResponse(typing.TypedDict, total=False): issueComments: _list[IssueComment] nextPageToken: str @typing.type_check_only -class ListIssuesResponse(typing_extensions.TypedDict, total=False): +class ListIssuesResponse(typing.TypedDict, total=False): issues: _list[Issue] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListPullRequestCommentsResponse(typing_extensions.TypedDict, total=False): +class ListPullRequestCommentsResponse(typing.TypedDict, total=False): nextPageToken: str pullRequestComments: _list[PullRequestComment] @typing.type_check_only -class ListPullRequestFileDiffsResponse(typing_extensions.TypedDict, total=False): +class ListPullRequestFileDiffsResponse(typing.TypedDict, total=False): fileDiffs: _list[FileDiff] nextPageToken: str @typing.type_check_only -class ListPullRequestsResponse(typing_extensions.TypedDict, total=False): +class ListPullRequestsResponse(typing.TypedDict, total=False): nextPageToken: str pullRequests: _list[PullRequest] @typing.type_check_only -class ListRepositoriesResponse(typing_extensions.TypedDict, total=False): +class ListRepositoriesResponse(typing.TypedDict, total=False): nextPageToken: str repositories: _list[Repository] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -236,17 +232,17 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MergePullRequestRequest(typing_extensions.TypedDict, total=False): ... +class MergePullRequestRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class OpenIssueRequest(typing_extensions.TypedDict, total=False): +class OpenIssueRequest(typing.TypedDict, total=False): etag: str @typing.type_check_only -class OpenPullRequestRequest(typing_extensions.TypedDict, total=False): ... +class OpenPullRequestRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -254,7 +250,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -264,19 +260,19 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): line: str path: str @typing.type_check_only -class PrivateConfig(typing_extensions.TypedDict, total=False): +class PrivateConfig(typing.TypedDict, total=False): caPool: str httpServiceAttachment: str isPrivate: bool @@ -284,19 +280,19 @@ class PrivateConfig(typing_extensions.TypedDict, total=False): sshServiceAttachment: str @typing.type_check_only -class PullRequest(typing_extensions.TypedDict, total=False): +class PullRequest(typing.TypedDict, total=False): base: Branch body: str closeTime: str createTime: str head: Branch name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "MERGED"] + state: typing.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "MERGED"] title: str updateTime: str @typing.type_check_only -class PullRequestComment(typing_extensions.TypedDict, total=False): +class PullRequestComment(typing.TypedDict, total=False): code: Code comment: Comment createTime: str @@ -305,11 +301,11 @@ class PullRequestComment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PushOption(typing_extensions.TypedDict, total=False): +class PushOption(typing.TypedDict, total=False): branchFilter: str @typing.type_check_only -class Repository(typing_extensions.TypedDict, total=False): +class Repository(typing.TypedDict, total=False): createTime: str description: str etag: str @@ -321,56 +317,56 @@ class Repository(typing_extensions.TypedDict, total=False): uris: URIs @typing.type_check_only -class ResolvePullRequestCommentsRequest(typing_extensions.TypedDict, total=False): +class ResolvePullRequestCommentsRequest(typing.TypedDict, total=False): autoFill: bool names: _list[str] @typing.type_check_only -class Review(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal[ +class Review(typing.TypedDict, total=False): + actionType: typing.Literal[ "ACTION_TYPE_UNSPECIFIED", "COMMENT", "CHANGE_REQUESTED", "APPROVED" ] body: str effectiveCommitSha: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TreeEntry(typing_extensions.TypedDict, total=False): +class TreeEntry(typing.TypedDict, total=False): mode: str path: str sha: str size: str - type: typing_extensions.Literal["OBJECT_TYPE_UNSPECIFIED", "TREE", "BLOB", "COMMIT"] + type: typing.Literal["OBJECT_TYPE_UNSPECIFIED", "TREE", "BLOB", "COMMIT"] @typing.type_check_only -class URIs(typing_extensions.TypedDict, total=False): +class URIs(typing.TypedDict, total=False): api: str gitHttps: str html: str @typing.type_check_only -class UnresolvePullRequestCommentsRequest(typing_extensions.TypedDict, total=False): +class UnresolvePullRequestCommentsRequest(typing.TypedDict, total=False): autoFill: bool names: _list[str] @typing.type_check_only -class WorkforceIdentityFederationConfig(typing_extensions.TypedDict, total=False): +class WorkforceIdentityFederationConfig(typing.TypedDict, total=False): enabled: bool diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi index 3aa21af50..accba75bc 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi index 1316222a7..c1b43a993 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Access(typing_extensions.TypedDict, total=False): +class Access(typing.TypedDict, total=False): callerIp: str callerIpGeo: Geolocation methodName: str @@ -19,7 +17,7 @@ class Access(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class AccessReview(typing_extensions.TypedDict, total=False): +class AccessReview(typing.TypedDict, total=False): group: str name: str ns: str @@ -29,38 +27,51 @@ class AccessReview(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class AdaptiveProtection(typing_extensions.TypedDict, total=False): +class AdaptiveProtection(typing.TypedDict, total=False): confidence: float @typing.type_check_only -class AdcApplication(typing_extensions.TypedDict, total=False): +class AdcApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes name: str @typing.type_check_only -class AdcApplicationTemplateRevision(typing_extensions.TypedDict, total=False): +class AdcApplicationTemplateRevision(typing.TypedDict, total=False): name: str @typing.type_check_only -class AdcSharedTemplateRevision(typing_extensions.TypedDict, total=False): +class AdcSharedTemplateRevision(typing.TypedDict, total=False): name: str @typing.type_check_only -class AffectedResources(typing_extensions.TypedDict, total=False): +class AffectedResources(typing.TypedDict, total=False): count: str @typing.type_check_only -class AgentDataAccessEvent(typing_extensions.TypedDict, total=False): +class Agent(typing.TypedDict, total=False): + displayName: str + id: str + +@typing.type_check_only +class AgentAnomaly(typing.TypedDict, total=False): + confidenceScore: float + detectorReferences: _list[DetectorReference] + invocationReferences: _list[InvocationReference] + +@typing.type_check_only +class AgentDataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalSubject: str @typing.type_check_only -class AiModel(typing_extensions.TypedDict, total=False): - deploymentPlatform: typing_extensions.Literal[ +class AgentSession(typing.TypedDict, total=False): + sessionId: str + +@typing.type_check_only +class AiModel(typing.TypedDict, total=False): + deploymentPlatform: typing.Literal[ "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str @@ -72,29 +83,27 @@ class AiModel(typing_extensions.TypedDict, total=False): usageCategory: str @typing.type_check_only -class Allowed(typing_extensions.TypedDict, total=False): +class Allowed(typing.TypedDict, total=False): ipRules: _list[IpRule] @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): baseUri: str fullUri: str @typing.type_check_only -class ArtifactGuardPolicies(typing_extensions.TypedDict, total=False): +class ArtifactGuardPolicies(typing.TypedDict, total=False): failingPolicies: _list[ArtifactGuardPolicy] resourceId: str @typing.type_check_only -class ArtifactGuardPolicy(typing_extensions.TypedDict, total=False): +class ArtifactGuardPolicy(typing.TypedDict, total=False): failureReason: str policyId: str - type: typing_extensions.Literal[ - "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" - ] + type: typing.Literal["ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY"] @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): canonicalName: str createTime: str iamPolicy: IamPolicy @@ -105,15 +114,15 @@ class Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AssetDiscoveryConfig(typing_extensions.TypedDict, total=False): +class AssetDiscoveryConfig(typing.TypedDict, total=False): folderIds: _list[str] - inclusionMode: typing_extensions.Literal[ + inclusionMode: typing.Literal[ "INCLUSION_MODE_UNSPECIFIED", "INCLUDE_ONLY", "EXCLUDE" ] projectIds: _list[str] @typing.type_check_only -class Attack(typing_extensions.TypedDict, total=False): +class Attack(typing.TypedDict, total=False): classification: str volumeBps: int volumeBpsLong: str @@ -121,30 +130,28 @@ class Attack(typing_extensions.TypedDict, total=False): volumePpsLong: str @typing.type_check_only -class AttackExposure(typing_extensions.TypedDict, total=False): +class AttackExposure(typing.TypedDict, total=False): attackExposureResult: str exposedHighValueResourcesCount: int exposedLowValueResourcesCount: int exposedMediumValueResourcesCount: int latestCalculationTime: str score: float - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED"] @typing.type_check_only -class AttackPath(typing_extensions.TypedDict, total=False): +class AttackPath(typing.TypedDict, total=False): edges: _list[AttackPathEdge] name: str pathNodes: _list[AttackPathNode] @typing.type_check_only -class AttackPathEdge(typing_extensions.TypedDict, total=False): +class AttackPathEdge(typing.TypedDict, total=False): destination: str source: str @typing.type_check_only -class AttackPathNode(typing_extensions.TypedDict, total=False): +class AttackPathNode(typing.TypedDict, total=False): associatedFindings: _list[PathNodeAssociatedFinding] attackSteps: _list[AttackStepNode] displayName: str @@ -153,11 +160,11 @@ class AttackPathNode(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class AttackStepNode(typing_extensions.TypedDict, total=False): +class AttackStepNode(typing.TypedDict, total=False): description: str displayName: str labels: dict[str, typing.Any] - type: typing_extensions.Literal[ + type: typing.Literal[ "NODE_TYPE_UNSPECIFIED", "NODE_TYPE_AND", "NODE_TYPE_OR", @@ -167,66 +174,66 @@ class AttackStepNode(typing_extensions.TypedDict, total=False): uuid: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AwsAccount(typing_extensions.TypedDict, total=False): +class AwsAccount(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AwsMetadata(typing_extensions.TypedDict, total=False): +class AwsMetadata(typing.TypedDict, total=False): account: AwsAccount organization: AwsOrganization organizationalUnits: _list[AwsOrganizationalUnit] @typing.type_check_only -class AwsOrganization(typing_extensions.TypedDict, total=False): +class AwsOrganization(typing.TypedDict, total=False): id: str @typing.type_check_only -class AwsOrganizationalUnit(typing_extensions.TypedDict, total=False): +class AwsOrganizationalUnit(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AzureManagementGroup(typing_extensions.TypedDict, total=False): +class AzureManagementGroup(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class AzureMetadata(typing_extensions.TypedDict, total=False): +class AzureMetadata(typing.TypedDict, total=False): managementGroups: _list[AzureManagementGroup] resourceGroup: AzureResourceGroup subscription: AzureSubscription tenant: AzureTenant @typing.type_check_only -class AzureResourceGroup(typing_extensions.TypedDict, total=False): +class AzureResourceGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AzureSubscription(typing_extensions.TypedDict, total=False): +class AzureSubscription(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class AzureTenant(typing_extensions.TypedDict, total=False): +class AzureTenant(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): +class BackupDisasterRecovery(typing.TypedDict, total=False): appliance: str applications: _list[str] backupCreateTime: str @@ -239,35 +246,35 @@ class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): storagePool: str @typing.type_check_only -class BatchCreateResourceValueConfigsRequest(typing_extensions.TypedDict, total=False): +class BatchCreateResourceValueConfigsRequest(typing.TypedDict, total=False): requests: _list[CreateResourceValueConfigRequest] @typing.type_check_only -class BatchCreateResourceValueConfigsResponse(typing_extensions.TypedDict, total=False): +class BatchCreateResourceValueConfigsResponse(typing.TypedDict, total=False): resourceValueConfigs: _list[GoogleCloudSecuritycenterV1ResourceValueConfig] @typing.type_check_only -class BigQueryDestination(typing_extensions.TypedDict, total=False): +class BigQueryDestination(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BulkMuteFindingsRequest(typing_extensions.TypedDict, total=False): +class BulkMuteFindingsRequest(typing.TypedDict, total=False): filter: str muteAnnotation: str - muteState: typing_extensions.Literal["MUTE_STATE_UNSPECIFIED", "MUTED", "UNDEFINED"] + muteState: typing.Literal["MUTE_STATE_UNSPECIFIED", "MUTED", "UNDEFINED"] @typing.type_check_only -class Chokepoint(typing_extensions.TypedDict, total=False): +class Chokepoint(typing.TypedDict, total=False): relatedFindings: _list[str] @typing.type_check_only -class CloudArmor(typing_extensions.TypedDict, total=False): +class CloudArmor(typing.TypedDict, total=False): adaptiveProtection: AdaptiveProtection attack: Attack duration: str @@ -276,68 +283,62 @@ class CloudArmor(typing_extensions.TypedDict, total=False): threatVector: str @typing.type_check_only -class CloudControl(typing_extensions.TypedDict, total=False): +class CloudControl(typing.TypedDict, total=False): cloudControlName: str policyType: str - type: typing_extensions.Literal[ - "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" - ] + type: typing.Literal["CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] version: int @typing.type_check_only -class CloudDlpDataProfile(typing_extensions.TypedDict, total=False): +class CloudDlpDataProfile(typing.TypedDict, total=False): dataProfile: str infoTypes: _list[InfoType] - parentType: typing_extensions.Literal[ - "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" - ] + parentType: typing.Literal["PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT"] @typing.type_check_only -class CloudDlpInspection(typing_extensions.TypedDict, total=False): +class CloudDlpInspection(typing.TypedDict, total=False): fullScan: bool infoType: str infoTypeCount: str inspectJob: str @typing.type_check_only -class CloudLoggingEntry(typing_extensions.TypedDict, total=False): +class CloudLoggingEntry(typing.TypedDict, total=False): insertId: str logId: str resourceContainer: str timestamp: str @typing.type_check_only -class Compliance(typing_extensions.TypedDict, total=False): +class Compliance(typing.TypedDict, total=False): ids: _list[str] standard: str version: str @typing.type_check_only -class ComplianceDetails(typing_extensions.TypedDict, total=False): +class ComplianceDetails(typing.TypedDict, total=False): cloudControl: CloudControl cloudControlDeploymentNames: _list[str] frameworks: _list[Framework] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): destinationIp: str destinationPort: int - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP"] sourceIp: str sourcePort: int @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): email: str @typing.type_check_only -class ContactDetails(typing_extensions.TypedDict, total=False): +class ContactDetails(typing.TypedDict, total=False): contacts: _list[Contact] @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): createTime: str imageId: str labels: _list[Label] @@ -345,31 +346,31 @@ class Container(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): controlName: str displayName: str @typing.type_check_only -class CreateResourceValueConfigRequest(typing_extensions.TypedDict, total=False): +class CreateResourceValueConfigRequest(typing.TypedDict, total=False): parent: str resourceValueConfig: GoogleCloudSecuritycenterV1ResourceValueConfig @typing.type_check_only -class CustomModuleValidationError(typing_extensions.TypedDict, total=False): +class CustomModuleValidationError(typing.TypedDict, total=False): description: str end: Position fieldPath: str start: Position @typing.type_check_only -class CustomModuleValidationErrors(typing_extensions.TypedDict, total=False): +class CustomModuleValidationErrors(typing.TypedDict, total=False): errors: _list[CustomModuleValidationError] @typing.type_check_only -class Cve(typing_extensions.TypedDict, total=False): +class Cve(typing.TypedDict, total=False): cvssv3: Cvssv3 exploitReleaseDate: str - exploitationActivity: typing_extensions.Literal[ + exploitationActivity: typing.Literal[ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", @@ -379,7 +380,7 @@ class Cve(typing_extensions.TypedDict, total=False): ] firstExploitationDate: str id: str - impact: typing_extensions.Literal[ + impact: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] observedInTheWild: bool @@ -388,73 +389,67 @@ class Cve(typing_extensions.TypedDict, total=False): zeroDay: bool @typing.type_check_only -class Cvssv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class Cvssv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class Cwe(typing_extensions.TypedDict, total=False): +class Cwe(typing.TypedDict, total=False): id: str references: _list[Reference] @typing.type_check_only -class DataAccessEvent(typing_extensions.TypedDict, total=False): +class DataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str @typing.type_check_only -class DataFlowEvent(typing_extensions.TypedDict, total=False): +class DataFlowEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str violatedLocation: str @typing.type_check_only -class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): +class DataRetentionDeletionEvent(typing.TypedDict, total=False): dataObjectCount: str eventDetectionTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED", "EVENT_TYPE_MAX_TTL_FROM_CREATION", @@ -465,7 +460,7 @@ class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): minRetentionAllowed: str @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): displayName: str grantees: _list[str] name: str @@ -474,49 +469,57 @@ class Database(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): displayName: str name: str source: str @typing.type_check_only -class Denied(typing_extensions.TypedDict, total=False): +class Denied(typing.TypedDict, total=False): ipRules: _list[IpRule] @typing.type_check_only -class Detection(typing_extensions.TypedDict, total=False): +class Detection(typing.TypedDict, total=False): binary: str percentPagesMatched: float @typing.type_check_only -class DiscoveredWorkload(typing_extensions.TypedDict, total=False): - confidence: typing_extensions.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] +class DetectorReference(typing.TypedDict, total=False): + detectorId: str + displayName: str + explanation: str + recommendation: str + severity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class DiscoveredWorkload(typing.TypedDict, total=False): + confidence: typing.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] detectedRelevantHardware: bool detectedRelevantKeywords: bool detectedRelevantPackages: bool - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "MCP_SERVER", "AI_INFERENCE", "AGENT" ] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): name: str @typing.type_check_only -class DiskPath(typing_extensions.TypedDict, total=False): +class DiskPath(typing.TypedDict, total=False): partitionUuid: str relativePath: str @typing.type_check_only -class DynamicMuteRecord(typing_extensions.TypedDict, total=False): +class DynamicMuteRecord(typing.TypedDict, total=False): matchTime: str muteConfig: str @typing.type_check_only -class EffectiveEventThreatDetectionCustomModule( - typing_extensions.TypedDict, total=False -): - cloudProvider: typing_extensions.Literal[ +class EffectiveEventThreatDetectionCustomModule(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -525,24 +528,24 @@ class EffectiveEventThreatDetectionCustomModule( config: dict[str, typing.Any] description: str displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] name: str type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentVariable(typing_extensions.TypedDict, total=False): +class EnvironmentVariable(typing.TypedDict, total=False): name: str val: str @typing.type_check_only -class EventThreatDetectionCustomModule(typing_extensions.TypedDict, total=False): +class EventThreatDetectionCustomModule(typing.TypedDict, total=False): ancestorModule: str - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -551,7 +554,7 @@ class EventThreatDetectionCustomModule(typing_extensions.TypedDict, total=False) config: dict[str, typing.Any] description: str displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED", "INHERITED" ] lastEditor: str @@ -560,33 +563,33 @@ class EventThreatDetectionCustomModule(typing_extensions.TypedDict, total=False) updateTime: str @typing.type_check_only -class ExfilResource(typing_extensions.TypedDict, total=False): +class ExfilResource(typing.TypedDict, total=False): components: _list[str] name: str @typing.type_check_only -class Exfiltration(typing_extensions.TypedDict, total=False): +class Exfiltration(typing.TypedDict, total=False): sources: _list[ExfilResource] targets: _list[ExfilResource] totalExfiltratedBytes: str @typing.type_check_only -class ExportFindingsMetadata(typing_extensions.TypedDict, total=False): +class ExportFindingsMetadata(typing.TypedDict, total=False): bigQueryDestination: BigQueryDestination exportStartTime: str @typing.type_check_only -class ExportFindingsResponse(typing_extensions.TypedDict, total=False): ... +class ExportFindingsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalExposure(typing_extensions.TypedDict, total=False): +class ExternalExposure(typing.TypedDict, total=False): backendBucket: str backendService: str exposedApplication: str @@ -610,10 +613,10 @@ class ExternalExposure(typing_extensions.TypedDict, total=False): serviceFirewallPolicy: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): contents: str diskPath: DiskPath - fileLoadState: typing_extensions.Literal[ + fileLoadState: typing.Literal[ "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" ] hashedSize: str @@ -624,16 +627,19 @@ class File(typing_extensions.TypedDict, total=False): size: str @typing.type_check_only -class FileOperation(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class FileOperation(typing.TypedDict, total=False): + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" ] @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): access: Access affectedResources: AffectedResources + agent: Agent + agentAnomaly: AgentAnomaly agentDataAccessEvents: _list[AgentDataAccessEvent] + agentSessions: _list[AgentSession] aiModel: AiModel application: Application artifactGuardPolicies: ArtifactGuardPolicies @@ -664,7 +670,7 @@ class Finding(typing_extensions.TypedDict, total=False): externalSystems: dict[str, typing.Any] externalUri: str files: _list[File] - findingClass: typing_extensions.Literal[ + findingClass: typing.Literal[ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -690,7 +696,7 @@ class Finding(typing_extensions.TypedDict, total=False): logEntries: _list[LogEntry] mitreAttack: MitreAttack moduleName: str - mute: typing_extensions.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] + mute: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] muteInfo: MuteInfo muteInitiator: str muteUpdateTime: str @@ -707,24 +713,24 @@ class Finding(typing_extensions.TypedDict, total=False): secret: Secret securityMarks: SecurityMarks securityPosture: SecurityPosture - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: ToxicCombination vertexAi: VertexAi vulnerability: Vulnerability @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only -class Framework(typing_extensions.TypedDict, total=False): +class Framework(typing.TypedDict, total=False): category: _list[ - typing_extensions.Literal[ + typing.Literal[ "FRAMEWORK_CATEGORY_UNSPECIFIED", "SECURITY_BENCHMARKS", "ASSURED_WORKLOADS", @@ -736,12 +742,12 @@ class Framework(typing_extensions.TypedDict, total=False): controls: _list[Control] displayName: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" ] @typing.type_check_only -class GcpMetadata(typing_extensions.TypedDict, total=False): +class GcpMetadata(typing.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV2Folder] organization: str parent: str @@ -750,21 +756,19 @@ class GcpMetadata(typing_extensions.TypedDict, total=False): projectDisplayName: str @typing.type_check_only -class Geolocation(typing_extensions.TypedDict, total=False): +class Geolocation(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleCloudSecuritycenterV1BigQueryExport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1BigQueryExport(typing.TypedDict, total=False): createTime: str dataset: str description: str @@ -775,7 +779,7 @@ class GoogleCloudSecuritycenterV1BigQueryExport( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV1Binding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Binding(typing.TypedDict, total=False): name: str ns: str role: Role @@ -783,31 +787,29 @@ class GoogleCloudSecuritycenterV1Binding(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudSecuritycenterV1CustomConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1CustomConfig(typing.TypedDict, total=False): customOutput: GoogleCloudSecuritycenterV1CustomOutputSpec description: str predicate: Expr recommendation: str resourceSelector: GoogleCloudSecuritycenterV1ResourceSelector - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only -class GoogleCloudSecuritycenterV1CustomOutputSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1CustomOutputSpec(typing.TypedDict, total=False): properties: _list[GoogleCloudSecuritycenterV1Property] @typing.type_check_only class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -815,15 +817,13 @@ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule( ] customConfig: GoogleCloudSecuritycenterV1CustomConfig displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV1ExternalSystem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ExternalSystem(typing.TypedDict, total=False): assignees: _list[str] caseCloseTime: str caseCreateTime: str @@ -837,18 +837,16 @@ class GoogleCloudSecuritycenterV1ExternalSystem( ticketInfo: TicketInfo @typing.type_check_only -class GoogleCloudSecuritycenterV1IamDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1IamDetails(typing.TypedDict, total=False): iamRolePermissions: _list[GoogleCloudSecuritycenterV1IamRolePermission] @typing.type_check_only -class GoogleCloudSecuritycenterV1IamRolePermission( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1IamRolePermission(typing.TypedDict, total=False): name: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV1MuteConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1MuteConfig(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -856,31 +854,29 @@ class GoogleCloudSecuritycenterV1MuteConfig(typing_extensions.TypedDict, total=F filter: str mostRecentEditor: str name: str - type: typing_extensions.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] + type: typing.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV1NotificationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1NotificationMessage(typing.TypedDict, total=False): finding: Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV1Resource @typing.type_check_only -class GoogleCloudSecuritycenterV1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Property(typing.TypedDict, total=False): name: str valueExpression: Expr @typing.type_check_only -class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Resource(typing.TypedDict, total=False): adcApplication: AdcApplication adcApplicationTemplate: AdcApplicationTemplateRevision adcSharedTemplate: AdcSharedTemplateRevision application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -901,15 +897,13 @@ class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=Fal type: str @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ResourceApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo @@ -925,37 +919,33 @@ class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceSelector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ResourceSelector(typing.TypedDict, total=False): resourceTypes: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceValueConfig( - typing_extensions.TypedDict, total=False -): - cloudProvider: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV1ResourceValueConfig(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -966,7 +956,7 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig( name: str resourceLabelsSelector: dict[str, typing.Any] resourceType: str - resourceValue: typing_extensions.Literal[ + resourceValue: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] scope: str @@ -978,19 +968,17 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig( @typing.type_check_only class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ancestorModule: str - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -998,7 +986,7 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( ] customConfig: GoogleCloudSecuritycenterV1CustomConfig displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED", "INHERITED" ] lastEditor: str @@ -1007,28 +995,24 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( @typing.type_check_only class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - highSensitivityMapping: typing_extensions.Literal[ + highSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] - mediumSensitivityMapping: typing_extensions.Literal[ + mediumSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] @typing.type_check_only class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Finding( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Finding(typing.TypedDict, total=False): canonicalName: str category: str createTime: str @@ -1038,31 +1022,27 @@ class GoogleCloudSecuritycenterV1p1beta1Finding( parent: str resourceName: str securityMarks: GoogleCloudSecuritycenterV1p1beta1SecurityMarks - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Folder( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only class GoogleCloudSecuritycenterV1p1beta1NotificationMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finding: GoogleCloudSecuritycenterV1p1beta1Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV1p1beta1Resource @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Resource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Resource(typing.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV1p1beta1Folder] name: str parent: str @@ -1072,23 +1052,19 @@ class GoogleCloudSecuritycenterV1p1beta1Resource( @typing.type_check_only class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1SecurityMarks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Access(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Access(typing.TypedDict, total=False): callerIp: str callerIpGeo: GoogleCloudSecuritycenterV2Geolocation methodName: str @@ -1104,7 +1080,7 @@ class GoogleCloudSecuritycenterV2Access(typing_extensions.TypedDict, total=False userName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AccessReview(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AccessReview(typing.TypedDict, total=False): group: str name: str ns: str @@ -1114,50 +1090,55 @@ class GoogleCloudSecuritycenterV2AccessReview(typing_extensions.TypedDict, total version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AdaptiveProtection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AdaptiveProtection(typing.TypedDict, total=False): confidence: float @typing.type_check_only -class GoogleCloudSecuritycenterV2AdcApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AdcApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AffectedResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AffectedResources(typing.TypedDict, total=False): count: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AgentDataAccessEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2Agent(typing.TypedDict, total=False): + displayName: str + id: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AgentAnomaly(typing.TypedDict, total=False): + confidenceScore: float + detectorReferences: _list[GoogleCloudSecuritycenterV2DetectorReference] + invocationReferences: _list[GoogleCloudSecuritycenterV2InvocationReference] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AgentDataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalSubject: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): - deploymentPlatform: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2AgentSession(typing.TypedDict, total=False): + sessionId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AiModel(typing.TypedDict, total=False): + deploymentPlatform: typing.Literal[ "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str @@ -1169,33 +1150,27 @@ class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=Fals usageCategory: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Allowed(typing.TypedDict, total=False): ipRules: _list[GoogleCloudSecuritycenterV2IpRule] @typing.type_check_only -class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Application(typing.TypedDict, total=False): baseUri: str fullUri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ArtifactGuardPolicies( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ArtifactGuardPolicies(typing.TypedDict, total=False): failingPolicies: _list[GoogleCloudSecuritycenterV2ArtifactGuardPolicy] resourceId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ArtifactGuardPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ArtifactGuardPolicy(typing.TypedDict, total=False): failureReason: str policyId: str - type: typing_extensions.Literal[ - "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" - ] + type: typing.Literal["ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY"] @typing.type_check_only -class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Attack(typing.TypedDict, total=False): classification: str volumeBps: int volumeBpsLong: str @@ -1203,82 +1178,64 @@ class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False volumePpsLong: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AttackExposure( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AttackExposure(typing.TypedDict, total=False): attackExposureResult: str exposedHighValueResourcesCount: int exposedLowValueResourcesCount: int exposedMediumValueResourcesCount: int latestCalculationTime: str score: float - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsAccount(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AwsAccount(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AwsMetadata(typing.TypedDict, total=False): account: GoogleCloudSecuritycenterV2AwsAccount organization: GoogleCloudSecuritycenterV2AwsOrganization organizationalUnits: _list[GoogleCloudSecuritycenterV2AwsOrganizationalUnit] @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsOrganization( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AwsOrganization(typing.TypedDict, total=False): id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsOrganizationalUnit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AwsOrganizationalUnit(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureManagementGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureManagementGroup(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureMetadata(typing.TypedDict, total=False): managementGroups: _list[GoogleCloudSecuritycenterV2AzureManagementGroup] resourceGroup: GoogleCloudSecuritycenterV2AzureResourceGroup subscription: GoogleCloudSecuritycenterV2AzureSubscription tenant: GoogleCloudSecuritycenterV2AzureTenant @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureResourceGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureResourceGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureSubscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureSubscription(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureTenant(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AzureTenant(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2BackupDisasterRecovery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2BackupDisasterRecovery(typing.TypedDict, total=False): appliance: str applications: _list[str] backupCreateTime: str @@ -1291,9 +1248,7 @@ class GoogleCloudSecuritycenterV2BackupDisasterRecovery( storagePool: str @typing.type_check_only -class GoogleCloudSecuritycenterV2BigQueryExport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2BigQueryExport(typing.TypedDict, total=False): createTime: str cryptoKeyName: str dataset: str @@ -1305,7 +1260,7 @@ class GoogleCloudSecuritycenterV2BigQueryExport( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Binding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Binding(typing.TypedDict, total=False): name: str ns: str role: GoogleCloudSecuritycenterV2Role @@ -1313,15 +1268,15 @@ class GoogleCloudSecuritycenterV2Binding(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudSecuritycenterV2Chokepoint(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Chokepoint(typing.TypedDict, total=False): relatedFindings: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2CloudArmor(typing.TypedDict, total=False): adaptiveProtection: GoogleCloudSecuritycenterV2AdaptiveProtection attack: GoogleCloudSecuritycenterV2Attack duration: str @@ -1330,78 +1285,62 @@ class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=F threatVector: str @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudControl(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2CloudControl(typing.TypedDict, total=False): cloudControlName: str policyType: str - type: typing_extensions.Literal[ - "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" - ] + type: typing.Literal["CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] version: int @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudDlpDataProfile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudDlpDataProfile(typing.TypedDict, total=False): dataProfile: str infoTypes: _list[GoogleCloudSecuritycenterV2InfoType] - parentType: typing_extensions.Literal[ - "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" - ] + parentType: typing.Literal["PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT"] @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudDlpInspection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudDlpInspection(typing.TypedDict, total=False): fullScan: bool infoType: str infoTypeCount: str inspectJob: str @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudLoggingEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudLoggingEntry(typing.TypedDict, total=False): insertId: str logId: str resourceContainer: str timestamp: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Compliance(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Compliance(typing.TypedDict, total=False): ids: _list[str] standard: str version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ComplianceDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ComplianceDetails(typing.TypedDict, total=False): cloudControl: GoogleCloudSecuritycenterV2CloudControl cloudControlDeploymentNames: _list[str] frameworks: _list[GoogleCloudSecuritycenterV2Framework] @typing.type_check_only -class GoogleCloudSecuritycenterV2Connection(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Connection(typing.TypedDict, total=False): destinationIp: str destinationPort: int - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP"] sourceIp: str sourcePort: int @typing.type_check_only -class GoogleCloudSecuritycenterV2Contact(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Contact(typing.TypedDict, total=False): email: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ContactDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ContactDetails(typing.TypedDict, total=False): contacts: _list[GoogleCloudSecuritycenterV2Contact] @typing.type_check_only -class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Container(typing.TypedDict, total=False): createTime: str imageId: str labels: _list[GoogleCloudSecuritycenterV2Label] @@ -1409,15 +1348,15 @@ class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=Fa uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Control(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Control(typing.TypedDict, total=False): controlName: str displayName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Cve(typing.TypedDict, total=False): cvssv3: GoogleCloudSecuritycenterV2Cvssv3 exploitReleaseDate: str - exploitationActivity: typing_extensions.Literal[ + exploitationActivity: typing.Literal[ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", @@ -1427,7 +1366,7 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): ] firstExploitationDate: str id: str - impact: typing_extensions.Literal[ + impact: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] observedInTheWild: bool @@ -1436,79 +1375,69 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): zeroDay: bool @typing.type_check_only -class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2Cvssv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Cwe(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Cwe(typing.TypedDict, total=False): id: str references: _list[GoogleCloudSecuritycenterV2Reference] @typing.type_check_only -class GoogleCloudSecuritycenterV2DataAccessEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DataFlowEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DataFlowEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str violatedLocation: str @typing.type_check_only class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataObjectCount: str eventDetectionTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED", "EVENT_TYPE_MAX_TTL_FROM_CREATION", @@ -1519,7 +1448,7 @@ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( minRetentionAllowed: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Database(typing.TypedDict, total=False): displayName: str grantees: _list[str] name: str @@ -1528,72 +1457,72 @@ class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=Fal version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Dataset(typing.TypedDict, total=False): displayName: str name: str source: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Denied(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Denied(typing.TypedDict, total=False): ipRules: _list[GoogleCloudSecuritycenterV2IpRule] @typing.type_check_only -class GoogleCloudSecuritycenterV2Detection(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Detection(typing.TypedDict, total=False): binary: str percentPagesMatched: float @typing.type_check_only -class GoogleCloudSecuritycenterV2DiscoveredWorkload( - typing_extensions.TypedDict, total=False -): - confidence: typing_extensions.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] +class GoogleCloudSecuritycenterV2DetectorReference(typing.TypedDict, total=False): + detectorId: str + displayName: str + explanation: str + recommendation: str + severity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2DiscoveredWorkload(typing.TypedDict, total=False): + confidence: typing.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] detectedRelevantHardware: bool detectedRelevantKeywords: bool detectedRelevantPackages: bool - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "MCP_SERVER", "AI_INFERENCE", "AGENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Disk(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Disk(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DiskPath(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2DiskPath(typing.TypedDict, total=False): partitionUuid: str relativePath: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DynamicMuteRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DynamicMuteRecord(typing.TypedDict, total=False): matchTime: str muteConfig: str @typing.type_check_only -class GoogleCloudSecuritycenterV2EnvironmentVariable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2EnvironmentVariable(typing.TypedDict, total=False): name: str val: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExfilResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExfilResource(typing.TypedDict, total=False): components: _list[str] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Exfiltration(typing.TypedDict, total=False): sources: _list[GoogleCloudSecuritycenterV2ExfilResource] targets: _list[GoogleCloudSecuritycenterV2ExfilResource] totalExfiltratedBytes: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExternalExposure( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExternalExposure(typing.TypedDict, total=False): backendBucket: str backendService: str exposedApplication: str @@ -1617,9 +1546,7 @@ class GoogleCloudSecuritycenterV2ExternalExposure( serviceFirewallPolicy: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExternalSystem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExternalSystem(typing.TypedDict, total=False): assignees: _list[str] caseCloseTime: str caseCreateTime: str @@ -1633,10 +1560,10 @@ class GoogleCloudSecuritycenterV2ExternalSystem( ticketInfo: GoogleCloudSecuritycenterV2TicketInfo @typing.type_check_only -class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2File(typing.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath - fileLoadState: typing_extensions.Literal[ + fileLoadState: typing.Literal[ "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" ] hashedSize: str @@ -1647,18 +1574,19 @@ class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): size: str @typing.type_check_only -class GoogleCloudSecuritycenterV2FileOperation( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2FileOperation(typing.TypedDict, total=False): + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Finding(typing.TypedDict, total=False): access: GoogleCloudSecuritycenterV2Access affectedResources: GoogleCloudSecuritycenterV2AffectedResources + agent: GoogleCloudSecuritycenterV2Agent + agentAnomaly: GoogleCloudSecuritycenterV2AgentAnomaly agentDataAccessEvents: _list[GoogleCloudSecuritycenterV2AgentDataAccessEvent] + agentSessions: _list[GoogleCloudSecuritycenterV2AgentSession] aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application artifactGuardPolicies: GoogleCloudSecuritycenterV2ArtifactGuardPolicies @@ -1692,7 +1620,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals externalSystems: dict[str, typing.Any] externalUri: str files: _list[GoogleCloudSecuritycenterV2File] - findingClass: typing_extensions.Literal[ + findingClass: typing.Literal[ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -1718,7 +1646,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals logEntries: _list[GoogleCloudSecuritycenterV2LogEntry] mitreAttack: GoogleCloudSecuritycenterV2MitreAttack moduleName: str - mute: typing_extensions.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] + mute: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] muteInfo: GoogleCloudSecuritycenterV2MuteInfo muteInitiator: str muteUpdateTime: str @@ -1735,24 +1663,24 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals secret: GoogleCloudSecuritycenterV2Secret securityMarks: GoogleCloudSecuritycenterV2SecurityMarks securityPosture: GoogleCloudSecuritycenterV2SecurityPosture - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: GoogleCloudSecuritycenterV2ToxicCombination vertexAi: GoogleCloudSecuritycenterV2VertexAi vulnerability: GoogleCloudSecuritycenterV2Vulnerability @typing.type_check_only -class GoogleCloudSecuritycenterV2Folder(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Framework(typing.TypedDict, total=False): category: _list[ - typing_extensions.Literal[ + typing.Literal[ "FRAMEWORK_CATEGORY_UNSPECIFIED", "SECURITY_BENCHMARKS", "ASSURED_WORKLOADS", @@ -1764,82 +1692,82 @@ class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=Fa controls: _list[GoogleCloudSecuritycenterV2Control] displayName: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Geolocation(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Geolocation(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class GoogleCloudSecuritycenterV2GroupMembership( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2GroupMembership(typing.TypedDict, total=False): groupId: str - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION", "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only -class GoogleCloudSecuritycenterV2HttpResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2HttpResponse(typing.TypedDict, total=False): path: str statusCode: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IamBinding(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleCloudSecuritycenterV2IamBinding(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] member: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IamDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IamDetails(typing.TypedDict, total=False): iamRolePermissions: _list[GoogleCloudSecuritycenterV2IamRolePermission] @typing.type_check_only -class GoogleCloudSecuritycenterV2IamRolePermission( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IamRolePermission(typing.TypedDict, total=False): name: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Indicator(typing.TypedDict, total=False): domains: _list[str] ipAddresses: _list[str] signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2InfoType(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2InfoType(typing.TypedDict, total=False): name: str sensitivityScore: GoogleCloudSecuritycenterV2SensitivityScore version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2InvocationReference(typing.TypedDict, total=False): + invocationId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRule(typing.TypedDict, total=False): portRanges: _list[GoogleCloudSecuritycenterV2PortRange] protocol: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IpRules(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IpRules(typing.TypedDict, total=False): allowed: GoogleCloudSecuritycenterV2Allowed denied: GoogleCloudSecuritycenterV2Denied destinationIpRanges: _list[str] - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] exposedServices: _list[str] sourceIpRanges: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Issue(typing.TypedDict, total=False): createTime: str description: str detection: str domains: _list[GoogleCloudSecuritycenterV2IssueDomain] exposureScore: float - issueType: typing_extensions.Literal[ + issueType: typing.Literal[ "ISSUE_TYPE_UNSPECIFIED", "CHOKEPOINT", "TOXIC_COMBINATION", "INSIGHT" ] lastObservationTime: str @@ -1850,15 +1778,15 @@ class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False) remediations: _list[str] secondaryResources: _list[GoogleCloudSecuritycenterV2IssueResource] securityContexts: _list[GoogleCloudSecuritycenterV2IssueSecurityContext] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total=False): - domainCategory: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2IssueDomain(typing.TypedDict, total=False): + domainCategory: typing.Literal[ "DOMAIN_CATEGORY_UNSPECIFIED", "AI", "CODE", @@ -1870,34 +1798,30 @@ class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueFinding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IssueFinding(typing.TypedDict, total=False): cve: GoogleCloudSecuritycenterV2IssueFindingCve name: str securityBulletin: GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueFindingCve( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueFindingCve(typing.TypedDict, total=False): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IssueMute(typing.TypedDict, total=False): muteInitiator: str muteReason: str - muteState: typing_extensions.Literal["MUTE_STATE_UNSPECIFIED", "NOT_MUTED", "MUTED"] + muteState: typing.Literal["MUTE_STATE_UNSPECIFIED", "NOT_MUTED", "MUTED"] muteUpdateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueResource(typing.TypedDict, total=False): adcApplication: GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplicationTemplate: ( GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision @@ -1906,7 +1830,7 @@ class GoogleCloudSecuritycenterV2IssueResource( application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD", "AMAZON_WEB_SERVICES", @@ -1919,33 +1843,33 @@ class GoogleCloudSecuritycenterV2IssueResource( @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcApplication( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplication( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo @@ -1965,92 +1889,88 @@ class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): account: GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): subscription: GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str id: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueSecurityContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueSecurityContext(typing.TypedDict, total=False): aggregatedCount: GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount context: GoogleCloudSecuritycenterV2IssueSecurityContextContext @typing.type_check_only class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: int @typing.type_check_only class GoogleCloudSecuritycenterV2IssueSecurityContextContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): type: str values: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2Job(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Job(typing.TypedDict, total=False): errorCode: int location: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2KernelRootkit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2KernelRootkit(typing.TypedDict, total=False): name: str unexpectedCodeModification: bool unexpectedFtraceHandler: bool @@ -2062,7 +1982,7 @@ class GoogleCloudSecuritycenterV2KernelRootkit( unexpectedSystemCallHandler: bool @typing.type_check_only -class GoogleCloudSecuritycenterV2Kubernetes(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Kubernetes(typing.TypedDict, total=False): accessReviews: _list[GoogleCloudSecuritycenterV2AccessReview] bindings: _list[GoogleCloudSecuritycenterV2Binding] nodePools: _list[GoogleCloudSecuritycenterV2NodePool] @@ -2072,29 +1992,27 @@ class GoogleCloudSecuritycenterV2Kubernetes(typing_extensions.TypedDict, total=F roles: _list[GoogleCloudSecuritycenterV2Role] @typing.type_check_only -class GoogleCloudSecuritycenterV2Label(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Label(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudSecuritycenterV2LoadBalancer(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2LoadBalancer(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2LogEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2LogEntry(typing.TypedDict, total=False): cloudLoggingEntry: GoogleCloudSecuritycenterV2CloudLoggingEntry @typing.type_check_only -class GoogleCloudSecuritycenterV2MemoryHashSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2MemoryHashSignature(typing.TypedDict, total=False): binaryFamily: str detections: _list[GoogleCloudSecuritycenterV2Detection] @typing.type_check_only -class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MitreAttack(typing.TypedDict, total=False): additionalTactics: _list[ - typing_extensions.Literal[ + typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2113,7 +2031,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= ] ] additionalTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -2255,7 +2173,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "FINANCIAL_THEFT", ] ] - primaryTactic: typing_extensions.Literal[ + primaryTactic: typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2273,7 +2191,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "IMPACT", ] primaryTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -2418,7 +2336,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MuteConfig(typing.TypedDict, total=False): createTime: str cryptoKeyName: str description: str @@ -2426,44 +2344,42 @@ class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=F filter: str mostRecentEditor: str name: str - type: typing_extensions.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] + type: typing.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2MuteInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MuteInfo(typing.TypedDict, total=False): dynamicMuteRecords: _list[GoogleCloudSecuritycenterV2DynamicMuteRecord] staticMute: GoogleCloudSecuritycenterV2StaticMute @typing.type_check_only -class GoogleCloudSecuritycenterV2Network(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Network(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Node(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Node(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2NodePool(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2NodePool(typing.TypedDict, total=False): name: str nodes: _list[GoogleCloudSecuritycenterV2Node] @typing.type_check_only -class GoogleCloudSecuritycenterV2Notebook(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Notebook(typing.TypedDict, total=False): lastAuthor: str name: str notebookUpdateTime: str service: str @typing.type_check_only -class GoogleCloudSecuritycenterV2NotificationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2NotificationMessage(typing.TypedDict, total=False): finding: GoogleCloudSecuritycenterV2Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV2Resource @typing.type_check_only -class GoogleCloudSecuritycenterV2Object(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Object(typing.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] group: str kind: str @@ -2471,52 +2387,48 @@ class GoogleCloudSecuritycenterV2Object(typing_extensions.TypedDict, total=False ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2OrgPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2OrgPolicy(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Package(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Package(typing.TypedDict, total=False): cpeUri: str packageName: str packageType: str packageVersion: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Pipeline(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Pipeline(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Pod(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Pod(typing.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] labels: _list[GoogleCloudSecuritycenterV2Label] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PolicyDriftDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2PolicyDriftDetails(typing.TypedDict, total=False): detectedValue: str expectedValue: str field: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PolicyViolationSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2PolicyViolationSummary(typing.TypedDict, total=False): conformantResourcesCount: str evaluationErrorsCount: str outOfScopeResourcesCount: str policyViolationsCount: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PortRange(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2PortRange(typing.TypedDict, total=False): max: str min: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Process(typing.TypedDict, total=False): args: _list[str] argumentsTruncated: bool binary: GoogleCloudSecuritycenterV2File @@ -2530,36 +2442,34 @@ class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=Fals userId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ProcessSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ProcessSignature(typing.TypedDict, total=False): memoryHashSignature: GoogleCloudSecuritycenterV2MemoryHashSignature - signatureType: typing_extensions.Literal[ + signatureType: typing.Literal[ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] yaraRuleSignature: GoogleCloudSecuritycenterV2YaraRuleSignature @typing.type_check_only -class GoogleCloudSecuritycenterV2Reference(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Reference(typing.TypedDict, total=False): source: str uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Requests(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Requests(typing.TypedDict, total=False): longTermAllowed: int longTermDenied: int ratio: float shortTermAllowed: int @typing.type_check_only -class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Resource(typing.TypedDict, total=False): adcApplication: GoogleCloudSecuritycenterV2AdcApplication adcApplicationTemplate: GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcSharedTemplate: GoogleCloudSecuritycenterV2AdcSharedTemplateRevision application: GoogleCloudSecuritycenterV2ResourceApplication awsMetadata: GoogleCloudSecuritycenterV2AwsMetadata azureMetadata: GoogleCloudSecuritycenterV2AzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -2575,15 +2485,13 @@ class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=Fal type: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourceApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ResourceApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo @@ -2599,37 +2507,35 @@ class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourcePath(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2ResourcePath(typing.TypedDict, total=False): nodes: _list[GoogleCloudSecuritycenterV2ResourcePathNode] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourcePathNode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ResourcePathNode(typing.TypedDict, total=False): displayName: str id: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", @@ -2643,10 +2549,8 @@ class GoogleCloudSecuritycenterV2ResourcePathNode( ] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourceValueConfig( - typing_extensions.TypedDict, total=False -): - cloudProvider: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2ResourceValueConfig(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -2657,7 +2561,7 @@ class GoogleCloudSecuritycenterV2ResourceValueConfig( name: str resourceLabelsSelector: dict[str, typing.Any] resourceType: str - resourceValue: typing_extensions.Literal[ + resourceValue: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] scope: str @@ -2668,13 +2572,13 @@ class GoogleCloudSecuritycenterV2ResourceValueConfig( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Role(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] +class GoogleCloudSecuritycenterV2Role(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Secret(typing.TypedDict, total=False): environmentVariable: GoogleCloudSecuritycenterV2SecretEnvironmentVariable filePath: GoogleCloudSecuritycenterV2SecretFilePath status: GoogleCloudSecuritycenterV2SecretStatus @@ -2682,20 +2586,18 @@ class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudSecuritycenterV2SecretEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecretFilePath( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecretFilePath(typing.TypedDict, total=False): path: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2SecretStatus(typing.TypedDict, total=False): lastUpdatedTime: str - validity: typing_extensions.Literal[ + validity: typing.Literal[ "SECRET_VALIDITY_UNSPECIFIED", "SECRET_VALIDITY_UNSUPPORTED", "SECRET_VALIDITY_FAILED", @@ -2704,33 +2606,25 @@ class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityBulletin( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityBulletin(typing.TypedDict, total=False): bulletinId: str submissionTime: str suggestedUpgradeVersion: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityMarks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityPolicy(typing.TypedDict, total=False): name: str preview: bool type: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityPosture( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityPosture(typing.TypedDict, total=False): changedPolicy: str name: str policy: str @@ -2742,20 +2636,18 @@ class GoogleCloudSecuritycenterV2SecurityPosture( @typing.type_check_only class GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - highSensitivityMapping: typing_extensions.Literal[ + highSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] - mediumSensitivityMapping: typing_extensions.Literal[ + mediumSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2SensitivityScore( - typing_extensions.TypedDict, total=False -): - score: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2SensitivityScore(typing.TypedDict, total=False): + score: typing.Literal[ "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", "SENSITIVITY_LOW", "SENSITIVITY_UNKNOWN", @@ -2765,28 +2657,24 @@ class GoogleCloudSecuritycenterV2SensitivityScore( @typing.type_check_only class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): principalEmail: str principalSubject: str @typing.type_check_only -class GoogleCloudSecuritycenterV2StaticMute(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2StaticMute(typing.TypedDict, total=False): applyTime: str - state: typing_extensions.Literal[ - "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" - ] + state: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] @typing.type_check_only -class GoogleCloudSecuritycenterV2Subject(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ - "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" - ] +class GoogleCloudSecuritycenterV2Subject(typing.TypedDict, total=False): + kind: typing.Literal["AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP"] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2TicketInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2TicketInfo(typing.TypedDict, total=False): assignee: str description: str id: str @@ -2795,21 +2683,17 @@ class GoogleCloudSecuritycenterV2TicketInfo(typing_extensions.TypedDict, total=F uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ToxicCombination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ToxicCombination(typing.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2VertexAi(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2VertexAi(typing.TypedDict, total=False): datasets: _list[GoogleCloudSecuritycenterV2Dataset] pipelines: _list[GoogleCloudSecuritycenterV2Pipeline] @typing.type_check_only -class GoogleCloudSecuritycenterV2Vulnerability( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2Vulnerability(typing.TypedDict, total=False): cve: GoogleCloudSecuritycenterV2Cve cwes: _list[GoogleCloudSecuritycenterV2Cwe] fixedPackage: GoogleCloudSecuritycenterV2Package @@ -2819,13 +2703,11 @@ class GoogleCloudSecuritycenterV2Vulnerability( securityBulletin: GoogleCloudSecuritycenterV2SecurityBulletin @typing.type_check_only -class GoogleCloudSecuritycenterV2YaraRuleSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2YaraRuleSignature(typing.TypedDict, total=False): yaraRule: str @typing.type_check_only -class GroupAssetsRequest(typing_extensions.TypedDict, total=False): +class GroupAssetsRequest(typing.TypedDict, total=False): compareDuration: str filter: str groupBy: str @@ -2834,14 +2716,14 @@ class GroupAssetsRequest(typing_extensions.TypedDict, total=False): readTime: str @typing.type_check_only -class GroupAssetsResponse(typing_extensions.TypedDict, total=False): +class GroupAssetsResponse(typing.TypedDict, total=False): groupByResults: _list[GroupResult] nextPageToken: str readTime: str totalSize: int @typing.type_check_only -class GroupFindingsRequest(typing_extensions.TypedDict, total=False): +class GroupFindingsRequest(typing.TypedDict, total=False): compareDuration: str filter: str groupBy: str @@ -2850,79 +2732,83 @@ class GroupFindingsRequest(typing_extensions.TypedDict, total=False): readTime: str @typing.type_check_only -class GroupFindingsResponse(typing_extensions.TypedDict, total=False): +class GroupFindingsResponse(typing.TypedDict, total=False): groupByResults: _list[GroupResult] nextPageToken: str readTime: str totalSize: int @typing.type_check_only -class GroupMembership(typing_extensions.TypedDict, total=False): +class GroupMembership(typing.TypedDict, total=False): groupId: str - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION", "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only -class GroupResult(typing_extensions.TypedDict, total=False): +class GroupResult(typing.TypedDict, total=False): count: str properties: dict[str, typing.Any] @typing.type_check_only -class HttpResponse(typing_extensions.TypedDict, total=False): +class HttpResponse(typing.TypedDict, total=False): path: str statusCode: str @typing.type_check_only -class IamBinding(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class IamBinding(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] member: str role: str @typing.type_check_only -class IamPolicy(typing_extensions.TypedDict, total=False): +class IamPolicy(typing.TypedDict, total=False): policyBlob: str @typing.type_check_only -class Indicator(typing_extensions.TypedDict, total=False): +class Indicator(typing.TypedDict, total=False): domains: _list[str] ipAddresses: _list[str] signatures: _list[ProcessSignature] uris: _list[str] @typing.type_check_only -class InfoType(typing_extensions.TypedDict, total=False): +class InfoType(typing.TypedDict, total=False): name: str sensitivityScore: SensitivityScore version: str @typing.type_check_only -class IpRule(typing_extensions.TypedDict, total=False): +class InvocationReference(typing.TypedDict, total=False): + invocationId: str + +@typing.type_check_only +class IpRule(typing.TypedDict, total=False): portRanges: _list[PortRange] protocol: str @typing.type_check_only -class IpRules(typing_extensions.TypedDict, total=False): +class IpRules(typing.TypedDict, total=False): allowed: Allowed denied: Denied destinationIpRanges: _list[str] - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] exposedServices: _list[str] sourceIpRanges: _list[str] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): errorCode: int location: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class KernelRootkit(typing_extensions.TypedDict, total=False): +class KernelRootkit(typing.TypedDict, total=False): name: str unexpectedCodeModification: bool unexpectedFtraceHandler: bool @@ -2934,7 +2820,7 @@ class KernelRootkit(typing_extensions.TypedDict, total=False): unexpectedSystemCallHandler: bool @typing.type_check_only -class Kubernetes(typing_extensions.TypedDict, total=False): +class Kubernetes(typing.TypedDict, total=False): accessReviews: _list[AccessReview] bindings: _list[GoogleCloudSecuritycenterV1Binding] nodePools: _list[NodePool] @@ -2944,42 +2830,42 @@ class Kubernetes(typing_extensions.TypedDict, total=False): roles: _list[Role] @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ListAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsResponse(typing.TypedDict, total=False): listAssetsResults: _list[ListAssetsResult] nextPageToken: str readTime: str totalSize: int @typing.type_check_only -class ListAssetsResult(typing_extensions.TypedDict, total=False): +class ListAssetsResult(typing.TypedDict, total=False): asset: Asset - stateChange: typing_extensions.Literal["UNUSED", "ADDED", "REMOVED", "ACTIVE"] + stateChange: typing.Literal["UNUSED", "ADDED", "REMOVED", "ACTIVE"] @typing.type_check_only -class ListAttackPathsResponse(typing_extensions.TypedDict, total=False): +class ListAttackPathsResponse(typing.TypedDict, total=False): attackPaths: _list[AttackPath] nextPageToken: str @typing.type_check_only -class ListBigQueryExportsResponse(typing_extensions.TypedDict, total=False): +class ListBigQueryExportsResponse(typing.TypedDict, total=False): bigQueryExports: _list[GoogleCloudSecuritycenterV1BigQueryExport] nextPageToken: str @typing.type_check_only class ListDescendantEventThreatDetectionCustomModulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): eventThreatDetectionCustomModules: _list[EventThreatDetectionCustomModule] nextPageToken: str @typing.type_check_only class ListDescendantSecurityHealthAnalyticsCustomModulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): nextPageToken: str securityHealthAnalyticsCustomModules: _list[ @@ -2988,7 +2874,7 @@ class ListDescendantSecurityHealthAnalyticsCustomModulesResponse( @typing.type_check_only class ListEffectiveEventThreatDetectionCustomModulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveEventThreatDetectionCustomModules: _list[ EffectiveEventThreatDetectionCustomModule @@ -2997,7 +2883,7 @@ class ListEffectiveEventThreatDetectionCustomModulesResponse( @typing.type_check_only class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): effectiveSecurityHealthAnalyticsCustomModules: _list[ GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule @@ -3005,85 +2891,79 @@ class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse( nextPageToken: str @typing.type_check_only -class ListEventThreatDetectionCustomModulesResponse( - typing_extensions.TypedDict, total=False -): +class ListEventThreatDetectionCustomModulesResponse(typing.TypedDict, total=False): eventThreatDetectionCustomModules: _list[EventThreatDetectionCustomModule] nextPageToken: str @typing.type_check_only -class ListFindingsResponse(typing_extensions.TypedDict, total=False): +class ListFindingsResponse(typing.TypedDict, total=False): listFindingsResults: _list[ListFindingsResult] nextPageToken: str readTime: str totalSize: int @typing.type_check_only -class ListFindingsResult(typing_extensions.TypedDict, total=False): +class ListFindingsResult(typing.TypedDict, total=False): finding: Finding resource: Resource - stateChange: typing_extensions.Literal[ - "UNUSED", "CHANGED", "UNCHANGED", "ADDED", "REMOVED" - ] + stateChange: typing.Literal["UNUSED", "CHANGED", "UNCHANGED", "ADDED", "REMOVED"] @typing.type_check_only -class ListMuteConfigsResponse(typing_extensions.TypedDict, total=False): +class ListMuteConfigsResponse(typing.TypedDict, total=False): muteConfigs: _list[GoogleCloudSecuritycenterV1MuteConfig] nextPageToken: str @typing.type_check_only -class ListNotificationConfigsResponse(typing_extensions.TypedDict, total=False): +class ListNotificationConfigsResponse(typing.TypedDict, total=False): nextPageToken: str notificationConfigs: _list[NotificationConfig] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListResourceValueConfigsResponse(typing_extensions.TypedDict, total=False): +class ListResourceValueConfigsResponse(typing.TypedDict, total=False): nextPageToken: str resourceValueConfigs: _list[GoogleCloudSecuritycenterV1ResourceValueConfig] @typing.type_check_only -class ListSecurityHealthAnalyticsCustomModulesResponse( - typing_extensions.TypedDict, total=False -): +class ListSecurityHealthAnalyticsCustomModulesResponse(typing.TypedDict, total=False): nextPageToken: str securityHealthAnalyticsCustomModules: _list[ GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule ] @typing.type_check_only -class ListSourcesResponse(typing_extensions.TypedDict, total=False): +class ListSourcesResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[Source] @typing.type_check_only -class ListValuedResourcesResponse(typing_extensions.TypedDict, total=False): +class ListValuedResourcesResponse(typing.TypedDict, total=False): nextPageToken: str totalSize: int valuedResources: _list[ValuedResource] @typing.type_check_only -class LoadBalancer(typing_extensions.TypedDict, total=False): +class LoadBalancer(typing.TypedDict, total=False): name: str @typing.type_check_only -class LogEntry(typing_extensions.TypedDict, total=False): +class LogEntry(typing.TypedDict, total=False): cloudLoggingEntry: CloudLoggingEntry @typing.type_check_only -class MemoryHashSignature(typing_extensions.TypedDict, total=False): +class MemoryHashSignature(typing.TypedDict, total=False): binaryFamily: str detections: _list[Detection] @typing.type_check_only -class MitreAttack(typing_extensions.TypedDict, total=False): +class MitreAttack(typing.TypedDict, total=False): additionalTactics: _list[ - typing_extensions.Literal[ + typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -3102,7 +2982,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): ] ] additionalTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -3244,7 +3124,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "FINANCIAL_THEFT", ] ] - primaryTactic: typing_extensions.Literal[ + primaryTactic: typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -3262,7 +3142,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "IMPACT", ] primaryTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -3407,32 +3287,32 @@ class MitreAttack(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class MuteInfo(typing_extensions.TypedDict, total=False): +class MuteInfo(typing.TypedDict, total=False): dynamicMuteRecords: _list[DynamicMuteRecord] staticMute: StaticMute @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): name: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): name: str @typing.type_check_only -class NodePool(typing_extensions.TypedDict, total=False): +class NodePool(typing.TypedDict, total=False): name: str nodes: _list[Node] @typing.type_check_only -class Notebook(typing_extensions.TypedDict, total=False): +class Notebook(typing.TypedDict, total=False): lastAuthor: str name: str notebookUpdateTime: str service: str @typing.type_check_only -class NotificationConfig(typing_extensions.TypedDict, total=False): +class NotificationConfig(typing.TypedDict, total=False): description: str name: str pubsubTopic: str @@ -3440,7 +3320,7 @@ class NotificationConfig(typing_extensions.TypedDict, total=False): streamingConfig: StreamingConfig @typing.type_check_only -class Object(typing_extensions.TypedDict, total=False): +class Object(typing.TypedDict, total=False): containers: _list[Container] group: str kind: str @@ -3448,7 +3328,7 @@ class Object(typing_extensions.TypedDict, total=False): ns: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -3456,72 +3336,72 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrgPolicy(typing_extensions.TypedDict, total=False): +class OrgPolicy(typing.TypedDict, total=False): name: str @typing.type_check_only -class OrganizationSettings(typing_extensions.TypedDict, total=False): +class OrganizationSettings(typing.TypedDict, total=False): assetDiscoveryConfig: AssetDiscoveryConfig enableAssetDiscovery: bool name: str @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): +class Package(typing.TypedDict, total=False): cpeUri: str packageName: str packageType: str packageVersion: str @typing.type_check_only -class PathNodeAssociatedFinding(typing_extensions.TypedDict, total=False): +class PathNodeAssociatedFinding(typing.TypedDict, total=False): canonicalFinding: str findingCategory: str name: str @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class Pod(typing_extensions.TypedDict, total=False): +class Pod(typing.TypedDict, total=False): containers: _list[Container] labels: _list[Label] name: str ns: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyDriftDetails(typing_extensions.TypedDict, total=False): +class PolicyDriftDetails(typing.TypedDict, total=False): detectedValue: str expectedValue: str field: str @typing.type_check_only -class PolicyViolationSummary(typing_extensions.TypedDict, total=False): +class PolicyViolationSummary(typing.TypedDict, total=False): conformantResourcesCount: str evaluationErrorsCount: str outOfScopeResourcesCount: str policyViolationsCount: str @typing.type_check_only -class PortRange(typing_extensions.TypedDict, total=False): +class PortRange(typing.TypedDict, total=False): max: str min: str @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): columnNumber: int lineNumber: int @typing.type_check_only -class Process(typing_extensions.TypedDict, total=False): +class Process(typing.TypedDict, total=False): args: _list[str] argumentsTruncated: bool binary: File @@ -3535,34 +3415,34 @@ class Process(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class ProcessSignature(typing_extensions.TypedDict, total=False): +class ProcessSignature(typing.TypedDict, total=False): memoryHashSignature: MemoryHashSignature - signatureType: typing_extensions.Literal[ + signatureType: typing.Literal[ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] yaraRuleSignature: YaraRuleSignature @typing.type_check_only -class Reference(typing_extensions.TypedDict, total=False): +class Reference(typing.TypedDict, total=False): source: str uri: str @typing.type_check_only -class Requests(typing_extensions.TypedDict, total=False): +class Requests(typing.TypedDict, total=False): longTermAllowed: int longTermDenied: int ratio: float shortTermAllowed: int @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): adcApplication: AdcApplication adcApplicationTemplate: AdcApplicationTemplateRevision adcSharedTemplate: AdcSharedTemplateRevision application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -3583,14 +3463,14 @@ class Resource(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ResourcePath(typing_extensions.TypedDict, total=False): +class ResourcePath(typing.TypedDict, total=False): nodes: _list[ResourcePathNode] @typing.type_check_only -class ResourcePathNode(typing_extensions.TypedDict, total=False): +class ResourcePathNode(typing.TypedDict, total=False): displayName: str id: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", @@ -3604,37 +3484,37 @@ class ResourcePathNode(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ResourceValueConfigMetadata(typing_extensions.TypedDict, total=False): +class ResourceValueConfigMetadata(typing.TypedDict, total=False): name: str @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] +class Role(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] name: str ns: str @typing.type_check_only -class RunAssetDiscoveryRequest(typing_extensions.TypedDict, total=False): ... +class RunAssetDiscoveryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): environmentVariable: SecretEnvironmentVariable filePath: SecretFilePath status: SecretStatus type: str @typing.type_check_only -class SecretEnvironmentVariable(typing_extensions.TypedDict, total=False): +class SecretEnvironmentVariable(typing.TypedDict, total=False): key: str @typing.type_check_only -class SecretFilePath(typing_extensions.TypedDict, total=False): +class SecretFilePath(typing.TypedDict, total=False): path: str @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): lastUpdatedTime: str - validity: typing_extensions.Literal[ + validity: typing.Literal[ "SECRET_VALIDITY_UNSPECIFIED", "SECRET_VALIDITY_UNSUPPORTED", "SECRET_VALIDITY_FAILED", @@ -3643,13 +3523,13 @@ class SecretStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SecurityBulletin(typing_extensions.TypedDict, total=False): +class SecurityBulletin(typing.TypedDict, total=False): bulletinId: str submissionTime: str suggestedUpgradeVersion: str @typing.type_check_only -class SecurityCenterProperties(typing_extensions.TypedDict, total=False): +class SecurityCenterProperties(typing.TypedDict, total=False): folders: _list[Folder] resourceDisplayName: str resourceName: str @@ -3661,19 +3541,19 @@ class SecurityCenterProperties(typing_extensions.TypedDict, total=False): resourceType: str @typing.type_check_only -class SecurityMarks(typing_extensions.TypedDict, total=False): +class SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class SecurityPolicy(typing_extensions.TypedDict, total=False): +class SecurityPolicy(typing.TypedDict, total=False): name: str preview: bool type: str @typing.type_check_only -class SecurityPosture(typing_extensions.TypedDict, total=False): +class SecurityPosture(typing.TypedDict, total=False): changedPolicy: str name: str policy: str @@ -3684,8 +3564,8 @@ class SecurityPosture(typing_extensions.TypedDict, total=False): revisionId: str @typing.type_check_only -class SensitivityScore(typing_extensions.TypedDict, total=False): - score: typing_extensions.Literal[ +class SensitivityScore(typing.TypedDict, total=False): + score: typing.Literal[ "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", "SENSITIVITY_LOW", "SENSITIVITY_UNKNOWN", @@ -3694,52 +3574,50 @@ class SensitivityScore(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): +class ServiceAccountDelegationInfo(typing.TypedDict, total=False): principalEmail: str principalSubject: str @typing.type_check_only -class SetFindingStateRequest(typing_extensions.TypedDict, total=False): +class SetFindingStateRequest(typing.TypedDict, total=False): startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SetMuteRequest(typing_extensions.TypedDict, total=False): - mute: typing_extensions.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] +class SetMuteRequest(typing.TypedDict, total=False): + mute: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] @typing.type_check_only -class SimulateSecurityHealthAnalyticsCustomModuleRequest( - typing_extensions.TypedDict, total=False -): +class SimulateSecurityHealthAnalyticsCustomModuleRequest(typing.TypedDict, total=False): customConfig: GoogleCloudSecuritycenterV1CustomConfig resource: SimulatedResource @typing.type_check_only class SimulateSecurityHealthAnalyticsCustomModuleResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): result: SimulatedResult @typing.type_check_only -class SimulatedResource(typing_extensions.TypedDict, total=False): +class SimulatedResource(typing.TypedDict, total=False): iamPolicyData: Policy resourceData: dict[str, typing.Any] resourceType: str @typing.type_check_only -class SimulatedResult(typing_extensions.TypedDict, total=False): +class SimulatedResult(typing.TypedDict, total=False): error: Status finding: Finding noViolation: Empty @typing.type_check_only -class Simulation(typing_extensions.TypedDict, total=False): - cloudProvider: typing_extensions.Literal[ +class Simulation(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -3750,47 +3628,43 @@ class Simulation(typing_extensions.TypedDict, total=False): resourceValueConfigsMetadata: _list[ResourceValueConfigMetadata] @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): canonicalName: str description: str displayName: str name: str @typing.type_check_only -class StaticMute(typing_extensions.TypedDict, total=False): +class StaticMute(typing.TypedDict, total=False): applyTime: str - state: typing_extensions.Literal[ - "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" - ] + state: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StreamingConfig(typing_extensions.TypedDict, total=False): +class StreamingConfig(typing.TypedDict, total=False): filter: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ - "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" - ] +class Subject(typing.TypedDict, total=False): + kind: typing.Literal["AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP"] name: str ns: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TicketInfo(typing_extensions.TypedDict, total=False): +class TicketInfo(typing.TypedDict, total=False): assignee: str description: str id: str @@ -3799,31 +3673,27 @@ class TicketInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ToxicCombination(typing_extensions.TypedDict, total=False): +class ToxicCombination(typing.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] @typing.type_check_only -class ValidateEventThreatDetectionCustomModuleRequest( - typing_extensions.TypedDict, total=False -): +class ValidateEventThreatDetectionCustomModuleRequest(typing.TypedDict, total=False): rawText: str type: str @typing.type_check_only -class ValidateEventThreatDetectionCustomModuleResponse( - typing_extensions.TypedDict, total=False -): +class ValidateEventThreatDetectionCustomModuleResponse(typing.TypedDict, total=False): errors: CustomModuleValidationErrors @typing.type_check_only -class ValuedResource(typing_extensions.TypedDict, total=False): +class ValuedResource(typing.TypedDict, total=False): displayName: str exposedScore: float name: str resource: str resourceType: str - resourceValue: typing_extensions.Literal[ + resourceValue: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "RESOURCE_VALUE_LOW", "RESOURCE_VALUE_MEDIUM", @@ -3832,12 +3702,12 @@ class ValuedResource(typing_extensions.TypedDict, total=False): resourceValueConfigsUsed: _list[ResourceValueConfigMetadata] @typing.type_check_only -class VertexAi(typing_extensions.TypedDict, total=False): +class VertexAi(typing.TypedDict, total=False): datasets: _list[Dataset] pipelines: _list[Pipeline] @typing.type_check_only -class Vulnerability(typing_extensions.TypedDict, total=False): +class Vulnerability(typing.TypedDict, total=False): cve: Cve cwes: _list[Cwe] fixedPackage: Package @@ -3847,12 +3717,12 @@ class Vulnerability(typing_extensions.TypedDict, total=False): securityBulletin: SecurityBulletin @typing.type_check_only -class VulnerabilityCountBySeverity(typing_extensions.TypedDict, total=False): +class VulnerabilityCountBySeverity(typing.TypedDict, total=False): severityToFindingCount: dict[str, typing.Any] @typing.type_check_only -class VulnerabilitySnapshot(typing_extensions.TypedDict, total=False): - cloudProvider: typing_extensions.Literal[ +class VulnerabilitySnapshot(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -3863,5 +3733,5 @@ class VulnerabilitySnapshot(typing_extensions.TypedDict, total=False): snapshotTime: str @typing.type_check_only -class YaraRuleSignature(typing_extensions.TypedDict, total=False): +class YaraRuleSignature(typing.TypedDict, total=False): yaraRule: str diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi index 2b2164fdc..868c57f2a 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi index e66ce8e7a..9e677584a 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Access(typing_extensions.TypedDict, total=False): +class Access(typing.TypedDict, total=False): callerIp: str callerIpGeo: Geolocation methodName: str @@ -19,7 +17,7 @@ class Access(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class AccessReview(typing_extensions.TypedDict, total=False): +class AccessReview(typing.TypedDict, total=False): group: str name: str ns: str @@ -29,38 +27,51 @@ class AccessReview(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class AdaptiveProtection(typing_extensions.TypedDict, total=False): +class AdaptiveProtection(typing.TypedDict, total=False): confidence: float @typing.type_check_only -class AdcApplication(typing_extensions.TypedDict, total=False): +class AdcApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes name: str @typing.type_check_only -class AdcApplicationTemplateRevision(typing_extensions.TypedDict, total=False): +class AdcApplicationTemplateRevision(typing.TypedDict, total=False): name: str @typing.type_check_only -class AdcSharedTemplateRevision(typing_extensions.TypedDict, total=False): +class AdcSharedTemplateRevision(typing.TypedDict, total=False): name: str @typing.type_check_only -class AffectedResources(typing_extensions.TypedDict, total=False): +class AffectedResources(typing.TypedDict, total=False): count: str @typing.type_check_only -class AgentDataAccessEvent(typing_extensions.TypedDict, total=False): +class Agent(typing.TypedDict, total=False): + displayName: str + id: str + +@typing.type_check_only +class AgentAnomaly(typing.TypedDict, total=False): + confidenceScore: float + detectorReferences: _list[DetectorReference] + invocationReferences: _list[InvocationReference] + +@typing.type_check_only +class AgentDataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalSubject: str @typing.type_check_only -class AiModel(typing_extensions.TypedDict, total=False): - deploymentPlatform: typing_extensions.Literal[ +class AgentSession(typing.TypedDict, total=False): + sessionId: str + +@typing.type_check_only +class AiModel(typing.TypedDict, total=False): + deploymentPlatform: typing.Literal[ "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str @@ -72,29 +83,27 @@ class AiModel(typing_extensions.TypedDict, total=False): usageCategory: str @typing.type_check_only -class Allowed(typing_extensions.TypedDict, total=False): +class Allowed(typing.TypedDict, total=False): ipRules: _list[IpRule] @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): baseUri: str fullUri: str @typing.type_check_only -class ArtifactGuardPolicies(typing_extensions.TypedDict, total=False): +class ArtifactGuardPolicies(typing.TypedDict, total=False): failingPolicies: _list[ArtifactGuardPolicy] resourceId: str @typing.type_check_only -class ArtifactGuardPolicy(typing_extensions.TypedDict, total=False): +class ArtifactGuardPolicy(typing.TypedDict, total=False): failureReason: str policyId: str - type: typing_extensions.Literal[ - "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" - ] + type: typing.Literal["ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY"] @typing.type_check_only -class Asset(typing_extensions.TypedDict, total=False): +class Asset(typing.TypedDict, total=False): createTime: str name: str resourceProperties: dict[str, typing.Any] @@ -103,14 +112,14 @@ class Asset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AssetDiscoveryConfig(typing_extensions.TypedDict, total=False): - inclusionMode: typing_extensions.Literal[ +class AssetDiscoveryConfig(typing.TypedDict, total=False): + inclusionMode: typing.Literal[ "INCLUSION_MODE_UNSPECIFIED", "INCLUDE_ONLY", "EXCLUDE" ] projectIds: _list[str] @typing.type_check_only -class Attack(typing_extensions.TypedDict, total=False): +class Attack(typing.TypedDict, total=False): classification: str volumeBps: int volumeBpsLong: str @@ -118,78 +127,76 @@ class Attack(typing_extensions.TypedDict, total=False): volumePpsLong: str @typing.type_check_only -class AttackExposure(typing_extensions.TypedDict, total=False): +class AttackExposure(typing.TypedDict, total=False): attackExposureResult: str exposedHighValueResourcesCount: int exposedLowValueResourcesCount: int exposedMediumValueResourcesCount: int latestCalculationTime: str score: float - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED"] @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AwsAccount(typing_extensions.TypedDict, total=False): +class AwsAccount(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AwsMetadata(typing_extensions.TypedDict, total=False): +class AwsMetadata(typing.TypedDict, total=False): account: AwsAccount organization: AwsOrganization organizationalUnits: _list[AwsOrganizationalUnit] @typing.type_check_only -class AwsOrganization(typing_extensions.TypedDict, total=False): +class AwsOrganization(typing.TypedDict, total=False): id: str @typing.type_check_only -class AwsOrganizationalUnit(typing_extensions.TypedDict, total=False): +class AwsOrganizationalUnit(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AzureManagementGroup(typing_extensions.TypedDict, total=False): +class AzureManagementGroup(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class AzureMetadata(typing_extensions.TypedDict, total=False): +class AzureMetadata(typing.TypedDict, total=False): managementGroups: _list[AzureManagementGroup] resourceGroup: AzureResourceGroup subscription: AzureSubscription tenant: AzureTenant @typing.type_check_only -class AzureResourceGroup(typing_extensions.TypedDict, total=False): +class AzureResourceGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AzureSubscription(typing_extensions.TypedDict, total=False): +class AzureSubscription(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class AzureTenant(typing_extensions.TypedDict, total=False): +class AzureTenant(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): +class BackupDisasterRecovery(typing.TypedDict, total=False): appliance: str applications: _list[str] backupCreateTime: str @@ -202,24 +209,24 @@ class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): storagePool: str @typing.type_check_only -class BigQueryDestination(typing_extensions.TypedDict, total=False): +class BigQueryDestination(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Chokepoint(typing_extensions.TypedDict, total=False): +class Chokepoint(typing.TypedDict, total=False): relatedFindings: _list[str] @typing.type_check_only -class CloudArmor(typing_extensions.TypedDict, total=False): +class CloudArmor(typing.TypedDict, total=False): adaptiveProtection: AdaptiveProtection attack: Attack duration: str @@ -228,68 +235,62 @@ class CloudArmor(typing_extensions.TypedDict, total=False): threatVector: str @typing.type_check_only -class CloudControl(typing_extensions.TypedDict, total=False): +class CloudControl(typing.TypedDict, total=False): cloudControlName: str policyType: str - type: typing_extensions.Literal[ - "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" - ] + type: typing.Literal["CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] version: int @typing.type_check_only -class CloudDlpDataProfile(typing_extensions.TypedDict, total=False): +class CloudDlpDataProfile(typing.TypedDict, total=False): dataProfile: str infoTypes: _list[InfoType] - parentType: typing_extensions.Literal[ - "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" - ] + parentType: typing.Literal["PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT"] @typing.type_check_only -class CloudDlpInspection(typing_extensions.TypedDict, total=False): +class CloudDlpInspection(typing.TypedDict, total=False): fullScan: bool infoType: str infoTypeCount: str inspectJob: str @typing.type_check_only -class CloudLoggingEntry(typing_extensions.TypedDict, total=False): +class CloudLoggingEntry(typing.TypedDict, total=False): insertId: str logId: str resourceContainer: str timestamp: str @typing.type_check_only -class Compliance(typing_extensions.TypedDict, total=False): +class Compliance(typing.TypedDict, total=False): ids: _list[str] standard: str version: str @typing.type_check_only -class ComplianceDetails(typing_extensions.TypedDict, total=False): +class ComplianceDetails(typing.TypedDict, total=False): cloudControl: CloudControl cloudControlDeploymentNames: _list[str] frameworks: _list[Framework] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): destinationIp: str destinationPort: int - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP"] sourceIp: str sourcePort: int @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): email: str @typing.type_check_only -class ContactDetails(typing_extensions.TypedDict, total=False): +class ContactDetails(typing.TypedDict, total=False): contacts: _list[Contact] @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): createTime: str imageId: str labels: _list[Label] @@ -297,15 +298,15 @@ class Container(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): controlName: str displayName: str @typing.type_check_only -class Cve(typing_extensions.TypedDict, total=False): +class Cve(typing.TypedDict, total=False): cvssv3: Cvssv3 exploitReleaseDate: str - exploitationActivity: typing_extensions.Literal[ + exploitationActivity: typing.Literal[ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", @@ -315,7 +316,7 @@ class Cve(typing_extensions.TypedDict, total=False): ] firstExploitationDate: str id: str - impact: typing_extensions.Literal[ + impact: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] observedInTheWild: bool @@ -324,73 +325,67 @@ class Cve(typing_extensions.TypedDict, total=False): zeroDay: bool @typing.type_check_only -class Cvssv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class Cvssv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class Cwe(typing_extensions.TypedDict, total=False): +class Cwe(typing.TypedDict, total=False): id: str references: _list[Reference] @typing.type_check_only -class DataAccessEvent(typing_extensions.TypedDict, total=False): +class DataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str @typing.type_check_only -class DataFlowEvent(typing_extensions.TypedDict, total=False): +class DataFlowEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str violatedLocation: str @typing.type_check_only -class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): +class DataRetentionDeletionEvent(typing.TypedDict, total=False): dataObjectCount: str eventDetectionTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED", "EVENT_TYPE_MAX_TTL_FROM_CREATION", @@ -401,7 +396,7 @@ class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): minRetentionAllowed: str @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): displayName: str grantees: _list[str] name: str @@ -410,80 +405,90 @@ class Database(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): displayName: str name: str source: str @typing.type_check_only -class Denied(typing_extensions.TypedDict, total=False): +class Denied(typing.TypedDict, total=False): ipRules: _list[IpRule] @typing.type_check_only -class Detection(typing_extensions.TypedDict, total=False): +class Detection(typing.TypedDict, total=False): binary: str percentPagesMatched: float @typing.type_check_only -class DiscoveredWorkload(typing_extensions.TypedDict, total=False): - confidence: typing_extensions.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] +class DetectorReference(typing.TypedDict, total=False): + detectorId: str + displayName: str + explanation: str + recommendation: str + severity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class DiscoveredWorkload(typing.TypedDict, total=False): + confidence: typing.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] detectedRelevantHardware: bool detectedRelevantKeywords: bool detectedRelevantPackages: bool - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "MCP_SERVER", "AI_INFERENCE", "AGENT" ] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): name: str @typing.type_check_only -class DiskPath(typing_extensions.TypedDict, total=False): +class DiskPath(typing.TypedDict, total=False): partitionUuid: str relativePath: str @typing.type_check_only -class DynamicMuteRecord(typing_extensions.TypedDict, total=False): +class DynamicMuteRecord(typing.TypedDict, total=False): matchTime: str muteConfig: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnvironmentVariable(typing_extensions.TypedDict, total=False): +class EnvironmentVariable(typing.TypedDict, total=False): name: str val: str @typing.type_check_only -class ExfilResource(typing_extensions.TypedDict, total=False): +class ExfilResource(typing.TypedDict, total=False): components: _list[str] name: str @typing.type_check_only -class Exfiltration(typing_extensions.TypedDict, total=False): +class Exfiltration(typing.TypedDict, total=False): sources: _list[ExfilResource] targets: _list[ExfilResource] totalExfiltratedBytes: str @typing.type_check_only -class ExportFindingsMetadata(typing_extensions.TypedDict, total=False): +class ExportFindingsMetadata(typing.TypedDict, total=False): bigQueryDestination: BigQueryDestination exportStartTime: str @typing.type_check_only -class ExportFindingsResponse(typing_extensions.TypedDict, total=False): ... +class ExportFindingsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalExposure(typing_extensions.TypedDict, total=False): +class ExternalExposure(typing.TypedDict, total=False): backendBucket: str backendService: str exposedApplication: str @@ -507,10 +512,10 @@ class ExternalExposure(typing_extensions.TypedDict, total=False): serviceFirewallPolicy: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): contents: str diskPath: DiskPath - fileLoadState: typing_extensions.Literal[ + fileLoadState: typing.Literal[ "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" ] hashedSize: str @@ -521,16 +526,19 @@ class File(typing_extensions.TypedDict, total=False): size: str @typing.type_check_only -class FileOperation(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class FileOperation(typing.TypedDict, total=False): + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" ] @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): access: Access affectedResources: AffectedResources + agent: Agent + agentAnomaly: AgentAnomaly agentDataAccessEvents: _list[AgentDataAccessEvent] + agentSessions: _list[AgentSession] aiModel: AiModel application: Application artifactGuardPolicies: ArtifactGuardPolicies @@ -561,7 +569,7 @@ class Finding(typing_extensions.TypedDict, total=False): externalSystems: dict[str, typing.Any] externalUri: str files: _list[File] - findingClass: typing_extensions.Literal[ + findingClass: typing.Literal[ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -587,7 +595,7 @@ class Finding(typing_extensions.TypedDict, total=False): logEntries: _list[LogEntry] mitreAttack: MitreAttack moduleName: str - mute: typing_extensions.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] + mute: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] muteInfo: MuteInfo muteInitiator: str muteUpdateTime: str @@ -604,24 +612,24 @@ class Finding(typing_extensions.TypedDict, total=False): secret: Secret securityMarks: SecurityMarks securityPosture: SecurityPosture - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: ToxicCombination vertexAi: VertexAi vulnerability: Vulnerability @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only -class Framework(typing_extensions.TypedDict, total=False): +class Framework(typing.TypedDict, total=False): category: _list[ - typing_extensions.Literal[ + typing.Literal[ "FRAMEWORK_CATEGORY_UNSPECIFIED", "SECURITY_BENCHMARKS", "ASSURED_WORKLOADS", @@ -633,12 +641,12 @@ class Framework(typing_extensions.TypedDict, total=False): controls: _list[Control] displayName: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" ] @typing.type_check_only -class GcpMetadata(typing_extensions.TypedDict, total=False): +class GcpMetadata(typing.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV2Folder] organization: str parent: str @@ -647,21 +655,19 @@ class GcpMetadata(typing_extensions.TypedDict, total=False): projectDisplayName: str @typing.type_check_only -class Geolocation(typing_extensions.TypedDict, total=False): +class Geolocation(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoogleCloudSecuritycenterV1BigQueryExport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1BigQueryExport(typing.TypedDict, total=False): createTime: str dataset: str description: str @@ -672,7 +678,7 @@ class GoogleCloudSecuritycenterV1BigQueryExport( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV1Binding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Binding(typing.TypedDict, total=False): name: str ns: str role: Role @@ -680,31 +686,29 @@ class GoogleCloudSecuritycenterV1Binding(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudSecuritycenterV1CustomConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1CustomConfig(typing.TypedDict, total=False): customOutput: GoogleCloudSecuritycenterV1CustomOutputSpec description: str predicate: Expr recommendation: str resourceSelector: GoogleCloudSecuritycenterV1ResourceSelector - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only -class GoogleCloudSecuritycenterV1CustomOutputSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1CustomOutputSpec(typing.TypedDict, total=False): properties: _list[GoogleCloudSecuritycenterV1Property] @typing.type_check_only class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -712,15 +716,13 @@ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule( ] customConfig: GoogleCloudSecuritycenterV1CustomConfig displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV1ExternalSystem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ExternalSystem(typing.TypedDict, total=False): assignees: _list[str] caseCloseTime: str caseCreateTime: str @@ -734,18 +736,16 @@ class GoogleCloudSecuritycenterV1ExternalSystem( ticketInfo: TicketInfo @typing.type_check_only -class GoogleCloudSecuritycenterV1IamDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1IamDetails(typing.TypedDict, total=False): iamRolePermissions: _list[GoogleCloudSecuritycenterV1IamRolePermission] @typing.type_check_only -class GoogleCloudSecuritycenterV1IamRolePermission( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1IamRolePermission(typing.TypedDict, total=False): name: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV1MuteConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1MuteConfig(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -753,31 +753,29 @@ class GoogleCloudSecuritycenterV1MuteConfig(typing_extensions.TypedDict, total=F filter: str mostRecentEditor: str name: str - type: typing_extensions.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] + type: typing.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV1NotificationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1NotificationMessage(typing.TypedDict, total=False): finding: Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV1Resource @typing.type_check_only -class GoogleCloudSecuritycenterV1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Property(typing.TypedDict, total=False): name: str valueExpression: Expr @typing.type_check_only -class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Resource(typing.TypedDict, total=False): adcApplication: AdcApplication adcApplicationTemplate: AdcApplicationTemplateRevision adcSharedTemplate: AdcSharedTemplateRevision application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -798,15 +796,13 @@ class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=Fal type: str @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ResourceApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo @@ -822,37 +818,33 @@ class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceSelector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ResourceSelector(typing.TypedDict, total=False): resourceTypes: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceValueConfig( - typing_extensions.TypedDict, total=False -): - cloudProvider: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV1ResourceValueConfig(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -863,7 +855,7 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig( name: str resourceLabelsSelector: dict[str, typing.Any] resourceType: str - resourceValue: typing_extensions.Literal[ + resourceValue: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] scope: str @@ -875,19 +867,17 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig( @typing.type_check_only class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ancestorModule: str - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -895,7 +885,7 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( ] customConfig: GoogleCloudSecuritycenterV1CustomConfig displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED", "INHERITED" ] lastEditor: str @@ -904,17 +894,17 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( @typing.type_check_only class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - highSensitivityMapping: typing_extensions.Literal[ + highSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] - mediumSensitivityMapping: typing_extensions.Literal[ + mediumSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] @typing.type_check_only -class GoogleCloudSecuritycenterV1beta1Finding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1beta1Finding(typing.TypedDict, total=False): category: str createTime: str eventTime: str @@ -924,28 +914,22 @@ class GoogleCloudSecuritycenterV1beta1Finding(typing_extensions.TypedDict, total resourceName: str securityMarks: GoogleCloudSecuritycenterV1beta1SecurityMarks sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV1beta1SecurityMarks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1beta1SecurityMarks(typing.TypedDict, total=False): marks: dict[str, typing.Any] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Finding( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Finding(typing.TypedDict, total=False): canonicalName: str category: str createTime: str @@ -955,31 +939,27 @@ class GoogleCloudSecuritycenterV1p1beta1Finding( parent: str resourceName: str securityMarks: GoogleCloudSecuritycenterV1p1beta1SecurityMarks - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Folder( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only class GoogleCloudSecuritycenterV1p1beta1NotificationMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finding: GoogleCloudSecuritycenterV1p1beta1Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV1p1beta1Resource @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Resource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Resource(typing.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV1p1beta1Folder] name: str parent: str @@ -989,23 +969,19 @@ class GoogleCloudSecuritycenterV1p1beta1Resource( @typing.type_check_only class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1SecurityMarks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Access(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Access(typing.TypedDict, total=False): callerIp: str callerIpGeo: GoogleCloudSecuritycenterV2Geolocation methodName: str @@ -1021,7 +997,7 @@ class GoogleCloudSecuritycenterV2Access(typing_extensions.TypedDict, total=False userName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AccessReview(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AccessReview(typing.TypedDict, total=False): group: str name: str ns: str @@ -1031,50 +1007,55 @@ class GoogleCloudSecuritycenterV2AccessReview(typing_extensions.TypedDict, total version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AdaptiveProtection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AdaptiveProtection(typing.TypedDict, total=False): confidence: float @typing.type_check_only -class GoogleCloudSecuritycenterV2AdcApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AdcApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AffectedResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AffectedResources(typing.TypedDict, total=False): count: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AgentDataAccessEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2Agent(typing.TypedDict, total=False): + displayName: str + id: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AgentAnomaly(typing.TypedDict, total=False): + confidenceScore: float + detectorReferences: _list[GoogleCloudSecuritycenterV2DetectorReference] + invocationReferences: _list[GoogleCloudSecuritycenterV2InvocationReference] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AgentDataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalSubject: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): - deploymentPlatform: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2AgentSession(typing.TypedDict, total=False): + sessionId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AiModel(typing.TypedDict, total=False): + deploymentPlatform: typing.Literal[ "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str @@ -1086,33 +1067,27 @@ class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=Fals usageCategory: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Allowed(typing.TypedDict, total=False): ipRules: _list[GoogleCloudSecuritycenterV2IpRule] @typing.type_check_only -class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Application(typing.TypedDict, total=False): baseUri: str fullUri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ArtifactGuardPolicies( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ArtifactGuardPolicies(typing.TypedDict, total=False): failingPolicies: _list[GoogleCloudSecuritycenterV2ArtifactGuardPolicy] resourceId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ArtifactGuardPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ArtifactGuardPolicy(typing.TypedDict, total=False): failureReason: str policyId: str - type: typing_extensions.Literal[ - "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" - ] + type: typing.Literal["ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY"] @typing.type_check_only -class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Attack(typing.TypedDict, total=False): classification: str volumeBps: int volumeBpsLong: str @@ -1120,82 +1095,64 @@ class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False volumePpsLong: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AttackExposure( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AttackExposure(typing.TypedDict, total=False): attackExposureResult: str exposedHighValueResourcesCount: int exposedLowValueResourcesCount: int exposedMediumValueResourcesCount: int latestCalculationTime: str score: float - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsAccount(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AwsAccount(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AwsMetadata(typing.TypedDict, total=False): account: GoogleCloudSecuritycenterV2AwsAccount organization: GoogleCloudSecuritycenterV2AwsOrganization organizationalUnits: _list[GoogleCloudSecuritycenterV2AwsOrganizationalUnit] @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsOrganization( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AwsOrganization(typing.TypedDict, total=False): id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsOrganizationalUnit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AwsOrganizationalUnit(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureManagementGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureManagementGroup(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureMetadata(typing.TypedDict, total=False): managementGroups: _list[GoogleCloudSecuritycenterV2AzureManagementGroup] resourceGroup: GoogleCloudSecuritycenterV2AzureResourceGroup subscription: GoogleCloudSecuritycenterV2AzureSubscription tenant: GoogleCloudSecuritycenterV2AzureTenant @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureResourceGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureResourceGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureSubscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureSubscription(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureTenant(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AzureTenant(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2BackupDisasterRecovery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2BackupDisasterRecovery(typing.TypedDict, total=False): appliance: str applications: _list[str] backupCreateTime: str @@ -1208,9 +1165,7 @@ class GoogleCloudSecuritycenterV2BackupDisasterRecovery( storagePool: str @typing.type_check_only -class GoogleCloudSecuritycenterV2BigQueryExport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2BigQueryExport(typing.TypedDict, total=False): createTime: str cryptoKeyName: str dataset: str @@ -1222,7 +1177,7 @@ class GoogleCloudSecuritycenterV2BigQueryExport( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Binding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Binding(typing.TypedDict, total=False): name: str ns: str role: GoogleCloudSecuritycenterV2Role @@ -1230,15 +1185,15 @@ class GoogleCloudSecuritycenterV2Binding(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudSecuritycenterV2Chokepoint(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Chokepoint(typing.TypedDict, total=False): relatedFindings: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2CloudArmor(typing.TypedDict, total=False): adaptiveProtection: GoogleCloudSecuritycenterV2AdaptiveProtection attack: GoogleCloudSecuritycenterV2Attack duration: str @@ -1247,78 +1202,62 @@ class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=F threatVector: str @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudControl(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2CloudControl(typing.TypedDict, total=False): cloudControlName: str policyType: str - type: typing_extensions.Literal[ - "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" - ] + type: typing.Literal["CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] version: int @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudDlpDataProfile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudDlpDataProfile(typing.TypedDict, total=False): dataProfile: str infoTypes: _list[GoogleCloudSecuritycenterV2InfoType] - parentType: typing_extensions.Literal[ - "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" - ] + parentType: typing.Literal["PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT"] @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudDlpInspection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudDlpInspection(typing.TypedDict, total=False): fullScan: bool infoType: str infoTypeCount: str inspectJob: str @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudLoggingEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudLoggingEntry(typing.TypedDict, total=False): insertId: str logId: str resourceContainer: str timestamp: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Compliance(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Compliance(typing.TypedDict, total=False): ids: _list[str] standard: str version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ComplianceDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ComplianceDetails(typing.TypedDict, total=False): cloudControl: GoogleCloudSecuritycenterV2CloudControl cloudControlDeploymentNames: _list[str] frameworks: _list[GoogleCloudSecuritycenterV2Framework] @typing.type_check_only -class GoogleCloudSecuritycenterV2Connection(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Connection(typing.TypedDict, total=False): destinationIp: str destinationPort: int - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP"] sourceIp: str sourcePort: int @typing.type_check_only -class GoogleCloudSecuritycenterV2Contact(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Contact(typing.TypedDict, total=False): email: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ContactDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ContactDetails(typing.TypedDict, total=False): contacts: _list[GoogleCloudSecuritycenterV2Contact] @typing.type_check_only -class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Container(typing.TypedDict, total=False): createTime: str imageId: str labels: _list[GoogleCloudSecuritycenterV2Label] @@ -1326,15 +1265,15 @@ class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=Fa uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Control(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Control(typing.TypedDict, total=False): controlName: str displayName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Cve(typing.TypedDict, total=False): cvssv3: GoogleCloudSecuritycenterV2Cvssv3 exploitReleaseDate: str - exploitationActivity: typing_extensions.Literal[ + exploitationActivity: typing.Literal[ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", @@ -1344,7 +1283,7 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): ] firstExploitationDate: str id: str - impact: typing_extensions.Literal[ + impact: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] observedInTheWild: bool @@ -1353,79 +1292,69 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): zeroDay: bool @typing.type_check_only -class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2Cvssv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Cwe(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Cwe(typing.TypedDict, total=False): id: str references: _list[GoogleCloudSecuritycenterV2Reference] @typing.type_check_only -class GoogleCloudSecuritycenterV2DataAccessEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DataFlowEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DataFlowEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str violatedLocation: str @typing.type_check_only class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataObjectCount: str eventDetectionTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED", "EVENT_TYPE_MAX_TTL_FROM_CREATION", @@ -1436,7 +1365,7 @@ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( minRetentionAllowed: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Database(typing.TypedDict, total=False): displayName: str grantees: _list[str] name: str @@ -1445,72 +1374,72 @@ class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=Fal version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Dataset(typing.TypedDict, total=False): displayName: str name: str source: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Denied(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Denied(typing.TypedDict, total=False): ipRules: _list[GoogleCloudSecuritycenterV2IpRule] @typing.type_check_only -class GoogleCloudSecuritycenterV2Detection(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Detection(typing.TypedDict, total=False): binary: str percentPagesMatched: float @typing.type_check_only -class GoogleCloudSecuritycenterV2DiscoveredWorkload( - typing_extensions.TypedDict, total=False -): - confidence: typing_extensions.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] +class GoogleCloudSecuritycenterV2DetectorReference(typing.TypedDict, total=False): + detectorId: str + displayName: str + explanation: str + recommendation: str + severity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2DiscoveredWorkload(typing.TypedDict, total=False): + confidence: typing.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] detectedRelevantHardware: bool detectedRelevantKeywords: bool detectedRelevantPackages: bool - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "MCP_SERVER", "AI_INFERENCE", "AGENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Disk(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Disk(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DiskPath(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2DiskPath(typing.TypedDict, total=False): partitionUuid: str relativePath: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DynamicMuteRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DynamicMuteRecord(typing.TypedDict, total=False): matchTime: str muteConfig: str @typing.type_check_only -class GoogleCloudSecuritycenterV2EnvironmentVariable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2EnvironmentVariable(typing.TypedDict, total=False): name: str val: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExfilResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExfilResource(typing.TypedDict, total=False): components: _list[str] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Exfiltration(typing.TypedDict, total=False): sources: _list[GoogleCloudSecuritycenterV2ExfilResource] targets: _list[GoogleCloudSecuritycenterV2ExfilResource] totalExfiltratedBytes: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExternalExposure( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExternalExposure(typing.TypedDict, total=False): backendBucket: str backendService: str exposedApplication: str @@ -1534,9 +1463,7 @@ class GoogleCloudSecuritycenterV2ExternalExposure( serviceFirewallPolicy: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExternalSystem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExternalSystem(typing.TypedDict, total=False): assignees: _list[str] caseCloseTime: str caseCreateTime: str @@ -1550,10 +1477,10 @@ class GoogleCloudSecuritycenterV2ExternalSystem( ticketInfo: GoogleCloudSecuritycenterV2TicketInfo @typing.type_check_only -class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2File(typing.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath - fileLoadState: typing_extensions.Literal[ + fileLoadState: typing.Literal[ "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" ] hashedSize: str @@ -1564,18 +1491,19 @@ class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): size: str @typing.type_check_only -class GoogleCloudSecuritycenterV2FileOperation( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2FileOperation(typing.TypedDict, total=False): + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Finding(typing.TypedDict, total=False): access: GoogleCloudSecuritycenterV2Access affectedResources: GoogleCloudSecuritycenterV2AffectedResources + agent: GoogleCloudSecuritycenterV2Agent + agentAnomaly: GoogleCloudSecuritycenterV2AgentAnomaly agentDataAccessEvents: _list[GoogleCloudSecuritycenterV2AgentDataAccessEvent] + agentSessions: _list[GoogleCloudSecuritycenterV2AgentSession] aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application artifactGuardPolicies: GoogleCloudSecuritycenterV2ArtifactGuardPolicies @@ -1609,7 +1537,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals externalSystems: dict[str, typing.Any] externalUri: str files: _list[GoogleCloudSecuritycenterV2File] - findingClass: typing_extensions.Literal[ + findingClass: typing.Literal[ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -1635,7 +1563,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals logEntries: _list[GoogleCloudSecuritycenterV2LogEntry] mitreAttack: GoogleCloudSecuritycenterV2MitreAttack moduleName: str - mute: typing_extensions.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] + mute: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] muteInfo: GoogleCloudSecuritycenterV2MuteInfo muteInitiator: str muteUpdateTime: str @@ -1652,24 +1580,24 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals secret: GoogleCloudSecuritycenterV2Secret securityMarks: GoogleCloudSecuritycenterV2SecurityMarks securityPosture: GoogleCloudSecuritycenterV2SecurityPosture - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: GoogleCloudSecuritycenterV2ToxicCombination vertexAi: GoogleCloudSecuritycenterV2VertexAi vulnerability: GoogleCloudSecuritycenterV2Vulnerability @typing.type_check_only -class GoogleCloudSecuritycenterV2Folder(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Framework(typing.TypedDict, total=False): category: _list[ - typing_extensions.Literal[ + typing.Literal[ "FRAMEWORK_CATEGORY_UNSPECIFIED", "SECURITY_BENCHMARKS", "ASSURED_WORKLOADS", @@ -1681,82 +1609,82 @@ class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=Fa controls: _list[GoogleCloudSecuritycenterV2Control] displayName: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Geolocation(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Geolocation(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class GoogleCloudSecuritycenterV2GroupMembership( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2GroupMembership(typing.TypedDict, total=False): groupId: str - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION", "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only -class GoogleCloudSecuritycenterV2HttpResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2HttpResponse(typing.TypedDict, total=False): path: str statusCode: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IamBinding(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleCloudSecuritycenterV2IamBinding(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] member: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IamDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IamDetails(typing.TypedDict, total=False): iamRolePermissions: _list[GoogleCloudSecuritycenterV2IamRolePermission] @typing.type_check_only -class GoogleCloudSecuritycenterV2IamRolePermission( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IamRolePermission(typing.TypedDict, total=False): name: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Indicator(typing.TypedDict, total=False): domains: _list[str] ipAddresses: _list[str] signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2InfoType(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2InfoType(typing.TypedDict, total=False): name: str sensitivityScore: GoogleCloudSecuritycenterV2SensitivityScore version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2InvocationReference(typing.TypedDict, total=False): + invocationId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRule(typing.TypedDict, total=False): portRanges: _list[GoogleCloudSecuritycenterV2PortRange] protocol: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IpRules(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IpRules(typing.TypedDict, total=False): allowed: GoogleCloudSecuritycenterV2Allowed denied: GoogleCloudSecuritycenterV2Denied destinationIpRanges: _list[str] - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] exposedServices: _list[str] sourceIpRanges: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Issue(typing.TypedDict, total=False): createTime: str description: str detection: str domains: _list[GoogleCloudSecuritycenterV2IssueDomain] exposureScore: float - issueType: typing_extensions.Literal[ + issueType: typing.Literal[ "ISSUE_TYPE_UNSPECIFIED", "CHOKEPOINT", "TOXIC_COMBINATION", "INSIGHT" ] lastObservationTime: str @@ -1767,15 +1695,15 @@ class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False) remediations: _list[str] secondaryResources: _list[GoogleCloudSecuritycenterV2IssueResource] securityContexts: _list[GoogleCloudSecuritycenterV2IssueSecurityContext] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total=False): - domainCategory: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2IssueDomain(typing.TypedDict, total=False): + domainCategory: typing.Literal[ "DOMAIN_CATEGORY_UNSPECIFIED", "AI", "CODE", @@ -1787,34 +1715,30 @@ class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueFinding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IssueFinding(typing.TypedDict, total=False): cve: GoogleCloudSecuritycenterV2IssueFindingCve name: str securityBulletin: GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueFindingCve( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueFindingCve(typing.TypedDict, total=False): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IssueMute(typing.TypedDict, total=False): muteInitiator: str muteReason: str - muteState: typing_extensions.Literal["MUTE_STATE_UNSPECIFIED", "NOT_MUTED", "MUTED"] + muteState: typing.Literal["MUTE_STATE_UNSPECIFIED", "NOT_MUTED", "MUTED"] muteUpdateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueResource(typing.TypedDict, total=False): adcApplication: GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplicationTemplate: ( GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision @@ -1823,7 +1747,7 @@ class GoogleCloudSecuritycenterV2IssueResource( application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD", "AMAZON_WEB_SERVICES", @@ -1836,33 +1760,33 @@ class GoogleCloudSecuritycenterV2IssueResource( @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcApplication( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplication( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo @@ -1882,92 +1806,88 @@ class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): account: GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): subscription: GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str id: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueSecurityContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueSecurityContext(typing.TypedDict, total=False): aggregatedCount: GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount context: GoogleCloudSecuritycenterV2IssueSecurityContextContext @typing.type_check_only class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: int @typing.type_check_only class GoogleCloudSecuritycenterV2IssueSecurityContextContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): type: str values: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2Job(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Job(typing.TypedDict, total=False): errorCode: int location: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2KernelRootkit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2KernelRootkit(typing.TypedDict, total=False): name: str unexpectedCodeModification: bool unexpectedFtraceHandler: bool @@ -1979,7 +1899,7 @@ class GoogleCloudSecuritycenterV2KernelRootkit( unexpectedSystemCallHandler: bool @typing.type_check_only -class GoogleCloudSecuritycenterV2Kubernetes(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Kubernetes(typing.TypedDict, total=False): accessReviews: _list[GoogleCloudSecuritycenterV2AccessReview] bindings: _list[GoogleCloudSecuritycenterV2Binding] nodePools: _list[GoogleCloudSecuritycenterV2NodePool] @@ -1989,29 +1909,27 @@ class GoogleCloudSecuritycenterV2Kubernetes(typing_extensions.TypedDict, total=F roles: _list[GoogleCloudSecuritycenterV2Role] @typing.type_check_only -class GoogleCloudSecuritycenterV2Label(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Label(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudSecuritycenterV2LoadBalancer(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2LoadBalancer(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2LogEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2LogEntry(typing.TypedDict, total=False): cloudLoggingEntry: GoogleCloudSecuritycenterV2CloudLoggingEntry @typing.type_check_only -class GoogleCloudSecuritycenterV2MemoryHashSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2MemoryHashSignature(typing.TypedDict, total=False): binaryFamily: str detections: _list[GoogleCloudSecuritycenterV2Detection] @typing.type_check_only -class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MitreAttack(typing.TypedDict, total=False): additionalTactics: _list[ - typing_extensions.Literal[ + typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2030,7 +1948,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= ] ] additionalTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -2172,7 +2090,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "FINANCIAL_THEFT", ] ] - primaryTactic: typing_extensions.Literal[ + primaryTactic: typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2190,7 +2108,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "IMPACT", ] primaryTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -2335,7 +2253,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MuteConfig(typing.TypedDict, total=False): createTime: str cryptoKeyName: str description: str @@ -2343,44 +2261,42 @@ class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=F filter: str mostRecentEditor: str name: str - type: typing_extensions.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] + type: typing.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2MuteInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MuteInfo(typing.TypedDict, total=False): dynamicMuteRecords: _list[GoogleCloudSecuritycenterV2DynamicMuteRecord] staticMute: GoogleCloudSecuritycenterV2StaticMute @typing.type_check_only -class GoogleCloudSecuritycenterV2Network(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Network(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Node(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Node(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2NodePool(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2NodePool(typing.TypedDict, total=False): name: str nodes: _list[GoogleCloudSecuritycenterV2Node] @typing.type_check_only -class GoogleCloudSecuritycenterV2Notebook(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Notebook(typing.TypedDict, total=False): lastAuthor: str name: str notebookUpdateTime: str service: str @typing.type_check_only -class GoogleCloudSecuritycenterV2NotificationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2NotificationMessage(typing.TypedDict, total=False): finding: GoogleCloudSecuritycenterV2Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV2Resource @typing.type_check_only -class GoogleCloudSecuritycenterV2Object(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Object(typing.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] group: str kind: str @@ -2388,52 +2304,48 @@ class GoogleCloudSecuritycenterV2Object(typing_extensions.TypedDict, total=False ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2OrgPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2OrgPolicy(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Package(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Package(typing.TypedDict, total=False): cpeUri: str packageName: str packageType: str packageVersion: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Pipeline(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Pipeline(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Pod(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Pod(typing.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] labels: _list[GoogleCloudSecuritycenterV2Label] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PolicyDriftDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2PolicyDriftDetails(typing.TypedDict, total=False): detectedValue: str expectedValue: str field: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PolicyViolationSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2PolicyViolationSummary(typing.TypedDict, total=False): conformantResourcesCount: str evaluationErrorsCount: str outOfScopeResourcesCount: str policyViolationsCount: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PortRange(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2PortRange(typing.TypedDict, total=False): max: str min: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Process(typing.TypedDict, total=False): args: _list[str] argumentsTruncated: bool binary: GoogleCloudSecuritycenterV2File @@ -2447,36 +2359,34 @@ class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=Fals userId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ProcessSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ProcessSignature(typing.TypedDict, total=False): memoryHashSignature: GoogleCloudSecuritycenterV2MemoryHashSignature - signatureType: typing_extensions.Literal[ + signatureType: typing.Literal[ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] yaraRuleSignature: GoogleCloudSecuritycenterV2YaraRuleSignature @typing.type_check_only -class GoogleCloudSecuritycenterV2Reference(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Reference(typing.TypedDict, total=False): source: str uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Requests(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Requests(typing.TypedDict, total=False): longTermAllowed: int longTermDenied: int ratio: float shortTermAllowed: int @typing.type_check_only -class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Resource(typing.TypedDict, total=False): adcApplication: GoogleCloudSecuritycenterV2AdcApplication adcApplicationTemplate: GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcSharedTemplate: GoogleCloudSecuritycenterV2AdcSharedTemplateRevision application: GoogleCloudSecuritycenterV2ResourceApplication awsMetadata: GoogleCloudSecuritycenterV2AwsMetadata azureMetadata: GoogleCloudSecuritycenterV2AzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -2492,15 +2402,13 @@ class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=Fal type: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourceApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ResourceApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo @@ -2516,37 +2424,35 @@ class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourcePath(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2ResourcePath(typing.TypedDict, total=False): nodes: _list[GoogleCloudSecuritycenterV2ResourcePathNode] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourcePathNode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ResourcePathNode(typing.TypedDict, total=False): displayName: str id: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", @@ -2560,10 +2466,8 @@ class GoogleCloudSecuritycenterV2ResourcePathNode( ] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourceValueConfig( - typing_extensions.TypedDict, total=False -): - cloudProvider: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2ResourceValueConfig(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -2574,7 +2478,7 @@ class GoogleCloudSecuritycenterV2ResourceValueConfig( name: str resourceLabelsSelector: dict[str, typing.Any] resourceType: str - resourceValue: typing_extensions.Literal[ + resourceValue: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] scope: str @@ -2585,13 +2489,13 @@ class GoogleCloudSecuritycenterV2ResourceValueConfig( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Role(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] +class GoogleCloudSecuritycenterV2Role(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Secret(typing.TypedDict, total=False): environmentVariable: GoogleCloudSecuritycenterV2SecretEnvironmentVariable filePath: GoogleCloudSecuritycenterV2SecretFilePath status: GoogleCloudSecuritycenterV2SecretStatus @@ -2599,20 +2503,18 @@ class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudSecuritycenterV2SecretEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecretFilePath( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecretFilePath(typing.TypedDict, total=False): path: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2SecretStatus(typing.TypedDict, total=False): lastUpdatedTime: str - validity: typing_extensions.Literal[ + validity: typing.Literal[ "SECRET_VALIDITY_UNSPECIFIED", "SECRET_VALIDITY_UNSUPPORTED", "SECRET_VALIDITY_FAILED", @@ -2621,33 +2523,25 @@ class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityBulletin( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityBulletin(typing.TypedDict, total=False): bulletinId: str submissionTime: str suggestedUpgradeVersion: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityMarks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityPolicy(typing.TypedDict, total=False): name: str preview: bool type: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityPosture( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityPosture(typing.TypedDict, total=False): changedPolicy: str name: str policy: str @@ -2659,20 +2553,18 @@ class GoogleCloudSecuritycenterV2SecurityPosture( @typing.type_check_only class GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - highSensitivityMapping: typing_extensions.Literal[ + highSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] - mediumSensitivityMapping: typing_extensions.Literal[ + mediumSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2SensitivityScore( - typing_extensions.TypedDict, total=False -): - score: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2SensitivityScore(typing.TypedDict, total=False): + score: typing.Literal[ "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", "SENSITIVITY_LOW", "SENSITIVITY_UNKNOWN", @@ -2682,28 +2574,24 @@ class GoogleCloudSecuritycenterV2SensitivityScore( @typing.type_check_only class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): principalEmail: str principalSubject: str @typing.type_check_only -class GoogleCloudSecuritycenterV2StaticMute(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2StaticMute(typing.TypedDict, total=False): applyTime: str - state: typing_extensions.Literal[ - "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" - ] + state: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] @typing.type_check_only -class GoogleCloudSecuritycenterV2Subject(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ - "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" - ] +class GoogleCloudSecuritycenterV2Subject(typing.TypedDict, total=False): + kind: typing.Literal["AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP"] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2TicketInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2TicketInfo(typing.TypedDict, total=False): assignee: str description: str id: str @@ -2712,21 +2600,17 @@ class GoogleCloudSecuritycenterV2TicketInfo(typing_extensions.TypedDict, total=F uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ToxicCombination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ToxicCombination(typing.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2VertexAi(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2VertexAi(typing.TypedDict, total=False): datasets: _list[GoogleCloudSecuritycenterV2Dataset] pipelines: _list[GoogleCloudSecuritycenterV2Pipeline] @typing.type_check_only -class GoogleCloudSecuritycenterV2Vulnerability( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2Vulnerability(typing.TypedDict, total=False): cve: GoogleCloudSecuritycenterV2Cve cwes: _list[GoogleCloudSecuritycenterV2Cwe] fixedPackage: GoogleCloudSecuritycenterV2Package @@ -2736,13 +2620,11 @@ class GoogleCloudSecuritycenterV2Vulnerability( securityBulletin: GoogleCloudSecuritycenterV2SecurityBulletin @typing.type_check_only -class GoogleCloudSecuritycenterV2YaraRuleSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2YaraRuleSignature(typing.TypedDict, total=False): yaraRule: str @typing.type_check_only -class GroupAssetsRequest(typing_extensions.TypedDict, total=False): +class GroupAssetsRequest(typing.TypedDict, total=False): compareDuration: str filter: str groupBy: str @@ -2751,13 +2633,13 @@ class GroupAssetsRequest(typing_extensions.TypedDict, total=False): readTime: str @typing.type_check_only -class GroupAssetsResponse(typing_extensions.TypedDict, total=False): +class GroupAssetsResponse(typing.TypedDict, total=False): groupByResults: _list[GroupResult] nextPageToken: str readTime: str @typing.type_check_only -class GroupFindingsRequest(typing_extensions.TypedDict, total=False): +class GroupFindingsRequest(typing.TypedDict, total=False): filter: str groupBy: str pageSize: int @@ -2765,74 +2647,78 @@ class GroupFindingsRequest(typing_extensions.TypedDict, total=False): readTime: str @typing.type_check_only -class GroupFindingsResponse(typing_extensions.TypedDict, total=False): +class GroupFindingsResponse(typing.TypedDict, total=False): groupByResults: _list[GroupResult] nextPageToken: str readTime: str @typing.type_check_only -class GroupMembership(typing_extensions.TypedDict, total=False): +class GroupMembership(typing.TypedDict, total=False): groupId: str - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION", "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only -class GroupResult(typing_extensions.TypedDict, total=False): +class GroupResult(typing.TypedDict, total=False): count: str properties: dict[str, typing.Any] @typing.type_check_only -class HttpResponse(typing_extensions.TypedDict, total=False): +class HttpResponse(typing.TypedDict, total=False): path: str statusCode: str @typing.type_check_only -class IamBinding(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class IamBinding(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] member: str role: str @typing.type_check_only -class Indicator(typing_extensions.TypedDict, total=False): +class Indicator(typing.TypedDict, total=False): domains: _list[str] ipAddresses: _list[str] signatures: _list[ProcessSignature] uris: _list[str] @typing.type_check_only -class InfoType(typing_extensions.TypedDict, total=False): +class InfoType(typing.TypedDict, total=False): name: str sensitivityScore: SensitivityScore version: str @typing.type_check_only -class IpRule(typing_extensions.TypedDict, total=False): +class InvocationReference(typing.TypedDict, total=False): + invocationId: str + +@typing.type_check_only +class IpRule(typing.TypedDict, total=False): portRanges: _list[PortRange] protocol: str @typing.type_check_only -class IpRules(typing_extensions.TypedDict, total=False): +class IpRules(typing.TypedDict, total=False): allowed: Allowed denied: Denied destinationIpRanges: _list[str] - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] exposedServices: _list[str] sourceIpRanges: _list[str] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): errorCode: int location: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class KernelRootkit(typing_extensions.TypedDict, total=False): +class KernelRootkit(typing.TypedDict, total=False): name: str unexpectedCodeModification: bool unexpectedFtraceHandler: bool @@ -2844,7 +2730,7 @@ class KernelRootkit(typing_extensions.TypedDict, total=False): unexpectedSystemCallHandler: bool @typing.type_check_only -class Kubernetes(typing_extensions.TypedDict, total=False): +class Kubernetes(typing.TypedDict, total=False): accessReviews: _list[AccessReview] bindings: _list[GoogleCloudSecuritycenterV1Binding] nodePools: _list[NodePool] @@ -2854,59 +2740,57 @@ class Kubernetes(typing_extensions.TypedDict, total=False): roles: _list[Role] @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ListAssetsResponse(typing_extensions.TypedDict, total=False): +class ListAssetsResponse(typing.TypedDict, total=False): listAssetsResults: _list[ListAssetsResult] nextPageToken: str readTime: str totalSize: int @typing.type_check_only -class ListAssetsResult(typing_extensions.TypedDict, total=False): +class ListAssetsResult(typing.TypedDict, total=False): asset: Asset - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UNUSED", "ADDED", "REMOVED", "ACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UNUSED", "ADDED", "REMOVED", "ACTIVE"] @typing.type_check_only -class ListFindingsResponse(typing_extensions.TypedDict, total=False): +class ListFindingsResponse(typing.TypedDict, total=False): findings: _list[GoogleCloudSecuritycenterV1beta1Finding] nextPageToken: str readTime: str totalSize: int @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSourcesResponse(typing_extensions.TypedDict, total=False): +class ListSourcesResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[Source] @typing.type_check_only -class LoadBalancer(typing_extensions.TypedDict, total=False): +class LoadBalancer(typing.TypedDict, total=False): name: str @typing.type_check_only -class LogEntry(typing_extensions.TypedDict, total=False): +class LogEntry(typing.TypedDict, total=False): cloudLoggingEntry: CloudLoggingEntry @typing.type_check_only -class MemoryHashSignature(typing_extensions.TypedDict, total=False): +class MemoryHashSignature(typing.TypedDict, total=False): binaryFamily: str detections: _list[Detection] @typing.type_check_only -class MitreAttack(typing_extensions.TypedDict, total=False): +class MitreAttack(typing.TypedDict, total=False): additionalTactics: _list[ - typing_extensions.Literal[ + typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2925,7 +2809,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): ] ] additionalTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -3067,7 +2951,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "FINANCIAL_THEFT", ] ] - primaryTactic: typing_extensions.Literal[ + primaryTactic: typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -3085,7 +2969,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "IMPACT", ] primaryTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -3230,32 +3114,32 @@ class MitreAttack(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class MuteInfo(typing_extensions.TypedDict, total=False): +class MuteInfo(typing.TypedDict, total=False): dynamicMuteRecords: _list[DynamicMuteRecord] staticMute: StaticMute @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): name: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): name: str @typing.type_check_only -class NodePool(typing_extensions.TypedDict, total=False): +class NodePool(typing.TypedDict, total=False): name: str nodes: _list[Node] @typing.type_check_only -class Notebook(typing_extensions.TypedDict, total=False): +class Notebook(typing.TypedDict, total=False): lastAuthor: str name: str notebookUpdateTime: str service: str @typing.type_check_only -class Object(typing_extensions.TypedDict, total=False): +class Object(typing.TypedDict, total=False): containers: _list[Container] group: str kind: str @@ -3263,7 +3147,7 @@ class Object(typing_extensions.TypedDict, total=False): ns: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -3271,61 +3155,61 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrgPolicy(typing_extensions.TypedDict, total=False): +class OrgPolicy(typing.TypedDict, total=False): name: str @typing.type_check_only -class OrganizationSettings(typing_extensions.TypedDict, total=False): +class OrganizationSettings(typing.TypedDict, total=False): assetDiscoveryConfig: AssetDiscoveryConfig enableAssetDiscovery: bool name: str @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): +class Package(typing.TypedDict, total=False): cpeUri: str packageName: str packageType: str packageVersion: str @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class Pod(typing_extensions.TypedDict, total=False): +class Pod(typing.TypedDict, total=False): containers: _list[Container] labels: _list[Label] name: str ns: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PolicyDriftDetails(typing_extensions.TypedDict, total=False): +class PolicyDriftDetails(typing.TypedDict, total=False): detectedValue: str expectedValue: str field: str @typing.type_check_only -class PolicyViolationSummary(typing_extensions.TypedDict, total=False): +class PolicyViolationSummary(typing.TypedDict, total=False): conformantResourcesCount: str evaluationErrorsCount: str outOfScopeResourcesCount: str policyViolationsCount: str @typing.type_check_only -class PortRange(typing_extensions.TypedDict, total=False): +class PortRange(typing.TypedDict, total=False): max: str min: str @typing.type_check_only -class Process(typing_extensions.TypedDict, total=False): +class Process(typing.TypedDict, total=False): args: _list[str] argumentsTruncated: bool binary: File @@ -3339,34 +3223,34 @@ class Process(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class ProcessSignature(typing_extensions.TypedDict, total=False): +class ProcessSignature(typing.TypedDict, total=False): memoryHashSignature: MemoryHashSignature - signatureType: typing_extensions.Literal[ + signatureType: typing.Literal[ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] yaraRuleSignature: YaraRuleSignature @typing.type_check_only -class Reference(typing_extensions.TypedDict, total=False): +class Reference(typing.TypedDict, total=False): source: str uri: str @typing.type_check_only -class Requests(typing_extensions.TypedDict, total=False): +class Requests(typing.TypedDict, total=False): longTermAllowed: int longTermDenied: int ratio: float shortTermAllowed: int @typing.type_check_only -class ResourcePath(typing_extensions.TypedDict, total=False): +class ResourcePath(typing.TypedDict, total=False): nodes: _list[ResourcePathNode] @typing.type_check_only -class ResourcePathNode(typing_extensions.TypedDict, total=False): +class ResourcePathNode(typing.TypedDict, total=False): displayName: str id: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", @@ -3380,33 +3264,33 @@ class ResourcePathNode(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] +class Role(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] name: str ns: str @typing.type_check_only -class RunAssetDiscoveryRequest(typing_extensions.TypedDict, total=False): ... +class RunAssetDiscoveryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): environmentVariable: SecretEnvironmentVariable filePath: SecretFilePath status: SecretStatus type: str @typing.type_check_only -class SecretEnvironmentVariable(typing_extensions.TypedDict, total=False): +class SecretEnvironmentVariable(typing.TypedDict, total=False): key: str @typing.type_check_only -class SecretFilePath(typing_extensions.TypedDict, total=False): +class SecretFilePath(typing.TypedDict, total=False): path: str @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): lastUpdatedTime: str - validity: typing_extensions.Literal[ + validity: typing.Literal[ "SECRET_VALIDITY_UNSPECIFIED", "SECRET_VALIDITY_UNSUPPORTED", "SECRET_VALIDITY_FAILED", @@ -3415,13 +3299,13 @@ class SecretStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SecurityBulletin(typing_extensions.TypedDict, total=False): +class SecurityBulletin(typing.TypedDict, total=False): bulletinId: str submissionTime: str suggestedUpgradeVersion: str @typing.type_check_only -class SecurityCenterProperties(typing_extensions.TypedDict, total=False): +class SecurityCenterProperties(typing.TypedDict, total=False): resourceName: str resourceOwners: _list[str] resourceParent: str @@ -3429,19 +3313,19 @@ class SecurityCenterProperties(typing_extensions.TypedDict, total=False): resourceType: str @typing.type_check_only -class SecurityMarks(typing_extensions.TypedDict, total=False): +class SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class SecurityPolicy(typing_extensions.TypedDict, total=False): +class SecurityPolicy(typing.TypedDict, total=False): name: str preview: bool type: str @typing.type_check_only -class SecurityPosture(typing_extensions.TypedDict, total=False): +class SecurityPosture(typing.TypedDict, total=False): changedPolicy: str name: str policy: str @@ -3452,8 +3336,8 @@ class SecurityPosture(typing_extensions.TypedDict, total=False): revisionId: str @typing.type_check_only -class SensitivityScore(typing_extensions.TypedDict, total=False): - score: typing_extensions.Literal[ +class SensitivityScore(typing.TypedDict, total=False): + score: typing.Literal[ "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", "SENSITIVITY_LOW", "SENSITIVITY_UNKNOWN", @@ -3462,57 +3346,53 @@ class SensitivityScore(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): +class ServiceAccountDelegationInfo(typing.TypedDict, total=False): principalEmail: str principalSubject: str @typing.type_check_only -class SetFindingStateRequest(typing_extensions.TypedDict, total=False): +class SetFindingStateRequest(typing.TypedDict, total=False): startTime: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only -class StaticMute(typing_extensions.TypedDict, total=False): +class StaticMute(typing.TypedDict, total=False): applyTime: str - state: typing_extensions.Literal[ - "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" - ] + state: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ - "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" - ] +class Subject(typing.TypedDict, total=False): + kind: typing.Literal["AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP"] name: str ns: str @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TicketInfo(typing_extensions.TypedDict, total=False): +class TicketInfo(typing.TypedDict, total=False): assignee: str description: str id: str @@ -3521,17 +3401,17 @@ class TicketInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ToxicCombination(typing_extensions.TypedDict, total=False): +class ToxicCombination(typing.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] @typing.type_check_only -class VertexAi(typing_extensions.TypedDict, total=False): +class VertexAi(typing.TypedDict, total=False): datasets: _list[Dataset] pipelines: _list[Pipeline] @typing.type_check_only -class Vulnerability(typing_extensions.TypedDict, total=False): +class Vulnerability(typing.TypedDict, total=False): cve: Cve cwes: _list[Cwe] fixedPackage: Package @@ -3541,12 +3421,12 @@ class Vulnerability(typing_extensions.TypedDict, total=False): securityBulletin: SecurityBulletin @typing.type_check_only -class VulnerabilityCountBySeverity(typing_extensions.TypedDict, total=False): +class VulnerabilityCountBySeverity(typing.TypedDict, total=False): severityToFindingCount: dict[str, typing.Any] @typing.type_check_only -class VulnerabilitySnapshot(typing_extensions.TypedDict, total=False): - cloudProvider: typing_extensions.Literal[ +class VulnerabilitySnapshot(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -3557,5 +3437,5 @@ class VulnerabilitySnapshot(typing_extensions.TypedDict, total=False): snapshotTime: str @typing.type_check_only -class YaraRuleSignature(typing_extensions.TypedDict, total=False): +class YaraRuleSignature(typing.TypedDict, total=False): yaraRule: str diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/resources.pyi index 0cf679d52..42fcebce8 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi index a53afb5e9..1899a39e3 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Access(typing_extensions.TypedDict, total=False): +class Access(typing.TypedDict, total=False): callerIp: str callerIpGeo: Geolocation methodName: str @@ -19,7 +17,7 @@ class Access(typing_extensions.TypedDict, total=False): userName: str @typing.type_check_only -class AccessReview(typing_extensions.TypedDict, total=False): +class AccessReview(typing.TypedDict, total=False): group: str name: str ns: str @@ -29,38 +27,51 @@ class AccessReview(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class AdaptiveProtection(typing_extensions.TypedDict, total=False): +class AdaptiveProtection(typing.TypedDict, total=False): confidence: float @typing.type_check_only -class AdcApplication(typing_extensions.TypedDict, total=False): +class AdcApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes name: str @typing.type_check_only -class AdcApplicationTemplateRevision(typing_extensions.TypedDict, total=False): +class AdcApplicationTemplateRevision(typing.TypedDict, total=False): name: str @typing.type_check_only -class AdcSharedTemplateRevision(typing_extensions.TypedDict, total=False): +class AdcSharedTemplateRevision(typing.TypedDict, total=False): name: str @typing.type_check_only -class AffectedResources(typing_extensions.TypedDict, total=False): +class AffectedResources(typing.TypedDict, total=False): count: str @typing.type_check_only -class AgentDataAccessEvent(typing_extensions.TypedDict, total=False): +class Agent(typing.TypedDict, total=False): + displayName: str + id: str + +@typing.type_check_only +class AgentAnomaly(typing.TypedDict, total=False): + confidenceScore: float + detectorReferences: _list[DetectorReference] + invocationReferences: _list[InvocationReference] + +@typing.type_check_only +class AgentDataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalSubject: str @typing.type_check_only -class AiModel(typing_extensions.TypedDict, total=False): - deploymentPlatform: typing_extensions.Literal[ +class AgentSession(typing.TypedDict, total=False): + sessionId: str + +@typing.type_check_only +class AiModel(typing.TypedDict, total=False): + deploymentPlatform: typing.Literal[ "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str @@ -72,29 +83,27 @@ class AiModel(typing_extensions.TypedDict, total=False): usageCategory: str @typing.type_check_only -class Allowed(typing_extensions.TypedDict, total=False): +class Allowed(typing.TypedDict, total=False): ipRules: _list[IpRule] @typing.type_check_only -class Application(typing_extensions.TypedDict, total=False): +class Application(typing.TypedDict, total=False): baseUri: str fullUri: str @typing.type_check_only -class ArtifactGuardPolicies(typing_extensions.TypedDict, total=False): +class ArtifactGuardPolicies(typing.TypedDict, total=False): failingPolicies: _list[ArtifactGuardPolicy] resourceId: str @typing.type_check_only -class ArtifactGuardPolicy(typing_extensions.TypedDict, total=False): +class ArtifactGuardPolicy(typing.TypedDict, total=False): failureReason: str policyId: str - type: typing_extensions.Literal[ - "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" - ] + type: typing.Literal["ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY"] @typing.type_check_only -class Attack(typing_extensions.TypedDict, total=False): +class Attack(typing.TypedDict, total=False): classification: str volumeBps: int volumeBpsLong: str @@ -102,66 +111,64 @@ class Attack(typing_extensions.TypedDict, total=False): volumePpsLong: str @typing.type_check_only -class AttackExposure(typing_extensions.TypedDict, total=False): +class AttackExposure(typing.TypedDict, total=False): attackExposureResult: str exposedHighValueResourcesCount: int exposedLowValueResourcesCount: int exposedMediumValueResourcesCount: int latestCalculationTime: str score: float - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED"] @typing.type_check_only -class AwsAccount(typing_extensions.TypedDict, total=False): +class AwsAccount(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AwsMetadata(typing_extensions.TypedDict, total=False): +class AwsMetadata(typing.TypedDict, total=False): account: AwsAccount organization: AwsOrganization organizationalUnits: _list[AwsOrganizationalUnit] @typing.type_check_only -class AwsOrganization(typing_extensions.TypedDict, total=False): +class AwsOrganization(typing.TypedDict, total=False): id: str @typing.type_check_only -class AwsOrganizationalUnit(typing_extensions.TypedDict, total=False): +class AwsOrganizationalUnit(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AzureManagementGroup(typing_extensions.TypedDict, total=False): +class AzureManagementGroup(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class AzureMetadata(typing_extensions.TypedDict, total=False): +class AzureMetadata(typing.TypedDict, total=False): managementGroups: _list[AzureManagementGroup] resourceGroup: AzureResourceGroup subscription: AzureSubscription tenant: AzureTenant @typing.type_check_only -class AzureResourceGroup(typing_extensions.TypedDict, total=False): +class AzureResourceGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AzureSubscription(typing_extensions.TypedDict, total=False): +class AzureSubscription(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class AzureTenant(typing_extensions.TypedDict, total=False): +class AzureTenant(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): +class BackupDisasterRecovery(typing.TypedDict, total=False): appliance: str applications: _list[str] backupCreateTime: str @@ -174,15 +181,15 @@ class BackupDisasterRecovery(typing_extensions.TypedDict, total=False): storagePool: str @typing.type_check_only -class BigQueryDestination(typing_extensions.TypedDict, total=False): +class BigQueryDestination(typing.TypedDict, total=False): dataset: str @typing.type_check_only -class Chokepoint(typing_extensions.TypedDict, total=False): +class Chokepoint(typing.TypedDict, total=False): relatedFindings: _list[str] @typing.type_check_only -class CloudArmor(typing_extensions.TypedDict, total=False): +class CloudArmor(typing.TypedDict, total=False): adaptiveProtection: AdaptiveProtection attack: Attack duration: str @@ -191,75 +198,69 @@ class CloudArmor(typing_extensions.TypedDict, total=False): threatVector: str @typing.type_check_only -class CloudControl(typing_extensions.TypedDict, total=False): +class CloudControl(typing.TypedDict, total=False): cloudControlName: str policyType: str - type: typing_extensions.Literal[ - "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" - ] + type: typing.Literal["CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] version: int @typing.type_check_only -class CloudDlpDataProfile(typing_extensions.TypedDict, total=False): +class CloudDlpDataProfile(typing.TypedDict, total=False): dataProfile: str infoTypes: _list[InfoType] - parentType: typing_extensions.Literal[ - "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" - ] + parentType: typing.Literal["PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT"] @typing.type_check_only -class CloudDlpInspection(typing_extensions.TypedDict, total=False): +class CloudDlpInspection(typing.TypedDict, total=False): fullScan: bool infoType: str infoTypeCount: str inspectJob: str @typing.type_check_only -class CloudLoggingEntry(typing_extensions.TypedDict, total=False): +class CloudLoggingEntry(typing.TypedDict, total=False): insertId: str logId: str resourceContainer: str timestamp: str @typing.type_check_only -class Compliance(typing_extensions.TypedDict, total=False): +class Compliance(typing.TypedDict, total=False): ids: _list[str] standard: str version: str @typing.type_check_only -class ComplianceDetails(typing_extensions.TypedDict, total=False): +class ComplianceDetails(typing.TypedDict, total=False): cloudControl: CloudControl cloudControlDeploymentNames: _list[str] frameworks: _list[Framework] @typing.type_check_only -class Config(typing_extensions.TypedDict, total=False): - moduleEnablementState: typing_extensions.Literal[ +class Config(typing.TypedDict, total=False): + moduleEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "INHERITED", "ENABLED", "DISABLED" ] value: dict[str, typing.Any] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): destinationIp: str destinationPort: int - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP"] sourceIp: str sourcePort: int @typing.type_check_only -class Contact(typing_extensions.TypedDict, total=False): +class Contact(typing.TypedDict, total=False): email: str @typing.type_check_only -class ContactDetails(typing_extensions.TypedDict, total=False): +class ContactDetails(typing.TypedDict, total=False): contacts: _list[Contact] @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): createTime: str imageId: str labels: _list[Label] @@ -267,25 +268,25 @@ class Container(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ContainerThreatDetectionSettings(typing_extensions.TypedDict, total=False): +class ContainerThreatDetectionSettings(typing.TypedDict, total=False): modules: dict[str, typing.Any] name: str serviceAccount: str - serviceEnablementState: typing_extensions.Literal[ + serviceEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "INHERITED", "ENABLED", "DISABLED" ] updateTime: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): controlName: str displayName: str @typing.type_check_only -class Cve(typing_extensions.TypedDict, total=False): +class Cve(typing.TypedDict, total=False): cvssv3: Cvssv3 exploitReleaseDate: str - exploitationActivity: typing_extensions.Literal[ + exploitationActivity: typing.Literal[ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", @@ -295,7 +296,7 @@ class Cve(typing_extensions.TypedDict, total=False): ] firstExploitationDate: str id: str - impact: typing_extensions.Literal[ + impact: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] observedInTheWild: bool @@ -304,73 +305,67 @@ class Cve(typing_extensions.TypedDict, total=False): zeroDay: bool @typing.type_check_only -class Cvssv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class Cvssv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class Cwe(typing_extensions.TypedDict, total=False): +class Cwe(typing.TypedDict, total=False): id: str references: _list[Reference] @typing.type_check_only -class DataAccessEvent(typing_extensions.TypedDict, total=False): +class DataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str @typing.type_check_only -class DataFlowEvent(typing_extensions.TypedDict, total=False): +class DataFlowEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str violatedLocation: str @typing.type_check_only -class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): +class DataRetentionDeletionEvent(typing.TypedDict, total=False): dataObjectCount: str eventDetectionTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED", "EVENT_TYPE_MAX_TTL_FROM_CREATION", @@ -381,7 +376,7 @@ class DataRetentionDeletionEvent(typing_extensions.TypedDict, total=False): minRetentionAllowed: str @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): displayName: str grantees: _list[str] name: str @@ -390,20 +385,20 @@ class Database(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): displayName: str name: str source: str @typing.type_check_only -class Denied(typing_extensions.TypedDict, total=False): +class Denied(typing.TypedDict, total=False): ipRules: _list[IpRule] @typing.type_check_only -class Details(typing_extensions.TypedDict, total=False): +class Details(typing.TypedDict, total=False): endTime: str startTime: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "STANDARD", "TRIAL", @@ -416,76 +411,86 @@ class Details(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Detection(typing_extensions.TypedDict, total=False): +class Detection(typing.TypedDict, total=False): binary: str percentPagesMatched: float @typing.type_check_only -class DiscoveredWorkload(typing_extensions.TypedDict, total=False): - confidence: typing_extensions.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] +class DetectorReference(typing.TypedDict, total=False): + detectorId: str + displayName: str + explanation: str + recommendation: str + severity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class DiscoveredWorkload(typing.TypedDict, total=False): + confidence: typing.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] detectedRelevantHardware: bool detectedRelevantKeywords: bool detectedRelevantPackages: bool - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "MCP_SERVER", "AI_INFERENCE", "AGENT" ] @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): name: str @typing.type_check_only -class DiskPath(typing_extensions.TypedDict, total=False): +class DiskPath(typing.TypedDict, total=False): partitionUuid: str relativePath: str @typing.type_check_only -class DynamicMuteRecord(typing_extensions.TypedDict, total=False): +class DynamicMuteRecord(typing.TypedDict, total=False): matchTime: str muteConfig: str @typing.type_check_only -class EnvironmentVariable(typing_extensions.TypedDict, total=False): +class EnvironmentVariable(typing.TypedDict, total=False): name: str val: str @typing.type_check_only -class EventThreatDetectionSettings(typing_extensions.TypedDict, total=False): +class EventThreatDetectionSettings(typing.TypedDict, total=False): modules: dict[str, typing.Any] name: str - serviceEnablementState: typing_extensions.Literal[ + serviceEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "INHERITED", "ENABLED", "DISABLED" ] updateTime: str @typing.type_check_only -class ExfilResource(typing_extensions.TypedDict, total=False): +class ExfilResource(typing.TypedDict, total=False): components: _list[str] name: str @typing.type_check_only -class Exfiltration(typing_extensions.TypedDict, total=False): +class Exfiltration(typing.TypedDict, total=False): sources: _list[ExfilResource] targets: _list[ExfilResource] totalExfiltratedBytes: str @typing.type_check_only -class ExportFindingsMetadata(typing_extensions.TypedDict, total=False): +class ExportFindingsMetadata(typing.TypedDict, total=False): bigQueryDestination: BigQueryDestination exportStartTime: str @typing.type_check_only -class ExportFindingsResponse(typing_extensions.TypedDict, total=False): ... +class ExportFindingsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalExposure(typing_extensions.TypedDict, total=False): +class ExternalExposure(typing.TypedDict, total=False): backendBucket: str backendService: str exposedApplication: str @@ -509,10 +514,10 @@ class ExternalExposure(typing_extensions.TypedDict, total=False): serviceFirewallPolicy: str @typing.type_check_only -class File(typing_extensions.TypedDict, total=False): +class File(typing.TypedDict, total=False): contents: str diskPath: DiskPath - fileLoadState: typing_extensions.Literal[ + fileLoadState: typing.Literal[ "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" ] hashedSize: str @@ -523,16 +528,19 @@ class File(typing_extensions.TypedDict, total=False): size: str @typing.type_check_only -class FileOperation(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class FileOperation(typing.TypedDict, total=False): + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" ] @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): access: Access affectedResources: AffectedResources + agent: Agent + agentAnomaly: AgentAnomaly agentDataAccessEvents: _list[AgentDataAccessEvent] + agentSessions: _list[AgentSession] aiModel: AiModel application: Application artifactGuardPolicies: ArtifactGuardPolicies @@ -563,7 +571,7 @@ class Finding(typing_extensions.TypedDict, total=False): externalSystems: dict[str, typing.Any] externalUri: str files: _list[File] - findingClass: typing_extensions.Literal[ + findingClass: typing.Literal[ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -589,7 +597,7 @@ class Finding(typing_extensions.TypedDict, total=False): logEntries: _list[LogEntry] mitreAttack: MitreAttack moduleName: str - mute: typing_extensions.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] + mute: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] muteInfo: MuteInfo muteInitiator: str muteUpdateTime: str @@ -606,24 +614,24 @@ class Finding(typing_extensions.TypedDict, total=False): secret: Secret securityMarks: SecurityMarks securityPosture: SecurityPosture - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: ToxicCombination vertexAi: VertexAi vulnerability: Vulnerability @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only -class Framework(typing_extensions.TypedDict, total=False): +class Framework(typing.TypedDict, total=False): category: _list[ - typing_extensions.Literal[ + typing.Literal[ "FRAMEWORK_CATEGORY_UNSPECIFIED", "SECURITY_BENCHMARKS", "ASSURED_WORKLOADS", @@ -635,12 +643,12 @@ class Framework(typing_extensions.TypedDict, total=False): controls: _list[Control] displayName: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" ] @typing.type_check_only -class GcpMetadata(typing_extensions.TypedDict, total=False): +class GcpMetadata(typing.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV2Folder] organization: str parent: str @@ -649,13 +657,11 @@ class GcpMetadata(typing_extensions.TypedDict, total=False): projectDisplayName: str @typing.type_check_only -class Geolocation(typing_extensions.TypedDict, total=False): +class Geolocation(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class GoogleCloudSecuritycenterV1BigQueryExport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1BigQueryExport(typing.TypedDict, total=False): createTime: str dataset: str description: str @@ -666,7 +672,7 @@ class GoogleCloudSecuritycenterV1BigQueryExport( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV1Binding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Binding(typing.TypedDict, total=False): name: str ns: str role: Role @@ -674,31 +680,29 @@ class GoogleCloudSecuritycenterV1Binding(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudSecuritycenterV1CustomConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1CustomConfig(typing.TypedDict, total=False): customOutput: GoogleCloudSecuritycenterV1CustomOutputSpec description: str predicate: Expr recommendation: str resourceSelector: GoogleCloudSecuritycenterV1ResourceSelector - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only -class GoogleCloudSecuritycenterV1CustomOutputSpec( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1CustomOutputSpec(typing.TypedDict, total=False): properties: _list[GoogleCloudSecuritycenterV1Property] @typing.type_check_only class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -706,15 +710,13 @@ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule( ] customConfig: GoogleCloudSecuritycenterV1CustomConfig displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV1ExternalSystem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ExternalSystem(typing.TypedDict, total=False): assignees: _list[str] caseCloseTime: str caseCreateTime: str @@ -728,18 +730,16 @@ class GoogleCloudSecuritycenterV1ExternalSystem( ticketInfo: TicketInfo @typing.type_check_only -class GoogleCloudSecuritycenterV1IamDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1IamDetails(typing.TypedDict, total=False): iamRolePermissions: _list[GoogleCloudSecuritycenterV1IamRolePermission] @typing.type_check_only -class GoogleCloudSecuritycenterV1IamRolePermission( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1IamRolePermission(typing.TypedDict, total=False): name: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV1MuteConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1MuteConfig(typing.TypedDict, total=False): createTime: str description: str displayName: str @@ -747,31 +747,29 @@ class GoogleCloudSecuritycenterV1MuteConfig(typing_extensions.TypedDict, total=F filter: str mostRecentEditor: str name: str - type: typing_extensions.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] + type: typing.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV1NotificationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1NotificationMessage(typing.TypedDict, total=False): finding: Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV1Resource @typing.type_check_only -class GoogleCloudSecuritycenterV1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Property(typing.TypedDict, total=False): name: str valueExpression: Expr @typing.type_check_only -class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV1Resource(typing.TypedDict, total=False): adcApplication: AdcApplication adcApplicationTemplate: AdcApplicationTemplateRevision adcSharedTemplate: AdcSharedTemplateRevision application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -792,15 +790,13 @@ class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=Fal type: str @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ResourceApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo @@ -816,37 +812,33 @@ class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceSelector( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1ResourceSelector(typing.TypedDict, total=False): resourceTypes: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV1ResourceValueConfig( - typing_extensions.TypedDict, total=False -): - cloudProvider: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV1ResourceValueConfig(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -857,7 +849,7 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig( name: str resourceLabelsSelector: dict[str, typing.Any] resourceType: str - resourceValue: typing_extensions.Literal[ + resourceValue: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] scope: str @@ -869,19 +861,17 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig( @typing.type_check_only class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ancestorModule: str - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -889,7 +879,7 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( ] customConfig: GoogleCloudSecuritycenterV1CustomConfig displayName: str - enablementState: typing_extensions.Literal[ + enablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED", "INHERITED" ] lastEditor: str @@ -898,28 +888,24 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule( @typing.type_check_only class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - highSensitivityMapping: typing_extensions.Literal[ + highSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] - mediumSensitivityMapping: typing_extensions.Literal[ + mediumSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] @typing.type_check_only class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Finding( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Finding(typing.TypedDict, total=False): canonicalName: str category: str createTime: str @@ -929,31 +915,27 @@ class GoogleCloudSecuritycenterV1p1beta1Finding( parent: str resourceName: str securityMarks: GoogleCloudSecuritycenterV1p1beta1SecurityMarks - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Folder( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only class GoogleCloudSecuritycenterV1p1beta1NotificationMessage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): finding: GoogleCloudSecuritycenterV1p1beta1Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV1p1beta1Resource @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1Resource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1Resource(typing.TypedDict, total=False): folders: _list[GoogleCloudSecuritycenterV1p1beta1Folder] name: str parent: str @@ -963,23 +945,19 @@ class GoogleCloudSecuritycenterV1p1beta1Resource( @typing.type_check_only class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): duration: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV1p1beta1SecurityMarks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV1p1beta1SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Access(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Access(typing.TypedDict, total=False): callerIp: str callerIpGeo: GoogleCloudSecuritycenterV2Geolocation methodName: str @@ -995,7 +973,7 @@ class GoogleCloudSecuritycenterV2Access(typing_extensions.TypedDict, total=False userName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AccessReview(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AccessReview(typing.TypedDict, total=False): group: str name: str ns: str @@ -1005,50 +983,55 @@ class GoogleCloudSecuritycenterV2AccessReview(typing_extensions.TypedDict, total version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AdaptiveProtection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AdaptiveProtection(typing.TypedDict, total=False): confidence: float @typing.type_check_only -class GoogleCloudSecuritycenterV2AdcApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AdcApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AffectedResources( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AffectedResources(typing.TypedDict, total=False): count: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AgentDataAccessEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2Agent(typing.TypedDict, total=False): + displayName: str + id: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AgentAnomaly(typing.TypedDict, total=False): + confidenceScore: float + detectorReferences: _list[GoogleCloudSecuritycenterV2DetectorReference] + invocationReferences: _list[GoogleCloudSecuritycenterV2InvocationReference] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AgentDataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalSubject: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=False): - deploymentPlatform: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2AgentSession(typing.TypedDict, total=False): + sessionId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AiModel(typing.TypedDict, total=False): + deploymentPlatform: typing.Literal[ "DEPLOYMENT_PLATFORM_UNSPECIFIED", "VERTEX_AI", "GKE", "GCE", "FINE_TUNED_MODEL" ] displayName: str @@ -1060,33 +1043,27 @@ class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=Fals usageCategory: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Allowed(typing.TypedDict, total=False): ipRules: _list[GoogleCloudSecuritycenterV2IpRule] @typing.type_check_only -class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Application(typing.TypedDict, total=False): baseUri: str fullUri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ArtifactGuardPolicies( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ArtifactGuardPolicies(typing.TypedDict, total=False): failingPolicies: _list[GoogleCloudSecuritycenterV2ArtifactGuardPolicy] resourceId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ArtifactGuardPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ArtifactGuardPolicy(typing.TypedDict, total=False): failureReason: str policyId: str - type: typing_extensions.Literal[ - "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" - ] + type: typing.Literal["ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY"] @typing.type_check_only -class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Attack(typing.TypedDict, total=False): classification: str volumeBps: int volumeBpsLong: str @@ -1094,82 +1071,64 @@ class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False volumePpsLong: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AttackExposure( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AttackExposure(typing.TypedDict, total=False): attackExposureResult: str exposedHighValueResourcesCount: int exposedLowValueResourcesCount: int exposedMediumValueResourcesCount: int latestCalculationTime: str score: float - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED"] @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsAccount(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AwsAccount(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsMetadata(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AwsMetadata(typing.TypedDict, total=False): account: GoogleCloudSecuritycenterV2AwsAccount organization: GoogleCloudSecuritycenterV2AwsOrganization organizationalUnits: _list[GoogleCloudSecuritycenterV2AwsOrganizationalUnit] @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsOrganization( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AwsOrganization(typing.TypedDict, total=False): id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AwsOrganizationalUnit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AwsOrganizationalUnit(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureManagementGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureManagementGroup(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureMetadata(typing.TypedDict, total=False): managementGroups: _list[GoogleCloudSecuritycenterV2AzureManagementGroup] resourceGroup: GoogleCloudSecuritycenterV2AzureResourceGroup subscription: GoogleCloudSecuritycenterV2AzureSubscription tenant: GoogleCloudSecuritycenterV2AzureTenant @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureResourceGroup( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureResourceGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureSubscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2AzureSubscription(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2AzureTenant(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2AzureTenant(typing.TypedDict, total=False): displayName: str id: str @typing.type_check_only -class GoogleCloudSecuritycenterV2BackupDisasterRecovery( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2BackupDisasterRecovery(typing.TypedDict, total=False): appliance: str applications: _list[str] backupCreateTime: str @@ -1182,9 +1141,7 @@ class GoogleCloudSecuritycenterV2BackupDisasterRecovery( storagePool: str @typing.type_check_only -class GoogleCloudSecuritycenterV2BigQueryExport( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2BigQueryExport(typing.TypedDict, total=False): createTime: str cryptoKeyName: str dataset: str @@ -1196,7 +1153,7 @@ class GoogleCloudSecuritycenterV2BigQueryExport( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Binding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Binding(typing.TypedDict, total=False): name: str ns: str role: GoogleCloudSecuritycenterV2Role @@ -1204,15 +1161,15 @@ class GoogleCloudSecuritycenterV2Binding(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleCloudSecuritycenterV2Chokepoint(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Chokepoint(typing.TypedDict, total=False): relatedFindings: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2CloudArmor(typing.TypedDict, total=False): adaptiveProtection: GoogleCloudSecuritycenterV2AdaptiveProtection attack: GoogleCloudSecuritycenterV2Attack duration: str @@ -1221,78 +1178,62 @@ class GoogleCloudSecuritycenterV2CloudArmor(typing_extensions.TypedDict, total=F threatVector: str @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudControl(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2CloudControl(typing.TypedDict, total=False): cloudControlName: str policyType: str - type: typing_extensions.Literal[ - "CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM" - ] + type: typing.Literal["CLOUD_CONTROL_TYPE_UNSPECIFIED", "BUILT_IN", "CUSTOM"] version: int @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudDlpDataProfile( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudDlpDataProfile(typing.TypedDict, total=False): dataProfile: str infoTypes: _list[GoogleCloudSecuritycenterV2InfoType] - parentType: typing_extensions.Literal[ - "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" - ] + parentType: typing.Literal["PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT"] @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudDlpInspection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudDlpInspection(typing.TypedDict, total=False): fullScan: bool infoType: str infoTypeCount: str inspectJob: str @typing.type_check_only -class GoogleCloudSecuritycenterV2CloudLoggingEntry( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2CloudLoggingEntry(typing.TypedDict, total=False): insertId: str logId: str resourceContainer: str timestamp: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Compliance(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Compliance(typing.TypedDict, total=False): ids: _list[str] standard: str version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ComplianceDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ComplianceDetails(typing.TypedDict, total=False): cloudControl: GoogleCloudSecuritycenterV2CloudControl cloudControlDeploymentNames: _list[str] frameworks: _list[GoogleCloudSecuritycenterV2Framework] @typing.type_check_only -class GoogleCloudSecuritycenterV2Connection(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Connection(typing.TypedDict, total=False): destinationIp: str destinationPort: int - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" - ] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP"] sourceIp: str sourcePort: int @typing.type_check_only -class GoogleCloudSecuritycenterV2Contact(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Contact(typing.TypedDict, total=False): email: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ContactDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ContactDetails(typing.TypedDict, total=False): contacts: _list[GoogleCloudSecuritycenterV2Contact] @typing.type_check_only -class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Container(typing.TypedDict, total=False): createTime: str imageId: str labels: _list[GoogleCloudSecuritycenterV2Label] @@ -1300,15 +1241,15 @@ class GoogleCloudSecuritycenterV2Container(typing_extensions.TypedDict, total=Fa uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Control(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Control(typing.TypedDict, total=False): controlName: str displayName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Cve(typing.TypedDict, total=False): cvssv3: GoogleCloudSecuritycenterV2Cvssv3 exploitReleaseDate: str - exploitationActivity: typing_extensions.Literal[ + exploitationActivity: typing.Literal[ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", @@ -1318,7 +1259,7 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): ] firstExploitationDate: str id: str - impact: typing_extensions.Literal[ + impact: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] observedInTheWild: bool @@ -1327,79 +1268,69 @@ class GoogleCloudSecuritycenterV2Cve(typing_extensions.TypedDict, total=False): zeroDay: bool @typing.type_check_only -class GoogleCloudSecuritycenterV2Cvssv3(typing_extensions.TypedDict, total=False): - attackComplexity: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2Cvssv3(typing.TypedDict, total=False): + attackComplexity: typing.Literal[ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH", ] - attackVector: typing_extensions.Literal[ + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL", ] - availabilityImpact: typing_extensions.Literal[ + availabilityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] baseScore: float - confidentialityImpact: typing_extensions.Literal[ + confidentialityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - integrityImpact: typing_extensions.Literal[ + integrityImpact: typing.Literal[ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] - privilegesRequired: typing_extensions.Literal[ + privilegesRequired: typing.Literal[ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH", ] - scope: typing_extensions.Literal[ - "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" - ] - userInteraction: typing_extensions.Literal[ + scope: typing.Literal["SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED"] + userInteraction: typing.Literal[ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED", ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Cwe(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Cwe(typing.TypedDict, total=False): id: str references: _list[GoogleCloudSecuritycenterV2Reference] @typing.type_check_only -class GoogleCloudSecuritycenterV2DataAccessEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DataAccessEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DataFlowEvent( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DataFlowEvent(typing.TypedDict, total=False): eventId: str eventTime: str - operation: typing_extensions.Literal[ - "OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY" - ] + operation: typing.Literal["OPERATION_UNSPECIFIED", "READ", "MOVE", "COPY"] principalEmail: str violatedLocation: str @typing.type_check_only class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): dataObjectCount: str eventDetectionTime: str - eventType: typing_extensions.Literal[ + eventType: typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "EVENT_TYPE_MAX_TTL_EXCEEDED", "EVENT_TYPE_MAX_TTL_FROM_CREATION", @@ -1410,7 +1341,7 @@ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent( minRetentionAllowed: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Database(typing.TypedDict, total=False): displayName: str grantees: _list[str] name: str @@ -1419,72 +1350,72 @@ class GoogleCloudSecuritycenterV2Database(typing_extensions.TypedDict, total=Fal version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Dataset(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Dataset(typing.TypedDict, total=False): displayName: str name: str source: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Denied(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Denied(typing.TypedDict, total=False): ipRules: _list[GoogleCloudSecuritycenterV2IpRule] @typing.type_check_only -class GoogleCloudSecuritycenterV2Detection(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Detection(typing.TypedDict, total=False): binary: str percentPagesMatched: float @typing.type_check_only -class GoogleCloudSecuritycenterV2DiscoveredWorkload( - typing_extensions.TypedDict, total=False -): - confidence: typing_extensions.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] +class GoogleCloudSecuritycenterV2DetectorReference(typing.TypedDict, total=False): + detectorId: str + displayName: str + explanation: str + recommendation: str + severity: typing.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2DiscoveredWorkload(typing.TypedDict, total=False): + confidence: typing.Literal["CONFIDENCE_UNSPECIFIED", "CONFIDENCE_HIGH"] detectedRelevantHardware: bool detectedRelevantKeywords: bool detectedRelevantPackages: bool - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "MCP_SERVER", "AI_INFERENCE", "AGENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Disk(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Disk(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DiskPath(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2DiskPath(typing.TypedDict, total=False): partitionUuid: str relativePath: str @typing.type_check_only -class GoogleCloudSecuritycenterV2DynamicMuteRecord( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2DynamicMuteRecord(typing.TypedDict, total=False): matchTime: str muteConfig: str @typing.type_check_only -class GoogleCloudSecuritycenterV2EnvironmentVariable( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2EnvironmentVariable(typing.TypedDict, total=False): name: str val: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExfilResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExfilResource(typing.TypedDict, total=False): components: _list[str] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Exfiltration(typing.TypedDict, total=False): sources: _list[GoogleCloudSecuritycenterV2ExfilResource] targets: _list[GoogleCloudSecuritycenterV2ExfilResource] totalExfiltratedBytes: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExternalExposure( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExternalExposure(typing.TypedDict, total=False): backendBucket: str backendService: str exposedApplication: str @@ -1508,9 +1439,7 @@ class GoogleCloudSecuritycenterV2ExternalExposure( serviceFirewallPolicy: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ExternalSystem( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ExternalSystem(typing.TypedDict, total=False): assignees: _list[str] caseCloseTime: str caseCreateTime: str @@ -1524,10 +1453,10 @@ class GoogleCloudSecuritycenterV2ExternalSystem( ticketInfo: GoogleCloudSecuritycenterV2TicketInfo @typing.type_check_only -class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2File(typing.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath - fileLoadState: typing_extensions.Literal[ + fileLoadState: typing.Literal[ "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" ] hashedSize: str @@ -1538,18 +1467,19 @@ class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): size: str @typing.type_check_only -class GoogleCloudSecuritycenterV2FileOperation( - typing_extensions.TypedDict, total=False -): - type: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2FileOperation(typing.TypedDict, total=False): + type: typing.Literal[ "OPERATION_TYPE_UNSPECIFIED", "OPEN", "READ", "RENAME", "WRITE", "EXECUTE" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Finding(typing.TypedDict, total=False): access: GoogleCloudSecuritycenterV2Access affectedResources: GoogleCloudSecuritycenterV2AffectedResources + agent: GoogleCloudSecuritycenterV2Agent + agentAnomaly: GoogleCloudSecuritycenterV2AgentAnomaly agentDataAccessEvents: _list[GoogleCloudSecuritycenterV2AgentDataAccessEvent] + agentSessions: _list[GoogleCloudSecuritycenterV2AgentSession] aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application artifactGuardPolicies: GoogleCloudSecuritycenterV2ArtifactGuardPolicies @@ -1583,7 +1513,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals externalSystems: dict[str, typing.Any] externalUri: str files: _list[GoogleCloudSecuritycenterV2File] - findingClass: typing_extensions.Literal[ + findingClass: typing.Literal[ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", @@ -1609,7 +1539,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals logEntries: _list[GoogleCloudSecuritycenterV2LogEntry] mitreAttack: GoogleCloudSecuritycenterV2MitreAttack moduleName: str - mute: typing_extensions.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] + mute: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] muteInfo: GoogleCloudSecuritycenterV2MuteInfo muteInitiator: str muteUpdateTime: str @@ -1626,24 +1556,24 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals secret: GoogleCloudSecuritycenterV2Secret securityMarks: GoogleCloudSecuritycenterV2SecurityMarks securityPosture: GoogleCloudSecuritycenterV2SecurityPosture - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] sourceProperties: dict[str, typing.Any] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] toxicCombination: GoogleCloudSecuritycenterV2ToxicCombination vertexAi: GoogleCloudSecuritycenterV2VertexAi vulnerability: GoogleCloudSecuritycenterV2Vulnerability @typing.type_check_only -class GoogleCloudSecuritycenterV2Folder(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Folder(typing.TypedDict, total=False): resourceFolder: str resourceFolderDisplayName: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Framework(typing.TypedDict, total=False): category: _list[ - typing_extensions.Literal[ + typing.Literal[ "FRAMEWORK_CATEGORY_UNSPECIFIED", "SECURITY_BENCHMARKS", "ASSURED_WORKLOADS", @@ -1655,82 +1585,82 @@ class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=Fa controls: _list[GoogleCloudSecuritycenterV2Control] displayName: str name: str - type: typing_extensions.Literal[ + type: typing.Literal[ "FRAMEWORK_TYPE_UNSPECIFIED", "FRAMEWORK_TYPE_BUILT_IN", "FRAMEWORK_TYPE_CUSTOM" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2Geolocation(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Geolocation(typing.TypedDict, total=False): regionCode: str @typing.type_check_only -class GoogleCloudSecuritycenterV2GroupMembership( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2GroupMembership(typing.TypedDict, total=False): groupId: str - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION", "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only -class GoogleCloudSecuritycenterV2HttpResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2HttpResponse(typing.TypedDict, total=False): path: str statusCode: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IamBinding(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class GoogleCloudSecuritycenterV2IamBinding(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] member: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IamDetails(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IamDetails(typing.TypedDict, total=False): iamRolePermissions: _list[GoogleCloudSecuritycenterV2IamRolePermission] @typing.type_check_only -class GoogleCloudSecuritycenterV2IamRolePermission( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IamRolePermission(typing.TypedDict, total=False): name: str role: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Indicator(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Indicator(typing.TypedDict, total=False): domains: _list[str] ipAddresses: _list[str] signatures: _list[GoogleCloudSecuritycenterV2ProcessSignature] uris: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2InfoType(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2InfoType(typing.TypedDict, total=False): name: str sensitivityScore: GoogleCloudSecuritycenterV2SensitivityScore version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IpRule(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2InvocationReference(typing.TypedDict, total=False): + invocationId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IpRule(typing.TypedDict, total=False): portRanges: _list[GoogleCloudSecuritycenterV2PortRange] protocol: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IpRules(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IpRules(typing.TypedDict, total=False): allowed: GoogleCloudSecuritycenterV2Allowed denied: GoogleCloudSecuritycenterV2Denied destinationIpRanges: _list[str] - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] exposedServices: _list[str] sourceIpRanges: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Issue(typing.TypedDict, total=False): createTime: str description: str detection: str domains: _list[GoogleCloudSecuritycenterV2IssueDomain] exposureScore: float - issueType: typing_extensions.Literal[ + issueType: typing.Literal[ "ISSUE_TYPE_UNSPECIFIED", "CHOKEPOINT", "TOXIC_COMBINATION", "INSIGHT" ] lastObservationTime: str @@ -1741,15 +1671,15 @@ class GoogleCloudSecuritycenterV2Issue(typing_extensions.TypedDict, total=False) remediations: _list[str] secondaryResources: _list[GoogleCloudSecuritycenterV2IssueResource] securityContexts: _list[GoogleCloudSecuritycenterV2IssueSecurityContext] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total=False): - domainCategory: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2IssueDomain(typing.TypedDict, total=False): + domainCategory: typing.Literal[ "DOMAIN_CATEGORY_UNSPECIFIED", "AI", "CODE", @@ -1761,34 +1691,30 @@ class GoogleCloudSecuritycenterV2IssueDomain(typing_extensions.TypedDict, total= ] @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueFinding(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IssueFinding(typing.TypedDict, total=False): cve: GoogleCloudSecuritycenterV2IssueFindingCve name: str securityBulletin: GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueFindingCve( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueFindingCve(typing.TypedDict, total=False): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2IssueMute(typing.TypedDict, total=False): muteInitiator: str muteReason: str - muteState: typing_extensions.Literal["MUTE_STATE_UNSPECIFIED", "NOT_MUTED", "MUTED"] + muteState: typing.Literal["MUTE_STATE_UNSPECIFIED", "NOT_MUTED", "MUTED"] muteUpdateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueResource( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueResource(typing.TypedDict, total=False): adcApplication: GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplicationTemplate: ( GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision @@ -1797,7 +1723,7 @@ class GoogleCloudSecuritycenterV2IssueResource( application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD", "AMAZON_WEB_SERVICES", @@ -1810,33 +1736,33 @@ class GoogleCloudSecuritycenterV2IssueResource( @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcApplication( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplication( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo @@ -1856,92 +1782,88 @@ class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): account: GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): id: str name: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): subscription: GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): displayName: str id: str @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): projectId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2IssueSecurityContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2IssueSecurityContext(typing.TypedDict, total=False): aggregatedCount: GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount context: GoogleCloudSecuritycenterV2IssueSecurityContextContext @typing.type_check_only class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str value: int @typing.type_check_only class GoogleCloudSecuritycenterV2IssueSecurityContextContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): type: str values: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2Job(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Job(typing.TypedDict, total=False): errorCode: int location: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2KernelRootkit( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2KernelRootkit(typing.TypedDict, total=False): name: str unexpectedCodeModification: bool unexpectedFtraceHandler: bool @@ -1953,7 +1875,7 @@ class GoogleCloudSecuritycenterV2KernelRootkit( unexpectedSystemCallHandler: bool @typing.type_check_only -class GoogleCloudSecuritycenterV2Kubernetes(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Kubernetes(typing.TypedDict, total=False): accessReviews: _list[GoogleCloudSecuritycenterV2AccessReview] bindings: _list[GoogleCloudSecuritycenterV2Binding] nodePools: _list[GoogleCloudSecuritycenterV2NodePool] @@ -1963,29 +1885,27 @@ class GoogleCloudSecuritycenterV2Kubernetes(typing_extensions.TypedDict, total=F roles: _list[GoogleCloudSecuritycenterV2Role] @typing.type_check_only -class GoogleCloudSecuritycenterV2Label(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Label(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class GoogleCloudSecuritycenterV2LoadBalancer(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2LoadBalancer(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2LogEntry(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2LogEntry(typing.TypedDict, total=False): cloudLoggingEntry: GoogleCloudSecuritycenterV2CloudLoggingEntry @typing.type_check_only -class GoogleCloudSecuritycenterV2MemoryHashSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2MemoryHashSignature(typing.TypedDict, total=False): binaryFamily: str detections: _list[GoogleCloudSecuritycenterV2Detection] @typing.type_check_only -class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MitreAttack(typing.TypedDict, total=False): additionalTactics: _list[ - typing_extensions.Literal[ + typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2004,7 +1924,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= ] ] additionalTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -2146,7 +2066,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "FINANCIAL_THEFT", ] ] - primaryTactic: typing_extensions.Literal[ + primaryTactic: typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2164,7 +2084,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= "IMPACT", ] primaryTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -2309,7 +2229,7 @@ class GoogleCloudSecuritycenterV2MitreAttack(typing_extensions.TypedDict, total= version: str @typing.type_check_only -class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MuteConfig(typing.TypedDict, total=False): createTime: str cryptoKeyName: str description: str @@ -2317,44 +2237,42 @@ class GoogleCloudSecuritycenterV2MuteConfig(typing_extensions.TypedDict, total=F filter: str mostRecentEditor: str name: str - type: typing_extensions.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] + type: typing.Literal["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"] updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2MuteInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2MuteInfo(typing.TypedDict, total=False): dynamicMuteRecords: _list[GoogleCloudSecuritycenterV2DynamicMuteRecord] staticMute: GoogleCloudSecuritycenterV2StaticMute @typing.type_check_only -class GoogleCloudSecuritycenterV2Network(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Network(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Node(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Node(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2NodePool(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2NodePool(typing.TypedDict, total=False): name: str nodes: _list[GoogleCloudSecuritycenterV2Node] @typing.type_check_only -class GoogleCloudSecuritycenterV2Notebook(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Notebook(typing.TypedDict, total=False): lastAuthor: str name: str notebookUpdateTime: str service: str @typing.type_check_only -class GoogleCloudSecuritycenterV2NotificationMessage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2NotificationMessage(typing.TypedDict, total=False): finding: GoogleCloudSecuritycenterV2Finding notificationConfigName: str resource: GoogleCloudSecuritycenterV2Resource @typing.type_check_only -class GoogleCloudSecuritycenterV2Object(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Object(typing.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] group: str kind: str @@ -2362,52 +2280,48 @@ class GoogleCloudSecuritycenterV2Object(typing_extensions.TypedDict, total=False ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2OrgPolicy(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2OrgPolicy(typing.TypedDict, total=False): name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Package(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Package(typing.TypedDict, total=False): cpeUri: str packageName: str packageType: str packageVersion: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Pipeline(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Pipeline(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Pod(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Pod(typing.TypedDict, total=False): containers: _list[GoogleCloudSecuritycenterV2Container] labels: _list[GoogleCloudSecuritycenterV2Label] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PolicyDriftDetails( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2PolicyDriftDetails(typing.TypedDict, total=False): detectedValue: str expectedValue: str field: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PolicyViolationSummary( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2PolicyViolationSummary(typing.TypedDict, total=False): conformantResourcesCount: str evaluationErrorsCount: str outOfScopeResourcesCount: str policyViolationsCount: str @typing.type_check_only -class GoogleCloudSecuritycenterV2PortRange(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2PortRange(typing.TypedDict, total=False): max: str min: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Process(typing.TypedDict, total=False): args: _list[str] argumentsTruncated: bool binary: GoogleCloudSecuritycenterV2File @@ -2421,36 +2335,34 @@ class GoogleCloudSecuritycenterV2Process(typing_extensions.TypedDict, total=Fals userId: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ProcessSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ProcessSignature(typing.TypedDict, total=False): memoryHashSignature: GoogleCloudSecuritycenterV2MemoryHashSignature - signatureType: typing_extensions.Literal[ + signatureType: typing.Literal[ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] yaraRuleSignature: GoogleCloudSecuritycenterV2YaraRuleSignature @typing.type_check_only -class GoogleCloudSecuritycenterV2Reference(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Reference(typing.TypedDict, total=False): source: str uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Requests(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Requests(typing.TypedDict, total=False): longTermAllowed: int longTermDenied: int ratio: float shortTermAllowed: int @typing.type_check_only -class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Resource(typing.TypedDict, total=False): adcApplication: GoogleCloudSecuritycenterV2AdcApplication adcApplicationTemplate: GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcSharedTemplate: GoogleCloudSecuritycenterV2AdcSharedTemplateRevision application: GoogleCloudSecuritycenterV2ResourceApplication awsMetadata: GoogleCloudSecuritycenterV2AwsMetadata azureMetadata: GoogleCloudSecuritycenterV2AzureMetadata - cloudProvider: typing_extensions.Literal[ + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -2466,15 +2378,13 @@ class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=Fal type: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourceApplication( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ResourceApplication(typing.TypedDict, total=False): attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes name: str @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): businessOwners: _list[ GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo @@ -2490,37 +2400,35 @@ class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): email: str @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - type: typing_extensions.Literal[ + type: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourcePath(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2ResourcePath(typing.TypedDict, total=False): nodes: _list[GoogleCloudSecuritycenterV2ResourcePathNode] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourcePathNode( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ResourcePathNode(typing.TypedDict, total=False): displayName: str id: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", @@ -2534,10 +2442,8 @@ class GoogleCloudSecuritycenterV2ResourcePathNode( ] @typing.type_check_only -class GoogleCloudSecuritycenterV2ResourceValueConfig( - typing_extensions.TypedDict, total=False -): - cloudProvider: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2ResourceValueConfig(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -2548,7 +2454,7 @@ class GoogleCloudSecuritycenterV2ResourceValueConfig( name: str resourceLabelsSelector: dict[str, typing.Any] resourceType: str - resourceValue: typing_extensions.Literal[ + resourceValue: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] scope: str @@ -2559,13 +2465,13 @@ class GoogleCloudSecuritycenterV2ResourceValueConfig( updateTime: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Role(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] +class GoogleCloudSecuritycenterV2Role(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2Secret(typing.TypedDict, total=False): environmentVariable: GoogleCloudSecuritycenterV2SecretEnvironmentVariable filePath: GoogleCloudSecuritycenterV2SecretFilePath status: GoogleCloudSecuritycenterV2SecretStatus @@ -2573,20 +2479,18 @@ class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudSecuritycenterV2SecretEnvironmentVariable( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): key: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecretFilePath( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecretFilePath(typing.TypedDict, total=False): path: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2SecretStatus(typing.TypedDict, total=False): lastUpdatedTime: str - validity: typing_extensions.Literal[ + validity: typing.Literal[ "SECRET_VALIDITY_UNSPECIFIED", "SECRET_VALIDITY_UNSUPPORTED", "SECRET_VALIDITY_FAILED", @@ -2595,33 +2499,25 @@ class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total ] @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityBulletin( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityBulletin(typing.TypedDict, total=False): bulletinId: str submissionTime: str suggestedUpgradeVersion: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityMarks( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityPolicy(typing.TypedDict, total=False): name: str preview: bool type: str @typing.type_check_only -class GoogleCloudSecuritycenterV2SecurityPosture( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2SecurityPosture(typing.TypedDict, total=False): changedPolicy: str name: str policy: str @@ -2633,20 +2529,18 @@ class GoogleCloudSecuritycenterV2SecurityPosture( @typing.type_check_only class GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - highSensitivityMapping: typing_extensions.Literal[ + highSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] - mediumSensitivityMapping: typing_extensions.Literal[ + mediumSensitivityMapping: typing.Literal[ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] @typing.type_check_only -class GoogleCloudSecuritycenterV2SensitivityScore( - typing_extensions.TypedDict, total=False -): - score: typing_extensions.Literal[ +class GoogleCloudSecuritycenterV2SensitivityScore(typing.TypedDict, total=False): + score: typing.Literal[ "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", "SENSITIVITY_LOW", "SENSITIVITY_UNKNOWN", @@ -2656,28 +2550,24 @@ class GoogleCloudSecuritycenterV2SensitivityScore( @typing.type_check_only class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): principalEmail: str principalSubject: str @typing.type_check_only -class GoogleCloudSecuritycenterV2StaticMute(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2StaticMute(typing.TypedDict, total=False): applyTime: str - state: typing_extensions.Literal[ - "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" - ] + state: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] @typing.type_check_only -class GoogleCloudSecuritycenterV2Subject(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ - "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" - ] +class GoogleCloudSecuritycenterV2Subject(typing.TypedDict, total=False): + kind: typing.Literal["AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP"] name: str ns: str @typing.type_check_only -class GoogleCloudSecuritycenterV2TicketInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2TicketInfo(typing.TypedDict, total=False): assignee: str description: str id: str @@ -2686,21 +2576,17 @@ class GoogleCloudSecuritycenterV2TicketInfo(typing_extensions.TypedDict, total=F uri: str @typing.type_check_only -class GoogleCloudSecuritycenterV2ToxicCombination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2ToxicCombination(typing.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] @typing.type_check_only -class GoogleCloudSecuritycenterV2VertexAi(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritycenterV2VertexAi(typing.TypedDict, total=False): datasets: _list[GoogleCloudSecuritycenterV2Dataset] pipelines: _list[GoogleCloudSecuritycenterV2Pipeline] @typing.type_check_only -class GoogleCloudSecuritycenterV2Vulnerability( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2Vulnerability(typing.TypedDict, total=False): cve: GoogleCloudSecuritycenterV2Cve cwes: _list[GoogleCloudSecuritycenterV2Cwe] fixedPackage: GoogleCloudSecuritycenterV2Package @@ -2710,69 +2596,71 @@ class GoogleCloudSecuritycenterV2Vulnerability( securityBulletin: GoogleCloudSecuritycenterV2SecurityBulletin @typing.type_check_only -class GoogleCloudSecuritycenterV2YaraRuleSignature( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritycenterV2YaraRuleSignature(typing.TypedDict, total=False): yaraRule: str @typing.type_check_only -class GroupMembership(typing_extensions.TypedDict, total=False): +class GroupMembership(typing.TypedDict, total=False): groupId: str - groupType: typing_extensions.Literal[ + groupType: typing.Literal[ "GROUP_TYPE_UNSPECIFIED", "GROUP_TYPE_TOXIC_COMBINATION", "GROUP_TYPE_CHOKEPOINT", ] @typing.type_check_only -class HttpResponse(typing_extensions.TypedDict, total=False): +class HttpResponse(typing.TypedDict, total=False): path: str statusCode: str @typing.type_check_only -class IamBinding(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] +class IamBinding(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ADD", "REMOVE"] member: str role: str @typing.type_check_only -class Indicator(typing_extensions.TypedDict, total=False): +class Indicator(typing.TypedDict, total=False): domains: _list[str] ipAddresses: _list[str] signatures: _list[ProcessSignature] uris: _list[str] @typing.type_check_only -class InfoType(typing_extensions.TypedDict, total=False): +class InfoType(typing.TypedDict, total=False): name: str sensitivityScore: SensitivityScore version: str @typing.type_check_only -class IpRule(typing_extensions.TypedDict, total=False): +class InvocationReference(typing.TypedDict, total=False): + invocationId: str + +@typing.type_check_only +class IpRule(typing.TypedDict, total=False): portRanges: _list[PortRange] protocol: str @typing.type_check_only -class IpRules(typing_extensions.TypedDict, total=False): +class IpRules(typing.TypedDict, total=False): allowed: Allowed denied: Denied destinationIpRanges: _list[str] - direction: typing_extensions.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "INGRESS", "EGRESS"] exposedServices: _list[str] sourceIpRanges: _list[str] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): errorCode: int location: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "JOB_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] @typing.type_check_only -class KernelRootkit(typing_extensions.TypedDict, total=False): +class KernelRootkit(typing.TypedDict, total=False): name: str unexpectedCodeModification: bool unexpectedFtraceHandler: bool @@ -2784,7 +2672,7 @@ class KernelRootkit(typing_extensions.TypedDict, total=False): unexpectedSystemCallHandler: bool @typing.type_check_only -class Kubernetes(typing_extensions.TypedDict, total=False): +class Kubernetes(typing.TypedDict, total=False): accessReviews: _list[AccessReview] bindings: _list[GoogleCloudSecuritycenterV1Binding] nodePools: _list[NodePool] @@ -2794,27 +2682,27 @@ class Kubernetes(typing_extensions.TypedDict, total=False): roles: _list[Role] @typing.type_check_only -class Label(typing_extensions.TypedDict, total=False): +class Label(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class LoadBalancer(typing_extensions.TypedDict, total=False): +class LoadBalancer(typing.TypedDict, total=False): name: str @typing.type_check_only -class LogEntry(typing_extensions.TypedDict, total=False): +class LogEntry(typing.TypedDict, total=False): cloudLoggingEntry: CloudLoggingEntry @typing.type_check_only -class MemoryHashSignature(typing_extensions.TypedDict, total=False): +class MemoryHashSignature(typing.TypedDict, total=False): binaryFamily: str detections: _list[Detection] @typing.type_check_only -class MitreAttack(typing_extensions.TypedDict, total=False): +class MitreAttack(typing.TypedDict, total=False): additionalTactics: _list[ - typing_extensions.Literal[ + typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2833,7 +2721,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): ] ] additionalTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -2975,7 +2863,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "FINANCIAL_THEFT", ] ] - primaryTactic: typing_extensions.Literal[ + primaryTactic: typing.Literal[ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", @@ -2993,7 +2881,7 @@ class MitreAttack(typing_extensions.TypedDict, total=False): "IMPACT", ] primaryTechniques: _list[ - typing_extensions.Literal[ + typing.Literal[ "TECHNIQUE_UNSPECIFIED", "DATA_OBFUSCATION", "DATA_OBFUSCATION_STEGANOGRAPHY", @@ -3138,32 +3026,32 @@ class MitreAttack(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class MuteInfo(typing_extensions.TypedDict, total=False): +class MuteInfo(typing.TypedDict, total=False): dynamicMuteRecords: _list[DynamicMuteRecord] staticMute: StaticMute @typing.type_check_only -class Network(typing_extensions.TypedDict, total=False): +class Network(typing.TypedDict, total=False): name: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): name: str @typing.type_check_only -class NodePool(typing_extensions.TypedDict, total=False): +class NodePool(typing.TypedDict, total=False): name: str nodes: _list[Node] @typing.type_check_only -class Notebook(typing_extensions.TypedDict, total=False): +class Notebook(typing.TypedDict, total=False): lastAuthor: str name: str notebookUpdateTime: str service: str @typing.type_check_only -class Object(typing_extensions.TypedDict, total=False): +class Object(typing.TypedDict, total=False): containers: _list[Container] group: str kind: str @@ -3171,48 +3059,48 @@ class Object(typing_extensions.TypedDict, total=False): ns: str @typing.type_check_only -class OrgPolicy(typing_extensions.TypedDict, total=False): +class OrgPolicy(typing.TypedDict, total=False): name: str @typing.type_check_only -class Package(typing_extensions.TypedDict, total=False): +class Package(typing.TypedDict, total=False): cpeUri: str packageName: str packageType: str packageVersion: str @typing.type_check_only -class Pipeline(typing_extensions.TypedDict, total=False): +class Pipeline(typing.TypedDict, total=False): displayName: str name: str @typing.type_check_only -class Pod(typing_extensions.TypedDict, total=False): +class Pod(typing.TypedDict, total=False): containers: _list[Container] labels: _list[Label] name: str ns: str @typing.type_check_only -class PolicyDriftDetails(typing_extensions.TypedDict, total=False): +class PolicyDriftDetails(typing.TypedDict, total=False): detectedValue: str expectedValue: str field: str @typing.type_check_only -class PolicyViolationSummary(typing_extensions.TypedDict, total=False): +class PolicyViolationSummary(typing.TypedDict, total=False): conformantResourcesCount: str evaluationErrorsCount: str outOfScopeResourcesCount: str policyViolationsCount: str @typing.type_check_only -class PortRange(typing_extensions.TypedDict, total=False): +class PortRange(typing.TypedDict, total=False): max: str min: str @typing.type_check_only -class Process(typing_extensions.TypedDict, total=False): +class Process(typing.TypedDict, total=False): args: _list[str] argumentsTruncated: bool binary: File @@ -3226,43 +3114,43 @@ class Process(typing_extensions.TypedDict, total=False): userId: str @typing.type_check_only -class ProcessSignature(typing_extensions.TypedDict, total=False): +class ProcessSignature(typing.TypedDict, total=False): memoryHashSignature: MemoryHashSignature - signatureType: typing_extensions.Literal[ + signatureType: typing.Literal[ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] yaraRuleSignature: YaraRuleSignature @typing.type_check_only -class RapidVulnerabilityDetectionSettings(typing_extensions.TypedDict, total=False): +class RapidVulnerabilityDetectionSettings(typing.TypedDict, total=False): modules: dict[str, typing.Any] name: str - serviceEnablementState: typing_extensions.Literal[ + serviceEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "INHERITED", "ENABLED", "DISABLED" ] updateTime: str @typing.type_check_only -class Reference(typing_extensions.TypedDict, total=False): +class Reference(typing.TypedDict, total=False): source: str uri: str @typing.type_check_only -class Requests(typing_extensions.TypedDict, total=False): +class Requests(typing.TypedDict, total=False): longTermAllowed: int longTermDenied: int ratio: float shortTermAllowed: int @typing.type_check_only -class ResourcePath(typing_extensions.TypedDict, total=False): +class ResourcePath(typing.TypedDict, total=False): nodes: _list[ResourcePathNode] @typing.type_check_only -class ResourcePathNode(typing_extensions.TypedDict, total=False): +class ResourcePathNode(typing.TypedDict, total=False): displayName: str id: str - nodeType: typing_extensions.Literal[ + nodeType: typing.Literal[ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", @@ -3276,30 +3164,30 @@ class ResourcePathNode(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Role(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] +class Role(typing.TypedDict, total=False): + kind: typing.Literal["KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE"] name: str ns: str @typing.type_check_only -class Secret(typing_extensions.TypedDict, total=False): +class Secret(typing.TypedDict, total=False): environmentVariable: SecretEnvironmentVariable filePath: SecretFilePath status: SecretStatus type: str @typing.type_check_only -class SecretEnvironmentVariable(typing_extensions.TypedDict, total=False): +class SecretEnvironmentVariable(typing.TypedDict, total=False): key: str @typing.type_check_only -class SecretFilePath(typing_extensions.TypedDict, total=False): +class SecretFilePath(typing.TypedDict, total=False): path: str @typing.type_check_only -class SecretStatus(typing_extensions.TypedDict, total=False): +class SecretStatus(typing.TypedDict, total=False): lastUpdatedTime: str - validity: typing_extensions.Literal[ + validity: typing.Literal[ "SECRET_VALIDITY_UNSPECIFIED", "SECRET_VALIDITY_UNSUPPORTED", "SECRET_VALIDITY_FAILED", @@ -3308,13 +3196,13 @@ class SecretStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SecurityBulletin(typing_extensions.TypedDict, total=False): +class SecurityBulletin(typing.TypedDict, total=False): bulletinId: str submissionTime: str suggestedUpgradeVersion: str @typing.type_check_only -class SecurityCenterSettings(typing_extensions.TypedDict, total=False): +class SecurityCenterSettings(typing.TypedDict, total=False): cryptoKeyName: str logSinkProject: str name: str @@ -3322,29 +3210,29 @@ class SecurityCenterSettings(typing_extensions.TypedDict, total=False): orgServiceAccount: str @typing.type_check_only -class SecurityHealthAnalyticsSettings(typing_extensions.TypedDict, total=False): +class SecurityHealthAnalyticsSettings(typing.TypedDict, total=False): modules: dict[str, typing.Any] name: str serviceAccount: str - serviceEnablementState: typing_extensions.Literal[ + serviceEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "INHERITED", "ENABLED", "DISABLED" ] updateTime: str @typing.type_check_only -class SecurityMarks(typing_extensions.TypedDict, total=False): +class SecurityMarks(typing.TypedDict, total=False): canonicalName: str marks: dict[str, typing.Any] name: str @typing.type_check_only -class SecurityPolicy(typing_extensions.TypedDict, total=False): +class SecurityPolicy(typing.TypedDict, total=False): name: str preview: bool type: str @typing.type_check_only -class SecurityPosture(typing_extensions.TypedDict, total=False): +class SecurityPosture(typing.TypedDict, total=False): changedPolicy: str name: str policy: str @@ -3355,8 +3243,8 @@ class SecurityPosture(typing_extensions.TypedDict, total=False): revisionId: str @typing.type_check_only -class SensitivityScore(typing_extensions.TypedDict, total=False): - score: typing_extensions.Literal[ +class SensitivityScore(typing.TypedDict, total=False): + score: typing.Literal[ "SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", "SENSITIVITY_LOW", "SENSITIVITY_UNKNOWN", @@ -3365,35 +3253,31 @@ class SensitivityScore(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): +class ServiceAccountDelegationInfo(typing.TypedDict, total=False): principalEmail: str principalSubject: str @typing.type_check_only -class StaticMute(typing_extensions.TypedDict, total=False): +class StaticMute(typing.TypedDict, total=False): applyTime: str - state: typing_extensions.Literal[ - "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" - ] + state: typing.Literal["MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED"] @typing.type_check_only -class Subject(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal[ - "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" - ] +class Subject(typing.TypedDict, total=False): + kind: typing.Literal["AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP"] name: str ns: str @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): details: Details name: str - tier: typing_extensions.Literal[ + tier: typing.Literal[ "TIER_UNSPECIFIED", "STANDARD", "PREMIUM", "ENTERPRISE", "ENTERPRISE_MC" ] @typing.type_check_only -class TicketInfo(typing_extensions.TypedDict, total=False): +class TicketInfo(typing.TypedDict, total=False): assignee: str description: str id: str @@ -3402,27 +3286,27 @@ class TicketInfo(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ToxicCombination(typing_extensions.TypedDict, total=False): +class ToxicCombination(typing.TypedDict, total=False): attackExposureScore: float relatedFindings: _list[str] @typing.type_check_only -class VertexAi(typing_extensions.TypedDict, total=False): +class VertexAi(typing.TypedDict, total=False): datasets: _list[Dataset] pipelines: _list[Pipeline] @typing.type_check_only -class VirtualMachineThreatDetectionSettings(typing_extensions.TypedDict, total=False): +class VirtualMachineThreatDetectionSettings(typing.TypedDict, total=False): modules: dict[str, typing.Any] name: str serviceAccount: str - serviceEnablementState: typing_extensions.Literal[ + serviceEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "INHERITED", "ENABLED", "DISABLED" ] updateTime: str @typing.type_check_only -class Vulnerability(typing_extensions.TypedDict, total=False): +class Vulnerability(typing.TypedDict, total=False): cve: Cve cwes: _list[Cwe] fixedPackage: Package @@ -3432,12 +3316,12 @@ class Vulnerability(typing_extensions.TypedDict, total=False): securityBulletin: SecurityBulletin @typing.type_check_only -class VulnerabilityCountBySeverity(typing_extensions.TypedDict, total=False): +class VulnerabilityCountBySeverity(typing.TypedDict, total=False): severityToFindingCount: dict[str, typing.Any] @typing.type_check_only -class VulnerabilitySnapshot(typing_extensions.TypedDict, total=False): - cloudProvider: typing_extensions.Literal[ +class VulnerabilitySnapshot(typing.TypedDict, total=False): + cloudProvider: typing.Literal[ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", @@ -3448,14 +3332,14 @@ class VulnerabilitySnapshot(typing_extensions.TypedDict, total=False): snapshotTime: str @typing.type_check_only -class WebSecurityScannerSettings(typing_extensions.TypedDict, total=False): +class WebSecurityScannerSettings(typing.TypedDict, total=False): modules: dict[str, typing.Any] name: str - serviceEnablementState: typing_extensions.Literal[ + serviceEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "INHERITED", "ENABLED", "DISABLED" ] updateTime: str @typing.type_check_only -class YaraRuleSignature(typing_extensions.TypedDict, total=False): +class YaraRuleSignature(typing.TypedDict, total=False): yaraRule: str diff --git a/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi b/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi index 07f05d7cb..90acc4281 100644 --- a/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -202,18 +201,6 @@ class SecurityPostureResource(googleapiclient.discovery.Resource): previous_response: ListReportsResponse, ) -> ListReportsResponseHttpRequest | None: ... - def operations(self) -> OperationsResource: ... - def postureDeployments(self) -> PostureDeploymentsResource: ... - def postureTemplates(self) -> PostureTemplatesResource: ... - def postures(self) -> PosturesResource: ... - def reports(self) -> ReportsResource: ... - - def locations(self) -> LocationsResource: ... - - @typing.type_check_only - class ProjectsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class LocationsResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -232,6 +219,11 @@ class SecurityPostureResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + def postureDeployments(self) -> PostureDeploymentsResource: ... + def postureTemplates(self) -> PostureTemplatesResource: ... + def postures(self) -> PosturesResource: ... + def reports(self) -> ReportsResource: ... def locations(self) -> LocationsResource: ... @@ -248,7 +240,6 @@ class SecurityPostureResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def organizations(self) -> OrganizationsResource: ... - def projects(self) -> ProjectsResource: ... @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): diff --git a/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi b/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi index 9a83d02bb..ead7da41e 100644 --- a/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi @@ -1,82 +1,76 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AssetDetails(typing_extensions.TypedDict, total=False): +class AssetDetails(typing.TypedDict, total=False): asset: str assetType: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ComplianceStandard(typing_extensions.TypedDict, total=False): +class ComplianceStandard(typing.TypedDict, total=False): control: str standard: str @typing.type_check_only -class Constraint(typing_extensions.TypedDict, total=False): +class Constraint(typing.TypedDict, total=False): orgPolicyConstraint: OrgPolicyConstraint orgPolicyConstraintCustom: OrgPolicyConstraintCustom securityHealthAnalyticsCustomModule: SecurityHealthAnalyticsCustomModule securityHealthAnalyticsModule: SecurityHealthAnalyticsModule @typing.type_check_only -class CreateIaCValidationReportRequest(typing_extensions.TypedDict, total=False): +class CreateIaCValidationReportRequest(typing.TypedDict, total=False): iac: IaC @typing.type_check_only -class CustomConfig(typing_extensions.TypedDict, total=False): +class CustomConfig(typing.TypedDict, total=False): customOutput: CustomOutputSpec description: str predicate: Expr recommendation: str resourceSelector: ResourceSelector - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] @typing.type_check_only -class CustomOutputSpec(typing_extensions.TypedDict, total=False): +class CustomOutputSpec(typing.TypedDict, total=False): properties: _list[Property] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExtractPostureRequest(typing_extensions.TypedDict, total=False): +class ExtractPostureRequest(typing.TypedDict, total=False): postureId: str workload: str @typing.type_check_only -class GoogleCloudSecuritypostureV1CustomConstraint( - typing_extensions.TypedDict, total=False -): - actionType: typing_extensions.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] +class GoogleCloudSecuritypostureV1CustomConstraint(typing.TypedDict, total=False): + actionType: typing.Literal["ACTION_TYPE_UNSPECIFIED", "ALLOW", "DENY"] condition: str description: str displayName: str methodTypes: _list[ - typing_extensions.Literal[ - "METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" - ] + typing.Literal["METHOD_TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE"] ] name: str resourceTypes: _list[str] updateTime: str @typing.type_check_only -class GoogleCloudSecuritypostureV1PolicyRule(typing_extensions.TypedDict, total=False): +class GoogleCloudSecuritypostureV1PolicyRule(typing.TypedDict, total=False): allowAll: bool condition: Expr denyAll: bool @@ -86,62 +80,60 @@ class GoogleCloudSecuritypostureV1PolicyRule(typing_extensions.TypedDict, total= values: GoogleCloudSecuritypostureV1PolicyRuleStringValues @typing.type_check_only -class GoogleCloudSecuritypostureV1PolicyRuleStringValues( - typing_extensions.TypedDict, total=False -): +class GoogleCloudSecuritypostureV1PolicyRuleStringValues(typing.TypedDict, total=False): allowedValues: _list[str] deniedValues: _list[str] @typing.type_check_only -class IaC(typing_extensions.TypedDict, total=False): +class IaC(typing.TypedDict, total=False): tfPlan: str @typing.type_check_only -class IaCValidationReport(typing_extensions.TypedDict, total=False): +class IaCValidationReport(typing.TypedDict, total=False): note: str violations: _list[Violation] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPostureDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListPostureDeploymentsResponse(typing.TypedDict, total=False): nextPageToken: str postureDeployments: _list[PostureDeployment] unreachable: _list[str] @typing.type_check_only -class ListPostureRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListPostureRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str revisions: _list[Posture] @typing.type_check_only -class ListPostureTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListPostureTemplatesResponse(typing.TypedDict, total=False): nextPageToken: str postureTemplates: _list[PostureTemplate] @typing.type_check_only -class ListPosturesResponse(typing_extensions.TypedDict, total=False): +class ListPosturesResponse(typing.TypedDict, total=False): nextPageToken: str postures: _list[Posture] unreachable: _list[str] @typing.type_check_only -class ListReportsResponse(typing_extensions.TypedDict, total=False): +class ListReportsResponse(typing.TypedDict, total=False): nextPageToken: str reports: _list[Report] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -149,7 +141,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -157,7 +149,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -168,27 +160,27 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OrgPolicyConstraint(typing_extensions.TypedDict, total=False): +class OrgPolicyConstraint(typing.TypedDict, total=False): cannedConstraintId: str policyRules: _list[GoogleCloudSecuritypostureV1PolicyRule] @typing.type_check_only -class OrgPolicyConstraintCustom(typing_extensions.TypedDict, total=False): +class OrgPolicyConstraintCustom(typing.TypedDict, total=False): customConstraint: GoogleCloudSecuritypostureV1CustomConstraint policyRules: _list[GoogleCloudSecuritypostureV1PolicyRule] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): complianceStandards: _list[ComplianceStandard] constraint: Constraint description: str policyId: str @typing.type_check_only -class PolicyDetails(typing_extensions.TypedDict, total=False): +class PolicyDetails(typing.TypedDict, total=False): complianceStandards: _list[str] constraint: str - constraintType: typing_extensions.Literal[ + constraintType: typing.Literal[ "CONSTRAINT_TYPE_UNSPECIFIED", "SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE", "ORG_POLICY_CUSTOM", @@ -199,16 +191,16 @@ class PolicyDetails(typing_extensions.TypedDict, total=False): description: str @typing.type_check_only -class PolicySet(typing_extensions.TypedDict, total=False): +class PolicySet(typing.TypedDict, total=False): description: str policies: _list[Policy] policySetId: str @typing.type_check_only -class Posture(typing_extensions.TypedDict, total=False): +class Posture(typing.TypedDict, total=False): annotations: dict[str, typing.Any] categories: _list[ - typing_extensions.Literal["CATEGORY_UNSPECIFIED", "AI", "AWS", "GCP", "AZURE"] + typing.Literal["CATEGORY_UNSPECIFIED", "AI", "AWS", "GCP", "AZURE"] ] createTime: str description: str @@ -217,16 +209,14 @@ class Posture(typing_extensions.TypedDict, total=False): policySets: _list[PolicySet] reconciling: bool revisionId: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "DEPRECATED", "DRAFT", "ACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "DEPRECATED", "DRAFT", "ACTIVE"] updateTime: str @typing.type_check_only -class PostureDeployment(typing_extensions.TypedDict, total=False): +class PostureDeployment(typing.TypedDict, total=False): annotations: dict[str, typing.Any] categories: _list[ - typing_extensions.Literal["CATEGORY_UNSPECIFIED", "AI", "AWS", "GCP", "AZURE"] + typing.Literal["CATEGORY_UNSPECIFIED", "AI", "AWS", "GCP", "AZURE"] ] createTime: str description: str @@ -238,7 +228,7 @@ class PostureDeployment(typing_extensions.TypedDict, total=False): postureId: str postureRevisionId: str reconciling: bool - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "DELETING", @@ -252,7 +242,7 @@ class PostureDeployment(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class PostureDetails(typing_extensions.TypedDict, total=False): +class PostureDetails(typing.TypedDict, total=False): policySet: str posture: str postureDeployment: str @@ -260,64 +250,64 @@ class PostureDetails(typing_extensions.TypedDict, total=False): postureRevisionId: str @typing.type_check_only -class PostureTemplate(typing_extensions.TypedDict, total=False): +class PostureTemplate(typing.TypedDict, total=False): categories: _list[ - typing_extensions.Literal["CATEGORY_UNSPECIFIED", "AI", "AWS", "GCP", "AZURE"] + typing.Literal["CATEGORY_UNSPECIFIED", "AI", "AWS", "GCP", "AZURE"] ] description: str name: str policySets: _list[PolicySet] revisionId: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED"] @typing.type_check_only -class Property(typing_extensions.TypedDict, total=False): +class Property(typing.TypedDict, total=False): name: str valueExpression: Expr @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): createTime: str iacValidationReport: IaCValidationReport name: str updateTime: str @typing.type_check_only -class ResourceSelector(typing_extensions.TypedDict, total=False): +class ResourceSelector(typing.TypedDict, total=False): resourceTypes: _list[str] @typing.type_check_only -class ResourceTypes(typing_extensions.TypedDict, total=False): +class ResourceTypes(typing.TypedDict, total=False): included: _list[str] @typing.type_check_only -class SecurityHealthAnalyticsCustomModule(typing_extensions.TypedDict, total=False): +class SecurityHealthAnalyticsCustomModule(typing.TypedDict, total=False): config: CustomConfig displayName: str id: str - moduleEnablementState: typing_extensions.Literal[ + moduleEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] @typing.type_check_only -class SecurityHealthAnalyticsModule(typing_extensions.TypedDict, total=False): - moduleEnablementState: typing_extensions.Literal[ +class SecurityHealthAnalyticsModule(typing.TypedDict, total=False): + moduleEnablementState: typing.Literal[ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] moduleName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Violation(typing_extensions.TypedDict, total=False): +class Violation(typing.TypedDict, total=False): assetId: str nextSteps: str policyId: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] violatedAsset: AssetDetails diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi index 6da841ce1..ed2724cbf 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi index 52c7ab684..222f6fd8e 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi @@ -1,51 +1,47 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddTenantProjectRequest(typing_extensions.TypedDict, total=False): +class AddTenantProjectRequest(typing.TypedDict, total=False): projectConfig: TenantProjectConfig tag: str @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): edition: str methods: _list[Method] mixins: _list[Mixin] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] version: str @typing.type_check_only -class ApplyTenantProjectConfigRequest(typing_extensions.TypedDict, total=False): +class ApplyTenantProjectConfigRequest(typing.TypedDict, total=False): projectConfig: TenantProjectConfig tag: str @typing.type_check_only -class Aspect(typing_extensions.TypedDict, total=False): +class Aspect(typing.TypedDict, total=False): kind: str rules: _list[AspectRule] spec: dict[str, typing.Any] @typing.type_check_only -class AspectRule(typing_extensions.TypedDict, total=False): +class AspectRule(typing.TypedDict, total=False): config: dict[str, typing.Any] selector: str @typing.type_check_only -class AttachTenantProjectRequest(typing_extensions.TypedDict, total=False): +class AttachTenantProjectRequest(typing.TypedDict, total=False): externalResource: str reservedResource: str tag: str @typing.type_check_only -class AuthProvider(typing_extensions.TypedDict, total=False): +class AuthProvider(typing.TypedDict, total=False): audiences: str authorizationUrl: str id: str @@ -54,28 +50,28 @@ class AuthProvider(typing_extensions.TypedDict, total=False): jwtLocations: _list[JwtLocation] @typing.type_check_only -class AuthRequirement(typing_extensions.TypedDict, total=False): +class AuthRequirement(typing.TypedDict, total=False): audiences: str providerId: str @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): providers: _list[AuthProvider] rules: _list[AuthenticationRule] @typing.type_check_only -class AuthenticationRule(typing_extensions.TypedDict, total=False): +class AuthenticationRule(typing.TypedDict, total=False): allowWithoutCredential: bool oauth: OAuthRequirements requirements: _list[AuthRequirement] selector: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): rules: _list[BackendRule] @typing.type_check_only -class BackendRule(typing_extensions.TypedDict, total=False): +class BackendRule(typing.TypedDict, total=False): address: str deadline: float disableAuth: bool @@ -84,59 +80,59 @@ class BackendRule(typing_extensions.TypedDict, total=False): minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] - pathTranslation: typing_extensions.Literal[ + pathTranslation: typing.Literal[ "PATH_TRANSLATION_UNSPECIFIED", "CONSTANT_ADDRESS", "APPEND_PATH_TO_ADDRESS" ] protocol: str selector: str @typing.type_check_only -class BatchingConfigProto(typing_extensions.TypedDict, total=False): +class BatchingConfigProto(typing.TypedDict, total=False): batchDescriptor: BatchingDescriptorProto thresholds: BatchingSettingsProto @typing.type_check_only -class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): +class BatchingDescriptorProto(typing.TypedDict, total=False): batchedField: str discriminatorFields: _list[str] subresponseField: str @typing.type_check_only -class BatchingSettingsProto(typing_extensions.TypedDict, total=False): +class BatchingSettingsProto(typing.TypedDict, total=False): delayThreshold: str elementCountLimit: int elementCountThreshold: int flowControlByteLimit: int flowControlElementLimit: int - flowControlLimitExceededBehavior: typing_extensions.Literal[ + flowControlLimitExceededBehavior: typing.Literal[ "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" ] requestByteLimit: int requestByteThreshold: str @typing.type_check_only -class Billing(typing_extensions.TypedDict, total=False): +class Billing(typing.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @typing.type_check_only -class BillingConfig(typing_extensions.TypedDict, total=False): +class BillingConfig(typing.TypedDict, total=False): billingAccount: str @typing.type_check_only -class BillingDestination(typing_extensions.TypedDict, total=False): +class BillingDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientLibrarySettings(typing_extensions.TypedDict, total=False): +class ClientLibrarySettings(typing.TypedDict, total=False): cppSettings: CppSettings dotnetSettings: DotnetSettings goSettings: GoSettings javaSettings: JavaSettings - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -154,9 +150,9 @@ class ClientLibrarySettings(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CommonLanguageSettings(typing_extensions.TypedDict, total=False): +class CommonLanguageSettings(typing.TypedDict, total=False): destinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", "GITHUB", "PACKAGE_MANAGER" ] ] @@ -164,11 +160,11 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): rules: _list[ContextRule] @typing.type_check_only -class ContextRule(typing_extensions.TypedDict, total=False): +class ContextRule(typing.TypedDict, total=False): allowedRequestExtensions: _list[str] allowedResponseExtensions: _list[str] provided: _list[str] @@ -176,39 +172,39 @@ class ContextRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): environment: str methodPolicies: _list[MethodPolicy] @typing.type_check_only -class CppSettings(typing_extensions.TypedDict, total=False): +class CppSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class CreateTenancyUnitRequest(typing_extensions.TypedDict, total=False): +class CreateTenancyUnitRequest(typing.TypedDict, total=False): tenancyUnitId: str @typing.type_check_only -class CustomError(typing_extensions.TypedDict, total=False): +class CustomError(typing.TypedDict, total=False): rules: _list[CustomErrorRule] types: _list[str] @typing.type_check_only -class CustomErrorRule(typing_extensions.TypedDict, total=False): +class CustomErrorRule(typing.TypedDict, total=False): isErrorType: bool selector: str @typing.type_check_only -class CustomHttpPattern(typing_extensions.TypedDict, total=False): +class CustomHttpPattern(typing.TypedDict, total=False): kind: str path: str @typing.type_check_only -class DeleteTenantProjectRequest(typing_extensions.TypedDict, total=False): +class DeleteTenantProjectRequest(typing.TypedDict, total=False): tag: str @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): additionalIamInfo: str documentationRootUrl: str overview: str @@ -219,14 +215,14 @@ class Documentation(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class DocumentationRule(typing_extensions.TypedDict, total=False): +class DocumentationRule(typing.TypedDict, total=False): deprecationDescription: str description: str disableReplacementWords: str selector: str @typing.type_check_only -class DotnetSettings(typing_extensions.TypedDict, total=False): +class DotnetSettings(typing.TypedDict, total=False): common: CommonLanguageSettings forcedNamespaceAliases: _list[str] handwrittenSignatures: _list[str] @@ -235,41 +231,39 @@ class DotnetSettings(typing_extensions.TypedDict, total=False): renamedServices: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): aliases: _list[str] allowCors: bool name: str target: str @typing.type_check_only -class Enum(typing_extensions.TypedDict, total=False): +class Enum(typing.TypedDict, total=False): edition: str enumvalue: _list[EnumValue] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class EnumValue(typing_extensions.TypedDict, total=False): +class EnumValue(typing.TypedDict, total=False): name: str number: int options: _list[Option] @typing.type_check_only -class ExperimentalFeatures(typing_extensions.TypedDict, total=False): +class ExperimentalFeatures(typing.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool unversionedPackageDisabled: bool @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -277,7 +271,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -306,23 +300,23 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FieldPolicy(typing_extensions.TypedDict, total=False): +class FieldPolicy(typing.TypedDict, total=False): resourcePermission: str resourceType: str selector: str @typing.type_check_only -class GoSettings(typing_extensions.TypedDict, total=False): +class GoSettings(typing.TypedDict, total=False): common: CommonLanguageSettings renamedServices: dict[str, typing.Any] @typing.type_check_only -class Http(typing_extensions.TypedDict, total=False): +class Http(typing.TypedDict, total=False): fullyDecodeReservedExpansion: bool rules: _list[HttpRule] @typing.type_check_only -class HttpRule(typing_extensions.TypedDict, total=False): +class HttpRule(typing.TypedDict, total=False): additionalBindings: _list[HttpRule] body: str custom: CustomHttpPattern @@ -335,61 +329,61 @@ class HttpRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class JavaSettings(typing_extensions.TypedDict, total=False): +class JavaSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str serviceClassNames: dict[str, typing.Any] @typing.type_check_only -class JwtLocation(typing_extensions.TypedDict, total=False): +class JwtLocation(typing.TypedDict, total=False): cookie: str header: str query: str valuePrefix: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTenancyUnitsResponse(typing_extensions.TypedDict, total=False): +class ListTenancyUnitsResponse(typing.TypedDict, total=False): nextPageToken: str tenancyUnits: _list[TenancyUnit] @typing.type_check_only -class LogDescriptor(typing_extensions.TypedDict, total=False): +class LogDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] name: str @typing.type_check_only -class Logging(typing_extensions.TypedDict, total=False): +class Logging(typing.TypedDict, total=False): consumerDestinations: _list[LoggingDestination] producerDestinations: _list[LoggingDestination] @typing.type_check_only -class LoggingDestination(typing_extensions.TypedDict, total=False): +class LoggingDestination(typing.TypedDict, total=False): logs: _list[str] monitoredResource: str @typing.type_check_only -class LongRunning(typing_extensions.TypedDict, total=False): +class LongRunning(typing.TypedDict, total=False): initialPollDelay: str maxPollDelay: str pollDelayMultiplier: float totalPollTimeout: str @typing.type_check_only -class Method(typing_extensions.TypedDict, total=False): +class Method(typing.TypedDict, total=False): edition: str name: str options: _list[Option] @@ -397,28 +391,26 @@ class Method(typing_extensions.TypedDict, total=False): requestTypeUrl: str responseStreaming: bool responseTypeUrl: str - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class MethodPolicy(typing_extensions.TypedDict, total=False): +class MethodPolicy(typing.TypedDict, total=False): requestPolicies: _list[FieldPolicy] selector: str @typing.type_check_only -class MethodSettings(typing_extensions.TypedDict, total=False): +class MethodSettings(typing.TypedDict, total=False): autoPopulatedFields: _list[str] batching: BatchingConfigProto longRunning: LongRunning selector: str @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -429,14 +421,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -447,9 +439,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -461,7 +453,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -470,21 +462,23 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRule(typing_extensions.TypedDict, total=False): +class MetricRule(typing.TypedDict, total=False): + agenticMetricCosts: dict[str, typing.Any] metricCosts: dict[str, typing.Any] + nonagenticMetricCosts: dict[str, typing.Any] selector: str @typing.type_check_only -class Mixin(typing_extensions.TypedDict, total=False): +class Mixin(typing.TypedDict, total=False): name: str root: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -498,25 +492,25 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Monitoring(typing_extensions.TypedDict, total=False): +class Monitoring(typing.TypedDict, total=False): consumerDestinations: _list[MonitoringDestination] producerDestinations: _list[MonitoringDestination] @typing.type_check_only -class MonitoringDestination(typing_extensions.TypedDict, total=False): +class MonitoringDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class NodeSettings(typing_extensions.TypedDict, total=False): +class NodeSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class OAuthRequirements(typing_extensions.TypedDict, total=False): +class OAuthRequirements(typing.TypedDict, total=False): canonicalScopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -524,28 +518,28 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): content: str name: str subpages: _list[Page] @typing.type_check_only -class PhpSettings(typing_extensions.TypedDict, total=False): +class PhpSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str @typing.type_check_only -class PolicyBinding(typing_extensions.TypedDict, total=False): +class PolicyBinding(typing.TypedDict, total=False): members: _list[str] role: str @typing.type_check_only -class Publishing(typing_extensions.TypedDict, total=False): +class Publishing(typing.TypedDict, total=False): apiShortName: str codeownerGithubTeams: _list[str] docTagPrefix: str @@ -554,7 +548,7 @@ class Publishing(typing_extensions.TypedDict, total=False): librarySettings: _list[ClientLibrarySettings] methodSettings: _list[MethodSettings] newIssueUri: str - organization: typing_extensions.Literal[ + organization: typing.Literal[ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", "CLOUD", "ADS", @@ -569,17 +563,17 @@ class Publishing(typing_extensions.TypedDict, total=False): restReferenceDocumentationUri: str @typing.type_check_only -class PythonSettings(typing_extensions.TypedDict, total=False): +class PythonSettings(typing.TypedDict, total=False): common: CommonLanguageSettings experimentalFeatures: ExperimentalFeatures @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limits: _list[QuotaLimit] metricRules: _list[MetricRule] @typing.type_check_only -class QuotaLimit(typing_extensions.TypedDict, total=False): +class QuotaLimit(typing.TypedDict, total=False): defaultLimit: str description: str displayName: str @@ -588,29 +582,34 @@ class QuotaLimit(typing_extensions.TypedDict, total=False): maxLimit: str metric: str name: str + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str values: dict[str, typing.Any] @typing.type_check_only -class RemoveTenantProjectRequest(typing_extensions.TypedDict, total=False): +class RemoveTenantProjectRequest(typing.TypedDict, total=False): tag: str @typing.type_check_only -class RubySettings(typing_extensions.TypedDict, total=False): +class RubySettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class SearchTenancyUnitsResponse(typing_extensions.TypedDict, total=False): +class SearchTenancyUnitsResponse(typing.TypedDict, total=False): nextPageToken: str tenancyUnits: _list[TenancyUnit] @typing.type_check_only -class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): +class SelectiveGapicGeneration(typing.TypedDict, total=False): generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): apis: _list[Api] aspects: _list[Aspect] authentication: Authentication @@ -642,41 +641,41 @@ class Service(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class ServiceAccountConfig(typing_extensions.TypedDict, total=False): +class ServiceAccountConfig(typing.TypedDict, total=False): accountId: str tenantProjectRoles: _list[str] @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SourceInfo(typing_extensions.TypedDict, total=False): +class SourceInfo(typing.TypedDict, total=False): sourceFiles: _list[dict[str, typing.Any]] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SystemParameter(typing_extensions.TypedDict, total=False): +class SystemParameter(typing.TypedDict, total=False): httpHeader: str name: str urlQueryParameter: str @typing.type_check_only -class SystemParameterRule(typing_extensions.TypedDict, total=False): +class SystemParameterRule(typing.TypedDict, total=False): parameters: _list[SystemParameter] selector: str @typing.type_check_only -class SystemParameters(typing_extensions.TypedDict, total=False): +class SystemParameters(typing.TypedDict, total=False): rules: _list[SystemParameterRule] @typing.type_check_only -class TenancyUnit(typing_extensions.TypedDict, total=False): +class TenancyUnit(typing.TypedDict, total=False): consumer: str createTime: str name: str @@ -684,7 +683,7 @@ class TenancyUnit(typing_extensions.TypedDict, total=False): tenantResources: _list[TenantResource] @typing.type_check_only -class TenantProjectConfig(typing_extensions.TypedDict, total=False): +class TenantProjectConfig(typing.TypedDict, total=False): billingConfig: BillingConfig folder: str labels: dict[str, typing.Any] @@ -693,14 +692,15 @@ class TenantProjectConfig(typing_extensions.TypedDict, total=False): tenantProjectPolicy: TenantProjectPolicy @typing.type_check_only -class TenantProjectPolicy(typing_extensions.TypedDict, total=False): +class TenantProjectPolicy(typing.TypedDict, total=False): policyBindings: _list[PolicyBinding] @typing.type_check_only -class TenantResource(typing_extensions.TypedDict, total=False): +class TenantResource(typing.TypedDict, total=False): migratedTenantProject: str resource: str - status: typing_extensions.Literal[ + sourceTenantProject: str + status: typing.Literal[ "STATUS_UNSPECIFIED", "PENDING_CREATE", "ACTIVE", @@ -711,65 +711,59 @@ class TenantResource(typing_extensions.TypedDict, total=False): tag: str @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class UndeleteTenantProjectRequest(typing_extensions.TypedDict, total=False): +class UndeleteTenantProjectRequest(typing.TypedDict, total=False): tag: str @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): producerNotificationChannel: str requirements: _list[str] rules: _list[UsageRule] @typing.type_check_only -class UsageRule(typing_extensions.TypedDict, total=False): +class UsageRule(typing.TypedDict, total=False): allowUnregisteredCalls: bool selector: str skipServiceControl: bool @typing.type_check_only -class V1AddVisibilityLabelsResponse(typing_extensions.TypedDict, total=False): +class V1AddVisibilityLabelsResponse(typing.TypedDict, total=False): labels: _list[str] @typing.type_check_only -class V1Beta1BatchCreateProducerOverridesResponse( - typing_extensions.TypedDict, total=False -): +class V1Beta1BatchCreateProducerOverridesResponse(typing.TypedDict, total=False): overrides: _list[V1Beta1QuotaOverride] @typing.type_check_only -class V1Beta1DisableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1Beta1DisableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1Beta1EnableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1Beta1EnableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1Beta1GenerateServiceIdentityResponse(typing_extensions.TypedDict, total=False): +class V1Beta1GenerateServiceIdentityResponse(typing.TypedDict, total=False): identity: V1Beta1ServiceIdentity @typing.type_check_only -class V1Beta1ImportProducerOverridesResponse(typing_extensions.TypedDict, total=False): +class V1Beta1ImportProducerOverridesResponse(typing.TypedDict, total=False): overrides: _list[V1Beta1QuotaOverride] @typing.type_check_only -class V1Beta1ImportProducerQuotaPoliciesResponse( - typing_extensions.TypedDict, total=False -): +class V1Beta1ImportProducerQuotaPoliciesResponse(typing.TypedDict, total=False): policies: _list[V1Beta1ProducerQuotaPolicy] @typing.type_check_only -class V1Beta1ProducerQuotaPolicy(typing_extensions.TypedDict, total=False): +class V1Beta1ProducerQuotaPolicy(typing.TypedDict, total=False): container: str dimensions: dict[str, typing.Any] metric: str @@ -778,7 +772,7 @@ class V1Beta1ProducerQuotaPolicy(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class V1Beta1QuotaOverride(typing_extensions.TypedDict, total=False): +class V1Beta1QuotaOverride(typing.TypedDict, total=False): adminOverrideAncestor: str dimensions: dict[str, typing.Any] metric: str @@ -787,10 +781,10 @@ class V1Beta1QuotaOverride(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class V1Beta1RefreshConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1Beta1RefreshConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1Beta1ServiceIdentity(typing_extensions.TypedDict, total=False): +class V1Beta1ServiceIdentity(typing.TypedDict, total=False): email: str name: str projectRole: str @@ -798,21 +792,21 @@ class V1Beta1ServiceIdentity(typing_extensions.TypedDict, total=False): uniqueId: str @typing.type_check_only -class V1DefaultIdentity(typing_extensions.TypedDict, total=False): +class V1DefaultIdentity(typing.TypedDict, total=False): email: str name: str tag: str uniqueId: str @typing.type_check_only -class V1DisableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1DisableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1EnableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1EnableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1GenerateDefaultIdentityResponse(typing_extensions.TypedDict, total=False): - attachStatus: typing_extensions.Literal[ +class V1GenerateDefaultIdentityResponse(typing.TypedDict, total=False): + attachStatus: typing.Literal[ "ATTACH_STATUS_UNSPECIFIED", "ATTACHED", "ATTACH_SKIPPED", @@ -823,18 +817,18 @@ class V1GenerateDefaultIdentityResponse(typing_extensions.TypedDict, total=False role: str @typing.type_check_only -class V1GenerateServiceAccountResponse(typing_extensions.TypedDict, total=False): +class V1GenerateServiceAccountResponse(typing.TypedDict, total=False): account: V1ServiceAccount @typing.type_check_only -class V1RefreshConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1RefreshConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1RemoveVisibilityLabelsResponse(typing_extensions.TypedDict, total=False): +class V1RemoveVisibilityLabelsResponse(typing.TypedDict, total=False): labels: _list[str] @typing.type_check_only -class V1ServiceAccount(typing_extensions.TypedDict, total=False): +class V1ServiceAccount(typing.TypedDict, total=False): email: str iamAccountName: str name: str diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/resources.pyi index 2133452cf..3bd5f8178 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -32,13 +31,13 @@ class ServiceConsumerManagementResource(googleapiclient.discovery.Resource): body: V1Beta1QuotaOverride, force: bool | None = ..., forceJustification: str | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -53,13 +52,13 @@ class ServiceConsumerManagementResource(googleapiclient.discovery.Resource): name: str, force: bool | None = ..., forceJustification: str | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -88,13 +87,13 @@ class ServiceConsumerManagementResource(googleapiclient.discovery.Resource): body: V1Beta1QuotaOverride, force: bool | None = ..., forceJustification: str | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -155,9 +154,7 @@ class ServiceConsumerManagementResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> V1Beta1ConsumerQuotaLimitHttpRequest: ... @@ -168,9 +165,7 @@ class ServiceConsumerManagementResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> V1Beta1ConsumerQuotaMetricHttpRequest: ... @@ -194,9 +189,7 @@ class ServiceConsumerManagementResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> V1Beta1ListConsumerQuotaMetricsResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi index 414a92195..fabc321cd 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi @@ -1,35 +1,31 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): edition: str methods: _list[Method] mixins: _list[Mixin] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] version: str @typing.type_check_only -class Aspect(typing_extensions.TypedDict, total=False): +class Aspect(typing.TypedDict, total=False): kind: str rules: _list[AspectRule] spec: dict[str, typing.Any] @typing.type_check_only -class AspectRule(typing_extensions.TypedDict, total=False): +class AspectRule(typing.TypedDict, total=False): config: dict[str, typing.Any] selector: str @typing.type_check_only -class AuthProvider(typing_extensions.TypedDict, total=False): +class AuthProvider(typing.TypedDict, total=False): audiences: str authorizationUrl: str id: str @@ -38,28 +34,28 @@ class AuthProvider(typing_extensions.TypedDict, total=False): jwtLocations: _list[JwtLocation] @typing.type_check_only -class AuthRequirement(typing_extensions.TypedDict, total=False): +class AuthRequirement(typing.TypedDict, total=False): audiences: str providerId: str @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): providers: _list[AuthProvider] rules: _list[AuthenticationRule] @typing.type_check_only -class AuthenticationRule(typing_extensions.TypedDict, total=False): +class AuthenticationRule(typing.TypedDict, total=False): allowWithoutCredential: bool oauth: OAuthRequirements requirements: _list[AuthRequirement] selector: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): rules: _list[BackendRule] @typing.type_check_only -class BackendRule(typing_extensions.TypedDict, total=False): +class BackendRule(typing.TypedDict, total=False): address: str deadline: float disableAuth: bool @@ -68,52 +64,52 @@ class BackendRule(typing_extensions.TypedDict, total=False): minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] - pathTranslation: typing_extensions.Literal[ + pathTranslation: typing.Literal[ "PATH_TRANSLATION_UNSPECIFIED", "CONSTANT_ADDRESS", "APPEND_PATH_TO_ADDRESS" ] protocol: str selector: str @typing.type_check_only -class BatchingConfigProto(typing_extensions.TypedDict, total=False): +class BatchingConfigProto(typing.TypedDict, total=False): batchDescriptor: BatchingDescriptorProto thresholds: BatchingSettingsProto @typing.type_check_only -class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): +class BatchingDescriptorProto(typing.TypedDict, total=False): batchedField: str discriminatorFields: _list[str] subresponseField: str @typing.type_check_only -class BatchingSettingsProto(typing_extensions.TypedDict, total=False): +class BatchingSettingsProto(typing.TypedDict, total=False): delayThreshold: str elementCountLimit: int elementCountThreshold: int flowControlByteLimit: int flowControlElementLimit: int - flowControlLimitExceededBehavior: typing_extensions.Literal[ + flowControlLimitExceededBehavior: typing.Literal[ "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" ] requestByteLimit: int requestByteThreshold: str @typing.type_check_only -class Billing(typing_extensions.TypedDict, total=False): +class Billing(typing.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @typing.type_check_only -class BillingDestination(typing_extensions.TypedDict, total=False): +class BillingDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class ClientLibrarySettings(typing_extensions.TypedDict, total=False): +class ClientLibrarySettings(typing.TypedDict, total=False): cppSettings: CppSettings dotnetSettings: DotnetSettings goSettings: GoSettings javaSettings: JavaSettings - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -131,9 +127,9 @@ class ClientLibrarySettings(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CommonLanguageSettings(typing_extensions.TypedDict, total=False): +class CommonLanguageSettings(typing.TypedDict, total=False): destinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", "GITHUB", "PACKAGE_MANAGER" ] ] @@ -141,11 +137,11 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): rules: _list[ContextRule] @typing.type_check_only -class ContextRule(typing_extensions.TypedDict, total=False): +class ContextRule(typing.TypedDict, total=False): allowedRequestExtensions: _list[str] allowedResponseExtensions: _list[str] provided: _list[str] @@ -153,31 +149,31 @@ class ContextRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): environment: str methodPolicies: _list[MethodPolicy] @typing.type_check_only -class CppSettings(typing_extensions.TypedDict, total=False): +class CppSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class CustomError(typing_extensions.TypedDict, total=False): +class CustomError(typing.TypedDict, total=False): rules: _list[CustomErrorRule] types: _list[str] @typing.type_check_only -class CustomErrorRule(typing_extensions.TypedDict, total=False): +class CustomErrorRule(typing.TypedDict, total=False): isErrorType: bool selector: str @typing.type_check_only -class CustomHttpPattern(typing_extensions.TypedDict, total=False): +class CustomHttpPattern(typing.TypedDict, total=False): kind: str path: str @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): additionalIamInfo: str documentationRootUrl: str overview: str @@ -188,14 +184,14 @@ class Documentation(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class DocumentationRule(typing_extensions.TypedDict, total=False): +class DocumentationRule(typing.TypedDict, total=False): deprecationDescription: str description: str disableReplacementWords: str selector: str @typing.type_check_only -class DotnetSettings(typing_extensions.TypedDict, total=False): +class DotnetSettings(typing.TypedDict, total=False): common: CommonLanguageSettings forcedNamespaceAliases: _list[str] handwrittenSignatures: _list[str] @@ -204,41 +200,39 @@ class DotnetSettings(typing_extensions.TypedDict, total=False): renamedServices: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): aliases: _list[str] allowCors: bool name: str target: str @typing.type_check_only -class Enum(typing_extensions.TypedDict, total=False): +class Enum(typing.TypedDict, total=False): edition: str enumvalue: _list[EnumValue] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class EnumValue(typing_extensions.TypedDict, total=False): +class EnumValue(typing.TypedDict, total=False): name: str number: int options: _list[Option] @typing.type_check_only -class ExperimentalFeatures(typing_extensions.TypedDict, total=False): +class ExperimentalFeatures(typing.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool unversionedPackageDisabled: bool @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -246,7 +240,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -275,23 +269,23 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FieldPolicy(typing_extensions.TypedDict, total=False): +class FieldPolicy(typing.TypedDict, total=False): resourcePermission: str resourceType: str selector: str @typing.type_check_only -class GoSettings(typing_extensions.TypedDict, total=False): +class GoSettings(typing.TypedDict, total=False): common: CommonLanguageSettings renamedServices: dict[str, typing.Any] @typing.type_check_only -class Http(typing_extensions.TypedDict, total=False): +class Http(typing.TypedDict, total=False): fullyDecodeReservedExpansion: bool rules: _list[HttpRule] @typing.type_check_only -class HttpRule(typing_extensions.TypedDict, total=False): +class HttpRule(typing.TypedDict, total=False): additionalBindings: _list[HttpRule] body: str custom: CustomHttpPattern @@ -304,50 +298,50 @@ class HttpRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class JavaSettings(typing_extensions.TypedDict, total=False): +class JavaSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str serviceClassNames: dict[str, typing.Any] @typing.type_check_only -class JwtLocation(typing_extensions.TypedDict, total=False): +class JwtLocation(typing.TypedDict, total=False): cookie: str header: str query: str valuePrefix: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class LogDescriptor(typing_extensions.TypedDict, total=False): +class LogDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] name: str @typing.type_check_only -class Logging(typing_extensions.TypedDict, total=False): +class Logging(typing.TypedDict, total=False): consumerDestinations: _list[LoggingDestination] producerDestinations: _list[LoggingDestination] @typing.type_check_only -class LoggingDestination(typing_extensions.TypedDict, total=False): +class LoggingDestination(typing.TypedDict, total=False): logs: _list[str] monitoredResource: str @typing.type_check_only -class LongRunning(typing_extensions.TypedDict, total=False): +class LongRunning(typing.TypedDict, total=False): initialPollDelay: str maxPollDelay: str pollDelayMultiplier: float totalPollTimeout: str @typing.type_check_only -class Method(typing_extensions.TypedDict, total=False): +class Method(typing.TypedDict, total=False): edition: str name: str options: _list[Option] @@ -355,28 +349,26 @@ class Method(typing_extensions.TypedDict, total=False): requestTypeUrl: str responseStreaming: bool responseTypeUrl: str - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class MethodPolicy(typing_extensions.TypedDict, total=False): +class MethodPolicy(typing.TypedDict, total=False): requestPolicies: _list[FieldPolicy] selector: str @typing.type_check_only -class MethodSettings(typing_extensions.TypedDict, total=False): +class MethodSettings(typing.TypedDict, total=False): autoPopulatedFields: _list[str] batching: BatchingConfigProto longRunning: LongRunning selector: str @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -387,14 +379,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -405,9 +397,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -419,7 +411,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -428,21 +420,23 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRule(typing_extensions.TypedDict, total=False): +class MetricRule(typing.TypedDict, total=False): + agenticMetricCosts: dict[str, typing.Any] metricCosts: dict[str, typing.Any] + nonagenticMetricCosts: dict[str, typing.Any] selector: str @typing.type_check_only -class Mixin(typing_extensions.TypedDict, total=False): +class Mixin(typing.TypedDict, total=False): name: str root: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -456,25 +450,25 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Monitoring(typing_extensions.TypedDict, total=False): +class Monitoring(typing.TypedDict, total=False): consumerDestinations: _list[MonitoringDestination] producerDestinations: _list[MonitoringDestination] @typing.type_check_only -class MonitoringDestination(typing_extensions.TypedDict, total=False): +class MonitoringDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class NodeSettings(typing_extensions.TypedDict, total=False): +class NodeSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class OAuthRequirements(typing_extensions.TypedDict, total=False): +class OAuthRequirements(typing.TypedDict, total=False): canonicalScopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -482,23 +476,23 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): content: str name: str subpages: _list[Page] @typing.type_check_only -class PhpSettings(typing_extensions.TypedDict, total=False): +class PhpSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str @typing.type_check_only -class Publishing(typing_extensions.TypedDict, total=False): +class Publishing(typing.TypedDict, total=False): apiShortName: str codeownerGithubTeams: _list[str] docTagPrefix: str @@ -507,7 +501,7 @@ class Publishing(typing_extensions.TypedDict, total=False): librarySettings: _list[ClientLibrarySettings] methodSettings: _list[MethodSettings] newIssueUri: str - organization: typing_extensions.Literal[ + organization: typing.Literal[ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", "CLOUD", "ADS", @@ -522,17 +516,17 @@ class Publishing(typing_extensions.TypedDict, total=False): restReferenceDocumentationUri: str @typing.type_check_only -class PythonSettings(typing_extensions.TypedDict, total=False): +class PythonSettings(typing.TypedDict, total=False): common: CommonLanguageSettings experimentalFeatures: ExperimentalFeatures @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limits: _list[QuotaLimit] metricRules: _list[MetricRule] @typing.type_check_only -class QuotaLimit(typing_extensions.TypedDict, total=False): +class QuotaLimit(typing.TypedDict, total=False): defaultLimit: str description: str displayName: str @@ -541,20 +535,25 @@ class QuotaLimit(typing_extensions.TypedDict, total=False): maxLimit: str metric: str name: str + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str values: dict[str, typing.Any] @typing.type_check_only -class RubySettings(typing_extensions.TypedDict, total=False): +class RubySettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): +class SelectiveGapicGeneration(typing.TypedDict, total=False): generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): apis: _list[Api] aspects: _list[Aspect] authentication: Authentication @@ -586,66 +585,62 @@ class Service(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SourceInfo(typing_extensions.TypedDict, total=False): +class SourceInfo(typing.TypedDict, total=False): sourceFiles: _list[dict[str, typing.Any]] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SystemParameter(typing_extensions.TypedDict, total=False): +class SystemParameter(typing.TypedDict, total=False): httpHeader: str name: str urlQueryParameter: str @typing.type_check_only -class SystemParameterRule(typing_extensions.TypedDict, total=False): +class SystemParameterRule(typing.TypedDict, total=False): parameters: _list[SystemParameter] selector: str @typing.type_check_only -class SystemParameters(typing_extensions.TypedDict, total=False): +class SystemParameters(typing.TypedDict, total=False): rules: _list[SystemParameterRule] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): producerNotificationChannel: str requirements: _list[str] rules: _list[UsageRule] @typing.type_check_only -class UsageRule(typing_extensions.TypedDict, total=False): +class UsageRule(typing.TypedDict, total=False): allowUnregisteredCalls: bool selector: str skipServiceControl: bool @typing.type_check_only -class V1Beta1BatchCreateProducerOverridesResponse( - typing_extensions.TypedDict, total=False -): +class V1Beta1BatchCreateProducerOverridesResponse(typing.TypedDict, total=False): overrides: _list[V1Beta1QuotaOverride] @typing.type_check_only -class V1Beta1ConsumerQuotaLimit(typing_extensions.TypedDict, total=False): +class V1Beta1ConsumerQuotaLimit(typing.TypedDict, total=False): isPrecise: bool metric: str name: str @@ -654,7 +649,7 @@ class V1Beta1ConsumerQuotaLimit(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class V1Beta1ConsumerQuotaMetric(typing_extensions.TypedDict, total=False): +class V1Beta1ConsumerQuotaMetric(typing.TypedDict, total=False): consumerQuotaLimits: _list[V1Beta1ConsumerQuotaLimit] descendantConsumerQuotaLimits: _list[V1Beta1ConsumerQuotaLimit] displayName: str @@ -663,21 +658,21 @@ class V1Beta1ConsumerQuotaMetric(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class V1Beta1DisableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1Beta1DisableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1Beta1EnableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1Beta1EnableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1Beta1GenerateServiceIdentityResponse(typing_extensions.TypedDict, total=False): +class V1Beta1GenerateServiceIdentityResponse(typing.TypedDict, total=False): identity: V1Beta1ServiceIdentity @typing.type_check_only -class V1Beta1ImportProducerOverridesRequest(typing_extensions.TypedDict, total=False): +class V1Beta1ImportProducerOverridesRequest(typing.TypedDict, total=False): force: bool forceJustification: str forceOnly: _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -686,13 +681,11 @@ class V1Beta1ImportProducerOverridesRequest(typing_extensions.TypedDict, total=F inlineSource: V1Beta1OverrideInlineSource @typing.type_check_only -class V1Beta1ImportProducerOverridesResponse(typing_extensions.TypedDict, total=False): +class V1Beta1ImportProducerOverridesResponse(typing.TypedDict, total=False): overrides: _list[V1Beta1QuotaOverride] @typing.type_check_only -class V1Beta1ImportProducerQuotaPoliciesRequest( - typing_extensions.TypedDict, total=False -): +class V1Beta1ImportProducerQuotaPoliciesRequest(typing.TypedDict, total=False): force: bool forceJustification: str forceSkipQuotaUsageCheck: bool @@ -700,38 +693,34 @@ class V1Beta1ImportProducerQuotaPoliciesRequest( validateOnly: bool @typing.type_check_only -class V1Beta1ImportProducerQuotaPoliciesResponse( - typing_extensions.TypedDict, total=False -): +class V1Beta1ImportProducerQuotaPoliciesResponse(typing.TypedDict, total=False): policies: _list[V1Beta1ProducerQuotaPolicy] @typing.type_check_only -class V1Beta1ListConsumerQuotaMetricsResponse(typing_extensions.TypedDict, total=False): +class V1Beta1ListConsumerQuotaMetricsResponse(typing.TypedDict, total=False): metrics: _list[V1Beta1ConsumerQuotaMetric] nextPageToken: str @typing.type_check_only -class V1Beta1ListProducerOverridesResponse(typing_extensions.TypedDict, total=False): +class V1Beta1ListProducerOverridesResponse(typing.TypedDict, total=False): nextPageToken: str overrides: _list[V1Beta1QuotaOverride] @typing.type_check_only -class V1Beta1ListProducerQuotaPoliciesResponse( - typing_extensions.TypedDict, total=False -): +class V1Beta1ListProducerQuotaPoliciesResponse(typing.TypedDict, total=False): nextPageToken: str producerQuotaPolicies: _list[V1Beta1ProducerQuotaPolicy] @typing.type_check_only -class V1Beta1OverrideInlineSource(typing_extensions.TypedDict, total=False): +class V1Beta1OverrideInlineSource(typing.TypedDict, total=False): overrides: _list[V1Beta1QuotaOverride] @typing.type_check_only -class V1Beta1PolicyInlineSource(typing_extensions.TypedDict, total=False): +class V1Beta1PolicyInlineSource(typing.TypedDict, total=False): policies: _list[V1Beta1ProducerQuotaPolicy] @typing.type_check_only -class V1Beta1ProducerQuotaPolicy(typing_extensions.TypedDict, total=False): +class V1Beta1ProducerQuotaPolicy(typing.TypedDict, total=False): container: str dimensions: dict[str, typing.Any] metric: str @@ -740,7 +729,7 @@ class V1Beta1ProducerQuotaPolicy(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class V1Beta1QuotaBucket(typing_extensions.TypedDict, total=False): +class V1Beta1QuotaBucket(typing.TypedDict, total=False): adminOverride: V1Beta1QuotaOverride consumerOverride: V1Beta1QuotaOverride defaultLimit: str @@ -751,7 +740,7 @@ class V1Beta1QuotaBucket(typing_extensions.TypedDict, total=False): rolloutInfo: V1Beta1RolloutInfo @typing.type_check_only -class V1Beta1QuotaOverride(typing_extensions.TypedDict, total=False): +class V1Beta1QuotaOverride(typing.TypedDict, total=False): adminOverrideAncestor: str dimensions: dict[str, typing.Any] metric: str @@ -760,14 +749,14 @@ class V1Beta1QuotaOverride(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class V1Beta1RefreshConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1Beta1RefreshConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1Beta1RolloutInfo(typing_extensions.TypedDict, total=False): +class V1Beta1RolloutInfo(typing.TypedDict, total=False): defaultLimitOngoingRollout: bool @typing.type_check_only -class V1Beta1ServiceIdentity(typing_extensions.TypedDict, total=False): +class V1Beta1ServiceIdentity(typing.TypedDict, total=False): email: str name: str projectRole: str @@ -775,25 +764,25 @@ class V1Beta1ServiceIdentity(typing_extensions.TypedDict, total=False): uniqueId: str @typing.type_check_only -class V1beta1AddVisibilityLabelsResponse(typing_extensions.TypedDict, total=False): +class V1beta1AddVisibilityLabelsResponse(typing.TypedDict, total=False): labels: _list[str] @typing.type_check_only -class V1beta1DefaultIdentity(typing_extensions.TypedDict, total=False): +class V1beta1DefaultIdentity(typing.TypedDict, total=False): email: str name: str tag: str uniqueId: str @typing.type_check_only -class V1beta1DisableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1beta1DisableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1beta1EnableConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1beta1EnableConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1beta1GenerateDefaultIdentityResponse(typing_extensions.TypedDict, total=False): - attachStatus: typing_extensions.Literal[ +class V1beta1GenerateDefaultIdentityResponse(typing.TypedDict, total=False): + attachStatus: typing.Literal[ "ATTACH_STATUS_UNSPECIFIED", "ATTACHED", "ATTACH_SKIPPED", @@ -804,18 +793,18 @@ class V1beta1GenerateDefaultIdentityResponse(typing_extensions.TypedDict, total= role: str @typing.type_check_only -class V1beta1GenerateServiceAccountResponse(typing_extensions.TypedDict, total=False): +class V1beta1GenerateServiceAccountResponse(typing.TypedDict, total=False): account: V1beta1ServiceAccount @typing.type_check_only -class V1beta1RefreshConsumerResponse(typing_extensions.TypedDict, total=False): ... +class V1beta1RefreshConsumerResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class V1beta1RemoveVisibilityLabelsResponse(typing_extensions.TypedDict, total=False): +class V1beta1RemoveVisibilityLabelsResponse(typing.TypedDict, total=False): labels: _list[str] @typing.type_check_only -class V1beta1ServiceAccount(typing_extensions.TypedDict, total=False): +class V1beta1ServiceAccount(typing.TypedDict, total=False): email: str iamAccountName: str name: str diff --git a/googleapiclient-stubs/_apis/servicecontrol/v1/resources.pyi b/googleapiclient-stubs/_apis/servicecontrol/v1/resources.pyi index 2a16abef9..18e694be5 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi index 0f8f898c9..51dca138c 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AllocateInfo(typing_extensions.TypedDict, total=False): +class AllocateInfo(typing.TypedDict, total=False): unusedArguments: _list[str] @typing.type_check_only -class AllocateQuotaRequest(typing_extensions.TypedDict, total=False): +class AllocateQuotaRequest(typing.TypedDict, total=False): allocateOperation: QuotaOperation serviceConfigId: str @typing.type_check_only -class AllocateQuotaResponse(typing_extensions.TypedDict, total=False): +class AllocateQuotaResponse(typing.TypedDict, total=False): allocateErrors: _list[QuotaError] allocateInfo: AllocateInfo operationId: str @@ -22,18 +20,18 @@ class AllocateQuotaResponse(typing_extensions.TypedDict, total=False): serviceConfigId: str @typing.type_check_only -class AttributeValue(typing_extensions.TypedDict, total=False): +class AttributeValue(typing.TypedDict, total=False): boolValue: bool intValue: str stringValue: TruncatableString @typing.type_check_only -class Attributes(typing_extensions.TypedDict, total=False): +class Attributes(typing.TypedDict, total=False): attributeMap: dict[str, typing.Any] droppedAttributesCount: int @typing.type_check_only -class AuditLog(typing_extensions.TypedDict, total=False): +class AuditLog(typing.TypedDict, total=False): apiVersionIdentifier: str authenticationInfo: AuthenticationInfo authorizationInfo: _list[AuthorizationInfo] @@ -52,7 +50,7 @@ class AuditLog(typing_extensions.TypedDict, total=False): status: Status @typing.type_check_only -class Auth(typing_extensions.TypedDict, total=False): +class Auth(typing.TypedDict, total=False): accessLevels: _list[str] audiences: _list[str] claims: dict[str, typing.Any] @@ -62,7 +60,7 @@ class Auth(typing_extensions.TypedDict, total=False): principal: str @typing.type_check_only -class AuthenticationInfo(typing_extensions.TypedDict, total=False): +class AuthenticationInfo(typing.TypedDict, total=False): authoritySelector: str loggableShortLivedCredential: dict[str, typing.Any] oauthInfo: OAuthInfo @@ -74,10 +72,10 @@ class AuthenticationInfo(typing_extensions.TypedDict, total=False): thirdPartyPrincipal: dict[str, typing.Any] @typing.type_check_only -class AuthorizationInfo(typing_extensions.TypedDict, total=False): +class AuthorizationInfo(typing.TypedDict, total=False): granted: bool permission: str - permissionType: typing_extensions.Literal[ + permissionType: typing.Literal[ "PERMISSION_TYPE_UNSPECIFIED", "ADMIN_READ", "ADMIN_WRITE", @@ -88,8 +86,8 @@ class AuthorizationInfo(typing_extensions.TypedDict, total=False): resourceAttributes: Resource @typing.type_check_only -class CheckError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class CheckError(typing.TypedDict, total=False): + code: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "NOT_FOUND", "PERMISSION_DENIED", @@ -133,21 +131,21 @@ class CheckError(typing_extensions.TypedDict, total=False): subject: str @typing.type_check_only -class CheckInfo(typing_extensions.TypedDict, total=False): +class CheckInfo(typing.TypedDict, total=False): apiKeyUid: str consumerInfo: ConsumerInfo ignoreApiKeyUidAsCredentialId: bool unusedArguments: _list[str] @typing.type_check_only -class CheckRequest(typing_extensions.TypedDict, total=False): +class CheckRequest(typing.TypedDict, total=False): operation: Operation requestProjectSettings: bool serviceConfigId: str skipActivationCheck: bool @typing.type_check_only -class CheckResponse(typing_extensions.TypedDict, total=False): +class CheckResponse(typing.TypedDict, total=False): checkErrors: _list[CheckError] checkInfo: CheckInfo operationId: str @@ -156,10 +154,10 @@ class CheckResponse(typing_extensions.TypedDict, total=False): serviceRolloutId: str @typing.type_check_only -class ConsumerInfo(typing_extensions.TypedDict, total=False): +class ConsumerInfo(typing.TypedDict, total=False): consumerNumber: str projectNumber: str - type: typing_extensions.Literal[ + type: typing.Literal[ "CONSUMER_TYPE_UNSPECIFIED", "PROJECT", "FOLDER", @@ -168,7 +166,7 @@ class ConsumerInfo(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Distribution(typing_extensions.TypedDict, total=False): +class Distribution(typing.TypedDict, total=False): bucketCounts: _list[str] count: str exemplars: _list[Exemplar] @@ -181,28 +179,28 @@ class Distribution(typing_extensions.TypedDict, total=False): sumOfSquaredDeviation: float @typing.type_check_only -class Exemplar(typing_extensions.TypedDict, total=False): +class Exemplar(typing.TypedDict, total=False): attachments: _list[dict[str, typing.Any]] timestamp: str value: float @typing.type_check_only -class ExplicitBuckets(typing_extensions.TypedDict, total=False): +class ExplicitBuckets(typing.TypedDict, total=False): bounds: _list[float] @typing.type_check_only -class ExponentialBuckets(typing_extensions.TypedDict, total=False): +class ExponentialBuckets(typing.TypedDict, total=False): growthFactor: float numFiniteBuckets: int scale: float @typing.type_check_only -class FirstPartyPrincipal(typing_extensions.TypedDict, total=False): +class FirstPartyPrincipal(typing.TypedDict, total=False): principalEmail: str serviceMetadata: dict[str, typing.Any] @typing.type_check_only -class HttpRequest(typing_extensions.TypedDict, total=False): +class HttpRequest(typing.TypedDict, total=False): cacheFillBytes: str cacheHit: bool cacheLookup: bool @@ -220,20 +218,20 @@ class HttpRequest(typing_extensions.TypedDict, total=False): userAgent: str @typing.type_check_only -class LinearBuckets(typing_extensions.TypedDict, total=False): +class LinearBuckets(typing.TypedDict, total=False): numFiniteBuckets: int offset: float width: float @typing.type_check_only -class LogEntry(typing_extensions.TypedDict, total=False): +class LogEntry(typing.TypedDict, total=False): httpRequest: HttpRequest insertId: str labels: dict[str, typing.Any] name: str operation: LogEntryOperation protoPayload: dict[str, typing.Any] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "DEFAULT", "DEBUG", "INFO", @@ -251,20 +249,20 @@ class LogEntry(typing_extensions.TypedDict, total=False): trace: str @typing.type_check_only -class LogEntryOperation(typing_extensions.TypedDict, total=False): +class LogEntryOperation(typing.TypedDict, total=False): first: bool id: str last: bool producer: str @typing.type_check_only -class LogEntrySourceLocation(typing_extensions.TypedDict, total=False): +class LogEntrySourceLocation(typing.TypedDict, total=False): file: str function: str line: str @typing.type_check_only -class MetricValue(typing_extensions.TypedDict, total=False): +class MetricValue(typing.TypedDict, total=False): boolValue: bool distributionValue: Distribution doubleValue: float @@ -276,29 +274,29 @@ class MetricValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class MetricValueSet(typing_extensions.TypedDict, total=False): +class MetricValueSet(typing.TypedDict, total=False): metricName: str metricValues: _list[MetricValue] @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class OAuthInfo(typing_extensions.TypedDict, total=False): +class OAuthInfo(typing.TypedDict, total=False): oauthClientId: str @typing.type_check_only -class Oauth(typing_extensions.TypedDict, total=False): +class Oauth(typing.TypedDict, total=False): clientId: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): consumerId: str endTime: str - importance: typing_extensions.Literal["LOW", "HIGH", "DEBUG", "PROMOTED"] + importance: typing.Literal["LOW", "HIGH", "DEBUG", "PROMOTED"] labels: dict[str, typing.Any] logEntries: _list[LogEntry] metricValueSets: _list[MetricValueSet] @@ -311,14 +309,14 @@ class Operation(typing_extensions.TypedDict, total=False): userLabels: dict[str, typing.Any] @typing.type_check_only -class OrgPolicyViolationInfo(typing_extensions.TypedDict, total=False): +class OrgPolicyViolationInfo(typing.TypedDict, total=False): payload: dict[str, typing.Any] resourceTags: dict[str, typing.Any] resourceType: str violationInfo: _list[ViolationInfo] @typing.type_check_only -class Peer(typing_extensions.TypedDict, total=False): +class Peer(typing.TypedDict, total=False): ip: str labels: dict[str, typing.Any] port: str @@ -326,12 +324,12 @@ class Peer(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class PolicyViolationInfo(typing_extensions.TypedDict, total=False): +class PolicyViolationInfo(typing.TypedDict, total=False): orgPolicyViolationInfo: OrgPolicyViolationInfo @typing.type_check_only -class QuotaError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class QuotaError(typing.TypedDict, total=False): + code: typing.Literal[ "UNSPECIFIED", "RESOURCE_EXHAUSTED", "OUT_OF_RANGE", @@ -352,10 +350,10 @@ class QuotaError(typing_extensions.TypedDict, total=False): subject: str @typing.type_check_only -class QuotaInfo(typing_extensions.TypedDict, total=False): +class QuotaInfo(typing.TypedDict, total=False): limitExceeded: _list[str] quotaConsumed: dict[str, typing.Any] - quotaExtractionState: typing_extensions.Literal[ + quotaExtractionState: typing.Literal[ "QUOTA_EXTRACTION_STATE_UNSPECIFIED", "QUOTA_EXTRACTION_STATE_DARK_LAUNCH", "QUOTA_EXTRACTION_STATE_TRAFFIC_MIGRATION", @@ -363,38 +361,38 @@ class QuotaInfo(typing_extensions.TypedDict, total=False): quotaMetrics: _list[MetricValueSet] @typing.type_check_only -class QuotaOperation(typing_extensions.TypedDict, total=False): +class QuotaOperation(typing.TypedDict, total=False): consumerId: str labels: dict[str, typing.Any] methodName: str operationId: str quotaMetrics: _list[MetricValueSet] - quotaMode: typing_extensions.Literal[ + quotaMode: typing.Literal[ "UNSPECIFIED", "NORMAL", "BEST_EFFORT", "CHECK_ONLY", "ADJUST_ONLY" ] @typing.type_check_only -class QuotaProperties(typing_extensions.TypedDict, total=False): - quotaMode: typing_extensions.Literal["ACQUIRE", "ACQUIRE_BEST_EFFORT", "CHECK"] +class QuotaProperties(typing.TypedDict, total=False): + quotaMode: typing.Literal["ACQUIRE", "ACQUIRE_BEST_EFFORT", "CHECK"] @typing.type_check_only -class ReportError(typing_extensions.TypedDict, total=False): +class ReportError(typing.TypedDict, total=False): operationId: str status: Status @typing.type_check_only -class ReportRequest(typing_extensions.TypedDict, total=False): +class ReportRequest(typing.TypedDict, total=False): operations: _list[Operation] serviceConfigId: str @typing.type_check_only -class ReportResponse(typing_extensions.TypedDict, total=False): +class ReportResponse(typing.TypedDict, total=False): reportErrors: _list[ReportError] serviceConfigId: str serviceRolloutId: str @typing.type_check_only -class Request(typing_extensions.TypedDict, total=False): +class Request(typing.TypedDict, total=False): auth: Auth headers: dict[str, typing.Any] host: str @@ -410,7 +408,7 @@ class Request(typing_extensions.TypedDict, total=False): time: str @typing.type_check_only -class RequestMetadata(typing_extensions.TypedDict, total=False): +class RequestMetadata(typing.TypedDict, total=False): callerIp: str callerNetwork: str callerSuppliedUserAgent: str @@ -418,7 +416,7 @@ class RequestMetadata(typing_extensions.TypedDict, total=False): requestAttributes: Request @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -433,50 +431,50 @@ class Resource(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ResourceInfo(typing.TypedDict, total=False): permission: str resourceContainer: str resourceLocation: str resourceName: str @typing.type_check_only -class ResourceLocation(typing_extensions.TypedDict, total=False): +class ResourceLocation(typing.TypedDict, total=False): currentLocations: _list[str] originalLocations: _list[str] @typing.type_check_only -class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): +class ServiceAccountDelegationInfo(typing.TypedDict, total=False): firstPartyPrincipal: FirstPartyPrincipal principalSubject: str thirdPartyPrincipal: ThirdPartyPrincipal @typing.type_check_only -class ServiceDelegationHistory(typing_extensions.TypedDict, total=False): +class ServiceDelegationHistory(typing.TypedDict, total=False): originalPrincipal: str serviceMetadata: _list[ServiceMetadata] @typing.type_check_only -class ServiceMetadata(typing_extensions.TypedDict, total=False): +class ServiceMetadata(typing.TypedDict, total=False): jobMetadata: dict[str, typing.Any] principalSubject: str serviceDomain: str @typing.type_check_only -class SpanContext(typing_extensions.TypedDict, total=False): +class SpanContext(typing.TypedDict, total=False): spanName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class ThirdPartyPrincipal(typing_extensions.TypedDict, total=False): +class ThirdPartyPrincipal(typing.TypedDict, total=False): thirdPartyClaims: dict[str, typing.Any] @typing.type_check_only -class TraceSpan(typing_extensions.TypedDict, total=False): +class TraceSpan(typing.TypedDict, total=False): attributes: Attributes childSpanCount: int displayName: TruncatableString @@ -485,19 +483,19 @@ class TraceSpan(typing_extensions.TypedDict, total=False): parentSpanId: str sameProcessAsParentSpan: bool spanId: str - spanKind: typing_extensions.Literal[ + spanKind: typing.Literal[ "SPAN_KIND_UNSPECIFIED", "INTERNAL", "SERVER", "CLIENT", "PRODUCER", "CONSUMER" ] startTime: str status: Status @typing.type_check_only -class TruncatableString(typing_extensions.TypedDict, total=False): +class TruncatableString(typing.TypedDict, total=False): truncatedByteCount: int value: str @typing.type_check_only -class V1HttpRequest(typing_extensions.TypedDict, total=False): +class V1HttpRequest(typing.TypedDict, total=False): cacheFillBytes: str cacheHit: bool cacheLookup: bool @@ -515,7 +513,7 @@ class V1HttpRequest(typing_extensions.TypedDict, total=False): userAgent: str @typing.type_check_only -class V1LogEntry(typing_extensions.TypedDict, total=False): +class V1LogEntry(typing.TypedDict, total=False): httpRequest: V1HttpRequest insertId: str labels: dict[str, typing.Any] @@ -523,7 +521,7 @@ class V1LogEntry(typing_extensions.TypedDict, total=False): name: str operation: V1LogEntryOperation protoPayload: dict[str, typing.Any] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "DEFAULT", "DEBUG", "INFO", @@ -541,37 +539,35 @@ class V1LogEntry(typing_extensions.TypedDict, total=False): trace: str @typing.type_check_only -class V1LogEntryOperation(typing_extensions.TypedDict, total=False): +class V1LogEntryOperation(typing.TypedDict, total=False): first: bool id: str last: bool producer: str @typing.type_check_only -class V1LogEntrySourceLocation(typing_extensions.TypedDict, total=False): +class V1LogEntrySourceLocation(typing.TypedDict, total=False): file: str function: str line: str @typing.type_check_only -class V1ResourceEvent(typing_extensions.TypedDict, total=False): +class V1ResourceEvent(typing.TypedDict, total=False): contextId: str destinations: str parent: Resource - path: typing_extensions.Literal["API_PATH_UNSPECIFIED", "REQUEST", "RESPONSE"] + path: typing.Literal["API_PATH_UNSPECIFIED", "REQUEST", "RESPONSE"] payload: dict[str, typing.Any] resource: Resource - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE", "UNDELETE" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE", "UNDELETE"] @typing.type_check_only -class ViolationInfo(typing_extensions.TypedDict, total=False): +class ViolationInfo(typing.TypedDict, total=False): checkedValue: str constraint: str constraintViolationInfo: dict[str, typing.Any] errorMessage: str - policyType: typing_extensions.Literal[ + policyType: typing.Literal[ "POLICY_TYPE_UNSPECIFIED", "BOOLEAN_CONSTRAINT", "LIST_CONSTRAINT", diff --git a/googleapiclient-stubs/_apis/servicecontrol/v2/resources.pyi b/googleapiclient-stubs/_apis/servicecontrol/v2/resources.pyi index f64210d1e..5cc8ec483 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi index c43efd20b..b813ab8a2 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): operation: str protocol: str service: str version: str @typing.type_check_only -class AttributeContext(typing_extensions.TypedDict, total=False): +class AttributeContext(typing.TypedDict, total=False): api: Api destination: Peer extensions: _list[dict[str, typing.Any]] @@ -23,7 +21,7 @@ class AttributeContext(typing_extensions.TypedDict, total=False): source: Peer @typing.type_check_only -class AuditLog(typing_extensions.TypedDict, total=False): +class AuditLog(typing.TypedDict, total=False): apiVersionIdentifier: str authenticationInfo: AuthenticationInfo authorizationInfo: _list[AuthorizationInfo] @@ -42,7 +40,7 @@ class AuditLog(typing_extensions.TypedDict, total=False): status: Status @typing.type_check_only -class Auth(typing_extensions.TypedDict, total=False): +class Auth(typing.TypedDict, total=False): accessLevels: _list[str] audiences: _list[str] claims: dict[str, typing.Any] @@ -52,7 +50,7 @@ class Auth(typing_extensions.TypedDict, total=False): principal: str @typing.type_check_only -class AuthenticationInfo(typing_extensions.TypedDict, total=False): +class AuthenticationInfo(typing.TypedDict, total=False): authoritySelector: str loggableShortLivedCredential: dict[str, typing.Any] oauthInfo: OAuthInfo @@ -64,10 +62,10 @@ class AuthenticationInfo(typing_extensions.TypedDict, total=False): thirdPartyPrincipal: dict[str, typing.Any] @typing.type_check_only -class AuthorizationInfo(typing_extensions.TypedDict, total=False): +class AuthorizationInfo(typing.TypedDict, total=False): granted: bool permission: str - permissionType: typing_extensions.Literal[ + permissionType: typing.Literal[ "PERMISSION_TYPE_UNSPECIFIED", "ADMIN_READ", "ADMIN_WRITE", @@ -78,40 +76,40 @@ class AuthorizationInfo(typing_extensions.TypedDict, total=False): resourceAttributes: Resource @typing.type_check_only -class CheckRequest(typing_extensions.TypedDict, total=False): +class CheckRequest(typing.TypedDict, total=False): attributes: AttributeContext flags: str resources: _list[ResourceInfo] serviceConfigId: str @typing.type_check_only -class CheckResponse(typing_extensions.TypedDict, total=False): +class CheckResponse(typing.TypedDict, total=False): dynamicMetadata: dict[str, typing.Any] headers: dict[str, typing.Any] status: Status @typing.type_check_only -class FirstPartyPrincipal(typing_extensions.TypedDict, total=False): +class FirstPartyPrincipal(typing.TypedDict, total=False): principalEmail: str serviceMetadata: dict[str, typing.Any] @typing.type_check_only -class OAuthInfo(typing_extensions.TypedDict, total=False): +class OAuthInfo(typing.TypedDict, total=False): oauthClientId: str @typing.type_check_only -class Oauth(typing_extensions.TypedDict, total=False): +class Oauth(typing.TypedDict, total=False): clientId: str @typing.type_check_only -class OrgPolicyViolationInfo(typing_extensions.TypedDict, total=False): +class OrgPolicyViolationInfo(typing.TypedDict, total=False): payload: dict[str, typing.Any] resourceTags: dict[str, typing.Any] resourceType: str violationInfo: _list[ViolationInfo] @typing.type_check_only -class Peer(typing_extensions.TypedDict, total=False): +class Peer(typing.TypedDict, total=False): ip: str labels: dict[str, typing.Any] port: str @@ -119,20 +117,20 @@ class Peer(typing_extensions.TypedDict, total=False): regionCode: str @typing.type_check_only -class PolicyViolationInfo(typing_extensions.TypedDict, total=False): +class PolicyViolationInfo(typing.TypedDict, total=False): orgPolicyViolationInfo: OrgPolicyViolationInfo @typing.type_check_only -class ReportRequest(typing_extensions.TypedDict, total=False): +class ReportRequest(typing.TypedDict, total=False): operations: _list[AttributeContext] serviceConfigId: str @typing.type_check_only -class ReportResponse(typing_extensions.TypedDict, total=False): +class ReportResponse(typing.TypedDict, total=False): extensions: dict[str, typing.Any] @typing.type_check_only -class Request(typing_extensions.TypedDict, total=False): +class Request(typing.TypedDict, total=False): auth: Auth headers: dict[str, typing.Any] host: str @@ -148,7 +146,7 @@ class Request(typing_extensions.TypedDict, total=False): time: str @typing.type_check_only -class RequestMetadata(typing_extensions.TypedDict, total=False): +class RequestMetadata(typing.TypedDict, total=False): callerIp: str callerNetwork: str callerSuppliedUserAgent: str @@ -156,7 +154,7 @@ class RequestMetadata(typing_extensions.TypedDict, total=False): requestAttributes: Request @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -171,7 +169,7 @@ class Resource(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ResourceInfo(typing_extensions.TypedDict, total=False): +class ResourceInfo(typing.TypedDict, total=False): container: str location: str name: str @@ -179,12 +177,12 @@ class ResourceInfo(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ResourceLocation(typing_extensions.TypedDict, total=False): +class ResourceLocation(typing.TypedDict, total=False): currentLocations: _list[str] originalLocations: _list[str] @typing.type_check_only -class Response(typing_extensions.TypedDict, total=False): +class Response(typing.TypedDict, total=False): backendLatency: str code: str headers: dict[str, typing.Any] @@ -192,38 +190,38 @@ class Response(typing_extensions.TypedDict, total=False): time: str @typing.type_check_only -class ServiceAccountDelegationInfo(typing_extensions.TypedDict, total=False): +class ServiceAccountDelegationInfo(typing.TypedDict, total=False): firstPartyPrincipal: FirstPartyPrincipal principalSubject: str thirdPartyPrincipal: ThirdPartyPrincipal @typing.type_check_only -class ServiceDelegationHistory(typing_extensions.TypedDict, total=False): +class ServiceDelegationHistory(typing.TypedDict, total=False): originalPrincipal: str serviceMetadata: _list[ServiceMetadata] @typing.type_check_only -class ServiceMetadata(typing_extensions.TypedDict, total=False): +class ServiceMetadata(typing.TypedDict, total=False): jobMetadata: dict[str, typing.Any] principalSubject: str serviceDomain: str @typing.type_check_only -class SpanContext(typing_extensions.TypedDict, total=False): +class SpanContext(typing.TypedDict, total=False): spanName: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class ThirdPartyPrincipal(typing_extensions.TypedDict, total=False): +class ThirdPartyPrincipal(typing.TypedDict, total=False): thirdPartyClaims: dict[str, typing.Any] @typing.type_check_only -class V2HttpRequest(typing_extensions.TypedDict, total=False): +class V2HttpRequest(typing.TypedDict, total=False): cacheFillBytes: str cacheHit: bool cacheLookup: bool @@ -241,7 +239,7 @@ class V2HttpRequest(typing_extensions.TypedDict, total=False): userAgent: str @typing.type_check_only -class V2LogEntry(typing_extensions.TypedDict, total=False): +class V2LogEntry(typing.TypedDict, total=False): httpRequest: V2HttpRequest insertId: str labels: dict[str, typing.Any] @@ -249,7 +247,7 @@ class V2LogEntry(typing_extensions.TypedDict, total=False): name: str operation: V2LogEntryOperation protoPayload: dict[str, typing.Any] - severity: typing_extensions.Literal[ + severity: typing.Literal[ "DEFAULT", "DEBUG", "INFO", @@ -267,37 +265,35 @@ class V2LogEntry(typing_extensions.TypedDict, total=False): trace: str @typing.type_check_only -class V2LogEntryOperation(typing_extensions.TypedDict, total=False): +class V2LogEntryOperation(typing.TypedDict, total=False): first: bool id: str last: bool producer: str @typing.type_check_only -class V2LogEntrySourceLocation(typing_extensions.TypedDict, total=False): +class V2LogEntrySourceLocation(typing.TypedDict, total=False): file: str function: str line: str @typing.type_check_only -class V2ResourceEvent(typing_extensions.TypedDict, total=False): +class V2ResourceEvent(typing.TypedDict, total=False): contextId: str destinations: str parent: Resource - path: typing_extensions.Literal["API_PATH_UNSPECIFIED", "REQUEST", "RESPONSE"] + path: typing.Literal["API_PATH_UNSPECIFIED", "REQUEST", "RESPONSE"] payload: dict[str, typing.Any] resource: Resource - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE", "UNDELETE" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE", "UNDELETE"] @typing.type_check_only -class ViolationInfo(typing_extensions.TypedDict, total=False): +class ViolationInfo(typing.TypedDict, total=False): checkedValue: str constraint: str constraintViolationInfo: dict[str, typing.Any] errorMessage: str - policyType: typing_extensions.Literal[ + policyType: typing.Literal[ "POLICY_TYPE_UNSPECIFIED", "BOOLEAN_CONSTRAINT", "LIST_CONSTRAINT", diff --git a/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi b/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi index cbe63ca77..05c763a0e 100644 --- a/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicedirectory/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/servicedirectory/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicedirectory/v1/schemas.pyi index 76cb16d2f..7b0239b70 100644 --- a/googleapiclient-stubs/_apis/servicedirectory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicedirectory/v1/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): address: str annotations: dict[str, typing.Any] name: str @@ -23,42 +21,42 @@ class Endpoint(typing_extensions.TypedDict, total=False): uid: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNamespacesResponse(typing_extensions.TypedDict, total=False): +class ListNamespacesResponse(typing.TypedDict, total=False): namespaces: _list[Namespace] nextPageToken: str @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -66,41 +64,41 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Namespace(typing_extensions.TypedDict, total=False): +class Namespace(typing.TypedDict, total=False): labels: dict[str, typing.Any] name: str uid: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ResolveServiceRequest(typing_extensions.TypedDict, total=False): +class ResolveServiceRequest(typing.TypedDict, total=False): endpointFilter: str maxEndpoints: int @typing.type_check_only -class ResolveServiceResponse(typing_extensions.TypedDict, total=False): +class ResolveServiceResponse(typing.TypedDict, total=False): service: Service @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): annotations: dict[str, typing.Any] endpoints: _list[Endpoint] name: str uid: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi index 5d0bc6ab1..797237ce3 100644 --- a/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicedirectory/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/servicedirectory/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/servicedirectory/v1beta1/schemas.pyi index 5420e6b23..8fccbde63 100644 --- a/googleapiclient-stubs/_apis/servicedirectory/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicedirectory/v1beta1/schemas.pyi @@ -1,20 +1,18 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): address: str createTime: str metadata: dict[str, typing.Any] @@ -25,42 +23,42 @@ class Endpoint(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class ListEndpointsResponse(typing_extensions.TypedDict, total=False): +class ListEndpointsResponse(typing.TypedDict, total=False): endpoints: _list[Endpoint] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNamespacesResponse(typing_extensions.TypedDict, total=False): +class ListNamespacesResponse(typing.TypedDict, total=False): namespaces: _list[Namespace] nextPageToken: str @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -68,7 +66,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Namespace(typing_extensions.TypedDict, total=False): +class Namespace(typing.TypedDict, total=False): createTime: str labels: dict[str, typing.Any] name: str @@ -76,22 +74,22 @@ class Namespace(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ResolveServiceRequest(typing_extensions.TypedDict, total=False): +class ResolveServiceRequest(typing.TypedDict, total=False): endpointFilter: str maxEndpoints: int @typing.type_check_only -class ResolveServiceResponse(typing_extensions.TypedDict, total=False): +class ResolveServiceResponse(typing.TypedDict, total=False): service: Service @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): createTime: str endpoints: _list[Endpoint] metadata: dict[str, typing.Any] @@ -100,13 +98,13 @@ class Service(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi index 27f189797..e85c5c73e 100644 --- a/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicemanagement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -44,7 +43,7 @@ class ServiceManagementResource(googleapiclient.discovery.Resource): *, serviceName: str, configId: str, - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ServiceHttpRequest: ... def list( @@ -124,7 +123,7 @@ class ServiceManagementResource(googleapiclient.discovery.Resource): *, serviceName: str, configId: str | None = ..., - view: typing_extensions.Literal["BASIC", "FULL"] | None = ..., + view: typing.Literal["BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ServiceHttpRequest: ... def getIamPolicy( diff --git a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi index 02fcb7edc..68d4d87ef 100644 --- a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi @@ -1,51 +1,47 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Advice(typing_extensions.TypedDict, total=False): +class Advice(typing.TypedDict, total=False): description: str @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): edition: str methods: _list[Method] mixins: _list[Mixin] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] version: str @typing.type_check_only -class Aspect(typing_extensions.TypedDict, total=False): +class Aspect(typing.TypedDict, total=False): kind: str rules: _list[AspectRule] spec: dict[str, typing.Any] @typing.type_check_only -class AspectRule(typing_extensions.TypedDict, total=False): +class AspectRule(typing.TypedDict, total=False): config: dict[str, typing.Any] selector: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AuthProvider(typing_extensions.TypedDict, total=False): +class AuthProvider(typing.TypedDict, total=False): audiences: str authorizationUrl: str id: str @@ -54,28 +50,28 @@ class AuthProvider(typing_extensions.TypedDict, total=False): jwtLocations: _list[JwtLocation] @typing.type_check_only -class AuthRequirement(typing_extensions.TypedDict, total=False): +class AuthRequirement(typing.TypedDict, total=False): audiences: str providerId: str @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): providers: _list[AuthProvider] rules: _list[AuthenticationRule] @typing.type_check_only -class AuthenticationRule(typing_extensions.TypedDict, total=False): +class AuthenticationRule(typing.TypedDict, total=False): allowWithoutCredential: bool oauth: OAuthRequirements requirements: _list[AuthRequirement] selector: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): rules: _list[BackendRule] @typing.type_check_only -class BackendRule(typing_extensions.TypedDict, total=False): +class BackendRule(typing.TypedDict, total=False): address: str deadline: float disableAuth: bool @@ -84,62 +80,62 @@ class BackendRule(typing_extensions.TypedDict, total=False): minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] - pathTranslation: typing_extensions.Literal[ + pathTranslation: typing.Literal[ "PATH_TRANSLATION_UNSPECIFIED", "CONSTANT_ADDRESS", "APPEND_PATH_TO_ADDRESS" ] protocol: str selector: str @typing.type_check_only -class BatchingConfigProto(typing_extensions.TypedDict, total=False): +class BatchingConfigProto(typing.TypedDict, total=False): batchDescriptor: BatchingDescriptorProto thresholds: BatchingSettingsProto @typing.type_check_only -class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): +class BatchingDescriptorProto(typing.TypedDict, total=False): batchedField: str discriminatorFields: _list[str] subresponseField: str @typing.type_check_only -class BatchingSettingsProto(typing_extensions.TypedDict, total=False): +class BatchingSettingsProto(typing.TypedDict, total=False): delayThreshold: str elementCountLimit: int elementCountThreshold: int flowControlByteLimit: int flowControlElementLimit: int - flowControlLimitExceededBehavior: typing_extensions.Literal[ + flowControlLimitExceededBehavior: typing.Literal[ "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" ] requestByteLimit: int requestByteThreshold: str @typing.type_check_only -class Billing(typing_extensions.TypedDict, total=False): +class Billing(typing.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @typing.type_check_only -class BillingDestination(typing_extensions.TypedDict, total=False): +class BillingDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ChangeReport(typing_extensions.TypedDict, total=False): +class ChangeReport(typing.TypedDict, total=False): configChanges: _list[ConfigChange] @typing.type_check_only -class ClientLibrarySettings(typing_extensions.TypedDict, total=False): +class ClientLibrarySettings(typing.TypedDict, total=False): cppSettings: CppSettings dotnetSettings: DotnetSettings goSettings: GoSettings javaSettings: JavaSettings - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -157,9 +153,9 @@ class ClientLibrarySettings(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CommonLanguageSettings(typing_extensions.TypedDict, total=False): +class CommonLanguageSettings(typing.TypedDict, total=False): destinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", "GITHUB", "PACKAGE_MANAGER" ] ] @@ -167,9 +163,9 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only -class ConfigChange(typing_extensions.TypedDict, total=False): +class ConfigChange(typing.TypedDict, total=False): advices: _list[Advice] - changeType: typing_extensions.Literal[ + changeType: typing.Literal[ "CHANGE_TYPE_UNSPECIFIED", "ADDED", "REMOVED", "MODIFIED" ] element: str @@ -177,10 +173,10 @@ class ConfigChange(typing_extensions.TypedDict, total=False): oldValue: str @typing.type_check_only -class ConfigFile(typing_extensions.TypedDict, total=False): +class ConfigFile(typing.TypedDict, total=False): fileContents: str filePath: str - fileType: typing_extensions.Literal[ + fileType: typing.Literal[ "FILE_TYPE_UNSPECIFIED", "SERVICE_CONFIG_YAML", "OPEN_API_JSON", @@ -190,20 +186,20 @@ class ConfigFile(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConfigRef(typing_extensions.TypedDict, total=False): +class ConfigRef(typing.TypedDict, total=False): name: str @typing.type_check_only -class ConfigSource(typing_extensions.TypedDict, total=False): +class ConfigSource(typing.TypedDict, total=False): files: _list[ConfigFile] id: str @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): rules: _list[ContextRule] @typing.type_check_only -class ContextRule(typing_extensions.TypedDict, total=False): +class ContextRule(typing.TypedDict, total=False): allowedRequestExtensions: _list[str] allowedResponseExtensions: _list[str] provided: _list[str] @@ -211,40 +207,40 @@ class ContextRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): environment: str methodPolicies: _list[MethodPolicy] @typing.type_check_only -class CppSettings(typing_extensions.TypedDict, total=False): +class CppSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class CustomError(typing_extensions.TypedDict, total=False): +class CustomError(typing.TypedDict, total=False): rules: _list[CustomErrorRule] types: _list[str] @typing.type_check_only -class CustomErrorRule(typing_extensions.TypedDict, total=False): +class CustomErrorRule(typing.TypedDict, total=False): isErrorType: bool selector: str @typing.type_check_only -class CustomHttpPattern(typing_extensions.TypedDict, total=False): +class CustomHttpPattern(typing.TypedDict, total=False): kind: str path: str @typing.type_check_only -class DeleteServiceStrategy(typing_extensions.TypedDict, total=False): ... +class DeleteServiceStrategy(typing.TypedDict, total=False): ... @typing.type_check_only -class Diagnostic(typing_extensions.TypedDict, total=False): - kind: typing_extensions.Literal["WARNING", "ERROR"] +class Diagnostic(typing.TypedDict, total=False): + kind: typing.Literal["WARNING", "ERROR"] location: str message: str @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): additionalIamInfo: str documentationRootUrl: str overview: str @@ -255,14 +251,14 @@ class Documentation(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class DocumentationRule(typing_extensions.TypedDict, total=False): +class DocumentationRule(typing.TypedDict, total=False): deprecationDescription: str description: str disableReplacementWords: str selector: str @typing.type_check_only -class DotnetSettings(typing_extensions.TypedDict, total=False): +class DotnetSettings(typing.TypedDict, total=False): common: CommonLanguageSettings forcedNamespaceAliases: _list[str] handwrittenSignatures: _list[str] @@ -271,48 +267,46 @@ class DotnetSettings(typing_extensions.TypedDict, total=False): renamedServices: dict[str, typing.Any] @typing.type_check_only -class EnableServiceResponse(typing_extensions.TypedDict, total=False): ... +class EnableServiceResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): aliases: _list[str] allowCors: bool name: str target: str @typing.type_check_only -class Enum(typing_extensions.TypedDict, total=False): +class Enum(typing.TypedDict, total=False): edition: str enumvalue: _list[EnumValue] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class EnumValue(typing_extensions.TypedDict, total=False): +class EnumValue(typing.TypedDict, total=False): name: str number: int options: _list[Option] @typing.type_check_only -class ExperimentalFeatures(typing_extensions.TypedDict, total=False): +class ExperimentalFeatures(typing.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool unversionedPackageDisabled: bool @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -320,7 +314,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -349,48 +343,48 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FieldPolicy(typing_extensions.TypedDict, total=False): +class FieldPolicy(typing.TypedDict, total=False): resourcePermission: str resourceType: str selector: str @typing.type_check_only -class FlowErrorDetails(typing_extensions.TypedDict, total=False): +class FlowErrorDetails(typing.TypedDict, total=False): exceptionType: str flowStepId: str @typing.type_check_only -class GenerateConfigReportRequest(typing_extensions.TypedDict, total=False): +class GenerateConfigReportRequest(typing.TypedDict, total=False): newConfig: dict[str, typing.Any] oldConfig: dict[str, typing.Any] @typing.type_check_only -class GenerateConfigReportResponse(typing_extensions.TypedDict, total=False): +class GenerateConfigReportResponse(typing.TypedDict, total=False): changeReports: _list[ChangeReport] diagnostics: _list[Diagnostic] id: str serviceName: str @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class GoSettings(typing_extensions.TypedDict, total=False): +class GoSettings(typing.TypedDict, total=False): common: CommonLanguageSettings renamedServices: dict[str, typing.Any] @typing.type_check_only -class Http(typing_extensions.TypedDict, total=False): +class Http(typing.TypedDict, total=False): fullyDecodeReservedExpansion: bool rules: _list[HttpRule] @typing.type_check_only -class HttpRule(typing_extensions.TypedDict, total=False): +class HttpRule(typing.TypedDict, total=False): additionalBindings: _list[HttpRule] body: str custom: CustomHttpPattern @@ -403,76 +397,76 @@ class HttpRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class JavaSettings(typing_extensions.TypedDict, total=False): +class JavaSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str serviceClassNames: dict[str, typing.Any] @typing.type_check_only -class JwtLocation(typing_extensions.TypedDict, total=False): +class JwtLocation(typing.TypedDict, total=False): cookie: str header: str query: str valuePrefix: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServiceConfigsResponse(typing_extensions.TypedDict, total=False): +class ListServiceConfigsResponse(typing.TypedDict, total=False): nextPageToken: str serviceConfigs: _list[Service] @typing.type_check_only -class ListServiceRolloutsResponse(typing_extensions.TypedDict, total=False): +class ListServiceRolloutsResponse(typing.TypedDict, total=False): nextPageToken: str rollouts: _list[Rollout] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[ManagedService] @typing.type_check_only -class LogDescriptor(typing_extensions.TypedDict, total=False): +class LogDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] name: str @typing.type_check_only -class Logging(typing_extensions.TypedDict, total=False): +class Logging(typing.TypedDict, total=False): consumerDestinations: _list[LoggingDestination] producerDestinations: _list[LoggingDestination] @typing.type_check_only -class LoggingDestination(typing_extensions.TypedDict, total=False): +class LoggingDestination(typing.TypedDict, total=False): logs: _list[str] monitoredResource: str @typing.type_check_only -class LongRunning(typing_extensions.TypedDict, total=False): +class LongRunning(typing.TypedDict, total=False): initialPollDelay: str maxPollDelay: str pollDelayMultiplier: float totalPollTimeout: str @typing.type_check_only -class ManagedService(typing_extensions.TypedDict, total=False): +class ManagedService(typing.TypedDict, total=False): producerProjectId: str serviceName: str @typing.type_check_only -class Method(typing_extensions.TypedDict, total=False): +class Method(typing.TypedDict, total=False): edition: str name: str options: _list[Option] @@ -480,28 +474,26 @@ class Method(typing_extensions.TypedDict, total=False): requestTypeUrl: str responseStreaming: bool responseTypeUrl: str - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class MethodPolicy(typing_extensions.TypedDict, total=False): +class MethodPolicy(typing.TypedDict, total=False): requestPolicies: _list[FieldPolicy] selector: str @typing.type_check_only -class MethodSettings(typing_extensions.TypedDict, total=False): +class MethodSettings(typing.TypedDict, total=False): autoPopulatedFields: _list[str] batching: BatchingConfigProto longRunning: LongRunning selector: str @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -512,14 +504,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -530,9 +522,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -544,7 +536,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -553,21 +545,23 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRule(typing_extensions.TypedDict, total=False): +class MetricRule(typing.TypedDict, total=False): + agenticMetricCosts: dict[str, typing.Any] metricCosts: dict[str, typing.Any] + nonagenticMetricCosts: dict[str, typing.Any] selector: str @typing.type_check_only -class Mixin(typing_extensions.TypedDict, total=False): +class Mixin(typing.TypedDict, total=False): name: str root: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -581,25 +575,25 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Monitoring(typing_extensions.TypedDict, total=False): +class Monitoring(typing.TypedDict, total=False): consumerDestinations: _list[MonitoringDestination] producerDestinations: _list[MonitoringDestination] @typing.type_check_only -class MonitoringDestination(typing_extensions.TypedDict, total=False): +class MonitoringDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class NodeSettings(typing_extensions.TypedDict, total=False): +class NodeSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class OAuthRequirements(typing_extensions.TypedDict, total=False): +class OAuthRequirements(typing.TypedDict, total=False): canonicalScopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -607,42 +601,42 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationInfo(typing_extensions.TypedDict, total=False): +class OperationInfo(typing.TypedDict, total=False): metadataType: str responseType: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): progressPercentage: int resourceNames: _list[str] startTime: str steps: _list[Step] @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): content: str name: str subpages: _list[Page] @typing.type_check_only -class PhpSettings(typing_extensions.TypedDict, total=False): +class PhpSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Publishing(typing_extensions.TypedDict, total=False): +class Publishing(typing.TypedDict, total=False): apiShortName: str codeownerGithubTeams: _list[str] docTagPrefix: str @@ -651,7 +645,7 @@ class Publishing(typing_extensions.TypedDict, total=False): librarySettings: _list[ClientLibrarySettings] methodSettings: _list[MethodSettings] newIssueUri: str - organization: typing_extensions.Literal[ + organization: typing.Literal[ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", "CLOUD", "ADS", @@ -666,17 +660,17 @@ class Publishing(typing_extensions.TypedDict, total=False): restReferenceDocumentationUri: str @typing.type_check_only -class PythonSettings(typing_extensions.TypedDict, total=False): +class PythonSettings(typing.TypedDict, total=False): common: CommonLanguageSettings experimentalFeatures: ExperimentalFeatures @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limits: _list[QuotaLimit] metricRules: _list[MetricRule] @typing.type_check_only -class QuotaLimit(typing_extensions.TypedDict, total=False): +class QuotaLimit(typing.TypedDict, total=False): defaultLimit: str description: str displayName: str @@ -685,22 +679,27 @@ class QuotaLimit(typing_extensions.TypedDict, total=False): maxLimit: str metric: str name: str + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str values: dict[str, typing.Any] @typing.type_check_only -class ResourceReference(typing_extensions.TypedDict, total=False): +class ResourceReference(typing.TypedDict, total=False): childType: str type: str @typing.type_check_only -class Rollout(typing_extensions.TypedDict, total=False): +class Rollout(typing.TypedDict, total=False): createTime: str createdBy: str deleteServiceStrategy: DeleteServiceStrategy rolloutId: str serviceName: str - status: typing_extensions.Literal[ + status: typing.Literal[ "ROLLOUT_STATUS_UNSPECIFIED", "IN_PROGRESS", "SUCCESS", @@ -712,16 +711,16 @@ class Rollout(typing_extensions.TypedDict, total=False): trafficPercentStrategy: TrafficPercentStrategy @typing.type_check_only -class RubySettings(typing_extensions.TypedDict, total=False): +class RubySettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): +class SelectiveGapicGeneration(typing.TypedDict, total=False): generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): apis: _list[Api] aspects: _list[Aspect] authentication: Authentication @@ -753,28 +752,28 @@ class Service(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SourceInfo(typing_extensions.TypedDict, total=False): +class SourceInfo(typing.TypedDict, total=False): sourceFiles: _list[dict[str, typing.Any]] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): description: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "DONE", "NOT_STARTED", @@ -784,65 +783,63 @@ class Step(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SubmitConfigSourceRequest(typing_extensions.TypedDict, total=False): +class SubmitConfigSourceRequest(typing.TypedDict, total=False): configSource: ConfigSource validateOnly: bool @typing.type_check_only -class SubmitConfigSourceResponse(typing_extensions.TypedDict, total=False): +class SubmitConfigSourceResponse(typing.TypedDict, total=False): serviceConfig: Service @typing.type_check_only -class SystemParameter(typing_extensions.TypedDict, total=False): +class SystemParameter(typing.TypedDict, total=False): httpHeader: str name: str urlQueryParameter: str @typing.type_check_only -class SystemParameterRule(typing_extensions.TypedDict, total=False): +class SystemParameterRule(typing.TypedDict, total=False): parameters: _list[SystemParameter] selector: str @typing.type_check_only -class SystemParameters(typing_extensions.TypedDict, total=False): +class SystemParameters(typing.TypedDict, total=False): rules: _list[SystemParameterRule] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TrafficPercentStrategy(typing_extensions.TypedDict, total=False): +class TrafficPercentStrategy(typing.TypedDict, total=False): percentages: dict[str, typing.Any] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class UndeleteServiceResponse(typing_extensions.TypedDict, total=False): +class UndeleteServiceResponse(typing.TypedDict, total=False): service: ManagedService @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): producerNotificationChannel: str requirements: _list[str] rules: _list[UsageRule] @typing.type_check_only -class UsageRule(typing_extensions.TypedDict, total=False): +class UsageRule(typing.TypedDict, total=False): allowUnregisteredCalls: bool selector: str skipServiceControl: bool diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi index 14630a82b..cdc418e8a 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi index 7686501a7..4a54c24de 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi @@ -1,46 +1,44 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddDnsRecordSetMetadata(typing_extensions.TypedDict, total=False): ... +class AddDnsRecordSetMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddDnsRecordSetRequest(typing_extensions.TypedDict, total=False): +class AddDnsRecordSetRequest(typing.TypedDict, total=False): consumerNetwork: str dnsRecordSet: DnsRecordSet zone: str @typing.type_check_only -class AddDnsZoneMetadata(typing_extensions.TypedDict, total=False): ... +class AddDnsZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddDnsZoneRequest(typing_extensions.TypedDict, total=False): +class AddDnsZoneRequest(typing.TypedDict, total=False): consumerNetwork: str dnsSuffix: str name: str @typing.type_check_only -class AddDnsZoneResponse(typing_extensions.TypedDict, total=False): +class AddDnsZoneResponse(typing.TypedDict, total=False): consumerPeeringZone: DnsZone producerPrivateZone: DnsZone @typing.type_check_only -class AddRolesMetadata(typing_extensions.TypedDict, total=False): ... +class AddRolesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddRolesRequest(typing_extensions.TypedDict, total=False): +class AddRolesRequest(typing.TypedDict, total=False): consumerNetwork: str policyBinding: _list[PolicyBinding] @typing.type_check_only -class AddRolesResponse(typing_extensions.TypedDict, total=False): +class AddRolesResponse(typing.TypedDict, total=False): policyBinding: _list[PolicyBinding] @typing.type_check_only -class AddSubnetworkRequest(typing_extensions.TypedDict, total=False): +class AddSubnetworkRequest(typing.TypedDict, total=False): allowSubnetCidrRoutesOverlap: bool checkServiceNetworkingUsePermission: bool computeIdempotencyWindow: str @@ -63,31 +61,29 @@ class AddSubnetworkRequest(typing_extensions.TypedDict, total=False): useCustomComputeIdempotencyWindow: bool @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): edition: str methods: _list[Method] mixins: _list[Mixin] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] version: str @typing.type_check_only -class Aspect(typing_extensions.TypedDict, total=False): +class Aspect(typing.TypedDict, total=False): kind: str rules: _list[AspectRule] spec: dict[str, typing.Any] @typing.type_check_only -class AspectRule(typing_extensions.TypedDict, total=False): +class AspectRule(typing.TypedDict, total=False): config: dict[str, typing.Any] selector: str @typing.type_check_only -class AuthProvider(typing_extensions.TypedDict, total=False): +class AuthProvider(typing.TypedDict, total=False): audiences: str authorizationUrl: str id: str @@ -96,28 +92,28 @@ class AuthProvider(typing_extensions.TypedDict, total=False): jwtLocations: _list[JwtLocation] @typing.type_check_only -class AuthRequirement(typing_extensions.TypedDict, total=False): +class AuthRequirement(typing.TypedDict, total=False): audiences: str providerId: str @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): providers: _list[AuthProvider] rules: _list[AuthenticationRule] @typing.type_check_only -class AuthenticationRule(typing_extensions.TypedDict, total=False): +class AuthenticationRule(typing.TypedDict, total=False): allowWithoutCredential: bool oauth: OAuthRequirements requirements: _list[AuthRequirement] selector: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): rules: _list[BackendRule] @typing.type_check_only -class BackendRule(typing_extensions.TypedDict, total=False): +class BackendRule(typing.TypedDict, total=False): address: str deadline: float disableAuth: bool @@ -126,58 +122,58 @@ class BackendRule(typing_extensions.TypedDict, total=False): minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] - pathTranslation: typing_extensions.Literal[ + pathTranslation: typing.Literal[ "PATH_TRANSLATION_UNSPECIFIED", "CONSTANT_ADDRESS", "APPEND_PATH_TO_ADDRESS" ] protocol: str selector: str @typing.type_check_only -class BatchingConfigProto(typing_extensions.TypedDict, total=False): +class BatchingConfigProto(typing.TypedDict, total=False): batchDescriptor: BatchingDescriptorProto thresholds: BatchingSettingsProto @typing.type_check_only -class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): +class BatchingDescriptorProto(typing.TypedDict, total=False): batchedField: str discriminatorFields: _list[str] subresponseField: str @typing.type_check_only -class BatchingSettingsProto(typing_extensions.TypedDict, total=False): +class BatchingSettingsProto(typing.TypedDict, total=False): delayThreshold: str elementCountLimit: int elementCountThreshold: int flowControlByteLimit: int flowControlElementLimit: int - flowControlLimitExceededBehavior: typing_extensions.Literal[ + flowControlLimitExceededBehavior: typing.Literal[ "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" ] requestByteLimit: int requestByteThreshold: str @typing.type_check_only -class Billing(typing_extensions.TypedDict, total=False): +class Billing(typing.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @typing.type_check_only -class BillingDestination(typing_extensions.TypedDict, total=False): +class BillingDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CleanupConnectionMetadata(typing_extensions.TypedDict, total=False): ... +class CleanupConnectionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientLibrarySettings(typing_extensions.TypedDict, total=False): +class ClientLibrarySettings(typing.TypedDict, total=False): cppSettings: CppSettings dotnetSettings: DotnetSettings goSettings: GoSettings javaSettings: JavaSettings - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -195,15 +191,15 @@ class ClientLibrarySettings(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CloudSQLConfig(typing_extensions.TypedDict, total=False): +class CloudSQLConfig(typing.TypedDict, total=False): service: str umbrellaNetwork: str umbrellaProject: str @typing.type_check_only -class CommonLanguageSettings(typing_extensions.TypedDict, total=False): +class CommonLanguageSettings(typing.TypedDict, total=False): destinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", "GITHUB", "PACKAGE_MANAGER" ] ] @@ -211,14 +207,14 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): network: str peering: str reservedPeeringRanges: _list[str] service: str @typing.type_check_only -class ConsumerConfig(typing_extensions.TypedDict, total=False): +class ConsumerConfig(typing.TypedDict, total=False): cloudsqlConfigs: _list[CloudSQLConfig] consumerExportCustomRoutes: bool consumerExportSubnetRoutesWithPublicIp: bool @@ -235,18 +231,18 @@ class ConsumerConfig(typing_extensions.TypedDict, total=False): vpcScReferenceArchitectureEnabled: bool @typing.type_check_only -class ConsumerConfigMetadata(typing_extensions.TypedDict, total=False): ... +class ConsumerConfigMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ConsumerProject(typing_extensions.TypedDict, total=False): +class ConsumerProject(typing.TypedDict, total=False): projectNum: str @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): rules: _list[ContextRule] @typing.type_check_only -class ContextRule(typing_extensions.TypedDict, total=False): +class ContextRule(typing.TypedDict, total=False): allowedRequestExtensions: _list[str] allowedResponseExtensions: _list[str] provided: _list[str] @@ -254,62 +250,62 @@ class ContextRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): environment: str methodPolicies: _list[MethodPolicy] @typing.type_check_only -class CppSettings(typing_extensions.TypedDict, total=False): +class CppSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class CustomError(typing_extensions.TypedDict, total=False): +class CustomError(typing.TypedDict, total=False): rules: _list[CustomErrorRule] types: _list[str] @typing.type_check_only -class CustomErrorRule(typing_extensions.TypedDict, total=False): +class CustomErrorRule(typing.TypedDict, total=False): isErrorType: bool selector: str @typing.type_check_only -class CustomHttpPattern(typing_extensions.TypedDict, total=False): +class CustomHttpPattern(typing.TypedDict, total=False): kind: str path: str @typing.type_check_only -class DeleteConnectionMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteConnectionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteConnectionRequest(typing_extensions.TypedDict, total=False): +class DeleteConnectionRequest(typing.TypedDict, total=False): consumerNetwork: str @typing.type_check_only -class DeletePeeredDnsDomainMetadata(typing_extensions.TypedDict, total=False): ... +class DeletePeeredDnsDomainMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableVpcServiceControlsRequest(typing_extensions.TypedDict, total=False): +class DisableVpcServiceControlsRequest(typing.TypedDict, total=False): consumerNetwork: str @typing.type_check_only -class DnsRecordSet(typing_extensions.TypedDict, total=False): +class DnsRecordSet(typing.TypedDict, total=False): data: _list[str] domain: str ttl: str type: str @typing.type_check_only -class DnsZone(typing_extensions.TypedDict, total=False): +class DnsZone(typing.TypedDict, total=False): dnsSuffix: str name: str @typing.type_check_only -class DnsZonePair(typing_extensions.TypedDict, total=False): +class DnsZonePair(typing.TypedDict, total=False): consumerPeeringZone: DnsZone producerPrivateZone: DnsZone @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): additionalIamInfo: str documentationRootUrl: str overview: str @@ -320,14 +316,14 @@ class Documentation(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class DocumentationRule(typing_extensions.TypedDict, total=False): +class DocumentationRule(typing.TypedDict, total=False): deprecationDescription: str description: str disableReplacementWords: str selector: str @typing.type_check_only -class DotnetSettings(typing_extensions.TypedDict, total=False): +class DotnetSettings(typing.TypedDict, total=False): common: CommonLanguageSettings forcedNamespaceAliases: _list[str] handwrittenSignatures: _list[str] @@ -336,45 +332,43 @@ class DotnetSettings(typing_extensions.TypedDict, total=False): renamedServices: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableVpcServiceControlsRequest(typing_extensions.TypedDict, total=False): +class EnableVpcServiceControlsRequest(typing.TypedDict, total=False): consumerNetwork: str @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): aliases: _list[str] allowCors: bool name: str target: str @typing.type_check_only -class Enum(typing_extensions.TypedDict, total=False): +class Enum(typing.TypedDict, total=False): edition: str enumvalue: _list[EnumValue] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class EnumValue(typing_extensions.TypedDict, total=False): +class EnumValue(typing.TypedDict, total=False): name: str number: int options: _list[Option] @typing.type_check_only -class ExperimentalFeatures(typing_extensions.TypedDict, total=False): +class ExperimentalFeatures(typing.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool unversionedPackageDisabled: bool @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -382,7 +376,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -411,54 +405,50 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FieldPolicy(typing_extensions.TypedDict, total=False): +class FieldPolicy(typing.TypedDict, total=False): resourcePermission: str resourceType: str selector: str @typing.type_check_only -class GetDnsZoneResponse(typing_extensions.TypedDict, total=False): +class GetDnsZoneResponse(typing.TypedDict, total=False): consumerPeeringZone: DnsZone producerPrivateZone: DnsZone @typing.type_check_only -class GoSettings(typing_extensions.TypedDict, total=False): +class GoSettings(typing.TypedDict, total=False): common: CommonLanguageSettings renamedServices: dict[str, typing.Any] @typing.type_check_only class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str ipPrefixLength: int name: str @typing.type_check_only -class GoogleCloudServicenetworkingV1betaConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudServicenetworkingV1betaConnection(typing.TypedDict, total=False): network: str peering: str reservedPeeringRanges: _list[str] service: str @typing.type_check_only -class GoogleCloudServicenetworkingV1betaSubnetwork( - typing_extensions.TypedDict, total=False -): +class GoogleCloudServicenetworkingV1betaSubnetwork(typing.TypedDict, total=False): ipCidrRange: str name: str network: str outsideAllocation: bool @typing.type_check_only -class Http(typing_extensions.TypedDict, total=False): +class Http(typing.TypedDict, total=False): fullyDecodeReservedExpansion: bool rules: _list[HttpRule] @typing.type_check_only -class HttpRule(typing_extensions.TypedDict, total=False): +class HttpRule(typing.TypedDict, total=False): additionalBindings: _list[HttpRule] body: str custom: CustomHttpPattern @@ -471,72 +461,72 @@ class HttpRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class JavaSettings(typing_extensions.TypedDict, total=False): +class JavaSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str serviceClassNames: dict[str, typing.Any] @typing.type_check_only -class JwtLocation(typing_extensions.TypedDict, total=False): +class JwtLocation(typing.TypedDict, total=False): cookie: str header: str query: str valuePrefix: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[Connection] @typing.type_check_only -class ListDnsRecordSetsResponse(typing_extensions.TypedDict, total=False): +class ListDnsRecordSetsResponse(typing.TypedDict, total=False): dnsRecordSets: _list[DnsRecordSet] @typing.type_check_only -class ListDnsZonesResponse(typing_extensions.TypedDict, total=False): +class ListDnsZonesResponse(typing.TypedDict, total=False): dnsZonePairs: _list[DnsZonePair] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPeeredDnsDomainsResponse(typing_extensions.TypedDict, total=False): +class ListPeeredDnsDomainsResponse(typing.TypedDict, total=False): peeredDnsDomains: _list[PeeredDnsDomain] @typing.type_check_only -class LogDescriptor(typing_extensions.TypedDict, total=False): +class LogDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] name: str @typing.type_check_only -class Logging(typing_extensions.TypedDict, total=False): +class Logging(typing.TypedDict, total=False): consumerDestinations: _list[LoggingDestination] producerDestinations: _list[LoggingDestination] @typing.type_check_only -class LoggingDestination(typing_extensions.TypedDict, total=False): +class LoggingDestination(typing.TypedDict, total=False): logs: _list[str] monitoredResource: str @typing.type_check_only -class LongRunning(typing_extensions.TypedDict, total=False): +class LongRunning(typing.TypedDict, total=False): initialPollDelay: str maxPollDelay: str pollDelayMultiplier: float totalPollTimeout: str @typing.type_check_only -class Method(typing_extensions.TypedDict, total=False): +class Method(typing.TypedDict, total=False): edition: str name: str options: _list[Option] @@ -544,28 +534,26 @@ class Method(typing_extensions.TypedDict, total=False): requestTypeUrl: str responseStreaming: bool responseTypeUrl: str - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class MethodPolicy(typing_extensions.TypedDict, total=False): +class MethodPolicy(typing.TypedDict, total=False): requestPolicies: _list[FieldPolicy] selector: str @typing.type_check_only -class MethodSettings(typing_extensions.TypedDict, total=False): +class MethodSettings(typing.TypedDict, total=False): autoPopulatedFields: _list[str] batching: BatchingConfigProto longRunning: LongRunning selector: str @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -576,14 +564,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -594,9 +582,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -608,7 +596,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -617,21 +605,23 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRule(typing_extensions.TypedDict, total=False): +class MetricRule(typing.TypedDict, total=False): + agenticMetricCosts: dict[str, typing.Any] metricCosts: dict[str, typing.Any] + nonagenticMetricCosts: dict[str, typing.Any] selector: str @typing.type_check_only -class Mixin(typing_extensions.TypedDict, total=False): +class Mixin(typing.TypedDict, total=False): name: str root: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -645,25 +635,25 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Monitoring(typing_extensions.TypedDict, total=False): +class Monitoring(typing.TypedDict, total=False): consumerDestinations: _list[MonitoringDestination] producerDestinations: _list[MonitoringDestination] @typing.type_check_only -class MonitoringDestination(typing_extensions.TypedDict, total=False): +class MonitoringDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class NodeSettings(typing_extensions.TypedDict, total=False): +class NodeSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class OAuthRequirements(typing_extensions.TypedDict, total=False): +class OAuthRequirements(typing.TypedDict, total=False): canonicalScopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -671,39 +661,39 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): content: str name: str subpages: _list[Page] @typing.type_check_only -class PartialDeleteConnectionMetadata(typing_extensions.TypedDict, total=False): ... +class PartialDeleteConnectionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class PeeredDnsDomain(typing_extensions.TypedDict, total=False): +class PeeredDnsDomain(typing.TypedDict, total=False): dnsSuffix: str name: str @typing.type_check_only -class PeeredDnsDomainMetadata(typing_extensions.TypedDict, total=False): ... +class PeeredDnsDomainMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class PhpSettings(typing_extensions.TypedDict, total=False): +class PhpSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str @typing.type_check_only -class PolicyBinding(typing_extensions.TypedDict, total=False): +class PolicyBinding(typing.TypedDict, total=False): member: str role: str @typing.type_check_only -class Publishing(typing_extensions.TypedDict, total=False): +class Publishing(typing.TypedDict, total=False): apiShortName: str codeownerGithubTeams: _list[str] docTagPrefix: str @@ -712,7 +702,7 @@ class Publishing(typing_extensions.TypedDict, total=False): librarySettings: _list[ClientLibrarySettings] methodSettings: _list[MethodSettings] newIssueUri: str - organization: typing_extensions.Literal[ + organization: typing.Literal[ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", "CLOUD", "ADS", @@ -727,17 +717,17 @@ class Publishing(typing_extensions.TypedDict, total=False): restReferenceDocumentationUri: str @typing.type_check_only -class PythonSettings(typing_extensions.TypedDict, total=False): +class PythonSettings(typing.TypedDict, total=False): common: CommonLanguageSettings experimentalFeatures: ExperimentalFeatures @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limits: _list[QuotaLimit] metricRules: _list[MetricRule] @typing.type_check_only -class QuotaLimit(typing_extensions.TypedDict, total=False): +class QuotaLimit(typing.TypedDict, total=False): defaultLimit: str description: str displayName: str @@ -746,79 +736,84 @@ class QuotaLimit(typing_extensions.TypedDict, total=False): maxLimit: str metric: str name: str + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str values: dict[str, typing.Any] @typing.type_check_only -class Range(typing_extensions.TypedDict, total=False): +class Range(typing.TypedDict, total=False): ipCidrRange: str network: str @typing.type_check_only -class RangeReservation(typing_extensions.TypedDict, total=False): +class RangeReservation(typing.TypedDict, total=False): ipPrefixLength: int requestedRanges: _list[str] secondaryRangeIpPrefixLengths: _list[int] subnetworkCandidates: _list[Subnetwork] @typing.type_check_only -class RemoveDnsRecordSetMetadata(typing_extensions.TypedDict, total=False): ... +class RemoveDnsRecordSetMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveDnsRecordSetRequest(typing_extensions.TypedDict, total=False): +class RemoveDnsRecordSetRequest(typing.TypedDict, total=False): consumerNetwork: str dnsRecordSet: DnsRecordSet zone: str @typing.type_check_only -class RemoveDnsRecordSetResponse(typing_extensions.TypedDict, total=False): ... +class RemoveDnsRecordSetResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveDnsZoneMetadata(typing_extensions.TypedDict, total=False): ... +class RemoveDnsZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveDnsZoneRequest(typing_extensions.TypedDict, total=False): +class RemoveDnsZoneRequest(typing.TypedDict, total=False): consumerNetwork: str name: str @typing.type_check_only -class RemoveDnsZoneResponse(typing_extensions.TypedDict, total=False): ... +class RemoveDnsZoneResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): destRange: str name: str network: str nextHopGateway: str @typing.type_check_only -class RubySettings(typing_extensions.TypedDict, total=False): +class RubySettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class SearchRangeRequest(typing_extensions.TypedDict, total=False): +class SearchRangeRequest(typing.TypedDict, total=False): ipPrefixLength: int network: str @typing.type_check_only -class SecondaryIpRange(typing_extensions.TypedDict, total=False): +class SecondaryIpRange(typing.TypedDict, total=False): ipCidrRange: str rangeName: str @typing.type_check_only -class SecondaryIpRangeSpec(typing_extensions.TypedDict, total=False): +class SecondaryIpRangeSpec(typing.TypedDict, total=False): ipPrefixLength: int outsideAllocationPublicIpRange: str rangeName: str requestedAddress: str @typing.type_check_only -class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): +class SelectiveGapicGeneration(typing.TypedDict, total=False): generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): apis: _list[Api] aspects: _list[Aspect] authentication: Authentication @@ -850,21 +845,21 @@ class Service(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SourceInfo(typing_extensions.TypedDict, total=False): +class SourceInfo(typing.TypedDict, total=False): sourceFiles: _list[dict[str, typing.Any]] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subnetwork(typing_extensions.TypedDict, total=False): +class Subnetwork(typing.TypedDict, total=False): ipCidrRange: str name: str network: str @@ -873,60 +868,58 @@ class Subnetwork(typing_extensions.TypedDict, total=False): secondaryIpRanges: _list[SecondaryIpRange] @typing.type_check_only -class SystemParameter(typing_extensions.TypedDict, total=False): +class SystemParameter(typing.TypedDict, total=False): httpHeader: str name: str urlQueryParameter: str @typing.type_check_only -class SystemParameterRule(typing_extensions.TypedDict, total=False): +class SystemParameterRule(typing.TypedDict, total=False): parameters: _list[SystemParameter] selector: str @typing.type_check_only -class SystemParameters(typing_extensions.TypedDict, total=False): +class SystemParameters(typing.TypedDict, total=False): rules: _list[SystemParameterRule] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class UpdateConsumerConfigRequest(typing_extensions.TypedDict, total=False): +class UpdateConsumerConfigRequest(typing.TypedDict, total=False): consumerConfig: ConsumerConfig @typing.type_check_only -class UpdateDnsRecordSetMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateDnsRecordSetMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateDnsRecordSetRequest(typing_extensions.TypedDict, total=False): +class UpdateDnsRecordSetRequest(typing.TypedDict, total=False): consumerNetwork: str existingDnsRecordSet: DnsRecordSet newDnsRecordSet: DnsRecordSet zone: str @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): producerNotificationChannel: str requirements: _list[str] rules: _list[UsageRule] @typing.type_check_only -class UsageRule(typing_extensions.TypedDict, total=False): +class UsageRule(typing.TypedDict, total=False): allowUnregisteredCalls: bool selector: str skipServiceControl: bool @typing.type_check_only -class ValidateConsumerConfigRequest(typing_extensions.TypedDict, total=False): +class ValidateConsumerConfigRequest(typing.TypedDict, total=False): checkServiceNetworkingUsePermission: bool consumerNetwork: str consumerProject: ConsumerProject @@ -934,10 +927,10 @@ class ValidateConsumerConfigRequest(typing_extensions.TypedDict, total=False): validateNetwork: bool @typing.type_check_only -class ValidateConsumerConfigResponse(typing_extensions.TypedDict, total=False): +class ValidateConsumerConfigResponse(typing.TypedDict, total=False): existingSubnetworkCandidates: _list[Subnetwork] isValid: bool - validationError: typing_extensions.Literal[ + validationError: typing.Literal[ "VALIDATION_ERROR_UNSPECIFIED", "VALIDATION_NOT_REQUESTED", "SERVICE_NETWORKING_NOT_ENABLED", @@ -957,5 +950,5 @@ class ValidateConsumerConfigResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VpcServiceControls(typing_extensions.TypedDict, total=False): +class VpcServiceControls(typing.TypedDict, total=False): enabled: bool diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1beta/resources.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1beta/resources.pyi index c64da6ada..9f2116d93 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi index cf24d6838..17a64b181 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddDnsRecordSetMetadata(typing_extensions.TypedDict, total=False): ... +class AddDnsRecordSetMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddDnsZoneMetadata(typing_extensions.TypedDict, total=False): ... +class AddDnsZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddDnsZoneResponse(typing_extensions.TypedDict, total=False): +class AddDnsZoneResponse(typing.TypedDict, total=False): consumerPeeringZone: DnsZone producerPrivateZone: DnsZone @typing.type_check_only -class AddRolesMetadata(typing_extensions.TypedDict, total=False): ... +class AddRolesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddRolesResponse(typing_extensions.TypedDict, total=False): +class AddRolesResponse(typing.TypedDict, total=False): policyBinding: _list[PolicyBinding] @typing.type_check_only -class AddSubnetworkRequest(typing_extensions.TypedDict, total=False): +class AddSubnetworkRequest(typing.TypedDict, total=False): consumer: str consumerNetwork: str description: str @@ -34,31 +32,29 @@ class AddSubnetworkRequest(typing_extensions.TypedDict, total=False): subnetworkUsers: _list[str] @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): edition: str methods: _list[Method] mixins: _list[Mixin] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] version: str @typing.type_check_only -class Aspect(typing_extensions.TypedDict, total=False): +class Aspect(typing.TypedDict, total=False): kind: str rules: _list[AspectRule] spec: dict[str, typing.Any] @typing.type_check_only -class AspectRule(typing_extensions.TypedDict, total=False): +class AspectRule(typing.TypedDict, total=False): config: dict[str, typing.Any] selector: str @typing.type_check_only -class AuthProvider(typing_extensions.TypedDict, total=False): +class AuthProvider(typing.TypedDict, total=False): audiences: str authorizationUrl: str id: str @@ -67,28 +63,28 @@ class AuthProvider(typing_extensions.TypedDict, total=False): jwtLocations: _list[JwtLocation] @typing.type_check_only -class AuthRequirement(typing_extensions.TypedDict, total=False): +class AuthRequirement(typing.TypedDict, total=False): audiences: str providerId: str @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): providers: _list[AuthProvider] rules: _list[AuthenticationRule] @typing.type_check_only -class AuthenticationRule(typing_extensions.TypedDict, total=False): +class AuthenticationRule(typing.TypedDict, total=False): allowWithoutCredential: bool oauth: OAuthRequirements requirements: _list[AuthRequirement] selector: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): rules: _list[BackendRule] @typing.type_check_only -class BackendRule(typing_extensions.TypedDict, total=False): +class BackendRule(typing.TypedDict, total=False): address: str deadline: float disableAuth: bool @@ -97,55 +93,55 @@ class BackendRule(typing_extensions.TypedDict, total=False): minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] - pathTranslation: typing_extensions.Literal[ + pathTranslation: typing.Literal[ "PATH_TRANSLATION_UNSPECIFIED", "CONSTANT_ADDRESS", "APPEND_PATH_TO_ADDRESS" ] protocol: str selector: str @typing.type_check_only -class BatchingConfigProto(typing_extensions.TypedDict, total=False): +class BatchingConfigProto(typing.TypedDict, total=False): batchDescriptor: BatchingDescriptorProto thresholds: BatchingSettingsProto @typing.type_check_only -class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): +class BatchingDescriptorProto(typing.TypedDict, total=False): batchedField: str discriminatorFields: _list[str] subresponseField: str @typing.type_check_only -class BatchingSettingsProto(typing_extensions.TypedDict, total=False): +class BatchingSettingsProto(typing.TypedDict, total=False): delayThreshold: str elementCountLimit: int elementCountThreshold: int flowControlByteLimit: int flowControlElementLimit: int - flowControlLimitExceededBehavior: typing_extensions.Literal[ + flowControlLimitExceededBehavior: typing.Literal[ "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" ] requestByteLimit: int requestByteThreshold: str @typing.type_check_only -class Billing(typing_extensions.TypedDict, total=False): +class Billing(typing.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @typing.type_check_only -class BillingDestination(typing_extensions.TypedDict, total=False): +class BillingDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class CleanupConnectionMetadata(typing_extensions.TypedDict, total=False): ... +class CleanupConnectionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientLibrarySettings(typing_extensions.TypedDict, total=False): +class ClientLibrarySettings(typing.TypedDict, total=False): cppSettings: CppSettings dotnetSettings: DotnetSettings goSettings: GoSettings javaSettings: JavaSettings - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -163,15 +159,15 @@ class ClientLibrarySettings(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CloudSQLConfig(typing_extensions.TypedDict, total=False): +class CloudSQLConfig(typing.TypedDict, total=False): service: str umbrellaNetwork: str umbrellaProject: str @typing.type_check_only -class CommonLanguageSettings(typing_extensions.TypedDict, total=False): +class CommonLanguageSettings(typing.TypedDict, total=False): destinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", "GITHUB", "PACKAGE_MANAGER" ] ] @@ -179,14 +175,14 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): network: str peering: str reservedPeeringRanges: _list[str] service: str @typing.type_check_only -class ConsumerConfig(typing_extensions.TypedDict, total=False): +class ConsumerConfig(typing.TypedDict, total=False): cloudsqlConfigs: _list[CloudSQLConfig] consumerExportCustomRoutes: bool consumerExportSubnetRoutesWithPublicIp: bool @@ -203,14 +199,14 @@ class ConsumerConfig(typing_extensions.TypedDict, total=False): vpcScReferenceArchitectureEnabled: bool @typing.type_check_only -class ConsumerConfigMetadata(typing_extensions.TypedDict, total=False): ... +class ConsumerConfigMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): rules: _list[ContextRule] @typing.type_check_only -class ContextRule(typing_extensions.TypedDict, total=False): +class ContextRule(typing.TypedDict, total=False): allowedRequestExtensions: _list[str] allowedResponseExtensions: _list[str] provided: _list[str] @@ -218,49 +214,49 @@ class ContextRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): environment: str methodPolicies: _list[MethodPolicy] @typing.type_check_only -class CppSettings(typing_extensions.TypedDict, total=False): +class CppSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class CustomError(typing_extensions.TypedDict, total=False): +class CustomError(typing.TypedDict, total=False): rules: _list[CustomErrorRule] types: _list[str] @typing.type_check_only -class CustomErrorRule(typing_extensions.TypedDict, total=False): +class CustomErrorRule(typing.TypedDict, total=False): isErrorType: bool selector: str @typing.type_check_only -class CustomHttpPattern(typing_extensions.TypedDict, total=False): +class CustomHttpPattern(typing.TypedDict, total=False): kind: str path: str @typing.type_check_only -class DeleteConnectionMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteConnectionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DeletePeeredDnsDomainMetadata(typing_extensions.TypedDict, total=False): ... +class DeletePeeredDnsDomainMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DnsRecordSet(typing_extensions.TypedDict, total=False): +class DnsRecordSet(typing.TypedDict, total=False): data: _list[str] domain: str ttl: str type: str @typing.type_check_only -class DnsZone(typing_extensions.TypedDict, total=False): +class DnsZone(typing.TypedDict, total=False): dnsSuffix: str name: str @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): additionalIamInfo: str documentationRootUrl: str overview: str @@ -271,14 +267,14 @@ class Documentation(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class DocumentationRule(typing_extensions.TypedDict, total=False): +class DocumentationRule(typing.TypedDict, total=False): deprecationDescription: str description: str disableReplacementWords: str selector: str @typing.type_check_only -class DotnetSettings(typing_extensions.TypedDict, total=False): +class DotnetSettings(typing.TypedDict, total=False): common: CommonLanguageSettings forcedNamespaceAliases: _list[str] handwrittenSignatures: _list[str] @@ -287,38 +283,36 @@ class DotnetSettings(typing_extensions.TypedDict, total=False): renamedServices: dict[str, typing.Any] @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): aliases: _list[str] allowCors: bool name: str target: str @typing.type_check_only -class Enum(typing_extensions.TypedDict, total=False): +class Enum(typing.TypedDict, total=False): edition: str enumvalue: _list[EnumValue] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class EnumValue(typing_extensions.TypedDict, total=False): +class EnumValue(typing.TypedDict, total=False): name: str number: int options: _list[Option] @typing.type_check_only -class ExperimentalFeatures(typing_extensions.TypedDict, total=False): +class ExperimentalFeatures(typing.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool unversionedPackageDisabled: bool @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -326,7 +320,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -355,49 +349,45 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FieldPolicy(typing_extensions.TypedDict, total=False): +class FieldPolicy(typing.TypedDict, total=False): resourcePermission: str resourceType: str selector: str @typing.type_check_only -class GoSettings(typing_extensions.TypedDict, total=False): +class GoSettings(typing.TypedDict, total=False): common: CommonLanguageSettings renamedServices: dict[str, typing.Any] @typing.type_check_only class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): address: str ipPrefixLength: int name: str @typing.type_check_only -class GoogleCloudServicenetworkingV1betaConnection( - typing_extensions.TypedDict, total=False -): +class GoogleCloudServicenetworkingV1betaConnection(typing.TypedDict, total=False): network: str peering: str reservedPeeringRanges: _list[str] service: str @typing.type_check_only -class GoogleCloudServicenetworkingV1betaSubnetwork( - typing_extensions.TypedDict, total=False -): +class GoogleCloudServicenetworkingV1betaSubnetwork(typing.TypedDict, total=False): ipCidrRange: str name: str network: str outsideAllocation: bool @typing.type_check_only -class Http(typing_extensions.TypedDict, total=False): +class Http(typing.TypedDict, total=False): fullyDecodeReservedExpansion: bool rules: _list[HttpRule] @typing.type_check_only -class HttpRule(typing_extensions.TypedDict, total=False): +class HttpRule(typing.TypedDict, total=False): additionalBindings: _list[HttpRule] body: str custom: CustomHttpPattern @@ -410,54 +400,54 @@ class HttpRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class JavaSettings(typing_extensions.TypedDict, total=False): +class JavaSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str serviceClassNames: dict[str, typing.Any] @typing.type_check_only -class JwtLocation(typing_extensions.TypedDict, total=False): +class JwtLocation(typing.TypedDict, total=False): cookie: str header: str query: str valuePrefix: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class ListConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListConnectionsResponse(typing.TypedDict, total=False): connections: _list[GoogleCloudServicenetworkingV1betaConnection] @typing.type_check_only -class LogDescriptor(typing_extensions.TypedDict, total=False): +class LogDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] name: str @typing.type_check_only -class Logging(typing_extensions.TypedDict, total=False): +class Logging(typing.TypedDict, total=False): consumerDestinations: _list[LoggingDestination] producerDestinations: _list[LoggingDestination] @typing.type_check_only -class LoggingDestination(typing_extensions.TypedDict, total=False): +class LoggingDestination(typing.TypedDict, total=False): logs: _list[str] monitoredResource: str @typing.type_check_only -class LongRunning(typing_extensions.TypedDict, total=False): +class LongRunning(typing.TypedDict, total=False): initialPollDelay: str maxPollDelay: str pollDelayMultiplier: float totalPollTimeout: str @typing.type_check_only -class Method(typing_extensions.TypedDict, total=False): +class Method(typing.TypedDict, total=False): edition: str name: str options: _list[Option] @@ -465,28 +455,26 @@ class Method(typing_extensions.TypedDict, total=False): requestTypeUrl: str responseStreaming: bool responseTypeUrl: str - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class MethodPolicy(typing_extensions.TypedDict, total=False): +class MethodPolicy(typing.TypedDict, total=False): requestPolicies: _list[FieldPolicy] selector: str @typing.type_check_only -class MethodSettings(typing_extensions.TypedDict, total=False): +class MethodSettings(typing.TypedDict, total=False): autoPopulatedFields: _list[str] batching: BatchingConfigProto longRunning: LongRunning selector: str @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -497,14 +485,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -515,9 +503,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -529,7 +517,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -538,21 +526,23 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRule(typing_extensions.TypedDict, total=False): +class MetricRule(typing.TypedDict, total=False): + agenticMetricCosts: dict[str, typing.Any] metricCosts: dict[str, typing.Any] + nonagenticMetricCosts: dict[str, typing.Any] selector: str @typing.type_check_only -class Mixin(typing_extensions.TypedDict, total=False): +class Mixin(typing.TypedDict, total=False): name: str root: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -566,25 +556,25 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Monitoring(typing_extensions.TypedDict, total=False): +class Monitoring(typing.TypedDict, total=False): consumerDestinations: _list[MonitoringDestination] producerDestinations: _list[MonitoringDestination] @typing.type_check_only -class MonitoringDestination(typing_extensions.TypedDict, total=False): +class MonitoringDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class NodeSettings(typing_extensions.TypedDict, total=False): +class NodeSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class OAuthRequirements(typing_extensions.TypedDict, total=False): +class OAuthRequirements(typing.TypedDict, total=False): canonicalScopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -592,39 +582,39 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): content: str name: str subpages: _list[Page] @typing.type_check_only -class PartialDeleteConnectionMetadata(typing_extensions.TypedDict, total=False): ... +class PartialDeleteConnectionMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class PeeredDnsDomain(typing_extensions.TypedDict, total=False): +class PeeredDnsDomain(typing.TypedDict, total=False): dnsSuffix: str name: str @typing.type_check_only -class PeeredDnsDomainMetadata(typing_extensions.TypedDict, total=False): ... +class PeeredDnsDomainMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class PhpSettings(typing_extensions.TypedDict, total=False): +class PhpSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str @typing.type_check_only -class PolicyBinding(typing_extensions.TypedDict, total=False): +class PolicyBinding(typing.TypedDict, total=False): member: str role: str @typing.type_check_only -class Publishing(typing_extensions.TypedDict, total=False): +class Publishing(typing.TypedDict, total=False): apiShortName: str codeownerGithubTeams: _list[str] docTagPrefix: str @@ -633,7 +623,7 @@ class Publishing(typing_extensions.TypedDict, total=False): librarySettings: _list[ClientLibrarySettings] methodSettings: _list[MethodSettings] newIssueUri: str - organization: typing_extensions.Literal[ + organization: typing.Literal[ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", "CLOUD", "ADS", @@ -648,17 +638,17 @@ class Publishing(typing_extensions.TypedDict, total=False): restReferenceDocumentationUri: str @typing.type_check_only -class PythonSettings(typing_extensions.TypedDict, total=False): +class PythonSettings(typing.TypedDict, total=False): common: CommonLanguageSettings experimentalFeatures: ExperimentalFeatures @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limits: _list[QuotaLimit] metricRules: _list[MetricRule] @typing.type_check_only -class QuotaLimit(typing_extensions.TypedDict, total=False): +class QuotaLimit(typing.TypedDict, total=False): defaultLimit: str description: str displayName: str @@ -667,54 +657,59 @@ class QuotaLimit(typing_extensions.TypedDict, total=False): maxLimit: str metric: str name: str + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str values: dict[str, typing.Any] @typing.type_check_only -class Range(typing_extensions.TypedDict, total=False): +class Range(typing.TypedDict, total=False): ipCidrRange: str network: str @typing.type_check_only -class RemoveDnsRecordSetMetadata(typing_extensions.TypedDict, total=False): ... +class RemoveDnsRecordSetMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveDnsRecordSetResponse(typing_extensions.TypedDict, total=False): ... +class RemoveDnsRecordSetResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveDnsZoneMetadata(typing_extensions.TypedDict, total=False): ... +class RemoveDnsZoneMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveDnsZoneResponse(typing_extensions.TypedDict, total=False): ... +class RemoveDnsZoneResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class Route(typing_extensions.TypedDict, total=False): +class Route(typing.TypedDict, total=False): destRange: str name: str network: str nextHopGateway: str @typing.type_check_only -class RubySettings(typing_extensions.TypedDict, total=False): +class RubySettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class SearchRangeRequest(typing_extensions.TypedDict, total=False): +class SearchRangeRequest(typing.TypedDict, total=False): ipPrefixLength: int network: str @typing.type_check_only -class SecondaryIpRange(typing_extensions.TypedDict, total=False): +class SecondaryIpRange(typing.TypedDict, total=False): ipCidrRange: str rangeName: str @typing.type_check_only -class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): +class SelectiveGapicGeneration(typing.TypedDict, total=False): generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): apis: _list[Api] aspects: _list[Aspect] authentication: Authentication @@ -746,21 +741,21 @@ class Service(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SourceInfo(typing_extensions.TypedDict, total=False): +class SourceInfo(typing.TypedDict, total=False): sourceFiles: _list[dict[str, typing.Any]] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subnetwork(typing_extensions.TypedDict, total=False): +class Subnetwork(typing.TypedDict, total=False): ipCidrRange: str name: str network: str @@ -769,47 +764,45 @@ class Subnetwork(typing_extensions.TypedDict, total=False): secondaryIpRanges: _list[SecondaryIpRange] @typing.type_check_only -class SystemParameter(typing_extensions.TypedDict, total=False): +class SystemParameter(typing.TypedDict, total=False): httpHeader: str name: str urlQueryParameter: str @typing.type_check_only -class SystemParameterRule(typing_extensions.TypedDict, total=False): +class SystemParameterRule(typing.TypedDict, total=False): parameters: _list[SystemParameter] selector: str @typing.type_check_only -class SystemParameters(typing_extensions.TypedDict, total=False): +class SystemParameters(typing.TypedDict, total=False): rules: _list[SystemParameterRule] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class UpdateDnsRecordSetMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateDnsRecordSetMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): producerNotificationChannel: str requirements: _list[str] rules: _list[UsageRule] @typing.type_check_only -class UsageRule(typing_extensions.TypedDict, total=False): +class UsageRule(typing.TypedDict, total=False): allowUnregisteredCalls: bool selector: str skipServiceControl: bool @typing.type_check_only -class VpcServiceControls(typing_extensions.TypedDict, total=False): +class VpcServiceControls(typing.TypedDict, total=False): enabled: bool diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi index fe6a5ac4a..66e13ae24 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi index 0124d049d..fdb4e4f74 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddEnableRulesMetadata(typing_extensions.TypedDict, total=False): ... +class AddEnableRulesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddEnableRulesResponse(typing_extensions.TypedDict, total=False): +class AddEnableRulesResponse(typing.TypedDict, total=False): addedValues: _list[str] parent: str @typing.type_check_only -class AdminQuotaPolicy(typing_extensions.TypedDict, total=False): +class AdminQuotaPolicy(typing.TypedDict, total=False): container: str dimensions: dict[str, typing.Any] metric: str @@ -22,55 +20,52 @@ class AdminQuotaPolicy(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class Analysis(typing_extensions.TypedDict, total=False): - analysis: AnalysisResult - analysisType: typing_extensions.Literal[ +class Analysis(typing.TypedDict, total=False): + analysisResult: AnalysisResult + analysisType: typing.Literal[ "ANALYSIS_TYPE_UNSPECIFIED", "ANALYSIS_TYPE_DEPENDENCY", "ANALYSIS_TYPE_RESOURCE_USAGE", - "ANALYSIS_TYPE_RESOURCE_EXISTENCE", ] displayName: str service: str @typing.type_check_only -class AnalysisResult(typing_extensions.TypedDict, total=False): +class AnalysisResult(typing.TypedDict, total=False): blockers: _list[Impact] warnings: _list[Impact] @typing.type_check_only -class AnalyzeConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class AnalyzeConsumerPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AnalyzeConsumerPolicyResponse(typing_extensions.TypedDict, total=False): +class AnalyzeConsumerPolicyResponse(typing.TypedDict, total=False): analysis: _list[Analysis] @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): edition: str methods: _list[Method] mixins: _list[Mixin] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] version: str @typing.type_check_only -class Aspect(typing_extensions.TypedDict, total=False): +class Aspect(typing.TypedDict, total=False): kind: str rules: _list[AspectRule] spec: dict[str, typing.Any] @typing.type_check_only -class AspectRule(typing_extensions.TypedDict, total=False): +class AspectRule(typing.TypedDict, total=False): config: dict[str, typing.Any] selector: str @typing.type_check_only -class AuthProvider(typing_extensions.TypedDict, total=False): +class AuthProvider(typing.TypedDict, total=False): audiences: str authorizationUrl: str id: str @@ -79,28 +74,28 @@ class AuthProvider(typing_extensions.TypedDict, total=False): jwtLocations: _list[JwtLocation] @typing.type_check_only -class AuthRequirement(typing_extensions.TypedDict, total=False): +class AuthRequirement(typing.TypedDict, total=False): audiences: str providerId: str @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): providers: _list[AuthProvider] rules: _list[AuthenticationRule] @typing.type_check_only -class AuthenticationRule(typing_extensions.TypedDict, total=False): +class AuthenticationRule(typing.TypedDict, total=False): allowWithoutCredential: bool oauth: OAuthRequirements requirements: _list[AuthRequirement] selector: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): rules: _list[BackendRule] @typing.type_check_only -class BackendRule(typing_extensions.TypedDict, total=False): +class BackendRule(typing.TypedDict, total=False): address: str deadline: float disableAuth: bool @@ -109,76 +104,76 @@ class BackendRule(typing_extensions.TypedDict, total=False): minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] - pathTranslation: typing_extensions.Literal[ + pathTranslation: typing.Literal[ "PATH_TRANSLATION_UNSPECIFIED", "CONSTANT_ADDRESS", "APPEND_PATH_TO_ADDRESS" ] protocol: str selector: str @typing.type_check_only -class BatchCreateAdminOverridesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateAdminOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class BatchCreateConsumerOverridesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateConsumerOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class BatchEnableServicesRequest(typing_extensions.TypedDict, total=False): +class BatchEnableServicesRequest(typing.TypedDict, total=False): serviceIds: _list[str] @typing.type_check_only -class BatchEnableServicesResponse(typing_extensions.TypedDict, total=False): +class BatchEnableServicesResponse(typing.TypedDict, total=False): failures: _list[EnableFailure] services: _list[GoogleApiServiceusageV1Service] @typing.type_check_only -class BatchGetServicesResponse(typing_extensions.TypedDict, total=False): +class BatchGetServicesResponse(typing.TypedDict, total=False): services: _list[GoogleApiServiceusageV1Service] @typing.type_check_only -class BatchingConfigProto(typing_extensions.TypedDict, total=False): +class BatchingConfigProto(typing.TypedDict, total=False): batchDescriptor: BatchingDescriptorProto thresholds: BatchingSettingsProto @typing.type_check_only -class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): +class BatchingDescriptorProto(typing.TypedDict, total=False): batchedField: str discriminatorFields: _list[str] subresponseField: str @typing.type_check_only -class BatchingSettingsProto(typing_extensions.TypedDict, total=False): +class BatchingSettingsProto(typing.TypedDict, total=False): delayThreshold: str elementCountLimit: int elementCountThreshold: int flowControlByteLimit: int flowControlElementLimit: int - flowControlLimitExceededBehavior: typing_extensions.Literal[ + flowControlLimitExceededBehavior: typing.Literal[ "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" ] requestByteLimit: int requestByteThreshold: str @typing.type_check_only -class Billing(typing_extensions.TypedDict, total=False): +class Billing(typing.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @typing.type_check_only -class BillingDestination(typing_extensions.TypedDict, total=False): +class BillingDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientLibrarySettings(typing_extensions.TypedDict, total=False): +class ClientLibrarySettings(typing.TypedDict, total=False): cppSettings: CppSettings dotnetSettings: DotnetSettings goSettings: GoSettings javaSettings: JavaSettings - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -196,9 +191,9 @@ class ClientLibrarySettings(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CommonLanguageSettings(typing_extensions.TypedDict, total=False): +class CommonLanguageSettings(typing.TypedDict, total=False): destinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", "GITHUB", "PACKAGE_MANAGER" ] ] @@ -206,32 +201,32 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only -class ConsumerPolicy(typing_extensions.TypedDict, total=False): - annotations: dict[str, typing.Any] +class ConsumerPolicy(typing.TypedDict, total=False): + createTime: str enableRules: _list[EnableRule] etag: str name: str updateTime: str @typing.type_check_only -class ContentSecurity(typing_extensions.TypedDict, total=False): +class ContentSecurity(typing.TypedDict, total=False): contentSecurityProviders: _list[ContentSecurityProvider] @typing.type_check_only -class ContentSecurityPolicy(typing_extensions.TypedDict, total=False): +class ContentSecurityPolicy(typing.TypedDict, total=False): mcpContentSecurity: ContentSecurity name: str @typing.type_check_only -class ContentSecurityProvider(typing_extensions.TypedDict, total=False): +class ContentSecurityProvider(typing.TypedDict, total=False): name: str @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): rules: _list[ContextRule] @typing.type_check_only -class ContextRule(typing_extensions.TypedDict, total=False): +class ContextRule(typing.TypedDict, total=False): allowedRequestExtensions: _list[str] allowedResponseExtensions: _list[str] provided: _list[str] @@ -239,48 +234,48 @@ class ContextRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): environment: str methodPolicies: _list[MethodPolicy] @typing.type_check_only -class CppSettings(typing_extensions.TypedDict, total=False): +class CppSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class CreateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class CreateAdminQuotaPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomError(typing_extensions.TypedDict, total=False): +class CustomError(typing.TypedDict, total=False): rules: _list[CustomErrorRule] types: _list[str] @typing.type_check_only -class CustomErrorRule(typing_extensions.TypedDict, total=False): +class CustomErrorRule(typing.TypedDict, total=False): isErrorType: bool selector: str @typing.type_check_only -class CustomHttpPattern(typing_extensions.TypedDict, total=False): +class CustomHttpPattern(typing.TypedDict, total=False): kind: str path: str @typing.type_check_only -class DeleteAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteAdminQuotaPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableServiceRequest(typing_extensions.TypedDict, total=False): - checkIfServiceHasUsage: typing_extensions.Literal[ +class DisableServiceRequest(typing.TypedDict, total=False): + checkIfServiceHasUsage: typing.Literal[ "CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED", "SKIP", "CHECK" ] disableDependentServices: bool @typing.type_check_only -class DisableServiceResponse(typing_extensions.TypedDict, total=False): +class DisableServiceResponse(typing.TypedDict, total=False): service: GoogleApiServiceusageV1Service @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): additionalIamInfo: str documentationRootUrl: str overview: str @@ -291,14 +286,14 @@ class Documentation(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class DocumentationRule(typing_extensions.TypedDict, total=False): +class DocumentationRule(typing.TypedDict, total=False): deprecationDescription: str description: str disableReplacementWords: str selector: str @typing.type_check_only -class DotnetSettings(typing_extensions.TypedDict, total=False): +class DotnetSettings(typing.TypedDict, total=False): common: CommonLanguageSettings forcedNamespaceAliases: _list[str] handwrittenSignatures: _list[str] @@ -307,62 +302,59 @@ class DotnetSettings(typing_extensions.TypedDict, total=False): renamedServices: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableFailure(typing_extensions.TypedDict, total=False): +class EnableFailure(typing.TypedDict, total=False): errorMessage: str serviceId: str @typing.type_check_only -class EnableRule(typing_extensions.TypedDict, total=False): - enableType: typing_extensions.Literal[ +class EnableRule(typing.TypedDict, total=False): + enableType: typing.Literal[ "ENABLE_TYPE_UNSPECIFIED", "CLIENT", "RESOURCE", "V1_COMPATIBLE" ] - groups: _list[str] services: _list[str] values: _list[str] @typing.type_check_only -class EnableServiceRequest(typing_extensions.TypedDict, total=False): ... +class EnableServiceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableServiceResponse(typing_extensions.TypedDict, total=False): +class EnableServiceResponse(typing.TypedDict, total=False): service: GoogleApiServiceusageV1Service @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): aliases: _list[str] allowCors: bool name: str target: str @typing.type_check_only -class Enum(typing_extensions.TypedDict, total=False): +class Enum(typing.TypedDict, total=False): edition: str enumvalue: _list[EnumValue] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class EnumValue(typing_extensions.TypedDict, total=False): +class EnumValue(typing.TypedDict, total=False): name: str number: int options: _list[Option] @typing.type_check_only -class ExperimentalFeatures(typing_extensions.TypedDict, total=False): +class ExperimentalFeatures(typing.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool unversionedPackageDisabled: bool @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -370,7 +362,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -399,26 +391,26 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FieldPolicy(typing_extensions.TypedDict, total=False): +class FieldPolicy(typing.TypedDict, total=False): resourcePermission: str resourceType: str selector: str @typing.type_check_only -class GetServiceIdentityMetadata(typing_extensions.TypedDict, total=False): ... +class GetServiceIdentityMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GetServiceIdentityResponse(typing_extensions.TypedDict, total=False): +class GetServiceIdentityResponse(typing.TypedDict, total=False): identity: ServiceIdentity - state: typing_extensions.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] + state: typing.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] @typing.type_check_only -class GoSettings(typing_extensions.TypedDict, total=False): +class GoSettings(typing.TypedDict, total=False): common: CommonLanguageSettings renamedServices: dict[str, typing.Any] @typing.type_check_only -class GoogleApiService(typing_extensions.TypedDict, total=False): +class GoogleApiService(typing.TypedDict, total=False): apis: _list[Api] aspects: _list[Aspect] authentication: Authentication @@ -450,20 +442,18 @@ class GoogleApiService(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class GoogleApiServiceusageV1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV1OperationMetadata(typing.TypedDict, total=False): resourceNames: _list[str] @typing.type_check_only -class GoogleApiServiceusageV1Service(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV1Service(typing.TypedDict, total=False): config: GoogleApiServiceusageV1ServiceConfig name: str parent: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DISABLED", "ENABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleApiServiceusageV1ServiceConfig(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV1ServiceConfig(typing.TypedDict, total=False): apis: _list[Api] authentication: Authentication documentation: Documentation @@ -477,22 +467,46 @@ class GoogleApiServiceusageV1ServiceConfig(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleApiServiceusageV1beta1GetServiceIdentityResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identity: GoogleApiServiceusageV1beta1ServiceIdentity - state: typing_extensions.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] + state: typing.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] @typing.type_check_only -class GoogleApiServiceusageV1beta1ServiceIdentity( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV1beta1ServiceIdentity(typing.TypedDict, total=False): email: str uniqueId: str @typing.type_check_only -class GoogleApiServiceusageV2alphaConsumerPolicy( - typing_extensions.TypedDict, total=False +class GoogleApiServiceusageV2alphaAnalysis(typing.TypedDict, total=False): + analysisResult: GoogleApiServiceusageV2alphaAnalysisResult + analysisType: typing.Literal[ + "ANALYSIS_TYPE_UNSPECIFIED", + "ANALYSIS_TYPE_DEPENDENCY", + "ANALYSIS_TYPE_RESOURCE_USAGE", + "ANALYSIS_TYPE_RESOURCE_EXISTENCE", + ] + displayName: str + service: str + +@typing.type_check_only +class GoogleApiServiceusageV2alphaAnalysisResult(typing.TypedDict, total=False): + blockers: _list[GoogleApiServiceusageV2alphaImpact] + warnings: _list[GoogleApiServiceusageV2alphaImpact] + +@typing.type_check_only +class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse( + typing.TypedDict, total=False ): + analysis: _list[GoogleApiServiceusageV2alphaAnalysis] + +@typing.type_check_only +class GoogleApiServiceusageV2alphaConsumerPolicy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str enableRules: _list[GoogleApiServiceusageV2alphaEnableRule] @@ -501,18 +515,28 @@ class GoogleApiServiceusageV2alphaConsumerPolicy( updateTime: str @typing.type_check_only -class GoogleApiServiceusageV2alphaEnableRule(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2alphaEnableRule(typing.TypedDict, total=False): services: _list[str] +@typing.type_check_only +class GoogleApiServiceusageV2alphaImpact(typing.TypedDict, total=False): + detail: str + impactType: typing.Literal[ + "IMPACT_TYPE_UNSPECIFIED", + "DEPENDENCY_MISSING_DEPENDENCIES", + "RESOURCE_EXISTENCE_PROJECT", + ] + parent: str + @typing.type_check_only class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleApiServiceusageV2betaAnalysis(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaAnalysis(typing.TypedDict, total=False): analysisResult: GoogleApiServiceusageV2betaAnalysisResult - analysisType: typing_extensions.Literal[ + analysisType: typing.Literal[ "ANALYSIS_TYPE_UNSPECIFIED", "ANALYSIS_TYPE_DEPENDENCY", "ANALYSIS_TYPE_RESOURCE_USAGE", @@ -521,27 +545,23 @@ class GoogleApiServiceusageV2betaAnalysis(typing_extensions.TypedDict, total=Fal service: str @typing.type_check_only -class GoogleApiServiceusageV2betaAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV2betaAnalysisResult(typing.TypedDict, total=False): blockers: _list[GoogleApiServiceusageV2betaImpact] warnings: _list[GoogleApiServiceusageV2betaImpact] @typing.type_check_only class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysis: _list[GoogleApiServiceusageV2betaAnalysis] @typing.type_check_only -class GoogleApiServiceusageV2betaConsumerPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV2betaConsumerPolicy(typing.TypedDict, total=False): createTime: str enableRules: _list[GoogleApiServiceusageV2betaEnableRule] etag: str @@ -549,25 +569,23 @@ class GoogleApiServiceusageV2betaConsumerPolicy( updateTime: str @typing.type_check_only -class GoogleApiServiceusageV2betaEnableRule(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaEnableRule(typing.TypedDict, total=False): services: _list[str] @typing.type_check_only -class GoogleApiServiceusageV2betaImpact(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaImpact(typing.TypedDict, total=False): detail: str - impactType: typing_extensions.Literal[ + impactType: typing.Literal[ "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" ] missingDependency: str @typing.type_check_only -class GoogleApiServiceusageV2betaMcpEnableRule( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV2betaMcpEnableRule(typing.TypedDict, total=False): mcpServices: _list[GoogleApiServiceusageV2betaMcpService] @typing.type_check_only -class GoogleApiServiceusageV2betaMcpPolicy(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaMcpPolicy(typing.TypedDict, total=False): createTime: str etag: str mcpEnableRules: _list[GoogleApiServiceusageV2betaMcpEnableRule] @@ -575,26 +593,26 @@ class GoogleApiServiceusageV2betaMcpPolicy(typing_extensions.TypedDict, total=Fa updateTime: str @typing.type_check_only -class GoogleApiServiceusageV2betaMcpService(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaMcpService(typing.TypedDict, total=False): service: str @typing.type_check_only class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class Http(typing_extensions.TypedDict, total=False): +class Http(typing.TypedDict, total=False): fullyDecodeReservedExpansion: bool rules: _list[HttpRule] @typing.type_check_only -class HttpRule(typing_extensions.TypedDict, total=False): +class HttpRule(typing.TypedDict, total=False): additionalBindings: _list[HttpRule] body: str custom: CustomHttpPattern @@ -607,92 +625,90 @@ class HttpRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Impact(typing_extensions.TypedDict, total=False): +class Impact(typing.TypedDict, total=False): detail: str - impactType: typing_extensions.Literal[ - "IMPACT_TYPE_UNSPECIFIED", - "DEPENDENCY_MISSING_DEPENDENCIES", - "RESOURCE_EXISTENCE_PROJECT", + impactType: typing.Literal[ + "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" ] - parent: str + missingDependency: str @typing.type_check_only -class ImportAdminOverridesMetadata(typing_extensions.TypedDict, total=False): ... +class ImportAdminOverridesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportAdminOverridesResponse(typing_extensions.TypedDict, total=False): +class ImportAdminOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class ImportAdminQuotaPoliciesMetadata(typing_extensions.TypedDict, total=False): ... +class ImportAdminQuotaPoliciesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportAdminQuotaPoliciesResponse(typing_extensions.TypedDict, total=False): +class ImportAdminQuotaPoliciesResponse(typing.TypedDict, total=False): policies: _list[AdminQuotaPolicy] @typing.type_check_only -class ImportConsumerOverridesMetadata(typing_extensions.TypedDict, total=False): ... +class ImportConsumerOverridesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportConsumerOverridesResponse(typing_extensions.TypedDict, total=False): +class ImportConsumerOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class JavaSettings(typing_extensions.TypedDict, total=False): +class JavaSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str serviceClassNames: dict[str, typing.Any] @typing.type_check_only -class JwtLocation(typing_extensions.TypedDict, total=False): +class JwtLocation(typing.TypedDict, total=False): cookie: str header: str query: str valuePrefix: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[GoogleApiServiceusageV1Service] @typing.type_check_only -class LogDescriptor(typing_extensions.TypedDict, total=False): +class LogDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] name: str @typing.type_check_only -class Logging(typing_extensions.TypedDict, total=False): +class Logging(typing.TypedDict, total=False): consumerDestinations: _list[LoggingDestination] producerDestinations: _list[LoggingDestination] @typing.type_check_only -class LoggingDestination(typing_extensions.TypedDict, total=False): +class LoggingDestination(typing.TypedDict, total=False): logs: _list[str] monitoredResource: str @typing.type_check_only -class LongRunning(typing_extensions.TypedDict, total=False): +class LongRunning(typing.TypedDict, total=False): initialPollDelay: str maxPollDelay: str pollDelayMultiplier: float totalPollTimeout: str @typing.type_check_only -class Method(typing_extensions.TypedDict, total=False): +class Method(typing.TypedDict, total=False): edition: str name: str options: _list[Option] @@ -700,28 +716,26 @@ class Method(typing_extensions.TypedDict, total=False): requestTypeUrl: str responseStreaming: bool responseTypeUrl: str - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class MethodPolicy(typing_extensions.TypedDict, total=False): +class MethodPolicy(typing.TypedDict, total=False): requestPolicies: _list[FieldPolicy] selector: str @typing.type_check_only -class MethodSettings(typing_extensions.TypedDict, total=False): +class MethodSettings(typing.TypedDict, total=False): autoPopulatedFields: _list[str] batching: BatchingConfigProto longRunning: LongRunning selector: str @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -732,14 +746,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -750,9 +764,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -764,7 +778,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -773,21 +787,23 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRule(typing_extensions.TypedDict, total=False): +class MetricRule(typing.TypedDict, total=False): + agenticMetricCosts: dict[str, typing.Any] metricCosts: dict[str, typing.Any] + nonagenticMetricCosts: dict[str, typing.Any] selector: str @typing.type_check_only -class Mixin(typing_extensions.TypedDict, total=False): +class Mixin(typing.TypedDict, total=False): name: str root: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -801,25 +817,25 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Monitoring(typing_extensions.TypedDict, total=False): +class Monitoring(typing.TypedDict, total=False): consumerDestinations: _list[MonitoringDestination] producerDestinations: _list[MonitoringDestination] @typing.type_check_only -class MonitoringDestination(typing_extensions.TypedDict, total=False): +class MonitoringDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class NodeSettings(typing_extensions.TypedDict, total=False): +class NodeSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class OAuthRequirements(typing_extensions.TypedDict, total=False): +class OAuthRequirements(typing.TypedDict, total=False): canonicalScopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -827,27 +843,27 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): resourceNames: _list[str] @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): content: str name: str subpages: _list[Page] @typing.type_check_only -class PhpSettings(typing_extensions.TypedDict, total=False): +class PhpSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str @typing.type_check_only -class Publishing(typing_extensions.TypedDict, total=False): +class Publishing(typing.TypedDict, total=False): apiShortName: str codeownerGithubTeams: _list[str] docTagPrefix: str @@ -856,7 +872,7 @@ class Publishing(typing_extensions.TypedDict, total=False): librarySettings: _list[ClientLibrarySettings] methodSettings: _list[MethodSettings] newIssueUri: str - organization: typing_extensions.Literal[ + organization: typing.Literal[ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", "CLOUD", "ADS", @@ -871,17 +887,17 @@ class Publishing(typing_extensions.TypedDict, total=False): restReferenceDocumentationUri: str @typing.type_check_only -class PythonSettings(typing_extensions.TypedDict, total=False): +class PythonSettings(typing.TypedDict, total=False): common: CommonLanguageSettings experimentalFeatures: ExperimentalFeatures @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limits: _list[QuotaLimit] metricRules: _list[MetricRule] @typing.type_check_only -class QuotaLimit(typing_extensions.TypedDict, total=False): +class QuotaLimit(typing.TypedDict, total=False): defaultLimit: str description: str displayName: str @@ -890,11 +906,16 @@ class QuotaLimit(typing_extensions.TypedDict, total=False): maxLimit: str metric: str name: str + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str values: dict[str, typing.Any] @typing.type_check_only -class QuotaOverride(typing_extensions.TypedDict, total=False): +class QuotaOverride(typing.TypedDict, total=False): adminOverrideAncestor: str dimensions: dict[str, typing.Any] metric: str @@ -903,85 +924,83 @@ class QuotaOverride(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class RemoveEnableRulesMetadata(typing_extensions.TypedDict, total=False): ... +class RemoveEnableRulesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveEnableRulesResponse(typing_extensions.TypedDict, total=False): +class RemoveEnableRulesResponse(typing.TypedDict, total=False): parent: str removedValues: _list[str] @typing.type_check_only -class RubySettings(typing_extensions.TypedDict, total=False): +class RubySettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): +class SelectiveGapicGeneration(typing.TypedDict, total=False): generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only -class ServiceIdentity(typing_extensions.TypedDict, total=False): +class ServiceIdentity(typing.TypedDict, total=False): email: str uniqueId: str @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SourceInfo(typing_extensions.TypedDict, total=False): +class SourceInfo(typing.TypedDict, total=False): sourceFiles: _list[dict[str, typing.Any]] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SystemParameter(typing_extensions.TypedDict, total=False): +class SystemParameter(typing.TypedDict, total=False): httpHeader: str name: str urlQueryParameter: str @typing.type_check_only -class SystemParameterRule(typing_extensions.TypedDict, total=False): +class SystemParameterRule(typing.TypedDict, total=False): parameters: _list[SystemParameter] selector: str @typing.type_check_only -class SystemParameters(typing_extensions.TypedDict, total=False): +class SystemParameters(typing.TypedDict, total=False): rules: _list[SystemParameterRule] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class UpdateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateAdminQuotaPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateConsumerPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateContentSecurityPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateContentSecurityPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): producerNotificationChannel: str requirements: _list[str] rules: _list[UsageRule] @typing.type_check_only -class UsageRule(typing_extensions.TypedDict, total=False): +class UsageRule(typing.TypedDict, total=False): allowUnregisteredCalls: bool selector: str skipServiceControl: bool diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi index 123fb15a1..e5c280371 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -46,13 +45,13 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): parent: str, body: QuotaOverride, force: bool | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -66,13 +65,13 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): *, name: str, force: bool | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -100,13 +99,13 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): name: str, body: QuotaOverride, force: bool | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -125,13 +124,13 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): parent: str, body: QuotaOverride, force: bool | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -145,13 +144,13 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): *, name: str, force: bool | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -179,13 +178,13 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): name: str, body: QuotaOverride, force: bool | None = ..., - forceOnly: typing_extensions.Literal[ + forceOnly: typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -200,9 +199,7 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ConsumerQuotaLimitHttpRequest: ... @@ -213,9 +210,7 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ - "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ConsumerQuotaMetricHttpRequest: ... @@ -239,9 +234,7 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" - ] + view: typing.Literal["QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListConsumerQuotaMetricsResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi index 7f299fe05..48e721ac6 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddEnableRulesMetadata(typing_extensions.TypedDict, total=False): ... +class AddEnableRulesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AddEnableRulesResponse(typing_extensions.TypedDict, total=False): +class AddEnableRulesResponse(typing.TypedDict, total=False): addedValues: _list[str] parent: str @typing.type_check_only -class AdminQuotaPolicy(typing_extensions.TypedDict, total=False): +class AdminQuotaPolicy(typing.TypedDict, total=False): container: str dimensions: dict[str, typing.Any] metric: str @@ -22,55 +20,52 @@ class AdminQuotaPolicy(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class Analysis(typing_extensions.TypedDict, total=False): - analysis: AnalysisResult - analysisType: typing_extensions.Literal[ +class Analysis(typing.TypedDict, total=False): + analysisResult: AnalysisResult + analysisType: typing.Literal[ "ANALYSIS_TYPE_UNSPECIFIED", "ANALYSIS_TYPE_DEPENDENCY", "ANALYSIS_TYPE_RESOURCE_USAGE", - "ANALYSIS_TYPE_RESOURCE_EXISTENCE", ] displayName: str service: str @typing.type_check_only -class AnalysisResult(typing_extensions.TypedDict, total=False): +class AnalysisResult(typing.TypedDict, total=False): blockers: _list[Impact] warnings: _list[Impact] @typing.type_check_only -class AnalyzeConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class AnalyzeConsumerPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class AnalyzeConsumerPolicyResponse(typing_extensions.TypedDict, total=False): +class AnalyzeConsumerPolicyResponse(typing.TypedDict, total=False): analysis: _list[Analysis] @typing.type_check_only -class Api(typing_extensions.TypedDict, total=False): +class Api(typing.TypedDict, total=False): edition: str methods: _list[Method] mixins: _list[Mixin] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] version: str @typing.type_check_only -class Aspect(typing_extensions.TypedDict, total=False): +class Aspect(typing.TypedDict, total=False): kind: str rules: _list[AspectRule] spec: dict[str, typing.Any] @typing.type_check_only -class AspectRule(typing_extensions.TypedDict, total=False): +class AspectRule(typing.TypedDict, total=False): config: dict[str, typing.Any] selector: str @typing.type_check_only -class AuthProvider(typing_extensions.TypedDict, total=False): +class AuthProvider(typing.TypedDict, total=False): audiences: str authorizationUrl: str id: str @@ -79,28 +74,28 @@ class AuthProvider(typing_extensions.TypedDict, total=False): jwtLocations: _list[JwtLocation] @typing.type_check_only -class AuthRequirement(typing_extensions.TypedDict, total=False): +class AuthRequirement(typing.TypedDict, total=False): audiences: str providerId: str @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): providers: _list[AuthProvider] rules: _list[AuthenticationRule] @typing.type_check_only -class AuthenticationRule(typing_extensions.TypedDict, total=False): +class AuthenticationRule(typing.TypedDict, total=False): allowWithoutCredential: bool oauth: OAuthRequirements requirements: _list[AuthRequirement] selector: str @typing.type_check_only -class Backend(typing_extensions.TypedDict, total=False): +class Backend(typing.TypedDict, total=False): rules: _list[BackendRule] @typing.type_check_only -class BackendRule(typing_extensions.TypedDict, total=False): +class BackendRule(typing.TypedDict, total=False): address: str deadline: float disableAuth: bool @@ -109,69 +104,69 @@ class BackendRule(typing_extensions.TypedDict, total=False): minDeadline: float operationDeadline: float overridesByRequestProtocol: dict[str, typing.Any] - pathTranslation: typing_extensions.Literal[ + pathTranslation: typing.Literal[ "PATH_TRANSLATION_UNSPECIFIED", "CONSTANT_ADDRESS", "APPEND_PATH_TO_ADDRESS" ] protocol: str selector: str @typing.type_check_only -class BatchCreateAdminOverridesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateAdminOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class BatchCreateConsumerOverridesResponse(typing_extensions.TypedDict, total=False): +class BatchCreateConsumerOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class BatchEnableServicesRequest(typing_extensions.TypedDict, total=False): +class BatchEnableServicesRequest(typing.TypedDict, total=False): serviceIds: _list[str] @typing.type_check_only -class BatchEnableServicesResponse(typing_extensions.TypedDict, total=False): +class BatchEnableServicesResponse(typing.TypedDict, total=False): failures: _list[EnableFailure] services: _list[GoogleApiServiceusageV1Service] @typing.type_check_only -class BatchingConfigProto(typing_extensions.TypedDict, total=False): +class BatchingConfigProto(typing.TypedDict, total=False): batchDescriptor: BatchingDescriptorProto thresholds: BatchingSettingsProto @typing.type_check_only -class BatchingDescriptorProto(typing_extensions.TypedDict, total=False): +class BatchingDescriptorProto(typing.TypedDict, total=False): batchedField: str discriminatorFields: _list[str] subresponseField: str @typing.type_check_only -class BatchingSettingsProto(typing_extensions.TypedDict, total=False): +class BatchingSettingsProto(typing.TypedDict, total=False): delayThreshold: str elementCountLimit: int elementCountThreshold: int flowControlByteLimit: int flowControlElementLimit: int - flowControlLimitExceededBehavior: typing_extensions.Literal[ + flowControlLimitExceededBehavior: typing.Literal[ "UNSET_BEHAVIOR", "THROW_EXCEPTION", "BLOCK", "IGNORE" ] requestByteLimit: int requestByteThreshold: str @typing.type_check_only -class Billing(typing_extensions.TypedDict, total=False): +class Billing(typing.TypedDict, total=False): consumerDestinations: _list[BillingDestination] @typing.type_check_only -class BillingDestination(typing_extensions.TypedDict, total=False): +class BillingDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class ClientLibrarySettings(typing_extensions.TypedDict, total=False): +class ClientLibrarySettings(typing.TypedDict, total=False): cppSettings: CppSettings dotnetSettings: DotnetSettings goSettings: GoSettings javaSettings: JavaSettings - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -189,9 +184,9 @@ class ClientLibrarySettings(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class CommonLanguageSettings(typing_extensions.TypedDict, total=False): +class CommonLanguageSettings(typing.TypedDict, total=False): destinations: _list[ - typing_extensions.Literal[ + typing.Literal[ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", "GITHUB", "PACKAGE_MANAGER" ] ] @@ -199,25 +194,30 @@ class CommonLanguageSettings(typing_extensions.TypedDict, total=False): selectiveGapicGeneration: SelectiveGapicGeneration @typing.type_check_only -class ConsumerPolicy(typing_extensions.TypedDict, total=False): - annotations: dict[str, typing.Any] +class ConsumerPolicy(typing.TypedDict, total=False): + createTime: str enableRules: _list[EnableRule] etag: str name: str updateTime: str @typing.type_check_only -class ConsumerQuotaLimit(typing_extensions.TypedDict, total=False): +class ConsumerQuotaLimit(typing.TypedDict, total=False): allowsAdminOverrides: bool isPrecise: bool metric: str name: str quotaBuckets: _list[QuotaBucket] supportedLocations: _list[str] + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str @typing.type_check_only -class ConsumerQuotaMetric(typing_extensions.TypedDict, total=False): +class ConsumerQuotaMetric(typing.TypedDict, total=False): consumerQuotaLimits: _list[ConsumerQuotaLimit] descendantConsumerQuotaLimits: _list[ConsumerQuotaLimit] displayName: str @@ -226,24 +226,24 @@ class ConsumerQuotaMetric(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class ContentSecurity(typing_extensions.TypedDict, total=False): +class ContentSecurity(typing.TypedDict, total=False): contentSecurityProviders: _list[ContentSecurityProvider] @typing.type_check_only -class ContentSecurityPolicy(typing_extensions.TypedDict, total=False): +class ContentSecurityPolicy(typing.TypedDict, total=False): mcpContentSecurity: ContentSecurity name: str @typing.type_check_only -class ContentSecurityProvider(typing_extensions.TypedDict, total=False): +class ContentSecurityProvider(typing.TypedDict, total=False): name: str @typing.type_check_only -class Context(typing_extensions.TypedDict, total=False): +class Context(typing.TypedDict, total=False): rules: _list[ContextRule] @typing.type_check_only -class ContextRule(typing_extensions.TypedDict, total=False): +class ContextRule(typing.TypedDict, total=False): allowedRequestExtensions: _list[str] allowedResponseExtensions: _list[str] provided: _list[str] @@ -251,44 +251,44 @@ class ContextRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Control(typing_extensions.TypedDict, total=False): +class Control(typing.TypedDict, total=False): environment: str methodPolicies: _list[MethodPolicy] @typing.type_check_only -class CppSettings(typing_extensions.TypedDict, total=False): +class CppSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class CreateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class CreateAdminQuotaPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomError(typing_extensions.TypedDict, total=False): +class CustomError(typing.TypedDict, total=False): rules: _list[CustomErrorRule] types: _list[str] @typing.type_check_only -class CustomErrorRule(typing_extensions.TypedDict, total=False): +class CustomErrorRule(typing.TypedDict, total=False): isErrorType: bool selector: str @typing.type_check_only -class CustomHttpPattern(typing_extensions.TypedDict, total=False): +class CustomHttpPattern(typing.TypedDict, total=False): kind: str path: str @typing.type_check_only -class DeleteAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class DeleteAdminQuotaPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableServiceRequest(typing_extensions.TypedDict, total=False): ... +class DisableServiceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DisableServiceResponse(typing_extensions.TypedDict, total=False): +class DisableServiceResponse(typing.TypedDict, total=False): service: GoogleApiServiceusageV1Service @typing.type_check_only -class Documentation(typing_extensions.TypedDict, total=False): +class Documentation(typing.TypedDict, total=False): additionalIamInfo: str documentationRootUrl: str overview: str @@ -299,14 +299,14 @@ class Documentation(typing_extensions.TypedDict, total=False): summary: str @typing.type_check_only -class DocumentationRule(typing_extensions.TypedDict, total=False): +class DocumentationRule(typing.TypedDict, total=False): deprecationDescription: str description: str disableReplacementWords: str selector: str @typing.type_check_only -class DotnetSettings(typing_extensions.TypedDict, total=False): +class DotnetSettings(typing.TypedDict, total=False): common: CommonLanguageSettings forcedNamespaceAliases: _list[str] handwrittenSignatures: _list[str] @@ -315,62 +315,59 @@ class DotnetSettings(typing_extensions.TypedDict, total=False): renamedServices: dict[str, typing.Any] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableFailure(typing_extensions.TypedDict, total=False): +class EnableFailure(typing.TypedDict, total=False): errorMessage: str serviceId: str @typing.type_check_only -class EnableRule(typing_extensions.TypedDict, total=False): - enableType: typing_extensions.Literal[ +class EnableRule(typing.TypedDict, total=False): + enableType: typing.Literal[ "ENABLE_TYPE_UNSPECIFIED", "CLIENT", "RESOURCE", "V1_COMPATIBLE" ] - groups: _list[str] services: _list[str] values: _list[str] @typing.type_check_only -class EnableServiceRequest(typing_extensions.TypedDict, total=False): ... +class EnableServiceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class EnableServiceResponse(typing_extensions.TypedDict, total=False): +class EnableServiceResponse(typing.TypedDict, total=False): service: GoogleApiServiceusageV1Service @typing.type_check_only -class Endpoint(typing_extensions.TypedDict, total=False): +class Endpoint(typing.TypedDict, total=False): aliases: _list[str] allowCors: bool name: str target: str @typing.type_check_only -class Enum(typing_extensions.TypedDict, total=False): +class Enum(typing.TypedDict, total=False): edition: str enumvalue: _list[EnumValue] name: str options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class EnumValue(typing_extensions.TypedDict, total=False): +class EnumValue(typing.TypedDict, total=False): name: str number: int options: _list[Option] @typing.type_check_only -class ExperimentalFeatures(typing_extensions.TypedDict, total=False): +class ExperimentalFeatures(typing.TypedDict, total=False): protobufPythonicTypesEnabled: bool restAsyncIoEnabled: bool unversionedPackageDisabled: bool @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): - cardinality: typing_extensions.Literal[ +class Field(typing.TypedDict, total=False): + cardinality: typing.Literal[ "CARDINALITY_UNKNOWN", "CARDINALITY_OPTIONAL", "CARDINALITY_REQUIRED", @@ -378,7 +375,7 @@ class Field(typing_extensions.TypedDict, total=False): ] defaultValue: str jsonName: str - kind: typing_extensions.Literal[ + kind: typing.Literal[ "TYPE_UNKNOWN", "TYPE_DOUBLE", "TYPE_FLOAT", @@ -407,26 +404,26 @@ class Field(typing_extensions.TypedDict, total=False): typeUrl: str @typing.type_check_only -class FieldPolicy(typing_extensions.TypedDict, total=False): +class FieldPolicy(typing.TypedDict, total=False): resourcePermission: str resourceType: str selector: str @typing.type_check_only -class GetServiceIdentityMetadata(typing_extensions.TypedDict, total=False): ... +class GetServiceIdentityMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class GetServiceIdentityResponse(typing_extensions.TypedDict, total=False): +class GetServiceIdentityResponse(typing.TypedDict, total=False): identity: ServiceIdentity - state: typing_extensions.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] + state: typing.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] @typing.type_check_only -class GoSettings(typing_extensions.TypedDict, total=False): +class GoSettings(typing.TypedDict, total=False): common: CommonLanguageSettings renamedServices: dict[str, typing.Any] @typing.type_check_only -class GoogleApiService(typing_extensions.TypedDict, total=False): +class GoogleApiService(typing.TypedDict, total=False): apis: _list[Api] aspects: _list[Aspect] authentication: Authentication @@ -458,20 +455,18 @@ class GoogleApiService(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class GoogleApiServiceusageV1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV1OperationMetadata(typing.TypedDict, total=False): resourceNames: _list[str] @typing.type_check_only -class GoogleApiServiceusageV1Service(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV1Service(typing.TypedDict, total=False): config: GoogleApiServiceusageV1ServiceConfig name: str parent: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DISABLED", "ENABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class GoogleApiServiceusageV1ServiceConfig(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV1ServiceConfig(typing.TypedDict, total=False): apis: _list[Api] authentication: Authentication documentation: Documentation @@ -485,22 +480,46 @@ class GoogleApiServiceusageV1ServiceConfig(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleApiServiceusageV1beta1GetServiceIdentityResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): identity: GoogleApiServiceusageV1beta1ServiceIdentity - state: typing_extensions.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] + state: typing.Literal["IDENTITY_STATE_UNSPECIFIED", "ACTIVE"] @typing.type_check_only -class GoogleApiServiceusageV1beta1ServiceIdentity( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV1beta1ServiceIdentity(typing.TypedDict, total=False): email: str uniqueId: str @typing.type_check_only -class GoogleApiServiceusageV2alphaConsumerPolicy( - typing_extensions.TypedDict, total=False +class GoogleApiServiceusageV2alphaAnalysis(typing.TypedDict, total=False): + analysisResult: GoogleApiServiceusageV2alphaAnalysisResult + analysisType: typing.Literal[ + "ANALYSIS_TYPE_UNSPECIFIED", + "ANALYSIS_TYPE_DEPENDENCY", + "ANALYSIS_TYPE_RESOURCE_USAGE", + "ANALYSIS_TYPE_RESOURCE_EXISTENCE", + ] + displayName: str + service: str + +@typing.type_check_only +class GoogleApiServiceusageV2alphaAnalysisResult(typing.TypedDict, total=False): + blockers: _list[GoogleApiServiceusageV2alphaImpact] + warnings: _list[GoogleApiServiceusageV2alphaImpact] + +@typing.type_check_only +class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata( + typing.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse( + typing.TypedDict, total=False ): + analysis: _list[GoogleApiServiceusageV2alphaAnalysis] + +@typing.type_check_only +class GoogleApiServiceusageV2alphaConsumerPolicy(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str enableRules: _list[GoogleApiServiceusageV2alphaEnableRule] @@ -509,18 +528,28 @@ class GoogleApiServiceusageV2alphaConsumerPolicy( updateTime: str @typing.type_check_only -class GoogleApiServiceusageV2alphaEnableRule(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2alphaEnableRule(typing.TypedDict, total=False): services: _list[str] +@typing.type_check_only +class GoogleApiServiceusageV2alphaImpact(typing.TypedDict, total=False): + detail: str + impactType: typing.Literal[ + "IMPACT_TYPE_UNSPECIFIED", + "DEPENDENCY_MISSING_DEPENDENCIES", + "RESOURCE_EXISTENCE_PROJECT", + ] + parent: str + @typing.type_check_only class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class GoogleApiServiceusageV2betaAnalysis(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaAnalysis(typing.TypedDict, total=False): analysisResult: GoogleApiServiceusageV2betaAnalysisResult - analysisType: typing_extensions.Literal[ + analysisType: typing.Literal[ "ANALYSIS_TYPE_UNSPECIFIED", "ANALYSIS_TYPE_DEPENDENCY", "ANALYSIS_TYPE_RESOURCE_USAGE", @@ -529,27 +558,23 @@ class GoogleApiServiceusageV2betaAnalysis(typing_extensions.TypedDict, total=Fal service: str @typing.type_check_only -class GoogleApiServiceusageV2betaAnalysisResult( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV2betaAnalysisResult(typing.TypedDict, total=False): blockers: _list[GoogleApiServiceusageV2betaImpact] warnings: _list[GoogleApiServiceusageV2betaImpact] @typing.type_check_only class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): analysis: _list[GoogleApiServiceusageV2betaAnalysis] @typing.type_check_only -class GoogleApiServiceusageV2betaConsumerPolicy( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV2betaConsumerPolicy(typing.TypedDict, total=False): createTime: str enableRules: _list[GoogleApiServiceusageV2betaEnableRule] etag: str @@ -557,25 +582,23 @@ class GoogleApiServiceusageV2betaConsumerPolicy( updateTime: str @typing.type_check_only -class GoogleApiServiceusageV2betaEnableRule(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaEnableRule(typing.TypedDict, total=False): services: _list[str] @typing.type_check_only -class GoogleApiServiceusageV2betaImpact(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaImpact(typing.TypedDict, total=False): detail: str - impactType: typing_extensions.Literal[ + impactType: typing.Literal[ "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" ] missingDependency: str @typing.type_check_only -class GoogleApiServiceusageV2betaMcpEnableRule( - typing_extensions.TypedDict, total=False -): +class GoogleApiServiceusageV2betaMcpEnableRule(typing.TypedDict, total=False): mcpServices: _list[GoogleApiServiceusageV2betaMcpService] @typing.type_check_only -class GoogleApiServiceusageV2betaMcpPolicy(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaMcpPolicy(typing.TypedDict, total=False): createTime: str etag: str mcpEnableRules: _list[GoogleApiServiceusageV2betaMcpEnableRule] @@ -583,26 +606,26 @@ class GoogleApiServiceusageV2betaMcpPolicy(typing_extensions.TypedDict, total=Fa updateTime: str @typing.type_check_only -class GoogleApiServiceusageV2betaMcpService(typing_extensions.TypedDict, total=False): +class GoogleApiServiceusageV2betaMcpService(typing.TypedDict, total=False): service: str @typing.type_check_only class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class Http(typing_extensions.TypedDict, total=False): +class Http(typing.TypedDict, total=False): fullyDecodeReservedExpansion: bool rules: _list[HttpRule] @typing.type_check_only -class HttpRule(typing_extensions.TypedDict, total=False): +class HttpRule(typing.TypedDict, total=False): additionalBindings: _list[HttpRule] body: str custom: CustomHttpPattern @@ -615,23 +638,21 @@ class HttpRule(typing_extensions.TypedDict, total=False): selector: str @typing.type_check_only -class Impact(typing_extensions.TypedDict, total=False): +class Impact(typing.TypedDict, total=False): detail: str - impactType: typing_extensions.Literal[ - "IMPACT_TYPE_UNSPECIFIED", - "DEPENDENCY_MISSING_DEPENDENCIES", - "RESOURCE_EXISTENCE_PROJECT", + impactType: typing.Literal[ + "IMPACT_TYPE_UNSPECIFIED", "DEPENDENCY_MISSING_DEPENDENCIES" ] - parent: str + missingDependency: str @typing.type_check_only -class ImportAdminOverridesMetadata(typing_extensions.TypedDict, total=False): ... +class ImportAdminOverridesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportAdminOverridesRequest(typing_extensions.TypedDict, total=False): +class ImportAdminOverridesRequest(typing.TypedDict, total=False): force: bool forceOnly: _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -640,24 +661,24 @@ class ImportAdminOverridesRequest(typing_extensions.TypedDict, total=False): inlineSource: OverrideInlineSource @typing.type_check_only -class ImportAdminOverridesResponse(typing_extensions.TypedDict, total=False): +class ImportAdminOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class ImportAdminQuotaPoliciesMetadata(typing_extensions.TypedDict, total=False): ... +class ImportAdminQuotaPoliciesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportAdminQuotaPoliciesResponse(typing_extensions.TypedDict, total=False): +class ImportAdminQuotaPoliciesResponse(typing.TypedDict, total=False): policies: _list[AdminQuotaPolicy] @typing.type_check_only -class ImportConsumerOverridesMetadata(typing_extensions.TypedDict, total=False): ... +class ImportConsumerOverridesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class ImportConsumerOverridesRequest(typing_extensions.TypedDict, total=False): +class ImportConsumerOverridesRequest(typing.TypedDict, total=False): force: bool forceOnly: _list[ - typing_extensions.Literal[ + typing.Literal[ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", @@ -666,80 +687,80 @@ class ImportConsumerOverridesRequest(typing_extensions.TypedDict, total=False): inlineSource: OverrideInlineSource @typing.type_check_only -class ImportConsumerOverridesResponse(typing_extensions.TypedDict, total=False): +class ImportConsumerOverridesResponse(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class JavaSettings(typing_extensions.TypedDict, total=False): +class JavaSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str serviceClassNames: dict[str, typing.Any] @typing.type_check_only -class JwtLocation(typing_extensions.TypedDict, total=False): +class JwtLocation(typing.TypedDict, total=False): cookie: str header: str query: str valuePrefix: str @typing.type_check_only -class LabelDescriptor(typing_extensions.TypedDict, total=False): +class LabelDescriptor(typing.TypedDict, total=False): description: str key: str - valueType: typing_extensions.Literal["STRING", "BOOL", "INT64"] + valueType: typing.Literal["STRING", "BOOL", "INT64"] @typing.type_check_only -class ListAdminOverridesResponse(typing_extensions.TypedDict, total=False): +class ListAdminOverridesResponse(typing.TypedDict, total=False): nextPageToken: str overrides: _list[QuotaOverride] @typing.type_check_only -class ListConsumerOverridesResponse(typing_extensions.TypedDict, total=False): +class ListConsumerOverridesResponse(typing.TypedDict, total=False): nextPageToken: str overrides: _list[QuotaOverride] @typing.type_check_only -class ListConsumerQuotaMetricsResponse(typing_extensions.TypedDict, total=False): +class ListConsumerQuotaMetricsResponse(typing.TypedDict, total=False): metrics: _list[ConsumerQuotaMetric] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListServicesResponse(typing_extensions.TypedDict, total=False): +class ListServicesResponse(typing.TypedDict, total=False): nextPageToken: str services: _list[Service] @typing.type_check_only -class LogDescriptor(typing_extensions.TypedDict, total=False): +class LogDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] name: str @typing.type_check_only -class Logging(typing_extensions.TypedDict, total=False): +class Logging(typing.TypedDict, total=False): consumerDestinations: _list[LoggingDestination] producerDestinations: _list[LoggingDestination] @typing.type_check_only -class LoggingDestination(typing_extensions.TypedDict, total=False): +class LoggingDestination(typing.TypedDict, total=False): logs: _list[str] monitoredResource: str @typing.type_check_only -class LongRunning(typing_extensions.TypedDict, total=False): +class LongRunning(typing.TypedDict, total=False): initialPollDelay: str maxPollDelay: str pollDelayMultiplier: float totalPollTimeout: str @typing.type_check_only -class Method(typing_extensions.TypedDict, total=False): +class Method(typing.TypedDict, total=False): edition: str name: str options: _list[Option] @@ -747,28 +768,26 @@ class Method(typing_extensions.TypedDict, total=False): requestTypeUrl: str responseStreaming: bool responseTypeUrl: str - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class MethodPolicy(typing_extensions.TypedDict, total=False): +class MethodPolicy(typing.TypedDict, total=False): requestPolicies: _list[FieldPolicy] selector: str @typing.type_check_only -class MethodSettings(typing_extensions.TypedDict, total=False): +class MethodSettings(typing.TypedDict, total=False): autoPopulatedFields: _list[str] batching: BatchingConfigProto longRunning: LongRunning selector: str @typing.type_check_only -class MetricDescriptor(typing_extensions.TypedDict, total=False): +class MetricDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -779,14 +798,14 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): "DEPRECATED", ] metadata: MetricDescriptorMetadata - metricKind: typing_extensions.Literal[ + metricKind: typing.Literal[ "METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE" ] monitoredResourceTypes: _list[str] name: str type: str unit: str - valueType: typing_extensions.Literal[ + valueType: typing.Literal[ "VALUE_TYPE_UNSPECIFIED", "BOOL", "INT64", @@ -797,9 +816,9 @@ class MetricDescriptor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): +class MetricDescriptorMetadata(typing.TypedDict, total=False): ingestDelay: str - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -811,7 +830,7 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] samplePeriod: str timeSeriesResourceHierarchyLevel: _list[ - typing_extensions.Literal[ + typing.Literal[ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", "PROJECT", "ORGANIZATION", @@ -820,21 +839,23 @@ class MetricDescriptorMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class MetricRule(typing_extensions.TypedDict, total=False): +class MetricRule(typing.TypedDict, total=False): + agenticMetricCosts: dict[str, typing.Any] metricCosts: dict[str, typing.Any] + nonagenticMetricCosts: dict[str, typing.Any] selector: str @typing.type_check_only -class Mixin(typing_extensions.TypedDict, total=False): +class Mixin(typing.TypedDict, total=False): name: str root: str @typing.type_check_only -class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): +class MonitoredResourceDescriptor(typing.TypedDict, total=False): description: str displayName: str labels: _list[LabelDescriptor] - launchStage: typing_extensions.Literal[ + launchStage: typing.Literal[ "LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", @@ -848,25 +869,25 @@ class MonitoredResourceDescriptor(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class Monitoring(typing_extensions.TypedDict, total=False): +class Monitoring(typing.TypedDict, total=False): consumerDestinations: _list[MonitoringDestination] producerDestinations: _list[MonitoringDestination] @typing.type_check_only -class MonitoringDestination(typing_extensions.TypedDict, total=False): +class MonitoringDestination(typing.TypedDict, total=False): metrics: _list[str] monitoredResource: str @typing.type_check_only -class NodeSettings(typing_extensions.TypedDict, total=False): +class NodeSettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class OAuthRequirements(typing_extensions.TypedDict, total=False): +class OAuthRequirements(typing.TypedDict, total=False): canonicalScopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -874,31 +895,31 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): resourceNames: _list[str] @typing.type_check_only -class Option(typing_extensions.TypedDict, total=False): +class Option(typing.TypedDict, total=False): name: str value: dict[str, typing.Any] @typing.type_check_only -class OverrideInlineSource(typing_extensions.TypedDict, total=False): +class OverrideInlineSource(typing.TypedDict, total=False): overrides: _list[QuotaOverride] @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): content: str name: str subpages: _list[Page] @typing.type_check_only -class PhpSettings(typing_extensions.TypedDict, total=False): +class PhpSettings(typing.TypedDict, total=False): common: CommonLanguageSettings libraryPackage: str @typing.type_check_only -class ProducerQuotaPolicy(typing_extensions.TypedDict, total=False): +class ProducerQuotaPolicy(typing.TypedDict, total=False): container: str dimensions: dict[str, typing.Any] metric: str @@ -907,7 +928,7 @@ class ProducerQuotaPolicy(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class Publishing(typing_extensions.TypedDict, total=False): +class Publishing(typing.TypedDict, total=False): apiShortName: str codeownerGithubTeams: _list[str] docTagPrefix: str @@ -916,7 +937,7 @@ class Publishing(typing_extensions.TypedDict, total=False): librarySettings: _list[ClientLibrarySettings] methodSettings: _list[MethodSettings] newIssueUri: str - organization: typing_extensions.Literal[ + organization: typing.Literal[ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", "CLOUD", "ADS", @@ -931,17 +952,17 @@ class Publishing(typing_extensions.TypedDict, total=False): restReferenceDocumentationUri: str @typing.type_check_only -class PythonSettings(typing_extensions.TypedDict, total=False): +class PythonSettings(typing.TypedDict, total=False): common: CommonLanguageSettings experimentalFeatures: ExperimentalFeatures @typing.type_check_only -class Quota(typing_extensions.TypedDict, total=False): +class Quota(typing.TypedDict, total=False): limits: _list[QuotaLimit] metricRules: _list[MetricRule] @typing.type_check_only -class QuotaBucket(typing_extensions.TypedDict, total=False): +class QuotaBucket(typing.TypedDict, total=False): adminOverride: QuotaOverride consumerOverride: QuotaOverride defaultLimit: str @@ -952,7 +973,7 @@ class QuotaBucket(typing_extensions.TypedDict, total=False): rolloutInfo: RolloutInfo @typing.type_check_only -class QuotaLimit(typing_extensions.TypedDict, total=False): +class QuotaLimit(typing.TypedDict, total=False): defaultLimit: str description: str displayName: str @@ -961,11 +982,16 @@ class QuotaLimit(typing_extensions.TypedDict, total=False): maxLimit: str metric: str name: str + trafficSource: typing.Literal[ + "TRAFFIC_SOURCE_UNSPECIFIED", + "TRAFFIC_SOURCE_NONAGENTIC", + "TRAFFIC_SOURCE_AGENTIC", + ] unit: str values: dict[str, typing.Any] @typing.type_check_only -class QuotaOverride(typing_extensions.TypedDict, total=False): +class QuotaOverride(typing.TypedDict, total=False): adminOverrideAncestor: str dimensions: dict[str, typing.Any] metric: str @@ -974,35 +1000,35 @@ class QuotaOverride(typing_extensions.TypedDict, total=False): unit: str @typing.type_check_only -class RemoveEnableRulesMetadata(typing_extensions.TypedDict, total=False): ... +class RemoveEnableRulesMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveEnableRulesResponse(typing_extensions.TypedDict, total=False): +class RemoveEnableRulesResponse(typing.TypedDict, total=False): parent: str removedValues: _list[str] @typing.type_check_only -class RolloutInfo(typing_extensions.TypedDict, total=False): +class RolloutInfo(typing.TypedDict, total=False): defaultLimitOngoingRollout: bool @typing.type_check_only -class RubySettings(typing_extensions.TypedDict, total=False): +class RubySettings(typing.TypedDict, total=False): common: CommonLanguageSettings @typing.type_check_only -class SelectiveGapicGeneration(typing_extensions.TypedDict, total=False): +class SelectiveGapicGeneration(typing.TypedDict, total=False): generateOmittedAsInternal: bool methods: _list[str] @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): config: ServiceConfig name: str parent: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DISABLED", "ENABLED"] + state: typing.Literal["STATE_UNSPECIFIED", "DISABLED", "ENABLED"] @typing.type_check_only -class ServiceConfig(typing_extensions.TypedDict, total=False): +class ServiceConfig(typing.TypedDict, total=False): apis: _list[Api] authentication: Authentication documentation: Documentation @@ -1015,68 +1041,66 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): usage: Usage @typing.type_check_only -class ServiceIdentity(typing_extensions.TypedDict, total=False): +class ServiceIdentity(typing.TypedDict, total=False): email: str uniqueId: str @typing.type_check_only -class SourceContext(typing_extensions.TypedDict, total=False): +class SourceContext(typing.TypedDict, total=False): fileName: str @typing.type_check_only -class SourceInfo(typing_extensions.TypedDict, total=False): +class SourceInfo(typing.TypedDict, total=False): sourceFiles: _list[dict[str, typing.Any]] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SystemParameter(typing_extensions.TypedDict, total=False): +class SystemParameter(typing.TypedDict, total=False): httpHeader: str name: str urlQueryParameter: str @typing.type_check_only -class SystemParameterRule(typing_extensions.TypedDict, total=False): +class SystemParameterRule(typing.TypedDict, total=False): parameters: _list[SystemParameter] selector: str @typing.type_check_only -class SystemParameters(typing_extensions.TypedDict, total=False): +class SystemParameters(typing.TypedDict, total=False): rules: _list[SystemParameterRule] @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): edition: str fields: _list[Field] name: str oneofs: _list[str] options: _list[Option] sourceContext: SourceContext - syntax: typing_extensions.Literal[ - "SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS" - ] + syntax: typing.Literal["SYNTAX_PROTO2", "SYNTAX_PROTO3", "SYNTAX_EDITIONS"] @typing.type_check_only -class UpdateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateAdminQuotaPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateConsumerPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class UpdateContentSecurityPolicyMetadata(typing_extensions.TypedDict, total=False): ... +class UpdateContentSecurityPolicyMetadata(typing.TypedDict, total=False): ... @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): producerNotificationChannel: str requirements: _list[str] rules: _list[UsageRule] @typing.type_check_only -class UsageRule(typing_extensions.TypedDict, total=False): +class UsageRule(typing.TypedDict, total=False): allowUnregisteredCalls: bool selector: str skipServiceControl: bool diff --git a/googleapiclient-stubs/_apis/sheets/v4/resources.pyi b/googleapiclient-stubs/_apis/sheets/v4/resources.pyi index d95b0493e..792eeeb41 100644 --- a/googleapiclient-stubs/_apis/sheets/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/sheets/v4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -48,17 +47,17 @@ class SheetsResource(googleapiclient.discovery.Resource): range: str, body: ValueRange, includeValuesInResponse: bool | None = ..., - insertDataOption: typing_extensions.Literal["OVERWRITE", "INSERT_ROWS"] + insertDataOption: typing.Literal["OVERWRITE", "INSERT_ROWS"] | None = ..., - responseDateTimeRenderOption: typing_extensions.Literal[ + responseDateTimeRenderOption: typing.Literal[ "SERIAL_NUMBER", "FORMATTED_STRING" ] | None = ..., - responseValueRenderOption: typing_extensions.Literal[ + responseValueRenderOption: typing.Literal[ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ] | None = ..., - valueInputOption: typing_extensions.Literal[ + valueInputOption: typing.Literal[ "INPUT_VALUE_OPTION_UNSPECIFIED", "RAW", "USER_ENTERED" ] | None = ..., @@ -82,16 +81,16 @@ class SheetsResource(googleapiclient.discovery.Resource): self, *, spreadsheetId: str, - dateTimeRenderOption: typing_extensions.Literal[ + dateTimeRenderOption: typing.Literal[ "SERIAL_NUMBER", "FORMATTED_STRING" ] | None = ..., - majorDimension: typing_extensions.Literal[ + majorDimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS" ] | None = ..., ranges: str | _list[str] | None = ..., - valueRenderOption: typing_extensions.Literal[ + valueRenderOption: typing.Literal[ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ] | None = ..., @@ -131,15 +130,15 @@ class SheetsResource(googleapiclient.discovery.Resource): *, spreadsheetId: str, range: str, - dateTimeRenderOption: typing_extensions.Literal[ + dateTimeRenderOption: typing.Literal[ "SERIAL_NUMBER", "FORMATTED_STRING" ] | None = ..., - majorDimension: typing_extensions.Literal[ + majorDimension: typing.Literal[ "DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS" ] | None = ..., - valueRenderOption: typing_extensions.Literal[ + valueRenderOption: typing.Literal[ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ] | None = ..., @@ -152,15 +151,15 @@ class SheetsResource(googleapiclient.discovery.Resource): range: str, body: ValueRange, includeValuesInResponse: bool | None = ..., - responseDateTimeRenderOption: typing_extensions.Literal[ + responseDateTimeRenderOption: typing.Literal[ "SERIAL_NUMBER", "FORMATTED_STRING" ] | None = ..., - responseValueRenderOption: typing_extensions.Literal[ + responseValueRenderOption: typing.Literal[ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ] | None = ..., - valueInputOption: typing_extensions.Literal[ + valueInputOption: typing.Literal[ "INPUT_VALUE_OPTION_UNSPECIFIED", "RAW", "USER_ENTERED" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi b/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi index aad6271e1..50a4f0520 100644 --- a/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sheets/v4/schemas.pyi @@ -1,127 +1,125 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddBandingRequest(typing_extensions.TypedDict, total=False): +class AddBandingRequest(typing.TypedDict, total=False): bandedRange: BandedRange @typing.type_check_only -class AddBandingResponse(typing_extensions.TypedDict, total=False): +class AddBandingResponse(typing.TypedDict, total=False): bandedRange: BandedRange @typing.type_check_only -class AddChartRequest(typing_extensions.TypedDict, total=False): +class AddChartRequest(typing.TypedDict, total=False): chart: EmbeddedChart @typing.type_check_only -class AddChartResponse(typing_extensions.TypedDict, total=False): +class AddChartResponse(typing.TypedDict, total=False): chart: EmbeddedChart @typing.type_check_only -class AddConditionalFormatRuleRequest(typing_extensions.TypedDict, total=False): +class AddConditionalFormatRuleRequest(typing.TypedDict, total=False): index: int rule: ConditionalFormatRule @typing.type_check_only -class AddDataSourceRequest(typing_extensions.TypedDict, total=False): +class AddDataSourceRequest(typing.TypedDict, total=False): dataSource: DataSource @typing.type_check_only -class AddDataSourceResponse(typing_extensions.TypedDict, total=False): +class AddDataSourceResponse(typing.TypedDict, total=False): dataExecutionStatus: DataExecutionStatus dataSource: DataSource @typing.type_check_only -class AddDimensionGroupRequest(typing_extensions.TypedDict, total=False): +class AddDimensionGroupRequest(typing.TypedDict, total=False): range: DimensionRange @typing.type_check_only -class AddDimensionGroupResponse(typing_extensions.TypedDict, total=False): +class AddDimensionGroupResponse(typing.TypedDict, total=False): dimensionGroups: _list[DimensionGroup] @typing.type_check_only -class AddFilterViewRequest(typing_extensions.TypedDict, total=False): +class AddFilterViewRequest(typing.TypedDict, total=False): filter: FilterView @typing.type_check_only -class AddFilterViewResponse(typing_extensions.TypedDict, total=False): +class AddFilterViewResponse(typing.TypedDict, total=False): filter: FilterView @typing.type_check_only -class AddNamedRangeRequest(typing_extensions.TypedDict, total=False): +class AddNamedRangeRequest(typing.TypedDict, total=False): namedRange: NamedRange @typing.type_check_only -class AddNamedRangeResponse(typing_extensions.TypedDict, total=False): +class AddNamedRangeResponse(typing.TypedDict, total=False): namedRange: NamedRange @typing.type_check_only -class AddProtectedRangeRequest(typing_extensions.TypedDict, total=False): +class AddProtectedRangeRequest(typing.TypedDict, total=False): protectedRange: ProtectedRange @typing.type_check_only -class AddProtectedRangeResponse(typing_extensions.TypedDict, total=False): +class AddProtectedRangeResponse(typing.TypedDict, total=False): protectedRange: ProtectedRange @typing.type_check_only -class AddSheetRequest(typing_extensions.TypedDict, total=False): +class AddSheetRequest(typing.TypedDict, total=False): properties: SheetProperties @typing.type_check_only -class AddSheetResponse(typing_extensions.TypedDict, total=False): +class AddSheetResponse(typing.TypedDict, total=False): properties: SheetProperties @typing.type_check_only -class AddSlicerRequest(typing_extensions.TypedDict, total=False): +class AddSlicerRequest(typing.TypedDict, total=False): slicer: Slicer @typing.type_check_only -class AddSlicerResponse(typing_extensions.TypedDict, total=False): +class AddSlicerResponse(typing.TypedDict, total=False): slicer: Slicer @typing.type_check_only -class AddTableRequest(typing_extensions.TypedDict, total=False): +class AddTableRequest(typing.TypedDict, total=False): table: Table @typing.type_check_only -class AddTableResponse(typing_extensions.TypedDict, total=False): +class AddTableResponse(typing.TypedDict, total=False): table: Table @typing.type_check_only -class AppendCellsRequest(typing_extensions.TypedDict, total=False): +class AppendCellsRequest(typing.TypedDict, total=False): fields: str rows: _list[RowData] sheetId: int tableId: str @typing.type_check_only -class AppendDimensionRequest(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] +class AppendDimensionRequest(typing.TypedDict, total=False): + dimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] length: int sheetId: int @typing.type_check_only -class AppendValuesResponse(typing_extensions.TypedDict, total=False): +class AppendValuesResponse(typing.TypedDict, total=False): spreadsheetId: str tableRange: str updates: UpdateValuesResponse @typing.type_check_only -class AutoFillRequest(typing_extensions.TypedDict, total=False): +class AutoFillRequest(typing.TypedDict, total=False): range: GridRange sourceAndDestination: SourceAndDestination useAlternateSeries: bool @typing.type_check_only -class AutoResizeDimensionsRequest(typing_extensions.TypedDict, total=False): +class AutoResizeDimensionsRequest(typing.TypedDict, total=False): dataSourceSheetDimensions: DataSourceSheetDimensionRange dimensions: DimensionRange @typing.type_check_only -class BandedRange(typing_extensions.TypedDict, total=False): +class BandedRange(typing.TypedDict, total=False): bandedRangeId: int bandedRangeReference: str columnProperties: BandingProperties @@ -129,7 +127,7 @@ class BandedRange(typing_extensions.TypedDict, total=False): rowProperties: BandingProperties @typing.type_check_only -class BandingProperties(typing_extensions.TypedDict, total=False): +class BandingProperties(typing.TypedDict, total=False): firstBandColor: Color firstBandColorStyle: ColorStyle footerColor: Color @@ -140,8 +138,8 @@ class BandingProperties(typing_extensions.TypedDict, total=False): secondBandColorStyle: ColorStyle @typing.type_check_only -class BaselineValueFormat(typing_extensions.TypedDict, total=False): - comparisonType: typing_extensions.Literal[ +class BaselineValueFormat(typing.TypedDict, total=False): + comparisonType: typing.Literal[ "COMPARISON_TYPE_UNDEFINED", "ABSOLUTE_DIFFERENCE", "PERCENTAGE_DIFFERENCE" ] description: str @@ -153,9 +151,9 @@ class BaselineValueFormat(typing_extensions.TypedDict, total=False): textFormat: TextFormat @typing.type_check_only -class BasicChartAxis(typing_extensions.TypedDict, total=False): +class BasicChartAxis(typing.TypedDict, total=False): format: TextFormat - position: typing_extensions.Literal[ + position: typing.Literal[ "BASIC_CHART_AXIS_POSITION_UNSPECIFIED", "BOTTOM_AXIS", "LEFT_AXIS", @@ -166,12 +164,12 @@ class BasicChartAxis(typing_extensions.TypedDict, total=False): viewWindowOptions: ChartAxisViewWindowOptions @typing.type_check_only -class BasicChartDomain(typing_extensions.TypedDict, total=False): +class BasicChartDomain(typing.TypedDict, total=False): domain: ChartData reversed: bool @typing.type_check_only -class BasicChartSeries(typing_extensions.TypedDict, total=False): +class BasicChartSeries(typing.TypedDict, total=False): color: Color colorStyle: ColorStyle dataLabel: DataLabel @@ -179,13 +177,13 @@ class BasicChartSeries(typing_extensions.TypedDict, total=False): pointStyle: PointStyle series: ChartData styleOverrides: _list[BasicSeriesDataPointStyleOverride] - targetAxis: typing_extensions.Literal[ + targetAxis: typing.Literal[ "BASIC_CHART_AXIS_POSITION_UNSPECIFIED", "BOTTOM_AXIS", "LEFT_AXIS", "RIGHT_AXIS", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "BASIC_CHART_TYPE_UNSPECIFIED", "BAR", "LINE", @@ -197,9 +195,9 @@ class BasicChartSeries(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BasicChartSpec(typing_extensions.TypedDict, total=False): +class BasicChartSpec(typing.TypedDict, total=False): axis: _list[BasicChartAxis] - chartType: typing_extensions.Literal[ + chartType: typing.Literal[ "BASIC_CHART_TYPE_UNSPECIFIED", "BAR", "LINE", @@ -209,13 +207,13 @@ class BasicChartSpec(typing_extensions.TypedDict, total=False): "COMBO", "STEPPED_AREA", ] - compareMode: typing_extensions.Literal[ + compareMode: typing.Literal[ "BASIC_CHART_COMPARE_MODE_UNSPECIFIED", "DATUM", "CATEGORY" ] domains: _list[BasicChartDomain] headerCount: int interpolateNulls: bool - legendPosition: typing_extensions.Literal[ + legendPosition: typing.Literal[ "BASIC_CHART_LEGEND_POSITION_UNSPECIFIED", "BOTTOM_LEGEND", "LEFT_LEGEND", @@ -225,7 +223,7 @@ class BasicChartSpec(typing_extensions.TypedDict, total=False): ] lineSmoothing: bool series: _list[BasicChartSeries] - stackedType: typing_extensions.Literal[ + stackedType: typing.Literal[ "BASIC_CHART_STACKED_TYPE_UNSPECIFIED", "NOT_STACKED", "STACKED", @@ -235,7 +233,7 @@ class BasicChartSpec(typing_extensions.TypedDict, total=False): totalDataLabel: DataLabel @typing.type_check_only -class BasicFilter(typing_extensions.TypedDict, total=False): +class BasicFilter(typing.TypedDict, total=False): criteria: dict[str, typing.Any] filterSpecs: _list[FilterSpec] range: GridRange @@ -243,80 +241,74 @@ class BasicFilter(typing_extensions.TypedDict, total=False): tableId: str @typing.type_check_only -class BasicSeriesDataPointStyleOverride(typing_extensions.TypedDict, total=False): +class BasicSeriesDataPointStyleOverride(typing.TypedDict, total=False): color: Color colorStyle: ColorStyle index: int pointStyle: PointStyle @typing.type_check_only -class BatchClearValuesByDataFilterRequest(typing_extensions.TypedDict, total=False): +class BatchClearValuesByDataFilterRequest(typing.TypedDict, total=False): dataFilters: _list[DataFilter] @typing.type_check_only -class BatchClearValuesByDataFilterResponse(typing_extensions.TypedDict, total=False): +class BatchClearValuesByDataFilterResponse(typing.TypedDict, total=False): clearedRanges: _list[str] spreadsheetId: str @typing.type_check_only -class BatchClearValuesRequest(typing_extensions.TypedDict, total=False): +class BatchClearValuesRequest(typing.TypedDict, total=False): ranges: _list[str] @typing.type_check_only -class BatchClearValuesResponse(typing_extensions.TypedDict, total=False): +class BatchClearValuesResponse(typing.TypedDict, total=False): clearedRanges: _list[str] spreadsheetId: str @typing.type_check_only -class BatchGetValuesByDataFilterRequest(typing_extensions.TypedDict, total=False): +class BatchGetValuesByDataFilterRequest(typing.TypedDict, total=False): dataFilters: _list[DataFilter] - dateTimeRenderOption: typing_extensions.Literal["SERIAL_NUMBER", "FORMATTED_STRING"] - majorDimension: typing_extensions.Literal[ - "DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS" - ] - valueRenderOption: typing_extensions.Literal[ - "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" - ] + dateTimeRenderOption: typing.Literal["SERIAL_NUMBER", "FORMATTED_STRING"] + majorDimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] + valueRenderOption: typing.Literal["FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA"] @typing.type_check_only -class BatchGetValuesByDataFilterResponse(typing_extensions.TypedDict, total=False): +class BatchGetValuesByDataFilterResponse(typing.TypedDict, total=False): spreadsheetId: str valueRanges: _list[MatchedValueRange] @typing.type_check_only -class BatchGetValuesResponse(typing_extensions.TypedDict, total=False): +class BatchGetValuesResponse(typing.TypedDict, total=False): spreadsheetId: str valueRanges: _list[ValueRange] @typing.type_check_only -class BatchUpdateSpreadsheetRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateSpreadsheetRequest(typing.TypedDict, total=False): includeSpreadsheetInResponse: bool requests: _list[Request] responseIncludeGridData: bool responseRanges: _list[str] @typing.type_check_only -class BatchUpdateSpreadsheetResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateSpreadsheetResponse(typing.TypedDict, total=False): replies: _list[Response] spreadsheetId: str updatedSpreadsheet: Spreadsheet @typing.type_check_only -class BatchUpdateValuesByDataFilterRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateValuesByDataFilterRequest(typing.TypedDict, total=False): data: _list[DataFilterValueRange] includeValuesInResponse: bool - responseDateTimeRenderOption: typing_extensions.Literal[ - "SERIAL_NUMBER", "FORMATTED_STRING" - ] - responseValueRenderOption: typing_extensions.Literal[ + responseDateTimeRenderOption: typing.Literal["SERIAL_NUMBER", "FORMATTED_STRING"] + responseValueRenderOption: typing.Literal[ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ] - valueInputOption: typing_extensions.Literal[ + valueInputOption: typing.Literal[ "INPUT_VALUE_OPTION_UNSPECIFIED", "RAW", "USER_ENTERED" ] @typing.type_check_only -class BatchUpdateValuesByDataFilterResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateValuesByDataFilterResponse(typing.TypedDict, total=False): responses: _list[UpdateValuesByDataFilterResponse] spreadsheetId: str totalUpdatedCells: int @@ -325,21 +317,19 @@ class BatchUpdateValuesByDataFilterResponse(typing_extensions.TypedDict, total=F totalUpdatedSheets: int @typing.type_check_only -class BatchUpdateValuesRequest(typing_extensions.TypedDict, total=False): +class BatchUpdateValuesRequest(typing.TypedDict, total=False): data: _list[ValueRange] includeValuesInResponse: bool - responseDateTimeRenderOption: typing_extensions.Literal[ - "SERIAL_NUMBER", "FORMATTED_STRING" - ] - responseValueRenderOption: typing_extensions.Literal[ + responseDateTimeRenderOption: typing.Literal["SERIAL_NUMBER", "FORMATTED_STRING"] + responseValueRenderOption: typing.Literal[ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ] - valueInputOption: typing_extensions.Literal[ + valueInputOption: typing.Literal[ "INPUT_VALUE_OPTION_UNSPECIFIED", "RAW", "USER_ENTERED" ] @typing.type_check_only -class BatchUpdateValuesResponse(typing_extensions.TypedDict, total=False): +class BatchUpdateValuesResponse(typing.TypedDict, total=False): responses: _list[UpdateValuesResponse] spreadsheetId: str totalUpdatedCells: int @@ -348,24 +338,24 @@ class BatchUpdateValuesResponse(typing_extensions.TypedDict, total=False): totalUpdatedSheets: int @typing.type_check_only -class BigQueryDataSourceSpec(typing_extensions.TypedDict, total=False): +class BigQueryDataSourceSpec(typing.TypedDict, total=False): projectId: str querySpec: BigQueryQuerySpec tableSpec: BigQueryTableSpec @typing.type_check_only -class BigQueryQuerySpec(typing_extensions.TypedDict, total=False): +class BigQueryQuerySpec(typing.TypedDict, total=False): rawQuery: str @typing.type_check_only -class BigQueryTableSpec(typing_extensions.TypedDict, total=False): +class BigQueryTableSpec(typing.TypedDict, total=False): datasetId: str tableId: str tableProjectId: str @typing.type_check_only -class BooleanCondition(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class BooleanCondition(typing.TypedDict, total=False): + type: typing.Literal[ "CONDITION_TYPE_UNSPECIFIED", "NUMBER_GREATER", "NUMBER_GREATER_THAN_EQ", @@ -403,15 +393,15 @@ class BooleanCondition(typing_extensions.TypedDict, total=False): values: _list[ConditionValue] @typing.type_check_only -class BooleanRule(typing_extensions.TypedDict, total=False): +class BooleanRule(typing.TypedDict, total=False): condition: BooleanCondition format: CellFormat @typing.type_check_only -class Border(typing_extensions.TypedDict, total=False): +class Border(typing.TypedDict, total=False): color: Color colorStyle: ColorStyle - style: typing_extensions.Literal[ + style: typing.Literal[ "STYLE_UNSPECIFIED", "DOTTED", "DASHED", @@ -424,14 +414,14 @@ class Border(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class Borders(typing_extensions.TypedDict, total=False): +class Borders(typing.TypedDict, total=False): bottom: Border left: Border right: Border top: Border @typing.type_check_only -class BubbleChartSpec(typing_extensions.TypedDict, total=False): +class BubbleChartSpec(typing.TypedDict, total=False): bubbleBorderColor: Color bubbleBorderColorStyle: ColorStyle bubbleLabels: ChartData @@ -442,7 +432,7 @@ class BubbleChartSpec(typing_extensions.TypedDict, total=False): bubbleTextStyle: TextFormat domain: ChartData groupIds: ChartData - legendPosition: typing_extensions.Literal[ + legendPosition: typing.Literal[ "BUBBLE_CHART_LEGEND_POSITION_UNSPECIFIED", "BOTTOM_LEGEND", "LEFT_LEGEND", @@ -454,43 +444,43 @@ class BubbleChartSpec(typing_extensions.TypedDict, total=False): series: ChartData @typing.type_check_only -class CancelDataSourceRefreshRequest(typing_extensions.TypedDict, total=False): +class CancelDataSourceRefreshRequest(typing.TypedDict, total=False): dataSourceId: str isAll: bool references: DataSourceObjectReferences @typing.type_check_only -class CancelDataSourceRefreshResponse(typing_extensions.TypedDict, total=False): +class CancelDataSourceRefreshResponse(typing.TypedDict, total=False): statuses: _list[CancelDataSourceRefreshStatus] @typing.type_check_only -class CancelDataSourceRefreshStatus(typing_extensions.TypedDict, total=False): +class CancelDataSourceRefreshStatus(typing.TypedDict, total=False): reference: DataSourceObjectReference refreshCancellationStatus: RefreshCancellationStatus @typing.type_check_only -class CandlestickChartSpec(typing_extensions.TypedDict, total=False): +class CandlestickChartSpec(typing.TypedDict, total=False): data: _list[CandlestickData] domain: CandlestickDomain @typing.type_check_only -class CandlestickData(typing_extensions.TypedDict, total=False): +class CandlestickData(typing.TypedDict, total=False): closeSeries: CandlestickSeries highSeries: CandlestickSeries lowSeries: CandlestickSeries openSeries: CandlestickSeries @typing.type_check_only -class CandlestickDomain(typing_extensions.TypedDict, total=False): +class CandlestickDomain(typing.TypedDict, total=False): data: ChartData reversed: bool @typing.type_check_only -class CandlestickSeries(typing_extensions.TypedDict, total=False): +class CandlestickSeries(typing.TypedDict, total=False): data: ChartData @typing.type_check_only -class CellData(typing_extensions.TypedDict, total=False): +class CellData(typing.TypedDict, total=False): chipRuns: _list[ChipRun] dataSourceFormula: DataSourceFormula dataSourceTable: DataSourceTable @@ -506,46 +496,46 @@ class CellData(typing_extensions.TypedDict, total=False): userEnteredValue: ExtendedValue @typing.type_check_only -class CellFormat(typing_extensions.TypedDict, total=False): +class CellFormat(typing.TypedDict, total=False): backgroundColor: Color backgroundColorStyle: ColorStyle borders: Borders - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGN_UNSPECIFIED", "LEFT", "CENTER", "RIGHT" ] - hyperlinkDisplayType: typing_extensions.Literal[ + hyperlinkDisplayType: typing.Literal[ "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED", "LINKED", "PLAIN_TEXT" ] numberFormat: NumberFormat padding: Padding - textDirection: typing_extensions.Literal[ + textDirection: typing.Literal[ "TEXT_DIRECTION_UNSPECIFIED", "LEFT_TO_RIGHT", "RIGHT_TO_LEFT" ] textFormat: TextFormat textRotation: TextRotation - verticalAlignment: typing_extensions.Literal[ + verticalAlignment: typing.Literal[ "VERTICAL_ALIGN_UNSPECIFIED", "TOP", "MIDDLE", "BOTTOM" ] - wrapStrategy: typing_extensions.Literal[ + wrapStrategy: typing.Literal[ "WRAP_STRATEGY_UNSPECIFIED", "OVERFLOW_CELL", "LEGACY_WRAP", "CLIP", "WRAP" ] @typing.type_check_only -class ChartAxisViewWindowOptions(typing_extensions.TypedDict, total=False): +class ChartAxisViewWindowOptions(typing.TypedDict, total=False): viewWindowMax: float viewWindowMin: float - viewWindowMode: typing_extensions.Literal[ + viewWindowMode: typing.Literal[ "DEFAULT_VIEW_WINDOW_MODE", "VIEW_WINDOW_MODE_UNSUPPORTED", "EXPLICIT", "PRETTY" ] @typing.type_check_only -class ChartCustomNumberFormatOptions(typing_extensions.TypedDict, total=False): +class ChartCustomNumberFormatOptions(typing.TypedDict, total=False): prefix: str suffix: str @typing.type_check_only -class ChartData(typing_extensions.TypedDict, total=False): - aggregateType: typing_extensions.Literal[ +class ChartData(typing.TypedDict, total=False): + aggregateType: typing.Literal[ "CHART_AGGREGATE_TYPE_UNSPECIFIED", "AVERAGE", "COUNT", @@ -559,8 +549,8 @@ class ChartData(typing_extensions.TypedDict, total=False): sourceRange: ChartSourceRange @typing.type_check_only -class ChartDateTimeRule(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class ChartDateTimeRule(typing.TypedDict, total=False): + type: typing.Literal[ "CHART_DATE_TIME_RULE_TYPE_UNSPECIFIED", "SECOND", "MINUTE", @@ -580,22 +570,22 @@ class ChartDateTimeRule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ChartGroupRule(typing_extensions.TypedDict, total=False): +class ChartGroupRule(typing.TypedDict, total=False): dateTimeRule: ChartDateTimeRule histogramRule: ChartHistogramRule @typing.type_check_only -class ChartHistogramRule(typing_extensions.TypedDict, total=False): +class ChartHistogramRule(typing.TypedDict, total=False): intervalSize: float maxValue: float minValue: float @typing.type_check_only -class ChartSourceRange(typing_extensions.TypedDict, total=False): +class ChartSourceRange(typing.TypedDict, total=False): sources: _list[GridRange] @typing.type_check_only -class ChartSpec(typing_extensions.TypedDict, total=False): +class ChartSpec(typing.TypedDict, total=False): altText: str backgroundColor: Color backgroundColorStyle: ColorStyle @@ -605,7 +595,7 @@ class ChartSpec(typing_extensions.TypedDict, total=False): dataSourceChartProperties: DataSourceChartProperties filterSpecs: _list[FilterSpec] fontName: str - hiddenDimensionStrategy: typing_extensions.Literal[ + hiddenDimensionStrategy: typing.Literal[ "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED", "SKIP_HIDDEN_ROWS_AND_COLUMNS", "SKIP_HIDDEN_ROWS", @@ -628,38 +618,38 @@ class ChartSpec(typing_extensions.TypedDict, total=False): waterfallChart: WaterfallChartSpec @typing.type_check_only -class Chip(typing_extensions.TypedDict, total=False): +class Chip(typing.TypedDict, total=False): personProperties: PersonProperties richLinkProperties: RichLinkProperties @typing.type_check_only -class ChipRun(typing_extensions.TypedDict, total=False): +class ChipRun(typing.TypedDict, total=False): chip: Chip startIndex: int @typing.type_check_only -class ClearBasicFilterRequest(typing_extensions.TypedDict, total=False): +class ClearBasicFilterRequest(typing.TypedDict, total=False): sheetId: int @typing.type_check_only -class ClearValuesRequest(typing_extensions.TypedDict, total=False): ... +class ClearValuesRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClearValuesResponse(typing_extensions.TypedDict, total=False): +class ClearValuesResponse(typing.TypedDict, total=False): clearedRange: str spreadsheetId: str @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class ColorStyle(typing_extensions.TypedDict, total=False): +class ColorStyle(typing.TypedDict, total=False): rgbColor: Color - themeColor: typing_extensions.Literal[ + themeColor: typing.Literal[ "THEME_COLOR_TYPE_UNSPECIFIED", "TEXT", "BACKGROUND", @@ -673,8 +663,8 @@ class ColorStyle(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConditionValue(typing_extensions.TypedDict, total=False): - relativeDate: typing_extensions.Literal[ +class ConditionValue(typing.TypedDict, total=False): + relativeDate: typing.Literal[ "RELATIVE_DATE_UNSPECIFIED", "PAST_YEAR", "PAST_MONTH", @@ -686,16 +676,16 @@ class ConditionValue(typing_extensions.TypedDict, total=False): userEnteredValue: str @typing.type_check_only -class ConditionalFormatRule(typing_extensions.TypedDict, total=False): +class ConditionalFormatRule(typing.TypedDict, total=False): booleanRule: BooleanRule gradientRule: GradientRule ranges: _list[GridRange] @typing.type_check_only -class CopyPasteRequest(typing_extensions.TypedDict, total=False): +class CopyPasteRequest(typing.TypedDict, total=False): destination: GridRange - pasteOrientation: typing_extensions.Literal["NORMAL", "TRANSPOSE"] - pasteType: typing_extensions.Literal[ + pasteOrientation: typing.Literal["NORMAL", "TRANSPOSE"] + pasteType: typing.Literal[ "PASTE_NORMAL", "PASTE_VALUES", "PASTE_FORMAT", @@ -707,21 +697,21 @@ class CopyPasteRequest(typing_extensions.TypedDict, total=False): source: GridRange @typing.type_check_only -class CopySheetToAnotherSpreadsheetRequest(typing_extensions.TypedDict, total=False): +class CopySheetToAnotherSpreadsheetRequest(typing.TypedDict, total=False): destinationSpreadsheetId: str @typing.type_check_only -class CreateDeveloperMetadataRequest(typing_extensions.TypedDict, total=False): +class CreateDeveloperMetadataRequest(typing.TypedDict, total=False): developerMetadata: DeveloperMetadata @typing.type_check_only -class CreateDeveloperMetadataResponse(typing_extensions.TypedDict, total=False): +class CreateDeveloperMetadataResponse(typing.TypedDict, total=False): developerMetadata: DeveloperMetadata @typing.type_check_only -class CutPasteRequest(typing_extensions.TypedDict, total=False): +class CutPasteRequest(typing.TypedDict, total=False): destination: GridCoordinate - pasteType: typing_extensions.Literal[ + pasteType: typing.Literal[ "PASTE_NORMAL", "PASTE_VALUES", "PASTE_FORMAT", @@ -733,8 +723,8 @@ class CutPasteRequest(typing_extensions.TypedDict, total=False): source: GridRange @typing.type_check_only -class DataExecutionStatus(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class DataExecutionStatus(typing.TypedDict, total=False): + errorCode: typing.Literal[ "DATA_EXECUTION_ERROR_CODE_UNSPECIFIED", "TIMED_OUT", "TOO_MANY_ROWS", @@ -758,7 +748,7 @@ class DataExecutionStatus(typing_extensions.TypedDict, total=False): ] errorMessage: str lastRefreshTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "DATA_EXECUTION_STATE_UNSPECIFIED", "NOT_STARTED", "RUNNING", @@ -768,23 +758,21 @@ class DataExecutionStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DataFilter(typing_extensions.TypedDict, total=False): +class DataFilter(typing.TypedDict, total=False): a1Range: str developerMetadataLookup: DeveloperMetadataLookup gridRange: GridRange @typing.type_check_only -class DataFilterValueRange(typing_extensions.TypedDict, total=False): +class DataFilterValueRange(typing.TypedDict, total=False): dataFilter: DataFilter - majorDimension: typing_extensions.Literal[ - "DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS" - ] + majorDimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] values: _list[_list[typing.Any]] @typing.type_check_only -class DataLabel(typing_extensions.TypedDict, total=False): +class DataLabel(typing.TypedDict, total=False): customLabelData: ChartData - placement: typing_extensions.Literal[ + placement: typing.Literal[ "DATA_LABEL_PLACEMENT_UNSPECIFIED", "CENTER", "LEFT", @@ -796,38 +784,36 @@ class DataLabel(typing_extensions.TypedDict, total=False): "OUTSIDE_END", ] textFormat: TextFormat - type: typing_extensions.Literal[ - "DATA_LABEL_TYPE_UNSPECIFIED", "NONE", "DATA", "CUSTOM" - ] + type: typing.Literal["DATA_LABEL_TYPE_UNSPECIFIED", "NONE", "DATA", "CUSTOM"] @typing.type_check_only -class DataSource(typing_extensions.TypedDict, total=False): +class DataSource(typing.TypedDict, total=False): calculatedColumns: _list[DataSourceColumn] dataSourceId: str sheetId: int spec: DataSourceSpec @typing.type_check_only -class DataSourceChartProperties(typing_extensions.TypedDict, total=False): +class DataSourceChartProperties(typing.TypedDict, total=False): dataExecutionStatus: DataExecutionStatus dataSourceId: str @typing.type_check_only -class DataSourceColumn(typing_extensions.TypedDict, total=False): +class DataSourceColumn(typing.TypedDict, total=False): formula: str reference: DataSourceColumnReference @typing.type_check_only -class DataSourceColumnReference(typing_extensions.TypedDict, total=False): +class DataSourceColumnReference(typing.TypedDict, total=False): name: str @typing.type_check_only -class DataSourceFormula(typing_extensions.TypedDict, total=False): +class DataSourceFormula(typing.TypedDict, total=False): dataExecutionStatus: DataExecutionStatus dataSourceId: str @typing.type_check_only -class DataSourceObjectReference(typing_extensions.TypedDict, total=False): +class DataSourceObjectReference(typing.TypedDict, total=False): chartId: int dataSourceFormulaCell: GridCoordinate dataSourcePivotTableAnchorCell: GridCoordinate @@ -835,39 +821,39 @@ class DataSourceObjectReference(typing_extensions.TypedDict, total=False): sheetId: str @typing.type_check_only -class DataSourceObjectReferences(typing_extensions.TypedDict, total=False): +class DataSourceObjectReferences(typing.TypedDict, total=False): references: _list[DataSourceObjectReference] @typing.type_check_only -class DataSourceParameter(typing_extensions.TypedDict, total=False): +class DataSourceParameter(typing.TypedDict, total=False): name: str namedRangeId: str range: GridRange @typing.type_check_only -class DataSourceRefreshDailySchedule(typing_extensions.TypedDict, total=False): +class DataSourceRefreshDailySchedule(typing.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class DataSourceRefreshMonthlySchedule(typing_extensions.TypedDict, total=False): +class DataSourceRefreshMonthlySchedule(typing.TypedDict, total=False): daysOfMonth: _list[int] startTime: TimeOfDay @typing.type_check_only -class DataSourceRefreshSchedule(typing_extensions.TypedDict, total=False): +class DataSourceRefreshSchedule(typing.TypedDict, total=False): dailySchedule: DataSourceRefreshDailySchedule enabled: bool monthlySchedule: DataSourceRefreshMonthlySchedule nextRun: Interval - refreshScope: typing_extensions.Literal[ + refreshScope: typing.Literal[ "DATA_SOURCE_REFRESH_SCOPE_UNSPECIFIED", "ALL_DATA_SOURCES" ] weeklySchedule: DataSourceRefreshWeeklySchedule @typing.type_check_only -class DataSourceRefreshWeeklySchedule(typing_extensions.TypedDict, total=False): +class DataSourceRefreshWeeklySchedule(typing.TypedDict, total=False): daysOfWeek: _list[ - typing_extensions.Literal[ + typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -881,25 +867,25 @@ class DataSourceRefreshWeeklySchedule(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class DataSourceSheetDimensionRange(typing_extensions.TypedDict, total=False): +class DataSourceSheetDimensionRange(typing.TypedDict, total=False): columnReferences: _list[DataSourceColumnReference] sheetId: int @typing.type_check_only -class DataSourceSheetProperties(typing_extensions.TypedDict, total=False): +class DataSourceSheetProperties(typing.TypedDict, total=False): columns: _list[DataSourceColumn] dataExecutionStatus: DataExecutionStatus dataSourceId: str @typing.type_check_only -class DataSourceSpec(typing_extensions.TypedDict, total=False): +class DataSourceSpec(typing.TypedDict, total=False): bigQuery: BigQueryDataSourceSpec looker: LookerDataSourceSpec parameters: _list[DataSourceParameter] @typing.type_check_only -class DataSourceTable(typing_extensions.TypedDict, total=False): - columnSelectionType: typing_extensions.Literal[ +class DataSourceTable(typing.TypedDict, total=False): + columnSelectionType: typing.Literal[ "DATA_SOURCE_TABLE_COLUMN_SELECTION_TYPE_UNSPECIFIED", "SELECTED", "SYNC_ALL" ] columns: _list[DataSourceColumnReference] @@ -910,15 +896,15 @@ class DataSourceTable(typing_extensions.TypedDict, total=False): sortSpecs: _list[SortSpec] @typing.type_check_only -class DataValidationRule(typing_extensions.TypedDict, total=False): +class DataValidationRule(typing.TypedDict, total=False): condition: BooleanCondition inputMessage: str showCustomUi: bool strict: bool @typing.type_check_only -class DateTimeRule(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class DateTimeRule(typing.TypedDict, total=False): + type: typing.Literal[ "DATE_TIME_RULE_TYPE_UNSPECIFIED", "SECOND", "MINUTE", @@ -938,96 +924,94 @@ class DateTimeRule(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DeleteBandingRequest(typing_extensions.TypedDict, total=False): +class DeleteBandingRequest(typing.TypedDict, total=False): bandedRangeId: int @typing.type_check_only -class DeleteConditionalFormatRuleRequest(typing_extensions.TypedDict, total=False): +class DeleteConditionalFormatRuleRequest(typing.TypedDict, total=False): index: int sheetId: int @typing.type_check_only -class DeleteConditionalFormatRuleResponse(typing_extensions.TypedDict, total=False): +class DeleteConditionalFormatRuleResponse(typing.TypedDict, total=False): rule: ConditionalFormatRule @typing.type_check_only -class DeleteDataSourceRequest(typing_extensions.TypedDict, total=False): +class DeleteDataSourceRequest(typing.TypedDict, total=False): dataSourceId: str @typing.type_check_only -class DeleteDeveloperMetadataRequest(typing_extensions.TypedDict, total=False): +class DeleteDeveloperMetadataRequest(typing.TypedDict, total=False): dataFilter: DataFilter @typing.type_check_only -class DeleteDeveloperMetadataResponse(typing_extensions.TypedDict, total=False): +class DeleteDeveloperMetadataResponse(typing.TypedDict, total=False): deletedDeveloperMetadata: _list[DeveloperMetadata] @typing.type_check_only -class DeleteDimensionGroupRequest(typing_extensions.TypedDict, total=False): +class DeleteDimensionGroupRequest(typing.TypedDict, total=False): range: DimensionRange @typing.type_check_only -class DeleteDimensionGroupResponse(typing_extensions.TypedDict, total=False): +class DeleteDimensionGroupResponse(typing.TypedDict, total=False): dimensionGroups: _list[DimensionGroup] @typing.type_check_only -class DeleteDimensionRequest(typing_extensions.TypedDict, total=False): +class DeleteDimensionRequest(typing.TypedDict, total=False): range: DimensionRange @typing.type_check_only -class DeleteDuplicatesRequest(typing_extensions.TypedDict, total=False): +class DeleteDuplicatesRequest(typing.TypedDict, total=False): comparisonColumns: _list[DimensionRange] range: GridRange @typing.type_check_only -class DeleteDuplicatesResponse(typing_extensions.TypedDict, total=False): +class DeleteDuplicatesResponse(typing.TypedDict, total=False): duplicatesRemovedCount: int @typing.type_check_only -class DeleteEmbeddedObjectRequest(typing_extensions.TypedDict, total=False): +class DeleteEmbeddedObjectRequest(typing.TypedDict, total=False): objectId: int @typing.type_check_only -class DeleteFilterViewRequest(typing_extensions.TypedDict, total=False): +class DeleteFilterViewRequest(typing.TypedDict, total=False): filterId: int @typing.type_check_only -class DeleteNamedRangeRequest(typing_extensions.TypedDict, total=False): +class DeleteNamedRangeRequest(typing.TypedDict, total=False): namedRangeId: str @typing.type_check_only -class DeleteProtectedRangeRequest(typing_extensions.TypedDict, total=False): +class DeleteProtectedRangeRequest(typing.TypedDict, total=False): protectedRangeId: int @typing.type_check_only -class DeleteRangeRequest(typing_extensions.TypedDict, total=False): +class DeleteRangeRequest(typing.TypedDict, total=False): range: GridRange - shiftDimension: typing_extensions.Literal[ - "DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS" - ] + shiftDimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] @typing.type_check_only -class DeleteSheetRequest(typing_extensions.TypedDict, total=False): +class DeleteSheetRequest(typing.TypedDict, total=False): sheetId: int @typing.type_check_only -class DeleteTableRequest(typing_extensions.TypedDict, total=False): +class DeleteTableRequest(typing.TypedDict, total=False): tableId: str @typing.type_check_only -class DeveloperMetadata(typing_extensions.TypedDict, total=False): +class DeveloperMetadata(typing.TypedDict, total=False): location: DeveloperMetadataLocation metadataId: int metadataKey: str metadataValue: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED", "DOCUMENT", "PROJECT" ] @typing.type_check_only -class DeveloperMetadataLocation(typing_extensions.TypedDict, total=False): +class DeveloperMetadataLocation(typing.TypedDict, total=False): dimensionRange: DimensionRange - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED", "ROW", "COLUMN", @@ -1038,13 +1022,13 @@ class DeveloperMetadataLocation(typing_extensions.TypedDict, total=False): spreadsheet: bool @typing.type_check_only -class DeveloperMetadataLookup(typing_extensions.TypedDict, total=False): - locationMatchingStrategy: typing_extensions.Literal[ +class DeveloperMetadataLookup(typing.TypedDict, total=False): + locationMatchingStrategy: typing.Literal[ "DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED", "EXACT_LOCATION", "INTERSECTING_LOCATION", ] - locationType: typing_extensions.Literal[ + locationType: typing.Literal[ "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED", "ROW", "COLUMN", @@ -1055,18 +1039,18 @@ class DeveloperMetadataLookup(typing_extensions.TypedDict, total=False): metadataKey: str metadataLocation: DeveloperMetadataLocation metadataValue: str - visibility: typing_extensions.Literal[ + visibility: typing.Literal[ "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED", "DOCUMENT", "PROJECT" ] @typing.type_check_only -class DimensionGroup(typing_extensions.TypedDict, total=False): +class DimensionGroup(typing.TypedDict, total=False): collapsed: bool depth: int range: DimensionRange @typing.type_check_only -class DimensionProperties(typing_extensions.TypedDict, total=False): +class DimensionProperties(typing.TypedDict, total=False): dataSourceColumnReference: DataSourceColumnReference developerMetadata: _list[DeveloperMetadata] hiddenByFilter: bool @@ -1074,59 +1058,59 @@ class DimensionProperties(typing_extensions.TypedDict, total=False): pixelSize: int @typing.type_check_only -class DimensionRange(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] +class DimensionRange(typing.TypedDict, total=False): + dimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] endIndex: int sheetId: int startIndex: int @typing.type_check_only -class DuplicateFilterViewRequest(typing_extensions.TypedDict, total=False): +class DuplicateFilterViewRequest(typing.TypedDict, total=False): filterId: int @typing.type_check_only -class DuplicateFilterViewResponse(typing_extensions.TypedDict, total=False): +class DuplicateFilterViewResponse(typing.TypedDict, total=False): filter: FilterView @typing.type_check_only -class DuplicateSheetRequest(typing_extensions.TypedDict, total=False): +class DuplicateSheetRequest(typing.TypedDict, total=False): insertSheetIndex: int newSheetId: int newSheetName: str sourceSheetId: int @typing.type_check_only -class DuplicateSheetResponse(typing_extensions.TypedDict, total=False): +class DuplicateSheetResponse(typing.TypedDict, total=False): properties: SheetProperties @typing.type_check_only -class Editors(typing_extensions.TypedDict, total=False): +class Editors(typing.TypedDict, total=False): domainUsersCanEdit: bool groups: _list[str] users: _list[str] @typing.type_check_only -class EmbeddedChart(typing_extensions.TypedDict, total=False): +class EmbeddedChart(typing.TypedDict, total=False): border: EmbeddedObjectBorder chartId: int position: EmbeddedObjectPosition spec: ChartSpec @typing.type_check_only -class EmbeddedObjectBorder(typing_extensions.TypedDict, total=False): +class EmbeddedObjectBorder(typing.TypedDict, total=False): color: Color colorStyle: ColorStyle @typing.type_check_only -class EmbeddedObjectPosition(typing_extensions.TypedDict, total=False): +class EmbeddedObjectPosition(typing.TypedDict, total=False): newSheet: bool overlayPosition: OverlayPosition sheetId: int @typing.type_check_only -class ErrorValue(typing_extensions.TypedDict, total=False): +class ErrorValue(typing.TypedDict, total=False): message: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "ERROR", "NULL_VALUE", @@ -1140,7 +1124,7 @@ class ErrorValue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ExtendedValue(typing_extensions.TypedDict, total=False): +class ExtendedValue(typing.TypedDict, total=False): boolValue: bool errorValue: ErrorValue formulaValue: str @@ -1148,7 +1132,7 @@ class ExtendedValue(typing_extensions.TypedDict, total=False): stringValue: str @typing.type_check_only -class FilterCriteria(typing_extensions.TypedDict, total=False): +class FilterCriteria(typing.TypedDict, total=False): condition: BooleanCondition hiddenValues: _list[str] visibleBackgroundColor: Color @@ -1157,13 +1141,13 @@ class FilterCriteria(typing_extensions.TypedDict, total=False): visibleForegroundColorStyle: ColorStyle @typing.type_check_only -class FilterSpec(typing_extensions.TypedDict, total=False): +class FilterSpec(typing.TypedDict, total=False): columnIndex: int dataSourceColumnReference: DataSourceColumnReference filterCriteria: FilterCriteria @typing.type_check_only -class FilterView(typing_extensions.TypedDict, total=False): +class FilterView(typing.TypedDict, total=False): criteria: dict[str, typing.Any] filterSpecs: _list[FilterSpec] filterViewId: int @@ -1174,7 +1158,7 @@ class FilterView(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class FindReplaceRequest(typing_extensions.TypedDict, total=False): +class FindReplaceRequest(typing.TypedDict, total=False): allSheets: bool find: str includeFormulas: bool @@ -1186,7 +1170,7 @@ class FindReplaceRequest(typing_extensions.TypedDict, total=False): sheetId: int @typing.type_check_only -class FindReplaceResponse(typing_extensions.TypedDict, total=False): +class FindReplaceResponse(typing.TypedDict, total=False): formulasChanged: int occurrencesChanged: int rowsChanged: int @@ -1194,25 +1178,25 @@ class FindReplaceResponse(typing_extensions.TypedDict, total=False): valuesChanged: int @typing.type_check_only -class GetSpreadsheetByDataFilterRequest(typing_extensions.TypedDict, total=False): +class GetSpreadsheetByDataFilterRequest(typing.TypedDict, total=False): dataFilters: _list[DataFilter] excludeTablesInBandedRanges: bool includeGridData: bool @typing.type_check_only -class GradientRule(typing_extensions.TypedDict, total=False): +class GradientRule(typing.TypedDict, total=False): maxpoint: InterpolationPoint midpoint: InterpolationPoint minpoint: InterpolationPoint @typing.type_check_only -class GridCoordinate(typing_extensions.TypedDict, total=False): +class GridCoordinate(typing.TypedDict, total=False): columnIndex: int rowIndex: int sheetId: int @typing.type_check_only -class GridData(typing_extensions.TypedDict, total=False): +class GridData(typing.TypedDict, total=False): columnMetadata: _list[DimensionProperties] rowData: _list[RowData] rowMetadata: _list[DimensionProperties] @@ -1220,7 +1204,7 @@ class GridData(typing_extensions.TypedDict, total=False): startRow: int @typing.type_check_only -class GridProperties(typing_extensions.TypedDict, total=False): +class GridProperties(typing.TypedDict, total=False): columnCount: int columnGroupControlAfter: bool frozenColumnCount: int @@ -1230,7 +1214,7 @@ class GridProperties(typing_extensions.TypedDict, total=False): rowGroupControlAfter: bool @typing.type_check_only -class GridRange(typing_extensions.TypedDict, total=False): +class GridRange(typing.TypedDict, total=False): endColumnIndex: int endRowIndex: int sheetId: int @@ -1238,9 +1222,9 @@ class GridRange(typing_extensions.TypedDict, total=False): startRowIndex: int @typing.type_check_only -class HistogramChartSpec(typing_extensions.TypedDict, total=False): +class HistogramChartSpec(typing.TypedDict, total=False): bucketSize: float - legendPosition: typing_extensions.Literal[ + legendPosition: typing.Literal[ "HISTOGRAM_CHART_LEGEND_POSITION_UNSPECIFIED", "BOTTOM_LEGEND", "LEFT_LEGEND", @@ -1254,34 +1238,32 @@ class HistogramChartSpec(typing_extensions.TypedDict, total=False): showItemDividers: bool @typing.type_check_only -class HistogramRule(typing_extensions.TypedDict, total=False): +class HistogramRule(typing.TypedDict, total=False): end: float interval: float start: float @typing.type_check_only -class HistogramSeries(typing_extensions.TypedDict, total=False): +class HistogramSeries(typing.TypedDict, total=False): barColor: Color barColorStyle: ColorStyle data: ChartData @typing.type_check_only -class InsertDimensionRequest(typing_extensions.TypedDict, total=False): +class InsertDimensionRequest(typing.TypedDict, total=False): inheritFromBefore: bool range: DimensionRange @typing.type_check_only -class InsertRangeRequest(typing_extensions.TypedDict, total=False): +class InsertRangeRequest(typing.TypedDict, total=False): range: GridRange - shiftDimension: typing_extensions.Literal[ - "DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS" - ] + shiftDimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] @typing.type_check_only -class InterpolationPoint(typing_extensions.TypedDict, total=False): +class InterpolationPoint(typing.TypedDict, total=False): color: Color colorStyle: ColorStyle - type: typing_extensions.Literal[ + type: typing.Literal[ "INTERPOLATION_POINT_TYPE_UNSPECIFIED", "MIN", "MAX", @@ -1292,23 +1274,23 @@ class InterpolationPoint(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class IterativeCalculationSettings(typing_extensions.TypedDict, total=False): +class IterativeCalculationSettings(typing.TypedDict, total=False): convergenceThreshold: float maxIterations: int @typing.type_check_only -class KeyValueFormat(typing_extensions.TypedDict, total=False): +class KeyValueFormat(typing.TypedDict, total=False): position: TextPosition textFormat: TextFormat @typing.type_check_only -class LineStyle(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal[ +class LineStyle(typing.TypedDict, total=False): + type: typing.Literal[ "LINE_DASH_TYPE_UNSPECIFIED", "INVISIBLE", "CUSTOM", @@ -1322,54 +1304,54 @@ class LineStyle(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): uri: str @typing.type_check_only -class LookerDataSourceSpec(typing_extensions.TypedDict, total=False): +class LookerDataSourceSpec(typing.TypedDict, total=False): explore: str instanceUri: str model: str @typing.type_check_only -class ManualRule(typing_extensions.TypedDict, total=False): +class ManualRule(typing.TypedDict, total=False): groups: _list[ManualRuleGroup] @typing.type_check_only -class ManualRuleGroup(typing_extensions.TypedDict, total=False): +class ManualRuleGroup(typing.TypedDict, total=False): groupName: ExtendedValue items: _list[ExtendedValue] @typing.type_check_only -class MatchedDeveloperMetadata(typing_extensions.TypedDict, total=False): +class MatchedDeveloperMetadata(typing.TypedDict, total=False): dataFilters: _list[DataFilter] developerMetadata: DeveloperMetadata @typing.type_check_only -class MatchedValueRange(typing_extensions.TypedDict, total=False): +class MatchedValueRange(typing.TypedDict, total=False): dataFilters: _list[DataFilter] valueRange: ValueRange @typing.type_check_only -class MergeCellsRequest(typing_extensions.TypedDict, total=False): - mergeType: typing_extensions.Literal["MERGE_ALL", "MERGE_COLUMNS", "MERGE_ROWS"] +class MergeCellsRequest(typing.TypedDict, total=False): + mergeType: typing.Literal["MERGE_ALL", "MERGE_COLUMNS", "MERGE_ROWS"] range: GridRange @typing.type_check_only -class MoveDimensionRequest(typing_extensions.TypedDict, total=False): +class MoveDimensionRequest(typing.TypedDict, total=False): destinationIndex: int source: DimensionRange @typing.type_check_only -class NamedRange(typing_extensions.TypedDict, total=False): +class NamedRange(typing.TypedDict, total=False): name: str namedRangeId: str range: GridRange @typing.type_check_only -class NumberFormat(typing_extensions.TypedDict, total=False): +class NumberFormat(typing.TypedDict, total=False): pattern: str - type: typing_extensions.Literal[ + type: typing.Literal[ "NUMBER_FORMAT_TYPE_UNSPECIFIED", "TEXT", "NUMBER", @@ -1382,11 +1364,11 @@ class NumberFormat(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class OrgChartSpec(typing_extensions.TypedDict, total=False): +class OrgChartSpec(typing.TypedDict, total=False): labels: ChartData nodeColor: Color nodeColorStyle: ColorStyle - nodeSize: typing_extensions.Literal[ + nodeSize: typing.Literal[ "ORG_CHART_LABEL_SIZE_UNSPECIFIED", "SMALL", "MEDIUM", "LARGE" ] parentLabels: ChartData @@ -1395,7 +1377,7 @@ class OrgChartSpec(typing_extensions.TypedDict, total=False): tooltips: ChartData @typing.type_check_only -class OverlayPosition(typing_extensions.TypedDict, total=False): +class OverlayPosition(typing.TypedDict, total=False): anchorCell: GridCoordinate heightPixels: int offsetXPixels: int @@ -1403,19 +1385,19 @@ class OverlayPosition(typing_extensions.TypedDict, total=False): widthPixels: int @typing.type_check_only -class Padding(typing_extensions.TypedDict, total=False): +class Padding(typing.TypedDict, total=False): bottom: int left: int right: int top: int @typing.type_check_only -class PasteDataRequest(typing_extensions.TypedDict, total=False): +class PasteDataRequest(typing.TypedDict, total=False): coordinate: GridCoordinate data: str delimiter: str html: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "PASTE_NORMAL", "PASTE_VALUES", "PASTE_FORMAT", @@ -1426,16 +1408,16 @@ class PasteDataRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PersonProperties(typing_extensions.TypedDict, total=False): - displayFormat: typing_extensions.Literal[ +class PersonProperties(typing.TypedDict, total=False): + displayFormat: typing.Literal[ "DISPLAY_FORMAT_UNSPECIFIED", "DEFAULT", "LAST_NAME_COMMA_FIRST_NAME", "EMAIL" ] email: str @typing.type_check_only -class PieChartSpec(typing_extensions.TypedDict, total=False): +class PieChartSpec(typing.TypedDict, total=False): domain: ChartData - legendPosition: typing_extensions.Literal[ + legendPosition: typing.Literal[ "PIE_CHART_LEGEND_POSITION_UNSPECIFIED", "BOTTOM_LEGEND", "LEFT_LEGEND", @@ -1449,55 +1431,53 @@ class PieChartSpec(typing_extensions.TypedDict, total=False): threeDimensional: bool @typing.type_check_only -class PivotFilterCriteria(typing_extensions.TypedDict, total=False): +class PivotFilterCriteria(typing.TypedDict, total=False): condition: BooleanCondition visibleByDefault: bool visibleValues: _list[str] @typing.type_check_only -class PivotFilterSpec(typing_extensions.TypedDict, total=False): +class PivotFilterSpec(typing.TypedDict, total=False): columnOffsetIndex: int dataSourceColumnReference: DataSourceColumnReference filterCriteria: PivotFilterCriteria @typing.type_check_only -class PivotGroup(typing_extensions.TypedDict, total=False): +class PivotGroup(typing.TypedDict, total=False): dataSourceColumnReference: DataSourceColumnReference groupLimit: PivotGroupLimit groupRule: PivotGroupRule label: str repeatHeadings: bool showTotals: bool - sortOrder: typing_extensions.Literal[ - "SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] + sortOrder: typing.Literal["SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] sourceColumnOffset: int valueBucket: PivotGroupSortValueBucket valueMetadata: _list[PivotGroupValueMetadata] @typing.type_check_only -class PivotGroupLimit(typing_extensions.TypedDict, total=False): +class PivotGroupLimit(typing.TypedDict, total=False): applyOrder: int countLimit: int @typing.type_check_only -class PivotGroupRule(typing_extensions.TypedDict, total=False): +class PivotGroupRule(typing.TypedDict, total=False): dateTimeRule: DateTimeRule histogramRule: HistogramRule manualRule: ManualRule @typing.type_check_only -class PivotGroupSortValueBucket(typing_extensions.TypedDict, total=False): +class PivotGroupSortValueBucket(typing.TypedDict, total=False): buckets: _list[ExtendedValue] valuesIndex: int @typing.type_check_only -class PivotGroupValueMetadata(typing_extensions.TypedDict, total=False): +class PivotGroupValueMetadata(typing.TypedDict, total=False): collapsed: bool value: ExtendedValue @typing.type_check_only -class PivotTable(typing_extensions.TypedDict, total=False): +class PivotTable(typing.TypedDict, total=False): columns: _list[PivotGroup] criteria: dict[str, typing.Any] dataExecutionStatus: DataExecutionStatus @@ -1505,12 +1485,12 @@ class PivotTable(typing_extensions.TypedDict, total=False): filterSpecs: _list[PivotFilterSpec] rows: _list[PivotGroup] source: GridRange - valueLayout: typing_extensions.Literal["HORIZONTAL", "VERTICAL"] + valueLayout: typing.Literal["HORIZONTAL", "VERTICAL"] values: _list[PivotValue] @typing.type_check_only -class PivotValue(typing_extensions.TypedDict, total=False): - calculatedDisplayType: typing_extensions.Literal[ +class PivotValue(typing.TypedDict, total=False): + calculatedDisplayType: typing.Literal[ "PIVOT_VALUE_CALCULATED_DISPLAY_TYPE_UNSPECIFIED", "PERCENT_OF_ROW_TOTAL", "PERCENT_OF_COLUMN_TOTAL", @@ -1520,7 +1500,7 @@ class PivotValue(typing_extensions.TypedDict, total=False): formula: str name: str sourceColumnOffset: int - summarizeFunction: typing_extensions.Literal[ + summarizeFunction: typing.Literal[ "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED", "SUM", "COUNTA", @@ -1540,8 +1520,8 @@ class PivotValue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PointStyle(typing_extensions.TypedDict, total=False): - shape: typing_extensions.Literal[ +class PointStyle(typing.TypedDict, total=False): + shape: typing.Literal[ "POINT_SHAPE_UNSPECIFIED", "CIRCLE", "DIAMOND", @@ -1555,7 +1535,7 @@ class PointStyle(typing_extensions.TypedDict, total=False): size: float @typing.type_check_only -class ProtectedRange(typing_extensions.TypedDict, total=False): +class ProtectedRange(typing.TypedDict, total=False): description: str editors: Editors namedRangeId: str @@ -1567,12 +1547,12 @@ class ProtectedRange(typing_extensions.TypedDict, total=False): warningOnly: bool @typing.type_check_only -class RandomizeRangeRequest(typing_extensions.TypedDict, total=False): +class RandomizeRangeRequest(typing.TypedDict, total=False): range: GridRange @typing.type_check_only -class RefreshCancellationStatus(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class RefreshCancellationStatus(typing.TypedDict, total=False): + errorCode: typing.Literal[ "REFRESH_CANCELLATION_ERROR_CODE_UNSPECIFIED", "EXECUTION_NOT_FOUND", "CANCEL_PERMISSION_DENIED", @@ -1580,34 +1560,34 @@ class RefreshCancellationStatus(typing_extensions.TypedDict, total=False): "CONCURRENT_CANCELLATION", "CANCEL_OTHER_ERROR", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "REFRESH_CANCELLATION_STATE_UNSPECIFIED", "CANCEL_SUCCEEDED", "CANCEL_FAILED" ] @typing.type_check_only -class RefreshDataSourceObjectExecutionStatus(typing_extensions.TypedDict, total=False): +class RefreshDataSourceObjectExecutionStatus(typing.TypedDict, total=False): dataExecutionStatus: DataExecutionStatus reference: DataSourceObjectReference @typing.type_check_only -class RefreshDataSourceRequest(typing_extensions.TypedDict, total=False): +class RefreshDataSourceRequest(typing.TypedDict, total=False): dataSourceId: str force: bool isAll: bool references: DataSourceObjectReferences @typing.type_check_only -class RefreshDataSourceResponse(typing_extensions.TypedDict, total=False): +class RefreshDataSourceResponse(typing.TypedDict, total=False): statuses: _list[RefreshDataSourceObjectExecutionStatus] @typing.type_check_only -class RepeatCellRequest(typing_extensions.TypedDict, total=False): +class RepeatCellRequest(typing.TypedDict, total=False): cell: CellData fields: str range: GridRange @typing.type_check_only -class Request(typing_extensions.TypedDict, total=False): +class Request(typing.TypedDict, total=False): addBanding: AddBandingRequest addChart: AddChartRequest addConditionalFormatRule: AddConditionalFormatRuleRequest @@ -1679,7 +1659,7 @@ class Request(typing_extensions.TypedDict, total=False): updateTable: UpdateTableRequest @typing.type_check_only -class Response(typing_extensions.TypedDict, total=False): +class Response(typing.TypedDict, total=False): addBanding: AddBandingResponse addChart: AddChartResponse addDataSource: AddDataSourceResponse @@ -1707,17 +1687,17 @@ class Response(typing_extensions.TypedDict, total=False): updateEmbeddedObjectPosition: UpdateEmbeddedObjectPositionResponse @typing.type_check_only -class RichLinkProperties(typing_extensions.TypedDict, total=False): +class RichLinkProperties(typing.TypedDict, total=False): mimeType: str uri: str @typing.type_check_only -class RowData(typing_extensions.TypedDict, total=False): +class RowData(typing.TypedDict, total=False): values: _list[CellData] @typing.type_check_only -class ScorecardChartSpec(typing_extensions.TypedDict, total=False): - aggregateType: typing_extensions.Literal[ +class ScorecardChartSpec(typing.TypedDict, total=False): + aggregateType: typing.Literal[ "CHART_AGGREGATE_TYPE_UNSPECIFIED", "AVERAGE", "COUNT", @@ -1731,31 +1711,31 @@ class ScorecardChartSpec(typing_extensions.TypedDict, total=False): customFormatOptions: ChartCustomNumberFormatOptions keyValueData: ChartData keyValueFormat: KeyValueFormat - numberFormatSource: typing_extensions.Literal[ + numberFormatSource: typing.Literal[ "CHART_NUMBER_FORMAT_SOURCE_UNDEFINED", "FROM_DATA", "CUSTOM" ] scaleFactor: float @typing.type_check_only -class SearchDeveloperMetadataRequest(typing_extensions.TypedDict, total=False): +class SearchDeveloperMetadataRequest(typing.TypedDict, total=False): dataFilters: _list[DataFilter] @typing.type_check_only -class SearchDeveloperMetadataResponse(typing_extensions.TypedDict, total=False): +class SearchDeveloperMetadataResponse(typing.TypedDict, total=False): matchedDeveloperMetadata: _list[MatchedDeveloperMetadata] @typing.type_check_only -class SetBasicFilterRequest(typing_extensions.TypedDict, total=False): +class SetBasicFilterRequest(typing.TypedDict, total=False): filter: BasicFilter @typing.type_check_only -class SetDataValidationRequest(typing_extensions.TypedDict, total=False): +class SetDataValidationRequest(typing.TypedDict, total=False): filteredRowsIncluded: bool range: GridRange rule: DataValidationRule @typing.type_check_only -class Sheet(typing_extensions.TypedDict, total=False): +class Sheet(typing.TypedDict, total=False): bandedRanges: _list[BandedRange] basicFilter: BasicFilter charts: _list[EmbeddedChart] @@ -1772,65 +1752,61 @@ class Sheet(typing_extensions.TypedDict, total=False): tables: _list[Table] @typing.type_check_only -class SheetProperties(typing_extensions.TypedDict, total=False): +class SheetProperties(typing.TypedDict, total=False): dataSourceSheetProperties: DataSourceSheetProperties gridProperties: GridProperties hidden: bool index: int rightToLeft: bool sheetId: int - sheetType: typing_extensions.Literal[ - "SHEET_TYPE_UNSPECIFIED", "GRID", "OBJECT", "DATA_SOURCE" - ] + sheetType: typing.Literal["SHEET_TYPE_UNSPECIFIED", "GRID", "OBJECT", "DATA_SOURCE"] tabColor: Color tabColorStyle: ColorStyle title: str @typing.type_check_only -class Slicer(typing_extensions.TypedDict, total=False): +class Slicer(typing.TypedDict, total=False): position: EmbeddedObjectPosition slicerId: int spec: SlicerSpec @typing.type_check_only -class SlicerSpec(typing_extensions.TypedDict, total=False): +class SlicerSpec(typing.TypedDict, total=False): applyToPivotTables: bool backgroundColor: Color backgroundColorStyle: ColorStyle columnIndex: int dataRange: GridRange filterCriteria: FilterCriteria - horizontalAlignment: typing_extensions.Literal[ + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGN_UNSPECIFIED", "LEFT", "CENTER", "RIGHT" ] textFormat: TextFormat title: str @typing.type_check_only -class SortRangeRequest(typing_extensions.TypedDict, total=False): +class SortRangeRequest(typing.TypedDict, total=False): range: GridRange sortSpecs: _list[SortSpec] @typing.type_check_only -class SortSpec(typing_extensions.TypedDict, total=False): +class SortSpec(typing.TypedDict, total=False): backgroundColor: Color backgroundColorStyle: ColorStyle dataSourceColumnReference: DataSourceColumnReference dimensionIndex: int foregroundColor: Color foregroundColorStyle: ColorStyle - sortOrder: typing_extensions.Literal[ - "SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING" - ] + sortOrder: typing.Literal["SORT_ORDER_UNSPECIFIED", "ASCENDING", "DESCENDING"] @typing.type_check_only -class SourceAndDestination(typing_extensions.TypedDict, total=False): - dimension: typing_extensions.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] +class SourceAndDestination(typing.TypedDict, total=False): + dimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] fillLength: int source: GridRange @typing.type_check_only -class Spreadsheet(typing_extensions.TypedDict, total=False): +class Spreadsheet(typing.TypedDict, total=False): dataSourceSchedules: _list[DataSourceRefreshSchedule] dataSources: _list[DataSource] developerMetadata: _list[DeveloperMetadata] @@ -1841,8 +1817,8 @@ class Spreadsheet(typing_extensions.TypedDict, total=False): spreadsheetUrl: str @typing.type_check_only -class SpreadsheetProperties(typing_extensions.TypedDict, total=False): - autoRecalc: typing_extensions.Literal[ +class SpreadsheetProperties(typing.TypedDict, total=False): + autoRecalc: typing.Literal[ "RECALCULATION_INTERVAL_UNSPECIFIED", "ON_CHANGE", "MINUTE", "HOUR" ] defaultFormat: CellFormat @@ -1854,12 +1830,12 @@ class SpreadsheetProperties(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class SpreadsheetTheme(typing_extensions.TypedDict, total=False): +class SpreadsheetTheme(typing.TypedDict, total=False): primaryFontFamily: str themeColors: _list[ThemeColorPair] @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columnProperties: _list[TableColumnProperties] name: str range: GridRange @@ -1867,14 +1843,14 @@ class Table(typing_extensions.TypedDict, total=False): tableId: str @typing.type_check_only -class TableColumnDataValidationRule(typing_extensions.TypedDict, total=False): +class TableColumnDataValidationRule(typing.TypedDict, total=False): condition: BooleanCondition @typing.type_check_only -class TableColumnProperties(typing_extensions.TypedDict, total=False): +class TableColumnProperties(typing.TypedDict, total=False): columnIndex: int columnName: str - columnType: typing_extensions.Literal[ + columnType: typing.Literal[ "COLUMN_TYPE_UNSPECIFIED", "DOUBLE", "CURRENCY", @@ -1894,14 +1870,14 @@ class TableColumnProperties(typing_extensions.TypedDict, total=False): dataValidationRule: TableColumnDataValidationRule @typing.type_check_only -class TableRowsProperties(typing_extensions.TypedDict, total=False): +class TableRowsProperties(typing.TypedDict, total=False): firstBandColorStyle: ColorStyle footerColorStyle: ColorStyle headerColorStyle: ColorStyle secondBandColorStyle: ColorStyle @typing.type_check_only -class TextFormat(typing_extensions.TypedDict, total=False): +class TextFormat(typing.TypedDict, total=False): bold: bool fontFamily: str fontSize: int @@ -1913,25 +1889,25 @@ class TextFormat(typing_extensions.TypedDict, total=False): underline: bool @typing.type_check_only -class TextFormatRun(typing_extensions.TypedDict, total=False): +class TextFormatRun(typing.TypedDict, total=False): format: TextFormat startIndex: int @typing.type_check_only -class TextPosition(typing_extensions.TypedDict, total=False): - horizontalAlignment: typing_extensions.Literal[ +class TextPosition(typing.TypedDict, total=False): + horizontalAlignment: typing.Literal[ "HORIZONTAL_ALIGN_UNSPECIFIED", "LEFT", "CENTER", "RIGHT" ] @typing.type_check_only -class TextRotation(typing_extensions.TypedDict, total=False): +class TextRotation(typing.TypedDict, total=False): angle: int vertical: bool @typing.type_check_only -class TextToColumnsRequest(typing_extensions.TypedDict, total=False): +class TextToColumnsRequest(typing.TypedDict, total=False): delimiter: str - delimiterType: typing_extensions.Literal[ + delimiterType: typing.Literal[ "DELIMITER_TYPE_UNSPECIFIED", "COMMA", "SEMICOLON", @@ -1943,9 +1919,9 @@ class TextToColumnsRequest(typing_extensions.TypedDict, total=False): source: GridRange @typing.type_check_only -class ThemeColorPair(typing_extensions.TypedDict, total=False): +class ThemeColorPair(typing.TypedDict, total=False): color: ColorStyle - colorType: typing_extensions.Literal[ + colorType: typing.Literal[ "THEME_COLOR_TYPE_UNSPECIFIED", "TEXT", "BACKGROUND", @@ -1959,14 +1935,14 @@ class ThemeColorPair(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TreemapChartColorScale(typing_extensions.TypedDict, total=False): +class TreemapChartColorScale(typing.TypedDict, total=False): maxValueColor: Color maxValueColorStyle: ColorStyle midValueColor: Color @@ -1977,7 +1953,7 @@ class TreemapChartColorScale(typing_extensions.TypedDict, total=False): noDataColorStyle: ColorStyle @typing.type_check_only -class TreemapChartSpec(typing_extensions.TypedDict, total=False): +class TreemapChartSpec(typing.TypedDict, total=False): colorData: ChartData colorScale: TreemapChartColorScale headerColor: Color @@ -1993,24 +1969,24 @@ class TreemapChartSpec(typing_extensions.TypedDict, total=False): textFormat: TextFormat @typing.type_check_only -class TrimWhitespaceRequest(typing_extensions.TypedDict, total=False): +class TrimWhitespaceRequest(typing.TypedDict, total=False): range: GridRange @typing.type_check_only -class TrimWhitespaceResponse(typing_extensions.TypedDict, total=False): +class TrimWhitespaceResponse(typing.TypedDict, total=False): cellsChangedCount: int @typing.type_check_only -class UnmergeCellsRequest(typing_extensions.TypedDict, total=False): +class UnmergeCellsRequest(typing.TypedDict, total=False): range: GridRange @typing.type_check_only -class UpdateBandingRequest(typing_extensions.TypedDict, total=False): +class UpdateBandingRequest(typing.TypedDict, total=False): bandedRange: BandedRange fields: str @typing.type_check_only -class UpdateBordersRequest(typing_extensions.TypedDict, total=False): +class UpdateBordersRequest(typing.TypedDict, total=False): bottom: Border innerHorizontal: Border innerVertical: Border @@ -2020,117 +1996,117 @@ class UpdateBordersRequest(typing_extensions.TypedDict, total=False): top: Border @typing.type_check_only -class UpdateCellsRequest(typing_extensions.TypedDict, total=False): +class UpdateCellsRequest(typing.TypedDict, total=False): fields: str range: GridRange rows: _list[RowData] start: GridCoordinate @typing.type_check_only -class UpdateChartSpecRequest(typing_extensions.TypedDict, total=False): +class UpdateChartSpecRequest(typing.TypedDict, total=False): chartId: int spec: ChartSpec @typing.type_check_only -class UpdateConditionalFormatRuleRequest(typing_extensions.TypedDict, total=False): +class UpdateConditionalFormatRuleRequest(typing.TypedDict, total=False): index: int newIndex: int rule: ConditionalFormatRule sheetId: int @typing.type_check_only -class UpdateConditionalFormatRuleResponse(typing_extensions.TypedDict, total=False): +class UpdateConditionalFormatRuleResponse(typing.TypedDict, total=False): newIndex: int newRule: ConditionalFormatRule oldIndex: int oldRule: ConditionalFormatRule @typing.type_check_only -class UpdateDataSourceRequest(typing_extensions.TypedDict, total=False): +class UpdateDataSourceRequest(typing.TypedDict, total=False): dataSource: DataSource fields: str @typing.type_check_only -class UpdateDataSourceResponse(typing_extensions.TypedDict, total=False): +class UpdateDataSourceResponse(typing.TypedDict, total=False): dataExecutionStatus: DataExecutionStatus dataSource: DataSource @typing.type_check_only -class UpdateDeveloperMetadataRequest(typing_extensions.TypedDict, total=False): +class UpdateDeveloperMetadataRequest(typing.TypedDict, total=False): dataFilters: _list[DataFilter] developerMetadata: DeveloperMetadata fields: str @typing.type_check_only -class UpdateDeveloperMetadataResponse(typing_extensions.TypedDict, total=False): +class UpdateDeveloperMetadataResponse(typing.TypedDict, total=False): developerMetadata: _list[DeveloperMetadata] @typing.type_check_only -class UpdateDimensionGroupRequest(typing_extensions.TypedDict, total=False): +class UpdateDimensionGroupRequest(typing.TypedDict, total=False): dimensionGroup: DimensionGroup fields: str @typing.type_check_only -class UpdateDimensionPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateDimensionPropertiesRequest(typing.TypedDict, total=False): dataSourceSheetRange: DataSourceSheetDimensionRange fields: str properties: DimensionProperties range: DimensionRange @typing.type_check_only -class UpdateEmbeddedObjectBorderRequest(typing_extensions.TypedDict, total=False): +class UpdateEmbeddedObjectBorderRequest(typing.TypedDict, total=False): border: EmbeddedObjectBorder fields: str objectId: int @typing.type_check_only -class UpdateEmbeddedObjectPositionRequest(typing_extensions.TypedDict, total=False): +class UpdateEmbeddedObjectPositionRequest(typing.TypedDict, total=False): fields: str newPosition: EmbeddedObjectPosition objectId: int @typing.type_check_only -class UpdateEmbeddedObjectPositionResponse(typing_extensions.TypedDict, total=False): +class UpdateEmbeddedObjectPositionResponse(typing.TypedDict, total=False): position: EmbeddedObjectPosition @typing.type_check_only -class UpdateFilterViewRequest(typing_extensions.TypedDict, total=False): +class UpdateFilterViewRequest(typing.TypedDict, total=False): fields: str filter: FilterView @typing.type_check_only -class UpdateNamedRangeRequest(typing_extensions.TypedDict, total=False): +class UpdateNamedRangeRequest(typing.TypedDict, total=False): fields: str namedRange: NamedRange @typing.type_check_only -class UpdateProtectedRangeRequest(typing_extensions.TypedDict, total=False): +class UpdateProtectedRangeRequest(typing.TypedDict, total=False): fields: str protectedRange: ProtectedRange @typing.type_check_only -class UpdateSheetPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateSheetPropertiesRequest(typing.TypedDict, total=False): fields: str properties: SheetProperties @typing.type_check_only -class UpdateSlicerSpecRequest(typing_extensions.TypedDict, total=False): +class UpdateSlicerSpecRequest(typing.TypedDict, total=False): fields: str slicerId: int spec: SlicerSpec @typing.type_check_only -class UpdateSpreadsheetPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateSpreadsheetPropertiesRequest(typing.TypedDict, total=False): fields: str properties: SpreadsheetProperties @typing.type_check_only -class UpdateTableRequest(typing_extensions.TypedDict, total=False): +class UpdateTableRequest(typing.TypedDict, total=False): fields: str table: Table @typing.type_check_only -class UpdateValuesByDataFilterResponse(typing_extensions.TypedDict, total=False): +class UpdateValuesByDataFilterResponse(typing.TypedDict, total=False): dataFilter: DataFilter updatedCells: int updatedColumns: int @@ -2139,7 +2115,7 @@ class UpdateValuesByDataFilterResponse(typing_extensions.TypedDict, total=False) updatedRows: int @typing.type_check_only -class UpdateValuesResponse(typing_extensions.TypedDict, total=False): +class UpdateValuesResponse(typing.TypedDict, total=False): spreadsheetId: str updatedCells: int updatedColumns: int @@ -2148,32 +2124,30 @@ class UpdateValuesResponse(typing_extensions.TypedDict, total=False): updatedRows: int @typing.type_check_only -class ValueRange(typing_extensions.TypedDict, total=False): - majorDimension: typing_extensions.Literal[ - "DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS" - ] +class ValueRange(typing.TypedDict, total=False): + majorDimension: typing.Literal["DIMENSION_UNSPECIFIED", "ROWS", "COLUMNS"] range: str values: _list[_list[typing.Any]] @typing.type_check_only -class WaterfallChartColumnStyle(typing_extensions.TypedDict, total=False): +class WaterfallChartColumnStyle(typing.TypedDict, total=False): color: Color colorStyle: ColorStyle label: str @typing.type_check_only -class WaterfallChartCustomSubtotal(typing_extensions.TypedDict, total=False): +class WaterfallChartCustomSubtotal(typing.TypedDict, total=False): dataIsSubtotal: bool label: str subtotalIndex: int @typing.type_check_only -class WaterfallChartDomain(typing_extensions.TypedDict, total=False): +class WaterfallChartDomain(typing.TypedDict, total=False): data: ChartData reversed: bool @typing.type_check_only -class WaterfallChartSeries(typing_extensions.TypedDict, total=False): +class WaterfallChartSeries(typing.TypedDict, total=False): customSubtotals: _list[WaterfallChartCustomSubtotal] data: ChartData dataLabel: DataLabel @@ -2183,13 +2157,13 @@ class WaterfallChartSeries(typing_extensions.TypedDict, total=False): subtotalColumnsStyle: WaterfallChartColumnStyle @typing.type_check_only -class WaterfallChartSpec(typing_extensions.TypedDict, total=False): +class WaterfallChartSpec(typing.TypedDict, total=False): connectorLineStyle: LineStyle domain: WaterfallChartDomain firstValueIsTotal: bool hideConnectorLines: bool series: _list[WaterfallChartSeries] - stackedType: typing_extensions.Literal[ + stackedType: typing.Literal[ "WATERFALL_STACKED_TYPE_UNSPECIFIED", "STACKED", "SEQUENTIAL" ] totalDataLabel: DataLabel diff --git a/googleapiclient-stubs/_apis/siteVerification/v1/resources.pyi b/googleapiclient-stubs/_apis/siteVerification/v1/resources.pyi index abd7c1471..5f1355bc4 100644 --- a/googleapiclient-stubs/_apis/siteVerification/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/siteVerification/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/siteVerification/v1/schemas.pyi b/googleapiclient-stubs/_apis/siteVerification/v1/schemas.pyi index b76f86a3b..282f4e690 100644 --- a/googleapiclient-stubs/_apis/siteVerification/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/siteVerification/v1/schemas.pyi @@ -1,29 +1,23 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class SiteVerificationWebResourceGettokenRequest( - typing_extensions.TypedDict, total=False -): +class SiteVerificationWebResourceGettokenRequest(typing.TypedDict, total=False): site: dict[str, typing.Any] verificationMethod: str @typing.type_check_only -class SiteVerificationWebResourceGettokenResponse( - typing_extensions.TypedDict, total=False -): +class SiteVerificationWebResourceGettokenResponse(typing.TypedDict, total=False): method: str token: str @typing.type_check_only -class SiteVerificationWebResourceListResponse(typing_extensions.TypedDict, total=False): +class SiteVerificationWebResourceListResponse(typing.TypedDict, total=False): items: _list[SiteVerificationWebResourceResource] @typing.type_check_only -class SiteVerificationWebResourceResource(typing_extensions.TypedDict, total=False): +class SiteVerificationWebResourceResource(typing.TypedDict, total=False): id: str owners: _list[str] site: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/slides/v1/resources.pyi b/googleapiclient-stubs/_apis/slides/v1/resources.pyi index 020247ff1..7a1375363 100644 --- a/googleapiclient-stubs/_apis/slides/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/slides/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -25,9 +24,8 @@ class SlidesResource(googleapiclient.discovery.Resource): *, presentationId: str, pageObjectId: str, - thumbnailProperties_mimeType: typing_extensions.Literal["PNG"] - | None = ..., - thumbnailProperties_thumbnailSize: typing_extensions.Literal[ + thumbnailProperties_mimeType: typing.Literal["PNG"] | None = ..., + thumbnailProperties_thumbnailSize: typing.Literal[ "THUMBNAIL_SIZE_UNSPECIFIED", "LARGE", "MEDIUM", diff --git a/googleapiclient-stubs/_apis/slides/v1/schemas.pyi b/googleapiclient-stubs/_apis/slides/v1/schemas.pyi index a817a3dc0..545aac3cf 100644 --- a/googleapiclient-stubs/_apis/slides/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/slides/v1/schemas.pyi @@ -1,87 +1,83 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AffineTransform(typing_extensions.TypedDict, total=False): +class AffineTransform(typing.TypedDict, total=False): scaleX: float scaleY: float shearX: float shearY: float translateX: float translateY: float - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "EMU", "PT"] + unit: typing.Literal["UNIT_UNSPECIFIED", "EMU", "PT"] @typing.type_check_only -class AutoText(typing_extensions.TypedDict, total=False): +class AutoText(typing.TypedDict, total=False): content: str style: TextStyle - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "SLIDE_NUMBER"] + type: typing.Literal["TYPE_UNSPECIFIED", "SLIDE_NUMBER"] @typing.type_check_only -class Autofit(typing_extensions.TypedDict, total=False): - autofitType: typing_extensions.Literal[ +class Autofit(typing.TypedDict, total=False): + autofitType: typing.Literal[ "AUTOFIT_TYPE_UNSPECIFIED", "NONE", "TEXT_AUTOFIT", "SHAPE_AUTOFIT" ] fontScale: float lineSpacingReduction: float @typing.type_check_only -class BatchUpdatePresentationRequest(typing_extensions.TypedDict, total=False): +class BatchUpdatePresentationRequest(typing.TypedDict, total=False): requests: _list[Request] writeControl: WriteControl @typing.type_check_only -class BatchUpdatePresentationResponse(typing_extensions.TypedDict, total=False): +class BatchUpdatePresentationResponse(typing.TypedDict, total=False): presentationId: str replies: _list[Response] writeControl: WriteControl @typing.type_check_only -class Bullet(typing_extensions.TypedDict, total=False): +class Bullet(typing.TypedDict, total=False): bulletStyle: TextStyle glyph: str listId: str nestingLevel: int @typing.type_check_only -class ColorScheme(typing_extensions.TypedDict, total=False): +class ColorScheme(typing.TypedDict, total=False): colors: _list[ThemeColorPair] @typing.type_check_only -class ColorStop(typing_extensions.TypedDict, total=False): +class ColorStop(typing.TypedDict, total=False): alpha: float color: OpaqueColor position: float @typing.type_check_only -class CreateImageRequest(typing_extensions.TypedDict, total=False): +class CreateImageRequest(typing.TypedDict, total=False): elementProperties: PageElementProperties objectId: str url: str @typing.type_check_only -class CreateImageResponse(typing_extensions.TypedDict, total=False): +class CreateImageResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class CreateLineRequest(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ - "LINE_CATEGORY_UNSPECIFIED", "STRAIGHT", "BENT", "CURVED" - ] +class CreateLineRequest(typing.TypedDict, total=False): + category: typing.Literal["LINE_CATEGORY_UNSPECIFIED", "STRAIGHT", "BENT", "CURVED"] elementProperties: PageElementProperties - lineCategory: typing_extensions.Literal["STRAIGHT", "BENT", "CURVED"] + lineCategory: typing.Literal["STRAIGHT", "BENT", "CURVED"] objectId: str @typing.type_check_only -class CreateLineResponse(typing_extensions.TypedDict, total=False): +class CreateLineResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class CreateParagraphBulletsRequest(typing_extensions.TypedDict, total=False): - bulletPreset: typing_extensions.Literal[ +class CreateParagraphBulletsRequest(typing.TypedDict, total=False): + bulletPreset: typing.Literal[ "BULLET_DISC_CIRCLE_SQUARE", "BULLET_DIAMONDX_ARROW3D_SQUARE", "BULLET_CHECKBOX", @@ -103,10 +99,10 @@ class CreateParagraphBulletsRequest(typing_extensions.TypedDict, total=False): textRange: Range @typing.type_check_only -class CreateShapeRequest(typing_extensions.TypedDict, total=False): +class CreateShapeRequest(typing.TypedDict, total=False): elementProperties: PageElementProperties objectId: str - shapeType: typing_extensions.Literal[ + shapeType: typing.Literal[ "TYPE_UNSPECIFIED", "TEXT_BOX", "RECTANGLE", @@ -253,56 +249,56 @@ class CreateShapeRequest(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CreateShapeResponse(typing_extensions.TypedDict, total=False): +class CreateShapeResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class CreateSheetsChartRequest(typing_extensions.TypedDict, total=False): +class CreateSheetsChartRequest(typing.TypedDict, total=False): chartId: int elementProperties: PageElementProperties - linkingMode: typing_extensions.Literal["NOT_LINKED_IMAGE", "LINKED"] + linkingMode: typing.Literal["NOT_LINKED_IMAGE", "LINKED"] objectId: str spreadsheetId: str @typing.type_check_only -class CreateSheetsChartResponse(typing_extensions.TypedDict, total=False): +class CreateSheetsChartResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class CreateSlideRequest(typing_extensions.TypedDict, total=False): +class CreateSlideRequest(typing.TypedDict, total=False): insertionIndex: int objectId: str placeholderIdMappings: _list[LayoutPlaceholderIdMapping] slideLayoutReference: LayoutReference @typing.type_check_only -class CreateSlideResponse(typing_extensions.TypedDict, total=False): +class CreateSlideResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class CreateTableRequest(typing_extensions.TypedDict, total=False): +class CreateTableRequest(typing.TypedDict, total=False): columns: int elementProperties: PageElementProperties objectId: str rows: int @typing.type_check_only -class CreateTableResponse(typing_extensions.TypedDict, total=False): +class CreateTableResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class CreateVideoRequest(typing_extensions.TypedDict, total=False): +class CreateVideoRequest(typing.TypedDict, total=False): elementProperties: PageElementProperties id: str objectId: str - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "YOUTUBE", "DRIVE"] + source: typing.Literal["SOURCE_UNSPECIFIED", "YOUTUBE", "DRIVE"] @typing.type_check_only -class CreateVideoResponse(typing_extensions.TypedDict, total=False): +class CreateVideoResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class CropProperties(typing_extensions.TypedDict, total=False): +class CropProperties(typing.TypedDict, total=False): angle: float bottomOffset: float leftOffset: float @@ -310,67 +306,67 @@ class CropProperties(typing_extensions.TypedDict, total=False): topOffset: float @typing.type_check_only -class DeleteObjectRequest(typing_extensions.TypedDict, total=False): +class DeleteObjectRequest(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class DeleteParagraphBulletsRequest(typing_extensions.TypedDict, total=False): +class DeleteParagraphBulletsRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation objectId: str textRange: Range @typing.type_check_only -class DeleteTableColumnRequest(typing_extensions.TypedDict, total=False): +class DeleteTableColumnRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation tableObjectId: str @typing.type_check_only -class DeleteTableRowRequest(typing_extensions.TypedDict, total=False): +class DeleteTableRowRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation tableObjectId: str @typing.type_check_only -class DeleteTextRequest(typing_extensions.TypedDict, total=False): +class DeleteTextRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation objectId: str textRange: Range @typing.type_check_only -class Dimension(typing_extensions.TypedDict, total=False): +class Dimension(typing.TypedDict, total=False): magnitude: float - unit: typing_extensions.Literal["UNIT_UNSPECIFIED", "EMU", "PT"] + unit: typing.Literal["UNIT_UNSPECIFIED", "EMU", "PT"] @typing.type_check_only -class DuplicateObjectRequest(typing_extensions.TypedDict, total=False): +class DuplicateObjectRequest(typing.TypedDict, total=False): objectId: str objectIds: dict[str, typing.Any] @typing.type_check_only -class DuplicateObjectResponse(typing_extensions.TypedDict, total=False): +class DuplicateObjectResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): children: _list[PageElement] @typing.type_check_only -class GroupObjectsRequest(typing_extensions.TypedDict, total=False): +class GroupObjectsRequest(typing.TypedDict, total=False): childrenObjectIds: _list[str] groupObjectId: str @typing.type_check_only -class GroupObjectsResponse(typing_extensions.TypedDict, total=False): +class GroupObjectsResponse(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): contentUrl: str imageProperties: ImageProperties placeholder: Placeholder sourceUrl: str @typing.type_check_only -class ImageProperties(typing_extensions.TypedDict, total=False): +class ImageProperties(typing.TypedDict, total=False): brightness: float contrast: float cropProperties: CropProperties @@ -381,42 +377,42 @@ class ImageProperties(typing_extensions.TypedDict, total=False): transparency: float @typing.type_check_only -class InsertTableColumnsRequest(typing_extensions.TypedDict, total=False): +class InsertTableColumnsRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation insertRight: bool number: int tableObjectId: str @typing.type_check_only -class InsertTableRowsRequest(typing_extensions.TypedDict, total=False): +class InsertTableRowsRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation insertBelow: bool number: int tableObjectId: str @typing.type_check_only -class InsertTextRequest(typing_extensions.TypedDict, total=False): +class InsertTextRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation insertionIndex: int objectId: str text: str @typing.type_check_only -class LayoutPlaceholderIdMapping(typing_extensions.TypedDict, total=False): +class LayoutPlaceholderIdMapping(typing.TypedDict, total=False): layoutPlaceholder: Placeholder layoutPlaceholderObjectId: str objectId: str @typing.type_check_only -class LayoutProperties(typing_extensions.TypedDict, total=False): +class LayoutProperties(typing.TypedDict, total=False): displayName: str masterObjectId: str name: str @typing.type_check_only -class LayoutReference(typing_extensions.TypedDict, total=False): +class LayoutReference(typing.TypedDict, total=False): layoutId: str - predefinedLayout: typing_extensions.Literal[ + predefinedLayout: typing.Literal[ "PREDEFINED_LAYOUT_UNSPECIFIED", "BLANK", "CAPTION_ONLY", @@ -432,12 +428,12 @@ class LayoutReference(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Line(typing_extensions.TypedDict, total=False): - lineCategory: typing_extensions.Literal[ +class Line(typing.TypedDict, total=False): + lineCategory: typing.Literal[ "LINE_CATEGORY_UNSPECIFIED", "STRAIGHT", "BENT", "CURVED" ] lineProperties: LineProperties - lineType: typing_extensions.Literal[ + lineType: typing.Literal[ "TYPE_UNSPECIFIED", "STRAIGHT_CONNECTOR_1", "BENT_CONNECTOR_2", @@ -452,17 +448,17 @@ class Line(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LineConnection(typing_extensions.TypedDict, total=False): +class LineConnection(typing.TypedDict, total=False): connectedObjectId: str connectionSiteIndex: int @typing.type_check_only -class LineFill(typing_extensions.TypedDict, total=False): +class LineFill(typing.TypedDict, total=False): solidFill: SolidFill @typing.type_check_only -class LineProperties(typing_extensions.TypedDict, total=False): - dashStyle: typing_extensions.Literal[ +class LineProperties(typing.TypedDict, total=False): + dashStyle: typing.Literal[ "DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", @@ -471,7 +467,7 @@ class LineProperties(typing_extensions.TypedDict, total=False): "LONG_DASH", "LONG_DASH_DOT", ] - endArrow: typing_extensions.Literal[ + endArrow: typing.Literal[ "ARROW_STYLE_UNSPECIFIED", "NONE", "STEALTH_ARROW", @@ -487,7 +483,7 @@ class LineProperties(typing_extensions.TypedDict, total=False): endConnection: LineConnection lineFill: LineFill link: Link - startArrow: typing_extensions.Literal[ + startArrow: typing.Literal[ "ARROW_STYLE_UNSPECIFIED", "NONE", "STEALTH_ARROW", @@ -504,9 +500,9 @@ class LineProperties(typing_extensions.TypedDict, total=False): weight: Dimension @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): pageObjectId: str - relativeLink: typing_extensions.Literal[ + relativeLink: typing.Literal[ "RELATIVE_SLIDE_LINK_UNSPECIFIED", "NEXT_SLIDE", "PREVIOUS_SLIDE", @@ -517,31 +513,31 @@ class Link(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class List(typing_extensions.TypedDict, total=False): +class List(typing.TypedDict, total=False): listId: str nestingLevel: dict[str, typing.Any] @typing.type_check_only -class MasterProperties(typing_extensions.TypedDict, total=False): +class MasterProperties(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class MergeTableCellsRequest(typing_extensions.TypedDict, total=False): +class MergeTableCellsRequest(typing.TypedDict, total=False): objectId: str tableRange: TableRange @typing.type_check_only -class NestingLevel(typing_extensions.TypedDict, total=False): +class NestingLevel(typing.TypedDict, total=False): bulletStyle: TextStyle @typing.type_check_only -class NotesProperties(typing_extensions.TypedDict, total=False): +class NotesProperties(typing.TypedDict, total=False): speakerNotesObjectId: str @typing.type_check_only -class OpaqueColor(typing_extensions.TypedDict, total=False): +class OpaqueColor(typing.TypedDict, total=False): rgbColor: RgbColor - themeColor: typing_extensions.Literal[ + themeColor: typing.Literal[ "THEME_COLOR_TYPE_UNSPECIFIED", "DARK1", "LIGHT1", @@ -562,12 +558,12 @@ class OpaqueColor(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class OptionalColor(typing_extensions.TypedDict, total=False): +class OptionalColor(typing.TypedDict, total=False): opaqueColor: OpaqueColor @typing.type_check_only -class Outline(typing_extensions.TypedDict, total=False): - dashStyle: typing_extensions.Literal[ +class Outline(typing.TypedDict, total=False): + dashStyle: typing.Literal[ "DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", @@ -577,35 +573,33 @@ class Outline(typing_extensions.TypedDict, total=False): "LONG_DASH_DOT", ] outlineFill: OutlineFill - propertyState: typing_extensions.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] + propertyState: typing.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] weight: Dimension @typing.type_check_only -class OutlineFill(typing_extensions.TypedDict, total=False): +class OutlineFill(typing.TypedDict, total=False): solidFill: SolidFill @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): layoutProperties: LayoutProperties masterProperties: MasterProperties notesProperties: NotesProperties objectId: str pageElements: _list[PageElement] pageProperties: PageProperties - pageType: typing_extensions.Literal[ - "SLIDE", "MASTER", "LAYOUT", "NOTES", "NOTES_MASTER" - ] + pageType: typing.Literal["SLIDE", "MASTER", "LAYOUT", "NOTES", "NOTES_MASTER"] revisionId: str slideProperties: SlideProperties @typing.type_check_only -class PageBackgroundFill(typing_extensions.TypedDict, total=False): - propertyState: typing_extensions.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] +class PageBackgroundFill(typing.TypedDict, total=False): + propertyState: typing.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] solidFill: SolidFill stretchedPictureFill: StretchedPictureFill @typing.type_check_only -class PageElement(typing_extensions.TypedDict, total=False): +class PageElement(typing.TypedDict, total=False): description: str elementGroup: Group image: Image @@ -622,27 +616,27 @@ class PageElement(typing_extensions.TypedDict, total=False): wordArt: WordArt @typing.type_check_only -class PageElementProperties(typing_extensions.TypedDict, total=False): +class PageElementProperties(typing.TypedDict, total=False): pageObjectId: str size: Size transform: AffineTransform @typing.type_check_only -class PageProperties(typing_extensions.TypedDict, total=False): +class PageProperties(typing.TypedDict, total=False): colorScheme: ColorScheme pageBackgroundFill: PageBackgroundFill @typing.type_check_only -class ParagraphMarker(typing_extensions.TypedDict, total=False): +class ParagraphMarker(typing.TypedDict, total=False): bullet: Bullet style: ParagraphStyle @typing.type_check_only -class ParagraphStyle(typing_extensions.TypedDict, total=False): - alignment: typing_extensions.Literal[ +class ParagraphStyle(typing.TypedDict, total=False): + alignment: typing.Literal[ "ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END", "JUSTIFIED" ] - direction: typing_extensions.Literal[ + direction: typing.Literal[ "TEXT_DIRECTION_UNSPECIFIED", "LEFT_TO_RIGHT", "RIGHT_TO_LEFT" ] indentEnd: Dimension @@ -651,15 +645,15 @@ class ParagraphStyle(typing_extensions.TypedDict, total=False): lineSpacing: float spaceAbove: Dimension spaceBelow: Dimension - spacingMode: typing_extensions.Literal[ + spacingMode: typing.Literal[ "SPACING_MODE_UNSPECIFIED", "NEVER_COLLAPSE", "COLLAPSE_LISTS" ] @typing.type_check_only -class Placeholder(typing_extensions.TypedDict, total=False): +class Placeholder(typing.TypedDict, total=False): index: int parentObjectId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "NONE", "BODY", "CHART", @@ -680,7 +674,7 @@ class Placeholder(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Presentation(typing_extensions.TypedDict, total=False): +class Presentation(typing.TypedDict, total=False): layouts: _list[Page] locale: str masters: _list[Page] @@ -692,16 +686,16 @@ class Presentation(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class Range(typing_extensions.TypedDict, total=False): +class Range(typing.TypedDict, total=False): endIndex: int startIndex: int - type: typing_extensions.Literal[ + type: typing.Literal[ "RANGE_TYPE_UNSPECIFIED", "FIXED_RANGE", "FROM_START_INDEX", "ALL" ] @typing.type_check_only -class Recolor(typing_extensions.TypedDict, total=False): - name: typing_extensions.Literal[ +class Recolor(typing.TypedDict, total=False): + name: typing.Literal[ "NONE", "LIGHT1", "LIGHT2", @@ -731,55 +725,55 @@ class Recolor(typing_extensions.TypedDict, total=False): recolorStops: _list[ColorStop] @typing.type_check_only -class RefreshSheetsChartRequest(typing_extensions.TypedDict, total=False): +class RefreshSheetsChartRequest(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class ReplaceAllShapesWithImageRequest(typing_extensions.TypedDict, total=False): +class ReplaceAllShapesWithImageRequest(typing.TypedDict, total=False): containsText: SubstringMatchCriteria - imageReplaceMethod: typing_extensions.Literal[ + imageReplaceMethod: typing.Literal[ "IMAGE_REPLACE_METHOD_UNSPECIFIED", "CENTER_INSIDE", "CENTER_CROP" ] imageUrl: str pageObjectIds: _list[str] - replaceMethod: typing_extensions.Literal["CENTER_INSIDE", "CENTER_CROP"] + replaceMethod: typing.Literal["CENTER_INSIDE", "CENTER_CROP"] @typing.type_check_only -class ReplaceAllShapesWithImageResponse(typing_extensions.TypedDict, total=False): +class ReplaceAllShapesWithImageResponse(typing.TypedDict, total=False): occurrencesChanged: int @typing.type_check_only -class ReplaceAllShapesWithSheetsChartRequest(typing_extensions.TypedDict, total=False): +class ReplaceAllShapesWithSheetsChartRequest(typing.TypedDict, total=False): chartId: int containsText: SubstringMatchCriteria - linkingMode: typing_extensions.Literal["NOT_LINKED_IMAGE", "LINKED"] + linkingMode: typing.Literal["NOT_LINKED_IMAGE", "LINKED"] pageObjectIds: _list[str] spreadsheetId: str @typing.type_check_only -class ReplaceAllShapesWithSheetsChartResponse(typing_extensions.TypedDict, total=False): +class ReplaceAllShapesWithSheetsChartResponse(typing.TypedDict, total=False): occurrencesChanged: int @typing.type_check_only -class ReplaceAllTextRequest(typing_extensions.TypedDict, total=False): +class ReplaceAllTextRequest(typing.TypedDict, total=False): containsText: SubstringMatchCriteria pageObjectIds: _list[str] replaceText: str @typing.type_check_only -class ReplaceAllTextResponse(typing_extensions.TypedDict, total=False): +class ReplaceAllTextResponse(typing.TypedDict, total=False): occurrencesChanged: int @typing.type_check_only -class ReplaceImageRequest(typing_extensions.TypedDict, total=False): +class ReplaceImageRequest(typing.TypedDict, total=False): imageObjectId: str - imageReplaceMethod: typing_extensions.Literal[ + imageReplaceMethod: typing.Literal[ "IMAGE_REPLACE_METHOD_UNSPECIFIED", "CENTER_INSIDE", "CENTER_CROP" ] url: str @typing.type_check_only -class Request(typing_extensions.TypedDict, total=False): +class Request(typing.TypedDict, total=False): createImage: CreateImageRequest createLine: CreateLineRequest createParagraphBullets: CreateParagraphBulletsRequest @@ -826,11 +820,11 @@ class Request(typing_extensions.TypedDict, total=False): updateVideoProperties: UpdateVideoPropertiesRequest @typing.type_check_only -class RerouteLineRequest(typing_extensions.TypedDict, total=False): +class RerouteLineRequest(typing.TypedDict, total=False): objectId: str @typing.type_check_only -class Response(typing_extensions.TypedDict, total=False): +class Response(typing.TypedDict, total=False): createImage: CreateImageResponse createLine: CreateLineResponse createShape: CreateShapeResponse @@ -845,14 +839,14 @@ class Response(typing_extensions.TypedDict, total=False): replaceAllText: ReplaceAllTextResponse @typing.type_check_only -class RgbColor(typing_extensions.TypedDict, total=False): +class RgbColor(typing.TypedDict, total=False): blue: float green: float red: float @typing.type_check_only -class Shadow(typing_extensions.TypedDict, total=False): - alignment: typing_extensions.Literal[ +class Shadow(typing.TypedDict, total=False): + alignment: typing.Literal[ "RECTANGLE_POSITION_UNSPECIFIED", "TOP_LEFT", "TOP_CENTER", @@ -867,16 +861,16 @@ class Shadow(typing_extensions.TypedDict, total=False): alpha: float blurRadius: Dimension color: OpaqueColor - propertyState: typing_extensions.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] + propertyState: typing.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] rotateWithShape: bool transform: AffineTransform - type: typing_extensions.Literal["SHADOW_TYPE_UNSPECIFIED", "OUTER"] + type: typing.Literal["SHADOW_TYPE_UNSPECIFIED", "OUTER"] @typing.type_check_only -class Shape(typing_extensions.TypedDict, total=False): +class Shape(typing.TypedDict, total=False): placeholder: Placeholder shapeProperties: ShapeProperties - shapeType: typing_extensions.Literal[ + shapeType: typing.Literal[ "TYPE_UNSPECIFIED", "TEXT_BOX", "RECTANGLE", @@ -1024,14 +1018,14 @@ class Shape(typing_extensions.TypedDict, total=False): text: TextContent @typing.type_check_only -class ShapeBackgroundFill(typing_extensions.TypedDict, total=False): - propertyState: typing_extensions.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] +class ShapeBackgroundFill(typing.TypedDict, total=False): + propertyState: typing.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] solidFill: SolidFill @typing.type_check_only -class ShapeProperties(typing_extensions.TypedDict, total=False): +class ShapeProperties(typing.TypedDict, total=False): autofit: Autofit - contentAlignment: typing_extensions.Literal[ + contentAlignment: typing.Literal[ "CONTENT_ALIGNMENT_UNSPECIFIED", "CONTENT_ALIGNMENT_UNSUPPORTED", "TOP", @@ -1044,55 +1038,55 @@ class ShapeProperties(typing_extensions.TypedDict, total=False): shapeBackgroundFill: ShapeBackgroundFill @typing.type_check_only -class SheetsChart(typing_extensions.TypedDict, total=False): +class SheetsChart(typing.TypedDict, total=False): chartId: int contentUrl: str sheetsChartProperties: SheetsChartProperties spreadsheetId: str @typing.type_check_only -class SheetsChartProperties(typing_extensions.TypedDict, total=False): +class SheetsChartProperties(typing.TypedDict, total=False): chartImageProperties: ImageProperties @typing.type_check_only -class Size(typing_extensions.TypedDict, total=False): +class Size(typing.TypedDict, total=False): height: Dimension width: Dimension @typing.type_check_only -class SlideProperties(typing_extensions.TypedDict, total=False): +class SlideProperties(typing.TypedDict, total=False): isSkipped: bool layoutObjectId: str masterObjectId: str notesPage: Page @typing.type_check_only -class SolidFill(typing_extensions.TypedDict, total=False): +class SolidFill(typing.TypedDict, total=False): alpha: float color: OpaqueColor @typing.type_check_only -class SpeakerSpotlight(typing_extensions.TypedDict, total=False): +class SpeakerSpotlight(typing.TypedDict, total=False): speakerSpotlightProperties: SpeakerSpotlightProperties @typing.type_check_only -class SpeakerSpotlightProperties(typing_extensions.TypedDict, total=False): +class SpeakerSpotlightProperties(typing.TypedDict, total=False): outline: Outline shadow: Shadow @typing.type_check_only -class StretchedPictureFill(typing_extensions.TypedDict, total=False): +class StretchedPictureFill(typing.TypedDict, total=False): contentUrl: str size: Size @typing.type_check_only -class SubstringMatchCriteria(typing_extensions.TypedDict, total=False): +class SubstringMatchCriteria(typing.TypedDict, total=False): matchCase: bool searchByRegex: bool text: str @typing.type_check_only -class Table(typing_extensions.TypedDict, total=False): +class Table(typing.TypedDict, total=False): columns: int horizontalBorderRows: _list[TableBorderRow] rows: int @@ -1101,17 +1095,17 @@ class Table(typing_extensions.TypedDict, total=False): verticalBorderRows: _list[TableBorderRow] @typing.type_check_only -class TableBorderCell(typing_extensions.TypedDict, total=False): +class TableBorderCell(typing.TypedDict, total=False): location: TableCellLocation tableBorderProperties: TableBorderProperties @typing.type_check_only -class TableBorderFill(typing_extensions.TypedDict, total=False): +class TableBorderFill(typing.TypedDict, total=False): solidFill: SolidFill @typing.type_check_only -class TableBorderProperties(typing_extensions.TypedDict, total=False): - dashStyle: typing_extensions.Literal[ +class TableBorderProperties(typing.TypedDict, total=False): + dashStyle: typing.Literal[ "DASH_STYLE_UNSPECIFIED", "SOLID", "DOT", @@ -1124,11 +1118,11 @@ class TableBorderProperties(typing_extensions.TypedDict, total=False): weight: Dimension @typing.type_check_only -class TableBorderRow(typing_extensions.TypedDict, total=False): +class TableBorderRow(typing.TypedDict, total=False): tableBorderCells: _list[TableBorderCell] @typing.type_check_only -class TableCell(typing_extensions.TypedDict, total=False): +class TableCell(typing.TypedDict, total=False): columnSpan: int location: TableCellLocation rowSpan: int @@ -1136,18 +1130,18 @@ class TableCell(typing_extensions.TypedDict, total=False): text: TextContent @typing.type_check_only -class TableCellBackgroundFill(typing_extensions.TypedDict, total=False): - propertyState: typing_extensions.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] +class TableCellBackgroundFill(typing.TypedDict, total=False): + propertyState: typing.Literal["RENDERED", "NOT_RENDERED", "INHERIT"] solidFill: SolidFill @typing.type_check_only -class TableCellLocation(typing_extensions.TypedDict, total=False): +class TableCellLocation(typing.TypedDict, total=False): columnIndex: int rowIndex: int @typing.type_check_only -class TableCellProperties(typing_extensions.TypedDict, total=False): - contentAlignment: typing_extensions.Literal[ +class TableCellProperties(typing.TypedDict, total=False): + contentAlignment: typing.Literal[ "CONTENT_ALIGNMENT_UNSPECIFIED", "CONTENT_ALIGNMENT_UNSUPPORTED", "TOP", @@ -1157,32 +1151,32 @@ class TableCellProperties(typing_extensions.TypedDict, total=False): tableCellBackgroundFill: TableCellBackgroundFill @typing.type_check_only -class TableColumnProperties(typing_extensions.TypedDict, total=False): +class TableColumnProperties(typing.TypedDict, total=False): columnWidth: Dimension @typing.type_check_only -class TableRange(typing_extensions.TypedDict, total=False): +class TableRange(typing.TypedDict, total=False): columnSpan: int location: TableCellLocation rowSpan: int @typing.type_check_only -class TableRow(typing_extensions.TypedDict, total=False): +class TableRow(typing.TypedDict, total=False): rowHeight: Dimension tableCells: _list[TableCell] tableRowProperties: TableRowProperties @typing.type_check_only -class TableRowProperties(typing_extensions.TypedDict, total=False): +class TableRowProperties(typing.TypedDict, total=False): minRowHeight: Dimension @typing.type_check_only -class TextContent(typing_extensions.TypedDict, total=False): +class TextContent(typing.TypedDict, total=False): lists: dict[str, typing.Any] textElements: _list[TextElement] @typing.type_check_only -class TextElement(typing_extensions.TypedDict, total=False): +class TextElement(typing.TypedDict, total=False): autoText: AutoText endIndex: int paragraphMarker: ParagraphMarker @@ -1190,14 +1184,14 @@ class TextElement(typing_extensions.TypedDict, total=False): textRun: TextRun @typing.type_check_only -class TextRun(typing_extensions.TypedDict, total=False): +class TextRun(typing.TypedDict, total=False): content: str style: TextStyle @typing.type_check_only -class TextStyle(typing_extensions.TypedDict, total=False): +class TextStyle(typing.TypedDict, total=False): backgroundColor: OptionalColor - baselineOffset: typing_extensions.Literal[ + baselineOffset: typing.Literal[ "BASELINE_OFFSET_UNSPECIFIED", "NONE", "SUPERSCRIPT", "SUBSCRIPT" ] bold: bool @@ -1212,9 +1206,9 @@ class TextStyle(typing_extensions.TypedDict, total=False): weightedFontFamily: WeightedFontFamily @typing.type_check_only -class ThemeColorPair(typing_extensions.TypedDict, total=False): +class ThemeColorPair(typing.TypedDict, total=False): color: RgbColor - type: typing_extensions.Literal[ + type: typing.Literal[ "THEME_COLOR_TYPE_UNSPECIFIED", "DARK1", "LIGHT1", @@ -1235,56 +1229,54 @@ class ThemeColorPair(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Thumbnail(typing_extensions.TypedDict, total=False): +class Thumbnail(typing.TypedDict, total=False): contentUrl: str height: int width: int @typing.type_check_only -class UngroupObjectsRequest(typing_extensions.TypedDict, total=False): +class UngroupObjectsRequest(typing.TypedDict, total=False): objectIds: _list[str] @typing.type_check_only -class UnmergeTableCellsRequest(typing_extensions.TypedDict, total=False): +class UnmergeTableCellsRequest(typing.TypedDict, total=False): objectId: str tableRange: TableRange @typing.type_check_only -class UpdateImagePropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateImagePropertiesRequest(typing.TypedDict, total=False): fields: str imageProperties: ImageProperties objectId: str @typing.type_check_only -class UpdateLineCategoryRequest(typing_extensions.TypedDict, total=False): - lineCategory: typing_extensions.Literal[ +class UpdateLineCategoryRequest(typing.TypedDict, total=False): + lineCategory: typing.Literal[ "LINE_CATEGORY_UNSPECIFIED", "STRAIGHT", "BENT", "CURVED" ] objectId: str @typing.type_check_only -class UpdateLinePropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateLinePropertiesRequest(typing.TypedDict, total=False): fields: str lineProperties: LineProperties objectId: str @typing.type_check_only -class UpdatePageElementAltTextRequest(typing_extensions.TypedDict, total=False): +class UpdatePageElementAltTextRequest(typing.TypedDict, total=False): description: str objectId: str title: str @typing.type_check_only -class UpdatePageElementTransformRequest(typing_extensions.TypedDict, total=False): - applyMode: typing_extensions.Literal[ - "APPLY_MODE_UNSPECIFIED", "RELATIVE", "ABSOLUTE" - ] +class UpdatePageElementTransformRequest(typing.TypedDict, total=False): + applyMode: typing.Literal["APPLY_MODE_UNSPECIFIED", "RELATIVE", "ABSOLUTE"] objectId: str transform: AffineTransform @typing.type_check_only -class UpdatePageElementsZOrderRequest(typing_extensions.TypedDict, total=False): - operation: typing_extensions.Literal[ +class UpdatePageElementsZOrderRequest(typing.TypedDict, total=False): + operation: typing.Literal[ "Z_ORDER_OPERATION_UNSPECIFIED", "BRING_TO_FRONT", "BRING_FORWARD", @@ -1294,13 +1286,13 @@ class UpdatePageElementsZOrderRequest(typing_extensions.TypedDict, total=False): pageElementObjectIds: _list[str] @typing.type_check_only -class UpdatePagePropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdatePagePropertiesRequest(typing.TypedDict, total=False): fields: str objectId: str pageProperties: PageProperties @typing.type_check_only -class UpdateParagraphStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateParagraphStyleRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation fields: str objectId: str @@ -1308,25 +1300,25 @@ class UpdateParagraphStyleRequest(typing_extensions.TypedDict, total=False): textRange: Range @typing.type_check_only -class UpdateShapePropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateShapePropertiesRequest(typing.TypedDict, total=False): fields: str objectId: str shapeProperties: ShapeProperties @typing.type_check_only -class UpdateSlidePropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateSlidePropertiesRequest(typing.TypedDict, total=False): fields: str objectId: str slideProperties: SlideProperties @typing.type_check_only -class UpdateSlidesPositionRequest(typing_extensions.TypedDict, total=False): +class UpdateSlidesPositionRequest(typing.TypedDict, total=False): insertionIndex: int slideObjectIds: _list[str] @typing.type_check_only -class UpdateTableBorderPropertiesRequest(typing_extensions.TypedDict, total=False): - borderPosition: typing_extensions.Literal[ +class UpdateTableBorderPropertiesRequest(typing.TypedDict, total=False): + borderPosition: typing.Literal[ "ALL", "BOTTOM", "INNER", @@ -1343,28 +1335,28 @@ class UpdateTableBorderPropertiesRequest(typing_extensions.TypedDict, total=Fals tableRange: TableRange @typing.type_check_only -class UpdateTableCellPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateTableCellPropertiesRequest(typing.TypedDict, total=False): fields: str objectId: str tableCellProperties: TableCellProperties tableRange: TableRange @typing.type_check_only -class UpdateTableColumnPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateTableColumnPropertiesRequest(typing.TypedDict, total=False): columnIndices: _list[int] fields: str objectId: str tableColumnProperties: TableColumnProperties @typing.type_check_only -class UpdateTableRowPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateTableRowPropertiesRequest(typing.TypedDict, total=False): fields: str objectId: str rowIndices: _list[int] tableRowProperties: TableRowProperties @typing.type_check_only -class UpdateTextStyleRequest(typing_extensions.TypedDict, total=False): +class UpdateTextStyleRequest(typing.TypedDict, total=False): cellLocation: TableCellLocation fields: str objectId: str @@ -1372,20 +1364,20 @@ class UpdateTextStyleRequest(typing_extensions.TypedDict, total=False): textRange: Range @typing.type_check_only -class UpdateVideoPropertiesRequest(typing_extensions.TypedDict, total=False): +class UpdateVideoPropertiesRequest(typing.TypedDict, total=False): fields: str objectId: str videoProperties: VideoProperties @typing.type_check_only -class Video(typing_extensions.TypedDict, total=False): +class Video(typing.TypedDict, total=False): id: str - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "YOUTUBE", "DRIVE"] + source: typing.Literal["SOURCE_UNSPECIFIED", "YOUTUBE", "DRIVE"] url: str videoProperties: VideoProperties @typing.type_check_only -class VideoProperties(typing_extensions.TypedDict, total=False): +class VideoProperties(typing.TypedDict, total=False): autoPlay: bool end: int mute: bool @@ -1393,14 +1385,14 @@ class VideoProperties(typing_extensions.TypedDict, total=False): start: int @typing.type_check_only -class WeightedFontFamily(typing_extensions.TypedDict, total=False): +class WeightedFontFamily(typing.TypedDict, total=False): fontFamily: str weight: int @typing.type_check_only -class WordArt(typing_extensions.TypedDict, total=False): +class WordArt(typing.TypedDict, total=False): renderedText: str @typing.type_check_only -class WriteControl(typing_extensions.TypedDict, total=False): +class WriteControl(typing.TypedDict, total=False): requiredRevisionId: str diff --git a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/resources.pyi index 03fd0f21b..2ff06803c 100644 --- a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi index df0e29f46..9b05fd424 100644 --- a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleHomeEnterpriseSdmV1Device(typing_extensions.TypedDict, total=False): +class GoogleHomeEnterpriseSdmV1Device(typing.TypedDict, total=False): name: str parentRelations: _list[GoogleHomeEnterpriseSdmV1ParentRelation] traits: dict[str, typing.Any] @@ -13,46 +11,40 @@ class GoogleHomeEnterpriseSdmV1Device(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): command: str params: dict[str, typing.Any] @typing.type_check_only class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): results: dict[str, typing.Any] @typing.type_check_only -class GoogleHomeEnterpriseSdmV1ListDevicesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleHomeEnterpriseSdmV1ListDevicesResponse(typing.TypedDict, total=False): devices: _list[GoogleHomeEnterpriseSdmV1Device] @typing.type_check_only -class GoogleHomeEnterpriseSdmV1ListRoomsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleHomeEnterpriseSdmV1ListRoomsResponse(typing.TypedDict, total=False): rooms: _list[GoogleHomeEnterpriseSdmV1Room] @typing.type_check_only -class GoogleHomeEnterpriseSdmV1ListStructuresResponse( - typing_extensions.TypedDict, total=False -): +class GoogleHomeEnterpriseSdmV1ListStructuresResponse(typing.TypedDict, total=False): structures: _list[GoogleHomeEnterpriseSdmV1Structure] @typing.type_check_only -class GoogleHomeEnterpriseSdmV1ParentRelation(typing_extensions.TypedDict, total=False): +class GoogleHomeEnterpriseSdmV1ParentRelation(typing.TypedDict, total=False): displayName: str parent: str @typing.type_check_only -class GoogleHomeEnterpriseSdmV1Room(typing_extensions.TypedDict, total=False): +class GoogleHomeEnterpriseSdmV1Room(typing.TypedDict, total=False): name: str traits: dict[str, typing.Any] @typing.type_check_only -class GoogleHomeEnterpriseSdmV1Structure(typing_extensions.TypedDict, total=False): +class GoogleHomeEnterpriseSdmV1Structure(typing.TypedDict, total=False): name: str traits: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/solar/v1/resources.pyi b/googleapiclient-stubs/_apis/solar/v1/resources.pyi index edaedbe09..10dbadbc7 100644 --- a/googleapiclient-stubs/_apis/solar/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/solar/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -18,26 +17,20 @@ class SolarResource(googleapiclient.discovery.Resource): def findClosest( self, *, - additionalInsights: typing_extensions.Literal[ + additionalInsights: typing.Literal[ "ADDITIONAL_INSIGHTS_UNSPECIFIED", "DETECTED_ARRAYS" ] | _list[ - typing_extensions.Literal[ - "ADDITIONAL_INSIGHTS_UNSPECIFIED", "DETECTED_ARRAYS" - ] + typing.Literal["ADDITIONAL_INSIGHTS_UNSPECIFIED", "DETECTED_ARRAYS"] ] | None = ..., exactQualityRequired: bool | None = ..., - experiments: typing_extensions.Literal[ - "EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE" - ] - | _list[ - typing_extensions.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"] - ] + experiments: typing.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"] + | _list[typing.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"]] | None = ..., location_latitude: float | None = ..., location_longitude: float | None = ..., - requiredQuality: typing_extensions.Literal[ + requiredQuality: typing.Literal[ "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] | None = ..., @@ -50,22 +43,18 @@ class SolarResource(googleapiclient.discovery.Resource): self, *, exactQualityRequired: bool | None = ..., - experiments: typing_extensions.Literal[ - "EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE" - ] - | _list[ - typing_extensions.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"] - ] + experiments: typing.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"] + | _list[typing.Literal["EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE"]] | None = ..., location_latitude: float | None = ..., location_longitude: float | None = ..., pixelSizeMeters: float | None = ..., radiusMeters: float | None = ..., - requiredQuality: typing_extensions.Literal[ + requiredQuality: typing.Literal[ "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "DATA_LAYER_VIEW_UNSPECIFIED", "DSM_LAYER", "IMAGERY_LAYERS", diff --git a/googleapiclient-stubs/_apis/solar/v1/schemas.pyi b/googleapiclient-stubs/_apis/solar/v1/schemas.pyi index f577fdf2c..782c63aa4 100644 --- a/googleapiclient-stubs/_apis/solar/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/solar/v1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BuildingInsights(typing_extensions.TypedDict, total=False): +class BuildingInsights(typing.TypedDict, total=False): administrativeArea: str boundingBox: LatLngBox center: LatLng detectedArrays: BuildingInsightsDetectedArrays imageryDate: Date imageryProcessedDate: Date - imageryQuality: typing_extensions.Literal[ + imageryQuality: typing.Literal[ "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] name: str @@ -22,8 +20,8 @@ class BuildingInsights(typing_extensions.TypedDict, total=False): statisticalArea: str @typing.type_check_only -class BuildingInsightsDetectedArrays(typing_extensions.TypedDict, total=False): - detectionStatus: typing_extensions.Literal[ +class BuildingInsightsDetectedArrays(typing.TypedDict, total=False): + detectionStatus: typing.Literal[ "DETECTION_STATUS_UNSPECIFIED", "DETECTION_STATUS_DATA_UNAVAILABLE", "DETECTION_STATUS_ARRAYS_DETECTED", @@ -32,7 +30,7 @@ class BuildingInsightsDetectedArrays(typing_extensions.TypedDict, total=False): latestCaptureDate: Date @typing.type_check_only -class CashPurchaseSavings(typing_extensions.TypedDict, total=False): +class CashPurchaseSavings(typing.TypedDict, total=False): outOfPocketCost: Money paybackYears: float rebateValue: Money @@ -40,13 +38,13 @@ class CashPurchaseSavings(typing_extensions.TypedDict, total=False): upfrontCost: Money @typing.type_check_only -class DataLayers(typing_extensions.TypedDict, total=False): +class DataLayers(typing.TypedDict, total=False): annualFluxUrl: str dsmUrl: str hourlyShadeUrls: _list[str] imageryDate: Date imageryProcessedDate: Date - imageryQuality: typing_extensions.Literal[ + imageryQuality: typing.Literal[ "IMAGERY_QUALITY_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "BASE" ] maskUrl: str @@ -54,20 +52,20 @@ class DataLayers(typing_extensions.TypedDict, total=False): rgbUrl: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class FinancedPurchaseSavings(typing_extensions.TypedDict, total=False): +class FinancedPurchaseSavings(typing.TypedDict, total=False): annualLoanPayment: Money loanInterestRate: float rebateValue: Money savings: SavingsOverTime @typing.type_check_only -class FinancialAnalysis(typing_extensions.TypedDict, total=False): +class FinancialAnalysis(typing.TypedDict, total=False): averageKwhPerMonth: float cashPurchaseSavings: CashPurchaseSavings defaultBill: bool @@ -78,7 +76,7 @@ class FinancialAnalysis(typing_extensions.TypedDict, total=False): panelConfigIndex: int @typing.type_check_only -class FinancialDetails(typing_extensions.TypedDict, total=False): +class FinancialDetails(typing.TypedDict, total=False): costOfElectricityWithoutSolar: Money federalIncentive: Money initialAcKwhPerYear: float @@ -91,36 +89,36 @@ class FinancialDetails(typing_extensions.TypedDict, total=False): utilityIncentive: Money @typing.type_check_only -class HttpBody(typing_extensions.TypedDict, total=False): +class HttpBody(typing.TypedDict, total=False): contentType: str data: str extensions: _list[dict[str, typing.Any]] @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LatLngBox(typing_extensions.TypedDict, total=False): +class LatLngBox(typing.TypedDict, total=False): ne: LatLng sw: LatLng @typing.type_check_only -class LeasingSavings(typing_extensions.TypedDict, total=False): +class LeasingSavings(typing.TypedDict, total=False): annualLeasingCost: Money leasesAllowed: bool leasesSupported: bool savings: SavingsOverTime @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str nanos: int units: str @typing.type_check_only -class RoofSegmentSizeAndSunshineStats(typing_extensions.TypedDict, total=False): +class RoofSegmentSizeAndSunshineStats(typing.TypedDict, total=False): azimuthDegrees: float boundingBox: LatLngBox center: LatLng @@ -129,7 +127,7 @@ class RoofSegmentSizeAndSunshineStats(typing_extensions.TypedDict, total=False): stats: SizeAndSunshineStats @typing.type_check_only -class RoofSegmentSummary(typing_extensions.TypedDict, total=False): +class RoofSegmentSummary(typing.TypedDict, total=False): azimuthDegrees: float panelsCount: int pitchDegrees: float @@ -137,7 +135,7 @@ class RoofSegmentSummary(typing_extensions.TypedDict, total=False): yearlyEnergyDcKwh: float @typing.type_check_only -class SavingsOverTime(typing_extensions.TypedDict, total=False): +class SavingsOverTime(typing.TypedDict, total=False): financiallyViable: bool presentValueOfSavingsLifetime: Money presentValueOfSavingsYear20: Money @@ -146,28 +144,28 @@ class SavingsOverTime(typing_extensions.TypedDict, total=False): savingsYear20: Money @typing.type_check_only -class SizeAndSunshineStats(typing_extensions.TypedDict, total=False): +class SizeAndSunshineStats(typing.TypedDict, total=False): areaMeters2: float groundAreaMeters2: float sunshineQuantiles: _list[float] @typing.type_check_only -class SolarPanel(typing_extensions.TypedDict, total=False): +class SolarPanel(typing.TypedDict, total=False): center: LatLng - orientation: typing_extensions.Literal[ + orientation: typing.Literal[ "SOLAR_PANEL_ORIENTATION_UNSPECIFIED", "LANDSCAPE", "PORTRAIT" ] segmentIndex: int yearlyEnergyDcKwh: float @typing.type_check_only -class SolarPanelConfig(typing_extensions.TypedDict, total=False): +class SolarPanelConfig(typing.TypedDict, total=False): panelsCount: int roofSegmentSummaries: _list[RoofSegmentSummary] yearlyEnergyDcKwh: float @typing.type_check_only -class SolarPotential(typing_extensions.TypedDict, total=False): +class SolarPotential(typing.TypedDict, total=False): buildingStats: SizeAndSunshineStats carbonOffsetFactorKgPerMwh: float financialAnalyses: _list[FinancialAnalysis] diff --git a/googleapiclient-stubs/_apis/sourcerepo/v1/resources.pyi b/googleapiclient-stubs/_apis/sourcerepo/v1/resources.pyi index 999ca368e..88b1efac2 100644 --- a/googleapiclient-stubs/_apis/sourcerepo/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sourcerepo/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/sourcerepo/v1/schemas.pyi b/googleapiclient-stubs/_apis/sourcerepo/v1/schemas.pyi index 72cf3b272..2eccd87ee 100644 --- a/googleapiclient-stubs/_apis/sourcerepo/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sourcerepo/v1/schemas.pyi @@ -1,50 +1,48 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ListReposResponse(typing_extensions.TypedDict, total=False): +class ListReposResponse(typing.TypedDict, total=False): nextPageToken: str repos: _list[Repo] @typing.type_check_only -class MirrorConfig(typing_extensions.TypedDict, total=False): +class MirrorConfig(typing.TypedDict, total=False): deployKeyId: str url: str webhookId: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -52,28 +50,26 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class ProjectConfig(typing_extensions.TypedDict, total=False): +class ProjectConfig(typing.TypedDict, total=False): enablePrivateKeyCheck: bool name: str pubsubConfigs: dict[str, typing.Any] @typing.type_check_only -class PubsubConfig(typing_extensions.TypedDict, total=False): - messageFormat: typing_extensions.Literal[ - "MESSAGE_FORMAT_UNSPECIFIED", "PROTOBUF", "JSON" - ] +class PubsubConfig(typing.TypedDict, total=False): + messageFormat: typing.Literal["MESSAGE_FORMAT_UNSPECIFIED", "PROTOBUF", "JSON"] serviceAccountEmail: str topic: str @typing.type_check_only -class Repo(typing_extensions.TypedDict, total=False): +class Repo(typing.TypedDict, total=False): mirrorConfig: MirrorConfig name: str pubsubConfigs: dict[str, typing.Any] @@ -81,40 +77,40 @@ class Repo(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SyncRepoMetadata(typing_extensions.TypedDict, total=False): +class SyncRepoMetadata(typing.TypedDict, total=False): name: str startTime: str statusMessage: str updateTime: str @typing.type_check_only -class SyncRepoRequest(typing_extensions.TypedDict, total=False): ... +class SyncRepoRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class UpdateProjectConfigRequest(typing_extensions.TypedDict, total=False): +class UpdateProjectConfigRequest(typing.TypedDict, total=False): projectConfig: ProjectConfig updateMask: str @typing.type_check_only -class UpdateRepoRequest(typing_extensions.TypedDict, total=False): +class UpdateRepoRequest(typing.TypedDict, total=False): repo: Repo updateMask: str diff --git a/googleapiclient-stubs/_apis/spanner/v1/resources.pyi b/googleapiclient-stubs/_apis/spanner/v1/resources.pyi index f72676052..b5135489c 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -190,7 +189,7 @@ class SpannerResource(googleapiclient.discovery.Resource): parent: str, body: Backup, backupId: str | None = ..., - encryptionConfig_encryptionType: typing_extensions.Literal[ + encryptionConfig_encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "USE_DATABASE_ENCRYPTION", "GOOGLE_DEFAULT_ENCRYPTION", @@ -531,9 +530,7 @@ class SpannerResource(googleapiclient.discovery.Resource): name: str, endTime: str | None = ..., startTime: str | None = ..., - view: typing_extensions.Literal[ - "VIEW_UNSPECIFIED", "SUMMARY", "FULL" - ] + view: typing.Literal["VIEW_UNSPECIFIED", "SUMMARY", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ScanHttpRequest: ... @@ -769,8 +766,7 @@ class SpannerResource(googleapiclient.discovery.Resource): filter: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "SUMMARY", "FULL"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "SUMMARY", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListScansResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi index a339fb922..46ef30ce3 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi @@ -1,52 +1,50 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Ack(typing_extensions.TypedDict, total=False): +class Ack(typing.TypedDict, total=False): ignoreNotFound: bool key: _list[typing.Any] queue: str @typing.type_check_only -class AdaptMessageRequest(typing_extensions.TypedDict, total=False): +class AdaptMessageRequest(typing.TypedDict, total=False): attachments: dict[str, typing.Any] payload: str protocol: str @typing.type_check_only -class AdaptMessageResponse(typing_extensions.TypedDict, total=False): +class AdaptMessageResponse(typing.TypedDict, total=False): last: bool payload: str stateUpdates: dict[str, typing.Any] @typing.type_check_only -class AdapterSession(typing_extensions.TypedDict, total=False): +class AdapterSession(typing.TypedDict, total=False): name: str @typing.type_check_only -class AddSplitPointsRequest(typing_extensions.TypedDict, total=False): +class AddSplitPointsRequest(typing.TypedDict, total=False): initiator: str splitPoints: _list[SplitPoints] @typing.type_check_only -class AddSplitPointsResponse(typing_extensions.TypedDict, total=False): ... +class AddSplitPointsResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class AsymmetricAutoscalingOption(typing_extensions.TypedDict, total=False): +class AsymmetricAutoscalingOption(typing.TypedDict, total=False): overrides: AutoscalingConfigOverrides replicaSelection: InstanceReplicaSelection @typing.type_check_only -class AutoscalingConfig(typing_extensions.TypedDict, total=False): +class AutoscalingConfig(typing.TypedDict, total=False): asymmetricAutoscalingOptions: _list[AsymmetricAutoscalingOption] autoscalingLimits: AutoscalingLimits autoscalingTargets: AutoscalingTargets @typing.type_check_only -class AutoscalingConfigOverrides(typing_extensions.TypedDict, total=False): +class AutoscalingConfigOverrides(typing.TypedDict, total=False): autoscalingLimits: AutoscalingLimits autoscalingTargetHighPriorityCpuUtilizationPercent: int autoscalingTargetTotalCpuUtilizationPercent: int @@ -54,24 +52,24 @@ class AutoscalingConfigOverrides(typing_extensions.TypedDict, total=False): disableTotalCpuAutoscaling: bool @typing.type_check_only -class AutoscalingLimits(typing_extensions.TypedDict, total=False): +class AutoscalingLimits(typing.TypedDict, total=False): maxNodes: int maxProcessingUnits: int minNodes: int minProcessingUnits: int @typing.type_check_only -class AutoscalingTargets(typing_extensions.TypedDict, total=False): +class AutoscalingTargets(typing.TypedDict, total=False): highPriorityCpuUtilizationPercent: int storageUtilizationPercent: int totalCpuUtilizationPercent: int @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): backupSchedules: _list[str] createTime: str database: str - databaseDialect: typing_extensions.Literal[ + databaseDialect: typing.Literal[ "DATABASE_DIALECT_UNSPECIFIED", "GOOGLE_STANDARD_SQL", "POSTGRESQL" ] encryptionInfo: EncryptionInfo @@ -82,7 +80,7 @@ class Backup(typing_extensions.TypedDict, total=False): incrementalBackupChainId: str instancePartitions: _list[BackupInstancePartition] maxExpireTime: str - minimumRestorableEdition: typing_extensions.Literal[ + minimumRestorableEdition: typing.Literal[ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ] name: str @@ -90,22 +88,22 @@ class Backup(typing_extensions.TypedDict, total=False): referencingBackups: _list[str] referencingDatabases: _list[str] sizeBytes: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] versionTime: str @typing.type_check_only -class BackupInfo(typing_extensions.TypedDict, total=False): +class BackupInfo(typing.TypedDict, total=False): backup: str createTime: str sourceDatabase: str versionTime: str @typing.type_check_only -class BackupInstancePartition(typing_extensions.TypedDict, total=False): +class BackupInstancePartition(typing.TypedDict, total=False): instancePartition: str @typing.type_check_only -class BackupSchedule(typing_extensions.TypedDict, total=False): +class BackupSchedule(typing.TypedDict, total=False): encryptionConfig: CreateBackupEncryptionConfig fullBackupSpec: FullBackupSpec incrementalBackupSpec: IncrementalBackupSpec @@ -115,56 +113,56 @@ class BackupSchedule(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class BackupScheduleSpec(typing_extensions.TypedDict, total=False): +class BackupScheduleSpec(typing.TypedDict, total=False): cronSpec: CrontabSpec @typing.type_check_only -class BatchCreateSessionsRequest(typing_extensions.TypedDict, total=False): +class BatchCreateSessionsRequest(typing.TypedDict, total=False): sessionCount: int sessionTemplate: Session @typing.type_check_only -class BatchCreateSessionsResponse(typing_extensions.TypedDict, total=False): +class BatchCreateSessionsResponse(typing.TypedDict, total=False): session: _list[Session] @typing.type_check_only -class BatchWriteRequest(typing_extensions.TypedDict, total=False): +class BatchWriteRequest(typing.TypedDict, total=False): excludeTxnFromChangeStreams: bool mutationGroups: _list[MutationGroup] requestOptions: RequestOptions @typing.type_check_only -class BatchWriteResponse(typing_extensions.TypedDict, total=False): +class BatchWriteResponse(typing.TypedDict, total=False): commitTimestamp: str indexes: _list[int] status: Status @typing.type_check_only -class BeginTransactionRequest(typing_extensions.TypedDict, total=False): +class BeginTransactionRequest(typing.TypedDict, total=False): mutationKey: Mutation options: TransactionOptions requestOptions: RequestOptions @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class ChangeQuorumMetadata(typing_extensions.TypedDict, total=False): +class ChangeQuorumMetadata(typing.TypedDict, total=False): endTime: str request: ChangeQuorumRequest startTime: str @typing.type_check_only -class ChangeQuorumRequest(typing_extensions.TypedDict, total=False): +class ChangeQuorumRequest(typing.TypedDict, total=False): etag: str name: str quorumType: QuorumType @typing.type_check_only -class ChangeStreamRecord(typing_extensions.TypedDict, total=False): +class ChangeStreamRecord(typing.TypedDict, total=False): dataChangeRecord: DataChangeRecord heartbeatRecord: HeartbeatRecord partitionEndRecord: PartitionEndRecord @@ -172,24 +170,24 @@ class ChangeStreamRecord(typing_extensions.TypedDict, total=False): partitionStartRecord: PartitionStartRecord @typing.type_check_only -class ChildLink(typing_extensions.TypedDict, total=False): +class ChildLink(typing.TypedDict, total=False): childIndex: int type: str variable: str @typing.type_check_only -class ClientContext(typing_extensions.TypedDict, total=False): +class ClientContext(typing.TypedDict, total=False): secureContext: dict[str, typing.Any] @typing.type_check_only -class ColumnMetadata(typing_extensions.TypedDict, total=False): +class ColumnMetadata(typing.TypedDict, total=False): isPrimaryKey: bool name: str ordinalPosition: str type: Type @typing.type_check_only -class CommitRequest(typing_extensions.TypedDict, total=False): +class CommitRequest(typing.TypedDict, total=False): maxCommitDelay: str mutations: _list[Mutation] precommitToken: MultiplexedSessionPrecommitToken @@ -199,40 +197,40 @@ class CommitRequest(typing_extensions.TypedDict, total=False): transactionId: str @typing.type_check_only -class CommitResponse(typing_extensions.TypedDict, total=False): +class CommitResponse(typing.TypedDict, total=False): commitStats: CommitStats commitTimestamp: str - isolationLevel: typing_extensions.Literal[ + isolationLevel: typing.Literal[ "ISOLATION_LEVEL_UNSPECIFIED", "SERIALIZABLE", "REPEATABLE_READ" ] precommitToken: MultiplexedSessionPrecommitToken - readLockMode: typing_extensions.Literal[ + readLockMode: typing.Literal[ "READ_LOCK_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC" ] snapshotTimestamp: str @typing.type_check_only -class CommitStats(typing_extensions.TypedDict, total=False): +class CommitStats(typing.TypedDict, total=False): mutationCount: str @typing.type_check_only -class CompactDatabaseMetadata(typing_extensions.TypedDict, total=False): +class CompactDatabaseMetadata(typing.TypedDict, total=False): cancelTime: str database: str progress: OperationProgress @typing.type_check_only -class ContextValue(typing_extensions.TypedDict, total=False): +class ContextValue(typing.TypedDict, total=False): label: LocalizedString - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR", "FATAL" ] unit: str value: float @typing.type_check_only -class CopyBackupEncryptionConfig(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class CopyBackupEncryptionConfig(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION", "GOOGLE_DEFAULT_ENCRYPTION", @@ -242,22 +240,22 @@ class CopyBackupEncryptionConfig(typing_extensions.TypedDict, total=False): kmsKeyNames: _list[str] @typing.type_check_only -class CopyBackupMetadata(typing_extensions.TypedDict, total=False): +class CopyBackupMetadata(typing.TypedDict, total=False): cancelTime: str name: str progress: OperationProgress sourceBackup: str @typing.type_check_only -class CopyBackupRequest(typing_extensions.TypedDict, total=False): +class CopyBackupRequest(typing.TypedDict, total=False): backupId: str encryptionConfig: CopyBackupEncryptionConfig expireTime: str sourceBackup: str @typing.type_check_only -class CreateBackupEncryptionConfig(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class CreateBackupEncryptionConfig(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "USE_DATABASE_ENCRYPTION", "GOOGLE_DEFAULT_ENCRYPTION", @@ -267,20 +265,20 @@ class CreateBackupEncryptionConfig(typing_extensions.TypedDict, total=False): kmsKeyNames: _list[str] @typing.type_check_only -class CreateBackupMetadata(typing_extensions.TypedDict, total=False): +class CreateBackupMetadata(typing.TypedDict, total=False): cancelTime: str database: str name: str progress: OperationProgress @typing.type_check_only -class CreateDatabaseMetadata(typing_extensions.TypedDict, total=False): +class CreateDatabaseMetadata(typing.TypedDict, total=False): database: str @typing.type_check_only -class CreateDatabaseRequest(typing_extensions.TypedDict, total=False): +class CreateDatabaseRequest(typing.TypedDict, total=False): createStatement: str - databaseDialect: typing_extensions.Literal[ + databaseDialect: typing.Literal[ "DATABASE_DIALECT_UNSPECIFIED", "GOOGLE_STANDARD_SQL", "POSTGRESQL" ] encryptionConfig: EncryptionConfig @@ -288,22 +286,22 @@ class CreateDatabaseRequest(typing_extensions.TypedDict, total=False): protoDescriptors: str @typing.type_check_only -class CreateInstanceConfigMetadata(typing_extensions.TypedDict, total=False): +class CreateInstanceConfigMetadata(typing.TypedDict, total=False): cancelTime: str instanceConfig: InstanceConfig progress: InstanceOperationProgress @typing.type_check_only -class CreateInstanceConfigRequest(typing_extensions.TypedDict, total=False): +class CreateInstanceConfigRequest(typing.TypedDict, total=False): instanceConfig: InstanceConfig instanceConfigId: str validateOnly: bool @typing.type_check_only -class CreateInstanceMetadata(typing_extensions.TypedDict, total=False): +class CreateInstanceMetadata(typing.TypedDict, total=False): cancelTime: str endTime: str - expectedFulfillmentPeriod: typing_extensions.Literal[ + expectedFulfillmentPeriod: typing.Literal[ "FULFILLMENT_PERIOD_UNSPECIFIED", "FULFILLMENT_PERIOD_NORMAL", "FULFILLMENT_PERIOD_EXTENDED", @@ -312,41 +310,39 @@ class CreateInstanceMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class CreateInstancePartitionMetadata(typing_extensions.TypedDict, total=False): +class CreateInstancePartitionMetadata(typing.TypedDict, total=False): cancelTime: str endTime: str instancePartition: InstancePartition startTime: str @typing.type_check_only -class CreateInstancePartitionRequest(typing_extensions.TypedDict, total=False): +class CreateInstancePartitionRequest(typing.TypedDict, total=False): instancePartition: InstancePartition instancePartitionId: str @typing.type_check_only -class CreateInstanceRequest(typing_extensions.TypedDict, total=False): +class CreateInstanceRequest(typing.TypedDict, total=False): instance: Instance instanceId: str @typing.type_check_only -class CreateSessionRequest(typing_extensions.TypedDict, total=False): +class CreateSessionRequest(typing.TypedDict, total=False): session: Session @typing.type_check_only -class CrontabSpec(typing_extensions.TypedDict, total=False): +class CrontabSpec(typing.TypedDict, total=False): creationWindow: str text: str timeZone: str @typing.type_check_only -class DataChangeRecord(typing_extensions.TypedDict, total=False): +class DataChangeRecord(typing.TypedDict, total=False): columnMetadata: _list[ColumnMetadata] commitTimestamp: str isLastRecordInTransactionInPartition: bool isSystemTransaction: bool - modType: typing_extensions.Literal[ - "MOD_TYPE_UNSPECIFIED", "INSERT", "UPDATE", "DELETE" - ] + modType: typing.Literal["MOD_TYPE_UNSPECIFIED", "INSERT", "UPDATE", "DELETE"] mods: _list[Mod] numberOfPartitionsInTransaction: int numberOfRecordsInTransaction: int @@ -354,7 +350,7 @@ class DataChangeRecord(typing_extensions.TypedDict, total=False): serverTransactionId: str table: str transactionTag: str - valueCaptureType: typing_extensions.Literal[ + valueCaptureType: typing.Literal[ "VALUE_CAPTURE_TYPE_UNSPECIFIED", "OLD_AND_NEW_VALUES", "NEW_VALUES", @@ -363,9 +359,9 @@ class DataChangeRecord(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): createTime: str - databaseDialect: typing_extensions.Literal[ + databaseDialect: typing.Literal[ "DATABASE_DIALECT_UNSPECIFIED", "GOOGLE_STANDARD_SQL", "POSTGRESQL" ] defaultLeader: str @@ -377,76 +373,74 @@ class Database(typing_extensions.TypedDict, total=False): quorumInfo: QuorumInfo reconciling: bool restoreInfo: RestoreInfo - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "READY", "READY_OPTIMIZING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY", "READY_OPTIMIZING"] versionRetentionPeriod: str @typing.type_check_only -class DatabaseMoveConfig(typing_extensions.TypedDict, total=False): +class DatabaseMoveConfig(typing.TypedDict, total=False): databaseId: str encryptionConfig: InstanceEncryptionConfig @typing.type_check_only -class DatabaseRole(typing_extensions.TypedDict, total=False): +class DatabaseRole(typing.TypedDict, total=False): name: str @typing.type_check_only -class DdlStatementActionInfo(typing_extensions.TypedDict, total=False): +class DdlStatementActionInfo(typing.TypedDict, total=False): action: str entityNames: _list[str] entityType: str @typing.type_check_only -class Delete(typing_extensions.TypedDict, total=False): +class Delete(typing.TypedDict, total=False): keySet: KeySet table: str @typing.type_check_only -class DerivedMetric(typing_extensions.TypedDict, total=False): +class DerivedMetric(typing.TypedDict, total=False): denominator: LocalizedString numerator: LocalizedString @typing.type_check_only -class DiagnosticMessage(typing_extensions.TypedDict, total=False): +class DiagnosticMessage(typing.TypedDict, total=False): info: LocalizedString metric: LocalizedString metricSpecific: bool - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR", "FATAL" ] shortMessage: LocalizedString @typing.type_check_only -class DirectedReadOptions(typing_extensions.TypedDict, total=False): +class DirectedReadOptions(typing.TypedDict, total=False): excludeReplicas: ExcludeReplicas includeReplicas: IncludeReplicas @typing.type_check_only -class DualRegionQuorum(typing_extensions.TypedDict, total=False): ... +class DualRegionQuorum(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str kmsKeyNames: _list[str] @typing.type_check_only -class EncryptionInfo(typing_extensions.TypedDict, total=False): +class EncryptionInfo(typing.TypedDict, total=False): encryptionStatus: Status - encryptionType: typing_extensions.Literal[ + encryptionType: typing.Literal[ "TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION" ] kmsKeyVersion: str @typing.type_check_only -class ExcludeReplicas(typing_extensions.TypedDict, total=False): +class ExcludeReplicas(typing.TypedDict, total=False): replicaSelections: _list[ReplicaSelection] @typing.type_check_only -class ExecuteBatchDmlRequest(typing_extensions.TypedDict, total=False): +class ExecuteBatchDmlRequest(typing.TypedDict, total=False): lastStatements: bool requestOptions: RequestOptions seqno: str @@ -454,20 +448,20 @@ class ExecuteBatchDmlRequest(typing_extensions.TypedDict, total=False): transaction: TransactionSelector @typing.type_check_only -class ExecuteBatchDmlResponse(typing_extensions.TypedDict, total=False): +class ExecuteBatchDmlResponse(typing.TypedDict, total=False): precommitToken: MultiplexedSessionPrecommitToken resultSets: _list[ResultSet] status: Status @typing.type_check_only -class ExecuteSqlRequest(typing_extensions.TypedDict, total=False): +class ExecuteSqlRequest(typing.TypedDict, total=False): dataBoostEnabled: bool directedReadOptions: DirectedReadOptions lastStatement: bool paramTypes: dict[str, typing.Any] params: dict[str, typing.Any] partitionToken: str - queryMode: typing_extensions.Literal[ + queryMode: typing.Literal[ "NORMAL", "PLAN", "PROFILE", "WITH_STATS", "WITH_PLAN_AND_STATS" ] queryOptions: QueryOptions @@ -478,20 +472,20 @@ class ExecuteSqlRequest(typing_extensions.TypedDict, total=False): transaction: TransactionSelector @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Field(typing_extensions.TypedDict, total=False): +class Field(typing.TypedDict, total=False): name: str type: Type @typing.type_check_only -class FreeInstanceMetadata(typing_extensions.TypedDict, total=False): - expireBehavior: typing_extensions.Literal[ +class FreeInstanceMetadata(typing.TypedDict, total=False): + expireBehavior: typing.Literal[ "EXPIRE_BEHAVIOR_UNSPECIFIED", "FREE_TO_PROVISIONED", "REMOVE_AFTER_GRACE_PERIOD", @@ -500,61 +494,61 @@ class FreeInstanceMetadata(typing_extensions.TypedDict, total=False): upgradeTime: str @typing.type_check_only -class FullBackupSpec(typing_extensions.TypedDict, total=False): ... +class FullBackupSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class GetDatabaseDdlResponse(typing_extensions.TypedDict, total=False): +class GetDatabaseDdlResponse(typing.TypedDict, total=False): protoDescriptors: str statements: _list[str] @typing.type_check_only -class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class GetIamPolicyRequest(typing.TypedDict, total=False): options: GetPolicyOptions @typing.type_check_only -class GetPolicyOptions(typing_extensions.TypedDict, total=False): +class GetPolicyOptions(typing.TypedDict, total=False): requestedPolicyVersion: int @typing.type_check_only -class HeartbeatRecord(typing_extensions.TypedDict, total=False): +class HeartbeatRecord(typing.TypedDict, total=False): timestamp: str @typing.type_check_only -class IncludeReplicas(typing_extensions.TypedDict, total=False): +class IncludeReplicas(typing.TypedDict, total=False): autoFailoverDisabled: bool replicaSelections: _list[ReplicaSelection] @typing.type_check_only -class IncrementalBackupSpec(typing_extensions.TypedDict, total=False): ... +class IncrementalBackupSpec(typing.TypedDict, total=False): ... @typing.type_check_only -class IndexAdvice(typing_extensions.TypedDict, total=False): +class IndexAdvice(typing.TypedDict, total=False): ddl: _list[str] improvementFactor: float @typing.type_check_only -class IndexedHotKey(typing_extensions.TypedDict, total=False): +class IndexedHotKey(typing.TypedDict, total=False): sparseHotKeys: dict[str, typing.Any] @typing.type_check_only -class IndexedKeyRangeInfos(typing_extensions.TypedDict, total=False): +class IndexedKeyRangeInfos(typing.TypedDict, total=False): keyRangeInfos: dict[str, typing.Any] @typing.type_check_only -class Instance(typing_extensions.TypedDict, total=False): +class Instance(typing.TypedDict, total=False): autoscalingConfig: AutoscalingConfig config: str createTime: str - defaultBackupScheduleType: typing_extensions.Literal[ + defaultBackupScheduleType: typing.Literal[ "DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED", "NONE", "AUTOMATIC" ] displayName: str - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ] endpointUris: _list[str] freeInstanceMetadata: FreeInstanceMetadata - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "INSTANCE_TYPE_UNSPECIFIED", "PROVISIONED", "FREE_INSTANCE" ] labels: dict[str, typing.Any] @@ -562,18 +556,16 @@ class Instance(typing_extensions.TypedDict, total=False): nodeCount: int processingUnits: int replicaComputeCapacity: _list[ReplicaComputeCapacity] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] updateTime: str @typing.type_check_only -class InstanceConfig(typing_extensions.TypedDict, total=False): +class InstanceConfig(typing.TypedDict, total=False): baseConfig: str - configType: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "USER_MANAGED" - ] + configType: typing.Literal["TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "USER_MANAGED"] displayName: str etag: str - freeInstanceAvailability: typing_extensions.Literal[ + freeInstanceAvailability: typing.Literal[ "FREE_INSTANCE_AVAILABILITY_UNSPECIFIED", "AVAILABLE", "UNSUPPORTED", @@ -584,27 +576,27 @@ class InstanceConfig(typing_extensions.TypedDict, total=False): leaderOptions: _list[str] name: str optionalReplicas: _list[ReplicaInfo] - quorumType: typing_extensions.Literal[ + quorumType: typing.Literal[ "QUORUM_TYPE_UNSPECIFIED", "REGION", "DUAL_REGION", "MULTI_REGION" ] reconciling: bool replicas: _list[ReplicaInfo] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] storageLimitPerProcessingUnit: str @typing.type_check_only -class InstanceEncryptionConfig(typing_extensions.TypedDict, total=False): +class InstanceEncryptionConfig(typing.TypedDict, total=False): kmsKeyName: str kmsKeyNames: _list[str] @typing.type_check_only -class InstanceOperationProgress(typing_extensions.TypedDict, total=False): +class InstanceOperationProgress(typing.TypedDict, total=False): endTime: str progressPercent: int startTime: str @typing.type_check_only -class InstancePartition(typing_extensions.TypedDict, total=False): +class InstancePartition(typing.TypedDict, total=False): autoscalingConfig: AutoscalingConfig config: str createTime: str @@ -615,26 +607,26 @@ class InstancePartition(typing_extensions.TypedDict, total=False): processingUnits: int referencingBackups: _list[str] referencingDatabases: _list[str] - state: typing_extensions.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "READY"] updateTime: str @typing.type_check_only -class InstanceReplicaSelection(typing_extensions.TypedDict, total=False): +class InstanceReplicaSelection(typing.TypedDict, total=False): location: str @typing.type_check_only -class Key(typing_extensions.TypedDict, total=False): +class Key(typing.TypedDict, total=False): keyParts: _list[typing.Any] @typing.type_check_only -class KeyRange(typing_extensions.TypedDict, total=False): +class KeyRange(typing.TypedDict, total=False): endClosed: _list[typing.Any] endOpen: _list[typing.Any] startClosed: _list[typing.Any] startOpen: _list[typing.Any] @typing.type_check_only -class KeyRangeInfo(typing_extensions.TypedDict, total=False): +class KeyRangeInfo(typing.TypedDict, total=False): contextValues: _list[ContextValue] endKeyIndex: int info: LocalizedString @@ -646,99 +638,99 @@ class KeyRangeInfo(typing_extensions.TypedDict, total=False): value: float @typing.type_check_only -class KeyRangeInfos(typing_extensions.TypedDict, total=False): +class KeyRangeInfos(typing.TypedDict, total=False): infos: _list[KeyRangeInfo] totalSize: int @typing.type_check_only -class KeySet(typing_extensions.TypedDict, total=False): +class KeySet(typing.TypedDict, total=False): all: bool keys: _list[_list[typing.Any]] ranges: _list[KeyRange] @typing.type_check_only -class ListBackupOperationsResponse(typing_extensions.TypedDict, total=False): +class ListBackupOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListBackupSchedulesResponse(typing_extensions.TypedDict, total=False): +class ListBackupSchedulesResponse(typing.TypedDict, total=False): backupSchedules: _list[BackupSchedule] nextPageToken: str @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str @typing.type_check_only -class ListDatabaseOperationsResponse(typing_extensions.TypedDict, total=False): +class ListDatabaseOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListDatabaseRolesResponse(typing_extensions.TypedDict, total=False): +class ListDatabaseRolesResponse(typing.TypedDict, total=False): databaseRoles: _list[DatabaseRole] nextPageToken: str @typing.type_check_only -class ListDatabasesResponse(typing_extensions.TypedDict, total=False): +class ListDatabasesResponse(typing.TypedDict, total=False): databases: _list[Database] nextPageToken: str @typing.type_check_only -class ListInstanceConfigOperationsResponse(typing_extensions.TypedDict, total=False): +class ListInstanceConfigOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class ListInstanceConfigsResponse(typing_extensions.TypedDict, total=False): +class ListInstanceConfigsResponse(typing.TypedDict, total=False): instanceConfigs: _list[InstanceConfig] nextPageToken: str @typing.type_check_only -class ListInstancePartitionOperationsResponse(typing_extensions.TypedDict, total=False): +class ListInstancePartitionOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachableInstancePartitions: _list[str] @typing.type_check_only -class ListInstancePartitionsResponse(typing_extensions.TypedDict, total=False): +class ListInstancePartitionsResponse(typing.TypedDict, total=False): instancePartitions: _list[InstancePartition] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListInstancesResponse(typing_extensions.TypedDict, total=False): +class ListInstancesResponse(typing.TypedDict, total=False): instances: _list[Instance] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListScansResponse(typing_extensions.TypedDict, total=False): +class ListScansResponse(typing.TypedDict, total=False): nextPageToken: str scans: _list[Scan] @typing.type_check_only -class ListSessionsResponse(typing_extensions.TypedDict, total=False): +class ListSessionsResponse(typing.TypedDict, total=False): nextPageToken: str sessions: _list[Session] @typing.type_check_only -class LocalizedString(typing_extensions.TypedDict, total=False): +class LocalizedString(typing.TypedDict, total=False): args: dict[str, typing.Any] message: str token: str @typing.type_check_only -class Metric(typing_extensions.TypedDict, total=False): - aggregation: typing_extensions.Literal["AGGREGATION_UNSPECIFIED", "MAX", "SUM"] +class Metric(typing.TypedDict, total=False): + aggregation: typing.Literal["AGGREGATION_UNSPECIFIED", "MAX", "SUM"] category: LocalizedString derived: DerivedMetric displayLabel: LocalizedString @@ -752,44 +744,44 @@ class Metric(typing_extensions.TypedDict, total=False): visible: bool @typing.type_check_only -class MetricMatrix(typing_extensions.TypedDict, total=False): +class MetricMatrix(typing.TypedDict, total=False): rows: _list[MetricMatrixRow] @typing.type_check_only -class MetricMatrixRow(typing_extensions.TypedDict, total=False): +class MetricMatrixRow(typing.TypedDict, total=False): cols: _list[float] @typing.type_check_only -class Mod(typing_extensions.TypedDict, total=False): +class Mod(typing.TypedDict, total=False): keys: _list[ModValue] newValues: _list[ModValue] oldValues: _list[ModValue] @typing.type_check_only -class ModValue(typing_extensions.TypedDict, total=False): +class ModValue(typing.TypedDict, total=False): columnMetadataIndex: int value: typing.Any @typing.type_check_only -class MoveInEvent(typing_extensions.TypedDict, total=False): +class MoveInEvent(typing.TypedDict, total=False): sourcePartitionToken: str @typing.type_check_only -class MoveInstanceRequest(typing_extensions.TypedDict, total=False): +class MoveInstanceRequest(typing.TypedDict, total=False): targetConfig: str targetDatabaseMoveConfigs: _list[DatabaseMoveConfig] @typing.type_check_only -class MoveOutEvent(typing_extensions.TypedDict, total=False): +class MoveOutEvent(typing.TypedDict, total=False): destinationPartitionToken: str @typing.type_check_only -class MultiplexedSessionPrecommitToken(typing_extensions.TypedDict, total=False): +class MultiplexedSessionPrecommitToken(typing.TypedDict, total=False): precommitToken: str seqNum: int @typing.type_check_only -class Mutation(typing_extensions.TypedDict, total=False): +class Mutation(typing.TypedDict, total=False): ack: Ack delete: Delete insert: Write @@ -799,11 +791,11 @@ class Mutation(typing_extensions.TypedDict, total=False): update: Write @typing.type_check_only -class MutationGroup(typing_extensions.TypedDict, total=False): +class MutationGroup(typing.TypedDict, total=False): mutations: _list[Mutation] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -811,18 +803,18 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationProgress(typing_extensions.TypedDict, total=False): +class OperationProgress(typing.TypedDict, total=False): endTime: str progressPercent: int startTime: str @typing.type_check_only -class OptimizeRestoredDatabaseMetadata(typing_extensions.TypedDict, total=False): +class OptimizeRestoredDatabaseMetadata(typing.TypedDict, total=False): name: str progress: OperationProgress @typing.type_check_only -class PartialResultSet(typing_extensions.TypedDict, total=False): +class PartialResultSet(typing.TypedDict, total=False): chunkedValue: bool last: bool metadata: ResultSetMetadata @@ -832,17 +824,17 @@ class PartialResultSet(typing_extensions.TypedDict, total=False): values: _list[typing.Any] @typing.type_check_only -class Partition(typing_extensions.TypedDict, total=False): +class Partition(typing.TypedDict, total=False): partitionToken: str @typing.type_check_only -class PartitionEndRecord(typing_extensions.TypedDict, total=False): +class PartitionEndRecord(typing.TypedDict, total=False): endTimestamp: str partitionToken: str recordSequence: str @typing.type_check_only -class PartitionEventRecord(typing_extensions.TypedDict, total=False): +class PartitionEventRecord(typing.TypedDict, total=False): commitTimestamp: str moveInEvents: _list[MoveInEvent] moveOutEvents: _list[MoveOutEvent] @@ -850,12 +842,12 @@ class PartitionEventRecord(typing_extensions.TypedDict, total=False): recordSequence: str @typing.type_check_only -class PartitionOptions(typing_extensions.TypedDict, total=False): +class PartitionOptions(typing.TypedDict, total=False): maxPartitions: str partitionSizeBytes: str @typing.type_check_only -class PartitionQueryRequest(typing_extensions.TypedDict, total=False): +class PartitionQueryRequest(typing.TypedDict, total=False): paramTypes: dict[str, typing.Any] params: dict[str, typing.Any] partitionOptions: PartitionOptions @@ -863,7 +855,7 @@ class PartitionQueryRequest(typing_extensions.TypedDict, total=False): transaction: TransactionSelector @typing.type_check_only -class PartitionReadRequest(typing_extensions.TypedDict, total=False): +class PartitionReadRequest(typing.TypedDict, total=False): columns: _list[str] index: str keySet: KeySet @@ -872,37 +864,37 @@ class PartitionReadRequest(typing_extensions.TypedDict, total=False): transaction: TransactionSelector @typing.type_check_only -class PartitionResponse(typing_extensions.TypedDict, total=False): +class PartitionResponse(typing.TypedDict, total=False): partitions: _list[Partition] transaction: Transaction @typing.type_check_only -class PartitionStartRecord(typing_extensions.TypedDict, total=False): +class PartitionStartRecord(typing.TypedDict, total=False): partitionTokens: _list[str] recordSequence: str startTimestamp: str @typing.type_check_only -class PartitionedDml(typing_extensions.TypedDict, total=False): ... +class PartitionedDml(typing.TypedDict, total=False): ... @typing.type_check_only -class PlanNode(typing_extensions.TypedDict, total=False): +class PlanNode(typing.TypedDict, total=False): childLinks: _list[ChildLink] displayName: str executionStats: dict[str, typing.Any] index: int - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "RELATIONAL", "SCALAR"] + kind: typing.Literal["KIND_UNSPECIFIED", "RELATIONAL", "SCALAR"] metadata: dict[str, typing.Any] shortRepresentation: ShortRepresentation @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PrefixNode(typing_extensions.TypedDict, total=False): +class PrefixNode(typing.TypedDict, total=False): dataSourceNode: bool depth: int endIndex: int @@ -910,33 +902,33 @@ class PrefixNode(typing_extensions.TypedDict, total=False): word: str @typing.type_check_only -class QueryAdvisorResult(typing_extensions.TypedDict, total=False): +class QueryAdvisorResult(typing.TypedDict, total=False): indexAdvice: _list[IndexAdvice] @typing.type_check_only -class QueryOptions(typing_extensions.TypedDict, total=False): +class QueryOptions(typing.TypedDict, total=False): optimizerStatisticsPackage: str optimizerVersion: str @typing.type_check_only -class QueryPlan(typing_extensions.TypedDict, total=False): +class QueryPlan(typing.TypedDict, total=False): planNodes: _list[PlanNode] queryAdvice: QueryAdvisorResult @typing.type_check_only -class QuorumInfo(typing_extensions.TypedDict, total=False): +class QuorumInfo(typing.TypedDict, total=False): etag: str - initiator: typing_extensions.Literal["INITIATOR_UNSPECIFIED", "GOOGLE", "USER"] + initiator: typing.Literal["INITIATOR_UNSPECIFIED", "GOOGLE", "USER"] quorumType: QuorumType startTime: str @typing.type_check_only -class QuorumType(typing_extensions.TypedDict, total=False): +class QuorumType(typing.TypedDict, total=False): dualRegion: DualRegionQuorum singleRegion: SingleRegionQuorum @typing.type_check_only -class ReadOnly(typing_extensions.TypedDict, total=False): +class ReadOnly(typing.TypedDict, total=False): exactStaleness: str maxStaleness: str minReadTimestamp: str @@ -945,17 +937,17 @@ class ReadOnly(typing_extensions.TypedDict, total=False): strong: bool @typing.type_check_only -class ReadRequest(typing_extensions.TypedDict, total=False): +class ReadRequest(typing.TypedDict, total=False): columns: _list[str] dataBoostEnabled: bool directedReadOptions: DirectedReadOptions index: str keySet: KeySet limit: str - lockHint: typing_extensions.Literal[ + lockHint: typing.Literal[ "LOCK_HINT_UNSPECIFIED", "LOCK_HINT_SHARED", "LOCK_HINT_EXCLUSIVE" ] - orderBy: typing_extensions.Literal[ + orderBy: typing.Literal[ "ORDER_BY_UNSPECIFIED", "ORDER_BY_PRIMARY_KEY", "ORDER_BY_NO_ORDER" ] partitionToken: str @@ -965,43 +957,41 @@ class ReadRequest(typing_extensions.TypedDict, total=False): transaction: TransactionSelector @typing.type_check_only -class ReadWrite(typing_extensions.TypedDict, total=False): +class ReadWrite(typing.TypedDict, total=False): multiplexedSessionPreviousTransactionId: str - readLockMode: typing_extensions.Literal[ + readLockMode: typing.Literal[ "READ_LOCK_MODE_UNSPECIFIED", "PESSIMISTIC", "OPTIMISTIC" ] @typing.type_check_only -class ReplicaComputeCapacity(typing_extensions.TypedDict, total=False): +class ReplicaComputeCapacity(typing.TypedDict, total=False): nodeCount: int processingUnits: int replicaSelection: InstanceReplicaSelection @typing.type_check_only -class ReplicaInfo(typing_extensions.TypedDict, total=False): +class ReplicaInfo(typing.TypedDict, total=False): defaultLeaderLocation: bool location: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "READ_WRITE", "READ_ONLY", "WITNESS" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "READ_WRITE", "READ_ONLY", "WITNESS"] @typing.type_check_only -class ReplicaSelection(typing_extensions.TypedDict, total=False): +class ReplicaSelection(typing.TypedDict, total=False): location: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] + type: typing.Literal["TYPE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] @typing.type_check_only -class RequestOptions(typing_extensions.TypedDict, total=False): +class RequestOptions(typing.TypedDict, total=False): clientContext: ClientContext - priority: typing_extensions.Literal[ + priority: typing.Literal[ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ] requestTag: str transactionTag: str @typing.type_check_only -class RestoreDatabaseEncryptionConfig(typing_extensions.TypedDict, total=False): - encryptionType: typing_extensions.Literal[ +class RestoreDatabaseEncryptionConfig(typing.TypedDict, total=False): + encryptionType: typing.Literal[ "ENCRYPTION_TYPE_UNSPECIFIED", "USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION", "GOOGLE_DEFAULT_ENCRYPTION", @@ -1011,51 +1001,51 @@ class RestoreDatabaseEncryptionConfig(typing_extensions.TypedDict, total=False): kmsKeyNames: _list[str] @typing.type_check_only -class RestoreDatabaseMetadata(typing_extensions.TypedDict, total=False): +class RestoreDatabaseMetadata(typing.TypedDict, total=False): backupInfo: BackupInfo cancelTime: str name: str optimizeDatabaseOperationName: str progress: OperationProgress - sourceType: typing_extensions.Literal["TYPE_UNSPECIFIED", "BACKUP"] + sourceType: typing.Literal["TYPE_UNSPECIFIED", "BACKUP"] @typing.type_check_only -class RestoreDatabaseRequest(typing_extensions.TypedDict, total=False): +class RestoreDatabaseRequest(typing.TypedDict, total=False): backup: str databaseId: str encryptionConfig: RestoreDatabaseEncryptionConfig @typing.type_check_only -class RestoreInfo(typing_extensions.TypedDict, total=False): +class RestoreInfo(typing.TypedDict, total=False): backupInfo: BackupInfo - sourceType: typing_extensions.Literal["TYPE_UNSPECIFIED", "BACKUP"] + sourceType: typing.Literal["TYPE_UNSPECIFIED", "BACKUP"] @typing.type_check_only -class ResultSet(typing_extensions.TypedDict, total=False): +class ResultSet(typing.TypedDict, total=False): metadata: ResultSetMetadata precommitToken: MultiplexedSessionPrecommitToken rows: _list[_list[typing.Any]] stats: ResultSetStats @typing.type_check_only -class ResultSetMetadata(typing_extensions.TypedDict, total=False): +class ResultSetMetadata(typing.TypedDict, total=False): rowType: StructType transaction: Transaction undeclaredParameters: StructType @typing.type_check_only -class ResultSetStats(typing_extensions.TypedDict, total=False): +class ResultSetStats(typing.TypedDict, total=False): queryPlan: QueryPlan queryStats: dict[str, typing.Any] rowCountExact: str rowCountLowerBound: str @typing.type_check_only -class RollbackRequest(typing_extensions.TypedDict, total=False): +class RollbackRequest(typing.TypedDict, total=False): transactionId: str @typing.type_check_only -class Scan(typing_extensions.TypedDict, total=False): +class Scan(typing.TypedDict, total=False): details: dict[str, typing.Any] endTime: str name: str @@ -1063,20 +1053,20 @@ class Scan(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ScanData(typing_extensions.TypedDict, total=False): +class ScanData(typing.TypedDict, total=False): data: VisualizationData endTime: str startTime: str @typing.type_check_only -class Send(typing_extensions.TypedDict, total=False): +class Send(typing.TypedDict, total=False): deliverTime: str key: _list[typing.Any] payload: typing.Any queue: str @typing.type_check_only -class Session(typing_extensions.TypedDict, total=False): +class Session(typing.TypedDict, total=False): approximateLastUseTime: str createTime: str creatorRole: str @@ -1085,59 +1075,59 @@ class Session(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy @typing.type_check_only -class ShortRepresentation(typing_extensions.TypedDict, total=False): +class ShortRepresentation(typing.TypedDict, total=False): description: str subqueries: dict[str, typing.Any] @typing.type_check_only -class SingleRegionQuorum(typing_extensions.TypedDict, total=False): +class SingleRegionQuorum(typing.TypedDict, total=False): servingLocation: str @typing.type_check_only -class SplitPoints(typing_extensions.TypedDict, total=False): +class SplitPoints(typing.TypedDict, total=False): expireTime: str index: str keys: _list[Key] table: str @typing.type_check_only -class Statement(typing_extensions.TypedDict, total=False): +class Statement(typing.TypedDict, total=False): paramTypes: dict[str, typing.Any] params: dict[str, typing.Any] sql: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StructType(typing_extensions.TypedDict, total=False): +class StructType(typing.TypedDict, total=False): fields: _list[Field] @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Transaction(typing_extensions.TypedDict, total=False): +class Transaction(typing.TypedDict, total=False): id: str precommitToken: MultiplexedSessionPrecommitToken readTimestamp: str @typing.type_check_only -class TransactionOptions(typing_extensions.TypedDict, total=False): +class TransactionOptions(typing.TypedDict, total=False): excludeTxnFromChangeStreams: bool - isolationLevel: typing_extensions.Literal[ + isolationLevel: typing.Literal[ "ISOLATION_LEVEL_UNSPECIFIED", "SERIALIZABLE", "REPEATABLE_READ" ] partitionedDml: PartitionedDml @@ -1145,15 +1135,15 @@ class TransactionOptions(typing_extensions.TypedDict, total=False): readWrite: ReadWrite @typing.type_check_only -class TransactionSelector(typing_extensions.TypedDict, total=False): +class TransactionSelector(typing.TypedDict, total=False): begin: TransactionOptions id: str singleUse: TransactionOptions @typing.type_check_only -class Type(typing_extensions.TypedDict, total=False): +class Type(typing.TypedDict, total=False): arrayElementType: Type - code: typing_extensions.Literal[ + code: typing.Literal[ "TYPE_CODE_UNSPECIFIED", "BOOL", "INT64", @@ -1174,12 +1164,12 @@ class Type(typing_extensions.TypedDict, total=False): ] protoTypeFqn: str structType: StructType - typeAnnotation: typing_extensions.Literal[ + typeAnnotation: typing.Literal[ "TYPE_ANNOTATION_CODE_UNSPECIFIED", "PG_NUMERIC", "PG_JSONB", "PG_OID" ] @typing.type_check_only -class UpdateDatabaseDdlMetadata(typing_extensions.TypedDict, total=False): +class UpdateDatabaseDdlMetadata(typing.TypedDict, total=False): actions: _list[DdlStatementActionInfo] commitTimestamps: _list[str] database: str @@ -1188,39 +1178,39 @@ class UpdateDatabaseDdlMetadata(typing_extensions.TypedDict, total=False): throttled: bool @typing.type_check_only -class UpdateDatabaseDdlRequest(typing_extensions.TypedDict, total=False): +class UpdateDatabaseDdlRequest(typing.TypedDict, total=False): operationId: str protoDescriptors: str statements: _list[str] @typing.type_check_only -class UpdateDatabaseMetadata(typing_extensions.TypedDict, total=False): +class UpdateDatabaseMetadata(typing.TypedDict, total=False): cancelTime: str progress: OperationProgress request: UpdateDatabaseRequest @typing.type_check_only -class UpdateDatabaseRequest(typing_extensions.TypedDict, total=False): +class UpdateDatabaseRequest(typing.TypedDict, total=False): database: Database updateMask: str @typing.type_check_only -class UpdateInstanceConfigMetadata(typing_extensions.TypedDict, total=False): +class UpdateInstanceConfigMetadata(typing.TypedDict, total=False): cancelTime: str instanceConfig: InstanceConfig progress: InstanceOperationProgress @typing.type_check_only -class UpdateInstanceConfigRequest(typing_extensions.TypedDict, total=False): +class UpdateInstanceConfigRequest(typing.TypedDict, total=False): instanceConfig: InstanceConfig updateMask: str validateOnly: bool @typing.type_check_only -class UpdateInstanceMetadata(typing_extensions.TypedDict, total=False): +class UpdateInstanceMetadata(typing.TypedDict, total=False): cancelTime: str endTime: str - expectedFulfillmentPeriod: typing_extensions.Literal[ + expectedFulfillmentPeriod: typing.Literal[ "FULFILLMENT_PERIOD_UNSPECIFIED", "FULFILLMENT_PERIOD_NORMAL", "FULFILLMENT_PERIOD_EXTENDED", @@ -1229,24 +1219,24 @@ class UpdateInstanceMetadata(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class UpdateInstancePartitionMetadata(typing_extensions.TypedDict, total=False): +class UpdateInstancePartitionMetadata(typing.TypedDict, total=False): cancelTime: str endTime: str instancePartition: InstancePartition startTime: str @typing.type_check_only -class UpdateInstancePartitionRequest(typing_extensions.TypedDict, total=False): +class UpdateInstancePartitionRequest(typing.TypedDict, total=False): fieldMask: str instancePartition: InstancePartition @typing.type_check_only -class UpdateInstanceRequest(typing_extensions.TypedDict, total=False): +class UpdateInstanceRequest(typing.TypedDict, total=False): fieldMask: str instance: Instance @typing.type_check_only -class VisualizationData(typing_extensions.TypedDict, total=False): +class VisualizationData(typing.TypedDict, total=False): dataSourceEndToken: str dataSourceSeparatorToken: str diagnosticMessages: _list[DiagnosticMessage] @@ -1254,12 +1244,12 @@ class VisualizationData(typing_extensions.TypedDict, total=False): hasPii: bool indexedKeys: _list[str] keySeparator: str - keyUnit: typing_extensions.Literal["KEY_UNIT_UNSPECIFIED", "KEY", "CHUNK"] + keyUnit: typing.Literal["KEY_UNIT_UNSPECIFIED", "KEY", "CHUNK"] metrics: _list[Metric] prefixNodes: _list[PrefixNode] @typing.type_check_only -class Write(typing_extensions.TypedDict, total=False): +class Write(typing.TypedDict, total=False): columns: _list[str] table: str values: _list[_list[typing.Any]] diff --git a/googleapiclient-stubs/_apis/speech/v1/resources.pyi b/googleapiclient-stubs/_apis/speech/v1/resources.pyi index d9a2b8891..539b77ec1 100644 --- a/googleapiclient-stubs/_apis/speech/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/speech/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/speech/v1/schemas.pyi b/googleapiclient-stubs/_apis/speech/v1/schemas.pyi index 1cd82ba12..8b5f9d0af 100644 --- a/googleapiclient-stubs/_apis/speech/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/speech/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ABNFGrammar(typing_extensions.TypedDict, total=False): +class ABNFGrammar(typing.TypedDict, total=False): abnfStrings: _list[str] @typing.type_check_only -class ClassItem(typing_extensions.TypedDict, total=False): +class ClassItem(typing.TypedDict, total=False): value: str @typing.type_check_only -class CreateCustomClassRequest(typing_extensions.TypedDict, total=False): +class CreateCustomClassRequest(typing.TypedDict, total=False): customClass: CustomClass customClassId: str @typing.type_check_only -class CreatePhraseSetRequest(typing_extensions.TypedDict, total=False): +class CreatePhraseSetRequest(typing.TypedDict, total=False): phraseSet: PhraseSet phraseSetId: str @typing.type_check_only -class CustomClass(typing_extensions.TypedDict, total=False): +class CustomClass(typing.TypedDict, total=False): annotations: dict[str, typing.Any] customClassId: str deleteTime: str @@ -35,49 +33,49 @@ class CustomClass(typing_extensions.TypedDict, total=False): kmsKeyVersionName: str name: str reconciling: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] uid: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Entry(typing_extensions.TypedDict, total=False): +class Entry(typing.TypedDict, total=False): caseSensitive: bool replace: str search: str @typing.type_check_only -class ListCustomClassesResponse(typing_extensions.TypedDict, total=False): +class ListCustomClassesResponse(typing.TypedDict, total=False): customClasses: _list[CustomClass] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPhraseSetResponse(typing_extensions.TypedDict, total=False): +class ListPhraseSetResponse(typing.TypedDict, total=False): nextPageToken: str phraseSets: _list[PhraseSet] @typing.type_check_only -class LongRunningRecognizeMetadata(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeMetadata(typing.TypedDict, total=False): lastUpdateTime: str progressPercent: int startTime: str uri: str @typing.type_check_only -class LongRunningRecognizeRequest(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeRequest(typing.TypedDict, total=False): audio: RecognitionAudio config: RecognitionConfig outputConfig: TranscriptOutputConfig @typing.type_check_only -class LongRunningRecognizeResponse(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeResponse(typing.TypedDict, total=False): outputConfig: TranscriptOutputConfig outputError: Status requestId: str @@ -86,7 +84,7 @@ class LongRunningRecognizeResponse(typing_extensions.TypedDict, total=False): totalBilledTime: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -94,12 +92,12 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Phrase(typing_extensions.TypedDict, total=False): +class Phrase(typing.TypedDict, total=False): boost: float value: str @typing.type_check_only -class PhraseSet(typing_extensions.TypedDict, total=False): +class PhraseSet(typing.TypedDict, total=False): annotations: dict[str, typing.Any] boost: float deleteTime: str @@ -111,16 +109,16 @@ class PhraseSet(typing_extensions.TypedDict, total=False): name: str phrases: _list[Phrase] reconciling: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] uid: str @typing.type_check_only -class RecognitionAudio(typing_extensions.TypedDict, total=False): +class RecognitionAudio(typing.TypedDict, total=False): content: str uri: str @typing.type_check_only -class RecognitionConfig(typing_extensions.TypedDict, total=False): +class RecognitionConfig(typing.TypedDict, total=False): adaptation: SpeechAdaptation alternativeLanguageCodes: _list[str] audioChannelCount: int @@ -131,7 +129,7 @@ class RecognitionConfig(typing_extensions.TypedDict, total=False): enableSpokenPunctuation: bool enableWordConfidence: bool enableWordTimeOffsets: bool - encoding: typing_extensions.Literal[ + encoding: typing.Literal[ "ENCODING_UNSPECIFIED", "LINEAR16", "FLAC", @@ -155,10 +153,10 @@ class RecognitionConfig(typing_extensions.TypedDict, total=False): useEnhanced: bool @typing.type_check_only -class RecognitionMetadata(typing_extensions.TypedDict, total=False): +class RecognitionMetadata(typing.TypedDict, total=False): audioTopic: str industryNaicsCodeOfAudio: int - interactionType: typing_extensions.Literal[ + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "DISCUSSION", "PRESENTATION", @@ -169,15 +167,15 @@ class RecognitionMetadata(typing_extensions.TypedDict, total=False): "VOICE_COMMAND", "DICTATION", ] - microphoneDistance: typing_extensions.Literal[ + microphoneDistance: typing.Literal[ "MICROPHONE_DISTANCE_UNSPECIFIED", "NEARFIELD", "MIDFIELD", "FARFIELD" ] - originalMediaType: typing_extensions.Literal[ + originalMediaType: typing.Literal[ "ORIGINAL_MEDIA_TYPE_UNSPECIFIED", "AUDIO", "VIDEO" ] originalMimeType: str recordingDeviceName: str - recordingDeviceType: typing_extensions.Literal[ + recordingDeviceType: typing.Literal[ "RECORDING_DEVICE_TYPE_UNSPECIFIED", "SMARTPHONE", "PC", @@ -188,12 +186,12 @@ class RecognitionMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RecognizeRequest(typing_extensions.TypedDict, total=False): +class RecognizeRequest(typing.TypedDict, total=False): audio: RecognitionAudio config: RecognitionConfig @typing.type_check_only -class RecognizeResponse(typing_extensions.TypedDict, total=False): +class RecognizeResponse(typing.TypedDict, total=False): requestId: str results: _list[SpeechRecognitionResult] speechAdaptationInfo: SpeechAdaptationInfo @@ -201,58 +199,58 @@ class RecognizeResponse(typing_extensions.TypedDict, total=False): usingLegacyModels: bool @typing.type_check_only -class SpeakerDiarizationConfig(typing_extensions.TypedDict, total=False): +class SpeakerDiarizationConfig(typing.TypedDict, total=False): enableSpeakerDiarization: bool maxSpeakerCount: int minSpeakerCount: int speakerTag: int @typing.type_check_only -class SpeechAdaptation(typing_extensions.TypedDict, total=False): +class SpeechAdaptation(typing.TypedDict, total=False): abnfGrammar: ABNFGrammar customClasses: _list[CustomClass] phraseSetReferences: _list[str] phraseSets: _list[PhraseSet] @typing.type_check_only -class SpeechAdaptationInfo(typing_extensions.TypedDict, total=False): +class SpeechAdaptationInfo(typing.TypedDict, total=False): adaptationTimeout: bool timeoutMessage: str @typing.type_check_only -class SpeechContext(typing_extensions.TypedDict, total=False): +class SpeechContext(typing.TypedDict, total=False): boost: float phrases: _list[str] @typing.type_check_only -class SpeechRecognitionAlternative(typing_extensions.TypedDict, total=False): +class SpeechRecognitionAlternative(typing.TypedDict, total=False): confidence: float transcript: str words: _list[WordInfo] @typing.type_check_only -class SpeechRecognitionResult(typing_extensions.TypedDict, total=False): +class SpeechRecognitionResult(typing.TypedDict, total=False): alternatives: _list[SpeechRecognitionAlternative] channelTag: int languageCode: str resultEndTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TranscriptNormalization(typing_extensions.TypedDict, total=False): +class TranscriptNormalization(typing.TypedDict, total=False): entries: _list[Entry] @typing.type_check_only -class TranscriptOutputConfig(typing_extensions.TypedDict, total=False): +class TranscriptOutputConfig(typing.TypedDict, total=False): gcsUri: str @typing.type_check_only -class WordInfo(typing_extensions.TypedDict, total=False): +class WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str diff --git a/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi b/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi index d9a2b8891..539b77ec1 100644 --- a/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/speech/v1p1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi index 71717ff66..a639e3563 100644 --- a/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/speech/v1p1beta1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ABNFGrammar(typing_extensions.TypedDict, total=False): +class ABNFGrammar(typing.TypedDict, total=False): abnfStrings: _list[str] @typing.type_check_only -class ClassItem(typing_extensions.TypedDict, total=False): +class ClassItem(typing.TypedDict, total=False): value: str @typing.type_check_only -class CreateCustomClassRequest(typing_extensions.TypedDict, total=False): +class CreateCustomClassRequest(typing.TypedDict, total=False): customClass: CustomClass customClassId: str @typing.type_check_only -class CreatePhraseSetRequest(typing_extensions.TypedDict, total=False): +class CreatePhraseSetRequest(typing.TypedDict, total=False): phraseSet: PhraseSet phraseSetId: str @typing.type_check_only -class CustomClass(typing_extensions.TypedDict, total=False): +class CustomClass(typing.TypedDict, total=False): annotations: dict[str, typing.Any] customClassId: str deleteTime: str @@ -35,36 +33,36 @@ class CustomClass(typing_extensions.TypedDict, total=False): kmsKeyVersionName: str name: str reconciling: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] uid: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Entry(typing_extensions.TypedDict, total=False): +class Entry(typing.TypedDict, total=False): caseSensitive: bool replace: str search: str @typing.type_check_only -class ListCustomClassesResponse(typing_extensions.TypedDict, total=False): +class ListCustomClassesResponse(typing.TypedDict, total=False): customClasses: _list[CustomClass] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPhraseSetResponse(typing_extensions.TypedDict, total=False): +class ListPhraseSetResponse(typing.TypedDict, total=False): nextPageToken: str phraseSets: _list[PhraseSet] @typing.type_check_only -class LongRunningRecognizeMetadata(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeMetadata(typing.TypedDict, total=False): lastUpdateTime: str outputConfig: TranscriptOutputConfig progressPercent: int @@ -72,13 +70,13 @@ class LongRunningRecognizeMetadata(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class LongRunningRecognizeRequest(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeRequest(typing.TypedDict, total=False): audio: RecognitionAudio config: RecognitionConfig outputConfig: TranscriptOutputConfig @typing.type_check_only -class LongRunningRecognizeResponse(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeResponse(typing.TypedDict, total=False): outputConfig: TranscriptOutputConfig outputError: Status requestId: str @@ -87,7 +85,7 @@ class LongRunningRecognizeResponse(typing_extensions.TypedDict, total=False): totalBilledTime: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -95,12 +93,12 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Phrase(typing_extensions.TypedDict, total=False): +class Phrase(typing.TypedDict, total=False): boost: float value: str @typing.type_check_only -class PhraseSet(typing_extensions.TypedDict, total=False): +class PhraseSet(typing.TypedDict, total=False): annotations: dict[str, typing.Any] boost: float deleteTime: str @@ -112,16 +110,16 @@ class PhraseSet(typing_extensions.TypedDict, total=False): name: str phrases: _list[Phrase] reconciling: bool - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] uid: str @typing.type_check_only -class RecognitionAudio(typing_extensions.TypedDict, total=False): +class RecognitionAudio(typing.TypedDict, total=False): content: str uri: str @typing.type_check_only -class RecognitionConfig(typing_extensions.TypedDict, total=False): +class RecognitionConfig(typing.TypedDict, total=False): adaptation: SpeechAdaptation alternativeLanguageCodes: _list[str] audioChannelCount: int @@ -134,7 +132,7 @@ class RecognitionConfig(typing_extensions.TypedDict, total=False): enableSpokenPunctuation: bool enableWordConfidence: bool enableWordTimeOffsets: bool - encoding: typing_extensions.Literal[ + encoding: typing.Literal[ "ENCODING_UNSPECIFIED", "LINEAR16", "FLAC", @@ -158,10 +156,10 @@ class RecognitionConfig(typing_extensions.TypedDict, total=False): useEnhanced: bool @typing.type_check_only -class RecognitionMetadata(typing_extensions.TypedDict, total=False): +class RecognitionMetadata(typing.TypedDict, total=False): audioTopic: str industryNaicsCodeOfAudio: int - interactionType: typing_extensions.Literal[ + interactionType: typing.Literal[ "INTERACTION_TYPE_UNSPECIFIED", "DISCUSSION", "PRESENTATION", @@ -172,16 +170,16 @@ class RecognitionMetadata(typing_extensions.TypedDict, total=False): "VOICE_COMMAND", "DICTATION", ] - microphoneDistance: typing_extensions.Literal[ + microphoneDistance: typing.Literal[ "MICROPHONE_DISTANCE_UNSPECIFIED", "NEARFIELD", "MIDFIELD", "FARFIELD" ] obfuscatedId: str - originalMediaType: typing_extensions.Literal[ + originalMediaType: typing.Literal[ "ORIGINAL_MEDIA_TYPE_UNSPECIFIED", "AUDIO", "VIDEO" ] originalMimeType: str recordingDeviceName: str - recordingDeviceType: typing_extensions.Literal[ + recordingDeviceType: typing.Literal[ "RECORDING_DEVICE_TYPE_UNSPECIFIED", "SMARTPHONE", "PC", @@ -192,12 +190,12 @@ class RecognitionMetadata(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class RecognizeRequest(typing_extensions.TypedDict, total=False): +class RecognizeRequest(typing.TypedDict, total=False): audio: RecognitionAudio config: RecognitionConfig @typing.type_check_only -class RecognizeResponse(typing_extensions.TypedDict, total=False): +class RecognizeResponse(typing.TypedDict, total=False): requestId: str results: _list[SpeechRecognitionResult] speechAdaptationInfo: SpeechAdaptationInfo @@ -205,58 +203,58 @@ class RecognizeResponse(typing_extensions.TypedDict, total=False): usingLegacyModels: bool @typing.type_check_only -class SpeakerDiarizationConfig(typing_extensions.TypedDict, total=False): +class SpeakerDiarizationConfig(typing.TypedDict, total=False): enableSpeakerDiarization: bool maxSpeakerCount: int minSpeakerCount: int speakerTag: int @typing.type_check_only -class SpeechAdaptation(typing_extensions.TypedDict, total=False): +class SpeechAdaptation(typing.TypedDict, total=False): abnfGrammar: ABNFGrammar customClasses: _list[CustomClass] phraseSetReferences: _list[str] phraseSets: _list[PhraseSet] @typing.type_check_only -class SpeechAdaptationInfo(typing_extensions.TypedDict, total=False): +class SpeechAdaptationInfo(typing.TypedDict, total=False): adaptationTimeout: bool timeoutMessage: str @typing.type_check_only -class SpeechContext(typing_extensions.TypedDict, total=False): +class SpeechContext(typing.TypedDict, total=False): boost: float phrases: _list[str] @typing.type_check_only -class SpeechRecognitionAlternative(typing_extensions.TypedDict, total=False): +class SpeechRecognitionAlternative(typing.TypedDict, total=False): confidence: float transcript: str words: _list[WordInfo] @typing.type_check_only -class SpeechRecognitionResult(typing_extensions.TypedDict, total=False): +class SpeechRecognitionResult(typing.TypedDict, total=False): alternatives: _list[SpeechRecognitionAlternative] channelTag: int languageCode: str resultEndTime: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TranscriptNormalization(typing_extensions.TypedDict, total=False): +class TranscriptNormalization(typing.TypedDict, total=False): entries: _list[Entry] @typing.type_check_only -class TranscriptOutputConfig(typing_extensions.TypedDict, total=False): +class TranscriptOutputConfig(typing.TypedDict, total=False): gcsUri: str @typing.type_check_only -class WordInfo(typing_extensions.TypedDict, total=False): +class WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str diff --git a/googleapiclient-stubs/_apis/speech/v2beta1/resources.pyi b/googleapiclient-stubs/_apis/speech/v2beta1/resources.pyi index 989919b78..cf4391f5f 100644 --- a/googleapiclient-stubs/_apis/speech/v2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/speech/v2beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/speech/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/speech/v2beta1/schemas.pyi index 454a852c2..e153b306f 100644 --- a/googleapiclient-stubs/_apis/speech/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/speech/v2beta1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] @typing.type_check_only -class LongRunningRecognizeMetadata(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeMetadata(typing.TypedDict, total=False): lastUpdateTime: str progressPercent: int startTime: str uri: str @typing.type_check_only -class LongRunningRecognizeResponse(typing_extensions.TypedDict, total=False): +class LongRunningRecognizeResponse(typing.TypedDict, total=False): results: _list[SpeechRecognitionResult] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -29,25 +27,25 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class SpeechRecognitionAlternative(typing_extensions.TypedDict, total=False): +class SpeechRecognitionAlternative(typing.TypedDict, total=False): confidence: float transcript: str words: _list[WordInfo] @typing.type_check_only -class SpeechRecognitionResult(typing_extensions.TypedDict, total=False): +class SpeechRecognitionResult(typing.TypedDict, total=False): alternatives: _list[SpeechRecognitionAlternative] channelTag: int languageCode: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class WordInfo(typing_extensions.TypedDict, total=False): +class WordInfo(typing.TypedDict, total=False): confidence: float endOffset: str speakerTag: int diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi index e5430e791..71abd57b1 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -92,7 +91,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 @@ -134,7 +133,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): self, *, databaseVersion: str | None = ..., - flagScope: typing_extensions.Literal[ + flagScope: typing.Literal[ "SQL_FLAG_SCOPE_UNSPECIFIED", "SQL_FLAG_SCOPE_DATABASE", "SQL_FLAG_SCOPE_CONNECTION_POOL", @@ -280,6 +279,8 @@ class SQLAdminResource(googleapiclient.discovery.Resource): project: str, instance: str, body: DatabaseInstance, + reconcilePscNetworking: bool | None = ..., + reconcilePscNetworkingForce: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def pointInTimeRestore( @@ -317,7 +318,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): *, project: str, instance: str, - mode: typing_extensions.Literal[ + mode: typing.Literal[ "RESET_SSL_MODE_UNSPECIFIED", "ALL", "SYNC_FROM_PRIMARY" ] | None = ..., @@ -376,16 +377,27 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( - self, *, project: str, operation: str, **kwargs: typing.Any + self, + *, + project: str, + operation: str, + location: str | None = ..., + **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def get( - self, *, project: str, operation: str, **kwargs: typing.Any + self, + *, + project: str, + operation: str, + location: str | None = ..., + **kwargs: typing.Any, ) -> OperationHttpRequest: ... def list( self, *, project: str, instance: str | None = ..., + location: str | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., **kwargs: typing.Any, @@ -534,6 +546,8 @@ class SQLAdminResource(googleapiclient.discovery.Resource): host: str | None = ..., name: str | None = ..., revokeExistingRoles: bool | None = ..., + revokeExistingServerRoles: bool | None = ..., + serverRoles: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi index fe6afd513..33ee29ba7 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -1,30 +1,28 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AclEntry(typing_extensions.TypedDict, total=False): +class AclEntry(typing.TypedDict, total=False): expirationTime: str kind: str name: str value: str @typing.type_check_only -class AcquireSsrsLeaseContext(typing_extensions.TypedDict, total=False): +class AcquireSsrsLeaseContext(typing.TypedDict, total=False): duration: str reportDatabase: str serviceLogin: str setupLogin: str @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): threadsPerCore: int @typing.type_check_only -class ApiWarning(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ApiWarning(typing.TypedDict, total=False): + code: typing.Literal[ "SQL_API_WARNING_CODE_UNSPECIFIED", "REGION_UNREACHABLE", "MAX_RESULTS_EXCEEDS_LIMIT", @@ -35,19 +33,17 @@ class ApiWarning(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class AvailableDatabaseVersion(typing_extensions.TypedDict, total=False): +class AvailableDatabaseVersion(typing.TypedDict, total=False): displayName: str majorVersion: str name: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): backupInterval: Interval - backupKind: typing_extensions.Literal[ - "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" - ] + backupKind: typing.Literal["SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL"] backupRun: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -120,7 +116,7 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool selfLink: str - state: typing_extensions.Literal[ + state: typing.Literal[ "SQL_BACKUP_STATE_UNSPECIFIED", "ENQUEUED", "RUNNING", @@ -131,14 +127,14 @@ class Backup(typing_extensions.TypedDict, total=False): ] timeZone: str ttlDays: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND", "FINAL" ] @typing.type_check_only -class BackupConfiguration(typing_extensions.TypedDict, total=False): +class BackupConfiguration(typing.TypedDict, total=False): backupRetentionSettings: BackupRetentionSettings - backupTier: typing_extensions.Literal[ + backupTier: typing.Literal[ "BACKUP_TIER_UNSPECIFIED", "STANDARD", "ADVANCED", "ENHANCED" ] binaryLogEnabled: bool @@ -149,7 +145,7 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): replicationLogArchivingEnabled: bool startTime: str transactionLogRetentionDays: int - transactionalLogStorageState: typing_extensions.Literal[ + transactionalLogStorageState: typing.Literal[ "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED", "DISK", "SWITCHING_TO_CLOUD_STORAGE", @@ -158,29 +154,25 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BackupContext(typing_extensions.TypedDict, total=False): +class BackupContext(typing.TypedDict, total=False): backupId: str kind: str name: str @typing.type_check_only -class BackupReencryptionConfig(typing_extensions.TypedDict, total=False): +class BackupReencryptionConfig(typing.TypedDict, total=False): backupLimit: int - backupType: typing_extensions.Literal[ - "BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND" - ] + backupType: typing.Literal["BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND"] @typing.type_check_only -class BackupRetentionSettings(typing_extensions.TypedDict, total=False): +class BackupRetentionSettings(typing.TypedDict, total=False): retainedBackups: int - retentionUnit: typing_extensions.Literal["RETENTION_UNIT_UNSPECIFIED", "COUNT"] + retentionUnit: typing.Literal["RETENTION_UNIT_UNSPECIFIED", "COUNT"] @typing.type_check_only -class BackupRun(typing_extensions.TypedDict, total=False): - backupKind: typing_extensions.Literal[ - "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" - ] - databaseVersion: typing_extensions.Literal[ +class BackupRun(typing.TypedDict, total=False): + backupKind: typing.Literal["SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL"] + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -251,7 +243,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): maxChargeableBytes: str selfLink: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "SQL_BACKUP_RUN_STATUS_UNSPECIFIED", "ENQUEUED", "OVERDUE", @@ -264,25 +256,23 @@ class BackupRun(typing_extensions.TypedDict, total=False): "DELETED", ] timeZone: str - type: typing_extensions.Literal[ - "SQL_BACKUP_RUN_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND" - ] + type: typing.Literal["SQL_BACKUP_RUN_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND"] windowStartTime: str @typing.type_check_only -class BackupRunsListResponse(typing_extensions.TypedDict, total=False): +class BackupRunsListResponse(typing.TypedDict, total=False): items: _list[BackupRun] kind: str nextPageToken: str @typing.type_check_only -class BinLogCoordinates(typing_extensions.TypedDict, total=False): +class BinLogCoordinates(typing.TypedDict, total=False): binLogFileName: str binLogPosition: str kind: str @typing.type_check_only -class CloneContext(typing_extensions.TypedDict, total=False): +class CloneContext(typing.TypedDict, total=False): allocatedIpRange: str binLogCoordinates: BinLogCoordinates databaseNames: _list[str] @@ -297,24 +287,25 @@ class CloneContext(typing_extensions.TypedDict, total=False): sourceInstanceDeletionTime: str @typing.type_check_only -class Column(typing_extensions.TypedDict, total=False): +class Column(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class ConnectPoolNodeConfig(typing_extensions.TypedDict, total=False): +class ConnectPoolNodeConfig(typing.TypedDict, total=False): dnsName: str dnsNames: _list[DnsNameMapping] ipAddresses: _list[IpMapping] name: str @typing.type_check_only -class ConnectSettings(typing_extensions.TypedDict, total=False): - backendType: typing_extensions.Literal[ +class ConnectSettings(typing.TypedDict, total=False): + backendType: typing.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] + connectionName: str customSubjectAlternativeNames: _list[str] - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -377,16 +368,14 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): ipAddresses: _list[IpMapping] kind: str mdxProtocolSupport: _list[ - typing_extensions.Literal[ - "MDX_PROTOCOL_SUPPORT_UNSPECIFIED", "CLIENT_PROTOCOL_TYPE" - ] + typing.Literal["MDX_PROTOCOL_SUPPORT_UNSPECIFIED", "CLIENT_PROTOCOL_TYPE"] ] nodeCount: int nodes: _list[ConnectPoolNodeConfig] pscEnabled: bool region: str serverCaCert: SslCert - serverCaMode: typing_extensions.Literal[ + serverCaMode: typing.Literal[ "CA_MODE_UNSPECIFIED", "GOOGLE_MANAGED_INTERNAL_CA", "GOOGLE_MANAGED_CAS_CA", @@ -394,22 +383,22 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): +class ConnectionPoolConfig(typing.TypedDict, total=False): connectionPoolingEnabled: bool flags: _list[ConnectionPoolFlags] poolerCount: int @typing.type_check_only -class ConnectionPoolFlags(typing_extensions.TypedDict, total=False): +class ConnectionPoolFlags(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class DataCacheConfig(typing_extensions.TypedDict, total=False): +class DataCacheConfig(typing.TypedDict, total=False): dataCacheEnabled: bool @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): charset: str collation: str etag: str @@ -421,21 +410,22 @@ class Database(typing_extensions.TypedDict, total=False): sqlserverDatabaseDetails: SqlServerDatabaseDetails @typing.type_check_only -class DatabaseFlags(typing_extensions.TypedDict, total=False): +class DatabaseFlags(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class DatabaseInstance(typing_extensions.TypedDict, total=False): +class DatabaseInstance(typing.TypedDict, total=False): availableMaintenanceVersions: _list[str] - backendType: typing_extensions.Literal[ + backendType: typing.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] connectionName: str createTime: str currentDiskSize: str + databaseCenterIntegrationEnabled: bool databaseInstalledVersion: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -502,7 +492,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): gceZone: str geminiConfig: GeminiInstanceConfig includeReplicasForMajorVersionUpgrade: bool - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "SQL_INSTANCE_TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE", "ON_PREMISES_INSTANCE", @@ -536,12 +526,12 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): serverCaCert: SslCert serviceAccountEmailAddress: str settings: Settings - sqlNetworkArchitecture: typing_extensions.Literal[ + sqlNetworkArchitecture: typing.Literal[ "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED", "NEW_NETWORK_ARCHITECTURE", "OLD_NETWORK_ARCHITECTURE", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", "SUSPENDED", @@ -553,7 +543,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "REPAIRING", ] suspensionReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "SQL_SUSPENSION_REASON_UNSPECIFIED", "BILLING_ISSUE", "LEGAL_ISSUE", @@ -568,22 +558,22 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): writeEndpoint: str @typing.type_check_only -class DatabasesListResponse(typing_extensions.TypedDict, total=False): +class DatabasesListResponse(typing.TypedDict, total=False): items: _list[Database] kind: str @typing.type_check_only -class DemoteContext(typing_extensions.TypedDict, total=False): +class DemoteContext(typing.TypedDict, total=False): kind: str sourceRepresentativeInstanceName: str @typing.type_check_only -class DemoteMasterConfiguration(typing_extensions.TypedDict, total=False): +class DemoteMasterConfiguration(typing.TypedDict, total=False): kind: str mysqlReplicaConfiguration: DemoteMasterMySqlReplicaConfiguration @typing.type_check_only -class DemoteMasterContext(typing_extensions.TypedDict, total=False): +class DemoteMasterContext(typing.TypedDict, total=False): kind: str masterInstanceName: str replicaConfiguration: DemoteMasterConfiguration @@ -591,7 +581,7 @@ class DemoteMasterContext(typing_extensions.TypedDict, total=False): verifyGtidConsistency: bool @typing.type_check_only -class DemoteMasterMySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): +class DemoteMasterMySqlReplicaConfiguration(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str @@ -600,58 +590,57 @@ class DemoteMasterMySqlReplicaConfiguration(typing_extensions.TypedDict, total=F username: str @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: str startDate: str time: str @typing.type_check_only -class DiskEncryptionConfiguration(typing_extensions.TypedDict, total=False): +class DiskEncryptionConfiguration(typing.TypedDict, total=False): kind: str kmsKeyName: str @typing.type_check_only -class DiskEncryptionStatus(typing_extensions.TypedDict, total=False): +class DiskEncryptionStatus(typing.TypedDict, total=False): kind: str kmsKeyVersionName: str @typing.type_check_only -class DnsNameMapping(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class DnsNameMapping(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "PUBLIC", "PRIVATE_SERVICES_ACCESS", "PRIVATE_SERVICE_CONNECT", ] - dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE", "CLUSTER"] + dnsScope: typing.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE", "CLUSTER"] name: str - recordManager: typing_extensions.Literal[ + recordManager: typing.Literal[ "RECORD_MANAGER_UNSPECIFIED", "CUSTOMER", "CLOUD_SQL_AUTOMATION" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecuteSqlPayload(typing_extensions.TypedDict, total=False): +class ExecuteSqlPayload(typing.TypedDict, total=False): application: str autoIamAuthn: bool database: str - partialResultMode: typing_extensions.Literal[ + partialResultMode: typing.Literal[ "PARTIAL_RESULT_MODE_UNSPECIFIED", "FAIL_PARTIAL_RESULT", "ALLOW_PARTIAL_RESULT" ] + passwordSecretVersion: str rowLimit: str sqlStatement: str user: str @typing.type_check_only -class ExportContext(typing_extensions.TypedDict, total=False): +class ExportContext(typing.TypedDict, total=False): bakExportOptions: dict[str, typing.Any] csvExportOptions: dict[str, typing.Any] databases: _list[str] - fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" - ] + fileType: typing.Literal["SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE"] kind: str offload: bool sqlExportOptions: dict[str, typing.Any] @@ -659,25 +648,25 @@ class ExportContext(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ExternalSyncSelectedObject(typing_extensions.TypedDict, total=False): +class ExternalSyncSelectedObject(typing.TypedDict, total=False): database: str @typing.type_check_only -class FailoverContext(typing_extensions.TypedDict, total=False): +class FailoverContext(typing.TypedDict, total=False): kind: str settingsVersion: str @typing.type_check_only -class FinalBackupConfig(typing_extensions.TypedDict, total=False): +class FinalBackupConfig(typing.TypedDict, total=False): enabled: bool retentionDays: int @typing.type_check_only -class Flag(typing_extensions.TypedDict, total=False): +class Flag(typing.TypedDict, total=False): allowedIntValues: _list[str] allowedStringValues: _list[str] appliesTo: _list[ - typing_extensions.Literal[ + typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -736,7 +725,7 @@ class Flag(typing_extensions.TypedDict, total=False): "SQLSERVER_2025_EXPRESS", ] ] - flagScope: typing_extensions.Literal[ + flagScope: typing.Literal[ "SQL_FLAG_SCOPE_UNSPECIFIED", "SQL_FLAG_SCOPE_DATABASE", "SQL_FLAG_SCOPE_CONNECTION_POOL", @@ -749,7 +738,7 @@ class Flag(typing_extensions.TypedDict, total=False): recommendedIntValue: str recommendedStringValue: str requiresRestart: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_FLAG_TYPE_UNSPECIFIED", "BOOLEAN", "STRING", @@ -761,12 +750,12 @@ class Flag(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FlagsListResponse(typing_extensions.TypedDict, total=False): +class FlagsListResponse(typing.TypedDict, total=False): items: _list[Flag] kind: str @typing.type_check_only -class GeminiInstanceConfig(typing_extensions.TypedDict, total=False): +class GeminiInstanceConfig(typing.TypedDict, total=False): activeQueryEnabled: bool entitled: bool flagRecommenderEnabled: bool @@ -775,24 +764,22 @@ class GeminiInstanceConfig(typing_extensions.TypedDict, total=False): oomSessionCancelEnabled: bool @typing.type_check_only -class GenerateEphemeralCertRequest(typing_extensions.TypedDict, total=False): +class GenerateEphemeralCertRequest(typing.TypedDict, total=False): access_token: str public_key: str readTime: str validDuration: str @typing.type_check_only -class GenerateEphemeralCertResponse(typing_extensions.TypedDict, total=False): +class GenerateEphemeralCertResponse(typing.TypedDict, total=False): ephemeralCert: SslCert @typing.type_check_only -class ImportContext(typing_extensions.TypedDict, total=False): +class ImportContext(typing.TypedDict, total=False): bakImportOptions: dict[str, typing.Any] csvImportOptions: dict[str, typing.Any] database: str - fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" - ] + fileType: typing.Literal["SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE"] importUser: str kind: str sqlImportOptions: dict[str, typing.Any] @@ -800,7 +787,7 @@ class ImportContext(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class InsightsConfig(typing_extensions.TypedDict, total=False): +class InsightsConfig(typing.TypedDict, total=False): enhancedQueryInsightsEnabled: bool queryInsightsEnabled: bool queryPlansPerMinute: int @@ -809,79 +796,75 @@ class InsightsConfig(typing_extensions.TypedDict, total=False): recordClientAddress: bool @typing.type_check_only -class InstanceReference(typing_extensions.TypedDict, total=False): +class InstanceReference(typing.TypedDict, total=False): name: str project: str region: str @typing.type_check_only -class InstancesAcquireSsrsLeaseRequest(typing_extensions.TypedDict, total=False): +class InstancesAcquireSsrsLeaseRequest(typing.TypedDict, total=False): acquireSsrsLeaseContext: AcquireSsrsLeaseContext @typing.type_check_only -class InstancesCloneRequest(typing_extensions.TypedDict, total=False): +class InstancesCloneRequest(typing.TypedDict, total=False): cloneContext: CloneContext @typing.type_check_only -class InstancesDemoteMasterRequest(typing_extensions.TypedDict, total=False): +class InstancesDemoteMasterRequest(typing.TypedDict, total=False): demoteMasterContext: DemoteMasterContext @typing.type_check_only -class InstancesDemoteRequest(typing_extensions.TypedDict, total=False): +class InstancesDemoteRequest(typing.TypedDict, total=False): demoteContext: DemoteContext @typing.type_check_only -class InstancesExportRequest(typing_extensions.TypedDict, total=False): +class InstancesExportRequest(typing.TypedDict, total=False): exportContext: ExportContext @typing.type_check_only -class InstancesFailoverRequest(typing_extensions.TypedDict, total=False): +class InstancesFailoverRequest(typing.TypedDict, total=False): failoverContext: FailoverContext @typing.type_check_only -class InstancesImportRequest(typing_extensions.TypedDict, total=False): +class InstancesImportRequest(typing.TypedDict, total=False): importContext: ImportContext @typing.type_check_only -class InstancesListEntraIdCertificatesResponse( - typing_extensions.TypedDict, total=False -): +class InstancesListEntraIdCertificatesResponse(typing.TypedDict, total=False): activeVersion: str certs: _list[SslCert] kind: str @typing.type_check_only -class InstancesListResponse(typing_extensions.TypedDict, total=False): +class InstancesListResponse(typing.TypedDict, total=False): items: _list[DatabaseInstance] kind: str nextPageToken: str warnings: _list[ApiWarning] @typing.type_check_only -class InstancesListServerCasResponse(typing_extensions.TypedDict, total=False): +class InstancesListServerCasResponse(typing.TypedDict, total=False): activeVersion: str certs: _list[SslCert] kind: str @typing.type_check_only -class InstancesListServerCertificatesResponse(typing_extensions.TypedDict, total=False): +class InstancesListServerCertificatesResponse(typing.TypedDict, total=False): activeVersion: str caCerts: _list[SslCert] kind: str serverCerts: _list[SslCert] @typing.type_check_only -class InstancesPreCheckMajorVersionUpgradeRequest( - typing_extensions.TypedDict, total=False -): +class InstancesPreCheckMajorVersionUpgradeRequest(typing.TypedDict, total=False): preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext @typing.type_check_only -class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): +class InstancesReencryptRequest(typing.TypedDict, total=False): backupReencryptionConfig: BackupReencryptionConfig @typing.type_check_only -class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): +class InstancesRestoreBackupRequest(typing.TypedDict, total=False): backup: str backupdrBackup: str restoreBackupContext: RestoreBackupContext @@ -889,30 +872,28 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): restoreInstanceSettings: DatabaseInstance @typing.type_check_only -class InstancesRotateEntraIdCertificateRequest( - typing_extensions.TypedDict, total=False -): +class InstancesRotateEntraIdCertificateRequest(typing.TypedDict, total=False): rotateEntraIdCertificateContext: RotateEntraIdCertificateContext @typing.type_check_only -class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): +class InstancesRotateServerCaRequest(typing.TypedDict, total=False): rotateServerCaContext: RotateServerCaContext @typing.type_check_only -class InstancesRotateServerCertificateRequest(typing_extensions.TypedDict, total=False): +class InstancesRotateServerCertificateRequest(typing.TypedDict, total=False): rotateServerCertificateContext: RotateServerCertificateContext @typing.type_check_only -class InstancesTruncateLogRequest(typing_extensions.TypedDict, total=False): +class InstancesTruncateLogRequest(typing.TypedDict, total=False): truncateLogContext: TruncateLogContext @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class IpConfiguration(typing_extensions.TypedDict, total=False): +class IpConfiguration(typing.TypedDict, total=False): allocatedIpRange: str authorizedNetworks: _list[AclEntry] customSubjectAlternativeNames: _list[str] @@ -921,19 +902,19 @@ class IpConfiguration(typing_extensions.TypedDict, total=False): privateNetwork: str pscConfig: PscConfig requireSsl: bool - serverCaMode: typing_extensions.Literal[ + serverCaMode: typing.Literal[ "CA_MODE_UNSPECIFIED", "GOOGLE_MANAGED_INTERNAL_CA", "GOOGLE_MANAGED_CAS_CA", "CUSTOMER_MANAGED_CAS_CA", ] serverCaPool: str - serverCertificateRotationMode: typing_extensions.Literal[ + serverCertificateRotationMode: typing.Literal[ "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", "NO_AUTOMATIC_ROTATION", "AUTOMATIC_ROTATION_DURING_MAINTENANCE", ] - sslMode: typing_extensions.Literal[ + sslMode: typing.Literal[ "SSL_MODE_UNSPECIFIED", "ALLOW_UNENCRYPTED_AND_ENCRYPTED", "ENCRYPTED_ONLY", @@ -941,10 +922,10 @@ class IpConfiguration(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IpMapping(typing_extensions.TypedDict, total=False): +class IpMapping(typing.TypedDict, total=False): ipAddress: str timeToRetire: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_IP_ADDRESS_TYPE_UNSPECIFIED", "PRIMARY", "OUTGOING", @@ -953,38 +934,38 @@ class IpMapping(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str warnings: _list[ApiWarning] @typing.type_check_only -class LocationPreference(typing_extensions.TypedDict, total=False): +class LocationPreference(typing.TypedDict, total=False): followGaeApplication: str kind: str secondaryZone: str zone: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): day: int hour: int kind: str - updateTrack: typing_extensions.Literal[ + updateTrack: typing.Literal[ "SQL_UPDATE_TRACK_UNSPECIFIED", "canary", "stable", "week5" ] @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): message: str severity: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): sqlStatementExecutionTime: str @typing.type_check_only -class MySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): +class MySqlReplicaConfiguration(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str @@ -998,27 +979,28 @@ class MySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): verifyServerCertificate: bool @typing.type_check_only -class MySqlSyncConfig(typing_extensions.TypedDict, total=False): +class MySqlSyncConfig(typing.TypedDict, total=False): initialSyncFlags: _list[SyncFlags] @typing.type_check_only -class OnPremisesConfiguration(typing_extensions.TypedDict, total=False): +class OnPremisesConfiguration(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str + dmsManaged: bool dumpFilePath: str hostPort: str kind: str password: str selectedObjects: _list[SelectedObjects] sourceInstance: InstanceReference - sslOption: typing_extensions.Literal[ + sslOption: typing.Literal[ "SSL_OPTION_UNSPECIFIED", "DISABLE", "REQUIRE", "VERIFY_CA" ] username: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): acquireSsrsLeaseContext: AcquireSsrsLeaseContext apiWarning: ApiWarning backupContext: BackupContext @@ -1029,7 +1011,7 @@ class Operation(typing_extensions.TypedDict, total=False): insertTime: str kind: str name: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "SQL_OPERATION_TYPE_UNSPECIFIED", "IMPORT", "EXPORT", @@ -1088,7 +1070,7 @@ class Operation(typing_extensions.TypedDict, total=False): preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext selfLink: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "SQL_OPERATION_STATUS_UNSPECIFIED", "PENDING", "RUNNING", "DONE" ] subOperationType: SqlSubOperationType @@ -1098,18 +1080,18 @@ class Operation(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class OperationError(typing_extensions.TypedDict, total=False): +class OperationError(typing.TypedDict, total=False): code: str kind: str message: str @typing.type_check_only -class OperationErrors(typing_extensions.TypedDict, total=False): +class OperationErrors(typing.TypedDict, total=False): errors: _list[OperationError] kind: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -1119,21 +1101,19 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OperationsListResponse(typing_extensions.TypedDict, total=False): +class OperationsListResponse(typing.TypedDict, total=False): items: _list[Operation] kind: str nextPageToken: str @typing.type_check_only -class PasswordStatus(typing_extensions.TypedDict, total=False): +class PasswordStatus(typing.TypedDict, total=False): locked: bool passwordExpirationTime: str @typing.type_check_only -class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): - complexity: typing_extensions.Literal[ - "COMPLEXITY_UNSPECIFIED", "COMPLEXITY_DEFAULT" - ] +class PasswordValidationPolicy(typing.TypedDict, total=False): + complexity: typing.Literal["COMPLEXITY_UNSPECIFIED", "COMPLEXITY_DEFAULT"] disallowCompromisedCredentials: bool disallowUsernameSubstring: bool enablePasswordPolicy: bool @@ -1142,20 +1122,32 @@ class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): reuseInterval: int @typing.type_check_only -class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): +class PerformDiskShrinkContext(typing.TypedDict, total=False): targetSizeGb: str @typing.type_check_only -class PerformanceCaptureConfig(typing_extensions.TypedDict, total=False): +class PerformanceCaptureConfig(typing.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.Literal[ + "TRANSACTION_KILL_TYPE_UNSPECIFIED", + "READ_ONLY_TRANSACTIONS", + "ALL_TRANSACTIONS", + ] + transactionLockWaitThresholdCount: int @typing.type_check_only -class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): +class PointInTimeRestoreContext(typing.TypedDict, total=False): allocatedIpRange: str datasource: str pointInTime: str @@ -1168,7 +1160,7 @@ class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): targetInstanceSettings: DatabaseInstance @typing.type_check_only -class PoolNodeConfig(typing_extensions.TypedDict, total=False): +class PoolNodeConfig(typing.TypedDict, total=False): dnsName: str dnsNames: _list[DnsNameMapping] gceZone: str @@ -1176,7 +1168,7 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): name: str pscAutoConnections: _list[PscAutoConnectionConfig] pscServiceAttachmentLink: str - state: typing_extensions.Literal[ + state: typing.Literal[ "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", "SUSPENDED", @@ -1189,10 +1181,10 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=False): +class PreCheckMajorVersionUpgradeContext(typing.TypedDict, total=False): kind: str preCheckResponse: _list[PreCheckResponse] - targetDatabaseVersion: typing_extensions.Literal[ + targetDatabaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -1252,25 +1244,35 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class PreCheckResponse(typing_extensions.TypedDict, total=False): +class PreCheckResponse(typing.TypedDict, total=False): actionsRequired: _list[str] message: str - messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "INFO", "WARNING", "ERROR" - ] + messageType: typing.Literal["MESSAGE_TYPE_UNSPECIFIED", "INFO", "WARNING", "ERROR"] @typing.type_check_only -class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): +class PscAutoConnectionConfig(typing.TypedDict, total=False): consumerNetwork: str consumerNetworkStatus: str consumerProject: str + instanceAutoDnsStatus: typing.Literal[ + "AUTO_DNS_STATUS_UNSPECIFIED", + "AUTO_DNS_OK", + "AUTO_DNS_FAILED", + "AUTO_DNS_UNKNOWN", + ] ipAddress: str serviceConnectionPolicy: str serviceConnectionPolicyCreationResult: str status: str + writeEndpointAutoDnsStatus: typing.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): +class PscConfig(typing.TypedDict, total=False): allowedConsumerProjects: _list[str] networkAttachmentUri: str pscAutoConnectionPolicyEnabled: bool @@ -1280,7 +1282,7 @@ class PscConfig(typing_extensions.TypedDict, total=False): pscWriteEndpointDnsEnabled: bool @typing.type_check_only -class QueryResult(typing_extensions.TypedDict, total=False): +class QueryResult(typing.TypedDict, total=False): columns: _list[Column] message: str partialResult: bool @@ -1288,7 +1290,7 @@ class QueryResult(typing_extensions.TypedDict, total=False): status: Status @typing.type_check_only -class ReadPoolAutoScaleConfig(typing_extensions.TypedDict, total=False): +class ReadPoolAutoScaleConfig(typing.TypedDict, total=False): disableScaleIn: bool enabled: bool maxNodeCount: int @@ -1298,21 +1300,21 @@ class ReadPoolAutoScaleConfig(typing_extensions.TypedDict, total=False): targetMetrics: _list[TargetMetric] @typing.type_check_only -class ReplicaConfiguration(typing_extensions.TypedDict, total=False): +class ReplicaConfiguration(typing.TypedDict, total=False): cascadableReplica: bool failoverTarget: bool kind: str mysqlReplicaConfiguration: MySqlReplicaConfiguration @typing.type_check_only -class ReplicationCluster(typing_extensions.TypedDict, total=False): +class ReplicationCluster(typing.TypedDict, total=False): drReplica: bool failoverDrReplicaName: str psaWriteEndpoint: str @typing.type_check_only -class Reschedule(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class Reschedule(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", @@ -1321,63 +1323,63 @@ class Reschedule(typing_extensions.TypedDict, total=False): scheduleTime: str @typing.type_check_only -class RestoreBackupContext(typing_extensions.TypedDict, total=False): +class RestoreBackupContext(typing.TypedDict, total=False): backupRunId: str instanceId: str kind: str project: str @typing.type_check_only -class RotateEntraIdCertificateContext(typing_extensions.TypedDict, total=False): +class RotateEntraIdCertificateContext(typing.TypedDict, total=False): kind: str nextVersion: str @typing.type_check_only -class RotateServerCaContext(typing_extensions.TypedDict, total=False): +class RotateServerCaContext(typing.TypedDict, total=False): kind: str nextVersion: str @typing.type_check_only -class RotateServerCertificateContext(typing_extensions.TypedDict, total=False): +class RotateServerCertificateContext(typing.TypedDict, total=False): kind: str nextVersion: str @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): values: _list[Value] @typing.type_check_only -class SelectedObjects(typing_extensions.TypedDict, total=False): +class SelectedObjects(typing.TypedDict, total=False): database: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): acceleratedReplicaMode: bool - activationPolicy: typing_extensions.Literal[ + activationPolicy: typing.Literal[ "SQL_ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER", "ON_DEMAND" ] activeDirectoryConfig: SqlActiveDirectoryConfig advancedMachineFeatures: AdvancedMachineFeatures authorizedGaeApplications: _list[str] autoUpgradeEnabled: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "SQL_AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] backupConfiguration: BackupConfiguration collation: str connectionPoolConfig: ConnectionPoolConfig - connectorEnforcement: typing_extensions.Literal[ + connectorEnforcement: typing.Literal[ "CONNECTOR_ENFORCEMENT_UNSPECIFIED", "NOT_REQUIRED", "REQUIRED" ] crashSafeReplicationEnabled: bool - dataApiAccess: typing_extensions.Literal[ + dataApiAccess: typing.Literal[ "DATA_API_ACCESS_UNSPECIFIED", "DISALLOW_DATA_API", "ALLOW_DATA_API" ] dataCacheConfig: DataCacheConfig dataDiskProvisionedIops: str dataDiskProvisionedThroughput: str dataDiskSizeGb: str - dataDiskType: typing_extensions.Literal[ + dataDiskType: typing.Literal[ "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD", @@ -1388,7 +1390,7 @@ class Settings(typing_extensions.TypedDict, total=False): databaseReplicationEnabled: bool deletionProtectionEnabled: bool denyMaintenancePeriods: _list[DenyMaintenancePeriod] - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS", "DEVELOPER" ] enableDataplexIntegration: bool @@ -1402,12 +1404,10 @@ class Settings(typing_extensions.TypedDict, total=False): maintenanceWindow: MaintenanceWindow passwordValidationPolicy: PasswordValidationPolicy performanceCaptureConfig: PerformanceCaptureConfig - pricingPlan: typing_extensions.Literal[ - "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" - ] + pricingPlan: typing.Literal["SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE"] readPoolAutoScaleConfig: ReadPoolAutoScaleConfig replicationLagMaxSeconds: int - replicationType: typing_extensions.Literal[ + replicationType: typing.Literal[ "SQL_REPLICATION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] retainBackupsOnDelete: bool @@ -1420,12 +1420,12 @@ class Settings(typing_extensions.TypedDict, total=False): userLabels: dict[str, typing.Any] @typing.type_check_only -class SqlActiveDirectoryConfig(typing_extensions.TypedDict, total=False): +class SqlActiveDirectoryConfig(typing.TypedDict, total=False): adminCredentialSecretName: str dnsServers: _list[str] domain: str kind: str - mode: typing_extensions.Literal[ + mode: typing.Literal[ "ACTIVE_DIRECTORY_MODE_UNSPECIFIED", "MANAGED_ACTIVE_DIRECTORY", "SELF_MANAGED_ACTIVE_DIRECTORY", @@ -1434,10 +1434,10 @@ class SqlActiveDirectoryConfig(typing_extensions.TypedDict, total=False): organizationalUnit: str @typing.type_check_only -class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): +class SqlExternalSyncSettingError(typing.TypedDict, total=False): detail: str kind: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED", "CONNECTION_FAILURE", "BINLOG_NOT_ENABLED", @@ -1500,124 +1500,108 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SqlInstancesAcquireSsrsLeaseResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesAcquireSsrsLeaseResponse(typing.TypedDict, total=False): operationId: str @typing.type_check_only -class SqlInstancesExecuteSqlResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesExecuteSqlResponse(typing.TypedDict, total=False): messages: _list[Message] metadata: Metadata results: _list[QueryResult] status: Status @typing.type_check_only -class SqlInstancesGetDiskShrinkConfigResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesGetDiskShrinkConfigResponse(typing.TypedDict, total=False): kind: str message: str minimalTargetSizeGb: str @typing.type_check_only -class SqlInstancesGetLatestRecoveryTimeResponse( - typing_extensions.TypedDict, total=False -): +class SqlInstancesGetLatestRecoveryTimeResponse(typing.TypedDict, total=False): earliestRecoveryTime: str kind: str latestRecoveryTime: str @typing.type_check_only -class SqlInstancesReleaseSsrsLeaseResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesReleaseSsrsLeaseResponse(typing.TypedDict, total=False): operationId: str @typing.type_check_only -class SqlInstancesRescheduleMaintenanceRequestBody( - typing_extensions.TypedDict, total=False -): +class SqlInstancesRescheduleMaintenanceRequestBody(typing.TypedDict, total=False): reschedule: Reschedule @typing.type_check_only -class SqlInstancesResetReplicaSizeRequest(typing_extensions.TypedDict, total=False): ... +class SqlInstancesResetReplicaSizeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SqlInstancesStartExternalSyncRequest(typing_extensions.TypedDict, total=False): - migrationType: typing_extensions.Literal[ - "MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL" - ] +class SqlInstancesStartExternalSyncRequest(typing.TypedDict, total=False): + migrationType: typing.Literal["MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL"] mysqlSyncConfig: MySqlSyncConfig replicaOverwriteEnabled: bool skipVerification: bool - syncMode: typing_extensions.Literal[ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE" - ] - syncParallelLevel: typing_extensions.Literal[ + syncMode: typing.Literal["EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE"] + syncParallelLevel: typing.Literal[ "EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", "MIN", "OPTIMAL", "MAX" ] @typing.type_check_only -class SqlInstancesVerifyExternalSyncSettingsRequest( - typing_extensions.TypedDict, total=False -): - migrationType: typing_extensions.Literal[ - "MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL" - ] +class SqlInstancesVerifyExternalSyncSettingsRequest(typing.TypedDict, total=False): + migrationType: typing.Literal["MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL"] mysqlSyncConfig: MySqlSyncConfig selectedObjects: _list[ExternalSyncSelectedObject] - syncMode: typing_extensions.Literal[ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE" - ] - syncParallelLevel: typing_extensions.Literal[ + syncMode: typing.Literal["EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE"] + syncParallelLevel: typing.Literal[ "EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", "MIN", "OPTIMAL", "MAX" ] verifyConnectionOnly: bool verifyReplicationOnly: bool @typing.type_check_only -class SqlInstancesVerifyExternalSyncSettingsResponse( - typing_extensions.TypedDict, total=False -): +class SqlInstancesVerifyExternalSyncSettingsResponse(typing.TypedDict, total=False): errors: _list[SqlExternalSyncSettingError] kind: str warnings: _list[SqlExternalSyncSettingError] @typing.type_check_only -class SqlOutOfDiskReport(typing_extensions.TypedDict, total=False): +class SqlOutOfDiskReport(typing.TypedDict, total=False): sqlMinRecommendedIncreaseSizeGb: int - sqlOutOfDiskState: typing_extensions.Literal[ + sqlOutOfDiskState: typing.Literal[ "SQL_OUT_OF_DISK_STATE_UNSPECIFIED", "NORMAL", "SOFT_SHUTDOWN" ] @typing.type_check_only -class SqlScheduledMaintenance(typing_extensions.TypedDict, total=False): +class SqlScheduledMaintenance(typing.TypedDict, total=False): canDefer: bool canReschedule: bool scheduleDeadlineTime: str startTime: str @typing.type_check_only -class SqlServerAuditConfig(typing_extensions.TypedDict, total=False): +class SqlServerAuditConfig(typing.TypedDict, total=False): bucket: str kind: str retentionInterval: str uploadInterval: str @typing.type_check_only -class SqlServerDatabaseDetails(typing_extensions.TypedDict, total=False): +class SqlServerDatabaseDetails(typing.TypedDict, total=False): compatibilityLevel: int recoveryModel: str @typing.type_check_only -class SqlServerEntraIdConfig(typing_extensions.TypedDict, total=False): +class SqlServerEntraIdConfig(typing.TypedDict, total=False): applicationId: str kind: str tenantId: str @typing.type_check_only -class SqlServerUserDetails(typing_extensions.TypedDict, total=False): +class SqlServerUserDetails(typing.TypedDict, total=False): disabled: bool serverRoles: _list[str] @typing.type_check_only -class SqlSubOperationType(typing_extensions.TypedDict, total=False): - maintenanceType: typing_extensions.Literal[ +class SqlSubOperationType(typing.TypedDict, total=False): + maintenanceType: typing.Literal[ "SQL_MAINTENANCE_TYPE_UNSPECIFIED", "INSTANCE_MAINTENANCE", "REPLICA_INCLUDED_MAINTENANCE", @@ -1626,7 +1610,7 @@ class SqlSubOperationType(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SslCert(typing_extensions.TypedDict, total=False): +class SslCert(typing.TypedDict, total=False): cert: str certSerialNumber: str commonName: str @@ -1638,49 +1622,49 @@ class SslCert(typing_extensions.TypedDict, total=False): sha1Fingerprint: str @typing.type_check_only -class SslCertDetail(typing_extensions.TypedDict, total=False): +class SslCertDetail(typing.TypedDict, total=False): certInfo: SslCert certPrivateKey: str @typing.type_check_only -class SslCertsCreateEphemeralRequest(typing_extensions.TypedDict, total=False): +class SslCertsCreateEphemeralRequest(typing.TypedDict, total=False): access_token: str public_key: str @typing.type_check_only -class SslCertsInsertRequest(typing_extensions.TypedDict, total=False): +class SslCertsInsertRequest(typing.TypedDict, total=False): commonName: str @typing.type_check_only -class SslCertsInsertResponse(typing_extensions.TypedDict, total=False): +class SslCertsInsertResponse(typing.TypedDict, total=False): clientCert: SslCertDetail kind: str operation: Operation serverCaCert: SslCert @typing.type_check_only -class SslCertsListResponse(typing_extensions.TypedDict, total=False): +class SslCertsListResponse(typing.TypedDict, total=False): items: _list[SslCert] kind: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SyncFlags(typing_extensions.TypedDict, total=False): +class SyncFlags(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class TargetMetric(typing_extensions.TypedDict, total=False): +class TargetMetric(typing.TypedDict, total=False): metric: str targetValue: float @typing.type_check_only -class Tier(typing_extensions.TypedDict, total=False): +class Tier(typing.TypedDict, total=False): DiskQuota: str RAM: str kind: str @@ -1688,19 +1672,19 @@ class Tier(typing_extensions.TypedDict, total=False): tier: str @typing.type_check_only -class TiersListResponse(typing_extensions.TypedDict, total=False): +class TiersListResponse(typing.TypedDict, total=False): items: _list[Tier] kind: str @typing.type_check_only -class TruncateLogContext(typing_extensions.TypedDict, total=False): +class TruncateLogContext(typing.TypedDict, total=False): kind: str logType: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): databaseRoles: _list[str] - dualPasswordType: typing_extensions.Literal[ + dualPasswordType: typing.Literal[ "DUAL_PASSWORD_TYPE_UNSPECIFIED", "NO_MODIFY_DUAL_PASSWORD", "NO_DUAL_PASSWORD", @@ -1709,15 +1693,16 @@ class User(typing_extensions.TypedDict, total=False): etag: str host: str iamEmail: str - iamStatus: typing_extensions.Literal["IAM_STATUS_UNSPECIFIED", "INACTIVE", "ACTIVE"] + iamStatus: typing.Literal["IAM_STATUS_UNSPECIFIED", "INACTIVE", "ACTIVE"] instance: str kind: str name: str password: str passwordPolicy: UserPasswordValidationPolicy project: str + serverRoles: _list[str] sqlserverUserDetails: SqlServerUserDetails - type: typing_extensions.Literal[ + type: typing.Literal[ "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", @@ -1729,7 +1714,7 @@ class User(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UserPasswordValidationPolicy(typing_extensions.TypedDict, total=False): +class UserPasswordValidationPolicy(typing.TypedDict, total=False): allowedFailedAttempts: int enableFailedAttemptsCheck: bool enablePasswordVerification: bool @@ -1737,12 +1722,12 @@ class UserPasswordValidationPolicy(typing_extensions.TypedDict, total=False): status: PasswordStatus @typing.type_check_only -class UsersListResponse(typing_extensions.TypedDict, total=False): +class UsersListResponse(typing.TypedDict, total=False): items: _list[User] kind: str nextPageToken: str @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): nullValue: bool value: str diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi index b28f9c26e..44b92f4cb 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -92,7 +91,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 @@ -134,7 +133,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): self, *, databaseVersion: str | None = ..., - flagScope: typing_extensions.Literal[ + flagScope: typing.Literal[ "SQL_FLAG_SCOPE_UNSPECIFIED", "SQL_FLAG_SCOPE_DATABASE", "SQL_FLAG_SCOPE_CONNECTION_POOL", @@ -280,6 +279,8 @@ class SQLAdminResource(googleapiclient.discovery.Resource): project: str, instance: str, body: DatabaseInstance, + reconcilePscNetworking: bool | None = ..., + reconcilePscNetworkingForce: bool | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def pointInTimeRestore( @@ -317,7 +318,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): *, project: str, instance: str, - mode: typing_extensions.Literal[ + mode: typing.Literal[ "RESET_SSL_MODE_UNSPECIFIED", "ALL", "SYNC_FROM_PRIMARY" ] | None = ..., @@ -376,16 +377,27 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( - self, *, project: str, operation: str, **kwargs: typing.Any + self, + *, + project: str, + operation: str, + location: str | None = ..., + **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def get( - self, *, project: str, operation: str, **kwargs: typing.Any + self, + *, + project: str, + operation: str, + location: str | None = ..., + **kwargs: typing.Any, ) -> OperationHttpRequest: ... def list( self, *, project: str, instance: str | None = ..., + location: str | None = ..., maxResults: int | None = ..., pageToken: str | None = ..., **kwargs: typing.Any, @@ -534,6 +546,8 @@ class SQLAdminResource(googleapiclient.discovery.Resource): host: str | None = ..., name: str | None = ..., revokeExistingRoles: bool | None = ..., + revokeExistingServerRoles: bool | None = ..., + serverRoles: str | _list[str] | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi index fe6afd513..5f5919ada 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -1,30 +1,28 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AclEntry(typing_extensions.TypedDict, total=False): +class AclEntry(typing.TypedDict, total=False): expirationTime: str kind: str name: str value: str @typing.type_check_only -class AcquireSsrsLeaseContext(typing_extensions.TypedDict, total=False): +class AcquireSsrsLeaseContext(typing.TypedDict, total=False): duration: str reportDatabase: str serviceLogin: str setupLogin: str @typing.type_check_only -class AdvancedMachineFeatures(typing_extensions.TypedDict, total=False): +class AdvancedMachineFeatures(typing.TypedDict, total=False): threadsPerCore: int @typing.type_check_only -class ApiWarning(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ApiWarning(typing.TypedDict, total=False): + code: typing.Literal[ "SQL_API_WARNING_CODE_UNSPECIFIED", "REGION_UNREACHABLE", "MAX_RESULTS_EXCEEDS_LIMIT", @@ -35,19 +33,17 @@ class ApiWarning(typing_extensions.TypedDict, total=False): region: str @typing.type_check_only -class AvailableDatabaseVersion(typing_extensions.TypedDict, total=False): +class AvailableDatabaseVersion(typing.TypedDict, total=False): displayName: str majorVersion: str name: str @typing.type_check_only -class Backup(typing_extensions.TypedDict, total=False): +class Backup(typing.TypedDict, total=False): backupInterval: Interval - backupKind: typing_extensions.Literal[ - "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" - ] + backupKind: typing.Literal["SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL"] backupRun: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -120,7 +116,7 @@ class Backup(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool selfLink: str - state: typing_extensions.Literal[ + state: typing.Literal[ "SQL_BACKUP_STATE_UNSPECIFIED", "ENQUEUED", "RUNNING", @@ -131,14 +127,14 @@ class Backup(typing_extensions.TypedDict, total=False): ] timeZone: str ttlDays: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND", "FINAL" ] @typing.type_check_only -class BackupConfiguration(typing_extensions.TypedDict, total=False): +class BackupConfiguration(typing.TypedDict, total=False): backupRetentionSettings: BackupRetentionSettings - backupTier: typing_extensions.Literal[ + backupTier: typing.Literal[ "BACKUP_TIER_UNSPECIFIED", "STANDARD", "ADVANCED", "ENHANCED" ] binaryLogEnabled: bool @@ -149,7 +145,7 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): replicationLogArchivingEnabled: bool startTime: str transactionLogRetentionDays: int - transactionalLogStorageState: typing_extensions.Literal[ + transactionalLogStorageState: typing.Literal[ "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED", "DISK", "SWITCHING_TO_CLOUD_STORAGE", @@ -158,29 +154,25 @@ class BackupConfiguration(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BackupContext(typing_extensions.TypedDict, total=False): +class BackupContext(typing.TypedDict, total=False): backupId: str kind: str name: str @typing.type_check_only -class BackupReencryptionConfig(typing_extensions.TypedDict, total=False): +class BackupReencryptionConfig(typing.TypedDict, total=False): backupLimit: int - backupType: typing_extensions.Literal[ - "BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND" - ] + backupType: typing.Literal["BACKUP_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND"] @typing.type_check_only -class BackupRetentionSettings(typing_extensions.TypedDict, total=False): +class BackupRetentionSettings(typing.TypedDict, total=False): retainedBackups: int - retentionUnit: typing_extensions.Literal["RETENTION_UNIT_UNSPECIFIED", "COUNT"] + retentionUnit: typing.Literal["RETENTION_UNIT_UNSPECIFIED", "COUNT"] @typing.type_check_only -class BackupRun(typing_extensions.TypedDict, total=False): - backupKind: typing_extensions.Literal[ - "SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL" - ] - databaseVersion: typing_extensions.Literal[ +class BackupRun(typing.TypedDict, total=False): + backupKind: typing.Literal["SQL_BACKUP_KIND_UNSPECIFIED", "SNAPSHOT", "PHYSICAL"] + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -251,7 +243,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): maxChargeableBytes: str selfLink: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "SQL_BACKUP_RUN_STATUS_UNSPECIFIED", "ENQUEUED", "OVERDUE", @@ -264,25 +256,23 @@ class BackupRun(typing_extensions.TypedDict, total=False): "DELETED", ] timeZone: str - type: typing_extensions.Literal[ - "SQL_BACKUP_RUN_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND" - ] + type: typing.Literal["SQL_BACKUP_RUN_TYPE_UNSPECIFIED", "AUTOMATED", "ON_DEMAND"] windowStartTime: str @typing.type_check_only -class BackupRunsListResponse(typing_extensions.TypedDict, total=False): +class BackupRunsListResponse(typing.TypedDict, total=False): items: _list[BackupRun] kind: str nextPageToken: str @typing.type_check_only -class BinLogCoordinates(typing_extensions.TypedDict, total=False): +class BinLogCoordinates(typing.TypedDict, total=False): binLogFileName: str binLogPosition: str kind: str @typing.type_check_only -class CloneContext(typing_extensions.TypedDict, total=False): +class CloneContext(typing.TypedDict, total=False): allocatedIpRange: str binLogCoordinates: BinLogCoordinates databaseNames: _list[str] @@ -297,24 +287,25 @@ class CloneContext(typing_extensions.TypedDict, total=False): sourceInstanceDeletionTime: str @typing.type_check_only -class Column(typing_extensions.TypedDict, total=False): +class Column(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class ConnectPoolNodeConfig(typing_extensions.TypedDict, total=False): +class ConnectPoolNodeConfig(typing.TypedDict, total=False): dnsName: str dnsNames: _list[DnsNameMapping] ipAddresses: _list[IpMapping] name: str @typing.type_check_only -class ConnectSettings(typing_extensions.TypedDict, total=False): - backendType: typing_extensions.Literal[ +class ConnectSettings(typing.TypedDict, total=False): + backendType: typing.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] + connectionName: str customSubjectAlternativeNames: _list[str] - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -377,16 +368,14 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): ipAddresses: _list[IpMapping] kind: str mdxProtocolSupport: _list[ - typing_extensions.Literal[ - "MDX_PROTOCOL_SUPPORT_UNSPECIFIED", "CLIENT_PROTOCOL_TYPE" - ] + typing.Literal["MDX_PROTOCOL_SUPPORT_UNSPECIFIED", "CLIENT_PROTOCOL_TYPE"] ] nodeCount: int nodes: _list[ConnectPoolNodeConfig] pscEnabled: bool region: str serverCaCert: SslCert - serverCaMode: typing_extensions.Literal[ + serverCaMode: typing.Literal[ "CA_MODE_UNSPECIFIED", "GOOGLE_MANAGED_INTERNAL_CA", "GOOGLE_MANAGED_CAS_CA", @@ -394,22 +383,22 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): +class ConnectionPoolConfig(typing.TypedDict, total=False): connectionPoolingEnabled: bool flags: _list[ConnectionPoolFlags] poolerCount: int @typing.type_check_only -class ConnectionPoolFlags(typing_extensions.TypedDict, total=False): +class ConnectionPoolFlags(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class DataCacheConfig(typing_extensions.TypedDict, total=False): +class DataCacheConfig(typing.TypedDict, total=False): dataCacheEnabled: bool @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): charset: str collation: str etag: str @@ -421,21 +410,22 @@ class Database(typing_extensions.TypedDict, total=False): sqlserverDatabaseDetails: SqlServerDatabaseDetails @typing.type_check_only -class DatabaseFlags(typing_extensions.TypedDict, total=False): +class DatabaseFlags(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class DatabaseInstance(typing_extensions.TypedDict, total=False): +class DatabaseInstance(typing.TypedDict, total=False): availableMaintenanceVersions: _list[str] - backendType: typing_extensions.Literal[ + backendType: typing.Literal[ "SQL_BACKEND_TYPE_UNSPECIFIED", "FIRST_GEN", "SECOND_GEN", "EXTERNAL" ] connectionName: str createTime: str currentDiskSize: str + databaseCenterIntegrationEnabled: bool databaseInstalledVersion: str - databaseVersion: typing_extensions.Literal[ + databaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -502,7 +492,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): gceZone: str geminiConfig: GeminiInstanceConfig includeReplicasForMajorVersionUpgrade: bool - instanceType: typing_extensions.Literal[ + instanceType: typing.Literal[ "SQL_INSTANCE_TYPE_UNSPECIFIED", "CLOUD_SQL_INSTANCE", "ON_PREMISES_INSTANCE", @@ -536,12 +526,12 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): serverCaCert: SslCert serviceAccountEmailAddress: str settings: Settings - sqlNetworkArchitecture: typing_extensions.Literal[ + sqlNetworkArchitecture: typing.Literal[ "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED", "NEW_NETWORK_ARCHITECTURE", "OLD_NETWORK_ARCHITECTURE", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", "SUSPENDED", @@ -553,7 +543,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "REPAIRING", ] suspensionReason: _list[ - typing_extensions.Literal[ + typing.Literal[ "SQL_SUSPENSION_REASON_UNSPECIFIED", "BILLING_ISSUE", "LEGAL_ISSUE", @@ -568,22 +558,22 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): writeEndpoint: str @typing.type_check_only -class DatabasesListResponse(typing_extensions.TypedDict, total=False): +class DatabasesListResponse(typing.TypedDict, total=False): items: _list[Database] kind: str @typing.type_check_only -class DemoteContext(typing_extensions.TypedDict, total=False): +class DemoteContext(typing.TypedDict, total=False): kind: str sourceRepresentativeInstanceName: str @typing.type_check_only -class DemoteMasterConfiguration(typing_extensions.TypedDict, total=False): +class DemoteMasterConfiguration(typing.TypedDict, total=False): kind: str mysqlReplicaConfiguration: DemoteMasterMySqlReplicaConfiguration @typing.type_check_only -class DemoteMasterContext(typing_extensions.TypedDict, total=False): +class DemoteMasterContext(typing.TypedDict, total=False): kind: str masterInstanceName: str replicaConfiguration: DemoteMasterConfiguration @@ -591,7 +581,7 @@ class DemoteMasterContext(typing_extensions.TypedDict, total=False): verifyGtidConsistency: bool @typing.type_check_only -class DemoteMasterMySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): +class DemoteMasterMySqlReplicaConfiguration(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str @@ -600,58 +590,57 @@ class DemoteMasterMySqlReplicaConfiguration(typing_extensions.TypedDict, total=F username: str @typing.type_check_only -class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): +class DenyMaintenancePeriod(typing.TypedDict, total=False): endDate: str startDate: str time: str @typing.type_check_only -class DiskEncryptionConfiguration(typing_extensions.TypedDict, total=False): +class DiskEncryptionConfiguration(typing.TypedDict, total=False): kind: str kmsKeyName: str @typing.type_check_only -class DiskEncryptionStatus(typing_extensions.TypedDict, total=False): +class DiskEncryptionStatus(typing.TypedDict, total=False): kind: str kmsKeyVersionName: str @typing.type_check_only -class DnsNameMapping(typing_extensions.TypedDict, total=False): - connectionType: typing_extensions.Literal[ +class DnsNameMapping(typing.TypedDict, total=False): + connectionType: typing.Literal[ "CONNECTION_TYPE_UNSPECIFIED", "PUBLIC", "PRIVATE_SERVICES_ACCESS", "PRIVATE_SERVICE_CONNECT", ] - dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE", "CLUSTER"] + dnsScope: typing.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE", "CLUSTER"] name: str - recordManager: typing_extensions.Literal[ + recordManager: typing.Literal[ "RECORD_MANAGER_UNSPECIFIED", "CUSTOMER", "CLOUD_SQL_AUTOMATION" ] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ExecuteSqlPayload(typing_extensions.TypedDict, total=False): +class ExecuteSqlPayload(typing.TypedDict, total=False): application: str autoIamAuthn: bool database: str - partialResultMode: typing_extensions.Literal[ + partialResultMode: typing.Literal[ "PARTIAL_RESULT_MODE_UNSPECIFIED", "FAIL_PARTIAL_RESULT", "ALLOW_PARTIAL_RESULT" ] + passwordSecretVersion: str rowLimit: str sqlStatement: str user: str @typing.type_check_only -class ExportContext(typing_extensions.TypedDict, total=False): +class ExportContext(typing.TypedDict, total=False): bakExportOptions: dict[str, typing.Any] csvExportOptions: dict[str, typing.Any] databases: _list[str] - fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" - ] + fileType: typing.Literal["SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE"] kind: str offload: bool sqlExportOptions: dict[str, typing.Any] @@ -659,25 +648,25 @@ class ExportContext(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ExternalSyncSelectedObject(typing_extensions.TypedDict, total=False): +class ExternalSyncSelectedObject(typing.TypedDict, total=False): database: str @typing.type_check_only -class FailoverContext(typing_extensions.TypedDict, total=False): +class FailoverContext(typing.TypedDict, total=False): kind: str settingsVersion: str @typing.type_check_only -class FinalBackupConfig(typing_extensions.TypedDict, total=False): +class FinalBackupConfig(typing.TypedDict, total=False): enabled: bool retentionDays: int @typing.type_check_only -class Flag(typing_extensions.TypedDict, total=False): +class Flag(typing.TypedDict, total=False): allowedIntValues: _list[str] allowedStringValues: _list[str] appliesTo: _list[ - typing_extensions.Literal[ + typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -736,7 +725,7 @@ class Flag(typing_extensions.TypedDict, total=False): "SQLSERVER_2025_EXPRESS", ] ] - flagScope: typing_extensions.Literal[ + flagScope: typing.Literal[ "SQL_FLAG_SCOPE_UNSPECIFIED", "SQL_FLAG_SCOPE_DATABASE", "SQL_FLAG_SCOPE_CONNECTION_POOL", @@ -749,7 +738,7 @@ class Flag(typing_extensions.TypedDict, total=False): recommendedIntValue: str recommendedStringValue: str requiresRestart: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_FLAG_TYPE_UNSPECIFIED", "BOOLEAN", "STRING", @@ -761,12 +750,12 @@ class Flag(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FlagsListResponse(typing_extensions.TypedDict, total=False): +class FlagsListResponse(typing.TypedDict, total=False): items: _list[Flag] kind: str @typing.type_check_only -class GeminiInstanceConfig(typing_extensions.TypedDict, total=False): +class GeminiInstanceConfig(typing.TypedDict, total=False): activeQueryEnabled: bool entitled: bool flagRecommenderEnabled: bool @@ -775,24 +764,22 @@ class GeminiInstanceConfig(typing_extensions.TypedDict, total=False): oomSessionCancelEnabled: bool @typing.type_check_only -class GenerateEphemeralCertRequest(typing_extensions.TypedDict, total=False): +class GenerateEphemeralCertRequest(typing.TypedDict, total=False): access_token: str public_key: str readTime: str validDuration: str @typing.type_check_only -class GenerateEphemeralCertResponse(typing_extensions.TypedDict, total=False): +class GenerateEphemeralCertResponse(typing.TypedDict, total=False): ephemeralCert: SslCert @typing.type_check_only -class ImportContext(typing_extensions.TypedDict, total=False): +class ImportContext(typing.TypedDict, total=False): bakImportOptions: dict[str, typing.Any] csvImportOptions: dict[str, typing.Any] database: str - fileType: typing_extensions.Literal[ - "SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE" - ] + fileType: typing.Literal["SQL_FILE_TYPE_UNSPECIFIED", "SQL", "CSV", "BAK", "TDE"] importUser: str kind: str sqlImportOptions: dict[str, typing.Any] @@ -800,7 +787,7 @@ class ImportContext(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class InsightsConfig(typing_extensions.TypedDict, total=False): +class InsightsConfig(typing.TypedDict, total=False): enhancedQueryInsightsEnabled: bool queryInsightsEnabled: bool queryPlansPerMinute: int @@ -809,79 +796,75 @@ class InsightsConfig(typing_extensions.TypedDict, total=False): recordClientAddress: bool @typing.type_check_only -class InstanceReference(typing_extensions.TypedDict, total=False): +class InstanceReference(typing.TypedDict, total=False): name: str project: str region: str @typing.type_check_only -class InstancesAcquireSsrsLeaseRequest(typing_extensions.TypedDict, total=False): +class InstancesAcquireSsrsLeaseRequest(typing.TypedDict, total=False): acquireSsrsLeaseContext: AcquireSsrsLeaseContext @typing.type_check_only -class InstancesCloneRequest(typing_extensions.TypedDict, total=False): +class InstancesCloneRequest(typing.TypedDict, total=False): cloneContext: CloneContext @typing.type_check_only -class InstancesDemoteMasterRequest(typing_extensions.TypedDict, total=False): +class InstancesDemoteMasterRequest(typing.TypedDict, total=False): demoteMasterContext: DemoteMasterContext @typing.type_check_only -class InstancesDemoteRequest(typing_extensions.TypedDict, total=False): +class InstancesDemoteRequest(typing.TypedDict, total=False): demoteContext: DemoteContext @typing.type_check_only -class InstancesExportRequest(typing_extensions.TypedDict, total=False): +class InstancesExportRequest(typing.TypedDict, total=False): exportContext: ExportContext @typing.type_check_only -class InstancesFailoverRequest(typing_extensions.TypedDict, total=False): +class InstancesFailoverRequest(typing.TypedDict, total=False): failoverContext: FailoverContext @typing.type_check_only -class InstancesImportRequest(typing_extensions.TypedDict, total=False): +class InstancesImportRequest(typing.TypedDict, total=False): importContext: ImportContext @typing.type_check_only -class InstancesListEntraIdCertificatesResponse( - typing_extensions.TypedDict, total=False -): +class InstancesListEntraIdCertificatesResponse(typing.TypedDict, total=False): activeVersion: str certs: _list[SslCert] kind: str @typing.type_check_only -class InstancesListResponse(typing_extensions.TypedDict, total=False): +class InstancesListResponse(typing.TypedDict, total=False): items: _list[DatabaseInstance] kind: str nextPageToken: str warnings: _list[ApiWarning] @typing.type_check_only -class InstancesListServerCasResponse(typing_extensions.TypedDict, total=False): +class InstancesListServerCasResponse(typing.TypedDict, total=False): activeVersion: str certs: _list[SslCert] kind: str @typing.type_check_only -class InstancesListServerCertificatesResponse(typing_extensions.TypedDict, total=False): +class InstancesListServerCertificatesResponse(typing.TypedDict, total=False): activeVersion: str caCerts: _list[SslCert] kind: str serverCerts: _list[SslCert] @typing.type_check_only -class InstancesPreCheckMajorVersionUpgradeRequest( - typing_extensions.TypedDict, total=False -): +class InstancesPreCheckMajorVersionUpgradeRequest(typing.TypedDict, total=False): preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext @typing.type_check_only -class InstancesReencryptRequest(typing_extensions.TypedDict, total=False): +class InstancesReencryptRequest(typing.TypedDict, total=False): backupReencryptionConfig: BackupReencryptionConfig @typing.type_check_only -class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): +class InstancesRestoreBackupRequest(typing.TypedDict, total=False): backup: str backupdrBackup: str restoreBackupContext: RestoreBackupContext @@ -889,30 +872,28 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): restoreInstanceSettings: DatabaseInstance @typing.type_check_only -class InstancesRotateEntraIdCertificateRequest( - typing_extensions.TypedDict, total=False -): +class InstancesRotateEntraIdCertificateRequest(typing.TypedDict, total=False): rotateEntraIdCertificateContext: RotateEntraIdCertificateContext @typing.type_check_only -class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): +class InstancesRotateServerCaRequest(typing.TypedDict, total=False): rotateServerCaContext: RotateServerCaContext @typing.type_check_only -class InstancesRotateServerCertificateRequest(typing_extensions.TypedDict, total=False): +class InstancesRotateServerCertificateRequest(typing.TypedDict, total=False): rotateServerCertificateContext: RotateServerCertificateContext @typing.type_check_only -class InstancesTruncateLogRequest(typing_extensions.TypedDict, total=False): +class InstancesTruncateLogRequest(typing.TypedDict, total=False): truncateLogContext: TruncateLogContext @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class IpConfiguration(typing_extensions.TypedDict, total=False): +class IpConfiguration(typing.TypedDict, total=False): allocatedIpRange: str authorizedNetworks: _list[AclEntry] customSubjectAlternativeNames: _list[str] @@ -921,19 +902,19 @@ class IpConfiguration(typing_extensions.TypedDict, total=False): privateNetwork: str pscConfig: PscConfig requireSsl: bool - serverCaMode: typing_extensions.Literal[ + serverCaMode: typing.Literal[ "CA_MODE_UNSPECIFIED", "GOOGLE_MANAGED_INTERNAL_CA", "GOOGLE_MANAGED_CAS_CA", "CUSTOMER_MANAGED_CAS_CA", ] serverCaPool: str - serverCertificateRotationMode: typing_extensions.Literal[ + serverCertificateRotationMode: typing.Literal[ "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", "NO_AUTOMATIC_ROTATION", "AUTOMATIC_ROTATION_DURING_MAINTENANCE", ] - sslMode: typing_extensions.Literal[ + sslMode: typing.Literal[ "SSL_MODE_UNSPECIFIED", "ALLOW_UNENCRYPTED_AND_ENCRYPTED", "ENCRYPTED_ONLY", @@ -941,10 +922,10 @@ class IpConfiguration(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class IpMapping(typing_extensions.TypedDict, total=False): +class IpMapping(typing.TypedDict, total=False): ipAddress: str timeToRetire: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_IP_ADDRESS_TYPE_UNSPECIFIED", "PRIMARY", "OUTGOING", @@ -953,38 +934,38 @@ class IpMapping(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ListBackupsResponse(typing_extensions.TypedDict, total=False): +class ListBackupsResponse(typing.TypedDict, total=False): backups: _list[Backup] nextPageToken: str warnings: _list[ApiWarning] @typing.type_check_only -class LocationPreference(typing_extensions.TypedDict, total=False): +class LocationPreference(typing.TypedDict, total=False): followGaeApplication: str kind: str secondaryZone: str zone: str @typing.type_check_only -class MaintenanceWindow(typing_extensions.TypedDict, total=False): +class MaintenanceWindow(typing.TypedDict, total=False): day: int hour: int kind: str - updateTrack: typing_extensions.Literal[ + updateTrack: typing.Literal[ "SQL_UPDATE_TRACK_UNSPECIFIED", "canary", "stable", "week5" ] @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): message: str severity: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): sqlStatementExecutionTime: str @typing.type_check_only -class MySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): +class MySqlReplicaConfiguration(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str @@ -998,27 +979,28 @@ class MySqlReplicaConfiguration(typing_extensions.TypedDict, total=False): verifyServerCertificate: bool @typing.type_check_only -class MySqlSyncConfig(typing_extensions.TypedDict, total=False): +class MySqlSyncConfig(typing.TypedDict, total=False): initialSyncFlags: _list[SyncFlags] @typing.type_check_only -class OnPremisesConfiguration(typing_extensions.TypedDict, total=False): +class OnPremisesConfiguration(typing.TypedDict, total=False): caCertificate: str clientCertificate: str clientKey: str + dmsManaged: bool dumpFilePath: str hostPort: str kind: str password: str selectedObjects: _list[SelectedObjects] sourceInstance: InstanceReference - sslOption: typing_extensions.Literal[ + sslOption: typing.Literal[ "SSL_OPTION_UNSPECIFIED", "DISABLE", "REQUIRE", "VERIFY_CA" ] username: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): acquireSsrsLeaseContext: AcquireSsrsLeaseContext apiWarning: ApiWarning backupContext: BackupContext @@ -1029,7 +1011,7 @@ class Operation(typing_extensions.TypedDict, total=False): insertTime: str kind: str name: str - operationType: typing_extensions.Literal[ + operationType: typing.Literal[ "SQL_OPERATION_TYPE_UNSPECIFIED", "IMPORT", "EXPORT", @@ -1084,11 +1066,12 @@ class Operation(typing_extensions.TypedDict, total=False): "CREATE_READ_POOL", "PRE_CHECK_MAJOR_VERSION_UPGRADE", "SETUP_MIGRATION", + "AGENT_SEND_MESSAGE", ] preCheckMajorVersionUpgradeContext: PreCheckMajorVersionUpgradeContext selfLink: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "SQL_OPERATION_STATUS_UNSPECIFIED", "PENDING", "RUNNING", "DONE" ] subOperationType: SqlSubOperationType @@ -1098,18 +1081,18 @@ class Operation(typing_extensions.TypedDict, total=False): user: str @typing.type_check_only -class OperationError(typing_extensions.TypedDict, total=False): +class OperationError(typing.TypedDict, total=False): code: str kind: str message: str @typing.type_check_only -class OperationErrors(typing_extensions.TypedDict, total=False): +class OperationErrors(typing.TypedDict, total=False): errors: _list[OperationError] kind: str @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -1119,21 +1102,19 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class OperationsListResponse(typing_extensions.TypedDict, total=False): +class OperationsListResponse(typing.TypedDict, total=False): items: _list[Operation] kind: str nextPageToken: str @typing.type_check_only -class PasswordStatus(typing_extensions.TypedDict, total=False): +class PasswordStatus(typing.TypedDict, total=False): locked: bool passwordExpirationTime: str @typing.type_check_only -class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): - complexity: typing_extensions.Literal[ - "COMPLEXITY_UNSPECIFIED", "COMPLEXITY_DEFAULT" - ] +class PasswordValidationPolicy(typing.TypedDict, total=False): + complexity: typing.Literal["COMPLEXITY_UNSPECIFIED", "COMPLEXITY_DEFAULT"] disallowCompromisedCredentials: bool disallowUsernameSubstring: bool enablePasswordPolicy: bool @@ -1142,20 +1123,32 @@ class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): reuseInterval: int @typing.type_check_only -class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): +class PerformDiskShrinkContext(typing.TypedDict, total=False): targetSizeGb: str @typing.type_check_only -class PerformanceCaptureConfig(typing_extensions.TypedDict, total=False): +class PerformanceCaptureConfig(typing.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.Literal[ + "TRANSACTION_KILL_TYPE_UNSPECIFIED", + "READ_ONLY_TRANSACTIONS", + "ALL_TRANSACTIONS", + ] + transactionLockWaitThresholdCount: int @typing.type_check_only -class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): +class PointInTimeRestoreContext(typing.TypedDict, total=False): allocatedIpRange: str datasource: str pointInTime: str @@ -1168,7 +1161,7 @@ class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): targetInstanceSettings: DatabaseInstance @typing.type_check_only -class PoolNodeConfig(typing_extensions.TypedDict, total=False): +class PoolNodeConfig(typing.TypedDict, total=False): dnsName: str dnsNames: _list[DnsNameMapping] gceZone: str @@ -1176,7 +1169,7 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): name: str pscAutoConnections: _list[PscAutoConnectionConfig] pscServiceAttachmentLink: str - state: typing_extensions.Literal[ + state: typing.Literal[ "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", "SUSPENDED", @@ -1189,10 +1182,10 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=False): +class PreCheckMajorVersionUpgradeContext(typing.TypedDict, total=False): kind: str preCheckResponse: _list[PreCheckResponse] - targetDatabaseVersion: typing_extensions.Literal[ + targetDatabaseVersion: typing.Literal[ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", "MYSQL_5_5", @@ -1252,25 +1245,35 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals ] @typing.type_check_only -class PreCheckResponse(typing_extensions.TypedDict, total=False): +class PreCheckResponse(typing.TypedDict, total=False): actionsRequired: _list[str] message: str - messageType: typing_extensions.Literal[ - "MESSAGE_TYPE_UNSPECIFIED", "INFO", "WARNING", "ERROR" - ] + messageType: typing.Literal["MESSAGE_TYPE_UNSPECIFIED", "INFO", "WARNING", "ERROR"] @typing.type_check_only -class PscAutoConnectionConfig(typing_extensions.TypedDict, total=False): +class PscAutoConnectionConfig(typing.TypedDict, total=False): consumerNetwork: str consumerNetworkStatus: str consumerProject: str + instanceAutoDnsStatus: typing.Literal[ + "AUTO_DNS_STATUS_UNSPECIFIED", + "AUTO_DNS_OK", + "AUTO_DNS_FAILED", + "AUTO_DNS_UNKNOWN", + ] ipAddress: str serviceConnectionPolicy: str serviceConnectionPolicyCreationResult: str status: str + writeEndpointAutoDnsStatus: typing.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): +class PscConfig(typing.TypedDict, total=False): allowedConsumerProjects: _list[str] networkAttachmentUri: str pscAutoConnectionPolicyEnabled: bool @@ -1280,7 +1283,7 @@ class PscConfig(typing_extensions.TypedDict, total=False): pscWriteEndpointDnsEnabled: bool @typing.type_check_only -class QueryResult(typing_extensions.TypedDict, total=False): +class QueryResult(typing.TypedDict, total=False): columns: _list[Column] message: str partialResult: bool @@ -1288,7 +1291,7 @@ class QueryResult(typing_extensions.TypedDict, total=False): status: Status @typing.type_check_only -class ReadPoolAutoScaleConfig(typing_extensions.TypedDict, total=False): +class ReadPoolAutoScaleConfig(typing.TypedDict, total=False): disableScaleIn: bool enabled: bool maxNodeCount: int @@ -1298,21 +1301,21 @@ class ReadPoolAutoScaleConfig(typing_extensions.TypedDict, total=False): targetMetrics: _list[TargetMetric] @typing.type_check_only -class ReplicaConfiguration(typing_extensions.TypedDict, total=False): +class ReplicaConfiguration(typing.TypedDict, total=False): cascadableReplica: bool failoverTarget: bool kind: str mysqlReplicaConfiguration: MySqlReplicaConfiguration @typing.type_check_only -class ReplicationCluster(typing_extensions.TypedDict, total=False): +class ReplicationCluster(typing.TypedDict, total=False): drReplica: bool failoverDrReplicaName: str psaWriteEndpoint: str @typing.type_check_only -class Reschedule(typing_extensions.TypedDict, total=False): - rescheduleType: typing_extensions.Literal[ +class Reschedule(typing.TypedDict, total=False): + rescheduleType: typing.Literal[ "RESCHEDULE_TYPE_UNSPECIFIED", "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", @@ -1321,63 +1324,63 @@ class Reschedule(typing_extensions.TypedDict, total=False): scheduleTime: str @typing.type_check_only -class RestoreBackupContext(typing_extensions.TypedDict, total=False): +class RestoreBackupContext(typing.TypedDict, total=False): backupRunId: str instanceId: str kind: str project: str @typing.type_check_only -class RotateEntraIdCertificateContext(typing_extensions.TypedDict, total=False): +class RotateEntraIdCertificateContext(typing.TypedDict, total=False): kind: str nextVersion: str @typing.type_check_only -class RotateServerCaContext(typing_extensions.TypedDict, total=False): +class RotateServerCaContext(typing.TypedDict, total=False): kind: str nextVersion: str @typing.type_check_only -class RotateServerCertificateContext(typing_extensions.TypedDict, total=False): +class RotateServerCertificateContext(typing.TypedDict, total=False): kind: str nextVersion: str @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): values: _list[Value] @typing.type_check_only -class SelectedObjects(typing_extensions.TypedDict, total=False): +class SelectedObjects(typing.TypedDict, total=False): database: str @typing.type_check_only -class Settings(typing_extensions.TypedDict, total=False): +class Settings(typing.TypedDict, total=False): acceleratedReplicaMode: bool - activationPolicy: typing_extensions.Literal[ + activationPolicy: typing.Literal[ "SQL_ACTIVATION_POLICY_UNSPECIFIED", "ALWAYS", "NEVER", "ON_DEMAND" ] activeDirectoryConfig: SqlActiveDirectoryConfig advancedMachineFeatures: AdvancedMachineFeatures authorizedGaeApplications: _list[str] autoUpgradeEnabled: bool - availabilityType: typing_extensions.Literal[ + availabilityType: typing.Literal[ "SQL_AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL" ] backupConfiguration: BackupConfiguration collation: str connectionPoolConfig: ConnectionPoolConfig - connectorEnforcement: typing_extensions.Literal[ + connectorEnforcement: typing.Literal[ "CONNECTOR_ENFORCEMENT_UNSPECIFIED", "NOT_REQUIRED", "REQUIRED" ] crashSafeReplicationEnabled: bool - dataApiAccess: typing_extensions.Literal[ + dataApiAccess: typing.Literal[ "DATA_API_ACCESS_UNSPECIFIED", "DISALLOW_DATA_API", "ALLOW_DATA_API" ] dataCacheConfig: DataCacheConfig dataDiskProvisionedIops: str dataDiskProvisionedThroughput: str dataDiskSizeGb: str - dataDiskType: typing_extensions.Literal[ + dataDiskType: typing.Literal[ "SQL_DATA_DISK_TYPE_UNSPECIFIED", "PD_SSD", "PD_HDD", @@ -1388,7 +1391,7 @@ class Settings(typing_extensions.TypedDict, total=False): databaseReplicationEnabled: bool deletionProtectionEnabled: bool denyMaintenancePeriods: _list[DenyMaintenancePeriod] - edition: typing_extensions.Literal[ + edition: typing.Literal[ "EDITION_UNSPECIFIED", "ENTERPRISE", "ENTERPRISE_PLUS", "DEVELOPER" ] enableDataplexIntegration: bool @@ -1402,12 +1405,10 @@ class Settings(typing_extensions.TypedDict, total=False): maintenanceWindow: MaintenanceWindow passwordValidationPolicy: PasswordValidationPolicy performanceCaptureConfig: PerformanceCaptureConfig - pricingPlan: typing_extensions.Literal[ - "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" - ] + pricingPlan: typing.Literal["SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE"] readPoolAutoScaleConfig: ReadPoolAutoScaleConfig replicationLagMaxSeconds: int - replicationType: typing_extensions.Literal[ + replicationType: typing.Literal[ "SQL_REPLICATION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" ] retainBackupsOnDelete: bool @@ -1420,12 +1421,12 @@ class Settings(typing_extensions.TypedDict, total=False): userLabels: dict[str, typing.Any] @typing.type_check_only -class SqlActiveDirectoryConfig(typing_extensions.TypedDict, total=False): +class SqlActiveDirectoryConfig(typing.TypedDict, total=False): adminCredentialSecretName: str dnsServers: _list[str] domain: str kind: str - mode: typing_extensions.Literal[ + mode: typing.Literal[ "ACTIVE_DIRECTORY_MODE_UNSPECIFIED", "MANAGED_ACTIVE_DIRECTORY", "SELF_MANAGED_ACTIVE_DIRECTORY", @@ -1434,10 +1435,10 @@ class SqlActiveDirectoryConfig(typing_extensions.TypedDict, total=False): organizationalUnit: str @typing.type_check_only -class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): +class SqlExternalSyncSettingError(typing.TypedDict, total=False): detail: str kind: str - type: typing_extensions.Literal[ + type: typing.Literal[ "SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED", "CONNECTION_FAILURE", "BINLOG_NOT_ENABLED", @@ -1500,124 +1501,108 @@ class SqlExternalSyncSettingError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SqlInstancesAcquireSsrsLeaseResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesAcquireSsrsLeaseResponse(typing.TypedDict, total=False): operationId: str @typing.type_check_only -class SqlInstancesExecuteSqlResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesExecuteSqlResponse(typing.TypedDict, total=False): messages: _list[Message] metadata: Metadata results: _list[QueryResult] status: Status @typing.type_check_only -class SqlInstancesGetDiskShrinkConfigResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesGetDiskShrinkConfigResponse(typing.TypedDict, total=False): kind: str message: str minimalTargetSizeGb: str @typing.type_check_only -class SqlInstancesGetLatestRecoveryTimeResponse( - typing_extensions.TypedDict, total=False -): +class SqlInstancesGetLatestRecoveryTimeResponse(typing.TypedDict, total=False): earliestRecoveryTime: str kind: str latestRecoveryTime: str @typing.type_check_only -class SqlInstancesReleaseSsrsLeaseResponse(typing_extensions.TypedDict, total=False): +class SqlInstancesReleaseSsrsLeaseResponse(typing.TypedDict, total=False): operationId: str @typing.type_check_only -class SqlInstancesRescheduleMaintenanceRequestBody( - typing_extensions.TypedDict, total=False -): +class SqlInstancesRescheduleMaintenanceRequestBody(typing.TypedDict, total=False): reschedule: Reschedule @typing.type_check_only -class SqlInstancesResetReplicaSizeRequest(typing_extensions.TypedDict, total=False): ... +class SqlInstancesResetReplicaSizeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SqlInstancesStartExternalSyncRequest(typing_extensions.TypedDict, total=False): - migrationType: typing_extensions.Literal[ - "MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL" - ] +class SqlInstancesStartExternalSyncRequest(typing.TypedDict, total=False): + migrationType: typing.Literal["MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL"] mysqlSyncConfig: MySqlSyncConfig replicaOverwriteEnabled: bool skipVerification: bool - syncMode: typing_extensions.Literal[ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE" - ] - syncParallelLevel: typing_extensions.Literal[ + syncMode: typing.Literal["EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE"] + syncParallelLevel: typing.Literal[ "EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", "MIN", "OPTIMAL", "MAX" ] @typing.type_check_only -class SqlInstancesVerifyExternalSyncSettingsRequest( - typing_extensions.TypedDict, total=False -): - migrationType: typing_extensions.Literal[ - "MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL" - ] +class SqlInstancesVerifyExternalSyncSettingsRequest(typing.TypedDict, total=False): + migrationType: typing.Literal["MIGRATION_TYPE_UNSPECIFIED", "LOGICAL", "PHYSICAL"] mysqlSyncConfig: MySqlSyncConfig selectedObjects: _list[ExternalSyncSelectedObject] - syncMode: typing_extensions.Literal[ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE" - ] - syncParallelLevel: typing_extensions.Literal[ + syncMode: typing.Literal["EXTERNAL_SYNC_MODE_UNSPECIFIED", "ONLINE", "OFFLINE"] + syncParallelLevel: typing.Literal[ "EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", "MIN", "OPTIMAL", "MAX" ] verifyConnectionOnly: bool verifyReplicationOnly: bool @typing.type_check_only -class SqlInstancesVerifyExternalSyncSettingsResponse( - typing_extensions.TypedDict, total=False -): +class SqlInstancesVerifyExternalSyncSettingsResponse(typing.TypedDict, total=False): errors: _list[SqlExternalSyncSettingError] kind: str warnings: _list[SqlExternalSyncSettingError] @typing.type_check_only -class SqlOutOfDiskReport(typing_extensions.TypedDict, total=False): +class SqlOutOfDiskReport(typing.TypedDict, total=False): sqlMinRecommendedIncreaseSizeGb: int - sqlOutOfDiskState: typing_extensions.Literal[ + sqlOutOfDiskState: typing.Literal[ "SQL_OUT_OF_DISK_STATE_UNSPECIFIED", "NORMAL", "SOFT_SHUTDOWN" ] @typing.type_check_only -class SqlScheduledMaintenance(typing_extensions.TypedDict, total=False): +class SqlScheduledMaintenance(typing.TypedDict, total=False): canDefer: bool canReschedule: bool scheduleDeadlineTime: str startTime: str @typing.type_check_only -class SqlServerAuditConfig(typing_extensions.TypedDict, total=False): +class SqlServerAuditConfig(typing.TypedDict, total=False): bucket: str kind: str retentionInterval: str uploadInterval: str @typing.type_check_only -class SqlServerDatabaseDetails(typing_extensions.TypedDict, total=False): +class SqlServerDatabaseDetails(typing.TypedDict, total=False): compatibilityLevel: int recoveryModel: str @typing.type_check_only -class SqlServerEntraIdConfig(typing_extensions.TypedDict, total=False): +class SqlServerEntraIdConfig(typing.TypedDict, total=False): applicationId: str kind: str tenantId: str @typing.type_check_only -class SqlServerUserDetails(typing_extensions.TypedDict, total=False): +class SqlServerUserDetails(typing.TypedDict, total=False): disabled: bool serverRoles: _list[str] @typing.type_check_only -class SqlSubOperationType(typing_extensions.TypedDict, total=False): - maintenanceType: typing_extensions.Literal[ +class SqlSubOperationType(typing.TypedDict, total=False): + maintenanceType: typing.Literal[ "SQL_MAINTENANCE_TYPE_UNSPECIFIED", "INSTANCE_MAINTENANCE", "REPLICA_INCLUDED_MAINTENANCE", @@ -1626,7 +1611,7 @@ class SqlSubOperationType(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SslCert(typing_extensions.TypedDict, total=False): +class SslCert(typing.TypedDict, total=False): cert: str certSerialNumber: str commonName: str @@ -1638,49 +1623,49 @@ class SslCert(typing_extensions.TypedDict, total=False): sha1Fingerprint: str @typing.type_check_only -class SslCertDetail(typing_extensions.TypedDict, total=False): +class SslCertDetail(typing.TypedDict, total=False): certInfo: SslCert certPrivateKey: str @typing.type_check_only -class SslCertsCreateEphemeralRequest(typing_extensions.TypedDict, total=False): +class SslCertsCreateEphemeralRequest(typing.TypedDict, total=False): access_token: str public_key: str @typing.type_check_only -class SslCertsInsertRequest(typing_extensions.TypedDict, total=False): +class SslCertsInsertRequest(typing.TypedDict, total=False): commonName: str @typing.type_check_only -class SslCertsInsertResponse(typing_extensions.TypedDict, total=False): +class SslCertsInsertResponse(typing.TypedDict, total=False): clientCert: SslCertDetail kind: str operation: Operation serverCaCert: SslCert @typing.type_check_only -class SslCertsListResponse(typing_extensions.TypedDict, total=False): +class SslCertsListResponse(typing.TypedDict, total=False): items: _list[SslCert] kind: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SyncFlags(typing_extensions.TypedDict, total=False): +class SyncFlags(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class TargetMetric(typing_extensions.TypedDict, total=False): +class TargetMetric(typing.TypedDict, total=False): metric: str targetValue: float @typing.type_check_only -class Tier(typing_extensions.TypedDict, total=False): +class Tier(typing.TypedDict, total=False): DiskQuota: str RAM: str kind: str @@ -1688,19 +1673,19 @@ class Tier(typing_extensions.TypedDict, total=False): tier: str @typing.type_check_only -class TiersListResponse(typing_extensions.TypedDict, total=False): +class TiersListResponse(typing.TypedDict, total=False): items: _list[Tier] kind: str @typing.type_check_only -class TruncateLogContext(typing_extensions.TypedDict, total=False): +class TruncateLogContext(typing.TypedDict, total=False): kind: str logType: str @typing.type_check_only -class User(typing_extensions.TypedDict, total=False): +class User(typing.TypedDict, total=False): databaseRoles: _list[str] - dualPasswordType: typing_extensions.Literal[ + dualPasswordType: typing.Literal[ "DUAL_PASSWORD_TYPE_UNSPECIFIED", "NO_MODIFY_DUAL_PASSWORD", "NO_DUAL_PASSWORD", @@ -1709,15 +1694,16 @@ class User(typing_extensions.TypedDict, total=False): etag: str host: str iamEmail: str - iamStatus: typing_extensions.Literal["IAM_STATUS_UNSPECIFIED", "INACTIVE", "ACTIVE"] + iamStatus: typing.Literal["IAM_STATUS_UNSPECIFIED", "INACTIVE", "ACTIVE"] instance: str kind: str name: str password: str passwordPolicy: UserPasswordValidationPolicy project: str + serverRoles: _list[str] sqlserverUserDetails: SqlServerUserDetails - type: typing_extensions.Literal[ + type: typing.Literal[ "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", @@ -1729,7 +1715,7 @@ class User(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class UserPasswordValidationPolicy(typing_extensions.TypedDict, total=False): +class UserPasswordValidationPolicy(typing.TypedDict, total=False): allowedFailedAttempts: int enableFailedAttemptsCheck: bool enablePasswordVerification: bool @@ -1737,12 +1723,12 @@ class UserPasswordValidationPolicy(typing_extensions.TypedDict, total=False): status: PasswordStatus @typing.type_check_only -class UsersListResponse(typing_extensions.TypedDict, total=False): +class UsersListResponse(typing.TypedDict, total=False): items: _list[User] kind: str nextPageToken: str @typing.type_check_only -class Value(typing_extensions.TypedDict, total=False): +class Value(typing.TypedDict, total=False): nullValue: bool value: str diff --git a/googleapiclient-stubs/_apis/storage/v1/resources.pyi b/googleapiclient-stubs/_apis/storage/v1/resources.pyi index b7c87ae19..bbbdfccf2 100644 --- a/googleapiclient-stubs/_apis/storage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -118,7 +117,7 @@ class StorageResource(googleapiclient.discovery.Resource): generation: str | None = ..., ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., softDeleted: bool | None = ..., userProject: str | None = ..., **kwargs: typing.Any, @@ -140,7 +139,7 @@ class StorageResource(googleapiclient.discovery.Resource): project: str, body: Bucket, enableObjectRetention: bool | None = ..., - predefinedAcl: typing_extensions.Literal[ + predefinedAcl: typing.Literal[ "authenticatedRead", "private", "projectPrivate", @@ -148,7 +147,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicReadWrite", ] | None = ..., - predefinedDefaultObjectAcl: typing_extensions.Literal[ + predefinedDefaultObjectAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -157,7 +156,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicRead", ] | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> BucketHttpRequest: ... @@ -168,7 +167,7 @@ class StorageResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., prefix: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., returnPartialSuccess: bool | None = ..., softDeleted: bool | None = ..., userProject: str | None = ..., @@ -192,7 +191,7 @@ class StorageResource(googleapiclient.discovery.Resource): body: Bucket, ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., - predefinedAcl: typing_extensions.Literal[ + predefinedAcl: typing.Literal[ "authenticatedRead", "private", "projectPrivate", @@ -200,7 +199,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicReadWrite", ] | None = ..., - predefinedDefaultObjectAcl: typing_extensions.Literal[ + predefinedDefaultObjectAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -209,7 +208,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicRead", ] | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> BucketHttpRequest: ... @@ -221,7 +220,7 @@ class StorageResource(googleapiclient.discovery.Resource): *, bucket: str, generation: str, - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> BucketHttpRequest: ... @@ -248,7 +247,7 @@ class StorageResource(googleapiclient.discovery.Resource): body: Bucket, ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., - predefinedAcl: typing_extensions.Literal[ + predefinedAcl: typing.Literal[ "authenticatedRead", "private", "projectPrivate", @@ -256,7 +255,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicReadWrite", ] | None = ..., - predefinedDefaultObjectAcl: typing_extensions.Literal[ + predefinedDefaultObjectAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -265,7 +264,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicRead", ] | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> BucketHttpRequest: ... @@ -458,6 +457,16 @@ class StorageResource(googleapiclient.discovery.Resource): userProject: str | None = ..., **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + def update( + self, + *, + bucket: str, + managedFolder: str, + body: ManagedFolder, + ifMetagenerationMatch: str | None = ..., + ifMetagenerationNotMatch: str | None = ..., + **kwargs: typing.Any, + ) -> ManagedFolderHttpRequest: ... @typing.type_check_only class NotificationsResource(googleapiclient.discovery.Resource): @@ -564,7 +573,7 @@ class StorageResource(googleapiclient.discovery.Resource): destinationBucket: str, destinationObject: str, body: ComposeRequest, - destinationPredefinedAcl: typing_extensions.Literal[ + destinationPredefinedAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -589,7 +598,7 @@ class StorageResource(googleapiclient.discovery.Resource): destinationObject: str, body: Object, destinationKmsKeyName: str | None = ..., - destinationPredefinedAcl: typing_extensions.Literal[ + destinationPredefinedAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -606,7 +615,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifSourceGenerationNotMatch: str | None = ..., ifSourceMetagenerationMatch: str | None = ..., ifSourceMetagenerationNotMatch: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., sourceGeneration: str | None = ..., userProject: str | None = ..., **kwargs: typing.Any, @@ -634,7 +643,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifGenerationNotMatch: str | None = ..., ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., restoreToken: str | None = ..., softDeleted: bool | None = ..., userProject: str | None = ..., @@ -650,7 +659,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifGenerationNotMatch: str | None = ..., ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., restoreToken: str | None = ..., softDeleted: bool | None = ..., userProject: str | None = ..., @@ -677,7 +686,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifMetagenerationNotMatch: str | None = ..., kmsKeyName: str | None = ..., name: str | None = ..., - predefinedAcl: typing_extensions.Literal[ + predefinedAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -686,7 +695,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicRead", ] | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> ObjectHttpRequest: ... @@ -703,7 +712,7 @@ class StorageResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., prefix: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., softDeleted: bool | None = ..., startOffset: str | None = ..., userProject: str | None = ..., @@ -727,7 +736,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifSourceGenerationNotMatch: str | None = ..., ifSourceMetagenerationMatch: str | None = ..., ifSourceMetagenerationNotMatch: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> ObjectHttpRequest: ... @@ -743,7 +752,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., overrideUnlockedRetention: bool | None = ..., - predefinedAcl: typing_extensions.Literal[ + predefinedAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -752,7 +761,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicRead", ] | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> ObjectHttpRequest: ... @@ -767,7 +776,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifGenerationNotMatch: str | None = ..., ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., restoreToken: str | None = ..., userProject: str | None = ..., **kwargs: typing.Any, @@ -781,7 +790,7 @@ class StorageResource(googleapiclient.discovery.Resource): destinationObject: str, body: Object, destinationKmsKeyName: str | None = ..., - destinationPredefinedAcl: typing_extensions.Literal[ + destinationPredefinedAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -800,7 +809,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifSourceMetagenerationMatch: str | None = ..., ifSourceMetagenerationNotMatch: str | None = ..., maxBytesRewrittenPerCall: str | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., rewriteToken: str | None = ..., sourceGeneration: str | None = ..., userProject: str | None = ..., @@ -838,7 +847,7 @@ class StorageResource(googleapiclient.discovery.Resource): ifMetagenerationMatch: str | None = ..., ifMetagenerationNotMatch: str | None = ..., overrideUnlockedRetention: bool | None = ..., - predefinedAcl: typing_extensions.Literal[ + predefinedAcl: typing.Literal[ "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", @@ -847,7 +856,7 @@ class StorageResource(googleapiclient.discovery.Resource): "publicRead", ] | None = ..., - projection: typing_extensions.Literal["full", "noAcl"] | None = ..., + projection: typing.Literal["full", "noAcl"] | None = ..., userProject: str | None = ..., **kwargs: typing.Any, ) -> ObjectHttpRequest: ... @@ -950,6 +959,39 @@ class StorageResource(googleapiclient.discovery.Resource): def hmacKeys(self) -> HmacKeysResource: ... def serviceAccount(self) -> ServiceAccountResource: ... + @typing.type_check_only + class RapidCachesResource(googleapiclient.discovery.Resource): + def disable( + self, *, bucket: str, rapidCacheId: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, bucket: str, rapidCacheId: str, **kwargs: typing.Any + ) -> RapidCacheHttpRequest: ... + def insert( + self, *, bucket: str, body: RapidCache, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + bucket: str, + pageSize: int | None = ..., + pageToken: str | None = ..., + **kwargs: typing.Any, + ) -> RapidCachesHttpRequest: ... + def list_next( + self, + previous_request: RapidCachesHttpRequest, + previous_response: RapidCaches, + ) -> RapidCachesHttpRequest | None: ... + def update( + self, + *, + bucket: str, + rapidCacheId: str, + body: RapidCache, + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -974,6 +1016,7 @@ class StorageResource(googleapiclient.discovery.Resource): def objects(self) -> ObjectsResource: ... def operations(self) -> OperationsResource: ... def projects(self) -> ProjectsResource: ... + def rapidCaches(self) -> RapidCachesResource: ... @typing.type_check_only class AnywhereCacheHttpRequest(googleapiclient.http.HttpRequest): @@ -1161,6 +1204,22 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Policy: ... +@typing.type_check_only +class RapidCacheHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RapidCache: ... + +@typing.type_check_only +class RapidCachesHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RapidCaches: ... + @typing.type_check_only class RewriteResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi index b66176175..819ee1c65 100644 --- a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdvanceRelocateBucketOperationRequest(typing_extensions.TypedDict, total=False): +class AdvanceRelocateBucketOperationRequest(typing.TypedDict, total=False): expireTime: str ttl: str @typing.type_check_only -class AnywhereCache(typing_extensions.TypedDict, total=False): +class AnywhereCache(typing.TypedDict, total=False): admissionPolicy: str anywhereCacheId: str bucket: str @@ -26,13 +24,13 @@ class AnywhereCache(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class AnywhereCaches(typing_extensions.TypedDict, total=False): +class AnywhereCaches(typing.TypedDict, total=False): items: _list[AnywhereCache] kind: str nextPageToken: str @typing.type_check_only -class Bucket(typing_extensions.TypedDict, total=False): +class Bucket(typing.TypedDict, total=False): acl: _list[BucketAccessControl] autoclass: dict[str, typing.Any] billing: dict[str, typing.Any] @@ -73,7 +71,7 @@ class Bucket(typing_extensions.TypedDict, total=False): website: dict[str, typing.Any] @typing.type_check_only -class BucketAccessControl(typing_extensions.TypedDict, total=False): +class BucketAccessControl(typing.TypedDict, total=False): bucket: str domain: str email: str @@ -87,12 +85,12 @@ class BucketAccessControl(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class BucketAccessControls(typing_extensions.TypedDict, total=False): +class BucketAccessControls(typing.TypedDict, total=False): items: _list[BucketAccessControl] kind: str @typing.type_check_only -class BucketStorageLayout(typing_extensions.TypedDict, total=False): +class BucketStorageLayout(typing.TypedDict, total=False): bucket: str customPlacementConfig: dict[str, typing.Any] hierarchicalNamespace: dict[str, typing.Any] @@ -101,14 +99,14 @@ class BucketStorageLayout(typing_extensions.TypedDict, total=False): locationType: str @typing.type_check_only -class Buckets(typing_extensions.TypedDict, total=False): +class Buckets(typing.TypedDict, total=False): items: _list[Bucket] kind: str nextPageToken: str unreachable: _list[str] @typing.type_check_only -class BulkRestoreObjectsRequest(typing_extensions.TypedDict, total=False): +class BulkRestoreObjectsRequest(typing.TypedDict, total=False): allowOverwrite: bool copySourceAcl: bool createdAfterTime: str @@ -118,7 +116,7 @@ class BulkRestoreObjectsRequest(typing_extensions.TypedDict, total=False): softDeletedBeforeTime: str @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): address: str expiration: str id: str @@ -131,21 +129,21 @@ class Channel(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ComposeRequest(typing_extensions.TypedDict, total=False): +class ComposeRequest(typing.TypedDict, total=False): deleteSourceObjects: bool destination: Object kind: str sourceObjects: _list[dict[str, typing.Any]] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): bucket: str createTime: str id: str @@ -157,19 +155,19 @@ class Folder(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Folders(typing_extensions.TypedDict, total=False): +class Folders(typing.TypedDict, total=False): items: _list[Folder] kind: str nextPageToken: str @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): kind: str nextPageToken: str operations: _list[GoogleLongrunningOperation] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus kind: str @@ -179,19 +177,19 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class HmacKey(typing_extensions.TypedDict, total=False): +class HmacKey(typing.TypedDict, total=False): kind: str metadata: HmacKeyMetadata secret: str @typing.type_check_only -class HmacKeyMetadata(typing_extensions.TypedDict, total=False): +class HmacKeyMetadata(typing.TypedDict, total=False): accessId: str etag: str id: str @@ -204,30 +202,31 @@ class HmacKeyMetadata(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class HmacKeysMetadata(typing_extensions.TypedDict, total=False): +class HmacKeysMetadata(typing.TypedDict, total=False): items: _list[HmacKeyMetadata] kind: str nextPageToken: str @typing.type_check_only -class ManagedFolder(typing_extensions.TypedDict, total=False): +class ManagedFolder(typing.TypedDict, total=False): bucket: str createTime: str id: str kind: str metageneration: str name: str + rapidCacheConfig: RapidCacheConfig selfLink: str updateTime: str @typing.type_check_only -class ManagedFolders(typing_extensions.TypedDict, total=False): +class ManagedFolders(typing.TypedDict, total=False): items: _list[ManagedFolder] kind: str nextPageToken: str @typing.type_check_only -class Notification(typing_extensions.TypedDict, total=False): +class Notification(typing.TypedDict, total=False): custom_attributes: dict[str, typing.Any] etag: str event_types: _list[str] @@ -239,12 +238,12 @@ class Notification(typing_extensions.TypedDict, total=False): topic: str @typing.type_check_only -class Notifications(typing_extensions.TypedDict, total=False): +class Notifications(typing.TypedDict, total=False): items: _list[Notification] kind: str @typing.type_check_only -class Object(typing_extensions.TypedDict, total=False): +class Object(typing.TypedDict, total=False): acl: _list[ObjectAccessControl] bucket: str cacheControl: str @@ -285,7 +284,7 @@ class Object(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class ObjectAccessControl(typing_extensions.TypedDict, total=False): +class ObjectAccessControl(typing.TypedDict, total=False): bucket: str domain: str email: str @@ -301,25 +300,25 @@ class ObjectAccessControl(typing_extensions.TypedDict, total=False): selfLink: str @typing.type_check_only -class ObjectAccessControls(typing_extensions.TypedDict, total=False): +class ObjectAccessControls(typing.TypedDict, total=False): items: _list[ObjectAccessControl] kind: str @typing.type_check_only -class ObjectCustomContextPayload(typing_extensions.TypedDict, total=False): +class ObjectCustomContextPayload(typing.TypedDict, total=False): createTime: str updateTime: str value: str @typing.type_check_only -class Objects(typing_extensions.TypedDict, total=False): +class Objects(typing.TypedDict, total=False): items: _list[Object] kind: str nextPageToken: str prefixes: _list[str] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): bindings: _list[dict[str, typing.Any]] etag: str kind: str @@ -327,14 +326,46 @@ class Policy(typing_extensions.TypedDict, total=False): version: int @typing.type_check_only -class RelocateBucketRequest(typing_extensions.TypedDict, total=False): +class RapidCache(typing.TypedDict, total=False): + admissionPolicy: str + bucket: str + cacheType: str + createTime: str + id: str + ingestOnWrite: bool + kind: str + pendingUpdate: bool + rapidCacheId: str + selfLink: str + state: str + ttl: str + updateTime: str + zone: str + +@typing.type_check_only +class RapidCacheConfig(typing.TypedDict, total=False): + policies: dict[str, typing.Any] + +@typing.type_check_only +class RapidCachePolicy(typing.TypedDict, total=False): + ingestOnWrite: typing.Literal["enabled", "unspecified"] + rapidCacheId: str + +@typing.type_check_only +class RapidCaches(typing.TypedDict, total=False): + items: _list[RapidCache] + kind: str + nextPageToken: str + +@typing.type_check_only +class RelocateBucketRequest(typing.TypedDict, total=False): destinationCustomPlacementConfig: dict[str, typing.Any] destinationKmsKeyName: str destinationLocation: str validateOnly: bool @typing.type_check_only -class RewriteResponse(typing_extensions.TypedDict, total=False): +class RewriteResponse(typing.TypedDict, total=False): done: bool kind: str objectSize: str @@ -343,11 +374,11 @@ class RewriteResponse(typing_extensions.TypedDict, total=False): totalBytesRewritten: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email_address: str kind: str @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): kind: str permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi index 45530f990..b4a2c1687 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi index 836ceaa03..8eccdb6bc 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessControlsUpdates(typing_extensions.TypedDict, total=False): +class AccessControlsUpdates(typing.TypedDict, total=False): grants: _list[ObjectAccessControl] removeEntities: _list[str] @typing.type_check_only -class Bucket(typing_extensions.TypedDict, total=False): +class Bucket(typing.TypedDict, total=False): bucket: str manifest: Manifest prefixList: PrefixList @typing.type_check_only -class BucketList(typing_extensions.TypedDict, total=False): +class BucketList(typing.TypedDict, total=False): buckets: _list[Bucket] @typing.type_check_only -class BucketOperation(typing_extensions.TypedDict, total=False): +class BucketOperation(typing.TypedDict, total=False): bucketName: str completeTime: str counters: Counters @@ -36,23 +34,23 @@ class BucketOperation(typing_extensions.TypedDict, total=False): rewriteObject: RewriteObject setObjectAcls: SetObjectAcls startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "QUEUED", "RUNNING", "SUCCEEDED", "CANCELED", "FAILED" ] updateObjectCustomContext: UpdateObjectCustomContext @typing.type_check_only -class CancelJobRequest(typing_extensions.TypedDict, total=False): +class CancelJobRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class CancelJobResponse(typing_extensions.TypedDict, total=False): ... +class CancelJobResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Counters(typing_extensions.TypedDict, total=False): +class Counters(typing.TypedDict, total=False): failedObjectCount: str objectCustomContextsCreated: str objectCustomContextsDeleted: str @@ -63,25 +61,25 @@ class Counters(typing_extensions.TypedDict, total=False): totalObjectCount: str @typing.type_check_only -class CustomContextUpdates(typing_extensions.TypedDict, total=False): +class CustomContextUpdates(typing.TypedDict, total=False): keysToClear: _list[str] updates: dict[str, typing.Any] @typing.type_check_only -class DeleteObject(typing_extensions.TypedDict, total=False): +class DeleteObject(typing.TypedDict, total=False): permanentObjectDeletionEnabled: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorLogEntry(typing_extensions.TypedDict, total=False): +class ErrorLogEntry(typing.TypedDict, total=False): errorDetails: _list[str] objectUri: str @typing.type_check_only -class ErrorSummary(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class ErrorSummary(typing.TypedDict, total=False): + errorCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -104,14 +102,14 @@ class ErrorSummary(typing_extensions.TypedDict, total=False): errorLogEntries: _list[ErrorLogEntry] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): bucketList: BucketList completeTime: str counters: Counters @@ -129,36 +127,36 @@ class Job(typing_extensions.TypedDict, total=False): rewriteObject: RewriteObject scheduleTime: str setObjectAcls: SetObjectAcls - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELED", "FAILED", "QUEUED" ] updateObjectCustomContext: UpdateObjectCustomContext @typing.type_check_only -class ListBucketOperationsResponse(typing_extensions.TypedDict, total=False): +class ListBucketOperationsResponse(typing.TypedDict, total=False): bucketOperations: _list[BucketOperation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -166,38 +164,32 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): logActionStates: _list[ - typing_extensions.Literal[ - "LOGGABLE_ACTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED" - ] - ] - logActions: _list[ - typing_extensions.Literal["LOGGABLE_ACTION_UNSPECIFIED", "TRANSFORM"] + typing.Literal["LOGGABLE_ACTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] ] + logActions: _list[typing.Literal["LOGGABLE_ACTION_UNSPECIFIED", "TRANSFORM"]] @typing.type_check_only -class Manifest(typing_extensions.TypedDict, total=False): +class Manifest(typing.TypedDict, total=False): manifestLocation: str @typing.type_check_only -class ObjectAccessControl(typing_extensions.TypedDict, total=False): +class ObjectAccessControl(typing.TypedDict, total=False): entity: str role: str @typing.type_check_only -class ObjectCustomContextPayload(typing_extensions.TypedDict, total=False): +class ObjectCustomContextPayload(typing.TypedDict, total=False): value: str @typing.type_check_only -class ObjectRetention(typing_extensions.TypedDict, total=False): +class ObjectRetention(typing.TypedDict, total=False): retainUntilTime: str - retentionMode: typing_extensions.Literal[ - "RETENTION_MODE_UNSPECIFIED", "LOCKED", "UNLOCKED" - ] + retentionMode: typing.Literal["RETENTION_MODE_UNSPECIFIED", "LOCKED", "UNLOCKED"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -205,7 +197,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -214,11 +206,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): requestedCancellation: bool @typing.type_check_only -class PrefixList(typing_extensions.TypedDict, total=False): +class PrefixList(typing.TypedDict, total=False): includedObjectPrefixes: _list[str] @typing.type_check_only -class ProjectSource(typing_extensions.TypedDict, total=False): +class ProjectSource(typing.TypedDict, total=False): bucketFilters: Expr dryRunJobId: str insightsDatasetConfig: str @@ -228,7 +220,7 @@ class ProjectSource(typing_extensions.TypedDict, total=False): targetLocations: TargetLocations @typing.type_check_only -class PutMetadata(typing_extensions.TypedDict, total=False): +class PutMetadata(typing.TypedDict, total=False): cacheControl: str contentDisposition: str contentEncoding: str @@ -239,33 +231,33 @@ class PutMetadata(typing_extensions.TypedDict, total=False): objectRetention: ObjectRetention @typing.type_check_only -class PutObjectHold(typing_extensions.TypedDict, total=False): - eventBasedHold: typing_extensions.Literal["HOLD_STATUS_UNSPECIFIED", "SET", "UNSET"] - temporaryHold: typing_extensions.Literal["HOLD_STATUS_UNSPECIFIED", "SET", "UNSET"] +class PutObjectHold(typing.TypedDict, total=False): + eventBasedHold: typing.Literal["HOLD_STATUS_UNSPECIFIED", "SET", "UNSET"] + temporaryHold: typing.Literal["HOLD_STATUS_UNSPECIFIED", "SET", "UNSET"] @typing.type_check_only -class RewriteObject(typing_extensions.TypedDict, total=False): +class RewriteObject(typing.TypedDict, total=False): kmsKey: str - storageClass: typing_extensions.Literal[ + storageClass: typing.Literal[ "STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] @typing.type_check_only -class SetObjectAcls(typing_extensions.TypedDict, total=False): +class SetObjectAcls(typing.TypedDict, total=False): accessControlsUpdates: AccessControlsUpdates @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TargetLocations(typing_extensions.TypedDict, total=False): +class TargetLocations(typing.TypedDict, total=False): locations: _list[str] snapshotTime: str @typing.type_check_only -class UpdateObjectCustomContext(typing_extensions.TypedDict, total=False): +class UpdateObjectCustomContext(typing.TypedDict, total=False): clearAll: bool customContextUpdates: CustomContextUpdates diff --git a/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi b/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi index ce054a268..702163f28 100644 --- a/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi index f6d294728..33c6e5078 100644 --- a/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi @@ -1,25 +1,21 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AgentPool(typing_extensions.TypedDict, total=False): +class AgentPool(typing.TypedDict, total=False): bandwidthLimit: BandwidthLimit displayName: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "CREATED", "DELETING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "CREATED", "DELETING"] @typing.type_check_only -class AwsAccessKey(typing_extensions.TypedDict, total=False): +class AwsAccessKey(typing.TypedDict, total=False): accessKeyId: str secretAccessKey: str @typing.type_check_only -class AwsS3CompatibleData(typing_extensions.TypedDict, total=False): +class AwsS3CompatibleData(typing.TypedDict, total=False): bucketName: str endpoint: str path: str @@ -27,7 +23,7 @@ class AwsS3CompatibleData(typing_extensions.TypedDict, total=False): s3Metadata: S3CompatibleMetadata @typing.type_check_only -class AwsS3Data(typing_extensions.TypedDict, total=False): +class AwsS3Data(typing.TypedDict, total=False): awsAccessKey: AwsAccessKey bucketName: str cloudfrontDomain: str @@ -38,7 +34,7 @@ class AwsS3Data(typing_extensions.TypedDict, total=False): roleArn: str @typing.type_check_only -class AzureBlobStorageData(typing_extensions.TypedDict, total=False): +class AzureBlobStorageData(typing.TypedDict, total=False): azureCredentials: AzureCredentials container: str credentialsSecret: str @@ -48,33 +44,33 @@ class AzureBlobStorageData(typing_extensions.TypedDict, total=False): storageAccount: str @typing.type_check_only -class AzureCredentials(typing_extensions.TypedDict, total=False): +class AzureCredentials(typing.TypedDict, total=False): sasToken: str @typing.type_check_only -class BandwidthLimit(typing_extensions.TypedDict, total=False): +class BandwidthLimit(typing.TypedDict, total=False): limitMbps: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ErrorLogEntry(typing_extensions.TypedDict, total=False): +class ErrorLogEntry(typing.TypedDict, total=False): errorDetails: _list[str] url: str @typing.type_check_only -class ErrorSummary(typing_extensions.TypedDict, total=False): - errorCode: typing_extensions.Literal[ +class ErrorSummary(typing.TypedDict, total=False): + errorCode: typing.Literal[ "OK", "CANCELLED", "UNKNOWN", @@ -97,76 +93,74 @@ class ErrorSummary(typing_extensions.TypedDict, total=False): errorLogEntries: _list[ErrorLogEntry] @typing.type_check_only -class EventStream(typing_extensions.TypedDict, total=False): +class EventStream(typing.TypedDict, total=False): eventStreamExpirationTime: str eventStreamStartTime: str name: str @typing.type_check_only -class FederatedIdentityConfig(typing_extensions.TypedDict, total=False): +class FederatedIdentityConfig(typing.TypedDict, total=False): clientId: str tenantId: str @typing.type_check_only -class GcsData(typing_extensions.TypedDict, total=False): +class GcsData(typing.TypedDict, total=False): bucketName: str managedFolderTransferEnabled: bool path: str @typing.type_check_only -class GoogleServiceAccount(typing_extensions.TypedDict, total=False): +class GoogleServiceAccount(typing.TypedDict, total=False): accountEmail: str subjectId: str @typing.type_check_only -class HdfsData(typing_extensions.TypedDict, total=False): +class HdfsData(typing.TypedDict, total=False): path: str @typing.type_check_only -class HttpData(typing_extensions.TypedDict, total=False): +class HttpData(typing.TypedDict, total=False): listUrl: str @typing.type_check_only -class ListAgentPoolsResponse(typing_extensions.TypedDict, total=False): +class ListAgentPoolsResponse(typing.TypedDict, total=False): agentPools: _list[AgentPool] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTransferJobsResponse(typing_extensions.TypedDict, total=False): +class ListTransferJobsResponse(typing.TypedDict, total=False): nextPageToken: str transferJobs: _list[TransferJob] @typing.type_check_only -class LoggingConfig(typing_extensions.TypedDict, total=False): +class LoggingConfig(typing.TypedDict, total=False): enableOnpremGcsTransferLogs: bool logActionStates: _list[ - typing_extensions.Literal[ + typing.Literal[ "LOGGABLE_ACTION_STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED" ] ] logActions: _list[ - typing_extensions.Literal[ - "LOGGABLE_ACTION_UNSPECIFIED", "FIND", "DELETE", "COPY" - ] + typing.Literal["LOGGABLE_ACTION_UNSPECIFIED", "FIND", "DELETE", "COPY"] ] @typing.type_check_only -class MetadataOptions(typing_extensions.TypedDict, total=False): - acl: typing_extensions.Literal[ +class MetadataOptions(typing.TypedDict, total=False): + acl: typing.Literal[ "ACL_UNSPECIFIED", "ACL_DESTINATION_BUCKET_DEFAULT", "ACL_PRESERVE" ] - gid: typing_extensions.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER"] - kmsKey: typing_extensions.Literal[ + gid: typing.Literal["GID_UNSPECIFIED", "GID_SKIP", "GID_NUMBER"] + kmsKey: typing.Literal[ "KMS_KEY_UNSPECIFIED", "KMS_KEY_DESTINATION_BUCKET_DEFAULT", "KMS_KEY_PRESERVE" ] - mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] - storageClass: typing_extensions.Literal[ + mode: typing.Literal["MODE_UNSPECIFIED", "MODE_SKIP", "MODE_PRESERVE"] + storageClass: typing.Literal[ "STORAGE_CLASS_UNSPECIFIED", "STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT", "STORAGE_CLASS_PRESERVE", @@ -175,36 +169,32 @@ class MetadataOptions(typing_extensions.TypedDict, total=False): "STORAGE_CLASS_COLDLINE", "STORAGE_CLASS_ARCHIVE", ] - symlink: typing_extensions.Literal[ - "SYMLINK_UNSPECIFIED", "SYMLINK_SKIP", "SYMLINK_PRESERVE" - ] - temporaryHold: typing_extensions.Literal[ + symlink: typing.Literal["SYMLINK_UNSPECIFIED", "SYMLINK_SKIP", "SYMLINK_PRESERVE"] + temporaryHold: typing.Literal[ "TEMPORARY_HOLD_UNSPECIFIED", "TEMPORARY_HOLD_SKIP", "TEMPORARY_HOLD_PRESERVE" ] - timeCreated: typing_extensions.Literal[ + timeCreated: typing.Literal[ "TIME_CREATED_UNSPECIFIED", "TIME_CREATED_SKIP", "TIME_CREATED_PRESERVE_AS_CUSTOM_TIME", ] - uid: typing_extensions.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER"] + uid: typing.Literal["UID_UNSPECIFIED", "UID_SKIP", "UID_NUMBER"] @typing.type_check_only -class NotificationConfig(typing_extensions.TypedDict, total=False): +class NotificationConfig(typing.TypedDict, total=False): eventTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "EVENT_TYPE_UNSPECIFIED", "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED", ] ] - payloadFormat: typing_extensions.Literal[ - "PAYLOAD_FORMAT_UNSPECIFIED", "NONE", "JSON" - ] + payloadFormat: typing.Literal["PAYLOAD_FORMAT_UNSPECIFIED", "NONE", "JSON"] pubsubTopic: str @typing.type_check_only -class ObjectConditions(typing_extensions.TypedDict, total=False): +class ObjectConditions(typing.TypedDict, total=False): excludePrefixes: _list[str] includePrefixes: _list[str] includeStorageClasses: _list[str] @@ -215,7 +205,7 @@ class ObjectConditions(typing_extensions.TypedDict, total=False): minTimeElapsedSinceLastModification: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -223,49 +213,47 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PauseTransferOperationRequest(typing_extensions.TypedDict, total=False): ... +class PauseTransferOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PosixFilesystem(typing_extensions.TypedDict, total=False): +class PosixFilesystem(typing.TypedDict, total=False): rootDirectory: str @typing.type_check_only -class ReplicationSpec(typing_extensions.TypedDict, total=False): +class ReplicationSpec(typing.TypedDict, total=False): gcsDataSink: GcsData gcsDataSource: GcsData objectConditions: ObjectConditions transferOptions: TransferOptions @typing.type_check_only -class ResumeTransferOperationRequest(typing_extensions.TypedDict, total=False): ... +class ResumeTransferOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RunTransferJobRequest(typing_extensions.TypedDict, total=False): +class RunTransferJobRequest(typing.TypedDict, total=False): projectId: str @typing.type_check_only -class S3CompatibleMetadata(typing_extensions.TypedDict, total=False): - authMethod: typing_extensions.Literal[ +class S3CompatibleMetadata(typing.TypedDict, total=False): + authMethod: typing.Literal[ "AUTH_METHOD_UNSPECIFIED", "AUTH_METHOD_AWS_SIGNATURE_V4", "AUTH_METHOD_AWS_SIGNATURE_V2", ] - listApi: typing_extensions.Literal[ - "LIST_API_UNSPECIFIED", "LIST_OBJECTS_V2", "LIST_OBJECTS" - ] - protocol: typing_extensions.Literal[ + listApi: typing.Literal["LIST_API_UNSPECIFIED", "LIST_OBJECTS_V2", "LIST_OBJECTS"] + protocol: typing.Literal[ "NETWORK_PROTOCOL_UNSPECIFIED", "NETWORK_PROTOCOL_HTTPS", "NETWORK_PROTOCOL_HTTP", ] - requestModel: typing_extensions.Literal[ + requestModel: typing.Literal[ "REQUEST_MODEL_UNSPECIFIED", "REQUEST_MODEL_VIRTUAL_HOSTED_STYLE", "REQUEST_MODEL_PATH_STYLE", ] @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): endTimeOfDay: TimeOfDay repeatInterval: str scheduleEndDate: Date @@ -273,20 +261,20 @@ class Schedule(typing_extensions.TypedDict, total=False): startTimeOfDay: TimeOfDay @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TransferCounters(typing_extensions.TypedDict, total=False): +class TransferCounters(typing.TypedDict, total=False): bytesCopiedToSink: str bytesDeletedFromSink: str bytesDeletedFromSource: str @@ -312,7 +300,7 @@ class TransferCounters(typing_extensions.TypedDict, total=False): unsupportedS3GlacierObjectsSkippedCount: str @typing.type_check_only -class TransferJob(typing_extensions.TypedDict, total=False): +class TransferJob(typing.TypedDict, total=False): creationTime: str deletionTime: str description: str @@ -326,17 +314,15 @@ class TransferJob(typing_extensions.TypedDict, total=False): replicationSpec: ReplicationSpec schedule: Schedule serviceAccount: str - status: typing_extensions.Literal[ - "STATUS_UNSPECIFIED", "ENABLED", "DISABLED", "DELETED" - ] + status: typing.Literal["STATUS_UNSPECIFIED", "ENABLED", "DISABLED", "DELETED"] transferSpec: TransferSpec @typing.type_check_only -class TransferManifest(typing_extensions.TypedDict, total=False): +class TransferManifest(typing.TypedDict, total=False): location: str @typing.type_check_only -class TransferOperation(typing_extensions.TypedDict, total=False): +class TransferOperation(typing.TypedDict, total=False): counters: TransferCounters endTime: str errorBreakdowns: _list[ErrorSummary] @@ -345,7 +331,7 @@ class TransferOperation(typing_extensions.TypedDict, total=False): notificationConfig: NotificationConfig projectId: str startTime: str - status: typing_extensions.Literal[ + status: typing.Literal[ "STATUS_UNSPECIFIED", "IN_PROGRESS", "PAUSED", @@ -359,17 +345,17 @@ class TransferOperation(typing_extensions.TypedDict, total=False): transferSpec: TransferSpec @typing.type_check_only -class TransferOptions(typing_extensions.TypedDict, total=False): +class TransferOptions(typing.TypedDict, total=False): deleteObjectsFromSourceAfterTransfer: bool deleteObjectsUniqueInSink: bool metadataOptions: MetadataOptions overwriteObjectsAlreadyExistingInSink: bool - overwriteWhen: typing_extensions.Literal[ + overwriteWhen: typing.Literal[ "OVERWRITE_WHEN_UNSPECIFIED", "DIFFERENT", "NEVER", "ALWAYS" ] @typing.type_check_only -class TransferSpec(typing_extensions.TypedDict, total=False): +class TransferSpec(typing.TypedDict, total=False): awsS3CompatibleDataSource: AwsS3CompatibleData awsS3DataSource: AwsS3Data azureBlobStorageDataSource: AzureBlobStorageData @@ -387,7 +373,7 @@ class TransferSpec(typing_extensions.TypedDict, total=False): transferOptions: TransferOptions @typing.type_check_only -class UpdateTransferJobRequest(typing_extensions.TypedDict, total=False): +class UpdateTransferJobRequest(typing.TypedDict, total=False): projectId: str transferJob: TransferJob updateTransferJobFieldMask: str diff --git a/googleapiclient-stubs/_apis/streetviewpublish/v1/resources.pyi b/googleapiclient-stubs/_apis/streetviewpublish/v1/resources.pyi index fbf7416fd..24910b247 100644 --- a/googleapiclient-stubs/_apis/streetviewpublish/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/streetviewpublish/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -22,8 +21,7 @@ class StreetViewPublishResource(googleapiclient.discovery.Resource): *, photoId: str, languageCode: str | None = ..., - view: typing_extensions.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] - | None = ..., + view: typing.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] | None = ..., **kwargs: typing.Any, ) -> PhotoHttpRequest: ... def startUpload( @@ -44,9 +42,7 @@ class StreetViewPublishResource(googleapiclient.discovery.Resource): self, *, body: PhotoSequence, - inputType: typing_extensions.Literal[ - "INPUT_TYPE_UNSPECIFIED", "VIDEO", "XDM" - ] + inputType: typing.Literal["INPUT_TYPE_UNSPECIFIED", "VIDEO", "XDM"] | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -58,8 +54,7 @@ class StreetViewPublishResource(googleapiclient.discovery.Resource): *, sequenceId: str, filter: str | None = ..., - view: typing_extensions.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] - | None = ..., + view: typing.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] | None = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def startUpload( @@ -92,8 +87,7 @@ class StreetViewPublishResource(googleapiclient.discovery.Resource): *, languageCode: str | None = ..., photoIds: str | _list[str] | None = ..., - view: typing_extensions.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] - | None = ..., + view: typing.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] | None = ..., **kwargs: typing.Any, ) -> BatchGetPhotosResponseHttpRequest: ... def batchUpdate( @@ -106,8 +100,7 @@ class StreetViewPublishResource(googleapiclient.discovery.Resource): languageCode: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] - | None = ..., + view: typing.Literal["BASIC", "INCLUDE_DOWNLOAD_URL"] | None = ..., **kwargs: typing.Any, ) -> ListPhotosResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/streetviewpublish/v1/schemas.pyi b/googleapiclient-stubs/_apis/streetviewpublish/v1/schemas.pyi index 574e209fc..4a56c5529 100644 --- a/googleapiclient-stubs/_apis/streetviewpublish/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/streetviewpublish/v1/schemas.pyi @@ -1,101 +1,99 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BatchDeletePhotosRequest(typing_extensions.TypedDict, total=False): +class BatchDeletePhotosRequest(typing.TypedDict, total=False): photoIds: _list[str] @typing.type_check_only -class BatchDeletePhotosResponse(typing_extensions.TypedDict, total=False): +class BatchDeletePhotosResponse(typing.TypedDict, total=False): status: _list[Status] @typing.type_check_only -class BatchGetPhotosResponse(typing_extensions.TypedDict, total=False): +class BatchGetPhotosResponse(typing.TypedDict, total=False): results: _list[PhotoResponse] @typing.type_check_only -class BatchUpdatePhotosRequest(typing_extensions.TypedDict, total=False): +class BatchUpdatePhotosRequest(typing.TypedDict, total=False): updatePhotoRequests: _list[UpdatePhotoRequest] @typing.type_check_only -class BatchUpdatePhotosResponse(typing_extensions.TypedDict, total=False): +class BatchUpdatePhotosResponse(typing.TypedDict, total=False): results: _list[PhotoResponse] @typing.type_check_only -class Connection(typing_extensions.TypedDict, total=False): +class Connection(typing.TypedDict, total=False): target: PhotoId @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GpsDataGapFailureDetails(typing_extensions.TypedDict, total=False): +class GpsDataGapFailureDetails(typing.TypedDict, total=False): gapDuration: str gapStartTime: str @typing.type_check_only -class Imu(typing_extensions.TypedDict, total=False): +class Imu(typing.TypedDict, total=False): accelMpsps: _list[Measurement3d] gyroRps: _list[Measurement3d] magUt: _list[Measurement3d] @typing.type_check_only -class ImuDataGapFailureDetails(typing_extensions.TypedDict, total=False): +class ImuDataGapFailureDetails(typing.TypedDict, total=False): gapDuration: str gapStartTime: str @typing.type_check_only -class InsufficientGpsFailureDetails(typing_extensions.TypedDict, total=False): +class InsufficientGpsFailureDetails(typing.TypedDict, total=False): gpsPointsFound: int @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LatLngBounds(typing_extensions.TypedDict, total=False): +class LatLngBounds(typing.TypedDict, total=False): northeast: LatLng southwest: LatLng @typing.type_check_only -class Level(typing_extensions.TypedDict, total=False): +class Level(typing.TypedDict, total=False): name: str number: float @typing.type_check_only -class ListPhotoSequencesResponse(typing_extensions.TypedDict, total=False): +class ListPhotoSequencesResponse(typing.TypedDict, total=False): nextPageToken: str photoSequences: _list[Operation] @typing.type_check_only -class ListPhotosResponse(typing_extensions.TypedDict, total=False): +class ListPhotosResponse(typing.TypedDict, total=False): nextPageToken: str photos: _list[Photo] @typing.type_check_only -class Measurement3d(typing_extensions.TypedDict, total=False): +class Measurement3d(typing.TypedDict, total=False): captureTime: str x: float y: float z: float @typing.type_check_only -class NoOverlapGpsFailureDetails(typing_extensions.TypedDict, total=False): +class NoOverlapGpsFailureDetails(typing.TypedDict, total=False): gpsEndTime: str gpsStartTime: str videoEndTime: str videoStartTime: str @typing.type_check_only -class NotOutdoorsFailureDetails(typing_extensions.TypedDict, total=False): +class NotOutdoorsFailureDetails(typing.TypedDict, total=False): startTime: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -103,11 +101,11 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Photo(typing_extensions.TypedDict, total=False): +class Photo(typing.TypedDict, total=False): captureTime: str connections: _list[Connection] downloadUrl: str - mapsPublishStatus: typing_extensions.Literal[ + mapsPublishStatus: typing.Literal[ "UNSPECIFIED_MAPS_PUBLISH_STATUS", "PUBLISHED", "REJECTED_UNKNOWN" ] photoId: PhotoId @@ -115,7 +113,7 @@ class Photo(typing_extensions.TypedDict, total=False): pose: Pose shareLink: str thumbnailUrl: str - transferStatus: typing_extensions.Literal[ + transferStatus: typing.Literal[ "TRANSFER_STATUS_UNKNOWN", "NEVER_TRANSFERRED", "PENDING", @@ -130,20 +128,20 @@ class Photo(typing_extensions.TypedDict, total=False): viewCount: str @typing.type_check_only -class PhotoId(typing_extensions.TypedDict, total=False): +class PhotoId(typing.TypedDict, total=False): id: str @typing.type_check_only -class PhotoResponse(typing_extensions.TypedDict, total=False): +class PhotoResponse(typing.TypedDict, total=False): photo: Photo status: Status @typing.type_check_only -class PhotoSequence(typing_extensions.TypedDict, total=False): +class PhotoSequence(typing.TypedDict, total=False): captureTimeOverride: str distanceMeters: float failureDetails: ProcessingFailureDetails - failureReason: typing_extensions.Literal[ + failureReason: typing.Literal[ "PROCESSING_FAILURE_REASON_UNSPECIFIED", "LOW_RESOLUTION", "DUPLICATE", @@ -171,13 +169,11 @@ class PhotoSequence(typing_extensions.TypedDict, total=False): "CAMERA_COVERED", ] filename: str - gpsSource: typing_extensions.Literal[ - "PHOTO_SEQUENCE", "CAMERA_MOTION_METADATA_TRACK" - ] + gpsSource: typing.Literal["PHOTO_SEQUENCE", "CAMERA_MOTION_METADATA_TRACK"] id: str imu: Imu photos: _list[Photo] - processingState: typing_extensions.Literal[ + processingState: typing.Literal[ "PROCESSING_STATE_UNSPECIFIED", "PENDING", "PROCESSING", "PROCESSED", "FAILED" ] rawGpsTimeline: _list[Pose] @@ -187,13 +183,13 @@ class PhotoSequence(typing_extensions.TypedDict, total=False): viewCount: str @typing.type_check_only -class Place(typing_extensions.TypedDict, total=False): +class Place(typing.TypedDict, total=False): languageCode: str name: str placeId: str @typing.type_check_only -class Pose(typing_extensions.TypedDict, total=False): +class Pose(typing.TypedDict, total=False): accuracyMeters: float altitude: float gpsRecordTimestampUnixEpoch: str @@ -204,7 +200,7 @@ class Pose(typing_extensions.TypedDict, total=False): roll: float @typing.type_check_only -class ProcessingFailureDetails(typing_extensions.TypedDict, total=False): +class ProcessingFailureDetails(typing.TypedDict, total=False): gpsDataGapDetails: GpsDataGapFailureDetails imuDataGapDetails: ImuDataGapFailureDetails insufficientGpsDetails: InsufficientGpsFailureDetails @@ -212,16 +208,16 @@ class ProcessingFailureDetails(typing_extensions.TypedDict, total=False): notOutdoorsDetails: NotOutdoorsFailureDetails @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class UpdatePhotoRequest(typing_extensions.TypedDict, total=False): +class UpdatePhotoRequest(typing.TypedDict, total=False): photo: Photo updateMask: str @typing.type_check_only -class UploadRef(typing_extensions.TypedDict, total=False): +class UploadRef(typing.TypedDict, total=False): uploadUrl: str diff --git a/googleapiclient-stubs/_apis/sts/v1/resources.pyi b/googleapiclient-stubs/_apis/sts/v1/resources.pyi index 0872e1ffc..a48e3721c 100644 --- a/googleapiclient-stubs/_apis/sts/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sts/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/sts/v1/schemas.pyi b/googleapiclient-stubs/_apis/sts/v1/schemas.pyi index 4047cade9..2f3c148e8 100644 --- a/googleapiclient-stubs/_apis/sts/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sts/v1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIdentityStsV1AccessBoundary(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1AccessBoundary(typing.TypedDict, total=False): accessBoundaryRules: _list[GoogleIdentityStsV1AccessBoundaryRule] @typing.type_check_only -class GoogleIdentityStsV1AccessBoundaryRule(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1AccessBoundaryRule(typing.TypedDict, total=False): availabilityCondition: GoogleTypeExpr availablePermissions: _list[str] availableResource: str @typing.type_check_only -class GoogleIdentityStsV1ExchangeTokenRequest(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1ExchangeTokenRequest(typing.TypedDict, total=False): audience: str grantType: str options: str @@ -31,9 +29,7 @@ class GoogleIdentityStsV1ExchangeTokenRequest(typing_extensions.TypedDict, total subjectTokenType: str @typing.type_check_only -class GoogleIdentityStsV1ExchangeTokenResponse( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityStsV1ExchangeTokenResponse(typing.TypedDict, total=False): access_boundary_session_key: str access_token: str expires_in: int @@ -41,7 +37,8 @@ class GoogleIdentityStsV1ExchangeTokenResponse( token_type: str @typing.type_check_only -class GoogleIdentityStsV1Jwk(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1Jwk(typing.TypedDict, total=False): + alg: str e: str kid: str kty: str @@ -49,11 +46,11 @@ class GoogleIdentityStsV1Jwk(typing_extensions.TypedDict, total=False): use: str @typing.type_check_only -class GoogleIdentityStsV1Jwks(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1Jwks(typing.TypedDict, total=False): keys: _list[GoogleIdentityStsV1Jwk] @typing.type_check_only -class GoogleIdentityStsV1OpenIdProviderConfig(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1OpenIdProviderConfig(typing.TypedDict, total=False): authorization_endpoint: str id_token_signing_alg_values_supported: _list[str] issuer: str @@ -63,30 +60,28 @@ class GoogleIdentityStsV1OpenIdProviderConfig(typing_extensions.TypedDict, total token_endpoint: str @typing.type_check_only -class GoogleIdentityStsV1Options(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1Options(typing.TypedDict, total=False): accessBoundary: GoogleIdentityStsV1AccessBoundary bindCertFingerprint: str userProject: str @typing.type_check_only -class GoogleIdentityStsV1betaAccessBoundary(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1betaAccessBoundary(typing.TypedDict, total=False): accessBoundaryRules: _list[GoogleIdentityStsV1betaAccessBoundaryRule] @typing.type_check_only -class GoogleIdentityStsV1betaAccessBoundaryRule( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityStsV1betaAccessBoundaryRule(typing.TypedDict, total=False): availabilityCondition: GoogleTypeExpr availablePermissions: _list[str] availableResource: str @typing.type_check_only -class GoogleIdentityStsV1betaOptions(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1betaOptions(typing.TypedDict, total=False): accessBoundary: GoogleIdentityStsV1betaAccessBoundary userProject: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/sts/v1beta/resources.pyi b/googleapiclient-stubs/_apis/sts/v1beta/resources.pyi index bd15135f0..0faec61d0 100644 --- a/googleapiclient-stubs/_apis/sts/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/sts/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi index 35188c426..fcafa7ad4 100644 --- a/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi @@ -1,47 +1,41 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): +class GoogleIamV1Binding(typing.TypedDict, total=False): condition: GoogleTypeExpr members: _list[str] role: str @typing.type_check_only -class GoogleIdentityStsV1AccessBoundary(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1AccessBoundary(typing.TypedDict, total=False): accessBoundaryRules: _list[GoogleIdentityStsV1AccessBoundaryRule] @typing.type_check_only -class GoogleIdentityStsV1AccessBoundaryRule(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1AccessBoundaryRule(typing.TypedDict, total=False): availabilityCondition: GoogleTypeExpr availablePermissions: _list[str] availableResource: str @typing.type_check_only -class GoogleIdentityStsV1Options(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1Options(typing.TypedDict, total=False): accessBoundary: GoogleIdentityStsV1AccessBoundary bindCertFingerprint: str userProject: str @typing.type_check_only -class GoogleIdentityStsV1betaAccessBoundary(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1betaAccessBoundary(typing.TypedDict, total=False): accessBoundaryRules: _list[GoogleIdentityStsV1betaAccessBoundaryRule] @typing.type_check_only -class GoogleIdentityStsV1betaAccessBoundaryRule( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityStsV1betaAccessBoundaryRule(typing.TypedDict, total=False): availabilityCondition: GoogleTypeExpr availablePermissions: _list[str] availableResource: str @typing.type_check_only -class GoogleIdentityStsV1betaExchangeTokenRequest( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityStsV1betaExchangeTokenRequest(typing.TypedDict, total=False): audience: str grantType: str options: str @@ -51,21 +45,19 @@ class GoogleIdentityStsV1betaExchangeTokenRequest( subjectTokenType: str @typing.type_check_only -class GoogleIdentityStsV1betaExchangeTokenResponse( - typing_extensions.TypedDict, total=False -): +class GoogleIdentityStsV1betaExchangeTokenResponse(typing.TypedDict, total=False): access_token: str expires_in: int issued_token_type: str token_type: str @typing.type_check_only -class GoogleIdentityStsV1betaOptions(typing_extensions.TypedDict, total=False): +class GoogleIdentityStsV1betaOptions(typing.TypedDict, total=False): accessBoundary: GoogleIdentityStsV1betaAccessBoundary userProject: str @typing.type_check_only -class GoogleTypeExpr(typing_extensions.TypedDict, total=False): +class GoogleTypeExpr(typing.TypedDict, total=False): description: str expression: str location: str diff --git a/googleapiclient-stubs/_apis/tagmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/tagmanager/v1/resources.pyi index 4aee78699..36120e4e4 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi index 1740c2eeb..90f335516 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v1/schemas.pyi @@ -1,28 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountId: str fingerprint: str name: str shareData: bool @typing.type_check_only -class AccountAccess(typing_extensions.TypedDict, total=False): +class AccountAccess(typing.TypedDict, total=False): permission: _list[ - typing_extensions.Literal[ - "read", "edit", "publish", "delete", "manage", "editWorkspace" - ] + typing.Literal["read", "edit", "publish", "delete", "manage", "editWorkspace"] ] @typing.type_check_only -class Condition(typing_extensions.TypedDict, total=False): +class Condition(typing.TypedDict, total=False): parameter: _list[Parameter] - type: typing_extensions.Literal[ + type: typing.Literal[ "equals", "contains", "startsWith", @@ -37,12 +33,12 @@ class Condition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): accountId: str containerId: str domainName: _list[str] enabledBuiltInVariable: _list[ - typing_extensions.Literal[ + typing.Literal[ "pageUrl", "pageHostname", "pagePath", @@ -160,22 +156,18 @@ class Container(typing_extensions.TypedDict, total=False): timeZoneCountryId: str timeZoneId: str usageContext: _list[ - typing_extensions.Literal[ - "web", "android", "ios", "androidSdk5", "iosSdk5", "amp" - ] + typing.Literal["web", "android", "ios", "androidSdk5", "iosSdk5", "amp"] ] @typing.type_check_only -class ContainerAccess(typing_extensions.TypedDict, total=False): +class ContainerAccess(typing.TypedDict, total=False): containerId: str permission: _list[ - typing_extensions.Literal[ - "read", "edit", "publish", "delete", "manage", "editWorkspace" - ] + typing.Literal["read", "edit", "publish", "delete", "manage", "editWorkspace"] ] @typing.type_check_only -class ContainerVersion(typing_extensions.TypedDict, total=False): +class ContainerVersion(typing.TypedDict, total=False): accountId: str container: Container containerId: str @@ -190,7 +182,7 @@ class ContainerVersion(typing_extensions.TypedDict, total=False): variable: _list[Variable] @typing.type_check_only -class ContainerVersionHeader(typing_extensions.TypedDict, total=False): +class ContainerVersionHeader(typing.TypedDict, total=False): accountId: str containerId: str containerVersionId: str @@ -201,20 +193,18 @@ class ContainerVersionHeader(typing_extensions.TypedDict, total=False): numVariables: str @typing.type_check_only -class CreateContainerVersionRequestVersionOptions( - typing_extensions.TypedDict, total=False -): +class CreateContainerVersionRequestVersionOptions(typing.TypedDict, total=False): name: str notes: str quickPreview: bool @typing.type_check_only -class CreateContainerVersionResponse(typing_extensions.TypedDict, total=False): +class CreateContainerVersionResponse(typing.TypedDict, total=False): compilerError: bool containerVersion: ContainerVersion @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): accountId: str authorizationCode: str authorizationTimestampMs: str @@ -225,11 +215,11 @@ class Environment(typing_extensions.TypedDict, total=False): environmentId: str fingerprint: str name: str - type: typing_extensions.Literal["user", "live", "latest", "draft"] + type: typing.Literal["user", "live", "latest", "draft"] url: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): accountId: str containerId: str fingerprint: str @@ -237,54 +227,54 @@ class Folder(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class FolderEntities(typing_extensions.TypedDict, total=False): +class FolderEntities(typing.TypedDict, total=False): tag: _list[Tag] trigger: _list[Trigger] variable: _list[Variable] @typing.type_check_only -class ListAccountUsersResponse(typing_extensions.TypedDict, total=False): +class ListAccountUsersResponse(typing.TypedDict, total=False): userAccess: _list[UserAccess] @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): accounts: _list[Account] @typing.type_check_only -class ListContainerVersionsResponse(typing_extensions.TypedDict, total=False): +class ListContainerVersionsResponse(typing.TypedDict, total=False): containerVersion: _list[ContainerVersion] containerVersionHeader: _list[ContainerVersionHeader] @typing.type_check_only -class ListContainersResponse(typing_extensions.TypedDict, total=False): +class ListContainersResponse(typing.TypedDict, total=False): containers: _list[Container] @typing.type_check_only -class ListEnvironmentsResponse(typing_extensions.TypedDict, total=False): +class ListEnvironmentsResponse(typing.TypedDict, total=False): environments: _list[Environment] @typing.type_check_only -class ListFoldersResponse(typing_extensions.TypedDict, total=False): +class ListFoldersResponse(typing.TypedDict, total=False): folders: _list[Folder] @typing.type_check_only -class ListTagsResponse(typing_extensions.TypedDict, total=False): +class ListTagsResponse(typing.TypedDict, total=False): tags: _list[Tag] @typing.type_check_only -class ListTriggersResponse(typing_extensions.TypedDict, total=False): +class ListTriggersResponse(typing.TypedDict, total=False): triggers: _list[Trigger] @typing.type_check_only -class ListVariablesResponse(typing_extensions.TypedDict, total=False): +class ListVariablesResponse(typing.TypedDict, total=False): variables: _list[Variable] @typing.type_check_only -class Parameter(typing_extensions.TypedDict, total=False): +class Parameter(typing.TypedDict, total=False): key: str list: _list[Parameter] map: _list[Parameter] - type: typing_extensions.Literal[ + type: typing.Literal[ "template", "integer", "boolean", @@ -296,17 +286,17 @@ class Parameter(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class PublishContainerVersionResponse(typing_extensions.TypedDict, total=False): +class PublishContainerVersionResponse(typing.TypedDict, total=False): compilerError: bool containerVersion: ContainerVersion @typing.type_check_only -class SetupTag(typing_extensions.TypedDict, total=False): +class SetupTag(typing.TypedDict, total=False): stopOnSetupFailure: bool tagName: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): accountId: str blockingTriggerId: _list[str] containerId: str @@ -322,20 +312,18 @@ class Tag(typing_extensions.TypedDict, total=False): scheduleEndMs: str scheduleStartMs: str setupTag: _list[SetupTag] - tagFiringOption: typing_extensions.Literal[ - "unlimited", "oncePerEvent", "oncePerLoad" - ] + tagFiringOption: typing.Literal["unlimited", "oncePerEvent", "oncePerLoad"] tagId: str teardownTag: _list[TeardownTag] type: str @typing.type_check_only -class TeardownTag(typing_extensions.TypedDict, total=False): +class TeardownTag(typing.TypedDict, total=False): stopTeardownOnFailure: bool tagName: str @typing.type_check_only -class Trigger(typing_extensions.TypedDict, total=False): +class Trigger(typing.TypedDict, total=False): accountId: str autoEventFilter: _list[Condition] checkValidation: Parameter @@ -356,7 +344,7 @@ class Trigger(typing_extensions.TypedDict, total=False): selector: Parameter totalTimeMinMilliseconds: Parameter triggerId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "pageview", "domReady", "windowLoaded", @@ -386,7 +374,7 @@ class Trigger(typing_extensions.TypedDict, total=False): waitForTagsTimeout: Parameter @typing.type_check_only -class UserAccess(typing_extensions.TypedDict, total=False): +class UserAccess(typing.TypedDict, total=False): accountAccess: AccountAccess accountId: str containerAccess: _list[ContainerAccess] @@ -394,7 +382,7 @@ class UserAccess(typing_extensions.TypedDict, total=False): permissionId: str @typing.type_check_only -class Variable(typing_extensions.TypedDict, total=False): +class Variable(typing.TypedDict, total=False): accountId: str containerId: str disablingTriggerId: _list[str] diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi index 9e06eff5a..d5d5e5b0b 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -133,7 +132,7 @@ class TagManagerResource(googleapiclient.discovery.Resource): self, *, parent: str, - type: typing_extensions.Literal[ + type: typing.Literal[ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", @@ -253,7 +252,7 @@ class TagManagerResource(googleapiclient.discovery.Resource): "analyticsSessionNumber", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", @@ -380,7 +379,7 @@ class TagManagerResource(googleapiclient.discovery.Resource): self, *, path: str, - type: typing_extensions.Literal[ + type: typing.Literal[ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", @@ -500,7 +499,7 @@ class TagManagerResource(googleapiclient.discovery.Resource): "analyticsSessionNumber", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", @@ -639,7 +638,7 @@ class TagManagerResource(googleapiclient.discovery.Resource): self, *, path: str, - type: typing_extensions.Literal[ + type: typing.Literal[ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", @@ -1211,7 +1210,7 @@ class TagManagerResource(googleapiclient.discovery.Resource): path: str, allowUserPermissionFeatureUpdate: bool | None = ..., containerId: str | None = ..., - settingSource: typing_extensions.Literal[ + settingSource: typing.Literal[ "settingSourceUnspecified", "current", "other" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi index d1430ba12..cd45fbf0e 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): accountId: str features: AccountFeatures fingerprint: str @@ -15,23 +13,23 @@ class Account(typing_extensions.TypedDict, total=False): tagManagerUrl: str @typing.type_check_only -class AccountAccess(typing_extensions.TypedDict, total=False): - permission: typing_extensions.Literal[ +class AccountAccess(typing.TypedDict, total=False): + permission: typing.Literal[ "accountPermissionUnspecified", "noAccess", "user", "admin" ] @typing.type_check_only -class AccountFeatures(typing_extensions.TypedDict, total=False): +class AccountFeatures(typing.TypedDict, total=False): supportMultipleContainers: bool supportUserPermissions: bool @typing.type_check_only -class BuiltInVariable(typing_extensions.TypedDict, total=False): +class BuiltInVariable(typing.TypedDict, total=False): accountId: str containerId: str name: str path: str - type: typing_extensions.Literal[ + type: typing.Literal[ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", @@ -153,11 +151,11 @@ class BuiltInVariable(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class BulkUpdateWorkspaceResponse(typing_extensions.TypedDict, total=False): +class BulkUpdateWorkspaceResponse(typing.TypedDict, total=False): changes: _list[Entity] @typing.type_check_only -class Client(typing_extensions.TypedDict, total=False): +class Client(typing.TypedDict, total=False): accountId: str clientId: str containerId: str @@ -173,62 +171,9 @@ class Client(typing_extensions.TypedDict, total=False): 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): +class Condition(typing.TypedDict, total=False): parameter: _list[Parameter] - type: typing_extensions.Literal[ + type: typing.Literal[ "conditionTypeUnspecified", "equals", "contains", @@ -244,7 +189,7 @@ class Condition(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): accountId: str containerId: str domainName: _list[str] @@ -258,7 +203,7 @@ class Container(typing_extensions.TypedDict, total=False): tagManagerUrl: str taggingServerUrls: _list[str] usageContext: _list[ - typing_extensions.Literal[ + typing.Literal[ "usageContextUnspecified", "web", "android", @@ -271,9 +216,9 @@ class Container(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ContainerAccess(typing_extensions.TypedDict, total=False): +class ContainerAccess(typing.TypedDict, total=False): containerId: str - permission: typing_extensions.Literal[ + permission: typing.Literal[ "containerPermissionUnspecified", "noAccess", "read", @@ -283,7 +228,7 @@ class ContainerAccess(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ContainerFeatures(typing_extensions.TypedDict, total=False): +class ContainerFeatures(typing.TypedDict, total=False): supportBuiltInVariables: bool supportClients: bool supportEnvironments: bool @@ -300,7 +245,7 @@ class ContainerFeatures(typing_extensions.TypedDict, total=False): supportZones: bool @typing.type_check_only -class ContainerVersion(typing_extensions.TypedDict, total=False): +class ContainerVersion(typing.TypedDict, total=False): accountId: str builtInVariable: _list[BuiltInVariable] client: _list[Client] @@ -323,7 +268,7 @@ class ContainerVersion(typing_extensions.TypedDict, total=False): zone: _list[Zone] @typing.type_check_only -class ContainerVersionHeader(typing_extensions.TypedDict, total=False): +class ContainerVersionHeader(typing.TypedDict, total=False): accountId: str containerId: str containerVersionId: str @@ -340,26 +285,23 @@ class ContainerVersionHeader(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class CreateBuiltInVariableResponse(typing_extensions.TypedDict, total=False): +class CreateBuiltInVariableResponse(typing.TypedDict, total=False): builtInVariable: _list[BuiltInVariable] @typing.type_check_only -class CreateContainerVersionRequestVersionOptions( - typing_extensions.TypedDict, total=False -): +class CreateContainerVersionRequestVersionOptions(typing.TypedDict, total=False): name: str notes: str @typing.type_check_only -class CreateContainerVersionResponse(typing_extensions.TypedDict, total=False): +class CreateContainerVersionResponse(typing.TypedDict, total=False): compilerError: bool - compilerErrors: _list[CompilerErrorLite] containerVersion: ContainerVersion newWorkspacePath: str syncStatus: SyncStatus @typing.type_check_only -class CustomTemplate(typing_extensions.TypedDict, total=False): +class CustomTemplate(typing.TypedDict, total=False): accountId: str containerId: str fingerprint: str @@ -372,7 +314,7 @@ class CustomTemplate(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class Destination(typing_extensions.TypedDict, total=False): +class Destination(typing.TypedDict, total=False): accountId: str containerId: str destinationId: str @@ -383,9 +325,9 @@ class Destination(typing_extensions.TypedDict, total=False): tagManagerUrl: str @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): builtInVariable: BuiltInVariable - changeStatus: typing_extensions.Literal[ + changeStatus: typing.Literal[ "changeStatusUnspecified", "none", "added", "deleted", "updated" ] client: Client @@ -399,7 +341,7 @@ class Entity(typing_extensions.TypedDict, total=False): zone: Zone @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): accountId: str authorizationCode: str authorizationTimestamp: str @@ -412,12 +354,12 @@ class Environment(typing_extensions.TypedDict, total=False): name: str path: str tagManagerUrl: str - type: typing_extensions.Literal["user", "live", "latest", "workspace"] + type: typing.Literal["user", "live", "latest", "workspace"] url: str workspaceId: str @typing.type_check_only -class Folder(typing_extensions.TypedDict, total=False): +class Folder(typing.TypedDict, total=False): accountId: str containerId: str fingerprint: str @@ -429,14 +371,14 @@ class Folder(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class FolderEntities(typing_extensions.TypedDict, total=False): +class FolderEntities(typing.TypedDict, total=False): nextPageToken: str tag: _list[Tag] trigger: _list[Trigger] variable: _list[Variable] @typing.type_check_only -class GalleryReference(typing_extensions.TypedDict, total=False): +class GalleryReference(typing.TypedDict, total=False): galleryTemplateId: str host: str isModified: bool @@ -447,17 +389,17 @@ class GalleryReference(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class GetContainerSnippetResponse(typing_extensions.TypedDict, total=False): +class GetContainerSnippetResponse(typing.TypedDict, total=False): containerConfig: str snippet: str @typing.type_check_only -class GetWorkspaceStatusResponse(typing_extensions.TypedDict, total=False): +class GetWorkspaceStatusResponse(typing.TypedDict, total=False): mergeConflict: _list[MergeConflict] workspaceChange: _list[Entity] @typing.type_check_only -class GtagConfig(typing_extensions.TypedDict, total=False): +class GtagConfig(typing.TypedDict, total=False): accountId: str containerId: str fingerprint: str @@ -469,102 +411,102 @@ class GtagConfig(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class ListAccountsResponse(typing_extensions.TypedDict, total=False): +class ListAccountsResponse(typing.TypedDict, total=False): account: _list[Account] nextPageToken: str @typing.type_check_only -class ListClientsResponse(typing_extensions.TypedDict, total=False): +class ListClientsResponse(typing.TypedDict, total=False): client: _list[Client] nextPageToken: str @typing.type_check_only -class ListContainerVersionsResponse(typing_extensions.TypedDict, total=False): +class ListContainerVersionsResponse(typing.TypedDict, total=False): containerVersionHeader: _list[ContainerVersionHeader] nextPageToken: str @typing.type_check_only -class ListContainersResponse(typing_extensions.TypedDict, total=False): +class ListContainersResponse(typing.TypedDict, total=False): container: _list[Container] nextPageToken: str @typing.type_check_only -class ListDestinationsResponse(typing_extensions.TypedDict, total=False): +class ListDestinationsResponse(typing.TypedDict, total=False): destination: _list[Destination] nextPageToken: str @typing.type_check_only -class ListEnabledBuiltInVariablesResponse(typing_extensions.TypedDict, total=False): +class ListEnabledBuiltInVariablesResponse(typing.TypedDict, total=False): builtInVariable: _list[BuiltInVariable] nextPageToken: str @typing.type_check_only -class ListEnvironmentsResponse(typing_extensions.TypedDict, total=False): +class ListEnvironmentsResponse(typing.TypedDict, total=False): environment: _list[Environment] nextPageToken: str @typing.type_check_only -class ListFoldersResponse(typing_extensions.TypedDict, total=False): +class ListFoldersResponse(typing.TypedDict, total=False): folder: _list[Folder] nextPageToken: str @typing.type_check_only -class ListGtagConfigResponse(typing_extensions.TypedDict, total=False): +class ListGtagConfigResponse(typing.TypedDict, total=False): gtagConfig: _list[GtagConfig] nextPageToken: str @typing.type_check_only -class ListTagsResponse(typing_extensions.TypedDict, total=False): +class ListTagsResponse(typing.TypedDict, total=False): nextPageToken: str tag: _list[Tag] @typing.type_check_only -class ListTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListTemplatesResponse(typing.TypedDict, total=False): nextPageToken: str template: _list[CustomTemplate] @typing.type_check_only -class ListTransformationsResponse(typing_extensions.TypedDict, total=False): +class ListTransformationsResponse(typing.TypedDict, total=False): nextPageToken: str transformation: _list[Transformation] @typing.type_check_only -class ListTriggersResponse(typing_extensions.TypedDict, total=False): +class ListTriggersResponse(typing.TypedDict, total=False): nextPageToken: str trigger: _list[Trigger] @typing.type_check_only -class ListUserPermissionsResponse(typing_extensions.TypedDict, total=False): +class ListUserPermissionsResponse(typing.TypedDict, total=False): nextPageToken: str userPermission: _list[UserPermission] @typing.type_check_only -class ListVariablesResponse(typing_extensions.TypedDict, total=False): +class ListVariablesResponse(typing.TypedDict, total=False): nextPageToken: str variable: _list[Variable] @typing.type_check_only -class ListWorkspacesResponse(typing_extensions.TypedDict, total=False): +class ListWorkspacesResponse(typing.TypedDict, total=False): nextPageToken: str workspace: _list[Workspace] @typing.type_check_only -class ListZonesResponse(typing_extensions.TypedDict, total=False): +class ListZonesResponse(typing.TypedDict, total=False): nextPageToken: str zone: _list[Zone] @typing.type_check_only -class MergeConflict(typing_extensions.TypedDict, total=False): +class MergeConflict(typing.TypedDict, total=False): entityInBaseVersion: Entity entityInWorkspace: Entity @typing.type_check_only -class Parameter(typing_extensions.TypedDict, total=False): +class Parameter(typing.TypedDict, total=False): isWeakReference: bool key: str list: _list[Parameter] map: _list[Parameter] - type: typing_extensions.Literal[ + type: typing.Literal[ "typeUnspecified", "template", "integer", @@ -577,75 +519,73 @@ class Parameter(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class ProposedChange(typing_extensions.TypedDict, total=False): +class ProposedChange(typing.TypedDict, total=False): changes: _list[Entity] @typing.type_check_only -class PublishContainerVersionResponse(typing_extensions.TypedDict, total=False): +class PublishContainerVersionResponse(typing.TypedDict, total=False): compilerError: bool - compilerErrors: _list[CompilerErrorLite] containerVersion: ContainerVersion @typing.type_check_only -class QuickPreviewResponse(typing_extensions.TypedDict, total=False): +class QuickPreviewResponse(typing.TypedDict, total=False): compilerError: bool - compilerErrors: _list[CompilerErrorLite] containerVersion: ContainerVersion syncStatus: SyncStatus @typing.type_check_only -class RevertBuiltInVariableResponse(typing_extensions.TypedDict, total=False): +class RevertBuiltInVariableResponse(typing.TypedDict, total=False): enabled: bool @typing.type_check_only -class RevertClientResponse(typing_extensions.TypedDict, total=False): +class RevertClientResponse(typing.TypedDict, total=False): client: Client @typing.type_check_only -class RevertFolderResponse(typing_extensions.TypedDict, total=False): +class RevertFolderResponse(typing.TypedDict, total=False): folder: Folder @typing.type_check_only -class RevertTagResponse(typing_extensions.TypedDict, total=False): +class RevertTagResponse(typing.TypedDict, total=False): tag: Tag @typing.type_check_only -class RevertTemplateResponse(typing_extensions.TypedDict, total=False): +class RevertTemplateResponse(typing.TypedDict, total=False): template: CustomTemplate @typing.type_check_only -class RevertTransformationResponse(typing_extensions.TypedDict, total=False): +class RevertTransformationResponse(typing.TypedDict, total=False): transformation: Transformation @typing.type_check_only -class RevertTriggerResponse(typing_extensions.TypedDict, total=False): +class RevertTriggerResponse(typing.TypedDict, total=False): trigger: Trigger @typing.type_check_only -class RevertVariableResponse(typing_extensions.TypedDict, total=False): +class RevertVariableResponse(typing.TypedDict, total=False): variable: Variable @typing.type_check_only -class RevertZoneResponse(typing_extensions.TypedDict, total=False): +class RevertZoneResponse(typing.TypedDict, total=False): zone: Zone @typing.type_check_only -class SetupTag(typing_extensions.TypedDict, total=False): +class SetupTag(typing.TypedDict, total=False): stopOnSetupFailure: bool tagName: str @typing.type_check_only -class SyncStatus(typing_extensions.TypedDict, total=False): +class SyncStatus(typing.TypedDict, total=False): mergeConflict: bool syncError: bool @typing.type_check_only -class SyncWorkspaceResponse(typing_extensions.TypedDict, total=False): +class SyncWorkspaceResponse(typing.TypedDict, total=False): mergeConflict: _list[MergeConflict] syncStatus: SyncStatus @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): accountId: str blockingTriggerId: _list[str] consentSettings: TagConsentSetting @@ -665,7 +605,7 @@ class Tag(typing_extensions.TypedDict, total=False): scheduleEndMs: str scheduleStartMs: str setupTag: _list[SetupTag] - tagFiringOption: typing_extensions.Literal[ + tagFiringOption: typing.Literal[ "tagFiringOptionUnspecified", "unlimited", "oncePerEvent", "oncePerLoad" ] tagId: str @@ -675,17 +615,17 @@ class Tag(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class TagConsentSetting(typing_extensions.TypedDict, total=False): - consentStatus: typing_extensions.Literal["notSet", "notNeeded", "needed"] +class TagConsentSetting(typing.TypedDict, total=False): + consentStatus: typing.Literal["notSet", "notNeeded", "needed"] consentType: Parameter @typing.type_check_only -class TeardownTag(typing_extensions.TypedDict, total=False): +class TeardownTag(typing.TypedDict, total=False): stopTeardownOnFailure: bool tagName: str @typing.type_check_only -class Transformation(typing_extensions.TypedDict, total=False): +class Transformation(typing.TypedDict, total=False): accountId: str containerId: str fingerprint: str @@ -700,7 +640,7 @@ class Transformation(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class Trigger(typing_extensions.TypedDict, total=False): +class Trigger(typing.TypedDict, total=False): accountId: str autoEventFilter: _list[Condition] checkValidation: Parameter @@ -724,7 +664,7 @@ class Trigger(typing_extensions.TypedDict, total=False): tagManagerUrl: str totalTimeMinMilliseconds: Parameter triggerId: str - type: typing_extensions.Literal[ + type: typing.Literal[ "eventTypeUnspecified", "pageview", "domReady", @@ -771,7 +711,7 @@ class Trigger(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class UserPermission(typing_extensions.TypedDict, total=False): +class UserPermission(typing.TypedDict, total=False): accountAccess: AccountAccess accountId: str containerAccess: _list[ContainerAccess] @@ -779,7 +719,7 @@ class UserPermission(typing_extensions.TypedDict, total=False): path: str @typing.type_check_only -class Variable(typing_extensions.TypedDict, total=False): +class Variable(typing.TypedDict, total=False): accountId: str containerId: str disablingTriggerId: _list[str] @@ -799,19 +739,19 @@ class Variable(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class VariableFormatValue(typing_extensions.TypedDict, total=False): - caseConversionType: typing_extensions.Literal["none", "lowercase", "uppercase"] +class VariableFormatValue(typing.TypedDict, total=False): + caseConversionType: typing.Literal["none", "lowercase", "uppercase"] convertFalseToValue: Parameter convertNullToValue: Parameter convertToBoolean: bool - convertToNumber: typing_extensions.Literal[ - "decimalSeparatorTypeUnspecified", "period", "comma" + convertToNumber: typing.Literal[ + "decimalSeparatorTypeUnspecified", "period", "comma", "automatic" ] convertTrueToValue: Parameter convertUndefinedToValue: Parameter @typing.type_check_only -class Workspace(typing_extensions.TypedDict, total=False): +class Workspace(typing.TypedDict, total=False): accountId: str containerId: str description: str @@ -822,7 +762,7 @@ class Workspace(typing_extensions.TypedDict, total=False): workspaceId: str @typing.type_check_only -class Zone(typing_extensions.TypedDict, total=False): +class Zone(typing.TypedDict, total=False): accountId: str boundary: ZoneBoundary childContainer: _list[ZoneChildContainer] @@ -837,16 +777,16 @@ class Zone(typing_extensions.TypedDict, total=False): zoneId: str @typing.type_check_only -class ZoneBoundary(typing_extensions.TypedDict, total=False): +class ZoneBoundary(typing.TypedDict, total=False): condition: _list[Condition] customEvaluationTriggerId: _list[str] @typing.type_check_only -class ZoneChildContainer(typing_extensions.TypedDict, total=False): +class ZoneChildContainer(typing.TypedDict, total=False): nickname: str publicId: str @typing.type_check_only -class ZoneTypeRestriction(typing_extensions.TypedDict, total=False): +class ZoneTypeRestriction(typing.TypedDict, total=False): enable: bool whitelistedTypeId: _list[str] diff --git a/googleapiclient-stubs/_apis/tasks/v1/resources.pyi b/googleapiclient-stubs/_apis/tasks/v1/resources.pyi index 9afe0bbb4..1c79096e3 100644 --- a/googleapiclient-stubs/_apis/tasks/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/tasks/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/tasks/v1/schemas.pyi b/googleapiclient-stubs/_apis/tasks/v1/schemas.pyi index b7a7faa2f..0e8dbeac7 100644 --- a/googleapiclient-stubs/_apis/tasks/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tasks/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AssignmentInfo(typing_extensions.TypedDict, total=False): +class AssignmentInfo(typing.TypedDict, total=False): driveResourceInfo: DriveResourceInfo linkToTask: str spaceInfo: SpaceInfo - surfaceType: typing_extensions.Literal[ + surfaceType: typing.Literal[ "CONTEXT_TYPE_UNSPECIFIED", "GMAIL", "DOCUMENT", "SPACE" ] @typing.type_check_only -class DriveResourceInfo(typing_extensions.TypedDict, total=False): +class DriveResourceInfo(typing.TypedDict, total=False): driveFileId: str resourceKey: str @typing.type_check_only -class SpaceInfo(typing_extensions.TypedDict, total=False): +class SpaceInfo(typing.TypedDict, total=False): space: str @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): assignmentInfo: AssignmentInfo completed: str deleted: bool @@ -43,7 +41,7 @@ class Task(typing_extensions.TypedDict, total=False): webViewLink: str @typing.type_check_only -class TaskList(typing_extensions.TypedDict, total=False): +class TaskList(typing.TypedDict, total=False): etag: str id: str kind: str @@ -52,14 +50,14 @@ class TaskList(typing_extensions.TypedDict, total=False): updated: str @typing.type_check_only -class TaskLists(typing_extensions.TypedDict, total=False): +class TaskLists(typing.TypedDict, total=False): etag: str items: _list[TaskList] kind: str nextPageToken: str @typing.type_check_only -class Tasks(typing_extensions.TypedDict, total=False): +class Tasks(typing.TypedDict, total=False): etag: str items: _list[Task] kind: str diff --git a/googleapiclient-stubs/_apis/testing/v1/resources.pyi b/googleapiclient-stubs/_apis/testing/v1/resources.pyi index 96767a419..f102d3dbc 100644 --- a/googleapiclient-stubs/_apis/testing/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/testing/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -88,7 +87,7 @@ class TestingResource(googleapiclient.discovery.Resource): def get( self, *, - environmentType: typing_extensions.Literal[ + environmentType: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "ANDROID", "IOS", diff --git a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi index 5d1112017..b3d74d48d 100644 --- a/googleapiclient-stubs/_apis/testing/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/testing/v1/schemas.pyi @@ -1,36 +1,34 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Account(typing_extensions.TypedDict, total=False): +class Account(typing.TypedDict, total=False): googleAuto: GoogleAuto @typing.type_check_only -class AndroidDevice(typing_extensions.TypedDict, total=False): +class AndroidDevice(typing.TypedDict, total=False): androidModelId: str androidVersionId: str locale: str orientation: str @typing.type_check_only -class AndroidDeviceCatalog(typing_extensions.TypedDict, total=False): +class AndroidDeviceCatalog(typing.TypedDict, total=False): models: _list[AndroidModel] runtimeConfiguration: AndroidRuntimeConfiguration versions: _list[AndroidVersion] @typing.type_check_only -class AndroidDeviceList(typing_extensions.TypedDict, total=False): +class AndroidDeviceList(typing.TypedDict, total=False): androidDevices: _list[AndroidDevice] @typing.type_check_only -class AndroidInstrumentationTest(typing_extensions.TypedDict, total=False): +class AndroidInstrumentationTest(typing.TypedDict, total=False): appApk: FileReference appBundle: AppBundle appPackageId: str - orchestratorOption: typing_extensions.Literal[ + orchestratorOption: typing.Literal[ "ORCHESTRATOR_OPTION_UNSPECIFIED", "USE_ORCHESTRATOR", "DO_NOT_USE_ORCHESTRATOR" ] shardingOption: ShardingOption @@ -40,25 +38,21 @@ class AndroidInstrumentationTest(typing_extensions.TypedDict, total=False): testTargets: _list[str] @typing.type_check_only -class AndroidMatrix(typing_extensions.TypedDict, total=False): +class AndroidMatrix(typing.TypedDict, total=False): androidModelIds: _list[str] androidVersionIds: _list[str] locales: _list[str] orientations: _list[str] @typing.type_check_only -class AndroidModel(typing_extensions.TypedDict, total=False): +class AndroidModel(typing.TypedDict, total=False): accessDeniedReasons: _list[ - typing_extensions.Literal[ - "ACCESS_DENIED_REASON_UNSPECIFIED", "EULA_NOT_ACCEPTED" - ] + typing.Literal["ACCESS_DENIED_REASON_UNSPECIFIED", "EULA_NOT_ACCEPTED"] ] brand: str codename: str - form: typing_extensions.Literal[ - "DEVICE_FORM_UNSPECIFIED", "VIRTUAL", "PHYSICAL", "EMULATOR" - ] - formFactor: typing_extensions.Literal[ + form: typing.Literal["DEVICE_FORM_UNSPECIFIED", "VIRTUAL", "PHYSICAL", "EMULATOR"] + formFactor: typing.Literal[ "DEVICE_FORM_FACTOR_UNSPECIFIED", "PHONE", "TABLET", @@ -83,7 +77,7 @@ class AndroidModel(typing_extensions.TypedDict, total=False): thumbnailUrl: str @typing.type_check_only -class AndroidRoboTest(typing_extensions.TypedDict, total=False): +class AndroidRoboTest(typing.TypedDict, total=False): appApk: FileReference appBundle: AppBundle appInitialActivity: str @@ -91,19 +85,19 @@ class AndroidRoboTest(typing_extensions.TypedDict, total=False): maxDepth: int maxSteps: int roboDirectives: _list[RoboDirective] - roboMode: typing_extensions.Literal[ + roboMode: typing.Literal[ "ROBO_MODE_UNSPECIFIED", "ROBO_VERSION_1", "ROBO_VERSION_2" ] roboScript: FileReference startingIntents: _list[RoboStartingIntent] @typing.type_check_only -class AndroidRuntimeConfiguration(typing_extensions.TypedDict, total=False): +class AndroidRuntimeConfiguration(typing.TypedDict, total=False): locales: _list[Locale] orientations: _list[Orientation] @typing.type_check_only -class AndroidTestLoop(typing_extensions.TypedDict, total=False): +class AndroidTestLoop(typing.TypedDict, total=False): appApk: FileReference appBundle: AppBundle appPackageId: str @@ -111,7 +105,7 @@ class AndroidTestLoop(typing_extensions.TypedDict, total=False): scenarios: _list[int] @typing.type_check_only -class AndroidVersion(typing_extensions.TypedDict, total=False): +class AndroidVersion(typing.TypedDict, total=False): apiLevel: int codeName: str distribution: Distribution @@ -121,16 +115,16 @@ class AndroidVersion(typing_extensions.TypedDict, total=False): versionString: str @typing.type_check_only -class Apk(typing_extensions.TypedDict, total=False): +class Apk(typing.TypedDict, total=False): location: FileReference packageName: str @typing.type_check_only -class ApkDetail(typing_extensions.TypedDict, total=False): +class ApkDetail(typing.TypedDict, total=False): apkManifest: ApkManifest @typing.type_check_only -class ApkManifest(typing_extensions.TypedDict, total=False): +class ApkManifest(typing.TypedDict, total=False): applicationLabel: str intentFilters: _list[IntentFilter] maxSdkVersion: int @@ -146,20 +140,20 @@ class ApkManifest(typing_extensions.TypedDict, total=False): versionName: str @typing.type_check_only -class ApkSplits(typing_extensions.TypedDict, total=False): +class ApkSplits(typing.TypedDict, total=False): bundleSplits: _list[FileReference] @typing.type_check_only -class AppBundle(typing_extensions.TypedDict, total=False): +class AppBundle(typing.TypedDict, total=False): apks: ApkSplits bundleLocation: FileReference @typing.type_check_only -class CancelDeviceSessionRequest(typing_extensions.TypedDict, total=False): ... +class CancelDeviceSessionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelTestMatrixResponse(typing_extensions.TypedDict, total=False): - testState: typing_extensions.Literal[ +class CancelTestMatrixResponse(typing.TypedDict, total=False): + testState: typing.Literal[ "TEST_STATE_UNSPECIFIED", "VALIDATING", "PENDING", @@ -174,40 +168,38 @@ class CancelTestMatrixResponse(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ClientInfo(typing_extensions.TypedDict, total=False): +class ClientInfo(typing.TypedDict, total=False): clientInfoDetails: _list[ClientInfoDetail] name: str @typing.type_check_only -class ClientInfoDetail(typing_extensions.TypedDict, total=False): +class ClientInfoDetail(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class DeviceFile(typing_extensions.TypedDict, total=False): +class DeviceFile(typing.TypedDict, total=False): obbFile: ObbFile regularFile: RegularFile @typing.type_check_only -class DeviceIpBlock(typing_extensions.TypedDict, total=False): +class DeviceIpBlock(typing.TypedDict, total=False): addedDate: Date block: str - form: typing_extensions.Literal[ - "DEVICE_FORM_UNSPECIFIED", "VIRTUAL", "PHYSICAL", "EMULATOR" - ] + form: typing.Literal["DEVICE_FORM_UNSPECIFIED", "VIRTUAL", "PHYSICAL", "EMULATOR"] @typing.type_check_only -class DeviceIpBlockCatalog(typing_extensions.TypedDict, total=False): +class DeviceIpBlockCatalog(typing.TypedDict, total=False): ipBlocks: _list[DeviceIpBlock] @typing.type_check_only -class DeviceSession(typing_extensions.TypedDict, total=False): +class DeviceSession(typing.TypedDict, total=False): activeStartTime: str androidDevice: AndroidDevice createTime: str @@ -215,7 +207,7 @@ class DeviceSession(typing_extensions.TypedDict, total=False): expireTime: str inactivityTimeout: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "SESSION_STATE_UNSPECIFIED", "REQUESTED", "PENDING", @@ -229,83 +221,83 @@ class DeviceSession(typing_extensions.TypedDict, total=False): ttl: str @typing.type_check_only -class DirectAccessVersionInfo(typing_extensions.TypedDict, total=False): +class DirectAccessVersionInfo(typing.TypedDict, total=False): directAccessSupported: bool minimumAndroidStudioVersion: str @typing.type_check_only -class Distribution(typing_extensions.TypedDict, total=False): +class Distribution(typing.TypedDict, total=False): marketShare: float measurementTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): androidDevice: AndroidDevice iosDevice: IosDevice @typing.type_check_only -class EnvironmentMatrix(typing_extensions.TypedDict, total=False): +class EnvironmentMatrix(typing.TypedDict, total=False): androidDeviceList: AndroidDeviceList androidMatrix: AndroidMatrix iosDeviceList: IosDeviceList @typing.type_check_only -class EnvironmentVariable(typing_extensions.TypedDict, total=False): +class EnvironmentVariable(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class FileReference(typing_extensions.TypedDict, total=False): +class FileReference(typing.TypedDict, total=False): gcsPath: str @typing.type_check_only -class GetApkDetailsResponse(typing_extensions.TypedDict, total=False): +class GetApkDetailsResponse(typing.TypedDict, total=False): apkDetail: ApkDetail @typing.type_check_only -class GoogleAuto(typing_extensions.TypedDict, total=False): ... +class GoogleAuto(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleCloudStorage(typing_extensions.TypedDict, total=False): +class GoogleCloudStorage(typing.TypedDict, total=False): gcsPath: str @typing.type_check_only -class IntentFilter(typing_extensions.TypedDict, total=False): +class IntentFilter(typing.TypedDict, total=False): actionNames: _list[str] categoryNames: _list[str] mimeType: str @typing.type_check_only -class IosDevice(typing_extensions.TypedDict, total=False): +class IosDevice(typing.TypedDict, total=False): iosModelId: str iosVersionId: str locale: str orientation: str @typing.type_check_only -class IosDeviceCatalog(typing_extensions.TypedDict, total=False): +class IosDeviceCatalog(typing.TypedDict, total=False): models: _list[IosModel] runtimeConfiguration: IosRuntimeConfiguration versions: _list[IosVersion] xcodeVersions: _list[XcodeVersion] @typing.type_check_only -class IosDeviceFile(typing_extensions.TypedDict, total=False): +class IosDeviceFile(typing.TypedDict, total=False): bundleId: str content: FileReference devicePath: str @typing.type_check_only -class IosDeviceList(typing_extensions.TypedDict, total=False): +class IosDeviceList(typing.TypedDict, total=False): iosDevices: _list[IosDevice] @typing.type_check_only -class IosModel(typing_extensions.TypedDict, total=False): +class IosModel(typing.TypedDict, total=False): deviceCapabilities: _list[str] - formFactor: typing_extensions.Literal[ + formFactor: typing.Literal[ "DEVICE_FORM_FACTOR_UNSPECIFIED", "PHONE", "TABLET", @@ -325,31 +317,31 @@ class IosModel(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class IosRoboTest(typing_extensions.TypedDict, total=False): +class IosRoboTest(typing.TypedDict, total=False): appBundleId: str appIpa: FileReference roboScript: FileReference @typing.type_check_only -class IosRuntimeConfiguration(typing_extensions.TypedDict, total=False): +class IosRuntimeConfiguration(typing.TypedDict, total=False): locales: _list[Locale] orientations: _list[Orientation] @typing.type_check_only -class IosTestLoop(typing_extensions.TypedDict, total=False): +class IosTestLoop(typing.TypedDict, total=False): appBundleId: str appIpa: FileReference scenarios: _list[int] @typing.type_check_only -class IosTestSetup(typing_extensions.TypedDict, total=False): +class IosTestSetup(typing.TypedDict, total=False): additionalIpas: _list[FileReference] networkProfile: str pullDirectories: _list[IosDeviceFile] pushFiles: _list[IosDeviceFile] @typing.type_check_only -class IosVersion(typing_extensions.TypedDict, total=False): +class IosVersion(typing.TypedDict, total=False): id: str majorVersion: int minorVersion: int @@ -357,7 +349,7 @@ class IosVersion(typing_extensions.TypedDict, total=False): tags: _list[str] @typing.type_check_only -class IosXcTest(typing_extensions.TypedDict, total=False): +class IosXcTest(typing.TypedDict, total=False): appBundleId: str testSpecialEntitlements: bool testsZip: FileReference @@ -365,66 +357,66 @@ class IosXcTest(typing_extensions.TypedDict, total=False): xctestrun: FileReference @typing.type_check_only -class LabInfo(typing_extensions.TypedDict, total=False): +class LabInfo(typing.TypedDict, total=False): name: str regionCode: str @typing.type_check_only -class LauncherActivityIntent(typing_extensions.TypedDict, total=False): ... +class LauncherActivityIntent(typing.TypedDict, total=False): ... @typing.type_check_only -class ListDeviceSessionsResponse(typing_extensions.TypedDict, total=False): +class ListDeviceSessionsResponse(typing.TypedDict, total=False): deviceSessions: _list[DeviceSession] nextPageToken: str @typing.type_check_only -class Locale(typing_extensions.TypedDict, total=False): +class Locale(typing.TypedDict, total=False): id: str name: str region: str tags: _list[str] @typing.type_check_only -class ManualSharding(typing_extensions.TypedDict, total=False): +class ManualSharding(typing.TypedDict, total=False): testTargetsForShard: _list[TestTargetsForShard] @typing.type_check_only -class MatrixErrorDetail(typing_extensions.TypedDict, total=False): +class MatrixErrorDetail(typing.TypedDict, total=False): message: str reason: str @typing.type_check_only -class Metadata(typing_extensions.TypedDict, total=False): +class Metadata(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class NetworkConfiguration(typing_extensions.TypedDict, total=False): +class NetworkConfiguration(typing.TypedDict, total=False): downRule: TrafficRule id: str upRule: TrafficRule @typing.type_check_only -class NetworkConfigurationCatalog(typing_extensions.TypedDict, total=False): +class NetworkConfigurationCatalog(typing.TypedDict, total=False): configurations: _list[NetworkConfiguration] @typing.type_check_only -class NoActivityIntent(typing_extensions.TypedDict, total=False): ... +class NoActivityIntent(typing.TypedDict, total=False): ... @typing.type_check_only -class ObbFile(typing_extensions.TypedDict, total=False): +class ObbFile(typing.TypedDict, total=False): obb: FileReference obbFileName: str @typing.type_check_only -class Orientation(typing_extensions.TypedDict, total=False): +class Orientation(typing.TypedDict, total=False): id: str name: str tags: _list[str] @typing.type_check_only -class PerAndroidVersionInfo(typing_extensions.TypedDict, total=False): - deviceCapacity: typing_extensions.Literal[ +class PerAndroidVersionInfo(typing.TypedDict, total=False): + deviceCapacity: typing.Literal[ "DEVICE_CAPACITY_UNSPECIFIED", "DEVICE_CAPACITY_HIGH", "DEVICE_CAPACITY_MEDIUM", @@ -436,8 +428,8 @@ class PerAndroidVersionInfo(typing_extensions.TypedDict, total=False): versionId: str @typing.type_check_only -class PerIosVersionInfo(typing_extensions.TypedDict, total=False): - deviceCapacity: typing_extensions.Literal[ +class PerIosVersionInfo(typing.TypedDict, total=False): + deviceCapacity: typing.Literal[ "DEVICE_CAPACITY_UNSPECIFIED", "DEVICE_CAPACITY_HIGH", "DEVICE_CAPACITY_MEDIUM", @@ -447,46 +439,46 @@ class PerIosVersionInfo(typing_extensions.TypedDict, total=False): versionId: str @typing.type_check_only -class ProvidedSoftwareCatalog(typing_extensions.TypedDict, total=False): +class ProvidedSoftwareCatalog(typing.TypedDict, total=False): androidxOrchestratorVersion: str orchestratorVersion: str @typing.type_check_only -class RegularFile(typing_extensions.TypedDict, total=False): +class RegularFile(typing.TypedDict, total=False): content: FileReference devicePath: str @typing.type_check_only -class ResultStorage(typing_extensions.TypedDict, total=False): +class ResultStorage(typing.TypedDict, total=False): googleCloudStorage: GoogleCloudStorage resultsUrl: str toolResultsExecution: ToolResultsExecution toolResultsHistory: ToolResultsHistory @typing.type_check_only -class RoboDirective(typing_extensions.TypedDict, total=False): - actionType: typing_extensions.Literal[ +class RoboDirective(typing.TypedDict, total=False): + actionType: typing.Literal[ "ACTION_TYPE_UNSPECIFIED", "SINGLE_CLICK", "ENTER_TEXT", "IGNORE" ] inputText: str resourceName: str @typing.type_check_only -class RoboStartingIntent(typing_extensions.TypedDict, total=False): +class RoboStartingIntent(typing.TypedDict, total=False): launcherActivity: LauncherActivityIntent noActivity: NoActivityIntent startActivity: StartActivityIntent timeout: str @typing.type_check_only -class Service(typing_extensions.TypedDict, total=False): +class Service(typing.TypedDict, total=False): intentFilter: _list[IntentFilter] name: str @typing.type_check_only -class SessionStateEvent(typing_extensions.TypedDict, total=False): +class SessionStateEvent(typing.TypedDict, total=False): eventTime: str - sessionState: typing_extensions.Literal[ + sessionState: typing.Literal[ "SESSION_STATE_UNSPECIFIED", "REQUESTED", "PENDING", @@ -499,39 +491,39 @@ class SessionStateEvent(typing_extensions.TypedDict, total=False): stateMessage: str @typing.type_check_only -class Shard(typing_extensions.TypedDict, total=False): +class Shard(typing.TypedDict, total=False): estimatedShardDuration: str numShards: int shardIndex: int testTargetsForShard: TestTargetsForShard @typing.type_check_only -class ShardingOption(typing_extensions.TypedDict, total=False): +class ShardingOption(typing.TypedDict, total=False): manualSharding: ManualSharding smartSharding: SmartSharding uniformSharding: UniformSharding @typing.type_check_only -class SmartSharding(typing_extensions.TypedDict, total=False): +class SmartSharding(typing.TypedDict, total=False): targetedShardDuration: str @typing.type_check_only -class StartActivityIntent(typing_extensions.TypedDict, total=False): +class StartActivityIntent(typing.TypedDict, total=False): action: str categories: _list[str] uri: str @typing.type_check_only -class SystraceSetup(typing_extensions.TypedDict, total=False): +class SystraceSetup(typing.TypedDict, total=False): durationSeconds: int @typing.type_check_only -class TestDetails(typing_extensions.TypedDict, total=False): +class TestDetails(typing.TypedDict, total=False): errorMessage: str progressMessages: _list[str] @typing.type_check_only -class TestEnvironmentCatalog(typing_extensions.TypedDict, total=False): +class TestEnvironmentCatalog(typing.TypedDict, total=False): androidDeviceCatalog: AndroidDeviceCatalog deviceIpBlockCatalog: DeviceIpBlockCatalog iosDeviceCatalog: IosDeviceCatalog @@ -539,13 +531,13 @@ class TestEnvironmentCatalog(typing_extensions.TypedDict, total=False): softwareCatalog: ProvidedSoftwareCatalog @typing.type_check_only -class TestExecution(typing_extensions.TypedDict, total=False): +class TestExecution(typing.TypedDict, total=False): environment: Environment id: str matrixId: str projectId: str shard: Shard - state: typing_extensions.Literal[ + state: typing.Literal[ "TEST_STATE_UNSPECIFIED", "VALIDATING", "PENDING", @@ -564,13 +556,13 @@ class TestExecution(typing_extensions.TypedDict, total=False): toolResultsStep: ToolResultsStep @typing.type_check_only -class TestMatrix(typing_extensions.TypedDict, total=False): +class TestMatrix(typing.TypedDict, total=False): clientInfo: ClientInfo environmentMatrix: EnvironmentMatrix extendedInvalidMatrixDetails: _list[MatrixErrorDetail] failFast: bool flakyTestAttempts: int - invalidMatrixDetails: typing_extensions.Literal[ + invalidMatrixDetails: typing.Literal[ "INVALID_MATRIX_DETAILS_UNSPECIFIED", "DETAILS_UNAVAILABLE", "MALFORMED_APK", @@ -611,12 +603,12 @@ class TestMatrix(typing_extensions.TypedDict, total=False): "SERVICE_NOT_ACTIVATED", "UNKNOWN_PERMISSION_ERROR", ] - outcomeSummary: typing_extensions.Literal[ + outcomeSummary: typing.Literal[ "OUTCOME_SUMMARY_UNSPECIFIED", "SUCCESS", "FAILURE", "INCONCLUSIVE", "SKIPPED" ] projectId: str resultStorage: ResultStorage - state: typing_extensions.Literal[ + state: typing.Literal[ "TEST_STATE_UNSPECIFIED", "VALIDATING", "PENDING", @@ -635,7 +627,7 @@ class TestMatrix(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class TestSetup(typing_extensions.TypedDict, total=False): +class TestSetup(typing.TypedDict, total=False): account: Account additionalApks: _list[Apk] directoriesToPull: _list[str] @@ -647,7 +639,7 @@ class TestSetup(typing_extensions.TypedDict, total=False): systrace: SystraceSetup @typing.type_check_only -class TestSpecification(typing_extensions.TypedDict, total=False): +class TestSpecification(typing.TypedDict, total=False): androidInstrumentationTest: AndroidInstrumentationTest androidRoboTest: AndroidRoboTest androidTestLoop: AndroidTestLoop @@ -661,29 +653,29 @@ class TestSpecification(typing_extensions.TypedDict, total=False): testTimeout: str @typing.type_check_only -class TestTargetsForShard(typing_extensions.TypedDict, total=False): +class TestTargetsForShard(typing.TypedDict, total=False): testTargets: _list[str] @typing.type_check_only -class ToolResultsExecution(typing_extensions.TypedDict, total=False): +class ToolResultsExecution(typing.TypedDict, total=False): executionId: str historyId: str projectId: str @typing.type_check_only -class ToolResultsHistory(typing_extensions.TypedDict, total=False): +class ToolResultsHistory(typing.TypedDict, total=False): historyId: str projectId: str @typing.type_check_only -class ToolResultsStep(typing_extensions.TypedDict, total=False): +class ToolResultsStep(typing.TypedDict, total=False): executionId: str historyId: str projectId: str stepId: str @typing.type_check_only -class TrafficRule(typing_extensions.TypedDict, total=False): +class TrafficRule(typing.TypedDict, total=False): bandwidth: float burst: float delay: str @@ -691,20 +683,20 @@ class TrafficRule(typing_extensions.TypedDict, total=False): packetLossRatio: float @typing.type_check_only -class UniformSharding(typing_extensions.TypedDict, total=False): +class UniformSharding(typing.TypedDict, total=False): numShards: int @typing.type_check_only -class UsesFeature(typing_extensions.TypedDict, total=False): +class UsesFeature(typing.TypedDict, total=False): isRequired: bool name: str @typing.type_check_only -class UsesPermissionTag(typing_extensions.TypedDict, total=False): +class UsesPermissionTag(typing.TypedDict, total=False): maxSdkVersion: int name: str @typing.type_check_only -class XcodeVersion(typing_extensions.TypedDict, total=False): +class XcodeVersion(typing.TypedDict, total=False): tags: _list[str] version: str diff --git a/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi b/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi index 8b88acc3c..49837c37a 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi index a10762e0a..fa33a5bd2 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdvancedVoiceOptions(typing_extensions.TypedDict, total=False): +class AdvancedVoiceOptions(typing.TypedDict, total=False): enableTextnorm: bool lowLatencyJourneySynthesis: bool relaxSafetyFilters: bool safetySettings: SafetySettings @typing.type_check_only -class AudioConfig(typing_extensions.TypedDict, total=False): - audioEncoding: typing_extensions.Literal[ +class AudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MP3", @@ -30,11 +28,11 @@ class AudioConfig(typing_extensions.TypedDict, total=False): volumeGainDb: float @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomPronunciationParams(typing_extensions.TypedDict, total=False): - phoneticEncoding: typing_extensions.Literal[ +class CustomPronunciationParams(typing.TypedDict, total=False): + phoneticEncoding: typing.Literal[ "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", "PHONETIC_ENCODING_X_SAMPA", @@ -45,52 +43,50 @@ class CustomPronunciationParams(typing_extensions.TypedDict, total=False): pronunciation: str @typing.type_check_only -class CustomPronunciations(typing_extensions.TypedDict, total=False): +class CustomPronunciations(typing.TypedDict, total=False): pronunciations: _list[CustomPronunciationParams] @typing.type_check_only -class CustomVoiceParams(typing_extensions.TypedDict, total=False): +class CustomVoiceParams(typing.TypedDict, total=False): model: str - reportedUsage: typing_extensions.Literal[ - "REPORTED_USAGE_UNSPECIFIED", "REALTIME", "OFFLINE" - ] + reportedUsage: typing.Literal["REPORTED_USAGE_UNSPECIFIED", "REALTIME", "OFFLINE"] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only class GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lastUpdateTime: str progressPercentage: float startTime: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListVoicesResponse(typing_extensions.TypedDict, total=False): +class ListVoicesResponse(typing.TypedDict, total=False): voices: _list[Voice] @typing.type_check_only -class MultiSpeakerMarkup(typing_extensions.TypedDict, total=False): +class MultiSpeakerMarkup(typing.TypedDict, total=False): turns: _list[Turn] @typing.type_check_only -class MultiSpeakerVoiceConfig(typing_extensions.TypedDict, total=False): +class MultiSpeakerVoiceConfig(typing.TypedDict, total=False): speakerVoiceConfigs: _list[MultispeakerPrebuiltVoice] @typing.type_check_only -class MultispeakerPrebuiltVoice(typing_extensions.TypedDict, total=False): +class MultispeakerPrebuiltVoice(typing.TypedDict, total=False): speakerAlias: str speakerId: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -98,15 +94,15 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class SafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class SafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", ] - threshold: typing_extensions.Literal[ + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -116,17 +112,17 @@ class SafetySetting(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SafetySettings(typing_extensions.TypedDict, total=False): +class SafetySettings(typing.TypedDict, total=False): settings: _list[SafetySetting] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SynthesisInput(typing_extensions.TypedDict, total=False): +class SynthesisInput(typing.TypedDict, total=False): customPronunciations: CustomPronunciations markup: str multiSpeakerMarkup: MultiSpeakerMarkup @@ -135,55 +131,55 @@ class SynthesisInput(typing_extensions.TypedDict, total=False): text: str @typing.type_check_only -class SynthesizeLongAudioMetadata(typing_extensions.TypedDict, total=False): +class SynthesizeLongAudioMetadata(typing.TypedDict, total=False): lastUpdateTime: str progressPercentage: float startTime: str @typing.type_check_only -class SynthesizeLongAudioRequest(typing_extensions.TypedDict, total=False): +class SynthesizeLongAudioRequest(typing.TypedDict, total=False): audioConfig: AudioConfig input: SynthesisInput outputGcsUri: str voice: VoiceSelectionParams @typing.type_check_only -class SynthesizeSpeechRequest(typing_extensions.TypedDict, total=False): +class SynthesizeSpeechRequest(typing.TypedDict, total=False): advancedVoiceOptions: AdvancedVoiceOptions audioConfig: AudioConfig input: SynthesisInput voice: VoiceSelectionParams @typing.type_check_only -class SynthesizeSpeechResponse(typing_extensions.TypedDict, total=False): +class SynthesizeSpeechResponse(typing.TypedDict, total=False): audioContent: str @typing.type_check_only -class Turn(typing_extensions.TypedDict, total=False): +class Turn(typing.TypedDict, total=False): speaker: str text: str @typing.type_check_only -class Voice(typing_extensions.TypedDict, total=False): +class Voice(typing.TypedDict, total=False): languageCodes: _list[str] name: str naturalSampleRateHertz: int - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "MALE", "FEMALE", "NEUTRAL" ] @typing.type_check_only -class VoiceCloneParams(typing_extensions.TypedDict, total=False): +class VoiceCloneParams(typing.TypedDict, total=False): voiceCloningKey: str @typing.type_check_only -class VoiceSelectionParams(typing_extensions.TypedDict, total=False): +class VoiceSelectionParams(typing.TypedDict, total=False): customVoice: CustomVoiceParams languageCode: str modelName: str multiSpeakerVoiceConfig: MultiSpeakerVoiceConfig name: str - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "MALE", "FEMALE", "NEUTRAL" ] voiceClone: VoiceCloneParams diff --git a/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi index bd0625d99..d1e8e72d2 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi index f6ec2216f..356b25bdd 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdvancedVoiceOptions(typing_extensions.TypedDict, total=False): +class AdvancedVoiceOptions(typing.TypedDict, total=False): enableTextnorm: bool lowLatencyJourneySynthesis: bool relaxSafetyFilters: bool safetySettings: SafetySettings @typing.type_check_only -class AudioConfig(typing_extensions.TypedDict, total=False): - audioEncoding: typing_extensions.Literal[ +class AudioConfig(typing.TypedDict, total=False): + audioEncoding: typing.Literal[ "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MP3", @@ -31,8 +29,8 @@ class AudioConfig(typing_extensions.TypedDict, total=False): volumeGainDb: float @typing.type_check_only -class CustomPronunciationParams(typing_extensions.TypedDict, total=False): - phoneticEncoding: typing_extensions.Literal[ +class CustomPronunciationParams(typing.TypedDict, total=False): + phoneticEncoding: typing.Literal[ "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", "PHONETIC_ENCODING_X_SAMPA", @@ -43,49 +41,47 @@ class CustomPronunciationParams(typing_extensions.TypedDict, total=False): pronunciation: str @typing.type_check_only -class CustomPronunciations(typing_extensions.TypedDict, total=False): +class CustomPronunciations(typing.TypedDict, total=False): pronunciations: _list[CustomPronunciationParams] @typing.type_check_only -class CustomVoiceParams(typing_extensions.TypedDict, total=False): +class CustomVoiceParams(typing.TypedDict, total=False): model: str - reportedUsage: typing_extensions.Literal[ - "REPORTED_USAGE_UNSPECIFIED", "REALTIME", "OFFLINE" - ] + reportedUsage: typing.Literal["REPORTED_USAGE_UNSPECIFIED", "REALTIME", "OFFLINE"] @typing.type_check_only class GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): lastUpdateTime: str progressPercentage: float startTime: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListVoicesResponse(typing_extensions.TypedDict, total=False): +class ListVoicesResponse(typing.TypedDict, total=False): voices: _list[Voice] @typing.type_check_only -class MultiSpeakerMarkup(typing_extensions.TypedDict, total=False): +class MultiSpeakerMarkup(typing.TypedDict, total=False): turns: _list[Turn] @typing.type_check_only -class MultiSpeakerVoiceConfig(typing_extensions.TypedDict, total=False): +class MultiSpeakerVoiceConfig(typing.TypedDict, total=False): speakerVoiceConfigs: _list[MultispeakerPrebuiltVoice] @typing.type_check_only -class MultispeakerPrebuiltVoice(typing_extensions.TypedDict, total=False): +class MultispeakerPrebuiltVoice(typing.TypedDict, total=False): speakerAlias: str speakerId: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -93,15 +89,15 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class SafetySetting(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class SafetySetting(typing.TypedDict, total=False): + category: typing.Literal[ "HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_SEXUALLY_EXPLICIT", ] - threshold: typing_extensions.Literal[ + threshold: typing.Literal[ "HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", @@ -111,17 +107,17 @@ class SafetySetting(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SafetySettings(typing_extensions.TypedDict, total=False): +class SafetySettings(typing.TypedDict, total=False): settings: _list[SafetySetting] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SynthesisInput(typing_extensions.TypedDict, total=False): +class SynthesisInput(typing.TypedDict, total=False): customPronunciations: CustomPronunciations markup: str multiSpeakerMarkup: MultiSpeakerMarkup @@ -130,65 +126,63 @@ class SynthesisInput(typing_extensions.TypedDict, total=False): text: str @typing.type_check_only -class SynthesizeLongAudioMetadata(typing_extensions.TypedDict, total=False): +class SynthesizeLongAudioMetadata(typing.TypedDict, total=False): lastUpdateTime: str progressPercentage: float startTime: str @typing.type_check_only -class SynthesizeLongAudioRequest(typing_extensions.TypedDict, total=False): +class SynthesizeLongAudioRequest(typing.TypedDict, total=False): audioConfig: AudioConfig input: SynthesisInput outputGcsUri: str voice: VoiceSelectionParams @typing.type_check_only -class SynthesizeSpeechRequest(typing_extensions.TypedDict, total=False): +class SynthesizeSpeechRequest(typing.TypedDict, total=False): advancedVoiceOptions: AdvancedVoiceOptions audioConfig: AudioConfig - enableTimePointing: _list[ - typing_extensions.Literal["TIMEPOINT_TYPE_UNSPECIFIED", "SSML_MARK"] - ] + enableTimePointing: _list[typing.Literal["TIMEPOINT_TYPE_UNSPECIFIED", "SSML_MARK"]] input: SynthesisInput voice: VoiceSelectionParams @typing.type_check_only -class SynthesizeSpeechResponse(typing_extensions.TypedDict, total=False): +class SynthesizeSpeechResponse(typing.TypedDict, total=False): audioConfig: AudioConfig audioContent: str timepoints: _list[Timepoint] @typing.type_check_only -class Timepoint(typing_extensions.TypedDict, total=False): +class Timepoint(typing.TypedDict, total=False): markName: str timeSeconds: float @typing.type_check_only -class Turn(typing_extensions.TypedDict, total=False): +class Turn(typing.TypedDict, total=False): speaker: str text: str @typing.type_check_only -class Voice(typing_extensions.TypedDict, total=False): +class Voice(typing.TypedDict, total=False): languageCodes: _list[str] name: str naturalSampleRateHertz: int - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "MALE", "FEMALE", "NEUTRAL" ] @typing.type_check_only -class VoiceCloneParams(typing_extensions.TypedDict, total=False): +class VoiceCloneParams(typing.TypedDict, total=False): voiceCloningKey: str @typing.type_check_only -class VoiceSelectionParams(typing_extensions.TypedDict, total=False): +class VoiceSelectionParams(typing.TypedDict, total=False): customVoice: CustomVoiceParams languageCode: str modelName: str multiSpeakerVoiceConfig: MultiSpeakerVoiceConfig name: str - ssmlGender: typing_extensions.Literal[ + ssmlGender: typing.Literal[ "SSML_VOICE_GENDER_UNSPECIFIED", "MALE", "FEMALE", "NEUTRAL" ] voiceClone: VoiceCloneParams diff --git a/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi b/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi index e318d7170..81ac62b3f 100644 --- a/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -51,6 +50,9 @@ class ThreatIntelligenceServiceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> AlertHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> AlertHttpRequest: ... + def getPassword( + self, *, name: str, **kwargs: typing.Any + ) -> GetPasswordResponseHttpRequest: ... def list( self, *, @@ -246,6 +248,14 @@ class FindingHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Finding: ... +@typing.type_check_only +class GetPasswordResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetPasswordResponse: ... + @typing.type_check_only class ListAlertsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi index abe97aaed..103e0a3c9 100644 --- a/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Alert(typing_extensions.TypedDict, total=False): +class Alert(typing.TypedDict, total=False): aiSummary: str audit: Audit configurations: _list[str] @@ -21,7 +19,7 @@ class Alert(typing_extensions.TypedDict, total=False): priorityAnalysis: PriorityAnalysis relevanceAnalysis: RelevanceAnalysis severityAnalysis: SeverityAnalysis - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "NEW", "READ", @@ -36,7 +34,7 @@ class Alert(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AlertDetail(typing_extensions.TypedDict, total=False): +class AlertDetail(typing.TypedDict, total=False): dataLeak: DataLeakAlertDetail detailType: str initialAccessBroker: InitialAccessBrokerAlertDetail @@ -44,7 +42,7 @@ class AlertDetail(typing_extensions.TypedDict, total=False): targetTechnology: TargetTechnologyAlertDetail @typing.type_check_only -class AlertDocument(typing_extensions.TypedDict, total=False): +class AlertDocument(typing.TypedDict, total=False): aiSummary: str author: str collectionTime: str @@ -60,14 +58,14 @@ class AlertDocument(typing_extensions.TypedDict, total=False): translation: AlertDocumentTranslation @typing.type_check_only -class AlertDocumentTranslation(typing_extensions.TypedDict, total=False): +class AlertDocumentTranslation(typing.TypedDict, total=False): translatedContent: str translatedTitle: str @typing.type_check_only -class Association(typing_extensions.TypedDict, total=False): +class Association(typing.TypedDict, total=False): id: str - type: typing_extensions.Literal[ + type: typing.Literal[ "THREAT_INTEL_OBJECT_TYPE_UNSPECIFIED", "THREAT_INTEL_OBJECT_TYPE_THREAT_ACTOR", "THREAT_INTEL_OBJECT_TYPE_MALWARE", @@ -79,14 +77,14 @@ class Association(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Audit(typing_extensions.TypedDict, total=False): +class Audit(typing.TypedDict, total=False): createTime: str creator: str updateTime: str updater: str @typing.type_check_only -class Configuration(typing_extensions.TypedDict, total=False): +class Configuration(typing.TypedDict, total=False): audit: Audit description: str detail: ConfigurationDetail @@ -94,25 +92,28 @@ class Configuration(typing_extensions.TypedDict, total=False): etag: str name: str provider: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DEPRECATED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DEPRECATED"] version: str @typing.type_check_only -class ConfigurationDetail(typing_extensions.TypedDict, total=False): +class ConfigurationDetail(typing.TypedDict, total=False): + customThreatScenario: CustomThreatScenarioConfig customerProfile: CustomerProfileConfig detailType: str technologyWatchlist: TechnologyWatchListConfig @typing.type_check_only -class ConfigurationRevision(typing_extensions.TypedDict, total=False): +class ConfigurationRevision(typing.TypedDict, total=False): createTime: str name: str snapshot: Configuration @typing.type_check_only -class CustomerProfileCitation(typing_extensions.TypedDict, total=False): +class CustomThreatScenarioConfig(typing.TypedDict, total=False): + documentCondition: str + +@typing.type_check_only +class CustomerProfileCitation(typing.TypedDict, total=False): citationId: str document: str retrievalTime: str @@ -120,17 +121,17 @@ class CustomerProfileCitation(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class CustomerProfileCitedString(typing_extensions.TypedDict, total=False): +class CustomerProfileCitedString(typing.TypedDict, total=False): citationIds: _list[str] value: str @typing.type_check_only -class CustomerProfileCompany(typing_extensions.TypedDict, total=False): +class CustomerProfileCompany(typing.TypedDict, total=False): citationIds: _list[str] company: str @typing.type_check_only -class CustomerProfileConfig(typing_extensions.TypedDict, total=False): +class CustomerProfileConfig(typing.TypedDict, total=False): citations: _list[CustomerProfileCitation] contactInfo: _list[CustomerProfileContactInfo] executives: _list[CustomerProfilePerson] @@ -146,7 +147,7 @@ class CustomerProfileConfig(typing_extensions.TypedDict, total=False): webPresences: _list[CustomerProfileWebPresence] @typing.type_check_only -class CustomerProfileContactInfo(typing_extensions.TypedDict, total=False): +class CustomerProfileContactInfo(typing.TypedDict, total=False): address: str citationIds: _list[str] email: str @@ -155,36 +156,36 @@ class CustomerProfileContactInfo(typing_extensions.TypedDict, total=False): phone: str @typing.type_check_only -class CustomerProfileIndustry(typing_extensions.TypedDict, total=False): +class CustomerProfileIndustry(typing.TypedDict, total=False): citationIds: _list[str] industry: str @typing.type_check_only -class CustomerProfileLocation(typing_extensions.TypedDict, total=False): +class CustomerProfileLocation(typing.TypedDict, total=False): address: str brand: str citationIds: _list[str] facilityType: str @typing.type_check_only -class CustomerProfilePerson(typing_extensions.TypedDict, total=False): +class CustomerProfilePerson(typing.TypedDict, total=False): citationIds: _list[str] name: str title: str @typing.type_check_only -class CustomerProfileProduct(typing_extensions.TypedDict, total=False): +class CustomerProfileProduct(typing.TypedDict, total=False): brand: str citationIds: _list[str] product: str @typing.type_check_only -class CustomerProfileSecurityConsiderations(typing_extensions.TypedDict, total=False): +class CustomerProfileSecurityConsiderations(typing.TypedDict, total=False): considerations: _list[str] note: str @typing.type_check_only -class CustomerProfileSummary(typing_extensions.TypedDict, total=False): +class CustomerProfileSummary(typing.TypedDict, total=False): areaServed: CustomerProfileCitedString brands: CustomerProfileCitedString entityType: CustomerProfileCitedString @@ -199,34 +200,34 @@ class CustomerProfileSummary(typing_extensions.TypedDict, total=False): title: CustomerProfileCitedString @typing.type_check_only -class CustomerProfileWebPresence(typing_extensions.TypedDict, total=False): +class CustomerProfileWebPresence(typing.TypedDict, total=False): citationIds: _list[str] domain: str @typing.type_check_only -class DataLeakAlertDetail(typing_extensions.TypedDict, total=False): +class DataLeakAlertDetail(typing.TypedDict, total=False): discoveryDocumentIds: _list[str] severity: str @typing.type_check_only -class DataLeakFindingDetail(typing_extensions.TypedDict, total=False): +class DataLeakFindingDetail(typing.TypedDict, total=False): documentId: str matchScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class EnumerateAlertFacetsResponse(typing_extensions.TypedDict, total=False): +class EnumerateAlertFacetsResponse(typing.TypedDict, total=False): facets: _list[Facet] @typing.type_check_only -class Evidence(typing_extensions.TypedDict, total=False): +class Evidence(typing.TypedDict, total=False): commonThemes: _list[str] distinctThemes: _list[str] @typing.type_check_only -class Facet(typing_extensions.TypedDict, total=False): +class Facet(typing.TypedDict, total=False): facet: str facetCounts: _list[FacetCount] facetType: str @@ -235,12 +236,12 @@ class Facet(typing_extensions.TypedDict, total=False): totalCount: str @typing.type_check_only -class FacetCount(typing_extensions.TypedDict, total=False): +class FacetCount(typing.TypedDict, total=False): count: int value: str @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): aiSummary: str alert: str audit: Audit @@ -255,7 +256,7 @@ class Finding(typing_extensions.TypedDict, total=False): severityAnalysis: SeverityAnalysis @typing.type_check_only -class FindingDetail(typing_extensions.TypedDict, total=False): +class FindingDetail(typing.TypedDict, total=False): dataLeak: DataLeakFindingDetail detailType: str initialAccessBroker: InitialAccessBrokerFindingDetail @@ -263,86 +264,90 @@ class FindingDetail(typing_extensions.TypedDict, total=False): targetTechnology: TargetTechnologyFindingDetail @typing.type_check_only -class GenerateOrgProfileConfigurationRequest(typing_extensions.TypedDict, total=False): +class GenerateOrgProfileConfigurationRequest(typing.TypedDict, total=False): displayName: str domain: str @typing.type_check_only -class InitialAccessBrokerAlertDetail(typing_extensions.TypedDict, total=False): +class GetPasswordResponse(typing.TypedDict, total=False): + password: str + +@typing.type_check_only +class InitialAccessBrokerAlertDetail(typing.TypedDict, total=False): discoveryDocumentIds: _list[str] severity: str @typing.type_check_only -class InitialAccessBrokerFindingDetail(typing_extensions.TypedDict, total=False): +class InitialAccessBrokerFindingDetail(typing.TypedDict, total=False): documentId: str matchScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class InsiderThreatAlertDetail(typing_extensions.TypedDict, total=False): +class InsiderThreatAlertDetail(typing.TypedDict, total=False): discoveryDocumentIds: _list[str] severity: str @typing.type_check_only -class InsiderThreatFindingDetail(typing_extensions.TypedDict, total=False): +class InsiderThreatFindingDetail(typing.TypedDict, total=False): documentId: str matchScore: float - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] @typing.type_check_only -class ListAlertsResponse(typing_extensions.TypedDict, total=False): +class ListAlertsResponse(typing.TypedDict, total=False): alerts: _list[Alert] nextPageToken: str @typing.type_check_only -class ListConfigurationRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListConfigurationRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str revisions: _list[ConfigurationRevision] @typing.type_check_only -class ListConfigurationsResponse(typing_extensions.TypedDict, total=False): +class ListConfigurationsResponse(typing.TypedDict, total=False): configurations: _list[Configuration] nextPageToken: str @typing.type_check_only -class ListFindingsResponse(typing_extensions.TypedDict, total=False): +class ListFindingsResponse(typing.TypedDict, total=False): findings: _list[Finding] nextPageToken: str @typing.type_check_only -class MarkAlertAsBenignRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsBenignRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAlertAsDuplicateRequest(typing_extensions.TypedDict, total=False): +class MarkAlertAsDuplicateRequest(typing.TypedDict, total=False): duplicateOf: str @typing.type_check_only -class MarkAlertAsEscalatedRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsEscalatedRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAlertAsFalsePositiveRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsFalsePositiveRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAlertAsNotActionableRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsNotActionableRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAlertAsReadRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsReadRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAlertAsResolvedRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsResolvedRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAlertAsTrackedExternallyRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsTrackedExternallyRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class MarkAlertAsTriagedRequest(typing_extensions.TypedDict, total=False): ... +class MarkAlertAsTriagedRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -350,14 +355,14 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class PriorityAnalysis(typing_extensions.TypedDict, total=False): - confidence: typing_extensions.Literal[ +class PriorityAnalysis(typing.TypedDict, total=False): + confidence: typing.Literal[ "CONFIDENCE_LEVEL_UNSPECIFIED", "CONFIDENCE_LEVEL_LOW", "CONFIDENCE_LEVEL_MEDIUM", "CONFIDENCE_LEVEL_HIGH", ] - priorityLevel: typing_extensions.Literal[ + priorityLevel: typing.Literal[ "PRIORITY_LEVEL_UNSPECIFIED", "PRIORITY_LEVEL_LOW", "PRIORITY_LEVEL_MEDIUM", @@ -367,15 +372,15 @@ class PriorityAnalysis(typing_extensions.TypedDict, total=False): reasoning: str @typing.type_check_only -class ProductFix(typing_extensions.TypedDict, total=False): +class ProductFix(typing.TypedDict, total=False): displayName: str publishTime: str sourceId: str uri: str @typing.type_check_only -class PublicExploit(typing_extensions.TypedDict, total=False): - exploitGrade: typing_extensions.Literal[ +class PublicExploit(typing.TypedDict, total=False): + exploitGrade: typing.Literal[ "EXPLOIT_GRADE_UNSPECIFIED", "UNEVALUATED", "PROOF_OF_CONCEPT", @@ -385,7 +390,7 @@ class PublicExploit(typing_extensions.TypedDict, total=False): "FAKE", ] exploitName: str - exploitReliability: typing_extensions.Literal[ + exploitReliability: typing.Literal[ "EXPLOIT_RELIABILITY_UNSPECIFIED", "UNREVIEWED", "REVIEWED", "TESTED" ] releaseTime: str @@ -393,8 +398,8 @@ class PublicExploit(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class RelevanceAnalysis(typing_extensions.TypedDict, total=False): - confidence: typing_extensions.Literal[ +class RelevanceAnalysis(typing.TypedDict, total=False): + confidence: typing.Literal[ "CONFIDENCE_LEVEL_UNSPECIFIED", "CONFIDENCE_LEVEL_LOW", "CONFIDENCE_LEVEL_MEDIUM", @@ -402,7 +407,7 @@ class RelevanceAnalysis(typing_extensions.TypedDict, total=False): ] evidence: Evidence reasoning: str - relevanceLevel: typing_extensions.Literal[ + relevanceLevel: typing.Literal[ "RELEVANCE_LEVEL_UNSPECIFIED", "RELEVANCE_LEVEL_LOW", "RELEVANCE_LEVEL_MEDIUM", @@ -411,20 +416,20 @@ class RelevanceAnalysis(typing_extensions.TypedDict, total=False): relevant: bool @typing.type_check_only -class SearchFindingsResponse(typing_extensions.TypedDict, total=False): +class SearchFindingsResponse(typing.TypedDict, total=False): findings: _list[Finding] nextPageToken: str @typing.type_check_only -class SeverityAnalysis(typing_extensions.TypedDict, total=False): - confidence: typing_extensions.Literal[ +class SeverityAnalysis(typing.TypedDict, total=False): + confidence: typing.Literal[ "CONFIDENCE_LEVEL_UNSPECIFIED", "CONFIDENCE_LEVEL_LOW", "CONFIDENCE_LEVEL_MEDIUM", "CONFIDENCE_LEVEL_HIGH", ] reasoning: str - severityLevel: typing_extensions.Literal[ + severityLevel: typing.Literal[ "SEVERITY_LEVEL_UNSPECIFIED", "SEVERITY_LEVEL_LOW", "SEVERITY_LEVEL_MEDIUM", @@ -432,25 +437,25 @@ class SeverityAnalysis(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TargetTechnologyAlertDetail(typing_extensions.TypedDict, total=False): +class TargetTechnologyAlertDetail(typing.TypedDict, total=False): vulnerabilityMatch: VulnerabilityMatch @typing.type_check_only -class TargetTechnologyFindingDetail(typing_extensions.TypedDict, total=False): +class TargetTechnologyFindingDetail(typing.TypedDict, total=False): vulnerabilityMatch: VulnerabilityMatch @typing.type_check_only -class TechnologyWatchListAlertThreshold(typing_extensions.TypedDict, total=False): +class TechnologyWatchListAlertThreshold(typing.TypedDict, total=False): cvssScoreMinimum: float epssScoreMinimum: float exploitationStates: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXPLOITATION_STATE_UNSPECIFIED", "EXPLOITATION_STATE_NO_KNOWN", "EXPLOITATION_STATE_REPORTED", @@ -459,24 +464,24 @@ class TechnologyWatchListAlertThreshold(typing_extensions.TypedDict, total=False "EXPLOITATION_STATE_WIDESPREAD", ] ] - priorityMinimum: typing_extensions.Literal[ + priorityMinimum: typing.Literal[ "PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4" ] - riskRatingMinimum: typing_extensions.Literal[ + riskRatingMinimum: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNRATED" ] @typing.type_check_only -class TechnologyWatchListConfig(typing_extensions.TypedDict, total=False): +class TechnologyWatchListConfig(typing.TypedDict, total=False): alertThreshold: TechnologyWatchListAlertThreshold technologies: _list[str] @typing.type_check_only -class UpsertConfigurationResponse(typing_extensions.TypedDict, total=False): +class UpsertConfigurationResponse(typing.TypedDict, total=False): configuration: str @typing.type_check_only -class VulnerabilityMatch(typing_extensions.TypedDict, total=False): +class VulnerabilityMatch(typing.TypedDict, total=False): associations: _list[Association] collectionId: str cveId: str @@ -485,7 +490,7 @@ class VulnerabilityMatch(typing_extensions.TypedDict, total=False): disclosureTime: str epssScore: float exploitationConsequences: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXPLOITATION_CONSEQUENCE_UNSPECIFIED", "CODE_EXECUTION", "COMMAND_EXECUTION", @@ -501,7 +506,7 @@ class VulnerabilityMatch(typing_extensions.TypedDict, total=False): "SPOOFING", ] ] - exploitationState: typing_extensions.Literal[ + exploitationState: typing.Literal[ "EXPLOITATION_STATE_UNSPECIFIED", "EXPLOITATION_STATE_NO_KNOWN", "EXPLOITATION_STATE_REPORTED", @@ -510,7 +515,7 @@ class VulnerabilityMatch(typing_extensions.TypedDict, total=False): "EXPLOITATION_STATE_WIDESPREAD", ] exploitationVectors: _list[ - typing_extensions.Literal[ + typing.Literal[ "EXPLOITATION_VECTOR_UNSPECIFIED", "ADMINISTRATIVE_INTERFACE", "BLUETOOTH_ACCESS", @@ -532,13 +537,11 @@ class VulnerabilityMatch(typing_extensions.TypedDict, total=False): ] ] matchedTechnologies: _list[str] - priority: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4" - ] + priority: typing.Literal["PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4"] productFixes: _list[ProductFix] publicExploits: _list[PublicExploit] publiclyAvailableExploit: bool - riskRating: typing_extensions.Literal[ + riskRating: typing.Literal[ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNRATED" ] technologies: _list[str] diff --git a/googleapiclient-stubs/_apis/toolresults/v1beta3/resources.pyi b/googleapiclient-stubs/_apis/toolresults/v1beta3/resources.pyi index e0a76b8b6..1196f5cf9 100644 --- a/googleapiclient-stubs/_apis/toolresults/v1beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/toolresults/v1beta3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -143,7 +142,7 @@ class ToolResultsResource(googleapiclient.discovery.Resource): historyId: str, executionId: str, stepId: str, - filter: typing_extensions.Literal[ + filter: typing.Literal[ "perfMetricTypeUnspecified", "memory", "cpu", @@ -151,7 +150,7 @@ class ToolResultsResource(googleapiclient.discovery.Resource): "graphics", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "perfMetricTypeUnspecified", "memory", "cpu", diff --git a/googleapiclient-stubs/_apis/toolresults/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/toolresults/v1beta3/schemas.pyi index 4af684a14..1951fdd0c 100644 --- a/googleapiclient-stubs/_apis/toolresults/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/toolresults/v1beta3/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ANR(typing_extensions.TypedDict, total=False): +class ANR(typing.TypedDict, total=False): stackTrace: StackTrace @typing.type_check_only -class AndroidAppInfo(typing_extensions.TypedDict, total=False): +class AndroidAppInfo(typing.TypedDict, total=False): name: str packageName: str versionCode: str versionName: str @typing.type_check_only -class AndroidInstrumentationTest(typing_extensions.TypedDict, total=False): +class AndroidInstrumentationTest(typing.TypedDict, total=False): testPackageId: str testRunnerClass: str testTargets: _list[str] useOrchestrator: bool @typing.type_check_only -class AndroidRoboTest(typing_extensions.TypedDict, total=False): +class AndroidRoboTest(typing.TypedDict, total=False): appInitialActivity: str bootstrapPackageId: str bootstrapRunnerClass: str @@ -31,7 +29,7 @@ class AndroidRoboTest(typing_extensions.TypedDict, total=False): maxSteps: int @typing.type_check_only -class AndroidTest(typing_extensions.TypedDict, total=False): +class AndroidTest(typing.TypedDict, total=False): androidAppInfo: AndroidAppInfo androidInstrumentationTest: AndroidInstrumentationTest androidRoboTest: AndroidRoboTest @@ -39,30 +37,33 @@ class AndroidTest(typing_extensions.TypedDict, total=False): testTimeout: Duration @typing.type_check_only -class AndroidTestLoop(typing_extensions.TypedDict, total=False): ... +class AndroidTestLoop(typing.TypedDict, total=False): ... + +@typing.type_check_only +class AntiTamperingTermination(typing.TypedDict, total=False): ... @typing.type_check_only -class Any(typing_extensions.TypedDict, total=False): +class Any(typing.TypedDict, total=False): typeUrl: str value: str @typing.type_check_only -class AppStartTime(typing_extensions.TypedDict, total=False): +class AppStartTime(typing.TypedDict, total=False): fullyDrawnTime: Duration initialDisplayTime: Duration @typing.type_check_only -class AssetIssue(typing_extensions.TypedDict, total=False): ... +class AssetIssue(typing.TypedDict, total=False): ... @typing.type_check_only -class AvailableDeepLinks(typing_extensions.TypedDict, total=False): ... +class AvailableDeepLinks(typing.TypedDict, total=False): ... @typing.type_check_only -class BasicPerfSampleSeries(typing_extensions.TypedDict, total=False): - perfMetricType: typing_extensions.Literal[ +class BasicPerfSampleSeries(typing.TypedDict, total=False): + perfMetricType: typing.Literal[ "perfMetricTypeUnspecified", "memory", "cpu", "network", "graphics" ] - perfUnit: typing_extensions.Literal[ + perfUnit: typing.Literal[ "perfUnitUnspecified", "kibibyte", "percent", @@ -70,7 +71,7 @@ class BasicPerfSampleSeries(typing_extensions.TypedDict, total=False): "framesPerSecond", "byte", ] - sampleSeriesLabel: typing_extensions.Literal[ + sampleSeriesLabel: typing.Literal[ "sampleSeriesTypeUnspecified", "memoryRssPrivate", "memoryRssShared", @@ -87,50 +88,50 @@ class BasicPerfSampleSeries(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BatchCreatePerfSamplesRequest(typing_extensions.TypedDict, total=False): +class BatchCreatePerfSamplesRequest(typing.TypedDict, total=False): perfSamples: _list[PerfSample] @typing.type_check_only -class BatchCreatePerfSamplesResponse(typing_extensions.TypedDict, total=False): +class BatchCreatePerfSamplesResponse(typing.TypedDict, total=False): perfSamples: _list[PerfSample] @typing.type_check_only -class BlankScreen(typing_extensions.TypedDict, total=False): +class BlankScreen(typing.TypedDict, total=False): screenId: str @typing.type_check_only -class CPUInfo(typing_extensions.TypedDict, total=False): +class CPUInfo(typing.TypedDict, total=False): cpuProcessor: str cpuSpeedInGhz: float numberOfCores: int @typing.type_check_only -class CrashDialogError(typing_extensions.TypedDict, total=False): +class CrashDialogError(typing.TypedDict, total=False): crashPackage: str @typing.type_check_only -class DetectedAppSplashScreen(typing_extensions.TypedDict, total=False): ... +class DetectedAppSplashScreen(typing.TypedDict, total=False): ... @typing.type_check_only -class DeviceOutOfMemory(typing_extensions.TypedDict, total=False): ... +class DeviceOutOfMemory(typing.TypedDict, total=False): ... @typing.type_check_only -class Duration(typing_extensions.TypedDict, total=False): +class Duration(typing.TypedDict, total=False): nanos: int seconds: str @typing.type_check_only -class EncounteredLoginScreen(typing_extensions.TypedDict, total=False): +class EncounteredLoginScreen(typing.TypedDict, total=False): distinctScreens: int screenIds: _list[str] @typing.type_check_only -class EncounteredNonAndroidUiWidgetScreen(typing_extensions.TypedDict, total=False): +class EncounteredNonAndroidUiWidgetScreen(typing.TypedDict, total=False): distinctScreens: int screenIds: _list[str] @typing.type_check_only -class Environment(typing_extensions.TypedDict, total=False): +class Environment(typing.TypedDict, total=False): completionTime: Timestamp creationTime: Timestamp dimensionValue: _list[EnvironmentDimensionValueEntry] @@ -144,28 +145,26 @@ class Environment(typing_extensions.TypedDict, total=False): shardSummaries: _list[ShardSummary] @typing.type_check_only -class EnvironmentDimensionValueEntry(typing_extensions.TypedDict, total=False): +class EnvironmentDimensionValueEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class Execution(typing_extensions.TypedDict, total=False): +class Execution(typing.TypedDict, total=False): completionTime: Timestamp creationTime: Timestamp dimensionDefinitions: _list[MatrixDimensionDefinition] executionId: str outcome: Outcome specification: Specification - state: typing_extensions.Literal[ - "unknownState", "pending", "inProgress", "complete" - ] + state: typing.Literal["unknownState", "pending", "inProgress", "complete"] testExecutionMatrixId: str @typing.type_check_only -class FailedToInstall(typing_extensions.TypedDict, total=False): ... +class FailedToInstall(typing.TypedDict, total=False): ... @typing.type_check_only -class FailureDetail(typing_extensions.TypedDict, total=False): +class FailureDetail(typing.TypedDict, total=False): crashed: bool deviceOutOfMemory: bool failedRoboscript: bool @@ -175,15 +174,15 @@ class FailureDetail(typing_extensions.TypedDict, total=False): unableToCrawl: bool @typing.type_check_only -class FatalException(typing_extensions.TypedDict, total=False): +class FatalException(typing.TypedDict, total=False): stackTrace: StackTrace @typing.type_check_only -class FileReference(typing_extensions.TypedDict, total=False): +class FileReference(typing.TypedDict, total=False): fileUri: str @typing.type_check_only -class GraphicsStats(typing_extensions.TypedDict, total=False): +class GraphicsStats(typing.TypedDict, total=False): buckets: _list[GraphicsStatsBucket] highInputLatencyCount: str jankyFrames: str @@ -198,60 +197,60 @@ class GraphicsStats(typing_extensions.TypedDict, total=False): totalFrames: str @typing.type_check_only -class GraphicsStatsBucket(typing_extensions.TypedDict, total=False): +class GraphicsStatsBucket(typing.TypedDict, total=False): frameCount: str renderMillis: str @typing.type_check_only -class History(typing_extensions.TypedDict, total=False): +class History(typing.TypedDict, total=False): displayName: str historyId: str name: str - testPlatform: typing_extensions.Literal["unknownPlatform", "android", "ios"] + testPlatform: typing.Literal["unknownPlatform", "android", "ios"] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): error: Status sourceImage: ToolOutputReference stepId: str thumbnail: Thumbnail @typing.type_check_only -class InAppPurchasesFound(typing_extensions.TypedDict, total=False): +class InAppPurchasesFound(typing.TypedDict, total=False): inAppPurchasesFlowsExplored: int inAppPurchasesFlowsStarted: int @typing.type_check_only -class InconclusiveDetail(typing_extensions.TypedDict, total=False): +class InconclusiveDetail(typing.TypedDict, total=False): abortedByUser: bool hasErrorLogs: bool infrastructureFailure: bool @typing.type_check_only -class IndividualOutcome(typing_extensions.TypedDict, total=False): +class IndividualOutcome(typing.TypedDict, total=False): multistepNumber: int - outcomeSummary: typing_extensions.Literal[ + outcomeSummary: typing.Literal[ "unset", "success", "failure", "inconclusive", "skipped", "flaky" ] runDuration: Duration stepId: str @typing.type_check_only -class InsufficientCoverage(typing_extensions.TypedDict, total=False): ... +class InsufficientCoverage(typing.TypedDict, total=False): ... @typing.type_check_only -class IosAppCrashed(typing_extensions.TypedDict, total=False): +class IosAppCrashed(typing.TypedDict, total=False): stackTrace: StackTrace @typing.type_check_only -class IosAppInfo(typing_extensions.TypedDict, total=False): +class IosAppInfo(typing.TypedDict, total=False): name: str @typing.type_check_only -class IosRoboTest(typing_extensions.TypedDict, total=False): ... +class IosRoboTest(typing.TypedDict, total=False): ... @typing.type_check_only -class IosTest(typing_extensions.TypedDict, total=False): +class IosTest(typing.TypedDict, total=False): iosAppInfo: IosAppInfo iosRoboTest: IosRoboTest iosTestLoop: IosTestLoop @@ -259,22 +258,22 @@ class IosTest(typing_extensions.TypedDict, total=False): testTimeout: Duration @typing.type_check_only -class IosTestLoop(typing_extensions.TypedDict, total=False): +class IosTestLoop(typing.TypedDict, total=False): bundleId: str @typing.type_check_only -class IosXcTest(typing_extensions.TypedDict, total=False): +class IosXcTest(typing.TypedDict, total=False): bundleId: str xcodeVersion: str @typing.type_check_only -class LauncherActivityNotFound(typing_extensions.TypedDict, total=False): ... +class LauncherActivityNotFound(typing.TypedDict, total=False): ... @typing.type_check_only -class LicensingProtectionTermination(typing_extensions.TypedDict, total=False): ... +class LicensingProtectionTermination(typing.TypedDict, total=False): ... @typing.type_check_only -class ListEnvironmentsResponse(typing_extensions.TypedDict, total=False): +class ListEnvironmentsResponse(typing.TypedDict, total=False): environments: _list[Environment] executionId: str historyId: str @@ -282,84 +281,82 @@ class ListEnvironmentsResponse(typing_extensions.TypedDict, total=False): projectId: str @typing.type_check_only -class ListExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[Execution] nextPageToken: str @typing.type_check_only -class ListHistoriesResponse(typing_extensions.TypedDict, total=False): +class ListHistoriesResponse(typing.TypedDict, total=False): histories: _list[History] nextPageToken: str @typing.type_check_only -class ListPerfSampleSeriesResponse(typing_extensions.TypedDict, total=False): +class ListPerfSampleSeriesResponse(typing.TypedDict, total=False): perfSampleSeries: _list[PerfSampleSeries] @typing.type_check_only -class ListPerfSamplesResponse(typing_extensions.TypedDict, total=False): +class ListPerfSamplesResponse(typing.TypedDict, total=False): nextPageToken: str perfSamples: _list[PerfSample] @typing.type_check_only -class ListScreenshotClustersResponse(typing_extensions.TypedDict, total=False): +class ListScreenshotClustersResponse(typing.TypedDict, total=False): clusters: _list[ScreenshotCluster] @typing.type_check_only -class ListStepAccessibilityClustersResponse(typing_extensions.TypedDict, total=False): +class ListStepAccessibilityClustersResponse(typing.TypedDict, total=False): clusters: _list[SuggestionClusterProto] name: str @typing.type_check_only -class ListStepThumbnailsResponse(typing_extensions.TypedDict, total=False): +class ListStepThumbnailsResponse(typing.TypedDict, total=False): nextPageToken: str thumbnails: _list[Image] @typing.type_check_only -class ListStepsResponse(typing_extensions.TypedDict, total=False): +class ListStepsResponse(typing.TypedDict, total=False): nextPageToken: str steps: _list[Step] @typing.type_check_only -class ListTestCasesResponse(typing_extensions.TypedDict, total=False): +class ListTestCasesResponse(typing.TypedDict, total=False): nextPageToken: str testCases: _list[TestCase] @typing.type_check_only -class LogcatCollectionError(typing_extensions.TypedDict, total=False): ... +class LogcatCollectionError(typing.TypedDict, total=False): ... @typing.type_check_only -class MatrixDimensionDefinition(typing_extensions.TypedDict, total=False): ... +class MatrixDimensionDefinition(typing.TypedDict, total=False): ... @typing.type_check_only -class MemoryInfo(typing_extensions.TypedDict, total=False): +class MemoryInfo(typing.TypedDict, total=False): memoryCapInKibibyte: str memoryTotalInKibibyte: str @typing.type_check_only -class MergedResult(typing_extensions.TypedDict, total=False): +class MergedResult(typing.TypedDict, total=False): outcome: Outcome - state: typing_extensions.Literal[ - "unknownState", "pending", "inProgress", "complete" - ] + state: typing.Literal["unknownState", "pending", "inProgress", "complete"] testSuiteOverviews: _list[TestSuiteOverview] @typing.type_check_only -class MultiStep(typing_extensions.TypedDict, total=False): +class MultiStep(typing.TypedDict, total=False): multistepNumber: int primaryStep: PrimaryStep primaryStepId: str @typing.type_check_only -class NativeCrash(typing_extensions.TypedDict, total=False): +class NativeCrash(typing.TypedDict, total=False): stackTrace: StackTrace @typing.type_check_only -class NonSdkApi(typing_extensions.TypedDict, total=False): +class NonSdkApi(typing.TypedDict, total=False): apiSignature: str exampleStackTraces: _list[str] insights: _list[NonSdkApiInsight] invocationCount: int - list: typing_extensions.Literal[ + list: typing.Literal[ "NONE", "WHITE", "BLACK", @@ -372,57 +369,57 @@ class NonSdkApi(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class NonSdkApiInsight(typing_extensions.TypedDict, total=False): +class NonSdkApiInsight(typing.TypedDict, total=False): exampleTraceMessages: _list[str] matcherId: str pendingGoogleUpdateInsight: PendingGoogleUpdateInsight upgradeInsight: UpgradeInsight @typing.type_check_only -class NonSdkApiUsageViolation(typing_extensions.TypedDict, total=False): +class NonSdkApiUsageViolation(typing.TypedDict, total=False): apiSignatures: _list[str] uniqueApis: int @typing.type_check_only -class NonSdkApiUsageViolationReport(typing_extensions.TypedDict, total=False): +class NonSdkApiUsageViolationReport(typing.TypedDict, total=False): exampleApis: _list[NonSdkApi] minSdkVersion: int targetSdkVersion: int uniqueApis: int @typing.type_check_only -class Outcome(typing_extensions.TypedDict, total=False): +class Outcome(typing.TypedDict, total=False): failureDetail: FailureDetail inconclusiveDetail: InconclusiveDetail skippedDetail: SkippedDetail successDetail: SuccessDetail - summary: typing_extensions.Literal[ + summary: typing.Literal[ "unset", "success", "failure", "inconclusive", "skipped", "flaky" ] @typing.type_check_only -class OverlappingUIElements(typing_extensions.TypedDict, total=False): +class OverlappingUIElements(typing.TypedDict, total=False): resourceName: _list[str] screenId: str @typing.type_check_only -class PendingGoogleUpdateInsight(typing_extensions.TypedDict, total=False): +class PendingGoogleUpdateInsight(typing.TypedDict, total=False): nameOfGoogleLibrary: str @typing.type_check_only -class PerfEnvironment(typing_extensions.TypedDict, total=False): +class PerfEnvironment(typing.TypedDict, total=False): cpuInfo: CPUInfo memoryInfo: MemoryInfo @typing.type_check_only -class PerfMetricsSummary(typing_extensions.TypedDict, total=False): +class PerfMetricsSummary(typing.TypedDict, total=False): appStartTime: AppStartTime executionId: str graphicsStats: GraphicsStats historyId: str perfEnvironment: PerfEnvironment perfMetrics: _list[ - typing_extensions.Literal[ + typing.Literal[ "perfMetricTypeUnspecified", "memory", "cpu", "network", "graphics" ] ] @@ -430,12 +427,12 @@ class PerfMetricsSummary(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class PerfSample(typing_extensions.TypedDict, total=False): +class PerfSample(typing.TypedDict, total=False): sampleTime: Timestamp value: float @typing.type_check_only -class PerfSampleSeries(typing_extensions.TypedDict, total=False): +class PerfSampleSeries(typing.TypedDict, total=False): basicPerfSampleSeries: BasicPerfSampleSeries executionId: str historyId: str @@ -444,97 +441,97 @@ class PerfSampleSeries(typing_extensions.TypedDict, total=False): stepId: str @typing.type_check_only -class PerformedGoogleLogin(typing_extensions.TypedDict, total=False): ... +class PerformedGoogleLogin(typing.TypedDict, total=False): ... @typing.type_check_only -class PerformedMonkeyActions(typing_extensions.TypedDict, total=False): +class PerformedMonkeyActions(typing.TypedDict, total=False): totalActions: int @typing.type_check_only -class PrimaryStep(typing_extensions.TypedDict, total=False): +class PrimaryStep(typing.TypedDict, total=False): individualOutcome: _list[IndividualOutcome] - rollUp: typing_extensions.Literal[ + rollUp: typing.Literal[ "unset", "success", "failure", "inconclusive", "skipped", "flaky" ] @typing.type_check_only -class ProjectSettings(typing_extensions.TypedDict, total=False): +class ProjectSettings(typing.TypedDict, total=False): defaultBucket: str name: str @typing.type_check_only -class PublishXunitXmlFilesRequest(typing_extensions.TypedDict, total=False): +class PublishXunitXmlFilesRequest(typing.TypedDict, total=False): xunitXmlFiles: _list[FileReference] @typing.type_check_only -class RegionProto(typing_extensions.TypedDict, total=False): +class RegionProto(typing.TypedDict, total=False): heightPx: int leftPx: int topPx: int widthPx: int @typing.type_check_only -class ResultsStorage(typing_extensions.TypedDict, total=False): +class ResultsStorage(typing.TypedDict, total=False): resultsStoragePath: FileReference xunitXmlFile: FileReference @typing.type_check_only -class RoboScriptExecution(typing_extensions.TypedDict, total=False): +class RoboScriptExecution(typing.TypedDict, total=False): successfulActions: int totalActions: int @typing.type_check_only -class SafeHtmlProto(typing_extensions.TypedDict, total=False): +class SafeHtmlProto(typing.TypedDict, total=False): privateDoNotAccessOrElseSafeHtmlWrappedValue: str @typing.type_check_only -class Screen(typing_extensions.TypedDict, total=False): +class Screen(typing.TypedDict, total=False): fileReference: str locale: str model: str version: str @typing.type_check_only -class ScreenshotCluster(typing_extensions.TypedDict, total=False): +class ScreenshotCluster(typing.TypedDict, total=False): activity: str clusterId: str keyScreen: Screen screens: _list[Screen] @typing.type_check_only -class ShardSummary(typing_extensions.TypedDict, total=False): +class ShardSummary(typing.TypedDict, total=False): runs: _list[StepSummary] shardResult: MergedResult @typing.type_check_only -class SkippedDetail(typing_extensions.TypedDict, total=False): +class SkippedDetail(typing.TypedDict, total=False): incompatibleAppVersion: bool incompatibleArchitecture: bool incompatibleDevice: bool pendingTimeout: bool @typing.type_check_only -class Specification(typing_extensions.TypedDict, total=False): +class Specification(typing.TypedDict, total=False): androidTest: AndroidTest iosTest: IosTest @typing.type_check_only -class StackTrace(typing_extensions.TypedDict, total=False): +class StackTrace(typing.TypedDict, total=False): exception: str @typing.type_check_only -class StartActivityNotFound(typing_extensions.TypedDict, total=False): +class StartActivityNotFound(typing.TypedDict, total=False): action: str uri: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): completionTime: Timestamp creationTime: Timestamp description: str @@ -546,33 +543,31 @@ class Step(typing_extensions.TypedDict, total=False): name: str outcome: Outcome runDuration: Duration - state: typing_extensions.Literal[ - "unknownState", "pending", "inProgress", "complete" - ] + state: typing.Literal["unknownState", "pending", "inProgress", "complete"] stepId: str testExecutionStep: TestExecutionStep toolExecutionStep: ToolExecutionStep @typing.type_check_only -class StepDimensionValueEntry(typing_extensions.TypedDict, total=False): +class StepDimensionValueEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class StepLabelsEntry(typing_extensions.TypedDict, total=False): +class StepLabelsEntry(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class StepSummary(typing_extensions.TypedDict, total=False): ... +class StepSummary(typing.TypedDict, total=False): ... @typing.type_check_only -class SuccessDetail(typing_extensions.TypedDict, total=False): +class SuccessDetail(typing.TypedDict, total=False): otherNativeCrash: bool @typing.type_check_only -class SuggestionClusterProto(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal[ +class SuggestionClusterProto(typing.TypedDict, total=False): + category: typing.Literal[ "unknownCategory", "contentLabeling", "touchTargetSize", @@ -582,10 +577,10 @@ class SuggestionClusterProto(typing_extensions.TypedDict, total=False): suggestions: _list[SuggestionProto] @typing.type_check_only -class SuggestionProto(typing_extensions.TypedDict, total=False): +class SuggestionProto(typing.TypedDict, total=False): helpUrl: str longMessage: SafeHtmlProto - priority: typing_extensions.Literal["unknownPriority", "error", "warning", "info"] + priority: typing.Literal["unknownPriority", "error", "warning", "info"] pseudoResourceId: str region: RegionProto resourceName: str @@ -595,39 +590,39 @@ class SuggestionProto(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class TestCase(typing_extensions.TypedDict, total=False): +class TestCase(typing.TypedDict, total=False): elapsedTime: Duration endTime: Timestamp skippedMessage: str stackTraces: _list[StackTrace] startTime: Timestamp - status: typing_extensions.Literal["passed", "failed", "error", "skipped", "flaky"] + status: typing.Literal["passed", "failed", "error", "skipped", "flaky"] testCaseId: str testCaseReference: TestCaseReference toolOutputs: _list[ToolOutputReference] @typing.type_check_only -class TestCaseReference(typing_extensions.TypedDict, total=False): +class TestCaseReference(typing.TypedDict, total=False): className: str name: str testSuiteName: str @typing.type_check_only -class TestExecutionStep(typing_extensions.TypedDict, total=False): +class TestExecutionStep(typing.TypedDict, total=False): testIssues: _list[TestIssue] testSuiteOverviews: _list[TestSuiteOverview] testTiming: TestTiming toolExecution: ToolExecution @typing.type_check_only -class TestIssue(typing_extensions.TypedDict, total=False): - category: typing_extensions.Literal["unspecifiedCategory", "common", "robo"] +class TestIssue(typing.TypedDict, total=False): + category: typing.Literal["unspecifiedCategory", "common", "robo"] errorMessage: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "unspecifiedSeverity", "info", "suggestion", "warning", "severe" ] stackTrace: StackTrace - type: typing_extensions.Literal[ + type: typing.Literal[ "unspecifiedType", "fatalException", "nativeCrash", @@ -662,11 +657,12 @@ class TestIssue(typing_extensions.TypedDict, total=False): "detectedAppSplashScreen", "assetIssue", "licensingProtectionTermination", + "antiTamperingTermination", ] warning_migration: Any @typing.type_check_only -class TestSuiteOverview(typing_extensions.TypedDict, total=False): +class TestSuiteOverview(typing.TypedDict, total=False): elapsedTime: Duration errorCount: int failureCount: int @@ -677,64 +673,64 @@ class TestSuiteOverview(typing_extensions.TypedDict, total=False): xmlSource: FileReference @typing.type_check_only -class TestTiming(typing_extensions.TypedDict, total=False): +class TestTiming(typing.TypedDict, total=False): testProcessDuration: Duration @typing.type_check_only -class Thumbnail(typing_extensions.TypedDict, total=False): +class Thumbnail(typing.TypedDict, total=False): contentType: str data: str heightPx: int widthPx: int @typing.type_check_only -class Timestamp(typing_extensions.TypedDict, total=False): +class Timestamp(typing.TypedDict, total=False): nanos: int seconds: str @typing.type_check_only -class ToolExecution(typing_extensions.TypedDict, total=False): +class ToolExecution(typing.TypedDict, total=False): commandLineArguments: _list[str] exitCode: ToolExitCode toolLogs: _list[FileReference] toolOutputs: _list[ToolOutputReference] @typing.type_check_only -class ToolExecutionStep(typing_extensions.TypedDict, total=False): +class ToolExecutionStep(typing.TypedDict, total=False): toolExecution: ToolExecution @typing.type_check_only -class ToolExitCode(typing_extensions.TypedDict, total=False): +class ToolExitCode(typing.TypedDict, total=False): number: int @typing.type_check_only -class ToolOutputReference(typing_extensions.TypedDict, total=False): +class ToolOutputReference(typing.TypedDict, total=False): creationTime: Timestamp output: FileReference testCase: TestCaseReference @typing.type_check_only -class UIElementTooDeep(typing_extensions.TypedDict, total=False): +class UIElementTooDeep(typing.TypedDict, total=False): depth: int screenId: str screenStateId: str @typing.type_check_only -class UnspecifiedWarning(typing_extensions.TypedDict, total=False): ... +class UnspecifiedWarning(typing.TypedDict, total=False): ... @typing.type_check_only -class UnusedRoboDirective(typing_extensions.TypedDict, total=False): +class UnusedRoboDirective(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class UpgradeInsight(typing_extensions.TypedDict, total=False): +class UpgradeInsight(typing.TypedDict, total=False): packageName: str upgradeToVersion: str @typing.type_check_only -class UsedRoboDirective(typing_extensions.TypedDict, total=False): +class UsedRoboDirective(typing.TypedDict, total=False): resourceName: str @typing.type_check_only -class UsedRoboIgnoreDirective(typing_extensions.TypedDict, total=False): +class UsedRoboIgnoreDirective(typing.TypedDict, total=False): resourceName: str diff --git a/googleapiclient-stubs/_apis/tpu/v1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v1/resources.pyi index d26bda744..d6451a390 100644 --- a/googleapiclient-stubs/_apis/tpu/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi index d559cb300..9315a3232 100644 --- a/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1/schemas.pyi @@ -1,48 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorType(typing_extensions.TypedDict, total=False): +class AcceleratorType(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListAcceleratorTypesResponse(typing_extensions.TypedDict, total=False): +class ListAcceleratorTypesResponse(typing.TypedDict, total=False): acceleratorTypes: _list[AcceleratorType] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNodesResponse(typing_extensions.TypedDict, total=False): +class ListNodesResponse(typing.TypedDict, total=False): nextPageToken: str nodes: _list[Node] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTensorFlowVersionsResponse(typing_extensions.TypedDict, total=False): +class ListTensorFlowVersionsResponse(typing.TypedDict, total=False): nextPageToken: str tensorflowVersions: _list[TensorFlowVersion] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -50,20 +48,20 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class NetworkEndpoint(typing_extensions.TypedDict, total=False): +class NetworkEndpoint(typing.TypedDict, total=False): ipAddress: str port: int @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): acceleratorType: str - apiVersion: typing_extensions.Literal[ + apiVersion: typing.Literal[ "API_VERSION_UNSPECIFIED", "V1_ALPHA1", "V1", "V2_ALPHA1" ] cidrBlock: str createTime: str description: str - health: typing_extensions.Literal[ + health: typing.Literal[ "HEALTH_UNSPECIFIED", "HEALTHY", "DEPRECATED_UNHEALTHY", @@ -80,7 +78,7 @@ class Node(typing_extensions.TypedDict, total=False): port: str schedulingConfig: SchedulingConfig serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -103,7 +101,7 @@ class Node(typing_extensions.TypedDict, total=False): useServiceNetworking: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -111,7 +109,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -121,31 +119,31 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ReimageNodeRequest(typing_extensions.TypedDict, total=False): +class ReimageNodeRequest(typing.TypedDict, total=False): tensorflowVersion: str @typing.type_check_only -class SchedulingConfig(typing_extensions.TypedDict, total=False): +class SchedulingConfig(typing.TypedDict, total=False): preemptible: bool reserved: bool @typing.type_check_only -class StartNodeRequest(typing_extensions.TypedDict, total=False): ... +class StartNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopNodeRequest(typing_extensions.TypedDict, total=False): ... +class StopNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Symptom(typing_extensions.TypedDict, total=False): +class Symptom(typing.TypedDict, total=False): createTime: str details: str - symptomType: typing_extensions.Literal[ + symptomType: typing.Literal[ "SYMPTOM_TYPE_UNSPECIFIED", "LOW_MEMORY", "OUT_OF_MEMORY", @@ -157,6 +155,6 @@ class Symptom(typing_extensions.TypedDict, total=False): workerId: str @typing.type_check_only -class TensorFlowVersion(typing_extensions.TypedDict, total=False): +class TensorFlowVersion(typing.TypedDict, total=False): name: str version: str diff --git a/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi index 9861c261c..3053727f3 100644 --- a/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi index d559cb300..9315a3232 100644 --- a/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v1alpha1/schemas.pyi @@ -1,48 +1,46 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorType(typing_extensions.TypedDict, total=False): +class AcceleratorType(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListAcceleratorTypesResponse(typing_extensions.TypedDict, total=False): +class ListAcceleratorTypesResponse(typing.TypedDict, total=False): acceleratorTypes: _list[AcceleratorType] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNodesResponse(typing_extensions.TypedDict, total=False): +class ListNodesResponse(typing.TypedDict, total=False): nextPageToken: str nodes: _list[Node] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListTensorFlowVersionsResponse(typing_extensions.TypedDict, total=False): +class ListTensorFlowVersionsResponse(typing.TypedDict, total=False): nextPageToken: str tensorflowVersions: _list[TensorFlowVersion] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -50,20 +48,20 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class NetworkEndpoint(typing_extensions.TypedDict, total=False): +class NetworkEndpoint(typing.TypedDict, total=False): ipAddress: str port: int @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): acceleratorType: str - apiVersion: typing_extensions.Literal[ + apiVersion: typing.Literal[ "API_VERSION_UNSPECIFIED", "V1_ALPHA1", "V1", "V2_ALPHA1" ] cidrBlock: str createTime: str description: str - health: typing_extensions.Literal[ + health: typing.Literal[ "HEALTH_UNSPECIFIED", "HEALTHY", "DEPRECATED_UNHEALTHY", @@ -80,7 +78,7 @@ class Node(typing_extensions.TypedDict, total=False): port: str schedulingConfig: SchedulingConfig serviceAccount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -103,7 +101,7 @@ class Node(typing_extensions.TypedDict, total=False): useServiceNetworking: bool @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -111,7 +109,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -121,31 +119,31 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ReimageNodeRequest(typing_extensions.TypedDict, total=False): +class ReimageNodeRequest(typing.TypedDict, total=False): tensorflowVersion: str @typing.type_check_only -class SchedulingConfig(typing_extensions.TypedDict, total=False): +class SchedulingConfig(typing.TypedDict, total=False): preemptible: bool reserved: bool @typing.type_check_only -class StartNodeRequest(typing_extensions.TypedDict, total=False): ... +class StartNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopNodeRequest(typing_extensions.TypedDict, total=False): ... +class StopNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Symptom(typing_extensions.TypedDict, total=False): +class Symptom(typing.TypedDict, total=False): createTime: str details: str - symptomType: typing_extensions.Literal[ + symptomType: typing.Literal[ "SYMPTOM_TYPE_UNSPECIFIED", "LOW_MEMORY", "OUT_OF_MEMORY", @@ -157,6 +155,6 @@ class Symptom(typing_extensions.TypedDict, total=False): workerId: str @typing.type_check_only -class TensorFlowVersion(typing_extensions.TypedDict, total=False): +class TensorFlowVersion(typing.TypedDict, total=False): name: str version: str diff --git a/googleapiclient-stubs/_apis/tpu/v2/resources.pyi b/googleapiclient-stubs/_apis/tpu/v2/resources.pyi index 979f987c4..9b28d852c 100644 --- a/googleapiclient-stubs/_apis/tpu/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi index f71c61009..497c6e3a8 100644 --- a/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2/schemas.pyi @@ -1,135 +1,133 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): topology: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "V2", "V3", "V4", "V5LITE_POD", "V5P", "V6E" ] @typing.type_check_only -class AcceleratorType(typing_extensions.TypedDict, total=False): +class AcceleratorType(typing.TypedDict, total=False): acceleratorConfigs: _list[AcceleratorConfig] name: str type: str @typing.type_check_only -class AcceptedData(typing_extensions.TypedDict, total=False): ... +class AcceptedData(typing.TypedDict, total=False): ... @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): externalIp: str @typing.type_check_only -class ActiveData(typing_extensions.TypedDict, total=False): ... +class ActiveData(typing.TypedDict, total=False): ... @typing.type_check_only -class AttachedDisk(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] +class AttachedDisk(typing.TypedDict, total=False): + mode: typing.Literal["DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] sourceDisk: str @typing.type_check_only -class BootDiskConfig(typing_extensions.TypedDict, total=False): +class BootDiskConfig(typing.TypedDict, total=False): customerEncryptionKey: CustomerEncryptionKey @typing.type_check_only -class CreatingData(typing_extensions.TypedDict, total=False): ... +class CreatingData(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class DeletingData(typing_extensions.TypedDict, total=False): ... +class DeletingData(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FailedData(typing_extensions.TypedDict, total=False): +class FailedData(typing.TypedDict, total=False): error: Status @typing.type_check_only -class GenerateServiceIdentityRequest(typing_extensions.TypedDict, total=False): ... +class GenerateServiceIdentityRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GenerateServiceIdentityResponse(typing_extensions.TypedDict, total=False): +class GenerateServiceIdentityResponse(typing.TypedDict, total=False): identity: ServiceIdentity @typing.type_check_only -class GetGuestAttributesRequest(typing_extensions.TypedDict, total=False): +class GetGuestAttributesRequest(typing.TypedDict, total=False): queryPath: str workerIds: _list[str] @typing.type_check_only -class GetGuestAttributesResponse(typing_extensions.TypedDict, total=False): +class GetGuestAttributesResponse(typing.TypedDict, total=False): guestAttributes: _list[GuestAttributes] @typing.type_check_only -class Guaranteed(typing_extensions.TypedDict, total=False): +class Guaranteed(typing.TypedDict, total=False): minDuration: str @typing.type_check_only -class GuestAttributes(typing_extensions.TypedDict, total=False): +class GuestAttributes(typing.TypedDict, total=False): queryPath: str queryValue: GuestAttributesValue @typing.type_check_only -class GuestAttributesEntry(typing_extensions.TypedDict, total=False): +class GuestAttributesEntry(typing.TypedDict, total=False): key: str namespace: str value: str @typing.type_check_only -class GuestAttributesValue(typing_extensions.TypedDict, total=False): +class GuestAttributesValue(typing.TypedDict, total=False): items: _list[GuestAttributesEntry] @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ListAcceleratorTypesResponse(typing_extensions.TypedDict, total=False): +class ListAcceleratorTypesResponse(typing.TypedDict, total=False): acceleratorTypes: _list[AcceleratorType] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNodesResponse(typing_extensions.TypedDict, total=False): +class ListNodesResponse(typing.TypedDict, total=False): nextPageToken: str nodes: _list[Node] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListQueuedResourcesResponse(typing_extensions.TypedDict, total=False): +class ListQueuedResourcesResponse(typing.TypedDict, total=False): nextPageToken: str queuedResources: _list[QueuedResource] unreachable: _list[str] @typing.type_check_only -class ListRuntimeVersionsResponse(typing_extensions.TypedDict, total=False): +class ListRuntimeVersionsResponse(typing.TypedDict, total=False): nextPageToken: str runtimeVersions: _list[RuntimeVersion] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -137,12 +135,12 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MultisliceParams(typing_extensions.TypedDict, total=False): +class MultisliceParams(typing.TypedDict, total=False): nodeCount: int nodeIdPrefix: str @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): canIpForward: bool enableExternalIps: bool network: str @@ -150,16 +148,16 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class NetworkEndpoint(typing_extensions.TypedDict, total=False): +class NetworkEndpoint(typing.TypedDict, total=False): accessConfig: AccessConfig ipAddress: str port: int @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): acceleratorConfig: AcceleratorConfig acceleratorType: str - apiVersion: typing_extensions.Literal[ + apiVersion: typing.Literal[ "API_VERSION_UNSPECIFIED", "V1_ALPHA1", "V1", "V2_ALPHA1", "V2" ] bootDiskConfig: BootDiskConfig @@ -167,7 +165,7 @@ class Node(typing_extensions.TypedDict, total=False): createTime: str dataDisks: _list[AttachedDisk] description: str - health: typing_extensions.Literal[ + health: typing.Literal[ "HEALTH_UNSPECIFIED", "HEALTHY", "TIMEOUT", @@ -188,7 +186,7 @@ class Node(typing_extensions.TypedDict, total=False): schedulingConfig: SchedulingConfig serviceAccount: ServiceAccount shieldedInstanceConfig: ShieldedInstanceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -211,14 +209,14 @@ class Node(typing_extensions.TypedDict, total=False): upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class NodeSpec(typing_extensions.TypedDict, total=False): +class NodeSpec(typing.TypedDict, total=False): multisliceParams: MultisliceParams node: Node nodeId: str parent: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -226,7 +224,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -236,10 +234,10 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class ProvisioningData(typing_extensions.TypedDict, total=False): ... +class ProvisioningData(typing.TypedDict, total=False): ... @typing.type_check_only -class QueuedResource(typing_extensions.TypedDict, total=False): +class QueuedResource(typing.TypedDict, total=False): createTime: str guaranteed: Guaranteed name: str @@ -250,14 +248,14 @@ class QueuedResource(typing_extensions.TypedDict, total=False): tpu: Tpu @typing.type_check_only -class QueuedResourceState(typing_extensions.TypedDict, total=False): +class QueuedResourceState(typing.TypedDict, total=False): acceptedData: AcceptedData activeData: ActiveData creatingData: CreatingData deletingData: DeletingData failedData: FailedData provisioningData: ProvisioningData - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACCEPTED", @@ -269,14 +267,12 @@ class QueuedResourceState(typing_extensions.TypedDict, total=False): "SUSPENDED", "WAITING_FOR_RESOURCES", ] - stateInitiator: typing_extensions.Literal[ - "STATE_INITIATOR_UNSPECIFIED", "USER", "SERVICE" - ] + stateInitiator: typing.Literal["STATE_INITIATOR_UNSPECIFIED", "USER", "SERVICE"] suspendedData: SuspendedData suspendingData: SuspendingData @typing.type_check_only -class QueueingPolicy(typing_extensions.TypedDict, total=False): +class QueueingPolicy(typing.TypedDict, total=False): validAfterDuration: str validAfterTime: str validInterval: Interval @@ -284,58 +280,58 @@ class QueueingPolicy(typing_extensions.TypedDict, total=False): validUntilTime: str @typing.type_check_only -class ResetQueuedResourceRequest(typing_extensions.TypedDict, total=False): ... +class ResetQueuedResourceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RuntimeVersion(typing_extensions.TypedDict, total=False): +class RuntimeVersion(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class SchedulingConfig(typing_extensions.TypedDict, total=False): +class SchedulingConfig(typing.TypedDict, total=False): preemptible: bool reserved: bool spot: bool @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scope: _list[str] @typing.type_check_only -class ServiceIdentity(typing_extensions.TypedDict, total=False): +class ServiceIdentity(typing.TypedDict, total=False): email: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableSecureBoot: bool @typing.type_check_only -class Spot(typing_extensions.TypedDict, total=False): ... +class Spot(typing.TypedDict, total=False): ... @typing.type_check_only -class StartNodeRequest(typing_extensions.TypedDict, total=False): ... +class StartNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopNodeRequest(typing_extensions.TypedDict, total=False): ... +class StopNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SuspendedData(typing_extensions.TypedDict, total=False): ... +class SuspendedData(typing.TypedDict, total=False): ... @typing.type_check_only -class SuspendingData(typing_extensions.TypedDict, total=False): ... +class SuspendingData(typing.TypedDict, total=False): ... @typing.type_check_only -class Symptom(typing_extensions.TypedDict, total=False): +class Symptom(typing.TypedDict, total=False): createTime: str details: str - symptomType: typing_extensions.Literal[ + symptomType: typing.Literal[ "SYMPTOM_TYPE_UNSPECIFIED", "LOW_MEMORY", "OUT_OF_MEMORY", @@ -347,14 +343,14 @@ class Symptom(typing_extensions.TypedDict, total=False): workerId: str @typing.type_check_only -class Tpu(typing_extensions.TypedDict, total=False): +class Tpu(typing.TypedDict, total=False): nodeSpec: _list[NodeSpec] @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): canReschedule: bool latestWindowStartTime: str - maintenanceStatus: typing_extensions.Literal["UNKNOWN", "PENDING", "ONGOING"] - type: typing_extensions.Literal["UNKNOWN_TYPE", "SCHEDULED", "UNSCHEDULED"] + maintenanceStatus: typing.Literal["UNKNOWN", "PENDING", "ONGOING"] + type: typing.Literal["UNKNOWN_TYPE", "SCHEDULED", "UNSCHEDULED"] windowEndTime: str windowStartTime: str diff --git a/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi b/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi index 983e92fa2..1e75ce062 100644 --- a/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi index 4ed6c8201..cd6bc29c1 100644 --- a/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/tpu/v2alpha1/schemas.pyi @@ -1,43 +1,41 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratorConfig(typing_extensions.TypedDict, total=False): +class AcceleratorConfig(typing.TypedDict, total=False): topology: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "V2", "V3", "V4", "V5LITE_POD", "V5P", "V6E" ] @typing.type_check_only -class AcceleratorType(typing_extensions.TypedDict, total=False): +class AcceleratorType(typing.TypedDict, total=False): acceleratorConfigs: _list[AcceleratorConfig] name: str type: str @typing.type_check_only -class AcceptedData(typing_extensions.TypedDict, total=False): ... +class AcceptedData(typing.TypedDict, total=False): ... @typing.type_check_only -class AccessConfig(typing_extensions.TypedDict, total=False): +class AccessConfig(typing.TypedDict, total=False): externalIp: str @typing.type_check_only -class ActiveData(typing_extensions.TypedDict, total=False): ... +class ActiveData(typing.TypedDict, total=False): ... @typing.type_check_only -class AttachedDisk(typing_extensions.TypedDict, total=False): - mode: typing_extensions.Literal["DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] +class AttachedDisk(typing.TypedDict, total=False): + mode: typing.Literal["DISK_MODE_UNSPECIFIED", "READ_WRITE", "READ_ONLY"] sourceDisk: str workerIds: _list[str] @typing.type_check_only -class BestEffort(typing_extensions.TypedDict, total=False): ... +class BestEffort(typing.TypedDict, total=False): ... @typing.type_check_only -class BootDiskConfig(typing_extensions.TypedDict, total=False): +class BootDiskConfig(typing.TypedDict, total=False): customerEncryptionKey: CustomerEncryptionKey diskSizeGb: str enableConfidentialCompute: bool @@ -47,109 +45,109 @@ class BootDiskConfig(typing_extensions.TypedDict, total=False): storagePool: str @typing.type_check_only -class CreatingData(typing_extensions.TypedDict, total=False): ... +class CreatingData(typing.TypedDict, total=False): ... @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKeyName: str @typing.type_check_only -class DeletingData(typing_extensions.TypedDict, total=False): ... +class DeletingData(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FailedData(typing_extensions.TypedDict, total=False): +class FailedData(typing.TypedDict, total=False): error: Status @typing.type_check_only -class GenerateServiceIdentityRequest(typing_extensions.TypedDict, total=False): ... +class GenerateServiceIdentityRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GenerateServiceIdentityResponse(typing_extensions.TypedDict, total=False): +class GenerateServiceIdentityResponse(typing.TypedDict, total=False): identity: ServiceIdentity @typing.type_check_only -class GetGuestAttributesRequest(typing_extensions.TypedDict, total=False): +class GetGuestAttributesRequest(typing.TypedDict, total=False): queryPath: str workerIds: _list[str] @typing.type_check_only -class GetGuestAttributesResponse(typing_extensions.TypedDict, total=False): +class GetGuestAttributesResponse(typing.TypedDict, total=False): guestAttributes: _list[GuestAttributes] @typing.type_check_only -class GetMaintenanceInfoResponse(typing_extensions.TypedDict, total=False): +class GetMaintenanceInfoResponse(typing.TypedDict, total=False): nodeUpcomingMaintenances: _list[NodeUpcomingMaintenanceInfo] @typing.type_check_only -class Guaranteed(typing_extensions.TypedDict, total=False): +class Guaranteed(typing.TypedDict, total=False): minDuration: str reserved: bool @typing.type_check_only -class GuestAttributes(typing_extensions.TypedDict, total=False): +class GuestAttributes(typing.TypedDict, total=False): queryPath: str queryValue: GuestAttributesValue @typing.type_check_only -class GuestAttributesEntry(typing_extensions.TypedDict, total=False): +class GuestAttributesEntry(typing.TypedDict, total=False): key: str namespace: str value: str @typing.type_check_only -class GuestAttributesValue(typing_extensions.TypedDict, total=False): +class GuestAttributesValue(typing.TypedDict, total=False): items: _list[GuestAttributesEntry] @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ListAcceleratorTypesResponse(typing_extensions.TypedDict, total=False): +class ListAcceleratorTypesResponse(typing.TypedDict, total=False): acceleratorTypes: _list[AcceleratorType] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListNodesResponse(typing_extensions.TypedDict, total=False): +class ListNodesResponse(typing.TypedDict, total=False): nextPageToken: str nodes: _list[Node] unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListQueuedResourcesResponse(typing_extensions.TypedDict, total=False): +class ListQueuedResourcesResponse(typing.TypedDict, total=False): nextPageToken: str queuedResources: _list[QueuedResource] unreachable: _list[str] @typing.type_check_only -class ListReservationsResponse(typing_extensions.TypedDict, total=False): +class ListReservationsResponse(typing.TypedDict, total=False): nextPageToken: str reservations: _list[Reservation] @typing.type_check_only -class ListRuntimeVersionsResponse(typing_extensions.TypedDict, total=False): +class ListRuntimeVersionsResponse(typing.TypedDict, total=False): nextPageToken: str runtimeVersions: _list[RuntimeVersion] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -157,15 +155,15 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MultiNodeParams(typing_extensions.TypedDict, total=False): +class MultiNodeParams(typing.TypedDict, total=False): nodeCount: int nodeIdPrefix: str - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "THROUGHPUT_OPTIMIZED", "AVAILABILITY_OPTIMIZED" ] @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): canIpForward: bool enableExternalIps: bool network: str @@ -173,16 +171,16 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class NetworkEndpoint(typing_extensions.TypedDict, total=False): +class NetworkEndpoint(typing.TypedDict, total=False): accessConfig: AccessConfig ipAddress: str port: int @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): acceleratorConfig: AcceleratorConfig acceleratorType: str - apiVersion: typing_extensions.Literal[ + apiVersion: typing.Literal[ "API_VERSION_UNSPECIFIED", "V1_ALPHA1", "V1", "V2_ALPHA1" ] autocheckpointEnabled: bool @@ -191,7 +189,7 @@ class Node(typing_extensions.TypedDict, total=False): createTime: str dataDisks: _list[AttachedDisk] description: str - health: typing_extensions.Literal[ + health: typing.Literal[ "HEALTH_UNSPECIFIED", "HEALTHY", "TIMEOUT", @@ -212,7 +210,7 @@ class Node(typing_extensions.TypedDict, total=False): schedulingConfig: SchedulingConfig serviceAccount: ServiceAccount shieldedInstanceConfig: ShieldedInstanceConfig - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "READY", @@ -235,20 +233,20 @@ class Node(typing_extensions.TypedDict, total=False): upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class NodeSpec(typing_extensions.TypedDict, total=False): +class NodeSpec(typing.TypedDict, total=False): multiNodeParams: MultiNodeParams node: Node nodeId: str parent: str @typing.type_check_only -class NodeUpcomingMaintenanceInfo(typing_extensions.TypedDict, total=False): +class NodeUpcomingMaintenanceInfo(typing.TypedDict, total=False): nodeName: str nodeUid: str upcomingMaintenance: UpcomingMaintenance @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -256,7 +254,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str cancelRequested: bool createTime: str @@ -266,22 +264,22 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PerformMaintenanceQueuedResourceRequest(typing_extensions.TypedDict, total=False): +class PerformMaintenanceQueuedResourceRequest(typing.TypedDict, total=False): nodeNames: _list[str] @typing.type_check_only -class PerformMaintenanceRequest(typing_extensions.TypedDict, total=False): ... +class PerformMaintenanceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ProvisioningData(typing_extensions.TypedDict, total=False): ... +class ProvisioningData(typing.TypedDict, total=False): ... @typing.type_check_only -class QueuedResource(typing_extensions.TypedDict, total=False): +class QueuedResource(typing.TypedDict, total=False): bestEffort: BestEffort createTime: str guaranteed: Guaranteed name: str - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT", @@ -296,14 +294,14 @@ class QueuedResource(typing_extensions.TypedDict, total=False): tpu: Tpu @typing.type_check_only -class QueuedResourceState(typing_extensions.TypedDict, total=False): +class QueuedResourceState(typing.TypedDict, total=False): acceptedData: AcceptedData activeData: ActiveData creatingData: CreatingData deletingData: DeletingData failedData: FailedData provisioningData: ProvisioningData - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACCEPTED", @@ -315,14 +313,12 @@ class QueuedResourceState(typing_extensions.TypedDict, total=False): "SUSPENDED", "WAITING_FOR_RESOURCES", ] - stateInitiator: typing_extensions.Literal[ - "STATE_INITIATOR_UNSPECIFIED", "USER", "SERVICE" - ] + stateInitiator: typing.Literal["STATE_INITIATOR_UNSPECIFIED", "USER", "SERVICE"] suspendedData: SuspendedData suspendingData: SuspendingData @typing.type_check_only -class QueueingPolicy(typing_extensions.TypedDict, total=False): +class QueueingPolicy(typing.TypedDict, total=False): validAfterDuration: str validAfterTime: str validInterval: Interval @@ -330,10 +326,10 @@ class QueueingPolicy(typing_extensions.TypedDict, total=False): validUntilTime: str @typing.type_check_only -class Reservation(typing_extensions.TypedDict, total=False): +class Reservation(typing.TypedDict, total=False): name: str standard: Standard - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "APPROVED", "PROVISIONING", @@ -344,22 +340,22 @@ class Reservation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ResetQueuedResourceRequest(typing_extensions.TypedDict, total=False): ... +class ResetQueuedResourceRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RunDuration(typing_extensions.TypedDict, total=False): +class RunDuration(typing.TypedDict, total=False): maxRunDuration: str terminationTime: str @typing.type_check_only -class RuntimeVersion(typing_extensions.TypedDict, total=False): +class RuntimeVersion(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class SchedulingConfig(typing_extensions.TypedDict, total=False): +class SchedulingConfig(typing.TypedDict, total=False): preemptible: bool - provisioningModel: typing_extensions.Literal[ + provisioningModel: typing.Literal[ "PROVISIONING_MODEL_UNSPECIFIED", "STANDARD", "SPOT", "RESERVATION_BOUND" ] reservationName: str @@ -368,58 +364,56 @@ class SchedulingConfig(typing_extensions.TypedDict, total=False): terminationTimestamp: str @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scope: _list[str] @typing.type_check_only -class ServiceIdentity(typing_extensions.TypedDict, total=False): +class ServiceIdentity(typing.TypedDict, total=False): email: str @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableSecureBoot: bool @typing.type_check_only -class SimulateMaintenanceEventRequest(typing_extensions.TypedDict, total=False): +class SimulateMaintenanceEventRequest(typing.TypedDict, total=False): workerIds: _list[str] @typing.type_check_only -class Spot(typing_extensions.TypedDict, total=False): ... +class Spot(typing.TypedDict, total=False): ... @typing.type_check_only -class Standard(typing_extensions.TypedDict, total=False): - capacityUnits: typing_extensions.Literal[ - "CAPACITY_UNITS_UNSPECIFIED", "CORES", "CHIPS" - ] +class Standard(typing.TypedDict, total=False): + capacityUnits: typing.Literal["CAPACITY_UNITS_UNSPECIFIED", "CORES", "CHIPS"] interval: Interval resourceType: str size: int usage: Usage @typing.type_check_only -class StartNodeRequest(typing_extensions.TypedDict, total=False): ... +class StartNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopNodeRequest(typing_extensions.TypedDict, total=False): ... +class StopNodeRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SuspendedData(typing_extensions.TypedDict, total=False): ... +class SuspendedData(typing.TypedDict, total=False): ... @typing.type_check_only -class SuspendingData(typing_extensions.TypedDict, total=False): ... +class SuspendingData(typing.TypedDict, total=False): ... @typing.type_check_only -class Symptom(typing_extensions.TypedDict, total=False): +class Symptom(typing.TypedDict, total=False): createTime: str details: str - symptomType: typing_extensions.Literal[ + symptomType: typing.Literal[ "SYMPTOM_TYPE_UNSPECIFIED", "LOW_MEMORY", "OUT_OF_MEMORY", @@ -431,18 +425,18 @@ class Symptom(typing_extensions.TypedDict, total=False): workerId: str @typing.type_check_only -class Tpu(typing_extensions.TypedDict, total=False): +class Tpu(typing.TypedDict, total=False): nodeSpec: _list[NodeSpec] @typing.type_check_only -class UpcomingMaintenance(typing_extensions.TypedDict, total=False): +class UpcomingMaintenance(typing.TypedDict, total=False): canReschedule: bool latestWindowStartTime: str - maintenanceStatus: typing_extensions.Literal["UNKNOWN", "PENDING", "ONGOING"] - type: typing_extensions.Literal["UNKNOWN_TYPE", "SCHEDULED", "UNSCHEDULED"] + maintenanceStatus: typing.Literal["UNKNOWN", "PENDING", "ONGOING"] + type: typing.Literal["UNKNOWN_TYPE", "SCHEDULED", "UNSCHEDULED"] windowEndTime: str windowStartTime: str @typing.type_check_only -class Usage(typing_extensions.TypedDict, total=False): +class Usage(typing.TypedDict, total=False): total: str diff --git a/googleapiclient-stubs/_apis/trafficdirector/v2/resources.pyi b/googleapiclient-stubs/_apis/trafficdirector/v2/resources.pyi index a27b92e65..85deb311e 100644 --- a/googleapiclient-stubs/_apis/trafficdirector/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/trafficdirector/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/trafficdirector/v2/schemas.pyi b/googleapiclient-stubs/_apis/trafficdirector/v2/schemas.pyi index fbc934b59..00fba61c8 100644 --- a/googleapiclient-stubs/_apis/trafficdirector/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/trafficdirector/v2/schemas.pyi @@ -1,57 +1,55 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): pipe: Pipe socketAddress: SocketAddress @typing.type_check_only -class BuildVersion(typing_extensions.TypedDict, total=False): +class BuildVersion(typing.TypedDict, total=False): metadata: dict[str, typing.Any] version: SemanticVersion @typing.type_check_only -class ClientConfig(typing_extensions.TypedDict, total=False): +class ClientConfig(typing.TypedDict, total=False): node: Node xdsConfig: _list[PerXdsConfig] @typing.type_check_only -class ClientStatusRequest(typing_extensions.TypedDict, total=False): +class ClientStatusRequest(typing.TypedDict, total=False): nodeMatchers: _list[NodeMatcher] @typing.type_check_only -class ClientStatusResponse(typing_extensions.TypedDict, total=False): +class ClientStatusResponse(typing.TypedDict, total=False): config: _list[ClientConfig] @typing.type_check_only -class ClustersConfigDump(typing_extensions.TypedDict, total=False): +class ClustersConfigDump(typing.TypedDict, total=False): dynamicActiveClusters: _list[DynamicCluster] dynamicWarmingClusters: _list[DynamicCluster] staticClusters: _list[StaticCluster] versionInfo: str @typing.type_check_only -class DoubleMatcher(typing_extensions.TypedDict, total=False): +class DoubleMatcher(typing.TypedDict, total=False): exact: float range: DoubleRange @typing.type_check_only -class DoubleRange(typing_extensions.TypedDict, total=False): +class DoubleRange(typing.TypedDict, total=False): end: float start: float @typing.type_check_only -class DynamicCluster(typing_extensions.TypedDict, total=False): +class DynamicCluster(typing.TypedDict, total=False): cluster: dict[str, typing.Any] lastUpdated: str versionInfo: str @typing.type_check_only -class DynamicListener(typing_extensions.TypedDict, total=False): +class DynamicListener(typing.TypedDict, total=False): activeState: DynamicListenerState drainingState: DynamicListenerState errorState: UpdateFailureState @@ -59,26 +57,26 @@ class DynamicListener(typing_extensions.TypedDict, total=False): warmingState: DynamicListenerState @typing.type_check_only -class DynamicListenerState(typing_extensions.TypedDict, total=False): +class DynamicListenerState(typing.TypedDict, total=False): lastUpdated: str listener: dict[str, typing.Any] versionInfo: str @typing.type_check_only -class DynamicRouteConfig(typing_extensions.TypedDict, total=False): +class DynamicRouteConfig(typing.TypedDict, total=False): lastUpdated: str routeConfig: dict[str, typing.Any] versionInfo: str @typing.type_check_only -class DynamicScopedRouteConfigs(typing_extensions.TypedDict, total=False): +class DynamicScopedRouteConfigs(typing.TypedDict, total=False): lastUpdated: str name: str scopedRouteConfigs: _list[dict[str, typing.Any]] versionInfo: str @typing.type_check_only -class Extension(typing_extensions.TypedDict, total=False): +class Extension(typing.TypedDict, total=False): category: str disabled: bool name: str @@ -86,33 +84,33 @@ class Extension(typing_extensions.TypedDict, total=False): version: BuildVersion @typing.type_check_only -class GoogleRE2(typing_extensions.TypedDict, total=False): +class GoogleRE2(typing.TypedDict, total=False): maxProgramSize: int @typing.type_check_only -class InlineScopedRouteConfigs(typing_extensions.TypedDict, total=False): +class InlineScopedRouteConfigs(typing.TypedDict, total=False): lastUpdated: str name: str scopedRouteConfigs: _list[dict[str, typing.Any]] @typing.type_check_only -class ListMatcher(typing_extensions.TypedDict, total=False): +class ListMatcher(typing.TypedDict, total=False): oneOf: ValueMatcher @typing.type_check_only -class ListenersConfigDump(typing_extensions.TypedDict, total=False): +class ListenersConfigDump(typing.TypedDict, total=False): dynamicListeners: _list[DynamicListener] staticListeners: _list[StaticListener] versionInfo: str @typing.type_check_only -class Locality(typing_extensions.TypedDict, total=False): +class Locality(typing.TypedDict, total=False): region: str subZone: str zone: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): buildVersion: str clientFeatures: _list[str] cluster: str @@ -126,77 +124,77 @@ class Node(typing_extensions.TypedDict, total=False): userAgentVersion: str @typing.type_check_only -class NodeMatcher(typing_extensions.TypedDict, total=False): +class NodeMatcher(typing.TypedDict, total=False): nodeId: StringMatcher nodeMetadatas: _list[StructMatcher] @typing.type_check_only -class NullMatch(typing_extensions.TypedDict, total=False): ... +class NullMatch(typing.TypedDict, total=False): ... @typing.type_check_only -class PathSegment(typing_extensions.TypedDict, total=False): +class PathSegment(typing.TypedDict, total=False): key: str @typing.type_check_only -class PerXdsConfig(typing_extensions.TypedDict, total=False): +class PerXdsConfig(typing.TypedDict, total=False): clusterConfig: ClustersConfigDump listenerConfig: ListenersConfigDump routeConfig: RoutesConfigDump scopedRouteConfig: ScopedRoutesConfigDump - status: typing_extensions.Literal["UNKNOWN", "SYNCED", "NOT_SENT", "STALE", "ERROR"] + status: typing.Literal["UNKNOWN", "SYNCED", "NOT_SENT", "STALE", "ERROR"] @typing.type_check_only -class Pipe(typing_extensions.TypedDict, total=False): +class Pipe(typing.TypedDict, total=False): mode: int path: str @typing.type_check_only -class RegexMatcher(typing_extensions.TypedDict, total=False): +class RegexMatcher(typing.TypedDict, total=False): googleRe2: GoogleRE2 regex: str @typing.type_check_only -class RoutesConfigDump(typing_extensions.TypedDict, total=False): +class RoutesConfigDump(typing.TypedDict, total=False): dynamicRouteConfigs: _list[DynamicRouteConfig] staticRouteConfigs: _list[StaticRouteConfig] @typing.type_check_only -class ScopedRoutesConfigDump(typing_extensions.TypedDict, total=False): +class ScopedRoutesConfigDump(typing.TypedDict, total=False): dynamicScopedRouteConfigs: _list[DynamicScopedRouteConfigs] inlineScopedRouteConfigs: _list[InlineScopedRouteConfigs] @typing.type_check_only -class SemanticVersion(typing_extensions.TypedDict, total=False): +class SemanticVersion(typing.TypedDict, total=False): majorNumber: int minorNumber: int patch: int @typing.type_check_only -class SocketAddress(typing_extensions.TypedDict, total=False): +class SocketAddress(typing.TypedDict, total=False): address: str ipv4Compat: bool namedPort: str portValue: int - protocol: typing_extensions.Literal["TCP", "UDP"] + protocol: typing.Literal["TCP", "UDP"] resolverName: str @typing.type_check_only -class StaticCluster(typing_extensions.TypedDict, total=False): +class StaticCluster(typing.TypedDict, total=False): cluster: dict[str, typing.Any] lastUpdated: str @typing.type_check_only -class StaticListener(typing_extensions.TypedDict, total=False): +class StaticListener(typing.TypedDict, total=False): lastUpdated: str listener: dict[str, typing.Any] @typing.type_check_only -class StaticRouteConfig(typing_extensions.TypedDict, total=False): +class StaticRouteConfig(typing.TypedDict, total=False): lastUpdated: str routeConfig: dict[str, typing.Any] @typing.type_check_only -class StringMatcher(typing_extensions.TypedDict, total=False): +class StringMatcher(typing.TypedDict, total=False): exact: str ignoreCase: bool prefix: str @@ -205,18 +203,18 @@ class StringMatcher(typing_extensions.TypedDict, total=False): suffix: str @typing.type_check_only -class StructMatcher(typing_extensions.TypedDict, total=False): +class StructMatcher(typing.TypedDict, total=False): path: _list[PathSegment] value: ValueMatcher @typing.type_check_only -class UpdateFailureState(typing_extensions.TypedDict, total=False): +class UpdateFailureState(typing.TypedDict, total=False): details: str failedConfiguration: dict[str, typing.Any] lastUpdateAttempt: str @typing.type_check_only -class ValueMatcher(typing_extensions.TypedDict, total=False): +class ValueMatcher(typing.TypedDict, total=False): boolMatch: bool doubleMatch: DoubleMatcher listMatch: ListMatcher diff --git a/googleapiclient-stubs/_apis/trafficdirector/v3/resources.pyi b/googleapiclient-stubs/_apis/trafficdirector/v3/resources.pyi index a27b92e65..85deb311e 100644 --- a/googleapiclient-stubs/_apis/trafficdirector/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/trafficdirector/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi b/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi index bd195b1cb..4e3ddef45 100644 --- a/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/trafficdirector/v3/schemas.pyi @@ -1,61 +1,59 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Address(typing_extensions.TypedDict, total=False): +class Address(typing.TypedDict, total=False): envoyInternalAddress: EnvoyInternalAddress pipe: Pipe socketAddress: SocketAddress @typing.type_check_only -class BuildVersion(typing_extensions.TypedDict, total=False): +class BuildVersion(typing.TypedDict, total=False): metadata: dict[str, typing.Any] version: SemanticVersion @typing.type_check_only -class ClientConfig(typing_extensions.TypedDict, total=False): +class ClientConfig(typing.TypedDict, total=False): clientScope: str genericXdsConfigs: _list[GenericXdsConfig] node: Node xdsConfig: _list[PerXdsConfig] @typing.type_check_only -class ClientStatusRequest(typing_extensions.TypedDict, total=False): +class ClientStatusRequest(typing.TypedDict, total=False): excludeResourceContents: bool node: Node nodeMatchers: _list[NodeMatcher] @typing.type_check_only -class ClientStatusResponse(typing_extensions.TypedDict, total=False): +class ClientStatusResponse(typing.TypedDict, total=False): config: _list[ClientConfig] @typing.type_check_only -class ClustersConfigDump(typing_extensions.TypedDict, total=False): +class ClustersConfigDump(typing.TypedDict, total=False): dynamicActiveClusters: _list[DynamicCluster] dynamicWarmingClusters: _list[DynamicCluster] staticClusters: _list[StaticCluster] versionInfo: str @typing.type_check_only -class ContextParams(typing_extensions.TypedDict, total=False): +class ContextParams(typing.TypedDict, total=False): params: dict[str, typing.Any] @typing.type_check_only -class DoubleMatcher(typing_extensions.TypedDict, total=False): +class DoubleMatcher(typing.TypedDict, total=False): exact: float range: DoubleRange @typing.type_check_only -class DoubleRange(typing_extensions.TypedDict, total=False): +class DoubleRange(typing.TypedDict, total=False): end: float start: float @typing.type_check_only -class DynamicCluster(typing_extensions.TypedDict, total=False): - clientStatus: typing_extensions.Literal[ +class DynamicCluster(typing.TypedDict, total=False): + clientStatus: typing.Literal[ "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", @@ -70,8 +68,8 @@ class DynamicCluster(typing_extensions.TypedDict, total=False): versionInfo: str @typing.type_check_only -class DynamicEndpointConfig(typing_extensions.TypedDict, total=False): - clientStatus: typing_extensions.Literal[ +class DynamicEndpointConfig(typing.TypedDict, total=False): + clientStatus: typing.Literal[ "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", @@ -86,9 +84,9 @@ class DynamicEndpointConfig(typing_extensions.TypedDict, total=False): versionInfo: str @typing.type_check_only -class DynamicListener(typing_extensions.TypedDict, total=False): +class DynamicListener(typing.TypedDict, total=False): activeState: DynamicListenerState - clientStatus: typing_extensions.Literal[ + clientStatus: typing.Literal[ "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", @@ -103,14 +101,14 @@ class DynamicListener(typing_extensions.TypedDict, total=False): warmingState: DynamicListenerState @typing.type_check_only -class DynamicListenerState(typing_extensions.TypedDict, total=False): +class DynamicListenerState(typing.TypedDict, total=False): lastUpdated: str listener: dict[str, typing.Any] versionInfo: str @typing.type_check_only -class DynamicRouteConfig(typing_extensions.TypedDict, total=False): - clientStatus: typing_extensions.Literal[ +class DynamicRouteConfig(typing.TypedDict, total=False): + clientStatus: typing.Literal[ "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", @@ -125,8 +123,8 @@ class DynamicRouteConfig(typing_extensions.TypedDict, total=False): versionInfo: str @typing.type_check_only -class DynamicScopedRouteConfigs(typing_extensions.TypedDict, total=False): - clientStatus: typing_extensions.Literal[ +class DynamicScopedRouteConfigs(typing.TypedDict, total=False): + clientStatus: typing.Literal[ "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", @@ -142,17 +140,17 @@ class DynamicScopedRouteConfigs(typing_extensions.TypedDict, total=False): versionInfo: str @typing.type_check_only -class EndpointsConfigDump(typing_extensions.TypedDict, total=False): +class EndpointsConfigDump(typing.TypedDict, total=False): dynamicEndpointConfigs: _list[DynamicEndpointConfig] staticEndpointConfigs: _list[StaticEndpointConfig] @typing.type_check_only -class EnvoyInternalAddress(typing_extensions.TypedDict, total=False): +class EnvoyInternalAddress(typing.TypedDict, total=False): endpointId: str serverListenerName: str @typing.type_check_only -class Extension(typing_extensions.TypedDict, total=False): +class Extension(typing.TypedDict, total=False): category: str disabled: bool name: str @@ -161,8 +159,8 @@ class Extension(typing_extensions.TypedDict, total=False): version: BuildVersion @typing.type_check_only -class GenericXdsConfig(typing_extensions.TypedDict, total=False): - clientStatus: typing_extensions.Literal[ +class GenericXdsConfig(typing.TypedDict, total=False): + clientStatus: typing.Literal[ "UNKNOWN", "REQUESTED", "DOES_NOT_EXIST", @@ -171,9 +169,7 @@ class GenericXdsConfig(typing_extensions.TypedDict, total=False): "RECEIVED_ERROR", "TIMEOUT", ] - configStatus: typing_extensions.Literal[ - "UNKNOWN", "SYNCED", "NOT_SENT", "STALE", "ERROR" - ] + configStatus: typing.Literal["UNKNOWN", "SYNCED", "NOT_SENT", "STALE", "ERROR"] errorState: UpdateFailureState isStaticResource: bool lastUpdated: str @@ -183,33 +179,33 @@ class GenericXdsConfig(typing_extensions.TypedDict, total=False): xdsConfig: dict[str, typing.Any] @typing.type_check_only -class GoogleRE2(typing_extensions.TypedDict, total=False): +class GoogleRE2(typing.TypedDict, total=False): maxProgramSize: int @typing.type_check_only -class InlineScopedRouteConfigs(typing_extensions.TypedDict, total=False): +class InlineScopedRouteConfigs(typing.TypedDict, total=False): lastUpdated: str name: str scopedRouteConfigs: _list[dict[str, typing.Any]] @typing.type_check_only -class ListMatcher(typing_extensions.TypedDict, total=False): +class ListMatcher(typing.TypedDict, total=False): oneOf: ValueMatcher @typing.type_check_only -class ListenersConfigDump(typing_extensions.TypedDict, total=False): +class ListenersConfigDump(typing.TypedDict, total=False): dynamicListeners: _list[DynamicListener] staticListeners: _list[StaticListener] versionInfo: str @typing.type_check_only -class Locality(typing_extensions.TypedDict, total=False): +class Locality(typing.TypedDict, total=False): region: str subZone: str zone: str @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): clientFeatures: _list[str] cluster: str dynamicParameters: dict[str, typing.Any] @@ -223,24 +219,24 @@ class Node(typing_extensions.TypedDict, total=False): userAgentVersion: str @typing.type_check_only -class NodeMatcher(typing_extensions.TypedDict, total=False): +class NodeMatcher(typing.TypedDict, total=False): nodeId: StringMatcher nodeMetadatas: _list[StructMatcher] @typing.type_check_only -class NullMatch(typing_extensions.TypedDict, total=False): ... +class NullMatch(typing.TypedDict, total=False): ... @typing.type_check_only -class OrMatcher(typing_extensions.TypedDict, total=False): +class OrMatcher(typing.TypedDict, total=False): valueMatchers: _list[ValueMatcher] @typing.type_check_only -class PathSegment(typing_extensions.TypedDict, total=False): +class PathSegment(typing.TypedDict, total=False): key: str @typing.type_check_only -class PerXdsConfig(typing_extensions.TypedDict, total=False): - clientStatus: typing_extensions.Literal[ +class PerXdsConfig(typing.TypedDict, total=False): + clientStatus: typing.Literal[ "CLIENT_UNKNOWN", "CLIENT_REQUESTED", "CLIENT_ACKED", @@ -252,66 +248,66 @@ class PerXdsConfig(typing_extensions.TypedDict, total=False): listenerConfig: ListenersConfigDump routeConfig: RoutesConfigDump scopedRouteConfig: ScopedRoutesConfigDump - status: typing_extensions.Literal["UNKNOWN", "SYNCED", "NOT_SENT", "STALE", "ERROR"] + status: typing.Literal["UNKNOWN", "SYNCED", "NOT_SENT", "STALE", "ERROR"] @typing.type_check_only -class Pipe(typing_extensions.TypedDict, total=False): +class Pipe(typing.TypedDict, total=False): mode: int path: str @typing.type_check_only -class RegexMatcher(typing_extensions.TypedDict, total=False): +class RegexMatcher(typing.TypedDict, total=False): googleRe2: GoogleRE2 regex: str @typing.type_check_only -class RoutesConfigDump(typing_extensions.TypedDict, total=False): +class RoutesConfigDump(typing.TypedDict, total=False): dynamicRouteConfigs: _list[DynamicRouteConfig] staticRouteConfigs: _list[StaticRouteConfig] @typing.type_check_only -class ScopedRoutesConfigDump(typing_extensions.TypedDict, total=False): +class ScopedRoutesConfigDump(typing.TypedDict, total=False): dynamicScopedRouteConfigs: _list[DynamicScopedRouteConfigs] inlineScopedRouteConfigs: _list[InlineScopedRouteConfigs] @typing.type_check_only -class SemanticVersion(typing_extensions.TypedDict, total=False): +class SemanticVersion(typing.TypedDict, total=False): majorNumber: int minorNumber: int patch: int @typing.type_check_only -class SocketAddress(typing_extensions.TypedDict, total=False): +class SocketAddress(typing.TypedDict, total=False): address: str ipv4Compat: bool namedPort: str networkNamespaceFilepath: str portValue: int - protocol: typing_extensions.Literal["TCP", "UDP"] + protocol: typing.Literal["TCP", "UDP"] resolverName: str @typing.type_check_only -class StaticCluster(typing_extensions.TypedDict, total=False): +class StaticCluster(typing.TypedDict, total=False): cluster: dict[str, typing.Any] lastUpdated: str @typing.type_check_only -class StaticEndpointConfig(typing_extensions.TypedDict, total=False): +class StaticEndpointConfig(typing.TypedDict, total=False): endpointConfig: dict[str, typing.Any] lastUpdated: str @typing.type_check_only -class StaticListener(typing_extensions.TypedDict, total=False): +class StaticListener(typing.TypedDict, total=False): lastUpdated: str listener: dict[str, typing.Any] @typing.type_check_only -class StaticRouteConfig(typing_extensions.TypedDict, total=False): +class StaticRouteConfig(typing.TypedDict, total=False): lastUpdated: str routeConfig: dict[str, typing.Any] @typing.type_check_only -class StringMatcher(typing_extensions.TypedDict, total=False): +class StringMatcher(typing.TypedDict, total=False): contains: str custom: TypedExtensionConfig exact: str @@ -321,24 +317,24 @@ class StringMatcher(typing_extensions.TypedDict, total=False): suffix: str @typing.type_check_only -class StructMatcher(typing_extensions.TypedDict, total=False): +class StructMatcher(typing.TypedDict, total=False): path: _list[PathSegment] value: ValueMatcher @typing.type_check_only -class TypedExtensionConfig(typing_extensions.TypedDict, total=False): +class TypedExtensionConfig(typing.TypedDict, total=False): name: str typedConfig: dict[str, typing.Any] @typing.type_check_only -class UpdateFailureState(typing_extensions.TypedDict, total=False): +class UpdateFailureState(typing.TypedDict, total=False): details: str failedConfiguration: dict[str, typing.Any] lastUpdateAttempt: str versionInfo: str @typing.type_check_only -class ValueMatcher(typing_extensions.TypedDict, total=False): +class ValueMatcher(typing.TypedDict, total=False): boolMatch: bool doubleMatch: DoubleMatcher listMatch: ListMatcher diff --git a/googleapiclient-stubs/_apis/transcoder/v1/resources.pyi b/googleapiclient-stubs/_apis/transcoder/v1/resources.pyi index 9a2efdf8c..63ecf3a2c 100644 --- a/googleapiclient-stubs/_apis/transcoder/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/transcoder/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi b/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi index 6f14c5e62..d0ec09ebe 100644 --- a/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/transcoder/v1/schemas.pyi @@ -1,46 +1,44 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdBreak(typing_extensions.TypedDict, total=False): +class AdBreak(typing.TypedDict, total=False): startTimeOffset: str @typing.type_check_only -class Aes128Encryption(typing_extensions.TypedDict, total=False): ... +class Aes128Encryption(typing.TypedDict, total=False): ... @typing.type_check_only -class Animation(typing_extensions.TypedDict, total=False): +class Animation(typing.TypedDict, total=False): animationEnd: AnimationEnd animationFade: AnimationFade animationStatic: AnimationStatic @typing.type_check_only -class AnimationEnd(typing_extensions.TypedDict, total=False): +class AnimationEnd(typing.TypedDict, total=False): startTimeOffset: str @typing.type_check_only -class AnimationFade(typing_extensions.TypedDict, total=False): +class AnimationFade(typing.TypedDict, total=False): endTimeOffset: str - fadeType: typing_extensions.Literal["FADE_TYPE_UNSPECIFIED", "FADE_IN", "FADE_OUT"] + fadeType: typing.Literal["FADE_TYPE_UNSPECIFIED", "FADE_IN", "FADE_OUT"] startTimeOffset: str xy: NormalizedCoordinate @typing.type_check_only -class AnimationStatic(typing_extensions.TypedDict, total=False): +class AnimationStatic(typing.TypedDict, total=False): startTimeOffset: str xy: NormalizedCoordinate @typing.type_check_only -class Audio(typing_extensions.TypedDict, total=False): +class Audio(typing.TypedDict, total=False): highBoost: bool lowBoost: bool lufs: float @typing.type_check_only -class AudioMapping(typing_extensions.TypedDict, total=False): +class AudioMapping(typing.TypedDict, total=False): atomKey: str gainDb: float inputChannel: int @@ -49,7 +47,7 @@ class AudioMapping(typing_extensions.TypedDict, total=False): outputChannel: int @typing.type_check_only -class AudioStream(typing_extensions.TypedDict, total=False): +class AudioStream(typing.TypedDict, total=False): bitrateBps: int channelCount: int channelLayout: _list[str] @@ -60,76 +58,76 @@ class AudioStream(typing_extensions.TypedDict, total=False): sampleRateHertz: int @typing.type_check_only -class BwdifConfig(typing_extensions.TypedDict, total=False): +class BwdifConfig(typing.TypedDict, total=False): deinterlaceAllFrames: bool mode: str parity: str @typing.type_check_only -class Clearkey(typing_extensions.TypedDict, total=False): ... +class Clearkey(typing.TypedDict, total=False): ... @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): brightness: float contrast: float saturation: float @typing.type_check_only -class Crop(typing_extensions.TypedDict, total=False): +class Crop(typing.TypedDict, total=False): bottomPixels: int leftPixels: int rightPixels: int topPixels: int @typing.type_check_only -class DashConfig(typing_extensions.TypedDict, total=False): - segmentReferenceScheme: typing_extensions.Literal[ +class DashConfig(typing.TypedDict, total=False): + segmentReferenceScheme: typing.Literal[ "SEGMENT_REFERENCE_SCHEME_UNSPECIFIED", "SEGMENT_LIST", "SEGMENT_TEMPLATE_NUMBER", ] @typing.type_check_only -class Deblock(typing_extensions.TypedDict, total=False): +class Deblock(typing.TypedDict, total=False): enabled: bool strength: float @typing.type_check_only -class Deinterlace(typing_extensions.TypedDict, total=False): +class Deinterlace(typing.TypedDict, total=False): bwdif: BwdifConfig yadif: YadifConfig @typing.type_check_only -class Denoise(typing_extensions.TypedDict, total=False): +class Denoise(typing.TypedDict, total=False): strength: float tune: str @typing.type_check_only -class DrmSystems(typing_extensions.TypedDict, total=False): +class DrmSystems(typing.TypedDict, total=False): clearkey: Clearkey fairplay: Fairplay playready: Playready widevine: Widevine @typing.type_check_only -class EditAtom(typing_extensions.TypedDict, total=False): +class EditAtom(typing.TypedDict, total=False): endTimeOffset: str inputs: _list[str] key: str startTimeOffset: str @typing.type_check_only -class ElementaryStream(typing_extensions.TypedDict, total=False): +class ElementaryStream(typing.TypedDict, total=False): audioStream: AudioStream key: str textStream: TextStream videoStream: VideoStream @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Encryption(typing_extensions.TypedDict, total=False): +class Encryption(typing.TypedDict, total=False): aes128: Aes128Encryption drmSystems: DrmSystems id: str @@ -138,14 +136,14 @@ class Encryption(typing_extensions.TypedDict, total=False): secretManagerKeySource: SecretManagerSource @typing.type_check_only -class Fairplay(typing_extensions.TypedDict, total=False): ... +class Fairplay(typing.TypedDict, total=False): ... @typing.type_check_only -class Fmp4Config(typing_extensions.TypedDict, total=False): +class Fmp4Config(typing.TypedDict, total=False): codecTag: str @typing.type_check_only -class H264CodecSettings(typing_extensions.TypedDict, total=False): +class H264CodecSettings(typing.TypedDict, total=False): allowOpenGop: bool aqStrength: float bFrameCount: int @@ -155,7 +153,7 @@ class H264CodecSettings(typing_extensions.TypedDict, total=False): enableTwoPass: bool entropyCoder: str frameRate: float - frameRateConversionStrategy: typing_extensions.Literal[ + frameRateConversionStrategy: typing.Literal[ "FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED", "DOWNSAMPLE", "DROP_DUPLICATE" ] gopDuration: str @@ -173,13 +171,13 @@ class H264CodecSettings(typing_extensions.TypedDict, total=False): widthPixels: int @typing.type_check_only -class H264ColorFormatHLG(typing_extensions.TypedDict, total=False): ... +class H264ColorFormatHLG(typing.TypedDict, total=False): ... @typing.type_check_only -class H264ColorFormatSDR(typing_extensions.TypedDict, total=False): ... +class H264ColorFormatSDR(typing.TypedDict, total=False): ... @typing.type_check_only -class H265CodecSettings(typing_extensions.TypedDict, total=False): +class H265CodecSettings(typing.TypedDict, total=False): allowOpenGop: bool aqStrength: float bFrameCount: int @@ -188,7 +186,7 @@ class H265CodecSettings(typing_extensions.TypedDict, total=False): crfLevel: int enableTwoPass: bool frameRate: float - frameRateConversionStrategy: typing_extensions.Literal[ + frameRateConversionStrategy: typing.Literal[ "FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED", "DOWNSAMPLE", "DROP_DUPLICATE" ] gopDuration: str @@ -207,33 +205,33 @@ class H265CodecSettings(typing_extensions.TypedDict, total=False): widthPixels: int @typing.type_check_only -class H265ColorFormatHDR10(typing_extensions.TypedDict, total=False): ... +class H265ColorFormatHDR10(typing.TypedDict, total=False): ... @typing.type_check_only -class H265ColorFormatHLG(typing_extensions.TypedDict, total=False): ... +class H265ColorFormatHLG(typing.TypedDict, total=False): ... @typing.type_check_only -class H265ColorFormatSDR(typing_extensions.TypedDict, total=False): ... +class H265ColorFormatSDR(typing.TypedDict, total=False): ... @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): alpha: float resolution: NormalizedCoordinate uri: str @typing.type_check_only -class Input(typing_extensions.TypedDict, total=False): +class Input(typing.TypedDict, total=False): attributes: InputAttributes key: str preprocessingConfig: PreprocessingConfig uri: str @typing.type_check_only -class InputAttributes(typing_extensions.TypedDict, total=False): +class InputAttributes(typing.TypedDict, total=False): trackDefinitions: _list[TrackDefinition] @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): batchModePriority: int config: JobConfig createTime: str @@ -242,25 +240,25 @@ class Job(typing_extensions.TypedDict, total=False): fillContentGaps: bool inputUri: str labels: dict[str, typing.Any] - mode: typing_extensions.Literal[ + mode: typing.Literal[ "PROCESSING_MODE_UNSPECIFIED", "PROCESSING_MODE_INTERACTIVE", "PROCESSING_MODE_BATCH", ] name: str - optimization: typing_extensions.Literal[ + optimization: typing.Literal[ "OPTIMIZATION_STRATEGY_UNSPECIFIED", "AUTODETECT", "DISABLED" ] outputUri: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PROCESSING_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] templateId: str ttlAfterCompletionDays: int @typing.type_check_only -class JobConfig(typing_extensions.TypedDict, total=False): +class JobConfig(typing.TypedDict, total=False): adBreaks: _list[AdBreak] editList: _list[EditAtom] elementaryStreams: _list[ElementaryStream] @@ -274,36 +272,36 @@ class JobConfig(typing_extensions.TypedDict, total=False): spriteSheets: _list[SpriteSheet] @typing.type_check_only -class JobTemplate(typing_extensions.TypedDict, total=False): +class JobTemplate(typing.TypedDict, total=False): config: JobConfig labels: dict[str, typing.Any] name: str @typing.type_check_only -class ListJobTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListJobTemplatesResponse(typing.TypedDict, total=False): jobTemplates: _list[JobTemplate] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class Manifest(typing_extensions.TypedDict, total=False): +class Manifest(typing.TypedDict, total=False): dash: DashConfig fileName: str muxStreams: _list[str] - type: typing_extensions.Literal["MANIFEST_TYPE_UNSPECIFIED", "HLS", "DASH"] + type: typing.Literal["MANIFEST_TYPE_UNSPECIFIED", "HLS", "DASH"] @typing.type_check_only -class MpegCommonEncryption(typing_extensions.TypedDict, total=False): +class MpegCommonEncryption(typing.TypedDict, total=False): scheme: str @typing.type_check_only -class MuxStream(typing_extensions.TypedDict, total=False): +class MuxStream(typing.TypedDict, total=False): container: str elementaryStreams: _list[str] encryptionId: str @@ -313,31 +311,31 @@ class MuxStream(typing_extensions.TypedDict, total=False): segmentSettings: SegmentSettings @typing.type_check_only -class NormalizedCoordinate(typing_extensions.TypedDict, total=False): +class NormalizedCoordinate(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class Output(typing_extensions.TypedDict, total=False): +class Output(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Overlay(typing_extensions.TypedDict, total=False): +class Overlay(typing.TypedDict, total=False): animations: _list[Animation] image: Image @typing.type_check_only -class Pad(typing_extensions.TypedDict, total=False): +class Pad(typing.TypedDict, total=False): bottomPixels: int leftPixels: int rightPixels: int topPixels: int @typing.type_check_only -class Playready(typing_extensions.TypedDict, total=False): ... +class Playready(typing.TypedDict, total=False): ... @typing.type_check_only -class PreprocessingConfig(typing_extensions.TypedDict, total=False): +class PreprocessingConfig(typing.TypedDict, total=False): audio: Audio color: Color crop: Crop @@ -347,23 +345,23 @@ class PreprocessingConfig(typing_extensions.TypedDict, total=False): pad: Pad @typing.type_check_only -class PubsubDestination(typing_extensions.TypedDict, total=False): +class PubsubDestination(typing.TypedDict, total=False): topic: str @typing.type_check_only -class SampleAesEncryption(typing_extensions.TypedDict, total=False): ... +class SampleAesEncryption(typing.TypedDict, total=False): ... @typing.type_check_only -class SecretManagerSource(typing_extensions.TypedDict, total=False): +class SecretManagerSource(typing.TypedDict, total=False): secretVersion: str @typing.type_check_only -class SegmentSettings(typing_extensions.TypedDict, total=False): +class SegmentSettings(typing.TypedDict, total=False): individualSegments: bool segmentDuration: str @typing.type_check_only -class SpriteSheet(typing_extensions.TypedDict, total=False): +class SpriteSheet(typing.TypedDict, total=False): columnCount: int endTimeOffset: str filePrefix: str @@ -377,43 +375,43 @@ class SpriteSheet(typing_extensions.TypedDict, total=False): totalCount: int @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TextMapping(typing_extensions.TypedDict, total=False): +class TextMapping(typing.TypedDict, total=False): atomKey: str inputKey: str inputTrack: int @typing.type_check_only -class TextStream(typing_extensions.TypedDict, total=False): +class TextStream(typing.TypedDict, total=False): codec: str displayName: str languageCode: str mapping: _list[TextMapping] @typing.type_check_only -class TrackDefinition(typing_extensions.TypedDict, total=False): +class TrackDefinition(typing.TypedDict, total=False): detectLanguages: bool detectedLanguages: _list[str] inputTrack: int languages: _list[str] @typing.type_check_only -class VideoStream(typing_extensions.TypedDict, total=False): +class VideoStream(typing.TypedDict, total=False): h264: H264CodecSettings h265: H265CodecSettings vp9: Vp9CodecSettings @typing.type_check_only -class Vp9CodecSettings(typing_extensions.TypedDict, total=False): +class Vp9CodecSettings(typing.TypedDict, total=False): bitrateBps: int crfLevel: int frameRate: float - frameRateConversionStrategy: typing_extensions.Literal[ + frameRateConversionStrategy: typing.Literal[ "FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED", "DOWNSAMPLE", "DROP_DUPLICATE" ] gopDuration: str @@ -427,16 +425,16 @@ class Vp9CodecSettings(typing_extensions.TypedDict, total=False): widthPixels: int @typing.type_check_only -class Vp9ColorFormatHLG(typing_extensions.TypedDict, total=False): ... +class Vp9ColorFormatHLG(typing.TypedDict, total=False): ... @typing.type_check_only -class Vp9ColorFormatSDR(typing_extensions.TypedDict, total=False): ... +class Vp9ColorFormatSDR(typing.TypedDict, total=False): ... @typing.type_check_only -class Widevine(typing_extensions.TypedDict, total=False): ... +class Widevine(typing.TypedDict, total=False): ... @typing.type_check_only -class YadifConfig(typing_extensions.TypedDict, total=False): +class YadifConfig(typing.TypedDict, total=False): deinterlaceAllFrames: bool disableSpatialInterlacing: bool mode: str diff --git a/googleapiclient-stubs/_apis/transcoder/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/transcoder/v1beta1/resources.pyi index 99c390f3c..d7a9892d1 100644 --- a/googleapiclient-stubs/_apis/transcoder/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/transcoder/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/transcoder/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/transcoder/v1beta1/schemas.pyi index 42bd79063..b90f254e2 100644 --- a/googleapiclient-stubs/_apis/transcoder/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/transcoder/v1beta1/schemas.pyi @@ -1,63 +1,61 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdBreak(typing_extensions.TypedDict, total=False): +class AdBreak(typing.TypedDict, total=False): startTimeOffset: str @typing.type_check_only -class Aes128Encryption(typing_extensions.TypedDict, total=False): +class Aes128Encryption(typing.TypedDict, total=False): keyUri: str @typing.type_check_only -class Animation(typing_extensions.TypedDict, total=False): +class Animation(typing.TypedDict, total=False): animationEnd: AnimationEnd animationFade: AnimationFade animationStatic: AnimationStatic @typing.type_check_only -class AnimationEnd(typing_extensions.TypedDict, total=False): +class AnimationEnd(typing.TypedDict, total=False): startTimeOffset: str @typing.type_check_only -class AnimationFade(typing_extensions.TypedDict, total=False): +class AnimationFade(typing.TypedDict, total=False): endTimeOffset: str - fadeType: typing_extensions.Literal["FADE_TYPE_UNSPECIFIED", "FADE_IN", "FADE_OUT"] + fadeType: typing.Literal["FADE_TYPE_UNSPECIFIED", "FADE_IN", "FADE_OUT"] startTimeOffset: str xy: NormalizedCoordinate @typing.type_check_only -class AnimationStatic(typing_extensions.TypedDict, total=False): +class AnimationStatic(typing.TypedDict, total=False): startTimeOffset: str xy: NormalizedCoordinate @typing.type_check_only -class Audio(typing_extensions.TypedDict, total=False): +class Audio(typing.TypedDict, total=False): highBoost: bool lowBoost: bool lufs: float @typing.type_check_only -class AudioAtom(typing_extensions.TypedDict, total=False): +class AudioAtom(typing.TypedDict, total=False): channels: _list[AudioChannel] key: str @typing.type_check_only -class AudioChannel(typing_extensions.TypedDict, total=False): +class AudioChannel(typing.TypedDict, total=False): inputs: _list[AudioChannelInput] @typing.type_check_only -class AudioChannelInput(typing_extensions.TypedDict, total=False): +class AudioChannelInput(typing.TypedDict, total=False): channel: int gainDb: float key: str track: int @typing.type_check_only -class AudioStream(typing_extensions.TypedDict, total=False): +class AudioStream(typing.TypedDict, total=False): bitrateBps: int channelCount: int channelLayout: _list[str] @@ -66,47 +64,47 @@ class AudioStream(typing_extensions.TypedDict, total=False): sampleRateHertz: int @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): brightness: float contrast: float saturation: float @typing.type_check_only -class Crop(typing_extensions.TypedDict, total=False): +class Crop(typing.TypedDict, total=False): bottomPixels: int leftPixels: int rightPixels: int topPixels: int @typing.type_check_only -class Deblock(typing_extensions.TypedDict, total=False): +class Deblock(typing.TypedDict, total=False): enabled: bool strength: float @typing.type_check_only -class Denoise(typing_extensions.TypedDict, total=False): +class Denoise(typing.TypedDict, total=False): strength: float tune: str @typing.type_check_only -class EditAtom(typing_extensions.TypedDict, total=False): +class EditAtom(typing.TypedDict, total=False): endTimeOffset: str inputs: _list[str] key: str startTimeOffset: str @typing.type_check_only -class ElementaryStream(typing_extensions.TypedDict, total=False): +class ElementaryStream(typing.TypedDict, total=False): audioStream: AudioStream key: str textStream: TextStream videoStream: VideoStream @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Encryption(typing_extensions.TypedDict, total=False): +class Encryption(typing.TypedDict, total=False): aes128: Aes128Encryption iv: str key: str @@ -114,23 +112,23 @@ class Encryption(typing_extensions.TypedDict, total=False): sampleAes: SampleAesEncryption @typing.type_check_only -class FailureDetail(typing_extensions.TypedDict, total=False): +class FailureDetail(typing.TypedDict, total=False): description: str @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): alpha: float resolution: NormalizedCoordinate uri: str @typing.type_check_only -class Input(typing_extensions.TypedDict, total=False): +class Input(typing.TypedDict, total=False): key: str preprocessingConfig: PreprocessingConfig uri: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): config: JobConfig createTime: str endTime: str @@ -143,14 +141,14 @@ class Job(typing_extensions.TypedDict, total=False): priority: int progress: Progress startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "PROCESSING_STATE_UNSPECIFIED", "PENDING", "RUNNING", "SUCCEEDED", "FAILED" ] templateId: str ttlAfterCompletionDays: int @typing.type_check_only -class JobConfig(typing_extensions.TypedDict, total=False): +class JobConfig(typing.TypedDict, total=False): adBreaks: _list[AdBreak] editList: _list[EditAtom] elementaryStreams: _list[ElementaryStream] @@ -163,33 +161,33 @@ class JobConfig(typing_extensions.TypedDict, total=False): spriteSheets: _list[SpriteSheet] @typing.type_check_only -class JobTemplate(typing_extensions.TypedDict, total=False): +class JobTemplate(typing.TypedDict, total=False): config: JobConfig name: str @typing.type_check_only -class ListJobTemplatesResponse(typing_extensions.TypedDict, total=False): +class ListJobTemplatesResponse(typing.TypedDict, total=False): jobTemplates: _list[JobTemplate] nextPageToken: str @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str @typing.type_check_only -class Manifest(typing_extensions.TypedDict, total=False): +class Manifest(typing.TypedDict, total=False): fileName: str muxStreams: _list[str] - type: typing_extensions.Literal["MANIFEST_TYPE_UNSPECIFIED", "HLS", "DASH"] + type: typing.Literal["MANIFEST_TYPE_UNSPECIFIED", "HLS", "DASH"] @typing.type_check_only -class MpegCommonEncryption(typing_extensions.TypedDict, total=False): +class MpegCommonEncryption(typing.TypedDict, total=False): keyId: str scheme: str @typing.type_check_only -class MuxStream(typing_extensions.TypedDict, total=False): +class MuxStream(typing.TypedDict, total=False): container: str elementaryStreams: _list[str] encryption: Encryption @@ -198,33 +196,33 @@ class MuxStream(typing_extensions.TypedDict, total=False): segmentSettings: SegmentSettings @typing.type_check_only -class NormalizedCoordinate(typing_extensions.TypedDict, total=False): +class NormalizedCoordinate(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class OriginUri(typing_extensions.TypedDict, total=False): +class OriginUri(typing.TypedDict, total=False): dash: str hls: str @typing.type_check_only -class Output(typing_extensions.TypedDict, total=False): +class Output(typing.TypedDict, total=False): uri: str @typing.type_check_only -class Overlay(typing_extensions.TypedDict, total=False): +class Overlay(typing.TypedDict, total=False): animations: _list[Animation] image: Image @typing.type_check_only -class Pad(typing_extensions.TypedDict, total=False): +class Pad(typing.TypedDict, total=False): bottomPixels: int leftPixels: int rightPixels: int topPixels: int @typing.type_check_only -class PreprocessingConfig(typing_extensions.TypedDict, total=False): +class PreprocessingConfig(typing.TypedDict, total=False): audio: Audio color: Color crop: Crop @@ -233,27 +231,27 @@ class PreprocessingConfig(typing_extensions.TypedDict, total=False): pad: Pad @typing.type_check_only -class Progress(typing_extensions.TypedDict, total=False): +class Progress(typing.TypedDict, total=False): analyzed: float encoded: float notified: float uploaded: float @typing.type_check_only -class PubsubDestination(typing_extensions.TypedDict, total=False): +class PubsubDestination(typing.TypedDict, total=False): topic: str @typing.type_check_only -class SampleAesEncryption(typing_extensions.TypedDict, total=False): +class SampleAesEncryption(typing.TypedDict, total=False): keyUri: str @typing.type_check_only -class SegmentSettings(typing_extensions.TypedDict, total=False): +class SegmentSettings(typing.TypedDict, total=False): individualSegments: bool segmentDuration: str @typing.type_check_only -class SpriteSheet(typing_extensions.TypedDict, total=False): +class SpriteSheet(typing.TypedDict, total=False): columnCount: int endTimeOffset: str filePrefix: str @@ -267,23 +265,23 @@ class SpriteSheet(typing_extensions.TypedDict, total=False): totalCount: int @typing.type_check_only -class TextAtom(typing_extensions.TypedDict, total=False): +class TextAtom(typing.TypedDict, total=False): inputs: _list[TextInput] key: str @typing.type_check_only -class TextInput(typing_extensions.TypedDict, total=False): +class TextInput(typing.TypedDict, total=False): key: str track: int @typing.type_check_only -class TextStream(typing_extensions.TypedDict, total=False): +class TextStream(typing.TypedDict, total=False): codec: str languageCode: str mapping: _list[TextAtom] @typing.type_check_only -class VideoStream(typing_extensions.TypedDict, total=False): +class VideoStream(typing.TypedDict, total=False): allowOpenGop: bool aqStrength: float bFrameCount: int diff --git a/googleapiclient-stubs/_apis/translate/v2/resources.pyi b/googleapiclient-stubs/_apis/translate/v2/resources.pyi index 1b313770d..b5f7fac21 100644 --- a/googleapiclient-stubs/_apis/translate/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/translate/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -40,7 +39,7 @@ class TranslateResource(googleapiclient.discovery.Resource): q: str | _list[str], target: str, cid: str | _list[str] | None = ..., - format: typing_extensions.Literal["html", "text"] | None = ..., + format: typing.Literal["html", "text"] | None = ..., model: str | None = ..., source: str | None = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/translate/v2/schemas.pyi b/googleapiclient-stubs/_apis/translate/v2/schemas.pyi index d6b15303b..09e381ca8 100644 --- a/googleapiclient-stubs/_apis/translate/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/translate/v2/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class DetectLanguageRequest(typing_extensions.TypedDict, total=False): +class DetectLanguageRequest(typing.TypedDict, total=False): q: _list[str] @typing.type_check_only -class DetectionsListResponse(typing_extensions.TypedDict, total=False): +class DetectionsListResponse(typing.TypedDict, total=False): detections: _list[DetectionsResource] @typing.type_check_only class DetectionsResource(dict[str, typing.Any]): ... @typing.type_check_only -class GetSupportedLanguagesRequest(typing_extensions.TypedDict, total=False): +class GetSupportedLanguagesRequest(typing.TypedDict, total=False): target: str @typing.type_check_only -class LanguagesListResponse(typing_extensions.TypedDict, total=False): +class LanguagesListResponse(typing.TypedDict, total=False): languages: _list[LanguagesResource] @typing.type_check_only -class LanguagesResource(typing_extensions.TypedDict, total=False): +class LanguagesResource(typing.TypedDict, total=False): language: str name: str @typing.type_check_only -class TranslateTextRequest(typing_extensions.TypedDict, total=False): +class TranslateTextRequest(typing.TypedDict, total=False): format: str model: str q: _list[str] @@ -37,11 +35,11 @@ class TranslateTextRequest(typing_extensions.TypedDict, total=False): target: str @typing.type_check_only -class TranslationsListResponse(typing_extensions.TypedDict, total=False): +class TranslationsListResponse(typing.TypedDict, total=False): translations: _list[TranslationsResource] @typing.type_check_only -class TranslationsResource(typing_extensions.TypedDict, total=False): +class TranslationsResource(typing.TypedDict, total=False): detectedSourceLanguage: str model: str translatedText: str diff --git a/googleapiclient-stubs/_apis/translate/v3/resources.pyi b/googleapiclient-stubs/_apis/translate/v3/resources.pyi index cbf5d0433..dc39671df 100644 --- a/googleapiclient-stubs/_apis/translate/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/translate/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/translate/v3/schemas.pyi b/googleapiclient-stubs/_apis/translate/v3/schemas.pyi index 7016f2a09..f07e39df3 100644 --- a/googleapiclient-stubs/_apis/translate/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/translate/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AdaptiveMtDataset(typing_extensions.TypedDict, total=False): +class AdaptiveMtDataset(typing.TypedDict, total=False): createTime: str displayName: str exampleCount: int @@ -15,7 +13,7 @@ class AdaptiveMtDataset(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AdaptiveMtFile(typing_extensions.TypedDict, total=False): +class AdaptiveMtFile(typing.TypedDict, total=False): createTime: str displayName: str entryCount: int @@ -23,7 +21,7 @@ class AdaptiveMtFile(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AdaptiveMtSentence(typing_extensions.TypedDict, total=False): +class AdaptiveMtSentence(typing.TypedDict, total=False): createTime: str name: str sourceSentence: str @@ -31,32 +29,32 @@ class AdaptiveMtSentence(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class AdaptiveMtTranslateRequest(typing_extensions.TypedDict, total=False): +class AdaptiveMtTranslateRequest(typing.TypedDict, total=False): content: _list[str] dataset: str glossaryConfig: GlossaryConfig referenceSentenceConfig: ReferenceSentenceConfig @typing.type_check_only -class AdaptiveMtTranslateResponse(typing_extensions.TypedDict, total=False): +class AdaptiveMtTranslateResponse(typing.TypedDict, total=False): glossaryTranslations: _list[AdaptiveMtTranslation] languageCode: str translations: _list[AdaptiveMtTranslation] @typing.type_check_only -class AdaptiveMtTranslation(typing_extensions.TypedDict, total=False): +class AdaptiveMtTranslation(typing.TypedDict, total=False): translatedText: str @typing.type_check_only -class BatchDocumentInputConfig(typing_extensions.TypedDict, total=False): +class BatchDocumentInputConfig(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class BatchDocumentOutputConfig(typing_extensions.TypedDict, total=False): +class BatchDocumentOutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class BatchTranslateDocumentRequest(typing_extensions.TypedDict, total=False): +class BatchTranslateDocumentRequest(typing.TypedDict, total=False): customizedAttribution: str enableRotationCorrection: bool enableShadowRemovalNativePdf: bool @@ -70,7 +68,7 @@ class BatchTranslateDocumentRequest(typing_extensions.TypedDict, total=False): targetLanguageCodes: _list[str] @typing.type_check_only -class BatchTranslateTextRequest(typing_extensions.TypedDict, total=False): +class BatchTranslateTextRequest(typing.TypedDict, total=False): glossaries: dict[str, typing.Any] inputConfigs: _list[InputConfig] labels: dict[str, typing.Any] @@ -80,10 +78,10 @@ class BatchTranslateTextRequest(typing_extensions.TypedDict, total=False): targetLanguageCodes: _list[str] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Dataset(typing_extensions.TypedDict, total=False): +class Dataset(typing.TypedDict, total=False): createTime: str displayName: str exampleCount: int @@ -96,15 +94,15 @@ class Dataset(typing_extensions.TypedDict, total=False): validateExampleCount: int @typing.type_check_only -class DatasetInputConfig(typing_extensions.TypedDict, total=False): +class DatasetInputConfig(typing.TypedDict, total=False): inputFiles: _list[InputFile] @typing.type_check_only -class DatasetOutputConfig(typing_extensions.TypedDict, total=False): +class DatasetOutputConfig(typing.TypedDict, total=False): gcsDestination: GcsOutputDestination @typing.type_check_only -class DetectLanguageRequest(typing_extensions.TypedDict, total=False): +class DetectLanguageRequest(typing.TypedDict, total=False): content: str documentInputConfig: DocumentInputConfig labels: dict[str, typing.Any] @@ -112,69 +110,69 @@ class DetectLanguageRequest(typing_extensions.TypedDict, total=False): model: str @typing.type_check_only -class DetectLanguageResponse(typing_extensions.TypedDict, total=False): +class DetectLanguageResponse(typing.TypedDict, total=False): languages: _list[DetectedLanguage] @typing.type_check_only -class DetectedLanguage(typing_extensions.TypedDict, total=False): +class DetectedLanguage(typing.TypedDict, total=False): confidence: float languageCode: str @typing.type_check_only -class DocumentInputConfig(typing_extensions.TypedDict, total=False): +class DocumentInputConfig(typing.TypedDict, total=False): content: str gcsSource: GcsSource mimeType: str @typing.type_check_only -class DocumentOutputConfig(typing_extensions.TypedDict, total=False): +class DocumentOutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination mimeType: str @typing.type_check_only -class DocumentTranslation(typing_extensions.TypedDict, total=False): +class DocumentTranslation(typing.TypedDict, total=False): byteStreamOutputs: _list[str] detectedLanguageCode: str mimeType: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Example(typing_extensions.TypedDict, total=False): +class Example(typing.TypedDict, total=False): name: str sourceText: str targetText: str usage: str @typing.type_check_only -class ExportDataRequest(typing_extensions.TypedDict, total=False): +class ExportDataRequest(typing.TypedDict, total=False): outputConfig: DatasetOutputConfig @typing.type_check_only -class FileInputSource(typing_extensions.TypedDict, total=False): +class FileInputSource(typing.TypedDict, total=False): content: str displayName: str mimeType: str @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GcsInputSource(typing_extensions.TypedDict, total=False): +class GcsInputSource(typing.TypedDict, total=False): inputUri: str @typing.type_check_only -class GcsOutputDestination(typing_extensions.TypedDict, total=False): +class GcsOutputDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): inputUri: str @typing.type_check_only -class Glossary(typing_extensions.TypedDict, total=False): +class Glossary(typing.TypedDict, total=False): displayName: str endTime: str entryCount: int @@ -185,121 +183,121 @@ class Glossary(typing_extensions.TypedDict, total=False): submitTime: str @typing.type_check_only -class GlossaryConfig(typing_extensions.TypedDict, total=False): +class GlossaryConfig(typing.TypedDict, total=False): contextualTranslationEnabled: bool glossary: str ignoreCase: bool @typing.type_check_only -class GlossaryEntry(typing_extensions.TypedDict, total=False): +class GlossaryEntry(typing.TypedDict, total=False): description: str name: str termsPair: GlossaryTermsPair termsSet: GlossaryTermsSet @typing.type_check_only -class GlossaryInputConfig(typing_extensions.TypedDict, total=False): +class GlossaryInputConfig(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class GlossaryTerm(typing_extensions.TypedDict, total=False): +class GlossaryTerm(typing.TypedDict, total=False): languageCode: str text: str @typing.type_check_only -class GlossaryTermsPair(typing_extensions.TypedDict, total=False): +class GlossaryTermsPair(typing.TypedDict, total=False): sourceTerm: GlossaryTerm targetTerm: GlossaryTerm @typing.type_check_only -class GlossaryTermsSet(typing_extensions.TypedDict, total=False): +class GlossaryTermsSet(typing.TypedDict, total=False): terms: _list[GlossaryTerm] @typing.type_check_only -class ImportAdaptiveMtFileRequest(typing_extensions.TypedDict, total=False): +class ImportAdaptiveMtFileRequest(typing.TypedDict, total=False): fileInputSource: FileInputSource gcsInputSource: GcsInputSource @typing.type_check_only -class ImportAdaptiveMtFileResponse(typing_extensions.TypedDict, total=False): +class ImportAdaptiveMtFileResponse(typing.TypedDict, total=False): adaptiveMtFile: AdaptiveMtFile @typing.type_check_only -class ImportDataRequest(typing_extensions.TypedDict, total=False): +class ImportDataRequest(typing.TypedDict, total=False): inputConfig: DatasetInputConfig @typing.type_check_only -class InputConfig(typing_extensions.TypedDict, total=False): +class InputConfig(typing.TypedDict, total=False): gcsSource: GcsSource mimeType: str @typing.type_check_only -class InputFile(typing_extensions.TypedDict, total=False): +class InputFile(typing.TypedDict, total=False): gcsSource: GcsInputSource usage: str @typing.type_check_only -class LanguageCodePair(typing_extensions.TypedDict, total=False): +class LanguageCodePair(typing.TypedDict, total=False): sourceLanguageCode: str targetLanguageCode: str @typing.type_check_only -class LanguageCodesSet(typing_extensions.TypedDict, total=False): +class LanguageCodesSet(typing.TypedDict, total=False): languageCodes: _list[str] @typing.type_check_only -class ListAdaptiveMtDatasetsResponse(typing_extensions.TypedDict, total=False): +class ListAdaptiveMtDatasetsResponse(typing.TypedDict, total=False): adaptiveMtDatasets: _list[AdaptiveMtDataset] nextPageToken: str @typing.type_check_only -class ListAdaptiveMtFilesResponse(typing_extensions.TypedDict, total=False): +class ListAdaptiveMtFilesResponse(typing.TypedDict, total=False): adaptiveMtFiles: _list[AdaptiveMtFile] nextPageToken: str @typing.type_check_only -class ListAdaptiveMtSentencesResponse(typing_extensions.TypedDict, total=False): +class ListAdaptiveMtSentencesResponse(typing.TypedDict, total=False): adaptiveMtSentences: _list[AdaptiveMtSentence] nextPageToken: str @typing.type_check_only -class ListDatasetsResponse(typing_extensions.TypedDict, total=False): +class ListDatasetsResponse(typing.TypedDict, total=False): datasets: _list[Dataset] nextPageToken: str @typing.type_check_only -class ListExamplesResponse(typing_extensions.TypedDict, total=False): +class ListExamplesResponse(typing.TypedDict, total=False): examples: _list[Example] nextPageToken: str @typing.type_check_only -class ListGlossariesResponse(typing_extensions.TypedDict, total=False): +class ListGlossariesResponse(typing.TypedDict, total=False): glossaries: _list[Glossary] nextPageToken: str @typing.type_check_only -class ListGlossaryEntriesResponse(typing_extensions.TypedDict, total=False): +class ListGlossaryEntriesResponse(typing.TypedDict, total=False): glossaryEntries: _list[GlossaryEntry] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListModelsResponse(typing_extensions.TypedDict, total=False): +class ListModelsResponse(typing.TypedDict, total=False): models: _list[Model] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -307,7 +305,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Model(typing_extensions.TypedDict, total=False): +class Model(typing.TypedDict, total=False): createTime: str dataset: str displayName: str @@ -320,7 +318,7 @@ class Model(typing_extensions.TypedDict, total=False): validateExampleCount: int @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -328,72 +326,72 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class ReferenceSentenceConfig(typing_extensions.TypedDict, total=False): +class ReferenceSentenceConfig(typing.TypedDict, total=False): referenceSentencePairLists: _list[ReferenceSentencePairList] sourceLanguageCode: str targetLanguageCode: str @typing.type_check_only -class ReferenceSentencePair(typing_extensions.TypedDict, total=False): +class ReferenceSentencePair(typing.TypedDict, total=False): sourceSentence: str targetSentence: str @typing.type_check_only -class ReferenceSentencePairList(typing_extensions.TypedDict, total=False): +class ReferenceSentencePairList(typing.TypedDict, total=False): referenceSentencePairs: _list[ReferenceSentencePair] @typing.type_check_only -class RefineTextRequest(typing_extensions.TypedDict, total=False): +class RefineTextRequest(typing.TypedDict, total=False): refinementEntries: _list[RefinementEntry] sourceLanguageCode: str targetLanguageCode: str @typing.type_check_only -class RefineTextResponse(typing_extensions.TypedDict, total=False): +class RefineTextResponse(typing.TypedDict, total=False): refinedTranslations: _list[str] @typing.type_check_only -class RefinementEntry(typing_extensions.TypedDict, total=False): +class RefinementEntry(typing.TypedDict, total=False): originalTranslation: str sourceText: str @typing.type_check_only -class Romanization(typing_extensions.TypedDict, total=False): +class Romanization(typing.TypedDict, total=False): detectedLanguageCode: str romanizedText: str @typing.type_check_only -class RomanizeTextRequest(typing_extensions.TypedDict, total=False): +class RomanizeTextRequest(typing.TypedDict, total=False): contents: _list[str] sourceLanguageCode: str @typing.type_check_only -class RomanizeTextResponse(typing_extensions.TypedDict, total=False): +class RomanizeTextResponse(typing.TypedDict, total=False): romanizations: _list[Romanization] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SupportedLanguage(typing_extensions.TypedDict, total=False): +class SupportedLanguage(typing.TypedDict, total=False): displayName: str languageCode: str supportSource: bool supportTarget: bool @typing.type_check_only -class SupportedLanguages(typing_extensions.TypedDict, total=False): +class SupportedLanguages(typing.TypedDict, total=False): languages: _list[SupportedLanguage] @typing.type_check_only -class TranslateDocumentRequest(typing_extensions.TypedDict, total=False): +class TranslateDocumentRequest(typing.TypedDict, total=False): customizedAttribution: str documentInputConfig: DocumentInputConfig documentOutputConfig: DocumentOutputConfig @@ -407,20 +405,20 @@ class TranslateDocumentRequest(typing_extensions.TypedDict, total=False): targetLanguageCode: str @typing.type_check_only -class TranslateDocumentResponse(typing_extensions.TypedDict, total=False): +class TranslateDocumentResponse(typing.TypedDict, total=False): documentTranslation: DocumentTranslation glossaryConfig: TranslateTextGlossaryConfig glossaryDocumentTranslation: DocumentTranslation model: str @typing.type_check_only -class TranslateTextGlossaryConfig(typing_extensions.TypedDict, total=False): +class TranslateTextGlossaryConfig(typing.TypedDict, total=False): contextualTranslationEnabled: bool glossary: str ignoreCase: bool @typing.type_check_only -class TranslateTextRequest(typing_extensions.TypedDict, total=False): +class TranslateTextRequest(typing.TypedDict, total=False): contents: _list[str] glossaryConfig: TranslateTextGlossaryConfig labels: dict[str, typing.Any] @@ -431,21 +429,21 @@ class TranslateTextRequest(typing_extensions.TypedDict, total=False): transliterationConfig: TransliterationConfig @typing.type_check_only -class TranslateTextResponse(typing_extensions.TypedDict, total=False): +class TranslateTextResponse(typing.TypedDict, total=False): glossaryTranslations: _list[Translation] translations: _list[Translation] @typing.type_check_only -class Translation(typing_extensions.TypedDict, total=False): +class Translation(typing.TypedDict, total=False): detectedLanguageCode: str glossaryConfig: TranslateTextGlossaryConfig model: str translatedText: str @typing.type_check_only -class TransliterationConfig(typing_extensions.TypedDict, total=False): +class TransliterationConfig(typing.TypedDict, total=False): enableTransliteration: bool @typing.type_check_only -class WaitOperationRequest(typing_extensions.TypedDict, total=False): +class WaitOperationRequest(typing.TypedDict, total=False): timeout: str diff --git a/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi b/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi index 39c140ced..977f3619a 100644 --- a/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi index d7f84b422..e27812fdd 100644 --- a/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi @@ -1,19 +1,17 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class BatchDocumentInputConfig(typing_extensions.TypedDict, total=False): +class BatchDocumentInputConfig(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class BatchDocumentOutputConfig(typing_extensions.TypedDict, total=False): +class BatchDocumentOutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class BatchTranslateDocumentRequest(typing_extensions.TypedDict, total=False): +class BatchTranslateDocumentRequest(typing.TypedDict, total=False): customizedAttribution: str enableRotationCorrection: bool enableShadowRemovalNativePdf: bool @@ -27,7 +25,7 @@ class BatchTranslateDocumentRequest(typing_extensions.TypedDict, total=False): targetLanguageCodes: _list[str] @typing.type_check_only -class BatchTranslateTextRequest(typing_extensions.TypedDict, total=False): +class BatchTranslateTextRequest(typing.TypedDict, total=False): glossaries: dict[str, typing.Any] inputConfigs: _list[InputConfig] labels: dict[str, typing.Any] @@ -37,54 +35,54 @@ class BatchTranslateTextRequest(typing_extensions.TypedDict, total=False): targetLanguageCodes: _list[str] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DetectLanguageRequest(typing_extensions.TypedDict, total=False): +class DetectLanguageRequest(typing.TypedDict, total=False): content: str labels: dict[str, typing.Any] mimeType: str model: str @typing.type_check_only -class DetectLanguageResponse(typing_extensions.TypedDict, total=False): +class DetectLanguageResponse(typing.TypedDict, total=False): languages: _list[DetectedLanguage] @typing.type_check_only -class DetectedLanguage(typing_extensions.TypedDict, total=False): +class DetectedLanguage(typing.TypedDict, total=False): confidence: float languageCode: str @typing.type_check_only -class DocumentInputConfig(typing_extensions.TypedDict, total=False): +class DocumentInputConfig(typing.TypedDict, total=False): content: str gcsSource: GcsSource mimeType: str @typing.type_check_only -class DocumentOutputConfig(typing_extensions.TypedDict, total=False): +class DocumentOutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination mimeType: str @typing.type_check_only -class DocumentTranslation(typing_extensions.TypedDict, total=False): +class DocumentTranslation(typing.TypedDict, total=False): byteStreamOutputs: _list[str] detectedLanguageCode: str mimeType: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): outputUriPrefix: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): inputUri: str @typing.type_check_only -class Glossary(typing_extensions.TypedDict, total=False): +class Glossary(typing.TypedDict, total=False): endTime: str entryCount: int inputConfig: GlossaryInputConfig @@ -94,41 +92,41 @@ class Glossary(typing_extensions.TypedDict, total=False): submitTime: str @typing.type_check_only -class GlossaryInputConfig(typing_extensions.TypedDict, total=False): +class GlossaryInputConfig(typing.TypedDict, total=False): gcsSource: GcsSource @typing.type_check_only -class InputConfig(typing_extensions.TypedDict, total=False): +class InputConfig(typing.TypedDict, total=False): gcsSource: GcsSource mimeType: str @typing.type_check_only -class LanguageCodePair(typing_extensions.TypedDict, total=False): +class LanguageCodePair(typing.TypedDict, total=False): sourceLanguageCode: str targetLanguageCode: str @typing.type_check_only -class LanguageCodesSet(typing_extensions.TypedDict, total=False): +class LanguageCodesSet(typing.TypedDict, total=False): languageCodes: _list[str] @typing.type_check_only -class ListGlossariesResponse(typing_extensions.TypedDict, total=False): +class ListGlossariesResponse(typing.TypedDict, total=False): glossaries: _list[Glossary] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -136,7 +134,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -144,43 +142,43 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): gcsDestination: GcsDestination @typing.type_check_only -class RefineTextRequest(typing_extensions.TypedDict, total=False): +class RefineTextRequest(typing.TypedDict, total=False): refinementEntries: _list[RefinementEntry] sourceLanguageCode: str targetLanguageCode: str @typing.type_check_only -class RefineTextResponse(typing_extensions.TypedDict, total=False): +class RefineTextResponse(typing.TypedDict, total=False): refinedTranslations: _list[str] @typing.type_check_only -class RefinementEntry(typing_extensions.TypedDict, total=False): +class RefinementEntry(typing.TypedDict, total=False): originalTranslation: str sourceText: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class SupportedLanguage(typing_extensions.TypedDict, total=False): +class SupportedLanguage(typing.TypedDict, total=False): displayName: str languageCode: str supportSource: bool supportTarget: bool @typing.type_check_only -class SupportedLanguages(typing_extensions.TypedDict, total=False): +class SupportedLanguages(typing.TypedDict, total=False): languages: _list[SupportedLanguage] @typing.type_check_only -class TranslateDocumentRequest(typing_extensions.TypedDict, total=False): +class TranslateDocumentRequest(typing.TypedDict, total=False): customizedAttribution: str documentInputConfig: DocumentInputConfig documentOutputConfig: DocumentOutputConfig @@ -194,20 +192,20 @@ class TranslateDocumentRequest(typing_extensions.TypedDict, total=False): targetLanguageCode: str @typing.type_check_only -class TranslateDocumentResponse(typing_extensions.TypedDict, total=False): +class TranslateDocumentResponse(typing.TypedDict, total=False): documentTranslation: DocumentTranslation glossaryConfig: TranslateTextGlossaryConfig glossaryDocumentTranslation: DocumentTranslation model: str @typing.type_check_only -class TranslateTextGlossaryConfig(typing_extensions.TypedDict, total=False): +class TranslateTextGlossaryConfig(typing.TypedDict, total=False): contextualTranslationEnabled: bool glossary: str ignoreCase: bool @typing.type_check_only -class TranslateTextRequest(typing_extensions.TypedDict, total=False): +class TranslateTextRequest(typing.TypedDict, total=False): contents: _list[str] glossaryConfig: TranslateTextGlossaryConfig labels: dict[str, typing.Any] @@ -217,17 +215,17 @@ class TranslateTextRequest(typing_extensions.TypedDict, total=False): targetLanguageCode: str @typing.type_check_only -class TranslateTextResponse(typing_extensions.TypedDict, total=False): +class TranslateTextResponse(typing.TypedDict, total=False): glossaryTranslations: _list[Translation] translations: _list[Translation] @typing.type_check_only -class Translation(typing_extensions.TypedDict, total=False): +class Translation(typing.TypedDict, total=False): detectedLanguageCode: str glossaryConfig: TranslateTextGlossaryConfig model: str translatedText: str @typing.type_check_only -class WaitOperationRequest(typing_extensions.TypedDict, total=False): +class WaitOperationRequest(typing.TypedDict, total=False): timeout: str diff --git a/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi b/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi index 4e8e17675..3e781f348 100644 --- a/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/travelimpactmodel/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi index 4cf5f70b6..c8a5749a0 100644 --- a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi @@ -1,115 +1,113 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ComputeDetailedFlightEmissionsRequest(typing_extensions.TypedDict, total=False): +class ComputeDetailedFlightEmissionsRequest(typing.TypedDict, total=False): flights: _list[Flight] @typing.type_check_only -class ComputeDetailedFlightEmissionsResponse(typing_extensions.TypedDict, total=False): +class ComputeDetailedFlightEmissionsResponse(typing.TypedDict, total=False): flightsWithDetailedEmissions: _list[FlightWithDetailedEmissions] modelVersion: ModelVersion @typing.type_check_only -class ComputeFlightEmissionsRequest(typing_extensions.TypedDict, total=False): +class ComputeFlightEmissionsRequest(typing.TypedDict, total=False): flights: _list[Flight] @typing.type_check_only -class ComputeFlightEmissionsResponse(typing_extensions.TypedDict, total=False): +class ComputeFlightEmissionsResponse(typing.TypedDict, total=False): flightEmissions: _list[FlightWithEmissions] modelVersion: ModelVersion @typing.type_check_only -class ComputeScope3FlightEmissionsRequest(typing_extensions.TypedDict, total=False): +class ComputeScope3FlightEmissionsRequest(typing.TypedDict, total=False): flights: _list[Scope3FlightSegment] modelVersion: ModelVersion @typing.type_check_only -class ComputeScope3FlightEmissionsResponse(typing_extensions.TypedDict, total=False): +class ComputeScope3FlightEmissionsResponse(typing.TypedDict, total=False): flightEmissions: _list[Scope3FlightEmissions] modelVersion: ModelVersion @typing.type_check_only -class ComputeTypicalFlightEmissionsRequest(typing_extensions.TypedDict, total=False): +class ComputeTypicalFlightEmissionsRequest(typing.TypedDict, total=False): markets: _list[Market] @typing.type_check_only -class ComputeTypicalFlightEmissionsResponse(typing_extensions.TypedDict, total=False): +class ComputeTypicalFlightEmissionsResponse(typing.TypedDict, total=False): modelVersion: ModelVersion typicalFlightEmissions: _list[TypicalFlightEmissions] @typing.type_check_only -class Date(typing_extensions.TypedDict, total=False): +class Date(typing.TypedDict, total=False): day: int month: int year: int @typing.type_check_only -class EasaLabelMetadata(typing_extensions.TypedDict, total=False): +class EasaLabelMetadata(typing.TypedDict, total=False): labelExpiryDate: Date labelIssueDate: Date labelVersion: str safDiscountPercentage: float @typing.type_check_only -class EmissionsBreakdown(typing_extensions.TypedDict, total=False): +class EmissionsBreakdown(typing.TypedDict, total=False): ttwEmissionsGramsPerPax: EmissionsGramsPerPax wttEmissionsGramsPerPax: EmissionsGramsPerPax @typing.type_check_only -class EmissionsGramsPerPax(typing_extensions.TypedDict, total=False): +class EmissionsGramsPerPax(typing.TypedDict, total=False): business: int economy: int first: int premiumEconomy: int @typing.type_check_only -class EmissionsMetadata(typing_extensions.TypedDict, total=False): +class EmissionsMetadata(typing.TypedDict, total=False): easaLabelMetadata: EasaLabelMetadata emissionsProvenance: EmissionsProvenance timWebsiteEmissionsCalculatorUrl: str @typing.type_check_only -class EmissionsProvenance(typing_extensions.TypedDict, total=False): +class EmissionsProvenance(typing.TypedDict, total=False): provenanceEntries: _list[EmissionsProvenanceEntry] @typing.type_check_only -class EmissionsProvenanceEntry(typing_extensions.TypedDict, total=False): +class EmissionsProvenanceEntry(typing.TypedDict, total=False): cargoMassFractionData: float - cargoMassFractionT100Strategy: typing_extensions.Literal[ + cargoMassFractionT100Strategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "CARRIER_ROUTE_AIRCRAFT_CLASS", "ROUTE_AIRCRAFT_CLASS", "DISTANCE_AIRCRAFT_CLASS", "ACTUAL_CARRIER_ROUTE_YEAR_MONTH_AIRCRAFT_CLASS", ] - dataCategory: typing_extensions.Literal[ + dataCategory: typing.Literal[ "DATA_CATEGORY_UNSPECIFIED", "PRIMARY", "MODELED", "DEFAULT" ] - distanceAdjustmentStrategy: typing_extensions.Literal[ + distanceAdjustmentStrategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "ORIGIN_DESTINATION", "COUNTRY_PAIR", "DEFAULT" ] estimatedFlightDistanceKm: int - fuelBurnEeaStrategy: typing_extensions.Literal[ + fuelBurnEeaStrategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "AIRCRAFT_MAPPING_FALLBACK_WITH_CORRECTION_FACTOR", "AIRCRAFT_MAPPING_EXACT", "AIRCRAFT_MAPPING_FALLBACK", ] - loadFactorsChAviationStrategy: typing_extensions.Literal[ + loadFactorsChAviationStrategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "CARRIER_MONTH", "ACTUAL_CARRIER_YEAR_MONTH" ] loadFactorsData: float - loadFactorsT100Strategy: typing_extensions.Literal[ + loadFactorsT100Strategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "CARRIER_ROUTE_MONTH", "CARRIER_MONTH", "ACTUAL_CARRIER_ROUTE_YEAR_MONTH", ] - provenanceEntryType: typing_extensions.Literal[ + provenanceEntryType: typing.Literal[ "EMISSIONS_PROVENANCE_ENTRY_TYPE_UNSPECIFIED", "FUEL_BURN", "LOAD_FACTORS", @@ -118,10 +116,10 @@ class EmissionsProvenanceEntry(typing_extensions.TypedDict, total=False): "SEAT_AREA_RATIOS", "DISTANCE_ADJUSTMENT", ] - seatAreaRatioIataStrategy: typing_extensions.Literal[ + seatAreaRatioIataStrategy: typing.Literal[ "STRATEGY_UNSPECIFIED", "NARROW_AIRCRAFT_BODY", "WIDE_AIRCRAFT_BODY" ] - source: typing_extensions.Literal[ + source: typing.Literal[ "DATA_SOURCE_UNSPECIFIED", "EEA", "T100", @@ -136,7 +134,7 @@ class EmissionsProvenanceEntry(typing_extensions.TypedDict, total=False): sourceVersion: str @typing.type_check_only -class Flight(typing_extensions.TypedDict, total=False): +class Flight(typing.TypedDict, total=False): departureDate: Date destination: str flightNumber: int @@ -144,8 +142,8 @@ class Flight(typing_extensions.TypedDict, total=False): origin: str @typing.type_check_only -class FlightEmissionsDetails(typing_extensions.TypedDict, total=False): - contrailsImpactBucket: typing_extensions.Literal[ +class FlightEmissionsDetails(typing.TypedDict, total=False): + contrailsImpactBucket: typing.Literal[ "CONTRAILS_IMPACT_UNSPECIFIED", "CONTRAILS_IMPACT_NEGLIGIBLE", "CONTRAILS_IMPACT_MODERATE", @@ -153,17 +151,17 @@ class FlightEmissionsDetails(typing_extensions.TypedDict, total=False): ] emissionsBreakdown: EmissionsBreakdown emissionsGramsPerPax: EmissionsGramsPerPax - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "TIM", "EASA"] + source: typing.Literal["SOURCE_UNSPECIFIED", "TIM", "EASA"] @typing.type_check_only -class FlightWithDetailedEmissions(typing_extensions.TypedDict, total=False): +class FlightWithDetailedEmissions(typing.TypedDict, total=False): emissionsMetadata: EmissionsMetadata flight: Flight flightEmissionsDetails: FlightEmissionsDetails @typing.type_check_only -class FlightWithEmissions(typing_extensions.TypedDict, total=False): - contrailsImpactBucket: typing_extensions.Literal[ +class FlightWithEmissions(typing.TypedDict, total=False): + contrailsImpactBucket: typing.Literal[ "CONTRAILS_IMPACT_UNSPECIFIED", "CONTRAILS_IMPACT_NEGLIGIBLE", "CONTRAILS_IMPACT_MODERATE", @@ -172,24 +170,24 @@ class FlightWithEmissions(typing_extensions.TypedDict, total=False): easaLabelMetadata: EasaLabelMetadata emissionsGramsPerPax: EmissionsGramsPerPax flight: Flight - source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "TIM", "EASA"] + source: typing.Literal["SOURCE_UNSPECIFIED", "TIM", "EASA"] @typing.type_check_only -class Market(typing_extensions.TypedDict, total=False): +class Market(typing.TypedDict, total=False): destination: str origin: str @typing.type_check_only -class ModelVersion(typing_extensions.TypedDict, total=False): +class ModelVersion(typing.TypedDict, total=False): dated: str major: int minor: int patch: int @typing.type_check_only -class Scope3FlightEmissions(typing_extensions.TypedDict, total=False): +class Scope3FlightEmissions(typing.TypedDict, total=False): flight: Scope3FlightSegment - source: typing_extensions.Literal[ + source: typing.Literal[ "SCOPE3_DATA_TYPE_UNSPECIFIED", "TIM_EMISSIONS", "TYPICAL_FLIGHT_EMISSIONS", @@ -200,8 +198,8 @@ class Scope3FlightEmissions(typing_extensions.TypedDict, total=False): wtwEmissionsGramsPerPax: str @typing.type_check_only -class Scope3FlightSegment(typing_extensions.TypedDict, total=False): - cabinClass: typing_extensions.Literal[ +class Scope3FlightSegment(typing.TypedDict, total=False): + cabinClass: typing.Literal[ "CABIN_CLASS_UNSPECIFIED", "ECONOMY", "PREMIUM_ECONOMY", "BUSINESS", "FIRST" ] carrierCode: str @@ -212,6 +210,6 @@ class Scope3FlightSegment(typing_extensions.TypedDict, total=False): origin: str @typing.type_check_only -class TypicalFlightEmissions(typing_extensions.TypedDict, total=False): +class TypicalFlightEmissions(typing.TypedDict, total=False): emissionsGramsPerPax: EmissionsGramsPerPax market: Market diff --git a/googleapiclient-stubs/_apis/vault/v1/resources.pyi b/googleapiclient-stubs/_apis/vault/v1/resources.pyi index 98b104328..e5d54e8d7 100644 --- a/googleapiclient-stubs/_apis/vault/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vault/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -83,9 +82,7 @@ class VaultResource(googleapiclient.discovery.Resource): *, matterId: str, holdId: str, - view: typing_extensions.Literal[ - "HOLD_VIEW_UNSPECIFIED", "BASIC_HOLD", "FULL_HOLD" - ] + view: typing.Literal["HOLD_VIEW_UNSPECIFIED", "BASIC_HOLD", "FULL_HOLD"] | None = ..., **kwargs: typing.Any, ) -> HoldHttpRequest: ... @@ -95,9 +92,7 @@ class VaultResource(googleapiclient.discovery.Resource): matterId: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ - "HOLD_VIEW_UNSPECIFIED", "BASIC_HOLD", "FULL_HOLD" - ] + view: typing.Literal["HOLD_VIEW_UNSPECIFIED", "BASIC_HOLD", "FULL_HOLD"] | None = ..., **kwargs: typing.Any, ) -> ListHoldsResponseHttpRequest: ... @@ -167,8 +162,7 @@ class VaultResource(googleapiclient.discovery.Resource): self, *, matterId: str, - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] - | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> MatterHttpRequest: ... def list( @@ -176,12 +170,9 @@ class VaultResource(googleapiclient.discovery.Resource): *, pageSize: int | None = ..., pageToken: str | None = ..., - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "OPEN", "CLOSED", "DELETED" - ] - | None = ..., - view: typing_extensions.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] + state: typing.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "DELETED"] | None = ..., + view: typing.Literal["VIEW_UNSPECIFIED", "BASIC", "FULL"] | None = ..., **kwargs: typing.Any, ) -> ListMattersResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/vault/v1/schemas.pyi b/googleapiclient-stubs/_apis/vault/v1/schemas.pyi index 61f558865..95bcb7bf7 100644 --- a/googleapiclient-stubs/_apis/vault/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vault/v1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccountCount(typing_extensions.TypedDict, total=False): +class AccountCount(typing.TypedDict, total=False): account: UserInfo count: str @typing.type_check_only -class AccountCountError(typing_extensions.TypedDict, total=False): +class AccountCountError(typing.TypedDict, total=False): account: UserInfo - errorType: typing_extensions.Literal[ + errorType: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "WILDCARD_TOO_BROAD", "TOO_MANY_TERMS", @@ -22,42 +20,42 @@ class AccountCountError(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class AccountInfo(typing_extensions.TypedDict, total=False): +class AccountInfo(typing.TypedDict, total=False): emails: _list[str] @typing.type_check_only -class AddHeldAccountResult(typing_extensions.TypedDict, total=False): +class AddHeldAccountResult(typing.TypedDict, total=False): account: HeldAccount status: Status @typing.type_check_only -class AddHeldAccountsRequest(typing_extensions.TypedDict, total=False): +class AddHeldAccountsRequest(typing.TypedDict, total=False): accountIds: _list[str] emails: _list[str] @typing.type_check_only -class AddHeldAccountsResponse(typing_extensions.TypedDict, total=False): +class AddHeldAccountsResponse(typing.TypedDict, total=False): responses: _list[AddHeldAccountResult] @typing.type_check_only -class AddMatterPermissionsRequest(typing_extensions.TypedDict, total=False): +class AddMatterPermissionsRequest(typing.TypedDict, total=False): ccMe: bool matterPermission: MatterPermission sendEmails: bool @typing.type_check_only -class CalendarExportOptions(typing_extensions.TypedDict, total=False): - exportFormat: typing_extensions.Literal[ +class CalendarExportOptions(typing.TypedDict, total=False): + exportFormat: typing.Literal[ "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML", "JSON" ] @typing.type_check_only -class CalendarOptions(typing_extensions.TypedDict, total=False): +class CalendarOptions(typing.TypedDict, total=False): locationQuery: _list[str] minusWords: _list[str] peopleQuery: _list[str] responseStatuses: _list[ - typing_extensions.Literal[ + typing.Literal[ "ATTENDEE_RESPONSE_UNSPECIFIED", "ATTENDEE_RESPONSE_NEEDS_ACTION", "ATTENDEE_RESPONSE_ACCEPTED", @@ -68,28 +66,28 @@ class CalendarOptions(typing_extensions.TypedDict, total=False): versionDate: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloseMatterRequest(typing_extensions.TypedDict, total=False): ... +class CloseMatterRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloseMatterResponse(typing_extensions.TypedDict, total=False): +class CloseMatterResponse(typing.TypedDict, total=False): matter: Matter @typing.type_check_only -class CloudStorageFile(typing_extensions.TypedDict, total=False): +class CloudStorageFile(typing.TypedDict, total=False): bucketName: str md5Hash: str objectName: str size: str @typing.type_check_only -class CloudStorageSink(typing_extensions.TypedDict, total=False): +class CloudStorageSink(typing.TypedDict, total=False): files: _list[CloudStorageFile] @typing.type_check_only -class CorpusQuery(typing_extensions.TypedDict, total=False): +class CorpusQuery(typing.TypedDict, total=False): calendarQuery: HeldCalendarQuery driveQuery: HeldDriveQuery geminiQuery: HeldGeminiQuery @@ -99,40 +97,38 @@ class CorpusQuery(typing_extensions.TypedDict, total=False): voiceQuery: HeldVoiceQuery @typing.type_check_only -class CountArtifactsMetadata(typing_extensions.TypedDict, total=False): +class CountArtifactsMetadata(typing.TypedDict, total=False): endTime: str matterId: str query: Query startTime: str @typing.type_check_only -class CountArtifactsRequest(typing_extensions.TypedDict, total=False): +class CountArtifactsRequest(typing.TypedDict, total=False): query: Query - view: typing_extensions.Literal[ - "COUNT_RESULT_VIEW_UNSPECIFIED", "TOTAL_COUNT", "ALL" - ] + view: typing.Literal["COUNT_RESULT_VIEW_UNSPECIFIED", "TOTAL_COUNT", "ALL"] @typing.type_check_only -class CountArtifactsResponse(typing_extensions.TypedDict, total=False): +class CountArtifactsResponse(typing.TypedDict, total=False): groupsCountResult: GroupsCountResult mailCountResult: MailCountResult totalCount: str @typing.type_check_only -class DriveDocumentIds(typing_extensions.TypedDict, total=False): +class DriveDocumentIds(typing.TypedDict, total=False): ids: _list[str] @typing.type_check_only -class DriveDocumentInfo(typing_extensions.TypedDict, total=False): +class DriveDocumentInfo(typing.TypedDict, total=False): documentIds: DriveDocumentIds @typing.type_check_only -class DriveExportOptions(typing_extensions.TypedDict, total=False): +class DriveExportOptions(typing.TypedDict, total=False): includeAccessInfo: bool @typing.type_check_only -class DriveOptions(typing_extensions.TypedDict, total=False): - clientSideEncryptedOption: typing_extensions.Literal[ +class DriveOptions(typing.TypedDict, total=False): + clientSideEncryptedOption: typing.Literal[ "CLIENT_SIDE_ENCRYPTED_OPTION_UNSPECIFIED", "CLIENT_SIDE_ENCRYPTED_OPTION_ANY", "CLIENT_SIDE_ENCRYPTED_OPTION_ENCRYPTED", @@ -140,7 +136,7 @@ class DriveOptions(typing_extensions.TypedDict, total=False): ] includeSharedDrives: bool includeTeamDrives: bool - sharedDrivesOption: typing_extensions.Literal[ + sharedDrivesOption: typing.Literal[ "SHARED_DRIVES_OPTION_UNSPECIFIED", "NOT_INCLUDED", "INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER", @@ -149,10 +145,10 @@ class DriveOptions(typing_extensions.TypedDict, total=False): versionDate: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Export(typing_extensions.TypedDict, total=False): +class Export(typing.TypedDict, total=False): cloudStorageSink: CloudStorageSink createTime: str exportOptions: ExportOptions @@ -163,40 +159,38 @@ class Export(typing_extensions.TypedDict, total=False): query: Query requester: UserInfo stats: ExportStats - status: typing_extensions.Literal[ + status: typing.Literal[ "EXPORT_STATUS_UNSPECIFIED", "COMPLETED", "FAILED", "IN_PROGRESS" ] @typing.type_check_only -class ExportOptions(typing_extensions.TypedDict, total=False): +class ExportOptions(typing.TypedDict, total=False): calendarOptions: CalendarExportOptions driveOptions: DriveExportOptions geminiOptions: GeminiExportOptions groupsOptions: GroupsExportOptions hangoutsChatOptions: HangoutsChatExportOptions mailOptions: MailExportOptions - region: typing_extensions.Literal[ - "EXPORT_REGION_UNSPECIFIED", "ANY", "US", "EUROPE" - ] + region: typing.Literal["EXPORT_REGION_UNSPECIFIED", "ANY", "US", "EUROPE"] voiceOptions: VoiceExportOptions @typing.type_check_only -class ExportStats(typing_extensions.TypedDict, total=False): +class ExportStats(typing.TypedDict, total=False): exportedArtifactCount: str sizeInBytes: str totalArtifactCount: str @typing.type_check_only -class GeminiExportOptions(typing_extensions.TypedDict, total=False): - exportFormat: typing_extensions.Literal[ +class GeminiExportOptions(typing.TypedDict, total=False): + exportFormat: typing.Literal[ "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML", "JSON" ] @typing.type_check_only -class GeminiOptions(typing_extensions.TypedDict, total=False): ... +class GeminiOptions(typing.TypedDict, total=False): ... @typing.type_check_only -class GroupsCountResult(typing_extensions.TypedDict, total=False): +class GroupsCountResult(typing.TypedDict, total=False): accountCountErrors: _list[AccountCountError] accountCounts: _list[AccountCount] matchingAccountsCount: str @@ -204,27 +198,27 @@ class GroupsCountResult(typing_extensions.TypedDict, total=False): queriedAccountsCount: str @typing.type_check_only -class GroupsExportOptions(typing_extensions.TypedDict, total=False): - exportFormat: typing_extensions.Literal[ +class GroupsExportOptions(typing.TypedDict, total=False): + exportFormat: typing.Literal[ "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML", "JSON" ] @typing.type_check_only -class HangoutsChatExportOptions(typing_extensions.TypedDict, total=False): - exportFormat: typing_extensions.Literal[ +class HangoutsChatExportOptions(typing.TypedDict, total=False): + exportFormat: typing.Literal[ "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML", "JSON" ] @typing.type_check_only -class HangoutsChatInfo(typing_extensions.TypedDict, total=False): +class HangoutsChatInfo(typing.TypedDict, total=False): roomId: _list[str] @typing.type_check_only -class HangoutsChatOptions(typing_extensions.TypedDict, total=False): +class HangoutsChatOptions(typing.TypedDict, total=False): includeRooms: bool @typing.type_check_only -class HeldAccount(typing_extensions.TypedDict, total=False): +class HeldAccount(typing.TypedDict, total=False): accountId: str email: str firstName: str @@ -232,49 +226,49 @@ class HeldAccount(typing_extensions.TypedDict, total=False): lastName: str @typing.type_check_only -class HeldCalendarQuery(typing_extensions.TypedDict, total=False): ... +class HeldCalendarQuery(typing.TypedDict, total=False): ... @typing.type_check_only -class HeldDriveQuery(typing_extensions.TypedDict, total=False): +class HeldDriveQuery(typing.TypedDict, total=False): includeSharedDriveFiles: bool includeTeamDriveFiles: bool @typing.type_check_only -class HeldGeminiQuery(typing_extensions.TypedDict, total=False): ... +class HeldGeminiQuery(typing.TypedDict, total=False): ... @typing.type_check_only -class HeldGroupsQuery(typing_extensions.TypedDict, total=False): +class HeldGroupsQuery(typing.TypedDict, total=False): endTime: str startTime: str terms: str @typing.type_check_only -class HeldHangoutsChatQuery(typing_extensions.TypedDict, total=False): +class HeldHangoutsChatQuery(typing.TypedDict, total=False): includeRooms: bool @typing.type_check_only -class HeldMailQuery(typing_extensions.TypedDict, total=False): +class HeldMailQuery(typing.TypedDict, total=False): endTime: str startTime: str terms: str @typing.type_check_only -class HeldOrgUnit(typing_extensions.TypedDict, total=False): +class HeldOrgUnit(typing.TypedDict, total=False): holdTime: str orgUnitId: str @typing.type_check_only -class HeldVoiceQuery(typing_extensions.TypedDict, total=False): +class HeldVoiceQuery(typing.TypedDict, total=False): coveredData: _list[ - typing_extensions.Literal[ + typing.Literal[ "COVERED_DATA_UNSPECIFIED", "TEXT_MESSAGES", "VOICEMAILS", "CALL_LOGS" ] ] @typing.type_check_only -class Hold(typing_extensions.TypedDict, total=False): +class Hold(typing.TypedDict, total=False): accounts: _list[HeldAccount] - corpus: typing_extensions.Literal[ + corpus: typing.Literal[ "CORPUS_TYPE_UNSPECIFIED", "DRIVE", "MAIL", @@ -291,37 +285,37 @@ class Hold(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ListExportsResponse(typing_extensions.TypedDict, total=False): +class ListExportsResponse(typing.TypedDict, total=False): exports: _list[Export] nextPageToken: str @typing.type_check_only -class ListHeldAccountsResponse(typing_extensions.TypedDict, total=False): +class ListHeldAccountsResponse(typing.TypedDict, total=False): accounts: _list[HeldAccount] @typing.type_check_only -class ListHoldsResponse(typing_extensions.TypedDict, total=False): +class ListHoldsResponse(typing.TypedDict, total=False): holds: _list[Hold] nextPageToken: str @typing.type_check_only -class ListMattersResponse(typing_extensions.TypedDict, total=False): +class ListMattersResponse(typing.TypedDict, total=False): matters: _list[Matter] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListSavedQueriesResponse(typing_extensions.TypedDict, total=False): +class ListSavedQueriesResponse(typing.TypedDict, total=False): nextPageToken: str savedQueries: _list[SavedQuery] @typing.type_check_only -class MailCountResult(typing_extensions.TypedDict, total=False): +class MailCountResult(typing.TypedDict, total=False): accountCountErrors: _list[AccountCountError] accountCounts: _list[AccountCount] matchingAccountsCount: str @@ -329,8 +323,8 @@ class MailCountResult(typing_extensions.TypedDict, total=False): queriedAccountsCount: str @typing.type_check_only -class MailExportOptions(typing_extensions.TypedDict, total=False): - exportFormat: typing_extensions.Literal[ +class MailExportOptions(typing.TypedDict, total=False): + exportFormat: typing.Literal[ "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML", "JSON" ] exportLinkedDriveFiles: bool @@ -338,8 +332,8 @@ class MailExportOptions(typing_extensions.TypedDict, total=False): useNewExport: bool @typing.type_check_only -class MailOptions(typing_extensions.TypedDict, total=False): - clientSideEncryptedOption: typing_extensions.Literal[ +class MailOptions(typing.TypedDict, total=False): + clientSideEncryptedOption: typing.Literal[ "CLIENT_SIDE_ENCRYPTED_OPTION_UNSPECIFIED", "CLIENT_SIDE_ENCRYPTED_OPTION_ANY", "CLIENT_SIDE_ENCRYPTED_OPTION_ENCRYPTED", @@ -348,23 +342,21 @@ class MailOptions(typing_extensions.TypedDict, total=False): excludeDrafts: bool @typing.type_check_only -class Matter(typing_extensions.TypedDict, total=False): +class Matter(typing.TypedDict, total=False): description: str matterId: str matterPermissions: _list[MatterPermission] - matterRegion: typing_extensions.Literal[ - "MATTER_REGION_UNSPECIFIED", "ANY", "US", "EUROPE" - ] + matterRegion: typing.Literal["MATTER_REGION_UNSPECIFIED", "ANY", "US", "EUROPE"] name: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "DELETED"] + state: typing.Literal["STATE_UNSPECIFIED", "OPEN", "CLOSED", "DELETED"] @typing.type_check_only -class MatterPermission(typing_extensions.TypedDict, total=False): +class MatterPermission(typing.TypedDict, total=False): accountId: str - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "COLLABORATOR", "OWNER"] + role: typing.Literal["ROLE_UNSPECIFIED", "COLLABORATOR", "OWNER"] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -372,14 +364,14 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OrgUnitInfo(typing_extensions.TypedDict, total=False): +class OrgUnitInfo(typing.TypedDict, total=False): orgUnitId: str @typing.type_check_only -class Query(typing_extensions.TypedDict, total=False): +class Query(typing.TypedDict, total=False): accountInfo: AccountInfo calendarOptions: CalendarOptions - corpus: typing_extensions.Literal[ + corpus: typing.Literal[ "CORPUS_TYPE_UNSPECIFIED", "DRIVE", "MAIL", @@ -389,7 +381,7 @@ class Query(typing_extensions.TypedDict, total=False): "CALENDAR", "GEMINI", ] - dataScope: typing_extensions.Literal[ + dataScope: typing.Literal[ "DATA_SCOPE_UNSPECIFIED", "ALL_DATA", "HELD_DATA", "UNPROCESSED_DATA" ] driveDocumentInfo: DriveDocumentInfo @@ -399,7 +391,7 @@ class Query(typing_extensions.TypedDict, total=False): hangoutsChatInfo: HangoutsChatInfo hangoutsChatOptions: HangoutsChatOptions mailOptions: MailOptions - method: typing_extensions.Literal[ + method: typing.Literal[ "SEARCH_METHOD_UNSPECIFIED", "ACCOUNT", "ORG_UNIT", @@ -411,7 +403,7 @@ class Query(typing_extensions.TypedDict, total=False): "DRIVE_DOCUMENT", ] orgUnitInfo: OrgUnitInfo - searchMethod: typing_extensions.Literal[ + searchMethod: typing.Literal[ "SEARCH_METHOD_UNSPECIFIED", "ACCOUNT", "ORG_UNIT", @@ -431,26 +423,26 @@ class Query(typing_extensions.TypedDict, total=False): voiceOptions: VoiceOptions @typing.type_check_only -class RemoveHeldAccountsRequest(typing_extensions.TypedDict, total=False): +class RemoveHeldAccountsRequest(typing.TypedDict, total=False): accountIds: _list[str] @typing.type_check_only -class RemoveHeldAccountsResponse(typing_extensions.TypedDict, total=False): +class RemoveHeldAccountsResponse(typing.TypedDict, total=False): statuses: _list[Status] @typing.type_check_only -class RemoveMatterPermissionsRequest(typing_extensions.TypedDict, total=False): +class RemoveMatterPermissionsRequest(typing.TypedDict, total=False): accountId: str @typing.type_check_only -class ReopenMatterRequest(typing_extensions.TypedDict, total=False): ... +class ReopenMatterRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ReopenMatterResponse(typing_extensions.TypedDict, total=False): +class ReopenMatterResponse(typing.TypedDict, total=False): matter: Matter @typing.type_check_only -class SavedQuery(typing_extensions.TypedDict, total=False): +class SavedQuery(typing.TypedDict, total=False): createTime: str displayName: str matterId: str @@ -458,41 +450,41 @@ class SavedQuery(typing_extensions.TypedDict, total=False): savedQueryId: str @typing.type_check_only -class SharedDriveInfo(typing_extensions.TypedDict, total=False): +class SharedDriveInfo(typing.TypedDict, total=False): sharedDriveIds: _list[str] @typing.type_check_only -class SitesUrlInfo(typing_extensions.TypedDict, total=False): +class SitesUrlInfo(typing.TypedDict, total=False): urls: _list[str] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class TeamDriveInfo(typing_extensions.TypedDict, total=False): +class TeamDriveInfo(typing.TypedDict, total=False): teamDriveIds: _list[str] @typing.type_check_only -class UndeleteMatterRequest(typing_extensions.TypedDict, total=False): ... +class UndeleteMatterRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UserInfo(typing_extensions.TypedDict, total=False): +class UserInfo(typing.TypedDict, total=False): displayName: str email: str @typing.type_check_only -class VoiceExportOptions(typing_extensions.TypedDict, total=False): - exportFormat: typing_extensions.Literal[ +class VoiceExportOptions(typing.TypedDict, total=False): + exportFormat: typing.Literal[ "EXPORT_FORMAT_UNSPECIFIED", "MBOX", "PST", "ICS", "XML", "JSON" ] @typing.type_check_only -class VoiceOptions(typing_extensions.TypedDict, total=False): +class VoiceOptions(typing.TypedDict, total=False): coveredData: _list[ - typing_extensions.Literal[ + typing.Literal[ "COVERED_DATA_UNSPECIFIED", "TEXT_MESSAGES", "VOICEMAILS", "CALL_LOGS" ] ] diff --git a/googleapiclient-stubs/_apis/vectortile/v1/resources.pyi b/googleapiclient-stubs/_apis/vectortile/v1/resources.pyi index d47b06fb6..1cea96483 100644 --- a/googleapiclient-stubs/_apis/vectortile/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vectortile/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -25,7 +24,7 @@ class SemanticTileResource(googleapiclient.discovery.Resource): clientInfo_applicationVersion: str | None = ..., clientInfo_deviceModel: str | None = ..., clientInfo_operatingSystem: str | None = ..., - clientInfo_platform: typing_extensions.Literal[ + clientInfo_platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "EDITOR", "MAC_OS", @@ -61,7 +60,7 @@ class SemanticTileResource(googleapiclient.discovery.Resource): clientInfo_applicationVersion: str | None = ..., clientInfo_deviceModel: str | None = ..., clientInfo_operatingSystem: str | None = ..., - clientInfo_platform: typing_extensions.Literal[ + clientInfo_platform: typing.Literal[ "PLATFORM_UNSPECIFIED", "EDITOR", "MAC_OS", @@ -75,11 +74,11 @@ class SemanticTileResource(googleapiclient.discovery.Resource): clientInfo_userId: str | None = ..., maxElevationResolutionCells: int | None = ..., minElevationResolutionCells: int | None = ..., - terrainFormats: typing_extensions.Literal[ + terrainFormats: typing.Literal[ "TERRAIN_FORMAT_UNKNOWN", "FIRST_DERIVATIVE", "SECOND_DERIVATIVE" ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "TERRAIN_FORMAT_UNKNOWN", "FIRST_DERIVATIVE", "SECOND_DERIVATIVE" ] ] diff --git a/googleapiclient-stubs/_apis/vectortile/v1/schemas.pyi b/googleapiclient-stubs/_apis/vectortile/v1/schemas.pyi index d452cc382..2b5cccc00 100644 --- a/googleapiclient-stubs/_apis/vectortile/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vectortile/v1/schemas.pyi @@ -1,42 +1,38 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Area(typing_extensions.TypedDict, total=False): +class Area(typing.TypedDict, total=False): basemapZOrder: BasemapZOrder hasExternalEdges: bool internalEdges: _list[int] loopBreaks: _list[int] triangleIndices: _list[int] - type: typing_extensions.Literal[ - "TRIANGLE_FAN", "INDEXED_TRIANGLES", "TRIANGLE_STRIP" - ] + type: typing.Literal["TRIANGLE_FAN", "INDEXED_TRIANGLES", "TRIANGLE_STRIP"] vertexOffsets: Vertex2DList zOrder: int @typing.type_check_only -class BasemapZOrder(typing_extensions.TypedDict, total=False): +class BasemapZOrder(typing.TypedDict, total=False): zGrade: int zPlane: int zWithinGrade: int @typing.type_check_only -class ExtrudedArea(typing_extensions.TypedDict, total=False): +class ExtrudedArea(typing.TypedDict, total=False): area: Area maxZ: int minZ: int @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): displayName: str geometry: Geometry placeId: str relations: _list[Relation] segmentInfo: SegmentInfo - type: typing_extensions.Literal[ + type: typing.Literal[ "FEATURE_TYPE_UNSPECIFIED", "STRUCTURE", "BAR", @@ -69,91 +65,91 @@ class Feature(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FeatureTile(typing_extensions.TypedDict, total=False): +class FeatureTile(typing.TypedDict, total=False): coordinates: TileCoordinates features: _list[Feature] name: str providers: _list[ProviderInfo] - status: typing_extensions.Literal["STATUS_OK", "STATUS_OK_DATA_UNCHANGED"] + status: typing.Literal["STATUS_OK", "STATUS_OK_DATA_UNCHANGED"] versionId: str @typing.type_check_only -class FirstDerivativeElevationGrid(typing_extensions.TypedDict, total=False): +class FirstDerivativeElevationGrid(typing.TypedDict, total=False): altitudeMultiplier: float rows: _list[Row] @typing.type_check_only -class Geometry(typing_extensions.TypedDict, total=False): +class Geometry(typing.TypedDict, total=False): areas: _list[Area] extrudedAreas: _list[ExtrudedArea] lines: _list[Line] modeledVolumes: _list[ModeledVolume] @typing.type_check_only -class Line(typing_extensions.TypedDict, total=False): +class Line(typing.TypedDict, total=False): basemapZOrder: BasemapZOrder vertexOffsets: Vertex2DList zOrder: int @typing.type_check_only -class ModeledVolume(typing_extensions.TypedDict, total=False): +class ModeledVolume(typing.TypedDict, total=False): strips: _list[TriangleStrip] vertexOffsets: Vertex3DList @typing.type_check_only -class ProviderInfo(typing_extensions.TypedDict, total=False): +class ProviderInfo(typing.TypedDict, total=False): description: str @typing.type_check_only -class Relation(typing_extensions.TypedDict, total=False): +class Relation(typing.TypedDict, total=False): relatedFeatureIndex: int - relationType: typing_extensions.Literal[ + relationType: typing.Literal[ "RELATION_TYPE_UNSPECIFIED", "OCCUPIES", "PRIMARILY_OCCUPIED_BY" ] @typing.type_check_only -class RoadInfo(typing_extensions.TypedDict, total=False): +class RoadInfo(typing.TypedDict, total=False): isPrivate: bool @typing.type_check_only -class Row(typing_extensions.TypedDict, total=False): +class Row(typing.TypedDict, total=False): altitudeDiffs: _list[int] @typing.type_check_only -class SecondDerivativeElevationGrid(typing_extensions.TypedDict, total=False): +class SecondDerivativeElevationGrid(typing.TypedDict, total=False): altitudeMultiplier: float columnCount: int encodedData: str rowCount: int @typing.type_check_only -class SegmentInfo(typing_extensions.TypedDict, total=False): +class SegmentInfo(typing.TypedDict, total=False): roadInfo: RoadInfo @typing.type_check_only -class TerrainTile(typing_extensions.TypedDict, total=False): +class TerrainTile(typing.TypedDict, total=False): coordinates: TileCoordinates firstDerivative: FirstDerivativeElevationGrid name: str secondDerivative: SecondDerivativeElevationGrid @typing.type_check_only -class TileCoordinates(typing_extensions.TypedDict, total=False): +class TileCoordinates(typing.TypedDict, total=False): x: int y: int zoom: int @typing.type_check_only -class TriangleStrip(typing_extensions.TypedDict, total=False): +class TriangleStrip(typing.TypedDict, total=False): vertexIndices: _list[int] @typing.type_check_only -class Vertex2DList(typing_extensions.TypedDict, total=False): +class Vertex2DList(typing.TypedDict, total=False): xOffsets: _list[int] yOffsets: _list[int] @typing.type_check_only -class Vertex3DList(typing_extensions.TypedDict, total=False): +class Vertex3DList(typing.TypedDict, total=False): xOffsets: _list[int] yOffsets: _list[int] zOffsets: _list[int] diff --git a/googleapiclient-stubs/_apis/verifiedaccess/v1/resources.pyi b/googleapiclient-stubs/_apis/verifiedaccess/v1/resources.pyi index e1c62269f..1dd0cc613 100644 --- a/googleapiclient-stubs/_apis/verifiedaccess/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/verifiedaccess/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/verifiedaccess/v1/schemas.pyi b/googleapiclient-stubs/_apis/verifiedaccess/v1/schemas.pyi index 753c1d9cb..8675d5da4 100644 --- a/googleapiclient-stubs/_apis/verifiedaccess/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/verifiedaccess/v1/schemas.pyi @@ -1,29 +1,27 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Challenge(typing_extensions.TypedDict, total=False): +class Challenge(typing.TypedDict, total=False): alternativeChallenge: SignedData challenge: SignedData @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class SignedData(typing_extensions.TypedDict, total=False): +class SignedData(typing.TypedDict, total=False): data: str signature: str @typing.type_check_only -class VerifyChallengeResponseRequest(typing_extensions.TypedDict, total=False): +class VerifyChallengeResponseRequest(typing.TypedDict, total=False): challengeResponse: SignedData expectedIdentity: str @typing.type_check_only -class VerifyChallengeResponseResult(typing_extensions.TypedDict, total=False): +class VerifyChallengeResponseResult(typing.TypedDict, total=False): attestedDeviceId: str deviceEnrollmentId: str devicePermanentId: str diff --git a/googleapiclient-stubs/_apis/verifiedaccess/v2/resources.pyi b/googleapiclient-stubs/_apis/verifiedaccess/v2/resources.pyi index c426b621f..d145e5e1b 100644 --- a/googleapiclient-stubs/_apis/verifiedaccess/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/verifiedaccess/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi b/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi index 07f9f6d8e..29878863e 100644 --- a/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi @@ -1,26 +1,22 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Antivirus(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "MISSING", "DISABLED", "ENABLED" - ] +class Antivirus(typing.TypedDict, total=False): + state: typing.Literal["STATE_UNSPECIFIED", "MISSING", "DISABLED", "ENABLED"] @typing.type_check_only -class Challenge(typing_extensions.TypedDict, total=False): +class Challenge(typing.TypedDict, total=False): challenge: str @typing.type_check_only -class CrowdStrikeAgent(typing_extensions.TypedDict, total=False): +class CrowdStrikeAgent(typing.TypedDict, total=False): agentId: str customerId: str @typing.type_check_only -class DeviceSignals(typing_extensions.TypedDict, total=False): +class DeviceSignals(typing.TypedDict, total=False): allowScreenLock: bool antivirus: Antivirus browserVersion: str @@ -31,7 +27,7 @@ class DeviceSignals(typing_extensions.TypedDict, total=False): deviceEnrollmentDomain: str deviceManufacturer: str deviceModel: str - diskEncryption: typing_extensions.Literal[ + diskEncryption: typing.Literal[ "DISK_ENCRYPTION_UNSPECIFIED", "DISK_ENCRYPTION_UNKNOWN", "DISK_ENCRYPTION_DISABLED", @@ -42,7 +38,7 @@ class DeviceSignals(typing_extensions.TypedDict, total=False): imei: _list[str] macAddresses: _list[str] meid: _list[str] - operatingSystem: typing_extensions.Literal[ + operatingSystem: typing.Literal[ "OPERATING_SYSTEM_UNSPECIFIED", "CHROME_OS", "CHROMIUM_OS", @@ -50,14 +46,14 @@ class DeviceSignals(typing_extensions.TypedDict, total=False): "MAC_OS_X", "LINUX", ] - osFirewall: typing_extensions.Literal[ + osFirewall: typing.Literal[ "OS_FIREWALL_UNSPECIFIED", "OS_FIREWALL_UNKNOWN", "OS_FIREWALL_DISABLED", "OS_FIREWALL_ENABLED", ] osVersion: str - passwordProtectionWarningTrigger: typing_extensions.Literal[ + passwordProtectionWarningTrigger: typing.Literal[ "PASSWORD_PROTECTION_WARNING_TRIGGER_UNSPECIFIED", "POLICY_UNSET", "PASSWORD_PROTECTION_OFF", @@ -66,21 +62,21 @@ class DeviceSignals(typing_extensions.TypedDict, total=False): ] profileAffiliationIds: _list[str] profileEnrollmentDomain: str - realtimeUrlCheckMode: typing_extensions.Literal[ + realtimeUrlCheckMode: typing.Literal[ "REALTIME_URL_CHECK_MODE_UNSPECIFIED", "REALTIME_URL_CHECK_MODE_DISABLED", "REALTIME_URL_CHECK_MODE_ENABLED_MAIN_FRAME", ] - safeBrowsingProtectionLevel: typing_extensions.Literal[ + safeBrowsingProtectionLevel: typing.Literal[ "SAFE_BROWSING_PROTECTION_LEVEL_UNSPECIFIED", "INACTIVE", "STANDARD", "ENHANCED" ] - screenLockSecured: typing_extensions.Literal[ + screenLockSecured: typing.Literal[ "SCREEN_LOCK_SECURED_UNSPECIFIED", "SCREEN_LOCK_SECURED_UNKNOWN", "SCREEN_LOCK_SECURED_DISABLED", "SCREEN_LOCK_SECURED_ENABLED", ] - secureBootMode: typing_extensions.Literal[ + secureBootMode: typing.Literal[ "SECURE_BOOT_MODE_UNSPECIFIED", "SECURE_BOOT_MODE_UNKNOWN", "SECURE_BOOT_MODE_DISABLED", @@ -90,29 +86,29 @@ class DeviceSignals(typing_extensions.TypedDict, total=False): siteIsolationEnabled: bool systemDnsServers: _list[str] thirdPartyBlockingEnabled: bool - trigger: typing_extensions.Literal[ + trigger: typing.Literal[ "TRIGGER_UNSPECIFIED", "TRIGGER_BROWSER_NAVIGATION", "TRIGGER_LOGIN_SCREEN" ] windowsMachineDomain: str windowsUserDomain: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class VerifyChallengeResponseRequest(typing_extensions.TypedDict, total=False): +class VerifyChallengeResponseRequest(typing.TypedDict, total=False): challengeResponse: str expectedIdentity: str @typing.type_check_only -class VerifyChallengeResponseResult(typing_extensions.TypedDict, total=False): +class VerifyChallengeResponseResult(typing.TypedDict, total=False): attestedDeviceId: str customerId: str deviceEnrollmentId: str devicePermanentId: str deviceSignal: str deviceSignals: DeviceSignals - keyTrustLevel: typing_extensions.Literal[ + keyTrustLevel: typing.Literal[ "KEY_TRUST_LEVEL_UNSPECIFIED", "CHROME_OS_VERIFIED_MODE", "CHROME_OS_DEVELOPER_MODE", @@ -122,7 +118,7 @@ class VerifyChallengeResponseResult(typing_extensions.TypedDict, total=False): "CHROME_OS_NO_KEY", ] profileCustomerId: str - profileKeyTrustLevel: typing_extensions.Literal[ + profileKeyTrustLevel: typing.Literal[ "KEY_TRUST_LEVEL_UNSPECIFIED", "CHROME_OS_VERIFIED_MODE", "CHROME_OS_DEVELOPER_MODE", diff --git a/googleapiclient-stubs/_apis/versionhistory/v1/resources.pyi b/googleapiclient-stubs/_apis/versionhistory/v1/resources.pyi index b397c10ef..62f73c45d 100644 --- a/googleapiclient-stubs/_apis/versionhistory/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/versionhistory/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi b/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi index 7d262cc42..499688174 100644 --- a/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/versionhistory/v1/schemas.pyi @@ -1,12 +1,10 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): - channelType: typing_extensions.Literal[ +class Channel(typing.TypedDict, total=False): + channelType: typing.Literal[ "CHANNEL_TYPE_UNSPECIFIED", "STABLE", "BETA", @@ -21,34 +19,34 @@ class Channel(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class ListChannelsResponse(typing_extensions.TypedDict, total=False): +class ListChannelsResponse(typing.TypedDict, total=False): channels: _list[Channel] nextPageToken: str @typing.type_check_only -class ListPlatformsResponse(typing_extensions.TypedDict, total=False): +class ListPlatformsResponse(typing.TypedDict, total=False): nextPageToken: str platforms: _list[Platform] @typing.type_check_only -class ListReleasesResponse(typing_extensions.TypedDict, total=False): +class ListReleasesResponse(typing.TypedDict, total=False): nextPageToken: str releases: _list[Release] @typing.type_check_only -class ListVersionsResponse(typing_extensions.TypedDict, total=False): +class ListVersionsResponse(typing.TypedDict, total=False): nextPageToken: str versions: _list[Version] @typing.type_check_only -class Platform(typing_extensions.TypedDict, total=False): +class Platform(typing.TypedDict, total=False): name: str - platformType: typing_extensions.Literal[ + platformType: typing.Literal[ "PLATFORM_TYPE_UNSPECIFIED", "WIN", "WIN64", @@ -68,7 +66,7 @@ class Platform(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Release(typing_extensions.TypedDict, total=False): +class Release(typing.TypedDict, total=False): fraction: float fractionGroup: str name: str @@ -78,11 +76,11 @@ class Release(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class RolloutData(typing_extensions.TypedDict, total=False): +class RolloutData(typing.TypedDict, total=False): rolloutName: str tag: _list[str] @typing.type_check_only -class Version(typing_extensions.TypedDict, total=False): +class Version(typing.TypedDict, total=False): name: str version: str diff --git a/googleapiclient-stubs/_apis/videointelligence/v1/resources.pyi b/googleapiclient-stubs/_apis/videointelligence/v1/resources.pyi index be6533d48..07dcf7cad 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi index 059c27f69..6cc83407a 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1/schemas.pyi @@ -1,21 +1,19 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[GoogleCloudVideointelligenceV1_VideoAnnotationProgress] @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[ - typing_extensions.Literal[ + typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -36,50 +34,46 @@ class GoogleCloudVideointelligenceV1_AnnotateVideoRequest( @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1_VideoAnnotationResults] @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedAttribute(typing.TypedDict, total=False): confidence: float name: str value: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedLandmark(typing.TypedDict, total=False): confidence: float name: str point: GoogleCloudVideointelligenceV1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1_Entity(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -91,52 +85,42 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceDetectionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceDetectionConfig(typing.TypedDict, total=False): includeAttributes: bool includeBoundingBoxes: bool model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[GoogleCloudVideointelligenceV1_NormalizedBoundingBox] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelAnnotation(typing.TypedDict, total=False): categoryEntities: _list[GoogleCloudVideointelligenceV1_Entity] entity: GoogleCloudVideointelligenceV1_Entity frames: _list[GoogleCloudVideointelligenceV1_LabelFrame] @@ -145,10 +129,10 @@ class GoogleCloudVideointelligenceV1_LabelAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1_LabelDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frameConfidenceThreshold: float - labelDetectionMode: typing_extensions.Literal[ + labelDetectionMode: typing.Literal[ "LABEL_DETECTION_MODE_UNSPECIFIED", "SHOT_MODE", "FRAME_MODE", @@ -159,22 +143,18 @@ class GoogleCloudVideointelligenceV1_LabelDetectionConfig( videoConfidenceThreshold: float @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1_Entity segments: _list[GoogleCloudVideointelligenceV1_VideoSegment] @@ -182,7 +162,7 @@ class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -191,20 +171,18 @@ class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1_NormalizedVertex] @typing.type_check_only -class GoogleCloudVideointelligenceV1_NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1_Entity @@ -215,27 +193,25 @@ class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1_ObjectTrackingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_ObjectTrackingFrame(typing.TypedDict, total=False): normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_PersonDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool @@ -243,34 +219,30 @@ class GoogleCloudVideointelligenceV1_PersonDetectionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_SpeechContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_SpeechContext(typing.TypedDict, total=False): phrases: _list[str] @typing.type_check_only class GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str words: _list[GoogleCloudVideointelligenceV1_WordInfo] @typing.type_check_only -class GoogleCloudVideointelligenceV1_SpeechTranscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_SpeechTranscription(typing.TypedDict, total=False): alternatives: _list[GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative] languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioOutputUriPrefix: str audioTracks: _list[int] @@ -284,46 +256,36 @@ class GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig( speechContexts: _list[GoogleCloudVideointelligenceV1_SpeechContext] @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextDetectionConfig( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextDetectionConfig(typing.TypedDict, total=False): languageHints: _list[str] model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1_TextFrame] segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_TimestampedObject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TimestampedObject(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1_DetectedLandmark] normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @@ -331,10 +293,10 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -354,7 +316,7 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1_ExplicitContentAnnotation @@ -383,9 +345,7 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1_VideoContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_VideoContext(typing.TypedDict, total=False): explicitContentDetectionConfig: ( GoogleCloudVideointelligenceV1_ExplicitContentDetectionConfig ) @@ -399,14 +359,12 @@ class GoogleCloudVideointelligenceV1_VideoContext( textDetectionConfig: GoogleCloudVideointelligenceV1_TextDetectionConfig @typing.type_check_only -class GoogleCloudVideointelligenceV1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -416,7 +374,7 @@ class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress @@ -424,13 +382,13 @@ class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -438,32 +396,30 @@ class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1beta2_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -475,45 +431,39 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1beta2_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1beta2_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1beta2_Entity] entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -522,22 +472,18 @@ class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1beta2_Entity segments: _list[GoogleCloudVideointelligenceV1beta2_VideoSegment] @@ -545,7 +491,7 @@ class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -554,20 +500,20 @@ class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1beta2_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -578,21 +524,21 @@ class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -600,7 +546,7 @@ class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative @@ -608,31 +554,25 @@ class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1beta2_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1beta2_TextFrame] segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1beta2_DetectedLandmark] @@ -640,9 +580,7 @@ class GoogleCloudVideointelligenceV1beta2_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @@ -650,10 +588,10 @@ class GoogleCloudVideointelligenceV1beta2_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -673,7 +611,7 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation @@ -706,16 +644,12 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1beta2_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -725,7 +659,7 @@ class GoogleCloudVideointelligenceV1beta2_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress @@ -733,7 +667,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults @@ -741,7 +675,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -749,32 +683,30 @@ class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -786,14 +718,14 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p1beta1_FaceSegment] @@ -801,30 +733,26 @@ class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p1beta1_Entity] entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -833,22 +761,18 @@ class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p1beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p1beta1_VideoSegment] @@ -856,7 +780,7 @@ class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -865,20 +789,20 @@ class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -889,21 +813,21 @@ class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -911,7 +835,7 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative @@ -920,30 +844,26 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p1beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p1beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark] @@ -951,9 +871,7 @@ class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @@ -961,10 +879,10 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -984,7 +902,7 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation @@ -1021,16 +939,12 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p1beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1040,7 +954,7 @@ class GoogleCloudVideointelligenceV1p1beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress @@ -1048,7 +962,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults @@ -1056,7 +970,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1064,32 +978,30 @@ class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1101,14 +1013,14 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p2beta1_FaceSegment] @@ -1116,30 +1028,26 @@ class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p2beta1_Entity] entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1148,22 +1056,18 @@ class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p2beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p2beta1_VideoSegment] @@ -1171,7 +1075,7 @@ class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1180,20 +1084,20 @@ class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1204,21 +1108,21 @@ class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1226,7 +1130,7 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative @@ -1235,30 +1139,26 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p2beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p2beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark] @@ -1266,9 +1166,7 @@ class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @@ -1276,10 +1174,10 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1299,7 +1197,7 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation @@ -1336,16 +1234,12 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p2beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1355,7 +1249,7 @@ class GoogleCloudVideointelligenceV1p2beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress @@ -1363,37 +1257,35 @@ class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults ] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Celebrity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityTracks: _list[GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrities: _list[GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity] faceTrack: GoogleCloudVideointelligenceV1p3beta1_Track @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1401,32 +1293,30 @@ class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1438,14 +1328,14 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p3beta1_FaceSegment] @@ -1453,30 +1343,26 @@ class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p3beta1_Entity] entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1485,22 +1371,18 @@ class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p3beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p3beta1_VideoSegment] @@ -1508,7 +1390,7 @@ class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1517,20 +1399,20 @@ class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1541,28 +1423,28 @@ class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrity: GoogleCloudVideointelligenceV1p3beta1_Celebrity confidence: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1570,7 +1452,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative @@ -1579,7 +1461,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: ( GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults @@ -1589,7 +1471,7 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explicitAnnotation: GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation frameTimestamp: str @@ -1601,30 +1483,26 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p3beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p3beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark] @@ -1632,9 +1510,7 @@ class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @@ -1642,10 +1518,10 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1666,7 +1542,7 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityRecognitionAnnotations: ( GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation @@ -1706,16 +1582,12 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p3beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1724,20 +1596,16 @@ class GoogleCloudVideointelligenceV1p3beta1_WordInfo( word: str @typing.type_check_only -class GoogleLongrunning_CancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunning_CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunning_ListOperationsResponse( - typing_extensions.TypedDict, total=False -): +class GoogleLongrunning_ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunning_Operation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): +class GoogleLongrunning_Operation(typing.TypedDict, total=False): done: bool error: GoogleRpc_Status metadata: dict[str, typing.Any] @@ -1745,10 +1613,10 @@ class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobuf_Empty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobuf_Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpc_Status(typing_extensions.TypedDict, total=False): +class GoogleRpc_Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/videointelligence/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/videointelligence/v1beta2/resources.pyi index 02a6908d2..2319bca17 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1beta2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi index 8ea1820d9..f9141f0b8 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1beta2/schemas.pyi @@ -1,55 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[GoogleCloudVideointelligenceV1_VideoAnnotationProgress] @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1_VideoAnnotationResults] @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedAttribute(typing.TypedDict, total=False): confidence: float name: str value: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedLandmark(typing.TypedDict, total=False): confidence: float name: str point: GoogleCloudVideointelligenceV1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1_Entity(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -61,44 +55,36 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[GoogleCloudVideointelligenceV1_NormalizedBoundingBox] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelAnnotation(typing.TypedDict, total=False): categoryEntities: _list[GoogleCloudVideointelligenceV1_Entity] entity: GoogleCloudVideointelligenceV1_Entity frames: _list[GoogleCloudVideointelligenceV1_LabelFrame] @@ -106,22 +92,18 @@ class GoogleCloudVideointelligenceV1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1_Entity segments: _list[GoogleCloudVideointelligenceV1_VideoSegment] @@ -129,7 +111,7 @@ class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -138,20 +120,18 @@ class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1_NormalizedVertex] @typing.type_check_only -class GoogleCloudVideointelligenceV1_NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1_Entity @@ -161,68 +141,56 @@ class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_ObjectTrackingFrame(typing.TypedDict, total=False): normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str words: _list[GoogleCloudVideointelligenceV1_WordInfo] @typing.type_check_only -class GoogleCloudVideointelligenceV1_SpeechTranscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_SpeechTranscription(typing.TypedDict, total=False): alternatives: _list[GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative] languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1_TextFrame] segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_TimestampedObject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TimestampedObject(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1_DetectedLandmark] normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @@ -230,10 +198,10 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -253,7 +221,7 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1_ExplicitContentAnnotation @@ -282,14 +250,12 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -299,7 +265,7 @@ class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress @@ -307,10 +273,10 @@ class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[ - typing_extensions.Literal[ + typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -331,13 +297,13 @@ class GoogleCloudVideointelligenceV1beta2_AnnotateVideoRequest( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -345,38 +311,36 @@ class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1beta2_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -388,22 +352,20 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1beta2_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1beta2_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] @@ -411,30 +373,26 @@ class GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1beta2_Entity] entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -444,10 +402,10 @@ class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LabelDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frameConfidenceThreshold: float - labelDetectionMode: typing_extensions.Literal[ + labelDetectionMode: typing.Literal[ "LABEL_DETECTION_MODE_UNSPECIFIED", "SHOT_MODE", "FRAME_MODE", @@ -458,22 +416,18 @@ class GoogleCloudVideointelligenceV1beta2_LabelDetectionConfig( videoConfidenceThreshold: float @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1beta2_Entity segments: _list[GoogleCloudVideointelligenceV1beta2_VideoSegment] @@ -481,7 +435,7 @@ class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -490,20 +444,20 @@ class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1beta2_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -514,27 +468,27 @@ class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_PersonDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool @@ -542,19 +496,17 @@ class GoogleCloudVideointelligenceV1beta2_PersonDetectionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ShotChangeDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_SpeechContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_SpeechContext(typing.TypedDict, total=False): phrases: _list[str] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -562,7 +514,7 @@ class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative @@ -571,7 +523,7 @@ class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechTranscriptionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioOutputUriPrefix: str audioTracks: _list[int] @@ -585,38 +537,32 @@ class GoogleCloudVideointelligenceV1beta2_SpeechTranscriptionConfig( speechContexts: _list[GoogleCloudVideointelligenceV1beta2_SpeechContext] @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1beta2_TextSegment] text: str version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_TextDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageHints: _list[str] model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1beta2_TextFrame] segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1beta2_DetectedLandmark] @@ -624,9 +570,7 @@ class GoogleCloudVideointelligenceV1beta2_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @@ -634,10 +578,10 @@ class GoogleCloudVideointelligenceV1beta2_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -657,7 +601,7 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation @@ -690,9 +634,7 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1beta2_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_VideoContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_VideoContext(typing.TypedDict, total=False): explicitContentDetectionConfig: ( GoogleCloudVideointelligenceV1beta2_ExplicitContentDetectionConfig ) @@ -710,16 +652,12 @@ class GoogleCloudVideointelligenceV1beta2_VideoContext( textDetectionConfig: GoogleCloudVideointelligenceV1beta2_TextDetectionConfig @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -729,7 +667,7 @@ class GoogleCloudVideointelligenceV1beta2_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress @@ -737,7 +675,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults @@ -745,7 +683,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -753,32 +691,30 @@ class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -790,14 +726,14 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p1beta1_FaceSegment] @@ -805,30 +741,26 @@ class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p1beta1_Entity] entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -837,22 +769,18 @@ class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p1beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p1beta1_VideoSegment] @@ -860,7 +788,7 @@ class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -869,20 +797,20 @@ class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -893,21 +821,21 @@ class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -915,7 +843,7 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative @@ -924,30 +852,26 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p1beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p1beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark] @@ -955,9 +879,7 @@ class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @@ -965,10 +887,10 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -988,7 +910,7 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation @@ -1025,16 +947,12 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p1beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1044,7 +962,7 @@ class GoogleCloudVideointelligenceV1p1beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress @@ -1052,7 +970,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults @@ -1060,7 +978,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1068,32 +986,30 @@ class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1105,14 +1021,14 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p2beta1_FaceSegment] @@ -1120,30 +1036,26 @@ class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p2beta1_Entity] entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1152,22 +1064,18 @@ class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p2beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p2beta1_VideoSegment] @@ -1175,7 +1083,7 @@ class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1184,20 +1092,20 @@ class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1208,21 +1116,21 @@ class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1230,7 +1138,7 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative @@ -1239,30 +1147,26 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p2beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p2beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark] @@ -1270,9 +1174,7 @@ class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @@ -1280,10 +1182,10 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1303,7 +1205,7 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation @@ -1340,16 +1242,12 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p2beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1359,7 +1257,7 @@ class GoogleCloudVideointelligenceV1p2beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress @@ -1367,37 +1265,35 @@ class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults ] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Celebrity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityTracks: _list[GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrities: _list[GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity] faceTrack: GoogleCloudVideointelligenceV1p3beta1_Track @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1405,32 +1301,30 @@ class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1442,14 +1336,14 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p3beta1_FaceSegment] @@ -1457,30 +1351,26 @@ class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p3beta1_Entity] entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1489,22 +1379,18 @@ class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p3beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p3beta1_VideoSegment] @@ -1512,7 +1398,7 @@ class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1521,20 +1407,20 @@ class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1545,28 +1431,28 @@ class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrity: GoogleCloudVideointelligenceV1p3beta1_Celebrity confidence: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1574,7 +1460,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative @@ -1583,7 +1469,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: ( GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults @@ -1593,7 +1479,7 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explicitAnnotation: GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation frameTimestamp: str @@ -1605,30 +1491,26 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p3beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p3beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark] @@ -1636,9 +1518,7 @@ class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @@ -1646,10 +1526,10 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1670,7 +1550,7 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityRecognitionAnnotations: ( GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation @@ -1710,16 +1590,12 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p3beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1728,7 +1604,7 @@ class GoogleCloudVideointelligenceV1p3beta1_WordInfo( word: str @typing.type_check_only -class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): +class GoogleLongrunning_Operation(typing.TypedDict, total=False): done: bool error: GoogleRpc_Status metadata: dict[str, typing.Any] @@ -1736,7 +1612,7 @@ class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpc_Status(typing_extensions.TypedDict, total=False): +class GoogleRpc_Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/resources.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/resources.pyi index 1a922e2e5..17231ce81 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi index e60722913..13bd66955 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p1beta1/schemas.pyi @@ -1,55 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[GoogleCloudVideointelligenceV1_VideoAnnotationProgress] @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1_VideoAnnotationResults] @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedAttribute(typing.TypedDict, total=False): confidence: float name: str value: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedLandmark(typing.TypedDict, total=False): confidence: float name: str point: GoogleCloudVideointelligenceV1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1_Entity(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -61,44 +55,36 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[GoogleCloudVideointelligenceV1_NormalizedBoundingBox] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelAnnotation(typing.TypedDict, total=False): categoryEntities: _list[GoogleCloudVideointelligenceV1_Entity] entity: GoogleCloudVideointelligenceV1_Entity frames: _list[GoogleCloudVideointelligenceV1_LabelFrame] @@ -106,22 +92,18 @@ class GoogleCloudVideointelligenceV1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1_Entity segments: _list[GoogleCloudVideointelligenceV1_VideoSegment] @@ -129,7 +111,7 @@ class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -138,20 +120,18 @@ class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1_NormalizedVertex] @typing.type_check_only -class GoogleCloudVideointelligenceV1_NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1_Entity @@ -161,68 +141,56 @@ class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_ObjectTrackingFrame(typing.TypedDict, total=False): normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str words: _list[GoogleCloudVideointelligenceV1_WordInfo] @typing.type_check_only -class GoogleCloudVideointelligenceV1_SpeechTranscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_SpeechTranscription(typing.TypedDict, total=False): alternatives: _list[GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative] languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1_TextFrame] segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_TimestampedObject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TimestampedObject(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1_DetectedLandmark] normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @@ -230,10 +198,10 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -253,7 +221,7 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1_ExplicitContentAnnotation @@ -282,14 +250,12 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -299,7 +265,7 @@ class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress @@ -307,13 +273,13 @@ class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -321,32 +287,30 @@ class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1beta2_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -358,45 +322,39 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1beta2_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1beta2_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1beta2_Entity] entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -405,22 +363,18 @@ class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1beta2_Entity segments: _list[GoogleCloudVideointelligenceV1beta2_VideoSegment] @@ -428,7 +382,7 @@ class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -437,20 +391,20 @@ class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1beta2_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -461,21 +415,21 @@ class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -483,7 +437,7 @@ class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative @@ -491,31 +445,25 @@ class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1beta2_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1beta2_TextFrame] segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1beta2_DetectedLandmark] @@ -523,9 +471,7 @@ class GoogleCloudVideointelligenceV1beta2_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @@ -533,10 +479,10 @@ class GoogleCloudVideointelligenceV1beta2_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -556,7 +502,7 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation @@ -589,16 +535,12 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1beta2_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -608,7 +550,7 @@ class GoogleCloudVideointelligenceV1beta2_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress @@ -616,10 +558,10 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[ - typing_extensions.Literal[ + typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -640,7 +582,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults @@ -648,7 +590,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -656,38 +598,36 @@ class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -699,14 +639,14 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p1beta1_FaceSegment] @@ -714,7 +654,7 @@ class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] @@ -722,30 +662,26 @@ class GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p1beta1_Entity] entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -755,10 +691,10 @@ class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LabelDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frameConfidenceThreshold: float - labelDetectionMode: typing_extensions.Literal[ + labelDetectionMode: typing.Literal[ "LABEL_DETECTION_MODE_UNSPECIFIED", "SHOT_MODE", "FRAME_MODE", @@ -769,22 +705,18 @@ class GoogleCloudVideointelligenceV1p1beta1_LabelDetectionConfig( videoConfidenceThreshold: float @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p1beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p1beta1_VideoSegment] @@ -792,7 +724,7 @@ class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -801,20 +733,20 @@ class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -825,27 +757,27 @@ class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_PersonDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool @@ -853,19 +785,19 @@ class GoogleCloudVideointelligenceV1p1beta1_PersonDetectionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ShotChangeDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phrases: _list[str] @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -873,7 +805,7 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative @@ -882,7 +814,7 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioOutputUriPrefix: str audioTracks: _list[int] @@ -897,7 +829,7 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p1beta1_TextSegment] text: str @@ -905,29 +837,25 @@ class GoogleCloudVideointelligenceV1p1beta1_TextAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TextDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageHints: _list[str] model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p1beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark] @@ -935,9 +863,7 @@ class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @@ -945,10 +871,10 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -968,7 +894,7 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation @@ -1005,9 +931,7 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p1beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_VideoContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_VideoContext(typing.TypedDict, total=False): explicitContentDetectionConfig: ( GoogleCloudVideointelligenceV1p1beta1_ExplicitContentDetectionConfig ) @@ -1025,16 +949,12 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoContext( textDetectionConfig: GoogleCloudVideointelligenceV1p1beta1_TextDetectionConfig @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1044,7 +964,7 @@ class GoogleCloudVideointelligenceV1p1beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress @@ -1052,7 +972,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults @@ -1060,7 +980,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1068,32 +988,30 @@ class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1105,14 +1023,14 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p2beta1_FaceSegment] @@ -1120,30 +1038,26 @@ class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p2beta1_Entity] entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1152,22 +1066,18 @@ class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p2beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p2beta1_VideoSegment] @@ -1175,7 +1085,7 @@ class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1184,20 +1094,20 @@ class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1208,21 +1118,21 @@ class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1230,7 +1140,7 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative @@ -1239,30 +1149,26 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p2beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p2beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark] @@ -1270,9 +1176,7 @@ class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @@ -1280,10 +1184,10 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1303,7 +1207,7 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation @@ -1340,16 +1244,12 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p2beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1359,7 +1259,7 @@ class GoogleCloudVideointelligenceV1p2beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress @@ -1367,37 +1267,35 @@ class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults ] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Celebrity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityTracks: _list[GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrities: _list[GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity] faceTrack: GoogleCloudVideointelligenceV1p3beta1_Track @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1405,32 +1303,30 @@ class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1442,14 +1338,14 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p3beta1_FaceSegment] @@ -1457,30 +1353,26 @@ class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p3beta1_Entity] entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1489,22 +1381,18 @@ class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p3beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p3beta1_VideoSegment] @@ -1512,7 +1400,7 @@ class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1521,20 +1409,20 @@ class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1545,28 +1433,28 @@ class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrity: GoogleCloudVideointelligenceV1p3beta1_Celebrity confidence: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1574,7 +1462,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative @@ -1583,7 +1471,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: ( GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults @@ -1593,7 +1481,7 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explicitAnnotation: GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation frameTimestamp: str @@ -1605,30 +1493,26 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p3beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p3beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark] @@ -1636,9 +1520,7 @@ class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @@ -1646,10 +1528,10 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1670,7 +1552,7 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityRecognitionAnnotations: ( GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation @@ -1710,16 +1592,12 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p3beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1728,7 +1606,7 @@ class GoogleCloudVideointelligenceV1p3beta1_WordInfo( word: str @typing.type_check_only -class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): +class GoogleLongrunning_Operation(typing.TypedDict, total=False): done: bool error: GoogleRpc_Status metadata: dict[str, typing.Any] @@ -1736,7 +1614,7 @@ class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpc_Status(typing_extensions.TypedDict, total=False): +class GoogleRpc_Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/resources.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/resources.pyi index 6291f30dd..ca98c19a6 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi index d5a52c542..c5ff8fe31 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p2beta1/schemas.pyi @@ -1,55 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[GoogleCloudVideointelligenceV1_VideoAnnotationProgress] @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1_VideoAnnotationResults] @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedAttribute(typing.TypedDict, total=False): confidence: float name: str value: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedLandmark(typing.TypedDict, total=False): confidence: float name: str point: GoogleCloudVideointelligenceV1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1_Entity(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -61,44 +55,36 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[GoogleCloudVideointelligenceV1_NormalizedBoundingBox] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelAnnotation(typing.TypedDict, total=False): categoryEntities: _list[GoogleCloudVideointelligenceV1_Entity] entity: GoogleCloudVideointelligenceV1_Entity frames: _list[GoogleCloudVideointelligenceV1_LabelFrame] @@ -106,22 +92,18 @@ class GoogleCloudVideointelligenceV1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1_Entity segments: _list[GoogleCloudVideointelligenceV1_VideoSegment] @@ -129,7 +111,7 @@ class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -138,20 +120,18 @@ class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1_NormalizedVertex] @typing.type_check_only -class GoogleCloudVideointelligenceV1_NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1_Entity @@ -161,68 +141,56 @@ class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_ObjectTrackingFrame(typing.TypedDict, total=False): normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str words: _list[GoogleCloudVideointelligenceV1_WordInfo] @typing.type_check_only -class GoogleCloudVideointelligenceV1_SpeechTranscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_SpeechTranscription(typing.TypedDict, total=False): alternatives: _list[GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative] languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1_TextFrame] segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_TimestampedObject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TimestampedObject(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1_DetectedLandmark] normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @@ -230,10 +198,10 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -253,7 +221,7 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1_ExplicitContentAnnotation @@ -282,14 +250,12 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -299,7 +265,7 @@ class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress @@ -307,13 +273,13 @@ class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -321,32 +287,30 @@ class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1beta2_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -358,45 +322,39 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1beta2_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1beta2_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1beta2_Entity] entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -405,22 +363,18 @@ class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1beta2_Entity segments: _list[GoogleCloudVideointelligenceV1beta2_VideoSegment] @@ -428,7 +382,7 @@ class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -437,20 +391,20 @@ class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1beta2_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -461,21 +415,21 @@ class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -483,7 +437,7 @@ class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative @@ -491,31 +445,25 @@ class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1beta2_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1beta2_TextFrame] segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1beta2_DetectedLandmark] @@ -523,9 +471,7 @@ class GoogleCloudVideointelligenceV1beta2_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @@ -533,10 +479,10 @@ class GoogleCloudVideointelligenceV1beta2_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -556,7 +502,7 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation @@ -589,16 +535,12 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1beta2_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -608,7 +550,7 @@ class GoogleCloudVideointelligenceV1beta2_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress @@ -616,7 +558,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults @@ -624,7 +566,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -632,32 +574,30 @@ class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -669,14 +609,14 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p1beta1_FaceSegment] @@ -684,30 +624,26 @@ class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p1beta1_Entity] entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -716,22 +652,18 @@ class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p1beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p1beta1_VideoSegment] @@ -739,7 +671,7 @@ class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -748,20 +680,20 @@ class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -772,21 +704,21 @@ class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -794,7 +726,7 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative @@ -803,30 +735,26 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p1beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p1beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark] @@ -834,9 +762,7 @@ class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @@ -844,10 +770,10 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -867,7 +793,7 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation @@ -904,16 +830,12 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p1beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -923,7 +845,7 @@ class GoogleCloudVideointelligenceV1p1beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress @@ -931,10 +853,10 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[ - typing_extensions.Literal[ + typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -955,7 +877,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoRequest( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults @@ -963,7 +885,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -971,38 +893,36 @@ class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1014,14 +934,14 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p2beta1_FaceSegment] @@ -1029,7 +949,7 @@ class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] @@ -1037,30 +957,26 @@ class GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p2beta1_Entity] entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1070,10 +986,10 @@ class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LabelDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frameConfidenceThreshold: float - labelDetectionMode: typing_extensions.Literal[ + labelDetectionMode: typing.Literal[ "LABEL_DETECTION_MODE_UNSPECIFIED", "SHOT_MODE", "FRAME_MODE", @@ -1084,22 +1000,18 @@ class GoogleCloudVideointelligenceV1p2beta1_LabelDetectionConfig( videoConfidenceThreshold: float @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p2beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p2beta1_VideoSegment] @@ -1107,7 +1019,7 @@ class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1116,20 +1028,20 @@ class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1140,27 +1052,27 @@ class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_PersonDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool @@ -1168,19 +1080,19 @@ class GoogleCloudVideointelligenceV1p2beta1_PersonDetectionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ShotChangeDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phrases: _list[str] @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1188,7 +1100,7 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative @@ -1197,7 +1109,7 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscriptionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioOutputUriPrefix: str audioTracks: _list[int] @@ -1212,7 +1124,7 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscriptionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p2beta1_TextSegment] text: str @@ -1220,29 +1132,25 @@ class GoogleCloudVideointelligenceV1p2beta1_TextAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TextDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageHints: _list[str] model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p2beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark] @@ -1250,9 +1158,7 @@ class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @@ -1260,10 +1166,10 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1283,7 +1189,7 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation @@ -1320,9 +1226,7 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p2beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_VideoContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_VideoContext(typing.TypedDict, total=False): explicitContentDetectionConfig: ( GoogleCloudVideointelligenceV1p2beta1_ExplicitContentDetectionConfig ) @@ -1340,16 +1244,12 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoContext( textDetectionConfig: GoogleCloudVideointelligenceV1p2beta1_TextDetectionConfig @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1359,7 +1259,7 @@ class GoogleCloudVideointelligenceV1p2beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress @@ -1367,37 +1267,35 @@ class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults ] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Celebrity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityTracks: _list[GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrities: _list[GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity] faceTrack: GoogleCloudVideointelligenceV1p3beta1_Track @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1405,32 +1303,30 @@ class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1442,14 +1338,14 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p3beta1_FaceSegment] @@ -1457,30 +1353,26 @@ class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p3beta1_Entity] entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1489,22 +1381,18 @@ class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p3beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p3beta1_VideoSegment] @@ -1512,7 +1400,7 @@ class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1521,20 +1409,20 @@ class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1545,28 +1433,28 @@ class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrity: GoogleCloudVideointelligenceV1p3beta1_Celebrity confidence: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1574,7 +1462,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative @@ -1583,7 +1471,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: ( GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults @@ -1593,7 +1481,7 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explicitAnnotation: GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation frameTimestamp: str @@ -1605,30 +1493,26 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p3beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p3beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark] @@ -1636,9 +1520,7 @@ class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @@ -1646,10 +1528,10 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1670,7 +1552,7 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityRecognitionAnnotations: ( GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation @@ -1710,16 +1592,12 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p3beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1728,7 +1606,7 @@ class GoogleCloudVideointelligenceV1p3beta1_WordInfo( word: str @typing.type_check_only -class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): +class GoogleLongrunning_Operation(typing.TypedDict, total=False): done: bool error: GoogleRpc_Status metadata: dict[str, typing.Any] @@ -1736,7 +1614,7 @@ class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpc_Status(typing_extensions.TypedDict, total=False): +class GoogleRpc_Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/resources.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/resources.pyi index 33b23050f..20da9534a 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi b/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi index 7c5ee52c3..7994548b9 100644 --- a/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/videointelligence/v1p3beta1/schemas.pyi @@ -1,55 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[GoogleCloudVideointelligenceV1_VideoAnnotationProgress] @typing.type_check_only class GoogleCloudVideointelligenceV1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1_VideoAnnotationResults] @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedAttribute( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedAttribute(typing.TypedDict, total=False): confidence: float name: str value: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_DetectedLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_DetectedLandmark(typing.TypedDict, total=False): confidence: float name: str point: GoogleCloudVideointelligenceV1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1_Entity(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -61,44 +55,36 @@ class GoogleCloudVideointelligenceV1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[GoogleCloudVideointelligenceV1_NormalizedBoundingBox] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelAnnotation(typing.TypedDict, total=False): categoryEntities: _list[GoogleCloudVideointelligenceV1_Entity] entity: GoogleCloudVideointelligenceV1_Entity frames: _list[GoogleCloudVideointelligenceV1_LabelFrame] @@ -106,22 +92,18 @@ class GoogleCloudVideointelligenceV1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1_Entity segments: _list[GoogleCloudVideointelligenceV1_VideoSegment] @@ -129,7 +111,7 @@ class GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -138,20 +120,18 @@ class GoogleCloudVideointelligenceV1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1_NormalizedVertex] @typing.type_check_only -class GoogleCloudVideointelligenceV1_NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1_Entity @@ -161,68 +141,56 @@ class GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_ObjectTrackingFrame(typing.TypedDict, total=False): normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str words: _list[GoogleCloudVideointelligenceV1_WordInfo] @typing.type_check_only -class GoogleCloudVideointelligenceV1_SpeechTranscription( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_SpeechTranscription(typing.TypedDict, total=False): alternatives: _list[GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative] languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1_TextFrame] segment: GoogleCloudVideointelligenceV1_VideoSegment @typing.type_check_only -class GoogleCloudVideointelligenceV1_TimestampedObject( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_TimestampedObject(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1_DetectedLandmark] normalizedBoundingBox: GoogleCloudVideointelligenceV1_NormalizedBoundingBox timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1_VideoSegment @@ -230,10 +198,10 @@ class GoogleCloudVideointelligenceV1_Track(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -253,7 +221,7 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1_ExplicitContentAnnotation @@ -282,14 +250,12 @@ class GoogleCloudVideointelligenceV1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVideointelligenceV1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -299,7 +265,7 @@ class GoogleCloudVideointelligenceV1_WordInfo(typing_extensions.TypedDict, total @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress @@ -307,13 +273,13 @@ class GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -321,32 +287,30 @@ class GoogleCloudVideointelligenceV1beta2_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1beta2_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -358,45 +322,39 @@ class GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceAnnotation(typing.TypedDict, total=False): frames: _list[GoogleCloudVideointelligenceV1beta2_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1beta2_FaceSegment] thumbnail: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1beta2_Entity] entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -405,22 +363,18 @@ class GoogleCloudVideointelligenceV1beta2_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1beta2_Entity segments: _list[GoogleCloudVideointelligenceV1beta2_VideoSegment] @@ -428,7 +382,7 @@ class GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -437,20 +391,20 @@ class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1beta2_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1beta2_Entity @@ -461,21 +415,21 @@ class GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1beta2_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -483,7 +437,7 @@ class GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative @@ -491,31 +445,25 @@ class GoogleCloudVideointelligenceV1beta2_SpeechTranscription( languageCode: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextAnnotation(typing.TypedDict, total=False): segments: _list[GoogleCloudVideointelligenceV1beta2_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1beta2_TextFrame] segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1beta2_DetectedLandmark] @@ -523,9 +471,7 @@ class GoogleCloudVideointelligenceV1beta2_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1beta2_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1beta2_VideoSegment @@ -533,10 +479,10 @@ class GoogleCloudVideointelligenceV1beta2_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -556,7 +502,7 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation @@ -589,16 +535,12 @@ class GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1beta2_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1beta2_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1beta2_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -608,7 +550,7 @@ class GoogleCloudVideointelligenceV1beta2_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress @@ -616,7 +558,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults @@ -624,7 +566,7 @@ class GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -632,32 +574,30 @@ class GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -669,14 +609,14 @@ class GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p1beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p1beta1_FaceSegment] @@ -684,30 +624,26 @@ class GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p1beta1_Entity] entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -716,22 +652,18 @@ class GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p1beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p1beta1_VideoSegment] @@ -739,7 +671,7 @@ class GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -748,20 +680,20 @@ class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p1beta1_Entity @@ -772,21 +704,21 @@ class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p1beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -794,7 +726,7 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative @@ -803,30 +735,26 @@ class GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p1beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p1beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark] @@ -834,9 +762,7 @@ class GoogleCloudVideointelligenceV1p1beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p1beta1_VideoSegment @@ -844,10 +770,10 @@ class GoogleCloudVideointelligenceV1p1beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -867,7 +793,7 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation @@ -904,16 +830,12 @@ class GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p1beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p1beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p1beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -923,7 +845,7 @@ class GoogleCloudVideointelligenceV1p1beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress @@ -931,7 +853,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults @@ -939,7 +861,7 @@ class GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -947,32 +869,30 @@ class GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -984,14 +904,14 @@ class GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p2beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p2beta1_FaceSegment] @@ -999,30 +919,26 @@ class GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p2beta1_Entity] entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1031,22 +947,18 @@ class GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation( version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p2beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p2beta1_VideoSegment] @@ -1054,7 +966,7 @@ class GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1063,20 +975,20 @@ class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p2beta1_Entity @@ -1087,21 +999,21 @@ class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p2beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1109,7 +1021,7 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative @@ -1118,30 +1030,26 @@ class GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p2beta1_TextSegment] text: str version: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p2beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark] @@ -1149,9 +1057,7 @@ class GoogleCloudVideointelligenceV1p2beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p2beta1_VideoSegment @@ -1159,10 +1065,10 @@ class GoogleCloudVideointelligenceV1p2beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1182,7 +1088,7 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): error: GoogleRpc_Status explicitAnnotation: GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation @@ -1219,16 +1125,12 @@ class GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p2beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p2beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p2beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1238,7 +1140,7 @@ class GoogleCloudVideointelligenceV1p2beta1_WordInfo( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationProgress: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress @@ -1246,10 +1148,10 @@ class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): features: _list[ - typing_extensions.Literal[ + typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1271,37 +1173,35 @@ class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoRequest( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: _list[ GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults ] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Celebrity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityTracks: _list[GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrities: _list[GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity] faceTrack: GoogleCloudVideointelligenceV1p3beta1_Track @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str @@ -1309,38 +1209,36 @@ class GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float name: str point: GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Entity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Entity(typing.TypedDict, total=False): description: str entityId: str languageCode: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - pornographyLikelihood: typing_extensions.Literal[ + pornographyLikelihood: typing.Literal[ "LIKELIHOOD_UNSPECIFIED", "VERY_UNLIKELY", "UNLIKELY", @@ -1352,14 +1250,14 @@ class GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] status: GoogleRpc_Status @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frames: _list[GoogleCloudVideointelligenceV1p3beta1_FaceFrame] segments: _list[GoogleCloudVideointelligenceV1p3beta1_FaceSegment] @@ -1367,7 +1265,7 @@ class GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): thumbnail: str tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] @@ -1375,30 +1273,26 @@ class GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_FaceDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceFrame(typing.TypedDict, total=False): normalizedBoundingBoxes: _list[ GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox ] timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_FaceSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_FaceSegment(typing.TypedDict, total=False): segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): categoryEntities: _list[GoogleCloudVideointelligenceV1p3beta1_Entity] entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1408,10 +1302,10 @@ class GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LabelDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): frameConfidenceThreshold: float - labelDetectionMode: typing_extensions.Literal[ + labelDetectionMode: typing.Literal[ "LABEL_DETECTION_MODE_UNSPECIFIED", "SHOT_MODE", "FRAME_MODE", @@ -1422,22 +1316,18 @@ class GoogleCloudVideointelligenceV1p3beta1_LabelDetectionConfig( videoConfidenceThreshold: float @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelFrame(typing.TypedDict, total=False): confidence: float timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_LabelSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_LabelSegment(typing.TypedDict, total=False): confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): entity: GoogleCloudVideointelligenceV1p3beta1_Entity segments: _list[GoogleCloudVideointelligenceV1p3beta1_VideoSegment] @@ -1445,7 +1335,7 @@ class GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): bottom: float left: float @@ -1454,20 +1344,20 @@ class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): vertices: _list[GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex] @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): x: float y: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float entity: GoogleCloudVideointelligenceV1p3beta1_Entity @@ -1478,27 +1368,27 @@ class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): normalizedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox timeOffset: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): tracks: _list[GoogleCloudVideointelligenceV1p3beta1_Track] version: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_PersonDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): includeAttributes: bool includeBoundingBoxes: bool @@ -1506,26 +1396,26 @@ class GoogleCloudVideointelligenceV1p3beta1_PersonDetectionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrity: GoogleCloudVideointelligenceV1p3beta1_Celebrity confidence: float @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_ShotChangeDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): model: str @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechContext( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): phrases: _list[str] @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float transcript: str @@ -1533,7 +1423,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): alternatives: _list[ GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative @@ -1542,7 +1432,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscriptionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): audioOutputUriPrefix: str audioTracks: _list[int] @@ -1557,7 +1447,7 @@ class GoogleCloudVideointelligenceV1p3beta1_SpeechTranscriptionConfig( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): annotationResults: ( GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults @@ -1567,7 +1457,7 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): explicitAnnotation: GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation frameTimestamp: str @@ -1579,7 +1469,7 @@ class GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TextAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): segments: _list[GoogleCloudVideointelligenceV1p3beta1_TextSegment] text: str @@ -1587,29 +1477,25 @@ class GoogleCloudVideointelligenceV1p3beta1_TextAnnotation( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TextDetectionConfig( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageHints: _list[str] model: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextFrame( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextFrame(typing.TypedDict, total=False): rotatedBoundingBox: GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_TextSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_TextSegment(typing.TypedDict, total=False): confidence: float frames: _list[GoogleCloudVideointelligenceV1p3beta1_TextFrame] segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] landmarks: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark] @@ -1617,9 +1503,7 @@ class GoogleCloudVideointelligenceV1p3beta1_TimestampedObject( timeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_Track( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_Track(typing.TypedDict, total=False): attributes: _list[GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute] confidence: float segment: GoogleCloudVideointelligenceV1p3beta1_VideoSegment @@ -1627,10 +1511,10 @@ class GoogleCloudVideointelligenceV1p3beta1_Track( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): exportStatus: GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus - feature: typing_extensions.Literal[ + feature: typing.Literal[ "FEATURE_UNSPECIFIED", "LABEL_DETECTION", "SHOT_CHANGE_DETECTION", @@ -1651,7 +1535,7 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress( @typing.type_check_only class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): celebrityRecognitionAnnotations: ( GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation @@ -1691,9 +1575,7 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults( textAnnotations: _list[GoogleCloudVideointelligenceV1p3beta1_TextAnnotation] @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_VideoContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_VideoContext(typing.TypedDict, total=False): explicitContentDetectionConfig: ( GoogleCloudVideointelligenceV1p3beta1_ExplicitContentDetectionConfig ) @@ -1711,16 +1593,12 @@ class GoogleCloudVideointelligenceV1p3beta1_VideoContext( textDetectionConfig: GoogleCloudVideointelligenceV1p3beta1_TextDetectionConfig @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_VideoSegment( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_VideoSegment(typing.TypedDict, total=False): endTimeOffset: str startTimeOffset: str @typing.type_check_only -class GoogleCloudVideointelligenceV1p3beta1_WordInfo( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVideointelligenceV1p3beta1_WordInfo(typing.TypedDict, total=False): confidence: float endTime: str speakerLabel: str @@ -1729,7 +1607,7 @@ class GoogleCloudVideointelligenceV1p3beta1_WordInfo( word: str @typing.type_check_only -class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): +class GoogleLongrunning_Operation(typing.TypedDict, total=False): done: bool error: GoogleRpc_Status metadata: dict[str, typing.Any] @@ -1737,7 +1615,7 @@ class GoogleLongrunning_Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleRpc_Status(typing_extensions.TypedDict, total=False): +class GoogleRpc_Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/vision/v1/resources.pyi b/googleapiclient-stubs/_apis/vision/v1/resources.pyi index 33035150b..228ed98f4 100644 --- a/googleapiclient-stubs/_apis/vision/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vision/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/vision/v1/schemas.pyi b/googleapiclient-stubs/_apis/vision/v1/schemas.pyi index 2a11fe626..2320ae45a 100644 --- a/googleapiclient-stubs/_apis/vision/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vision/v1/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AddProductToProductSetRequest(typing_extensions.TypedDict, total=False): +class AddProductToProductSetRequest(typing.TypedDict, total=False): product: str @typing.type_check_only -class AnnotateFileRequest(typing_extensions.TypedDict, total=False): +class AnnotateFileRequest(typing.TypedDict, total=False): features: _list[Feature] imageContext: ImageContext inputConfig: InputConfig pages: _list[int] @typing.type_check_only -class AnnotateFileResponse(typing_extensions.TypedDict, total=False): +class AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: InputConfig responses: _list[AnnotateImageResponse] totalPages: int @typing.type_check_only -class AnnotateImageRequest(typing_extensions.TypedDict, total=False): +class AnnotateImageRequest(typing.TypedDict, total=False): features: _list[Feature] image: Image imageContext: ImageContext @typing.type_check_only -class AnnotateImageResponse(typing_extensions.TypedDict, total=False): +class AnnotateImageResponse(typing.TypedDict, total=False): context: ImageAnnotationContext cropHintsAnnotation: CropHintsAnnotation error: Status @@ -46,131 +44,129 @@ class AnnotateImageResponse(typing_extensions.TypedDict, total=False): webDetection: WebDetection @typing.type_check_only -class AsyncAnnotateFileRequest(typing_extensions.TypedDict, total=False): +class AsyncAnnotateFileRequest(typing.TypedDict, total=False): features: _list[Feature] imageContext: ImageContext inputConfig: InputConfig outputConfig: OutputConfig @typing.type_check_only -class AsyncAnnotateFileResponse(typing_extensions.TypedDict, total=False): +class AsyncAnnotateFileResponse(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class AsyncBatchAnnotateFilesRequest(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateFilesRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] parent: str requests: _list[AsyncAnnotateFileRequest] @typing.type_check_only -class AsyncBatchAnnotateFilesResponse(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateFilesResponse(typing.TypedDict, total=False): responses: _list[AsyncAnnotateFileResponse] @typing.type_check_only -class AsyncBatchAnnotateImagesRequest(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateImagesRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] outputConfig: OutputConfig parent: str requests: _list[AnnotateImageRequest] @typing.type_check_only -class AsyncBatchAnnotateImagesResponse(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateImagesResponse(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class BatchAnnotateFilesRequest(typing_extensions.TypedDict, total=False): +class BatchAnnotateFilesRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] parent: str requests: _list[AnnotateFileRequest] @typing.type_check_only -class BatchAnnotateFilesResponse(typing_extensions.TypedDict, total=False): +class BatchAnnotateFilesResponse(typing.TypedDict, total=False): responses: _list[AnnotateFileResponse] @typing.type_check_only -class BatchAnnotateImagesRequest(typing_extensions.TypedDict, total=False): +class BatchAnnotateImagesRequest(typing.TypedDict, total=False): labels: dict[str, typing.Any] parent: str requests: _list[AnnotateImageRequest] @typing.type_check_only -class BatchAnnotateImagesResponse(typing_extensions.TypedDict, total=False): +class BatchAnnotateImagesResponse(typing.TypedDict, total=False): responses: _list[AnnotateImageResponse] @typing.type_check_only -class BatchOperationMetadata(typing_extensions.TypedDict, total=False): +class BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: BoundingPoly confidence: float paragraphs: _list[Paragraph] property: TextProperty @typing.type_check_only -class BoundingPoly(typing_extensions.TypedDict, total=False): +class BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[NormalizedVertex] vertices: _list[Vertex] @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class ColorInfo(typing_extensions.TypedDict, total=False): +class ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class CropHint(typing_extensions.TypedDict, total=False): +class CropHint(typing.TypedDict, total=False): boundingPoly: BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class CropHintsAnnotation(typing_extensions.TypedDict, total=False): +class CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[CropHint] @typing.type_check_only -class CropHintsParams(typing_extensions.TypedDict, total=False): +class CropHintsParams(typing.TypedDict, total=False): aspectRatios: _list[float] @typing.type_check_only -class DetectedBreak(typing_extensions.TypedDict, total=False): +class DetectedBreak(typing.TypedDict, total=False): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only -class DetectedLanguage(typing_extensions.TypedDict, total=False): +class DetectedLanguage(typing.TypedDict, total=False): confidence: float languageCode: str @typing.type_check_only -class DominantColorsAnnotation(typing_extensions.TypedDict, total=False): +class DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[ColorInfo] @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EntityAnnotation(typing_extensions.TypedDict, total=False): +class EntityAnnotation(typing.TypedDict, total=False): boundingPoly: BoundingPoly confidence: float description: str @@ -182,42 +178,42 @@ class EntityAnnotation(typing_extensions.TypedDict, total=False): topicality: float @typing.type_check_only -class FaceAnnotation(typing_extensions.TypedDict, total=False): - angerLikelihood: typing_extensions.Literal[ +class FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: BoundingPoly detectionConfidence: float fdBoundingPoly: BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[Landmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class Feature(typing_extensions.TypedDict, total=False): +class Feature(typing.TypedDict, total=False): maxResults: int model: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "FACE_DETECTION", "LANDMARK_DETECTION", @@ -234,26 +230,22 @@ class Feature(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p1beta1InputConfig responses: _list[GoogleCloudVisionV1p1beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p1beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p1beta1CropHintsAnnotation error: Status @@ -273,59 +265,51 @@ class GoogleCloudVisionV1p1beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p1beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p1beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p1beta1Paragraph] property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p1beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p1beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p1beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p1beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p1beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p1beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p1beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p1beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float description: str @@ -337,45 +321,41 @@ class GoogleCloudVisionV1p1beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p1beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p1beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p1beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -416,37 +396,31 @@ class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p1beta1DominantColorsAnnotation @typing.type_check_only -class GoogleCloudVisionV1p1beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p1beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly languageCode: str @@ -455,33 +429,29 @@ class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p1beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p1beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p1beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p1beta1Block] confidence: float height: int @@ -489,20 +459,20 @@ class GoogleCloudVisionV1p1beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p1beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -510,16 +480,12 @@ class GoogleCloudVisionV1p1beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p1beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p1beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult @@ -528,7 +494,7 @@ class GoogleCloudVisionV1p1beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly objectAnnotations: _list[ @@ -538,7 +504,7 @@ class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -547,82 +513,78 @@ class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p1beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p1beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p1beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p1beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebPage] @@ -631,31 +593,23 @@ class GoogleCloudVisionV1p1beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p1beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] @@ -663,25 +617,21 @@ class GoogleCloudVisionV1p1beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p1beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p2beta1InputConfig responses: _list[GoogleCloudVisionV1p2beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p2beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p2beta1CropHintsAnnotation error: Status @@ -701,59 +651,51 @@ class GoogleCloudVisionV1p2beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p2beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p2beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p2beta1Paragraph] property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p2beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p2beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p2beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p2beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p2beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p2beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p2beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p2beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float description: str @@ -765,45 +707,41 @@ class GoogleCloudVisionV1p2beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p2beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p2beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p2beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -844,37 +782,31 @@ class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p2beta1DominantColorsAnnotation @typing.type_check_only -class GoogleCloudVisionV1p2beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p2beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly languageCode: str @@ -883,33 +815,29 @@ class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p2beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p2beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p2beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p2beta1Block] confidence: float height: int @@ -917,20 +845,20 @@ class GoogleCloudVisionV1p2beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p2beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -938,16 +866,12 @@ class GoogleCloudVisionV1p2beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p2beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p2beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult @@ -956,7 +880,7 @@ class GoogleCloudVisionV1p2beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly objectAnnotations: _list[ @@ -966,7 +890,7 @@ class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -975,82 +899,78 @@ class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p2beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p2beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p2beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p2beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebPage] @@ -1059,31 +979,23 @@ class GoogleCloudVisionV1p2beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p2beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] @@ -1091,25 +1003,21 @@ class GoogleCloudVisionV1p2beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p2beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p3beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p3beta1InputConfig responses: _list[GoogleCloudVisionV1p3beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p3beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p3beta1CropHintsAnnotation error: Status @@ -1129,69 +1037,59 @@ class GoogleCloudVisionV1p3beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p3beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p3beta1BatchOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p3beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p3beta1Paragraph] property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p3beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p3beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p3beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p3beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p3beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p3beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p3beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p3beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float description: str @@ -1203,45 +1101,41 @@ class GoogleCloudVisionV1p3beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p3beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p3beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p3beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -1282,44 +1176,38 @@ class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p3beta1DominantColorsAnnotation @typing.type_check_only class GoogleCloudVisionV1p3beta1ImportProductSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceImages: _list[GoogleCloudVisionV1p3beta1ReferenceImage] statuses: _list[Status] @typing.type_check_only -class GoogleCloudVisionV1p3beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p3beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly languageCode: str @@ -1328,33 +1216,29 @@ class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p3beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p3beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p3beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p3beta1Block] confidence: float height: int @@ -1362,20 +1246,20 @@ class GoogleCloudVisionV1p3beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p3beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1383,16 +1267,12 @@ class GoogleCloudVisionV1p3beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p3beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p3beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult @@ -1401,7 +1281,7 @@ class GoogleCloudVisionV1p3beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly objectAnnotations: _list[ @@ -1411,7 +1291,7 @@ class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1420,90 +1300,84 @@ class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p3beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ReferenceImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[GoogleCloudVisionV1p3beta1BoundingPoly] name: str uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p3beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p3beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p3beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebPage] @@ -1512,31 +1386,23 @@ class GoogleCloudVisionV1p3beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p3beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] @@ -1544,25 +1410,21 @@ class GoogleCloudVisionV1p3beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p3beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p4beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p4beta1InputConfig responses: _list[GoogleCloudVisionV1p4beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p4beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p4beta1CropHintsAnnotation error: Status @@ -1582,87 +1444,77 @@ class GoogleCloudVisionV1p4beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p4beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse] @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p4beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p4beta1AnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p4beta1BatchOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p4beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p4beta1Paragraph] property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p4beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p4beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p4beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Celebrity(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p4beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p4beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p4beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p4beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float description: str @@ -1674,22 +1526,20 @@ class GoogleCloudVisionV1p4beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p4beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float @@ -1697,23 +1547,21 @@ class GoogleCloudVisionV1p4beta1FaceAnnotation( panAngle: float recognitionResult: _list[GoogleCloudVisionV1p4beta1FaceRecognitionResult] rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p4beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -1754,51 +1602,43 @@ class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceRecognitionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1FaceRecognitionResult(typing.TypedDict, total=False): celebrity: GoogleCloudVisionV1p4beta1Celebrity confidence: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p4beta1DominantColorsAnnotation @typing.type_check_only class GoogleCloudVisionV1p4beta1ImportProductSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceImages: _list[GoogleCloudVisionV1p4beta1ReferenceImage] statuses: _list[Status] @typing.type_check_only -class GoogleCloudVisionV1p4beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p4beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly languageCode: str @@ -1807,33 +1647,29 @@ class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p4beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p4beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p4beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p4beta1Block] confidence: float height: int @@ -1841,20 +1677,20 @@ class GoogleCloudVisionV1p4beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p4beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1862,16 +1698,12 @@ class GoogleCloudVisionV1p4beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p4beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p4beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult @@ -1880,7 +1712,7 @@ class GoogleCloudVisionV1p4beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly objectAnnotations: _list[ @@ -1890,7 +1722,7 @@ class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1899,90 +1731,84 @@ class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p4beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ReferenceImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[GoogleCloudVisionV1p4beta1BoundingPoly] name: str uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p4beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p4beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p4beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebPage] @@ -1991,31 +1817,23 @@ class GoogleCloudVisionV1p4beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p4beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] @@ -2023,30 +1841,30 @@ class GoogleCloudVisionV1p4beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p4beta1Symbol] @typing.type_check_only -class GroupedResult(typing_extensions.TypedDict, total=False): +class GroupedResult(typing.TypedDict, total=False): boundingPoly: BoundingPoly objectAnnotations: _list[ObjectAnnotation] results: _list[Result] @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): content: str source: ImageSource @typing.type_check_only -class ImageAnnotationContext(typing_extensions.TypedDict, total=False): +class ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class ImageContext(typing_extensions.TypedDict, total=False): +class ImageContext(typing.TypedDict, total=False): cropHintsParams: CropHintsParams languageHints: _list[str] latLongRect: LatLongRect @@ -2055,46 +1873,46 @@ class ImageContext(typing_extensions.TypedDict, total=False): webDetectionParams: WebDetectionParams @typing.type_check_only -class ImageProperties(typing_extensions.TypedDict, total=False): +class ImageProperties(typing.TypedDict, total=False): dominantColors: DominantColorsAnnotation @typing.type_check_only -class ImageSource(typing_extensions.TypedDict, total=False): +class ImageSource(typing.TypedDict, total=False): gcsImageUri: str imageUri: str @typing.type_check_only -class ImportProductSetsGcsSource(typing_extensions.TypedDict, total=False): +class ImportProductSetsGcsSource(typing.TypedDict, total=False): csvFileUri: str @typing.type_check_only -class ImportProductSetsInputConfig(typing_extensions.TypedDict, total=False): +class ImportProductSetsInputConfig(typing.TypedDict, total=False): gcsSource: ImportProductSetsGcsSource @typing.type_check_only -class ImportProductSetsRequest(typing_extensions.TypedDict, total=False): +class ImportProductSetsRequest(typing.TypedDict, total=False): inputConfig: ImportProductSetsInputConfig @typing.type_check_only -class ImportProductSetsResponse(typing_extensions.TypedDict, total=False): +class ImportProductSetsResponse(typing.TypedDict, total=False): referenceImages: _list[ReferenceImage] statuses: _list[Status] @typing.type_check_only -class InputConfig(typing_extensions.TypedDict, total=False): +class InputConfig(typing.TypedDict, total=False): content: str gcsSource: GcsSource mimeType: str @typing.type_check_only -class KeyValue(typing_extensions.TypedDict, total=False): +class KeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class Landmark(typing_extensions.TypedDict, total=False): +class Landmark(typing.TypedDict, total=False): position: Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -2135,44 +1953,44 @@ class Landmark(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LatLongRect(typing_extensions.TypedDict, total=False): +class LatLongRect(typing.TypedDict, total=False): maxLatLng: LatLng minLatLng: LatLng @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListProductSetsResponse(typing_extensions.TypedDict, total=False): +class ListProductSetsResponse(typing.TypedDict, total=False): nextPageToken: str productSets: _list[ProductSet] @typing.type_check_only -class ListProductsInProductSetResponse(typing_extensions.TypedDict, total=False): +class ListProductsInProductSetResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] @typing.type_check_only -class ListProductsResponse(typing_extensions.TypedDict, total=False): +class ListProductsResponse(typing.TypedDict, total=False): nextPageToken: str products: _list[Product] @typing.type_check_only -class ListReferenceImagesResponse(typing_extensions.TypedDict, total=False): +class ListReferenceImagesResponse(typing.TypedDict, total=False): nextPageToken: str pageSize: int referenceImages: _list[ReferenceImage] @typing.type_check_only -class LocalizedObjectAnnotation(typing_extensions.TypedDict, total=False): +class LocalizedObjectAnnotation(typing.TypedDict, total=False): boundingPoly: BoundingPoly languageCode: str mid: str @@ -2180,23 +1998,23 @@ class LocalizedObjectAnnotation(typing_extensions.TypedDict, total=False): score: float @typing.type_check_only -class LocationInfo(typing_extensions.TypedDict, total=False): +class LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class NormalizedVertex(typing_extensions.TypedDict, total=False): +class NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class ObjectAnnotation(typing_extensions.TypedDict, total=False): +class ObjectAnnotation(typing.TypedDict, total=False): languageCode: str mid: str name: str score: float @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -2204,20 +2022,20 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GcsDestination @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): blocks: _list[Block] confidence: float height: int @@ -2225,20 +2043,20 @@ class Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class Paragraph(typing_extensions.TypedDict, total=False): +class Paragraph(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty words: _list[Word] @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -2246,110 +2064,110 @@ class Product(typing_extensions.TypedDict, total=False): productLabels: _list[KeyValue] @typing.type_check_only -class ProductSearchParams(typing_extensions.TypedDict, total=False): +class ProductSearchParams(typing.TypedDict, total=False): boundingPoly: BoundingPoly filter: str productCategories: _list[str] productSet: str @typing.type_check_only -class ProductSearchResults(typing_extensions.TypedDict, total=False): +class ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[GroupedResult] results: _list[Result] @typing.type_check_only -class ProductSet(typing_extensions.TypedDict, total=False): +class ProductSet(typing.TypedDict, total=False): displayName: str indexError: Status indexTime: str name: str @typing.type_check_only -class ProductSetPurgeConfig(typing_extensions.TypedDict, total=False): +class ProductSetPurgeConfig(typing.TypedDict, total=False): productSetId: str @typing.type_check_only -class Property(typing_extensions.TypedDict, total=False): +class Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class PurgeProductsRequest(typing_extensions.TypedDict, total=False): +class PurgeProductsRequest(typing.TypedDict, total=False): deleteOrphanProducts: bool force: bool productSetPurgeConfig: ProductSetPurgeConfig @typing.type_check_only -class ReferenceImage(typing_extensions.TypedDict, total=False): +class ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[BoundingPoly] name: str uri: str @typing.type_check_only -class RemoveProductFromProductSetRequest(typing_extensions.TypedDict, total=False): +class RemoveProductFromProductSetRequest(typing.TypedDict, total=False): product: str @typing.type_check_only -class Result(typing_extensions.TypedDict, total=False): +class Result(typing.TypedDict, total=False): image: str product: Product score: float @typing.type_check_only -class SafeSearchAnnotation(typing_extensions.TypedDict, total=False): - adult: typing_extensions.Literal[ +class SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Symbol(typing_extensions.TypedDict, total=False): +class Symbol(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty text: str @typing.type_check_only -class TextAnnotation(typing_extensions.TypedDict, total=False): +class TextAnnotation(typing.TypedDict, total=False): pages: _list[Page] text: str @typing.type_check_only -class TextDetectionParams(typing_extensions.TypedDict, total=False): +class TextDetectionParams(typing.TypedDict, total=False): advancedOcrOptions: _list[str] enableTextDetectionConfidenceScore: bool @typing.type_check_only -class TextProperty(typing_extensions.TypedDict, total=False): +class TextProperty(typing.TypedDict, total=False): detectedBreak: DetectedBreak detectedLanguages: _list[DetectedLanguage] @typing.type_check_only -class Vertex(typing_extensions.TypedDict, total=False): +class Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class WebDetection(typing_extensions.TypedDict, total=False): +class WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[WebLabel] fullMatchingImages: _list[WebImage] pagesWithMatchingImages: _list[WebPage] @@ -2358,27 +2176,27 @@ class WebDetection(typing_extensions.TypedDict, total=False): webEntities: _list[WebEntity] @typing.type_check_only -class WebDetectionParams(typing_extensions.TypedDict, total=False): +class WebDetectionParams(typing.TypedDict, total=False): includeGeoResults: bool @typing.type_check_only -class WebEntity(typing_extensions.TypedDict, total=False): +class WebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class WebImage(typing_extensions.TypedDict, total=False): +class WebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class WebLabel(typing_extensions.TypedDict, total=False): +class WebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class WebPage(typing_extensions.TypedDict, total=False): +class WebPage(typing.TypedDict, total=False): fullMatchingImages: _list[WebImage] pageTitle: str partialMatchingImages: _list[WebImage] @@ -2386,7 +2204,7 @@ class WebPage(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Word(typing_extensions.TypedDict, total=False): +class Word(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty diff --git a/googleapiclient-stubs/_apis/vision/v1p1beta1/resources.pyi b/googleapiclient-stubs/_apis/vision/v1p1beta1/resources.pyi index b744b192f..354fec278 100644 --- a/googleapiclient-stubs/_apis/vision/v1p1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/vision/v1p1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/vision/v1p1beta1/schemas.pyi b/googleapiclient-stubs/_apis/vision/v1p1beta1/schemas.pyi index 7e0cfbf8e..03f33f3b6 100644 --- a/googleapiclient-stubs/_apis/vision/v1p1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vision/v1p1beta1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnnotateFileResponse(typing_extensions.TypedDict, total=False): +class AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: InputConfig responses: _list[AnnotateImageResponse] totalPages: int @typing.type_check_only -class AnnotateImageResponse(typing_extensions.TypedDict, total=False): +class AnnotateImageResponse(typing.TypedDict, total=False): context: ImageAnnotationContext cropHintsAnnotation: CropHintsAnnotation error: Status @@ -29,85 +27,83 @@ class AnnotateImageResponse(typing_extensions.TypedDict, total=False): webDetection: WebDetection @typing.type_check_only -class AsyncAnnotateFileResponse(typing_extensions.TypedDict, total=False): +class AsyncAnnotateFileResponse(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class AsyncBatchAnnotateFilesResponse(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateFilesResponse(typing.TypedDict, total=False): responses: _list[AsyncAnnotateFileResponse] @typing.type_check_only -class AsyncBatchAnnotateImagesResponse(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateImagesResponse(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class BatchAnnotateFilesResponse(typing_extensions.TypedDict, total=False): +class BatchAnnotateFilesResponse(typing.TypedDict, total=False): responses: _list[AnnotateFileResponse] @typing.type_check_only -class BatchOperationMetadata(typing_extensions.TypedDict, total=False): +class BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: BoundingPoly confidence: float paragraphs: _list[Paragraph] property: TextProperty @typing.type_check_only -class BoundingPoly(typing_extensions.TypedDict, total=False): +class BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[NormalizedVertex] vertices: _list[Vertex] @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class ColorInfo(typing_extensions.TypedDict, total=False): +class ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class CropHint(typing_extensions.TypedDict, total=False): +class CropHint(typing.TypedDict, total=False): boundingPoly: BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class CropHintsAnnotation(typing_extensions.TypedDict, total=False): +class CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[CropHint] @typing.type_check_only -class DetectedBreak(typing_extensions.TypedDict, total=False): +class DetectedBreak(typing.TypedDict, total=False): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only -class DetectedLanguage(typing_extensions.TypedDict, total=False): +class DetectedLanguage(typing.TypedDict, total=False): confidence: float languageCode: str @typing.type_check_only -class DominantColorsAnnotation(typing_extensions.TypedDict, total=False): +class DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[ColorInfo] @typing.type_check_only -class EntityAnnotation(typing_extensions.TypedDict, total=False): +class EntityAnnotation(typing.TypedDict, total=False): boundingPoly: BoundingPoly confidence: float description: str @@ -119,75 +115,67 @@ class EntityAnnotation(typing_extensions.TypedDict, total=False): topicality: float @typing.type_check_only -class FaceAnnotation(typing_extensions.TypedDict, total=False): - angerLikelihood: typing_extensions.Literal[ +class FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: BoundingPoly detectionConfidence: float fdBoundingPoly: BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[Landmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateFileRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateFileRequest(typing.TypedDict, total=False): features: _list[GoogleCloudVisionV1p1beta1Feature] imageContext: GoogleCloudVisionV1p1beta1ImageContext inputConfig: GoogleCloudVisionV1p1beta1InputConfig pages: _list[int] @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p1beta1InputConfig responses: _list[GoogleCloudVisionV1p1beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateImageRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateImageRequest(typing.TypedDict, total=False): features: _list[GoogleCloudVisionV1p1beta1Feature] image: GoogleCloudVisionV1p1beta1Image imageContext: GoogleCloudVisionV1p1beta1ImageContext @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p1beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p1beta1CropHintsAnnotation error: Status @@ -206,9 +194,7 @@ class GoogleCloudVisionV1p1beta1AnnotateImageResponse( webDetection: GoogleCloudVisionV1p1beta1WebDetection @typing.type_check_only -class GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest(typing.TypedDict, total=False): features: _list[GoogleCloudVisionV1p1beta1Feature] imageContext: GoogleCloudVisionV1p1beta1ImageContext inputConfig: GoogleCloudVisionV1p1beta1InputConfig @@ -216,13 +202,13 @@ class GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest( @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p1beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] parent: str @@ -230,13 +216,13 @@ class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest( @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse] @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] outputConfig: GoogleCloudVisionV1p1beta1OutputConfig @@ -245,7 +231,7 @@ class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest( @typing.type_check_only class GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] parent: str @@ -253,13 +239,13 @@ class GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest( @typing.type_check_only class GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p1beta1AnnotateFileResponse] @typing.type_check_only class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] parent: str @@ -267,59 +253,49 @@ class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest( @typing.type_check_only class GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p1beta1AnnotateImageResponse] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p1beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p1beta1Paragraph] property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p1beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p1beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p1beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p1beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p1beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p1beta1CropHintsParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1CropHintsParams(typing.TypedDict, total=False): aspectRatios: _list[float] @typing.type_check_only -class GoogleCloudVisionV1p1beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p1beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p1beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float description: str @@ -331,45 +307,41 @@ class GoogleCloudVisionV1p1beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p1beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p1beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p1beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -410,10 +382,10 @@ class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Feature(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Feature(typing.TypedDict, total=False): maxResults: int model: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "FACE_DETECTION", "LANDMARK_DETECTION", @@ -430,29 +402,25 @@ class GoogleCloudVisionV1p1beta1Feature(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1Image(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Image(typing.TypedDict, total=False): content: str source: GoogleCloudVisionV1p1beta1ImageSource @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageContext(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1ImageContext(typing.TypedDict, total=False): cropHintsParams: GoogleCloudVisionV1p1beta1CropHintsParams languageHints: _list[str] latLongRect: GoogleCloudVisionV1p1beta1LatLongRect @@ -461,30 +429,28 @@ class GoogleCloudVisionV1p1beta1ImageContext(typing_extensions.TypedDict, total= webDetectionParams: GoogleCloudVisionV1p1beta1WebDetectionParams @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p1beta1DominantColorsAnnotation @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1ImageSource(typing.TypedDict, total=False): gcsImageUri: str imageUri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p1beta1GcsSource mimeType: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1LatLongRect(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1LatLongRect(typing.TypedDict, total=False): maxLatLng: LatLng minLatLng: LatLng @typing.type_check_only class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly languageCode: str @@ -493,33 +459,29 @@ class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p1beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p1beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p1beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p1beta1Block] confidence: float height: int @@ -527,20 +489,20 @@ class GoogleCloudVisionV1p1beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p1beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -548,25 +510,19 @@ class GoogleCloudVisionV1p1beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p1beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p1beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ProductSearchParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ProductSearchParams(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly filter: str productCategories: _list[str] productSet: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult @@ -575,7 +531,7 @@ class GoogleCloudVisionV1p1beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly objectAnnotations: _list[ @@ -585,7 +541,7 @@ class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -594,89 +550,83 @@ class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p1beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p1beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p1beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p1beta1TextDetectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1TextDetectionParams(typing.TypedDict, total=False): advancedOcrOptions: _list[str] enableTextDetectionConfidenceScore: bool @typing.type_check_only -class GoogleCloudVisionV1p1beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p1beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebPage] @@ -685,37 +635,27 @@ class GoogleCloudVisionV1p1beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p1beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionParams(typing.TypedDict, total=False): includeGeoResults: bool @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] @@ -723,25 +663,21 @@ class GoogleCloudVisionV1p1beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p1beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p2beta1InputConfig responses: _list[GoogleCloudVisionV1p2beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p2beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p2beta1CropHintsAnnotation error: Status @@ -761,59 +697,51 @@ class GoogleCloudVisionV1p2beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p2beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p2beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p2beta1Paragraph] property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p2beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p2beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p2beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p2beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p2beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p2beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p2beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p2beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float description: str @@ -825,45 +753,41 @@ class GoogleCloudVisionV1p2beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p2beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p2beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p2beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -904,37 +828,31 @@ class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p2beta1DominantColorsAnnotation @typing.type_check_only -class GoogleCloudVisionV1p2beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p2beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly languageCode: str @@ -943,33 +861,29 @@ class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p2beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p2beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p2beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p2beta1Block] confidence: float height: int @@ -977,20 +891,20 @@ class GoogleCloudVisionV1p2beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p2beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -998,16 +912,12 @@ class GoogleCloudVisionV1p2beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p2beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p2beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult @@ -1016,7 +926,7 @@ class GoogleCloudVisionV1p2beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly objectAnnotations: _list[ @@ -1026,7 +936,7 @@ class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1035,82 +945,78 @@ class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p2beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p2beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p2beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p2beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebPage] @@ -1119,31 +1025,23 @@ class GoogleCloudVisionV1p2beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p2beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] @@ -1151,25 +1049,21 @@ class GoogleCloudVisionV1p2beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p2beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p3beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p3beta1InputConfig responses: _list[GoogleCloudVisionV1p3beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p3beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p3beta1CropHintsAnnotation error: Status @@ -1189,69 +1083,59 @@ class GoogleCloudVisionV1p3beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p3beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p3beta1BatchOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p3beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p3beta1Paragraph] property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p3beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p3beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p3beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p3beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p3beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p3beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p3beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p3beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float description: str @@ -1263,45 +1147,41 @@ class GoogleCloudVisionV1p3beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p3beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p3beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p3beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -1342,44 +1222,38 @@ class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p3beta1DominantColorsAnnotation @typing.type_check_only class GoogleCloudVisionV1p3beta1ImportProductSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceImages: _list[GoogleCloudVisionV1p3beta1ReferenceImage] statuses: _list[Status] @typing.type_check_only -class GoogleCloudVisionV1p3beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p3beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly languageCode: str @@ -1388,33 +1262,29 @@ class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p3beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p3beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p3beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p3beta1Block] confidence: float height: int @@ -1422,20 +1292,20 @@ class GoogleCloudVisionV1p3beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p3beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1443,16 +1313,12 @@ class GoogleCloudVisionV1p3beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p3beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p3beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult @@ -1461,7 +1327,7 @@ class GoogleCloudVisionV1p3beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly objectAnnotations: _list[ @@ -1471,7 +1337,7 @@ class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1480,90 +1346,84 @@ class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p3beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ReferenceImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[GoogleCloudVisionV1p3beta1BoundingPoly] name: str uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p3beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p3beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p3beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebPage] @@ -1572,31 +1432,23 @@ class GoogleCloudVisionV1p3beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p3beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] @@ -1604,25 +1456,21 @@ class GoogleCloudVisionV1p3beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p3beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p4beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p4beta1InputConfig responses: _list[GoogleCloudVisionV1p4beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p4beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p4beta1CropHintsAnnotation error: Status @@ -1642,87 +1490,77 @@ class GoogleCloudVisionV1p4beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p4beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse] @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p4beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p4beta1AnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p4beta1BatchOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p4beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p4beta1Paragraph] property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p4beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p4beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p4beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Celebrity(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p4beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p4beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p4beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p4beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float description: str @@ -1734,22 +1572,20 @@ class GoogleCloudVisionV1p4beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p4beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float @@ -1757,23 +1593,21 @@ class GoogleCloudVisionV1p4beta1FaceAnnotation( panAngle: float recognitionResult: _list[GoogleCloudVisionV1p4beta1FaceRecognitionResult] rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p4beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -1814,51 +1648,43 @@ class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceRecognitionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1FaceRecognitionResult(typing.TypedDict, total=False): celebrity: GoogleCloudVisionV1p4beta1Celebrity confidence: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p4beta1DominantColorsAnnotation @typing.type_check_only class GoogleCloudVisionV1p4beta1ImportProductSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceImages: _list[GoogleCloudVisionV1p4beta1ReferenceImage] statuses: _list[Status] @typing.type_check_only -class GoogleCloudVisionV1p4beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p4beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly languageCode: str @@ -1867,33 +1693,29 @@ class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p4beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p4beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p4beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p4beta1Block] confidence: float height: int @@ -1901,20 +1723,20 @@ class GoogleCloudVisionV1p4beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p4beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1922,16 +1744,12 @@ class GoogleCloudVisionV1p4beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p4beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p4beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult @@ -1940,7 +1758,7 @@ class GoogleCloudVisionV1p4beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly objectAnnotations: _list[ @@ -1950,7 +1768,7 @@ class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1959,90 +1777,84 @@ class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p4beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ReferenceImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[GoogleCloudVisionV1p4beta1BoundingPoly] name: str uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p4beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p4beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p4beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebPage] @@ -2051,31 +1863,23 @@ class GoogleCloudVisionV1p4beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p4beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] @@ -2083,47 +1887,47 @@ class GoogleCloudVisionV1p4beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p4beta1Symbol] @typing.type_check_only -class GroupedResult(typing_extensions.TypedDict, total=False): +class GroupedResult(typing.TypedDict, total=False): boundingPoly: BoundingPoly objectAnnotations: _list[ObjectAnnotation] results: _list[Result] @typing.type_check_only -class ImageAnnotationContext(typing_extensions.TypedDict, total=False): +class ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class ImageProperties(typing_extensions.TypedDict, total=False): +class ImageProperties(typing.TypedDict, total=False): dominantColors: DominantColorsAnnotation @typing.type_check_only -class ImportProductSetsResponse(typing_extensions.TypedDict, total=False): +class ImportProductSetsResponse(typing.TypedDict, total=False): referenceImages: _list[ReferenceImage] statuses: _list[Status] @typing.type_check_only -class InputConfig(typing_extensions.TypedDict, total=False): +class InputConfig(typing.TypedDict, total=False): content: str gcsSource: GcsSource mimeType: str @typing.type_check_only -class KeyValue(typing_extensions.TypedDict, total=False): +class KeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class Landmark(typing_extensions.TypedDict, total=False): +class Landmark(typing.TypedDict, total=False): position: Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -2164,12 +1968,12 @@ class Landmark(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LocalizedObjectAnnotation(typing_extensions.TypedDict, total=False): +class LocalizedObjectAnnotation(typing.TypedDict, total=False): boundingPoly: BoundingPoly languageCode: str mid: str @@ -2177,23 +1981,23 @@ class LocalizedObjectAnnotation(typing_extensions.TypedDict, total=False): score: float @typing.type_check_only -class LocationInfo(typing_extensions.TypedDict, total=False): +class LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class NormalizedVertex(typing_extensions.TypedDict, total=False): +class NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class ObjectAnnotation(typing_extensions.TypedDict, total=False): +class ObjectAnnotation(typing.TypedDict, total=False): languageCode: str mid: str name: str score: float @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -2201,20 +2005,20 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GcsDestination @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): blocks: _list[Block] confidence: float height: int @@ -2222,20 +2026,20 @@ class Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class Paragraph(typing_extensions.TypedDict, total=False): +class Paragraph(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty words: _list[Word] @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -2243,77 +2047,77 @@ class Product(typing_extensions.TypedDict, total=False): productLabels: _list[KeyValue] @typing.type_check_only -class ProductSearchResults(typing_extensions.TypedDict, total=False): +class ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[GroupedResult] results: _list[Result] @typing.type_check_only -class Property(typing_extensions.TypedDict, total=False): +class Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class ReferenceImage(typing_extensions.TypedDict, total=False): +class ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[BoundingPoly] name: str uri: str @typing.type_check_only -class Result(typing_extensions.TypedDict, total=False): +class Result(typing.TypedDict, total=False): image: str product: Product score: float @typing.type_check_only -class SafeSearchAnnotation(typing_extensions.TypedDict, total=False): - adult: typing_extensions.Literal[ +class SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Symbol(typing_extensions.TypedDict, total=False): +class Symbol(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty text: str @typing.type_check_only -class TextAnnotation(typing_extensions.TypedDict, total=False): +class TextAnnotation(typing.TypedDict, total=False): pages: _list[Page] text: str @typing.type_check_only -class TextProperty(typing_extensions.TypedDict, total=False): +class TextProperty(typing.TypedDict, total=False): detectedBreak: DetectedBreak detectedLanguages: _list[DetectedLanguage] @typing.type_check_only -class Vertex(typing_extensions.TypedDict, total=False): +class Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class WebDetection(typing_extensions.TypedDict, total=False): +class WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[WebLabel] fullMatchingImages: _list[WebImage] pagesWithMatchingImages: _list[WebPage] @@ -2322,23 +2126,23 @@ class WebDetection(typing_extensions.TypedDict, total=False): webEntities: _list[WebEntity] @typing.type_check_only -class WebEntity(typing_extensions.TypedDict, total=False): +class WebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class WebImage(typing_extensions.TypedDict, total=False): +class WebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class WebLabel(typing_extensions.TypedDict, total=False): +class WebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class WebPage(typing_extensions.TypedDict, total=False): +class WebPage(typing.TypedDict, total=False): fullMatchingImages: _list[WebImage] pageTitle: str partialMatchingImages: _list[WebImage] @@ -2346,7 +2150,7 @@ class WebPage(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Word(typing_extensions.TypedDict, total=False): +class Word(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty diff --git a/googleapiclient-stubs/_apis/vision/v1p2beta1/resources.pyi b/googleapiclient-stubs/_apis/vision/v1p2beta1/resources.pyi index a39ff3a47..76d49f8bf 100644 --- a/googleapiclient-stubs/_apis/vision/v1p2beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/vision/v1p2beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/vision/v1p2beta1/schemas.pyi b/googleapiclient-stubs/_apis/vision/v1p2beta1/schemas.pyi index aea6005fa..7957ddb0d 100644 --- a/googleapiclient-stubs/_apis/vision/v1p2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vision/v1p2beta1/schemas.pyi @@ -1,18 +1,16 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AnnotateFileResponse(typing_extensions.TypedDict, total=False): +class AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: InputConfig responses: _list[AnnotateImageResponse] totalPages: int @typing.type_check_only -class AnnotateImageResponse(typing_extensions.TypedDict, total=False): +class AnnotateImageResponse(typing.TypedDict, total=False): context: ImageAnnotationContext cropHintsAnnotation: CropHintsAnnotation error: Status @@ -29,85 +27,83 @@ class AnnotateImageResponse(typing_extensions.TypedDict, total=False): webDetection: WebDetection @typing.type_check_only -class AsyncAnnotateFileResponse(typing_extensions.TypedDict, total=False): +class AsyncAnnotateFileResponse(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class AsyncBatchAnnotateFilesResponse(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateFilesResponse(typing.TypedDict, total=False): responses: _list[AsyncAnnotateFileResponse] @typing.type_check_only -class AsyncBatchAnnotateImagesResponse(typing_extensions.TypedDict, total=False): +class AsyncBatchAnnotateImagesResponse(typing.TypedDict, total=False): outputConfig: OutputConfig @typing.type_check_only -class BatchAnnotateFilesResponse(typing_extensions.TypedDict, total=False): +class BatchAnnotateFilesResponse(typing.TypedDict, total=False): responses: _list[AnnotateFileResponse] @typing.type_check_only -class BatchOperationMetadata(typing_extensions.TypedDict, total=False): +class BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: BoundingPoly confidence: float paragraphs: _list[Paragraph] property: TextProperty @typing.type_check_only -class BoundingPoly(typing_extensions.TypedDict, total=False): +class BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[NormalizedVertex] vertices: _list[Vertex] @typing.type_check_only -class Color(typing_extensions.TypedDict, total=False): +class Color(typing.TypedDict, total=False): alpha: float blue: float green: float red: float @typing.type_check_only -class ColorInfo(typing_extensions.TypedDict, total=False): +class ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class CropHint(typing_extensions.TypedDict, total=False): +class CropHint(typing.TypedDict, total=False): boundingPoly: BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class CropHintsAnnotation(typing_extensions.TypedDict, total=False): +class CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[CropHint] @typing.type_check_only -class DetectedBreak(typing_extensions.TypedDict, total=False): +class DetectedBreak(typing.TypedDict, total=False): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only -class DetectedLanguage(typing_extensions.TypedDict, total=False): +class DetectedLanguage(typing.TypedDict, total=False): confidence: float languageCode: str @typing.type_check_only -class DominantColorsAnnotation(typing_extensions.TypedDict, total=False): +class DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[ColorInfo] @typing.type_check_only -class EntityAnnotation(typing_extensions.TypedDict, total=False): +class EntityAnnotation(typing.TypedDict, total=False): boundingPoly: BoundingPoly confidence: float description: str @@ -119,58 +115,54 @@ class EntityAnnotation(typing_extensions.TypedDict, total=False): topicality: float @typing.type_check_only -class FaceAnnotation(typing_extensions.TypedDict, total=False): - angerLikelihood: typing_extensions.Literal[ +class FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: BoundingPoly detectionConfidence: float fdBoundingPoly: BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[Landmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GcsDestination(typing_extensions.TypedDict, total=False): +class GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GcsSource(typing_extensions.TypedDict, total=False): +class GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p1beta1InputConfig responses: _list[GoogleCloudVisionV1p1beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p1beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p1beta1CropHintsAnnotation error: Status @@ -190,59 +182,51 @@ class GoogleCloudVisionV1p1beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p1beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p1beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p1beta1Paragraph] property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p1beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p1beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p1beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p1beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p1beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p1beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p1beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p1beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float description: str @@ -254,45 +238,41 @@ class GoogleCloudVisionV1p1beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p1beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p1beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p1beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -333,37 +313,31 @@ class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p1beta1DominantColorsAnnotation @typing.type_check_only -class GoogleCloudVisionV1p1beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p1beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly languageCode: str @@ -372,33 +346,29 @@ class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p1beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p1beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p1beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p1beta1Block] confidence: float height: int @@ -406,20 +376,20 @@ class GoogleCloudVisionV1p1beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p1beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -427,16 +397,12 @@ class GoogleCloudVisionV1p1beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p1beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p1beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult @@ -445,7 +411,7 @@ class GoogleCloudVisionV1p1beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p1beta1BoundingPoly objectAnnotations: _list[ @@ -455,7 +421,7 @@ class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -464,82 +430,78 @@ class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p1beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p1beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p1beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p1beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p1beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p1beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p1beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebPage] @@ -548,31 +510,23 @@ class GoogleCloudVisionV1p1beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p1beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p1beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p1beta1WebDetectionWebImage] @@ -580,42 +534,34 @@ class GoogleCloudVisionV1p1beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p1beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p1beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p1beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p1beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p1beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateFileRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateFileRequest(typing.TypedDict, total=False): features: _list[GoogleCloudVisionV1p2beta1Feature] imageContext: GoogleCloudVisionV1p2beta1ImageContext inputConfig: GoogleCloudVisionV1p2beta1InputConfig pages: _list[int] @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p2beta1InputConfig responses: _list[GoogleCloudVisionV1p2beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateImageRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateImageRequest(typing.TypedDict, total=False): features: _list[GoogleCloudVisionV1p2beta1Feature] image: GoogleCloudVisionV1p2beta1Image imageContext: GoogleCloudVisionV1p2beta1ImageContext @typing.type_check_only -class GoogleCloudVisionV1p2beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p2beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p2beta1CropHintsAnnotation error: Status @@ -634,9 +580,7 @@ class GoogleCloudVisionV1p2beta1AnnotateImageResponse( webDetection: GoogleCloudVisionV1p2beta1WebDetection @typing.type_check_only -class GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest(typing.TypedDict, total=False): features: _list[GoogleCloudVisionV1p2beta1Feature] imageContext: GoogleCloudVisionV1p2beta1ImageContext inputConfig: GoogleCloudVisionV1p2beta1InputConfig @@ -644,13 +588,13 @@ class GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest( @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p2beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] parent: str @@ -658,13 +602,13 @@ class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest( @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse] @typing.type_check_only class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] outputConfig: GoogleCloudVisionV1p2beta1OutputConfig @@ -673,7 +617,7 @@ class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest( @typing.type_check_only class GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] parent: str @@ -681,13 +625,13 @@ class GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest( @typing.type_check_only class GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p2beta1AnnotateFileResponse] @typing.type_check_only class GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): labels: dict[str, typing.Any] parent: str @@ -695,59 +639,49 @@ class GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest( @typing.type_check_only class GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p2beta1AnnotateImageResponse] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p2beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p2beta1Paragraph] property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p2beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p2beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p2beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p2beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p2beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p2beta1CropHintsParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1CropHintsParams(typing.TypedDict, total=False): aspectRatios: _list[float] @typing.type_check_only -class GoogleCloudVisionV1p2beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p2beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p2beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float description: str @@ -759,45 +693,41 @@ class GoogleCloudVisionV1p2beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p2beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p2beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p2beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -838,10 +768,10 @@ class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Feature(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Feature(typing.TypedDict, total=False): maxResults: int model: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "FACE_DETECTION", "LANDMARK_DETECTION", @@ -858,29 +788,25 @@ class GoogleCloudVisionV1p2beta1Feature(typing_extensions.TypedDict, total=False ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1Image(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Image(typing.TypedDict, total=False): content: str source: GoogleCloudVisionV1p2beta1ImageSource @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageContext(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1ImageContext(typing.TypedDict, total=False): cropHintsParams: GoogleCloudVisionV1p2beta1CropHintsParams languageHints: _list[str] latLongRect: GoogleCloudVisionV1p2beta1LatLongRect @@ -889,30 +815,28 @@ class GoogleCloudVisionV1p2beta1ImageContext(typing_extensions.TypedDict, total= webDetectionParams: GoogleCloudVisionV1p2beta1WebDetectionParams @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p2beta1DominantColorsAnnotation @typing.type_check_only -class GoogleCloudVisionV1p2beta1ImageSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1ImageSource(typing.TypedDict, total=False): gcsImageUri: str imageUri: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p2beta1GcsSource mimeType: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1LatLongRect(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1LatLongRect(typing.TypedDict, total=False): maxLatLng: LatLng minLatLng: LatLng @typing.type_check_only class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly languageCode: str @@ -921,33 +845,29 @@ class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p2beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p2beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p2beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p2beta1Block] confidence: float height: int @@ -955,20 +875,20 @@ class GoogleCloudVisionV1p2beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p2beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -976,25 +896,19 @@ class GoogleCloudVisionV1p2beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p2beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p2beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ProductSearchParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ProductSearchParams(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly filter: str productCategories: _list[str] productSet: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult @@ -1003,7 +917,7 @@ class GoogleCloudVisionV1p2beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p2beta1BoundingPoly objectAnnotations: _list[ @@ -1013,7 +927,7 @@ class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1022,89 +936,83 @@ class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p2beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p2beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p2beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p2beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p2beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p2beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p2beta1TextDetectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1TextDetectionParams(typing.TypedDict, total=False): advancedOcrOptions: _list[str] enableTextDetectionConfidenceScore: bool @typing.type_check_only -class GoogleCloudVisionV1p2beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p2beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebPage] @@ -1113,37 +1021,27 @@ class GoogleCloudVisionV1p2beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p2beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionParams( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionParams(typing.TypedDict, total=False): includeGeoResults: bool @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p2beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p2beta1WebDetectionWebImage] @@ -1151,25 +1049,21 @@ class GoogleCloudVisionV1p2beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p2beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p2beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p2beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p2beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p2beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p3beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p3beta1InputConfig responses: _list[GoogleCloudVisionV1p3beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p3beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p3beta1CropHintsAnnotation error: Status @@ -1189,69 +1083,59 @@ class GoogleCloudVisionV1p3beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p3beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p3beta1BatchOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p3beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p3beta1Paragraph] property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p3beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p3beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p3beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p3beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p3beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p3beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p3beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p3beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float description: str @@ -1263,45 +1147,41 @@ class GoogleCloudVisionV1p3beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p3beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float landmarks: _list[GoogleCloudVisionV1p3beta1FaceAnnotationLandmark] panAngle: float rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p3beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -1342,44 +1222,38 @@ class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p3beta1DominantColorsAnnotation @typing.type_check_only class GoogleCloudVisionV1p3beta1ImportProductSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceImages: _list[GoogleCloudVisionV1p3beta1ReferenceImage] statuses: _list[Status] @typing.type_check_only -class GoogleCloudVisionV1p3beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p3beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly languageCode: str @@ -1388,33 +1262,29 @@ class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p3beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p3beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p3beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p3beta1Block] confidence: float height: int @@ -1422,20 +1292,20 @@ class GoogleCloudVisionV1p3beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p3beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1443,16 +1313,12 @@ class GoogleCloudVisionV1p3beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p3beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p3beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult @@ -1461,7 +1327,7 @@ class GoogleCloudVisionV1p3beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p3beta1BoundingPoly objectAnnotations: _list[ @@ -1471,7 +1337,7 @@ class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1480,90 +1346,84 @@ class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p3beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p3beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1ReferenceImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[GoogleCloudVisionV1p3beta1BoundingPoly] name: str uri: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p3beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p3beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p3beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p3beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p3beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebPage] @@ -1572,31 +1432,23 @@ class GoogleCloudVisionV1p3beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p3beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p3beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p3beta1WebDetectionWebImage] @@ -1604,25 +1456,21 @@ class GoogleCloudVisionV1p3beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p3beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p3beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p3beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p3beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p3beta1Symbol] @typing.type_check_only -class GoogleCloudVisionV1p4beta1AnnotateFileResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1AnnotateFileResponse(typing.TypedDict, total=False): error: Status inputConfig: GoogleCloudVisionV1p4beta1InputConfig responses: _list[GoogleCloudVisionV1p4beta1AnnotateImageResponse] totalPages: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1AnnotateImageResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1AnnotateImageResponse(typing.TypedDict, total=False): context: GoogleCloudVisionV1p4beta1ImageAnnotationContext cropHintsAnnotation: GoogleCloudVisionV1p4beta1CropHintsAnnotation error: Status @@ -1642,87 +1490,77 @@ class GoogleCloudVisionV1p4beta1AnnotateImageResponse( @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p4beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse] @typing.type_check_only class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): outputConfig: GoogleCloudVisionV1p4beta1OutputConfig @typing.type_check_only class GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): responses: _list[GoogleCloudVisionV1p4beta1AnnotateFileResponse] @typing.type_check_only -class GoogleCloudVisionV1p4beta1BatchOperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1BatchOperationMetadata(typing.TypedDict, total=False): endTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PROCESSING", "SUCCESSFUL", "FAILED", "CANCELLED" ] submitTime: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1Block(typing_extensions.TypedDict, total=False): - blockType: typing_extensions.Literal[ - "UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE" - ] +class GoogleCloudVisionV1p4beta1Block(typing.TypedDict, total=False): + blockType: typing.Literal["UNKNOWN", "TEXT", "TABLE", "PICTURE", "RULER", "BARCODE"] boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float paragraphs: _list[GoogleCloudVisionV1p4beta1Paragraph] property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty @typing.type_check_only -class GoogleCloudVisionV1p4beta1BoundingPoly(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1BoundingPoly(typing.TypedDict, total=False): normalizedVertices: _list[GoogleCloudVisionV1p4beta1NormalizedVertex] vertices: _list[GoogleCloudVisionV1p4beta1Vertex] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Celebrity(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Celebrity(typing.TypedDict, total=False): description: str displayName: str name: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ColorInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1ColorInfo(typing.TypedDict, total=False): color: Color pixelFraction: float score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1CropHint(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1CropHint(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float importanceFraction: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1CropHintsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1CropHintsAnnotation(typing.TypedDict, total=False): cropHints: _list[GoogleCloudVisionV1p4beta1CropHint] @typing.type_check_only -class GoogleCloudVisionV1p4beta1DominantColorsAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1DominantColorsAnnotation(typing.TypedDict, total=False): colors: _list[GoogleCloudVisionV1p4beta1ColorInfo] @typing.type_check_only -class GoogleCloudVisionV1p4beta1EntityAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1EntityAnnotation(typing.TypedDict, total=False): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float description: str @@ -1734,22 +1572,20 @@ class GoogleCloudVisionV1p4beta1EntityAnnotation( topicality: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceAnnotation( - typing_extensions.TypedDict, total=False -): - angerLikelihood: typing_extensions.Literal[ +class GoogleCloudVisionV1p4beta1FaceAnnotation(typing.TypedDict, total=False): + angerLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - blurredLikelihood: typing_extensions.Literal[ + blurredLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly detectionConfidence: float fdBoundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly - headwearLikelihood: typing_extensions.Literal[ + headwearLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - joyLikelihood: typing_extensions.Literal[ + joyLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] landmarkingConfidence: float @@ -1757,23 +1593,21 @@ class GoogleCloudVisionV1p4beta1FaceAnnotation( panAngle: float recognitionResult: _list[GoogleCloudVisionV1p4beta1FaceRecognitionResult] rollAngle: float - sorrowLikelihood: typing_extensions.Literal[ + sorrowLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - surpriseLikelihood: typing_extensions.Literal[ + surpriseLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] tiltAngle: float - underExposedLikelihood: typing_extensions.Literal[ + underExposedLikelihood: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark(typing.TypedDict, total=False): position: GoogleCloudVisionV1p4beta1Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -1814,51 +1648,43 @@ class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark( ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1FaceRecognitionResult( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1FaceRecognitionResult(typing.TypedDict, total=False): celebrity: GoogleCloudVisionV1p4beta1Celebrity confidence: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1GcsDestination( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1GcsDestination(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1GcsSource(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1GcsSource(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ImageAnnotationContext( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ImageProperties( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ImageProperties(typing.TypedDict, total=False): dominantColors: GoogleCloudVisionV1p4beta1DominantColorsAnnotation @typing.type_check_only class GoogleCloudVisionV1p4beta1ImportProductSetsResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): referenceImages: _list[GoogleCloudVisionV1p4beta1ReferenceImage] statuses: _list[Status] @typing.type_check_only -class GoogleCloudVisionV1p4beta1InputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1InputConfig(typing.TypedDict, total=False): content: str gcsSource: GoogleCloudVisionV1p4beta1GcsSource mimeType: str @typing.type_check_only class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly languageCode: str @@ -1867,33 +1693,29 @@ class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation( score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1LocationInfo(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class GoogleCloudVisionV1p4beta1NormalizedVertex( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1OperationMetadata( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1OutputConfig(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GoogleCloudVisionV1p4beta1GcsDestination @typing.type_check_only -class GoogleCloudVisionV1p4beta1Page(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Page(typing.TypedDict, total=False): blocks: _list[GoogleCloudVisionV1p4beta1Block] confidence: float height: int @@ -1901,20 +1723,20 @@ class GoogleCloudVisionV1p4beta1Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1Paragraph(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Paragraph(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty words: _list[GoogleCloudVisionV1p4beta1Word] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Position(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1Product(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -1922,16 +1744,12 @@ class GoogleCloudVisionV1p4beta1Product(typing_extensions.TypedDict, total=False productLabels: _list[GoogleCloudVisionV1p4beta1ProductKeyValue] @typing.type_check_only -class GoogleCloudVisionV1p4beta1ProductKeyValue( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ProductKeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ProductSearchResults( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[ GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult @@ -1940,7 +1758,7 @@ class GoogleCloudVisionV1p4beta1ProductSearchResults( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): boundingPoly: GoogleCloudVisionV1p4beta1BoundingPoly objectAnnotations: _list[ @@ -1950,7 +1768,7 @@ class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): languageCode: str mid: str @@ -1959,90 +1777,84 @@ class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation( @typing.type_check_only class GoogleCloudVisionV1p4beta1ProductSearchResultsResult( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): image: str product: GoogleCloudVisionV1p4beta1Product score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1Property(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1ReferenceImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[GoogleCloudVisionV1p4beta1BoundingPoly] name: str uri: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1SafeSearchAnnotation( - typing_extensions.TypedDict, total=False -): - adult: typing_extensions.Literal[ +class GoogleCloudVisionV1p4beta1SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Symbol(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Symbol(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty text: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1TextAnnotation( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1TextAnnotation(typing.TypedDict, total=False): pages: _list[GoogleCloudVisionV1p4beta1Page] text: str @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): isPrefix: bool - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN", "SPACE", "SURE_SPACE", "EOL_SURE_SPACE", "HYPHEN", "LINE_BREAK" ] @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): confidence: float languageCode: str @typing.type_check_only class GoogleCloudVisionV1p4beta1TextAnnotationTextProperty( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): detectedBreak: GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak detectedLanguages: _list[GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage] @typing.type_check_only -class GoogleCloudVisionV1p4beta1Vertex(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetection(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[GoogleCloudVisionV1p4beta1WebDetectionWebLabel] fullMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] pagesWithMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebPage] @@ -2051,31 +1863,23 @@ class GoogleCloudVisionV1p4beta1WebDetection(typing_extensions.TypedDict, total= webEntities: _list[GoogleCloudVisionV1p4beta1WebDetectionWebEntity] @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebEntity( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebImage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebLabel( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1WebDetectionWebPage( - typing_extensions.TypedDict, total=False -): +class GoogleCloudVisionV1p4beta1WebDetectionWebPage(typing.TypedDict, total=False): fullMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] pageTitle: str partialMatchingImages: _list[GoogleCloudVisionV1p4beta1WebDetectionWebImage] @@ -2083,47 +1887,47 @@ class GoogleCloudVisionV1p4beta1WebDetectionWebPage( url: str @typing.type_check_only -class GoogleCloudVisionV1p4beta1Word(typing_extensions.TypedDict, total=False): +class GoogleCloudVisionV1p4beta1Word(typing.TypedDict, total=False): boundingBox: GoogleCloudVisionV1p4beta1BoundingPoly confidence: float property: GoogleCloudVisionV1p4beta1TextAnnotationTextProperty symbols: _list[GoogleCloudVisionV1p4beta1Symbol] @typing.type_check_only -class GroupedResult(typing_extensions.TypedDict, total=False): +class GroupedResult(typing.TypedDict, total=False): boundingPoly: BoundingPoly objectAnnotations: _list[ObjectAnnotation] results: _list[Result] @typing.type_check_only -class ImageAnnotationContext(typing_extensions.TypedDict, total=False): +class ImageAnnotationContext(typing.TypedDict, total=False): pageNumber: int uri: str @typing.type_check_only -class ImageProperties(typing_extensions.TypedDict, total=False): +class ImageProperties(typing.TypedDict, total=False): dominantColors: DominantColorsAnnotation @typing.type_check_only -class ImportProductSetsResponse(typing_extensions.TypedDict, total=False): +class ImportProductSetsResponse(typing.TypedDict, total=False): referenceImages: _list[ReferenceImage] statuses: _list[Status] @typing.type_check_only -class InputConfig(typing_extensions.TypedDict, total=False): +class InputConfig(typing.TypedDict, total=False): content: str gcsSource: GcsSource mimeType: str @typing.type_check_only -class KeyValue(typing_extensions.TypedDict, total=False): +class KeyValue(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class Landmark(typing_extensions.TypedDict, total=False): +class Landmark(typing.TypedDict, total=False): position: Position - type: typing_extensions.Literal[ + type: typing.Literal[ "UNKNOWN_LANDMARK", "LEFT_EYE", "RIGHT_EYE", @@ -2164,12 +1968,12 @@ class Landmark(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LatLng(typing_extensions.TypedDict, total=False): +class LatLng(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class LocalizedObjectAnnotation(typing_extensions.TypedDict, total=False): +class LocalizedObjectAnnotation(typing.TypedDict, total=False): boundingPoly: BoundingPoly languageCode: str mid: str @@ -2177,23 +1981,23 @@ class LocalizedObjectAnnotation(typing_extensions.TypedDict, total=False): score: float @typing.type_check_only -class LocationInfo(typing_extensions.TypedDict, total=False): +class LocationInfo(typing.TypedDict, total=False): latLng: LatLng @typing.type_check_only -class NormalizedVertex(typing_extensions.TypedDict, total=False): +class NormalizedVertex(typing.TypedDict, total=False): x: float y: float @typing.type_check_only -class ObjectAnnotation(typing_extensions.TypedDict, total=False): +class ObjectAnnotation(typing.TypedDict, total=False): languageCode: str mid: str name: str score: float @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -2201,20 +2005,20 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATED", "RUNNING", "DONE", "CANCELLED" ] updateTime: str @typing.type_check_only -class OutputConfig(typing_extensions.TypedDict, total=False): +class OutputConfig(typing.TypedDict, total=False): batchSize: int gcsDestination: GcsDestination @typing.type_check_only -class Page(typing_extensions.TypedDict, total=False): +class Page(typing.TypedDict, total=False): blocks: _list[Block] confidence: float height: int @@ -2222,20 +2026,20 @@ class Page(typing_extensions.TypedDict, total=False): width: int @typing.type_check_only -class Paragraph(typing_extensions.TypedDict, total=False): +class Paragraph(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty words: _list[Word] @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): x: float y: float z: float @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): description: str displayName: str name: str @@ -2243,77 +2047,77 @@ class Product(typing_extensions.TypedDict, total=False): productLabels: _list[KeyValue] @typing.type_check_only -class ProductSearchResults(typing_extensions.TypedDict, total=False): +class ProductSearchResults(typing.TypedDict, total=False): indexTime: str productGroupedResults: _list[GroupedResult] results: _list[Result] @typing.type_check_only -class Property(typing_extensions.TypedDict, total=False): +class Property(typing.TypedDict, total=False): name: str uint64Value: str value: str @typing.type_check_only -class ReferenceImage(typing_extensions.TypedDict, total=False): +class ReferenceImage(typing.TypedDict, total=False): boundingPolys: _list[BoundingPoly] name: str uri: str @typing.type_check_only -class Result(typing_extensions.TypedDict, total=False): +class Result(typing.TypedDict, total=False): image: str product: Product score: float @typing.type_check_only -class SafeSearchAnnotation(typing_extensions.TypedDict, total=False): - adult: typing_extensions.Literal[ +class SafeSearchAnnotation(typing.TypedDict, total=False): + adult: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - medical: typing_extensions.Literal[ + medical: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - racy: typing_extensions.Literal[ + racy: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - spoof: typing_extensions.Literal[ + spoof: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] - violence: typing_extensions.Literal[ + violence: typing.Literal[ "UNKNOWN", "VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY" ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Symbol(typing_extensions.TypedDict, total=False): +class Symbol(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty text: str @typing.type_check_only -class TextAnnotation(typing_extensions.TypedDict, total=False): +class TextAnnotation(typing.TypedDict, total=False): pages: _list[Page] text: str @typing.type_check_only -class TextProperty(typing_extensions.TypedDict, total=False): +class TextProperty(typing.TypedDict, total=False): detectedBreak: DetectedBreak detectedLanguages: _list[DetectedLanguage] @typing.type_check_only -class Vertex(typing_extensions.TypedDict, total=False): +class Vertex(typing.TypedDict, total=False): x: int y: int @typing.type_check_only -class WebDetection(typing_extensions.TypedDict, total=False): +class WebDetection(typing.TypedDict, total=False): bestGuessLabels: _list[WebLabel] fullMatchingImages: _list[WebImage] pagesWithMatchingImages: _list[WebPage] @@ -2322,23 +2126,23 @@ class WebDetection(typing_extensions.TypedDict, total=False): webEntities: _list[WebEntity] @typing.type_check_only -class WebEntity(typing_extensions.TypedDict, total=False): +class WebEntity(typing.TypedDict, total=False): description: str entityId: str score: float @typing.type_check_only -class WebImage(typing_extensions.TypedDict, total=False): +class WebImage(typing.TypedDict, total=False): score: float url: str @typing.type_check_only -class WebLabel(typing_extensions.TypedDict, total=False): +class WebLabel(typing.TypedDict, total=False): label: str languageCode: str @typing.type_check_only -class WebPage(typing_extensions.TypedDict, total=False): +class WebPage(typing.TypedDict, total=False): fullMatchingImages: _list[WebImage] pageTitle: str partialMatchingImages: _list[WebImage] @@ -2346,7 +2150,7 @@ class WebPage(typing_extensions.TypedDict, total=False): url: str @typing.type_check_only -class Word(typing_extensions.TypedDict, total=False): +class Word(typing.TypedDict, total=False): boundingBox: BoundingPoly confidence: float property: TextProperty diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi index 834c2effc..21a0ece47 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -403,7 +402,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "MIGRATING_VM_VIEW_UNSPECIFIED", "MIGRATING_VM_VIEW_BASIC", "MIGRATING_VM_VIEW_FULL", @@ -419,7 +418,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "MIGRATING_VM_VIEW_UNSPECIFIED", "MIGRATING_VM_VIEW_BASIC", "MIGRATING_VM_VIEW_FULL", @@ -488,7 +487,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "UTILIZATION_REPORT_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -502,7 +501,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "UTILIZATION_REPORT_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -551,7 +550,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): forceRefresh: bool | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "STORAGE_TYPE_UNSPECIFIED", "DISKS", "SNAPSHOTS" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi index 6a8e11d0d..f1ecb9cd7 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi @@ -1,57 +1,55 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessKeyCredentials(typing_extensions.TypedDict, total=False): +class AccessKeyCredentials(typing.TypedDict, total=False): accessKeyId: str secretAccessKey: str sessionToken: str @typing.type_check_only -class AdaptationModifier(typing_extensions.TypedDict, total=False): +class AdaptationModifier(typing.TypedDict, total=False): modifier: str value: str @typing.type_check_only -class AdaptingOSStep(typing_extensions.TypedDict, total=False): ... +class AdaptingOSStep(typing.TypedDict, total=False): ... @typing.type_check_only -class AddGroupMigrationRequest(typing_extensions.TypedDict, total=False): +class AddGroupMigrationRequest(typing.TypedDict, total=False): migratingVm: str @typing.type_check_only -class ApplianceVersion(typing_extensions.TypedDict, total=False): +class ApplianceVersion(typing.TypedDict, total=False): critical: bool releaseNotesUri: str uri: str version: str @typing.type_check_only -class AppliedLicense(typing_extensions.TypedDict, total=False): +class AppliedLicense(typing.TypedDict, total=False): osLicense: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NONE", "PAYG", "BYOL"] + type: typing.Literal["TYPE_UNSPECIFIED", "NONE", "PAYG", "BYOL"] @typing.type_check_only -class AvailableUpdates(typing_extensions.TypedDict, total=False): +class AvailableUpdates(typing.TypedDict, total=False): inPlaceUpdate: ApplianceVersion newDeployableAppliance: ApplianceVersion @typing.type_check_only -class AwsDiskDetails(typing_extensions.TypedDict, total=False): +class AwsDiskDetails(typing.TypedDict, total=False): diskNumber: int sizeGb: str volumeId: str @typing.type_check_only -class AwsSecurityGroup(typing_extensions.TypedDict, total=False): +class AwsSecurityGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AwsSourceDetails(typing_extensions.TypedDict, total=False): +class AwsSourceDetails(typing.TypedDict, total=False): accessKeyCreds: AccessKeyCredentials awsRegion: str error: Status @@ -59,11 +57,11 @@ class AwsSourceDetails(typing_extensions.TypedDict, total=False): inventoryTagList: _list[Tag] migrationResourcesUserTags: dict[str, typing.Any] publicIp: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] @typing.type_check_only -class AwsSourceDiskDetails(typing_extensions.TypedDict, total=False): - diskType: typing_extensions.Literal[ +class AwsSourceDiskDetails(typing.TypedDict, total=False): + diskType: typing.Literal[ "TYPE_UNSPECIFIED", "GP2", "GP3", "IO1", "IO2", "ST1", "SC1", "STANDARD" ] sizeGib: str @@ -71,23 +69,23 @@ class AwsSourceDiskDetails(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class AwsSourceVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AwsSourceVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] committedStorageBytes: str disks: _list[AwsDiskDetails] - firmware: typing_extensions.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] + firmware: typing.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] vmCapabilitiesInfo: VmCapabilities @typing.type_check_only -class AwsVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AwsVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "I386", "X86_64", "ARM64", "X86_64_MAC" ] - bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] + bootOption: typing.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] committedStorageMb: str cpuCount: int diskCount: int @@ -95,7 +93,7 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): instanceType: str memoryMb: int osDescription: str - powerState: typing_extensions.Literal[ + powerState: typing.Literal[ "POWER_STATE_UNSPECIFIED", "ON", "OFF", "SUSPENDED", "PENDING" ] securityGroups: _list[AwsSecurityGroup] @@ -103,7 +101,7 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): sourceId: str tags: dict[str, typing.Any] vcpuCount: int - virtualizationType: typing_extensions.Literal[ + virtualizationType: typing.Literal[ "VM_VIRTUALIZATION_TYPE_UNSPECIFIED", "HVM", "PARAVIRTUAL" ] vmId: str @@ -111,45 +109,45 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class AwsVmsDetails(typing_extensions.TypedDict, total=False): +class AwsVmsDetails(typing.TypedDict, total=False): details: _list[AwsVmDetails] @typing.type_check_only -class AzureDiskDetails(typing_extensions.TypedDict, total=False): +class AzureDiskDetails(typing.TypedDict, total=False): diskId: str diskNumber: int sizeGb: str @typing.type_check_only -class AzureSourceDetails(typing_extensions.TypedDict, total=False): +class AzureSourceDetails(typing.TypedDict, total=False): azureLocation: str clientSecretCreds: ClientSecretCredentials error: Status migrationResourcesUserTags: dict[str, typing.Any] resourceGroupId: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] subscriptionId: str @typing.type_check_only -class AzureSourceVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AzureSourceVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] committedStorageBytes: str disks: _list[AzureDiskDetails] - firmware: typing_extensions.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] + firmware: typing.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] vmCapabilitiesInfo: VmCapabilities @typing.type_check_only -class AzureVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AzureVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] - bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] + bootOption: typing.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] committedStorageMb: str computerName: str cpuCount: int @@ -158,7 +156,7 @@ class AzureVmDetails(typing_extensions.TypedDict, total=False): memoryMb: int osDescription: OSDescription osDisk: OSDisk - powerState: typing_extensions.Literal[ + powerState: typing.Literal[ "POWER_STATE_UNSPECIFIED", "STARTING", "RUNNING", @@ -173,14 +171,14 @@ class AzureVmDetails(typing_extensions.TypedDict, total=False): vmSize: str @typing.type_check_only -class AzureVmsDetails(typing_extensions.TypedDict, total=False): +class AzureVmsDetails(typing.TypedDict, total=False): details: _list[AzureVmDetails] @typing.type_check_only -class BootDiskDefaults(typing_extensions.TypedDict, total=False): +class BootDiskDefaults(typing.TypedDict, total=False): deviceName: str diskName: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -192,35 +190,35 @@ class BootDiskDefaults(typing_extensions.TypedDict, total=False): image: DiskImageDefaults @typing.type_check_only -class CancelCloneJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelCloneJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelCutoverJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelCutoverJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelDiskMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelImageImportJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelImageImportJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientSecretCredentials(typing_extensions.TypedDict, total=False): +class ClientSecretCredentials(typing.TypedDict, total=False): clientId: str clientSecret: str tenantId: str @typing.type_check_only -class CloneJob(typing_extensions.TypedDict, total=False): +class CloneJob(typing.TypedDict, total=False): computeEngineDisksTargetDetails: ComputeEngineDisksTargetDetails computeEngineTargetDetails: ComputeEngineTargetDetails createTime: str endTime: str error: Status name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "ACTIVE", @@ -234,7 +232,7 @@ class CloneJob(typing_extensions.TypedDict, total=False): steps: _list[CloneStep] @typing.type_check_only -class CloneStep(typing_extensions.TypedDict, total=False): +class CloneStep(typing.TypedDict, total=False): adaptingOs: AdaptingOSStep endTime: str instantiatingMigratedVm: InstantiatingMigratedVMStep @@ -242,9 +240,9 @@ class CloneStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ComputeEngineDisk(typing_extensions.TypedDict, total=False): +class ComputeEngineDisk(typing.TypedDict, total=False): diskId: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -256,7 +254,7 @@ class ComputeEngineDisk(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ComputeEngineDisksTargetDefaults(typing_extensions.TypedDict, total=False): +class ComputeEngineDisksTargetDefaults(typing.TypedDict, total=False): disks: _list[PersistentDiskDefaults] disksTargetDefaults: DisksMigrationDisksTargetDefaults targetProject: str @@ -264,27 +262,25 @@ class ComputeEngineDisksTargetDefaults(typing_extensions.TypedDict, total=False) zone: str @typing.type_check_only -class ComputeEngineDisksTargetDetails(typing_extensions.TypedDict, total=False): +class ComputeEngineDisksTargetDetails(typing.TypedDict, total=False): disks: _list[PersistentDisk] disksTargetDetails: DisksMigrationDisksTargetDetails vmTargetDetails: DisksMigrationVmTargetDetails @typing.type_check_only -class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): +class ComputeEngineTargetDefaults(typing.TypedDict, total=False): adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense - bootConversion: typing_extensions.Literal[ - "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" - ] - bootOption: typing_extensions.Literal[ + bootConversion: typing.Literal["BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI"] + bootOption: typing.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling diskReplicaZones: _list[str] - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -298,7 +294,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): encryption: Encryption hostname: str labels: dict[str, typing.Any] - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", "COMPUTE_ENGINE_LICENSE_TYPE_PAYG", "COMPUTE_ENGINE_LICENSE_TYPE_BYOL", @@ -316,21 +312,19 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): +class ComputeEngineTargetDetails(typing.TypedDict, total=False): adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense - bootConversion: typing_extensions.Literal[ - "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" - ] - bootOption: typing_extensions.Literal[ + bootConversion: typing.Literal["BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI"] + bootOption: typing.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling diskReplicaZones: _list[str] - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -343,7 +337,7 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): encryption: Encryption hostname: str labels: dict[str, typing.Any] - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", "COMPUTE_ENGINE_LICENSE_TYPE_PAYG", "COMPUTE_ENGINE_LICENSE_TYPE_BYOL", @@ -361,31 +355,31 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ComputeScheduling(typing_extensions.TypedDict, total=False): +class ComputeScheduling(typing.TypedDict, total=False): minNodeCpus: int nodeAffinities: _list[SchedulingNodeAffinity] - onHostMaintenance: typing_extensions.Literal[ + onHostMaintenance: typing.Literal[ "ON_HOST_MAINTENANCE_UNSPECIFIED", "TERMINATE", "MIGRATE" ] - restartType: typing_extensions.Literal[ + restartType: typing.Literal[ "RESTART_TYPE_UNSPECIFIED", "AUTOMATIC_RESTART", "NO_AUTOMATIC_RESTART" ] @typing.type_check_only -class CopyingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... +class CopyingSourceDiskSnapshotStep(typing.TypedDict, total=False): ... @typing.type_check_only -class CreatingImageStep(typing_extensions.TypedDict, total=False): ... +class CreatingImageStep(typing.TypedDict, total=False): ... @typing.type_check_only -class CreatingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... +class CreatingSourceDiskSnapshotStep(typing.TypedDict, total=False): ... @typing.type_check_only -class CutoverForecast(typing_extensions.TypedDict, total=False): +class CutoverForecast(typing.TypedDict, total=False): estimatedCutoverJobDuration: str @typing.type_check_only -class CutoverJob(typing_extensions.TypedDict, total=False): +class CutoverJob(typing.TypedDict, total=False): computeEngineDisksTargetDetails: ComputeEngineDisksTargetDetails computeEngineTargetDetails: ComputeEngineTargetDetails createTime: str @@ -393,7 +387,7 @@ class CutoverJob(typing_extensions.TypedDict, total=False): error: Status name: str progressPercent: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "FAILED", @@ -408,7 +402,7 @@ class CutoverJob(typing_extensions.TypedDict, total=False): steps: _list[CutoverStep] @typing.type_check_only -class CutoverStep(typing_extensions.TypedDict, total=False): +class CutoverStep(typing.TypedDict, total=False): endTime: str finalSync: ReplicationCycle instantiatingMigratedVm: InstantiatingMigratedVMStep @@ -418,7 +412,7 @@ class CutoverStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class CycleStep(typing_extensions.TypedDict, total=False): +class CycleStep(typing.TypedDict, total=False): endTime: str initializingReplication: InitializingReplicationStep postProcessing: PostProcessingStep @@ -426,11 +420,11 @@ class CycleStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DataDiskImageImport(typing_extensions.TypedDict, total=False): +class DataDiskImageImport(typing.TypedDict, total=False): guestOsFeatures: _list[str] @typing.type_check_only -class DatacenterConnector(typing_extensions.TypedDict, total=False): +class DatacenterConnector(typing.TypedDict, total=False): applianceInfrastructureVersion: str applianceSoftwareVersion: str availableVersions: AvailableUpdates @@ -440,26 +434,24 @@ class DatacenterConnector(typing_extensions.TypedDict, total=False): name: str registrationId: str serviceAccount: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "OFFLINE", "FAILED", "ACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "OFFLINE", "FAILED", "ACTIVE"] stateTime: str updateTime: str upgradeStatus: UpgradeStatus version: str @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): lun: int name: str sizeGb: int @typing.type_check_only -class DiskImageDefaults(typing_extensions.TypedDict, total=False): +class DiskImageDefaults(typing.TypedDict, total=False): sourceImage: str @typing.type_check_only -class DiskImageTargetDetails(typing_extensions.TypedDict, total=False): +class DiskImageTargetDetails(typing.TypedDict, total=False): additionalLicenses: _list[str] dataDiskImageImport: DataDiskImageImport description: str @@ -472,12 +464,12 @@ class DiskImageTargetDetails(typing_extensions.TypedDict, total=False): targetProject: str @typing.type_check_only -class DiskMigrationJob(typing_extensions.TypedDict, total=False): +class DiskMigrationJob(typing.TypedDict, total=False): awsSourceDiskDetails: AwsSourceDiskDetails createTime: str errors: _list[Status] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "RUNNING", @@ -491,14 +483,14 @@ class DiskMigrationJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DiskMigrationJobTargetDetails(typing_extensions.TypedDict, total=False): +class DiskMigrationJobTargetDetails(typing.TypedDict, total=False): encryption: Encryption labels: dict[str, typing.Any] targetDisk: ComputeEngineDisk targetProject: str @typing.type_check_only -class DiskMigrationStep(typing_extensions.TypedDict, total=False): +class DiskMigrationStep(typing.TypedDict, total=False): copyingSourceDiskSnapshot: CopyingSourceDiskSnapshotStep creatingSourceDiskSnapshot: CreatingSourceDiskSnapshotStep endTime: str @@ -506,13 +498,13 @@ class DiskMigrationStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DisksMigrationDisksTargetDefaults(typing_extensions.TypedDict, total=False): ... +class DisksMigrationDisksTargetDefaults(typing.TypedDict, total=False): ... @typing.type_check_only -class DisksMigrationDisksTargetDetails(typing_extensions.TypedDict, total=False): ... +class DisksMigrationDisksTargetDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class DisksMigrationVmTargetDefaults(typing_extensions.TypedDict, total=False): +class DisksMigrationVmTargetDefaults(typing.TypedDict, total=False): additionalLicenses: _list[str] bootDiskDefaults: BootDiskDefaults computeScheduling: ComputeScheduling @@ -531,27 +523,27 @@ class DisksMigrationVmTargetDefaults(typing_extensions.TypedDict, total=False): vmName: str @typing.type_check_only -class DisksMigrationVmTargetDetails(typing_extensions.TypedDict, total=False): +class DisksMigrationVmTargetDetails(typing.TypedDict, total=False): vmUri: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Encryption(typing_extensions.TypedDict, total=False): +class Encryption(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class Expiration(typing_extensions.TypedDict, total=False): +class Expiration(typing.TypedDict, total=False): expireTime: str extendable: bool extensionCount: int @typing.type_check_only -class ExtendMigrationRequest(typing_extensions.TypedDict, total=False): ... +class ExtendMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchInventoryResponse(typing_extensions.TypedDict, total=False): +class FetchInventoryResponse(typing.TypedDict, total=False): awsVms: AwsVmsDetails azureVms: AzureVmsDetails nextPageToken: str @@ -559,20 +551,20 @@ class FetchInventoryResponse(typing_extensions.TypedDict, total=False): vmwareVms: VmwareVmsDetails @typing.type_check_only -class FetchStorageInventoryResponse(typing_extensions.TypedDict, total=False): +class FetchStorageInventoryResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[SourceStorageResource] updateTime: str @typing.type_check_only -class FinalizeMigrationRequest(typing_extensions.TypedDict, total=False): ... +class FinalizeMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): createTime: str description: str displayName: str - migrationTargetType: typing_extensions.Literal[ + migrationTargetType: typing.Literal[ "MIGRATION_TARGET_TYPE_UNSPECIFIED", "MIGRATION_TARGET_TYPE_GCE", "MIGRATION_TARGET_TYPE_DISKS", @@ -581,7 +573,7 @@ class Group(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ImageImport(typing_extensions.TypedDict, total=False): +class ImageImport(typing.TypedDict, total=False): cloudStorageUri: str createTime: str diskImageTargetDefaults: DiskImageTargetDetails @@ -591,7 +583,7 @@ class ImageImport(typing_extensions.TypedDict, total=False): recentImageImportJobs: _list[ImageImportJob] @typing.type_check_only -class ImageImportJob(typing_extensions.TypedDict, total=False): +class ImageImportJob(typing.TypedDict, total=False): cloudStorageUri: str createTime: str createdResources: _list[str] @@ -600,7 +592,7 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): errors: _list[Status] machineImageTargetDetails: MachineImageTargetDetails name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -613,20 +605,18 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): warnings: _list[MigrationWarning] @typing.type_check_only -class ImageImportOsAdaptationParameters(typing_extensions.TypedDict, total=False): +class ImageImportOsAdaptationParameters(typing.TypedDict, total=False): adaptationModifiers: _list[AdaptationModifier] - bootConversion: typing_extensions.Literal[ - "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" - ] + bootConversion: typing.Literal["BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI"] generalize: bool - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", "COMPUTE_ENGINE_LICENSE_TYPE_PAYG", "COMPUTE_ENGINE_LICENSE_TYPE_BYOL", ] @typing.type_check_only -class ImageImportStep(typing_extensions.TypedDict, total=False): +class ImageImportStep(typing.TypedDict, total=False): adaptingOs: AdaptingOSStep creatingImage: CreatingImageStep endTime: str @@ -635,112 +625,112 @@ class ImageImportStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class InitializingImageImportStep(typing_extensions.TypedDict, total=False): ... +class InitializingImageImportStep(typing.TypedDict, total=False): ... @typing.type_check_only -class InitializingReplicationStep(typing_extensions.TypedDict, total=False): ... +class InitializingReplicationStep(typing.TypedDict, total=False): ... @typing.type_check_only -class InstantiatingMigratedVMStep(typing_extensions.TypedDict, total=False): ... +class InstantiatingMigratedVMStep(typing.TypedDict, total=False): ... @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ListCloneJobsResponse(typing_extensions.TypedDict, total=False): +class ListCloneJobsResponse(typing.TypedDict, total=False): cloneJobs: _list[CloneJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCutoverJobsResponse(typing_extensions.TypedDict, total=False): +class ListCutoverJobsResponse(typing.TypedDict, total=False): cutoverJobs: _list[CutoverJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDatacenterConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListDatacenterConnectorsResponse(typing.TypedDict, total=False): datacenterConnectors: _list[DatacenterConnector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiskMigrationJobsResponse(typing_extensions.TypedDict, total=False): +class ListDiskMigrationJobsResponse(typing.TypedDict, total=False): diskMigrationJobs: _list[DiskMigrationJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImageImportJobsResponse(typing_extensions.TypedDict, total=False): +class ListImageImportJobsResponse(typing.TypedDict, total=False): imageImportJobs: _list[ImageImportJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImageImportsResponse(typing_extensions.TypedDict, total=False): +class ListImageImportsResponse(typing.TypedDict, total=False): imageImports: _list[ImageImport] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMigratingVmsResponse(typing_extensions.TypedDict, total=False): +class ListMigratingVmsResponse(typing.TypedDict, total=False): migratingVms: _list[MigratingVm] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListReplicationCyclesResponse(typing_extensions.TypedDict, total=False): +class ListReplicationCyclesResponse(typing.TypedDict, total=False): nextPageToken: str replicationCycles: _list[ReplicationCycle] unreachable: _list[str] @typing.type_check_only -class ListSourcesResponse(typing_extensions.TypedDict, total=False): +class ListSourcesResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[Source] unreachable: _list[str] @typing.type_check_only -class ListTargetProjectsResponse(typing_extensions.TypedDict, total=False): +class ListTargetProjectsResponse(typing.TypedDict, total=False): nextPageToken: str targetProjects: _list[TargetProject] unreachable: _list[str] @typing.type_check_only -class ListUtilizationReportsResponse(typing_extensions.TypedDict, total=False): +class ListUtilizationReportsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] utilizationReports: _list[UtilizationReport] @typing.type_check_only -class LoadingImageSourceFilesStep(typing_extensions.TypedDict, total=False): ... +class LoadingImageSourceFilesStep(typing.TypedDict, total=False): ... @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -748,11 +738,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MachineImageParametersOverrides(typing_extensions.TypedDict, total=False): +class MachineImageParametersOverrides(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class MachineImageTargetDetails(typing_extensions.TypedDict, total=False): +class MachineImageTargetDetails(typing.TypedDict, total=False): additionalLicenses: _list[str] description: str encryption: Encryption @@ -769,7 +759,7 @@ class MachineImageTargetDetails(typing_extensions.TypedDict, total=False): targetProject: str @typing.type_check_only -class MigratingVm(typing_extensions.TypedDict, total=False): +class MigratingVm(typing.TypedDict, total=False): awsSourceVmDetails: AwsSourceVmDetails azureSourceVmDetails: AzureSourceVmDetails computeEngineDisksTargetDefaults: ComputeEngineDisksTargetDefaults @@ -790,7 +780,7 @@ class MigratingVm(typing_extensions.TypedDict, total=False): recentCloneJobs: _list[CloneJob] recentCutoverJobs: _list[CutoverJob] sourceVmId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "READY", @@ -811,9 +801,9 @@ class MigratingVm(typing_extensions.TypedDict, total=False): vmwareSourceVmDetails: VmwareSourceVmDetails @typing.type_check_only -class MigrationError(typing_extensions.TypedDict, total=False): +class MigrationError(typing.TypedDict, total=False): actionItem: LocalizedMessage - code: typing_extensions.Literal[ + code: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "UNKNOWN_ERROR", "SOURCE_VALIDATION_ERROR", @@ -832,19 +822,19 @@ class MigrationError(typing_extensions.TypedDict, total=False): helpLinks: _list[Link] @typing.type_check_only -class MigrationWarning(typing_extensions.TypedDict, total=False): +class MigrationWarning(typing.TypedDict, total=False): actionItem: LocalizedMessage - code: typing_extensions.Literal["WARNING_CODE_UNSPECIFIED", "ADAPTATION_WARNING"] + code: typing.Literal["WARNING_CODE_UNSPECIFIED", "ADAPTATION_WARNING"] helpLinks: _list[Link] warningMessage: LocalizedMessage warningTime: str @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): externalIp: str internalIp: str network: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED", "NETWORK_TIER_STANDARD", "NETWORK_TIER_PREMIUM", @@ -852,20 +842,20 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class OSDescription(typing_extensions.TypedDict, total=False): +class OSDescription(typing.TypedDict, total=False): offer: str plan: str publisher: str type: str @typing.type_check_only -class OSDisk(typing_extensions.TypedDict, total=False): +class OSDisk(typing.TypedDict, total=False): name: str sizeGb: int type: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -873,7 +863,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -883,18 +873,18 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseMigrationRequest(typing_extensions.TypedDict, total=False): ... +class PauseMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PersistentDisk(typing_extensions.TypedDict, total=False): +class PersistentDisk(typing.TypedDict, total=False): diskUri: str sourceDiskNumber: int @typing.type_check_only -class PersistentDiskDefaults(typing_extensions.TypedDict, total=False): +class PersistentDiskDefaults(typing.TypedDict, total=False): additionalLabels: dict[str, typing.Any] diskName: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -907,34 +897,34 @@ class PersistentDiskDefaults(typing_extensions.TypedDict, total=False): vmAttachmentDetails: VmAttachmentDetails @typing.type_check_only -class PostProcessingStep(typing_extensions.TypedDict, total=False): ... +class PostProcessingStep(typing.TypedDict, total=False): ... @typing.type_check_only -class PreparingVMDisksStep(typing_extensions.TypedDict, total=False): ... +class PreparingVMDisksStep(typing.TypedDict, total=False): ... @typing.type_check_only -class ProvisioningTargetDiskStep(typing_extensions.TypedDict, total=False): ... +class ProvisioningTargetDiskStep(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveGroupMigrationRequest(typing_extensions.TypedDict, total=False): +class RemoveGroupMigrationRequest(typing.TypedDict, total=False): migratingVm: str @typing.type_check_only -class ReplicatingStep(typing_extensions.TypedDict, total=False): +class ReplicatingStep(typing.TypedDict, total=False): lastThirtyMinutesAverageBytesPerSecond: str lastTwoMinutesAverageBytesPerSecond: str replicatedBytes: str totalBytes: str @typing.type_check_only -class ReplicationCycle(typing_extensions.TypedDict, total=False): +class ReplicationCycle(typing.TypedDict, total=False): cycleNumber: int endTime: str error: Status name: str progressPercent: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "FAILED", "SUCCEEDED" ] steps: _list[CycleStep] @@ -942,45 +932,45 @@ class ReplicationCycle(typing_extensions.TypedDict, total=False): warnings: _list[MigrationWarning] @typing.type_check_only -class ReplicationSync(typing_extensions.TypedDict, total=False): +class ReplicationSync(typing.TypedDict, total=False): lastSyncTime: str @typing.type_check_only -class ResumeMigrationRequest(typing_extensions.TypedDict, total=False): ... +class ResumeMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RunDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class RunDiskMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SchedulePolicy(typing_extensions.TypedDict, total=False): +class SchedulePolicy(typing.TypedDict, total=False): idleDuration: str skipOsAdaptation: bool @typing.type_check_only -class SchedulingNodeAffinity(typing_extensions.TypedDict, total=False): +class SchedulingNodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] + operator: typing.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] values: _list[str] @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableVtpm: bool - secureBoot: typing_extensions.Literal["SECURE_BOOT_UNSPECIFIED", "TRUE", "FALSE"] + secureBoot: typing.Literal["SECURE_BOOT_UNSPECIFIED", "TRUE", "FALSE"] @typing.type_check_only -class ShuttingDownSourceVMStep(typing_extensions.TypedDict, total=False): ... +class ShuttingDownSourceVMStep(typing.TypedDict, total=False): ... @typing.type_check_only -class SkipOsAdaptation(typing_extensions.TypedDict, total=False): ... +class SkipOsAdaptation(typing.TypedDict, total=False): ... @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): aws: AwsSourceDetails azure: AzureSourceDetails createTime: str @@ -992,25 +982,25 @@ class Source(typing_extensions.TypedDict, total=False): vmware: VmwareSourceDetails @typing.type_check_only -class SourceStorageResource(typing_extensions.TypedDict, total=False): +class SourceStorageResource(typing.TypedDict, total=False): awsDiskDetails: AwsSourceDiskDetails @typing.type_check_only -class StartMigrationRequest(typing_extensions.TypedDict, total=False): ... +class StartMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class TargetProject(typing_extensions.TypedDict, total=False): +class TargetProject(typing.TypedDict, total=False): createTime: str description: str name: str @@ -1018,45 +1008,39 @@ class TargetProject(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class UpgradeApplianceRequest(typing_extensions.TypedDict, total=False): +class UpgradeApplianceRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class UpgradeStatus(typing_extensions.TypedDict, total=False): +class UpgradeStatus(typing.TypedDict, total=False): error: Status previousVersion: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "FAILED", "SUCCEEDED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "FAILED", "SUCCEEDED"] version: str @typing.type_check_only -class UtilizationReport(typing_extensions.TypedDict, total=False): +class UtilizationReport(typing.TypedDict, total=False): createTime: str displayName: str error: Status frameEndTime: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "SUCCEEDED", "FAILED"] stateTime: str - timeFrame: typing_extensions.Literal[ - "TIME_FRAME_UNSPECIFIED", "WEEK", "MONTH", "YEAR" - ] + timeFrame: typing.Literal["TIME_FRAME_UNSPECIFIED", "WEEK", "MONTH", "YEAR"] vmCount: int vms: _list[VmUtilizationInfo] @typing.type_check_only -class VmAttachmentDetails(typing_extensions.TypedDict, total=False): +class VmAttachmentDetails(typing.TypedDict, total=False): deviceName: str @typing.type_check_only -class VmCapabilities(typing_extensions.TypedDict, total=False): +class VmCapabilities(typing.TypedDict, total=False): lastOsCapabilitiesUpdateTime: str osCapabilities: _list[ - typing_extensions.Literal[ + typing.Literal[ "OS_CAPABILITY_UNSPECIFIED", "OS_CAPABILITY_NVME_STORAGE_ACCESS", "OS_CAPABILITY_GVNIC_NETWORK_INTERFACE", @@ -1065,13 +1049,13 @@ class VmCapabilities(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VmUtilizationInfo(typing_extensions.TypedDict, total=False): +class VmUtilizationInfo(typing.TypedDict, total=False): utilization: VmUtilizationMetrics vmId: str vmwareVmDetails: VmwareVmDetails @typing.type_check_only -class VmUtilizationMetrics(typing_extensions.TypedDict, total=False): +class VmUtilizationMetrics(typing.TypedDict, total=False): cpuAveragePercent: int cpuMaxPercent: int diskIoRateAverageKbps: str @@ -1082,13 +1066,13 @@ class VmUtilizationMetrics(typing_extensions.TypedDict, total=False): networkThroughputMaxKbps: str @typing.type_check_only -class VmwareDiskDetails(typing_extensions.TypedDict, total=False): +class VmwareDiskDetails(typing.TypedDict, total=False): diskNumber: int label: str sizeGb: str @typing.type_check_only -class VmwareSourceDetails(typing_extensions.TypedDict, total=False): +class VmwareSourceDetails(typing.TypedDict, total=False): password: str resolvedVcenterHost: str thumbprint: str @@ -1096,25 +1080,25 @@ class VmwareSourceDetails(typing_extensions.TypedDict, total=False): vcenterIp: str @typing.type_check_only -class VmwareSourceVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class VmwareSourceVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] committedStorageBytes: str disks: _list[VmwareDiskDetails] - firmware: typing_extensions.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] + firmware: typing.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] vmCapabilitiesInfo: VmCapabilities @typing.type_check_only -class VmwareVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class VmwareVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] - bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] + bootOption: typing.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] committedStorageMb: str cpuCount: int datacenterDescription: str @@ -1123,12 +1107,10 @@ class VmwareVmDetails(typing_extensions.TypedDict, total=False): displayName: str guestDescription: str memoryMb: int - powerState: typing_extensions.Literal[ - "POWER_STATE_UNSPECIFIED", "ON", "OFF", "SUSPENDED" - ] + powerState: typing.Literal["POWER_STATE_UNSPECIFIED", "ON", "OFF", "SUSPENDED"] uuid: str vmId: str @typing.type_check_only -class VmwareVmsDetails(typing_extensions.TypedDict, total=False): +class VmwareVmsDetails(typing.TypedDict, total=False): details: _list[VmwareVmDetails] diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi index 834c2effc..21a0ece47 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -403,7 +402,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "MIGRATING_VM_VIEW_UNSPECIFIED", "MIGRATING_VM_VIEW_BASIC", "MIGRATING_VM_VIEW_FULL", @@ -419,7 +418,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "MIGRATING_VM_VIEW_UNSPECIFIED", "MIGRATING_VM_VIEW_BASIC", "MIGRATING_VM_VIEW_FULL", @@ -488,7 +487,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "UTILIZATION_REPORT_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -502,7 +501,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "UTILIZATION_REPORT_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -551,7 +550,7 @@ class VMMigrationServiceResource(googleapiclient.discovery.Resource): forceRefresh: bool | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "STORAGE_TYPE_UNSPECIFIED", "DISKS", "SNAPSHOTS" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi index 07285722b..5d03d2982 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi @@ -1,57 +1,55 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AccessKeyCredentials(typing_extensions.TypedDict, total=False): +class AccessKeyCredentials(typing.TypedDict, total=False): accessKeyId: str secretAccessKey: str sessionToken: str @typing.type_check_only -class AdaptationModifier(typing_extensions.TypedDict, total=False): +class AdaptationModifier(typing.TypedDict, total=False): modifier: str value: str @typing.type_check_only -class AdaptingOSStep(typing_extensions.TypedDict, total=False): ... +class AdaptingOSStep(typing.TypedDict, total=False): ... @typing.type_check_only -class AddGroupMigrationRequest(typing_extensions.TypedDict, total=False): +class AddGroupMigrationRequest(typing.TypedDict, total=False): migratingVm: str @typing.type_check_only -class ApplianceVersion(typing_extensions.TypedDict, total=False): +class ApplianceVersion(typing.TypedDict, total=False): critical: bool releaseNotesUri: str uri: str version: str @typing.type_check_only -class AppliedLicense(typing_extensions.TypedDict, total=False): +class AppliedLicense(typing.TypedDict, total=False): osLicense: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NONE", "PAYG", "BYOL"] + type: typing.Literal["TYPE_UNSPECIFIED", "NONE", "PAYG", "BYOL"] @typing.type_check_only -class AvailableUpdates(typing_extensions.TypedDict, total=False): +class AvailableUpdates(typing.TypedDict, total=False): inPlaceUpdate: ApplianceVersion newDeployableAppliance: ApplianceVersion @typing.type_check_only -class AwsDiskDetails(typing_extensions.TypedDict, total=False): +class AwsDiskDetails(typing.TypedDict, total=False): diskNumber: int sizeGb: str volumeId: str @typing.type_check_only -class AwsSecurityGroup(typing_extensions.TypedDict, total=False): +class AwsSecurityGroup(typing.TypedDict, total=False): id: str name: str @typing.type_check_only -class AwsSourceDetails(typing_extensions.TypedDict, total=False): +class AwsSourceDetails(typing.TypedDict, total=False): accessKeyCreds: AccessKeyCredentials awsRegion: str error: Status @@ -59,11 +57,11 @@ class AwsSourceDetails(typing_extensions.TypedDict, total=False): inventoryTagList: _list[Tag] migrationResourcesUserTags: dict[str, typing.Any] publicIp: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] @typing.type_check_only -class AwsSourceDiskDetails(typing_extensions.TypedDict, total=False): - diskType: typing_extensions.Literal[ +class AwsSourceDiskDetails(typing.TypedDict, total=False): + diskType: typing.Literal[ "TYPE_UNSPECIFIED", "GP2", "GP3", "IO1", "IO2", "ST1", "SC1", "STANDARD" ] sizeGib: str @@ -71,23 +69,23 @@ class AwsSourceDiskDetails(typing_extensions.TypedDict, total=False): volumeId: str @typing.type_check_only -class AwsSourceVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AwsSourceVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] committedStorageBytes: str disks: _list[AwsDiskDetails] - firmware: typing_extensions.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] + firmware: typing.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] vmCapabilitiesInfo: VmCapabilities @typing.type_check_only -class AwsVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AwsVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "I386", "X86_64", "ARM64", "X86_64_MAC" ] - bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] + bootOption: typing.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] committedStorageMb: str cpuCount: int diskCount: int @@ -95,7 +93,7 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): instanceType: str memoryMb: int osDescription: str - powerState: typing_extensions.Literal[ + powerState: typing.Literal[ "POWER_STATE_UNSPECIFIED", "ON", "OFF", "SUSPENDED", "PENDING" ] securityGroups: _list[AwsSecurityGroup] @@ -103,7 +101,7 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): sourceId: str tags: dict[str, typing.Any] vcpuCount: int - virtualizationType: typing_extensions.Literal[ + virtualizationType: typing.Literal[ "VM_VIRTUALIZATION_TYPE_UNSPECIFIED", "HVM", "PARAVIRTUAL" ] vmId: str @@ -111,45 +109,45 @@ class AwsVmDetails(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class AwsVmsDetails(typing_extensions.TypedDict, total=False): +class AwsVmsDetails(typing.TypedDict, total=False): details: _list[AwsVmDetails] @typing.type_check_only -class AzureDiskDetails(typing_extensions.TypedDict, total=False): +class AzureDiskDetails(typing.TypedDict, total=False): diskId: str diskNumber: int sizeGb: str @typing.type_check_only -class AzureSourceDetails(typing_extensions.TypedDict, total=False): +class AzureSourceDetails(typing.TypedDict, total=False): azureLocation: str clientSecretCreds: ClientSecretCredentials error: Status migrationResourcesUserTags: dict[str, typing.Any] resourceGroupId: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "FAILED", "ACTIVE"] subscriptionId: str @typing.type_check_only -class AzureSourceVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AzureSourceVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] committedStorageBytes: str disks: _list[AzureDiskDetails] - firmware: typing_extensions.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] + firmware: typing.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] vmCapabilitiesInfo: VmCapabilities @typing.type_check_only -class AzureVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class AzureVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] - bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] + bootOption: typing.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] committedStorageMb: str computerName: str cpuCount: int @@ -158,7 +156,7 @@ class AzureVmDetails(typing_extensions.TypedDict, total=False): memoryMb: int osDescription: OSDescription osDisk: OSDisk - powerState: typing_extensions.Literal[ + powerState: typing.Literal[ "POWER_STATE_UNSPECIFIED", "STARTING", "RUNNING", @@ -173,14 +171,14 @@ class AzureVmDetails(typing_extensions.TypedDict, total=False): vmSize: str @typing.type_check_only -class AzureVmsDetails(typing_extensions.TypedDict, total=False): +class AzureVmsDetails(typing.TypedDict, total=False): details: _list[AzureVmDetails] @typing.type_check_only -class BootDiskDefaults(typing_extensions.TypedDict, total=False): +class BootDiskDefaults(typing.TypedDict, total=False): deviceName: str diskName: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -192,28 +190,28 @@ class BootDiskDefaults(typing_extensions.TypedDict, total=False): image: DiskImageDefaults @typing.type_check_only -class CancelCloneJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelCloneJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelCutoverJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelCutoverJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelDiskMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelImageImportJobRequest(typing_extensions.TypedDict, total=False): ... +class CancelImageImportJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ClientSecretCredentials(typing_extensions.TypedDict, total=False): +class ClientSecretCredentials(typing.TypedDict, total=False): clientId: str clientSecret: str tenantId: str @typing.type_check_only -class CloneJob(typing_extensions.TypedDict, total=False): +class CloneJob(typing.TypedDict, total=False): computeEngineDisksTargetDetails: ComputeEngineDisksTargetDetails computeEngineTargetDetails: ComputeEngineTargetDetails computeEngineVmDetails: TargetVMDetails @@ -221,7 +219,7 @@ class CloneJob(typing_extensions.TypedDict, total=False): endTime: str error: Status name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "ACTIVE", @@ -236,7 +234,7 @@ class CloneJob(typing_extensions.TypedDict, total=False): targetDetails: TargetVMDetails @typing.type_check_only -class CloneStep(typing_extensions.TypedDict, total=False): +class CloneStep(typing.TypedDict, total=False): adaptingOs: AdaptingOSStep endTime: str instantiatingMigratedVm: InstantiatingMigratedVMStep @@ -244,9 +242,9 @@ class CloneStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ComputeEngineDisk(typing_extensions.TypedDict, total=False): +class ComputeEngineDisk(typing.TypedDict, total=False): diskId: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -258,7 +256,7 @@ class ComputeEngineDisk(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ComputeEngineDisksTargetDefaults(typing_extensions.TypedDict, total=False): +class ComputeEngineDisksTargetDefaults(typing.TypedDict, total=False): disks: _list[PersistentDiskDefaults] disksTargetDefaults: DisksMigrationDisksTargetDefaults targetProject: str @@ -266,27 +264,25 @@ class ComputeEngineDisksTargetDefaults(typing_extensions.TypedDict, total=False) zone: str @typing.type_check_only -class ComputeEngineDisksTargetDetails(typing_extensions.TypedDict, total=False): +class ComputeEngineDisksTargetDetails(typing.TypedDict, total=False): disks: _list[PersistentDisk] disksTargetDetails: DisksMigrationDisksTargetDetails vmTargetDetails: DisksMigrationVmTargetDetails @typing.type_check_only -class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): +class ComputeEngineTargetDefaults(typing.TypedDict, total=False): adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense - bootConversion: typing_extensions.Literal[ - "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" - ] - bootOption: typing_extensions.Literal[ + bootConversion: typing.Literal["BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI"] + bootOption: typing.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling diskReplicaZones: _list[str] - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -300,7 +296,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): encryption: Encryption hostname: str labels: dict[str, typing.Any] - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", "COMPUTE_ENGINE_LICENSE_TYPE_PAYG", "COMPUTE_ENGINE_LICENSE_TYPE_BYOL", @@ -318,21 +314,19 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): +class ComputeEngineTargetDetails(typing.TypedDict, total=False): adaptationModifiers: _list[AdaptationModifier] additionalLicenses: _list[str] appliedLicense: AppliedLicense - bootConversion: typing_extensions.Literal[ - "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" - ] - bootOption: typing_extensions.Literal[ + bootConversion: typing.Literal["BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI"] + bootOption: typing.Literal[ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", "COMPUTE_ENGINE_BOOT_OPTION_BIOS", ] computeScheduling: ComputeScheduling diskReplicaZones: _list[str] - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -345,7 +339,7 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): encryption: Encryption hostname: str labels: dict[str, typing.Any] - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", "COMPUTE_ENGINE_LICENSE_TYPE_PAYG", "COMPUTE_ENGINE_LICENSE_TYPE_BYOL", @@ -363,32 +357,32 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class ComputeScheduling(typing_extensions.TypedDict, total=False): +class ComputeScheduling(typing.TypedDict, total=False): automaticRestart: bool minNodeCpus: int nodeAffinities: _list[SchedulingNodeAffinity] - onHostMaintenance: typing_extensions.Literal[ + onHostMaintenance: typing.Literal[ "ON_HOST_MAINTENANCE_UNSPECIFIED", "TERMINATE", "MIGRATE" ] - restartType: typing_extensions.Literal[ + restartType: typing.Literal[ "RESTART_TYPE_UNSPECIFIED", "AUTOMATIC_RESTART", "NO_AUTOMATIC_RESTART" ] @typing.type_check_only -class CopyingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... +class CopyingSourceDiskSnapshotStep(typing.TypedDict, total=False): ... @typing.type_check_only -class CreatingImageStep(typing_extensions.TypedDict, total=False): ... +class CreatingImageStep(typing.TypedDict, total=False): ... @typing.type_check_only -class CreatingSourceDiskSnapshotStep(typing_extensions.TypedDict, total=False): ... +class CreatingSourceDiskSnapshotStep(typing.TypedDict, total=False): ... @typing.type_check_only -class CutoverForecast(typing_extensions.TypedDict, total=False): +class CutoverForecast(typing.TypedDict, total=False): estimatedCutoverJobDuration: str @typing.type_check_only -class CutoverJob(typing_extensions.TypedDict, total=False): +class CutoverJob(typing.TypedDict, total=False): computeEngineDisksTargetDetails: ComputeEngineDisksTargetDetails computeEngineTargetDetails: ComputeEngineTargetDetails computeEngineVmDetails: TargetVMDetails @@ -398,7 +392,7 @@ class CutoverJob(typing_extensions.TypedDict, total=False): name: str progress: int progressPercent: int - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "FAILED", @@ -414,7 +408,7 @@ class CutoverJob(typing_extensions.TypedDict, total=False): targetDetails: TargetVMDetails @typing.type_check_only -class CutoverStep(typing_extensions.TypedDict, total=False): +class CutoverStep(typing.TypedDict, total=False): endTime: str finalSync: ReplicationCycle instantiatingMigratedVm: InstantiatingMigratedVMStep @@ -424,7 +418,7 @@ class CutoverStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class CycleStep(typing_extensions.TypedDict, total=False): +class CycleStep(typing.TypedDict, total=False): endTime: str initializingReplication: InitializingReplicationStep postProcessing: PostProcessingStep @@ -432,11 +426,11 @@ class CycleStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DataDiskImageImport(typing_extensions.TypedDict, total=False): +class DataDiskImageImport(typing.TypedDict, total=False): guestOsFeatures: _list[str] @typing.type_check_only -class DatacenterConnector(typing_extensions.TypedDict, total=False): +class DatacenterConnector(typing.TypedDict, total=False): applianceInfrastructureVersion: str applianceSoftwareVersion: str availableVersions: AvailableUpdates @@ -446,26 +440,24 @@ class DatacenterConnector(typing_extensions.TypedDict, total=False): name: str registrationId: str serviceAccount: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "PENDING", "OFFLINE", "FAILED", "ACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "PENDING", "OFFLINE", "FAILED", "ACTIVE"] stateTime: str updateTime: str upgradeStatus: UpgradeStatus version: str @typing.type_check_only -class Disk(typing_extensions.TypedDict, total=False): +class Disk(typing.TypedDict, total=False): lun: int name: str sizeGb: int @typing.type_check_only -class DiskImageDefaults(typing_extensions.TypedDict, total=False): +class DiskImageDefaults(typing.TypedDict, total=False): sourceImage: str @typing.type_check_only -class DiskImageTargetDetails(typing_extensions.TypedDict, total=False): +class DiskImageTargetDetails(typing.TypedDict, total=False): additionalLicenses: _list[str] dataDiskImageImport: DataDiskImageImport description: str @@ -478,12 +470,12 @@ class DiskImageTargetDetails(typing_extensions.TypedDict, total=False): targetProject: str @typing.type_check_only -class DiskMigrationJob(typing_extensions.TypedDict, total=False): +class DiskMigrationJob(typing.TypedDict, total=False): awsSourceDiskDetails: AwsSourceDiskDetails createTime: str errors: _list[Status] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "RUNNING", @@ -497,14 +489,14 @@ class DiskMigrationJob(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class DiskMigrationJobTargetDetails(typing_extensions.TypedDict, total=False): +class DiskMigrationJobTargetDetails(typing.TypedDict, total=False): encryption: Encryption labels: dict[str, typing.Any] targetDisk: ComputeEngineDisk targetProject: str @typing.type_check_only -class DiskMigrationStep(typing_extensions.TypedDict, total=False): +class DiskMigrationStep(typing.TypedDict, total=False): copyingSourceDiskSnapshot: CopyingSourceDiskSnapshotStep creatingSourceDiskSnapshot: CreatingSourceDiskSnapshotStep endTime: str @@ -512,13 +504,13 @@ class DiskMigrationStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DisksMigrationDisksTargetDefaults(typing_extensions.TypedDict, total=False): ... +class DisksMigrationDisksTargetDefaults(typing.TypedDict, total=False): ... @typing.type_check_only -class DisksMigrationDisksTargetDetails(typing_extensions.TypedDict, total=False): ... +class DisksMigrationDisksTargetDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class DisksMigrationVmTargetDefaults(typing_extensions.TypedDict, total=False): +class DisksMigrationVmTargetDefaults(typing.TypedDict, total=False): additionalLicenses: _list[str] bootDiskDefaults: BootDiskDefaults computeScheduling: ComputeScheduling @@ -537,27 +529,27 @@ class DisksMigrationVmTargetDefaults(typing_extensions.TypedDict, total=False): vmName: str @typing.type_check_only -class DisksMigrationVmTargetDetails(typing_extensions.TypedDict, total=False): +class DisksMigrationVmTargetDetails(typing.TypedDict, total=False): vmUri: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Encryption(typing_extensions.TypedDict, total=False): +class Encryption(typing.TypedDict, total=False): kmsKey: str @typing.type_check_only -class Expiration(typing_extensions.TypedDict, total=False): +class Expiration(typing.TypedDict, total=False): expireTime: str extendable: bool extensionCount: int @typing.type_check_only -class ExtendMigrationRequest(typing_extensions.TypedDict, total=False): ... +class ExtendMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class FetchInventoryResponse(typing_extensions.TypedDict, total=False): +class FetchInventoryResponse(typing.TypedDict, total=False): awsVms: AwsVmsDetails azureVms: AzureVmsDetails nextPageToken: str @@ -565,20 +557,20 @@ class FetchInventoryResponse(typing_extensions.TypedDict, total=False): vmwareVms: VmwareVmsDetails @typing.type_check_only -class FetchStorageInventoryResponse(typing_extensions.TypedDict, total=False): +class FetchStorageInventoryResponse(typing.TypedDict, total=False): nextPageToken: str resources: _list[SourceStorageResource] updateTime: str @typing.type_check_only -class FinalizeMigrationRequest(typing_extensions.TypedDict, total=False): ... +class FinalizeMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): createTime: str description: str displayName: str - migrationTargetType: typing_extensions.Literal[ + migrationTargetType: typing.Literal[ "MIGRATION_TARGET_TYPE_UNSPECIFIED", "MIGRATION_TARGET_TYPE_GCE", "MIGRATION_TARGET_TYPE_DISKS", @@ -587,7 +579,7 @@ class Group(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class ImageImport(typing_extensions.TypedDict, total=False): +class ImageImport(typing.TypedDict, total=False): cloudStorageUri: str createTime: str diskImageTargetDefaults: DiskImageTargetDetails @@ -597,7 +589,7 @@ class ImageImport(typing_extensions.TypedDict, total=False): recentImageImportJobs: _list[ImageImportJob] @typing.type_check_only -class ImageImportJob(typing_extensions.TypedDict, total=False): +class ImageImportJob(typing.TypedDict, total=False): cloudStorageUri: str createTime: str createdResources: _list[str] @@ -606,7 +598,7 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): errors: _list[Status] machineImageTargetDetails: MachineImageTargetDetails name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "RUNNING", @@ -619,20 +611,18 @@ class ImageImportJob(typing_extensions.TypedDict, total=False): warnings: _list[MigrationWarning] @typing.type_check_only -class ImageImportOsAdaptationParameters(typing_extensions.TypedDict, total=False): +class ImageImportOsAdaptationParameters(typing.TypedDict, total=False): adaptationModifiers: _list[AdaptationModifier] - bootConversion: typing_extensions.Literal[ - "BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI" - ] + bootConversion: typing.Literal["BOOT_CONVERSION_UNSPECIFIED", "NONE", "BIOS_TO_EFI"] generalize: bool - licenseType: typing_extensions.Literal[ + licenseType: typing.Literal[ "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", "COMPUTE_ENGINE_LICENSE_TYPE_PAYG", "COMPUTE_ENGINE_LICENSE_TYPE_BYOL", ] @typing.type_check_only -class ImageImportStep(typing_extensions.TypedDict, total=False): +class ImageImportStep(typing.TypedDict, total=False): adaptingOs: AdaptingOSStep creatingImage: CreatingImageStep endTime: str @@ -641,112 +631,112 @@ class ImageImportStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class InitializingImageImportStep(typing_extensions.TypedDict, total=False): ... +class InitializingImageImportStep(typing.TypedDict, total=False): ... @typing.type_check_only -class InitializingReplicationStep(typing_extensions.TypedDict, total=False): ... +class InitializingReplicationStep(typing.TypedDict, total=False): ... @typing.type_check_only -class InstantiatingMigratedVMStep(typing_extensions.TypedDict, total=False): ... +class InstantiatingMigratedVMStep(typing.TypedDict, total=False): ... @typing.type_check_only -class Link(typing_extensions.TypedDict, total=False): +class Link(typing.TypedDict, total=False): description: str url: str @typing.type_check_only -class ListCloneJobsResponse(typing_extensions.TypedDict, total=False): +class ListCloneJobsResponse(typing.TypedDict, total=False): cloneJobs: _list[CloneJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListCutoverJobsResponse(typing_extensions.TypedDict, total=False): +class ListCutoverJobsResponse(typing.TypedDict, total=False): cutoverJobs: _list[CutoverJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDatacenterConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListDatacenterConnectorsResponse(typing.TypedDict, total=False): datacenterConnectors: _list[DatacenterConnector] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiskMigrationJobsResponse(typing_extensions.TypedDict, total=False): +class ListDiskMigrationJobsResponse(typing.TypedDict, total=False): diskMigrationJobs: _list[DiskMigrationJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): groups: _list[Group] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImageImportJobsResponse(typing_extensions.TypedDict, total=False): +class ListImageImportJobsResponse(typing.TypedDict, total=False): imageImportJobs: _list[ImageImportJob] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListImageImportsResponse(typing_extensions.TypedDict, total=False): +class ListImageImportsResponse(typing.TypedDict, total=False): imageImports: _list[ImageImport] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListMigratingVmsResponse(typing_extensions.TypedDict, total=False): +class ListMigratingVmsResponse(typing.TypedDict, total=False): migratingVms: _list[MigratingVm] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListReplicationCyclesResponse(typing_extensions.TypedDict, total=False): +class ListReplicationCyclesResponse(typing.TypedDict, total=False): nextPageToken: str replicationCycles: _list[ReplicationCycle] unreachable: _list[str] @typing.type_check_only -class ListSourcesResponse(typing_extensions.TypedDict, total=False): +class ListSourcesResponse(typing.TypedDict, total=False): nextPageToken: str sources: _list[Source] unreachable: _list[str] @typing.type_check_only -class ListTargetProjectsResponse(typing_extensions.TypedDict, total=False): +class ListTargetProjectsResponse(typing.TypedDict, total=False): nextPageToken: str targetProjects: _list[TargetProject] unreachable: _list[str] @typing.type_check_only -class ListUtilizationReportsResponse(typing_extensions.TypedDict, total=False): +class ListUtilizationReportsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] utilizationReports: _list[UtilizationReport] @typing.type_check_only -class LoadingImageSourceFilesStep(typing_extensions.TypedDict, total=False): ... +class LoadingImageSourceFilesStep(typing.TypedDict, total=False): ... @typing.type_check_only -class LocalizedMessage(typing_extensions.TypedDict, total=False): +class LocalizedMessage(typing.TypedDict, total=False): locale: str message: str @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -754,11 +744,11 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class MachineImageParametersOverrides(typing_extensions.TypedDict, total=False): +class MachineImageParametersOverrides(typing.TypedDict, total=False): machineType: str @typing.type_check_only -class MachineImageTargetDetails(typing_extensions.TypedDict, total=False): +class MachineImageTargetDetails(typing.TypedDict, total=False): additionalLicenses: _list[str] description: str encryption: Encryption @@ -775,7 +765,7 @@ class MachineImageTargetDetails(typing_extensions.TypedDict, total=False): targetProject: str @typing.type_check_only -class MigratingVm(typing_extensions.TypedDict, total=False): +class MigratingVm(typing.TypedDict, total=False): awsSourceVmDetails: AwsSourceVmDetails azureSourceVmDetails: AzureSourceVmDetails computeEngineDisksTargetDefaults: ComputeEngineDisksTargetDefaults @@ -797,7 +787,7 @@ class MigratingVm(typing_extensions.TypedDict, total=False): recentCloneJobs: _list[CloneJob] recentCutoverJobs: _list[CutoverJob] sourceVmId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PENDING", "READY", @@ -819,9 +809,9 @@ class MigratingVm(typing_extensions.TypedDict, total=False): vmwareSourceVmDetails: VmwareSourceVmDetails @typing.type_check_only -class MigrationError(typing_extensions.TypedDict, total=False): +class MigrationError(typing.TypedDict, total=False): actionItem: LocalizedMessage - code: typing_extensions.Literal[ + code: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "UNKNOWN_ERROR", "SOURCE_VALIDATION_ERROR", @@ -840,19 +830,19 @@ class MigrationError(typing_extensions.TypedDict, total=False): helpLinks: _list[Link] @typing.type_check_only -class MigrationWarning(typing_extensions.TypedDict, total=False): +class MigrationWarning(typing.TypedDict, total=False): actionItem: LocalizedMessage - code: typing_extensions.Literal["WARNING_CODE_UNSPECIFIED", "ADAPTATION_WARNING"] + code: typing.Literal["WARNING_CODE_UNSPECIFIED", "ADAPTATION_WARNING"] helpLinks: _list[Link] warningMessage: LocalizedMessage warningTime: str @typing.type_check_only -class NetworkInterface(typing_extensions.TypedDict, total=False): +class NetworkInterface(typing.TypedDict, total=False): externalIp: str internalIp: str network: str - networkTier: typing_extensions.Literal[ + networkTier: typing.Literal[ "COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED", "NETWORK_TIER_STANDARD", "NETWORK_TIER_PREMIUM", @@ -860,20 +850,20 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): subnetwork: str @typing.type_check_only -class OSDescription(typing_extensions.TypedDict, total=False): +class OSDescription(typing.TypedDict, total=False): offer: str plan: str publisher: str type: str @typing.type_check_only -class OSDisk(typing_extensions.TypedDict, total=False): +class OSDisk(typing.TypedDict, total=False): name: str sizeGb: int type: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -881,7 +871,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -891,18 +881,18 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PauseMigrationRequest(typing_extensions.TypedDict, total=False): ... +class PauseMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class PersistentDisk(typing_extensions.TypedDict, total=False): +class PersistentDisk(typing.TypedDict, total=False): diskUri: str sourceDiskNumber: int @typing.type_check_only -class PersistentDiskDefaults(typing_extensions.TypedDict, total=False): +class PersistentDiskDefaults(typing.TypedDict, total=False): additionalLabels: dict[str, typing.Any] diskName: str - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", @@ -915,27 +905,27 @@ class PersistentDiskDefaults(typing_extensions.TypedDict, total=False): vmAttachmentDetails: VmAttachmentDetails @typing.type_check_only -class PostProcessingStep(typing_extensions.TypedDict, total=False): ... +class PostProcessingStep(typing.TypedDict, total=False): ... @typing.type_check_only -class PreparingVMDisksStep(typing_extensions.TypedDict, total=False): ... +class PreparingVMDisksStep(typing.TypedDict, total=False): ... @typing.type_check_only -class ProvisioningTargetDiskStep(typing_extensions.TypedDict, total=False): ... +class ProvisioningTargetDiskStep(typing.TypedDict, total=False): ... @typing.type_check_only -class RemoveGroupMigrationRequest(typing_extensions.TypedDict, total=False): +class RemoveGroupMigrationRequest(typing.TypedDict, total=False): migratingVm: str @typing.type_check_only -class ReplicatingStep(typing_extensions.TypedDict, total=False): +class ReplicatingStep(typing.TypedDict, total=False): lastThirtyMinutesAverageBytesPerSecond: str lastTwoMinutesAverageBytesPerSecond: str replicatedBytes: str totalBytes: str @typing.type_check_only -class ReplicationCycle(typing_extensions.TypedDict, total=False): +class ReplicationCycle(typing.TypedDict, total=False): cycleNumber: int endTime: str error: Status @@ -943,7 +933,7 @@ class ReplicationCycle(typing_extensions.TypedDict, total=False): progress: int progressPercent: int startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "FAILED", "SUCCEEDED" ] steps: _list[CycleStep] @@ -951,45 +941,45 @@ class ReplicationCycle(typing_extensions.TypedDict, total=False): warnings: _list[MigrationWarning] @typing.type_check_only -class ReplicationSync(typing_extensions.TypedDict, total=False): +class ReplicationSync(typing.TypedDict, total=False): lastSyncTime: str @typing.type_check_only -class ResumeMigrationRequest(typing_extensions.TypedDict, total=False): ... +class ResumeMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class RunDiskMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +class RunDiskMigrationJobRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SchedulePolicy(typing_extensions.TypedDict, total=False): +class SchedulePolicy(typing.TypedDict, total=False): idleDuration: str skipOsAdaptation: bool @typing.type_check_only -class SchedulingNodeAffinity(typing_extensions.TypedDict, total=False): +class SchedulingNodeAffinity(typing.TypedDict, total=False): key: str - operator: typing_extensions.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] + operator: typing.Literal["OPERATOR_UNSPECIFIED", "IN", "NOT_IN"] values: _list[str] @typing.type_check_only -class ServiceAccount(typing_extensions.TypedDict, total=False): +class ServiceAccount(typing.TypedDict, total=False): email: str scopes: _list[str] @typing.type_check_only -class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class ShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableVtpm: bool - secureBoot: typing_extensions.Literal["SECURE_BOOT_UNSPECIFIED", "TRUE", "FALSE"] + secureBoot: typing.Literal["SECURE_BOOT_UNSPECIFIED", "TRUE", "FALSE"] @typing.type_check_only -class ShuttingDownSourceVMStep(typing_extensions.TypedDict, total=False): ... +class ShuttingDownSourceVMStep(typing.TypedDict, total=False): ... @typing.type_check_only -class SkipOsAdaptation(typing_extensions.TypedDict, total=False): ... +class SkipOsAdaptation(typing.TypedDict, total=False): ... @typing.type_check_only -class Source(typing_extensions.TypedDict, total=False): +class Source(typing.TypedDict, total=False): aws: AwsSourceDetails azure: AzureSourceDetails createTime: str @@ -1002,25 +992,25 @@ class Source(typing_extensions.TypedDict, total=False): vmware: VmwareSourceDetails @typing.type_check_only -class SourceStorageResource(typing_extensions.TypedDict, total=False): +class SourceStorageResource(typing.TypedDict, total=False): awsDiskDetails: AwsSourceDiskDetails @typing.type_check_only -class StartMigrationRequest(typing_extensions.TypedDict, total=False): ... +class StartMigrationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): key: str value: str @typing.type_check_only -class TargetProject(typing_extensions.TypedDict, total=False): +class TargetProject(typing.TypedDict, total=False): createTime: str description: str name: str @@ -1028,11 +1018,11 @@ class TargetProject(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class TargetVMDetails(typing_extensions.TypedDict, total=False): +class TargetVMDetails(typing.TypedDict, total=False): appliedLicense: AppliedLicense - bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] + bootOption: typing.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] computeScheduling: ComputeScheduling - diskType: typing_extensions.Literal[ + diskType: typing.Literal[ "DISK_TYPE_UNSPECIFIED", "STANDARD", "BALANCED", @@ -1043,7 +1033,7 @@ class TargetVMDetails(typing_extensions.TypedDict, total=False): externalIp: str internalIp: str labels: dict[str, typing.Any] - licenseType: typing_extensions.Literal["DEFAULT", "PAYG", "BYOL"] + licenseType: typing.Literal["DEFAULT", "PAYG", "BYOL"] machineType: str machineTypeSeries: str metadata: dict[str, typing.Any] @@ -1059,46 +1049,40 @@ class TargetVMDetails(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class UpgradeApplianceRequest(typing_extensions.TypedDict, total=False): +class UpgradeApplianceRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class UpgradeStatus(typing_extensions.TypedDict, total=False): +class UpgradeStatus(typing.TypedDict, total=False): error: Status previousVersion: str startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "FAILED", "SUCCEEDED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "FAILED", "SUCCEEDED"] version: str @typing.type_check_only -class UtilizationReport(typing_extensions.TypedDict, total=False): +class UtilizationReport(typing.TypedDict, total=False): createTime: str displayName: str error: Status frameEndTime: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "SUCCEEDED", "FAILED"] stateTime: str - timeFrame: typing_extensions.Literal[ - "TIME_FRAME_UNSPECIFIED", "WEEK", "MONTH", "YEAR" - ] + timeFrame: typing.Literal["TIME_FRAME_UNSPECIFIED", "WEEK", "MONTH", "YEAR"] vmCount: int vms: _list[VmUtilizationInfo] vmsCount: int @typing.type_check_only -class VmAttachmentDetails(typing_extensions.TypedDict, total=False): +class VmAttachmentDetails(typing.TypedDict, total=False): deviceName: str @typing.type_check_only -class VmCapabilities(typing_extensions.TypedDict, total=False): +class VmCapabilities(typing.TypedDict, total=False): lastOsCapabilitiesUpdateTime: str osCapabilities: _list[ - typing_extensions.Literal[ + typing.Literal[ "OS_CAPABILITY_UNSPECIFIED", "OS_CAPABILITY_NVME_STORAGE_ACCESS", "OS_CAPABILITY_GVNIC_NETWORK_INTERFACE", @@ -1107,13 +1091,13 @@ class VmCapabilities(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VmUtilizationInfo(typing_extensions.TypedDict, total=False): +class VmUtilizationInfo(typing.TypedDict, total=False): utilization: VmUtilizationMetrics vmId: str vmwareVmDetails: VmwareVmDetails @typing.type_check_only -class VmUtilizationMetrics(typing_extensions.TypedDict, total=False): +class VmUtilizationMetrics(typing.TypedDict, total=False): cpuAverage: int cpuAveragePercent: int cpuMax: int @@ -1132,13 +1116,13 @@ class VmUtilizationMetrics(typing_extensions.TypedDict, total=False): networkThroughputMaxKbps: str @typing.type_check_only -class VmwareDiskDetails(typing_extensions.TypedDict, total=False): +class VmwareDiskDetails(typing.TypedDict, total=False): diskNumber: int label: str sizeGb: str @typing.type_check_only -class VmwareSourceDetails(typing_extensions.TypedDict, total=False): +class VmwareSourceDetails(typing.TypedDict, total=False): password: str resolvedVcenterHost: str thumbprint: str @@ -1146,25 +1130,25 @@ class VmwareSourceDetails(typing_extensions.TypedDict, total=False): vcenterIp: str @typing.type_check_only -class VmwareSourceVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class VmwareSourceVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] committedStorageBytes: str disks: _list[VmwareDiskDetails] - firmware: typing_extensions.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] + firmware: typing.Literal["FIRMWARE_UNSPECIFIED", "EFI", "BIOS"] vmCapabilitiesInfo: VmCapabilities @typing.type_check_only -class VmwareVmDetails(typing_extensions.TypedDict, total=False): - architecture: typing_extensions.Literal[ +class VmwareVmDetails(typing.TypedDict, total=False): + architecture: typing.Literal[ "VM_ARCHITECTURE_UNSPECIFIED", "VM_ARCHITECTURE_X86_FAMILY", "VM_ARCHITECTURE_ARM64", ] - bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] + bootOption: typing.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] committedStorage: str committedStorageMb: str cpuCount: int @@ -1174,12 +1158,10 @@ class VmwareVmDetails(typing_extensions.TypedDict, total=False): displayName: str guestDescription: str memoryMb: int - powerState: typing_extensions.Literal[ - "POWER_STATE_UNSPECIFIED", "ON", "OFF", "SUSPENDED" - ] + powerState: typing.Literal["POWER_STATE_UNSPECIFIED", "ON", "OFF", "SUSPENDED"] uuid: str vmId: str @typing.type_check_only -class VmwareVmsDetails(typing_extensions.TypedDict, total=False): +class VmwareVmsDetails(typing.TypedDict, total=False): details: _list[VmwareVmDetails] diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi index 81cd968c6..ae313764f 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi index c80922d96..75fbc6e06 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi @@ -1,16 +1,14 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AcceleratePrivateCloudDeletionRequest(typing_extensions.TypedDict, total=False): +class AcceleratePrivateCloudDeletionRequest(typing.TypedDict, total=False): etag: str requestId: str @typing.type_check_only -class Announcement(typing_extensions.TypedDict, total=False): +class Announcement(typing.TypedDict, total=False): activityType: str cluster: str code: str @@ -19,26 +17,26 @@ class Announcement(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str privateCloud: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "INACTIVE", "DELETING", "CREATING" ] targetResourceType: str updateTime: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class AutoscalingPolicy(typing_extensions.TypedDict, total=False): +class AutoscalingPolicy(typing.TypedDict, total=False): consumedMemoryThresholds: Thresholds cpuThresholds: Thresholds grantedMemoryThresholds: Thresholds @@ -47,27 +45,27 @@ class AutoscalingPolicy(typing_extensions.TypedDict, total=False): storageThresholds: Thresholds @typing.type_check_only -class AutoscalingSettings(typing_extensions.TypedDict, total=False): +class AutoscalingSettings(typing.TypedDict, total=False): autoscalingPolicies: dict[str, typing.Any] coolDownPeriod: str maxClusterNodeCount: int minClusterNodeCount: int @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class Cluster(typing_extensions.TypedDict, total=False): +class Cluster(typing.TypedDict, total=False): autoscalingSettings: AutoscalingSettings createTime: str datastoreMountConfig: _list[DatastoreMountConfig] management: bool name: str nodeTypeConfigs: dict[str, typing.Any] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "UPDATING", "DELETING", "REPAIRING" ] stretchedClusterConfig: StretchedClusterConfig @@ -75,79 +73,77 @@ class Cluster(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Constraints(typing_extensions.TypedDict, total=False): +class Constraints(typing.TypedDict, total=False): disallowedIntervals: _list[WeeklyTimeInterval] minHoursDay: int minHoursWeek: int rescheduleDateRange: Interval @typing.type_check_only -class Credentials(typing_extensions.TypedDict, total=False): +class Credentials(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class Datastore(typing_extensions.TypedDict, total=False): +class Datastore(typing.TypedDict, total=False): clusters: _list[str] createTime: str description: str etag: str name: str nfsDatastore: NfsDatastore - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING" ] uid: str updateTime: str @typing.type_check_only -class DatastoreMountConfig(typing_extensions.TypedDict, total=False): - accessMode: typing_extensions.Literal[ - "ACCESS_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE" - ] +class DatastoreMountConfig(typing.TypedDict, total=False): + accessMode: typing.Literal["ACCESS_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE"] datastore: str datastoreNetwork: DatastoreNetwork fileShare: str - nfsVersion: typing_extensions.Literal["NFS_VERSION_UNSPECIFIED", "NFS_V3"] + nfsVersion: typing.Literal["NFS_VERSION_UNSPECIFIED", "NFS_V3"] servers: _list[str] @typing.type_check_only -class DatastoreNetwork(typing_extensions.TypedDict, total=False): +class DatastoreNetwork(typing.TypedDict, total=False): connectionCount: int mtu: int networkPeering: str subnet: str @typing.type_check_only -class DnsBindPermission(typing_extensions.TypedDict, total=False): +class DnsBindPermission(typing.TypedDict, total=False): name: str principals: _list[Principal] @typing.type_check_only -class DnsForwarding(typing_extensions.TypedDict, total=False): +class DnsForwarding(typing.TypedDict, total=False): createTime: str forwardingRules: _list[ForwardingRule] name: str updateTime: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class EncryptionConfig(typing_extensions.TypedDict, total=False): +class EncryptionConfig(typing.TypedDict, total=False): cryptoKeyName: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "CMEK", "LEGACY_CMEK", "OTHER"] + type: typing.Literal["TYPE_UNSPECIFIED", "CMEK", "LEGACY_CMEK", "OTHER"] @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class ExternalAccessRule(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] +class ExternalAccessRule(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "ALLOW", "DENY"] createTime: str description: str destinationIpRanges: _list[IpRange] @@ -157,206 +153,198 @@ class ExternalAccessRule(typing_extensions.TypedDict, total=False): priority: int sourceIpRanges: _list[IpRange] sourcePorts: _list[str] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "UPDATING", "DELETING" ] uid: str updateTime: str @typing.type_check_only -class ExternalAddress(typing_extensions.TypedDict, total=False): +class ExternalAddress(typing.TypedDict, total=False): createTime: str description: str externalIp: str internalIp: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "UPDATING", "DELETING" ] uid: str updateTime: str @typing.type_check_only -class FetchNetworkPolicyExternalAddressesResponse( - typing_extensions.TypedDict, total=False -): +class FetchNetworkPolicyExternalAddressesResponse(typing.TypedDict, total=False): externalAddresses: _list[ExternalAddress] nextPageToken: str @typing.type_check_only -class ForwardingRule(typing_extensions.TypedDict, total=False): +class ForwardingRule(typing.TypedDict, total=False): domain: str nameServers: _list[str] @typing.type_check_only -class GoogleFileService(typing_extensions.TypedDict, total=False): +class GoogleFileService(typing.TypedDict, total=False): filestoreInstance: str netappVolume: str @typing.type_check_only -class GoogleVmwareFileService(typing_extensions.TypedDict, total=False): ... +class GoogleVmwareFileService(typing.TypedDict, total=False): ... @typing.type_check_only -class GrantDnsBindPermissionRequest(typing_extensions.TypedDict, total=False): +class GrantDnsBindPermissionRequest(typing.TypedDict, total=False): principal: Principal requestId: str @typing.type_check_only -class Hcx(typing_extensions.TypedDict, total=False): +class Hcx(typing.TypedDict, total=False): fqdn: str internalIp: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "ACTIVATING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING", "ACTIVATING"] version: str @typing.type_check_only -class HcxActivationKey(typing_extensions.TypedDict, total=False): +class HcxActivationKey(typing.TypedDict, total=False): activationKey: str createTime: str name: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "AVAILABLE", "CONSUMED", "CREATING" - ] + state: typing.Literal["STATE_UNSPECIFIED", "AVAILABLE", "CONSUMED", "CREATING"] uid: str @typing.type_check_only -class Interval(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): endTime: str startTime: str @typing.type_check_only -class IpRange(typing_extensions.TypedDict, total=False): +class IpRange(typing.TypedDict, total=False): externalAddress: str ipAddress: str ipAddressRange: str @typing.type_check_only -class ListAnnouncementsResponse(typing_extensions.TypedDict, total=False): +class ListAnnouncementsResponse(typing.TypedDict, total=False): announcements: _list[Announcement] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListClustersResponse(typing_extensions.TypedDict, total=False): +class ListClustersResponse(typing.TypedDict, total=False): clusters: _list[Cluster] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDatastoresResponse(typing_extensions.TypedDict, total=False): +class ListDatastoresResponse(typing.TypedDict, total=False): datastores: _list[Datastore] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListExternalAccessRulesResponse(typing_extensions.TypedDict, total=False): +class ListExternalAccessRulesResponse(typing.TypedDict, total=False): externalAccessRules: _list[ExternalAccessRule] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListExternalAddressesResponse(typing_extensions.TypedDict, total=False): +class ListExternalAddressesResponse(typing.TypedDict, total=False): externalAddresses: _list[ExternalAddress] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListHcxActivationKeysResponse(typing_extensions.TypedDict, total=False): +class ListHcxActivationKeysResponse(typing.TypedDict, total=False): hcxActivationKeys: _list[HcxActivationKey] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListLoggingServersResponse(typing_extensions.TypedDict, total=False): +class ListLoggingServersResponse(typing.TypedDict, total=False): loggingServers: _list[LoggingServer] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListManagementDnsZoneBindingsResponse(typing_extensions.TypedDict, total=False): +class ListManagementDnsZoneBindingsResponse(typing.TypedDict, total=False): managementDnsZoneBindings: _list[ManagementDnsZoneBinding] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListNetworkPeeringsResponse(typing_extensions.TypedDict, total=False): +class ListNetworkPeeringsResponse(typing.TypedDict, total=False): networkPeerings: _list[NetworkPeering] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListNetworkPoliciesResponse(typing_extensions.TypedDict, total=False): +class ListNetworkPoliciesResponse(typing.TypedDict, total=False): networkPolicies: _list[NetworkPolicy] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListNodeTypesResponse(typing_extensions.TypedDict, total=False): +class ListNodeTypesResponse(typing.TypedDict, total=False): nextPageToken: str nodeTypes: _list[NodeType] unreachable: _list[str] @typing.type_check_only -class ListNodesResponse(typing_extensions.TypedDict, total=False): +class ListNodesResponse(typing.TypedDict, total=False): nextPageToken: str nodes: _list[Node] @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListPeeringRoutesResponse(typing_extensions.TypedDict, total=False): +class ListPeeringRoutesResponse(typing.TypedDict, total=False): nextPageToken: str peeringRoutes: _list[PeeringRoute] @typing.type_check_only -class ListPrivateCloudsResponse(typing_extensions.TypedDict, total=False): +class ListPrivateCloudsResponse(typing.TypedDict, total=False): nextPageToken: str privateClouds: _list[PrivateCloud] unreachable: _list[str] @typing.type_check_only -class ListPrivateConnectionPeeringRoutesResponse( - typing_extensions.TypedDict, total=False -): +class ListPrivateConnectionPeeringRoutesResponse(typing.TypedDict, total=False): nextPageToken: str peeringRoutes: _list[PeeringRoute] @typing.type_check_only -class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): +class ListPrivateConnectionsResponse(typing.TypedDict, total=False): nextPageToken: str privateConnections: _list[PrivateConnection] unreachable: _list[str] @typing.type_check_only -class ListSubnetsResponse(typing_extensions.TypedDict, total=False): +class ListSubnetsResponse(typing.TypedDict, total=False): nextPageToken: str subnets: _list[Subnet] unreachable: _list[str] @typing.type_check_only -class ListUpgradesResponse(typing_extensions.TypedDict, total=False): +class ListUpgradesResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] upgrades: _list[Upgrade] @typing.type_check_only -class ListVmwareEngineNetworksResponse(typing_extensions.TypedDict, total=False): +class ListVmwareEngineNetworksResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] vmwareEngineNetworks: _list[VmwareEngineNetwork] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -364,36 +352,32 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationMetadata(typing_extensions.TypedDict, total=False): - capabilities: _list[ - typing_extensions.Literal["CAPABILITY_UNSPECIFIED", "STRETCHED_CLUSTERS"] - ] +class LocationMetadata(typing.TypedDict, total=False): + capabilities: _list[typing.Literal["CAPABILITY_UNSPECIFIED", "STRETCHED_CLUSTERS"]] @typing.type_check_only -class LoggingServer(typing_extensions.TypedDict, total=False): +class LoggingServer(typing.TypedDict, total=False): createTime: str hostname: str name: str port: int - protocol: typing_extensions.Literal[ - "PROTOCOL_UNSPECIFIED", "UDP", "TCP", "TLS", "SSL", "RELP" - ] - sourceType: typing_extensions.Literal["SOURCE_TYPE_UNSPECIFIED", "ESXI", "VCSA"] + protocol: typing.Literal["PROTOCOL_UNSPECIFIED", "UDP", "TCP", "TLS", "SSL", "RELP"] + sourceType: typing.Literal["SOURCE_TYPE_UNSPECIFIED", "ESXI", "VCSA"] uid: str updateTime: str @typing.type_check_only -class ManagementCluster(typing_extensions.TypedDict, total=False): +class ManagementCluster(typing.TypedDict, total=False): clusterId: str nodeTypeConfigs: dict[str, typing.Any] stretchedClusterConfig: StretchedClusterConfig @typing.type_check_only -class ManagementDnsZoneBinding(typing_extensions.TypedDict, total=False): +class ManagementDnsZoneBinding(typing.TypedDict, total=False): createTime: str description: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "UPDATING", "DELETING", "FAILED" ] uid: str @@ -402,20 +386,20 @@ class ManagementDnsZoneBinding(typing_extensions.TypedDict, total=False): vpcNetwork: str @typing.type_check_only -class MigrateManagementVmsRequest(typing_extensions.TypedDict, total=False): +class MigrateManagementVmsRequest(typing.TypedDict, total=False): clusterId: str etag: str requestId: str @typing.type_check_only -class MountDatastoreRequest(typing_extensions.TypedDict, total=False): +class MountDatastoreRequest(typing.TypedDict, total=False): datastoreMountConfig: DatastoreMountConfig ignoreColocation: bool requestId: str validateOnly: bool @typing.type_check_only -class NetworkConfig(typing_extensions.TypedDict, total=False): +class NetworkConfig(typing.TypedDict, total=False): dnsServerIp: str managementCidr: str managementIpAddressLayoutVersion: int @@ -423,7 +407,7 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): vmwareEngineNetworkCanonical: str @typing.type_check_only -class NetworkPeering(typing_extensions.TypedDict, total=False): +class NetworkPeering(typing.TypedDict, total=False): createTime: str description: str exchangeSubnetRoutes: bool @@ -434,7 +418,7 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): name: str peerMtu: int peerNetwork: str - peerNetworkType: typing_extensions.Literal[ + peerNetworkType: typing.Literal[ "PEER_NETWORK_TYPE_UNSPECIFIED", "STANDARD", "VMWARE_ENGINE_NETWORK", @@ -445,7 +429,7 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): "GOOGLE_CLOUD_NETAPP_VOLUMES", "GOOGLE_CLOUD_FILESTORE_INSTANCES", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "CREATING", "DELETING" ] stateDetails: str @@ -454,7 +438,7 @@ class NetworkPeering(typing_extensions.TypedDict, total=False): vmwareEngineNetwork: str @typing.type_check_only -class NetworkPolicy(typing_extensions.TypedDict, total=False): +class NetworkPolicy(typing.TypedDict, total=False): createTime: str description: str edgeServicesCidr: str @@ -467,40 +451,36 @@ class NetworkPolicy(typing_extensions.TypedDict, total=False): vmwareEngineNetworkCanonical: str @typing.type_check_only -class NetworkService(typing_extensions.TypedDict, total=False): +class NetworkService(typing.TypedDict, total=False): enabled: bool - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "UNPROVISIONED", "RECONCILING", "ACTIVE" - ] + state: typing.Literal["STATE_UNSPECIFIED", "UNPROVISIONED", "RECONCILING", "ACTIVE"] @typing.type_check_only -class NfsDatastore(typing_extensions.TypedDict, total=False): +class NfsDatastore(typing.TypedDict, total=False): googleFileService: GoogleFileService googleVmwareFileService: GoogleVmwareFileService thirdPartyFileService: ThirdPartyFileService @typing.type_check_only -class Node(typing_extensions.TypedDict, total=False): +class Node(typing.TypedDict, total=False): customCoreCount: str fqdn: str internalIp: str name: str nodeTypeId: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", "FAILED", "UPGRADING" ] version: str @typing.type_check_only -class NodeType(typing_extensions.TypedDict, total=False): +class NodeType(typing.TypedDict, total=False): availableCustomCoreCounts: _list[int] - capabilities: _list[ - typing_extensions.Literal["CAPABILITY_UNSPECIFIED", "STRETCHED_CLUSTERS"] - ] + capabilities: _list[typing.Literal["CAPABILITY_UNSPECIFIED", "STRETCHED_CLUSTERS"]] diskSizeGb: int displayName: str families: _list[str] - kind: typing_extensions.Literal["KIND_UNSPECIFIED", "STANDARD", "STORAGE_ONLY"] + kind: typing.Literal["KIND_UNSPECIFIED", "STANDARD", "STORAGE_ONLY"] memoryGb: int name: str nodeTypeId: str @@ -508,19 +488,19 @@ class NodeType(typing_extensions.TypedDict, total=False): virtualCpuCount: int @typing.type_check_only -class NodeTypeConfig(typing_extensions.TypedDict, total=False): +class NodeTypeConfig(typing.TypedDict, total=False): customCoreCount: int nodeCount: int @typing.type_check_only -class Nsx(typing_extensions.TypedDict, total=False): +class Nsx(typing.TypedDict, total=False): fqdn: str internalIp: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING"] version: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -528,7 +508,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -538,15 +518,13 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PeeringRoute(typing_extensions.TypedDict, total=False): +class PeeringRoute(typing.TypedDict, total=False): destRange: str - direction: typing_extensions.Literal[ - "DIRECTION_UNSPECIFIED", "INCOMING", "OUTGOING" - ] + direction: typing.Literal["DIRECTION_UNSPECIFIED", "INCOMING", "OUTGOING"] imported: bool nextHopRegion: str priority: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "DYNAMIC_PEERING_ROUTE", "STATIC_PEERING_ROUTE", @@ -554,19 +532,19 @@ class PeeringRoute(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class Principal(typing_extensions.TypedDict, total=False): +class Principal(typing.TypedDict, total=False): serviceAccount: str user: str @typing.type_check_only -class PrivateCloud(typing_extensions.TypedDict, total=False): +class PrivateCloud(typing.TypedDict, total=False): createTime: str deleteTime: str description: str @@ -577,7 +555,7 @@ class PrivateCloud(typing_extensions.TypedDict, total=False): name: str networkConfig: NetworkConfig nsx: Nsx - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -586,25 +564,23 @@ class PrivateCloud(typing_extensions.TypedDict, total=False): "DELETED", "PURGING", ] - type: typing_extensions.Literal["STANDARD", "TIME_LIMITED", "STRETCHED"] + type: typing.Literal["STANDARD", "TIME_LIMITED", "STRETCHED"] uid: str updateTime: str vcenter: Vcenter @typing.type_check_only -class PrivateConnection(typing_extensions.TypedDict, total=False): +class PrivateConnection(typing.TypedDict, total=False): createTime: str description: str name: str peeringId: str - peeringState: typing_extensions.Literal[ + peeringState: typing.Literal[ "PEERING_STATE_UNSPECIFIED", "PEERING_ACTIVE", "PEERING_INACTIVE" ] - routingMode: typing_extensions.Literal[ - "ROUTING_MODE_UNSPECIFIED", "GLOBAL", "REGIONAL" - ] + routingMode: typing.Literal["ROUTING_MODE_UNSPECIFIED", "GLOBAL", "REGIONAL"] serviceNetwork: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", @@ -613,7 +589,7 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): "UNPROVISIONED", "FAILED", ] - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "PRIVATE_SERVICE_ACCESS", "NETAPP_CLOUD_VOLUMES", @@ -626,53 +602,53 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): vmwareEngineNetworkCanonical: str @typing.type_check_only -class RepairManagementDnsZoneBindingRequest(typing_extensions.TypedDict, total=False): +class RepairManagementDnsZoneBindingRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class ResetNsxCredentialsRequest(typing_extensions.TypedDict, total=False): +class ResetNsxCredentialsRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class ResetVcenterCredentialsRequest(typing_extensions.TypedDict, total=False): +class ResetVcenterCredentialsRequest(typing.TypedDict, total=False): requestId: str username: str @typing.type_check_only -class RevokeDnsBindPermissionRequest(typing_extensions.TypedDict, total=False): +class RevokeDnsBindPermissionRequest(typing.TypedDict, total=False): principal: Principal requestId: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): constraints: Constraints editWindow: Interval - lastEditor: typing_extensions.Literal["EDITOR_UNSPECIFIED", "SYSTEM", "USER"] + lastEditor: typing.Literal["EDITOR_UNSPECIFIED", "SYSTEM", "USER"] startTime: str weeklyWindows: _list[TimeWindow] @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StretchedClusterConfig(typing_extensions.TypedDict, total=False): +class StretchedClusterConfig(typing.TypedDict, total=False): preferredLocation: str secondaryLocation: str @typing.type_check_only -class Subnet(typing_extensions.TypedDict, total=False): +class Subnet(typing.TypedDict, total=False): gatewayIp: str ipCidrRange: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "CREATING", @@ -685,34 +661,34 @@ class Subnet(typing_extensions.TypedDict, total=False): vlanId: int @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class ThirdPartyFileService(typing_extensions.TypedDict, total=False): +class ThirdPartyFileService(typing.TypedDict, total=False): fileShare: str network: str servers: _list[str] @typing.type_check_only -class Thresholds(typing_extensions.TypedDict, total=False): +class Thresholds(typing.TypedDict, total=False): scaleIn: int scaleOut: int @typing.type_check_only -class TimeOfDay(typing_extensions.TypedDict, total=False): +class TimeOfDay(typing.TypedDict, total=False): hours: int minutes: int nanos: int seconds: int @typing.type_check_only -class TimeWindow(typing_extensions.TypedDict, total=False): - dayOfWeek: typing_extensions.Literal[ +class TimeWindow(typing.TypedDict, total=False): + dayOfWeek: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -726,17 +702,17 @@ class TimeWindow(typing_extensions.TypedDict, total=False): startTime: TimeOfDay @typing.type_check_only -class UndeletePrivateCloudRequest(typing_extensions.TypedDict, total=False): +class UndeletePrivateCloudRequest(typing.TypedDict, total=False): requestId: str @typing.type_check_only -class UnmountDatastoreRequest(typing_extensions.TypedDict, total=False): +class UnmountDatastoreRequest(typing.TypedDict, total=False): datastore: str requestId: str validateOnly: bool @typing.type_check_only -class Upgrade(typing_extensions.TypedDict, total=False): +class Upgrade(typing.TypedDict, total=False): componentUpgrades: _list[VmwareUpgradeComponent] createTime: str description: str @@ -746,7 +722,7 @@ class Upgrade(typing_extensions.TypedDict, total=False): name: str schedule: Schedule startVersion: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "SCHEDULED", "ONGOING", @@ -758,7 +734,7 @@ class Upgrade(typing_extensions.TypedDict, total=False): "RESCHEDULING", ] targetVersion: str - type: typing_extensions.Literal[ + type: typing.Literal[ "TYPE_UNSPECIFIED", "VSPHERE_UPGRADE", "VSPHERE_PATCH", @@ -773,29 +749,29 @@ class Upgrade(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class Vcenter(typing_extensions.TypedDict, total=False): +class Vcenter(typing.TypedDict, total=False): fqdn: str internalIp: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "CREATING"] version: str @typing.type_check_only -class VmwareEngineNetwork(typing_extensions.TypedDict, total=False): +class VmwareEngineNetwork(typing.TypedDict, total=False): createTime: str description: str etag: str name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING" ] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "LEGACY", "STANDARD"] + type: typing.Literal["TYPE_UNSPECIFIED", "LEGACY", "STANDARD"] uid: str updateTime: str vpcNetworks: _list[VpcNetwork] @typing.type_check_only -class VmwareUpgradeComponent(typing_extensions.TypedDict, total=False): - componentType: typing_extensions.Literal[ +class VmwareUpgradeComponent(typing.TypedDict, total=False): + componentType: typing.Literal[ "VMWARE_COMPONENT_TYPE_UNSPECIFIED", "VCENTER", "ESXI", @@ -812,7 +788,7 @@ class VmwareUpgradeComponent(typing_extensions.TypedDict, total=False): "CLUSTER", "VM_TOOLS", ] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "RUNNING", "PAUSED", @@ -823,15 +799,13 @@ class VmwareUpgradeComponent(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class VpcNetwork(typing_extensions.TypedDict, total=False): +class VpcNetwork(typing.TypedDict, total=False): network: str - type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "INTRANET", "INTERNET", "GOOGLE_CLOUD" - ] + type: typing.Literal["TYPE_UNSPECIFIED", "INTRANET", "INTERNET", "GOOGLE_CLOUD"] @typing.type_check_only -class WeeklyTimeInterval(typing_extensions.TypedDict, total=False): - endDay: typing_extensions.Literal[ +class WeeklyTimeInterval(typing.TypedDict, total=False): + endDay: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", @@ -842,7 +816,7 @@ class WeeklyTimeInterval(typing_extensions.TypedDict, total=False): "SUNDAY", ] endTime: TimeOfDay - startDay: typing_extensions.Literal[ + startDay: typing.Literal[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi index 1f4403cf0..6f9e0c3de 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi index f3522042c..8440f110e 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Connector(typing_extensions.TypedDict, total=False): +class Connector(typing.TypedDict, total=False): connectedProjects: _list[str] ipCidrRange: str machineType: str @@ -15,29 +13,29 @@ class Connector(typing_extensions.TypedDict, total=False): minThroughput: int name: str network: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", "DELETING", "ERROR", "UPDATING" ] subnet: Subnet @typing.type_check_only -class ListConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorsResponse(typing.TypedDict, total=False): connectors: _list[Connector] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -45,7 +43,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -53,33 +51,33 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str method: str target: str @typing.type_check_only -class OperationMetadataV1Alpha1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Alpha1(typing.TypedDict, total=False): endTime: str insertTime: str method: str target: str @typing.type_check_only -class OperationMetadataV1Beta1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta1(typing.TypedDict, total=False): createTime: str endTime: str method: str target: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subnet(typing_extensions.TypedDict, total=False): +class Subnet(typing.TypedDict, total=False): name: str projectId: str diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi index 1f4403cf0..6f9e0c3de 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi index 2bd4bd87d..cd604132a 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Connector(typing_extensions.TypedDict, total=False): +class Connector(typing.TypedDict, total=False): connectedProjects: _list[str] createTime: str ipCidrRange: str @@ -17,29 +15,29 @@ class Connector(typing_extensions.TypedDict, total=False): minThroughput: int name: str network: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "READY", "CREATING", "DELETING", "ERROR", "UPDATING" ] subnet: Subnet @typing.type_check_only -class ListConnectorsResponse(typing_extensions.TypedDict, total=False): +class ListConnectorsResponse(typing.TypedDict, total=False): connectors: _list[Connector] nextPageToken: str @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -47,7 +45,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -55,33 +53,33 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): createTime: str endTime: str method: str target: str @typing.type_check_only -class OperationMetadataV1Alpha1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Alpha1(typing.TypedDict, total=False): endTime: str insertTime: str method: str target: str @typing.type_check_only -class OperationMetadataV1Beta1(typing_extensions.TypedDict, total=False): +class OperationMetadataV1Beta1(typing.TypedDict, total=False): createTime: str endTime: str method: str target: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Subnet(typing_extensions.TypedDict, total=False): +class Subnet(typing.TypedDict, total=False): name: str projectId: str diff --git a/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi b/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi index 743ece6c1..a913b6cc8 100644 --- a/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/walletobjects/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -249,6 +248,9 @@ class WalletobjectsResource(googleapiclient.discovery.Resource): def insert( self, *, body: JwtResource, **kwargs: typing.Any ) -> JwtInsertResponseHttpRequest: ... + def validate( + self, *, body: JwtValidateRequest, **kwargs: typing.Any + ) -> JwtValidateResponseHttpRequest: ... @typing.type_check_only class LoyaltyclassResource(googleapiclient.discovery.Resource): @@ -707,6 +709,14 @@ class JwtInsertResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> JwtInsertResponse: ... +@typing.type_check_only +class JwtValidateResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> JwtValidateResponse: ... + @typing.type_check_only class LoyaltyClassHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi index 4e50b0fdd..16809121b 100644 --- a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActivationOptions(typing_extensions.TypedDict, total=False): +class ActivationOptions(typing.TypedDict, total=False): activationUrl: str allowReactivation: bool @typing.type_check_only -class ActivationStatus(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ +class ActivationStatus(typing.TypedDict, total=False): + state: typing.Literal[ "UNKNOWN_STATE", "NOT_ACTIVATED", "not_activated", "ACTIVATED", "activated" ] @typing.type_check_only -class AddMessageRequest(typing_extensions.TypedDict, total=False): +class AddMessageRequest(typing.TypedDict, total=False): message: Message @typing.type_check_only -class AirportInfo(typing_extensions.TypedDict, total=False): +class AirportInfo(typing.TypedDict, total=False): airportIataCode: str airportNameOverride: LocalizedString gate: str @@ -28,36 +26,36 @@ class AirportInfo(typing_extensions.TypedDict, total=False): terminal: str @typing.type_check_only -class AppLinkData(typing_extensions.TypedDict, total=False): +class AppLinkData(typing.TypedDict, total=False): androidAppLinkInfo: AppLinkDataAppLinkInfo displayText: LocalizedString iosAppLinkInfo: AppLinkDataAppLinkInfo webAppLinkInfo: AppLinkDataAppLinkInfo @typing.type_check_only -class AppLinkDataAppLinkInfo(typing_extensions.TypedDict, total=False): +class AppLinkDataAppLinkInfo(typing.TypedDict, total=False): appLogoImage: Image appTarget: AppLinkDataAppLinkInfoAppTarget description: LocalizedString title: LocalizedString @typing.type_check_only -class AppLinkDataAppLinkInfoAppTarget(typing_extensions.TypedDict, total=False): +class AppLinkDataAppLinkInfoAppTarget(typing.TypedDict, total=False): packageName: str targetUri: Uri @typing.type_check_only -class AuthenticationKey(typing_extensions.TypedDict, total=False): +class AuthenticationKey(typing.TypedDict, total=False): id: int publicKeyPem: str @typing.type_check_only -class Barcode(typing_extensions.TypedDict, total=False): +class Barcode(typing.TypedDict, total=False): alternateText: str kind: str - renderEncoding: typing_extensions.Literal["RENDER_ENCODING_UNSPECIFIED", "UTF_8"] + renderEncoding: typing.Literal["RENDER_ENCODING_UNSPECIFIED", "UTF_8"] showCodeText: LocalizedString - type: typing_extensions.Literal[ + type: typing.Literal[ "BARCODE_TYPE_UNSPECIFIED", "AZTEC", "aztec", @@ -90,11 +88,11 @@ class Barcode(typing_extensions.TypedDict, total=False): value: str @typing.type_check_only -class BarcodeSectionDetail(typing_extensions.TypedDict, total=False): +class BarcodeSectionDetail(typing.TypedDict, total=False): fieldSelector: FieldSelector @typing.type_check_only -class Blobstore2Info(typing_extensions.TypedDict, total=False): +class Blobstore2Info(typing.TypedDict, total=False): blobGeneration: str blobId: str downloadExternalReadToken: str @@ -104,8 +102,8 @@ class Blobstore2Info(typing_extensions.TypedDict, total=False): uploadMetadataContainer: str @typing.type_check_only -class BoardingAndSeatingInfo(typing_extensions.TypedDict, total=False): - boardingDoor: typing_extensions.Literal[ +class BoardingAndSeatingInfo(typing.TypedDict, total=False): + boardingDoor: typing.Literal[ "BOARDING_DOOR_UNSPECIFIED", "FRONT", "front", "BACK", "back" ] boardingGroup: str @@ -118,8 +116,8 @@ class BoardingAndSeatingInfo(typing_extensions.TypedDict, total=False): sequenceNumber: str @typing.type_check_only -class BoardingAndSeatingPolicy(typing_extensions.TypedDict, total=False): - boardingPolicy: typing_extensions.Literal[ +class BoardingAndSeatingPolicy(typing.TypedDict, total=False): + boardingPolicy: typing.Literal[ "BOARDING_POLICY_UNSPECIFIED", "ZONE_BASED", "zoneBased", @@ -129,7 +127,7 @@ class BoardingAndSeatingPolicy(typing_extensions.TypedDict, total=False): "boardingPolicyOther", ] kind: str - seatClassPolicy: typing_extensions.Literal[ + seatClassPolicy: typing.Literal[ "SEAT_CLASS_POLICY_UNSPECIFIED", "CABIN_BASED", "cabinBased", @@ -142,50 +140,50 @@ class BoardingAndSeatingPolicy(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class CallbackOptions(typing_extensions.TypedDict, total=False): +class CallbackOptions(typing.TypedDict, total=False): updateRequestUrl: str url: str @typing.type_check_only -class CardBarcodeSectionDetails(typing_extensions.TypedDict, total=False): +class CardBarcodeSectionDetails(typing.TypedDict, total=False): firstBottomDetail: BarcodeSectionDetail firstTopDetail: BarcodeSectionDetail secondTopDetail: BarcodeSectionDetail @typing.type_check_only -class CardRowOneItem(typing_extensions.TypedDict, total=False): +class CardRowOneItem(typing.TypedDict, total=False): item: TemplateItem @typing.type_check_only -class CardRowTemplateInfo(typing_extensions.TypedDict, total=False): +class CardRowTemplateInfo(typing.TypedDict, total=False): oneItem: CardRowOneItem threeItems: CardRowThreeItems twoItems: CardRowTwoItems @typing.type_check_only -class CardRowThreeItems(typing_extensions.TypedDict, total=False): +class CardRowThreeItems(typing.TypedDict, total=False): endItem: TemplateItem middleItem: TemplateItem startItem: TemplateItem @typing.type_check_only -class CardRowTwoItems(typing_extensions.TypedDict, total=False): +class CardRowTwoItems(typing.TypedDict, total=False): endItem: TemplateItem startItem: TemplateItem @typing.type_check_only -class CardTemplateOverride(typing_extensions.TypedDict, total=False): +class CardTemplateOverride(typing.TypedDict, total=False): cardRowTemplateInfos: _list[CardRowTemplateInfo] @typing.type_check_only -class ClassTemplateInfo(typing_extensions.TypedDict, total=False): +class ClassTemplateInfo(typing.TypedDict, total=False): cardBarcodeSectionDetails: CardBarcodeSectionDetails cardTemplateOverride: CardTemplateOverride detailsTemplateOverride: DetailsTemplateOverride listTemplateOverride: ListTemplateOverride @typing.type_check_only -class CompositeMedia(typing_extensions.TypedDict, total=False): +class CompositeMedia(typing.TypedDict, total=False): blobRef: str blobstore2Info: Blobstore2Info cosmoBinaryReference: str @@ -195,13 +193,13 @@ class CompositeMedia(typing_extensions.TypedDict, total=False): md5Hash: str objectId: ObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" ] sha1Hash: str @typing.type_check_only -class ContentTypeInfo(typing_extensions.TypedDict, total=False): +class ContentTypeInfo(typing.TypedDict, total=False): bestGuess: str fromBytes: str fromFileName: str @@ -211,23 +209,23 @@ class ContentTypeInfo(typing_extensions.TypedDict, total=False): fusionIdDetectionMetadata: str @typing.type_check_only -class DateTime(typing_extensions.TypedDict, total=False): +class DateTime(typing.TypedDict, total=False): date: str @typing.type_check_only -class DetailsItemInfo(typing_extensions.TypedDict, total=False): +class DetailsItemInfo(typing.TypedDict, total=False): item: TemplateItem @typing.type_check_only -class DetailsTemplateOverride(typing_extensions.TypedDict, total=False): +class DetailsTemplateOverride(typing.TypedDict, total=False): detailsItemInfos: _list[DetailsItemInfo] @typing.type_check_only -class DeviceContext(typing_extensions.TypedDict, total=False): +class DeviceContext(typing.TypedDict, total=False): deviceToken: str @typing.type_check_only -class DiffChecksumsResponse(typing_extensions.TypedDict, total=False): +class DiffChecksumsResponse(typing.TypedDict, total=False): checksumsLocation: CompositeMedia chunkSizeBytes: str objectLocation: CompositeMedia @@ -235,30 +233,30 @@ class DiffChecksumsResponse(typing_extensions.TypedDict, total=False): objectVersion: str @typing.type_check_only -class DiffDownloadResponse(typing_extensions.TypedDict, total=False): +class DiffDownloadResponse(typing.TypedDict, total=False): objectLocation: CompositeMedia @typing.type_check_only -class DiffUploadRequest(typing_extensions.TypedDict, total=False): +class DiffUploadRequest(typing.TypedDict, total=False): checksumsInfo: CompositeMedia objectInfo: CompositeMedia objectVersion: str @typing.type_check_only -class DiffUploadResponse(typing_extensions.TypedDict, total=False): +class DiffUploadResponse(typing.TypedDict, total=False): objectVersion: str originalObject: CompositeMedia @typing.type_check_only -class DiffVersionResponse(typing_extensions.TypedDict, total=False): +class DiffVersionResponse(typing.TypedDict, total=False): objectSizeBytes: str objectVersion: str @typing.type_check_only -class DiscoverableProgram(typing_extensions.TypedDict, total=False): +class DiscoverableProgram(typing.TypedDict, total=False): merchantSigninInfo: DiscoverableProgramMerchantSigninInfo merchantSignupInfo: DiscoverableProgramMerchantSignupInfo - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "TRUSTED_TESTERS", "trustedTesters", @@ -269,13 +267,13 @@ class DiscoverableProgram(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class DiscoverableProgramMerchantSigninInfo(typing_extensions.TypedDict, total=False): +class DiscoverableProgramMerchantSigninInfo(typing.TypedDict, total=False): signinWebsite: Uri @typing.type_check_only -class DiscoverableProgramMerchantSignupInfo(typing_extensions.TypedDict, total=False): +class DiscoverableProgramMerchantSignupInfo(typing.TypedDict, total=False): signupSharedDatas: _list[ - typing_extensions.Literal[ + typing.Literal[ "SHARED_DATA_TYPE_UNSPECIFIED", "FIRST_NAME", "LAST_NAME", @@ -294,15 +292,15 @@ class DiscoverableProgramMerchantSignupInfo(typing_extensions.TypedDict, total=F signupWebsite: Uri @typing.type_check_only -class DownloadParameters(typing_extensions.TypedDict, total=False): +class DownloadParameters(typing.TypedDict, total=False): allowGzipCompression: bool ignoreRange: bool @typing.type_check_only -class EventDateTime(typing_extensions.TypedDict, total=False): +class EventDateTime(typing.TypedDict, total=False): customDoorsOpenLabel: LocalizedString doorsOpen: str - doorsOpenLabel: typing_extensions.Literal[ + doorsOpenLabel: typing.Literal[ "DOORS_OPEN_LABEL_UNSPECIFIED", "DOORS_OPEN", "doorsOpen", @@ -314,12 +312,12 @@ class EventDateTime(typing_extensions.TypedDict, total=False): start: str @typing.type_check_only -class EventReservationInfo(typing_extensions.TypedDict, total=False): +class EventReservationInfo(typing.TypedDict, total=False): confirmationCode: str kind: str @typing.type_check_only -class EventSeat(typing_extensions.TypedDict, total=False): +class EventSeat(typing.TypedDict, total=False): gate: LocalizedString kind: str row: LocalizedString @@ -327,12 +325,12 @@ class EventSeat(typing_extensions.TypedDict, total=False): section: LocalizedString @typing.type_check_only -class EventTicketClass(typing_extensions.TypedDict, total=False): +class EventTicketClass(typing.TypedDict, total=False): allowMultipleUsersPerObject: bool appLinkData: AppLinkData callbackOptions: CallbackOptions classTemplateInfo: ClassTemplateInfo - confirmationCodeLabel: typing_extensions.Literal[ + confirmationCodeLabel: typing.Literal[ "CONFIRMATION_CODE_LABEL_UNSPECIFIED", "CONFIRMATION_CODE", "confirmationCode", @@ -354,7 +352,7 @@ class EventTicketClass(typing_extensions.TypedDict, total=False): eventId: str eventName: LocalizedString finePrint: LocalizedString - gateLabel: typing_extensions.Literal[ + gateLabel: typing.Literal[ "GATE_LABEL_UNSPECIFIED", "GATE", "gate", "DOOR", "door", "ENTRANCE", "entrance" ] heroImage: Image @@ -371,7 +369,7 @@ class EventTicketClass(typing_extensions.TypedDict, total=False): logo: Image merchantLocations: _list[MerchantLocation] messages: _list[Message] - multipleDevicesAndHoldersAllowedStatus: typing_extensions.Literal[ + multipleDevicesAndHoldersAllowedStatus: typing.Literal[ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", @@ -380,12 +378,12 @@ class EventTicketClass(typing_extensions.TypedDict, total=False): "oneUserAllDevices", "oneUserOneDevice", ] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] redemptionIssuers: _list[str] review: Review - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "UNDER_REVIEW", "underReview", @@ -396,9 +394,9 @@ class EventTicketClass(typing_extensions.TypedDict, total=False): "DRAFT", "draft", ] - rowLabel: typing_extensions.Literal["ROW_LABEL_UNSPECIFIED", "ROW", "row"] - seatLabel: typing_extensions.Literal["SEAT_LABEL_UNSPECIFIED", "SEAT", "seat"] - sectionLabel: typing_extensions.Literal[ + rowLabel: typing.Literal["ROW_LABEL_UNSPECIFIED", "ROW", "row"] + seatLabel: typing.Literal["SEAT_LABEL_UNSPECIFIED", "SEAT", "seat"] + sectionLabel: typing.Literal[ "SECTION_LABEL_UNSPECIFIED", "SECTION", "section", "THEATER", "theater" ] securityAnimation: SecurityAnimation @@ -406,7 +404,7 @@ class EventTicketClass(typing_extensions.TypedDict, total=False): valueAddedModuleData: _list[ValueAddedModuleData] venue: EventVenue version: str - viewUnlockRequirement: typing_extensions.Literal[ + viewUnlockRequirement: typing.Literal[ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW", @@ -415,16 +413,16 @@ class EventTicketClass(typing_extensions.TypedDict, total=False): wordMark: Image @typing.type_check_only -class EventTicketClassAddMessageResponse(typing_extensions.TypedDict, total=False): +class EventTicketClassAddMessageResponse(typing.TypedDict, total=False): resource: EventTicketClass @typing.type_check_only -class EventTicketClassListResponse(typing_extensions.TypedDict, total=False): +class EventTicketClassListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[EventTicketClass] @typing.type_check_only -class EventTicketObject(typing_extensions.TypedDict, total=False): +class EventTicketObject(typing.TypedDict, total=False): appLinkData: AppLinkData barcode: Barcode classId: str @@ -446,7 +444,7 @@ class EventTicketObject(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] passConstraints: PassConstraints @@ -455,7 +453,7 @@ class EventTicketObject(typing_extensions.TypedDict, total=False): saveRestrictions: SaveRestrictions seatInfo: EventSeat smartTapRedemptionValue: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "active", @@ -475,27 +473,27 @@ class EventTicketObject(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class EventTicketObjectAddMessageResponse(typing_extensions.TypedDict, total=False): +class EventTicketObjectAddMessageResponse(typing.TypedDict, total=False): resource: EventTicketObject @typing.type_check_only -class EventTicketObjectListResponse(typing_extensions.TypedDict, total=False): +class EventTicketObjectListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[EventTicketObject] @typing.type_check_only -class EventVenue(typing_extensions.TypedDict, total=False): +class EventVenue(typing.TypedDict, total=False): address: LocalizedString kind: str name: LocalizedString @typing.type_check_only -class ExpiryNotification(typing_extensions.TypedDict, total=False): +class ExpiryNotification(typing.TypedDict, total=False): enableNotification: bool @typing.type_check_only -class FieldReference(typing_extensions.TypedDict, total=False): - dateFormat: typing_extensions.Literal[ +class FieldReference(typing.TypedDict, total=False): + dateFormat: typing.Literal[ "DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", @@ -513,13 +511,13 @@ class FieldReference(typing_extensions.TypedDict, total=False): fieldPath: str @typing.type_check_only -class FieldSelector(typing_extensions.TypedDict, total=False): +class FieldSelector(typing.TypedDict, total=False): fields: _list[FieldReference] @typing.type_check_only -class FirstRowOption(typing_extensions.TypedDict, total=False): +class FirstRowOption(typing.TypedDict, total=False): fieldOption: FieldSelector - transitOption: typing_extensions.Literal[ + transitOption: typing.Literal[ "TRANSIT_OPTION_UNSPECIFIED", "ORIGIN_AND_DESTINATION_NAMES", "originAndDestinationNames", @@ -530,7 +528,7 @@ class FirstRowOption(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class FlightCarrier(typing_extensions.TypedDict, total=False): +class FlightCarrier(typing.TypedDict, total=False): airlineAllianceLogo: Image airlineLogo: Image airlineName: LocalizedString @@ -540,7 +538,7 @@ class FlightCarrier(typing_extensions.TypedDict, total=False): wideAirlineLogo: Image @typing.type_check_only -class FlightClass(typing_extensions.TypedDict, total=False): +class FlightClass(typing.TypedDict, total=False): allowMultipleUsersPerObject: bool appLinkData: AppLinkData boardingAndSeatingPolicy: BoardingAndSeatingPolicy @@ -550,7 +548,7 @@ class FlightClass(typing_extensions.TypedDict, total=False): destination: AirportInfo enableSmartTap: bool flightHeader: FlightHeader - flightStatus: typing_extensions.Literal[ + flightStatus: typing.Literal[ "FLIGHT_STATUS_UNSPECIFIED", "SCHEDULED", "scheduled", @@ -585,7 +583,7 @@ class FlightClass(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - multipleDevicesAndHoldersAllowedStatus: typing_extensions.Literal[ + multipleDevicesAndHoldersAllowedStatus: typing.Literal[ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", @@ -594,13 +592,13 @@ class FlightClass(typing_extensions.TypedDict, total=False): "oneUserAllDevices", "oneUserOneDevice", ] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] origin: AirportInfo redemptionIssuers: _list[str] review: Review - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "UNDER_REVIEW", "underReview", @@ -615,7 +613,7 @@ class FlightClass(typing_extensions.TypedDict, total=False): textModulesData: _list[TextModuleData] valueAddedModuleData: _list[ValueAddedModuleData] version: str - viewUnlockRequirement: typing_extensions.Literal[ + viewUnlockRequirement: typing.Literal[ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW", @@ -623,16 +621,16 @@ class FlightClass(typing_extensions.TypedDict, total=False): wordMark: Image @typing.type_check_only -class FlightClassAddMessageResponse(typing_extensions.TypedDict, total=False): +class FlightClassAddMessageResponse(typing.TypedDict, total=False): resource: FlightClass @typing.type_check_only -class FlightClassListResponse(typing_extensions.TypedDict, total=False): +class FlightClassListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[FlightClass] @typing.type_check_only -class FlightHeader(typing_extensions.TypedDict, total=False): +class FlightHeader(typing.TypedDict, total=False): carrier: FlightCarrier flightNumber: str flightNumberDisplayOverride: str @@ -641,7 +639,7 @@ class FlightHeader(typing_extensions.TypedDict, total=False): operatingFlightNumber: str @typing.type_check_only -class FlightObject(typing_extensions.TypedDict, total=False): +class FlightObject(typing.TypedDict, total=False): appLinkData: AppLinkData barcode: Barcode boardingAndSeatingInfo: BoardingAndSeatingInfo @@ -662,7 +660,7 @@ class FlightObject(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] passConstraints: PassConstraints @@ -672,7 +670,7 @@ class FlightObject(typing_extensions.TypedDict, total=False): saveRestrictions: SaveRestrictions securityProgramLogo: Image smartTapRedemptionValue: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "active", @@ -689,22 +687,22 @@ class FlightObject(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class FlightObjectAddMessageResponse(typing_extensions.TypedDict, total=False): +class FlightObjectAddMessageResponse(typing.TypedDict, total=False): resource: FlightObject @typing.type_check_only -class FlightObjectListResponse(typing_extensions.TypedDict, total=False): +class FlightObjectListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[FlightObject] @typing.type_check_only -class FrequentFlyerInfo(typing_extensions.TypedDict, total=False): +class FrequentFlyerInfo(typing.TypedDict, total=False): frequentFlyerNumber: str frequentFlyerProgramName: LocalizedString kind: str @typing.type_check_only -class GenericClass(typing_extensions.TypedDict, total=False): +class GenericClass(typing.TypedDict, total=False): appLinkData: AppLinkData callbackOptions: CallbackOptions classTemplateInfo: ClassTemplateInfo @@ -714,7 +712,7 @@ class GenericClass(typing_extensions.TypedDict, total=False): linksModuleData: LinksModuleData merchantLocations: _list[MerchantLocation] messages: _list[Message] - multipleDevicesAndHoldersAllowedStatus: typing_extensions.Literal[ + multipleDevicesAndHoldersAllowedStatus: typing.Literal[ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", @@ -727,28 +725,28 @@ class GenericClass(typing_extensions.TypedDict, total=False): securityAnimation: SecurityAnimation textModulesData: _list[TextModuleData] valueAddedModuleData: _list[ValueAddedModuleData] - viewUnlockRequirement: typing_extensions.Literal[ + viewUnlockRequirement: typing.Literal[ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW", ] @typing.type_check_only -class GenericClassAddMessageResponse(typing_extensions.TypedDict, total=False): +class GenericClassAddMessageResponse(typing.TypedDict, total=False): resource: GenericClass @typing.type_check_only -class GenericClassListResponse(typing_extensions.TypedDict, total=False): +class GenericClassListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[GenericClass] @typing.type_check_only -class GenericObject(typing_extensions.TypedDict, total=False): +class GenericObject(typing.TypedDict, total=False): appLinkData: AppLinkData barcode: Barcode cardTitle: LocalizedString classId: str - genericType: typing_extensions.Literal[ + genericType: typing.Literal[ "GENERIC_TYPE_UNSPECIFIED", "GENERIC_SEASON_PASS", "GENERIC_UTILITY_BILLS", @@ -787,7 +785,7 @@ class GenericObject(typing_extensions.TypedDict, total=False): rotatingBarcode: RotatingBarcode saveRestrictions: SaveRestrictions smartTapRedemptionValue: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "active", @@ -805,16 +803,16 @@ class GenericObject(typing_extensions.TypedDict, total=False): wideLogo: Image @typing.type_check_only -class GenericObjectAddMessageResponse(typing_extensions.TypedDict, total=False): +class GenericObjectAddMessageResponse(typing.TypedDict, total=False): resource: GenericObject @typing.type_check_only -class GenericObjectListResponse(typing_extensions.TypedDict, total=False): +class GenericObjectListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[GenericObject] @typing.type_check_only -class GiftCardClass(typing_extensions.TypedDict, total=False): +class GiftCardClass(typing.TypedDict, total=False): allowBarcodeRedemption: bool allowMultipleUsersPerObject: bool appLinkData: AppLinkData @@ -842,7 +840,7 @@ class GiftCardClass(typing_extensions.TypedDict, total=False): merchantLocations: _list[MerchantLocation] merchantName: str messages: _list[Message] - multipleDevicesAndHoldersAllowedStatus: typing_extensions.Literal[ + multipleDevicesAndHoldersAllowedStatus: typing.Literal[ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", @@ -851,14 +849,14 @@ class GiftCardClass(typing_extensions.TypedDict, total=False): "oneUserAllDevices", "oneUserOneDevice", ] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] pinLabel: str programLogo: Image redemptionIssuers: _list[str] review: Review - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "UNDER_REVIEW", "underReview", @@ -873,7 +871,7 @@ class GiftCardClass(typing_extensions.TypedDict, total=False): textModulesData: _list[TextModuleData] valueAddedModuleData: _list[ValueAddedModuleData] version: str - viewUnlockRequirement: typing_extensions.Literal[ + viewUnlockRequirement: typing.Literal[ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW", @@ -882,16 +880,16 @@ class GiftCardClass(typing_extensions.TypedDict, total=False): wordMark: Image @typing.type_check_only -class GiftCardClassAddMessageResponse(typing_extensions.TypedDict, total=False): +class GiftCardClassAddMessageResponse(typing.TypedDict, total=False): resource: GiftCardClass @typing.type_check_only -class GiftCardClassListResponse(typing_extensions.TypedDict, total=False): +class GiftCardClassListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[GiftCardClass] @typing.type_check_only -class GiftCardObject(typing_extensions.TypedDict, total=False): +class GiftCardObject(typing.TypedDict, total=False): appLinkData: AppLinkData balance: Money balanceUpdateTime: DateTime @@ -914,7 +912,7 @@ class GiftCardObject(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] passConstraints: PassConstraints @@ -922,7 +920,7 @@ class GiftCardObject(typing_extensions.TypedDict, total=False): rotatingBarcode: RotatingBarcode saveRestrictions: SaveRestrictions smartTapRedemptionValue: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "active", @@ -939,44 +937,44 @@ class GiftCardObject(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class GiftCardObjectAddMessageResponse(typing_extensions.TypedDict, total=False): +class GiftCardObjectAddMessageResponse(typing.TypedDict, total=False): resource: GiftCardObject @typing.type_check_only -class GiftCardObjectListResponse(typing_extensions.TypedDict, total=False): +class GiftCardObjectListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[GiftCardObject] @typing.type_check_only -class GroupingInfo(typing_extensions.TypedDict, total=False): +class GroupingInfo(typing.TypedDict, total=False): groupingId: str sortIndex: int @typing.type_check_only -class Image(typing_extensions.TypedDict, total=False): +class Image(typing.TypedDict, total=False): contentDescription: LocalizedString kind: str privateImageId: str sourceUri: ImageUri @typing.type_check_only -class ImageModuleData(typing_extensions.TypedDict, total=False): +class ImageModuleData(typing.TypedDict, total=False): id: str mainImage: Image @typing.type_check_only -class ImageUri(typing_extensions.TypedDict, total=False): +class ImageUri(typing.TypedDict, total=False): description: str localizedDescription: LocalizedString uri: str @typing.type_check_only -class InfoModuleData(typing_extensions.TypedDict, total=False): +class InfoModuleData(typing.TypedDict, total=False): labelValueRows: _list[LabelValueRow] showLastUpdateTime: bool @typing.type_check_only -class Issuer(typing_extensions.TypedDict, total=False): +class Issuer(typing.TypedDict, total=False): callbackOptions: CallbackOptions contactInfo: IssuerContactInfo homepageUrl: str @@ -985,69 +983,79 @@ class Issuer(typing_extensions.TypedDict, total=False): smartTapMerchantData: SmartTapMerchantData @typing.type_check_only -class IssuerContactInfo(typing_extensions.TypedDict, total=False): +class IssuerContactInfo(typing.TypedDict, total=False): alertsEmails: _list[str] email: str name: str phone: str @typing.type_check_only -class IssuerListResponse(typing_extensions.TypedDict, total=False): +class IssuerListResponse(typing.TypedDict, total=False): resources: _list[Issuer] @typing.type_check_only -class IssuerToUserInfo(typing_extensions.TypedDict, total=False): - action: typing_extensions.Literal[ - "ACTION_UNSPECIFIED", "S2AP", "s2ap", "SIGN_UP", "signUp" - ] +class IssuerToUserInfo(typing.TypedDict, total=False): + action: typing.Literal["ACTION_UNSPECIFIED", "S2AP", "s2ap", "SIGN_UP", "signUp"] signUpInfo: SignUpInfo url: str value: str @typing.type_check_only -class JwtInsertResponse(typing_extensions.TypedDict, total=False): +class JsonResource(typing.TypedDict, total=False): + json: str + +@typing.type_check_only +class JwtInsertResponse(typing.TypedDict, total=False): resources: Resources saveUri: str @typing.type_check_only -class JwtResource(typing_extensions.TypedDict, total=False): +class JwtResource(typing.TypedDict, total=False): jwt: str @typing.type_check_only -class LabelValue(typing_extensions.TypedDict, total=False): +class JwtValidateRequest(typing.TypedDict, total=False): + jsonResource: JsonResource + jwtResource: JwtResource + +@typing.type_check_only +class JwtValidateResponse(typing.TypedDict, total=False): ... + +@typing.type_check_only +class LabelValue(typing.TypedDict, total=False): label: str localizedLabel: LocalizedString localizedValue: LocalizedString value: str @typing.type_check_only -class LabelValueRow(typing_extensions.TypedDict, total=False): +class LabelValueRow(typing.TypedDict, total=False): columns: _list[LabelValue] @typing.type_check_only -class LatLongPoint(typing_extensions.TypedDict, total=False): +class LatLongPoint(typing.TypedDict, total=False): kind: str latitude: float longitude: float @typing.type_check_only -class LinksModuleData(typing_extensions.TypedDict, total=False): +class LinksModuleData(typing.TypedDict, total=False): uris: _list[Uri] @typing.type_check_only -class ListTemplateOverride(typing_extensions.TypedDict, total=False): +class ListTemplateOverride(typing.TypedDict, total=False): firstRowOption: FirstRowOption secondRowOption: FieldSelector thirdRowOption: FieldSelector @typing.type_check_only -class LocalizedString(typing_extensions.TypedDict, total=False): +class LocalizedString(typing.TypedDict, total=False): defaultValue: TranslatedString kind: str translatedValues: _list[TranslatedString] @typing.type_check_only -class LoyaltyClass(typing_extensions.TypedDict, total=False): +class LoyaltyClass(typing.TypedDict, total=False): accountIdLabel: str accountNameLabel: str allowMultipleUsersPerObject: bool @@ -1077,7 +1085,7 @@ class LoyaltyClass(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - multipleDevicesAndHoldersAllowedStatus: typing_extensions.Literal[ + multipleDevicesAndHoldersAllowedStatus: typing.Literal[ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", @@ -1086,14 +1094,14 @@ class LoyaltyClass(typing_extensions.TypedDict, total=False): "oneUserAllDevices", "oneUserOneDevice", ] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] programLogo: Image programName: str redemptionIssuers: _list[str] review: Review - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "UNDER_REVIEW", "underReview", @@ -1112,7 +1120,7 @@ class LoyaltyClass(typing_extensions.TypedDict, total=False): textModulesData: _list[TextModuleData] valueAddedModuleData: _list[ValueAddedModuleData] version: str - viewUnlockRequirement: typing_extensions.Literal[ + viewUnlockRequirement: typing.Literal[ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW", @@ -1121,16 +1129,16 @@ class LoyaltyClass(typing_extensions.TypedDict, total=False): wordMark: Image @typing.type_check_only -class LoyaltyClassAddMessageResponse(typing_extensions.TypedDict, total=False): +class LoyaltyClassAddMessageResponse(typing.TypedDict, total=False): resource: LoyaltyClass @typing.type_check_only -class LoyaltyClassListResponse(typing_extensions.TypedDict, total=False): +class LoyaltyClassListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[LoyaltyClass] @typing.type_check_only -class LoyaltyObject(typing_extensions.TypedDict, total=False): +class LoyaltyObject(typing.TypedDict, total=False): accountId: str accountName: str appLinkData: AppLinkData @@ -1153,7 +1161,7 @@ class LoyaltyObject(typing_extensions.TypedDict, total=False): loyaltyPoints: LoyaltyPoints merchantLocations: _list[MerchantLocation] messages: _list[Message] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] passConstraints: PassConstraints @@ -1161,7 +1169,7 @@ class LoyaltyObject(typing_extensions.TypedDict, total=False): saveRestrictions: SaveRestrictions secondaryLoyaltyPoints: LoyaltyPoints smartTapRedemptionValue: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "active", @@ -1178,29 +1186,29 @@ class LoyaltyObject(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class LoyaltyObjectAddMessageResponse(typing_extensions.TypedDict, total=False): +class LoyaltyObjectAddMessageResponse(typing.TypedDict, total=False): resource: LoyaltyObject @typing.type_check_only -class LoyaltyObjectListResponse(typing_extensions.TypedDict, total=False): +class LoyaltyObjectListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[LoyaltyObject] @typing.type_check_only -class LoyaltyPoints(typing_extensions.TypedDict, total=False): +class LoyaltyPoints(typing.TypedDict, total=False): balance: LoyaltyPointsBalance label: str localizedLabel: LocalizedString @typing.type_check_only -class LoyaltyPointsBalance(typing_extensions.TypedDict, total=False): +class LoyaltyPointsBalance(typing.TypedDict, total=False): double: float int: int money: Money string: str @typing.type_check_only -class Media(typing_extensions.TypedDict, total=False): +class Media(typing.TypedDict, total=False): algorithm: str bigstoreObjectRef: str blobRef: str @@ -1226,7 +1234,7 @@ class Media(typing_extensions.TypedDict, total=False): mediaId: str objectId: ObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", @@ -1248,12 +1256,12 @@ class Media(typing_extensions.TypedDict, total=False): token: str @typing.type_check_only -class MediaRequestInfo(typing_extensions.TypedDict, total=False): +class MediaRequestInfo(typing.TypedDict, total=False): currentBytes: str customData: str diffObjectVersion: str finalStatus: int - notificationType: typing_extensions.Literal[ + notificationType: typing.Literal[ "START", "PROGRESS", "END", "RESPONSE_SENT", "ERROR" ] physicalHeaders: str @@ -1263,12 +1271,12 @@ class MediaRequestInfo(typing_extensions.TypedDict, total=False): totalBytesIsEstimated: bool @typing.type_check_only -class MerchantLocation(typing_extensions.TypedDict, total=False): +class MerchantLocation(typing.TypedDict, total=False): latitude: float longitude: float @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): body: str displayInterval: TimeInterval header: str @@ -1276,7 +1284,7 @@ class Message(typing_extensions.TypedDict, total=False): kind: str localizedBody: LocalizedString localizedHeader: LocalizedString - messageType: typing_extensions.Literal[ + messageType: typing.Literal[ "MESSAGE_TYPE_UNSPECIFIED", "TEXT", "text", @@ -1286,37 +1294,37 @@ class Message(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ModifyLinkedOfferObjects(typing_extensions.TypedDict, total=False): +class ModifyLinkedOfferObjects(typing.TypedDict, total=False): addLinkedOfferObjectIds: _list[str] removeLinkedOfferObjectIds: _list[str] @typing.type_check_only -class ModifyLinkedOfferObjectsRequest(typing_extensions.TypedDict, total=False): +class ModifyLinkedOfferObjectsRequest(typing.TypedDict, total=False): linkedOfferObjectIds: ModifyLinkedOfferObjects @typing.type_check_only -class ModuleViewConstraints(typing_extensions.TypedDict, total=False): +class ModuleViewConstraints(typing.TypedDict, total=False): displayInterval: TimeInterval @typing.type_check_only -class Money(typing_extensions.TypedDict, total=False): +class Money(typing.TypedDict, total=False): currencyCode: str kind: str micros: str @typing.type_check_only -class Notifications(typing_extensions.TypedDict, total=False): +class Notifications(typing.TypedDict, total=False): expiryNotification: ExpiryNotification upcomingNotification: UpcomingNotification @typing.type_check_only -class ObjectId(typing_extensions.TypedDict, total=False): +class ObjectId(typing.TypedDict, total=False): bucketName: str generation: str objectName: str @typing.type_check_only -class OfferClass(typing_extensions.TypedDict, total=False): +class OfferClass(typing.TypedDict, total=False): allowMultipleUsersPerObject: bool appLinkData: AppLinkData callbackOptions: CallbackOptions @@ -1344,7 +1352,7 @@ class OfferClass(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - multipleDevicesAndHoldersAllowedStatus: typing_extensions.Literal[ + multipleDevicesAndHoldersAllowedStatus: typing.Literal[ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", @@ -1353,11 +1361,11 @@ class OfferClass(typing_extensions.TypedDict, total=False): "oneUserAllDevices", "oneUserOneDevice", ] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] provider: str - redemptionChannel: typing_extensions.Literal[ + redemptionChannel: typing.Literal[ "REDEMPTION_CHANNEL_UNSPECIFIED", "INSTORE", "instore", @@ -1370,7 +1378,7 @@ class OfferClass(typing_extensions.TypedDict, total=False): ] redemptionIssuers: _list[str] review: Review - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "UNDER_REVIEW", "underReview", @@ -1388,7 +1396,7 @@ class OfferClass(typing_extensions.TypedDict, total=False): titleImage: Image valueAddedModuleData: _list[ValueAddedModuleData] version: str - viewUnlockRequirement: typing_extensions.Literal[ + viewUnlockRequirement: typing.Literal[ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW", @@ -1397,16 +1405,16 @@ class OfferClass(typing_extensions.TypedDict, total=False): wordMark: Image @typing.type_check_only -class OfferClassAddMessageResponse(typing_extensions.TypedDict, total=False): +class OfferClassAddMessageResponse(typing.TypedDict, total=False): resource: OfferClass @typing.type_check_only -class OfferClassListResponse(typing_extensions.TypedDict, total=False): +class OfferClassListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[OfferClass] @typing.type_check_only -class OfferObject(typing_extensions.TypedDict, total=False): +class OfferObject(typing.TypedDict, total=False): appLinkData: AppLinkData barcode: Barcode classId: str @@ -1425,14 +1433,14 @@ class OfferObject(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] passConstraints: PassConstraints rotatingBarcode: RotatingBarcode saveRestrictions: SaveRestrictions smartTapRedemptionValue: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "active", @@ -1449,45 +1457,45 @@ class OfferObject(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class OfferObjectAddMessageResponse(typing_extensions.TypedDict, total=False): +class OfferObjectAddMessageResponse(typing.TypedDict, total=False): resource: OfferObject @typing.type_check_only -class OfferObjectListResponse(typing_extensions.TypedDict, total=False): +class OfferObjectListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[OfferObject] @typing.type_check_only -class Pagination(typing_extensions.TypedDict, total=False): +class Pagination(typing.TypedDict, total=False): kind: str nextPageToken: str resultsPerPage: int @typing.type_check_only -class PassConstraints(typing_extensions.TypedDict, total=False): +class PassConstraints(typing.TypedDict, total=False): nfcConstraint: _list[ - typing_extensions.Literal[ + typing.Literal[ "NFC_CONSTRAINT_UNSPECIFIED", "BLOCK_PAYMENT", "BLOCK_CLOSED_LOOP_TRANSIT" ] ] - screenshotEligibility: typing_extensions.Literal[ + screenshotEligibility: typing.Literal[ "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", "ELIGIBLE", "INELIGIBLE" ] @typing.type_check_only -class Permission(typing_extensions.TypedDict, total=False): +class Permission(typing.TypedDict, total=False): emailAddress: str - role: typing_extensions.Literal[ + role: typing.Literal[ "ROLE_UNSPECIFIED", "OWNER", "owner", "READER", "reader", "WRITER", "writer" ] @typing.type_check_only -class Permissions(typing_extensions.TypedDict, total=False): +class Permissions(typing.TypedDict, total=False): issuerId: str permissions: _list[Permission] @typing.type_check_only -class PurchaseDetails(typing_extensions.TypedDict, total=False): +class PurchaseDetails(typing.TypedDict, total=False): accountId: str confirmationCode: str purchaseDateTime: str @@ -1495,14 +1503,14 @@ class PurchaseDetails(typing_extensions.TypedDict, total=False): ticketCost: TicketCost @typing.type_check_only -class ReservationInfo(typing_extensions.TypedDict, total=False): +class ReservationInfo(typing.TypedDict, total=False): confirmationCode: str eticketNumber: str frequentFlyerInfo: FrequentFlyerInfo kind: str @typing.type_check_only -class Resources(typing_extensions.TypedDict, total=False): +class Resources(typing.TypedDict, total=False): eventTicketClasses: _list[EventTicketClass] eventTicketObjects: _list[EventTicketObject] flightClasses: _list[FlightClass] @@ -1519,17 +1527,17 @@ class Resources(typing_extensions.TypedDict, total=False): transitObjects: _list[TransitObject] @typing.type_check_only -class Review(typing_extensions.TypedDict, total=False): +class Review(typing.TypedDict, total=False): comments: str @typing.type_check_only -class RotatingBarcode(typing_extensions.TypedDict, total=False): +class RotatingBarcode(typing.TypedDict, total=False): alternateText: str initialRotatingBarcodeValues: RotatingBarcodeValues - renderEncoding: typing_extensions.Literal["RENDER_ENCODING_UNSPECIFIED", "UTF_8"] + renderEncoding: typing.Literal["RENDER_ENCODING_UNSPECIFIED", "UTF_8"] showCodeText: LocalizedString totpDetails: RotatingBarcodeTotpDetails - type: typing_extensions.Literal[ + type: typing.Literal[ "BARCODE_TYPE_UNSPECIFIED", "AZTEC", "aztec", @@ -1562,63 +1570,61 @@ class RotatingBarcode(typing_extensions.TypedDict, total=False): valuePattern: str @typing.type_check_only -class RotatingBarcodeTotpDetails(typing_extensions.TypedDict, total=False): - algorithm: typing_extensions.Literal["TOTP_ALGORITHM_UNSPECIFIED", "TOTP_SHA1"] +class RotatingBarcodeTotpDetails(typing.TypedDict, total=False): + algorithm: typing.Literal["TOTP_ALGORITHM_UNSPECIFIED", "TOTP_SHA1"] parameters: _list[RotatingBarcodeTotpDetailsTotpParameters] periodMillis: str @typing.type_check_only -class RotatingBarcodeTotpDetailsTotpParameters( - typing_extensions.TypedDict, total=False -): +class RotatingBarcodeTotpDetailsTotpParameters(typing.TypedDict, total=False): key: str valueLength: int @typing.type_check_only -class RotatingBarcodeValues(typing_extensions.TypedDict, total=False): +class RotatingBarcodeValues(typing.TypedDict, total=False): periodMillis: str startDateTime: str values: _list[str] @typing.type_check_only -class SaveRestrictions(typing_extensions.TypedDict, total=False): +class SaveRestrictions(typing.TypedDict, total=False): restrictToEmailSha256: str @typing.type_check_only -class SecurityAnimation(typing_extensions.TypedDict, total=False): - animationType: typing_extensions.Literal[ +class SecurityAnimation(typing.TypedDict, total=False): + animationType: typing.Literal[ "ANIMATION_UNSPECIFIED", "FOIL_SHIMMER", "foilShimmer" ] @typing.type_check_only -class SetPassUpdateNoticeRequest(typing_extensions.TypedDict, total=False): +class SetPassUpdateNoticeRequest(typing.TypedDict, total=False): externalPassId: str updateUri: str updatedPassJwtSignature: str @typing.type_check_only -class SetPassUpdateNoticeResponse(typing_extensions.TypedDict, total=False): ... +class SetPassUpdateNoticeResponse(typing.TypedDict, total=False): ... @typing.type_check_only -class SignUpInfo(typing_extensions.TypedDict, total=False): +class SignUpInfo(typing.TypedDict, total=False): classId: str @typing.type_check_only -class SmartTap(typing_extensions.TypedDict, total=False): +class SmartTap(typing.TypedDict, total=False): id: str infos: _list[IssuerToUserInfo] kind: str merchantId: str @typing.type_check_only -class SmartTapMerchantData(typing_extensions.TypedDict, total=False): +class SmartTapMerchantData(typing.TypedDict, total=False): authenticationKeys: _list[AuthenticationKey] smartTapMerchantId: str @typing.type_check_only -class TemplateItem(typing_extensions.TypedDict, total=False): +class TemplateItem(typing.TypedDict, total=False): firstValue: FieldSelector - predefinedItem: typing_extensions.Literal[ + predefinedItem: typing.Literal[ "PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", @@ -1628,7 +1634,7 @@ class TemplateItem(typing_extensions.TypedDict, total=False): secondValue: FieldSelector @typing.type_check_only -class TextModuleData(typing_extensions.TypedDict, total=False): +class TextModuleData(typing.TypedDict, total=False): body: str header: str id: str @@ -1636,13 +1642,13 @@ class TextModuleData(typing_extensions.TypedDict, total=False): localizedHeader: LocalizedString @typing.type_check_only -class TicketCost(typing_extensions.TypedDict, total=False): +class TicketCost(typing.TypedDict, total=False): discountMessage: LocalizedString faceValue: Money purchasePrice: Money @typing.type_check_only -class TicketLeg(typing_extensions.TypedDict, total=False): +class TicketLeg(typing.TypedDict, total=False): arrivalDateTime: str carriage: str departureDateTime: str @@ -1659,17 +1665,17 @@ class TicketLeg(typing_extensions.TypedDict, total=False): zone: str @typing.type_check_only -class TicketRestrictions(typing_extensions.TypedDict, total=False): +class TicketRestrictions(typing.TypedDict, total=False): otherRestrictions: LocalizedString routeRestrictions: LocalizedString routeRestrictionsDetails: LocalizedString timeRestrictions: LocalizedString @typing.type_check_only -class TicketSeat(typing_extensions.TypedDict, total=False): +class TicketSeat(typing.TypedDict, total=False): coach: str customFareClass: LocalizedString - fareClass: typing_extensions.Literal[ + fareClass: typing.Literal[ "FARE_CLASS_UNSPECIFIED", "ECONOMY", "economy", @@ -1682,13 +1688,13 @@ class TicketSeat(typing_extensions.TypedDict, total=False): seatAssignment: LocalizedString @typing.type_check_only -class TimeInterval(typing_extensions.TypedDict, total=False): +class TimeInterval(typing.TypedDict, total=False): end: DateTime kind: str start: DateTime @typing.type_check_only -class TransitClass(typing_extensions.TypedDict, total=False): +class TransitClass(typing.TypedDict, total=False): activationOptions: ActivationOptions allowMultipleUsersPerObject: bool appLinkData: AppLinkData @@ -1730,7 +1736,7 @@ class TransitClass(typing_extensions.TypedDict, total=False): logo: Image merchantLocations: _list[MerchantLocation] messages: _list[Message] - multipleDevicesAndHoldersAllowedStatus: typing_extensions.Literal[ + multipleDevicesAndHoldersAllowedStatus: typing.Literal[ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", @@ -1739,12 +1745,12 @@ class TransitClass(typing_extensions.TypedDict, total=False): "oneUserAllDevices", "oneUserOneDevice", ] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] redemptionIssuers: _list[str] review: Review - reviewStatus: typing_extensions.Literal[ + reviewStatus: typing.Literal[ "REVIEW_STATUS_UNSPECIFIED", "UNDER_REVIEW", "underReview", @@ -1758,7 +1764,7 @@ class TransitClass(typing_extensions.TypedDict, total=False): securityAnimation: SecurityAnimation textModulesData: _list[TextModuleData] transitOperatorName: LocalizedString - transitType: typing_extensions.Literal[ + transitType: typing.Literal[ "TRANSIT_TYPE_UNSPECIFIED", "BUS", "bus", @@ -1773,7 +1779,7 @@ class TransitClass(typing_extensions.TypedDict, total=False): ] valueAddedModuleData: _list[ValueAddedModuleData] version: str - viewUnlockRequirement: typing_extensions.Literal[ + viewUnlockRequirement: typing.Literal[ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW", @@ -1783,22 +1789,22 @@ class TransitClass(typing_extensions.TypedDict, total=False): wordMark: Image @typing.type_check_only -class TransitClassAddMessageResponse(typing_extensions.TypedDict, total=False): +class TransitClassAddMessageResponse(typing.TypedDict, total=False): resource: TransitClass @typing.type_check_only -class TransitClassListResponse(typing_extensions.TypedDict, total=False): +class TransitClassListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[TransitClass] @typing.type_check_only -class TransitObject(typing_extensions.TypedDict, total=False): +class TransitObject(typing.TypedDict, total=False): activationStatus: ActivationStatus appLinkData: AppLinkData barcode: Barcode classId: str classReference: TransitClass - concessionCategory: typing_extensions.Literal[ + concessionCategory: typing.Literal[ "CONCESSION_CATEGORY_UNSPECIFIED", "ADULT", "adult", @@ -1824,12 +1830,12 @@ class TransitObject(typing_extensions.TypedDict, total=False): locations: _list[LatLongPoint] merchantLocations: _list[MerchantLocation] messages: _list[Message] - notifyPreference: typing_extensions.Literal[ + notifyPreference: typing.Literal[ "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "NOTIFY_ON_UPDATE" ] passConstraints: PassConstraints passengerNames: str - passengerType: typing_extensions.Literal[ + passengerType: typing.Literal[ "PASSENGER_TYPE_UNSPECIFIED", "SINGLE_PASSENGER", "singlePassenger", @@ -1840,7 +1846,7 @@ class TransitObject(typing_extensions.TypedDict, total=False): rotatingBarcode: RotatingBarcode saveRestrictions: SaveRestrictions smartTapRedemptionValue: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "active", @@ -1856,7 +1862,7 @@ class TransitObject(typing_extensions.TypedDict, total=False): ticketLegs: _list[TicketLeg] ticketNumber: str ticketRestrictions: TicketRestrictions - ticketStatus: typing_extensions.Literal[ + ticketStatus: typing.Literal[ "TICKET_STATUS_UNSPECIFIED", "USED", "used", @@ -1866,7 +1872,7 @@ class TransitObject(typing_extensions.TypedDict, total=False): "exchanged", ] tripId: str - tripType: typing_extensions.Literal[ + tripType: typing.Literal[ "TRIP_TYPE_UNSPECIFIED", "ROUND_TRIP", "roundTrip", "ONE_WAY", "oneWay" ] validTimeInterval: TimeInterval @@ -1874,45 +1880,43 @@ class TransitObject(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class TransitObjectAddMessageResponse(typing_extensions.TypedDict, total=False): +class TransitObjectAddMessageResponse(typing.TypedDict, total=False): resource: TransitObject @typing.type_check_only -class TransitObjectListResponse(typing_extensions.TypedDict, total=False): +class TransitObjectListResponse(typing.TypedDict, total=False): pagination: Pagination resources: _list[TransitObject] @typing.type_check_only -class TransitObjectUploadRotatingBarcodeValuesRequest( - typing_extensions.TypedDict, total=False -): +class TransitObjectUploadRotatingBarcodeValuesRequest(typing.TypedDict, total=False): blob: Media mediaRequestInfo: MediaRequestInfo @typing.type_check_only class TransitObjectUploadRotatingBarcodeValuesResponse( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): ... @typing.type_check_only -class TranslatedString(typing_extensions.TypedDict, total=False): +class TranslatedString(typing.TypedDict, total=False): kind: str language: str value: str @typing.type_check_only -class UpcomingNotification(typing_extensions.TypedDict, total=False): +class UpcomingNotification(typing.TypedDict, total=False): enableNotification: bool @typing.type_check_only -class UploadPrivateImageRequest(typing_extensions.TypedDict, total=False): ... +class UploadPrivateImageRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class UploadPrivateImageResponse(typing_extensions.TypedDict, total=False): +class UploadPrivateImageResponse(typing.TypedDict, total=False): privateImageId: str @typing.type_check_only -class Uri(typing_extensions.TypedDict, total=False): +class Uri(typing.TypedDict, total=False): description: str id: str kind: str @@ -1920,7 +1924,7 @@ class Uri(typing_extensions.TypedDict, total=False): uri: str @typing.type_check_only -class ValueAddedModuleData(typing_extensions.TypedDict, total=False): +class ValueAddedModuleData(typing.TypedDict, total=False): body: LocalizedString header: LocalizedString image: Image diff --git a/googleapiclient-stubs/_apis/webcontentpublisher/v1/resources.pyi b/googleapiclient-stubs/_apis/webcontentpublisher/v1/resources.pyi index 4fb50c899..a45255eeb 100644 --- a/googleapiclient-stubs/_apis/webcontentpublisher/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/webcontentpublisher/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -41,6 +40,14 @@ class WebContentPublisherResource(googleapiclient.discovery.Resource): previous_request: ListCtasResponseHttpRequest, previous_response: ListCtasResponse, ) -> ListCtasResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Cta, + updateMask: str | None = ..., + **kwargs: typing.Any, + ) -> CtaHttpRequest: ... def create( self, @@ -90,6 +97,16 @@ class WebContentPublisherResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> CheckFreeAccessResponseHttpRequest: ... + @typing.type_check_only + class UsersResource(googleapiclient.discovery.Resource): + def generatePlatformSiteTokens( + self, + *, + name: str, + body: GeneratePlatformSiteTokensRequest, + **kwargs: typing.Any, + ) -> GeneratePlatformSiteTokensResponseHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -104,6 +121,7 @@ class WebContentPublisherResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def organizations(self) -> OrganizationsResource: ... def publications(self) -> PublicationsResource: ... + def users(self) -> UsersResource: ... @typing.type_check_only class CheckFreeAccessResponseHttpRequest(googleapiclient.http.HttpRequest): @@ -121,6 +139,14 @@ class CtaHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Cta: ... +@typing.type_check_only +class GeneratePlatformSiteTokensResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GeneratePlatformSiteTokensResponse: ... + @typing.type_check_only class ListCtasResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/webcontentpublisher/v1/schemas.pyi b/googleapiclient-stubs/_apis/webcontentpublisher/v1/schemas.pyi index d6a830a66..6e8136ca4 100644 --- a/googleapiclient-stubs/_apis/webcontentpublisher/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/webcontentpublisher/v1/schemas.pyi @@ -1,17 +1,15 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CheckFreeAccessResponse(typing_extensions.TypedDict, total=False): +class CheckFreeAccessResponse(typing.TypedDict, total=False): isAllowed: bool @typing.type_check_only -class ContentPolicyStatus(typing_extensions.TypedDict, total=False): +class ContentPolicyStatus(typing.TypedDict, total=False): policyInfoUrl: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "OK", "VIOLATION_GRACE_PERIOD", @@ -22,50 +20,58 @@ class ContentPolicyStatus(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Cta(typing_extensions.TypedDict, total=False): +class Cta(typing.TypedDict, total=False): displayName: str name: str newsletterConfig: NewsletterConfig - state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE"] - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "NEWSLETTER_SIGNUP"] + state: typing.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE"] + type: typing.Literal["TYPE_UNSPECIFIED", "NEWSLETTER_SIGNUP"] @typing.type_check_only -class DomainProperty(typing_extensions.TypedDict, total=False): +class DomainProperty(typing.TypedDict, total=False): ownershipVerified: bool url: str @typing.type_check_only -class ListCtasResponse(typing_extensions.TypedDict, total=False): +class GeneratePlatformSiteTokensRequest(typing.TypedDict, total=False): ... + +@typing.type_check_only +class GeneratePlatformSiteTokensResponse(typing.TypedDict, total=False): + siteTokens: _list[SiteToken] + +@typing.type_check_only +class ListCtasResponse(typing.TypedDict, total=False): ctas: _list[Cta] nextPageToken: str @typing.type_check_only -class ListPublicationsResponse(typing_extensions.TypedDict, total=False): +class ListPublicationsResponse(typing.TypedDict, total=False): nextPageToken: str publications: _list[Publication] @typing.type_check_only -class NewsletterConfig(typing_extensions.TypedDict, total=False): +class NewsletterConfig(typing.TypedDict, total=False): customConsentText: str customMessage: str nameRequired: bool + optInRequired: bool title: str @typing.type_check_only -class Publication(typing_extensions.TypedDict, total=False): +class Publication(typing.TypedDict, total=False): additionalDomains: _list[DomainProperty] contentPolicyStatus: ContentPolicyStatus displayName: str languageCode: str name: str - onboardingState: typing_extensions.Literal[ + onboardingState: typing.Literal[ "ONBOARDING_STATE_UNSPECIFIED", "ACTION_REQUIRED", "PENDING_VERIFICATION", "COMPLETE", ] organizationId: str - paymentOption: typing_extensions.Literal[ + paymentOption: typing.Literal[ "PAYMENT_OPTION_UNSPECIFIED", "NONE", "SUBSCRIPTIONS", "CONTRIBUTIONS" ] primaryDomain: DomainProperty @@ -73,23 +79,32 @@ class Publication(typing_extensions.TypedDict, total=False): publicationId: str publicationPrivacyPolicyUrl: str publicationTosUrl: str + publicationType: typing.Literal[ + "PUBLICATION_TYPE_UNSPECIFIED", "FOR_PROFIT", "NON_PROFIT" + ] regionCode: str rrmProduct: RrmProduct slProduct: SlProduct @typing.type_check_only -class RrmProduct(typing_extensions.TypedDict, total=False): +class RrmProduct(typing.TypedDict, total=False): enabled: bool productTosUrl: str tosAcceptance: TosAcceptance @typing.type_check_only -class SlProduct(typing_extensions.TypedDict, total=False): +class SiteToken(typing.TypedDict, total=False): + domain: str + token: str + +@typing.type_check_only +class SlProduct(typing.TypedDict, total=False): enabled: bool gcpProjectNumber: str @typing.type_check_only -class TosAcceptance(typing_extensions.TypedDict, total=False): +class TosAcceptance(typing.TypedDict, total=False): + emailOptIn: bool signer: str signerTitle: str userAccepted: bool diff --git a/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi b/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi index 61d2410d8..7ab5befb9 100644 --- a/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/webfonts/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -18,18 +17,16 @@ class WebfontsResource(googleapiclient.discovery.Resource): def list( self, *, - capability: typing_extensions.Literal[ + capability: typing.Literal[ "CAPABILITY_UNSPECIFIED", "WOFF2", "VF", "FAMILY_TAGS" ] | _list[ - typing_extensions.Literal[ - "CAPABILITY_UNSPECIFIED", "WOFF2", "VF", "FAMILY_TAGS" - ] + typing.Literal["CAPABILITY_UNSPECIFIED", "WOFF2", "VF", "FAMILY_TAGS"] ] | None = ..., category: str | None = ..., family: str | _list[str] | None = ..., - sort: typing_extensions.Literal[ + sort: typing.Literal[ "SORT_UNDEFINED", "ALPHA", "DATE", "POPULARITY", "STYLE", "TRENDING" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi b/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi index 273afad6e..7ec38c508 100644 --- a/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/webfonts/v1/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Axis(typing_extensions.TypedDict, total=False): +class Axis(typing.TypedDict, total=False): end: float start: float tag: str @typing.type_check_only -class Tag(typing_extensions.TypedDict, total=False): +class Tag(typing.TypedDict, total=False): name: str weight: float @typing.type_check_only -class Webfont(typing_extensions.TypedDict, total=False): +class Webfont(typing.TypedDict, total=False): axes: _list[Axis] category: str colorCapabilities: _list[str] @@ -31,6 +29,6 @@ class Webfont(typing_extensions.TypedDict, total=False): version: str @typing.type_check_only -class WebfontList(typing_extensions.TypedDict, total=False): +class WebfontList(typing.TypedDict, total=False): items: _list[Webfont] kind: str diff --git a/googleapiclient-stubs/_apis/webmasters/v3/resources.pyi b/googleapiclient-stubs/_apis/webmasters/v3/resources.pyi index 59473a32d..c904491f3 100644 --- a/googleapiclient-stubs/_apis/webmasters/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/webmasters/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/webmasters/v3/schemas.pyi b/googleapiclient-stubs/_apis/webmasters/v3/schemas.pyi index 807bbf3f6..53bfaff68 100644 --- a/googleapiclient-stubs/_apis/webmasters/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/webmasters/v3/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ApiDataRow(typing_extensions.TypedDict, total=False): +class ApiDataRow(typing.TypedDict, total=False): clicks: float ctr: float impressions: float @@ -13,18 +11,18 @@ class ApiDataRow(typing_extensions.TypedDict, total=False): position: float @typing.type_check_only -class ApiDimensionFilter(typing_extensions.TypedDict, total=False): +class ApiDimensionFilter(typing.TypedDict, total=False): dimension: str expression: str operator: str @typing.type_check_only -class ApiDimensionFilterGroup(typing_extensions.TypedDict, total=False): +class ApiDimensionFilterGroup(typing.TypedDict, total=False): filters: _list[ApiDimensionFilter] groupType: str @typing.type_check_only -class SearchAnalyticsQueryRequest(typing_extensions.TypedDict, total=False): +class SearchAnalyticsQueryRequest(typing.TypedDict, total=False): aggregationType: str dataState: str dimensionFilterGroups: _list[ApiDimensionFilterGroup] @@ -36,25 +34,25 @@ class SearchAnalyticsQueryRequest(typing_extensions.TypedDict, total=False): startRow: int @typing.type_check_only -class SearchAnalyticsQueryResponse(typing_extensions.TypedDict, total=False): +class SearchAnalyticsQueryResponse(typing.TypedDict, total=False): responseAggregationType: str rows: _list[ApiDataRow] @typing.type_check_only -class SitemapsListResponse(typing_extensions.TypedDict, total=False): +class SitemapsListResponse(typing.TypedDict, total=False): sitemap: _list[WmxSitemap] @typing.type_check_only -class SitesListResponse(typing_extensions.TypedDict, total=False): +class SitesListResponse(typing.TypedDict, total=False): siteEntry: _list[WmxSite] @typing.type_check_only -class WmxSite(typing_extensions.TypedDict, total=False): +class WmxSite(typing.TypedDict, total=False): permissionLevel: str siteUrl: str @typing.type_check_only -class WmxSitemap(typing_extensions.TypedDict, total=False): +class WmxSitemap(typing.TypedDict, total=False): contents: _list[WmxSitemapContent] errors: str isPending: bool @@ -66,7 +64,7 @@ class WmxSitemap(typing_extensions.TypedDict, total=False): warnings: str @typing.type_check_only -class WmxSitemapContent(typing_extensions.TypedDict, total=False): +class WmxSitemapContent(typing.TypedDict, total=False): indexed: str submitted: str type: str diff --git a/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi b/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi index f00e485c9..8dcde7469 100644 --- a/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/webrisk/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -19,7 +18,7 @@ class WebRiskResource(googleapiclient.discovery.Resource): self, *, hashPrefix: str | None = ..., - threatTypes: typing_extensions.Literal[ + threatTypes: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -27,7 +26,7 @@ class WebRiskResource(googleapiclient.discovery.Resource): "SOCIAL_ENGINEERING_EXTENDED_COVERAGE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -92,14 +91,12 @@ class WebRiskResource(googleapiclient.discovery.Resource): *, constraints_maxDatabaseEntries: int | None = ..., constraints_maxDiffEntries: int | None = ..., - constraints_supportedCompressions: typing_extensions.Literal[ + constraints_supportedCompressions: typing.Literal[ "COMPRESSION_TYPE_UNSPECIFIED", "RAW", "RICE" ] - | _list[ - typing_extensions.Literal["COMPRESSION_TYPE_UNSPECIFIED", "RAW", "RICE"] - ] + | _list[typing.Literal["COMPRESSION_TYPE_UNSPECIFIED", "RAW", "RICE"]] | None = ..., - threatType: typing_extensions.Literal[ + threatType: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -116,7 +113,7 @@ class WebRiskResource(googleapiclient.discovery.Resource): def search( self, *, - threatTypes: typing_extensions.Literal[ + threatTypes: typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -124,7 +121,7 @@ class WebRiskResource(googleapiclient.discovery.Resource): "SOCIAL_ENGINEERING_EXTENDED_COVERAGE", ] | _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", diff --git a/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi b/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi index 4fa94a884..ceb02367b 100644 --- a/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/webrisk/v1/schemas.pyi @@ -1,59 +1,49 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class GoogleCloudWebriskV1ComputeThreatListDiffResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudWebriskV1ComputeThreatListDiffResponse(typing.TypedDict, total=False): additions: GoogleCloudWebriskV1ThreatEntryAdditions checksum: GoogleCloudWebriskV1ComputeThreatListDiffResponseChecksum newVersionToken: str recommendedNextDiff: str removals: GoogleCloudWebriskV1ThreatEntryRemovals - responseType: typing_extensions.Literal[ - "RESPONSE_TYPE_UNSPECIFIED", "DIFF", "RESET" - ] + responseType: typing.Literal["RESPONSE_TYPE_UNSPECIFIED", "DIFF", "RESET"] @typing.type_check_only class GoogleCloudWebriskV1ComputeThreatListDiffResponseChecksum( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): sha256: str @typing.type_check_only -class GoogleCloudWebriskV1RawHashes(typing_extensions.TypedDict, total=False): +class GoogleCloudWebriskV1RawHashes(typing.TypedDict, total=False): prefixSize: int rawHashes: str @typing.type_check_only -class GoogleCloudWebriskV1RawIndices(typing_extensions.TypedDict, total=False): +class GoogleCloudWebriskV1RawIndices(typing.TypedDict, total=False): indices: _list[int] @typing.type_check_only -class GoogleCloudWebriskV1RiceDeltaEncoding(typing_extensions.TypedDict, total=False): +class GoogleCloudWebriskV1RiceDeltaEncoding(typing.TypedDict, total=False): encodedData: str entryCount: int firstValue: str riceParameter: int @typing.type_check_only -class GoogleCloudWebriskV1SearchHashesResponse( - typing_extensions.TypedDict, total=False -): +class GoogleCloudWebriskV1SearchHashesResponse(typing.TypedDict, total=False): negativeExpireTime: str threats: _list[GoogleCloudWebriskV1SearchHashesResponseThreatHash] @typing.type_check_only -class GoogleCloudWebriskV1SearchHashesResponseThreatHash( - typing_extensions.TypedDict, total=False -): +class GoogleCloudWebriskV1SearchHashesResponseThreatHash(typing.TypedDict, total=False): expireTime: str hash: str threatTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -63,16 +53,14 @@ class GoogleCloudWebriskV1SearchHashesResponseThreatHash( ] @typing.type_check_only -class GoogleCloudWebriskV1SearchUrisResponse(typing_extensions.TypedDict, total=False): +class GoogleCloudWebriskV1SearchUrisResponse(typing.TypedDict, total=False): threat: GoogleCloudWebriskV1SearchUrisResponseThreatUri @typing.type_check_only -class GoogleCloudWebriskV1SearchUrisResponseThreatUri( - typing_extensions.TypedDict, total=False -): +class GoogleCloudWebriskV1SearchUrisResponseThreatUri(typing.TypedDict, total=False): expireTime: str threatTypes: _list[ - typing_extensions.Literal[ + typing.Literal[ "THREAT_TYPE_UNSPECIFIED", "MALWARE", "SOCIAL_ENGINEERING", @@ -82,34 +70,30 @@ class GoogleCloudWebriskV1SearchUrisResponseThreatUri( ] @typing.type_check_only -class GoogleCloudWebriskV1Submission(typing_extensions.TypedDict, total=False): +class GoogleCloudWebriskV1Submission(typing.TypedDict, total=False): uri: str @typing.type_check_only -class GoogleCloudWebriskV1ThreatEntryAdditions( - typing_extensions.TypedDict, total=False -): +class GoogleCloudWebriskV1ThreatEntryAdditions(typing.TypedDict, total=False): rawHashes: _list[GoogleCloudWebriskV1RawHashes] riceHashes: GoogleCloudWebriskV1RiceDeltaEncoding @typing.type_check_only -class GoogleCloudWebriskV1ThreatEntryRemovals(typing_extensions.TypedDict, total=False): +class GoogleCloudWebriskV1ThreatEntryRemovals(typing.TypedDict, total=False): rawIndices: GoogleCloudWebriskV1RawIndices riceIndices: GoogleCloudWebriskV1RiceDeltaEncoding @typing.type_check_only -class GoogleLongrunningCancelOperationRequest( - typing_extensions.TypedDict, total=False -): ... +class GoogleLongrunningCancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): +class GoogleLongrunningListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] unreachable: _list[str] @typing.type_check_only -class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): +class GoogleLongrunningOperation(typing.TypedDict, total=False): done: bool error: GoogleRpcStatus metadata: dict[str, typing.Any] @@ -117,10 +101,10 @@ class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class GoogleRpcStatus(typing_extensions.TypedDict, total=False): +class GoogleRpcStatus(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str diff --git a/googleapiclient-stubs/_apis/websecurityscanner/v1/resources.pyi b/googleapiclient-stubs/_apis/websecurityscanner/v1/resources.pyi index 1492e9fe9..34ae66b2f 100644 --- a/googleapiclient-stubs/_apis/websecurityscanner/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/websecurityscanner/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/websecurityscanner/v1/schemas.pyi b/googleapiclient-stubs/_apis/websecurityscanner/v1/schemas.pyi index 2e0903a6e..ebc694eca 100644 --- a/googleapiclient-stubs/_apis/websecurityscanner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/websecurityscanner/v1/schemas.pyi @@ -1,32 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): customAccount: CustomAccount googleAccount: GoogleAccount iapCredential: IapCredential @typing.type_check_only -class CrawledUrl(typing_extensions.TypedDict, total=False): +class CrawledUrl(typing.TypedDict, total=False): body: str httpMethod: str url: str @typing.type_check_only -class CustomAccount(typing_extensions.TypedDict, total=False): +class CustomAccount(typing.TypedDict, total=False): loginUrl: str password: str username: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): body: str description: str finalUrl: str @@ -38,7 +36,7 @@ class Finding(typing_extensions.TypedDict, total=False): name: str outdatedLibrary: OutdatedLibrary reproductionUrl: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] trackingId: str @@ -49,69 +47,69 @@ class Finding(typing_extensions.TypedDict, total=False): xxe: Xxe @typing.type_check_only -class FindingTypeStats(typing_extensions.TypedDict, total=False): +class FindingTypeStats(typing.TypedDict, total=False): findingCount: int findingType: str @typing.type_check_only -class Form(typing_extensions.TypedDict, total=False): +class Form(typing.TypedDict, total=False): actionUri: str fields: _list[str] @typing.type_check_only -class GoogleAccount(typing_extensions.TypedDict, total=False): +class GoogleAccount(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class IapCredential(typing_extensions.TypedDict, total=False): +class IapCredential(typing.TypedDict, total=False): iapTestServiceAccountInfo: IapTestServiceAccountInfo @typing.type_check_only -class IapTestServiceAccountInfo(typing_extensions.TypedDict, total=False): +class IapTestServiceAccountInfo(typing.TypedDict, total=False): targetAudienceClientId: str @typing.type_check_only -class ListCrawledUrlsResponse(typing_extensions.TypedDict, total=False): +class ListCrawledUrlsResponse(typing.TypedDict, total=False): crawledUrls: _list[CrawledUrl] nextPageToken: str @typing.type_check_only -class ListFindingTypeStatsResponse(typing_extensions.TypedDict, total=False): +class ListFindingTypeStatsResponse(typing.TypedDict, total=False): findingTypeStats: _list[FindingTypeStats] @typing.type_check_only -class ListFindingsResponse(typing_extensions.TypedDict, total=False): +class ListFindingsResponse(typing.TypedDict, total=False): findings: _list[Finding] nextPageToken: str @typing.type_check_only -class ListScanConfigsResponse(typing_extensions.TypedDict, total=False): +class ListScanConfigsResponse(typing.TypedDict, total=False): nextPageToken: str scanConfigs: _list[ScanConfig] @typing.type_check_only -class ListScanRunsResponse(typing_extensions.TypedDict, total=False): +class ListScanRunsResponse(typing.TypedDict, total=False): nextPageToken: str scanRuns: _list[ScanRun] @typing.type_check_only -class OutdatedLibrary(typing_extensions.TypedDict, total=False): +class OutdatedLibrary(typing.TypedDict, total=False): learnMoreUrls: _list[str] libraryName: str version: str @typing.type_check_only -class ScanConfig(typing_extensions.TypedDict, total=False): +class ScanConfig(typing.TypedDict, total=False): authentication: Authentication blacklistPatterns: _list[str] displayName: str - exportToSecurityCommandCenter: typing_extensions.Literal[ + exportToSecurityCommandCenter: typing.Literal[ "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED", "ENABLED", "DISABLED" ] ignoreHttpStatusErrors: bool @@ -119,12 +117,12 @@ class ScanConfig(typing_extensions.TypedDict, total=False): managedScan: bool maxQps: int name: str - riskLevel: typing_extensions.Literal["RISK_LEVEL_UNSPECIFIED", "NORMAL", "LOW"] + riskLevel: typing.Literal["RISK_LEVEL_UNSPECIFIED", "NORMAL", "LOW"] schedule: Schedule startingUrls: _list[str] staticIpScan: bool targetPlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "TARGET_PLATFORM_UNSPECIFIED", "APP_ENGINE", "COMPUTE", @@ -132,13 +130,13 @@ class ScanConfig(typing_extensions.TypedDict, total=False): "CLOUD_FUNCTIONS", ] ] - userAgent: typing_extensions.Literal[ + userAgent: typing.Literal[ "USER_AGENT_UNSPECIFIED", "CHROME_LINUX", "CHROME_ANDROID", "SAFARI_IPHONE" ] @typing.type_check_only -class ScanConfigError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScanConfigError(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "OK", "INTERNAL_ERROR", @@ -186,16 +184,16 @@ class ScanConfigError(typing_extensions.TypedDict, total=False): fieldName: str @typing.type_check_only -class ScanRun(typing_extensions.TypedDict, total=False): +class ScanRun(typing.TypedDict, total=False): endTime: str errorTrace: ScanRunErrorTrace - executionState: typing_extensions.Literal[ + executionState: typing.Literal[ "EXECUTION_STATE_UNSPECIFIED", "QUEUED", "SCANNING", "FINISHED" ] hasVulnerabilities: bool name: str progressPercent: int - resultState: typing_extensions.Literal[ + resultState: typing.Literal[ "RESULT_STATE_UNSPECIFIED", "SUCCESS", "ERROR", "KILLED" ] startTime: str @@ -204,8 +202,8 @@ class ScanRun(typing_extensions.TypedDict, total=False): warningTraces: _list[ScanRunWarningTrace] @typing.type_check_only -class ScanRunErrorTrace(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScanRunErrorTrace(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INTERNAL_ERROR", "SCAN_CONFIG_ISSUE", @@ -219,8 +217,8 @@ class ScanRunErrorTrace(typing_extensions.TypedDict, total=False): scanConfigError: ScanConfigError @typing.type_check_only -class ScanRunWarningTrace(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScanRunWarningTrace(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INSUFFICIENT_CRAWL_RESULTS", "TOO_MANY_CRAWL_RESULTS", @@ -230,33 +228,33 @@ class ScanRunWarningTrace(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): intervalDurationDays: int scheduleTime: str @typing.type_check_only -class StartScanRunRequest(typing_extensions.TypedDict, total=False): ... +class StartScanRunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopScanRunRequest(typing_extensions.TypedDict, total=False): ... +class StopScanRunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ViolatingResource(typing_extensions.TypedDict, total=False): +class ViolatingResource(typing.TypedDict, total=False): contentType: str resourceUrl: str @typing.type_check_only -class VulnerableHeaders(typing_extensions.TypedDict, total=False): +class VulnerableHeaders(typing.TypedDict, total=False): headers: _list[Header] missingHeaders: _list[Header] @typing.type_check_only -class VulnerableParameters(typing_extensions.TypedDict, total=False): +class VulnerableParameters(typing.TypedDict, total=False): parameterNames: _list[str] @typing.type_check_only -class Xss(typing_extensions.TypedDict, total=False): - attackVector: typing_extensions.Literal[ +class Xss(typing.TypedDict, total=False): + attackVector: typing.Literal[ "ATTACK_VECTOR_UNSPECIFIED", "LOCAL_STORAGE", "SESSION_STORAGE", @@ -279,8 +277,6 @@ class Xss(typing_extensions.TypedDict, total=False): storedXssSeedingUrl: str @typing.type_check_only -class Xxe(typing_extensions.TypedDict, total=False): - payloadLocation: typing_extensions.Literal[ - "LOCATION_UNSPECIFIED", "COMPLETE_REQUEST_BODY" - ] +class Xxe(typing.TypedDict, total=False): + payloadLocation: typing.Literal["LOCATION_UNSPECIFIED", "COMPLETE_REQUEST_BODY"] payloadValue: str diff --git a/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/resources.pyi index 1492e9fe9..34ae66b2f 100644 --- a/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/schemas.pyi index e3cc5f540..9479bf86e 100644 --- a/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/websecurityscanner/v1alpha/schemas.pyi @@ -1,35 +1,33 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): customAccount: CustomAccount googleAccount: GoogleAccount @typing.type_check_only -class CrawledUrl(typing_extensions.TypedDict, total=False): +class CrawledUrl(typing.TypedDict, total=False): body: str httpMethod: str url: str @typing.type_check_only -class CustomAccount(typing_extensions.TypedDict, total=False): +class CustomAccount(typing.TypedDict, total=False): loginUrl: str password: str username: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): body: str description: str finalUrl: str - findingType: typing_extensions.Literal[ + findingType: typing.Literal[ "FINDING_TYPE_UNSPECIFIED", "MIXED_CONTENT", "OUTDATED_LIBRARY", @@ -59,9 +57,9 @@ class Finding(typing_extensions.TypedDict, total=False): xss: Xss @typing.type_check_only -class FindingTypeStats(typing_extensions.TypedDict, total=False): +class FindingTypeStats(typing.TypedDict, total=False): findingCount: int - findingType: typing_extensions.Literal[ + findingType: typing.Literal[ "FINDING_TYPE_UNSPECIFIED", "MIXED_CONTENT", "OUTDATED_LIBRARY", @@ -80,47 +78,47 @@ class FindingTypeStats(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class GoogleAccount(typing_extensions.TypedDict, total=False): +class GoogleAccount(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class ListCrawledUrlsResponse(typing_extensions.TypedDict, total=False): +class ListCrawledUrlsResponse(typing.TypedDict, total=False): crawledUrls: _list[CrawledUrl] nextPageToken: str @typing.type_check_only -class ListFindingTypeStatsResponse(typing_extensions.TypedDict, total=False): +class ListFindingTypeStatsResponse(typing.TypedDict, total=False): findingTypeStats: _list[FindingTypeStats] @typing.type_check_only -class ListFindingsResponse(typing_extensions.TypedDict, total=False): +class ListFindingsResponse(typing.TypedDict, total=False): findings: _list[Finding] nextPageToken: str @typing.type_check_only -class ListScanConfigsResponse(typing_extensions.TypedDict, total=False): +class ListScanConfigsResponse(typing.TypedDict, total=False): nextPageToken: str scanConfigs: _list[ScanConfig] @typing.type_check_only -class ListScanRunsResponse(typing_extensions.TypedDict, total=False): +class ListScanRunsResponse(typing.TypedDict, total=False): nextPageToken: str scanRuns: _list[ScanRun] @typing.type_check_only -class OutdatedLibrary(typing_extensions.TypedDict, total=False): +class OutdatedLibrary(typing.TypedDict, total=False): learnMoreUrls: _list[str] libraryName: str version: str @typing.type_check_only -class ScanConfig(typing_extensions.TypedDict, total=False): +class ScanConfig(typing.TypedDict, total=False): authentication: Authentication blacklistPatterns: _list[str] displayName: str @@ -130,7 +128,7 @@ class ScanConfig(typing_extensions.TypedDict, total=False): schedule: Schedule startingUrls: _list[str] targetPlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "TARGET_PLATFORM_UNSPECIFIED", "APP_ENGINE", "COMPUTE", @@ -138,20 +136,20 @@ class ScanConfig(typing_extensions.TypedDict, total=False): "CLOUD_FUNCTIONS", ] ] - userAgent: typing_extensions.Literal[ + userAgent: typing.Literal[ "USER_AGENT_UNSPECIFIED", "CHROME_LINUX", "CHROME_ANDROID", "SAFARI_IPHONE" ] @typing.type_check_only -class ScanRun(typing_extensions.TypedDict, total=False): +class ScanRun(typing.TypedDict, total=False): endTime: str - executionState: typing_extensions.Literal[ + executionState: typing.Literal[ "EXECUTION_STATE_UNSPECIFIED", "QUEUED", "SCANNING", "FINISHED" ] hasVulnerabilities: bool name: str progressPercent: int - resultState: typing_extensions.Literal[ + resultState: typing.Literal[ "RESULT_STATE_UNSPECIFIED", "SUCCESS", "ERROR", "KILLED" ] startTime: str @@ -159,31 +157,31 @@ class ScanRun(typing_extensions.TypedDict, total=False): urlsTestedCount: str @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): intervalDurationDays: int scheduleTime: str @typing.type_check_only -class StartScanRunRequest(typing_extensions.TypedDict, total=False): ... +class StartScanRunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopScanRunRequest(typing_extensions.TypedDict, total=False): ... +class StopScanRunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ViolatingResource(typing_extensions.TypedDict, total=False): +class ViolatingResource(typing.TypedDict, total=False): contentType: str resourceUrl: str @typing.type_check_only -class VulnerableHeaders(typing_extensions.TypedDict, total=False): +class VulnerableHeaders(typing.TypedDict, total=False): headers: _list[Header] missingHeaders: _list[Header] @typing.type_check_only -class VulnerableParameters(typing_extensions.TypedDict, total=False): +class VulnerableParameters(typing.TypedDict, total=False): parameterNames: _list[str] @typing.type_check_only -class Xss(typing_extensions.TypedDict, total=False): +class Xss(typing.TypedDict, total=False): errorMessage: str stackTraces: _list[str] diff --git a/googleapiclient-stubs/_apis/websecurityscanner/v1beta/resources.pyi b/googleapiclient-stubs/_apis/websecurityscanner/v1beta/resources.pyi index 1492e9fe9..34ae66b2f 100644 --- a/googleapiclient-stubs/_apis/websecurityscanner/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/websecurityscanner/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/websecurityscanner/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/websecurityscanner/v1beta/schemas.pyi index d1f82c631..bc41a179e 100644 --- a/googleapiclient-stubs/_apis/websecurityscanner/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/websecurityscanner/v1beta/schemas.pyi @@ -1,32 +1,30 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Authentication(typing_extensions.TypedDict, total=False): +class Authentication(typing.TypedDict, total=False): customAccount: CustomAccount googleAccount: GoogleAccount iapCredential: IapCredential @typing.type_check_only -class CrawledUrl(typing_extensions.TypedDict, total=False): +class CrawledUrl(typing.TypedDict, total=False): body: str httpMethod: str url: str @typing.type_check_only -class CustomAccount(typing_extensions.TypedDict, total=False): +class CustomAccount(typing.TypedDict, total=False): loginUrl: str password: str username: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Finding(typing_extensions.TypedDict, total=False): +class Finding(typing.TypedDict, total=False): body: str description: str finalUrl: str @@ -38,7 +36,7 @@ class Finding(typing_extensions.TypedDict, total=False): name: str outdatedLibrary: OutdatedLibrary reproductionUrl: str - severity: typing_extensions.Literal[ + severity: typing.Literal[ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] trackingId: str @@ -49,69 +47,69 @@ class Finding(typing_extensions.TypedDict, total=False): xxe: Xxe @typing.type_check_only -class FindingTypeStats(typing_extensions.TypedDict, total=False): +class FindingTypeStats(typing.TypedDict, total=False): findingCount: int findingType: str @typing.type_check_only -class Form(typing_extensions.TypedDict, total=False): +class Form(typing.TypedDict, total=False): actionUri: str fields: _list[str] @typing.type_check_only -class GoogleAccount(typing_extensions.TypedDict, total=False): +class GoogleAccount(typing.TypedDict, total=False): password: str username: str @typing.type_check_only -class Header(typing_extensions.TypedDict, total=False): +class Header(typing.TypedDict, total=False): name: str value: str @typing.type_check_only -class IapCredential(typing_extensions.TypedDict, total=False): +class IapCredential(typing.TypedDict, total=False): iapTestServiceAccountInfo: IapTestServiceAccountInfo @typing.type_check_only -class IapTestServiceAccountInfo(typing_extensions.TypedDict, total=False): +class IapTestServiceAccountInfo(typing.TypedDict, total=False): targetAudienceClientId: str @typing.type_check_only -class ListCrawledUrlsResponse(typing_extensions.TypedDict, total=False): +class ListCrawledUrlsResponse(typing.TypedDict, total=False): crawledUrls: _list[CrawledUrl] nextPageToken: str @typing.type_check_only -class ListFindingTypeStatsResponse(typing_extensions.TypedDict, total=False): +class ListFindingTypeStatsResponse(typing.TypedDict, total=False): findingTypeStats: _list[FindingTypeStats] @typing.type_check_only -class ListFindingsResponse(typing_extensions.TypedDict, total=False): +class ListFindingsResponse(typing.TypedDict, total=False): findings: _list[Finding] nextPageToken: str @typing.type_check_only -class ListScanConfigsResponse(typing_extensions.TypedDict, total=False): +class ListScanConfigsResponse(typing.TypedDict, total=False): nextPageToken: str scanConfigs: _list[ScanConfig] @typing.type_check_only -class ListScanRunsResponse(typing_extensions.TypedDict, total=False): +class ListScanRunsResponse(typing.TypedDict, total=False): nextPageToken: str scanRuns: _list[ScanRun] @typing.type_check_only -class OutdatedLibrary(typing_extensions.TypedDict, total=False): +class OutdatedLibrary(typing.TypedDict, total=False): learnMoreUrls: _list[str] libraryName: str version: str @typing.type_check_only -class ScanConfig(typing_extensions.TypedDict, total=False): +class ScanConfig(typing.TypedDict, total=False): authentication: Authentication blacklistPatterns: _list[str] displayName: str - exportToSecurityCommandCenter: typing_extensions.Literal[ + exportToSecurityCommandCenter: typing.Literal[ "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED", "ENABLED", "DISABLED" ] ignoreHttpStatusErrors: bool @@ -119,12 +117,12 @@ class ScanConfig(typing_extensions.TypedDict, total=False): managedScan: bool maxQps: int name: str - riskLevel: typing_extensions.Literal["RISK_LEVEL_UNSPECIFIED", "NORMAL", "LOW"] + riskLevel: typing.Literal["RISK_LEVEL_UNSPECIFIED", "NORMAL", "LOW"] schedule: Schedule startingUrls: _list[str] staticIpScan: bool targetPlatforms: _list[ - typing_extensions.Literal[ + typing.Literal[ "TARGET_PLATFORM_UNSPECIFIED", "APP_ENGINE", "COMPUTE", @@ -132,13 +130,13 @@ class ScanConfig(typing_extensions.TypedDict, total=False): "CLOUD_FUNCTIONS", ] ] - userAgent: typing_extensions.Literal[ + userAgent: typing.Literal[ "USER_AGENT_UNSPECIFIED", "CHROME_LINUX", "CHROME_ANDROID", "SAFARI_IPHONE" ] @typing.type_check_only -class ScanConfigError(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScanConfigError(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "OK", "INTERNAL_ERROR", @@ -186,16 +184,16 @@ class ScanConfigError(typing_extensions.TypedDict, total=False): fieldName: str @typing.type_check_only -class ScanRun(typing_extensions.TypedDict, total=False): +class ScanRun(typing.TypedDict, total=False): endTime: str errorTrace: ScanRunErrorTrace - executionState: typing_extensions.Literal[ + executionState: typing.Literal[ "EXECUTION_STATE_UNSPECIFIED", "QUEUED", "SCANNING", "FINISHED" ] hasVulnerabilities: bool name: str progressPercent: int - resultState: typing_extensions.Literal[ + resultState: typing.Literal[ "RESULT_STATE_UNSPECIFIED", "SUCCESS", "ERROR", "KILLED" ] startTime: str @@ -204,8 +202,8 @@ class ScanRun(typing_extensions.TypedDict, total=False): warningTraces: _list[ScanRunWarningTrace] @typing.type_check_only -class ScanRunErrorTrace(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScanRunErrorTrace(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INTERNAL_ERROR", "SCAN_CONFIG_ISSUE", @@ -219,8 +217,8 @@ class ScanRunErrorTrace(typing_extensions.TypedDict, total=False): scanConfigError: ScanConfigError @typing.type_check_only -class ScanRunWarningTrace(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class ScanRunWarningTrace(typing.TypedDict, total=False): + code: typing.Literal[ "CODE_UNSPECIFIED", "INSUFFICIENT_CRAWL_RESULTS", "TOO_MANY_CRAWL_RESULTS", @@ -230,38 +228,36 @@ class ScanRunWarningTrace(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): +class Schedule(typing.TypedDict, total=False): intervalDurationDays: int scheduleTime: str @typing.type_check_only -class StartScanRunRequest(typing_extensions.TypedDict, total=False): ... +class StartScanRunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class StopScanRunRequest(typing_extensions.TypedDict, total=False): ... +class StopScanRunRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class ViolatingResource(typing_extensions.TypedDict, total=False): +class ViolatingResource(typing.TypedDict, total=False): contentType: str resourceUrl: str @typing.type_check_only -class VulnerableHeaders(typing_extensions.TypedDict, total=False): +class VulnerableHeaders(typing.TypedDict, total=False): headers: _list[Header] missingHeaders: _list[Header] @typing.type_check_only -class VulnerableParameters(typing_extensions.TypedDict, total=False): +class VulnerableParameters(typing.TypedDict, total=False): parameterNames: _list[str] @typing.type_check_only -class Xss(typing_extensions.TypedDict, total=False): +class Xss(typing.TypedDict, total=False): errorMessage: str stackTraces: _list[str] @typing.type_check_only -class Xxe(typing_extensions.TypedDict, total=False): - payloadLocation: typing_extensions.Literal[ - "LOCATION_UNSPECIFIED", "COMPLETE_REQUEST_BODY" - ] +class Xxe(typing.TypedDict, total=False): + payloadLocation: typing.Literal["LOCATION_UNSPECIFIED", "COMPLETE_REQUEST_BODY"] payloadValue: str diff --git a/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi b/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi index 721c1b844..e860a52a0 100644 --- a/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workflowexecutions/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -43,7 +42,7 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "EXECUTION_ENTRY_VIEW_UNSPECIFIED", "EXECUTION_ENTRY_VIEW_BASIC", "EXECUTION_ENTRY_VIEW_DETAILED", @@ -60,7 +59,7 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): pageSize: int | None = ..., pageToken: str | None = ..., skip: int | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "EXECUTION_ENTRY_VIEW_UNSPECIFIED", "EXECUTION_ENTRY_VIEW_BASIC", "EXECUTION_ENTRY_VIEW_DETAILED", @@ -98,7 +97,7 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "EXECUTION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -112,7 +111,7 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): orderBy: str | None = ..., pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "EXECUTION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi b/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi index 804c9410d..f3c05cd6c 100644 --- a/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflowexecutions/v1/schemas.pyi @@ -1,39 +1,37 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Callback(typing_extensions.TypedDict, total=False): +class Callback(typing.TypedDict, total=False): availablePayloads: _list[str] method: str name: str waiters: str @typing.type_check_only -class CancelExecutionRequest(typing_extensions.TypedDict, total=False): ... +class CancelExecutionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class DeleteExecutionHistoryRequest(typing_extensions.TypedDict, total=False): ... +class DeleteExecutionHistoryRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): context: str payload: str stackTrace: StackTrace @typing.type_check_only -class Exception(typing_extensions.TypedDict, total=False): +class Exception(typing.TypedDict, total=False): payload: str @typing.type_check_only -class Execution(typing_extensions.TypedDict, total=False): +class Execution(typing.TypedDict, total=False): argument: str - callLogLevel: typing_extensions.Literal[ + callLogLevel: typing.Literal[ "CALL_LOG_LEVEL_UNSPECIFIED", "LOG_ALL_CALLS", "LOG_ERRORS_ONLY", "LOG_NONE" ] createTime: str @@ -41,7 +39,7 @@ class Execution(typing_extensions.TypedDict, total=False): duration: str endTime: str error: Error - executionHistoryLevel: typing_extensions.Literal[ + executionHistoryLevel: typing.Literal[ "EXECUTION_HISTORY_LEVEL_UNSPECIFIED", "EXECUTION_HISTORY_BASIC", "EXECUTION_HISTORY_DETAILED", @@ -50,7 +48,7 @@ class Execution(typing_extensions.TypedDict, total=False): name: str result: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "SUCCEEDED", @@ -64,40 +62,40 @@ class Execution(typing_extensions.TypedDict, total=False): workflowRevisionId: str @typing.type_check_only -class ExportDataResponse(typing_extensions.TypedDict, total=False): +class ExportDataResponse(typing.TypedDict, total=False): data: str @typing.type_check_only -class ListCallbacksResponse(typing_extensions.TypedDict, total=False): +class ListCallbacksResponse(typing.TypedDict, total=False): callbacks: _list[Callback] nextPageToken: str @typing.type_check_only -class ListExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[Execution] nextPageToken: str @typing.type_check_only -class ListStepEntriesResponse(typing_extensions.TypedDict, total=False): +class ListStepEntriesResponse(typing.TypedDict, total=False): nextPageToken: str stepEntries: _list[StepEntry] totalSize: int @typing.type_check_only -class NavigationInfo(typing_extensions.TypedDict, total=False): +class NavigationInfo(typing.TypedDict, total=False): children: _list[str] next: str parent: str previous: str @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): column: str length: str line: str @typing.type_check_only -class PubsubMessage(typing_extensions.TypedDict, total=False): +class PubsubMessage(typing.TypedDict, total=False): attributes: dict[str, typing.Any] data: str messageId: str @@ -105,38 +103,38 @@ class PubsubMessage(typing_extensions.TypedDict, total=False): publishTime: str @typing.type_check_only -class StackTrace(typing_extensions.TypedDict, total=False): +class StackTrace(typing.TypedDict, total=False): elements: _list[StackTraceElement] @typing.type_check_only -class StackTraceElement(typing_extensions.TypedDict, total=False): +class StackTraceElement(typing.TypedDict, total=False): position: Position routine: str step: str @typing.type_check_only -class StateError(typing_extensions.TypedDict, total=False): +class StateError(typing.TypedDict, total=False): details: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "KMS_ERROR"] + type: typing.Literal["TYPE_UNSPECIFIED", "KMS_ERROR"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): currentSteps: _list[Step] @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): routine: str step: str @typing.type_check_only -class StepEntry(typing_extensions.TypedDict, total=False): +class StepEntry(typing.TypedDict, total=False): createTime: str entryId: str exception: Exception name: str navigationInfo: NavigationInfo routine: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_IN_PROGRESS", "STATE_SUCCEEDED", @@ -145,7 +143,7 @@ class StepEntry(typing_extensions.TypedDict, total=False): ] step: str stepEntryMetadata: StepEntryMetadata - stepType: typing_extensions.Literal[ + stepType: typing.Literal[ "STEP_TYPE_UNSPECIFIED", "STEP_ASSIGN", "STEP_STD_LIB_CALL", @@ -171,10 +169,10 @@ class StepEntry(typing_extensions.TypedDict, total=False): variableData: VariableData @typing.type_check_only -class StepEntryMetadata(typing_extensions.TypedDict, total=False): +class StepEntryMetadata(typing.TypedDict, total=False): expectedIteration: str progressNumber: str - progressType: typing_extensions.Literal[ + progressType: typing.Literal[ "PROGRESS_TYPE_UNSPECIFIED", "PROGRESS_TYPE_FOR", "PROGRESS_TYPE_SWITCH", @@ -185,12 +183,12 @@ class StepEntryMetadata(typing_extensions.TypedDict, total=False): threadId: str @typing.type_check_only -class TriggerPubsubExecutionRequest(typing_extensions.TypedDict, total=False): +class TriggerPubsubExecutionRequest(typing.TypedDict, total=False): GCPCloudEventsMode: str deliveryAttempt: int message: PubsubMessage subscription: str @typing.type_check_only -class VariableData(typing_extensions.TypedDict, total=False): +class VariableData(typing.TypedDict, total=False): variables: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/workflowexecutions/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workflowexecutions/v1beta/resources.pyi index 85cf4bbb8..1e3671134 100644 --- a/googleapiclient-stubs/_apis/workflowexecutions/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workflowexecutions/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -35,7 +34,7 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): self, *, name: str, - view: typing_extensions.Literal[ + view: typing.Literal[ "EXECUTION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., @@ -47,7 +46,7 @@ class WorkflowExecutionsResource(googleapiclient.discovery.Resource): parent: str, pageSize: int | None = ..., pageToken: str | None = ..., - view: typing_extensions.Literal[ + view: typing.Literal[ "EXECUTION_VIEW_UNSPECIFIED", "BASIC", "FULL" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/workflowexecutions/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workflowexecutions/v1beta/schemas.pyi index 6e339b300..945ce9d74 100644 --- a/googleapiclient-stubs/_apis/workflowexecutions/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflowexecutions/v1beta/schemas.pyi @@ -1,22 +1,20 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class CancelExecutionRequest(typing_extensions.TypedDict, total=False): ... +class CancelExecutionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Error(typing_extensions.TypedDict, total=False): +class Error(typing.TypedDict, total=False): context: str payload: str stackTrace: StackTrace @typing.type_check_only -class Execution(typing_extensions.TypedDict, total=False): +class Execution(typing.TypedDict, total=False): argument: str - callLogLevel: typing_extensions.Literal[ + callLogLevel: typing.Literal[ "CALL_LOG_LEVEL_UNSPECIFIED", "LOG_ALL_CALLS", "LOG_ERRORS_ONLY" ] endTime: str @@ -24,7 +22,7 @@ class Execution(typing_extensions.TypedDict, total=False): name: str result: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "SUCCEEDED", @@ -37,31 +35,31 @@ class Execution(typing_extensions.TypedDict, total=False): workflowRevisionId: str @typing.type_check_only -class ListExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[Execution] nextPageToken: str @typing.type_check_only -class Position(typing_extensions.TypedDict, total=False): +class Position(typing.TypedDict, total=False): column: str length: str line: str @typing.type_check_only -class StackTrace(typing_extensions.TypedDict, total=False): +class StackTrace(typing.TypedDict, total=False): elements: _list[StackTraceElement] @typing.type_check_only -class StackTraceElement(typing_extensions.TypedDict, total=False): +class StackTraceElement(typing.TypedDict, total=False): position: Position routine: str step: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): currentSteps: _list[Step] @typing.type_check_only -class Step(typing_extensions.TypedDict, total=False): +class Step(typing.TypedDict, total=False): routine: str step: str diff --git a/googleapiclient-stubs/_apis/workflows/v1/resources.pyi b/googleapiclient-stubs/_apis/workflows/v1/resources.pyi index 257163e6c..925a8f7df 100644 --- a/googleapiclient-stubs/_apis/workflows/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi b/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi index 149aebee6..b823ffbf5 100644 --- a/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi @@ -1,36 +1,34 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListWorkflowRevisionsResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowRevisionsResponse(typing.TypedDict, total=False): nextPageToken: str workflows: _list[Workflow] @typing.type_check_only -class ListWorkflowsResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workflows: _list[Workflow] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -38,7 +36,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -46,7 +44,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -54,28 +52,28 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class StateError(typing_extensions.TypedDict, total=False): +class StateError(typing.TypedDict, total=False): details: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "KMS_ERROR"] + type: typing.Literal["TYPE_UNSPECIFIED", "KMS_ERROR"] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Workflow(typing_extensions.TypedDict, total=False): +class Workflow(typing.TypedDict, total=False): allKmsKeys: _list[str] allKmsKeysVersions: _list[str] - callLogLevel: typing_extensions.Literal[ + callLogLevel: typing.Literal[ "CALL_LOG_LEVEL_UNSPECIFIED", "LOG_ALL_CALLS", "LOG_ERRORS_ONLY", "LOG_NONE" ] createTime: str cryptoKeyName: str cryptoKeyVersion: str description: str - executionHistoryLevel: typing_extensions.Literal[ + executionHistoryLevel: typing.Literal[ "EXECUTION_HISTORY_LEVEL_UNSPECIFIED", "EXECUTION_HISTORY_BASIC", "EXECUTION_HISTORY_DETAILED", @@ -86,7 +84,7 @@ class Workflow(typing_extensions.TypedDict, total=False): revisionId: str serviceAccount: str sourceContents: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "UNAVAILABLE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "UNAVAILABLE"] stateError: StateError tags: dict[str, typing.Any] updateTime: str diff --git a/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi index 265ffc7e0..ef80f9f34 100644 --- a/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi index 38dc9e2db..e659a54f5 100644 --- a/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi @@ -1,31 +1,29 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListWorkflowsResponse(typing_extensions.TypedDict, total=False): +class ListWorkflowsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workflows: _list[Workflow] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -33,7 +31,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -41,7 +39,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -49,13 +47,13 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Workflow(typing_extensions.TypedDict, total=False): +class Workflow(typing.TypedDict, total=False): createTime: str description: str labels: dict[str, typing.Any] @@ -64,5 +62,5 @@ class Workflow(typing_extensions.TypedDict, total=False): revisionId: str serviceAccount: str sourceContents: str - state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE"] + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE"] updateTime: str diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi index ade0b085c..63d9b2b23 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -286,7 +285,7 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): *, parent: str, customRulesBucket: str | None = ..., - evaluationType: typing_extensions.Literal[ + evaluationType: typing.Literal[ "EVALUATION_TYPE_UNSPECIFIED", "SAP", "SQL_SERVER", "OTHER" ] | None = ..., diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi index 965d4b893..e6ee7a090 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class ActiveDirectory(typing_extensions.TypedDict, total=False): +class ActiveDirectory(typing.TypedDict, total=False): dnsAddress: str domain: str domainUsername: str secretManagerSecret: str - type: typing_extensions.Literal[ + type: typing.Literal[ "ACTIVE_DIRECTORY_TYPE_UNSPECIFIED", "GCP_MANAGED", "SELF_MANAGED" ] @typing.type_check_only -class Actuation(typing_extensions.TypedDict, total=False): +class Actuation(typing.TypedDict, total=False): actuationOutput: ActuationOutput deploymentOutput: _list[DeploymentOutput] endTime: str name: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "INFRA_CREATING", "SUCCEEDED", @@ -32,13 +30,13 @@ class Actuation(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ActuationOutput(typing_extensions.TypedDict, total=False): +class ActuationOutput(typing.TypedDict, total=False): actuateLogs: str ansibleError: str ansibleFailedTask: _list[str] blueprintId: str cloudbuildId: str - errorCode: typing_extensions.Literal[ + errorCode: typing.Literal[ "ERROR_CODE_UNSPECIFIED", "TERRAFORM_FAILED", "PERMISSION_DENIED_IN_TERRAFORM", @@ -59,12 +57,12 @@ class ActuationOutput(typing_extensions.TypedDict, total=False): terraformTemplate: str @typing.type_check_only -class AgentCommand(typing_extensions.TypedDict, total=False): +class AgentCommand(typing.TypedDict, total=False): command: str parameters: dict[str, typing.Any] @typing.type_check_only -class AgentStates(typing_extensions.TypedDict, total=False): +class AgentStates(typing.TypedDict, total=False): availableVersion: str hanaMonitoring: ServiceStates installedVersion: str @@ -73,15 +71,15 @@ class AgentStates(typing_extensions.TypedDict, total=False): systemDiscovery: ServiceStates @typing.type_check_only -class AgentStatus(typing_extensions.TypedDict, total=False): +class AgentStatus(typing.TypedDict, total=False): agentName: str availableVersion: str - cloudApiAccessFullScopesGranted: typing_extensions.Literal[ + cloudApiAccessFullScopesGranted: typing.Literal[ "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] configurationErrorMessage: str configurationFilePath: str - configurationValid: typing_extensions.Literal[ + configurationValid: typing.Literal[ "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] installedVersion: str @@ -89,47 +87,47 @@ class AgentStatus(typing_extensions.TypedDict, total=False): kernelVersion: SapDiscoveryResourceInstancePropertiesKernelVersion references: _list[AgentStatusReference] services: _list[AgentStatusServiceStatus] - systemdServiceEnabled: typing_extensions.Literal[ + systemdServiceEnabled: typing.Literal[ "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] - systemdServiceRunning: typing_extensions.Literal[ + systemdServiceRunning: typing.Literal[ "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] @typing.type_check_only -class AgentStatusConfigValue(typing_extensions.TypedDict, total=False): +class AgentStatusConfigValue(typing.TypedDict, total=False): isDefault: bool name: str value: str @typing.type_check_only -class AgentStatusIAMPermission(typing_extensions.TypedDict, total=False): - granted: typing_extensions.Literal[ +class AgentStatusIAMPermission(typing.TypedDict, total=False): + granted: typing.Literal[ "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] name: str @typing.type_check_only -class AgentStatusReference(typing_extensions.TypedDict, total=False): +class AgentStatusReference(typing.TypedDict, total=False): name: str url: str @typing.type_check_only -class AgentStatusServiceStatus(typing_extensions.TypedDict, total=False): +class AgentStatusServiceStatus(typing.TypedDict, total=False): configValues: _list[AgentStatusConfigValue] errorMessage: str - fullyFunctional: typing_extensions.Literal[ + fullyFunctional: typing.Literal[ "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] iamPermissions: _list[AgentStatusIAMPermission] name: str - state: typing_extensions.Literal[ + state: typing.Literal[ "UNSPECIFIED_STATE", "SUCCESS_STATE", "FAILURE_STATE", "ERROR_STATE" ] unspecifiedStateMessage: str @typing.type_check_only -class AppDetails(typing_extensions.TypedDict, total=False): +class AppDetails(typing.TypedDict, total=False): appInstanceId: str appServiceAccount: str appVmNames: _list[str] @@ -148,24 +146,24 @@ class AppDetails(typing_extensions.TypedDict, total=False): vmsMultiplier: int @typing.type_check_only -class BackupProperties(typing_extensions.TypedDict, total=False): - latestBackupStatus: typing_extensions.Literal[ +class BackupProperties(typing.TypedDict, total=False): + latestBackupStatus: typing.Literal[ "BACKUP_STATE_UNSPECIFIED", "BACKUP_STATE_SUCCESS", "BACKUP_STATE_FAILURE" ] latestBackupTime: str @typing.type_check_only -class BigQueryDestination(typing_extensions.TypedDict, total=False): +class BigQueryDestination(typing.TypedDict, total=False): createNewResultsTable: bool destinationDataset: str @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class CloudResource(typing_extensions.TypedDict, total=False): +class CloudResource(typing.TypedDict, total=False): instanceProperties: InstanceProperties - kind: typing_extensions.Literal[ + kind: typing.Literal[ "RESOURCE_KIND_UNSPECIFIED", "RESOURCE_KIND_INSTANCE", "RESOURCE_KIND_DISK", @@ -182,24 +180,24 @@ class CloudResource(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Command(typing_extensions.TypedDict, total=False): +class Command(typing.TypedDict, total=False): agentCommand: AgentCommand shellCommand: ShellCommand @typing.type_check_only -class ComponentHealth(typing_extensions.TypedDict, total=False): +class ComponentHealth(typing.TypedDict, total=False): component: str componentHealthChecks: _list[HealthCheck] - componentHealthType: typing_extensions.Literal[ + componentHealthType: typing.Literal[ "TYPE_UNSPECIFIED", "TYPE_REQUIRED", "TYPE_OPTIONAL", "TYPE_SPECIAL" ] - state: typing_extensions.Literal[ + state: typing.Literal[ "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", "CRITICAL", "UNSUPPORTED" ] subComponentsHealth: _list[ComponentHealth] @typing.type_check_only -class Database(typing_extensions.TypedDict, total=False): +class Database(typing.TypedDict, total=False): diskType: str floatingIpAddress: str machineType: str @@ -210,12 +208,10 @@ class Database(typing_extensions.TypedDict, total=False): soleTenantNode: str soleTenantNodeType: str tempdbOnSsd: bool - tenancyModel: typing_extensions.Literal[ - "TENANCY_MODEL_UNSPECIFIED", "SHARED", "SOLE_TENANT" - ] + tenancyModel: typing.Literal["TENANCY_MODEL_UNSPECIFIED", "SHARED", "SOLE_TENANT"] @typing.type_check_only -class DatabaseDetails(typing_extensions.TypedDict, total=False): +class DatabaseDetails(typing.TypedDict, total=False): databaseServiceAccount: str diskType: str image: str @@ -227,9 +223,9 @@ class DatabaseDetails(typing_extensions.TypedDict, total=False): sid: str @typing.type_check_only -class DatabaseProperties(typing_extensions.TypedDict, total=False): +class DatabaseProperties(typing.TypedDict, total=False): backupProperties: BackupProperties - databaseType: typing_extensions.Literal[ + databaseType: typing.Literal[ "DATABASE_TYPE_UNSPECIFIED", "HANA", "MAX_DB", @@ -240,38 +236,38 @@ class DatabaseProperties(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class Deployment(typing_extensions.TypedDict, total=False): +class Deployment(typing.TypedDict, total=False): createTime: str description: str name: str sapSystemS4Config: SapSystemS4Config serviceAccount: str sqlServerWorkload: SqlServerWorkload - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED" ] terraformVariables: dict[str, typing.Any] updateTime: str workerPool: str - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "SAP_S4", "SQL_SERVER", "ORACLE" ] @typing.type_check_only -class DeploymentOutput(typing_extensions.TypedDict, total=False): +class DeploymentOutput(typing.TypedDict, total=False): name: str type: str @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class Evaluation(typing_extensions.TypedDict, total=False): +class Evaluation(typing.TypedDict, total=False): bigQueryDestination: BigQueryDestination createTime: str customRulesBucket: str description: str - evaluationType: typing_extensions.Literal[ + evaluationType: typing.Literal[ "EVALUATION_TYPE_UNSPECIFIED", "SAP", "SQL_SERVER", "OTHER" ] kmsKey: str @@ -284,9 +280,9 @@ class Evaluation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class Execution(typing_extensions.TypedDict, total=False): +class Execution(typing.TypedDict, total=False): endTime: str - engine: typing_extensions.Literal["ENGINE_UNSPECIFIED", "ENGINE_SCANNER", "V2"] + engine: typing.Literal["ENGINE_UNSPECIFIED", "ENGINE_SCANNER", "V2"] evaluationId: str externalDataSources: _list[ExternalDataSources] inventoryTime: str @@ -295,51 +291,49 @@ class Execution(typing_extensions.TypedDict, total=False): notices: _list[Notice] resultSummary: Summary ruleResults: _list[RuleExecutionResult] - runType: typing_extensions.Literal["TYPE_UNSPECIFIED", "ONE_TIME", "SCHEDULED"] + runType: typing.Literal["TYPE_UNSPECIFIED", "ONE_TIME", "SCHEDULED"] startTime: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED" - ] + state: typing.Literal["STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "FAILED"] @typing.type_check_only -class ExecutionResult(typing_extensions.TypedDict, total=False): +class ExecutionResult(typing.TypedDict, total=False): commands: _list[Command] documentationUrl: str resource: Resource rule: str severity: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TYPE_PASSED", "TYPE_VIOLATED"] + type: typing.Literal["TYPE_UNSPECIFIED", "TYPE_PASSED", "TYPE_VIOLATED"] violationDetails: ViolationDetails violationMessage: str @typing.type_check_only -class ExternalDataSources(typing_extensions.TypedDict, total=False): +class ExternalDataSources(typing.TypedDict, total=False): assetType: str name: str - type: typing_extensions.Literal["TYPE_UNSPECIFIED", "BIG_QUERY_TABLE"] + type: typing.Literal["TYPE_UNSPECIFIED", "BIG_QUERY_TABLE"] uri: str @typing.type_check_only -class GceInstanceFilter(typing_extensions.TypedDict, total=False): +class GceInstanceFilter(typing.TypedDict, total=False): serviceAccounts: _list[str] @typing.type_check_only -class HealthCheck(typing_extensions.TypedDict, total=False): +class HealthCheck(typing.TypedDict, total=False): message: str metric: str resource: CloudResource source: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "PASSED", "FAILED", "DEGRADED", "SKIPPED", "UNSUPPORTED" ] @typing.type_check_only -class IAMPermission(typing_extensions.TypedDict, total=False): +class IAMPermission(typing.TypedDict, total=False): granted: bool name: str @typing.type_check_only -class Insight(typing_extensions.TypedDict, total=False): +class Insight(typing.TypedDict, total=False): agentStatus: AgentStatus instanceId: str openShiftValidation: OpenShiftValidation @@ -350,11 +344,11 @@ class Insight(typing_extensions.TypedDict, total=False): torsoValidation: TorsoValidation @typing.type_check_only -class InstanceProperties(typing_extensions.TypedDict, total=False): +class InstanceProperties(typing.TypedDict, total=False): instanceNumber: str machineType: str roles: _list[ - typing_extensions.Literal[ + typing.Literal[ "INSTANCE_ROLE_UNSPECIFIED", "INSTANCE_ROLE_ASCS", "INSTANCE_ROLE_ERS", @@ -368,62 +362,62 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): upcomingMaintenanceEvent: UpcomingMaintenanceEvent @typing.type_check_only -class ListActuationsResponse(typing_extensions.TypedDict, total=False): +class ListActuationsResponse(typing.TypedDict, total=False): actuations: _list[Actuation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): +class ListDeploymentsResponse(typing.TypedDict, total=False): deployments: _list[Deployment] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListDiscoveredProfilesResponse(typing_extensions.TypedDict, total=False): +class ListDiscoveredProfilesResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workloadProfiles: _list[WorkloadProfile] @typing.type_check_only -class ListEvaluationsResponse(typing_extensions.TypedDict, total=False): +class ListEvaluationsResponse(typing.TypedDict, total=False): evaluations: _list[Evaluation] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListExecutionResultsResponse(typing_extensions.TypedDict, total=False): +class ListExecutionResultsResponse(typing.TypedDict, total=False): executionResults: _list[ExecutionResult] nextPageToken: str @typing.type_check_only -class ListExecutionsResponse(typing_extensions.TypedDict, total=False): +class ListExecutionsResponse(typing.TypedDict, total=False): executions: _list[Execution] nextPageToken: str unreachable: _list[str] @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListRulesResponse(typing_extensions.TypedDict, total=False): +class ListRulesResponse(typing.TypedDict, total=False): rules: _list[Rule] @typing.type_check_only -class ListScannedResourcesResponse(typing_extensions.TypedDict, total=False): +class ListScannedResourcesResponse(typing.TypedDict, total=False): nextPageToken: str scannedResources: _list[ScannedResource] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -431,13 +425,13 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class LocationDetails(typing_extensions.TypedDict, total=False): +class LocationDetails(typing.TypedDict, total=False): createCommsFirewall: bool customTags: _list[str] deploymentDnsEnabled: bool dnsZone: str dnsZoneNameSuffix: str - internetAccess: typing_extensions.Literal[ + internetAccess: typing.Literal[ "INTERNETACCESS_UNSPECIFIED", "ALLOW_EXTERNAL_IP", "CONFIGURE_NAT" ] networkProject: str @@ -448,16 +442,16 @@ class LocationDetails(typing_extensions.TypedDict, total=False): zone2Name: str @typing.type_check_only -class Notice(typing_extensions.TypedDict, total=False): +class Notice(typing.TypedDict, total=False): message: str @typing.type_check_only -class OpenShiftValidation(typing_extensions.TypedDict, total=False): +class OpenShiftValidation(typing.TypedDict, total=False): clusterId: str validationDetails: dict[str, typing.Any] @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -465,7 +459,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -475,7 +469,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class Pacemaker(typing_extensions.TypedDict, total=False): +class Pacemaker(typing.TypedDict, total=False): bucketNameNodeCertificates: str pacemakerCluster: str pacemakerClusterSecret: str @@ -484,31 +478,29 @@ class Pacemaker(typing_extensions.TypedDict, total=False): sqlPacemakerUsername: str @typing.type_check_only -class Product(typing_extensions.TypedDict, total=False): +class Product(typing.TypedDict, total=False): name: str version: str @typing.type_check_only -class Resource(typing_extensions.TypedDict, total=False): +class Resource(typing.TypedDict, total=False): name: str serviceAccount: str type: str @typing.type_check_only -class ResourceFilter(typing_extensions.TypedDict, total=False): +class ResourceFilter(typing.TypedDict, total=False): gceInstanceFilter: GceInstanceFilter inclusionLabels: dict[str, typing.Any] resourceIdPatterns: _list[str] scopes: _list[str] @typing.type_check_only -class ResourceStatus(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" - ] +class ResourceStatus(typing.TypedDict, total=False): + state: typing.Literal["STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING"] @typing.type_check_only -class Rule(typing_extensions.TypedDict, total=False): +class Rule(typing.TypedDict, total=False): assetType: str description: str displayName: str @@ -517,45 +509,45 @@ class Rule(typing_extensions.TypedDict, total=False): primaryCategory: str remediation: str revisionId: str - ruleType: typing_extensions.Literal["RULE_TYPE_UNSPECIFIED", "BASELINE", "CUSTOM"] + ruleType: typing.Literal["RULE_TYPE_UNSPECIFIED", "BASELINE", "CUSTOM"] secondaryCategory: str severity: str tags: _list[str] uri: str @typing.type_check_only -class RuleExecutionResult(typing_extensions.TypedDict, total=False): +class RuleExecutionResult(typing.TypedDict, total=False): message: str resultCount: str rule: str scannedResourceCount: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_SUCCESS", "STATE_FAILURE", "STATE_SKIPPED" ] @typing.type_check_only -class RuleOutput(typing_extensions.TypedDict, total=False): +class RuleOutput(typing.TypedDict, total=False): details: dict[str, typing.Any] message: str @typing.type_check_only -class RunEvaluationRequest(typing_extensions.TypedDict, total=False): +class RunEvaluationRequest(typing.TypedDict, total=False): execution: Execution executionId: str requestId: str @typing.type_check_only -class SapComponent(typing_extensions.TypedDict, total=False): +class SapComponent(typing.TypedDict, total=False): databaseProperties: DatabaseProperties haHosts: _list[str] resources: _list[CloudResource] sid: str - topologyType: typing_extensions.Literal[ + topologyType: typing.Literal[ "TOPOLOGY_TYPE_UNSPECIFIED", "TOPOLOGY_SCALE_UP", "TOPOLOGY_SCALE_OUT" ] @typing.type_check_only -class SapDiscovery(typing_extensions.TypedDict, total=False): +class SapDiscovery(typing.TypedDict, total=False): applicationLayer: SapDiscoveryComponent databaseLayer: SapDiscoveryComponent metadata: SapDiscoveryMetadata @@ -566,7 +558,7 @@ class SapDiscovery(typing_extensions.TypedDict, total=False): workloadProperties: SapDiscoveryWorkloadProperties @typing.type_check_only -class SapDiscoveryComponent(typing_extensions.TypedDict, total=False): +class SapDiscoveryComponent(typing.TypedDict, total=False): applicationProperties: SapDiscoveryComponentApplicationProperties databaseProperties: SapDiscoveryComponentDatabaseProperties haHosts: _list[str] @@ -575,17 +567,15 @@ class SapDiscoveryComponent(typing_extensions.TypedDict, total=False): replicationSites: _list[SapDiscoveryComponentReplicationSite] resources: _list[SapDiscoveryResource] sid: str - topologyType: typing_extensions.Literal[ + topologyType: typing.Literal[ "TOPOLOGY_TYPE_UNSPECIFIED", "TOPOLOGY_SCALE_UP", "TOPOLOGY_SCALE_OUT" ] @typing.type_check_only -class SapDiscoveryComponentApplicationProperties( - typing_extensions.TypedDict, total=False -): +class SapDiscoveryComponentApplicationProperties(typing.TypedDict, total=False): abap: bool appInstanceNumber: str - applicationType: typing_extensions.Literal[ + applicationType: typing.Literal[ "APPLICATION_TYPE_UNSPECIFIED", "NETWEAVER", "NETWEAVER_ABAP", "NETWEAVER_JAVA" ] ascsInstanceNumber: str @@ -595,9 +585,9 @@ class SapDiscoveryComponentApplicationProperties( nfsUri: str @typing.type_check_only -class SapDiscoveryComponentDatabaseProperties(typing_extensions.TypedDict, total=False): +class SapDiscoveryComponentDatabaseProperties(typing.TypedDict, total=False): databaseSid: str - databaseType: typing_extensions.Literal[ + databaseType: typing.Literal[ "DATABASE_TYPE_UNSPECIFIED", "HANA", "MAX_DB", @@ -613,22 +603,22 @@ class SapDiscoveryComponentDatabaseProperties(typing_extensions.TypedDict, total sharedNfsUri: str @typing.type_check_only -class SapDiscoveryComponentReplicationSite(typing_extensions.TypedDict, total=False): +class SapDiscoveryComponentReplicationSite(typing.TypedDict, total=False): component: SapDiscoveryComponent sourceSite: str @typing.type_check_only -class SapDiscoveryMetadata(typing_extensions.TypedDict, total=False): +class SapDiscoveryMetadata(typing.TypedDict, total=False): customerRegion: str definedSystem: str environmentType: str sapProduct: str @typing.type_check_only -class SapDiscoveryResource(typing_extensions.TypedDict, total=False): +class SapDiscoveryResource(typing.TypedDict, total=False): instanceProperties: SapDiscoveryResourceInstanceProperties relatedResources: _list[str] - resourceKind: typing_extensions.Literal[ + resourceKind: typing.Literal[ "RESOURCE_KIND_UNSPECIFIED", "RESOURCE_KIND_INSTANCE", "RESOURCE_KIND_DISK", @@ -642,7 +632,7 @@ class SapDiscoveryResource(typing_extensions.TypedDict, total=False): "RESOURCE_KIND_PUBLIC_ADDRESS", "RESOURCE_KIND_INSTANCE_GROUP", ] - resourceType: typing_extensions.Literal[ + resourceType: typing.Literal[ "RESOURCE_TYPE_UNSPECIFIED", "RESOURCE_TYPE_COMPUTE", "RESOURCE_TYPE_STORAGE", @@ -652,12 +642,12 @@ class SapDiscoveryResource(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class SapDiscoveryResourceInstanceProperties(typing_extensions.TypedDict, total=False): +class SapDiscoveryResourceInstanceProperties(typing.TypedDict, total=False): appInstances: _list[SapDiscoveryResourceInstancePropertiesAppInstance] clusterInstances: _list[str] diskMounts: _list[SapDiscoveryResourceInstancePropertiesDiskMount] instanceNumber: str - instanceRole: typing_extensions.Literal[ + instanceRole: typing.Literal[ "INSTANCE_ROLE_UNSPECIFIED", "INSTANCE_ROLE_ASCS", "INSTANCE_ROLE_ERS", @@ -680,23 +670,19 @@ class SapDiscoveryResourceInstanceProperties(typing_extensions.TypedDict, total= virtualHostname: str @typing.type_check_only -class SapDiscoveryResourceInstancePropertiesAppInstance( - typing_extensions.TypedDict, total=False -): +class SapDiscoveryResourceInstancePropertiesAppInstance(typing.TypedDict, total=False): name: str number: str @typing.type_check_only -class SapDiscoveryResourceInstancePropertiesDiskMount( - typing_extensions.TypedDict, total=False -): +class SapDiscoveryResourceInstancePropertiesDiskMount(typing.TypedDict, total=False): diskNames: _list[str] mountPoint: str name: str @typing.type_check_only class SapDiscoveryResourceInstancePropertiesKernelVersion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): distroKernel: SapDiscoveryResourceInstancePropertiesKernelVersionVersion osKernel: SapDiscoveryResourceInstancePropertiesKernelVersionVersion @@ -704,7 +690,7 @@ class SapDiscoveryResourceInstancePropertiesKernelVersion( @typing.type_check_only class SapDiscoveryResourceInstancePropertiesKernelVersionVersion( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): build: int major: int @@ -713,22 +699,20 @@ class SapDiscoveryResourceInstancePropertiesKernelVersionVersion( remainder: str @typing.type_check_only -class SapDiscoveryWorkloadProperties(typing_extensions.TypedDict, total=False): +class SapDiscoveryWorkloadProperties(typing.TypedDict, total=False): productVersions: _list[SapDiscoveryWorkloadPropertiesProductVersion] softwareComponentVersions: _list[ SapDiscoveryWorkloadPropertiesSoftwareComponentProperties ] @typing.type_check_only -class SapDiscoveryWorkloadPropertiesProductVersion( - typing_extensions.TypedDict, total=False -): +class SapDiscoveryWorkloadPropertiesProductVersion(typing.TypedDict, total=False): name: str version: str @typing.type_check_only class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): extVersion: str name: str @@ -736,45 +720,43 @@ class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties( version: str @typing.type_check_only -class SapInstanceProperties(typing_extensions.TypedDict, total=False): +class SapInstanceProperties(typing.TypedDict, total=False): agentStates: AgentStates numbers: _list[str] @typing.type_check_only -class SapSystemS4Config(typing_extensions.TypedDict, total=False): +class SapSystemS4Config(typing.TypedDict, total=False): allowStoppingForUpdate: bool ansibleRunnerServiceAccount: str app: AppDetails database: DatabaseDetails - deploymentModel: typing_extensions.Literal[ + deploymentModel: typing.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "DISTRIBUTED", "DISTRIBUTED_HA" ] - environmentType: typing_extensions.Literal[ + environmentType: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "NON_PRODUCTION", "PRODUCTION" ] gcpProjectId: str location: LocationDetails mediaBucketName: str sapBootDiskImage: str - scalingMethod: typing_extensions.Literal[ - "SCALE_METHOD_UNSPECIFIED", "SCALE_UP", "SCALE_OUT" - ] - version: typing_extensions.Literal[ + scalingMethod: typing.Literal["SCALE_METHOD_UNSPECIFIED", "SCALE_UP", "SCALE_OUT"] + version: typing.Literal[ "VERSION_UNSPECIFIED", "S4_HANA_2021", "S4_HANA_2022", "S4_HANA_2023" ] vmPrefix: str @typing.type_check_only -class SapValidation(typing_extensions.TypedDict, total=False): +class SapValidation(typing.TypedDict, total=False): projectId: str validationDetails: _list[SapValidationValidationDetail] zone: str @typing.type_check_only -class SapValidationValidationDetail(typing_extensions.TypedDict, total=False): +class SapValidationValidationDetail(typing.TypedDict, total=False): details: dict[str, typing.Any] isPresent: bool - sapValidationType: typing_extensions.Literal[ + sapValidationType: typing.Literal[ "SAP_VALIDATION_TYPE_UNSPECIFIED", "SYSTEM", "COROSYNC", @@ -786,9 +768,9 @@ class SapValidationValidationDetail(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class SapWorkload(typing_extensions.TypedDict, total=False): +class SapWorkload(typing.TypedDict, total=False): application: SapComponent - architecture: typing_extensions.Literal[ + architecture: typing.Literal[ "ARCHITECTURE_UNSPECIFIED", "INVALID", "CENTRALIZED", @@ -802,14 +784,14 @@ class SapWorkload(typing_extensions.TypedDict, total=False): products: _list[Product] @typing.type_check_only -class ScannedResource(typing_extensions.TypedDict, total=False): +class ScannedResource(typing.TypedDict, total=False): resource: str type: str @typing.type_check_only -class ServiceStates(typing_extensions.TypedDict, total=False): +class ServiceStates(typing.TypedDict, total=False): iamPermissions: _list[IAMPermission] - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "CONFIG_FAILURE", "IAM_FAILURE", @@ -819,16 +801,16 @@ class ServiceStates(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ShellCommand(typing_extensions.TypedDict, total=False): +class ShellCommand(typing.TypedDict, total=False): args: str command: str timeoutSeconds: int @typing.type_check_only -class SqlLocationDetails(typing_extensions.TypedDict, total=False): +class SqlLocationDetails(typing.TypedDict, total=False): dnsZone: str gcpProjectId: str - internetAccess: typing_extensions.Literal[ + internetAccess: typing.Literal[ "INTERNET_ACCESS_UNSPECIFIED", "ALLOW_EXTERNAL_IP", "CONFIGURE_NAT" ] network: str @@ -839,22 +821,22 @@ class SqlLocationDetails(typing_extensions.TypedDict, total=False): tertiaryZone: str @typing.type_check_only -class SqlServerWorkload(typing_extensions.TypedDict, total=False): +class SqlServerWorkload(typing.TypedDict, total=False): activeDirectory: ActiveDirectory computeEngineServiceAccount: str database: Database - deploymentModel: typing_extensions.Literal[ + deploymentModel: typing.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "HIGH_AVAILABILITY", "SINGLE_INSTANCE" ] - environmentType: typing_extensions.Literal[ + environmentType: typing.Literal[ "ENVIRONMENT_TYPE_UNSPECIFIED", "NON_PRODUCTION", "PRODUCTION" ] - fciType: typing_extensions.Literal["FCI_TYPE_UNSPECIFIED", "SHARED_DISK", "S2D"] - haType: typing_extensions.Literal["HA_TYPE_UNSPECIFIED", "AOAG", "FCI"] + fciType: typing.Literal["FCI_TYPE_UNSPECIFIED", "SHARED_DISK", "S2D"] + haType: typing.Literal["HA_TYPE_UNSPECIFIED", "AOAG", "FCI"] isSqlPayg: bool location: SqlLocationDetails mediaBucket: str - operatingSystemType: typing_extensions.Literal[ + operatingSystemType: typing.Literal[ "OPERATING_SYSTEM_TYPE_UNSPECIFIED", "WINDOWS", "UBUNTU", @@ -862,18 +844,18 @@ class SqlServerWorkload(typing_extensions.TypedDict, total=False): "SUSE", ] osImage: str - osImageType: typing_extensions.Literal[ + osImageType: typing.Literal[ "OS_IMAGE_TYPE_UNSPECIFIED", "PUBLIC_IMAGE", "CUSTOM_IMAGE" ] pacemaker: Pacemaker - sqlServerEdition: typing_extensions.Literal[ + sqlServerEdition: typing.Literal[ "SQL_SERVER_EDITION_TYPE_UNSPECIFIED", "SQL_SERVER_EDITION_TYPE_DEVELOPER", "SQL_SERVER_EDITION_TYPE_ENTERPRISE", "SQL_SERVER_EDITION_TYPE_STANDARD", "SQL_SERVER_EDITION_TYPE_WEB", ] - sqlServerVersion: typing_extensions.Literal[ + sqlServerVersion: typing.Literal[ "SQL_SERVER_VERSION_TYPE_UNSPECIFIED", "SQL_SERVER_VERSION_TYPE_2017", "SQL_SERVER_VERSION_TYPE_2019", @@ -882,20 +864,20 @@ class SqlServerWorkload(typing_extensions.TypedDict, total=False): vmPrefix: str @typing.type_check_only -class SqlserverValidation(typing_extensions.TypedDict, total=False): +class SqlserverValidation(typing.TypedDict, total=False): agentVersion: str instance: str projectId: str validationDetails: _list[SqlserverValidationValidationDetail] @typing.type_check_only -class SqlserverValidationDetails(typing_extensions.TypedDict, total=False): +class SqlserverValidationDetails(typing.TypedDict, total=False): fields: dict[str, typing.Any] @typing.type_check_only -class SqlserverValidationValidationDetail(typing_extensions.TypedDict, total=False): +class SqlserverValidationValidationDetail(typing.TypedDict, total=False): details: _list[SqlserverValidationDetails] - type: typing_extensions.Literal[ + type: typing.Literal[ "SQLSERVER_VALIDATION_TYPE_UNSPECIFIED", "OS", "DB_LOG_DISK_SEPARATION", @@ -912,33 +894,33 @@ class SqlserverValidationValidationDetail(typing_extensions.TypedDict, total=Fal ] @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class Summary(typing_extensions.TypedDict, total=False): +class Summary(typing.TypedDict, total=False): failures: str newFailures: str newFixes: str @typing.type_check_only -class TerraformVariable(typing_extensions.TypedDict, total=False): +class TerraformVariable(typing.TypedDict, total=False): inputValue: typing.Any @typing.type_check_only -class TorsoValidation(typing_extensions.TypedDict, total=False): +class TorsoValidation(typing.TypedDict, total=False): agentVersion: str instanceName: str projectId: str validationDetails: dict[str, typing.Any] - workloadType: typing_extensions.Literal[ + workloadType: typing.Literal[ "WORKLOAD_TYPE_UNSPECIFIED", "MYSQL", "ORACLE", "REDIS" ] @typing.type_check_only -class UpcomingMaintenanceEvent(typing_extensions.TypedDict, total=False): +class UpcomingMaintenanceEvent(typing.TypedDict, total=False): endTime: str maintenanceStatus: str onHostMaintenance: str @@ -946,33 +928,33 @@ class UpcomingMaintenanceEvent(typing_extensions.TypedDict, total=False): type: str @typing.type_check_only -class ViolationDetails(typing_extensions.TypedDict, total=False): +class ViolationDetails(typing.TypedDict, total=False): asset: str observed: dict[str, typing.Any] ruleOutput: _list[RuleOutput] serviceAccount: str @typing.type_check_only -class WorkloadProfile(typing_extensions.TypedDict, total=False): +class WorkloadProfile(typing.TypedDict, total=False): labels: dict[str, typing.Any] name: str refreshedTime: str sapWorkload: SapWorkload - workloadType: typing_extensions.Literal["WORKLOAD_TYPE_UNSPECIFIED", "S4_HANA"] + workloadType: typing.Literal["WORKLOAD_TYPE_UNSPECIFIED", "S4_HANA"] @typing.type_check_only -class WorkloadProfileHealth(typing_extensions.TypedDict, total=False): +class WorkloadProfileHealth(typing.TypedDict, total=False): checkTime: str componentsHealth: _list[ComponentHealth] - state: typing_extensions.Literal[ + state: typing.Literal[ "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", "CRITICAL", "UNSUPPORTED" ] @typing.type_check_only -class WriteInsightRequest(typing_extensions.TypedDict, total=False): +class WriteInsightRequest(typing.TypedDict, total=False): agentVersion: str insight: Insight requestId: str @typing.type_check_only -class WriteInsightResponse(typing_extensions.TypedDict, total=False): ... +class WriteInsightResponse(typing.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi b/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi index 4bc9d337f..a06852ec3 100644 --- a/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi b/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi index 895c4b937..2899d3537 100644 --- a/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi @@ -1,11 +1,9 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Artifact(typing_extensions.TypedDict, total=False): +class Artifact(typing.TypedDict, total=False): artifactId: str description: str extensions: _list[str] @@ -14,58 +12,58 @@ class Artifact(typing_extensions.TypedDict, total=False): parts: _list[Part] @typing.type_check_only -class AuthenticationInfo(typing_extensions.TypedDict, total=False): +class AuthenticationInfo(typing.TypedDict, total=False): credentials: str schemes: _list[str] @typing.type_check_only -class CancelTaskRequest(typing_extensions.TypedDict, total=False): +class CancelTaskRequest(typing.TypedDict, total=False): tenant: str @typing.type_check_only -class DataPart(typing_extensions.TypedDict, total=False): +class DataPart(typing.TypedDict, total=False): data: dict[str, typing.Any] @typing.type_check_only -class DriveOptions(typing_extensions.TypedDict, total=False): +class DriveOptions(typing.TypedDict, total=False): includeDescendants: bool @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class FilePart(typing_extensions.TypedDict, total=False): +class FilePart(typing.TypedDict, total=False): fileWithBytes: str fileWithUri: str mimeType: str name: str @typing.type_check_only -class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): +class ListSubscriptionsResponse(typing.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] @typing.type_check_only -class ListTaskPushNotificationConfigResponse(typing_extensions.TypedDict, total=False): +class ListTaskPushNotificationConfigResponse(typing.TypedDict, total=False): configs: _list[TaskPushNotificationConfig] nextPageToken: str @typing.type_check_only -class Message(typing_extensions.TypedDict, total=False): +class Message(typing.TypedDict, total=False): content: _list[Part] contextId: str extensions: _list[str] messageId: str metadata: dict[str, typing.Any] - role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] + role: typing.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] taskId: str @typing.type_check_only -class NotificationEndpoint(typing_extensions.TypedDict, total=False): +class NotificationEndpoint(typing.TypedDict, total=False): pubsubTopic: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -73,56 +71,56 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class Part(typing_extensions.TypedDict, total=False): +class Part(typing.TypedDict, total=False): data: DataPart file: FilePart metadata: dict[str, typing.Any] text: str @typing.type_check_only -class PayloadOptions(typing_extensions.TypedDict, total=False): +class PayloadOptions(typing.TypedDict, total=False): fieldMask: str includeResource: bool @typing.type_check_only -class PushNotificationConfig(typing_extensions.TypedDict, total=False): +class PushNotificationConfig(typing.TypedDict, total=False): authentication: AuthenticationInfo id: str token: str url: str @typing.type_check_only -class ReactivateSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +class ReactivateSubscriptionRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class SendMessageConfiguration(typing_extensions.TypedDict, total=False): +class SendMessageConfiguration(typing.TypedDict, total=False): acceptedOutputModes: _list[str] blocking: bool historyLength: int pushNotification: PushNotificationConfig @typing.type_check_only -class SendMessageRequest(typing_extensions.TypedDict, total=False): +class SendMessageRequest(typing.TypedDict, total=False): configuration: SendMessageConfiguration message: Message metadata: dict[str, typing.Any] tenant: str @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StreamResponse(typing_extensions.TypedDict, total=False): +class StreamResponse(typing.TypedDict, total=False): artifactUpdate: TaskArtifactUpdateEvent message: Message statusUpdate: TaskStatusUpdateEvent task: Task @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): authority: str createTime: str driveOptions: DriveOptions @@ -134,10 +132,8 @@ class Subscription(typing_extensions.TypedDict, total=False): payloadOptions: PayloadOptions reconciling: bool serviceAccountAuthority: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED", "DELETED" - ] - suspensionReason: typing_extensions.Literal[ + state: typing.Literal["STATE_UNSPECIFIED", "ACTIVE", "SUSPENDED", "DELETED"] + suspensionReason: typing.Literal[ "ERROR_TYPE_UNSPECIFIED", "USER_SCOPE_REVOKED", "APP_SCOPE_REVOKED", @@ -156,7 +152,7 @@ class Subscription(typing_extensions.TypedDict, total=False): userAuthority: str @typing.type_check_only -class Task(typing_extensions.TypedDict, total=False): +class Task(typing.TypedDict, total=False): artifacts: _list[Artifact] contextId: str history: _list[Message] @@ -165,7 +161,7 @@ class Task(typing_extensions.TypedDict, total=False): status: TaskStatus @typing.type_check_only -class TaskArtifactUpdateEvent(typing_extensions.TypedDict, total=False): +class TaskArtifactUpdateEvent(typing.TypedDict, total=False): append: bool artifact: Artifact contextId: str @@ -174,14 +170,14 @@ class TaskArtifactUpdateEvent(typing_extensions.TypedDict, total=False): taskId: str @typing.type_check_only -class TaskPushNotificationConfig(typing_extensions.TypedDict, total=False): +class TaskPushNotificationConfig(typing.TypedDict, total=False): name: str pushNotificationConfig: PushNotificationConfig @typing.type_check_only -class TaskStatus(typing_extensions.TypedDict, total=False): +class TaskStatus(typing.TypedDict, total=False): message: Message - state: typing_extensions.Literal[ + state: typing.Literal[ "TASK_STATE_UNSPECIFIED", "TASK_STATE_SUBMITTED", "TASK_STATE_WORKING", @@ -195,7 +191,7 @@ class TaskStatus(typing_extensions.TypedDict, total=False): timestamp: str @typing.type_check_only -class TaskStatusUpdateEvent(typing_extensions.TypedDict, total=False): +class TaskStatusUpdateEvent(typing.TypedDict, total=False): contextId: str final: bool metadata: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/workstations/v1/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1/resources.pyi index 2eddf73e5..d83264004 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi index fd5c7edc7..aa52ba28a 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): +class Accelerator(typing.TypedDict, total=False): count: int type: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BoostConfig(typing_extensions.TypedDict, total=False): +class BoostConfig(typing.TypedDict, total=False): accelerators: _list[Accelerator] bootDiskSizeGb: int enableNestedVirtualization: bool @@ -37,10 +35,10 @@ class BoostConfig(typing_extensions.TypedDict, total=False): poolSize: int @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: dict[str, typing.Any] @@ -49,46 +47,44 @@ class Container(typing_extensions.TypedDict, total=False): workingDir: str @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKey: str kmsKeyServiceAccount: str @typing.type_check_only -class DomainConfig(typing_extensions.TypedDict, total=False): +class DomainConfig(typing.TypedDict, total=False): domain: str @typing.type_check_only -class EphemeralDirectory(typing_extensions.TypedDict, total=False): +class EphemeralDirectory(typing.TypedDict, total=False): gcePd: GcePersistentDisk mountPath: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GatewayConfig(typing_extensions.TypedDict, total=False): +class GatewayConfig(typing.TypedDict, total=False): http2Enabled: bool @typing.type_check_only -class GceConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): +class GceConfidentialInstanceConfig(typing.TypedDict, total=False): enableConfidentialCompute: bool @typing.type_check_only -class GceHyperdiskBalancedHighAvailability(typing_extensions.TypedDict, total=False): +class GceHyperdiskBalancedHighAvailability(typing.TypedDict, total=False): archiveTimeout: str maxSizeGb: int - reclaimPolicy: typing_extensions.Literal[ - "RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN" - ] + reclaimPolicy: typing.Literal["RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN"] sizeGb: int sourceSnapshot: str @typing.type_check_only -class GceInstance(typing_extensions.TypedDict, total=False): +class GceInstance(typing.TypedDict, total=False): accelerators: _list[Accelerator] boostConfigs: _list[BoostConfig] bootDiskSizeGb: int @@ -108,97 +104,95 @@ class GceInstance(typing_extensions.TypedDict, total=False): vmTags: dict[str, typing.Any] @typing.type_check_only -class GceInstanceHost(typing_extensions.TypedDict, total=False): +class GceInstanceHost(typing.TypedDict, total=False): id: str name: str zone: str @typing.type_check_only -class GcePersistentDisk(typing_extensions.TypedDict, total=False): +class GcePersistentDisk(typing.TypedDict, total=False): diskType: str readOnly: bool sourceImage: str sourceSnapshot: str @typing.type_check_only -class GceRegionalPersistentDisk(typing_extensions.TypedDict, total=False): +class GceRegionalPersistentDisk(typing.TypedDict, total=False): archiveTimeout: str diskType: str fsType: str maxSizeGb: int - reclaimPolicy: typing_extensions.Literal[ - "RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN" - ] + reclaimPolicy: typing.Literal["RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN"] sizeGb: int sourceSnapshot: str @typing.type_check_only -class GceShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class GceShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class GenerateAccessTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenRequest(typing.TypedDict, total=False): expireTime: str port: int ttl: str @typing.type_check_only -class GenerateAccessTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenResponse(typing.TypedDict, total=False): accessToken: str expireTime: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class Host(typing_extensions.TypedDict, total=False): +class Host(typing.TypedDict, total=False): gceInstance: GceInstance @typing.type_check_only -class ListLocationsResponse(typing_extensions.TypedDict, total=False): +class ListLocationsResponse(typing.TypedDict, total=False): locations: _list[Location] nextPageToken: str @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListUsableWorkstationConfigsResponse(typing_extensions.TypedDict, total=False): +class ListUsableWorkstationConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstationConfigs: _list[WorkstationConfig] @typing.type_check_only -class ListUsableWorkstationsResponse(typing_extensions.TypedDict, total=False): +class ListUsableWorkstationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstations: _list[Workstation] @typing.type_check_only -class ListWorkstationClustersResponse(typing_extensions.TypedDict, total=False): +class ListWorkstationClustersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstationClusters: _list[WorkstationCluster] @typing.type_check_only -class ListWorkstationConfigsResponse(typing_extensions.TypedDict, total=False): +class ListWorkstationConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstationConfigs: _list[WorkstationConfig] @typing.type_check_only -class ListWorkstationsResponse(typing_extensions.TypedDict, total=False): +class ListWorkstationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstations: _list[Workstation] @typing.type_check_only -class Location(typing_extensions.TypedDict, total=False): +class Location(typing.TypedDict, total=False): displayName: str labels: dict[str, typing.Any] locationId: str @@ -206,7 +200,7 @@ class Location(typing_extensions.TypedDict, total=False): name: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -214,7 +208,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -224,71 +218,71 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PersistentDirectory(typing_extensions.TypedDict, total=False): +class PersistentDirectory(typing.TypedDict, total=False): gceHd: GceHyperdiskBalancedHighAvailability gcePd: GceRegionalPersistentDisk mountPath: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PortRange(typing_extensions.TypedDict, total=False): +class PortRange(typing.TypedDict, total=False): first: int last: int @typing.type_check_only -class PrivateClusterConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterConfig(typing.TypedDict, total=False): allowedProjects: _list[str] clusterHostname: str enablePrivateEndpoint: bool serviceAttachmentUri: str @typing.type_check_only -class ReadinessCheck(typing_extensions.TypedDict, total=False): +class ReadinessCheck(typing.TypedDict, total=False): path: str port: int @typing.type_check_only -class RuntimeHost(typing_extensions.TypedDict, total=False): +class RuntimeHost(typing.TypedDict, total=False): gceInstanceHost: GceInstanceHost @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StartWorkstationRequest(typing_extensions.TypedDict, total=False): +class StartWorkstationRequest(typing.TypedDict, total=False): boostConfig: str etag: str validateOnly: bool @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopWorkstationRequest(typing_extensions.TypedDict, total=False): +class StopWorkstationRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Workstation(typing_extensions.TypedDict, total=False): +class Workstation(typing.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str deleteTime: str @@ -304,7 +298,7 @@ class Workstation(typing_extensions.TypedDict, total=False): runtimeHost: RuntimeHost sourceWorkstation: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_STARTING", "STATE_RUNNING", @@ -315,7 +309,7 @@ class Workstation(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class WorkstationCluster(typing_extensions.TypedDict, total=False): +class WorkstationCluster(typing.TypedDict, total=False): annotations: dict[str, typing.Any] conditions: _list[Status] controlPlaneIp: str @@ -339,7 +333,7 @@ class WorkstationCluster(typing_extensions.TypedDict, total=False): workstationLaunchUrl: str @typing.type_check_only -class WorkstationConfig(typing_extensions.TypedDict, total=False): +class WorkstationConfig(typing.TypedDict, total=False): allowedPorts: _list[PortRange] annotations: dict[str, typing.Any] conditions: _list[Status] @@ -368,6 +362,6 @@ class WorkstationConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class WorkstationPersistentDirectory(typing_extensions.TypedDict, total=False): +class WorkstationPersistentDirectory(typing.TypedDict, total=False): mountPath: str sizeGb: int diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi index a589c000f..f399929bb 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -153,6 +152,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..1ea86b657 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi @@ -1,34 +1,32 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Accelerator(typing_extensions.TypedDict, total=False): +class Accelerator(typing.TypedDict, total=False): count: int type: str @typing.type_check_only -class AuditConfig(typing_extensions.TypedDict, total=False): +class AuditConfig(typing.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] service: str @typing.type_check_only -class AuditLogConfig(typing_extensions.TypedDict, total=False): +class AuditLogConfig(typing.TypedDict, total=False): exemptedMembers: _list[str] - logType: typing_extensions.Literal[ + logType: typing.Literal[ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] @typing.type_check_only -class Binding(typing_extensions.TypedDict, total=False): +class Binding(typing.TypedDict, total=False): condition: Expr members: _list[str] role: str @typing.type_check_only -class BoostConfig(typing_extensions.TypedDict, total=False): +class BoostConfig(typing.TypedDict, total=False): accelerators: _list[Accelerator] bootDiskSizeGb: int enableNestedVirtualization: bool @@ -38,10 +36,10 @@ class BoostConfig(typing_extensions.TypedDict, total=False): reservationAffinity: ReservationAffinity @typing.type_check_only -class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +class CancelOperationRequest(typing.TypedDict, total=False): ... @typing.type_check_only -class Container(typing_extensions.TypedDict, total=False): +class Container(typing.TypedDict, total=False): args: _list[str] command: _list[str] env: dict[str, typing.Any] @@ -50,46 +48,44 @@ class Container(typing_extensions.TypedDict, total=False): workingDir: str @typing.type_check_only -class CustomerEncryptionKey(typing_extensions.TypedDict, total=False): +class CustomerEncryptionKey(typing.TypedDict, total=False): kmsKey: str kmsKeyServiceAccount: str @typing.type_check_only -class DomainConfig(typing_extensions.TypedDict, total=False): +class DomainConfig(typing.TypedDict, total=False): domain: str @typing.type_check_only -class EphemeralDirectory(typing_extensions.TypedDict, total=False): +class EphemeralDirectory(typing.TypedDict, total=False): gcePd: GcePersistentDisk mountPath: str @typing.type_check_only -class Expr(typing_extensions.TypedDict, total=False): +class Expr(typing.TypedDict, total=False): description: str expression: str location: str title: str @typing.type_check_only -class GatewayConfig(typing_extensions.TypedDict, total=False): +class GatewayConfig(typing.TypedDict, total=False): http2Enabled: bool @typing.type_check_only -class GceConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): +class GceConfidentialInstanceConfig(typing.TypedDict, total=False): enableConfidentialCompute: bool @typing.type_check_only -class GceHyperdiskBalancedHighAvailability(typing_extensions.TypedDict, total=False): +class GceHyperdiskBalancedHighAvailability(typing.TypedDict, total=False): archiveTimeout: str maxSizeGb: int - reclaimPolicy: typing_extensions.Literal[ - "RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN" - ] + reclaimPolicy: typing.Literal["RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN"] sizeGb: int sourceSnapshot: str @typing.type_check_only -class GceInstance(typing_extensions.TypedDict, total=False): +class GceInstance(typing.TypedDict, total=False): accelerators: _list[Accelerator] boostConfigs: _list[BoostConfig] bootDiskSizeGb: int @@ -110,104 +106,103 @@ class GceInstance(typing_extensions.TypedDict, total=False): vmTags: dict[str, typing.Any] @typing.type_check_only -class GceInstanceHost(typing_extensions.TypedDict, total=False): +class GceInstanceHost(typing.TypedDict, total=False): id: str name: str zone: str @typing.type_check_only -class GcePersistentDisk(typing_extensions.TypedDict, total=False): +class GcePersistentDisk(typing.TypedDict, total=False): diskType: str readOnly: bool sourceImage: str sourceSnapshot: str @typing.type_check_only -class GceRegionalPersistentDisk(typing_extensions.TypedDict, total=False): +class GceRegionalPersistentDisk(typing.TypedDict, total=False): archiveTimeout: str diskType: str fsType: str maxSizeGb: int - reclaimPolicy: typing_extensions.Literal[ - "RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN" - ] + reclaimPolicy: typing.Literal["RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN"] sizeGb: int sourceSnapshot: str @typing.type_check_only -class GceShieldedInstanceConfig(typing_extensions.TypedDict, total=False): +class GceShieldedInstanceConfig(typing.TypedDict, total=False): enableIntegrityMonitoring: bool enableSecureBoot: bool enableVtpm: bool @typing.type_check_only -class GenerateAccessTokenRequest(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenRequest(typing.TypedDict, total=False): expireTime: str port: int ttl: str @typing.type_check_only -class GenerateAccessTokenResponse(typing_extensions.TypedDict, total=False): +class GenerateAccessTokenResponse(typing.TypedDict, total=False): accessToken: str expireTime: str @typing.type_check_only -class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +class GoogleProtobufEmpty(typing.TypedDict, total=False): ... @typing.type_check_only -class Host(typing_extensions.TypedDict, total=False): +class Host(typing.TypedDict, total=False): gceInstance: GceInstance @typing.type_check_only -class HttpOptions(typing_extensions.TypedDict, total=False): +class HttpOptions(typing.TypedDict, total=False): allowedUnauthenticatedCorsPreflightRequests: bool disableLocalhostReplacement: bool @typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): +class ListOperationsResponse(typing.TypedDict, total=False): nextPageToken: str operations: _list[Operation] unreachable: _list[str] @typing.type_check_only -class ListUsableWorkstationConfigsResponse(typing_extensions.TypedDict, total=False): +class ListUsableWorkstationConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstationConfigs: _list[WorkstationConfig] @typing.type_check_only -class ListUsableWorkstationsResponse(typing_extensions.TypedDict, total=False): +class ListUsableWorkstationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstations: _list[Workstation] @typing.type_check_only -class ListWorkstationClustersResponse(typing_extensions.TypedDict, total=False): +class ListWorkstationClustersResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstationClusters: _list[WorkstationCluster] @typing.type_check_only -class ListWorkstationConfigsResponse(typing_extensions.TypedDict, total=False): +class ListWorkstationConfigsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstationConfigs: _list[WorkstationConfig] @typing.type_check_only -class ListWorkstationsResponse(typing_extensions.TypedDict, total=False): +class ListWorkstationsResponse(typing.TypedDict, total=False): nextPageToken: str unreachable: _list[str] workstations: _list[Workstation] @typing.type_check_only -class OAuthToken(typing_extensions.TypedDict, total=False): +class OAuthToken(typing.TypedDict, total=False): accessToken: str email: str expireTime: str + expiresIn: str scopes: str @typing.type_check_only -class Operation(typing_extensions.TypedDict, total=False): +class Operation(typing.TypedDict, total=False): done: bool error: Status metadata: dict[str, typing.Any] @@ -215,7 +210,7 @@ class Operation(typing_extensions.TypedDict, total=False): response: dict[str, typing.Any] @typing.type_check_only -class OperationMetadata(typing_extensions.TypedDict, total=False): +class OperationMetadata(typing.TypedDict, total=False): apiVersion: str createTime: str endTime: str @@ -225,83 +220,88 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): verb: str @typing.type_check_only -class PersistentDirectory(typing_extensions.TypedDict, total=False): +class PersistentDirectory(typing.TypedDict, total=False): gceHd: GceHyperdiskBalancedHighAvailability gcePd: GceRegionalPersistentDisk mountPath: str @typing.type_check_only -class Policy(typing_extensions.TypedDict, total=False): +class Policy(typing.TypedDict, total=False): auditConfigs: _list[AuditConfig] bindings: _list[Binding] etag: str version: int @typing.type_check_only -class PortRange(typing_extensions.TypedDict, total=False): +class PortRange(typing.TypedDict, total=False): first: int last: int @typing.type_check_only -class PrivateClusterConfig(typing_extensions.TypedDict, total=False): +class PrivateClusterConfig(typing.TypedDict, total=False): allowedProjects: _list[str] clusterHostname: str enablePrivateEndpoint: bool serviceAttachmentUri: str @typing.type_check_only -class PushCredentialsRequest(typing_extensions.TypedDict, total=False): +class PushCredentialsRequest(typing.TypedDict, total=False): applicationDefaultCredentials: OAuthToken @typing.type_check_only -class ReadinessCheck(typing_extensions.TypedDict, total=False): +class ReadinessCheck(typing.TypedDict, total=False): path: str port: int @typing.type_check_only -class ReservationAffinity(typing_extensions.TypedDict, total=False): - consumeReservationType: typing_extensions.Literal[ +class ReservationAffinity(typing.TypedDict, total=False): + consumeReservationType: typing.Literal[ "TYPE_UNSPECIFIED", "NO_RESERVATION", "ANY_RESERVATION", "SPECIFIC_RESERVATION" ] key: str values: _list[str] @typing.type_check_only -class RuntimeHost(typing_extensions.TypedDict, total=False): +class RuntimeHost(typing.TypedDict, total=False): gceInstanceHost: GceInstanceHost @typing.type_check_only -class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): +class SetIamPolicyRequest(typing.TypedDict, total=False): policy: Policy updateMask: str @typing.type_check_only -class StartWorkstationRequest(typing_extensions.TypedDict, total=False): +class StartWorkstationRequest(typing.TypedDict, total=False): boostConfig: str etag: str validateOnly: bool @typing.type_check_only -class Status(typing_extensions.TypedDict, total=False): +class Status(typing.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str @typing.type_check_only -class StopWorkstationRequest(typing_extensions.TypedDict, total=False): +class StopWorkstationRequest(typing.TypedDict, total=False): + etag: str + validateOnly: bool + +@typing.type_check_only +class SuspendWorkstationRequest(typing.TypedDict, total=False): etag: str validateOnly: bool @typing.type_check_only -class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): +class TestIamPermissionsRequest(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): +class TestIamPermissionsResponse(typing.TypedDict, total=False): permissions: _list[str] @typing.type_check_only -class Workstation(typing_extensions.TypedDict, total=False): +class Workstation(typing.TypedDict, total=False): annotations: dict[str, typing.Any] boostConfigs: _list[WorkstationBoostConfig] conditions: _list[Status] @@ -322,23 +322,25 @@ class Workstation(typing_extensions.TypedDict, total=False): satisfiesPzs: bool sourceWorkstation: str startTime: str - state: typing_extensions.Literal[ + state: typing.Literal[ "STATE_UNSPECIFIED", "STATE_STARTING", "STATE_RUNNING", "STATE_STOPPING", "STATE_STOPPED", + "STATE_SUSPENDING", + "STATE_SUSPENDED", ] uid: str updateTime: str @typing.type_check_only -class WorkstationBoostConfig(typing_extensions.TypedDict, total=False): +class WorkstationBoostConfig(typing.TypedDict, total=False): id: str running: bool @typing.type_check_only -class WorkstationCluster(typing_extensions.TypedDict, total=False): +class WorkstationCluster(typing.TypedDict, total=False): annotations: dict[str, typing.Any] conditions: _list[Status] controlPlaneIp: str @@ -364,7 +366,7 @@ class WorkstationCluster(typing_extensions.TypedDict, total=False): workstationLaunchUrl: str @typing.type_check_only -class WorkstationConfig(typing_extensions.TypedDict, total=False): +class WorkstationConfig(typing.TypedDict, total=False): allowedPorts: _list[PortRange] annotations: dict[str, typing.Any] conditions: _list[Status] @@ -382,6 +384,7 @@ class WorkstationConfig(typing_extensions.TypedDict, total=False): grantWorkstationAdminRoleOnCreate: bool host: Host httpOptions: HttpOptions + idleAction: typing.Literal["IDLE_ACTION_UNSPECIFIED", "STOP", "SUSPEND"] idleTimeout: str labels: dict[str, typing.Any] maxUsableWorkstations: int @@ -397,6 +400,6 @@ class WorkstationConfig(typing_extensions.TypedDict, total=False): updateTime: str @typing.type_check_only -class WorkstationPersistentDirectory(typing_extensions.TypedDict, total=False): +class WorkstationPersistentDirectory(typing.TypedDict, total=False): mountPath: str sizeGb: int diff --git a/googleapiclient-stubs/_apis/youtube/v3/resources.pyi b/googleapiclient-stubs/_apis/youtube/v3/resources.pyi index a9ad50cfa..c61a4ca93 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http @@ -198,18 +197,15 @@ class YouTubeResource(googleapiclient.discovery.Resource): channelId: str | None = ..., id: str | _list[str] | None = ..., maxResults: int | None = ..., - moderationStatus: typing_extensions.Literal[ + moderationStatus: typing.Literal[ "published", "heldForReview", "likelySpam", "rejected" ] | None = ..., - order: typing_extensions.Literal["orderUnspecified", "time", "relevance"] - | None = ..., + order: typing.Literal["orderUnspecified", "time", "relevance"] | None = ..., pageToken: str | None = ..., postId: str | None = ..., searchTerms: str | None = ..., - textFormat: typing_extensions.Literal[ - "textFormatUnspecified", "html", "plainText" - ] + textFormat: typing.Literal["textFormatUnspecified", "html", "plainText"] | None = ..., videoId: str | None = ..., **kwargs: typing.Any, @@ -236,9 +232,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): maxResults: int | None = ..., pageToken: str | None = ..., parentId: str | None = ..., - textFormat: typing_extensions.Literal[ - "textFormatUnspecified", "html", "plainText" - ] + textFormat: typing.Literal["textFormatUnspecified", "html", "plainText"] | None = ..., **kwargs: typing.Any, ) -> CommentListResponseHttpRequest: ... @@ -254,7 +248,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): self, *, id: str | _list[str], - moderationStatus: typing_extensions.Literal[ + moderationStatus: typing.Literal[ "published", "heldForReview", "likelySpam", "rejected" ], banAuthor: bool | None = ..., @@ -319,7 +313,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): self, *, part: str | _list[str], - broadcastStatus: typing_extensions.Literal[ + broadcastStatus: typing.Literal[ "broadcastStatusFilterUnspecified", "all", "active", @@ -327,7 +321,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): "completed", ] | None = ..., - broadcastType: typing_extensions.Literal[ + broadcastType: typing.Literal[ "broadcastTypeFilterUnspecified", "all", "event", "persistent" ] | None = ..., @@ -347,7 +341,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): def transition( self, *, - broadcastStatus: typing_extensions.Literal[ + broadcastStatus: typing.Literal[ "statusUnspecified", "testing", "live", "complete" ], id: str, @@ -403,8 +397,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): self, *, id: str | None = ..., - status: typing_extensions.Literal["statusUnspecified", "closed"] - | None = ..., + status: typing.Literal["statusUnspecified", "closed"] | None = ..., **kwargs: typing.Any, ) -> LiveChatMessageHttpRequest: ... @@ -490,9 +483,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): filterByMemberChannelId: str | None = ..., hasAccessToLevel: str | None = ..., maxResults: int | None = ..., - mode: typing_extensions.Literal[ - "listMembersModeUnknown", "updates", "all_current" - ] + mode: typing.Literal["listMembersModeUnknown", "updates", "all_current"] | None = ..., pageToken: str | None = ..., **kwargs: typing.Any, @@ -648,13 +639,9 @@ class YouTubeResource(googleapiclient.discovery.Resource): *, part: str | _list[str], channelId: str | None = ..., - channelType: typing_extensions.Literal[ - "channelTypeUnspecified", "any", "show" - ] + channelType: typing.Literal["channelTypeUnspecified", "any", "show"] | None = ..., - eventType: typing_extensions.Literal[ - "none", "upcoming", "live", "completed" - ] + eventType: typing.Literal["none", "upcoming", "live", "completed"] | None = ..., forContentOwner: bool | None = ..., forDeveloper: bool | None = ..., @@ -663,7 +650,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): locationRadius: str | None = ..., maxResults: int | None = ..., onBehalfOfContentOwner: str | None = ..., - order: typing_extensions.Literal[ + order: typing.Literal[ "searchSortUnspecified", "date", "rating", @@ -679,41 +666,34 @@ class YouTubeResource(googleapiclient.discovery.Resource): q: str | None = ..., regionCode: str | None = ..., relevanceLanguage: str | None = ..., - safeSearch: typing_extensions.Literal[ + safeSearch: typing.Literal[ "safeSearchSettingUnspecified", "none", "moderate", "strict" ] | None = ..., topicId: str | None = ..., type: str | _list[str] | None = ..., - videoCaption: typing_extensions.Literal[ + videoCaption: typing.Literal[ "videoCaptionUnspecified", "any", "closedCaption", "none" ] | None = ..., videoCategoryId: str | None = ..., - videoDefinition: typing_extensions.Literal["any", "standard", "high"] - | None = ..., - videoDimension: typing_extensions.Literal["any", "2d", "3d"] | None = ..., - videoDuration: typing_extensions.Literal[ + videoDefinition: typing.Literal["any", "standard", "high"] | None = ..., + videoDimension: typing.Literal["any", "2d", "3d"] | None = ..., + videoDuration: typing.Literal[ "videoDurationUnspecified", "any", "short", "medium", "long" ] | None = ..., - videoEmbeddable: typing_extensions.Literal[ - "videoEmbeddableUnspecified", "any", "true" - ] + videoEmbeddable: typing.Literal["videoEmbeddableUnspecified", "any", "true"] | None = ..., - videoLicense: typing_extensions.Literal["any", "youtube", "creativeCommon"] + videoLicense: typing.Literal["any", "youtube", "creativeCommon"] | None = ..., - videoPaidProductPlacement: typing_extensions.Literal[ + videoPaidProductPlacement: typing.Literal[ "videoPaidProductPlacementUnspecified", "any", "true" ] | None = ..., - videoSyndicated: typing_extensions.Literal[ - "videoSyndicatedUnspecified", "any", "true" - ] + videoSyndicated: typing.Literal["videoSyndicatedUnspecified", "any", "true"] | None = ..., - videoType: typing_extensions.Literal[ - "videoTypeUnspecified", "any", "movie", "episode" - ] + videoType: typing.Literal["videoTypeUnspecified", "any", "movie", "episode"] | None = ..., **kwargs: typing.Any, ) -> SearchListResponseHttpRequest: ... @@ -744,7 +724,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): mySubscribers: bool | None = ..., onBehalfOfContentOwner: str | None = ..., onBehalfOfContentOwnerChannel: str | None = ..., - order: typing_extensions.Literal[ + order: typing.Literal[ "subscriptionOrderUnspecified", "relevance", "unread", "alphabetical" ] | None = ..., @@ -792,7 +772,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): self, *, linkingToken: str, - type: typing_extensions.Literal[ + type: typing.Literal[ "linkUnspecified", "channelToStoreLink", "channelToAffiliateProgramLink" ], externalChannelId: str | None = ..., @@ -813,7 +793,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): part: str | _list[str], externalChannelId: str | None = ..., linkingToken: str | None = ..., - type: typing_extensions.Literal[ + type: typing.Literal[ "linkUnspecified", "channelToStoreLink", "channelToAffiliateProgramLink" ] | None = ..., @@ -902,15 +882,14 @@ class YouTubeResource(googleapiclient.discovery.Resource): self, *, part: str | _list[str], - chart: typing_extensions.Literal["chartUnspecified", "mostPopular"] - | None = ..., + chart: typing.Literal["chartUnspecified", "mostPopular"] | None = ..., hl: str | None = ..., id: str | _list[str] | None = ..., locale: str | None = ..., maxHeight: int | None = ..., maxResults: int | None = ..., maxWidth: int | None = ..., - myRating: typing_extensions.Literal["none", "like", "dislike"] | None = ..., + myRating: typing.Literal["none", "like", "dislike"] | None = ..., onBehalfOfContentOwner: str | None = ..., pageToken: str | None = ..., regionCode: str | None = ..., @@ -926,7 +905,7 @@ class YouTubeResource(googleapiclient.discovery.Resource): self, *, id: str, - rating: typing_extensions.Literal["none", "like", "dislike"], + rating: typing.Literal["none", "like", "dislike"], **kwargs: typing.Any, ) -> googleapiclient.http.HttpRequest: ... def reportAbuse( diff --git a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi index 393cc47c8..b35c713df 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi @@ -1,27 +1,25 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class AbuseReport(typing_extensions.TypedDict, total=False): +class AbuseReport(typing.TypedDict, total=False): abuseTypes: _list[AbuseType] description: str relatedEntities: _list[RelatedEntity] subject: Entity @typing.type_check_only -class AbuseType(typing_extensions.TypedDict, total=False): +class AbuseType(typing.TypedDict, total=False): id: str @typing.type_check_only -class AccessPolicy(typing_extensions.TypedDict, total=False): +class AccessPolicy(typing.TypedDict, total=False): allowed: bool exception: _list[str] @typing.type_check_only -class Activity(typing_extensions.TypedDict, total=False): +class Activity(typing.TypedDict, total=False): contentDetails: ActivityContentDetails etag: str id: str @@ -29,7 +27,7 @@ class Activity(typing_extensions.TypedDict, total=False): snippet: ActivitySnippet @typing.type_check_only -class ActivityContentDetails(typing_extensions.TypedDict, total=False): +class ActivityContentDetails(typing.TypedDict, total=False): bulletin: ActivityContentDetailsBulletin channelItem: ActivityContentDetailsChannelItem comment: ActivityContentDetailsComment @@ -43,37 +41,37 @@ class ActivityContentDetails(typing_extensions.TypedDict, total=False): upload: ActivityContentDetailsUpload @typing.type_check_only -class ActivityContentDetailsBulletin(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsBulletin(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsChannelItem(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsChannelItem(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsComment(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsComment(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsFavorite(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsFavorite(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsLike(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsLike(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsPlaylistItem(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsPlaylistItem(typing.TypedDict, total=False): playlistId: str playlistItemId: str resourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsPromotedItem(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsPromotedItem(typing.TypedDict, total=False): adTag: str clickTrackingUrl: str creativeViewUrl: str - ctaType: typing_extensions.Literal["ctaTypeUnspecified", "visitAdvertiserSite"] + ctaType: typing.Literal["ctaTypeUnspecified", "visitAdvertiserSite"] customCtaButtonText: str descriptionText: str destinationUrl: str @@ -82,31 +80,31 @@ class ActivityContentDetailsPromotedItem(typing_extensions.TypedDict, total=Fals videoId: str @typing.type_check_only -class ActivityContentDetailsRecommendation(typing_extensions.TypedDict, total=False): - reason: typing_extensions.Literal[ +class ActivityContentDetailsRecommendation(typing.TypedDict, total=False): + reason: typing.Literal[ "reasonUnspecified", "videoFavorited", "videoLiked", "videoWatched" ] resourceId: ResourceId seedResourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsSocial(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsSocial(typing.TypedDict, total=False): author: str imageUrl: str referenceUrl: str resourceId: ResourceId - type: typing_extensions.Literal["unspecified", "googlePlus", "facebook", "twitter"] + type: typing.Literal["unspecified", "googlePlus", "facebook", "twitter"] @typing.type_check_only -class ActivityContentDetailsSubscription(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsSubscription(typing.TypedDict, total=False): resourceId: ResourceId @typing.type_check_only -class ActivityContentDetailsUpload(typing_extensions.TypedDict, total=False): +class ActivityContentDetailsUpload(typing.TypedDict, total=False): videoId: str @typing.type_check_only -class ActivityListResponse(typing_extensions.TypedDict, total=False): +class ActivityListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Activity] @@ -118,7 +116,7 @@ class ActivityListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class ActivitySnippet(typing_extensions.TypedDict, total=False): +class ActivitySnippet(typing.TypedDict, total=False): channelId: str channelTitle: str description: str @@ -126,7 +124,7 @@ class ActivitySnippet(typing_extensions.TypedDict, total=False): publishedAt: str thumbnails: ThumbnailDetails title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "typeUnspecified", "upload", "like", @@ -142,20 +140,44 @@ class ActivitySnippet(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class BatchGetStatsResponse(typing_extensions.TypedDict, total=False): +class AvailabilityConfig(typing.TypedDict, total=False): + globalConfig: AvailabilityConfigGlobalConfig + regionsConfig: AvailabilityConfigRegionsConfig + +@typing.type_check_only +class AvailabilityConfigGlobalConfig(typing.TypedDict, total=False): + excludedRegionCodes: _list[str] + interval: Interval + +@typing.type_check_only +class AvailabilityConfigRegionsConfig(typing.TypedDict, total=False): + regionIntervals: _list[AvailabilityConfigRegionsConfigRegionInterval] + +@typing.type_check_only +class AvailabilityConfigRegionsConfigRegionInterval(typing.TypedDict, total=False): + interval: Interval + regionCode: str + +@typing.type_check_only +class BatchGetStatsResponse(typing.TypedDict, total=False): etag: str items: _list[VideoStat] kind: str @typing.type_check_only -class Caption(typing_extensions.TypedDict, total=False): +class BrandPartner(typing.TypedDict, total=False): + channelHandle: str + channelId: str + +@typing.type_check_only +class Caption(typing.TypedDict, total=False): etag: str id: str kind: str snippet: CaptionSnippet @typing.type_check_only -class CaptionListResponse(typing_extensions.TypedDict, total=False): +class CaptionListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Caption] @@ -163,11 +185,9 @@ class CaptionListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class CaptionSnippet(typing_extensions.TypedDict, total=False): - audioTrackType: typing_extensions.Literal[ - "unknown", "primary", "commentary", "descriptive" - ] - failureReason: typing_extensions.Literal[ +class CaptionSnippet(typing.TypedDict, total=False): + audioTrackType: typing.Literal["unknown", "primary", "commentary", "descriptive"] + failureReason: typing.Literal[ "unknownFormat", "unsupportedFormat", "processingFailed" ] isAutoSynced: bool @@ -178,22 +198,22 @@ class CaptionSnippet(typing_extensions.TypedDict, total=False): language: str lastUpdated: str name: str - status: typing_extensions.Literal["serving", "syncing", "failed"] - trackKind: typing_extensions.Literal["standard", "ASR", "forced"] + status: typing.Literal["serving", "syncing", "failed"] + trackKind: typing.Literal["standard", "ASR", "forced"] videoId: str @typing.type_check_only -class CdnSettings(typing_extensions.TypedDict, total=False): +class CdnSettings(typing.TypedDict, total=False): format: str - frameRate: typing_extensions.Literal["30fps", "60fps", "variable"] + frameRate: typing.Literal["30fps", "60fps", "variable"] ingestionInfo: IngestionInfo - ingestionType: typing_extensions.Literal["rtmp", "dash", "webrtc", "hls"] - resolution: typing_extensions.Literal[ + ingestionType: typing.Literal["rtmp", "dash", "webrtc", "hls"] + resolution: typing.Literal[ "240p", "360p", "480p", "720p", "1080p", "1440p", "2160p", "variable" ] @typing.type_check_only -class Channel(typing_extensions.TypedDict, total=False): +class Channel(typing.TypedDict, total=False): auditDetails: ChannelAuditDetails brandingSettings: ChannelBrandingSettings contentDetails: ChannelContentDetails @@ -209,44 +229,44 @@ class Channel(typing_extensions.TypedDict, total=False): topicDetails: ChannelTopicDetails @typing.type_check_only -class ChannelAuditDetails(typing_extensions.TypedDict, total=False): +class ChannelAuditDetails(typing.TypedDict, total=False): communityGuidelinesGoodStanding: bool contentIdClaimsGoodStanding: bool copyrightStrikesGoodStanding: bool @typing.type_check_only -class ChannelBannerResource(typing_extensions.TypedDict, total=False): +class ChannelBannerResource(typing.TypedDict, total=False): etag: str kind: str url: str @typing.type_check_only -class ChannelBrandingSettings(typing_extensions.TypedDict, total=False): +class ChannelBrandingSettings(typing.TypedDict, total=False): channel: ChannelSettings hints: _list[PropertyValue] image: ImageSettings watch: WatchSettings @typing.type_check_only -class ChannelContentDetails(typing_extensions.TypedDict, total=False): +class ChannelContentDetails(typing.TypedDict, total=False): relatedPlaylists: dict[str, typing.Any] @typing.type_check_only -class ChannelContentOwnerDetails(typing_extensions.TypedDict, total=False): +class ChannelContentOwnerDetails(typing.TypedDict, total=False): contentOwner: str timeLinked: str @typing.type_check_only -class ChannelConversionPing(typing_extensions.TypedDict, total=False): - context: typing_extensions.Literal["subscribe", "unsubscribe", "cview"] +class ChannelConversionPing(typing.TypedDict, total=False): + context: typing.Literal["subscribe", "unsubscribe", "cview"] conversionUrl: str @typing.type_check_only -class ChannelConversionPings(typing_extensions.TypedDict, total=False): +class ChannelConversionPings(typing.TypedDict, total=False): pings: _list[ChannelConversionPing] @typing.type_check_only -class ChannelListResponse(typing_extensions.TypedDict, total=False): +class ChannelListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Channel] @@ -258,19 +278,19 @@ class ChannelListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class ChannelLocalization(typing_extensions.TypedDict, total=False): +class ChannelLocalization(typing.TypedDict, total=False): description: str title: str @typing.type_check_only -class ChannelProfileDetails(typing_extensions.TypedDict, total=False): +class ChannelProfileDetails(typing.TypedDict, total=False): channelId: str channelUrl: str displayName: str profileImageUrl: str @typing.type_check_only -class ChannelSection(typing_extensions.TypedDict, total=False): +class ChannelSection(typing.TypedDict, total=False): contentDetails: ChannelSectionContentDetails etag: str id: str @@ -280,12 +300,12 @@ class ChannelSection(typing_extensions.TypedDict, total=False): targeting: ChannelSectionTargeting @typing.type_check_only -class ChannelSectionContentDetails(typing_extensions.TypedDict, total=False): +class ChannelSectionContentDetails(typing.TypedDict, total=False): channels: _list[str] playlists: _list[str] @typing.type_check_only -class ChannelSectionListResponse(typing_extensions.TypedDict, total=False): +class ChannelSectionListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[ChannelSection] @@ -293,20 +313,20 @@ class ChannelSectionListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class ChannelSectionLocalization(typing_extensions.TypedDict, total=False): +class ChannelSectionLocalization(typing.TypedDict, total=False): title: str @typing.type_check_only -class ChannelSectionSnippet(typing_extensions.TypedDict, total=False): +class ChannelSectionSnippet(typing.TypedDict, total=False): channelId: str defaultLanguage: str localized: ChannelSectionLocalization position: int - style: typing_extensions.Literal[ + style: typing.Literal[ "channelsectionStyleUnspecified", "horizontalRow", "verticalList" ] title: str - type: typing_extensions.Literal[ + type: typing.Literal[ "channelsectionTypeUndefined", "singlePlaylist", "multiplePlaylists", @@ -327,13 +347,13 @@ class ChannelSectionSnippet(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class ChannelSectionTargeting(typing_extensions.TypedDict, total=False): +class ChannelSectionTargeting(typing.TypedDict, total=False): countries: _list[str] languages: _list[str] regions: _list[str] @typing.type_check_only -class ChannelSettings(typing_extensions.TypedDict, total=False): +class ChannelSettings(typing.TypedDict, total=False): country: str defaultLanguage: str defaultTab: str @@ -350,7 +370,7 @@ class ChannelSettings(typing_extensions.TypedDict, total=False): unsubscribedTrailer: str @typing.type_check_only -class ChannelSnippet(typing_extensions.TypedDict, total=False): +class ChannelSnippet(typing.TypedDict, total=False): country: str customUrl: str defaultLanguage: str @@ -361,7 +381,7 @@ class ChannelSnippet(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class ChannelStatistics(typing_extensions.TypedDict, total=False): +class ChannelStatistics(typing.TypedDict, total=False): commentCount: str hiddenSubscriberCount: bool subscriberCount: str @@ -369,27 +389,27 @@ class ChannelStatistics(typing_extensions.TypedDict, total=False): viewCount: str @typing.type_check_only -class ChannelStatus(typing_extensions.TypedDict, total=False): +class ChannelStatus(typing.TypedDict, total=False): isChannelMonetizationEnabled: bool isLinked: bool - longUploadsStatus: typing_extensions.Literal[ + longUploadsStatus: typing.Literal[ "longUploadsUnspecified", "allowed", "eligible", "disallowed" ] madeForKids: bool - privacyStatus: typing_extensions.Literal["public", "unlisted", "private"] + privacyStatus: typing.Literal["public", "unlisted", "private"] selfDeclaredMadeForKids: bool @typing.type_check_only -class ChannelToAffiliateProgramLinkDetails(typing_extensions.TypedDict, total=False): +class ChannelToAffiliateProgramLinkDetails(typing.TypedDict, total=False): merchantId: str - programStatus: typing_extensions.Literal[ + programStatus: typing.Literal[ "affiliateProgramStatusUnspecified", "active", "inactive" ] statusUpdateReason: str statusUpdateTime: str @typing.type_check_only -class ChannelToStoreLinkDetails(typing_extensions.TypedDict, total=False): +class ChannelToStoreLinkDetails(typing.TypedDict, total=False): billingDetails: ChannelToStoreLinkDetailsBillingDetails merchantAffiliateProgramDetails: ( ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails @@ -399,8 +419,8 @@ class ChannelToStoreLinkDetails(typing_extensions.TypedDict, total=False): storeUrl: str @typing.type_check_only -class ChannelToStoreLinkDetailsBillingDetails(typing_extensions.TypedDict, total=False): - billingStatus: typing_extensions.Literal[ +class ChannelToStoreLinkDetailsBillingDetails(typing.TypedDict, total=False): + billingStatus: typing.Literal[ "billingStatusUnspecified", "billingStatusPending", "billingStatusActive", @@ -409,9 +429,9 @@ class ChannelToStoreLinkDetailsBillingDetails(typing_extensions.TypedDict, total @typing.type_check_only class ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails( - typing_extensions.TypedDict, total=False + typing.TypedDict, total=False ): - status: typing_extensions.Literal[ + status: typing.Literal[ "merchantAffiliateProgramStatusUnspecified", "merchantAffiliateProgramStatusEligible", "merchantAffiliateProgramStatusActive", @@ -419,19 +439,19 @@ class ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails( ] @typing.type_check_only -class ChannelTopicDetails(typing_extensions.TypedDict, total=False): +class ChannelTopicDetails(typing.TypedDict, total=False): topicCategories: _list[str] topicIds: _list[str] @typing.type_check_only -class Comment(typing_extensions.TypedDict, total=False): +class Comment(typing.TypedDict, total=False): etag: str id: str kind: str snippet: CommentSnippet @typing.type_check_only -class CommentListResponse(typing_extensions.TypedDict, total=False): +class CommentListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Comment] @@ -442,7 +462,7 @@ class CommentListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class CommentSnippet(typing_extensions.TypedDict, total=False): +class CommentSnippet(typing.TypedDict, total=False): authorChannelId: CommentSnippetAuthorChannelId authorChannelUrl: str authorDisplayName: str @@ -450,7 +470,7 @@ class CommentSnippet(typing_extensions.TypedDict, total=False): canRate: bool channelId: str likeCount: int - moderationStatus: typing_extensions.Literal[ + moderationStatus: typing.Literal[ "published", "heldForReview", "likelySpam", "rejected" ] parentId: str @@ -460,14 +480,14 @@ class CommentSnippet(typing_extensions.TypedDict, total=False): textOriginal: str updatedAt: str videoId: str - viewerRating: typing_extensions.Literal["none", "like", "dislike"] + viewerRating: typing.Literal["none", "like", "dislike"] @typing.type_check_only -class CommentSnippetAuthorChannelId(typing_extensions.TypedDict, total=False): +class CommentSnippetAuthorChannelId(typing.TypedDict, total=False): value: str @typing.type_check_only -class CommentThread(typing_extensions.TypedDict, total=False): +class CommentThread(typing.TypedDict, total=False): etag: str id: str kind: str @@ -475,7 +495,7 @@ class CommentThread(typing_extensions.TypedDict, total=False): snippet: CommentThreadSnippet @typing.type_check_only -class CommentThreadListResponse(typing_extensions.TypedDict, total=False): +class CommentThreadListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[CommentThread] @@ -486,11 +506,11 @@ class CommentThreadListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class CommentThreadReplies(typing_extensions.TypedDict, total=False): +class CommentThreadReplies(typing.TypedDict, total=False): comments: _list[Comment] @typing.type_check_only -class CommentThreadSnippet(typing_extensions.TypedDict, total=False): +class CommentThreadSnippet(typing.TypedDict, total=False): canReply: bool channelId: str isPublic: bool @@ -500,8 +520,8 @@ class CommentThreadSnippet(typing_extensions.TypedDict, total=False): videoId: str @typing.type_check_only -class ContentRating(typing_extensions.TypedDict, total=False): - acbRating: typing_extensions.Literal[ +class ContentRating(typing.TypedDict, total=False): + acbRating: typing.Literal[ "acbUnspecified", "acbE", "acbP", @@ -513,10 +533,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "acbR18plus", "acbUnrated", ] - agcomRating: typing_extensions.Literal[ + agcomRating: typing.Literal[ "agcomUnspecified", "agcomT", "agcomVm14", "agcomVm18", "agcomUnrated" ] - anatelRating: typing_extensions.Literal[ + anatelRating: typing.Literal[ "anatelUnspecified", "anatelF", "anatelI", @@ -527,7 +547,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "anatelA", "anatelUnrated", ] - bbfcRating: typing_extensions.Literal[ + bbfcRating: typing.Literal[ "bbfcUnspecified", "bbfcU", "bbfcPg", @@ -538,7 +558,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "bbfcR18", "bbfcUnrated", ] - bfvcRating: typing_extensions.Literal[ + bfvcRating: typing.Literal[ "bfvcUnspecified", "bfvcG", "bfvcE", @@ -549,7 +569,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "bfvcB", "bfvcUnrated", ] - bmukkRating: typing_extensions.Literal[ + bmukkRating: typing.Literal[ "bmukkUnspecified", "bmukkAa", "bmukk6", @@ -560,7 +580,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "bmukk16", "bmukkUnrated", ] - catvRating: typing_extensions.Literal[ + catvRating: typing.Literal[ "catvUnspecified", "catvC", "catvC8", @@ -571,7 +591,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "catvUnrated", "catvE", ] - catvfrRating: typing_extensions.Literal[ + catvfrRating: typing.Literal[ "catvfrUnspecified", "catvfrG", "catvfr8plus", @@ -581,7 +601,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "catvfrUnrated", "catvfrE", ] - cbfcRating: typing_extensions.Literal[ + cbfcRating: typing.Literal[ "cbfcUnspecified", "cbfcU", "cbfcUA", @@ -592,7 +612,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "cbfcS", "cbfcUnrated", ] - cccRating: typing_extensions.Literal[ + cccRating: typing.Literal[ "cccUnspecified", "cccTe", "ccc6", @@ -602,7 +622,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "ccc18s", "cccUnrated", ] - cceRating: typing_extensions.Literal[ + cceRating: typing.Literal[ "cceUnspecified", "cceM4", "cceM6", @@ -612,7 +632,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "cceUnrated", "cceM14", ] - chfilmRating: typing_extensions.Literal[ + chfilmRating: typing.Literal[ "chfilmUnspecified", "chfilm0", "chfilm6", @@ -621,7 +641,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "chfilm18", "chfilmUnrated", ] - chvrsRating: typing_extensions.Literal[ + chvrsRating: typing.Literal[ "chvrsUnspecified", "chvrsG", "chvrsPg", @@ -631,13 +651,13 @@ class ContentRating(typing_extensions.TypedDict, total=False): "chvrsE", "chvrsUnrated", ] - cicfRating: typing_extensions.Literal[ + cicfRating: typing.Literal[ "cicfUnspecified", "cicfE", "cicfKtEa", "cicfKntEna", "cicfUnrated" ] - cnaRating: typing_extensions.Literal[ + cnaRating: typing.Literal[ "cnaUnspecified", "cnaAp", "cna12", "cna15", "cna18", "cna18plus", "cnaUnrated" ] - cncRating: typing_extensions.Literal[ + cncRating: typing.Literal[ "cncUnspecified", "cncT", "cnc10", @@ -648,7 +668,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "cncInterdiction", "cncUnrated", ] - csaRating: typing_extensions.Literal[ + csaRating: typing.Literal[ "csaUnspecified", "csaT", "csa10", @@ -658,7 +678,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "csaInterdiction", "csaUnrated", ] - cscfRating: typing_extensions.Literal[ + cscfRating: typing.Literal[ "cscfUnspecified", "cscfAl", "cscfA", @@ -669,7 +689,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "cscf18", "cscfUnrated", ] - czfilmRating: typing_extensions.Literal[ + czfilmRating: typing.Literal[ "czfilmUnspecified", "czfilmU", "czfilm12", @@ -677,7 +697,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "czfilm18", "czfilmUnrated", ] - djctqRating: typing_extensions.Literal[ + djctqRating: typing.Literal[ "djctqUnspecified", "djctqL", "djctq10", @@ -704,7 +724,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "djctqUnrated", ] djctqRatingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "djctqRatingReasonUnspecified", "djctqViolence", "djctqExtremeViolence", @@ -724,7 +744,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "djctqFantasyViolence", ] ] - ecbmctRating: typing_extensions.Literal[ + ecbmctRating: typing.Literal[ "ecbmctUnspecified", "ecbmctG", "ecbmct7a", @@ -736,7 +756,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "ecbmct18plus", "ecbmctUnrated", ] - eefilmRating: typing_extensions.Literal[ + eefilmRating: typing.Literal[ "eefilmUnspecified", "eefilmPere", "eefilmL", @@ -748,10 +768,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "eefilmK16", "eefilmUnrated", ] - egfilmRating: typing_extensions.Literal[ + egfilmRating: typing.Literal[ "egfilmUnspecified", "egfilmGn", "egfilm18", "egfilmBn", "egfilmUnrated" ] - eirinRating: typing_extensions.Literal[ + eirinRating: typing.Literal[ "eirinUnspecified", "eirinG", "eirinPg12", @@ -759,7 +779,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "eirinR18plus", "eirinUnrated", ] - fcbmRating: typing_extensions.Literal[ + fcbmRating: typing.Literal[ "fcbmUnspecified", "fcbmU", "fcbmPg13", @@ -771,10 +791,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "fcbm18pl", "fcbmUnrated", ] - fcoRating: typing_extensions.Literal[ + fcoRating: typing.Literal[ "fcoUnspecified", "fcoI", "fcoIia", "fcoIib", "fcoIi", "fcoIii", "fcoUnrated" ] - fmocRating: typing_extensions.Literal[ + fmocRating: typing.Literal[ "fmocUnspecified", "fmocU", "fmoc10", @@ -784,7 +804,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "fmocE", "fmocUnrated", ] - fpbRating: typing_extensions.Literal[ + fpbRating: typing.Literal[ "fpbUnspecified", "fpbA", "fpbPg", @@ -799,7 +819,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "fpb10", ] fpbRatingReasons: _list[ - typing_extensions.Literal[ + typing.Literal[ "fpbRatingReasonUnspecified", "fpbBlasphemy", "fpbLanguage", @@ -814,10 +834,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "fpbImitativeActsTechniques", ] ] - fskRating: typing_extensions.Literal[ + fskRating: typing.Literal[ "fskUnspecified", "fsk0", "fsk6", "fsk12", "fsk16", "fsk18", "fskUnrated" ] - grfilmRating: typing_extensions.Literal[ + grfilmRating: typing.Literal[ "grfilmUnspecified", "grfilmK", "grfilmE", @@ -828,7 +848,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "grfilmK18", "grfilmUnrated", ] - icaaRating: typing_extensions.Literal[ + icaaRating: typing.Literal[ "icaaUnspecified", "icaaApta", "icaa7", @@ -839,7 +859,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "icaaX", "icaaUnrated", ] - ifcoRating: typing_extensions.Literal[ + ifcoRating: typing.Literal[ "ifcoUnspecified", "ifcoG", "ifcoPg", @@ -851,7 +871,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "ifco18", "ifcoUnrated", ] - ilfilmRating: typing_extensions.Literal[ + ilfilmRating: typing.Literal[ "ilfilmUnspecified", "ilfilmAa", "ilfilm12", @@ -860,7 +880,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "ilfilm18", "ilfilmUnrated", ] - incaaRating: typing_extensions.Literal[ + incaaRating: typing.Literal[ "incaaUnspecified", "incaaAtp", "incaaSam13", @@ -869,10 +889,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "incaaC", "incaaUnrated", ] - kfcbRating: typing_extensions.Literal[ + kfcbRating: typing.Literal[ "kfcbUnspecified", "kfcbG", "kfcbPg", "kfcb16plus", "kfcbR", "kfcbUnrated" ] - kijkwijzerRating: typing_extensions.Literal[ + kijkwijzerRating: typing.Literal[ "kijkwijzerUnspecified", "kijkwijzerAl", "kijkwijzer6", @@ -882,7 +902,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "kijkwijzer18", "kijkwijzerUnrated", ] - kmrbRating: typing_extensions.Literal[ + kmrbRating: typing.Literal[ "kmrbUnspecified", "kmrbAll", "kmrb12plus", @@ -891,7 +911,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "kmrbR", "kmrbUnrated", ] - lsfRating: typing_extensions.Literal[ + lsfRating: typing.Literal[ "lsfUnspecified", "lsfSu", "lsfA", @@ -903,7 +923,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "lsf21", "lsfUnrated", ] - mccaaRating: typing_extensions.Literal[ + mccaaRating: typing.Literal[ "mccaaUnspecified", "mccaaU", "mccaaPg", @@ -915,10 +935,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "mccaa18", "mccaaUnrated", ] - mccypRating: typing_extensions.Literal[ + mccypRating: typing.Literal[ "mccypUnspecified", "mccypA", "mccyp7", "mccyp11", "mccyp15", "mccypUnrated" ] - mcstRating: typing_extensions.Literal[ + mcstRating: typing.Literal[ "mcstUnspecified", "mcstP", "mcst0", @@ -929,7 +949,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "mcstGPg", "mcstUnrated", ] - mdaRating: typing_extensions.Literal[ + mdaRating: typing.Literal[ "mdaUnspecified", "mdaG", "mdaPg", @@ -939,7 +959,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "mdaR21", "mdaUnrated", ] - medietilsynetRating: typing_extensions.Literal[ + medietilsynetRating: typing.Literal[ "medietilsynetUnspecified", "medietilsynetA", "medietilsynet6", @@ -951,10 +971,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "medietilsynet18", "medietilsynetUnrated", ] - mekuRating: typing_extensions.Literal[ + mekuRating: typing.Literal[ "mekuUnspecified", "mekuS", "meku7", "meku12", "meku16", "meku18", "mekuUnrated" ] - menaMpaaRating: typing_extensions.Literal[ + menaMpaaRating: typing.Literal[ "menaMpaaUnspecified", "menaMpaaG", "menaMpaaPg", @@ -962,7 +982,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "menaMpaaR", "menaMpaaUnrated", ] - mibacRating: typing_extensions.Literal[ + mibacRating: typing.Literal[ "mibacUnspecified", "mibacT", "mibacVap", @@ -973,7 +993,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "mibacVm18", "mibacUnrated", ] - mocRating: typing_extensions.Literal[ + mocRating: typing.Literal[ "mocUnspecified", "mocE", "mocT", @@ -985,7 +1005,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "mocBanned", "mocUnrated", ] - moctwRating: typing_extensions.Literal[ + moctwRating: typing.Literal[ "moctwUnspecified", "moctwG", "moctwP", @@ -995,7 +1015,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "moctwR12", "moctwR15", ] - mpaaRating: typing_extensions.Literal[ + mpaaRating: typing.Literal[ "mpaaUnspecified", "mpaaG", "mpaaPg", @@ -1005,8 +1025,8 @@ class ContentRating(typing_extensions.TypedDict, total=False): "mpaaX", "mpaaUnrated", ] - mpaatRating: typing_extensions.Literal["mpaatUnspecified", "mpaatGb", "mpaatRb"] - mtrcbRating: typing_extensions.Literal[ + mpaatRating: typing.Literal["mpaatUnspecified", "mpaatGb", "mpaatRb"] + mtrcbRating: typing.Literal[ "mtrcbUnspecified", "mtrcbG", "mtrcbPg", @@ -1016,7 +1036,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "mtrcbX", "mtrcbUnrated", ] - nbcRating: typing_extensions.Literal[ + nbcRating: typing.Literal[ "nbcUnspecified", "nbcG", "nbcPg", @@ -1027,7 +1047,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "nbcPu", "nbcUnrated", ] - nbcplRating: typing_extensions.Literal[ + nbcplRating: typing.Literal[ "nbcplUnspecified", "nbcplI", "nbcplIi", @@ -1036,10 +1056,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "nbcpl18plus", "nbcplUnrated", ] - nfrcRating: typing_extensions.Literal[ + nfrcRating: typing.Literal[ "nfrcUnspecified", "nfrcA", "nfrcB", "nfrcC", "nfrcD", "nfrcX", "nfrcUnrated" ] - nfvcbRating: typing_extensions.Literal[ + nfvcbRating: typing.Literal[ "nfvcbUnspecified", "nfvcbG", "nfvcbPg", @@ -1050,7 +1070,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "nfvcbRe", "nfvcbUnrated", ] - nkclvRating: typing_extensions.Literal[ + nkclvRating: typing.Literal[ "nkclvUnspecified", "nkclvU", "nkclv7plus", @@ -1059,7 +1079,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "nkclv18plus", "nkclvUnrated", ] - nmcRating: typing_extensions.Literal[ + nmcRating: typing.Literal[ "nmcUnspecified", "nmcG", "nmcPg", @@ -1070,7 +1090,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "nmc18tc", "nmcUnrated", ] - oflcRating: typing_extensions.Literal[ + oflcRating: typing.Literal[ "oflcUnspecified", "oflcG", "oflcPg", @@ -1084,7 +1104,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "oflcRp16", "oflcRp18", ] - pefilmRating: typing_extensions.Literal[ + pefilmRating: typing.Literal[ "pefilmUnspecified", "pefilmPt", "pefilmPg", @@ -1092,7 +1112,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "pefilm18", "pefilmUnrated", ] - rcnofRating: typing_extensions.Literal[ + rcnofRating: typing.Literal[ "rcnofUnspecified", "rcnofI", "rcnofIi", @@ -1102,7 +1122,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "rcnofVi", "rcnofUnrated", ] - resorteviolenciaRating: typing_extensions.Literal[ + resorteviolenciaRating: typing.Literal[ "resorteviolenciaUnspecified", "resorteviolenciaA", "resorteviolenciaB", @@ -1111,7 +1131,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "resorteviolenciaE", "resorteviolenciaUnrated", ] - rtcRating: typing_extensions.Literal[ + rtcRating: typing.Literal[ "rtcUnspecified", "rtcAa", "rtcA", @@ -1121,10 +1141,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "rtcD", "rtcUnrated", ] - rteRating: typing_extensions.Literal[ + rteRating: typing.Literal[ "rteUnspecified", "rteGa", "rteCh", "rtePs", "rteMa", "rteUnrated" ] - russiaRating: typing_extensions.Literal[ + russiaRating: typing.Literal[ "russiaUnspecified", "russia0", "russia6", @@ -1133,7 +1153,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "russia18", "russiaUnrated", ] - skfilmRating: typing_extensions.Literal[ + skfilmRating: typing.Literal[ "skfilmUnspecified", "skfilmG", "skfilmP2", @@ -1141,7 +1161,7 @@ class ContentRating(typing_extensions.TypedDict, total=False): "skfilmP8", "skfilmUnrated", ] - smaisRating: typing_extensions.Literal[ + smaisRating: typing.Literal[ "smaisUnspecified", "smaisL", "smais7", @@ -1151,10 +1171,10 @@ class ContentRating(typing_extensions.TypedDict, total=False): "smais18", "smaisUnrated", ] - smsaRating: typing_extensions.Literal[ + smsaRating: typing.Literal[ "smsaUnspecified", "smsaA", "smsa7", "smsa11", "smsa15", "smsaUnrated" ] - tvpgRating: typing_extensions.Literal[ + tvpgRating: typing.Literal[ "tvpgUnspecified", "tvpgY", "tvpgY7", @@ -1165,11 +1185,11 @@ class ContentRating(typing_extensions.TypedDict, total=False): "tvpgMa", "tvpgUnrated", ] - ytRating: typing_extensions.Literal["ytUnspecified", "ytAgeRestricted"] + ytRating: typing.Literal["ytUnspecified", "ytAgeRestricted"] @typing.type_check_only -class Cuepoint(typing_extensions.TypedDict, total=False): - cueType: typing_extensions.Literal["cueTypeUnspecified", "cueTypeAd"] +class Cuepoint(typing.TypedDict, total=False): + cueType: typing.Literal["cueTypeUnspecified", "cueTypeAd"] durationSecs: int etag: str id: str @@ -1177,35 +1197,35 @@ class Cuepoint(typing_extensions.TypedDict, total=False): walltimeMs: str @typing.type_check_only -class CuepointSchedule(typing_extensions.TypedDict, total=False): +class CuepointSchedule(typing.TypedDict, total=False): enabled: bool pauseAdsUntil: str repeatIntervalSecs: int - scheduleStrategy: typing_extensions.Literal[ + scheduleStrategy: typing.Literal[ "scheduleStrategyUnspecified", "concurrent", "nonConcurrent" ] @typing.type_check_only -class Entity(typing_extensions.TypedDict, total=False): +class Entity(typing.TypedDict, total=False): id: str typeId: str url: str @typing.type_check_only -class GeoPoint(typing_extensions.TypedDict, total=False): +class GeoPoint(typing.TypedDict, total=False): altitude: float latitude: float longitude: float @typing.type_check_only -class I18nLanguage(typing_extensions.TypedDict, total=False): +class I18nLanguage(typing.TypedDict, total=False): etag: str id: str kind: str snippet: I18nLanguageSnippet @typing.type_check_only -class I18nLanguageListResponse(typing_extensions.TypedDict, total=False): +class I18nLanguageListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[I18nLanguage] @@ -1213,19 +1233,19 @@ class I18nLanguageListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class I18nLanguageSnippet(typing_extensions.TypedDict, total=False): +class I18nLanguageSnippet(typing.TypedDict, total=False): hl: str name: str @typing.type_check_only -class I18nRegion(typing_extensions.TypedDict, total=False): +class I18nRegion(typing.TypedDict, total=False): etag: str id: str kind: str snippet: I18nRegionSnippet @typing.type_check_only -class I18nRegionListResponse(typing_extensions.TypedDict, total=False): +class I18nRegionListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[I18nRegion] @@ -1233,12 +1253,12 @@ class I18nRegionListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class I18nRegionSnippet(typing_extensions.TypedDict, total=False): +class I18nRegionSnippet(typing.TypedDict, total=False): gl: str name: str @typing.type_check_only -class ImageSettings(typing_extensions.TypedDict, total=False): +class ImageSettings(typing.TypedDict, total=False): backgroundImageUrl: LocalizedProperty bannerExternalUrl: str bannerImageUrl: str @@ -1263,7 +1283,7 @@ class ImageSettings(typing_extensions.TypedDict, total=False): watchIconImageUrl: str @typing.type_check_only -class IngestionInfo(typing_extensions.TypedDict, total=False): +class IngestionInfo(typing.TypedDict, total=False): backupIngestionAddress: str ingestionAddress: str rtmpsBackupIngestionAddress: str @@ -1271,7 +1291,12 @@ class IngestionInfo(typing_extensions.TypedDict, total=False): streamName: str @typing.type_check_only -class InvideoBranding(typing_extensions.TypedDict, total=False): +class Interval(typing.TypedDict, total=False): + endTime: str + startTime: str + +@typing.type_check_only +class InvideoBranding(typing.TypedDict, total=False): imageBytes: str imageUrl: str position: InvideoPosition @@ -1279,28 +1304,26 @@ class InvideoBranding(typing_extensions.TypedDict, total=False): timing: InvideoTiming @typing.type_check_only -class InvideoPosition(typing_extensions.TypedDict, total=False): - cornerPosition: typing_extensions.Literal[ - "topLeft", "topRight", "bottomLeft", "bottomRight" - ] - type: typing_extensions.Literal["corner"] +class InvideoPosition(typing.TypedDict, total=False): + cornerPosition: typing.Literal["topLeft", "topRight", "bottomLeft", "bottomRight"] + type: typing.Literal["corner"] @typing.type_check_only -class InvideoTiming(typing_extensions.TypedDict, total=False): +class InvideoTiming(typing.TypedDict, total=False): durationMs: str offsetMs: str - type: typing_extensions.Literal["offsetFromStart", "offsetFromEnd"] + type: typing.Literal["offsetFromStart", "offsetFromEnd"] @typing.type_check_only -class LanguageTag(typing_extensions.TypedDict, total=False): +class LanguageTag(typing.TypedDict, total=False): value: str @typing.type_check_only -class LevelDetails(typing_extensions.TypedDict, total=False): +class LevelDetails(typing.TypedDict, total=False): displayName: str @typing.type_check_only -class LiveBroadcast(typing_extensions.TypedDict, total=False): +class LiveBroadcast(typing.TypedDict, total=False): contentDetails: LiveBroadcastContentDetails etag: str id: str @@ -1311,10 +1334,11 @@ class LiveBroadcast(typing_extensions.TypedDict, total=False): status: LiveBroadcastStatus @typing.type_check_only -class LiveBroadcastContentDetails(typing_extensions.TypedDict, total=False): +class LiveBroadcastContentDetails(typing.TypedDict, total=False): + availabilityConfig: AvailabilityConfig boundStreamId: str boundStreamLastUpdateTimeMs: str - closedCaptionsType: typing_extensions.Literal[ + closedCaptionsType: typing.Literal[ "closedCaptionsTypeUnspecified", "closedCaptionsDisabled", "closedCaptionsHttpPost", @@ -1327,22 +1351,20 @@ class LiveBroadcastContentDetails(typing_extensions.TypedDict, total=False): enableDvr: bool enableEmbed: bool enableLowLatency: bool - latencyPreference: typing_extensions.Literal[ + latencyPreference: typing.Literal[ "latencyPreferenceUnspecified", "normal", "low", "ultraLow" ] mesh: str monitorStream: MonitorStreamInfo - projection: typing_extensions.Literal[ - "projectionUnspecified", "rectangular", "360", "mesh" - ] + projection: typing.Literal["projectionUnspecified", "rectangular", "360", "mesh"] recordFromStart: bool startWithSlate: bool - stereoLayout: typing_extensions.Literal[ + stereoLayout: typing.Literal[ "stereoLayoutUnspecified", "mono", "leftRight", "topBottom" ] @typing.type_check_only -class LiveBroadcastListResponse(typing_extensions.TypedDict, total=False): +class LiveBroadcastListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[LiveBroadcast] @@ -1354,11 +1376,11 @@ class LiveBroadcastListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class LiveBroadcastMonetizationDetails(typing_extensions.TypedDict, total=False): +class LiveBroadcastMonetizationDetails(typing.TypedDict, total=False): cuepointSchedule: CuepointSchedule @typing.type_check_only -class LiveBroadcastSnippet(typing_extensions.TypedDict, total=False): +class LiveBroadcastSnippet(typing.TypedDict, total=False): actualEndTime: str actualStartTime: str channelId: str @@ -1372,12 +1394,12 @@ class LiveBroadcastSnippet(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class LiveBroadcastStatistics(typing_extensions.TypedDict, total=False): +class LiveBroadcastStatistics(typing.TypedDict, total=False): concurrentViewers: str @typing.type_check_only -class LiveBroadcastStatus(typing_extensions.TypedDict, total=False): - lifeCycleStatus: typing_extensions.Literal[ +class LiveBroadcastStatus(typing.TypedDict, total=False): + lifeCycleStatus: typing.Literal[ "lifeCycleStatusUnspecified", "created", "ready", @@ -1388,12 +1410,12 @@ class LiveBroadcastStatus(typing_extensions.TypedDict, total=False): "testStarting", "liveStarting", ] - liveBroadcastPriority: typing_extensions.Literal[ + liveBroadcastPriority: typing.Literal[ "liveBroadcastPriorityUnspecified", "low", "normal", "high" ] madeForKids: bool - privacyStatus: typing_extensions.Literal["public", "unlisted", "private"] - recordingStatus: typing_extensions.Literal[ + privacyStatus: typing.Literal["public", "unlisted", "private"] + recordingStatus: typing.Literal[ "liveBroadcastRecordingStatusUnspecified", "notRecording", "recording", @@ -1402,30 +1424,28 @@ class LiveBroadcastStatus(typing_extensions.TypedDict, total=False): selfDeclaredMadeForKids: bool @typing.type_check_only -class LiveChatBan(typing_extensions.TypedDict, total=False): +class LiveChatBan(typing.TypedDict, total=False): etag: str id: str kind: str snippet: LiveChatBanSnippet @typing.type_check_only -class LiveChatBanSnippet(typing_extensions.TypedDict, total=False): +class LiveChatBanSnippet(typing.TypedDict, total=False): banDurationSeconds: str bannedUserDetails: ChannelProfileDetails liveChatId: str - type: typing_extensions.Literal[ - "liveChatBanTypeUnspecified", "permanent", "temporary" - ] + type: typing.Literal["liveChatBanTypeUnspecified", "permanent", "temporary"] @typing.type_check_only -class LiveChatFanFundingEventDetails(typing_extensions.TypedDict, total=False): +class LiveChatFanFundingEventDetails(typing.TypedDict, total=False): amountDisplayString: str amountMicros: str currency: str userComment: str @typing.type_check_only -class LiveChatGiftDetails(typing_extensions.TypedDict, total=False): +class LiveChatGiftDetails(typing.TypedDict, total=False): altText: str comboCount: int giftDuration: str @@ -1436,24 +1456,24 @@ class LiveChatGiftDetails(typing_extensions.TypedDict, total=False): language: str @typing.type_check_only -class LiveChatGiftMembershipReceivedDetails(typing_extensions.TypedDict, total=False): +class LiveChatGiftMembershipReceivedDetails(typing.TypedDict, total=False): associatedMembershipGiftingMessageId: str gifterChannelId: str memberLevelName: str @typing.type_check_only -class LiveChatMemberMilestoneChatDetails(typing_extensions.TypedDict, total=False): +class LiveChatMemberMilestoneChatDetails(typing.TypedDict, total=False): memberLevelName: str memberMonth: int userComment: str @typing.type_check_only -class LiveChatMembershipGiftingDetails(typing_extensions.TypedDict, total=False): +class LiveChatMembershipGiftingDetails(typing.TypedDict, total=False): giftMembershipsCount: int giftMembershipsLevelName: str @typing.type_check_only -class LiveChatMessage(typing_extensions.TypedDict, total=False): +class LiveChatMessage(typing.TypedDict, total=False): authorDetails: LiveChatMessageAuthorDetails etag: str id: str @@ -1461,7 +1481,7 @@ class LiveChatMessage(typing_extensions.TypedDict, total=False): snippet: LiveChatMessageSnippet @typing.type_check_only -class LiveChatMessageAuthorDetails(typing_extensions.TypedDict, total=False): +class LiveChatMessageAuthorDetails(typing.TypedDict, total=False): channelId: str channelUrl: str displayName: str @@ -1472,11 +1492,11 @@ class LiveChatMessageAuthorDetails(typing_extensions.TypedDict, total=False): profileImageUrl: str @typing.type_check_only -class LiveChatMessageDeletedDetails(typing_extensions.TypedDict, total=False): +class LiveChatMessageDeletedDetails(typing.TypedDict, total=False): deletedMessageId: str @typing.type_check_only -class LiveChatMessageListResponse(typing_extensions.TypedDict, total=False): +class LiveChatMessageListResponse(typing.TypedDict, total=False): activePollItem: LiveChatMessage etag: str eventId: str @@ -1490,11 +1510,11 @@ class LiveChatMessageListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class LiveChatMessageRetractedDetails(typing_extensions.TypedDict, total=False): +class LiveChatMessageRetractedDetails(typing.TypedDict, total=False): retractedMessageId: str @typing.type_check_only -class LiveChatMessageSnippet(typing_extensions.TypedDict, total=False): +class LiveChatMessageSnippet(typing.TypedDict, total=False): authorChannelId: str displayMessage: str fanFundingEventDetails: LiveChatFanFundingEventDetails @@ -1512,7 +1532,7 @@ class LiveChatMessageSnippet(typing_extensions.TypedDict, total=False): superChatDetails: LiveChatSuperChatDetails superStickerDetails: LiveChatSuperStickerDetails textMessageDetails: LiveChatTextMessageDetails - type: typing_extensions.Literal[ + type: typing.Literal[ "invalidType", "textMessageEvent", "tombstone", @@ -1535,14 +1555,14 @@ class LiveChatMessageSnippet(typing_extensions.TypedDict, total=False): userBannedDetails: LiveChatUserBannedMessageDetails @typing.type_check_only -class LiveChatModerator(typing_extensions.TypedDict, total=False): +class LiveChatModerator(typing.TypedDict, total=False): etag: str id: str kind: str snippet: LiveChatModeratorSnippet @typing.type_check_only -class LiveChatModeratorListResponse(typing_extensions.TypedDict, total=False): +class LiveChatModeratorListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[LiveChatModerator] @@ -1554,34 +1574,32 @@ class LiveChatModeratorListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class LiveChatModeratorSnippet(typing_extensions.TypedDict, total=False): +class LiveChatModeratorSnippet(typing.TypedDict, total=False): liveChatId: str moderatorDetails: ChannelProfileDetails @typing.type_check_only -class LiveChatNewSponsorDetails(typing_extensions.TypedDict, total=False): +class LiveChatNewSponsorDetails(typing.TypedDict, total=False): isUpgrade: bool memberLevelName: str @typing.type_check_only -class LiveChatPollDetails(typing_extensions.TypedDict, total=False): +class LiveChatPollDetails(typing.TypedDict, total=False): metadata: LiveChatPollDetailsPollMetadata - status: typing_extensions.Literal["unknown", "active", "closed"] + status: typing.Literal["unknown", "active", "closed"] @typing.type_check_only -class LiveChatPollDetailsPollMetadata(typing_extensions.TypedDict, total=False): +class LiveChatPollDetailsPollMetadata(typing.TypedDict, total=False): options: _list[LiveChatPollDetailsPollMetadataPollOption] questionText: str @typing.type_check_only -class LiveChatPollDetailsPollMetadataPollOption( - typing_extensions.TypedDict, total=False -): +class LiveChatPollDetailsPollMetadataPollOption(typing.TypedDict, total=False): optionText: str tally: str @typing.type_check_only -class LiveChatSuperChatDetails(typing_extensions.TypedDict, total=False): +class LiveChatSuperChatDetails(typing.TypedDict, total=False): amountDisplayString: str amountMicros: str currency: str @@ -1589,7 +1607,7 @@ class LiveChatSuperChatDetails(typing_extensions.TypedDict, total=False): userComment: str @typing.type_check_only -class LiveChatSuperStickerDetails(typing_extensions.TypedDict, total=False): +class LiveChatSuperStickerDetails(typing.TypedDict, total=False): amountDisplayString: str amountMicros: str currency: str @@ -1597,17 +1615,17 @@ class LiveChatSuperStickerDetails(typing_extensions.TypedDict, total=False): tier: int @typing.type_check_only -class LiveChatTextMessageDetails(typing_extensions.TypedDict, total=False): +class LiveChatTextMessageDetails(typing.TypedDict, total=False): messageText: str @typing.type_check_only -class LiveChatUserBannedMessageDetails(typing_extensions.TypedDict, total=False): +class LiveChatUserBannedMessageDetails(typing.TypedDict, total=False): banDurationSeconds: str - banType: typing_extensions.Literal["permanent", "temporary"] + banType: typing.Literal["permanent", "temporary"] bannedUserDetails: ChannelProfileDetails @typing.type_check_only -class LiveStream(typing_extensions.TypedDict, total=False): +class LiveStream(typing.TypedDict, total=False): cdn: CdnSettings contentDetails: LiveStreamContentDetails etag: str @@ -1617,11 +1635,11 @@ class LiveStream(typing_extensions.TypedDict, total=False): status: LiveStreamStatus @typing.type_check_only -class LiveStreamConfigurationIssue(typing_extensions.TypedDict, total=False): +class LiveStreamConfigurationIssue(typing.TypedDict, total=False): description: str reason: str - severity: typing_extensions.Literal["info", "warning", "error"] - type: typing_extensions.Literal[ + severity: typing.Literal["info", "warning", "error"] + type: typing.Literal[ "gopSizeOver", "gopSizeLong", "gopSizeShort", @@ -1659,18 +1677,18 @@ class LiveStreamConfigurationIssue(typing_extensions.TypedDict, total=False): ] @typing.type_check_only -class LiveStreamContentDetails(typing_extensions.TypedDict, total=False): +class LiveStreamContentDetails(typing.TypedDict, total=False): closedCaptionsIngestionUrl: str isReusable: bool @typing.type_check_only -class LiveStreamHealthStatus(typing_extensions.TypedDict, total=False): +class LiveStreamHealthStatus(typing.TypedDict, total=False): configurationIssues: _list[LiveStreamConfigurationIssue] lastUpdateTimeSeconds: str - status: typing_extensions.Literal["good", "ok", "bad", "noData", "revoked"] + status: typing.Literal["good", "ok", "bad", "noData", "revoked"] @typing.type_check_only -class LiveStreamListResponse(typing_extensions.TypedDict, total=False): +class LiveStreamListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[LiveStream] @@ -1682,7 +1700,7 @@ class LiveStreamListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class LiveStreamSnippet(typing_extensions.TypedDict, total=False): +class LiveStreamSnippet(typing.TypedDict, total=False): channelId: str description: str isDefaultStream: bool @@ -1690,31 +1708,29 @@ class LiveStreamSnippet(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class LiveStreamStatus(typing_extensions.TypedDict, total=False): +class LiveStreamStatus(typing.TypedDict, total=False): healthStatus: LiveStreamHealthStatus - streamStatus: typing_extensions.Literal[ - "created", "ready", "active", "inactive", "error" - ] + streamStatus: typing.Literal["created", "ready", "active", "inactive", "error"] @typing.type_check_only -class LocalizedProperty(typing_extensions.TypedDict, total=False): +class LocalizedProperty(typing.TypedDict, total=False): default: str defaultLanguage: LanguageTag localized: _list[LocalizedString] @typing.type_check_only -class LocalizedString(typing_extensions.TypedDict, total=False): +class LocalizedString(typing.TypedDict, total=False): language: str value: str @typing.type_check_only -class Member(typing_extensions.TypedDict, total=False): +class Member(typing.TypedDict, total=False): etag: str kind: str snippet: MemberSnippet @typing.type_check_only -class MemberListResponse(typing_extensions.TypedDict, total=False): +class MemberListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Member] @@ -1725,13 +1741,13 @@ class MemberListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class MemberSnippet(typing_extensions.TypedDict, total=False): +class MemberSnippet(typing.TypedDict, total=False): creatorChannelId: str memberDetails: ChannelProfileDetails membershipsDetails: MembershipsDetails @typing.type_check_only -class MembershipsDetails(typing_extensions.TypedDict, total=False): +class MembershipsDetails(typing.TypedDict, total=False): accessibleLevels: _list[str] highestAccessibleLevel: str highestAccessibleLevelDisplayName: str @@ -1739,25 +1755,25 @@ class MembershipsDetails(typing_extensions.TypedDict, total=False): membershipsDurationAtLevels: _list[MembershipsDurationAtLevel] @typing.type_check_only -class MembershipsDuration(typing_extensions.TypedDict, total=False): +class MembershipsDuration(typing.TypedDict, total=False): memberSince: str memberTotalDurationMonths: int @typing.type_check_only -class MembershipsDurationAtLevel(typing_extensions.TypedDict, total=False): +class MembershipsDurationAtLevel(typing.TypedDict, total=False): level: str memberSince: str memberTotalDurationMonths: int @typing.type_check_only -class MembershipsLevel(typing_extensions.TypedDict, total=False): +class MembershipsLevel(typing.TypedDict, total=False): etag: str id: str kind: str snippet: MembershipsLevelSnippet @typing.type_check_only -class MembershipsLevelListResponse(typing_extensions.TypedDict, total=False): +class MembershipsLevelListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[MembershipsLevel] @@ -1765,23 +1781,23 @@ class MembershipsLevelListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class MembershipsLevelSnippet(typing_extensions.TypedDict, total=False): +class MembershipsLevelSnippet(typing.TypedDict, total=False): creatorChannelId: str levelDetails: LevelDetails @typing.type_check_only -class MonitorStreamInfo(typing_extensions.TypedDict, total=False): +class MonitorStreamInfo(typing.TypedDict, total=False): broadcastStreamDelayMs: int embedHtml: str enableMonitorStream: bool @typing.type_check_only -class PageInfo(typing_extensions.TypedDict, total=False): +class PageInfo(typing.TypedDict, total=False): resultsPerPage: int totalResults: int @typing.type_check_only -class Playlist(typing_extensions.TypedDict, total=False): +class Playlist(typing.TypedDict, total=False): contentDetails: PlaylistContentDetails etag: str id: str @@ -1792,17 +1808,17 @@ class Playlist(typing_extensions.TypedDict, total=False): status: PlaylistStatus @typing.type_check_only -class PlaylistContentDetails(typing_extensions.TypedDict, total=False): +class PlaylistContentDetails(typing.TypedDict, total=False): itemCount: int @typing.type_check_only -class PlaylistImage(typing_extensions.TypedDict, total=False): +class PlaylistImage(typing.TypedDict, total=False): id: str kind: str snippet: PlaylistImageSnippet @typing.type_check_only -class PlaylistImageListResponse(typing_extensions.TypedDict, total=False): +class PlaylistImageListResponse(typing.TypedDict, total=False): items: _list[PlaylistImage] kind: str nextPageToken: str @@ -1810,14 +1826,14 @@ class PlaylistImageListResponse(typing_extensions.TypedDict, total=False): prevPageToken: str @typing.type_check_only -class PlaylistImageSnippet(typing_extensions.TypedDict, total=False): +class PlaylistImageSnippet(typing.TypedDict, total=False): height: int playlistId: str - type: typing_extensions.Literal["hero"] + type: typing.Literal["hero"] width: int @typing.type_check_only -class PlaylistItem(typing_extensions.TypedDict, total=False): +class PlaylistItem(typing.TypedDict, total=False): contentDetails: PlaylistItemContentDetails etag: str id: str @@ -1826,7 +1842,7 @@ class PlaylistItem(typing_extensions.TypedDict, total=False): status: PlaylistItemStatus @typing.type_check_only -class PlaylistItemContentDetails(typing_extensions.TypedDict, total=False): +class PlaylistItemContentDetails(typing.TypedDict, total=False): endAt: str note: str startAt: str @@ -1834,7 +1850,7 @@ class PlaylistItemContentDetails(typing_extensions.TypedDict, total=False): videoPublishedAt: str @typing.type_check_only -class PlaylistItemListResponse(typing_extensions.TypedDict, total=False): +class PlaylistItemListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[PlaylistItem] @@ -1846,7 +1862,7 @@ class PlaylistItemListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class PlaylistItemSnippet(typing_extensions.TypedDict, total=False): +class PlaylistItemSnippet(typing.TypedDict, total=False): channelId: str channelTitle: str description: str @@ -1860,11 +1876,11 @@ class PlaylistItemSnippet(typing_extensions.TypedDict, total=False): videoOwnerChannelTitle: str @typing.type_check_only -class PlaylistItemStatus(typing_extensions.TypedDict, total=False): - privacyStatus: typing_extensions.Literal["public", "unlisted", "private"] +class PlaylistItemStatus(typing.TypedDict, total=False): + privacyStatus: typing.Literal["public", "unlisted", "private"] @typing.type_check_only -class PlaylistListResponse(typing_extensions.TypedDict, total=False): +class PlaylistListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Playlist] @@ -1876,16 +1892,16 @@ class PlaylistListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class PlaylistLocalization(typing_extensions.TypedDict, total=False): +class PlaylistLocalization(typing.TypedDict, total=False): description: str title: str @typing.type_check_only -class PlaylistPlayer(typing_extensions.TypedDict, total=False): +class PlaylistPlayer(typing.TypedDict, total=False): embedHtml: str @typing.type_check_only -class PlaylistSnippet(typing_extensions.TypedDict, total=False): +class PlaylistSnippet(typing.TypedDict, total=False): channelId: str channelTitle: str defaultLanguage: str @@ -1898,28 +1914,28 @@ class PlaylistSnippet(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class PlaylistStatus(typing_extensions.TypedDict, total=False): - podcastStatus: typing_extensions.Literal["enabled", "disabled"] - privacyStatus: typing_extensions.Literal["public", "unlisted", "private"] +class PlaylistStatus(typing.TypedDict, total=False): + podcastStatus: typing.Literal["enabled", "disabled"] + privacyStatus: typing.Literal["public", "unlisted", "private"] @typing.type_check_only -class PropertyValue(typing_extensions.TypedDict, total=False): +class PropertyValue(typing.TypedDict, total=False): property: str value: str @typing.type_check_only -class RelatedEntity(typing_extensions.TypedDict, total=False): +class RelatedEntity(typing.TypedDict, total=False): entity: Entity @typing.type_check_only -class ResourceId(typing_extensions.TypedDict, total=False): +class ResourceId(typing.TypedDict, total=False): channelId: str kind: str playlistId: str videoId: str @typing.type_check_only -class SearchListResponse(typing_extensions.TypedDict, total=False): +class SearchListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[SearchResult] @@ -1932,26 +1948,24 @@ class SearchListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class SearchResult(typing_extensions.TypedDict, total=False): +class SearchResult(typing.TypedDict, total=False): etag: str id: ResourceId kind: str snippet: SearchResultSnippet @typing.type_check_only -class SearchResultSnippet(typing_extensions.TypedDict, total=False): +class SearchResultSnippet(typing.TypedDict, total=False): channelId: str channelTitle: str description: str - liveBroadcastContent: typing_extensions.Literal[ - "none", "upcoming", "live", "completed" - ] + liveBroadcastContent: typing.Literal["none", "upcoming", "live", "completed"] publishedAt: str thumbnails: ThumbnailDetails title: str @typing.type_check_only -class Subscription(typing_extensions.TypedDict, total=False): +class Subscription(typing.TypedDict, total=False): contentDetails: SubscriptionContentDetails etag: str id: str @@ -1960,15 +1974,15 @@ class Subscription(typing_extensions.TypedDict, total=False): subscriberSnippet: SubscriptionSubscriberSnippet @typing.type_check_only -class SubscriptionContentDetails(typing_extensions.TypedDict, total=False): - activityType: typing_extensions.Literal[ +class SubscriptionContentDetails(typing.TypedDict, total=False): + activityType: typing.Literal[ "subscriptionActivityTypeUnspecified", "all", "uploads" ] newItemCount: int totalItemCount: int @typing.type_check_only -class SubscriptionListResponse(typing_extensions.TypedDict, total=False): +class SubscriptionListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Subscription] @@ -1980,7 +1994,7 @@ class SubscriptionListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class SubscriptionSnippet(typing_extensions.TypedDict, total=False): +class SubscriptionSnippet(typing.TypedDict, total=False): channelId: str description: str publishedAt: str @@ -1989,21 +2003,21 @@ class SubscriptionSnippet(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class SubscriptionSubscriberSnippet(typing_extensions.TypedDict, total=False): +class SubscriptionSubscriberSnippet(typing.TypedDict, total=False): channelId: str description: str thumbnails: ThumbnailDetails title: str @typing.type_check_only -class SuperChatEvent(typing_extensions.TypedDict, total=False): +class SuperChatEvent(typing.TypedDict, total=False): etag: str id: str kind: str snippet: SuperChatEventSnippet @typing.type_check_only -class SuperChatEventListResponse(typing_extensions.TypedDict, total=False): +class SuperChatEventListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[SuperChatEvent] @@ -2014,7 +2028,7 @@ class SuperChatEventListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class SuperChatEventSnippet(typing_extensions.TypedDict, total=False): +class SuperChatEventSnippet(typing.TypedDict, total=False): amountMicros: str channelId: str commentText: str @@ -2027,13 +2041,13 @@ class SuperChatEventSnippet(typing_extensions.TypedDict, total=False): supporterDetails: ChannelProfileDetails @typing.type_check_only -class SuperStickerMetadata(typing_extensions.TypedDict, total=False): +class SuperStickerMetadata(typing.TypedDict, total=False): altText: str altTextLanguage: str stickerId: str @typing.type_check_only -class TestItem(typing_extensions.TypedDict, total=False): +class TestItem(typing.TypedDict, total=False): etag: str featuredPart: bool gaia: str @@ -2041,10 +2055,10 @@ class TestItem(typing_extensions.TypedDict, total=False): snippet: TestItemTestItemSnippet @typing.type_check_only -class TestItemTestItemSnippet(typing_extensions.TypedDict, total=False): ... +class TestItemTestItemSnippet(typing.TypedDict, total=False): ... @typing.type_check_only -class ThirdPartyLink(typing_extensions.TypedDict, total=False): +class ThirdPartyLink(typing.TypedDict, total=False): etag: str kind: str linkingToken: str @@ -2052,31 +2066,31 @@ class ThirdPartyLink(typing_extensions.TypedDict, total=False): status: ThirdPartyLinkStatus @typing.type_check_only -class ThirdPartyLinkListResponse(typing_extensions.TypedDict, total=False): +class ThirdPartyLinkListResponse(typing.TypedDict, total=False): etag: str items: _list[ThirdPartyLink] kind: str @typing.type_check_only -class ThirdPartyLinkSnippet(typing_extensions.TypedDict, total=False): +class ThirdPartyLinkSnippet(typing.TypedDict, total=False): channelToAffiliateProgramLink: ChannelToAffiliateProgramLinkDetails channelToStoreLink: ChannelToStoreLinkDetails - type: typing_extensions.Literal[ + type: typing.Literal[ "linkUnspecified", "channelToStoreLink", "channelToAffiliateProgramLink" ] @typing.type_check_only -class ThirdPartyLinkStatus(typing_extensions.TypedDict, total=False): - linkStatus: typing_extensions.Literal["unknown", "failed", "pending", "linked"] +class ThirdPartyLinkStatus(typing.TypedDict, total=False): + linkStatus: typing.Literal["unknown", "failed", "pending", "linked"] @typing.type_check_only -class Thumbnail(typing_extensions.TypedDict, total=False): +class Thumbnail(typing.TypedDict, total=False): height: int url: str width: int @typing.type_check_only -class ThumbnailDetails(typing_extensions.TypedDict, total=False): +class ThumbnailDetails(typing.TypedDict, total=False): default: Thumbnail high: Thumbnail maxres: Thumbnail @@ -2084,7 +2098,7 @@ class ThumbnailDetails(typing_extensions.TypedDict, total=False): standard: Thumbnail @typing.type_check_only -class ThumbnailSetResponse(typing_extensions.TypedDict, total=False): +class ThumbnailSetResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[ThumbnailDetails] @@ -2092,11 +2106,12 @@ class ThumbnailSetResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class TokenPagination(typing_extensions.TypedDict, total=False): ... +class TokenPagination(typing.TypedDict, total=False): ... @typing.type_check_only -class Video(typing_extensions.TypedDict, total=False): +class Video(typing.TypedDict, total=False): ageGating: VideoAgeGating + brandPartner: BrandPartner contentDetails: VideoContentDetails etag: str fileDetails: VideoFileDetails @@ -2117,7 +2132,7 @@ class Video(typing_extensions.TypedDict, total=False): topicDetails: VideoTopicDetails @typing.type_check_only -class VideoAbuseReport(typing_extensions.TypedDict, total=False): +class VideoAbuseReport(typing.TypedDict, total=False): comments: str language: str reasonId: str @@ -2125,14 +2140,14 @@ class VideoAbuseReport(typing_extensions.TypedDict, total=False): videoId: str @typing.type_check_only -class VideoAbuseReportReason(typing_extensions.TypedDict, total=False): +class VideoAbuseReportReason(typing.TypedDict, total=False): etag: str id: str kind: str snippet: VideoAbuseReportReasonSnippet @typing.type_check_only -class VideoAbuseReportReasonListResponse(typing_extensions.TypedDict, total=False): +class VideoAbuseReportReasonListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[VideoAbuseReportReason] @@ -2140,32 +2155,30 @@ class VideoAbuseReportReasonListResponse(typing_extensions.TypedDict, total=Fals visitorId: str @typing.type_check_only -class VideoAbuseReportReasonSnippet(typing_extensions.TypedDict, total=False): +class VideoAbuseReportReasonSnippet(typing.TypedDict, total=False): label: str secondaryReasons: _list[VideoAbuseReportSecondaryReason] @typing.type_check_only -class VideoAbuseReportSecondaryReason(typing_extensions.TypedDict, total=False): +class VideoAbuseReportSecondaryReason(typing.TypedDict, total=False): id: str label: str @typing.type_check_only -class VideoAgeGating(typing_extensions.TypedDict, total=False): +class VideoAgeGating(typing.TypedDict, total=False): alcoholContent: bool restricted: bool - videoGameRating: typing_extensions.Literal[ - "anyone", "m15Plus", "m16Plus", "m17Plus" - ] + videoGameRating: typing.Literal["anyone", "m15Plus", "m16Plus", "m17Plus"] @typing.type_check_only -class VideoCategory(typing_extensions.TypedDict, total=False): +class VideoCategory(typing.TypedDict, total=False): etag: str id: str kind: str snippet: VideoCategorySnippet @typing.type_check_only -class VideoCategoryListResponse(typing_extensions.TypedDict, total=False): +class VideoCategoryListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[VideoCategory] @@ -2177,31 +2190,31 @@ class VideoCategoryListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class VideoCategorySnippet(typing_extensions.TypedDict, total=False): +class VideoCategorySnippet(typing.TypedDict, total=False): assignable: bool channelId: str title: str @typing.type_check_only -class VideoContentDetails(typing_extensions.TypedDict, total=False): - caption: typing_extensions.Literal["true", "false"] +class VideoContentDetails(typing.TypedDict, total=False): + caption: typing.Literal["true", "false"] contentRating: ContentRating countryRestriction: AccessPolicy - definition: typing_extensions.Literal["sd", "hd"] + definition: typing.Literal["sd", "hd"] dimension: str duration: str hasCustomThumbnail: bool licensedContent: bool - projection: typing_extensions.Literal["rectangular", "360"] + projection: typing.Literal["rectangular", "360"] regionRestriction: VideoContentDetailsRegionRestriction @typing.type_check_only -class VideoContentDetailsRegionRestriction(typing_extensions.TypedDict, total=False): +class VideoContentDetailsRegionRestriction(typing.TypedDict, total=False): allowed: _list[str] blocked: _list[str] @typing.type_check_only -class VideoFileDetails(typing_extensions.TypedDict, total=False): +class VideoFileDetails(typing.TypedDict, total=False): audioStreams: _list[VideoFileDetailsAudioStream] bitrateBps: str container: str @@ -2209,33 +2222,33 @@ class VideoFileDetails(typing_extensions.TypedDict, total=False): durationMs: str fileName: str fileSize: str - fileType: typing_extensions.Literal[ + fileType: typing.Literal[ "video", "audio", "image", "archive", "document", "project", "other" ] videoStreams: _list[VideoFileDetailsVideoStream] @typing.type_check_only -class VideoFileDetailsAudioStream(typing_extensions.TypedDict, total=False): +class VideoFileDetailsAudioStream(typing.TypedDict, total=False): bitrateBps: str channelCount: int codec: str vendor: str @typing.type_check_only -class VideoFileDetailsVideoStream(typing_extensions.TypedDict, total=False): +class VideoFileDetailsVideoStream(typing.TypedDict, total=False): aspectRatio: float bitrateBps: str codec: str frameRateFps: float heightPixels: int - rotation: typing_extensions.Literal[ + rotation: typing.Literal[ "none", "clockwise", "upsideDown", "counterClockwise", "other" ] vendor: str widthPixels: int @typing.type_check_only -class VideoGetRatingResponse(typing_extensions.TypedDict, total=False): +class VideoGetRatingResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[VideoRating] @@ -2243,7 +2256,7 @@ class VideoGetRatingResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class VideoListResponse(typing_extensions.TypedDict, total=False): +class VideoListResponse(typing.TypedDict, total=False): etag: str eventId: str items: _list[Video] @@ -2255,7 +2268,7 @@ class VideoListResponse(typing_extensions.TypedDict, total=False): visitorId: str @typing.type_check_only -class VideoLiveStreamingDetails(typing_extensions.TypedDict, total=False): +class VideoLiveStreamingDetails(typing.TypedDict, total=False): activeLiveChatId: str actualEndTime: str actualStartTime: str @@ -2264,72 +2277,66 @@ class VideoLiveStreamingDetails(typing_extensions.TypedDict, total=False): scheduledStartTime: str @typing.type_check_only -class VideoLocalization(typing_extensions.TypedDict, total=False): +class VideoLocalization(typing.TypedDict, total=False): description: str title: str @typing.type_check_only -class VideoMonetizationDetails(typing_extensions.TypedDict, total=False): +class VideoMonetizationDetails(typing.TypedDict, total=False): access: AccessPolicy @typing.type_check_only -class VideoPaidProductPlacementDetails(typing_extensions.TypedDict, total=False): +class VideoPaidProductPlacementDetails(typing.TypedDict, total=False): hasPaidProductPlacement: bool @typing.type_check_only -class VideoPlayer(typing_extensions.TypedDict, total=False): +class VideoPlayer(typing.TypedDict, total=False): embedHeight: str embedHtml: str embedWidth: str @typing.type_check_only -class VideoProcessingDetails(typing_extensions.TypedDict, total=False): +class VideoProcessingDetails(typing.TypedDict, total=False): editorSuggestionsAvailability: str fileDetailsAvailability: str - processingFailureReason: typing_extensions.Literal[ + processingFailureReason: typing.Literal[ "uploadFailed", "transcodeFailed", "streamingFailed", "other" ] processingIssuesAvailability: str processingProgress: VideoProcessingDetailsProcessingProgress - processingStatus: typing_extensions.Literal[ - "processing", "succeeded", "failed", "terminated" - ] + processingStatus: typing.Literal["processing", "succeeded", "failed", "terminated"] tagSuggestionsAvailability: str thumbnailsAvailability: str @typing.type_check_only -class VideoProcessingDetailsProcessingProgress( - typing_extensions.TypedDict, total=False -): +class VideoProcessingDetailsProcessingProgress(typing.TypedDict, total=False): partsProcessed: str partsTotal: str timeLeftMs: str @typing.type_check_only -class VideoProjectDetails(typing_extensions.TypedDict, total=False): ... +class VideoProjectDetails(typing.TypedDict, total=False): ... @typing.type_check_only -class VideoRating(typing_extensions.TypedDict, total=False): - rating: typing_extensions.Literal["none", "like", "dislike"] +class VideoRating(typing.TypedDict, total=False): + rating: typing.Literal["none", "like", "dislike"] videoId: str @typing.type_check_only -class VideoRecordingDetails(typing_extensions.TypedDict, total=False): +class VideoRecordingDetails(typing.TypedDict, total=False): location: GeoPoint locationDescription: str recordingDate: str @typing.type_check_only -class VideoSnippet(typing_extensions.TypedDict, total=False): +class VideoSnippet(typing.TypedDict, total=False): categoryId: str channelId: str channelTitle: str defaultAudioLanguage: str defaultLanguage: str description: str - liveBroadcastContent: typing_extensions.Literal[ - "none", "upcoming", "live", "completed" - ] + liveBroadcastContent: typing.Literal["none", "upcoming", "live", "completed"] localized: VideoLocalization publishedAt: str tags: _list[str] @@ -2337,7 +2344,7 @@ class VideoSnippet(typing_extensions.TypedDict, total=False): title: str @typing.type_check_only -class VideoStat(typing_extensions.TypedDict, total=False): +class VideoStat(typing.TypedDict, total=False): contentDetails: VideoStatsContentDetails etag: str id: str @@ -2346,7 +2353,7 @@ class VideoStat(typing_extensions.TypedDict, total=False): statistics: VideoStatsStatistics @typing.type_check_only -class VideoStatistics(typing_extensions.TypedDict, total=False): +class VideoStatistics(typing.TypedDict, total=False): commentCount: str dislikeCount: str favoriteCount: str @@ -2354,32 +2361,32 @@ class VideoStatistics(typing_extensions.TypedDict, total=False): viewCount: str @typing.type_check_only -class VideoStatsContentDetails(typing_extensions.TypedDict, total=False): +class VideoStatsContentDetails(typing.TypedDict, total=False): duration: str @typing.type_check_only -class VideoStatsSnippet(typing_extensions.TypedDict, total=False): +class VideoStatsSnippet(typing.TypedDict, total=False): publishTime: str @typing.type_check_only -class VideoStatsStatistics(typing_extensions.TypedDict, total=False): +class VideoStatsStatistics(typing.TypedDict, total=False): commentCount: str likeCount: str viewCount: str @typing.type_check_only -class VideoStatus(typing_extensions.TypedDict, total=False): +class VideoStatus(typing.TypedDict, total=False): containsSyntheticMedia: bool embeddable: bool - failureReason: typing_extensions.Literal[ + failureReason: typing.Literal[ "conversion", "invalidFile", "emptyFile", "tooSmall", "codec", "uploadAborted" ] - license: typing_extensions.Literal["youtube", "creativeCommon"] + license: typing.Literal["youtube", "creativeCommon"] madeForKids: bool - privacyStatus: typing_extensions.Literal["public", "unlisted", "private"] + privacyStatus: typing.Literal["public", "unlisted", "private"] publicStatsViewable: bool publishAt: str - rejectionReason: typing_extensions.Literal[ + rejectionReason: typing.Literal[ "copyright", "inappropriate", "duplicate", @@ -2392,19 +2399,19 @@ class VideoStatus(typing_extensions.TypedDict, total=False): "legal", ] selfDeclaredMadeForKids: bool - uploadStatus: typing_extensions.Literal[ + uploadStatus: typing.Literal[ "uploaded", "processed", "failed", "rejected", "deleted" ] @typing.type_check_only -class VideoSuggestions(typing_extensions.TypedDict, total=False): +class VideoSuggestions(typing.TypedDict, total=False): editorSuggestions: _list[ - typing_extensions.Literal[ + typing.Literal[ "videoAutoLevels", "videoStabilize", "videoCrop", "audioQuietAudioSwap" ] ] processingErrors: _list[ - typing_extensions.Literal[ + typing.Literal[ "audioFile", "imageFile", "projectFile", @@ -2415,7 +2422,7 @@ class VideoSuggestions(typing_extensions.TypedDict, total=False): ] ] processingHints: _list[ - typing_extensions.Literal[ + typing.Literal[ "nonStreamableMov", "sendBestQualityVideo", "sphericalVideo", @@ -2425,7 +2432,7 @@ class VideoSuggestions(typing_extensions.TypedDict, total=False): ] ] processingWarnings: _list[ - typing_extensions.Literal[ + typing.Literal[ "unknownContainer", "unknownVideoCodec", "unknownAudioCodec", @@ -2443,25 +2450,25 @@ class VideoSuggestions(typing_extensions.TypedDict, total=False): tagSuggestions: _list[VideoSuggestionsTagSuggestion] @typing.type_check_only -class VideoSuggestionsTagSuggestion(typing_extensions.TypedDict, total=False): +class VideoSuggestionsTagSuggestion(typing.TypedDict, total=False): categoryRestricts: _list[str] tag: str @typing.type_check_only -class VideoTopicDetails(typing_extensions.TypedDict, total=False): +class VideoTopicDetails(typing.TypedDict, total=False): relevantTopicIds: _list[str] topicCategories: _list[str] topicIds: _list[str] @typing.type_check_only -class VideoTrainability(typing_extensions.TypedDict, total=False): +class VideoTrainability(typing.TypedDict, total=False): etag: str kind: str permitted: _list[str] videoId: str @typing.type_check_only -class WatchSettings(typing_extensions.TypedDict, total=False): +class WatchSettings(typing.TypedDict, total=False): backgroundColor: str featuredPlaylistId: str textColor: str diff --git a/googleapiclient-stubs/_apis/youtubeAnalytics/v1/resources.pyi b/googleapiclient-stubs/_apis/youtubeAnalytics/v1/resources.pyi index b6bd9638f..398cd3ff9 100644 --- a/googleapiclient-stubs/_apis/youtubeAnalytics/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/youtubeAnalytics/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/youtubeAnalytics/v1/schemas.pyi b/googleapiclient-stubs/_apis/youtubeAnalytics/v1/schemas.pyi index 3229d60f3..c7a8b11e6 100644 --- a/googleapiclient-stubs/_apis/youtubeAnalytics/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtubeAnalytics/v1/schemas.pyi @@ -1,5 +1,3 @@ import typing -import typing_extensions - _list = list diff --git a/googleapiclient-stubs/_apis/youtubeAnalytics/v2/resources.pyi b/googleapiclient-stubs/_apis/youtubeAnalytics/v2/resources.pyi index 00349c98e..b17c672b2 100644 --- a/googleapiclient-stubs/_apis/youtubeAnalytics/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/youtubeAnalytics/v2/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/youtubeAnalytics/v2/schemas.pyi b/googleapiclient-stubs/_apis/youtubeAnalytics/v2/schemas.pyi index cf99bca60..8340f271a 100644 --- a/googleapiclient-stubs/_apis/youtubeAnalytics/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtubeAnalytics/v2/schemas.pyi @@ -1,26 +1,24 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class EmptyResponse(typing_extensions.TypedDict, total=False): +class EmptyResponse(typing.TypedDict, total=False): errors: Errors @typing.type_check_only -class ErrorProto(typing_extensions.TypedDict, total=False): +class ErrorProto(typing.TypedDict, total=False): argument: _list[str] code: str debugInfo: str domain: str externalErrorMessage: str location: str - locationType: typing_extensions.Literal["PATH", "OTHER", "PARAMETER"] + locationType: typing.Literal["PATH", "OTHER", "PARAMETER"] @typing.type_check_only -class Errors(typing_extensions.TypedDict, total=False): - code: typing_extensions.Literal[ +class Errors(typing.TypedDict, total=False): + code: typing.Literal[ "BAD_REQUEST", "FORBIDDEN", "NOT_FOUND", @@ -34,7 +32,7 @@ class Errors(typing_extensions.TypedDict, total=False): requestId: str @typing.type_check_only -class Group(typing_extensions.TypedDict, total=False): +class Group(typing.TypedDict, total=False): contentDetails: GroupContentDetails errors: Errors etag: str @@ -43,12 +41,12 @@ class Group(typing_extensions.TypedDict, total=False): snippet: GroupSnippet @typing.type_check_only -class GroupContentDetails(typing_extensions.TypedDict, total=False): +class GroupContentDetails(typing.TypedDict, total=False): itemCount: str itemType: str @typing.type_check_only -class GroupItem(typing_extensions.TypedDict, total=False): +class GroupItem(typing.TypedDict, total=False): errors: Errors etag: str groupId: str @@ -57,24 +55,24 @@ class GroupItem(typing_extensions.TypedDict, total=False): resource: GroupItemResource @typing.type_check_only -class GroupItemResource(typing_extensions.TypedDict, total=False): +class GroupItemResource(typing.TypedDict, total=False): id: str kind: str @typing.type_check_only -class GroupSnippet(typing_extensions.TypedDict, total=False): +class GroupSnippet(typing.TypedDict, total=False): publishedAt: str title: str @typing.type_check_only -class ListGroupItemsResponse(typing_extensions.TypedDict, total=False): +class ListGroupItemsResponse(typing.TypedDict, total=False): errors: Errors etag: str items: _list[GroupItem] kind: str @typing.type_check_only -class ListGroupsResponse(typing_extensions.TypedDict, total=False): +class ListGroupsResponse(typing.TypedDict, total=False): errors: Errors etag: str items: _list[Group] @@ -82,14 +80,14 @@ class ListGroupsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @typing.type_check_only -class QueryResponse(typing_extensions.TypedDict, total=False): +class QueryResponse(typing.TypedDict, total=False): columnHeaders: _list[ResultTableColumnHeader] errors: Errors kind: str rows: _list[_list[typing.Any]] @typing.type_check_only -class ResultTableColumnHeader(typing_extensions.TypedDict, total=False): +class ResultTableColumnHeader(typing.TypedDict, total=False): columnType: str dataType: str name: str diff --git a/googleapiclient-stubs/_apis/youtubereporting/v1/resources.pyi b/googleapiclient-stubs/_apis/youtubereporting/v1/resources.pyi index e837011fa..b01afe350 100644 --- a/googleapiclient-stubs/_apis/youtubereporting/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/youtubereporting/v1/resources.pyi @@ -2,7 +2,6 @@ import collections.abc import typing import httplib2 -import typing_extensions import googleapiclient.discovery import googleapiclient.http diff --git a/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi b/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi index cbdb36324..5a9922d8e 100644 --- a/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi @@ -1,14 +1,12 @@ import typing -import typing_extensions - _list = list @typing.type_check_only -class Empty(typing_extensions.TypedDict, total=False): ... +class Empty(typing.TypedDict, total=False): ... @typing.type_check_only -class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): +class GdataBlobstore2Info(typing.TypedDict, total=False): blobGeneration: str blobId: str downloadExternalReadToken: str @@ -18,7 +16,7 @@ class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): uploadMetadataContainer: str @typing.type_check_only -class GdataCompositeMedia(typing_extensions.TypedDict, total=False): +class GdataCompositeMedia(typing.TypedDict, total=False): blobRef: str blobstore2Info: GdataBlobstore2Info cosmoBinaryReference: str @@ -28,13 +26,13 @@ class GdataCompositeMedia(typing_extensions.TypedDict, total=False): md5Hash: str objectId: GdataObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" ] sha1Hash: str @typing.type_check_only -class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): +class GdataContentTypeInfo(typing.TypedDict, total=False): bestGuess: str fromBytes: str fromFileName: str @@ -44,7 +42,7 @@ class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): fusionIdDetectionMetadata: str @typing.type_check_only -class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): +class GdataDiffChecksumsResponse(typing.TypedDict, total=False): checksumsLocation: GdataCompositeMedia chunkSizeBytes: str objectLocation: GdataCompositeMedia @@ -52,32 +50,32 @@ class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): objectVersion: str @typing.type_check_only -class GdataDiffDownloadResponse(typing_extensions.TypedDict, total=False): +class GdataDiffDownloadResponse(typing.TypedDict, total=False): objectLocation: GdataCompositeMedia @typing.type_check_only -class GdataDiffUploadRequest(typing_extensions.TypedDict, total=False): +class GdataDiffUploadRequest(typing.TypedDict, total=False): checksumsInfo: GdataCompositeMedia objectInfo: GdataCompositeMedia objectVersion: str @typing.type_check_only -class GdataDiffUploadResponse(typing_extensions.TypedDict, total=False): +class GdataDiffUploadResponse(typing.TypedDict, total=False): objectVersion: str originalObject: GdataCompositeMedia @typing.type_check_only -class GdataDiffVersionResponse(typing_extensions.TypedDict, total=False): +class GdataDiffVersionResponse(typing.TypedDict, total=False): objectSizeBytes: str objectVersion: str @typing.type_check_only -class GdataDownloadParameters(typing_extensions.TypedDict, total=False): +class GdataDownloadParameters(typing.TypedDict, total=False): allowGzipCompression: bool ignoreRange: bool @typing.type_check_only -class GdataMedia(typing_extensions.TypedDict, total=False): +class GdataMedia(typing.TypedDict, total=False): algorithm: str bigstoreObjectRef: str blobRef: str @@ -103,7 +101,7 @@ class GdataMedia(typing_extensions.TypedDict, total=False): mediaId: str objectId: GdataObjectId path: str - referenceType: typing_extensions.Literal[ + referenceType: typing.Literal[ "PATH", "BLOB_REF", "INLINE", @@ -125,13 +123,13 @@ class GdataMedia(typing_extensions.TypedDict, total=False): token: str @typing.type_check_only -class GdataObjectId(typing_extensions.TypedDict, total=False): +class GdataObjectId(typing.TypedDict, total=False): bucketName: str generation: str objectName: str @typing.type_check_only -class Job(typing_extensions.TypedDict, total=False): +class Job(typing.TypedDict, total=False): createTime: str expireTime: str id: str @@ -140,22 +138,22 @@ class Job(typing_extensions.TypedDict, total=False): systemManaged: bool @typing.type_check_only -class ListJobsResponse(typing_extensions.TypedDict, total=False): +class ListJobsResponse(typing.TypedDict, total=False): jobs: _list[Job] nextPageToken: str @typing.type_check_only -class ListReportTypesResponse(typing_extensions.TypedDict, total=False): +class ListReportTypesResponse(typing.TypedDict, total=False): nextPageToken: str reportTypes: _list[ReportType] @typing.type_check_only -class ListReportsResponse(typing_extensions.TypedDict, total=False): +class ListReportsResponse(typing.TypedDict, total=False): nextPageToken: str reports: _list[Report] @typing.type_check_only -class Report(typing_extensions.TypedDict, total=False): +class Report(typing.TypedDict, total=False): createTime: str downloadUrl: str endTime: str @@ -165,7 +163,7 @@ class Report(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class ReportType(typing_extensions.TypedDict, total=False): +class ReportType(typing.TypedDict, total=False): deprecateTime: str id: str name: str diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index 41fbcdd06..c6ecc7dc4 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -1,13 +1,12 @@ import types from email.generator import BytesGenerator -from typing import Any, Protocol, TypeVar, overload +from typing import Any, Literal, Protocol, TypeVar, overload import google.auth.credentials import httplib2 import oauth2client # type: ignore[import-not-found] from _typeshed import Incomplete from google.api_core.client_options import ClientOptions -from typing_extensions import Literal import googleapiclient._apis.abusiveexperiencereport.v1 import googleapiclient._apis.acceleratedmobilepageurl.v1 @@ -31,6 +30,12 @@ import googleapiclient._apis.adsensehost.v4_1 import googleapiclient._apis.adsenseplatform.v1 import googleapiclient._apis.adsenseplatform.v1alpha import googleapiclient._apis.advisorynotifications.v1 +import googleapiclient._apis.agentidentity.v1 +import googleapiclient._apis.agentidentity.v1alpha +import googleapiclient._apis.agentidentity.v1beta +import googleapiclient._apis.agentidentitycredentials.v1 +import googleapiclient._apis.agentidentitycredentials.v1alpha +import googleapiclient._apis.agentidentitycredentials.v1beta import googleapiclient._apis.agentregistry.v1 import googleapiclient._apis.agentregistry.v1alpha import googleapiclient._apis.aiplatform.v1 @@ -48,6 +53,7 @@ import googleapiclient._apis.analyticsdata.v1beta import googleapiclient._apis.analyticshub.v1 import googleapiclient._apis.analyticshub.v1beta1 import googleapiclient._apis.analyticsreporting.v4 +import googleapiclient._apis.androiddeveloperidstatus.v1 import googleapiclient._apis.androiddeviceprovisioning.v1 import googleapiclient._apis.androidenterprise.v1 import googleapiclient._apis.androidmanagement.v1 @@ -273,6 +279,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 @@ -289,6 +296,8 @@ import googleapiclient._apis.firestore.v1beta1 import googleapiclient._apis.firestore.v1beta2 import googleapiclient._apis.fitness.v1 import googleapiclient._apis.forms.v1 +import googleapiclient._apis.ftp.v1 +import googleapiclient._apis.ftp.v1alpha import googleapiclient._apis.games.v1 import googleapiclient._apis.gamesConfiguration.v1configuration import googleapiclient._apis.gameservices.v1 @@ -371,6 +380,7 @@ import googleapiclient._apis.merchantapi.issueresolution_v1 import googleapiclient._apis.merchantapi.issueresolution_v1beta import googleapiclient._apis.merchantapi.lfp_v1 import googleapiclient._apis.merchantapi.lfp_v1beta +import googleapiclient._apis.merchantapi.loyaltycustomers_v1 import googleapiclient._apis.merchantapi.notifications_v1 import googleapiclient._apis.merchantapi.notifications_v1beta import googleapiclient._apis.merchantapi.ordertracking_v1 @@ -1102,6 +1112,128 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.advisorynotifications.v1.AdvisorynotificationsResource: ... @overload +def build( + serviceName: Literal["agentidentity"], + version: Literal["v1"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.agentidentity.v1.AgentIdentityResource: ... +@overload +def build( + serviceName: Literal["agentidentity"], + 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.agentidentity.v1alpha.AgentIdentityResource: ... +@overload +def build( + serviceName: Literal["agentidentity"], + version: Literal["v1beta"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.agentidentity.v1beta.AgentIdentityResource: ... +@overload +def build( + serviceName: Literal["agentidentitycredentials"], + version: Literal["v1"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> ( + googleapiclient._apis.agentidentitycredentials.v1.AgentIdentityCredentialsResource +): ... +@overload +def build( + serviceName: Literal["agentidentitycredentials"], + 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.agentidentitycredentials.v1alpha.AgentIdentityCredentialsResource: ... +@overload +def build( + serviceName: Literal["agentidentitycredentials"], + version: Literal["v1beta"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.agentidentitycredentials.v1beta.AgentIdentityCredentialsResource: ... +@overload def build( serviceName: Literal["agentregistry"], version: Literal["v1"], @@ -1442,6 +1574,28 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.analyticsreporting.v4.AnalyticsReportingResource: ... @overload +def build( + serviceName: Literal["androiddeveloperidstatus"], + version: Literal["v1"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> ( + googleapiclient._apis.androiddeveloperidstatus.v1.AndroidDeveloperIDStatusResource +): ... +@overload def build( serviceName: Literal["androiddeviceprovisioning"], version: Literal["v1"], @@ -5952,6 +6106,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"], @@ -6272,6 +6446,46 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.forms.v1.FormsResource: ... @overload +def build( + serviceName: Literal["ftp"], + version: Literal["v1"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.ftp.v1.CloudFTPResource: ... +@overload +def build( + serviceName: Literal["ftp"], + 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.ftp.v1alpha.CloudFTPResource: ... +@overload def build( serviceName: Literal["games"], version: Literal["v1"], @@ -7914,6 +8128,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.merchantapi.lfp_v1beta.MerchantResource: ... @overload +def build( + serviceName: Literal["merchantapi"], + version: Literal["loyaltycustomers_v1"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.merchantapi.loyaltycustomers_v1.MerchantResource: ... +@overload def build( serviceName: Literal["merchantapi"], version: Literal["notifications_v1"], diff --git a/pyproject.toml b/pyproject.toml index 16422071e..ae62600cf 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" }, @@ -13,15 +13,14 @@ classifiers = [ "Typing :: Stubs Only", ] dependencies = [ - "google-api-python-client>=2.198.0", + "google-api-python-client>=2.199.0", "types-httplib2>=0.22.0.2", - "typing-extensions>=3.10.0", ] -requires-python = ">=3.7" +requires-python = ">=3.10" [dependency-groups] dev = [ - "mypy>=1.17.0 ; python_full_version >= '3.9'", + "mypy>=1.17.0", "ruff>=0.12.4", "stubdefaulter>=0.1.0", ] diff --git a/uv.lock b/uv.lock index d4c8579fe..6278b3a21 100644 --- a/uv.lock +++ b/uv.lock @@ -1,151 +1,423 @@ version = 1 revision = 3 -requires-python = ">=3.7" +requires-python = ">=3.10" resolution-markers = [ - "python_full_version < '3.8'", - "python_full_version >= '3.13'", - "python_full_version >= '3.9' and python_full_version < '3.13'", - "python_full_version == '3.8.*'", + "python_full_version >= '3.14'", + "python_full_version == '3.13.*'", + "python_full_version < '3.13'", ] [[package]] -name = "cachetools" -version = "5.5.2" +name = "certifi" +version = "2026.7.22" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/6c/81/3747dad6b14fa2cf53fcf10548cf5aea6913e96fab41a3c198676f8948a5/cachetools-5.5.2.tar.gz", hash = "sha256:1a661caa9175d26759571b2e19580f9d6393969e5dfca11fdb1f947a23e640d4", size = 28380, upload-time = "2025-02-20T21:01:19.524Z" } +sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/72/76/20fa66124dbe6be5cafeb312ece67de6b61dd91a0247d1ea13db4ebb33c2/cachetools-5.5.2-py3-none-any.whl", hash = "sha256:d26a22bcc62eb95c3beabd9f1ee5e820d3d2704fe2967cbe350e20c8ffcd3f0a", size = 10080, upload-time = "2025-02-20T21:01:16.647Z" }, + { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" }, ] [[package]] -name = "certifi" -version = "2026.6.17" +name = "cffi" +version = "2.1.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/c9/c7/424b75da314c1045981bd9777432fad05a9e0c69daa4ed7e308bbaffe405/certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432", size = 134594, upload-time = "2026-06-17T10:31:07.894Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ef/2f/c5464532e965badff2f4c4c1a3a83f5697f0d7c407ed0cda44aaa99bb451/certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db", size = 133289, upload-time = "2026-06-17T10:31:06.348Z" }, +dependencies = [ + { name = "pycparser", marker = "implementation_name != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/ef/008a1939e372c06329a3fce4279c02f328488f3526744906eeec3da7ad5f/cffi-2.1.1.tar.gz", hash = "sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be", size = 530807, upload-time = "2026-08-03T21:21:18.939Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b6/d2/2cde336b375f55c76ca670f0be3978cc048e31e24f3b4d7ce8473150a388/cffi-2.1.1-cp310-cp310-macosx_10_15_x86_64.whl", hash = "sha256:baed1e86cc735622097354b9d1281406caf42ff42a886d29faa8e8d1630333be", size = 183779, upload-time = "2026-08-03T21:19:15.602Z" }, + { url = "https://files.pythonhosted.org/packages/94/1a/4b2f7c92293ba05cbd4a9a1b28faaf0326272d9488e6354657571c48a7aa/cffi-2.1.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ca82be1a1d406ecfe1d25dc16cb33488e5a16bf4438c9fb590484ea29d92478b", size = 184178, upload-time = "2026-08-03T21:19:16.67Z" }, + { url = "https://files.pythonhosted.org/packages/17/0b/ba385d8ccedf926c3cd06e8e2f327027da5afe5f0eb30f1f7bc43ac55125/cffi-2.1.1-cp310-cp310-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:42e2f76b9455f5a9a844f770bf3e200ed3da0e15f5df3db9c31fe80b04b3d004", size = 211037, upload-time = "2026-08-03T21:19:17.705Z" }, + { url = "https://files.pythonhosted.org/packages/a3/b9/0f2e58b2cefa33255bff36935d42b13180fe559bba82596540eb404bde7d/cffi-2.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5a59cc1c4442bc3d5c703bf720b51138d0bfc173618807c9ee2490a7541dd3d9", size = 218652, upload-time = "2026-08-03T21:19:18.735Z" }, + { url = "https://files.pythonhosted.org/packages/37/15/180e0dab27b9312c7479003d14c9e547634b7dcb934e2cc4650e1b131a7a/cffi-2.1.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:9f8d177621de5cb38ee3e731eda45d421db093ec0739f46a5594babda7987a98", size = 205422, upload-time = "2026-08-03T21:19:19.96Z" }, + { url = "https://files.pythonhosted.org/packages/18/d4/03026f0c850cbbaa9030750490225b4a7f4d524ea4df72c3cc740a90f4ef/cffi-2.1.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:75f80557d1389eddbd0de2681f6a390a0c5338c31ddaa821381c203fc3fd50d9", size = 205444, upload-time = "2026-08-03T21:19:21.246Z" }, + { url = "https://files.pythonhosted.org/packages/75/77/60bebf6f818bec84210ac5b6979ce4eeadce6fbbaabc9c7ab23e506d1ce5/cffi-2.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:194cffa889098ced9976c3fc6340305e43f6303657d298da55366907c05c22d6", size = 218742, upload-time = "2026-08-03T21:19:22.523Z" }, + { url = "https://files.pythonhosted.org/packages/b0/ae/679bf47e73fd77b352171727f07de559a003f14de5d02b904a6ec1fa73ca/cffi-2.1.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5bb4e7ea95dcd6a014a6fef62e62467d67d8e582326443f3d68e71d6320a9fcf", size = 221054, upload-time = "2026-08-03T21:19:23.694Z" }, + { url = "https://files.pythonhosted.org/packages/09/b8/eefc0e06913b70aa153bf74c946094a18f58fd4aff11b7f372bfdfdca050/cffi-2.1.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:3d22a20b1fb1632cc72c22f95f7b0d2961c3e1c235f245ba4c606c4771035659", size = 213489, upload-time = "2026-08-03T21:19:24.922Z" }, + { url = "https://files.pythonhosted.org/packages/6f/13/4e56852824a03cdf68523a35686f1c28eacd4bd30a7b0a78e682e6e6e1d3/cffi-2.1.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:1dea0e4d7d4f11f619fe8c1d76caf49e24405b4b5743c0e3be16a500ecd930c9", size = 220241, upload-time = "2026-08-03T21:19:26.214Z" }, + { url = "https://files.pythonhosted.org/packages/99/7f/040f9e163e4acac3ee3d85b02d00b2576e7ca980d8785f0a3a5f1a9bf7f5/cffi-2.1.1-cp310-cp310-win32.whl", hash = "sha256:7ce713ace7c0e4520535b42b77eaa742c16dab813978064913e5a3cf82973b41", size = 174578, upload-time = "2026-08-03T21:19:27.338Z" }, + { url = "https://files.pythonhosted.org/packages/ba/0b/644a2ec1a4eaba49c2939410bb1eb1d25b09d6d0582f5d2f95c537043725/cffi-2.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:a48d62ab9d6f4f98c983223a547af44be6ca3691074c31cecced6facd3ba2dc1", size = 185082, upload-time = "2026-08-03T21:19:28.409Z" }, + { url = "https://files.pythonhosted.org/packages/70/d2/16d99a0c4948febc0ebd133a13b2f688ff7f8cb04da971e1128872ce0c03/cffi-2.1.1-cp311-cp311-macosx_10_15_x86_64.whl", hash = "sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12", size = 183838, upload-time = "2026-08-03T21:19:29.637Z" }, + { url = "https://files.pythonhosted.org/packages/cd/95/31b535a9f0220ae9f357de4a08d57ce89cb417653c2fd9f075f50822a388/cffi-2.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1", size = 184168, upload-time = "2026-08-03T21:19:30.764Z" }, + { url = "https://files.pythonhosted.org/packages/ad/5a/4707a0dc1f203f5dde5a907b0d4e3c25d71120241048bd5bc6f1bb9d4e71/cffi-2.1.1-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0", size = 211805, upload-time = "2026-08-03T21:19:31.867Z" }, + { url = "https://files.pythonhosted.org/packages/ad/66/c19feabb28485b6e0bbaaafa90837a1ef5d302e90f2178bd33f17a49879b/cffi-2.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813", size = 218716, upload-time = "2026-08-03T21:19:32.896Z" }, + { url = "https://files.pythonhosted.org/packages/a7/92/500760486c8baab49a7a8a58ba7fc3355ec3974b454b8a09e528efde9e1d/cffi-2.1.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990", size = 205569, upload-time = "2026-08-03T21:19:34.142Z" }, + { url = "https://files.pythonhosted.org/packages/a5/a7/a67c733254d6e7373f7822f8082d8d6beade791e0cf12a7611f376fa61c7/cffi-2.1.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af", size = 204907, upload-time = "2026-08-03T21:19:35.174Z" }, + { url = "https://files.pythonhosted.org/packages/f7/a4/4399daaf8f7dfee9d7c3327fdb0426ee041cc63edc358b93911ceb2bfc7a/cffi-2.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632", size = 217807, upload-time = "2026-08-03T21:19:36.286Z" }, + { url = "https://files.pythonhosted.org/packages/28/f7/dabe6da2466ecbd82dc62e7342dc6b1065dad990c06f00f0ede9ebf2a0ed/cffi-2.1.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd", size = 221252, upload-time = "2026-08-03T21:19:37.416Z" }, + { url = "https://files.pythonhosted.org/packages/ce/87/616202d8e51342c07d2534c510111c4cc37201775ce8f60802c9335d1edd/cffi-2.1.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a", size = 214214, upload-time = "2026-08-03T21:19:38.507Z" }, + { url = "https://files.pythonhosted.org/packages/b4/c6/ab025d75d2c26c19b087c0124e75ee31cb65032f4fe345d356d8c507ab97/cffi-2.1.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa", size = 219408, upload-time = "2026-08-03T21:19:39.809Z" }, + { url = "https://files.pythonhosted.org/packages/db/e2/7e8109f65445bdc673a7b54f02c677de462db75674220fd1335efc8eb598/cffi-2.1.1-cp311-cp311-win32.whl", hash = "sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3", size = 174470, upload-time = "2026-08-03T21:19:41.246Z" }, + { url = "https://files.pythonhosted.org/packages/73/c0/77ba02423c2f7d7091143c45cd49e0e6575c4c1967394bb542bd923a9b74/cffi-2.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0", size = 185096, upload-time = "2026-08-03T21:19:42.615Z" }, + { url = "https://files.pythonhosted.org/packages/7c/47/9f1f85f9672ceda4984dc6c4f8824e8558992a2972c3d3c81fb8eb28d4ba/cffi-2.1.1-cp311-cp311-win_arm64.whl", hash = "sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455", size = 179941, upload-time = "2026-08-03T21:19:43.747Z" }, + { url = "https://files.pythonhosted.org/packages/10/69/43965eccfdead3b9220015fd1320e117be8c6ed01a62ffab76eeb752f5d5/cffi-2.1.1-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0", size = 184821, upload-time = "2026-08-03T21:19:44.887Z" }, + { url = "https://files.pythonhosted.org/packages/54/7d/16e5a096677b5e313ca80cd5e5170efa3ea44624a82bb111925522da64b1/cffi-2.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf", size = 184719, upload-time = "2026-08-03T21:19:46.129Z" }, + { url = "https://files.pythonhosted.org/packages/56/e6/8941622732edec876dd17d0453dce07317ae96db34f2ec1436c9d3785986/cffi-2.1.1-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a", size = 214799, upload-time = "2026-08-03T21:19:47.218Z" }, + { url = "https://files.pythonhosted.org/packages/44/de/f98430906df1545ffde0d543dd124a7a439bc2cd32b36b9c53f805df7333/cffi-2.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890", size = 222389, upload-time = "2026-08-03T21:19:48.331Z" }, + { url = "https://files.pythonhosted.org/packages/6a/5b/717f1526b9957b34456313c31645c5b82b8fb5c3fe9e4752999be7128bfc/cffi-2.1.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50", size = 210249, upload-time = "2026-08-03T21:19:49.543Z" }, + { url = "https://files.pythonhosted.org/packages/64/b3/f8aa4f3e34986c7e4ec45072d1b1b9dd295b6b18007b45518d79726dd725/cffi-2.1.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e", size = 208775, upload-time = "2026-08-03T21:19:50.918Z" }, + { url = "https://files.pythonhosted.org/packages/b1/db/dceb9dd5b231e1da801793f8acc9f3c52a7e1afe40bb1aae37e02b0faad5/cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf", size = 221822, upload-time = "2026-08-03T21:19:52.054Z" }, + { url = "https://files.pythonhosted.org/packages/a0/d2/6cd24ae3be000a634109c247d1475d62e5616d0dc78c82770942ec384248/cffi-2.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517", size = 225232, upload-time = "2026-08-03T21:19:53.109Z" }, + { url = "https://files.pythonhosted.org/packages/cb/52/3fa190537004dd7f0ab860a6dc7c0175b8667f68d1e618a46f5498d30250/cffi-2.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735", size = 223597, upload-time = "2026-08-03T21:19:54.515Z" }, + { url = "https://files.pythonhosted.org/packages/80/fb/0bb75b7039588c074b37ae99f40d9bfddf990ecb2fbc346ebccd2e56b9be/cffi-2.1.1-cp312-cp312-win32.whl", hash = "sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e", size = 175292, upload-time = "2026-08-03T21:19:55.566Z" }, + { url = "https://files.pythonhosted.org/packages/d9/79/615cc094e2fb508cade7de88d3b4f6c4ec2bab695c97bce9153dc65aadf5/cffi-2.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a", size = 185919, upload-time = "2026-08-03T21:19:56.89Z" }, + { url = "https://files.pythonhosted.org/packages/70/c6/d0ea84713fe46b243a436a18fcd47d639732747e21635c8a27191b06dc30/cffi-2.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80", size = 180093, upload-time = "2026-08-03T21:19:58.155Z" }, + { url = "https://files.pythonhosted.org/packages/9d/f4/035513d4117049066b4779dc3b7c0c0fdad175fa13731c9f4003f1cd1478/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e", size = 194248, upload-time = "2026-08-03T21:19:59.399Z" }, + { url = "https://files.pythonhosted.org/packages/76/af/2aeb4dbb5fc41a04161ae9ff1518de7cec08e164f44a8ce6a4cf7fd2cd1d/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c", size = 196908, upload-time = "2026-08-03T21:20:00.746Z" }, + { url = "https://files.pythonhosted.org/packages/a7/46/2e5fdde8555706dd98139a910ca11be02809f3f605ce956f655d0214e100/cffi-2.1.1-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6", size = 184805, upload-time = "2026-08-03T21:20:02.02Z" }, + { url = "https://files.pythonhosted.org/packages/55/41/4c7042f317b9217502988f0873af87e16ad606dc20f84e546e3e6ce9764c/cffi-2.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971", size = 184764, upload-time = "2026-08-03T21:20:03.141Z" }, + { url = "https://files.pythonhosted.org/packages/43/1f/1c3d90d91811c8f86ced9ed637956c54bfe5b79ca98fe976d7f8c8979f6b/cffi-2.1.1-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c", size = 214722, upload-time = "2026-08-03T21:20:04.377Z" }, + { url = "https://files.pythonhosted.org/packages/37/6f/3b5ce4c3b2192d250f04908f2bfd91ef34552ec8f7716a5d4abdb8d67bb2/cffi-2.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125", size = 222369, upload-time = "2026-08-03T21:20:05.544Z" }, + { url = "https://files.pythonhosted.org/packages/02/10/4b3c75dde3d9663c9e02ba05c2668b954f671d4bbe346413ca8c696b295a/cffi-2.1.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264", size = 210175, upload-time = "2026-08-03T21:20:06.75Z" }, + { url = "https://files.pythonhosted.org/packages/df/62/14f74b9543e605d17701dc797b815958b8bb70b7624ce1b832ddad48ed6c/cffi-2.1.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3", size = 208670, upload-time = "2026-08-03T21:20:08.04Z" }, + { url = "https://files.pythonhosted.org/packages/95/95/86342356ff5953b3fb06f7ef7c5bee212d45e770abc7218d451b9148313c/cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2", size = 221824, upload-time = "2026-08-03T21:20:09.274Z" }, + { url = "https://files.pythonhosted.org/packages/eb/ff/7b3429ff53aafe931ed8a5fc69f481bbef7ba6de87ddcbb63d08f483f613/cffi-2.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b", size = 225148, upload-time = "2026-08-03T21:20:10.7Z" }, + { url = "https://files.pythonhosted.org/packages/34/34/a95870b9221e09cf4f2ce3178b1a210abdfe63a1bd357da940418d7b8d15/cffi-2.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7", size = 223564, upload-time = "2026-08-03T21:20:12.165Z" }, + { url = "https://files.pythonhosted.org/packages/70/ea/839b50531021a647fb5e929f72cf97bc1ff702b5472166164b5b6e76b851/cffi-2.1.1-cp313-cp313-win32.whl", hash = "sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac", size = 175263, upload-time = "2026-08-03T21:20:13.559Z" }, + { url = "https://files.pythonhosted.org/packages/60/a6/8b149b2c3f2e11aaa1618ef64500b45f50f22c57a977a4dff1aff1f91042/cffi-2.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d", size = 185688, upload-time = "2026-08-03T21:20:14.69Z" }, + { url = "https://files.pythonhosted.org/packages/01/9a/11f687cb39d6a3504060d5242f04f48c735afb4d3d533958a20594890cb2/cffi-2.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973", size = 180078, upload-time = "2026-08-03T21:20:15.917Z" }, + { url = "https://files.pythonhosted.org/packages/d3/7b/d6bbf82b8b96e7391438898c42f5bd96dd02030fd5b64937d248220003e2/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c", size = 194064, upload-time = "2026-08-03T21:20:17.148Z" }, + { url = "https://files.pythonhosted.org/packages/94/e6/bcc91b283be94735e268487a054004f0aa19947b6348fa367db53230abc8/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb", size = 196720, upload-time = "2026-08-03T21:20:18.268Z" }, + { url = "https://files.pythonhosted.org/packages/d9/99/c4b0c17cacdc9c3b8f280026286a9826d6a208c0f047591a3c3ce99b91fd/cffi-2.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54", size = 184964, upload-time = "2026-08-03T21:20:19.708Z" }, + { url = "https://files.pythonhosted.org/packages/b3/a9/9db617d05d7367c1ad0ab00b3aa6e6f9281edd689b4ee9ea0e5a84e89c97/cffi-2.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72", size = 184962, upload-time = "2026-08-03T21:20:20.833Z" }, + { url = "https://files.pythonhosted.org/packages/67/b8/b42132ca113dc567d37684437b46ca1dafc885902b02a110a02d5b511857/cffi-2.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1", size = 222328, upload-time = "2026-08-03T21:20:22.118Z" }, + { url = "https://files.pythonhosted.org/packages/80/10/c5c0cbf0a657aecf59ef511409734230bf556f05a0d6c9eed7aa5c0a0166/cffi-2.1.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062", size = 209985, upload-time = "2026-08-03T21:20:23.401Z" }, + { url = "https://files.pythonhosted.org/packages/d5/6c/bfa0b87b03b9238148beca990292843c9396ba069b54496596594173de7b/cffi-2.1.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03", size = 208530, upload-time = "2026-08-03T21:20:24.628Z" }, + { url = "https://files.pythonhosted.org/packages/e9/02/4e7d553a7ac4b4238b38b3c1b80d486e9d4436f8d2acbf87a0997fe3f402/cffi-2.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96", size = 221525, upload-time = "2026-08-03T21:20:25.758Z" }, + { url = "https://files.pythonhosted.org/packages/82/1d/a4aaf9babd75acb4d5f223bff71533bee748dd770a382619a798960ee9ba/cffi-2.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527", size = 225053, upload-time = "2026-08-03T21:20:26.985Z" }, + { url = "https://files.pythonhosted.org/packages/81/10/5dc0e7bdd18e22107054288283380fc97a06ae3f1656a106908d666a3c88/cffi-2.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13", size = 223213, upload-time = "2026-08-03T21:20:28.277Z" }, + { url = "https://files.pythonhosted.org/packages/0b/e9/d0061c364cde06ee43168a0d076ac1da512cbc380d44767b844ba34fe2b6/cffi-2.1.1-cp314-cp314-win32.whl", hash = "sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c", size = 177682, upload-time = "2026-08-03T21:20:44.288Z" }, + { url = "https://files.pythonhosted.org/packages/a7/06/1c3e01e3ba14c39f6d10bfbac52753b7e22259e38088e5cfe1d704918690/cffi-2.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48", size = 187949, upload-time = "2026-08-03T21:20:45.623Z" }, + { url = "https://files.pythonhosted.org/packages/87/5b/da4e39efe18eeb89cf580ea9cfc66b6a7c3eadb808fc0cc1d3a295cb5a5d/cffi-2.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836", size = 182947, upload-time = "2026-08-03T21:20:46.955Z" }, + { url = "https://files.pythonhosted.org/packages/23/59/40338bf421c5accea1d45158170c87006ef1cd371b05c077e76476949728/cffi-2.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3", size = 188504, upload-time = "2026-08-03T21:20:29.495Z" }, + { url = "https://files.pythonhosted.org/packages/7d/47/5ecf1023850036e674c77ec4de86182d309ae344e39e7cba984b7df5d647/cffi-2.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2", size = 188259, upload-time = "2026-08-03T21:20:31.291Z" }, + { url = "https://files.pythonhosted.org/packages/2a/9c/92934c3bea9f785b23eba304538c0b4d37a2a96d2431eb3a1bc87a11aa19/cffi-2.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94", size = 223864, upload-time = "2026-08-03T21:20:32.571Z" }, + { url = "https://files.pythonhosted.org/packages/4d/45/ba4c93527bc38616a8bd36488acb69a2212d60486794f0c1f318949bbb76/cffi-2.1.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc", size = 211538, upload-time = "2026-08-03T21:20:33.808Z" }, + { url = "https://files.pythonhosted.org/packages/80/e9/b6ef565e452acb932fb0cb5443f44a78efbd1233e566f02b5a83855e9115/cffi-2.1.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29", size = 210688, upload-time = "2026-08-03T21:20:34.974Z" }, + { url = "https://files.pythonhosted.org/packages/9a/95/eff5f0cee78d2eabc7eebffec40d3fc1876b5f3c95582e018bb4b99601f2/cffi-2.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676", size = 223803, upload-time = "2026-08-03T21:20:36.564Z" }, + { url = "https://files.pythonhosted.org/packages/fa/01/579d39fb8bef00a335a23d83757b44feb24cd6345a2c451b64cb67b9c362/cffi-2.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e", size = 226763, upload-time = "2026-08-03T21:20:37.816Z" }, + { url = "https://files.pythonhosted.org/packages/8d/b0/0b44f47c60b01b57b6e2bbd92343f13a85a1d93bc46ccf6e47e244acd99c/cffi-2.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f", size = 225688, upload-time = "2026-08-03T21:20:38.959Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d2/3b7176cb570a1d3e27faf67b72f591af508036e0d8b2be2ef9af9e8c84bb/cffi-2.1.1-cp314-cp314t-win32.whl", hash = "sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4", size = 182868, upload-time = "2026-08-03T21:20:40.388Z" }, + { url = "https://files.pythonhosted.org/packages/56/78/31f00c1bcd97c9bbf55f1bfdf5bc809a5de8887473e90bb9960dca825e80/cffi-2.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e", size = 194104, upload-time = "2026-08-03T21:20:41.725Z" }, + { url = "https://files.pythonhosted.org/packages/7b/1b/58496f2ed0a35de575250c02a43ab3cc2c04d494a88fed31c1cabc0fd176/cffi-2.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5", size = 186402, upload-time = "2026-08-03T21:20:43.042Z" }, + { url = "https://files.pythonhosted.org/packages/c1/8f/9ebe220eab48a093d1a5a5e339ab0dc7316eef3bb04d63c42f0251b61f50/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d", size = 194043, upload-time = "2026-08-03T21:20:48.179Z" }, + { url = "https://files.pythonhosted.org/packages/ff/69/844bad3ece306c4782c2ecb93597035b6690d48704b803914c199da1e8b3/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b", size = 196737, upload-time = "2026-08-03T21:20:49.457Z" }, + { url = "https://files.pythonhosted.org/packages/1b/8a/af668013284634733f02d683458a0728739c7d6ddb5e14cb0c20832266fe/cffi-2.1.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4", size = 184933, upload-time = "2026-08-03T21:20:50.639Z" }, + { url = "https://files.pythonhosted.org/packages/0c/75/2f5207ff6d1a613133b23a5203cc0c2a628313b5eb3974d7956ae3c57950/cffi-2.1.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8", size = 185002, upload-time = "2026-08-03T21:20:52.173Z" }, + { url = "https://files.pythonhosted.org/packages/e2/31/9e1313b0a6e30e91b3b3d3fff51ae99c857c07738e3afcce1f7334e1b7ab/cffi-2.1.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6", size = 222271, upload-time = "2026-08-03T21:20:53.462Z" }, + { url = "https://files.pythonhosted.org/packages/50/e3/f6234a833e6e08c7007003074723c406559eecf9b48dfc97471e5a8eb7a0/cffi-2.1.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80", size = 209919, upload-time = "2026-08-03T21:20:54.783Z" }, + { url = "https://files.pythonhosted.org/packages/0d/fc/5f74e293fced6edb51af3a46c4ccf6c23c9943774ecb375ddbd522c76add/cffi-2.1.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779", size = 208529, upload-time = "2026-08-03T21:20:56.066Z" }, + { url = "https://files.pythonhosted.org/packages/44/16/29e6d01b388bef055ecd6ca8244b3f4d336bd09e92d5d892187b9601084e/cffi-2.1.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399", size = 221630, upload-time = "2026-08-03T21:20:57.336Z" }, + { url = "https://files.pythonhosted.org/packages/a4/18/fa7f1f6857d5eb88a4ca99ffcbfb7c387a287ccc154c64a73e86314745d7/cffi-2.1.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688", size = 225134, upload-time = "2026-08-03T21:20:58.675Z" }, + { url = "https://files.pythonhosted.org/packages/e0/9f/e8e3dfa04a1b4c241f8c91faacad872b4d4efd051d49764ad4e2fd4b9fea/cffi-2.1.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7", size = 223197, upload-time = "2026-08-03T21:20:59.968Z" }, + { url = "https://files.pythonhosted.org/packages/f8/7e/8debeb04f1ab9fe2a6963964cd6f1aaf7192627b83926586a6a4e089c9fa/cffi-2.1.1-cp315-cp315-win32.whl", hash = "sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac", size = 177683, upload-time = "2026-08-03T21:21:14.901Z" }, + { url = "https://files.pythonhosted.org/packages/e0/31/5158704cc474ab65c1647932e88be78dc0873f47130e253be38bcaf13d01/cffi-2.1.1-cp315-cp315-win_amd64.whl", hash = "sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960", size = 187897, upload-time = "2026-08-03T21:21:16.108Z" }, + { url = "https://files.pythonhosted.org/packages/cc/4b/b3a2da8570c704ffc0f9762cdc3ec0f02c8573798e0b5cf7f11c82bbb70f/cffi-2.1.1-cp315-cp315-win_arm64.whl", hash = "sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1", size = 182935, upload-time = "2026-08-03T21:21:17.271Z" }, + { url = "https://files.pythonhosted.org/packages/d0/ef/5443574510a1207e6f6bc38ba6e1f1de36cb48fef07b2728bb896a21f430/cffi-2.1.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc", size = 188464, upload-time = "2026-08-03T21:21:01.163Z" }, + { url = "https://files.pythonhosted.org/packages/7e/ae/a56fa8c4686ad50e148fcbc8d3ae0d03915ff5c30d795058988c24118cef/cffi-2.1.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab", size = 188262, upload-time = "2026-08-03T21:21:02.382Z" }, + { url = "https://files.pythonhosted.org/packages/53/b2/6187f46f2912276a3ae284076109cc5c8680482f11f766ccf26db4a86427/cffi-2.1.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e", size = 223779, upload-time = "2026-08-03T21:21:03.553Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f6/c3ad28bd19f77047a03084424fbd4cbe997303267c14423737324be0385d/cffi-2.1.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358", size = 211520, upload-time = "2026-08-03T21:21:04.863Z" }, + { url = "https://files.pythonhosted.org/packages/a0/cd/ccac9013a5bd9fd764de118674ab9c805b5ca10c19270d90ee273f8b2240/cffi-2.1.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231", size = 210673, upload-time = "2026-08-03T21:21:06.223Z" }, + { url = "https://files.pythonhosted.org/packages/52/86/2976131c639aead931c5bee5aba67e4b09fbeb8018b6f282f70803f923a7/cffi-2.1.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6", size = 223835, upload-time = "2026-08-03T21:21:07.539Z" }, + { url = "https://files.pythonhosted.org/packages/ac/0c/33a7aeab2f9c76918c52e084beb39c570db3588133412929e8ec06fab90b/cffi-2.1.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94", size = 226705, upload-time = "2026-08-03T21:21:08.774Z" }, + { url = "https://files.pythonhosted.org/packages/e3/26/2cde30fdde421130bfc18f70395731a6e6b2053c6a1978a5258ff04e72fa/cffi-2.1.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5", size = 225539, upload-time = "2026-08-03T21:21:09.911Z" }, + { url = "https://files.pythonhosted.org/packages/6d/cd/a361394c94b2129d604bb846f624a8e88255a3ee33129c434a00d715e64f/cffi-2.1.1-cp315-cp315t-win32.whl", hash = "sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66", size = 182707, upload-time = "2026-08-03T21:21:11.226Z" }, + { url = "https://files.pythonhosted.org/packages/9b/b5/ba2b299993c26577d529b6ae29841f9e15b9fcf004d65f423f4fcf94ade9/cffi-2.1.1-cp315-cp315t-win_amd64.whl", hash = "sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3", size = 193772, upload-time = "2026-08-03T21:21:12.39Z" }, + { url = "https://files.pythonhosted.org/packages/aa/29/35e016098c814cd93de9cd320c66b5bfba14dc6ecedd3cb518fa7c408c69/cffi-2.1.1-cp315-cp315t-win_arm64.whl", hash = "sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692", size = 186360, upload-time = "2026-08-03T21:21:13.636Z" }, ] [[package]] name = "charset-normalizer" -version = "3.4.9" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/bd/2a/23f34ec9d04624958e137efdc394888716353190e75f25dd22c7a2c7a8aa/charset_normalizer-3.4.9.tar.gz", hash = "sha256:673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b", size = 152439, upload-time = "2026-07-07T14:34:58.454Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ad/81/8e983840c6e5b93b33c2ba81aa3d52c2e42f0e9a690ce7607a2e61da4a5c/charset_normalizer-3.4.9-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cd6280cf040f233bd7d3407b743b4b4c74f70e8e1c4199cb112a62c941c0772a", size = 322240, upload-time = "2026-07-07T14:32:36.236Z" }, - { url = "https://files.pythonhosted.org/packages/de/d1/b4319dc3229d8272fba305e206fc0a148e2de8d4087917ce62ae6382f359/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa99adc8f081b475a12843953db36831eaf83ec33eb46a90629ca6a5de45a616", size = 216475, upload-time = "2026-07-07T14:32:38.142Z" }, - { url = "https://files.pythonhosted.org/packages/80/33/6c99c1b3e6b8bf730e1bc809b9a2608f224145069114c479a2e9e1494346/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c1225416b463483160e4af85d5fc3a9690ccb53fd4b1865a6437825f5ede3209", size = 238670, upload-time = "2026-07-07T14:32:39.658Z" }, - { url = "https://files.pythonhosted.org/packages/7f/f4/ffbb83546e1f198ecc70ecd372b65cf2b50f9068b380abd67640f17a8e18/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:16d10d789dd9bcca1173c95af82c58433122564b7bc39385124be735a35cbe99", size = 233476, upload-time = "2026-07-07T14:32:41.155Z" }, - { url = "https://files.pythonhosted.org/packages/e8/5f/b98b8da398637b551e427e7be922bdec19177dc54d6811dcdaa503f23aac/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9bb41182d93ea91f60b4bc8fbf4c820c69ef8a12ab2d917f3f1834f1acad07e8", size = 223817, upload-time = "2026-07-07T14:32:42.592Z" }, - { url = "https://files.pythonhosted.org/packages/36/31/a276bb2e66243072a3fd06fdcab9cbb61a305b02143d70d2bda21d888fa8/charset_normalizer-3.4.9-cp310-cp310-manylinux_2_31_armv7l.whl", hash = "sha256:bcf74c1df76758a395bf0af608c04c82257523f55c9868b334f06270d0f2112b", size = 207974, upload-time = "2026-07-07T14:32:44.258Z" }, - { url = "https://files.pythonhosted.org/packages/5e/be/7ee4453d7e88dfbc4104ccd34900b9f2c7c17dac22881865fe0e82424a25/charset_normalizer-3.4.9-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b5314963fce9b0b12743891de876e724997864ee22aa496f903f426c7e2fa5b2", size = 221655, upload-time = "2026-07-07T14:32:45.64Z" }, - { url = "https://files.pythonhosted.org/packages/1d/85/181c652953eb5276d198f375b1dd641047392050098100a3a02d6534f657/charset_normalizer-3.4.9-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e9701d0049d92c16703a42771b98d560b95248949f23f8cf7b4eddd201814fb9", size = 219229, upload-time = "2026-07-07T14:32:47.376Z" }, - { url = "https://files.pythonhosted.org/packages/0c/e7/aaf6da33fc9f4691cda8f7efbc9f69179d3d39ec8a4799baf273ee1d8db0/charset_normalizer-3.4.9-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:65a7ff3f705e57d392f7261b6d0550fe137c3019477431f1c355e0db0a7d3e15", size = 209704, upload-time = "2026-07-07T14:32:48.855Z" }, - { url = "https://files.pythonhosted.org/packages/63/01/f2fb3bd3a73be48b173ee0c6aa8d2497af97d5663a8c4c4b491de4c62f7a/charset_normalizer-3.4.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:79580094b00d1789d1f93ea55bc43cb2f611910c72235b7657f3482ddcc1b22d", size = 226243, upload-time = "2026-07-07T14:32:50.239Z" }, - { url = "https://files.pythonhosted.org/packages/c4/02/c57a22739fe05246b0b5783b3bfb6afaac4eebb46f3ececdfb2f048f780e/charset_normalizer-3.4.9-cp310-cp310-win32.whl", hash = "sha256:432786d3561e69aeeae6c7e8648964ce0ad05736120135601f87ac26b9c83381", size = 150935, upload-time = "2026-07-07T14:32:51.676Z" }, - { url = "https://files.pythonhosted.org/packages/37/8d/ca39a7559a4797505530d084fd3a49a2c959efbbbff146302fb7be4e3b35/charset_normalizer-3.4.9-cp310-cp310-win_amd64.whl", hash = "sha256:8c041122946b7ba21bb32c45b1aa57b1be35527690aeb3c5c234521085632eee", size = 162314, upload-time = "2026-07-07T14:32:53.193Z" }, - { url = "https://files.pythonhosted.org/packages/01/da/a44bd7a13d426e69e4894557106cd58669097bfad4a8681123b618fbfc5d/charset_normalizer-3.4.9-cp310-cp310-win_arm64.whl", hash = "sha256:375b83ed0aecfce76c16d198fbc21f3b11b337d68662bea0a995046682a11419", size = 153075, upload-time = "2026-07-07T14:32:54.554Z" }, - { url = "https://files.pythonhosted.org/packages/0b/e3/85ec501f206fb049259288c1f3506e53876937fb00edb47009348e66756b/charset_normalizer-3.4.9-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0e94703ec9684807f20cfb5eed95c70f67f2a8f21ad620146d7b5a13677b93e5", size = 317075, upload-time = "2026-07-07T14:32:56.021Z" }, - { url = "https://files.pythonhosted.org/packages/c3/69/2a5385192e67175f7d8bd5ce4f57c24bc956439adeae5c13a99aa28a53d1/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2a441ea71902098ffe78c5abe6c494f44160b4af614ed16c3d9a3b1d17fd8ee2", size = 213837, upload-time = "2026-07-07T14:32:57.78Z" }, - { url = "https://files.pythonhosted.org/packages/b3/46/03ddc7da576d814fe0a36dd1f0fd3258e95404b4b2e3c026b7923d7e133f/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:304b13570067b2547562e308af560b3963857b1fa90bd6afd978130130fe2d6a", size = 235503, upload-time = "2026-07-07T14:32:59.205Z" }, - { url = "https://files.pythonhosted.org/packages/4e/6e/de0229a7ef40f6f9d28a837eebf4ec47bdca5dab4e900c84f22919af636a/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4773092f8019072343a7447203308b176e10199920eb02d6195e81bbb3274c29", size = 229944, upload-time = "2026-07-07T14:33:00.803Z" }, - { url = "https://files.pythonhosted.org/packages/a5/34/49b9060e8418b14fb5cba9cf6bfb383111e2538a03a1fb18e66a95aeb3d5/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:04ce310cb89c15df659582aee80a0603788732a5e017d5bd5c81158106ce249c", size = 221276, upload-time = "2026-07-07T14:33:02.199Z" }, - { url = "https://files.pythonhosted.org/packages/44/95/80282cce0fae9c3061203d723ee87da996aed79679e65d8935050ee7ca1f/charset_normalizer-3.4.9-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:c0323c9daef75ef2e5083624b4585018a0c9d5e3b40f607eed81a311270b934b", size = 205260, upload-time = "2026-07-07T14:33:03.698Z" }, - { url = "https://files.pythonhosted.org/packages/0c/74/2f62c8821b969ea3bd67cc2e6976834f48ca5d12664d2559ebcd9bcfbed7/charset_normalizer-3.4.9-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:871ff67ea1aad4dfd91736464934d56b32dac49f9fbe16cddba36198a7b3a0db", size = 217786, upload-time = "2026-07-07T14:33:05.12Z" }, - { url = "https://files.pythonhosted.org/packages/d9/8d/feabb82cb49fcad14515b1d7d1ca4787b0da7fc723a212bf89bc9e0fac52/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:67830fc78e67501f47bb950471b2dcb9b35b140084429318e862895a8e89c993", size = 216798, upload-time = "2026-07-07T14:33:06.629Z" }, - { url = "https://files.pythonhosted.org/packages/a5/ff/c946d63bc3786d5b84d960b0f7ab7e25b828486a946b5aa997625bcaf6a6/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:3d92613ec25e43b05f042302531ec0f00b8445190e43325880cbd6ab7c2581da", size = 206429, upload-time = "2026-07-07T14:33:08.006Z" }, - { url = "https://files.pythonhosted.org/packages/af/ba/5e5007c370702f85d2ef75791fac7943ed41e080364a673b20142e430e3e/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:280081916dc341820640489a66e4696049401ef1cf6dd672f672e70ad915aca3", size = 223066, upload-time = "2026-07-07T14:33:09.783Z" }, - { url = "https://files.pythonhosted.org/packages/83/d5/9096aa3cf532dfad237861544eb47a0f20d5adbf1039760fed8eaae935d9/charset_normalizer-3.4.9-cp311-cp311-win32.whl", hash = "sha256:ac351b3b8014eead140e77e9717e2992c6bbe30b63bc3422422eb84865412e3d", size = 150456, upload-time = "2026-07-07T14:33:11.217Z" }, - { url = "https://files.pythonhosted.org/packages/ed/a1/e29995109e455dc8eff8d0fac6ae509be39561318a7cfeac5d33ad029213/charset_normalizer-3.4.9-cp311-cp311-win_amd64.whl", hash = "sha256:6366a16e1a25018694d6a5d784d09b046edc9eac40ea2b54065c3052672516a1", size = 161410, upload-time = "2026-07-07T14:33:12.743Z" }, - { url = "https://files.pythonhosted.org/packages/4f/8d/1569f4d0032d6ba2a4fe4591c35bf87868c600c41a71eb5c2e1ffa8464c2/charset_normalizer-3.4.9-cp311-cp311-win_arm64.whl", hash = "sha256:1d22856ffbe153a602df38e4a5464f0b748a54002e0d69ac6d2ad0a197cc99ec", size = 152649, upload-time = "2026-07-07T14:33:14.173Z" }, - { url = "https://files.pythonhosted.org/packages/70/4a/ecbd131485c07fcdfad54e28946d513e3da22ef3b4bd854dcafae54ec739/charset_normalizer-3.4.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:45b0cc4e3556cd875e09102988d1ab8356c998b596c9fced84547c8138b487a0", size = 319300, upload-time = "2026-07-07T14:33:15.666Z" }, - { url = "https://files.pythonhosted.org/packages/ec/96/5d9364e3342d69f3a045e1777bc47c85c383e6e9466d561b33fdb419d1f9/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9b2aff1c7b3884512b9512c3eaadd9bab39fb45042ffaaa1dd08ff2b9f8109d9", size = 215802, upload-time = "2026-07-07T14:33:17.031Z" }, - { url = "https://files.pythonhosted.org/packages/4b/4c/5361f9aa7f2cb58d94f2ab831b3d493f69efb1d239654b4744e3c09527cb/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9104ed0bd76a429d46f9ec0dbc9b08ad1d2dcdf2b00a5a0daa1c145329b35b44", size = 237171, upload-time = "2026-07-07T14:33:18.576Z" }, - { url = "https://files.pythonhosted.org/packages/50/78/ce342ca4ff30b2eb49fe6d9578df85974f90c67d294113e94efdd9664cbd/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7b86a2b16095d250c6f58b3d9b2eee6f4147754344f3dab0922f7c9bf7d226c9", size = 233075, upload-time = "2026-07-07T14:33:20.084Z" }, - { url = "https://files.pythonhosted.org/packages/01/c4/4fa4c8b3097a11f3c5f09a35b72ed6855fb1d332469504962ab7bafcc702/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e226f6218febc71f6c1fc2fafb91c226f75bdc1d8fb12d66823716e891608fd", size = 224256, upload-time = "2026-07-07T14:33:21.747Z" }, - { url = "https://files.pythonhosted.org/packages/87/3a/ad914516df7e358a81aae018caa5e0470ba827fa6d763b1d2e87d920a5f6/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:90c44bc373b7687f6948b693cceaea1348ae0975d7474746559494468e3c1d84", size = 208784, upload-time = "2026-07-07T14:33:23.313Z" }, - { url = "https://files.pythonhosted.org/packages/d7/74/3c12f9755717dfe5c5c87da63f35d765fa0c00382ec26bf23f7fae34f2ba/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9cdef90ae47919cae358d8ab15797a800ed41da7aba5d72419fb510729e2ed4b", size = 219928, upload-time = "2026-07-07T14:33:24.814Z" }, - { url = "https://files.pythonhosted.org/packages/33/9a/895095b83e7907abd6d3d99aad3a38ad0d9686cc186cb0c94c24320fe63e/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:60f44ade2cf573dad7a277e6f8ca9a51a21dda572b13bd7d8539bb3cd5dbedde", size = 218489, upload-time = "2026-07-07T14:33:26.42Z" }, - { url = "https://files.pythonhosted.org/packages/a1/34/ef5c05f412f42520d7709b7d3784d19640839eb7366ded1755511585429f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:a1786910334ed46ab1dd73222f2cd1e05c2c3bb39f6dddb4f8b36fc382058a39", size = 210267, upload-time = "2026-07-07T14:33:27.952Z" }, - { url = "https://files.pythonhosted.org/packages/83/dc/9b29fa4412b318bf3bfea985c35d67eb55e04b59a7c3f2237168b0e0be6f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:03d07803992c6c7bbc976327f34b18b6160327fc81cb82c9d504720ac0be3b62", size = 226030, upload-time = "2026-07-07T14:33:29.397Z" }, - { url = "https://files.pythonhosted.org/packages/0e/42/6dbc00b8cd16011691203e33570fa42ed5746599a2e878112d16eab403a3/charset_normalizer-3.4.9-cp312-cp312-win32.whl", hash = "sha256:78841cccf1af7b40f6f716338d50c0902dbe88d9f800b3c973b7a9a0a693a642", size = 151185, upload-time = "2026-07-07T14:33:30.781Z" }, - { url = "https://files.pythonhosted.org/packages/80/cc/f920afd1a23c58ccd53c1d36085a71893a4737ff5e66e0371efab6809850/charset_normalizer-3.4.9-cp312-cp312-win_amd64.whl", hash = "sha256:4b3dac63058cc36820b0dd072f89898604e2d39686fe05321729d00d8ac185a0", size = 162557, upload-time = "2026-07-07T14:33:32.176Z" }, - { url = "https://files.pythonhosted.org/packages/f0/e6/0386d43a261ff4e4b30c5857af7df877254b46bec7b9d1b74b6bf969a90b/charset_normalizer-3.4.9-cp312-cp312-win_arm64.whl", hash = "sha256:78fa18e436a1a0e58dbd7e02fc4473f3f32cceb12df9dfca542d075961c307d2", size = 152665, upload-time = "2026-07-07T14:33:33.711Z" }, - { url = "https://files.pythonhosted.org/packages/b2/06/97ec2aeae780b31d742b6352218b43841a6871e2564578ca522dce4a45c3/charset_normalizer-3.4.9-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:440eede837960000d74978f0eba527be106b5b9aee0daf779d395276ed0b0614", size = 317688, upload-time = "2026-07-07T14:33:35.408Z" }, - { url = "https://files.pythonhosted.org/packages/d0/39/8ff066c672434225f8d25f8b739f992af250944392173dcc88362681c9bf/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:21e764fd1e70b6a3e205a0e46f3051701f98a8cb3fad66eeb80e48bb502f8698", size = 214982, upload-time = "2026-07-07T14:33:36.996Z" }, - { url = "https://files.pythonhosted.org/packages/92/8f/3a47a3667c83c2df9483d91644c6c107de3bf8874aa1793da9d3012eb986/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e4fd89cc178bced6ad29cb3e6dd4aa63fa5017c3524dbd0b25998fb64a87cc8b", size = 236460, upload-time = "2026-07-07T14:33:38.536Z" }, - { url = "https://files.pythonhosted.org/packages/f1/60/b22cdbee7e4013dab8b0d7647fc6181120fbbbc8f7025c226d15bd5a47fc/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bd47ba7fc3ca94896759ea0109775132d3e7ab921fbf54038e1bab2e46c313c9", size = 232003, upload-time = "2026-07-07T14:33:40.059Z" }, - { url = "https://files.pythonhosted.org/packages/ea/f8/72eb13dcabe7257035cea8aefd922caad2f110d252bf9f67c4c2ca763aee/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:84fd18bcc17526fc2b3c1af7d2b9217d32c9c04448c16ec693b9b4f1985c3d33", size = 223149, upload-time = "2026-07-07T14:33:41.631Z" }, - { url = "https://files.pythonhosted.org/packages/b0/3e/faee8f9de92b14ee1198e9163252bb15efee7301b31256a3b6d9ebfdd0dd/charset_normalizer-3.4.9-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:5b10cd92fc5c498b35a8635df6d5a100207f88b63a4dc1de7ef9a548e1e2cd63", size = 207901, upload-time = "2026-07-07T14:33:43.209Z" }, - { url = "https://files.pythonhosted.org/packages/3a/25/45f30093ae27dd7b92a793b61882a38685f993700113ca36e0c9c14965e1/charset_normalizer-3.4.9-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a4fbdde9dd4a9ce5fd52c2b3a347bb50cc89483ef783f1cb00d408c13f7a96c0", size = 219176, upload-time = "2026-07-07T14:33:44.725Z" }, - { url = "https://files.pythonhosted.org/packages/48/18/c8f397329c35e32f6a837e488986f4ae03bd2abebc453b48714991630c2f/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:416c229f77e5ea25b3dfd4b582f8d73d7e43c22320302b9ab128a2d3a0b38efe", size = 217356, upload-time = "2026-07-07T14:33:46.192Z" }, - { url = "https://files.pythonhosted.org/packages/86/7e/5ce0bba863470fd1902d5e5843968951bddf38abe4742fc97116ef4598b3/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:75286256590a6320cf106a0d28970d3560aad9ee09aa7b34fb40524792436d35", size = 209614, upload-time = "2026-07-07T14:33:47.705Z" }, - { url = "https://files.pythonhosted.org/packages/6c/ef/2473d3c4d869155be4af1191111d59c4d5c4e0173026f7e85b176e23bf65/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:69b157c5d3292bcd443faca052f3096f637f1e074b98212a933c074ae23dc3b8", size = 224991, upload-time = "2026-07-07T14:33:49.238Z" }, - { url = "https://files.pythonhosted.org/packages/d0/a3/53ddae3db108a088156aa8ddfafd411ebbc1340f48c5573f697b27f69a39/charset_normalizer-3.4.9-cp313-cp313-win32.whl", hash = "sha256:51307f5c71007673a2bf8232ad973483d281e74cb99c8c5a990af1eefa6277d9", size = 150622, upload-time = "2026-07-07T14:33:50.711Z" }, - { url = "https://files.pythonhosted.org/packages/e8/ef/6953a77c7cf2c2ff9998e6f575ab3e380119f100223381565a4f94c1f836/charset_normalizer-3.4.9-cp313-cp313-win_amd64.whl", hash = "sha256:fe2c7201c642b7c308f1675355ad7ff7b66acfe3541625efe5a3ad38f29d6115", size = 161947, upload-time = "2026-07-07T14:33:52.197Z" }, - { url = "https://files.pythonhosted.org/packages/6e/fb/d560d1d1555debbfe7849d9cac6145c1b537709d79576bf22557ed803b82/charset_normalizer-3.4.9-cp313-cp313-win_arm64.whl", hash = "sha256:611057cc5d5c0afc743ba8be6bd828c17e0aaa8643f9d0a9b9bb7dea80eb8012", size = 152594, upload-time = "2026-07-07T14:33:53.486Z" }, - { url = "https://files.pythonhosted.org/packages/7e/8d/496817fa0944239ecae662dd57ea765cfeaec6a735f9f025d4b7b72e7143/charset_normalizer-3.4.9-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:0327fcd59a935777d83410750c50600ee9571af2846f71ce40f25b13da1ef380", size = 317253, upload-time = "2026-07-07T14:33:54.994Z" }, - { url = "https://files.pythonhosted.org/packages/2b/f9/ef4a69ea338ad3c0deceea0f5f7d2380ae8b52132b06d652cb0d2cd86706/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a79d9f4d8001473a30c163556b3c3bfebec837495a412dde78b51672f6134f9", size = 215898, upload-time = "2026-07-07T14:33:56.334Z" }, - { url = "https://files.pythonhosted.org/packages/8c/e7/5ddfd76fc061eb52de219658a4aa431cbacadf0a0219c8854f00da50d289/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:33bdcc2a32c0a0e861f60841a512c8acc658c87c2ac59d89e3a46dacf7d866e4", size = 236718, upload-time = "2026-07-07T14:33:57.9Z" }, - { url = "https://files.pythonhosted.org/packages/49/ba/768fa3f36048d81c477a0ce61f813bc1454d80917ccfe550abd9f44f5e24/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f840ed6d8ecba8255df8c42b87fadeda98ddfc6eeec05e2dc66e26d46dd6f58a", size = 232519, upload-time = "2026-07-07T14:33:59.811Z" }, - { url = "https://files.pythonhosted.org/packages/f4/c4/b3e049d2aa3766180c78507110543d9d50894cc97f57de543f1be521dcdc/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c25fe15c70c59eb7c5ce8c06a1f3fa1da0ecc5ea1e7a5922c40fd2fa9b0d5046", size = 223143, upload-time = "2026-07-07T14:34:01.517Z" }, - { url = "https://files.pythonhosted.org/packages/19/79/55c32d06d76ae4feafe053f061f3e3ab70bcf19f4007797ce8c3efda7830/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:f7fb7d750cfa0a070d2c24e831fd3481019a60dd317ea2b39acbcebc08b6ed81", size = 206742, upload-time = "2026-07-07T14:34:03.04Z" }, - { url = "https://files.pythonhosted.org/packages/10/e0/47c079dd82d217c807479cd59ffd30af56307ea31c108b75758970459ad3/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4d1c96a7a18b9690a4d46df09e3e3382406ae3213727cd1019ebade1c4a81917", size = 219191, upload-time = "2026-07-07T14:34:04.657Z" }, - { url = "https://files.pythonhosted.org/packages/42/ab/b9bc2e77d6b44a7e46ef62ec5cac1c9a6ba7b9135a5d560f002696ec9995/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a4cfde78a9f2880208d16a93b795726a3017d5977e08d1e162a7a31322479c41", size = 218328, upload-time = "2026-07-07T14:34:06.115Z" }, - { url = "https://files.pythonhosted.org/packages/f1/78/c9c71d599f5aa2d42bcdd35cbbd46d7f535351a57e40ff7d8e5a7e219401/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:d4d6fcde76f94f5cb9e43e9e9a61f16dacefd228cbbf6f1a09bd9b219a92f1a1", size = 207406, upload-time = "2026-07-07T14:34:07.554Z" }, - { url = "https://files.pythonhosted.org/packages/f6/39/c914445c321a845097ce4f6ac7de9a18228a77b766272125a1ce00d851eb/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:898f0e9068ca27d37f8e83a5b962821df851532e6c4a7d615c1c033f9da6eedf", size = 225157, upload-time = "2026-07-07T14:34:09.061Z" }, - { url = "https://files.pythonhosted.org/packages/9b/f2/c0d4b8508565a36bc5c624e88ed297f5b0b1095011034d7f5b83a69908b5/charset_normalizer-3.4.9-cp314-cp314-win32.whl", hash = "sha256:c1c948747b03be832dceed96ca815cef7360de9aa19d37c730f8e3f6101aca48", size = 151095, upload-time = "2026-07-07T14:34:10.901Z" }, - { url = "https://files.pythonhosted.org/packages/49/fd/a1d26144398c67486422a72bf5812cda22cb4ccfcd95a290fb41ceb4b8e2/charset_normalizer-3.4.9-cp314-cp314-win_amd64.whl", hash = "sha256:16b65ea0f2465b6fb52aa22de5eca612aa964ddfec00a912e26f4656cbef890b", size = 162796, upload-time = "2026-07-07T14:34:12.47Z" }, - { url = "https://files.pythonhosted.org/packages/20/95/d75e82f8ce9fd323ebf059c16c9aadefb22a1ecde13b7840b35835e4886c/charset_normalizer-3.4.9-cp314-cp314-win_arm64.whl", hash = "sha256:40a126142a56b2dfc0aacbad1de8310cbf60da7656db0e6b16eebd48e3e93519", size = 153334, upload-time = "2026-07-07T14:34:14.044Z" }, - { url = "https://files.pythonhosted.org/packages/00/5e/17398df3a139985ba9d11ed072531986f408c8fca952835ef1ab1820c02b/charset_normalizer-3.4.9-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:609b3ba8fcc0fb5ab7af00719d0fb6ad0cb518e48e7712d12fd68f1327951198", size = 338848, upload-time = "2026-07-07T14:34:15.688Z" }, - { url = "https://files.pythonhosted.org/packages/cd/91/7253a32e86b7e1d1239b1b36ba6dd0f021a21107ab33054b53119cc083b9/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:51447e9aa2684679af07ca5021c3db526e0284347ebf4ffcec1154c3350cfe32", size = 223022, upload-time = "2026-07-07T14:34:17.248Z" }, - { url = "https://files.pythonhosted.org/packages/cb/32/2e64bd2be10e89c61e57ebe6a93fd98ae88eb7ebe414b5121f22c96c69eb/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cc1b0fff8ead343dae06305f954eb8468ba0ec1a97881f42489d198e4ce3c632", size = 241590, upload-time = "2026-07-07T14:34:18.813Z" }, - { url = "https://files.pythonhosted.org/packages/3d/ef/d96ec496cfea0c21db43b0ad03891308b02388d054cc902cf0e5a1ad6a88/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fa36ec09ef71d158186bc79e359ff5fdd6e7996fe8ab638f00d6b93139ba4fcf", size = 239584, upload-time = "2026-07-07T14:34:20.52Z" }, - { url = "https://files.pythonhosted.org/packages/d4/ce/9af95f7876194bd7a14e3dfe4a4de2e0bff02666a3910d72beafd06cc297/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:df115d4d83168fdf2cae48ef1ff6d1cb4c466364e30861b37121de0f3bf1b990", size = 230224, upload-time = "2026-07-07T14:34:22.189Z" }, - { url = "https://files.pythonhosted.org/packages/52/94/af74dde74a3996bd959c350709bfe50e297823d70a8c1cbd54b838880863/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:f86c6358749bd4fda175388691e3ba8c46e24c5347d0afd20f9b7edfc9faf07d", size = 212667, upload-time = "2026-07-07T14:34:23.857Z" }, - { url = "https://files.pythonhosted.org/packages/ee/f0/f1c4fe746c395922961b5916ed1d7d6e7d4c84851d19ed43cc89980ec953/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:32286a2c8d167e897177b673176c1e3e00d4057caf5d2b64eef9a3666b03018e", size = 227179, upload-time = "2026-07-07T14:34:25.586Z" }, - { url = "https://files.pythonhosted.org/packages/e4/56/6c745619ac397e8871e2bcd3cea1eec86b877488f33888b3aef5c3ed506e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:83aed2c10721ddd90f68140685391b50811a880af20654c59af6b6c66c40513c", size = 225372, upload-time = "2026-07-07T14:34:27.212Z" }, - { url = "https://files.pythonhosted.org/packages/78/ad/98aae8630ac71f16711968e38a5acfecce41b778bf2f0312851020f565a8/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cd6c3d4b783c556fa00bf540854e42f135e2f256abd29669fcd0da0f2dec79c2", size = 215222, upload-time = "2026-07-07T14:34:28.774Z" }, - { url = "https://files.pythonhosted.org/packages/f7/40/9593d54209765207a7f11073c06494c1721e4ca4a0a426c597679bf7f91e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ee2f2a527e3c1a6e6411eb4209642e138b544a2d72fe5d0d76daf77b24063534", size = 231958, upload-time = "2026-07-07T14:34:30.345Z" }, - { url = "https://files.pythonhosted.org/packages/b1/27/693ee5e8a18191eb38647360c51cd505013e2bd3b366aa43fd5344c21e3c/charset_normalizer-3.4.9-cp314-cp314t-win32.whl", hash = "sha256:0d861473f743244d349b50f850d10eb87aeb22bbdcc8e64f79273c94af5a8226", size = 155580, upload-time = "2026-07-07T14:34:31.884Z" }, - { url = "https://files.pythonhosted.org/packages/80/3f/bd97d3d9c613013d07cb7733d299385b41df37f0471310f5a73dc359f0b8/charset_normalizer-3.4.9-cp314-cp314t-win_amd64.whl", hash = "sha256:9b8e0f3107e2200b76f6054de99016eac3ee6762713587b36baaa7e4bd2ae177", size = 167620, upload-time = "2026-07-07T14:34:33.438Z" }, - { url = "https://files.pythonhosted.org/packages/3d/c6/eee9dca4439b1061f76373f06ea855678cc4a64c1c3c90b50e479edbb8eb/charset_normalizer-3.4.9-cp314-cp314t-win_arm64.whl", hash = "sha256:19ac87f93086ce37b86e098888555c4b4bc48102279bae3350098c0ed664b501", size = 158037, upload-time = "2026-07-07T14:34:35.018Z" }, - { url = "https://files.pythonhosted.org/packages/a6/ec/81e22253f4b7091eca6515bb3da5e45d05a663f7f567bb745695dc60f892/charset_normalizer-3.4.9-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:253a4a220747e8b5faf57ec320c4f5efb0cef05f647420bf267143ec15dba10a", size = 306122, upload-time = "2026-07-07T14:34:36.607Z" }, - { url = "https://files.pythonhosted.org/packages/c8/53/a8c042eb9eee4716f4d42a0f5a571eb32a09ec429be9fb0b8b9d765393ba/charset_normalizer-3.4.9-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:68ce9f4d6b26d5ccbf7fd4459bf75f74a0a146677ebba80597df60cbdb20e6f4", size = 206284, upload-time = "2026-07-07T14:34:38.166Z" }, - { url = "https://files.pythonhosted.org/packages/14/cb/1db8b96547ee3186cd2dd7f2e59dd560a9b80748f3604171f3c153d62811/charset_normalizer-3.4.9-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:58150c9f9b9a552505912d182ccdf26f6396fb6094816ceebcbb20eecabaed94", size = 226837, upload-time = "2026-07-07T14:34:39.77Z" }, - { url = "https://files.pythonhosted.org/packages/6a/05/c94d5cd23396289c54c93b02e0273b4dd8921641d9968c4828caf9bbaad9/charset_normalizer-3.4.9-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:df7276909358e5635ae203673ab7e509ddd224225a8d6b0790bf13eb2bde1cc5", size = 222199, upload-time = "2026-07-07T14:34:41.391Z" }, - { url = "https://files.pythonhosted.org/packages/6d/46/79847edd07244a4a2d443c6655a7b6ee94203c21539414b059f32713c357/charset_normalizer-3.4.9-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3c09a49d6cde137258beb3d551994a2927fd35ad5cf96aed573f61bbd67c5f84", size = 214344, upload-time = "2026-07-07T14:34:42.986Z" }, - { url = "https://files.pythonhosted.org/packages/ec/b4/ef5a49b2e77c00deb43bb3256592b115ba9e4346016e82c516b8d215bf68/charset_normalizer-3.4.9-cp39-cp39-manylinux_2_31_armv7l.whl", hash = "sha256:231ddcbb35e2ff8973e1365db41fe0572662893b99a05deb183b68ad4c0c8bd4", size = 199988, upload-time = "2026-07-07T14:34:44.685Z" }, - { url = "https://files.pythonhosted.org/packages/3d/ca/ad1d7c7d3077dab873f539d3e1d083c0845a762cb0bafdfbe3ef93add598/charset_normalizer-3.4.9-cp39-cp39-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:920079c3f7456fa213e0829ed2073aaa727fd39d889ead5b4f35d0de5460d04f", size = 211908, upload-time = "2026-07-07T14:34:46.227Z" }, - { url = "https://files.pythonhosted.org/packages/ed/61/710738687f90d01c06a04ed52d6ca1e62dd9b1d8cc2567098167c4691034/charset_normalizer-3.4.9-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:0fa1aec2d32bcc03c8fa0f6f1712caad1adc38509f31142112e5c9daf5b9c833", size = 209320, upload-time = "2026-07-07T14:34:47.753Z" }, - { url = "https://files.pythonhosted.org/packages/5f/c0/6eec7bdabe6cbbcc274ec04596f6d93865751a0541d33d60d1ce179bd372/charset_normalizer-3.4.9-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:ad41ba96094304aa090f5a30cb6e4fb3b3f1c264c523394b4c39bbacc4dc92ba", size = 200980, upload-time = "2026-07-07T14:34:49.362Z" }, - { url = "https://files.pythonhosted.org/packages/eb/78/59344ff9a4a7b5f6530bf7bec2c980047cc42c3a616596cdbd8cb5c1a1af/charset_normalizer-3.4.9-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:43b9e366a31fdd1c87d0eb08f579b4a82b723ea54338f040d6b4e518a026ea29", size = 216545, upload-time = "2026-07-07T14:34:50.98Z" }, - { url = "https://files.pythonhosted.org/packages/17/6d/bff78a4bacc4891bc63ec5bdc6776d8c85e47fab93d0d5f6223068fad0a4/charset_normalizer-3.4.9-cp39-cp39-win32.whl", hash = "sha256:93d59d504b230e83c7a843251681959a0b6a9cd76f6e146ce1b8a80eb8739af9", size = 146256, upload-time = "2026-07-07T14:34:52.509Z" }, - { url = "https://files.pythonhosted.org/packages/a2/55/86048bde1c9d0352940bd7b87d825091a52aef67d01cde6c6f7342c5b552/charset_normalizer-3.4.9-cp39-cp39-win_amd64.whl", hash = "sha256:ddf4af30b417d9fe16481e9b81c27ab2a7cde1ff7ba3e85653b02db7d145dc7b", size = 156413, upload-time = "2026-07-07T14:34:54.117Z" }, - { url = "https://files.pythonhosted.org/packages/28/e9/9fb6099b868c82a40698a748ae0fbd4f31ccc13844c176a07158ba2abbfd/charset_normalizer-3.4.9-cp39-cp39-win_arm64.whl", hash = "sha256:476743fe6dfe14a2da12e3ac79125dc84a3b2cf8094369a47a1529b0cd8549fe", size = 147887, upload-time = "2026-07-07T14:34:55.51Z" }, - { url = "https://files.pythonhosted.org/packages/98/2b/f97f1c193fb855c345d678f5077d6926034db0722df74c8f057020e05a25/charset_normalizer-3.4.9-py3-none-any.whl", hash = "sha256:68e5f26a1ad57ded6d1cfb85331d1c1a195314756471d97758c48498bb4dcdf5", size = 64538, upload-time = "2026-07-07T14:34:56.993Z" }, +version = "3.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e5/3f/143b048436775b0f76ac3eec145c019e8173ccc2885c8f20319b996d5e83/charset_normalizer-3.5.1.tar.gz", hash = "sha256:6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3", size = 171764, upload-time = "2026-08-15T08:20:44.807Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/aa/554e2614f38fc34c58ff1d0911ae8535ad2516440d5482d76fe59f1088b0/charset_normalizer-3.5.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d1ee1e296209fdce05b81b663250eefa02213a2da7b41bf26f7829b8ba3545aa", size = 369072, upload-time = "2026-08-15T08:16:22.964Z" }, + { url = "https://files.pythonhosted.org/packages/03/6d/439231dfc3ccfa6f8c06477b7da2219cbd41a2de3d49084df8ec7b5100f2/charset_normalizer-3.5.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9fbdce1e47394b09bc9f26ab117dfc8d6491977a11d86f592bb42c779db2fda", size = 251142, upload-time = "2026-08-15T08:16:24.81Z" }, + { url = "https://files.pythonhosted.org/packages/55/53/7d819bd23a00ef45039146fa2cce1daa2f0771e758c5653ee1f6edac91ed/charset_normalizer-3.5.1-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:00668ebb0609751758682eb0b5857e7c35b9f00e84dfdef062e103244ec94d45", size = 240714, upload-time = "2026-08-15T08:16:26.392Z" }, + { url = "https://files.pythonhosted.org/packages/b2/2c/45847198c16f4b38090cc7423b2b6a9008e438704d8ab413211832498d31/charset_normalizer-3.5.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ba2f37ee79e6338845261a3c5b1784e5d1acdff2c0785b284f1b633033d136ab", size = 279637, upload-time = "2026-08-15T08:16:27.961Z" }, + { url = "https://files.pythonhosted.org/packages/69/2b/d8be3523ddf9f0b0f3e56d1359034aa10653a4d11564c697f802b4775766/charset_normalizer-3.5.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ce854f5f478050ade5a238731c4ca985a7d3b3cb53ff600a9b5c3b689b5f0a7a", size = 276543, upload-time = "2026-08-15T08:16:29.399Z" }, + { url = "https://files.pythonhosted.org/packages/32/cd/4f564b8f132de25db594efc706897069f016790cea63a5669c9df2675f64/charset_normalizer-3.5.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:96eefc178f8636b9c760c5829345307fd81cfae9ab1e80997dbddeb0f54ee9a3", size = 261644, upload-time = "2026-08-15T08:16:30.722Z" }, + { url = "https://files.pythonhosted.org/packages/f5/e3/38b975422534a608f98c360e79c2f07c763d66dd4272300d45fb1fee54b0/charset_normalizer-3.5.1-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:366ec70f5547c640d3ce1985722490f23faf4eb5216a7eeba78277490e78dacb", size = 259609, upload-time = "2026-08-15T08:16:32.248Z" }, + { url = "https://files.pythonhosted.org/packages/87/bd/fbc24d825c66f1c74f6ccdea3742c3d8354a4888e86d1315a197fee69061/charset_normalizer-3.5.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:950f23cb393f85543777b0433f082cddd25b51ab398eac7971146495679efe5f", size = 252457, upload-time = "2026-08-15T08:16:33.849Z" }, + { url = "https://files.pythonhosted.org/packages/b9/2d/918d0e98a0e679469ed05bb2d90c2088b4d315bb612969d8499f76fb5210/charset_normalizer-3.5.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:c1dcc36dcb96abc02236e182d17e0f71430152a6c2c7447421da2d2dc144edea", size = 242240, upload-time = "2026-08-15T08:16:35.396Z" }, + { url = "https://files.pythonhosted.org/packages/20/c8/c36f6e0b2dfec351bd38cbc05362697e58bcd073d7dbd95154290c9714ce/charset_normalizer-3.5.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:07ffd07412fc5d5e84cd8952acf9ff7e4ed7a708e69d1bada19d8ba91711353f", size = 280308, upload-time = "2026-08-15T08:16:36.825Z" }, + { url = "https://files.pythonhosted.org/packages/ca/7b/311b3e02e8c4092400c449c850a760d8c45d900983c83a70cc07208c551d/charset_normalizer-3.5.1-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:f5542f9b941279d82d41eb0aa9f98eba36fe4df5c7086c651df7944935b37182", size = 258679, upload-time = "2026-08-15T08:16:38.22Z" }, + { url = "https://files.pythonhosted.org/packages/b9/90/082cc45599c392f28c036a497f49e0634041a785fc3849c80ccf396d096f/charset_normalizer-3.5.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:a545775cfe815855ea32d7c27731d79da358ef2055b4a25830231b1622dd18aa", size = 277221, upload-time = "2026-08-15T08:16:39.62Z" }, + { url = "https://files.pythonhosted.org/packages/58/ad/b9aecf38d805cbcf84fa94f14c5d972a16561e20296a11dc799a5dcf3763/charset_normalizer-3.5.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:494b70049a4d69aec6e8137c13af4cf8db8c9f9820a1392ac293b0dd2987a818", size = 263799, upload-time = "2026-08-15T08:16:40.885Z" }, + { url = "https://files.pythonhosted.org/packages/b7/23/b38a20598d5a825f85d9d7636860e56ff0db1479f86497a6e485aa9326f7/charset_normalizer-3.5.1-cp310-cp310-win32.whl", hash = "sha256:94fbf1c0c6cc0d3d5e50f9a9313a8cdca90dd696d34b381cd1704f8c9e939f20", size = 182037, upload-time = "2026-08-15T08:16:42.198Z" }, + { url = "https://files.pythonhosted.org/packages/d2/21/83fffb77864408b8bf0fe1ca603926401d6f8775a8e150b39aacc9958f8a/charset_normalizer-3.5.1-cp310-cp310-win_amd64.whl", hash = "sha256:be47f99644b208bff7766314013f9acf57b056b04191d570d68ad14022cf5b1d", size = 206030, upload-time = "2026-08-15T08:16:43.787Z" }, + { url = "https://files.pythonhosted.org/packages/86/2e/b93135b5034b1157fb29554b0d06d4844ce62282f0e0a14036f93d7ee2e7/charset_normalizer-3.5.1-cp310-cp310-win_arm64.whl", hash = "sha256:a6d095662e73e74f0a49988e0593373e243e3a52e27bfeea0a859e88acf4a0f5", size = 185092, upload-time = "2026-08-15T08:16:45.177Z" }, + { url = "https://files.pythonhosted.org/packages/6a/b6/034f6802e9c3f6418966cfabb7db8c9252cc2429c5098f41cc43af804149/charset_normalizer-3.5.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:eda059b6bc8bc0812d626fd91a7ce01bf583df0a61296eff390fd94141a34e30", size = 363585, upload-time = "2026-08-15T08:16:46.646Z" }, + { url = "https://files.pythonhosted.org/packages/d5/fa/6a7e2a7c4b5451912b8c417732df79574354443592a88d616de03da66ae5/charset_normalizer-3.5.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa2bb0b37202dca27175591f761108b5d34096ade1191ffe4808bdf6b1571488", size = 251189, upload-time = "2026-08-15T08:16:48.287Z" }, + { url = "https://files.pythonhosted.org/packages/a4/c8/ab42b07cfd82e919f427fcfaa7c41abae8242833ad1aad66d42bae40b669/charset_normalizer-3.5.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0b2b1b3fa5670c127b246df1d0c059defd41f689a868a3b9d79df9b1cac42d22", size = 239724, upload-time = "2026-08-15T08:16:49.67Z" }, + { url = "https://files.pythonhosted.org/packages/e7/80/b9348b5d3041209f98b4cdad7655766369233f1d533f4f4f7558e9717bec/charset_normalizer-3.5.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6e5e4d73d588ca5ed09df1b7dcd1b203d1df3c542e3f50d126c947d432b10731", size = 280078, upload-time = "2026-08-15T08:16:51.228Z" }, + { url = "https://files.pythonhosted.org/packages/82/38/083a24028304bc85bb9e376fed801178423dcbb67495f73b6ea0624e1894/charset_normalizer-3.5.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b54e7e13267d49ffbfe68e25b3cbd774dab38fa37238f71265e91b36146eb21c", size = 276650, upload-time = "2026-08-15T08:16:52.625Z" }, + { url = "https://files.pythonhosted.org/packages/0d/35/731ac04aa0a097fc1c97f0994c375bdb230c6c96619db794208fe664e9ce/charset_normalizer-3.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c7b742bf31c88566b4bb6335a7f393bb322e580b6bb98df7bd0c25e6e3519ce8", size = 262325, upload-time = "2026-08-15T08:16:54.085Z" }, + { url = "https://files.pythonhosted.org/packages/f5/28/c2028e7021fb89c6e56868ed0e387b8e9aa811abdd2ab3208d6578d2c930/charset_normalizer-3.5.1-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6ba32c4d2abf1d2fe7cf27d280f4cca5664233b0f885549c7761719eb977f486", size = 261140, upload-time = "2026-08-15T08:16:55.604Z" }, + { url = "https://files.pythonhosted.org/packages/28/f0/0c0ceec6d98b7daa62e361e418135d59685811d79ba11529aad5cdf15e84/charset_normalizer-3.5.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0722590aabf9dc6a6c0343d523c05458fa2b5047dbe6302fd526bb570600753f", size = 252791, upload-time = "2026-08-15T08:16:57.103Z" }, + { url = "https://files.pythonhosted.org/packages/f0/3e/48f4cd187b1c33189d86039e9cbe4f92c05454175504b44ff81806d4d1bf/charset_normalizer-3.5.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:aa1099b956fb795e686d073568f6dc002a0bb89765ea6d5b055dd7d9bf1b116c", size = 240730, upload-time = "2026-08-15T08:16:58.418Z" }, + { url = "https://files.pythonhosted.org/packages/42/85/f9e22af69af67c54cce42be9455d9c81294f918b4ccc454db01f66efcac2/charset_normalizer-3.5.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:bd6c173f04743d483881bffa1478d5a4624475b8cd1d2194956a75548e191c18", size = 280791, upload-time = "2026-08-15T08:16:59.918Z" }, + { url = "https://files.pythonhosted.org/packages/fd/4c/9044135f42127630b6fa742feb51256353f6ab87a78f2fdd1de3de955a7f/charset_normalizer-3.5.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:f298e218441525d3794428b4c8b8fb8662c6d3ea79925d4807ee6b9a96a3bca5", size = 259598, upload-time = "2026-08-15T08:17:01.421Z" }, + { url = "https://files.pythonhosted.org/packages/ba/ed/1dd7cfebb4e75812934c49ca3b79757d11948053f7937ab7070c151f3c55/charset_normalizer-3.5.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:6e2912d4babbc65196ac13c2f53468dc57fb8b9c25ef913e8c59ddf7c6dc0e1b", size = 278217, upload-time = "2026-08-15T08:17:02.782Z" }, + { url = "https://files.pythonhosted.org/packages/bf/eb/239c84503cc9e3ba6eb34686a24bc66e84f3924efdd7e38e751a19f6bc10/charset_normalizer-3.5.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3d27167433c0d5f18dc850f07d0b3816221984fecdc405d6c157a6f0b8f8e9e6", size = 263417, upload-time = "2026-08-15T08:17:04.216Z" }, + { url = "https://files.pythonhosted.org/packages/37/ab/4e4510e1e288478e2c8333131d1c1382382ba8cd2165053c79e39d1da961/charset_normalizer-3.5.1-cp311-cp311-win32.whl", hash = "sha256:ac00177c4831ffa650f8609e4bdddd5fe09c03b1c0c47acece7e6ea20421598b", size = 181774, upload-time = "2026-08-15T08:17:05.58Z" }, + { url = "https://files.pythonhosted.org/packages/e3/57/32f0ccea59e8612057c61d6fd22ef2cb63cca93c9fe594094919696ac170/charset_normalizer-3.5.1-cp311-cp311-win_amd64.whl", hash = "sha256:f9b1e28d0e8dbfa858abdba91d6b547beaf2df1a59bec6da6faae7b96a4991a9", size = 206653, upload-time = "2026-08-15T08:17:07.075Z" }, + { url = "https://files.pythonhosted.org/packages/17/d4/b65c433fc521e58b5f54293982a5e51c05cb5f2dd3f1c7a6acb65b75324e/charset_normalizer-3.5.1-cp311-cp311-win_arm64.whl", hash = "sha256:ae31a1a1db2ee6cc2942fccaf695c934bc7f3db9f2133a3fef1f367cf1a4ab10", size = 185630, upload-time = "2026-08-15T08:17:08.502Z" }, + { url = "https://files.pythonhosted.org/packages/30/27/78873dc8b6a56357517b74b6bb9568b80450e7bb4f6ef7e3fa9d22aa0bd7/charset_normalizer-3.5.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:5b6d1386bf0096d26d3a863dc0a487a5b4eb9aa93cf5ba69683d29dde6b9d60f", size = 344456, upload-time = "2026-08-15T08:17:10.072Z" }, + { url = "https://files.pythonhosted.org/packages/9a/4c/be49ada26b1f0232d57aa89bbebf997a5cc2332a5616b6eca26ff680044d/charset_normalizer-3.5.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4582c27e8c889d64811987b5967fbd3ae0c823fe1fd933b543d55ac20bb475fa", size = 238530, upload-time = "2026-08-15T08:17:11.563Z" }, + { url = "https://files.pythonhosted.org/packages/76/84/6f1290fa07ae6978d3960caa3eb1b8019bf9284ab7c2297b00c099ef4250/charset_normalizer-3.5.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1d1c7a53a6c2103925cdd6d7229f8c567379f211c869793df679f2e9f738c369", size = 230200, upload-time = "2026-08-15T08:17:12.919Z" }, + { url = "https://files.pythonhosted.org/packages/e7/a0/47b18adeed31c8f16ba9700f32c1b18594cfa09f47eb672a488c273c22bf/charset_normalizer-3.5.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e6621fb2a4988d6e53eedc455e5903e2679f3967b8acb3d639f1b63c14a2e893", size = 262222, upload-time = "2026-08-15T08:17:14.571Z" }, + { url = "https://files.pythonhosted.org/packages/38/fe/341861ac118dae06f3ec0eb487488af52128f2ef2faf0b11003944d22259/charset_normalizer-3.5.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7c0c10730342b0c9b35dd1d619beb8214e520bd96a1f870f452680b238aab3e0", size = 258951, upload-time = "2026-08-15T08:17:16.158Z" }, + { url = "https://files.pythonhosted.org/packages/6f/89/bb5108dc6c3651dca963f2b0a3ba19bbcb370c94e1b6d3e0e844a58e6dca/charset_normalizer-3.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b9af956078716df40d985fb0dfeb2c2120c5ca92ba4ff4b388acfd01cdc14d08", size = 248801, upload-time = "2026-08-15T08:17:17.683Z" }, + { url = "https://files.pythonhosted.org/packages/b1/ba/ef83ae3aca816393decfa3530976f38a79812d707b80b580ac33b83f9877/charset_normalizer-3.5.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f9f8405c2c758532c74fed975dbee57be1f31a6e865c031870c79a6ed3212ada", size = 244070, upload-time = "2026-08-15T08:17:19.191Z" }, + { url = "https://files.pythonhosted.org/packages/f6/0b/c5292a2462d69b7378ea89793bbb5b2b6fcf6f7dd6d1667f9619094ad553/charset_normalizer-3.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:96fef3e886d6a9874b14f27fc193fbdc69d5d8035783d86aa4e1cea594e695f9", size = 240110, upload-time = "2026-08-15T08:17:20.547Z" }, + { url = "https://files.pythonhosted.org/packages/46/22/111e5be3b740d5c2a5bfcedb3d237b6591e5c2e82ae9d6ffcb121fe0909c/charset_normalizer-3.5.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:5d8531a6569d025f68e2321e7638fb7978f23db58e5f69f56913837aae03816e", size = 232836, upload-time = "2026-08-15T08:17:21.895Z" }, + { url = "https://files.pythonhosted.org/packages/f9/d2/d2aad6fe0dbb44b194bf3becb60f5a0ac48446ade999a47fe7bb41eb09a7/charset_normalizer-3.5.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:aae2ee51122d3ae968a3837d97dc24a0aeebb0dea23694422cd172bd30017cd6", size = 262712, upload-time = "2026-08-15T08:17:23.727Z" }, + { url = "https://files.pythonhosted.org/packages/35/5a/337e4663a5eae6de99db940ee8066d4145caafb61327db62deda15313cce/charset_normalizer-3.5.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:7235dc28fc6dd9d832ac7c7bce95367dedb85929f17368a0c2bee1e080b9acbf", size = 242977, upload-time = "2026-08-15T08:17:25.157Z" }, + { url = "https://files.pythonhosted.org/packages/ca/85/f82f8a92e31c7519410e2e1afdc630f28ec47490ce2c09a11c1a43cbb459/charset_normalizer-3.5.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4abdc5f9ad448c1ecbfae2974b820535d6bc6e7eef63babbab3d81cf46968c71", size = 260207, upload-time = "2026-08-15T08:17:26.602Z" }, + { url = "https://files.pythonhosted.org/packages/b7/52/643d11ffd60e9ac2fd1fb87e167a19285b9eefeff4a40e63c87cbfbeab36/charset_normalizer-3.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ba501e667c17d8411f98e67a022d9604ef179aff0e459b7e292c796837c13573", size = 250562, upload-time = "2026-08-15T08:17:27.971Z" }, + { url = "https://files.pythonhosted.org/packages/62/16/46556278c2168d12df9da7fede5dc6fc70e60301b26a82bbeec238c9cfe3/charset_normalizer-3.5.1-cp312-cp312-win32.whl", hash = "sha256:cfa1c0cc3a8f9f53f1243a5a99ac36fd003880199383b37672e86ddda9cb07e2", size = 178507, upload-time = "2026-08-15T08:17:29.277Z" }, + { url = "https://files.pythonhosted.org/packages/9d/7a/4c6c298171e6b3e745633180ff59350fc0ca0db1ffd28df1e369e0579f71/charset_normalizer-3.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:3617ac3cfd8b9888f145ad89dd6e692285834b0201c6074a5eeaad3fd4d668c2", size = 200551, upload-time = "2026-08-15T08:17:30.668Z" }, + { url = "https://files.pythonhosted.org/packages/cd/d7/eb95a042f0dd22e304b0b6472b154f3546a1a039a9ee89ccb2a7f61591fc/charset_normalizer-3.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:88e85ab89cb822c1e635f51d6d32e488f94e002e70e2f492bdb8b945543f345a", size = 180700, upload-time = "2026-08-15T08:17:32.028Z" }, + { url = "https://files.pythonhosted.org/packages/bc/61/2cb6ad133dbbb449fa2d37ccae973232f4827e799af258d15e589a3d1e9e/charset_normalizer-3.5.1-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:4f298bdadb8f0b9e5672877f647d1be9373ef5320c9e2f049795e26cad28b6a9", size = 211584, upload-time = "2026-08-15T08:17:33.597Z" }, + { url = "https://files.pythonhosted.org/packages/18/57/a305c968be1ca13f3dd1b32f445877e97addf55d80b65c7cb35fac82b777/charset_normalizer-3.5.1-cp313-cp313-android_24_x86_64.whl", hash = "sha256:88ca277405c2d3b71c4e1c2ee0e7966e807bcba86a69d11e19ba199d18ae4491", size = 223359, upload-time = "2026-08-15T08:17:35.022Z" }, + { url = "https://files.pythonhosted.org/packages/09/0a/d3646670292ce8d8f8cc11ac067d44885e697a5591f57a9221128da5e7b3/charset_normalizer-3.5.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:9362dd90aa7dab48c0054a21187791ccf05473f7dba5d92b8033ae62164675e7", size = 194464, upload-time = "2026-08-15T08:17:36.452Z" }, + { url = "https://files.pythonhosted.org/packages/de/93/d51ec556e01042fed6f993ea859311bc7917b466684182fbbceb6ca24762/charset_normalizer-3.5.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:977cdbd483a9cff38179bea4fd754289a6f2195c7abd414aba85410b3e66cc5e", size = 197676, upload-time = "2026-08-15T08:17:37.819Z" }, + { url = "https://files.pythonhosted.org/packages/a4/a0/562247944386f7d4ef94467e84876600cc1e0f1b93239aaa9213d2bc3cbd/charset_normalizer-3.5.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:e90251c0c7bdd54a100a0dce3c07b7e637278c93af29dbf78ebb89a58c4bac7d", size = 340473, upload-time = "2026-08-15T08:17:39.303Z" }, + { url = "https://files.pythonhosted.org/packages/31/e7/1d994be1b93d41e9502b8b0460eaa88a1dd8df335df415db87d6c3e91ab2/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:94d78ecec2605a8d0398b0f365d5f12a63248438516f5dac536a5eff7337df4a", size = 240156, upload-time = "2026-08-15T08:17:40.66Z" }, + { url = "https://files.pythonhosted.org/packages/09/53/27923ce5cc6cbccb832037b27dca98882d9c53e9b69e866bbbef4aae7fc8/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d59b75732e9b6f27388e10c14b0259cc5f2e48c78627d185e6a177b58ad3cffe", size = 228246, upload-time = "2026-08-15T08:17:42.003Z" }, + { url = "https://files.pythonhosted.org/packages/ce/48/5a97e84d63af1d55c07439cb80e56d99a8efb4295700eb4e18c0d1615d2c/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0d929fc574b4d6fd9e7c0f5c2ede8716a41911923aa7fa5fce38e0818aa4a1ac", size = 263660, upload-time = "2026-08-15T08:17:43.627Z" }, + { url = "https://files.pythonhosted.org/packages/7a/c2/071575791dcc88316c0a9a65ce38897a82e4cfe4a325f0f7fe1b1ac47bcf/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:394fea06235c8543390050ed5f529187074b029fb027213f6c46ac11ab5d950e", size = 260354, upload-time = "2026-08-15T08:17:45.094Z" }, + { url = "https://files.pythonhosted.org/packages/fb/af/63240b0c0248c075c2535a1f1bd992821d8251b9f173abc13329661d09e4/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62b55f6722735a6c472f88361cde6640608773d9443cebdbb51abf436a1fcdd3", size = 250638, upload-time = "2026-08-15T08:17:46.496Z" }, + { url = "https://files.pythonhosted.org/packages/4d/66/70dfad64f15be09c15ccfee81330a7e515895dbe296dd23114e9a231268a/charset_normalizer-3.5.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fa48b1b63d639f9483e0633e092f5851e2348c352f1f9bb6c8182f87884ef876", size = 244583, upload-time = "2026-08-15T08:17:47.963Z" }, + { url = "https://files.pythonhosted.org/packages/c0/24/ef36367d38b9ddd4bccbf72888c342e8de1f5ae506fa0b2dcf970e2732a1/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c71fb0d56c920c269cd3e2e3fe7c610e3f1fdb21a6ce60efa6430ff63676cea6", size = 242038, upload-time = "2026-08-15T08:17:49.481Z" }, + { url = "https://files.pythonhosted.org/packages/db/ab/55e683ba0fff2e43adafc10daa3001eac90fdaa419a97227d5a7067eedde/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:485a0d363cafefcd2538a73c7c838daa2035f09b2c9f9b5e3133f80c6aeb84c2", size = 233677, upload-time = "2026-08-15T08:17:50.845Z" }, + { url = "https://files.pythonhosted.org/packages/bd/67/0f40eaf8d1b6e7cf15e82382a2965efaca787fc1c2794b7021d37aaf5036/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5c0ea61a470e070686aa30892fed79e297d2c8d0ab46b8bcdf027d38c51da591", size = 264491, upload-time = "2026-08-15T08:17:52.61Z" }, + { url = "https://files.pythonhosted.org/packages/5c/64/12b4c2a11ee8df4fcc518c78b0d93e3a92bd3d5253d1617ce74ff0e8c7ef/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:90b7481fb62fbe172c558bc6fd1c4c98d82004a54a7551f20e11ac9bf0b8708c", size = 245196, upload-time = "2026-08-15T08:17:54.023Z" }, + { url = "https://files.pythonhosted.org/packages/37/2e/651d910af6d0fba325eee1cda37ec5443462ed25360e666c144166eb6091/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:35fe081843b35aad20ffeccec3eeffbe637b15d14f3fb22cc1b59cd8ec17e93c", size = 261660, upload-time = "2026-08-15T08:17:55.491Z" }, + { url = "https://files.pythonhosted.org/packages/90/c6/b09e05e6db7f64338e0dc067c79577b1138da86c1e38369096851d96be88/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fd0350afdc3aabd5576f60ea109228bd5538139713c7b094c5cd27c73a98bc6f", size = 252618, upload-time = "2026-08-15T08:17:57.025Z" }, + { url = "https://files.pythonhosted.org/packages/76/4e/362d4f9fdcdf5556fb2aa3ce7d4a58ebce03ed1ff03aa1d9aca8d02f13f3/charset_normalizer-3.5.1-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:9d9a0dc7cbe9bec24c3f767c9122c41fe5a1bc43f47cd099d00d393e09769de4", size = 140362, upload-time = "2026-08-15T08:17:58.425Z" }, + { url = "https://files.pythonhosted.org/packages/b4/d4/703be739b26acce318bd29eb3b25b7209e1b1f527f9eae3d1f1f01fdde2b/charset_normalizer-3.5.1-cp313-cp313-win32.whl", hash = "sha256:d63600d620ad0064c3a748b950ac5ea38a80190e5498532efefa4b7b3f1da1f3", size = 177755, upload-time = "2026-08-15T08:18:00.037Z" }, + { url = "https://files.pythonhosted.org/packages/8a/33/56d97ade41c8db611e727168c52ae46c9224c362ec28d4b65d7e9869e8da/charset_normalizer-3.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:aea996a6aba25260827c9ea511d1addfde2da9eb686ac961838509086188b7e6", size = 199295, upload-time = "2026-08-15T08:18:01.506Z" }, + { url = "https://files.pythonhosted.org/packages/5b/75/5b20dd1e6573a01a08158fe104104fa2c8abf941745596954185726cd46c/charset_normalizer-3.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:fd0a274c0e5f9a21565cd9d3dd749b61f96b7aa1e20a93aa1ba4029518f2e5c0", size = 179856, upload-time = "2026-08-15T08:18:02.929Z" }, + { url = "https://files.pythonhosted.org/packages/29/cd/2b812ce5e888f1ce69a5350281e58aab07ae64a958ecae8912f30865718e/charset_normalizer-3.5.1-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:774d157f112367ff4abd29019f38f023c24e00e56edc7829c20e358a5a913ad8", size = 212318, upload-time = "2026-08-15T08:18:04.403Z" }, + { url = "https://files.pythonhosted.org/packages/9e/4a/a6ee107430768a5334e6d63f31f148a04a1a491ef161a1ac9415a73f2fa8/charset_normalizer-3.5.1-cp314-cp314-android_24_x86_64.whl", hash = "sha256:26422d45fd13551cf564c58932f7d72b4f58b93b0fcf18c35ba6be12b46bb102", size = 224897, upload-time = "2026-08-15T08:18:05.997Z" }, + { url = "https://files.pythonhosted.org/packages/c3/d9/35ae3f64f29d0179c35c3baefe575904df2913dde519129c7f75995a2b1d/charset_normalizer-3.5.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:09a7bba9f739468c8e78c36a75c33768e53cb1959fc638f510454c14683f00d5", size = 194848, upload-time = "2026-08-15T08:18:07.397Z" }, + { url = "https://files.pythonhosted.org/packages/74/76/f2fc7380f056cc273a53af37f50d08ad54b2c59f61078f31432edcf1c2bd/charset_normalizer-3.5.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4c9548dc78002099910abaebc0a72ac58b7d30931869e0351c09b507dff4ece3", size = 198163, upload-time = "2026-08-15T08:18:08.989Z" }, + { url = "https://files.pythonhosted.org/packages/e9/40/095ce62fa078483cccc1fa2b36e6bc9580b85422a20ee9f925341c50e44f/charset_normalizer-3.5.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c428c6c31eb5f4277d7f8eccaf767fbd548ddd5ce3c8b4f4cbbfab3d96b5904c", size = 341823, upload-time = "2026-08-15T08:18:10.458Z" }, + { url = "https://files.pythonhosted.org/packages/f1/5a/0e58b1c04a1596e0256f407274a92d5fb2ee21324409d1fab1da48a65b5b/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2f06b7eae9dbe77fe1d644ca244dad508de8d302870a43f3c559b521270938a0", size = 242458, upload-time = "2026-08-15T08:18:11.989Z" }, + { url = "https://files.pythonhosted.org/packages/22/95/b4618ce912e6db0b1aae89ba788e38e8a7eba0f3025cc66e8c0699f977b2/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6b7430cf5728e68f6c462254009a6ef4086e1bea43cf2f57aa9c55fb4f50ff96", size = 226717, upload-time = "2026-08-15T08:18:13.401Z" }, + { url = "https://files.pythonhosted.org/packages/8a/76/c681192bbda3d55356db5dadd64381d5202b37c6b598fcda5282e88b5d3d/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ab743e9bc90c1f73552ec33e10e3331315acd2c397b36065b591b0181de533cc", size = 266111, upload-time = "2026-08-15T08:18:14.961Z" }, + { url = "https://files.pythonhosted.org/packages/88/be/55127bfca72c0cff6c022488d140d7c5b04c771e3b72e9bdb4836d54979d/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f6f7deae3feb4edfa2efaf7c574fe88cbf055038a6abdb40188e4fff66d5699f", size = 263128, upload-time = "2026-08-15T08:18:16.515Z" }, + { url = "https://files.pythonhosted.org/packages/e0/91/39c3af510b0aa32bbda03374259200f28430febfd1bf5e511fe765282ce5/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15f024313246a4ed976c60f440bb8d257815513a681d212ff74fd46f7d715a90", size = 251240, upload-time = "2026-08-15T08:18:18.127Z" }, + { url = "https://files.pythonhosted.org/packages/1c/a5/cbe418bbc6ecdfc3e05a0116002897c4b403a5e838d697e64c78e9f0190d/charset_normalizer-3.5.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:823f82903d189af463d7df250ef1f7f696f3cee08cc8d91deb565e8d425f6506", size = 245282, upload-time = "2026-08-15T08:18:19.625Z" }, + { url = "https://files.pythonhosted.org/packages/cc/a4/689bb42e8e7cd492f3cb64907c6bc00ad247ec9a3628cd3f8eed126e8ae1/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:01e93745f7f219b703b60ba7afead36cfc4242782be5af484673fc500df12da5", size = 244597, upload-time = "2026-08-15T08:18:21.121Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ce/9962938e179cf9f699d3f1e7b3114b5d7642dee6a893745229f9dd04f274/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:329fc3ccb63ad22d867d84c2adea759a64079a37ba4a343433b02c7a2816871e", size = 231376, upload-time = "2026-08-15T08:18:22.57Z" }, + { url = "https://files.pythonhosted.org/packages/85/54/46000450ada53bd9eac5429a2c8c54cd2d9b39c0c255f229aea9af0948a5/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:bb57753e36e4855b8ca375069482250a6246372331a3e4f3407eaebb007443f5", size = 266715, upload-time = "2026-08-15T08:18:24.235Z" }, + { url = "https://files.pythonhosted.org/packages/3d/bb/618749d70f792b44252a777bf89bfb86823b9bbc1ea13fe8ce759b07f38a/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fce8cbd4997efeb450bd298b54f755dcdff18d496f7a5ddbb4867c6d7c88fdc3", size = 245848, upload-time = "2026-08-15T08:18:25.726Z" }, + { url = "https://files.pythonhosted.org/packages/7e/3f/ffb64458527c7668031d5eb095d978de561958dc9f5b53f8e488a533e603/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:6c9cdde8becb25a7fde49924511aa2644d6f8081cc8df8e9452724303348d8e3", size = 264521, upload-time = "2026-08-15T08:18:27.193Z" }, + { url = "https://files.pythonhosted.org/packages/4f/ab/74a55fd803916a35ac461daf002708191aac19b546b80dc8cabfedc63d98/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9ac4444d8d4fd4c4bd08bf451ed3167aa9e7ec6cdb41b648794f1d1103652e36", size = 253054, upload-time = "2026-08-15T08:18:28.568Z" }, + { url = "https://files.pythonhosted.org/packages/a0/2a/6a9034b7d3c60b17499afb482df5878bf9fa20b50cc3887d5ef017a833db/charset_normalizer-3.5.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:f03ac127268b43ef4fe9e6ab6794a6794b49485a0cc0c1db79876d2f33f75bc7", size = 140580, upload-time = "2026-08-15T08:18:30.214Z" }, + { url = "https://files.pythonhosted.org/packages/f3/46/1d362e1a00d035d66b9869e1281eee115907f7e390a16a07824ab5737360/charset_normalizer-3.5.1-cp314-cp314-win32.whl", hash = "sha256:1f5883d77fd409a261abb5dc8ccbe335720d798b1de4abb3b1d47ccbbc76b53b", size = 180325, upload-time = "2026-08-15T08:18:31.877Z" }, + { url = "https://files.pythonhosted.org/packages/7a/7c/4938c329b6a9d446f6a59aa2092ff7118f274209b5ed0e26893d1d30a63c/charset_normalizer-3.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:c658c50ac0c98cd755a2dd50b7977d3bca7df401dcc47fbdfa87db53ef7d4e8b", size = 204175, upload-time = "2026-08-15T08:18:33.466Z" }, + { url = "https://files.pythonhosted.org/packages/ac/33/eeb384dbd8dec570661354592f4f2e1b2fcc92585624d146a000caf53841/charset_normalizer-3.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:4bea7f8ebe90bbd7f0e4a2de42ca6924ba23e3e76418c408ff82f1d46fabd687", size = 184123, upload-time = "2026-08-15T08:18:34.913Z" }, + { url = "https://files.pythonhosted.org/packages/1c/6c/c73fa9d5a85f6ab05395de61c5f6984e0a9ff40bb5ff888d46dff02526c6/charset_normalizer-3.5.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:fbc597639158fd7c14d55e808718848319540f51b0e6746e3eefa59723a4a348", size = 381682, upload-time = "2026-08-15T08:18:36.349Z" }, + { url = "https://files.pythonhosted.org/packages/30/c7/63565f860921457feba93bae6c86fb7746deb4cffeed2f375cb845318146/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e71c909f353863b2b89c83de2ebed71ea6d0df8a6ef65a128193c5e650766bef", size = 240826, upload-time = "2026-08-15T08:18:37.887Z" }, + { url = "https://files.pythonhosted.org/packages/06/ae/7ae8807410dfa33f8e6f1715740adeaafa8a816cc4cb33508f54b1f7c896/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7ac76cf9afd34929d76eb7fcb63be476a4853d8a96f0dcf2d0db68a0cbdf9885", size = 227861, upload-time = "2026-08-15T08:18:39.315Z" }, + { url = "https://files.pythonhosted.org/packages/e9/a3/887c1642f0da26000b0e0652d91071113c0e72cea33952e225cf589f49a9/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a3a370082ce34d0612f421e15fe011c53bb1feff21a26d06ad4fb244dab5a375", size = 260758, upload-time = "2026-08-15T08:18:40.88Z" }, + { url = "https://files.pythonhosted.org/packages/3e/11/e6f5b9a3d0e55b0ef7505cd3765cdd48f22db89994c947b316f52f801fd8/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:256dd4d85d9e4dc595e2bc983c980e73f62ddeb3165c58b4c3dfe78c5c8548c1", size = 259950, upload-time = "2026-08-15T08:18:42.351Z" }, + { url = "https://files.pythonhosted.org/packages/1b/ee/e4e10a94d51cd1ee638aa7e00b65399e6b2a4e8376ab6d2eac9f95586671/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:58d4aa13a59c969dbfdf9e6a9560e242cbfd9e8a8f50c2747714df1a423adf65", size = 249329, upload-time = "2026-08-15T08:18:43.914Z" }, + { url = "https://files.pythonhosted.org/packages/c4/25/d5f4198819e6059735a84e8d0bfb72dc33976da67b97adcd3fb5a5e07ec6/charset_normalizer-3.5.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0c6dfb5ca6723eeed15aa8e564a014d69fcb8812f94eef11fe3631e0508199f5", size = 243137, upload-time = "2026-08-15T08:18:45.368Z" }, + { url = "https://files.pythonhosted.org/packages/a5/e9/e925ca7569cf9fb9701fd82503fee73eea5268fdb856bdd64947092d3daa/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c010f5581d9c612804cc59fcf7b524b707fbcb72828551237ab545bb5c7034af", size = 242820, upload-time = "2026-08-15T08:18:46.842Z" }, + { url = "https://files.pythonhosted.org/packages/34/17/672c251a888ed2aebcdd2fe830ad0104e25ff83c43f5c4f9c15e9fc6853c/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:52ec005752a56ae79547a05c0139ca2501a0c866390b6115008456b9f0e7cde1", size = 230504, upload-time = "2026-08-15T08:18:48.353Z" }, + { url = "https://files.pythonhosted.org/packages/3f/fc/f6a85abebd42ce4da2f1db0aa56cc6a0df1995e318b3875d14401b8381d1/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:2bced4061f000f7187254a02ad3433ae17eaf991747ceea2f478422590a5bba9", size = 263087, upload-time = "2026-08-15T08:18:49.859Z" }, + { url = "https://files.pythonhosted.org/packages/98/66/7c42677e739ba66746b297e2046918d793078094dc239e1e72768cffccc6/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:9eea3ab2597a5e65fe65296e2d6a84570845a6b55532d90333d740d48bbc850a", size = 243269, upload-time = "2026-08-15T08:18:51.601Z" }, + { url = "https://files.pythonhosted.org/packages/de/d8/a50b79237f417af10f8c2a501ce8d1ca87829a22e69117891ca4ba20a69e/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:496846868fea80e479324862fa877f02411f2fd0f83b79ccee2607aa68b2a032", size = 258766, upload-time = "2026-08-15T08:18:53.23Z" }, + { url = "https://files.pythonhosted.org/packages/2e/1d/0fc91aeaeb3c83b748f532399ce67cf84604b48297405d740000f7a9e786/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:85d5855daafc240cc045c026d7a15fd198a09b0fc8ff6f5ecbb5297b509cb11e", size = 250814, upload-time = "2026-08-15T08:18:54.768Z" }, + { url = "https://files.pythonhosted.org/packages/ae/10/3d8c777cf9024615295aa1b808324ad5b4a77855869c00824bad74ffaf8a/charset_normalizer-3.5.1-cp314-cp314t-win32.whl", hash = "sha256:58d3e12c88e0950bca850ae1f7c256055c097639c2edb9eb123af9807d8b15e4", size = 191074, upload-time = "2026-08-15T08:18:56.305Z" }, + { url = "https://files.pythonhosted.org/packages/4d/81/ae557d3c44d1a1d688696d60563413a0866a91b7ebc50f20df838be3d8c8/charset_normalizer-3.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:acaf604462bf330b0d07e7a07c1d6e4adac79e5fb13e9c5140590542cafacc00", size = 216476, upload-time = "2026-08-15T08:18:57.889Z" }, + { url = "https://files.pythonhosted.org/packages/27/e9/61c01fb8b804692569c036b3fc50495814502dcf13a60649c6055390b02c/charset_normalizer-3.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:fdb8a068947befafba9952162645dc2fecaeb400e64584829ed5e9b2fbe21a7f", size = 194115, upload-time = "2026-08-15T08:18:59.418Z" }, + { url = "https://files.pythonhosted.org/packages/4a/4e/8544831ef59d8f27ce92c80871380fdacc8076a8a56ed62f82e54f991333/charset_normalizer-3.5.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:9085f87b0e38a2b92b8923059b4e8789fe40d9279712d15dcc670048d77079af", size = 342048, upload-time = "2026-08-15T08:19:01.054Z" }, + { url = "https://files.pythonhosted.org/packages/7f/a6/e3b46852424246065355644f4fb6dbccc0239a42a2eee27ecfc8957f0bcd/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2679de311c7946dde5d3b6f44941844133ff5c7cb86099c0061ab1e8901c20a8", size = 242997, upload-time = "2026-08-15T08:19:02.492Z" }, + { url = "https://files.pythonhosted.org/packages/03/3b/0cc9a26777334ab2f2e3089b948bbf4e4fe72ea70b897715ef6415043ec8/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:baf3775a2635e5a11fbd5e4e64ee69c7e86875d224a5c72aca4c141064589a90", size = 237014, upload-time = "2026-08-15T08:19:03.943Z" }, + { url = "https://files.pythonhosted.org/packages/8c/c2/027335f0aa337a2a2e121bac1ad88c4f02ba6053ea0926802784f3db11af/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8ac8c94b6539074e0f40899301273ac8402b9b3e01c7b7ba269ff30340aaaf20", size = 266174, upload-time = "2026-08-15T08:19:05.598Z" }, + { url = "https://files.pythonhosted.org/packages/86/d3/e367787febe4e74769dec0f406f2c3c8d1b955fce5aee1fd0f94e8367a45/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8fe532b3c966d1fb794e0698e4589d0444017ae77fc0b31edea13c0e35bcc449", size = 263361, upload-time = "2026-08-15T08:19:07.251Z" }, + { url = "https://files.pythonhosted.org/packages/af/3d/391b193eb9f3e84b02f9314088c386debdc0debee843535aaea2e2c6715d/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5c84bec0ab5ae0c64bfe73a7d2adcb5ce73b467523fc27fd6a28ab2aa6cbe35a", size = 252143, upload-time = "2026-08-15T08:19:08.816Z" }, + { url = "https://files.pythonhosted.org/packages/2e/57/de221f1745a90d418199761967e2776bfe2c275a1194220985e8c1d37833/charset_normalizer-3.5.1-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:854066be00447fa8de2ccbbe893e2ffc4b123ef16d897af794c1e18bd4a714b0", size = 252086, upload-time = "2026-08-15T08:19:10.255Z" }, + { url = "https://files.pythonhosted.org/packages/c8/e3/d119f86a01f9331e8186175f24873b1d74a7ee9e2e4b4d68f9947dae5afd/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:21b82d8082f6f5e7f456ef0bd16323d08de1266efbfeb476e64b2a91d1471a4e", size = 245231, upload-time = "2026-08-15T08:19:11.807Z" }, + { url = "https://files.pythonhosted.org/packages/26/de/d8e48c135ae480879539cdb179c8d3b50c7879497d75dd899b5763b69cee/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:838648accb3a7fd9803fd45c87bce8509648eb0c11bc34e216141300977244f2", size = 241546, upload-time = "2026-08-15T08:19:13.416Z" }, + { url = "https://files.pythonhosted.org/packages/67/c4/217755fd1abc50d326c252922cd642002758095a81ff45010337b8b3ef65/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:195ce897c6153c0700078142cf8efe3e6454ca4cf4357499e4078dfd83396626", size = 267033, upload-time = "2026-08-15T08:19:14.981Z" }, + { url = "https://files.pythonhosted.org/packages/b8/d7/34d8e404e358d2adcc5a228c2134643af00104c8fb0bf525f3688d756f05/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:978eab16f55b4ab2c2a745be9a0a840bf8f09a7f227d9c76eb30214d078865a5", size = 252045, upload-time = "2026-08-15T08:19:16.618Z" }, + { url = "https://files.pythonhosted.org/packages/5e/fa/40414471acf0aa0692ca77305aa00e434fcd8288f0941c93c30e9a5f8f2f/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:cc0329df4caaceb950d2f580b5ac716a377f7059624a0bafaeaf8a218c6ed774", size = 264866, upload-time = "2026-08-15T08:19:18.101Z" }, + { url = "https://files.pythonhosted.org/packages/32/90/fcc850bae791abd2e0c041847f13e270aa08692a79f3e00de6d2dce1cb50/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:687c9ca3035544b113bea2055e180af96fb63c0c476e22a9180f51925186e7b7", size = 253932, upload-time = "2026-08-15T08:19:19.734Z" }, + { url = "https://files.pythonhosted.org/packages/af/af/53afe99068b3c10b4cbae592a52ef72a7c92c0188440e83ee3a078fd8f75/charset_normalizer-3.5.1-cp315-cp315-win32.whl", hash = "sha256:706bfd38730a5ac7a365793269a00f4e988178cec121391f4248d84ad8c972e9", size = 180320, upload-time = "2026-08-15T08:19:21.37Z" }, + { url = "https://files.pythonhosted.org/packages/c9/bc/f46a132041b29e4a8779ed712d3df1bf112e94ca8de58b66d7ec2c0cf8b9/charset_normalizer-3.5.1-cp315-cp315-win_amd64.whl", hash = "sha256:92caef967d287a407085d61176fce4012b1dd62daed4eb6d5ceb26d3d2538712", size = 204174, upload-time = "2026-08-15T08:19:23.088Z" }, + { url = "https://files.pythonhosted.org/packages/a1/5d/9ed554480eda8e447b673648628fdc29574d23dbad01fe11837adedd1cae/charset_normalizer-3.5.1-cp315-cp315-win_arm64.whl", hash = "sha256:5fc45d653ea8c9a20479167e11d4a0f8cb2fa3470737ab6f9c827532313187b7", size = 184126, upload-time = "2026-08-15T08:19:24.471Z" }, + { url = "https://files.pythonhosted.org/packages/3b/32/9b8929bf384061ee1fe5d9c27c6f9776d3d824039ad4e14c88ec00c7808e/charset_normalizer-3.5.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:59171c6e45bf07d0d5cab3b0bf81d945035530f6873398b3b531c31184d46663", size = 381441, upload-time = "2026-08-15T08:19:26.038Z" }, + { url = "https://files.pythonhosted.org/packages/96/10/e9aa7923d3ddac652c99a1c5f7be494e737e151566a44abe018daf757f2c/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9dbdd9205662134957cf0c324f639bdc5031c0ca056e2369e238db75187c0f11", size = 241742, upload-time = "2026-08-15T08:19:27.532Z" }, + { url = "https://files.pythonhosted.org/packages/28/53/a2d249ebddf47b889a100c0bdcb61a2f9dbb8bc24ef325cc062e4f476877/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e4b018dc5a0eee4676e38fe84a47a427816c590b93b55d9025274ec4d6ffc2dc", size = 235298, upload-time = "2026-08-15T08:19:29.274Z" }, + { url = "https://files.pythonhosted.org/packages/7d/07/469f78af590f7d5cd48e20d8dbfa3d66deeff9ba37768c04d886b5afd45c/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ced3fdd71aaa83ce593746c2edb42b7a59cb4c19c8b5c407781c72e493aae55a", size = 262500, upload-time = "2026-08-15T08:19:30.955Z" }, + { url = "https://files.pythonhosted.org/packages/55/66/3bb56a47f7dcba014055b1a1d33c6f08bbe9c1e74dba154cfa25f90ae885/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:19a3dd5aa73cef1c99687c4fc57db016a9c17104ae1185da88ba566a5d3bebe4", size = 258888, upload-time = "2026-08-15T08:19:32.458Z" }, + { url = "https://files.pythonhosted.org/packages/ff/c1/2adc2800903fb013210349313b710a5376856578d9e33e6b9a1d8b36714a/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cc5d36d96478aa9c60654bd932525bf32964c62a7281eafdf16d85003a8d6004", size = 250243, upload-time = "2026-08-15T08:19:33.94Z" }, + { url = "https://files.pythonhosted.org/packages/95/b5/a18d0dd1157ab655cc2cb14a545f4a4784bbad70ab3502412e36097502d9/charset_normalizer-3.5.1-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:04368edf83514385ffc3e1cfd4546e595f4f1272dd23ba437a93a9cc3741d47b", size = 249871, upload-time = "2026-08-15T08:19:35.413Z" }, + { url = "https://files.pythonhosted.org/packages/ad/c3/525f508cd1e58d0450ac55ed40ac75bc3a97482c59def5278456a5fbf03c/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:9b5db6052055d34d41230fb78d7c439c23dc536a9896f6cb039e8dd92cfc1263", size = 243580, upload-time = "2026-08-15T08:19:36.886Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c1/49a91fe7e97c8140094ca5c64161ab623a70d9f636bf834eace14048acb5/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:252d099029bcbea642f2a06c4ed5046bdf8b5a8150b64afa5e027e88b106e5ee", size = 239807, upload-time = "2026-08-15T08:19:38.392Z" }, + { url = "https://files.pythonhosted.org/packages/d3/58/56a48c296601274c4689b864a8e2dfb209b81dfcb39472753ce95eea662b/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:6199d5606e2bbf2b096cf64d03f8b6790c91081d5ac866b8e7bb6422738cc60c", size = 264083, upload-time = "2026-08-15T08:19:39.856Z" }, + { url = "https://files.pythonhosted.org/packages/10/4c/dc48409274a1817ff349711d26c62aa0c597df865d4d69ef79160c859193/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:77efcff2b23071c349402ac1066667a3d011f62398d81408c9b88ad991747c9e", size = 250317, upload-time = "2026-08-15T08:19:41.53Z" }, + { url = "https://files.pythonhosted.org/packages/81/58/d325912115caec62d6bdd77bbab5e0b7da5d234a9f20affdffcbcb530d0b/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:a5cbd90ecf0fc62e64726917ad083b73001f0563657a87ec3c0b504e277dc90d", size = 258173, upload-time = "2026-08-15T08:19:43.07Z" }, + { url = "https://files.pythonhosted.org/packages/34/f7/b13b1ccae2c8ec63980d13be1890eb73f8aeabbfce02a24aabc0908788f5/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:4d26f14f041e83dd8edfd61f4cd4fa7285d31798b5bf1f28e70c367ba6c41d61", size = 251960, upload-time = "2026-08-15T08:19:44.587Z" }, + { url = "https://files.pythonhosted.org/packages/1e/25/ed3f9919c5aef8cc818be1f972f565f7610d7b2076b8ebb98839516ffc3c/charset_normalizer-3.5.1-cp315-cp315t-win32.whl", hash = "sha256:ac13b004224fb341e1e25a1ed5e19d32f57cdb2a403e01f003b46f051a550f6f", size = 191186, upload-time = "2026-08-15T08:19:46.293Z" }, + { url = "https://files.pythonhosted.org/packages/69/d5/43c2b3e9d8267092b913eb8b0603f0f71993c395632886bd37a7223f96cf/charset_normalizer-3.5.1-cp315-cp315t-win_amd64.whl", hash = "sha256:35aea775dc2bd5f54cd84a1cd2696cc3207c479cb9cf0bd346f0d343e4300ddb", size = 215947, upload-time = "2026-08-15T08:19:47.853Z" }, + { url = "https://files.pythonhosted.org/packages/a8/76/9aad3e9c8865e5e0efa9a7f6f81c37a67635a985145ecd44528a81e088ee/charset_normalizer-3.5.1-cp315-cp315t-win_arm64.whl", hash = "sha256:fb78f6e7fcd8ad785d28cd577168bc1aaee827b25bb8755638f694794ea98f0a", size = 193909, upload-time = "2026-08-15T08:19:49.383Z" }, + { url = "https://files.pythonhosted.org/packages/5b/97/fb4e82231aba271ffd775a1b4993b0defc4e3059f286ae41d9433409fe85/charset_normalizer-3.5.1-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:41876ee62a3dddf48ff1121ad8f0798032aa03f2fd35f21f34a4cab14f18d8d2", size = 331467, upload-time = "2026-08-15T08:19:50.959Z" }, + { url = "https://files.pythonhosted.org/packages/9f/2f/fe3f187327aac18e2d54e9d2b08e15d27bf9b642d9e51c219f130fc34d1a/charset_normalizer-3.5.1-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a6dac12ff6b846103483683f60c5f8fee205121adc58ffd87e90a90a3af69e99", size = 253057, upload-time = "2026-08-15T08:19:52.654Z" }, + { url = "https://files.pythonhosted.org/packages/d7/c7/9e48cee5c161fe24da823b61bf381921d77cb994a0a4de148e95018c1984/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cee5dd7c6fb5dd52a0fe2a740f9bc6e3593f5f8b1788bde49de02086f30182b2", size = 240930, upload-time = "2026-08-15T08:19:54.163Z" }, + { url = "https://files.pythonhosted.org/packages/49/e0/716601f3cc69be7b198951150c75ead1ece33c3c8036ff6ffa46029659a0/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:343fb4f2821043bd87095f7b08a1a181febc8e36ac64212143bbfd0a0e1bc235", size = 230822, upload-time = "2026-08-15T08:19:55.807Z" }, + { url = "https://files.pythonhosted.org/packages/d3/05/71bfc5caa0abcc45aea1f6a4d50ac68e59605ddc7666fe8494f4cd229665/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ae4a097991662cd4fff0ddc74e0fe7874f82e00042fa0ea00855645ed0c79598", size = 260037, upload-time = "2026-08-15T08:19:57.312Z" }, + { url = "https://files.pythonhosted.org/packages/c3/92/de7e32ed05341e7a9c4c877c318418197b7f2d66a3b68d561bf2ac57ca3e/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4b599739b93b2cbeded49645ae3c8d1405c29ddfbceac1545c87a3f9580a9e96", size = 255097, upload-time = "2026-08-15T08:19:59.056Z" }, + { url = "https://files.pythonhosted.org/packages/f5/7b/ade0a122600319dfa0b1000ab0f9731c94a817904cf3c5de408c73a4ede7/charset_normalizer-3.5.1-cp37-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b39b69b347e5e47a3b5b8cfc005c68c1ba347474e3960236c4944a8ecd174962", size = 250166, upload-time = "2026-08-15T08:20:00.612Z" }, + { url = "https://files.pythonhosted.org/packages/75/9c/019fbb9f4834491a160951349b1a3714439376f66e5f7cf18b4f18f0c7aa/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:a2028475ba855475b8b4d3cfeb4994269c967aea8b9892dfba907f4263a863a3", size = 241821, upload-time = "2026-08-15T08:20:02.321Z" }, + { url = "https://files.pythonhosted.org/packages/2b/b8/11d4840bfc99330cc7fbcc2681ee5a044553a6e77655508d8f9b2bff7b34/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:36047af20e17097c3bb9476c2b7655f2f7aa51322c0ba58c07695bedf755a950", size = 232529, upload-time = "2026-08-15T08:20:04.008Z" }, + { url = "https://files.pythonhosted.org/packages/18/96/2b3a21492d9f65171ac75d872f5018260013d00bfa0ff70ec9f179148cbd/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:4c4fb141a727957c93edfe5c32a26ceb6b5f6461d67146e2d39f51e16170bea8", size = 260348, upload-time = "2026-08-15T08:20:05.877Z" }, + { url = "https://files.pythonhosted.org/packages/d6/aa/a69a2028e8bd052476c245460ab19d7de595de084dd968f2d75cd50c3e25/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:2f293479cce755c75f1697e87c409b7ae4c555c7dfecb6e988ad13abba943031", size = 247234, upload-time = "2026-08-15T08:20:07.487Z" }, + { url = "https://files.pythonhosted.org/packages/35/8a/3d130aeabcaf3d2466af76b7b141c08d9e89c9016ab4b7cdd0f7dc2d1c62/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_s390x.whl", hash = "sha256:3588e376b3ea2eea84976f67273d679f229e24c66dce7b82ae45aef04ff6e072", size = 256917, upload-time = "2026-08-15T08:20:09.142Z" }, + { url = "https://files.pythonhosted.org/packages/80/c2/a7379b840292d0c1ab9fbd17d1f3967aa81794dc95bc74be8999d7fedcf7/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e199fb99720074809a7720f1c0b4d919eea8b87e88713e0f8f602f7bef543d9d", size = 254846, upload-time = "2026-08-15T08:20:10.727Z" }, + { url = "https://files.pythonhosted.org/packages/01/65/d43b714731bb2f40d4053dfa00ecfc1c5a301f8e3316c5db3a09af59fe94/charset_normalizer-3.5.1-cp37-abi3-win32.whl", hash = "sha256:dd732602a7009217f658d5863d12d79d373a4de0eebc111094bcdd3bb8e0a6cc", size = 174216, upload-time = "2026-08-15T08:20:12.334Z" }, + { url = "https://files.pythonhosted.org/packages/35/4f/b911ed898b26a09789eba9c9200c999aff6c61b4bafaf4838e56d1a1e1a3/charset_normalizer-3.5.1-cp37-abi3-win_amd64.whl", hash = "sha256:70055ff39b97c99e7ae40ea3e393fb62aa2e44dbd9b29f8d14f42fb0025c3959", size = 199764, upload-time = "2026-08-15T08:20:13.908Z" }, + { url = "https://files.pythonhosted.org/packages/f0/a7/920baf467bfd9bf689f3b318340f37aee4572a71f162bd8db51da55ba4fa/charset_normalizer-3.5.1-cp37-abi3-win_arm64.whl", hash = "sha256:87e4f41d375c0b9be2fb5251aee4b8a689169e134535aed81bf085c3b647451e", size = 287318, upload-time = "2026-08-15T08:20:15.551Z" }, + { url = "https://files.pythonhosted.org/packages/cc/61/d01fc49b8dea277640b55a9e15960dbca9fdc8c9fde18e572d39c59f4019/charset_normalizer-3.5.1-py3-none-any.whl", hash = "sha256:6df0ec430f9a831772c23ca5a224cba36517a58a84bb32c32bb59a9fa67c47f6", size = 68658, upload-time = "2026-08-15T08:20:43.306Z" }, +] + +[[package]] +name = "cryptography" +version = "45.0.7" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.13'", +] +dependencies = [ + { name = "cffi", marker = "python_full_version < '3.13' and platform_python_implementation != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a7/35/c495bffc2056f2dadb32434f1feedd79abde2a7f8363e1974afa9c33c7e2/cryptography-45.0.7.tar.gz", hash = "sha256:4b1654dfc64ea479c242508eb8c724044f1e964a47d1d1cacc5132292d851971", size = 744980, upload-time = "2025-09-01T11:15:03.146Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/91/925c0ac74362172ae4516000fe877912e33b5983df735ff290c653de4913/cryptography-45.0.7-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:3be4f21c6245930688bd9e162829480de027f8bf962ede33d4f8ba7d67a00cee", size = 7041105, upload-time = "2025-09-01T11:13:59.684Z" }, + { url = "https://files.pythonhosted.org/packages/fc/63/43641c5acce3a6105cf8bd5baeceeb1846bb63067d26dae3e5db59f1513a/cryptography-45.0.7-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:67285f8a611b0ebc0857ced2081e30302909f571a46bfa7a3cc0ad303fe015c6", size = 4205799, upload-time = "2025-09-01T11:14:02.517Z" }, + { url = "https://files.pythonhosted.org/packages/bc/29/c238dd9107f10bfde09a4d1c52fd38828b1aa353ced11f358b5dd2507d24/cryptography-45.0.7-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:577470e39e60a6cd7780793202e63536026d9b8641de011ed9d8174da9ca5339", size = 4430504, upload-time = "2025-09-01T11:14:04.522Z" }, + { url = "https://files.pythonhosted.org/packages/62/62/24203e7cbcc9bd7c94739428cd30680b18ae6b18377ae66075c8e4771b1b/cryptography-45.0.7-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:4bd3e5c4b9682bc112d634f2c6ccc6736ed3635fc3319ac2bb11d768cc5a00d8", size = 4209542, upload-time = "2025-09-01T11:14:06.309Z" }, + { url = "https://files.pythonhosted.org/packages/cd/e3/e7de4771a08620eef2389b86cd87a2c50326827dea5528feb70595439ce4/cryptography-45.0.7-cp311-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:465ccac9d70115cd4de7186e60cfe989de73f7bb23e8a7aa45af18f7412e75bf", size = 3889244, upload-time = "2025-09-01T11:14:08.152Z" }, + { url = "https://files.pythonhosted.org/packages/96/b8/bca71059e79a0bb2f8e4ec61d9c205fbe97876318566cde3b5092529faa9/cryptography-45.0.7-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:16ede8a4f7929b4b7ff3642eba2bf79aa1d71f24ab6ee443935c0d269b6bc513", size = 4461975, upload-time = "2025-09-01T11:14:09.755Z" }, + { url = "https://files.pythonhosted.org/packages/58/67/3f5b26937fe1218c40e95ef4ff8d23c8dc05aa950d54200cc7ea5fb58d28/cryptography-45.0.7-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:8978132287a9d3ad6b54fcd1e08548033cc09dc6aacacb6c004c73c3eb5d3ac3", size = 4209082, upload-time = "2025-09-01T11:14:11.229Z" }, + { url = "https://files.pythonhosted.org/packages/0e/e4/b3e68a4ac363406a56cf7b741eeb80d05284d8c60ee1a55cdc7587e2a553/cryptography-45.0.7-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:b6a0e535baec27b528cb07a119f321ac024592388c5681a5ced167ae98e9fff3", size = 4460397, upload-time = "2025-09-01T11:14:12.924Z" }, + { url = "https://files.pythonhosted.org/packages/22/49/2c93f3cd4e3efc8cb22b02678c1fad691cff9dd71bb889e030d100acbfe0/cryptography-45.0.7-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:a24ee598d10befaec178efdff6054bc4d7e883f615bfbcd08126a0f4931c83a6", size = 4337244, upload-time = "2025-09-01T11:14:14.431Z" }, + { url = "https://files.pythonhosted.org/packages/04/19/030f400de0bccccc09aa262706d90f2ec23d56bc4eb4f4e8268d0ddf3fb8/cryptography-45.0.7-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:fa26fa54c0a9384c27fcdc905a2fb7d60ac6e47d14bc2692145f2b3b1e2cfdbd", size = 4568862, upload-time = "2025-09-01T11:14:16.185Z" }, + { url = "https://files.pythonhosted.org/packages/29/56/3034a3a353efa65116fa20eb3c990a8c9f0d3db4085429040a7eef9ada5f/cryptography-45.0.7-cp311-abi3-win32.whl", hash = "sha256:bef32a5e327bd8e5af915d3416ffefdbe65ed975b646b3805be81b23580b57b8", size = 2936578, upload-time = "2025-09-01T11:14:17.638Z" }, + { url = "https://files.pythonhosted.org/packages/b3/61/0ab90f421c6194705a99d0fa9f6ee2045d916e4455fdbb095a9c2c9a520f/cryptography-45.0.7-cp311-abi3-win_amd64.whl", hash = "sha256:3808e6b2e5f0b46d981c24d79648e5c25c35e59902ea4391a0dcb3e667bf7443", size = 3405400, upload-time = "2025-09-01T11:14:18.958Z" }, + { url = "https://files.pythonhosted.org/packages/63/e8/c436233ddf19c5f15b25ace33979a9dd2e7aa1a59209a0ee8554179f1cc0/cryptography-45.0.7-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:bfb4c801f65dd61cedfc61a83732327fafbac55a47282e6f26f073ca7a41c3b2", size = 7021824, upload-time = "2025-09-01T11:14:20.954Z" }, + { url = "https://files.pythonhosted.org/packages/bc/4c/8f57f2500d0ccd2675c5d0cc462095adf3faa8c52294ba085c036befb901/cryptography-45.0.7-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:81823935e2f8d476707e85a78a405953a03ef7b7b4f55f93f7c2d9680e5e0691", size = 4202233, upload-time = "2025-09-01T11:14:22.454Z" }, + { url = "https://files.pythonhosted.org/packages/eb/ac/59b7790b4ccaed739fc44775ce4645c9b8ce54cbec53edf16c74fd80cb2b/cryptography-45.0.7-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3994c809c17fc570c2af12c9b840d7cea85a9fd3e5c0e0491f4fa3c029216d59", size = 4423075, upload-time = "2025-09-01T11:14:24.287Z" }, + { url = "https://files.pythonhosted.org/packages/b8/56/d4f07ea21434bf891faa088a6ac15d6d98093a66e75e30ad08e88aa2b9ba/cryptography-45.0.7-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:dad43797959a74103cb59c5dac71409f9c27d34c8a05921341fb64ea8ccb1dd4", size = 4204517, upload-time = "2025-09-01T11:14:25.679Z" }, + { url = "https://files.pythonhosted.org/packages/e8/ac/924a723299848b4c741c1059752c7cfe09473b6fd77d2920398fc26bfb53/cryptography-45.0.7-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:ce7a453385e4c4693985b4a4a3533e041558851eae061a58a5405363b098fcd3", size = 3882893, upload-time = "2025-09-01T11:14:27.1Z" }, + { url = "https://files.pythonhosted.org/packages/83/dc/4dab2ff0a871cc2d81d3ae6d780991c0192b259c35e4d83fe1de18b20c70/cryptography-45.0.7-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:b04f85ac3a90c227b6e5890acb0edbaf3140938dbecf07bff618bf3638578cf1", size = 4450132, upload-time = "2025-09-01T11:14:28.58Z" }, + { url = "https://files.pythonhosted.org/packages/12/dd/b2882b65db8fc944585d7fb00d67cf84a9cef4e77d9ba8f69082e911d0de/cryptography-45.0.7-cp37-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:48c41a44ef8b8c2e80ca4527ee81daa4c527df3ecbc9423c41a420a9559d0e27", size = 4204086, upload-time = "2025-09-01T11:14:30.572Z" }, + { url = "https://files.pythonhosted.org/packages/5d/fa/1d5745d878048699b8eb87c984d4ccc5da4f5008dfd3ad7a94040caca23a/cryptography-45.0.7-cp37-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:f3df7b3d0f91b88b2106031fd995802a2e9ae13e02c36c1fc075b43f420f3a17", size = 4449383, upload-time = "2025-09-01T11:14:32.046Z" }, + { url = "https://files.pythonhosted.org/packages/36/8b/fc61f87931bc030598e1876c45b936867bb72777eac693e905ab89832670/cryptography-45.0.7-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:dd342f085542f6eb894ca00ef70236ea46070c8a13824c6bde0dfdcd36065b9b", size = 4332186, upload-time = "2025-09-01T11:14:33.95Z" }, + { url = "https://files.pythonhosted.org/packages/0b/11/09700ddad7443ccb11d674efdbe9a832b4455dc1f16566d9bd3834922ce5/cryptography-45.0.7-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:1993a1bb7e4eccfb922b6cd414f072e08ff5816702a0bdb8941c247a6b1b287c", size = 4561639, upload-time = "2025-09-01T11:14:35.343Z" }, + { url = "https://files.pythonhosted.org/packages/71/ed/8f4c1337e9d3b94d8e50ae0b08ad0304a5709d483bfcadfcc77a23dbcb52/cryptography-45.0.7-cp37-abi3-win32.whl", hash = "sha256:18fcf70f243fe07252dcb1b268a687f2358025ce32f9f88028ca5c364b123ef5", size = 2926552, upload-time = "2025-09-01T11:14:36.929Z" }, + { url = "https://files.pythonhosted.org/packages/bc/ff/026513ecad58dacd45d1d24ebe52b852165a26e287177de1d545325c0c25/cryptography-45.0.7-cp37-abi3-win_amd64.whl", hash = "sha256:7285a89df4900ed3bfaad5679b1e668cb4b38a8de1ccbfc84b05f34512da0a90", size = 3392742, upload-time = "2025-09-01T11:14:38.368Z" }, + { url = "https://files.pythonhosted.org/packages/13/3e/e42f1528ca1ea82256b835191eab1be014e0f9f934b60d98b0be8a38ed70/cryptography-45.0.7-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:de58755d723e86175756f463f2f0bddd45cc36fbd62601228a3f8761c9f58252", size = 3572442, upload-time = "2025-09-01T11:14:39.836Z" }, + { url = "https://files.pythonhosted.org/packages/59/aa/e947693ab08674a2663ed2534cd8d345cf17bf6a1facf99273e8ec8986dc/cryptography-45.0.7-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:a20e442e917889d1a6b3c570c9e3fa2fdc398c20868abcea268ea33c024c4083", size = 4142233, upload-time = "2025-09-01T11:14:41.305Z" }, + { url = "https://files.pythonhosted.org/packages/24/06/09b6f6a2fc43474a32b8fe259038eef1500ee3d3c141599b57ac6c57612c/cryptography-45.0.7-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:258e0dff86d1d891169b5af222d362468a9570e2532923088658aa866eb11130", size = 4376202, upload-time = "2025-09-01T11:14:43.047Z" }, + { url = "https://files.pythonhosted.org/packages/00/f2/c166af87e95ce6ae6d38471a7e039d3a0549c2d55d74e059680162052824/cryptography-45.0.7-pp310-pypy310_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:d97cf502abe2ab9eff8bd5e4aca274da8d06dd3ef08b759a8d6143f4ad65d4b4", size = 4141900, upload-time = "2025-09-01T11:14:45.089Z" }, + { url = "https://files.pythonhosted.org/packages/16/b9/e96e0b6cb86eae27ea51fa8a3151535a18e66fe7c451fa90f7f89c85f541/cryptography-45.0.7-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:c987dad82e8c65ebc985f5dae5e74a3beda9d0a2a4daf8a1115f3772b59e5141", size = 4375562, upload-time = "2025-09-01T11:14:47.166Z" }, + { url = "https://files.pythonhosted.org/packages/36/d0/36e8ee39274e9d77baf7d0dafda680cba6e52f3936b846f0d56d64fec915/cryptography-45.0.7-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:c13b1e3afd29a5b3b2656257f14669ca8fa8d7956d509926f0b130b600b50ab7", size = 3322781, upload-time = "2025-09-01T11:14:48.747Z" }, + { url = "https://files.pythonhosted.org/packages/99/4e/49199a4c82946938a3e05d2e8ad9482484ba48bbc1e809e3d506c686d051/cryptography-45.0.7-pp311-pypy311_pp73-macosx_10_9_x86_64.whl", hash = "sha256:4a862753b36620af6fc54209264f92c716367f2f0ff4624952276a6bbd18cbde", size = 3584634, upload-time = "2025-09-01T11:14:50.593Z" }, + { url = "https://files.pythonhosted.org/packages/16/ce/5f6ff59ea9c7779dba51b84871c19962529bdcc12e1a6ea172664916c550/cryptography-45.0.7-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:06ce84dc14df0bf6ea84666f958e6080cdb6fe1231be2a51f3fc1267d9f3fb34", size = 4149533, upload-time = "2025-09-01T11:14:52.091Z" }, + { url = "https://files.pythonhosted.org/packages/ce/13/b3cfbd257ac96da4b88b46372e662009b7a16833bfc5da33bb97dd5631ae/cryptography-45.0.7-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:d0c5c6bac22b177bf8da7435d9d27a6834ee130309749d162b26c3105c0795a9", size = 4385557, upload-time = "2025-09-01T11:14:53.551Z" }, + { url = "https://files.pythonhosted.org/packages/1c/c5/8c59d6b7c7b439ba4fc8d0cab868027fd095f215031bc123c3a070962912/cryptography-45.0.7-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:2f641b64acc00811da98df63df7d59fd4706c0df449da71cb7ac39a0732b40ae", size = 4149023, upload-time = "2025-09-01T11:14:55.022Z" }, + { url = "https://files.pythonhosted.org/packages/55/32/05385c86d6ca9ab0b4d5bb442d2e3d85e727939a11f3e163fc776ce5eb40/cryptography-45.0.7-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:f5414a788ecc6ee6bc58560e85ca624258a55ca434884445440a810796ea0e0b", size = 4385722, upload-time = "2025-09-01T11:14:57.319Z" }, + { url = "https://files.pythonhosted.org/packages/23/87/7ce86f3fa14bc11a5a48c30d8103c26e09b6465f8d8e9d74cf7a0714f043/cryptography-45.0.7-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:1f3d56f73595376f4244646dd5c5870c14c196949807be39e79e7bd9bac3da63", size = 3332908, upload-time = "2025-09-01T11:14:58.78Z" }, +] + +[[package]] +name = "cryptography" +version = "50.0.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.14'", + "python_full_version == '3.13.*'", +] +dependencies = [ + { name = "cffi", marker = "python_full_version >= '3.13' and platform_python_implementation != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/de/41/6cbdcf9142d00fe82836fbb51e503e58088575cf7a0fe1dbff6695bf0840/cryptography-50.0.0.tar.gz", hash = "sha256:eeac2acb5a20ed25e0ad6d1df9891a520b78b404266b6d11778f25d5d691a6c9", size = 880201, upload-time = "2026-07-31T14:25:10.11Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c5/5c/59086b4aac5e879d38ddbcf74e4be7ade89cebc3eb199a55da998c3bb46a/cryptography-50.0.0-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:031e2d5dd4bb9caa3ca9c82e5a197fd8ae680232cee62603d1a813f3f07e3d03", size = 4001252, upload-time = "2026-07-31T14:23:33.331Z" }, + { url = "https://files.pythonhosted.org/packages/57/ef/8f2df13c7216bcad3e1c74e07f6e193d93e998e114f524a53877c9af27ad/cryptography-50.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fd9192b7b70c573d7f214eb1ae35e00d359f6f5e4b27c7e21e30de1fc6204645", size = 4719554, upload-time = "2026-07-31T14:23:35.611Z" }, + { url = "https://files.pythonhosted.org/packages/d9/41/029086c34d91052fc3b88bcc8056f709a7c915c7a23b235a54eb800b1c97/cryptography-50.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:06a32a980526a6ab9a4b9bf8f7385800791e2bb960903cb6b530e4817509a3b7", size = 4702130, upload-time = "2026-07-31T14:23:37.635Z" }, + { url = "https://files.pythonhosted.org/packages/7d/ff/b6ce0954962e7f7b969f850a883744197bb3910bdfd7b6da162eab7d9f68/cryptography-50.0.0-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:a1b30560f2acc95aa8b2e06e716a13dbfc97314747b80d9707e307f77b40d6b3", size = 4725244, upload-time = "2026-07-31T14:23:39.471Z" }, + { url = "https://files.pythonhosted.org/packages/06/1e/63a1027cb7fec360a182208e1b7767d5aa1fe57be3d6aa856e69a321edc0/cryptography-50.0.0-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:8d89f3976b10b4ce31118de72329025f70d2c6ead14a8217c5514dd2c6d5a78f", size = 5342265, upload-time = "2026-07-31T14:23:41.286Z" }, + { url = "https://files.pythonhosted.org/packages/6b/72/a1116d683a6d7ece94590013882515de087edf9ef0e6292aae615a44df73/cryptography-50.0.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:b42a28c1844fd9de8f3f7d540e36b66f3a9c83fceac7170ebc7a6a19edd9dcae", size = 4734609, upload-time = "2026-07-31T14:23:43.139Z" }, + { url = "https://files.pythonhosted.org/packages/15/37/36a9c479bbe49acea2636c7fd3360d20f7b7e079c300352011c44850b181/cryptography-50.0.0-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:900131fafd8aead39ac7dd3a7e833be754c17a95cfd91221636949fe4eb0aa8a", size = 4356517, upload-time = "2026-07-31T14:23:44.939Z" }, + { url = "https://files.pythonhosted.org/packages/32/98/8a151d64367204cbc63ec65d37502f1d9c53cf4bfc6ec3c532614dbec60d/cryptography-50.0.0-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:07949c449a1abcf60d1ee6e88956d89404c7df3c8258f46589e912988e551987", size = 4724529, upload-time = "2026-07-31T14:23:46.93Z" }, + { url = "https://files.pythonhosted.org/packages/22/f6/ec13b470172126464a86bf54d2294a46d29837fc51ba3e45d4047946fb5e/cryptography-50.0.0-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:f89831ef99dd7dd169ab06d63a831adb9e20a87aac6d380266bbda5823349169", size = 5299852, upload-time = "2026-07-31T14:23:48.851Z" }, + { url = "https://files.pythonhosted.org/packages/da/3a/f05e32c99d440c9bb891ea0e36c9091891e36be5a9a87ab2ee6ea20729f6/cryptography-50.0.0-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:82148ec5bddac30b51a5b3c1945075f896fa022cb93f8e4a01e9f6ee95292c5f", size = 4734462, upload-time = "2026-07-31T14:23:50.861Z" }, + { url = "https://files.pythonhosted.org/packages/ca/dc/bd72b26be8953f80625f63151efd38eee71c76ca6cf591c08ff34615a79e/cryptography-50.0.0-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1489e263a8048bb8b6a8bac662eb2d402ea5d2b7b4699b72f385f1e2772db105", size = 4852708, upload-time = "2026-07-31T14:23:52.715Z" }, + { url = "https://files.pythonhosted.org/packages/27/20/c930314a2ab476d15dec966ec87e2e9637bb02b06106b12c0396c57bb603/cryptography-50.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:7cec5b856506da6defb290f30c9ee687d5f5e8cb0bd3f6459dde43b0b4fa40ef", size = 5004179, upload-time = "2026-07-31T14:23:54.887Z" }, + { url = "https://files.pythonhosted.org/packages/32/2e/c9db68a0c4bfa28e310707527c0ee3a2bd254104d2e02e68f368e197aa4c/cryptography-50.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:bd1c592e4d5974f0d08d4888e432157adba757c66da0246918e43677fafa2d30", size = 3840395, upload-time = "2026-07-31T14:23:56.677Z" }, + { url = "https://files.pythonhosted.org/packages/c3/fb/951032a3bf22a5697c83183fb6294a4843772947a70e616c57b3ff5f522e/cryptography-50.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:49e7d93abdbd2990caced757e5fade25302f719c3c8fb6e6fff2dde98999fc41", size = 3989258, upload-time = "2026-07-31T14:23:58.881Z" }, + { url = "https://files.pythonhosted.org/packages/d4/67/91eb047e69c5e845f2f14b8a2e4a1aab0f283cb885531e9e22c8adb176bc/cryptography-50.0.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:19736989797678c6af1e55cd49055cdbcb55d8f6b5583ac5335f933aba9101dc", size = 4700648, upload-time = "2026-07-31T14:24:00.702Z" }, + { url = "https://files.pythonhosted.org/packages/30/82/85f0f7425c856b9f96459411eb12e74ef72df9caf6f8f15bf23a33ff131f/cryptography-50.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:80b63928fa35083b33966ce1efb70e5b9607181e49dcd1c22c8c005e319f667f", size = 4682442, upload-time = "2026-07-31T14:24:02.538Z" }, + { url = "https://files.pythonhosted.org/packages/1a/28/b555a365adff1cca2fbe7b9e487d68a40de6bc67ff2cb587473eb43de0e7/cryptography-50.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:d58c3db7cd6eed54e6c06744db55456b65ebd7492ddeae9c1e93cfca7aa857d3", size = 4707596, upload-time = "2026-07-31T14:24:04.394Z" }, + { url = "https://files.pythonhosted.org/packages/72/d8/f52538140cc719df62a01cf87d1c7142318d235817109d6f4054d7c352d6/cryptography-50.0.0-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:df2a58a472f332225671c35b0a830208b86d004f82baa8530fa3782c85646533", size = 5314552, upload-time = "2026-07-31T14:24:06.31Z" }, + { url = "https://files.pythonhosted.org/packages/38/14/6120e5bd7c5aa022ad15424ba4d5c5269d0d9448ed4d55e492ea91e3c1c4/cryptography-50.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:11b74db56cdbe3cdee6e3f6982ecb70334fa10dce99ed58bf7894aaaa3b2a037", size = 4717113, upload-time = "2026-07-31T14:24:08.349Z" }, + { url = "https://files.pythonhosted.org/packages/fa/71/190bf38c3ee2e0f8efc9860ae100c9df4169742eef274b91e7aa1cb133b9/cryptography-50.0.0-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:f59e38625469987d7ef6d495323c55e7db6c212eaf6112267e0d3b565a2e9c9f", size = 4338580, upload-time = "2026-07-31T14:24:10.227Z" }, + { url = "https://files.pythonhosted.org/packages/3a/63/504ccfbbe61fd8aa983f7f146399cdf034c72c2fc55f5b2dfdcdcdb20c99/cryptography-50.0.0-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:ecfed7367f965a0328cfbdd70da860f15441f002f613185668c6e6ebf5a0ac11", size = 4707038, upload-time = "2026-07-31T14:24:12.169Z" }, + { url = "https://files.pythonhosted.org/packages/01/77/2cf79bbfc4d12ca106437a6e170d6aaa01a373e93093118aaaef0e801bd4/cryptography-50.0.0-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:9aa87839c383bdbab6ef865787a1fb877af8dd03464c4400322726feaaadfc6d", size = 5273110, upload-time = "2026-07-31T14:24:14.38Z" }, + { url = "https://files.pythonhosted.org/packages/e5/45/8aae2972c520145377ea3559a605a899bebe227bf070b33cdb445929a9b9/cryptography-50.0.0-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:6ba6a53445bd3cfa809ef3ef5f1589aa6ba08784a1d962bf47d0940e871dab1c", size = 4716439, upload-time = "2026-07-31T14:24:16.415Z" }, + { url = "https://files.pythonhosted.org/packages/7b/20/4fe50b619a48c2525cc46e2dbc1ac490708d704be5d467bdaac6dc955682/cryptography-50.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:3f5735ffe4996d28b809371756219f5354864902a3b9e7c0b9ee87041209fc9c", size = 4837383, upload-time = "2026-07-31T14:24:18.553Z" }, + { url = "https://files.pythonhosted.org/packages/92/91/3a31366e183343d3703f8995c095f5734676bd6938118047e50fcf279eb4/cryptography-50.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:1b4a266766514614f8aa60416e71f2fc6e575d36e7bdc90f644fadb2f4b75b95", size = 4985772, upload-time = "2026-07-31T14:24:20.385Z" }, + { url = "https://files.pythonhosted.org/packages/74/9a/02ffe35b2853d121689871eb5dce862092562b3a1ed5cc98f1aaed441506/cryptography-50.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:12b9c6996425c76ea6c457ace4f3073e715b8c545add07cd1a8f3a4f90691269", size = 3816291, upload-time = "2026-07-31T14:24:22.125Z" }, + { url = "https://files.pythonhosted.org/packages/03/37/73d005be173aff344af30e9fd2a576575cb2391a7101d9cd3842e1fa8cce/cryptography-50.0.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:ccdc4a71a4dabae05de219404f9f4abc38e3b58422177ff93d0da05967dafa07", size = 4036009, upload-time = "2026-07-31T14:24:24.122Z" }, + { url = "https://files.pythonhosted.org/packages/ff/c6/7a6202a534e32103a285b7834a120869557fe198d51d7cfe59754c8bda9c/cryptography-50.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:910e1d2668e7de9648f2bcee30e180db2a6b15c30f887d7c4c93ddf96e3992e3", size = 4745252, upload-time = "2026-07-31T14:24:26.118Z" }, + { url = "https://files.pythonhosted.org/packages/85/4f/0fa8c2f4428198f15d9ff8d63400e27afbf94ce833f6108da1eb3753f945/cryptography-50.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a91296cb61e8df6f86d0c19cc4068228da256bf59bf86049fbd821084565327f", size = 4728939, upload-time = "2026-07-31T14:24:27.994Z" }, + { url = "https://files.pythonhosted.org/packages/d1/63/54dd723490ba2dc09b299682c10b38db38f159728bcaae8c591b8af2f22d/cryptography-50.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:e722f16708d854fe924790e051061f6704a472c3bac347b6fd88033ea8dd0dc5", size = 4748483, upload-time = "2026-07-31T14:24:30.254Z" }, + { url = "https://files.pythonhosted.org/packages/1d/dd/7c77d26285cc7f6991efce64a0f5b4f9383bfa5dd8c5033003eaf7db4cdb/cryptography-50.0.0-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:d764dcf130c428ef66786f866dd750f53182bc608813489915e9fc106bb0c82f", size = 5367599, upload-time = "2026-07-31T14:24:32.457Z" }, + { url = "https://files.pythonhosted.org/packages/46/c9/f60aed34c013f317f92817b6c171c2d22a78270fa41109bd4b08af26b194/cryptography-50.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:105110f43a471dbd0060b9c9516cb8a6a79233631a04cc2ba16f28323ac6e025", size = 4762647, upload-time = "2026-07-31T14:24:34.599Z" }, + { url = "https://files.pythonhosted.org/packages/be/f3/f9a0173b139372c3a48ed98154b45cc6b9de17c789d5ab552e621c293609/cryptography-50.0.0-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:828743d939e9629bc267b8e2d08d8bb67cd4319c771a33d4b18b22dd8fb7440a", size = 4385197, upload-time = "2026-07-31T14:24:36.647Z" }, + { url = "https://files.pythonhosted.org/packages/d8/36/83bb81f6e569bc38e1e4a7bc80f29b46bb9601920bc455fc8e888f5d5742/cryptography-50.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:2a8183b489dc1f7f80f135780fadc1108f14b31b8a40411c7a5b17425f65f28b", size = 4748095, upload-time = "2026-07-31T14:24:39.493Z" }, + { url = "https://files.pythonhosted.org/packages/6b/16/d3008eff98c764979865834c3d386d4fd041b5f52e7f34fc29ac1a5eb515/cryptography-50.0.0-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:6e7d61120573a7f2cd94cc095f9e81f6967c61ccdf194285aa143ecec8e0b708", size = 5325948, upload-time = "2026-07-31T14:24:41.556Z" }, + { url = "https://files.pythonhosted.org/packages/9c/f8/d97f9603efda3888187bfdb893f26c41be4735c10631d05d284ee6b047c4/cryptography-50.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:37fdb0d0111f1e2ff07139dfb79f1b49531f8e213c46f1163dd7642979b58c47", size = 4762400, upload-time = "2026-07-31T14:24:43.636Z" }, + { url = "https://files.pythonhosted.org/packages/64/a2/4615c8f7d81a00b1d6e6afe19f694e1543582349fb5f4076f6cb5dc36485/cryptography-50.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c87f62a3d3b9888ed0fdde100ec06aa61ca9cd44bad9057d1dff9a516b5f5bb9", size = 4878208, upload-time = "2026-07-31T14:24:45.522Z" }, + { url = "https://files.pythonhosted.org/packages/d2/1a/efcfb02f91407149a0dacffffab791f7e19bf6385f63b3666dc8b5e5c9c8/cryptography-50.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:65c2c3add92b45fd0709db8594536aea39c2a67af0e27ffcf049c498501140b7", size = 5037050, upload-time = "2026-07-31T14:24:47.697Z" }, + { url = "https://files.pythonhosted.org/packages/57/30/4a22984d4f1bdfb8c054f07a92bc176b97a3134cc1d6c4b3bffb1f3688b4/cryptography-50.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:d24fead1d4d076e1bfb006dcec392074a3cd8d7b4fc8a595aa64073b2b7a96ba", size = 3874135, upload-time = "2026-07-31T14:24:50.085Z" }, + { url = "https://files.pythonhosted.org/packages/9d/3e/e54cde8c01631a5a8226ccd617eab9e57fd5cfdad90f1a9e6bb570794631/cryptography-50.0.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:5e34edd123674534acd70147f0ca331eaa2c74e6325fb2028c886aa26ba0b68c", size = 3963170, upload-time = "2026-07-31T14:24:51.968Z" }, + { url = "https://files.pythonhosted.org/packages/01/b6/0b9e125e90f3d2dcf599a218a899cda7326a3158cfa258723f0b398b08f6/cryptography-50.0.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:8eb5e1172eb569ea8a872796576e6a67c276351728b6455d5beb01242b027c6a", size = 4692441, upload-time = "2026-07-31T14:24:53.743Z" }, + { url = "https://files.pythonhosted.org/packages/53/c9/a5151588710785a96d7bc4de27d4cd62f263bbbcb203cfe29df537eb6505/cryptography-50.0.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:910d11e1a385c654bf738bf3e6b8e6ed5de0f5610fcae2be9e5b398d8081d20e", size = 4699810, upload-time = "2026-07-31T14:24:55.746Z" }, + { url = "https://files.pythonhosted.org/packages/c7/1a/15b92b25eb6ce3089cd49377ae990a0f3ad485a510f968aed1f19dbdcdf2/cryptography-50.0.0-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:62598a8a57f815db4c6259a4e97d857dab56697e7de8e8ab02352ab74da1995d", size = 4691924, upload-time = "2026-07-31T14:24:58.082Z" }, + { url = "https://files.pythonhosted.org/packages/62/15/219075012ab13e8905f3cd572204f4acb4b111df787104346b9bc0cea789/cryptography-50.0.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:07479a1cb08219ab719147e742e76090c9c773321959bb94946fffdd397a6437", size = 4699593, upload-time = "2026-07-31T14:24:59.951Z" }, + { url = "https://files.pythonhosted.org/packages/8e/b5/c2c5fce26f0ee40d21bafe7f191d29a34b35a65ac4fe8a1191d1983612e9/cryptography-50.0.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:c99c003e088647b8a5b7c145d6f78c335f6348332b62e142d411c4b63d1460b9", size = 3813796, upload-time = "2026-07-31T14:25:02.298Z" }, ] [[package]] name = "google-api-core" -version = "2.29.0" +version = "2.34.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-auth" }, { name = "googleapis-common-protos" }, - { name = "importlib-metadata", marker = "python_full_version < '3.8'" }, { name = "proto-plus" }, { name = "protobuf" }, { name = "requests" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/0d/10/05572d33273292bac49c2d1785925f7bc3ff2fe50e3044cf1062c1dde32e/google_api_core-2.29.0.tar.gz", hash = "sha256:84181be0f8e6b04006df75ddfe728f24489f0af57c96a529ff7cf45bc28797f7", size = 177828, upload-time = "2026-01-08T22:21:39.269Z" } +sdist = { url = "https://files.pythonhosted.org/packages/7b/7c/9be3903e3d45415e8ca493c75f8990a0f6f579d168015d44c379350d0ab0/google_api_core-2.34.0.tar.gz", hash = "sha256:98a779fe72de956eb1c9c2f47ff4c4432a668ece1a002ec38bed07ec2698ae59", size = 187953, upload-time = "2026-08-06T06:23:58.128Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/77/b6/85c4d21067220b9a78cfb81f516f9725ea6befc1544ec9bd2c1acd97c324/google_api_core-2.29.0-py3-none-any.whl", hash = "sha256:d30bc60980daa36e314b5d5a3e5958b0200cb44ca8fa1be2b614e932b75a3ea9", size = 173906, upload-time = "2026-01-08T22:21:36.093Z" }, + { url = "https://files.pythonhosted.org/packages/bc/c1/a8a92ae1bc4b1a8f804c776d7d3f0c771b78a62c3ad4df1be41b3fd8c767/google_api_core-2.34.0-py3-none-any.whl", hash = "sha256:cdf9c67e7ca2402d86ccbfde5f2503fc83e3cc3f58cc78456ae96cad24a6d2de", size = 180545, upload-time = "2026-08-06T06:22:47.502Z" }, ] [[package]] name = "google-api-python-client" -version = "2.198.0" +version = "2.199.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-api-core" }, @@ -154,122 +426,104 @@ dependencies = [ { name = "httplib2" }, { name = "uritemplate" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/6b/53/0cd38e3a29d72ce45e27feba2ce1cd8049d69af9c48cb14fb164f1be9133/google_api_python_client-2.198.0.tar.gz", hash = "sha256:dfe3e16fb241af6e9c460a33f65085b3450e05cea09364f6b5d8997fb7e43e2a", size = 15060142, upload-time = "2026-06-25T14:32:42.953Z" } +sdist = { url = "https://files.pythonhosted.org/packages/13/ff/c58d475046b552754a5ee24d98912506b07ea7ac7f0a434b327ad194ca32/google_api_python_client-2.199.0.tar.gz", hash = "sha256:8150816e22e01b36aa4b7523cdc1a2d2164e81c4de8a9b338785d7ecb4390ec2", size = 15394941, upload-time = "2026-08-20T21:38:39.745Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d5/92/0fc9e7a09eb240c31b879bd8d2e43f81ed1f86c4798b79ead4a083921ab3/google_api_python_client-2.198.0-py3-none-any.whl", hash = "sha256:fabac935474e817da5e662ff61bf7139439d6f92b32d332a7318a2d45931e03e", size = 15644203, upload-time = "2026-06-25T14:32:39.963Z" }, + { url = "https://files.pythonhosted.org/packages/b5/42/c443badc33d972ee0e0adcd481c32a71f15d3e04c23a7a3d758e4018c633/google_api_python_client-2.199.0-py3-none-any.whl", hash = "sha256:1d2fa0e7f9d68f063b1a9ff7ed290d6e6c93176260487bf3a991e41534ca23a3", size = 15991965, upload-time = "2026-08-20T21:38:37.274Z" }, ] [[package]] name = "google-api-python-client-stubs" -version = "1.39.0" +version = "1.40.0" source = { editable = "." } dependencies = [ { name = "google-api-python-client" }, { name = "types-httplib2" }, - { name = "typing-extensions" }, ] [package.dev-dependencies] dev = [ - { name = "mypy", marker = "python_full_version >= '3.9'" }, + { name = "mypy" }, { name = "ruff" }, { name = "stubdefaulter" }, ] [package.metadata] requires-dist = [ - { name = "google-api-python-client", specifier = ">=2.198.0" }, + { name = "google-api-python-client", specifier = ">=2.199.0" }, { name = "types-httplib2", specifier = ">=0.22.0.2" }, - { name = "typing-extensions", specifier = ">=3.10.0" }, ] [package.metadata.requires-dev] dev = [ - { name = "mypy", marker = "python_full_version >= '3.9'", specifier = ">=1.17.0" }, + { name = "mypy", specifier = ">=1.17.0" }, { name = "ruff", specifier = ">=0.12.4" }, { name = "stubdefaulter", specifier = ">=0.1.0" }, ] [[package]] name = "google-auth" -version = "2.45.0" +version = "2.56.3" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "cachetools" }, + { name = "cryptography", version = "45.0.7", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "cryptography", version = "50.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, { name = "pyasn1-modules" }, - { name = "rsa" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/e5/00/3c794502a8b892c404b2dea5b3650eb21bfc7069612fbfd15c7f17c1cb0d/google_auth-2.45.0.tar.gz", hash = "sha256:90d3f41b6b72ea72dd9811e765699ee491ab24139f34ebf1ca2b9cc0c38708f3", size = 320708, upload-time = "2025-12-15T22:58:42.889Z" } +sdist = { url = "https://files.pythonhosted.org/packages/db/4c/fa42116a48bab3f7a143cf5042ecff7df9c8b73f8a376203cd534d1dc966/google_auth-2.56.3.tar.gz", hash = "sha256:40e229fc901f0a305b553050e5fce562d509bee0435be053abfa91582b51b90c", size = 367110, upload-time = "2026-08-06T06:24:01.36Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c6/97/451d55e05487a5cd6279a01a7e34921858b16f7dc8aa38a2c684743cd2b3/google_auth-2.45.0-py2.py3-none-any.whl", hash = "sha256:82344e86dc00410ef5382d99be677c6043d72e502b625aa4f4afa0bdacca0f36", size = 233312, upload-time = "2025-12-15T22:58:40.777Z" }, + { url = "https://files.pythonhosted.org/packages/bc/b3/6117b2f24065cd7e2c4f140e9a193e215f089ca8ba314cf91eb9d0b7fe0a/google_auth-2.56.3-py3-none-any.whl", hash = "sha256:8ec438808f813ad034535000261eed1067475d229d05bbf4216e78c3f2362e53", size = 259116, upload-time = "2026-08-06T06:22:51.788Z" }, ] [[package]] name = "google-auth-httplib2" -version = "0.3.0" +version = "0.4.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-auth" }, { name = "httplib2" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/d5/ad/c1f2b1175096a8d04cf202ad5ea6065f108d26be6fc7215876bde4a7981d/google_auth_httplib2-0.3.0.tar.gz", hash = "sha256:177898a0175252480d5ed916aeea183c2df87c1f9c26705d74ae6b951c268b0b", size = 11134, upload-time = "2025-12-15T22:13:51.825Z" } +sdist = { url = "https://files.pythonhosted.org/packages/11/46/79983cb738f0eb14e6ab4f43457aa9652f8d46bc4376b178f676b68c5c37/google_auth_httplib2-0.4.1.tar.gz", hash = "sha256:125b1bb4fcfdd2d97f19b673c1f46f831603d0acaffe415c8a35dadb312552a1", size = 11158, upload-time = "2026-08-06T06:24:00.452Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/99/d5/3c97526c8796d3caf5f4b3bed2b05e8a7102326f00a334e7a438237f3b22/google_auth_httplib2-0.3.0-py3-none-any.whl", hash = "sha256:426167e5df066e3f5a0fc7ea18768c08e7296046594ce4c8c409c2457dd1f776", size = 9529, upload-time = "2025-12-15T22:13:51.048Z" }, + { url = "https://files.pythonhosted.org/packages/68/8a/96410d0c3e02b584d1e7f5d4000b2e1710855650b226cd0601f2b154940a/google_auth_httplib2-0.4.1-py3-none-any.whl", hash = "sha256:67088a8387dc3f66016a690634f1cb9b7a48a31406f8998e088efc64203e7a12", size = 9529, upload-time = "2026-08-06T06:22:50.53Z" }, ] [[package]] name = "googleapis-common-protos" -version = "1.73.0" +version = "1.75.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "protobuf" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/99/96/a0205167fa0154f4a542fd6925bdc63d039d88dab3588b875078107e6f06/googleapis_common_protos-1.73.0.tar.gz", hash = "sha256:778d07cd4fbeff84c6f7c72102f0daf98fa2bfd3fa8bea426edc545588da0b5a", size = 147323, upload-time = "2026-03-06T21:53:09.727Z" } +sdist = { url = "https://files.pythonhosted.org/packages/72/73/74bcab964c9a7a61f2bb71e8179b0f13e6fa98f7ce00fd168aab291e4a2e/googleapis_common_protos-1.75.1.tar.gz", hash = "sha256:d3042c6c5a2d4e67113104d6b6818b59b6bd92a197f2a91508e801fe815cf071", size = 150967, upload-time = "2026-08-06T06:24:51.972Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/69/28/23eea8acd65972bbfe295ce3666b28ac510dfcb115fac089d3edb0feb00a/googleapis_common_protos-1.73.0-py3-none-any.whl", hash = "sha256:dfdaaa2e860f242046be561e6d6cb5c5f1541ae02cfbcb034371aadb2942b4e8", size = 297578, upload-time = "2026-03-06T21:52:33.933Z" }, + { url = "https://files.pythonhosted.org/packages/9a/51/186c02b8549b69ccda44429cf6ff5081e4b61a602ddfe6a8020d1be31d1b/googleapis_common_protos-1.75.1-py3-none-any.whl", hash = "sha256:28a1934bcd33b9c9da66ac301a0a4227e3367f095a17d0375cb98f0a09d93b79", size = 300626, upload-time = "2026-08-06T06:23:46.696Z" }, ] [[package]] name = "httplib2" -version = "0.31.2" +version = "0.32.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pyparsing" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/c1/1f/e86365613582c027dda5ddb64e1010e57a3d53e99ab8a72093fa13d565ec/httplib2-0.31.2.tar.gz", hash = "sha256:385e0869d7397484f4eab426197a4c020b606edd43372492337c0b4010ae5d24", size = 250800, upload-time = "2026-01-23T11:04:44.165Z" } +sdist = { url = "https://files.pythonhosted.org/packages/84/f5/ccf58de92d61e3ad921119668f54ed36ca1d0cf5dcc5c1657dfb164fd78b/httplib2-0.32.0.tar.gz", hash = "sha256:48a0ef30a42db65d8f3399045e1d09ab0ba66e3b9efc360d07f80ea55d286025", size = 254283, upload-time = "2026-06-26T10:13:56.265Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/2f/90/fd509079dfcab01102c0fdd87f3a9506894bc70afcf9e9785ef6b2b3aff6/httplib2-0.31.2-py3-none-any.whl", hash = "sha256:dbf0c2fa3862acf3c55c078ea9c0bc4481d7dc5117cae71be9514912cf9f8349", size = 91099, upload-time = "2026-01-23T11:04:42.78Z" }, + { url = "https://files.pythonhosted.org/packages/33/a0/550eec327e5f5c7b732531c489f5307efec41f047b0d703bd4ca1e5ad2db/httplib2-0.32.0-py3-none-any.whl", hash = "sha256:dc6705cacdf3fb0a2aba7629fa33c90fd93e30035db0c157325826be177e4816", size = 93148, upload-time = "2026-06-26T10:13:54.985Z" }, ] [[package]] name = "idna" -version = "3.10" +version = "3.19" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490, upload-time = "2024-09-15T18:07:39.745Z" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/f7/abb373e5757eaec4b922b92f97ec8d6d7e057cf06778247604fbc4e7c3f3/idna-3.19.tar.gz", hash = "sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15", size = 215237, upload-time = "2026-08-18T05:14:24.27Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442, upload-time = "2024-09-15T18:07:37.964Z" }, -] - -[[package]] -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'" }, -] -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 = [ - { url = "https://files.pythonhosted.org/packages/ff/94/64287b38c7de4c90683630338cf28f129decbba0a44f0c6db35a873c73c4/importlib_metadata-6.7.0-py3-none-any.whl", hash = "sha256:cb52082e659e97afc5dac71e79de97d8681de3aa07ff18578330904a9d18e5b5", size = 22934, upload-time = "2023-06-18T21:44:33.441Z" }, + { url = "https://files.pythonhosted.org/packages/57/b0/0e52c878c53f245edd3a11020f20979b3f490f245af532c7cae3027754b5/idna-3.19-py3-none-any.whl", hash = "sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4", size = 68550, upload-time = "2026-08-18T05:14:22.343Z" }, ] [[package]] name = "importlib-resources" version = "5.12.0" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "zipp", marker = "python_full_version < '3.10'" }, -] sdist = { url = "https://files.pythonhosted.org/packages/4e/a2/3cab1de83f95dd15297c15bdc04d50902391d707247cada1f021bbfe2149/importlib_resources-5.12.0.tar.gz", hash = "sha256:4be82589bf5c1d7999aedf2a45159d10cb3ca4f19b2271f8792bc8e6da7b22f6", size = 39894, upload-time = "2023-02-17T22:32:21.013Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/38/71/c13ea695a4393639830bf96baea956538ba7a9d06fcce7cef10bfff20f72/importlib_resources-5.12.0-py3-none-any.whl", hash = "sha256:7b1deeebbf351c7578e09bf2f63fa2ce8b5ffec296e0d349139d43cca061a81a", size = 36211, upload-time = "2023-02-17T22:32:19.266Z" }, @@ -281,7 +535,8 @@ version = "1.0.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pyyaml" }, - { name = "typing-extensions" }, + { name = "typing-extensions", version = "4.7.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, { name = "typing-inspect" }, ] sdist = { url = "https://files.pythonhosted.org/packages/f4/b2/dd6fcf70dc59281e6de7c4b2f6150d07c26db127262dd5cba16fde1464ed/libcst-1.0.1.tar.gz", hash = "sha256:37187337f979ba426d8bfefc08008c3c1b09b9e9f9387050804ed2da88107570", size = 749520, upload-time = "2023-06-07T12:53:56.075Z" } @@ -298,23 +553,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/68/14/c6708490dd74cc833e62731725024cc27d1fed38cf1cd03217bb35a88a37/libcst-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a6b5aea04c35e13109edad3cf83bc6dcd74309b150a781d2189eecb288b73a87", size = 2855424, upload-time = "2023-06-07T12:53:10.626Z" }, { url = "https://files.pythonhosted.org/packages/51/19/763eefa2d39f25ac4c9988387d5607fd8f3ed5e929af9f10eb30c712a306/libcst-1.0.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ddd4e0eeec499d1c824ab545e62e957dbbd69a16bc4273208817638eb7d6b3c6", size = 2934192, upload-time = "2023-06-07T12:53:12.707Z" }, { url = "https://files.pythonhosted.org/packages/c1/72/6c99471219c4e9a40c07909f5baed3eccfeab4a2063c54d1fc0ccfe9b1fc/libcst-1.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:414350df5e334ddf0db1732d63da44e81b734d45abe1c597b5e5c0dd46aa4156", size = 1812928, upload-time = "2023-06-07T12:53:14.809Z" }, - { url = "https://files.pythonhosted.org/packages/a9/bb/1609e940be017480680eb5cc2e0fcb0971c1a3821b51804c8b14928182d5/libcst-1.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:1adcfa7cafb6a0d39a1a0bec541355608038b45815e0c5019c95f91921d42884", size = 1863145, upload-time = "2023-06-07T12:53:16.816Z" }, - { url = "https://files.pythonhosted.org/packages/38/00/a11a447fb6d48c6f69822fe2fc55b011a7b6ddd4cbd8a718442ac382dbc5/libcst-1.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8d31ce2790eab59c1bd8e33fe72d09cfc78635c145bdc3f08296b360abb5f443", size = 2808373, upload-time = "2023-06-07T12:53:18.619Z" }, - { url = "https://files.pythonhosted.org/packages/01/29/554357cbbd9c894c58241f0403cbab9c6c1842eb6eb7ebc6d30a2fedaefa/libcst-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2cb687e1514625e91024e50a5d2e485c0ad3be24f199874ebf32b5de0346150", size = 2851967, upload-time = "2023-06-07T12:53:20.846Z" }, - { url = "https://files.pythonhosted.org/packages/76/4d/602abfcdc97d1c3da768f31ef5d9e2f27db62676356b64a98205498313a0/libcst-1.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6caa33430c0c7a0fcad921b0deeec61ddb96796b6f88dca94966f6db62065f4f", size = 2930835, upload-time = "2023-06-07T12:53:23.458Z" }, - { url = "https://files.pythonhosted.org/packages/00/6a/47b61d3c9f6d8f382ead9f068131d3ab742540bc2307292b69f896fa3f78/libcst-1.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:b97f652b15c50e91df411a9c8d5e6f75882b30743a49b387dcedd3f68ed94d75", size = 1812716, upload-time = "2023-06-07T12:53:25.526Z" }, - { url = "https://files.pythonhosted.org/packages/e8/be/01ee6bcc9452094638ebf6f4f975e7dfaff050c9d8623757b0700201aa10/libcst-1.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:967c66fabd52102954207bf1541312b467afc210fdf7033f32da992fb6c2372c", size = 1863228, upload-time = "2023-06-07T12:53:28.314Z" }, - { url = "https://files.pythonhosted.org/packages/32/10/f3da8077892a1691f73723ea4e7598fd20eb7a752aad780c04fe0719a374/libcst-1.0.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b666a605f4205c8357696f3b6571a38f6a8537cdcbb8f357587d35168298af34", size = 1821539, upload-time = "2023-06-07T12:53:30.873Z" }, - { url = "https://files.pythonhosted.org/packages/29/34/93e180facfa6abf19843d6e38ae468db8ea93decbe889335472bc959420b/libcst-1.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ae49dcbfadefb82e830d41d9f0a1db0af3b771224768f431f1b7b3a9803ed7e3", size = 2808338, upload-time = "2023-06-07T12:53:32.869Z" }, - { url = "https://files.pythonhosted.org/packages/2a/bc/1112e0707566230709965817f2881fc18f9a322bbbb52ae8adf7c28981cc/libcst-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c90c74a8a314f0774f045122323fb60bacba79cbf5f71883c0848ecd67179541", size = 2852015, upload-time = "2023-06-07T12:53:35.195Z" }, - { url = "https://files.pythonhosted.org/packages/68/41/9824b7a575e96eb2525f192541c4413044ea8500c651ae398353285861cf/libcst-1.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b0533de4e35396c61aeb3a6266ac30369a855910c2385aaa902ff4aabd60d409", size = 2930670, upload-time = "2023-06-07T12:53:37.2Z" }, - { url = "https://files.pythonhosted.org/packages/ea/5d/efa25625ae5da55aeca0ef49519278b6a33feb40d9094bca41e20e87d780/libcst-1.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:5e3293e77657ba62533553bb9f0c5fb173780e164c65db1ea2a3e0d03944a284", size = 1812706, upload-time = "2023-06-07T12:53:39.109Z" }, - { url = "https://files.pythonhosted.org/packages/b0/51/3dc19576d1b1a53dc59cbe78586a6996eb5e96cd7a3a228dc544505af0e5/libcst-1.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:119ba709f1dcb785a4458cf36cedb51d6f9cb2eec0acd7bb171f730eac7cb6ce", size = 1863697, upload-time = "2023-06-07T12:53:42.424Z" }, - { url = "https://files.pythonhosted.org/packages/1c/df/9c7af7d8756d436ceb3c5046a93781141b2ee2c54d2c09d4096b1bbad4a6/libcst-1.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4b4e336f6d68456017671cdda8ddebf9caebce8052cc21a3f494b03d7bd28386", size = 1821586, upload-time = "2023-06-07T12:53:44.937Z" }, - { url = "https://files.pythonhosted.org/packages/28/31/57f77e87eef8ada6724e65d6838d599a10b3f9cbe991b310af83d387f14c/libcst-1.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8420926791b0b6206cb831a7ec73d26ae820e65bdf07ce9813c7754c7722c07a", size = 2811360, upload-time = "2023-06-07T12:53:47.336Z" }, - { url = "https://files.pythonhosted.org/packages/af/3a/90caf552575489412bc4b041ca9894062ca2f0200cd7df8884325f0575bf/libcst-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d237e9164a43caa7d6765ee560412264484e7620c546a2ee10a8d01bd56884e0", size = 2855399, upload-time = "2023-06-07T12:53:49.557Z" }, - { url = "https://files.pythonhosted.org/packages/fe/f7/ab8ea8608b63e4c1790af89e8ccb419356788aba2f9f8a1ef084be342a10/libcst-1.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:440887e5f82efb299f2e98d4bfa5663851a878cfc0efed652ab8c50205191436", size = 2934212, upload-time = "2023-06-07T12:53:51.718Z" }, - { url = "https://files.pythonhosted.org/packages/66/f6/98c32c80b5fec10a39b6cb74bbf9363d627c60535b96f9d3c15848515109/libcst-1.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:ae7f4e71d714f256b5f2ff98b5a9effba0f9dff4d779d8f35d7eb157bef78f59", size = 1812915, upload-time = "2023-06-07T12:53:54.207Z" }, ] [[package]] @@ -322,10 +560,11 @@ 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", version = "4.7.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, ] 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 = [ @@ -353,12 +592,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/4c/66/85607ab5137d65e4f54d9797b77d5a038ef34f714929cf8ad30b03f628df/mypy-1.17.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:037bc0f0b124ce46bfde955c647f3e395c6174476a968c0f22c95a8d2f589bba", size = 12731358, upload-time = "2025-07-14T20:32:25.579Z" }, { url = "https://files.pythonhosted.org/packages/73/d0/341dbbfb35ce53d01f8f2969facbb66486cee9804048bf6c01b048127501/mypy-1.17.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c38876106cb6132259683632b287238858bd58de267d80defb6f418e9ee50658", size = 12917480, upload-time = "2025-07-14T20:34:21.868Z" }, { url = "https://files.pythonhosted.org/packages/64/63/70c8b7dbfc520089ac48d01367a97e8acd734f65bd07813081f508a8c94c/mypy-1.17.0-cp313-cp313-win_amd64.whl", hash = "sha256:d30ba01c0f151998f367506fab31c2ac4527e6a7b2690107c7a7f9e3cb419a9c", size = 9589666, upload-time = "2025-07-14T20:34:16.841Z" }, - { url = "https://files.pythonhosted.org/packages/9f/a0/6263dd11941231f688f0a8f2faf90ceac1dc243d148d314a089d2fe25108/mypy-1.17.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:63e751f1b5ab51d6f3d219fe3a2fe4523eaa387d854ad06906c63883fde5b1ab", size = 10988185, upload-time = "2025-07-14T20:33:04.797Z" }, - { url = "https://files.pythonhosted.org/packages/02/13/b8f16d6b0dc80277129559c8e7dbc9011241a0da8f60d031edb0e6e9ac8f/mypy-1.17.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f7fb09d05e0f1c329a36dcd30e27564a3555717cde87301fae4fb542402ddfad", size = 10120169, upload-time = "2025-07-14T20:32:38.84Z" }, - { url = "https://files.pythonhosted.org/packages/14/ef/978ba79df0d65af680e20d43121363cf643eb79b04bf3880d01fc8afeb6f/mypy-1.17.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b72c34ce05ac3a1361ae2ebb50757fb6e3624032d91488d93544e9f82db0ed6c", size = 11918121, upload-time = "2025-07-14T20:33:52.328Z" }, - { url = "https://files.pythonhosted.org/packages/f4/10/55ef70b104151a0d8280474f05268ff0a2a79be8d788d5e647257d121309/mypy-1.17.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:434ad499ad8dde8b2f6391ddfa982f41cb07ccda8e3c67781b1bfd4e5f9450a8", size = 12648821, upload-time = "2025-07-14T20:32:59.631Z" }, - { url = "https://files.pythonhosted.org/packages/26/8c/7781fcd2e1eef48fbedd3a422c21fe300a8e03ed5be2eb4bd10246a77f4e/mypy-1.17.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:f105f61a5eff52e137fd73bee32958b2add9d9f0a856f17314018646af838e97", size = 12896955, upload-time = "2025-07-14T20:32:49.543Z" }, - { url = "https://files.pythonhosted.org/packages/78/13/03ac759dabe86e98ca7b6681f114f90ee03f3ff8365a57049d311bd4a4e3/mypy-1.17.0-cp39-cp39-win_amd64.whl", hash = "sha256:ba06254a5a22729853209550d80f94e28690d5530c661f9416a68ac097b13fc4", size = 9512957, upload-time = "2025-07-14T20:33:28.619Z" }, { url = "https://files.pythonhosted.org/packages/e3/fc/ee058cc4316f219078464555873e99d170bde1d9569abd833300dbeb484a/mypy-1.17.0-py3-none-any.whl", hash = "sha256:15d9d0018237ab058e5de3d8fce61b6fa72cc59cc78fd91f1b474bce12abf496", size = 2283195, upload-time = "2025-07-14T20:31:54.753Z" }, ] @@ -382,64 +615,68 @@ wheels = [ [[package]] name = "proto-plus" -version = "1.27.1" +version = "1.28.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "protobuf" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3a/02/8832cde80e7380c600fbf55090b6ab7b62bd6825dbedde6d6657c15a1f8e/proto_plus-1.27.1.tar.gz", hash = "sha256:912a7460446625b792f6448bade9e55cd4e41e6ac10e27009ef71a7f317fa147", size = 56929, upload-time = "2026-02-02T17:34:49.035Z" } +sdist = { url = "https://files.pythonhosted.org/packages/26/6a/056256feb4bd000869aba5c16cf2aa911572ca2a2feb185f86e457b5171e/proto_plus-1.28.3.tar.gz", hash = "sha256:5f91b30dafa6bb38d432c5557a6ee1d35ffd40b4b1e0e3ca27260448560b91d9", size = 58051, upload-time = "2026-08-06T06:24:55.581Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/5d/79/ac273cbbf744691821a9cca88957257f41afe271637794975ca090b9588b/proto_plus-1.27.1-py3-none-any.whl", hash = "sha256:e4643061f3a4d0de092d62aa4ad09fa4756b2cbb89d4627f3985018216f9fefc", size = 50480, upload-time = "2026-02-02T17:34:47.339Z" }, + { url = "https://files.pythonhosted.org/packages/61/3a/cfee3c50294f55a2f0f9575052dec2c2a48891ad4b1c2a133b05a87026cd/proto_plus-1.28.3-py3-none-any.whl", hash = "sha256:dc76880b8ee951cca002098574376cf71e055f9f16d9ba6570fb8a06f726d281", size = 50795, upload-time = "2026-08-06T06:23:50.653Z" }, ] [[package]] name = "protobuf" -version = "4.24.4" +version = "7.36.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/52/5c/f2c0778278259089952f94b0884ca27a001a17ffbd992ebe30c841085f4c/protobuf-4.24.4.tar.gz", hash = "sha256:5a70731910cd9104762161719c3d883c960151eea077134458503723b60e3667", size = 383850, upload-time = "2023-10-04T17:08:17.627Z" } +sdist = { url = "https://files.pythonhosted.org/packages/a7/e7/0553e21d25ca4d9f573135775348a372c3ec34a93a71d5f297c3bac38341/protobuf-7.36.0.tar.gz", hash = "sha256:e8e09cb0d794c6687926fa558a8a6e72aa10edb997d5ca61da0765f12a3e00ea", size = 510034, upload-time = "2026-08-20T16:34:01.071Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/00/0f/3dc2f86e9c3d6e73c56d915a3563ecc96ebee8144fb39614f0d6c1fb023d/protobuf-4.24.4-cp310-abi3-win32.whl", hash = "sha256:ec9912d5cb6714a5710e28e592ee1093d68c5ebfeda61983b3f40331da0b1ebb", size = 409968, upload-time = "2023-10-04T17:07:54.375Z" }, - { url = "https://files.pythonhosted.org/packages/c2/59/f89c04923d68595d359f4cd7adbbdf5e5d791257945f8873d88b2fd1f979/protobuf-4.24.4-cp310-abi3-win_amd64.whl", hash = "sha256:1badab72aa8a3a2b812eacfede5020472e16c6b2212d737cefd685884c191085", size = 430493, upload-time = "2023-10-04T17:07:56.476Z" }, - { url = "https://files.pythonhosted.org/packages/88/12/efb5896c901382548ecb58d0449885a8f9aa62bb559d65e5a8a47f122629/protobuf-4.24.4-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:8e61a27f362369c2f33248a0ff6896c20dcd47b5d48239cb9720134bef6082e4", size = 409417, upload-time = "2023-10-04T17:07:58.479Z" }, - { url = "https://files.pythonhosted.org/packages/db/61/9c7b481771fe4702fb3be1152812fecec9b06f9c36d523ad52b98cb46800/protobuf-4.24.4-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:bffa46ad9612e6779d0e51ae586fde768339b791a50610d85eb162daeb23661e", size = 310587, upload-time = "2023-10-04T17:08:00.391Z" }, - { url = "https://files.pythonhosted.org/packages/c8/2c/03046cac73f46bfe98fc846ef629cf4f84c2f59258216aa2cc0d22bfca8f/protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:b493cb590960ff863743b9ff1452c413c2ee12b782f48beca77c8da3e2ffe9d9", size = 311559, upload-time = "2023-10-04T17:08:02.672Z" }, - { url = "https://files.pythonhosted.org/packages/92/fd/b965c32ad16c2b5e074e6aed141a6b4af055cbd2c595ee9391a9a2892482/protobuf-4.24.4-cp37-cp37m-win32.whl", hash = "sha256:dbbed8a56e56cee8d9d522ce844a1379a72a70f453bde6243e3c86c30c2a3d46", size = 409704, upload-time = "2023-10-04T17:08:04.64Z" }, - { url = "https://files.pythonhosted.org/packages/61/70/ee9585603255156d88f07528a6094733e37f8e3f72711b8583fcbb77d5ec/protobuf-4.24.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6b7d2e1c753715dcfe9d284a25a52d67818dd43c4932574307daf836f0071e37", size = 430025, upload-time = "2023-10-04T17:08:06.25Z" }, - { url = "https://files.pythonhosted.org/packages/53/3f/93379f6a52bf1cbd4551a08d997a056c9f52e01974e5d0b58ebd149b648a/protobuf-4.24.4-cp38-cp38-win32.whl", hash = "sha256:02212557a76cd99574775a81fefeba8738d0f668d6abd0c6b1d3adcc75503dbe", size = 410034, upload-time = "2023-10-04T17:08:08.346Z" }, - { url = "https://files.pythonhosted.org/packages/e8/e6/d15c9a0f2b657b3a3122578fcd81d17c7274a63aebc366a73c10dc92a099/protobuf-4.24.4-cp38-cp38-win_amd64.whl", hash = "sha256:2fa3886dfaae6b4c5ed2730d3bf47c7a38a72b3a1f0acb4d4caf68e6874b947b", size = 430477, upload-time = "2023-10-04T17:08:10.482Z" }, - { url = "https://files.pythonhosted.org/packages/74/61/b515dc5d6c111aea4278b32c6ced2efc6a8240d37092c76415be59546bdd/protobuf-4.24.4-cp39-cp39-win32.whl", hash = "sha256:b77272f3e28bb416e2071186cb39efd4abbf696d682cbb5dc731308ad37fa6dd", size = 410002, upload-time = "2023-10-04T17:08:11.975Z" }, - { url = "https://files.pythonhosted.org/packages/ba/ae/e286be9bee0dee7c5c923cc87f26bf52f172c322cbcea2e2ca9a42abd1f1/protobuf-4.24.4-cp39-cp39-win_amd64.whl", hash = "sha256:9fee5e8aa20ef1b84123bb9232b3f4a5114d9897ed89b4b8142d81924e05d79b", size = 430470, upload-time = "2023-10-04T17:08:14.264Z" }, - { url = "https://files.pythonhosted.org/packages/e5/a7/bb962b8b981dd890a44a34d0e922b76c32e5db443ff9f9b9ce6149069070/protobuf-4.24.4-py3-none-any.whl", hash = "sha256:80797ce7424f8c8d2f2547e2d42bfbb6c08230ce5832d6c099a37335c9c90a92", size = 175677, upload-time = "2023-10-04T17:08:15.684Z" }, + { url = "https://files.pythonhosted.org/packages/8f/ae/58e3ca96cb2e118cc546b677359b3c6659f79a140935c08dec94c7998585/protobuf-7.36.0-cp310-abi3-macosx_10_9_universal2.whl", hash = "sha256:9103532dffd80c6fab7e50c65a31007680a06eb57537d437bb1b35812c138a37", size = 453256, upload-time = "2026-08-20T16:33:53.945Z" }, + { url = "https://files.pythonhosted.org/packages/f0/15/5162230af4912697f0fe406f6800f80760945babcff0e2c2fe6c84ef2d5d/protobuf-7.36.0-cp310-abi3-manylinux2014_aarch64.whl", hash = "sha256:bf94a5917c71058262de683669bc0a797a7669d3de71f0b36d058e3194f47b44", size = 341436, upload-time = "2026-08-20T16:33:55.134Z" }, + { url = "https://files.pythonhosted.org/packages/d7/09/1670b2bfc9a45e807e520c3e9be36524db9ccc7dc05ea17af7681cabdc61/protobuf-7.36.0-cp310-abi3-manylinux2014_s390x.whl", hash = "sha256:3297e60abdff301e5f74393d87f6cc59dacab5f024a89548a6e8de1d26576b16", size = 354440, upload-time = "2026-08-20T16:33:56.077Z" }, + { url = "https://files.pythonhosted.org/packages/c7/f8/bd5804695ba400e423c33fd4d9f58c28d86633d5ba1945c36ff3967d98cb/protobuf-7.36.0-cp310-abi3-manylinux2014_x86_64.whl", hash = "sha256:70f5ec8eb0da81a44360c0dc0beac99a0d78071d21956a7076bae8bd2051841b", size = 340439, upload-time = "2026-08-20T16:33:56.992Z" }, + { url = "https://files.pythonhosted.org/packages/ef/9f/acd02338235a3e7d03168c4303478347b7624fc8189ff4e7f0d2654bbe86/protobuf-7.36.0-cp310-abi3-win32.whl", hash = "sha256:7326fd717bdc419162a735938d89d4032332bcc3408804012b24ff3a37086071", size = 440216, upload-time = "2026-08-20T16:33:57.99Z" }, + { url = "https://files.pythonhosted.org/packages/0e/4e/12cb93270967a2affff5b3f720694700d4d87712a67afd05c8cb3f6fa52c/protobuf-7.36.0-cp310-abi3-win_amd64.whl", hash = "sha256:1781cc1de61249b750848029bca452c0a8b7e990080316b9bbc2518b2117b488", size = 453731, upload-time = "2026-08-20T16:33:58.951Z" }, + { url = "https://files.pythonhosted.org/packages/01/c3/629999e78d46c1115c11886d51c6bd68c17ce4a944f1ea3e153a91316a33/protobuf-7.36.0-py3-none-any.whl", hash = "sha256:53374d53fc29a67f7dbbf0ade47d7526a0f0137bf0f9c90e48d8a60790ef748c", size = 177024, upload-time = "2026-08-20T16:34:00.053Z" }, ] [[package]] name = "pyasn1" -version = "0.5.1" +version = "0.6.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ce/dc/996e5446a94627fe8192735c20300ca51535397e31e7097a3cc80ccf78b7/pyasn1-0.5.1.tar.gz", hash = "sha256:6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c", size = 147134, upload-time = "2023-11-20T20:53:01.453Z" } +sdist = { url = "https://files.pythonhosted.org/packages/a4/9a/23310166d960def5897e91fe20e5b724601b02a22e84ba1f94232c0b7f67/pyasn1-0.6.4.tar.gz", hash = "sha256:9c447d8431c947fe4c8febc4ed9e760bc29011a5b01e5c74b67025bd9fb8ce81", size = 151262, upload-time = "2026-07-09T01:12:33.988Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/75/4686d2872bf2fc0b37917cbc8bbf0dd3a5cdb0990799be1b9cbf1e1eb733/pyasn1-0.5.1-py2.py3-none-any.whl", hash = "sha256:4439847c58d40b1d0a573d07e3856e95333f1976294494c325775aeca506eb58", size = 84930, upload-time = "2023-11-20T20:52:56.135Z" }, + { url = "https://files.pythonhosted.org/packages/9a/3b/6163796d69c3977d1e4287bea4a6979161cbbdd170ebb430511e8e1999ce/pyasn1-0.6.4-py3-none-any.whl", hash = "sha256:deda9277cfd454080ec40b207fb6df82206a3a2688735233cdcd8d3d565f088b", size = 84410, upload-time = "2026-07-09T01:12:32.92Z" }, ] [[package]] name = "pyasn1-modules" -version = "0.3.0" +version = "0.4.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pyasn1" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3b/e4/7dec823b1b5603c5b3c51e942d5d9e65efd6ff946e713a325ed4146d070f/pyasn1_modules-0.3.0.tar.gz", hash = "sha256:5bd01446b736eb9d31512a30d46c1ac3395d676c6f3cafa4c03eb54b9925631c", size = 307901, upload-time = "2023-04-20T01:31:22.369Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e9/e6/78ebbb10a8c8e4b61a59249394a4a594c1a7af95593dc933a349c8d00964/pyasn1_modules-0.4.2.tar.gz", hash = "sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6", size = 307892, upload-time = "2025-03-28T02:41:22.17Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/47/8d/d529b5d697919ba8c11ad626e835d4039be708a35b0d22de83a269a6682c/pyasn1_modules-0.4.2-py3-none-any.whl", hash = "sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a", size = 181259, upload-time = "2025-03-28T02:41:19.028Z" }, +] + +[[package]] +name = "pycparser" +version = "3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/cd/8e/bea464350e1b8c6ed0da3a312659cb648804a08af6cacc6435867f74f8bd/pyasn1_modules-0.3.0-py2.py3-none-any.whl", hash = "sha256:d3ccd6ed470d9ffbc716be08bd90efbd44d0734bc9303818f7336070984a162d", size = 181306, upload-time = "2023-04-20T01:30:05.837Z" }, + { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" }, ] [[package]] name = "pyparsing" -version = "3.1.4" +version = "3.3.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/83/08/13f3bce01b2061f2bbd582c9df82723de943784cf719a35ac886c652043a/pyparsing-3.1.4.tar.gz", hash = "sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032", size = 900231, upload-time = "2024-08-25T15:00:47.416Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574, upload-time = "2026-01-21T03:57:59.36Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/e5/0c/0e3c05b1c87bb6a1c76d281b0f35e78d2d80ac91b5f8f524cebf77f51049/pyparsing-3.1.4-py3-none-any.whl", hash = "sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c", size = 104100, upload-time = "2024-08-25T15:00:45.361Z" }, + { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" }, ] [[package]] @@ -471,32 +708,11 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/4f/78/77b40157b6cb5f2d3d31a3d9b2efd1ba3505371f76730d267e8b32cf4b7f/PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4", size = 712604, upload-time = "2023-08-28T18:43:30.206Z" }, { url = "https://files.pythonhosted.org/packages/2e/97/3e0e089ee85e840f4b15bfa00e4e63d84a3691ababbfea92d6f820ea6f21/PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54", size = 126098, upload-time = "2023-08-28T18:43:31.835Z" }, { url = "https://files.pythonhosted.org/packages/2b/9f/fbade56564ad486809c27b322d0f7e6a89c01f6b4fe208402e90d4443a99/PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df", size = 138675, upload-time = "2023-08-28T18:43:33.613Z" }, - { url = "https://files.pythonhosted.org/packages/c7/d1/02baa09d39b1bb1ebaf0d850d106d1bdcb47c91958557f471153c49dc03b/PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3", size = 189627, upload-time = "2023-07-17T23:58:40.188Z" }, - { url = "https://files.pythonhosted.org/packages/e5/31/ba812efa640a264dbefd258986a5e4e786230cb1ee4a9f54eb28ca01e14a/PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27", size = 658438, upload-time = "2023-07-17T23:58:48.34Z" }, - { url = "https://files.pythonhosted.org/packages/4d/f1/08f06159739254c8947899c9fc901241614195db15ba8802ff142237664c/PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3", size = 680304, upload-time = "2023-07-17T23:58:57.396Z" }, - { url = "https://files.pythonhosted.org/packages/d7/8f/db62b0df635b9008fe90aa68424e99cee05e68b398740c8a666a98455589/PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c", size = 670140, upload-time = "2023-07-17T23:59:04.291Z" }, - { url = "https://files.pythonhosted.org/packages/cc/5c/fcabd17918348c7db2eeeb0575705aaf3f7ab1657f6ce29b2e31737dd5d1/PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba", size = 137577, upload-time = "2023-07-17T23:59:07.267Z" }, - { url = "https://files.pythonhosted.org/packages/1e/ae/964ccb88a938f20ece5754878f182cfbd846924930d02d29d06af8d4c69e/PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867", size = 153248, upload-time = "2023-07-17T23:59:10.608Z" }, - { url = "https://files.pythonhosted.org/packages/7f/5d/2779ea035ba1e533c32ed4a249b4e0448f583ba10830b21a3cddafe11a4e/PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595", size = 191734, upload-time = "2023-07-17T23:59:13.869Z" }, - { url = "https://files.pythonhosted.org/packages/e1/a1/27bfac14b90adaaccf8c8289f441e9f76d94795ec1e7a8f134d9f2cb3d0b/PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5", size = 723767, upload-time = "2023-07-17T23:59:20.686Z" }, - { url = "https://files.pythonhosted.org/packages/c1/39/47ed4d65beec9ce07267b014be85ed9c204fa373515355d3efa62d19d892/PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696", size = 749067, upload-time = "2023-07-17T23:59:28.747Z" }, - { url = "https://files.pythonhosted.org/packages/c8/6b/6600ac24725c7388255b2f5add93f91e58a5d7efaf4af244fdbcc11a541b/PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735", size = 736569, upload-time = "2023-07-17T23:59:37.216Z" }, - { url = "https://files.pythonhosted.org/packages/0d/46/62ae77677e532c0af6c81ddd6f3dbc16bdcc1208b077457354442d220bfb/PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6", size = 787738, upload-time = "2023-08-28T18:43:35.582Z" }, - { url = "https://files.pythonhosted.org/packages/d6/6a/439d1a6f834b9a9db16332ce16c4a96dd0e3970b65fe08cbecd1711eeb77/PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206", size = 139797, upload-time = "2023-07-17T23:59:40.254Z" }, - { url = "https://files.pythonhosted.org/packages/29/0f/9782fa5b10152abf033aec56a601177ead85ee03b57781f2d9fced09eefc/PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62", size = 157350, upload-time = "2023-07-17T23:59:42.94Z" }, - { url = "https://files.pythonhosted.org/packages/57/c5/5d09b66b41d549914802f482a2118d925d876dc2a35b2d127694c1345c34/PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8", size = 197846, upload-time = "2023-07-17T23:59:46.424Z" }, - { url = "https://files.pythonhosted.org/packages/0e/88/21b2f16cb2123c1e9375f2c93486e35fdc86e63f02e274f0e99c589ef153/PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859", size = 174396, upload-time = "2023-07-17T23:59:49.538Z" }, - { url = "https://files.pythonhosted.org/packages/ac/6c/967d91a8edf98d2b2b01d149bd9e51b8f9fb527c98d80ebb60c6b21d60c4/PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6", size = 731824, upload-time = "2023-07-17T23:59:58.111Z" }, - { url = "https://files.pythonhosted.org/packages/4a/4b/c71ef18ef83c82f99e6da8332910692af78ea32bd1d1d76c9787dfa36aea/PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0", size = 754777, upload-time = "2023-07-18T00:00:06.716Z" }, - { url = "https://files.pythonhosted.org/packages/7d/39/472f2554a0f1e825bd7c5afc11c817cd7a2f3657460f7159f691fbb37c51/PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c", size = 738883, upload-time = "2023-07-18T00:00:14.423Z" }, - { url = "https://files.pythonhosted.org/packages/40/da/a175a35cf5583580e90ac3e2a3dbca90e43011593ae62ce63f79d7b28d92/PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5", size = 750294, upload-time = "2023-08-28T18:43:37.153Z" }, - { url = "https://files.pythonhosted.org/packages/24/62/7fcc372442ec8ea331da18c24b13710e010c5073ab851ef36bf9dacb283f/PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c", size = 136936, upload-time = "2023-07-18T00:00:17.167Z" }, - { url = "https://files.pythonhosted.org/packages/84/4d/82704d1ab9290b03da94e6425f5e87396b999fd7eb8e08f3a92c158402bf/PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486", size = 152751, upload-time = "2023-07-18T00:00:19.939Z" }, ] [[package]] name = "requests" -version = "2.31.0" +version = "2.34.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "certifi" }, @@ -504,21 +720,9 @@ dependencies = [ { name = "idna" }, { name = "urllib3" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1", size = 110794, upload-time = "2023-05-22T15:12:44.175Z" } +sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f", size = 62574, upload-time = "2023-05-22T15:12:42.313Z" }, -] - -[[package]] -name = "rsa" -version = "4.9.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "pyasn1" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/da/8a/22b7beea3ee0d44b1916c0c1cb0ee3af23b700b6da9f04991899d0c555d4/rsa-4.9.1.tar.gz", hash = "sha256:e7bdbfdb5497da4c07dfd35530e1a902659db6ff241e39d9953cad06ebd0ae75", size = 29034, upload-time = "2025-04-16T09:51:18.218Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/64/8d/0133e4eb4beed9e425d9a98ed6e081a55d195481b7632472be1af08d2f6b/rsa-4.9.1-py3-none-any.whl", hash = "sha256:68635866661c6836b8d39430f97a996acbd61bfa49406748ea243539fe239762", size = 34696, upload-time = "2025-04-16T09:51:17.142Z" }, + { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, ] [[package]] @@ -604,18 +808,35 @@ wheels = [ name = "typing-extensions" version = "4.7.1" source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.13'", +] sdist = { url = "https://files.pythonhosted.org/packages/3c/8b/0111dd7d6c1478bf83baa1cab85c686426c7a6274119aceb2bd9d35395ad/typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2", size = 72876, upload-time = "2023-07-02T14:20:55.045Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl", hash = "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36", size = 33232, upload-time = "2023-07-02T14:20:53.275Z" }, ] +[[package]] +name = "typing-extensions" +version = "4.16.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.14'", + "python_full_version == '3.13.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" }, +] + [[package]] name = "typing-inspect" version = "0.9.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "mypy-extensions" }, - { name = "typing-extensions" }, + { name = "typing-extensions", version = "4.7.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/dc/74/1789779d91f1961fa9438e9a8710cdae6bd138c80d7303996933d117264a/typing_inspect-0.9.0.tar.gz", hash = "sha256:b23fc42ff6f6ef6954e4852c1fb512cdd18dbea03134f91f856a95ccc9461f78", size = 13825, upload-time = "2023-05-24T20:25:47.612Z" } wheels = [ @@ -624,27 +845,18 @@ wheels = [ [[package]] name = "uritemplate" -version = "4.1.1" +version = "4.2.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d2/5a/4742fdba39cd02a56226815abfa72fe0aa81c33bed16ed045647d6000eba/uritemplate-4.1.1.tar.gz", hash = "sha256:4346edfc5c3b79f694bccd6d6099a322bbeb628dbf2cd86eea55a456ce5124f0", size = 273898, upload-time = "2021-10-13T11:15:14.84Z" } +sdist = { url = "https://files.pythonhosted.org/packages/98/60/f174043244c5306c9988380d2cb10009f91563fc4b31293d27e17201af56/uritemplate-4.2.0.tar.gz", hash = "sha256:480c2ed180878955863323eea31b0ede668795de182617fef9c6ca09e6ec9d0e", size = 33267, upload-time = "2025-06-02T15:12:06.318Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/81/c0/7461b49cd25aeece13766f02ee576d1db528f1c37ce69aee300e075b485b/uritemplate-4.1.1-py2.py3-none-any.whl", hash = "sha256:830c08b8d99bdd312ea4ead05994a38e8936266f84b9a7878232db50b044e02e", size = 10356, upload-time = "2021-10-13T11:15:12.316Z" }, + { url = "https://files.pythonhosted.org/packages/a9/99/3ae339466c9183ea5b8ae87b34c0b897eda475d2aec2307cae60e5cd4f29/uritemplate-4.2.0-py3-none-any.whl", hash = "sha256:962201ba1c4edcab02e60f9a0d3821e82dfc5d2d6662a21abd533879bdb8a686", size = 11488, upload-time = "2025-06-02T15:12:03.405Z" }, ] [[package]] name = "urllib3" -version = "2.0.7" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c/urllib3-2.0.7.tar.gz", hash = "sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84", size = 282546, upload-time = "2023-10-17T17:46:50.542Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d2/b2/b157855192a68541a91ba7b2bbcb91f1b4faa51f8bae38d8005c034be524/urllib3-2.0.7-py3-none-any.whl", hash = "sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e", size = 124213, upload-time = "2023-10-17T17:46:48.538Z" }, -] - -[[package]] -name = "zipp" -version = "3.15.0" +version = "2.7.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/00/27/f0ac6b846684cecce1ee93d32450c45ab607f65c2e0255f0092032d91f07/zipp-3.15.0.tar.gz", hash = "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b", size = 18454, upload-time = "2023-02-25T02:17:22.503Z" } +sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/5b/fa/c9e82bbe1af6266adf08afb563905eb87cab83fde00a0a08963510621047/zipp-3.15.0-py3-none-any.whl", hash = "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556", size = 6758, upload-time = "2023-02-25T02:17:20.807Z" }, + { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, ]